!function(e){var t={};function r(n){if(t[n])return t[n].exports;var A=t[n]={i:n,l:!1,exports:{}};return e[n].call(A.exports,A,A.exports,r),A.l=!0,A.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var A in e)r.d(n,A,function(t){return e[t]}.bind(null,A));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2401)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},,function(e,t,r){"use strict";r.r(t),r.d(t,"__extends",function(){return A}),r.d(t,"__assign",function(){return i}),r.d(t,"__rest",function(){return o}),r.d(t,"__decorate",function(){return a}),r.d(t,"__param",function(){return s}),r.d(t,"__metadata",function(){return u}),r.d(t,"__awaiter",function(){return l}),r.d(t,"__generator",function(){return c}),r.d(t,"__exportStar",function(){return f}),r.d(t,"__values",function(){return d}),r.d(t,"__read",function(){return g}),r.d(t,"__spread",function(){return h}),r.d(t,"__await",function(){return p}),r.d(t,"__asyncGenerator",function(){return I}),r.d(t,"__asyncDelegator",function(){return B}),r.d(t,"__asyncValues",function(){return C}),r.d(t,"__makeTemplateObject",function(){return m}),r.d(t,"__importStar",function(){return y}),r.d(t,"__importDefault",function(){return Q});
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0

THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.

See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function A(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var A in t=arguments[r])Object.prototype.hasOwnProperty.call(t,A)&&(e[A]=t[A]);return e}).apply(this,arguments)};function o(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var A=0;for(n=Object.getOwnPropertySymbols(e);A<n.length;A++)t.indexOf(n[A])<0&&(r[n[A]]=e[n[A]])}return r}function a(e,t,r,n){var A,i=arguments.length,o=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(A=e[a])&&(o=(i<3?A(o):i>3?A(t,r,o):A(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o}function s(e,t){return function(r,n){t(r,n,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,r,n){return new(r||(r=Promise))(function(A,i){function o(e){try{s(n.next(e))}catch(e){i(e)}}function a(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){e.done?A(e.value):new r(function(t){t(e.value)}).then(o,a)}s((n=n.apply(e,t||[])).next())})}function c(e,t){var r,n,A,i,o={label:0,sent:function(){if(1&A[0])throw A[1];return A[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(A=2&i[0]?n.return:i[0]?n.throw||((A=n.return)&&A.call(n),0):n.next)&&!(A=A.call(n,i[1])).done)return A;switch(n=0,A&&(i=[2&i[0],A.value]),i[0]){case 0:case 1:A=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,n=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(A=(A=o.trys).length>0&&A[A.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!A||i[1]>A[0]&&i[1]<A[3])){o.label=i[1];break}if(6===i[0]&&o.label<A[1]){o.label=A[1],A=i;break}if(A&&o.label<A[2]){o.label=A[2],o.ops.push(i);break}A[2]&&o.ops.pop(),o.trys.pop();continue}i=t.call(e,o)}catch(e){i=[6,e],n=0}finally{r=A=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}function f(e,t){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}function d(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function g(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,A,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){A={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(A)throw A.error}}return o}function h(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function p(e){return this instanceof p?(this.v=e,this):new p(e)}function I(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,A=r.apply(e,t||[]),i=[];return n={},o("next"),o("throw"),o("return"),n[Symbol.asyncIterator]=function(){return this},n;function o(e){A[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||a(e,t)})})}function a(e,t){try{(r=A[e](t)).value instanceof p?Promise.resolve(r.value.v).then(s,u):l(i[0][2],r)}catch(e){l(i[0][3],e)}var r}function s(e){a("next",e)}function u(e){a("throw",e)}function l(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function B(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,A){t[n]=e[n]?function(t){return(r=!r)?{value:p(e[n](t)),done:"return"===n}:A?A(t):t}:A}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=d(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,A){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,A,(t=e[r](t)).done,t.value)})}}}function m(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function y(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function Q(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";r.d(t,"c",function(){return n}),r.d(t,"a",function(){return A}),r.d(t,"b",function(){return o}),r.d(t,"d",function(){return a}),r.d(t,"e",function(){return s}),r.d(t,"f",function(){return u}),r.d(t,"g",function(){return l});const n={BTC:"bitcoin",EOS:"eos",TRX:"trx",ETH:"eth",IRIS:"iris",COSMOS:"cosmos",BINANCE:"binance",HASHGARD:"hashgard",CHAINX:"chainx",POLKADOT:"polkadot",CODEX:"codex",FIBOS:"fibos",HARMONY:"harmony",COINEX:"coinex",ENIGMA:"enigma",KAVA:"kava",NERVOS:"nervos"},A={BTC:"Bitcoin",EOS:"EOS",TRX:"TRON",ETH:"Ethereum",IRIS:"IRISnet",COSMOS:"Cosmos",BINANCE:"Binance",HASHGARD:"Hashgard",CHAINX:"ChainX",POLKADOT:"Polkadot",CODEX:"Codex",FIBOS:"Fibos",HARMONY:"Harmony",COINEX:"CoinEx",ENIGMA:"Enigma",KAVA:"Kava",NERVOS:"Nervos"},i={BTC:1,POLKADOT:2,ETH:3,EOS:4,TRX:5,BINANCE:6,COSMOS:7,IRIS:8,CHAINX:9,HASHGARD:10,FIBOS:11,HARMONY:12,COINEX:13,ENIGMA:14,KAVA:15,CODEX:16,NERVOS:17},o={UNKNOW:"0",ETH:"1",HARMONY:"1001",ETC:"1002",TOMO:"1003",NEO:"2",EOS:"3",MEETONE:"3001",WORBLI:"3002",FIBOS:"3003",WAX:"3004",YAS:"3005",EOSFORCE:"4",ONT:"5",BTC:"6",ESN:"7",TRX:"8",NAS:"9",BOS:"10",ENU:"11",TELOS:"12",ZIL:"13",BINANCE:"14",IRIS:"15",COSMOS:"16",HASHGARD:"16001",CHAINX:"17",CODEX:"18",POLKADOT:"19",KUSAMA:"19001",SUBSTRATE:"19002",EDGEWARE:"19003",STRAIGHTEDGE:"19004",VECHAIN:"20",FT:"21",COINEX:"22",STELLAR:"23",ETH2:"24",FILECOIN:"25",ENIGMA:"26",KAVA:"27",NERVOS:"28"},a=Object.keys(n).map(e=>({key:e,value:n[e],name:A[e]})),s=Object.keys(i).map(e=>({key:e,value:n[e],name:A[e]})),u=e=>A[Object.keys(n).find(t=>n[t]===e)]||"",l=e=>i[Object.keys(n).find(t=>n[t]===e)]||9999},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(t)}e.exports=r},function(e,t,r){var n=r(221),A=r(181);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?A(e):t}},function(e,t,r){var n=r(470);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}},function(e,t,r){"use strict";(function(e){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
 * @license  MIT
 */
var n=r(423),A=r(424),i=r(388);function o(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(o()<t)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=s.prototype:(null===e&&(e=new s(t)),e.length=t),e}function s(e,t,r){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return c(this,e)}return u(this,e,t,r)}function u(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);s.TYPED_ARRAY_SUPPORT?(e=t).__proto__=s.prototype:e=f(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!s.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|g(t,r),A=(e=a(e,n)).write(t,r);A!==n&&(e=e.slice(0,A));return e}(e,t,r):function(e,t){if(s.isBuffer(t)){var r=0|d(t.length);return 0===(e=a(e,r)).length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?a(e,0):f(e,t);if("Buffer"===t.type&&i(t.data))return f(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function c(e,t){if(l(t),e=a(e,t<0?0:0|d(t)),!s.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function f(e,t){var r=t.length<0?0:0|d(t.length);e=a(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function d(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function g(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return P(e).length;default:if(n)return K(e).length;t=(""+t).toLowerCase(),n=!0}}function h(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return _(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return M(this,t,r);case"latin1":case"binary":return k(this,t,r);case"base64":return b(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function p(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function I(e,t,r,n,A){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=A?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(A)return-1;r=e.length-1}else if(r<0){if(!A)return-1;r=0}if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:B(e,t,r,n,A);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?A?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):B(e,[t],r,n,A);throw new TypeError("val must be string, number or Buffer")}function B(e,t,r,n,A){var i,o=1,a=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o=2,a/=2,s/=2,r/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(A){var l=-1;for(i=r;i<a;i++)if(u(e,i)===u(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===s)return l*o}else-1!==l&&(i-=i-l),l=-1}else for(r+s>a&&(r=a-s),i=r;i>=0;i--){for(var c=!0,f=0;f<s;f++)if(u(e,i+f)!==u(t,f)){c=!1;break}if(c)return i}return-1}function C(e,t,r,n){r=Number(r)||0;var A=e.length-r;n?(n=Number(n))>A&&(n=A):n=A;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var o=0;o<n;++o){var a=parseInt(t.substr(2*o,2),16);if(isNaN(a))return o;e[r+o]=a}return o}function m(e,t,r,n){return R(K(t,e.length-r),e,r,n)}function y(e,t,r,n){return R(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function Q(e,t,r,n){return y(e,t,r,n)}function w(e,t,r,n){return R(P(t),e,r,n)}function E(e,t,r,n){return R(function(e,t){for(var r,n,A,i=[],o=0;o<e.length&&!((t-=2)<0);++o)r=e.charCodeAt(o),n=r>>8,A=r%256,i.push(A),i.push(n);return i}(t,e.length-r),e,r,n)}function b(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function v(e,t,r){r=Math.min(e.length,r);for(var n=[],A=t;A<r;){var i,o,a,s,u=e[A],l=null,c=u>239?4:u>223?3:u>191?2:1;if(A+c<=r)switch(c){case 1:u<128&&(l=u);break;case 2:128==(192&(i=e[A+1]))&&(s=(31&u)<<6|63&i)>127&&(l=s);break;case 3:i=e[A+1],o=e[A+2],128==(192&i)&&128==(192&o)&&(s=(15&u)<<12|(63&i)<<6|63&o)>2047&&(s<55296||s>57343)&&(l=s);break;case 4:i=e[A+1],o=e[A+2],a=e[A+3],128==(192&i)&&128==(192&o)&&128==(192&a)&&(s=(15&u)<<18|(63&i)<<12|(63&o)<<6|63&a)>65535&&s<1114112&&(l=s)}null===l?(l=65533,c=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),A+=c}return function(e){var t=e.length;if(t<=D)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=D));return r}(n)}t.Buffer=s,t.SlowBuffer=function(e){+e!=e&&(e=0);return s.alloc(+e)},t.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=o(),s.poolSize=8192,s._augment=function(e){return e.__proto__=s.prototype,e},s.from=function(e,t,r){return u(null,e,t,r)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(e,t,r){return function(e,t,r,n){return l(t),t<=0?a(e,t):void 0!==r?"string"==typeof n?a(e,t).fill(r,n):a(e,t).fill(r):a(e,t)}(null,e,t,r)},s.allocUnsafe=function(e){return c(null,e)},s.allocUnsafeSlow=function(e){return c(null,e)},s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,A=0,i=Math.min(r,n);A<i;++A)if(e[A]!==t[A]){r=e[A],n=t[A];break}return r<n?-1:n<r?1:0},s.isEncoding=function(e){switch(String(e).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}},s.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=s.allocUnsafe(t),A=0;for(r=0;r<e.length;++r){var o=e[r];if(!s.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,A),A+=o.length}return n},s.byteLength=g,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)p(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)p(this,t,t+3),p(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)p(this,t,t+7),p(this,t+1,t+6),p(this,t+2,t+5),p(this,t+3,t+4);return this},s.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?v(this,0,e):h.apply(this,arguments)},s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},s.prototype.compare=function(e,t,r,n,A){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===A&&(A=this.length),t<0||r>e.length||n<0||A>this.length)throw new RangeError("out of range index");if(n>=A&&t>=r)return 0;if(n>=A)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(A>>>=0)-(n>>>=0),o=(r>>>=0)-(t>>>=0),a=Math.min(i,o),u=this.slice(n,A),l=e.slice(t,r),c=0;c<a;++c)if(u[c]!==l[c]){i=u[c],o=l[c];break}return i<o?-1:o<i?1:0},s.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return I(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return I(this,e,t,r,!1)},s.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))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var A=this.length-t;if((void 0===r||r>A)&&(r=A),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return C(this,e,t,r);case"utf8":case"utf-8":return m(this,e,t,r);case"ascii":return y(this,e,t,r);case"latin1":case"binary":return Q(this,e,t,r);case"base64":return w(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var D=4096;function M(e,t,r){var n="";r=Math.min(e.length,r);for(var A=t;A<r;++A)n+=String.fromCharCode(127&e[A]);return n}function k(e,t,r){var n="";r=Math.min(e.length,r);for(var A=t;A<r;++A)n+=String.fromCharCode(e[A]);return n}function _(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var A="",i=t;i<r;++i)A+=O(e[i]);return A}function S(e,t,r){for(var n=e.slice(t,r),A="",i=0;i<n.length;i+=2)A+=String.fromCharCode(n[i]+256*n[i+1]);return A}function N(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function F(e,t,r,n,A,i){if(!s.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>A||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function x(e,t,r,n){t<0&&(t=65535+t+1);for(var A=0,i=Math.min(e.length-r,2);A<i;++A)e[r+A]=(t&255<<8*(n?A:1-A))>>>8*(n?A:1-A)}function G(e,t,r,n){t<0&&(t=4294967295+t+1);for(var A=0,i=Math.min(e.length-r,4);A<i;++A)e[r+A]=t>>>8*(n?A:3-A)&255}function H(e,t,r,n,A,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function U(e,t,r,n,i){return i||H(e,0,r,4),A.write(e,t,r,n,23,4),r+4}function Y(e,t,r,n,i){return i||H(e,0,r,8),A.write(e,t,r,n,52,8),r+8}s.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),s.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=s.prototype;else{var A=t-e;r=new s(A,void 0);for(var i=0;i<A;++i)r[i]=this[i+e]}return r},s.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);for(var n=this[e],A=1,i=0;++i<t&&(A*=256);)n+=this[e+i]*A;return n},s.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);for(var n=this[e+--t],A=1;t>0&&(A*=256);)n+=this[e+--t]*A;return n},s.prototype.readUInt8=function(e,t){return t||N(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||N(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||N(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);for(var n=this[e],A=1,i=0;++i<t&&(A*=256);)n+=this[e+i]*A;return n>=(A*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);for(var n=t,A=1,i=this[e+--n];n>0&&(A*=256);)i+=this[e+--n]*A;return i>=(A*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||N(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){t||N(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||N(e,4,this.length),A.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||N(e,4,this.length),A.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||N(e,8,this.length),A.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||N(e,8,this.length),A.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||F(this,e,t,r,Math.pow(2,8*r)-1,0);var A=1,i=0;for(this[t]=255&e;++i<r&&(A*=256);)this[t+i]=e/A&255;return t+r},s.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||F(this,e,t,r,Math.pow(2,8*r)-1,0);var A=r-1,i=1;for(this[t+A]=255&e;--A>=0&&(i*=256);)this[t+A]=e/i&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):G(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):G(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var A=Math.pow(2,8*r-1);F(this,e,t,r,A-1,-A)}var i=0,o=1,a=0;for(this[t]=255&e;++i<r&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var A=Math.pow(2,8*r-1);F(this,e,t,r,A-1,-A)}var i=r-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):x(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):x(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):G(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):G(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,r){return U(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return U(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return Y(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return Y(this,e,t,!1,r)},s.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&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var A,i=n-r;if(this===e&&r<t&&t<n)for(A=i-1;A>=0;--A)e[A+t]=this[A+r];else if(i<1e3||!s.TYPED_ARRAY_SUPPORT)for(A=0;A<i;++A)e[A+t]=this[A+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var A=e.charCodeAt(0);A<256&&(e=A)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var o=s.isBuffer(e)?e:K(new s(e,n).toString()),a=o.length;for(i=0;i<r-t;++i)this[i+t]=o[i%a]}return this};var L=/[^+\/0-9A-Za-z-_]/g;function O(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){var r;t=t||1/0;for(var n=e.length,A=null,i=[],o=0;o<n;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!A){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&i.push(239,191,189);continue}A=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),A=r;continue}r=65536+(A-55296<<10|r-56320)}else A&&(t-=3)>-1&&i.push(239,191,189);if(A=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function P(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function R(e,t,r,n){for(var A=0;A<n&&!(A+r>=t.length||A>=e.length);++A)t[A+r]=e[A];return A}}).call(this,r(34))},function(e,t,r){"use strict";r.d(t,"a",function(){return i});const n={LOCKED:"locked",IDENTITY:"identity_rejected",PASSWORD:"passwordError",NETWORK:"networkError",PROMPT:"prompt_closed",PLUGIN:"pluginError",KEYPAIR:"keyPairError",ACCOUNT:"AccountError",SIGNATURE:"signature_rejected"},A={LOCKED:100001,IDENTITY:100003,PASSWORD:100004,NETWORK:100005,PROMPT:100006,PLUGIN:100007,KEYPAIR:100008,ACCOUNT:100009,SIGNATURE:1000010};class i{constructor(e=n.LOCKED,t,r=A.LOCKED){this.type=e,this.message=t,this.code=r,this.isError=!0}static locked(){return new i(n.LOCKED,"The wallet has been locked and needs to be unlocked for further operation!",A.LOCKED)}static identityRejected(){return new i(n.IDENTITY,"User rejected the provision of an Identity",A.IDENTITY)}static promptClosed(){return new i(n.PROMPT,"The Prompt Window is closed",A.PROMPT)}static invalidPlugin(){return new i(n.PLUGIN,"Invalid plugin",A.PLUGIN)}static invalidNetwork(){return new i(n.NETWORK,"Invalid Network",n.NETWORK)}static usedKeyProvider(){return new i(n.SIGNATURE,"Do not use a `keyProvider` with a MathWallet. Use a `signProvider` and return only signatures to this object. A malicious person could retrieve your keys otherwise.",A.SIGNATURE)}static signatureRejected(){return new i(n.SIGNATURE,"User rejected the signature request",A.SIGNATURE)}static invalidSignature(){return new i(n.SIGNATURE,"Invalid signature",A.SIGNATURE)}static malformedRequiredFields(){return new i(n.SIGNATURE,"The requiredFields you passed in were malformed",A.SIGNATURE)}static unknowContractType(e){return new i(n.SIGNATURE,`Contract type ${e} not supported`,A.SIGNATURE)}static noAccountRejected(e){return new i(n.ACCOUNT,`Please create or import ${e} account first`,A.ACCOUNT)}}},function(e,t,r){"use strict";r.d(t,"a",function(){return n}),r.d(t,"b",function(){return A});const n={REQUEST_IDENTITY:"requestIdentity",REQUEST_UNLOCK:"requestUnlock",REQUEST_SIGNATURE:"requestSignature",REQUEST_ARBITRARY_SIGNATURE:"requestSignatureArbitrary"};class A{constructor(e=n.REQUEST_UNLOCK,t="",r=null,A={},i=null){this.type=e,this.domain=t,this.network=r,this.data=A,this.responder=i}static placeholder(){return new A}static fromJson(e){return Object.assign(this.placeholder(),e)}static mathWalletIsLocked(e){return new A(n.REQUEST_UNLOCK,"",null,{},e)}}},function(e,t,r){(function(e){e.exports=function(){"use strict";var t,n;function A(){return t.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var r,n=[];for(r=0;r<e.length;++r)n.push(t(e[r],r));return n}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e,t){for(var r in t)c(t,r)&&(e[r]=t[r]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,r,n){return _t(e,t,r,n,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){if(null==e._isValid){var t=g(e),r=n.call(t.parsedDateParts,function(e){return null!=e}),A=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(A=A&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return A;e._isValid=A}return e._isValid}function p(e){var t=d(NaN);return null!=e?f(g(t),e):g(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),r=t.length>>>0,n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};var I=A.momentProperties=[];function B(e,t){var r,n,A;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=g(t)),a(t._locale)||(e._locale=t._locale),I.length>0)for(r=0;r<I.length;r++)a(A=t[n=I[r]])||(e[n]=A);return e}var C=!1;function m(e){B(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===C&&(C=!0,A.updateOffset(this),C=!1)}function y(e){return e instanceof m||null!=e&&null!=e._isAMomentObject}function Q(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=Q(t)),r}function E(e,t,r){var n,A=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0;for(n=0;n<A;n++)(r&&e[n]!==t[n]||!r&&w(e[n])!==w(t[n]))&&o++;return o+i}function b(e){!1===A.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function v(e,t){var r=!0;return f(function(){if(null!=A.deprecationHandler&&A.deprecationHandler(null,e),r){for(var n,i=[],o=0;o<arguments.length;o++){if(n="","object"==typeof arguments[o]){for(var a in n+="\n["+o+"] ",arguments[0])n+=a+": "+arguments[0][a]+", ";n=n.slice(0,-2)}else n=arguments[o];i.push(n)}b(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),r=!1}return t.apply(this,arguments)},t)}var D,M={};function k(e,t){null!=A.deprecationHandler&&A.deprecationHandler(e,t),M[e]||(b(t),M[e]=!0)}function _(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e,t){var r,n=f({},e);for(r in t)c(t,r)&&(o(e[r])&&o(t[r])?(n[r]={},f(n[r],e[r]),f(n[r],t[r])):null!=t[r]?n[r]=t[r]:delete n[r]);for(r in e)c(e,r)&&!c(t,r)&&o(e[r])&&(n[r]=f({},n[r]));return n}function N(e){null!=e&&this.set(e)}A.suppressDeprecationWarnings=!1,A.deprecationHandler=null,D=Object.keys?Object.keys:function(e){var t,r=[];for(t in e)c(e,t)&&r.push(t);return r};var F={};function x(e,t){var r=e.toLowerCase();F[r]=F[r+"s"]=F[t]=e}function G(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function H(e){var t,r,n={};for(r in e)c(e,r)&&(t=G(r))&&(n[t]=e[r]);return n}var U={};function Y(e,t){U[e]=t}function L(e,t,r){var n=""+Math.abs(e),A=t-n.length;return(e>=0?r?"+":"":"-")+Math.pow(10,Math.max(0,A)).toString().substr(1)+n}var O=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,K=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},R={};function T(e,t,r,n){var A=n;"string"==typeof n&&(A=function(){return this[n]()}),e&&(R[e]=A),t&&(R[t[0]]=function(){return L(A.apply(this,arguments),t[1],t[2])}),r&&(R[r]=function(){return this.localeData().ordinal(A.apply(this,arguments),e)})}function J(e,t){return e.isValid()?(t=j(t,e.localeData()),P[t]=P[t]||function(e){var t,r,n,A=e.match(O);for(t=0,r=A.length;t<r;t++)R[A[t]]?A[t]=R[A[t]]:A[t]=(n=A[t]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(t){var n,i="";for(n=0;n<r;n++)i+=_(A[n])?A[n].call(t,e):A[n];return i}}(t),P[t](e)):e.localeData().invalidDate()}function j(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}for(K.lastIndex=0;r>=0&&K.test(e);)e=e.replace(K,n),K.lastIndex=0,r-=1;return e}var q=/\d/,V=/\d\d/,W=/\d{3}/,z=/\d{4}/,Z=/[+-]?\d{6}/,X=/\d\d?/,$=/\d\d\d\d?/,ee=/\d\d\d\d\d\d?/,te=/\d{1,3}/,re=/\d{1,4}/,ne=/[+-]?\d{1,6}/,Ae=/\d+/,ie=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ue={};function le(e,t,r){ue[e]=_(t)?t:function(e,n){return e&&r?r:t}}function ce(e,t){return c(ue,e)?ue[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,n,A){return t||r||n||A})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var de={};function ge(e,t){var r,n=t;for("string"==typeof e&&(e=[e]),s(t)&&(n=function(e,r){r[t]=w(e)}),r=0;r<e.length;r++)de[e[r]]=n}function he(e,t){ge(e,function(e,r,n,A){n._w=n._w||{},t(e,n._w,n,A)})}function pe(e,t,r){null!=t&&c(de,e)&&de[e](t,r._a,r,e)}var Ie=0,Be=1,Ce=2,me=3,ye=4,Qe=5,we=6,Ee=7,be=8;function ve(e){return De(e)?366:365}function De(e){return e%4==0&&e%100!=0||e%400==0}T("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),T(0,["YY",2],0,function(){return this.year()%100}),T(0,["YYYY",4],0,"year"),T(0,["YYYYY",5],0,"year"),T(0,["YYYYYY",6,!0],0,"year"),x("year","y"),Y("year",1),le("Y",ie),le("YY",X,V),le("YYYY",re,z),le("YYYYY",ne,Z),le("YYYYYY",ne,Z),ge(["YYYYY","YYYYYY"],Ie),ge("YYYY",function(e,t){t[Ie]=2===e.length?A.parseTwoDigitYear(e):w(e)}),ge("YY",function(e,t){t[Ie]=A.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[Ie]=parseInt(e,10)}),A.parseTwoDigitYear=function(e){return w(e)+(w(e)>68?1900:2e3)};var Me,ke=_e("FullYear",!0);function _e(e,t){return function(r){return null!=r?(Ne(this,e,r),A.updateOffset(this,t),this):Se(this,e)}}function Se(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ne(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&De(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Fe(r,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function Fe(e,t){if(isNaN(e)||isNaN(t))return NaN;var r,n=(t%(r=12)+r)%r;return e+=(t-n)/12,1===n?De(e)?29:28:31-n%7%2}Me=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},T("M",["MM",2],"Mo",function(){return this.month()+1}),T("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),T("MMMM",0,0,function(e){return this.localeData().months(this,e)}),x("month","M"),Y("month",8),le("M",X),le("MM",X,V),le("MMM",function(e,t){return t.monthsShortRegex(e)}),le("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[Be]=w(e)-1}),ge(["MMM","MMMM"],function(e,t,r,n){var A=r._locale.monthsParse(e,n,r._strict);null!=A?t[Be]=A:g(r).invalidMonth=e});var xe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ge="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),He="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ue(e,t){var r;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!s(t=e.localeData().monthsParse(t)))return e;return r=Math.min(e.date(),Fe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function Ye(e){return null!=e?(Ue(this,e),A.updateOffset(this,!0),this):Se(this,"Month")}var Le=se,Oe=se;function Ke(){function e(e,t){return t.length-e.length}var t,r,n=[],A=[],i=[];for(t=0;t<12;t++)r=d([2e3,t]),n.push(this.monthsShort(r,"")),A.push(this.months(r,"")),i.push(this.months(r,"")),i.push(this.monthsShort(r,""));for(n.sort(e),A.sort(e),i.sort(e),t=0;t<12;t++)n[t]=fe(n[t]),A[t]=fe(A[t]);for(t=0;t<24;t++)i[t]=fe(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+A.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Pe(e){var t;if(e<100&&e>=0){var r=Array.prototype.slice.call(arguments);r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Re(e,t,r){var n=7+t-r;return-(7+Pe(e,0,n).getUTCDay()-t)%7+n-1}function Te(e,t,r,n,A){var i,o,a=1+7*(t-1)+(7+r-n)%7+Re(e,n,A);return a<=0?o=ve(i=e-1)+a:a>ve(e)?(i=e+1,o=a-ve(e)):(i=e,o=a),{year:i,dayOfYear:o}}function Je(e,t,r){var n,A,i=Re(e.year(),t,r),o=Math.floor((e.dayOfYear()-i-1)/7)+1;return o<1?n=o+je(A=e.year()-1,t,r):o>je(e.year(),t,r)?(n=o-je(e.year(),t,r),A=e.year()+1):(A=e.year(),n=o),{week:n,year:A}}function je(e,t,r){var n=Re(e,t,r),A=Re(e+1,t,r);return(ve(e)-n+A)/7}function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}T("w",["ww",2],"wo","week"),T("W",["WW",2],"Wo","isoWeek"),x("week","w"),x("isoWeek","W"),Y("week",5),Y("isoWeek",5),le("w",X),le("ww",X,V),le("W",X),le("WW",X,V),he(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=w(e)}),T("d",0,"do","day"),T("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),T("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),T("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),T("e",0,0,"weekday"),T("E",0,0,"isoWeekday"),x("day","d"),x("weekday","e"),x("isoWeekday","E"),Y("day",11),Y("weekday",11),Y("isoWeekday",11),le("d",X),le("e",X),le("E",X),le("dd",function(e,t){return t.weekdaysMinRegex(e)}),le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),le("dddd",function(e,t){return t.weekdaysRegex(e)}),he(["dd","ddd","dddd"],function(e,t,r,n){var A=r._locale.weekdaysParse(e,n,r._strict);null!=A?t.d=A:g(r).invalidWeekday=e}),he(["d","e","E"],function(e,t,r,n){t[n]=w(e)});var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),We="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ze=se,Xe=se,$e=se;function et(){function e(e,t){return t.length-e.length}var t,r,n,A,i,o=[],a=[],s=[],u=[];for(t=0;t<7;t++)r=d([2e3,1]).day(t),n=this.weekdaysMin(r,""),A=this.weekdaysShort(r,""),i=this.weekdays(r,""),o.push(n),a.push(A),s.push(i),u.push(n),u.push(A),u.push(i);for(o.sort(e),a.sort(e),s.sort(e),u.sort(e),t=0;t<7;t++)a[t]=fe(a[t]),s[t]=fe(s[t]),u[t]=fe(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function tt(){return this.hours()%12||12}function rt(e,t){T(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function nt(e,t){return t._meridiemParse}T("H",["HH",2],0,"hour"),T("h",["hh",2],0,tt),T("k",["kk",2],0,function(){return this.hours()||24}),T("hmm",0,0,function(){return""+tt.apply(this)+L(this.minutes(),2)}),T("hmmss",0,0,function(){return""+tt.apply(this)+L(this.minutes(),2)+L(this.seconds(),2)}),T("Hmm",0,0,function(){return""+this.hours()+L(this.minutes(),2)}),T("Hmmss",0,0,function(){return""+this.hours()+L(this.minutes(),2)+L(this.seconds(),2)}),rt("a",!0),rt("A",!1),x("hour","h"),Y("hour",13),le("a",nt),le("A",nt),le("H",X),le("h",X),le("k",X),le("HH",X,V),le("hh",X,V),le("kk",X,V),le("hmm",$),le("hmmss",ee),le("Hmm",$),le("Hmmss",ee),ge(["H","HH"],me),ge(["k","kk"],function(e,t,r){var n=w(e);t[me]=24===n?0:n}),ge(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),ge(["h","hh"],function(e,t,r){t[me]=w(e),g(r).bigHour=!0}),ge("hmm",function(e,t,r){var n=e.length-2;t[me]=w(e.substr(0,n)),t[ye]=w(e.substr(n)),g(r).bigHour=!0}),ge("hmmss",function(e,t,r){var n=e.length-4,A=e.length-2;t[me]=w(e.substr(0,n)),t[ye]=w(e.substr(n,2)),t[Qe]=w(e.substr(A)),g(r).bigHour=!0}),ge("Hmm",function(e,t,r){var n=e.length-2;t[me]=w(e.substr(0,n)),t[ye]=w(e.substr(n))}),ge("Hmmss",function(e,t,r){var n=e.length-4,A=e.length-2;t[me]=w(e.substr(0,n)),t[ye]=w(e.substr(n,2)),t[Qe]=w(e.substr(A))});var At,it=_e("Hours",!0),ot={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ge,monthsShort:He,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:ze,weekdaysShort:We,meridiemParse:/[ap]\.?m?\.?/i},at={},st={};function ut(e){return e?e.toLowerCase().replace("_","-"):e}function lt(t){var n=null;if(!at[t]&&void 0!==e&&e&&e.exports)try{n=At._abbr,r(1278)("./"+t),ct(n)}catch(e){}return at[t]}function ct(e,t){var r;return e&&((r=a(t)?dt(e):ft(e,t))?At=r:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),At._abbr}function ft(e,t){if(null!==t){var r,n=ot;if(t.abbr=e,null!=at[e])k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=at[e]._config;else if(null!=t.parentLocale)if(null!=at[t.parentLocale])n=at[t.parentLocale]._config;else{if(null==(r=lt(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;n=r._config}return at[e]=new N(S(n,t)),st[e]&&st[e].forEach(function(e){ft(e.name,e.config)}),ct(e),at[e]}return delete at[e],null}function dt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return At;if(!i(e)){if(t=lt(e))return t;e=[e]}return function(e){for(var t,r,n,A,i=0;i<e.length;){for(t=(A=ut(e[i]).split("-")).length,r=(r=ut(e[i+1]))?r.split("-"):null;t>0;){if(n=lt(A.slice(0,t).join("-")))return n;if(r&&r.length>=t&&E(A,r,!0)>=t-1)break;t--}i++}return At}(e)}function gt(e){var t,r=e._a;return r&&-2===g(e).overflow&&(t=r[Be]<0||r[Be]>11?Be:r[Ce]<1||r[Ce]>Fe(r[Ie],r[Be])?Ce:r[me]<0||r[me]>24||24===r[me]&&(0!==r[ye]||0!==r[Qe]||0!==r[we])?me:r[ye]<0||r[ye]>59?ye:r[Qe]<0||r[Qe]>59?Qe:r[we]<0||r[we]>999?we:-1,g(e)._overflowDayOfYear&&(t<Ie||t>Ce)&&(t=Ce),g(e)._overflowWeeks&&-1===t&&(t=Ee),g(e)._overflowWeekday&&-1===t&&(t=be),g(e).overflow=t),e}function ht(e,t,r){return null!=e?e:null!=t?t:r}function pt(e){var t,r,n,i,o,a=[];if(!e._d){for(n=function(e){var t=new Date(A.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[Ce]&&null==e._a[Be]&&function(e){var t,r,n,A,i,o,a,s;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)i=1,o=4,r=ht(t.GG,e._a[Ie],Je(St(),1,4).year),n=ht(t.W,1),((A=ht(t.E,1))<1||A>7)&&(s=!0);else{i=e._locale._week.dow,o=e._locale._week.doy;var u=Je(St(),i,o);r=ht(t.gg,e._a[Ie],u.year),n=ht(t.w,u.week),null!=t.d?((A=t.d)<0||A>6)&&(s=!0):null!=t.e?(A=t.e+i,(t.e<0||t.e>6)&&(s=!0)):A=i}n<1||n>je(r,i,o)?g(e)._overflowWeeks=!0:null!=s?g(e)._overflowWeekday=!0:(a=Te(r,n,A,i,o),e._a[Ie]=a.year,e._dayOfYear=a.dayOfYear)}(e),null!=e._dayOfYear&&(o=ht(e._a[Ie],n[Ie]),(e._dayOfYear>ve(o)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),r=Pe(o,0,e._dayOfYear),e._a[Be]=r.getUTCMonth(),e._a[Ce]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=n[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[me]&&0===e._a[ye]&&0===e._a[Qe]&&0===e._a[we]&&(e._nextDay=!0,e._a[me]=0),e._d=(e._useUTC?Pe:function(e,t,r,n,A,i,o){var a;return e<100&&e>=0?(a=new Date(e+400,t,r,n,A,i,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,r,n,A,i,o),a}).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[me]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}var It=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Bt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ct=/Z|[+-]\d\d(?::?\d\d)?/,mt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],yt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Qt=/^\/?Date\((\-?\d+)/i;function wt(e){var t,r,n,A,i,o,a=e._i,s=It.exec(a)||Bt.exec(a);if(s){for(g(e).iso=!0,t=0,r=mt.length;t<r;t++)if(mt[t][1].exec(s[1])){A=mt[t][0],n=!1!==mt[t][2];break}if(null==A)return void(e._isValid=!1);if(s[3]){for(t=0,r=yt.length;t<r;t++)if(yt[t][1].exec(s[3])){i=(s[2]||" ")+yt[t][0];break}if(null==i)return void(e._isValid=!1)}if(!n&&null!=i)return void(e._isValid=!1);if(s[4]){if(!Ct.exec(s[4]))return void(e._isValid=!1);o="Z"}e._f=A+(i||"")+(o||""),Mt(e)}else e._isValid=!1}var Et=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function bt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dt(e){var t,r,n,A,i,o,a,s=Et.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(s){var u=(t=s[4],r=s[3],n=s[2],A=s[5],i=s[6],o=s[7],a=[bt(t),He.indexOf(r),parseInt(n,10),parseInt(A,10),parseInt(i,10)],o&&a.push(parseInt(o,10)),a);if(!function(e,t,r){return!e||We.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(r).weekdayMismatch=!0,r._isValid=!1,!1)}(s[1],u,e))return;e._a=u,e._tzm=function(e,t,r){if(e)return vt[e];if(t)return 0;var n=parseInt(r,10),A=n%100;return(n-A)/100*60+A}(s[8],s[9],s[10]),e._d=Pe.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function Mt(e){if(e._f!==A.ISO_8601)if(e._f!==A.RFC_2822){e._a=[],g(e).empty=!0;var t,r,n,i,o,a=""+e._i,s=a.length,u=0;for(n=j(e._f,e._locale).match(O)||[],t=0;t<n.length;t++)i=n[t],(r=(a.match(ce(i,e))||[])[0])&&((o=a.substr(0,a.indexOf(r))).length>0&&g(e).unusedInput.push(o),a=a.slice(a.indexOf(r)+r.length),u+=r.length),R[i]?(r?g(e).empty=!1:g(e).unusedTokens.push(i),pe(i,r,e)):e._strict&&!r&&g(e).unusedTokens.push(i);g(e).charsLeftOver=s-u,a.length>0&&g(e).unusedInput.push(a),e._a[me]<=12&&!0===g(e).bigHour&&e._a[me]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[me]=function(e,t,r){var n;return null==r?t:null!=e.meridiemHour?e.meridiemHour(t,r):null!=e.isPM?((n=e.isPM(r))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[me],e._meridiem),pt(e),gt(e)}else Dt(e);else wt(e)}function kt(e){var t=e._i,r=e._f;return e._locale=e._locale||dt(e._l),null===t||void 0===r&&""===t?p({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),y(t)?new m(gt(t)):(u(t)?e._d=t:i(r)?function(e){var t,r,n,A,i;if(0===e._f.length)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(A=0;A<e._f.length;A++)i=0,t=B({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[A],Mt(t),h(t)&&(i+=g(t).charsLeftOver,i+=10*g(t).unusedTokens.length,g(t).score=i,(null==n||i<n)&&(n=i,r=t));f(e,r||t)}(e):r?Mt(e):function(e){var t=e._i;a(t)?e._d=new Date(A.now()):u(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=Qt.exec(e._i);null===t?(wt(e),!1===e._isValid&&(delete e._isValid,Dt(e),!1===e._isValid&&(delete e._isValid,A.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):i(t)?(e._a=l(t.slice(0),function(e){return parseInt(e,10)}),pt(e)):o(t)?function(e){if(!e._d){var t=H(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),pt(e)}}(e):s(t)?e._d=new Date(t):A.createFromInputFallback(e)}(e),h(e)||(e._d=null),e))}function _t(e,t,r,n,A){var a,s={};return!0!==r&&!1!==r||(n=r,r=void 0),(o(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||i(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=A,s._l=r,s._i=e,s._f=t,s._strict=n,(a=new m(gt(kt(s))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function St(e,t,r,n){return _t(e,t,r,n,!1)}A.createFromInputFallback=v("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),A.ISO_8601=function(){},A.RFC_2822=function(){};var Nt=v("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:p()}),Ft=v("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:p()});function xt(e,t){var r,n;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return St();for(r=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](r)||(r=t[n]);return r}var Gt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ht(e){var t=H(e),r=t.year||0,n=t.quarter||0,A=t.month||0,i=t.week||t.isoWeek||0,o=t.day||0,a=t.hour||0,s=t.minute||0,u=t.second||0,l=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Me.call(Gt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var r=!1,n=0;n<Gt.length;++n)if(e[Gt[n]]){if(r)return!1;parseFloat(e[Gt[n]])!==w(e[Gt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+l+1e3*u+6e4*s+1e3*a*60*60,this._days=+o+7*i,this._months=+A+3*n+12*r,this._data={},this._locale=dt(),this._bubble()}function Ut(e){return e instanceof Ht}function Yt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Lt(e,t){T(e,0,0,function(){var e=this.utcOffset(),r="+";return e<0&&(e=-e,r="-"),r+L(~~(e/60),2)+t+L(~~e%60,2)})}Lt("Z",":"),Lt("ZZ",""),le("Z",ae),le("ZZ",ae),ge(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Kt(ae,e)});var Ot=/([\+\-]|\d\d)/gi;function Kt(e,t){var r=(t||"").match(e);if(null===r)return null;var n=((r[r.length-1]||[])+"").match(Ot)||["-",0,0],A=60*n[1]+w(n[2]);return 0===A?0:"+"===n[0]?A:-A}function Pt(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(y(e)||u(e)?e.valueOf():St(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),A.updateOffset(r,!1),r):St(e).local()}function Rt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Tt(){return!!this.isValid()&&this._isUTC&&0===this._offset}A.updateOffset=function(){};var Jt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function qt(e,t){var r,n,A,i,o,a,u=e,l=null;return Ut(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(u={},t?u[t]=e:u.milliseconds=e):(l=Jt.exec(e))?(r="-"===l[1]?-1:1,u={y:0,d:w(l[Ce])*r,h:w(l[me])*r,m:w(l[ye])*r,s:w(l[Qe])*r,ms:w(Yt(1e3*l[we]))*r}):(l=jt.exec(e))?(r="-"===l[1]?-1:1,u={y:Vt(l[2],r),M:Vt(l[3],r),w:Vt(l[4],r),d:Vt(l[5],r),h:Vt(l[6],r),m:Vt(l[7],r),s:Vt(l[8],r)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(i=St(u.from),o=St(u.to),A=i.isValid()&&o.isValid()?(o=Pt(o,i),i.isBefore(o)?a=Wt(i,o):((a=Wt(o,i)).milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0},(u={}).ms=A.milliseconds,u.M=A.months),n=new Ht(u),Ut(e)&&c(e,"_locale")&&(n._locale=e._locale),n}function Vt(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Wt(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function zt(e,t){return function(r,n){var A;return null===n||isNaN(+n)||(k(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),A=r,r=n,n=A),Zt(this,qt(r="string"==typeof r?+r:r,n),e),this}}function Zt(e,t,r,n){var i=t._milliseconds,o=Yt(t._days),a=Yt(t._months);e.isValid()&&(n=null==n||n,a&&Ue(e,Se(e,"Month")+a*r),o&&Ne(e,"Date",Se(e,"Date")+o*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&A.updateOffset(e,o||a))}qt.fn=Ht.prototype,qt.invalid=function(){return qt(NaN)};var Xt=zt(1,"add"),$t=zt(-1,"subtract");function er(e,t){var r=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(r,"months");return-(r+(t-n<0?(t-n)/(n-e.clone().add(r-1,"months")):(t-n)/(e.clone().add(r+1,"months")-n)))||0}function tr(e){var t;return void 0===e?this._locale._abbr:(null!=(t=dt(e))&&(this._locale=t),this)}A.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",A.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var rr=v("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function nr(){return this._locale}var Ar=1e3,ir=60*Ar,or=60*ir,ar=3506328*or;function sr(e,t){return(e%t+t)%t}function ur(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-ar:new Date(e,t,r).valueOf()}function lr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-ar:Date.UTC(e,t,r)}function cr(e,t){T(0,[e,e.length],0,t)}function fr(e,t,r,n,A){var i;return null==e?Je(this,n,A).year:(t>(i=je(e,n,A))&&(t=i),function(e,t,r,n,A){var i=Te(e,t,r,n,A),o=Pe(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}.call(this,e,t,r,n,A))}T(0,["gg",2],0,function(){return this.weekYear()%100}),T(0,["GG",2],0,function(){return this.isoWeekYear()%100}),cr("gggg","weekYear"),cr("ggggg","weekYear"),cr("GGGG","isoWeekYear"),cr("GGGGG","isoWeekYear"),x("weekYear","gg"),x("isoWeekYear","GG"),Y("weekYear",1),Y("isoWeekYear",1),le("G",ie),le("g",ie),le("GG",X,V),le("gg",X,V),le("GGGG",re,z),le("gggg",re,z),le("GGGGG",ne,Z),le("ggggg",ne,Z),he(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=w(e)}),he(["gg","GG"],function(e,t,r,n){t[n]=A.parseTwoDigitYear(e)}),T("Q",0,"Qo","quarter"),x("quarter","Q"),Y("quarter",7),le("Q",q),ge("Q",function(e,t){t[Be]=3*(w(e)-1)}),T("D",["DD",2],"Do","date"),x("date","D"),Y("date",9),le("D",X),le("DD",X,V),le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],Ce),ge("Do",function(e,t){t[Ce]=w(e.match(X)[0])});var dr=_e("Date",!0);T("DDD",["DDDD",3],"DDDo","dayOfYear"),x("dayOfYear","DDD"),Y("dayOfYear",4),le("DDD",te),le("DDDD",W),ge(["DDD","DDDD"],function(e,t,r){r._dayOfYear=w(e)}),T("m",["mm",2],0,"minute"),x("minute","m"),Y("minute",14),le("m",X),le("mm",X,V),ge(["m","mm"],ye);var gr=_e("Minutes",!1);T("s",["ss",2],0,"second"),x("second","s"),Y("second",15),le("s",X),le("ss",X,V),ge(["s","ss"],Qe);var hr,pr=_e("Seconds",!1);for(T("S",0,0,function(){return~~(this.millisecond()/100)}),T(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),T(0,["SSS",3],0,"millisecond"),T(0,["SSSS",4],0,function(){return 10*this.millisecond()}),T(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),T(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),T(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),T(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),T(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),x("millisecond","ms"),Y("millisecond",16),le("S",te,q),le("SS",te,V),le("SSS",te,W),hr="SSSS";hr.length<=9;hr+="S")le(hr,Ae);function Ir(e,t){t[we]=w(1e3*("0."+e))}for(hr="S";hr.length<=9;hr+="S")ge(hr,Ir);var Br=_e("Milliseconds",!1);T("z",0,0,"zoneAbbr"),T("zz",0,0,"zoneName");var Cr=m.prototype;function mr(e){return e}Cr.add=Xt,Cr.calendar=function(e,t){var r=e||St(),n=Pt(r,this).startOf("day"),i=A.calendarFormat(this,n)||"sameElse",o=t&&(_(t[i])?t[i].call(this,r):t[i]);return this.format(o||this.localeData().calendar(i,this,St(r)))},Cr.clone=function(){return new m(this)},Cr.diff=function(e,t,r){var n,A,i;if(!this.isValid())return NaN;if(!(n=Pt(e,this)).isValid())return NaN;switch(A=6e4*(n.utcOffset()-this.utcOffset()),t=G(t)){case"year":i=er(this,n)/12;break;case"month":i=er(this,n);break;case"quarter":i=er(this,n)/3;break;case"second":i=(this-n)/1e3;break;case"minute":i=(this-n)/6e4;break;case"hour":i=(this-n)/36e5;break;case"day":i=(this-n-A)/864e5;break;case"week":i=(this-n-A)/6048e5;break;default:i=this-n}return r?i:Q(i)},Cr.endOf=function(e){var t;if(void 0===(e=G(e))||"millisecond"===e||!this.isValid())return this;var r=this._isUTC?lr:ur;switch(e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=or-sr(t+(this._isUTC?0:this.utcOffset()*ir),or)-1;break;case"minute":t=this._d.valueOf(),t+=ir-sr(t,ir)-1;break;case"second":t=this._d.valueOf(),t+=Ar-sr(t,Ar)-1}return this._d.setTime(t),A.updateOffset(this,!0),this},Cr.format=function(e){e||(e=this.isUtc()?A.defaultFormatUtc:A.defaultFormat);var t=J(this,e);return this.localeData().postformat(t)},Cr.from=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||St(e).isValid())?qt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Cr.fromNow=function(e){return this.from(St(),e)},Cr.to=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||St(e).isValid())?qt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Cr.toNow=function(e){return this.to(St(),e)},Cr.get=function(e){return _(this[e=G(e)])?this[e]():this},Cr.invalidAt=function(){return g(this).overflow},Cr.isAfter=function(e,t){var r=y(e)?e:St(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=G(t)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf())},Cr.isBefore=function(e,t){var r=y(e)?e:St(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=G(t)||"millisecond")?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf())},Cr.isBetween=function(e,t,r,n){var A=y(e)?e:St(e),i=y(t)?t:St(t);return!!(this.isValid()&&A.isValid()&&i.isValid())&&("("===(n=n||"()")[0]?this.isAfter(A,r):!this.isBefore(A,r))&&(")"===n[1]?this.isBefore(i,r):!this.isAfter(i,r))},Cr.isSame=function(e,t){var r,n=y(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=G(t)||"millisecond")?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf()))},Cr.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Cr.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Cr.isValid=function(){return h(this)},Cr.lang=rr,Cr.locale=tr,Cr.localeData=nr,Cr.max=Ft,Cr.min=Nt,Cr.parsingFlags=function(){return f({},g(this))},Cr.set=function(e,t){if("object"==typeof e)for(var r=function(e){var t=[];for(var r in e)t.push({unit:r,priority:U[r]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=H(e)),n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit]);else if(_(this[e=G(e)]))return this[e](t);return this},Cr.startOf=function(e){var t;if(void 0===(e=G(e))||"millisecond"===e||!this.isValid())return this;var r=this._isUTC?lr:ur;switch(e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=sr(t+(this._isUTC?0:this.utcOffset()*ir),or);break;case"minute":t=this._d.valueOf(),t-=sr(t,ir);break;case"second":t=this._d.valueOf(),t-=sr(t,Ar)}return this._d.setTime(t),A.updateOffset(this,!0),this},Cr.subtract=$t,Cr.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Cr.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Cr.toDate=function(){return new Date(this.valueOf())},Cr.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?J(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):_(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",J(r,"Z")):J(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Cr.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",A=t+'[")]';return this.format(r+n+"-MM-DD[T]HH:mm:ss.SSS"+A)},Cr.toJSON=function(){return this.isValid()?this.toISOString():null},Cr.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Cr.unix=function(){return Math.floor(this.valueOf()/1e3)},Cr.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Cr.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Cr.year=ke,Cr.isLeapYear=function(){return De(this.year())},Cr.weekYear=function(e){return fr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Cr.isoWeekYear=function(e){return fr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Cr.quarter=Cr.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Cr.month=Ye,Cr.daysInMonth=function(){return Fe(this.year(),this.month())},Cr.week=Cr.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Cr.isoWeek=Cr.isoWeeks=function(e){var t=Je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Cr.weeksInYear=function(){var e=this.localeData()._week;return je(this.year(),e.dow,e.doy)},Cr.isoWeeksInYear=function(){return je(this.year(),1,4)},Cr.date=dr,Cr.day=Cr.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},Cr.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Cr.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},Cr.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Cr.hour=Cr.hours=it,Cr.minute=Cr.minutes=gr,Cr.second=Cr.seconds=pr,Cr.millisecond=Cr.milliseconds=Br,Cr.utcOffset=function(e,t,r){var n,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Kt(ae,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(n=Rt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,qt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,A.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Rt(this)},Cr.utc=function(e){return this.utcOffset(0,e)},Cr.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Rt(this),"m")),this},Cr.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Kt(oe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Cr.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?St(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Cr.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Cr.isLocal=function(){return!!this.isValid()&&!this._isUTC},Cr.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Cr.isUtc=Tt,Cr.isUTC=Tt,Cr.zoneAbbr=function(){return this._isUTC?"UTC":""},Cr.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Cr.dates=v("dates accessor is deprecated. Use date instead.",dr),Cr.months=v("months accessor is deprecated. Use month instead",Ye),Cr.years=v("years accessor is deprecated. Use year instead",ke),Cr.zone=v("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),Cr.isDSTShifted=v("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(B(e,this),(e=kt(e))._a){var t=e._isUTC?d(e._a):St(e._a);this._isDSTShifted=this.isValid()&&E(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var yr=N.prototype;function Qr(e,t,r,n){var A=dt(),i=d().set(n,t);return A[r](i,e)}function wr(e,t,r){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Qr(e,t,r,"month");var n,A=[];for(n=0;n<12;n++)A[n]=Qr(e,n,r,"month");return A}function Er(e,t,r,n){"boolean"==typeof e?(s(t)&&(r=t,t=void 0),t=t||""):(r=t=e,e=!1,s(t)&&(r=t,t=void 0),t=t||"");var A,i=dt(),o=e?i._week.dow:0;if(null!=r)return Qr(t,(r+o)%7,n,"day");var a=[];for(A=0;A<7;A++)a[A]=Qr(t,(A+o)%7,n,"day");return a}yr.calendar=function(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return _(n)?n.call(t,r):n},yr.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},yr.invalidDate=function(){return this._invalidDate},yr.ordinal=function(e){return this._ordinal.replace("%d",e)},yr.preparse=mr,yr.postformat=mr,yr.relativeTime=function(e,t,r,n){var A=this._relativeTime[r];return _(A)?A(e,t,r,n):A.replace(/%d/i,e)},yr.pastFuture=function(e,t){var r=this._relativeTime[e>0?"future":"past"];return _(r)?r(t):r.replace(/%s/i,t)},yr.set=function(e){var t,r;for(r in e)_(t=e[r])?this[r]=t:this["_"+r]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yr.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||xe).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},yr.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[xe.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yr.monthsParse=function(e,t,r){var n,A,i;if(this._monthsParseExact)return function(e,t,r){var n,A,i,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)i=d([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(A=Me.call(this._shortMonthsParse,o))?A:null:-1!==(A=Me.call(this._longMonthsParse,o))?A:null:"MMM"===t?-1!==(A=Me.call(this._shortMonthsParse,o))?A:-1!==(A=Me.call(this._longMonthsParse,o))?A:null:-1!==(A=Me.call(this._longMonthsParse,o))?A:-1!==(A=Me.call(this._shortMonthsParse,o))?A:null}.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(A=d([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(A,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(A,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(i="^"+this.months(A,"")+"|^"+this.monthsShort(A,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(r&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}},yr.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Ke.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},yr.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Ke.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Le),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},yr.week=function(e){return Je(e,this._week.dow,this._week.doy).week},yr.firstDayOfYear=function(){return this._week.doy},yr.firstDayOfWeek=function(){return this._week.dow},yr.weekdays=function(e,t){var r=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?qe(r,this._week.dow):e?r[e.day()]:r},yr.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},yr.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},yr.weekdaysParse=function(e,t,r){var n,A,i;if(this._weekdaysParseExact)return function(e,t,r){var n,A,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=d([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(A=Me.call(this._weekdaysParse,o))?A:null:"ddd"===t?-1!==(A=Me.call(this._shortWeekdaysParse,o))?A:null:-1!==(A=Me.call(this._minWeekdaysParse,o))?A:null:"dddd"===t?-1!==(A=Me.call(this._weekdaysParse,o))?A:-1!==(A=Me.call(this._shortWeekdaysParse,o))?A:-1!==(A=Me.call(this._minWeekdaysParse,o))?A:null:"ddd"===t?-1!==(A=Me.call(this._shortWeekdaysParse,o))?A:-1!==(A=Me.call(this._weekdaysParse,o))?A:-1!==(A=Me.call(this._minWeekdaysParse,o))?A:null:-1!==(A=Me.call(this._minWeekdaysParse,o))?A:-1!==(A=Me.call(this._weekdaysParse,o))?A:-1!==(A=Me.call(this._shortWeekdaysParse,o))?A:null}.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(A=d([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(A,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(A,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(A,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(A,"")+"|^"+this.weekdaysShort(A,"")+"|^"+this.weekdaysMin(A,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}},yr.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ze),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},yr.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yr.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||et.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$e),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yr.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},yr.meridiem=function(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"},ct("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),A.lang=v("moment.lang is deprecated. Use moment.locale instead.",ct),A.langData=v("moment.langData is deprecated. Use moment.localeData instead.",dt);var br=Math.abs;function vr(e,t,r,n){var A=qt(t,r);return e._milliseconds+=n*A._milliseconds,e._days+=n*A._days,e._months+=n*A._months,e._bubble()}function Dr(e){return e<0?Math.floor(e):Math.ceil(e)}function Mr(e){return 4800*e/146097}function kr(e){return 146097*e/4800}function _r(e){return function(){return this.as(e)}}var Sr=_r("ms"),Nr=_r("s"),Fr=_r("m"),xr=_r("h"),Gr=_r("d"),Hr=_r("w"),Ur=_r("M"),Yr=_r("Q"),Lr=_r("y");function Or(e){return function(){return this.isValid()?this._data[e]:NaN}}var Kr=Or("milliseconds"),Pr=Or("seconds"),Rr=Or("minutes"),Tr=Or("hours"),Jr=Or("days"),jr=Or("months"),qr=Or("years"),Vr=Math.round,Wr={ss:44,s:45,m:45,h:22,d:26,M:11},zr=Math.abs;function Zr(e){return(e>0)-(e<0)||+e}function Xr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r=zr(this._milliseconds)/1e3,n=zr(this._days),A=zr(this._months);e=Q(r/60),t=Q(e/60),r%=60,e%=60;var i=Q(A/12),o=A%=12,a=n,s=t,u=e,l=r?r.toFixed(3).replace(/\.?0+$/,""):"",c=this.asSeconds();if(!c)return"P0D";var f=c<0?"-":"",d=Zr(this._months)!==Zr(c)?"-":"",g=Zr(this._days)!==Zr(c)?"-":"",h=Zr(this._milliseconds)!==Zr(c)?"-":"";return f+"P"+(i?d+i+"Y":"")+(o?d+o+"M":"")+(a?g+a+"D":"")+(s||u||l?"T":"")+(s?h+s+"H":"")+(u?h+u+"M":"")+(l?h+l+"S":"")}var $r=Ht.prototype;return $r.isValid=function(){return this._isValid},$r.abs=function(){var e=this._data;return this._milliseconds=br(this._milliseconds),this._days=br(this._days),this._months=br(this._months),e.milliseconds=br(e.milliseconds),e.seconds=br(e.seconds),e.minutes=br(e.minutes),e.hours=br(e.hours),e.months=br(e.months),e.years=br(e.years),this},$r.add=function(e,t){return vr(this,e,t,1)},$r.subtract=function(e,t){return vr(this,e,t,-1)},$r.as=function(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if("month"===(e=G(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+Mr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(kr(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},$r.asMilliseconds=Sr,$r.asSeconds=Nr,$r.asMinutes=Fr,$r.asHours=xr,$r.asDays=Gr,$r.asWeeks=Hr,$r.asMonths=Ur,$r.asQuarters=Yr,$r.asYears=Lr,$r.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},$r._bubble=function(){var e,t,r,n,A,i=this._milliseconds,o=this._days,a=this._months,s=this._data;return i>=0&&o>=0&&a>=0||i<=0&&o<=0&&a<=0||(i+=864e5*Dr(kr(a)+o),o=0,a=0),s.milliseconds=i%1e3,e=Q(i/1e3),s.seconds=e%60,t=Q(e/60),s.minutes=t%60,r=Q(t/60),s.hours=r%24,o+=Q(r/24),A=Q(Mr(o)),a+=A,o-=Dr(kr(A)),n=Q(a/12),a%=12,s.days=o,s.months=a,s.years=n,this},$r.clone=function(){return qt(this)},$r.get=function(e){return e=G(e),this.isValid()?this[e+"s"]():NaN},$r.milliseconds=Kr,$r.seconds=Pr,$r.minutes=Rr,$r.hours=Tr,$r.days=Jr,$r.weeks=function(){return Q(this.days()/7)},$r.months=jr,$r.years=qr,$r.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),r=function(e,t,r){var n=qt(e).abs(),A=Vr(n.as("s")),i=Vr(n.as("m")),o=Vr(n.as("h")),a=Vr(n.as("d")),s=Vr(n.as("M")),u=Vr(n.as("y")),l=A<=Wr.ss&&["s",A]||A<Wr.s&&["ss",A]||i<=1&&["m"]||i<Wr.m&&["mm",i]||o<=1&&["h"]||o<Wr.h&&["hh",o]||a<=1&&["d"]||a<Wr.d&&["dd",a]||s<=1&&["M"]||s<Wr.M&&["MM",s]||u<=1&&["y"]||["yy",u];return l[2]=t,l[3]=+e>0,l[4]=r,function(e,t,r,n,A){return A.relativeTime(t||1,!!r,e,n)}.apply(null,l)}(this,!e,t);return e&&(r=t.pastFuture(+this,r)),t.postformat(r)},$r.toISOString=Xr,$r.toString=Xr,$r.toJSON=Xr,$r.locale=tr,$r.localeData=nr,$r.toIsoString=v("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xr),$r.lang=rr,T("X",0,0,"unix"),T("x",0,0,"valueOf"),le("x",ie),le("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e,10))}),ge("x",function(e,t,r){r._d=new Date(w(e))}),A.version="2.24.0",t=St,A.fn=Cr,A.min=function(){return xt("isBefore",[].slice.call(arguments,0))},A.max=function(){return xt("isAfter",[].slice.call(arguments,0))},A.now=function(){return Date.now?Date.now():+new Date},A.utc=d,A.unix=function(e){return St(1e3*e)},A.months=function(e,t){return wr(e,t,"months")},A.isDate=u,A.locale=ct,A.invalid=p,A.duration=qt,A.isMoment=y,A.weekdays=function(e,t,r){return Er(e,t,r,"weekdays")},A.parseZone=function(){return St.apply(null,arguments).parseZone()},A.localeData=dt,A.isDuration=Ut,A.monthsShort=function(e,t){return wr(e,t,"monthsShort")},A.weekdaysMin=function(e,t,r){return Er(e,t,r,"weekdaysMin")},A.defineLocale=ft,A.updateLocale=function(e,t){if(null!=t){var r,n,A=ot;null!=(n=lt(e))&&(A=n._config),t=S(A,t),(r=new N(t)).parentLocale=at[e],at[e]=r,ct(e)}else null!=at[e]&&(null!=at[e].parentLocale?at[e]=at[e].parentLocale:null!=at[e]&&delete at[e]);return at[e]},A.locales=function(){return D(at)},A.weekdaysShort=function(e,t,r){return Er(e,t,r,"weekdaysShort")},A.normalizeUnits=G,A.relativeTimeRounding=function(e){return void 0===e?Vr:"function"==typeof e&&(Vr=e,!0)},A.relativeTimeThreshold=function(e,t){return void 0!==Wr[e]&&(void 0===t?Wr[e]:(Wr[e]=t,"s"===e&&(Wr.ss=t-1),!0))},A.calendarFormat=function(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"},A.prototype=Cr,A.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},A}()}).call(this,r(96)(e))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0});var A={assert:!0,detectPackage:!0,logger:!0,promisify:!0};Object.defineProperty(t,"assert",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"detectPackage",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"logger",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"promisify",{enumerable:!0,get:function(){return s.default}}),r(1201);var i=n(r(200)),o=n(r(1208)),a=n(r(1209)),s=n(r(1219)),u=r(1220);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))});var l=r(673);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))});var c=r(1231);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))});var f=r(1232);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))});var d=r(1235);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))});var g=r(1239);Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}}))});var h=r(1242);Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))});var p=r(1249);Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))});var I=r(1251);Object.keys(I).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return I[e]}}))});var B=r(274);Object.keys(B).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return B[e]}}))})},function(e,t,r){"use strict";r.d(t,"a",function(){return l});var n=r(2),A=r(133),i=r(254),o=r(32),a=r(209),s=r(83),u=r(168),l=function(e){function t(r,n,A){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=i.a;break;case 1:if(!r){o.destination=i.a;break}if("object"==typeof r){r instanceof t?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(o)):(o.syncErrorThrowable=!0,o.destination=new c(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new c(o,r,n,A)}return o}return n.__extends(t,e),t.prototype[a.a]=function(){return this},t.create=function(e,r,n){var A=new t(e,r,n);return A.syncErrorThrowable=!1,A},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(o.a),c=function(e){function t(t,r,n,o){var a,s=e.call(this)||this;s._parentSubscriber=t;var u=s;return Object(A.a)(r)?a=r:r&&(a=r.next,n=r.error,o=r.complete,r!==i.a&&(u=Object.create(r),Object(A.a)(u.unsubscribe)&&s.add(u.unsubscribe.bind(u)),u.unsubscribe=s.unsubscribe.bind(s))),s._context=u,s._next=a,s._error=n,s._complete=o,s}return n.__extends(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;s.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,r=s.a.useDeprecatedSynchronousErrorHandling;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(u.a)(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;Object(u.a)(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var r=function(){return e._complete.call(e._context)};s.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),s.a.useDeprecatedSynchronousErrorHandling)throw e;Object(u.a)(e)}},t.prototype.__tryOrSetError=function(e,t,r){if(!s.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(t){return s.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(Object(u.a)(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(l)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0});var A={assert:!0,assertSingletonPackage:!0,logger:!0,promisify:!0};Object.defineProperty(t,"assert",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"assertSingletonPackage",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"logger",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"promisify",{enumerable:!0,get:function(){return s.default}}),r(1262);var i=n(r(222)),o=n(r(1269)),a=n(r(449)),s=n(r(1279)),u=r(1280);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))});var l=r(817);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))});var c=r(1291);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))});var f=r(1292);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))});var d=r(1295);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))});var g=r(1296);Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}}))});var h=r(1300);Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))});var p=r(1302);Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))});var I=r(1308);Object.keys(I).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return I[e]}}))});var B=r(1310);Object.keys(B).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return B[e]}}))});var C=r(278);Object.keys(C).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return C[e]}}))})},function(e,t,r){var n=r(8),A=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return A(e,t,r)}A.from&&A.alloc&&A.allocUnsafe&&A.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=o),i(A,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return A(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=A(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return A(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function A(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o=r(595).Buffer}catch(e){}function a(e,t,r){for(var n=0,A=Math.min(e.length,r),i=t;i<A;i++){var o=e.charCodeAt(i)-48;n<<=4,n|=o>=49&&o<=54?o-49+10:o>=17&&o<=22?o-17+10:15&o}return n}function s(e,t,r,n){for(var A=0,i=Math.min(e.length,r),o=t;o<i;o++){var a=e.charCodeAt(o)-48;A*=n,A+=a>=49?a-49+10:a>=17?a-17+10:a}return A}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var A=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&A++,16===t?this._parseHex(e,A):this._parseBase(e,t,A),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var A=0;A<this.length;A++)this.words[A]=0;var i,o,a=0;if("be"===r)for(A=e.length-1,i=0;A>=0;A-=3)o=e[A]|e[A-1]<<8|e[A-2]<<16,this.words[i]|=o<<a&67108863,this.words[i+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);else if("le"===r)for(A=0,i=0;A<e.length;A+=3)o=e[A]|e[A+1]<<8|e[A+2]<<16,this.words[i]|=o<<a&67108863,this.words[i+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);return this.strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,A,i=0;for(r=e.length-6,n=0;r>=t;r-=6)A=a(e,r,r+6),this.words[n]|=A<<i&67108863,this.words[n+1]|=A>>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);r+6!==t&&(A=a(e,t,r+6),this.words[n]|=A<<i&67108863,this.words[n+1]|=A>>>26-i&4194303),this.strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,A=1;A<=67108863;A*=t)n++;n--,A=A/t|0;for(var i=e.length-r,o=i%n,a=Math.min(i,i-o)+r,u=0,l=r;l<a;l+=n)u=s(e,l,l+n,t),this.imuln(A),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var c=1;for(u=s(e,l,e.length,t),l=0;l<o;l++)c*=t;this.imuln(c),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},i.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],c=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var A=0|e.words[0],i=0|t.words[0],o=A*i,a=67108863&o,s=o/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var l=s>>>26,c=67108863&s,f=Math.min(u,t.length-1),d=Math.max(0,u-e.length+1);d<=f;d++){var g=u-d|0;l+=(o=(A=0|e.words[g])*(i=0|t.words[d])+c)/67108864|0,c=67108863&o}r.words[u]=0|c,s=0|l}return 0!==s?r.words[u]=0|s:r.length--,r.strip()}i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var A=0,i=0,o=0;o<this.length;o++){var a=this.words[o],s=(16777215&(a<<A|i)).toString(16);r=0!==(i=a>>>24-A&16777215)||o!==this.length-1?u[6-s.length]+s+r:s+r,(A+=2)>=26&&(A-=26,o--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var f=l[e],d=c[e];r="";var g=this.clone();for(g.negative=0;!g.isZero();){var h=g.modn(d).toString(e);r=(g=g.idivn(d)).isZero()?h+r:u[f-h.length]+h+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return n(void 0!==o),this.toArrayLike(o,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,r){var A=this.byteLength(),i=r||Math.max(1,A);n(A<=i,"byte array longer than desired length"),n(i>0,"Requested array length <= 0"),this.strip();var o,a,s="le"===t,u=new e(i),l=this.clone();if(s){for(a=0;!l.isZero();a++)o=l.andln(255),l.iushrn(8),u[a]=o;for(;a<i;a++)u[a]=0}else{for(a=0;a<i-A;a++)u[a]=0;for(a=0;!l.isZero();a++)o=l.andln(255),l.iushrn(8),u[i-a-1]=o}return u},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},i.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},i.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},i.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var A=0;A<t;A++)this.words[A]=67108863&~this.words[A];return r>0&&(this.words[A]=~this.words[A]&67108863>>26-r),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,A=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<A:this.words[r]&~(1<<A),this.strip()},i.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var A=0,i=0;i<n.length;i++)t=(0|r.words[i])+(0|n.words[i])+A,this.words[i]=67108863&t,A=t>>>26;for(;0!==A&&i<r.length;i++)t=(0|r.words[i])+A,this.words[i]=67108863&t,A=t>>>26;if(this.length=r.length,0!==A)this.words[this.length]=A,this.length++;else if(r!==this)for(;i<r.length;i++)this.words[i]=r.words[i];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,A=this.cmp(e);if(0===A)return this.negative=0,this.length=1,this.words[0]=0,this;A>0?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)i=(t=(0|r.words[o])-(0|n.words[o])+i)>>26,this.words[o]=67108863&t;for(;0!==i&&o<r.length;o++)i=(t=(0|r.words[o])+i)>>26,this.words[o]=67108863&t;if(0===i&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var d=function(e,t,r){var n,A,i,o=e.words,a=t.words,s=r.words,u=0,l=0|o[0],c=8191&l,f=l>>>13,d=0|o[1],g=8191&d,h=d>>>13,p=0|o[2],I=8191&p,B=p>>>13,C=0|o[3],m=8191&C,y=C>>>13,Q=0|o[4],w=8191&Q,E=Q>>>13,b=0|o[5],v=8191&b,D=b>>>13,M=0|o[6],k=8191&M,_=M>>>13,S=0|o[7],N=8191&S,F=S>>>13,x=0|o[8],G=8191&x,H=x>>>13,U=0|o[9],Y=8191&U,L=U>>>13,O=0|a[0],K=8191&O,P=O>>>13,R=0|a[1],T=8191&R,J=R>>>13,j=0|a[2],q=8191&j,V=j>>>13,W=0|a[3],z=8191&W,Z=W>>>13,X=0|a[4],$=8191&X,ee=X>>>13,te=0|a[5],re=8191&te,ne=te>>>13,Ae=0|a[6],ie=8191&Ae,oe=Ae>>>13,ae=0|a[7],se=8191&ae,ue=ae>>>13,le=0|a[8],ce=8191&le,fe=le>>>13,de=0|a[9],ge=8191&de,he=de>>>13;r.negative=e.negative^t.negative,r.length=19;var pe=(u+(n=Math.imul(c,K))|0)+((8191&(A=(A=Math.imul(c,P))+Math.imul(f,K)|0))<<13)|0;u=((i=Math.imul(f,P))+(A>>>13)|0)+(pe>>>26)|0,pe&=67108863,n=Math.imul(g,K),A=(A=Math.imul(g,P))+Math.imul(h,K)|0,i=Math.imul(h,P);var Ie=(u+(n=n+Math.imul(c,T)|0)|0)+((8191&(A=(A=A+Math.imul(c,J)|0)+Math.imul(f,T)|0))<<13)|0;u=((i=i+Math.imul(f,J)|0)+(A>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(I,K),A=(A=Math.imul(I,P))+Math.imul(B,K)|0,i=Math.imul(B,P),n=n+Math.imul(g,T)|0,A=(A=A+Math.imul(g,J)|0)+Math.imul(h,T)|0,i=i+Math.imul(h,J)|0;var Be=(u+(n=n+Math.imul(c,q)|0)|0)+((8191&(A=(A=A+Math.imul(c,V)|0)+Math.imul(f,q)|0))<<13)|0;u=((i=i+Math.imul(f,V)|0)+(A>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(m,K),A=(A=Math.imul(m,P))+Math.imul(y,K)|0,i=Math.imul(y,P),n=n+Math.imul(I,T)|0,A=(A=A+Math.imul(I,J)|0)+Math.imul(B,T)|0,i=i+Math.imul(B,J)|0,n=n+Math.imul(g,q)|0,A=(A=A+Math.imul(g,V)|0)+Math.imul(h,q)|0,i=i+Math.imul(h,V)|0;var Ce=(u+(n=n+Math.imul(c,z)|0)|0)+((8191&(A=(A=A+Math.imul(c,Z)|0)+Math.imul(f,z)|0))<<13)|0;u=((i=i+Math.imul(f,Z)|0)+(A>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(w,K),A=(A=Math.imul(w,P))+Math.imul(E,K)|0,i=Math.imul(E,P),n=n+Math.imul(m,T)|0,A=(A=A+Math.imul(m,J)|0)+Math.imul(y,T)|0,i=i+Math.imul(y,J)|0,n=n+Math.imul(I,q)|0,A=(A=A+Math.imul(I,V)|0)+Math.imul(B,q)|0,i=i+Math.imul(B,V)|0,n=n+Math.imul(g,z)|0,A=(A=A+Math.imul(g,Z)|0)+Math.imul(h,z)|0,i=i+Math.imul(h,Z)|0;var me=(u+(n=n+Math.imul(c,$)|0)|0)+((8191&(A=(A=A+Math.imul(c,ee)|0)+Math.imul(f,$)|0))<<13)|0;u=((i=i+Math.imul(f,ee)|0)+(A>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(v,K),A=(A=Math.imul(v,P))+Math.imul(D,K)|0,i=Math.imul(D,P),n=n+Math.imul(w,T)|0,A=(A=A+Math.imul(w,J)|0)+Math.imul(E,T)|0,i=i+Math.imul(E,J)|0,n=n+Math.imul(m,q)|0,A=(A=A+Math.imul(m,V)|0)+Math.imul(y,q)|0,i=i+Math.imul(y,V)|0,n=n+Math.imul(I,z)|0,A=(A=A+Math.imul(I,Z)|0)+Math.imul(B,z)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(g,$)|0,A=(A=A+Math.imul(g,ee)|0)+Math.imul(h,$)|0,i=i+Math.imul(h,ee)|0;var ye=(u+(n=n+Math.imul(c,re)|0)|0)+((8191&(A=(A=A+Math.imul(c,ne)|0)+Math.imul(f,re)|0))<<13)|0;u=((i=i+Math.imul(f,ne)|0)+(A>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(k,K),A=(A=Math.imul(k,P))+Math.imul(_,K)|0,i=Math.imul(_,P),n=n+Math.imul(v,T)|0,A=(A=A+Math.imul(v,J)|0)+Math.imul(D,T)|0,i=i+Math.imul(D,J)|0,n=n+Math.imul(w,q)|0,A=(A=A+Math.imul(w,V)|0)+Math.imul(E,q)|0,i=i+Math.imul(E,V)|0,n=n+Math.imul(m,z)|0,A=(A=A+Math.imul(m,Z)|0)+Math.imul(y,z)|0,i=i+Math.imul(y,Z)|0,n=n+Math.imul(I,$)|0,A=(A=A+Math.imul(I,ee)|0)+Math.imul(B,$)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(g,re)|0,A=(A=A+Math.imul(g,ne)|0)+Math.imul(h,re)|0,i=i+Math.imul(h,ne)|0;var Qe=(u+(n=n+Math.imul(c,ie)|0)|0)+((8191&(A=(A=A+Math.imul(c,oe)|0)+Math.imul(f,ie)|0))<<13)|0;u=((i=i+Math.imul(f,oe)|0)+(A>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,n=Math.imul(N,K),A=(A=Math.imul(N,P))+Math.imul(F,K)|0,i=Math.imul(F,P),n=n+Math.imul(k,T)|0,A=(A=A+Math.imul(k,J)|0)+Math.imul(_,T)|0,i=i+Math.imul(_,J)|0,n=n+Math.imul(v,q)|0,A=(A=A+Math.imul(v,V)|0)+Math.imul(D,q)|0,i=i+Math.imul(D,V)|0,n=n+Math.imul(w,z)|0,A=(A=A+Math.imul(w,Z)|0)+Math.imul(E,z)|0,i=i+Math.imul(E,Z)|0,n=n+Math.imul(m,$)|0,A=(A=A+Math.imul(m,ee)|0)+Math.imul(y,$)|0,i=i+Math.imul(y,ee)|0,n=n+Math.imul(I,re)|0,A=(A=A+Math.imul(I,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(g,ie)|0,A=(A=A+Math.imul(g,oe)|0)+Math.imul(h,ie)|0,i=i+Math.imul(h,oe)|0;var we=(u+(n=n+Math.imul(c,se)|0)|0)+((8191&(A=(A=A+Math.imul(c,ue)|0)+Math.imul(f,se)|0))<<13)|0;u=((i=i+Math.imul(f,ue)|0)+(A>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(G,K),A=(A=Math.imul(G,P))+Math.imul(H,K)|0,i=Math.imul(H,P),n=n+Math.imul(N,T)|0,A=(A=A+Math.imul(N,J)|0)+Math.imul(F,T)|0,i=i+Math.imul(F,J)|0,n=n+Math.imul(k,q)|0,A=(A=A+Math.imul(k,V)|0)+Math.imul(_,q)|0,i=i+Math.imul(_,V)|0,n=n+Math.imul(v,z)|0,A=(A=A+Math.imul(v,Z)|0)+Math.imul(D,z)|0,i=i+Math.imul(D,Z)|0,n=n+Math.imul(w,$)|0,A=(A=A+Math.imul(w,ee)|0)+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,n=n+Math.imul(m,re)|0,A=(A=A+Math.imul(m,ne)|0)+Math.imul(y,re)|0,i=i+Math.imul(y,ne)|0,n=n+Math.imul(I,ie)|0,A=(A=A+Math.imul(I,oe)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,oe)|0,n=n+Math.imul(g,se)|0,A=(A=A+Math.imul(g,ue)|0)+Math.imul(h,se)|0,i=i+Math.imul(h,ue)|0;var Ee=(u+(n=n+Math.imul(c,ce)|0)|0)+((8191&(A=(A=A+Math.imul(c,fe)|0)+Math.imul(f,ce)|0))<<13)|0;u=((i=i+Math.imul(f,fe)|0)+(A>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(Y,K),A=(A=Math.imul(Y,P))+Math.imul(L,K)|0,i=Math.imul(L,P),n=n+Math.imul(G,T)|0,A=(A=A+Math.imul(G,J)|0)+Math.imul(H,T)|0,i=i+Math.imul(H,J)|0,n=n+Math.imul(N,q)|0,A=(A=A+Math.imul(N,V)|0)+Math.imul(F,q)|0,i=i+Math.imul(F,V)|0,n=n+Math.imul(k,z)|0,A=(A=A+Math.imul(k,Z)|0)+Math.imul(_,z)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(v,$)|0,A=(A=A+Math.imul(v,ee)|0)+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,n=n+Math.imul(w,re)|0,A=(A=A+Math.imul(w,ne)|0)+Math.imul(E,re)|0,i=i+Math.imul(E,ne)|0,n=n+Math.imul(m,ie)|0,A=(A=A+Math.imul(m,oe)|0)+Math.imul(y,ie)|0,i=i+Math.imul(y,oe)|0,n=n+Math.imul(I,se)|0,A=(A=A+Math.imul(I,ue)|0)+Math.imul(B,se)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(g,ce)|0,A=(A=A+Math.imul(g,fe)|0)+Math.imul(h,ce)|0,i=i+Math.imul(h,fe)|0;var be=(u+(n=n+Math.imul(c,ge)|0)|0)+((8191&(A=(A=A+Math.imul(c,he)|0)+Math.imul(f,ge)|0))<<13)|0;u=((i=i+Math.imul(f,he)|0)+(A>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(Y,T),A=(A=Math.imul(Y,J))+Math.imul(L,T)|0,i=Math.imul(L,J),n=n+Math.imul(G,q)|0,A=(A=A+Math.imul(G,V)|0)+Math.imul(H,q)|0,i=i+Math.imul(H,V)|0,n=n+Math.imul(N,z)|0,A=(A=A+Math.imul(N,Z)|0)+Math.imul(F,z)|0,i=i+Math.imul(F,Z)|0,n=n+Math.imul(k,$)|0,A=(A=A+Math.imul(k,ee)|0)+Math.imul(_,$)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,A=(A=A+Math.imul(v,ne)|0)+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,n=n+Math.imul(w,ie)|0,A=(A=A+Math.imul(w,oe)|0)+Math.imul(E,ie)|0,i=i+Math.imul(E,oe)|0,n=n+Math.imul(m,se)|0,A=(A=A+Math.imul(m,ue)|0)+Math.imul(y,se)|0,i=i+Math.imul(y,ue)|0,n=n+Math.imul(I,ce)|0,A=(A=A+Math.imul(I,fe)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,fe)|0;var ve=(u+(n=n+Math.imul(g,ge)|0)|0)+((8191&(A=(A=A+Math.imul(g,he)|0)+Math.imul(h,ge)|0))<<13)|0;u=((i=i+Math.imul(h,he)|0)+(A>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(Y,q),A=(A=Math.imul(Y,V))+Math.imul(L,q)|0,i=Math.imul(L,V),n=n+Math.imul(G,z)|0,A=(A=A+Math.imul(G,Z)|0)+Math.imul(H,z)|0,i=i+Math.imul(H,Z)|0,n=n+Math.imul(N,$)|0,A=(A=A+Math.imul(N,ee)|0)+Math.imul(F,$)|0,i=i+Math.imul(F,ee)|0,n=n+Math.imul(k,re)|0,A=(A=A+Math.imul(k,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(v,ie)|0,A=(A=A+Math.imul(v,oe)|0)+Math.imul(D,ie)|0,i=i+Math.imul(D,oe)|0,n=n+Math.imul(w,se)|0,A=(A=A+Math.imul(w,ue)|0)+Math.imul(E,se)|0,i=i+Math.imul(E,ue)|0,n=n+Math.imul(m,ce)|0,A=(A=A+Math.imul(m,fe)|0)+Math.imul(y,ce)|0,i=i+Math.imul(y,fe)|0;var De=(u+(n=n+Math.imul(I,ge)|0)|0)+((8191&(A=(A=A+Math.imul(I,he)|0)+Math.imul(B,ge)|0))<<13)|0;u=((i=i+Math.imul(B,he)|0)+(A>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(Y,z),A=(A=Math.imul(Y,Z))+Math.imul(L,z)|0,i=Math.imul(L,Z),n=n+Math.imul(G,$)|0,A=(A=A+Math.imul(G,ee)|0)+Math.imul(H,$)|0,i=i+Math.imul(H,ee)|0,n=n+Math.imul(N,re)|0,A=(A=A+Math.imul(N,ne)|0)+Math.imul(F,re)|0,i=i+Math.imul(F,ne)|0,n=n+Math.imul(k,ie)|0,A=(A=A+Math.imul(k,oe)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,oe)|0,n=n+Math.imul(v,se)|0,A=(A=A+Math.imul(v,ue)|0)+Math.imul(D,se)|0,i=i+Math.imul(D,ue)|0,n=n+Math.imul(w,ce)|0,A=(A=A+Math.imul(w,fe)|0)+Math.imul(E,ce)|0,i=i+Math.imul(E,fe)|0;var Me=(u+(n=n+Math.imul(m,ge)|0)|0)+((8191&(A=(A=A+Math.imul(m,he)|0)+Math.imul(y,ge)|0))<<13)|0;u=((i=i+Math.imul(y,he)|0)+(A>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(Y,$),A=(A=Math.imul(Y,ee))+Math.imul(L,$)|0,i=Math.imul(L,ee),n=n+Math.imul(G,re)|0,A=(A=A+Math.imul(G,ne)|0)+Math.imul(H,re)|0,i=i+Math.imul(H,ne)|0,n=n+Math.imul(N,ie)|0,A=(A=A+Math.imul(N,oe)|0)+Math.imul(F,ie)|0,i=i+Math.imul(F,oe)|0,n=n+Math.imul(k,se)|0,A=(A=A+Math.imul(k,ue)|0)+Math.imul(_,se)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(v,ce)|0,A=(A=A+Math.imul(v,fe)|0)+Math.imul(D,ce)|0,i=i+Math.imul(D,fe)|0;var ke=(u+(n=n+Math.imul(w,ge)|0)|0)+((8191&(A=(A=A+Math.imul(w,he)|0)+Math.imul(E,ge)|0))<<13)|0;u=((i=i+Math.imul(E,he)|0)+(A>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(Y,re),A=(A=Math.imul(Y,ne))+Math.imul(L,re)|0,i=Math.imul(L,ne),n=n+Math.imul(G,ie)|0,A=(A=A+Math.imul(G,oe)|0)+Math.imul(H,ie)|0,i=i+Math.imul(H,oe)|0,n=n+Math.imul(N,se)|0,A=(A=A+Math.imul(N,ue)|0)+Math.imul(F,se)|0,i=i+Math.imul(F,ue)|0,n=n+Math.imul(k,ce)|0,A=(A=A+Math.imul(k,fe)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,fe)|0;var _e=(u+(n=n+Math.imul(v,ge)|0)|0)+((8191&(A=(A=A+Math.imul(v,he)|0)+Math.imul(D,ge)|0))<<13)|0;u=((i=i+Math.imul(D,he)|0)+(A>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(Y,ie),A=(A=Math.imul(Y,oe))+Math.imul(L,ie)|0,i=Math.imul(L,oe),n=n+Math.imul(G,se)|0,A=(A=A+Math.imul(G,ue)|0)+Math.imul(H,se)|0,i=i+Math.imul(H,ue)|0,n=n+Math.imul(N,ce)|0,A=(A=A+Math.imul(N,fe)|0)+Math.imul(F,ce)|0,i=i+Math.imul(F,fe)|0;var Se=(u+(n=n+Math.imul(k,ge)|0)|0)+((8191&(A=(A=A+Math.imul(k,he)|0)+Math.imul(_,ge)|0))<<13)|0;u=((i=i+Math.imul(_,he)|0)+(A>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(Y,se),A=(A=Math.imul(Y,ue))+Math.imul(L,se)|0,i=Math.imul(L,ue),n=n+Math.imul(G,ce)|0,A=(A=A+Math.imul(G,fe)|0)+Math.imul(H,ce)|0,i=i+Math.imul(H,fe)|0;var Ne=(u+(n=n+Math.imul(N,ge)|0)|0)+((8191&(A=(A=A+Math.imul(N,he)|0)+Math.imul(F,ge)|0))<<13)|0;u=((i=i+Math.imul(F,he)|0)+(A>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(Y,ce),A=(A=Math.imul(Y,fe))+Math.imul(L,ce)|0,i=Math.imul(L,fe);var Fe=(u+(n=n+Math.imul(G,ge)|0)|0)+((8191&(A=(A=A+Math.imul(G,he)|0)+Math.imul(H,ge)|0))<<13)|0;u=((i=i+Math.imul(H,he)|0)+(A>>>13)|0)+(Fe>>>26)|0,Fe&=67108863;var xe=(u+(n=Math.imul(Y,ge))|0)+((8191&(A=(A=Math.imul(Y,he))+Math.imul(L,ge)|0))<<13)|0;return u=((i=Math.imul(L,he))+(A>>>13)|0)+(xe>>>26)|0,xe&=67108863,s[0]=pe,s[1]=Ie,s[2]=Be,s[3]=Ce,s[4]=me,s[5]=ye,s[6]=Qe,s[7]=we,s[8]=Ee,s[9]=be,s[10]=ve,s[11]=De,s[12]=Me,s[13]=ke,s[14]=_e,s[15]=Se,s[16]=Ne,s[17]=Fe,s[18]=xe,0!==u&&(s[19]=u,r.length++),r};function g(e,t,r){return(new h).mulp(e,t,r)}function h(e,t){this.x=e,this.y=t}Math.imul||(d=f),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?d(this,e,t):r<63?f(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,A=0,i=0;i<r.length-1;i++){var o=A;A=0;for(var a=67108863&n,s=Math.min(i,t.length-1),u=Math.max(0,i-e.length+1);u<=s;u++){var l=i-u,c=(0|e.words[l])*(0|t.words[u]),f=67108863&c;a=67108863&(f=f+a|0),A+=(o=(o=o+(c/67108864|0)|0)+(f>>>26)|0)>>>26,o&=67108863}r.words[i]=a,n=o,o=A}return 0!==n?r.words[i]=n:r.length--,r.strip()}(this,e,t):g(this,e,t)},h.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},h.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,A=0;A<t;A++)n|=(1&e)<<t-A-1,e>>=1;return n},h.prototype.permute=function(e,t,r,n,A,i){for(var o=0;o<i;o++)n[o]=t[e[o]],A[o]=r[e[o]]},h.prototype.transform=function(e,t,r,n,A,i){this.permute(i,e,t,r,n,A);for(var o=1;o<A;o<<=1)for(var a=o<<1,s=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),l=0;l<A;l+=a)for(var c=s,f=u,d=0;d<o;d++){var g=r[l+d],h=n[l+d],p=r[l+d+o],I=n[l+d+o],B=c*p-f*I;I=c*I+f*p,p=B,r[l+d]=g+p,n[l+d]=h+I,r[l+d+o]=g-p,n[l+d+o]=h-I,d!==a&&(B=s*c-u*f,f=s*f+u*c,c=B)}},h.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,A=0;for(r=r/2|0;r;r>>>=1)A++;return 1<<A+1+n},h.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var A=e[n];e[n]=e[r-n-1],e[r-n-1]=A,A=t[n],t[n]=-t[r-n-1],t[r-n-1]=-A}},h.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var A=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&A,r=A<67108864?0:A/67108864|0}return e},h.prototype.convert13b=function(e,t,r,A){for(var i=0,o=0;o<t;o++)i+=0|e[o],r[2*o]=8191&i,i>>>=13,r[2*o+1]=8191&i,i>>>=13;for(o=2*t;o<A;++o)r[o]=0;n(0===i),n(0==(-8192&i))},h.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},h.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),A=this.makeRBT(n),i=this.stub(n),o=new Array(n),a=new Array(n),s=new Array(n),u=new Array(n),l=new Array(n),c=new Array(n),f=r.words;f.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,i,a,s,n,A),this.transform(u,i,l,c,n,A);for(var d=0;d<n;d++){var g=a[d]*l[d]-s[d]*c[d];s[d]=a[d]*c[d]+s[d]*l[d],a[d]=g}return this.conjugate(a,s,n),this.transform(a,s,f,i,n,A),this.conjugate(f,i,n),this.normalize13b(f,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),g(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var A=(0|this.words[r])*e,i=(67108863&A)+(67108863&t);t>>=26,t+=A/67108864|0,t+=i>>>26,this.words[r]=67108863&i}return 0!==t&&(this.words[r]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,A=r%26;t[r]=(e.words[n]&1<<A)>>>A}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var A=r.sqr();n<t.length;n++,A=A.sqr())0!==t[n]&&(r=r.mul(A));return r},i.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,A=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var a=this.words[t]&i,s=(0|this.words[t])-a<<r;this.words[t]=s|o,o=a>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==A){for(t=this.length-1;t>=0;t--)this.words[t+A]=this.words[t];for(t=0;t<A;t++)this.words[t]=0;this.length+=A}return this.strip()},i.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,r){var A;n("number"==typeof e&&e>=0),A=t?(t-t%26)/26:0;var i=e%26,o=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<<i,s=r;if(A-=o,A=Math.max(0,A),s){for(var u=0;u<o;u++)s.words[u]=this.words[u];s.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=A);u--){var c=0|this.words[u];this.words[u]=l<<26-i|c>>>i,l=c&a}return s&&0!==l&&(s.words[s.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,A=1<<t;return!(this.length<=r)&&!!(this.words[r]&A)},i.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var A=67108863^67108863>>>t<<t;this.words[this.length-1]&=A}return this.strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,r){var A,i,o=e.length+r;this._expand(o);var a=0;for(A=0;A<e.length;A++){i=(0|this.words[A+r])+a;var s=(0|e.words[A])*t;a=((i-=67108863&s)>>26)-(s/67108864|0),this.words[A+r]=67108863&i}for(;A<this.length-r;A++)a=(i=(0|this.words[A+r])+a)>>26,this.words[A+r]=67108863&i;if(0===a)return this.strip();for(n(-1===a),a=0,A=0;A<this.length;A++)a=(i=-(0|this.words[A])+a)>>26,this.words[A]=67108863&i;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),A=e,o=0|A.words[A.length-1];0!==(r=26-this._countBits(o))&&(A=A.ushln(r),n.iushln(r),o=0|A.words[A.length-1]);var a,s=n.length-A.length;if("mod"!==t){(a=new i(null)).length=s+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var l=n.clone()._ishlnsubmul(A,1,s);0===l.negative&&(n=l,a&&(a.words[s]=1));for(var c=s-1;c>=0;c--){var f=67108864*(0|n.words[A.length+c])+(0|n.words[A.length+c-1]);for(f=Math.min(f/o|0,67108863),n._ishlnsubmul(A,f,c);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(A,1,c),n.isZero()||(n.negative^=1);a&&(a.words[c]=f)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(A=a.div.neg()),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:A,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(A=a.div.neg()),{div:A,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t);var A,o,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),A=e.andln(1),i=r.cmp(n);return i<0||1===A&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,A=this.length-1;A>=0;A--)r=(t*r+(0|this.words[A]))%e;return r},i.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var A=(0|this.words[r])+67108864*t;this.words[r]=A/e|0,t=A%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var A=new i(1),o=new i(0),a=new i(0),s=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),c=t.clone();!t.isZero();){for(var f=0,d=1;0==(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(A.isOdd()||o.isOdd())&&(A.iadd(l),o.isub(c)),A.iushrn(1),o.iushrn(1);for(var g=0,h=1;0==(r.words[0]&h)&&g<26;++g,h<<=1);if(g>0)for(r.iushrn(g);g-- >0;)(a.isOdd()||s.isOdd())&&(a.iadd(l),s.isub(c)),a.iushrn(1),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),A.isub(a),o.isub(s)):(r.isub(t),a.isub(A),s.isub(o))}return{a:a,b:s,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var A,o=new i(1),a=new i(0),s=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(s),o.iushrn(1);for(var c=0,f=1;0==(r.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(r.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a)):(r.isub(t),a.isub(o))}return(A=0===t.cmpn(1)?o:a).cmpn(0)<0&&A.iadd(e),A},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var A=t.cmp(r);if(A<0){var i=t;t=r,r=i}else if(0===A||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,A=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=A,this;for(var i=A,o=r;0!==i&&o<this.length;o++){var a=0|this.words[o];i=(a+=i)>>>26,a&=67108863,this.words[o]=a}return 0!==i&&(this.words[o]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var A=0|this.words[0];t=A===e?0:A<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],A=0|e.words[r];if(n!==A){n<A?t=-1:n>A&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new Q(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var p={k256:null,p224:null,p192:null,p25519:null};function I(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function B(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function C(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function m(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function y(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Q(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function w(e){Q.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},I.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):r.strip(),r},I.prototype.split=function(e,t){e.iushrn(this.n,0,t)},I.prototype.imulK=function(e){return e.imul(this.k)},A(B,I),B.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var A=e.words[9];for(t.words[t.length++]=4194303&A,n=10;n<e.length;n++){var i=0|e.words[n];e.words[n-10]=(4194303&i)<<4|A>>>22,A=i}A>>>=22,e.words[n-10]=A,0===A&&e.length>10?e.length-=10:e.length-=9},B.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},A(C,I),A(m,I),A(y,I),y.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,A=67108863&n;n>>>=26,e.words[r]=A,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(p[e])return p[e];var t;if("k256"===e)t=new B;else if("p224"===e)t=new C;else if("p192"===e)t=new m;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new y}return p[e]=t,t},Q.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},Q.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},Q.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},Q.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},Q.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},Q.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},Q.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},Q.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},Q.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},Q.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},Q.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},Q.prototype.isqr=function(e){return this.imul(e,e.clone())},Q.prototype.sqr=function(e){return this.mul(e,e)},Q.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var A=this.m.subn(1),o=0;!A.isZero()&&0===A.andln(1);)o++,A.iushrn(1);n(!A.isZero());var a=new i(1).toRed(this),s=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(s);)l.redIAdd(s);for(var c=this.pow(l,A),f=this.pow(e,A.addn(1).iushrn(1)),d=this.pow(e,A),g=o;0!==d.cmp(a);){for(var h=d,p=0;0!==h.cmp(a);p++)h=h.redSqr();n(p<g);var I=this.pow(c,new i(1).iushln(g-p-1));f=f.redMul(I),c=I.redSqr(),d=d.redMul(c),g=p}return f},Q.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},Q.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var A=r[0],o=0,a=0,s=t.bitLength()%26;for(0===s&&(s=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=s-1;l>=0;l--){var c=u>>l&1;A!==r[0]&&(A=this.sqr(A)),0!==c||0!==o?(o<<=1,o|=c,(4===++a||0===n&&0===l)&&(A=this.mul(A,r[o]),a=0,o=0)):a=0}s=26}return A},Q.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},Q.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new w(e)},A(w,Q),w.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},w.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},w.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=r.isub(n).iushrn(this.shift),i=A;return A.cmp(this.m)>=0?i=A.isub(this.m):A.cmpn(0)<0&&(i=A.iadd(this.m)),i._forceRed(this)},w.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=r.isub(n).iushrn(this.shift),o=A;return A.cmp(this.m)>=0?o=A.isub(this.m):A.cmpn(0)<0&&(o=A.iadd(this.m)),o._forceRed(this)},w.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(96)(e))},function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},function(e,t,r){"use strict";var n=r(419),A=r(56),i=r.n(A),o=r(212);t.a=class{static async generateMnemonic(e,t){const r=await n.a.scrypt(e,t);let A=i.a.entropyToMnemonic(r);return[A,i.a.mnemonicToSeedHex(A)]}static async mnemonicToSeed(e){return i.a.mnemonicToSeedHex(e)}static mnemonicToSeedByDerive(e,t){const r=i.a.mnemonicToSeed(e);if(t){return o.fromSeed(r).derivePath(t).privateKey}return r}static mnemonicToWIF(e,t,r){const n=i.a.mnemonicToSeed(e);return o.fromSeed(n,r).derivePath(t).toWIF()}static mnemonicToPrivateKey(e,t){const r=i.a.mnemonicToSeed(e);return o.fromSeed(r).derivePath(t).privateKey}static btcExtendedPublicKey(e,t,r){const n=i.a.mnemonicToSeed(e);return o.fromSeed(n,r).derivePath(t).neutered().toBase58()}static nervosExtendedPublicKey(e,t){const r=i.a.mnemonicToSeed(e);return o.fromSeed(r).derivePath(t).neutered().toBase58()}static validateMnemonic(e){return i.a.validateMnemonic(e)}static randomMnemonic(){return i.a.generateMnemonic()}}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},function(e,t,r){"use strict";var n=r(251),A=r(13),i=r(209),o=r(254);var a=r(118),s=r(208),u=r(83);r.d(t,"a",function(){return l});var l=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n=this.operator,a=function(e,t,r){if(e){if(e instanceof A.a)return e;if(e[i.a])return e[i.a]()}return e||t||r?new A.a(e,t,r):new A.a(o.a)}(e,t,r);if(n?a.add(n.call(a,this.source)):a.add(this.source||u.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),u.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){u.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),Object(n.a)(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=c(t))(function(t,n){var A;A=r.subscribe(function(t){try{e(t)}catch(e){n(e),A&&A.unsubscribe()}},n,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[a.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:Object(s.b)(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=c(e))(function(e,r){var n;t.subscribe(function(e){return n=e},function(e){return r(e)},function(){return e(n)})})},e.create=function(t){return new e(t)},e}();function c(e){if(e||(e=u.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t;throw t=null===e?"null":"object"===(t=n(e))&&e.constructor&&e.constructor.hasOwnProperty("name")?e.constructor.name:"a ".concat(t),new TypeError("Expected string but received ".concat(t,"."))}},e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";r.d(t,"a",function(){return s});var n=r(73),A=r(9),i=r(132),o=r(10);let a=null;class s{static async open(e){if(!e)return;a&&(await a.close(),a=null);let t=e.type===o.a.REQUEST_UNLOCK?420:768,r=window.screen.availWidth/2-t/2,s=window.screen.availHeight/2-256;(await(async()=>{try{const A=chrome.runtime.getURL("/prompt/prompt.html");if("undefined"!=typeof browser){const r=await n.a.windows.create({url:A,height:512,width:t,type:"popup"});return window.promptMessage=e,r}{const n=window.open(A,"MathWalletPrompt"+i.a.text(10),`width=${t},height=512,resizable=0,scrollbars=no,top=${s},left=${r},titlebar=0`);return n.promptMessage=e,a=n,n}}catch(e){return console.log("Prompt window error",e),null}})()).onbeforeunload=()=>{e.responder(A.a.promptClosed()),a=null}}static async close(){if("undefined"!=typeof browser){const{id:e}=await n.a.windows.getCurrent();n.a.windows.remove(e)}else window.onbeforeunload=()=>{},window.close()}static async dissmiss(){a&&(await a.close(),a=null)}}},function(e,t,r){"use strict";var n=r(134);const A=new class{plugin(e){return new(0,r(1072)("./"+e).default)}dappStoreTag(e){return this.plugin(e.blockchain).config(e).dappStoreTag}eventLogTag(e){return this.plugin(e.blockchain).config(e).eventLogTag}endorsedNetworks(){return n.c}endorsedConflicts(){return n.b}};t.a=A},function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(82),A=r(211),i=r(21);function o(e,t,r,o,a){if(void 0===a&&(a=new n.a(e,r,o)),!a.closed)return t instanceof i.a?t.subscribe(a):Object(A.a)(t)(a)}},function(e,t,r){"use strict";r.d(t,"a",function(){return A});var n=r(2),A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,A){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(r(13).a)},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(181)),i=n(r(59)),o=n(r(89)),a=n(r(4)),s=n(r(18)),u=n(r(6)),l=n(r(5)),c=n(r(85)),f=n(r(7)),d=n(r(124)),g=r(14),h=r(67),p=n(r(126)),I=r(136),B=function(e){function t(e){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Map;(0,a.default)(this,t);var i=(0,I.mapToTypeMap)(e),o=t.decodeStruct(i,n,A);return(r=(0,u.default)(this,(0,l.default)(t).call(this,Object.entries(o))))._jsonMap=A,r._Types=i,r}return(0,f.default)(t,e),(0,s.default)(t,[{key:"eq",value:function(e){return(0,I.compareMap)(this,e)}},{key:"get",value:function(e){return(0,c.default)((0,l.default)(t.prototype),"get",this).call(this,e)}},{key:"getAtIndex",value:function(e){return this.toArray()[e]}},{key:"toArray",value:function(){return(0,o.default)(this.values())}},{key:"toHex",value:function(){return(0,g.u8aToHex)(this.toU8a())}},{key:"toJSON",value:function(){var e=this;return(0,o.default)(this.keys()).reduce(function(t,r){var n=e._jsonMap.get(r)||r,A=e.get(r);return t[n]=A&&A.toJSON(),t},{})}},{key:"toRawType",value:function(){return JSON.stringify(t.typesToMap(this._Types))}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}},{key:"toU8a",value:function(e){return g.u8aConcat.apply(void 0,(0,o.default)(this.toArray().map(function(t){return t.toU8a(e)})))}},{key:"isEmpty",get:function(){for(var e=this.toArray(),t=0;t<e.length;t++)if(!e[t].isEmpty)return!1;return!0}},{key:"Type",get:function(){return Object.entries(this._Types).reduce(function(e,t){var r=(0,i.default)(t,2),n=r[0],A=r[1];return e[n]=(new A).toRawType(),e},{})}},{key:"encodedLength",get:function(){return this.toArray().reduce(function(e,t){return e+=t.encodedLength},0)}},{key:"hash",get:function(){return new p.default((0,h.blake2AsU8a)(this.toU8a(),256))}}],[{key:"decodeStruct",value:function(e,r,n){if((0,g.isHex)(r))return t.decodeStruct(e,(0,g.hexToU8a)(r),n);if((0,g.isU8a)(r)){var A=(0,I.decodeU8a)(r,Object.values(e));return Object.keys(e).reduce(function(e,t,r){return e[t]=A[r],e},{})}return r?t.decodeStructFromObject(e,r,n):{}}},{key:"decodeStructFromObject",value:function(e,t,r){return Object.keys(e).reduce(function(n,A,i){var o=r.get(A)&&!t[A]?r.get(A):A;try{if(Array.isArray(t))n[A]=t[i]instanceof e[A]?t[i]:new e[A](t[i]);else if(t instanceof Map){var a=t.get(o);n[A]=a instanceof e[A]?a:new e[A](a)}else{if(!(0,g.isObject)(t))throw new Error("Struct: cannot decode type ".concat(e[A].name," with value ").concat(JSON.stringify(t)));n[A]=t[o]instanceof e[A]?t[o]:new e[A](t[o])}}catch(e){throw new Error("Struct: failed on '".concat(o,"':: ").concat(e.message))}return n},{})}},{key:"with",value:function(e){return function(t){function r(t,n){var i;return(0,a.default)(this,r),i=(0,u.default)(this,(0,l.default)(r).call(this,e,t,n)),Object.keys(e).forEach(function(e){(0,g.isUndefined)(i[e])&&Object.defineProperty((0,A.default)(i),e,{enumerable:!0,get:function(){return i.get(e)}})}),i}return(0,f.default)(r,t),r}(t)}},{key:"typesToMap",value:function(e){return Object.entries(e).reduce(function(e,t){var r=(0,i.default)(t,2),n=r[0],A=r[1];return e[n]=(new A).toRawType(),e},{})}}]),t}((0,d.default)(Map));t.default=B},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(3),A=r(132);class i{constructor(e="",t=n.c.EOS,r="",i="",o=!1,a=!1,s=""){this.id=A.a.text(24),this.name=e,this.blockchain=t,this.chainId=r,this.nodeAddress=i,this.nodeAddress2=i,this.nodeAddress3=i,this.enable=o,this.custom=a,this.extra=s}static placeholder(){return new i}static fromJson(e){return Object.assign(this.placeholder(),e)}clone(){return i.fromJson(JSON.parse(JSON.stringify(this)))}unique(){return this.id}enableAccountChecked(){switch(this.blockchain){case n.c.ETH:case n.c.TRX:return!0;default:return!1}}needSelectAccount(){switch(this.blockchain){case n.c.EOS:case n.c.CODEX:case n.c.FIBOS:return!0;default:return!1}}sameBlockchain(e){return e&&this.blockchain===e.blockchain&&this.chainId===e.chainId}blockchainName(){const e=Object.keys(n.c).find(e=>n.c[e]===this.blockchain);return n.a[e]}isValidBlockchain(){return!!n.d.map(e=>e.value).includes(this.blockchain)&&!(!this.chainId||!this.chainId.length)}isValid(){if(!this.isValidBlockchain())return!1;return/(http|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?/.test(this.nodeAddress)}fullNode(){return this.nodeAddress}solidityNode(){return this.nodeAddress2}eventServer(){return this.nodeAddress3}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2);n.__exportStar(r(521),t),n.__exportStar(r(1757),t),n.__exportStar(r(1758),t),n.__exportStar(r(1759),t),n.__exportStar(r(1760),t)},function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n=r(43),A=r(250),i=r(133),o=r(210),a=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var r=this._parentOrParents,a=this._unsubscribe,u=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,r instanceof e)r.remove(this);else if(null!==r)for(var l=0;l<r.length;++l){r[l].remove(this)}if(Object(i.a)(a))try{a.call(this)}catch(e){t=e instanceof o.a?s(e.errors):[e]}if(Object(n.a)(u)){l=-1;for(var c=u.length;++l<c;){var f=u[l];if(Object(A.a)(f))try{f.unsubscribe()}catch(e){t=t||[],e instanceof o.a?t=t.concat(s(e.errors)):t.push(e)}}}if(t)throw new o.a(t)}},e.prototype.add=function(t){var r=t;if(!t)return e.EMPTY;switch(typeof t){case"function":r=new e(t);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof e)){var n=r;(r=new e)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var A=r._parentOrParents;if(null===A)r._parentOrParents=this;else if(A instanceof e){if(A===this)return r;r._parentOrParents=[A,this]}else{if(-1!==A.indexOf(this))return r;A.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[r]:i.push(r),r},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},e.EMPTY=((t=new e).closed=!0,t),e}();function s(e){return e.reduce(function(e,t){return e.concat(t instanceof o.a?t.errors:t)},[])}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(1153),A=r(1154),i=r(153),o=r(269),a=r(92),s=r(1155),u=r(63);t.OPS=r(431);const l=r(1156),c=t.OPS.OP_RESERVED;function f(e){return i.Buffer(e)||function(e){return i.Number(e)&&(e===t.OPS.OP_0||e>=t.OPS.OP_1&&e<=t.OPS.OP_16||e===t.OPS.OP_1NEGATE)}(e)}function d(e){return i.Array(e)&&e.every(f)}function g(e){return 0===e.length?t.OPS.OP_0:1===e.length?e[0]>=1&&e[0]<=16?c+e[0]:129===e[0]?t.OPS.OP_1NEGATE:void 0:void 0}function h(t){return e.isBuffer(t)}function p(t){return e.isBuffer(t)}function I(t){if(h(t))return t;u(i.Array,t);const r=t.reduce((e,t)=>p(t)?1===t.length&&void 0!==g(t)?e+1:e+s.encodingLength(t.length)+t.length:e+1,0),n=e.allocUnsafe(r);let A=0;if(t.forEach(e=>{if(p(e)){const t=g(e);if(void 0!==t)return n.writeUInt8(t,A),void(A+=1);A+=s.encode(n,e.length,A),e.copy(n,A),A+=e.length}else n.writeUInt8(e,A),A+=1}),A!==n.length)throw new Error("Could not decode chunks");return n}function B(e){if(r=e,i.Array(r))return e;var r;u(i.Buffer,e);const n=[];let A=0;for(;A<e.length;){const r=e[A];if(r>t.OPS.OP_0&&r<=t.OPS.OP_PUSHDATA4){const t=s.decode(e,A);if(null===t)return null;if((A+=t.size)+t.number>e.length)return null;const r=e.slice(A,A+t.number);A+=t.number;const i=g(r);void 0!==i?n.push(i):n.push(r)}else n.push(r),A+=1}return n}function C(e){const t=-129&e;return t>0&&t<4}t.isPushOnly=d,t.compile=I,t.decompile=B,t.toASM=function(e){return h(e)&&(e=B(e)),e.map(e=>{if(p(e)){const t=g(e);if(void 0===t)return e.toString("hex");e=t}return l[e]}).join(" ")},t.fromASM=function(r){return u(i.String,r),I(r.split(" ").map(r=>void 0!==t.OPS[r]?t.OPS[r]:(u(i.Hex,r),e.from(r,"hex"))))},t.toStack=function(r){return r=B(r),u(d,r),r.map(r=>p(r)?r:r===t.OPS.OP_0?e.allocUnsafe(0):n.encode(r-c))},t.isCanonicalPubKey=function(e){return a.isPoint(e)},t.isDefinedHashType=C,t.isCanonicalScriptSignature=function(t){return!!e.isBuffer(t)&&(!!C(t[t.length-1])&&o.check(t.slice(0,-1)))},t.number=n,t.signature=A}).call(this,r(8).Buffer)},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";(function(e){r.d(t,"a",function(){return o});r(490);const n=r(58),A=class{static hexToBytes(t){let r=[];for(let e=0;e<t.length;e+=2)r.push(parseInt(t.substr(e,2),16));return e.from(r)}static bytesToHex(e){let t=[];for(let r=0;r<e.length;r++)t.push((e[r]>>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("").toUpperCase()}static stringToHex(e=""){let t=[];for(let r=0;r<e.length;r++)t.push(e.charCodeAt(r).toString(16));return t.join("")}static add0xPrefix(e=""){return 0==e.indexOf("0x")?e:"0x"+e}static remove0xPrefix(e=""){return 0==e.indexOf("0x")?e.substring(2):e}static isHex(e){return e=e.replace("0x",""),/^[0-9a-fA-F]*$/i.test(e)}},i=class{static fromBech32(e){let t=n.decode(e);return A.bytesToHex(n.fromWords(t.words)).toUpperCase()}static toBech32(t,r){let A=n.toWords(e.from(r,"hex"));return n.encode(t,A)}static isBech32(e,t){if(!e||0==e.length)return!1;if(!new RegExp("^"+e+"1").test(t))return!1;if(!new RegExp(/^[0-9a-zA-Z]*$/i).test(t))return!1;try{return i.fromBech32(t),!0}catch(e){return!1}}};class o{}o.Hex=A,o.Bech32=i,o.Sort=class{static sortObjectKeys(e){let t=function(e){let r={};return Object.keys(e).sort().forEach(function(n){if(Array.isArray(e[n])){let A=[];e[n].forEach(function(e){null!=e&&"object"==typeof e?A.push(t(e)):A.push(e)}),r[n]=A}else null!=e[n]&&"object"==typeof e[n]?r[n]=t(e[n]):null!=e[n]&&"function"==typeof e[n]?r[n]=evil(e[n].toString()):r[n]=new String(e[n]).toString()}),r};return t(e)}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){var n=r(652);
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
 * @license  MIT
 */function A(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,A=0,i=Math.min(r,n);A<i;++A)if(e[A]!==t[A]){r=e[A],n=t[A];break}return r<n?-1:n<r?1:0}function i(e){return t.Buffer&&"function"==typeof t.Buffer.isBuffer?t.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var o=r(219),a=Object.prototype.hasOwnProperty,s=Array.prototype.slice,u="foo"===function(){}.name;function l(e){return Object.prototype.toString.call(e)}function c(e){return!i(e)&&("function"==typeof t.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var f=e.exports=B,d=/\s*function\s+([^\(\s]*)\s*/;function g(e){if(o.isFunction(e)){if(u)return e.name;var t=e.toString().match(d);return t&&t[1]}}function h(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function p(e){if(u||!o.isFunction(e))return o.inspect(e);var t=g(e);return"[Function"+(t?": "+t:"")+"]"}function I(e,t,r,n,A){throw new f.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:A})}function B(e,t){e||I(e,!0,t,"==",f.ok)}function C(e,t,r,n){if(e===t)return!0;if(i(e)&&i(t))return 0===A(e,t);if(o.isDate(e)&&o.isDate(t))return e.getTime()===t.getTime();if(o.isRegExp(e)&&o.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(c(e)&&c(t)&&l(e)===l(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===A(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(i(e)!==i(t))return!1;var a=(n=n||{actual:[],expected:[]}).actual.indexOf(e);return-1!==a&&a===n.expected.indexOf(t)||(n.actual.push(e),n.expected.push(t),function(e,t,r,n){if(null==e||null==t)return!1;if(o.isPrimitive(e)||o.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var A=m(e),i=m(t);if(A&&!i||!A&&i)return!1;if(A)return e=s.call(e),t=s.call(t),C(e,t,r);var a,u,l=w(e),c=w(t);if(l.length!==c.length)return!1;for(l.sort(),c.sort(),u=l.length-1;u>=0;u--)if(l[u]!==c[u])return!1;for(u=l.length-1;u>=0;u--)if(a=l[u],!C(e[a],t[a],r,n))return!1;return!0}(e,t,r,n))}return r?e===t:e==t}function m(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function y(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function Q(e,t,r,n){var A;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),A=function(e){var t;try{e()}catch(e){t=e}return t}(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!A&&I(A,r,"Missing expected exception"+n);var i="string"==typeof n,a=!e&&A&&!r;if((!e&&o.isError(A)&&i&&y(A,r)||a)&&I(A,r,"Got unwanted exception"+n),e&&A&&r&&!y(A,r)||!e&&A)throw A}f.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=function(e){return h(p(e.actual),128)+" "+e.operator+" "+h(p(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||I;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,A=g(t),i=n.indexOf("\n"+A);if(i>=0){var o=n.indexOf("\n",i+1);n=n.substring(o+1)}this.stack=n}}},o.inherits(f.AssertionError,Error),f.fail=I,f.ok=B,f.equal=function(e,t,r){e!=t&&I(e,t,r,"==",f.equal)},f.notEqual=function(e,t,r){e==t&&I(e,t,r,"!=",f.notEqual)},f.deepEqual=function(e,t,r){C(e,t,!1)||I(e,t,r,"deepEqual",f.deepEqual)},f.deepStrictEqual=function(e,t,r){C(e,t,!0)||I(e,t,r,"deepStrictEqual",f.deepStrictEqual)},f.notDeepEqual=function(e,t,r){C(e,t,!1)&&I(e,t,r,"notDeepEqual",f.notDeepEqual)},f.notDeepStrictEqual=function e(t,r,n){C(t,r,!0)&&I(t,r,n,"notDeepStrictEqual",e)},f.strictEqual=function(e,t,r){e!==t&&I(e,t,r,"===",f.strictEqual)},f.notStrictEqual=function(e,t,r){e===t&&I(e,t,r,"!==",f.notStrictEqual)},f.throws=function(e,t,r){Q(!0,e,t,r)},f.doesNotThrow=function(e,t,r){Q(!1,e,t,r)},f.ifError=function(e){if(e)throw e},f.strict=n(function e(t,r){t||I(t,!0,r,"==",e)},f,{equal:f.strictEqual,deepEqual:f.deepStrictEqual,notEqual:f.notStrictEqual,notDeepEqual:f.notDeepStrictEqual}),f.strict.strict=f.strict;var w=Object.keys||function(e){var t=[];for(var r in e)a.call(e,r)&&t.push(r);return t}}).call(this,r(34))},function(e,t,r){"use strict";r.d(t,"a",function(){return n});class n{constructor(e="",t=""){this.blockchain=e,this.name=t}config(e){}async getChainId(e){}isSupportMnemonic(){}isSupportPrivateKey(){}randomKeypair(e,t={}){}mnemonicToPrivateKey(e,t,r={}){}privateToPublic(e,t,r={}){}validMnemonic(e){}validPrivateKey(e){}validPublicKey(e){}signatureProvider(...e){}requestSelectedIdentity(e,t,r,n){}requestIdentity(e,t,r,n,A){}requestSignature(e,t,r,n,A,i,o,a){}requestArbitrarySignatrue(e,t,r,n,A,i,o){}}},,function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(181)),i=n(r(66)),o=n(r(4)),a=n(r(18)),s=n(r(6)),u=n(r(5)),l=n(r(7)),c=r(14),f=n(r(158)),d=r(136),g=n(r(332)),h=n(r(29));function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0,n=Object.values(e)[t];return(0,c.assert)(!(0,c.isUndefined)(n),"Unable to create Enum via index ".concat(t,", in ").concat(Object.keys(e).join(", "))),{index:t,value:new n(r)}}function I(e,t,r){var n=Object.keys(e).map(function(e){return e.toLowerCase()}),A=t.toLowerCase(),i=n.indexOf(A);return(0,c.assert)(-1!==i,"Cannot map Enum JSON, unable to find '".concat(t,"' in ").concat(n.join(", "))),p(e,i,r)}function B(e,t){if((0,c.isU8a)(t))return p(e,t[0],t.subarray(1));if((0,c.isNumber)(t))return p(e,t);if((0,c.isString)(t))return function(e,t){return(0,c.isHex)(t)?B(e,(0,c.hexToU8a)(t)):I(e,t)}(e,t.toString());if((0,c.isObject)(t)){var r=Object.keys(t)[0];return I(e,r,t[r])}return p(e,0)}var C=function(e){function t(e,r,n){var A;(0,o.default)(this,t);var i=function(e){if(!Array.isArray(e)){var t=(0,d.mapToTypeMap)(e);return{def:t,isBasic:!Object.values(t).some(function(e){return e!==f.default})}}return{def:e.reduce(function(e,t){return e[t]=f.default,e},{}),isBasic:!0}}(e),a=t.decodeEnum(i.def,r,n);return(A=(0,s.default)(this,(0,u.default)(t).call(this,a.value)))._def=i.def,A._isBasic=i.isBasic,A._indexes=Object.keys(i.def).map(function(e,t){return t}),A._index=A._indexes.indexOf(a.index)||0,A}return(0,l.default)(t,e),(0,a.default)(t,[{key:"eq",value:function(e){return(0,c.isNumber)(e)?this.toNumber()===e:this._isBasic&&(0,c.isString)(e)?this.type===e:(0,c.isU8a)(e)?!this.toU8a().some(function(t,r){return t!==e[r]}):(0,c.isHex)(e)?this.toHex()===e:e instanceof t?this.index===e.index&&this.value.eq(e.value):(0,c.isObject)(e)?this.value.eq(e[this.type]):this.value.eq(e)}},{key:"toHex",value:function(){return(0,c.u8aToHex)(this.toU8a())}},{key:"toJSON",value:function(){return this._isBasic?this._index:(0,i.default)({},this.type,this.raw.toJSON())}},{key:"toNumber",value:function(){return this._index}},{key:"toRawStruct",value:function(){return this._isBasic?Object.keys(this._def):h.default.typesToMap(this._def)}},{key:"toRawType",value:function(){return JSON.stringify({_enum:this.toRawStruct()})}},{key:"toString",value:function(){return this.isNull?this.type:JSON.stringify(this.toJSON())}},{key:"toU8a",value:function(e){var t=this._indexes[this._index];return(0,c.u8aConcat)(new Uint8Array([t]),this.raw.toU8a(e))}},{key:"encodedLength",get:function(){return 1+this.raw.encodedLength}},{key:"index",get:function(){return this._index}},{key:"isNone",get:function(){return this.isNull}},{key:"isNull",get:function(){return this.raw instanceof f.default}},{key:"type",get:function(){return Object.keys(this._def)[this._index]}},{key:"value",get:function(){return this.raw}}],[{key:"decodeEnum",value:function(e,r,n){return(0,c.isNumber)(n)?p(e,n,r):r instanceof t?p(e,r._index,r.raw):B(e,r)}},{key:"with",value:function(e){return function(t){function r(t,n){var i;return(0,o.default)(this,r),i=(0,s.default)(this,(0,u.default)(r).call(this,e,t,n)),Object.keys(i._def).forEach(function(e){var t=(0,c.stringUpperFirst)((0,c.stringCamelCase)(e.replace(" ","_"))),r="as".concat(t),n="is".concat(t);(0,c.isUndefined)(i[n])&&Object.defineProperty((0,A.default)(i),n,{enumerable:!0,get:function(){return i.type===e}}),(0,c.isUndefined)(i[r])&&Object.defineProperty((0,A.default)(i),r,{enumerable:!0,get:function(){return(0,c.assert)(i[n],"Cannot convert '".concat(i.type,"' via ").concat(r)),i.value}})}),i}return(0,l.default)(r,t),r}(t)}}]),t}(g.default);t.default=C},function(e,t,r){var n;e.exports=(n=n||function(e,t){var r=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),n={},A=n.lib={},i=A.Base={extend:function(e){var t=r(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},o=A.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||s).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,A=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i<A;i++){var o=r[i>>>2]>>>24-i%4*8&255;t[n+i>>>2]|=o<<24-(n+i)%4*8}else for(i=0;i<A;i+=4)t[n+i>>>2]=r[i>>>2];return this.sigBytes+=A,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=i.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var r,n=[],A=function(t){t=t;var r=987654321,n=4294967295;return function(){var A=((r=36969*(65535&r)+(r>>16)&n)<<16)+(t=18e3*(65535&t)+(t>>16)&n)&n;return A/=4294967296,(A+=.5)*(e.random()>.5?1:-1)}},i=0;i<t;i+=4){var a=A(4294967296*(r||e.random()));r=987654071*a(),n.push(4294967296*a()|0)}return new o.init(n,t)}}),a=n.enc={},s=a.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],A=0;A<r;A++){var i=t[A>>>2]>>>24-A%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new o.init(r,t/2)}},u=a.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],A=0;A<r;A++){var i=t[A>>>2]>>>24-A%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new o.init(r,t)}},l=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},c=A.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r=this._data,n=r.words,A=r.sigBytes,i=this.blockSize,a=A/(4*i),s=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*i,u=e.min(4*s,A);if(s){for(var l=0;l<s;l+=i)this._doProcessBlock(n,l);var c=n.splice(0,s);r.sigBytes-=u}return new o.init(c,u)},clone:function(){var e=i.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),f=(A.Hasher=c.extend({cfg:i.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){c.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new f.HMAC.init(e,r).finalize(t)}}}),n.algo={});return n}(Math),n)},function(e,t,r){"use strict";r.d(t,"b",function(){return l}),r.d(t,"a",function(){return c});var n=r(2),A=r(21),i=r(13),o=r(32),a=r(119),s=r(384),u=r(209),l=function(e){function t(t){var r=e.call(this,t)||this;return r.destination=t,r}return n.__extends(t,e),t}(i.a),c=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return n.__extends(t,e),t.prototype[u.a]=function(){return new l(this)},t.prototype.lift=function(e){var t=new f(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new a.a;if(!this.isStopped)for(var t=this.observers,r=t.length,n=t.slice(),A=0;A<r;A++)n[A].next(e)},t.prototype.error=function(e){if(this.closed)throw new a.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,r=t.length,n=t.slice(),A=0;A<r;A++)n[A].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new a.a;this.isStopped=!0;for(var e=this.observers,t=e.length,r=e.slice(),n=0;n<t;n++)r[n].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new a.a;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new a.a;return this.hasError?(e.error(this.thrownError),o.a.EMPTY):this.isStopped?(e.complete(),o.a.EMPTY):(this.observers.push(e),new s.a(this,e))},t.prototype.asObservable=function(){var e=new A.a;return e.source=this,e},t.create=function(e,t){return new f(e,t)},t}(A.a),f=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return n.__extends(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):o.a.EMPTY},t}(c)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(115);var n=r(1854);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})});var A=r(1860);Object.keys(A).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return A[e]}})});var i=r(1865);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var o=r(1867);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var a=r(1869);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var s=r(1877);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var u=r(1890);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var l=r(1900);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var c=r(1903);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var f=r(1906);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})});var d=r(1921);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})});var g=r(1923);Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}})});var h=r(1925);Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}})})},function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=Array.isArray||function(e){return e&&"number"==typeof e.length}},function(e,t,r){"use strict";r.d(t,"b",function(){return n}),r.d(t,"d",function(){return A}),r.d(t,"f",function(){return i}),r.d(t,"c",function(){return o}),r.d(t,"g",function(){return a}),r.d(t,"h",function(){return s}),r.d(t,"e",function(){return u}),r.d(t,"a",function(){return l});const n="error",A="pushMathwallet",i="requestIdentity",o="forgetIdentity",a="requestSelectedIdentity",s="requestSignature",u="requestArbitrarySignature",l="authenticate"},function(e,t,r){"use strict";var n=r(20),A=r(257),i=r(122),o=r(260),a=r(106);function s(e){a.call(this,"digest"),this._hash=e}n(s,a),s.prototype._update=function(e){this._hash.update(e)},s.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new A:"rmd160"===e||"ripemd160"===e?new i:new s(o(e))}},function(e,t,r){"use strict";r.d(t,"a",function(){return A});var n=r(145),A=new(r(142).a)(n.a)},function(e,t,r){"use strict";var n=r(1116),A=r(1125),i=Object.assign({},n,A);e.exports=i},function(e,t,r){"use strict";var n=t;n.version=r(601).version,n.utils=r(602),n.rand=r(150),n.curve=r(217),n.curves=r(607),n.ec=r(615),n.eddsa=r(617)},function(e){e.exports=JSON.parse('{"iris":{"tx":{"transfer":{"type":"transfer","prefix":"irishub/bank/Send"},"delegate":{"type":"delegate","prefix":"irishub/stake/MsgDelegate"},"undelegate":{"type":"begin_unbonding","prefix":"irishub/stake/BeginUnbonding"},"redelegate":{"type":"redelegate","prefix":"irishub/stake/BeginRedelegate"},"withdrawDelegationRewardsAll":{"type":"withdraw_delegation_rewards_all","prefix":"irishub/distr/MsgWithdrawDelegationRewardsAll"},"withdrawDelegationReward":{"type":"withdraw_delegation_reward","prefix":"irishub/distr/MsgWithdrawDelegationReward"},"stdTx":{"type":"","prefix":"irishub/bank/StdTx"}},"mode":{"try":"try","normal":"normal"},"bech32":{"accAddr":"iaa","valAddr":"iva","accPub":"iap"},"defaultCoding":"bech32","coding":{"bech32":"bech32","hex":"hex"},"maxGas":20000000,"amino":{"signature":"tendermint/SignatureSecp256k1","pubKey":"tendermint/PubKeySecp256k1"},"bip39Path":"44\'/118\'/0\'/0/0","keystore":{"kdf":"pbkdf2","cipherAlg":"aes-128-ctr","c":262144}},"cosmos":{"tx":{"transfer":{"type":"transfer","prefix":"cosmos-sdk/MsgSend"},"delegate":{"type":"delegate","prefix":"cosmos-sdk/MsgDelegate"},"undelegate":{"type":"undelegate","prefix":"cosmos-sdk/MsgUndelegate"},"beginRedelegate":{"type":"begin_redelegate","prefix":"cosmos-sdk/MsgBeginRedelegate"},"setWithdrawAddress":{"type":"set_withdraw_address","prefix":"cosmos-sdk/MsgModifyWithdrawAddress"},"withdrawDelegatorReward":{"type":"withdraw_delegation_reward","prefix":"cosmos-sdk/MsgWithdrawDelegationReward"},"withdrawValidatorCommission":{"type":"withdraw_validator_commission","prefix":"cosmos-sdk/MsgWithdrawValidatorCommission"},"stdTx":{"type":"stdTx","prefix":"cosmos-sdk/StdTx"}},"bech32":{"accAddr":"cosmos","valAddr":"cosmosvaloper","accPub":"cosmospub"},"defaultCoding":"bech32","coding":{"bech32":"bech32","hex":"hex"},"maxGas":20000000,"amino":{"signature":"tendermint/SignatureSecp256k1","pubKey":"tendermint/PubKeySecp256k1"},"bip39Path":"44\'/118\'/0\'/0/0"},"hashgard":{"tx":{"transfer":{"type":"transfer","prefix":"cosmos-sdk/MsgSend"},"delegate":{"type":"delegate","prefix":"cosmos-sdk/MsgDelegate"},"undelegate":{"type":"undelegate","prefix":"cosmos-sdk/MsgUndelegate"},"beginRedelegate":{"type":"begin_redelegate","prefix":"cosmos-sdk/MsgBeginRedelegate"},"setWithdrawAddress":{"type":"set_withdraw_address","prefix":"cosmos-sdk/MsgModifyWithdrawAddress"},"withdrawDelegatorReward":{"type":"withdraw_delegation_reward","prefix":"cosmos-sdk/MsgWithdrawDelegationReward"},"withdrawValidatorCommission":{"type":"withdraw_validator_commission","prefix":"cosmos-sdk/MsgWithdrawValidatorCommission"},"stdTx":{"type":"stdTx","prefix":"auth/StdTx"}},"bech32":{"accAddr":"gard","valAddr":"gardvaloper","accPub":"gardpub"},"defaultCoding":"bech32","coding":{"bech32":"bech32","hex":"hex"},"maxGas":20000000,"amino":{"signature":"tendermint/SignatureSecp256k1","pubKey":"tendermint/PubKeySecp256k1"},"bip39Path":"44\'/322\'/0\'/0/0"},"language":{"cn":"chinese_simplified","jp":"japanese","sp":"spanish","en":"english"},"chain":{"iris":"iris","ethermint":"ethermint","cosmos":"cosmos","hashgard":"hashgard"}}')},function(e,t){var r,n,A=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,u=[],l=!1,c=-1;function f(){l&&s&&(l=!1,s.length?u=s.concat(u):c=-1,u.length&&d())}function d(){if(!l){var e=a(f);l=!0;for(var t=u.length;t;){for(s=u,u=[];++c<t;)s&&s[c].run();c=-1,t=u.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function g(e,t){this.fun=e,this.array=t}function h(){}A.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new g(e,t)),1!==u.length||l||a(d)},g.prototype.run=function(){this.fun.apply(null,this.array)},A.title="browser",A.browser=!0,A.env={},A.argv=[],A.version="",A.versions={},A.on=h,A.addListener=h,A.once=h,A.off=h,A.removeListener=h,A.removeAllListeners=h,A.emit=h,A.prependListener=h,A.prependOnceListener=h,A.listeners=function(e){return[]},A.binding=function(e){throw new Error("process.binding is not supported")},A.cwd=function(){return"/"},A.chdir=function(e){throw new Error("process.chdir is not supported")},A.umask=function(){return 0}},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(2),A=r(13);function i(e,t){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new o(e,t))}}var o=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.project,this.thisArg))},e}(),a=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.project=r,A.count=0,A.thisArg=n||A,A}return n.__extends(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(A.a)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,32,!1))}return(0,a.default)(t,e),t}(n(r(183)).default);t.default=s},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(163)),i=n(r(164)),o=r(12),a=r(42),s=n(r(90)),u=r(165);function l(e,t,r,n){if((0,o.isHex)(r))return l(e,t,(0,o.hexToU8a)(r),n);if((0,o.isU8a)(r)){const n=(0,u.decodeU8a)(e,r,Object.values(t));return Object.keys(t).reduce((e,t,r)=>(e[t]=n[r],e),{})}return r?function(e,t,r,n){return Object.keys(t).reduce((A,i,a)=>{const s=n.get(i)&&!r[i]?n.get(i):i;try{if(Array.isArray(r))A[i]=r[a]instanceof t[i]?r[a]:new t[i](e,r[a]);else if(r instanceof Map){const n=r.get(s);A[i]=n instanceof t[i]?n:new t[i](e,n)}else{if(!(0,o.isObject)(r))throw new Error("Struct: cannot decode type ".concat(t[i].name," with value ").concat(JSON.stringify(r)));A[i]=r[s]instanceof t[i]?r[s]:new t[i](e,r[s])}}catch(e){throw new Error("Struct: failed on '".concat(s,"':: ").concat(e.message))}return A},{})}(e,t,r,n):{}}class c extends Map{constructor(e,t,r={},n=new Map){super(Object.entries(l(e,(0,u.mapToTypeMap)(e,t),r,n))),this.registry=void 0,Object.defineProperty(this,f,{writable:!0,value:void 0}),Object.defineProperty(this,d,{writable:!0,value:void 0}),this.registry=e,(0,A.default)(this,f)[f]=n,(0,A.default)(this,d)[d]=(0,u.mapToTypeMap)(e,t)}static with(e,t){return class extends c{constructor(r,n){super(r,e,n,t),Object.keys(e).forEach(e=>{(0,o.isUndefined)(this[e])&&Object.defineProperty(this,e,{enumerable:!0,get:()=>this.get(e)})})}}}get defKeys(){return Object.keys((0,A.default)(this,d)[d])}get isEmpty(){const e=this.toArray();for(let t=0;t<e.length;t++)if(!e[t].isEmpty)return!1;return!0}get Type(){return Object.entries((0,A.default)(this,d)[d]).reduce((e,[t,r])=>(e[t]=new r(this.registry).toRawType(),e),{})}get encodedLength(){return this.toArray().reduce((e,t)=>e+=t.encodedLength,0)}get hash(){return new s.default(this.registry,(0,a.blake2AsU8a)(this.toU8a(),256))}eq(e){return(0,u.compareMap)(this,e)}get(e){return super.get(e)}getAtIndex(e){return this.toArray()[e]}toArray(){return[...this.values()]}toHex(){return(0,o.u8aToHex)(this.toU8a())}toHuman(e){return[...this.keys()].reduce((t,r)=>{const n=this.get(r);return t[r]=n&&n.toHuman(e),t},{})}toJSON(){return[...this.keys()].reduce((e,t)=>{const r=(0,A.default)(this,f)[f].get(t)||t,n=this.get(t);return e[r]=n&&n.toJSON(),e},{})}static typesToMap(e,t){return Object.entries(t).reduce((t,[r,n])=>(t[r]=new n(e).toRawType(),t),{})}toRawType(){return JSON.stringify(c.typesToMap(this.registry,(0,A.default)(this,d)[d]))}toString(){return JSON.stringify(this.toJSON())}toU8a(e){const t=[...this.entries()];return(0,o.u8aConcat)(...t.filter(([,e])=>(0,o.isFunction)(null==e?void 0:e.toU8a)).map(([t,r])=>r.toU8a(!e||(0,o.isBoolean)(e)?e:e[t])))}}t.default=c;var f=(0,i.default)("jsonMap"),d=(0,i.default)("Types")},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=n.__importDefault(r(1754));t.hdkey=A.default;var i=n.__importDefault(r(56));t.bip39=i.default;var o=n.__importDefault(r(17));t.BN=o.default,n.__exportStar(r(518),t),n.__exportStar(r(350),t),n.__exportStar(r(1761),t),n.__exportStar(r(295),t),n.__exportStar(r(955),t),n.__exportStar(r(520),t),n.__exportStar(r(519),t),n.__exportStar(r(957),t),n.__exportStar(r(1767),t)},function(e,t,r){"use strict";function n(e){return e&&"function"==typeof e.schedule}r.d(t,"a",function(){return n})},function(e,t,r){var n=r(15).Buffer,A=r(45),i=r(149),o=i.pbkdf2Sync,a=i.pbkdf2,s=r(62),u=r(1127),l=r(1128),c=r(1129),f=r(1130),d=r(1131),g=r(1132),h=r(1133),p=r(1134),I=r(1135),B=f,C="Invalid mnemonic",m="Invalid entropy",y="Invalid mnemonic checksum";function Q(e,t,r){for(;e.length<r;)e=t+e;return e}function w(e){return parseInt(e,2)}function E(e){return e.map(function(e){return Q(e.toString(2),"0",8)}).join("")}function b(e){var t=8*e.length/32,r=A("sha256").update(e).digest();return E([].slice.call(r)).slice(0,t)}function v(e){return"mnemonic"+(e||"")}function D(e,t){var r=n.from(u.nfkd(e),"utf8"),A=n.from(v(u.nfkd(t)),"utf8");return o(r,A,2048,64,"sha512")}function M(e,t){return new Promise(function(r,A){try{var i=n.from(u.nfkd(e),"utf8"),o=n.from(v(u.nfkd(t)),"utf8")}catch(e){return A(e)}a(i,o,2048,64,"sha512",function(e,t){return e?A(e):r(t)})})}function k(e,t){t=t||B;var r=u.nfkd(e).split(" ");if(r.length%3!=0)throw new Error(C);var A=r.map(function(e){var r=t.indexOf(e);if(-1===r)throw new Error(C);return Q(r.toString(2),"0",11)}).join(""),i=32*Math.floor(A.length/33),o=A.slice(0,i),a=A.slice(i),s=o.match(/(.{1,8})/g).map(w);if(s.length<16)throw new Error(m);if(s.length>32)throw new Error(m);if(s.length%4!=0)throw new Error(m);var l=n.from(s);if(b(l)!==a)throw new Error(y);return l.toString("hex")}function _(e,t){if(n.isBuffer(e)||(e=n.from(e,"hex")),t=t||B,e.length<16)throw new TypeError(m);if(e.length>32)throw new TypeError(m);if(e.length%4!=0)throw new TypeError(m);var r=(E([].slice.call(e))+b(e)).match(/(.{1,11})/g).map(function(e){var r=w(e);return t[r]});return t===h?r.join("　"):r.join(" ")}e.exports={mnemonicToSeed:D,mnemonicToSeedAsync:M,mnemonicToSeedHex:function(e,t){return D(e,t).toString("hex")},mnemonicToSeedHexAsync:function(e,t){return M(e,t).then(function(e){return e.toString("hex")})},mnemonicToEntropy:k,entropyToMnemonic:_,generateMnemonic:function(e,t,r){if((e=e||128)%32!=0)throw new TypeError(m);return _((t=t||s)(e/8),r)},validateMnemonic:function(e,t){try{k(e,t)}catch(e){return!1}return!0},wordlists:{EN:f,JA:h,chinese_simplified:l,chinese_traditional:c,english:f,french:d,italian:g,japanese:h,korean:p,spanish:I}}},function(e,t){function r(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=r,r.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},function(e,t,r){"use strict";for(var n="qpzry9x8gf2tvdw0s3jn54khce6mua7l",A={},i=0;i<n.length;i++){var o=n.charAt(i);if(void 0!==A[o])throw new TypeError(o+" is ambiguous");A[o]=i}function a(e){var t=e>>25;return(33554431&e)<<5^996825010&-(t>>0&1)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function s(e){for(var t=1,r=0;r<e.length;++r){var n=e.charCodeAt(r);if(n<33||n>126)throw new Error("Invalid prefix ("+e+")");t=a(t)^n>>5}for(t=a(t),r=0;r<e.length;++r){var A=e.charCodeAt(r);t=a(t)^31&A}return t}function u(e,t,r,n){for(var A=0,i=0,o=(1<<r)-1,a=[],s=0;s<e.length;++s)for(A=A<<t|e[s],i+=t;i>=r;)i-=r,a.push(A>>i&o);if(n)i>0&&a.push(A<<r-i&o);else{if(i>=t)throw new Error("Excess padding");if(A<<r-i&o)throw new Error("Non-zero padding")}return a}e.exports={decode:function(e,t){if(t=t||90,e.length<8)throw new TypeError(e+" too short");if(e.length>t)throw new TypeError("Exceeds length limit");var r=e.toLowerCase(),n=e.toUpperCase();if(e!==r&&e!==n)throw new Error("Mixed-case string "+e);var i=(e=r).lastIndexOf("1");if(-1===i)throw new Error("No separator character for "+e);if(0===i)throw new Error("Missing prefix for "+e);var o=e.slice(0,i),u=e.slice(i+1);if(u.length<6)throw new Error("Data too short");for(var l=s(o),c=[],f=0;f<u.length;++f){var d=u.charAt(f),g=A[d];if(void 0===g)throw new Error("Unknown character "+d);l=a(l)^g,f+6>=u.length||c.push(g)}if(1!==l)throw new Error("Invalid checksum for "+e);return{prefix:o,words:c}},encode:function(e,t,r){if(r=r||90,e.length+7+t.length>r)throw new TypeError("Exceeds length limit");for(var A=s(e=e.toLowerCase()),i=e+"1",o=0;o<t.length;++o){var u=t[o];if(u>>5!=0)throw new Error("Non 5-bit word");A=a(A)^u,i+=n.charAt(u)}for(o=0;o<6;++o)A=a(A);for(A^=1,o=0;o<6;++o){var l=A>>5*(5-o)&31;i+=n.charAt(l)}return i},toWords:function(e){return u(e,8,5,!0)},fromWords:function(e){return u(e,5,8,!1)}}},function(e,t,r){var n=r(848),A=r(1385),i=r(849);e.exports=function(e,t){return n(e)||A(e,t)||i()}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(59)),i=n(r(89)),o=n(r(4)),a=n(r(18)),s=n(r(6)),u=n(r(5)),l=n(r(7)),c=r(14),f=n(r(125)),d=r(136),g=n(r(472)),h=function(e){function t(e){var r,n,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];(0,o.default)(this,t);var a=(0,d.typeToConstructor)(e);return(n=(0,s.default)(this,(r=(0,u.default)(t)).call.apply(r,[this].concat((0,i.default)(t.decodeVec(a,A))))))._Type=a,n}return(0,l.default)(t,e),(0,a.default)(t,[{key:"indexOf",value:function(e){for(var t=e instanceof this._Type?e:new this._Type(e),r=0;r<this.length;r++)if(t.eq(this[r]))return r;return-1}},{key:"toRawType",value:function(){return"Vec<".concat((new this._Type).toRawType(),">")}},{key:"Type",get:function(){return this._Type.name}}],[{key:"decodeVec",value:function(e,t){if(Array.isArray(t))return t.map(function(t,r){try{return t instanceof e?t:new e(t)}catch(e){throw console.error("Unable to decode Vec on index ".concat(r),e.message),e}});var r=(0,c.u8aToU8a)(t),n=f.default.decodeU8a(r),i=(0,A.default)(n,2),o=i[0],a=i[1];return(0,c.assert)(a.lten(32768),"Vec length ".concat(a.toString()," exceeds ").concat(32768)),(0,d.decodeU8a)(r.subarray(o),new Array(a.toNumber()).fill(e))}},{key:"with",value:function(e){return function(t){function r(t){return(0,o.default)(this,r),(0,s.default)(this,(0,u.default)(r).call(this,e,t))}return(0,l.default)(r,t),r}(t)}}]),t}(g.default);t.default=h},function(e,t,r){"use strict";r.d(t,"a",function(){return A}),r.d(t,"b",function(){return i});var n=r(21),A=new n.a(function(e){return e.complete()});function i(e){return e?function(e){return new n.a(function(t){return e.schedule(function(){return t.complete()})})}(e):A}},function(e,t,r){"use strict";(function(t,n){var A=65536,i=4294967295;var o=r(15).Buffer,a=t.crypto||t.msCrypto;a&&a.getRandomValues?e.exports=function(e,t){if(e>i)throw new RangeError("requested too many random bytes");var r=o.allocUnsafe(e);if(e>0)if(e>A)for(var s=0;s<e;s+=A)a.getRandomValues(r.slice(s,s+A));else a.getRandomValues(r);if("function"==typeof t)return n.nextTick(function(){t(null,r)});return r}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,r(34),r(50))},function(e,t,r){var n=r(648),A=r(429),i=n.tfJSON,o=n.TfTypeError,a=n.TfPropertyTypeError,s=n.tfSubError,u=n.getValueTypeName,l={arrayOf:function(e,t){function r(r,n){return!!A.Array(r)&&(!A.Nil(r)&&(!(void 0!==t.minLength&&r.length<t.minLength)&&(!(void 0!==t.maxLength&&r.length>t.maxLength)&&((void 0===t.length||r.length===t.length)&&r.every(function(t,r){try{return f(e,t,n)}catch(e){throw s(e,r)}})))))}return e=c(e),t=t||{},r.toJSON=function(){var r="["+i(e)+"]";return void 0!==t.length?r+="{"+t.length+"}":void 0===t.minLength&&void 0===t.maxLength||(r+="{"+(void 0===t.minLength?0:t.minLength)+","+(void 0===t.maxLength?1/0:t.maxLength)+"}"),r},r},maybe:function e(t){function r(r,n){return A.Nil(r)||t(r,n,e)}return t=c(t),r.toJSON=function(){return"?"+i(t)},r},map:function(e,t){function r(r,n){if(!A.Object(r))return!1;if(A.Nil(r))return!1;for(var i in r){try{t&&f(t,i,n)}catch(e){throw s(e,i,"key")}try{var o=r[i];f(e,o,n)}catch(e){throw s(e,i)}}return!0}return e=c(e),t&&(t=c(t)),r.toJSON=t?function(){return"{"+i(t)+": "+i(e)+"}"}:function(){return"{"+i(e)+"}"},r},object:function(e){var t={};for(var r in e)t[r]=c(e[r]);function n(e,r){if(!A.Object(e))return!1;if(A.Nil(e))return!1;var n;try{for(n in t){f(t[n],e[n],r)}}catch(e){throw s(e,n)}if(r)for(n in e)if(!t[n])throw new a(void 0,n);return!0}return n.toJSON=function(){return i(t)},n},anyOf:function(){var e=[].slice.call(arguments).map(c);function t(t,r){return e.some(function(e){try{return f(e,t,r)}catch(e){return!1}})}return t.toJSON=function(){return e.map(i).join("|")},t},allOf:function(){var e=[].slice.call(arguments).map(c);function t(t,r){return e.every(function(e){try{return f(e,t,r)}catch(e){return!1}})}return t.toJSON=function(){return e.map(i).join(" & ")},t},quacksLike:function(e){function t(t){return e===u(t)}return t.toJSON=function(){return e},t},tuple:function(){var e=[].slice.call(arguments).map(c);function t(t,r){return!A.Nil(t)&&(!A.Nil(t.length)&&((!r||t.length===e.length)&&e.every(function(e,n){try{return f(e,t[n],r)}catch(e){throw s(e,n)}})))}return t.toJSON=function(){return"("+e.map(i).join(", ")+")"},t},value:function(e){function t(t){return t===e}return t.toJSON=function(){return e},t}};function c(e){if(A.String(e))return"?"===e[0]?l.maybe(e.slice(1)):A[e]||l.quacksLike(e);if(e&&A.Object(e)){if(A.Array(e)){if(1!==e.length)throw new TypeError("Expected compile() parameter of type Array of length 1");return l.arrayOf(e[0])}return l.object(e)}return A.Function(e)?e:l.value(e)}function f(e,t,r,n){if(A.Function(e)){if(e(t,r))return!0;throw new o(n||e,t)}return f(c(e),t,r)}for(var d in l.oneOf=l.anyOf,A)f[d]=A[d];for(d in l)f[d]=l[d];var g=r(1099);for(d in g)f[d]=g[d];f.compile=c,f.TfTypeError=o,f.TfPropertyTypeError=a,e.exports=f},function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(21),A=r(211),i=r(379);function o(e,t){return t?Object(i.a)(e,t):e instanceof n.a?e:new n.a(Object(A.a)(e))}},function(e,t,r){"use strict";e.exports=class{static sortObjectKeys(e){let t=function(e){let r={};return Object.keys(e).sort().forEach(function(n){if(Array.isArray(e[n])){let A=[];e[n].forEach(function(e){null!=e&&"object"==typeof e?A.push(t(e)):A.push(e)}),r[n]=A}else null!=e[n]&&"object"==typeof e[n]?r[n]=t(e[n]):null!=e[n]&&"function"==typeof e[n]?r[n]=(A=e[n].toString(),new Function("return "+A)()):r[n]=new String(e[n]).toString();var A}),r};return t(e)}static isEmpty(e){switch(typeof e){case"undefined":return!0;case"string":return 0===e.length;case"number":return 0===e;case"object":return null==e||(Array.isArray(e)?0===e.length:0===Object.keys(e).length)}}static toString(e){return"number"==typeof e?(e=e.toLocaleString()).replace(/[,]/g,""):this.isEmpty(e)?"":e.toString()}static hasRepeatElement(e,t){if(!(e instanceof Array)){if(this.isEmpty(t))throw new Error("split char is empty");e=e.split(t)}return!(e.length==new Set(e).size)}}},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0});var A={cryptoWaitReady:!0};t.cryptoWaitReady=p,r(112);var i=n(r(68)),o=r(1319);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))});var a=r(1323);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))});var s=r(1326);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))});var u=r(1332);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))});var l=r(1337);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))});var c=r(1345);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))});var f=r(1347);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))});var d=r(1351);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))});var g=r(1370);Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}}))});var h=r(1372);function p(){return i.default.waitReady().then(()=>!0).catch(e=>(console.error("Unable to initialize @polkadot/util-crypto",e),!1))}Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}),p().catch(()=>{})},function(e,t,r){const{assert:n}=r(14),A=r(828),i=e=>(...t)=>(n(A.isReady(),"@chainx/wasm-crypto has not been initialized"),e(...t));e.exports.bip39Generate=i(A.ext_bip39_generate),e.exports.bip39ToEntropy=i(A.ext_bip39_to_entropy),e.exports.bip39ToMiniSecret=i(A.ext_bip39_to_mini_secret),e.exports.bip39ToSeed=i(A.ext_bip39_to_seed),e.exports.bip39Validate=i(A.ext_bip39_validate),e.exports.ed25519KeypairFromSeed=i(A.ext_ed_from_seed),e.exports.ed25519Sign=i(A.ext_ed_sign),e.exports.ed25519Verify=i(A.ext_ed_verify),e.exports.sr25519DeriveKeypairHard=i(A.ext_sr_derive_keypair_hard),e.exports.sr25519DeriveKeypairSoft=i(A.ext_sr_derive_keypair_soft),e.exports.sr25519DerivePublicSoft=i(A.ext_sr_derive_public_soft),e.exports.sr25519KeypairFromSeed=i(A.ext_sr_from_seed),e.exports.sr25519Sign=i(A.ext_sr_sign),e.exports.sr25519Verify=i(A.ext_sr_verify),e.exports.blake2b=i(A.ext_blake2b),e.exports.keccak256=i(A.ext_keccak256),e.exports.pbkdf2=i(A.ext_pbkdf2),e.exports.sha512=i(A.ext_sha512),e.exports.twox=i(A.ext_twox),e.exports.isReady=A.isReady,e.exports.waitReady=A.waitReady},function(e,t,r){"use strict";(function(t){const n=r(58),A=r(339);class i{}const o=class{static hexToBytes(e){let t=[];for(let r=0;r<e.length;r+=2)t.push(parseInt(e.substr(r,2),16));return t}static bytesToHex(e){let t=[];for(let r=0;r<e.length;r++)t.push((e[r]>>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("").toUpperCase()}static stringToHex(e){let t=[];for(let r=0;r<e.length;r++)t.push(e.charCodeAt(r).toString(16));return t.join("")}static isHex(e){return e=e.replace("0x",""),/^[0-9a-fA-F]*$/i.test(e)}},a=class{static fromBech32(e){let t=n.decode(e);return o.bytesToHex(n.fromWords(t.words)).toUpperCase()}static toBech32(e,r){let A=n.toWords(t.from(r,"hex"));return n.encode(e,A)}static isBech32(e,t){if(!e||0==e.length)return!1;if(!new RegExp("^"+e+"1").test(t))return!1;if(!new RegExp(/^[0-9a-zA-Z]*$/i).test(t))return!1;try{return a.fromBech32(t),!0}catch(e){return!1}}};i.Hex=o,i.Bech32=a,i.Uvarint=class{static encode(e){let r=t.alloc(10),n=0;for(;e>=128;)r[n]=new A(e).or(new A(128)),e>>=7,n++;return r[n]=new A(e),r.slice(0,n+1)}static decode(e){let t=this.uvarint(e),r=t.x,n=t.s;if(n<=0)throw new Error("decode failed");return{u:r,n:n}}static uvarint(e){let t=0,r=0;for(let n=0;n<e.length;n++){let A=e[n];if(A<128)return n>9||9===n&&A>1?{x:0,s:-(n+1)}:{x:t|A<<r,s:n+1};t|=A&127<<r,r+=7}return{x:t,s:r}}},e.exports=i}).call(this,r(8).Buffer)},function(e,t,r){const n=r(991);e.exports=r(1859)(n)},,function(e,t,r){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=r(62),t.createHash=t.Hash=r(45),t.createHmac=t.Hmac=r(107);var n=r(575),A=Object.keys(n),i=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(A);t.getHashes=function(){return i};var o=r(149);t.pbkdf2=o.pbkdf2,t.pbkdf2Sync=o.pbkdf2Sync;var a=r(577);t.Cipher=a.Cipher,t.createCipher=a.createCipher,t.Cipheriv=a.Cipheriv,t.createCipheriv=a.createCipheriv,t.Decipher=a.Decipher,t.createDecipher=a.createDecipher,t.Decipheriv=a.Decipheriv,t.createDecipheriv=a.createDecipheriv,t.getCiphers=a.getCiphers,t.listCiphers=a.listCiphers;var s=r(594);t.DiffieHellmanGroup=s.DiffieHellmanGroup,t.createDiffieHellmanGroup=s.createDiffieHellmanGroup,t.getDiffieHellman=s.getDiffieHellman,t.createDiffieHellman=s.createDiffieHellman,t.DiffieHellman=s.DiffieHellman;var u=r(599);t.createSign=u.createSign,t.Sign=u.Sign,t.createVerify=u.createVerify,t.Verify=u.Verify,t.createECDH=r(634);var l=r(635);t.publicEncrypt=l.publicEncrypt,t.privateEncrypt=l.privateEncrypt,t.publicDecrypt=l.publicDecrypt,t.privateDecrypt=l.privateDecrypt;var c=r(638);t.randomFill=c.randomFill,t.randomFillSync=c.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(e,t,r){"use strict";r.d(t,"a",function(){return A});const n=e=>{try{e()}catch(e){}};const A=new class{constructor(){["app","storage","extension","runtime","windows","tabs"].map(e=>{"undefined"!=typeof chrome&&n(()=>{chrome[e]&&(this[e]=chrome[e])}),"undefined"!=typeof browser&&n(()=>{browser[e]&&(this[e]=browser[e])})}),"undefined"!=typeof browser&&n(()=>{browser&&browser.runtime&&(this.runtime=browser.runtime)})}}},function(e,t,r){"use strict";(function(t){const n=r(69),A=r(177),i=r(49),o=r(229),a=r(924);let s=new class{constructor(){this._keyMap={}}GetRegisterInfo(e){let t=this._keyMap[e];if(void 0===t)throw new Error("not Registered");return t}RegisterConcrete(e,t){this._keyMap[t]={prefix:this._aminoPrefix(t),classType:e}}MarshalBinary(e,r){let n=this._keyMap[e].prefix;return n=t.from(n.concat(r.length)),n=t.concat([n,r])}MarshalJSON(e,t){return{type:e,value:t}}_aminoPrefix(e){let t=A(e),r=n.Hex.hexToBytes(t);for(;0===r[0];)r=r.slice(1,r.length-1);for(r=r.slice(3,r.length-1);0===r[0];)r=r.slice(1,r.length-1);return r=r.slice(0,4)}};s.RegisterConcrete(null,i.cosmos.amino.pubKey),s.RegisterConcrete(null,i.cosmos.amino.signature),s.RegisterConcrete(o.cosmos.MsgDelegate,i.cosmos.tx.delegate.prefix),s.RegisterConcrete(o.cosmos.MsgSend,i.cosmos.tx.transfer.prefix),s.RegisterConcrete(o.cosmos.MsgSetWithdrawAddress,i.cosmos.tx.setWithdrawAddress.prefix),s.RegisterConcrete(o.cosmos.MsgWithdrawDelegatorReward,i.cosmos.tx.withdrawDelegatorReward.prefix),s.RegisterConcrete(o.cosmos.MsgWithdrawValidatorCommission,i.cosmos.tx.withdrawValidatorCommission.prefix),s.RegisterConcrete(o.cosmos.MsgUndelegate,i.cosmos.tx.undelegate.prefix),s.RegisterConcrete(o.cosmos.MsgBeginRedelegate,i.cosmos.tx.beginRedelegate.prefix),s.RegisterConcrete(o.cosmos.StdTx,i.cosmos.tx.stdTx.prefix),s.RegisterConcrete(null,i.iris.amino.pubKey),s.RegisterConcrete(null,i.iris.amino.signature),s.RegisterConcrete(a.irisnet.tx.MsgDelegate,i.iris.tx.delegate.prefix),s.RegisterConcrete(a.irisnet.tx.MsgSend,i.iris.tx.transfer.prefix),s.RegisterConcrete(a.irisnet.tx.MsgBeginRedelegate,i.iris.tx.redelegate.prefix),s.RegisterConcrete(a.irisnet.tx.MsgBeginUnbonding,i.iris.tx.undelegate.prefix),s.RegisterConcrete(a.irisnet.tx.MsgWithdrawDelegatorRewardsAll,i.iris.tx.withdrawDelegationRewardsAll.prefix),s.RegisterConcrete(a.irisnet.tx.MsgWithdrawDelegatorReward,i.iris.tx.withdrawDelegationReward.prefix),s.RegisterConcrete(a.irisnet.tx.StdTx,i.iris.tx.stdTx.prefix),e.exports=s}).call(this,r(8).Buffer)},function(e,t,r){var n=r(293),A=r(294),i=r(1705),o={noether:"0",wei:"1",kwei:"1000",Kwei:"1000",babbage:"1000",femtoether:"1000",mwei:"1000000",Mwei:"1000000",lovelace:"1000000",picoether:"1000000",gwei:"1000000000",Gwei:"1000000000",shannon:"1000000000",nanoether:"1000000000",nano:"1000000000",szabo:"1000000000000",microether:"1000000000000",micro:"1000000000000",finney:"1000000000000000",milliether:"1000000000000000",milli:"1000000000000000",ether:"1000000000000000000",kether:"1000000000000000000000",grand:"1000000000000000000000",mether:"1000000000000000000000000",gether:"1000000000000000000000000000",tether:"1000000000000000000000000000000"},a=function(e,t,r){return new Array(t-e.length+1).join(r||"0")+e},s=function(e,t){e=i.encode(e);for(var r="",n=0;n<e.length;n++){var A=e.charCodeAt(n);if(0===A){if(!t)break;r+="00"}else{var o=A.toString(16);r+=o.length<2?"0"+o:o}}return"0x"+r},u=function(e){var t=f(e),r=t.toString(16);return t.lessThan(0)?"-0x"+r.substr(1):"0x"+r},l=function(e){if(I(e))return u(+e);if(h(e))return u(e);if("object"==typeof e)return s(JSON.stringify(e));if(p(e)){if(0===e.indexOf("-0x"))return u(e);if(0===e.indexOf("0x"))return e;if(!isFinite(e))return s(e,1)}return u(e)},c=function(e){e=e?e.toLowerCase():"ether";var t=o[e];if(void 0===t)throw new Error("This unit doesn't exists, please use the one of the following units"+JSON.stringify(o,null,2));return new n(t,10)},f=function(e){return h(e=e||0)?e:!p(e)||0!==e.indexOf("0x")&&0!==e.indexOf("-0x")?new n(e.toString(10),10):new n(e.replace("0x",""),16)},d=function(e){return/^0x[0-9a-f]{40}$/i.test(e)},g=function(e){e=e.replace("0x","");for(var t=A(e.toLowerCase()),r=0;r<40;r++)if(parseInt(t[r],16)>7&&e[r].toUpperCase()!==e[r]||parseInt(t[r],16)<=7&&e[r].toLowerCase()!==e[r])return!1;return!0},h=function(e){return e instanceof n||e&&e.constructor&&"BigNumber"===e.constructor.name},p=function(e){return"string"==typeof e||e&&e.constructor&&"String"===e.constructor.name},I=function(e){return"boolean"==typeof e};e.exports={padLeft:a,padRight:function(e,t,r){return e+new Array(t-e.length+1).join(r||"0")},toHex:l,toDecimal:function(e){return f(e).toNumber()},fromDecimal:u,toUtf8:function(e){var t="",r=0,n=e.length;for("0x"===e.substring(0,2)&&(r=2);r<n;r+=2){var A=parseInt(e.substr(r,2),16);if(0===A)break;t+=String.fromCharCode(A)}return i.decode(t)},toAscii:function(e){var t="",r=0,n=e.length;for("0x"===e.substring(0,2)&&(r=2);r<n;r+=2){var A=parseInt(e.substr(r,2),16);t+=String.fromCharCode(A)}return t},fromUtf8:s,fromAscii:function(e,t){for(var r="",n=0;n<e.length;n++){var A=e.charCodeAt(n).toString(16);r+=A.length<2?"0"+A:A}return"0x"+r.padEnd(t,"0")},transformToFullName:function(e){if(-1!==e.name.indexOf("("))return e.name;var t=e.inputs.map(function(e){return e.type}).join();return e.name+"("+t+")"},extractDisplayName:function(e){var t=e.indexOf("("),r=e.indexOf(")");return-1!==t&&-1!==r?e.substr(0,t):e},extractTypeName:function(e){var t=e.indexOf("("),r=e.indexOf(")");return-1!==t&&-1!==r?e.substr(t+1,r-t-1).replace(" ",""):""},toWei:function(e,t){var r=f(e).times(c(t));return h(e)?r:r.toString(10)},fromWei:function(e,t){var r=f(e).dividedBy(c(t));return h(e)?r:r.toString(10)},toBigNumber:f,toTwosComplement:function(e){var t=f(e).round();return t.lessThan(0)?new n("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16).plus(t).plus(1):t},toAddress:function(e){return d(e)?e:/^[0-9a-f]{40}$/.test(e)?"0x"+e:"0x"+a(l(e).substr(2),40)},isBigNumber:h,isStrictAddress:d,isAddress:function(e){return!!/^(0x)?[0-9a-f]{40}$/i.test(e)&&(!(!/^(0x)?[0-9a-f]{40}$/.test(e)&&!/^(0x)?[0-9A-F]{40}$/.test(e))||g(e))},isChecksumAddress:g,toChecksumAddress:function(e){if(void 0===e)return"";e=e.toLowerCase().replace("0x","");for(var t=A(e),r="0x",n=0;n<e.length;n++)parseInt(t[n],16)>7?r+=e[n].toUpperCase():r+=e[n];return r},isFunction:function(e){return"function"==typeof e},isString:p,isObject:function(e){return null!==e&&!Array.isArray(e)&&"object"==typeof e},isBoolean:I,isArray:function(e){return Array.isArray(e)},isJson:function(e){try{return!!JSON.parse(e)}catch(e){return!1}},isBloom:function(e){return!!/^(0x)?[0-9a-f]{512}$/i.test(e)&&!(!/^(0x)?[0-9a-f]{512}$/.test(e)&&!/^(0x)?[0-9A-F]{512}$/.test(e))},isTopic:function(e){return!!/^(0x)?[0-9a-f]{64}$/i.test(e)&&!(!/^(0x)?[0-9a-f]{64}$/.test(e)&&!/^(0x)?[0-9A-F]{64}$/.test(e))}}},function(e,t,r){var n;e.exports=(n=r(40),void(n.lib.Cipher||function(e){var t=n,r=t.lib,A=r.Base,i=r.WordArray,o=r.BufferedBlockAlgorithm,a=t.enc,s=(a.Utf8,a.Base64),u=t.algo.EvpKDF,l=r.Cipher=o.extend({cfg:A.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?C:I}return function(t){return{encrypt:function(r,n,A){return e(n).encrypt(t,r,n,A)},decrypt:function(r,n,A){return e(n).decrypt(t,r,n,A)}}}}()}),c=(r.StreamCipher=l.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),t.mode={}),f=r.BlockCipherMode=A.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),d=c.CBC=function(){var t=f.extend();function r(t,r,n){var A=this._iv;if(A){var i=A;this._iv=e}else i=this._prevBlock;for(var o=0;o<n;o++)t[r+o]^=i[o]}return t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,A=n.blockSize;r.call(this,e,t,A),n.encryptBlock(e,t),this._prevBlock=e.slice(t,t+A)}}),t.Decryptor=t.extend({processBlock:function(e,t){var n=this._cipher,A=n.blockSize,i=e.slice(t,t+A);n.decryptBlock(e,t),r.call(this,e,t,A),this._prevBlock=i}}),t}(),g=(t.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,A=n<<24|n<<16|n<<8|n,o=[],a=0;a<n;a+=4)o.push(A);var s=i.create(o,n);e.concat(s)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},h=(r.BlockCipher=l.extend({cfg:l.cfg.extend({mode:d,padding:g}),reset:function(){l.reset.call(this);var e=this.cfg,t=e.iv,r=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var n=r.createEncryptor;else n=r.createDecryptor,this._minBufferSize=1;this._mode=n.call(r,this,t&&t.words)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else t=this._process(!0),e.unpad(t);return t},blockSize:4}),r.CipherParams=A.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),p=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;if(r)var n=i.create([1398893684,1701076831]).concat(r).concat(t);else n=t;return n.toString(s)},parse:function(e){var t=s.parse(e),r=t.words;if(1398893684==r[0]&&1701076831==r[1]){var n=i.create(r.slice(2,4));r.splice(0,4),t.sigBytes-=16}return h.create({ciphertext:t,salt:n})}},I=r.SerializableCipher=A.extend({cfg:A.extend({format:p}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var A=e.createEncryptor(r,n),i=A.finalize(t),o=A.cfg;return h.create({ciphertext:i,key:r,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),B=(t.kdf={}).OpenSSL={execute:function(e,t,r,n){n||(n=i.random(8));var A=u.create({keySize:t+r}).compute(e,n),o=i.create(A.words.slice(t),4*r);return A.sigBytes=4*t,h.create({key:A,iv:o,salt:n})}},C=r.PasswordBasedCipher=I.extend({cfg:I.cfg.extend({kdf:B}),encrypt:function(e,t,r,n){var A=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize);n.iv=A.iv;var i=I.encrypt.call(this,e,t,A.key,n);return i.mixIn(A),i},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var A=n.kdf.execute(r,e.keySize,e.ivSize,t.salt);return n.iv=A.iv,I.decrypt.call(this,e,t,A.key,n)}})}()))},function(e,t,r){"use strict";(function(e){r.d(t,"a",function(){return o});var n=r(92),A=r.n(n);const i=r(177);class o{static generateSignature(t,r,n){const o=e.from(t,"hex"),a=n?o:e.from(i(o,{asBytes:!0}));return A.a.sign(a,e.from(r,"hex")).toString("hex")}static verifySignature(t,r,n,o){const a=e.from(o,"hex");if(!A.a.isPoint(a))throw new Error("Invalid public key provided");const s=e.from(r,"hex"),u=n?s:e.from(i(s,{asBytes:!0}));return A.a.verify(u,a,e.from(t,"hex"))}}}).call(this,r(8).Buffer)},,function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(555),A=r.n(n);class i{constructor(e){this.httpClient=A.a.create({baseURL:e,timeout:3e4})}get(e,t,r){return this.request("get",e,t,r)}post(e,t,r){return this.request("post",e,t,r)}request(e,t,r,n){const A={method:e,url:t,...n};return r&&("get"===e?A.params=r:A.data=r),this.httpClient.request(A).then(e=>({result:e.data,status:e.status})).catch(e=>{throw console.error("error in HttpRequest#request",e),error})}}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(89)),i=n(r(4)),o=n(r(18)),a=n(r(6)),s=n(r(5)),u=n(r(7)),l=r(14),c=r(136),f=function(e){function t(e,r){var n,o;(0,i.default)(this,t);var u=Array.isArray(e)?e.map(function(e){return(0,c.typeToConstructor)(e)}):(0,c.mapToTypeMap)(e);return(o=(0,a.default)(this,(n=(0,s.default)(t)).call.apply(n,[this].concat((0,A.default)(t.decodeTuple(u,r))))))._Types=u,o}return(0,u.default)(t,e),(0,o.default)(t,[{key:"toRawType",value:function(){var e=(Array.isArray(this._Types)?this._Types:Object.values(this._Types)).map(function(e){return(new e).toRawType()});return"(".concat(e.join(","),")")}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}},{key:"toU8a",value:function(e){return l.u8aConcat.apply(void 0,(0,A.default)(this.map(function(t){return t.toU8a(e)})))}},{key:"encodedLength",get:function(){return this.reduce(function(e,t){return e+=t.encodedLength},0)}},{key:"Types",get:function(){return Array.isArray(this._Types)?this._Types.map(function(e){return(new e).toRawType()}):Object.keys(this._Types)}}],[{key:"decodeTuple",value:function(e,r){return(0,l.isU8a)(r)?(0,c.decodeU8a)(r,e):(0,l.isHex)(r)?t.decodeTuple(e,(0,l.hexToU8a)(r)):(Array.isArray(e)?e:Object.values(e)).map(function(e,t){try{return new e(r&&r[t])}catch(e){throw new Error("Tuple: failed on ".concat(t,":: ").concat(e.message))}})}},{key:"with",value:function(e){return function(t){function r(t){return(0,i.default)(this,r),(0,a.default)(this,(0,s.default)(r).call(this,e,t))}return(0,u.default)(r,t),r}(t)}}]),t}(n(r(472)).default);t.default=f},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,64,!1))}return(0,a.default)(t,e),t}(n(r(183)).default);t.default=s},function(e,t,r){"use strict";r.d(t,"a",function(){return A});var n=r(2),A=function(e){function t(t,r,n){var A=e.call(this)||this;return A.parent=t,A.outerValue=r,A.outerIndex=n,A.index=0,A}return n.__extends(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(r(13).a)},function(e,t,r){"use strict";r.d(t,"a",function(){return A});var n=!1,A={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;n=e},get useDeprecatedSynchronousErrorHandling(){return n}}},function(e,t,r){"use strict";var n=r(57),A=r(20);function i(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function a(e){return 1===e.length?"0"+e:e}function s(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=A,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),A=0;A<e.length;A+=2)r.push(parseInt(e[A]+e[A+1],16))}else for(var n=0,A=0;A<e.length;A++){var o=e.charCodeAt(A);o<128?r[n++]=o:o<2048?(r[n++]=o>>6|192,r[n++]=63&o|128):i(e,A)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++A)),r[n++]=o>>18|240,r[n++]=o>>12&63|128,r[n++]=o>>6&63|128,r[n++]=63&o|128):(r[n++]=o>>12|224,r[n++]=o>>6&63|128,r[n++]=63&o|128)}else for(A=0;A<e.length;A++)r[A]=0|e[A];return r},t.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=a(e[r].toString(16));return t},t.htonl=o,t.toHex32=function(e,t){for(var r="",n=0;n<e.length;n++){var A=e[n];"little"===t&&(A=o(A)),r+=s(A.toString(16))}return r},t.zero2=a,t.zero8=s,t.join32=function(e,t,r,A){var i=r-t;n(i%4==0);for(var o=new Array(i/4),a=0,s=t;a<o.length;a++,s+=4){var u;u="big"===A?e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]:e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s],o[a]=u>>>0}return o},t.split32=function(e,t){for(var r=new Array(4*e.length),n=0,A=0;n<e.length;n++,A+=4){var i=e[n];"big"===t?(r[A]=i>>>24,r[A+1]=i>>>16&255,r[A+2]=i>>>8&255,r[A+3]=255&i):(r[A+3]=i>>>24,r[A+2]=i>>>16&255,r[A+1]=i>>>8&255,r[A]=255&i)}return r},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,r){return e+t+r>>>0},t.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},t.sum32_5=function(e,t,r,n,A){return e+t+r+n+A>>>0},t.sum64=function(e,t,r,n){var A=e[t],i=n+e[t+1]>>>0,o=(i<n?1:0)+r+A;e[t]=o>>>0,e[t+1]=i},t.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},t.sum64_lo=function(e,t,r,n){return t+n>>>0},t.sum64_4_hi=function(e,t,r,n,A,i,o,a){var s=0,u=t;return s+=(u=u+n>>>0)<t?1:0,s+=(u=u+i>>>0)<i?1:0,e+r+A+o+(s+=(u=u+a>>>0)<a?1:0)>>>0},t.sum64_4_lo=function(e,t,r,n,A,i,o,a){return t+n+i+a>>>0},t.sum64_5_hi=function(e,t,r,n,A,i,o,a,s,u){var l=0,c=t;return l+=(c=c+n>>>0)<t?1:0,l+=(c=c+i>>>0)<i?1:0,l+=(c=c+a>>>0)<a?1:0,e+r+A+o+s+(l+=(c=c+u>>>0)<u?1:0)>>>0},t.sum64_5_lo=function(e,t,r,n,A,i,o,a,s,u){return t+n+i+a+u>>>0},t.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},t.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},t.shr64_hi=function(e,t,r){return e>>>r},t.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},function(e,t,r){var n=r(1416);function A(t,r,i){return"undefined"!=typeof Reflect&&Reflect.get?e.exports=A=Reflect.get:e.exports=A=function(e,t,r){var A=n(e,t);if(A){var i=Object.getOwnPropertyDescriptor(A,t);return i.get?i.get.call(r):i.value}},A(t,r,i||t)}e.exports=A},function(e,t,r){"use strict";e.exports=r(1574)(r(1577))},function(e,t,r){"use strict";function n(){}r.d(t,"a",function(){return n})},function(e,t,r){"use strict";r.d(t,"a",function(){return n});const n=()=>{let e=location.hostname;return 0===e.indexOf("www.")&&(e=e.replace("www.","")),e}},function(e,t,r){var n=r(1412),A=r(859),i=r(1413);e.exports=function(e){return n(e)||A(e)||i()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(12),A=r(42);function i(e){return(0,n.isU8a)(e)?e:(0,n.u8aToU8a)(e)}class o extends Uint8Array{constructor(e,t){super(i(t)),this.registry=void 0,this.registry=e}get encodedLength(){return this.length}get hash(){return new o(this.registry,(0,A.blake2AsU8a)(this.toU8a(),256))}get isEmpty(){return!this.length||(0,n.isUndefined)(this.find(e=>!!e))}get length(){return super.length}bitLength(){return 8*this.length}eq(e){return e instanceof Uint8Array?this.length===e.length&&!this.some((t,r)=>t!==e[r]):this.eq(i(e))}subarray(e,t){return Uint8Array.from(this).subarray(e,t)}toHex(){return(0,n.u8aToHex)(this)}toHuman(){return this.toJSON()}toJSON(){return this.toHex()}toRawType(){return"Raw"}toString(){return this.toHex()}toU8a(e){return Uint8Array.from(this)}}t.default=o},function(e,t,r){"use strict";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}var A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=A(r(219)),a=i(r(1809));t.JSBI=a.default;const s=i(r(977)),u=r(534),l=r(354),c=r(161),f=i(r(1822)),d=r(980);t.serializeScript=d.serializeScript;const g=r(1828);t.serializeRawTransaction=g.serializeRawTransaction,t.serializeTransaction=g.serializeTransaction,t.serializeWitnessArgs=g.serializeWitnessArgs,n(r(534)),n(r(535));const h=new("undefined"!=typeof TextEncoder?TextEncoder:o.TextEncoder),p=new("undefined"!=typeof TextDecoder?TextDecoder:o.TextDecoder);t.hexToBytes=e=>{if(""===e)return new Uint8Array;if("string"==typeof e&&!e.startsWith("0x"))throw new c.HexStringShouldStartWith0x(e);let t=e.toString(16);t=(t=t.replace(/^0x/i,"")).length%2?`0${t}`:t;const r=[];for(let e=0;e<t.length;e+=2)r.push(parseInt(t.substr(e,2),16));return new Uint8Array(r)},t.bytesToHex=e=>{const t=[];for(let r=0;r<e.length;r++)t.push((e[r]>>>4).toString(16)),t.push((15&e[r]).toString(16));return`0x${t.join("")}`},t.bytesToUtf8=e=>p.decode(e),t.hexToUtf8=e=>t.bytesToUtf8(t.hexToBytes(e)),t.utf8ToBytes=e=>h.encode(e),t.utf8ToHex=e=>t.bytesToHex(t.utf8ToBytes(e)),t.PERSONAL=h.encode("ckb-default-hash"),t.blake2b=f.default.blake2b,t.bech32=f.default.bech32,t.blake160=f.default.blake160,t.scriptToHash=e=>{if(!e)throw new c.ArgumentRequired("Script");const r=d.serializeScript(e),n=t.blake2b(32,null,null,t.PERSONAL);return n.update(t.hexToBytes(r)),`0x${n.digest("hex")}`},t.rawTransactionToHash=e=>{if(!e)throw new c.ArgumentRequired("Raw transaction");const r=g.serializeRawTransaction(e),n=t.blake2b(32,null,null,t.PERSONAL);return n.update(t.hexToBytes(r)),`0x${n.digest("hex")}`};const I=e=>e.split("").reverse().join("");t.toHexInLittleEndian=(e,t=4)=>{l.assertToBeHexStringOrBigint(e);const r=a.default.BigInt(`${e}`).toString(16);return`0x${(I(r).match(/\w{1,2}/g)||[]).map(e=>I(e.padEnd(2,"0"))).join("").padEnd(2*t,"0")}`},t.privateKeyToPublicKey=e=>{return new s.default(e).publicKey},t.privateKeyToAddress=(e,r)=>u.pubkeyToAddress(t.privateKeyToPublicKey(e),r),t.calculateTransactionFee=(e,t)=>{l.assertToBeHexStringOrBigint(e),l.assertToBeHexStringOrBigint(t);const r=a.default.BigInt(1e3),n=a.default.multiply(a.default.BigInt(`${e}`),a.default.BigInt(`${t}`)),A=a.default.divide(n,r);return a.default.lessThan(a.default.multiply(A,r),n)?`0x${a.default.add(A,a.default.BigInt(1)).toString(16)}`:`0x${A.toString(16)}`},t.calculateSerializedTxSizeInBlock=e=>{return g.serializeTransaction(e).slice(2).length/2+4},t.parseEpoch=e=>({length:`0x${a.default.bitwiseAnd(a.default.signedRightShift(a.default.BigInt(e),a.default.BigInt(40)),a.default.BigInt(65535)).toString(16)}`,index:`0x${a.default.bitwiseAnd(a.default.signedRightShift(a.default.BigInt(e),a.default.BigInt(24)),a.default.BigInt(65535)).toString(16)}`,number:`0x${a.default.bitwiseAnd(a.default.BigInt(e),a.default.BigInt(16777215)).toString(16)}`})},function(e,t,r){(function(t){const n=r(17),A=new(0,r(48).ec)("secp256k1"),i=r(1098),o=t.alloc(32,0),a=t.from("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141","hex"),s=t.from("fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f","hex"),u=A.curve.n,l=u.shrn(1),c=A.curve.g,f="Expected Private",d="Expected Point",g="Expected Tweak",h="Expected Hash",p="Expected Signature",I="Expected Extra Data (32 bytes)";function B(e){return t.isBuffer(e)&&32===e.length}function C(e){return!!B(e)&&e.compare(a)<0}function m(e){if(!t.isBuffer(e))return!1;if(e.length<33)return!1;const r=e[0],n=e.slice(1,33);if(0===n.compare(o))return!1;if(n.compare(s)>=0)return!1;if((2===r||3===r)&&33===e.length){try{v(e)}catch(e){return!1}return!0}const A=e.slice(33);return 0!==A.compare(o)&&(!(A.compare(s)>=0)&&(4===r&&65===e.length))}function y(e){return 4!==e[0]}function Q(e){return!!B(e)&&(e.compare(o)>0&&e.compare(a)<0)}function w(e,t){return void 0===e&&void 0!==t?y(t):void 0===e||e}function E(e){return new n(e)}function b(e){return e.toArrayLike(t,"be",32)}function v(e){return A.curve.decodePoint(e)}function D(e,r){return t.from(e._encode(r))}function M(e,r,n){if(!B(e))throw new TypeError(h);if(!Q(r))throw new TypeError(f);if(void 0!==n&&!B(n))throw new TypeError(I);const A=E(r),o=E(e);let a,s;i(e,r,function(e){const t=E(e),r=c.mul(t);return!r.isInfinity()&&(0!==(a=r.x.umod(u)).isZero()&&0!==(s=t.invm(u).mul(o.add(A.mul(a))).umod(u)).isZero())},Q,n),s.cmp(l)>0&&(s=u.sub(s));const d=t.allocUnsafe(64);return b(a).copy(d,0),b(s).copy(d,32),d}e.exports={isPoint:m,isPointCompressed:function(e){return!!m(e)&&y(e)},isPrivate:Q,pointAdd:function(e,t,r){if(!m(e))throw new TypeError(d);if(!m(t))throw new TypeError(d);const n=v(e),A=v(t),i=n.add(A);return i.isInfinity()?null:D(i,w(r,e))},pointAddScalar:function(e,t,r){if(!m(e))throw new TypeError(d);if(!C(t))throw new TypeError(g);const n=w(r,e),A=v(e);if(0===t.compare(o))return D(A,n);const i=E(t),a=c.mul(i),s=A.add(a);return s.isInfinity()?null:D(s,n)},pointCompress:function(e,t){if(!m(e))throw new TypeError(d);const r=v(e);if(r.isInfinity())throw new TypeError(d);return D(r,t)},pointFromScalar:function(e,t){if(!Q(e))throw new TypeError(f);const r=E(e),n=c.mul(r);return n.isInfinity()?null:D(n,w(t))},pointMultiply:function(e,t,r){if(!m(e))throw new TypeError(d);if(!C(t))throw new TypeError(g);const n=w(r,e),A=v(e),i=E(t),o=A.mul(i);return o.isInfinity()?null:D(o,n)},privateAdd:function(e,t){if(!Q(e))throw new TypeError(f);if(!C(t))throw new TypeError(g);const r=E(e),n=E(t),A=b(r.add(n).umod(u));return Q(A)?A:null},privateSub:function(e,t){if(!Q(e))throw new TypeError(f);if(!C(t))throw new TypeError(g);const r=E(e),n=E(t),A=b(r.sub(n).umod(u));return Q(A)?A:null},sign:function(e,t){return M(e,t)},signWithEntropy:function(e,t,r){return M(e,t,r)},verify:function(e,r,n){if(!B(e))throw new TypeError(h);if(!m(r))throw new TypeError(d);if(!function(e){const r=e.slice(0,32),n=e.slice(32,64);return t.isBuffer(e)&&64===e.length&&r.compare(a)<0&&n.compare(a)<0}(n))throw new TypeError(p);const A=v(r),i=E(n.slice(0,32)),o=E(n.slice(32,64));if(i.gtn(0)<=0)return!1;if(o.gtn(0)<=0)return!1;const s=E(e),l=o.invm(u),f=s.mul(l).umod(u),g=i.mul(l).umod(u),I=c.mulAdd(f,A,g);return!I.isInfinity()&&I.x.umod(u).eq(i)}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(2),A=r(13);function i(e,t){return function(r){return r.lift(new o(e,t))}}var o=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.thisArg))},e}(),a=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.predicate=r,A.thisArg=n,A.count=0,A}return n.__extends(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(A.a)},function(e,t,r){"use strict";r.d(t,"a",function(){return n});class n{static groupBy(e,t){return e.reduce((e,r)=>((e[r[t]]=e[r[t]]||[]).push(r),e),{})}static distinct(e){return e.reduce((e,t)=>e.includes(t)?e:e.concat(t),[])}static distinctObjectArray(e){return e.reduce((e,t)=>e.find(e=>this.deepEqual(e,t))?e:e.concat(t),[])}static deepEqual(e,t){const r=Object.keys,n=typeof e;return e&&t&&"object"===n&&n===typeof t?r(e).length===r(t).length&&r(e).every(r=>this.deepEqual(e[r],t[r])):e===t}static flatten(e){return e.reduce((e,t)=>e.concat(Array.isArray(t)?this.flatten(t):t),[])}static objectToFlatKeys(e){return this.flatten(Object.keys(e).map(t=>null!==e[t]&&"object"==typeof e[t]?this.objectToFlatKeys(e[t]):t))}static getFieldFromObjectByDotNotation(e,t){return t.split(".").reduce((e,t)=>e[t],e)}}},function(e,t,r){"use strict";r.d(t,"b",function(){return n}),r.d(t,"a",function(){return a});var n,A=r(61),i=r(190),o=r(245);n||(n={});var a=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return r&&r()}},e.prototype.accept=function(e,t,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){switch(this.kind){case"N":return Object(i.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(A.b)()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},,function(e,t,r){var n=r(654);r(1120),e.exports=n},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(14),l=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:256;return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,t.decodeU8aFixed(e,r)))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"bitLength",value:function(){return 8*this.length}},{key:"toRawType",value:function(){return"[u8;".concat(this.length,"]")}}],[{key:"decodeU8aFixed",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:256;return(0,u.isU8a)(e)?e.subarray(0,r/8):Array.isArray(e)||(0,u.isString)(e)?t.decodeU8aFixed((0,u.u8aToU8a)(e),r):e}},{key:"with",value:function(e){return function(t){function r(t){return(0,A.default)(this,r),(0,o.default)(this,(0,a.default)(r).call(this,t,e))}return(0,s.default)(r,t),r}(t)}}]),t}(n(r(126)).default);t.default=l},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(474)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(81)).default);t.default=s},function(e,t,r){"use strict";var n=r(982),A=r(1832),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return null!==e&&"object"==typeof e}function s(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var A in e)Object.prototype.hasOwnProperty.call(e,A)&&t.call(null,e[A],A,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:A,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:s,isStream:function(e){return a(e)&&s(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function e(){var t={};function r(r,n){"object"==typeof t[n]&&"object"==typeof r?t[n]=e(t[n],r):t[n]=r}for(var n=0,A=arguments.length;n<A;n++)u(arguments[n],r);return t},deepMerge:function e(){var t={};function r(r,n){"object"==typeof t[n]&&"object"==typeof r?t[n]=e(t[n],r):t[n]="object"==typeof r?e({},r):r}for(var n=0,A=arguments.length;n<A;n++)u(arguments[n],r);return t},extend:function(e,t,r){return u(t,function(t,A){e[A]=r&&"function"==typeof t?n(t,r):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,r){"use strict";var n=r(1040),A=r(2081),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return null!==e&&"object"==typeof e}function s(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var A in e)Object.prototype.hasOwnProperty.call(e,A)&&t.call(null,e[A],A,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:A,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:s,isStream:function(e){return a(e)&&s(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function e(){var t={};function r(r,n){"object"==typeof t[n]&&"object"==typeof r?t[n]=e(t[n],r):t[n]=r}for(var n=0,A=arguments.length;n<A;n++)u(arguments[n],r);return t},deepMerge:function e(){var t={};function r(r,n){"object"==typeof t[n]&&"object"==typeof r?t[n]=e(t[n],r):t[n]="object"==typeof r?e({},r):r}for(var n=0,A=arguments.length;n<A;n++)u(arguments[n],r);return t},extend:function(e,t,r){return u(t,function(t,A){e[A]=r&&"function"==typeof t?n(t,r):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,r){"use strict";function n(e){return e}r.d(t,"a",function(){return n})},function(e,t,r){"use strict";function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}r.d(t,"a",function(){return A});var A=n()},function(e,t,r){var n=r(15).Buffer,A=r(194).Transform,i=r(259).StringDecoder;function o(e){A.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(20)(o,A),o.prototype.update=function(e,t,r){"string"==typeof e&&(e=n.from(e,t));var A=this._update(e);return this.hashMode?this:(r&&(A=this._toString(A,r)),A)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},o.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},o.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},o.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new i(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},e.exports=o},function(e,t,r){"use strict";var n=r(20),A=r(574),i=r(106),o=r(15).Buffer,a=r(396),s=r(122),u=r(260),l=o.alloc(128);function c(e,t){i.call(this,"digest"),"string"==typeof t&&(t=o.from(t));var r="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>r)?t=("rmd160"===e?new s:u(e)).update(t).digest():t.length<r&&(t=o.concat([t,l],r));for(var n=this._ipad=o.allocUnsafe(r),A=this._opad=o.allocUnsafe(r),a=0;a<r;a++)n[a]=54^t[a],A[a]=92^t[a];this._hash="rmd160"===e?new s:u(e),this._hash.update(n)}n(c,i),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new s:u(this._alg)).update(this._opad).update(e).digest()},e.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new c("rmd160",t):"md5"===e?new A(a,t):new c(e,t)}},function(e,t,r){"use strict";var n=r(641),A=r(1074),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return null!==e&&"object"==typeof e}function s(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var A in e)Object.prototype.hasOwnProperty.call(e,A)&&t.call(null,e[A],A,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:A,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:s,isStream:function(e){return a(e)&&s(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function e(){var t={};function r(r,n){"object"==typeof t[n]&&"object"==typeof r?t[n]=e(t[n],r):t[n]=r}for(var n=0,A=arguments.length;n<A;n++)u(arguments[n],r);return t},extend:function(e,t,r){return u(t,function(t,A){e[A]=r&&"function"==typeof t?n(t,r):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,r){var n,A,i;
/**
 * @license bytebuffer.js (c) 2015 Daniel Wirtz <dcode@dcode.io>
 * Backing buffer: ArrayBuffer, Accessor: Uint8Array
 * Released under the Apache License, Version 2.0
 * see: https://github.com/dcodeIO/bytebuffer.js for details
 */A=[r(1117)],void 0===(i="function"==typeof(n=function(e){"use strict";var t=function(e,r,A){if(void 0===e&&(e=t.DEFAULT_CAPACITY),void 0===r&&(r=t.DEFAULT_ENDIAN),void 0===A&&(A=t.DEFAULT_NOASSERT),!A){if((e|=0)<0)throw RangeError("Illegal capacity");r=!!r,A=!!A}this.buffer=0===e?n:new ArrayBuffer(e),this.view=0===e?null:new Uint8Array(this.buffer),this.offset=0,this.markedOffset=-1,this.limit=e,this.littleEndian=r,this.noAssert=A};t.VERSION="5.0.1",t.LITTLE_ENDIAN=!0,t.BIG_ENDIAN=!1,t.DEFAULT_CAPACITY=16,t.DEFAULT_ENDIAN=t.BIG_ENDIAN,t.DEFAULT_NOASSERT=!1,t.Long=e||null;var r=t.prototype;r.__isByteBuffer__,Object.defineProperty(r,"__isByteBuffer__",{value:!0,enumerable:!1,configurable:!1});var n=new ArrayBuffer(0),A=String.fromCharCode;function i(e){var t=0;return function(){return t<e.length?e.charCodeAt(t++):null}}function o(){var e=[],t=[];return function(){if(0===arguments.length)return t.join("")+A.apply(String,e);e.length+arguments.length>1024&&(t.push(A.apply(String,e)),e.length=0),Array.prototype.push.apply(e,arguments)}}function a(e,t,r,n,A){var i,o,a=8*A-n-1,s=(1<<a)-1,u=s>>1,l=-7,c=r?A-1:0,f=r?-1:1,d=e[t+c];for(c+=f,i=d&(1<<-l)-1,d>>=-l,l+=a;l>0;i=256*i+e[t+c],c+=f,l-=8);for(o=i&(1<<-l)-1,i>>=-l,l+=n;l>0;o=256*o+e[t+c],c+=f,l-=8);if(0===i)i=1-u;else{if(i===s)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,n),i-=u}return(d?-1:1)*o*Math.pow(2,i-n)}function s(e,t,r,n,A,i){var o,a,s,u=8*i-A-1,l=(1<<u)-1,c=l>>1,f=23===A?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:i-1,g=n?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-o))<1&&(o--,s*=2),(t+=o+c>=1?f/s:f*Math.pow(2,1-c))*s>=2&&(o++,s/=2),o+c>=l?(a=0,o=l):o+c>=1?(a=(t*s-1)*Math.pow(2,A),o+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,A),o=0));A>=8;e[r+d]=255&a,d+=g,a/=256,A-=8);for(o=o<<A|a,u+=A;u>0;e[r+d]=255&o,d+=g,o/=256,u-=8);e[r+d-g]|=128*h}t.accessor=function(){return Uint8Array},t.allocate=function(e,r,n){return new t(e,r,n)},t.concat=function(e,r,n,A){"boolean"!=typeof r&&"string"==typeof r||(A=n,n=r,r=void 0);for(var i,o=0,a=0,s=e.length;a<s;++a)t.isByteBuffer(e[a])||(e[a]=t.wrap(e[a],r)),(i=e[a].limit-e[a].offset)>0&&(o+=i);if(0===o)return new t(0,n,A);var u,l=new t(o,n,A);for(a=0;a<s;)(i=(u=e[a++]).limit-u.offset)<=0||(l.view.set(u.view.subarray(u.offset,u.limit),l.offset),l.offset+=i);return l.limit=l.offset,l.offset=0,l},t.isByteBuffer=function(e){return!0===(e&&e.__isByteBuffer__)},t.type=function(){return ArrayBuffer},t.wrap=function(e,n,A,i){if("string"!=typeof n&&(i=A,A=n,n=void 0),"string"==typeof e)switch(void 0===n&&(n="utf8"),n){case"base64":return t.fromBase64(e,A);case"hex":return t.fromHex(e,A);case"binary":return t.fromBinary(e,A);case"utf8":return t.fromUTF8(e,A);case"debug":return t.fromDebug(e,A);default:throw Error("Unsupported encoding: "+n)}if(null===e||"object"!=typeof e)throw TypeError("Illegal buffer");var o;if(t.isByteBuffer(e))return(o=r.clone.call(e)).markedOffset=-1,o;if(e instanceof Uint8Array)o=new t(0,A,i),e.length>0&&(o.buffer=e.buffer,o.offset=e.byteOffset,o.limit=e.byteOffset+e.byteLength,o.view=new Uint8Array(e.buffer));else if(e instanceof ArrayBuffer)o=new t(0,A,i),e.byteLength>0&&(o.buffer=e,o.offset=0,o.limit=e.byteLength,o.view=e.byteLength>0?new Uint8Array(e):null);else{if("[object Array]"!==Object.prototype.toString.call(e))throw TypeError("Illegal buffer");(o=new t(e.length,A,i)).limit=e.length;for(var a=0;a<e.length;++a)o.view[a]=e[a]}return o},r.writeBitSet=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if(!(e instanceof Array))throw TypeError("Illegal BitSet: Not an array");if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}var n,A=t,i=e.length,o=i>>3,a=0;for(t+=this.writeVarint32(i,t);o--;)n=1&!!e[a++]|(1&!!e[a++])<<1|(1&!!e[a++])<<2|(1&!!e[a++])<<3|(1&!!e[a++])<<4|(1&!!e[a++])<<5|(1&!!e[a++])<<6|(1&!!e[a++])<<7,this.writeByte(n,t++);if(a<i){var s=0;for(n=0;a<i;)n|=(1&!!e[a++])<<s++;this.writeByte(n,t++)}return r?(this.offset=t,this):t-A},r.readBitSet=function(e){var t=void 0===e;t&&(e=this.offset);var r,n=this.readVarint32(e),A=n.value,i=A>>3,o=0,a=[];for(e+=n.length;i--;)r=this.readByte(e++),a[o++]=!!(1&r),a[o++]=!!(2&r),a[o++]=!!(4&r),a[o++]=!!(8&r),a[o++]=!!(16&r),a[o++]=!!(32&r),a[o++]=!!(64&r),a[o++]=!!(128&r);if(o<A){var s=0;for(r=this.readByte(e++);o<A;)a[o++]=!!(r>>s++&1)}return t&&(this.offset=e),a},r.readBytes=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+e>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+"+e+") <= "+this.buffer.byteLength)}var n=this.slice(t,t+e);return r&&(this.offset+=e),n},r.writeBytes=r.append,r.writeInt8=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e|=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}t+=1;var n=this.buffer.byteLength;return t>n&&this.resize((n*=2)>t?n:t),t-=1,this.view[t]=e,r&&(this.offset+=1),this},r.writeByte=r.writeInt8,r.readInt8=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+1) <= "+this.buffer.byteLength)}var r=this.view[e];return 128==(128&r)&&(r=-(255-r+1)),t&&(this.offset+=1),r},r.readByte=r.readInt8,r.writeUint8=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}t+=1;var n=this.buffer.byteLength;return t>n&&this.resize((n*=2)>t?n:t),t-=1,this.view[t]=e,r&&(this.offset+=1),this},r.writeUInt8=r.writeUint8,r.readUint8=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+1) <= "+this.buffer.byteLength)}var r=this.view[e];return t&&(this.offset+=1),r},r.readUInt8=r.readUint8,r.writeInt16=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e|=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}t+=2;var n=this.buffer.byteLength;return t>n&&this.resize((n*=2)>t?n:t),t-=2,this.littleEndian?(this.view[t+1]=(65280&e)>>>8,this.view[t]=255&e):(this.view[t]=(65280&e)>>>8,this.view[t+1]=255&e),r&&(this.offset+=2),this},r.writeShort=r.writeInt16,r.readInt16=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+2>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+2) <= "+this.buffer.byteLength)}var r=0;return this.littleEndian?(r=this.view[e],r|=this.view[e+1]<<8):(r=this.view[e]<<8,r|=this.view[e+1]),32768==(32768&r)&&(r=-(65535-r+1)),t&&(this.offset+=2),r},r.readShort=r.readInt16,r.writeUint16=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}t+=2;var n=this.buffer.byteLength;return t>n&&this.resize((n*=2)>t?n:t),t-=2,this.littleEndian?(this.view[t+1]=(65280&e)>>>8,this.view[t]=255&e):(this.view[t]=(65280&e)>>>8,this.view[t+1]=255&e),r&&(this.offset+=2),this},r.writeUInt16=r.writeUint16,r.readUint16=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+2>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+2) <= "+this.buffer.byteLength)}var r=0;return this.littleEndian?(r=this.view[e],r|=this.view[e+1]<<8):(r=this.view[e]<<8,r|=this.view[e+1]),t&&(this.offset+=2),r},r.readUInt16=r.readUint16,r.writeInt32=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e|=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}t+=4;var n=this.buffer.byteLength;return t>n&&this.resize((n*=2)>t?n:t),t-=4,this.littleEndian?(this.view[t+3]=e>>>24&255,this.view[t+2]=e>>>16&255,this.view[t+1]=e>>>8&255,this.view[t]=255&e):(this.view[t]=e>>>24&255,this.view[t+1]=e>>>16&255,this.view[t+2]=e>>>8&255,this.view[t+3]=255&e),r&&(this.offset+=4),this},r.writeInt=r.writeInt32,r.readInt32=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+4) <= "+this.buffer.byteLength)}var r=0;return this.littleEndian?(r=this.view[e+2]<<16,r|=this.view[e+1]<<8,r|=this.view[e],r+=this.view[e+3]<<24>>>0):(r=this.view[e+1]<<16,r|=this.view[e+2]<<8,r|=this.view[e+3],r+=this.view[e]<<24>>>0),r|=0,t&&(this.offset+=4),r},r.readInt=r.readInt32,r.writeUint32=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}t+=4;var n=this.buffer.byteLength;return t>n&&this.resize((n*=2)>t?n:t),t-=4,this.littleEndian?(this.view[t+3]=e>>>24&255,this.view[t+2]=e>>>16&255,this.view[t+1]=e>>>8&255,this.view[t]=255&e):(this.view[t]=e>>>24&255,this.view[t+1]=e>>>16&255,this.view[t+2]=e>>>8&255,this.view[t+3]=255&e),r&&(this.offset+=4),this},r.writeUInt32=r.writeUint32,r.readUint32=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+4) <= "+this.buffer.byteLength)}var r=0;return this.littleEndian?(r=this.view[e+2]<<16,r|=this.view[e+1]<<8,r|=this.view[e],r+=this.view[e+3]<<24>>>0):(r=this.view[e+1]<<16,r|=this.view[e+2]<<8,r|=this.view[e+3],r+=this.view[e]<<24>>>0),t&&(this.offset+=4),r},r.readUInt32=r.readUint32,e&&(r.writeInt64=function(t,r){var n=void 0===r;if(n&&(r=this.offset),!this.noAssert){if("number"==typeof t)t=e.fromNumber(t);else if("string"==typeof t)t=e.fromString(t);else if(!(t&&t instanceof e))throw TypeError("Illegal value: "+t+" (not an integer or Long)");if("number"!=typeof r||r%1!=0)throw TypeError("Illegal offset: "+r+" (not an integer)");if((r>>>=0)<0||r+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+r+" (+0) <= "+this.buffer.byteLength)}"number"==typeof t?t=e.fromNumber(t):"string"==typeof t&&(t=e.fromString(t)),r+=8;var A=this.buffer.byteLength;r>A&&this.resize((A*=2)>r?A:r),r-=8;var i=t.low,o=t.high;return this.littleEndian?(this.view[r+3]=i>>>24&255,this.view[r+2]=i>>>16&255,this.view[r+1]=i>>>8&255,this.view[r]=255&i,r+=4,this.view[r+3]=o>>>24&255,this.view[r+2]=o>>>16&255,this.view[r+1]=o>>>8&255,this.view[r]=255&o):(this.view[r]=o>>>24&255,this.view[r+1]=o>>>16&255,this.view[r+2]=o>>>8&255,this.view[r+3]=255&o,r+=4,this.view[r]=i>>>24&255,this.view[r+1]=i>>>16&255,this.view[r+2]=i>>>8&255,this.view[r+3]=255&i),n&&(this.offset+=8),this},r.writeLong=r.writeInt64,r.readInt64=function(t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+8>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+8) <= "+this.buffer.byteLength)}var n=0,A=0;this.littleEndian?(n=this.view[t+2]<<16,n|=this.view[t+1]<<8,n|=this.view[t],n+=this.view[t+3]<<24>>>0,t+=4,A=this.view[t+2]<<16,A|=this.view[t+1]<<8,A|=this.view[t],A+=this.view[t+3]<<24>>>0):(A=this.view[t+1]<<16,A|=this.view[t+2]<<8,A|=this.view[t+3],A+=this.view[t]<<24>>>0,t+=4,n=this.view[t+1]<<16,n|=this.view[t+2]<<8,n|=this.view[t+3],n+=this.view[t]<<24>>>0);var i=new e(n,A,!1);return r&&(this.offset+=8),i},r.readLong=r.readInt64,r.writeUint64=function(t,r){var n=void 0===r;if(n&&(r=this.offset),!this.noAssert){if("number"==typeof t)t=e.fromNumber(t);else if("string"==typeof t)t=e.fromString(t);else if(!(t&&t instanceof e))throw TypeError("Illegal value: "+t+" (not an integer or Long)");if("number"!=typeof r||r%1!=0)throw TypeError("Illegal offset: "+r+" (not an integer)");if((r>>>=0)<0||r+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+r+" (+0) <= "+this.buffer.byteLength)}"number"==typeof t?t=e.fromNumber(t):"string"==typeof t&&(t=e.fromString(t)),r+=8;var A=this.buffer.byteLength;r>A&&this.resize((A*=2)>r?A:r),r-=8;var i=t.low,o=t.high;return this.littleEndian?(this.view[r+3]=i>>>24&255,this.view[r+2]=i>>>16&255,this.view[r+1]=i>>>8&255,this.view[r]=255&i,r+=4,this.view[r+3]=o>>>24&255,this.view[r+2]=o>>>16&255,this.view[r+1]=o>>>8&255,this.view[r]=255&o):(this.view[r]=o>>>24&255,this.view[r+1]=o>>>16&255,this.view[r+2]=o>>>8&255,this.view[r+3]=255&o,r+=4,this.view[r]=i>>>24&255,this.view[r+1]=i>>>16&255,this.view[r+2]=i>>>8&255,this.view[r+3]=255&i),n&&(this.offset+=8),this},r.writeUInt64=r.writeUint64,r.readUint64=function(t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+8>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+8) <= "+this.buffer.byteLength)}var n=0,A=0;this.littleEndian?(n=this.view[t+2]<<16,n|=this.view[t+1]<<8,n|=this.view[t],n+=this.view[t+3]<<24>>>0,t+=4,A=this.view[t+2]<<16,A|=this.view[t+1]<<8,A|=this.view[t],A+=this.view[t+3]<<24>>>0):(A=this.view[t+1]<<16,A|=this.view[t+2]<<8,A|=this.view[t+3],A+=this.view[t]<<24>>>0,t+=4,n=this.view[t+1]<<16,n|=this.view[t+2]<<8,n|=this.view[t+3],n+=this.view[t]<<24>>>0);var i=new e(n,A,!0);return r&&(this.offset+=8),i},r.readUInt64=r.readUint64),r.writeFloat32=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e)throw TypeError("Illegal value: "+e+" (not a number)");if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}t+=4;var n=this.buffer.byteLength;return t>n&&this.resize((n*=2)>t?n:t),t-=4,s(this.view,e,t,this.littleEndian,23,4),r&&(this.offset+=4),this},r.writeFloat=r.writeFloat32,r.readFloat32=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+4) <= "+this.buffer.byteLength)}var r=a(this.view,e,this.littleEndian,23,4);return t&&(this.offset+=4),r},r.readFloat=r.readFloat32,r.writeFloat64=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof e)throw TypeError("Illegal value: "+e+" (not a number)");if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}t+=8;var n=this.buffer.byteLength;return t>n&&this.resize((n*=2)>t?n:t),t-=8,s(this.view,e,t,this.littleEndian,52,8),r&&(this.offset+=8),this},r.writeDouble=r.writeFloat64,r.readFloat64=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+8>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+8) <= "+this.buffer.byteLength)}var r=a(this.view,e,this.littleEndian,52,8);return t&&(this.offset+=8),r},r.readDouble=r.readFloat64,t.MAX_VARINT32_BYTES=5,t.calculateVarint32=function(e){return(e>>>=0)<128?1:e<16384?2:e<1<<21?3:e<1<<28?4:5},t.zigZagEncode32=function(e){return((e|=0)<<1^e>>31)>>>0},t.zigZagDecode32=function(e){return e>>>1^-(1&e)|0},r.writeVarint32=function(e,r){var n=void 0===r;if(n&&(r=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e|=0,"number"!=typeof r||r%1!=0)throw TypeError("Illegal offset: "+r+" (not an integer)");if((r>>>=0)<0||r+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+r+" (+0) <= "+this.buffer.byteLength)}var A,i=t.calculateVarint32(e);r+=i;var o=this.buffer.byteLength;for(r>o&&this.resize((o*=2)>r?o:r),r-=i,e>>>=0;e>=128;)A=127&e|128,this.view[r++]=A,e>>>=7;return this.view[r++]=e,n?(this.offset=r,this):i},r.writeVarint32ZigZag=function(e,r){return this.writeVarint32(t.zigZagEncode32(e),r)},r.readVarint32=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+1) <= "+this.buffer.byteLength)}var r,n=0,A=0;do{if(!this.noAssert&&e>this.limit){var i=Error("Truncated");throw i.truncated=!0,i}r=this.view[e++],n<5&&(A|=(127&r)<<7*n),++n}while(0!=(128&r));return A|=0,t?(this.offset=e,A):{value:A,length:n}},r.readVarint32ZigZag=function(e){var r=this.readVarint32(e);return"object"==typeof r?r.value=t.zigZagDecode32(r.value):r=t.zigZagDecode32(r),r},e&&(t.MAX_VARINT64_BYTES=10,t.calculateVarint64=function(t){"number"==typeof t?t=e.fromNumber(t):"string"==typeof t&&(t=e.fromString(t));var r=t.toInt()>>>0,n=t.shiftRightUnsigned(28).toInt()>>>0,A=t.shiftRightUnsigned(56).toInt()>>>0;return 0==A?0==n?r<16384?r<128?1:2:r<1<<21?3:4:n<16384?n<128?5:6:n<1<<21?7:8:A<128?9:10},t.zigZagEncode64=function(t){return"number"==typeof t?t=e.fromNumber(t,!1):"string"==typeof t?t=e.fromString(t,!1):!1!==t.unsigned&&(t=t.toSigned()),t.shiftLeft(1).xor(t.shiftRight(63)).toUnsigned()},t.zigZagDecode64=function(t){return"number"==typeof t?t=e.fromNumber(t,!1):"string"==typeof t?t=e.fromString(t,!1):!1!==t.unsigned&&(t=t.toSigned()),t.shiftRightUnsigned(1).xor(t.and(e.ONE).toSigned().negate()).toSigned()},r.writeVarint64=function(r,n){var A=void 0===n;if(A&&(n=this.offset),!this.noAssert){if("number"==typeof r)r=e.fromNumber(r);else if("string"==typeof r)r=e.fromString(r);else if(!(r&&r instanceof e))throw TypeError("Illegal value: "+r+" (not an integer or Long)");if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}"number"==typeof r?r=e.fromNumber(r,!1):"string"==typeof r?r=e.fromString(r,!1):!1!==r.unsigned&&(r=r.toSigned());var i=t.calculateVarint64(r),o=r.toInt()>>>0,a=r.shiftRightUnsigned(28).toInt()>>>0,s=r.shiftRightUnsigned(56).toInt()>>>0;n+=i;var u=this.buffer.byteLength;switch(n>u&&this.resize((u*=2)>n?u:n),n-=i,i){case 10:this.view[n+9]=s>>>7&1;case 9:this.view[n+8]=9!==i?128|s:127&s;case 8:this.view[n+7]=8!==i?a>>>21|128:a>>>21&127;case 7:this.view[n+6]=7!==i?a>>>14|128:a>>>14&127;case 6:this.view[n+5]=6!==i?a>>>7|128:a>>>7&127;case 5:this.view[n+4]=5!==i?128|a:127&a;case 4:this.view[n+3]=4!==i?o>>>21|128:o>>>21&127;case 3:this.view[n+2]=3!==i?o>>>14|128:o>>>14&127;case 2:this.view[n+1]=2!==i?o>>>7|128:o>>>7&127;case 1:this.view[n]=1!==i?128|o:127&o}return A?(this.offset+=i,this):i},r.writeVarint64ZigZag=function(e,r){return this.writeVarint64(t.zigZagEncode64(e),r)},r.readVarint64=function(t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+1) <= "+this.buffer.byteLength)}var n=t,A=0,i=0,o=0,a=0;if(A=127&(a=this.view[t++]),128&a&&(A|=(127&(a=this.view[t++]))<<7,(128&a||this.noAssert&&void 0===a)&&(A|=(127&(a=this.view[t++]))<<14,(128&a||this.noAssert&&void 0===a)&&(A|=(127&(a=this.view[t++]))<<21,(128&a||this.noAssert&&void 0===a)&&(i=127&(a=this.view[t++]),(128&a||this.noAssert&&void 0===a)&&(i|=(127&(a=this.view[t++]))<<7,(128&a||this.noAssert&&void 0===a)&&(i|=(127&(a=this.view[t++]))<<14,(128&a||this.noAssert&&void 0===a)&&(i|=(127&(a=this.view[t++]))<<21,(128&a||this.noAssert&&void 0===a)&&(o=127&(a=this.view[t++]),(128&a||this.noAssert&&void 0===a)&&(o|=(127&(a=this.view[t++]))<<7,128&a||this.noAssert&&void 0===a))))))))))throw Error("Buffer overrun");var s=e.fromBits(A|i<<28,i>>>4|o<<24,!1);return r?(this.offset=t,s):{value:s,length:t-n}},r.readVarint64ZigZag=function(r){var n=this.readVarint64(r);return n&&n.value instanceof e?n.value=t.zigZagDecode64(n.value):n=t.zigZagDecode64(n),n}),r.writeCString=function(e,t){var r=void 0===t;r&&(t=this.offset);var n,A=e.length;if(!this.noAssert){if("string"!=typeof e)throw TypeError("Illegal str: Not a string");for(n=0;n<A;++n)if(0===e.charCodeAt(n))throw RangeError("Illegal str: Contains NULL-characters");if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}A=l.calculateUTF16asUTF8(i(e))[1],t+=A+1;var o=this.buffer.byteLength;return t>o&&this.resize((o*=2)>t?o:t),t-=A+1,l.encodeUTF16toUTF8(i(e),function(e){this.view[t++]=e}.bind(this)),this.view[t++]=0,r?(this.offset=t,this):A},r.readCString=function(e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+1) <= "+this.buffer.byteLength)}var r,n=e,A=-1;return l.decodeUTF8toUTF16(function(){if(0===A)return null;if(e>=this.limit)throw RangeError("Illegal range: Truncated data, "+e+" < "+this.limit);return 0===(A=this.view[e++])?null:A}.bind(this),r=o(),!0),t?(this.offset=e,r()):{string:r(),length:e-n}},r.writeIString=function(e,t){var r=void 0===t;if(r&&(t=this.offset),!this.noAssert){if("string"!=typeof e)throw TypeError("Illegal str: Not a string");if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}var n,A=t;n=l.calculateUTF16asUTF8(i(e),this.noAssert)[1],t+=4+n;var o=this.buffer.byteLength;if(t>o&&this.resize((o*=2)>t?o:t),t-=4+n,this.littleEndian?(this.view[t+3]=n>>>24&255,this.view[t+2]=n>>>16&255,this.view[t+1]=n>>>8&255,this.view[t]=255&n):(this.view[t]=n>>>24&255,this.view[t+1]=n>>>16&255,this.view[t+2]=n>>>8&255,this.view[t+3]=255&n),t+=4,l.encodeUTF16toUTF8(i(e),function(e){this.view[t++]=e}.bind(this)),t!==A+4+n)throw RangeError("Illegal range: Truncated data, "+t+" == "+(t+4+n));return r?(this.offset=t,this):t-A},r.readIString=function(e){var r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+4) <= "+this.buffer.byteLength)}var n=e,A=this.readUint32(e),i=this.readUTF8String(A,t.METRICS_BYTES,e+=4);return e+=i.length,r?(this.offset=e,i.string):{string:i.string,length:e-n}},t.METRICS_CHARS="c",t.METRICS_BYTES="b",r.writeUTF8String=function(e,t){var r,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}var A=t;r=l.calculateUTF16asUTF8(i(e))[1],t+=r;var o=this.buffer.byteLength;return t>o&&this.resize((o*=2)>t?o:t),t-=r,l.encodeUTF16toUTF8(i(e),function(e){this.view[t++]=e}.bind(this)),n?(this.offset=t,this):t-A},r.writeString=r.writeUTF8String,t.calculateUTF8Chars=function(e){return l.calculateUTF16asUTF8(i(e))[0]},t.calculateUTF8Bytes=function(e){return l.calculateUTF16asUTF8(i(e))[1]},t.calculateString=t.calculateUTF8Bytes,r.readUTF8String=function(e,r,n){"number"==typeof r&&(n=r,r=void 0);var A=void 0===n;if(A&&(n=this.offset),void 0===r&&(r=t.METRICS_CHARS),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal length: "+e+" (not an integer)");if(e|=0,"number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}var i,a=0,s=n;if(r===t.METRICS_CHARS){if(i=o(),l.decodeUTF8(function(){return a<e&&n<this.limit?this.view[n++]:null}.bind(this),function(e){++a,l.UTF8toUTF16(e,i)}),a!==e)throw RangeError("Illegal range: Truncated data, "+a+" == "+e);return A?(this.offset=n,i()):{string:i(),length:n-s}}if(r===t.METRICS_BYTES){if(!this.noAssert){if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+e>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+"+e+") <= "+this.buffer.byteLength)}var u=n+e;if(l.decodeUTF8toUTF16(function(){return n<u?this.view[n++]:null}.bind(this),i=o(),this.noAssert),n!==u)throw RangeError("Illegal range: Truncated data, "+n+" == "+u);return A?(this.offset=n,i()):{string:i(),length:n-s}}throw TypeError("Unsupported metrics: "+r)},r.readString=r.readUTF8String,r.writeVString=function(e,r){var n=void 0===r;if(n&&(r=this.offset),!this.noAssert){if("string"!=typeof e)throw TypeError("Illegal str: Not a string");if("number"!=typeof r||r%1!=0)throw TypeError("Illegal offset: "+r+" (not an integer)");if((r>>>=0)<0||r+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+r+" (+0) <= "+this.buffer.byteLength)}var A,o,a=r;A=l.calculateUTF16asUTF8(i(e),this.noAssert)[1],o=t.calculateVarint32(A),r+=o+A;var s=this.buffer.byteLength;if(r>s&&this.resize((s*=2)>r?s:r),r-=o+A,r+=this.writeVarint32(A,r),l.encodeUTF16toUTF8(i(e),function(e){this.view[r++]=e}.bind(this)),r!==a+A+o)throw RangeError("Illegal range: Truncated data, "+r+" == "+(r+A+o));return n?(this.offset=r,this):r-a},r.readVString=function(e){var r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+1) <= "+this.buffer.byteLength)}var n=e,A=this.readVarint32(e),i=this.readUTF8String(A.value,t.METRICS_BYTES,e+=A.length);return e+=i.length,r?(this.offset=e,i.string):{string:i.string,length:e-n}},r.append=function(e,r,n){"number"!=typeof r&&"string"==typeof r||(n=r,r=void 0);var A=void 0===n;if(A&&(n=this.offset),!this.noAssert){if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}e instanceof t||(e=t.wrap(e,r));var i=e.limit-e.offset;if(i<=0)return this;n+=i;var o=this.buffer.byteLength;return n>o&&this.resize((o*=2)>n?o:n),n-=i,this.view.set(e.view.subarray(e.offset,e.limit),n),e.offset+=i,A&&(this.offset+=i),this},r.appendTo=function(e,t){return e.append(this,t),this},r.assert=function(e){return this.noAssert=!e,this},r.capacity=function(){return this.buffer.byteLength},r.clear=function(){return this.offset=0,this.limit=this.buffer.byteLength,this.markedOffset=-1,this},r.clone=function(e){var r=new t(0,this.littleEndian,this.noAssert);return e?(r.buffer=new ArrayBuffer(this.buffer.byteLength),r.view=new Uint8Array(r.buffer)):(r.buffer=this.buffer,r.view=this.view),r.offset=this.offset,r.markedOffset=this.markedOffset,r.limit=this.limit,r},r.compact=function(e,t){if(void 0===e&&(e=this.offset),void 0===t&&(t=this.limit),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal begin: Not an integer");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal end: Not an integer");if(t>>>=0,e<0||e>t||t>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+t+" <= "+this.buffer.byteLength)}if(0===e&&t===this.buffer.byteLength)return this;var r=t-e;if(0===r)return this.buffer=n,this.view=null,this.markedOffset>=0&&(this.markedOffset-=e),this.offset=0,this.limit=0,this;var A=new ArrayBuffer(r),i=new Uint8Array(A);return i.set(this.view.subarray(e,t)),this.buffer=A,this.view=i,this.markedOffset>=0&&(this.markedOffset-=e),this.offset=0,this.limit=r,this},r.copy=function(e,r){if(void 0===e&&(e=this.offset),void 0===r&&(r=this.limit),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal begin: Not an integer");if(e>>>=0,"number"!=typeof r||r%1!=0)throw TypeError("Illegal end: Not an integer");if(r>>>=0,e<0||e>r||r>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+r+" <= "+this.buffer.byteLength)}if(e===r)return new t(0,this.littleEndian,this.noAssert);var n=r-e,A=new t(n,this.littleEndian,this.noAssert);return A.offset=0,A.limit=n,A.markedOffset>=0&&(A.markedOffset-=e),this.copyTo(A,0,e,r),A},r.copyTo=function(e,r,n,A){var i,o;if(!this.noAssert&&!t.isByteBuffer(e))throw TypeError("Illegal target: Not a ByteBuffer");if(r=(o=void 0===r)?e.offset:0|r,n=(i=void 0===n)?this.offset:0|n,A=void 0===A?this.limit:0|A,r<0||r>e.buffer.byteLength)throw RangeError("Illegal target range: 0 <= "+r+" <= "+e.buffer.byteLength);if(n<0||A>this.buffer.byteLength)throw RangeError("Illegal source range: 0 <= "+n+" <= "+this.buffer.byteLength);var a=A-n;return 0===a?e:(e.ensureCapacity(r+a),e.view.set(this.view.subarray(n,A),r),i&&(this.offset+=a),o&&(e.offset+=a),this)},r.ensureCapacity=function(e){var t=this.buffer.byteLength;return t<e?this.resize((t*=2)>e?t:e):this},r.fill=function(e,t,r){var n=void 0===t;if(n&&(t=this.offset),"string"==typeof e&&e.length>0&&(e=e.charCodeAt(0)),void 0===t&&(t=this.offset),void 0===r&&(r=this.limit),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal value: "+e+" (not an integer)");if(e|=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof r||r%1!=0)throw TypeError("Illegal end: Not an integer");if(r>>>=0,t<0||t>r||r>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+r+" <= "+this.buffer.byteLength)}if(t>=r)return this;for(;t<r;)this.view[t++]=e;return n&&(this.offset=t),this},r.flip=function(){return this.limit=this.offset,this.offset=0,this},r.mark=function(e){if(e=void 0===e?this.offset:e,!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return this.markedOffset=e,this},r.order=function(e){if(!this.noAssert&&"boolean"!=typeof e)throw TypeError("Illegal littleEndian: Not a boolean");return this.littleEndian=!!e,this},r.LE=function(e){return this.littleEndian=void 0===e||!!e,this},r.BE=function(e){return this.littleEndian=void 0!==e&&!e,this},r.prepend=function(e,r,n){"number"!=typeof r&&"string"==typeof r||(n=r,r=void 0);var A=void 0===n;if(A&&(n=this.offset),!this.noAssert){if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}e instanceof t||(e=t.wrap(e,r));var i=e.limit-e.offset;if(i<=0)return this;var o=i-n;if(o>0){var a=new ArrayBuffer(this.buffer.byteLength+o),s=new Uint8Array(a);s.set(this.view.subarray(n,this.buffer.byteLength),i),this.buffer=a,this.view=s,this.offset+=o,this.markedOffset>=0&&(this.markedOffset+=o),this.limit+=o,n+=o}else new Uint8Array(this.buffer);return this.view.set(e.view.subarray(e.offset,e.limit),n-i),e.offset=e.limit,A&&(this.offset-=i),this},r.prependTo=function(e,t){return e.prepend(this,t),this},r.printDebug=function(e){"function"!=typeof e&&(e=console.log.bind(console)),e(this.toString()+"\n-------------------------------------------------------------------\n"+this.toDebug(!0))},r.remaining=function(){return this.limit-this.offset},r.reset=function(){return this.markedOffset>=0?(this.offset=this.markedOffset,this.markedOffset=-1):this.offset=0,this},r.resize=function(e){if(!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal capacity: "+e+" (not an integer)");if((e|=0)<0)throw RangeError("Illegal capacity: 0 <= "+e)}if(this.buffer.byteLength<e){var t=new ArrayBuffer(e),r=new Uint8Array(t);r.set(this.view),this.buffer=t,this.view=r}return this},r.reverse=function(e,t){if(void 0===e&&(e=this.offset),void 0===t&&(t=this.limit),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal begin: Not an integer");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal end: Not an integer");if(t>>>=0,e<0||e>t||t>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+t+" <= "+this.buffer.byteLength)}return e===t?this:(Array.prototype.reverse.call(this.view.subarray(e,t)),this)},r.skip=function(e){if(!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal length: "+e+" (not an integer)");e|=0}var t=this.offset+e;if(!this.noAssert&&(t<0||t>this.buffer.byteLength))throw RangeError("Illegal length: 0 <= "+this.offset+" + "+e+" <= "+this.buffer.byteLength);return this.offset=t,this},r.slice=function(e,t){if(void 0===e&&(e=this.offset),void 0===t&&(t=this.limit),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal begin: Not an integer");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal end: Not an integer");if(t>>>=0,e<0||e>t||t>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+t+" <= "+this.buffer.byteLength)}var r=this.clone();return r.offset=e,r.limit=t,r},r.toBuffer=function(e){var t=this.offset,r=this.limit;if(!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: Not an integer");if(t>>>=0,"number"!=typeof r||r%1!=0)throw TypeError("Illegal limit: Not an integer");if(r>>>=0,t<0||t>r||r>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+r+" <= "+this.buffer.byteLength)}if(!e&&0===t&&r===this.buffer.byteLength)return this.buffer;if(t===r)return n;var A=new ArrayBuffer(r-t);return new Uint8Array(A).set(new Uint8Array(this.buffer).subarray(t,r),0),A},r.toArrayBuffer=r.toBuffer,r.toString=function(e,t,r){if(void 0===e)return"ByteBufferAB(offset="+this.offset+",markedOffset="+this.markedOffset+",limit="+this.limit+",capacity="+this.capacity()+")";switch("number"==typeof e&&(r=t=e="utf8"),e){case"utf8":return this.toUTF8(t,r);case"base64":return this.toBase64(t,r);case"hex":return this.toHex(t,r);case"binary":return this.toBinary(t,r);case"debug":return this.toDebug();case"columns":return this.toColumns();default:throw Error("Unsupported encoding: "+e)}};var u=function(){for(var e={},t=[65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57,43,47],r=[],n=0,A=t.length;n<A;++n)r[t[n]]=n;return e.encode=function(e,r){for(var n,A;null!==(n=e());)r(t[n>>2&63]),A=(3&n)<<4,null!==(n=e())?(r(t[63&((A|=n>>4&15)|n>>4&15)]),A=(15&n)<<2,null!==(n=e())?(r(t[63&(A|n>>6&3)]),r(t[63&n])):(r(t[63&A]),r(61))):(r(t[63&A]),r(61),r(61))},e.decode=function(e,t){var n,A,i;function o(e){throw Error("Illegal character code: "+e)}for(;null!==(n=e());)if(void 0===(A=r[n])&&o(n),null!==(n=e())&&(void 0===(i=r[n])&&o(n),t(A<<2>>>0|(48&i)>>4),null!==(n=e()))){if(void 0===(A=r[n])){if(61===n)break;o(n)}if(t((15&i)<<4>>>0|(60&A)>>2),null!==(n=e())){if(void 0===(i=r[n])){if(61===n)break;o(n)}t((3&A)<<6>>>0|i)}}},e.test=function(e){return/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(e)},e}();r.toBase64=function(e,t){if(void 0===e&&(e=this.offset),void 0===t&&(t=this.limit),t|=0,(e|=0)<0||t>this.capacity||e>t)throw RangeError("begin, end");var r;return u.encode(function(){return e<t?this.view[e++]:null}.bind(this),r=o()),r()},t.fromBase64=function(e,r){if("string"!=typeof e)throw TypeError("str");var n=new t(e.length/4*3,r),A=0;return u.decode(i(e),function(e){n.view[A++]=e}),n.limit=A,n},t.btoa=function(e){return t.fromBinary(e).toBase64()},t.atob=function(e){return t.fromBase64(e).toBinary()},r.toBinary=function(e,t){if(void 0===e&&(e=this.offset),void 0===t&&(t=this.limit),t|=0,(e|=0)<0||t>this.capacity()||e>t)throw RangeError("begin, end");if(e===t)return"";for(var r=[],n=[];e<t;)r.push(this.view[e++]),r.length>=1024&&(n.push(String.fromCharCode.apply(String,r)),r=[]);return n.join("")+String.fromCharCode.apply(String,r)},t.fromBinary=function(e,r){if("string"!=typeof e)throw TypeError("str");for(var n,A=0,i=e.length,o=new t(i,r);A<i;){if((n=e.charCodeAt(A))>255)throw RangeError("illegal char code: "+n);o.view[A++]=n}return o.limit=i,o},r.toDebug=function(e){for(var t,r=-1,n=this.buffer.byteLength,A="",i="",o="";r<n;){if(-1!==r&&(A+=(t=this.view[r])<16?"0"+t.toString(16).toUpperCase():t.toString(16).toUpperCase(),e&&(i+=t>32&&t<127?String.fromCharCode(t):".")),++r,e&&r>0&&r%16==0&&r!==n){for(;A.length<51;)A+=" ";o+=A+i+"\n",A=i=""}r===this.offset&&r===this.limit?A+=r===this.markedOffset?"!":"|":r===this.offset?A+=r===this.markedOffset?"[":"<":r===this.limit?A+=r===this.markedOffset?"]":">":A+=r===this.markedOffset?"'":e||0!==r&&r!==n?" ":""}if(e&&" "!==A){for(;A.length<51;)A+=" ";o+=A+i+"\n"}return e?o:A},t.fromDebug=function(e,r,n){for(var A,i,o=e.length,a=new t((o+1)/3|0,r,n),s=0,u=0,l=!1,c=!1,f=!1,d=!1,g=!1;s<o;){switch(A=e.charAt(s++)){case"!":if(!n){if(c||f||d){g=!0;break}c=f=d=!0}a.offset=a.markedOffset=a.limit=u,l=!1;break;case"|":if(!n){if(c||d){g=!0;break}c=d=!0}a.offset=a.limit=u,l=!1;break;case"[":if(!n){if(c||f){g=!0;break}c=f=!0}a.offset=a.markedOffset=u,l=!1;break;case"<":if(!n){if(c){g=!0;break}c=!0}a.offset=u,l=!1;break;case"]":if(!n){if(d||f){g=!0;break}d=f=!0}a.limit=a.markedOffset=u,l=!1;break;case">":if(!n){if(d){g=!0;break}d=!0}a.limit=u,l=!1;break;case"'":if(!n){if(f){g=!0;break}f=!0}a.markedOffset=u,l=!1;break;case" ":l=!1;break;default:if(!n&&l){g=!0;break}if(i=parseInt(A+e.charAt(s++),16),!n&&(isNaN(i)||i<0||i>255))throw TypeError("Illegal str: Not a debug encoded string");a.view[u++]=i,l=!0}if(g)throw TypeError("Illegal str: Invalid symbol at "+s)}if(!n){if(!c||!d)throw TypeError("Illegal str: Missing offset or limit");if(u<a.buffer.byteLength)throw TypeError("Illegal str: Not a debug encoded string (is it hex?) "+u+" < "+o)}return a},r.toHex=function(e,t){if(e=void 0===e?this.offset:e,t=void 0===t?this.limit:t,!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal begin: Not an integer");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal end: Not an integer");if(t>>>=0,e<0||e>t||t>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+t+" <= "+this.buffer.byteLength)}for(var r,n=new Array(t-e);e<t;)(r=this.view[e++])<16?n.push("0",r.toString(16)):n.push(r.toString(16));return n.join("")},t.fromHex=function(e,r,n){if(!n){if("string"!=typeof e)throw TypeError("Illegal str: Not a string");if(e.length%2!=0)throw TypeError("Illegal str: Length not a multiple of 2")}for(var A,i=e.length,o=new t(i/2|0,r),a=0,s=0;a<i;a+=2){if(A=parseInt(e.substring(a,a+2),16),!n&&(!isFinite(A)||A<0||A>255))throw TypeError("Illegal str: Contains non-hex characters");o.view[s++]=A}return o.limit=s,o};var l=function(){var e={MAX_CODEPOINT:1114111,encodeUTF8:function(e,t){var r=null;for("number"==typeof e&&(r=e,e=function(){return null});null!==r||null!==(r=e());)r<128?t(127&r):r<2048?(t(r>>6&31|192),t(63&r|128)):r<65536?(t(r>>12&15|224),t(r>>6&63|128),t(63&r|128)):(t(r>>18&7|240),t(r>>12&63|128),t(r>>6&63|128),t(63&r|128)),r=null},decodeUTF8:function(e,t){for(var r,n,A,i,o=function(e){e=e.slice(0,e.indexOf(null));var t=Error(e.toString());throw t.name="TruncatedError",t.bytes=e,t};null!==(r=e());)if(0==(128&r))t(r);else if(192==(224&r))null===(n=e())&&o([r,n]),t((31&r)<<6|63&n);else if(224==(240&r))(null===(n=e())||null===(A=e()))&&o([r,n,A]),t((15&r)<<12|(63&n)<<6|63&A);else{if(240!=(248&r))throw RangeError("Illegal starting byte: "+r);(null===(n=e())||null===(A=e())||null===(i=e()))&&o([r,n,A,i]),t((7&r)<<18|(63&n)<<12|(63&A)<<6|63&i)}},UTF16toUTF8:function(e,t){for(var r,n=null;null!==(r=null!==n?n:e());)r>=55296&&r<=57343&&null!==(n=e())&&n>=56320&&n<=57343?(t(1024*(r-55296)+n-56320+65536),n=null):t(r);null!==n&&t(n)},UTF8toUTF16:function(e,t){var r=null;for("number"==typeof e&&(r=e,e=function(){return null});null!==r||null!==(r=e());)r<=65535?t(r):(t(55296+((r-=65536)>>10)),t(r%1024+56320)),r=null},encodeUTF16toUTF8:function(t,r){e.UTF16toUTF8(t,function(t){e.encodeUTF8(t,r)})},decodeUTF8toUTF16:function(t,r){e.decodeUTF8(t,function(t){e.UTF8toUTF16(t,r)})},calculateCodePoint:function(e){return e<128?1:e<2048?2:e<65536?3:4},calculateUTF8:function(e){for(var t,r=0;null!==(t=e());)r+=t<128?1:t<2048?2:t<65536?3:4;return r},calculateUTF16asUTF8:function(t){var r=0,n=0;return e.UTF16toUTF8(t,function(e){++r,n+=e<128?1:e<2048?2:e<65536?3:4}),[r,n]}};return e}();return r.toUTF8=function(e,t){if(void 0===e&&(e=this.offset),void 0===t&&(t=this.limit),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal begin: Not an integer");if(e>>>=0,"number"!=typeof t||t%1!=0)throw TypeError("Illegal end: Not an integer");if(t>>>=0,e<0||e>t||t>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+t+" <= "+this.buffer.byteLength)}var r;try{l.decodeUTF8toUTF16(function(){return e<t?this.view[e++]:null}.bind(this),r=o())}catch(r){if(e!==t)throw RangeError("Illegal range: Truncated data, "+e+" != "+t)}return r()},t.fromUTF8=function(e,r,n){if(!n&&"string"!=typeof e)throw TypeError("Illegal str: Not a string");var A=new t(l.calculateUTF16asUTF8(i(e),!0)[1],r,n),o=0;return l.encodeUTF16toUTF8(i(e),function(e){A.view[o++]=e}),A.limit=o,A},t})?n.apply(t,A):n)||(e.exports=i)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bitcoin={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},t.regtest={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bcrt",bip32:{public:70617039,private:70615956},pubKeyHash:111,scriptHash:196,wif:239},t.testnet={messagePrefix:"Bitcoin Signed Message:\n",bech32:"tb",bip32:{public:70617039,private:70615956},pubKeyHash:111,scriptHash:196,wif:239}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.UNSIGNED_TX=0]="UNSIGNED_TX",e[e.GLOBAL_XPUB=1]="GLOBAL_XPUB"}(t.GlobalTypes||(t.GlobalTypes={})),t.GLOBAL_TYPE_NAMES=["unsignedTx","globalXpub"],function(e){e[e.NON_WITNESS_UTXO=0]="NON_WITNESS_UTXO",e[e.WITNESS_UTXO=1]="WITNESS_UTXO",e[e.PARTIAL_SIG=2]="PARTIAL_SIG",e[e.SIGHASH_TYPE=3]="SIGHASH_TYPE",e[e.REDEEM_SCRIPT=4]="REDEEM_SCRIPT",e[e.WITNESS_SCRIPT=5]="WITNESS_SCRIPT",e[e.BIP32_DERIVATION=6]="BIP32_DERIVATION",e[e.FINAL_SCRIPTSIG=7]="FINAL_SCRIPTSIG",e[e.FINAL_SCRIPTWITNESS=8]="FINAL_SCRIPTWITNESS",e[e.POR_COMMITMENT=9]="POR_COMMITMENT"}(t.InputTypes||(t.InputTypes={})),t.INPUT_TYPE_NAMES=["nonWitnessUtxo","witnessUtxo","partialSig","sighashType","redeemScript","witnessScript","bip32Derivation","finalScriptSig","finalScriptWitness","porCommitment"],function(e){e[e.REDEEM_SCRIPT=0]="REDEEM_SCRIPT",e[e.WITNESS_SCRIPT=1]="WITNESS_SCRIPT",e[e.BIP32_DERIVATION=2]="BIP32_DERIVATION"}(t.OutputTypes||(t.OutputTypes={})),t.OUTPUT_TYPE_NAMES=["redeemScript","witnessScript","bip32Derivation"]},function(e,t,r){"use strict";r(1261)},function(e,t,r){"use strict";var n=t,A=r(17),i=r(57),o=r(216);n.assert=i,n.toArray=o.toArray,n.zero2=o.zero2,n.toHex=o.toHex,n.encode=o.encode,n.getNAF=function(e,t,r){var n=new Array(Math.max(e.bitLength(),r)+1);n.fill(0);for(var A=1<<t+1,i=e.clone(),o=0;o<n.length;o++){var a,s=i.andln(A-1);i.isOdd()?(a=s>(A>>1)-1?(A>>1)-s:s,i.isubn(a)):a=0,n[o]=a,i.iushrn(1)}return n},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,A=0;e.cmpn(-n)>0||t.cmpn(-A)>0;){var i,o,a,s=e.andln(3)+n&3,u=t.andln(3)+A&3;if(3===s&&(s=-1),3===u&&(u=-1),0==(1&s))i=0;else i=3!==(a=e.andln(7)+n&7)&&5!==a||2!==u?s:-s;if(r[0].push(i),0==(1&u))o=0;else o=3!==(a=t.andln(7)+A&7)&&5!==a||2!==s?u:-u;r[1].push(o),2*n===i+1&&(n=1-n),2*A===o+1&&(A=1-A),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new A(e,"hex","le")}},function(e,t,r){"use strict";var n=t,A=r(17),i=r(57),o=r(216);n.assert=i,n.toArray=o.toArray,n.zero2=o.zero2,n.toHex=o.toHex,n.encode=o.encode,n.getNAF=function(e,t,r){var n=new Array(Math.max(e.bitLength(),r)+1);n.fill(0);for(var A=1<<t+1,i=e.clone(),o=0;o<n.length;o++){var a,s=i.andln(A-1);i.isOdd()?(a=s>(A>>1)-1?(A>>1)-s:s,i.isubn(a)):a=0,n[o]=a,i.iushrn(1)}return n},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,A=0;e.cmpn(-n)>0||t.cmpn(-A)>0;){var i,o,a,s=e.andln(3)+n&3,u=t.andln(3)+A&3;if(3===s&&(s=-1),3===u&&(u=-1),0==(1&s))i=0;else i=3!==(a=e.andln(7)+n&7)&&5!==a||2!==u?s:-s;if(r[0].push(i),0==(1&u))o=0;else o=3!==(a=t.andln(7)+A&7)&&5!==a||2!==s?u:-u;r[1].push(o),2*n===i+1&&(n=1-n),2*A===o+1&&(A=1-A),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new A(e,"hex","le")}},function(e,t,r){"use strict";r(1853)},function(e,t,r){!function(e){"use strict";var t=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t<e.length;t++)r[t]=e[t];return r},n=function(){throw new Error("no PRNG")},A=new Uint8Array(16),i=new Uint8Array(32);i[0]=9;var o=t(),a=t([1]),s=t([56129,1]),u=t([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),l=t([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),c=t([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),f=t([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),d=t([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function g(e,t,r,n){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function h(e,t,r,n,A){var i,o=0;for(i=0;i<A;i++)o|=e[t+i]^r[n+i];return(1&o-1>>>8)-1}function p(e,t,r,n){return h(e,t,r,n,16)}function I(e,t,r,n){return h(e,t,r,n,32)}function B(e,t,r,n){!function(e,t,r,n){for(var A,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,s=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,g=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,h=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,p=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,I=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,B=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,C=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,m=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,y=i,Q=o,w=a,E=s,b=u,v=l,D=c,M=f,k=d,_=g,S=h,N=p,F=I,x=B,G=C,H=m,U=0;U<20;U+=2)y^=(A=(F^=(A=(k^=(A=(b^=(A=y+F|0)<<7|A>>>25)+y|0)<<9|A>>>23)+b|0)<<13|A>>>19)+k|0)<<18|A>>>14,v^=(A=(Q^=(A=(x^=(A=(_^=(A=v+Q|0)<<7|A>>>25)+v|0)<<9|A>>>23)+_|0)<<13|A>>>19)+x|0)<<18|A>>>14,S^=(A=(D^=(A=(w^=(A=(G^=(A=S+D|0)<<7|A>>>25)+S|0)<<9|A>>>23)+G|0)<<13|A>>>19)+w|0)<<18|A>>>14,H^=(A=(N^=(A=(M^=(A=(E^=(A=H+N|0)<<7|A>>>25)+H|0)<<9|A>>>23)+E|0)<<13|A>>>19)+M|0)<<18|A>>>14,y^=(A=(E^=(A=(w^=(A=(Q^=(A=y+E|0)<<7|A>>>25)+y|0)<<9|A>>>23)+Q|0)<<13|A>>>19)+w|0)<<18|A>>>14,v^=(A=(b^=(A=(M^=(A=(D^=(A=v+b|0)<<7|A>>>25)+v|0)<<9|A>>>23)+D|0)<<13|A>>>19)+M|0)<<18|A>>>14,S^=(A=(_^=(A=(k^=(A=(N^=(A=S+_|0)<<7|A>>>25)+S|0)<<9|A>>>23)+N|0)<<13|A>>>19)+k|0)<<18|A>>>14,H^=(A=(G^=(A=(x^=(A=(F^=(A=H+G|0)<<7|A>>>25)+H|0)<<9|A>>>23)+F|0)<<13|A>>>19)+x|0)<<18|A>>>14;y=y+i|0,Q=Q+o|0,w=w+a|0,E=E+s|0,b=b+u|0,v=v+l|0,D=D+c|0,M=M+f|0,k=k+d|0,_=_+g|0,S=S+h|0,N=N+p|0,F=F+I|0,x=x+B|0,G=G+C|0,H=H+m|0,e[0]=y>>>0&255,e[1]=y>>>8&255,e[2]=y>>>16&255,e[3]=y>>>24&255,e[4]=Q>>>0&255,e[5]=Q>>>8&255,e[6]=Q>>>16&255,e[7]=Q>>>24&255,e[8]=w>>>0&255,e[9]=w>>>8&255,e[10]=w>>>16&255,e[11]=w>>>24&255,e[12]=E>>>0&255,e[13]=E>>>8&255,e[14]=E>>>16&255,e[15]=E>>>24&255,e[16]=b>>>0&255,e[17]=b>>>8&255,e[18]=b>>>16&255,e[19]=b>>>24&255,e[20]=v>>>0&255,e[21]=v>>>8&255,e[22]=v>>>16&255,e[23]=v>>>24&255,e[24]=D>>>0&255,e[25]=D>>>8&255,e[26]=D>>>16&255,e[27]=D>>>24&255,e[28]=M>>>0&255,e[29]=M>>>8&255,e[30]=M>>>16&255,e[31]=M>>>24&255,e[32]=k>>>0&255,e[33]=k>>>8&255,e[34]=k>>>16&255,e[35]=k>>>24&255,e[36]=_>>>0&255,e[37]=_>>>8&255,e[38]=_>>>16&255,e[39]=_>>>24&255,e[40]=S>>>0&255,e[41]=S>>>8&255,e[42]=S>>>16&255,e[43]=S>>>24&255,e[44]=N>>>0&255,e[45]=N>>>8&255,e[46]=N>>>16&255,e[47]=N>>>24&255,e[48]=F>>>0&255,e[49]=F>>>8&255,e[50]=F>>>16&255,e[51]=F>>>24&255,e[52]=x>>>0&255,e[53]=x>>>8&255,e[54]=x>>>16&255,e[55]=x>>>24&255,e[56]=G>>>0&255,e[57]=G>>>8&255,e[58]=G>>>16&255,e[59]=G>>>24&255,e[60]=H>>>0&255,e[61]=H>>>8&255,e[62]=H>>>16&255,e[63]=H>>>24&255}(e,t,r,n)}function C(e,t,r,n){!function(e,t,r,n){for(var A,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,s=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,g=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,h=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,p=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,I=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,B=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,C=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,m=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,y=0;y<20;y+=2)i^=(A=(I^=(A=(d^=(A=(u^=(A=i+I|0)<<7|A>>>25)+i|0)<<9|A>>>23)+u|0)<<13|A>>>19)+d|0)<<18|A>>>14,l^=(A=(o^=(A=(B^=(A=(g^=(A=l+o|0)<<7|A>>>25)+l|0)<<9|A>>>23)+g|0)<<13|A>>>19)+B|0)<<18|A>>>14,h^=(A=(c^=(A=(a^=(A=(C^=(A=h+c|0)<<7|A>>>25)+h|0)<<9|A>>>23)+C|0)<<13|A>>>19)+a|0)<<18|A>>>14,m^=(A=(p^=(A=(f^=(A=(s^=(A=m+p|0)<<7|A>>>25)+m|0)<<9|A>>>23)+s|0)<<13|A>>>19)+f|0)<<18|A>>>14,i^=(A=(s^=(A=(a^=(A=(o^=(A=i+s|0)<<7|A>>>25)+i|0)<<9|A>>>23)+o|0)<<13|A>>>19)+a|0)<<18|A>>>14,l^=(A=(u^=(A=(f^=(A=(c^=(A=l+u|0)<<7|A>>>25)+l|0)<<9|A>>>23)+c|0)<<13|A>>>19)+f|0)<<18|A>>>14,h^=(A=(g^=(A=(d^=(A=(p^=(A=h+g|0)<<7|A>>>25)+h|0)<<9|A>>>23)+p|0)<<13|A>>>19)+d|0)<<18|A>>>14,m^=(A=(C^=(A=(B^=(A=(I^=(A=m+C|0)<<7|A>>>25)+m|0)<<9|A>>>23)+I|0)<<13|A>>>19)+B|0)<<18|A>>>14;e[0]=i>>>0&255,e[1]=i>>>8&255,e[2]=i>>>16&255,e[3]=i>>>24&255,e[4]=l>>>0&255,e[5]=l>>>8&255,e[6]=l>>>16&255,e[7]=l>>>24&255,e[8]=h>>>0&255,e[9]=h>>>8&255,e[10]=h>>>16&255,e[11]=h>>>24&255,e[12]=m>>>0&255,e[13]=m>>>8&255,e[14]=m>>>16&255,e[15]=m>>>24&255,e[16]=c>>>0&255,e[17]=c>>>8&255,e[18]=c>>>16&255,e[19]=c>>>24&255,e[20]=f>>>0&255,e[21]=f>>>8&255,e[22]=f>>>16&255,e[23]=f>>>24&255,e[24]=d>>>0&255,e[25]=d>>>8&255,e[26]=d>>>16&255,e[27]=d>>>24&255,e[28]=g>>>0&255,e[29]=g>>>8&255,e[30]=g>>>16&255,e[31]=g>>>24&255}(e,t,r,n)}var m=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function y(e,t,r,n,A,i,o){var a,s,u=new Uint8Array(16),l=new Uint8Array(64);for(s=0;s<16;s++)u[s]=0;for(s=0;s<8;s++)u[s]=i[s];for(;A>=64;){for(B(l,u,o,m),s=0;s<64;s++)e[t+s]=r[n+s]^l[s];for(a=1,s=8;s<16;s++)a=a+(255&u[s])|0,u[s]=255&a,a>>>=8;A-=64,t+=64,n+=64}if(A>0)for(B(l,u,o,m),s=0;s<A;s++)e[t+s]=r[n+s]^l[s];return 0}function Q(e,t,r,n,A){var i,o,a=new Uint8Array(16),s=new Uint8Array(64);for(o=0;o<16;o++)a[o]=0;for(o=0;o<8;o++)a[o]=n[o];for(;r>=64;){for(B(s,a,A,m),o=0;o<64;o++)e[t+o]=s[o];for(i=1,o=8;o<16;o++)i=i+(255&a[o])|0,a[o]=255&i,i>>>=8;r-=64,t+=64}if(r>0)for(B(s,a,A,m),o=0;o<r;o++)e[t+o]=s[o];return 0}function w(e,t,r,n,A){var i=new Uint8Array(32);C(i,n,A,m);for(var o=new Uint8Array(8),a=0;a<8;a++)o[a]=n[a+16];return Q(e,t,r,o,i)}function E(e,t,r,n,A,i,o){var a=new Uint8Array(32);C(a,i,o,m);for(var s=new Uint8Array(8),u=0;u<8;u++)s[u]=i[u+16];return y(e,t,r,n,A,s,a)}var b=function(e){var t,r,n,A,i,o,a,s;this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0,t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,r=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|r<<3),n=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(r>>>10|n<<6),A=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(n>>>7|A<<9),i=255&e[8]|(255&e[9])<<8,this.r[4]=255&(A>>>4|i<<12),this.r[5]=i>>>1&8190,o=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(i>>>14|o<<2),a=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(o>>>11|a<<5),s=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(a>>>8|s<<8),this.r[9]=s>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function v(e,t,r,n,A,i){var o=new b(i);return o.update(r,n,A),o.finish(e,t),0}function D(e,t,r,n,A,i){var o=new Uint8Array(16);return v(o,0,r,n,A,i),p(e,t,o,0)}function M(e,t,r,n,A){var i;if(r<32)return-1;for(E(e,0,t,0,r,n,A),v(e,16,e,32,r-32,e),i=0;i<16;i++)e[i]=0;return 0}function k(e,t,r,n,A){var i,o=new Uint8Array(32);if(r<32)return-1;if(w(o,0,32,n,A),0!==D(t,16,t,32,r-32,o))return-1;for(E(e,0,t,0,r,n,A),i=0;i<32;i++)e[i]=0;return 0}function _(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function S(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function N(e,t,r){for(var n,A=~(r-1),i=0;i<16;i++)n=A&(e[i]^t[i]),e[i]^=n,t[i]^=n}function F(e,r){var n,A,i,o=t(),a=t();for(n=0;n<16;n++)a[n]=r[n];for(S(a),S(a),S(a),A=0;A<2;A++){for(o[0]=a[0]-65517,n=1;n<15;n++)o[n]=a[n]-65535-(o[n-1]>>16&1),o[n-1]&=65535;o[15]=a[15]-32767-(o[14]>>16&1),i=o[15]>>16&1,o[14]&=65535,N(a,o,1-i)}for(n=0;n<16;n++)e[2*n]=255&a[n],e[2*n+1]=a[n]>>8}function x(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return F(r,e),F(n,t),I(r,0,n,0)}function G(e){var t=new Uint8Array(32);return F(t,e),1&t[0]}function H(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function U(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function Y(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function L(e,t,r){var n,A,i=0,o=0,a=0,s=0,u=0,l=0,c=0,f=0,d=0,g=0,h=0,p=0,I=0,B=0,C=0,m=0,y=0,Q=0,w=0,E=0,b=0,v=0,D=0,M=0,k=0,_=0,S=0,N=0,F=0,x=0,G=0,H=r[0],U=r[1],Y=r[2],L=r[3],O=r[4],K=r[5],P=r[6],R=r[7],T=r[8],J=r[9],j=r[10],q=r[11],V=r[12],W=r[13],z=r[14],Z=r[15];i+=(n=t[0])*H,o+=n*U,a+=n*Y,s+=n*L,u+=n*O,l+=n*K,c+=n*P,f+=n*R,d+=n*T,g+=n*J,h+=n*j,p+=n*q,I+=n*V,B+=n*W,C+=n*z,m+=n*Z,o+=(n=t[1])*H,a+=n*U,s+=n*Y,u+=n*L,l+=n*O,c+=n*K,f+=n*P,d+=n*R,g+=n*T,h+=n*J,p+=n*j,I+=n*q,B+=n*V,C+=n*W,m+=n*z,y+=n*Z,a+=(n=t[2])*H,s+=n*U,u+=n*Y,l+=n*L,c+=n*O,f+=n*K,d+=n*P,g+=n*R,h+=n*T,p+=n*J,I+=n*j,B+=n*q,C+=n*V,m+=n*W,y+=n*z,Q+=n*Z,s+=(n=t[3])*H,u+=n*U,l+=n*Y,c+=n*L,f+=n*O,d+=n*K,g+=n*P,h+=n*R,p+=n*T,I+=n*J,B+=n*j,C+=n*q,m+=n*V,y+=n*W,Q+=n*z,w+=n*Z,u+=(n=t[4])*H,l+=n*U,c+=n*Y,f+=n*L,d+=n*O,g+=n*K,h+=n*P,p+=n*R,I+=n*T,B+=n*J,C+=n*j,m+=n*q,y+=n*V,Q+=n*W,w+=n*z,E+=n*Z,l+=(n=t[5])*H,c+=n*U,f+=n*Y,d+=n*L,g+=n*O,h+=n*K,p+=n*P,I+=n*R,B+=n*T,C+=n*J,m+=n*j,y+=n*q,Q+=n*V,w+=n*W,E+=n*z,b+=n*Z,c+=(n=t[6])*H,f+=n*U,d+=n*Y,g+=n*L,h+=n*O,p+=n*K,I+=n*P,B+=n*R,C+=n*T,m+=n*J,y+=n*j,Q+=n*q,w+=n*V,E+=n*W,b+=n*z,v+=n*Z,f+=(n=t[7])*H,d+=n*U,g+=n*Y,h+=n*L,p+=n*O,I+=n*K,B+=n*P,C+=n*R,m+=n*T,y+=n*J,Q+=n*j,w+=n*q,E+=n*V,b+=n*W,v+=n*z,D+=n*Z,d+=(n=t[8])*H,g+=n*U,h+=n*Y,p+=n*L,I+=n*O,B+=n*K,C+=n*P,m+=n*R,y+=n*T,Q+=n*J,w+=n*j,E+=n*q,b+=n*V,v+=n*W,D+=n*z,M+=n*Z,g+=(n=t[9])*H,h+=n*U,p+=n*Y,I+=n*L,B+=n*O,C+=n*K,m+=n*P,y+=n*R,Q+=n*T,w+=n*J,E+=n*j,b+=n*q,v+=n*V,D+=n*W,M+=n*z,k+=n*Z,h+=(n=t[10])*H,p+=n*U,I+=n*Y,B+=n*L,C+=n*O,m+=n*K,y+=n*P,Q+=n*R,w+=n*T,E+=n*J,b+=n*j,v+=n*q,D+=n*V,M+=n*W,k+=n*z,_+=n*Z,p+=(n=t[11])*H,I+=n*U,B+=n*Y,C+=n*L,m+=n*O,y+=n*K,Q+=n*P,w+=n*R,E+=n*T,b+=n*J,v+=n*j,D+=n*q,M+=n*V,k+=n*W,_+=n*z,S+=n*Z,I+=(n=t[12])*H,B+=n*U,C+=n*Y,m+=n*L,y+=n*O,Q+=n*K,w+=n*P,E+=n*R,b+=n*T,v+=n*J,D+=n*j,M+=n*q,k+=n*V,_+=n*W,S+=n*z,N+=n*Z,B+=(n=t[13])*H,C+=n*U,m+=n*Y,y+=n*L,Q+=n*O,w+=n*K,E+=n*P,b+=n*R,v+=n*T,D+=n*J,M+=n*j,k+=n*q,_+=n*V,S+=n*W,N+=n*z,F+=n*Z,C+=(n=t[14])*H,m+=n*U,y+=n*Y,Q+=n*L,w+=n*O,E+=n*K,b+=n*P,v+=n*R,D+=n*T,M+=n*J,k+=n*j,_+=n*q,S+=n*V,N+=n*W,F+=n*z,x+=n*Z,m+=(n=t[15])*H,o+=38*(Q+=n*Y),a+=38*(w+=n*L),s+=38*(E+=n*O),u+=38*(b+=n*K),l+=38*(v+=n*P),c+=38*(D+=n*R),f+=38*(M+=n*T),d+=38*(k+=n*J),g+=38*(_+=n*j),h+=38*(S+=n*q),p+=38*(N+=n*V),I+=38*(F+=n*W),B+=38*(x+=n*z),C+=38*(G+=n*Z),i=(n=(i+=38*(y+=n*U))+(A=1)+65535)-65536*(A=Math.floor(n/65536)),o=(n=o+A+65535)-65536*(A=Math.floor(n/65536)),a=(n=a+A+65535)-65536*(A=Math.floor(n/65536)),s=(n=s+A+65535)-65536*(A=Math.floor(n/65536)),u=(n=u+A+65535)-65536*(A=Math.floor(n/65536)),l=(n=l+A+65535)-65536*(A=Math.floor(n/65536)),c=(n=c+A+65535)-65536*(A=Math.floor(n/65536)),f=(n=f+A+65535)-65536*(A=Math.floor(n/65536)),d=(n=d+A+65535)-65536*(A=Math.floor(n/65536)),g=(n=g+A+65535)-65536*(A=Math.floor(n/65536)),h=(n=h+A+65535)-65536*(A=Math.floor(n/65536)),p=(n=p+A+65535)-65536*(A=Math.floor(n/65536)),I=(n=I+A+65535)-65536*(A=Math.floor(n/65536)),B=(n=B+A+65535)-65536*(A=Math.floor(n/65536)),C=(n=C+A+65535)-65536*(A=Math.floor(n/65536)),m=(n=m+A+65535)-65536*(A=Math.floor(n/65536)),i=(n=(i+=A-1+37*(A-1))+(A=1)+65535)-65536*(A=Math.floor(n/65536)),o=(n=o+A+65535)-65536*(A=Math.floor(n/65536)),a=(n=a+A+65535)-65536*(A=Math.floor(n/65536)),s=(n=s+A+65535)-65536*(A=Math.floor(n/65536)),u=(n=u+A+65535)-65536*(A=Math.floor(n/65536)),l=(n=l+A+65535)-65536*(A=Math.floor(n/65536)),c=(n=c+A+65535)-65536*(A=Math.floor(n/65536)),f=(n=f+A+65535)-65536*(A=Math.floor(n/65536)),d=(n=d+A+65535)-65536*(A=Math.floor(n/65536)),g=(n=g+A+65535)-65536*(A=Math.floor(n/65536)),h=(n=h+A+65535)-65536*(A=Math.floor(n/65536)),p=(n=p+A+65535)-65536*(A=Math.floor(n/65536)),I=(n=I+A+65535)-65536*(A=Math.floor(n/65536)),B=(n=B+A+65535)-65536*(A=Math.floor(n/65536)),C=(n=C+A+65535)-65536*(A=Math.floor(n/65536)),m=(n=m+A+65535)-65536*(A=Math.floor(n/65536)),i+=A-1+37*(A-1),e[0]=i,e[1]=o,e[2]=a,e[3]=s,e[4]=u,e[5]=l,e[6]=c,e[7]=f,e[8]=d,e[9]=g,e[10]=h,e[11]=p,e[12]=I,e[13]=B,e[14]=C,e[15]=m}function O(e,t){L(e,t,t)}function K(e,r){var n,A=t();for(n=0;n<16;n++)A[n]=r[n];for(n=253;n>=0;n--)O(A,A),2!==n&&4!==n&&L(A,A,r);for(n=0;n<16;n++)e[n]=A[n]}function P(e,r){var n,A=t();for(n=0;n<16;n++)A[n]=r[n];for(n=250;n>=0;n--)O(A,A),1!==n&&L(A,A,r);for(n=0;n<16;n++)e[n]=A[n]}function R(e,r,n){var A,i,o=new Uint8Array(32),a=new Float64Array(80),u=t(),l=t(),c=t(),f=t(),d=t(),g=t();for(i=0;i<31;i++)o[i]=r[i];for(o[31]=127&r[31]|64,o[0]&=248,H(a,n),i=0;i<16;i++)l[i]=a[i],f[i]=u[i]=c[i]=0;for(u[0]=f[0]=1,i=254;i>=0;--i)N(u,l,A=o[i>>>3]>>>(7&i)&1),N(c,f,A),U(d,u,c),Y(u,u,c),U(c,l,f),Y(l,l,f),O(f,d),O(g,u),L(u,c,u),L(c,l,d),U(d,u,c),Y(u,u,c),O(l,u),Y(c,f,g),L(u,c,s),U(u,u,f),L(c,c,u),L(u,f,g),L(f,l,a),O(l,d),N(u,l,A),N(c,f,A);for(i=0;i<16;i++)a[i+16]=u[i],a[i+32]=c[i],a[i+48]=l[i],a[i+64]=f[i];var h=a.subarray(32),p=a.subarray(16);return K(h,h),L(p,p,h),F(e,p),0}function T(e,t){return R(e,t,i)}function J(e,t){return n(t,32),T(e,t)}function j(e,t,r){var n=new Uint8Array(32);return R(n,r,t),C(e,A,n,m)}b.prototype.blocks=function(e,t,r){for(var n,A,i,o,a,s,u,l,c,f,d,g,h,p,I,B,C,m,y,Q=this.fin?0:2048,w=this.h[0],E=this.h[1],b=this.h[2],v=this.h[3],D=this.h[4],M=this.h[5],k=this.h[6],_=this.h[7],S=this.h[8],N=this.h[9],F=this.r[0],x=this.r[1],G=this.r[2],H=this.r[3],U=this.r[4],Y=this.r[5],L=this.r[6],O=this.r[7],K=this.r[8],P=this.r[9];r>=16;)f=c=0,f+=(w+=8191&(n=255&e[t+0]|(255&e[t+1])<<8))*F,f+=(E+=8191&(n>>>13|(A=255&e[t+2]|(255&e[t+3])<<8)<<3))*(5*P),f+=(b+=8191&(A>>>10|(i=255&e[t+4]|(255&e[t+5])<<8)<<6))*(5*K),f+=(v+=8191&(i>>>7|(o=255&e[t+6]|(255&e[t+7])<<8)<<9))*(5*O),c=(f+=(D+=8191&(o>>>4|(a=255&e[t+8]|(255&e[t+9])<<8)<<12))*(5*L))>>>13,f&=8191,f+=(M+=a>>>1&8191)*(5*Y),f+=(k+=8191&(a>>>14|(s=255&e[t+10]|(255&e[t+11])<<8)<<2))*(5*U),f+=(_+=8191&(s>>>11|(u=255&e[t+12]|(255&e[t+13])<<8)<<5))*(5*H),f+=(S+=8191&(u>>>8|(l=255&e[t+14]|(255&e[t+15])<<8)<<8))*(5*G),d=c+=(f+=(N+=l>>>5|Q)*(5*x))>>>13,d+=w*x,d+=E*F,d+=b*(5*P),d+=v*(5*K),c=(d+=D*(5*O))>>>13,d&=8191,d+=M*(5*L),d+=k*(5*Y),d+=_*(5*U),d+=S*(5*H),c+=(d+=N*(5*G))>>>13,d&=8191,g=c,g+=w*G,g+=E*x,g+=b*F,g+=v*(5*P),c=(g+=D*(5*K))>>>13,g&=8191,g+=M*(5*O),g+=k*(5*L),g+=_*(5*Y),g+=S*(5*U),h=c+=(g+=N*(5*H))>>>13,h+=w*H,h+=E*G,h+=b*x,h+=v*F,c=(h+=D*(5*P))>>>13,h&=8191,h+=M*(5*K),h+=k*(5*O),h+=_*(5*L),h+=S*(5*Y),p=c+=(h+=N*(5*U))>>>13,p+=w*U,p+=E*H,p+=b*G,p+=v*x,c=(p+=D*F)>>>13,p&=8191,p+=M*(5*P),p+=k*(5*K),p+=_*(5*O),p+=S*(5*L),I=c+=(p+=N*(5*Y))>>>13,I+=w*Y,I+=E*U,I+=b*H,I+=v*G,c=(I+=D*x)>>>13,I&=8191,I+=M*F,I+=k*(5*P),I+=_*(5*K),I+=S*(5*O),B=c+=(I+=N*(5*L))>>>13,B+=w*L,B+=E*Y,B+=b*U,B+=v*H,c=(B+=D*G)>>>13,B&=8191,B+=M*x,B+=k*F,B+=_*(5*P),B+=S*(5*K),C=c+=(B+=N*(5*O))>>>13,C+=w*O,C+=E*L,C+=b*Y,C+=v*U,c=(C+=D*H)>>>13,C&=8191,C+=M*G,C+=k*x,C+=_*F,C+=S*(5*P),m=c+=(C+=N*(5*K))>>>13,m+=w*K,m+=E*O,m+=b*L,m+=v*Y,c=(m+=D*U)>>>13,m&=8191,m+=M*H,m+=k*G,m+=_*x,m+=S*F,y=c+=(m+=N*(5*P))>>>13,y+=w*P,y+=E*K,y+=b*O,y+=v*L,c=(y+=D*Y)>>>13,y&=8191,y+=M*U,y+=k*H,y+=_*G,y+=S*x,w=f=8191&(c=(c=((c+=(y+=N*F)>>>13)<<2)+c|0)+(f&=8191)|0),E=d+=c>>>=13,b=g&=8191,v=h&=8191,D=p&=8191,M=I&=8191,k=B&=8191,_=C&=8191,S=m&=8191,N=y&=8191,t+=16,r-=16;this.h[0]=w,this.h[1]=E,this.h[2]=b,this.h[3]=v,this.h[4]=D,this.h[5]=M,this.h[6]=k,this.h[7]=_,this.h[8]=S,this.h[9]=N},b.prototype.finish=function(e,t){var r,n,A,i,o=new Uint16Array(10);if(this.leftover){for(i=this.leftover,this.buffer[i++]=1;i<16;i++)this.buffer[i]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(r=this.h[1]>>>13,this.h[1]&=8191,i=2;i<10;i++)this.h[i]+=r,r=this.h[i]>>>13,this.h[i]&=8191;for(this.h[0]+=5*r,r=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=r,r=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=r,o[0]=this.h[0]+5,r=o[0]>>>13,o[0]&=8191,i=1;i<10;i++)o[i]=this.h[i]+r,r=o[i]>>>13,o[i]&=8191;for(o[9]-=8192,n=(1^r)-1,i=0;i<10;i++)o[i]&=n;for(n=~n,i=0;i<10;i++)this.h[i]=this.h[i]&n|o[i];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),A=this.h[0]+this.pad[0],this.h[0]=65535&A,i=1;i<8;i++)A=(this.h[i]+this.pad[i]|0)+(A>>>16)|0,this.h[i]=65535&A;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},b.prototype.update=function(e,t,r){var n,A;if(this.leftover){for((A=16-this.leftover)>r&&(A=r),n=0;n<A;n++)this.buffer[this.leftover+n]=e[t+n];if(r-=A,t+=A,this.leftover+=A,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(r>=16&&(A=r-r%16,this.blocks(e,t,A),t+=A,r-=A),r){for(n=0;n<r;n++)this.buffer[this.leftover+n]=e[t+n];this.leftover+=r}};var q=M,V=k;var W=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function z(e,t,r,n){for(var A,i,o,a,s,u,l,c,f,d,g,h,p,I,B,C,m,y,Q,w,E,b,v,D,M,k,_=new Int32Array(16),S=new Int32Array(16),N=e[0],F=e[1],x=e[2],G=e[3],H=e[4],U=e[5],Y=e[6],L=e[7],O=t[0],K=t[1],P=t[2],R=t[3],T=t[4],J=t[5],j=t[6],q=t[7],V=0;n>=128;){for(Q=0;Q<16;Q++)w=8*Q+V,_[Q]=r[w+0]<<24|r[w+1]<<16|r[w+2]<<8|r[w+3],S[Q]=r[w+4]<<24|r[w+5]<<16|r[w+6]<<8|r[w+7];for(Q=0;Q<80;Q++)if(A=N,i=F,o=x,a=G,s=H,u=U,l=Y,L,f=O,d=K,g=P,h=R,p=T,I=J,B=j,q,v=65535&(b=q),D=b>>>16,M=65535&(E=L),k=E>>>16,v+=65535&(b=(T>>>14|H<<18)^(T>>>18|H<<14)^(H>>>9|T<<23)),D+=b>>>16,M+=65535&(E=(H>>>14|T<<18)^(H>>>18|T<<14)^(T>>>9|H<<23)),k+=E>>>16,v+=65535&(b=T&J^~T&j),D+=b>>>16,M+=65535&(E=H&U^~H&Y),k+=E>>>16,E=W[2*Q],v+=65535&(b=W[2*Q+1]),D+=b>>>16,M+=65535&E,k+=E>>>16,E=_[Q%16],D+=(b=S[Q%16])>>>16,M+=65535&E,k+=E>>>16,M+=(D+=(v+=65535&b)>>>16)>>>16,v=65535&(b=y=65535&v|D<<16),D=b>>>16,M=65535&(E=m=65535&M|(k+=M>>>16)<<16),k=E>>>16,v+=65535&(b=(O>>>28|N<<4)^(N>>>2|O<<30)^(N>>>7|O<<25)),D+=b>>>16,M+=65535&(E=(N>>>28|O<<4)^(O>>>2|N<<30)^(O>>>7|N<<25)),k+=E>>>16,D+=(b=O&K^O&P^K&P)>>>16,M+=65535&(E=N&F^N&x^F&x),k+=E>>>16,c=65535&(M+=(D+=(v+=65535&b)>>>16)>>>16)|(k+=M>>>16)<<16,C=65535&v|D<<16,v=65535&(b=h),D=b>>>16,M=65535&(E=a),k=E>>>16,D+=(b=y)>>>16,M+=65535&(E=m),k+=E>>>16,F=A,x=i,G=o,H=a=65535&(M+=(D+=(v+=65535&b)>>>16)>>>16)|(k+=M>>>16)<<16,U=s,Y=u,L=l,N=c,K=f,P=d,R=g,T=h=65535&v|D<<16,J=p,j=I,q=B,O=C,Q%16==15)for(w=0;w<16;w++)E=_[w],v=65535&(b=S[w]),D=b>>>16,M=65535&E,k=E>>>16,E=_[(w+9)%16],v+=65535&(b=S[(w+9)%16]),D+=b>>>16,M+=65535&E,k+=E>>>16,m=_[(w+1)%16],v+=65535&(b=((y=S[(w+1)%16])>>>1|m<<31)^(y>>>8|m<<24)^(y>>>7|m<<25)),D+=b>>>16,M+=65535&(E=(m>>>1|y<<31)^(m>>>8|y<<24)^m>>>7),k+=E>>>16,m=_[(w+14)%16],D+=(b=((y=S[(w+14)%16])>>>19|m<<13)^(m>>>29|y<<3)^(y>>>6|m<<26))>>>16,M+=65535&(E=(m>>>19|y<<13)^(y>>>29|m<<3)^m>>>6),k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,_[w]=65535&M|k<<16,S[w]=65535&v|D<<16;v=65535&(b=O),D=b>>>16,M=65535&(E=N),k=E>>>16,E=e[0],D+=(b=t[0])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[0]=N=65535&M|k<<16,t[0]=O=65535&v|D<<16,v=65535&(b=K),D=b>>>16,M=65535&(E=F),k=E>>>16,E=e[1],D+=(b=t[1])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[1]=F=65535&M|k<<16,t[1]=K=65535&v|D<<16,v=65535&(b=P),D=b>>>16,M=65535&(E=x),k=E>>>16,E=e[2],D+=(b=t[2])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[2]=x=65535&M|k<<16,t[2]=P=65535&v|D<<16,v=65535&(b=R),D=b>>>16,M=65535&(E=G),k=E>>>16,E=e[3],D+=(b=t[3])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[3]=G=65535&M|k<<16,t[3]=R=65535&v|D<<16,v=65535&(b=T),D=b>>>16,M=65535&(E=H),k=E>>>16,E=e[4],D+=(b=t[4])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[4]=H=65535&M|k<<16,t[4]=T=65535&v|D<<16,v=65535&(b=J),D=b>>>16,M=65535&(E=U),k=E>>>16,E=e[5],D+=(b=t[5])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[5]=U=65535&M|k<<16,t[5]=J=65535&v|D<<16,v=65535&(b=j),D=b>>>16,M=65535&(E=Y),k=E>>>16,E=e[6],D+=(b=t[6])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[6]=Y=65535&M|k<<16,t[6]=j=65535&v|D<<16,v=65535&(b=q),D=b>>>16,M=65535&(E=L),k=E>>>16,E=e[7],D+=(b=t[7])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[7]=L=65535&M|k<<16,t[7]=q=65535&v|D<<16,V+=128,n-=128}return n}function Z(e,t,r){var n,A=new Int32Array(8),i=new Int32Array(8),o=new Uint8Array(256),a=r;for(A[0]=1779033703,A[1]=3144134277,A[2]=1013904242,A[3]=2773480762,A[4]=1359893119,A[5]=2600822924,A[6]=528734635,A[7]=1541459225,i[0]=4089235720,i[1]=2227873595,i[2]=4271175723,i[3]=1595750129,i[4]=2917565137,i[5]=725511199,i[6]=4215389547,i[7]=327033209,z(A,i,t,r),r%=128,n=0;n<r;n++)o[n]=t[a-r+n];for(o[r]=128,o[(r=256-128*(r<112?1:0))-9]=0,g(o,r-8,a/536870912|0,a<<3),z(A,i,o,r),n=0;n<8;n++)g(e,8*n,A[n],i[n]);return 0}function X(e,r){var n=t(),A=t(),i=t(),o=t(),a=t(),s=t(),u=t(),c=t(),f=t();Y(n,e[1],e[0]),Y(f,r[1],r[0]),L(n,n,f),U(A,e[0],e[1]),U(f,r[0],r[1]),L(A,A,f),L(i,e[3],r[3]),L(i,i,l),L(o,e[2],r[2]),U(o,o,o),Y(a,A,n),Y(s,o,i),U(u,o,i),U(c,A,n),L(e[0],a,s),L(e[1],c,u),L(e[2],u,s),L(e[3],a,c)}function $(e,t,r){var n;for(n=0;n<4;n++)N(e[n],t[n],r)}function ee(e,r){var n=t(),A=t(),i=t();K(i,r[2]),L(n,r[0],i),L(A,r[1],i),F(e,A),e[31]^=G(n)<<7}function te(e,t,r){var n,A;for(_(e[0],o),_(e[1],a),_(e[2],a),_(e[3],o),A=255;A>=0;--A)$(e,t,n=r[A/8|0]>>(7&A)&1),X(t,e),X(e,e),$(e,t,n)}function re(e,r){var n=[t(),t(),t(),t()];_(n[0],c),_(n[1],f),_(n[2],a),L(n[3],c,f),te(e,n,r)}function ne(e,r,A){var i,o=new Uint8Array(64),a=[t(),t(),t(),t()];for(A||n(r,32),Z(o,r,32),o[0]&=248,o[31]&=127,o[31]|=64,re(a,o),ee(e,a),i=0;i<32;i++)r[i+32]=e[i];return 0}var Ae=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function ie(e,t){var r,n,A,i;for(n=63;n>=32;--n){for(r=0,A=n-32,i=n-12;A<i;++A)t[A]+=r-16*t[n]*Ae[A-(n-32)],r=Math.floor((t[A]+128)/256),t[A]-=256*r;t[A]+=r,t[n]=0}for(r=0,A=0;A<32;A++)t[A]+=r-(t[31]>>4)*Ae[A],r=t[A]>>8,t[A]&=255;for(A=0;A<32;A++)t[A]-=r*Ae[A];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function oe(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;ie(e,r)}function ae(e,r,n,A){var i,o,a=new Uint8Array(64),s=new Uint8Array(64),u=new Uint8Array(64),l=new Float64Array(64),c=[t(),t(),t(),t()];Z(a,A,32),a[0]&=248,a[31]&=127,a[31]|=64;var f=n+64;for(i=0;i<n;i++)e[64+i]=r[i];for(i=0;i<32;i++)e[32+i]=a[32+i];for(Z(u,e.subarray(32),n+32),oe(u),re(c,u),ee(e,c),i=32;i<64;i++)e[i]=A[i];for(Z(s,e,n+64),oe(s),i=0;i<64;i++)l[i]=0;for(i=0;i<32;i++)l[i]=u[i];for(i=0;i<32;i++)for(o=0;o<32;o++)l[i+o]+=s[i]*a[o];return ie(e.subarray(32),l),f}function se(e,r,n,A){var i,s=new Uint8Array(32),l=new Uint8Array(64),c=[t(),t(),t(),t()],f=[t(),t(),t(),t()];if(n<64)return-1;if(function(e,r){var n=t(),A=t(),i=t(),s=t(),l=t(),c=t(),f=t();return _(e[2],a),H(e[1],r),O(i,e[1]),L(s,i,u),Y(i,i,e[2]),U(s,e[2],s),O(l,s),O(c,l),L(f,c,l),L(n,f,i),L(n,n,s),P(n,n),L(n,n,i),L(n,n,s),L(n,n,s),L(e[0],n,s),O(A,e[0]),L(A,A,s),x(A,i)&&L(e[0],e[0],d),O(A,e[0]),L(A,A,s),x(A,i)?-1:(G(e[0])===r[31]>>7&&Y(e[0],o,e[0]),L(e[3],e[0],e[1]),0)}(f,A))return-1;for(i=0;i<n;i++)e[i]=r[i];for(i=0;i<32;i++)e[i+32]=A[i];if(Z(l,e,n),oe(l),te(c,f,l),re(f,r.subarray(32)),X(c,f),ee(s,c),n-=64,I(r,0,s,0)){for(i=0;i<n;i++)e[i]=0;return-1}for(i=0;i<n;i++)e[i]=r[i+64];return n}var ue=32,le=24,ce=32,fe=32,de=le;function ge(e,t){if(e.length!==ue)throw new Error("bad key size");if(t.length!==le)throw new Error("bad nonce size")}function he(){for(var e=0;e<arguments.length;e++)if(!(arguments[e]instanceof Uint8Array))throw new TypeError("unexpected type, use Uint8Array")}function pe(e){for(var t=0;t<e.length;t++)e[t]=0}e.lowlevel={crypto_core_hsalsa20:C,crypto_stream_xor:E,crypto_stream:w,crypto_stream_salsa20_xor:y,crypto_stream_salsa20:Q,crypto_onetimeauth:v,crypto_onetimeauth_verify:D,crypto_verify_16:p,crypto_verify_32:I,crypto_secretbox:M,crypto_secretbox_open:k,crypto_scalarmult:R,crypto_scalarmult_base:T,crypto_box_beforenm:j,crypto_box_afternm:q,crypto_box:function(e,t,r,n,A,i){var o=new Uint8Array(32);return j(o,A,i),q(e,t,r,n,o)},crypto_box_open:function(e,t,r,n,A,i){var o=new Uint8Array(32);return j(o,A,i),V(e,t,r,n,o)},crypto_box_keypair:J,crypto_hash:Z,crypto_sign:ae,crypto_sign_keypair:ne,crypto_sign_open:se,crypto_secretbox_KEYBYTES:ue,crypto_secretbox_NONCEBYTES:le,crypto_secretbox_ZEROBYTES:32,crypto_secretbox_BOXZEROBYTES:16,crypto_scalarmult_BYTES:32,crypto_scalarmult_SCALARBYTES:32,crypto_box_PUBLICKEYBYTES:ce,crypto_box_SECRETKEYBYTES:fe,crypto_box_BEFORENMBYTES:32,crypto_box_NONCEBYTES:de,crypto_box_ZEROBYTES:32,crypto_box_BOXZEROBYTES:16,crypto_sign_BYTES:64,crypto_sign_PUBLICKEYBYTES:32,crypto_sign_SECRETKEYBYTES:64,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64,gf:t,D:u,L:Ae,pack25519:F,unpack25519:H,M:L,A:U,S:O,Z:Y,pow2523:P,add:X,set25519:_,modL:ie,scalarmult:te,scalarbase:re},e.randomBytes=function(e){var t=new Uint8Array(e);return n(t,e),t},e.secretbox=function(e,t,r){he(e,t,r),ge(r,t);for(var n=new Uint8Array(32+e.length),A=new Uint8Array(n.length),i=0;i<e.length;i++)n[i+32]=e[i];return M(A,n,n.length,t,r),A.subarray(16)},e.secretbox.open=function(e,t,r){he(e,t,r),ge(r,t);for(var n=new Uint8Array(16+e.length),A=new Uint8Array(n.length),i=0;i<e.length;i++)n[i+16]=e[i];return n.length<32?null:0!==k(A,n,n.length,t,r)?null:A.subarray(32)},e.secretbox.keyLength=ue,e.secretbox.nonceLength=le,e.secretbox.overheadLength=16,e.scalarMult=function(e,t){if(he(e,t),32!==e.length)throw new Error("bad n size");if(32!==t.length)throw new Error("bad p size");var r=new Uint8Array(32);return R(r,e,t),r},e.scalarMult.base=function(e){if(he(e),32!==e.length)throw new Error("bad n size");var t=new Uint8Array(32);return T(t,e),t},e.scalarMult.scalarLength=32,e.scalarMult.groupElementLength=32,e.box=function(t,r,n,A){var i=e.box.before(n,A);return e.secretbox(t,r,i)},e.box.before=function(e,t){he(e,t),function(e,t){if(e.length!==ce)throw new Error("bad public key size");if(t.length!==fe)throw new Error("bad secret key size")}(e,t);var r=new Uint8Array(32);return j(r,e,t),r},e.box.after=e.secretbox,e.box.open=function(t,r,n,A){var i=e.box.before(n,A);return e.secretbox.open(t,r,i)},e.box.open.after=e.secretbox.open,e.box.keyPair=function(){var e=new Uint8Array(ce),t=new Uint8Array(fe);return J(e,t),{publicKey:e,secretKey:t}},e.box.keyPair.fromSecretKey=function(e){if(he(e),e.length!==fe)throw new Error("bad secret key size");var t=new Uint8Array(ce);return T(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},e.box.publicKeyLength=ce,e.box.secretKeyLength=fe,e.box.sharedKeyLength=32,e.box.nonceLength=de,e.box.overheadLength=e.secretbox.overheadLength,e.sign=function(e,t){if(he(e,t),64!==t.length)throw new Error("bad secret key size");var r=new Uint8Array(64+e.length);return ae(r,e,e.length,t),r},e.sign.open=function(e,t){if(he(e,t),32!==t.length)throw new Error("bad public key size");var r=new Uint8Array(e.length),n=se(r,e,e.length,t);if(n<0)return null;for(var A=new Uint8Array(n),i=0;i<A.length;i++)A[i]=r[i];return A},e.sign.detached=function(t,r){for(var n=e.sign(t,r),A=new Uint8Array(64),i=0;i<A.length;i++)A[i]=n[i];return A},e.sign.detached.verify=function(e,t,r){if(he(e,t,r),64!==t.length)throw new Error("bad signature size");if(32!==r.length)throw new Error("bad public key size");var n,A=new Uint8Array(64+e.length),i=new Uint8Array(64+e.length);for(n=0;n<64;n++)A[n]=t[n];for(n=0;n<e.length;n++)A[n+64]=e[n];return se(i,A,A.length,r)>=0},e.sign.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(64);return ne(e,t),{publicKey:e,secretKey:t}},e.sign.keyPair.fromSecretKey=function(e){if(he(e),64!==e.length)throw new Error("bad secret key size");for(var t=new Uint8Array(32),r=0;r<t.length;r++)t[r]=e[32+r];return{publicKey:t,secretKey:new Uint8Array(e)}},e.sign.keyPair.fromSeed=function(e){if(he(e),32!==e.length)throw new Error("bad seed size");for(var t=new Uint8Array(32),r=new Uint8Array(64),n=0;n<32;n++)r[n]=e[n];return ne(t,r,!0),{publicKey:t,secretKey:r}},e.sign.publicKeyLength=32,e.sign.secretKeyLength=64,e.sign.seedLength=32,e.sign.signatureLength=64,e.hash=function(e){he(e);var t=new Uint8Array(64);return Z(t,e,e.length),t},e.hash.hashLength=64,e.verify=function(e,t){return he(e,t),0!==e.length&&0!==t.length&&(e.length===t.length&&0===h(e,0,t,0,e.length))},e.setPRNG=function(e){n=e},function(){var t="undefined"!=typeof self?self.crypto||self.msCrypto:null;if(t&&t.getRandomValues){e.setPRNG(function(e,r){var n,A=new Uint8Array(r);for(n=0;n<r;n+=65536)t.getRandomValues(A.subarray(n,n+Math.min(r-n,65536)));for(n=0;n<r;n++)e[n]=A[n];pe(A)})}else(t=r(1875))&&t.randomBytes&&e.setPRNG(function(e,r){var n,A=t.randomBytes(r);for(n=0;n<r;n++)e[n]=A[n];pe(A)})}()}(e.exports?e.exports:self.nacl=self.nacl||{})},function(e,t,r){"use strict";var n=t,A=r(162),i=r(57),o=r(216);n.assert=i,n.toArray=o.toArray,n.zero2=o.zero2,n.toHex=o.toHex,n.encode=o.encode,n.getNAF=function(e,t,r){var n=new Array(Math.max(e.bitLength(),r)+1);n.fill(0);for(var A=1<<t+1,i=e.clone(),o=0;o<n.length;o++){var a,s=i.andln(A-1);i.isOdd()?(a=s>(A>>1)-1?(A>>1)-s:s,i.isubn(a)):a=0,n[o]=a,i.iushrn(1)}return n},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,A=0;e.cmpn(-n)>0||t.cmpn(-A)>0;){var i,o,a,s=e.andln(3)+n&3,u=t.andln(3)+A&3;if(3===s&&(s=-1),3===u&&(u=-1),0==(1&s))i=0;else i=3!==(a=e.andln(7)+n&7)&&5!==a||2!==u?s:-s;if(r[0].push(i),0==(1&u))o=0;else o=3!==(a=t.andln(7)+A&7)&&5!==a||2!==s?u:-u;r[1].push(o),2*n===i+1&&(n=1-n),2*A===o+1&&(A=1-A),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new A(e,"hex","le")}},function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n="function"==typeof Symbol&&Symbol.observable||"@@observable"},function(e,t,r){"use strict";function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}r.d(t,"a",function(){return A}),n.prototype=Object.create(Error.prototype);var A=n},,function(e,t,r){"use strict";var n=r(213),A=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var i=r(172);i.inherits=r(20);var o=r(390),a=r(258);i.inherits(c,o);for(var s=A(a.prototype),u=0;u<s.length;u++){var l=s[u];c.prototype[l]||(c.prototype[l]=a.prototype[l])}function c(e){if(!(this instanceof c))return new c(e);o.call(this,e),a.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),c.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},function(e,t,r){"use strict";var n=r(8).Buffer,A=r(20),i=r(389),o=new Array(16),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],s=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],l=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],c=[0,1518500249,1859775393,2400959708,2840853838],f=[1352829926,1548603684,1836072691,2053994217,0];function d(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function g(e,t){return e<<t|e>>>32-t}function h(e,t,r,n,A,i,o,a){return g(e+(t^r^n)+i+o|0,a)+A|0}function p(e,t,r,n,A,i,o,a){return g(e+(t&r|~t&n)+i+o|0,a)+A|0}function I(e,t,r,n,A,i,o,a){return g(e+((t|~r)^n)+i+o|0,a)+A|0}function B(e,t,r,n,A,i,o,a){return g(e+(t&n|r&~n)+i+o|0,a)+A|0}function C(e,t,r,n,A,i,o,a){return g(e+(t^(r|~n))+i+o|0,a)+A|0}A(d,i),d.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,A=0|this._c,i=0|this._d,d=0|this._e,m=0|this._a,y=0|this._b,Q=0|this._c,w=0|this._d,E=0|this._e,b=0;b<80;b+=1){var v,D;b<16?(v=h(r,n,A,i,d,e[a[b]],c[0],u[b]),D=C(m,y,Q,w,E,e[s[b]],f[0],l[b])):b<32?(v=p(r,n,A,i,d,e[a[b]],c[1],u[b]),D=B(m,y,Q,w,E,e[s[b]],f[1],l[b])):b<48?(v=I(r,n,A,i,d,e[a[b]],c[2],u[b]),D=I(m,y,Q,w,E,e[s[b]],f[2],l[b])):b<64?(v=B(r,n,A,i,d,e[a[b]],c[3],u[b]),D=p(m,y,Q,w,E,e[s[b]],f[3],l[b])):(v=C(r,n,A,i,d,e[a[b]],c[4],u[b]),D=h(m,y,Q,w,E,e[s[b]],f[4],l[b])),r=d,d=i,i=g(A,10),A=n,n=v,m=E,E=w,w=g(Q,10),Q=y,y=D}var M=this._b+A+w|0;this._b=this._c+i+E|0,this._c=this._d+d+m|0,this._d=this._e+r+y|0,this._e=this._a+n+Q|0,this._a=M},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=d},function(e,t,r){var n=t;n.utils=r(84),n.common=r(174),n.sha=r(608),n.ripemd=r(612),n.hmac=r(613),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(e,t,r){var n=r(5),A=r(470),i=r(1396),o=r(851);function a(t){var r="function"==typeof Map?new Map:void 0;return e.exports=a=function(e){if(null===e||!i(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return o(e,arguments,n(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),A(t,e)},a(t)}e.exports=a},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(59)),i=n(r(4)),o=n(r(18)),a=n(r(6)),s=n(r(5)),u=n(r(7)),l=r(14),c=r(458),f=r(136),d=function(e){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,i.default)(this,t),(0,a.default)(this,(0,s.default)(t).call(this,t.decodeCompact((0,f.typeToConstructor)(e),r)))}return(0,u.default)(t,e),(0,o.default)(t,[{key:"bitLength",value:function(){return this.raw.bitLength()}},{key:"eq",value:function(e){return this.raw.eq(e instanceof t?e.raw:e)}},{key:"toBn",value:function(){return this.raw.toBn()}},{key:"toNumber",value:function(){return this.raw.toNumber()}},{key:"toRawType",value:function(){return"Compact<".concat(this.raw.toRawType(),">")}},{key:"toU8a",value:function(e){return t.encodeU8a(this.raw.toBn())}},{key:"unwrap",value:function(){return this.raw}}],[{key:"with",value:function(e){return function(t){function r(t){return(0,i.default)(this,r),(0,a.default)(this,(0,s.default)(r).call(this,e,t))}return(0,u.default)(r,t),r}(t)}},{key:"stripLengthPrefix",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.DEFAULT_BITLENGTH,r=(0,l.compactStripLength)(e,t),n=(0,A.default)(r,2),i=n[1];return i}},{key:"decodeCompact",value:function(e,r){if(r instanceof t)return new e(r.raw);if((0,l.isString)(r)||(0,l.isNumber)(r)||(0,l.isBn)(r))return new e(r);var n=t.decodeU8a(r,new e(0).bitLength());return new e((0,A.default)(n,2)[1])}}]),t}(n(r(332)).default);t.default=d,d.addLengthPrefix=l.compactAddLength,d.decodeU8a=l.compactFromU8a,d.encodeU8a=l.compactToU8a},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(85)),u=n(r(7)),l=n(r(124)),c=r(14),f=r(67),d=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,t.decodeU8a(e)))}return(0,u.default)(t,e),(0,i.default)(t,[{key:"bitLength",value:function(){return 8*this.length}},{key:"eq",value:function(e){return e instanceof Uint8Array?this.length===e.length&&!this.some(function(t,r){return t!==e[r]}):this.eq(t.decodeU8a(e))}},{key:"subarray",value:function(e,t){return Uint8Array.from(this).subarray(e,t)}},{key:"toHex",value:function(){return(0,c.u8aToHex)(this)}},{key:"toJSON",value:function(){return this.toHex()}},{key:"toRawType",value:function(){return"&[u8]"}},{key:"toString",value:function(){return this.toHex()}},{key:"toU8a",value:function(e){return Uint8Array.from(this)}},{key:"encodedLength",get:function(){return this.length}},{key:"hash",get:function(){return new t((0,f.blake2AsU8a)(this.toU8a(),256))}},{key:"isEmpty",get:function(){return!this.length||(0,c.isUndefined)(this.find(function(e){return!!e}))}},{key:"length",get:function(){return(0,s.default)((0,a.default)(t.prototype),"length",this)}}],[{key:"decodeU8a",value:function(e){return(0,c.isU8a)(e)?e:(0,c.u8aToU8a)(e)}}]),t}((0,l.default)(Uint8Array));t.default=d},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(59)),i=n(r(4)),o=n(r(18)),a=n(r(6)),s=n(r(5)),u=n(r(85)),l=n(r(7)),c=n(r(124)),f=r(14),d=n(r(125)),g=function(e){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,i.default)(this,t),e=(0,a.default)(this,(0,s.default)(t).call(this,t.decodeText(r))),r instanceof Uint8Array&&(e._rawU8a=t.decodeU8a(r)),e}return(0,l.default)(t,e),(0,o.default)(t,[{key:"toHex",value:function(){return(0,f.u8aToHex)(this.toU8a())}},{key:"toJSON",value:function(){return this.toString()}},{key:"toString",value:function(){return(0,u.default)((0,s.default)(t.prototype),"toString",this).call(this)}},{key:"toU8a",value:function(e){if(this._rawU8a)return e?this._rawU8a:d.default.addLengthPrefix(this._rawU8a);var t=(0,f.stringToU8a)(this.toString());return e?t:d.default.addLengthPrefix(t)}},{key:"encodedLength",get:function(){return this.toU8a().length}},{key:"length",get:function(){return(0,u.default)((0,s.default)(t.prototype),"length",this)}}],[{key:"decodeU8a",value:function(e){if(!e.length)return Uint8Array.from([]);var t=d.default.decodeU8a(e),r=(0,A.default)(t,2),n=r[0],i=n+r[1].toNumber();return(0,f.assert)(i<=e.length,"Text: required length less than remainder, expected at least ".concat(i,", found ").concat(e.length)),e.subarray(n,i)}},{key:"decodeText",value:function(e){if((0,f.isString)(e))return e.toString();if(e instanceof Uint8Array){if(!e.length)return"";var t=d.default.decodeU8a(e),r=(0,A.default)(t,2),n=r[0],i=n+r[1].toNumber();return(0,f.u8aToString)(e.subarray(n,i))}return"".concat(e)}}]),t}((0,c.default)(String));t.default=g},function(e,t,r){var n=r(293),A=r(75),i=r(346),o=r(947),a=function(e){n.config(i.ETH_BIGNUMBER_ROUNDING_MODE);var t=A.padLeft(A.toTwosComplement(e).toString(16),64);return new o(t)},s=function(e){var t=e.staticPart()||"0";return function(e){return"1"===new n(e.substr(0,1),16).toString(2).substr(0,1)}(t)?new n(t,16).minus(new n("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16)).minus(1):new n(t,16)},u=function(e){var t=e.staticPart()||"0";return new n(t,16)};e.exports={formatInputInt:a,formatInputBytes:function(e){var t=A.toHex(e).substr(2),r=Math.floor((t.length+63)/64);return t=A.padRight(t,64*r),new o(t)},formatInputDynamicBytes:function(e){var t=A.toHex(e).substr(2),r=t.length/2,n=Math.floor((t.length+63)/64);return t=A.padRight(t,64*n),new o(a(r).value+t)},formatInputString:function(e){var t=A.fromUtf8(e).substr(2),r=t.length/2,n=Math.floor((t.length+63)/64);return t=A.padRight(t,64*n),new o(a(r).value+t)},formatInputBool:function(e){return new o("000000000000000000000000000000000000000000000000000000000000000"+(e?"1":"0"))},formatInputReal:function(e){return a(new n(e).times(new n(2).pow(128)))},formatOutputInt:s,formatOutputUInt:u,formatOutputReal:function(e){return s(e).dividedBy(new n(2).pow(128))},formatOutputUReal:function(e){return u(e).dividedBy(new n(2).pow(128))},formatOutputBool:function(e){return"0000000000000000000000000000000000000000000000000000000000000001"===e.staticPart()},formatOutputBytes:function(e,t){var r=t.match(/^bytes([0-9]*)/),n=parseInt(r[1]);return"0x"+e.staticPart().slice(0,2*n)},formatOutputDynamicBytes:function(e){var t=2*new n(e.dynamicPart().slice(0,64),16).toNumber();return"0x"+e.dynamicPart().substr(64,t)},formatOutputString:function(e){var t=2*new n(e.dynamicPart().slice(0,64),16).toNumber();return A.toUtf8(e.dynamicPart().substr(64,t))},formatOutputAddress:function(e){var t=e.staticPart();return"0x"+t.slice(t.length-40,t.length)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=n.__importDefault(r(522));t.mitt=A.default,n.__exportStar(r(523),t),n.__exportStar(r(958),t),n.__exportStar(r(959),t),n.__exportStar(r(524),t),n.__exportStar(r(296),t),n.__exportStar(r(960),t),n.__exportStar(r(1770),t),n.__exportStar(r(1771),t),n.__exportStar(r(961),t),n.__exportStar(r(526),t),n.__exportStar(r(525),t),n.__exportStar(r(1772),t),n.__exportStar(r(527),t),n.__exportStar(r(1773),t),n.__exportStar(r(1774),t),n.__exportStar(r(297),t),n.__exportStar(r(1775),t),n.__exportStar(r(1776),t),n.__exportStar(r(1777),t),n.__exportStar(r(1778),t),n.__exportStar(r(1779),t),n.__exportStar(r(1780),t)},function(e,t,r){"use strict";r.d(t,"a",function(){return u});var n=r(2),A=r(25),i=r(26),o=r(82),a=r(51),s=r(64);function u(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof t?function(n){return n.pipe(u(function(r,n){return Object(s.a)(e(r,n)).pipe(Object(a.a)(function(e,A){return t(r,e,n,A)}))},r))}:("number"==typeof t&&(r=t),function(t){return t.lift(new l(e,r))})}var l=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.project,this.concurrent))},e}(),c=function(e){function t(t,r,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var A=e.call(this,t)||this;return A.project=r,A.concurrent=n,A.hasCompleted=!1,A.buffer=[],A.active=0,A.index=0,A}return n.__extends(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t,e,r)},t.prototype._innerSub=function(e,t,r){var n=new o.a(this,void 0,void 0);this.destination.add(n),Object(A.a)(this,e,t,r,n)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,r,n,A){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(i.a)},function(e,t,r){"use strict";function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}r.d(t,"a",function(){return A}),n.prototype=Object.create(Error.prototype);var A=n},function(e,t,r){"use strict";r.d(t,"a",function(){return A});const n=window.crypto||window.msCrypto;class A{static getCharset(e){const t="abcdefghijklmnopqrstuvwxyz",r=t.toUpperCase();if("alphanumeric"===e)return"0123456789"+t+r;if("numeric"===e)return"0123456789";if("alphabetic"===e)return t+r;if("hex"===e)return"0123456789abcdef";const n={},A=e.length;for(let t=0;t<A;++t)n[e[t]]=!0;return Object.keys(n).sort().join("")}static rand(e=32,t="alphanumeric"){const r=A.getCharset(t),i=r.length,o=256-256%i;let a=e,s="";for(;a>0;){const e=Math.min(Math.ceil(256*a/o),65535),t=new Uint8Array(e);n.getRandomValues(t);for(let e=0;e<t.length&&a>0;++e){const n=t[e];n<o&&(s+=r.charAt(n%i),--a)}}return s}static numeric(e){return A.rand(e,"numeric")}static text(e){return A.rand(e,"alphanumeric")}}},function(e,t,r){"use strict";function n(e){return"function"==typeof e}r.d(t,"a",function(){return n})},function(e,t,r){"use strict";r.d(t,"b",function(){return o}),r.d(t,"a",function(){return a}),r.d(t,"c",function(){return s});var n=r(30),A=r(171),i=r(3);const o=[new A.a(i.c.EOS,"Scatter",!1),new A.a(i.c.ETH,"MetaMask",!1),new A.a(i.c.TRX,"TronLink",!1)],a={[i.c.POLKADOT]:[{type:"sr25519",desc:"Schnorrkel(sr25519)"},{type:"ed25519",desc:"Edwards(ed25519)"}],[i.c.BTC]:[{type:"segwit",desc:"Segwit"},{type:"normal",desc:"Normal"}]},s=[new n.a("Bitcoin",i.c.BTC,"MAINNET","",!0),new n.a("EOS",i.c.EOS,"aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906","https://eosmainnet.maiziqianbao.net",!0),new n.a("BOS",i.c.EOS,"d5a3d18fbb3c084e3b1f3fa98c21014b5f3db536cc15d08f9f6479517c6a3d86","https://bos.maiziqianbao.net",!1),new n.a("EOS Force",i.c.EOS,"bd61ae3a031e8ef2f97ee3b0e62776d6d30d4833c8f7c1645c657b149151004b","https://eosforcenet.maiziqianbao.net",!1),new n.a("Telos",i.c.EOS,"4667b205c6838ef70ff7988f6e8257e8be0e1284a2f59699054a018f743b1d11","https://telos.maiziqianbao.net",!1),new n.a("MEET.ONE",i.c.EOS,"cfe6486a83bad4962f232d48003b1824ab5665c36778141034d75e57b956e422","https://fullnode.meet.one",!1),new n.a("Worbli",i.c.EOS,"73647cde120091e0a4b85bced2f3cfdb3041e266cbbe95cee59b73235a1b3b6f","https://api.worbli.io",!1),new n.a("WAX",i.c.EOS,"1064487b3cd1a897ce03ae5b6a865651747e2e152090f99c1d19d44e01aea5a4","https://chain.wax.io",!1),new n.a("YAS",i.c.EOS,"ed8636abfe625d99fc9a759d49a016fd8dcae9193676a020aae2540c9fffe32f","https://yas.maiziqianbao.net",!1),new n.a("Jungle",i.c.EOS,"e70aaab8997e1dfce58fbfac80cbbb8fecec7b99cf982a9444273cbc64c41473","https://jungle2.cryptolions.io",!1),new n.a("Kylin",i.c.EOS,"5fff1dae8dc8e2fc4d5b23b2c7665c97f9e9d8edf2b6485a86ba311c25639191","https://api-kylin.eoslaomao.com",!1),new n.a("Ethereum",i.c.ETH,"1","https://jsonrpc.maiziqianbao.net",!0),new n.a("Ropsten",i.c.ETH,"3","https://ropsten.infura.io/v3/4ba66d1ed843403d8a3928c47c6d731d"),new n.a("Rinkeby",i.c.ETH,"4","https://rinkeby.infura.io/v3/4ba66d1ed843403d8a3928c47c6d731d"),new n.a("Kovan",i.c.ETH,"42","https://kovan.infura.io/v3/4ba66d1ed843403d8a3928c47c6d731d"),new n.a("Ethereum Classic",i.c.ETH,"1","https://ethereumclassic.network",!1,!1,"classic"),new n.a("TomoChain",i.c.ETH,"88","https://rpc.tomochain.com",!1,!1,"tomo"),new n.a("TRON",i.c.TRX,"","https://api.trongrid.io",!0),new n.a("Shasta",i.c.TRX,"","https://api.shasta.trongrid.io"),new n.a("Binance",i.c.BINANCE,"Binance-Chain-Tigris","https://dex.binance.org",!0),new n.a("Cosmos",i.c.COSMOS,"cosmoshub-3","https://cosmos.maiziqianbao.net",!0),new n.a("IRISnet",i.c.IRIS,"irishub","https://iris.maiziqianbao.net",!0),new n.a("Enigma",i.c.ENIGMA,"enigma-1","https://enigma.maiziqianbao.net",!0),new n.a("Kava",i.c.KAVA,"kava-2","https://data.kava.io",!0),new n.a("Polkadot",i.c.POLKADOT,"polkadot","",!0,!1,"polkadot"),new n.a("Substrate",i.c.POLKADOT,"substrate","",!1,!1,"substrate"),new n.a("Kusama",i.c.POLKADOT,"kusama","",!0,!1,"kusama"),new n.a("Edgeware",i.c.POLKADOT,"edgeware","",!0,!1,"edgeware"),new n.a("Straightedge",i.c.POLKADOT,"straightedge","",!1,!1,"straightedge"),new n.a("ChainX",i.c.CHAINX,"ChainX","https://chainx.maiziqianbao.net/rpc",!0),new n.a("Codex",i.c.CODEX,"af776d123b111a53bd6f2333a553e85b99f8ede582ccf28438353cd975f30b83","https://codex.maiziqianbao.net",!1),new n.a("Fibos",i.c.FIBOS,"6aa7bd33b6b45192465afa3553dedb531acaaff8928cf64b70bd4c5e49b7ec6a","https://to-rpc.fibos.io",!1),new n.a("Harmony",i.c.HARMONY,"1","https://api.s1.t.hmny.io",!0),new n.a("CoinEx",i.c.COINEX,"coinexdex","https://dex-api.coinex.org",!1),new n.a("Nervos",i.c.NERVOS,"lina","http://127.0.0.0:8114",!0)]},function(e,t){e.exports=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0});var A={compareArray:!0,compareMap:!0,decodeU8a:!0};Object.defineProperty(t,"compareArray",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"compareMap",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"decodeU8a",{enumerable:!0,get:function(){return a.default}});var i=n(r(1410)),o=n(r(1411)),a=n(r(1414)),s=r(860);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))});var u=r(1420);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))})},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(59)),i=n(r(4)),o=n(r(18)),a=n(r(6)),s=n(r(5)),u=n(r(85)),l=n(r(7)),c=r(14),f=n(r(125)),d=n(r(126)),g=function(e){function t(e){return(0,i.default)(this,t),(0,a.default)(this,(0,s.default)(t).call(this,t.decodeBytes(e)))}return(0,l.default)(t,e),(0,o.default)(t,[{key:"toU8a",value:function(e){return e?(0,u.default)((0,s.default)(t.prototype),"toU8a",this).call(this,e):f.default.addLengthPrefix(this)}},{key:"encodedLength",get:function(){return this.length+f.default.encodeU8a(this.length).length}}],[{key:"decodeBytes",value:function(e){var n=r(473).default;if((0,c.isHex)(e)){var i=(0,c.hexToU8a)(e);return t.decodeBytes(f.default.addLengthPrefix(i))}if(e instanceof n){var o=e,a=f.default.decodeU8a(o),s=(0,A.default)(a,2),u=s[0],l=s[1];return o.length===l.addn(u).toNumber()?o.subarray(u):o}if(e instanceof d.default)return e;if((0,c.isU8a)(e)){var g=f.default.decodeU8a(e),h=(0,A.default)(g,2),p=h[0],I=h[1];return e.subarray(p,p+I.toNumber())}return Array.isArray(e)||(0,c.isString)(e)?t.decodeBytes((0,c.u8aToU8a)(e)):e}}]),t}(d.default);t.default=g},function(e,t,r){"use strict";const n=r(49),A=r(65);class i{constructor(e,t,r,n,i,o,a,s,u){if(A.isEmpty(e))throw new Error("chain_id is empty");if(A.isEmpty(t))throw new Error("from is empty");if(r<0)throw new Error("account_number is empty");if(n<0)throw new Error("sequence is empty");if(A.isEmpty(i))throw new Error("fees is empty");if(A.isEmpty(s))throw new Error("type is empty");this.chain_id=e,this.from=t,this.account_number=r,this.sequence=n,this.fees=i,this.gas=o,this.memo=a,this.type=s,this.msg=u}}class o{ValidateBasic(){throw new Error("not implement")}}e.exports={Builder:class{buildTx(e){throw new Error("not implement")}sign(e,t){throw new Error("not implement")}buildAndSignTx(e,t){throw new Error("not implement")}static getBuilder(e){switch(e){case n.chain.iris:return r(1613)();case n.chain.ethermint:return r(1618)();case n.chain.cosmos:return r(1620)();case n.chain.hashgard:return r(1626)();default:throw new Error("not correct chain")}}buildParam(e){return function(e){let t=[];A.isEmpty(e.fees)||t.push({denom:e.fees.denom,amount:A.toString(e.fees.amount)});let r=e.memo?e.memo:"";return new i(e.chain_id,e.from,e.account_number,e.sequence,t,e.gas,r,e.type,e.msg)}(e)}},Msg:class extends o{GetSignBytes(){throw new Error("not implement")}Type(){throw new Error("not implement")}constructor(e){super(),this.type=e}GetMsg(){throw new Error("not implement")}GetDisplayContent(){throw new Error("not implement")}},Validator:o}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=r(447),o=n(r(360)),a=n(r(241));class s extends a.default{constructor(e,t,r=0){super(e,s.decodeCompact(e,(0,o.default)(e,t),r))}static with(e){return class extends s{constructor(t,r){super(t,e,r)}}}static stripLengthPrefix(e,t=i.DEFAULT_BITLENGTH){const[,r]=(0,A.compactStripLength)(e,t);return r}static decodeCompact(e,t,r){if(r instanceof s)return new t(e,r.raw);if((0,A.isString)(r)||(0,A.isNumber)(r)||(0,A.isBn)(r)||(0,A.isBigInt)(r))return new t(e,r);const[,n]=s.decodeU8a(r,new t(e,0).bitLength());return new t(e,n)}bitLength(){return this.raw.bitLength()}eq(e){return this.raw.eq(e instanceof s?e.raw:e)}toBn(){return this.raw.toBn()}toNumber(){return this.raw.toNumber()}toRawType(){return"Compact<".concat(this.raw.toRawType(),">")}toU8a(e){return s.encodeU8a(this.raw.toBn())}unwrap(){return this.raw}}t.default=s,s.addLengthPrefix=A.compactAddLength,s.decodeU8a=A.compactFromU8a,s.encodeU8a=A.compactToU8a},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";function n(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}r.d(t,"a",function(){return A}),n.prototype=Object.create(Error.prototype);var A=n},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(2),A=r(302),i=function(e){function t(r,n){void 0===n&&(n=A.a.now);var i=e.call(this,r,function(){return t.delegate&&t.delegate!==i?t.delegate.now():n()})||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return n.__extends(t,e),t.prototype.schedule=function(r,n,A){return void 0===n&&(n=0),t.delegate&&t.delegate!==this?t.delegate.schedule(r,n,A):e.prototype.schedule.call(this,r,n,A)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},t}(A.a)},function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(21),A=r(382),i=r(252);function o(e,t){return t?Object(i.a)(e,t):new n.a(Object(A.a)(e))}},function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(2),A=r(41),i=r(32),o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.value=null,t.hasNext=!1,t.hasCompleted=!1,t}return n.__extends(t,e),t.prototype._subscribe=function(t){return this.hasError?(t.error(this.thrownError),i.a.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),i.a.EMPTY):e.prototype._subscribe.call(this,t)},t.prototype.next=function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)},t.prototype.error=function(t){this.hasCompleted||e.prototype.error.call(this,t)},t.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&e.prototype.next.call(this,this.value),e.prototype.complete.call(this)},t}(A.a)},function(e,t,r){"use strict";var n=r(2),A=function(e){function t(t,r){return e.call(this)||this}return n.__extends(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(r(32).a);r.d(t,"a",function(){return i});var i=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n.pending=!1,n}return n.__extends(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r=!1,n=void 0;try{this.work(e)}catch(e){r=!0,n=!!e&&e||new Error(e)}if(r)return this.unsubscribe(),n},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,r=t.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(A)},function(e,t,r){e.exports=r(1258)},function(e,t,r){"use strict";r.d(t,"a",function(){return A});var n=r(43);function A(e){return!Object(n.a)(e)&&e-parseFloat(e)+1>=0}},function(e,t,r){var n=r(15).Buffer;function A(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}A.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=n.from(e,t));for(var r=this._block,A=this._blockSize,i=e.length,o=this._len,a=0;a<i;){for(var s=o%A,u=Math.min(i-a,A-s),l=0;l<u;l++)r[s+l]=e[a+l];a+=u,(o+=u)%A==0&&this._update(r)}return this._len+=i,this},A.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,A=(r-n)/4294967296;this._block.writeUInt32BE(A,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var i=this._hash();return e?i.toString(e):i},A.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=A},function(e,t,r){t.pbkdf2=r(576),t.pbkdf2Sync=r(400)},function(e,t,r){var n;function A(e){this.rand=e}if(e.exports=function(e){return n||(n=new A(null)),n.generate(e)},e.exports.Rand=A,A.prototype.generate=function(e){return this._rand(e)},A.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?A.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?A.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(A.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var i=r(596);if("function"!=typeof i.randomBytes)throw new Error("Not supported");A.prototype._rand=function(e){return i.randomBytes(e)}}catch(e){}},function(e,t,r){var n=r(1096);e.exports=n("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},function(e,t,r){"use strict";t.size=function(e,t,r){void 0===r&&(r=0);for(var n=0;n<e.length;++n)r+=t(e[n],n,r);return r},t.isAbstractCodec=function(e){return e&&"function"==typeof e.encode&&"function"==typeof e.decode&&"function"==typeof e.encodingLength}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(63),A=Math.pow(2,31)-1;function i(e){return n.String(e)&&!!e.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}t.UInt31=function(e){return n.UInt32(e)&&e<=A},t.BIP32Path=i,i.toJSON=()=>"BIP32 derivation path",t.Signer=function(e){return(n.Buffer(e.publicKey)||"function"==typeof e.getPublicKey)&&"function"==typeof e.sign};const o=21e14;t.Satoshi=function(e){return n.UInt53(e)&&e<=o},t.ECPoint=n.quacksLike("Point"),t.Network=n.compile({messagePrefix:n.oneOf(n.Buffer,n.String),bip32:{public:n.UInt32,private:n.UInt32},pubKeyHash:n.UInt8,scriptHash:n.UInt8,wif:n.UInt8}),t.Buffer256bit=n.BufferN(32),t.Hash160bit=n.BufferN(20),t.Hash256bit=n.BufferN(32),t.Number=n.Number,t.Array=n.Array,t.Boolean=n.Boolean,t.String=n.String,t.Buffer=n.Buffer,t.Hex=n.Hex,t.maybe=n.maybe,t.tuple=n.tuple,t.UInt8=n.UInt8,t.UInt32=n.UInt32,t.Function=n.Function,t.BufferN=n.BufferN,t.Null=n.Null,t.oneOf=n.oneOf},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(45);function A(e){try{return n("rmd160").update(e).digest()}catch(t){return n("ripemd160").update(e).digest()}}function i(e){return n("sha256").update(e).digest()}t.ripemd160=A,t.sha1=function(e){return n("sha1").update(e).digest()},t.sha256=i,t.hash160=function(e){return A(i(e))},t.hash256=function(e){return i(i(e))}},function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function A(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o=r(1218).Buffer}catch(e){}function a(e,t,r){for(var A=0,i=Math.min(e.length,r),o=0,a=t;a<i;a++){var s,u=e.charCodeAt(a)-48;A<<=4,A|=s=u>=49&&u<=54?u-49+10:u>=17&&u<=22?u-17+10:u,o|=s}return n(!(240&o),"Invalid character in "+e),A}function s(e,t,r,A){for(var i=0,o=0,a=Math.min(e.length,r),s=t;s<a;s++){var u=e.charCodeAt(s)-48;i*=A,o=u>=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&o<A,"Invalid character"),i+=o}return i}function u(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}function l(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var A=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&A++,16===t?this._parseHex(e,A):this._parseBase(e,t,A),"-"===e[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var A=0;A<this.length;A++)this.words[A]=0;var i,o,a=0;if("be"===r)for(A=e.length-1,i=0;A>=0;A-=3)o=e[A]|e[A-1]<<8|e[A-2]<<16,this.words[i]|=o<<a&67108863,this.words[i+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);else if("le"===r)for(A=0,i=0;A<e.length;A+=3)o=e[A]|e[A+1]<<8|e[A+2]<<16,this.words[i]|=o<<a&67108863,this.words[i+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);return this._strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,A,i=0;for(r=e.length-6,n=0;r>=t;r-=6)A=a(e,r,r+6),this.words[n]|=A<<i&67108863,this.words[n+1]|=A>>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);r+6!==t&&(A=a(e,t,r+6),this.words[n]|=A<<i&67108863,this.words[n+1]|=A>>>26-i&4194303),this._strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,A=1;A<=67108863;A*=t)n++;n--,A=A/t|0;for(var i=e.length-r,o=i%n,a=Math.min(i,i-o)+r,u=0,l=r;l<a;l+=n)u=s(e,l,l+n,t),this.imuln(A),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var c=1;for(u=s(e,l,e.length,t),l=0;l<o;l++)c*=t;this.imuln(c),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},i.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype._move=function(e){u(e,this)},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for?i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l:i.prototype.inspect=l;var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var A=0,i=0,o=0;o<this.length;o++){var a=this.words[o],s=(16777215&(a<<A|i)).toString(16);r=0!==(i=a>>>24-A&16777215)||o!==this.length-1?c[6-s.length]+s+r:s+r,(A+=2)>=26&&(A-=26,o--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=f[e],l=d[e];r="";var g=this.clone();for(g.negative=0;!g.isZero();){var h=g.modrn(l).toString(e);r=(g=g.idivn(l)).isZero()?h+r:c[u-h.length]+h+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(e,t){return this.toArrayLike(o,e,t)}),i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function g(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var A=0|e.words[0],i=0|t.words[0],o=A*i,a=67108863&o,s=o/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var l=s>>>26,c=67108863&s,f=Math.min(u,t.length-1),d=Math.max(0,u-e.length+1);d<=f;d++){var g=u-d|0;l+=(o=(A=0|e.words[g])*(i=0|t.words[d])+c)/67108864|0,c=67108863&o}r.words[u]=0|c,s=0|l}return 0!==s?r.words[u]=0|s:r.length--,r._strip()}i.prototype.toArrayLike=function(e,t,r){this._strip();var A=this.byteLength(),i=r||Math.max(1,A);n(A<=i,"byte array longer than desired length"),n(i>0,"Requested array length <= 0");var o=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,i);return this["_toArrayLike"+("le"===t?"LE":"BE")](o,A),o},i.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,A=0,i=0;A<this.length;A++){var o=this.words[A]<<i|n;e[r++]=255&o,r<e.length&&(e[r++]=o>>8&255),r<e.length&&(e[r++]=o>>16&255),6===i?(r<e.length&&(e[r++]=o>>24&255),n=0,i=0):(n=o>>>24,i+=2)}if(r<e.length)for(e[r++]=n;r<e.length;)e[r++]=0},i.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,n=0,A=0,i=0;A<this.length;A++){var o=this.words[A]<<i|n;e[r--]=255&o,r>=0&&(e[r--]=o>>8&255),r>=0&&(e[r--]=o>>16&255),6===i?(r>=0&&(e[r--]=o>>24&255),n=0,i=0):(n=o>>>24,i+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},i.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this._strip()},i.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this._strip()},i.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var A=0;A<t;A++)this.words[A]=67108863&~this.words[A];return r>0&&(this.words[A]=~this.words[A]&67108863>>26-r),this._strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,A=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<A:this.words[r]&~(1<<A),this._strip()},i.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var A=0,i=0;i<n.length;i++)t=(0|r.words[i])+(0|n.words[i])+A,this.words[i]=67108863&t,A=t>>>26;for(;0!==A&&i<r.length;i++)t=(0|r.words[i])+A,this.words[i]=67108863&t,A=t>>>26;if(this.length=r.length,0!==A)this.words[this.length]=A,this.length++;else if(r!==this)for(;i<r.length;i++)this.words[i]=r.words[i];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,A=this.cmp(e);if(0===A)return this.negative=0,this.length=1,this.words[0]=0,this;A>0?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)i=(t=(0|r.words[o])-(0|n.words[o])+i)>>26,this.words[o]=67108863&t;for(;0!==i&&o<r.length;o++)i=(t=(0|r.words[o])+i)>>26,this.words[o]=67108863&t;if(0===i&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this._strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var h=function(e,t,r){var n,A,i,o=e.words,a=t.words,s=r.words,u=0,l=0|o[0],c=8191&l,f=l>>>13,d=0|o[1],g=8191&d,h=d>>>13,p=0|o[2],I=8191&p,B=p>>>13,C=0|o[3],m=8191&C,y=C>>>13,Q=0|o[4],w=8191&Q,E=Q>>>13,b=0|o[5],v=8191&b,D=b>>>13,M=0|o[6],k=8191&M,_=M>>>13,S=0|o[7],N=8191&S,F=S>>>13,x=0|o[8],G=8191&x,H=x>>>13,U=0|o[9],Y=8191&U,L=U>>>13,O=0|a[0],K=8191&O,P=O>>>13,R=0|a[1],T=8191&R,J=R>>>13,j=0|a[2],q=8191&j,V=j>>>13,W=0|a[3],z=8191&W,Z=W>>>13,X=0|a[4],$=8191&X,ee=X>>>13,te=0|a[5],re=8191&te,ne=te>>>13,Ae=0|a[6],ie=8191&Ae,oe=Ae>>>13,ae=0|a[7],se=8191&ae,ue=ae>>>13,le=0|a[8],ce=8191&le,fe=le>>>13,de=0|a[9],ge=8191&de,he=de>>>13;r.negative=e.negative^t.negative,r.length=19;var pe=(u+(n=Math.imul(c,K))|0)+((8191&(A=(A=Math.imul(c,P))+Math.imul(f,K)|0))<<13)|0;u=((i=Math.imul(f,P))+(A>>>13)|0)+(pe>>>26)|0,pe&=67108863,n=Math.imul(g,K),A=(A=Math.imul(g,P))+Math.imul(h,K)|0,i=Math.imul(h,P);var Ie=(u+(n=n+Math.imul(c,T)|0)|0)+((8191&(A=(A=A+Math.imul(c,J)|0)+Math.imul(f,T)|0))<<13)|0;u=((i=i+Math.imul(f,J)|0)+(A>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(I,K),A=(A=Math.imul(I,P))+Math.imul(B,K)|0,i=Math.imul(B,P),n=n+Math.imul(g,T)|0,A=(A=A+Math.imul(g,J)|0)+Math.imul(h,T)|0,i=i+Math.imul(h,J)|0;var Be=(u+(n=n+Math.imul(c,q)|0)|0)+((8191&(A=(A=A+Math.imul(c,V)|0)+Math.imul(f,q)|0))<<13)|0;u=((i=i+Math.imul(f,V)|0)+(A>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(m,K),A=(A=Math.imul(m,P))+Math.imul(y,K)|0,i=Math.imul(y,P),n=n+Math.imul(I,T)|0,A=(A=A+Math.imul(I,J)|0)+Math.imul(B,T)|0,i=i+Math.imul(B,J)|0,n=n+Math.imul(g,q)|0,A=(A=A+Math.imul(g,V)|0)+Math.imul(h,q)|0,i=i+Math.imul(h,V)|0;var Ce=(u+(n=n+Math.imul(c,z)|0)|0)+((8191&(A=(A=A+Math.imul(c,Z)|0)+Math.imul(f,z)|0))<<13)|0;u=((i=i+Math.imul(f,Z)|0)+(A>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(w,K),A=(A=Math.imul(w,P))+Math.imul(E,K)|0,i=Math.imul(E,P),n=n+Math.imul(m,T)|0,A=(A=A+Math.imul(m,J)|0)+Math.imul(y,T)|0,i=i+Math.imul(y,J)|0,n=n+Math.imul(I,q)|0,A=(A=A+Math.imul(I,V)|0)+Math.imul(B,q)|0,i=i+Math.imul(B,V)|0,n=n+Math.imul(g,z)|0,A=(A=A+Math.imul(g,Z)|0)+Math.imul(h,z)|0,i=i+Math.imul(h,Z)|0;var me=(u+(n=n+Math.imul(c,$)|0)|0)+((8191&(A=(A=A+Math.imul(c,ee)|0)+Math.imul(f,$)|0))<<13)|0;u=((i=i+Math.imul(f,ee)|0)+(A>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(v,K),A=(A=Math.imul(v,P))+Math.imul(D,K)|0,i=Math.imul(D,P),n=n+Math.imul(w,T)|0,A=(A=A+Math.imul(w,J)|0)+Math.imul(E,T)|0,i=i+Math.imul(E,J)|0,n=n+Math.imul(m,q)|0,A=(A=A+Math.imul(m,V)|0)+Math.imul(y,q)|0,i=i+Math.imul(y,V)|0,n=n+Math.imul(I,z)|0,A=(A=A+Math.imul(I,Z)|0)+Math.imul(B,z)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(g,$)|0,A=(A=A+Math.imul(g,ee)|0)+Math.imul(h,$)|0,i=i+Math.imul(h,ee)|0;var ye=(u+(n=n+Math.imul(c,re)|0)|0)+((8191&(A=(A=A+Math.imul(c,ne)|0)+Math.imul(f,re)|0))<<13)|0;u=((i=i+Math.imul(f,ne)|0)+(A>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(k,K),A=(A=Math.imul(k,P))+Math.imul(_,K)|0,i=Math.imul(_,P),n=n+Math.imul(v,T)|0,A=(A=A+Math.imul(v,J)|0)+Math.imul(D,T)|0,i=i+Math.imul(D,J)|0,n=n+Math.imul(w,q)|0,A=(A=A+Math.imul(w,V)|0)+Math.imul(E,q)|0,i=i+Math.imul(E,V)|0,n=n+Math.imul(m,z)|0,A=(A=A+Math.imul(m,Z)|0)+Math.imul(y,z)|0,i=i+Math.imul(y,Z)|0,n=n+Math.imul(I,$)|0,A=(A=A+Math.imul(I,ee)|0)+Math.imul(B,$)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(g,re)|0,A=(A=A+Math.imul(g,ne)|0)+Math.imul(h,re)|0,i=i+Math.imul(h,ne)|0;var Qe=(u+(n=n+Math.imul(c,ie)|0)|0)+((8191&(A=(A=A+Math.imul(c,oe)|0)+Math.imul(f,ie)|0))<<13)|0;u=((i=i+Math.imul(f,oe)|0)+(A>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,n=Math.imul(N,K),A=(A=Math.imul(N,P))+Math.imul(F,K)|0,i=Math.imul(F,P),n=n+Math.imul(k,T)|0,A=(A=A+Math.imul(k,J)|0)+Math.imul(_,T)|0,i=i+Math.imul(_,J)|0,n=n+Math.imul(v,q)|0,A=(A=A+Math.imul(v,V)|0)+Math.imul(D,q)|0,i=i+Math.imul(D,V)|0,n=n+Math.imul(w,z)|0,A=(A=A+Math.imul(w,Z)|0)+Math.imul(E,z)|0,i=i+Math.imul(E,Z)|0,n=n+Math.imul(m,$)|0,A=(A=A+Math.imul(m,ee)|0)+Math.imul(y,$)|0,i=i+Math.imul(y,ee)|0,n=n+Math.imul(I,re)|0,A=(A=A+Math.imul(I,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(g,ie)|0,A=(A=A+Math.imul(g,oe)|0)+Math.imul(h,ie)|0,i=i+Math.imul(h,oe)|0;var we=(u+(n=n+Math.imul(c,se)|0)|0)+((8191&(A=(A=A+Math.imul(c,ue)|0)+Math.imul(f,se)|0))<<13)|0;u=((i=i+Math.imul(f,ue)|0)+(A>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(G,K),A=(A=Math.imul(G,P))+Math.imul(H,K)|0,i=Math.imul(H,P),n=n+Math.imul(N,T)|0,A=(A=A+Math.imul(N,J)|0)+Math.imul(F,T)|0,i=i+Math.imul(F,J)|0,n=n+Math.imul(k,q)|0,A=(A=A+Math.imul(k,V)|0)+Math.imul(_,q)|0,i=i+Math.imul(_,V)|0,n=n+Math.imul(v,z)|0,A=(A=A+Math.imul(v,Z)|0)+Math.imul(D,z)|0,i=i+Math.imul(D,Z)|0,n=n+Math.imul(w,$)|0,A=(A=A+Math.imul(w,ee)|0)+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,n=n+Math.imul(m,re)|0,A=(A=A+Math.imul(m,ne)|0)+Math.imul(y,re)|0,i=i+Math.imul(y,ne)|0,n=n+Math.imul(I,ie)|0,A=(A=A+Math.imul(I,oe)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,oe)|0,n=n+Math.imul(g,se)|0,A=(A=A+Math.imul(g,ue)|0)+Math.imul(h,se)|0,i=i+Math.imul(h,ue)|0;var Ee=(u+(n=n+Math.imul(c,ce)|0)|0)+((8191&(A=(A=A+Math.imul(c,fe)|0)+Math.imul(f,ce)|0))<<13)|0;u=((i=i+Math.imul(f,fe)|0)+(A>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(Y,K),A=(A=Math.imul(Y,P))+Math.imul(L,K)|0,i=Math.imul(L,P),n=n+Math.imul(G,T)|0,A=(A=A+Math.imul(G,J)|0)+Math.imul(H,T)|0,i=i+Math.imul(H,J)|0,n=n+Math.imul(N,q)|0,A=(A=A+Math.imul(N,V)|0)+Math.imul(F,q)|0,i=i+Math.imul(F,V)|0,n=n+Math.imul(k,z)|0,A=(A=A+Math.imul(k,Z)|0)+Math.imul(_,z)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(v,$)|0,A=(A=A+Math.imul(v,ee)|0)+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,n=n+Math.imul(w,re)|0,A=(A=A+Math.imul(w,ne)|0)+Math.imul(E,re)|0,i=i+Math.imul(E,ne)|0,n=n+Math.imul(m,ie)|0,A=(A=A+Math.imul(m,oe)|0)+Math.imul(y,ie)|0,i=i+Math.imul(y,oe)|0,n=n+Math.imul(I,se)|0,A=(A=A+Math.imul(I,ue)|0)+Math.imul(B,se)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(g,ce)|0,A=(A=A+Math.imul(g,fe)|0)+Math.imul(h,ce)|0,i=i+Math.imul(h,fe)|0;var be=(u+(n=n+Math.imul(c,ge)|0)|0)+((8191&(A=(A=A+Math.imul(c,he)|0)+Math.imul(f,ge)|0))<<13)|0;u=((i=i+Math.imul(f,he)|0)+(A>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(Y,T),A=(A=Math.imul(Y,J))+Math.imul(L,T)|0,i=Math.imul(L,J),n=n+Math.imul(G,q)|0,A=(A=A+Math.imul(G,V)|0)+Math.imul(H,q)|0,i=i+Math.imul(H,V)|0,n=n+Math.imul(N,z)|0,A=(A=A+Math.imul(N,Z)|0)+Math.imul(F,z)|0,i=i+Math.imul(F,Z)|0,n=n+Math.imul(k,$)|0,A=(A=A+Math.imul(k,ee)|0)+Math.imul(_,$)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,A=(A=A+Math.imul(v,ne)|0)+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,n=n+Math.imul(w,ie)|0,A=(A=A+Math.imul(w,oe)|0)+Math.imul(E,ie)|0,i=i+Math.imul(E,oe)|0,n=n+Math.imul(m,se)|0,A=(A=A+Math.imul(m,ue)|0)+Math.imul(y,se)|0,i=i+Math.imul(y,ue)|0,n=n+Math.imul(I,ce)|0,A=(A=A+Math.imul(I,fe)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,fe)|0;var ve=(u+(n=n+Math.imul(g,ge)|0)|0)+((8191&(A=(A=A+Math.imul(g,he)|0)+Math.imul(h,ge)|0))<<13)|0;u=((i=i+Math.imul(h,he)|0)+(A>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(Y,q),A=(A=Math.imul(Y,V))+Math.imul(L,q)|0,i=Math.imul(L,V),n=n+Math.imul(G,z)|0,A=(A=A+Math.imul(G,Z)|0)+Math.imul(H,z)|0,i=i+Math.imul(H,Z)|0,n=n+Math.imul(N,$)|0,A=(A=A+Math.imul(N,ee)|0)+Math.imul(F,$)|0,i=i+Math.imul(F,ee)|0,n=n+Math.imul(k,re)|0,A=(A=A+Math.imul(k,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(v,ie)|0,A=(A=A+Math.imul(v,oe)|0)+Math.imul(D,ie)|0,i=i+Math.imul(D,oe)|0,n=n+Math.imul(w,se)|0,A=(A=A+Math.imul(w,ue)|0)+Math.imul(E,se)|0,i=i+Math.imul(E,ue)|0,n=n+Math.imul(m,ce)|0,A=(A=A+Math.imul(m,fe)|0)+Math.imul(y,ce)|0,i=i+Math.imul(y,fe)|0;var De=(u+(n=n+Math.imul(I,ge)|0)|0)+((8191&(A=(A=A+Math.imul(I,he)|0)+Math.imul(B,ge)|0))<<13)|0;u=((i=i+Math.imul(B,he)|0)+(A>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(Y,z),A=(A=Math.imul(Y,Z))+Math.imul(L,z)|0,i=Math.imul(L,Z),n=n+Math.imul(G,$)|0,A=(A=A+Math.imul(G,ee)|0)+Math.imul(H,$)|0,i=i+Math.imul(H,ee)|0,n=n+Math.imul(N,re)|0,A=(A=A+Math.imul(N,ne)|0)+Math.imul(F,re)|0,i=i+Math.imul(F,ne)|0,n=n+Math.imul(k,ie)|0,A=(A=A+Math.imul(k,oe)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,oe)|0,n=n+Math.imul(v,se)|0,A=(A=A+Math.imul(v,ue)|0)+Math.imul(D,se)|0,i=i+Math.imul(D,ue)|0,n=n+Math.imul(w,ce)|0,A=(A=A+Math.imul(w,fe)|0)+Math.imul(E,ce)|0,i=i+Math.imul(E,fe)|0;var Me=(u+(n=n+Math.imul(m,ge)|0)|0)+((8191&(A=(A=A+Math.imul(m,he)|0)+Math.imul(y,ge)|0))<<13)|0;u=((i=i+Math.imul(y,he)|0)+(A>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(Y,$),A=(A=Math.imul(Y,ee))+Math.imul(L,$)|0,i=Math.imul(L,ee),n=n+Math.imul(G,re)|0,A=(A=A+Math.imul(G,ne)|0)+Math.imul(H,re)|0,i=i+Math.imul(H,ne)|0,n=n+Math.imul(N,ie)|0,A=(A=A+Math.imul(N,oe)|0)+Math.imul(F,ie)|0,i=i+Math.imul(F,oe)|0,n=n+Math.imul(k,se)|0,A=(A=A+Math.imul(k,ue)|0)+Math.imul(_,se)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(v,ce)|0,A=(A=A+Math.imul(v,fe)|0)+Math.imul(D,ce)|0,i=i+Math.imul(D,fe)|0;var ke=(u+(n=n+Math.imul(w,ge)|0)|0)+((8191&(A=(A=A+Math.imul(w,he)|0)+Math.imul(E,ge)|0))<<13)|0;u=((i=i+Math.imul(E,he)|0)+(A>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(Y,re),A=(A=Math.imul(Y,ne))+Math.imul(L,re)|0,i=Math.imul(L,ne),n=n+Math.imul(G,ie)|0,A=(A=A+Math.imul(G,oe)|0)+Math.imul(H,ie)|0,i=i+Math.imul(H,oe)|0,n=n+Math.imul(N,se)|0,A=(A=A+Math.imul(N,ue)|0)+Math.imul(F,se)|0,i=i+Math.imul(F,ue)|0,n=n+Math.imul(k,ce)|0,A=(A=A+Math.imul(k,fe)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,fe)|0;var _e=(u+(n=n+Math.imul(v,ge)|0)|0)+((8191&(A=(A=A+Math.imul(v,he)|0)+Math.imul(D,ge)|0))<<13)|0;u=((i=i+Math.imul(D,he)|0)+(A>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(Y,ie),A=(A=Math.imul(Y,oe))+Math.imul(L,ie)|0,i=Math.imul(L,oe),n=n+Math.imul(G,se)|0,A=(A=A+Math.imul(G,ue)|0)+Math.imul(H,se)|0,i=i+Math.imul(H,ue)|0,n=n+Math.imul(N,ce)|0,A=(A=A+Math.imul(N,fe)|0)+Math.imul(F,ce)|0,i=i+Math.imul(F,fe)|0;var Se=(u+(n=n+Math.imul(k,ge)|0)|0)+((8191&(A=(A=A+Math.imul(k,he)|0)+Math.imul(_,ge)|0))<<13)|0;u=((i=i+Math.imul(_,he)|0)+(A>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(Y,se),A=(A=Math.imul(Y,ue))+Math.imul(L,se)|0,i=Math.imul(L,ue),n=n+Math.imul(G,ce)|0,A=(A=A+Math.imul(G,fe)|0)+Math.imul(H,ce)|0,i=i+Math.imul(H,fe)|0;var Ne=(u+(n=n+Math.imul(N,ge)|0)|0)+((8191&(A=(A=A+Math.imul(N,he)|0)+Math.imul(F,ge)|0))<<13)|0;u=((i=i+Math.imul(F,he)|0)+(A>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(Y,ce),A=(A=Math.imul(Y,fe))+Math.imul(L,ce)|0,i=Math.imul(L,fe);var Fe=(u+(n=n+Math.imul(G,ge)|0)|0)+((8191&(A=(A=A+Math.imul(G,he)|0)+Math.imul(H,ge)|0))<<13)|0;u=((i=i+Math.imul(H,he)|0)+(A>>>13)|0)+(Fe>>>26)|0,Fe&=67108863;var xe=(u+(n=Math.imul(Y,ge))|0)+((8191&(A=(A=Math.imul(Y,he))+Math.imul(L,ge)|0))<<13)|0;return u=((i=Math.imul(L,he))+(A>>>13)|0)+(xe>>>26)|0,xe&=67108863,s[0]=pe,s[1]=Ie,s[2]=Be,s[3]=Ce,s[4]=me,s[5]=ye,s[6]=Qe,s[7]=we,s[8]=Ee,s[9]=be,s[10]=ve,s[11]=De,s[12]=Me,s[13]=ke,s[14]=_e,s[15]=Se,s[16]=Ne,s[17]=Fe,s[18]=xe,0!==u&&(s[19]=u,r.length++),r};function p(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,A=0,i=0;i<r.length-1;i++){var o=A;A=0;for(var a=67108863&n,s=Math.min(i,t.length-1),u=Math.max(0,i-e.length+1);u<=s;u++){var l=i-u,c=(0|e.words[l])*(0|t.words[u]),f=67108863&c;a=67108863&(f=f+a|0),A+=(o=(o=o+(c/67108864|0)|0)+(f>>>26)|0)>>>26,o&=67108863}r.words[i]=a,n=o,o=A}return 0!==n?r.words[i]=n:r.length--,r._strip()}function I(e,t,r){return p(e,t,r)}function B(e,t){this.x=e,this.y=t}Math.imul||(h=g),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?h(this,e,t):r<63?g(this,e,t):r<1024?p(this,e,t):I(this,e,t)},B.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},B.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,A=0;A<t;A++)n|=(1&e)<<t-A-1,e>>=1;return n},B.prototype.permute=function(e,t,r,n,A,i){for(var o=0;o<i;o++)n[o]=t[e[o]],A[o]=r[e[o]]},B.prototype.transform=function(e,t,r,n,A,i){this.permute(i,e,t,r,n,A);for(var o=1;o<A;o<<=1)for(var a=o<<1,s=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),l=0;l<A;l+=a)for(var c=s,f=u,d=0;d<o;d++){var g=r[l+d],h=n[l+d],p=r[l+d+o],I=n[l+d+o],B=c*p-f*I;I=c*I+f*p,p=B,r[l+d]=g+p,n[l+d]=h+I,r[l+d+o]=g-p,n[l+d+o]=h-I,d!==a&&(B=s*c-u*f,f=s*f+u*c,c=B)}},B.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,A=0;for(r=r/2|0;r;r>>>=1)A++;return 1<<A+1+n},B.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var A=e[n];e[n]=e[r-n-1],e[r-n-1]=A,A=t[n],t[n]=-t[r-n-1],t[r-n-1]=-A}},B.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var A=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&A,r=A<67108864?0:A/67108864|0}return e},B.prototype.convert13b=function(e,t,r,A){for(var i=0,o=0;o<t;o++)i+=0|e[o],r[2*o]=8191&i,i>>>=13,r[2*o+1]=8191&i,i>>>=13;for(o=2*t;o<A;++o)r[o]=0;n(0===i),n(0==(-8192&i))},B.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},B.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),A=this.makeRBT(n),i=this.stub(n),o=new Array(n),a=new Array(n),s=new Array(n),u=new Array(n),l=new Array(n),c=new Array(n),f=r.words;f.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,i,a,s,n,A),this.transform(u,i,l,c,n,A);for(var d=0;d<n;d++){var g=a[d]*l[d]-s[d]*c[d];s[d]=a[d]*c[d]+s[d]*l[d],a[d]=g}return this.conjugate(a,s,n),this.transform(a,s,f,i,n,A),this.conjugate(f,i,n),this.normalize13b(f,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),I(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"==typeof e),n(e<67108864);for(var r=0,A=0;A<this.length;A++){var i=(0|this.words[A])*e,o=(67108863&i)+(67108863&r);r>>=26,r+=i/67108864|0,r+=o>>>26,this.words[A]=67108863&o}return 0!==r&&(this.words[A]=r,this.length++),t?this.ineg():this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,A=r%26;t[r]=e.words[n]>>>A&1}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var A=r.sqr();n<t.length;n++,A=A.sqr())0!==t[n]&&(r=r.mul(A));return r},i.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,A=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var a=this.words[t]&i,s=(0|this.words[t])-a<<r;this.words[t]=s|o,o=a>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==A){for(t=this.length-1;t>=0;t--)this.words[t+A]=this.words[t];for(t=0;t<A;t++)this.words[t]=0;this.length+=A}return this._strip()},i.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,r){var A;n("number"==typeof e&&e>=0),A=t?(t-t%26)/26:0;var i=e%26,o=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<<i,s=r;if(A-=o,A=Math.max(0,A),s){for(var u=0;u<o;u++)s.words[u]=this.words[u];s.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=A);u--){var c=0|this.words[u];this.words[u]=l<<26-i|c>>>i,l=c&a}return s&&0!==l&&(s.words[s.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,A=1<<t;return!(this.length<=r)&&!!(this.words[r]&A)},i.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var A=67108863^67108863>>>t<<t;this.words[this.length-1]&=A}return this._strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,r){var A,i,o=e.length+r;this._expand(o);var a=0;for(A=0;A<e.length;A++){i=(0|this.words[A+r])+a;var s=(0|e.words[A])*t;a=((i-=67108863&s)>>26)-(s/67108864|0),this.words[A+r]=67108863&i}for(;A<this.length-r;A++)a=(i=(0|this.words[A+r])+a)>>26,this.words[A+r]=67108863&i;if(0===a)return this._strip();for(n(-1===a),a=0,A=0;A<this.length;A++)a=(i=-(0|this.words[A])+a)>>26,this.words[A]=67108863&i;return this.negative=1,this._strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),A=e,o=0|A.words[A.length-1];0!==(r=26-this._countBits(o))&&(A=A.ushln(r),n.iushln(r),o=0|A.words[A.length-1]);var a,s=n.length-A.length;if("mod"!==t){(a=new i(null)).length=s+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var l=n.clone()._ishlnsubmul(A,1,s);0===l.negative&&(n=l,a&&(a.words[s]=1));for(var c=s-1;c>=0;c--){var f=67108864*(0|n.words[A.length+c])+(0|n.words[A.length+c-1]);for(f=Math.min(f/o|0,67108863),n._ishlnsubmul(A,f,c);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(A,1,c),n.isZero()||(n.negative^=1);a&&(a.words[c]=f)}return a&&a._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(A=a.div.neg()),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:A,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(A=a.div.neg()),{div:A,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modrn(e.words[0]))}:this._wordDiv(e,t);var A,o,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),A=e.andln(1),i=r.cmp(n);return i<0||1===A&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,A=0,i=this.length-1;i>=0;i--)A=(r*A+(0|this.words[i]))%e;return t?-A:A},i.prototype.modn=function(e){return this.modrn(e)},i.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,A=this.length-1;A>=0;A--){var i=(0|this.words[A])+67108864*r;this.words[A]=i/e|0,r=i%e}return this._strip(),t?this.ineg():this},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var A=new i(1),o=new i(0),a=new i(0),s=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),c=t.clone();!t.isZero();){for(var f=0,d=1;0==(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(A.isOdd()||o.isOdd())&&(A.iadd(l),o.isub(c)),A.iushrn(1),o.iushrn(1);for(var g=0,h=1;0==(r.words[0]&h)&&g<26;++g,h<<=1);if(g>0)for(r.iushrn(g);g-- >0;)(a.isOdd()||s.isOdd())&&(a.iadd(l),s.isub(c)),a.iushrn(1),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),A.isub(a),o.isub(s)):(r.isub(t),a.isub(A),s.isub(o))}return{a:a,b:s,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var A,o=new i(1),a=new i(0),s=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(s),o.iushrn(1);for(var c=0,f=1;0==(r.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(r.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a)):(r.isub(t),a.isub(o))}return(A=0===t.cmpn(1)?o:a).cmpn(0)<0&&A.iadd(e),A},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var A=t.cmp(r);if(A<0){var i=t;t=r,r=i}else if(0===A||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,A=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=A,this;for(var i=A,o=r;0!==i&&o<this.length;o++){var a=0|this.words[o];i=(a+=i)>>>26,a&=67108863,this.words[o]=a}return 0!==i&&(this.words[o]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var A=0|this.words[0];t=A===e?0:A<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],A=0|e.words[r];if(n!==A){n<A?t=-1:n>A&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new b(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var C={k256:null,p224:null,p192:null,p25519:null};function m(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){m.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Q(){m.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){m.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){m.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function b(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function v(e){b.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}m.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},m.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):r._strip(),r},m.prototype.split=function(e,t){e.iushrn(this.n,0,t)},m.prototype.imulK=function(e){return e.imul(this.k)},A(y,m),y.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var A=e.words[9];for(t.words[t.length++]=4194303&A,n=10;n<e.length;n++){var i=0|e.words[n];e.words[n-10]=(4194303&i)<<4|A>>>22,A=i}A>>>=22,e.words[n-10]=A,0===A&&e.length>10?e.length-=10:e.length-=9},y.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},A(Q,m),A(w,m),A(E,m),E.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,A=67108863&n;n>>>=26,e.words[r]=A,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(C[e])return C[e];var t;if("k256"===e)t=new y;else if("p224"===e)t=new Q;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new E}return C[e]=t,t},b.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},b.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},b.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},b.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},b.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},b.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},b.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},b.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},b.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},b.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},b.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},b.prototype.isqr=function(e){return this.imul(e,e.clone())},b.prototype.sqr=function(e){return this.mul(e,e)},b.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var A=this.m.subn(1),o=0;!A.isZero()&&0===A.andln(1);)o++,A.iushrn(1);n(!A.isZero());var a=new i(1).toRed(this),s=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(s);)l.redIAdd(s);for(var c=this.pow(l,A),f=this.pow(e,A.addn(1).iushrn(1)),d=this.pow(e,A),g=o;0!==d.cmp(a);){for(var h=d,p=0;0!==h.cmp(a);p++)h=h.redSqr();n(p<g);var I=this.pow(c,new i(1).iushln(g-p-1));f=f.redMul(I),c=I.redSqr(),d=d.redMul(c),g=p}return f},b.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},b.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var A=r[0],o=0,a=0,s=t.bitLength()%26;for(0===s&&(s=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=s-1;l>=0;l--){var c=u>>l&1;A!==r[0]&&(A=this.sqr(A)),0!==c||0!==o?(o<<=1,o|=c,(4===++a||0===n&&0===l)&&(A=this.mul(A,r[o]),a=0,o=0)):a=0}s=26}return A},b.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},b.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new v(e)},A(v,b),v.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},v.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},v.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=r.isub(n).iushrn(this.shift),i=A;return A.cmp(this.m)>=0?i=A.isub(this.m):A.cmpn(0)<0&&(i=A.iadd(this.m)),i._forceRed(this)},v.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=r.isub(n).iushrn(this.shift),o=A;return A.cmp(this.m)>=0?o=A.isub(this.m):A.cmpn(0)<0&&(o=A.iadd(this.m)),o._forceRed(this)},v.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(96)(e))},function(e,t,r){!function(e){"use strict";var t=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t<e.length;t++)r[t]=e[t];return r},n=function(){throw new Error("no PRNG")},A=new Uint8Array(16),i=new Uint8Array(32);i[0]=9;var o=t(),a=t([1]),s=t([56129,1]),u=t([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),l=t([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),c=t([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),f=t([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),d=t([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function g(e,t,r,n){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function h(e,t,r,n,A){var i,o=0;for(i=0;i<A;i++)o|=e[t+i]^r[n+i];return(1&o-1>>>8)-1}function p(e,t,r,n){return h(e,t,r,n,16)}function I(e,t,r,n){return h(e,t,r,n,32)}function B(e,t,r,n){!function(e,t,r,n){for(var A,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,s=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,g=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,h=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,p=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,I=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,B=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,C=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,m=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,y=i,Q=o,w=a,E=s,b=u,v=l,D=c,M=f,k=d,_=g,S=h,N=p,F=I,x=B,G=C,H=m,U=0;U<20;U+=2)y^=(A=(F^=(A=(k^=(A=(b^=(A=y+F|0)<<7|A>>>25)+y|0)<<9|A>>>23)+b|0)<<13|A>>>19)+k|0)<<18|A>>>14,v^=(A=(Q^=(A=(x^=(A=(_^=(A=v+Q|0)<<7|A>>>25)+v|0)<<9|A>>>23)+_|0)<<13|A>>>19)+x|0)<<18|A>>>14,S^=(A=(D^=(A=(w^=(A=(G^=(A=S+D|0)<<7|A>>>25)+S|0)<<9|A>>>23)+G|0)<<13|A>>>19)+w|0)<<18|A>>>14,H^=(A=(N^=(A=(M^=(A=(E^=(A=H+N|0)<<7|A>>>25)+H|0)<<9|A>>>23)+E|0)<<13|A>>>19)+M|0)<<18|A>>>14,y^=(A=(E^=(A=(w^=(A=(Q^=(A=y+E|0)<<7|A>>>25)+y|0)<<9|A>>>23)+Q|0)<<13|A>>>19)+w|0)<<18|A>>>14,v^=(A=(b^=(A=(M^=(A=(D^=(A=v+b|0)<<7|A>>>25)+v|0)<<9|A>>>23)+D|0)<<13|A>>>19)+M|0)<<18|A>>>14,S^=(A=(_^=(A=(k^=(A=(N^=(A=S+_|0)<<7|A>>>25)+S|0)<<9|A>>>23)+N|0)<<13|A>>>19)+k|0)<<18|A>>>14,H^=(A=(G^=(A=(x^=(A=(F^=(A=H+G|0)<<7|A>>>25)+H|0)<<9|A>>>23)+F|0)<<13|A>>>19)+x|0)<<18|A>>>14;y=y+i|0,Q=Q+o|0,w=w+a|0,E=E+s|0,b=b+u|0,v=v+l|0,D=D+c|0,M=M+f|0,k=k+d|0,_=_+g|0,S=S+h|0,N=N+p|0,F=F+I|0,x=x+B|0,G=G+C|0,H=H+m|0,e[0]=y>>>0&255,e[1]=y>>>8&255,e[2]=y>>>16&255,e[3]=y>>>24&255,e[4]=Q>>>0&255,e[5]=Q>>>8&255,e[6]=Q>>>16&255,e[7]=Q>>>24&255,e[8]=w>>>0&255,e[9]=w>>>8&255,e[10]=w>>>16&255,e[11]=w>>>24&255,e[12]=E>>>0&255,e[13]=E>>>8&255,e[14]=E>>>16&255,e[15]=E>>>24&255,e[16]=b>>>0&255,e[17]=b>>>8&255,e[18]=b>>>16&255,e[19]=b>>>24&255,e[20]=v>>>0&255,e[21]=v>>>8&255,e[22]=v>>>16&255,e[23]=v>>>24&255,e[24]=D>>>0&255,e[25]=D>>>8&255,e[26]=D>>>16&255,e[27]=D>>>24&255,e[28]=M>>>0&255,e[29]=M>>>8&255,e[30]=M>>>16&255,e[31]=M>>>24&255,e[32]=k>>>0&255,e[33]=k>>>8&255,e[34]=k>>>16&255,e[35]=k>>>24&255,e[36]=_>>>0&255,e[37]=_>>>8&255,e[38]=_>>>16&255,e[39]=_>>>24&255,e[40]=S>>>0&255,e[41]=S>>>8&255,e[42]=S>>>16&255,e[43]=S>>>24&255,e[44]=N>>>0&255,e[45]=N>>>8&255,e[46]=N>>>16&255,e[47]=N>>>24&255,e[48]=F>>>0&255,e[49]=F>>>8&255,e[50]=F>>>16&255,e[51]=F>>>24&255,e[52]=x>>>0&255,e[53]=x>>>8&255,e[54]=x>>>16&255,e[55]=x>>>24&255,e[56]=G>>>0&255,e[57]=G>>>8&255,e[58]=G>>>16&255,e[59]=G>>>24&255,e[60]=H>>>0&255,e[61]=H>>>8&255,e[62]=H>>>16&255,e[63]=H>>>24&255}(e,t,r,n)}function C(e,t,r,n){!function(e,t,r,n){for(var A,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,s=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,g=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,h=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,p=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,I=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,B=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,C=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,m=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,y=0;y<20;y+=2)i^=(A=(I^=(A=(d^=(A=(u^=(A=i+I|0)<<7|A>>>25)+i|0)<<9|A>>>23)+u|0)<<13|A>>>19)+d|0)<<18|A>>>14,l^=(A=(o^=(A=(B^=(A=(g^=(A=l+o|0)<<7|A>>>25)+l|0)<<9|A>>>23)+g|0)<<13|A>>>19)+B|0)<<18|A>>>14,h^=(A=(c^=(A=(a^=(A=(C^=(A=h+c|0)<<7|A>>>25)+h|0)<<9|A>>>23)+C|0)<<13|A>>>19)+a|0)<<18|A>>>14,m^=(A=(p^=(A=(f^=(A=(s^=(A=m+p|0)<<7|A>>>25)+m|0)<<9|A>>>23)+s|0)<<13|A>>>19)+f|0)<<18|A>>>14,i^=(A=(s^=(A=(a^=(A=(o^=(A=i+s|0)<<7|A>>>25)+i|0)<<9|A>>>23)+o|0)<<13|A>>>19)+a|0)<<18|A>>>14,l^=(A=(u^=(A=(f^=(A=(c^=(A=l+u|0)<<7|A>>>25)+l|0)<<9|A>>>23)+c|0)<<13|A>>>19)+f|0)<<18|A>>>14,h^=(A=(g^=(A=(d^=(A=(p^=(A=h+g|0)<<7|A>>>25)+h|0)<<9|A>>>23)+p|0)<<13|A>>>19)+d|0)<<18|A>>>14,m^=(A=(C^=(A=(B^=(A=(I^=(A=m+C|0)<<7|A>>>25)+m|0)<<9|A>>>23)+I|0)<<13|A>>>19)+B|0)<<18|A>>>14;e[0]=i>>>0&255,e[1]=i>>>8&255,e[2]=i>>>16&255,e[3]=i>>>24&255,e[4]=l>>>0&255,e[5]=l>>>8&255,e[6]=l>>>16&255,e[7]=l>>>24&255,e[8]=h>>>0&255,e[9]=h>>>8&255,e[10]=h>>>16&255,e[11]=h>>>24&255,e[12]=m>>>0&255,e[13]=m>>>8&255,e[14]=m>>>16&255,e[15]=m>>>24&255,e[16]=c>>>0&255,e[17]=c>>>8&255,e[18]=c>>>16&255,e[19]=c>>>24&255,e[20]=f>>>0&255,e[21]=f>>>8&255,e[22]=f>>>16&255,e[23]=f>>>24&255,e[24]=d>>>0&255,e[25]=d>>>8&255,e[26]=d>>>16&255,e[27]=d>>>24&255,e[28]=g>>>0&255,e[29]=g>>>8&255,e[30]=g>>>16&255,e[31]=g>>>24&255}(e,t,r,n)}var m=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function y(e,t,r,n,A,i,o){var a,s,u=new Uint8Array(16),l=new Uint8Array(64);for(s=0;s<16;s++)u[s]=0;for(s=0;s<8;s++)u[s]=i[s];for(;A>=64;){for(B(l,u,o,m),s=0;s<64;s++)e[t+s]=r[n+s]^l[s];for(a=1,s=8;s<16;s++)a=a+(255&u[s])|0,u[s]=255&a,a>>>=8;A-=64,t+=64,n+=64}if(A>0)for(B(l,u,o,m),s=0;s<A;s++)e[t+s]=r[n+s]^l[s];return 0}function Q(e,t,r,n,A){var i,o,a=new Uint8Array(16),s=new Uint8Array(64);for(o=0;o<16;o++)a[o]=0;for(o=0;o<8;o++)a[o]=n[o];for(;r>=64;){for(B(s,a,A,m),o=0;o<64;o++)e[t+o]=s[o];for(i=1,o=8;o<16;o++)i=i+(255&a[o])|0,a[o]=255&i,i>>>=8;r-=64,t+=64}if(r>0)for(B(s,a,A,m),o=0;o<r;o++)e[t+o]=s[o];return 0}function w(e,t,r,n,A){var i=new Uint8Array(32);C(i,n,A,m);for(var o=new Uint8Array(8),a=0;a<8;a++)o[a]=n[a+16];return Q(e,t,r,o,i)}function E(e,t,r,n,A,i,o){var a=new Uint8Array(32);C(a,i,o,m);for(var s=new Uint8Array(8),u=0;u<8;u++)s[u]=i[u+16];return y(e,t,r,n,A,s,a)}var b=function(e){var t,r,n,A,i,o,a,s;this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0,t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,r=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|r<<3),n=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(r>>>10|n<<6),A=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(n>>>7|A<<9),i=255&e[8]|(255&e[9])<<8,this.r[4]=255&(A>>>4|i<<12),this.r[5]=i>>>1&8190,o=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(i>>>14|o<<2),a=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(o>>>11|a<<5),s=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(a>>>8|s<<8),this.r[9]=s>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function v(e,t,r,n,A,i){var o=new b(i);return o.update(r,n,A),o.finish(e,t),0}function D(e,t,r,n,A,i){var o=new Uint8Array(16);return v(o,0,r,n,A,i),p(e,t,o,0)}function M(e,t,r,n,A){var i;if(r<32)return-1;for(E(e,0,t,0,r,n,A),v(e,16,e,32,r-32,e),i=0;i<16;i++)e[i]=0;return 0}function k(e,t,r,n,A){var i,o=new Uint8Array(32);if(r<32)return-1;if(w(o,0,32,n,A),0!==D(t,16,t,32,r-32,o))return-1;for(E(e,0,t,0,r,n,A),i=0;i<32;i++)e[i]=0;return 0}function _(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function S(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function N(e,t,r){for(var n,A=~(r-1),i=0;i<16;i++)n=A&(e[i]^t[i]),e[i]^=n,t[i]^=n}function F(e,r){var n,A,i,o=t(),a=t();for(n=0;n<16;n++)a[n]=r[n];for(S(a),S(a),S(a),A=0;A<2;A++){for(o[0]=a[0]-65517,n=1;n<15;n++)o[n]=a[n]-65535-(o[n-1]>>16&1),o[n-1]&=65535;o[15]=a[15]-32767-(o[14]>>16&1),i=o[15]>>16&1,o[14]&=65535,N(a,o,1-i)}for(n=0;n<16;n++)e[2*n]=255&a[n],e[2*n+1]=a[n]>>8}function x(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return F(r,e),F(n,t),I(r,0,n,0)}function G(e){var t=new Uint8Array(32);return F(t,e),1&t[0]}function H(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function U(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function Y(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function L(e,t,r){var n,A,i=0,o=0,a=0,s=0,u=0,l=0,c=0,f=0,d=0,g=0,h=0,p=0,I=0,B=0,C=0,m=0,y=0,Q=0,w=0,E=0,b=0,v=0,D=0,M=0,k=0,_=0,S=0,N=0,F=0,x=0,G=0,H=r[0],U=r[1],Y=r[2],L=r[3],O=r[4],K=r[5],P=r[6],R=r[7],T=r[8],J=r[9],j=r[10],q=r[11],V=r[12],W=r[13],z=r[14],Z=r[15];i+=(n=t[0])*H,o+=n*U,a+=n*Y,s+=n*L,u+=n*O,l+=n*K,c+=n*P,f+=n*R,d+=n*T,g+=n*J,h+=n*j,p+=n*q,I+=n*V,B+=n*W,C+=n*z,m+=n*Z,o+=(n=t[1])*H,a+=n*U,s+=n*Y,u+=n*L,l+=n*O,c+=n*K,f+=n*P,d+=n*R,g+=n*T,h+=n*J,p+=n*j,I+=n*q,B+=n*V,C+=n*W,m+=n*z,y+=n*Z,a+=(n=t[2])*H,s+=n*U,u+=n*Y,l+=n*L,c+=n*O,f+=n*K,d+=n*P,g+=n*R,h+=n*T,p+=n*J,I+=n*j,B+=n*q,C+=n*V,m+=n*W,y+=n*z,Q+=n*Z,s+=(n=t[3])*H,u+=n*U,l+=n*Y,c+=n*L,f+=n*O,d+=n*K,g+=n*P,h+=n*R,p+=n*T,I+=n*J,B+=n*j,C+=n*q,m+=n*V,y+=n*W,Q+=n*z,w+=n*Z,u+=(n=t[4])*H,l+=n*U,c+=n*Y,f+=n*L,d+=n*O,g+=n*K,h+=n*P,p+=n*R,I+=n*T,B+=n*J,C+=n*j,m+=n*q,y+=n*V,Q+=n*W,w+=n*z,E+=n*Z,l+=(n=t[5])*H,c+=n*U,f+=n*Y,d+=n*L,g+=n*O,h+=n*K,p+=n*P,I+=n*R,B+=n*T,C+=n*J,m+=n*j,y+=n*q,Q+=n*V,w+=n*W,E+=n*z,b+=n*Z,c+=(n=t[6])*H,f+=n*U,d+=n*Y,g+=n*L,h+=n*O,p+=n*K,I+=n*P,B+=n*R,C+=n*T,m+=n*J,y+=n*j,Q+=n*q,w+=n*V,E+=n*W,b+=n*z,v+=n*Z,f+=(n=t[7])*H,d+=n*U,g+=n*Y,h+=n*L,p+=n*O,I+=n*K,B+=n*P,C+=n*R,m+=n*T,y+=n*J,Q+=n*j,w+=n*q,E+=n*V,b+=n*W,v+=n*z,D+=n*Z,d+=(n=t[8])*H,g+=n*U,h+=n*Y,p+=n*L,I+=n*O,B+=n*K,C+=n*P,m+=n*R,y+=n*T,Q+=n*J,w+=n*j,E+=n*q,b+=n*V,v+=n*W,D+=n*z,M+=n*Z,g+=(n=t[9])*H,h+=n*U,p+=n*Y,I+=n*L,B+=n*O,C+=n*K,m+=n*P,y+=n*R,Q+=n*T,w+=n*J,E+=n*j,b+=n*q,v+=n*V,D+=n*W,M+=n*z,k+=n*Z,h+=(n=t[10])*H,p+=n*U,I+=n*Y,B+=n*L,C+=n*O,m+=n*K,y+=n*P,Q+=n*R,w+=n*T,E+=n*J,b+=n*j,v+=n*q,D+=n*V,M+=n*W,k+=n*z,_+=n*Z,p+=(n=t[11])*H,I+=n*U,B+=n*Y,C+=n*L,m+=n*O,y+=n*K,Q+=n*P,w+=n*R,E+=n*T,b+=n*J,v+=n*j,D+=n*q,M+=n*V,k+=n*W,_+=n*z,S+=n*Z,I+=(n=t[12])*H,B+=n*U,C+=n*Y,m+=n*L,y+=n*O,Q+=n*K,w+=n*P,E+=n*R,b+=n*T,v+=n*J,D+=n*j,M+=n*q,k+=n*V,_+=n*W,S+=n*z,N+=n*Z,B+=(n=t[13])*H,C+=n*U,m+=n*Y,y+=n*L,Q+=n*O,w+=n*K,E+=n*P,b+=n*R,v+=n*T,D+=n*J,M+=n*j,k+=n*q,_+=n*V,S+=n*W,N+=n*z,F+=n*Z,C+=(n=t[14])*H,m+=n*U,y+=n*Y,Q+=n*L,w+=n*O,E+=n*K,b+=n*P,v+=n*R,D+=n*T,M+=n*J,k+=n*j,_+=n*q,S+=n*V,N+=n*W,F+=n*z,x+=n*Z,m+=(n=t[15])*H,o+=38*(Q+=n*Y),a+=38*(w+=n*L),s+=38*(E+=n*O),u+=38*(b+=n*K),l+=38*(v+=n*P),c+=38*(D+=n*R),f+=38*(M+=n*T),d+=38*(k+=n*J),g+=38*(_+=n*j),h+=38*(S+=n*q),p+=38*(N+=n*V),I+=38*(F+=n*W),B+=38*(x+=n*z),C+=38*(G+=n*Z),i=(n=(i+=38*(y+=n*U))+(A=1)+65535)-65536*(A=Math.floor(n/65536)),o=(n=o+A+65535)-65536*(A=Math.floor(n/65536)),a=(n=a+A+65535)-65536*(A=Math.floor(n/65536)),s=(n=s+A+65535)-65536*(A=Math.floor(n/65536)),u=(n=u+A+65535)-65536*(A=Math.floor(n/65536)),l=(n=l+A+65535)-65536*(A=Math.floor(n/65536)),c=(n=c+A+65535)-65536*(A=Math.floor(n/65536)),f=(n=f+A+65535)-65536*(A=Math.floor(n/65536)),d=(n=d+A+65535)-65536*(A=Math.floor(n/65536)),g=(n=g+A+65535)-65536*(A=Math.floor(n/65536)),h=(n=h+A+65535)-65536*(A=Math.floor(n/65536)),p=(n=p+A+65535)-65536*(A=Math.floor(n/65536)),I=(n=I+A+65535)-65536*(A=Math.floor(n/65536)),B=(n=B+A+65535)-65536*(A=Math.floor(n/65536)),C=(n=C+A+65535)-65536*(A=Math.floor(n/65536)),m=(n=m+A+65535)-65536*(A=Math.floor(n/65536)),i=(n=(i+=A-1+37*(A-1))+(A=1)+65535)-65536*(A=Math.floor(n/65536)),o=(n=o+A+65535)-65536*(A=Math.floor(n/65536)),a=(n=a+A+65535)-65536*(A=Math.floor(n/65536)),s=(n=s+A+65535)-65536*(A=Math.floor(n/65536)),u=(n=u+A+65535)-65536*(A=Math.floor(n/65536)),l=(n=l+A+65535)-65536*(A=Math.floor(n/65536)),c=(n=c+A+65535)-65536*(A=Math.floor(n/65536)),f=(n=f+A+65535)-65536*(A=Math.floor(n/65536)),d=(n=d+A+65535)-65536*(A=Math.floor(n/65536)),g=(n=g+A+65535)-65536*(A=Math.floor(n/65536)),h=(n=h+A+65535)-65536*(A=Math.floor(n/65536)),p=(n=p+A+65535)-65536*(A=Math.floor(n/65536)),I=(n=I+A+65535)-65536*(A=Math.floor(n/65536)),B=(n=B+A+65535)-65536*(A=Math.floor(n/65536)),C=(n=C+A+65535)-65536*(A=Math.floor(n/65536)),m=(n=m+A+65535)-65536*(A=Math.floor(n/65536)),i+=A-1+37*(A-1),e[0]=i,e[1]=o,e[2]=a,e[3]=s,e[4]=u,e[5]=l,e[6]=c,e[7]=f,e[8]=d,e[9]=g,e[10]=h,e[11]=p,e[12]=I,e[13]=B,e[14]=C,e[15]=m}function O(e,t){L(e,t,t)}function K(e,r){var n,A=t();for(n=0;n<16;n++)A[n]=r[n];for(n=253;n>=0;n--)O(A,A),2!==n&&4!==n&&L(A,A,r);for(n=0;n<16;n++)e[n]=A[n]}function P(e,r){var n,A=t();for(n=0;n<16;n++)A[n]=r[n];for(n=250;n>=0;n--)O(A,A),1!==n&&L(A,A,r);for(n=0;n<16;n++)e[n]=A[n]}function R(e,r,n){var A,i,o=new Uint8Array(32),a=new Float64Array(80),u=t(),l=t(),c=t(),f=t(),d=t(),g=t();for(i=0;i<31;i++)o[i]=r[i];for(o[31]=127&r[31]|64,o[0]&=248,H(a,n),i=0;i<16;i++)l[i]=a[i],f[i]=u[i]=c[i]=0;for(u[0]=f[0]=1,i=254;i>=0;--i)N(u,l,A=o[i>>>3]>>>(7&i)&1),N(c,f,A),U(d,u,c),Y(u,u,c),U(c,l,f),Y(l,l,f),O(f,d),O(g,u),L(u,c,u),L(c,l,d),U(d,u,c),Y(u,u,c),O(l,u),Y(c,f,g),L(u,c,s),U(u,u,f),L(c,c,u),L(u,f,g),L(f,l,a),O(l,d),N(u,l,A),N(c,f,A);for(i=0;i<16;i++)a[i+16]=u[i],a[i+32]=c[i],a[i+48]=l[i],a[i+64]=f[i];var h=a.subarray(32),p=a.subarray(16);return K(h,h),L(p,p,h),F(e,p),0}function T(e,t){return R(e,t,i)}function J(e,t){return n(t,32),T(e,t)}function j(e,t,r){var n=new Uint8Array(32);return R(n,r,t),C(e,A,n,m)}b.prototype.blocks=function(e,t,r){for(var n,A,i,o,a,s,u,l,c,f,d,g,h,p,I,B,C,m,y,Q=this.fin?0:2048,w=this.h[0],E=this.h[1],b=this.h[2],v=this.h[3],D=this.h[4],M=this.h[5],k=this.h[6],_=this.h[7],S=this.h[8],N=this.h[9],F=this.r[0],x=this.r[1],G=this.r[2],H=this.r[3],U=this.r[4],Y=this.r[5],L=this.r[6],O=this.r[7],K=this.r[8],P=this.r[9];r>=16;)f=c=0,f+=(w+=8191&(n=255&e[t+0]|(255&e[t+1])<<8))*F,f+=(E+=8191&(n>>>13|(A=255&e[t+2]|(255&e[t+3])<<8)<<3))*(5*P),f+=(b+=8191&(A>>>10|(i=255&e[t+4]|(255&e[t+5])<<8)<<6))*(5*K),f+=(v+=8191&(i>>>7|(o=255&e[t+6]|(255&e[t+7])<<8)<<9))*(5*O),c=(f+=(D+=8191&(o>>>4|(a=255&e[t+8]|(255&e[t+9])<<8)<<12))*(5*L))>>>13,f&=8191,f+=(M+=a>>>1&8191)*(5*Y),f+=(k+=8191&(a>>>14|(s=255&e[t+10]|(255&e[t+11])<<8)<<2))*(5*U),f+=(_+=8191&(s>>>11|(u=255&e[t+12]|(255&e[t+13])<<8)<<5))*(5*H),f+=(S+=8191&(u>>>8|(l=255&e[t+14]|(255&e[t+15])<<8)<<8))*(5*G),d=c+=(f+=(N+=l>>>5|Q)*(5*x))>>>13,d+=w*x,d+=E*F,d+=b*(5*P),d+=v*(5*K),c=(d+=D*(5*O))>>>13,d&=8191,d+=M*(5*L),d+=k*(5*Y),d+=_*(5*U),d+=S*(5*H),c+=(d+=N*(5*G))>>>13,d&=8191,g=c,g+=w*G,g+=E*x,g+=b*F,g+=v*(5*P),c=(g+=D*(5*K))>>>13,g&=8191,g+=M*(5*O),g+=k*(5*L),g+=_*(5*Y),g+=S*(5*U),h=c+=(g+=N*(5*H))>>>13,h+=w*H,h+=E*G,h+=b*x,h+=v*F,c=(h+=D*(5*P))>>>13,h&=8191,h+=M*(5*K),h+=k*(5*O),h+=_*(5*L),h+=S*(5*Y),p=c+=(h+=N*(5*U))>>>13,p+=w*U,p+=E*H,p+=b*G,p+=v*x,c=(p+=D*F)>>>13,p&=8191,p+=M*(5*P),p+=k*(5*K),p+=_*(5*O),p+=S*(5*L),I=c+=(p+=N*(5*Y))>>>13,I+=w*Y,I+=E*U,I+=b*H,I+=v*G,c=(I+=D*x)>>>13,I&=8191,I+=M*F,I+=k*(5*P),I+=_*(5*K),I+=S*(5*O),B=c+=(I+=N*(5*L))>>>13,B+=w*L,B+=E*Y,B+=b*U,B+=v*H,c=(B+=D*G)>>>13,B&=8191,B+=M*x,B+=k*F,B+=_*(5*P),B+=S*(5*K),C=c+=(B+=N*(5*O))>>>13,C+=w*O,C+=E*L,C+=b*Y,C+=v*U,c=(C+=D*H)>>>13,C&=8191,C+=M*G,C+=k*x,C+=_*F,C+=S*(5*P),m=c+=(C+=N*(5*K))>>>13,m+=w*K,m+=E*O,m+=b*L,m+=v*Y,c=(m+=D*U)>>>13,m&=8191,m+=M*H,m+=k*G,m+=_*x,m+=S*F,y=c+=(m+=N*(5*P))>>>13,y+=w*P,y+=E*K,y+=b*O,y+=v*L,c=(y+=D*Y)>>>13,y&=8191,y+=M*U,y+=k*H,y+=_*G,y+=S*x,w=f=8191&(c=(c=((c+=(y+=N*F)>>>13)<<2)+c|0)+(f&=8191)|0),E=d+=c>>>=13,b=g&=8191,v=h&=8191,D=p&=8191,M=I&=8191,k=B&=8191,_=C&=8191,S=m&=8191,N=y&=8191,t+=16,r-=16;this.h[0]=w,this.h[1]=E,this.h[2]=b,this.h[3]=v,this.h[4]=D,this.h[5]=M,this.h[6]=k,this.h[7]=_,this.h[8]=S,this.h[9]=N},b.prototype.finish=function(e,t){var r,n,A,i,o=new Uint16Array(10);if(this.leftover){for(i=this.leftover,this.buffer[i++]=1;i<16;i++)this.buffer[i]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(r=this.h[1]>>>13,this.h[1]&=8191,i=2;i<10;i++)this.h[i]+=r,r=this.h[i]>>>13,this.h[i]&=8191;for(this.h[0]+=5*r,r=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=r,r=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=r,o[0]=this.h[0]+5,r=o[0]>>>13,o[0]&=8191,i=1;i<10;i++)o[i]=this.h[i]+r,r=o[i]>>>13,o[i]&=8191;for(o[9]-=8192,n=(1^r)-1,i=0;i<10;i++)o[i]&=n;for(n=~n,i=0;i<10;i++)this.h[i]=this.h[i]&n|o[i];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),A=this.h[0]+this.pad[0],this.h[0]=65535&A,i=1;i<8;i++)A=(this.h[i]+this.pad[i]|0)+(A>>>16)|0,this.h[i]=65535&A;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},b.prototype.update=function(e,t,r){var n,A;if(this.leftover){for((A=16-this.leftover)>r&&(A=r),n=0;n<A;n++)this.buffer[this.leftover+n]=e[t+n];if(r-=A,t+=A,this.leftover+=A,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(r>=16&&(A=r-r%16,this.blocks(e,t,A),t+=A,r-=A),r){for(n=0;n<r;n++)this.buffer[this.leftover+n]=e[t+n];this.leftover+=r}};var q=M,V=k;var W=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function z(e,t,r,n){for(var A,i,o,a,s,u,l,c,f,d,g,h,p,I,B,C,m,y,Q,w,E,b,v,D,M,k,_=new Int32Array(16),S=new Int32Array(16),N=e[0],F=e[1],x=e[2],G=e[3],H=e[4],U=e[5],Y=e[6],L=e[7],O=t[0],K=t[1],P=t[2],R=t[3],T=t[4],J=t[5],j=t[6],q=t[7],V=0;n>=128;){for(Q=0;Q<16;Q++)w=8*Q+V,_[Q]=r[w+0]<<24|r[w+1]<<16|r[w+2]<<8|r[w+3],S[Q]=r[w+4]<<24|r[w+5]<<16|r[w+6]<<8|r[w+7];for(Q=0;Q<80;Q++)if(A=N,i=F,o=x,a=G,s=H,u=U,l=Y,L,f=O,d=K,g=P,h=R,p=T,I=J,B=j,q,v=65535&(b=q),D=b>>>16,M=65535&(E=L),k=E>>>16,v+=65535&(b=(T>>>14|H<<18)^(T>>>18|H<<14)^(H>>>9|T<<23)),D+=b>>>16,M+=65535&(E=(H>>>14|T<<18)^(H>>>18|T<<14)^(T>>>9|H<<23)),k+=E>>>16,v+=65535&(b=T&J^~T&j),D+=b>>>16,M+=65535&(E=H&U^~H&Y),k+=E>>>16,E=W[2*Q],v+=65535&(b=W[2*Q+1]),D+=b>>>16,M+=65535&E,k+=E>>>16,E=_[Q%16],D+=(b=S[Q%16])>>>16,M+=65535&E,k+=E>>>16,M+=(D+=(v+=65535&b)>>>16)>>>16,v=65535&(b=y=65535&v|D<<16),D=b>>>16,M=65535&(E=m=65535&M|(k+=M>>>16)<<16),k=E>>>16,v+=65535&(b=(O>>>28|N<<4)^(N>>>2|O<<30)^(N>>>7|O<<25)),D+=b>>>16,M+=65535&(E=(N>>>28|O<<4)^(O>>>2|N<<30)^(O>>>7|N<<25)),k+=E>>>16,D+=(b=O&K^O&P^K&P)>>>16,M+=65535&(E=N&F^N&x^F&x),k+=E>>>16,c=65535&(M+=(D+=(v+=65535&b)>>>16)>>>16)|(k+=M>>>16)<<16,C=65535&v|D<<16,v=65535&(b=h),D=b>>>16,M=65535&(E=a),k=E>>>16,D+=(b=y)>>>16,M+=65535&(E=m),k+=E>>>16,F=A,x=i,G=o,H=a=65535&(M+=(D+=(v+=65535&b)>>>16)>>>16)|(k+=M>>>16)<<16,U=s,Y=u,L=l,N=c,K=f,P=d,R=g,T=h=65535&v|D<<16,J=p,j=I,q=B,O=C,Q%16==15)for(w=0;w<16;w++)E=_[w],v=65535&(b=S[w]),D=b>>>16,M=65535&E,k=E>>>16,E=_[(w+9)%16],v+=65535&(b=S[(w+9)%16]),D+=b>>>16,M+=65535&E,k+=E>>>16,m=_[(w+1)%16],v+=65535&(b=((y=S[(w+1)%16])>>>1|m<<31)^(y>>>8|m<<24)^(y>>>7|m<<25)),D+=b>>>16,M+=65535&(E=(m>>>1|y<<31)^(m>>>8|y<<24)^m>>>7),k+=E>>>16,m=_[(w+14)%16],D+=(b=((y=S[(w+14)%16])>>>19|m<<13)^(m>>>29|y<<3)^(y>>>6|m<<26))>>>16,M+=65535&(E=(m>>>19|y<<13)^(y>>>29|m<<3)^m>>>6),k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,_[w]=65535&M|k<<16,S[w]=65535&v|D<<16;v=65535&(b=O),D=b>>>16,M=65535&(E=N),k=E>>>16,E=e[0],D+=(b=t[0])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[0]=N=65535&M|k<<16,t[0]=O=65535&v|D<<16,v=65535&(b=K),D=b>>>16,M=65535&(E=F),k=E>>>16,E=e[1],D+=(b=t[1])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[1]=F=65535&M|k<<16,t[1]=K=65535&v|D<<16,v=65535&(b=P),D=b>>>16,M=65535&(E=x),k=E>>>16,E=e[2],D+=(b=t[2])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[2]=x=65535&M|k<<16,t[2]=P=65535&v|D<<16,v=65535&(b=R),D=b>>>16,M=65535&(E=G),k=E>>>16,E=e[3],D+=(b=t[3])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[3]=G=65535&M|k<<16,t[3]=R=65535&v|D<<16,v=65535&(b=T),D=b>>>16,M=65535&(E=H),k=E>>>16,E=e[4],D+=(b=t[4])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[4]=H=65535&M|k<<16,t[4]=T=65535&v|D<<16,v=65535&(b=J),D=b>>>16,M=65535&(E=U),k=E>>>16,E=e[5],D+=(b=t[5])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[5]=U=65535&M|k<<16,t[5]=J=65535&v|D<<16,v=65535&(b=j),D=b>>>16,M=65535&(E=Y),k=E>>>16,E=e[6],D+=(b=t[6])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[6]=Y=65535&M|k<<16,t[6]=j=65535&v|D<<16,v=65535&(b=q),D=b>>>16,M=65535&(E=L),k=E>>>16,E=e[7],D+=(b=t[7])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[7]=L=65535&M|k<<16,t[7]=q=65535&v|D<<16,V+=128,n-=128}return n}function Z(e,t,r){var n,A=new Int32Array(8),i=new Int32Array(8),o=new Uint8Array(256),a=r;for(A[0]=1779033703,A[1]=3144134277,A[2]=1013904242,A[3]=2773480762,A[4]=1359893119,A[5]=2600822924,A[6]=528734635,A[7]=1541459225,i[0]=4089235720,i[1]=2227873595,i[2]=4271175723,i[3]=1595750129,i[4]=2917565137,i[5]=725511199,i[6]=4215389547,i[7]=327033209,z(A,i,t,r),r%=128,n=0;n<r;n++)o[n]=t[a-r+n];for(o[r]=128,o[(r=256-128*(r<112?1:0))-9]=0,g(o,r-8,a/536870912|0,a<<3),z(A,i,o,r),n=0;n<8;n++)g(e,8*n,A[n],i[n]);return 0}function X(e,r){var n=t(),A=t(),i=t(),o=t(),a=t(),s=t(),u=t(),c=t(),f=t();Y(n,e[1],e[0]),Y(f,r[1],r[0]),L(n,n,f),U(A,e[0],e[1]),U(f,r[0],r[1]),L(A,A,f),L(i,e[3],r[3]),L(i,i,l),L(o,e[2],r[2]),U(o,o,o),Y(a,A,n),Y(s,o,i),U(u,o,i),U(c,A,n),L(e[0],a,s),L(e[1],c,u),L(e[2],u,s),L(e[3],a,c)}function $(e,t,r){var n;for(n=0;n<4;n++)N(e[n],t[n],r)}function ee(e,r){var n=t(),A=t(),i=t();K(i,r[2]),L(n,r[0],i),L(A,r[1],i),F(e,A),e[31]^=G(n)<<7}function te(e,t,r){var n,A;for(_(e[0],o),_(e[1],a),_(e[2],a),_(e[3],o),A=255;A>=0;--A)$(e,t,n=r[A/8|0]>>(7&A)&1),X(t,e),X(e,e),$(e,t,n)}function re(e,r){var n=[t(),t(),t(),t()];_(n[0],c),_(n[1],f),_(n[2],a),L(n[3],c,f),te(e,n,r)}function ne(e,r,A){var i,o=new Uint8Array(64),a=[t(),t(),t(),t()];for(A||n(r,32),Z(o,r,32),o[0]&=248,o[31]&=127,o[31]|=64,re(a,o),ee(e,a),i=0;i<32;i++)r[i+32]=e[i];return 0}var Ae=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function ie(e,t){var r,n,A,i;for(n=63;n>=32;--n){for(r=0,A=n-32,i=n-12;A<i;++A)t[A]+=r-16*t[n]*Ae[A-(n-32)],r=Math.floor((t[A]+128)/256),t[A]-=256*r;t[A]+=r,t[n]=0}for(r=0,A=0;A<32;A++)t[A]+=r-(t[31]>>4)*Ae[A],r=t[A]>>8,t[A]&=255;for(A=0;A<32;A++)t[A]-=r*Ae[A];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function oe(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;ie(e,r)}function ae(e,r,n,A){var i,o,a=new Uint8Array(64),s=new Uint8Array(64),u=new Uint8Array(64),l=new Float64Array(64),c=[t(),t(),t(),t()];Z(a,A,32),a[0]&=248,a[31]&=127,a[31]|=64;var f=n+64;for(i=0;i<n;i++)e[64+i]=r[i];for(i=0;i<32;i++)e[32+i]=a[32+i];for(Z(u,e.subarray(32),n+32),oe(u),re(c,u),ee(e,c),i=32;i<64;i++)e[i]=A[i];for(Z(s,e,n+64),oe(s),i=0;i<64;i++)l[i]=0;for(i=0;i<32;i++)l[i]=u[i];for(i=0;i<32;i++)for(o=0;o<32;o++)l[i+o]+=s[i]*a[o];return ie(e.subarray(32),l),f}function se(e,r,n,A){var i,s=new Uint8Array(32),l=new Uint8Array(64),c=[t(),t(),t(),t()],f=[t(),t(),t(),t()];if(n<64)return-1;if(function(e,r){var n=t(),A=t(),i=t(),s=t(),l=t(),c=t(),f=t();return _(e[2],a),H(e[1],r),O(i,e[1]),L(s,i,u),Y(i,i,e[2]),U(s,e[2],s),O(l,s),O(c,l),L(f,c,l),L(n,f,i),L(n,n,s),P(n,n),L(n,n,i),L(n,n,s),L(n,n,s),L(e[0],n,s),O(A,e[0]),L(A,A,s),x(A,i)&&L(e[0],e[0],d),O(A,e[0]),L(A,A,s),x(A,i)?-1:(G(e[0])===r[31]>>7&&Y(e[0],o,e[0]),L(e[3],e[0],e[1]),0)}(f,A))return-1;for(i=0;i<n;i++)e[i]=r[i];for(i=0;i<32;i++)e[i+32]=A[i];if(Z(l,e,n),oe(l),te(c,f,l),re(f,r.subarray(32)),X(c,f),ee(s,c),n-=64,I(r,0,s,0)){for(i=0;i<n;i++)e[i]=0;return-1}for(i=0;i<n;i++)e[i]=r[i+64];return n}var ue=32,le=24,ce=32,fe=32,de=le;function ge(e,t){if(e.length!==ue)throw new Error("bad key size");if(t.length!==le)throw new Error("bad nonce size")}function he(){for(var e=0;e<arguments.length;e++)if(!(arguments[e]instanceof Uint8Array))throw new TypeError("unexpected type, use Uint8Array")}function pe(e){for(var t=0;t<e.length;t++)e[t]=0}e.lowlevel={crypto_core_hsalsa20:C,crypto_stream_xor:E,crypto_stream:w,crypto_stream_salsa20_xor:y,crypto_stream_salsa20:Q,crypto_onetimeauth:v,crypto_onetimeauth_verify:D,crypto_verify_16:p,crypto_verify_32:I,crypto_secretbox:M,crypto_secretbox_open:k,crypto_scalarmult:R,crypto_scalarmult_base:T,crypto_box_beforenm:j,crypto_box_afternm:q,crypto_box:function(e,t,r,n,A,i){var o=new Uint8Array(32);return j(o,A,i),q(e,t,r,n,o)},crypto_box_open:function(e,t,r,n,A,i){var o=new Uint8Array(32);return j(o,A,i),V(e,t,r,n,o)},crypto_box_keypair:J,crypto_hash:Z,crypto_sign:ae,crypto_sign_keypair:ne,crypto_sign_open:se,crypto_secretbox_KEYBYTES:ue,crypto_secretbox_NONCEBYTES:le,crypto_secretbox_ZEROBYTES:32,crypto_secretbox_BOXZEROBYTES:16,crypto_scalarmult_BYTES:32,crypto_scalarmult_SCALARBYTES:32,crypto_box_PUBLICKEYBYTES:ce,crypto_box_SECRETKEYBYTES:fe,crypto_box_BEFORENMBYTES:32,crypto_box_NONCEBYTES:de,crypto_box_ZEROBYTES:32,crypto_box_BOXZEROBYTES:16,crypto_sign_BYTES:64,crypto_sign_PUBLICKEYBYTES:32,crypto_sign_SECRETKEYBYTES:64,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64,gf:t,D:u,L:Ae,pack25519:F,unpack25519:H,M:L,A:U,S:O,Z:Y,pow2523:P,add:X,set25519:_,modL:ie,scalarmult:te,scalarbase:re},e.randomBytes=function(e){var t=new Uint8Array(e);return n(t,e),t},e.secretbox=function(e,t,r){he(e,t,r),ge(r,t);for(var n=new Uint8Array(32+e.length),A=new Uint8Array(n.length),i=0;i<e.length;i++)n[i+32]=e[i];return M(A,n,n.length,t,r),A.subarray(16)},e.secretbox.open=function(e,t,r){he(e,t,r),ge(r,t);for(var n=new Uint8Array(16+e.length),A=new Uint8Array(n.length),i=0;i<e.length;i++)n[i+16]=e[i];return n.length<32?null:0!==k(A,n,n.length,t,r)?null:A.subarray(32)},e.secretbox.keyLength=ue,e.secretbox.nonceLength=le,e.secretbox.overheadLength=16,e.scalarMult=function(e,t){if(he(e,t),32!==e.length)throw new Error("bad n size");if(32!==t.length)throw new Error("bad p size");var r=new Uint8Array(32);return R(r,e,t),r},e.scalarMult.base=function(e){if(he(e),32!==e.length)throw new Error("bad n size");var t=new Uint8Array(32);return T(t,e),t},e.scalarMult.scalarLength=32,e.scalarMult.groupElementLength=32,e.box=function(t,r,n,A){var i=e.box.before(n,A);return e.secretbox(t,r,i)},e.box.before=function(e,t){he(e,t),function(e,t){if(e.length!==ce)throw new Error("bad public key size");if(t.length!==fe)throw new Error("bad secret key size")}(e,t);var r=new Uint8Array(32);return j(r,e,t),r},e.box.after=e.secretbox,e.box.open=function(t,r,n,A){var i=e.box.before(n,A);return e.secretbox.open(t,r,i)},e.box.open.after=e.secretbox.open,e.box.keyPair=function(){var e=new Uint8Array(ce),t=new Uint8Array(fe);return J(e,t),{publicKey:e,secretKey:t}},e.box.keyPair.fromSecretKey=function(e){if(he(e),e.length!==fe)throw new Error("bad secret key size");var t=new Uint8Array(ce);return T(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},e.box.publicKeyLength=ce,e.box.secretKeyLength=fe,e.box.sharedKeyLength=32,e.box.nonceLength=de,e.box.overheadLength=e.secretbox.overheadLength,e.sign=function(e,t){if(he(e,t),64!==t.length)throw new Error("bad secret key size");var r=new Uint8Array(64+e.length);return ae(r,e,e.length,t),r},e.sign.open=function(e,t){if(he(e,t),32!==t.length)throw new Error("bad public key size");var r=new Uint8Array(e.length),n=se(r,e,e.length,t);if(n<0)return null;for(var A=new Uint8Array(n),i=0;i<A.length;i++)A[i]=r[i];return A},e.sign.detached=function(t,r){for(var n=e.sign(t,r),A=new Uint8Array(64),i=0;i<A.length;i++)A[i]=n[i];return A},e.sign.detached.verify=function(e,t,r){if(he(e,t,r),64!==t.length)throw new Error("bad signature size");if(32!==r.length)throw new Error("bad public key size");var n,A=new Uint8Array(64+e.length),i=new Uint8Array(64+e.length);for(n=0;n<64;n++)A[n]=t[n];for(n=0;n<e.length;n++)A[n+64]=e[n];return se(i,A,A.length,r)>=0},e.sign.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(64);return ne(e,t),{publicKey:e,secretKey:t}},e.sign.keyPair.fromSecretKey=function(e){if(he(e),64!==e.length)throw new Error("bad secret key size");for(var t=new Uint8Array(32),r=0;r<t.length;r++)t[r]=e[32+r];return{publicKey:t,secretKey:new Uint8Array(e)}},e.sign.keyPair.fromSeed=function(e){if(he(e),32!==e.length)throw new Error("bad seed size");for(var t=new Uint8Array(32),r=new Uint8Array(64),n=0;n<32;n++)r[n]=e[n];return ne(t,r,!0),{publicKey:t,secretKey:r}},e.sign.publicKeyLength=32,e.sign.secretKeyLength=64,e.sign.seedLength=32,e.sign.signatureLength=64,e.hash=function(e){he(e);var t=new Uint8Array(64);return Z(t,e,e.length),t},e.hash.hashLength=64,e.verify=function(e,t){return he(e,t),0!==e.length&&0!==t.length&&(e.length===t.length&&0===h(e,0,t,0,e.length))},e.setPRNG=function(e){n=e},function(){var t="undefined"!=typeof self?self.crypto||self.msCrypto:null;if(t&&t.getRandomValues){e.setPRNG(function(e,r){var n,A=new Uint8Array(r);for(n=0;n<r;n+=65536)t.getRandomValues(A.subarray(n,n+Math.min(r-n,65536)));for(n=0;n<r;n++)e[n]=A[n];pe(A)})}else(t=r(1330))&&t.randomBytes&&e.setPRNG(function(e,r){var n,A=t.randomBytes(r);for(n=0;n<r;n++)e[n]=A[n];pe(A)})}()}(e.exports?e.exports:self.nacl=self.nacl||{})},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0});var A={BTreeMap:!0,Compact:!0,Enum:!0,Option:!0,Result:!0,Set:!0,Struct:!0,Tuple:!0,Vec:!0,U8a:!0,UInt:!0};Object.defineProperty(t,"BTreeMap",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Compact",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Enum",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Option",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Result",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"Set",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Struct",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"Tuple",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"Vec",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"U8a",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"UInt",{enumerable:!0,get:function(){return h.default}});var i=n(r(858)),o=n(r(125)),a=n(r(39)),s=n(r(182)),u=n(r(863)),l=n(r(864)),c=n(r(29)),f=n(r(80)),d=n(r(60)),g=n(r(126)),h=n(r(183)),p=r(224);Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))});var I=r(860);Object.keys(I).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return I[e]}}))})},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=function(){function e(){(0,A.default)(this,e)}return(0,i.default)(e,[{key:"toHex",value:function(){return"0x"}},{key:"toJSON",value:function(){return null}},{key:"toString",value:function(){return""}},{key:"toU8a",value:function(e){return new Uint8Array}},{key:"encodedLength",get:function(){return 0}}]),e}();t.default=o},function(e,t,r){var n=r(504)("wks"),A=r(344),i=r(185).Symbol,o="function"==typeof i;(e.exports=function(e){return n[e]||(n[e]=o&&i[e]||(o?i:A)("Symbol."+e))}).store=n},function(e,t,r){var n=r(128),A=r(947),i=function(e){this._inputFormatter=e.inputFormatter,this._outputFormatter=e.outputFormatter};i.prototype.isType=function(e){throw"this method should be overrwritten for type "+e},i.prototype.staticPartLength=function(e){return(this.nestedTypes(e)||["[1]"]).map(function(e){return parseInt(e.slice(1,-1),10)||1}).reduce(function(e,t){return e*t},32)},i.prototype.isDynamicArray=function(e){var t=this.nestedTypes(e);return!!t&&!t[t.length-1].match(/[0-9]{1,}/g)},i.prototype.isStaticArray=function(e){var t=this.nestedTypes(e);return!!t&&!!t[t.length-1].match(/[0-9]{1,}/g)},i.prototype.staticArrayLength=function(e){var t=this.nestedTypes(e);return t?parseInt(t[t.length-1].match(/[0-9]{1,}/g)||1):1},i.prototype.nestedName=function(e){var t=this.nestedTypes(e);return t?e.substr(0,e.length-t[t.length-1].length):e},i.prototype.isDynamicType=function(){return!1},i.prototype.nestedTypes=function(e){return e.match(/(\[[0-9]*\])/g)},i.prototype.encode=function(e,t){var r,A,i,o=this;return this.isDynamicArray(t)?(r=e.length,A=o.nestedName(t),(i=[]).push(n.formatInputInt(r).encode()),e.forEach(function(e){i.push(o.encode(e,A))}),i):this.isStaticArray(t)?function(){for(var r=o.staticArrayLength(t),n=o.nestedName(t),A=[],i=0;i<r;i++)A.push(o.encode(e[i],n));return A}():this._inputFormatter(e,t).encode()},i.prototype.decode=function(e,t,r){var n=this;if(this.isDynamicArray(r))return function(){for(var A=parseInt("0x"+e.substr(2*t,64)),i=parseInt("0x"+e.substr(2*A,64)),o=A+32,a=n.nestedName(r),s=n.staticPartLength(a),u=32*Math.floor((s+31)/32),l=[],c=0;c<i*u;c+=u)l.push(n.decode(e,o+c,a));return l}();if(this.isStaticArray(r))return function(){for(var A=n.staticArrayLength(r),i=t,o=n.nestedName(r),a=n.staticPartLength(o),s=32*Math.floor((a+31)/32),u=[],l=0;l<A*s;l+=s)u.push(n.decode(e,i+l,o));return u}();if(this.isDynamicType(r))return function(){var i=parseInt("0x"+e.substr(2*t,64)),o=parseInt("0x"+e.substr(2*i,64)),a=Math.floor((o+31)/32),s=new A(e.substr(2*i,64*(1+a)),0);return n._outputFormatter(s,r)}();var i=this.staticPartLength(r),o=new A(e.substr(2*t,2*i));return this._outputFormatter(o,r)},e.exports=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const A=n(r(1806));t.ArgumentRequired=A.default;const i=r(1807);t.HexStringShouldStartWith0x=i.HexStringShouldStartWith0x,t.InvalidHexString=i.InvalidHexString;const o=r(1808);t.InvalidAddress=o.InvalidAddress,t.InvalidAddressPayload=o.InvalidAddressPayload,t.default={HexStringShouldStartWith0x:i.HexStringShouldStartWith0x,ArgumentRequired:A.default,InvalidHexString:i.InvalidHexString,InvalidAddress:o.InvalidAddress,InvalidAddressPayload:o.InvalidAddressPayload}},function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function A(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o=r(1910).Buffer}catch(e){}function a(e,t,r){for(var n=0,A=Math.min(e.length,r),i=t;i<A;i++){var o=e.charCodeAt(i)-48;n<<=4,n|=o>=49&&o<=54?o-49+10:o>=17&&o<=22?o-17+10:15&o}return n}function s(e,t,r,n){for(var A=0,i=Math.min(e.length,r),o=t;o<i;o++){var a=e.charCodeAt(o)-48;A*=n,A+=a>=49?a-49+10:a>=17?a-17+10:a}return A}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var A=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&A++,16===t?this._parseHex(e,A):this._parseBase(e,t,A),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var A=0;A<this.length;A++)this.words[A]=0;var i,o,a=0;if("be"===r)for(A=e.length-1,i=0;A>=0;A-=3)o=e[A]|e[A-1]<<8|e[A-2]<<16,this.words[i]|=o<<a&67108863,this.words[i+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);else if("le"===r)for(A=0,i=0;A<e.length;A+=3)o=e[A]|e[A+1]<<8|e[A+2]<<16,this.words[i]|=o<<a&67108863,this.words[i+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);return this.strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,A,i=0;for(r=e.length-6,n=0;r>=t;r-=6)A=a(e,r,r+6),this.words[n]|=A<<i&67108863,this.words[n+1]|=A>>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);r+6!==t&&(A=a(e,t,r+6),this.words[n]|=A<<i&67108863,this.words[n+1]|=A>>>26-i&4194303),this.strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,A=1;A<=67108863;A*=t)n++;n--,A=A/t|0;for(var i=e.length-r,o=i%n,a=Math.min(i,i-o)+r,u=0,l=r;l<a;l+=n)u=s(e,l,l+n,t),this.imuln(A),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var c=1;for(u=s(e,l,e.length,t),l=0;l<o;l++)c*=t;this.imuln(c),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},i.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],c=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var A=0|e.words[0],i=0|t.words[0],o=A*i,a=67108863&o,s=o/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var l=s>>>26,c=67108863&s,f=Math.min(u,t.length-1),d=Math.max(0,u-e.length+1);d<=f;d++){var g=u-d|0;l+=(o=(A=0|e.words[g])*(i=0|t.words[d])+c)/67108864|0,c=67108863&o}r.words[u]=0|c,s=0|l}return 0!==s?r.words[u]=0|s:r.length--,r.strip()}i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var A=0,i=0,o=0;o<this.length;o++){var a=this.words[o],s=(16777215&(a<<A|i)).toString(16);r=0!==(i=a>>>24-A&16777215)||o!==this.length-1?u[6-s.length]+s+r:s+r,(A+=2)>=26&&(A-=26,o--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var f=l[e],d=c[e];r="";var g=this.clone();for(g.negative=0;!g.isZero();){var h=g.modn(d).toString(e);r=(g=g.idivn(d)).isZero()?h+r:u[f-h.length]+h+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return n(void 0!==o),this.toArrayLike(o,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,r){var A=this.byteLength(),i=r||Math.max(1,A);n(A<=i,"byte array longer than desired length"),n(i>0,"Requested array length <= 0"),this.strip();var o,a,s="le"===t,u=new e(i),l=this.clone();if(s){for(a=0;!l.isZero();a++)o=l.andln(255),l.iushrn(8),u[a]=o;for(;a<i;a++)u[a]=0}else{for(a=0;a<i-A;a++)u[a]=0;for(a=0;!l.isZero();a++)o=l.andln(255),l.iushrn(8),u[i-a-1]=o}return u},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},i.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},i.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},i.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var A=0;A<t;A++)this.words[A]=67108863&~this.words[A];return r>0&&(this.words[A]=~this.words[A]&67108863>>26-r),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,A=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<A:this.words[r]&~(1<<A),this.strip()},i.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var A=0,i=0;i<n.length;i++)t=(0|r.words[i])+(0|n.words[i])+A,this.words[i]=67108863&t,A=t>>>26;for(;0!==A&&i<r.length;i++)t=(0|r.words[i])+A,this.words[i]=67108863&t,A=t>>>26;if(this.length=r.length,0!==A)this.words[this.length]=A,this.length++;else if(r!==this)for(;i<r.length;i++)this.words[i]=r.words[i];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,A=this.cmp(e);if(0===A)return this.negative=0,this.length=1,this.words[0]=0,this;A>0?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)i=(t=(0|r.words[o])-(0|n.words[o])+i)>>26,this.words[o]=67108863&t;for(;0!==i&&o<r.length;o++)i=(t=(0|r.words[o])+i)>>26,this.words[o]=67108863&t;if(0===i&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var d=function(e,t,r){var n,A,i,o=e.words,a=t.words,s=r.words,u=0,l=0|o[0],c=8191&l,f=l>>>13,d=0|o[1],g=8191&d,h=d>>>13,p=0|o[2],I=8191&p,B=p>>>13,C=0|o[3],m=8191&C,y=C>>>13,Q=0|o[4],w=8191&Q,E=Q>>>13,b=0|o[5],v=8191&b,D=b>>>13,M=0|o[6],k=8191&M,_=M>>>13,S=0|o[7],N=8191&S,F=S>>>13,x=0|o[8],G=8191&x,H=x>>>13,U=0|o[9],Y=8191&U,L=U>>>13,O=0|a[0],K=8191&O,P=O>>>13,R=0|a[1],T=8191&R,J=R>>>13,j=0|a[2],q=8191&j,V=j>>>13,W=0|a[3],z=8191&W,Z=W>>>13,X=0|a[4],$=8191&X,ee=X>>>13,te=0|a[5],re=8191&te,ne=te>>>13,Ae=0|a[6],ie=8191&Ae,oe=Ae>>>13,ae=0|a[7],se=8191&ae,ue=ae>>>13,le=0|a[8],ce=8191&le,fe=le>>>13,de=0|a[9],ge=8191&de,he=de>>>13;r.negative=e.negative^t.negative,r.length=19;var pe=(u+(n=Math.imul(c,K))|0)+((8191&(A=(A=Math.imul(c,P))+Math.imul(f,K)|0))<<13)|0;u=((i=Math.imul(f,P))+(A>>>13)|0)+(pe>>>26)|0,pe&=67108863,n=Math.imul(g,K),A=(A=Math.imul(g,P))+Math.imul(h,K)|0,i=Math.imul(h,P);var Ie=(u+(n=n+Math.imul(c,T)|0)|0)+((8191&(A=(A=A+Math.imul(c,J)|0)+Math.imul(f,T)|0))<<13)|0;u=((i=i+Math.imul(f,J)|0)+(A>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(I,K),A=(A=Math.imul(I,P))+Math.imul(B,K)|0,i=Math.imul(B,P),n=n+Math.imul(g,T)|0,A=(A=A+Math.imul(g,J)|0)+Math.imul(h,T)|0,i=i+Math.imul(h,J)|0;var Be=(u+(n=n+Math.imul(c,q)|0)|0)+((8191&(A=(A=A+Math.imul(c,V)|0)+Math.imul(f,q)|0))<<13)|0;u=((i=i+Math.imul(f,V)|0)+(A>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(m,K),A=(A=Math.imul(m,P))+Math.imul(y,K)|0,i=Math.imul(y,P),n=n+Math.imul(I,T)|0,A=(A=A+Math.imul(I,J)|0)+Math.imul(B,T)|0,i=i+Math.imul(B,J)|0,n=n+Math.imul(g,q)|0,A=(A=A+Math.imul(g,V)|0)+Math.imul(h,q)|0,i=i+Math.imul(h,V)|0;var Ce=(u+(n=n+Math.imul(c,z)|0)|0)+((8191&(A=(A=A+Math.imul(c,Z)|0)+Math.imul(f,z)|0))<<13)|0;u=((i=i+Math.imul(f,Z)|0)+(A>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(w,K),A=(A=Math.imul(w,P))+Math.imul(E,K)|0,i=Math.imul(E,P),n=n+Math.imul(m,T)|0,A=(A=A+Math.imul(m,J)|0)+Math.imul(y,T)|0,i=i+Math.imul(y,J)|0,n=n+Math.imul(I,q)|0,A=(A=A+Math.imul(I,V)|0)+Math.imul(B,q)|0,i=i+Math.imul(B,V)|0,n=n+Math.imul(g,z)|0,A=(A=A+Math.imul(g,Z)|0)+Math.imul(h,z)|0,i=i+Math.imul(h,Z)|0;var me=(u+(n=n+Math.imul(c,$)|0)|0)+((8191&(A=(A=A+Math.imul(c,ee)|0)+Math.imul(f,$)|0))<<13)|0;u=((i=i+Math.imul(f,ee)|0)+(A>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(v,K),A=(A=Math.imul(v,P))+Math.imul(D,K)|0,i=Math.imul(D,P),n=n+Math.imul(w,T)|0,A=(A=A+Math.imul(w,J)|0)+Math.imul(E,T)|0,i=i+Math.imul(E,J)|0,n=n+Math.imul(m,q)|0,A=(A=A+Math.imul(m,V)|0)+Math.imul(y,q)|0,i=i+Math.imul(y,V)|0,n=n+Math.imul(I,z)|0,A=(A=A+Math.imul(I,Z)|0)+Math.imul(B,z)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(g,$)|0,A=(A=A+Math.imul(g,ee)|0)+Math.imul(h,$)|0,i=i+Math.imul(h,ee)|0;var ye=(u+(n=n+Math.imul(c,re)|0)|0)+((8191&(A=(A=A+Math.imul(c,ne)|0)+Math.imul(f,re)|0))<<13)|0;u=((i=i+Math.imul(f,ne)|0)+(A>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(k,K),A=(A=Math.imul(k,P))+Math.imul(_,K)|0,i=Math.imul(_,P),n=n+Math.imul(v,T)|0,A=(A=A+Math.imul(v,J)|0)+Math.imul(D,T)|0,i=i+Math.imul(D,J)|0,n=n+Math.imul(w,q)|0,A=(A=A+Math.imul(w,V)|0)+Math.imul(E,q)|0,i=i+Math.imul(E,V)|0,n=n+Math.imul(m,z)|0,A=(A=A+Math.imul(m,Z)|0)+Math.imul(y,z)|0,i=i+Math.imul(y,Z)|0,n=n+Math.imul(I,$)|0,A=(A=A+Math.imul(I,ee)|0)+Math.imul(B,$)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(g,re)|0,A=(A=A+Math.imul(g,ne)|0)+Math.imul(h,re)|0,i=i+Math.imul(h,ne)|0;var Qe=(u+(n=n+Math.imul(c,ie)|0)|0)+((8191&(A=(A=A+Math.imul(c,oe)|0)+Math.imul(f,ie)|0))<<13)|0;u=((i=i+Math.imul(f,oe)|0)+(A>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,n=Math.imul(N,K),A=(A=Math.imul(N,P))+Math.imul(F,K)|0,i=Math.imul(F,P),n=n+Math.imul(k,T)|0,A=(A=A+Math.imul(k,J)|0)+Math.imul(_,T)|0,i=i+Math.imul(_,J)|0,n=n+Math.imul(v,q)|0,A=(A=A+Math.imul(v,V)|0)+Math.imul(D,q)|0,i=i+Math.imul(D,V)|0,n=n+Math.imul(w,z)|0,A=(A=A+Math.imul(w,Z)|0)+Math.imul(E,z)|0,i=i+Math.imul(E,Z)|0,n=n+Math.imul(m,$)|0,A=(A=A+Math.imul(m,ee)|0)+Math.imul(y,$)|0,i=i+Math.imul(y,ee)|0,n=n+Math.imul(I,re)|0,A=(A=A+Math.imul(I,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(g,ie)|0,A=(A=A+Math.imul(g,oe)|0)+Math.imul(h,ie)|0,i=i+Math.imul(h,oe)|0;var we=(u+(n=n+Math.imul(c,se)|0)|0)+((8191&(A=(A=A+Math.imul(c,ue)|0)+Math.imul(f,se)|0))<<13)|0;u=((i=i+Math.imul(f,ue)|0)+(A>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(G,K),A=(A=Math.imul(G,P))+Math.imul(H,K)|0,i=Math.imul(H,P),n=n+Math.imul(N,T)|0,A=(A=A+Math.imul(N,J)|0)+Math.imul(F,T)|0,i=i+Math.imul(F,J)|0,n=n+Math.imul(k,q)|0,A=(A=A+Math.imul(k,V)|0)+Math.imul(_,q)|0,i=i+Math.imul(_,V)|0,n=n+Math.imul(v,z)|0,A=(A=A+Math.imul(v,Z)|0)+Math.imul(D,z)|0,i=i+Math.imul(D,Z)|0,n=n+Math.imul(w,$)|0,A=(A=A+Math.imul(w,ee)|0)+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,n=n+Math.imul(m,re)|0,A=(A=A+Math.imul(m,ne)|0)+Math.imul(y,re)|0,i=i+Math.imul(y,ne)|0,n=n+Math.imul(I,ie)|0,A=(A=A+Math.imul(I,oe)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,oe)|0,n=n+Math.imul(g,se)|0,A=(A=A+Math.imul(g,ue)|0)+Math.imul(h,se)|0,i=i+Math.imul(h,ue)|0;var Ee=(u+(n=n+Math.imul(c,ce)|0)|0)+((8191&(A=(A=A+Math.imul(c,fe)|0)+Math.imul(f,ce)|0))<<13)|0;u=((i=i+Math.imul(f,fe)|0)+(A>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(Y,K),A=(A=Math.imul(Y,P))+Math.imul(L,K)|0,i=Math.imul(L,P),n=n+Math.imul(G,T)|0,A=(A=A+Math.imul(G,J)|0)+Math.imul(H,T)|0,i=i+Math.imul(H,J)|0,n=n+Math.imul(N,q)|0,A=(A=A+Math.imul(N,V)|0)+Math.imul(F,q)|0,i=i+Math.imul(F,V)|0,n=n+Math.imul(k,z)|0,A=(A=A+Math.imul(k,Z)|0)+Math.imul(_,z)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(v,$)|0,A=(A=A+Math.imul(v,ee)|0)+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,n=n+Math.imul(w,re)|0,A=(A=A+Math.imul(w,ne)|0)+Math.imul(E,re)|0,i=i+Math.imul(E,ne)|0,n=n+Math.imul(m,ie)|0,A=(A=A+Math.imul(m,oe)|0)+Math.imul(y,ie)|0,i=i+Math.imul(y,oe)|0,n=n+Math.imul(I,se)|0,A=(A=A+Math.imul(I,ue)|0)+Math.imul(B,se)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(g,ce)|0,A=(A=A+Math.imul(g,fe)|0)+Math.imul(h,ce)|0,i=i+Math.imul(h,fe)|0;var be=(u+(n=n+Math.imul(c,ge)|0)|0)+((8191&(A=(A=A+Math.imul(c,he)|0)+Math.imul(f,ge)|0))<<13)|0;u=((i=i+Math.imul(f,he)|0)+(A>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(Y,T),A=(A=Math.imul(Y,J))+Math.imul(L,T)|0,i=Math.imul(L,J),n=n+Math.imul(G,q)|0,A=(A=A+Math.imul(G,V)|0)+Math.imul(H,q)|0,i=i+Math.imul(H,V)|0,n=n+Math.imul(N,z)|0,A=(A=A+Math.imul(N,Z)|0)+Math.imul(F,z)|0,i=i+Math.imul(F,Z)|0,n=n+Math.imul(k,$)|0,A=(A=A+Math.imul(k,ee)|0)+Math.imul(_,$)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,A=(A=A+Math.imul(v,ne)|0)+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,n=n+Math.imul(w,ie)|0,A=(A=A+Math.imul(w,oe)|0)+Math.imul(E,ie)|0,i=i+Math.imul(E,oe)|0,n=n+Math.imul(m,se)|0,A=(A=A+Math.imul(m,ue)|0)+Math.imul(y,se)|0,i=i+Math.imul(y,ue)|0,n=n+Math.imul(I,ce)|0,A=(A=A+Math.imul(I,fe)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,fe)|0;var ve=(u+(n=n+Math.imul(g,ge)|0)|0)+((8191&(A=(A=A+Math.imul(g,he)|0)+Math.imul(h,ge)|0))<<13)|0;u=((i=i+Math.imul(h,he)|0)+(A>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(Y,q),A=(A=Math.imul(Y,V))+Math.imul(L,q)|0,i=Math.imul(L,V),n=n+Math.imul(G,z)|0,A=(A=A+Math.imul(G,Z)|0)+Math.imul(H,z)|0,i=i+Math.imul(H,Z)|0,n=n+Math.imul(N,$)|0,A=(A=A+Math.imul(N,ee)|0)+Math.imul(F,$)|0,i=i+Math.imul(F,ee)|0,n=n+Math.imul(k,re)|0,A=(A=A+Math.imul(k,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(v,ie)|0,A=(A=A+Math.imul(v,oe)|0)+Math.imul(D,ie)|0,i=i+Math.imul(D,oe)|0,n=n+Math.imul(w,se)|0,A=(A=A+Math.imul(w,ue)|0)+Math.imul(E,se)|0,i=i+Math.imul(E,ue)|0,n=n+Math.imul(m,ce)|0,A=(A=A+Math.imul(m,fe)|0)+Math.imul(y,ce)|0,i=i+Math.imul(y,fe)|0;var De=(u+(n=n+Math.imul(I,ge)|0)|0)+((8191&(A=(A=A+Math.imul(I,he)|0)+Math.imul(B,ge)|0))<<13)|0;u=((i=i+Math.imul(B,he)|0)+(A>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(Y,z),A=(A=Math.imul(Y,Z))+Math.imul(L,z)|0,i=Math.imul(L,Z),n=n+Math.imul(G,$)|0,A=(A=A+Math.imul(G,ee)|0)+Math.imul(H,$)|0,i=i+Math.imul(H,ee)|0,n=n+Math.imul(N,re)|0,A=(A=A+Math.imul(N,ne)|0)+Math.imul(F,re)|0,i=i+Math.imul(F,ne)|0,n=n+Math.imul(k,ie)|0,A=(A=A+Math.imul(k,oe)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,oe)|0,n=n+Math.imul(v,se)|0,A=(A=A+Math.imul(v,ue)|0)+Math.imul(D,se)|0,i=i+Math.imul(D,ue)|0,n=n+Math.imul(w,ce)|0,A=(A=A+Math.imul(w,fe)|0)+Math.imul(E,ce)|0,i=i+Math.imul(E,fe)|0;var Me=(u+(n=n+Math.imul(m,ge)|0)|0)+((8191&(A=(A=A+Math.imul(m,he)|0)+Math.imul(y,ge)|0))<<13)|0;u=((i=i+Math.imul(y,he)|0)+(A>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(Y,$),A=(A=Math.imul(Y,ee))+Math.imul(L,$)|0,i=Math.imul(L,ee),n=n+Math.imul(G,re)|0,A=(A=A+Math.imul(G,ne)|0)+Math.imul(H,re)|0,i=i+Math.imul(H,ne)|0,n=n+Math.imul(N,ie)|0,A=(A=A+Math.imul(N,oe)|0)+Math.imul(F,ie)|0,i=i+Math.imul(F,oe)|0,n=n+Math.imul(k,se)|0,A=(A=A+Math.imul(k,ue)|0)+Math.imul(_,se)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(v,ce)|0,A=(A=A+Math.imul(v,fe)|0)+Math.imul(D,ce)|0,i=i+Math.imul(D,fe)|0;var ke=(u+(n=n+Math.imul(w,ge)|0)|0)+((8191&(A=(A=A+Math.imul(w,he)|0)+Math.imul(E,ge)|0))<<13)|0;u=((i=i+Math.imul(E,he)|0)+(A>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(Y,re),A=(A=Math.imul(Y,ne))+Math.imul(L,re)|0,i=Math.imul(L,ne),n=n+Math.imul(G,ie)|0,A=(A=A+Math.imul(G,oe)|0)+Math.imul(H,ie)|0,i=i+Math.imul(H,oe)|0,n=n+Math.imul(N,se)|0,A=(A=A+Math.imul(N,ue)|0)+Math.imul(F,se)|0,i=i+Math.imul(F,ue)|0,n=n+Math.imul(k,ce)|0,A=(A=A+Math.imul(k,fe)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,fe)|0;var _e=(u+(n=n+Math.imul(v,ge)|0)|0)+((8191&(A=(A=A+Math.imul(v,he)|0)+Math.imul(D,ge)|0))<<13)|0;u=((i=i+Math.imul(D,he)|0)+(A>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(Y,ie),A=(A=Math.imul(Y,oe))+Math.imul(L,ie)|0,i=Math.imul(L,oe),n=n+Math.imul(G,se)|0,A=(A=A+Math.imul(G,ue)|0)+Math.imul(H,se)|0,i=i+Math.imul(H,ue)|0,n=n+Math.imul(N,ce)|0,A=(A=A+Math.imul(N,fe)|0)+Math.imul(F,ce)|0,i=i+Math.imul(F,fe)|0;var Se=(u+(n=n+Math.imul(k,ge)|0)|0)+((8191&(A=(A=A+Math.imul(k,he)|0)+Math.imul(_,ge)|0))<<13)|0;u=((i=i+Math.imul(_,he)|0)+(A>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(Y,se),A=(A=Math.imul(Y,ue))+Math.imul(L,se)|0,i=Math.imul(L,ue),n=n+Math.imul(G,ce)|0,A=(A=A+Math.imul(G,fe)|0)+Math.imul(H,ce)|0,i=i+Math.imul(H,fe)|0;var Ne=(u+(n=n+Math.imul(N,ge)|0)|0)+((8191&(A=(A=A+Math.imul(N,he)|0)+Math.imul(F,ge)|0))<<13)|0;u=((i=i+Math.imul(F,he)|0)+(A>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(Y,ce),A=(A=Math.imul(Y,fe))+Math.imul(L,ce)|0,i=Math.imul(L,fe);var Fe=(u+(n=n+Math.imul(G,ge)|0)|0)+((8191&(A=(A=A+Math.imul(G,he)|0)+Math.imul(H,ge)|0))<<13)|0;u=((i=i+Math.imul(H,he)|0)+(A>>>13)|0)+(Fe>>>26)|0,Fe&=67108863;var xe=(u+(n=Math.imul(Y,ge))|0)+((8191&(A=(A=Math.imul(Y,he))+Math.imul(L,ge)|0))<<13)|0;return u=((i=Math.imul(L,he))+(A>>>13)|0)+(xe>>>26)|0,xe&=67108863,s[0]=pe,s[1]=Ie,s[2]=Be,s[3]=Ce,s[4]=me,s[5]=ye,s[6]=Qe,s[7]=we,s[8]=Ee,s[9]=be,s[10]=ve,s[11]=De,s[12]=Me,s[13]=ke,s[14]=_e,s[15]=Se,s[16]=Ne,s[17]=Fe,s[18]=xe,0!==u&&(s[19]=u,r.length++),r};function g(e,t,r){return(new h).mulp(e,t,r)}function h(e,t){this.x=e,this.y=t}Math.imul||(d=f),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?d(this,e,t):r<63?f(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,A=0,i=0;i<r.length-1;i++){var o=A;A=0;for(var a=67108863&n,s=Math.min(i,t.length-1),u=Math.max(0,i-e.length+1);u<=s;u++){var l=i-u,c=(0|e.words[l])*(0|t.words[u]),f=67108863&c;a=67108863&(f=f+a|0),A+=(o=(o=o+(c/67108864|0)|0)+(f>>>26)|0)>>>26,o&=67108863}r.words[i]=a,n=o,o=A}return 0!==n?r.words[i]=n:r.length--,r.strip()}(this,e,t):g(this,e,t)},h.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},h.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,A=0;A<t;A++)n|=(1&e)<<t-A-1,e>>=1;return n},h.prototype.permute=function(e,t,r,n,A,i){for(var o=0;o<i;o++)n[o]=t[e[o]],A[o]=r[e[o]]},h.prototype.transform=function(e,t,r,n,A,i){this.permute(i,e,t,r,n,A);for(var o=1;o<A;o<<=1)for(var a=o<<1,s=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),l=0;l<A;l+=a)for(var c=s,f=u,d=0;d<o;d++){var g=r[l+d],h=n[l+d],p=r[l+d+o],I=n[l+d+o],B=c*p-f*I;I=c*I+f*p,p=B,r[l+d]=g+p,n[l+d]=h+I,r[l+d+o]=g-p,n[l+d+o]=h-I,d!==a&&(B=s*c-u*f,f=s*f+u*c,c=B)}},h.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,A=0;for(r=r/2|0;r;r>>>=1)A++;return 1<<A+1+n},h.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var A=e[n];e[n]=e[r-n-1],e[r-n-1]=A,A=t[n],t[n]=-t[r-n-1],t[r-n-1]=-A}},h.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var A=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&A,r=A<67108864?0:A/67108864|0}return e},h.prototype.convert13b=function(e,t,r,A){for(var i=0,o=0;o<t;o++)i+=0|e[o],r[2*o]=8191&i,i>>>=13,r[2*o+1]=8191&i,i>>>=13;for(o=2*t;o<A;++o)r[o]=0;n(0===i),n(0==(-8192&i))},h.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},h.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),A=this.makeRBT(n),i=this.stub(n),o=new Array(n),a=new Array(n),s=new Array(n),u=new Array(n),l=new Array(n),c=new Array(n),f=r.words;f.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,i,a,s,n,A),this.transform(u,i,l,c,n,A);for(var d=0;d<n;d++){var g=a[d]*l[d]-s[d]*c[d];s[d]=a[d]*c[d]+s[d]*l[d],a[d]=g}return this.conjugate(a,s,n),this.transform(a,s,f,i,n,A),this.conjugate(f,i,n),this.normalize13b(f,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),g(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var A=(0|this.words[r])*e,i=(67108863&A)+(67108863&t);t>>=26,t+=A/67108864|0,t+=i>>>26,this.words[r]=67108863&i}return 0!==t&&(this.words[r]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,A=r%26;t[r]=(e.words[n]&1<<A)>>>A}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var A=r.sqr();n<t.length;n++,A=A.sqr())0!==t[n]&&(r=r.mul(A));return r},i.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,A=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var a=this.words[t]&i,s=(0|this.words[t])-a<<r;this.words[t]=s|o,o=a>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==A){for(t=this.length-1;t>=0;t--)this.words[t+A]=this.words[t];for(t=0;t<A;t++)this.words[t]=0;this.length+=A}return this.strip()},i.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,r){var A;n("number"==typeof e&&e>=0),A=t?(t-t%26)/26:0;var i=e%26,o=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<<i,s=r;if(A-=o,A=Math.max(0,A),s){for(var u=0;u<o;u++)s.words[u]=this.words[u];s.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=A);u--){var c=0|this.words[u];this.words[u]=l<<26-i|c>>>i,l=c&a}return s&&0!==l&&(s.words[s.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,A=1<<t;return!(this.length<=r)&&!!(this.words[r]&A)},i.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var A=67108863^67108863>>>t<<t;this.words[this.length-1]&=A}return this.strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,r){var A,i,o=e.length+r;this._expand(o);var a=0;for(A=0;A<e.length;A++){i=(0|this.words[A+r])+a;var s=(0|e.words[A])*t;a=((i-=67108863&s)>>26)-(s/67108864|0),this.words[A+r]=67108863&i}for(;A<this.length-r;A++)a=(i=(0|this.words[A+r])+a)>>26,this.words[A+r]=67108863&i;if(0===a)return this.strip();for(n(-1===a),a=0,A=0;A<this.length;A++)a=(i=-(0|this.words[A])+a)>>26,this.words[A]=67108863&i;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),A=e,o=0|A.words[A.length-1];0!==(r=26-this._countBits(o))&&(A=A.ushln(r),n.iushln(r),o=0|A.words[A.length-1]);var a,s=n.length-A.length;if("mod"!==t){(a=new i(null)).length=s+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var l=n.clone()._ishlnsubmul(A,1,s);0===l.negative&&(n=l,a&&(a.words[s]=1));for(var c=s-1;c>=0;c--){var f=67108864*(0|n.words[A.length+c])+(0|n.words[A.length+c-1]);for(f=Math.min(f/o|0,67108863),n._ishlnsubmul(A,f,c);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(A,1,c),n.isZero()||(n.negative^=1);a&&(a.words[c]=f)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(A=a.div.neg()),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:A,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(A=a.div.neg()),{div:A,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t);var A,o,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),A=e.andln(1),i=r.cmp(n);return i<0||1===A&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,A=this.length-1;A>=0;A--)r=(t*r+(0|this.words[A]))%e;return r},i.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var A=(0|this.words[r])+67108864*t;this.words[r]=A/e|0,t=A%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var A=new i(1),o=new i(0),a=new i(0),s=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),c=t.clone();!t.isZero();){for(var f=0,d=1;0==(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(A.isOdd()||o.isOdd())&&(A.iadd(l),o.isub(c)),A.iushrn(1),o.iushrn(1);for(var g=0,h=1;0==(r.words[0]&h)&&g<26;++g,h<<=1);if(g>0)for(r.iushrn(g);g-- >0;)(a.isOdd()||s.isOdd())&&(a.iadd(l),s.isub(c)),a.iushrn(1),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),A.isub(a),o.isub(s)):(r.isub(t),a.isub(A),s.isub(o))}return{a:a,b:s,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var A,o=new i(1),a=new i(0),s=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(s),o.iushrn(1);for(var c=0,f=1;0==(r.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(r.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a)):(r.isub(t),a.isub(o))}return(A=0===t.cmpn(1)?o:a).cmpn(0)<0&&A.iadd(e),A},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var A=t.cmp(r);if(A<0){var i=t;t=r,r=i}else if(0===A||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,A=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=A,this;for(var i=A,o=r;0!==i&&o<this.length;o++){var a=0|this.words[o];i=(a+=i)>>>26,a&=67108863,this.words[o]=a}return 0!==i&&(this.words[o]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var A=0|this.words[0];t=A===e?0:A<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],A=0|e.words[r];if(n!==A){n<A?t=-1:n>A&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new Q(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var p={k256:null,p224:null,p192:null,p25519:null};function I(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function B(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function C(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function m(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function y(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Q(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function w(e){Q.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},I.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):r.strip(),r},I.prototype.split=function(e,t){e.iushrn(this.n,0,t)},I.prototype.imulK=function(e){return e.imul(this.k)},A(B,I),B.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var A=e.words[9];for(t.words[t.length++]=4194303&A,n=10;n<e.length;n++){var i=0|e.words[n];e.words[n-10]=(4194303&i)<<4|A>>>22,A=i}A>>>=22,e.words[n-10]=A,0===A&&e.length>10?e.length-=10:e.length-=9},B.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},A(C,I),A(m,I),A(y,I),y.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,A=67108863&n;n>>>=26,e.words[r]=A,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(p[e])return p[e];var t;if("k256"===e)t=new B;else if("p224"===e)t=new C;else if("p192"===e)t=new m;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new y}return p[e]=t,t},Q.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},Q.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},Q.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},Q.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},Q.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},Q.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},Q.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},Q.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},Q.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},Q.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},Q.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},Q.prototype.isqr=function(e){return this.imul(e,e.clone())},Q.prototype.sqr=function(e){return this.mul(e,e)},Q.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var A=this.m.subn(1),o=0;!A.isZero()&&0===A.andln(1);)o++,A.iushrn(1);n(!A.isZero());var a=new i(1).toRed(this),s=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(s);)l.redIAdd(s);for(var c=this.pow(l,A),f=this.pow(e,A.addn(1).iushrn(1)),d=this.pow(e,A),g=o;0!==d.cmp(a);){for(var h=d,p=0;0!==h.cmp(a);p++)h=h.redSqr();n(p<g);var I=this.pow(c,new i(1).iushln(g-p-1));f=f.redMul(I),c=I.redSqr(),d=d.redMul(c),g=p}return f},Q.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},Q.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var A=r[0],o=0,a=0,s=t.bitLength()%26;for(0===s&&(s=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=s-1;l>=0;l--){var c=u>>l&1;A!==r[0]&&(A=this.sqr(A)),0!==c||0!==o?(o<<=1,o|=c,(4===++a||0===n&&0===l)&&(A=this.mul(A,r[o]),a=0,o=0)):a=0}s=26}return A},Q.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},Q.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new w(e)},A(w,Q),w.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},w.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},w.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=r.isub(n).iushrn(this.shift),i=A;return A.cmp(this.m)>=0?i=A.isub(this.m):A.cmpn(0)<0&&(i=A.iadd(this.m)),i._forceRed(this)},w.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=r.isub(n).iushrn(this.shift),o=A;return A.cmp(this.m)>=0?o=A.isub(this.m):A.cmpn(0)<0&&(o=A.iadd(this.m)),o._forceRed(this)},w.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(96)(e))},function(e,t){e.exports=function(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}},function(e,t){var r=0;e.exports=function(e){return"__private_"+r+++"_"+e}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0});var A={compareArray:!0,compareMap:!0,compareSet:!0,decodeU8a:!0,mapToTypeMap:!0,typeToConstructor:!0};Object.defineProperty(t,"compareArray",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"compareMap",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"compareSet",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"decodeU8a",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"mapToTypeMap",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"typeToConstructor",{enumerable:!0,get:function(){return l.default}});var i=n(r(1930)),o=n(r(1011)),a=n(r(1931)),s=n(r(1012)),u=n(r(1932)),l=n(r(360)),c=r(1014);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))})},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(190),A=r(369);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Object(A.a)()(n.a.apply(void 0,e))}},function(e,t,r){"use strict";function n(e){setTimeout(function(){throw e},0)}r.d(t,"a",function(){return n})},function(e,t,r){const n=r(287),A=r(138).Builder,i=r(49),o=r(69);function a(e){return i.iris.bech32=e&&"testnet"===e?{accAddr:"faa",valAddr:"fva",accPub:"fap"}:{accAddr:"iaa",valAddr:"iva",accPub:"iap"},i}e.exports={getCrypto:function(e,t){return a(t),n.getCrypto(e)},getBuilder:function(e,t){return a(t),A.getBuilder(e)},config:i,Codec:o}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(212);t.bip32=n;const A=r(430);t.address=A;const i=r(154);t.crypto=i;const o=r(432);t.ECPair=o;const a=r(110);t.networks=a;const s=r(312);t.payments=s;const u=r(33);t.script=u;var l=r(1163);t.Block=l.Block;var c=r(1165);t.Psbt=c.Psbt;var f=r(33);t.opcodes=f.OPS;var d=r(313);t.Transaction=d.Transaction;var g=r(1183);t.TransactionBuilder=g.TransactionBuilder},function(e,t,r){"use strict";r.d(t,"a",function(){return A});var n=r(3);class A{constructor(e=n.c.EOS,t="",r=!1){this.blockchain=e,this.name=t,this.enable=r}static placeholder(){return new A}static fromJson(e){return Object.assign(this.placeholder(),e)}}},function(e,t,r){(function(e){function r(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===r(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===r(e)},t.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,r(8).Buffer)},function(e,t,r){(function(t){e.exports=function(e,r){for(var n=Math.min(e.length,r.length),A=new t(n),i=0;i<n;++i)A[i]=e[i]^r[i];return A}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(84),A=r(57);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var A=0;A<e.length;A+=this._delta32)this._update(e,A,A+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),A(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var A=1;A<r;A++)n[A]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)n[A++]=0;n[A++]=0,n[A++]=0,n[A++]=0,n[A++]=0,n[A++]=e>>>24&255,n[A++]=e>>>16&255,n[A++]=e>>>8&255,n[A++]=255&e}else for(n[A++]=255&e,n[A++]=e>>>8&255,n[A++]=e>>>16&255,n[A++]=e>>>24&255,n[A++]=0,n[A++]=0,n[A++]=0,n[A++]=0,i=8;i<this.padLength;i++)n[A++]=0;return n}},function(e,t,r){var n=t;n.bignum=r(17),n.define=r(621).define,n.base=r(176),n.constants=r(412),n.decoders=r(626),n.encoders=r(628)},function(e,t,r){var n=t;n.Reporter=r(623).Reporter,n.DecoderBuffer=r(411).DecoderBuffer,n.EncoderBuffer=r(411).EncoderBuffer,n.Node=r(624)},function(e,t,r){!function(t){"use strict";var n={};e.exports?(n.bytesToHex=r(1114).bytesToHex,n.convertString=r(1115),e.exports=u):(n.bytesToHex=t.convertHex.bytesToHex,n.convertString=t.convertString,t.sha256=u);var A=[];!function(){function e(e){for(var t=Math.sqrt(e),r=2;r<=t;r++)if(!(e%r))return!1;return!0}function t(e){return 4294967296*(e-(0|e))|0}for(var r=2,n=0;n<64;)e(r)&&(A[n]=t(Math.pow(r,1/3)),n++),r++}();var i=function(e){for(var t=[],r=0,n=0;r<e.length;r++,n+=8)t[n>>>5]|=e[r]<<24-n%32;return t},o=function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},a=[],s=function(e,t,r){for(var n=e[0],i=e[1],o=e[2],s=e[3],u=e[4],l=e[5],c=e[6],f=e[7],d=0;d<64;d++){if(d<16)a[d]=0|t[r+d];else{var g=a[d-15],h=(g<<25|g>>>7)^(g<<14|g>>>18)^g>>>3,p=a[d-2],I=(p<<15|p>>>17)^(p<<13|p>>>19)^p>>>10;a[d]=h+a[d-7]+I+a[d-16]}var B=n&i^n&o^i&o,C=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),m=f+((u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25))+(u&l^~u&c)+A[d]+a[d];f=c,c=l,l=u,u=s+m|0,s=o,o=i,i=n,n=m+(C+B)|0}e[0]=e[0]+n|0,e[1]=e[1]+i|0,e[2]=e[2]+o|0,e[3]=e[3]+s|0,e[4]=e[4]+u|0,e[5]=e[5]+l|0,e[6]=e[6]+c|0,e[7]=e[7]+f|0};function u(e,t){e.constructor===String&&(e=n.convertString.UTF8.stringToBytes(e));var r=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],A=i(e),a=8*e.length;A[a>>5]|=128<<24-a%32,A[15+(a+64>>9<<4)]=a;for(var u=0;u<A.length;u+=16)s(r,A,u);var l=o(r);return t&&t.asBytes?l:t&&t.asString?n.convertString.bytesToString(l):n.bytesToHex(l)}u.x2=function(e,t){return u(u(e,{asBytes:!0}),t)}}(this)},function(e,t,r){"use strict";var n=r(45),A=r(107);e.exports={sha1:function(e,t){return n("sha1").update(e).digest(t)},sha256:function(e,t){return n("sha256").update(e).digest(t)},sha512:function(e,t){return n("sha512").update(e).digest(t)},HmacSHA256:function(e,t){return A("sha256",t).update(e).digest()},ripemd160:function(e){return n("rmd160").update(e).digest()}}},function(e,t,r){e.exports=r(1393)},function(e,t){function r(e,t,r,n,A,i,o){try{var a=e[i](o),s=a.value}catch(e){return void r(e)}a.done?t(s):Promise.resolve(s).then(n,A)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise(function(A,i){var o=e.apply(t,n);function a(e){r(o,A,i,a,s,"next",e)}function s(e){r(o,A,i,a,s,"throw",e)}a(void 0)})}}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(14),l=n(r(158)),c=r(136),f=function(e){function t(e,r){var n;(0,A.default)(this,t);var i=(0,c.typeToConstructor)(e);return(n=(0,o.default)(this,(0,a.default)(t).call(this,t.decodeOption(i,r))))._Type=i,n}return(0,s.default)(t,e),(0,i.default)(t,[{key:"eq",value:function(e){return e instanceof t?this.isSome===e.isSome&&this.value.eq(e.value):this.value.eq(e)}},{key:"toHex",value:function(){return this.isNone?"0x":(0,u.u8aToHex)(this.toU8a().subarray(1))}},{key:"toRawType",value:function(e){var t=(new this._Type).toRawType();return e?t:"Option<".concat(t,">")}},{key:"toU8a",value:function(e){if(e)return this.raw.toU8a(!0);var t=new Uint8Array(this.encodedLength);return this.isSome&&(t.set([1]),t.set(this.raw.toU8a(),1)),t}},{key:"unwrap",value:function(){if(this.isNone)throw new Error("Option: unwrapping a None value");return this.raw}},{key:"unwrapOr",value:function(e){return this.isSome?this.unwrap():e}},{key:"encodedLength",get:function(){return 1+this.raw.encodedLength}},{key:"isEmpty",get:function(){return this.isNone}},{key:"isNone",get:function(){return this.raw instanceof l.default}},{key:"isSome",get:function(){return!this.isNone}},{key:"value",get:function(){return this.raw}}],[{key:"decodeOption",value:function(e,r){return(0,u.isNull)(r)||(0,u.isUndefined)(r)||r instanceof l.default?new l.default:r instanceof t?t.decodeOption(e,r.value):r instanceof e?r:(0,u.isU8a)(r)?t.decodeOptionU8a(e,r):new e(r)}},{key:"decodeOptionU8a",value:function(e,t){return t.length&&0!==t[0]?new e(t.subarray(1)):new l.default}},{key:"with",value:function(e){return function(t){function r(t){return(0,A.default)(this,r),(0,o.default)(this,(0,a.default)(r).call(this,e,t))}return(0,s.default)(r,t),r}(t)}}]),t}(n(r(332)).default);t.default=f},function(e,t,r){"use strict";var n=r(135),A=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=A(r(4)),o=A(r(18)),a=A(r(6)),s=A(r(5)),u=A(r(7)),l=r(14),c=r(224),f=n(r(868)),d=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.DEFAULT_UINT_BITS,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,i.default)(this,t),(0,a.default)(this,(0,s.default)(t).call(this,!1,e,r,n))}return(0,u.default)(t,e),(0,o.default)(t,[{key:"toHex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,l.bnToHex)(this,{bitLength:this._bitLength,isLe:e,isNegative:!1})}},{key:"toRawType",value:function(){return this instanceof(0,c.ClassOf)("Balance")?"Balance":"u".concat(this._bitLength)}},{key:"toU8a",value:function(e){return(0,l.bnToU8a)(this,{bitLength:this._bitLength,isLe:!0,isNegative:!1})}}]),t}(f.default);t.default=d},function(e,t,r){e.exports=r(1585)},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,r){"use strict";var n=r(75),A=r(346),i=r(347),o=function(e){if(void 0!==e)return function(e){return"latest"===e||"pending"===e||"earliest"===e}(e)?e:n.toHex(e)},a=function(e){return null!==e.blockNumber&&(e.blockNumber=n.toDecimal(e.blockNumber)),null!==e.transactionIndex&&(e.transactionIndex=n.toDecimal(e.transactionIndex)),e.nonce=n.toDecimal(e.nonce),e.gas=n.toDecimal(e.gas),e.gasPrice=n.toBigNumber(e.gasPrice),e.value=n.toBigNumber(e.value),e},s=function(e){return e.blockNumber&&(e.blockNumber=n.toDecimal(e.blockNumber)),e.transactionIndex&&(e.transactionIndex=n.toDecimal(e.transactionIndex)),e.logIndex&&(e.logIndex=n.toDecimal(e.logIndex)),e},u=function(e){var t=new i(e);if(t.isValid()&&t.isDirect())return"0x"+t.address();if(n.isStrictAddress(e))return e;if(n.isAddress(e))return"0x"+e;throw new Error("invalid address")};e.exports={inputDefaultBlockNumberFormatter:function(e){return void 0===e?A.defaultBlock:o(e)},inputBlockNumberFormatter:o,inputCallFormatter:function(e){return e.from=e.from||A.defaultAccount,e.from&&(e.from=u(e.from)),e.to&&(e.to=u(e.to)),["gasPrice","gas","value","nonce"].filter(function(t){return void 0!==e[t]}).forEach(function(t){e[t]=n.fromDecimal(e[t])}),e},inputTransactionFormatter:function(e){return e.from=e.from||A.defaultAccount,e.from=u(e.from),e.to&&(e.to=u(e.to)),["gasPrice","gas","value","nonce"].filter(function(t){return void 0!==e[t]}).forEach(function(t){e[t]=n.fromDecimal(e[t])}),e},inputAddressFormatter:u,inputPostFormatter:function(e){return e.ttl=n.fromDecimal(e.ttl),e.workToProve=n.fromDecimal(e.workToProve),e.priority=n.fromDecimal(e.priority),n.isArray(e.topics)||(e.topics=e.topics?[e.topics]:[]),e.topics=e.topics.map(function(e){return 0===e.indexOf("0x")?e:n.fromUtf8(e)}),e},outputBigNumberFormatter:function(e){return n.toBigNumber(e)},outputTransactionFormatter:a,outputTransactionReceiptFormatter:function(e){return null!==e.blockNumber&&(e.blockNumber=n.toDecimal(e.blockNumber)),null!==e.transactionIndex&&(e.transactionIndex=n.toDecimal(e.transactionIndex)),e.cumulativeGasUsed=n.toDecimal(e.cumulativeGasUsed),e.gasUsed=n.toDecimal(e.gasUsed),n.isArray(e.logs)&&(e.logs=e.logs.map(function(e){return s(e)})),e},outputBlockFormatter:function(e){return e.gasLimit=n.toDecimal(e.gasLimit),e.gasUsed=n.toDecimal(e.gasUsed),e.size=n.toDecimal(e.size),e.timestamp=n.toDecimal(e.timestamp),null!==e.number&&(e.number=n.toDecimal(e.number)),e.difficulty=n.toBigNumber(e.difficulty),e.totalDifficulty=n.toBigNumber(e.totalDifficulty),n.isArray(e.transactions)&&e.transactions.forEach(function(e){if(!n.isString(e))return a(e)}),e},outputLogFormatter:s,outputPostFormatter:function(e){return e.expiry=n.toDecimal(e.expiry),e.sent=n.toDecimal(e.sent),e.ttl=n.toDecimal(e.ttl),e.workProved=n.toDecimal(e.workProved),e.topics||(e.topics=[]),e.topics=e.topics.map(function(e){return n.toAscii(e)}),e},outputSyncingFormatter:function(e){return e?(e.startingBlock=n.toDecimal(e.startingBlock),e.currentBlock=n.toDecimal(e.currentBlock),e.highestBlock=n.toDecimal(e.highestBlock),e.knownStates&&(e.knownStates=n.toDecimal(e.knownStates),e.pulledStates=n.toDecimal(e.pulledStates)),e):e}}},function(e,t,r){"use strict";var n=r(542);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(1016));class i extends A.default{constructor(e,t=0,r=A.DEFAULT_UINT_BITS,n=!0){super(e,!0,t,r,n)}static with(e,t){return class extends i{constructor(t,r){super(t,r,e)}toRawType(){return t||super.toRawType()}}}}t.default=i},function(e,t,r){"use strict";var n=r(542);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(1016));class i extends A.default{constructor(e,t=0,r=A.DEFAULT_UINT_BITS,n=!1){super(e,!1,t,r,n)}static with(e,t){return class extends i{constructor(t,r){super(t,r,e)}toRawType(){return t||super.toRawType()}}}}t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UNMASK_VERSION=t.IMMORTAL_ERA=t.DEFAULT_VERSION=t.EMPTY_U8A=t.BIT_UNSIGNED=t.BIT_SIGNED=void 0;t.BIT_SIGNED=128;t.BIT_UNSIGNED=0;const n=new Uint8Array;t.EMPTY_U8A=n;t.DEFAULT_VERSION=1;const A=new Uint8Array([0]);t.IMMORTAL_ERA=A;t.UNMASK_VERSION=127},function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(55),A=r(143),i=r(252);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return Object(n.a)(r)?(e.pop(),Object(i.a)(e,r)):Object(A.a)(e)}},function(e,t,r){"use strict";var n=i(r(927)),A=i(r(289));function i(e){return e&&e.__esModule?e:{default:e}}var o=r(47),a=r(338),s=r(937),u=r(36),l=r(511),c=r(1675),f=r(1676),d=r(941),g=r(940),h=r(1677),p=r(1678),I=r(1679),B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={httpEndpoint:"http://127.0.0.1:8888",debug:!1,verbose:!1,broadcast:!0,logger:{log:function(){var t;return e.verbose?(t=console).log.apply(t,arguments):null},error:function(){var t;return e.verbose?(t=console).error.apply(t,arguments):null}},sign:!0};function r(e,t){Object.keys(t).forEach(function(r){void 0===e[r]&&(e[r]=t[r])})}return r(e,t),r(e.logger,t.logger),C(e)};function C(e){var t=null!=e.httpEndpoint?s(e):null;e.network=t;var r=[],n=c(t,e);if(r.push(n.abi("eosio.null",I)),r.push(n.abi("eosio.token",h)),r.push(n.abi("eosio",p)),e.chainId||(e.chainId="cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f"),t&&function(e,t,r){e.getInfo({}).then(function(e){e.chain_id!==t&&r.log&&r.log("chainId mismatch, signatures will not match transaction authority. expected "+t+" !== actual "+e.chain_id)}).catch(function(e){r.error&&r.error("Warning, unable to validate chainId: "+e.message)})}(t,e.chainId,e.logger),null!=e.mockTransactions){if("string"==typeof e.mockTransactions){var i=e.mockTransactions;e.mockTransactions=function(){return i}}u.equal((0,A.default)(e.mockTransactions),"function","config.mockTransactions")}var o=l(e),a=o.structs,g=o.types,B=o.fromBuffer,C=o.toBuffer,Q=function(e,t,r,n){var A=e.network,i=Object.assign({},A),o=f(t,A,r,e,n);return function(e,t,r){for(var n in e)if(t[n])throw new TypeError(r+": "+n)}(i,o,"Conflicting methods in EosApi and Transaction Api"),Object.assign(i,o),i}(e,s,a,r);return Object.assign(Q,{config:m(e),fc:{structs:a,types:g,fromBuffer:B,toBuffer:C,abiCache:n},modules:{format:d}}),e.signProvider||(e.signProvider=y(Q,e)),Q}function m(e){var t=new Set(["httpEndpoint","abiCache","chainId","expireInSeconds"]),r=new Set(["verbose","debug","broadcast","logger","sign"]),n={};return Object.keys(e).forEach(function(A){Object.defineProperty(n,A,{set:function(t){if(!r.has(A))throw new Error("Access denied");e[A]=t},get:function(){if(t.has(A)||r.has(A))return e[A];throw new Error("Access denied")}})}),n}e.exports=B,Object.assign(B,{version:"16.0.0",modules:{format:d,api:s,ecc:o,json:{api:s.api,schema:g},Fcbuffer:a},Testnet:function(e){return console.error("deprecated, change Eos.Testnet(..) to just Eos(..)"),B(e)},Localnet:function(e){return console.error("deprecated, change Eos.Localnet(..) to just Eos(..)"),B(e)}});var y=function(e,t){return function(r){var A,i,a,s,l,c,f,d,g,h,p,I,B,C,m,y,Q,w,E,b=r.sign,v=r.buf,D=r.transaction,M=r.optionsKeyProvider;return n.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:if(A=M||t.keyProvider){r.next=3;break}throw new TypeError("This transaction requires a keyProvider for signing");case 3:return i=A,"function"==typeof A&&(i=A({transaction:D})),r.next=7,n.default.awrap(Promise.resolve(i));case 7:if(i=r.sent,Array.isArray(i)||(i=[i]),(i=i.map(function(e){try{return{private:o.PrivateKey(e).toString()}}catch(t){return{public:o.PublicKey(e).toString()}}u(!1,"expecting public or private keys from keyProvider")})).length){r.next=12;break}throw new Error("missing key, check your keyProvider");case 12:if(1!==i.length||!i[0].private){r.next=15;break}return a=i[0].private,r.abrupt("return",b(v,a));case 15:if(null!=t.httpEndpoint){r.next=37;break}for(s=[],l=!0,c=!1,f=void 0,r.prev=20,d=i[Symbol.iterator]();!(l=(g=d.next()).done);l=!0)h=g.value,s.push(b(v,h.private));r.next=28;break;case 24:r.prev=24,r.t0=r.catch(20),c=!0,f=r.t0;case 28:r.prev=28,r.prev=29,!l&&d.return&&d.return();case 31:if(r.prev=31,!c){r.next=34;break}throw f;case 34:return r.finish(31);case 35:return r.finish(28);case 36:return r.abrupt("return",s);case 37:for(p=new Map,I=!0,B=!1,C=void 0,r.prev=41,m=i[Symbol.iterator]();!(I=(y=m.next()).done);I=!0)Q=y.value,w=null!=Q.private,null!=Q.public,w?p.set(o.privateToPublic(Q.private),Q.private):p.set(Q.public,null);r.next=49;break;case 45:r.prev=45,r.t1=r.catch(41),B=!0,C=r.t1;case 49:r.prev=49,r.prev=50,!I&&m.return&&m.return();case 52:if(r.prev=52,!B){r.next=55;break}throw C;case 55:return r.finish(52);case 56:return r.finish(49);case 57:return E=Array.from(p.keys()),r.abrupt("return",e.getRequiredKeys(D,E).then(function(e){var t=e.required_keys;if(!t.length)throw new Error("missing required keys for "+JSON.stringify(D));var r=[],n=[],i=!0,a=!1,s=void 0;try{for(var l,c=t[Symbol.iterator]();!(i=(l=c.next()).done);i=!0){var f=l.value;f=o.PublicKey(f).toString();var d=p.get(f);d?r.push(d):n.push(f)}}catch(e){a=!0,s=e}finally{try{!i&&c.return&&c.return()}finally{if(a)throw s}}0!==n.length&&(u("function"==typeof A,"keyProvider function is needed for private key lookup"),A({pubkeys:n}).forEach(function(e){r.push(e)}));var g=[],h=!0,I=!1,B=void 0;try{for(var C,m=r[Symbol.iterator]();!(h=(C=m.next()).done);h=!0){var y=C.value;g.push(b(v,y))}}catch(e){I=!0,B=e}finally{try{!h&&m.return&&m.return()}finally{if(I)throw B}}return g}));case 59:case"end":return r.stop()}},null,this,[[20,24,28,36],[29,,31,35],[41,45,49,57],[50,,52,56]])}}},function(e,t,r){"use strict";const n=r(559);class A{static encrypt(e,t){"object"==typeof e&&(e=JSON.stringify(e));const{iv:r,salt:A,ct:i}=JSON.parse(n.encrypt(t,e,{mode:"gcm"}));return JSON.stringify({iv:r,salt:A,ct:i})}static decrypt(e,t){e=JSON.stringify(Object.assign(JSON.parse(e),{mode:"gcm"}));let r=n.decrypt(t,e);try{return JSON.parse(r)}catch(e){return r}}}t.AES=A,Object.defineProperty(t,"__esModule",{value:!0}),t.default=A},function(e,t,r){"use strict";r.d(t,"a",function(){return n}),r.d(t,"d",function(){return A}),r.d(t,"c",function(){return i}),r.d(t,"f",function(){return o}),r.d(t,"b",function(){return a}),r.d(t,"e",function(){return s});const n="mathwallet_injected",A="mathwallet_internal",i="mathwallet_injected_start",o="mathwallet_internal_start",a="mathwallet_injected_end",s="mathwallet_internal_end"},function(e,t,r){e.exports=A;var n=r(220).EventEmitter;function A(){n.call(this)}r(20)(A,n),A.Readable=r(195),A.Writable=r(566),A.Duplex=r(567),A.Transform=r(568),A.PassThrough=r(569),A.Stream=A,A.prototype.pipe=function(e,t){var r=this;function A(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",A),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",a),r.on("close",s));var o=!1;function a(){o||(o=!0,e.end())}function s(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(l(),0===n.listenerCount(this,"error"))throw e}function l(){r.removeListener("data",A),e.removeListener("drain",i),r.removeListener("end",a),r.removeListener("close",s),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",l),r.removeListener("close",l),e.removeListener("close",l)}return r.on("error",u),e.on("error",u),r.on("end",l),r.on("close",l),e.on("close",l),e.emit("pipe",r),e}},function(e,t,r){(t=e.exports=r(390)).Stream=t,t.Readable=t,t.Writable=r(258),t.Duplex=r(121),t.Transform=r(393),t.PassThrough=r(565)},function(e,t,r){var n=r(584),A=r(592),i=r(403);t.createCipher=t.Cipher=n.createCipher,t.createCipheriv=t.Cipheriv=n.createCipheriv,t.createDecipher=t.Decipher=A.createDecipher,t.createDecipheriv=t.Decipheriv=A.createDecipheriv,t.listCiphers=t.getCiphers=function(){return Object.keys(i)}},function(e,t,r){"use strict";var n=r(45),A=r(1095);e.exports=A(function(e){var t=n("sha256").update(e).digest();return n("sha256").update(t).digest()})},function(e,t,r){var n=r(653),A=r(655),i=r(1121);e.exports={Curve:A,Point:n,getCurveByName:i}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prop=function(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){const e=r.call(this);return this[t]=e,e},set(e){Object.defineProperty(this,t,{configurable:!0,enumerable:!0,value:e,writable:!0})}})},t.value=function(e){let t;return()=>void 0!==t?t:t=e()}},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e)throw new Error((0,A.default)(t)?t():t)};var A=n(r(271))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(81)).default);t.default=s},function(e,t,r){"use strict";var n=r(45),A=r(107);e.exports={sha1:function(e,t){return n("sha1").update(e).digest(t)},sha256:function(e,t){return n("sha256").update(e).digest(t)},sha512:function(e,t){return n("sha512").update(e).digest(t)},HmacSHA256:function(e,t){return A("sha256",t).update(e).digest()},ripemd160:function(e){return n("rmd160").update(e).digest()}}},function(e,t,r){"use strict";(function(e){var n=t;function A(e,t,r){for(var n=Object.keys(t),A=0;A<n.length;++A)void 0!==e[n[A]]&&r||(e[n[A]]=t[n[A]]);return e}function i(e){function t(e,r){if(!(this instanceof t))return new t(e,r);Object.defineProperty(this,"message",{get:function(){return e}}),Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,"stack",{value:(new Error).stack||""}),r&&A(this,r)}return(t.prototype=Object.create(Error.prototype)).constructor=t,Object.defineProperty(t.prototype,"name",{get:function(){return e}}),t.prototype.toString=function(){return this.name+": "+this.message},t}n.asPromise=r(1592),n.base64=r(1593),n.EventEmitter=r(1594),n.float=r(1595),n.inquire=r(1596),n.utf8=r(1597),n.pool=r(1598),n.LongBits=r(1599),n.global="undefined"!=typeof window&&window||void 0!==e&&e||"undefined"!=typeof self&&self||this,n.emptyArray=Object.freeze?Object.freeze([]):[],n.emptyObject=Object.freeze?Object.freeze({}):{},n.isNode=Boolean(n.global.process&&n.global.process.versions&&n.global.process.versions.node),n.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},n.isString=function(e){return"string"==typeof e||e instanceof String},n.isObject=function(e){return e&&"object"==typeof e},n.isset=n.isSet=function(e,t){var r=e[t];return!(null==r||!e.hasOwnProperty(t))&&("object"!=typeof r||(Array.isArray(r)?r.length:Object.keys(r).length)>0)},n.Buffer=function(){try{var e=n.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),n._Buffer_from=null,n._Buffer_allocUnsafe=null,n.newBuffer=function(e){return"number"==typeof e?n.Buffer?n._Buffer_allocUnsafe(e):new n.Array(e):n.Buffer?n._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},n.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,n.Long=n.global.dcodeIO&&n.global.dcodeIO.Long||n.global.Long||n.inquire("long"),n.key2Re=/^true|false|0|1$/,n.key32Re=/^-?(?:0|[1-9][0-9]*)$/,n.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,n.longToHash=function(e){return e?n.LongBits.from(e).toHash():n.LongBits.zeroHash},n.longFromHash=function(e,t){var r=n.LongBits.fromHash(e);return n.Long?n.Long.fromBits(r.lo,r.hi,t):r.toNumber(Boolean(t))},n.merge=A,n.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},n.newError=i,n.ProtocolError=i("ProtocolError"),n.oneOfGetter=function(e){for(var t={},r=0;r<e.length;++r)t[e[r]]=1;return function(){for(var e=Object.keys(this),r=e.length-1;r>-1;--r)if(1===t[e[r]]&&void 0!==this[e[r]]&&null!==this[e[r]])return e[r]}},n.oneOfSetter=function(e){return function(t){for(var r=0;r<e.length;++r)e[r]!==t&&delete this[e[r]]}},n.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},n._configure=function(){var e=n.Buffer;e?(n._Buffer_from=e.from!==Uint8Array.from&&e.from||function(t,r){return new e(t,r)},n._Buffer_allocUnsafe=e.allocUnsafe||function(t){return new e(t)}):n._Buffer_from=n._Buffer_allocUnsafe=null}}).call(this,r(34))},function(e,t){var r=e.exports={version:"2.6.4"};"number"==typeof __e&&(__e=r)},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var n=r(75),A=r(237),i=function(e){this.name=e.name,this.call=e.call,this.params=e.params||0,this.inputFormatter=e.inputFormatter,this.outputFormatter=e.outputFormatter,this.requestManager=null};i.prototype.setRequestManager=function(e){this.requestManager=e},i.prototype.getCall=function(e){return n.isFunction(this.call)?this.call(e):this.call},i.prototype.extractCallback=function(e){if(n.isFunction(e[e.length-1]))return e.pop()},i.prototype.validateArgs=function(e){if(e.length!==this.params)throw A.InvalidNumberOfRPCParams()},i.prototype.formatInput=function(e){return this.inputFormatter?this.inputFormatter.map(function(t,r){return t?t(e[r]):e[r]}):e},i.prototype.formatOutput=function(e){return this.outputFormatter&&e?this.outputFormatter(e):e},i.prototype.toPayload=function(e){var t=this.getCall(e),r=this.extractCallback(e),n=this.formatInput(e);return this.validateArgs(n),{method:t,params:n,callback:r}},i.prototype.attachToObject=function(e){var t=this.buildCall();t.call=this.call;var r=this.name.split(".");r.length>1?(e[r[0]]=e[r[0]]||{},e[r[0]][r[1]]=t):e[r[0]]=t},i.prototype.buildCall=function(){var e=this,t=function(){var t=e.toPayload(Array.prototype.slice.call(arguments));return t.callback?e.requestManager.sendAsync(t,function(r,n){t.callback(r,e.formatOutput(n))}):e.formatOutput(e.requestManager.send(t))};return t.request=this.request.bind(this),t},i.prototype.request=function(){var e=this.toPayload(Array.prototype.slice.call(arguments));return e.format=this.formatOutput.bind(this),e},e.exports=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var r in t)void 0===e[r]&&(e[r]=t[r]);return e},e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";r.d(t,"a",function(){return A}),r.d(t,"b",function(){return i});var n=r(87);function A(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(e)}function i(e){return e?1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}:n.a}},function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},function(e,t,r){"use strict";function n(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e,this}r.d(t,"a",function(){return A}),n.prototype=Object.create(Error.prototype);var A=n},function(e,t,r){"use strict";var n=r(382),A=r(168),i=r(105),o=r(118),a=r(381),s=r(383),u=r(250);r.d(t,"a",function(){return l});var l=function(e){if(e&&"function"==typeof e[o.a])return l=e,function(e){var t=l[o.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(a.a)(e))return Object(n.a)(e);if(Object(s.a)(e))return r=e,function(e){return r.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,A.a),e};if(e&&"function"==typeof e[i.a])return t=e,function(e){for(var r=t[i.a]();;){var n=r.next();if(n.done){e.complete();break}if(e.next(n.value),e.closed)break}return"function"==typeof r.return&&e.add(function(){r.return&&r.return()}),e};var t,r,l,c=Object(u.a)(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+c+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1136);t.fromSeed=n.fromSeed,t.fromBase58=n.fromBase58,t.fromPublicKey=n.fromPublicKey,t.fromPrivateKey=n.fromPrivateKey},function(e,t,r){"use strict";(function(t){!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,r,n,A){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,o,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,r)});case 3:return t.nextTick(function(){e.call(null,r,n)});case 4:return t.nextTick(function(){e.call(null,r,n,A)});default:for(i=new Array(a-1),o=0;o<i.length;)i[o++]=arguments[o];return t.nextTick(function(){e.apply(null,i)})}}}:e.exports=t}).call(this,r(50))},function(e,t,r){var n=r(15).Buffer;function A(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,r=new Array(t),A=0;A<t;A++)r[A]=e.readUInt32BE(4*A);return r}function i(e){for(;0<e.length;e++)e[0]=0}function o(e,t,r,n,A){for(var i,o,a,s,u=r[0],l=r[1],c=r[2],f=r[3],d=e[0]^t[0],g=e[1]^t[1],h=e[2]^t[2],p=e[3]^t[3],I=4,B=1;B<A;B++)i=u[d>>>24]^l[g>>>16&255]^c[h>>>8&255]^f[255&p]^t[I++],o=u[g>>>24]^l[h>>>16&255]^c[p>>>8&255]^f[255&d]^t[I++],a=u[h>>>24]^l[p>>>16&255]^c[d>>>8&255]^f[255&g]^t[I++],s=u[p>>>24]^l[d>>>16&255]^c[g>>>8&255]^f[255&h]^t[I++],d=i,g=o,h=a,p=s;return i=(n[d>>>24]<<24|n[g>>>16&255]<<16|n[h>>>8&255]<<8|n[255&p])^t[I++],o=(n[g>>>24]<<24|n[h>>>16&255]<<16|n[p>>>8&255]<<8|n[255&d])^t[I++],a=(n[h>>>24]<<24|n[p>>>16&255]<<16|n[d>>>8&255]<<8|n[255&g])^t[I++],s=(n[p>>>24]<<24|n[d>>>16&255]<<16|n[g>>>8&255]<<8|n[255&h])^t[I++],[i>>>=0,o>>>=0,a>>>=0,s>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],s=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],A=[[],[],[],[]],i=[[],[],[],[]],o=0,a=0,s=0;s<256;++s){var u=a^a<<1^a<<2^a<<3^a<<4;u=u>>>8^255&u^99,r[o]=u,n[u]=o;var l=e[o],c=e[l],f=e[c],d=257*e[u]^16843008*u;A[0][o]=d<<24|d>>>8,A[1][o]=d<<16|d>>>16,A[2][o]=d<<8|d>>>24,A[3][o]=d,d=16843009*f^65537*c^257*l^16843008*o,i[0][u]=d<<24|d>>>8,i[1][u]=d<<16|d>>>16,i[2][u]=d<<8|d>>>24,i[3][u]=d,0===o?o=a=1:(o=l^e[e[e[f^l]]],a^=e[e[a]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:A,INV_SUB_MIX:i}}();function u(e){this._key=A(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),A=[],i=0;i<t;i++)A[i]=e[i];for(i=t;i<n;i++){var o=A[i-1];i%t==0?(o=o<<8|o>>>24,o=s.SBOX[o>>>24]<<24|s.SBOX[o>>>16&255]<<16|s.SBOX[o>>>8&255]<<8|s.SBOX[255&o],o^=a[i/t|0]<<24):t>6&&i%t==4&&(o=s.SBOX[o>>>24]<<24|s.SBOX[o>>>16&255]<<16|s.SBOX[o>>>8&255]<<8|s.SBOX[255&o]),A[i]=A[i-t]^o}for(var u=[],l=0;l<n;l++){var c=n-l,f=A[c-(l%4?0:4)];u[l]=l<4||c<=4?f:s.INV_SUB_MIX[0][s.SBOX[f>>>24]]^s.INV_SUB_MIX[1][s.SBOX[f>>>16&255]]^s.INV_SUB_MIX[2][s.SBOX[f>>>8&255]]^s.INV_SUB_MIX[3][s.SBOX[255&f]]}this._nRounds=r,this._keySchedule=A,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return o(e=A(e),this._keySchedule,s.SUB_MIX,s.SBOX,this._nRounds)},u.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=n.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},u.prototype.decryptBlock=function(e){var t=(e=A(e))[1];e[1]=e[3],e[3]=t;var r=o(e,this._invKeySchedule,s.INV_SUB_MIX,s.INV_SBOX,this._nRounds),i=n.allocUnsafe(16);return i.writeUInt32BE(r[0],0),i.writeUInt32BE(r[3],4),i.writeUInt32BE(r[2],8),i.writeUInt32BE(r[1],12),i},u.prototype.scrub=function(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},e.exports.AES=u},function(e,t,r){var n=r(15).Buffer,A=r(257);e.exports=function(e,t,r,i){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var o=r/8,a=n.alloc(o),s=n.alloc(i||0),u=n.alloc(0);o>0||i>0;){var l=new A;l.update(u),l.update(e),t&&l.update(t),u=l.digest();var c=0;if(o>0){var f=a.length-o;c=Math.min(o,u.length),u.copy(a,f,0,c),o-=c}if(c<u.length&&i>0){var d=s.length-i,g=Math.min(i,u.length-c);u.copy(s,d,c,c+g),i-=g}}return u.fill(0),{key:a,iv:s}}},function(e,t,r){"use strict";var n=t;function A(e){return 1===e.length?"0"+e:e}function i(e){for(var t="",r=0;r<e.length;r++)t+=A(e[r].toString(16));return t}n.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!=typeof e){for(var n=0;n<e.length;n++)r[n]=0|e[n];return r}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e);for(n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(n=0;n<e.length;n++){var A=e.charCodeAt(n),i=A>>8,o=255&A;i?r.push(i,o):r.push(o)}return r},n.zero2=A,n.toHex=i,n.encode=function(e,t){return"hex"===t?i(e):e}},function(e,t,r){"use strict";var n=t;n.base=r(603),n.short=r(604),n.mont=r(605),n.edwards=r(606)},function(e,t,r){var n=r(620),A=r(631),i=r(632),o=r(196),a=r(149),s=r(15).Buffer;function u(e){var t;"object"!=typeof e||s.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=s.from(e));var r,u,l=i(e,t),c=l.tag,f=l.data;switch(c){case"CERTIFICATE":u=n.certificate.decode(f,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=n.PublicKey.decode(f,"der")),r=u.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=n.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+c);case"ENCRYPTED PRIVATE KEY":f=function(e,t){var r=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),i=A[e.algorithm.decrypt.cipher.algo.join(".")],u=e.algorithm.decrypt.cipher.iv,l=e.subjectPrivateKey,c=parseInt(i.split("-")[1],10)/8,f=a.pbkdf2Sync(t,r,n,c,"sha1"),d=o.createDecipheriv(i,f,u),g=[];return g.push(d.update(l)),g.push(d.final()),s.concat(g)}(f=n.EncryptedPrivateKey.decode(f,"der"),t);case"PRIVATE KEY":switch(r=(u=n.PrivateKey.decode(f,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:n.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=n.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+c);case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(f,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(f,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(f,"der")};case"EC PRIVATE KEY":return{curve:(f=n.ECPrivateKey.decode(f,"der")).parameters.value,privateKey:f.privateKey};default:throw new Error("unknown key type "+c)}}e.exports=u,u.signature=n.signature},function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},A=/%[sdj%]/g;t.format=function(e){if(!I(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(a(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,o=String(e).replace(A,function(e){if("%%"===e)return"%";if(r>=i)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(e){return"[Circular]"}default:return e}}),s=n[r];r<i;s=n[++r])h(s)||!m(s)?o+=" "+s:o+=" "+a(s);return o},t.deprecate=function(r,n){if(void 0!==e&&!0===e.noDeprecation)return r;if(void 0===e)return function(){return t.deprecate(r,n).apply(this,arguments)};var A=!1;return function(){if(!A){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),A=!0}return r.apply(this,arguments)}};var i,o={};function a(e,r){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),B(n.showHidden)&&(n.showHidden=!1),B(n.depth)&&(n.depth=2),B(n.colors)&&(n.colors=!1),B(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=s),l(n,e,n.depth)}function s(e,t){var r=a.styles[t];return r?"["+a.colors[r][0]+"m"+e+"["+a.colors[r][1]+"m":e}function u(e,t){return e}function l(e,r,n){if(e.customInspect&&r&&w(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var A=r.inspect(n,e);return I(A)||(A=l(e,A,n)),A}var i=function(e,t){if(B(t))return e.stylize("undefined","undefined");if(I(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(p(t))return e.stylize(""+t,"number");if(g(t))return e.stylize(""+t,"boolean");if(h(t))return e.stylize("null","null")}(e,r);if(i)return i;var o=Object.keys(r),a=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),Q(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return c(r);if(0===o.length){if(w(r)){var s=r.name?": "+r.name:"";return e.stylize("[Function"+s+"]","special")}if(C(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(y(r))return e.stylize(Date.prototype.toString.call(r),"date");if(Q(r))return c(r)}var u,m="",E=!1,b=["{","}"];(d(r)&&(E=!0,b=["[","]"]),w(r))&&(m=" [Function"+(r.name?": "+r.name:"")+"]");return C(r)&&(m=" "+RegExp.prototype.toString.call(r)),y(r)&&(m=" "+Date.prototype.toUTCString.call(r)),Q(r)&&(m=" "+c(r)),0!==o.length||E&&0!=r.length?n<0?C(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=E?function(e,t,r,n,A){for(var i=[],o=0,a=t.length;o<a;++o)M(t,String(o))?i.push(f(e,t,r,n,String(o),!0)):i.push("");return A.forEach(function(A){A.match(/^\d+$/)||i.push(f(e,t,r,n,A,!0))}),i}(e,r,n,a,o):o.map(function(t){return f(e,r,n,a,t,E)}),e.seen.pop(),function(e,t,r){if(e.reduce(function(e,t){return 0,t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(u,m,b)):b[0]+m+b[1]}function c(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,A,i){var o,a,s;if((s=Object.getOwnPropertyDescriptor(t,A)||{value:t[A]}).get?a=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(a=e.stylize("[Setter]","special")),M(n,A)||(o="["+A+"]"),a||(e.seen.indexOf(s.value)<0?(a=h(r)?l(e,s.value,null):l(e,s.value,r-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return"   "+e}).join("\n")):a=e.stylize("[Circular]","special")),B(o)){if(i&&A.match(/^\d+$/))return a;(o=JSON.stringify(""+A)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function d(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function h(e){return null===e}function p(e){return"number"==typeof e}function I(e){return"string"==typeof e}function B(e){return void 0===e}function C(e){return m(e)&&"[object RegExp]"===E(e)}function m(e){return"object"==typeof e&&null!==e}function y(e){return m(e)&&"[object Date]"===E(e)}function Q(e){return m(e)&&("[object Error]"===E(e)||e instanceof Error)}function w(e){return"function"==typeof e}function E(e){return Object.prototype.toString.call(e)}function b(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(B(i)&&(i=Object({NODE_ENV:"production"}).NODE_DEBUG||""),r=r.toUpperCase(),!o[r])if(new RegExp("\\b"+r+"\\b","i").test(i)){var n=e.pid;o[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else o[r]=function(){};return o[r]},t.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=g,t.isNull=h,t.isNullOrUndefined=function(e){return null==e},t.isNumber=p,t.isString=I,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=B,t.isRegExp=C,t.isObject=m,t.isDate=y,t.isError=Q,t.isFunction=w,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(1118);var v=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function D(){var e=new Date,t=[b(e.getHours()),b(e.getMinutes()),b(e.getSeconds())].join(":");return[e.getDate(),v[e.getMonth()],t].join(" ")}function M(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",D(),t.format.apply(t,arguments))},t.inherits=r(20),t._extend=function(e,t){if(!t||!m(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var k="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function _(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(k&&e[k]){var t;if("function"!=typeof(t=e[k]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,k,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),A=[],i=0;i<arguments.length;i++)A.push(arguments[i]);A.push(function(e,n){e?r(e):t(n)});try{e.apply(this,A)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),k&&Object.defineProperty(t,k,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=k,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var A=r.pop();if("function"!=typeof A)throw new TypeError("The last argument must be of type Function");var i=this,o=function(){return A.apply(i,arguments)};t.apply(this,r).then(function(t){e.nextTick(o,null,t)},function(t){e.nextTick(_,t,o)})}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}}).call(this,r(50))},function(e,t,r){"use strict";var n,A="object"==typeof Reflect?Reflect:null,i=A&&"function"==typeof A.apply?A.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=A&&"function"==typeof A.ownKeys?A.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function u(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var A,i,o,a;if("function"!=typeof r)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r);if(void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),o=i[t]),void 0===o)o=i[t]=r,++e._eventsCount;else if("function"==typeof o?o=i[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),(A=u(e))>0&&o.length>A&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,a=s,console&&console.warn&&console.warn(a)}return e}function c(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},A=function(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,i(this.listener,this.target,e))}.bind(n);return A.listener=r,n.wrapFn=A,A}function f(e,t,r){var n=e._events;if(void 0===n)return[];var A=n[t];return void 0===A?[]:"function"==typeof A?r?[A.listener||A]:[A]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(A):g(A,A.length)}function d(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function g(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return u(this)},a.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,A=this._events;if(void 0!==A)n=n&&void 0===A.error;else if(!n)return!1;if(n){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var s=A[e];if(void 0===s)return!1;if("function"==typeof s)i(s,this,t);else{var u=s.length,l=g(s,u);for(r=0;r<u;++r)i(l[r],this,t)}return!0},a.prototype.addListener=function(e,t){return l(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return l(this,e,t,!0)},a.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,c(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,c(this,e,t)),this},a.prototype.removeListener=function(e,t){var r,n,A,i,o;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(A=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){o=r[i].listener,A=i;break}if(A<0)return this;0===A?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,A),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,o||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var A,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(A=i[n])&&this.removeAllListeners(A);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},a.prototype.listeners=function(e){return f(this,e,!0)},a.prototype.rawListeners=function(e){return f(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},a.prototype.listenerCount=d,a.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(t){return"function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?e.exports=n=function(e){return r(e)}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)},n(t)}e.exports=n},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:A.default.CODES.ASSERT,n=arguments.length>3?arguments[3]:void 0;if(e)return!0;(0,i.default)(t)&&(t=t());throw new A.default(t,r,n)};var A=n(r(686)),i=n(r(275))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"decodeAddress",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"encodeAddress",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"setAddressPrefix",{enumerable:!0,get:function(){return o.default}});var A=n(r(844)),i=n(r(1381)),o=n(r(1382))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={};t.default=void 0;var A=r(1415);Object.keys(A).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return A[e]}}))});var i=r(331);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))});var o=r(862);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))});var a=r(866);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))});var s=r(865);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))});var u=r(867);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))});var l=A.createType;t.default=l},function(e,t,r){e.exports=r(1424)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(333),l=r(14),c=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array;return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,t.decodeAccountId(e),256))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"toJSON",value:function(){return this.toString()}},{key:"toString",value:function(){return t.encode(this)}}],[{key:"encode",value:function(e){return(0,u.encodeAddress)(e)}},{key:"decodeAccountId",value:function(e){return(0,l.isU8a)(e)||Array.isArray(e)?(0,l.u8aToU8a)(e):(0,l.isHex)(e)?(0,l.hexToU8a)(e.toString()):(0,l.isString)(e)?(0,u.decodeAddress)(e.toString()):e}}]),t}(n(r(99)).default);t.default=c},function(e,t,r){"use strict";var n=r(135),A=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=A(r(4)),o=A(r(18)),a=A(r(6)),s=A(r(5)),u=A(r(7)),l=r(14),c=n(r(868)),f=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.DEFAULT_UINT_BITS,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(0,i.default)(this,t),(0,a.default)(this,(0,s.default)(t).call(this,!0,e,r,n))}return(0,u.default)(t,e),(0,o.default)(t,[{key:"toHex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,l.bnToHex)(this,{bitLength:this._bitLength,isLe:e,isNegative:!0})}},{key:"toRawType",value:function(){return"i".concat(this._bitLength)}},{key:"toU8a",value:function(e){return(0,l.bnToU8a)(this,{bitLength:this._bitLength,isLe:!0,isNegative:!0})}}]),t}(c.default);t.default=f},function(e,t,r){(function(t){e.exports=new function(){return this.encode=function(e){return new t(e).toString("base64")},this.decode=function(e){return new t(e,"base64").toString("utf8")},this}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n,A=r(494),i=A.Reader,o=A.Writer,a=A.util,s=A.roots.default||(A.roots.default={});s.cosmos=((n={}).Coin=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.denom="",e.prototype.amount="",e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).string(e.denom),t.uint32(18).string(e.amount),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.cosmos.Coin;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.denom=e.string();break;case 2:n.amount=e.string();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("denom"))throw a.ProtocolError("missing required 'denom'",{instance:n});if(!n.hasOwnProperty("amount"))throw a.ProtocolError("missing required 'amount'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":a.isString(e.denom)?a.isString(e.amount)?null:"amount: string expected":"denom: string expected"},e.fromObject=function(e){if(e instanceof s.cosmos.Coin)return e;var t=new s.cosmos.Coin;return null!=e.denom&&(t.denom=String(e.denom)),null!=e.amount&&(t.amount=String(e.amount)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.denom="",r.amount=""),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=e.amount),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.MsgSend=function(){function e(e){if(this.Amount=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.FromAddress=a.newBuffer([]),e.prototype.ToAddress=a.newBuffer([]),e.prototype.Amount=a.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=o.create()),t.uint32(10).bytes(e.FromAddress),t.uint32(18).bytes(e.ToAddress),null!=e.Amount&&e.Amount.length)for(var r=0;r<e.Amount.length;++r)s.cosmos.Coin.encode(e.Amount[r],t.uint32(26).fork()).ldelim();return t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.cosmos.MsgSend;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.FromAddress=e.bytes();break;case 2:n.ToAddress=e.bytes();break;case 3:n.Amount&&n.Amount.length||(n.Amount=[]),n.Amount.push(s.cosmos.Coin.decode(e,e.uint32()));break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("FromAddress"))throw a.ProtocolError("missing required 'FromAddress'",{instance:n});if(!n.hasOwnProperty("ToAddress"))throw a.ProtocolError("missing required 'ToAddress'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(!(e.FromAddress&&"number"==typeof e.FromAddress.length||a.isString(e.FromAddress)))return"FromAddress: buffer expected";if(!(e.ToAddress&&"number"==typeof e.ToAddress.length||a.isString(e.ToAddress)))return"ToAddress: buffer expected";if(null!=e.Amount&&e.hasOwnProperty("Amount")){if(!Array.isArray(e.Amount))return"Amount: array expected";for(var t=0;t<e.Amount.length;++t){var r=s.cosmos.Coin.verify(e.Amount[t]);if(r)return"Amount."+r}}return null},e.fromObject=function(e){if(e instanceof s.cosmos.MsgSend)return e;var t=new s.cosmos.MsgSend;if(null!=e.FromAddress&&("string"==typeof e.FromAddress?a.base64.decode(e.FromAddress,t.FromAddress=a.newBuffer(a.base64.length(e.FromAddress)),0):e.FromAddress.length&&(t.FromAddress=e.FromAddress)),null!=e.ToAddress&&("string"==typeof e.ToAddress?a.base64.decode(e.ToAddress,t.ToAddress=a.newBuffer(a.base64.length(e.ToAddress)),0):e.ToAddress.length&&(t.ToAddress=e.ToAddress)),e.Amount){if(!Array.isArray(e.Amount))throw TypeError(".cosmos.MsgSend.Amount: array expected");t.Amount=[];for(var r=0;r<e.Amount.length;++r){if("object"!=typeof e.Amount[r])throw TypeError(".cosmos.MsgSend.Amount: object expected");t.Amount[r]=s.cosmos.Coin.fromObject(e.Amount[r])}}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.Amount=[]),t.defaults&&(t.bytes===String?r.FromAddress="":(r.FromAddress=[],t.bytes!==Array&&(r.FromAddress=a.newBuffer(r.FromAddress))),t.bytes===String?r.ToAddress="":(r.ToAddress=[],t.bytes!==Array&&(r.ToAddress=a.newBuffer(r.ToAddress)))),null!=e.FromAddress&&e.hasOwnProperty("FromAddress")&&(r.FromAddress=t.bytes===String?a.base64.encode(e.FromAddress,0,e.FromAddress.length):t.bytes===Array?Array.prototype.slice.call(e.FromAddress):e.FromAddress),null!=e.ToAddress&&e.hasOwnProperty("ToAddress")&&(r.ToAddress=t.bytes===String?a.base64.encode(e.ToAddress,0,e.ToAddress.length):t.bytes===Array?Array.prototype.slice.call(e.ToAddress):e.ToAddress),e.Amount&&e.Amount.length){r.Amount=[];for(var n=0;n<e.Amount.length;++n)r.Amount[n]=s.cosmos.Coin.toObject(e.Amount[n],t)}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.MsgDelegate=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.DelegatorAddress=a.newBuffer([]),e.prototype.ValidatorAddress=a.newBuffer([]),e.prototype.Amount=null,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).bytes(e.DelegatorAddress),t.uint32(18).bytes(e.ValidatorAddress),s.cosmos.Coin.encode(e.Amount,t.uint32(26).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.cosmos.MsgDelegate;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.DelegatorAddress=e.bytes();break;case 2:n.ValidatorAddress=e.bytes();break;case 3:n.Amount=s.cosmos.Coin.decode(e,e.uint32());break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("DelegatorAddress"))throw a.ProtocolError("missing required 'DelegatorAddress'",{instance:n});if(!n.hasOwnProperty("ValidatorAddress"))throw a.ProtocolError("missing required 'ValidatorAddress'",{instance:n});if(!n.hasOwnProperty("Amount"))throw a.ProtocolError("missing required 'Amount'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(!(e.DelegatorAddress&&"number"==typeof e.DelegatorAddress.length||a.isString(e.DelegatorAddress)))return"DelegatorAddress: buffer expected";if(!(e.ValidatorAddress&&"number"==typeof e.ValidatorAddress.length||a.isString(e.ValidatorAddress)))return"ValidatorAddress: buffer expected";var t=s.cosmos.Coin.verify(e.Amount);return t?"Amount."+t:null},e.fromObject=function(e){if(e instanceof s.cosmos.MsgDelegate)return e;var t=new s.cosmos.MsgDelegate;if(null!=e.DelegatorAddress&&("string"==typeof e.DelegatorAddress?a.base64.decode(e.DelegatorAddress,t.DelegatorAddress=a.newBuffer(a.base64.length(e.DelegatorAddress)),0):e.DelegatorAddress.length&&(t.DelegatorAddress=e.DelegatorAddress)),null!=e.ValidatorAddress&&("string"==typeof e.ValidatorAddress?a.base64.decode(e.ValidatorAddress,t.ValidatorAddress=a.newBuffer(a.base64.length(e.ValidatorAddress)),0):e.ValidatorAddress.length&&(t.ValidatorAddress=e.ValidatorAddress)),null!=e.Amount){if("object"!=typeof e.Amount)throw TypeError(".cosmos.MsgDelegate.Amount: object expected");t.Amount=s.cosmos.Coin.fromObject(e.Amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.DelegatorAddress="":(r.DelegatorAddress=[],t.bytes!==Array&&(r.DelegatorAddress=a.newBuffer(r.DelegatorAddress))),t.bytes===String?r.ValidatorAddress="":(r.ValidatorAddress=[],t.bytes!==Array&&(r.ValidatorAddress=a.newBuffer(r.ValidatorAddress))),r.Amount=null),null!=e.DelegatorAddress&&e.hasOwnProperty("DelegatorAddress")&&(r.DelegatorAddress=t.bytes===String?a.base64.encode(e.DelegatorAddress,0,e.DelegatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.DelegatorAddress):e.DelegatorAddress),null!=e.ValidatorAddress&&e.hasOwnProperty("ValidatorAddress")&&(r.ValidatorAddress=t.bytes===String?a.base64.encode(e.ValidatorAddress,0,e.ValidatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.ValidatorAddress):e.ValidatorAddress),null!=e.Amount&&e.hasOwnProperty("Amount")&&(r.Amount=s.cosmos.Coin.toObject(e.Amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.MsgUndelegate=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.DelegatorAddress=a.newBuffer([]),e.prototype.ValidatorAddress=a.newBuffer([]),e.prototype.Amount=null,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).bytes(e.DelegatorAddress),t.uint32(18).bytes(e.ValidatorAddress),s.cosmos.Coin.encode(e.Amount,t.uint32(26).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.cosmos.MsgUndelegate;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.DelegatorAddress=e.bytes();break;case 2:n.ValidatorAddress=e.bytes();break;case 3:n.Amount=s.cosmos.Coin.decode(e,e.uint32());break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("DelegatorAddress"))throw a.ProtocolError("missing required 'DelegatorAddress'",{instance:n});if(!n.hasOwnProperty("ValidatorAddress"))throw a.ProtocolError("missing required 'ValidatorAddress'",{instance:n});if(!n.hasOwnProperty("Amount"))throw a.ProtocolError("missing required 'Amount'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(!(e.DelegatorAddress&&"number"==typeof e.DelegatorAddress.length||a.isString(e.DelegatorAddress)))return"DelegatorAddress: buffer expected";if(!(e.ValidatorAddress&&"number"==typeof e.ValidatorAddress.length||a.isString(e.ValidatorAddress)))return"ValidatorAddress: buffer expected";var t=s.cosmos.Coin.verify(e.Amount);return t?"Amount."+t:null},e.fromObject=function(e){if(e instanceof s.cosmos.MsgUndelegate)return e;var t=new s.cosmos.MsgUndelegate;if(null!=e.DelegatorAddress&&("string"==typeof e.DelegatorAddress?a.base64.decode(e.DelegatorAddress,t.DelegatorAddress=a.newBuffer(a.base64.length(e.DelegatorAddress)),0):e.DelegatorAddress.length&&(t.DelegatorAddress=e.DelegatorAddress)),null!=e.ValidatorAddress&&("string"==typeof e.ValidatorAddress?a.base64.decode(e.ValidatorAddress,t.ValidatorAddress=a.newBuffer(a.base64.length(e.ValidatorAddress)),0):e.ValidatorAddress.length&&(t.ValidatorAddress=e.ValidatorAddress)),null!=e.Amount){if("object"!=typeof e.Amount)throw TypeError(".cosmos.MsgUndelegate.Amount: object expected");t.Amount=s.cosmos.Coin.fromObject(e.Amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.DelegatorAddress="":(r.DelegatorAddress=[],t.bytes!==Array&&(r.DelegatorAddress=a.newBuffer(r.DelegatorAddress))),t.bytes===String?r.ValidatorAddress="":(r.ValidatorAddress=[],t.bytes!==Array&&(r.ValidatorAddress=a.newBuffer(r.ValidatorAddress))),r.Amount=null),null!=e.DelegatorAddress&&e.hasOwnProperty("DelegatorAddress")&&(r.DelegatorAddress=t.bytes===String?a.base64.encode(e.DelegatorAddress,0,e.DelegatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.DelegatorAddress):e.DelegatorAddress),null!=e.ValidatorAddress&&e.hasOwnProperty("ValidatorAddress")&&(r.ValidatorAddress=t.bytes===String?a.base64.encode(e.ValidatorAddress,0,e.ValidatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.ValidatorAddress):e.ValidatorAddress),null!=e.Amount&&e.hasOwnProperty("Amount")&&(r.Amount=s.cosmos.Coin.toObject(e.Amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.MsgBeginRedelegate=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.DelegatorAddress=a.newBuffer([]),e.prototype.ValidatorSrcAddress=a.newBuffer([]),e.prototype.ValidatorDstAddress=a.newBuffer([]),e.prototype.Amount=null,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).bytes(e.DelegatorAddress),t.uint32(18).bytes(e.ValidatorSrcAddress),t.uint32(26).bytes(e.ValidatorDstAddress),s.cosmos.Coin.encode(e.Amount,t.uint32(34).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.cosmos.MsgBeginRedelegate;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.DelegatorAddress=e.bytes();break;case 2:n.ValidatorSrcAddress=e.bytes();break;case 3:n.ValidatorDstAddress=e.bytes();break;case 4:n.Amount=s.cosmos.Coin.decode(e,e.uint32());break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("DelegatorAddress"))throw a.ProtocolError("missing required 'DelegatorAddress'",{instance:n});if(!n.hasOwnProperty("ValidatorSrcAddress"))throw a.ProtocolError("missing required 'ValidatorSrcAddress'",{instance:n});if(!n.hasOwnProperty("ValidatorDstAddress"))throw a.ProtocolError("missing required 'ValidatorDstAddress'",{instance:n});if(!n.hasOwnProperty("Amount"))throw a.ProtocolError("missing required 'Amount'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(!(e.DelegatorAddress&&"number"==typeof e.DelegatorAddress.length||a.isString(e.DelegatorAddress)))return"DelegatorAddress: buffer expected";if(!(e.ValidatorSrcAddress&&"number"==typeof e.ValidatorSrcAddress.length||a.isString(e.ValidatorSrcAddress)))return"ValidatorSrcAddress: buffer expected";if(!(e.ValidatorDstAddress&&"number"==typeof e.ValidatorDstAddress.length||a.isString(e.ValidatorDstAddress)))return"ValidatorDstAddress: buffer expected";var t=s.cosmos.Coin.verify(e.Amount);return t?"Amount."+t:null},e.fromObject=function(e){if(e instanceof s.cosmos.MsgBeginRedelegate)return e;var t=new s.cosmos.MsgBeginRedelegate;if(null!=e.DelegatorAddress&&("string"==typeof e.DelegatorAddress?a.base64.decode(e.DelegatorAddress,t.DelegatorAddress=a.newBuffer(a.base64.length(e.DelegatorAddress)),0):e.DelegatorAddress.length&&(t.DelegatorAddress=e.DelegatorAddress)),null!=e.ValidatorSrcAddress&&("string"==typeof e.ValidatorSrcAddress?a.base64.decode(e.ValidatorSrcAddress,t.ValidatorSrcAddress=a.newBuffer(a.base64.length(e.ValidatorSrcAddress)),0):e.ValidatorSrcAddress.length&&(t.ValidatorSrcAddress=e.ValidatorSrcAddress)),null!=e.ValidatorDstAddress&&("string"==typeof e.ValidatorDstAddress?a.base64.decode(e.ValidatorDstAddress,t.ValidatorDstAddress=a.newBuffer(a.base64.length(e.ValidatorDstAddress)),0):e.ValidatorDstAddress.length&&(t.ValidatorDstAddress=e.ValidatorDstAddress)),null!=e.Amount){if("object"!=typeof e.Amount)throw TypeError(".cosmos.MsgBeginRedelegate.Amount: object expected");t.Amount=s.cosmos.Coin.fromObject(e.Amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.DelegatorAddress="":(r.DelegatorAddress=[],t.bytes!==Array&&(r.DelegatorAddress=a.newBuffer(r.DelegatorAddress))),t.bytes===String?r.ValidatorSrcAddress="":(r.ValidatorSrcAddress=[],t.bytes!==Array&&(r.ValidatorSrcAddress=a.newBuffer(r.ValidatorSrcAddress))),t.bytes===String?r.ValidatorDstAddress="":(r.ValidatorDstAddress=[],t.bytes!==Array&&(r.ValidatorDstAddress=a.newBuffer(r.ValidatorDstAddress))),r.Amount=null),null!=e.DelegatorAddress&&e.hasOwnProperty("DelegatorAddress")&&(r.DelegatorAddress=t.bytes===String?a.base64.encode(e.DelegatorAddress,0,e.DelegatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.DelegatorAddress):e.DelegatorAddress),null!=e.ValidatorSrcAddress&&e.hasOwnProperty("ValidatorSrcAddress")&&(r.ValidatorSrcAddress=t.bytes===String?a.base64.encode(e.ValidatorSrcAddress,0,e.ValidatorSrcAddress.length):t.bytes===Array?Array.prototype.slice.call(e.ValidatorSrcAddress):e.ValidatorSrcAddress),null!=e.ValidatorDstAddress&&e.hasOwnProperty("ValidatorDstAddress")&&(r.ValidatorDstAddress=t.bytes===String?a.base64.encode(e.ValidatorDstAddress,0,e.ValidatorDstAddress.length):t.bytes===Array?Array.prototype.slice.call(e.ValidatorDstAddress):e.ValidatorDstAddress),null!=e.Amount&&e.hasOwnProperty("Amount")&&(r.Amount=s.cosmos.Coin.toObject(e.Amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.MsgSetWithdrawAddress=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.DelegatorAddress=a.newBuffer([]),e.prototype.WithdrawAddress=a.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).bytes(e.DelegatorAddress),t.uint32(18).bytes(e.WithdrawAddress),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.cosmos.MsgSetWithdrawAddress;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.DelegatorAddress=e.bytes();break;case 2:n.WithdrawAddress=e.bytes();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("DelegatorAddress"))throw a.ProtocolError("missing required 'DelegatorAddress'",{instance:n});if(!n.hasOwnProperty("WithdrawAddress"))throw a.ProtocolError("missing required 'WithdrawAddress'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":e.DelegatorAddress&&"number"==typeof e.DelegatorAddress.length||a.isString(e.DelegatorAddress)?e.WithdrawAddress&&"number"==typeof e.WithdrawAddress.length||a.isString(e.WithdrawAddress)?null:"WithdrawAddress: buffer expected":"DelegatorAddress: buffer expected"},e.fromObject=function(e){if(e instanceof s.cosmos.MsgSetWithdrawAddress)return e;var t=new s.cosmos.MsgSetWithdrawAddress;return null!=e.DelegatorAddress&&("string"==typeof e.DelegatorAddress?a.base64.decode(e.DelegatorAddress,t.DelegatorAddress=a.newBuffer(a.base64.length(e.DelegatorAddress)),0):e.DelegatorAddress.length&&(t.DelegatorAddress=e.DelegatorAddress)),null!=e.WithdrawAddress&&("string"==typeof e.WithdrawAddress?a.base64.decode(e.WithdrawAddress,t.WithdrawAddress=a.newBuffer(a.base64.length(e.WithdrawAddress)),0):e.WithdrawAddress.length&&(t.WithdrawAddress=e.WithdrawAddress)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.DelegatorAddress="":(r.DelegatorAddress=[],t.bytes!==Array&&(r.DelegatorAddress=a.newBuffer(r.DelegatorAddress))),t.bytes===String?r.WithdrawAddress="":(r.WithdrawAddress=[],t.bytes!==Array&&(r.WithdrawAddress=a.newBuffer(r.WithdrawAddress)))),null!=e.DelegatorAddress&&e.hasOwnProperty("DelegatorAddress")&&(r.DelegatorAddress=t.bytes===String?a.base64.encode(e.DelegatorAddress,0,e.DelegatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.DelegatorAddress):e.DelegatorAddress),null!=e.WithdrawAddress&&e.hasOwnProperty("WithdrawAddress")&&(r.WithdrawAddress=t.bytes===String?a.base64.encode(e.WithdrawAddress,0,e.WithdrawAddress.length):t.bytes===Array?Array.prototype.slice.call(e.WithdrawAddress):e.WithdrawAddress),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.MsgWithdrawDelegatorReward=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.DelegatorAddress=a.newBuffer([]),e.prototype.ValidatorAddress=a.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).bytes(e.DelegatorAddress),t.uint32(18).bytes(e.ValidatorAddress),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.cosmos.MsgWithdrawDelegatorReward;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.DelegatorAddress=e.bytes();break;case 2:n.ValidatorAddress=e.bytes();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("DelegatorAddress"))throw a.ProtocolError("missing required 'DelegatorAddress'",{instance:n});if(!n.hasOwnProperty("ValidatorAddress"))throw a.ProtocolError("missing required 'ValidatorAddress'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":e.DelegatorAddress&&"number"==typeof e.DelegatorAddress.length||a.isString(e.DelegatorAddress)?e.ValidatorAddress&&"number"==typeof e.ValidatorAddress.length||a.isString(e.ValidatorAddress)?null:"ValidatorAddress: buffer expected":"DelegatorAddress: buffer expected"},e.fromObject=function(e){if(e instanceof s.cosmos.MsgWithdrawDelegatorReward)return e;var t=new s.cosmos.MsgWithdrawDelegatorReward;return null!=e.DelegatorAddress&&("string"==typeof e.DelegatorAddress?a.base64.decode(e.DelegatorAddress,t.DelegatorAddress=a.newBuffer(a.base64.length(e.DelegatorAddress)),0):e.DelegatorAddress.length&&(t.DelegatorAddress=e.DelegatorAddress)),null!=e.ValidatorAddress&&("string"==typeof e.ValidatorAddress?a.base64.decode(e.ValidatorAddress,t.ValidatorAddress=a.newBuffer(a.base64.length(e.ValidatorAddress)),0):e.ValidatorAddress.length&&(t.ValidatorAddress=e.ValidatorAddress)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.DelegatorAddress="":(r.DelegatorAddress=[],t.bytes!==Array&&(r.DelegatorAddress=a.newBuffer(r.DelegatorAddress))),t.bytes===String?r.ValidatorAddress="":(r.ValidatorAddress=[],t.bytes!==Array&&(r.ValidatorAddress=a.newBuffer(r.ValidatorAddress)))),null!=e.DelegatorAddress&&e.hasOwnProperty("DelegatorAddress")&&(r.DelegatorAddress=t.bytes===String?a.base64.encode(e.DelegatorAddress,0,e.DelegatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.DelegatorAddress):e.DelegatorAddress),null!=e.ValidatorAddress&&e.hasOwnProperty("ValidatorAddress")&&(r.ValidatorAddress=t.bytes===String?a.base64.encode(e.ValidatorAddress,0,e.ValidatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.ValidatorAddress):e.ValidatorAddress),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.MsgWithdrawValidatorCommission=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.ValidatorAddress=a.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).bytes(e.ValidatorAddress),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.cosmos.MsgWithdrawValidatorCommission;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.ValidatorAddress=e.bytes();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("ValidatorAddress"))throw a.ProtocolError("missing required 'ValidatorAddress'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":e.ValidatorAddress&&"number"==typeof e.ValidatorAddress.length||a.isString(e.ValidatorAddress)?null:"ValidatorAddress: buffer expected"},e.fromObject=function(e){if(e instanceof s.cosmos.MsgWithdrawValidatorCommission)return e;var t=new s.cosmos.MsgWithdrawValidatorCommission;return null!=e.ValidatorAddress&&("string"==typeof e.ValidatorAddress?a.base64.decode(e.ValidatorAddress,t.ValidatorAddress=a.newBuffer(a.base64.length(e.ValidatorAddress)),0):e.ValidatorAddress.length&&(t.ValidatorAddress=e.ValidatorAddress)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.ValidatorAddress="":(r.ValidatorAddress=[],t.bytes!==Array&&(r.ValidatorAddress=a.newBuffer(r.ValidatorAddress)))),null!=e.ValidatorAddress&&e.hasOwnProperty("ValidatorAddress")&&(r.ValidatorAddress=t.bytes===String?a.base64.encode(e.ValidatorAddress,0,e.ValidatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.ValidatorAddress):e.ValidatorAddress),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.StdFee=function(){function e(e){if(this.amount=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.amount=a.emptyArray,e.prototype.gas=a.Long?a.Long.fromBits(0,0,!1):0,e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=o.create()),null!=e.amount&&e.amount.length)for(var r=0;r<e.amount.length;++r)s.cosmos.Coin.encode(e.amount[r],t.uint32(10).fork()).ldelim();return t.uint32(16).int64(e.gas),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.cosmos.StdFee;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.amount&&n.amount.length||(n.amount=[]),n.amount.push(s.cosmos.Coin.decode(e,e.uint32()));break;case 2:n.gas=e.int64();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("gas"))throw a.ProtocolError("missing required 'gas'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.amount&&e.hasOwnProperty("amount")){if(!Array.isArray(e.amount))return"amount: array expected";for(var t=0;t<e.amount.length;++t){var r=s.cosmos.Coin.verify(e.amount[t]);if(r)return"amount."+r}}return a.isInteger(e.gas)||e.gas&&a.isInteger(e.gas.low)&&a.isInteger(e.gas.high)?null:"gas: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.cosmos.StdFee)return e;var t=new s.cosmos.StdFee;if(e.amount){if(!Array.isArray(e.amount))throw TypeError(".cosmos.StdFee.amount: array expected");t.amount=[];for(var r=0;r<e.amount.length;++r){if("object"!=typeof e.amount[r])throw TypeError(".cosmos.StdFee.amount: object expected");t.amount[r]=s.cosmos.Coin.fromObject(e.amount[r])}}return null!=e.gas&&(a.Long?(t.gas=a.Long.fromValue(e.gas)).unsigned=!1:"string"==typeof e.gas?t.gas=parseInt(e.gas,10):"number"==typeof e.gas?t.gas=e.gas:"object"==typeof e.gas&&(t.gas=new a.LongBits(e.gas.low>>>0,e.gas.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.amount=[]),t.defaults)if(a.Long){var n=new a.Long(0,0,!1);r.gas=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.gas=t.longs===String?"0":0;if(e.amount&&e.amount.length){r.amount=[];for(var A=0;A<e.amount.length;++A)r.amount[A]=s.cosmos.Coin.toObject(e.amount[A],t)}return null!=e.gas&&e.hasOwnProperty("gas")&&("number"==typeof e.gas?r.gas=t.longs===String?String(e.gas):e.gas:r.gas=t.longs===String?a.Long.prototype.toString.call(e.gas):t.longs===Number?new a.LongBits(e.gas.low>>>0,e.gas.high>>>0).toNumber():e.gas),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.StdSignature=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.pubKey=a.newBuffer([]),e.prototype.signature=a.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).bytes(e.pubKey),t.uint32(18).bytes(e.signature),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.cosmos.StdSignature;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.pubKey=e.bytes();break;case 2:n.signature=e.bytes();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("pubKey"))throw a.ProtocolError("missing required 'pubKey'",{instance:n});if(!n.hasOwnProperty("signature"))throw a.ProtocolError("missing required 'signature'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":e.pubKey&&"number"==typeof e.pubKey.length||a.isString(e.pubKey)?e.signature&&"number"==typeof e.signature.length||a.isString(e.signature)?null:"signature: buffer expected":"pubKey: buffer expected"},e.fromObject=function(e){if(e instanceof s.cosmos.StdSignature)return e;var t=new s.cosmos.StdSignature;return null!=e.pubKey&&("string"==typeof e.pubKey?a.base64.decode(e.pubKey,t.pubKey=a.newBuffer(a.base64.length(e.pubKey)),0):e.pubKey.length&&(t.pubKey=e.pubKey)),null!=e.signature&&("string"==typeof e.signature?a.base64.decode(e.signature,t.signature=a.newBuffer(a.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.pubKey="":(r.pubKey=[],t.bytes!==Array&&(r.pubKey=a.newBuffer(r.pubKey))),t.bytes===String?r.signature="":(r.signature=[],t.bytes!==Array&&(r.signature=a.newBuffer(r.signature)))),null!=e.pubKey&&e.hasOwnProperty("pubKey")&&(r.pubKey=t.bytes===String?a.base64.encode(e.pubKey,0,e.pubKey.length):t.bytes===Array?Array.prototype.slice.call(e.pubKey):e.pubKey),null!=e.signature&&e.hasOwnProperty("signature")&&(r.signature=t.bytes===String?a.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.StdTx=function(){function e(e){if(this.msg=[],this.signatures=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.msg=a.emptyArray,e.prototype.fee=null,e.prototype.signatures=a.emptyArray,e.prototype.memo="",e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=o.create()),null!=e.msg&&e.msg.length)for(var r=0;r<e.msg.length;++r)t.uint32(10).bytes(e.msg[r]);if(s.cosmos.StdFee.encode(e.fee,t.uint32(18).fork()).ldelim(),null!=e.signatures&&e.signatures.length)for(r=0;r<e.signatures.length;++r)s.cosmos.StdSignature.encode(e.signatures[r],t.uint32(26).fork()).ldelim();return null!=e.memo&&e.hasOwnProperty("memo")&&""!==e.memo&&t.uint32(34).string(e.memo),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.cosmos.StdTx;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.msg&&n.msg.length||(n.msg=[]),n.msg.push(e.bytes());break;case 2:n.fee=s.cosmos.StdFee.decode(e,e.uint32());break;case 3:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(s.cosmos.StdSignature.decode(e,e.uint32()));break;case 4:n.memo=e.string();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("fee"))throw a.ProtocolError("missing required 'fee'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.msg&&e.hasOwnProperty("msg")){if(!Array.isArray(e.msg))return"msg: array expected";for(var t=0;t<e.msg.length;++t)if(!(e.msg[t]&&"number"==typeof e.msg[t].length||a.isString(e.msg[t])))return"msg: buffer[] expected"}if(r=s.cosmos.StdFee.verify(e.fee))return"fee."+r;if(null!=e.signatures&&e.hasOwnProperty("signatures")){if(!Array.isArray(e.signatures))return"signatures: array expected";for(t=0;t<e.signatures.length;++t){var r;if(r=s.cosmos.StdSignature.verify(e.signatures[t]))return"signatures."+r}}return null!=e.memo&&e.hasOwnProperty("memo")&&!a.isString(e.memo)?"memo: string expected":null},e.fromObject=function(e){if(e instanceof s.cosmos.StdTx)return e;var t=new s.cosmos.StdTx;if(e.msg){if(!Array.isArray(e.msg))throw TypeError(".cosmos.StdTx.msg: array expected");t.msg=[];for(var r=0;r<e.msg.length;++r)"string"==typeof e.msg[r]?a.base64.decode(e.msg[r],t.msg[r]=a.newBuffer(a.base64.length(e.msg[r])),0):e.msg[r].length&&(t.msg[r]=e.msg[r])}if(null!=e.fee){if("object"!=typeof e.fee)throw TypeError(".cosmos.StdTx.fee: object expected");t.fee=s.cosmos.StdFee.fromObject(e.fee)}if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.StdTx.signatures: array expected");for(t.signatures=[],r=0;r<e.signatures.length;++r){if("object"!=typeof e.signatures[r])throw TypeError(".cosmos.StdTx.signatures: object expected");t.signatures[r]=s.cosmos.StdSignature.fromObject(e.signatures[r])}}return null!=e.memo&&(t.memo=String(e.memo)),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.msg=[],r.signatures=[]),t.defaults&&(r.fee=null,r.memo=""),e.msg&&e.msg.length){r.msg=[];for(var n=0;n<e.msg.length;++n)r.msg[n]=t.bytes===String?a.base64.encode(e.msg[n],0,e.msg[n].length):t.bytes===Array?Array.prototype.slice.call(e.msg[n]):e.msg[n]}if(null!=e.fee&&e.hasOwnProperty("fee")&&(r.fee=s.cosmos.StdFee.toObject(e.fee,t)),e.signatures&&e.signatures.length)for(r.signatures=[],n=0;n<e.signatures.length;++n)r.signatures[n]=s.cosmos.StdSignature.toObject(e.signatures[n],t);return null!=e.memo&&e.hasOwnProperty("memo")&&(r.memo=e.memo),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n),e.exports=s},function(e,t,r){var n=r(231),A=r(343);e.exports=r(232)?function(e,t,r){return n.f(e,t,A(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(290),A=r(930),i=r(500),o=Object.defineProperty;t.f=r(232)?Object.defineProperty:function(e,t,r){if(n(e),t=i(t,!0),n(r),A)try{return o(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){e.exports=!r(342)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,r){var n=r(1641),A=r(499);e.exports=function(e){return n(A(e))}},function(e,t,r){var n,A,i;e.exports=(i=r(40),A=(n=i).lib.WordArray,n.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var A=[],i=0;i<r;i+=3)for(var o=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a<r;a++)A.push(n.charAt(o>>>6*(3-a)&63));var s=n.charAt(64);if(s)for(;A.length%4;)A.push(s);return A.join("")},parse:function(e){var t=e.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var i=0;i<r.length;i++)n[r.charCodeAt(i)]=i}var o=r.charAt(64);if(o){var a=e.indexOf(o);-1!==a&&(t=a)}return function(e,t,r){for(var n=[],i=0,o=0;o<t;o++)if(o%4){var a=r[e.charCodeAt(o-1)]<<o%4*2,s=r[e.charCodeAt(o)]>>>6-o%4*2;n[i>>>2]|=(a|s)<<24-i%4*8,i++}return A.create(n,i)}(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},i.enc.Base64)},function(e,t,r){var n;e.exports=(n=r(40),function(e){var t=n,r=t.lib,A=r.WordArray,i=r.Hasher,o=t.algo,a=[];!function(){for(var t=0;t<64;t++)a[t]=4294967296*e.abs(e.sin(t+1))|0}();var s=o.MD5=i.extend({_doReset:function(){this._hash=new A.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,A=e[n];e[n]=16711935&(A<<8|A>>>24)|4278255360&(A<<24|A>>>8)}var i=this._hash.words,o=e[t+0],s=e[t+1],d=e[t+2],g=e[t+3],h=e[t+4],p=e[t+5],I=e[t+6],B=e[t+7],C=e[t+8],m=e[t+9],y=e[t+10],Q=e[t+11],w=e[t+12],E=e[t+13],b=e[t+14],v=e[t+15],D=i[0],M=i[1],k=i[2],_=i[3];D=u(D,M,k,_,o,7,a[0]),_=u(_,D,M,k,s,12,a[1]),k=u(k,_,D,M,d,17,a[2]),M=u(M,k,_,D,g,22,a[3]),D=u(D,M,k,_,h,7,a[4]),_=u(_,D,M,k,p,12,a[5]),k=u(k,_,D,M,I,17,a[6]),M=u(M,k,_,D,B,22,a[7]),D=u(D,M,k,_,C,7,a[8]),_=u(_,D,M,k,m,12,a[9]),k=u(k,_,D,M,y,17,a[10]),M=u(M,k,_,D,Q,22,a[11]),D=u(D,M,k,_,w,7,a[12]),_=u(_,D,M,k,E,12,a[13]),k=u(k,_,D,M,b,17,a[14]),D=l(D,M=u(M,k,_,D,v,22,a[15]),k,_,s,5,a[16]),_=l(_,D,M,k,I,9,a[17]),k=l(k,_,D,M,Q,14,a[18]),M=l(M,k,_,D,o,20,a[19]),D=l(D,M,k,_,p,5,a[20]),_=l(_,D,M,k,y,9,a[21]),k=l(k,_,D,M,v,14,a[22]),M=l(M,k,_,D,h,20,a[23]),D=l(D,M,k,_,m,5,a[24]),_=l(_,D,M,k,b,9,a[25]),k=l(k,_,D,M,g,14,a[26]),M=l(M,k,_,D,C,20,a[27]),D=l(D,M,k,_,E,5,a[28]),_=l(_,D,M,k,d,9,a[29]),k=l(k,_,D,M,B,14,a[30]),D=c(D,M=l(M,k,_,D,w,20,a[31]),k,_,p,4,a[32]),_=c(_,D,M,k,C,11,a[33]),k=c(k,_,D,M,Q,16,a[34]),M=c(M,k,_,D,b,23,a[35]),D=c(D,M,k,_,s,4,a[36]),_=c(_,D,M,k,h,11,a[37]),k=c(k,_,D,M,B,16,a[38]),M=c(M,k,_,D,y,23,a[39]),D=c(D,M,k,_,E,4,a[40]),_=c(_,D,M,k,o,11,a[41]),k=c(k,_,D,M,g,16,a[42]),M=c(M,k,_,D,I,23,a[43]),D=c(D,M,k,_,m,4,a[44]),_=c(_,D,M,k,w,11,a[45]),k=c(k,_,D,M,v,16,a[46]),D=f(D,M=c(M,k,_,D,d,23,a[47]),k,_,o,6,a[48]),_=f(_,D,M,k,B,10,a[49]),k=f(k,_,D,M,b,15,a[50]),M=f(M,k,_,D,p,21,a[51]),D=f(D,M,k,_,w,6,a[52]),_=f(_,D,M,k,g,10,a[53]),k=f(k,_,D,M,y,15,a[54]),M=f(M,k,_,D,s,21,a[55]),D=f(D,M,k,_,C,6,a[56]),_=f(_,D,M,k,v,10,a[57]),k=f(k,_,D,M,I,15,a[58]),M=f(M,k,_,D,E,21,a[59]),D=f(D,M,k,_,h,6,a[60]),_=f(_,D,M,k,Q,10,a[61]),k=f(k,_,D,M,d,15,a[62]),M=f(M,k,_,D,m,21,a[63]),i[0]=i[0]+D|0,i[1]=i[1]+M|0,i[2]=i[2]+k|0,i[3]=i[3]+_|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,A=8*t.sigBytes;r[A>>>5]|=128<<24-A%32;var i=e.floor(n/4294967296),o=n;r[15+(A+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(A+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),t.sigBytes=4*(r.length+1),this._process();for(var a=this._hash,s=a.words,u=0;u<4;u++){var l=s[u];s[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return a},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,r,n,A,i,o){var a=e+(t&r|~t&n)+A+o;return(a<<i|a>>>32-i)+t}function l(e,t,r,n,A,i,o){var a=e+(t&n|r&~n)+A+o;return(a<<i|a>>>32-i)+t}function c(e,t,r,n,A,i,o){var a=e+(t^r^n)+A+o;return(a<<i|a>>>32-i)+t}function f(e,t,r,n,A,i,o){var a=e+(r^(t|~n))+A+o;return(a<<i|a>>>32-i)+t}t.MD5=i._createHelper(s),t.HmacMD5=i._createHmacHelper(s)}(Math),n.MD5)},function(e,t,r){var n,A,i,o,a,s,u,l;e.exports=(l=r(40),r(513),r(514),A=(n=l).lib,i=A.Base,o=A.WordArray,a=n.algo,s=a.MD5,u=a.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=r.hasher.create(),A=o.create(),i=A.words,a=r.keySize,s=r.iterations;i.length<a;){u&&n.update(u);var u=n.update(e).finalize(t);n.reset();for(var l=1;l<s;l++)u=n.finalize(u),n.reset();A.concat(u)}return A.sigBytes=4*a,A}}),n.EvpKDF=function(e,t,r){return u.create(r).compute(e,t)},l.EvpKDF)},function(e,t){e.exports={InvalidNumberOfSolidityArgs:function(){return new Error("Invalid number of arguments to Solidity function")},InvalidNumberOfRPCParams:function(){return new Error("Invalid number of input parameters to RPC method")},InvalidConnection:function(e){return new Error("CONNECTION ERROR: Couldn't connect to node "+e+".")},InvalidProvider:function(){return new Error("Provider not set or invalid")},InvalidResponse:function(e){var t=e&&e.error&&e.error.message?e.error.message:"Invalid JSON RPC response: "+JSON.stringify(e);return new Error(t)},ConnectionTimeout:function(e){return new Error("CONNECTION TIMEOUT: timeout of "+e+" ms achived")}}},function(e,t,r){var n=r(75),A=function(e){this.name=e.name,this.getter=e.getter,this.setter=e.setter,this.outputFormatter=e.outputFormatter,this.inputFormatter=e.inputFormatter,this.requestManager=null};A.prototype.setRequestManager=function(e){this.requestManager=e},A.prototype.formatInput=function(e){return this.inputFormatter?this.inputFormatter(e):e},A.prototype.formatOutput=function(e){return this.outputFormatter&&null!=e?this.outputFormatter(e):e},A.prototype.extractCallback=function(e){if(n.isFunction(e[e.length-1]))return e.pop()},A.prototype.attachToObject=function(e){var t={get:this.buildGet(),enumerable:!0},r=this.name.split("."),n=r[0];r.length>1&&(e[r[0]]=e[r[0]]||{},e=e[r[0]],n=r[1]),Object.defineProperty(e,n,t),e[i(n)]=this.buildAsyncGet()};var i=function(e){return"get"+e.charAt(0).toUpperCase()+e.slice(1)};A.prototype.buildGet=function(){var e=this;return function(){return e.formatOutput(e.requestManager.send({method:e.getter}))}},A.prototype.buildAsyncGet=function(){var e=this,t=function(t){e.requestManager.sendAsync({method:e.getter},function(r,n){t(r,e.formatOutput(n))})};return t.request=this.request.bind(this),t},A.prototype.request=function(){var e={method:this.getter,params:[],callback:this.extractCallback(Array.prototype.slice.call(arguments))};return e.format=this.formatOutput.bind(this),e},e.exports=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2);n.__exportStar(r(1781),t),n.__exportStar(r(528),t),n.__exportStar(r(963),t),n.__exportStar(r(1782),t),n.__exportStar(r(351),t),n.__exportStar(r(962),t),n.__exportStar(r(1783),t)},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=256,r=null){const n=Math.ceil(t/8);return(0,o.isReady)()?(0,o.blake2b)((0,i.u8aToU8a)(e),(0,i.u8aToU8a)(r),n):A.default.blake2b(e,r,n)};var A=n(r(461)),i=r(12),o=r(70)},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(42),i=n(r(90));t.default=class{constructor(e,t){this.registry=void 0,this.raw=void 0,this.registry=e,this.raw=t}get encodedLength(){return this.toU8a().length}get hash(){return new i.default(this.registry,(0,A.blake2AsU8a)(this.toU8a(),256))}get isEmpty(){return this.raw.isEmpty}eq(e){return this.raw.eq(e)}toHex(e){return this.raw.toHex(e)}toHuman(e){return this.raw.toHuman(e)}toJSON(){return this.raw.toJSON()}toString(){return this.raw.toString()}toU8a(e){return this.raw.toU8a(e)}toRawType(){return"Base"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(12);class A{constructor(e){this.registry=void 0,this.registry=e}get encodedLength(){return 0}get hash(){throw new Error(".hash is not implemented on Null")}get isEmpty(){return!0}eq(e){return e instanceof A||(0,n.isNull)(e)}toHex(){return"0x"}toHuman(){return this.toJSON()}toJSON(){return null}toRawType(){return"Null"}toString(){return""}toU8a(e){return new Uint8Array}}t.default=A},function(e,t,r){"use strict";r.d(t,"b",function(){return l}),r.d(t,"a",function(){return c});var n=r(2),A=r(55),i=r(43),o=r(26),a=r(25),s=r(143),u={};function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=null,n=null;return Object(A.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(r=e.pop()),1===e.length&&Object(i.a)(e[0])&&(e=e[0]),Object(s.a)(e,n).lift(new c(r))}var c=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new f(e,this.resultSelector))},e}(),f=function(e){function t(t,r){var n=e.call(this,t)||this;return n.resultSelector=r,n.active=0,n.values=[],n.observables=[],n}return n.__extends(t,e),t.prototype._next=function(e){this.values.push(u),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var r=0;r<t;r++){var n=e[r];this.add(Object(a.a)(this,n,n,r))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,r,n,A){var i=this.values,o=i[r],a=this.toRespond?o===u?--this.toRespond:this.toRespond:0;i[r]=t,0===a&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},t.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(o.a)},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(130),A=r(104);function i(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(n.a)(A.a,e)}},function(e,t,r){"use strict";r.d(t,"a",function(){return A});var n=r(21);function A(e,t){return t?new n.a(function(r){return t.schedule(i,0,{error:e,subscriber:r})}):new n.a(function(t){return t.error(e)})}function i(e){var t=e.error;e.subscriber.error(t)}},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(2),A=r(13);function i(){return function(e){return e.lift(new o(e))}}var o=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var r=this.connectable;r._refCount++;var n=new a(e,r),A=t.subscribe(n);return n.closed||(n.connection=r.connect()),A},e}(),a=function(e){function t(t,r){var n=e.call(this,t)||this;return n.connectable=r,n}return n.__extends(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var r=this.connection,n=e._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},t}(A.a)},function(e,t,r){"use strict";r.d(t,"a",function(){return l});var n=r(2),A=r(41),i=r(380),o=r(32),a=r(372),s=r(119),u=r(384),l=function(e){function t(t,r,n){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===r&&(r=Number.POSITIVE_INFINITY);var A=e.call(this)||this;return A.scheduler=n,A._events=[],A._infiniteTimeWindow=!1,A._bufferSize=t<1?1:t,A._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(A._infiniteTimeWindow=!0,A.next=A.nextInfiniteTimeWindow):A.next=A.nextTimeWindow,A}return n.__extends(t,e),t.prototype.nextInfiniteTimeWindow=function(t){var r=this._events;r.push(t),r.length>this._bufferSize&&r.shift(),e.prototype.next.call(this,t)},t.prototype.nextTimeWindow=function(t){this._events.push(new c(this._getNow(),t)),this._trimBufferThenGetEvents(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,r=this._infiniteTimeWindow,n=r?this._events:this._trimBufferThenGetEvents(),A=this.scheduler,i=n.length;if(this.closed)throw new s.a;if(this.isStopped||this.hasError?t=o.a.EMPTY:(this.observers.push(e),t=new u.a(this,e)),A&&e.add(e=new a.a(e,A)),r)for(var l=0;l<i&&!e.closed;l++)e.next(n[l]);else for(l=0;l<i&&!e.closed;l++)e.next(n[l].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t},t.prototype._getNow=function(){return(this.scheduler||i.a).now()},t.prototype._trimBufferThenGetEvents=function(){for(var e=this._getNow(),t=this._bufferSize,r=this._windowTime,n=this._events,A=n.length,i=0;i<A&&!(e-n[i].time<r);)i++;return A>t&&(i=Math.max(i,A-t)),i>0&&n.splice(0,i),n},t}(A.a),c=function(){return function(e,t){this.time=e,this.value=t}}()},function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(21),A=r(64),i=r(61);function o(e){return new n.a(function(t){var r;try{r=e()}catch(e){return void t.error(e)}return(r?Object(A.a)(r):Object(i.b)()).subscribe(t)})}},function(e,t,r){"use strict";r.d(t,"b",function(){return l}),r.d(t,"a",function(){return c});var n=r(2),A=r(143),i=r(43),o=r(13),a=r(26),s=r(25),u=r(105);function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return"function"==typeof r&&e.pop(),Object(A.a)(e,void 0).lift(new c(r))}var c=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new f(e,this.resultSelector))},e}(),f=function(e){function t(t,r,n){void 0===n&&(n=Object.create(null));var A=e.call(this,t)||this;return A.iterators=[],A.active=0,A.resultSelector="function"==typeof r?r:null,A.values=n,A}return n.__extends(t,e),t.prototype._next=function(e){var t=this.iterators;Object(i.a)(e)?t.push(new g(e)):"function"==typeof e[u.a]?t.push(new d(e[u.a]())):t.push(new h(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(var r=0;r<t;r++){var n=e[r];if(n.stillUnsubscribed)this.destination.add(n.subscribe(n,r));else this.active--}}else this.destination.complete()},t.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,r=this.destination,n=0;n<t;n++){if("function"==typeof(o=e[n]).hasValue&&!o.hasValue())return}var A=!1,i=[];for(n=0;n<t;n++){var o,a=(o=e[n]).next();if(o.hasCompleted()&&(A=!0),a.done)return void r.complete();i.push(a.value)}this.resultSelector?this._tryresultSelector(i):r.next(i),A&&r.complete()},t.prototype._tryresultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(o.a),d=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return e&&e.done},e}(),g=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[u.a]=function(){return this},e.prototype.next=function(e){var t=this.index++,r=this.array;return t<this.length?{value:r[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),h=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.parent=r,A.observable=n,A.stillUnsubscribed=!0,A.buffer=[],A.isComplete=!1,A}return n.__extends(t,e),t.prototype[u.a]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,r,n,A){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return Object(s.a)(this,this.observable,this,t)},t}(a.a)},function(e,t,r){"use strict";function n(e){return null!==e&&"object"==typeof e}r.d(t,"a",function(){return n})},function(e,t,r){"use strict";r.d(t,"a",function(){return A});var n=r(13);function A(e){for(;e;){var t=e,r=t.closed,A=t.destination,i=t.isStopped;if(r||i)return!1;e=A&&A instanceof n.a?A:null}return!0}},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(21),A=r(32);function i(e,t){return new n.a(function(r){var n=new A.a,i=0;return n.add(t.schedule(function(){i!==e.length?(r.next(e[i++]),r.closed||n.add(this.schedule())):r.complete()})),n})}},function(e,t,r){"use strict";var n=r(2),A=1,i={};var o=function(e){var t=A++;return i[t]=e,Promise.resolve().then(function(){return function(e){var t=i[e];t&&t()}(t)}),t},a=function(e){delete i[e]},s=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return n.__extends(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t.scheduled||(t.scheduled=o(t.flush.bind(t,null))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);0===t.actions.length&&(a(r),t.scheduled=void 0)},t}(r(145).a),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1,A=r.length;e=e||r.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n<A&&(e=r.shift()));if(this.active=!1,t){for(;++n<A&&(e=r.shift());)e.unsubscribe();throw t}},t}(r(142).a);r.d(t,"a",function(){return l});var l=new u(s)},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(83),A=r(168),i={closed:!0,next:function(e){},error:function(e){if(n.a.useDeprecatedSynchronousErrorHandling)throw e;Object(A.a)(e)},complete:function(){}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={};t.default=void 0;var A=r(1008);Object.keys(A).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return A[e]}}))});var i=r(541);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))});var o=r(545);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))});var a=r(1936);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))});var s=r(1020);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))});var u=A.createType;t.default=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(558);t.EncryptedStream=n.EncryptedStream;var A=r(639);t.LocalStream=A.LocalStream},function(e,t,r){"use strict";var n=r(20),A=r(389),i=r(15).Buffer,o=new Array(16);function a(){A.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function s(e,t){return e<<t|e>>>32-t}function u(e,t,r,n,A,i,o){return s(e+(t&r|~t&n)+A+i|0,o)+t|0}function l(e,t,r,n,A,i,o){return s(e+(t&n|r&~n)+A+i|0,o)+t|0}function c(e,t,r,n,A,i,o){return s(e+(t^r^n)+A+i|0,o)+t|0}function f(e,t,r,n,A,i,o){return s(e+(r^(t|~n))+A+i|0,o)+t|0}n(a,A),a.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,A=this._c,i=this._d;r=u(r,n,A,i,e[0],3614090360,7),i=u(i,r,n,A,e[1],3905402710,12),A=u(A,i,r,n,e[2],606105819,17),n=u(n,A,i,r,e[3],3250441966,22),r=u(r,n,A,i,e[4],4118548399,7),i=u(i,r,n,A,e[5],1200080426,12),A=u(A,i,r,n,e[6],2821735955,17),n=u(n,A,i,r,e[7],4249261313,22),r=u(r,n,A,i,e[8],1770035416,7),i=u(i,r,n,A,e[9],2336552879,12),A=u(A,i,r,n,e[10],4294925233,17),n=u(n,A,i,r,e[11],2304563134,22),r=u(r,n,A,i,e[12],1804603682,7),i=u(i,r,n,A,e[13],4254626195,12),A=u(A,i,r,n,e[14],2792965006,17),r=l(r,n=u(n,A,i,r,e[15],1236535329,22),A,i,e[1],4129170786,5),i=l(i,r,n,A,e[6],3225465664,9),A=l(A,i,r,n,e[11],643717713,14),n=l(n,A,i,r,e[0],3921069994,20),r=l(r,n,A,i,e[5],3593408605,5),i=l(i,r,n,A,e[10],38016083,9),A=l(A,i,r,n,e[15],3634488961,14),n=l(n,A,i,r,e[4],3889429448,20),r=l(r,n,A,i,e[9],568446438,5),i=l(i,r,n,A,e[14],3275163606,9),A=l(A,i,r,n,e[3],4107603335,14),n=l(n,A,i,r,e[8],1163531501,20),r=l(r,n,A,i,e[13],2850285829,5),i=l(i,r,n,A,e[2],4243563512,9),A=l(A,i,r,n,e[7],1735328473,14),r=c(r,n=l(n,A,i,r,e[12],2368359562,20),A,i,e[5],4294588738,4),i=c(i,r,n,A,e[8],2272392833,11),A=c(A,i,r,n,e[11],1839030562,16),n=c(n,A,i,r,e[14],4259657740,23),r=c(r,n,A,i,e[1],2763975236,4),i=c(i,r,n,A,e[4],1272893353,11),A=c(A,i,r,n,e[7],4139469664,16),n=c(n,A,i,r,e[10],3200236656,23),r=c(r,n,A,i,e[13],681279174,4),i=c(i,r,n,A,e[0],3936430074,11),A=c(A,i,r,n,e[3],3572445317,16),n=c(n,A,i,r,e[6],76029189,23),r=c(r,n,A,i,e[9],3654602809,4),i=c(i,r,n,A,e[12],3873151461,11),A=c(A,i,r,n,e[15],530742520,16),r=f(r,n=c(n,A,i,r,e[2],3299628645,23),A,i,e[0],4096336452,6),i=f(i,r,n,A,e[7],1126891415,10),A=f(A,i,r,n,e[14],2878612391,15),n=f(n,A,i,r,e[5],4237533241,21),r=f(r,n,A,i,e[12],1700485571,6),i=f(i,r,n,A,e[3],2399980690,10),A=f(A,i,r,n,e[10],4293915773,15),n=f(n,A,i,r,e[1],2240044497,21),r=f(r,n,A,i,e[8],1873313359,6),i=f(i,r,n,A,e[15],4264355552,10),A=f(A,i,r,n,e[6],2734768916,15),n=f(n,A,i,r,e[13],1309151649,21),r=f(r,n,A,i,e[4],4149444226,6),i=f(i,r,n,A,e[11],3174756917,10),A=f(A,i,r,n,e[2],718787259,15),n=f(n,A,i,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+A|0,this._d=this._d+i|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=i.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=a},function(e,t,r){"use strict";(function(t,n,A){var i=r(213);function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var A=n.callback;t.pendingcb--,A(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=B;var a,s=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?n:i.nextTick;B.WritableState=I;var u=r(172);u.inherits=r(20);var l={deprecate:r(564)},c=r(391),f=r(15).Buffer,d=A.Uint8Array||function(){};var g,h=r(392);function p(){}function I(e,t){a=a||r(121),e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var A=e.highWaterMark,u=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=A||0===A?A:n&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var c=!1===e.decodeStrings;this.decodeStrings=!c,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,A=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,A){--t.pendingcb,r?(i.nextTick(A,n),i.nextTick(E,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(A(n),e._writableState.errorEmitted=!0,e.emit("error",n),E(e,t))}(e,r,n,t,A);else{var o=Q(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||y(e,r),n?s(m,e,r,o,A):m(e,r,o,A)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function B(e){if(a=a||r(121),!(g.call(B,this)||this instanceof a))return new B(e);this._writableState=new I(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),c.call(this)}function C(e,t,r,n,A,i,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(A,t.onwrite):e._write(A,i,t.onwrite),t.sync=!1}function m(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),E(e,t)}function y(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,A=new Array(n),i=t.corkedRequestsFree;i.entry=r;for(var a=0,s=!0;r;)A[a]=r,r.isBuf||(s=!1),r=r.next,a+=1;A.allBuffers=s,C(e,t,!0,t.length,A,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,c=r.callback;if(C(e,t,!1,t.objectMode?1:u.length,u,l,c),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function Q(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function w(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),E(e,t)})}function E(e,t){var r=Q(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(w,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}u.inherits(B,c),I.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(I.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(g=Function.prototype[Symbol.hasInstance],Object.defineProperty(B,Symbol.hasInstance,{value:function(e){return!!g.call(this,e)||this===B&&(e&&e._writableState instanceof I)}})):g=function(e){return e instanceof this},B.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},B.prototype.write=function(e,t,r){var n,A=this._writableState,o=!1,a=!A.objectMode&&(n=e,f.isBuffer(n)||n instanceof d);return a&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=A.defaultEncoding),"function"!=typeof r&&(r=p),A.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),i.nextTick(t,r)}(this,r):(a||function(e,t,r,n){var A=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),i.nextTick(n,o),A=!1),A}(this,A,e,r))&&(A.pendingcb++,o=function(e,t,r,n,A,i){if(!r){var o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,r));return t}(t,n,A);n!==o&&(r=!0,A="buffer",n=o)}var a=t.objectMode?1:n.length;t.length+=a;var s=t.length<t.highWaterMark;s||(t.needDrain=!0);if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:A,isBuf:r,callback:i,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else C(e,t,!1,a,n,A,i);return s}(this,A,a,e,t,r)),o},B.prototype.cork=function(){this._writableState.corked++},B.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||y(this,e))},B.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(B.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),B.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},B.prototype._writev=null,B.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,E(e,t),r&&(t.finished?i.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(B.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),B.prototype.destroy=h.destroy,B.prototype._undestroy=h.undestroy,B.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(50),r(308).setImmediate,r(34))},function(e,t,r){"use strict";var n=r(15).Buffer,A=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===A||!A(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=s,this.end=u,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=l,this.end=c,t=3;break;default:return this.write=f,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function s(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function c(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},i.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var A=o(t[n]);if(A>=0)return A>0&&(e.lastNeed=A-1),A;if(--n<r||-2===A)return 0;if((A=o(t[n]))>=0)return A>0&&(e.lastNeed=A-2),A;if(--n<r||-2===A)return 0;if((A=o(t[n]))>=0)return A>0&&(2===A?A=0:e.lastNeed=A-3),A;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){(t=e.exports=function(e){e=e.toLowerCase();var r=t[e];if(!r)throw new Error(e+" is not supported (we accept pull requests)");return new r}).sha=r(570),t.sha1=r(571),t.sha224=r(572),t.sha256=r(394),t.sha384=r(573),t.sha512=r(395)},function(e,t,r){"use strict";t.utils=r(579),t.Cipher=r(580),t.DES=r(581),t.CBC=r(582),t.EDE=r(583)},function(e,t,r){var n={ECB:r(585),CBC:r(586),CFB:r(587),CFB8:r(588),CFB1:r(589),OFB:r(590),CTR:r(401),GCM:r(401)},A=r(403);for(var i in A)A[i].module=n[A[i].mode];e.exports=A},function(e,t,r){(function(t){var n=r(17),A=r(62);function i(e,r){var A=function(e){var t=o(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(r),i=r.modulus.byteLength(),a=(n.mont(r.modulus),new n(e).mul(A.blinder).umod(r.modulus)),s=a.toRed(n.mont(r.prime1)),u=a.toRed(n.mont(r.prime2)),l=r.coefficient,c=r.prime1,f=r.prime2,d=s.redPow(r.exponent1),g=u.redPow(r.exponent2);d=d.fromRed(),g=g.fromRed();var h=d.isub(g).imul(l).umod(c);return h.imul(f),g.iadd(h),new t(g.imul(A.unblinder).umod(r.modulus).toArray(!1,i))}function o(e){for(var t=e.modulus.byteLength(),r=new n(A(t));r.cmp(e.modulus)>=0||!r.umod(e.prime1)||!r.umod(e.prime2);)r=new n(A(t));return r}e.exports=i,i.getr=o}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(123),A=r(216),i=r(57);function o(e){if(!(this instanceof o))return new o(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=A.toArray(e.entropy,e.entropyEnc||"hex"),r=A.toArray(e.nonce,e.nonceEnc||"hex"),n=A.toArray(e.pers,e.persEnc||"hex");i(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}e.exports=o,o.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var A=0;A<this.V.length;A++)this.K[A]=0,this.V[A]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},o.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},o.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},o.prototype.reseed=function(e,t,r,n){"string"!=typeof t&&(n=r,r=t,t=null),e=A.toArray(e,t),r=A.toArray(r,n),i(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},o.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=A.toArray(r,n||"hex"),this._update(r));for(var i=[];i.length<e;)this.V=this._hmac().update(this.V).digest(),i=i.concat(this.V);var o=i.slice(0,e);return this._update(r),this._reseed++,A.encode(o,t)}},function(e,t,r){"use strict";var n=r(17),A=r(48).utils,i=A.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(i(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function a(){this.place=0}function s(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,A=0,i=0,o=t.place;i<n;i++,o++)A<<=8,A|=e[o];return t.place=o,A}function u(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function l(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=o,o.prototype._importDER=function(e,t){e=A.toArray(e,t);var r=new a;if(48!==e[r.place++])return!1;if(s(e,r)+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var i=s(e,r),o=e.slice(r.place,i+r.place);if(r.place+=i,2!==e[r.place++])return!1;var u=s(e,r);if(e.length!==u+r.place)return!1;var l=e.slice(r.place,u+r.place);return 0===o[0]&&128&o[1]&&(o=o.slice(1)),0===l[0]&&128&l[1]&&(l=l.slice(1)),this.r=new n(o),this.s=new n(l),this.recoveryParam=null,!0},o.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];l(n,t.length),(n=n.concat(t)).push(2),l(n,r.length);var i=n.concat(r),o=[48];return l(o,i.length),o=o.concat(i),A.encode(o,e)}},function(e,t,r){var n;e.exports=(n=n||function(e,t){var r=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),n={},A=n.lib={},i=A.Base={extend:function(e){var t=r(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},o=A.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||s).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,A=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i<A;i++){var o=r[i>>>2]>>>24-i%4*8&255;t[n+i>>>2]|=o<<24-(n+i)%4*8}else for(i=0;i<A;i+=4)t[n+i>>>2]=r[i>>>2];return this.sigBytes+=A,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=i.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var r,n=[],A=function(t){t=t;var r=987654321,n=4294967295;return function(){var A=((r=36969*(65535&r)+(r>>16)&n)<<16)+(t=18e3*(65535&t)+(t>>16)&n)&n;return A/=4294967296,(A+=.5)*(e.random()>.5?1:-1)}},i=0;i<t;i+=4){var a=A(4294967296*(r||e.random()));r=987654071*a(),n.push(4294967296*a()|0)}return new o.init(n,t)}}),a=n.enc={},s=a.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],A=0;A<r;A++){var i=t[A>>>2]>>>24-A%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new o.init(r,t/2)}},u=a.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],A=0;A<r;A++){var i=t[A>>>2]>>>24-A%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new o.init(r,t)}},l=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},c=A.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r=this._data,n=r.words,A=r.sigBytes,i=this.blockSize,a=A/(4*i),s=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*i,u=e.min(4*s,A);if(s){for(var l=0;l<s;l+=i)this._doProcessBlock(n,l);var c=n.splice(0,s);r.sigBytes-=u}return new o.init(c,u)},clone:function(){var e=i.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),f=(A.Hasher=c.extend({cfg:i.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){c.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new f.HMAC.init(e,r).finalize(t)}}}),n.algo={});return n}(Math),n)},function(e,t,r){"use strict";(function(t){var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,A=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){A=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(A)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(36),o=r(198),a=r(98),s=o.getCurveByName("secp256k1"),u=r(178),l=r(268),c=s.G,f=s.n;function d(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EOS";if("string"==typeof e){var n=d.fromString(e,r);return i(null!=n,"Invalid public key"),n}if(t.isBuffer(e))return d.fromBuffer(e);if("object"===(void 0===e?"undefined":A(e))&&e.Q)return d(e.Q);function g(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.compressed;return e.getEncoded(t)}i.equal(void 0===e?"undefined":A(e),"object","Invalid public key"),i.equal(A(e.compressed),"boolean","Invalid public key");return{Q:e,toString:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"EOS")+l.checkEncode(g())},toUncompressed:function(){var t=e.getEncoded(!1),r=o.Point.decodeFrom(s,t);return d.fromPoint(r)},toBuffer:g,child:function(r){console.error("Deprecated warning: PublicKey.child"),i(t.isBuffer(r),"Buffer required: offset"),i.equal(r.length,32,"offset length"),r=t.concat([g(),r]),r=u.sha256(r);var n=a.fromBuffer(r);if(n.compareTo(f)>=0)throw new Error("Child offset went out of bounds, try again");var A=c.multiply(n),o=e.add(A);if(s.isInfinity(o))throw new Error("Child offset derived to an invalid key, try again");return d.fromPoint(o)},toHex:function(){return g().toString("hex")}}}e.exports=d,d.isValid=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EOS";try{return d(e,t),!0}catch(e){return!1}},d.fromBinary=function(e){return d.fromBuffer(new t(e,"binary"))},d.fromBuffer=function(e){return d(o.Point.decodeFrom(s,e))},d.fromPoint=function(e){return d(e)},d.fromString=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EOS";try{return d.fromStringOrThrow(e,t)}catch(e){return null}},d.fromStringOrThrow=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EOS";i.equal(void 0===e?"undefined":A(e),"string","public_key");var r=e.match(/^PUB_([A-Za-z0-9]+)_([A-Za-z0-9]+)$/);if(null===r){var o=new RegExp("^"+t);return o.test(e)&&(e=e.substring(t.length)),d.fromBuffer(l.checkDecode(e))}i(3===r.length,"Expecting public key like: PUB_K1_base58pubkey..");var a=n(r,3),s=a[1],u=a[2];return i.equal(s,"K1","K1 private key expected"),d.fromBuffer(l.checkDecode(u,s))},d.fromHex=function(e){return d.fromBuffer(new t(e,"hex"))},d.fromStringHex=function(e){return d.fromString(new t(e,"hex"))}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=r(151),i=r(36),o=r(62),a=r(178);e.exports={random32ByteBuffer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.cpuEntropyBits,A=void 0===r?0:r,s=e.safe,f=void 0===s||s;i.equal(void 0===A?"undefined":n(A),"number","cpuEntropyBits"),i.equal(void 0===f?"undefined":n(f),"boolean","boolean"),f&&i(u>=128,"Call initialize() to add entropy");var d=[];return d.push(o(32)),d.push(t.from(c(A))),d.push(l),d.push(g()),a.sha256(t.concat(d))},addEntropy:function(){i.equal(l.length,101,"externalEntropyArray");for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];u+=t.length;var n=!0,A=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done);n=!0){var f=a.value,d=s++%101;(l[d]+=f)>9007199254740991&&(l[d]=0)}}catch(e){A=!0,o=e}finally{try{!n&&c.return&&c.return()}finally{if(A)throw o}}},cpuEntropy:c,entropyCount:function(){return u},checkDecode:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;i(null!=e,"private key expected");var n=new t(A.decode(e)),o=n.slice(-4),s=n.slice(0,-4),u=void 0;if("sha256x2"===r)u=a.sha256(a.sha256(s)).slice(0,4);else{var l=[s];r&&l.push(t.from(r)),u=a.ripemd160(t.concat(l)).slice(0,4)}if(o.toString()!==u.toString())throw new Error("Invalid checksum, "+o.toString("hex")+" != "+u.toString("hex"));return s},checkEncode:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(i(t.isBuffer(e),"expecting keyBuffer<Buffer>"),"sha256x2"===r){var n=a.sha256(a.sha256(e)).slice(0,4);return A.encode(t.concat([e,n]))}var o=[e];r&&o.push(t.from(r));var s=a.ripemd160(t.concat(o)).slice(0,4);return A.encode(t.concat([e,s]))}};var s=0,u=0,l=o(101);function c(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:128,t=[],r=null,n=0;t.length<e;){var A=f();if(null!=r){var i=A-r;if(Math.abs(i)<1){n++;continue}var o=Math.floor(d(Math.abs(i))+1);if(o<4){o<2&&n++;continue}t.push(i)}r=A}if(n>10){var a=Number(n/e*100).toFixed(2);console.warn("WARN: "+a+"% low CPU entropy re-sampled")}return t}function f(){for(var e=Date.now(),t=0,r=0;Date.now()<e+7+1;)r=Math.sin(Math.sqrt(Math.log(++t+r)));return t}var d=function(e){return Math.log(e)/Math.LN2};function g(){var e=Array(o(101)).join();try{e+=(new Date).toString()+" "+window.screen.height+" "+window.screen.width+" "+window.screen.colorDepth+"  "+window.screen.availHeight+" "+window.screen.availWidth+" "+window.screen.pixelDepth+navigator.language+" "+window.location+" "+window.history.length;for(var r,n=0;n<navigator.mimeTypes.length;n++)e+=(r=navigator.mimeTypes[n]).description+" "+r.type+" "+r.suffixes+" "}catch(t){e+=a.sha256((new Date).toString())}for(var A=e+=new t(e).toString("binary")+" "+(new Date).toString(),i=Date.now();Date.now()-i<25;)A=a.sha256(A);return A}}).call(this,r(8).Buffer)},function(e,t,r){var n=r(15).Buffer;e.exports={check:function(e){if(e.length<8)return!1;if(e.length>72)return!1;if(48!==e[0])return!1;if(e[1]!==e.length-2)return!1;if(2!==e[2])return!1;var t=e[3];if(0===t)return!1;if(5+t>=e.length)return!1;if(2!==e[4+t])return!1;var r=e[5+t];return 0!==r&&(6+t+r===e.length&&(!(128&e[4])&&(!(t>1&&0===e[4]&&!(128&e[5]))&&(!(128&e[t+6])&&!(r>1&&0===e[t+6]&&!(128&e[t+7]))))))},decode:function(e){if(e.length<8)throw new Error("DER sequence length is too short");if(e.length>72)throw new Error("DER sequence length is too long");if(48!==e[0])throw new Error("Expected DER sequence");if(e[1]!==e.length-2)throw new Error("DER sequence length is invalid");if(2!==e[2])throw new Error("Expected DER integer");var t=e[3];if(0===t)throw new Error("R length is zero");if(5+t>=e.length)throw new Error("R length is too long");if(2!==e[4+t])throw new Error("Expected DER integer (2)");var r=e[5+t];if(0===r)throw new Error("S length is zero");if(6+t+r!==e.length)throw new Error("S length is invalid");if(128&e[4])throw new Error("R value is negative");if(t>1&&0===e[4]&&!(128&e[5]))throw new Error("R value excessively padded");if(128&e[t+6])throw new Error("S value is negative");if(r>1&&0===e[t+6]&&!(128&e[t+7]))throw new Error("S value excessively padded");return{r:e.slice(4,4+t),s:e.slice(6+t)}},encode:function(e,t){var r=e.length,A=t.length;if(0===r)throw new Error("R length is zero");if(0===A)throw new Error("S length is zero");if(r>33)throw new Error("R length is too long");if(A>33)throw new Error("S length is too long");if(128&e[0])throw new Error("R value is negative");if(128&t[0])throw new Error("S value is negative");if(r>1&&0===e[0]&&!(128&e[1]))throw new Error("R value excessively padded");if(A>1&&0===t[0]&&!(128&t[1]))throw new Error("S value excessively padded");var i=n.allocUnsafe(6+r+A);return i[0]=48,i[1]=i.length-2,i[2]=2,i[3]=e.length,e.copy(i,4),i[4+r]=2,i[5+r]=t.length,t.copy(i,6+r),i}}},function(e,t,r){"use strict";function n(e,t){if("number"!=typeof e)throw new Error("cannot write a non-number as a number");if(e<0)throw new Error("specified a negative value for writing an unsigned value");if(e>t)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}Object.defineProperty(t,"__esModule",{value:!0}),t.readUInt64LE=function(e,t){const r=e.readUInt32LE(t);let A=e.readUInt32LE(t+4);return n((A*=4294967296)+r,9007199254740991),A+r},t.writeUInt64LE=function(e,t,r){return n(t,9007199254740991),e.writeInt32LE(-1&t,r),e.writeUInt32LE(Math.floor(t/4294967296),r+4),r+8},t.reverseBuffer=function(e){if(e.length<1)return e;let t=e.length-1,r=0;for(let n=0;n<e.length/2;n++)r=e[n],e[n]=e[t],e[t]=r,t--;return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"function"==typeof e}},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={isLe:!1,isNegative:!1}){if(!e)return new i.default(0);const r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({isLe:!1,isNegative:!1},(0,o.default)(t)?{isLe:t}:t),n=(0,a.default)(e),u=new i.default((r.isLe?function(e){return(e.match(new RegExp(".{1,2}","g"))||[]).reverse().join("")}(n):n)||"00",16);return r.isNegative?u.fromTwos(4*n.length):u};var A=n(r(441)),i=n(r(155)),o=n(r(442)),a=n(r(319));function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=-1,r=!1){const n="0x"===e||(0,A.default)(e)&&i.test(e.toString());if(n&&-1!==t)return e.length===2+Math.ceil(t/4);return n&&(r||e.length%2==0)};var A=n(r(315));const i=/^0x[a-fA-F0-9]+$/},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"u8aConcat",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"u8aFixLength",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"u8aToBn",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"u8aToBuffer",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"u8aToHex",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"u8aToString",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"u8aToU8a",{enumerable:!0,get:function(){return l.default}});var A=n(r(1227)),i=n(r(1228)),o=n(r(1229)),a=n(r(1230)),s=n(r(317)),u=n(r(678)),l=n(r(676))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"function"==typeof e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return void 0===e}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return"";if((0,A.default)(e))return e.substr(2);if(i.test(e))return e;throw new Error("Invalid hex ".concat(e," passed to hexStripPrefix"))};var A=n(r(325));const i=/^[a-fA-F0-9]+$/},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"u8aConcat",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"u8aFixLength",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"u8aToBn",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"u8aToBuffer",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"u8aToHex",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"u8aToString",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"u8aToU8a",{enumerable:!0,get:function(){return l.default}});var A=n(r(1286)),i=n(r(1287)),o=n(r(1288)),a=n(r(1289)),s=n(r(452)),u=n(r(1290)),l=n(r(820))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:256,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const n=Math.ceil(t/8);return(0,o.isReady)()?(0,o.blake2b)((0,i.u8aToU8a)(e),(0,i.u8aToU8a)(r),n):A.default.blake2b(e,r,n)};var A=n(r(461)),i=r(14),o=r(68)},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,A="~";function i(){}function o(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function a(e,t,r,n,i){if("function"!=typeof r)throw new TypeError("The listener must be a function");var a=new o(r,n||e,i),s=A?A+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],a]:e._events[s].push(a):(e._events[s]=a,e._eventsCount++),e}function s(e,t){0==--e._eventsCount?e._events=new i:delete e._events[t]}function u(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(A=!1)),u.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(A?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},u.prototype.listeners=function(e){var t=A?A+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,i=r.length,o=new Array(i);n<i;n++)o[n]=r[n].fn;return o},u.prototype.listenerCount=function(e){var t=A?A+e:e,r=this._events[t];return r?r.fn?1:r.length:0},u.prototype.emit=function(e,t,r,n,i,o){var a=A?A+e:e;if(!this._events[a])return!1;var s,u,l=this._events[a],c=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),c){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,r),!0;case 4:return l.fn.call(l.context,t,r,n),!0;case 5:return l.fn.call(l.context,t,r,n,i),!0;case 6:return l.fn.call(l.context,t,r,n,i,o),!0}for(u=1,s=new Array(c-1);u<c;u++)s[u-1]=arguments[u];l.fn.apply(l.context,s)}else{var f,d=l.length;for(u=0;u<d;u++)switch(l[u].once&&this.removeListener(e,l[u].fn,void 0,!0),c){case 1:l[u].fn.call(l[u].context);break;case 2:l[u].fn.call(l[u].context,t);break;case 3:l[u].fn.call(l[u].context,t,r);break;case 4:l[u].fn.call(l[u].context,t,r,n);break;default:if(!s)for(f=1,s=new Array(c-1);f<c;f++)s[f-1]=arguments[f];l[u].fn.apply(l[u].context,s)}}return!0},u.prototype.on=function(e,t,r){return a(this,e,t,r,!1)},u.prototype.once=function(e,t,r){return a(this,e,t,r,!0)},u.prototype.removeListener=function(e,t,r,n){var i=A?A+e:e;if(!this._events[i])return this;if(!t)return s(this,i),this;var o=this._events[i];if(o.fn)o.fn!==t||n&&!o.once||r&&o.context!==r||s(this,i);else{for(var a=0,u=[],l=o.length;a<l;a++)(o[a].fn!==t||n&&!o[a].once||r&&o[a].context!==r)&&u.push(o[a]);u.length?this._events[i]=1===u.length?u[0]:u:s(this,i)}return this},u.prototype.removeAllListeners=function(e){var t;return e?(t=A?A+e:e,this._events[t]&&s(this,t)):(this._events=new i,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=A,u.EventEmitter=u,e.exports=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n=r.description,A=r.isDeprecated,i=void 0!==A&&A,o=r.isHidden,a=void 0!==o&&o,s=r.isSigned,u=void 0!==s&&s,l=r.params,c=r.pubsub,f=r.type;return{description:n,isDeprecated:i,isHidden:a,isSigned:u,isSubscription:!!c,method:t,params:l,pubsub:c||["","",""],section:e,type:f}}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(874)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(226)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,128))}return(0,a.default)(t,e),t}(n(r(183)).default);t.default=s},function(e,t,r){"use strict";(function(t){var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,A=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){A=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(A)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(36),o=r(198),a=r(98),s=o.getCurveByName("secp256k1"),u=r(202),l=r(286),c=s.G,f=s.n;function d(e){if("string"==typeof e){var r=d.fromString(e);return i(null!=r,"Invalid public key"),r}if(t.isBuffer(e))return d.fromBuffer(e);if("object"===(void 0===e?"undefined":A(e))&&e.Q)return d(e.Q);function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.compressed;return e.getEncoded(t)}i.equal(void 0===e?"undefined":A(e),"object","Invalid public key"),i.equal(A(e.compressed),"boolean","Invalid public key");return{Q:e,toString:function(){return"EOS"+l.checkEncode(n())},toUncompressed:function(){var t=e.getEncoded(!1),r=o.Point.decodeFrom(s,t);return d.fromPoint(r)},toBuffer:n,child:function(r){console.error("Deprecated warning: PublicKey.child"),i(t.isBuffer(r),"Buffer required: offset"),i.equal(r.length,32,"offset length"),r=t.concat([n(),r]),r=u.sha256(r);var A=a.fromBuffer(r);if(A.compareTo(f)>=0)throw new Error("Child offset went out of bounds, try again");var o=c.multiply(A),l=e.add(o);if(s.isInfinity(l))throw new Error("Child offset derived to an invalid key, try again");return d.fromPoint(l)},toHex:function(){return n().toString("hex")}}}e.exports=d,d.isValid=function(e){try{return d(e),!0}catch(e){return!1}},d.fromBinary=function(e){return d.fromBuffer(new t(e,"binary"))},d.fromBuffer=function(e){return d(o.Point.decodeFrom(s,e))},d.fromPoint=function(e){return d(e)},d.fromString=function(e){try{return d.fromStringOrThrow(e)}catch(e){return null}},d.fromStringOrThrow=function(e){i(void 0===e?"undefined":A(e),"string","public_key");var t=e.match(/^PUB_([A-Za-z0-9]+)_([A-Za-z0-9]+)$/);if(null===t)return/^EOS/.test(e)&&(e=e.substring(3)),d.fromBuffer(l.checkDecode(e));i(3===t.length,"Expecting public key like: PUB_K1_base58pubkey..");var r=n(t,3),o=r[1],a=r[2];return i.equal(o,"K1","K1 private key expected"),d.fromBuffer(l.checkDecode(a,o))},d.fromHex=function(e){return d.fromBuffer(new t(e,"hex"))},d.fromStringHex=function(e){return d.fromString(new t(e,"hex"))}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=r(151),i=r(36),o=r(62),a=r(202);e.exports={random32ByteBuffer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.cpuEntropyBits,A=void 0===r?0:r,s=e.safe,f=void 0===s||s;i(void 0===A?"undefined":n(A),"number","cpuEntropyBits"),i(void 0===f?"undefined":n(f),"boolean","boolean"),f&&i(u>=128,"Call initialize() to add entropy");var d=[];return d.push(o(32)),d.push(t.from(c(A))),d.push(l),d.push(g()),a.sha256(t.concat(d))},addEntropy:function(){i.equal(l.length,101,"externalEntropyArray");for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];u+=t.length;var n=!0,A=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done);n=!0){var f=a.value,d=s++%101;(l[d]+=f)>9007199254740991&&(l[d]=0)}}catch(e){A=!0,o=e}finally{try{!n&&c.return&&c.return()}finally{if(A)throw o}}},cpuEntropy:c,entropyCount:function(){return u},checkDecode:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;i(null!=e,"private key expected");var n=new t(A.decode(e)),o=n.slice(-4),s=n.slice(0,-4),u=void 0;if("sha256x2"===r)u=a.sha256(a.sha256(s)).slice(0,4);else{var l=[s];r&&l.push(t.from(r)),u=a.ripemd160(t.concat(l)).slice(0,4)}if(o.toString()!==u.toString())throw new Error("Invalid checksum, "+o.toString("hex")+" != "+u.toString("hex"));return s},checkEncode:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(i(t.isBuffer(e),"expecting keyBuffer<Buffer>"),"sha256x2"===r){var n=a.sha256(a.sha256(e)).slice(0,4);return A.encode(t.concat([e,n]))}var o=[e];r&&o.push(t.from(r));var s=a.ripemd160(t.concat(o)).slice(0,4);return A.encode(t.concat([e,s]))}};var s=0,u=0,l=o(101);function c(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:128,t=[],r=null,n=0;t.length<e;){var A=f();if(null!=r){var i=A-r;if(Math.abs(i)<1){n++;continue}var o=Math.floor(d(Math.abs(i))+1);if(o<4){o<2&&n++;continue}t.push(i)}r=A}if(n>10){var a=Number(n/e*100).toFixed(2);console.warn("WARN: "+a+"% low CPU entropy re-sampled")}return t}function f(){for(var e=Date.now(),t=0,r=0;Date.now()<e+7+1;)r=Math.sin(Math.sqrt(Math.log(++t+r)));return t}var d=function(e){return Math.log(e)/Math.LN2};function g(){var e=Array(o(101)).join();try{e+=(new Date).toString()+" "+window.screen.height+" "+window.screen.width+" "+window.screen.colorDepth+"  "+window.screen.availHeight+" "+window.screen.availWidth+" "+window.screen.pixelDepth+navigator.language+" "+window.location+" "+window.history.length;for(var r,n=0;n<navigator.mimeTypes.length;n++)e+=(r=navigator.mimeTypes[n]).description+" "+r.type+" "+r.suffixes+" "}catch(t){e+=a.sha256((new Date).toString())}for(var A=e+=new t(e).toString("binary")+" "+(new Date).toString(),i=Date.now();Date.now()-i<25;)A=a.sha256(A);return A}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";const n=r(49);e.exports=class{create(e){throw new Error("not implement")}recover(e,t){throw new Error("not implement")}import(e){throw new Error("not implement")}isValidAddress(e){throw new Error("not implement")}isValidPrivate(e){throw new Error("not implement")}getAddress(e){throw new Error("not implement")}exportKeystore(e,t){throw new Error("not implement")}importKeystore(e,t){throw new Error("not implement")}static getCrypto(e){switch(e){case n.chain.iris:return r(1584)();case n.chain.ethermint:return r(1606)();case n.chain.cosmos:return r(1611)();case n.chain.hashgard:return r(1612)();default:throw new Error("not correct chain")}}}},function(e,t,r){"use strict";var n,A=r(494),i=A.Reader,o=A.Writer,a=A.util,s=A.roots.default||(A.roots.default={});s.hashgard=((n={}).Coin=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.denom="",e.prototype.amount="",e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).string(e.denom),t.uint32(18).string(e.amount),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.hashgard.Coin;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.denom=e.string();break;case 2:n.amount=e.string();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("denom"))throw a.ProtocolError("missing required 'denom'",{instance:n});if(!n.hasOwnProperty("amount"))throw a.ProtocolError("missing required 'amount'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":a.isString(e.denom)?a.isString(e.amount)?null:"amount: string expected":"denom: string expected"},e.fromObject=function(e){if(e instanceof s.hashgard.Coin)return e;var t=new s.hashgard.Coin;return null!=e.denom&&(t.denom=String(e.denom)),null!=e.amount&&(t.amount=String(e.amount)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.denom="",r.amount=""),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=e.amount),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.MsgSend=function(){function e(e){if(this.Amount=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.FromAddress=a.newBuffer([]),e.prototype.ToAddress=a.newBuffer([]),e.prototype.Amount=a.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=o.create()),t.uint32(10).bytes(e.FromAddress),t.uint32(18).bytes(e.ToAddress),null!=e.Amount&&e.Amount.length)for(var r=0;r<e.Amount.length;++r)s.hashgard.Coin.encode(e.Amount[r],t.uint32(26).fork()).ldelim();return t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.hashgard.MsgSend;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.FromAddress=e.bytes();break;case 2:n.ToAddress=e.bytes();break;case 3:n.Amount&&n.Amount.length||(n.Amount=[]),n.Amount.push(s.hashgard.Coin.decode(e,e.uint32()));break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("FromAddress"))throw a.ProtocolError("missing required 'FromAddress'",{instance:n});if(!n.hasOwnProperty("ToAddress"))throw a.ProtocolError("missing required 'ToAddress'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(!(e.FromAddress&&"number"==typeof e.FromAddress.length||a.isString(e.FromAddress)))return"FromAddress: buffer expected";if(!(e.ToAddress&&"number"==typeof e.ToAddress.length||a.isString(e.ToAddress)))return"ToAddress: buffer expected";if(null!=e.Amount&&e.hasOwnProperty("Amount")){if(!Array.isArray(e.Amount))return"Amount: array expected";for(var t=0;t<e.Amount.length;++t){var r=s.hashgard.Coin.verify(e.Amount[t]);if(r)return"Amount."+r}}return null},e.fromObject=function(e){if(e instanceof s.hashgard.MsgSend)return e;var t=new s.hashgard.MsgSend;if(null!=e.FromAddress&&("string"==typeof e.FromAddress?a.base64.decode(e.FromAddress,t.FromAddress=a.newBuffer(a.base64.length(e.FromAddress)),0):e.FromAddress.length&&(t.FromAddress=e.FromAddress)),null!=e.ToAddress&&("string"==typeof e.ToAddress?a.base64.decode(e.ToAddress,t.ToAddress=a.newBuffer(a.base64.length(e.ToAddress)),0):e.ToAddress.length&&(t.ToAddress=e.ToAddress)),e.Amount){if(!Array.isArray(e.Amount))throw TypeError(".hashgard.MsgSend.Amount: array expected");t.Amount=[];for(var r=0;r<e.Amount.length;++r){if("object"!=typeof e.Amount[r])throw TypeError(".hashgard.MsgSend.Amount: object expected");t.Amount[r]=s.hashgard.Coin.fromObject(e.Amount[r])}}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.Amount=[]),t.defaults&&(t.bytes===String?r.FromAddress="":(r.FromAddress=[],t.bytes!==Array&&(r.FromAddress=a.newBuffer(r.FromAddress))),t.bytes===String?r.ToAddress="":(r.ToAddress=[],t.bytes!==Array&&(r.ToAddress=a.newBuffer(r.ToAddress)))),null!=e.FromAddress&&e.hasOwnProperty("FromAddress")&&(r.FromAddress=t.bytes===String?a.base64.encode(e.FromAddress,0,e.FromAddress.length):t.bytes===Array?Array.prototype.slice.call(e.FromAddress):e.FromAddress),null!=e.ToAddress&&e.hasOwnProperty("ToAddress")&&(r.ToAddress=t.bytes===String?a.base64.encode(e.ToAddress,0,e.ToAddress.length):t.bytes===Array?Array.prototype.slice.call(e.ToAddress):e.ToAddress),e.Amount&&e.Amount.length){r.Amount=[];for(var n=0;n<e.Amount.length;++n)r.Amount[n]=s.hashgard.Coin.toObject(e.Amount[n],t)}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.MsgDelegate=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.DelegatorAddress=a.newBuffer([]),e.prototype.ValidatorAddress=a.newBuffer([]),e.prototype.Amount=null,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).bytes(e.DelegatorAddress),t.uint32(18).bytes(e.ValidatorAddress),s.hashgard.Coin.encode(e.Amount,t.uint32(26).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.hashgard.MsgDelegate;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.DelegatorAddress=e.bytes();break;case 2:n.ValidatorAddress=e.bytes();break;case 3:n.Amount=s.hashgard.Coin.decode(e,e.uint32());break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("DelegatorAddress"))throw a.ProtocolError("missing required 'DelegatorAddress'",{instance:n});if(!n.hasOwnProperty("ValidatorAddress"))throw a.ProtocolError("missing required 'ValidatorAddress'",{instance:n});if(!n.hasOwnProperty("Amount"))throw a.ProtocolError("missing required 'Amount'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(!(e.DelegatorAddress&&"number"==typeof e.DelegatorAddress.length||a.isString(e.DelegatorAddress)))return"DelegatorAddress: buffer expected";if(!(e.ValidatorAddress&&"number"==typeof e.ValidatorAddress.length||a.isString(e.ValidatorAddress)))return"ValidatorAddress: buffer expected";var t=s.hashgard.Coin.verify(e.Amount);return t?"Amount."+t:null},e.fromObject=function(e){if(e instanceof s.hashgard.MsgDelegate)return e;var t=new s.hashgard.MsgDelegate;if(null!=e.DelegatorAddress&&("string"==typeof e.DelegatorAddress?a.base64.decode(e.DelegatorAddress,t.DelegatorAddress=a.newBuffer(a.base64.length(e.DelegatorAddress)),0):e.DelegatorAddress.length&&(t.DelegatorAddress=e.DelegatorAddress)),null!=e.ValidatorAddress&&("string"==typeof e.ValidatorAddress?a.base64.decode(e.ValidatorAddress,t.ValidatorAddress=a.newBuffer(a.base64.length(e.ValidatorAddress)),0):e.ValidatorAddress.length&&(t.ValidatorAddress=e.ValidatorAddress)),null!=e.Amount){if("object"!=typeof e.Amount)throw TypeError(".hashgard.MsgDelegate.Amount: object expected");t.Amount=s.hashgard.Coin.fromObject(e.Amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.DelegatorAddress="":(r.DelegatorAddress=[],t.bytes!==Array&&(r.DelegatorAddress=a.newBuffer(r.DelegatorAddress))),t.bytes===String?r.ValidatorAddress="":(r.ValidatorAddress=[],t.bytes!==Array&&(r.ValidatorAddress=a.newBuffer(r.ValidatorAddress))),r.Amount=null),null!=e.DelegatorAddress&&e.hasOwnProperty("DelegatorAddress")&&(r.DelegatorAddress=t.bytes===String?a.base64.encode(e.DelegatorAddress,0,e.DelegatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.DelegatorAddress):e.DelegatorAddress),null!=e.ValidatorAddress&&e.hasOwnProperty("ValidatorAddress")&&(r.ValidatorAddress=t.bytes===String?a.base64.encode(e.ValidatorAddress,0,e.ValidatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.ValidatorAddress):e.ValidatorAddress),null!=e.Amount&&e.hasOwnProperty("Amount")&&(r.Amount=s.hashgard.Coin.toObject(e.Amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.MsgUndelegate=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.DelegatorAddress=a.newBuffer([]),e.prototype.ValidatorAddress=a.newBuffer([]),e.prototype.Amount=null,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).bytes(e.DelegatorAddress),t.uint32(18).bytes(e.ValidatorAddress),s.hashgard.Coin.encode(e.Amount,t.uint32(26).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.hashgard.MsgUndelegate;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.DelegatorAddress=e.bytes();break;case 2:n.ValidatorAddress=e.bytes();break;case 3:n.Amount=s.hashgard.Coin.decode(e,e.uint32());break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("DelegatorAddress"))throw a.ProtocolError("missing required 'DelegatorAddress'",{instance:n});if(!n.hasOwnProperty("ValidatorAddress"))throw a.ProtocolError("missing required 'ValidatorAddress'",{instance:n});if(!n.hasOwnProperty("Amount"))throw a.ProtocolError("missing required 'Amount'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(!(e.DelegatorAddress&&"number"==typeof e.DelegatorAddress.length||a.isString(e.DelegatorAddress)))return"DelegatorAddress: buffer expected";if(!(e.ValidatorAddress&&"number"==typeof e.ValidatorAddress.length||a.isString(e.ValidatorAddress)))return"ValidatorAddress: buffer expected";var t=s.hashgard.Coin.verify(e.Amount);return t?"Amount."+t:null},e.fromObject=function(e){if(e instanceof s.hashgard.MsgUndelegate)return e;var t=new s.hashgard.MsgUndelegate;if(null!=e.DelegatorAddress&&("string"==typeof e.DelegatorAddress?a.base64.decode(e.DelegatorAddress,t.DelegatorAddress=a.newBuffer(a.base64.length(e.DelegatorAddress)),0):e.DelegatorAddress.length&&(t.DelegatorAddress=e.DelegatorAddress)),null!=e.ValidatorAddress&&("string"==typeof e.ValidatorAddress?a.base64.decode(e.ValidatorAddress,t.ValidatorAddress=a.newBuffer(a.base64.length(e.ValidatorAddress)),0):e.ValidatorAddress.length&&(t.ValidatorAddress=e.ValidatorAddress)),null!=e.Amount){if("object"!=typeof e.Amount)throw TypeError(".hashgard.MsgUndelegate.Amount: object expected");t.Amount=s.hashgard.Coin.fromObject(e.Amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.DelegatorAddress="":(r.DelegatorAddress=[],t.bytes!==Array&&(r.DelegatorAddress=a.newBuffer(r.DelegatorAddress))),t.bytes===String?r.ValidatorAddress="":(r.ValidatorAddress=[],t.bytes!==Array&&(r.ValidatorAddress=a.newBuffer(r.ValidatorAddress))),r.Amount=null),null!=e.DelegatorAddress&&e.hasOwnProperty("DelegatorAddress")&&(r.DelegatorAddress=t.bytes===String?a.base64.encode(e.DelegatorAddress,0,e.DelegatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.DelegatorAddress):e.DelegatorAddress),null!=e.ValidatorAddress&&e.hasOwnProperty("ValidatorAddress")&&(r.ValidatorAddress=t.bytes===String?a.base64.encode(e.ValidatorAddress,0,e.ValidatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.ValidatorAddress):e.ValidatorAddress),null!=e.Amount&&e.hasOwnProperty("Amount")&&(r.Amount=s.hashgard.Coin.toObject(e.Amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.MsgBeginRedelegate=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.DelegatorAddress=a.newBuffer([]),e.prototype.ValidatorSrcAddress=a.newBuffer([]),e.prototype.ValidatorDstAddress=a.newBuffer([]),e.prototype.Amount=null,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).bytes(e.DelegatorAddress),t.uint32(18).bytes(e.ValidatorSrcAddress),t.uint32(26).bytes(e.ValidatorDstAddress),s.hashgard.Coin.encode(e.Amount,t.uint32(34).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.hashgard.MsgBeginRedelegate;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.DelegatorAddress=e.bytes();break;case 2:n.ValidatorSrcAddress=e.bytes();break;case 3:n.ValidatorDstAddress=e.bytes();break;case 4:n.Amount=s.hashgard.Coin.decode(e,e.uint32());break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("DelegatorAddress"))throw a.ProtocolError("missing required 'DelegatorAddress'",{instance:n});if(!n.hasOwnProperty("ValidatorSrcAddress"))throw a.ProtocolError("missing required 'ValidatorSrcAddress'",{instance:n});if(!n.hasOwnProperty("ValidatorDstAddress"))throw a.ProtocolError("missing required 'ValidatorDstAddress'",{instance:n});if(!n.hasOwnProperty("Amount"))throw a.ProtocolError("missing required 'Amount'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(!(e.DelegatorAddress&&"number"==typeof e.DelegatorAddress.length||a.isString(e.DelegatorAddress)))return"DelegatorAddress: buffer expected";if(!(e.ValidatorSrcAddress&&"number"==typeof e.ValidatorSrcAddress.length||a.isString(e.ValidatorSrcAddress)))return"ValidatorSrcAddress: buffer expected";if(!(e.ValidatorDstAddress&&"number"==typeof e.ValidatorDstAddress.length||a.isString(e.ValidatorDstAddress)))return"ValidatorDstAddress: buffer expected";var t=s.hashgard.Coin.verify(e.Amount);return t?"Amount."+t:null},e.fromObject=function(e){if(e instanceof s.hashgard.MsgBeginRedelegate)return e;var t=new s.hashgard.MsgBeginRedelegate;if(null!=e.DelegatorAddress&&("string"==typeof e.DelegatorAddress?a.base64.decode(e.DelegatorAddress,t.DelegatorAddress=a.newBuffer(a.base64.length(e.DelegatorAddress)),0):e.DelegatorAddress.length&&(t.DelegatorAddress=e.DelegatorAddress)),null!=e.ValidatorSrcAddress&&("string"==typeof e.ValidatorSrcAddress?a.base64.decode(e.ValidatorSrcAddress,t.ValidatorSrcAddress=a.newBuffer(a.base64.length(e.ValidatorSrcAddress)),0):e.ValidatorSrcAddress.length&&(t.ValidatorSrcAddress=e.ValidatorSrcAddress)),null!=e.ValidatorDstAddress&&("string"==typeof e.ValidatorDstAddress?a.base64.decode(e.ValidatorDstAddress,t.ValidatorDstAddress=a.newBuffer(a.base64.length(e.ValidatorDstAddress)),0):e.ValidatorDstAddress.length&&(t.ValidatorDstAddress=e.ValidatorDstAddress)),null!=e.Amount){if("object"!=typeof e.Amount)throw TypeError(".hashgard.MsgBeginRedelegate.Amount: object expected");t.Amount=s.hashgard.Coin.fromObject(e.Amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.DelegatorAddress="":(r.DelegatorAddress=[],t.bytes!==Array&&(r.DelegatorAddress=a.newBuffer(r.DelegatorAddress))),t.bytes===String?r.ValidatorSrcAddress="":(r.ValidatorSrcAddress=[],t.bytes!==Array&&(r.ValidatorSrcAddress=a.newBuffer(r.ValidatorSrcAddress))),t.bytes===String?r.ValidatorDstAddress="":(r.ValidatorDstAddress=[],t.bytes!==Array&&(r.ValidatorDstAddress=a.newBuffer(r.ValidatorDstAddress))),r.Amount=null),null!=e.DelegatorAddress&&e.hasOwnProperty("DelegatorAddress")&&(r.DelegatorAddress=t.bytes===String?a.base64.encode(e.DelegatorAddress,0,e.DelegatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.DelegatorAddress):e.DelegatorAddress),null!=e.ValidatorSrcAddress&&e.hasOwnProperty("ValidatorSrcAddress")&&(r.ValidatorSrcAddress=t.bytes===String?a.base64.encode(e.ValidatorSrcAddress,0,e.ValidatorSrcAddress.length):t.bytes===Array?Array.prototype.slice.call(e.ValidatorSrcAddress):e.ValidatorSrcAddress),null!=e.ValidatorDstAddress&&e.hasOwnProperty("ValidatorDstAddress")&&(r.ValidatorDstAddress=t.bytes===String?a.base64.encode(e.ValidatorDstAddress,0,e.ValidatorDstAddress.length):t.bytes===Array?Array.prototype.slice.call(e.ValidatorDstAddress):e.ValidatorDstAddress),null!=e.Amount&&e.hasOwnProperty("Amount")&&(r.Amount=s.hashgard.Coin.toObject(e.Amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.MsgSetWithdrawAddress=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.DelegatorAddress=a.newBuffer([]),e.prototype.WithdrawAddress=a.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).bytes(e.DelegatorAddress),t.uint32(18).bytes(e.WithdrawAddress),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.hashgard.MsgSetWithdrawAddress;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.DelegatorAddress=e.bytes();break;case 2:n.WithdrawAddress=e.bytes();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("DelegatorAddress"))throw a.ProtocolError("missing required 'DelegatorAddress'",{instance:n});if(!n.hasOwnProperty("WithdrawAddress"))throw a.ProtocolError("missing required 'WithdrawAddress'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":e.DelegatorAddress&&"number"==typeof e.DelegatorAddress.length||a.isString(e.DelegatorAddress)?e.WithdrawAddress&&"number"==typeof e.WithdrawAddress.length||a.isString(e.WithdrawAddress)?null:"WithdrawAddress: buffer expected":"DelegatorAddress: buffer expected"},e.fromObject=function(e){if(e instanceof s.hashgard.MsgSetWithdrawAddress)return e;var t=new s.hashgard.MsgSetWithdrawAddress;return null!=e.DelegatorAddress&&("string"==typeof e.DelegatorAddress?a.base64.decode(e.DelegatorAddress,t.DelegatorAddress=a.newBuffer(a.base64.length(e.DelegatorAddress)),0):e.DelegatorAddress.length&&(t.DelegatorAddress=e.DelegatorAddress)),null!=e.WithdrawAddress&&("string"==typeof e.WithdrawAddress?a.base64.decode(e.WithdrawAddress,t.WithdrawAddress=a.newBuffer(a.base64.length(e.WithdrawAddress)),0):e.WithdrawAddress.length&&(t.WithdrawAddress=e.WithdrawAddress)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.DelegatorAddress="":(r.DelegatorAddress=[],t.bytes!==Array&&(r.DelegatorAddress=a.newBuffer(r.DelegatorAddress))),t.bytes===String?r.WithdrawAddress="":(r.WithdrawAddress=[],t.bytes!==Array&&(r.WithdrawAddress=a.newBuffer(r.WithdrawAddress)))),null!=e.DelegatorAddress&&e.hasOwnProperty("DelegatorAddress")&&(r.DelegatorAddress=t.bytes===String?a.base64.encode(e.DelegatorAddress,0,e.DelegatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.DelegatorAddress):e.DelegatorAddress),null!=e.WithdrawAddress&&e.hasOwnProperty("WithdrawAddress")&&(r.WithdrawAddress=t.bytes===String?a.base64.encode(e.WithdrawAddress,0,e.WithdrawAddress.length):t.bytes===Array?Array.prototype.slice.call(e.WithdrawAddress):e.WithdrawAddress),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.MsgWithdrawDelegatorReward=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.DelegatorAddress=a.newBuffer([]),e.prototype.ValidatorAddress=a.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).bytes(e.DelegatorAddress),t.uint32(18).bytes(e.ValidatorAddress),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.hashgard.MsgWithdrawDelegatorReward;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.DelegatorAddress=e.bytes();break;case 2:n.ValidatorAddress=e.bytes();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("DelegatorAddress"))throw a.ProtocolError("missing required 'DelegatorAddress'",{instance:n});if(!n.hasOwnProperty("ValidatorAddress"))throw a.ProtocolError("missing required 'ValidatorAddress'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":e.DelegatorAddress&&"number"==typeof e.DelegatorAddress.length||a.isString(e.DelegatorAddress)?e.ValidatorAddress&&"number"==typeof e.ValidatorAddress.length||a.isString(e.ValidatorAddress)?null:"ValidatorAddress: buffer expected":"DelegatorAddress: buffer expected"},e.fromObject=function(e){if(e instanceof s.hashgard.MsgWithdrawDelegatorReward)return e;var t=new s.hashgard.MsgWithdrawDelegatorReward;return null!=e.DelegatorAddress&&("string"==typeof e.DelegatorAddress?a.base64.decode(e.DelegatorAddress,t.DelegatorAddress=a.newBuffer(a.base64.length(e.DelegatorAddress)),0):e.DelegatorAddress.length&&(t.DelegatorAddress=e.DelegatorAddress)),null!=e.ValidatorAddress&&("string"==typeof e.ValidatorAddress?a.base64.decode(e.ValidatorAddress,t.ValidatorAddress=a.newBuffer(a.base64.length(e.ValidatorAddress)),0):e.ValidatorAddress.length&&(t.ValidatorAddress=e.ValidatorAddress)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.DelegatorAddress="":(r.DelegatorAddress=[],t.bytes!==Array&&(r.DelegatorAddress=a.newBuffer(r.DelegatorAddress))),t.bytes===String?r.ValidatorAddress="":(r.ValidatorAddress=[],t.bytes!==Array&&(r.ValidatorAddress=a.newBuffer(r.ValidatorAddress)))),null!=e.DelegatorAddress&&e.hasOwnProperty("DelegatorAddress")&&(r.DelegatorAddress=t.bytes===String?a.base64.encode(e.DelegatorAddress,0,e.DelegatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.DelegatorAddress):e.DelegatorAddress),null!=e.ValidatorAddress&&e.hasOwnProperty("ValidatorAddress")&&(r.ValidatorAddress=t.bytes===String?a.base64.encode(e.ValidatorAddress,0,e.ValidatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.ValidatorAddress):e.ValidatorAddress),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.MsgWithdrawValidatorCommission=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.ValidatorAddress=a.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).bytes(e.ValidatorAddress),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.hashgard.MsgWithdrawValidatorCommission;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.ValidatorAddress=e.bytes();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("ValidatorAddress"))throw a.ProtocolError("missing required 'ValidatorAddress'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":e.ValidatorAddress&&"number"==typeof e.ValidatorAddress.length||a.isString(e.ValidatorAddress)?null:"ValidatorAddress: buffer expected"},e.fromObject=function(e){if(e instanceof s.hashgard.MsgWithdrawValidatorCommission)return e;var t=new s.hashgard.MsgWithdrawValidatorCommission;return null!=e.ValidatorAddress&&("string"==typeof e.ValidatorAddress?a.base64.decode(e.ValidatorAddress,t.ValidatorAddress=a.newBuffer(a.base64.length(e.ValidatorAddress)),0):e.ValidatorAddress.length&&(t.ValidatorAddress=e.ValidatorAddress)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.ValidatorAddress="":(r.ValidatorAddress=[],t.bytes!==Array&&(r.ValidatorAddress=a.newBuffer(r.ValidatorAddress)))),null!=e.ValidatorAddress&&e.hasOwnProperty("ValidatorAddress")&&(r.ValidatorAddress=t.bytes===String?a.base64.encode(e.ValidatorAddress,0,e.ValidatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.ValidatorAddress):e.ValidatorAddress),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.StdFee=function(){function e(e){if(this.amount=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.amount=a.emptyArray,e.prototype.gas=a.Long?a.Long.fromBits(0,0,!1):0,e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=o.create()),null!=e.amount&&e.amount.length)for(var r=0;r<e.amount.length;++r)s.hashgard.Coin.encode(e.amount[r],t.uint32(10).fork()).ldelim();return t.uint32(16).int64(e.gas),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.hashgard.StdFee;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.amount&&n.amount.length||(n.amount=[]),n.amount.push(s.hashgard.Coin.decode(e,e.uint32()));break;case 2:n.gas=e.int64();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("gas"))throw a.ProtocolError("missing required 'gas'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.amount&&e.hasOwnProperty("amount")){if(!Array.isArray(e.amount))return"amount: array expected";for(var t=0;t<e.amount.length;++t){var r=s.hashgard.Coin.verify(e.amount[t]);if(r)return"amount."+r}}return a.isInteger(e.gas)||e.gas&&a.isInteger(e.gas.low)&&a.isInteger(e.gas.high)?null:"gas: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.hashgard.StdFee)return e;var t=new s.hashgard.StdFee;if(e.amount){if(!Array.isArray(e.amount))throw TypeError(".hashgard.StdFee.amount: array expected");t.amount=[];for(var r=0;r<e.amount.length;++r){if("object"!=typeof e.amount[r])throw TypeError(".hashgard.StdFee.amount: object expected");t.amount[r]=s.hashgard.Coin.fromObject(e.amount[r])}}return null!=e.gas&&(a.Long?(t.gas=a.Long.fromValue(e.gas)).unsigned=!1:"string"==typeof e.gas?t.gas=parseInt(e.gas,10):"number"==typeof e.gas?t.gas=e.gas:"object"==typeof e.gas&&(t.gas=new a.LongBits(e.gas.low>>>0,e.gas.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.amount=[]),t.defaults)if(a.Long){var n=new a.Long(0,0,!1);r.gas=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.gas=t.longs===String?"0":0;if(e.amount&&e.amount.length){r.amount=[];for(var A=0;A<e.amount.length;++A)r.amount[A]=s.hashgard.Coin.toObject(e.amount[A],t)}return null!=e.gas&&e.hasOwnProperty("gas")&&("number"==typeof e.gas?r.gas=t.longs===String?String(e.gas):e.gas:r.gas=t.longs===String?a.Long.prototype.toString.call(e.gas):t.longs===Number?new a.LongBits(e.gas.low>>>0,e.gas.high>>>0).toNumber():e.gas),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.StdSignature=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.pubKey=a.newBuffer([]),e.prototype.signature=a.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),t.uint32(10).bytes(e.pubKey),t.uint32(18).bytes(e.signature),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.hashgard.StdSignature;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.pubKey=e.bytes();break;case 2:n.signature=e.bytes();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("pubKey"))throw a.ProtocolError("missing required 'pubKey'",{instance:n});if(!n.hasOwnProperty("signature"))throw a.ProtocolError("missing required 'signature'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":e.pubKey&&"number"==typeof e.pubKey.length||a.isString(e.pubKey)?e.signature&&"number"==typeof e.signature.length||a.isString(e.signature)?null:"signature: buffer expected":"pubKey: buffer expected"},e.fromObject=function(e){if(e instanceof s.hashgard.StdSignature)return e;var t=new s.hashgard.StdSignature;return null!=e.pubKey&&("string"==typeof e.pubKey?a.base64.decode(e.pubKey,t.pubKey=a.newBuffer(a.base64.length(e.pubKey)),0):e.pubKey.length&&(t.pubKey=e.pubKey)),null!=e.signature&&("string"==typeof e.signature?a.base64.decode(e.signature,t.signature=a.newBuffer(a.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.pubKey="":(r.pubKey=[],t.bytes!==Array&&(r.pubKey=a.newBuffer(r.pubKey))),t.bytes===String?r.signature="":(r.signature=[],t.bytes!==Array&&(r.signature=a.newBuffer(r.signature)))),null!=e.pubKey&&e.hasOwnProperty("pubKey")&&(r.pubKey=t.bytes===String?a.base64.encode(e.pubKey,0,e.pubKey.length):t.bytes===Array?Array.prototype.slice.call(e.pubKey):e.pubKey),null!=e.signature&&e.hasOwnProperty("signature")&&(r.signature=t.bytes===String?a.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n.StdTx=function(){function e(e){if(this.msg=[],this.signatures=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.msg=a.emptyArray,e.prototype.fee=null,e.prototype.signatures=a.emptyArray,e.prototype.memo="",e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=o.create()),null!=e.msg&&e.msg.length)for(var r=0;r<e.msg.length;++r)t.uint32(10).bytes(e.msg[r]);if(s.hashgard.StdFee.encode(e.fee,t.uint32(18).fork()).ldelim(),null!=e.signatures&&e.signatures.length)for(r=0;r<e.signatures.length;++r)s.hashgard.StdSignature.encode(e.signatures[r],t.uint32(26).fork()).ldelim();return null!=e.memo&&e.hasOwnProperty("memo")&&""!==e.memo&&t.uint32(34).string(e.memo),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new s.hashgard.StdTx;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.msg&&n.msg.length||(n.msg=[]),n.msg.push(e.bytes());break;case 2:n.fee=s.hashgard.StdFee.decode(e,e.uint32());break;case 3:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(s.hashgard.StdSignature.decode(e,e.uint32()));break;case 4:n.memo=e.string();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("fee"))throw a.ProtocolError("missing required 'fee'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.msg&&e.hasOwnProperty("msg")){if(!Array.isArray(e.msg))return"msg: array expected";for(var t=0;t<e.msg.length;++t)if(!(e.msg[t]&&"number"==typeof e.msg[t].length||a.isString(e.msg[t])))return"msg: buffer[] expected"}if(r=s.hashgard.StdFee.verify(e.fee))return"fee."+r;if(null!=e.signatures&&e.hasOwnProperty("signatures")){if(!Array.isArray(e.signatures))return"signatures: array expected";for(t=0;t<e.signatures.length;++t){var r;if(r=s.hashgard.StdSignature.verify(e.signatures[t]))return"signatures."+r}}return null!=e.memo&&e.hasOwnProperty("memo")&&!a.isString(e.memo)?"memo: string expected":null},e.fromObject=function(e){if(e instanceof s.hashgard.StdTx)return e;var t=new s.hashgard.StdTx;if(e.msg){if(!Array.isArray(e.msg))throw TypeError(".hashgard.StdTx.msg: array expected");t.msg=[];for(var r=0;r<e.msg.length;++r)"string"==typeof e.msg[r]?a.base64.decode(e.msg[r],t.msg[r]=a.newBuffer(a.base64.length(e.msg[r])),0):e.msg[r].length&&(t.msg[r]=e.msg[r])}if(null!=e.fee){if("object"!=typeof e.fee)throw TypeError(".hashgard.StdTx.fee: object expected");t.fee=s.hashgard.StdFee.fromObject(e.fee)}if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".hashgard.StdTx.signatures: array expected");for(t.signatures=[],r=0;r<e.signatures.length;++r){if("object"!=typeof e.signatures[r])throw TypeError(".hashgard.StdTx.signatures: object expected");t.signatures[r]=s.hashgard.StdSignature.fromObject(e.signatures[r])}}return null!=e.memo&&(t.memo=String(e.memo)),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.msg=[],r.signatures=[]),t.defaults&&(r.fee=null,r.memo=""),e.msg&&e.msg.length){r.msg=[];for(var n=0;n<e.msg.length;++n)r.msg[n]=t.bytes===String?a.base64.encode(e.msg[n],0,e.msg[n].length):t.bytes===Array?Array.prototype.slice.call(e.msg[n]):e.msg[n]}if(null!=e.fee&&e.hasOwnProperty("fee")&&(r.fee=s.hashgard.StdFee.toObject(e.fee,t)),e.signatures&&e.signatures.length)for(r.signatures=[],n=0;n<e.signatures.length;++n)r.signatures[n]=s.hashgard.StdSignature.toObject(e.signatures[n],t);return null!=e.memo&&e.hasOwnProperty("memo")&&(r.memo=e.memo),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,A.util.toJSONOptions)},e}(),n),e.exports=s},function(e,t,r){"use strict";t.__esModule=!0;var n=o(r(1634)),A=o(r(1651)),i="function"==typeof A.default&&"symbol"==typeof n.default?function(e){return typeof e}:function(e){return e&&"function"==typeof A.default&&e.constructor===A.default&&e!==A.default.prototype?"symbol":typeof e};function o(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof A.default&&"symbol"===i(n.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof A.default&&e.constructor===A.default&&e!==A.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,r){var n=r(291);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports={}},function(e,t,r){var n;/*! bignumber.js v2.0.7 https://github.com/MikeMcl/bignumber.js/LICENCE */!function(A){"use strict";var i,o,a,s=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,u=Math.ceil,l=Math.floor,c=" not a boolean or binary digit",f="rounding mode",d="number type has more than 15 significant digits",g="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_",h=1e14,p=14,I=9007199254740991,B=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],C=1e7,m=1e9;function y(e){var t=0|e;return e>0||e===t?t:t-1}function Q(e){for(var t,r,n=1,A=e.length,i=e[0]+"";n<A;){for(t=e[n++]+"",r=p-t.length;r--;t="0"+t);i+=t}for(A=i.length;48===i.charCodeAt(--A););return i.slice(0,A+1||1)}function w(e,t){var r,n,A=e.c,i=t.c,o=e.s,a=t.s,s=e.e,u=t.e;if(!o||!a)return null;if(r=A&&!A[0],n=i&&!i[0],r||n)return r?n?0:-a:o;if(o!=a)return o;if(r=o<0,n=s==u,!A||!i)return n?0:!A^r?1:-1;if(!n)return s>u^r?1:-1;for(a=(s=A.length)<(u=i.length)?s:u,o=0;o<a;o++)if(A[o]!=i[o])return A[o]>i[o]^r?1:-1;return s==u?0:s>u^r?1:-1}function E(e,t,r){return(e=k(e))>=t&&e<=r}function b(e){return"[object Array]"==Object.prototype.toString.call(e)}function v(e,t,r){for(var n,A,i=[0],o=0,a=e.length;o<a;){for(A=i.length;A--;i[A]*=t);for(i[n=0]+=g.indexOf(e.charAt(o++));n<i.length;n++)i[n]>r-1&&(null==i[n+1]&&(i[n+1]=0),i[n+1]+=i[n]/r|0,i[n]%=r)}return i.reverse()}function D(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function M(e,t){var r,n;if(t<0){for(n="0.";++t;n+="0");e=n+e}else if(++t>(r=e.length)){for(n="0",t-=r;--t;n+="0");e+=n}else t<r&&(e=e.slice(0,t)+"."+e.slice(t));return e}function k(e){return(e=parseFloat(e))<0?u(e):l(e)}i=function e(t){var r,n,A,i,_,S,N,F=0,x=V.prototype,G=new V(1),H=20,U=4,Y=-7,L=21,O=-1e7,K=1e7,P=!0,R=X,T=!1,J=1,j=100,q={decimalSeparator:".",groupSeparator:",",groupSize:3,secondaryGroupSize:0,fractionGroupSeparator:" ",fractionGroupSize:0};function V(e,t){var r,n,A,i,o,u,l=this;if(!(l instanceof V))return P&&ee(26,"constructor call without new",e),new V(e,t);if(null!=t&&R(t,2,64,F,"base")){if(u=e+"",10==(t|=0))return te(l=new V(e instanceof V?e:u),H+l.e+1,U);if((i="number"==typeof e)&&0*e!=0||!new RegExp("^-?"+(r="["+g.slice(0,t)+"]+")+"(?:\\."+r+")?$",t<37?"i":"").test(u))return a(l,u,i,t);i?(l.s=1/e<0?(u=u.slice(1),-1):1,P&&u.replace(/^0\.0*|\./,"").length>15&&ee(F,d,e),i=!1):l.s=45===u.charCodeAt(0)?(u=u.slice(1),-1):1,u=W(u,10,t,l.s)}else{if(e instanceof V)return l.s=e.s,l.e=e.e,l.c=(e=e.c)?e.slice():e,void(F=0);if((i="number"==typeof e)&&0*e==0){if(l.s=1/e<0?(e=-e,-1):1,e===~~e){for(n=0,A=e;A>=10;A/=10,n++);return l.e=n,l.c=[e],void(F=0)}u=e+""}else{if(!s.test(u=e+""))return a(l,u,i);l.s=45===u.charCodeAt(0)?(u=u.slice(1),-1):1}}for((n=u.indexOf("."))>-1&&(u=u.replace(".","")),(A=u.search(/e/i))>0?(n<0&&(n=A),n+=+u.slice(A+1),u=u.substring(0,A)):n<0&&(n=u.length),A=0;48===u.charCodeAt(A);A++);for(o=u.length;48===u.charCodeAt(--o););if(u=u.slice(A,o+1))if(o=u.length,i&&P&&o>15&&ee(F,d,l.s*e),(n=n-A-1)>K)l.c=l.e=null;else if(n<O)l.c=[l.e=0];else{if(l.e=n,l.c=[],A=(n+1)%p,n<0&&(A+=p),A<o){for(A&&l.c.push(+u.slice(0,A)),o-=p;A<o;)l.c.push(+u.slice(A,A+=p));u=u.slice(A),A=p-u.length}else A-=o;for(;A--;u+="0");l.c.push(+u)}else l.c=[l.e=0];F=0}function W(e,t,n,A){var i,o,a,s,u,l,c,f=e.indexOf("."),d=H,h=U;for(n<37&&(e=e.toLowerCase()),f>=0&&(a=j,j=0,e=e.replace(".",""),u=(c=new V(n)).pow(e.length-f),j=a,c.c=v(M(Q(u.c),u.e),10,t),c.e=c.c.length),o=a=(l=v(e,n,t)).length;0==l[--a];l.pop());if(!l[0])return"0";if(f<0?--o:(u.c=l,u.e=o,u.s=A,l=(u=r(u,c,d,h,t)).c,s=u.r,o=u.e),f=l[i=o+d+1],a=t/2,s=s||i<0||null!=l[i+1],s=h<4?(null!=f||s)&&(0==h||h==(u.s<0?3:2)):f>a||f==a&&(4==h||s||6==h&&1&l[i-1]||h==(u.s<0?8:7)),i<1||!l[0])e=s?M("1",-d):"0";else{if(l.length=i,s)for(--t;++l[--i]>t;)l[i]=0,i||(++o,l.unshift(1));for(a=l.length;!l[--a];);for(f=0,e="";f<=a;e+=g.charAt(l[f++]));e=M(e,o)}return e}function z(e,t,r,n){var A,i,o,a,s;if(r=null!=r&&R(r,0,8,n,f)?0|r:U,!e.c)return e.toString();if(A=e.c[0],o=e.e,null==t)s=Q(e.c),s=19==n||24==n&&o<=Y?D(s,o):M(s,o);else if(i=(e=te(new V(e),t,r)).e,a=(s=Q(e.c)).length,19==n||24==n&&(t<=i||i<=Y)){for(;a<t;s+="0",a++);s=D(s,i)}else if(t-=o,s=M(s,i),i+1>a){if(--t>0)for(s+=".";t--;s+="0");}else if((t+=i-a)>0)for(i+1==a&&(s+=".");t--;s+="0");return e.s<0&&A?"-"+s:s}function Z(e,t){var r,n,A=0;for(b(e[0])&&(e=e[0]),r=new V(e[0]);++A<e.length;){if(!(n=new V(e[A])).s){r=n;break}t.call(r,n)&&(r=n)}return r}function X(e,t,r,n,A){return(e<t||e>r||e!=k(e))&&ee(n,(A||"decimal places")+(e<t||e>r?" out of range":" not an integer"),e),!0}function $(e,t,r){for(var n=1,A=t.length;!t[--A];t.pop());for(A=t[0];A>=10;A/=10,n++);return(r=n+r*p-1)>K?e.c=e.e=null:r<O?e.c=[e.e=0]:(e.e=r,e.c=t),e}function ee(e,t,r){var n=new Error(["new BigNumber","cmp","config","div","divToInt","eq","gt","gte","lt","lte","minus","mod","plus","precision","random","round","shift","times","toDigits","toExponential","toFixed","toFormat","toFraction","pow","toPrecision","toString","BigNumber"][e]+"() "+t+": "+r);throw n.name="BigNumber Error",F=0,n}function te(e,t,r,n){var A,i,o,a,s,c,f,d=e.c,g=B;if(d){e:{for(A=1,a=d[0];a>=10;a/=10,A++);if((i=t-A)<0)i+=p,o=t,f=(s=d[c=0])/g[A-o-1]%10|0;else if((c=u((i+1)/p))>=d.length){if(!n)break e;for(;d.length<=c;d.push(0));s=f=0,A=1,o=(i%=p)-p+1}else{for(s=a=d[c],A=1;a>=10;a/=10,A++);f=(o=(i%=p)-p+A)<0?0:s/g[A-o-1]%10|0}if(n=n||t<0||null!=d[c+1]||(o<0?s:s%g[A-o-1]),n=r<4?(f||n)&&(0==r||r==(e.s<0?3:2)):f>5||5==f&&(4==r||n||6==r&&(i>0?o>0?s/g[A-o]:0:d[c-1])%10&1||r==(e.s<0?8:7)),t<1||!d[0])return d.length=0,n?(t-=e.e+1,d[0]=g[t%p],e.e=-t||0):d[0]=e.e=0,e;if(0==i?(d.length=c,a=1,c--):(d.length=c+1,a=g[p-i],d[c]=o>0?l(s/g[A-o]%g[o])*a:0),n)for(;;){if(0==c){for(i=1,o=d[0];o>=10;o/=10,i++);for(o=d[0]+=a,a=1;o>=10;o/=10,a++);i!=a&&(e.e++,d[0]==h&&(d[0]=1));break}if(d[c]+=a,d[c]!=h)break;d[c--]=0,a=1}for(i=d.length;0===d[--i];d.pop());}e.e>K?e.c=e.e=null:e.e<O&&(e.c=[e.e=0])}return e}return V.another=e,V.ROUND_UP=0,V.ROUND_DOWN=1,V.ROUND_CEIL=2,V.ROUND_FLOOR=3,V.ROUND_HALF_UP=4,V.ROUND_HALF_DOWN=5,V.ROUND_HALF_EVEN=6,V.ROUND_HALF_CEIL=7,V.ROUND_HALF_FLOOR=8,V.EUCLID=9,V.config=function(){var e,t,r=0,n={},A=arguments,i=A[0],a=i&&"object"==typeof i?function(){if(i.hasOwnProperty(t))return null!=(e=i[t])}:function(){if(A.length>r)return null!=(e=A[r++])};return a(t="DECIMAL_PLACES")&&R(e,0,m,2,t)&&(H=0|e),n[t]=H,a(t="ROUNDING_MODE")&&R(e,0,8,2,t)&&(U=0|e),n[t]=U,a(t="EXPONENTIAL_AT")&&(b(e)?R(e[0],-m,0,2,t)&&R(e[1],0,m,2,t)&&(Y=0|e[0],L=0|e[1]):R(e,-m,m,2,t)&&(Y=-(L=0|(e<0?-e:e)))),n[t]=[Y,L],a(t="RANGE")&&(b(e)?R(e[0],-m,-1,2,t)&&R(e[1],1,m,2,t)&&(O=0|e[0],K=0|e[1]):R(e,-m,m,2,t)&&(0|e?O=-(K=0|(e<0?-e:e)):P&&ee(2,t+" cannot be zero",e))),n[t]=[O,K],a(t="ERRORS")&&(e===!!e||1===e||0===e?(F=0,R=(P=!!e)?X:E):P&&ee(2,t+c,e)),n[t]=P,a(t="CRYPTO")&&(e===!!e||1===e||0===e?(T=!(!e||!o||"object"!=typeof o),e&&!T&&P&&ee(2,"crypto unavailable",o)):P&&ee(2,t+c,e)),n[t]=T,a(t="MODULO_MODE")&&R(e,0,9,2,t)&&(J=0|e),n[t]=J,a(t="POW_PRECISION")&&R(e,0,m,2,t)&&(j=0|e),n[t]=j,a(t="FORMAT")&&("object"==typeof e?q=e:P&&ee(2,t+" not an object",e)),n[t]=q,n},V.max=function(){return Z(arguments,x.lt)},V.min=function(){return Z(arguments,x.gt)},V.random=(n=9007199254740992*Math.random()&2097151?function(){return l(9007199254740992*Math.random())}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var t,r,A,i,a,s=0,c=[],f=new V(G);if(e=null!=e&&R(e,0,m,14)?0|e:H,i=u(e/p),T)if(o&&o.getRandomValues){for(t=o.getRandomValues(new Uint32Array(i*=2));s<i;)(a=131072*t[s]+(t[s+1]>>>11))>=9e15?(r=o.getRandomValues(new Uint32Array(2)),t[s]=r[0],t[s+1]=r[1]):(c.push(a%1e14),s+=2);s=i/2}else if(o&&o.randomBytes){for(t=o.randomBytes(i*=7);s<i;)(a=281474976710656*(31&t[s])+1099511627776*t[s+1]+4294967296*t[s+2]+16777216*t[s+3]+(t[s+4]<<16)+(t[s+5]<<8)+t[s+6])>=9e15?o.randomBytes(7).copy(t,s):(c.push(a%1e14),s+=7);s=i/7}else P&&ee(14,"crypto unavailable",o);if(!s)for(;s<i;)(a=n())<9e15&&(c[s++]=a%1e14);for(i=c[--s],e%=p,i&&e&&(a=B[p-e],c[s]=l(i/a)*a);0===c[s];c.pop(),s--);if(s<0)c=[A=0];else{for(A=-1;0===c[0];c.shift(),A-=p);for(s=1,a=c[0];a>=10;a/=10,s++);s<p&&(A-=p-s)}return f.e=A,f.c=c,f}),r=function(){function e(e,t,r){var n,A,i,o,a=0,s=e.length,u=t%C,l=t/C|0;for(e=e.slice();s--;)a=((A=u*(i=e[s]%C)+(n=l*i+(o=e[s]/C|0)*u)%C*C+a)/r|0)+(n/C|0)+l*o,e[s]=A%r;return a&&e.unshift(a),e}function t(e,t,r,n){var A,i;if(r!=n)i=r>n?1:-1;else for(A=i=0;A<r;A++)if(e[A]!=t[A]){i=e[A]>t[A]?1:-1;break}return i}function r(e,t,r,n){for(var A=0;r--;)e[r]-=A,A=e[r]<t[r]?1:0,e[r]=A*n+e[r]-t[r];for(;!e[0]&&e.length>1;e.shift());}return function(n,A,i,o,a){var s,u,c,f,d,g,I,B,C,m,Q,w,E,b,v,D,M,k=n.s==A.s?1:-1,_=n.c,S=A.c;if(!(_&&_[0]&&S&&S[0]))return new V(n.s&&A.s&&(_?!S||_[0]!=S[0]:S)?_&&0==_[0]||!S?0*k:k/0:NaN);for(C=(B=new V(k)).c=[],k=i+(u=n.e-A.e)+1,a||(a=h,u=y(n.e/p)-y(A.e/p),k=k/p|0),c=0;S[c]==(_[c]||0);c++);if(S[c]>(_[c]||0)&&u--,k<0)C.push(1),f=!0;else{for(b=_.length,D=S.length,c=0,k+=2,(d=l(a/(S[0]+1)))>1&&(S=e(S,d,a),_=e(_,d,a),D=S.length,b=_.length),E=D,Q=(m=_.slice(0,D)).length;Q<D;m[Q++]=0);(M=S.slice()).unshift(0),v=S[0],S[1]>=a/2&&v++;do{if(d=0,(s=t(S,m,D,Q))<0){if(w=m[0],D!=Q&&(w=w*a+(m[1]||0)),(d=l(w/v))>1)for(d>=a&&(d=a-1),I=(g=e(S,d,a)).length,Q=m.length;1==t(g,m,I,Q);)d--,r(g,D<I?M:S,I,a),I=g.length,s=1;else 0==d&&(s=d=1),I=(g=S.slice()).length;if(I<Q&&g.unshift(0),r(m,g,Q,a),Q=m.length,-1==s)for(;t(S,m,D,Q)<1;)d++,r(m,D<Q?M:S,Q,a),Q=m.length}else 0===s&&(d++,m=[0]);C[c++]=d,m[0]?m[Q++]=_[E]||0:(m=[_[E]],Q=1)}while((E++<b||null!=m[0])&&k--);f=null!=m[0],C[0]||C.shift()}if(a==h){for(c=1,k=C[0];k>=10;k/=10,c++);te(B,i+(B.e=c+u*p-1)+1,o,f)}else B.e=u,B.r=+f;return B}}(),A=/^(-?)0([xbo])/i,i=/^([^.]+)\.$/,_=/^\.([^.]+)$/,S=/^-?(Infinity|NaN)$/,N=/^\s*\+|^\s+|\s+$/g,a=function(e,t,r,n){var o,a=r?t:t.replace(N,"");if(S.test(a))e.s=isNaN(a)?null:a<0?-1:1;else{if(!r&&(a=a.replace(A,function(e,t,r){return o="x"==(r=r.toLowerCase())?16:"b"==r?2:8,n&&n!=o?e:t}),n&&(o=n,a=a.replace(i,"$1").replace(_,"0.$1")),t!=a))return new V(a,o);P&&ee(F,"not a"+(n?" base "+n:"")+" number",t),e.s=null}e.c=e.e=null,F=0},x.absoluteValue=x.abs=function(){var e=new V(this);return e.s<0&&(e.s=1),e},x.ceil=function(){return te(new V(this),this.e+1,2)},x.comparedTo=x.cmp=function(e,t){return F=1,w(this,new V(e,t))},x.decimalPlaces=x.dp=function(){var e,t,r=this.c;if(!r)return null;if(e=((t=r.length-1)-y(this.e/p))*p,t=r[t])for(;t%10==0;t/=10,e--);return e<0&&(e=0),e},x.dividedBy=x.div=function(e,t){return F=3,r(this,new V(e,t),H,U)},x.dividedToIntegerBy=x.divToInt=function(e,t){return F=4,r(this,new V(e,t),0,1)},x.equals=x.eq=function(e,t){return F=5,0===w(this,new V(e,t))},x.floor=function(){return te(new V(this),this.e+1,3)},x.greaterThan=x.gt=function(e,t){return F=6,w(this,new V(e,t))>0},x.greaterThanOrEqualTo=x.gte=function(e,t){return F=7,1===(t=w(this,new V(e,t)))||0===t},x.isFinite=function(){return!!this.c},x.isInteger=x.isInt=function(){return!!this.c&&y(this.e/p)>this.c.length-2},x.isNaN=function(){return!this.s},x.isNegative=x.isNeg=function(){return this.s<0},x.isZero=function(){return!!this.c&&0==this.c[0]},x.lessThan=x.lt=function(e,t){return F=8,w(this,new V(e,t))<0},x.lessThanOrEqualTo=x.lte=function(e,t){return F=9,-1===(t=w(this,new V(e,t)))||0===t},x.minus=x.sub=function(e,t){var r,n,A,i,o=this,a=o.s;if(F=10,t=(e=new V(e,t)).s,!a||!t)return new V(NaN);if(a!=t)return e.s=-t,o.plus(e);var s=o.e/p,u=e.e/p,l=o.c,c=e.c;if(!s||!u){if(!l||!c)return l?(e.s=-t,e):new V(c?o:NaN);if(!l[0]||!c[0])return c[0]?(e.s=-t,e):new V(l[0]?o:3==U?-0:0)}if(s=y(s),u=y(u),l=l.slice(),a=s-u){for((i=a<0)?(a=-a,A=l):(u=s,A=c),A.reverse(),t=a;t--;A.push(0));A.reverse()}else for(n=(i=(a=l.length)<(t=c.length))?a:t,a=t=0;t<n;t++)if(l[t]!=c[t]){i=l[t]<c[t];break}if(i&&(A=l,l=c,c=A,e.s=-e.s),(t=(n=c.length)-(r=l.length))>0)for(;t--;l[r++]=0);for(t=h-1;n>a;){if(l[--n]<c[n]){for(r=n;r&&!l[--r];l[r]=t);--l[r],l[n]+=h}l[n]-=c[n]}for(;0==l[0];l.shift(),--u);return l[0]?$(e,l,u):(e.s=3==U?-1:1,e.c=[e.e=0],e)},x.modulo=x.mod=function(e,t){var n,A,i=this;return F=11,e=new V(e,t),!i.c||!e.s||e.c&&!e.c[0]?new V(NaN):!e.c||i.c&&!i.c[0]?new V(i):(9==J?(A=e.s,e.s=1,n=r(i,e,0,3),e.s=A,n.s*=A):n=r(i,e,0,J),i.minus(n.times(e)))},x.negated=x.neg=function(){var e=new V(this);return e.s=-e.s||null,e},x.plus=x.add=function(e,t){var r,n=this,A=n.s;if(F=12,t=(e=new V(e,t)).s,!A||!t)return new V(NaN);if(A!=t)return e.s=-t,n.minus(e);var i=n.e/p,o=e.e/p,a=n.c,s=e.c;if(!i||!o){if(!a||!s)return new V(A/0);if(!a[0]||!s[0])return s[0]?e:new V(a[0]?n:0*A)}if(i=y(i),o=y(o),a=a.slice(),A=i-o){for(A>0?(o=i,r=s):(A=-A,r=a),r.reverse();A--;r.push(0));r.reverse()}for((A=a.length)-(t=s.length)<0&&(r=s,s=a,a=r,t=A),A=0;t;)A=(a[--t]=a[t]+s[t]+A)/h|0,a[t]%=h;return A&&(a.unshift(A),++o),$(e,a,o)},x.precision=x.sd=function(e){var t,r,n=this,A=n.c;if(null!=e&&e!==!!e&&1!==e&&0!==e&&(P&&ee(13,"argument"+c,e),e!=!!e&&(e=null)),!A)return null;if(t=(r=A.length-1)*p+1,r=A[r]){for(;r%10==0;r/=10,t--);for(r=A[0];r>=10;r/=10,t++);}return e&&n.e+1>t&&(t=n.e+1),t},x.round=function(e,t){var r=new V(this);return(null==e||R(e,0,m,15))&&te(r,~~e+this.e+1,null!=t&&R(t,0,8,15,f)?0|t:U),r},x.shift=function(e){var t=this;return R(e,-I,I,16,"argument")?t.times("1e"+k(e)):new V(t.c&&t.c[0]&&(e<-I||e>I)?t.s*(e<0?0:1/0):t)},x.squareRoot=x.sqrt=function(){var e,t,n,A,i,o=this,a=o.c,s=o.s,u=o.e,l=H+4,c=new V("0.5");if(1!==s||!a||!a[0])return new V(!s||s<0&&(!a||a[0])?NaN:a?o:1/0);if(0==(s=Math.sqrt(+o))||s==1/0?(((t=Q(a)).length+u)%2==0&&(t+="0"),s=Math.sqrt(t),u=y((u+1)/2)-(u<0||u%2),n=new V(t=s==1/0?"1e"+u:(t=s.toExponential()).slice(0,t.indexOf("e")+1)+u)):n=new V(s+""),n.c[0])for((s=(u=n.e)+l)<3&&(s=0);;)if(i=n,n=c.times(i.plus(r(o,i,l,1))),Q(i.c).slice(0,s)===(t=Q(n.c)).slice(0,s)){if(n.e<u&&--s,"9999"!=(t=t.slice(s-3,s+1))&&(A||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(te(n,n.e+H+2,1),e=!n.times(n).eq(o));break}if(!A&&(te(i,i.e+H+2,0),i.times(i).eq(o))){n=i;break}l+=4,s+=4,A=1}return te(n,n.e+H+1,U,e)},x.times=x.mul=function(e,t){var r,n,A,i,o,a,s,u,l,c,f,d,g,I,B,m=this,Q=m.c,w=(F=17,e=new V(e,t)).c;if(!(Q&&w&&Q[0]&&w[0]))return!m.s||!e.s||Q&&!Q[0]&&!w||w&&!w[0]&&!Q?e.c=e.e=e.s=null:(e.s*=m.s,Q&&w?(e.c=[0],e.e=0):e.c=e.e=null),e;for(n=y(m.e/p)+y(e.e/p),e.s*=m.s,(s=Q.length)<(c=w.length)&&(g=Q,Q=w,w=g,A=s,s=c,c=A),A=s+c,g=[];A--;g.push(0));for(I=h,B=C,A=c;--A>=0;){for(r=0,f=w[A]%B,d=w[A]/B|0,i=A+(o=s);i>A;)r=((u=f*(u=Q[--o]%B)+(a=d*u+(l=Q[o]/B|0)*f)%B*B+g[i]+r)/I|0)+(a/B|0)+d*l,g[i--]=u%I;g[i]=r}return r?++n:g.shift(),$(e,g,n)},x.toDigits=function(e,t){var r=new V(this);return e=null!=e&&R(e,1,m,18,"precision")?0|e:null,t=null!=t&&R(t,0,8,18,f)?0|t:U,e?te(r,e,t):r},x.toExponential=function(e,t){return z(this,null!=e&&R(e,0,m,19)?1+~~e:null,t,19)},x.toFixed=function(e,t){return z(this,null!=e&&R(e,0,m,20)?~~e+this.e+1:null,t,20)},x.toFormat=function(e,t){var r=z(this,null!=e&&R(e,0,m,21)?~~e+this.e+1:null,t,21);if(this.c){var n,A=r.split("."),i=+q.groupSize,o=+q.secondaryGroupSize,a=q.groupSeparator,s=A[0],u=A[1],l=this.s<0,c=l?s.slice(1):s,f=c.length;if(o&&(n=i,i=o,o=n,f-=n),i>0&&f>0){for(n=f%i||i,s=c.substr(0,n);n<f;n+=i)s+=a+c.substr(n,i);o>0&&(s+=a+c.slice(n)),l&&(s="-"+s)}r=u?s+q.decimalSeparator+((o=+q.fractionGroupSize)?u.replace(new RegExp("\\d{"+o+"}\\B","g"),"$&"+q.fractionGroupSeparator):u):s}return r},x.toFraction=function(e){var t,n,A,i,o,a,s,u,l,c=P,f=this,d=f.c,g=new V(G),h=n=new V(G),I=s=new V(G);if(null!=e&&(P=!1,a=new V(e),P=c,(c=a.isInt())&&!a.lt(G)||(P&&ee(22,"max denominator "+(c?"out of range":"not an integer"),e),e=!c&&a.c&&te(a,a.e+1,1).gte(G)?a:null)),!d)return f.toString();for(l=Q(d),i=g.e=l.length-f.e-1,g.c[0]=B[(o=i%p)<0?p+o:o],e=!e||a.cmp(g)>0?i>0?g:h:a,o=K,K=1/0,a=new V(l),s.c[0]=0;u=r(a,g,0,1),1!=(A=n.plus(u.times(I))).cmp(e);)n=I,I=A,h=s.plus(u.times(A=h)),s=A,g=a.minus(u.times(A=g)),a=A;return A=r(e.minus(n),I,0,1),s=s.plus(A.times(h)),n=n.plus(A.times(I)),s.s=h.s=f.s,t=r(h,I,i*=2,U).minus(f).abs().cmp(r(s,n,i,U).minus(f).abs())<1?[h.toString(),I.toString()]:[s.toString(),n.toString()],K=o,t},x.toNumber=function(){var e=this;return+e||(e.s?0*e.s:NaN)},x.toPower=x.pow=function(e){var t,r,n=l(e<0?-e:+e),A=this;if(!R(e,-I,I,23,"exponent")&&(!isFinite(e)||n>I&&(e/=0)||parseFloat(e)!=e&&!(e=NaN)))return new V(Math.pow(+A,e));for(t=j?u(j/p+2):0,r=new V(G);;){if(n%2){if(!(r=r.times(A)).c)break;t&&r.c.length>t&&(r.c.length=t)}if(!(n=l(n/2)))break;A=A.times(A),t&&A.c&&A.c.length>t&&(A.c.length=t)}return e<0&&(r=G.div(r)),t?te(r,j,U):r},x.toPrecision=function(e,t){return z(this,null!=e&&R(e,1,m,24,"precision")?0|e:null,t,24)},x.toString=function(e){var t,r=this,n=r.s,A=r.e;return null===A?n?(t="Infinity",n<0&&(t="-"+t)):t="NaN":(t=Q(r.c),t=null!=e&&R(e,2,64,25,"base")?W(M(t,A),0|e,10,n):A<=Y||A>=L?D(t,A):M(t,A),n<0&&r.c[0]&&(t="-"+t)),t},x.truncated=x.trunc=function(){return te(new V(this),this.e+1,1)},x.valueOf=x.toJSON=function(){return this.toString()},null!=t&&V.config(t),V}(),void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)}()},function(e,t,r){var n=r(1682),A=r(946);e.exports=function(e,t){return t&&"hex"===t.encoding&&(e.length>2&&"0x"===e.substr(0,2)&&(e=e.substr(2)),e=n.enc.Hex.parse(e)),A(e,{outputLength:256}).toString()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2).__importStar(r(519));function A(e){return!!e.toHexString}function i(e){return"object"==typeof e&&"function"==typeof e.slice?e:(e.slice=function(){var t=Array.prototype.slice.call(arguments);return i(new Uint8Array(Array.prototype.slice.apply(e,[t[0],t[1]])))},e)}function o(e){if(!e||parseInt(String(e.length))!==e.length||"string"==typeof e)return!1;for(var t=0;t<e.length;t++){var r=e[t];if(r<0||r>=256||parseInt(String(r))!==r)return!1}return!0}function a(e){if(null==e&&n.throwError("cannot convert null value to array",n.INVALID_ARGUMENT,{arg:"value",value:e}),A(e)&&(e=e.toHexString()),"string"==typeof e){var t=e.match(/^(0x)?[0-9a-fA-F]*$/);t||n.throwError("invalid hexidecimal string",n.INVALID_ARGUMENT,{arg:"value",value:e}),null!==t&&"0x"!==t[1]&&n.throwError("hex string must have 0x prefix",n.INVALID_ARGUMENT,{arg:"value",value:e}),(e=e.substring(2)).length%2&&(e="0"+e);for(var r=[],a=0;a<e.length;a+=2)r.push(parseInt(e.substr(a,2),16));return i(new Uint8Array(r))}return o(e)?i(new Uint8Array(e)):(n.throwError("invalid arrayify value",null,{arg:"value",value:e,type:typeof e}),null)}function s(e){if(null===e)throw new Error("concat objects is null");for(var t=[],r=0,n=0;n<e.length;n++){var A=a(e[n]);if(null==A)throw new Error("arrayify failed");t.push(A),r+=A.length}var o=new Uint8Array(r),s=0;for(n=0;n<t.length;n++)o.set(t[n],s),s+=t[n].length;return i(o)}function u(e,t){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/))&&(!t||e.length===2+2*t)}t.isHexable=A,t.isArrayish=o,t.arrayify=a,t.concat=s,t.stripZeros=function(e){var t=a(e);if(null===t)throw new Error("arrayify failed");if(0===t.length)return t;for(var r=0;0===t[r];)r++;return r&&(t=t.slice(r)),t},t.padZeros=function(e,t){var r=a(e);if(null===r)throw new Error("arrayify failed");if(t<r.length)throw new Error("cannot pad");var n=new Uint8Array(t);return n.set(r,t-r.length),i(n)},t.isHexString=u;var l="0123456789abcdef";function c(e){if(A(e))return e.toHexString();if("number"==typeof e){e<0&&n.throwError("cannot hexlify negative value",n.INVALID_ARGUMENT,{arg:"value",value:e}),e>=9007199254740991&&n.throwError("out-of-range",n.NUMERIC_FAULT,{operartion:"hexlify",fault:"out-of-safe-range"});for(var t="";e;)t=l[15&e]+t,e=Math.floor(e/16);return t.length?(t.length%2&&(t="0"+t),"0x"+t):"0x00"}if("string"==typeof e){var r=e.match(/^(0x)?[0-9a-fA-F]*$/);return r||n.throwError("invalid hexidecimal string",n.INVALID_ARGUMENT,{arg:"value",value:e}),null!==r&&"0x"!==r[1]&&n.throwError("hex string must have 0x prefix",n.INVALID_ARGUMENT,{arg:"value",value:e}),e.length%2&&(e="0x0"+e.substring(2)),e}if(o(e)){for(var i=[],a=0;a<e.length;a++){var s=e[a];i.push(l[(240&s)>>4]+l[15&s])}return"0x"+i.join("")}return n.throwError("invalid hexlify value",null,{arg:"value",value:e}),"never"}function f(e,t){for(u(e)||n.throwError("invalid hex string",n.INVALID_ARGUMENT,{arg:"value",value:e});e.length<2*t+2;)e="0x0"+e.substring(2);return e}function d(e){return e&&null!=e.r&&null!=e.s}function g(e){if(void 0!==e){var t=0,r="0x",A="0x";if(d(e)){null==e.v&&null==e.recoveryParam&&n.throwError("at least on of recoveryParam or v must be specified",n.INVALID_ARGUMENT,{argument:"signature",value:e}),r=f(e.r,32),A=f(e.s,32),"string"==typeof(t=e.v||0)&&(t=parseInt(t,16));var i=e.recoveryParam||0;null==i&&null!=e.v&&(i=1-t%2),t=27+i}else{var o=a(e)||new Uint8Array;if(65!==o.length)throw new Error("invalid signature");r=c(o.slice(0,32)),A=c(o.slice(32,64)),27!==(t=o[64])&&28!==t&&(t=27+t%2)}return{r:r,s:A,recoveryParam:t-27,v:t}}throw new Error("signature is not found")}t.hexlify=c,t.hexDataLength=function(e){return u(e)&&e.length%2==0?(e.length-2)/2:null},t.hexDataSlice=function(e,t,r){return u(e)||n.throwError("invalid hex data",n.INVALID_ARGUMENT,{arg:"value",value:e}),e.length%2!=0&&n.throwError("hex data length must be even",n.INVALID_ARGUMENT,{arg:"value",value:e}),t=2+2*t,null!=r?"0x"+e.substring(t,2+2*r):"0x"+e.substring(t)},t.hexStripZeros=function(e){for(u(e)||n.throwError("invalid hex string",n.INVALID_ARGUMENT,{arg:"value",value:e});e.length>3&&"0x0"===e.substring(0,3);)e="0x"+e.substring(3);return e},t.hexZeroPad=f,t.bytesPadLeft=function(e,t){u(e)||n.throwError("invalid hex string",n.INVALID_ARGUMENT,{arg:"value",value:e});var r=e.substring(2);if(r.length>2*t)throw new Error("hex string length = "+r.length+" beyond byteLength="+t);var A=2*t-r.length;return"0x"+"0".repeat(A)+r},t.bytesPadRight=function(e,t){u(e)||n.throwError("invalid hex string",n.INVALID_ARGUMENT,{arg:"value",value:e});var r=e.substring(2);if(r.length>2*t)throw new Error("hex string length = "+r.length+" beyond byteLength="+t);var A=2*t-r.length;return"0x"+r+"0".repeat(A)},t.isSignature=d,t.splitSignature=g,t.joinSignature=function(e){return c(s([(e=g(e)).r,e.s,e.recoveryParam?"0x1c":"0x1b"]))},t.hexToByteArray=function(e){for(var t=new Uint8Array(e.length/2),r=0;r<e.length;r+=2)t[r/2]=parseInt(e.substring(r,r+2),16);return t},t.hexToIntArray=function(e){if(!e||!t.isHex(e))return[];for(var r=[],n=0;n<e.length;n++){var A=e.charCodeAt(n),i=A>>8,o=255&A;i?r.push(i,o):r.push(o)}return r},t.isHex=function(e){var t=e.replace("0x","");return/[0-9a-f]*$/i.test(t)}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(855),i=r(958),o=r(31),a=r(526),s=r(525),u=function(t){function r(e,r){void 0===r&&(r={});var n=t.call(this,e)||this;if(!o.isWs(e))throw new Error(e+" is not websocket");return n.url=e,n.options=r,n.connection=n.createWebsocketProvider(n.url,n.options),n.jsonRpc=new a.JsonRpc,n.subscriptions={},n.registerEventListeners(),n}return n.__extends(r,t),Object.defineProperty(r.prototype,"connected",{get:function(){return this.connection.readyState===this.connection.OPEN},enumerable:!0,configurable:!0}),r.prototype.on=function(e,t){return this.emitter.on(e,t),this},r.prototype.onData=function(e){return this.emitter.on("data",e),this},r.prototype.onError=function(e){"ECONNREFUSED"!==e.code?t.prototype.onError.call(this,e):this.reconnect()},r.prototype.onClose=function(e){1e3===e.code&&!1!==e.wasClean?t.prototype.onClose.call(this):this.reconnect()},r.prototype.createWebsocketProvider=function(t,r){if(void 0===r&&(r={}),"undefined"!=typeof window&&window.WebSocket)return new WebSocket(t,r.protocol);var n=r.headers||{},i=new URL(t);if(!n.authorization&&i.username&&i.password){var o=e.from(i.username+":"+i.password).toString("base64");n.authorization="Basic "+o}return new A.w3cwebsocket(t,r.protocol,void 0,n,void 0,r.clientConfig)},r.prototype.reconnect=function(){var e=this;setTimeout(function(){e.removeAllSocketListeners(),e.connection=e.createWebsocketProvider(e.url,e.options),e.registerEventListeners()},5e3)},r.prototype.isConnecting=function(){return this.connection.readyState===this.connection.CONNECTING},r.prototype.send=function(e){var t=this,r=n.__read(this.getMiddleware(e.method),2),A=r[0],i=r[1],o=s.composeMiddleware.apply(void 0,n.__spread(A)),a=s.composeMiddleware.apply(void 0,n.__spread(i));return new Promise(function(r,n){if(!t.isConnecting()){try{t.connection.send(o(JSON.stringify(e)))}catch(e){throw t.removeEventListener("error"),e}t.emitter.on(""+e.id,function(n){r(a(n)),t.removeEventListener(""+e.id)}),t.emitter.on("error",n)}t.emitter.on("connect",function(){t.send(e).then(r).catch(n)})})},r.prototype.subscribe=function(e){return n.__awaiter(this,void 0,void 0,function(){var t,r;return n.__generator(this,function(n){switch(n.label){case 0:return[4,this.send(e)];case 1:if(t=n.sent(),(r=this.validate(t))instanceof Error)throw r;return this.subscriptions[t.result]={id:t.result,subscribeMethod:e.method,parameters:e.params,payload:e},[2,t.result]}})})},r.prototype.unsubscribe=function(e){return n.__awaiter(this,void 0,void 0,function(){var t,r=this;return n.__generator(this,function(n){return t=e.params[0],this.hasSubscription(t)?[2,this.send(e).then(function(e){return e&&(r.removeEventListener(r.getSubscriptionEvent(t)),delete r.subscriptions[t]),e})]:[2,Promise.reject(new Error("Provider error: Subscription with ID "+t+" does not exist."))]})})},r.prototype.clearSubscriptions=function(e){return n.__awaiter(this,void 0,void 0,function(){var t,r,A=this;return n.__generator(this,function(n){switch(n.label){case 0:return t=[],Object.keys(this.subscriptions).forEach(function(r){A.removeEventListener(r),t.push(A.unsubscribe(A.jsonRpc.toPayload(e,A.subscriptions[r].id)))}),[4,Promise.all(t)];case 1:if((r=n.sent()).includes(!1))throw new Error("Could not unsubscribe all subscriptions: "+JSON.stringify(r));return[2,!0]}})})},r.prototype.registerEventListeners=function(){this.connection.onmessage=this.onMessage.bind(this),this.connection.onopen=this.onReady.bind(this),this.connection.onopen=this.onConnect.bind(this),this.connection.onclose=this.onClose.bind(this),this.connection.onerror=this.onError.bind(this)},r.prototype.onMessage=function(e){if(!e||!e.data)throw new Error("provider error");var t,r=void 0;try{r=o.isObject(e.data)?e.data:JSON.parse(e.data),o.isArray(r)&&(t=r[0].id),t=void 0===r.id?this.getSubscriptionEvent(r.params.subscription)||r.params.subscription:r.id}catch(e){throw e}this.emitter.emit("socket_message",r),this.emitter.emit(""+t,r)},r.prototype.onConnect=function(){return n.__awaiter(this,void 0,void 0,function(){var e,t,r,A,i,o,a,s;return n.__generator(this,function(u){switch(u.label){case 0:if(this.subscriptions||(this.subscriptions={}),!((e=Object.keys(this.subscriptions)).length>0))return[3,8];u.label=1;case 1:u.trys.push([1,6,7,8]),t=n.__values(e),r=t.next(),u.label=2;case 2:return r.done?[3,5]:(A=r.value,[4,this.subscribe(this.subscriptions[A].payload)]);case 3:i=u.sent(),delete this.subscriptions[i],this.subscriptions[A].id=i,u.label=4;case 4:return r=t.next(),[3,2];case 5:return[3,8];case 6:return o=u.sent(),a={error:o},[3,8];case 7:try{r&&!r.done&&(s=t.return)&&s.call(t)}finally{if(a)throw a.error}return[7];case 8:return this.emitter.emit("socket_connect"),this.emitter.emit("connect"),[2]}})})},r.prototype.getSubscriptionEvent=function(e){var t,r=this;return this.subscriptions[e]?e:(Object.keys(this.subscriptions).forEach(function(n){r.subscriptions[n].id===e&&(t=n)}),t)},r.prototype.hasSubscription=function(e){return void 0!==this.getSubscriptionEvent(e)},r.prototype.validate=function(e,t){return o.isObject(e)?e.error?e.error instanceof Error?new Error("Node error: "+e.error.message):new Error("Node error: "+JSON.stringify(e.error)):t&&e.id!==t.id?new Error("Validation error: Invalid JSON-RPC response ID (request: "+t.id+" / response: "+e.id+")"):void 0!==e.result||new Error("Validation error: Undefined JSON-RPC result"):new Error("Validation error: Response should be of type Object")},r}(i.BaseSocket);t.WSProvider=u}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=function(e){function t(t,r,n,A){void 0===A&&(A=0);var i=e.call(this,0!==A?n.getShardProvider(A).url:n.provider.url)||this;return i.subscriptionId=null,i.shardID=A,i.param=t,i.options=r,i.messenger=n,i}return n.__extends(t,e),t.prototype.constructPayload=function(e,t,r){var n,A=[];return A.push(t),r&&A.push(r),n=this.messenger.setRPCPrefix(e,this.messenger.chainPrefix),this.jsonRpc.toPayload(n,A)},t.prototype.start=function(){return n.__awaiter(this,void 0,void 0,function(){var t,r,A,i=this;return n.__generator(this,function(n){switch(n.label){case 0:t=this.constructPayload("hmy_subscribe",this.param,this.options),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,e.prototype.subscribe.call(this,t)];case 2:return r=n.sent(),this.subscriptionId=r,this.on(r,function(e){var t=i.onNewSubscriptionItem(e);i.emitter.emit("data",t)}),this.once("error",function(e){i.removeEventListener(r),i.emitter.emit("error",e),i.removeEventListener("*")}),[3,4];case 3:return A=n.sent(),this.emitter.emit("error",A),this.removeEventListener("*"),[3,4];case 4:return[2,this]}})})},t.prototype.unsubscribe=function(){var t=this.constructPayload("hmy_unsubscribe",this.subscriptionId);return e.prototype.unsubscribe.call(this,t)},t.prototype.onNewSubscriptionItem=function(e){return e},t}(r(296).WSProvider);t.SubscriptionMethod=A},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=n(r(242)),o=r(165),a=n(r(241)),s=n(r(53));function u(e,t,r=0,n){const i=Object.values(t)[r];return(0,A.assert)(!(0,A.isUndefined)(i),"Unable to create Enum via index ".concat(r,", in ").concat(Object.keys(t).join(", "))),{index:r,value:n instanceof i?n:new i(e,n)}}function l(e,t,r,n){const i=Object.keys(t).map(e=>e.toLowerCase()),o=r.toLowerCase(),a=i.indexOf(o);return(0,A.assert)(-1!==a,"Cannot map Enum JSON, unable to find '".concat(r,"' in ").concat(i.join(", "))),u(e,t,a,n)}function c(e,t,r){if((0,A.isU8a)(r))return u(e,t,r[0],r.subarray(1));if((0,A.isNumber)(r))return u(e,t,r);if((0,A.isString)(r))return function(e,t,r){return(0,A.isHex)(r)?c(e,t,(0,A.hexToU8a)(r)):l(e,t,r)}(e,t,r.toString());if((0,A.isObject)(r)){const n=Object.keys(r)[0];return l(e,t,n,r[n])}return u(e,t,0)}class f extends a.default{constructor(e,t,r,n){const a=function(e,t){if(!Array.isArray(t)){const r=(0,o.mapToTypeMap)(e,t);return{def:r,isBasic:!Object.values(r).some(e=>e!==i.default)}}return{def:t.reduce((e,t)=>(e[t]=i.default,e),{}),isBasic:!0}}(e,t),s=function(e,t,r,n){return(0,A.isNumber)(n)?u(e,t,n,r):r instanceof f?u(e,t,r.index,r.value):c(e,t,r)}(e,a.def,r,n);super(e,s.value),this._def=void 0,this._index=void 0,this._indexes=void 0,this._isBasic=void 0,this._def=a.def,this._isBasic=a.isBasic,this._indexes=Object.keys(a.def).map((e,t)=>t),this._index=this._indexes.indexOf(s.index)||0}static with(e){return class extends f{constructor(t,r,n){super(t,e,r,n),Object.keys(this._def).forEach(e=>{const t=(0,A.stringUpperFirst)((0,A.stringCamelCase)(e.replace(" ","_"))),r="as".concat(t),n="is".concat(t);(0,A.isUndefined)(this[n])&&Object.defineProperty(this,n,{enumerable:!0,get:()=>this.type===e}),(0,A.isUndefined)(this[r])&&Object.defineProperty(this,r,{enumerable:!0,get:()=>((0,A.assert)(this[n],"Cannot convert '".concat(this.type,"' via ").concat(r)),this.value)})})}}}get encodedLength(){return 1+this.raw.encodedLength}get index(){return this._index}get isBasic(){return this._isBasic}get isNone(){return this.isNull}get isNull(){return this.raw instanceof i.default}get defEntries(){return Object.keys(this._def)}get defKeys(){return Object.keys(this._def)}get type(){return this.defKeys[this._index]}get value(){return this.raw}eq(e){return(0,A.isNumber)(e)?this.toNumber()===e:this._isBasic&&(0,A.isString)(e)?this.type===e:(0,A.isU8a)(e)?!this.toU8a().some((t,r)=>t!==e[r]):(0,A.isHex)(e)?this.toHex()===e:e instanceof f?this.index===e.index&&this.value.eq(e.value):(0,A.isObject)(e)?this.value.eq(e[this.type]):this.value.eq(e)}toHex(){return(0,A.u8aToHex)(this.toU8a())}toHuman(e){return this._isBasic?this.type:{[this.type]:this.raw.toHuman(e)}}toJSON(){return this._isBasic?this.type:{[this.type]:this.raw.toJSON()}}toNumber(){return this._index}toRawStruct(){return this._isBasic?this.defKeys:s.default.typesToMap(this.registry,this._def)}toRawType(){return JSON.stringify({_enum:this.toRawStruct()})}toString(){return this.isNull?this.type:JSON.stringify(this.toJSON())}toU8a(e){const t=this._indexes[this._index];return(0,A.u8aConcat)(new Uint8Array([t]),this.raw.toU8a(e))}}t.default=f},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=r(165),o=n(r(544));class a extends o.default{constructor(e,t,r){const n=Array.isArray(t)?t.map(t=>(0,i.typeToConstructor)(e,t)):(0,i.mapToTypeMap)(e,t);super(e,...a.decodeTuple(e,n,r)),this._Types=void 0,this._Types=n}static decodeTuple(e,t,r){if((0,A.isU8a)(r))return(0,i.decodeU8a)(e,r,t);if((0,A.isHex)(r))return a.decodeTuple(e,t,(0,A.hexToU8a)(r));return(Array.isArray(t)?t:Object.values(t)).map((t,n)=>{try{return(null==r?void 0:r[n])instanceof t?r[n]:new t(e,null==r?void 0:r[n])}catch(e){throw new Error("Tuple: failed on ".concat(n,":: ").concat(e.message))}})}static with(e){return class extends a{constructor(t,r){super(t,e,r)}}}get encodedLength(){return this.reduce((e,t)=>e+=t.encodedLength,0)}get Types(){return Array.isArray(this._Types)?this._Types.map(e=>new e(this.registry).toRawType()):Object.keys(this._Types)}toRawType(){const e=(Array.isArray(this._Types)?this._Types:Object.values(this._Types)).map(e=>new e(this.registry).toRawType());return"(".concat(e.join(","),")")}toString(){return JSON.stringify(this.toJSON())}toU8a(e){return(0,A.u8aConcat)(...this.map(t=>t.toU8a(e)))}}t.default=a},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=n(r(90));class o extends i.default{constructor(e,t=new Uint8Array,r=256){super(e,o.decodeU8aFixed(t,r))}static decodeU8aFixed(e,t){if(Array.isArray(e)||(0,A.isString)(e))return o.decodeU8aFixed((0,A.u8aToU8a)(e),t);const r=t/8,n=e.subarray(0,r);if(n.length===r)return n;const i=new Uint8Array(r);return i.set(n,0),i}static with(e,t){return class extends o{constructor(t,r){super(t,r,e)}toRawType(){return t||super.toRawType()}}}toRawType(){return"[u8;".concat(this.length,"]")}}t.default=o},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(188));t.default=class extends(A.default.with(32)){}},function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=function(){function e(t,r){void 0===r&&(r=e.now),this.SchedulerAction=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(r,t)},e.now=function(){return Date.now()},e}()},function(e,t,r){"use strict";r.d(t,"a",function(){return A});var n=r(44);class A{constructor(e="",t={},r="",n="",A=""){this.type=e,this.payload=t,this.resolver=r,this.domain=n,this.origin=A}static placeholder(){return new A}static fromJson(e){return Object.assign(this.placeholder(),e)}static payload(e,t){let r=this.placeholder();return r.type=e,r.payload=t,r}static signal(e){let t=this.placeholder();return t.type=e,t}respond(e){return new A(this.type,e,this.resolver)}error(e){return new A(n.b,e,this.resolver)}}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r(1543);var A=r(486),i=r(487),o=r(913),a=r(36),s=r(488),u=r(1568),l=r(1569),c=r(916),f=r(489),d=r(1570),g=A.privateToPublic;A.privateToPublic=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=g(e);return r.replace(/^EOS/,t?"CDX":"")};var h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={log:(e=Object.assign({},{httpEndpoint:"http://127.0.0.1:8888",debug:!1,verbose:!1,broadcast:!0,sign:!0},e)).verbose?console.log:null,error:console.error};return e.logger=Object.assign({},t,e.logger),I(e)},p=h;function I(e){var t=null!=e.httpEndpoint?o(e):null;if(e.network=t,e.abiCache=u(t,e),e.chainId||(e.chainId="d9d3aec0169bb7b5c8d6573acea62a519491e37bc1ec0fc66819f70c101d51a3"),null!=e.mockTransactions){if("string"==typeof e.mockTransactions){var r=e.mockTransactions;e.mockTransactions=function(){return r}}a.equal(n(e.mockTransactions),"function","config.mockTransactions")}var A=s(e),i=A.structs,c=A.types,d=A.fromBuffer,g=A.toBuffer,h=function(e,t,r){var n=e.network,A=Object.assign({},n),i=l(t,n,r,e,f);return function(e,t,r){for(var n in e)if(t[n])throw new TypeError(r+": "+n)}(A,i,"Conflicting methods in EosApi and Transaction Api"),Object.assign(A,i),A}(e,o,i);return Object.assign(h,{fc:{structs:i,types:c,fromBuffer:d,toBuffer:g}}),e.signProvider||(e.signProvider=B(h,e)),h}e.exports=p,Object.assign(h,{version:d.version,modules:{format:c,api:o,ecc:A,json:{api:o.api,schema:f},Fcbuffer:i},Testnet:function(e){return console.error("deprecated, change Eos.Testnet(..) to just Eos(..)"),h(e)},Localnet:function(e){return console.error("deprecated, change Eos.Localnet(..) to just Eos(..)"),h(e)}});var B=function(e,t){return r=regeneratorRuntime.mark(function r(n){var i,o,s,u,l,c,f,d,g,h,p,I,B,C,m,y,Q,w,E,b=n.sign,v=n.buf,D=n.transaction;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(i=t.keyProvider){r.next=3;break}throw new TypeError("This transaction requires a config.keyProvider for signing");case 3:return o=i,"function"==typeof i&&(o=i({transaction:D})),r.next=7,Promise.resolve(o);case 7:if(o=r.sent,Array.isArray(o)||(o=[o]),(o=o.map(function(e){try{return{private:A.PrivateKey(e).toString()}}catch(t){return{public:A.PublicKey(e).toString()}}a(!1,"expecting public or private keys from keyProvider")})).length){r.next=12;break}throw new Error("missing key, check your keyProvider");case 12:if(1!==o.length||!o[0].private){r.next=15;break}return s=o[0].private,r.abrupt("return",b(v,s));case 15:if(null!=t.httpEndpoint){r.next=37;break}for(u=[],l=!0,c=!1,f=void 0,r.prev=20,d=o[Symbol.iterator]();!(l=(g=d.next()).done);l=!0)h=g.value,u.push(b(v,h.private));r.next=28;break;case 24:r.prev=24,r.t0=r.catch(20),c=!0,f=r.t0;case 28:r.prev=28,r.prev=29,!l&&d.return&&d.return();case 31:if(r.prev=31,!c){r.next=34;break}throw f;case 34:return r.finish(31);case 35:return r.finish(28);case 36:return r.abrupt("return",u);case 37:for(p=new Map,I=!0,B=!1,C=void 0,r.prev=41,m=o[Symbol.iterator]();!(I=(y=m.next()).done);I=!0)Q=y.value,w=null!=Q.private,null!=Q.public,w?p.set(A.privateToPublic(Q.private,!1),Q.private):p.set(Q.public.replace("EOS","").replace("CDX",""),null);r.next=49;break;case 45:r.prev=45,r.t1=r.catch(41),B=!0,C=r.t1;case 49:r.prev=49,r.prev=50,!I&&m.return&&m.return();case 52:if(r.prev=52,!B){r.next=55;break}throw C;case 55:return r.finish(52);case 56:return r.finish(49);case 57:return E=Array.from(p.keys()),r.abrupt("return",e.getRequiredKeys(D,E).then(function(e){var t=e.required_keys;if(!t.length)throw new Error("missing required keys for "+JSON.stringify(D));var r=[],n=[],o=!0,s=!1,u=void 0;try{for(var l,c=t[Symbol.iterator]();!(o=(l=c.next()).done);o=!0){var f=l.value;f=A.PublicKey(f).toString();var d=p.get(f);d?r.push(d):n.push(f)}}catch(e){s=!0,u=e}finally{try{!o&&c.return&&c.return()}finally{if(s)throw u}}0!==n.length&&(a("function"==typeof i,"keyProvider function is needed for private key lookup"),i({pubkeys:n}).forEach(function(e){r.push(e)}));var g=[],h=!0,I=!1,B=void 0;try{for(var C,m=r[Symbol.iterator]();!(h=(C=m.next()).done);h=!0){var y=C.value;g.push(b(v,y))}}catch(e){I=!0,B=e}finally{try{!h&&m.return&&m.return()}finally{if(I)throw B}}return g}));case 59:case"end":return r.stop()}},r,this,[[20,24,28,36],[29,,31,35],[41,45,49,57],[50,,52,56]])}),n=function(){var e=r.apply(this,arguments);return new Promise(function(t,r){return function n(A,i){try{var o=e[A](i),a=o.value}catch(e){return void r(e)}if(!o.done)return Promise.resolve(a).then(function(e){n("next",e)},function(e){n("throw",e)});t(a)}("next")})},function(e){return n.apply(this,arguments)};var r,n}},,,,function(e,t,r){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,A=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(A.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new i(A.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r(563),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(34))},function(e,t,r){var n=r(1680);"undefined"!=typeof window&&void 0===window.Web3&&(window.Web3=n),e.exports=n},function(e,t,r){(function(t){var n=r(197);function A(e,t){if(void 0!==t&&e[0]!==t)throw new Error("Invalid network version");if(33===e.length)return{version:e[0],privateKey:e.slice(1,33),compressed:!1};if(34!==e.length)throw new Error("Invalid WIF length");if(1!==e[33])throw new Error("Invalid compression flag");return{version:e[0],privateKey:e.slice(1,33),compressed:!0}}function i(e,r,n){var A=new t(n?34:33);return A.writeUInt8(e,0),r.copy(A,1),n&&(A[33]=1),A}e.exports={decode:function(e,t){return A(n.decode(e),t)},decodeRaw:A,encode:function(e,t,r){return"number"==typeof e?n.encode(i(e,t,r)):n.encode(i(e.version,e.privateKey,e.compressed))},encodeRaw:i}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,A=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){A=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(A)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=r(198),o=i.Point,a=i.getCurveByName("secp256k1"),s=r(98),u=r(36),l=r(178),c=r(267),f=r(268),d=r(45),g=r(1123);a.G,a.n;function h(e){if("string"==typeof e)return h.fromString(e);if(t.isBuffer(e))return h.fromBuffer(e);if("object"===(void 0===e?"undefined":A(e))&&s.isBigInteger(e.d))return h(e.d);if(!s.isBigInteger(e))throw new TypeError("Invalid private key");function r(){var e=i();return e=t.concat([new t([128]),e]),f.checkEncode(e,"sha256x2")}var n=void 0;function i(){return e.toBuffer(32)}return{d:e,toWif:r,toString:function(){return r()},toPublic:function(){if(n)return n;var t=a.G.multiply(e);return n=c.fromPoint(t)},toBuffer:i,getSharedSecret:function(e){var t=(e=c(e)).toUncompressed().toBuffer(),r=o.fromAffine(a,s.fromBuffer(t.slice(1,33)),s.fromBuffer(t.slice(33,65))),n=i(),A=r.multiply(s.fromBuffer(n)).affineX.toBuffer({size:32});return l.sha512(A)},getChildKey:function(e){return h(d("sha256").update(i()).update(e).digest())}}}function p(e){u.equal(void 0===e?"undefined":A(e),"string","privateStr");var t=e.match(/^PVT_([A-Za-z0-9]+)_([A-Za-z0-9]+)$/);if(null===t){var r=f.checkDecode(e,"sha256x2"),i=r.readUInt8(0);u.equal(128,i,"Expected version 128, instead got "+i);return{privateKey:h.fromBuffer(r.slice(1)),format:"WIF",keyType:"K1"}}u(3===t.length,"Expecting private key like: PVT_K1_base58privateKey..");var o=n(t,3),a=o[1],s=o[2];return u.equal(a,"K1","K1 private key expected"),{privateKey:h.fromBuffer(f.checkDecode(s,a)),format:"PVT",keyType:a}}e.exports=h,h.fromHex=function(e){return h.fromBuffer(new t(e,"hex"))},h.fromBuffer=function(e){if(!t.isBuffer(e))throw new Error("Expecting parameter to be a Buffer type");if(33===e.length&&1===e[32]&&(e=e.slice(0,-1)),32!==e.length)throw new Error("Expecting 32 bytes, instead got "+e.length);return h(s.fromBuffer(e))},h.fromSeed=function(e){if("string"!=typeof e)throw new Error("seed must be of type string");return h.fromBuffer(l.sha256(e))},h.isWif=function(e){try{return u("WIF"===p(e).format),!0}catch(e){return!1}},h.isValid=function(e){try{return h(e),!0}catch(e){return!1}},h.fromWif=function(e){return console.log("PrivateKey.fromWif is deprecated, please use PrivateKey.fromString"),h.fromString(e)},h.fromString=function(e){return p(e).privateKey},h.randomKey=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return h.initialize().then(function(){return h.fromBuffer(f.random32ByteBuffer({cpuEntropyBits:e}))})},h.unsafeRandomKey=function(){return Promise.resolve(h.fromBuffer(f.random32ByteBuffer({safe:!1})))};var I=!1;h.initialize=g(function(){I||(!function(){var e=h(l.sha256("")),t="key comparison test failed on a known private key";u.equal(e.toWif(),"5KYZdUEo39z3FPrtuX2QbbwGnNP5zTd7yyr2SC1j299sBCnWjss",t),u.equal(e.toString(),"5KYZdUEo39z3FPrtuX2QbbwGnNP5zTd7yyr2SC1j299sBCnWjss",t);var r=e.toPublic();u.equal(r.toString(),"EOS859gxfnXyUriMgUeThh1fWv3oqcpLFyHa3TfFYC4PK2HqhToVM","pubkey string comparison test failed on a known public key"),B(function(){return h.fromString(e.toWif())},"converting known wif from string"),B(function(){return h.fromString(e.toString())},"converting known pvt from string"),B(function(){return c.fromString(r.toString())},"converting known public key from string"),!0}(),f.addEntropy.apply(f,function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(f.cpuEntropy())),u(f.entropyCount()>=128,"insufficient entropy"),I=!0)});var B=function(e,t){try{e()}catch(e){throw e.message=t+" ==> "+e.message,e}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1152);t.embed=n.p2data;const A=r(1157);t.p2ms=A.p2ms;const i=r(1158);t.p2pk=i.p2pk;const o=r(1159);t.p2pkh=o.p2pkh;const a=r(1160);t.p2sh=a.p2sh;const s=r(1161);t.p2wpkh=s.p2wpkh;const u=r(1162);t.p2wsh=u.p2wsh},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(270),A=r(270),i=r(154),o=r(33),a=r(33),s=r(153),u=r(63),l=r(663);function c(e){const t=e.length;return l.encodingLength(t)+t}const f=e.allocUnsafe(0),d=[],g=e.from("0000000000000000000000000000000000000000000000000000000000000000","hex"),h=e.from("0000000000000000000000000000000000000000000000000000000000000001","hex"),p=e.from("ffffffffffffffff","hex"),I={script:f,valueBuffer:p};class B{constructor(){this.version=1,this.locktime=0,this.ins=[],this.outs=[]}static fromBuffer(e,t){let r=0;function A(t){return r+=t,e.slice(r-t,r)}function i(){const t=e.readUInt32LE(r);return r+=4,t}function o(){const t=n.readUInt64LE(e,r);return r+=8,t}function a(){const t=l.decode(e,r);return r+=l.decode.bytes,t}function s(){return A(a())}function u(){const e=a(),t=[];for(let r=0;r<e;r++)t.push(s());return t}const c=new B;c.version=function(){const t=e.readInt32LE(r);return r+=4,t}();const f=e.readUInt8(r),g=e.readUInt8(r+1);let h=!1;f===B.ADVANCED_TRANSACTION_MARKER&&g===B.ADVANCED_TRANSACTION_FLAG&&(r+=2,h=!0);const p=a();for(let e=0;e<p;++e)c.ins.push({hash:A(32),index:i(),script:s(),sequence:i(),witness:d});const I=a();for(let e=0;e<I;++e)c.outs.push({value:o(),script:s()});if(h){for(let e=0;e<p;++e)c.ins[e].witness=u();if(!c.hasWitnesses())throw new Error("Transaction has superfluous witness data")}if(c.locktime=i(),t)return c;if(r!==e.length)throw new Error("Transaction has unexpected data");return c}static fromHex(t){return B.fromBuffer(e.from(t,"hex"),!1)}static isCoinbaseHash(e){u(s.Hash256bit,e);for(let t=0;t<32;++t)if(0!==e[t])return!1;return!0}isCoinbase(){return 1===this.ins.length&&B.isCoinbaseHash(this.ins[0].hash)}addInput(e,t,r,n){return u(s.tuple(s.Hash256bit,s.UInt32,s.maybe(s.UInt32),s.maybe(s.Buffer)),arguments),s.Null(r)&&(r=B.DEFAULT_SEQUENCE),this.ins.push({hash:e,index:t,script:n||f,sequence:r,witness:d})-1}addOutput(e,t){return u(s.tuple(s.Buffer,s.Satoshi),arguments),this.outs.push({script:e,value:t})-1}hasWitnesses(){return this.ins.some(e=>0!==e.witness.length)}weight(){return 3*this.__byteLength(!1)+this.__byteLength(!0)}virtualSize(){return Math.ceil(this.weight()/4)}byteLength(){return this.__byteLength(!0)}clone(){const e=new B;return e.version=this.version,e.locktime=this.locktime,e.ins=this.ins.map(e=>({hash:e.hash,index:e.index,script:e.script,sequence:e.sequence,witness:e.witness})),e.outs=this.outs.map(e=>({script:e.script,value:e.value})),e}hashForSignature(t,r,n){if(u(s.tuple(s.UInt32,s.Buffer,s.Number),arguments),t>=this.ins.length)return h;const A=o.compile(o.decompile(r).filter(e=>e!==a.OPS.OP_CODESEPARATOR)),l=this.clone();if((31&n)===B.SIGHASH_NONE)l.outs=[],l.ins.forEach((e,r)=>{r!==t&&(e.sequence=0)});else if((31&n)===B.SIGHASH_SINGLE){if(t>=this.outs.length)return h;l.outs.length=t+1;for(let e=0;e<t;e++)l.outs[e]=I;l.ins.forEach((e,r)=>{r!==t&&(e.sequence=0)})}n&B.SIGHASH_ANYONECANPAY?(l.ins=[l.ins[t]],l.ins[0].script=A):(l.ins.forEach(e=>{e.script=f}),l.ins[t].script=A);const c=e.allocUnsafe(l.__byteLength(!1)+4);return c.writeInt32LE(n,c.length-4),l.__toBuffer(c,0,!1),i.hash256(c)}hashForWitnessV0(t,r,A,o){u(s.tuple(s.UInt32,s.Buffer,s.Satoshi,s.UInt32),arguments);let a=e.from([]),f=0;function d(e){f+=e.copy(a,f)}function h(e){f=a.writeUInt32LE(e,f)}function p(e){f=n.writeUInt64LE(a,e,f)}function I(e){var t;t=e.length,l.encode(t,a,f),f+=l.encode.bytes,d(e)}let C=g,m=g,y=g;if(o&B.SIGHASH_ANYONECANPAY||(a=e.allocUnsafe(36*this.ins.length),f=0,this.ins.forEach(e=>{d(e.hash),h(e.index)}),m=i.hash256(a)),o&B.SIGHASH_ANYONECANPAY||(31&o)===B.SIGHASH_SINGLE||(31&o)===B.SIGHASH_NONE||(a=e.allocUnsafe(4*this.ins.length),f=0,this.ins.forEach(e=>{h(e.sequence)}),y=i.hash256(a)),(31&o)!==B.SIGHASH_SINGLE&&(31&o)!==B.SIGHASH_NONE){const t=this.outs.reduce((e,t)=>e+8+c(t.script),0);a=e.allocUnsafe(t),f=0,this.outs.forEach(e=>{p(e.value),I(e.script)}),C=i.hash256(a)}else if((31&o)===B.SIGHASH_SINGLE&&t<this.outs.length){const r=this.outs[t];a=e.allocUnsafe(8+c(r.script)),f=0,p(r.value),I(r.script),C=i.hash256(a)}a=e.allocUnsafe(156+c(r)),f=0;const Q=this.ins[t];return h(this.version),d(m),d(y),d(Q.hash),h(Q.index),I(r),p(A),h(Q.sequence),d(C),h(this.locktime),h(o),i.hash256(a)}getHash(t){return t&&this.isCoinbase()?e.alloc(32,0):i.hash256(this.__toBuffer(void 0,void 0,t))}getId(){return A.reverseBuffer(this.getHash(!1)).toString("hex")}toBuffer(e,t){return this.__toBuffer(e,t,!0)}toHex(){return this.toBuffer(void 0,void 0).toString("hex")}setInputScript(e,t){u(s.tuple(s.Number,s.Buffer),arguments),this.ins[e].script=t}setWitness(e,t){u(s.tuple(s.Number,[s.Buffer]),arguments),this.ins[e].witness=t}__byteLength(e){const t=e&&this.hasWitnesses();return(t?10:8)+l.encodingLength(this.ins.length)+l.encodingLength(this.outs.length)+this.ins.reduce((e,t)=>e+40+c(t.script),0)+this.outs.reduce((e,t)=>e+8+c(t.script),0)+(t?this.ins.reduce((e,t)=>e+function(e){const t=e.length;return l.encodingLength(t)+e.reduce((e,t)=>e+c(t),0)}(t.witness),0):0)}__toBuffer(t,r,A){t||(t=e.allocUnsafe(this.__byteLength(A)));let i=r||0;function o(e){i+=e.copy(t,i)}function a(e){i=t.writeUInt8(e,i)}function s(e){i=t.writeUInt32LE(e,i)}function u(e){l.encode(e,t,i),i+=l.encode.bytes}function c(e){u(e.length),o(e)}var f;f=this.version,i=t.writeInt32LE(f,i);const d=A&&this.hasWitnesses();return d&&(a(B.ADVANCED_TRANSACTION_MARKER),a(B.ADVANCED_TRANSACTION_FLAG)),u(this.ins.length),this.ins.forEach(e=>{o(e.hash),s(e.index),c(e.script),s(e.sequence)}),u(this.outs.length),this.outs.forEach(e=>{!function(e){return void 0!==e.value}(e)?o(e.valueBuffer):function(e){i=n.writeUInt64LE(t,e,i)}(e.value),c(e.script)}),d&&this.ins.forEach(e=>{!function(e){u(e.length),e.forEach(c)}(e.witness)}),s(this.locktime),void 0!==r?t.slice(r,i):t}}B.DEFAULT_SEQUENCE=4294967295,B.SIGHASH_ALL=1,B.SIGHASH_NONE=2,B.SIGHASH_SINGLE=3,B.SIGHASH_ANYONECANPAY=128,B.ADVANCED_TRANSACTION_MARKER=0,B.ADVANCED_TRANSACTION_FLAG=1,t.Transaction=B}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const r=9007199254740991;function n(e){if(e<0||e>r||e%1!=0)throw new RangeError("value out of range")}function A(e){return n(e),e<253?1:e<=65535?3:e<=4294967295?5:9}t.encode=function t(r,i,o){if(n(r),i||(i=e.allocUnsafe(A(r))),!e.isBuffer(i))throw new TypeError("buffer must be a Buffer instance");return o||(o=0),r<253?(i.writeUInt8(r,o),Object.assign(t,{bytes:1})):r<=65535?(i.writeUInt8(253,o),i.writeUInt16LE(r,o+1),Object.assign(t,{bytes:3})):r<=4294967295?(i.writeUInt8(254,o),i.writeUInt32LE(r,o+1),Object.assign(t,{bytes:5})):(i.writeUInt8(255,o),i.writeUInt32LE(r>>>0,o+1),i.writeUInt32LE(r/4294967296|0,o+5),Object.assign(t,{bytes:9})),i},t.decode=function t(r,A){if(!e.isBuffer(r))throw new TypeError("buffer must be a Buffer instance");A||(A=0);const i=r.readUInt8(A);if(i<253)return Object.assign(t,{bytes:1}),i;if(253===i)return Object.assign(t,{bytes:3}),r.readUInt16LE(A+1);if(254===i)return Object.assign(t,{bytes:5}),r.readUInt32LE(A+1);{Object.assign(t,{bytes:9});const e=r.readUInt32LE(A+1),i=4294967296*r.readUInt32LE(A+5)+e;return n(i),i}},t.encodingLength=A}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e||e instanceof String}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e instanceof t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r=-1,A=!0){const i=A?"0x":"";if(!(null==t?void 0:t.length))return i;const o=Math.ceil(r/8);if(o>0&&t.length>o){const r=Math.ceil(o/2);return"".concat(e(t.subarray(0,r),-1,A),"…").concat(e(t.subarray(t.length-r),-1,!1))}return t.reduce((e,t)=>e+n[t>>4]+n[15&t],i)};const n="0123456789abcdef"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return void 0===e}},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return"";if((0,A.default)(e))return e.substr(2);if(i.test(e))return e;throw new Error("Invalid hex ".concat(e," passed to hexStripPrefix"))};var A=n(r(443));const i=/^[a-fA-F0-9]+$/},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return new A.default(0);if((0,a.default)(e))return(0,s.default)(e.toString());if((0,i.default)(e))return new A.default(e.toString());return A.default.isBN(e)?e:(0,o.default)(e)?e.toBn():new A.default(e)};var A=n(r(155)),i=n(r(674)),o=n(r(444)),a=n(r(273)),s=n(r(272))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=-1){if(!e)return new Uint8Array([]);(0,A.default)((0,i.default)(e),"Expected hex value to convert, found '".concat(e,"'"));const r=(0,o.default)(e),n=r.length/2,a=Math.ceil(-1===t?n:t/8),s=new Uint8Array(a),u=Math.max(0,a-n);for(let e=0;e<a;e++)s[e+u]=parseInt(r.substr(2*e,2),16);return s};var A=n(r(200)),i=n(r(273)),o=n(r(319))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e instanceof t}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isLe:!1,isNegative:!1};if(!e)return new i.default(0);const r=(0,A.default)({isLe:!1,isNegative:!1},(0,o.default)(t)?{isLe:t}:t),n=(0,a.default)(e),s=new i.default((r.isLe?function(e){return(e.match(new RegExp(".{1,2}","g"))||[]).reverse().join("")}(n):n)||"00",16);return r.isNegative?s.fromTwos(4*n.length):s};var A=n(r(324)),i=n(r(17)),o=n(r(818)),a=n(r(277))},function(e,t,r){var n=r(66);e.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},A=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(A=A.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),A.forEach(function(t){n(e,t,r[t])})}return e}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!(!e||!(0,A.default)(e,-1,!0)||"0x"!==e.substr(0,2))};var A=n(r(326))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n="0x"===e||(0,A.default)(e)&&i.test(e.toString());if(n&&-1!==t)return e.length===2+Math.ceil(t/4);return n&&(r||e.length%2==0)};var A=n(r(454));const i=/^0x[a-fA-F0-9]+$/},function(e,t,r){"use strict";var n=r(17),A=r(113),i=A.getNAF,o=A.getJSF,a=A.assert;function s(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=s,s.prototype.point=function(){throw new Error("Not implemented")},s.prototype.validate=function(){throw new Error("Not implemented")},s.prototype._fixedNafMul=function(e,t){a(e.precomputed);var r=e._getDoubles(),n=i(t,1,this._bitLength),A=(1<<r.step+1)-(r.step%2==0?2:1);A/=3;for(var o=[],s=0;s<n.length;s+=r.step){var u=0;for(t=s+r.step-1;t>=s;t--)u=(u<<1)+n[t];o.push(u)}for(var l=this.jpoint(null,null,null),c=this.jpoint(null,null,null),f=A;f>0;f--){for(s=0;s<o.length;s++){(u=o[s])===f?c=c.mixedAdd(r.points[s]):u===-f&&(c=c.mixedAdd(r.points[s].neg()))}l=l.add(c)}return l.toP()},s.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var A=n.points,o=i(t,r,this._bitLength),s=this.jpoint(null,null,null),u=o.length-1;u>=0;u--){for(t=0;u>=0&&0===o[u];u--)t++;if(u>=0&&t++,s=s.dblp(t),u<0)break;var l=o[u];a(0!==l),s="affine"===e.type?l>0?s.mixedAdd(A[l-1>>1]):s.mixedAdd(A[-l-1>>1].neg()):l>0?s.add(A[l-1>>1]):s.add(A[-l-1>>1].neg())}return"affine"===e.type?s.toP():s},s.prototype._wnafMulAdd=function(e,t,r,n,A){for(var a=this._wnafT1,s=this._wnafT2,u=this._wnafT3,l=0,c=0;c<n;c++){var f=(b=t[c])._getNAFPoints(e);a[c]=f.wnd,s[c]=f.points}for(c=n-1;c>=1;c-=2){var d=c-1,g=c;if(1===a[d]&&1===a[g]){var h=[t[d],null,null,t[g]];0===t[d].y.cmp(t[g].y)?(h[1]=t[d].add(t[g]),h[2]=t[d].toJ().mixedAdd(t[g].neg())):0===t[d].y.cmp(t[g].y.redNeg())?(h[1]=t[d].toJ().mixedAdd(t[g]),h[2]=t[d].add(t[g].neg())):(h[1]=t[d].toJ().mixedAdd(t[g]),h[2]=t[d].toJ().mixedAdd(t[g].neg()));var p=[-3,-1,-5,-7,0,7,5,1,3],I=o(r[d],r[g]);l=Math.max(I[0].length,l),u[d]=new Array(l),u[g]=new Array(l);for(var B=0;B<l;B++){var C=0|I[0][B],m=0|I[1][B];u[d][B]=p[3*(C+1)+(m+1)],u[g][B]=0,s[d]=h}}else u[d]=i(r[d],a[d],this._bitLength),u[g]=i(r[g],a[g],this._bitLength),l=Math.max(u[d].length,l),l=Math.max(u[g].length,l)}var y=this.jpoint(null,null,null),Q=this._wnafT4;for(c=l;c>=0;c--){for(var w=0;c>=0;){var E=!0;for(B=0;B<n;B++)Q[B]=0|u[B][c],0!==Q[B]&&(E=!1);if(!E)break;w++,c--}if(c>=0&&w++,y=y.dblp(w),c<0)break;for(B=0;B<n;B++){var b,v=Q[B];0!==v&&(v>0?b=s[B][v-1>>1]:v<0&&(b=s[B][-v-1>>1].neg()),y="affine"===b.type?y.mixedAdd(b):y.add(b))}}for(c=0;c<n;c++)s[c]=null;return A?y:y.toP()},s.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},s.prototype.decodePoint=function(e,t){e=A.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r)return 6===e[0]?a(e[e.length-1]%2==0):7===e[0]&&a(e[e.length-1]%2==1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(e){return this.encode(e,!0)},u.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},u.prototype.encode=function(e,t){return A.encode(this._encode(t),e)},u.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},u.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,A=0;A<t;A+=e){for(var i=0;i<e;i++)n=n.dbl();r.push(n)}return{step:e,points:r}},u.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),A=1;A<r;A++)t[A]=t[A-1].add(n);return{wnd:e,points:t}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={allowedDecodedLengths:[1,2,4,8,32],allowedEncodedLengths:[3,4,6,10,35],allowedPrefix:[0,1,3,42,43,68,69],prefix:42};t.default=n},function(e,t,r){"use strict";r.d(t,"b",function(){return s}),r.d(t,"a",function(){return f});var n=r(2),A=r(13),i=r(32),o=r(21),a=r(41);function s(e,t,r,n){return function(A){return A.lift(new u(e,t,r,n))}}var u=function(){function e(e,t,r,n){this.keySelector=e,this.elementSelector=t,this.durationSelector=r,this.subjectSelector=n}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},e}(),l=function(e){function t(t,r,n,A,i){var o=e.call(this,t)||this;return o.keySelector=r,o.elementSelector=n,o.durationSelector=A,o.subjectSelector=i,o.groups=null,o.attemptedToUnsubscribe=!1,o.count=0,o}return n.__extends(t,e),t.prototype._next=function(e){var t;try{t=this.keySelector(e)}catch(e){return void this.error(e)}this._group(e,t)},t.prototype._group=function(e,t){var r=this.groups;r||(r=this.groups=new Map);var n,A=r.get(t);if(this.elementSelector)try{n=this.elementSelector(e)}catch(e){this.error(e)}else n=e;if(!A){A=this.subjectSelector?this.subjectSelector():new a.a,r.set(t,A);var i=new f(t,A,this);if(this.destination.next(i),this.durationSelector){var o=void 0;try{o=this.durationSelector(new f(t,A))}catch(e){return void this.error(e)}this.add(o.subscribe(new c(t,A,this)))}}A.closed||A.next(n)},t.prototype._error=function(e){var t=this.groups;t&&(t.forEach(function(t,r){t.error(e)}),t.clear()),this.destination.error(e)},t.prototype._complete=function(){var e=this.groups;e&&(e.forEach(function(e,t){e.complete()}),e.clear()),this.destination.complete()},t.prototype.removeGroup=function(e){this.groups.delete(e)},t.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&e.prototype.unsubscribe.call(this))},t}(A.a),c=function(e){function t(t,r,n){var A=e.call(this,r)||this;return A.key=t,A.group=r,A.parent=n,A}return n.__extends(t,e),t.prototype._next=function(e){this.complete()},t.prototype._unsubscribe=function(){var e=this.parent,t=this.key;this.key=this.parent=null,e&&e.removeGroup(t)},t}(A.a),f=function(e){function t(t,r,n){var A=e.call(this)||this;return A.key=t,A.groupSubject=r,A.refCountSubscription=n,A}return n.__extends(t,e),t.prototype._subscribe=function(e){var t=new i.a,r=this.refCountSubscription,n=this.groupSubject;return r&&!r.closed&&t.add(new d(r)),t.add(n.subscribe(e)),t},t}(o.a),d=function(e){function t(t){var r=e.call(this)||this;return r.parent=t,t.count++,r}return n.__extends(t,e),t.prototype.unsubscribe=function(){var t=this.parent;t.closed||this.closed||(e.prototype.unsubscribe.call(this),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())},t}(i.a)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isOptional:!1}).isOptional;return{isOptional:void 0!==r&&r,name:e,type:t}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createClass=i,t.ClassOfUnsafe=o,t.ClassOf=function(e){return o(e)};var n=r(862),A=r(866);function i(e){return(0,n.getTypeClass)((0,A.getTypeDef)(e))}function o(e){return i(e)}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=r(67),a=n(r(126)),s=function(){function e(t){(0,A.default)(this,e),this.raw=t}return(0,i.default)(e,[{key:"eq",value:function(e){return this.raw.eq(e)}},{key:"toHex",value:function(e){return this.raw.toHex(e)}},{key:"toJSON",value:function(){return this.raw.toJSON()}},{key:"toString",value:function(){return this.raw.toString()}},{key:"toU8a",value:function(e){return this.raw.toU8a(e)}},{key:"toRawType",value:function(){return"Base"}},{key:"encodedLength",get:function(){return this.toU8a().length}},{key:"hash",get:function(){return new a.default((0,o.blake2AsU8a)(this.toU8a(),256))}},{key:"isEmpty",get:function(){return this.raw.isEmpty}}]),e}();t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"decodeAddress",{enumerable:!0,get:function(){return i.decodeAddress}}),Object.defineProperty(t,"encodeAddress",{enumerable:!0,get:function(){return i.encodeAddress}}),Object.defineProperty(t,"setAddressPrefix",{enumerable:!0,get:function(){return i.setAddressPrefix}}),Object.defineProperty(t,"Keyring",{enumerable:!0,get:function(){return o.default}}),t.default=void 0;var A=r(14),i=r(223),o=n(r(1430));(0,A.assertSingletonPackage)("@chainx/keyring");var a=o.default;t.default=a},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MethodIndex=void 0;var A=n(r(221)),i=n(r(89)),o=n(r(66)),a=n(r(18)),s=n(r(85)),u=n(r(4)),l=n(r(6)),c=n(r(5)),f=n(r(7)),d=r(14),g=r(157),h=n(r(29)),p=n(r(99));function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var B={method:"unknown",section:"unknown"},C={},m=function(e){function t(e){return(0,u.default)(this,t),(0,l.default)(this,(0,c.default)(t).call(this,e,16))}return(0,f.default)(t,e),t}(p.default);t.MethodIndex=m;var y=function(e){function t(e,r){var n;(0,u.default)(this,t);var A=t.decodeMethod(e,r);return(n=(0,l.default)(this,(0,c.default)(t).call(this,{callIndex:m,args:h.default.with(A.argsDef)},A)))._meta=A.meta,n._func=A.func,n}return(0,f.default)(t,e),(0,a.default)(t,[{key:"toRawType",value:function(){return"Call"}},{key:"toJSON",value:function(){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?I(r,!0).forEach(function(t){(0,o.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({methodName:"".concat(this._func.section,"::").concat(this._func.method)},(0,s.default)((0,c.default)(t.prototype),"toJSON",this).call(this))}},{key:"args",get:function(){return(0,i.default)(this.get("args").values())}},{key:"argsDef",get:function(){return t.getArgsDef(this.meta)}},{key:"callIndex",get:function(){return this.get("callIndex").toU8a()}},{key:"data",get:function(){return this.get("args").toU8a()}},{key:"hasOrigin",get:function(){var e=this.meta.args[0];return!!e&&"Origin"===e.type.toString()}},{key:"meta",get:function(){return this._meta}}],[{key:"decodeMethod",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array,r=arguments.length>1?arguments[1]:void 0;if((0,d.isHex)(e))return t.decodeMethod((0,d.hexToU8a)(e),r);if((0,d.isU8a)(e)){var n=e.subarray(0,2),i=t.findFunction(n),o=r||t.findFunction(n).meta;return{args:e.subarray(2),argsDef:t.getArgsDef(o),callIndex:n,func:i,meta:o}}if((0,d.isObject)(e)&&e.callIndex&&e.args){var a=e.args,s=e.callIndex,u=s instanceof m?s.toU8a():s,l=t.findFunction(u),c=r||t.findFunction(u).meta;return{args:a,argsDef:t.getArgsDef(c),meta:c,func:l,callIndex:s}}throw new Error("Method: Cannot decode value '".concat(e,"' of type ").concat((0,A.default)(e)))}},{key:"filterOrigin",value:function(e){return e?e.args.filter(function(e){return"Origin"!==e.type.toString()}):[]}},{key:"findFunction",value:function(e){return(0,d.assert)(Object.keys(C).length>0,"Calling Method.findFunction before extrinsics have been injected."),C[e.toString()]||B}},{key:"getArgsDef",value:function(e){return t.filterOrigin(e).reduce(function(e,t){var r=t.name,n=t.type,A=(0,g.getTypeClass)((0,g.getTypeDef)(n));return e[r.toString()]=A,e},{})}},{key:"injectMethods",value:function(e){Object.values(e).forEach(function(e){return Object.values(e).forEach(function(e){return C[e.callIndex.toString()]=e})})}}]),t}(h.default);t.default=y},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,8,!1))}return(0,a.default)(t,e),t}(n(r(227)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["ConfirmOnly","ConfirmAndPropose"],e))}return(0,a.default)(t,e),t}(n(r(39)).default);t.default=s},function(e,t,r){"use strict";(function(t){var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,A=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){A=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(A)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=r(198),o=i.Point,a=i.getCurveByName("secp256k1"),s=r(98),u=r(36),l=r(202),c=r(285),f=r(286),d=r(45),g=r(1545);a.G,a.n;function h(e){if("string"==typeof e)return h.fromString(e);if(t.isBuffer(e))return h.fromBuffer(e);if("object"===(void 0===e?"undefined":A(e))&&s.isBigInteger(e.d))return h(e.d);if(!s.isBigInteger(e))throw new TypeError("Invalid private key");function r(){var e=i();return e=t.concat([new t([128]),e]),f.checkEncode(e,"sha256x2")}var n=void 0;function i(){return e.toBuffer(32)}return{d:e,toWif:r,toString:function(){return r()},toPublic:function(){if(n)return n;var t=a.G.multiply(e);return n=c.fromPoint(t)},toBuffer:i,getSharedSecret:function(e){var t=(e=c(e)).toUncompressed().toBuffer(),r=o.fromAffine(a,s.fromBuffer(t.slice(1,33)),s.fromBuffer(t.slice(33,65))),n=i(),A=r.multiply(s.fromBuffer(n)).affineX.toBuffer({size:32});return l.sha512(A)},getChildKey:function(e){return h(d("sha256").update(i()).update(e).digest())}}}function p(e){u(void 0===e?"undefined":A(e),"string","privateStr");var t=e.match(/^PVT_([A-Za-z0-9]+)_([A-Za-z0-9]+)$/);if(null===t){var r=f.checkDecode(e,"sha256x2"),i=r.readUInt8(0);u.equal(128,i,"Expected version 128, instead got "+i);return{privateKey:h.fromBuffer(r.slice(1)),format:"WIF",keyType:"K1"}}u(3===t.length,"Expecting private key like: PVT_K1_base58privateKey..");var o=n(t,3),a=o[1],s=o[2];return u.equal(a,"K1","K1 private key expected"),{privateKey:h.fromBuffer(f.checkDecode(s,a)),format:"PVT",keyType:a}}e.exports=h,h.fromHex=function(e){return h.fromBuffer(new t(e,"hex"))},h.fromBuffer=function(e){if(!t.isBuffer(e))throw new Error("Expecting parameter to be a Buffer type");if(33===e.length&&1===e[32]&&(e=e.slice(0,-1)),32!==e.length)throw new Error("Expecting 32 bytes, instead got "+e.length);return h(s.fromBuffer(e))},h.fromSeed=function(e){if("string"!=typeof e)throw new Error("seed must be of type string");return h.fromBuffer(l.sha256(e))},h.isWif=function(e){try{return u("WIF"===p(e).format),!0}catch(e){return!1}},h.isValid=function(e){try{return h(e),!0}catch(e){return!1}},h.fromWif=function(e){return console.log("PrivateKey.fromWif is deprecated, please use PrivateKey.fromString"),h.fromString(e)},h.fromString=function(e){return p(e).privateKey},h.randomKey=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return h.initialize().then(function(){return h.fromBuffer(f.random32ByteBuffer({cpuEntropyBits:e}))})},h.unsafeRandomKey=function(){return Promise.resolve(h.fromBuffer(f.random32ByteBuffer({safe:!1})))};var I=!1;h.initialize=g(function(){I||(!function(){var e=h(l.sha256("")),t="key comparison test failed on a known private key";u.equal(e.toWif(),"5KYZdUEo39z3FPrtuX2QbbwGnNP5zTd7yyr2SC1j299sBCnWjss",t),u.equal(e.toString(),"5KYZdUEo39z3FPrtuX2QbbwGnNP5zTd7yyr2SC1j299sBCnWjss",t);var r=e.toPublic();u.equal(r.toString(),"EOS859gxfnXyUriMgUeThh1fWv3oqcpLFyHa3TfFYC4PK2HqhToVM","pubkey string comparison test failed on a known public key"),B(function(){return h.fromString(e.toWif())},"converting known wif from string"),B(function(){return h.fromString(e.toString())},"converting known pvt from string"),B(function(){return c.fromString(r.toString())},"converting known public key from string"),!0}(),f.addEntropy.apply(f,function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(f.cpuEntropy())),u(f.entropyCount()>=128,"insufficient entropy"),I=!0)});var B=function(e,t){try{e()}catch(e){throw e.message=t+" ==> "+e.message,e}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=r(1571),i=r(1572),o=r(36),a=i.create;e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==(void 0===e?"undefined":n(e)))throw new TypeError("definitions is a required parameter");if(t.customTypes)for(var r in e=Object.assign({},e),t.customTypes)delete e[r];var i=A(t),o=a(e,i),l=o.errors,c=o.structs,f=function e(t,r){var n=Object.assign({},t,r),A=a(n,i),o=A.structs;return{errors:A.errors,structs:o,extend:function(t){return e(n,t)},fromBuffer:s(i,o),toBuffer:u(i,o)}};return{errors:l,structs:c,types:i,extend:function(t){return f(e,t)},fromBuffer:s(i,c),toBuffer:u(i,c)}};var s=function(e,r){return function(A,a){o.equal(void 0===A?"undefined":n(A),"string","typeName (type or struct name)"),"string"==typeof a&&(a=t.from(a,"hex")),o(t.isBuffer(a),"expecting buf<hex|Buffer>");var s=e[A];return s=s?s():r[A],o(s,"missing type or struct: "+A),i.fromBuffer(s,a)}},u=function(e,t){return function(r,A){o.equal(void 0===r?"undefined":n(r),"string","typeName (type or struct name)"),o(null!=A,"value is required");var a=e[r];return a=a?a():t[r],o(a,"missing type or struct: "+r),i.toBuffer(a,A)}};e.exports.fromBuffer=i.fromBuffer,e.exports.toBuffer=i.toBuffer}).call(this,r(8).Buffer)},function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function A(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o=r(1586).Buffer}catch(e){}function a(e,t,r){for(var n=0,A=Math.min(e.length,r),i=t;i<A;i++){var o=e.charCodeAt(i)-48;n<<=4,n|=o>=49&&o<=54?o-49+10:o>=17&&o<=22?o-17+10:15&o}return n}function s(e,t,r,n){for(var A=0,i=Math.min(e.length,r),o=t;o<i;o++){var a=e.charCodeAt(o)-48;A*=n,A+=a>=49?a-49+10:a>=17?a-17+10:a}return A}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var A=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&A++,16===t?this._parseHex(e,A):this._parseBase(e,t,A),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var A=0;A<this.length;A++)this.words[A]=0;var i,o,a=0;if("be"===r)for(A=e.length-1,i=0;A>=0;A-=3)o=e[A]|e[A-1]<<8|e[A-2]<<16,this.words[i]|=o<<a&67108863,this.words[i+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);else if("le"===r)for(A=0,i=0;A<e.length;A+=3)o=e[A]|e[A+1]<<8|e[A+2]<<16,this.words[i]|=o<<a&67108863,this.words[i+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);return this.strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,A,i=0;for(r=e.length-6,n=0;r>=t;r-=6)A=a(e,r,r+6),this.words[n]|=A<<i&67108863,this.words[n+1]|=A>>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);r+6!==t&&(A=a(e,t,r+6),this.words[n]|=A<<i&67108863,this.words[n+1]|=A>>>26-i&4194303),this.strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,A=1;A<=67108863;A*=t)n++;n--,A=A/t|0;for(var i=e.length-r,o=i%n,a=Math.min(i,i-o)+r,u=0,l=r;l<a;l+=n)u=s(e,l,l+n,t),this.imuln(A),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var c=1;for(u=s(e,l,e.length,t),l=0;l<o;l++)c*=t;this.imuln(c),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},i.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],c=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var A=0|e.words[0],i=0|t.words[0],o=A*i,a=67108863&o,s=o/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var l=s>>>26,c=67108863&s,f=Math.min(u,t.length-1),d=Math.max(0,u-e.length+1);d<=f;d++){var g=u-d|0;l+=(o=(A=0|e.words[g])*(i=0|t.words[d])+c)/67108864|0,c=67108863&o}r.words[u]=0|c,s=0|l}return 0!==s?r.words[u]=0|s:r.length--,r.strip()}i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var A=0,i=0,o=0;o<this.length;o++){var a=this.words[o],s=(16777215&(a<<A|i)).toString(16);r=0!==(i=a>>>24-A&16777215)||o!==this.length-1?u[6-s.length]+s+r:s+r,(A+=2)>=26&&(A-=26,o--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var f=l[e],d=c[e];r="";var g=this.clone();for(g.negative=0;!g.isZero();){var h=g.modn(d).toString(e);r=(g=g.idivn(d)).isZero()?h+r:u[f-h.length]+h+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return n(void 0!==o),this.toArrayLike(o,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,r){var A=this.byteLength(),i=r||Math.max(1,A);n(A<=i,"byte array longer than desired length"),n(i>0,"Requested array length <= 0"),this.strip();var o,a,s="le"===t,u=new e(i),l=this.clone();if(s){for(a=0;!l.isZero();a++)o=l.andln(255),l.iushrn(8),u[a]=o;for(;a<i;a++)u[a]=0}else{for(a=0;a<i-A;a++)u[a]=0;for(a=0;!l.isZero();a++)o=l.andln(255),l.iushrn(8),u[i-a-1]=o}return u},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},i.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},i.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},i.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var A=0;A<t;A++)this.words[A]=67108863&~this.words[A];return r>0&&(this.words[A]=~this.words[A]&67108863>>26-r),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,A=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<A:this.words[r]&~(1<<A),this.strip()},i.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var A=0,i=0;i<n.length;i++)t=(0|r.words[i])+(0|n.words[i])+A,this.words[i]=67108863&t,A=t>>>26;for(;0!==A&&i<r.length;i++)t=(0|r.words[i])+A,this.words[i]=67108863&t,A=t>>>26;if(this.length=r.length,0!==A)this.words[this.length]=A,this.length++;else if(r!==this)for(;i<r.length;i++)this.words[i]=r.words[i];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,A=this.cmp(e);if(0===A)return this.negative=0,this.length=1,this.words[0]=0,this;A>0?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)i=(t=(0|r.words[o])-(0|n.words[o])+i)>>26,this.words[o]=67108863&t;for(;0!==i&&o<r.length;o++)i=(t=(0|r.words[o])+i)>>26,this.words[o]=67108863&t;if(0===i&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var d=function(e,t,r){var n,A,i,o=e.words,a=t.words,s=r.words,u=0,l=0|o[0],c=8191&l,f=l>>>13,d=0|o[1],g=8191&d,h=d>>>13,p=0|o[2],I=8191&p,B=p>>>13,C=0|o[3],m=8191&C,y=C>>>13,Q=0|o[4],w=8191&Q,E=Q>>>13,b=0|o[5],v=8191&b,D=b>>>13,M=0|o[6],k=8191&M,_=M>>>13,S=0|o[7],N=8191&S,F=S>>>13,x=0|o[8],G=8191&x,H=x>>>13,U=0|o[9],Y=8191&U,L=U>>>13,O=0|a[0],K=8191&O,P=O>>>13,R=0|a[1],T=8191&R,J=R>>>13,j=0|a[2],q=8191&j,V=j>>>13,W=0|a[3],z=8191&W,Z=W>>>13,X=0|a[4],$=8191&X,ee=X>>>13,te=0|a[5],re=8191&te,ne=te>>>13,Ae=0|a[6],ie=8191&Ae,oe=Ae>>>13,ae=0|a[7],se=8191&ae,ue=ae>>>13,le=0|a[8],ce=8191&le,fe=le>>>13,de=0|a[9],ge=8191&de,he=de>>>13;r.negative=e.negative^t.negative,r.length=19;var pe=(u+(n=Math.imul(c,K))|0)+((8191&(A=(A=Math.imul(c,P))+Math.imul(f,K)|0))<<13)|0;u=((i=Math.imul(f,P))+(A>>>13)|0)+(pe>>>26)|0,pe&=67108863,n=Math.imul(g,K),A=(A=Math.imul(g,P))+Math.imul(h,K)|0,i=Math.imul(h,P);var Ie=(u+(n=n+Math.imul(c,T)|0)|0)+((8191&(A=(A=A+Math.imul(c,J)|0)+Math.imul(f,T)|0))<<13)|0;u=((i=i+Math.imul(f,J)|0)+(A>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(I,K),A=(A=Math.imul(I,P))+Math.imul(B,K)|0,i=Math.imul(B,P),n=n+Math.imul(g,T)|0,A=(A=A+Math.imul(g,J)|0)+Math.imul(h,T)|0,i=i+Math.imul(h,J)|0;var Be=(u+(n=n+Math.imul(c,q)|0)|0)+((8191&(A=(A=A+Math.imul(c,V)|0)+Math.imul(f,q)|0))<<13)|0;u=((i=i+Math.imul(f,V)|0)+(A>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(m,K),A=(A=Math.imul(m,P))+Math.imul(y,K)|0,i=Math.imul(y,P),n=n+Math.imul(I,T)|0,A=(A=A+Math.imul(I,J)|0)+Math.imul(B,T)|0,i=i+Math.imul(B,J)|0,n=n+Math.imul(g,q)|0,A=(A=A+Math.imul(g,V)|0)+Math.imul(h,q)|0,i=i+Math.imul(h,V)|0;var Ce=(u+(n=n+Math.imul(c,z)|0)|0)+((8191&(A=(A=A+Math.imul(c,Z)|0)+Math.imul(f,z)|0))<<13)|0;u=((i=i+Math.imul(f,Z)|0)+(A>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(w,K),A=(A=Math.imul(w,P))+Math.imul(E,K)|0,i=Math.imul(E,P),n=n+Math.imul(m,T)|0,A=(A=A+Math.imul(m,J)|0)+Math.imul(y,T)|0,i=i+Math.imul(y,J)|0,n=n+Math.imul(I,q)|0,A=(A=A+Math.imul(I,V)|0)+Math.imul(B,q)|0,i=i+Math.imul(B,V)|0,n=n+Math.imul(g,z)|0,A=(A=A+Math.imul(g,Z)|0)+Math.imul(h,z)|0,i=i+Math.imul(h,Z)|0;var me=(u+(n=n+Math.imul(c,$)|0)|0)+((8191&(A=(A=A+Math.imul(c,ee)|0)+Math.imul(f,$)|0))<<13)|0;u=((i=i+Math.imul(f,ee)|0)+(A>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(v,K),A=(A=Math.imul(v,P))+Math.imul(D,K)|0,i=Math.imul(D,P),n=n+Math.imul(w,T)|0,A=(A=A+Math.imul(w,J)|0)+Math.imul(E,T)|0,i=i+Math.imul(E,J)|0,n=n+Math.imul(m,q)|0,A=(A=A+Math.imul(m,V)|0)+Math.imul(y,q)|0,i=i+Math.imul(y,V)|0,n=n+Math.imul(I,z)|0,A=(A=A+Math.imul(I,Z)|0)+Math.imul(B,z)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(g,$)|0,A=(A=A+Math.imul(g,ee)|0)+Math.imul(h,$)|0,i=i+Math.imul(h,ee)|0;var ye=(u+(n=n+Math.imul(c,re)|0)|0)+((8191&(A=(A=A+Math.imul(c,ne)|0)+Math.imul(f,re)|0))<<13)|0;u=((i=i+Math.imul(f,ne)|0)+(A>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(k,K),A=(A=Math.imul(k,P))+Math.imul(_,K)|0,i=Math.imul(_,P),n=n+Math.imul(v,T)|0,A=(A=A+Math.imul(v,J)|0)+Math.imul(D,T)|0,i=i+Math.imul(D,J)|0,n=n+Math.imul(w,q)|0,A=(A=A+Math.imul(w,V)|0)+Math.imul(E,q)|0,i=i+Math.imul(E,V)|0,n=n+Math.imul(m,z)|0,A=(A=A+Math.imul(m,Z)|0)+Math.imul(y,z)|0,i=i+Math.imul(y,Z)|0,n=n+Math.imul(I,$)|0,A=(A=A+Math.imul(I,ee)|0)+Math.imul(B,$)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(g,re)|0,A=(A=A+Math.imul(g,ne)|0)+Math.imul(h,re)|0,i=i+Math.imul(h,ne)|0;var Qe=(u+(n=n+Math.imul(c,ie)|0)|0)+((8191&(A=(A=A+Math.imul(c,oe)|0)+Math.imul(f,ie)|0))<<13)|0;u=((i=i+Math.imul(f,oe)|0)+(A>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,n=Math.imul(N,K),A=(A=Math.imul(N,P))+Math.imul(F,K)|0,i=Math.imul(F,P),n=n+Math.imul(k,T)|0,A=(A=A+Math.imul(k,J)|0)+Math.imul(_,T)|0,i=i+Math.imul(_,J)|0,n=n+Math.imul(v,q)|0,A=(A=A+Math.imul(v,V)|0)+Math.imul(D,q)|0,i=i+Math.imul(D,V)|0,n=n+Math.imul(w,z)|0,A=(A=A+Math.imul(w,Z)|0)+Math.imul(E,z)|0,i=i+Math.imul(E,Z)|0,n=n+Math.imul(m,$)|0,A=(A=A+Math.imul(m,ee)|0)+Math.imul(y,$)|0,i=i+Math.imul(y,ee)|0,n=n+Math.imul(I,re)|0,A=(A=A+Math.imul(I,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(g,ie)|0,A=(A=A+Math.imul(g,oe)|0)+Math.imul(h,ie)|0,i=i+Math.imul(h,oe)|0;var we=(u+(n=n+Math.imul(c,se)|0)|0)+((8191&(A=(A=A+Math.imul(c,ue)|0)+Math.imul(f,se)|0))<<13)|0;u=((i=i+Math.imul(f,ue)|0)+(A>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(G,K),A=(A=Math.imul(G,P))+Math.imul(H,K)|0,i=Math.imul(H,P),n=n+Math.imul(N,T)|0,A=(A=A+Math.imul(N,J)|0)+Math.imul(F,T)|0,i=i+Math.imul(F,J)|0,n=n+Math.imul(k,q)|0,A=(A=A+Math.imul(k,V)|0)+Math.imul(_,q)|0,i=i+Math.imul(_,V)|0,n=n+Math.imul(v,z)|0,A=(A=A+Math.imul(v,Z)|0)+Math.imul(D,z)|0,i=i+Math.imul(D,Z)|0,n=n+Math.imul(w,$)|0,A=(A=A+Math.imul(w,ee)|0)+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,n=n+Math.imul(m,re)|0,A=(A=A+Math.imul(m,ne)|0)+Math.imul(y,re)|0,i=i+Math.imul(y,ne)|0,n=n+Math.imul(I,ie)|0,A=(A=A+Math.imul(I,oe)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,oe)|0,n=n+Math.imul(g,se)|0,A=(A=A+Math.imul(g,ue)|0)+Math.imul(h,se)|0,i=i+Math.imul(h,ue)|0;var Ee=(u+(n=n+Math.imul(c,ce)|0)|0)+((8191&(A=(A=A+Math.imul(c,fe)|0)+Math.imul(f,ce)|0))<<13)|0;u=((i=i+Math.imul(f,fe)|0)+(A>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(Y,K),A=(A=Math.imul(Y,P))+Math.imul(L,K)|0,i=Math.imul(L,P),n=n+Math.imul(G,T)|0,A=(A=A+Math.imul(G,J)|0)+Math.imul(H,T)|0,i=i+Math.imul(H,J)|0,n=n+Math.imul(N,q)|0,A=(A=A+Math.imul(N,V)|0)+Math.imul(F,q)|0,i=i+Math.imul(F,V)|0,n=n+Math.imul(k,z)|0,A=(A=A+Math.imul(k,Z)|0)+Math.imul(_,z)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(v,$)|0,A=(A=A+Math.imul(v,ee)|0)+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,n=n+Math.imul(w,re)|0,A=(A=A+Math.imul(w,ne)|0)+Math.imul(E,re)|0,i=i+Math.imul(E,ne)|0,n=n+Math.imul(m,ie)|0,A=(A=A+Math.imul(m,oe)|0)+Math.imul(y,ie)|0,i=i+Math.imul(y,oe)|0,n=n+Math.imul(I,se)|0,A=(A=A+Math.imul(I,ue)|0)+Math.imul(B,se)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(g,ce)|0,A=(A=A+Math.imul(g,fe)|0)+Math.imul(h,ce)|0,i=i+Math.imul(h,fe)|0;var be=(u+(n=n+Math.imul(c,ge)|0)|0)+((8191&(A=(A=A+Math.imul(c,he)|0)+Math.imul(f,ge)|0))<<13)|0;u=((i=i+Math.imul(f,he)|0)+(A>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(Y,T),A=(A=Math.imul(Y,J))+Math.imul(L,T)|0,i=Math.imul(L,J),n=n+Math.imul(G,q)|0,A=(A=A+Math.imul(G,V)|0)+Math.imul(H,q)|0,i=i+Math.imul(H,V)|0,n=n+Math.imul(N,z)|0,A=(A=A+Math.imul(N,Z)|0)+Math.imul(F,z)|0,i=i+Math.imul(F,Z)|0,n=n+Math.imul(k,$)|0,A=(A=A+Math.imul(k,ee)|0)+Math.imul(_,$)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,A=(A=A+Math.imul(v,ne)|0)+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,n=n+Math.imul(w,ie)|0,A=(A=A+Math.imul(w,oe)|0)+Math.imul(E,ie)|0,i=i+Math.imul(E,oe)|0,n=n+Math.imul(m,se)|0,A=(A=A+Math.imul(m,ue)|0)+Math.imul(y,se)|0,i=i+Math.imul(y,ue)|0,n=n+Math.imul(I,ce)|0,A=(A=A+Math.imul(I,fe)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,fe)|0;var ve=(u+(n=n+Math.imul(g,ge)|0)|0)+((8191&(A=(A=A+Math.imul(g,he)|0)+Math.imul(h,ge)|0))<<13)|0;u=((i=i+Math.imul(h,he)|0)+(A>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(Y,q),A=(A=Math.imul(Y,V))+Math.imul(L,q)|0,i=Math.imul(L,V),n=n+Math.imul(G,z)|0,A=(A=A+Math.imul(G,Z)|0)+Math.imul(H,z)|0,i=i+Math.imul(H,Z)|0,n=n+Math.imul(N,$)|0,A=(A=A+Math.imul(N,ee)|0)+Math.imul(F,$)|0,i=i+Math.imul(F,ee)|0,n=n+Math.imul(k,re)|0,A=(A=A+Math.imul(k,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(v,ie)|0,A=(A=A+Math.imul(v,oe)|0)+Math.imul(D,ie)|0,i=i+Math.imul(D,oe)|0,n=n+Math.imul(w,se)|0,A=(A=A+Math.imul(w,ue)|0)+Math.imul(E,se)|0,i=i+Math.imul(E,ue)|0,n=n+Math.imul(m,ce)|0,A=(A=A+Math.imul(m,fe)|0)+Math.imul(y,ce)|0,i=i+Math.imul(y,fe)|0;var De=(u+(n=n+Math.imul(I,ge)|0)|0)+((8191&(A=(A=A+Math.imul(I,he)|0)+Math.imul(B,ge)|0))<<13)|0;u=((i=i+Math.imul(B,he)|0)+(A>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(Y,z),A=(A=Math.imul(Y,Z))+Math.imul(L,z)|0,i=Math.imul(L,Z),n=n+Math.imul(G,$)|0,A=(A=A+Math.imul(G,ee)|0)+Math.imul(H,$)|0,i=i+Math.imul(H,ee)|0,n=n+Math.imul(N,re)|0,A=(A=A+Math.imul(N,ne)|0)+Math.imul(F,re)|0,i=i+Math.imul(F,ne)|0,n=n+Math.imul(k,ie)|0,A=(A=A+Math.imul(k,oe)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,oe)|0,n=n+Math.imul(v,se)|0,A=(A=A+Math.imul(v,ue)|0)+Math.imul(D,se)|0,i=i+Math.imul(D,ue)|0,n=n+Math.imul(w,ce)|0,A=(A=A+Math.imul(w,fe)|0)+Math.imul(E,ce)|0,i=i+Math.imul(E,fe)|0;var Me=(u+(n=n+Math.imul(m,ge)|0)|0)+((8191&(A=(A=A+Math.imul(m,he)|0)+Math.imul(y,ge)|0))<<13)|0;u=((i=i+Math.imul(y,he)|0)+(A>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(Y,$),A=(A=Math.imul(Y,ee))+Math.imul(L,$)|0,i=Math.imul(L,ee),n=n+Math.imul(G,re)|0,A=(A=A+Math.imul(G,ne)|0)+Math.imul(H,re)|0,i=i+Math.imul(H,ne)|0,n=n+Math.imul(N,ie)|0,A=(A=A+Math.imul(N,oe)|0)+Math.imul(F,ie)|0,i=i+Math.imul(F,oe)|0,n=n+Math.imul(k,se)|0,A=(A=A+Math.imul(k,ue)|0)+Math.imul(_,se)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(v,ce)|0,A=(A=A+Math.imul(v,fe)|0)+Math.imul(D,ce)|0,i=i+Math.imul(D,fe)|0;var ke=(u+(n=n+Math.imul(w,ge)|0)|0)+((8191&(A=(A=A+Math.imul(w,he)|0)+Math.imul(E,ge)|0))<<13)|0;u=((i=i+Math.imul(E,he)|0)+(A>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(Y,re),A=(A=Math.imul(Y,ne))+Math.imul(L,re)|0,i=Math.imul(L,ne),n=n+Math.imul(G,ie)|0,A=(A=A+Math.imul(G,oe)|0)+Math.imul(H,ie)|0,i=i+Math.imul(H,oe)|0,n=n+Math.imul(N,se)|0,A=(A=A+Math.imul(N,ue)|0)+Math.imul(F,se)|0,i=i+Math.imul(F,ue)|0,n=n+Math.imul(k,ce)|0,A=(A=A+Math.imul(k,fe)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,fe)|0;var _e=(u+(n=n+Math.imul(v,ge)|0)|0)+((8191&(A=(A=A+Math.imul(v,he)|0)+Math.imul(D,ge)|0))<<13)|0;u=((i=i+Math.imul(D,he)|0)+(A>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(Y,ie),A=(A=Math.imul(Y,oe))+Math.imul(L,ie)|0,i=Math.imul(L,oe),n=n+Math.imul(G,se)|0,A=(A=A+Math.imul(G,ue)|0)+Math.imul(H,se)|0,i=i+Math.imul(H,ue)|0,n=n+Math.imul(N,ce)|0,A=(A=A+Math.imul(N,fe)|0)+Math.imul(F,ce)|0,i=i+Math.imul(F,fe)|0;var Se=(u+(n=n+Math.imul(k,ge)|0)|0)+((8191&(A=(A=A+Math.imul(k,he)|0)+Math.imul(_,ge)|0))<<13)|0;u=((i=i+Math.imul(_,he)|0)+(A>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(Y,se),A=(A=Math.imul(Y,ue))+Math.imul(L,se)|0,i=Math.imul(L,ue),n=n+Math.imul(G,ce)|0,A=(A=A+Math.imul(G,fe)|0)+Math.imul(H,ce)|0,i=i+Math.imul(H,fe)|0;var Ne=(u+(n=n+Math.imul(N,ge)|0)|0)+((8191&(A=(A=A+Math.imul(N,he)|0)+Math.imul(F,ge)|0))<<13)|0;u=((i=i+Math.imul(F,he)|0)+(A>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(Y,ce),A=(A=Math.imul(Y,fe))+Math.imul(L,ce)|0,i=Math.imul(L,fe);var Fe=(u+(n=n+Math.imul(G,ge)|0)|0)+((8191&(A=(A=A+Math.imul(G,he)|0)+Math.imul(H,ge)|0))<<13)|0;u=((i=i+Math.imul(H,he)|0)+(A>>>13)|0)+(Fe>>>26)|0,Fe&=67108863;var xe=(u+(n=Math.imul(Y,ge))|0)+((8191&(A=(A=Math.imul(Y,he))+Math.imul(L,ge)|0))<<13)|0;return u=((i=Math.imul(L,he))+(A>>>13)|0)+(xe>>>26)|0,xe&=67108863,s[0]=pe,s[1]=Ie,s[2]=Be,s[3]=Ce,s[4]=me,s[5]=ye,s[6]=Qe,s[7]=we,s[8]=Ee,s[9]=be,s[10]=ve,s[11]=De,s[12]=Me,s[13]=ke,s[14]=_e,s[15]=Se,s[16]=Ne,s[17]=Fe,s[18]=xe,0!==u&&(s[19]=u,r.length++),r};function g(e,t,r){return(new h).mulp(e,t,r)}function h(e,t){this.x=e,this.y=t}Math.imul||(d=f),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?d(this,e,t):r<63?f(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,A=0,i=0;i<r.length-1;i++){var o=A;A=0;for(var a=67108863&n,s=Math.min(i,t.length-1),u=Math.max(0,i-e.length+1);u<=s;u++){var l=i-u,c=(0|e.words[l])*(0|t.words[u]),f=67108863&c;a=67108863&(f=f+a|0),A+=(o=(o=o+(c/67108864|0)|0)+(f>>>26)|0)>>>26,o&=67108863}r.words[i]=a,n=o,o=A}return 0!==n?r.words[i]=n:r.length--,r.strip()}(this,e,t):g(this,e,t)},h.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},h.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,A=0;A<t;A++)n|=(1&e)<<t-A-1,e>>=1;return n},h.prototype.permute=function(e,t,r,n,A,i){for(var o=0;o<i;o++)n[o]=t[e[o]],A[o]=r[e[o]]},h.prototype.transform=function(e,t,r,n,A,i){this.permute(i,e,t,r,n,A);for(var o=1;o<A;o<<=1)for(var a=o<<1,s=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),l=0;l<A;l+=a)for(var c=s,f=u,d=0;d<o;d++){var g=r[l+d],h=n[l+d],p=r[l+d+o],I=n[l+d+o],B=c*p-f*I;I=c*I+f*p,p=B,r[l+d]=g+p,n[l+d]=h+I,r[l+d+o]=g-p,n[l+d+o]=h-I,d!==a&&(B=s*c-u*f,f=s*f+u*c,c=B)}},h.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,A=0;for(r=r/2|0;r;r>>>=1)A++;return 1<<A+1+n},h.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var A=e[n];e[n]=e[r-n-1],e[r-n-1]=A,A=t[n],t[n]=-t[r-n-1],t[r-n-1]=-A}},h.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var A=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&A,r=A<67108864?0:A/67108864|0}return e},h.prototype.convert13b=function(e,t,r,A){for(var i=0,o=0;o<t;o++)i+=0|e[o],r[2*o]=8191&i,i>>>=13,r[2*o+1]=8191&i,i>>>=13;for(o=2*t;o<A;++o)r[o]=0;n(0===i),n(0==(-8192&i))},h.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},h.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),A=this.makeRBT(n),i=this.stub(n),o=new Array(n),a=new Array(n),s=new Array(n),u=new Array(n),l=new Array(n),c=new Array(n),f=r.words;f.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,i,a,s,n,A),this.transform(u,i,l,c,n,A);for(var d=0;d<n;d++){var g=a[d]*l[d]-s[d]*c[d];s[d]=a[d]*c[d]+s[d]*l[d],a[d]=g}return this.conjugate(a,s,n),this.transform(a,s,f,i,n,A),this.conjugate(f,i,n),this.normalize13b(f,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),g(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var A=(0|this.words[r])*e,i=(67108863&A)+(67108863&t);t>>=26,t+=A/67108864|0,t+=i>>>26,this.words[r]=67108863&i}return 0!==t&&(this.words[r]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,A=r%26;t[r]=(e.words[n]&1<<A)>>>A}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var A=r.sqr();n<t.length;n++,A=A.sqr())0!==t[n]&&(r=r.mul(A));return r},i.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,A=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var a=this.words[t]&i,s=(0|this.words[t])-a<<r;this.words[t]=s|o,o=a>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==A){for(t=this.length-1;t>=0;t--)this.words[t+A]=this.words[t];for(t=0;t<A;t++)this.words[t]=0;this.length+=A}return this.strip()},i.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,r){var A;n("number"==typeof e&&e>=0),A=t?(t-t%26)/26:0;var i=e%26,o=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<<i,s=r;if(A-=o,A=Math.max(0,A),s){for(var u=0;u<o;u++)s.words[u]=this.words[u];s.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=A);u--){var c=0|this.words[u];this.words[u]=l<<26-i|c>>>i,l=c&a}return s&&0!==l&&(s.words[s.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,A=1<<t;return!(this.length<=r)&&!!(this.words[r]&A)},i.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var A=67108863^67108863>>>t<<t;this.words[this.length-1]&=A}return this.strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,r){var A,i,o=e.length+r;this._expand(o);var a=0;for(A=0;A<e.length;A++){i=(0|this.words[A+r])+a;var s=(0|e.words[A])*t;a=((i-=67108863&s)>>26)-(s/67108864|0),this.words[A+r]=67108863&i}for(;A<this.length-r;A++)a=(i=(0|this.words[A+r])+a)>>26,this.words[A+r]=67108863&i;if(0===a)return this.strip();for(n(-1===a),a=0,A=0;A<this.length;A++)a=(i=-(0|this.words[A])+a)>>26,this.words[A]=67108863&i;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),A=e,o=0|A.words[A.length-1];0!==(r=26-this._countBits(o))&&(A=A.ushln(r),n.iushln(r),o=0|A.words[A.length-1]);var a,s=n.length-A.length;if("mod"!==t){(a=new i(null)).length=s+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var l=n.clone()._ishlnsubmul(A,1,s);0===l.negative&&(n=l,a&&(a.words[s]=1));for(var c=s-1;c>=0;c--){var f=67108864*(0|n.words[A.length+c])+(0|n.words[A.length+c-1]);for(f=Math.min(f/o|0,67108863),n._ishlnsubmul(A,f,c);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(A,1,c),n.isZero()||(n.negative^=1);a&&(a.words[c]=f)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(A=a.div.neg()),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:A,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(A=a.div.neg()),{div:A,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t);var A,o,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),A=e.andln(1),i=r.cmp(n);return i<0||1===A&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,A=this.length-1;A>=0;A--)r=(t*r+(0|this.words[A]))%e;return r},i.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var A=(0|this.words[r])+67108864*t;this.words[r]=A/e|0,t=A%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var A=new i(1),o=new i(0),a=new i(0),s=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),c=t.clone();!t.isZero();){for(var f=0,d=1;0==(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(A.isOdd()||o.isOdd())&&(A.iadd(l),o.isub(c)),A.iushrn(1),o.iushrn(1);for(var g=0,h=1;0==(r.words[0]&h)&&g<26;++g,h<<=1);if(g>0)for(r.iushrn(g);g-- >0;)(a.isOdd()||s.isOdd())&&(a.iadd(l),s.isub(c)),a.iushrn(1),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),A.isub(a),o.isub(s)):(r.isub(t),a.isub(A),s.isub(o))}return{a:a,b:s,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var A,o=new i(1),a=new i(0),s=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(s),o.iushrn(1);for(var c=0,f=1;0==(r.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(r.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a)):(r.isub(t),a.isub(o))}return(A=0===t.cmpn(1)?o:a).cmpn(0)<0&&A.iadd(e),A},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var A=t.cmp(r);if(A<0){var i=t;t=r,r=i}else if(0===A||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,A=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=A,this;for(var i=A,o=r;0!==i&&o<this.length;o++){var a=0|this.words[o];i=(a+=i)>>>26,a&=67108863,this.words[o]=a}return 0!==i&&(this.words[o]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var A=0|this.words[0];t=A===e?0:A<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],A=0|e.words[r];if(n!==A){n<A?t=-1:n>A&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new Q(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var p={k256:null,p224:null,p192:null,p25519:null};function I(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function B(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function C(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function m(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function y(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Q(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function w(e){Q.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},I.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):r.strip(),r},I.prototype.split=function(e,t){e.iushrn(this.n,0,t)},I.prototype.imulK=function(e){return e.imul(this.k)},A(B,I),B.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var A=e.words[9];for(t.words[t.length++]=4194303&A,n=10;n<e.length;n++){var i=0|e.words[n];e.words[n-10]=(4194303&i)<<4|A>>>22,A=i}A>>>=22,e.words[n-10]=A,0===A&&e.length>10?e.length-=10:e.length-=9},B.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},A(C,I),A(m,I),A(y,I),y.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,A=67108863&n;n>>>=26,e.words[r]=A,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(p[e])return p[e];var t;if("k256"===e)t=new B;else if("p224"===e)t=new C;else if("p192"===e)t=new m;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new y}return p[e]=t,t},Q.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},Q.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},Q.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},Q.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},Q.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},Q.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},Q.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},Q.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},Q.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},Q.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},Q.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},Q.prototype.isqr=function(e){return this.imul(e,e.clone())},Q.prototype.sqr=function(e){return this.mul(e,e)},Q.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var A=this.m.subn(1),o=0;!A.isZero()&&0===A.andln(1);)o++,A.iushrn(1);n(!A.isZero());var a=new i(1).toRed(this),s=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(s);)l.redIAdd(s);for(var c=this.pow(l,A),f=this.pow(e,A.addn(1).iushrn(1)),d=this.pow(e,A),g=o;0!==d.cmp(a);){for(var h=d,p=0;0!==h.cmp(a);p++)h=h.redSqr();n(p<g);var I=this.pow(c,new i(1).iushln(g-p-1));f=f.redMul(I),c=I.redSqr(),d=d.redMul(c),g=p}return f},Q.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},Q.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var A=r[0],o=0,a=0,s=t.bitLength()%26;for(0===s&&(s=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=s-1;l>=0;l--){var c=u>>l&1;A!==r[0]&&(A=this.sqr(A)),0!==c||0!==o?(o<<=1,o|=c,(4===++a||0===n&&0===l)&&(A=this.mul(A,r[o]),a=0,o=0)):a=0}s=26}return A},Q.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},Q.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new w(e)},A(w,Q),w.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},w.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},w.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=r.isub(n).iushrn(this.shift),i=A;return A.cmp(this.m)>=0?i=A.isub(this.m):A.cmpn(0)<0&&(i=A.iadd(this.m)),i._forceRed(this)},w.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=r.isub(n).iushrn(this.shift),o=A;return A.cmp(this.m)>=0?o=A.isub(this.m):A.cmpn(0)<0&&(o=A.iadd(this.m)),o._forceRed(this)},w.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(96)(e))},function(e,t,r){"use strict";e.exports=r(1587)(r(1590))},function(e,t){e.exports=!0},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t,r){var n,A,i,o,a,s;e.exports=(s=r(40),A=(n=s).lib,i=A.Base,o=A.WordArray,(a=n.x64={}).Word=i.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var A=e[n];r.push(A.high),r.push(A.low)}return o.create(r,this.sigBytes)},clone:function(){for(var e=i.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}}),s)},function(e,t,r){var n=r(293);e.exports={ETH_PADDING:32,ETH_SIGNATURE_LENGTH:4,ETH_UNITS:["wei","kwei","Mwei","Gwei","szabo","finney","femtoether","picoether","nanoether","microether","milliether","nano","micro","milli","ether","grand","Mether","Gether","Tether","Pether","Eether","Zether","Yether","Nether","Dether","Vether","Uether"],ETH_BIGNUMBER_ROUNDING_MODE:{ROUNDING_MODE:n.ROUND_DOWN},ETH_POLLING_TIMEOUT:500,defaultBlock:"latest",defaultAccount:void 0}},function(e,t,r){var n=r(293),A=function(e,t){for(var r=e;r.length<2*t;)r="0"+r;return r},i=function(e){var t="A".charCodeAt(0),r="Z".charCodeAt(0);return(e=(e=e.toUpperCase()).substr(4)+e.substr(0,4)).split("").map(function(e){var n=e.charCodeAt(0);return n>=t&&n<=r?n-t+10:e}).join("")},o=function(e){for(var t,r=e;r.length>2;)t=r.slice(0,9),r=parseInt(t,10)%97+r.slice(t.length);return parseInt(r,10)%97},a=function(e){this._iban=e};a.fromAddress=function(e){var t=new n(e,16).toString(36),r=A(t,15);return a.fromBban(r.toUpperCase())},a.fromBban=function(e){var t=("0"+(98-o(i("XE00"+e)))).slice(-2);return new a("XE"+t+e)},a.createIndirect=function(e){return a.fromBban("ETH"+e.institution+e.identifier)},a.isValid=function(e){return new a(e).isValid()},a.prototype.isValid=function(){return/^XE[0-9]{2}(ETH[0-9A-Z]{13}|[0-9A-Z]{30,31})$/.test(this._iban)&&1===o(i(this._iban))},a.prototype.isDirect=function(){return 34===this._iban.length||35===this._iban.length},a.prototype.isIndirect=function(){return 20===this._iban.length},a.prototype.checksum=function(){return this._iban.substr(2,2)},a.prototype.institution=function(){return this.isIndirect()?this._iban.substr(7,4):""},a.prototype.client=function(){return this.isIndirect()?this._iban.substr(11):""},a.prototype.address=function(){if(this.isDirect()){var e=this._iban.substr(4),t=new n(e,36);return A(t.toString(16),20)}return""},a.prototype.toString=function(){return this._iban},e.exports=a},function(e,t,r){var n=r(186),A=r(75),i=function(e){return null==e?null:0===(e=String(e)).indexOf("0x")?e:A.fromUtf8(e)},o=function(e,t){A.isString(e.options)||e.get(function(e,r){e&&t(e),A.isArray(r)&&r.forEach(function(e){t(null,e)})})},a=function(e){e.requestManager.startPolling({method:e.implementation.poll.call,params:[e.filterId]},e.filterId,function(t,r){if(t)return e.callbacks.forEach(function(e){e(t)});A.isArray(r)&&r.forEach(function(t){t=e.formatter?e.formatter(t):t,e.callbacks.forEach(function(e){e(null,t)})})},e.stopWatching.bind(e))},s=function(e,t,r,s,u,l,c){var f=this,d={};return s.forEach(function(e){e.setRequestManager(r),e.attachToObject(d)}),this.requestManager=r,this.options=function(e,t){if(A.isString(e))return e;switch(e=e||{},t){case"eth":return e.topics=e.topics||[],e.topics=e.topics.map(function(e){return A.isArray(e)?e.map(i):i(e)}),{topics:e.topics,from:e.from,to:e.to,address:e.address,fromBlock:n.inputBlockNumberFormatter(e.fromBlock),toBlock:n.inputBlockNumberFormatter(e.toBlock)};case"shh":return e}}(e,t),this.implementation=d,this.filterId=null,this.callbacks=[],this.getLogsCallbacks=[],this.pollFilters=[],this.formatter=u,this.implementation.newFilter(this.options,function(e,t){if(e)f.callbacks.forEach(function(t){t(e)}),"function"==typeof c&&c(e);else if(f.filterId=t,f.getLogsCallbacks.forEach(function(e){f.get(e)}),f.getLogsCallbacks=[],f.callbacks.forEach(function(e){o(f,e)}),f.callbacks.length>0&&a(f),"function"==typeof l)return f.watch(l)}),this};s.prototype.watch=function(e){return this.callbacks.push(e),this.filterId&&(o(this,e),a(this)),this},s.prototype.stopWatching=function(e){if(this.requestManager.stopPolling(this.filterId),this.callbacks=[],!e)return this.implementation.uninstallFilter(this.filterId);this.implementation.uninstallFilter(this.filterId,e)},s.prototype.get=function(e){var t=this;if(!A.isFunction(e)){if(null===this.filterId)throw new Error("Filter ID Error: filter().get() can't be chained synchronous, please provide a callback for the get() method.");return this.implementation.getLogs(this.filterId).map(function(e){return t.formatter?t.formatter(e):e})}return null===this.filterId?this.getLogsCallbacks.push(e):this.implementation.getLogs(this.filterId,function(r,n){r?e(r):e(null,n.map(function(e){return t.formatter?t.formatter(e):e}))}),this},e.exports=s},function(e,t,r){var n=r(206);e.exports={eth:function(){return[new n({name:"newFilter",call:function(e){switch(e[0]){case"latest":return e.shift(),this.params=0,"eth_newBlockFilter";case"pending":return e.shift(),this.params=0,"eth_newPendingTransactionFilter";default:return"eth_newFilter"}},params:1}),new n({name:"uninstallFilter",call:"eth_uninstallFilter",params:1}),new n({name:"getLogs",call:"eth_getFilterLogs",params:1}),new n({name:"poll",call:"eth_getFilterChanges",params:1})]},shh:function(){return[new n({name:"newFilter",call:"shh_newMessageFilter",params:1}),new n({name:"uninstallFilter",call:"shh_deleteMessageFilter",params:1}),new n({name:"getLogs",call:"shh_getFilterMessages",params:1}),new n({name:"poll",call:"shh_getFilterMessages",params:1})]}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=n.__importDefault(r(48)),i=n.__importStar(r(295)),o=n.__importStar(r(519)),a=r(520),s=r(518),u=r(31),l=r(955),c=A.default.ec("secp256k1");function f(e,t,r){return d(e,t)===r}function d(e,t){var r=i.splitSignature(t),n={r:i.arrayify(r.r),s:i.arrayify(r.s)},A=c.recoverPubKey(i.arrayify(e),n,r.recoveryParam).encode("hex",!1);return"0x"+c.keyFromPublic(A,"hex").getPublic(!0,"hex")}t.generatePrivateKey=function(){var e="0x"+s.randomBytes(16),t=a.keccak256(i.concat(["0x"+s.randomBytes(32),e||"0x"+s.randomBytes(32)])),r=i.concat([i.concat(["0x"+s.randomBytes(32),t]),"0x"+s.randomBytes(32)]);return a.keccak256(r)},t.getPubkeyFromPrivateKey=function(e){return"0x"+t.getPublic(e,!0)},t.getAddressFromPrivateKey=function(e){var r="0x"+t.getPublic(e).slice(2);return"0x"+a.keccak256(r).slice(-40)},t.getPublic=function(e,r){if(!u.isPrivateKey(e)||!t.validatePrivateKey(e))throw new Error(e+" is not PrivateKey");return c.keyFromPrivate(u.strip0x(e),"hex").getPublic(r||!1,"hex")},t.getAddressFromPublicKey=function(e){var t=c.keyFromPublic(e.slice(2),"hex").getPublic(!1,"hex");return"0x"+a.keccak256("0x"+t.slice(2)).slice(-40)},t.toChecksumAddress=function(e){"string"==typeof e&&e.match(/^0x[0-9A-Fa-f]{40}$/)||o.throwError("invalid address",o.INVALID_ARGUMENT,{arg:"address",value:e});for(var t=(e=e.toLowerCase()).substring(2).split(""),r=new Uint8Array(40),n=0;n<40;n++)r[n]=t[n].charCodeAt(0);r=i.arrayify(a.keccak256(r))||r;for(n=0;n<40;n+=2)r[n>>1]>>4>=8&&(t[n]=t[n].toUpperCase()),(15&r[n>>1])>=8&&(t[n+1]=t[n+1].toUpperCase());return"0x"+t.join("")},t.sign=function(e,t){if(!u.isPrivateKey(t))throw new Error(t+" is not PrivateKey");var r=c.keyFromPrivate(u.strip0x(t),"hex"),n=r.sign(i.arrayify(e),{canonical:!0}),A="0x"+r.getPublic(!0,"hex"),o={recoveryParam:n.recoveryParam,r:i.hexZeroPad("0x"+n.r.toString(16),32),s:i.hexZeroPad("0x"+n.s.toString(16),32),v:27+n.recoveryParam};if(f(e,o,A))return o;throw new Error("signing process failed")},t.getContractAddress=function(e,t){if(!e)throw new Error("missing from address");return"0x"+a.keccak256(l.encode([e,i.stripZeros(i.hexlify(t))])).substring(26)},t.verifySignature=f,t.recoverPublicKey=d,t.recoverAddress=function(e,r){return t.getAddressFromPublicKey(d(i.arrayify(e)||new Uint8Array,r))},t.isValidChecksumAddress=function(e){return u.isAddress(e.replace("0x",""))&&t.toChecksumAddress(e)===e},t.validatePrivateKey=function(e){return c.keyFromPrivate(u.strip0x(e),"hex").validate().result}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(31),i=r(54),o=r(129);t.transactionFields=[{name:"nonce",length:32,fix:!1},{name:"gasPrice",length:32,fix:!1,transform:"hex"},{name:"gasLimit",length:32,fix:!1,transform:"hex"},{name:"shardID",length:16,fix:!1},{name:"toShardID",length:16,fix:!1},{name:"to",length:20,fix:!0},{name:"value",length:32,fix:!1,transform:"hex"},{name:"data",fix:!1}],t.transactionFieldsETH=[{name:"nonce",length:32,fix:!1},{name:"gasPrice",length:32,fix:!1,transform:"hex"},{name:"gasLimit",length:32,fix:!1,transform:"hex"},{name:"to",length:20,fix:!0},{name:"value",length:32,fix:!1,transform:"hex"},{name:"data",fix:!1}],t.handleNumber=function(e){return A.isHex(e)&&"0x"===e?A.hexToNumber("0x00"):A.isHex(e)&&"0x"!==e?A.hexToNumber(e):e},t.handleAddress=function(e){return"0x"===e?"0x":A.isAddress(e)?e:"0x"},t.recover=function(e){var r=i.decode(e);if(11!==r.length&&8!==r.length)throw new Error("invalid rawTransaction");var n={id:"0x",from:"0x",rawTransaction:"0x",unsignedRawTransaction:"0x",nonce:new i.BN(A.strip0x(t.handleNumber(r[0]))).toNumber(),gasPrice:new i.BN(A.strip0x(t.handleNumber(r[1]))),gasLimit:new i.BN(A.strip0x(t.handleNumber(r[2]))),shardID:new i.BN(A.strip0x(t.handleNumber(r[3]))).toNumber(),toShardID:new i.BN(A.strip0x(t.handleNumber(r[4]))).toNumber(),to:"0x"!==t.handleAddress(r[5])?i.getAddress(t.handleAddress(r[5])).checksum:"0x",value:new i.BN(A.strip0x(t.handleNumber(r[6]))),data:r[7],chainId:0,signature:{r:"",s:"",recoveryParam:0,v:0}};if(8===r.length)return n.unsignedRawTransaction=e,n;try{n.signature.v=new i.BN(A.strip0x(t.handleNumber(r[8]))).toNumber()}catch(e){throw e}if(n.signature.r=i.hexZeroPad(r[9],32),n.signature.s=i.hexZeroPad(r[10],32),new i.BN(A.strip0x(t.handleNumber(n.signature.r))).isZero()&&new i.BN(A.strip0x(t.handleNumber(n.signature.s))).isZero())n.chainId=n.signature.v,n.signature.v=0;else{n.chainId=Math.floor((n.signature.v-35)/2),n.chainId<0&&(n.chainId=0);var o=n.signature.v-27,a=r.slice(0,8);0!==n.chainId&&(a.push(i.hexlify(n.chainId)),a.push("0x"),a.push("0x"),o-=2*n.chainId+8);var s=i.keccak256(i.encode(a));try{var u=i.recoverAddress(s,{r:i.hexlify(n.signature.r),s:i.hexlify(n.signature.s),recoveryParam:o});n.from="0x"===u?"0x":i.getAddress(u).checksum}catch(e){throw e}n.rawTransaction=e,n.id=i.keccak256(e)}return n},t.recoverETH=function(e){var r=i.decode(e);if(9!==r.length&&6!==r.length)throw new Error("invalid rawTransaction");var n={id:"0x",from:"0x",rawTransaction:"0x",unsignedRawTransaction:"0x",nonce:new i.BN(A.strip0x(t.handleNumber(r[0]))).toNumber(),gasPrice:new i.BN(A.strip0x(t.handleNumber(r[1]))),gasLimit:new i.BN(A.strip0x(t.handleNumber(r[2]))),shardID:0,toShardID:0,to:"0x"!==t.handleAddress(r[3])?i.getAddress(t.handleAddress(r[3])).checksum:"0x",value:new i.BN(A.strip0x(t.handleNumber(r[4]))),data:r[5],chainId:0,signature:{r:"",s:"",recoveryParam:0,v:0}};if(6===r.length)return n.unsignedRawTransaction=e,n;try{n.signature.v=new i.BN(A.strip0x(t.handleNumber(r[6]))).toNumber()}catch(e){throw e}if(n.signature.r=i.hexZeroPad(r[7],32),n.signature.s=i.hexZeroPad(r[8],32),new i.BN(A.strip0x(t.handleNumber(n.signature.r))).isZero()&&new i.BN(A.strip0x(t.handleNumber(n.signature.s))).isZero())n.chainId=n.signature.v,n.signature.v=0;else{n.chainId=Math.floor((n.signature.v-35)/2),n.chainId<0&&(n.chainId=0);var o=n.signature.v-27,a=r.slice(0,6);0!==n.chainId&&(a.push(i.hexlify(n.chainId)),a.push("0x"),a.push("0x"),o-=2*n.chainId+8);var s=i.keccak256(i.encode(a));try{var u=i.recoverAddress(s,{r:i.hexlify(n.signature.r),s:i.hexlify(n.signature.s),recoveryParam:o});n.from="0x"===u?"0x":i.getAddress(u).checksum}catch(e){throw e}n.rawTransaction=e,n.id=i.keccak256(e)}return n},t.sleep=function(e){return n.__awaiter(void 0,void 0,void 0,function(){return n.__generator(this,function(t){return[2,new Promise(function(t){setTimeout(function(){return t()},e)})]})})},function(e){e.transactionHash="transactionHash",e.error="error",e.confirmation="confirmation",e.receipt="receipt",e.track="track",e.cxConfirmation="cxConfirmation",e.cxReceipt="cxReceipt",e.cxTrack="cxTrack"}(t.TransactionEvents||(t.TransactionEvents={})),t.defaultMessenger=new o.Messenger(new o.HttpProvider("http://localhost:9500"),"hmy"),t.RLPSign=function(e,t){var r=n.__read(e.getRLPUnsigned(),2),A=r[0],o=r[1],a=n.__assign(n.__assign({},e.txParams),{unsignedRawTransaction:A});e.setParams(a);var s=i.sign(i.keccak256(A),t);return[s,e.getRLPSigned(o,s)]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(54),i=r(31),o=new A.BN(-1),a=new A.BN(1),s=new A.BN(0),u="0x0000000000000000000000000000000000000000000000000000000000000000",l=i.hexToBN("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),c=new RegExp(/^bytes([0-9]*)$/),f=new RegExp(/^(u?int)([0-9]*)$/),d=new RegExp(/^(.*)\[([0-9]*)\]$/);t.defaultCoerceFunc=function(e,t){var r=e.match(f);return r&&parseInt(r[2],10)<=48?t.toString("hex"):t};var g=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$"),h=new RegExp("^[A-Za-z_][A-Za-z0-9_]*$");function p(e){return e.match(/^uint($|[^1-9])/)?e="uint256"+e.substring(4):e.match(/^int($|[^1-9])/)&&(e="int256"+e.substring(3)),e}function I(e,t){var r=e;function n(e){throw new Error('unexpected character "'+r[e]+'" at position '+e+' in "'+r+'"')}e=e.replace(/\s/g," ");for(var A={type:"",name:"",state:{allowType:!0}},i=A,o=0;o<e.length;o++){var a=e[o];switch(a){case"(":i.state&&i.state.allowParams||n(o),i.state&&(i.state.allowType=!1),i.type&&(i.type=p(i.type)),i.components=[{type:"",name:"",parent:i,state:{allowType:!0}}],i=i.components[0];break;case")":delete i.state,t&&"indexed"===i.name&&(i.indexed=!0,i.name=""),i.type&&(i.type=p(i.type));var s=i;(i=i.parent)||n(o),delete s.parent,i.state&&(i.state.allowParams=!1,i.state.allowName=!0,i.state.allowArray=!0);break;case",":delete i.state,t&&"indexed"===i.name&&(i.indexed=!0,i.name=""),i.type&&(i.type=p(i.type));var u={type:"",name:"",parent:i.parent,state:{allowType:!0}};i.parent.components.push(u),delete i.parent,i=u;break;case" ":i.state&&(i.state.allowType&&""!==i.type&&i.type&&(i.type=p(i.type),delete i.state.allowType,i.state.allowName=!0,i.state.allowParams=!0),i.state.allowName&&""!==i.name&&(t&&"indexed"===i.name?(i.indexed=!0,i.name=""):i.state.allowName=!1));break;case"[":i.state&&i.state.allowArray||n(o),i.state&&(i.type+=a,i.state.allowArray=!1,i.state.allowName=!1,i.state.readArray=!0);break;case"]":i.state&&i.state.readArray||n(o),i.state&&(i.type+=a,i.state.readArray=!1,i.state.allowArray=!0,i.state.allowName=!0);break;default:i.state&&(i.state.allowType?(i.type+=a,i.state.allowParams=!0,i.state.allowArray=!0):i.state.allowName?(i.name+=a,delete i.state.allowArray):i.state.readArray?i.type+=a:n(o))}}if(i.parent)throw new Error("unexpected eof");return delete A.state,t&&"indexed"===i.name&&(i.indexed=!0,i.name=""),A.type&&(A.type=p(A.type)),A}function B(e){return L(t.defaultCoerceFunc,e).type}t.parseParamType=function(e){return I(e,!0)},t.formatParamType=B,t.formatSignature=function(e){return e.name+"("+e.inputs.map(function(e){return B(e)}).join(",")+")"},t.parseSignature=function(e){if("string"==typeof e)return"event "===(e=(e=(e=e.replace(/\s/g," ")).replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," ")).trim()).substring(0,6)?function(e){var t={anonymous:!1,inputs:[],name:"",type:"event"},r=e.match(g);if(!r)throw new Error("invalid event: "+e);if(t.name=r[1].trim(),H(r[2]).forEach(function(e){(e=I(e,!0)).indexed=!!e.indexed,t.inputs.push(e)}),r[3].split(" ").forEach(function(e){switch(e){case"anonymous":t.anonymous=!0;break;case"":break;default:A.info("unknown modifier: "+e)}}),t.name&&!t.name.match(h))throw new Error('invalid identifier: "'+t.name+'"');return t}(e.substring(6).trim()):("function "===e.substring(0,9)&&(e=e.substring(9)),function(e){var t={constant:!1,gas:null,inputs:[],name:"",outputs:[],payable:!1,stateMutability:null,type:"function"},r=e.split("@");if(1!==r.length){if(r.length>2)throw new Error("invalid signature");if(!r[1].match(/^[0-9]+$/))throw new Error("invalid signature gas");t.gas=new A.BN(r[1]),e=r[0]}var n=(r=e.split(" returns "))[0].match(g);if(!n)throw new Error("invalid signature");if(t.name=n[1].trim(),!t.name.match(h))throw new Error('invalid identifier: "'+n[1]+'"');if(H(n[2]).forEach(function(e){t.inputs.push(I(e))}),n[3].split(" ").forEach(function(e){switch(e){case"constant":t.constant=!0;break;case"payable":t.payable=!0,t.stateMutability="payable";break;case"pure":t.constant=!0,t.stateMutability="pure";break;case"view":t.constant=!0,t.stateMutability="view";break;case"external":case"public":case"":break;default:A.info("unknown modifier: "+e)}}),r.length>1){var i=r[1].match(g);if(null===i||""!==i[1].trim()||""!==i[3].trim())throw new Error("unexpected tokens");H(i[2]).forEach(function(e){t.outputs.push(I(e))})}if("constructor"===t.name){if(t.type="constructor",t.outputs.length)throw new Error("constructor may not have outputs");delete t.name,delete t.outputs}return t}(e.trim()));throw new Error("unknown signature")};var C=function(e,t,r,n,A){this.coerceFunc=e,this.name=t,this.type=r,this.localName=n,this.dynamic=A},m=function(e){function t(t){var r=e.call(this,t.coerceFunc,t.name,t.type,void 0,t.dynamic)||this;return r.coder=t,r}return n.__extends(t,e),t.prototype.encode=function(e){return this.coder.encode(e)},t.prototype.decode=function(e,t){return this.coder.decode(e,t)},t}(C),y=function(e){function t(t,r){return e.call(this,t,"null","",r,!1)||this}return n.__extends(t,e),t.prototype.encode=function(e){return A.arrayify([])||new Uint8Array},t.prototype.decode=function(e,t){if(t>e.length)throw new Error("invalid null");return{consumed:0,value:this.coerceFunc("null",void 0)}},t}(C),Q=function(e){function t(t,r,n,A){var i=this,o=(n?"int":"uint")+8*r;return(i=e.call(this,t,o,o,A,!1)||this).size=r,i.signed=n,i}return n.__extends(t,e),t.prototype.encode=function(e){var t;try{var r=new A.BN(e);if(this.signed){var n=l.maskn(8*this.size-1);if(r.gt(n))throw new Error("out-of-bounds");if(n=n.add(a).mul(o),r.lt(n))throw new Error("out-of-bounds")}else if(r.lt(s)||r.gt(l.maskn(8*this.size)))throw new Error("out-of-bounds");r=r.toTwos(8*this.size).maskn(8*this.size),this.signed&&(r=r.fromTwos(8*this.size).toTwos(256));var i=r.toString("hex");t=A.padZeros(A.arrayify("0x"+i)||new Uint8Array,32)}catch(t){A.throwError("invalid number value",A.INVALID_ARGUMENT,{arg:this.localName,coderType:this.name,value:e})}return t||A.padZeros(new Uint8Array,32)},t.prototype.decode=function(e,t){e.length<t+32&&A.throwError("insufficient data for "+this.name+" type",A.INVALID_ARGUMENT,{arg:this.localName,coderType:this.name,value:A.hexlify(e.slice(t,t+32))});var r=32-this.size,n=A.hexlify(e.slice(t+r,t+32)),o=i.hexToBN(n);return o=this.signed?o.fromTwos(8*this.size):o.maskn(8*this.size),{consumed:32,value:this.coerceFunc(this.name,o)}},t}(C),w=new Q(function(e,t){return t},32,!1,"none"),E=function(e){function t(t,r){return e.call(this,t,"bool","bool",r,!1)||this}return n.__extends(t,e),t.prototype.encode=function(e){return w.encode(e?new A.BN(1):new A.BN(0))},t.prototype.decode=function(e,t){var r;try{r=w.decode(e,t)}catch(e){throw"insufficient data for uint256 type"===e.reason&&A.throwError("insufficient data for boolean type",A.INVALID_ARGUMENT,{arg:this.localName,coderType:"boolean",value:e.value}),e}return{consumed:r.consumed,value:this.coerceFunc("bool",!r.value.isZero())}},t}(C),b=function(e){function t(t,r,n){var A=this,i="bytes"+r;return(A=e.call(this,t,i,i,n,!1)||this).length=r,A}return n.__extends(t,e),t.prototype.encode=function(e){var t=new Uint8Array(this.length);try{var r=A.arrayify(e),n=null;if(null===r)throw new Error("cannot arraify data");var i=A.hexlify(r);if(null===(n=A.arrayify(A.bytesPadRight(i,this.length)))||n.length!==this.length)throw new Error("incorrect data length");t.set(n)}catch(t){A.throwError("invalid "+this.name+" value",A.INVALID_ARGUMENT,{arg:this.localName,coderType:this.name,value:t.value||e})}return t},t.prototype.decode=function(e,t){return e.length<t+32&&A.throwError("insufficient data for "+name+" type",A.INVALID_ARGUMENT,{arg:this.localName,coderType:this.name,value:A.hexlify(e.slice(t,t+32))}),{consumed:32,value:this.coerceFunc(this.name,A.hexlify(e.slice(t,t+this.length)))}},t}(C),v=function(e){function t(t,r){return e.call(this,t,"address","address",r,!1)||this}return n.__extends(t,e),t.prototype.encode=function(e){var t=new Uint8Array(32);try{var r=A.arrayify(A.toChecksumAddress(e))||new Uint8Array;t.set(r,12)}catch(t){A.throwError("invalid address",A.INVALID_ARGUMENT,{arg:this.localName,coderType:"address",value:e})}return t},t.prototype.decode=function(e,t){return e.length<t+32&&A.throwError("insufficuent data for address type",A.INVALID_ARGUMENT,{arg:this.localName,coderType:"address",value:A.hexlify(e.slice(t,t+32))}),{consumed:32,value:this.coerceFunc("address",A.toChecksumAddress(A.hexlify(e.slice(t+12,t+32))))}},t}(C);function D(e){var t=32*Math.ceil(e.length/32),r=new Uint8Array(t-e.length);return A.concat([w.encode(new A.BN(e.length)),e,r])}function M(e,t,r){e.length<t+32&&A.throwError("insufficient data for dynamicBytes length",A.INVALID_ARGUMENT,{arg:r,coderType:"dynamicBytes",value:A.hexlify(e.slice(t,t+32))});var n=w.decode(e,t).value;try{n=n.toNumber()}catch(e){A.throwError("dynamic bytes count too large",A.INVALID_ARGUMENT,{arg:r,coderType:"dynamicBytes",value:n.toString()})}return e.length<t+32+n&&A.throwError("insufficient data for dynamicBytes type",A.INVALID_ARGUMENT,{arg:r,coderType:"dynamicBytes",value:A.hexlify(e.slice(t,t+32+n))}),{consumed:32+32*Math.ceil(n/32),value:e.slice(t+32,t+32+n)}}var k=function(e){function t(t,r){return e.call(this,t,"bytes","bytes",r,!0)||this}return n.__extends(t,e),t.prototype.encode=function(e){var t=new Uint8Array;try{t=D(A.arrayify(e)||new Uint8Array)}catch(e){A.throwError("invalid bytes value",A.INVALID_ARGUMENT,{arg:this.localName,coderType:"bytes",value:e.value})}return t},t.prototype.decode=function(e,t){var r=M(e,t,this.localName||"");return r.value=this.coerceFunc("bytes",A.hexlify(r.value)),r},t}(C),_=function(e){function t(t,r){return e.call(this,t,"string","string",r,!0)||this}return n.__extends(t,e),t.prototype.encode=function(e){return"string"!=typeof e&&A.throwError("invalid string value",A.INVALID_ARGUMENT,{arg:this.localName,coderType:"string",value:e}),D(O(e))},t.prototype.decode=function(e,t){var r=M(e,t,this.localName||"");return r.value=this.coerceFunc("string",K(r.value)),r},t}(C);function S(e){return 32*Math.ceil(e/32)}function N(e,t){if(Array.isArray(t));else if(t&&"object"==typeof t){var r=[];e.forEach(function(e){r.push(t[e.localName||""])}),t=r}else A.throwError("invalid tuple value",A.INVALID_ARGUMENT,{coderType:"tuple",value:t});e.length!==t.length&&A.throwError("types/value length mismatch",A.INVALID_ARGUMENT,{coderType:"tuple",value:t});var n=[];e.forEach(function(e,r){n.push({dynamic:e.dynamic,value:e.encode(t[r])})});var i=0,o=0;n.forEach(function(e){e.dynamic?(i+=32,o+=S(e.value.length)):i+=S(e.value.length)});var a=0,s=i,u=new Uint8Array(i+o);return n.forEach(function(e){e.dynamic?(u.set(w.encode(new A.BN(s)),a),a+=32,u.set(e.value,s),s+=S(e.value.length)):(u.set(e.value,a),a+=S(e.value.length))}),u}function F(e,t,r){var n=r,A=0,i=[];return e.forEach(function(e){var o;if(e.dynamic){var a=w.decode(t,r);(o=e.decode(t,n+a.value.toNumber())).consumed=a.consumed}else o=e.decode(t,r);void 0!==o.value&&i.push(o.value),r+=o.consumed,A+=o.consumed}),e.forEach(function(e,t){var r=e.localName;r&&("length"===r&&(r="_length"),null==i[r]&&(i[r]=i[t]))}),{value:i,consumed:A}}var x=function(e){function t(t,r,n,A){var i=this,o=r.type+"["+(n>=0?n:"")+"]",a=-1===n||r.dynamic;return(i=e.call(this,t,"array",o,A,a)||this).coder=r,i.length=n,i}return n.__extends(t,e),t.prototype.encode=function(e){Array.isArray(e)||A.throwError("expected array value",A.INVALID_ARGUMENT,{arg:this.localName,coderType:"array",value:e});var t=this.length,r=new Uint8Array(0);-1===t&&(t=e.length,r=w.encode(new A.BN(t))),A.checkArgumentCount(t,e.length," in coder array"+(this.localName?" "+this.localName:""));for(var n=[],i=0;i<e.length;i++)n.push(this.coder);return A.concat([r,N(n,e)])},t.prototype.decode=function(e,t){var r=0,n=this.length,i={consumed:0,value:void 0};if(-1===n){try{i=w.decode(e,t)}catch(e){A.throwError("insufficient data for dynamic array length",A.INVALID_ARGUMENT,{arg:this.localName,coderType:"array",value:e.value})}try{n=i.value.toNumber()}catch(e){A.throwError("array count too large",A.INVALID_ARGUMENT,{arg:this.localName,coderType:"array",value:i.value.toString()})}r+=i.consumed,t+=i.consumed}for(var o=[],a=0;a<n;a++)o.push(new m(this.coder));var s=F(o,e,t);return s.consumed+=r,s.value=this.coerceFunc(this.type,s.value),s},t}(C),G=function(e){function t(t,r,n){var A=this,i=!1,o=[];r.forEach(function(e){e.dynamic&&(i=!0),o.push(e.type)});var a="tuple("+o.join(",")+")";return(A=e.call(this,t,"tuple",a,n,i)||this).coders=r,A}return n.__extends(t,e),t.prototype.encode=function(e){return N(this.coders,e)},t.prototype.decode=function(e,t){var r=F(this.coders,e,t);return r.value=this.coerceFunc(this.type,r.value),r},t}(C);function H(e){e=e.trim();for(var t=[],r="",n=0,A=0;A<e.length;A++){var i=e[A];if(","===i&&0===n)t.push(r),r="";else if(r+=i,"("===i)n++;else if(")"===i&&-1===--n)throw new Error("unbalanced parenthsis")}return r&&t.push(r),t}var U,Y={address:v,bool:E,string:_,bytes:k};function L(e,t){var r=Y[t.type];if(r)return new r(e,t.name);var n=t.type.match(f);if(n)return(0===(a=parseInt(n[2]||"256",10))||a>256||a%8!=0)&&A.throwError("invalid "+n[1]+" bit length",A.INVALID_ARGUMENT,{arg:"param",value:t}),new Q(e,a/8,"int"===n[1],t.name||"");var i=t.type.match(c);if(i)return(0===(a=parseInt(i[1],10))||a>32)&&A.throwError("invalid bytes length",A.INVALID_ARGUMENT,{arg:"param",value:t}),new b(e,a,t.name||"");var o=t.type.match(d);if(o){var a=parseInt(o[2]||"-1",10);return(t=R(t)).type=o[1],t=J(t),new x(e,L(e,t),a,t.name||"")}return"tuple"===t.type.substring(0,5)?function(e,t,r){t||(t=[]);var n=[];return t.forEach(function(t){n.push(L(e,t))}),new G(e,n,r)}(e,t.components||[],t.name||""):""===t.type?new y(e,t.name||""):void A.throwError("invalid type",A.INVALID_ARGUMENT,{arg:"type",value:t.type})}function O(e,t){void 0===t&&(t=U.current),t!==U.current&&(A.checkNormalize(),e=e.normalize(t));for(var r=[],n=0;n<e.length;n++){var i=e.charCodeAt(n);if(i<128)r.push(i);else if(i<2048)r.push(i>>6|192),r.push(63&i|128);else if(55296==(64512&i)){n++;var o=e.charCodeAt(n);if(n>=e.length||56320!=(64512&o))throw new Error("invalid utf-8 string");i=65536+((1023&i)<<10)+(1023&o),r.push(i>>18|240),r.push(i>>12&63|128),r.push(i>>6&63|128),r.push(63&i|128)}else r.push(i>>12|224),r.push(i>>6&63|128),r.push(63&i|128)}return A.arrayify(r)||new Uint8Array}function K(e,t){e=A.arrayify(e)||new Uint8Array;for(var r="",n=0;n<e.length;){var i=e[n++];if(i>>7!=0){var o=null,a=null;if(192==(224&i))o=1,a=127;else if(224==(240&i))o=2,a=2047;else{if(240!=(248&i)){if(!t){if(128==(192&i))throw new Error("invalid utf8 byte sequence; unexpected continuation byte");throw new Error("invalid utf8 byte sequence; invalid prefix")}continue}o=3,a=65535}if(n+o>e.length){if(!t)throw new Error("invalid utf8 byte sequence; too short");for(;n<e.length&&e[n]>>6==2;n++);}else{for(var s=i&(1<<8-o-1)-1,u=0;u<o;u++){var l=e[n];if(128!=(192&l)){s=null;break}s=s<<6|63&l,n++}if(null!==s)if(s<=a){if(!t)throw new Error("invalid utf8 byte sequence; overlong")}else if(s>1114111){if(!t)throw new Error("invalid utf8 byte sequence; out-of-range")}else if(s>=55296&&s<=57343){if(!t)throw new Error("invalid utf8 byte sequence; utf-16 surrogate")}else s<=65535?r+=String.fromCharCode(s):(s-=65536,r+=String.fromCharCode(55296+(s>>10&1023),56320+(1023&s)));else if(!t)throw new Error("invalid utf8 byte sequence; invalid continuation byte")}}else r+=String.fromCharCode(i)}return r}function P(e,t){return e&&e._ethersType===t}function R(e){var t={};for(var r in e)t[r]=e[r];return t}!function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"}(U=t.UnicodeNormalizationForm||(t.UnicodeNormalizationForm={})),t.toUtf8Bytes=O,t.toUtf8String=K,t.formatBytes32String=function(e){var t=O(e);if(t.length>31)throw new Error("bytes32 string must be less than 32 bytes");return A.hexlify(A.concat([t,u]).slice(0,32))},t.parseBytes32String=function(e){var t=A.arrayify(e)||new Uint8Array;if(32!==t.length)throw new Error("invalid bytes32 - not 32 bytes long");if(0!==t[31])throw new Error("invalid bytes32 sdtring - no null terminator");for(var r=31;0===t[r-1];)r--;return K(t.slice(0,r))},t.isType=P,t.shallowCopy=R;var T={boolean:!0,number:!0,string:!0};function J(e,t){if(null==e||T[typeof e])return e;if(Array.isArray(e)){var r=e.map(function(e){return J(e,t)});return t&&Object.freeze(r),r}if("object"==typeof e){if(P(e,"BigNumber"))return e;if(P(e,"Description"))return e;if(P(e,"Indexed"))return e;r={};for(var n in e){var A=e[n];void 0!==A&&i.defineReadOnly(r,n,J(A,t))}return t&&Object.freeze(r),r}if("function"==typeof e)return e;throw new Error("Cannot deepCopy "+typeof e)}t.deepCopy=J;var j=function(){function e(r){A.checkNew(this,e),r||(r=t.defaultCoerceFunc),this.coerceFunc=r}return e.prototype.encode=function(e,t){var r=this;e.length!==t.length&&A.throwError("types/values length mismatch",A.INVALID_ARGUMENT,{count:{types:e.length,values:t.length},value:{types:e,values:t}});var n=[];e.forEach(function(e){var t=null;t="string"==typeof e?I(e):e,n.push(L(r.coerceFunc,t))},this);var i=new G(this.coerceFunc,n,"_").encode(t);return A.hexlify(i)},e.prototype.decode=function(e,t){var r=this,n=[];return e.forEach(function(e){var t=null;t="string"==typeof e?I(e):J(e),n.push(L(r.coerceFunc,t))},this),new G(this.coerceFunc,n,"_").decode(A.arrayify(t)||new Uint8Array,0).value},e}();t.AbiCoder=j,t.defaultAbiCoder=new j},function(e,t,r){"use strict";var n=r(17),A=r(114),i=A.getNAF,o=A.getJSF,a=A.assert;function s(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=s,s.prototype.point=function(){throw new Error("Not implemented")},s.prototype.validate=function(){throw new Error("Not implemented")},s.prototype._fixedNafMul=function(e,t){a(e.precomputed);var r=e._getDoubles(),n=i(t,1,this._bitLength),A=(1<<r.step+1)-(r.step%2==0?2:1);A/=3;for(var o=[],s=0;s<n.length;s+=r.step){var u=0;for(t=s+r.step-1;t>=s;t--)u=(u<<1)+n[t];o.push(u)}for(var l=this.jpoint(null,null,null),c=this.jpoint(null,null,null),f=A;f>0;f--){for(s=0;s<o.length;s++){(u=o[s])===f?c=c.mixedAdd(r.points[s]):u===-f&&(c=c.mixedAdd(r.points[s].neg()))}l=l.add(c)}return l.toP()},s.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var A=n.points,o=i(t,r,this._bitLength),s=this.jpoint(null,null,null),u=o.length-1;u>=0;u--){for(t=0;u>=0&&0===o[u];u--)t++;if(u>=0&&t++,s=s.dblp(t),u<0)break;var l=o[u];a(0!==l),s="affine"===e.type?l>0?s.mixedAdd(A[l-1>>1]):s.mixedAdd(A[-l-1>>1].neg()):l>0?s.add(A[l-1>>1]):s.add(A[-l-1>>1].neg())}return"affine"===e.type?s.toP():s},s.prototype._wnafMulAdd=function(e,t,r,n,A){for(var a=this._wnafT1,s=this._wnafT2,u=this._wnafT3,l=0,c=0;c<n;c++){var f=(b=t[c])._getNAFPoints(e);a[c]=f.wnd,s[c]=f.points}for(c=n-1;c>=1;c-=2){var d=c-1,g=c;if(1===a[d]&&1===a[g]){var h=[t[d],null,null,t[g]];0===t[d].y.cmp(t[g].y)?(h[1]=t[d].add(t[g]),h[2]=t[d].toJ().mixedAdd(t[g].neg())):0===t[d].y.cmp(t[g].y.redNeg())?(h[1]=t[d].toJ().mixedAdd(t[g]),h[2]=t[d].add(t[g].neg())):(h[1]=t[d].toJ().mixedAdd(t[g]),h[2]=t[d].toJ().mixedAdd(t[g].neg()));var p=[-3,-1,-5,-7,0,7,5,1,3],I=o(r[d],r[g]);l=Math.max(I[0].length,l),u[d]=new Array(l),u[g]=new Array(l);for(var B=0;B<l;B++){var C=0|I[0][B],m=0|I[1][B];u[d][B]=p[3*(C+1)+(m+1)],u[g][B]=0,s[d]=h}}else u[d]=i(r[d],a[d],this._bitLength),u[g]=i(r[g],a[g],this._bitLength),l=Math.max(u[d].length,l),l=Math.max(u[g].length,l)}var y=this.jpoint(null,null,null),Q=this._wnafT4;for(c=l;c>=0;c--){for(var w=0;c>=0;){var E=!0;for(B=0;B<n;B++)Q[B]=0|u[B][c],0!==Q[B]&&(E=!1);if(!E)break;w++,c--}if(c>=0&&w++,y=y.dblp(w),c<0)break;for(B=0;B<n;B++){var b,v=Q[B];0!==v&&(v>0?b=s[B][v-1>>1]:v<0&&(b=s[B][-v-1>>1].neg()),y="affine"===b.type?y.mixedAdd(b):y.add(b))}}for(c=0;c<n;c++)s[c]=null;return A?y:y.toP()},s.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},s.prototype.decodePoint=function(e,t){e=A.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r)return 6===e[0]?a(e[e.length-1]%2==0):7===e[0]&&a(e[e.length-1]%2==1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(e){return this.encode(e,!0)},u.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},u.prototype.encode=function(e,t){return A.encode(this._encode(t),e)},u.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},u.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,A=0;A<t;A+=e){for(var i=0;i<e;i++)n=n.dbl();r.push(n)}return{step:e,points:r}},u.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),A=1;A<r;A++)t[A]=t[A-1].add(n);return{wnd:e,points:t}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(161),A=r(534);t.assertToBeHexString=e=>{if("string"!=typeof e||!e.startsWith("0x")||Number.isNaN(+e))throw new n.InvalidHexString(e);return!0},t.assertToBeHexStringOrBigint=e=>{if("bigint"==typeof e)return!0;if("string"==typeof e){if(!e.startsWith("0x"))throw new n.HexStringShouldStartWith0x(e);return!0}throw new TypeError(`${e} should be type of string or bigint`)},t.assertToBeAddressPayload=e=>{if(!e.startsWith("0x0100")||46!==e.length)throw new n.InvalidAddressPayload(e);return!0},t.assertToBeAddress=e=>{if(46!==e.length)throw new n.InvalidAddress(e);try{const r=A.parseAddress(e,"hex");t.assertToBeAddressPayload(r)}catch(t){throw new n.InvalidAddress(e)}return!0},t.default={assertToBeHexString:t.assertToBeHexString,assertToBeHexStringOrBigint:t.assertToBeHexStringOrBigint,assertToBeAddressPayload:t.assertToBeAddressPayload,assertToBeAddress:t.assertToBeAddress}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={allowedDecodedLengths:[1,2,4,8,32],allowedEncodedLengths:[3,4,6,10,35],allowedPrefix:r(1862).allowedSS58,prefix:42};t.default=n},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(45),A=r(149),i=r(62),o=r(1e3);let a=o._default;const s="Invalid mnemonic",u="Invalid entropy",l="Invalid mnemonic checksum",c="A wordlist is required but a default could not be found.\nPlease explicitly pass a 2048 word array explicitly.";function f(e,t,r){for(;e.length<r;)e=t+e;return e}function d(e){return parseInt(e,2)}function g(e){return e.map(e=>f(e.toString(2),"0",8)).join("")}function h(e){const t=8*e.length/32;return g([...n("sha256").update(e).digest()]).slice(0,t)}function p(e){return"mnemonic"+(e||"")}function I(t,r){if(!(r=r||a))throw new Error(c);const n=(t||"").normalize("NFKD").split(" ");if(n.length%3!=0)throw new Error(s);const A=n.map(e=>{const t=r.indexOf(e);if(-1===t)throw new Error(s);return f(t.toString(2),"0",11)}).join(""),i=32*Math.floor(A.length/33),o=A.slice(0,i),g=A.slice(i),p=o.match(/(.{1,8})/g).map(d);if(p.length<16)throw new Error(u);if(p.length>32)throw new Error(u);if(p.length%4!=0)throw new Error(u);const I=e.from(p);if(h(I)!==g)throw new Error(l);return I.toString("hex")}function B(t,r){if(e.isBuffer(t)||(t=e.from(t,"hex")),!(r=r||a))throw new Error(c);if(t.length<16)throw new TypeError(u);if(t.length>32)throw new TypeError(u);if(t.length%4!=0)throw new TypeError(u);const n=(g([...t])+h(t)).match(/(.{1,11})/g).map(e=>{const t=d(e);return r[t]});return"あいこくしん"===r[0]?n.join("　"):n.join(" ")}t.mnemonicToSeedSync=function(t,r){const n=e.from((t||"").normalize("NFKD"),"utf8"),i=e.from(p((r||"").normalize("NFKD")),"utf8");return A.pbkdf2Sync(n,i,2048,64,"sha512")},t.mnemonicToSeed=function(t,r){return new Promise((n,i)=>{try{const o=e.from((t||"").normalize("NFKD"),"utf8"),a=e.from(p((r||"").normalize("NFKD")),"utf8");A.pbkdf2(o,a,2048,64,"sha512",(e,t)=>e?i(e):n(t))}catch(e){return i(e)}})},t.mnemonicToEntropy=I,t.entropyToMnemonic=B,t.generateMnemonic=function(e,t,r){if((e=e||128)%32!=0)throw new TypeError(u);return B((t=t||i)(e/8),r)},t.validateMnemonic=function(e,t){try{I(e,t)}catch(e){return!1}return!0},t.setDefaultWordlist=function(e){const t=o.wordlists[e];if(!t)throw new Error('Could not find wordlist for language "'+e+'"');a=t},t.getDefaultWordlist=function(){if(!a)throw new Error("No Default Wordlist set");return Object.keys(o.wordlists).filter(e=>"JA"!==e&&"EN"!==e&&o.wordlists[e].every((e,t)=>e===a[t]))[0]};var C=r(1e3);t.wordlists=C.wordlists}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e=32){return A.default.randomBytes(e)};var A=n(r(116))},function(e,t,r){"use strict";var n=r(162),A=r(117),i=A.getNAF,o=A.getJSF,a=A.assert;function s(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=s,s.prototype.point=function(){throw new Error("Not implemented")},s.prototype.validate=function(){throw new Error("Not implemented")},s.prototype._fixedNafMul=function(e,t){a(e.precomputed);var r=e._getDoubles(),n=i(t,1,this._bitLength),A=(1<<r.step+1)-(r.step%2==0?2:1);A/=3;for(var o=[],s=0;s<n.length;s+=r.step){var u=0;for(t=s+r.step-1;t>=s;t--)u=(u<<1)+n[t];o.push(u)}for(var l=this.jpoint(null,null,null),c=this.jpoint(null,null,null),f=A;f>0;f--){for(s=0;s<o.length;s++){(u=o[s])===f?c=c.mixedAdd(r.points[s]):u===-f&&(c=c.mixedAdd(r.points[s].neg()))}l=l.add(c)}return l.toP()},s.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var A=n.points,o=i(t,r,this._bitLength),s=this.jpoint(null,null,null),u=o.length-1;u>=0;u--){for(t=0;u>=0&&0===o[u];u--)t++;if(u>=0&&t++,s=s.dblp(t),u<0)break;var l=o[u];a(0!==l),s="affine"===e.type?l>0?s.mixedAdd(A[l-1>>1]):s.mixedAdd(A[-l-1>>1].neg()):l>0?s.add(A[l-1>>1]):s.add(A[-l-1>>1].neg())}return"affine"===e.type?s.toP():s},s.prototype._wnafMulAdd=function(e,t,r,n,A){for(var a=this._wnafT1,s=this._wnafT2,u=this._wnafT3,l=0,c=0;c<n;c++){var f=(b=t[c])._getNAFPoints(e);a[c]=f.wnd,s[c]=f.points}for(c=n-1;c>=1;c-=2){var d=c-1,g=c;if(1===a[d]&&1===a[g]){var h=[t[d],null,null,t[g]];0===t[d].y.cmp(t[g].y)?(h[1]=t[d].add(t[g]),h[2]=t[d].toJ().mixedAdd(t[g].neg())):0===t[d].y.cmp(t[g].y.redNeg())?(h[1]=t[d].toJ().mixedAdd(t[g]),h[2]=t[d].add(t[g].neg())):(h[1]=t[d].toJ().mixedAdd(t[g]),h[2]=t[d].toJ().mixedAdd(t[g].neg()));var p=[-3,-1,-5,-7,0,7,5,1,3],I=o(r[d],r[g]);l=Math.max(I[0].length,l),u[d]=new Array(l),u[g]=new Array(l);for(var B=0;B<l;B++){var C=0|I[0][B],m=0|I[1][B];u[d][B]=p[3*(C+1)+(m+1)],u[g][B]=0,s[d]=h}}else u[d]=i(r[d],a[d],this._bitLength),u[g]=i(r[g],a[g],this._bitLength),l=Math.max(u[d].length,l),l=Math.max(u[g].length,l)}var y=this.jpoint(null,null,null),Q=this._wnafT4;for(c=l;c>=0;c--){for(var w=0;c>=0;){var E=!0;for(B=0;B<n;B++)Q[B]=0|u[B][c],0!==Q[B]&&(E=!1);if(!E)break;w++,c--}if(c>=0&&w++,y=y.dblp(w),c<0)break;for(B=0;B<n;B++){var b,v=Q[B];0!==v&&(v>0?b=s[B][v-1>>1]:v<0&&(b=s[B][-v-1>>1].neg()),y="affine"===b.type?y.mixedAdd(b):y.add(b))}}for(c=0;c<n;c++)s[c]=null;return A?y:y.toP()},s.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},s.prototype.decodePoint=function(e,t){e=A.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r)return 6===e[0]?a(e[e.length-1]%2==0):7===e[0]&&a(e[e.length-1]%2==1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(e){return this.encode(e,!0)},u.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},u.prototype.encode=function(e,t){return A.encode(this._encode(t),e)},u.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},u.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,A=0;A<t;A+=e){for(var i=0;i<e;i++)n=n.dbl();r.push(n)}return{step:e,points:r}},u.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),A=1;A<r;A++)t[A]=t[A-1].add(n);return{wnd:e,points:t}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},function(e,t,r){"use strict";let n,A,i;Object.defineProperty(t,"__esModule",{value:!0}),t.MetaRegistryItem=t.MetaTypeInfo=t.TypeDefInfo=void 0,t.TypeDefInfo=n,function(e){e[e.BTreeMap=0]="BTreeMap",e[e.BTreeSet=1]="BTreeSet",e[e.Compact=2]="Compact",e[e.Enum=3]="Enum",e[e.Linkage=4]="Linkage",e[e.Option=5]="Option",e[e.Plain=6]="Plain",e[e.Result=7]="Result",e[e.Set=8]="Set",e[e.Struct=9]="Struct",e[e.Tuple=10]="Tuple",e[e.Vec=11]="Vec",e[e.VecFixed=12]="VecFixed",e[e.HashMap=13]="HashMap",e[e.Int=14]="Int",e[e.UInt=15]="UInt",e[e.Null=16]="Null"}(n||(t.TypeDefInfo=n={})),t.MetaTypeInfo=A,function(e){e[e.BuiltinPlain=0]="BuiltinPlain",e[e.BuiltinTuple=1]="BuiltinTuple",e[e.BuiltinVec=2]="BuiltinVec",e[e.BuiltinVecFixed=3]="BuiltinVecFixed",e[e.Enum=4]="Enum",e[e.ClikeEnum=5]="ClikeEnum",e[e.Struct=6]="Struct",e[e.TupleStruct=7]="TupleStruct",e[e.Null=8]="Null"}(A||(t.MetaTypeInfo=A={})),t.MetaRegistryItem=i,function(e){e[e.String=0]="String",e[e.Type=1]="Type",e[e.TypeDef=2]="TypeDef"}(i||(t.MetaRegistryItem=i={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.isString)(t)?e.createClass(t):t};var n=r(12)},function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function A(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o=r(1934).Buffer}catch(e){}function a(e,t,r){for(var A=0,i=Math.min(e.length,r),o=0,a=t;a<i;a++){var s,u=e.charCodeAt(a)-48;A<<=4,A|=s=u>=49&&u<=54?u-49+10:u>=17&&u<=22?u-17+10:u,o|=s}return n(!(240&o),"Invalid character in "+e),A}function s(e,t,r,A){for(var i=0,o=0,a=Math.min(e.length,r),s=t;s<a;s++){var u=e.charCodeAt(s)-48;i*=A,o=u>=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&o<A,"Invalid character"),i+=o}return i}function u(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}function l(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var A=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&A++,16===t?this._parseHex(e,A):this._parseBase(e,t,A),"-"===e[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var A=0;A<this.length;A++)this.words[A]=0;var i,o,a=0;if("be"===r)for(A=e.length-1,i=0;A>=0;A-=3)o=e[A]|e[A-1]<<8|e[A-2]<<16,this.words[i]|=o<<a&67108863,this.words[i+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);else if("le"===r)for(A=0,i=0;A<e.length;A+=3)o=e[A]|e[A+1]<<8|e[A+2]<<16,this.words[i]|=o<<a&67108863,this.words[i+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);return this._strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,A,i=0;for(r=e.length-6,n=0;r>=t;r-=6)A=a(e,r,r+6),this.words[n]|=A<<i&67108863,this.words[n+1]|=A>>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);r+6!==t&&(A=a(e,t,r+6),this.words[n]|=A<<i&67108863,this.words[n+1]|=A>>>26-i&4194303),this._strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,A=1;A<=67108863;A*=t)n++;n--,A=A/t|0;for(var i=e.length-r,o=i%n,a=Math.min(i,i-o)+r,u=0,l=r;l<a;l+=n)u=s(e,l,l+n,t),this.imuln(A),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var c=1;for(u=s(e,l,e.length,t),l=0;l<o;l++)c*=t;this.imuln(c),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},i.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype._move=function(e){u(e,this)},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for?i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l:i.prototype.inspect=l;var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var A=0,i=0,o=0;o<this.length;o++){var a=this.words[o],s=(16777215&(a<<A|i)).toString(16);r=0!==(i=a>>>24-A&16777215)||o!==this.length-1?c[6-s.length]+s+r:s+r,(A+=2)>=26&&(A-=26,o--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=f[e],l=d[e];r="";var g=this.clone();for(g.negative=0;!g.isZero();){var h=g.modrn(l).toString(e);r=(g=g.idivn(l)).isZero()?h+r:c[u-h.length]+h+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(e,t){return this.toArrayLike(o,e,t)}),i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function g(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var A=0|e.words[0],i=0|t.words[0],o=A*i,a=67108863&o,s=o/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var l=s>>>26,c=67108863&s,f=Math.min(u,t.length-1),d=Math.max(0,u-e.length+1);d<=f;d++){var g=u-d|0;l+=(o=(A=0|e.words[g])*(i=0|t.words[d])+c)/67108864|0,c=67108863&o}r.words[u]=0|c,s=0|l}return 0!==s?r.words[u]=0|s:r.length--,r._strip()}i.prototype.toArrayLike=function(e,t,r){this._strip();var A=this.byteLength(),i=r||Math.max(1,A);n(A<=i,"byte array longer than desired length"),n(i>0,"Requested array length <= 0");var o=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,i);return this["_toArrayLike"+("le"===t?"LE":"BE")](o,A),o},i.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,A=0,i=0;A<this.length;A++){var o=this.words[A]<<i|n;e[r++]=255&o,r<e.length&&(e[r++]=o>>8&255),r<e.length&&(e[r++]=o>>16&255),6===i?(r<e.length&&(e[r++]=o>>24&255),n=0,i=0):(n=o>>>24,i+=2)}if(r<e.length)for(e[r++]=n;r<e.length;)e[r++]=0},i.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,n=0,A=0,i=0;A<this.length;A++){var o=this.words[A]<<i|n;e[r--]=255&o,r>=0&&(e[r--]=o>>8&255),r>=0&&(e[r--]=o>>16&255),6===i?(r>=0&&(e[r--]=o>>24&255),n=0,i=0):(n=o>>>24,i+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},i.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this._strip()},i.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this._strip()},i.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var A=0;A<t;A++)this.words[A]=67108863&~this.words[A];return r>0&&(this.words[A]=~this.words[A]&67108863>>26-r),this._strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,A=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<A:this.words[r]&~(1<<A),this._strip()},i.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var A=0,i=0;i<n.length;i++)t=(0|r.words[i])+(0|n.words[i])+A,this.words[i]=67108863&t,A=t>>>26;for(;0!==A&&i<r.length;i++)t=(0|r.words[i])+A,this.words[i]=67108863&t,A=t>>>26;if(this.length=r.length,0!==A)this.words[this.length]=A,this.length++;else if(r!==this)for(;i<r.length;i++)this.words[i]=r.words[i];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,A=this.cmp(e);if(0===A)return this.negative=0,this.length=1,this.words[0]=0,this;A>0?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)i=(t=(0|r.words[o])-(0|n.words[o])+i)>>26,this.words[o]=67108863&t;for(;0!==i&&o<r.length;o++)i=(t=(0|r.words[o])+i)>>26,this.words[o]=67108863&t;if(0===i&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this._strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var h=function(e,t,r){var n,A,i,o=e.words,a=t.words,s=r.words,u=0,l=0|o[0],c=8191&l,f=l>>>13,d=0|o[1],g=8191&d,h=d>>>13,p=0|o[2],I=8191&p,B=p>>>13,C=0|o[3],m=8191&C,y=C>>>13,Q=0|o[4],w=8191&Q,E=Q>>>13,b=0|o[5],v=8191&b,D=b>>>13,M=0|o[6],k=8191&M,_=M>>>13,S=0|o[7],N=8191&S,F=S>>>13,x=0|o[8],G=8191&x,H=x>>>13,U=0|o[9],Y=8191&U,L=U>>>13,O=0|a[0],K=8191&O,P=O>>>13,R=0|a[1],T=8191&R,J=R>>>13,j=0|a[2],q=8191&j,V=j>>>13,W=0|a[3],z=8191&W,Z=W>>>13,X=0|a[4],$=8191&X,ee=X>>>13,te=0|a[5],re=8191&te,ne=te>>>13,Ae=0|a[6],ie=8191&Ae,oe=Ae>>>13,ae=0|a[7],se=8191&ae,ue=ae>>>13,le=0|a[8],ce=8191&le,fe=le>>>13,de=0|a[9],ge=8191&de,he=de>>>13;r.negative=e.negative^t.negative,r.length=19;var pe=(u+(n=Math.imul(c,K))|0)+((8191&(A=(A=Math.imul(c,P))+Math.imul(f,K)|0))<<13)|0;u=((i=Math.imul(f,P))+(A>>>13)|0)+(pe>>>26)|0,pe&=67108863,n=Math.imul(g,K),A=(A=Math.imul(g,P))+Math.imul(h,K)|0,i=Math.imul(h,P);var Ie=(u+(n=n+Math.imul(c,T)|0)|0)+((8191&(A=(A=A+Math.imul(c,J)|0)+Math.imul(f,T)|0))<<13)|0;u=((i=i+Math.imul(f,J)|0)+(A>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(I,K),A=(A=Math.imul(I,P))+Math.imul(B,K)|0,i=Math.imul(B,P),n=n+Math.imul(g,T)|0,A=(A=A+Math.imul(g,J)|0)+Math.imul(h,T)|0,i=i+Math.imul(h,J)|0;var Be=(u+(n=n+Math.imul(c,q)|0)|0)+((8191&(A=(A=A+Math.imul(c,V)|0)+Math.imul(f,q)|0))<<13)|0;u=((i=i+Math.imul(f,V)|0)+(A>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(m,K),A=(A=Math.imul(m,P))+Math.imul(y,K)|0,i=Math.imul(y,P),n=n+Math.imul(I,T)|0,A=(A=A+Math.imul(I,J)|0)+Math.imul(B,T)|0,i=i+Math.imul(B,J)|0,n=n+Math.imul(g,q)|0,A=(A=A+Math.imul(g,V)|0)+Math.imul(h,q)|0,i=i+Math.imul(h,V)|0;var Ce=(u+(n=n+Math.imul(c,z)|0)|0)+((8191&(A=(A=A+Math.imul(c,Z)|0)+Math.imul(f,z)|0))<<13)|0;u=((i=i+Math.imul(f,Z)|0)+(A>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(w,K),A=(A=Math.imul(w,P))+Math.imul(E,K)|0,i=Math.imul(E,P),n=n+Math.imul(m,T)|0,A=(A=A+Math.imul(m,J)|0)+Math.imul(y,T)|0,i=i+Math.imul(y,J)|0,n=n+Math.imul(I,q)|0,A=(A=A+Math.imul(I,V)|0)+Math.imul(B,q)|0,i=i+Math.imul(B,V)|0,n=n+Math.imul(g,z)|0,A=(A=A+Math.imul(g,Z)|0)+Math.imul(h,z)|0,i=i+Math.imul(h,Z)|0;var me=(u+(n=n+Math.imul(c,$)|0)|0)+((8191&(A=(A=A+Math.imul(c,ee)|0)+Math.imul(f,$)|0))<<13)|0;u=((i=i+Math.imul(f,ee)|0)+(A>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(v,K),A=(A=Math.imul(v,P))+Math.imul(D,K)|0,i=Math.imul(D,P),n=n+Math.imul(w,T)|0,A=(A=A+Math.imul(w,J)|0)+Math.imul(E,T)|0,i=i+Math.imul(E,J)|0,n=n+Math.imul(m,q)|0,A=(A=A+Math.imul(m,V)|0)+Math.imul(y,q)|0,i=i+Math.imul(y,V)|0,n=n+Math.imul(I,z)|0,A=(A=A+Math.imul(I,Z)|0)+Math.imul(B,z)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(g,$)|0,A=(A=A+Math.imul(g,ee)|0)+Math.imul(h,$)|0,i=i+Math.imul(h,ee)|0;var ye=(u+(n=n+Math.imul(c,re)|0)|0)+((8191&(A=(A=A+Math.imul(c,ne)|0)+Math.imul(f,re)|0))<<13)|0;u=((i=i+Math.imul(f,ne)|0)+(A>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(k,K),A=(A=Math.imul(k,P))+Math.imul(_,K)|0,i=Math.imul(_,P),n=n+Math.imul(v,T)|0,A=(A=A+Math.imul(v,J)|0)+Math.imul(D,T)|0,i=i+Math.imul(D,J)|0,n=n+Math.imul(w,q)|0,A=(A=A+Math.imul(w,V)|0)+Math.imul(E,q)|0,i=i+Math.imul(E,V)|0,n=n+Math.imul(m,z)|0,A=(A=A+Math.imul(m,Z)|0)+Math.imul(y,z)|0,i=i+Math.imul(y,Z)|0,n=n+Math.imul(I,$)|0,A=(A=A+Math.imul(I,ee)|0)+Math.imul(B,$)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(g,re)|0,A=(A=A+Math.imul(g,ne)|0)+Math.imul(h,re)|0,i=i+Math.imul(h,ne)|0;var Qe=(u+(n=n+Math.imul(c,ie)|0)|0)+((8191&(A=(A=A+Math.imul(c,oe)|0)+Math.imul(f,ie)|0))<<13)|0;u=((i=i+Math.imul(f,oe)|0)+(A>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,n=Math.imul(N,K),A=(A=Math.imul(N,P))+Math.imul(F,K)|0,i=Math.imul(F,P),n=n+Math.imul(k,T)|0,A=(A=A+Math.imul(k,J)|0)+Math.imul(_,T)|0,i=i+Math.imul(_,J)|0,n=n+Math.imul(v,q)|0,A=(A=A+Math.imul(v,V)|0)+Math.imul(D,q)|0,i=i+Math.imul(D,V)|0,n=n+Math.imul(w,z)|0,A=(A=A+Math.imul(w,Z)|0)+Math.imul(E,z)|0,i=i+Math.imul(E,Z)|0,n=n+Math.imul(m,$)|0,A=(A=A+Math.imul(m,ee)|0)+Math.imul(y,$)|0,i=i+Math.imul(y,ee)|0,n=n+Math.imul(I,re)|0,A=(A=A+Math.imul(I,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(g,ie)|0,A=(A=A+Math.imul(g,oe)|0)+Math.imul(h,ie)|0,i=i+Math.imul(h,oe)|0;var we=(u+(n=n+Math.imul(c,se)|0)|0)+((8191&(A=(A=A+Math.imul(c,ue)|0)+Math.imul(f,se)|0))<<13)|0;u=((i=i+Math.imul(f,ue)|0)+(A>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(G,K),A=(A=Math.imul(G,P))+Math.imul(H,K)|0,i=Math.imul(H,P),n=n+Math.imul(N,T)|0,A=(A=A+Math.imul(N,J)|0)+Math.imul(F,T)|0,i=i+Math.imul(F,J)|0,n=n+Math.imul(k,q)|0,A=(A=A+Math.imul(k,V)|0)+Math.imul(_,q)|0,i=i+Math.imul(_,V)|0,n=n+Math.imul(v,z)|0,A=(A=A+Math.imul(v,Z)|0)+Math.imul(D,z)|0,i=i+Math.imul(D,Z)|0,n=n+Math.imul(w,$)|0,A=(A=A+Math.imul(w,ee)|0)+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,n=n+Math.imul(m,re)|0,A=(A=A+Math.imul(m,ne)|0)+Math.imul(y,re)|0,i=i+Math.imul(y,ne)|0,n=n+Math.imul(I,ie)|0,A=(A=A+Math.imul(I,oe)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,oe)|0,n=n+Math.imul(g,se)|0,A=(A=A+Math.imul(g,ue)|0)+Math.imul(h,se)|0,i=i+Math.imul(h,ue)|0;var Ee=(u+(n=n+Math.imul(c,ce)|0)|0)+((8191&(A=(A=A+Math.imul(c,fe)|0)+Math.imul(f,ce)|0))<<13)|0;u=((i=i+Math.imul(f,fe)|0)+(A>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(Y,K),A=(A=Math.imul(Y,P))+Math.imul(L,K)|0,i=Math.imul(L,P),n=n+Math.imul(G,T)|0,A=(A=A+Math.imul(G,J)|0)+Math.imul(H,T)|0,i=i+Math.imul(H,J)|0,n=n+Math.imul(N,q)|0,A=(A=A+Math.imul(N,V)|0)+Math.imul(F,q)|0,i=i+Math.imul(F,V)|0,n=n+Math.imul(k,z)|0,A=(A=A+Math.imul(k,Z)|0)+Math.imul(_,z)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(v,$)|0,A=(A=A+Math.imul(v,ee)|0)+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,n=n+Math.imul(w,re)|0,A=(A=A+Math.imul(w,ne)|0)+Math.imul(E,re)|0,i=i+Math.imul(E,ne)|0,n=n+Math.imul(m,ie)|0,A=(A=A+Math.imul(m,oe)|0)+Math.imul(y,ie)|0,i=i+Math.imul(y,oe)|0,n=n+Math.imul(I,se)|0,A=(A=A+Math.imul(I,ue)|0)+Math.imul(B,se)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(g,ce)|0,A=(A=A+Math.imul(g,fe)|0)+Math.imul(h,ce)|0,i=i+Math.imul(h,fe)|0;var be=(u+(n=n+Math.imul(c,ge)|0)|0)+((8191&(A=(A=A+Math.imul(c,he)|0)+Math.imul(f,ge)|0))<<13)|0;u=((i=i+Math.imul(f,he)|0)+(A>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(Y,T),A=(A=Math.imul(Y,J))+Math.imul(L,T)|0,i=Math.imul(L,J),n=n+Math.imul(G,q)|0,A=(A=A+Math.imul(G,V)|0)+Math.imul(H,q)|0,i=i+Math.imul(H,V)|0,n=n+Math.imul(N,z)|0,A=(A=A+Math.imul(N,Z)|0)+Math.imul(F,z)|0,i=i+Math.imul(F,Z)|0,n=n+Math.imul(k,$)|0,A=(A=A+Math.imul(k,ee)|0)+Math.imul(_,$)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,A=(A=A+Math.imul(v,ne)|0)+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,n=n+Math.imul(w,ie)|0,A=(A=A+Math.imul(w,oe)|0)+Math.imul(E,ie)|0,i=i+Math.imul(E,oe)|0,n=n+Math.imul(m,se)|0,A=(A=A+Math.imul(m,ue)|0)+Math.imul(y,se)|0,i=i+Math.imul(y,ue)|0,n=n+Math.imul(I,ce)|0,A=(A=A+Math.imul(I,fe)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,fe)|0;var ve=(u+(n=n+Math.imul(g,ge)|0)|0)+((8191&(A=(A=A+Math.imul(g,he)|0)+Math.imul(h,ge)|0))<<13)|0;u=((i=i+Math.imul(h,he)|0)+(A>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(Y,q),A=(A=Math.imul(Y,V))+Math.imul(L,q)|0,i=Math.imul(L,V),n=n+Math.imul(G,z)|0,A=(A=A+Math.imul(G,Z)|0)+Math.imul(H,z)|0,i=i+Math.imul(H,Z)|0,n=n+Math.imul(N,$)|0,A=(A=A+Math.imul(N,ee)|0)+Math.imul(F,$)|0,i=i+Math.imul(F,ee)|0,n=n+Math.imul(k,re)|0,A=(A=A+Math.imul(k,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(v,ie)|0,A=(A=A+Math.imul(v,oe)|0)+Math.imul(D,ie)|0,i=i+Math.imul(D,oe)|0,n=n+Math.imul(w,se)|0,A=(A=A+Math.imul(w,ue)|0)+Math.imul(E,se)|0,i=i+Math.imul(E,ue)|0,n=n+Math.imul(m,ce)|0,A=(A=A+Math.imul(m,fe)|0)+Math.imul(y,ce)|0,i=i+Math.imul(y,fe)|0;var De=(u+(n=n+Math.imul(I,ge)|0)|0)+((8191&(A=(A=A+Math.imul(I,he)|0)+Math.imul(B,ge)|0))<<13)|0;u=((i=i+Math.imul(B,he)|0)+(A>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(Y,z),A=(A=Math.imul(Y,Z))+Math.imul(L,z)|0,i=Math.imul(L,Z),n=n+Math.imul(G,$)|0,A=(A=A+Math.imul(G,ee)|0)+Math.imul(H,$)|0,i=i+Math.imul(H,ee)|0,n=n+Math.imul(N,re)|0,A=(A=A+Math.imul(N,ne)|0)+Math.imul(F,re)|0,i=i+Math.imul(F,ne)|0,n=n+Math.imul(k,ie)|0,A=(A=A+Math.imul(k,oe)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,oe)|0,n=n+Math.imul(v,se)|0,A=(A=A+Math.imul(v,ue)|0)+Math.imul(D,se)|0,i=i+Math.imul(D,ue)|0,n=n+Math.imul(w,ce)|0,A=(A=A+Math.imul(w,fe)|0)+Math.imul(E,ce)|0,i=i+Math.imul(E,fe)|0;var Me=(u+(n=n+Math.imul(m,ge)|0)|0)+((8191&(A=(A=A+Math.imul(m,he)|0)+Math.imul(y,ge)|0))<<13)|0;u=((i=i+Math.imul(y,he)|0)+(A>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(Y,$),A=(A=Math.imul(Y,ee))+Math.imul(L,$)|0,i=Math.imul(L,ee),n=n+Math.imul(G,re)|0,A=(A=A+Math.imul(G,ne)|0)+Math.imul(H,re)|0,i=i+Math.imul(H,ne)|0,n=n+Math.imul(N,ie)|0,A=(A=A+Math.imul(N,oe)|0)+Math.imul(F,ie)|0,i=i+Math.imul(F,oe)|0,n=n+Math.imul(k,se)|0,A=(A=A+Math.imul(k,ue)|0)+Math.imul(_,se)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(v,ce)|0,A=(A=A+Math.imul(v,fe)|0)+Math.imul(D,ce)|0,i=i+Math.imul(D,fe)|0;var ke=(u+(n=n+Math.imul(w,ge)|0)|0)+((8191&(A=(A=A+Math.imul(w,he)|0)+Math.imul(E,ge)|0))<<13)|0;u=((i=i+Math.imul(E,he)|0)+(A>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(Y,re),A=(A=Math.imul(Y,ne))+Math.imul(L,re)|0,i=Math.imul(L,ne),n=n+Math.imul(G,ie)|0,A=(A=A+Math.imul(G,oe)|0)+Math.imul(H,ie)|0,i=i+Math.imul(H,oe)|0,n=n+Math.imul(N,se)|0,A=(A=A+Math.imul(N,ue)|0)+Math.imul(F,se)|0,i=i+Math.imul(F,ue)|0,n=n+Math.imul(k,ce)|0,A=(A=A+Math.imul(k,fe)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,fe)|0;var _e=(u+(n=n+Math.imul(v,ge)|0)|0)+((8191&(A=(A=A+Math.imul(v,he)|0)+Math.imul(D,ge)|0))<<13)|0;u=((i=i+Math.imul(D,he)|0)+(A>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(Y,ie),A=(A=Math.imul(Y,oe))+Math.imul(L,ie)|0,i=Math.imul(L,oe),n=n+Math.imul(G,se)|0,A=(A=A+Math.imul(G,ue)|0)+Math.imul(H,se)|0,i=i+Math.imul(H,ue)|0,n=n+Math.imul(N,ce)|0,A=(A=A+Math.imul(N,fe)|0)+Math.imul(F,ce)|0,i=i+Math.imul(F,fe)|0;var Se=(u+(n=n+Math.imul(k,ge)|0)|0)+((8191&(A=(A=A+Math.imul(k,he)|0)+Math.imul(_,ge)|0))<<13)|0;u=((i=i+Math.imul(_,he)|0)+(A>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(Y,se),A=(A=Math.imul(Y,ue))+Math.imul(L,se)|0,i=Math.imul(L,ue),n=n+Math.imul(G,ce)|0,A=(A=A+Math.imul(G,fe)|0)+Math.imul(H,ce)|0,i=i+Math.imul(H,fe)|0;var Ne=(u+(n=n+Math.imul(N,ge)|0)|0)+((8191&(A=(A=A+Math.imul(N,he)|0)+Math.imul(F,ge)|0))<<13)|0;u=((i=i+Math.imul(F,he)|0)+(A>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(Y,ce),A=(A=Math.imul(Y,fe))+Math.imul(L,ce)|0,i=Math.imul(L,fe);var Fe=(u+(n=n+Math.imul(G,ge)|0)|0)+((8191&(A=(A=A+Math.imul(G,he)|0)+Math.imul(H,ge)|0))<<13)|0;u=((i=i+Math.imul(H,he)|0)+(A>>>13)|0)+(Fe>>>26)|0,Fe&=67108863;var xe=(u+(n=Math.imul(Y,ge))|0)+((8191&(A=(A=Math.imul(Y,he))+Math.imul(L,ge)|0))<<13)|0;return u=((i=Math.imul(L,he))+(A>>>13)|0)+(xe>>>26)|0,xe&=67108863,s[0]=pe,s[1]=Ie,s[2]=Be,s[3]=Ce,s[4]=me,s[5]=ye,s[6]=Qe,s[7]=we,s[8]=Ee,s[9]=be,s[10]=ve,s[11]=De,s[12]=Me,s[13]=ke,s[14]=_e,s[15]=Se,s[16]=Ne,s[17]=Fe,s[18]=xe,0!==u&&(s[19]=u,r.length++),r};function p(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,A=0,i=0;i<r.length-1;i++){var o=A;A=0;for(var a=67108863&n,s=Math.min(i,t.length-1),u=Math.max(0,i-e.length+1);u<=s;u++){var l=i-u,c=(0|e.words[l])*(0|t.words[u]),f=67108863&c;a=67108863&(f=f+a|0),A+=(o=(o=o+(c/67108864|0)|0)+(f>>>26)|0)>>>26,o&=67108863}r.words[i]=a,n=o,o=A}return 0!==n?r.words[i]=n:r.length--,r._strip()}function I(e,t,r){return p(e,t,r)}function B(e,t){this.x=e,this.y=t}Math.imul||(h=g),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?h(this,e,t):r<63?g(this,e,t):r<1024?p(this,e,t):I(this,e,t)},B.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},B.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,A=0;A<t;A++)n|=(1&e)<<t-A-1,e>>=1;return n},B.prototype.permute=function(e,t,r,n,A,i){for(var o=0;o<i;o++)n[o]=t[e[o]],A[o]=r[e[o]]},B.prototype.transform=function(e,t,r,n,A,i){this.permute(i,e,t,r,n,A);for(var o=1;o<A;o<<=1)for(var a=o<<1,s=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),l=0;l<A;l+=a)for(var c=s,f=u,d=0;d<o;d++){var g=r[l+d],h=n[l+d],p=r[l+d+o],I=n[l+d+o],B=c*p-f*I;I=c*I+f*p,p=B,r[l+d]=g+p,n[l+d]=h+I,r[l+d+o]=g-p,n[l+d+o]=h-I,d!==a&&(B=s*c-u*f,f=s*f+u*c,c=B)}},B.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,A=0;for(r=r/2|0;r;r>>>=1)A++;return 1<<A+1+n},B.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var A=e[n];e[n]=e[r-n-1],e[r-n-1]=A,A=t[n],t[n]=-t[r-n-1],t[r-n-1]=-A}},B.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var A=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&A,r=A<67108864?0:A/67108864|0}return e},B.prototype.convert13b=function(e,t,r,A){for(var i=0,o=0;o<t;o++)i+=0|e[o],r[2*o]=8191&i,i>>>=13,r[2*o+1]=8191&i,i>>>=13;for(o=2*t;o<A;++o)r[o]=0;n(0===i),n(0==(-8192&i))},B.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},B.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),A=this.makeRBT(n),i=this.stub(n),o=new Array(n),a=new Array(n),s=new Array(n),u=new Array(n),l=new Array(n),c=new Array(n),f=r.words;f.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,i,a,s,n,A),this.transform(u,i,l,c,n,A);for(var d=0;d<n;d++){var g=a[d]*l[d]-s[d]*c[d];s[d]=a[d]*c[d]+s[d]*l[d],a[d]=g}return this.conjugate(a,s,n),this.transform(a,s,f,i,n,A),this.conjugate(f,i,n),this.normalize13b(f,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),I(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"==typeof e),n(e<67108864);for(var r=0,A=0;A<this.length;A++){var i=(0|this.words[A])*e,o=(67108863&i)+(67108863&r);r>>=26,r+=i/67108864|0,r+=o>>>26,this.words[A]=67108863&o}return 0!==r&&(this.words[A]=r,this.length++),t?this.ineg():this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,A=r%26;t[r]=e.words[n]>>>A&1}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var A=r.sqr();n<t.length;n++,A=A.sqr())0!==t[n]&&(r=r.mul(A));return r},i.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,A=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var a=this.words[t]&i,s=(0|this.words[t])-a<<r;this.words[t]=s|o,o=a>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==A){for(t=this.length-1;t>=0;t--)this.words[t+A]=this.words[t];for(t=0;t<A;t++)this.words[t]=0;this.length+=A}return this._strip()},i.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,r){var A;n("number"==typeof e&&e>=0),A=t?(t-t%26)/26:0;var i=e%26,o=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<<i,s=r;if(A-=o,A=Math.max(0,A),s){for(var u=0;u<o;u++)s.words[u]=this.words[u];s.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=A);u--){var c=0|this.words[u];this.words[u]=l<<26-i|c>>>i,l=c&a}return s&&0!==l&&(s.words[s.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,A=1<<t;return!(this.length<=r)&&!!(this.words[r]&A)},i.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var A=67108863^67108863>>>t<<t;this.words[this.length-1]&=A}return this._strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,r){var A,i,o=e.length+r;this._expand(o);var a=0;for(A=0;A<e.length;A++){i=(0|this.words[A+r])+a;var s=(0|e.words[A])*t;a=((i-=67108863&s)>>26)-(s/67108864|0),this.words[A+r]=67108863&i}for(;A<this.length-r;A++)a=(i=(0|this.words[A+r])+a)>>26,this.words[A+r]=67108863&i;if(0===a)return this._strip();for(n(-1===a),a=0,A=0;A<this.length;A++)a=(i=-(0|this.words[A])+a)>>26,this.words[A]=67108863&i;return this.negative=1,this._strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),A=e,o=0|A.words[A.length-1];0!==(r=26-this._countBits(o))&&(A=A.ushln(r),n.iushln(r),o=0|A.words[A.length-1]);var a,s=n.length-A.length;if("mod"!==t){(a=new i(null)).length=s+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var l=n.clone()._ishlnsubmul(A,1,s);0===l.negative&&(n=l,a&&(a.words[s]=1));for(var c=s-1;c>=0;c--){var f=67108864*(0|n.words[A.length+c])+(0|n.words[A.length+c-1]);for(f=Math.min(f/o|0,67108863),n._ishlnsubmul(A,f,c);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(A,1,c),n.isZero()||(n.negative^=1);a&&(a.words[c]=f)}return a&&a._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(A=a.div.neg()),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:A,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(A=a.div.neg()),{div:A,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modrn(e.words[0]))}:this._wordDiv(e,t);var A,o,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),A=e.andln(1),i=r.cmp(n);return i<0||1===A&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,A=0,i=this.length-1;i>=0;i--)A=(r*A+(0|this.words[i]))%e;return t?-A:A},i.prototype.modn=function(e){return this.modrn(e)},i.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,A=this.length-1;A>=0;A--){var i=(0|this.words[A])+67108864*r;this.words[A]=i/e|0,r=i%e}return this._strip(),t?this.ineg():this},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var A=new i(1),o=new i(0),a=new i(0),s=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),c=t.clone();!t.isZero();){for(var f=0,d=1;0==(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(A.isOdd()||o.isOdd())&&(A.iadd(l),o.isub(c)),A.iushrn(1),o.iushrn(1);for(var g=0,h=1;0==(r.words[0]&h)&&g<26;++g,h<<=1);if(g>0)for(r.iushrn(g);g-- >0;)(a.isOdd()||s.isOdd())&&(a.iadd(l),s.isub(c)),a.iushrn(1),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),A.isub(a),o.isub(s)):(r.isub(t),a.isub(A),s.isub(o))}return{a:a,b:s,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var A,o=new i(1),a=new i(0),s=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(s),o.iushrn(1);for(var c=0,f=1;0==(r.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(r.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a)):(r.isub(t),a.isub(o))}return(A=0===t.cmpn(1)?o:a).cmpn(0)<0&&A.iadd(e),A},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var A=t.cmp(r);if(A<0){var i=t;t=r,r=i}else if(0===A||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,A=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=A,this;for(var i=A,o=r;0!==i&&o<this.length;o++){var a=0|this.words[o];i=(a+=i)>>>26,a&=67108863,this.words[o]=a}return 0!==i&&(this.words[o]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var A=0|this.words[0];t=A===e?0:A<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],A=0|e.words[r];if(n!==A){n<A?t=-1:n>A&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new b(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var C={k256:null,p224:null,p192:null,p25519:null};function m(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){m.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Q(){m.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){m.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){m.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function b(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function v(e){b.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}m.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},m.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):r._strip(),r},m.prototype.split=function(e,t){e.iushrn(this.n,0,t)},m.prototype.imulK=function(e){return e.imul(this.k)},A(y,m),y.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var A=e.words[9];for(t.words[t.length++]=4194303&A,n=10;n<e.length;n++){var i=0|e.words[n];e.words[n-10]=(4194303&i)<<4|A>>>22,A=i}A>>>=22,e.words[n-10]=A,0===A&&e.length>10?e.length-=10:e.length-=9},y.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},A(Q,m),A(w,m),A(E,m),E.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,A=67108863&n;n>>>=26,e.words[r]=A,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(C[e])return C[e];var t;if("k256"===e)t=new y;else if("p224"===e)t=new Q;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new E}return C[e]=t,t},b.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},b.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},b.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},b.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},b.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},b.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},b.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},b.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},b.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},b.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},b.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},b.prototype.isqr=function(e){return this.imul(e,e.clone())},b.prototype.sqr=function(e){return this.mul(e,e)},b.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var A=this.m.subn(1),o=0;!A.isZero()&&0===A.andln(1);)o++,A.iushrn(1);n(!A.isZero());var a=new i(1).toRed(this),s=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(s);)l.redIAdd(s);for(var c=this.pow(l,A),f=this.pow(e,A.addn(1).iushrn(1)),d=this.pow(e,A),g=o;0!==d.cmp(a);){for(var h=d,p=0;0!==h.cmp(a);p++)h=h.redSqr();n(p<g);var I=this.pow(c,new i(1).iushln(g-p-1));f=f.redMul(I),c=I.redSqr(),d=d.redMul(c),g=p}return f},b.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},b.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var A=r[0],o=0,a=0,s=t.bitLength()%26;for(0===s&&(s=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=s-1;l>=0;l--){var c=u>>l&1;A!==r[0]&&(A=this.sqr(A)),0!==c||0!==o?(o<<=1,o|=c,(4===++a||0===n&&0===l)&&(A=this.mul(A,r[o]),a=0,o=0)):a=0}s=26}return A},b.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},b.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new v(e)},A(v,b),v.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},v.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},v.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=r.isub(n).iushrn(this.shift),i=A;return A.cmp(this.m)>=0?i=A.isub(this.m):A.cmpn(0)<0&&(i=A.iadd(this.m)),i._forceRed(this)},v.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=r.isub(n).iushrn(this.shift),o=A;return A.cmp(this.m)>=0?o=A.isub(this.m):A.cmpn(0)<0&&(o=A.iadd(this.m)),o._forceRed(this)},v.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(96)(e))},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=n(r(139)),o=r(165),a=n(r(544));const s=32768;class u extends a.default{constructor(e,t,r=[]){const n=(0,o.typeToConstructor)(e,t);super(e,...u.decodeVec(e,n,r)),this._Type=void 0,this._Type=n}static decodeVec(e,t,r){if(Array.isArray(r))return r.map((r,n)=>{try{return r instanceof t?r:new t(e,r)}catch(e){throw console.error("Unable to decode Vec on index ".concat(n),e.message),e}});const n=(0,A.u8aToU8a)(r),[a,u]=i.default.decodeU8a(n);return(0,A.assert)(u.lten(s),"Vec length ".concat(u.toString()," exceeds ").concat(s)),(0,o.decodeU8a)(e,n.subarray(a),new Array(u.toNumber()).fill(t))}static with(e){return class extends u{constructor(t,r){super(t,e,r)}}}get Type(){return this._Type.name}indexOf(e){const t=e instanceof this._Type?e:new this._Type(this.registry,e);for(let e=0;e<this.length;e++)if(t.eq(this[e]))return e;return-1}toRawType(){return"Vec<".concat(new this._Type(this.registry).toRawType(),">")}}t.default=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sign=function(e,t,r){const A=t.length>256?(0,n.blake2AsU8a)(t):t;return e.sign(A,r)};var n=r(42)},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,A.default)(t);r=String(r);if(!r)return e(t,4)||e(t,6);if("4"===r){if(!i.test(t))return!1;var n=t.split(".").sort(function(e,t){return e-t});return n[3]<=255}if("6"===r){var a=t.split(":"),s=!1,u=e(a[a.length-1],4),l=u?7:8;if(a.length>l)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(a.shift(),a.shift(),s=!0):"::"===t.substr(t.length-2)&&(a.pop(),a.pop(),s=!0);for(var c=0;c<a.length;++c)if(""===a[c]&&c>0&&c<a.length-1){if(s)return!1;s=!0}else if(u&&c===a.length-1);else if(!o.test(a[c]))return!1;return s?a.length>=1:a.length===l}return!1};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,o=/^[0-9A-F]{1,4}$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commaDecimal=t.dotDecimal=t.arabicLocales=t.englishLocales=t.decimal=t.alphanumeric=t.alpha=void 0;var n={"en-US":/^[A-Z]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ω]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/};t.alpha=n;var A={"en-US":/^[0-9A-Z]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/};t.alphanumeric=A;var i={"en-US":".",ar:"٫"};t.decimal=i;var o=["AU","GB","HK","IN","NZ","ZA","ZM"];t.englishLocales=o;for(var a,s=0;s<o.length;s++)n[a="en-".concat(o[s])]=n["en-US"],A[a]=A["en-US"],i[a]=i["en-US"];var u=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];t.arabicLocales=u;for(var l,c=0;c<u.length;c++)n[l="ar-".concat(u[c])]=n.ar,A[l]=A.ar,i[l]=i.ar;var f=[];t.dotDecimal=f;var d=["bg-BG","cs-CZ","da-DK","de-DE","el-GR","es-ES","fr-FR","it-IT","ku-IQ","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA"];t.commaDecimal=d;for(var g=0;g<f.length;g++)i[f[g]]=i["en-US"];for(var h=0;h<d.length;h++)i[d[h]]=",";n["pt-BR"]=n["pt-PT"],A["pt-BR"]=A["pt-PT"],i["pt-BR"]=i["pt-PT"],n["pl-Pl"]=n["pl-PL"],A["pl-Pl"]=A["pl-PL"],i["pl-Pl"]=i["pl-PL"]},function(e,t,r){"use strict";r.r(t);var n=r(2),A=r(26),i=r(25);function o(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.durationSelector))},e}(),s=function(e){function t(t,r){var n=e.call(this,t)||this;return n.durationSelector=r,n.hasValue=!1,n}return n.__extends(t,e),t.prototype._next=function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t=void 0;try{t=(0,this.durationSelector)(e)}catch(e){return this.destination.error(e)}var r=Object(i.a)(this,t);!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}},t.prototype.clearThrottle=function(){var e=this.value,t=this.hasValue,r=this.throttled;r&&(this.remove(r),this.throttled=null,r.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))},t.prototype.notifyNext=function(e,t,r,n){this.clearThrottle()},t.prototype.notifyComplete=function(){this.clearThrottle()},t}(A.a),u=r(46),l=r(368);function c(e,t){return void 0===t&&(t=u.a),o(function(){return Object(l.a)(e,t)})}function f(e){return function(t){return t.lift(new d(e))}}var d=function(){function e(e){this.closingNotifier=e}return e.prototype.call=function(e,t){return t.subscribe(new g(e,this.closingNotifier))},e}(),g=function(e){function t(t,r){var n=e.call(this,t)||this;return n.buffer=[],n.add(Object(i.a)(n,r)),n}return n.__extends(t,e),t.prototype._next=function(e){this.buffer.push(e)},t.prototype.notifyNext=function(e,t,r,n,A){var i=this.buffer;this.buffer=[],this.destination.next(i)},t}(A.a),h=r(13);function p(e,t){return void 0===t&&(t=null),function(r){return r.lift(new I(e,t))}}var I=function(){function e(e,t){this.bufferSize=e,this.startBufferEvery=t,this.subscriberClass=t&&e!==t?C:B}return e.prototype.call=function(e,t){return t.subscribe(new this.subscriberClass(e,this.bufferSize,this.startBufferEvery))},e}(),B=function(e){function t(t,r){var n=e.call(this,t)||this;return n.bufferSize=r,n.buffer=[],n}return n.__extends(t,e),t.prototype._next=function(e){var t=this.buffer;t.push(e),t.length==this.bufferSize&&(this.destination.next(t),this.buffer=[])},t.prototype._complete=function(){var t=this.buffer;t.length>0&&this.destination.next(t),e.prototype._complete.call(this)},t}(h.a),C=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.bufferSize=r,A.startBufferEvery=n,A.buffers=[],A.count=0,A}return n.__extends(t,e),t.prototype._next=function(e){var t=this.bufferSize,r=this.startBufferEvery,n=this.buffers,A=this.count;this.count++,A%r==0&&n.push([]);for(var i=n.length;i--;){var o=n[i];o.push(e),o.length===t&&(n.splice(i,1),this.destination.next(o))}},t.prototype._complete=function(){for(var t=this.buffers,r=this.destination;t.length>0;){var n=t.shift();n.length>0&&r.next(n)}e.prototype._complete.call(this)},t}(h.a),m=r(55);function y(e){var t=arguments.length,r=u.a;Object(m.a)(arguments[arguments.length-1])&&(r=arguments[arguments.length-1],t--);var n=null;t>=2&&(n=arguments[1]);var A=Number.POSITIVE_INFINITY;return t>=3&&(A=arguments[2]),function(t){return t.lift(new Q(e,n,A,r))}}var Q=function(){function e(e,t,r,n){this.bufferTimeSpan=e,this.bufferCreationInterval=t,this.maxBufferSize=r,this.scheduler=n}return e.prototype.call=function(e,t){return t.subscribe(new E(e,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},e}(),w=function(){return function(){this.buffer=[]}}(),E=function(e){function t(t,r,n,A,i){var o=e.call(this,t)||this;o.bufferTimeSpan=r,o.bufferCreationInterval=n,o.maxBufferSize=A,o.scheduler=i,o.contexts=[];var a=o.openContext();if(o.timespanOnly=null==n||n<0,o.timespanOnly){var s={subscriber:o,context:a,bufferTimeSpan:r};o.add(a.closeAction=i.schedule(b,r,s))}else{var u={subscriber:o,context:a},l={bufferTimeSpan:r,bufferCreationInterval:n,subscriber:o,scheduler:i};o.add(a.closeAction=i.schedule(D,r,u)),o.add(i.schedule(v,n,l))}return o}return n.__extends(t,e),t.prototype._next=function(e){for(var t,r=this.contexts,n=r.length,A=0;A<n;A++){var i=r[A],o=i.buffer;o.push(e),o.length==this.maxBufferSize&&(t=i)}t&&this.onBufferFull(t)},t.prototype._error=function(t){this.contexts.length=0,e.prototype._error.call(this,t)},t.prototype._complete=function(){for(var t=this.contexts,r=this.destination;t.length>0;){var n=t.shift();r.next(n.buffer)}e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.contexts=null},t.prototype.onBufferFull=function(e){this.closeContext(e);var t=e.closeAction;if(t.unsubscribe(),this.remove(t),!this.closed&&this.timespanOnly){e=this.openContext();var r=this.bufferTimeSpan,n={subscriber:this,context:e,bufferTimeSpan:r};this.add(e.closeAction=this.scheduler.schedule(b,r,n))}},t.prototype.openContext=function(){var e=new w;return this.contexts.push(e),e},t.prototype.closeContext=function(e){this.destination.next(e.buffer);var t=this.contexts;(t?t.indexOf(e):-1)>=0&&t.splice(t.indexOf(e),1)},t}(h.a);function b(e){var t=e.subscriber,r=e.context;r&&t.closeContext(r),t.closed||(e.context=t.openContext(),e.context.closeAction=this.schedule(e,e.bufferTimeSpan))}function v(e){var t=e.bufferCreationInterval,r=e.bufferTimeSpan,n=e.subscriber,A=e.scheduler,i=n.openContext();n.closed||(n.add(i.closeAction=A.schedule(D,r,{subscriber:n,context:i})),this.schedule(e,t))}function D(e){var t=e.subscriber,r=e.context;t.closeContext(r)}var M=r(32);function k(e,t){return function(r){return r.lift(new _(e,t))}}var _=function(){function e(e,t){this.openings=e,this.closingSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new S(e,this.openings,this.closingSelector))},e}(),S=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.openings=r,A.closingSelector=n,A.contexts=[],A.add(Object(i.a)(A,r)),A}return n.__extends(t,e),t.prototype._next=function(e){for(var t=this.contexts,r=t.length,n=0;n<r;n++)t[n].buffer.push(e)},t.prototype._error=function(t){for(var r=this.contexts;r.length>0;){var n=r.shift();n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,e.prototype._error.call(this,t)},t.prototype._complete=function(){for(var t=this.contexts;t.length>0;){var r=t.shift();this.destination.next(r.buffer),r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,r,n,A){e?this.closeBuffer(e):this.openBuffer(t)},t.prototype.notifyComplete=function(e){this.closeBuffer(e.context)},t.prototype.openBuffer=function(e){try{var t=this.closingSelector.call(this,e);t&&this.trySubscribe(t)}catch(e){this._error(e)}},t.prototype.closeBuffer=function(e){var t=this.contexts;if(t&&e){var r=e.buffer,n=e.subscription;this.destination.next(r),t.splice(t.indexOf(e),1),this.remove(n),n.unsubscribe()}},t.prototype.trySubscribe=function(e){var t=this.contexts,r=new M.a,n={buffer:[],subscription:r};t.push(n);var A=Object(i.a)(this,e,n);!A||A.closed?this.closeBuffer(n):(A.context=n,this.add(A),r.add(A))},t}(A.a);function N(e){return function(t){return t.lift(new F(e))}}var F=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new x(e,this.closingSelector))},e}(),x=function(e){function t(t,r){var n=e.call(this,t)||this;return n.closingSelector=r,n.subscribing=!1,n.openBuffer(),n}return n.__extends(t,e),t.prototype._next=function(e){this.buffer.push(e)},t.prototype._complete=function(){var t=this.buffer;t&&this.destination.next(t),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},t.prototype.notifyNext=function(e,t,r,n,A){this.openBuffer()},t.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},t.prototype.openBuffer=function(){var e=this.closingSubscription;e&&(this.remove(e),e.unsubscribe());var t,r=this.buffer;this.buffer&&this.destination.next(r),this.buffer=[];try{t=(0,this.closingSelector)()}catch(e){return this.error(e)}e=new M.a,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add(Object(i.a)(this,t)),this.subscribing=!1},t}(A.a),G=r(82);function H(e){return function(t){var r=new U(e),n=t.lift(r);return r.caught=n}}var U=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new Y(e,this.selector,this.caught))},e}(),Y=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.selector=r,A.caught=n,A}return n.__extends(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=void 0;try{r=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var n=new G.a(this,void 0,void 0);this.add(n),Object(i.a)(this,r,void 0,void 0,n)}},t}(A.a),L=r(243);function O(e){return function(t){return t.lift(new L.a(e))}}var K=r(43),P=r(64);function R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=null;return"function"==typeof e[e.length-1]&&(r=e.pop()),1===e.length&&Object(K.a)(e[0])&&(e=e[0].slice()),function(t){return t.lift.call(Object(P.a)([t].concat(e)),new L.a(r))}}var T=r(167);function J(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return t.lift.call(T.a.apply(void 0,[t].concat(e)))}}var j=r(369),q=r(130);function V(e,t){return Object(q.a)(e,t,1)}function W(e,t){return V(function(){return e},t)}function z(e){return function(t){return t.lift(new Z(e,t))}}var Z=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new X(e,this.predicate,this.source))},e}(),X=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.predicate=r,A.source=n,A.count=0,A.index=0,A}return n.__extends(t,e),t.prototype._next=function(e){this.predicate?this._tryPredicate(e):this.count++},t.prototype._tryPredicate=function(e){var t;try{t=this.predicate(e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t&&this.count++},t.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},t}(h.a);function $(e){return function(t){return t.lift(new ee(e))}}var ee=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new te(e,this.durationSelector))},e}(),te=function(e){function t(t,r){var n=e.call(this,t)||this;return n.durationSelector=r,n.hasValue=!1,n.durationSubscription=null,n}return n.__extends(t,e),t.prototype._next=function(e){try{var t=this.durationSelector.call(this,e);t&&this._tryNext(e,t)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){this.emitValue(),this.destination.complete()},t.prototype._tryNext=function(e,t){var r=this.durationSubscription;this.value=e,this.hasValue=!0,r&&(r.unsubscribe(),this.remove(r)),(r=Object(i.a)(this,t))&&!r.closed&&this.add(this.durationSubscription=r)},t.prototype.notifyNext=function(e,t,r,n,A){this.emitValue()},t.prototype.notifyComplete=function(){this.emitValue()},t.prototype.emitValue=function(){if(this.hasValue){var t=this.value,r=this.durationSubscription;r&&(this.durationSubscription=null,r.unsubscribe(),this.remove(r)),this.value=null,this.hasValue=!1,e.prototype._next.call(this,t)}},t}(A.a);function re(e,t){return void 0===t&&(t=u.a),function(r){return r.lift(new ne(e,t))}}var ne=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new Ae(e,this.dueTime,this.scheduler))},e}(),Ae=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.dueTime=r,A.scheduler=n,A.debouncedSubscription=null,A.lastValue=null,A.hasValue=!1,A}return n.__extends(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(ie,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(h.a);function ie(e){e.debouncedNext()}function oe(e){return void 0===e&&(e=null),function(t){return t.lift(new ae(e))}}var ae=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new se(e,this.defaultValue))},e}(),se=function(e){function t(t,r){var n=e.call(this,t)||this;return n.defaultValue=r,n.isEmpty=!0,n}return n.__extends(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(h.a);function ue(e){return e instanceof Date&&!isNaN(+e)}var le=r(95);function ce(e,t){void 0===t&&(t=u.a);var r=ue(e)?+e-t.now():Math.abs(e);return function(e){return e.lift(new fe(r,t))}}var fe=function(){function e(e,t){this.delay=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new de(e,this.delay,this.scheduler))},e}(),de=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.delay=r,A.scheduler=n,A.queue=[],A.active=!1,A.errored=!1,A}return n.__extends(t,e),t.dispatch=function(e){for(var t=e.source,r=t.queue,n=e.scheduler,A=e.destination;r.length>0&&r[0].time-n.now()<=0;)r.shift().notification.observe(A);if(r.length>0){var i=Math.max(0,r[0].time-n.now());this.schedule(e,i)}else this.unsubscribe(),t.active=!1},t.prototype._schedule=function(e){this.active=!0,this.destination.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},t.prototype.scheduleNotification=function(e){if(!0!==this.errored){var t=this.scheduler,r=new ge(t.now()+this.delay,e);this.queue.push(r),!1===this.active&&this._schedule(t)}},t.prototype._next=function(e){this.scheduleNotification(le.a.createNext(e))},t.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.scheduleNotification(le.a.createComplete()),this.unsubscribe()},t}(h.a),ge=function(){return function(e,t){this.time=e,this.notification=t}}(),he=r(21);function pe(e,t){return t?function(r){return new Ce(r,t).lift(new Ie(e))}:function(t){return t.lift(new Ie(e))}}var Ie=function(){function e(e){this.delayDurationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Be(e,this.delayDurationSelector))},e}(),Be=function(e){function t(t,r){var n=e.call(this,t)||this;return n.delayDurationSelector=r,n.completed=!1,n.delayNotifierSubscriptions=[],n.index=0,n}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,A){this.destination.next(e),this.removeSubscription(A),this.tryComplete()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){var t=this.removeSubscription(e);t&&this.destination.next(t),this.tryComplete()},t.prototype._next=function(e){var t=this.index++;try{var r=this.delayDurationSelector(e,t);r&&this.tryDelay(r,e)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},t.prototype.removeSubscription=function(e){e.unsubscribe();var t=this.delayNotifierSubscriptions.indexOf(e);return-1!==t&&this.delayNotifierSubscriptions.splice(t,1),e.outerValue},t.prototype.tryDelay=function(e,t){var r=Object(i.a)(this,e,t);r&&!r.closed&&(this.destination.add(r),this.delayNotifierSubscriptions.push(r))},t.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},t}(A.a),Ce=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subscriptionDelay=r,n}return n.__extends(t,e),t.prototype._subscribe=function(e){this.subscriptionDelay.subscribe(new me(e,this.source))},t}(he.a),me=function(e){function t(t,r){var n=e.call(this)||this;return n.parent=t,n.source=r,n.sourceSubscribed=!1,n}return n.__extends(t,e),t.prototype._next=function(e){this.subscribeToSource()},t.prototype._error=function(e){this.unsubscribe(),this.parent.error(e)},t.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},t.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},t}(h.a);function ye(){return function(e){return e.lift(new Qe)}}var Qe=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new we(e))},e}(),we=function(e){function t(t){return e.call(this,t)||this}return n.__extends(t,e),t.prototype._next=function(e){e.observe(this.destination)},t}(h.a);function Ee(e,t){return function(r){return r.lift(new be(e,t))}}var be=function(){function e(e,t){this.keySelector=e,this.flushes=t}return e.prototype.call=function(e,t){return t.subscribe(new ve(e,this.keySelector,this.flushes))},e}(),ve=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.keySelector=r,A.values=new Set,n&&A.add(Object(i.a)(A,n)),A}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,A){this.values.clear()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype._next=function(e){this.keySelector?this._useKeySelector(e):this._finalizeNext(e,e)},t.prototype._useKeySelector=function(e){var t,r=this.destination;try{t=this.keySelector(e)}catch(e){return void r.error(e)}this._finalizeNext(t,e)},t.prototype._finalizeNext=function(e,t){var r=this.values;r.has(e)||(r.add(e),this.destination.next(t))},t}(A.a);function De(e,t){return function(r){return r.lift(new Me(e,t))}}var Me=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new ke(e,this.compare,this.keySelector))},e}(),ke=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.keySelector=n,A.hasKey=!1,"function"==typeof r&&(A.compare=r),A}return n.__extends(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t;try{var r=this.keySelector;t=r?r(e):e}catch(e){return this.destination.error(e)}var n=!1;if(this.hasKey)try{n=(0,this.compare)(this.key,t)}catch(e){return this.destination.error(e)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))},t}(h.a);function _e(e,t){return De(function(r,n){return t?t(r[e],n[e]):r[e]===n[e]})}var Se=r(131),Ne=r(93),Fe=r(141);function xe(e){return void 0===e&&(e=Ue),function(t){return t.lift(new Ge(e))}}var Ge=function(){function e(e){this.errorFactory=e}return e.prototype.call=function(e,t){return t.subscribe(new He(e,this.errorFactory))},e}(),He=function(e){function t(t,r){var n=e.call(this,t)||this;return n.errorFactory=r,n.hasValue=!1,n}return n.__extends(t,e),t.prototype._next=function(e){this.hasValue=!0,this.destination.next(e)},t.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var e=void 0;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)},t}(h.a);function Ue(){return new Fe.a}var Ye=r(61);function Le(e){return function(t){return 0===e?Object(Ye.b)():t.lift(new Oe(e))}}var Oe=function(){function e(e){if(this.total=e,this.total<0)throw new Se.a}return e.prototype.call=function(e,t){return t.subscribe(new Ke(e,this.total))},e}(),Ke=function(e){function t(t,r){var n=e.call(this,t)||this;return n.total=r,n.count=0,n}return n.__extends(t,e),t.prototype._next=function(e){var t=this.total,r=++this.count;r<=t&&(this.destination.next(e),r===t&&(this.destination.complete(),this.unsubscribe()))},t}(h.a);function Pe(e,t){if(e<0)throw new Se.a;var r=arguments.length>=2;return function(n){return n.pipe(Object(Ne.a)(function(t,r){return r===e}),Le(1),r?oe(t):xe(function(){return new Se.a}))}}var Re=r(190);function Te(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return Object(T.a)(t,Re.a.apply(void 0,e))}}function Je(e,t){return function(r){return r.lift(new je(e,t,r))}}var je=function(){function e(e,t,r){this.predicate=e,this.thisArg=t,this.source=r}return e.prototype.call=function(e,t){return t.subscribe(new qe(e,this.predicate,this.thisArg,this.source))},e}(),qe=function(e){function t(t,r,n,A){var i=e.call(this,t)||this;return i.predicate=r,i.thisArg=n,i.source=A,i.index=0,i.thisArg=n||i,i}return n.__extends(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(h.a);function Ve(){return function(e){return e.lift(new We)}}var We=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new ze(e))},e}(),ze=function(e){function t(t){var r=e.call(this,t)||this;return r.hasCompleted=!1,r.hasSubscription=!1,r}return n.__extends(t,e),t.prototype._next=function(e){this.hasSubscription||(this.hasSubscription=!0,this.add(Object(i.a)(this,e)))},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},t.prototype.notifyComplete=function(e){this.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(A.a),Ze=r(51);function Xe(e,t){return t?function(r){return r.pipe(Xe(function(r,n){return Object(P.a)(e(r,n)).pipe(Object(Ze.a)(function(e,A){return t(r,e,n,A)}))}))}:function(t){return t.lift(new $e(e))}}var $e=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new et(e,this.project))},e}(),et=function(e){function t(t,r){var n=e.call(this,t)||this;return n.project=r,n.hasSubscription=!1,n.hasCompleted=!1,n.index=0,n}return n.__extends(t,e),t.prototype._next=function(e){this.hasSubscription||this.tryNext(e)},t.prototype.tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this.hasSubscription=!0,this._innerSub(t,e,r)},t.prototype._innerSub=function(e,t,r){var n=new G.a(this,void 0,void 0);this.destination.add(n),Object(i.a)(this,e,t,r,n)},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,r,n,A){this.destination.next(t)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(A.a);function tt(e,t,r){return void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===r&&(r=void 0),t=(t||0)<1?Number.POSITIVE_INFINITY:t,function(n){return n.lift(new rt(e,t,r))}}var rt=function(){function e(e,t,r){this.project=e,this.concurrent=t,this.scheduler=r}return e.prototype.call=function(e,t){return t.subscribe(new nt(e,this.project,this.concurrent,this.scheduler))},e}(),nt=function(e){function t(t,r,n,A){var i=e.call(this,t)||this;return i.project=r,i.concurrent=n,i.scheduler=A,i.index=0,i.active=0,i.hasCompleted=!1,n<Number.POSITIVE_INFINITY&&(i.buffer=[]),i}return n.__extends(t,e),t.dispatch=function(e){var t=e.subscriber,r=e.result,n=e.value,A=e.index;t.subscribeToProjection(r,n,A)},t.prototype._next=function(e){var r=this.destination;if(r.closed)this._complete();else{var n=this.index++;if(this.active<this.concurrent){r.next(e);try{var A=(0,this.project)(e,n);if(this.scheduler){var i={subscriber:this,result:A,value:e,index:n};this.destination.add(this.scheduler.schedule(t.dispatch,0,i))}else this.subscribeToProjection(A,e,n)}catch(e){r.error(e)}}else this.buffer.push(e)}},t.prototype.subscribeToProjection=function(e,t,r){this.active++,this.destination.add(Object(i.a)(this,e,t,r))},t.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,r,n,A){this._next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.destination.remove(e),this.active--,t&&t.length>0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},t}(A.a);function At(e){return function(t){return t.lift(new it(e))}}var it=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new ot(e,this.callback))},e}(),ot=function(e){function t(t,r){var n=e.call(this,t)||this;return n.add(new M.a(r)),n}return n.__extends(t,e),t}(h.a);function at(e,t){if("function"!=typeof e)throw new TypeError("predicate is not a function");return function(r){return r.lift(new st(e,r,!1,t))}}var st=function(){function e(e,t,r,n){this.predicate=e,this.source=t,this.yieldIndex=r,this.thisArg=n}return e.prototype.call=function(e,t){return t.subscribe(new ut(e,this.predicate,this.source,this.yieldIndex,this.thisArg))},e}(),ut=function(e){function t(t,r,n,A,i){var o=e.call(this,t)||this;return o.predicate=r,o.source=n,o.yieldIndex=A,o.thisArg=i,o.index=0,o}return n.__extends(t,e),t.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete(),this.unsubscribe()},t.prototype._next=function(e){var t=this.predicate,r=this.thisArg,n=this.index++;try{t.call(r||this,e,n,this.source)&&this.notifyComplete(this.yieldIndex?n:e)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},t}(h.a);function lt(e,t){return function(r){return r.lift(new st(e,r,!0,t))}}var ct=r(104);function ft(e,t){var r=arguments.length>=2;return function(n){return n.pipe(e?Object(Ne.a)(function(t,r){return e(t,r,n)}):ct.a,Le(1),r?oe(t):xe(function(){return new Fe.a}))}}var dt=r(329);function gt(){return function(e){return e.lift(new ht)}}var ht=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new pt(e))},e}(),pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype._next=function(e){},t}(h.a);function It(){return function(e){return e.lift(new Bt)}}var Bt=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new Ct(e))},e}(),Ct=function(e){function t(t){return e.call(this,t)||this}return n.__extends(t,e),t.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype._next=function(e){this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(h.a);function mt(e){return function(t){return 0===e?Object(Ye.b)():t.lift(new yt(e))}}var yt=function(){function e(e){if(this.total=e,this.total<0)throw new Se.a}return e.prototype.call=function(e,t){return t.subscribe(new Qt(e,this.total))},e}(),Qt=function(e){function t(t,r){var n=e.call(this,t)||this;return n.total=r,n.ring=new Array,n.count=0,n}return n.__extends(t,e),t.prototype._next=function(e){var t=this.ring,r=this.total,n=this.count++;t.length<r?t.push(e):t[n%r]=e},t.prototype._complete=function(){var e=this.destination,t=this.count;if(t>0)for(var r=this.count>=this.total?this.total:this.count,n=this.ring,A=0;A<r;A++){var i=t++%r;e.next(n[i])}e.complete()},t}(h.a);function wt(e,t){var r=arguments.length>=2;return function(n){return n.pipe(e?Object(Ne.a)(function(t,r){return e(t,r,n)}):ct.a,mt(1),r?oe(t):xe(function(){return new Fe.a}))}}function Et(e){return function(t){return t.lift(new bt(e))}}var bt=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new vt(e,this.value))},e}(),vt=function(e){function t(t,r){var n=e.call(this,t)||this;return n.value=r,n}return n.__extends(t,e),t.prototype._next=function(e){this.destination.next(this.value)},t}(h.a);function Dt(){return function(e){return e.lift(new Mt)}}var Mt=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new kt(e))},e}(),kt=function(e){function t(t){return e.call(this,t)||this}return n.__extends(t,e),t.prototype._next=function(e){this.destination.next(le.a.createNext(e))},t.prototype._error=function(e){var t=this.destination;t.next(le.a.createError(e)),t.complete()},t.prototype._complete=function(){var e=this.destination;e.next(le.a.createComplete()),e.complete()},t}(h.a);function _t(e,t){var r=!1;return arguments.length>=2&&(r=!0),function(n){return n.lift(new St(e,t,r))}}var St=function(){function e(e,t,r){void 0===r&&(r=!1),this.accumulator=e,this.seed=t,this.hasSeed=r}return e.prototype.call=function(e,t){return t.subscribe(new Nt(e,this.accumulator,this.seed,this.hasSeed))},e}(),Nt=function(e){function t(t,r,n,A){var i=e.call(this,t)||this;return i.accumulator=r,i._seed=n,i.hasSeed=A,i.index=0,i}return n.__extends(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,r=this.index++;try{t=this.accumulator(this.seed,e,r)}catch(e){this.destination.error(e)}this.seed=t,this.destination.next(t)},t}(h.a),Ft=r(208);function xt(e,t){return arguments.length>=2?function(r){return Object(Ft.a)(_t(e,t),mt(1),oe(t))(r)}:function(t){return Object(Ft.a)(_t(function(t,r,n){return e(t,r,n+1)}),mt(1))(t)}}function Gt(e){return xt("function"==typeof e?function(t,r){return e(t,r)>0?t:r}:function(e,t){return e>t?e:t})}var Ht=r(370);function Ut(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return t.lift.call(Ht.a.apply(void 0,[t].concat(e)))}}var Yt=r(244);function Lt(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof t?Object(q.a)(function(){return e},t,r):("number"==typeof t&&(r=t),Object(q.a)(function(){return e},r))}function Ot(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),function(n){return n.lift(new Kt(e,t,r))}}var Kt=function(){function e(e,t,r){this.accumulator=e,this.seed=t,this.concurrent=r}return e.prototype.call=function(e,t){return t.subscribe(new Pt(e,this.accumulator,this.seed,this.concurrent))},e}(),Pt=function(e){function t(t,r,n,A){var i=e.call(this,t)||this;return i.accumulator=r,i.acc=n,i.concurrent=A,i.hasValue=!1,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return n.__extends(t,e),t.prototype._next=function(e){if(this.active<this.concurrent){var t=this.index++,r=this.destination,n=void 0;try{n=(0,this.accumulator)(this.acc,e,t)}catch(e){return r.error(e)}this.active++,this._innerSub(n,e,t)}else this.buffer.push(e)},t.prototype._innerSub=function(e,t,r){var n=new G.a(this,void 0,void 0);this.destination.add(n),Object(i.a)(this,e,t,r,n)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()},t.prototype.notifyNext=function(e,t,r,n,A){var i=this.destination;this.acc=t,this.hasValue=!0,i.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.destination.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},t}(A.a);function Rt(e){return xt("function"==typeof e?function(t,r){return e(t,r)<0?t:r}:function(e,t){return e<t?e:t})}var Tt=r(371);function Jt(e,t){return function(r){var n;if(n="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new jt(n,t));var A=Object.create(r,Tt.b);return A.source=r,A.subjectFactory=n,A}}var jt=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var r=this.selector,n=this.subjectFactory(),A=r(n).subscribe(e);return A.add(t.subscribe(n)),A},e}(),qt=r(372);function Vt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===e.length&&Object(K.a)(e[0])&&(e=e[0]),function(t){return t.lift(new Wt(e))}}var Wt=function(){function e(e){this.nextSources=e}return e.prototype.call=function(e,t){return t.subscribe(new zt(e,this.nextSources))},e}(),zt=function(e){function t(t,r){var n=e.call(this,t)||this;return n.destination=t,n.nextSources=r,n}return n.__extends(t,e),t.prototype.notifyError=function(e,t){this.subscribeToNextSource()},t.prototype.notifyComplete=function(e){this.subscribeToNextSource()},t.prototype._error=function(e){this.subscribeToNextSource(),this.unsubscribe()},t.prototype._complete=function(){this.subscribeToNextSource(),this.unsubscribe()},t.prototype.subscribeToNextSource=function(){var e=this.nextSources.shift();if(e){var t=new G.a(this,void 0,void 0);this.destination.add(t),Object(i.a)(this,e,void 0,void 0,t)}else this.destination.complete()},t}(A.a);function Zt(){return function(e){return e.lift(new Xt)}}var Xt=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new $t(e))},e}(),$t=function(e){function t(t){var r=e.call(this,t)||this;return r.hasPrev=!1,r}return n.__extends(t,e),t.prototype._next=function(e){var t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)},t}(h.a),er=r(385);function tr(e,t){return function(r){return[Object(Ne.a)(e,t)(r),Object(Ne.a)(Object(er.a)(e,t))(r)]}}function rr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.length;if(0===r)throw new Error("list of properties cannot be empty.");return function(t){return Object(Ze.a)(function(e,t){return function(r){for(var n=r,A=0;A<t;A++){var i=n[e[A]];if(void 0===i)return;n=i}return n}}(e,r))(t)}}var nr=r(41);function Ar(e){return e?Jt(function(){return new nr.a},e):Jt(new nr.a)}var ir=r(373);function or(e){return function(t){return Jt(new ir.a(e))(t)}}var ar=r(144);function sr(){return function(e){return Jt(new ar.a)(e)}}var ur=r(247);function lr(e,t,r,n){r&&"function"!=typeof r&&(n=r);var A="function"==typeof r?r:void 0,i=new ur.a(e,t,n);return function(e){return Jt(function(){return i},A)(e)}}var cr=r(374);function fr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return 1===e.length&&Object(K.a)(e[0])&&(e=e[0]),t.lift.call(cr.a.apply(void 0,[t].concat(e)))}}function dr(e){return void 0===e&&(e=-1),function(t){return 0===e?Object(Ye.b)():e<0?t.lift(new gr(-1,t)):t.lift(new gr(e-1,t))}}var gr=function(){function e(e,t){this.count=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new hr(e,this.count,this.source))},e}(),hr=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.count=r,A.source=n,A}return n.__extends(t,e),t.prototype.complete=function(){if(!this.isStopped){var t=this.source,r=this.count;if(0===r)return e.prototype.complete.call(this);r>-1&&(this.count=r-1),t.subscribe(this._unsubscribeAndRecycle())}},t}(h.a);function pr(e){return function(t){return t.lift(new Ir(e))}}var Ir=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new Br(e,this.notifier,t))},e}(),Br=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.notifier=r,A.source=n,A.sourceIsBeingSubscribedTo=!0,A}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,A){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},t.prototype.notifyComplete=function(t){if(!1===this.sourceIsBeingSubscribedTo)return e.prototype.complete.call(this)},t.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return e.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},t.prototype._unsubscribe=function(){var e=this.notifications,t=this.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),t&&(t.unsubscribe(),this.retriesSubscription=null),this.retries=null},t.prototype._unsubscribeAndRecycle=function(){var t=this._unsubscribe;return this._unsubscribe=null,e.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=t,this},t.prototype.subscribeToRetries=function(){var t;this.notifications=new nr.a;try{t=(0,this.notifier)(this.notifications)}catch(t){return e.prototype.complete.call(this)}this.retries=t,this.retriesSubscription=Object(i.a)(this,t)},t}(A.a);function Cr(e){return void 0===e&&(e=-1),function(t){return t.lift(new mr(e,t))}}var mr=function(){function e(e,t){this.count=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new yr(e,this.count,this.source))},e}(),yr=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.count=r,A.source=n,A}return n.__extends(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=this.source,n=this.count;if(0===n)return e.prototype.error.call(this,t);n>-1&&(this.count=n-1),r.subscribe(this._unsubscribeAndRecycle())}},t}(h.a);function Qr(e){return function(t){return t.lift(new wr(e,t))}}var wr=function(){function e(e,t){this.notifier=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new Er(e,this.notifier,this.source))},e}(),Er=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.notifier=r,A.source=n,A}return n.__extends(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=this.errors,n=this.retries,A=this.retriesSubscription;if(n)this.errors=null,this.retriesSubscription=null;else{r=new nr.a;try{n=(0,this.notifier)(r)}catch(t){return e.prototype.error.call(this,t)}A=Object(i.a)(this,n)}this._unsubscribeAndRecycle(),this.errors=r,this.retries=n,this.retriesSubscription=A,r.next(t)}},t.prototype._unsubscribe=function(){var e=this.errors,t=this.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),t&&(t.unsubscribe(),this.retriesSubscription=null),this.retries=null},t.prototype.notifyNext=function(e,t,r,n,A){var i=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=i,this.source.subscribe(this)},t}(A.a),br=r(246);function vr(e){return function(t){return t.lift(new Dr(e))}}var Dr=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var r=new Mr(e),n=t.subscribe(r);return n.add(Object(i.a)(r,this.notifier)),n},e}(),Mr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasValue=!1,t}return n.__extends(t,e),t.prototype._next=function(e){this.value=e,this.hasValue=!0},t.prototype.notifyNext=function(e,t,r,n,A){this.emitValue()},t.prototype.notifyComplete=function(){this.emitValue()},t.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},t}(A.a);function kr(e,t){return void 0===t&&(t=u.a),function(r){return r.lift(new _r(e,t))}}var _r=function(){function e(e,t){this.period=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new Sr(e,this.period,this.scheduler))},e}(),Sr=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.period=r,A.scheduler=n,A.hasValue=!1,A.add(n.schedule(Nr,r,{subscriber:A,period:r})),A}return n.__extends(t,e),t.prototype._next=function(e){this.lastValue=e,this.hasValue=!0},t.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},t}(h.a);function Nr(e){var t=e.subscriber,r=e.period;t.notifyNext(),this.schedule(e,r)}function Fr(e,t){return function(r){return r.lift(new xr(e,t))}}var xr=function(){function e(e,t){this.compareTo=e,this.comparator=t}return e.prototype.call=function(e,t){return t.subscribe(new Gr(e,this.compareTo,this.comparator))},e}(),Gr=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.compareTo=r,A.comparator=n,A._a=[],A._b=[],A._oneComplete=!1,A.destination.add(r.subscribe(new Hr(t,A))),A}return n.__extends(t,e),t.prototype._next=function(e){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(e),this.checkValues())},t.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},t.prototype.checkValues=function(){for(var e=this._a,t=this._b,r=this.comparator;e.length>0&&t.length>0;){var n=e.shift(),A=t.shift(),i=!1;try{i=r?r(n,A):n===A}catch(e){this.destination.error(e)}i||this.emit(!1)}},t.prototype.emit=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype.nextB=function(e){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(e),this.checkValues())},t.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},t}(h.a),Hr=function(e){function t(t,r){var n=e.call(this,t)||this;return n.parent=r,n}return n.__extends(t,e),t.prototype._next=function(e){this.parent.nextB(e)},t.prototype._error=function(e){this.parent.error(e),this.unsubscribe()},t.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},t}(h.a);function Ur(){return new nr.a}function Yr(){return function(e){return Object(br.a)()(Jt(Ur)(e))}}function Lr(e,t,r){var n;return n=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:r},function(e){return e.lift(function(e){var t,r,n=e.bufferSize,A=void 0===n?Number.POSITIVE_INFINITY:n,i=e.windowTime,o=void 0===i?Number.POSITIVE_INFINITY:i,a=e.refCount,s=e.scheduler,u=0,l=!1,c=!1;return function(e){u++,t&&!l||(l=!1,t=new ur.a(A,o,s),r=e.subscribe({next:function(e){t.next(e)},error:function(e){l=!0,t.error(e)},complete:function(){c=!0,t.complete()}}));var n=t.subscribe(this);this.add(function(){u--,n.unsubscribe(),r&&!c&&a&&0===u&&(r.unsubscribe(),r=void 0,t=void 0)})}}(n))}}function Or(e){return function(t){return t.lift(new Kr(e,t))}}var Kr=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new Pr(e,this.predicate,this.source))},e}(),Pr=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.predicate=r,A.source=n,A.seenValue=!1,A.index=0,A}return n.__extends(t,e),t.prototype.applySingleValue=function(e){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=e)},t.prototype._next=function(e){var t=this.index++;this.predicate?this.tryNext(e,t):this.applySingleValue(e)},t.prototype.tryNext=function(e,t){try{this.predicate(e,t,this.source)&&this.applySingleValue(e)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){var e=this.destination;this.index>0?(e.next(this.seenValue?this.singleValue:void 0),e.complete()):e.error(new Fe.a)},t}(h.a);function Rr(e){return function(t){return t.lift(new Tr(e))}}var Tr=function(){function e(e){this.total=e}return e.prototype.call=function(e,t){return t.subscribe(new Jr(e,this.total))},e}(),Jr=function(e){function t(t,r){var n=e.call(this,t)||this;return n.total=r,n.count=0,n}return n.__extends(t,e),t.prototype._next=function(e){++this.count>this.total&&this.destination.next(e)},t}(h.a);function jr(e){return function(t){return t.lift(new qr(e))}}var qr=function(){function e(e){if(this._skipCount=e,this._skipCount<0)throw new Se.a}return e.prototype.call=function(e,t){return 0===this._skipCount?t.subscribe(new h.a(e)):t.subscribe(new Vr(e,this._skipCount))},e}(),Vr=function(e){function t(t,r){var n=e.call(this,t)||this;return n._skipCount=r,n._count=0,n._ring=new Array(r),n}return n.__extends(t,e),t.prototype._next=function(e){var t=this._skipCount,r=this._count++;if(r<t)this._ring[r]=e;else{var n=r%t,A=this._ring,i=A[n];A[n]=e,this.destination.next(i)}},t}(h.a);function Wr(e){return function(t){return t.lift(new zr(e))}}var zr=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new Zr(e,this.notifier))},e}(),Zr=function(e){function t(t,r){var n=e.call(this,t)||this;n.hasValue=!1;var A=new G.a(n,void 0,void 0);return n.add(A),n.innerSubscription=A,Object(i.a)(n,r,void 0,void 0,A),n}return n.__extends(t,e),t.prototype._next=function(t){this.hasValue&&e.prototype._next.call(this,t)},t.prototype.notifyNext=function(e,t,r,n,A){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()},t.prototype.notifyComplete=function(){},t}(A.a);function Xr(e){return function(t){return t.lift(new $r(e))}}var $r=function(){function e(e){this.predicate=e}return e.prototype.call=function(e,t){return t.subscribe(new en(e,this.predicate))},e}(),en=function(e){function t(t,r){var n=e.call(this,t)||this;return n.predicate=r,n.skipping=!0,n.index=0,n}return n.__extends(t,e),t.prototype._next=function(e){var t=this.destination;this.skipping&&this.tryCallPredicate(e),this.skipping||t.next(e)},t.prototype.tryCallPredicate=function(e){try{var t=this.predicate(e,this.index++);this.skipping=Boolean(t)}catch(e){this.destination.error(e)}},t}(h.a);function tn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return Object(m.a)(r)?(e.pop(),function(t){return Object(T.a)(e,t,r)}):function(t){return Object(T.a)(e,t)}}var rn=r(253),nn=r(147),An=function(e){function t(t,r,n){void 0===r&&(r=0),void 0===n&&(n=rn.a);var A=e.call(this)||this;return A.source=t,A.delayTime=r,A.scheduler=n,(!Object(nn.a)(r)||r<0)&&(A.delayTime=0),n&&"function"==typeof n.schedule||(A.scheduler=rn.a),A}return n.__extends(t,e),t.create=function(e,r,n){return void 0===r&&(r=0),void 0===n&&(n=rn.a),new t(e,r,n)},t.dispatch=function(e){var t=e.source,r=e.subscriber;return this.add(t.subscribe(r))},t.prototype._subscribe=function(e){var r=this.delayTime,n=this.source;return this.scheduler.schedule(t.dispatch,r,{source:n,subscriber:e})},t}(he.a);function on(e,t){return void 0===t&&(t=0),function(r){return r.lift(new an(e,t))}}var an=function(){function e(e,t){this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return new An(t,this.delay,this.scheduler).subscribe(e)},e}();function sn(e,t){return"function"==typeof t?function(r){return r.pipe(sn(function(r,n){return Object(P.a)(e(r,n)).pipe(Object(Ze.a)(function(e,A){return t(r,e,n,A)}))}))}:function(t){return t.lift(new un(e))}}var un=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new ln(e,this.project))},e}(),ln=function(e){function t(t,r){var n=e.call(this,t)||this;return n.project=r,n.index=0,n}return n.__extends(t,e),t.prototype._next=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this._innerSub(t,e,r)},t.prototype._innerSub=function(e,t,r){var n=this.innerSubscription;n&&n.unsubscribe();var A=new G.a(this,void 0,void 0);this.destination.add(A),this.innerSubscription=Object(i.a)(this,e,t,r,A)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,r,n,A){this.destination.next(t)},t}(A.a);function cn(){return sn(ct.a)}function fn(e,t){return t?sn(function(){return e},t):sn(function(){return e})}function dn(e){return function(t){return t.lift(new gn(e))}}var gn=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var r=new hn(e),n=Object(i.a)(r,this.notifier);return n&&!r.seenValue?(r.add(n),t.subscribe(r)):r},e}(),hn=function(e){function t(t){var r=e.call(this,t)||this;return r.seenValue=!1,r}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,A){this.seenValue=!0,this.complete()},t.prototype.notifyComplete=function(){},t}(A.a);function pn(e,t){return void 0===t&&(t=!1),function(r){return r.lift(new In(e,t))}}var In=function(){function e(e,t){this.predicate=e,this.inclusive=t}return e.prototype.call=function(e,t){return t.subscribe(new Bn(e,this.predicate,this.inclusive))},e}(),Bn=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.predicate=r,A.inclusive=n,A.index=0,A}return n.__extends(t,e),t.prototype._next=function(e){var t,r=this.destination;try{t=this.predicate(e,this.index++)}catch(e){return void r.error(e)}this.nextOrComplete(e,t)},t.prototype.nextOrComplete=function(e,t){var r=this.destination;Boolean(t)?r.next(e):(this.inclusive&&r.next(e),r.complete())},t}(h.a),Cn=r(87),mn=r(133);function yn(e,t,r){return function(n){return n.lift(new Qn(e,t,r))}}var Qn=function(){function e(e,t,r){this.nextOrObserver=e,this.error=t,this.complete=r}return e.prototype.call=function(e,t){return t.subscribe(new wn(e,this.nextOrObserver,this.error,this.complete))},e}(),wn=function(e){function t(t,r,n,A){var i=e.call(this,t)||this;return i._tapNext=Cn.a,i._tapError=Cn.a,i._tapComplete=Cn.a,i._tapError=n||Cn.a,i._tapComplete=A||Cn.a,Object(mn.a)(r)?(i._context=i,i._tapNext=r):r&&(i._context=r,i._tapNext=r.next||Cn.a,i._tapError=r.error||Cn.a,i._tapComplete=r.complete||Cn.a),i}return n.__extends(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(h.a),En={leading:!0,trailing:!1};function bn(e,t){return void 0===t&&(t=En),function(r){return r.lift(new vn(e,t.leading,t.trailing))}}var vn=function(){function e(e,t,r){this.durationSelector=e,this.leading=t,this.trailing=r}return e.prototype.call=function(e,t){return t.subscribe(new Dn(e,this.durationSelector,this.leading,this.trailing))},e}(),Dn=function(e){function t(t,r,n,A){var i=e.call(this,t)||this;return i.destination=t,i.durationSelector=r,i._leading=n,i._trailing=A,i._hasValue=!1,i}return n.__extends(t,e),t.prototype._next=function(e){this._hasValue=!0,this._sendValue=e,this._throttled||(this._leading?this.send():this.throttle(e))},t.prototype.send=function(){var e=this._hasValue,t=this._sendValue;e&&(this.destination.next(t),this.throttle(t)),this._hasValue=!1,this._sendValue=null},t.prototype.throttle=function(e){var t=this.tryDurationSelector(e);t&&this.add(this._throttled=Object(i.a)(this,t))},t.prototype.tryDurationSelector=function(e){try{return this.durationSelector(e)}catch(e){return this.destination.error(e),null}},t.prototype.throttlingDone=function(){var e=this._throttled,t=this._trailing;e&&e.unsubscribe(),this._throttled=null,t&&this.send()},t.prototype.notifyNext=function(e,t,r,n,A){this.throttlingDone()},t.prototype.notifyComplete=function(){this.throttlingDone()},t}(A.a);function Mn(e,t,r){return void 0===t&&(t=u.a),void 0===r&&(r=En),function(n){return n.lift(new kn(e,t,r.leading,r.trailing))}}var kn=function(){function e(e,t,r,n){this.duration=e,this.scheduler=t,this.leading=r,this.trailing=n}return e.prototype.call=function(e,t){return t.subscribe(new _n(e,this.duration,this.scheduler,this.leading,this.trailing))},e}(),_n=function(e){function t(t,r,n,A,i){var o=e.call(this,t)||this;return o.duration=r,o.scheduler=n,o.leading=A,o.trailing=i,o._hasTrailingValue=!1,o._trailingValue=null,o}return n.__extends(t,e),t.prototype._next=function(e){this.throttled?this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(Sn,this.duration,{subscriber:this})),this.leading?this.destination.next(e):this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0))},t.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},t.prototype.clearThrottle=function(){var e=this.throttled;e&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),e.unsubscribe(),this.remove(e),this.throttled=null)},t}(h.a);function Sn(e){e.subscriber.clearThrottle()}var Nn=r(248);function Fn(e){return void 0===e&&(e=u.a),function(t){return Object(Nn.a)(function(){return t.pipe(_t(function(t,r){var n=t.current;return{value:r,current:e.now(),last:n}},{current:e.now(),value:void 0,last:void 0}),Object(Ze.a)(function(e){var t=e.current,r=e.last,n=e.value;return new xn(n,t-r)}))})}}var xn=function(){return function(e,t){this.value=e,this.interval=t}}(),Gn=r(375);function Hn(e,t,r){return void 0===r&&(r=u.a),function(n){var A=ue(e),i=A?+e-r.now():Math.abs(e);return n.lift(new Un(i,A,t,r))}}var Un=function(){function e(e,t,r,n){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=r,this.scheduler=n}return e.prototype.call=function(e,t){return t.subscribe(new Yn(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},e}(),Yn=function(e){function t(t,r,n,A,i){var o=e.call(this,t)||this;return o.absoluteTimeout=r,o.waitFor=n,o.withObservable=A,o.scheduler=i,o.action=null,o.scheduleTimeout(),o}return n.__extends(t,e),t.dispatchTimeout=function(e){var t=e.withObservable;e._unsubscribeAndRecycle(),e.add(Object(i.a)(e,t))},t.prototype.scheduleTimeout=function(){var e=this.action;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(t.dispatchTimeout,this.waitFor,this))},t.prototype._next=function(t){this.absoluteTimeout||this.scheduleTimeout(),e.prototype._next.call(this,t)},t.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},t}(A.a),Ln=r(245);function On(e,t){return void 0===t&&(t=u.a),Hn(e,Object(Ln.a)(new Gn.a),t)}function Kn(e){return void 0===e&&(e=u.a),Object(Ze.a)(function(t){return new Pn(t,e.now())})}var Pn=function(){return function(e,t){this.value=e,this.timestamp=t}}();function Rn(e,t,r){return 0===r?[t]:(e.push(t),e)}function Tn(){return xt(Rn,[])}function Jn(e){return function(t){return t.lift(new jn(e))}}var jn=function(){function e(e){this.windowBoundaries=e}return e.prototype.call=function(e,t){var r=new qn(e),n=t.subscribe(r);return n.closed||r.add(Object(i.a)(r,this.windowBoundaries)),n},e}(),qn=function(e){function t(t){var r=e.call(this,t)||this;return r.window=new nr.a,t.next(r.window),r}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,A){this.openWindow()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){this._complete()},t.prototype._next=function(e){this.window.next(e)},t.prototype._error=function(e){this.window.error(e),this.destination.error(e)},t.prototype._complete=function(){this.window.complete(),this.destination.complete()},t.prototype._unsubscribe=function(){this.window=null},t.prototype.openWindow=function(){var e=this.window;e&&e.complete();var t=this.destination,r=this.window=new nr.a;t.next(r)},t}(A.a);function Vn(e,t){return void 0===t&&(t=0),function(r){return r.lift(new Wn(e,t))}}var Wn=function(){function e(e,t){this.windowSize=e,this.startWindowEvery=t}return e.prototype.call=function(e,t){return t.subscribe(new zn(e,this.windowSize,this.startWindowEvery))},e}(),zn=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.destination=t,A.windowSize=r,A.startWindowEvery=n,A.windows=[new nr.a],A.count=0,t.next(A.windows[0]),A}return n.__extends(t,e),t.prototype._next=function(e){for(var t=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,r=this.destination,n=this.windowSize,A=this.windows,i=A.length,o=0;o<i&&!this.closed;o++)A[o].next(e);var a=this.count-n+1;if(a>=0&&a%t==0&&!this.closed&&A.shift().complete(),++this.count%t==0&&!this.closed){var s=new nr.a;A.push(s),r.next(s)}},t.prototype._error=function(e){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().error(e);this.destination.error(e)},t.prototype._complete=function(){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().complete();this.destination.complete()},t.prototype._unsubscribe=function(){this.count=0,this.windows=null},t}(h.a);function Zn(e){var t=u.a,r=null,n=Number.POSITIVE_INFINITY;return Object(m.a)(arguments[3])&&(t=arguments[3]),Object(m.a)(arguments[2])?t=arguments[2]:Object(nn.a)(arguments[2])&&(n=arguments[2]),Object(m.a)(arguments[1])?t=arguments[1]:Object(nn.a)(arguments[1])&&(r=arguments[1]),function(A){return A.lift(new Xn(e,r,n,t))}}var Xn=function(){function e(e,t,r,n){this.windowTimeSpan=e,this.windowCreationInterval=t,this.maxWindowSize=r,this.scheduler=n}return e.prototype.call=function(e,t){return t.subscribe(new eA(e,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},e}(),$n=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._numberOfNextedValues=0,t}return n.__extends(t,e),t.prototype.next=function(t){this._numberOfNextedValues++,e.prototype.next.call(this,t)},Object.defineProperty(t.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),t}(nr.a),eA=function(e){function t(t,r,n,A,i){var o=e.call(this,t)||this;o.destination=t,o.windowTimeSpan=r,o.windowCreationInterval=n,o.maxWindowSize=A,o.scheduler=i,o.windows=[];var a=o.openWindow();if(null!==n&&n>=0){var s={subscriber:o,window:a,context:null},u={windowTimeSpan:r,windowCreationInterval:n,subscriber:o,scheduler:i};o.add(i.schedule(nA,r,s)),o.add(i.schedule(rA,n,u))}else{var l={subscriber:o,window:a,windowTimeSpan:r};o.add(i.schedule(tA,r,l))}return o}return n.__extends(t,e),t.prototype._next=function(e){for(var t=this.windows,r=t.length,n=0;n<r;n++){var A=t[n];A.closed||(A.next(e),A.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(A))}},t.prototype._error=function(e){for(var t=this.windows;t.length>0;)t.shift().error(e);this.destination.error(e)},t.prototype._complete=function(){for(var e=this.windows;e.length>0;){var t=e.shift();t.closed||t.complete()}this.destination.complete()},t.prototype.openWindow=function(){var e=new $n;return this.windows.push(e),this.destination.next(e),e},t.prototype.closeWindow=function(e){e.complete();var t=this.windows;t.splice(t.indexOf(e),1)},t}(h.a);function tA(e){var t=e.subscriber,r=e.windowTimeSpan,n=e.window;n&&t.closeWindow(n),e.window=t.openWindow(),this.schedule(e,r)}function rA(e){var t=e.windowTimeSpan,r=e.subscriber,n=e.scheduler,A=e.windowCreationInterval,i=r.openWindow(),o={action:this,subscription:null},a={subscriber:r,window:i,context:o};o.subscription=n.schedule(nA,t,a),this.add(o.subscription),this.schedule(e,A)}function nA(e){var t=e.subscriber,r=e.window,n=e.context;n&&n.action&&n.subscription&&n.action.remove(n.subscription),t.closeWindow(r)}function AA(e,t){return function(r){return r.lift(new iA(e,t))}}var iA=function(){function e(e,t){this.openings=e,this.closingSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new oA(e,this.openings,this.closingSelector))},e}(),oA=function(e){function t(t,r,n){var A=e.call(this,t)||this;return A.openings=r,A.closingSelector=n,A.contexts=[],A.add(A.openSubscription=Object(i.a)(A,r,r)),A}return n.__extends(t,e),t.prototype._next=function(e){var t=this.contexts;if(t)for(var r=t.length,n=0;n<r;n++)t[n].window.next(e)},t.prototype._error=function(t){var r=this.contexts;if(this.contexts=null,r)for(var n=r.length,A=-1;++A<n;){var i=r[A];i.window.error(t),i.subscription.unsubscribe()}e.prototype._error.call(this,t)},t.prototype._complete=function(){var t=this.contexts;if(this.contexts=null,t)for(var r=t.length,n=-1;++n<r;){var A=t[n];A.window.complete(),A.subscription.unsubscribe()}e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.contexts;if(this.contexts=null,e)for(var t=e.length,r=-1;++r<t;){var n=e[r];n.window.unsubscribe(),n.subscription.unsubscribe()}},t.prototype.notifyNext=function(e,t,r,n,A){if(e===this.openings){var o=void 0;try{o=(0,this.closingSelector)(t)}catch(e){return this.error(e)}var a=new nr.a,s=new M.a,u={window:a,subscription:s};this.contexts.push(u);var l=Object(i.a)(this,o,u);l.closed?this.closeWindow(this.contexts.length-1):(l.context=u,s.add(l)),this.destination.next(a)}else this.closeWindow(this.contexts.indexOf(e))},t.prototype.notifyError=function(e){this.error(e)},t.prototype.notifyComplete=function(e){e!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(e.context))},t.prototype.closeWindow=function(e){if(-1!==e){var t=this.contexts,r=t[e],n=r.window,A=r.subscription;t.splice(e,1),n.complete(),A.unsubscribe()}},t}(A.a);function aA(e){return function(t){return t.lift(new sA(e))}}var sA=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new uA(e,this.closingSelector))},e}(),uA=function(e){function t(t,r){var n=e.call(this,t)||this;return n.destination=t,n.closingSelector=r,n.openWindow(),n}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,A){this.openWindow(A)},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){this.openWindow(e)},t.prototype._next=function(e){this.window.next(e)},t.prototype._error=function(e){this.window.error(e),this.destination.error(e),this.unsubscribeClosingNotification()},t.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},t.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},t.prototype.openWindow=function(e){void 0===e&&(e=null),e&&(this.remove(e),e.unsubscribe());var t=this.window;t&&t.complete();var r,n=this.window=new nr.a;this.destination.next(n);try{r=(0,this.closingSelector)()}catch(e){return this.destination.error(e),void this.window.error(e)}this.add(this.closingNotification=Object(i.a)(this,r))},t}(A.a);function lA(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var r;"function"==typeof e[e.length-1]&&(r=e.pop());var n=e;return t.lift(new cA(n,r))}}var cA=function(){function e(e,t){this.observables=e,this.project=t}return e.prototype.call=function(e,t){return t.subscribe(new fA(e,this.observables,this.project))},e}(),fA=function(e){function t(t,r,n){var A=e.call(this,t)||this;A.observables=r,A.project=n,A.toRespond=[];var o=r.length;A.values=new Array(o);for(var a=0;a<o;a++)A.toRespond.push(a);for(a=0;a<o;a++){var s=r[a];A.add(Object(i.a)(A,s,s,a))}return A}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,A){this.values[r]=t;var i=this.toRespond;if(i.length>0){var o=i.indexOf(r);-1!==o&&i.splice(o,1)}},t.prototype.notifyComplete=function(){},t.prototype._next=function(e){if(0===this.toRespond.length){var t=[e].concat(this.values);this.project?this._tryProject(t):this.destination.next(t)}},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(A.a),dA=r(249);function gA(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return t.lift.call(dA.b.apply(void 0,[t].concat(e)))}}function hA(e){return function(t){return t.lift(new dA.a(e))}}r.d(t,"audit",function(){return o}),r.d(t,"auditTime",function(){return c}),r.d(t,"buffer",function(){return f}),r.d(t,"bufferCount",function(){return p}),r.d(t,"bufferTime",function(){return y}),r.d(t,"bufferToggle",function(){return k}),r.d(t,"bufferWhen",function(){return N}),r.d(t,"catchError",function(){return H}),r.d(t,"combineAll",function(){return O}),r.d(t,"combineLatest",function(){return R}),r.d(t,"concat",function(){return J}),r.d(t,"concatAll",function(){return j.a}),r.d(t,"concatMap",function(){return V}),r.d(t,"concatMapTo",function(){return W}),r.d(t,"count",function(){return z}),r.d(t,"debounce",function(){return $}),r.d(t,"debounceTime",function(){return re}),r.d(t,"defaultIfEmpty",function(){return oe}),r.d(t,"delay",function(){return ce}),r.d(t,"delayWhen",function(){return pe}),r.d(t,"dematerialize",function(){return ye}),r.d(t,"distinct",function(){return Ee}),r.d(t,"distinctUntilChanged",function(){return De}),r.d(t,"distinctUntilKeyChanged",function(){return _e}),r.d(t,"elementAt",function(){return Pe}),r.d(t,"endWith",function(){return Te}),r.d(t,"every",function(){return Je}),r.d(t,"exhaust",function(){return Ve}),r.d(t,"exhaustMap",function(){return Xe}),r.d(t,"expand",function(){return tt}),r.d(t,"filter",function(){return Ne.a}),r.d(t,"finalize",function(){return At}),r.d(t,"find",function(){return at}),r.d(t,"findIndex",function(){return lt}),r.d(t,"first",function(){return ft}),r.d(t,"groupBy",function(){return dt.b}),r.d(t,"ignoreElements",function(){return gt}),r.d(t,"isEmpty",function(){return It}),r.d(t,"last",function(){return wt}),r.d(t,"map",function(){return Ze.a}),r.d(t,"mapTo",function(){return Et}),r.d(t,"materialize",function(){return Dt}),r.d(t,"max",function(){return Gt}),r.d(t,"merge",function(){return Ut}),r.d(t,"mergeAll",function(){return Yt.a}),r.d(t,"mergeMap",function(){return q.a}),r.d(t,"flatMap",function(){return q.a}),r.d(t,"mergeMapTo",function(){return Lt}),r.d(t,"mergeScan",function(){return Ot}),r.d(t,"min",function(){return Rt}),r.d(t,"multicast",function(){return Jt}),r.d(t,"observeOn",function(){return qt.b}),r.d(t,"onErrorResumeNext",function(){return Vt}),r.d(t,"pairwise",function(){return Zt}),r.d(t,"partition",function(){return tr}),r.d(t,"pluck",function(){return rr}),r.d(t,"publish",function(){return Ar}),r.d(t,"publishBehavior",function(){return or}),r.d(t,"publishLast",function(){return sr}),r.d(t,"publishReplay",function(){return lr}),r.d(t,"race",function(){return fr}),r.d(t,"reduce",function(){return xt}),r.d(t,"repeat",function(){return dr}),r.d(t,"repeatWhen",function(){return pr}),r.d(t,"retry",function(){return Cr}),r.d(t,"retryWhen",function(){return Qr}),r.d(t,"refCount",function(){return br.a}),r.d(t,"sample",function(){return vr}),r.d(t,"sampleTime",function(){return kr}),r.d(t,"scan",function(){return _t}),r.d(t,"sequenceEqual",function(){return Fr}),r.d(t,"share",function(){return Yr}),r.d(t,"shareReplay",function(){return Lr}),r.d(t,"single",function(){return Or}),r.d(t,"skip",function(){return Rr}),r.d(t,"skipLast",function(){return jr}),r.d(t,"skipUntil",function(){return Wr}),r.d(t,"skipWhile",function(){return Xr}),r.d(t,"startWith",function(){return tn}),r.d(t,"subscribeOn",function(){return on}),r.d(t,"switchAll",function(){return cn}),r.d(t,"switchMap",function(){return sn}),r.d(t,"switchMapTo",function(){return fn}),r.d(t,"take",function(){return Le}),r.d(t,"takeLast",function(){return mt}),r.d(t,"takeUntil",function(){return dn}),r.d(t,"takeWhile",function(){return pn}),r.d(t,"tap",function(){return yn}),r.d(t,"throttle",function(){return bn}),r.d(t,"throttleTime",function(){return Mn}),r.d(t,"throwIfEmpty",function(){return xe}),r.d(t,"timeInterval",function(){return Fn}),r.d(t,"timeout",function(){return On}),r.d(t,"timeoutWith",function(){return Hn}),r.d(t,"timestamp",function(){return Kn}),r.d(t,"toArray",function(){return Tn}),r.d(t,"window",function(){return Jn}),r.d(t,"windowCount",function(){return Vn}),r.d(t,"windowTime",function(){return Zn}),r.d(t,"windowToggle",function(){return AA}),r.d(t,"windowWhen",function(){return aA}),r.d(t,"withLatestFrom",function(){return lA}),r.d(t,"zip",function(){return gA}),r.d(t,"zipAll",function(){return hA})},function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n=r(21),A=r(46),i=r(147),o=r(55);function a(e,t,r){void 0===e&&(e=0);var a=-1;return Object(i.a)(t)?a=Number(t)<1?1:Number(t):Object(o.a)(t)&&(r=t),Object(o.a)(r)||(r=A.a),new n.a(function(t){var n=Object(i.a)(e)?e:+e-r.now();return r.schedule(s,n,{index:0,period:a,subscriber:t})})}function s(e){var t=e.index,r=e.period,n=e.subscriber;if(n.next(t),!n.closed){if(-1===r)return n.complete();e.index=t+1,this.schedule(e,r)}}},function(e,t,r){"use strict";r.d(t,"a",function(){return A});var n=r(244);function A(){return Object(n.a)(1)}},function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n=r(21),A=r(55),i=r(244),o=r(143);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Number.POSITIVE_INFINITY,a=null,s=e[e.length-1];return Object(A.a)(s)?(a=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(r=e.pop())):"number"==typeof s&&(r=e.pop()),null===a&&1===e.length&&e[0]instanceof n.a?e[0]:Object(i.a)(r)(Object(o.a)(e,a))}},function(e,t,r){"use strict";r.d(t,"a",function(){return u}),r.d(t,"b",function(){return c});var n=r(2),A=r(41),i=r(21),o=r(13),a=r(32),s=r(246),u=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._refCount=0,n._isComplete=!1,n}return n.__extends(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new a.a).add(this.source.subscribe(new f(this.getSubject(),this))),e.closed&&(this._connection=null,e=a.a.EMPTY)),e},t.prototype.refCount=function(){return Object(s.a)()(this)},t}(i.a),l=u.prototype,c={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:l._subscribe},_isComplete:{value:l._isComplete,writable:!0},getSubject:{value:l.getSubject},connect:{value:l.connect},refCount:{value:l.refCount}},f=function(e){function t(t,r){var n=e.call(this,t)||this;return n.connectable=r,n}return n.__extends(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(A.b);o.a},function(e,t,r){"use strict";r.d(t,"b",function(){return o}),r.d(t,"a",function(){return s});var n=r(2),A=r(13),i=r(95);function o(e,t){return void 0===t&&(t=0),function(r){return r.lift(new a(e,t))}}var a=function(){function e(e,t){void 0===t&&(t=0),this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.scheduler,this.delay))},e}(),s=function(e){function t(t,r,n){void 0===n&&(n=0);var A=e.call(this,t)||this;return A.scheduler=r,A.delay=n,A}return n.__extends(t,e),t.dispatch=function(e){var t=e.notification,r=e.destination;t.observe(r),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new u(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(i.a.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(i.a.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(i.a.createComplete()),this.unsubscribe()},t}(A.a),u=function(){return function(e,t){this.notification=e,this.destination=t}}()},function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(2),A=r(41),i=r(119),o=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return n.__extends(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return r&&!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.a;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(A.a)},function(e,t,r){"use strict";r.d(t,"a",function(){return s});var n=r(2),A=r(43),i=r(143),o=r(26),a=r(25);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){if(!Object(A.a)(e[0]))return e[0];e=e[0]}return Object(i.a)(e,void 0).lift(new u)}var u=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new l(e))},e}(),l=function(e){function t(t){var r=e.call(this,t)||this;return r.hasFirst=!1,r.observables=[],r.subscriptions=[],r}return n.__extends(t,e),t.prototype._next=function(e){this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(var r=0;r<t&&!this.hasFirst;r++){var n=e[r],A=Object(a.a)(this,n,n,r);this.subscriptions&&this.subscriptions.push(A),this.add(A)}this.observables=null}},t.prototype.notifyNext=function(e,t,r,n,A){if(!this.hasFirst){this.hasFirst=!0;for(var i=0;i<this.subscriptions.length;i++)if(i!==r){var o=this.subscriptions[i];o.unsubscribe(),this.remove(o)}this.subscriptions=null}this.destination.next(t)},t}(o.a)},function(e,t,r){"use strict";function n(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}r.d(t,"a",function(){return A}),n.prototype=Object.create(Error.prototype);var A=n},function(e,t,r){"use strict";(function(t){const n=r(69),A=r(65),i=r(177),o=r(122),a=r(56),s=r(62),u=r(340),l=r(339),c=r(49),f=r(74);class d{static ComputeMastersFromSeed(e){let r=t.from("Bitcoin seed");return d.I64(r,e)}static DerivePrivateKeyForPath(e,t,r){let n=e;return r.split("/").forEach(function(e){let r="'"===e.slice(e.length-1,e.length);r&&(e=e.slice(0,e.length-1));let A=parseInt(e),i=d.DerivePrivateKey(n,t,A,r);n=i.data,t=i.chainCode}),n}static I64(e,t){let n=r(107)("sha512",e);n.update(t);let A=n.digest();return{secret:A.slice(0,32),chainCode:A.slice(32,A.length)}}static DerivePrivateKey(e,r,n,A){let i,o=t.from([n]);if(A){o=new l(n).or(new l(2147483648)).toBuffer();let r=t.from(e);i=t.from([0]),i=t.concat([i,r])}else{const r=u.publicKeyCreate(e);0==n&&(o=t.from([0,0,0,0])),i=r}i=t.concat([i,o]);let a=d.I64(r,Uint8Array.from(i)),s=new l(e),c=new l(a.secret);return{data:d.AddScalars(s,c),chainCode:a.chainCode}}static AddScalars(e,n){let A=e.add(n);let i=r(495).n.toBuffer(),o=A.mod(new l(i)).toBuffer(),a=t.alloc(32);return a.fill(o,32-o.length),a}static Serialize(e){const t={r:e.slice(0,32),s:e.slice(32,64)};return new(r(265))(t).toDER()}}e.exports=class{static getPrivateKeyFromSecret(e){let t=a.mnemonicToSeed(e),r=d.ComputeMastersFromSeed(t);return d.DerivePrivateKeyForPath(r.secret,r.chainCode,c.iris.bip39Path)}static sign(e,r){let A=t.from(JSON.stringify(r)),o=t.from(i(A,{asBytes:!0})),a=t.from(new Uint8Array(n.Hex.hexToBytes(e))),s=u.sign(o,a);return Array.from(s.signature)}static getAddress(e){e.length>33&&(e=e.slice(5,e.length));let r=i(e),A=t.from(n.Hex.hexToBytes(r));return(new o).update(A).digest("hex").toUpperCase()}static create(e){let t=s(32),r=a.entropyToMnemonic(t,e);for(;A.hasRepeatElement(r," ");)t=s(32),r=a.entropyToMnemonic(t,e);let i=this.getPrivateKeyFromSecret(r),o=u.publicKeyCreate(i);return o=f.MarshalBinary(c.iris.amino.pubKey,o),{secret:r,address:this.getAddress(o),privateKey:n.Hex.bytesToHex(i),publicKey:n.Hex.bytesToHex(o)}}static recover(e,t){this.checkSeed(e,t);let r=this.getPrivateKeyFromSecret(e),A=u.publicKeyCreate(r);return A=f.MarshalBinary(c.iris.amino.pubKey,A),{secret:e,address:this.getAddress(A),privateKey:n.Hex.bytesToHex(r),publicKey:n.Hex.bytesToHex(A)}}static checkSeed(e,t){const r=e.split(" ");if(12!=r.length&&24!=r.length)throw new Error("seed length must be equal 12 or 24");if(!a.validateMnemonic(e,t))throw new Error("seed is invalid")}static import(e){let r=t.from(e,"hex"),A=u.publicKeyCreate(r);return A=f.MarshalBinary(c.iris.amino.pubKey,A),{address:this.getAddress(A),privateKey:e,publicKey:n.Hex.bytesToHex(A)}}static isValidAddress(e){let t=c.iris.bech32.accAddr;return n.Bech32.isBech32(t,e)}static isValidPrivate(e){return/^[0-9a-fA-F]{64}$/i.test(e)}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){const n=r(69),A=r(65),i=r(177),o=r(122),a=r(56),s=r(62),u=r(340),l=r(339),c=r(49),f=r(74);class d{static ComputeMastersFromSeed(e){let r=t.from("Bitcoin seed");return d.I64(r,e)}static DerivePrivateKeyForPath(e,t,r){let n=e;return r.split("/").forEach(function(e){let r="'"===e.slice(e.length-1,e.length);r&&(e=e.slice(0,e.length-1));let A=parseInt(e),i=d.DerivePrivateKey(n,t,A,r);n=i.data,t=i.chainCode}),n}static I64(e,t){let n=r(107)("sha512",e);n.update(t);let A=n.digest();return{secret:A.slice(0,32),chainCode:A.slice(32,A.length)}}static DerivePrivateKey(e,r,n,A){let i,o=t.from([n]);if(A){o=new l(n).or(new l(2147483648)).toBuffer();let r=t.from(e);i=t.from([0]),i=t.concat([i,r])}else{const r=u.publicKeyCreate(e);0==n&&(o=t.from([0,0,0,0])),i=r}i=t.concat([i,o]);let a=d.I64(r,Uint8Array.from(i)),s=new l(e),c=new l(a.secret);return{data:d.AddScalars(s,c),chainCode:a.chainCode}}static AddScalars(e,n){let A=e.add(n);let i=r(495).n.toBuffer(),o=A.mod(new l(i)).toBuffer(),a=t.alloc(32);return a.fill(o,32-o.length),a}static Serialize(e){const t={r:e.slice(0,32),s:e.slice(32,64)};return new(r(265))(t).toDER()}}e.exports=class{static getPrivateKeyFromSecret(e){let t=a.mnemonicToSeed(e),r=d.ComputeMastersFromSeed(t);return d.DerivePrivateKeyForPath(r.secret,r.chainCode,c.cosmos.bip39Path)}static sign(e,r){let A=t.from(JSON.stringify(r)),o=t.from(i(A,{asBytes:!0})),a=t.from(new Uint8Array(n.Hex.hexToBytes(e))),s=u.sign(o,a);return Array.from(s.signature)}static getAddress(e){e.length>33&&(e=e.slice(5,e.length));let r=i(e),A=t.from(n.Hex.hexToBytes(r));return(new o).update(A).digest("hex").toUpperCase()}static create(e){let t=s(32),r=a.entropyToMnemonic(t,e);for(;A.hasRepeatElement(r," ");)t=s(32),r=a.entropyToMnemonic(t,e);let i=this.getPrivateKeyFromSecret(r),o=u.publicKeyCreate(i);return o=f.MarshalBinary(c.cosmos.amino.pubKey,o),{secret:r,address:this.getAddress(o),privateKey:n.Hex.bytesToHex(i),publicKey:n.Hex.bytesToHex(o)}}static recover(e,t){this.checkSeed(e,t);let r=this.getPrivateKeyFromSecret(e),A=u.publicKeyCreate(r);return A=f.MarshalBinary(c.cosmos.amino.pubKey,A),{secret:e,address:this.getAddress(A),privateKey:n.Hex.bytesToHex(r),publicKey:n.Hex.bytesToHex(A)}}static checkSeed(e,t){const r=e.split(" ");if(12!=r.length&&24!=r.length)throw new Error("seed length must be equal 12 or 24");if(!a.validateMnemonic(e,t))throw new Error("seed is invalid")}static import(e){let r=t.from(e,"hex"),A=u.publicKeyCreate(r);return A=f.MarshalBinary(c.cosmos.amino.pubKey,A),{address:this.getAddress(A),privateKey:e,publicKey:n.Hex.bytesToHex(A)}}static isValidAddress(e){let t=c.cosmos.bech32.accAddr;return n.Bech32.isBech32(t,e)}static isValidPrivate(e){return/^[0-9a-fA-F]{64}$/i.test(e)}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){const n=r(69),A=r(65),i=r(177),o=r(122),a=r(56),s=r(62),u=r(340),l=r(339),c=r(49),f=r(74);class d{static ComputeMastersFromSeed(e){let r=t.from("Bitcoin seed");return d.I64(r,e)}static DerivePrivateKeyForPath(e,t,r){let n=e;return r.split("/").forEach(function(e){let r="'"===e.slice(e.length-1,e.length);r&&(e=e.slice(0,e.length-1));let A=parseInt(e),i=d.DerivePrivateKey(n,t,A,r);n=i.data,t=i.chainCode}),n}static I64(e,t){let n=r(107)("sha512",e);n.update(t);let A=n.digest();return{secret:A.slice(0,32),chainCode:A.slice(32,A.length)}}static DerivePrivateKey(e,r,n,A){let i,o=t.from([n]);if(A){o=new l(n).or(new l(2147483648)).toBuffer();let r=t.from(e);i=t.from([0]),i=t.concat([i,r])}else{const r=u.publicKeyCreate(e);0==n&&(o=t.from([0,0,0,0])),i=r}i=t.concat([i,o]);let a=d.I64(r,Uint8Array.from(i)),s=new l(e),c=new l(a.secret);return{data:d.AddScalars(s,c),chainCode:a.chainCode}}static AddScalars(e,n){let A=e.add(n);let i=r(495).n.toBuffer(),o=A.mod(new l(i)).toBuffer(),a=t.alloc(32);return a.fill(o,32-o.length),a}static Serialize(e){const t={r:e.slice(0,32),s:e.slice(32,64)};return new(r(265))(t).toDER()}}e.exports=class{static getPrivateKeyFromSecret(e){let t=a.mnemonicToSeed(e),r=d.ComputeMastersFromSeed(t);return d.DerivePrivateKeyForPath(r.secret,r.chainCode,c.hashgard.bip39Path)}static sign(e,r){let A=t.from(JSON.stringify(r)),o=t.from(i(A,{asBytes:!0})),a=t.from(new Uint8Array(n.Hex.hexToBytes(e))),s=u.sign(o,a);return Array.from(s.signature)}static getAddress(e){e.length>33&&(e=e.slice(5,e.length));let r=i(e),A=t.from(n.Hex.hexToBytes(r));return(new o).update(A).digest("hex").toUpperCase()}static create(e){let t=s(32),r=a.entropyToMnemonic(t,e);for(;A.hasRepeatElement(r," ");)t=s(32),r=a.entropyToMnemonic(t,e);let i=this.getPrivateKeyFromSecret(r),o=u.publicKeyCreate(i);return o=f.MarshalBinary(c.hashgard.amino.pubKey,o),{secret:r,address:this.getAddress(o),privateKey:n.Hex.bytesToHex(i),publicKey:n.Hex.bytesToHex(o)}}static recover(e,t){this.checkSeed(e,t);let r=this.getPrivateKeyFromSecret(e),A=u.publicKeyCreate(r);return A=f.MarshalBinary(c.hashgard.amino.pubKey,A),{secret:e,address:this.getAddress(A),privateKey:n.Hex.bytesToHex(r),publicKey:n.Hex.bytesToHex(A)}}static checkSeed(e,t){const r=e.split(" ");if(12!=r.length&&24!=r.length)throw new Error("seed length must be equal 12 or 24");if(!a.validateMnemonic(e,t))throw new Error("seed is invalid")}static import(e){let r=t.from(e,"hex"),A=u.publicKeyCreate(r);return A=f.MarshalBinary(c.hashgard.amino.pubKey,A),{address:this.getAddress(A),privateKey:e,publicKey:n.Hex.bytesToHex(A)}}static isValidAddress(e){let t=c.hashgard.bech32.accAddr;return n.Bech32.isBech32(t,e)}static isValidPrivate(e){return/^[0-9a-fA-F]{64}$/i.test(e)}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(21),A=r(32),i=r(118);var o=r(252),a=r(105);var s=r(383),u=r(381);function l(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[i.a]}(e))return function(e,t){return new n.a(function(r){var n=new A.a;return n.add(t.schedule(function(){var A=e[i.a]();n.add(A.subscribe({next:function(e){n.add(t.schedule(function(){return r.next(e)}))},error:function(e){n.add(t.schedule(function(){return r.error(e)}))},complete:function(){n.add(t.schedule(function(){return r.complete()}))}}))})),n})}(e,t);if(Object(s.a)(e))return function(e,t){return new n.a(function(r){var n=new A.a;return n.add(t.schedule(function(){return e.then(function(e){n.add(t.schedule(function(){r.next(e),n.add(t.schedule(function(){return r.complete()}))}))},function(e){n.add(t.schedule(function(){return r.error(e)}))})})),n})}(e,t);if(Object(u.a)(e))return Object(o.a)(e,t);if(function(e){return e&&"function"==typeof e[a.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new n.a(function(r){var n,i=new A.a;return i.add(function(){n&&"function"==typeof n.return&&n.return()}),i.add(t.schedule(function(){n=e[a.a](),i.add(t.schedule(function(){if(!r.closed){var e,t;try{var A=n.next();e=A.value,t=A.done}catch(e){return void r.error(e)}t?r.complete():(r.next(e),this.schedule())}}))})),i})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}r.d(t,"a",function(){return l})},function(e,t,r){"use strict";var n=r(2),A=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return n.__extends(t,e),t.prototype.schedule=function(t,r){return void 0===r&&(r=0),r>0?e.prototype.schedule.call(this,t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,r){return r>0||this.closed?e.prototype.execute.call(this,t,r):this._execute(t,r)},t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0?e.prototype.requestAsyncId.call(this,t,r,n):t.flush(this)},t}(r(145).a),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t}(r(142).a);r.d(t,"a",function(){return o});var o=new i(A)},function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},function(e,t,r){"use strict";r.d(t,"a",function(){return n});var n=function(e){return function(t){for(var r=0,n=e.length;r<n&&!t.closed;r++)t.next(e[r]);t.complete()}}},function(e,t,r){"use strict";function n(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}r.d(t,"a",function(){return n})},function(e,t,r){"use strict";r.d(t,"a",function(){return A});var n=r(2),A=function(e){function t(t,r){var n=e.call(this)||this;return n.subject=t,n.subscriber=r,n.closed=!1,n}return n.__extends(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}},t}(r(32).a)},function(e,t,r){"use strict";function n(e,t){function r(){return!r.pred.apply(r.thisArg,arguments)}return r.pred=e,r.thisArg=t,r}r.d(t,"a",function(){return n})},function(e,t,r){"use strict";var n=function(e,t,r){for(;e.indexOf("{{ "+t+" }}")>-1;)e=e.replace("{{ "+t+" }}",'"'+r+'"');return e},A=function(e){return null===e?e:!1===e?null:("boolean"==typeof e&&(e={}),e.hasOwnProperty("h1")||(e.h1="h1"),e.hasOwnProperty("h2")||(e.h2="h2"),e)};t.constitution=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=function(){return e.match(new RegExp("#(.*)-"))};if(r=A(r),t&&(e=n(e,"signer",t)),null!==r){for(var o=i();o&&o[0].length;){var a=o[0].replace("# ","").replace(" -","");e=e.replace(o[0],"<"+r.h1+">"+a+"</"+r.h1.split(" ")[0]+">"),o=i()}e=e.replace(/[\n\r]/g,"<br>")}return e},t.parse=function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;return o=A(o),r=r.replace(/`/g,""),r=n(r,e,e),Object.keys(t).map(function(e){return r=n(r,e,t[e])}),i&&(r=n(r,"signer",i)),null!==o&&(r=(r=(r=r.replace("# Action","<"+o.h1+">Action</"+o.h1.split(" ")[0]+">")).replace("## Description","<"+o.h2+">Description</"+o.h2.split(" ")[0]+">")).replace(/[\n\r]/g,"<br>")),r}},function(e,t,r){"use strict";r.d(t,"a",function(){return A});var n=r(3);class A{constructor(e="",t="https",r="",A=0,i=n.c.EOS,o=""){this.name=e,this.protocol=t,this.host=r,this.port=A,this.blockchain=i,this.chainId=o.toString()}static placeholder(){return new A}static fromJson(e){const t=Object.assign(A.placeholder(),e);return t.chainId=t.chainId?t.chainId.toString():"",t}static fromUnique(e){const t=e.split(":")[0];if(e.indexOf(":chain:")>-1)return new A("","","","",t,e.replace(`${t}:chain:`,""));const r=e.replace(`${t}:`,"").split(":");return new A("","",r[0],parseInt(r[1]||80),t)}unique(){return(`${this.blockchain}:`+(this.chainId.length?`chain:${this.chainId}`:`${this.host}:${this.port}`)).toLowerCase()}hostport(){return`${this.host}${this.port?":":""}${this.port}`}fullhost(){return`${this.protocol}://${this.host}${this.port?":":""}${this.port}`}clone(){return Network.fromJson(JSON.parse(JSON.stringify(this)))}isEmpty(){return!this.host.length}isValid(){return this.host.length&&this.port||this.chainId.length}}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(194).Transform;function i(e){A.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(20)(i,A),i.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},i.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},i.prototype.update=function(e,t){if(function(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));for(var r=this._block,A=0;this._blockOffset+e.length-A>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)r[i++]=e[A++];this._update(),this._blockOffset=0}for(;A<e.length;)r[this._blockOffset++]=e[A++];for(var o=0,a=8*e.length;a>0;++o)this._length[o]+=a,(a=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*a);return this},i.prototype._update=function(){throw new Error("_update is not implemented")},i.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},i.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=i},function(e,t,r){"use strict";(function(t,n){var A=r(213);e.exports=C;var i,o=r(388);C.ReadableState=B;r(220).EventEmitter;var a=function(e,t){return e.listeners(t).length},s=r(391),u=r(15).Buffer,l=t.Uint8Array||function(){};var c=r(172);c.inherits=r(20);var f=r(560),d=void 0;d=f&&f.debuglog?f.debuglog("stream"):function(){};var g,h=r(561),p=r(392);c.inherits(C,s);var I=["error","close","destroy","pause","resume"];function B(e,t){e=e||{};var n=t instanceof(i=i||r(121));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var A=e.highWaterMark,o=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=A||0===A?A:n&&(o||0===o)?o:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(g||(g=r(259).StringDecoder),this.decoder=new g(e.encoding),this.encoding=e.encoding)}function C(e){if(i=i||r(121),!(this instanceof C))return new C(e);this._readableState=new B(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function m(e,t,r,n,A){var i,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,E(e)}(e,o)):(A||(i=function(e,t){var r;n=t,u.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(o,t)),i?e.emit("error",i):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=function(e){return u.from(e)}(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):y(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?y(e,o,t,!1):v(e,o)):y(e,o,t,!1))):n||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function y(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&E(e)),v(e,t)}Object.defineProperty(C.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),C.prototype.destroy=p.destroy,C.prototype._undestroy=p.undestroy,C.prototype._destroy=function(e,t){this.push(null),t(e)},C.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=u.from(e,t),t=""),r=!0),m(this,e,t,!1,r)},C.prototype.unshift=function(e){return m(this,e,null,!0,!1)},C.prototype.isPaused=function(){return!1===this._readableState.flowing},C.prototype.setEncoding=function(e){return g||(g=r(259).StringDecoder),this._readableState.decoder=new g(e),this._readableState.encoding=e,this};var Q=8388608;function w(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=Q?e=Q:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function E(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(d("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?A.nextTick(b,e):b(e))}function b(e){d("emit readable"),e.emit("readable"),_(e)}function v(e,t){t.readingMore||(t.readingMore=!0,A.nextTick(D,e,t))}function D(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(d("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function M(e){d("readable nexttick read 0"),e.read(0)}function k(e,t){t.reading||(d("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),_(e),t.flowing&&!t.reading&&e.read(0)}function _(e){var t=e._readableState;for(d("flow",t.flowing);t.flowing&&null!==e.read(););}function S(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,A=r.data;e-=A.length;for(;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(o===i.length?A+=i:A+=i.slice(0,e),0===(e-=o)){o===i.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(o));break}++n}return t.length-=n,A}(e,t):function(e,t){var r=u.allocUnsafe(e),n=t.head,A=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(r,r.length-e,0,o),0===(e-=o)){o===i.length?(++A,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(o));break}++A}return t.length-=A,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function N(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,A.nextTick(F,t,e))}function F(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function x(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}C.prototype.read=function(e){d("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?N(this):E(this),null;if(0===(e=w(e,t))&&t.ended)return 0===t.length&&N(this),null;var n,A=t.needReadable;return d("need readable",A),(0===t.length||t.length-e<t.highWaterMark)&&d("length less than watermark",A=!0),t.ended||t.reading?d("reading or ended",A=!1):A&&(d("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=w(r,t))),null===(n=e>0?S(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&N(this)),null!==n&&this.emit("data",n),n},C.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},C.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,d("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:C;function u(t,n){d("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),e.removeListener("close",I),e.removeListener("finish",B),e.removeListener("drain",c),e.removeListener("error",p),e.removeListener("unpipe",u),r.removeListener("end",l),r.removeListener("end",C),r.removeListener("data",h),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){d("onend"),e.end()}i.endEmitted?A.nextTick(s):r.once("end",s),e.on("unpipe",u);var c=function(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,_(e))}}(r);e.on("drain",c);var f=!1;var g=!1;function h(t){d("ondata"),g=!1,!1!==e.write(t)||g||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==x(i.pipes,e))&&!f&&(d("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,g=!0),r.pause())}function p(t){d("onerror",t),C(),e.removeListener("error",p),0===a(e,"error")&&e.emit("error",t)}function I(){e.removeListener("finish",B),C()}function B(){d("onfinish"),e.removeListener("close",I),C()}function C(){d("unpipe"),r.unpipe(e)}return r.on("data",h),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",p),e.once("close",I),e.once("finish",B),e.emit("pipe",r),i.flowing||(d("pipe resume"),r.resume()),e},C.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,A=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<A;i++)n[i].emit("unpipe",this,r);return this}var o=x(t.pipes,e);return-1===o?this:(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)},C.prototype.on=function(e,t){var r=s.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&E(this):A.nextTick(M,this))}return r},C.prototype.addListener=C.prototype.on,C.prototype.resume=function(){var e=this._readableState;return e.flowing||(d("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,A.nextTick(k,e,t))}(this,e)),this},C.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},C.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var A in e.on("end",function(){if(d("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(A){(d("wrapped data"),r.decoder&&(A=r.decoder.write(A)),r.objectMode&&null==A)||(r.objectMode||A&&A.length)&&(t.push(A)||(n=!0,e.pause()))}),e)void 0===this[A]&&"function"==typeof e[A]&&(this[A]=function(t){return function(){return e[t].apply(e,arguments)}}(A));for(var i=0;i<I.length;i++)e.on(I[i],this.emit.bind(this,I[i]));return this._read=function(t){d("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(C.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),C._fromList=S}).call(this,r(34),r(50))},function(e,t,r){e.exports=r(220).EventEmitter},function(e,t,r){"use strict";var n=r(213);function A(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return i||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||n.nextTick(A,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(n.nextTick(A,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,r){"use strict";e.exports=o;var n=r(121),A=r(172);function i(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var A=this._readableState;A.reading=!1,(A.needReadable||A.length<A.highWaterMark)&&this._read(A.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);n.call(this,e),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",a)}function a(){var e=this;"function"==typeof this._flush?this._flush(function(t,r){s(e,t,r)}):s(this,null,null)}function s(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}A.inherits=r(20),A.inherits(o,n),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var A=this._readableState;(n.needTransform||A.needReadable||A.length<A.highWaterMark)&&this._read(A.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,function(e){t(e),r.emit("close")})}},function(e,t,r){var n=r(20),A=r(148),i=r(15).Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=new Array(64);function s(){this.init(),this._w=a,A.call(this,64,56)}function u(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function c(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function f(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function d(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(s,A),s.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},s.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,A=0|this._b,i=0|this._c,a=0|this._d,s=0|this._e,g=0|this._f,h=0|this._g,p=0|this._h,I=0;I<16;++I)r[I]=e.readInt32BE(4*I);for(;I<64;++I)r[I]=0|(((t=r[I-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[I-7]+d(r[I-15])+r[I-16];for(var B=0;B<64;++B){var C=p+f(s)+u(s,g,h)+o[B]+r[B]|0,m=c(n)+l(n,A,i)|0;p=h,h=g,g=s,s=a+C|0,a=i,i=A,A=n,n=C+m|0}this._a=n+this._a|0,this._b=A+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0,this._f=g+this._f|0,this._g=h+this._g|0,this._h=p+this._h|0},s.prototype._hash=function(){var e=i.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=s},function(e,t,r){var n=r(20),A=r(148),i=r(15).Buffer,o=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160);function s(){this.init(),this._w=a,A.call(this,128,112)}function u(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function c(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function f(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function d(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function g(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function h(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function p(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function I(e,t){return e>>>0<t>>>0?1:0}n(s,A),s.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},s.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,A=0|this._ch,i=0|this._dh,a=0|this._eh,s=0|this._fh,B=0|this._gh,C=0|this._hh,m=0|this._al,y=0|this._bl,Q=0|this._cl,w=0|this._dl,E=0|this._el,b=0|this._fl,v=0|this._gl,D=0|this._hl,M=0;M<32;M+=2)t[M]=e.readInt32BE(4*M),t[M+1]=e.readInt32BE(4*M+4);for(;M<160;M+=2){var k=t[M-30],_=t[M-30+1],S=d(k,_),N=g(_,k),F=h(k=t[M-4],_=t[M-4+1]),x=p(_,k),G=t[M-14],H=t[M-14+1],U=t[M-32],Y=t[M-32+1],L=N+H|0,O=S+G+I(L,N)|0;O=(O=O+F+I(L=L+x|0,x)|0)+U+I(L=L+Y|0,Y)|0,t[M]=O,t[M+1]=L}for(var K=0;K<160;K+=2){O=t[K],L=t[K+1];var P=l(r,n,A),R=l(m,y,Q),T=c(r,m),J=c(m,r),j=f(a,E),q=f(E,a),V=o[K],W=o[K+1],z=u(a,s,B),Z=u(E,b,v),X=D+q|0,$=C+j+I(X,D)|0;$=($=($=$+z+I(X=X+Z|0,Z)|0)+V+I(X=X+W|0,W)|0)+O+I(X=X+L|0,L)|0;var ee=J+R|0,te=T+P+I(ee,J)|0;C=B,D=v,B=s,v=b,s=a,b=E,a=i+$+I(E=w+X|0,w)|0,i=A,w=Q,A=n,Q=y,n=r,y=m,r=$+te+I(m=X+ee|0,X)|0}this._al=this._al+m|0,this._bl=this._bl+y|0,this._cl=this._cl+Q|0,this._dl=this._dl+w|0,this._el=this._el+E|0,this._fl=this._fl+b|0,this._gl=this._gl+v|0,this._hl=this._hl+D|0,this._ah=this._ah+r+I(this._al,m)|0,this._bh=this._bh+n+I(this._bl,y)|0,this._ch=this._ch+A+I(this._cl,Q)|0,this._dh=this._dh+i+I(this._dl,w)|0,this._eh=this._eh+a+I(this._el,E)|0,this._fh=this._fh+s+I(this._fl,b)|0,this._gh=this._gh+B+I(this._gl,v)|0,this._hh=this._hh+C+I(this._hl,D)|0},s.prototype._hash=function(){var e=i.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=s},function(e,t,r){var n=r(257);e.exports=function(e){return(new n).update(e).digest()}},function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},function(e,t,r){(function(t){var r=Math.pow(2,30)-1;function n(e,r){if("string"!=typeof e&&!t.isBuffer(e))throw new TypeError(r+" must be a buffer or string")}e.exports=function(e,t,A,i){if(n(e,"Password"),n(t,"Salt"),"number"!=typeof A)throw new TypeError("Iterations not a number");if(A<0)throw new TypeError("Bad iterations");if("number"!=typeof i)throw new TypeError("Key length not a number");if(i<0||i>r||i!=i)throw new TypeError("Bad key length")}}).call(this,r(8).Buffer)},function(e,t,r){(function(t){var r;t.browser?r="utf-8":r=parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary";e.exports=r}).call(this,r(50))},function(e,t,r){var n=r(396),A=r(122),i=r(260),o=r(398),a=r(399),s=r(15).Buffer,u=s.alloc(128),l={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function c(e,t,r){var o=function(e){return"rmd160"===e||"ripemd160"===e?function(e){return(new A).update(e).digest()}:"md5"===e?n:function(t){return i(e).update(t).digest()}}(e),a="sha512"===e||"sha384"===e?128:64;t.length>a?t=o(t):t.length<a&&(t=s.concat([t,u],a));for(var c=s.allocUnsafe(a+l[e]),f=s.allocUnsafe(a+l[e]),d=0;d<a;d++)c[d]=54^t[d],f[d]=92^t[d];var g=s.allocUnsafe(a+r+4);c.copy(g,0,0,a),this.ipad1=g,this.ipad2=c,this.opad=f,this.alg=e,this.blocksize=a,this.hash=o,this.size=l[e]}c.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=function(e,t,r,n,A){o(e,t,r,n),s.isBuffer(e)||(e=s.from(e,a)),s.isBuffer(t)||(t=s.from(t,a));var i=new c(A=A||"sha1",e,t.length),u=s.allocUnsafe(n),f=s.allocUnsafe(t.length+4);t.copy(f,0,0,t.length);for(var d=0,g=l[A],h=Math.ceil(n/g),p=1;p<=h;p++){f.writeUInt32BE(p,t.length);for(var I=i.run(f,i.ipad1),B=I,C=1;C<r;C++){B=i.run(B,i.ipad2);for(var m=0;m<g;m++)I[m]^=B[m]}I.copy(u,d),d+=g}return u}},function(e,t,r){var n=r(173),A=r(15).Buffer,i=r(402);function o(e){var t=e._cipher.encryptBlockRaw(e._prev);return i(e._prev),t}t.encrypt=function(e,t){var r=Math.ceil(t.length/16),i=e._cache.length;e._cache=A.concat([e._cache,A.allocUnsafe(16*r)]);for(var a=0;a<r;a++){var s=o(e),u=i+16*a;e._cache.writeUInt32BE(s[0],u+0),e._cache.writeUInt32BE(s[1],u+4),e._cache.writeUInt32BE(s[2],u+8),e._cache.writeUInt32BE(s[3],u+12)}var l=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),n(t,l)}},function(e,t){e.exports=function(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}},function(e){e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},function(e,t,r){var n=r(214),A=r(15).Buffer,i=r(106),o=r(20),a=r(591),s=r(173),u=r(402);function l(e,t,r,o){i.call(this);var s=A.alloc(4,0);this._cipher=new n.AES(t);var l=this._cipher.encryptBlock(s);this._ghash=new a(l),r=function(e,t,r){if(12===t.length)return e._finID=A.concat([t,A.from([0,0,0,1])]),A.concat([t,A.from([0,0,0,2])]);var n=new a(r),i=t.length,o=i%16;n.update(t),o&&(o=16-o,n.update(A.alloc(o,0))),n.update(A.alloc(8,0));var s=8*i,l=A.alloc(8);l.writeUIntBE(s,0,8),n.update(l),e._finID=n.state;var c=A.from(e._finID);return u(c),c}(this,r,l),this._prev=A.from(r),this._cache=A.allocUnsafe(0),this._secCache=A.allocUnsafe(0),this._decrypt=o,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}o(l,i),l.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=A.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},l.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=s(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),A=0;A<n;++A)r+=e[A]^t[A];return r}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},l.prototype.getAuthTag=function(){if(this._decrypt||!A.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},l.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},l.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=l},function(e,t,r){var n=r(214),A=r(15).Buffer,i=r(106);function o(e,t,r,o){i.call(this),this._cipher=new n.AES(t),this._prev=A.from(r),this._cache=A.allocUnsafe(0),this._secCache=A.allocUnsafe(0),this._decrypt=o,this._mode=e}r(20)(o,i),o.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},e.exports=o},function(e,t,r){var n=r(62);e.exports=B,B.simpleSieve=p,B.fermatTest=I;var A=r(17),i=new A(24),o=new(r(407)),a=new A(1),s=new A(2),u=new A(5),l=(new A(16),new A(8),new A(10)),c=new A(3),f=(new A(7),new A(11)),d=new A(4),g=(new A(12),null);function h(){if(null!==g)return g;var e=[];e[0]=2;for(var t=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),A=0;A<t&&e[A]<=n&&r%e[A]!=0;A++);t!==A&&e[A]<=n||(e[t++]=r)}return g=e,e}function p(e){for(var t=h(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function I(e){var t=A.mont(e);return 0===s.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function B(e,t){if(e<16)return new A(2===t||5===t?[140,123]:[140,39]);var r,g;for(t=new A(t);;){for(r=new A(n(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(a),r.testn(1)||r.iadd(s),t.cmp(s)){if(!t.cmp(u))for(;r.mod(l).cmp(c);)r.iadd(d)}else for(;r.mod(i).cmp(f);)r.iadd(d);if(p(g=r.shrn(1))&&p(r)&&I(g)&&I(r)&&o.test(g)&&o.test(r))return r}}},function(e,t,r){var n=r(17),A=r(150);function i(e){this.rand=e||new A.Rand}e.exports=i,i.create=function(e){return new i(e)},i.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var A=new n(this.rand.generate(r))}while(A.cmp(e)>=0);return A},i.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},i.prototype.test=function(e,t,r){var A=e.bitLength(),i=n.mont(e),o=new n(1).toRed(i);t||(t=Math.max(1,A/48|0));for(var a=e.subn(1),s=0;!a.testn(s);s++);for(var u=e.shrn(s),l=a.toRed(i);t>0;t--){var c=this._randrange(new n(2),a);r&&r(c);var f=c.toRed(i).redPow(u);if(0!==f.cmp(o)&&0!==f.cmp(l)){for(var d=1;d<s;d++){if(0===(f=f.redSqr()).cmp(o))return!1;if(0===f.cmp(l))break}if(d===s)return!1}}return!0},i.prototype.getDivisor=function(e,t){var r=e.bitLength(),A=n.mont(e),i=new n(1).toRed(A);t||(t=Math.max(1,r/48|0));for(var o=e.subn(1),a=0;!o.testn(a);a++);for(var s=e.shrn(a),u=o.toRed(A);t>0;t--){var l=this._randrange(new n(2),o),c=e.gcd(l);if(0!==c.cmpn(1))return c;var f=l.toRed(A).redPow(s);if(0!==f.cmp(i)&&0!==f.cmp(u)){for(var d=1;d<a;d++){if(0===(f=f.redSqr()).cmp(i))return f.fromRed().subn(1).gcd(e);if(0===f.cmp(u))break}if(d===a)return(f=f.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},function(e,t,r){"use strict";var n=r(84).rotr32;function A(e,t,r){return e&t^~e&r}function i(e,t,r){return e&t^e&r^t&r}function o(e,t,r){return e^t^r}t.ft_1=function(e,t,r,n){return 0===e?A(t,r,n):1===e||3===e?o(t,r,n):2===e?i(t,r,n):void 0},t.ch32=A,t.maj32=i,t.p32=o,t.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},t.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},t.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},function(e,t,r){"use strict";var n=r(84),A=r(174),i=r(408),o=r(57),a=n.sum32,s=n.sum32_4,u=n.sum32_5,l=i.ch32,c=i.maj32,f=i.s0_256,d=i.s1_256,g=i.g0_256,h=i.g1_256,p=A.BlockHash,I=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function B(){if(!(this instanceof B))return new B;p.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=I,this.W=new Array(64)}n.inherits(B,p),e.exports=B,B.blockSize=512,B.outSize=256,B.hmacStrength=192,B.padLength=64,B.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=s(h(r[n-2]),r[n-7],g(r[n-15]),r[n-16]);var A=this.h[0],i=this.h[1],p=this.h[2],I=this.h[3],B=this.h[4],C=this.h[5],m=this.h[6],y=this.h[7];for(o(this.k.length===r.length),n=0;n<r.length;n++){var Q=u(y,d(B),l(B,C,m),this.k[n],r[n]),w=a(f(A),c(A,i,p));y=m,m=C,C=B,B=a(I,Q),I=p,p=i,i=A,A=a(Q,w)}this.h[0]=a(this.h[0],A),this.h[1]=a(this.h[1],i),this.h[2]=a(this.h[2],p),this.h[3]=a(this.h[3],I),this.h[4]=a(this.h[4],B),this.h[5]=a(this.h[5],C),this.h[6]=a(this.h[6],m),this.h[7]=a(this.h[7],y)},B.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,r){"use strict";var n=r(84),A=r(174),i=r(57),o=n.rotr64_hi,a=n.rotr64_lo,s=n.shr64_hi,u=n.shr64_lo,l=n.sum64,c=n.sum64_hi,f=n.sum64_lo,d=n.sum64_4_hi,g=n.sum64_4_lo,h=n.sum64_5_hi,p=n.sum64_5_lo,I=A.BlockHash,B=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function C(){if(!(this instanceof C))return new C;I.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=B,this.W=new Array(160)}function m(e,t,r,n,A){var i=e&r^~e&A;return i<0&&(i+=4294967296),i}function y(e,t,r,n,A,i){var o=t&n^~t&i;return o<0&&(o+=4294967296),o}function Q(e,t,r,n,A){var i=e&r^e&A^r&A;return i<0&&(i+=4294967296),i}function w(e,t,r,n,A,i){var o=t&n^t&i^n&i;return o<0&&(o+=4294967296),o}function E(e,t){var r=o(e,t,28)^o(t,e,2)^o(t,e,7);return r<0&&(r+=4294967296),r}function b(e,t){var r=a(e,t,28)^a(t,e,2)^a(t,e,7);return r<0&&(r+=4294967296),r}function v(e,t){var r=o(e,t,14)^o(e,t,18)^o(t,e,9);return r<0&&(r+=4294967296),r}function D(e,t){var r=a(e,t,14)^a(e,t,18)^a(t,e,9);return r<0&&(r+=4294967296),r}function M(e,t){var r=o(e,t,1)^o(e,t,8)^s(e,t,7);return r<0&&(r+=4294967296),r}function k(e,t){var r=a(e,t,1)^a(e,t,8)^u(e,t,7);return r<0&&(r+=4294967296),r}function _(e,t){var r=o(e,t,19)^o(t,e,29)^s(e,t,6);return r<0&&(r+=4294967296),r}function S(e,t){var r=a(e,t,19)^a(t,e,29)^u(e,t,6);return r<0&&(r+=4294967296),r}n.inherits(C,I),e.exports=C,C.blockSize=1024,C.outSize=512,C.hmacStrength=192,C.padLength=128,C.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var A=_(r[n-4],r[n-3]),i=S(r[n-4],r[n-3]),o=r[n-14],a=r[n-13],s=M(r[n-30],r[n-29]),u=k(r[n-30],r[n-29]),l=r[n-32],c=r[n-31];r[n]=d(A,i,o,a,s,u,l,c),r[n+1]=g(A,i,o,a,s,u,l,c)}},C.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],A=this.h[1],o=this.h[2],a=this.h[3],s=this.h[4],u=this.h[5],d=this.h[6],g=this.h[7],I=this.h[8],B=this.h[9],C=this.h[10],M=this.h[11],k=this.h[12],_=this.h[13],S=this.h[14],N=this.h[15];i(this.k.length===r.length);for(var F=0;F<r.length;F+=2){var x=S,G=N,H=v(I,B),U=D(I,B),Y=m(I,B,C,M,k),L=y(I,B,C,M,k,_),O=this.k[F],K=this.k[F+1],P=r[F],R=r[F+1],T=h(x,G,H,U,Y,L,O,K,P,R),J=p(x,G,H,U,Y,L,O,K,P,R);x=E(n,A),G=b(n,A),H=Q(n,A,o,a,s),U=w(n,A,o,a,s,u);var j=c(x,G,H,U),q=f(x,G,H,U);S=k,N=_,k=C,_=M,C=I,M=B,I=c(d,g,T,J),B=f(g,g,T,J),d=s,g=u,s=o,u=a,o=n,a=A,n=c(T,J,j,q),A=f(T,J,j,q)}l(this.h,0,n,A),l(this.h,2,o,a),l(this.h,4,s,u),l(this.h,6,d,g),l(this.h,8,I,B),l(this.h,10,C,M),l(this.h,12,k,_),l(this.h,14,S,N)},C.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,r){var n=r(20),A=r(176).Reporter,i=r(8).Buffer;function o(e,t){A.call(this,t),i.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function a(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof a||(e=new a(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=i.byteLength(e);else{if(!i.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}n(o,A),t.DecoderBuffer=o,o.prototype.save=function(){return{offset:this.offset,reporter:A.prototype.save.call(this)}},o.prototype.restore=function(e){var t=new o(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,A.prototype.restore.call(this,e.reporter),t},o.prototype.isEmpty=function(){return this.offset===this.length},o.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},o.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new o(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},o.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=a,a.prototype.join=function(e,t){return e||(e=new i(this.length)),t||(t=0),0===this.length?e:(Array.isArray(this.value)?this.value.forEach(function(r){r.join(e,t),t+=r.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):i.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length),e)}},function(e,t,r){var n=t;n._reverse=function(e){var t={};return Object.keys(e).forEach(function(r){(0|r)==r&&(r|=0);var n=e[r];t[n]=r}),t},n.der=r(625)},function(e,t,r){var n=r(20),A=r(175),i=A.base,o=A.bignum,a=A.constants.der;function s(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){i.Node.call(this,"der",e)}function l(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=a.tagClass[r>>6],A=0==(32&r);if(31==(31&r)){var i=r;for(r=0;128==(128&i);){if(i=e.readUInt8(t),e.isError(i))return i;r<<=7,r|=127&i}}else r&=31;return{cls:n,primitive:A,tag:r,tagStr:a.tag[r]}}function c(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;var A=127&n;if(A>4)return e.error("length octect is too long");n=0;for(var i=0;i<A;i++){n<<=8;var o=e.readUInt8(r);if(e.isError(o))return o;n|=o}return n}e.exports=s,s.prototype.decode=function(e,t){return e instanceof i.DecoderBuffer||(e=new i.DecoderBuffer(e,t)),this.tree._decode(e,t)},n(u,i.Node),u.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var n=e.save(),A=l(e,'Failed to peek tag: "'+t+'"');return e.isError(A)?A:(e.restore(n),A.tag===t||A.tagStr===t||A.tagStr+"of"===t||r)},u.prototype._decodeTag=function(e,t,r){var n=l(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;var A=c(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(A))return A;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==A)return e.skip(A,'Failed to match body of: "'+t+'"');var i=e.save(),o=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(o)?o:(A=e.offset-i.offset,e.restore(i),e.skip(A,'Failed to match body of: "'+t+'"'))},u.prototype._skipUntilEnd=function(e,t){for(;;){var r=l(e,t);if(e.isError(r))return r;var n,A=c(e,r.primitive,t);if(e.isError(A))return A;if(n=r.primitive||null!==A?e.skip(A):this._skipUntilEnd(e,t),e.isError(n))return n;if("end"===r.tagStr)break}},u.prototype._decodeList=function(e,t,r,n){for(var A=[];!e.isEmpty();){var i=this._peekTag(e,"end");if(e.isError(i))return i;var o=r.decode(e,"der",n);if(e.isError(o)&&i)break;A.push(o)}return A},u.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var n=e.raw();if(n.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var A="",i=0;i<n.length/2;i++)A+=String.fromCharCode(n.readUInt16BE(2*i));return A}if("numstr"===t){var o=e.raw().toString("ascii");return this._isNumstr(o)?o:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var a=e.raw().toString("ascii");return this._isPrintstr(a)?a:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},u.prototype._decodeObjid=function(e,t,r){for(var n,A=[],i=0;!e.isEmpty();){var o=e.readUInt8();i<<=7,i|=127&o,0==(128&o)&&(A.push(i),i=0)}128&o&&A.push(i);var a=A[0]/40|0,s=A[0]%40;if(n=r?A:[a,s].concat(A.slice(1)),t){var u=t[n.join(" ")];void 0===u&&(u=t[n.join(".")]),void 0!==u&&(n=u)}return n},u.prototype._decodeTime=function(e,t){var r=e.raw().toString();if("gentime"===t)var n=0|r.slice(0,4),A=0|r.slice(4,6),i=0|r.slice(6,8),o=0|r.slice(8,10),a=0|r.slice(10,12),s=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");n=0|r.slice(0,2),A=0|r.slice(2,4),i=0|r.slice(4,6),o=0|r.slice(6,8),a=0|r.slice(8,10),s=0|r.slice(10,12);n=n<70?2e3+n:1900+n}return Date.UTC(n,A-1,i,o,a,s,0)},u.prototype._decodeNull=function(e){return null},u.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},u.prototype._decodeInt=function(e,t){var r=e.raw(),n=new o(r);return t&&(n=t[n.toString(10)]||n),n},u.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},function(e,t,r){var n=r(20),A=r(8).Buffer,i=r(175),o=i.base,a=i.constants.der;function s(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){o.Node.call(this,"der",e)}function l(e){return e<10?"0"+e:e}e.exports=s,s.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(u,o.Node),u.prototype._encodeComposite=function(e,t,r,n){var i,o=function(e,t,r,n){var A;"seqof"===e?e="seq":"setof"===e&&(e="set");if(a.tagByName.hasOwnProperty(e))A=a.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);A=e}if(A>=31)return n.error("Multi-octet tag encoding unsupported");t||(A|=32);return A|=a.tagClassByName[r||"universal"]<<6}(e,t,r,this.reporter);if(n.length<128)return(i=new A(2))[0]=o,i[1]=n.length,this._createEncoderBuffer([i,n]);for(var s=1,u=n.length;u>=256;u>>=8)s++;(i=new A(2+s))[0]=o,i[1]=128|s;u=1+s;for(var l=n.length;l>0;u--,l>>=8)i[u]=255&l;return this._createEncoderBuffer([i,n])},u.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new A(2*e.length),n=0;n<e.length;n++)r.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)?this._createEncoderBuffer(e):"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},u.prototype._encodeObjid=function(e,t,r){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var n=0;n<e.length;n++)e[n]|=0}else if(Array.isArray(e)){e=e.slice();for(n=0;n<e.length;n++)e[n]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var i=0;for(n=0;n<e.length;n++){var o=e[n];for(i++;o>=128;o>>=7)i++}var a=new A(i),s=a.length-1;for(n=e.length-1;n>=0;n--){o=e[n];for(a[s--]=127&o;(o>>=7)>0;)a[s--]=128|127&o}return this._createEncoderBuffer(a)},u.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[l(n.getFullYear()),l(n.getUTCMonth()+1),l(n.getUTCDate()),l(n.getUTCHours()),l(n.getUTCMinutes()),l(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[l(n.getFullYear()%100),l(n.getUTCMonth()+1),l(n.getUTCDate()),l(n.getUTCHours()),l(n.getUTCMinutes()),l(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!A.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new A(r)}if(A.isBuffer(e)){var n=e.length;0===e.length&&n++;var i=new A(n);return e.copy(i),0===e.length&&(i[0]=0),this._createEncoderBuffer(i)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);n=1;for(var o=e;o>=256;o>>=8)n++;for(o=(i=new Array(n)).length-1;o>=0;o--)i[o]=255&e,e>>=8;return 128&i[0]&&i.unshift(0),this._createEncoderBuffer(new A(i))},u.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},u.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},u.prototype._skipDefault=function(e,t,r){var n,A=this._baseState;if(null===A.default)return!1;var i=e.join();if(void 0===A.defaultBuffer&&(A.defaultBuffer=this._encodeValue(A.default,t,r).join()),i.length!==A.defaultBuffer.length)return!1;for(n=0;n<i.length;n++)if(i[n]!==A.defaultBuffer[n])return!1;return!0}},function(e){e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},function(e,t,r){var n=r(45),A=r(15).Buffer;function i(e){var t=A.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var r,o=A.alloc(0),a=0;o.length<t;)r=i(a++),o=A.concat([o,n("sha1").update(e).update(r).digest()]);return o.slice(0,t)}},function(e,t){e.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}},function(e,t,r){var n=r(17),A=r(15).Buffer;e.exports=function(e,t){return A.from(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}},function(e,t,r){"use strict";r.d(t,"a",function(){return i});const n=r(47),A=r(1126);class i{static sha256(e){return n.sha256(e)}static async scrypt(e,t){return new Promise(async r=>{A(e,t,{N:16384,r:8,p:1,dkLen:16,encoding:"hex"},e=>{r(e)})})}}},,,function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0});var A={BTreeMap:!0,BTreeSet:!0,Compact:!0,Enum:!0,HashMap:!0,Linkage:!0,Option:!0,Result:!0,Set:!0,Struct:!0,Tuple:!0,Vec:!0,Int:!0,Raw:!0,UInt:!0,U8aFixed:!0};Object.defineProperty(t,"BTreeMap",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"BTreeSet",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Compact",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Enum",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"HashMap",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"Linkage",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Option",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"Result",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"Set",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"Struct",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"Tuple",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"Vec",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"Int",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"Raw",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"UInt",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"U8aFixed",{enumerable:!0,get:function(){return m.default}});var i=n(r(1009)),o=n(r(1013)),a=n(r(139)),s=n(r(298)),u=n(r(1015)),l=n(r(1950)),c=n(r(543)),f=n(r(1017)),d=n(r(1018)),g=n(r(53)),h=n(r(299)),p=n(r(362)),I=n(r(187)),B=n(r(90)),C=n(r(188)),m=n(r(300)),y=r(1014);Object.keys(y).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}}))})},function(e,t,r){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){for(var t,r=u(e),n=r[0],o=r[1],a=new i(function(e,t,r){return 3*(t+r)/4-r}(0,n,o)),s=0,l=o>0?n-4:n,c=0;c<l;c+=4)t=A[e.charCodeAt(c)]<<18|A[e.charCodeAt(c+1)]<<12|A[e.charCodeAt(c+2)]<<6|A[e.charCodeAt(c+3)],a[s++]=t>>16&255,a[s++]=t>>8&255,a[s++]=255&t;2===o&&(t=A[e.charCodeAt(c)]<<2|A[e.charCodeAt(c+1)]>>4,a[s++]=255&t);1===o&&(t=A[e.charCodeAt(c)]<<10|A[e.charCodeAt(c+1)]<<4|A[e.charCodeAt(c+2)]>>2,a[s++]=t>>8&255,a[s++]=255&t);return a},t.fromByteArray=function(e){for(var t,r=e.length,A=r%3,i=[],o=0,a=r-A;o<a;o+=16383)i.push(l(e,o,o+16383>a?a:o+16383));1===A?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===A&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],A=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)n[a]=o[a],A[o.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,r){for(var A,i,o=[],a=t;a<r;a+=3)A=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(n[(i=A)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}A["-".charCodeAt(0)]=62,A["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,r,n,A){var i,o,a=8*A-n-1,s=(1<<a)-1,u=s>>1,l=-7,c=r?A-1:0,f=r?-1:1,d=e[t+c];for(c+=f,i=d&(1<<-l)-1,d>>=-l,l+=a;l>0;i=256*i+e[t+c],c+=f,l-=8);for(o=i&(1<<-l)-1,i>>=-l,l+=n;l>0;o=256*o+e[t+c],c+=f,l-=8);if(0===i)i=1-u;else{if(i===s)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,n),i-=u}return(d?-1:1)*o*Math.pow(2,i-n)},t.write=function(e,t,r,n,A,i){var o,a,s,u=8*i-A-1,l=(1<<u)-1,c=l>>1,f=23===A?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:i-1,g=n?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-o))<1&&(o--,s*=2),(t+=o+c>=1?f/s:f*Math.pow(2,1-c))*s>=2&&(o++,s/=2),o+c>=l?(a=0,o=l):o+c>=1?(a=(t*s-1)*Math.pow(2,A),o+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,A),o=0));A>=8;e[r+d]=255&a,d+=g,a/=256,A-=8);for(o=o<<A|a,u+=A;u>0;e[r+d]=255&o,d+=g,o/=256,u-=8);e[r+d-g]|=128*h}},function(e,t,r){"use strict";(function(t){var n=r(108),A=r(1076),i={"Content-Type":"application/x-www-form-urlencoded"};function o(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var a,s={adapter:("undefined"!=typeof XMLHttpRequest?a=r(642):void 0!==t&&(a=r(642)),a),transformRequest:[function(e,t){return A(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(o(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)?(o(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],function(e){s.headers[e]={}}),n.forEach(["post","put","patch"],function(e){s.headers[e]=n.merge(i)}),e.exports=s}).call(this,r(50))},function(e,t,r){"use strict";(function(e){var n=r(135),A=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.getPrivateKeyFromMnemonic=t.validateMnemonic=t.generateMnemonic=t.getPrivateKeyFromKeyStore=t.generateKeyStore=t.verifySignature=t.generateSignature=t.getAddressFromPrivateKey=t.getAddressFromPublicKey=t.generatePubKey=t.getPublicKeyFromPrivateKey=t.getPublicKey=t.generateRandomArray=t.generatePrivateKey=t.encodeAddress=t.checkAddress=t.decodeAddress=void 0;var i=A(r(1090)),o=A(r(58)),a=A(r(72)),s=A(r(427)),u=A(r(428)),l=A(r(1094)),c=n(r(1100)),f=r(48),d=A(r(92)),g=r(650),h=new f.ec("secp256k1"),p=function(t){var r=o.default.decode(t);return e.from(o.default.fromWords(r.words))};t.decodeAddress=p;t.checkAddress=function(e,t){try{if(!e.startsWith(t))return!1;var r=o.default.decode(e);return 20===p(e).length&&r.prefix===t}catch(e){return!1}};var I=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"tbnb",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"hex",A=o.default.toWords(e.from(t,n));return o.default.encode(r,A)};t.encodeAddress=I;t.generatePrivateKey=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;return(0,g.ab2hexstring)((0,i.default)(e))};t.generateRandomArray=function(e){return(0,i.default)(e)};t.getPublicKey=function(e){return h.keyFromPublic(e,"hex").getPublic()};var B=function(e){if(!e||64!==e.length)throw new Error("invalid privateKey");return new f.ec("secp256k1").keyFromPrivate(e,"hex").getPublic().encode("hex")};t.getPublicKeyFromPrivateKey=B;t.generatePubKey=function(e){return new f.ec("secp256k1").keyFromPrivate(e).getPublic()};var C=function(e,t){var r=h.keyFromPublic(e,"hex").getPublic().encodeCompressed(),n=(0,g.ab2hexstring)(r),A=(0,g.sha256ripemd160)(n);return I(A,t)};t.getAddressFromPublicKey=C;t.getAddressFromPrivateKey=function(e,t){return C(B(e),t)};t.generateSignature=function(t,r){var n=(0,g.sha256)(t),A=e.from(n,"hex");return d.default.sign(A,e.from(r,"hex"))};t.verifySignature=function(t,r,n){var A=e.from(n,"hex");if(!d.default.isPoint(A))throw new Error("Invalid public key provided");var i=(0,g.sha256)(r),o=e.from(i,"hex");return d.default.verify(o,A,e.from(t,"hex"))};t.generateKeyStore=function(t,r){var n=a.default.randomBytes(32),A=a.default.randomBytes(16),i={dklen:32,salt:n.toString("hex"),c:262144,prf:"hmac-sha256"},o=a.default.pbkdf2Sync(e.from(r),n,i.c,i.dklen,"sha256"),u=a.default.createCipheriv("aes-256-ctr",o.slice(0,32),A);if(!u)throw new Error("Unsupported cipher");var l=e.concat([u.update(e.from(t,"hex")),u.final()]),c=e.concat([o.slice(16,32),e.from(l,"hex")]);return{version:1,id:s.default.v4({random:a.default.randomBytes(16)}),crypto:{ciphertext:l.toString("hex"),cipherparams:{iv:A.toString("hex")},cipher:"aes-256-ctr",kdf:"pbkdf2",kdfparams:i,mac:(0,g.sha3)(c.toString("hex"))}}};t.getPrivateKeyFromKeyStore=function(t,r){if(!u.default.string(r))throw new Error("No password given.");var n=u.default.object(t)?t:JSON.parse(t),A=n.crypto.kdfparams;if("hmac-sha256"!==A.prf)throw new Error("Unsupported parameters to PBKDF2");var i=a.default.pbkdf2Sync(e.from(r),e.from(A.salt,"hex"),A.c,A.dklen,"sha256"),o=e.from(n.crypto.ciphertext,"hex"),s=e.concat([i.slice(16,32),o]);if((0,g.sha3)(s.toString("hex"))!==n.crypto.mac&&(0,g.sha256)(s.toString("hex"))!==n.crypto.mac)throw new Error("Keystore mac check failed (sha3 & sha256) - wrong password?");var l=a.default.createDecipheriv(n.crypto.cipher,i.slice(0,32),e.from(n.crypto.cipherparams.iv,"hex"));return e.concat([l.update(o),l.final()]).toString("hex")};t.generateMnemonic=function(){return c.generateMnemonic(256)};var m=c.validateMnemonic;t.validateMnemonic=m;t.getPrivateKeyFromMnemonic=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(!c.validateMnemonic(e))throw new Error("wrong mnemonic format");var A=c.mnemonicToSeedSync(e,n);if(t){var i=l.default.fromSeed(A),o=i.derivePath("44'/714'/0'/0/"+r);return o.privateKey.toString("hex")}return A.toString("hex")}}).call(this,r(8).Buffer)},function(e,t,r){var n=r(1092),A=r(1093),i=A;i.v1=n,i.v4=A,e.exports=i},function(e,t,r){(function(n){var A,i;
/*!
 * is.js 0.8.0
 * Author: Aras Atasaygin
 */i=this,void 0===(A=function(){return i.is=function(){var e={VERSION:"0.8.0",not:{},all:{},any:{}},t=Object.prototype.toString,r=Array.prototype.slice,A=Object.prototype.hasOwnProperty;function i(e){return function(){return!e.apply(null,r.call(arguments))}}function o(e){return function(){for(var t=l(arguments),r=t.length,n=0;n<r;n++)if(!e.call(null,t[n]))return!1;return!0}}function a(e){return function(){for(var t=l(arguments),r=t.length,n=0;n<r;n++)if(e.call(null,t[n]))return!0;return!1}}var s={"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t}};function u(e,t){var r=t+"",n=+(r.match(/\d+/)||NaN),A=r.match(/^[<>]=?|/)[0];return s[A]?s[A](e,n):e==n||n!=n}function l(t){var n=r.call(t);return 1===n.length&&e.array(n[0])&&(n=n[0]),n}e.arguments=function(e){return"[object Arguments]"===t.call(e)||null!=e&&"object"==typeof e&&"callee"in e},e.array=Array.isArray||function(e){return"[object Array]"===t.call(e)},e.boolean=function(e){return!0===e||!1===e||"[object Boolean]"===t.call(e)},e.char=function(t){return e.string(t)&&1===t.length},e.date=function(e){return"[object Date]"===t.call(e)},e.domNode=function(t){return e.object(t)&&t.nodeType>0},e.error=function(e){return"[object Error]"===t.call(e)},e.function=function(e){return"[object Function]"===t.call(e)||"function"==typeof e},e.json=function(e){return"[object Object]"===t.call(e)},e.nan=function(e){return e!=e},e.null=function(e){return null===e},e.number=function(r){return e.not.nan(r)&&"[object Number]"===t.call(r)},e.object=function(e){return Object(e)===e},e.regexp=function(e){return"[object RegExp]"===t.call(e)},e.sameType=function(r,n){var A=t.call(r);return A===t.call(n)&&("[object Number]"!==A||!e.any.nan(r,n)||e.all.nan(r,n))},e.sameType.api=["not"],e.string=function(e){return"[object String]"===t.call(e)},e.undefined=function(e){return void 0===e},e.windowObject=function(e){return null!=e&&"object"==typeof e&&"setInterval"in e},e.empty=function(t){if(e.object(t)){var r=Object.getOwnPropertyNames(t).length;return!!(0===r||1===r&&e.array(t)||2===r&&e.arguments(t))}return""===t},e.existy=function(e){return null!=e},e.falsy=function(e){return!e},e.truthy=i(e.falsy),e.above=function(t,r){return e.all.number(t,r)&&t>r},e.above.api=["not"],e.decimal=function(t){return e.number(t)&&t%1!=0},e.equal=function(t,r){return e.all.number(t,r)?t===r&&1/t==1/r:e.all.string(t,r)||e.all.regexp(t,r)?""+t==""+r:!!e.all.boolean(t,r)&&t===r},e.equal.api=["not"],e.even=function(t){return e.number(t)&&t%2==0},e.finite=isFinite||function(t){return e.not.infinite(t)&&e.not.nan(t)},e.infinite=function(e){return e===1/0||e===-1/0},e.integer=function(t){return e.number(t)&&t%1==0},e.negative=function(t){return e.number(t)&&t<0},e.odd=function(t){return e.number(t)&&t%2==1},e.positive=function(t){return e.number(t)&&t>0},e.under=function(t,r){return e.all.number(t,r)&&t<r},e.under.api=["not"],e.within=function(t,r,n){return e.all.number(t,r,n)&&t>r&&t<n},e.within.api=["not"];var c={affirmative:/^(?:1|t(?:rue)?|y(?:es)?|ok(?:ay)?)$/,alphaNumeric:/^[A-Za-z0-9]+$/,caPostalCode:/^(?!.*[DFIOQU])[A-VXY][0-9][A-Z]\s?[0-9][A-Z][0-9]$/,creditCard:/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/,dateString:/^(1[0-2]|0?[1-9])([\/-])(3[01]|[12][0-9]|0?[1-9])(?:\2)(?:[0-9]{2})?[0-9]{2}$/,email:/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,eppPhone:/^\+[0-9]{1,3}\.[0-9]{4,14}(?:x.+)?$/,hexadecimal:/^(?:0x)?[0-9a-fA-F]+$/,hexColor:/^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/,ipv4:/^(?:(?:\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])\.){3}(?:\d|[1-9]\d|1\d{2}|2[0-4]\d|25[0-5])$/,ipv6:/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i,nanpPhone:/^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/,socialSecurityNumber:/^(?!000|666)[0-8][0-9]{2}-?(?!00)[0-9]{2}-?(?!0000)[0-9]{4}$/,timeString:/^(2[0-3]|[01]?[0-9]):([0-5]?[0-9]):([0-5]?[0-9])$/,ukPostCode:/^[A-Z]{1,2}[0-9RCHNQ][0-9A-Z]?\s?[0-9][ABD-HJLNP-UW-Z]{2}$|^[A-Z]{2}-?[0-9]{4}$/,url:/^(?:(?:https?|ftp):\/\/)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/i,usZipCode:/^[0-9]{5}(?:-[0-9]{4})?$/};function f(t,r){e[t]=function(e){return r[t].test(e)}}for(var d in c)c.hasOwnProperty(d)&&f(d,c);e.ip=function(t){return e.ipv4(t)||e.ipv6(t)},e.capitalized=function(t){if(e.not.string(t))return!1;for(var r=t.split(" "),n=0;n<r.length;n++){var A=r[n];if(A.length){var i=A.charAt(0);if(i!==i.toUpperCase())return!1}}return!0},e.endWith=function(t,r){if(e.not.string(t))return!1;r+="";var n=t.length-r.length;return n>=0&&t.indexOf(r,n)===n},e.endWith.api=["not"],e.include=function(e,t){return e.indexOf(t)>-1},e.include.api=["not"],e.lowerCase=function(t){return e.string(t)&&t===t.toLowerCase()},e.palindrome=function(t){if(e.not.string(t))return!1;for(var r=(t=t.replace(/[^a-zA-Z0-9]+/g,"").toLowerCase()).length-1,n=0,A=Math.floor(r/2);n<=A;n++)if(t.charAt(n)!==t.charAt(r-n))return!1;return!0},e.space=function(t){if(e.not.char(t))return!1;var r=t.charCodeAt(0);return r>8&&r<14||32===r},e.startWith=function(t,r){return e.string(t)&&0===t.indexOf(r)},e.startWith.api=["not"],e.upperCase=function(t){return e.string(t)&&t===t.toUpperCase()};var g=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],h=["january","february","march","april","may","june","july","august","september","october","november","december"];e.day=function(t,r){return e.date(t)&&r.toLowerCase()===g[t.getDay()]},e.day.api=["not"],e.dayLightSavingTime=function(e){var t=new Date(e.getFullYear(),0,1),r=new Date(e.getFullYear(),6,1),n=Math.max(t.getTimezoneOffset(),r.getTimezoneOffset());return e.getTimezoneOffset()<n},e.future=function(t){var r=new Date;return e.date(t)&&t.getTime()>r.getTime()},e.inDateRange=function(t,r,n){if(e.not.date(t)||e.not.date(r)||e.not.date(n))return!1;var A=t.getTime();return A>r.getTime()&&A<n.getTime()},e.inDateRange.api=["not"],e.inLastMonth=function(t){return e.inDateRange(t,new Date((new Date).setMonth((new Date).getMonth()-1)),new Date)},e.inLastWeek=function(t){return e.inDateRange(t,new Date((new Date).setDate((new Date).getDate()-7)),new Date)},e.inLastYear=function(t){return e.inDateRange(t,new Date((new Date).setFullYear((new Date).getFullYear()-1)),new Date)},e.inNextMonth=function(t){return e.inDateRange(t,new Date,new Date((new Date).setMonth((new Date).getMonth()+1)))},e.inNextWeek=function(t){return e.inDateRange(t,new Date,new Date((new Date).setDate((new Date).getDate()+7)))},e.inNextYear=function(t){return e.inDateRange(t,new Date,new Date((new Date).setFullYear((new Date).getFullYear()+1)))},e.leapYear=function(t){return e.number(t)&&(t%4==0&&t%100!=0||t%400==0)},e.month=function(t,r){return e.date(t)&&r.toLowerCase()===h[t.getMonth()]},e.month.api=["not"],e.past=function(t){var r=new Date;return e.date(t)&&t.getTime()<r.getTime()},e.quarterOfYear=function(t,r){return e.date(t)&&e.number(r)&&r===Math.floor((t.getMonth()+3)/3)},e.quarterOfYear.api=["not"],e.today=function(t){var r=(new Date).toDateString();return e.date(t)&&t.toDateString()===r},e.tomorrow=function(t){var r=new Date,n=new Date(r.setDate(r.getDate()+1)).toDateString();return e.date(t)&&t.toDateString()===n},e.weekend=function(t){return e.date(t)&&(6===t.getDay()||0===t.getDay())},e.weekday=i(e.weekend),e.year=function(t,r){return e.date(t)&&e.number(r)&&r===t.getFullYear()},e.year.api=["not"],e.yesterday=function(t){var r=new Date,n=new Date(r.setDate(r.getDate()-1)).toDateString();return e.date(t)&&t.toDateString()===n};var p=e.windowObject("object"==typeof n&&n)&&n,I=e.windowObject("object"==typeof self&&self)&&self,B=e.windowObject("object"==typeof this&&this)&&this,C=p||I||B||Function("return this")(),m=I&&I.document,y=C.is,Q=I&&I.navigator,w=(Q&&Q.appVersion||"").toLowerCase(),E=(Q&&Q.userAgent||"").toLowerCase(),b=(Q&&Q.vendor||"").toLowerCase();return e.android=function(){return/android/.test(E)},e.android.api=["not"],e.androidPhone=function(){return/android/.test(E)&&/mobile/.test(E)},e.androidPhone.api=["not"],e.androidTablet=function(){return/android/.test(E)&&!/mobile/.test(E)},e.androidTablet.api=["not"],e.blackberry=function(){return/blackberry/.test(E)||/bb10/.test(E)},e.blackberry.api=["not"],e.chrome=function(e){var t=/google inc/.test(b)?E.match(/(?:chrome|crios)\/(\d+)/):null;return null!==t&&u(t[1],e)},e.chrome.api=["not"],e.desktop=function(){return e.not.mobile()&&e.not.tablet()},e.desktop.api=["not"],e.edge=function(e){var t=E.match(/edge\/(\d+)/);return null!==t&&u(t[1],e)},e.edge.api=["not"],e.firefox=function(e){var t=E.match(/(?:firefox|fxios)\/(\d+)/);return null!==t&&u(t[1],e)},e.firefox.api=["not"],e.ie=function(e){var t=E.match(/(?:msie |trident.+?; rv:)(\d+)/);return null!==t&&u(t[1],e)},e.ie.api=["not"],e.ios=function(){return e.iphone()||e.ipad()||e.ipod()},e.ios.api=["not"],e.ipad=function(e){var t=E.match(/ipad.+?os (\d+)/);return null!==t&&u(t[1],e)},e.ipad.api=["not"],e.iphone=function(e){var t=E.match(/iphone(?:.+?os (\d+))?/);return null!==t&&u(t[1]||1,e)},e.iphone.api=["not"],e.ipod=function(e){var t=E.match(/ipod.+?os (\d+)/);return null!==t&&u(t[1],e)},e.ipod.api=["not"],e.linux=function(){return/linux/.test(w)},e.linux.api=["not"],e.mac=function(){return/mac/.test(w)},e.mac.api=["not"],e.mobile=function(){return e.iphone()||e.ipod()||e.androidPhone()||e.blackberry()||e.windowsPhone()},e.mobile.api=["not"],e.offline=i(e.online),e.offline.api=["not"],e.online=function(){return!Q||!0===Q.onLine},e.online.api=["not"],e.opera=function(e){var t=E.match(/(?:^opera.+?version|opr)\/(\d+)/);return null!==t&&u(t[1],e)},e.opera.api=["not"],e.phantom=function(e){var t=E.match(/phantomjs\/(\d+)/);return null!==t&&u(t[1],e)},e.phantom.api=["not"],e.safari=function(e){var t=E.match(/version\/(\d+).+?safari/);return null!==t&&u(t[1],e)},e.safari.api=["not"],e.tablet=function(){return e.ipad()||e.androidTablet()||e.windowsTablet()},e.tablet.api=["not"],e.touchDevice=function(){return!!m&&("ontouchstart"in I||"DocumentTouch"in I&&m instanceof DocumentTouch)},e.touchDevice.api=["not"],e.windows=function(){return/win/.test(w)},e.windows.api=["not"],e.windowsPhone=function(){return e.windows()&&/phone/.test(E)},e.windowsPhone.api=["not"],e.windowsTablet=function(){return e.windows()&&e.not.windowsPhone()&&/touch/.test(E)},e.windowsTablet.api=["not"],e.propertyCount=function(t,r){if(e.not.object(t)||e.not.number(r))return!1;var n=0;for(var i in t)if(A.call(t,i)&&++n>r)return!1;return n===r},e.propertyCount.api=["not"],e.propertyDefined=function(t,r){return e.object(t)&&e.string(r)&&r in t},e.propertyDefined.api=["not"],e.inArray=function(t,r){if(e.not.array(r))return!1;for(var n=0;n<r.length;n++)if(r[n]===t)return!0;return!1},e.inArray.api=["not"],e.sorted=function(t,r){if(e.not.array(t))return!1;for(var n=s[r]||s[">="],A=1;A<t.length;A++)if(!n(t[A],t[A-1]))return!1;return!0},function(){var t=e;for(var r in t)if(A.call(t,r)&&e.function(t[r]))for(var n=t[r].api||["not","all","any"],s=0;s<n.length;s++)"not"===n[s]&&(e.not[r]=i(e[r])),"all"===n[s]&&(e.all[r]=o(e[r])),"any"===n[s]&&(e.any[r]=a(e[r]))}(),e.setNamespace=function(){return C.is=y,this},e.setRegexp=function(e,t){for(var r in c)A.call(c,r)&&t===r&&(c[r]=e)},e}()}.call(t,r,t,e))||(e.exports=A)}).call(this,r(34))},function(e,t){var r={Array:function(e){return null!=e&&e.constructor===Array},Boolean:function(e){return"boolean"==typeof e},Function:function(e){return"function"==typeof e},Nil:function(e){return null==e},Number:function(e){return"number"==typeof e},Object:function(e){return"object"==typeof e},String:function(e){return"string"==typeof e},"":function(){return!0}};for(var n in r.Null=r.Nil,r)r[n].toJSON=function(e){return e}.bind(null,n);e.exports=r},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(110),A=r(312),i=r(33),o=r(153),a=r(58),s=r(197),u=r(63);function l(e){const t=s.decode(e);if(t.length<21)throw new TypeError(e+" is too short");if(t.length>21)throw new TypeError(e+" is too long");return{version:t.readUInt8(0),hash:t.slice(1)}}function c(t){const r=a.decode(t),n=a.fromWords(r.words.slice(1));return{version:r.words[0],prefix:r.prefix,data:e.from(n)}}t.fromBase58Check=l,t.fromBech32=c,t.toBase58Check=function(t,r){u(o.tuple(o.Hash160bit,o.UInt8),arguments);const n=e.allocUnsafe(21);return n.writeUInt8(r,0),t.copy(n,1),s.encode(n)},t.toBech32=function(e,t,r){const n=a.toWords(e);return n.unshift(t),a.encode(r,n)},t.fromOutputScript=function(e,t){t=t||n.bitcoin;try{return A.p2pkh({output:e,network:t}).address}catch(e){}try{return A.p2sh({output:e,network:t}).address}catch(e){}try{return A.p2wpkh({output:e,network:t}).address}catch(e){}try{return A.p2wsh({output:e,network:t}).address}catch(e){}throw new Error(i.toASM(e)+" has no matching Address")},t.toOutputScript=function(e,t){let r,i;t=t||n.bitcoin;try{r=l(e)}catch(e){}if(r){if(r.version===t.pubKeyHash)return A.p2pkh({hash:r.hash}).output;if(r.version===t.scriptHash)return A.p2sh({hash:r.hash}).output}else{try{i=c(e)}catch(e){}if(i){if(i.prefix!==t.bech32)throw new Error(e+" has an invalid prefix");if(0===i.version){if(20===i.data.length)return A.p2wpkh({hash:i.data}).output;if(32===i.data.length)return A.p2wsh({hash:i.data}).output}}}throw new Error(e+" has no matching Script")}}).call(this,r(8).Buffer)},function(e){e.exports=JSON.parse('{"OP_FALSE":0,"OP_0":0,"OP_PUSHDATA1":76,"OP_PUSHDATA2":77,"OP_PUSHDATA4":78,"OP_1NEGATE":79,"OP_RESERVED":80,"OP_TRUE":81,"OP_1":81,"OP_2":82,"OP_3":83,"OP_4":84,"OP_5":85,"OP_6":86,"OP_7":87,"OP_8":88,"OP_9":89,"OP_10":90,"OP_11":91,"OP_12":92,"OP_13":93,"OP_14":94,"OP_15":95,"OP_16":96,"OP_NOP":97,"OP_VER":98,"OP_IF":99,"OP_NOTIF":100,"OP_VERIF":101,"OP_VERNOTIF":102,"OP_ELSE":103,"OP_ENDIF":104,"OP_VERIFY":105,"OP_RETURN":106,"OP_TOALTSTACK":107,"OP_FROMALTSTACK":108,"OP_2DROP":109,"OP_2DUP":110,"OP_3DUP":111,"OP_2OVER":112,"OP_2ROT":113,"OP_2SWAP":114,"OP_IFDUP":115,"OP_DEPTH":116,"OP_DROP":117,"OP_DUP":118,"OP_NIP":119,"OP_OVER":120,"OP_PICK":121,"OP_ROLL":122,"OP_ROT":123,"OP_SWAP":124,"OP_TUCK":125,"OP_CAT":126,"OP_SUBSTR":127,"OP_LEFT":128,"OP_RIGHT":129,"OP_SIZE":130,"OP_INVERT":131,"OP_AND":132,"OP_OR":133,"OP_XOR":134,"OP_EQUAL":135,"OP_EQUALVERIFY":136,"OP_RESERVED1":137,"OP_RESERVED2":138,"OP_1ADD":139,"OP_1SUB":140,"OP_2MUL":141,"OP_2DIV":142,"OP_NEGATE":143,"OP_ABS":144,"OP_NOT":145,"OP_0NOTEQUAL":146,"OP_ADD":147,"OP_SUB":148,"OP_MUL":149,"OP_DIV":150,"OP_MOD":151,"OP_LSHIFT":152,"OP_RSHIFT":153,"OP_BOOLAND":154,"OP_BOOLOR":155,"OP_NUMEQUAL":156,"OP_NUMEQUALVERIFY":157,"OP_NUMNOTEQUAL":158,"OP_LESSTHAN":159,"OP_GREATERTHAN":160,"OP_LESSTHANOREQUAL":161,"OP_GREATERTHANOREQUAL":162,"OP_MIN":163,"OP_MAX":164,"OP_WITHIN":165,"OP_RIPEMD160":166,"OP_SHA1":167,"OP_SHA256":168,"OP_HASH160":169,"OP_HASH256":170,"OP_CODESEPARATOR":171,"OP_CHECKSIG":172,"OP_CHECKSIGVERIFY":173,"OP_CHECKMULTISIG":174,"OP_CHECKMULTISIGVERIFY":175,"OP_NOP1":176,"OP_NOP2":177,"OP_CHECKLOCKTIMEVERIFY":177,"OP_NOP3":178,"OP_CHECKSEQUENCEVERIFY":178,"OP_NOP4":179,"OP_NOP5":180,"OP_NOP6":181,"OP_NOP7":182,"OP_NOP8":183,"OP_NOP9":184,"OP_NOP10":185,"OP_PUBKEYHASH":253,"OP_PUBKEY":254,"OP_INVALIDOPCODE":255}')},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(110),A=r(153),i=r(92),o=r(62),a=r(63),s=r(310),u=a.maybe(a.compile({compressed:A.maybe(A.Boolean),network:A.maybe(A.Network)}));class l{constructor(e,t,r){this.__D=e,this.__Q=t,this.lowR=!1,void 0===r&&(r={}),this.compressed=void 0===r.compressed||r.compressed,this.network=r.network||n.bitcoin,void 0!==t&&(this.__Q=i.pointCompress(t,this.compressed))}get privateKey(){return this.__D}get publicKey(){return this.__Q||(this.__Q=i.pointFromScalar(this.__D,this.compressed)),this.__Q}toWIF(){if(!this.__D)throw new Error("Missing private key");return s.encode(this.network.wif,this.__D,this.compressed)}sign(t,r){if(!this.__D)throw new Error("Missing private key");if(void 0===r&&(r=this.lowR),!1===r)return i.sign(t,this.__D);{let r=i.sign(t,this.__D);const n=e.alloc(32,0);let A=0;for(;r[0]>127;)A++,n.writeUIntLE(A,0,6),r=i.signWithEntropy(t,this.__D,n);return r}}verify(e,t){return i.verify(e,this.publicKey,t)}}function c(e,t){if(a(A.Buffer256bit,e),!i.isPrivate(e))throw new TypeError("Private key not in range [1, n)");return a(u,t),new l(e,void 0,t)}t.fromPrivateKey=c,t.fromPublicKey=function(e,t){return a(i.isPoint,e),a(u,t),new l(void 0,e,t)},t.fromWIF=function(e,t){const r=s.decode(e),i=r.version;if(A.Array(t)){if(!(t=t.filter(e=>i===e.wif).pop()))throw new Error("Unknown network version")}else if(t=t||n.bitcoin,i!==t.wif)throw new Error("Invalid network version");return c(r.privateKey,{compressed:r.compressed,network:t})},t.makeRandom=function(e){a(u,e),void 0===e&&(e={});const t=e.rng||o;let r;do{r=t(32),a(A.Buffer256bit,r)}while(!i.isPrivate(r));return c(r,e)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(111),A=r(1169),i=r(1170),o=r(1171),a=r(1172),s=r(1173),u=r(1174),l=r(1175),c=r(1176),f=r(1177),d=r(1178),g=r(1179),h=r(1180),p=r(1181),I={unsignedTx:i,globalXpub:A,checkPubkey:g.makeChecker([])};t.globals=I;const B={nonWitnessUtxo:s,partialSig:u,sighashType:c,finalScriptSig:o,finalScriptWitness:a,porCommitment:l,witnessUtxo:f,bip32Derivation:d.makeConverter(n.InputTypes.BIP32_DERIVATION),redeemScript:h.makeConverter(n.InputTypes.REDEEM_SCRIPT),witnessScript:p.makeConverter(n.InputTypes.WITNESS_SCRIPT),checkPubkey:g.makeChecker([n.InputTypes.PARTIAL_SIG,n.InputTypes.BIP32_DERIVATION])};t.inputs=B;const C={bip32Derivation:d.makeConverter(n.OutputTypes.BIP32_DERIVATION),redeemScript:h.makeConverter(n.OutputTypes.REDEEM_SCRIPT),witnessScript:p.makeConverter(n.OutputTypes.WITNESS_SCRIPT),checkPubkey:g.makeChecker([n.OutputTypes.BIP32_DERIVATION])};t.outputs=C},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(314);function A(t){const r=t.key.length,A=t.value.length,i=n.encodingLength(r),o=n.encodingLength(A),a=e.allocUnsafe(i+r+o+A);return n.encode(r,a,0),t.key.copy(a,i),n.encode(A,a,i+r),t.value.copy(a,i+r+o),a}function i(e,t){if("number"!=typeof e)throw new Error("cannot write a non-number as a number");if(e<0)throw new Error("specified a negative value for writing an unsigned value");if(e>t)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}t.range=e=>[...Array(e).keys()],t.reverseBuffer=function(e){if(e.length<1)return e;let t=e.length-1,r=0;for(let n=0;n<e.length/2;n++)r=e[n],e[n]=e[t],e[t]=r,t--;return e},t.keyValsToBuffer=function(t){const r=t.map(A);return r.push(e.from([0])),e.concat(r)},t.keyValToBuffer=A,t.readUInt64LE=function(e,t){const r=e.readUInt32LE(t);let n=e.readUInt32LE(t+4);return i((n*=4294967296)+r,9007199254740991),n+r},t.writeUInt64LE=function(e,t,r){return i(t,9007199254740991),e.writeInt32LE(-1&t,r),e.writeUInt32LE(Math.floor(t/4294967296),r+4),r+8}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1185);t.input=n;const A=r(1186);t.output=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1188);t.input=n;const A=r(1189);t.output=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1190);t.input=n;const A=r(1191);t.output=A},function(e,t,r){"use strict";(function(e){var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){return(0,A.default)(t,e)};var A=n(r(316))}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"object"==typeof e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null===e}},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"boolean"==typeof e}},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!(!e||!(0,A.default)(e,-1,!0)||"0x"!==e.substr(0,2))};var A=n(r(273))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!e&&(0,A.default)(e.toBn)};var A=n(r(271))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"number"==typeof e}},function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e?n.encode(e):new Uint8Array([])};try{n=new TextEncoder}catch(e){n={encode:function(e){const t=new Uint8Array(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_BITLENGTH=void 0;t.DEFAULT_BITLENGTH=32},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e[0].startsWith("-"),r=t?e.substr(1).match(n):e.match(n);return r?"".concat(t?"-":"").concat(r.join(",")):e};const n=new RegExp("(\\d+?)(?=(\\d{3})+(?!\\d)|$)","g")},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.format=g,t.default=function(e){const t="".concat(e.toUpperCase(),":").padStart(16);let r;try{const t=!1,n=(Object({NODE_ENV:"production"}).DEBUG||"").split(",");r=t||!!n.find(t=>0===e.indexOf(t))}catch(e){r=!1}return{debug:r?function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return h("debug",t,r)}:p,error:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return h("error",t,r)},log:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return h("log",t,r)},noop:p,warn:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return h("warn",t,r)}}};var A=n(r(1270)),i=n(r(11)),o=n(r(815)),a=n(r(450)),s=n(r(275)),u=n(r(451)),l=n(r(816)),c=n(r(452));const f={debug:"log",error:"error",log:"log",warn:"warn"},d={debug:A.default.gray,error:A.default.red,log:A.default.reset,warn:A.default.yellow};function g(e){return Array.isArray(e)?e.map(g):(0,o.default)(e)?e.toString():(0,a.default)(e)?"0x".concat(e.toString("hex")):(0,l.default)(e)?(0,c.default)(e):e&&(0,u.default)(e)&&e.constructor===Object?function(e){return Object.keys(e).reduce((t,r)=>(t[r]=g(e[r]),t),{})}(e):e}function h(e,t,r){if(1===r.length&&(0,s.default)(r[0])){const n=r[0]();return h(e,t,Array.isArray(n)?n:[n])}const n=t=>d[e](t);console[f[e]].apply(console,[n((0,i.default)().format("YYYY-MM-DD HH:mm:ss")),n(t)].concat(r.map(g)))}function p(){}},function(e,t,r){"use strict";(function(e){var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){return(0,A.default)(t,e)};var A=n(r(322))}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"object"==typeof e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;let A=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=A?"0x":"";if(!t||!t.length)return i;const o=Math.ceil(r/8);if(o>0&&t.length>o){const r=Math.ceil(o/2);return"".concat(e(t.subarray(0,r),-1,A),"…").concat(e(t.subarray(t.length-r),-1,!1))}return t.reduce((e,t)=>e+n[t>>4]+n[15&t],i)};const n="0123456789abcdef"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null===e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e||e instanceof String}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return new A.default(0);return A.default.isBN(e)?e:new A.default(e)};var A=n(r(17))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"number"==typeof e}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(!e)return new Uint8Array([]);(0,A.default)((0,i.default)(e),"Expected hex value to convert, found '".concat(e,"'"));const r=(0,o.default)(e),n=r.length/2,a=Math.ceil(-1===t?n:t/8),s=new Uint8Array(a),u=Math.max(0,a-n);for(let e=0;e<a;e++)s[e+u]=parseInt(r.substr(2*e,2),16);return s};var A=n(r(222)),i=n(r(326)),o=n(r(277))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_BITLENGTH=void 0;t.DEFAULT_BITLENGTH=32},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.match(n);return t?t.join(","):e};const n=new RegExp("(\\d+?)(?=(\\d{3})+(?!\\d)|$)","g")},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(e&&(0,A.default)(e))return e;const t=e&&e.length%2==1?"0":"";return"0x".concat(t).concat(e||"")};var A=n(r(325))},function(e,t,r){var n=r(1321),A=r(1322);e.exports={blake2b:n.blake2b,blake2bHex:n.blake2bHex,blake2bInit:n.blake2bInit,blake2bUpdate:n.blake2bUpdate,blake2bFinal:n.blake2bFinal,blake2s:A.blake2s,blake2sHex:A.blake2sHex,blake2sInit:A.blake2sInit,blake2sUpdate:A.blake2sUpdate,blake2sFinal:A.blake2sFinal}},function(e,t,r){(function(n,A){var i;
/**
 * [js-sha3]{@link https://github.com/emn178/js-sha3}
 *
 * @version 0.8.0
 * @author Chen, Yi-Cyuan [emn178@gmail.com]
 * @copyright Chen, Yi-Cyuan 2015-2018
 * @license MIT
 */
/**
 * [js-sha3]{@link https://github.com/emn178/js-sha3}
 *
 * @version 0.8.0
 * @author Chen, Yi-Cyuan [emn178@gmail.com]
 * @copyright Chen, Yi-Cyuan 2015-2018
 * @license MIT
 */
!function(){"use strict";var o="input is invalid type",a="object"==typeof window,s=a?window:{};s.JS_SHA3_NO_WINDOW&&(a=!1);var u=!a&&"object"==typeof self;!s.JS_SHA3_NO_NODE_JS&&"object"==typeof n&&n.versions&&n.versions.node?s=A:u&&(s=self);var l=!s.JS_SHA3_NO_COMMON_JS&&"object"==typeof e&&e.exports,c=r(1325),f=!s.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,d="0123456789abcdef".split(""),g=[4,1024,262144,67108864],h=[0,8,16,24],p=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],I=[224,256,384,512],B=[128,256],C=["hex","buffer","arrayBuffer","array","digest"],m={128:168,256:136};!s.JS_SHA3_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!f||!s.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});for(var y=function(e,t,r){return function(n){return new H(e,t,e).update(n)[r]()}},Q=function(e,t,r){return function(n,A){return new H(e,t,A).update(n)[r]()}},w=function(e,t,r){return function(t,n,A,i){return M["cshake"+e].update(t,n,A,i)[r]()}},E=function(e,t,r){return function(t,n,A,i){return M["kmac"+e].update(t,n,A,i)[r]()}},b=function(e,t,r,n){for(var A=0;A<C.length;++A){var i=C[A];e[i]=t(r,n,i)}return e},v=function(e,t){var r=y(e,t,"hex");return r.create=function(){return new H(e,t,e)},r.update=function(e){return r.create().update(e)},b(r,y,e,t)},D=[{name:"keccak",padding:[1,256,65536,16777216],bits:I,createMethod:v},{name:"sha3",padding:[6,1536,393216,100663296],bits:I,createMethod:v},{name:"shake",padding:[31,7936,2031616,520093696],bits:B,createMethod:function(e,t){var r=Q(e,t,"hex");return r.create=function(r){return new H(e,t,r)},r.update=function(e,t){return r.create(t).update(e)},b(r,Q,e,t)}},{name:"cshake",padding:g,bits:B,createMethod:function(e,t){var r=m[e],n=w(e,0,"hex");return n.create=function(n,A,i){return A||i?new H(e,t,n).bytepad([A,i],r):M["shake"+e].create(n)},n.update=function(e,t,r,A){return n.create(t,r,A).update(e)},b(n,w,e,t)}},{name:"kmac",padding:g,bits:B,createMethod:function(e,t){var r=m[e],n=E(e,0,"hex");return n.create=function(n,A,i){return new U(e,t,A).bytepad(["KMAC",i],r).bytepad([n],r)},n.update=function(e,t,r,A){return n.create(e,r,A).update(t)},b(n,E,e,t)}}],M={},k=[],_=0;_<D.length;++_)for(var S=D[_],N=S.bits,F=0;F<N.length;++F){var x=S.name+"_"+N[F];if(k.push(x),M[x]=S.createMethod(N[F],S.padding),"sha3"!==S.name){var G=S.name+N[F];k.push(G),M[G]=M[x]}}function H(e,t,r){this.blocks=[],this.s=[],this.padding=t,this.outputBits=r,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(e<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}function U(e,t,r){H.call(this,e,t,r)}H.prototype.update=function(e){if(this.finalized)throw new Error("finalize already called");var t,r=typeof e;if("string"!==r){if("object"!==r)throw new Error(o);if(null===e)throw new Error(o);if(f&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||f&&ArrayBuffer.isView(e)))throw new Error(o);t=!0}for(var n,A,i=this.blocks,a=this.byteCount,s=e.length,u=this.blockCount,l=0,c=this.s;l<s;){if(this.reset)for(this.reset=!1,i[0]=this.block,n=1;n<u+1;++n)i[n]=0;if(t)for(n=this.start;l<s&&n<a;++l)i[n>>2]|=e[l]<<h[3&n++];else for(n=this.start;l<s&&n<a;++l)(A=e.charCodeAt(l))<128?i[n>>2]|=A<<h[3&n++]:A<2048?(i[n>>2]|=(192|A>>6)<<h[3&n++],i[n>>2]|=(128|63&A)<<h[3&n++]):A<55296||A>=57344?(i[n>>2]|=(224|A>>12)<<h[3&n++],i[n>>2]|=(128|A>>6&63)<<h[3&n++],i[n>>2]|=(128|63&A)<<h[3&n++]):(A=65536+((1023&A)<<10|1023&e.charCodeAt(++l)),i[n>>2]|=(240|A>>18)<<h[3&n++],i[n>>2]|=(128|A>>12&63)<<h[3&n++],i[n>>2]|=(128|A>>6&63)<<h[3&n++],i[n>>2]|=(128|63&A)<<h[3&n++]);if(this.lastByteIndex=n,n>=a){for(this.start=n-a,this.block=i[u],n=0;n<u;++n)c[n]^=i[n];Y(c),this.reset=!0}else this.start=n}return this},H.prototype.encode=function(e,t){var r=255&e,n=1,A=[r];for(r=255&(e>>=8);r>0;)A.unshift(r),r=255&(e>>=8),++n;return t?A.push(n):A.unshift(n),this.update(A),A.length},H.prototype.encodeString=function(e){var t,r=typeof e;if("string"!==r){if("object"!==r)throw new Error(o);if(null===e)throw new Error(o);if(f&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||f&&ArrayBuffer.isView(e)))throw new Error(o);t=!0}var n=0,A=e.length;if(t)n=A;else for(var i=0;i<e.length;++i){var a=e.charCodeAt(i);a<128?n+=1:a<2048?n+=2:a<55296||a>=57344?n+=3:(a=65536+((1023&a)<<10|1023&e.charCodeAt(++i)),n+=4)}return n+=this.encode(8*n),this.update(e),n},H.prototype.bytepad=function(e,t){for(var r=this.encode(t),n=0;n<e.length;++n)r+=this.encodeString(e[n]);var A=t-r%t,i=[];return i.length=A,this.update(i),this},H.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex,r=this.blockCount,n=this.s;if(e[t>>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[r],t=1;t<r+1;++t)e[t]=0;for(e[r-1]|=2147483648,t=0;t<r;++t)n[t]^=e[t];Y(n)}},H.prototype.toString=H.prototype.hex=function(){this.finalize();for(var e,t=this.blockCount,r=this.s,n=this.outputBlocks,A=this.extraBytes,i=0,o=0,a="";o<n;){for(i=0;i<t&&o<n;++i,++o)e=r[i],a+=d[e>>4&15]+d[15&e]+d[e>>12&15]+d[e>>8&15]+d[e>>20&15]+d[e>>16&15]+d[e>>28&15]+d[e>>24&15];o%t==0&&(Y(r),i=0)}return A&&(e=r[i],a+=d[e>>4&15]+d[15&e],A>1&&(a+=d[e>>12&15]+d[e>>8&15]),A>2&&(a+=d[e>>20&15]+d[e>>16&15])),a},H.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,r=this.s,n=this.outputBlocks,A=this.extraBytes,i=0,o=0,a=this.outputBits>>3;e=A?new ArrayBuffer(n+1<<2):new ArrayBuffer(a);for(var s=new Uint32Array(e);o<n;){for(i=0;i<t&&o<n;++i,++o)s[o]=r[i];o%t==0&&Y(r)}return A&&(s[i]=r[i],e=e.slice(0,a)),e},H.prototype.buffer=H.prototype.arrayBuffer,H.prototype.digest=H.prototype.array=function(){this.finalize();for(var e,t,r=this.blockCount,n=this.s,A=this.outputBlocks,i=this.extraBytes,o=0,a=0,s=[];a<A;){for(o=0;o<r&&a<A;++o,++a)e=a<<2,t=n[o],s[e]=255&t,s[e+1]=t>>8&255,s[e+2]=t>>16&255,s[e+3]=t>>24&255;a%r==0&&Y(n)}return i&&(e=a<<2,t=n[o],s[e]=255&t,i>1&&(s[e+1]=t>>8&255),i>2&&(s[e+2]=t>>16&255)),s},U.prototype=new H,U.prototype.finalize=function(){return this.encode(this.outputBits,!0),H.prototype.finalize.call(this)};var Y=function(e){var t,r,n,A,i,o,a,s,u,l,c,f,d,g,h,I,B,C,m,y,Q,w,E,b,v,D,M,k,_,S,N,F,x,G,H,U,Y,L,O,K,P,R,T,J,j,q,V,W,z,Z,X,$,ee,te,re,ne,Ae,ie,oe,ae,se,ue,le;for(n=0;n<48;n+=2)A=e[0]^e[10]^e[20]^e[30]^e[40],i=e[1]^e[11]^e[21]^e[31]^e[41],o=e[2]^e[12]^e[22]^e[32]^e[42],a=e[3]^e[13]^e[23]^e[33]^e[43],s=e[4]^e[14]^e[24]^e[34]^e[44],u=e[5]^e[15]^e[25]^e[35]^e[45],l=e[6]^e[16]^e[26]^e[36]^e[46],c=e[7]^e[17]^e[27]^e[37]^e[47],t=(f=e[8]^e[18]^e[28]^e[38]^e[48])^(o<<1|a>>>31),r=(d=e[9]^e[19]^e[29]^e[39]^e[49])^(a<<1|o>>>31),e[0]^=t,e[1]^=r,e[10]^=t,e[11]^=r,e[20]^=t,e[21]^=r,e[30]^=t,e[31]^=r,e[40]^=t,e[41]^=r,t=A^(s<<1|u>>>31),r=i^(u<<1|s>>>31),e[2]^=t,e[3]^=r,e[12]^=t,e[13]^=r,e[22]^=t,e[23]^=r,e[32]^=t,e[33]^=r,e[42]^=t,e[43]^=r,t=o^(l<<1|c>>>31),r=a^(c<<1|l>>>31),e[4]^=t,e[5]^=r,e[14]^=t,e[15]^=r,e[24]^=t,e[25]^=r,e[34]^=t,e[35]^=r,e[44]^=t,e[45]^=r,t=s^(f<<1|d>>>31),r=u^(d<<1|f>>>31),e[6]^=t,e[7]^=r,e[16]^=t,e[17]^=r,e[26]^=t,e[27]^=r,e[36]^=t,e[37]^=r,e[46]^=t,e[47]^=r,t=l^(A<<1|i>>>31),r=c^(i<<1|A>>>31),e[8]^=t,e[9]^=r,e[18]^=t,e[19]^=r,e[28]^=t,e[29]^=r,e[38]^=t,e[39]^=r,e[48]^=t,e[49]^=r,g=e[0],h=e[1],q=e[11]<<4|e[10]>>>28,V=e[10]<<4|e[11]>>>28,k=e[20]<<3|e[21]>>>29,_=e[21]<<3|e[20]>>>29,ae=e[31]<<9|e[30]>>>23,se=e[30]<<9|e[31]>>>23,R=e[40]<<18|e[41]>>>14,T=e[41]<<18|e[40]>>>14,G=e[2]<<1|e[3]>>>31,H=e[3]<<1|e[2]>>>31,I=e[13]<<12|e[12]>>>20,B=e[12]<<12|e[13]>>>20,W=e[22]<<10|e[23]>>>22,z=e[23]<<10|e[22]>>>22,S=e[33]<<13|e[32]>>>19,N=e[32]<<13|e[33]>>>19,ue=e[42]<<2|e[43]>>>30,le=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,re=e[4]<<30|e[5]>>>2,U=e[14]<<6|e[15]>>>26,Y=e[15]<<6|e[14]>>>26,C=e[25]<<11|e[24]>>>21,m=e[24]<<11|e[25]>>>21,Z=e[34]<<15|e[35]>>>17,X=e[35]<<15|e[34]>>>17,F=e[45]<<29|e[44]>>>3,x=e[44]<<29|e[45]>>>3,b=e[6]<<28|e[7]>>>4,v=e[7]<<28|e[6]>>>4,ne=e[17]<<23|e[16]>>>9,Ae=e[16]<<23|e[17]>>>9,L=e[26]<<25|e[27]>>>7,O=e[27]<<25|e[26]>>>7,y=e[36]<<21|e[37]>>>11,Q=e[37]<<21|e[36]>>>11,$=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,J=e[8]<<27|e[9]>>>5,j=e[9]<<27|e[8]>>>5,D=e[18]<<20|e[19]>>>12,M=e[19]<<20|e[18]>>>12,ie=e[29]<<7|e[28]>>>25,oe=e[28]<<7|e[29]>>>25,K=e[38]<<8|e[39]>>>24,P=e[39]<<8|e[38]>>>24,w=e[48]<<14|e[49]>>>18,E=e[49]<<14|e[48]>>>18,e[0]=g^~I&C,e[1]=h^~B&m,e[10]=b^~D&k,e[11]=v^~M&_,e[20]=G^~U&L,e[21]=H^~Y&O,e[30]=J^~q&W,e[31]=j^~V&z,e[40]=te^~ne&ie,e[41]=re^~Ae&oe,e[2]=I^~C&y,e[3]=B^~m&Q,e[12]=D^~k&S,e[13]=M^~_&N,e[22]=U^~L&K,e[23]=Y^~O&P,e[32]=q^~W&Z,e[33]=V^~z&X,e[42]=ne^~ie&ae,e[43]=Ae^~oe&se,e[4]=C^~y&w,e[5]=m^~Q&E,e[14]=k^~S&F,e[15]=_^~N&x,e[24]=L^~K&R,e[25]=O^~P&T,e[34]=W^~Z&$,e[35]=z^~X&ee,e[44]=ie^~ae&ue,e[45]=oe^~se&le,e[6]=y^~w&g,e[7]=Q^~E&h,e[16]=S^~F&b,e[17]=N^~x&v,e[26]=K^~R&G,e[27]=P^~T&H,e[36]=Z^~$&J,e[37]=X^~ee&j,e[46]=ae^~ue&te,e[47]=se^~le&re,e[8]=w^~g&I,e[9]=E^~h&B,e[18]=F^~b&D,e[19]=x^~v&M,e[28]=R^~G&U,e[29]=T^~H&Y,e[38]=$^~J&q,e[39]=ee^~j&V,e[48]=ue^~te&ne,e[49]=le^~re&Ae,e[0]^=p[n],e[1]^=p[n+1]};if(l)e.exports=M;else{for(_=0;_<k.length;++_)s[k[_]]=M[k[_]];c&&(void 0===(i=function(){return M}.call(t,r,t,e))||(e.exports=i))}}()}).call(this,r(50),r(34))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.isReady)()){const t=(0,i.ed25519KeypairFromSeed)(e);return{publicKey:t.slice(32),secretKey:t.slice(0,64)}}return A.default.sign.keyPair.fromSeed(e)};var A=n(r(156)),i=r(68)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{publicKey:e.slice(n,n+A),secretKey:e.slice(0,n)}};const n=64,A=32},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;return A.default.randomBytes(e)};var A=n(r(156))},function(e,t,r){"use strict";var n,A=t,i=r(123),o=r(840),a=r(113).assert;function s(e){"short"===e.type?this.curve=new o.short(e):"edwards"===e.type?this.curve=new o.edwards(e):this.curve=new o.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(A,e,{configurable:!0,enumerable:!0,get:function(){var r=new s(t);return Object.defineProperty(A,e,{configurable:!0,enumerable:!0,value:r}),r}})}A.PresetCurve=s,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(1363)}catch(e){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SEED_LENGTH=t.SEC_LENGTH=t.PUB_LENGTH=t.PKCS8_HEADER=t.PKCS8_DIVIDER=t.NONCE_LENGTH=void 0;t.NONCE_LENGTH=24;const n=new Uint8Array([161,35,3,33,0]);t.PKCS8_DIVIDER=n;const A=new Uint8Array([48,83,2,1,1,48,5,6,3,43,101,112,4,34,4,32]);t.PKCS8_HEADER=A;t.PUB_LENGTH=32;t.SEC_LENGTH=64;t.SEED_LENGTH=32},function(e,t,r){r(1395),e.exports=self.fetch.bind(self)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(e)return!0;"function"==typeof t&&(t=t());throw new u(t,r)},t.ChainxRpcProviderError=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(181)),s=n(r(7)),u=function(e){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;return(0,A.default)(this,t),(e=(0,i.default)(this,(0,o.default)(t).call(this))).name=e.constructor.name,e.message=String(r),e.data=n,"function"==typeof Error.captureStackTrace?Error.captureStackTrace((0,a.default)(e),e.constructor):e.stack=new Error(r).stack,e}return(0,s.default)(t,e),t}((0,n(r(124)).default)(Error));t.ChainxRpcProviderError=u},function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(t,n)}e.exports=r},function(e,t,r){"use strict";var n,A,i;Object.defineProperty(t,"__esModule",{value:!0}),t.MetaRegistryItem=t.MetaTypeInfo=t.TypeDefInfo=void 0,t.TypeDefInfo=n,function(e){e[e.BTreeMap=0]="BTreeMap",e[e.Compact=1]="Compact",e[e.DoubleMap=2]="DoubleMap",e[e.Enum=3]="Enum",e[e.Linkage=4]="Linkage",e[e.Option=5]="Option",e[e.Plain=6]="Plain",e[e.Result=7]="Result",e[e.Set=8]="Set",e[e.Struct=9]="Struct",e[e.Tuple=10]="Tuple",e[e.Vec=11]="Vec",e[e.VecFixed=12]="VecFixed",e[e.Null=13]="Null"}(n||(t.TypeDefInfo=n={})),t.MetaTypeInfo=A,function(e){e[e.BuiltinPlain=0]="BuiltinPlain",e[e.BuiltinTuple=1]="BuiltinTuple",e[e.BuiltinVec=2]="BuiltinVec",e[e.BuiltinVecFixed=3]="BuiltinVecFixed",e[e.Enum=4]="Enum",e[e.ClikeEnum=5]="ClikeEnum",e[e.Struct=6]="Struct",e[e.TupleStruct=7]="TupleStruct",e[e.Null=8]="Null"}(A||(t.MetaTypeInfo=A={})),t.MetaRegistryItem=i,function(e){e[e.String=0]="String",e[e.Type=1]="Type",e[e.TypeDef=2]="TypeDef"}(i||(t.MetaRegistryItem=i={}))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(89)),i=n(r(4)),o=n(r(18)),a=n(r(6)),s=n(r(5)),u=n(r(85)),l=n(r(7)),c=n(r(124)),f=r(14),d=r(67),g=n(r(125)),h=n(r(126)),p=r(136),I=function(e){function t(){return(0,i.default)(this,t),(0,a.default)(this,(0,s.default)(t).apply(this,arguments))}return(0,l.default)(t,e),(0,o.default)(t,[{key:"eq",value:function(e){return(0,p.compareArray)(this,e)}},{key:"toArray",value:function(){return Array.from(this)}},{key:"toHex",value:function(){return(0,f.u8aToHex)(this.toU8a())}},{key:"toJSON",value:function(){return this.map(function(e){return e.toJSON()})}},{key:"toString",value:function(){var e=this.map(function(e){return e.toString()});return"[".concat(e.join(", "),"]")}},{key:"toU8a",value:function(e){var t=this.map(function(t){return t.toU8a(e)});return e?f.u8aConcat.apply(void 0,(0,A.default)(t)):f.u8aConcat.apply(void 0,[g.default.encodeU8a(this.length)].concat((0,A.default)(t)))}},{key:"filter",value:function(e,t){return this.toArray().filter(e,t)}},{key:"map",value:function(e,t){return this.toArray().map(e,t)}},{key:"includes",value:function(e){return this.some(function(t){return t.eq(e)})}},{key:"encodedLength",get:function(){return this.reduce(function(e,t){return e+t.encodedLength},g.default.encodeU8a(this.length).length)}},{key:"hash",get:function(){return new h.default((0,d.blake2AsU8a)(this.toU8a(),256))}},{key:"isEmpty",get:function(){return 0===this.length}},{key:"length",get:function(){return(0,u.default)((0,s.default)(t.prototype),"length",this)}}]),t}((0,c.default)(Array));t.default=I},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(137)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,256))}return(0,a.default)(t,e),t}(n(r(99)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(283)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(14),l=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,t.decodeExtrinsicEra(e)))}return(0,s.default)(t,e),(0,i.default)(t,null,[{key:"decodeExtrinsicEra",value:function(e){if(e){var t=(0,u.u8aToU8a)(e);return t.subarray(0,0===t[0]?1:2)}return new Uint8Array([0])}}]),t}(n(r(126)).default);t.default=l},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(81)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(52)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(334)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,["Blake2_128","Blake2_256","Twox128","Twox256","Twox64Concat"],e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"toJSON",value:function(){return this.toString()}},{key:"isBlake2128",get:function(){return 0===this.toNumber()}},{key:"isBlake2256",get:function(){return 1===this.toNumber()}},{key:"isTwox128",get:function(){return 2===this.toNumber()}},{key:"isTwox256",get:function(){return 3===this.toNumber()}},{key:"isTwox64Concat",get:function(){return 4===this.toNumber()}}]),t}(n(r(39)).default);t.default=u},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(127)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["Normal","Root","Trustee"],e))}return(0,a.default)(t,e),t}(n(r(39)).default);t.default=s},function(e,t,r){"use strict";var n=r(135);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ModuleMetadataV5",{enumerable:!0,get:function(){return A.ModuleMetadataV5}}),t.default=void 0;var A=n(r(902)),i=A.default;t.default=i},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.StorageFunctionMetadata=t.StorageFunctionType=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(14),l=n(r(39)),c=n(r(29)),f=function(e){function t(e,r){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{Type:"PlainTypeV5",Map:"MapTypeV5",DoubleMap:"DoubleMapTypeV5"},e,r))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"toString",value:function(){return this.isDoubleMap?"DoubleMap<".concat(this.asDoubleMap.value.toString(),">"):this.isMap?this.asMap.linked.isTrue?"(".concat(this.asMap.value.toString(),", Linkage<").concat(this.asMap.key.toString(),">)"):this.asMap.value.toString():this.asType.toString()}},{key:"asDoubleMap",get:function(){return(0,u.assert)(this.isDoubleMap,"Cannot convert '".concat(this.type,"' via asDoubleMap")),this.value}},{key:"asMap",get:function(){return(0,u.assert)(this.isMap,"Cannot convert '".concat(this.type,"' via asMap")),this.value}},{key:"asType",get:function(){return(0,u.assert)(this.isPlainType,"Cannot convert '".concat(this.type,"' via asType")),this.value}},{key:"isDoubleMap",get:function(){return 2===this.toNumber()}},{key:"isMap",get:function(){return 1===this.toNumber()}},{key:"isPlainType",get:function(){return 0===this.toNumber()}}]),t}(l.default);t.StorageFunctionType=f;var d=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{name:"Text",modifier:"StorageFunctionModifierV5",type:f,fallback:"Bytes",documentation:"Vec<Text>"},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"fallback",get:function(){return this.get("fallback")}},{key:"documentation",get:function(){return this.get("documentation")}},{key:"name",get:function(){return this.get("name")}},{key:"modifier",get:function(){return this.get("modifier")}},{key:"type",get:function(){return this.get("type")}}]),t}(c.default);t.StorageFunctionMetadata=d},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=t.reduce(function(t,r){return t.concat(Array.isArray(r)?e(r):r)},[]);return(0,A.default)(new Set(r)).filter(function(e){return e}).sort()};var A=n(r(89))},function(e,t,r){"use strict";var n=r(1544),A=r(1548),i=Object.assign({},n,A);e.exports=i},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=r(1549),i=r(1550),o=r(36),a=i.create;e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==(void 0===e?"undefined":n(e)))throw new TypeError("definitions is a required parameter");if(t.customTypes)for(var r in e=Object.assign({},e),t.customTypes)delete e[r];var i=A(t),o=a(e,i),l=o.errors,c=o.structs,f=function e(t,r){var n=Object.assign({},t,r),A=a(n,i),o=A.structs;return{errors:A.errors,structs:o,extend:function(t){return e(n,t)},fromBuffer:s(i,o),toBuffer:u(i,o)}};return{errors:l,structs:c,types:i,extend:function(t){return f(e,t)},fromBuffer:s(i,c),toBuffer:u(i,c)}};var s=function(e,r){return function(A,a){o.equal(void 0===A?"undefined":n(A),"string","typeName (type or struct name)"),"string"==typeof a&&(a=t.from(a,"hex")),o(t.isBuffer(a),"expecting buf<hex|Buffer>");var s=e[A];return s=s?s():r[A],o(s,"missing type or struct: "+A),i.fromBuffer(s,a)}},u=function(e,t){return function(r,A){o.equal(void 0===r?"undefined":n(r),"string","typeName (type or struct name)"),o.equal(void 0===A?"undefined":n(A),"object","object");var a=e[r];return a=a?a():t[r],o(a,"missing type or struct: "+r),i.toBuffer(a,A)}};e.exports.fromBuffer=i.fromBuffer,e.exports.toBuffer=i.toBuffer}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,A=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){A=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(A)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(486),o=i.Signature,a=i.PublicKey,s=r(487),u=r(109),l=r(36),c={schema:r(489)},f=r(916),d=(f.isName,f.encodeName),g=f.decodeName,h=f.UDecimalPad,p=f.UDecimalImply,I=f.UDecimalUnimply,B=f.printAsset,C=f.parseAsset;e.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],r=function(t,r){new Set(["eosio","eosio.token","eosio.null"]);var n=e.abiCache.abi(r),A=n.structs[t];if(null!=A)return A;var i=!0,o=!1,a=void 0;try{for(var s,u=n.abi.actions[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value,c=l.name,f=l.type;if(c===t){var d=n.structs[f];if(null!=d)return d}}}catch(e){o=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw a}}throw new Error("Missing ABI struct or action: "+t)},n=null==e.forceActionDataHex||e.forceActionDataHex,A=Object.assign({},M,k(r),_(e),S(r,n),e.override),i={name:function(){return[m]},public_key:function(){return[y(Q)]},symbol:function(){return[w]},extended_symbol:function(){return[E]},asset:function(){return[b]},extended_asset:function(){return[v]},signature:function(){return[y(D)]}},o=Object.assign({},i,e.customTypes);(e=Object.assign({override:A},{customTypes:o},e)).sort=Object.assign({},e.sort),e.sort["action.authorization"]=!0,e.sort["signed_transaction.signature"]=!0,e.sort["authority.accounts"]=!0,e.sort["authority.keys"]=!0;var a=Object.assign({},c.schema,t),u=s(a,e),l=u.structs,f=u.types,d=u.errors,g=u.fromBuffer,h=u.toBuffer;if(0!==d.length)throw new Error(JSON.stringify(d,null,4));return{structs:l,types:f,fromBuffer:g,toBuffer:h}};var m=function(e){return{fromByteBuffer:function(e){return g(e.readUint64(),!1)},appendByteBuffer:function(e,t){e.writeUint64(d(t,!1))},fromObject:function(e){return e},toObject:function(t){return e.defaults&&null==t?"":t}}},y=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r,n){var A=t.map(function(t){return t(e,r,n)}),i=r.static_variant(A);return{fromByteBuffer:function(e){return i.fromByteBuffer(e)},appendByteBuffer:function(e,t){Array.isArray(t)||(t=[0,t]),i.appendByteBuffer(e,t)},fromObject:function(e){return Array.isArray(e)||(e=[0,e]),i.fromObject(e)[1]},toObject:function(e){return Array.isArray(e)||(e=[0,e]),i.toObject(e)[1]}}}},Q=function(e){return{fromByteBuffer:function(e){var r=e.copy(e.offset,e.offset+33);e.skip(33);var n=t.from(r.toBinary(),"binary");return a.fromBuffer(n).toString()},appendByteBuffer:function(e,t){var r=a.fromStringOrThrow(t).toBuffer();e.append(r.toString("binary"),"binary")},fromObject:function(e){return e},toObject:function(t){return e.defaults&&null==t?"EOS6MRy..":t}}},w=function(e){return{fromByteBuffer:function(e){var t=e.copy(e.offset,e.offset+8);e.skip(8);var r=t.readUint8(),n=t.toBinary(),A="",i=!0,o=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value;if("\0"==l)break;A+=l}}catch(e){o=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw a}}return r+","+A},appendByteBuffer:function(e,t){var r=C(t),n=r.symbol,A=r.precision;l(null!=A,"Precision unknown for symbol: "+t);var i="\0".repeat(7-n.length);e.append(String.fromCharCode(A)+n+i)},fromObject:function(e){l(null!=e,"Symbol is required: "+e);var t=C(e),r=t.symbol,n=t.precision;return null==n?r:n+","+r},toObject:function(t){return e.defaults&&null==t?"SYS":C(t).symbol}}},E=function(e,t,r){var i=r.symbol(e),o=r.name(e);return{fromByteBuffer:function(e){return i.fromByteBuffer(e)+"@"+o.fromByteBuffer(e)},appendByteBuffer:function(e,t){l.equal(void 0===t?"undefined":A(t),"string","Invalid extended symbol: "+t);var r=t.split("@"),a=n(r,2),s=a[0],u=a[1];l(null!=u,"Missing @contract suffix in extended symbol: "+t),i.appendByteBuffer(e,s),o.appendByteBuffer(e,u)},fromObject:function(e){return e},toObject:function(t){return e.defaults&&null==t?"SYS@contract":t}}},b=function(e,t,r){var n=t.int64(e),A=r.symbol(e);return{fromByteBuffer:function(e){var t=n.fromByteBuffer(e);l(null!=t,"amount");var r=A.fromByteBuffer(e),i=C(""+r),o=i.precision,a=i.symbol;return l(null!=o,"precision"),l(null!=a,"symbol"),I(t,o)+" "+a},appendByteBuffer:function(e,t){var r=C(t),i=r.amount,o=r.precision,a=r.symbol;l(null!=i,"amount"),l(null!=o,"precision"),l(null!=a,"symbol"),n.appendByteBuffer(e,p(i,o)),A.appendByteBuffer(e,o+","+a)},fromObject:function(e){var t=C(e),r=t.amount,n=t.precision,A=t.symbol;return l(null!=r,"amount"),l(null!=n,"precision"),l(null!=A,"symbol"),h(r,n)+" "+A},toObject:function(t){if(e.defaults&&null==t)return"0.0001 SYS";var r=C(t),n=r.amount,A=r.precision,i=r.symbol;return l(null!=n,"amount"),l(null!=A,"precision"),l(null!=i,"symbol"),h(n,A)+" "+i}}},v=function(e,t,r){var i=r.asset(e),o=r.name(e);return{fromByteBuffer:function(e){var t=i.fromByteBuffer(e),r=o.fromByteBuffer(e);return C(t+"@"+r)},appendByteBuffer:function(e,t){l.equal(void 0===t?"undefined":A(t),"object","expecting extended_asset object, got "+(void 0===t?"undefined":A(t)));var r=B(t),a=r.split("@"),s=n(a,2)[1];l.equal(void 0===s?"undefined":A(s),"string","Invalid extended asset: "+t),i.appendByteBuffer(e,r),o.appendByteBuffer(e,s)},fromObject:function(e){var t={};"string"==typeof e?Object.assign(t,C(e)):"object"===(void 0===e?"undefined":A(e))?Object.assign(t,e):l(!1,"expecting extended_asset<object|string>, got: "+(void 0===e?"undefined":A(e)));var r=t.amount,n=t.precision,i=t.symbol,o=t.contract;return l(null!=r,"missing amount"),l(null!=n,"missing precision"),l(null!=i,"missing symbol"),l(null!=o,"missing contract"),{amount:r,precision:n,symbol:i,contract:o}},toObject:function(t){if(e.defaults&&null==t)return{amount:"1.0000",precision:4,symbol:"SYS",contract:"eosio.token"};l.equal(void 0===t?"undefined":A(t),"object","expecting extended_asset object");var r=t.amount,n=t.precision,i=t.symbol,o=t.contract;return{amount:h(r,n),precision:n,symbol:i,contract:o}}}},D=function(e,t){var r=t.fixed_bytes65(e);return{fromByteBuffer:function(e){var t=r.fromByteBuffer(e);return o.from(t).toString()},appendByteBuffer:function(e,t){var n=o.from(t);r.appendByteBuffer(e,n.toBuffer())},fromObject:function(e){return o.from(e).toString()},toObject:function(t){return e.defaults&&null==t?"SIG_K1_bas58signature..":o.from(t).toString()}}},M={"authority.fromObject":function(e){if(e=e.replace?e.replace("CDX","").replace("EOS",""):e,a.fromString(e))return{threshold:1,keys:[{key:e,weight:1}]};if("string"==typeof e){var t=e.split("@"),r=n(t,2),A=r[0],i=r[1];return{threshold:1,accounts:[{permission:{actor:A,permission:void 0===i?"active":i},weight:1}]}}}},k=function(e){return{"abi.fromObject":function(e){return"string"==typeof e?JSON.parse(e):t.isBuffer(e)?JSON.parse(e.toString()):void 0},"setabi.abi.appendByteBuffer":function(t){t.fields;var r=t.object,n=t.b,A=e("abi_def","eosio"),i=new u(u.DEFAULT_CAPACITY,u.LITTLE_ENDIAN);A.appendByteBuffer(i,r.abi),n.writeVarint32(i.offset),n.append(i.copy(0,i.offset),"binary")}}},_=function(e){return{"setcode.code.fromObject":function(r){var n=r.object,A=r.result;try{var i=n.code.toString();if(/^\s*\(module/.test(i)){var o=e.binaryen;l(null!=o,'required: config.binaryen = require("binaryen")'),e.debug&&console.log("Assembling WASM..");var a=t.from(o.parseText(i).emitBinary());A.code=a}else A.code=n.code}catch(e){throw console.error(e,n.code),e}}}},S=function(e,r){return{"action.data.fromByteBuffer":function(r){var n=r.fields,A=r.object,i=r.b,o=r.config,a=""==(A.name||"")?n.data:e(A.name,A.account);if(a)i.readVarint32(),A.data=a.fromByteBuffer(i,o);else{var s=i.readVarint32(),u=i.copy(i.offset,i.offset+s);i.skip(s),A.data=t.from(u.toBinary(),"binary")}},"action.data.appendByteBuffer":function(r){var n=r.fields,A=r.object,i=r.b,o=""==(A.name||"")?n.data:e(A.name,A.account);if(o){var a=new u(u.DEFAULT_CAPACITY,u.LITTLE_ENDIAN);o.appendByteBuffer(a,A.data),i.writeVarint32(a.offset),i.append(a.copy(0,a.offset),"binary")}else{var s="string"==typeof A.data?new t(A.data,"hex"):A.data;if(!t.isBuffer(s))throw new TypeError("Unknown struct '"+A.name+"' for contract '"+A.account+"', locate this struct or provide serialized action.data");i.writeVarint32(s.length),i.append(s.toString("binary"),"binary")}},"action.data.fromObject":function(r){var n=r.fields,i=r.object,o=r.result,a=i.data,u=i.name,l=""==(u||"")?n.data:e(u,i.account);if(l)if("object"===(void 0===a?"undefined":A(a)))o.data=l.fromObject(a);else{if("string"!=typeof a)throw new TypeError("Expecting hex string or object in action.data");var c=new t(a,"hex");o.data=s.fromBuffer(l,c)}else o.data=a},"action.data.toObject":function(n){var A=n.fields,i=n.object,o=n.result,a=n.config,s=i||{},l=s.data,c=s.name,f=""==(c||"")?A.data:e(c,i.account);if(f){if(r){var d=new u(u.DEFAULT_CAPACITY,u.LITTLE_ENDIAN);return l&&f.appendByteBuffer(d,l),void(o.data=d.copy(0,d.offset).toString("hex"))}o.data=f.toObject(l,a)}else o.data=t.isBuffer(l)?l.toString("hex"):l}}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=Object.assign({},r(1564),r(1565),r(1566),r(1567));e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(17);t.BN=n;var A=r(491);t.rlp=A;var i=r(492),o=r(86);t.secp256k1=o;var a=r(36),s=r(45),u=r(15).Buffer,l=r(493);function c(e,t){return t?e-(2*t+35):e-27}function f(e){return 0===e||1===e}Object.assign(t,l),t.MAX_INTEGER=new n("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16),t.TWO_POW256=new n("10000000000000000000000000000000000000000000000000000000000000000",16),t.KECCAK256_NULL_S="c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",t.KECCAK256_NULL=u.from(t.KECCAK256_NULL_S,"hex"),t.KECCAK256_RLP_ARRAY_S="1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",t.KECCAK256_RLP_ARRAY=u.from(t.KECCAK256_RLP_ARRAY_S,"hex"),t.KECCAK256_RLP_S="56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",t.KECCAK256_RLP=u.from(t.KECCAK256_RLP_S,"hex"),t.zeros=function(e){return u.allocUnsafe(e).fill(0)},t.zeroAddress=function(){var e=t.zeros(20);return t.bufferToHex(e)},t.setLengthLeft=function(e,r,n){void 0===n&&(n=!1);var A=t.zeros(r);return e=t.toBuffer(e),n?e.length<r?(e.copy(A),A):e.slice(0,r):e.length<r?(e.copy(A,r-e.length),A):e.slice(-r)},t.setLength=t.setLengthLeft,t.setLengthRight=function(e,r){return t.setLength(e,r,!0)},t.unpad=function(e){for(var t=(e=l.stripHexPrefix(e))[0];e.length>0&&"0"===t.toString();)t=(e=e.slice(1))[0];return e},t.stripZeros=t.unpad,t.toBuffer=function(e){if(!u.isBuffer(e))if(Array.isArray(e))e=u.from(e);else if("string"==typeof e)e=t.isHexString(e)?u.from(t.padToEven(t.stripHexPrefix(e)),"hex"):u.from(e);else if("number"==typeof e)e=t.intToBuffer(e);else if(null==e)e=u.allocUnsafe(0);else if(n.isBN(e))e=e.toArrayLike(u);else{if(!e.toArray)throw new Error("invalid type");e=u.from(e.toArray())}return e},t.bufferToInt=function(e){return new n(t.toBuffer(e)).toNumber()},t.bufferToHex=function(e){return"0x"+(e=t.toBuffer(e)).toString("hex")},t.fromSigned=function(e){return new n(e).fromTwos(256)},t.toUnsigned=function(e){return u.from(e.toTwos(256).toArray())},t.keccak=function(e,r){return void 0===r&&(r=256),e=t.toBuffer(e),r||(r=256),i("keccak"+r).update(e).digest()},t.keccak256=function(e){return t.keccak(e)},t.sha256=function(e){return e=t.toBuffer(e),s("sha256").update(e).digest()},t.ripemd160=function(e,r){e=t.toBuffer(e);var n=s("rmd160").update(e).digest();return!0===r?t.setLength(n,32):n},t.rlphash=function(e){return t.keccak(A.encode(e))},t.isValidPrivate=function(e){return o.privateKeyVerify(e)},t.isValidPublic=function(e,t){return void 0===t&&(t=!1),64===e.length?o.publicKeyVerify(u.concat([u.from([4]),e])):!!t&&o.publicKeyVerify(e)},t.pubToAddress=function(e,r){return void 0===r&&(r=!1),e=t.toBuffer(e),r&&64!==e.length&&(e=o.publicKeyConvert(e,!1).slice(1)),a(64===e.length),t.keccak(e).slice(-20)},t.publicToAddress=t.pubToAddress,t.privateToPublic=function(e){return e=t.toBuffer(e),o.publicKeyCreate(e,!1).slice(1)},t.importPublic=function(e){return 64!==(e=t.toBuffer(e)).length&&(e=o.publicKeyConvert(e,!1).slice(1)),e},t.ecsign=function(e,t,r){var n=o.sign(e,t),A=n.recovery;return{r:n.signature.slice(0,32),s:n.signature.slice(32,64),v:r?A+(2*r+35):A+27}},t.hashPersonalMessage=function(e){var r=t.toBuffer("Ethereum Signed Message:\n"+e.length.toString());return t.keccak(u.concat([r,e]))},t.ecrecover=function(e,r,n,A,i){var a=u.concat([t.setLength(n,32),t.setLength(A,32)],64),s=c(r,i);if(!f(s))throw new Error("Invalid signature v value");var l=o.recover(e,a,s);return o.publicKeyConvert(l,!1).slice(1)},t.toRpcSig=function(e,r,n,A){if(!f(c(e,A)))throw new Error("Invalid signature v value");return t.bufferToHex(u.concat([t.setLengthLeft(r,32),t.setLengthLeft(n,32),t.toBuffer(e)]))},t.fromRpcSig=function(e){var r=t.toBuffer(e);if(65!==r.length)throw new Error("Invalid signature length");var n=r[64];return n<27&&(n+=27),{v:n,r:r.slice(0,32),s:r.slice(32,64)}},t.privateToAddress=function(e){return t.publicToAddress(t.privateToPublic(e))},t.isValidAddress=function(e){return/^0x[0-9a-fA-F]{40}$/.test(e)},t.isZeroAddress=function(e){return t.zeroAddress()===t.addHexPrefix(e)},t.toChecksumAddress=function(e){e=l.stripHexPrefix(e).toLowerCase();for(var r=t.keccak(e).toString("hex"),n="0x",A=0;A<e.length;A++)parseInt(r[A],16)>=8?n+=e[A].toUpperCase():n+=e[A];return n},t.isValidChecksumAddress=function(e){return t.isValidAddress(e)&&t.toChecksumAddress(e)===e},t.generateAddress=function(e,r){e=t.toBuffer(e);var A=new n(r);return A.isZero()?t.rlphash([e,null]).slice(-20):t.rlphash([e,u.from(A.toArray())]).slice(-20)},t.generateAddress2=function(e,r,n){var A=t.toBuffer(e),i=t.toBuffer(r),o=t.toBuffer(n);return a(20===A.length),a(32===i.length),t.keccak256(u.concat([u.from("ff","hex"),A,i,t.keccak256(o)])).slice(-20)},t.isPrecompiled=function(e){var r=t.unpad(e);return 1===r.length&&r[0]>=1&&r[0]<=8},t.addHexPrefix=function(e){return"string"!=typeof e?e:l.isHexPrefixed(e)?e:"0x"+e},t.isValidSignature=function(e,t,r,A,i){void 0===A&&(A=!0);var o=new n("7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0",16),a=new n("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",16);if(32!==t.length||32!==r.length)return!1;if(!f(c(e,i)))return!1;var s=new n(t),u=new n(r);return!(s.isZero()||s.gt(a)||u.isZero()||u.gt(a))&&(!A||1!==u.cmp(o))},t.baToJSON=function(e){if(u.isBuffer(e))return"0x"+e.toString("hex");if(e instanceof Array){for(var r=[],n=0;n<e.length;n++)r.push(t.baToJSON(e[n]));return r}},t.defineProperties=function(e,r,n){if(e.raw=[],e._fields=[],e.toJSON=function(r){if(void 0===r&&(r=!1),r){var n={};return e._fields.forEach(function(t){n[t]="0x"+e[t].toString("hex")}),n}return t.baToJSON(e.raw)},e.serialize=function(){return A.encode(e.raw)},r.forEach(function(r,n){function A(){return e.raw[n]}function i(A){"00"!==(A=t.toBuffer(A)).toString("hex")||r.allowZero||(A=u.allocUnsafe(0)),r.allowLess&&r.length?(A=t.stripZeros(A),a(r.length>=A.length,"The field "+r.name+" must not have more "+r.length+" bytes")):r.allowZero&&0===A.length||!r.length||a(r.length===A.length,"The field "+r.name+" must have byte length of "+r.length),e.raw[n]=A}e._fields.push(r.name),Object.defineProperty(e,r.name,{enumerable:!0,configurable:!0,get:A,set:i}),r.default&&(e[r.name]=r.default),r.alias&&Object.defineProperty(e,r.alias,{enumerable:!1,configurable:!0,set:i,get:A})}),n)if("string"==typeof n&&(n=u.from(l.stripHexPrefix(n),"hex")),u.isBuffer(n)&&(n=A.decode(n)),Array.isArray(n)){if(n.length>e._fields.length)throw new Error("wrong number of fields in data");n.forEach(function(r,n){e[e._fields[n]]=t.toBuffer(r)})}else{if("object"!=typeof n)throw new Error("invalid data");var i=Object.keys(n);r.forEach(function(t){-1!==i.indexOf(t.name)&&(e[t.name]=n[t.name]),-1!==i.indexOf(t.alias)&&(e[t.alias]=n[t.alias])})}}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r(17);function A(e,t){if("00"===e.slice(0,2))throw new Error("invalid RLP: extra zeros");return parseInt(e,t)}function i(t,r){if(t<56)return e.from([t+r]);var n=a(t),A=a(r+55+n.length/2);return e.from(A+n,"hex")}function o(e){return"0x"===e.slice(0,2)}function a(e){var t=e.toString(16);return t.length%2?"0"+t:t}function s(t){if(!e.isBuffer(t)){if("string"==typeof t)return o(t)?e.from((A="string"!=typeof(i=t)?i:o(i)?i.slice(2):i).length%2?"0"+A:A,"hex"):e.from(t);if("number"==typeof t)return t?(r=a(t),e.from(r,"hex")):e.from([]);if(null==t)return e.from([]);if(t instanceof Uint8Array)return e.from(t);if(n.isBN(t))return e.from(t.toArray());throw new Error("invalid type")}var r,A,i;return t}t.encode=function t(r){if(r instanceof Array){for(var n=[],A=0;A<r.length;A++)n.push(t(r[A]));var o=e.concat(n);return e.concat([i(o.length,192),o])}var a=s(r);return 1===a.length&&a[0]<128?a:e.concat([i(a.length,128),a])},t.decode=function(t,r){if(void 0===r&&(r=!1),!t||0===t.length)return e.from([]);var n=function t(r){var n,i,o,a,s;var u=[];var l=r[0];if(l<=127)return{data:r.slice(0,1),remainder:r.slice(1)};if(l<=183){if(n=l-127,o=128===l?e.from([]):r.slice(1,n),2===n&&o[0]<128)throw new Error("invalid rlp encoding: byte must be less 0x80");return{data:o,remainder:r.slice(n)}}if(l<=191){if(i=l-182,n=A(r.slice(1,i).toString("hex"),16),(o=r.slice(i,n+i)).length<n)throw new Error("invalid RLP");return{data:o,remainder:r.slice(n+i)}}if(l<=247){for(n=l-191,a=r.slice(1,n);a.length;)s=t(a),u.push(s.data),a=s.remainder;return{data:u,remainder:r.slice(n)}}i=l-246,n=A(r.slice(1,i).toString("hex"),16);var c=i+n;if(c>r.length)throw new Error("invalid rlp: total length is larger than the data");if(0===(a=r.slice(i,c)).length)throw new Error("invalid rlp, List has a invalid length");for(;a.length;)s=t(a),u.push(s.data),a=s.remainder;return{data:u,remainder:r.slice(c)}}(s(t));if(r)return n;if(0!==n.remainder.length)throw new Error("invalid remainder");return n.data},t.getLength=function(t){if(!t||0===t.length)return e.from([]);var r=s(t),n=r[0];if(n<=127)return r.length;if(n<=183)return n-127;if(n<=191)return n-182;if(n<=247)return n-191;var i=n-246;return i+A(r.slice(1,i).toString("hex"),16)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";e.exports=r(1578)(r(1581))},function(e,t,r){"use strict";(function(t){var n=r(919),A=r(1583);function i(e){var t=e;if("string"!=typeof t)throw new Error("[ethjs-util] while padding to even, value must be string, is currently "+typeof t+", while padToEven.");return t.length%2&&(t="0"+t),t}function o(e){return"0x"+e.toString(16)}e.exports={arrayContainsArray:function(e,t,r){if(!0!==Array.isArray(e))throw new Error("[ethjs-util] method arrayContainsArray requires input 'superset' to be an array got type '"+typeof e+"'");if(!0!==Array.isArray(t))throw new Error("[ethjs-util] method arrayContainsArray requires input 'subset' to be an array got type '"+typeof t+"'");return t[Boolean(r)?"some":"every"](function(t){return e.indexOf(t)>=0})},intToBuffer:function(e){var r=o(e);return new t(i(r.slice(2)),"hex")},getBinarySize:function(e){if("string"!=typeof e)throw new Error("[ethjs-util] while getting binary size, method getBinarySize requires input 'str' to be type String, got '"+typeof e+"'.");return t.byteLength(e,"utf8")},isHexPrefixed:n,stripHexPrefix:A,padToEven:i,intToHex:o,fromAscii:function(e){for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r).toString(16);t+=n.length<2?"0"+n:n}return"0x"+t},fromUtf8:function(e){return"0x"+i(new t(e,"utf8").toString("hex")).replace(/^0+|0+$/g,"")},toAscii:function(e){var t="",r=0,n=e.length;for("0x"===e.substring(0,2)&&(r=2);r<n;r+=2){var A=parseInt(e.substr(r,2),16);t+=String.fromCharCode(A)}return t},toUtf8:function(e){return new t(i(A(e).replace(/^0+|0+$/g,"")),"hex").toString("utf8")},getKeys:function(e,t,r){if(!Array.isArray(e))throw new Error("[ethjs-util] method getKeys expecting type Array as 'params' input, got '"+typeof e+"'");if("string"!=typeof t)throw new Error("[ethjs-util] method getKeys expecting type String for input 'key' got '"+typeof t+"'.");for(var n=[],A=0;A<e.length;A++){var i=e[A][t];if(r&&!i)i="";else if("string"!=typeof i)throw new Error("invalid abi");n.push(i)}return n},isHexString:function(e,t){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/))&&(!t||e.length===2+2*t)}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";e.exports=r(1591)},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(1605);function i(){this.negative=0,this.words=null,this.length=0}i.fromNumber=function(e){var t=new i;return t.words=[67108863&e],t.length=1,t},i.fromBuffer=function(e){var t=new i;return t.words=new Array(10),t.words[0]=(3&e[28])<<24|e[29]<<16|e[30]<<8|e[31],t.words[1]=(15&e[25])<<22|e[26]<<14|e[27]<<6|e[28]>>>2,t.words[2]=(63&e[22])<<20|e[23]<<12|e[24]<<4|e[25]>>>4,t.words[3]=(255&e[19])<<18|e[20]<<10|e[21]<<2|e[22]>>>6,t.words[4]=(3&e[15])<<24|e[16]<<16|e[17]<<8|e[18],t.words[5]=(15&e[12])<<22|e[13]<<14|e[14]<<6|e[15]>>>2,t.words[6]=(63&e[9])<<20|e[10]<<12|e[11]<<4|e[12]>>>4,t.words[7]=(255&e[6])<<18|e[7]<<10|e[8]<<2|e[9]>>>6,t.words[8]=(3&e[2])<<24|e[3]<<16|e[4]<<8|e[5],t.words[9]=e[0]<<14|e[1]<<6|e[2]>>>2,t.length=10,t.strip()},i.prototype.toBuffer=function(){for(var e=this.words,t=this.length;t<10;++t)e[t]=0;return n.from([e[9]>>>14&255,e[9]>>>6&255,(63&e[9])<<2|e[8]>>>24&3,e[8]>>>16&255,e[8]>>>8&255,255&e[8],e[7]>>>18&255,e[7]>>>10&255,e[7]>>>2&255,(3&e[7])<<6|e[6]>>>20&63,e[6]>>>12&255,e[6]>>>4&255,(15&e[6])<<4|e[5]>>>22&15,e[5]>>>14&255,e[5]>>>6&255,(63&e[5])<<2|e[4]>>>24&3,e[4]>>>16&255,e[4]>>>8&255,255&e[4],e[3]>>>18&255,e[3]>>>10&255,e[3]>>>2&255,(3&e[3])<<6|e[2]>>>20&63,e[2]>>>12&255,e[2]>>>4&255,(15&e[2])<<4|e[1]>>>22&15,e[1]>>>14&255,e[1]>>>6&255,(63&e[1])<<2|e[0]>>>24&3,e[0]>>>16&255,e[0]>>>8&255,255&e[0]])},i.prototype.clone=function(){var e=new i;e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];return e.length=this.length,e.negative=this.negative,e},i.prototype.strip=function(){for(;this.length>1&&0==(0|this.words[this.length-1]);)this.length--;return this},i.prototype.normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.ucmp=function(e){if(this.length!==e.length)return this.length>e.length?1:-1;for(var t=this.length-1;t>=0;--t)if(this.words[t]!==e.words[t])return this.words[t]>e.words[t]?1:-1;return 0},i.prototype.gtOne=function(){return this.length>1||this.words[0]>1},i.prototype.isOverflow=function(){return this.ucmp(i.n)>=0},i.prototype.isHigh=function(){return 1===this.ucmp(i.nh)},i.prototype.bitLengthGT256=function(){return this.length>10||10===this.length&&this.words[9]>4194303},i.prototype.iuaddn=function(e){this.words[0]+=e;for(var t=0;this.words[t]>67108863&&t<this.length;++t)this.words[t]-=67108864,this.words[t+1]+=1;return t===this.length&&(this.words[t]=1,this.length+=1),this},i.prototype.iadd=function(e){if(this.negative!==e.negative)return 0!==this.negative?(this.negative=0,this.isub(e),this.negative^=1):(e.negative=0,this.isub(e),e.negative=1),this.normSign();var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0,A=0;n<r.length;++n){var i=t.words[n]+r.words[n]+A;this.words[n]=67108863&i,A=i>>>26}for(;0!==A&&n<t.length;++n)i=t.words[n]+A,this.words[n]=67108863&i,A=i>>>26;if(this.length=t.length,0!==A)this.words[this.length++]=A;else if(t!==this)for(;n<t.length;++n)this.words[n]=t.words[n];return this},i.prototype.add=function(e){return this.clone().iadd(e)},i.prototype.isub=function(e){if(this.negative!==e.negative)return 0!==this.negative?(this.negative=0,this.iadd(e),this.negative=1):(e.negative=0,this.iadd(e),e.negative=1),this.normSign();var t,r,n=this.ucmp(e);if(0===n)return this.negative=0,this.words[0]=0,this.length=1,this;n>0?(t=this,r=e):(t=e,r=this);for(var A=0,i=0;A<r.length;++A){var o=t.words[A]-r.words[A]+i;i=o>>26,this.words[A]=67108863&o}for(;0!==i&&A<t.length;++A)i=(o=t.words[A]+i)>>26,this.words[A]=67108863&o;if(0===i&&A<t.length&&t!==this)for(;A<t.length;++A)this.words[A]=t.words[A];return this.length=Math.max(this.length,A),t!==this&&(this.negative^=1),this.strip().normSign()},i.prototype.sub=function(e){return this.clone().isub(e)},i.umulTo=function(e,t,r){r.length=e.length+t.length-1;var n=e.words[0]*t.words[0],A=n/67108864|0;r.words[0]=67108863&n;for(var i=1,o=r.length;i<o;i++){for(var a=A>>>26,s=67108863&A,u=Math.max(0,i-e.length+1),l=Math.min(i,t.length-1);u<=l;u++){var c=i-u,f=e.words[c]*t.words[u]+s;a+=f/67108864|0,s=67108863&f}r.words[i]=s,A=a}return 0!==A&&(r.words[r.length++]=A),r.strip()},i.umulTo10x10=Math.imul?A.umulTo10x10:i.umulTo,i.umulnTo=function(e,t,r){if(0===t)return r.words=[0],r.length=1,r;for(var n=0,A=0;n<e.length;++n){var i=e.words[n]*t+A;r.words[n]=67108863&i,A=i/67108864|0}return A>0?(r.words[n]=A,r.length=e.length+1):r.length=e.length,r},i.prototype.umul=function(e){var t=new i;return t.words=new Array(this.length+e.length),10===this.length&&10===e.length?i.umulTo10x10(this,e,t):1===this.length?i.umulnTo(e,this.words[0],t):1===e.length?i.umulnTo(this,e.words[0],t):i.umulTo(this,e,t)},i.prototype.isplit=function(e){e.length=Math.min(this.length,9);for(var t=0;t<e.length;++t)e.words[t]=this.words[t];if(this.length<=9)return this.words[0]=0,this.length=1,this;var r=this.words[9];for(e.words[e.length++]=4194303&r,t=10;t<this.length;++t){var n=this.words[t];this.words[t-10]=(4194303&n)<<4|r>>>22,r=n}return r>>>=22,this.words[t-10]=r,0===r&&this.length>10?this.length-=10:this.length-=9,this},i.prototype.fireduce=function(){return this.isOverflow()&&this.isub(i.n),this},i.prototype.ureduce=function(){var e=this.clone().isplit(i.tmp).umul(i.nc).iadd(i.tmp);return e.bitLengthGT256()&&(e=e.isplit(i.tmp).umul(i.nc).iadd(i.tmp)).bitLengthGT256()&&(e=e.isplit(i.tmp).umul(i.nc).iadd(i.tmp)),e.fireduce()},i.prototype.ishrn=function(e){for(var t=(1<<e)-1,r=26-e,n=this.length-1,A=0;n>=0;--n){var i=this.words[n];this.words[n]=A<<r|i>>>e,A=i&t}return this.length>1&&0===this.words[this.length-1]&&(this.length-=1),this},i.prototype.uinvm=function(){for(var e=this.clone(),t=i.n.clone(),r=i.fromNumber(1),n=i.fromNumber(0),A=i.fromNumber(0),o=i.fromNumber(1);e.isEven()&&t.isEven();){for(var a=1,s=1;0==(e.words[0]&s)&&0==(t.words[0]&s)&&a<26;++a,s<<=1);e.ishrn(a),t.ishrn(a)}for(var u=t.clone(),l=e.clone();!e.isZero();){for(var c=0,f=1;0==(e.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(e.ishrn(c);c-- >0;)(r.isOdd()||n.isOdd())&&(r.iadd(u),n.isub(l)),r.ishrn(1),n.ishrn(1);for(var d=0,g=1;0==(t.words[0]&g)&&d<26;++d,g<<=1);if(d>0)for(t.ishrn(d);d-- >0;)(A.isOdd()||o.isOdd())&&(A.iadd(u),o.isub(l)),A.ishrn(1),o.ishrn(1);e.ucmp(t)>=0?(e.isub(t),r.isub(A),n.isub(o)):(t.isub(e),A.isub(r),o.isub(n))}if(1===A.negative){A.negative=0;var h=A.ureduce();return h.negative^=1,h.normSign().iadd(i.n)}return A.ureduce()},i.prototype.imulK=function(){this.words[this.length]=0,this.words[this.length+1]=0,this.length+=2;for(var e=0,t=0;e<this.length;++e){var r=0|this.words[e];t+=977*r,this.words[e]=67108863&t,t=64*r+(t/67108864|0)}return 0===this.words[this.length-1]&&(this.length-=1,0===this.words[this.length-1]&&(this.length-=1)),this},i.prototype.redIReduce=function(){this.isplit(i.tmp).imulK().iadd(i.tmp),this.bitLengthGT256()&&this.isplit(i.tmp).imulK().iadd(i.tmp);var e=this.ucmp(i.p);return 0===e?(this.words[0]=0,this.length=1):e>0?this.isub(i.p):this.strip(),this},i.prototype.redNeg=function(){return this.isZero()?i.fromNumber(0):i.p.sub(this)},i.prototype.redAdd=function(e){return this.clone().redIAdd(e)},i.prototype.redIAdd=function(e){return this.iadd(e),this.ucmp(i.p)>=0&&this.isub(i.p),this},i.prototype.redIAdd7=function(){return this.iuaddn(7),this.ucmp(i.p)>=0&&this.isub(i.p),this},i.prototype.redSub=function(e){return this.clone().redISub(e)},i.prototype.redISub=function(e){return this.isub(e),0!==this.negative&&this.iadd(i.p),this},i.prototype.redMul=function(e){return this.umul(e).redIReduce()},i.prototype.redSqr=function(){return this.umul(this).redIReduce()},i.prototype.redSqrt=function(){if(this.isZero())return this.clone();for(var e=this.redSqr(),t=e.redSqr(),r=t.redSqr().redMul(t),n=r.redMul(e),A=n.redMul(this),i=A,o=0;o<54;++o)i=i.redSqr().redSqr().redSqr().redSqr().redMul(A);for(i=i.redSqr().redSqr().redSqr().redSqr().redMul(n),o=0;o<5;++o)i=i.redSqr().redSqr().redSqr().redSqr().redMul(A);return 0===(i=(i=i.redSqr().redSqr().redSqr().redSqr().redMul(r)).redSqr().redSqr().redSqr().redSqr().redSqr().redSqr().redMul(r)).redSqr().ucmp(this)?i:null},i.prototype.redInvm=function(){for(var e,t=this.clone(),r=i.p.clone(),n=i.fromNumber(1),A=i.fromNumber(0);t.gtOne()&&r.gtOne();){for(var o=0,a=1;0==(t.words[0]&a)&&o<26;++o,a<<=1);if(o>0)for(t.ishrn(o);o-- >0;)n.isOdd()&&n.iadd(i.p),n.ishrn(1);for(var s=0,u=1;0==(r.words[0]&u)&&s<26;++s,u<<=1);if(s>0)for(r.ishrn(s);s-- >0;)A.isOdd()&&A.iadd(i.p),A.ishrn(1);t.ucmp(r)>=0?(t.isub(r),n.isub(A)):(r.isub(t),A.isub(n))}return 0!==(e=1===t.length&&1===t.words[0]?n:A).negative&&e.iadd(i.p),0!==e.negative?(e.negative=0,e.redIReduce().redNeg()):e.redIReduce()},i.prototype.getNAF=function(e){for(var t=[],r=1<<e+1,n=r-1,A=r>>1,i=this.clone();!i.isZero();){for(var o=0,a=1;0==(i.words[0]&a)&&o<26;++o,a<<=1)t.push(0);if(0!==o)i.ishrn(o);else{var s=i.words[0]&n;if(s>=A)t.push(A-s),i.iuaddn(s-A).ishrn(1);else if(t.push(s),i.words[0]-=s,!i.isZero()){for(o=e-1;o>0;--o)t.push(0);i.ishrn(e)}}}return t},i.prototype.inspect=function(){if(this.isZero())return"0";for(var e=this.toBuffer().toString("hex"),t=0;"0"===e[t];++t);return e.slice(t)},i.n=i.fromBuffer(n.from("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141","hex")),i.nh=i.n.clone().ishrn(1),i.nc=i.fromBuffer(n.from("000000000000000000000000000000014551231950B75FC4402DA1732FC9BEBF","hex")),i.p=i.fromBuffer(n.from("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F","hex")),i.psn=i.p.sub(i.n),i.tmp=new i,i.tmp.words=new Array(10),i.fromNumber(1).words[3]=0,e.exports=i},function(e,t,r){"use strict";(function(t){var n=r(1609),A=r(1610),i=n.BN,o=new i("7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0",16),a=function(){function e(r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r=r||{};var A=[{name:"nonce",length:32,allowLess:!0,default:new t([])},{name:"gasPrice",length:32,allowLess:!0,default:new t([])},{name:"gasLimit",alias:"gas",length:32,allowLess:!0,default:new t([])},{name:"to",allowZero:!0,length:20,default:new t([])},{name:"value",length:32,allowLess:!0,default:new t([])},{name:"data",alias:"input",allowZero:!0,default:new t([])},{name:"v",allowZero:!0,default:new t([28])},{name:"r",length:32,allowZero:!0,allowLess:!0,default:new t([])},{name:"s",length:32,allowZero:!0,allowLess:!0,default:new t([])}];n.defineProperties(this,A,r),Object.defineProperty(this,"from",{enumerable:!0,configurable:!0,get:this.getSenderAddress.bind(this)});var i=n.bufferToInt(this.v),o=Math.floor((i-35)/2);o<0&&(o=0),this._chainId=o||r.chainId||0,this._homestead=!0}return e.prototype.toCreationAddress=function(){return""===this.to.toString("hex")},e.prototype.hash=function(e){void 0===e&&(e=!0);var t=void 0;if(e)t=this.raw;else if(this._chainId>0){var r=this.raw.slice();this.v=this._chainId,this.r=0,this.s=0,t=this.raw,this.raw=r}else t=this.raw.slice(0,6);return n.rlphash(t)},e.prototype.getChainId=function(){return this._chainId},e.prototype.getSenderAddress=function(){if(this._from)return this._from;var e=this.getSenderPublicKey();return this._from=n.publicToAddress(e),this._from},e.prototype.getSenderPublicKey=function(){if(!(this._senderPubKey&&this._senderPubKey.length||this.verifySignature()))throw new Error("Invalid Signature");return this._senderPubKey},e.prototype.verifySignature=function(){var e=this.hash(!1);if(this._homestead&&1===new i(this.s).cmp(o))return!1;try{var t=n.bufferToInt(this.v);this._chainId>0&&(t-=2*this._chainId+8),this._senderPubKey=n.ecrecover(e,t,this.r,this.s)}catch(e){return!1}return!!this._senderPubKey},e.prototype.sign=function(e){var t=this.hash(!1),r=n.ecsign(t,e);this._chainId>0&&(r.v+=2*this._chainId+8),Object.assign(this,r)},e.prototype.getDataFee=function(){for(var e=this.raw[5],t=new i(0),r=0;r<e.length;r++)0===e[r]?t.iaddn(A.txDataZeroGas.v):t.iaddn(A.txDataNonZeroGas.v);return t},e.prototype.getBaseFee=function(){var e=this.getDataFee().iaddn(A.txGas.v);return this._homestead&&this.toCreationAddress()&&e.iaddn(A.txCreation.v),e},e.prototype.getUpfrontCost=function(){return new i(this.gasLimit).imul(new i(this.gasPrice)).iadd(new i(this.value))},e.prototype.validate=function(e){var t=[];return this.verifySignature()||t.push("Invalid Signature"),this.getBaseFee().cmp(new i(this.gasLimit))>0&&t.push(["gas limit is too low. Need at least "+this.getBaseFee()]),void 0===e||!1===e?0===t.length:t.join(" ")},e}();e.exports=a}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(1636)(!0);r(928)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,r){var n=r(291);e.exports=function(e,t){if(!n(e))return e;var r,A;if(t&&"function"==typeof(r=e.toString)&&!n(A=r.call(e)))return A;if("function"==typeof(r=e.valueOf)&&!n(A=r.call(e)))return A;if(!t&&"function"==typeof(r=e.toString)&&!n(A=r.call(e)))return A;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){var n=r(934),A=r(505);e.exports=Object.keys||function(e){return n(e,A)}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){var n=r(504)("keys"),A=r(344);e.exports=function(e){return n[e]||(n[e]=A(e))}},function(e,t,r){var n=r(204),A=r(185),i=A["__core-js_shared__"]||(A["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(341)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var n=r(231).f,A=r(205),i=r(159)("toStringTag");e.exports=function(e,t,r){e&&!A(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},function(e,t,r){r(1648);for(var n=r(185),A=r(230),i=r(292),o=r(159)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<a.length;s++){var u=a[s],l=n[u],c=l&&l.prototype;c&&!c[o]&&A(c,o,u),i[u]=i.Array}},function(e,t,r){t.f=r(159)},function(e,t,r){var n=r(185),A=r(204),i=r(341),o=r(508),a=r(231).f;e.exports=function(e){var t=A.Symbol||(A.Symbol=i?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,{value:o.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){"use strict";(function(t){var n=i(r(512)),A=i(r(289));function i(e){return e&&e.__esModule?e:{default:e}}var o=r(47),a=o.Signature,s=o.PublicKey,u=r(338),l=r(109),c=r(36),f=r(940),d=r(941),g=(d.isName,d.encodeName),h=d.decodeName,p=d.DecimalPad,I=d.DecimalImply,B=d.DecimalUnimply,C=d.printAsset,m=d.parseAsset;e.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],r=function(t,r){var n=e.abiCache.abi(r),A=!0,i=!1,o=void 0;try{for(var a,s=n.abi.actions[Symbol.iterator]();!(A=(a=s.next()).done);A=!0){var u=a.value;if(u.name===t){var l=n.structs[u.type];if(null!=l)return l}}}catch(e){i=!0,o=e}finally{try{!A&&s.return&&s.return()}finally{if(i)throw o}}var c=n.structs[t];if(null!=c)return c;throw new Error("Missing ABI action: "+t)},n=null==e.forceActionDataHex||e.forceActionDataHex,A=Object.assign({},_(e),S(r),N(e),F(r,n),e.override),i={name:function(){return[y]},public_key:function(){return[Q(w)]},symbol:function(){return[E]},symbol_code:function(){return[b]},extended_symbol:function(){return[v]},asset:function(){return[D]},extended_asset:function(){return[M]},signature:function(){return[Q(k)]}},o=Object.assign({},i,e.customTypes);(e=Object.assign({override:A},{customTypes:o},e)).sort=Object.assign({},e.sort),e.sort["action.authorization"]=!0,e.sort["signed_transaction.signature"]=!0,e.sort["authority.accounts"]=!0,e.sort["authority.keys"]=!0;var a=Object.assign({},f,t),s=u(a,e),l=s.structs,c=s.types,d=s.errors,g=s.fromBuffer,h=s.toBuffer;if(0!==d.length)throw new Error(JSON.stringify(d,null,4));return{structs:l,types:c,fromBuffer:g,toBuffer:h}};var y=function(e){return{fromByteBuffer:function(e){return h(e.readUint64(),!1)},appendByteBuffer:function(e,t){e.writeUint64(g(t,!1))},fromObject:function(e){return e},toObject:function(t){return e.defaults&&null==t?"":t}}},Q=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r,n){var A=t.map(function(t){return t(e,r,n)}),i=r.static_variant(A);return{fromByteBuffer:function(e){return i.fromByteBuffer(e)},appendByteBuffer:function(e,t){Array.isArray(t)||(t=[0,t]),i.appendByteBuffer(e,t)},fromObject:function(e){return Array.isArray(e)||(e=[0,e]),i.fromObject(e)[1]},toObject:function(e){return Array.isArray(e)||(e=[0,e]),i.toObject(e)[1]}}}},w=function(e){return{fromByteBuffer:function(r){var n=r.copy(r.offset,r.offset+33);r.skip(33);var A=t.from(n.toBinary(),"binary");return s.fromBuffer(A).toString(e.keyPrefix)},appendByteBuffer:function(t,r){var n=s.fromStringOrThrow(r,e.keyPrefix).toBuffer();t.append(n.toString("binary"),"binary")},fromObject:function(e){return e},toObject:function(t){return e.defaults&&null==t?(e.keyPrefix?e.keyPrefix:"EOS")+"6MRy..":t}}},E=function(e){return{fromByteBuffer:function(e){var t=e.copy(e.offset,e.offset+8);e.skip(8);var r=t.readUint8(),n=t.toBinary(),A="",i=!0,o=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value;if("\0"==l)break;A+=l}}catch(e){o=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw a}}return r+","+A},appendByteBuffer:function(e,t){var r=m(t),n=r.symbol,A=r.precision;c(null!=A,"Precision unknown for symbol: "+t);var i="\0".repeat(7-n.length);e.append(String.fromCharCode(A)+n+i)},fromObject:function(e){c(null!=e,"Symbol is required: "+e);var t=m(e),r=t.symbol,n=t.precision;return null==n?r:n+","+r},toObject:function(t){return e.defaults&&null==t?"SYS":m(t).symbol}}},b=function(e){return{fromByteBuffer:function(e){var t=e.copy(e.offset,e.offset+8);e.skip(8);var r=t.toBinary(),n="",A=!0,i=!1,o=void 0;try{for(var a,s=r[Symbol.iterator]();!(A=(a=s.next()).done);A=!0){var u=a.value;if("\0"==u)break;n+=u}}catch(e){i=!0,o=e}finally{try{!A&&s.return&&s.return()}finally{if(i)throw o}}return""+n},appendByteBuffer:function(e,t){var r=m(t).symbol,n="\0".repeat(8-r.length);e.append(r+n)},fromObject:function(e){return c(null!=e,"Symbol is required: "+e),m(e).symbol},toObject:function(t){return e.defaults&&null==t?"SYS":m(t).symbol}}},v=function(e,t,r){var i=r.symbol(e),o=r.name(e);return{fromByteBuffer:function(e){return i.fromByteBuffer(e)+"@"+o.fromByteBuffer(e)},appendByteBuffer:function(e,t){c.equal(void 0===t?"undefined":(0,A.default)(t),"string","Invalid extended symbol: "+t);var r=t.split("@"),a=(0,n.default)(r,2),s=a[0],u=a[1];c(null!=u,"Missing @contract suffix in extended symbol: "+t),i.appendByteBuffer(e,s),o.appendByteBuffer(e,u)},fromObject:function(e){return e},toObject:function(t){return e.defaults&&null==t?"SYS@contract":t}}},D=function(e,t,r){var n=t.int64(e),A=r.symbol(e);return{fromByteBuffer:function(e){var t=n.fromByteBuffer(e);c(null!=t,"amount");var r=A.fromByteBuffer(e),i=m(""+r),o=i.precision,a=i.symbol;return c(null!=o,"precision"),c(null!=a,"symbol"),B(t,o)+" "+a},appendByteBuffer:function(e,t){var r=m(t),i=r.amount,o=r.precision,a=r.symbol;c(null!=i,"amount"),c(null!=o,"precision"),c(null!=a,"symbol"),n.appendByteBuffer(e,I(i,o)),A.appendByteBuffer(e,o+","+a)},fromObject:function(e){var t=m(e),r=t.amount,n=t.precision,A=t.symbol;return c(null!=r,"amount"),c(null!=n,"precision"),c(null!=A,"symbol"),p(r,n)+" "+A},toObject:function(t){if(e.defaults&&null==t)return"0.0001 SYS";var r=m(t),n=r.amount,A=r.precision,i=r.symbol;return c(null!=n,"amount"),c(null!=A,"precision"),c(null!=i,"symbol"),p(n,A)+" "+i}}},M=function(e,t,r){var i=r.asset(e),o=r.name(e);return{fromByteBuffer:function(e){var t=i.fromByteBuffer(e),r=o.fromByteBuffer(e);return m(t+"@"+r)},appendByteBuffer:function(e,t){c.equal(void 0===t?"undefined":(0,A.default)(t),"object","expecting extended_asset object, got "+(void 0===t?"undefined":(0,A.default)(t)));var r=C(t),a=r.split("@"),s=(0,n.default)(a,2)[1];c.equal(void 0===s?"undefined":(0,A.default)(s),"string","Invalid extended asset: "+t),i.appendByteBuffer(e,r),o.appendByteBuffer(e,s)},fromObject:function(e){var t={};"string"==typeof e?Object.assign(t,m(e)):"object"===(void 0===e?"undefined":(0,A.default)(e))?Object.assign(t,e):c(!1,"expecting extended_asset<object|string>, got: "+(void 0===e?"undefined":(0,A.default)(e)));var r=t.amount,n=t.precision,i=t.symbol,o=t.contract;return c(null!=r,"missing amount"),c(null!=n,"missing precision"),c(null!=i,"missing symbol"),c(null!=o,"missing contract"),{amount:r,precision:n,symbol:i,contract:o}},toObject:function(t){if(e.defaults&&null==t)return{amount:"1.0000",precision:4,symbol:"SYS",contract:"eosio.token"};c.equal(void 0===t?"undefined":(0,A.default)(t),"object","expecting extended_asset object");var r=t.amount,n=t.precision,i=t.symbol,o=t.contract;return{amount:p(r,n),precision:n,symbol:i,contract:o}}}},k=function(e,t){var r=t.fixed_bytes65(e);return{fromByteBuffer:function(e){var t=r.fromByteBuffer(e);return a.from(t).toString()},appendByteBuffer:function(e,t){var n=a.from(t);r.appendByteBuffer(e,n.toBuffer())},fromObject:function(e){return a.from(e).toString()},toObject:function(t){return e.defaults&&null==t?"SIG_K1_bas58signature..":a.from(t).toString()}}},_=function(e){return{"authority.fromObject":function(t){if(s.fromString(t,e.keyPrefix))return{threshold:1,keys:[{key:t,weight:1}]};if("string"==typeof t){var r=t.split("@"),A=(0,n.default)(r,2),i=A[0],o=A[1];return{threshold:1,accounts:[{permission:{actor:i,permission:void 0===o?"active":o},weight:1}]}}}}},S=function(e){return{"abi_def.fromObject":function(e){if("string"==typeof e){var r=t.from(e,"hex").toString();return 0===r.length&&(r=t.from(e).toString()),JSON.parse(r)}return t.isBuffer(e)?JSON.parse(e.toString()):null},"setabi.abi.appendByteBuffer":function(r){r.fields;var n=r.object,i=r.b,o=e("abi_def","eosio"),a=new l(l.DEFAULT_CAPACITY,l.LITTLE_ENDIAN);t.isBuffer(n.abi)?a.append(n.abi):"object"==(0,A.default)(n.abi)&&o.appendByteBuffer(a,n.abi),i.writeVarint32(a.offset),i.append(a.copy(0,a.offset),"binary")}}},N=function(e){return{"setcode.code.fromObject":function(r){var n=r.object,A=r.result;try{var i=n.code.toString();if(/^\s*\(module/.test(i)){var o=e.binaryen;c(null!=o,'required: config.binaryen = require("binaryen")'),e.debug&&console.log("Assembling WASM..");var a=t.from(o.parseText(i).emitBinary());A.code=a}else A.code=n.code}catch(e){throw console.error(e,n.code),e}}}},F=function(e,r){return{"action.data.fromByteBuffer":function(r){var n=r.fields,A=r.object,i=r.b,o=r.config,a=""==(A.name||"")?n.data:e(A.name,A.account);if(a)i.readVarint32(),A.data=a.fromByteBuffer(i,o);else{var s=i.readVarint32(),u=i.copy(i.offset,i.offset+s);i.skip(s),A.data=t.from(u.toBinary(),"binary")}},"action.data.appendByteBuffer":function(r){var n=r.fields,A=r.object,i=r.b,o=""==(A.name||"")?n.data:e(A.name,A.account);if(o){var a=new l(l.DEFAULT_CAPACITY,l.LITTLE_ENDIAN);o.appendByteBuffer(a,A.data),i.writeVarint32(a.offset),i.append(a.copy(0,a.offset),"binary")}else{var s="string"==typeof A.data?t.from(A.data,"hex"):A.data;if(!t.isBuffer(s))throw new TypeError("Unknown struct '"+A.name+"' for contract '"+A.account+"', locate this struct or provide serialized action.data");i.writeVarint32(s.length),i.append(s.toString("binary"),"binary")}},"action.data.fromObject":function(r){var n=r.fields,i=r.object,o=r.result,a=i.data,s=i.name,l=""==(s||"")?n.data:e(s,i.account);if(l)if("object"===(void 0===a?"undefined":(0,A.default)(a)))o.data=l.fromObject(a);else{if("string"!=typeof a)throw new TypeError("Expecting hex string or object in action.data");var c=t.from(a,"hex");o.data=u.fromBuffer(l,c)}else o.data=a},"action.data.toObject":function(n){var A=n.fields,i=n.object,o=n.result,a=n.config,s=i||{},u=s.data,c=s.name,f=""==(c||"")?A.data:e(c,i.account);if(f){if(r){var d=new l(l.DEFAULT_CAPACITY,l.LITTLE_ENDIAN);return u&&f.appendByteBuffer(d,u),void(o.data=d.copy(0,d.offset).toString("hex"))}o.data=f.toObject(u,a)}else o.data=t.isBuffer(u)?u.toString("hex"):u}}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";t.__esModule=!0;var n=i(r(1667)),A=i(r(1670));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if(Array.isArray(e))return e;if((0,n.default)(Object(e)))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=(0,A.default)(e);!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,r){var n,A,i,o,a,s,u,l;e.exports=(l=r(40),A=(n=l).lib,i=A.WordArray,o=A.Hasher,a=n.algo,s=[],u=a.SHA1=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],A=r[1],i=r[2],o=r[3],a=r[4],u=0;u<80;u++){if(u<16)s[u]=0|e[t+u];else{var l=s[u-3]^s[u-8]^s[u-14]^s[u-16];s[u]=l<<1|l>>>31}var c=(n<<5|n>>>27)+a+s[u];c+=u<20?1518500249+(A&i|~A&o):u<40?1859775393+(A^i^o):u<60?(A&i|A&o|i&o)-1894007588:(A^i^o)-899497514,a=o,o=i,i=A<<30|A>>>2,A=n,n=c}r[0]=r[0]+n|0,r[1]=r[1]+A|0,r[2]=r[2]+i|0,r[3]=r[3]+o|0,r[4]=r[4]+a|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=o._createHelper(u),n.HmacSHA1=o._createHmacHelper(u),l.SHA1)},function(e,t,r){var n,A,i,o;e.exports=(n=r(40),i=(A=n).lib.Base,o=A.enc.Utf8,void(A.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var A=this._oKey=t.clone(),i=this._iKey=t.clone(),a=A.words,s=i.words,u=0;u<r;u++)a[u]^=1549556828,s[u]^=909522486;A.sigBytes=i.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})))},function(e,t,r){var n=r(128),A=r(1708),i=r(1709),o=r(1710),a=r(1711),s=r(1712),u=r(1713),l=r(1714),c=r(1715),f=r(1716),d=function(e,t){return e.isDynamicType(t)||e.isDynamicArray(t)},g=function(e){this._types=e};g.prototype._requireType=function(e){var t=this._types.filter(function(t){return t.isType(e)})[0];if(!t)throw Error("invalid solidity type!: "+e);return t},g.prototype.encodeParam=function(e,t){return this.encodeParams([e],[t])},g.prototype.encodeParams=function(e,t){var r=this.getSolidityTypes(e),n=r.map(function(r,n){return r.encode(t[n],e[n])}),A=r.reduce(function(t,n,A){var i=n.staticPartLength(e[A]),o=32*Math.floor((i+31)/32);return t+(d(r[A],e[A])?32:o)},0);return this.encodeMultiWithOffset(e,r,n,A)},g.prototype.encodeMultiWithOffset=function(e,t,r,A){var i="",o=this;return e.forEach(function(a,s){if(d(t[s],e[s])){i+=n.formatInputInt(A).encode();var u=o.encodeWithOffset(e[s],t[s],r[s],A);A+=u.length/2}else i+=o.encodeWithOffset(e[s],t[s],r[s],A)}),e.forEach(function(n,a){if(d(t[a],e[a])){var s=o.encodeWithOffset(e[a],t[a],r[a],A);A+=s.length/2,i+=s}}),i},g.prototype.encodeWithOffset=function(e,t,r,A){var i=1,o=2,a=3,s=t.isDynamicArray(e)?i:t.isStaticArray(e)?o:a;if(s!==a){var u=t.nestedName(e),l=t.staticPartLength(u),c=s===i?r[0]:"";if(t.isDynamicArray(u))for(var f=s===i?2:0,d=0;d<r.length;d++)s===i?f+=+r[d-1][0]||0:s===o&&(f+=+(r[d-1]||[])[0]||0),c+=n.formatInputInt(A+d*l+32*f).encode();for(var g=s===i?r.length-1:r.length,h=0;h<g;h++){var p=c/2;s===i?c+=this.encodeWithOffset(u,t,r[h+1],A+p):s===o&&(c+=this.encodeWithOffset(u,t,r[h],A+p))}return c}return r},g.prototype.decodeParam=function(e,t){return this.decodeParams([e],t)[0]},g.prototype.decodeParams=function(e,t){var r=this.getSolidityTypes(e),n=this.getOffsets(e,r);return r.map(function(r,A){return r.decode(t,n[A],e[A],A)})},g.prototype.getOffsets=function(e,t){for(var r=t.map(function(t,r){return t.staticPartLength(e[r])}),n=1;n<r.length;n++)r[n]+=r[n-1];return r.map(function(r,n){return r-t[n].staticPartLength(e[n])})},g.prototype.getSolidityTypes=function(e){var t=this;return e.map(function(e){return t._requireType(e)})};var h=new g([new A,new i,new o,new a,new s,new f,new u,new l,new c]);e.exports=h},function(e,t,r){"use strict";var n=r(1741),A=r(1742);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=C,t.resolve=function(e,t){return C(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?C(e,!1,!0).resolveObject(t):t},t.format=function(e){A.isString(e)&&(e=C(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(u),c=["%","/","?",";","#"].concat(l),f=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},p={javascript:!0,"javascript:":!0},I={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},B=r(952);function C(e,t,r){if(e&&A.isObject(e)&&e instanceof i)return e;var n=new i;return n.parse(e,t,r),n}i.prototype.parse=function(e,t,r){if(!A.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),a=-1!==i&&i<e.indexOf("#")?"?":"#",u=e.split(a);u[0]=u[0].replace(/\\/g,"/");var C=e=u.join(a);if(C=C.trim(),!r&&1===e.split("#").length){var m=s.exec(C);if(m)return this.path=C,this.href=C,this.pathname=m[1],m[2]?(this.search=m[2],this.query=t?B.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var y=o.exec(C);if(y){var Q=(y=y[0]).toLowerCase();this.protocol=Q,C=C.substr(y.length)}if(r||y||C.match(/^\/\/[^@\/]+@[^@\/]+/)){var w="//"===C.substr(0,2);!w||y&&p[y]||(C=C.substr(2),this.slashes=!0)}if(!p[y]&&(w||y&&!I[y])){for(var E,b,v=-1,D=0;D<f.length;D++){-1!==(M=C.indexOf(f[D]))&&(-1===v||M<v)&&(v=M)}-1!==(b=-1===v?C.lastIndexOf("@"):C.lastIndexOf("@",v))&&(E=C.slice(0,b),C=C.slice(b+1),this.auth=decodeURIComponent(E)),v=-1;for(D=0;D<c.length;D++){var M;-1!==(M=C.indexOf(c[D]))&&(-1===v||M<v)&&(v=M)}-1===v&&(v=C.length),this.host=C.slice(0,v),C=C.slice(v),this.parseHost(),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k)for(var _=this.hostname.split(/\./),S=(D=0,_.length);D<S;D++){var N=_[D];if(N&&!N.match(d)){for(var F="",x=0,G=N.length;x<G;x++)N.charCodeAt(x)>127?F+="x":F+=N[x];if(!F.match(d)){var H=_.slice(0,D),U=_.slice(D+1),Y=N.match(g);Y&&(H.push(Y[1]),U.unshift(Y[2])),U.length&&(C="/"+U.join(".")+C),this.hostname=H.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),k||(this.hostname=n.toASCII(this.hostname));var L=this.port?":"+this.port:"",O=this.hostname||"";this.host=O+L,this.href+=this.host,k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==C[0]&&(C="/"+C))}if(!h[Q])for(D=0,S=l.length;D<S;D++){var K=l[D];if(-1!==C.indexOf(K)){var P=encodeURIComponent(K);P===K&&(P=escape(K)),C=C.split(K).join(P)}}var R=C.indexOf("#");-1!==R&&(this.hash=C.substr(R),C=C.slice(0,R));var T=C.indexOf("?");if(-1!==T?(this.search=C.substr(T),this.query=C.substr(T+1),t&&(this.query=B.parse(this.query)),C=C.slice(0,T)):t&&(this.search="",this.query={}),C&&(this.pathname=C),I[Q]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){L=this.pathname||"";var J=this.search||"";this.path=L+J}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&A.isObject(this.query)&&Object.keys(this.query).length&&(o=B.stringify(this.query));var a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||I[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),t+i+(r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(a=a.replace("#","%23"))+n},i.prototype.resolve=function(e){return this.resolveObject(C(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(A.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var r=new i,n=Object.keys(this),o=0;o<n.length;o++){var a=n[o];r[a]=this[a]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),u=0;u<s.length;u++){var l=s[u];"protocol"!==l&&(r[l]=e[l])}return I[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!I[e.protocol]){for(var c=Object.keys(e),f=0;f<c.length;f++){var d=c[f];r[d]=e[d]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||p[e.protocol])r.pathname=e.pathname;else{for(var g=(e.pathname||"").split("/");g.length&&!(e.host=g.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==g[0]&&g.unshift(""),g.length<2&&g.unshift(""),r.pathname=g.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var h=r.pathname||"",B=r.search||"";r.path=h+B}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var C=r.pathname&&"/"===r.pathname.charAt(0),m=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=m||C||r.host&&e.pathname,Q=y,w=r.pathname&&r.pathname.split("/")||[],E=(g=e.pathname&&e.pathname.split("/")||[],r.protocol&&!I[r.protocol]);if(E&&(r.hostname="",r.port=null,r.host&&(""===w[0]?w[0]=r.host:w.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===g[0]?g[0]=e.host:g.unshift(e.host)),e.host=null),y=y&&(""===g[0]||""===w[0])),m)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,w=g;else if(g.length)w||(w=[]),w.pop(),w=w.concat(g),r.search=e.search,r.query=e.query;else if(!A.isNullOrUndefined(e.search)){if(E)r.hostname=r.host=w.shift(),(k=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=k.shift(),r.host=r.hostname=k.shift());return r.search=e.search,r.query=e.query,A.isNull(r.pathname)&&A.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!w.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var b=w.slice(-1)[0],v=(r.host||e.host||w.length>1)&&("."===b||".."===b)||""===b,D=0,M=w.length;M>=0;M--)"."===(b=w[M])?w.splice(M,1):".."===b?(w.splice(M,1),D++):D&&(w.splice(M,1),D--);if(!y&&!Q)for(;D--;D)w.unshift("..");!y||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),v&&"/"!==w.join("/").substr(-1)&&w.push("");var k,_=""===w[0]||w[0]&&"/"===w[0].charAt(0);E&&(r.hostname=r.host=_?"":w.length?w.shift():"",(k=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=k.shift(),r.host=r.hostname=k.shift()));return(y=y||r.host&&w.length)&&!_&&w.unshift(""),w.length?r.pathname=w.join("/"):(r.pathname=null,r.path=null),A.isNull(r.pathname)&&A.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.listeners={}}return e.prototype.addEventListener=function(e,t){e=e.toLowerCase(),this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t.handleEvent||t)},e.prototype.removeEventListener=function(e,t){if(e=e.toLowerCase(),this.listeners[e]){var r=this.listeners[e].indexOf(t.handleEvent||t);r<0||this.listeners[e].splice(r,1)}},e.prototype.dispatchEvent=function(e){var t=e.type.toLowerCase();if(e.target=this,this.listeners[t])for(var r=0,n=this.listeners[t];r<n.length;r++){n[r].call(this,e)}var A=this["on"+t];return A&&A.call(this,e),!0},e}();t.XMLHttpRequestEventTarget=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=function(e){var t;t="undefined"!=typeof window&&window.crypto&&window.crypto.getRandomValues?window.crypto.getRandomValues(new Uint8Array(e)):r(72).randomBytes(e);for(var n="",A=0;A<e;A+=1)n+=("00"+t[A].toString(16)).slice(-2);return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UNKNOWN_ERROR="UNKNOWN_ERROR",t.NOT_IMPLEMENTED="NOT_IMPLEMENTED",t.MISSING_NEW="MISSING_NEW",t.CALL_EXCEPTION="CALL_EXCEPTION",t.INVALID_ARGUMENT="INVALID_ARGUMENT",t.MISSING_ARGUMENT="MISSING_ARGUMENT",t.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",t.NUMERIC_FAULT="NUMERIC_FAULT",t.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",t.NONCE_EXPIRED="NONCE_EXPIRED",t.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",t.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION";var n=!1,A=!1;function i(e,r,n){if(A)throw new Error("unknown error");r||(r=t.UNKNOWN_ERROR),n||(n={});var i=[];Object.keys(n).forEach(function(e){try{i.push(e+"="+JSON.stringify(n[e]))}catch(t){i.push(e+"="+JSON.stringify(n[e].toString()))}}),i.push("version=#version");var o=e;i.length&&(e+=" ("+i.join(", ")+")");var a=new Error(e);throw a.reason=o,a.code=r,Object.keys(n).forEach(function(e){a[e]=n[e]}),a}t.throwError=i,t.checkNew=function(e,r){e instanceof r||i("missing new",t.MISSING_NEW,{name:r.name})},t.checkArgumentCount=function(e,r,n){n||(n=""),e<r&&i("missing argument"+n,t.MISSING_ARGUMENT,{count:e,expectedCount:r}),e>r&&i("too many arguments"+n,t.UNEXPECTED_ARGUMENT,{count:e,expectedCount:r})},t.setCensorship=function(e,r){n&&i("error censorship permanent",t.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),A=!!e,n=!!r},t.checkNormalize=function(){try{if(["NFD","NFC","NFKD","NFKC"].forEach(function(e){try{"test".normalize(e)}catch(t){throw new Error("missing "+e)}}),String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){i("platform missing String.prototype.normalize",t.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:e.message})}};var o={debug:1,default:2,info:2,warn:3,error:4,off:5},a=o.default;function s(e,t){a>o[e]||console.log.apply(console,t)}function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];s("warn",e)}t.setLogLevel=function(e){var t=o[e];null!=t?a=t:u("invliad log level - "+e)},t.warn=u,t.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];s("info",e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2).__importStar(r(462)),A=r(295);t.keccak256=function(e){var t=A.arrayify(e);if(t)return"0x"+n.keccak_256(t);throw new Error("arrayify failed")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKeyString=function(e,t){return!!e.replace("0x","").match("^[0-9a-fA-F]{"+t+"}$")},t.isKeyString.validator="isKeyString",t.isAddress=function(e){return t.isKeyString(e,40)},t.isAddress.validator="isAddress",t.isPrivateKey=function(e){return t.isKeyString(e,64)},t.isPrivateKey.validator="isPrivateKey",t.isPublicKey=function(e){return t.isKeyString(e,66)},t.isPublicKey.validator="isPublicKey",t.isHash=function(e){return t.isKeyString(e,64)},t.isHash.validator="isHash",t.isNumber=function(e){return e===+e},t.isNumber.validator="isNumber",t.isInt=function(e){return t.isNumber(e)&&Number.isInteger(e)},t.isInt.validator="isInt",t.isString=function(e){return e===""+e},t.isString.validator="isString",t.isBoolean=function(e){return e===!!e},t.isBoolean.validator="isBoolean",t.isArray=function(e){return Array.isArray(e)},t.isArray.validator="isArray",t.isJsonString=function(e){try{return!!JSON.parse(e)&&t.isObject(JSON.parse(e))}catch(e){return!1}},t.isJsonString.validator="isJsonString",t.isObject=function(e){return null!==e&&!Array.isArray(e)&&"object"==typeof e},t.isObject.validator="isObject",t.isFunction=function(e){return"function"==typeof e},t.isFunction.validator="isFunction",t.isHex=function(e){if(!t.isString(e))throw new Error(e+" is not string");return(e.startsWith("0x")||e.startsWith("-0x"))&&t.isNumber(Number.parseInt((""+e).toLowerCase().replace("0x",""),16))},t.isHex.validator="isHex",t.isHttp=function(e){if(t.isString(e))return e.startsWith("http://")||e.startsWith("https://");throw new Error(e+" is not valid url")},t.isHttp.validator="isHttp",t.isWs=function(e){if(t.isString(e))return e.startsWith("ws://")||e.startsWith("wss://");throw new Error(e+" is not valid url")},t.isWs.validator="isWs",function(e){e.earliest="earliest",e.pending="pending",e.latest="latest"}(t.DefaultBlockParams||(t.DefaultBlockParams={})),t.isBlockNumber=function(e){if(!t.isString(e))throw new Error(e+" is not valid blockNumber");return t.isHex(e)||["earliest","pending","latest"].some(function(t){return t===e})},t.isBlockNumber.validator="isBlockNumber",t.isBech32Address=function(e){return!!e.match(/^one1[qpzry9x8gf2tvdw0s3jn54khce6mua7l]{38}/)},t.isBech32Address.validator="isBech32Address",t.isBech32TestNetAddress=function(e){return!!e.match(/^tone1[qpzry9x8gf2tvdw0s3jn54khce6mua7l]{38}/)},t.isBech32TestNetAddress.validator="isBech32TestNetAddress",t.isValidAddress=function(e){if(!t.isString(e))throw new Error(e+" is not string");return!!(t.isAddress(e)||t.isBech32Address(e)||t.isBech32TestNetAddress(e))},t.isValidAddress.validator="isValidAddress"},function(e,t,r){"use strict";r.r(t),t.default=function(e){return e=e||Object.create(null),{on:function(t,r){(e[t]||(e[t]=[])).push(r)},off:function(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit:function(t,r){(e[t]||[]).slice().map(function(e){e(r)}),(e["*"]||[]).slice().map(function(e){e(t,r)})}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=function(){function e(e,t,r){var n=this;void 0===t&&(t=new Map),void 0===r&&(r=new Map),this.middlewares={request:{use:function(e,t){void 0===t&&(t="*"),n.pushMiddleware(e,0,t)}},response:{use:function(e,t){void 0===t&&(t="*"),n.pushMiddleware(e,1,t)}}},this.reqMiddleware=(new Map).set("*",[]),this.resMiddleware=(new Map).set("*",[]),this.reqMiddleware=t,this.resMiddleware=r,this.url=e}return e.prototype.pushMiddleware=function(e,t,r){if(0!==t&&1!==t)throw new Error("Please specify the type of middleware being added");if(0===t){var A=this.reqMiddleware.get(r)||[];this.reqMiddleware.set(r,n.__spread(A,[e]))}else{A=this.resMiddleware.get(r)||[];this.resMiddleware.set(r,n.__spread(A,[e]))}},e.prototype.getMiddleware=function(e){var t,r,A,i,o=[],a=[];try{for(var s=n.__values(this.reqMiddleware.entries()),u=s.next();!u.done;u=s.next()){var l=n.__read(u.value,2),c=l[0],f=l[1];"string"==typeof c&&"*"!==c&&c===e&&o.push.apply(o,n.__spread(f)),c instanceof RegExp&&c.test(e)&&o.push.apply(o,n.__spread(f)),"*"===c&&o.push.apply(o,n.__spread(f))}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}try{for(var d=n.__values(this.resMiddleware.entries()),g=d.next();!g.done;g=d.next()){var h=n.__read(g.value,2);c=h[0],f=h[1];"string"==typeof c&&"*"!==c&&c===e&&a.push.apply(a,n.__spread(f)),c instanceof RegExp&&c.test(e)&&a.push.apply(a,n.__spread(f)),"*"===c&&a.push.apply(a,n.__spread(f))}}catch(e){A={error:e}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(A)throw A.error}}return[o,a]},e}();t.BaseProvider=A},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(523),i=r(959),o=r(525),a={method:"POST",timeout:o.DEFAULT_TIMEOUT,headers:o.DEFAULT_HEADERS,user:null,password:null},s=function(t){function r(e,r,n){var A=t.call(this,e)||this;return A.url=e||"http://localhost:9500",A.fetcher=n||i.fetchRPC,A.options=r?{method:r.method||a.method,timeout:r.timeout||a.timeout,user:r.user||a.user,password:r.password||a.password,headers:r.headers||a.headers}:a,A}return n.__extends(r,t),r.prototype.send=function(e,t){return this.requestFunc({payload:e,callback:t})},r.prototype.sendServer=function(e,t,r){return this.requestFunc({endpoint:e,payload:t,callback:r})},r.prototype.requestFunc=function(e){var t=this,r=e.endpoint,A=e.payload,i=e.callback,a=n.__read(this.getMiddleware(A.method),2),s=a[0],u=a[1],l=o.composeMiddleware.apply(void 0,n.__spread(s,[function(e){return t.optionsHandler(e)},function(e){return t.endpointHandler(e,r)},this.payloadHandler])),c=o.composeMiddleware.apply(void 0,n.__spread([function(e){return t.callbackHandler(e,i)}],u)),f=l(A);return o.performRPC(f,c,this.fetcher)},r.prototype.payloadHandler=function(e){return{payload:e}},r.prototype.endpointHandler=function(e,t){return n.__assign(n.__assign({},e),{url:null!=t?""+this.url+t:this.url})},r.prototype.optionsHandler=function(t){if(this.options.user&&this.options.password){var r="Basic "+e.from(this.options.user+":"+this.options.password).toString("base64");this.options.headers.Authorization=r}return n.__assign(n.__assign({},t),{options:this.options})},r.prototype.callbackHandler=function(e,t){return t&&t(null,e),e},r.prototype.subscribe=function(){throw new Error("HTTPProvider does not support subscriptions.")},r.prototype.unsubscribe=function(){throw new Error("HTTPProvider does not support subscriptions.")},r}(A.BaseProvider);t.HttpProvider=s}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2);t.DEFAULT_TIMEOUT=12e4,t.DEFAULT_HEADERS={"Content-Type":"application/json"},t.performRPC=function(e,r,A){return n.__awaiter(void 0,void 0,void 0,function(){var i;return n.__generator(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,(o=A.requestHandler(e,t.DEFAULT_HEADERS),a=e.options&&e.options.timeout?e.options.timeout:t.DEFAULT_TIMEOUT,u=new Promise(function(e,t){s=function(){return t(new Error("request Timeout in "+a+" ms"))}}),l=Promise.race([o,u]),setTimeout(function(){s()},a),l)];case 1:return i=n.sent(),[2,A.responseHandler(i,e,r)];case 2:throw n.sent();case 3:return[2]}var o,a,s,u,l})})},t.composeMiddleware=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?function(e){return e}:1===e.length?e[0]:e.reduce(function(e,t){return function(r){return e(t(r))}})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=function(){var e=this;this.toPayload=function(t,r){if(!t)throw new Error("jsonrpc method should be specified!");e.messageId+=1;var A=void 0===r?[]:"string"==typeof r?[r]:n.__spread(r);return{jsonrpc:"2.0",id:e.messageId,method:t,params:A}},this.messageId=0};t.JsonRpc=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(31),i=r(960),o=1e3,a=function(e,t){return e+t},s=["sync","latest"],u=function(e){function t(t){void 0===t&&(t={blockResetDuration:void 0,retryTimeout:void 0,keepEventLoopActive:void 0,setSkipCacheFlag:!1});var r=e.call(this)||this;return r._blockResetDuration=t.blockResetDuration||20*o,r._blockResetTimeout,r._currentBlock=null,r._isRunning=!1,r._maybeStart(),r}return n.__extends(t,e),t.prototype.isRunning=function(){return this._isRunning},t.prototype.getCurrentBlock=function(){return this._currentBlock},t.prototype.getLatestBlock=function(){return n.__awaiter(this,void 0,void 0,function(){var e=this;return n.__generator(this,function(t){switch(t.label){case 0:return this._currentBlock?[2,this._currentBlock]:[4,new Promise(function(t){return e.once("latest",t)})];case 1:return[2,t.sent()]}})})},t.prototype.removeAllListeners=function(t){t?e.prototype.removeEventListener.call(this,t):e.prototype.removeEventListener.call(this,"*"),this._setupInternalEvents(),this._onRemoveListener("*")},t.prototype._start=function(){},t.prototype._end=function(){},t.prototype._setupInternalEvents=function(){this.removeEventListener("newListener",this._onNewListener),this.removeEventListener("removeListener",this._onRemoveListener),this.on("newListener",this._onNewListener),this.on("removeListener",this._onRemoveListener)},t.prototype._onNewListener=function(e,t){s.includes(e)&&this._maybeStart()},t.prototype._onRemoveListener=function(e,t){this._getBlockTrackerEventCount()>0||this._maybeEnd()},t.prototype._maybeStart=function(){this._isRunning||(this._isRunning=!0,this._cancelBlockResetTimeout(),this._start())},t.prototype._maybeEnd=function(){this._isRunning&&(this._isRunning=!1,this._setupBlockResetTimeout(),this._end())},t.prototype._getBlockTrackerEventCount=function(){var e=this;return s.map(function(t){return e.listenerCount(t)}).reduce(a)},t.prototype._newPotentialLatest=function(e){var t=this._currentBlock;t&&A.isHex(t)&&A.isHex(e)&&A.hexToNumber(e)<=A.hexToNumber(t)||this._setCurrentBlock(e)},t.prototype._setCurrentBlock=function(e){var t=this._currentBlock;this._currentBlock=e,this.emit("latest",e),this.emit("sync",{oldBlock:t,newBlock:e})},t.prototype._setupBlockResetTimeout=function(){this._cancelBlockResetTimeout(),this._blockResetTimeout=setTimeout(this._resetCurrentBlock,this._blockResetDuration),this._blockResetTimeout.unref&&this._blockResetTimeout.unref()},t.prototype._cancelBlockResetTimeout=function(){clearTimeout(this._blockResetTimeout)},t.prototype._resetCurrentBlock=function(){this._currentBlock=null},t}(i.Emitter);t.BaseBlockTracker=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(54),i=r(31),o=r(351),a=function(e){function t(r,n,A){void 0===n&&(n=o.defaultMessenger),void 0===A&&(A="INITIALIZED");var a=e.call(this,n,A)||this;return a.id=r&&r.id?r.id:"0x",a.from=r&&r.from?r.from:"0x",a.nonce=r&&r.nonce?r.nonce:0,a.gasPrice=r&&r.gasPrice?new i.Unit(r.gasPrice).asWei().toWei():new i.Unit(0).asWei().toWei(),a.gasLimit=r&&r.gasLimit?new i.Unit(r.gasLimit).asWei().toWei():new i.Unit(0).asWei().toWei(),a.shardID=r&&void 0!==r.shardID?r.shardID:a.messenger.currentShard,a.toShardID=r&&void 0!==r.toShardID?r.toShardID:a.messenger.currentShard,a.to=r&&r.to?t.normalizeAddress(r.to):"0x",a.value=r&&r.value?new i.Unit(r.value).asWei().toWei():new i.Unit(0).asWei().toWei(),a.data=r&&r.data?r.data:"0x",a.chainId=r&&r.chainId?r.chainId:a.messenger.chainId,a.rawTransaction=r&&r.rawTransaction?r.rawTransaction:"0x",a.unsignedRawTransaction=r&&r.unsignedRawTransaction?r.unsignedRawTransaction:"0x",a.signature=r&&r.signature?r.signature:{r:"",s:"",recoveryParam:0,v:0},a.receipt=r&&r.receipt?r.receipt:void 0,a.cxStatus=a.isCrossShard()?"INITIALIZED":"NONE",a}return n.__extends(t,e),t.prototype.getRLPUnsigned=function(){var e=this,t=[];return("hmy"===this.messenger.chainType?o.transactionFields:o.transactionFieldsETH).forEach(function(r){var n=e.txParams[r.name]||[];if(n=A.arrayify(A.hexlify("hex"===r.transform?i.add0xToString(n.toString(16)):n)),!0===r.fix&&r.length&&n.length!==r.length&&n.length>0)throw new Error("invalid length for "+r.name);if(!1===r.fix&&r.length&&(n=A.stripZeros(n)).length>r.length)throw new Error("invalid length for "+r.name);t.push(A.hexlify(n))}),null!=this.txParams.chainId&&0!==this.txParams.chainId&&(t.push(A.hexlify(this.txParams.chainId)),t.push("0x"),t.push("0x")),[A.encode(t),t]},t.prototype.getRLPSigned=function(e,t){var r="hmy"===this.messenger.chainType?11:9,n=A.splitSignature(t),i=27+(n.recoveryParam||0);return e.length===r&&(e.pop(),e.pop(),e.pop(),i+=2*this.chainId+8),e.push(A.hexlify(i)),e.push(A.stripZeros(A.arrayify(n.r)||[])),e.push(A.stripZeros(A.arrayify(n.s)||[])),A.encode(e)},t.prototype.getRawTransaction=function(){return this.rawTransaction},t.prototype.recover=function(e){var t="hmy"===this.messenger.chainType?o.recover(e):o.recoverETH(e);return this.setParams(t),this},Object.defineProperty(t.prototype,"txPayload",{get:function(){return{from:this.txParams.from||"0x",to:this.txParams.to||"0x",shardID:this.txParams.shardID?i.numberToHex(this.shardID):"0x",toShardID:this.txParams.toShardID?i.numberToHex(this.toShardID):"0x",gas:this.txParams.gasLimit?i.numberToHex(this.txParams.gasLimit):"0x",gasPrice:this.txParams.gasPrice?i.numberToHex(this.txParams.gasPrice):"0x",value:this.txParams.value?i.numberToHex(this.txParams.value):"0x",data:this.txParams.data||"0x",nonce:this.txParams.nonce?i.numberToHex(this.nonce):"0x"}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"txParams",{get:function(){return{id:this.id||"0x",from:this.from||"",nonce:this.nonce||0,gasPrice:this.gasPrice||new i.Unit(0).asWei().toWei(),gasLimit:this.gasLimit||new i.Unit(0).asWei().toWei(),shardID:void 0!==this.shardID?this.shardID:this.messenger.currentShard,toShardID:void 0!==this.toShardID?this.toShardID:this.messenger.currentShard,to:t.normalizeAddress(this.to)||"0x",value:this.value||new i.Unit(0).asWei().toWei(),data:this.data||"0x",chainId:this.chainId||0,rawTransaction:this.rawTransaction||"0x",unsignedRawTransaction:this.unsignedRawTransaction||"0x",signature:this.signature||"0x"}},enumerable:!0,configurable:!0}),t.prototype.setParams=function(e){this.id=e&&e.id?e.id:"0x",this.from=e&&e.from?e.from:"0x",this.nonce=e&&e.nonce?e.nonce:0,this.gasPrice=e&&e.gasPrice?new i.Unit(e.gasPrice).asWei().toWei():new i.Unit(0).asWei().toWei(),this.gasLimit=e&&e.gasLimit?new i.Unit(e.gasLimit).asWei().toWei():new i.Unit(0).asWei().toWei(),this.shardID=e&&void 0!==e.shardID?e.shardID:this.messenger.currentShard,this.toShardID=e&&void 0!==e.toShardID?e.toShardID:this.messenger.currentShard,this.to=e&&e.to?t.normalizeAddress(e.to):"0x",this.value=e&&e.value?new i.Unit(e.value).asWei().toWei():new i.Unit(0).asWei().toWei(),this.data=e&&e.data?e.data:"0x",this.chainId=e&&e.chainId?e.chainId:0,this.rawTransaction=e&&e.rawTransaction?e.rawTransaction:"0x",this.unsignedRawTransaction=e&&e.unsignedRawTransaction?e.unsignedRawTransaction:"0x",this.signature=e&&e.signature?e.signature:{r:"",s:"",recoveryParam:0,v:0},"0x"!==this.rawTransaction?this.setTxStatus("SIGNED"):this.setTxStatus("INITIALIZED")},t.prototype.map=function(e){var t=e(this.txParams);return this.setParams(t),this},t.prototype.isCrossShard=function(){return new A.BN(this.txParams.shardID).toString()!==new A.BN(this.txParams.toShardID).toString()},t.prototype.sendTransaction=function(){return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(t){switch(t.label){case 0:if("tx"===this.rawTransaction||void 0===this.rawTransaction)throw new Error("Transaction not signed");if(!this.messenger)throw new Error("Messenger not found");return[4,this.messenger.send("hmy_sendRawTransaction",this.rawTransaction,this.messenger.chainType,"string"==typeof this.shardID?Number.parseInt(this.shardID,10):this.shardID)];case 1:if((e=t.sent()).isResult())return this.id=e.result,this.emitTransactionHash(this.id),this.setTxStatus("PENDING"),[2,[this,e.result]];if(e.isError())return this.emitConfirm("transaction failed:"+e.error.message),this.setTxStatus("REJECTED"),[2,[this,"transaction failed:"+e.error.message]];throw this.emitError("transaction failed"),new Error("transaction failed")}})})},t.prototype.confirm=function(e,t,r,A,i){return void 0===t&&(t=20),void 0===r&&(r=1e3),void 0===A&&(A=this.txParams.shardID),void 0===i&&(i=this.txParams.toShardID),n.__awaiter(this,void 0,void 0,function(){var o;return n.__generator(this,function(n){switch(n.label){case 0:return[4,this.txConfirm(e,t,r,A)];case 1:return o=n.sent(),this.isCrossShard()?o.isConfirmed()?[4,this.cxConfirm(e,t,r,i)]:[3,3]:[2,o];case 2:return[2,n.sent()];case 3:return[2,o]}})})},t}(r(962).TransactionBase);t.Transaction=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2);n.__exportStar(r(530),t),n.__exportStar(r(1790),t),n.__exportStar(r(531),t),n.__exportStar(r(1791),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(54),i=r(31),o=r(239),a=r(531),s=function(){function e(e,t){void 0===t&&(t=a.defaultMessenger),this.balance="0",this.nonce=0,this.encrypted=!1,this.messenger=t,e?this._import(e):this._new(),this.shardID=this.messenger.currentShard||0,this.shards=new Map,this.shards.set(this.shardID,{address:""+this.bech32Address+i.AddressSuffix+"0",balance:this.balance||"0",nonce:this.nonce||0})}return e.new=function(){return(new e)._new()},e.add=function(t){return(new e)._import(t)},Object.defineProperty(e.prototype,"checksumAddress",{get:function(){return this.address?A.getAddress(this.address).checksum:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bech32Address",{get:function(){return this.address?A.getAddress(this.address).bech32:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bech32TestNetAddress",{get:function(){return this.address?A.getAddress(this.address).bech32TestNet:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"getShardsCount",{get:function(){return this.shards.size},enumerable:!0,configurable:!0}),e.prototype.toFile=function(e,t){return n.__awaiter(this,void 0,void 0,function(){var r;return n.__generator(this,function(n){switch(n.label){case 0:return this.privateKey&&i.isPrivateKey(this.privateKey)?[4,A.encrypt(this.privateKey,e,t)]:[3,2];case 1:return r=n.sent(),this.privateKey=r,this.encrypted=!0,[2,r];case 2:throw new Error("Encryption failed because PrivateKey is not correct")}})})},e.prototype.fromFile=function(e,t){return n.__awaiter(this,void 0,void 0,function(){var r,o;return n.__generator(this,function(n){switch(n.label){case 0:if(n.trys.push([0,2,,3]),!t)throw new Error("you must provide password");return r=JSON.parse(e),[4,A.decrypt(r,t)];case 1:if(o=n.sent(),i.isPrivateKey(o))return[2,this._import(o)];throw new Error("decrypted failed");case 2:throw n.sent();case 3:return[2]}})})},e.prototype.getBalance=function(e){return void 0===e&&(e="latest"),n.__awaiter(this,void 0,void 0,function(){var t,r;return n.__generator(this,function(n){switch(n.label){case 0:return n.trys.push([0,5,,6]),this.messenger?[4,this.messenger.send("hmy_getBalance",[this.address,e],this.messenger.chainPrefix,this.messenger.currentShard||0)]:[3,3];case 1:return t=n.sent(),[4,this.messenger.send("hmy_getTransactionCount",[this.address,e],this.messenger.chainPrefix,this.messenger.currentShard||0)];case 2:if(r=n.sent(),t.isError())throw t.error.message;if(r.isError())throw r.error.message;return this.balance=i.hexToNumber(t.result),this.nonce=Number.parseInt(i.hexToNumber(r.result),10),this.shardID=this.messenger.currentShard||0,[3,4];case 3:throw new Error("No Messenger found");case 4:return[2,{balance:this.balance,nonce:this.nonce,shardID:this.shardID}];case 5:throw n.sent();case 6:return[2]}})})},e.prototype.updateBalances=function(e){return void 0===e&&(e="latest"),n.__awaiter(this,void 0,void 0,function(){var t,r,A,i,o,a,s,u,l,c,f;return n.__generator(this,function(d){switch(d.label){case 0:if(!((t=this.messenger.shardProviders).size>1))return[3,10];d.label=1;case 1:d.trys.push([1,7,8,9]),r=n.__values(t),A=r.next(),d.label=2;case 2:return A.done?[3,6]:(i=n.__read(A.value,2),o=i[0],a=i[1],[4,this.getShardBalance(a.shardID,e)]);case 3:return s=d.sent(),[4,this.shards.set(o===a.shardID?o:a.shardID,s)];case 4:d.sent(),d.label=5;case 5:return A=r.next(),[3,2];case 6:return[3,9];case 7:return u=d.sent(),c={error:u},[3,9];case 8:try{A&&!A.done&&(f=r.return)&&f.call(r)}finally{if(c)throw c.error}return[7];case 9:return[3,12];case 10:return[4,this.getShardBalance(this.messenger.currentShard||0,e)];case 11:l=d.sent(),this.shards.set(this.messenger.currentShard||0,l),d.label=12;case 12:return[2]}})})},e.prototype.signTransaction=function(e,t,r,A){return void 0===t&&(t=!0),void 0===r&&(r="rlp"),void 0===A&&(A="latest"),n.__awaiter(this,void 0,void 0,function(){var a,s,u,l,c,f,d=this;return n.__generator(this,function(g){switch(g.label){case 0:if(!this.privateKey||!i.isPrivateKey(this.privateKey))throw new Error(this.privateKey+" is not found or not correct");return t?(a=e.txParams.shardID,[4,this.getShardBalance("string"==typeof a?Number.parseInt(a,10):a,A)]):[3,2];case 1:void 0!==(s=g.sent())?(u=s.nonce,e.setParams(n.__assign(n.__assign({},e.txParams),{from:"hmy"===this.messenger.chainPrefix?this.bech32Address:this.checksumAddress||"0x",nonce:u}))):e.setParams(n.__assign(n.__assign({},e.txParams),{from:"hmy"===this.messenger.chainPrefix?this.bech32Address:this.checksumAddress||"0x",nonce:0})),g.label=2;case 2:return"rlp"===r?(l=n.__read(o.RLPSign(e,this.privateKey),2),c=l[0],f=l[1],[2,e.map(function(e){return n.__assign(n.__assign({},e),{signature:c,rawTransaction:f,from:"hmy"===d.messenger.chainPrefix?d.bech32Address:d.checksumAddress||"0x"})})]):[2,e]}})})},e.prototype.signStaking=function(e,t,r,A,o){return void 0===t&&(t=!0),void 0===r&&(r="rlp"),void 0===A&&(A="latest"),void 0===o&&(o=this.messenger.currentShard),n.__awaiter(this,void 0,void 0,function(){var a,s,u,l,c,f;return n.__generator(this,function(d){switch(d.label){case 0:if(!this.privateKey||!i.isPrivateKey(this.privateKey))throw new Error(this.privateKey+" is not found or not correct");return t?(a=o,[4,this.getShardBalance("string"==typeof a?Number.parseInt(a,10):a,A)]):[3,2];case 1:void 0!==(s=d.sent())?(u=s.nonce,e.setFromAddress("hmy"===this.messenger.chainPrefix?this.bech32Address:this.checksumAddress||"0x"),e.setNonce(u)):(e.setFromAddress("hmy"===this.messenger.chainPrefix?this.bech32Address:this.checksumAddress||"0x"),e.setNonce(0)),d.label=2;case 2:return"rlp"===r?(l=n.__read(e.rlpSign(this.privateKey),2),c=l[0],f=l[1],e.setRawTransaction(f),e.setSignature(c),e.setFromAddress("hmy"===this.messenger.chainPrefix?this.bech32Address:this.checksumAddress||"0x"),[2,e]):[2,e]}})})},e.prototype.setMessenger=function(e){this.messenger=e},e.prototype.getAddressFromShardID=function(e){var t=this.shards.get(e);return t?t.address:void 0},e.prototype.getAddresses=function(){var e,t,r=[];try{for(var A=n.__values(this.shards),i=A.next();!i.done;i=A.next()){var o=n.__read(i.value,2),a=o[0],s=o[1];r["string"==typeof a?Number.parseInt(a,10):a]=s.address}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=A.return)&&t.call(A)}finally{if(e)throw e.error}}return r},e.prototype.getShardBalance=function(e,t){return void 0===t&&(t="latest"),n.__awaiter(this,void 0,void 0,function(){var r,A;return n.__generator(this,function(n){switch(n.label){case 0:return[4,this.messenger.send("hmy_getBalance",[this.address,t],this.messenger.chainPrefix,e)];case 1:return r=n.sent(),[4,this.messenger.send("hmy_getTransactionCount",[this.address,t],this.messenger.chainPrefix,e)];case 2:if(A=n.sent(),r.isError())throw r.error.message;if(A.isError())throw A.error.message;return[2,{address:""+this.bech32Address+i.AddressSuffix+e,balance:i.hexToNumber(r.result),nonce:Number.parseInt(i.hexToNumber(A.result),10)}]}})})},e.prototype._new=function(){var e=A.generatePrivateKey();if(!i.isPrivateKey(e))throw new Error("key gen failed");return this._import(e)},e.prototype._import=function(e){if(!i.isPrivateKey(e))throw new Error(e+" is not PrivateKey");return this.privateKey=i.add0xToString(e),this.publicKey=A.getPubkeyFromPrivateKey(this.privateKey),this.address=A.getAddressFromPrivateKey(this.privateKey),this.shardID=this.messenger.currentShard||0,this.shards=new Map,this.shards.set(this.shardID,{address:""+this.bech32Address+i.AddressSuffix+"0",balance:this.balance||"0",nonce:this.nonce||0}),this.encrypted=!1,this},e}();t.Account=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(129);t.defaultMessenger=new n.Messenger(new n.HttpProvider("http://localhost:9500"),"hmy",2)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(129),i=r(31),o=r(54),a=function(){function e(e){this.messenger=e}return e.prototype.setMessenger=function(e){this.messenger=e},e.prototype.getRpcResult=function(e){return e instanceof A.ResponseMiddleware?e.getRaw:e},e.prototype.getBalance=function(e){var t=e.address,r=e.blockNumber,A=void 0===r?"latest":r,i=e.shardID,a=void 0===i?this.messenger.currentShard:i;return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(r){switch(r.label){case 0:return[4,this.messenger.send("hmy_getBalance",[o.getAddress(t).checksum,A],this.messenger.chainPrefix,a)];case 1:return e=r.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.getBlockNumber=function(e){return void 0===e&&(e=this.messenger.currentShard),n.__awaiter(this,void 0,void 0,function(){var t;return n.__generator(this,function(r){switch(r.label){case 0:return[4,this.messenger.send("hmy_blockNumber",[],this.messenger.chainPrefix,e)];case 1:return t=r.sent(),[2,this.getRpcResult(t)]}})})},e.prototype.getBlockByHash=function(e){var t=e.blockHash,r=e.returnObject,A=void 0===r||r,i=e.shardID,o=void 0===i?this.messenger.currentShard:i;return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(r){switch(r.label){case 0:return[4,this.messenger.send("hmy_getBlockByHash",[t,A],this.messenger.chainPrefix,o)];case 1:return e=r.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.getBlockByNumber=function(e){var t=e.blockNumber,r=void 0===t?"latest":t,A=e.returnObject,i=void 0===A||A,o=e.shardID,a=void 0===o?this.messenger.currentShard:o;return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(t){switch(t.label){case 0:return[4,this.messenger.send("hmy_getBlockByNumber",[r,i],this.messenger.chainPrefix,a)];case 1:return e=t.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.getBlockTransactionCountByHash=function(e){var t=e.blockHash,r=e.shardID,A=void 0===r?this.messenger.currentShard:r;return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(r){switch(r.label){case 0:return[4,this.messenger.send("hmy_getBlockTransactionCountByHash",[t],this.messenger.chainPrefix,A)];case 1:return e=r.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.getBlockTransactionCountByNumber=function(e){var t=e.blockNumber,r=e.shardID,A=void 0===r?this.messenger.currentShard:r;return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(r){switch(r.label){case 0:return[4,this.messenger.send("hmy_getBlockTransactionCountByNumber",[t],this.messenger.chainPrefix,A)];case 1:return e=r.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.getTransactionByBlockHashAndIndex=function(e){var t=e.blockHash,r=e.index,A=e.shardID,i=void 0===A?this.messenger.currentShard:A;return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(n){switch(n.label){case 0:return[4,this.messenger.send("hmy_getTransactionByBlockHashAndIndex",[t,r],this.messenger.chainPrefix,i)];case 1:return e=n.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.getTransactionByBlockNumberAndIndex=function(e){var t=e.blockNumber,r=void 0===t?"latest":t,A=e.index,i=e.shardID,o=void 0===i?this.messenger.currentShard:i;return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(t){switch(t.label){case 0:return[4,this.messenger.send("hmy_getTransactionByBlockNumberAndIndex",[r,A],this.messenger.chainPrefix,o)];case 1:return e=t.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.getTransactionByHash=function(e){var t=e.txnHash,r=e.shardID,A=void 0===r?this.messenger.currentShard:r;return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(r){switch(r.label){case 0:return[4,this.messenger.send("hmy_getTransactionByHash",[t],this.messenger.chainPrefix,A)];case 1:return e=r.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.getTransactionReceipt=function(e){var t=e.txnHash,r=e.shardID,A=void 0===r?this.messenger.currentShard:r;return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(r){switch(r.label){case 0:return[4,this.messenger.send("hmy_getTransactionReceipt",[t],this.messenger.chainPrefix,A)];case 1:return e=r.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.getCxReceiptByHash=function(e){var t=e.txnHash,r=e.shardID;return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(n){switch(n.label){case 0:return[4,this.messenger.send("hmy_getCXReceiptByHash",[t],this.messenger.chainPrefix,r)];case 1:return e=n.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.getCode=function(e){var t=e.address,r=e.blockNumber,A=void 0===r?"latest":r,i=e.shardID,a=void 0===i?this.messenger.currentShard:i;return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(r){switch(r.label){case 0:return[4,this.messenger.send("hmy_getCode",[o.getAddress(t).checksum,A],this.messenger.chainPrefix,a)];case 1:return e=r.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.net_peerCount=function(e){return void 0===e&&(e=this.messenger.currentShard),n.__awaiter(this,void 0,void 0,function(){var t;return n.__generator(this,function(r){switch(r.label){case 0:return[4,this.messenger.send("net_peerCount",[],"net",e)];case 1:return t=r.sent(),[2,this.getRpcResult(t)]}})})},e.prototype.net_version=function(e){return void 0===e&&(e=this.messenger.currentShard),n.__awaiter(this,void 0,void 0,function(){var t;return n.__generator(this,function(r){switch(r.label){case 0:return[4,this.messenger.send("net_version",[],"net",e)];case 1:return t=r.sent(),[2,this.getRpcResult(t)]}})})},e.prototype.getProtocolVersion=function(e){return void 0===e&&(e=this.messenger.currentShard),n.__awaiter(this,void 0,void 0,function(){var t;return n.__generator(this,function(r){switch(r.label){case 0:return[4,this.messenger.send("hmy_protocolVersion",[],this.messenger.chainPrefix,e)];case 1:return t=r.sent(),[2,this.getRpcResult(t)]}})})},e.prototype.getStorageAt=function(e){var t=e.address,r=e.position,A=e.blockNumber,i=void 0===A?"latest":A,a=e.shardID,s=void 0===a?this.messenger.currentShard:a;return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(n){switch(n.label){case 0:return[4,this.messenger.send("hmy_getStorageAt",[o.getAddress(t).checksum,r,i],this.messenger.chainPrefix,s)];case 1:return e=n.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.getTransactionCount=function(e){var t=e.address,r=e.blockNumber,A=void 0===r?"latest":r,i=e.shardID,a=void 0===i?this.messenger.currentShard:i;return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(r){switch(r.label){case 0:return[4,this.messenger.send("hmy_getTransactionCount",[o.getAddress(t).checksum,A],this.messenger.chainPrefix,a)];case 1:return e=r.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.getShardingStructure=function(){return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(t){switch(t.label){case 0:return[4,this.messenger.send("hmy_getShardingStructure",[],this.messenger.chainPrefix)];case 1:return e=t.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.sendTransaction=function(e){return n.__awaiter(this,void 0,void 0,function(){var t;return n.__generator(this,function(r){switch(r.label){case 0:if(!e.isSigned()||!e)throw new Error("transaction is not signed or not exist");return[4,this.messenger.send("hmy_sendRawTransaction",[e.getRawTransaction()],this.messenger.chainPrefix,"string"==typeof e.txParams.shardID?Number.parseInt(e.txParams.shardID,10):e.txParams.shardID)];case 1:return t=r.sent(),[2,this.getRpcResult(t)]}})})},e.prototype.sendRawTransaction=function(e){return n.__awaiter(this,void 0,void 0,function(){var t,r,A;return n.__generator(this,function(i){switch(i.label){case 0:if(!e.isSigned()||!e)throw new Error("transaction is not signed or not exist");return[4,e.sendTransaction()];case 1:return t=n.__read.apply(void 0,[i.sent(),2]),r=t[0],A=t[1],r.isPending()?[2,A]:[2]}})})},e.prototype.createObservedTransaction=function(e){try{return e.sendTransaction().then(function(t){var r=n.__read(t,2),A=r[0],i=r[1];A.confirm(i).then(function(t){e.emitter.resolve(t)})}),e.emitter}catch(e){throw e}},e.prototype.sendRawStakingTransaction=function(e){return n.__awaiter(this,void 0,void 0,function(){var t,r,A;return n.__generator(this,function(i){switch(i.label){case 0:if(!e.isSigned()||!e)throw new Error("staking transaction is not signed or not exist");return[4,e.sendTransaction()];case 1:return t=n.__read.apply(void 0,[i.sent(),2]),r=t[0],A=t[1],r.isPending()?[2,A]:[2]}})})},e.prototype.createObservedStakingTransaction=function(e){try{return e.sendTransaction().then(function(t){var r=n.__read(t,2),A=r[0],i=r[1];A.confirm(i).then(function(t){e.emitter.resolve(t)})}),e.emitter}catch(e){throw e}},e.prototype.estimateGas=function(e){var t=e.to,r=e.data,A=e.shardID,i=void 0===A?this.messenger.currentShard:A;return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(n){switch(n.label){case 0:return[4,this.messenger.send("hmy_estimateGas",[{to:o.getAddress(t).checksum,data:r}],this.messenger.chainPrefix,i)];case 1:return e=n.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.gasPrice=function(e){return void 0===e&&(e=this.messenger.currentShard),n.__awaiter(this,void 0,void 0,function(){var t;return n.__generator(this,function(r){switch(r.label){case 0:return[4,this.messenger.send("hmy_gasPrice",[],this.messenger.chainPrefix,e)];case 1:return t=r.sent(),[2,this.getRpcResult(t)]}})})},e.prototype.call=function(e){var t=e.payload,r=e.blockNumber,A=void 0===r?"latest":r,i=e.shardID,o=void 0===i?this.messenger.currentShard:i;return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(r){switch(r.label){case 0:return[4,this.messenger.send("hmy_call",[t,A],this.messenger.chainPrefix,o)];case 1:return e=r.sent(),[2,this.getRpcResult(e)]}})})},e.prototype.newPendingTransactions=function(e){if(void 0===e&&(e=this.messenger.currentShard),this.messenger.provider instanceof A.WSProvider)return new A.NewPendingTransactions(this.messenger,e);throw new Error("HttpProvider does not support this feature")},e.prototype.newBlockHeaders=function(e){if(void 0===e&&(e=this.messenger.currentShard),this.messenger.provider instanceof A.WSProvider)return new A.NewHeaders(this.messenger,e);throw new Error("HttpProvider does not support this feature")},e.prototype.syncing=function(e){if(void 0===e&&(e=this.messenger.currentShard),this.messenger.provider instanceof A.WSProvider)return new A.Syncing(this.messenger,e);throw new Error("HttpProvider does not support this feature")},e.prototype.logs=function(e,t){if(void 0===t&&(t=this.messenger.currentShard),this.messenger.provider instanceof A.WSProvider)return new A.LogSub(e,this.messenger,t);throw new Error("HttpProvider does not support this feature")},n.__decorate([i.assertObject({address:["isValidAddress","required"],blockNumber:["isBlockNumber","optional"],shardID:["isNumber","optional"]}),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",Promise)],e.prototype,"getBalance",null),n.__decorate([i.assertObject({blockHash:["isHash","required"],returnObject:["isBoolean","optional"],shardID:["isNumber","optional"]}),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",Promise)],e.prototype,"getBlockByHash",null),n.__decorate([i.assertObject({blockNumber:["isBlockNumber","optional"],returnObject:["isBoolean","optional"],shardID:["isNumber","optional"]}),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",Promise)],e.prototype,"getBlockByNumber",null),n.__decorate([i.assertObject({blockHash:["isHash","required"],shardID:["isNumber","optional"]}),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",Promise)],e.prototype,"getBlockTransactionCountByHash",null),n.__decorate([i.assertObject({blockNumber:["isBlockNumber","required"],shardID:["isNumber","optional"]}),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",Promise)],e.prototype,"getBlockTransactionCountByNumber",null),n.__decorate([i.assertObject({blockHash:["isHash","required"],index:["isHex","required"],shardID:["isNumber","optional"]}),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",Promise)],e.prototype,"getTransactionByBlockHashAndIndex",null),n.__decorate([i.assertObject({blockNumber:["isBlockNumber","optional"],index:["isHex","required"],shardID:["isNumber","optional"]}),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",Promise)],e.prototype,"getTransactionByBlockNumberAndIndex",null),n.__decorate([i.assertObject({txnHash:["isHash","required"],shardID:["isNumber","optional"]}),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",Promise)],e.prototype,"getTransactionByHash",null),n.__decorate([i.assertObject({txnHash:["isString","required"],shardID:["isNumber","optional"]}),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",Promise)],e.prototype,"getTransactionReceipt",null),n.__decorate([i.assertObject({txnHash:["isString","required"],shardID:["isNumber","required"]}),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",Promise)],e.prototype,"getCxReceiptByHash",null),n.__decorate([i.assertObject({address:["isValidAddress","required"],blockNumber:["isBlockNumber","optional"],shardID:["isNumber","optional"]}),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",Promise)],e.prototype,"getCode",null),n.__decorate([i.assertObject({address:["isValidAddress","required"],position:["isHex","required"],blockNumber:["isBlockNumber","optional"],shardID:["isNumber","optional"]}),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",Promise)],e.prototype,"getStorageAt",null),n.__decorate([i.assertObject({address:["isValidAddress","required"],blockNumber:["isBlockNumber","optional"],shardID:["isNumber","optional"]}),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",Promise)],e.prototype,"getTransactionCount",null),n.__decorate([i.assertObject({to:["isValidAddress","optional"],data:["isHex","optional"],shardID:["isNumber","optional"]}),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",Promise)],e.prototype,"estimateGas",null),e}();t.Blockchain=a},function(e,t,r){"use strict";var n,A=t,i=r(123),o=r(978),a=r(114).assert;function s(e){"short"===e.type?this.curve=new o.short(e):"edwards"===e.type?this.curve=new o.edwards(e):this.curve=new o.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(A,e,{configurable:!0,enumerable:!0,get:function(){var r=new s(t);return Object.defineProperty(A,e,{configurable:!0,enumerable:!0,value:r}),r}})}A.PresetCurve=s,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(1815)}catch(e){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(91),A=r(161);var i,o;!function(e){e.Mainnet="ckb",e.Testnet="ckt"}(i=t.AddressPrefix||(t.AddressPrefix={})),function(e){e.BinHash="0x00",e.HashIdx="0x01",e.DataCodeHash="0x02",e.TypeCodeHash="0x04"}(o=t.AddressType||(t.AddressType={})),t.defaultAddressOptions={prefix:i.Testnet,type:o.HashIdx,codeHashOrCodeHashIndex:"0x00"},t.toAddressPayload=(e,t=o.HashIdx,r="0x00")=>{if("string"==typeof e){if(!e.startsWith("0x"))throw new A.HexStringShouldStartWith0x(e);return new Uint8Array([...n.hexToBytes(t),...n.hexToBytes(r),...n.hexToBytes(e)])}return new Uint8Array([...n.hexToBytes(t),...n.hexToBytes(r),...e])},t.bech32Address=(e,{prefix:r=i.Testnet,type:A=o.HashIdx,codeHashOrCodeHashIndex:a="0x00"}=t.defaultAddressOptions)=>n.bech32.encode(r,n.bech32.toWords(t.toAddressPayload(e,A,a))),t.fullPayloadToAddress=({arg:e,prefix:r=i.Testnet,type:n=o.DataCodeHash,codeHash:A})=>t.bech32Address(e,{prefix:r,type:n,codeHashOrCodeHashIndex:A}),t.pubkeyToAddress=(e,{prefix:r=i.Testnet,type:A=o.HashIdx,codeHashOrCodeHashIndex:a="0x00"}=t.defaultAddressOptions)=>{const s=n.blake160(e);return t.bech32Address(s,{prefix:r,type:A,codeHashOrCodeHashIndex:a})},t.parseAddress=(e,t="binary")=>{const r=n.bech32.decode(e),A=n.bech32.fromWords(new Uint8Array(r.words));return"binary"===t?A:n.bytesToHex(A)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(91);t.offsetSize=4,t.fullLengthSize=4,t.getOffsets=e=>{const r=[t.fullLengthSize+t.offsetSize*e.length];return e.forEach((t,n)=>{n&&r.push(r[r.length-1]+e[n-1])}),r},t.serializeArray=e=>{if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("The array to be serialized should by type of string or bytes");const t="string"==typeof e?n.hexToBytes(e):e;return n.bytesToHex(t)},t.serializeStruct=e=>{let r="";return e.forEach(e=>{r+=t.serializeArray(e).slice(2)}),`0x${r}`},t.serializeFixVec=e=>{if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("The fixed vector to be serialized should be a string or an array of bytes");const r=("string"==typeof e?[...n.hexToBytes(e)].map(e=>`0x${e.toString(16)}`):e).map(e=>t.serializeArray(e).slice(2));return`0x${n.toHexInLittleEndian(`0x${r.length.toString(16)}`).slice(2)}${r.join("")}`},t.serializeDynVec=e=>{if(!Array.isArray(e))throw new TypeError("The dynamic vector to be serialized should be an array of bytes");const r=e.map(e=>t.serializeArray(e).slice(2)),A=r.join("");let i="";r.length&&(i=t.getOffsets(r.map(e=>e.length/2)).map(e=>n.toHexInLittleEndian(`0x${e.toString(16)}`).slice(2)).join(""));const o=t.fullLengthSize+t.offsetSize*r.length;return`0x${n.toHexInLittleEndian(`0x${(o+A.length/2).toString(16)}`).slice(2)}${i}${A}`},t.serializeTable=e=>{const r=[];e.forEach(e=>{r.push(t.serializeArray(e).slice(2))});const A=r.join(""),i=t.fullLengthSize+t.offsetSize*e.size;return`0x${n.toHexInLittleEndian(`0x${(i+A.length/2).toString(16)}`).slice(2)}${t.getOffsets(r.map(e=>e.length/2)).map(e=>n.toHexInLittleEndian(`0x${e.toString(16)}`).slice(2)).join("")}${A}`},t.serializeOption=e=>e||"0x"},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=35===e.length,r=e.length-(t?2:1),n=(0,A.default)(e.subarray(0,r));return[t?e[e.length-2]===n[0]&&e[e.length-1]===n[1]:e[e.length-1]===n[0],r]};var A=n(r(992))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=99){if((0,i.isU8a)(e)||(0,i.isHex)(e))return(0,i.u8aToU8a)(e);const n=(0,i.bufferToU8a)(A.default.decode(e)),s=t=>"Decoding ".concat(e,": ").concat(t);(0,i.assert)(a.default.allowedEncodedLengths.includes(n.length),s("Invalid decoded address length"));const[u,l]=(0,o.default)(n);return(0,i.assert)(t||u,s("Invalid decoded address checksum")),n.slice(1,l)};var A=n(r(151)),i=r(12),o=n(r(536)),a=n(r(355))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.isReady)()){const t=(0,i.ed25519KeypairFromSeed)(e);return{publicKey:t.slice(32),secretKey:t.slice(0,64)}}return A.default.sign.keyPair.fromSeed(e)};var A=n(r(116)),i=r(70)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{publicKey:e.slice(n,n+A),secretKey:e.slice(0,n)}};const n=64,A=32},function(e,t,r){"use strict";var n,A=t,i=r(123),o=r(1006),a=r(117).assert;function s(e){"short"===e.type?this.curve=new o.short(e):"edwards"===e.type?this.curve=new o.edwards(e):this.curve=new o.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(A,e,{configurable:!0,enumerable:!0,get:function(){var r=new s(t);return Object.defineProperty(A,e,{configurable:!0,enumerable:!0,value:r}),r}})}A.PresetCurve=s,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(1914)}catch(e){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.createClass=Q,t.ClassOfUnsafe=w,t.ClassOf=E,t.getTypeClass=N;var A=r(359),i=r(12),o=n(r(1009)),a=n(r(1013)),s=n(r(139)),u=n(r(298)),l=n(r(1015)),c=n(r(187)),f=n(r(543)),d=n(r(1017)),g=n(r(1018)),h=n(r(53)),p=n(r(299)),I=n(r(300)),B=n(r(188)),C=n(r(362)),m=n(r(1935)),y=r(545);function Q(e,t){return N(e,(0,y.getTypeDef)(t))}function w(e,t){return Q(e,t)}function E(e,t){return w(e,t)}function b(e){return(0,i.assert)(e.sub&&Array.isArray(e.sub),"Expected subtype as TypeDef[] in ".concat(JSON.stringify(e))),e.sub}function v(e){return function(e){return(0,i.assert)(e.sub&&!Array.isArray(e.sub),"Expected subtype as TypeDef in ".concat(JSON.stringify(e))),e.sub}(e).type}function D(e){return b(e).reduce((e,t)=>(e[t.name]=t.type,e),{})}function M(e){return b(e).map(({type:e})=>e)}function k({displayName:e,length:t},r){return(0,i.assert)((0,i.isNumber)(t),"Expected bitLength information for ".concat(e||r.constructor.name,"<bitLength>")),r.with(t,e)}function _(e,t){const[r,n]=M(e);return t.with(r,n)}const S={[A.TypeDefInfo.BTreeMap]:(e,t)=>_(t,o.default),[A.TypeDefInfo.BTreeSet]:(e,t)=>a.default.with(v(t)),[A.TypeDefInfo.Compact]:(e,t)=>s.default.with(v(t)),[A.TypeDefInfo.Enum]:(e,t)=>u.default.with(D(t)),[A.TypeDefInfo.HashMap]:(e,t)=>_(t,l.default),[A.TypeDefInfo.Int]:(e,t)=>k(t,c.default),[A.TypeDefInfo.Linkage]:(e,t)=>{const r="Option<".concat(v(t),">"),n=h.default.with({next:r,previous:r});return E.prototype.toRawType=function(){return"Linkage<".concat(this.next.toRawType(!0),">")},n},[A.TypeDefInfo.Null]:(e,t)=>Q(e,"Null"),[A.TypeDefInfo.Option]:(e,t)=>f.default.with(v(t)),[A.TypeDefInfo.Plain]:(e,t)=>e.getOrUnknown(t.type),[A.TypeDefInfo.Result]:(e,t)=>{const[r,n]=M(t);return d.default.with({Error:n,Ok:r})},[A.TypeDefInfo.Set]:(e,t)=>{return g.default.with(b(t).reduce((e,{index:t,name:r})=>(e[r]=t,e),{}),t.length)},[A.TypeDefInfo.Struct]:(e,t)=>h.default.with(D(t),t.alias),[A.TypeDefInfo.Tuple]:(e,t)=>p.default.with(M(t)),[A.TypeDefInfo.UInt]:(e,t)=>k(t,B.default),[A.TypeDefInfo.Vec]:(e,t)=>{const r=v(t);return"u8"===r?Q(e,"Bytes"):C.default.with(r)},[A.TypeDefInfo.VecFixed]:(e,{displayName:t,length:r,sub:n})=>((0,i.assert)((0,i.isNumber)(r)&&!(0,i.isUndefined)(n),"Expected length & type information for fixed vector"),"u8"===n.type?I.default.with(8*r,t):m.default.with(n.type,r))};function N(e,t){const r=e.get(t.type);if(r)return r;const n=S[t.info];if(!n)throw new Error("Unable to construct class from ".concat(JSON.stringify(t)));return n(e,t)}},function(e,t,r){var n=r(1933);function A(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return A=function(){return e},e}e.exports=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=A();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(163)),i=n(r(164)),o=r(12),a=n(r(242)),s=r(165),u=n(r(241));function l(e,t,r){if((0,o.isNull)(r)||(0,o.isUndefined)(r)||r instanceof a.default)return new a.default(e);const n=(0,s.typeToConstructor)(e,t);return r instanceof c?l(e,n,r.value):r instanceof n?r:(0,o.isU8a)(r)?function(e,t,r){return r.length&&0!==r[0]?new t(e,r.subarray(1)):new a.default(e)}(e,n,r):new n(e,r)}class c extends u.default{constructor(e,t,r){super(e,l(e,t,r)),Object.defineProperty(this,f,{writable:!0,value:void 0}),(0,A.default)(this,f)[f]=(0,s.typeToConstructor)(e,t)}static with(e){return class extends c{constructor(t,r){super(t,e,r)}}}get encodedLength(){return 1+this.raw.encodedLength}get isEmpty(){return this.isNone}get isNone(){return this.raw instanceof a.default}get isSome(){return!this.isNone}get value(){return this.raw}eq(e){return e instanceof c?this.isSome===e.isSome&&this.value.eq(e.value):this.value.eq(e)}toHex(){return this.isNone?"0x":(0,o.u8aToHex)(this.toU8a().subarray(1))}toRawType(e){const t=new((0,A.default)(this,f)[f])(this.registry).toRawType();return e?t:"Option<".concat(t,">")}toU8a(e){if(e)return this.raw.toU8a(!0);const t=new Uint8Array(this.encodedLength);return this.isSome&&(t.set([1]),t.set(this.raw.toU8a(),1)),t}unwrap(){if(this.isNone)throw new Error("Option: unwrapping a None value");return this.raw}unwrapOr(e){return this.isSome?this.unwrap():e}unwrapOrDefault(){return this.isSome?this.unwrap():new((0,A.default)(this,f)[f])(this.registry)}}t.default=c;var f=(0,i.default)("Type")},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=r(42),o=n(r(139)),a=n(r(90)),s=r(165);t.default=class extends Array{constructor(e,...t){super(...t),this.registry=void 0,this.registry=e}get encodedLength(){return this.reduce((e,t)=>e+t.encodedLength,o.default.encodeU8a(this.length).length)}get hash(){return new a.default(this.registry,(0,i.blake2AsU8a)(this.toU8a(),256))}get isEmpty(){return 0===this.length}get length(){return super.length}eq(e){return(0,s.compareArray)(this,e)}toArray(){return Array.from(this)}toHex(){return(0,A.u8aToHex)(this.toU8a())}toHuman(e){return this.map(t=>t.toHuman(e))}toJSON(){return this.map(e=>e.toJSON())}toString(){const e=this.map(e=>e.toString());return"[".concat(e.join(", "),"]")}toU8a(e){const t=this.map(t=>t.toU8a(e));return e?(0,A.u8aConcat)(...t):(0,A.u8aConcat)(o.default.encodeU8a(this.length),...t)}filter(e,t){return this.toArray().filter(e,t)}map(e,t){return this.toArray().map(e,t)}includes(e){return this.some(t=>t.eq(e))}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.getTypeDef=g;var A=r(359),i=r(12),o=n(r(1019)),a=r(1020);function s(e,t,r){return e.sub=0===r.length?[]:(0,a.typeSplit)(r).map(e=>g(e)),e}function u(e,t,r,n="Int"){const[A,o]=t.substr(n.length+1,t.length-n.length-1-1).split(","),a=parseInt(A.trim(),10);return(0,i.assert)(a<=8192&&a%8==0,"".concat(t,": Only support for ").concat(n,"<bitLength>, where length <= 8192 and a power of 8, found ").concat(a)),e.displayName=o,e.length=a,e}function l(e,[t,r]){return e.substr(0,t.length)===t&&((0,i.assert)(e.endsWith(r),"Expected '".concat(t,"' closing with '").concat(r,"' on ").concat(e)),!0)}const c=[["[","]",A.TypeDefInfo.VecFixed,function(e,t,r){const[n,A,o]=t.substr(1,t.length-2).split(";"),a=parseInt(A.trim(),10);return(0,i.assert)(a<=256,"".concat(t,": Only support for [Type; <length>], where length <= 256")),e.displayName=o,e.length=a,e.sub=g(n),e}],["{","}",A.TypeDefInfo.Struct,function(e,t,r){const n=JSON.parse(t),i=Object.keys(n);return 1===i.length&&"_enum"===i[0]?function(e,t){return e.info=A.TypeDefInfo.Enum,e.sub=Array.isArray(t)?t.map(e=>({info:A.TypeDefInfo.Plain,name:e,type:"Null"})):Object.entries(t).map(([e,t])=>g(t||"Null",{name:e})),e}(e,n[i[0]]):1===i.length&&"_set"===i[0]?function(e,t){return e.info=A.TypeDefInfo.Set,e.length=t._bitLength,e.sub=Object.entries(t).filter(([e])=>!e.startsWith("_")).map(([e,t])=>({index:t,info:A.TypeDefInfo.Plain,name:e,type:e})),e}(e,n[i[0]]):(e.alias=n._alias?new Map(Object.entries(n._alias)):void 0,e.sub=i.filter(e=>!["_alias"].includes(e)).map(e=>g(n[e],{name:e})),e)}],["(",")",A.TypeDefInfo.Tuple,s],["BTreeMap<",">",A.TypeDefInfo.BTreeMap,s],["HashMap<",">",A.TypeDefInfo.HashMap,s],["Int<",">",A.TypeDefInfo.Int,u],["Result<",">",A.TypeDefInfo.Result,s],["UInt<",">",A.TypeDefInfo.UInt,function(e,t,r){return u(e,t,0,"UInt")}]],f=[["BTreeSet<",">",A.TypeDefInfo.BTreeSet],["Compact<",">",A.TypeDefInfo.Compact],["Linkage<",">",A.TypeDefInfo.Linkage],["Option<",">",A.TypeDefInfo.Option],["Vec<",">",A.TypeDefInfo.Vec]];function d(e,[t,r]){return e.substr(t.length,e.length-t.length-r.length)}function g(e,{displayName:t,name:r}={}){const n=(0,o.default)(e),i={displayName:t,info:A.TypeDefInfo.Plain,name:r,type:n},a=c.find(e=>l(n,e));if(a)return i.info=a[2],a[3](i,n,d(n,a));const s=f.find(e=>l(n,e));return s&&(i.info=s[2],i.sub=g(d(n,s))),i}},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){const r=t.reduce((t,r)=>t.concat(Array.isArray(r)?e(r):r),[]);return[...new Set(r)].filter(e=>e).sort()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){"object"===n(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null==e||isNaN(e)&&!e.length)&&(e="");return String(e)},e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e),(t=(0,A.default)(t,o)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));for(var r=e.split("."),i=0;i<r.length;i++)if(r[i].length>63)return!1;if(t.require_tld){var a=r.pop();if(!r.length||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(a))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20]/.test(a))return!1}for(var s,u=0;u<r.length;u++){if(s=r[u],t.allow_underscores&&(s=s.replace(/_/g,"")),!/^[a-z\u00a1-\uffff0-9-]+$/i.test(s))return!1;if(/[\uff01-\uff5e]/.test(s))return!1;if("-"===s[0]||"-"===s[s.length-1])return!1}return!0};var n=i(r(22)),A=i(r(207));function i(e){return e&&e.__esModule?e:{default:e}}var o={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){return e.some(function(e){return t===e})};t.default=n,e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";(function(e){var n=r(135),A=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.typePrefix=t.txType=void 0;var i=A(r(4)),o=A(r(18)),a=n(r(426)),s=n(r(1138)),u=r(661),l={MsgSend:"MsgSend",NewOrderMsg:"NewOrderMsg",CancelOrderMsg:"CancelOrderMsg",IssueMsg:"IssueMsg",BurnMsg:"BurnMsg",FreezeMsg:"FreezeMsg",UnfreezeMsg:"UnfreezeMsg",MintMsg:"MintMsg",ListMsg:"ListMsg",StdTx:"StdTx",PubKeySecp256k1:"PubKeySecp256k1",SignatureSecp256k1:"SignatureSecp256k1",MsgSubmitProposal:"MsgSubmitProposal",MsgDeposit:"MsgDeposit",MsgVote:"MsgVote"};t.txType=l;var c={MsgSend:"2A2C87FA",NewOrderMsg:"CE6DC043",CancelOrderMsg:"166E681B",IssueMsg:"17EFAB80",BurnMsg:"7ED2D2A0",FreezeMsg:"E774B32D",UnfreezeMsg:"6515FF0D",MintMsg:"467E0829",ListMsg:"B41DE13F",StdTx:"F0625DEE",PubKeySecp256k1:"EB5AE987",SignatureSecp256k1:"7FC4A495",MsgSubmitProposal:"B42D614E",MsgDeposit:"A18A56E5",MsgVote:"A1CADD36"};t.typePrefix=c;var f=function(){function t(e){if((0,i.default)(this,t),!l[e.type])throw new TypeError("does not support transaction type: ".concat(e.type));if(!e.chain_id)throw new Error("chain id should not be null");e=e||{},this.type=e.type,this.sequence=e.sequence||0,this.account_number=e.account_number||0,this.chain_id=e.chain_id,this.msgs=e.msg?[e.msg]:[],this.memo=e.memo}return(0,o.default)(t,[{key:"getSignBytes",value:function(e){if(!e)throw new Error("msg should be an object");var t={account_number:this.account_number.toString(),chain_id:this.chain_id,data:null,memo:this.memo,msgs:[e],sequence:this.sequence.toString(),source:"1"};return s.convertObjectToSignBytes(t)}},{key:"addSignature",value:function(e,t){return e=this._serializePubKey(e),this.signatures=[{pub_key:e,signature:t,account_number:this.account_number,sequence:this.sequence}],this}},{key:"sign",value:function(t,r){var n=this.getSignBytes(r),A=e.from(t,"hex"),i=a.generateSignature(n.toString("hex"),A);return this.addSignature(a.generatePubKey(A),i),this}},{key:"serialize",value:function(){if(!this.signatures)throw new Error("need signature");var e={msg:[this.msgs[0]],signatures:this.signatures,memo:this.memo,source:1,data:"",msgType:l.StdTx};return s.marshalBinary(e).toString("hex")}},{key:"_serializePubKey",value:function(t){var r=2;t.y&&t.y.isOdd()&&(r|=1);var n=e.concat([u.UVarInt.encode(r),t.x.toArrayLike(e,"be",32)]);return n=s.encodeBinaryByteArray(n),n=e.concat([e.from("EB5AE987","hex"),n])}}]),t}();f.txType=l,f.typePrefix=c;var d=f;t.default=d}).call(this,r(8).Buffer)},function(e,t,r){var n;!function(A){"use strict";var i,o=20,a=1,s=1e6,u=-7,l=21,c="[big.js] ",f=c+"Invalid ",d=f+"decimal places",g=f+"rounding mode",h={},p=void 0,I=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function B(e,t,r,n){var A=e.c,i=e.e+t+1;if(i<A.length){if(1===r)n=A[i]>=5;else if(2===r)n=A[i]>5||5==A[i]&&(n||i<0||A[i+1]!==p||1&A[i-1]);else if(3===r)n=n||!!A[0];else if(n=!1,0!==r)throw Error(g);if(i<1)A.length=1,n?(e.e=-t,A[0]=1):A[0]=e.e=0;else{if(A.length=i--,n)for(;++A[i]>9;)A[i]=0,i--||(++e.e,A.unshift(1));for(i=A.length;!A[--i];)A.pop()}}else if(r<0||r>3||r!==~~r)throw Error(g);return e}function C(e,t,r,n){var A,i,o=e.constructor,a=!e.c[0];if(r!==p){if(r!==~~r||r<(3==t)||r>s)throw Error(3==t?f+"precision":d);for(r=n-(e=new o(e)).e,e.c.length>++n&&B(e,r,o.RM),2==t&&(n=e.e+r+1);e.c.length<n;)e.c.push(0)}if(A=e.e,r=(i=e.c.join("")).length,2!=t&&(1==t||3==t&&n<=A||A<=o.NE||A>=o.PE))i=i.charAt(0)+(r>1?"."+i.slice(1):"")+(A<0?"e":"e+")+A;else if(A<0){for(;++A;)i="0"+i;i="0."+i}else if(A>0)if(++A>r)for(A-=r;A--;)i+="0";else A<r&&(i=i.slice(0,A)+"."+i.slice(A));else r>1&&(i=i.charAt(0)+"."+i.slice(1));return e.s<0&&(!a||4==t)?"-"+i:i}h.abs=function(){var e=new this.constructor(this);return e.s=1,e},h.cmp=function(e){var t,r=this,n=r.c,A=(e=new r.constructor(e)).c,i=r.s,o=e.s,a=r.e,s=e.e;if(!n[0]||!A[0])return n[0]?i:A[0]?-o:0;if(i!=o)return i;if(t=i<0,a!=s)return a>s^t?1:-1;for(o=(a=n.length)<(s=A.length)?a:s,i=-1;++i<o;)if(n[i]!=A[i])return n[i]>A[i]^t?1:-1;return a==s?0:a>s^t?1:-1},h.div=function(e){var t=this,r=t.constructor,n=t.c,A=(e=new r(e)).c,i=t.s==e.s?1:-1,o=r.DP;if(o!==~~o||o<0||o>s)throw Error(d);if(!A[0])throw Error("[big.js] Division by zero");if(!n[0])return new r(0*i);var a,u,l,c,f,g=A.slice(),h=a=A.length,I=n.length,C=n.slice(0,a),m=C.length,y=e,Q=y.c=[],w=0,E=o+(y.e=t.e-e.e)+1;for(y.s=i,i=E<0?0:E,g.unshift(0);m++<a;)C.push(0);do{for(l=0;l<10;l++){if(a!=(m=C.length))c=a>m?1:-1;else for(f=-1,c=0;++f<a;)if(A[f]!=C[f]){c=A[f]>C[f]?1:-1;break}if(!(c<0))break;for(u=m==a?A:g;m;){if(C[--m]<u[m]){for(f=m;f&&!C[--f];)C[f]=9;--C[f],C[m]+=10}C[m]-=u[m]}for(;!C[0];)C.shift()}Q[w++]=c?l:++l,C[0]&&c?C[m]=n[h]||0:C=[n[h]]}while((h++<I||C[0]!==p)&&i--);return Q[0]||1==w||(Q.shift(),y.e--),w>E&&B(y,o,r.RM,C[0]!==p),y},h.eq=function(e){return!this.cmp(e)},h.gt=function(e){return this.cmp(e)>0},h.gte=function(e){return this.cmp(e)>-1},h.lt=function(e){return this.cmp(e)<0},h.lte=function(e){return this.cmp(e)<1},h.minus=h.sub=function(e){var t,r,n,A,i=this,o=i.constructor,a=i.s,s=(e=new o(e)).s;if(a!=s)return e.s=-s,i.plus(e);var u=i.c.slice(),l=i.e,c=e.c,f=e.e;if(!u[0]||!c[0])return c[0]?(e.s=-s,e):new o(u[0]?i:0);if(a=l-f){for((A=a<0)?(a=-a,n=u):(f=l,n=c),n.reverse(),s=a;s--;)n.push(0);n.reverse()}else for(r=((A=u.length<c.length)?u:c).length,a=s=0;s<r;s++)if(u[s]!=c[s]){A=u[s]<c[s];break}if(A&&(n=u,u=c,c=n,e.s=-e.s),(s=(r=c.length)-(t=u.length))>0)for(;s--;)u[t++]=0;for(s=t;r>a;){if(u[--r]<c[r]){for(t=r;t&&!u[--t];)u[t]=9;--u[t],u[r]+=10}u[r]-=c[r]}for(;0===u[--s];)u.pop();for(;0===u[0];)u.shift(),--f;return u[0]||(e.s=1,u=[f=0]),e.c=u,e.e=f,e},h.mod=function(e){var t,r=this,n=r.constructor,A=r.s,i=(e=new n(e)).s;if(!e.c[0])throw Error("[big.js] Division by zero");return r.s=e.s=1,t=1==e.cmp(r),r.s=A,e.s=i,t?new n(r):(A=n.DP,i=n.RM,n.DP=n.RM=0,r=r.div(e),n.DP=A,n.RM=i,this.minus(r.times(e)))},h.plus=h.add=function(e){var t,r=this,n=r.constructor,A=r.s,i=(e=new n(e)).s;if(A!=i)return e.s=-i,r.minus(e);var o=r.e,a=r.c,s=e.e,u=e.c;if(!a[0]||!u[0])return u[0]?e:new n(a[0]?r:0*A);if(a=a.slice(),A=o-s){for(A>0?(s=o,t=u):(A=-A,t=a),t.reverse();A--;)t.push(0);t.reverse()}for(a.length-u.length<0&&(t=u,u=a,a=t),A=u.length,i=0;A;a[A]%=10)i=(a[--A]=a[A]+u[A]+i)/10|0;for(i&&(a.unshift(i),++s),A=a.length;0===a[--A];)a.pop();return e.c=a,e.e=s,e},h.pow=function(e){var t=this,r=new t.constructor(1),n=r,A=e<0;if(e!==~~e||e<-1e6||e>1e6)throw Error(f+"exponent");for(A&&(e=-e);1&e&&(n=n.times(t)),e>>=1;)t=t.times(t);return A?r.div(n):n},h.round=function(e,t){var r=this.constructor;if(e===p)e=0;else if(e!==~~e||e<-s||e>s)throw Error(d);return B(new r(this),e,t===p?r.RM:t)},h.sqrt=function(){var e,t,r,n=this,A=n.constructor,i=n.s,o=n.e,a=new A(.5);if(!n.c[0])return new A(n);if(i<0)throw Error(c+"No square root");0===(i=Math.sqrt(n+""))||i===1/0?((t=n.c.join("")).length+o&1||(t+="0"),o=((o+1)/2|0)-(o<0||1&o),e=new A(((i=Math.sqrt(t))==1/0?"1e":(i=i.toExponential()).slice(0,i.indexOf("e")+1))+o)):e=new A(i),o=e.e+(A.DP+=4);do{r=e,e=a.times(r.plus(n.div(r)))}while(r.c.slice(0,o).join("")!==e.c.slice(0,o).join(""));return B(e,A.DP-=4,A.RM)},h.times=h.mul=function(e){var t,r=this,n=r.constructor,A=r.c,i=(e=new n(e)).c,o=A.length,a=i.length,s=r.e,u=e.e;if(e.s=r.s==e.s?1:-1,!A[0]||!i[0])return new n(0*e.s);for(e.e=s+u,o<a&&(t=A,A=i,i=t,u=o,o=a,a=u),t=new Array(u=o+a);u--;)t[u]=0;for(s=a;s--;){for(a=0,u=o+s;u>s;)a=t[u]+i[s]*A[u-s-1]+a,t[u--]=a%10,a=a/10|0;t[u]=(t[u]+a)%10}for(a?++e.e:t.shift(),s=t.length;!t[--s];)t.pop();return e.c=t,e},h.toExponential=function(e){return C(this,1,e,e)},h.toFixed=function(e){return C(this,2,e,this.e+e)},h.toPrecision=function(e){return C(this,3,e,e-1)},h.toString=function(){return C(this)},h.valueOf=h.toJSON=function(){return C(this,4)},(i=function e(){function t(r){var n=this;if(!(n instanceof t))return r===p?e():new t(r);r instanceof t?(n.s=r.s,n.e=r.e,n.c=r.c.slice()):function(e,t){var r,n,A;if(0===t&&1/t<0)t="-0";else if(!I.test(t+=""))throw Error(f+"number");for(e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),A=t.length,n=0;n<A&&"0"==t.charAt(n);)++n;if(n==A)e.c=[e.e=0];else{for(;A>0&&"0"==t.charAt(--A););for(e.e=r-n-1,e.c=[],r=0;n<=A;)e.c[r++]=+t.charAt(n++)}}(n,r),n.constructor=t}return t.prototype=h,t.DP=o,t.RM=a,t.NE=u,t.PE=l,t.version="5.2.2",t}()).default=i.Big=i,void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)}()},function(e,t,r){"use strict";r.d(t,"a",function(){return n});class n{static isFunction(e){return"function"==typeof e}static strippedHost(){let e=window.location.hostname;return 0===e.indexOf("www.")&&(e=e.replace("www.","")),e}static injectPromise(e,...t){return new Promise((r,n)=>{e(...t,(e,t)=>{e?n(e):r(t)})})}}},function(e,t,r){e.exports=r(1073)},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(192);class A{constructor(e,t){this.eventName=e,this.key=t,this.synced=!1,this.syncFn=null,this.listenForSync()}listenWith(e){document.addEventListener(this.eventName,t=>{if(!this.synced)return!1;let r=JSON.parse(t.detail);r=this.synced&&"string"==typeof r?n.default.decrypt(r,this.key):r,e(r)})}send(e,t){if("object"!=typeof e)throw new Error("Payloads must be objects");(()=>{e.from=this.eventName})(),(()=>{e=this.synced?n.default.encrypt(e,this.key):e})(),this.dispatch(JSON.stringify(e),t)}onSync(e){this.syncFn=e}sync(e,t){this.send({type:"sync",handshake:t},e)}listenForSync(){document.addEventListener(this.eventName,e=>{let t=JSON.parse(e.detail);if(!t.hasOwnProperty("type"))return!1;"sync"===t.type&&this.ackSync(t),"synced"===t.type&&(this.synced=!0)})}ackSync(e){this.send({type:"synced"},e.from),this.key=e.handshake,this.synced=!0,this.syncFn()}dispatch(e,t){document.dispatchEvent(this.getEvent(e,t))}getEvent(e,t){return new CustomEvent(t,this.getEventInit(e))}getEventInit(e){return{detail:e}}}t.EncryptedStream=A,t.default=A},function(e,t,r){"use strict";var n,A={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(e){this.toString=function(){return"CORRUPT: "+this.message},this.message=e},invalid:function(e){this.toString=function(){return"INVALID: "+this.message},this.message=e},bug:function(e){this.toString=function(){return"BUG: "+this.message},this.message=e},notReady:function(e){this.toString=function(){return"NOT READY: "+this.message},this.message=e}}};function i(e,t,r){if(4!==t.length)throw new A.exception.invalid("invalid aes block size");var n=e.b[r],i=t[0]^n[0],o=t[r?3:1]^n[1],a=t[2]^n[2];t=t[r?1:3]^n[3];var s,u,l,c,f=n.length/4-2,d=4,g=[0,0,0,0];e=(s=e.s[r])[0];var h=s[1],p=s[2],I=s[3],B=s[4];for(c=0;c<f;c++)s=e[i>>>24]^h[o>>16&255]^p[a>>8&255]^I[255&t]^n[d],u=e[o>>>24]^h[a>>16&255]^p[t>>8&255]^I[255&i]^n[d+1],l=e[a>>>24]^h[t>>16&255]^p[i>>8&255]^I[255&o]^n[d+2],t=e[t>>>24]^h[i>>16&255]^p[o>>8&255]^I[255&a]^n[d+3],d+=4,i=s,o=u,a=l;for(c=0;4>c;c++)g[r?3&-c:c]=B[i>>>24]<<24^B[o>>16&255]<<16^B[a>>8&255]<<8^B[255&t]^n[d++],s=i,i=o,o=a,a=t,t=s;return g}function o(e,t){var r,n,A,i=e.F,o=e.b,a=i[0],s=i[1],u=i[2],l=i[3],c=i[4],f=i[5],d=i[6],g=i[7];for(r=0;64>r;r++)16>r?n=t[r]:(n=t[r+1&15],A=t[r+14&15],n=t[15&r]=(n>>>7^n>>>18^n>>>3^n<<25^n<<14)+(A>>>17^A>>>19^A>>>10^A<<15^A<<13)+t[15&r]+t[r+9&15]|0),n=n+g+(c>>>6^c>>>11^c>>>25^c<<26^c<<21^c<<7)+(d^c&(f^d))+o[r],g=d,d=f,f=c,c=l+n|0,l=u,u=s,a=n+((s=a)&u^l&(s^u))+(s>>>2^s>>>13^s>>>22^s<<30^s<<19^s<<10)|0;i[0]=i[0]+a|0,i[1]=i[1]+s|0,i[2]=i[2]+u|0,i[3]=i[3]+l|0,i[4]=i[4]+c|0,i[5]=i[5]+f|0,i[6]=i[6]+d|0,i[7]=i[7]+g|0}function a(e,t){var r,n=A.random.K[e],i=[];for(r in n)n.hasOwnProperty(r)&&i.push(n[r]);for(r=0;r<i.length;r++)i[r](t)}function s(e,t){"undefined"!=typeof window&&window.performance&&"function"==typeof window.performance.now?e.addEntropy(window.performance.now(),t,"loadtime"):e.addEntropy((new Date).valueOf(),t,"loadtime")}function u(e){e.b=l(e).concat(l(e)),e.L=new A.cipher.aes(e.b)}function l(e){for(var t=0;4>t&&(e.h[t]=e.h[t]+1|0,!e.h[t]);t++);return e.L.encrypt(e.h)}function c(e,t){return function(){t.apply(e,arguments)}}A.cipher.aes=function(e){this.s[0][0][0]||this.O();var t,r,n,i,o=this.s[0][4],a=this.s[1],s=1;if(4!==(t=e.length)&&6!==t&&8!==t)throw new A.exception.invalid("invalid aes key size");for(this.b=[n=e.slice(0),i=[]],e=t;e<4*t+28;e++)r=n[e-1],(0==e%t||8===t&&4==e%t)&&(r=o[r>>>24]<<24^o[r>>16&255]<<16^o[r>>8&255]<<8^o[255&r],0==e%t&&(r=r<<8^r>>>24^s<<24,s=s<<1^283*(s>>7))),n[e]=n[e-t]^r;for(t=0;e;t++,e--)r=n[3&t?e:e-4],i[t]=4>=e||4>t?r:a[0][o[r>>>24]]^a[1][o[r>>16&255]]^a[2][o[r>>8&255]]^a[3][o[255&r]]},A.cipher.aes.prototype={encrypt:function(e){return i(this,e,0)},decrypt:function(e){return i(this,e,1)},s:[[[],[],[],[],[]],[[],[],[],[],[]]],O:function(){var e,t,r,n,A,i,o,a=this.s[0],s=this.s[1],u=a[4],l=s[4],c=[],f=[];for(e=0;256>e;e++)f[(c[e]=e<<1^283*(e>>7))^e]=e;for(t=r=0;!u[t];t^=n||1,r=f[r]||1)for(i=(i=r^r<<1^r<<2^r<<3^r<<4)>>8^255&i^99,u[t]=i,l[i]=t,o=16843009*(A=c[e=c[n=c[t]]])^65537*e^257*n^16843008*t,A=257*c[i]^16843008*i,e=0;4>e;e++)a[e][t]=A=A<<24^A>>>8,s[e][i]=o=o<<24^o>>>8;for(e=0;5>e;e++)a[e]=a[e].slice(0),s[e]=s[e].slice(0)}},A.bitArray={bitSlice:function(e,t,r){return e=A.bitArray.$(e.slice(t/32),32-(31&t)).slice(1),void 0===r?e:A.bitArray.clamp(e,r-t)},extract:function(e,t,r){var n=Math.floor(-t-r&31);return(-32&(t+r-1^t)?e[t/32|0]<<32-n^e[t/32+1|0]>>>n:e[t/32|0]>>>n)&(1<<r)-1},concat:function(e,t){if(0===e.length||0===t.length)return e.concat(t);var r=e[e.length-1],n=A.bitArray.getPartial(r);return 32===n?e.concat(t):A.bitArray.$(t,n,0|r,e.slice(0,e.length-1))},bitLength:function(e){var t=e.length;return 0===t?0:32*(t-1)+A.bitArray.getPartial(e[t-1])},clamp:function(e,t){if(32*e.length<t)return e;var r=(e=e.slice(0,Math.ceil(t/32))).length;return t&=31,0<r&&t&&(e[r-1]=A.bitArray.partial(t,e[r-1]&2147483648>>t-1,1)),e},partial:function(e,t,r){return 32===e?t:(r?0|t:t<<32-e)+1099511627776*e},getPartial:function(e){return Math.round(e/1099511627776)||32},equal:function(e,t){if(A.bitArray.bitLength(e)!==A.bitArray.bitLength(t))return!1;var r,n=0;for(r=0;r<e.length;r++)n|=e[r]^t[r];return 0===n},$:function(e,t,r,n){var i;for(i=0,void 0===n&&(n=[]);32<=t;t-=32)n.push(r),r=0;if(0===t)return n.concat(e);for(i=0;i<e.length;i++)n.push(r|e[i]>>>t),r=e[i]<<32-t;return i=e.length?e[e.length-1]:0,e=A.bitArray.getPartial(i),n.push(A.bitArray.partial(t+e&31,32<t+e?r:n.pop(),1)),n},i:function(e,t){return[e[0]^t[0],e[1]^t[1],e[2]^t[2],e[3]^t[3]]},byteswapM:function(e){var t,r;for(t=0;t<e.length;++t)r=e[t],e[t]=r>>>24|r>>>8&65280|(65280&r)<<8|r<<24;return e}},A.codec.utf8String={fromBits:function(e){var t,r,n="",i=A.bitArray.bitLength(e);for(t=0;t<i/8;t++)0==(3&t)&&(r=e[t/4]),n+=String.fromCharCode(r>>>8>>>8>>>8),r<<=8;return decodeURIComponent(escape(n))},toBits:function(e){e=unescape(encodeURIComponent(e));var t,r=[],n=0;for(t=0;t<e.length;t++)n=n<<8|e.charCodeAt(t),3==(3&t)&&(r.push(n),n=0);return 3&t&&r.push(A.bitArray.partial(8*(3&t),n)),r}},A.codec.hex={fromBits:function(e){var t,r="";for(t=0;t<e.length;t++)r+=(0xf00000000000+(0|e[t])).toString(16).substr(4);return r.substr(0,A.bitArray.bitLength(e)/4)},toBits:function(e){var t,r,n=[];for(r=(e=e.replace(/\s|0x/g,"")).length,e+="00000000",t=0;t<e.length;t+=8)n.push(0^parseInt(e.substr(t,8),16));return A.bitArray.clamp(n,4*r)}},A.codec.base32={B:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",X:"0123456789ABCDEFGHIJKLMNOPQRSTUV",BITS:32,BASE:5,REMAINING:27,fromBits:function(e,t,r){var n=A.codec.base32.BASE,i=A.codec.base32.REMAINING,o="",a=0,s=A.codec.base32.B,u=0,l=A.bitArray.bitLength(e);for(r&&(s=A.codec.base32.X),r=0;o.length*n<l;)o+=s.charAt((u^e[r]>>>a)>>>i),a<n?(u=e[r]<<n-a,a+=i,r++):(u<<=n,a-=n);for(;7&o.length&&!t;)o+="=";return o},toBits:function(e,t){e=e.replace(/\s|=/g,"").toUpperCase();var r,n,i=A.codec.base32.BITS,o=A.codec.base32.BASE,a=A.codec.base32.REMAINING,s=[],u=0,l=A.codec.base32.B,c=0,f="base32";for(t&&(l=A.codec.base32.X,f="base32hex"),r=0;r<e.length;r++){if(0>(n=l.indexOf(e.charAt(r)))){if(!t)try{return A.codec.base32hex.toBits(e)}catch(e){}throw new A.exception.invalid("this isn't "+f+"!")}u>a?(u-=a,s.push(c^n>>>u),c=n<<i-u):c^=n<<i-(u+=o)}return 56&u&&s.push(A.bitArray.partial(56&u,c,1)),s}},A.codec.base32hex={fromBits:function(e,t){return A.codec.base32.fromBits(e,t,1)},toBits:function(e){return A.codec.base32.toBits(e,1)}},A.codec.base64={B:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fromBits:function(e,t,r){var n="",i=0,o=A.codec.base64.B,a=0,s=A.bitArray.bitLength(e);for(r&&(o=o.substr(0,62)+"-_"),r=0;6*n.length<s;)n+=o.charAt((a^e[r]>>>i)>>>26),6>i?(a=e[r]<<6-i,i+=26,r++):(a<<=6,i-=6);for(;3&n.length&&!t;)n+="=";return n},toBits:function(e,t){e=e.replace(/\s|=/g,"");var r,n,i=[],o=0,a=A.codec.base64.B,s=0;for(t&&(a=a.substr(0,62)+"-_"),r=0;r<e.length;r++){if(0>(n=a.indexOf(e.charAt(r))))throw new A.exception.invalid("this isn't base64!");26<o?(o-=26,i.push(s^n>>>o),s=n<<32-o):s^=n<<32-(o+=6)}return 56&o&&i.push(A.bitArray.partial(56&o,s,1)),i}},A.codec.base64url={fromBits:function(e){return A.codec.base64.fromBits(e,1,1)},toBits:function(e){return A.codec.base64.toBits(e,1)}},A.hash.sha256=function(e){this.b[0]||this.O(),e?(this.F=e.F.slice(0),this.A=e.A.slice(0),this.l=e.l):this.reset()},A.hash.sha256.hash=function(e){return(new A.hash.sha256).update(e).finalize()},A.hash.sha256.prototype={blockSize:512,reset:function(){return this.F=this.Y.slice(0),this.A=[],this.l=0,this},update:function(e){"string"==typeof e&&(e=A.codec.utf8String.toBits(e));var t,r=this.A=A.bitArray.concat(this.A,e);if(t=this.l,9007199254740991<(e=this.l=t+A.bitArray.bitLength(e)))throw new A.exception.invalid("Cannot hash more than 2^53 - 1 bits");if("undefined"!=typeof Uint32Array){var n=new Uint32Array(r),i=0;for(t=512+t-(512+t&511);t<=e;t+=512)o(this,n.subarray(16*i,16*(i+1))),i+=1;r.splice(0,16*i)}else for(t=512+t-(512+t&511);t<=e;t+=512)o(this,r.splice(0,16));return this},finalize:function(){var e,t=this.A,r=this.F;for(e=(t=A.bitArray.concat(t,[A.bitArray.partial(1,1)])).length+2;15&e;e++)t.push(0);for(t.push(Math.floor(this.l/4294967296)),t.push(0|this.l);t.length;)o(this,t.splice(0,16));return this.reset(),r},Y:[],b:[],O:function(){function e(e){return 4294967296*(e-Math.floor(e))|0}for(var t,r,n=0,A=2;64>n;A++){for(r=!0,t=2;t*t<=A;t++)if(0==A%t){r=!1;break}r&&(8>n&&(this.Y[n]=e(Math.pow(A,.5))),this.b[n]=e(Math.pow(A,1/3)),n++)}}},A.mode.ccm={name:"ccm",G:[],listenProgress:function(e){A.mode.ccm.G.push(e)},unListenProgress:function(e){-1<(e=A.mode.ccm.G.indexOf(e))&&A.mode.ccm.G.splice(e,1)},fa:function(e){var t,r=A.mode.ccm.G.slice();for(t=0;t<r.length;t+=1)r[t](e)},encrypt:function(e,t,r,n,i){var o,a=t.slice(0),s=A.bitArray,u=s.bitLength(r)/8,l=s.bitLength(a)/8;if(i=i||64,n=n||[],7>u)throw new A.exception.invalid("ccm: iv must be at least 7 bytes");for(o=2;4>o&&l>>>8*o;o++);return o<15-u&&(o=15-u),r=s.clamp(r,8*(15-o)),t=A.mode.ccm.V(e,t,r,n,i,o),a=A.mode.ccm.C(e,a,r,t,i,o),s.concat(a.data,a.tag)},decrypt:function(e,t,r,n,i){i=i||64,n=n||[];var o=A.bitArray,a=o.bitLength(r)/8,s=o.bitLength(t),u=o.clamp(t,s-i),l=o.bitSlice(t,s-i);s=(s-i)/8;if(7>a)throw new A.exception.invalid("ccm: iv must be at least 7 bytes");for(t=2;4>t&&s>>>8*t;t++);if(t<15-a&&(t=15-a),r=o.clamp(r,8*(15-t)),u=A.mode.ccm.C(e,u,r,l,i,t),e=A.mode.ccm.V(e,u.data,r,n,i,t),!o.equal(u.tag,e))throw new A.exception.corrupt("ccm: tag doesn't match");return u.data},na:function(e,t,r,n,i,o){var a=[],s=A.bitArray,u=s.i;if(n=[s.partial(8,(t.length?64:0)|n-2<<2|o-1)],(n=s.concat(n,r))[3]|=i,n=e.encrypt(n),t.length)for(65279>=(r=s.bitLength(t)/8)?a=[s.partial(16,r)]:4294967295>=r&&(a=s.concat([s.partial(16,65534)],[r])),a=s.concat(a,t),t=0;t<a.length;t+=4)n=e.encrypt(u(n,a.slice(t,t+4).concat([0,0,0])));return n},V:function(e,t,r,n,i,o){var a=A.bitArray,s=a.i;if((i/=8)%2||4>i||16<i)throw new A.exception.invalid("ccm: invalid tag length");if(4294967295<n.length||4294967295<t.length)throw new A.exception.bug("ccm: can't deal with 4GiB or more data");for(r=A.mode.ccm.na(e,n,r,i,a.bitLength(t)/8,o),n=0;n<t.length;n+=4)r=e.encrypt(s(r,t.slice(n,n+4).concat([0,0,0])));return a.clamp(r,8*i)},C:function(e,t,r,n,i,o){var a,s=A.bitArray;a=s.i;var u=t.length,l=s.bitLength(t),c=u/50,f=c;if(r=s.concat([s.partial(8,o-1)],r).concat([0,0,0]).slice(0,4),n=s.bitSlice(a(n,e.encrypt(r)),0,i),!u)return{tag:n,data:[]};for(a=0;a<u;a+=4)a>c&&(A.mode.ccm.fa(a/u),c+=f),r[3]++,i=e.encrypt(r),t[a]^=i[0],t[a+1]^=i[1],t[a+2]^=i[2],t[a+3]^=i[3];return{tag:n,data:s.clamp(t,l)}}},A.mode.ocb2={name:"ocb2",encrypt:function(e,t,r,n,i,o){if(128!==A.bitArray.bitLength(r))throw new A.exception.invalid("ocb iv must be 128 bits");var a,s=A.mode.ocb2.S,u=A.bitArray,l=u.i,c=[0,0,0,0];r=s(e.encrypt(r));var f,d=[];for(n=n||[],i=i||64,a=0;a+4<t.length;a+=4)c=l(c,f=t.slice(a,a+4)),d=d.concat(l(r,e.encrypt(l(r,f)))),r=s(r);return f=t.slice(a),t=u.bitLength(f),a=e.encrypt(l(r,[0,0,0,t])),f=u.clamp(l(f.concat([0,0,0]),a),t),c=l(c,l(f.concat([0,0,0]),a)),c=e.encrypt(l(c,l(r,s(r)))),n.length&&(c=l(c,o?n:A.mode.ocb2.pmac(e,n))),d.concat(u.concat(f,u.clamp(c,i)))},decrypt:function(e,t,r,n,i,o){if(128!==A.bitArray.bitLength(r))throw new A.exception.invalid("ocb iv must be 128 bits");i=i||64;var a,s,u=A.mode.ocb2.S,l=A.bitArray,c=l.i,f=[0,0,0,0],d=u(e.encrypt(r)),g=A.bitArray.bitLength(t)-i,h=[];for(n=n||[],r=0;r+4<g/32;r+=4)a=c(d,e.decrypt(c(d,t.slice(r,r+4)))),f=c(f,a),h=h.concat(a),d=u(d);if(s=g-32*r,a=e.encrypt(c(d,[0,0,0,s])),a=c(a,l.clamp(t.slice(r),s).concat([0,0,0])),f=c(f,a),f=e.encrypt(c(f,c(d,u(d)))),n.length&&(f=c(f,o?n:A.mode.ocb2.pmac(e,n))),!l.equal(l.clamp(f,i),l.bitSlice(t,g)))throw new A.exception.corrupt("ocb: tag doesn't match");return h.concat(l.clamp(a,s))},pmac:function(e,t){var r,n=A.mode.ocb2.S,i=A.bitArray,o=i.i,a=[0,0,0,0],s=o(s=e.encrypt([0,0,0,0]),n(n(s)));for(r=0;r+4<t.length;r+=4)s=n(s),a=o(a,e.encrypt(o(s,t.slice(r,r+4))));return r=t.slice(r),128>i.bitLength(r)&&(s=o(s,n(s)),r=i.concat(r,[-2147483648,0,0,0])),a=o(a,r),e.encrypt(o(n(o(s,n(s))),a))},S:function(e){return[e[0]<<1^e[1]>>>31,e[1]<<1^e[2]>>>31,e[2]<<1^e[3]>>>31,e[3]<<1^135*(e[0]>>>31)]}},A.mode.gcm={name:"gcm",encrypt:function(e,t,r,n,i){var o=t.slice(0);return t=A.bitArray,n=n||[],e=A.mode.gcm.C(!0,e,o,n,r,i||128),t.concat(e.data,e.tag)},decrypt:function(e,t,r,n,i){var o=t.slice(0),a=A.bitArray,s=a.bitLength(o);if(n=n||[],(i=i||128)<=s?(t=a.bitSlice(o,s-i),o=a.bitSlice(o,0,s-i)):(t=o,o=[]),e=A.mode.gcm.C(!1,e,o,n,r,i),!a.equal(e.tag,t))throw new A.exception.corrupt("gcm: tag doesn't match");return e.data},ka:function(e,t){var r,n,i,o,a,s=A.bitArray.i;for(i=[0,0,0,0],o=t.slice(0),r=0;128>r;r++){for((n=0!=(e[Math.floor(r/32)]&1<<31-r%32))&&(i=s(i,o)),a=0!=(1&o[3]),n=3;0<n;n--)o[n]=o[n]>>>1|(1&o[n-1])<<31;o[0]>>>=1,a&&(o[0]^=-520093696)}return i},j:function(e,t,r){var n,i=r.length;for(t=t.slice(0),n=0;n<i;n+=4)t[0]^=4294967295&r[n],t[1]^=4294967295&r[n+1],t[2]^=4294967295&r[n+2],t[3]^=4294967295&r[n+3],t=A.mode.gcm.ka(t,e);return t},C:function(e,t,r,n,i,o){var a,s,u,l,c,f,d,g,h=A.bitArray;for(f=r.length,d=h.bitLength(r),g=h.bitLength(n),s=h.bitLength(i),a=t.encrypt([0,0,0,0]),96===s?(i=i.slice(0),i=h.concat(i,[1])):(i=A.mode.gcm.j(a,[0,0,0,0],i),i=A.mode.gcm.j(a,i,[0,0,Math.floor(s/4294967296),4294967295&s])),s=A.mode.gcm.j(a,[0,0,0,0],n),c=i.slice(0),n=s.slice(0),e||(n=A.mode.gcm.j(a,s,r)),l=0;l<f;l+=4)c[3]++,u=t.encrypt(c),r[l]^=u[0],r[l+1]^=u[1],r[l+2]^=u[2],r[l+3]^=u[3];return r=h.clamp(r,d),e&&(n=A.mode.gcm.j(a,s,r)),e=[Math.floor(g/4294967296),4294967295&g,Math.floor(d/4294967296),4294967295&d],n=A.mode.gcm.j(a,n,e),u=t.encrypt(i),n[0]^=u[0],n[1]^=u[1],n[2]^=u[2],n[3]^=u[3],{tag:h.bitSlice(n,0,o),data:r}}},A.misc.hmac=function(e,t){this.W=t=t||A.hash.sha256;var r,n=[[],[]],i=t.prototype.blockSize/32;for(this.w=[new t,new t],e.length>i&&(e=t.hash(e)),r=0;r<i;r++)n[0][r]=909522486^e[r],n[1][r]=1549556828^e[r];this.w[0].update(n[0]),this.w[1].update(n[1]),this.R=new t(this.w[0])},A.misc.hmac.prototype.encrypt=A.misc.hmac.prototype.mac=function(e){if(this.aa)throw new A.exception.invalid("encrypt on already updated hmac called!");return this.update(e),this.digest(e)},A.misc.hmac.prototype.reset=function(){this.R=new this.W(this.w[0]),this.aa=!1},A.misc.hmac.prototype.update=function(e){this.aa=!0,this.R.update(e)},A.misc.hmac.prototype.digest=function(){var e=this.R.finalize();e=new this.W(this.w[1]).update(e).finalize();return this.reset(),e},A.misc.pbkdf2=function(e,t,r,n,i){if(r=r||1e4,0>n||0>r)throw new A.exception.invalid("invalid params to pbkdf2");"string"==typeof e&&(e=A.codec.utf8String.toBits(e)),"string"==typeof t&&(t=A.codec.utf8String.toBits(t)),e=new(i=i||A.misc.hmac)(e);var o,a,s,u,l=[],c=A.bitArray;for(u=1;32*l.length<(n||1);u++){for(i=o=e.encrypt(c.concat(t,[u])),a=1;a<r;a++)for(o=e.encrypt(o),s=0;s<o.length;s++)i[s]^=o[s];l=l.concat(i)}return n&&(l=c.clamp(l,n)),l},A.prng=function(e){this.c=[new A.hash.sha256],this.m=[0],this.P=0,this.H={},this.N=0,this.U={},this.Z=this.f=this.o=this.ha=0,this.b=[0,0,0,0,0,0,0,0],this.h=[0,0,0,0],this.L=void 0,this.M=e,this.D=!1,this.K={progress:{},seeded:{}},this.u=this.ga=0,this.I=1,this.J=2,this.ca=65536,this.T=[0,48,64,96,128,192,256,384,512,768,1024],this.da=3e4,this.ba=80},A.prng.prototype={randomWords:function(e,t){var r,n,i=[];if((r=this.isReady(t))===this.u)throw new A.exception.notReady("generator isn't seeded");if(r&this.J){r=!(r&this.I),n=[];var o,a=0;for(this.Z=n[0]=(new Date).valueOf()+this.da,o=0;16>o;o++)n.push(4294967296*Math.random()|0);for(o=0;o<this.c.length&&(n=n.concat(this.c[o].finalize()),a+=this.m[o],this.m[o]=0,r||!(this.P&1<<o));o++);for(this.P>=1<<this.c.length&&(this.c.push(new A.hash.sha256),this.m.push(0)),this.f-=a,a>this.o&&(this.o=a),this.P++,this.b=A.hash.sha256.hash(this.b.concat(n)),this.L=new A.cipher.aes(this.b),r=0;4>r&&(this.h[r]=this.h[r]+1|0,!this.h[r]);r++);}for(r=0;r<e;r+=4)0==(r+1)%this.ca&&u(this),n=l(this),i.push(n[0],n[1],n[2],n[3]);return u(this),i.slice(0,e)},setDefaultParanoia:function(e,t){if(0===e&&"Setting paranoia=0 will ruin your security; use it only for testing"!==t)throw new A.exception.invalid("Setting paranoia=0 will ruin your security; use it only for testing");this.M=e},addEntropy:function(e,t,r){r=r||"user";var n,i,o=(new Date).valueOf(),s=this.H[r],u=this.isReady(),l=0;switch(void 0===(n=this.U[r])&&(n=this.U[r]=this.ha++),void 0===s&&(s=this.H[r]=0),this.H[r]=(this.H[r]+1)%this.c.length,typeof e){case"number":void 0===t&&(t=1),this.c[s].update([n,this.N++,1,t,o,1,0|e]);break;case"object":if("[object Uint32Array]"===(r=Object.prototype.toString.call(e))){for(i=[],r=0;r<e.length;r++)i.push(e[r]);e=i}else for("[object Array]"!==r&&(l=1),r=0;r<e.length&&!l;r++)"number"!=typeof e[r]&&(l=1);if(!l){if(void 0===t)for(r=t=0;r<e.length;r++)for(i=e[r];0<i;)t++,i>>>=1;this.c[s].update([n,this.N++,2,t,o,e.length].concat(e))}break;case"string":void 0===t&&(t=e.length),this.c[s].update([n,this.N++,3,t,o,e.length]),this.c[s].update(e);break;default:l=1}if(l)throw new A.exception.bug("random: addEntropy only supports number, array of numbers or string");this.m[s]+=t,this.f+=t,u===this.u&&(this.isReady()!==this.u&&a("seeded",Math.max(this.o,this.f)),a("progress",this.getProgress()))},isReady:function(e){return e=this.T[void 0!==e?e:this.M],this.o&&this.o>=e?this.m[0]>this.ba&&(new Date).valueOf()>this.Z?this.J|this.I:this.I:this.f>=e?this.J|this.u:this.u},getProgress:function(e){return e=this.T[e||this.M],this.o>=e?1:this.f>e?1:this.f/e},startCollectors:function(){if(!this.D){if(this.a={loadTimeCollector:c(this,this.ma),mouseCollector:c(this,this.oa),keyboardCollector:c(this,this.la),accelerometerCollector:c(this,this.ea),touchCollector:c(this,this.qa)},window.addEventListener)window.addEventListener("load",this.a.loadTimeCollector,!1),window.addEventListener("mousemove",this.a.mouseCollector,!1),window.addEventListener("keypress",this.a.keyboardCollector,!1),window.addEventListener("devicemotion",this.a.accelerometerCollector,!1),window.addEventListener("touchmove",this.a.touchCollector,!1);else{if(!document.attachEvent)throw new A.exception.bug("can't attach event");document.attachEvent("onload",this.a.loadTimeCollector),document.attachEvent("onmousemove",this.a.mouseCollector),document.attachEvent("keypress",this.a.keyboardCollector)}this.D=!0}},stopCollectors:function(){this.D&&(window.removeEventListener?(window.removeEventListener("load",this.a.loadTimeCollector,!1),window.removeEventListener("mousemove",this.a.mouseCollector,!1),window.removeEventListener("keypress",this.a.keyboardCollector,!1),window.removeEventListener("devicemotion",this.a.accelerometerCollector,!1),window.removeEventListener("touchmove",this.a.touchCollector,!1)):document.detachEvent&&(document.detachEvent("onload",this.a.loadTimeCollector),document.detachEvent("onmousemove",this.a.mouseCollector),document.detachEvent("keypress",this.a.keyboardCollector)),this.D=!1)},addEventListener:function(e,t){this.K[e][this.ga++]=t},removeEventListener:function(e,t){var r,n,A=this.K[e],i=[];for(n in A)A.hasOwnProperty(n)&&A[n]===t&&i.push(n);for(r=0;r<i.length;r++)delete A[n=i[r]]},la:function(){s(this,1)},oa:function(e){var t,r;try{t=e.x||e.clientX||e.offsetX||0,r=e.y||e.clientY||e.offsetY||0}catch(e){r=t=0}0!=t&&0!=r&&this.addEntropy([t,r],2,"mouse"),s(this,0)},qa:function(e){e=e.touches[0]||e.changedTouches[0],this.addEntropy([e.pageX||e.clientX,e.pageY||e.clientY],1,"touch"),s(this,0)},ma:function(){s(this,2)},ea:function(e){if(e=e.accelerationIncludingGravity.x||e.accelerationIncludingGravity.y||e.accelerationIncludingGravity.z,window.orientation){var t=window.orientation;"number"==typeof t&&this.addEntropy(t,1,"accelerometer")}e&&this.addEntropy(e,2,"accelerometer"),s(this,0)}},A.random=new A.prng(6);e:try{var f,d,g,h;if(h=e.exports){var p;try{p=r(72)}catch(e){p=null}h=d=p}if(h&&d.randomBytes)f=d.randomBytes(128),f=new Uint32Array(new Uint8Array(f).buffer),A.random.addEntropy(f,1024,"crypto['randomBytes']");else if("undefined"!=typeof window&&"undefined"!=typeof Uint32Array){if(g=new Uint32Array(32),window.crypto&&window.crypto.getRandomValues)window.crypto.getRandomValues(g);else{if(!window.msCrypto||!window.msCrypto.getRandomValues)break e;window.msCrypto.getRandomValues(g)}A.random.addEntropy(g,1024,"crypto['getRandomValues']")}}catch(e){"undefined"!=typeof window&&window.console&&(console.log("There was an error collecting entropy from the browser:"),console.log(e))}A.json={defaults:{v:1,iter:1e4,ks:128,ts:64,mode:"ccm",adata:"",cipher:"aes"},ja:function(e,t,r,n){r=r||{},n=n||{};var i,o=A.json,a=o.g({iv:A.random.randomWords(4,0)},o.defaults);if(o.g(a,r),r=a.adata,"string"==typeof a.salt&&(a.salt=A.codec.base64.toBits(a.salt)),"string"==typeof a.iv&&(a.iv=A.codec.base64.toBits(a.iv)),!A.mode[a.mode]||!A.cipher[a.cipher]||"string"==typeof e&&100>=a.iter||64!==a.ts&&96!==a.ts&&128!==a.ts||128!==a.ks&&192!==a.ks&&256!==a.ks||2>a.iv.length||4<a.iv.length)throw new A.exception.invalid("json encrypt: invalid parameters");return"string"==typeof e?(e=(i=A.misc.cachedPbkdf2(e,a)).key.slice(0,a.ks/32),a.salt=i.salt):A.ecc&&e instanceof A.ecc.elGamal.publicKey&&(i=e.kem(),a.kemtag=i.tag,e=i.key.slice(0,a.ks/32)),"string"==typeof t&&(t=A.codec.utf8String.toBits(t)),"string"==typeof r&&(a.adata=r=A.codec.utf8String.toBits(r)),i=new A.cipher[a.cipher](e),o.g(n,a),n.key=e,a.ct="ccm"===a.mode&&A.arrayBuffer&&A.arrayBuffer.ccm&&t instanceof ArrayBuffer?A.arrayBuffer.ccm.encrypt(i,t,a.iv,r,a.ts):A.mode[a.mode].encrypt(i,t,a.iv,r,a.ts),a},encrypt:function(e,t,r,n){var i=A.json,o=i.ja.apply(i,arguments);return i.encode(o)},ia:function(e,t,r,n){r=r||{},n=n||{};var i,o,a=A.json;if(i=(t=a.g(a.g(a.g({},a.defaults),t),r,!0)).adata,"string"==typeof t.salt&&(t.salt=A.codec.base64.toBits(t.salt)),"string"==typeof t.iv&&(t.iv=A.codec.base64.toBits(t.iv)),!A.mode[t.mode]||!A.cipher[t.cipher]||"string"==typeof e&&100>=t.iter||64!==t.ts&&96!==t.ts&&128!==t.ts||128!==t.ks&&192!==t.ks&&256!==t.ks||!t.iv||2>t.iv.length||4<t.iv.length)throw new A.exception.invalid("json decrypt: invalid parameters");return"string"==typeof e?(e=(o=A.misc.cachedPbkdf2(e,t)).key.slice(0,t.ks/32),t.salt=o.salt):A.ecc&&e instanceof A.ecc.elGamal.secretKey&&(e=e.unkem(A.codec.base64.toBits(t.kemtag)).slice(0,t.ks/32)),"string"==typeof i&&(i=A.codec.utf8String.toBits(i)),o=new A.cipher[t.cipher](e),i="ccm"===t.mode&&A.arrayBuffer&&A.arrayBuffer.ccm&&t.ct instanceof ArrayBuffer?A.arrayBuffer.ccm.decrypt(o,t.ct,t.iv,t.tag,i,t.ts):A.mode[t.mode].decrypt(o,t.ct,t.iv,i,t.ts),a.g(n,t),n.key=e,1===r.raw?i:A.codec.utf8String.fromBits(i)},decrypt:function(e,t,r,n){var i=A.json;return i.ia(e,i.decode(t),r,n)},encode:function(e){var t,r="{",n="";for(t in e)if(e.hasOwnProperty(t)){if(!t.match(/^[a-z0-9]+$/i))throw new A.exception.invalid("json encode: invalid property name");switch(r+=n+'"'+t+'":',n=",",typeof e[t]){case"number":case"boolean":r+=e[t];break;case"string":r+='"'+escape(e[t])+'"';break;case"object":r+='"'+A.codec.base64.fromBits(e[t],0)+'"';break;default:throw new A.exception.bug("json encode: unsupported type")}}return r+"}"},decode:function(e){if(!(e=e.replace(/\s/g,"")).match(/^\{.*\}$/))throw new A.exception.invalid("json decode: this isn't json!");e=e.replace(/^\{|\}$/g,"").split(/,/);var t,r,n={};for(t=0;t<e.length;t++){if(!(r=e[t].match(/^\s*(?:(["']?)([a-z][a-z0-9]*)\1)\s*:\s*(?:(-?\d+)|"([a-z0-9+\/%*_.@=\-]*)"|(true|false))$/i)))throw new A.exception.invalid("json decode: this isn't json!");null!=r[3]?n[r[2]]=parseInt(r[3],10):null!=r[4]?n[r[2]]=r[2].match(/^(ct|adata|salt|iv)$/)?A.codec.base64.toBits(r[4]):unescape(r[4]):null!=r[5]&&(n[r[2]]="true"===r[5])}return n},g:function(e,t,r){if(void 0===e&&(e={}),void 0===t)return e;for(var n in t)if(t.hasOwnProperty(n)){if(r&&void 0!==e[n]&&e[n]!==t[n])throw new A.exception.invalid("required parameter overridden");e[n]=t[n]}return e},sa:function(e,t){var r,n={};for(r in e)e.hasOwnProperty(r)&&e[r]!==t[r]&&(n[r]=e[r]);return n},ra:function(e,t){var r,n={};for(r=0;r<t.length;r++)void 0!==e[t[r]]&&(n[t[r]]=e[t[r]]);return n}},A.encrypt=A.json.encrypt,A.decrypt=A.json.decrypt,A.misc.pa={},A.misc.cachedPbkdf2=function(e,t){var r,n=A.misc.pa;return r=(t=t||{}).iter||1e3,(r=(n=n[e]=n[e]||{})[r]=n[r]||{firstSalt:t.salt&&t.salt.length?t.salt.slice(0):A.random.randomWords(2,0)})[n=void 0===t.salt?r.firstSalt:t.salt]=r[n]||A.misc.pbkdf2(e,n,t.iter),{key:r[n].slice(0),salt:n.slice(0)}},e.exports&&(e.exports=A),void 0===(n=function(){return A}.apply(t,[]))||(e.exports=n)},function(e,t){},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(562);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,A,i=n.allocUnsafe(e>>>0),o=this.head,a=0;o;)t=o.data,r=i,A=a,t.copy(r,A),a+=o.data.length,o=o.next;return i},e}(),A&&A.inspect&&A.inspect.custom&&(e.exports.prototype[A.inspect.custom]=function(){var e=A.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,A,i,o,a,s=1,u={},l=!1,c=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?n=function(){var e=d(arguments);return t.nextTick(g(h,e)),e}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},n=function(){var e=d(arguments);return i.port2.postMessage(e),e}):c&&"onreadystatechange"in c.createElement("script")?(A=c.documentElement,n=function(){var e=d(arguments),t=c.createElement("script");return t.onreadystatechange=function(){h(e),t.onreadystatechange=null,A.removeChild(t),t=null},A.appendChild(t),e}):n=function(){var e=d(arguments);return setTimeout(g(h,e),0),e}:(o="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&h(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(){var t=d(arguments);return e.postMessage(o+t,"*"),t}),f.setImmediate=n,f.clearImmediate=p}function d(e){return u[s]=g.apply(r,e),s++}function g(e){var t=[].slice.call(arguments,1);return function(){"function"==typeof e?e.apply(r,t):new Function(""+e)()}}function h(e){if(l)setTimeout(g(h,e),0);else{var t=u[e];if(t){l=!0;try{t()}finally{p(e),l=!1}}}}function p(e){delete u[e]}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,r(34),r(50))},function(e,t,r){(function(t){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,r(34))},function(e,t,r){"use strict";e.exports=i;var n=r(393),A=r(172);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}A.inherits=r(20),A.inherits(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){e.exports=r(258)},function(e,t,r){e.exports=r(121)},function(e,t,r){e.exports=r(195).Transform},function(e,t,r){e.exports=r(195).PassThrough},function(e,t,r){var n=r(20),A=r(148),i=r(15).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function s(){this.init(),this._w=a,A.call(this,64,56)}function u(e){return e<<30|e>>>2}function l(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(s,A),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,A=0|this._b,i=0|this._c,a=0|this._d,s=0|this._e,c=0;c<16;++c)r[c]=e.readInt32BE(4*c);for(;c<80;++c)r[c]=r[c-3]^r[c-8]^r[c-14]^r[c-16];for(var f=0;f<80;++f){var d=~~(f/20),g=0|((t=n)<<5|t>>>27)+l(d,A,i,a)+s+r[f]+o[d];s=a,a=i,i=u(A),A=n,n=g}this._a=n+this._a|0,this._b=A+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},s.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=s},function(e,t,r){var n=r(20),A=r(148),i=r(15).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function s(){this.init(),this._w=a,A.call(this,64,56)}function u(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function c(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(s,A),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,A=0|this._b,i=0|this._c,a=0|this._d,s=0|this._e,f=0;f<16;++f)r[f]=e.readInt32BE(4*f);for(;f<80;++f)r[f]=(t=r[f-3]^r[f-8]^r[f-14]^r[f-16])<<1|t>>>31;for(var d=0;d<80;++d){var g=~~(d/20),h=u(n)+c(g,A,i,a)+s+r[d]+o[g]|0;s=a,a=i,i=l(A),A=n,n=h}this._a=n+this._a|0,this._b=A+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},s.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=s},function(e,t,r){var n=r(20),A=r(394),i=r(148),o=r(15).Buffer,a=new Array(64);function s(){this.init(),this._w=a,i.call(this,64,56)}n(s,A),s.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},s.prototype._hash=function(){var e=o.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=s},function(e,t,r){var n=r(20),A=r(395),i=r(148),o=r(15).Buffer,a=new Array(160);function s(){this.init(),this._w=a,i.call(this,128,112)}n(s,A),s.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},s.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=s},function(e,t,r){"use strict";var n=r(20),A=r(15).Buffer,i=r(106),o=A.alloc(128),a=64;function s(e,t){i.call(this,"digest"),"string"==typeof t&&(t=A.from(t)),this._alg=e,this._key=t,t.length>a?t=e(t):t.length<a&&(t=A.concat([t,o],a));for(var r=this._ipad=A.allocUnsafe(a),n=this._opad=A.allocUnsafe(a),s=0;s<a;s++)r[s]=54^t[s],n[s]=92^t[s];this._hash=[r]}n(s,i),s.prototype._update=function(e){this._hash.push(e)},s.prototype._final=function(){var e=this._alg(A.concat(this._hash));return this._alg(A.concat([this._opad,e]))},e.exports=s},function(e,t,r){e.exports=r(397)},function(e,t,r){(function(t,n){var A,i=r(398),o=r(399),a=r(400),s=r(15).Buffer,u=t.crypto&&t.crypto.subtle,l={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},c=[];function f(e,t,r,n,A){return u.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return u.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:A}},e,n<<3)}).then(function(e){return s.from(e)})}e.exports=function(e,r,d,g,h,p){"function"==typeof h&&(p=h,h=void 0);var I=l[(h=h||"sha1").toLowerCase()];if(!I||"function"!=typeof t.Promise)return n.nextTick(function(){var t;try{t=a(e,r,d,g,h)}catch(e){return p(e)}p(null,t)});if(i(e,r,d,g),"function"!=typeof p)throw new Error("No callback provided to pbkdf2");s.isBuffer(e)||(e=s.from(e,o)),s.isBuffer(r)||(r=s.from(r,o)),function(e,t){e.then(function(e){n.nextTick(function(){t(null,e)})},function(e){n.nextTick(function(){t(e)})})}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==c[e])return c[e];var r=f(A=A||s.alloc(8),A,10,128,e).then(function(){return!0}).catch(function(){return!1});return c[e]=r,r}(I).then(function(t){return t?f(e,r,d,g,I):a(e,r,d,g,h)}),p)}}).call(this,r(34),r(50))},function(e,t,r){var n=r(578),A=r(196),i=r(262),o=r(593),a=r(215);function s(e,t,r){if(e=e.toLowerCase(),i[e])return A.createCipheriv(e,t,r);if(o[e])return new n({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function u(e,t,r){if(e=e.toLowerCase(),i[e])return A.createDecipheriv(e,t,r);if(o[e])return new n({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var r,n;if(e=e.toLowerCase(),i[e])r=i[e].key,n=i[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");r=8*o[e].key,n=o[e].iv}var A=a(t,!1,r,n);return s(e,A.key,A.iv)},t.createCipheriv=t.Cipheriv=s,t.createDecipher=t.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),i[e])r=i[e].key,n=i[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");r=8*o[e].key,n=o[e].iv}var A=a(t,!1,r,n);return u(e,A.key,A.iv)},t.createDecipheriv=t.Decipheriv=u,t.listCiphers=t.getCiphers=function(){return Object.keys(o).concat(A.getCiphers())}},function(e,t,r){var n=r(106),A=r(261),i=r(20),o=r(15).Buffer,a={"des-ede3-cbc":A.CBC.instantiate(A.EDE),"des-ede3":A.EDE,"des-ede-cbc":A.CBC.instantiate(A.EDE),"des-ede":A.EDE,"des-cbc":A.CBC.instantiate(A.DES),"des-ecb":A.DES};function s(e){n.call(this);var t,r=e.mode.toLowerCase(),A=a[r];t=e.decrypt?"decrypt":"encrypt";var i=e.key;o.isBuffer(i)||(i=o.from(i)),"des-ede"!==r&&"des-ede-cbc"!==r||(i=o.concat([i,i.slice(0,8)]));var s=e.iv;o.isBuffer(s)||(s=o.from(s)),this._des=A.create({key:i,iv:s,type:t})}a.des=a["des-cbc"],a.des3=a["des-ede3-cbc"],e.exports=s,i(s,n),s.prototype._update=function(e){return o.from(this._des.update(e))},s.prototype._final=function(){return o.from(this._des.final())}},function(e,t,r){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},t.ip=function(e,t,r,n){for(var A=0,i=0,o=6;o>=0;o-=2){for(var a=0;a<=24;a+=8)A<<=1,A|=t>>>a+o&1;for(a=0;a<=24;a+=8)A<<=1,A|=e>>>a+o&1}for(o=6;o>=0;o-=2){for(a=1;a<=25;a+=8)i<<=1,i|=t>>>a+o&1;for(a=1;a<=25;a+=8)i<<=1,i|=e>>>a+o&1}r[n+0]=A>>>0,r[n+1]=i>>>0},t.rip=function(e,t,r,n){for(var A=0,i=0,o=0;o<4;o++)for(var a=24;a>=0;a-=8)A<<=1,A|=t>>>a+o&1,A<<=1,A|=e>>>a+o&1;for(o=4;o<8;o++)for(a=24;a>=0;a-=8)i<<=1,i|=t>>>a+o&1,i<<=1,i|=e>>>a+o&1;r[n+0]=A>>>0,r[n+1]=i>>>0},t.pc1=function(e,t,r,n){for(var A=0,i=0,o=7;o>=5;o--){for(var a=0;a<=24;a+=8)A<<=1,A|=t>>a+o&1;for(a=0;a<=24;a+=8)A<<=1,A|=e>>a+o&1}for(a=0;a<=24;a+=8)A<<=1,A|=t>>a+o&1;for(o=1;o<=3;o++){for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+o&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+o&1}for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+o&1;r[n+0]=A>>>0,r[n+1]=i>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,r,A){for(var i=0,o=0,a=n.length>>>1,s=0;s<a;s++)i<<=1,i|=e>>>n[s]&1;for(s=a;s<n.length;s++)o<<=1,o|=t>>>n[s]&1;r[A+0]=i>>>0,r[A+1]=o>>>0},t.expand=function(e,t,r){var n=0,A=0;n=(1&e)<<5|e>>>27;for(var i=23;i>=15;i-=4)n<<=6,n|=e>>>i&63;for(i=11;i>=3;i-=4)A|=e>>>i&63,A<<=6;A|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=A>>>0};var A=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var r=0,n=0;n<4;n++){r<<=4,r|=A[64*n+(e>>>18-6*n&63)]}for(n=0;n<4;n++){r<<=4,r|=A[256+64*n+(t>>>18-6*n&63)]}return r>>>0};var i=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,r=0;r<i.length;r++)t<<=1,t|=e>>>i[r]&1;return t>>>0},t.padSplit=function(e,t,r){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var A=[],i=0;i<t;i+=r)A.push(n.slice(i,i+r));return A.join(" ")}},function(e,t,r){"use strict";var n=r(57);function A(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=A,A.prototype._init=function(){},A.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},A.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},A.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},A.prototype._updateEncrypt=function(e){var t=0,r=0,n=(this.bufferOff+e.length)/this.blockSize|0,A=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(A,r)));for(var i=e.length-(e.length-t)%this.blockSize;t<i;t+=this.blockSize)this._update(e,t,A,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return A},A.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,A=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(A,r);return t+=this._buffer(e,t),A},A.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},A.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},A.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},A.prototype._unpad=function(e){return e},A.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},function(e,t,r){"use strict";var n=r(57),A=r(20),i=r(261),o=i.utils,a=i.Cipher;function s(){this.tmp=new Array(2),this.keys=null}function u(e){a.call(this,e);var t=new s;this._desState=t,this.deriveKeys(t,e.key)}A(u,a),e.exports=u,u.create=function(e){return new u(e)};var l=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];u.prototype.deriveKeys=function(e,t){e.keys=new Array(32),n.equal(t.length,this.blockSize,"Invalid key length");var r=o.readUInt32BE(t,0),A=o.readUInt32BE(t,4);o.pc1(r,A,e.tmp,0),r=e.tmp[0],A=e.tmp[1];for(var i=0;i<e.keys.length;i+=2){var a=l[i>>>1];r=o.r28shl(r,a),A=o.r28shl(A,a),o.pc2(r,A,e.keys,i)}},u.prototype._update=function(e,t,r,n){var A=this._desState,i=o.readUInt32BE(e,t),a=o.readUInt32BE(e,t+4);o.ip(i,a,A.tmp,0),i=A.tmp[0],a=A.tmp[1],"encrypt"===this.type?this._encrypt(A,i,a,A.tmp,0):this._decrypt(A,i,a,A.tmp,0),i=A.tmp[0],a=A.tmp[1],o.writeUInt32BE(r,i,n),o.writeUInt32BE(r,a,n+4)},u.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},u.prototype._unpad=function(e){for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)n.equal(e[r],t);return e.slice(0,e.length-t)},u.prototype._encrypt=function(e,t,r,n,A){for(var i=t,a=r,s=0;s<e.keys.length;s+=2){var u=e.keys[s],l=e.keys[s+1];o.expand(a,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var c=o.substitute(u,l),f=a;a=(i^o.permute(c))>>>0,i=f}o.rip(a,i,n,A)},u.prototype._decrypt=function(e,t,r,n,A){for(var i=r,a=t,s=e.keys.length-2;s>=0;s-=2){var u=e.keys[s],l=e.keys[s+1];o.expand(i,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var c=o.substitute(u,l),f=i;i=(a^o.permute(c))>>>0,a=f}o.rip(i,a,n,A)}},function(e,t,r){"use strict";var n=r(57),A=r(20),i={};function o(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}t.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}A(t,e);for(var r=Object.keys(i),n=0;n<r.length;n++){var o=r[n];t.prototype[o]=i[o]}return t.create=function(e){return new t(e)},t},i._cbcInit=function(){var e=new o(this.options.iv);this._cbcState=e},i._update=function(e,t,r,n){var A=this._cbcState,i=this.constructor.super_.prototype,o=A.iv;if("encrypt"===this.type){for(var a=0;a<this.blockSize;a++)o[a]^=e[t+a];i._update.call(this,o,0,r,n);for(a=0;a<this.blockSize;a++)o[a]=r[n+a]}else{i._update.call(this,e,t,r,n);for(a=0;a<this.blockSize;a++)r[n+a]^=o[a];for(a=0;a<this.blockSize;a++)o[a]=e[t+a]}}},function(e,t,r){"use strict";var n=r(57),A=r(20),i=r(261),o=i.Cipher,a=i.DES;function s(e,t){n.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),A=t.slice(8,16),i=t.slice(16,24);this.ciphers="encrypt"===e?[a.create({type:"encrypt",key:r}),a.create({type:"decrypt",key:A}),a.create({type:"encrypt",key:i})]:[a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:A}),a.create({type:"decrypt",key:r})]}function u(e){o.call(this,e);var t=new s(this.type,this.options.key);this._edeState=t}A(u,o),e.exports=u,u.create=function(e){return new u(e)},u.prototype._update=function(e,t,r,n){var A=this._edeState;A.ciphers[0]._update(e,t,r,n),A.ciphers[1]._update(r,n,r,n),A.ciphers[2]._update(r,n,r,n)},u.prototype._pad=a.prototype._pad,u.prototype._unpad=a.prototype._unpad},function(e,t,r){var n=r(262),A=r(404),i=r(15).Buffer,o=r(405),a=r(106),s=r(214),u=r(215);function l(e,t,r){a.call(this),this._cache=new f,this._cipher=new s.AES(t),this._prev=i.from(r),this._mode=e,this._autopadding=!0}r(20)(l,a),l.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get();)r=this._mode.encrypt(this,t),n.push(r);return i.concat(n)};var c=i.alloc(16,16);function f(){this.cache=i.allocUnsafe(0)}function d(e,t,r){var a=n[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=i.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof r&&(r=i.from(r)),"GCM"!==a.mode&&r.length!==a.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===a.type?new o(a.module,t,r):"auth"===a.type?new A(a.module,t,r):new l(a.module,t,r)}l.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(c))throw this._cipher.scrub(),new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},f.prototype.add=function(e){this.cache=i.concat([this.cache,e])},f.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},f.prototype.flush=function(){for(var e=16-this.cache.length,t=i.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return i.concat([this.cache,t])},t.createCipheriv=d,t.createCipher=function(e,t){var r=n[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var A=u(t,!1,r.key,r.iv);return d(e,A.key,A.iv)}},function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},function(e,t,r){var n=r(173);t.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},t.decrypt=function(e,t){var r=e._prev;e._prev=t;var A=e._cipher.decryptBlock(t);return n(A,r)}},function(e,t,r){var n=r(15).Buffer,A=r(173);function i(e,t,r){var i=t.length,o=A(t,e._cache);return e._cache=e._cache.slice(i),e._prev=n.concat([e._prev,r?t:o]),o}t.encrypt=function(e,t,r){for(var A,o=n.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=n.allocUnsafe(0)),!(e._cache.length<=t.length)){o=n.concat([o,i(e,t,r)]);break}A=e._cache.length,o=n.concat([o,i(e,t.slice(0,A),r)]),t=t.slice(A)}return o}},function(e,t,r){var n=r(15).Buffer;function A(e,t,r){var A=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=n.concat([e._prev.slice(1),n.from([r?t:A])]),A}t.encrypt=function(e,t,r){for(var i=t.length,o=n.allocUnsafe(i),a=-1;++a<i;)o[a]=A(e,t[a],r);return o}},function(e,t,r){var n=r(15).Buffer;function A(e,t,r){for(var n,A,o=-1,a=0;++o<8;)n=t&1<<7-o?128:0,a+=(128&(A=e._cipher.encryptBlock(e._prev)[0]^n))>>o%8,e._prev=i(e._prev,r?n:A);return a}function i(e,t){var r=e.length,A=-1,i=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++A<r;)i[A]=e[A]<<1|e[A+1]>>7;return i}t.encrypt=function(e,t,r){for(var i=t.length,o=n.allocUnsafe(i),a=-1;++a<i;)o[a]=A(e,t[a],r);return o}},function(e,t,r){(function(e){var n=r(173);function A(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,r){for(;t._cache.length<r.length;)t._cache=e.concat([t._cache,A(t)]);var i=t._cache.slice(0,r.length);return t._cache=t._cache.slice(r.length),n(r,i)}}).call(this,r(8).Buffer)},function(e,t,r){var n=r(15).Buffer,A=n.alloc(16,0);function i(e){var t=n.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function o(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}o.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},o.prototype._multiply=function(){for(var e,t,r,n=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],A=[0,0,0,0],o=-1;++o<128;){for(0!=(this.state[~~(o/8)]&1<<7-o%8)&&(A[0]^=n[0],A[1]^=n[1],A[2]^=n[2],A[3]^=n[3]),r=0!=(1&n[3]),t=3;t>0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=i(A)},o.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},o.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,A],16)),this.ghash(i([0,e,0,t])),this.state},e.exports=o},function(e,t,r){var n=r(404),A=r(15).Buffer,i=r(262),o=r(405),a=r(106),s=r(214),u=r(215);function l(e,t,r){a.call(this),this._cache=new c,this._last=void 0,this._cipher=new s.AES(t),this._prev=A.from(r),this._mode=e,this._autopadding=!0}function c(){this.cache=A.allocUnsafe(0)}function f(e,t,r){var a=i[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=A.from(r)),"GCM"!==a.mode&&r.length!==a.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=A.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===a.type?new o(a.module,t,r,!0):"auth"===a.type?new n(a.module,t,r,!0):new l(a.module,t,r)}r(20)(l,a),l.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return A.concat(n)},l.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var r=-1;for(;++r<t;)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(16===t)return;return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},c.prototype.add=function(e){this.cache=A.concat([this.cache,e])},c.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},c.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var r=i[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=u(t,!1,r.key,r.iv);return f(e,n.key,n.iv)},t.createDecipheriv=f},function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},function(e,t,r){(function(e){var n=r(406),A=r(597),i=r(598);var o={binary:!0,hex:!0,base64:!0};t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(t){var r=new e(A[t].prime,"hex"),n=new e(A[t].gen,"hex");return new i(r,n)},t.createDiffieHellman=t.DiffieHellman=function t(r,A,a,s){return e.isBuffer(A)||void 0===o[A]?t(r,"binary",A,a):(A=A||"binary",s=s||"binary",a=a||new e([2]),e.isBuffer(a)||(a=new e(a,s)),"number"==typeof r?new i(n(r,a),a,!0):(e.isBuffer(r)||(r=new e(r,A)),new i(r,a,!0)))}}).call(this,r(8).Buffer)},function(e,t){},function(e,t){},function(e){e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(e,t,r){(function(t){var n=r(17),A=new(r(407)),i=new n(24),o=new n(11),a=new n(10),s=new n(3),u=new n(7),l=r(406),c=r(62);function f(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._pub=new n(e),this}function d(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._priv=new n(e),this}e.exports=h;var g={};function h(e,t,r){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=f,this.setPrivateKey=d):this._primeCode=8}function p(e,r){var n=new t(e.toArray());return r?n.toString(r):n}Object.defineProperty(h.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in g)return g[n];var c,f=0;if(e.isEven()||!l.simpleSieve||!l.fermatTest(e)||!A.test(e))return f+=1,f+="02"===r||"05"===r?8:4,g[n]=f,f;switch(A.test(e.shrn(1))||(f+=2),r){case"02":e.mod(i).cmp(o)&&(f+=8);break;case"05":(c=e.mod(a)).cmp(s)&&c.cmp(u)&&(f+=8);break;default:f+=4}return g[n]=f,f}(this.__prime,this.__gen)),this._primeCode}}),h.prototype.generateKeys=function(){return this._priv||(this._priv=new n(c(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},h.prototype.computeSecret=function(e){var r=(e=(e=new n(e)).toRed(this._prime)).redPow(this._priv).fromRed(),A=new t(r.toArray()),i=this.getPrime();if(A.length<i.length){var o=new t(i.length-A.length);o.fill(0),A=t.concat([o,A])}return A},h.prototype.getPublicKey=function(e){return p(this._pub,e)},h.prototype.getPrivateKey=function(e){return p(this._priv,e)},h.prototype.getPrime=function(e){return p(this.__prime,e)},h.prototype.getGenerator=function(e){return p(this._gen,e)},h.prototype.setGenerator=function(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this.__gen=e,this._gen=new n(e),this}}).call(this,r(8).Buffer)},function(e,t,r){(function(t){var n=r(45),A=r(194),i=r(20),o=r(600),a=r(633),s=r(397);function u(e){A.Writable.call(this);var t=s[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function l(e){A.Writable.call(this);var t=s[e];if(!t)throw new Error("Unknown message digest");this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function c(e){return new u(e)}function f(e){return new l(e)}Object.keys(s).forEach(function(e){s[e].id=new t(s[e].id,"hex"),s[e.toLowerCase()]=s[e]}),i(u,A.Writable),u.prototype._write=function(e,t,r){this._hash.update(e),r()},u.prototype.update=function(e,r){return"string"==typeof e&&(e=new t(e,r)),this._hash.update(e),this},u.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=o(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},i(l,A.Writable),l.prototype._write=function(e,t,r){this._hash.update(e),r()},l.prototype.update=function(e,r){return"string"==typeof e&&(e=new t(e,r)),this._hash.update(e),this},l.prototype.verify=function(e,r,n){"string"==typeof r&&(r=new t(r,n)),this.end();var A=this._hash.digest();return a(r,A,e,this._signType,this._tag)},e.exports={Sign:c,Verify:f,createSign:c,createVerify:f}}).call(this,r(8).Buffer)},function(e,t,r){(function(t){var n=r(107),A=r(263),i=r(48).ec,o=r(17),a=r(218),s=r(415);function u(e,r,A,i){if((e=new t(e.toArray())).length<r.byteLength()){var o=new t(r.byteLength()-e.length);o.fill(0),e=t.concat([o,e])}var a=A.length,s=function(e,r){e=(e=l(e,r)).mod(r);var n=new t(e.toArray());if(n.length<r.byteLength()){var A=new t(r.byteLength()-n.length);A.fill(0),n=t.concat([A,n])}return n}(A,r),u=new t(a);u.fill(1);var c=new t(a);return c.fill(0),c=n(i,c).update(u).update(new t([0])).update(e).update(s).digest(),u=n(i,c).update(u).digest(),{k:c=n(i,c).update(u).update(new t([1])).update(e).update(s).digest(),v:u=n(i,c).update(u).digest()}}function l(e,t){var r=new o(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function c(e,r,A){var i,o;do{for(i=new t(0);8*i.length<e.bitLength();)r.v=n(A,r.k).update(r.v).digest(),i=t.concat([i,r.v]);o=l(i,e),r.k=n(A,r.k).update(r.v).update(new t([0])).digest(),r.v=n(A,r.k).update(r.v).digest()}while(-1!==o.cmp(e));return o}function f(e,t,r,n){return e.toRed(o.mont(r)).redPow(t).fromRed().mod(n)}e.exports=function(e,r,n,d,g){var h=a(r);if(h.curve){if("ecdsa"!==d&&"ecdsa/rsa"!==d)throw new Error("wrong private key type");return function(e,r){var n=s[r.curve.join(".")];if(!n)throw new Error("unknown curve "+r.curve.join("."));var A=new i(n).keyFromPrivate(r.privateKey).sign(e);return new t(A.toDER())}(e,h)}if("dsa"===h.type){if("dsa"!==d)throw new Error("wrong private key type");return function(e,r,n){var A,i=r.params.priv_key,a=r.params.p,s=r.params.q,d=r.params.g,g=new o(0),h=l(e,s).mod(s),p=!1,I=u(i,s,e,n);for(;!1===p;)A=c(s,I,n),g=f(d,A,a,s),0===(p=A.invm(s).imul(h.add(i.mul(g))).mod(s)).cmpn(0)&&(p=!1,g=new o(0));return function(e,r){e=e.toArray(),r=r.toArray(),128&e[0]&&(e=[0].concat(e));128&r[0]&&(r=[0].concat(r));var n=[48,e.length+r.length+4,2,e.length];return n=n.concat(e,[2,r.length],r),new t(n)}(g,p)}(e,h,n)}if("rsa"!==d&&"ecdsa/rsa"!==d)throw new Error("wrong private key type");e=t.concat([g,e]);for(var p=h.modulus.byteLength(),I=[0,1];e.length+I.length+1<p;)I.push(255);I.push(0);for(var B=-1;++B<e.length;)I.push(e[B]);return A(I,h)},e.exports.getKey=u,e.exports.makeKey=c}).call(this,r(8).Buffer)},function(e){e.exports=JSON.parse('{"_args":[["elliptic@6.4.1","/Users/Forrest/Desktop/zhiyou/VUE/mathwalletplus"]],"_from":"elliptic@6.4.1","_id":"elliptic@6.4.1","_inBundle":false,"_integrity":"sha1-wtC3d2kRuGcixjLDwGxg8vgZk5o=","_location":"/elliptic","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"elliptic@6.4.1","name":"elliptic","escapedName":"elliptic","rawSpec":"6.4.1","saveSpec":null,"fetchSpec":"6.4.1"},"_requiredBy":["/@binance-chain/javascript-sdk/tiny-secp256k1","/@chainx/account/secp256k1","/@chainx/extrinsics/secp256k1","/@chainx/storage/secp256k1","/@chainx/types/secp256k1","/@polkadot/util-crypto/secp256k1","/browserify-sign","/chainx.js/secp256k1","/create-ecdh","/irisnet-crypto/secp256k1","/secp256k1","/tiny-secp256k1","/tronweb"],"_resolved":"http://registry.npm.taobao.org/elliptic/download/elliptic-6.4.1.tgz","_spec":"6.4.1","_where":"/Users/Forrest/Desktop/zhiyou/VUE/mathwalletplus","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"bugs":{"url":"https://github.com/indutny/elliptic/issues"},"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},"description":"EC cryptography","devDependencies":{"brfs":"^1.4.3","coveralls":"^2.11.3","grunt":"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2","istanbul":"^0.4.2","jscs":"^2.9.0","jshint":"^2.6.0","mocha":"^2.1.0"},"files":["lib"],"homepage":"https://github.com/indutny/elliptic","keywords":["EC","Elliptic","curve","Cryptography"],"license":"MIT","main":"lib/elliptic.js","name":"elliptic","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/elliptic.git"},"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","test":"npm run lint && npm run unit","unit":"istanbul test _mocha --reporter=spec test/index.js","version":"grunt dist && git add dist/"},"version":"6.4.1"}')},function(e,t,r){"use strict";var n=t,A=r(17),i=r(57),o=r(216);n.assert=i,n.toArray=o.toArray,n.zero2=o.zero2,n.toHex=o.toHex,n.encode=o.encode,n.getNAF=function(e,t){for(var r=[],n=1<<t+1,A=e.clone();A.cmpn(1)>=0;){var i;if(A.isOdd()){var o=A.andln(n-1);i=o>(n>>1)-1?(n>>1)-o:o,A.isubn(i)}else i=0;r.push(i);for(var a=0!==A.cmpn(0)&&0===A.andln(n-1)?t+1:1,s=1;s<a;s++)r.push(0);A.iushrn(a)}return r},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,A=0;e.cmpn(-n)>0||t.cmpn(-A)>0;){var i,o,a,s=e.andln(3)+n&3,u=t.andln(3)+A&3;if(3===s&&(s=-1),3===u&&(u=-1),0==(1&s))i=0;else i=3!==(a=e.andln(7)+n&7)&&5!==a||2!==u?s:-s;if(r[0].push(i),0==(1&u))o=0;else o=3!==(a=t.andln(7)+A&7)&&5!==a||2!==s?u:-u;r[1].push(o),2*n===i+1&&(n=1-n),2*A===o+1&&(A=1-A),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new A(e,"hex","le")}},function(e,t,r){"use strict";var n=r(17),A=r(48).utils,i=A.getNAF,o=A.getJSF,a=A.assert;function s(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=s,s.prototype.point=function(){throw new Error("Not implemented")},s.prototype.validate=function(){throw new Error("Not implemented")},s.prototype._fixedNafMul=function(e,t){a(e.precomputed);var r=e._getDoubles(),n=i(t,1),A=(1<<r.step+1)-(r.step%2==0?2:1);A/=3;for(var o=[],s=0;s<n.length;s+=r.step){var u=0;for(t=s+r.step-1;t>=s;t--)u=(u<<1)+n[t];o.push(u)}for(var l=this.jpoint(null,null,null),c=this.jpoint(null,null,null),f=A;f>0;f--){for(s=0;s<o.length;s++){(u=o[s])===f?c=c.mixedAdd(r.points[s]):u===-f&&(c=c.mixedAdd(r.points[s].neg()))}l=l.add(c)}return l.toP()},s.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var A=n.points,o=i(t,r),s=this.jpoint(null,null,null),u=o.length-1;u>=0;u--){for(t=0;u>=0&&0===o[u];u--)t++;if(u>=0&&t++,s=s.dblp(t),u<0)break;var l=o[u];a(0!==l),s="affine"===e.type?l>0?s.mixedAdd(A[l-1>>1]):s.mixedAdd(A[-l-1>>1].neg()):l>0?s.add(A[l-1>>1]):s.add(A[-l-1>>1].neg())}return"affine"===e.type?s.toP():s},s.prototype._wnafMulAdd=function(e,t,r,n,A){for(var a=this._wnafT1,s=this._wnafT2,u=this._wnafT3,l=0,c=0;c<n;c++){var f=(b=t[c])._getNAFPoints(e);a[c]=f.wnd,s[c]=f.points}for(c=n-1;c>=1;c-=2){var d=c-1,g=c;if(1===a[d]&&1===a[g]){var h=[t[d],null,null,t[g]];0===t[d].y.cmp(t[g].y)?(h[1]=t[d].add(t[g]),h[2]=t[d].toJ().mixedAdd(t[g].neg())):0===t[d].y.cmp(t[g].y.redNeg())?(h[1]=t[d].toJ().mixedAdd(t[g]),h[2]=t[d].add(t[g].neg())):(h[1]=t[d].toJ().mixedAdd(t[g]),h[2]=t[d].toJ().mixedAdd(t[g].neg()));var p=[-3,-1,-5,-7,0,7,5,1,3],I=o(r[d],r[g]);l=Math.max(I[0].length,l),u[d]=new Array(l),u[g]=new Array(l);for(var B=0;B<l;B++){var C=0|I[0][B],m=0|I[1][B];u[d][B]=p[3*(C+1)+(m+1)],u[g][B]=0,s[d]=h}}else u[d]=i(r[d],a[d]),u[g]=i(r[g],a[g]),l=Math.max(u[d].length,l),l=Math.max(u[g].length,l)}var y=this.jpoint(null,null,null),Q=this._wnafT4;for(c=l;c>=0;c--){for(var w=0;c>=0;){var E=!0;for(B=0;B<n;B++)Q[B]=0|u[B][c],0!==Q[B]&&(E=!1);if(!E)break;w++,c--}if(c>=0&&w++,y=y.dblp(w),c<0)break;for(B=0;B<n;B++){var b,v=Q[B];0!==v&&(v>0?b=s[B][v-1>>1]:v<0&&(b=s[B][-v-1>>1].neg()),y="affine"===b.type?y.mixedAdd(b):y.add(b))}}for(c=0;c<n;c++)s[c]=null;return A?y:y.toP()},s.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},s.prototype.decodePoint=function(e,t){e=A.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r)return 6===e[0]?a(e[e.length-1]%2==0):7===e[0]&&a(e[e.length-1]%2==1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(e){return this.encode(e,!0)},u.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},u.prototype.encode=function(e,t){return A.encode(this._encode(t),e)},u.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},u.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,A=0;A<t;A+=e){for(var i=0;i<e;i++)n=n.dbl();r.push(n)}return{step:e,points:r}},u.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),A=1;A<r;A++)t[A]=t[A-1].add(n);return{wnd:e,points:t}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},function(e,t,r){"use strict";var n=r(217),A=r(48),i=r(17),o=r(20),a=n.base,s=A.utils.assert;function u(e){a.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function l(e,t,r,n){a.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(e,t,r,n){a.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(u,a),e.exports=u,u.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new i(e.lambda,16);else{var A=this._getEndoRoots(this.n);0===this.g.mul(A[0]).x.cmp(this.g.x.redMul(t))?r=A[0]:(r=A[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map(function(e){return{a:new i(e.a,16),b:new i(e.b,16)}}):this._getEndoBasis(r)}}},u.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),r=new i(2).toRed(t).redInvm(),n=r.redNeg(),A=new i(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(A).fromRed(),n.redSub(A).fromRed()]},u.prototype._getEndoBasis=function(e){for(var t,r,n,A,o,a,s,u,l,c=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,d=this.n.clone(),g=new i(1),h=new i(0),p=new i(0),I=new i(1),B=0;0!==f.cmpn(0);){var C=d.div(f);u=d.sub(C.mul(f)),l=p.sub(C.mul(g));var m=I.sub(C.mul(h));if(!n&&u.cmp(c)<0)t=s.neg(),r=g,n=u.neg(),A=l;else if(n&&2==++B)break;s=u,d=f,f=u,p=g,g=l,I=h,h=m}o=u.neg(),a=l;var y=n.sqr().add(A.sqr());return o.sqr().add(a.sqr()).cmp(y)>=0&&(o=t,a=r),n.negative&&(n=n.neg(),A=A.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:n,b:A},{a:o,b:a}]},u.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],A=n.b.mul(e).divRound(this.n),i=r.b.neg().mul(e).divRound(this.n),o=A.mul(r.a),a=i.mul(n.a),s=A.mul(r.b),u=i.mul(n.b);return{k1:e.sub(o).sub(a),k2:s.add(u).neg()}},u.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var A=n.fromRed().isOdd();return(t&&!A||!t&&A)&&(n=n.redNeg()),this.point(e,n)},u.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),A=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(A).cmpn(0)},u.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,A=this._endoWnafT2,i=0;i<e.length;i++){var o=this._endoSplit(t[i]),a=e[i],s=a._getBeta();o.k1.negative&&(o.k1.ineg(),a=a.neg(!0)),o.k2.negative&&(o.k2.ineg(),s=s.neg(!0)),n[2*i]=a,n[2*i+1]=s,A[2*i]=o.k1,A[2*i+1]=o.k2}for(var u=this._wnafMulAdd(1,n,A,2*i,r),l=0;l<2*i;l++)n[l]=null,A[l]=null;return u},o(l,a.BasePoint),u.prototype.point=function(e,t,r){return new l(this,e,t,r)},u.prototype.pointFromJSON=function(e,t){return l.fromJSON(this,e,t)},l.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},l.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},l.fromJSON=function(e,t,r){"string"==typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function A(t){return e.point(t[0],t[1],r)}var i=t[2];return n.precomputed={beta:null,doubles:i.doubles&&{step:i.doubles.step,points:[n].concat(i.doubles.points.map(A))},naf:i.naf&&{wnd:i.naf.wnd,points:[n].concat(i.naf.points.map(A))}},n},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),A=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),i=A.redSqr().redISub(this.x.redAdd(this.x)),o=A.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,o)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new i(e,16),this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,r){var n=[this,t],A=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,A):this.curve._wnafMulAdd(1,n,A,2)},l.prototype.jmulAdd=function(e,t,r){var n=[this,t],A=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,A,!0):this.curve._wnafMulAdd(1,n,A,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},l.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(c,a.BasePoint),u.prototype.jpoint=function(e,t,r){return new c(this,e,t,r)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),A=e.x.redMul(r),i=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),a=n.redSub(A),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),l=u.redMul(a),c=n.redMul(u),f=s.redSqr().redIAdd(l).redISub(c).redISub(c),d=s.redMul(c.redISub(f)).redISub(i.redMul(l)),g=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(f,d,g)},c.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),A=this.y,i=e.y.redMul(t).redMul(this.z),o=r.redSub(n),a=A.redSub(i);if(0===o.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var s=o.redSqr(),u=s.redMul(o),l=r.redMul(s),c=a.redSqr().redIAdd(u).redISub(l).redISub(l),f=a.redMul(l.redISub(c)).redISub(A.redMul(u)),d=this.z.redMul(o);return this.curve.jpoint(c,f,d)},c.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}var n=this.curve.a,A=this.curve.tinv,i=this.x,o=this.y,a=this.z,s=a.redSqr().redSqr(),u=o.redAdd(o);for(r=0;r<e;r++){var l=i.redSqr(),c=u.redSqr(),f=c.redSqr(),d=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(s)),g=i.redMul(c),h=d.redSqr().redISub(g.redAdd(g)),p=g.redISub(h),I=d.redMul(p);I=I.redIAdd(I).redISub(f);var B=u.redMul(a);r+1<e&&(s=s.redMul(f)),i=h,a=B,u=I}return this.curve.jpoint(i,u.redMul(A),a)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},c.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),A=this.y.redSqr(),i=A.redSqr(),o=this.x.redAdd(A).redSqr().redISub(n).redISub(i);o=o.redIAdd(o);var a=n.redAdd(n).redIAdd(n),s=a.redSqr().redISub(o).redISub(o),u=i.redIAdd(i);u=(u=u.redIAdd(u)).redIAdd(u),e=s,t=a.redMul(o.redISub(s)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),c=this.y.redSqr(),f=c.redSqr(),d=this.x.redAdd(c).redSqr().redISub(l).redISub(f);d=d.redIAdd(d);var g=l.redAdd(l).redIAdd(l),h=g.redSqr(),p=f.redIAdd(f);p=(p=p.redIAdd(p)).redIAdd(p),e=h.redISub(d).redISub(d),t=g.redMul(d.redISub(e)).redISub(p),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},c.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),A=this.y.redSqr(),i=A.redSqr(),o=this.x.redAdd(A).redSqr().redISub(n).redISub(i);o=o.redIAdd(o);var a=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),s=a.redSqr().redISub(o).redISub(o);e=s;var u=i.redIAdd(i);u=(u=u.redIAdd(u)).redIAdd(u),t=a.redMul(o.redISub(s)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),c=this.y.redSqr(),f=this.x.redMul(c),d=this.x.redSub(l).redMul(this.x.redAdd(l));d=d.redAdd(d).redIAdd(d);var g=f.redIAdd(f),h=(g=g.redIAdd(g)).redAdd(g);e=d.redSqr().redISub(h),r=this.y.redAdd(this.z).redSqr().redISub(c).redISub(l);var p=c.redSqr();p=(p=(p=p.redIAdd(p)).redIAdd(p)).redIAdd(p),t=d.redMul(g.redISub(e)).redISub(p)}return this.curve.jpoint(e,t,r)},c.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,A=n.redSqr().redSqr(),i=t.redSqr(),o=r.redSqr(),a=i.redAdd(i).redIAdd(i).redIAdd(e.redMul(A)),s=t.redAdd(t),u=(s=s.redIAdd(s)).redMul(o),l=a.redSqr().redISub(u.redAdd(u)),c=u.redISub(l),f=o.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=a.redMul(c).redISub(f),g=r.redAdd(r).redMul(n);return this.curve.jpoint(l,d,g)},c.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),A=e.redAdd(e).redIAdd(e),i=A.redSqr(),o=this.x.redAdd(t).redSqr().redISub(e).redISub(n),a=(o=(o=(o=o.redIAdd(o)).redAdd(o).redIAdd(o)).redISub(i)).redSqr(),s=n.redIAdd(n);s=(s=(s=s.redIAdd(s)).redIAdd(s)).redIAdd(s);var u=A.redIAdd(o).redSqr().redISub(i).redISub(a).redISub(s),l=t.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var c=this.x.redMul(a).redISub(l);c=(c=c.redIAdd(c)).redIAdd(c);var f=this.y.redMul(u.redMul(s.redISub(u)).redISub(o.redMul(a)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=this.z.redAdd(o).redSqr().redISub(r).redISub(a);return this.curve.jpoint(c,f,d)},c.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},c.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),A=r.redMul(e.z);return 0===this.y.redMul(A).redISub(e.y.redMul(n)).cmpn(0)},c.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),A=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(A),0===this.x.cmp(r))return!0}},c.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,r){"use strict";var n=r(217),A=r(17),i=r(20),o=n.base,a=r(48).utils;function s(e){o.call(this,"mont",e),this.a=new A(e.a,16).toRed(this.red),this.b=new A(e.b,16).toRed(this.red),this.i4=new A(4).toRed(this.red).redInvm(),this.two=new A(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function u(e,t,r){o.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new A(t,16),this.z=new A(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),e.exports=s,s.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},i(u,o.BasePoint),s.prototype.decodePoint=function(e,t){return this.point(a.toArray(e,t),1)},s.prototype.point=function(e,t){return new u(this,e,t)},s.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},u.prototype.precompute=function(){},u.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},u.fromJSON=function(e,t){return new u(e,t[0],t[1]||e.one)},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},u.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),A=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,A)},u.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),A=e.x.redAdd(e.z),i=e.x.redSub(e.z).redMul(r),o=A.redMul(n),a=t.z.redMul(i.redAdd(o).redSqr()),s=t.x.redMul(i.redISub(o).redSqr());return this.curve.point(a,s)},u.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),A=[];0!==t.cmpn(0);t.iushrn(1))A.push(t.andln(1));for(var i=A.length-1;i>=0;i--)0===A[i]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},u.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},u.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,r){"use strict";var n=r(217),A=r(48),i=r(17),o=r(20),a=n.base,s=A.utils.assert;function u(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function l(e,t,r,n,A){a.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(r,16),this.z=n?new i(n,16):this.curve.one,this.t=A&&new i(A,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(u,a),e.exports=u,u.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},u.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},u.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},u.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),A=this.one.redSub(this.c2.redMul(this.d).redMul(r)),o=n.redMul(A.redInvm()),a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var s=a.fromRed().isOdd();return(t&&!s||!t&&s)&&(a=a.redNeg()),this.point(e,a)},u.prototype.pointFromY=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),A=r.redMul(this.d).redMul(this.c2).redSub(this.a),o=n.redMul(A.redInvm());if(0===o.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},u.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),A=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(A)},o(l,a.BasePoint),u.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},u.prototype.point=function(e,t,r,n){return new l(this,e,t,r,n)},l.fromJSON=function(e,t){return new l(e,t[0],t[1],t[2])},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),A=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),i=n.redAdd(t),o=i.redSub(r),a=n.redSub(t),s=A.redMul(o),u=i.redMul(a),l=A.redMul(a),c=o.redMul(i);return this.curve.point(s,u,c,l)},l.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),A=this.x.redSqr(),i=this.y.redSqr();if(this.curve.twisted){var o=(u=this.curve._mulA(A)).redAdd(i);if(this.zOne)e=n.redSub(A).redSub(i).redMul(o.redSub(this.curve.two)),t=o.redMul(u.redSub(i)),r=o.redSqr().redSub(o).redSub(o);else{var a=this.z.redSqr(),s=o.redSub(a).redISub(a);e=n.redSub(A).redISub(i).redMul(s),t=o.redMul(u.redSub(i)),r=o.redMul(s)}}else{var u=A.redAdd(i);a=this.curve._mulC(this.z).redSqr(),s=u.redSub(a).redSub(a);e=this.curve._mulC(n.redISub(u)).redMul(s),t=this.curve._mulC(u).redMul(A.redISub(i)),r=u.redMul(s)}return this.curve.point(e,t,r)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),A=this.z.redMul(e.z.redAdd(e.z)),i=r.redSub(t),o=A.redSub(n),a=A.redAdd(n),s=r.redAdd(t),u=i.redMul(o),l=a.redMul(s),c=i.redMul(s),f=o.redMul(a);return this.curve.point(u,l,f,c)},l.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),A=n.redSqr(),i=this.x.redMul(e.x),o=this.y.redMul(e.y),a=this.curve.d.redMul(i).redMul(o),s=A.redSub(a),u=A.redAdd(a),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(i).redISub(o),c=n.redMul(s).redMul(l);return this.curve.twisted?(t=n.redMul(u).redMul(o.redSub(this.curve._mulA(i))),r=s.redMul(u)):(t=n.redMul(u).redMul(o.redSub(i)),r=this.curve._mulC(s).redMul(u)),this.curve.point(c,t,r)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},l.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},function(e,t,r){"use strict";var n,A=t,i=r(123),o=r(48),a=o.utils.assert;function s(e){"short"===e.type?this.curve=new o.curve.short(e):"edwards"===e.type?this.curve=new o.curve.edwards(e):this.curve=new o.curve.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(A,e,{configurable:!0,enumerable:!0,get:function(){var r=new s(t);return Object.defineProperty(A,e,{configurable:!0,enumerable:!0,value:r}),r}})}A.PresetCurve=s,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(614)}catch(e){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(e,t,r){"use strict";t.sha1=r(609),t.sha224=r(610),t.sha256=r(409),t.sha384=r(611),t.sha512=r(410)},function(e,t,r){"use strict";var n=r(84),A=r(174),i=r(408),o=n.rotl32,a=n.sum32,s=n.sum32_5,u=i.ft_1,l=A.BlockHash,c=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(f,l),e.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=o(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var A=this.h[0],i=this.h[1],l=this.h[2],f=this.h[3],d=this.h[4];for(n=0;n<r.length;n++){var g=~~(n/20),h=s(o(A,5),u(g,i,l,f),d,r[n],c[g]);d=f,f=l,l=o(i,30),i=A,A=h}this.h[0]=a(this.h[0],A),this.h[1]=a(this.h[1],i),this.h[2]=a(this.h[2],l),this.h[3]=a(this.h[3],f),this.h[4]=a(this.h[4],d)},f.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,r){"use strict";var n=r(84),A=r(409);function i(){if(!(this instanceof i))return new i;A.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(i,A),e.exports=i,i.blockSize=512,i.outSize=224,i.hmacStrength=192,i.padLength=64,i.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},function(e,t,r){"use strict";var n=r(84),A=r(410);function i(){if(!(this instanceof i))return new i;A.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(i,A),e.exports=i,i.blockSize=1024,i.outSize=384,i.hmacStrength=192,i.padLength=128,i.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},function(e,t,r){"use strict";var n=r(84),A=r(174),i=n.rotl32,o=n.sum32,a=n.sum32_3,s=n.sum32_4,u=A.BlockHash;function l(){if(!(this instanceof l))return new l;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function c(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function f(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function d(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(l,u),t.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],A=this.h[2],u=this.h[3],l=this.h[4],B=r,C=n,m=A,y=u,Q=l,w=0;w<80;w++){var E=o(i(s(r,c(w,n,A,u),e[g[w]+t],f(w)),p[w]),l);r=l,l=u,u=i(A,10),A=n,n=E,E=o(i(s(B,c(79-w,C,m,y),e[h[w]+t],d(w)),I[w]),Q),B=Q,Q=y,y=i(m,10),m=C,C=E}E=a(this.h[1],A,y),this.h[1]=a(this.h[2],u,Q),this.h[2]=a(this.h[3],l,B),this.h[3]=a(this.h[4],r,C),this.h[4]=a(this.h[0],n,m),this.h[0]=E},l.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var g=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],h=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],p=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],I=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},function(e,t,r){"use strict";var n=r(84),A=r(57);function i(e,t,r){if(!(this instanceof i))return new i(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}e.exports=i,i.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),A(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},i.prototype.update=function(e,t){return this.inner.update(e,t),this},i.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(e,t,r){"use strict";var n=r(17),A=r(264),i=r(48),o=i.utils.assert,a=r(616),s=r(265);function u(e){if(!(this instanceof u))return new u(e);"string"==typeof e&&(o(i.curves.hasOwnProperty(e),"Unknown curve "+e),e=i.curves[e]),e instanceof i.curves.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=u,u.prototype.keyPair=function(e){return new a(this,e)},u.prototype.keyFromPrivate=function(e,t){return a.fromPrivate(this,e,t)},u.prototype.keyFromPublic=function(e,t){return a.fromPublic(this,e,t)},u.prototype.genKeyPair=function(e){e||(e={});for(var t=new A({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||i.rand(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),o=this.n.sub(new n(2));;){var a=new n(t.generate(r));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},u.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},u.prototype.sign=function(e,t,r,i){"object"==typeof r&&(i=r,r=null),i||(i={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var o=this.n.byteLength(),a=t.getPrivate().toArray("be",o),u=e.toArray("be",o),l=new A({hash:this.hash,entropy:a,nonce:u,pers:i.pers,persEnc:i.persEnc||"utf8"}),c=this.n.sub(new n(1)),f=0;;f++){var d=i.k?i.k(f):new n(l.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||d.cmp(c)>=0)){var g=this.g.mul(d);if(!g.isInfinity()){var h=g.getX(),p=h.umod(this.n);if(0!==p.cmpn(0)){var I=d.invm(this.n).mul(p.mul(t.getPrivate()).iadd(e));if(0!==(I=I.umod(this.n)).cmpn(0)){var B=(g.getY().isOdd()?1:0)|(0!==h.cmp(p)?2:0);return i.canonical&&I.cmp(this.nh)>0&&(I=this.n.sub(I),B^=1),new s({r:p,s:I,recoveryParam:B})}}}}}},u.prototype.verify=function(e,t,r,A){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,A);var i=(t=new s(t,"hex")).r,o=t.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var a,u=o.invm(this.n),l=u.mul(e).umod(this.n),c=u.mul(i).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(l,r.getPublic(),c)).isInfinity()&&a.eqXToP(i):!(a=this.g.mulAdd(l,r.getPublic(),c)).isInfinity()&&0===a.getX().umod(this.n).cmp(i)},u.prototype.recoverPubKey=function(e,t,r,A){o((3&r)===r,"The recovery param is more than two bits"),t=new s(t,A);var i=this.n,a=new n(e),u=t.r,l=t.s,c=1&r,f=r>>1;if(u.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw new Error("Unable to find sencond key candinate");u=f?this.curve.pointFromX(u.add(this.curve.n),c):this.curve.pointFromX(u,c);var d=t.r.invm(i),g=i.sub(a).mul(d).umod(i),h=l.mul(d).umod(i);return this.g.mulAdd(g,u,h)},u.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new s(t,n)).recoveryParam)return t.recoveryParam;for(var A=0;A<4;A++){var i;try{i=this.recoverPubKey(e,t,A)}catch(e){continue}if(i.eq(r))return A}throw new Error("Unable to find valid recovery factor")}},function(e,t,r){"use strict";var n=r(17),A=r(48).utils.assert;function i(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=i,i.fromPublic=function(e,t,r){return t instanceof i?t:new i(e,{pub:t,pubEnc:r})},i.fromPrivate=function(e,t,r){return t instanceof i?t:new i(e,{priv:t,privEnc:r})},i.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},i.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?A(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||A(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},i.prototype.derive=function(e){return e.mul(this.priv).getX()},i.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},i.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},i.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(e,t,r){"use strict";var n=r(123),A=r(48),i=A.utils,o=i.assert,a=i.parseBytes,s=r(618),u=r(619);function l(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof l))return new l(e);e=A.curves[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=l,l.prototype.sign=function(e,t){e=a(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),A=this.g.mul(n),i=this.encodePoint(A),o=this.hashInt(i,r.pubBytes(),e).mul(r.priv()),s=n.add(o).umod(this.curve.n);return this.makeSignature({R:A,S:s,Rencoded:i})},l.prototype.verify=function(e,t,r){e=a(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),A=this.hashInt(t.Rencoded(),n.pubBytes(),e),i=this.g.mul(t.S());return t.R().add(n.pub().mul(A)).eq(i)},l.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return i.intFromLE(e.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(e){return s.fromPublic(this,e)},l.prototype.keyFromSecret=function(e){return s.fromSecret(this,e)},l.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},l.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},l.prototype.decodePoint=function(e){var t=(e=i.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!=(128&e[t]),A=i.intFromLE(r);return this.curve.pointFromY(A,n)},l.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(e){return i.intFromLE(e)},l.prototype.isPoint=function(e){return e instanceof this.pointClass}},function(e,t,r){"use strict";var n=r(48).utils,A=n.assert,i=n.parseBytes,o=n.cachedProperty;function a(e,t){this.eddsa=e,this._secret=i(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=i(t.pub)}a.fromPublic=function(e,t){return t instanceof a?t:new a(e,{pub:t})},a.fromSecret=function(e,t){return t instanceof a?t:new a(e,{secret:t})},a.prototype.secret=function(){return this._secret},o(a,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),o(a,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),o(a,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n}),o(a,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),o(a,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),o(a,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),a.prototype.sign=function(e){return A(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},a.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},a.prototype.getSecret=function(e){return A(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},a.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},e.exports=a},function(e,t,r){"use strict";var n=r(17),A=r(48).utils,i=A.assert,o=A.cachedProperty,a=A.parseBytes;function s(e,t){this.eddsa=e,"object"!=typeof t&&(t=a(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),i(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}o(s,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),o(s,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),o(s,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),o(s,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),s.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},s.prototype.toHex=function(){return A.encode(this.toBytes(),"hex").toUpperCase()},e.exports=s},function(e,t,r){"use strict";var n=r(175);t.certificate=r(630);var A=n.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});t.RSAPrivateKey=A;var i=n.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});t.RSAPublicKey=i;var o=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())});t.PublicKey=o;var a=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),s=n.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())});t.PrivateKey=s;var u=n.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});t.EncryptedPrivateKey=u;var l=n.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});t.DSAPrivateKey=l,t.DSAparam=n.define("DSAparam",function(){this.int()});var c=n.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(f),this.key("publicKey").optional().explicit(1).bitstr())});t.ECPrivateKey=c;var f=n.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});t.signature=n.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},function(e,t,r){var n=r(175),A=r(20);function i(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new i(e,t)},i.prototype._createNamed=function(e){var t;try{t=r(622).runInThisContext("(function "+this.name+"(entity) {\n  this._initNamed(entity);\n})")}catch(e){t=function(e){this._initNamed(e)}}return A(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},i.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(n.decoders[e])),this.decoders[e]},i.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},i.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(n.encoders[e])),this.encoders[e]},i.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},function(module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,n=r.eval,A=r.execScript;!n&&A&&(A.call(r,"null"),n=r.eval),forEach(Object_keys(e),function(t){r[t]=e[t]}),forEach(globals,function(t){e[t]&&(r[t]=e[t])});var i=Object_keys(r),o=n.call(r,this.code);return forEach(Object_keys(r),function(t){(t in e||-1===indexOf(i,t))&&(e[t]=r[t])}),forEach(globals,function(t){t in e||defineProp(e,t,r[t])}),document.body.removeChild(t),o},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return e&&forEach(Object_keys(t),function(r){e[r]=t[r]}),r},forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}}),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),function(r){t[r]=e[r]}),t}},function(e,t,r){var n=r(20);function A(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function i(e,t){this.path=e,this.rethrow(t)}t.Reporter=A,A.prototype.isError=function(e){return e instanceof i},A.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},A.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},A.prototype.enterKey=function(e){return this._reporterState.path.push(e)},A.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},A.prototype.leaveKey=function(e,t,r){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},A.prototype.path=function(){return this._reporterState.path.join("/")},A.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},A.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},A.prototype.error=function(e){var t,r=this._reporterState,n=e instanceof i;if(t=n?e:new i(r.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},A.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(i,Error),i.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,i),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},function(e,t,r){var n=r(176).Reporter,A=r(176).EncoderBuffer,i=r(176).DecoderBuffer,o=r(57),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],s=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function u(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}e.exports=u;var l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){var e=this._baseState,t={};l.forEach(function(r){t[r]=e[r]});var r=new this.constructor(t.parent);return r._baseState=t,r},u.prototype._wrap=function(){var e=this._baseState;s.forEach(function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}},this)},u.prototype._init=function(e){var t=this._baseState;o(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),o.equal(t.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(e){var t=this._baseState,r=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==r.length&&(o(null===t.children),t.children=r,r.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(o(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(r){r==(0|r)&&(r|=0);var n=e[r];t[n]=r}),t}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(e){u.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}}),a.forEach(function(e){u.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return o(null===t.tag),t.tag=e,this._useArgs(r),this}}),u.prototype.use=function(e){o(e);var t=this._baseState;return o(null===t.use),t.use=e,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(e){var t=this._baseState;return o(null===t.default),t.default=e,t.optional=!0,this},u.prototype.explicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.explicit=e,this},u.prototype.implicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.implicit=e,this},u.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},u.prototype.key=function(e){var t=this._baseState;return o(null===t.key),t.key=e,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(e){var t=this._baseState;return o(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},u.prototype.contains=function(e){var t=this._baseState;return o(null===t.use),t.contains=e,this},u.prototype._decode=function(e,t){var r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var n,A=r.default,o=!0,a=null;if(null!==r.key&&(a=e.enterKey(r.key)),r.optional){var s=null;if(null!==r.explicit?s=r.explicit:null!==r.implicit?s=r.implicit:null!==r.tag&&(s=r.tag),null!==s||r.any){if(o=this._peekTag(e,s,r.any),e.isError(o))return o}else{var u=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),o=!0}catch(e){o=!1}e.restore(u)}}if(r.obj&&o&&(n=e.enterObject()),o){if(null!==r.explicit){var l=this._decodeTag(e,r.explicit);if(e.isError(l))return l;e=l}var c=e.offset;if(null===r.use&&null===r.choice){if(r.any)u=e.save();var f=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(f))return f;r.any?A=e.raw(u):e=f}if(t&&t.track&&null!==r.tag&&t.track(e.path(),c,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),A=r.any?A:null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),e.isError(A))return A;if(r.any||null!==r.choice||null===r.children||r.children.forEach(function(r){r._decode(e,t)}),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var d=new i(A);A=this._getUse(r.contains,e._reporterState.obj)._decode(d,t)}}return r.obj&&o&&(A=e.leaveObject(n)),null===r.key||null===A&&!0!==o?null!==a&&e.exitKey(a):e.leaveKey(a,r.key,A),A},u.prototype._decodeGeneric=function(e,t,r){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},u.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),o(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},u.prototype._decodeChoice=function(e,t){var r=this._baseState,n=null,A=!1;return Object.keys(r.choice).some(function(i){var o=e.save(),a=r.choice[i];try{var s=a._decode(e,t);if(e.isError(s))return!1;n={type:i,value:s},A=!0}catch(t){return e.restore(o),!1}return!0},this),A?n:e.error("Choice not matched")},u.prototype._createEncoderBuffer=function(e){return new A(e,this.reporter)},u.prototype._encode=function(e,t,r){var n=this._baseState;if(null===n.default||n.default!==e){var A=this._encodeValue(e,t,r);if(void 0!==A&&!this._skipDefault(A,t,r))return A}},u.prototype._encodeValue=function(e,t,r){var A=this._baseState;if(null===A.parent)return A.children[0]._encode(e,t||new n);var i=null;if(this.reporter=t,A.optional&&void 0===e){if(null===A.default)return;e=A.default}var o=null,a=!1;if(A.any)i=this._createEncoderBuffer(e);else if(A.choice)i=this._encodeChoice(e,t);else if(A.contains)o=this._getUse(A.contains,r)._encode(e,t),a=!0;else if(A.children)o=A.children.map(function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var n=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var A=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),A},this).filter(function(e){return e}),o=this._createEncoderBuffer(o);else if("seqof"===A.tag||"setof"===A.tag){if(!A.args||1!==A.args.length)return t.error("Too many args for : "+A.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var s=this.clone();s._baseState.implicit=null,o=this._createEncoderBuffer(e.map(function(r){var n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)},s))}else null!==A.use?i=this._getUse(A.use,r)._encode(e,t):(o=this._encodePrimitive(A.tag,e),a=!0);if(!A.any&&null===A.choice){var u=null!==A.implicit?A.implicit:A.tag,l=null===A.implicit?"universal":"context";null===u?null===A.use&&t.error("Tag could be omitted only for .use()"):null===A.use&&(i=this._encodeComposite(u,a,l,o))}return null!==A.explicit&&(i=this._encodeComposite(A.explicit,!1,"context",i)),i},u.prototype._encodeChoice=function(e,t){var r=this._baseState,n=r.choice[e.type];return n||o(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},u.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},u.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},u.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},function(e,t,r){var n=r(412);t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n._reverse(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n._reverse(t.tag)},function(e,t,r){var n=t;n.der=r(413),n.pem=r(627)},function(e,t,r){var n=r(20),A=r(8).Buffer,i=r(413);function o(e){i.call(this,e),this.enc="pem"}n(o,i),e.exports=o,o.prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),o=/^-----(BEGIN|END) ([^-]+)-----$/,a=-1,s=-1,u=0;u<r.length;u++){var l=r[u].match(o);if(null!==l&&l[2]===n){if(-1!==a){if("END"!==l[1])break;s=u;break}if("BEGIN"!==l[1])break;a=u}}if(-1===a||-1===s)throw new Error("PEM section not found for: "+n);var c=r.slice(a+1,s).join("");c.replace(/[^a-z0-9\+\/=]+/gi,"");var f=new A(c,"base64");return i.prototype.decode.call(this,f,t)}},function(e,t,r){var n=t;n.der=r(414),n.pem=r(629)},function(e,t,r){var n=r(20),A=r(414);function i(e){A.call(this,e),this.enc="pem"}n(i,A),e.exports=i,i.prototype.encode=function(e,t){for(var r=A.prototype.encode.call(this,e).toString("base64"),n=["-----BEGIN "+t.label+"-----"],i=0;i<r.length;i+=64)n.push(r.slice(i,i+64));return n.push("-----END "+t.label+"-----"),n.join("\n")}},function(e,t,r){"use strict";var n=r(175),A=n.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),i=n.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),o=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),a=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())}),s=n.define("RelativeDistinguishedName",function(){this.setof(i)}),u=n.define("RDNSequence",function(){this.seqof(s)}),l=n.define("Name",function(){this.choice({rdnSequence:this.use(u)})}),c=n.define("Validity",function(){this.seq().obj(this.key("notBefore").use(A),this.key("notAfter").use(A))}),f=n.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),d=n.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(o),this.key("issuer").use(l),this.key("validity").use(c),this.key("subject").use(l),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(f).optional())}),g=n.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(o),this.key("signatureValue").bitstr())});e.exports=g},function(e){e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},function(e,t,r){var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m,A=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,o=r(215),a=r(196),s=r(15).Buffer;e.exports=function(e,t){var r,u=e.toString(),l=u.match(n);if(l){var c="aes"+l[1],f=s.from(l[2],"hex"),d=s.from(l[3].replace(/[\r\n]/g,""),"base64"),g=o(t,f.slice(0,8),parseInt(l[1],10)).key,h=[],p=a.createDecipheriv(c,g,f);h.push(p.update(d)),h.push(p.final()),r=s.concat(h)}else{var I=u.match(i);r=new s(I[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(A)[1],data:r}}},function(e,t,r){(function(t){var n=r(17),A=r(48).ec,i=r(218),o=r(415);function a(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}e.exports=function(e,r,s,u,l){var c=i(s);if("ec"===c.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var n=o[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new A(n),a=r.data.subjectPrivateKey.data;return i.verify(t,e,a)}(e,r,c)}if("dsa"===c.type){if("dsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var A=r.data.p,o=r.data.q,s=r.data.g,u=r.data.pub_key,l=i.signature.decode(e,"der"),c=l.s,f=l.r;a(c,o),a(f,o);var d=n.mont(A),g=c.invm(o);return 0===s.toRed(d).redPow(new n(t).mul(g).mod(o)).fromRed().mul(u.toRed(d).redPow(f.mul(g).mod(o)).fromRed()).mod(A).mod(o).cmp(f)}(e,r,c)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");r=t.concat([l,r]);for(var f=c.modulus.byteLength(),d=[1],g=0;r.length+d.length+2<f;)d.push(255),g++;d.push(0);for(var h=-1;++h<r.length;)d.push(r[h]);d=new t(d);var p=n.mont(c.modulus);e=(e=new n(e).toRed(p)).redPow(new n(c.publicExponent)),e=new t(e.fromRed().toArray());var I=g<8?1:0;for(f=Math.min(e.length,d.length),e.length!==d.length&&(I=1),h=-1;++h<f;)I|=e[h]^d[h];return 0===I}}).call(this,r(8).Buffer)},function(e,t,r){(function(t){var n=r(48),A=r(17);e.exports=function(e){return new o(e)};var i={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function o(e){this.curveType=i[e],this.curveType||(this.curveType={name:e}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function a(e,r,n){Array.isArray(e)||(e=e.toArray());var A=new t(e);if(n&&A.length<n){var i=new t(n-A.length);i.fill(0),A=t.concat([i,A])}return r?A.toString(r):A}i.p224=i.secp224r1,i.p256=i.secp256r1=i.prime256v1,i.p192=i.secp192r1=i.prime192v1,i.p384=i.secp384r1,i.p521=i.secp521r1,o.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},o.prototype.computeSecret=function(e,r,n){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),a(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},o.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),a(r,e)},o.prototype.getPrivateKey=function(e){return a(this.keys.getPrivate(),e)},o.prototype.setPublicKey=function(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this.keys._importPublic(e),this},o.prototype.setPrivateKey=function(e,r){r=r||"utf8",t.isBuffer(e)||(e=new t(e,r));var n=new A(e);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).call(this,r(8).Buffer)},function(e,t,r){t.publicEncrypt=r(636),t.privateDecrypt=r(637),t.privateEncrypt=function(e,r){return t.publicEncrypt(e,r,!0)},t.publicDecrypt=function(e,r){return t.privateDecrypt(e,r,!0)}},function(e,t,r){var n=r(218),A=r(62),i=r(45),o=r(416),a=r(417),s=r(17),u=r(418),l=r(263),c=r(15).Buffer;e.exports=function(e,t,r){var f;f=e.padding?e.padding:r?1:4;var d,g=n(e);if(4===f)d=function(e,t){var r=e.modulus.byteLength(),n=t.length,u=i("sha1").update(c.alloc(0)).digest(),l=u.length,f=2*l;if(n>r-f-2)throw new Error("message too long");var d=c.alloc(r-n-f-2),g=r-l-1,h=A(l),p=a(c.concat([u,d,c.alloc(1,1),t],g),o(h,g)),I=a(h,o(p,l));return new s(c.concat([c.alloc(1),I,p],r))}(g,t);else if(1===f)d=function(e,t,r){var n,i=t.length,o=e.modulus.byteLength();if(i>o-11)throw new Error("message too long");n=r?c.alloc(o-i-3,255):function(e){var t,r=c.allocUnsafe(e),n=0,i=A(2*e),o=0;for(;n<e;)o===i.length&&(i=A(2*e),o=0),(t=i[o++])&&(r[n++]=t);return r}(o-i-3);return new s(c.concat([c.from([0,r?1:2]),n,c.alloc(1),t],o))}(g,t,r);else{if(3!==f)throw new Error("unknown padding");if((d=new s(t)).cmp(g.modulus)>=0)throw new Error("data too long for modulus")}return r?l(d,g):u(d,g)}},function(e,t,r){var n=r(218),A=r(416),i=r(417),o=r(17),a=r(263),s=r(45),u=r(418),l=r(15).Buffer;e.exports=function(e,t,r){var c;c=e.padding?e.padding:r?1:4;var f,d=n(e),g=d.modulus.byteLength();if(t.length>g||new o(t).cmp(d.modulus)>=0)throw new Error("decryption error");f=r?u(new o(t),d):a(t,d);var h=l.alloc(g-f.length);if(f=l.concat([h,f],g),4===c)return function(e,t){var r=e.modulus.byteLength(),n=s("sha1").update(l.alloc(0)).digest(),o=n.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,o+1),u=t.slice(o+1),c=i(a,A(u,o)),f=i(u,A(c,r-o-1));if(function(e,t){e=l.from(e),t=l.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var A=-1;for(;++A<n;)r+=e[A]^t[A];return r}(n,f.slice(0,o)))throw new Error("decryption error");var d=o;for(;0===f[d];)d++;if(1!==f[d++])throw new Error("decryption error");return f.slice(d)}(d,f);if(1===c)return function(e,t,r){var n=t.slice(0,2),A=2,i=0;for(;0!==t[A++];)if(A>=t.length){i++;break}var o=t.slice(2,A-1);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&i++;o.length<8&&i++;if(i)throw new Error("decryption error");return t.slice(A)}(0,f,r);if(3===c)return f;throw new Error("unknown padding")}},function(e,t,r){"use strict";(function(e,n){function A(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var i=r(15),o=r(62),a=i.Buffer,s=i.kMaxLength,u=e.crypto||e.msCrypto,l=Math.pow(2,32)-1;function c(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>l||e<0)throw new TypeError("offset must be a uint32");if(e>s||e>t)throw new RangeError("offset out of range")}function f(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>l||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>s)throw new RangeError("buffer too small")}function d(e,t,r,A){if(n.browser){var i=e.buffer,a=new Uint8Array(i,t,r);return u.getRandomValues(a),A?void n.nextTick(function(){A(null,e)}):e}if(!A)return o(r).copy(e,t),e;o(r,function(r,n){if(r)return A(r);n.copy(e,t),A(null,e)})}u&&u.getRandomValues||!n.browser?(t.randomFill=function(t,r,n,A){if(!(a.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof r)A=r,r=0,n=t.length;else if("function"==typeof n)A=n,n=t.length-r;else if("function"!=typeof A)throw new TypeError('"cb" argument must be a function');return c(r,t.length),f(n,r,t.length),d(t,r,n,A)},t.randomFillSync=function(t,r,n){void 0===r&&(r=0);if(!(a.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');c(r,t.length),void 0===n&&(n=t.length-r);return f(n,r,t.length),d(t,r,n)}):(t.randomFill=A,t.randomFillSync=A)}).call(this,r(34),r(50))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{static send(e){return new Promise((t,r)=>{chrome.runtime.sendMessage(e,e=>t(e))})}static watch(e){chrome.runtime.onMessage.addListener((t,r,n)=>{if(r.id===chrome.runtime.id)return e(t,n),!0})}}t.LocalStream=n,t.default=n},function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"default",function(){return B});var n=r(37),A=r(3),i=(r(30),r(23)),o=r(10),a=r(9),s=r(24),u=r(79),l=r(1059),c=r(77),f=r(19),d=r(552),g=r.n(d);const h=r(426),p=r(650),I="bnb";class B extends n.a{constructor(){super(A.c.BINANCE,A.a.BINANCE)}config(e){return{dappStoreTag:e.custom?Object(A.f)(e.blockchain).toLowerCase():e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:A.b.BINANCE}}async getChainId(e){return new u.a(e.nodeAddress).get("/api/v1/node-info").then(e=>e.result?e.result.network||e.result.node_info.network:"").catch(()=>"")}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!0}randomKeypair(e,t={}){return new Promise((e,t)=>{const r=h.generateMnemonic(),n=h.getPrivateKeyFromMnemonic(r);r&&n?e({mnemonic:r,privateKey:n}):t()})}mnemonicToPrivateKey(e,t,r={}){return{privateKey:h.getPrivateKeyFromMnemonic(e)}}privateToPublic(e,t,r={}){return h.getAddressFromPrivateKey(e,I)}validMnemonic(e){return f.a.validateMnemonic(e)}validPrivateKey(e){return p.isHex(e)&&64==e.length}validPublicKey(e){return h.checkAddress(e)}signer(t,r,n,A){r.decryptPrivateKey(({privateKey:t})=>{if(!t)return A(a.a.signatureRejected()),!1;try{if(n.hasOwnProperty("transaction")){const e=n.transaction;e.account_number=parseInt(e.account_number),e.sequence=parseInt(e.sequence);const{msg:r,signMsg:i}=(new l.a).requestParser(e);if(!r||!i)return void A(a.a.invalidSignature());e.msg=r;const o=new g.a(e).sign(t,i).serialize();A({tx:o})}else{const{data:r,isHash:i}=n,o=c.a.generateSignature(i?r:e.from(r).toString("hex"),t,i),a=h.getPublicKeyFromPrivateKey(t);A({signature:o,publicKey:a}),A(o)}}catch(e){A(a.a.invalidSignature())}},t)}signatureProvider(...e){}requestSelectedIdentity(e,t,r,n){const A=r.keychain.accounts.find(e=>e.networkUnique===t.unique()&&e.selected);n(A?{network:t,account:A}:a.a.identityRejected())}requestIdentity(e,t,r,n,A){const s=n.find(r=>e===r.domain&&t.unique()===r.account.networkUnique);s?A({network:t,account:s.account,whitelistChecked:!1,whitelist:{}}):i.a.open(new o.b(o.a.REQUEST_IDENTITY,e,t,{},r=>{!r||r.hasOwnProperty("isError")?A(a.a.identityRejected()):A({network:t,account:r.account,whitelistChecked:!0,whitelist:{domain:e,account:r.account}})}))}requestSignature(e,t,r,n,A,u,l,c){const{transaction:f}=u;i.a.open(new o.b(o.a.REQUEST_SIGNATURE,t,r,{messages:[f],signerAccount:n,showWhiteListCheck:!1},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return c(a.a.invalidSignature()),!1;s.a.plugin(r.blockchain).signer(A,e,u,e=>{c({signature:e})})}))}requestArbitrarySignatrue(e,t,r,n,A,u,l){const{whatfor:c,data:f}=u;i.a.open(new o.b(o.a.REQUEST_ARBITRARY_SIGNATURE,t,r,{signerAccount:n,message:{whatfor:c,data:f}},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return l(a.a.signatureRejected()),!1;s.a.plugin(r.blockchain).signer(A,e,u,l)}))}}}.call(this,r(8).Buffer)},function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},function(e,t,r){"use strict";var n=r(108),A=r(1077),i=r(1079),o=r(1080),a=r(1081),s=r(643);e.exports=function(e){return new Promise(function(t,u){var l=e.data,c=e.headers;n.isFormData(l)&&delete c["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var d=e.auth.username||"",g=e.auth.password||"";c.Authorization="Basic "+btoa(d+":"+g)}if(f.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in f?o(f.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:r,config:e,request:f};A(t,u,n),f=null}},f.onerror=function(){u(s("Network Error",e,null,f)),f=null},f.ontimeout=function(){u(s("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",f)),f=null},n.isStandardBrowserEnv()){var h=r(1082),p=(e.withCredentials||a(e.url))&&e.xsrfCookieName?h.read(e.xsrfCookieName):void 0;p&&(c[e.xsrfHeaderName]=p)}if("setRequestHeader"in f&&n.forEach(c,function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete c[t]:f.setRequestHeader(t,e)}),e.withCredentials&&(f.withCredentials=!0),e.responseType)try{f.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){f&&(f.abort(),u(e),f=null)}),void 0===l&&(l=null),f.send(l)})}},function(e,t,r){"use strict";var n=r(1078);e.exports=function(e,t,r,A,i){var o=new Error(e);return n(o,t,r,A,i)}},function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,t){var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(r){var n=new Uint8Array(16);e.exports=function(){return r(n),n}}else{var A=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),A[t]=e>>>((3&t)<<3)&255;return A}}},function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0,A=r;return[A[e[n++]],A[e[n++]],A[e[n++]],A[e[n++]],"-",A[e[n++]],A[e[n++]],"-",A[e[n++]],A[e[n++]],"-",A[e[n++]],A[e[n++]],"-",A[e[n++]],A[e[n++]],A[e[n++]],A[e[n++]],A[e[n++]],A[e[n++]]].join("")}},function(e,t,r){var n=r(429);function A(e){return e.name||e.toString().match(/function (.*?)\s*\(/)[1]}function i(e){return n.Nil(e)?"":A(e.constructor)}function o(e,t){Error.captureStackTrace&&Error.captureStackTrace(e,t)}function a(e){return n.Function(e)?e.toJSON?e.toJSON():A(e):n.Array(e)?"Array":e&&n.Object(e)?"Object":void 0!==e?e:""}function s(e,t,r){var A=function(e){return n.Function(e)?"":n.String(e)?JSON.stringify(e):e&&n.Object(e)?"":e}(t);return"Expected "+a(e)+", got"+(""!==r?" "+r:"")+(""!==A?" "+A:"")}function u(e,t,r){r=r||i(t),this.message=s(e,t,r),o(this,u),this.__type=e,this.__value=t,this.__valueTypeName=r}function l(e,t,r,n,A){e?(A=A||i(n),this.message=function(e,t,r,n,A){var i='" of type ';return"key"===t&&(i='" with key type '),s('property "'+a(r)+i+a(e),n,A)}(e,r,t,n,A)):this.message='Unexpected property "'+t+'"',o(this,u),this.__label=r,this.__property=t,this.__type=e,this.__value=n,this.__valueTypeName=A}u.prototype=Object.create(Error.prototype),u.prototype.constructor=u,l.prototype=Object.create(Error.prototype),l.prototype.constructor=u,e.exports={TfTypeError:u,TfPropertyTypeError:l,tfCustomError:function(e,t){return new u(e,{},t)},tfSubError:function(e,t,r){return e instanceof l?(t=t+"."+e.__property,e=new l(e.__type,t,e.__label,e.__value,e.__valueTypeName)):e instanceof u&&(e=new l(e.__type,t,r,e.__value,e.__valueTypeName)),o(e),e},tfJSON:a,getValueTypeName:i}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={};let A;t.wordlists=n,t._default=A;try{t._default=A=r(1101),n.chinese_simplified=A}catch(e){}try{t._default=A=r(1102),n.chinese_traditional=A}catch(e){}try{t._default=A=r(1103),n.korean=A}catch(e){}try{t._default=A=r(1104),n.french=A}catch(e){}try{t._default=A=r(1105),n.italian=A}catch(e){}try{t._default=A=r(1106),n.spanish=A}catch(e){}try{t._default=A=r(1107),n.japanese=A,n.JA=A}catch(e){}try{t._default=A=r(1108),n.english=A,n.EN=A}catch(e){}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.sha3=t.sha256=t.sha256ripemd160=t.ensureHex=t.isHex=t.reverseHex=t.reverseArray=t.hexXor=t.num2VarInt=t.num2hexstring=t.int2hex=t.hexstring2str=t.str2hexstring=t.ab2hexstring=t.hexstring2ab=t.str2ab=t.ab2str=void 0;var A=n(r(221)),i=n(r(1109)),o=n(r(1110)),a=n(r(1112)),s=n(r(1113)),u=function(e){return String.fromCharCode.apply(null,new Uint8Array(e))};t.ab2str=u;var l=function(e){if("string"!=typeof e)throw new Error("str2ab expects a string");for(var t=new Uint8Array(e.length),r=0,n=e.length;r<n;r++)t[r]=e.charCodeAt(r);return t};t.str2ab=l;var c=function(e){if(I(e),!e.length)return new Uint8Array;for(var t=e.length/2,r=new Uint8Array(t),n=0;n<t;n++)r[n]=parseInt(e.substring(0,2),16),e=e.substring(2);return r};t.hexstring2ab=c;var f=function(e){if("object"!==(0,A.default)(e))throw new Error("ab2hexstring expects an array");for(var t="",r=0;r<e.length;r++){var n=e[r].toString(16);t+=n=0===n.length?"00":1===n.length?"0"+n:n}return t};t.ab2hexstring=f;t.str2hexstring=function(e){return f(l(e))};t.hexstring2str=function(e){return u(c(e))};t.int2hex=function(e){if("number"!=typeof e)throw new Error("int2hex expects a number");var t=e.toString(16);return t.length%2?"0"+t:t};var d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("number"!=typeof e)throw new Error("num must be numeric");if(e<0)throw new RangeError("num is unsigned (>= 0)");if(t%1!=0)throw new Error("size must be a whole integer");if(!Number.isSafeInteger(e))throw new RangeError("num (".concat(e,") must be a safe integer"));t*=2;var n=e.toString(16);return n=n.length%t==0?n:("0".repeat(t)+n).substring(n.length),r&&(n=g(n)),n};t.num2hexstring=d;t.num2VarInt=function(e){return e<253?d(e):e<=65535?"fd"+d(e,2,!0):e<=4294967295?"fe"+d(e,4,!0):"ff"+d(e,8,!0)};t.hexXor=function(e,t){if(I(e),I(t),e.length!==t.length)throw new Error("strings are disparate lengths");for(var r=[],n=0;n<e.length;n+=2)r.push(parseInt(e.substr(n,2),16)^parseInt(t.substr(n,2),16));return f(r)};t.reverseArray=function(e){if("object"!==(0,A.default)(e)||!e.length)throw new Error("reverseArray expects an array");for(var t=new Uint8Array(e.length),r=0;r<e.length;r++)t[r]=e[e.length-1-r];return t};var g=function(e){I(e);for(var t="",r=e.length-2;r>=0;r-=2)t+=e.substr(r,2);return t};t.reverseHex=g;var h=/^([0-9A-Fa-f]{2})*$/,p=function(e){try{return h.test(e)}catch(e){return!1}};t.isHex=p;var I=function(e){if(!p(e))throw new Error("Expected a hexstring but got ".concat(e))};t.ensureHex=I;t.sha256ripemd160=function(e){if("string"!=typeof e)throw new Error("sha256ripemd160 expects a string");if(e.length%2!=0)throw new Error("invalid hex string length: ".concat(e));var t=i.default.parse(e),r=(0,a.default)(t);return(0,s.default)(r).toString()};t.sha256=function(e){if("string"!=typeof e)throw new Error("sha256 expects a hex string");if(e.length%2!=0)throw new Error("invalid hex string length: ".concat(e));var t=i.default.parse(e);return(0,a.default)(t).toString()};t.sha3=function(e){if("string"!=typeof e)throw new Error("sha3 expects a hex string");if(e.length%2!=0)throw new Error("invalid hex string length: ".concat(e));var t=i.default.parse(e);return(0,o.default)(t).toString()}},function(e,t,r){"use strict";(function(t){var n=r(62),A=r(109),i=r(196),o=r(36),a=r(267),s=r(311),u=r(178),l=A.Long;function c(e,r,n,l,c){if(!(e=s(e)))throw new TypeError("private_key is required");if(!(r=a(r)))throw new TypeError("public_key is required");if(!(n=d(n)))throw new TypeError("nonce is required");if(!t.isBuffer(l)){if("string"!=typeof l)throw new TypeError("message should be buffer or string");l=new t(l,"binary")}if(c&&"number"!=typeof c)throw new TypeError("checksum should be a number");var f=e.getSharedSecret(r),h=new A(A.DEFAULT_CAPACITY,A.LITTLE_ENDIAN);h.writeUint64(n),h.append(f.toString("binary"),"binary"),h=new t(h.copy(0,h.offset).toBinary(),"binary");var p=u.sha512(h),I=p.slice(32,48),B=p.slice(0,32),C=u.sha256(p);C=C.slice(0,4);var m=A.fromBinary(C.toString("binary"),A.DEFAULT_CAPACITY,A.LITTLE_ENDIAN);if(C=m.readUint32(),c){if(C!==c)throw new Error("Invalid key");l=function(e,r,n){o(e,"Missing cipher text"),e=g(e);var A=i.createDecipheriv("aes-256-cbc",r,n);return e=t.concat([A.update(e),A.final()])}(l,B,I)}else l=function(e,r,n){o(e,"Missing plain text"),e=g(e);var A=i.createCipheriv("aes-256-cbc",r,n);return e=t.concat([A.update(e),A.final()])}(l,B,I);return{nonce:n,message:l,checksum:C}}e.exports={encrypt:function(e,t,r){var A=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){if(null===f){var e=new Uint8Array(n(2));f=parseInt(e[0]<<8|e[1],10)}var t=l.fromNumber(Date.now()),r=++f%65535;return(t=t.shiftLeft(16).or(l.fromNumber(r))).toString()}();return c(e,t,A,r)},decrypt:function(e,t,r,n,A){return c(e,t,r,n,A).message}};var f=null,d=function(e){return e?l.isLong(e)?e:l.fromString(e):e},g=function(e){return e?t.isBuffer(e)?e:new t(e,"binary"):e}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var n=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,a,s=o(e),u=1;u<arguments.length;u++){for(var l in r=Object(arguments[u]))A.call(r,l)&&(s[l]=r[l]);if(n){a=n(r);for(var c=0;c<a.length;c++)i.call(r,a[c])&&(s[a[c]]=r[a[c]])}}return s}},function(e,t,r){var n=r(36),A=r(15).Buffer,i=r(98),o=i.valueOf(3);function a(e,t,r,A){n.notStrictEqual(A,void 0,"Missing Z coordinate"),this.curve=e,this.x=t,this.y=r,this.z=A,this._zInv=null,this.compressed=!0}Object.defineProperty(a.prototype,"zInv",{get:function(){return null===this._zInv&&(this._zInv=this.z.modInverse(this.curve.p)),this._zInv}}),Object.defineProperty(a.prototype,"affineX",{get:function(){return this.x.multiply(this.zInv).mod(this.curve.p)}}),Object.defineProperty(a.prototype,"affineY",{get:function(){return this.y.multiply(this.zInv).mod(this.curve.p)}}),a.fromAffine=function(e,t,r){return new a(e,t,r,i.ONE)},a.prototype.equals=function(e){return e===this||(this.curve.isInfinity(this)?this.curve.isInfinity(e):this.curve.isInfinity(e)?this.curve.isInfinity(this):0===e.y.multiply(this.z).subtract(this.y.multiply(e.z)).mod(this.curve.p).signum()&&0===e.x.multiply(this.z).subtract(this.x.multiply(e.z)).mod(this.curve.p).signum())},a.prototype.negate=function(){var e=this.curve.p.subtract(this.y);return new a(this.curve,this.x,e,this.z)},a.prototype.add=function(e){if(this.curve.isInfinity(this))return e;if(this.curve.isInfinity(e))return this;var t=this.x,r=this.y,n=e.x,A=e.y.multiply(this.z).subtract(r.multiply(e.z)).mod(this.curve.p),i=n.multiply(this.z).subtract(t.multiply(e.z)).mod(this.curve.p);if(0===i.signum())return 0===A.signum()?this.twice():this.curve.infinity;var s=i.square(),u=s.multiply(i),l=t.multiply(s),c=A.square().multiply(this.z),f=c.subtract(l.shiftLeft(1)).multiply(e.z).subtract(u).multiply(i).mod(this.curve.p),d=l.multiply(o).multiply(A).subtract(r.multiply(u)).subtract(c.multiply(A)).multiply(e.z).add(A.multiply(u)).mod(this.curve.p),g=u.multiply(this.z).multiply(e.z).mod(this.curve.p);return new a(this.curve,f,d,g)},a.prototype.twice=function(){if(this.curve.isInfinity(this))return this;if(0===this.y.signum())return this.curve.infinity;var e=this.x,t=this.y,r=t.multiply(this.z).mod(this.curve.p),n=r.multiply(t).mod(this.curve.p),A=this.curve.a,i=e.square().multiply(o);0!==A.signum()&&(i=i.add(this.z.square().multiply(A)));var s=(i=i.mod(this.curve.p)).square().subtract(e.shiftLeft(3).multiply(n)).shiftLeft(1).multiply(r).mod(this.curve.p),u=i.multiply(o).multiply(e).subtract(n.shiftLeft(1)).shiftLeft(2).multiply(n).subtract(i.pow(3)).mod(this.curve.p),l=r.pow(3).shiftLeft(3).mod(this.curve.p);return new a(this.curve,s,u,l)},a.prototype.multiply=function(e){if(this.curve.isInfinity(this))return this;if(0===e.signum())return this.curve.infinity;for(var t=e,r=t.multiply(o),n=this.negate(),A=this,i=r.bitLength()-2;i>0;--i){var a=r.testBit(i),s=t.testBit(i);A=A.twice(),a!==s&&(A=A.add(a?this:n))}return A},a.prototype.multiplyTwo=function(e,t,r){for(var n=Math.max(e.bitLength(),r.bitLength())-1,A=this.curve.infinity,i=this.add(t);n>=0;){var o=e.testBit(n),a=r.testBit(n);A=A.twice(),o?A=a?A.add(i):A.add(this):a&&(A=A.add(t)),--n}return A},a.prototype.getEncoded=function(e){if(null==e&&(e=this.compressed),this.curve.isInfinity(this))return A.alloc(1,0);var t,r=this.affineX,n=this.affineY,i=this.curve.pLength;return e?(t=A.allocUnsafe(1+i)).writeUInt8(n.isEven()?2:3,0):((t=A.allocUnsafe(1+i+i)).writeUInt8(4,0),n.toBuffer(i).copy(t,1+i)),r.toBuffer(i).copy(t,1),t},a.decodeFrom=function(e,t){var r,A=t.readUInt8(0),o=4!==A,s=Math.floor((e.p.bitLength()+7)/8),u=i.fromBuffer(t.slice(1,1+s));if(o){n.equal(t.length,s+1,"Invalid sequence length"),n(2===A||3===A,"Invalid sequence tag");var l=3===A;r=e.pointFromX(l,u)}else{n.equal(t.length,1+s+s,"Invalid sequence length");var c=i.fromBuffer(t.slice(1+s));r=a.fromAffine(e,u,c)}return r.compressed=o,r},a.prototype.toString=function(){return this.curve.isInfinity(this)?"(INFINITY)":"("+this.affineX.toString()+","+this.affineY.toString()+")"},e.exports=a},function(e,t,r){function n(e,t,r){if(!(this instanceof n))return new n(e,t,r);null!=e&&("number"==typeof e?this.fromNumber(e,t,r):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}var A=n.prototype;A.__bigi=r(1119).version,n.isBigInteger=function(e,t){return e&&e.__bigi&&(!t||e.__bigi===A.__bigi)},n.prototype.am=function(e,t,r,n,A,i){for(;--i>=0;){var o=t*this[e++]+r[n]+A;A=Math.floor(o/67108864),r[n++]=67108863&o}return A},n.prototype.DB=26,n.prototype.DM=67108863;var i=n.prototype.DV=1<<26;n.prototype.FV=Math.pow(2,52),n.prototype.F1=26,n.prototype.F2=0;var o,a,s="0123456789abcdefghijklmnopqrstuvwxyz",u=new Array;for(o="0".charCodeAt(0),a=0;a<=9;++a)u[o++]=a;for(o="a".charCodeAt(0),a=10;a<36;++a)u[o++]=a;for(o="A".charCodeAt(0),a=10;a<36;++a)u[o++]=a;function l(e){return s.charAt(e)}function c(e,t){var r=u[e.charCodeAt(t)];return null==r?-1:r}function f(e){var t=new n;return t.fromInt(e),t}function d(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}function g(e){this.m=e}function h(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function p(e,t){return e&t}function I(e,t){return e|t}function B(e,t){return e^t}function C(e,t){return e&~t}function m(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function y(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function Q(){}function w(e){return e}function E(e){this.r2=new n,this.q3=new n,n.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}g.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},g.prototype.revert=function(e){return e},g.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},g.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},g.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},h.prototype.convert=function(e){var t=new n;return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(n.ZERO)>0&&this.m.subTo(t,t),t},h.prototype.revert=function(e){var t=new n;return e.copyTo(t),this.reduce(t),t},h.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var r=32767&e[t],n=r*this.mpl+((r*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[r=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},h.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},h.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},A.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},A.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+i:this.t=0},A.fromString=function(e,t){var r;if(16==t)r=4;else if(8==t)r=3;else if(256==t)r=8;else if(2==t)r=1;else if(32==t)r=5;else{if(4!=t)return void this.fromRadix(e,t);r=2}this.t=0,this.s=0;for(var A=e.length,i=!1,o=0;--A>=0;){var a=8==r?255&e[A]:c(e,A);a<0?"-"==e.charAt(A)&&(i=!0):(i=!1,0==o?this[this.t++]=a:o+r>this.DB?(this[this.t-1]|=(a&(1<<this.DB-o)-1)<<o,this[this.t++]=a>>this.DB-o):this[this.t-1]|=a<<o,(o+=r)>=this.DB&&(o-=this.DB))}8==r&&0!=(128&e[0])&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),i&&n.ZERO.subTo(this,this)},A.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},A.dlShiftTo=function(e,t){var r;for(r=this.t-1;r>=0;--r)t[r+e]=this[r];for(r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s},A.drShiftTo=function(e,t){for(var r=e;r<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s},A.lShiftTo=function(e,t){var r,n=e%this.DB,A=this.DB-n,i=(1<<A)-1,o=Math.floor(e/this.DB),a=this.s<<n&this.DM;for(r=this.t-1;r>=0;--r)t[r+o+1]=this[r]>>A|a,a=(this[r]&i)<<n;for(r=o-1;r>=0;--r)t[r]=0;t[o]=a,t.t=this.t+o+1,t.s=this.s,t.clamp()},A.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)t.t=0;else{var n=e%this.DB,A=this.DB-n,i=(1<<n)-1;t[0]=this[r]>>n;for(var o=r+1;o<this.t;++o)t[o-r-1]|=(this[o]&i)<<A,t[o-r]=this[o]>>n;n>0&&(t[this.t-r-1]|=(this.s&i)<<A),t.t=this.t-r,t.clamp()}},A.subTo=function(e,t){for(var r=0,n=0,A=Math.min(e.t,this.t);r<A;)n+=this[r]-e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n-=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n-=e[r],t[r++]=n&this.DM,n>>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:n>0&&(t[r++]=n),t.t=r,t.clamp()},A.multiplyTo=function(e,t){var r=this.abs(),A=e.abs(),i=r.t;for(t.t=i+A.t;--i>=0;)t[i]=0;for(i=0;i<A.t;++i)t[i+r.t]=r.am(0,A[i],t,i,0,r.t);t.s=0,t.clamp(),this.s!=e.s&&n.ZERO.subTo(t,t)},A.squareTo=function(e){for(var t=this.abs(),r=e.t=2*t.t;--r>=0;)e[r]=0;for(r=0;r<t.t-1;++r){var n=t.am(r,t[r],e,2*r,0,1);(e[r+t.t]+=t.am(r+1,2*t[r],e,2*r+1,n,t.t-r-1))>=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},A.divRemTo=function(e,t,r){var A=e.abs();if(!(A.t<=0)){var i=this.abs();if(i.t<A.t)return null!=t&&t.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=new n);var o=new n,a=this.s,s=e.s,u=this.DB-d(A[A.t-1]);u>0?(A.lShiftTo(u,o),i.lShiftTo(u,r)):(A.copyTo(o),i.copyTo(r));var l=o.t,c=o[l-1];if(0!=c){var f=c*(1<<this.F1)+(l>1?o[l-2]>>this.F2:0),g=this.FV/f,h=(1<<this.F1)/f,p=1<<this.F2,I=r.t,B=I-l,C=null==t?new n:t;for(o.dlShiftTo(B,C),r.compareTo(C)>=0&&(r[r.t++]=1,r.subTo(C,r)),n.ONE.dlShiftTo(l,C),C.subTo(o,o);o.t<l;)o[o.t++]=0;for(;--B>=0;){var m=r[--I]==c?this.DM:Math.floor(r[I]*g+(r[I-1]+p)*h);if((r[I]+=o.am(0,m,r,B,0,l))<m)for(o.dlShiftTo(B,C),r.subTo(C,r);r[I]<--m;)r.subTo(C,r)}null!=t&&(r.drShiftTo(l,t),a!=s&&n.ZERO.subTo(t,t)),r.t=l,r.clamp(),u>0&&r.rShiftTo(u,r),a<0&&n.ZERO.subTo(r,r)}}},A.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},A.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},A.exp=function(e,t){if(e>4294967295||e<1)return n.ONE;var r=new n,A=new n,i=t.convert(this),o=d(e)-1;for(i.copyTo(r);--o>=0;)if(t.sqrTo(r,A),(e&1<<o)>0)t.mulTo(A,i,r);else{var a=r;r=A,A=a}return t.revert(r)},A.toString=function(e){var t;if(this.s<0)return"-"+this.negate().toString(e);if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var r,n=(1<<t)-1,A=!1,i="",o=this.t,a=this.DB-o*this.DB%t;if(o-- >0)for(a<this.DB&&(r=this[o]>>a)>0&&(A=!0,i=l(r));o>=0;)a<t?(r=(this[o]&(1<<a)-1)<<t-a,r|=this[--o]>>(a+=this.DB-t)):(r=this[o]>>(a-=t)&n,a<=0&&(a+=this.DB,--o)),r>0&&(A=!0),A&&(i+=l(r));return A?i:"0"},A.negate=function(){var e=new n;return n.ZERO.subTo(this,e),e},A.abs=function(){return this.s<0?this.negate():this},A.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this[r]-e[r]))return t;return 0},A.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+d(this[this.t-1]^this.s&this.DM)},A.byteLength=function(){return this.bitLength()>>3},A.mod=function(e){var t=new n;return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(n.ZERO)>0&&e.subTo(t,t),t},A.modPowInt=function(e,t){var r;return r=e<256||t.isEven()?new g(t):new h(t),this.exp(e,r)},Q.prototype.convert=w,Q.prototype.revert=w,Q.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r)},Q.prototype.sqrTo=function(e,t){e.squareTo(t)},E.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=new n;return e.copyTo(t),this.reduce(t),t},E.prototype.revert=function(e){return e},E.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},E.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},E.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var b=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],v=(1<<26)/b[b.length-1];A.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},A.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),r=Math.pow(e,t),A=f(r),i=new n,o=new n,a="";for(this.divRemTo(A,i,o);i.signum()>0;)a=(r+o.intValue()).toString(e).substr(1)+a,i.divRemTo(A,i,o);return o.intValue().toString(e)+a},A.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var r=this.chunkSize(t),A=Math.pow(t,r),i=!1,o=0,a=0,s=0;s<e.length;++s){var u=c(e,s);u<0?"-"==e.charAt(s)&&0==this.signum()&&(i=!0):(a=t*a+u,++o>=r&&(this.dMultiply(A),this.dAddOffset(a,0),o=0,a=0))}o>0&&(this.dMultiply(Math.pow(t,o)),this.dAddOffset(a,0)),i&&n.ZERO.subTo(this,this)},A.fromNumber=function(e,t,r){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(n.ONE.shiftLeft(e-1),I,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(n.ONE.shiftLeft(e-1),this);else{var A=new Array,i=7&e;A.length=1+(e>>3),t.nextBytes(A),i>0?A[0]&=(1<<i)-1:A[0]=0,this.fromString(A,256)}},A.bitwiseTo=function(e,t,r){var n,A,i=Math.min(e.t,this.t);for(n=0;n<i;++n)r[n]=t(this[n],e[n]);if(e.t<this.t){for(A=e.s&this.DM,n=i;n<this.t;++n)r[n]=t(this[n],A);r.t=this.t}else{for(A=this.s&this.DM,n=i;n<e.t;++n)r[n]=t(A,e[n]);r.t=e.t}r.s=t(this.s,e.s),r.clamp()},A.changeBit=function(e,t){var r=n.ONE.shiftLeft(e);return this.bitwiseTo(r,t,r),r},A.addTo=function(e,t){for(var r=0,n=0,A=Math.min(e.t,this.t);r<A;)n+=this[r]+e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n+=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n+=e[r],t[r++]=n&this.DM,n>>=this.DB;n+=e.s}t.s=n<0?-1:0,n>0?t[r++]=n:n<-1&&(t[r++]=this.DV+n),t.t=r,t.clamp()},A.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},A.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},A.multiplyLowerTo=function(e,t,r){var n,A=Math.min(this.t+e.t,t);for(r.s=0,r.t=A;A>0;)r[--A]=0;for(n=r.t-this.t;A<n;++A)r[A+this.t]=this.am(0,e[A],r,A,0,this.t);for(n=Math.min(e.t,t);A<n;++A)this.am(0,e[A],r,A,0,t-A);r.clamp()},A.multiplyUpperTo=function(e,t,r){--t;var n=r.t=this.t+e.t-t;for(r.s=0;--n>=0;)r[n]=0;for(n=Math.max(t-this.t,0);n<e.t;++n)r[this.t+n-t]=this.am(t-n,e[n],r,0,0,this.t+n-t);r.clamp(),r.drShiftTo(1,r)},A.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,r=this.s<0?e-1:0;if(this.t>0)if(0==t)r=this[0]%e;else for(var n=this.t-1;n>=0;--n)r=(t*r+this[n])%e;return r},A.millerRabin=function(e){var t=this.subtract(n.ONE),r=t.getLowestSetBit();if(r<=0)return!1;var A=t.shiftRight(r);(e=e+1>>1)>b.length&&(e=b.length);for(var i=new n(null),o=[],a=0;a<e;++a){for(;u=b[Math.floor(Math.random()*b.length)],-1!=o.indexOf(u););o.push(u),i.fromInt(u);var s=i.modPow(A,this);if(0!=s.compareTo(n.ONE)&&0!=s.compareTo(t)){for(var u=1;u++<r&&0!=s.compareTo(t);)if(0==(s=s.modPowInt(2,this)).compareTo(n.ONE))return!1;if(0!=s.compareTo(t))return!1}}return!0},A.clone=function(){var e=new n;return this.copyTo(e),e},A.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},A.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},A.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},A.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},A.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var r,n=this.DB-e*this.DB%8,A=0;if(e-- >0)for(n<this.DB&&(r=this[e]>>n)!=(this.s&this.DM)>>n&&(t[A++]=r|this.s<<this.DB-n);e>=0;)n<8?(r=(this[e]&(1<<n)-1)<<8-n,r|=this[--e]>>(n+=this.DB-8)):(r=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),0!=(128&r)&&(r|=-256),0===A&&(128&this.s)!=(128&r)&&++A,(A>0||r!=this.s)&&(t[A++]=r);return t},A.equals=function(e){return 0==this.compareTo(e)},A.min=function(e){return this.compareTo(e)<0?this:e},A.max=function(e){return this.compareTo(e)>0?this:e},A.and=function(e){var t=new n;return this.bitwiseTo(e,p,t),t},A.or=function(e){var t=new n;return this.bitwiseTo(e,I,t),t},A.xor=function(e){var t=new n;return this.bitwiseTo(e,B,t),t},A.andNot=function(e){var t=new n;return this.bitwiseTo(e,C,t),t},A.not=function(){for(var e=new n,t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},A.shiftLeft=function(e){var t=new n;return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},A.shiftRight=function(e){var t=new n;return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},A.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+m(this[e]);return this.s<0?this.t*this.DB:-1},A.bitCount=function(){for(var e=0,t=this.s&this.DM,r=0;r<this.t;++r)e+=y(this[r]^t);return e},A.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},A.setBit=function(e){return this.changeBit(e,I)},A.clearBit=function(e){return this.changeBit(e,C)},A.flipBit=function(e){return this.changeBit(e,B)},A.add=function(e){var t=new n;return this.addTo(e,t),t},A.subtract=function(e){var t=new n;return this.subTo(e,t),t},A.multiply=function(e){var t=new n;return this.multiplyTo(e,t),t},A.divide=function(e){var t=new n;return this.divRemTo(e,t,null),t},A.remainder=function(e){var t=new n;return this.divRemTo(e,null,t),t},A.divideAndRemainder=function(e){var t=new n,r=new n;return this.divRemTo(e,t,r),new Array(t,r)},A.modPow=function(e,t){var r,A,i=e.bitLength(),o=f(1);if(i<=0)return o;r=i<18?1:i<48?3:i<144?4:i<768?5:6,A=i<8?new g(t):t.isEven()?new E(t):new h(t);var a=new Array,s=3,u=r-1,l=(1<<r)-1;if(a[1]=A.convert(this),r>1){var c=new n;for(A.sqrTo(a[1],c);s<=l;)a[s]=new n,A.mulTo(c,a[s-2],a[s]),s+=2}var p,I,B=e.t-1,C=!0,m=new n;for(i=d(e[B])-1;B>=0;){for(i>=u?p=e[B]>>i-u&l:(p=(e[B]&(1<<i+1)-1)<<u-i,B>0&&(p|=e[B-1]>>this.DB+i-u)),s=r;0==(1&p);)p>>=1,--s;if((i-=s)<0&&(i+=this.DB,--B),C)a[p].copyTo(o),C=!1;else{for(;s>1;)A.sqrTo(o,m),A.sqrTo(m,o),s-=2;s>0?A.sqrTo(o,m):(I=o,o=m,m=I),A.mulTo(m,a[p],o)}for(;B>=0&&0==(e[B]&1<<i);)A.sqrTo(o,m),I=o,o=m,m=I,--i<0&&(i=this.DB-1,--B)}return A.revert(o)},A.modInverse=function(e){var t=e.isEven();if(0===this.signum())throw new Error("division by zero");if(this.isEven()&&t||0==e.signum())return n.ZERO;for(var r=e.clone(),A=this.clone(),i=f(1),o=f(0),a=f(0),s=f(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),t?(i.isEven()&&o.isEven()||(i.addTo(this,i),o.subTo(e,o)),i.rShiftTo(1,i)):o.isEven()||o.subTo(e,o),o.rShiftTo(1,o);for(;A.isEven();)A.rShiftTo(1,A),t?(a.isEven()&&s.isEven()||(a.addTo(this,a),s.subTo(e,s)),a.rShiftTo(1,a)):s.isEven()||s.subTo(e,s),s.rShiftTo(1,s);r.compareTo(A)>=0?(r.subTo(A,r),t&&i.subTo(a,i),o.subTo(s,o)):(A.subTo(r,A),t&&a.subTo(i,a),s.subTo(o,s))}if(0!=A.compareTo(n.ONE))return n.ZERO;for(;s.compareTo(e)>=0;)s.subTo(e,s);for(;s.signum()<0;)s.addTo(e,s);return s},A.pow=function(e){return this.exp(e,new Q)},A.gcd=function(e){var t=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone();if(t.compareTo(r)<0){var n=t;t=r,r=n}var A=t.getLowestSetBit(),i=r.getLowestSetBit();if(i<0)return t;for(A<i&&(i=A),i>0&&(t.rShiftTo(i,t),r.rShiftTo(i,r));t.signum()>0;)(A=t.getLowestSetBit())>0&&t.rShiftTo(A,t),(A=r.getLowestSetBit())>0&&r.rShiftTo(A,r),t.compareTo(r)>=0?(t.subTo(r,t),t.rShiftTo(1,t)):(r.subTo(t,r),r.rShiftTo(1,r));return i>0&&r.lShiftTo(i,r),r},A.isProbablePrime=function(e){var t,r=this.abs();if(1==r.t&&r[0]<=b[b.length-1]){for(t=0;t<b.length;++t)if(r[0]==b[t])return!0;return!1}if(r.isEven())return!1;for(t=1;t<b.length;){for(var n=b[t],A=t+1;A<b.length&&n<v;)n*=b[A++];for(n=r.modInt(n);t<A;)if(n%b[t++]==0)return!1}return r.millerRabin(e)},A.square=function(){var e=new n;return this.squareTo(e),e},n.ZERO=f(0),n.ONE=f(1),n.valueOf=f,e.exports=n},function(e,t,r){var n=r(36),A=r(98),i=r(653);function o(e,t,r,n,o,a,s){this.p=e,this.a=t,this.b=r,this.G=i.fromAffine(this,n,o),this.n=a,this.h=s,this.infinity=new i(this,null,null,A.ZERO),this.pOverFour=e.add(A.ONE).shiftRight(2),this.pLength=Math.floor((this.p.bitLength()+7)/8)}o.prototype.pointFromX=function(e,t){var r=t.pow(3).add(this.a.multiply(t)).add(this.b).mod(this.p).modPow(this.pOverFour,this.p),n=r;return r.isEven()^!e&&(n=this.p.subtract(n)),i.fromAffine(this,t,n)},o.prototype.isInfinity=function(e){return e===this.infinity||0===e.z.signum()&&0!==e.y.signum()},o.prototype.isOnCurve=function(e){if(this.isInfinity(e))return!0;var t=e.affineX,r=e.affineY,n=this.a,A=this.b,i=this.p;if(t.signum()<0||t.compareTo(i)>=0)return!1;if(r.signum()<0||r.compareTo(i)>=0)return!1;var o=r.square().mod(i),a=t.pow(3).add(n.multiply(t)).add(A).mod(i);return o.equals(a)},o.prototype.validate=function(e){n(!this.isInfinity(e),"Point is at infinity"),n(this.isOnCurve(e),"Point is not on the curve");var t=e.multiply(this.n);return n(this.isInfinity(t),"Point is not a scalar multiple of G"),!0},e.exports=o},function(e,t,r){"use strict";(function(t){var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,A=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){A=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(A)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(657),o=r(178),a=r(198).getCurveByName("secp256k1"),s=r(36),u=r(98),l=r(268),c=r(267),f=r(311);function d(e,r,n){function A(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf8";return"string"==typeof e&&(e=t.from(e,n)),s(t.isBuffer(e),"data is a required String or Buffer"),f(e=o.sha256(e),r)}function f(n,A){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"hex";if("string"==typeof n&&(n=t.from(n,o)),32!==n.length||!t.isBuffer(n))throw new Error("dataSha256: 32 bytes required");var u=c(A);return s(u,"pubkey required"),i.verify(a,n,{r:e,s:r},u.Q)}function d(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utf8";return"string"==typeof e&&(e=t.from(e,r)),s(t.isBuffer(e),"data is a required String or Buffer"),g(e=o.sha256(e))}function g(A){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hex";if("string"==typeof A&&(A=t.from(A,o)),32!==A.length||!t.isBuffer(A))throw new Error("dataSha256: 32 byte String or buffer requred");var s=u.fromBuffer(A),l=n;l-=27,l&=3;var f=i.recoverPubKey(a,s,{r:e,s:r,i:n},l);return c.fromPoint(f)}function h(){var A;return(A=new t(65)).writeUInt8(n,0),e.toBuffer(32).copy(A,1),r.toBuffer(32).copy(A,33),A}s.equal(null!=e,!0,"Missing parameter"),s.equal(null!=r,!0,"Missing parameter"),s.equal(null!=n,!0,"Missing parameter");var p=void 0;return{r:e,s:r,i:n,toBuffer:h,verify:A,verifyHash:f,verifyHex:function(e,r){return console.log('Deprecated: use verify(data, pubkey, "hex")'),A(t.from(e,"hex"),r)},recover:d,recoverHash:g,toHex:function(){return h().toString("hex")},toString:function(){return p||(p="SIG_K1_"+l.checkEncode(h(),"K1"))},verifyBuffer:function(){return console.log("Deprecated: use signature.verify instead (same arguments)"),A.apply(void 0,arguments)},recoverPublicKey:function(){return console.log("Deprecated: use signature.recover instead (same arguments)"),d.apply(void 0,arguments)},recoverPublicKeyFromBuffer:function(){return console.log("Deprecated: use signature.recoverHash instead (same arguments)"),g.apply(void 0,arguments)}}}e.exports=d,d.sign=function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf8";return"string"==typeof e&&(e=t.from(e,n)),s(t.isBuffer(e),"data is a required String or Buffer"),e=o.sha256(e),d.signHash(e,r)},d.signHash=function(e,r){var n,A,o,l,c,g,h,p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"hex";if("string"==typeof e&&(e=t.from(e,p)),32!==e.length||!t.isBuffer(e))throw new Error("dataSha256: 32 byte buffer requred");for(r=f(r),s(r,"privateKey required"),l=null,h=0,A=u.fromBuffer(e);;){if(g=(n=(o=i.sign(a,e,r.d,h++)).toDER())[5+(c=n[3])],32===c&&32===g){l=i.calcPubKeyRecoveryParam(a,A,o,r.toPublic().Q),l+=4,l+=27;break}h%10==0&&console.log("WARN: "+h+" attempts to find canonical signature")}return d(o.r,o.s,l)},d.fromBuffer=function(e){var r;return s(t.isBuffer(e),"Buffer is required"),s.equal(e.length,65,"Invalid signature length"),r=e.readUInt8(0),s.equal(r-27,r-27&7,"Invalid signature parameter"),d(u.fromBuffer(e.slice(1,33)),u.fromBuffer(e.slice(33)),r)},d.fromHex=function(e){return d.fromBuffer(t.from(e,"hex"))},d.fromString=function(e){try{return d.fromStringOrThrow(e)}catch(e){return null}},d.fromStringOrThrow=function(e){s.equal(void 0===e?"undefined":A(e),"string","signature");var t=e.match(/^SIG_([A-Za-z0-9]+)_([A-Za-z0-9]+)$/);s(null!=t&&3===t.length,"Expecting signature like: SIG_K1_base58signature..");var r=n(t,3),i=r[1],o=r[2];return s.equal(i,"K1","K1 signature expected"),d.fromBuffer(l.checkDecode(o,i))},d.from=function(e){var r=e?e.r&&e.s&&e.i?e:"string"==typeof e&&130===e.length?d.fromHex(e):"string"==typeof e&&130!==e.length?d.fromStringOrThrow(e):t.isBuffer(e)?d.fromBuffer(e):null:e;if(!r)throw new TypeError("signature should be a hex string or buffer");return r}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){var n=r(36),A=r(178),i=r(658),o=r(98),a=r(1124);function s(e,r,a,s,u){i("Buffer",r),i(o,a),u&&(r=A.sha256(t.concat([r,new t(u)]))),n.equal(r.length,32,"Hash must be 256 bit");var l=a.toBuffer(32),c=new t(32),f=new t(32);f.fill(1),c.fill(0),c=A.HmacSHA256(t.concat([f,new t([0]),l,r]),c),f=A.HmacSHA256(f,c),c=A.HmacSHA256(t.concat([f,new t([1]),l,r]),c),f=A.HmacSHA256(f,c),f=A.HmacSHA256(f,c);for(var d=o.fromBuffer(f);d.signum()<=0||d.compareTo(e.n)>=0||!s(d);)c=A.HmacSHA256(t.concat([f,new t([0])]),c),f=A.HmacSHA256(f,c),f=A.HmacSHA256(f,c),d=o.fromBuffer(f);return d}function u(e,t,r,n){var A=e.n,i=e.G,o=r.r,a=r.s;if(o.signum()<=0||o.compareTo(A)>=0)return!1;if(a.signum()<=0||a.compareTo(A)>=0)return!1;var s=a.modInverse(A),u=t.multiply(s).mod(A),l=o.multiply(s).mod(A),c=i.multiplyTwo(u,n,l);return!e.isInfinity(c)&&c.affineX.mod(A).equals(o)}function l(e,t,r,A){n.strictEqual(3&A,A,"Recovery param is more than two bits");var i=e.n,o=e.G,a=r.r,s=r.s;n(a.signum()>0&&a.compareTo(i)<0,"Invalid r value"),n(s.signum()>0&&s.compareTo(i)<0,"Invalid s value");var u=1&A,l=A>>1?a.add(i):a,c=e.pointFromX(u,l),f=c.multiply(i);n(e.isInfinity(f),"nR is not a valid curve point");var d=t.negate().mod(i),g=a.modInverse(i),h=c.multiplyTwo(s,o,d).multiply(g);return e.validate(h),h}e.exports={calcPubKeyRecoveryParam:function(e,t,r,n){for(var A=0;A<4;A++){if(l(e,t,r,A).equals(n))return A}throw new Error("Unable to find valid recovery factor")},deterministicGenerateK:s,recoverPubKey:l,sign:function(e,t,r,n){var A,i,u=o.fromBuffer(t),l=e.n,c=e.G,f=(s(e,t,r,function(t){var n=c.multiply(t);return!e.isInfinity(n)&&(0!==(A=n.affineX.mod(l)).signum()&&0!==(i=t.modInverse(l).multiply(u.add(r.multiply(A))).mod(l)).signum())},n),l.shiftRight(1));return i.compareTo(f)>0&&(i=l.subtract(i)),a(A,i)},verify:function(e,t,r,n){return u(e,o.fromBuffer(t),r,n)},verifyRaw:u}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){function r(e){var t=e.toString().match(/function (.*?)\(/);return t?t[1]:null}e.exports=function(e,n){switch(e){case"Array":if(Array.isArray(n))return;break;case"Boolean":if("boolean"==typeof n)return;break;case"Buffer":if(t.isBuffer(n))return;break;case"Number":if("number"==typeof n)return;break;case"String":if("string"==typeof n)return;break;default:if(r(n.constructor)===r(e))return}throw new TypeError("Expected "+(r(e)||e)+", got "+n)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(15).Buffer;e.exports=function(e){if("number"!=typeof e)throw new TypeError("length must be a number");function t(t,r,A){if(!n.isBuffer(t))throw new TypeError("value must be a Buffer instance");if(t.length!==e)throw new RangeError("value.length is out of bounds");if(!r)return n.from(t);if(A||(A=0),A+e>r.length)throw new RangeError("destination buffer is too small");return t.copy(r,A),r}function r(t,r,A){if(r||(r=0),A||(A=t.length),r+e>A)throw new RangeError("not enough data for decode");return n.from(t.slice(r,r+e))}return t.bytes=r.bytes=e,{encode:t,decode:r,encodingLength:function(){return e}}}},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(152);e.exports=function(e){if(!A.isAbstractCodec(e))throw new TypeError("lengthType is invalid codec");function t(t){if(!n.isBuffer(t))throw new TypeError("value must be a Buffer instance");return e.encodingLength(t.length)+t.length}return{encode:function r(A,i,o){o||(o=0);var a=t(A);if(i){if(i.length-o<a)throw new RangeError("destination buffer is too small")}else i=n.allocUnsafe(a);return e.encode(A.length,i,o),o+=e.encode.bytes,A.copy(i,o),r.bytes=a,i},decode:function t(r,A,i){A||(A=0),i||(i=r.length);var o=A,a=e.decode(r,A,i);if((A+=e.decode.bytes)+a>i)throw new RangeError("not enough data for decode");return t.bytes=A+a-o,n.from(r.slice(A,A+a))},encodingLength:function(e){return t(e)}}}},function(e,t,r){"use strict";(function(t){var n=r(17),A=function(e){function r(t){if(e&&(t*=2),t<0)throw Error("varint value is out of bounds");var r=Math.log2(t+1);return Math.ceil(r/7)||1}return{encode:function A(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.alloc(r(i)),a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(i<0)throw Error("varint value is out of bounds");i=i.toString();var s=new n(i,10);e&&(s=s.muln(2));for(var u=0;s.gten(128);)o[a+u]=128|s.andln(255),s=s.shrn(7),u++;return o[a+u]=s.andln(255),A.bytes=u+1,o},decode:function(e){for(var t=0,r=0,n=0,A=e.length;n<A;n++){var i=e[n];if(i<128)return n>9||9===n&&i>1?0:t|i<<r;t|=(127&i)<<r,r+=7}return 0},encodingLength:r}};e.exports=A(!0),e.exports.UVarInt=A(!1),e.exports.VarInt=e.exports}).call(this,r(8).Buffer)},function(e,t,r){"use strict";r.r(t),r.d(t,"default",function(){return h});var n=r(37),A=r(3),i=r(23),o=r(10),a=r(9),s=r(24),u=r(19),l=r(170);const c=l.networks.bitcoin,f={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:77429938,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},d="m/44'/0'/0'",g="m/49'/0'/0'";class h extends n.a{constructor(){super(A.c.BTC,A.a.BTC)}config(e){return{dappStoreTag:e.custom?Object(A.f)(e.blockchain).toLowerCase():e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:A.b.BTC}}async getChainId(e){return""}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!1}randomKeypair(e,t={}){return new Promise((e,r)=>{const n=u.a.randomMnemonic(),A=t.hasOwnProperty("type")&&"segwit"===t.type,i=u.a.mnemonicToWIF(n,A?`${g}/0/0`:`${d}/0/0`,c),o=u.a.btcExtendedPublicKey(n,d,c),a=u.a.btcExtendedPublicKey(n,g,f);i?e({mnemonic:n,privateKey:i,extra:{xpub:o,ypub:a}}):r()})}mnemonicToPrivateKey(e,t,r={}){const n=r.hasOwnProperty("type")&&"segwit"===r.type;return{privateKey:u.a.mnemonicToWIF(e,n?`${g}/0/0`:`${d}/0/0`,c),extra:{xpub:u.a.btcExtendedPublicKey(e,d,c),ypub:u.a.btcExtendedPublicKey(e,g,f)}}}privateToPublic(e,t,r={}){const n=r.hasOwnProperty("type")&&"segwit"===r.type,A=l.ECPair.fromWIF(e,c);if(n){const{address:e}=l.payments.p2sh({redeem:l.payments.p2wpkh({pubkey:A.publicKey,network:c})});return e}{const{address:e}=l.payments.p2pkh({pubkey:A.publicKey,network:c});return e}}validMnemonic(e){return u.a.validateMnemonic(e)}validPrivateKey(e){return binanceUtils.isHex(e)&&64==e.length}validPublicKey(e){return cryptoUtils.checkAddress(e)}signer(e,t,r,n){t.decryptPrivateKey(({mnemonic:t})=>{if(t){const A=e.options.xpub,i=new l.TransactionBuilder,{transaction:o}=r,{unspent_outputs:a,outputs:s}=o;s.forEach(e=>{i.addOutput(e.addr,e.value)}),a.forEach(e=>{i.addInput(e.tx_hash,e.tx_output_n)});for(let e=0;e<a.length;e++){const r=a[e],n=r.xpub.m===A,o=`${n?d:g}${r.xpub.path.substring(1)}`,s=u.a.mnemonicToWIF(t,o,c),f=l.ECPair.fromWIF(s);if(n)i.sign(e,f);else{const t=l.payments.p2wpkh({pubkey:f.publicKey,network:c});i.sign(e,f,t.output,null,r.value)}}const f=i.build();n({txId:f.getId(),txHex:f.toHex()})}else n(a.a.signatureRejected())},e)}signatureProvider(...e){}requestSelectedIdentity(e,t,r,n){n(a.a.identityRejected())}requestIdentity(e,t,r,n,A){const s=n.find(r=>e===r.domain&&t.unique()===r.account.networkUnique);s?A({network:t,account:s.account,options:s.options,whitelistChecked:!1,whitelist:{}}):i.a.open(new o.b(o.a.REQUEST_IDENTITY,e,t,{},r=>{!r||r.hasOwnProperty("isError")?A(a.a.identityRejected()):A({network:t,account:r.account,options:r.keypair.options||{},whitelistChecked:!0,whitelist:{domain:e,account:r.account,options:r.keypair.options||{}}})}))}requestSignature(e,t,r,n,A,u,l,c){const{transaction:f}=u,{unspent_outputs:d,outputs:g}=f,h={inputs:[],outputs:[]};d.forEach(e=>{h.inputs.push({addrress:e.addr,value:`${e.value} satoshi`})}),g.forEach(e=>{h.outputs.push({addrress:e.addr,value:`${e.value} satoshi`})}),i.a.open(new o.b(o.a.REQUEST_SIGNATURE,t,r,{messages:[h],signerAccount:n,showWhiteListCheck:!1},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return c(a.a.invalidSignature()),!1;s.a.plugin(r.blockchain).signer(A,e,u,e=>{c({signature:{txId:e.txId,txHex:e.txHex}})})}))}requestArbitrarySignatrue(e,t,r,n,A,i,o){o(a.a.signatureRejected())}}},function(e,t,r){"use strict";var n=r(15).Buffer,A=9007199254740991;function i(e){if(e<0||e>A||e%1!=0)throw new RangeError("value out of range")}function o(e){return i(e),e<253?1:e<=65535?3:e<=4294967295?5:9}e.exports={encode:function e(t,r,A){if(i(t),r||(r=n.allocUnsafe(o(t))),!n.isBuffer(r))throw new TypeError("buffer must be a Buffer instance");return A||(A=0),t<253?(r.writeUInt8(t,A),e.bytes=1):t<=65535?(r.writeUInt8(253,A),r.writeUInt16LE(t,A+1),e.bytes=3):t<=4294967295?(r.writeUInt8(254,A),r.writeUInt32LE(t,A+1),e.bytes=5):(r.writeUInt8(255,A),r.writeUInt32LE(t>>>0,A+1),r.writeUInt32LE(t/4294967296|0,A+5),e.bytes=9),r},decode:function e(t,r){if(!n.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");r||(r=0);var A=t.readUInt8(r);if(A<253)return e.bytes=1,A;if(253===A)return e.bytes=3,t.readUInt16LE(r+1);if(254===A)return e.bytes=5,t.readUInt32LE(r+1);e.bytes=9;var o=t.readUInt32LE(r+1),a=4294967296*t.readUInt32LE(r+5)+o;return i(a),a},encodingLength:o}},function(e,t,r){"use strict";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),n(r(1168)),n(r(1182))},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(433);function A(e,t){const r=e[t];if(void 0===r)throw new Error(`No input #${t}`);return r}function i(e,t,r,n){throw new Error(`Data for ${e} key ${t} is incorrect: Expected `+`${r} and got ${JSON.stringify(n)}`)}function o(e){return(t,r)=>{for(const A of Object.keys(t)){const o=t[A],{canAdd:a,canAddToArray:s,check:u,expected:l}=n[e+"s"][A]||{},c=!!s;if(u)if(c){if(!Array.isArray(o)||r[A]&&!Array.isArray(r[A]))throw new Error(`Key type ${A} must be an array`);o.every(u)||i(e,A,l,o);const t=r[A]||[],n=new Set;if(!o.every(e=>s(t,e,n)))throw new Error("Can not add duplicate data to array");r[A]=t.concat(o)}else{if(u(o)||i(e,A,l,o),!a(r,o))throw new Error(`Can not add duplicate data to ${e}`);r[A]=o}}}}t.checkForInput=A,t.checkForOutput=function(e,t){const r=e[t];if(void 0===r)throw new Error(`No output #${t}`);return r},t.checkHasKey=function(e,t,r){if(e.key[0]<r)throw new Error("Use the method for your specific key instead of addUnknownKeyVal*");if(t&&0!==t.filter(t=>t.key.equals(e.key)).length)throw new Error(`Duplicate Key: ${e.key.toString("hex")}`)},t.getEnumLength=function(e){let t=0;return Object.keys(e).forEach(e=>{Number(isNaN(Number(e)))&&t++}),t},t.inputCheckUncleanFinalized=function(e,t){let r=!1;if(!t.nonWitnessUtxo!=!t.witnessUtxo){const e=!!t.redeemScript,n=!!t.witnessScript,A=!e||!!t.finalScriptSig,i=!n||!!t.finalScriptWitness,o=!!t.finalScriptSig||!!t.finalScriptWitness;r=A&&i&&o}if(!1===r)throw new Error(`Input #${e} has too much or too little data to clean`)},t.updateGlobal=o("global"),t.updateInput=o("input"),t.updateOutput=o("output"),t.addInputAttributes=function(e,r){const n=A(e,e.length-1);t.updateInput(r,n)},t.addOutputAttributes=function(e,r){const n=A(e,e.length-1);t.updateOutput(r,n)},t.defaultVersionSetter=function(t,r){if(!e.isBuffer(r)||r.length<4)throw new Error("Set Version: Invalid Transaction");return r.writeUInt32LE(t,0),r},t.defaultLocktimeSetter=function(t,r){if(!e.isBuffer(r)||r.length<4)throw new Error("Set Locktime: Invalid Transaction");return r.writeUInt32LE(t,r.length-4),r}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(33),A=r(33);function i(e){const t=n.compile(e);return 22===t.length&&t[0]===A.OPS.OP_0&&20===t[1]}t.check=i,i.toJSON=()=>"Witness pubKeyHash output"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(33),A=r(33);function i(e){const t=n.compile(e);return 34===t.length&&t[0]===A.OPS.OP_0&&32===t[1]}t.check=i,i.toJSON=()=>"Witness scriptHash output"},function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"default",function(){return I});var n=r(37),A=r(3),i=r(23),o=r(10),a=r(9),s=r(24),u=r(79),l=r(19),c=r(12),f=r(146),d=r.n(f);d.a.setNet("mainnet");const g=r(1387),{ApiBase:h,HttpProvider:p}=r(1389);class I extends n.a{constructor(){super(A.c.CHAINX,A.a.CHAINX)}config(e){return{dappStoreTag:e.custom?Object(A.f)(e.blockchain).toLowerCase():e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:A.b.CHAINX}}async getChainId(e){return new u.a(e.nodeAddress).post("",{id:1,jsonrpc:"2.0",method:"system_name",params:[]},null).then(e=>e.result.result||"").catch(()=>"")}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!0}randomKeypair(e,t={}){return new Promise((e,t)=>{const r=d.a.newMnemonic(),n=d.a.fromMnemonic(r).privateKey();r&&n?e({mnemonic:r,privateKey:n}):t()})}mnemonicToPrivateKey(e,t,r={}){return{privateKey:d.a.fromMnemonic(e).privateKey()}}privateToPublic(e,t,r={}){return d.a.fromPrivateKey(e&&0==e.indexOf("0x")?e:`0x${e}`).address()}validMnemonic(e){return l.a.validateMnemonic(e)}validPrivateKey(e){return e&&0!=e.indexOf("0x")&&(e=`0x${e}`),Object(c.isHex)(e)&&66==e.length}validPublicKey(e){return d.a.isAddressValid(e)}signer(t,r,n,A){r.decryptPrivateKey(({privateKey:t})=>{if(!t)return A(a.a.signatureRejected()),!1;try{if(n.hasOwnProperty("data")){let r=e.from(t.substring(2),"hex");const i=g.sign.detached(n.data,g.sign.keyPair.fromSeed(r).secretKey);A(i)}else A(a.a.invalidSignature())}catch(e){A(a.a.invalidSignature())}},t)}signatureProvider(...e){}requestSelectedIdentity(e,t,r,n){const A=r.keychain.accounts.find(e=>e.networkUnique===t.unique()&&e.selected);n(A?{network:t,account:A}:a.a.identityRejected())}requestIdentity(e,t,r,n,A){const s=n.find(r=>e===r.domain&&t.unique()===r.account.networkUnique);s?A({network:t,account:s.account,whitelistChecked:!1,whitelist:{}}):i.a.open(new o.b(o.a.REQUEST_IDENTITY,e,t,{},r=>{!r||r.hasOwnProperty("isError")?A(a.a.identityRejected()):A({network:t,account:r.account,whitelistChecked:!0,whitelist:{domain:e,account:r.account}})}))}requestSignature(e,t,r,n,A,u,l,c){const{transaction:f}=u;i.a.open(new o.b(o.a.REQUEST_SIGNATURE,t,r,{messages:[f],signerAccount:n,showWhiteListCheck:!1},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return c(a.a.signatureRejected()),!1;B(f,r).then(({extrinsic:t,encodeMessage:n})=>{n?s.a.plugin(r.blockchain).signer(A,e,{data:n},e=>{e.hasOwnProperty("isError")?c(e):(t.appendSignature(e),c({signature:{tx:t.toHex()}}))}):c(a.a.signatureRejected())}).catch(e=>{console.log(e),c(a.a.signatureRejected())})}))}requestArbitrarySignatrue(e,t,r,n,A,u,l){const{whatfor:c,data:f}=u;i.a.open(new o.b(o.a.REQUEST_ARBITRARY_SIGNATURE,t,r,{signerAccount:n,message:{whatfor:c,data:f}},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return l(a.a.signatureRejected()),!1;s.a.plugin(r.blockchain).signer(A,e,{data:f},l)}))}}const B=async(e,t)=>{if(!e.hasOwnProperty("type")||!e.hasOwnProperty("msg")||!e.hasOwnProperty("from"))return null;var r=null;const n=e.from,A=e.acceleration||1,i=e.msg,o=new h(new p(t.nodeAddress));switch(await o._isReady,e.type){case"transfer":r=o.tx.xAssets.transfer(i.to,i.token,i.amount,i.memo);break;case"withdraw":r=o.tx.xAssetsProcess.withdraw(i.token,i.value,i.addr,i.ext);break;case"putOrder":r=o.tx.xSpot.putOrder(i.pair_id,i.order_type,i.direction,i.amount,i.price);break;case"cancelOrder":r=o.tx.xSpot.cancelOrder(i.pair_id,i.index);break;case"register":r=o.tx.xStaking.register(i.name);break;case"nominate":r=o.tx.xStaking.nominate(i.target_address,i.value,i.memo);break;case"unnominate":r=o.tx.xStaking.unnominate(i.target_address,i.value,i.memo);break;case"renominate":r=o.tx.xStaking.renominate(i.from,i.to,i.value,i.memo);break;case"refresh":r=o.tx.xStaking.refresh(i.url||null,i.desire_to_run||!1,i.next_key||null,i.about||null);break;case"voteClaim":r=o.tx.xStaking.claim(i.target);break;case"depositClaim":r=o.tx.xTokens.claim(i.token);break;case"unfreeze":r=o.tx.xStaking.unfreeze(i.target,i.revocation_index)}if(!r)return null;const a=await r.getNonce(n);return{extrinsic:r,encodeMessage:r.encodeMessage(n,{nonce:a,acceleration:A})}}}.call(this,r(8).Buffer)},function(e,t,r){const n=r(1213),A={};for(const e of Object.keys(n))A[n[e]]=e;const i={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=i;for(const e of Object.keys(i)){if(!("channels"in i[e]))throw new Error("missing channels property: "+e);if(!("labels"in i[e]))throw new Error("missing channel labels property: "+e);if(i[e].labels.length!==i[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:r}=i[e];delete i[e].channels,delete i[e].labels,Object.defineProperty(i[e],"channels",{value:t}),Object.defineProperty(i[e],"labels",{value:r})}i.rgb.hsl=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,A=Math.min(t,r,n),i=Math.max(t,r,n),o=i-A;let a,s;i===A?a=0:t===i?a=(r-n)/o:r===i?a=2+(n-t)/o:n===i&&(a=4+(t-r)/o),(a=Math.min(60*a,360))<0&&(a+=360);const u=(A+i)/2;return[a,100*(s=i===A?0:u<=.5?o/(i+A):o/(2-i-A)),100*u]},i.rgb.hsv=function(e){let t,r,n,A,i;const o=e[0]/255,a=e[1]/255,s=e[2]/255,u=Math.max(o,a,s),l=u-Math.min(o,a,s),c=function(e){return(u-e)/6/l+.5};return 0===l?(A=0,i=0):(i=l/u,t=c(o),r=c(a),n=c(s),o===u?A=n-r:a===u?A=1/3+t-n:s===u&&(A=2/3+r-t),A<0?A+=1:A>1&&(A-=1)),[360*A,100*i,100*u]},i.rgb.hwb=function(e){const t=e[0],r=e[1];let n=e[2];return[i.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(r,n))),100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},i.rgb.cmyk=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,A=Math.min(1-t,1-r,1-n);return[100*((1-t-A)/(1-A)||0),100*((1-r-A)/(1-A)||0),100*((1-n-A)/(1-A)||0),100*A]},i.rgb.keyword=function(e){const t=A[e];if(t)return t;let r,i=1/0;for(const t of Object.keys(n)){const A=n[t],s=(a=A,((o=e)[0]-a[0])**2+(o[1]-a[1])**2+(o[2]-a[2])**2);s<i&&(i=s,r=t)}var o,a;return r},i.keyword.rgb=function(e){return n[e]},i.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255;return[100*(.4124*(t=t>.04045?((t+.055)/1.055)**2.4:t/12.92)+.3576*(r=r>.04045?((r+.055)/1.055)**2.4:r/12.92)+.1805*(n=n>.04045?((n+.055)/1.055)**2.4:n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},i.rgb.lab=function(e){const t=i.rgb.xyz(e);let r=t[0],n=t[1],A=t[2];return[116*(n=(n/=100)>.008856?n**(1/3):7.787*n+16/116)-16,500*((r=(r/=95.047)>.008856?r**(1/3):7.787*r+16/116)-n),200*(n-(A=(A/=108.883)>.008856?A**(1/3):7.787*A+16/116))]},i.hsl.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;let A,i,o;if(0===r)return[o=255*n,o,o];const a=2*n-(A=n<.5?n*(1+r):n+r-n*r),s=[0,0,0];for(let e=0;e<3;e++)(i=t+1/3*-(e-1))<0&&i++,i>1&&i--,o=6*i<1?a+6*(A-a)*i:2*i<1?A:3*i<2?a+(A-a)*(2/3-i)*6:a,s[e]=255*o;return s},i.hsl.hsv=function(e){const t=e[0];let r=e[1]/100,n=e[2]/100,A=r;const i=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,A*=i<=1?i:2-i,[t,100*(0===n?2*A/(i+A):2*r/(n+r)),100*((n+r)/2)]},i.hsv.rgb=function(e){const t=e[0]/60,r=e[1]/100;let n=e[2]/100;const A=Math.floor(t)%6,i=t-Math.floor(t),o=255*n*(1-r),a=255*n*(1-r*i),s=255*n*(1-r*(1-i));switch(n*=255,A){case 0:return[n,s,o];case 1:return[a,n,o];case 2:return[o,n,s];case 3:return[o,a,n];case 4:return[s,o,n];case 5:return[n,o,a]}},i.hsv.hsl=function(e){const t=e[0],r=e[1]/100,n=e[2]/100,A=Math.max(n,.01);let i,o;o=(2-r)*n;const a=(2-r)*A;return i=r*A,[t,100*(i=(i/=a<=1?a:2-a)||0),100*(o/=2)]},i.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100,n=e[2]/100;const A=r+n;let i;A>1&&(r/=A,n/=A);const o=Math.floor(6*t),a=1-n;i=6*t-o,0!=(1&o)&&(i=1-i);const s=r+i*(a-r);let u,l,c;switch(o){default:case 6:case 0:u=a,l=s,c=r;break;case 1:u=s,l=a,c=r;break;case 2:u=r,l=a,c=s;break;case 3:u=r,l=s,c=a;break;case 4:u=s,l=r,c=a;break;case 5:u=a,l=r,c=s}return[255*u,255*l,255*c]},i.cmyk.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100,A=e[3]/100;return[255*(1-Math.min(1,t*(1-A)+A)),255*(1-Math.min(1,r*(1-A)+A)),255*(1-Math.min(1,n*(1-A)+A))]},i.xyz.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100;let A,i,o;return A=(A=3.2406*t+-1.5372*r+-.4986*n)>.0031308?1.055*A**(1/2.4)-.055:12.92*A,i=(i=-.9689*t+1.8758*r+.0415*n)>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=(o=.0557*t+-.204*r+1.057*n)>.0031308?1.055*o**(1/2.4)-.055:12.92*o,[255*(A=Math.min(Math.max(0,A),1)),255*(i=Math.min(Math.max(0,i),1)),255*(o=Math.min(Math.max(0,o),1))]},i.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];return[116*(r=(r/=100)>.008856?r**(1/3):7.787*r+16/116)-16,500*((t=(t/=95.047)>.008856?t**(1/3):7.787*t+16/116)-r),200*(r-(n=(n/=108.883)>.008856?n**(1/3):7.787*n+16/116))]},i.lab.xyz=function(e){let t,r,n;const A=(r=(e[0]+16)/116)**3,i=(t=e[1]/500+r)**3,o=(n=r-e[2]/200)**3;return r=A>.008856?A:(r-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},i.lab.lch=function(e){const t=e[0],r=e[1],n=e[2];let A;return(A=360*Math.atan2(n,r)/2/Math.PI)<0&&(A+=360),[t,Math.sqrt(r*r+n*n),A]},i.lch.lab=function(e){const t=e[0],r=e[1],n=e[2]/360*2*Math.PI;return[t,r*Math.cos(n),r*Math.sin(n)]},i.rgb.ansi16=function(e,t=null){const[r,n,A]=e;let o=null===t?i.rgb.hsv(e)[2]:t;if(0===(o=Math.round(o/50)))return 30;let a=30+(Math.round(A/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return 2===o&&(a+=60),a},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){const t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},i.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];const r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},i.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},i.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},i.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];3===t[0].length&&(r=r.split("").map(e=>e+e).join(""));const n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},i.rgb.hcg=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,A=Math.max(Math.max(t,r),n),i=Math.min(Math.min(t,r),n),o=A-i;let a,s;return s=o<=0?0:A===t?(r-n)/o%6:A===r?2+(n-t)/o:4+(t-r)/o,s/=6,[360*(s%=1),100*o,100*(a=o<1?i/(1-o):0)]},i.hsl.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r);let A=0;return n<1&&(A=(r-.5*n)/(1-n)),[e[0],100*n,100*A]},i.hsv.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=t*r;let A=0;return n<1&&(A=(r-n)/(1-n)),[e[0],100*n,100*A]},i.hcg.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];const A=[0,0,0],i=t%1*6,o=i%1,a=1-o;let s=0;switch(Math.floor(i)){case 0:A[0]=1,A[1]=o,A[2]=0;break;case 1:A[0]=a,A[1]=1,A[2]=0;break;case 2:A[0]=0,A[1]=1,A[2]=o;break;case 3:A[0]=0,A[1]=a,A[2]=1;break;case 4:A[0]=o,A[1]=0,A[2]=1;break;default:A[0]=1,A[1]=0,A[2]=a}return s=(1-r)*n,[255*(r*A[0]+s),255*(r*A[1]+s),255*(r*A[2]+s)]},i.hcg.hsv=function(e){const t=e[1]/100,r=t+e[2]/100*(1-t);let n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},i.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},i.hcg.hwb=function(e){const t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},i.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,n=r-t;let A=0;return n<1&&(A=(r-n)/(1-n)),[e[0],100*n,100*A]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=function(e){return[0,0,e[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},function(e,t,r){"use strict";function n(e){return e.toString().padStart(2,"0")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.getFullYear().toString(),r=n(e.getMonth()+1),A=n(e.getDate()),i=n(e.getHours()),o=n(e.getMinutes()),a=n(e.getSeconds());return"".concat(t,"-").concat(r,"-").concat(A," ").concat(i,":").concat(o,":").concat(a)}},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return A.default.isBN(e)};var A=n(r(155))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e,Uint8Array)};var A=n(r(316))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bnFromHex",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"bnMax",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"bnMin",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"bnSqrt",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"bnToBn",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"bnToHex",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"bnToU8a",{enumerable:!0,get:function(){return l.default}});var A=n(r(1222)),i=n(r(1223)),o=n(r(1224)),a=n(r(1225)),s=n(r(320)),u=n(r(1226)),l=n(r(675))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"bigint"==typeof e}},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(441)),i=n(r(445)),o=n(r(320));function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var s=function(e,t={bitLength:-1,isLe:!0,isNegative:!1},r){const n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({bitLength:-1,isLe:!0,isNegative:!1},(0,i.default)(t)?{bitLength:t,isLe:r}:t),s=(0,o.default)(e),u=-1===n.bitLength?Math.ceil(s.bitLength()/8):Math.ceil((n.bitLength||0)/8);if(!e)return-1===n.bitLength?new Uint8Array([]):new Uint8Array(u);const l=new Uint8Array(u),c=n.isNegative?s.toTwos(8*u):s;return l.set(c.toArray(n.isLe?"le":"be",u),0),l};t.default=s},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return new Uint8Array;if((0,A.default)(e))return(0,a.default)(e);if((0,o.default)(e))return(0,i.default)(e)?(0,s.default)(e):(0,u.default)(e);return Array.isArray(e)?Uint8Array.from(e):e};var A=n(r(438)),i=n(r(273)),o=n(r(315)),a=n(r(677)),s=n(r(321)),u=n(r(446))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return new Uint8Array([]);return new Uint8Array(e)}},function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(null==e?void 0:e.length)?n.decode(e):""};try{n=new TextDecoder("utf-8")}catch(e){n={decode:function(e){return e.reduce((e,t)=>e+String.fromCharCode(t),"")}}}},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,o.bnToBn)(e);if(t.lte(s))return new Uint8Array([t.toNumber()<<2]);if(t.lte(u))return(0,o.bnToU8a)(t.shln(2).addn(1),16,!0);if(t.lte(l))return(0,o.bnToU8a)(t.shln(2).addn(2),32,!0);const r=(0,o.bnToU8a)(t);let n=r.length;for(;0===r[n-1];)n--;return(0,i.default)(n>=4,"Previous tests match anyting less than 2^30; qed"),(0,a.u8aConcat)(new Uint8Array([3+(n-4<<2)]),r.subarray(0,n))};var A=n(r(155)),i=n(r(200)),o=r(673),a=r(274);const s=new A.default(2).pow(new A.default(6)).subn(1),u=new A.default(2).pow(new A.default(14)).subn(1),l=new A.default(2).pow(new A.default(30)).subn(1)},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=o.DEFAULT_BITLENGTH){const r=(0,i.u8aToU8a)(e),n=3&r[0];if(0===n)return[1,new A.default(r[0]).shrn(2)];if(1===n)return[2,(0,i.u8aToBn)(r.slice(0,2),!0).shrn(2)];if(2===n)return[4,(0,i.u8aToBn)(r.slice(0,4),!0).shrn(2)];const a=1+new A.default(r[0]).shrn(2).addn(4).toNumber();return[a,(0,i.u8aToBn)(r.subarray(1,a),!0)]};var A=n(r(155)),i=r(274),o=r(447)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findSi=i,t.calcSi=function(e,t,r){if(r)return i(r);const o=n-1+Math.ceil((e.length-t)/3);return A[o]||A[o<0?0:A.length-1]},t.SI=t.SI_MID=void 0;const n=8;t.SI_MID=n;const A=[{power:-24,text:"yocto",value:"y"},{power:-21,text:"zepto",value:"z"},{power:-18,text:"atto",value:"a"},{power:-15,text:"femto",value:"f"},{power:-12,text:"pico",value:"p"},{power:-9,text:"nano",value:"n"},{power:-6,text:"micro",value:"µ"},{power:-3,text:"milli",value:"m"},{power:0,text:"Unit",value:"-"},{power:3,text:"Kilo",value:"k"},{power:6,text:"Mega",value:"M"},{power:9,text:"Giga",value:"G"},{power:12,text:"Tera",value:"T"},{power:15,text:"Peta",value:"P"},{power:18,text:"Exa",value:"E"},{power:21,text:"Zeta",value:"Z"},{power:24,text:"Yotta",value:"Y"}];function i(e){for(let t=0;t<A.length;t++)if(A[t].value===e)return A[t];return A[n]}t.SI=A},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(e&&(0,A.default)(e))return e;const t=e&&e.length%2==1?"0":"";return"0x".concat(t).concat(e||"")};var A=n(r(443))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=-1,r=!1){const n=Math.ceil(t/4),o=n+2;return(0,A.default)(-1===t||e.length===o||!r&&e.length<o?(0,i.default)(e):e.length>o?(0,i.default)(e).slice(-1*n):"".concat("0".repeat(n)).concat((0,i.default)(e)).slice(-1*n))};var A=n(r(682)),i=n(r(319))},function(e,t,r){"use strict";const n=e=>e&&e.includeBoundaries?"(?:(?<=\\s|^)(?=[a-fA-F\\d:])|(?<=[a-fA-F\\d:])(?=\\s|$))":"",A="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",i="[a-fA-F\\d]{1,4}",o=`\n(\n(?:${i}:){7}(?:${i}|:)|                                // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8\n(?:${i}:){6}(?:${A}|:${i}|:)|                         // 1:2:3:4:5:6::    1:2:3:4:5:6::8   1:2:3:4:5:6::8  1:2:3:4:5:6::1.2.3.4\n(?:${i}:){5}(?::${A}|(:${i}){1,2}|:)|                 // 1:2:3:4:5::      1:2:3:4:5::7:8   1:2:3:4:5::8    1:2:3:4:5::7:1.2.3.4\n(?:${i}:){4}(?:(:${i}){0,1}:${A}|(:${i}){1,3}|:)| // 1:2:3:4::        1:2:3:4::6:7:8   1:2:3:4::8      1:2:3:4::6:7:1.2.3.4\n(?:${i}:){3}(?:(:${i}){0,2}:${A}|(:${i}){1,4}|:)| // 1:2:3::          1:2:3::5:6:7:8   1:2:3::8        1:2:3::5:6:7:1.2.3.4\n(?:${i}:){2}(?:(:${i}){0,3}:${A}|(:${i}){1,5}|:)| // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::4:5:6:7:1.2.3.4\n(?:${i}:){1}(?:(:${i}){0,4}:${A}|(:${i}){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4\n(?::((?::${i}){0,5}:${A}|(?::${i}){1,7}|:))           // ::2:3:4:5:6:7:8  ::2:3:4:5:6:7:8  ::8             ::1.2.3.4\n)(%[0-9a-zA-Z]{1,})?                                           // %eth0            %1\n`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=e=>e&&e.exact?new RegExp(`(?:^${A}$)|(?:^${o}$)`):new RegExp(`(?:${n(e)}${A}${n(e)})|(?:${n(e)}${o}${n(e)})`,"g");a.v4=e=>e&&e.exact?new RegExp(`^${A}$`):new RegExp(`${n(e)}${A}${n(e)}`,"g"),a.v6=e=>e&&e.exact?new RegExp(`^${o}$`):new RegExp(`${n(e)}${o}${n(e)}`,"g"),e.exports=a},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=-1){if((0,o.default)(e)||(0,i.default)(e)||isNaN(e))return"0x";return(0,A.default)(e.toString(16),t,!0)};var A=n(r(683)),i=n(r(440)),o=n(r(318))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(275));const i=-99999;function o(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})}class a extends Error{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,r=arguments.length>2?arguments[2]:void 0;super(),this.code=void 0,this.data=void 0,this.message=void 0,this.name=void 0,this.stack=void 0,o(this,"message",String(e)),o(this,"name",this.constructor.name),o(this,"data",r),o(this,"code",t),(0,A.default)(Error.captureStackTrace)?Error.captureStackTrace(this,this.constructor):o(this,"stack",new Error(e).stack)}}t.default=a,a.CODES={ASSERT:-90009,UNKNOWN:i,INVALID_JSONRPC:-99998,METHOD_NOT_FOUND:-32601}},function(e,t,r){var n=r(1274),A={};for(var i in n)n.hasOwnProperty(i)&&(A[n[i]]=i);var o=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in o)if(o.hasOwnProperty(a)){if(!("channels"in o[a]))throw new Error("missing channels property: "+a);if(!("labels"in o[a]))throw new Error("missing channel labels property: "+a);if(o[a].labels.length!==o[a].channels)throw new Error("channel and label counts mismatch: "+a);var s=o[a].channels,u=o[a].labels;delete o[a].channels,delete o[a].labels,Object.defineProperty(o[a],"channels",{value:s}),Object.defineProperty(o[a],"labels",{value:u})}o.rgb.hsl=function(e){var t,r,n=e[0]/255,A=e[1]/255,i=e[2]/255,o=Math.min(n,A,i),a=Math.max(n,A,i),s=a-o;return a===o?t=0:n===a?t=(A-i)/s:A===a?t=2+(i-n)/s:i===a&&(t=4+(n-A)/s),(t=Math.min(60*t,360))<0&&(t+=360),r=(o+a)/2,[t,100*(a===o?0:r<=.5?s/(a+o):s/(2-a-o)),100*r]},o.rgb.hsv=function(e){var t,r,n,A,i,o=e[0]/255,a=e[1]/255,s=e[2]/255,u=Math.max(o,a,s),l=u-Math.min(o,a,s),c=function(e){return(u-e)/6/l+.5};return 0===l?A=i=0:(i=l/u,t=c(o),r=c(a),n=c(s),o===u?A=n-r:a===u?A=1/3+t-n:s===u&&(A=2/3+r-t),A<0?A+=1:A>1&&(A-=1)),[360*A,100*i,100*u]},o.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2];return[o.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(r,n))),100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},o.rgb.cmyk=function(e){var t,r=e[0]/255,n=e[1]/255,A=e[2]/255;return[100*((1-r-(t=Math.min(1-r,1-n,1-A)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-A-t)/(1-t)||0),100*t]},o.rgb.keyword=function(e){var t=A[e];if(t)return t;var r,i,o,a=1/0;for(var s in n)if(n.hasOwnProperty(s)){var u=n[s],l=(i=e,o=u,Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));l<a&&(a=l,r=s)}return r},o.keyword.rgb=function(e){return n[e]},o.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},o.rgb.lab=function(e){var t=o.rgb.xyz(e),r=t[0],n=t[1],A=t[2];return n/=100,A/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(r-n),200*(n-(A=A>.008856?Math.pow(A,1/3):7.787*A+16/116))]},o.hsl.rgb=function(e){var t,r,n,A,i,o=e[0]/360,a=e[1]/100,s=e[2]/100;if(0===a)return[i=255*s,i,i];t=2*s-(r=s<.5?s*(1+a):s+a-s*a),A=[0,0,0];for(var u=0;u<3;u++)(n=o+1/3*-(u-1))<0&&n++,n>1&&n--,i=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,A[u]=255*i;return A},o.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,A=r,i=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,A*=i<=1?i:2-i,[t,100*(0===n?2*A/(i+A):2*r/(n+r)),100*((n+r)/2)]},o.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,A=Math.floor(t)%6,i=t-Math.floor(t),o=255*n*(1-r),a=255*n*(1-r*i),s=255*n*(1-r*(1-i));switch(n*=255,A){case 0:return[n,s,o];case 1:return[a,n,o];case 2:return[o,n,s];case 3:return[o,a,n];case 4:return[s,o,n];case 5:return[n,o,a]}},o.hsv.hsl=function(e){var t,r,n,A=e[0],i=e[1]/100,o=e[2]/100,a=Math.max(o,.01);return n=(2-i)*o,r=i*a,[A,100*(r=(r/=(t=(2-i)*a)<=1?t:2-t)||0),100*(n/=2)]},o.hwb.rgb=function(e){var t,r,n,A,i,o,a,s=e[0]/360,u=e[1]/100,l=e[2]/100,c=u+l;switch(c>1&&(u/=c,l/=c),n=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(n=1-n),A=u+n*((r=1-l)-u),t){default:case 6:case 0:i=r,o=A,a=u;break;case 1:i=A,o=r,a=u;break;case 2:i=u,o=r,a=A;break;case 3:i=u,o=A,a=r;break;case 4:i=A,o=u,a=r;break;case 5:i=r,o=u,a=A}return[255*i,255*o,255*a]},o.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,A=e[3]/100;return[255*(1-Math.min(1,t*(1-A)+A)),255*(1-Math.min(1,r*(1-A)+A)),255*(1-Math.min(1,n*(1-A)+A))]},o.xyz.rgb=function(e){var t,r,n,A=e[0]/100,i=e[1]/100,o=e[2]/100;return r=-.9689*A+1.8758*i+.0415*o,n=.0557*A+-.204*i+1.057*o,t=(t=3.2406*A+-1.5372*i+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},o.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2];return r/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},o.lab.xyz=function(e){var t,r,n,A=e[0];t=e[1]/500+(r=(A+16)/116),n=r-e[2]/200;var i=Math.pow(r,3),o=Math.pow(t,3),a=Math.pow(n,3);return r=i>.008856?i:(r-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,n=a>.008856?a:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},o.lab.lch=function(e){var t,r=e[0],n=e[1],A=e[2];return(t=360*Math.atan2(A,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+A*A),t]},o.lch.lab=function(e){var t,r=e[0],n=e[1];return t=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)]},o.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],A=1 in arguments?arguments[1]:o.rgb.hsv(e)[2];if(0===(A=Math.round(A/50)))return 30;var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return 2===A&&(i+=60),i},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},o.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];var r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},o.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var r;return e-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},o.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];3===t[0].length&&(r=r.split("").map(function(e){return e+e}).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},o.rgb.hcg=function(e){var t,r=e[0]/255,n=e[1]/255,A=e[2]/255,i=Math.max(Math.max(r,n),A),o=Math.min(Math.min(r,n),A),a=i-o;return t=a<=0?0:i===r?(n-A)/a%6:i===n?2+(A-r)/a:4+(r-n)/a+4,t/=6,[360*(t%=1),100*a,100*(a<1?o/(1-a):0)]},o.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,A=0;return(n=r<.5?2*t*r:2*t*(1-r))<1&&(A=(r-.5*n)/(1-n)),[e[0],100*n,100*A]},o.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,A=0;return n<1&&(A=(r-n)/(1-n)),[e[0],100*n,100*A]},o.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];var A,i=[0,0,0],o=t%1*6,a=o%1,s=1-a;switch(Math.floor(o)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return A=(1-r)*n,[255*(r*i[0]+A),255*(r*i[1]+A),255*(r*i[2]+A)]},o.hcg.hsv=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t),n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},o.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},o.hcg.hwb=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},o.hwb.hcg=function(e){var t=e[1]/100,r=1-e[2]/100,n=r-t,A=0;return n<1&&(A=(r-n)/(1-n)),[e[0],100*n,100*A]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=o.gray.hsv=function(e){return[0,0,e[0]]},o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},function(e,t,r){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,r){return e<12?r?"vm":"VM":r?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},A={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,r,i,o){var a=n(t),s=A[e][n(t)];return 2===a&&(s=s[r?0:1]),s.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,r){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return r[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},A=function(e){return function(t,A,i,o){var a=r(t),s=n[e][r(t)];return 2===a&&(s=s[A?0:1]),s.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,r){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:A("s"),ss:A("s"),m:A("m"),mm:A("m"),h:A("h"),hh:A("h"),d:A("d"),dd:A("d"),M:A("M"),MM:A("M"),y:A("y"),yy:A("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,r){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return r[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,r){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r){var n,A;return"m"===r?t?"хвіліна":"хвіліну":"h"===r?t?"гадзіна":"гадзіну":e+" "+(n=+e,A={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[r].split("_"),n%10==1&&n%100!=11?A[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?A[1]:A[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,r){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,r=e%100;return 0===e?e+"-ев":0===r?e+"-ен":r>10&&r<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},r={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,r){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},r={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,r){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[r],e)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r){var n=e+" ";switch(r){case"ss":return n+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return n+=1===e?"dan":"dana";case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var r=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(r="a"),e+r},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),r="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),n=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],A=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function i(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,r,n){var A=e+" ";switch(r){case"s":return t||n?"pár sekund":"pár sekundami";case"ss":return t||n?A+(i(e)?"sekundy":"sekund"):A+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?A+(i(e)?"minuty":"minut"):A+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?A+(i(e)?"hodiny":"hodin"):A+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?A+(i(e)?"dny":"dní"):A+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?A+(i(e)?"měsíce":"měsíců"):A+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?A+(i(e)?"roky":"let"):A+"lety"}}e.defineLocale("cs",{months:t,monthsShort:r,monthsRegex:A,monthsShortRegex:A,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var A={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?A[r][0]:A[r][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var A={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?A[r][0]:A[r][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var A={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?A[r][0]:A[r][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],r=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,r){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,r){return e>11?r?"μμ":"ΜΜ":r?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var r,n=this._calendarEl[e],A=t&&t.hours();return((r=n)instanceof Function||"[object Function]"===Object.prototype.toString.call(r))&&(n=n.apply(t)),n.replace("{}",A%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,r){return e>11?r?"p.t.m.":"P.T.M.":r?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],A=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:A,monthsShortRegex:A,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],A=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:A,monthsShortRegex:A,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],A=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:A,monthsShortRegex:A,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var A={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?A[r][2]?A[r][2]:A[r][1]:n?A[r][0]:A[r][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},r={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,r){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return r[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(r(11))},function(e,t,r){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),r=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function n(e,n,A,i){var o="";switch(A){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"ss":return i?"sekunnin":"sekuntia";case"m":return i?"minuutin":"minuutti";case"mm":o=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":o=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":o=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":o=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":o=i?"vuoden":"vuotta"}return o=function(e,n){return e<10?n?r[e]:t[e]:e}(e,i)+" "+o}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),r="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Méitheamh","Iúil","Lúnasa","Meán Fómhair","Deaireadh Fómhair","Samhain","Nollaig"],monthsShort:["Eaná","Feab","Márt","Aibr","Beal","Méit","Iúil","Lúna","Meán","Deai","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Satharn"],weekdaysShort:["Dom","Lua","Mái","Céa","Déa","hAo","Sat"],weekdaysMin:["Do","Lu","Má","Ce","Dé","hA","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné aig] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d mí",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var A={s:["thodde secondanim","thodde second"],ss:[e+" secondanim",e+" second"],m:["eka mintan","ek minute"],mm:[e+" mintanim",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voranim",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disanim",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineanim",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsanim",e+" vorsam"]};return t?A[r][0]:A[r][1]}e.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokalli"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"rati":e<12?"sokalli":e<16?"donparam":e<20?"sanje":"rati"}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},r={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,r){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?r?'לפנה"צ':"לפני הצהריים":e<18?r?'אחה"צ':"אחרי הצהריים":"בערב"}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r){var n=e+" ";switch(r){case"ss":return n+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return n+=1===e?"dan":"dana";case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function r(e,t,r,n){var A=e;switch(r){case"s":return n||t?"néhány másodperc":"néhány másodperce";case"ss":return A+(n||t)?" másodperc":" másodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return A+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" óra":" órája");case"hh":return A+(n||t?" óra":" órája");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return A+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" hónap":" hónapja");case"MM":return A+(n||t?" hónap":" hónapja");case"y":return"egy"+(n||t?" év":" éve");case"yy":return A+(n||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,r){return e<12?!0===r?"de":"DE":!0===r?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function r(e,r,n,A){var i=e+" ";switch(n){case"s":return r||A?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?i+(r||A?"sekúndur":"sekúndum"):i+"sekúnda";case"m":return r?"mínúta":"mínútu";case"mm":return t(e)?i+(r||A?"mínútur":"mínútum"):r?i+"mínúta":i+"mínútu";case"hh":return t(e)?i+(r||A?"klukkustundir":"klukkustundum"):i+"klukkustund";case"d":return r?"dagur":A?"dag":"degi";case"dd":return t(e)?r?i+"dagar":i+(A?"daga":"dögum"):r?i+"dagur":i+(A?"dag":"degi");case"M":return r?"mánuður":A?"mánuð":"mánuði";case"MM":return t(e)?r?i+"mánuðir":i+(A?"mánuði":"mánuðum"):r?i+"mánuður":i+(A?"mánuð":"mánuði");case"y":return r||A?"ár":"ári";case"yy":return t(e)?i+(r||A?"ár":"árum"):i+(r||A?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:r,ss:r,m:r,mm:r,h:"klukkustund",hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("ja",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,r){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()<this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()<e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},r={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,r){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},r={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,r){return e<12?"오전":"오후"}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:n,monthsShort:n,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,r){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return r[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var A={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?A[r][0]:A[r][1]}function r(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return r(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return r(e)}return r(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return r(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return r(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,r){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function r(e,t,r,n){return t?A(r)[0]:n?A(r)[1]:A(r)[2]}function n(e){return e%10==0||e>10&&e<20}function A(e){return t[e].split("_")}function i(e,t,i,o){var a=e+" ";return 1===e?a+r(0,t,i[0],o):t?a+(n(e)?A(i)[1]:A(i)[0]):o?a+A(i)[1]:a+(n(e)?A(i)[1]:A(i)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,r,n){return t?"kelios sekundės":n?"kelių sekundžių":"kelias sekundes"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function r(e,t,r){return r?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(e,n,A){return e+" "+r(t[A],e,n)}function A(e,n,A){return r(t[A],e,n)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:n,m:A,mm:n,h:A,hh:n,d:A,dd:n,M:A,MM:n,y:A,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,r,n){var A=t.words[n];return 1===n.length?r?A[0]:A[1]:e+" "+t.correctGrammaticalCase(e,A)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,r=e%100;return 0===e?e+"-ев":0===r?e+"-ен":r>10&&r<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,r){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r,n){switch(r){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,r){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function n(e,t,r,n){var A="";if(t)switch(r){case"s":A="काही सेकंद";break;case"ss":A="%d सेकंद";break;case"m":A="एक मिनिट";break;case"mm":A="%d मिनिटे";break;case"h":A="एक तास";break;case"hh":A="%d तास";break;case"d":A="एक दिवस";break;case"dd":A="%d दिवस";break;case"M":A="एक महिना";break;case"MM":A="%d महिने";break;case"y":A="एक वर्ष";break;case"yy":A="%d वर्षे"}else switch(r){case"s":A="काही सेकंदां";break;case"ss":A="%d सेकंदां";break;case"m":A="एका मिनिटा";break;case"mm":A="%d मिनिटां";break;case"h":A="एका तासा";break;case"hh":A="%d तासां";break;case"d":A="एका दिवसा";break;case"dd":A="%d दिवसां";break;case"M":A="एका महिन्या";break;case"MM":A="%d महिन्यां";break;case"y":A="एका वर्षा";break;case"yy":A="%d वर्षां"}return A.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},r={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,r){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(r(11))},function(e,t,r){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],A=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:A,monthsShortRegex:A,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],A=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:A,monthsShortRegex:A,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},r={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(r(11))},function(e,t,r){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function n(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function A(e,t,r){var A=e+" ";switch(r){case"ss":return A+(n(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return A+(n(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return A+(n(e)?"godziny":"godzin");case"MM":return A+(n(e)?"miesiące":"miesięcy");case"yy":return A+(n(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,n){return e?""===n?"("+r[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(n)?r[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:A,m:A,mm:A,h:A,hh:A,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:A,y:"rok",yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r){var n=" ";return(e%100>=20||e>=100&&e%100==0)&&(n=" de "),e+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[r]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r){var n,A;return"m"===r?t?"минута":"минуту":e+" "+(n=+e,A={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[r].split("_"),n%10==1&&n%100!=11?A[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?A[1]:A[2])}var r=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,r){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],r=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,r){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,r){return e>11?r?"ප.ව.":"පස් වරු":r?"පෙ.ව.":"පෙර වරු"}})}(r(11))},function(e,t,r){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),r="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function A(e,t,r,A){var i=e+" ";switch(r){case"s":return t||A?"pár sekúnd":"pár sekundami";case"ss":return t||A?i+(n(e)?"sekundy":"sekúnd"):i+"sekundami";case"m":return t?"minúta":A?"minútu":"minútou";case"mm":return t||A?i+(n(e)?"minúty":"minút"):i+"minútami";case"h":return t?"hodina":A?"hodinu":"hodinou";case"hh":return t||A?i+(n(e)?"hodiny":"hodín"):i+"hodinami";case"d":return t||A?"deň":"dňom";case"dd":return t||A?i+(n(e)?"dni":"dní"):i+"dňami";case"M":return t||A?"mesiac":"mesiacom";case"MM":return t||A?i+(n(e)?"mesiace":"mesiacov"):i+"mesiacmi";case"y":return t||A?"rok":"rokom";case"yy":return t||A?i+(n(e)?"roky":"rokov"):i+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:r,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:A,ss:A,m:A,mm:A,h:A,hh:A,d:A,dd:A,M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var A=e+" ";switch(r){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"ss":return A+=1===e?t?"sekundo":"sekundi":2===e?t||n?"sekundi":"sekundah":e<5?t||n?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return A+=1===e?t?"minuta":"minuto":2===e?t||n?"minuti":"minutama":e<5?t||n?"minute":"minutami":t||n?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return A+=1===e?t?"ura":"uro":2===e?t||n?"uri":"urama":e<5?t||n?"ure":"urami":t||n?"ur":"urami";case"d":return t||n?"en dan":"enim dnem";case"dd":return A+=1===e?t||n?"dan":"dnem":2===e?t||n?"dni":"dnevoma":t||n?"dni":"dnevi";case"M":return t||n?"en mesec":"enim mesecem";case"MM":return A+=1===e?t||n?"mesec":"mesecem":2===e?t||n?"meseca":"mesecema":e<5?t||n?"mesece":"meseci":t||n?"mesecev":"meseci";case"y":return t||n?"eno leto":"enim letom";case"yy":return A+=1===e?t||n?"leto":"letom":2===e?t||n?"leti":"letoma":e<5?t||n?"leta":"leti":t||n?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,r){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,r,n){var A=t.words[n];return 1===n.length?r?A[0]:A[1]:e+" "+t.correctGrammaticalCase(e,A)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,r,n){var A=t.words[n];return 1===n.length?r?A[0]:A[1]:e+" "+t.correctGrammaticalCase(e,A)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,r){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t?"a":2===t?"a":"e")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},r={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return r[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,r){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,r){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function r(e,r,n,A){var i=function(e){var r=Math.floor(e%1e3/100),n=Math.floor(e%100/10),A=e%10,i="";return r>0&&(i+=t[r]+"vatlh"),n>0&&(i+=(""!==i?" ":"")+t[n]+"maH"),A>0&&(i+=(""!==i?" ":"")+t[A]),""===i?"pagh":i}(e);switch(n){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:r,m:"wa’ tup",mm:r,h:"wa’ rep",hh:r,d:"wa’ jaj",dd:r,M:"wa’ jar",MM:r,y:"wa’ DIS",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,r){switch(r){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var A={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return n?A[r][0]:t?A[r][0]:A[r][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,r){return e>11?r?"d'o":"D'O":r?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,r){var n=100*e+t;return n<600?"يېرىم كېچە":n<900?"سەھەر":n<1130?"چۈشتىن بۇرۇن":n<1230?"چۈش":n<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";function t(e,t,r){var n,A;return"m"===r?t?"хвилина":"хвилину":"h"===r?t?"година":"годину":e+" "+(n=+e,A={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[r].split("_"),n%10==1&&n%100!=11?A[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?A[1]:A[2])}function r(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var r={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?r.nominative.slice(1,7).concat(r.nominative.slice(0,1)):e?r[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:r.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:r("[Сьогодні "),nextDay:r("[Завтра "),lastDay:r("[Вчора "),nextWeek:r("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return r("[Минулої] dddd [").call(this);case 1:case 2:case 4:return r("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,r){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],r=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,r){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,r){return e<12?r?"sa":"SA":r?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,r){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(r(11))},function(e,t,r){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(r(11))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return A.default.isBN(e)};var A=n(r(17))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e,Uint8Array)};var A=n(r(322))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bnFromHex",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"bnMax",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"bnMin",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"bnToBn",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"bnToHex",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"bnToU8a",{enumerable:!0,get:function(){return u.default}});var A=n(r(1282)),i=n(r(1283)),o=n(r(1284)),a=n(r(455)),s=n(r(1285)),u=n(r(819))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"boolean"==typeof e}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{bitLength:-1,isLe:!0,isNegative:!1},r=arguments.length>2?arguments[2]:void 0;const n=(0,A.default)({isLe:!0,isNegative:!1,bitLength:-1},(0,i.default)(t)?{bitLength:t,isLe:r}:t),a=(0,o.default)(e);let s=-1===n.bitLength?Math.ceil(a.bitLength()/8):Math.ceil(n.bitLength/8);if(!e)return-1===n.bitLength?new Uint8Array([]):new Uint8Array(s);const u=new Uint8Array(s),l=n.isNegative?a.toTwos(8*s):a;return u.set(l.toArray(n.isLe?"le":"be",s),0),u};var A=n(r(324)),i=n(r(456)),o=n(r(455))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return new Uint8Array;if((0,A.default)(e))return(0,a.default)(e);if((0,o.default)(e))return(0,i.default)(e)?(0,s.default)(e):(0,u.default)(e);if(Array.isArray(e))return Uint8Array.from(e);return e};var A=n(r(450)),i=n(r(326)),o=n(r(454)),a=n(r(821)),s=n(r(457)),u=n(r(822))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return new Uint8Array([]);return new Uint8Array(e)}},function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return new Uint8Array([]);return n.encode(e)};try{n=new TextEncoder}catch(e){n={encode:function(e){const t=new Uint8Array(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}}}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,o.bnToBn)(e);if(t.lte(s))return new Uint8Array([t.toNumber()<<2]);if(t.lte(u))return(0,o.bnToU8a)(t.shln(2).addn(1),16,!0);if(t.lte(l))return(0,o.bnToU8a)(t.shln(2).addn(2),32,!0);const r=(0,o.bnToU8a)(t);let n=r.length;for(;0===r[n-1];)n--;return(0,i.default)(n>=4,"Previous tests match anyting less than 2^30; qed"),(0,a.u8aConcat)(new Uint8Array([3+(n-4<<2)]),r.subarray(0,n))};var A=n(r(17)),i=n(r(222)),o=r(817),a=r(278);const s=new A.default(2).pow(new A.default(6)).subn(1),u=new A.default(2).pow(new A.default(14)).subn(1),l=new A.default(2).pow(new A.default(30)).subn(1)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.DEFAULT_BITLENGTH;const t=(0,i.u8aToU8a)(e),r=3&t[0];if(0===r)return[1,new A.default(t[0]).shrn(2)];if(1===r)return[2,(0,i.u8aToBn)(t.slice(0,2),!0).shrn(2)];if(2===r)return[4,(0,i.u8aToBn)(t.slice(0,4),!0).shrn(2)];const n=1+new A.default(t[0]).shrn(2).addn(4).toNumber();return[n,(0,i.u8aToBn)(t.subarray(1,n),!0)]};var A=n(r(17)),i=r(278),o=r(458)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calcSi=function(e,t){return A[n-1+Math.ceil((e.length-t)/3)]||A[A.length-1]},t.findSi=function(e){for(let t=0;t<A.length;t++)if(A[t].value===e)return A[t];return A[n]},t.SI=t.SI_MID=void 0;const n=8;t.SI_MID=n;const A=[{power:-24,value:"y",text:"yocto"},{power:-21,value:"z",text:"zepto"},{power:-18,value:"a",text:"atto"},{power:-15,value:"f",text:"femto"},{power:-12,value:"p",text:"pico"},{power:-9,value:"n",text:"nano"},{power:-6,value:"µ",text:"micro"},{power:-3,value:"m",text:"milli"},{power:0,value:"-",text:"Unit"},{power:3,value:"k",text:"Kilo"},{power:6,value:"M",text:"Mega"},{power:9,value:"G",text:"Giga"},{power:12,value:"T",text:"Tera"},{power:15,value:"P",text:"Peta"},{power:18,value:"E",text:"Exa"},{power:21,value:"Z",text:"Zeta"},{power:24,value:"Y",text:"Yotta"}];t.SI=A},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=Math.ceil(t/4),o=n+2;if(-1===t||e.length===o||!r&&e.length<o)return(0,A.default)((0,i.default)(e));if(e.length>o)return(0,A.default)((0,i.default)(e).slice(-1*n));return(0,A.default)("".concat("0".repeat(n)).concat((0,i.default)(e)).slice(-1*n))};var A=n(r(460)),i=n(r(277))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if((0,o.default)(e)||(0,i.default)(e)||isNaN(e))return"0x";return(0,A.default)((e||0).toString(16),t,!0)};var A=n(r(826)),i=n(r(453)),o=n(r(276))},function(e,t,r){let n;const A={crypto:r(72)};let i=null;function o(){return null!==i&&i.buffer===n.memory.buffer||(i=new Uint8Array(n.memory.buffer)),i}let a=0;function s(e){const t=n.__wbindgen_malloc(1*e.length);return o().set(e,t/1),a=e.length,t}function u(e,t){return o().subarray(e/1,e/1+t)}let l=null;function c(){return null===l&&(l=n.__wbindgen_global_argument_ptr()),l}let f=null;function d(){return null!==f&&f.buffer===n.memory.buffer||(f=new Uint32Array(n.memory.buffer)),f}e.exports.ext_sr_derive_keypair_hard=function(e,t){const r=s(e),A=a,i=s(t),o=a,l=c();try{n.ext_sr_derive_keypair_hard(l,r,A,i,o);const e=d(),t=e[l/4],a=e[l/4+1],s=u(t,a).slice();return n.__wbindgen_free(t,1*a),s}finally{n.__wbindgen_free(r,1*A),n.__wbindgen_free(i,1*o)}},e.exports.ext_sr_derive_keypair_soft=function(e,t){const r=s(e),A=a,i=s(t),o=a,l=c();try{n.ext_sr_derive_keypair_soft(l,r,A,i,o);const e=d(),t=e[l/4],a=e[l/4+1],s=u(t,a).slice();return n.__wbindgen_free(t,1*a),s}finally{n.__wbindgen_free(r,1*A),n.__wbindgen_free(i,1*o)}},e.exports.ext_sr_derive_public_soft=function(e,t){const r=s(e),A=a,i=s(t),o=a,l=c();try{n.ext_sr_derive_public_soft(l,r,A,i,o);const e=d(),t=e[l/4],a=e[l/4+1],s=u(t,a).slice();return n.__wbindgen_free(t,1*a),s}finally{n.__wbindgen_free(r,1*A),n.__wbindgen_free(i,1*o)}},e.exports.ext_sr_from_seed=function(e){const t=s(e),r=a,A=c();try{n.ext_sr_from_seed(A,t,r);const e=d(),i=e[A/4],o=e[A/4+1],a=u(i,o).slice();return n.__wbindgen_free(i,1*o),a}finally{n.__wbindgen_free(t,1*r)}},e.exports.ext_sr_sign=function(e,t,r){const A=s(e),i=a,o=s(t),l=a,f=s(r),g=a,h=c();try{n.ext_sr_sign(h,A,i,o,l,f,g);const e=d(),t=e[h/4],r=e[h/4+1],a=u(t,r).slice();return n.__wbindgen_free(t,1*r),a}finally{n.__wbindgen_free(A,1*i),n.__wbindgen_free(o,1*l),n.__wbindgen_free(f,1*g)}},e.exports.ext_sr_verify=function(e,t,r){const A=s(e),i=a,o=s(t),u=a,l=s(r),c=a;try{return 0!==n.ext_sr_verify(A,i,o,u,l,c)}finally{n.__wbindgen_free(A,1*i),n.__wbindgen_free(o,1*u),n.__wbindgen_free(l,1*c)}},e.exports.ext_blake2b=function(e,t,r){const A=s(e),i=a,o=s(t),l=a,f=c();try{n.ext_blake2b(f,A,i,o,l,r);const e=d(),t=e[f/4],a=e[f/4+1],s=u(t,a).slice();return n.__wbindgen_free(t,1*a),s}finally{n.__wbindgen_free(A,1*i),n.__wbindgen_free(o,1*l)}},e.exports.ext_keccak256=function(e){const t=s(e),r=a,A=c();try{n.ext_keccak256(A,t,r);const e=d(),i=e[A/4],o=e[A/4+1],a=u(i,o).slice();return n.__wbindgen_free(i,1*o),a}finally{n.__wbindgen_free(t,1*r)}},e.exports.ext_pbkdf2=function(e,t,r){const A=s(e),i=a,o=s(t),l=a,f=c();try{n.ext_pbkdf2(f,A,i,o,l,r);const e=d(),t=e[f/4],a=e[f/4+1],s=u(t,a).slice();return n.__wbindgen_free(t,1*a),s}finally{n.__wbindgen_free(A,1*i),n.__wbindgen_free(o,1*l)}},e.exports.ext_sha512=function(e){const t=s(e),r=a,A=c();try{n.ext_sha512(A,t,r);const e=d(),i=e[A/4],o=e[A/4+1],a=u(i,o).slice();return n.__wbindgen_free(i,1*o),a}finally{n.__wbindgen_free(t,1*r)}},e.exports.ext_twox=function(e,t){const r=s(e),A=a,i=c();try{n.ext_twox(i,r,A,t);const e=d(),o=e[i/4],a=e[i/4+1],s=u(o,a).slice();return n.__wbindgen_free(o,1*a),s}finally{n.__wbindgen_free(r,1*A)}};const{u8aToString:g}=r(14);function h(e,t){return g(o().subarray(e,e+t))}e.exports.ext_bip39_generate=function(e){const t=c();n.ext_bip39_generate(t,e);const r=d(),A=r[t/4],i=r[t/4+1],o=h(A,i).slice();return n.__wbindgen_free(A,1*i),o};const{stringToU8a:p}=r(14);let I;I="function"==typeof stringToU8aInto?function(e){let t=e.length,r=n.__wbindgen_malloc(t),A=0;for(;;){const i=o().subarray(r+A,r+t),{read:a,written:s}=stringToU8aInto(e,i);if(A+=s,0===(e=e.substring(a)).length)break;r=n.__wbindgen_realloc(r,t,2*t),t*=2}return a=A,r}:function(e){const t=p(e),r=n.__wbindgen_malloc(t.length);return o().set(t,r),a=t.length,r},e.exports.ext_bip39_to_entropy=function(e){const t=I(e),r=a,A=c();try{n.ext_bip39_to_entropy(A,t,r);const e=d(),i=e[A/4],o=e[A/4+1],a=u(i,o).slice();return n.__wbindgen_free(i,1*o),a}finally{n.__wbindgen_free(t,1*r)}},e.exports.ext_bip39_to_mini_secret=function(e,t){const r=I(e),A=a,i=I(t),o=a,s=c();try{n.ext_bip39_to_mini_secret(s,r,A,i,o);const e=d(),t=e[s/4],a=e[s/4+1],l=u(t,a).slice();return n.__wbindgen_free(t,1*a),l}finally{n.__wbindgen_free(r,1*A),n.__wbindgen_free(i,1*o)}},e.exports.ext_bip39_to_seed=function(e,t){const r=I(e),A=a,i=I(t),o=a,s=c();try{n.ext_bip39_to_seed(s,r,A,i,o);const e=d(),t=e[s/4],a=e[s/4+1],l=u(t,a).slice();return n.__wbindgen_free(t,1*a),l}finally{n.__wbindgen_free(r,1*A),n.__wbindgen_free(i,1*o)}},e.exports.ext_bip39_validate=function(e){const t=I(e),r=a;try{return 0!==n.ext_bip39_validate(t,r)}finally{n.__wbindgen_free(t,1*r)}},e.exports.ext_ed_from_seed=function(e){const t=s(e),r=a,A=c();try{n.ext_ed_from_seed(A,t,r);const e=d(),i=e[A/4],o=e[A/4+1],a=u(i,o).slice();return n.__wbindgen_free(i,1*o),a}finally{n.__wbindgen_free(t,1*r)}},e.exports.ext_ed_sign=function(e,t,r){const A=s(e),i=a,o=s(t),l=a,f=s(r),g=a,h=c();try{n.ext_ed_sign(h,A,i,o,l,f,g);const e=d(),t=e[h/4],r=e[h/4+1],a=u(t,r).slice();return n.__wbindgen_free(t,1*r),a}finally{n.__wbindgen_free(A,1*i),n.__wbindgen_free(o,1*l),n.__wbindgen_free(f,1*g)}},e.exports.ext_ed_verify=function(e,t,r){const A=s(e),i=a,o=s(t),u=a,l=s(r),c=a;try{return 0!==n.ext_ed_verify(A,i,o,u,l,c)}finally{n.__wbindgen_free(A,1*i),n.__wbindgen_free(o,1*u),n.__wbindgen_free(l,1*c)}};const B=new Array(32);B.fill(void 0),B.push(void 0,null,!0,!1);let C=B.length;function m(e){C===B.length&&B.push(B.length+1);const t=C;return C=B[t],B[t]=e,t}function y(e){return B[e]}e.exports.__wbg_new_3a746f2619705add=function(e,t){let r=h(e,t);return m(new Function(r))},e.exports.__wbg_call_f54d3a6dadb199ca=function(e,t){return m(y(e).call(y(t)))},e.exports.__wbg_self_ac379e780a0d8b94=function(e){return m(y(e).self)},e.exports.__wbg_crypto_1e4302b85d4f64a2=function(e){return m(y(e).crypto)},e.exports.__wbg_getRandomValues_1b4ba144162a5c9e=function(e){return m(y(e).getRandomValues)},e.exports.__wbg_getRandomValues_1ef11e888e5228e9=function(e,t,r){let n=u(t,r);y(e).getRandomValues(n)},e.exports.__wbg_require_6461b1e9a0d7c34a=function(e,t){let r=h(e,t);return m(A[r])},e.exports.__wbg_randomFillSync_1b52c8482374c55b=function(e,t,r){let n=u(t,r);y(e).randomFillSync(n)},e.exports.__wbindgen_is_undefined=function(e){return void 0===y(e)?1:0},e.exports.__wbindgen_jsval_eq=function(e,t){return y(e)===y(t)?1:0},e.exports.__wbindgen_object_drop_ref=function(e){var t;(t=e)<36||(B[t]=C,C=t)},e.exports.abort=function(){throw new Error("abort")};const Q=r(1316)().catch(()=>null);e.exports.isReady=function(){return!!n},e.exports.waitReady=function(){return Q.then(()=>!!n)},Q.then(e=>{n=e})},function(e,t,r){(function(t){var r="Input must be an string, Buffer or Uint8Array";function n(e){return(4294967296+e).toString(16).substring(1)}e.exports={normalizeInput:function(e){var n;if(e instanceof Uint8Array)n=e;else if(e instanceof t)n=new Uint8Array(e);else{if("string"!=typeof e)throw new Error(r);n=new Uint8Array(t.from(e,"utf8"))}return n},toHex:function(e){return Array.prototype.map.call(e,function(e){return(e<16?"0":"")+e.toString(16)}).join("")},debugPrint:function(e,t,r){for(var A="\n"+e+" = ",i=0;i<t.length;i+=2){if(32===r)A+=n(t[i]).toUpperCase(),A+=" ",A+=n(t[i+1]).toUpperCase();else{if(64!==r)throw new Error("Invalid size "+r);A+=n(t[i+1]).toUpperCase(),A+=n(t[i]).toUpperCase()}i%6==4?A+="\n"+new Array(e.length+4).join(" "):i<t.length-2&&(A+=" ")}console.log(A)},testSpeed:function(e,t,r){for(var n=(new Date).getTime(),A=new Uint8Array(t),i=0;i<t;i++)A[i]=i%256;var o=(new Date).getTime();for(console.log("Generated random input in "+(o-n)+"ms"),n=o,i=0;i<r;i++){var a=e(A),s=(new Date).getTime(),u=s-n;n=s,console.log("Hashed in "+u+"ms: "+a.substring(0,20)+"..."),console.log(Math.round(t/(1<<20)/(u/1e3)*100)/100+" MB PER SECOND")}}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.isReady)()?(0,o.keccak256)((0,i.u8aToU8a)(e)):new Uint8Array(A.default.keccak256.update(e).arrayBuffer())};var A=n(r(462)),i=r(14),o=r(68)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.match(o),r=[];let n="";t&&(n=t.join(""),t.forEach(e=>{r.push(A.default.from(e.substr(1)))}));return(0,i.assert)(n===e,'Re-constructed path "'.concat(n,'" does not match input')),{parts:t,path:r}};var A=n(r(1327)),i=r(14);const o=/\/(\/?)([^\/]+)/g},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let{chainCode:r,isHard:n}=t;return(0,A.assert)(n,"A soft key was found in the path (and is unsupported)"),(0,o.default)((0,i.default)(e.secretKey.subarray(0,32),r))};var A=r(14),i=n(r(833)),o=n(r(463))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)((0,A.u8aConcat)(o,e,t))};var A=r(14),i=n(r(279));const o=(0,A.compactAddLength)((0,A.stringToU8a)("Ed25519HDKD"))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)((0,A.sr25519DeriveKeypairHard)((0,o.default)(e),t))},r(112);var A=r(68),i=n(r(464)),o=n(r(835))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{publicKey:t,secretKey:r}=e;return(0,n.u8aConcat)(r,t).slice()};var n=r(14)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)((0,A.sr25519DeriveKeypairSoft)((0,o.default)(e),t))},r(112);var A=r(68),i=n(r(464)),o=n(r(835))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.isReady)()?(0,i.bip39ToEntropy)(e):(0,A.hexToU8a)((0,A.hexAddPrefix)((0,n.mnemonicToEntropy)(e)))},r(112);var n=r(56),A=r(14),i=r(68)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;return(0,A.u8aToHex)((0,i.default)(e))};var A=r(14),i=n(r(465))},function(e){e.exports=JSON.parse('{"COMPRESSED_TYPE_INVALID":"compressed should be a boolean","EC_PRIVATE_KEY_TYPE_INVALID":"private key should be a Buffer","EC_PRIVATE_KEY_LENGTH_INVALID":"private key length is invalid","EC_PRIVATE_KEY_RANGE_INVALID":"private key range is invalid","EC_PRIVATE_KEY_TWEAK_ADD_FAIL":"tweak out of range or resulting private key is invalid","EC_PRIVATE_KEY_TWEAK_MUL_FAIL":"tweak out of range","EC_PRIVATE_KEY_EXPORT_DER_FAIL":"couldn\'t export to DER format","EC_PRIVATE_KEY_IMPORT_DER_FAIL":"couldn\'t import from DER format","EC_PUBLIC_KEYS_TYPE_INVALID":"public keys should be an Array","EC_PUBLIC_KEYS_LENGTH_INVALID":"public keys Array should have at least 1 element","EC_PUBLIC_KEY_TYPE_INVALID":"public key should be a Buffer","EC_PUBLIC_KEY_LENGTH_INVALID":"public key length is invalid","EC_PUBLIC_KEY_PARSE_FAIL":"the public key could not be parsed or is invalid","EC_PUBLIC_KEY_CREATE_FAIL":"private was invalid, try again","EC_PUBLIC_KEY_TWEAK_ADD_FAIL":"tweak out of range or resulting public key is invalid","EC_PUBLIC_KEY_TWEAK_MUL_FAIL":"tweak out of range","EC_PUBLIC_KEY_COMBINE_FAIL":"the sum of the public keys is not valid","ECDH_FAIL":"scalar was invalid (zero or overflow)","ECDSA_SIGNATURE_TYPE_INVALID":"signature should be a Buffer","ECDSA_SIGNATURE_LENGTH_INVALID":"signature length is invalid","ECDSA_SIGNATURE_PARSE_FAIL":"couldn\'t parse signature","ECDSA_SIGNATURE_PARSE_DER_FAIL":"couldn\'t parse DER signature","ECDSA_SIGNATURE_SERIALIZE_DER_FAIL":"couldn\'t serialize signature to DER format","ECDSA_SIGN_FAIL":"nonce generation function failed or private key is invalid","ECDSA_RECOVER_FAIL":"couldn\'t recover public key from signature","MSG32_TYPE_INVALID":"message should be a Buffer","MSG32_LENGTH_INVALID":"message length is invalid","OPTIONS_TYPE_INVALID":"options should be an Object","OPTIONS_DATA_TYPE_INVALID":"options.data should be a Buffer","OPTIONS_DATA_LENGTH_INVALID":"options.data length is invalid","OPTIONS_NONCEFN_TYPE_INVALID":"options.noncefn should be a Function","RECOVERY_ID_TYPE_INVALID":"recovery should be a Number","RECOVERY_ID_VALUE_INVALID":"recovery should have value between -1 and 4","TWEAK_TYPE_INVALID":"tweak should be a Buffer","TWEAK_LENGTH_INVALID":"tweak length is invalid"}')},function(e,t,r){"use strict";var n=t;n.base=r(327),n.short=r(1360),n.mont=r(1361),n.edwards=r(1362)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:64;const r=Math.ceil(t/64);if((0,i.isReady)())return(0,i.twox)((0,A.u8aToU8a)(e),r);const n=new Uint8Array(Math.ceil(t/8));for(let t=0;t<r;t++)n.set((0,o.default)(e,t).toArray("le",8),8*t);return n};var A=r(14),i=r(68),o=n(r(1374))},function(e,t,r){e.exports={h32:r(1377),h64:r(1380)}},function(e,t,r){t.UINT32=r(1378),t.UINT64=r(1379)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.default.prefix;if((0,i.isU8a)(e)||(0,i.isHex)(e))return(0,i.u8aToU8a)(e);const r=(0,i.bufferToU8a)(A.default.decode(e)),n=t=>"Decoding ".concat(e,": ").concat(t);(0,i.assert)(o.default.allowedEncodedLengths.includes(r.length),n("Invalid decoded address length"));const s=35===r.length,u=r.length-(s?2:1),l=(0,a.default)(r.subarray(0,u)),c=s?r[r.length-2]===l[0]&&r[r.length-1]===l[1]:r[r.length-1]===l[0];return(0,i.assert)(t||c,n("Invalid decoded address checksum")),r.slice(1,u)};var A=n(r(151)),i=r(14),o=n(r(328)),a=n(r(845))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.blake2AsU8a)((0,n.u8aConcat)(i,e),512)};var n=r(14),A=r(67);const i=(0,n.stringToU8a)("SS58PRE")},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let{publicKey:r,secretKey:o}=e;(0,n.assert)(o,"Expected a valid secretKey to be passed to encode");const a=(0,n.u8aConcat)(i.PKCS8_HEADER,o,i.PKCS8_DIVIDER,r);if(!t)return a;const{encrypted:s,nonce:u}=(0,A.naclEncrypt)(a,(0,n.u8aFixLength)((0,n.stringToU8a)(t),256,!0));return(0,n.u8aConcat)(u,s)};var n=r(14),A=r(67),i=r(467)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.assert)(t,"No encrypted data available to decode");const r=t,a=e?(0,A.naclDecrypt)(r.subarray(i.NONCE_LENGTH),r.subarray(0,i.NONCE_LENGTH),(0,n.u8aFixLength)((0,n.stringToU8a)(e),256,!0)):r;(0,n.assert)(a,"Unable to unencrypt using the supplied passphrase");const s=a.subarray(0,i.PKCS8_HEADER.length);(0,n.assert)(s.toString()===i.PKCS8_HEADER.toString(),"Invalid Pkcs8 header found in body");let u=a.subarray(o,o+i.SEC_LENGTH),l=o+i.SEC_LENGTH,c=a.subarray(l,l+i.PKCS8_DIVIDER.length);c.toString()!==i.PKCS8_DIVIDER.toString()&&(l=o+i.SEED_LENGTH,u=a.subarray(o,l),c=a.subarray(l,l+i.PKCS8_DIVIDER.length));(0,n.assert)(c.toString()===i.PKCS8_DIVIDER.toString(),"Invalid Pkcs8 divider found in body");const f=l+i.PKCS8_DIVIDER.length;return{publicKey:a.subarray(f,f+i.PUB_LENGTH),secretKey:u}};var n=r(14),A=r(67),i=r(467);const o=i.PKCS8_HEADER.length},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,r){e.exports=r(1391)},function(e,t,r){var n=r(470);function A(t,r,i){return!function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?e.exports=A=function(e,t,r){var A=[null];A.push.apply(A,t);var i=new(Function.bind.apply(e,A));return r&&n(i,r.prototype),i}:e.exports=A=Reflect.construct,A.apply(null,arguments)}e.exports=A},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(18)),i=n(r(4)),o=n(r(6)),a=n(r(5)),s=n(r(181)),u=n(r(7)),l=n(r(124)),c=n(r(469)),f={0:"Bad signature",1:"Nonce too low",2:"Nonce too high",3:"Sending account had too low a balance",255:"Block is full, no more extrinsics can be applied"},d=function(e){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.code,A=r.message,u=r.data;return(0,i.default)(this,t),(e=(0,o.default)(this,(0,a.default)(t).call(this))).name=e.constructor.name,e.message=f[u]||"[".concat(n,"]: ").concat(A),e.data={code:n,message:A,data:u},"function"==typeof Error.captureStackTrace?Error.captureStackTrace((0,s.default)(e),e.constructor):e.stack=new Error(A).stack,e}return(0,u.default)(t,e),t}((0,l.default)(Error)),g=function(){function e(){(0,i.default)(this,e),this.id=0}return(0,A.default)(e,[{key:"decodeResponse",value:function(e){(0,c.default)(e,"Empty response object received");var t=e.params&&e.method;return(0,c.default)("number"==typeof e.id||t&&"number"==typeof e.params.subscription,"Invalid id field in decoded object"),this.checkError(e.error),(0,c.default)(void 0!==e.result||t,"No result found in JsonRpc response"),t?(this.checkError(e.params.error),e.params.result):e.result}},{key:"encodeJson",value:function(e,t){return JSON.stringify(this.encodeObject(e,t))}},{key:"encodeObject",value:function(e,t){return{id:++this.id,jsonrpc:"2.0",method:e,params:t}}},{key:"getId",value:function(){return this.id}},{key:"checkError",value:function(e){if(e)throw new d(e)}}]),e}();t.default=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={HTTP_URL:"http://127.0.0.1:8086",WS_URL:"ws://127.0.0.1:8087"};t.default=n},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(179)),i=n(r(180)),o=n(r(4)),a=n(r(18)),s=n(r(66)),u=n(r(449)),l=n(r(280));r(1397);var c=n(r(469)),f=n(r(852)),d=n(r(853));function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var h=(0,u.default)("api-ws"),p=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default.WS_URL,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(0,o.default)(this,e),(0,s.default)(this,"_isConnected",!1),(0,s.default)(this,"onSocketClose",function(e){h.error("disconnected from ".concat(t.endpoint,"::").concat(e.code,": ").concat(e.reason).concat(t.autoConnect?", will reconnect.":"")),t._isConnected=!1,t.emit("disconnected"),t.autoConnect&&setTimeout(function(){t.connect()},1e3)}),(0,s.default)(this,"onSocketError",function(e){h.debug(function(){return["socket error",e]}),t.emit("error",e)}),(0,s.default)(this,"onSocketMessage",function(e){var r=JSON.parse(e.data);try{t.handlers[r.id]&&"state_getMetadata"===t.handlers[r.id].method||h.debug(function(){return["received",e.data]})}catch(e){}return r.method?t.onSocketMessageSubscribe(r):t.onSocketMessageResult(r)}),(0,s.default)(this,"onSocketMessageResult",function(e){var r=t.handlers[e.id];if(r){try{var n=r.method,A=r.params,i=r.subscription,o=t.coder.decodeResponse(e);i&&(t.subscriptions["".concat(i.type,"::").concat(o)]=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(r,!0).forEach(function(t){(0,s.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},i,{method:n,params:A})),r.callback(null,o)}catch(e){r.callback(e,void 0)}delete t.handlers[e.id]}else h.debug(function(){return"Unable to find handler for id=".concat(e.id)})}),(0,s.default)(this,"onSocketMessageSubscribe",function(e){var r="".concat(e.method,"::").concat(e.params.subscription),n=t.subscriptions[r];if(n)try{var A=t.coder.decodeResponse(e);n.callback(null,A)}catch(e){n.callback(e,void 0)}else h.debug(function(){return"Unable to find handler for subscription=".concat(r)})}),(0,s.default)(this,"onSocketOpen",function(){return(0,c.default)(t.websocket,"WebSocket cannot be null in onOpen"),h.debug(function(){return["connected to",t.endpoint]}),t._isConnected=!0,t.emit("connected"),t.sendQueue(),t.resubscribe(),!0}),(0,c.default)(/^(wss|ws):\/\//.test(r),"Endpoint should start with 'ws://', received '".concat(r,"'")),this._eventemitter=new l.default,this.autoConnect=n,this.coder=new f.default,this.endpoint=r,this.handlers={},this.queued={},this.subscriptions={},this.websocket=null,n&&this.connect()}var t,r,n;return(0,a.default)(e,[{key:"connect",value:function(){try{this.websocket=new WebSocket(this.endpoint),this.websocket.onclose=this.onSocketClose,this.websocket.onerror=this.onSocketError,this.websocket.onmessage=this.onSocketMessage,this.websocket.onopen=this.onSocketOpen}catch(e){h.error(e)}}},{key:"isConnected",value:function(){return this._isConnected}},{key:"on",value:function(e,t){this._eventemitter.on(e,t)}},{key:"send",value:(n=(0,i.default)(A.default.mark(function e(t,r,n){var i=this;return A.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(e,A){try{var o=i.coder.encodeJson(t,r),a=i.coder.getId();h.debug(function(){return["calling",o,!!n]}),i.handlers[a]={callback:function(t,r){t?A(t):e(r)},method:t,params:r,subscription:n},i.isConnected()&&i.websocket?i.websocket.send(o):i.queued[a]=o}catch(e){A(e)}}));case 1:case"end":return e.stop()}},e)})),function(e,t,r){return n.apply(this,arguments)})},{key:"subscribe",value:(r=(0,i.default)(A.default.mark(function e(t,r,n,i){var o;return A.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.send(r,n,{callback:i,type:t});case 2:return o=e.sent,e.abrupt("return",o);case 4:case"end":return e.stop()}},e,this)})),function(e,t,n,A){return r.apply(this,arguments)})},{key:"unsubscribe",value:(t=(0,i.default)(A.default.mark(function e(t,r,n){var i,o;return A.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i="".concat(t,"::").concat(n),this.subscriptions[i]){e.next=4;break}return h.debug(function(){return"Unable to find active subscription=".concat(i)}),e.abrupt("return",!1);case 4:return delete this.subscriptions[i],e.next=7,this.send(r,[n]);case 7:return o=e.sent,e.abrupt("return",o);case 9:case"end":return e.stop()}},e,this)})),function(e,r,n){return t.apply(this,arguments)})},{key:"emit",value:function(e){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),A=1;A<r;A++)n[A-1]=arguments[A];(t=this._eventemitter).emit.apply(t,[e].concat(n))}},{key:"resubscribe",value:function(){var e=this,t=this.subscriptions;this.subscriptions={},Object.keys(t).forEach(function(){var r=(0,i.default)(A.default.mark(function r(n){var i,o,a,s,u;return A.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i=t[n],o=i.callback,a=i.method,s=i.params,u=i.type,r.prev=1,r.next=4,e.subscribe(u,a,s,o);case 4:r.next=9;break;case 6:r.prev=6,r.t0=r.catch(1),h.error(r.t0);case 9:case"end":return r.stop()}},r,null,[[1,6]])}));return function(e){return r.apply(this,arguments)}}())}},{key:"sendQueue",value:function(){var e=this;Object.keys(this.queued).forEach(function(t){try{e.websocket.send(e.queued[t]),delete e.queued[t]}catch(e){h.error(e)}})}},{key:"disconnect",value:function(){if(!this.websocket)throw new Error("Cannot disconnect on a non-open websocket");this.autoConnect=!1,this.websocket.close(1e3),this.websocket=null}},{key:"clone",value:function(){return new e(this.endpoint)}},{key:"hasSubscriptions",get:function(){return!0}}]),e}();t.default=p},function(e,t,r){var n=function(){return this}(),A=n.WebSocket||n.MozWebSocket,i=r(1398);function o(e,t){return t?new A(e,t):new A(e)}A&&["CONNECTING","OPEN","CLOSING","CLOSED"].forEach(function(e){Object.defineProperty(o,e,{get:function(){return A[e]}})}),e.exports={w3cwebsocket:A?o:null,version:i}},function(e,t,r){e.exports=r(1401)},function(e,t,r){e.exports=r(157)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(124)),l=r(14),c=r(67),f=(n(r(125)),n(r(126))),d=n(r(52)),g=r(136),h=function(e){function t(e,r,n){var i;(0,A.default)(this,t);var s=(0,g.typeToConstructor)(e),u=(0,g.typeToConstructor)(r);return(i=(0,o.default)(this,(0,a.default)(t).call(this,t.decodeBTreeMap(s,u,n))))._KeyClass=s,i._ValClass=u,i}return(0,s.default)(t,e),(0,i.default)(t,[{key:"eq",value:function(e){return(0,g.compareMap)(this,e)}},{key:"toHex",value:function(){return(0,l.u8aToHex)(this.toU8a())}},{key:"toJSON",value:function(){var e={};return this.forEach(function(t,r){e[r.toString()]=t.toJSON()}),e}},{key:"toRawType",value:function(){return"BTreeMap<".concat((new this._KeyClass).toRawType(),",").concat((new this._ValClass).toRawType(),">")}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}},{key:"toU8a",value:function(e){var t=new Array;return e||t.push(new d.default(this.size).toU8a()),this.forEach(function(r,n){t.push(n.toU8a(e),r.toU8a(e))}),l.u8aConcat.apply(void 0,t)}},{key:"encodedLength",get:function(){var e=new d.default(this.size).encodedLength;return this.forEach(function(t,r){e+=t.encodedLength+r.encodedLength}),e}},{key:"hash",get:function(){return new f.default((0,c.blake2AsU8a)(this.toU8a(),256))}},{key:"isEmpty",get:function(){return 0===this.size}}],[{key:"decodeBTreeMap",value:function(e,r,n){if(!n)return new Map;if((0,l.isHex)(n))return t.decodeBTreeMap(e,r,(0,l.hexToU8a)(n));if((0,l.isU8a)(n))return t.decodeBTreeMapFromU8a(e,r,(0,l.u8aToU8a)(n));if(n instanceof Map)return t.decodeBTreeMapFromMap(e,r,n);throw new Error("BTreeMap: cannot decode type")}},{key:"decodeBTreeMapFromU8a",value:function(e,t,r){for(var n=new Map,A=new d.default(r).toNumber(),i=[],o=0;o<A;o++)i.push(e,t);for(var a=(0,g.decodeU8a)(r.subarray(4),i),s=0;s<a.length;s+=2)n.set(a[s],a[s+1]);return n}},{key:"decodeBTreeMapFromMap",value:function(e,t,r){var n=new Map;return r.forEach(function(r,A){var i,o;try{i=A instanceof e?A:new e(A),o=r instanceof t?r:new t(r)}catch(e){throw console.error("Failed to decode BTreeMap key or value:",e.message),e}n.set(i,o)}),n}},{key:"with",value:function(e,r){return function(t){function n(t){return(0,A.default)(this,n),(0,o.default)(this,(0,a.default)(n).call(this,e,r,t))}return(0,s.default)(n,t),n}(t)}}]),t}((0,u.default)(Map));t.default=h},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.paramsNotation=f,t.encodeType=p,t.displayType=I,t.withTypeString=function(e){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(r,!0).forEach(function(t){(0,i.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e,{type:l.includes(e.name)?e.name:p(e)})};var A,i=n(r(66)),o=r(861),a=r(14),s=r(224);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var l=["AccountId","AccountIndex","Address","Balance"],c=function(e){return e};function f(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,n="";return t&&(n="<"+(Array.isArray(t)?t:[t]).map(r).join(", ")+">"),"".concat(e).concat(n)}function d(e){return f(arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.displayName||e.type,e.params,function(e){return I(e)})}function g(e,t){return"{ ".concat(t?'"_enum": { ':"").concat(e.map(function(e){return'"'.concat(e.name,'": "').concat(d(e),'"')}).join(", ")," }")}var h=(A={},(0,i.default)(A,o.TypeDefInfo.BTreeMap,function(e){return e.displayName||d(e,"BTreeMap")}),(0,i.default)(A,o.TypeDefInfo.Compact,function(e){return e.displayName||d(e,"Compact")}),(0,i.default)(A,o.TypeDefInfo.DoubleMap,function(e){return e.displayName||d(e,"DoubleMap")}),(0,i.default)(A,o.TypeDefInfo.Enum,function(e){return e.displayName||function(e){(0,a.assert)(e.sub&&Array.isArray(e.sub),"Unable to encode Enum type");var t=e.sub;return t.reduce(function(e,t){var r=t.type;return e&&"Null"===r},!0)?"[".concat(t.map(function(e){var t=e.name;return'"'.concat(t,'"')}).join(", "),"]"):g(t,!0)}(e)}),(0,i.default)(A,o.TypeDefInfo.Linkage,function(e){return e.displayName||d(e,"Linkage")}),(0,i.default)(A,o.TypeDefInfo.Null,function(e){return"Null"}),(0,i.default)(A,o.TypeDefInfo.Option,function(e){return e.displayName||d(e,"Option")}),(0,i.default)(A,o.TypeDefInfo.Plain,function(e){return e.displayName||e.type}),(0,i.default)(A,o.TypeDefInfo.Result,function(e){return d(e,"Result")}),(0,i.default)(A,o.TypeDefInfo.Set,function(e){return e.type}),(0,i.default)(A,o.TypeDefInfo.Struct,function(e){return e.displayName||function(e){return(0,a.assert)(e.sub&&Array.isArray(e.sub),"Unable to encode Struct type"),g(e.sub)}(e)}),(0,i.default)(A,o.TypeDefInfo.Tuple,function(e){return e.displayName||function(e){(0,a.assert)(e.sub&&Array.isArray(e.sub),"Unable to encode Tuple type");var t=e.sub;return"(".concat(t.map(function(e){return d(e)}).join(", "),")")}(e)}),(0,i.default)(A,o.TypeDefInfo.Vec,function(e){return e.displayName||d(e,"Vec")}),(0,i.default)(A,o.TypeDefInfo.VecFixed,function(e){return e.displayName||function(e){(0,a.assert)(e.ext,"Unable to encode VecFixed type");var t=e.ext,r=t.type,n=t.length;return"[".concat(d((0,s.getTypeDef)(r)),";").concat(n,"]")}(e)}),A);function p(e){var t=h[e.info];return(0,a.assert)(t,"Cannot encode type: ".concat(e,".")),t(e)}function I(e){if(e.displayName)return d(e);switch(e.info){case o.TypeDefInfo.Struct:case o.TypeDefInfo.Enum:return d(e);default:return p(e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(471);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})})},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.getTypeClass=k;var A,i=n(r(66)),o=n(r(59)),a=r(471),s=r(14),u=n(r(858)),l=n(r(125)),c=n(r(39)),f=n(r(1417)),d=n(r(182)),g=n(r(863)),h=n(r(864)),p=n(r(29)),I=n(r(80)),B=n(r(99)),C=n(r(60)),m=n(r(1418)),y=r(331),Q=r(865);function w(e){return(0,s.assert)(e.sub&&Array.isArray(e.sub),"Expected subtype as TypeDef[] in ".concat(JSON.stringify(e))),e.sub}function E(e){return(0,s.assert)(e.sub&&!Array.isArray(e.sub),"Expected subtype as TypeDef in ".concat(JSON.stringify(e))),e.sub}function b(e){return E(e).type}function v(e){return w(e).reduce(function(e,t){return e[t.name]=t.type,e},{})}function D(e){return w(e).map(function(e){return e.type})}var M=(A={},(0,i.default)(A,a.TypeDefInfo.BTreeMap,function(e){var t=D(e),r=(0,o.default)(t,2),n=r[0],A=r[1];return u.default.with(n,A)}),(0,i.default)(A,a.TypeDefInfo.Compact,function(e){return l.default.with(b(e))}),(0,i.default)(A,a.TypeDefInfo.DoubleMap,function(e){return k(E(e))}),(0,i.default)(A,a.TypeDefInfo.Enum,function(e){return c.default.with(v(e))}),(0,i.default)(A,a.TypeDefInfo.Linkage,function(e){return f.default.withKey(b(e))}),(0,i.default)(A,a.TypeDefInfo.Null,function(e){return(0,y.ClassOf)("Null")}),(0,i.default)(A,a.TypeDefInfo.Option,function(e){return d.default.with(b(e))}),(0,i.default)(A,a.TypeDefInfo.Plain,function(e){return(0,Q.getTypeRegistry)().getOrThrow(e.type,"Unable to find plain type for ".concat(JSON.stringify(e)))}),(0,i.default)(A,a.TypeDefInfo.Result,function(e){var t=D(e),r=(0,o.default)(t,2),n=r[0],A=r[1];return g.default.with({Ok:n,Error:A})}),(0,i.default)(A,a.TypeDefInfo.Set,function(e){return h.default.with(w(e).reduce(function(e,t){var r=t.name,n=t.index;return e[r]=n,e},{}))}),(0,i.default)(A,a.TypeDefInfo.Struct,function(e){return p.default.with(v(e))}),(0,i.default)(A,a.TypeDefInfo.Tuple,function(e){return I.default.with(D(e))}),(0,i.default)(A,a.TypeDefInfo.Vec,function(e){var t=b(e);return"u8"===t?(0,y.ClassOf)("Bytes"):C.default.with(t)}),(0,i.default)(A,a.TypeDefInfo.VecFixed,function(e){(0,s.assert)(e.ext,"Expected length & type information for fixed vector");var t=e.ext;return"u8"===t.type?B.default.with(8*t.length):m.default.with(t.type,t.length)}),A);function k(e){var t=(0,Q.getTypeRegistry)().get(e.type);if(t)return t;var r=M[e.info];if(!r)throw new Error("Unable to determine type from ".concat(JSON.stringify(e)));return r(e)}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(14),l=function(e){function t(e,r,n){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{Ok:e,Error:r},n))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"toRawType",value:function(){var e=this.toRawStruct();return"Result<".concat(e.Ok,",").concat(e.Error,">")}},{key:"asError",get:function(){return(0,u.assert)(this.isError,"Cannot extract Error value from Ok result, check isError first"),this.value}},{key:"asOk",get:function(){return(0,u.assert)(this.isOk,"Cannot extract Ok value from Error result, check isOk first"),this.value}},{key:"isEmpty",get:function(){return this.isOk&&this.raw.isEmpty}},{key:"isError",get:function(){return!this.isOk}},{key:"isOk",get:function(){return 0===this.index}}],[{key:"with",value:function(e){return function(t){function r(t){return(0,A.default)(this,r),(0,o.default)(this,(0,a.default)(r).call(this,e.Ok,e.Error,t))}return(0,s.default)(r,t),r}(t)}}]),t}(n(r(39)).default);t.default=l},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(181)),i=n(r(89)),o=n(r(4)),a=n(r(18)),s=n(r(6)),u=n(r(5)),l=n(r(85)),c=n(r(7)),f=n(r(124)),d=r(14),g=r(67),h=n(r(126)),p=r(136),I=function(e){function t(e,r){var n;return(0,o.default)(this,t),(n=(0,s.default)(this,(0,u.default)(t).call(this,t.decodeSet(e,r))))._setValues=e,n}return(0,c.default)(t,e),(0,a.default)(t,[{key:"add",value:function(e){return(0,d.assert)((0,d.isUndefined)(this._setValues)||!(0,d.isUndefined)(this._setValues[e]),"Set: Invalid key '".concat(e,"' on add")),(0,l.default)((0,u.default)(t.prototype),"add",this).call(this,e),this}},{key:"eq",value:function(e){return Array.isArray(e)?(0,p.compareArray)(this.strings.sort(),e.sort()):e instanceof Set?this.eq((0,i.default)(e.values())):!!(0,d.isNumber)(e)&&this.valueEncoded===e}},{key:"toHex",value:function(){return(0,d.u8aToHex)(this.toU8a())}},{key:"toJSON",value:function(){return this.strings}},{key:"toNumber",value:function(){return this.valueEncoded}},{key:"toRawType",value:function(){return JSON.stringify({_set:this._setValues})}},{key:"toString",value:function(){return"[".concat(this.strings.join(", "),"]")}},{key:"toU8a",value:function(e){return new Uint8Array([this.valueEncoded])}},{key:"encodedLength",get:function(){return 1}},{key:"hash",get:function(){return new h.default((0,g.blake2AsU8a)(this.toU8a(),256))}},{key:"isEmpty",get:function(){return 0===this.size}},{key:"strings",get:function(){return(0,i.default)((0,l.default)((0,u.default)(t.prototype),"values",this).call(this))}},{key:"valueEncoded",get:function(){return t.encodeSet(this._setValues,this.strings)}}],[{key:"decodeSet",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(0,d.isU8a)(r)?0===r.length?[]:t.decodeSetNumber(e,r[0]):r instanceof Set?t.decodeSetArray(e,(0,i.default)(r.values())):Array.isArray(r)?t.decodeSetArray(e,r):t.decodeSetNumber(e,r)}},{key:"decodeSetArray",value:function(e,t){return t.reduce(function(t,r){return(0,d.assert)(!(0,d.isUndefined)(e[r]),"Set: Invalid key '".concat(r,"' passed to Set, allowed ").concat(Object.keys(e).join(", "))),t.push(r),t},[])}},{key:"decodeSetNumber",value:function(e,r){var n=Object.keys(e).reduce(function(t,n){return(r&e[n])===e[n]&&t.push(n),t},[]),A=t.encodeSet(e,n);return(0,d.assert)(r===A,"Set: Mismatch decoding '".concat(r,"', computed as '").concat(A,"' with ").concat(n)),n}},{key:"encodeSet",value:function(e,t){return t.reduce(function(t,r){return t|(e[r]||0)},0)}},{key:"with",value:function(e){return function(t){function r(t){var n;return(0,o.default)(this,r),n=(0,s.default)(this,(0,u.default)(r).call(this,e,t)),Object.keys(e).forEach(function(e){var t=(0,d.stringUpperFirst)((0,d.stringCamelCase)(e)),r="is".concat(t);(0,d.isUndefined)(n[r])&&Object.defineProperty((0,A.default)(n),r,{enumerable:!0,get:function(){return n.strings.includes(e)}})}),n}return(0,c.default)(r,t),r}(t)}}]),t}((0,f.default)(Set));t.default=I},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.getTypeRegistry=function(){return f.defaultRegistry},t.TypeRegistry=void 0;var A=n(r(6)),i=n(r(5)),o=n(r(7)),a=n(r(59)),s=n(r(4)),u=n(r(18)),l=r(14),c=r(331),f=function(){function e(){(0,s.default)(this,e),this._classes=new Map,this._definitions=new Map}return(0,u.default)(e,[{key:"register",value:function(e,t){if((0,l.isString)(e)){var r=e,n=t;this._classes.set(r,n)}else if((0,l.isFunction)(e)){var A=e.name,i=e;this._classes.set(A,i)}else this.registerObject(e)}},{key:"registerObject",value:function(e){var t=this;Object.entries(e).forEach(function(e){var r=(0,a.default)(e,2),n=r[0],A=r[1];if((0,l.isFunction)(A))t._classes.set(n,A);else{var i=(0,l.isString)(A)?A:JSON.stringify(A);t._classes.has(n)&&t._classes.delete(n),t._definitions.set(n,i)}})}},{key:"get",value:function(e){var t=this._classes.get(e);if(!t){var r=this._definitions.get(e);if(r)t=function(e){function t(){return(0,s.default)(this,t),(0,A.default)(this,(0,i.default)(t).apply(this,arguments))}return(0,o.default)(t,e),t}((0,c.createClass)(r)),this._classes.set(e,t)}return t}},{key:"getDefinition",value:function(e){return this._definitions.get(e)}},{key:"getOrThrow",value:function(e,t){var r=this.get(e);if((0,l.isUndefined)(r))throw new Error(t||"type ".concat(e," not found"));return r}},{key:"hasClass",value:function(e){return this._classes.has(e)}},{key:"hasDef",value:function(e){return this._definitions.has(e)}},{key:"hasType",value:function(e){return this.hasClass(e)||this.hasDef(e)}}]),e}();t.TypeRegistry=f,f.defaultRegistry=new f},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.getTypeDef=g;var A=n(r(59)),i=r(471),o=r(14),a=n(r(1419)),s=r(867);function u(e,t,r){return e.sub=(0,s.typeSplit)(r).map(function(e){return g(e)}),e}function l(e,t){var r=(0,A.default)(t,2),n=r[0],i=r[1];return e.substr(0,n.length)===n&&((0,o.assert)(e.endsWith(i),"Expected '".concat(n,"' closing with '").concat(i,"'")),!0)}var c=[["[","]",i.TypeDefInfo.VecFixed,function(e,t,r){var n=t.substr(1,t.length-2).split(";"),i=(0,A.default)(n,2),a=i[0],s=i[1],u=parseInt(s.trim(),10);return(0,o.assert)(u<=256,"".concat(t,": Only support for [Type; <length>], where length <= 256")),e.ext={length:u,type:a},e}],["{","}",i.TypeDefInfo.Struct,function(e,t,r){var n=JSON.parse(t),o=Object.keys(n);return 1===o.length&&"_enum"===o[0]?function(e,t){return e.info=i.TypeDefInfo.Enum,e.sub=Array.isArray(t)?t.map(function(e){return{info:i.TypeDefInfo.Plain,name:e,type:"Null"}}):Object.entries(t).map(function(e){var t=(0,A.default)(e,2),r=t[0];return g(t[1]||"Null",{name:r})}),e}(e,n[o[0]]):1===o.length&&"_set"===o[0]?function(e,t){return e.info=i.TypeDefInfo.Set,e.sub=Object.entries(t).map(function(e){var t=(0,A.default)(e,2),r=t[0];return{index:t[1],info:i.TypeDefInfo.Plain,name:r,type:r}}),e}(e,n[o[0]]):(e.sub=o.map(function(e){return g(n[e],{name:e})}),e)}],["(",")",i.TypeDefInfo.Tuple,u],["BTreeMap<",">",i.TypeDefInfo.BTreeMap,u],["Result<",">",i.TypeDefInfo.Result,u]],f=[["Compact<",">",i.TypeDefInfo.Compact],["DoubleMap<",">",i.TypeDefInfo.DoubleMap],["Linkage<",">",i.TypeDefInfo.Linkage],["Option<",">",i.TypeDefInfo.Option],["Vec<",">",i.TypeDefInfo.Vec]];function d(e,t){var r=(0,A.default)(t,2),n=r[0],i=r[1];return e.substr(n.length,e.length-n.length-i.length)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.name,n=t.displayName,A=(0,a.default)(e),o={info:i.TypeDefInfo.Plain,displayName:n,name:r,type:A},s=c.find(function(e){return l(A,e)});if(s)return o.info=s[2],s[3](o,A,d(A,s));var u=f.find(function(e){return l(A,e)});return u&&(o.info=u[2],o.sub=g(d(A,u))),o}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.typeSplit=function(e){for(var t=0,r=0,i=0,o=0,a=0,s=[],u=function(n){A(t,r,i,o)&&(s.push(e.substr(a,n-a).trim()),a=n+1)},l=0;l<e.length;l++)switch(e[l]){case",":u(l);break;case"<":t++;break;case">":t--;break;case"[":r++;break;case"]":r--;break;case"{":i++;break;case"}":i--;break;case"(":o++;break;case")":o--}return(0,n.assert)(A(t,r,i,o),"Invalid defintion (missing terminators) found in ".concat(e)),s.push(e.substr(a,e.length-a).trim()),s};var n=r(14);function A(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(e){return 0!==e})}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DEFAULT_UINT_BITS=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(85)),u=n(r(7)),l=n(r(17)),c=r(14),f=r(67),d=n(r(126)),g=64;t.DEFAULT_UINT_BITS=g;var h=function(e){function t(e){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return(0,A.default)(this,t),(r=(0,o.default)(this,(0,a.default)(t).call(this,t.decodeAbstracInt(n,i,e))))._bitLength=i,r._isHexJson=s,r._isNegative=e,r}return(0,u.default)(t,e),(0,i.default)(t,[{key:"bitLength",value:function(){return this._bitLength}},{key:"eq",value:function(e){return(0,s.default)((0,a.default)(t.prototype),"eq",this).call(this,(0,c.isHex)(e)?(0,c.hexToBn)(e.toString(),{isLe:!1,isNegative:this._isNegative}):(0,c.bnToBn)(e))}},{key:"toBn",value:function(){return this}},{key:"toJSON",value:function(){return this._isHexJson||(0,s.default)((0,a.default)(t.prototype),"bitLength",this).call(this)>52?this.toHex():this.toNumber()}},{key:"toString",value:function(e){return(0,s.default)((0,a.default)(t.prototype),"toString",this).call(this,e)}},{key:"encodedLength",get:function(){return this._bitLength/8}},{key:"hash",get:function(){return new d.default((0,f.blake2AsU8a)(this.toU8a(),256))}},{key:"isEmpty",get:function(){return this.isZero()}}],[{key:"decodeAbstracInt",value:function(e,r,n){return(0,c.isHex)(e,-1,!0)?(0,c.hexToBn)(e,{isLe:!1,isNegative:n}).toString():(0,c.isU8a)(e)?t.decodeAbstracIntU8a(e,r,n):(0,c.isString)(e)?new l.default(e,10).toString():(0,c.bnToBn)(e).toString()}},{key:"decodeAbstracIntU8a",value:function(e,t,r){if(!e.length)return"0";try{return(0,c.u8aToBn)(e.subarray(0,t/8),{isLe:!0,isNegative:r}).toString()}catch(t){throw new Error("AbstractInt: failed on ".concat(JSON.stringify(e),":: ").concat(t.message))}}}]),t}(l.default);t.default=h},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fromMetadata",{enumerable:!0,get:function(){return A.default}}),t.default=void 0;var A=n(r(1422)),i={};t.default=i},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AccountId",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"AccountIndex",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Address",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"AttestedCandidate",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"AuthorityId",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Balance",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"Block",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"BlockNumber",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"bool",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"Bytes",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"ChainProperties",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"Data",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"Digest",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"Event",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"EventRecord",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"Extrinsic",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"ExtrinsicEra",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"ExtrinsicSignature",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"ExtrinsicStatus",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"Gas",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"H256",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"H512",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"Hash",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"Header",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"i8",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"i16",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"i32",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"i64",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"i128",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"i256",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"InherentOfflineReport",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"KeyValue",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"LockPeriods",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"Method",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"MisbehaviorReport",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"Moment",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"NewAccountOutcome",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"Null",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"Index",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"Justification",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"Origin",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"ParaId",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"PendingExtrinsics",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"Permill",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,"Perbill",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"PropIndex",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"Proposal",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"ProposalIndex",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"ReferendumIndex",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"ReferendumInfo",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"RuntimeVersion",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,"SessionKey",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(t,"Signature",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"SignedBlock",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,"StorageChangeSet",{enumerable:!0,get:function(){return Ae.default}}),Object.defineProperty(t,"StorageData",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(t,"StorageKey",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(t,"Key",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(t,"StoredPendingChange",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(t,"Type",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(t,"u8",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(t,"u16",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(t,"u32",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(t,"u64",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(t,"u128",{enumerable:!0,get:function(){return ge.default}}),Object.defineProperty(t,"u256",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(t,"ValidatorPrefs",{enumerable:!0,get:function(){return pe.default}}),Object.defineProperty(t,"Vote",{enumerable:!0,get:function(){return Ie.default}}),Object.defineProperty(t,"VoteThreshold",{enumerable:!0,get:function(){return Be.default}}),Object.defineProperty(t,"VoteIndex",{enumerable:!0,get:function(){return Ce.default}}),Object.defineProperty(t,"StorageHasher",{enumerable:!0,get:function(){return me.default}}),Object.defineProperty(t,"Token",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(t,"Acceleration",{enumerable:!0,get:function(){return Qe.default}}),Object.defineProperty(t,"Memo",{enumerable:!0,get:function(){return we.default}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return Ee.default}}),Object.defineProperty(t,"URL",{enumerable:!0,get:function(){return be.default}}),Object.defineProperty(t,"PublicKey",{enumerable:!0,get:function(){return ve.default}}),Object.defineProperty(t,"TradingPairIndex",{enumerable:!0,get:function(){return De.default}}),Object.defineProperty(t,"OrderType",{enumerable:!0,get:function(){return Me.default}}),Object.defineProperty(t,"Side",{enumerable:!0,get:function(){return ke.default}}),Object.defineProperty(t,"Price",{enumerable:!0,get:function(){return _e.default}}),Object.defineProperty(t,"ID",{enumerable:!0,get:function(){return Se.default}}),Object.defineProperty(t,"OrderStatus",{enumerable:!0,get:function(){return Ne.default}}),Object.defineProperty(t,"AddrStr",{enumerable:!0,get:function(){return Fe.default}}),Object.defineProperty(t,"AssetType",{enumerable:!0,get:function(){return xe.default}}),Object.defineProperty(t,"TxType",{enumerable:!0,get:function(){return Ge.default}}),Object.defineProperty(t,"BindStatus",{enumerable:!0,get:function(){return He.default}}),Object.defineProperty(t,"EthereumAddress",{enumerable:!0,get:function(){return Ue.default}}),Object.defineProperty(t,"Chain",{enumerable:!0,get:function(){return Ye.default}}),Object.defineProperty(t,"TrusteeAddressPair",{enumerable:!0,get:function(){return Le.default}}),Object.defineProperty(t,"TrusteeEntity",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(t,"CurrencyPair",{enumerable:!0,get:function(){return Ke.default}}),Object.defineProperty(t,"TxState",{enumerable:!0,get:function(){return Pe.default}}),Object.defineProperty(t,"OrderIndex",{enumerable:!0,get:function(){return Re.default}}),Object.defineProperty(t,"TradeHistoryIndex",{enumerable:!0,get:function(){return Te.default}}),Object.defineProperty(t,"SwitchStore",{enumerable:!0,get:function(){return Je.default}}),Object.defineProperty(t,"H264",{enumerable:!0,get:function(){return je.default}}),Object.defineProperty(t,"H520",{enumerable:!0,get:function(){return qe.default}}),Object.defineProperty(t,"BitcoinAddress",{enumerable:!0,get:function(){return Ve.default}}),Object.defineProperty(t,"BitcoinTrusteeIntentionProps",{enumerable:!0,get:function(){return We.default}}),Object.defineProperty(t,"BitcoinTrusteeSessionInfo",{enumerable:!0,get:function(){return ze.default}}),Object.defineProperty(t,"ApplicationState",{enumerable:!0,get:function(){return Ze.default}}),Object.defineProperty(t,"EcdsaSignature",{enumerable:!0,get:function(){return Xe.default}}),Object.defineProperty(t,"RawHeader",{enumerable:!0,get:function(){return $e.default}}),Object.defineProperty(t,"Asset",{enumerable:!0,get:function(){return et.default}}),Object.defineProperty(t,"Precision",{enumerable:!0,get:function(){return tt.default}}),Object.defineProperty(t,"Desc",{enumerable:!0,get:function(){return rt.default}}),Object.defineProperty(t,"AssetLimit",{enumerable:!0,get:function(){return nt.default}}),Object.defineProperty(t,"CallSwitcher",{enumerable:!0,get:function(){return At.default}}),Object.defineProperty(t,"TrusteeInfoConfig",{enumerable:!0,get:function(){return it.default}}),Object.defineProperty(t,"AddrType",{enumerable:!0,get:function(){return ot.default}}),Object.defineProperty(t,"MultiSigPermission",{enumerable:!0,get:function(){return at.default}}),Object.defineProperty(t,"AddrInfo",{enumerable:!0,get:function(){return st.default}}),Object.defineProperty(t,"PendingState",{enumerable:!0,get:function(){return ut.default}}),Object.defineProperty(t,"DepositVoteWeight",{enumerable:!0,get:function(){return lt.default}}),Object.defineProperty(t,"DepositVoteWeightV1",{enumerable:!0,get:function(){return ct.default}}),Object.defineProperty(t,"IntentionProfs",{enumerable:!0,get:function(){return ft.default}}),Object.defineProperty(t,"IntentionProfsV1",{enumerable:!0,get:function(){return dt.default}}),Object.defineProperty(t,"NominationRecord",{enumerable:!0,get:function(){return gt.default}}),Object.defineProperty(t,"NominationRecordV1",{enumerable:!0,get:function(){return ht.default}}),Object.defineProperty(t,"PseduIntentionVoteWeight",{enumerable:!0,get:function(){return pt.default}}),Object.defineProperty(t,"PseduIntentionVoteWeightV1",{enumerable:!0,get:function(){return It.default}}),Object.defineProperty(t,"Selector",{enumerable:!0,get:function(){return Bt.default}}),Object.defineProperty(t,"XRC20Selector",{enumerable:!0,get:function(){return Ct.default}}),Object.defineProperty(t,"Metadata",{enumerable:!0,get:function(){return mt.default}});var A=n(r(226)),i=n(r(871)),o=n(r(872)),a=n(r(1435)),s=n(r(283)),u=n(r(201)),l=n(r(875)),c=n(r(101)),f=n(r(881)),d=n(r(137)),g=n(r(1437)),h=n(r(1438)),p=n(r(880)),I=n(r(882)),B=n(r(1439)),C=n(r(877)),m=n(r(476)),y=n(r(878)),Q=n(r(1440)),w=n(r(1441)),E=n(r(474)),b=n(r(874)),v=n(r(100)),D=n(r(879)),M=n(r(335)),k=n(r(1442)),_=n(r(1443)),S=n(r(1444)),N=n(r(1445)),F=n(r(1446)),x=n(r(1447)),G=n(r(883)),H=n(r(1449)),U=n(r(334)),Y=n(r(1450)),L=n(r(1451)),O=n(r(1452)),K=n(r(158)),P=n(r(477)),R=n(r(886)),T=n(r(1453)),J=n(r(873)),j=n(r(1454)),q=n(r(1455)),V=n(r(1456)),W=n(r(1457)),z=n(r(479)),Z=n(r(1458)),X=n(r(1459)),$=n(r(1460)),ee=n(r(1461)),te=n(r(475)),re=n(r(282)),ne=n(r(1462)),Ae=n(r(1463)),ie=n(r(473)),oe=n(r(884)),ae=n(r(1464)),se=n(r(127)),ue=n(r(1465)),le=n(r(1466)),ce=n(r(888)),fe=n(r(52)),de=n(r(81)),ge=n(r(284)),he=n(r(1467)),pe=n(r(1468)),Ie=n(r(1469)),Be=n(r(887)),Ce=n(r(1470)),me=n(r(480)),ye=n(r(481)),Qe=n(r(478)),we=n(r(1471)),Ee=n(r(1472)),be=n(r(1473)),ve=n(r(1474)),De=n(r(1475)),Me=n(r(1476)),ke=n(r(1477)),_e=n(r(1478)),Se=n(r(1479)),Ne=n(r(1480)),Fe=n(r(1481)),xe=n(r(1482)),Ge=n(r(1483)),He=n(r(1484)),Ue=n(r(1485)),Ye=n(r(889)),Le=n(r(1486)),Oe=n(r(1487)),Ke=n(r(1488)),Pe=n(r(1489)),Re=n(r(1490)),Te=n(r(1491)),Je=n(r(1492)),je=n(r(890)),qe=n(r(891)),Ve=n(r(892)),We=n(r(1493)),ze=n(r(1495)),Ze=n(r(1497)),Xe=n(r(1498)),$e=n(r(1499)),et=n(r(1500)),tt=n(r(893)),rt=n(r(894)),nt=n(r(1501)),At=n(r(1502)),it=n(r(1503)),ot=n(r(482)),at=n(r(336)),st=n(r(1504)),ut=n(r(1505)),lt=n(r(1506)),ct=n(r(1507)),ft=n(r(1508)),dt=n(r(1509)),gt=n(r(1510)),ht=n(r(1511)),pt=n(r(1512)),It=n(r(1513)),Bt=n(r(1514)),Ct=n(r(1515)),mt=n(r(895))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ENUMSET_SIZE=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(85)),u=n(r(7)),l=n(r(17)),c=r(333),f=r(14),d=n(r(183)),g=n(r(52)),h=new l.default(64);t.ENUMSET_SIZE=h;var p=new l.default(239),I=new l.default(1).shln(16),B=new l.default(1).shln(32),C=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new l.default(0);return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,t.decodeAccountIndex(e)))}return(0,u.default)(t,e),(0,i.default)(t,[{key:"toBn",value:function(){return new l.default(this)}},{key:"toHex",value:function(){return(0,f.u8aToHex)(this.toU8a())}},{key:"toJSON",value:function(){return this.toString()}},{key:"toString",value:function(){var e=t.calcLength(this);return(0,c.encodeAddress)(this.toU8a().subarray(0,e))}},{key:"toU8a",value:function(e,r){return r?(0,f.bnToU8a)(this.div(h),32,!0):(0,s.default)((0,a.default)(t.prototype),"toU8a",this).call(this,e)}}],[{key:"decodeAccountIndex",value:function(e){return e instanceof t?e.toBn():e instanceof d.default||(0,f.isBn)(e)||(0,f.isNumber)(e)||(0,f.isU8a)(e)?e:(0,f.isHex)(e)?(0,f.hexToU8a)(e):t.decodeAccountIndex((0,c.decodeAddress)(e))}},{key:"calcLength",value:function(e){var t=(0,f.bnToBn)(e);return t.lte(p)?1:t.lt(I)?2:t.lt(B)?4:8}},{key:"readLength",value:function(e){var t=e[0];return 252===t?[1,2]:253===t?[1,4]:254===t?[1,8]:[0,1]}},{key:"writeLength",value:function(e){switch(e.length){case 2:return new Uint8Array([252]);case 4:return new Uint8Array([253]);case 8:return new Uint8Array([254]);default:return new Uint8Array([])}}}]),t}(g.default);t.default=C},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ACCOUNT_ID_PREFIX=void 0;var A=n(r(59)),i=n(r(4)),o=n(r(18)),a=n(r(6)),s=n(r(5)),u=n(r(7)),l=r(333),c=r(14),f=n(r(332)),d=n(r(226)),g=n(r(871)),h=new Uint8Array([255]);t.ACCOUNT_ID_PREFIX=h;var p=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array;return(0,i.default)(this,t),(0,a.default)(this,(0,s.default)(t).call(this,t.decodeAddress(e)))}return(0,u.default)(t,e),(0,o.default)(t,[{key:"toHex",value:function(){return(0,c.u8aToHex)(this.toU8a())}},{key:"toJSON",value:function(){return this.raw.toJSON()}},{key:"toString",value:function(){return this.raw.toString()}},{key:"toU8a",value:function(e){var t=this.raw.toU8a().subarray(0,this.rawLength);return e?t:(0,c.u8aConcat)(this.raw instanceof g.default?g.default.writeLength(t):h,t)}},{key:"encodedLength",get:function(){var e=this.rawLength;return e+(e>1?1:0)}},{key:"rawLength",get:function(){return this.raw instanceof g.default?g.default.calcLength(this.raw):this.raw.encodedLength}}],[{key:"decodeAddress",value:function(e){if(e instanceof d.default||e instanceof g.default)return e;if((0,c.isBn)(e)||(0,c.isNumber)(e))return new g.default(e);if(e instanceof t)return e.raw;if(Array.isArray(e))return t.decodeAddress((0,c.u8aToU8a)(e));if((0,c.isU8a)(e)){if(32===e.length)return new d.default(e);if(255===e[0])return new d.default(e.subarray(1));var r=g.default.readLength(e),n=(0,A.default)(r,2),i=n[0],o=n[1];return new g.default((0,c.u8aToBn)(e.subarray(i,i+o),!0))}if((0,c.isHex)(e))return t.decodeAddress((0,c.hexToU8a)(e));var a=(0,l.decodeAddress)(e);return 32===a.length?new d.default(a):new g.default((0,c.u8aToBn)(a,!0))}}]),t}(f.default);t.default=p},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(52)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,512))}return(0,a.default)(t,e),t}(n(r(99)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(67),l=n(r(29)),c=n(r(876)),f=n(r(100)),d=n(r(879)),g=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{header:d.default,extrinsics:c.default},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"extrinsics",get:function(){return this.get("extrinsics")}},{key:"hash",get:function(){return new f.default((0,u.blake2AsU8a)(this.toU8a(),256))}},{key:"header",get:function(){return this.get("header")}}]),t}(l.default);t.default=g},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(60)),u=n(r(877)),l=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(s.default.with(u.default));t.default=l},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(59)),i=n(r(4)),o=n(r(18)),a=n(r(6)),s=n(r(5)),u=n(r(85)),l=n(r(7)),c=r(14),f=r(67),d=n(r(125)),g=n(r(29)),h=n(r(878)),p=n(r(100)),I=n(r(334)),B=function(e){function t(e){return(0,i.default)(this,t),(0,a.default)(this,(0,s.default)(t).call(this,{signature:h.default,method:I.default},t.decodeExtrinsic(e||{})))}return(0,l.default)(t,e),(0,o.default)(t,[{key:"encodeMessage",value:function(e,t,r,n,A){return this.signature.encodeMessage(this.method,e,t,r,n,A)}},{key:"addSignature",value:function(e,t,r,n){return this.signature.addSignature(e,t,r,n),this}},{key:"sign",value:function(e,t,r,n,A){return this.signature.sign(this.method,e,t,r,n,A),this}},{key:"toHex",value:function(){return(0,c.u8aToHex)(this.toU8a())}},{key:"toJSON",value:function(){return this.toHex()}},{key:"toU8a",value:function(e){var r=(0,u.default)((0,s.default)(t.prototype),"toU8a",this).call(this);return e?r:d.default.addLengthPrefix(r)}},{key:"args",get:function(){return this.method.args}},{key:"callIndex",get:function(){return this.method.callIndex}},{key:"data",get:function(){return this.method.data}},{key:"encodedLength",get:function(){var e=this.length;return e+d.default.encodeU8a(e).length}},{key:"hash",get:function(){return new p.default((0,f.blake2AsU8a)(this.toU8a(),256))}},{key:"isSigned",get:function(){return this.signature.isSigned}},{key:"length",get:function(){return this.toU8a(!0).length}},{key:"meta",get:function(){return this.method.meta}},{key:"method",get:function(){return this.get("method")}},{key:"signature",get:function(){return this.get("signature")}}],[{key:"decodeExtrinsic",value:function(e){if((0,c.isHex)(e)){var r=(0,c.hexToU8a)(e);return t.decodeExtrinsic(r)}if((0,c.isU8a)(e)){var n=d.default.decodeU8a(e),i=(0,A.default)(n,2),o=i[0],a=i[1];return e.subarray(o,o+a.toNumber())}return e instanceof I.default?{method:e}:e}}]),t}(g.default);t.default=B},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.IMMORTAL_ERA=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(85)),u=n(r(7)),l=r(14),c=n(r(29)),f=n(r(125)),d=n(r(872)),g=n(r(476)),h=n(r(477)),p=n(r(282)),I=n(r(1436)),B=n(r(478)),C=new Uint8Array([0]);t.IMMORTAL_ERA=C;var m=new Uint8Array,y=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{signer:d.default,signature:p.default,nonce:f.default.with(h.default),era:g.default,acceleration:f.default.with(B.default)},t.decodeExtrinsicSignature(e)))}return(0,u.default)(t,e),(0,i.default)(t,[{key:"injectSignature",value:function(e,t,r,n,A){return this.set("era",n),this.set("nonce",r),this.set("acceleration",A),this.set("signer",t),this.set("signature",e),this}},{key:"addSignature",value:function(e,t,r,n){var A=arguments.length>4&&void 0!==arguments[4]?arguments[4]:C,i=new d.default(e),o=new h.default(r),a=new g.default(A),s=new B.default(n),u=new p.default(t);return this.injectSignature(u,i,o,a,s)}},{key:"sign",value:function(e,t,r,n,A){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:C,o=new d.default(t.publicKey()),a=new I.default({nonce:r,method:e,era:i,blockHash:A,acceleration:n}),s=new p.default(a.sign(t));return this.injectSignature(s,o,a.nonce,a.era,a.acceleration)}},{key:"encodeMessage",value:function(e,t,r,n,A){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:C,o=new d.default(t),a=new I.default({nonce:r,method:e,era:i,blockHash:A,acceleration:n});return this.injectMessage(o,a.nonce,a.era,a.acceleration),a.encode()}},{key:"injectMessage",value:function(e,t,r,n){return this.set("era",r),this.set("nonce",t),this.set("acceleration",n),this.set("signer",e),this}},{key:"appendSignature",value:function(e){var t=new p.default(e);return this.set("signature",t),this}},{key:"toU8a",value:function(e){return(0,l.u8aConcat)(new Uint8Array([this.version]),this.isSigned?(0,s.default)((0,a.default)(t.prototype),"toU8a",this).call(this,e):m)}},{key:"encodedLength",get:function(){return 1+(this.isSigned?(0,s.default)((0,a.default)(t.prototype),"encodedLength",this):0)}},{key:"isSigned",get:function(){return 0!==this.signature.length}},{key:"era",get:function(){return this.get("era")}},{key:"nonce",get:function(){return this.get("nonce")}},{key:"acceleration",get:function(){return this.get("acceleration")}},{key:"signature",get:function(){return this.get("signature")}},{key:"signer",get:function(){return this.get("signer")}},{key:"version",get:function(){return 1|(this.isSigned?128:0)}}],[{key:"decodeExtrinsicSignature",value:function(e){return e?(0,l.isU8a)(e)?128==(128&e[0])?e.subarray(1):{}:e:{}}}]),t}(c.default);t.default=y},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(67),l=(n(r(125)),n(r(29))),c=(n(r(101)),n(r(880))),f=n(r(100)),d=n(r(17)),g=function(e){function t(e){var r;return(0,A.default)(this,t),(r=(0,o.default)(this,(0,a.default)(t).call(this,{parentHash:f.default,stateRoot:f.default,extrinsicsRoot:f.default,digest:c.default},e)))._raw=e,r}return(0,s.default)(t,e),(0,i.default)(t,[{key:"raw",get:function(){return this._raw}},{key:"blockNumber",get:function(){return new d.default(parseInt(this._raw.number))}},{key:"digest",get:function(){return this.get("digest")}},{key:"extrinsicsRoot",get:function(){return this.get("extrinsicsRoot")}},{key:"hash",get:function(){return new f.default((0,u.blake2AsU8a)(this.toU8a(),256))}},{key:"parentHash",get:function(){return this.get("parentHash")}},{key:"stateRoot",get:function(){return this.get("stateRoot")}}]),t}(l.default);t.default=g},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DigestItem=t.Seal=t.Other=t.ChangesTrieRoot=t.AuthoritiesChange=void 0;var A=n(r(18)),i=n(r(4)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(39)),l=n(r(29)),c=n(r(80)),f=n(r(60)),d=n(r(283)),g=n(r(137)),h=n(r(100)),p=n(r(282)),I=n(r(81)),B=function(e){function t(){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).apply(this,arguments))}return(0,s.default)(t,e),t}(f.default.with(d.default));t.AuthoritiesChange=B;var C=function(e){function t(){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).apply(this,arguments))}return(0,s.default)(t,e),t}(h.default);t.ChangesTrieRoot=C;var m=function(e){function t(){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).apply(this,arguments))}return(0,s.default)(t,e),t}(g.default);t.Other=m;var y=function(e){function t(e){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,[I.default,p.default],e))}return(0,s.default)(t,e),(0,A.default)(t,[{key:"signature",get:function(){return this[1]}},{key:"slot",get:function(){return this[0]}}]),t}(c.default);t.Seal=y;var Q=function(e){function t(e){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{Other:m,AuthoritiesChange:B,ChangesTrieRoot:C,Seal:y},e))}return(0,s.default)(t,e),t}(u.default);t.DigestItem=Q;var w=function(e){function t(e){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{},e))}return(0,s.default)(t,e),(0,A.default)(t,[{key:"logs",get:function(){return this.get("logs")}}]),t}(l.default);t.default=w},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(124)),l=r(14),c=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,t.decodeBool(e)))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"toHex",value:function(){return(0,l.u8aToHex)(this.toU8a())}},{key:"toJSON",value:function(){return this.valueOf()}},{key:"toString",value:function(){return"".concat(this.toJSON())}},{key:"toU8a",value:function(e){return new Uint8Array([this.valueOf()?1:0])}},{key:"encodedLength",get:function(){return 1}}],[{key:"decodeBool",value:function(e){return e instanceof t||e instanceof Boolean?e.valueOf():(0,l.isU8a)(e)?1===e[0]:!!e}}]),t}((0,u.default)(Boolean));t.default=c},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.EventId=t.EventData=t.EventIndex=void 0;var A=n(r(18)),i=n(r(4)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(14),l=n(r(29)),c=n(r(80)),f=n(r(99)),d=r(157),g=n(r(158)),h=n(r(52)),p={},I=function(e){function t(){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).apply(this,arguments))}return(0,s.default)(t,e),t}(h.default);t.EventIndex=I;var B=function(e){function t(e,r,n,A,s,u){var l;return(0,i.default)(this,t),(l=(0,o.default)(this,(0,a.default)(t).call(this,e,r)))._meta=A,l._method=u,l._section=s,l._typeDef=n,l}return(0,s.default)(t,e),(0,A.default)(t,[{key:"meta",get:function(){return this._meta}},{key:"method",get:function(){return this._method}},{key:"section",get:function(){return this._section}},{key:"typeDef",get:function(){return this._typeDef}}]),t}(c.default);t.EventData=B;var C=function(e){function t(e){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,e,16))}return(0,s.default)(t,e),t}(f.default);t.EventId=C;var m=function(e){function t(e){(0,i.default)(this,t);var r=t.decodeEvent(e),n=r.DataType,A=r.value;return(0,o.default)(this,(0,a.default)(t).call(this,{index:C,data:n},A))}return(0,s.default)(t,e),(0,A.default)(t,[{key:"data",get:function(){return this.get("data")}},{key:"index",get:function(){return this.get("index")}},{key:"meta",get:function(){return this.data.meta}},{key:"method",get:function(){return this.data.method}},{key:"section",get:function(){return this.data.section}},{key:"typeDef",get:function(){return this.data.typeDef}}],[{key:"decodeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array;if(!e.length)return{DataType:g.default};var t=e.subarray(0,2),r=p[t.toString()];return(0,u.assert)(!(0,u.isUndefined)(r),"Unable to decode event for index ".concat((0,u.u8aToHex)(t))),{DataType:r,value:{index:t,data:e.subarray(2)}}}},{key:"injectMetadata",value:function(e){e.asV5.modules.filter(function(e){return e.events.isSome}).forEach(function(e,t){var r=(0,u.stringCamelCase)(e.name.toString());e.events.unwrap().forEach(function(e,n){var A=e.name.toString(),u=new Uint8Array([t,n]),l=e.args.map(function(e){return(0,d.getTypeDef)(e)}),c=l.map(d.getTypeClass);p[u.toString()]=function(t){function n(t){return(0,i.default)(this,n),(0,o.default)(this,(0,a.default)(n).call(this,c,t,l,e,r,A))}return(0,s.default)(n,t),n}(B)})})}}]),t}(l.default);t.default=m},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.KeyValueOption=t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(182)),l=n(r(29)),c=n(r(80)),f=n(r(473)),d=n(r(884)),g=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{key:d.default,value:f.default},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"key",get:function(){return this.get("key")}},{key:"value",get:function(){return this.get("value")}}]),t}(l.default);t.default=g;var h=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,[d.default,u.default.with(f.default)],e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"key",get:function(){return this[0]}},{key:"value",get:function(){return this[1]}}]),t}(c.default);t.KeyValueOption=h},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(59)),i=n(r(89)),o=n(r(1448)),a=n(r(4)),s=n(r(18)),u=n(r(6)),l=n(r(5)),c=n(r(7)),f=r(14),d=function(e){function t(e){var r;(0,a.default)(this,t);var n=t.decodeStorageKey(e),A=n.key,i=n.method,o=n.section;return(r=(0,u.default)(this,(0,l.default)(t).call(this,A)))._meta=t.getMeta(e),r._method=i,r._outputType=t.getType(e),r._section=o,r}return(0,c.default)(t,e),(0,s.default)(t,[{key:"meta",get:function(){return this._meta}},{key:"method",get:function(){return this._method}},{key:"outputType",get:function(){return this._outputType}},{key:"section",get:function(){return this._section}}],[{key:"decodeStorageKey",value:function(e){if(e instanceof t)return{key:e,method:e.method,section:e.section};if(!e||(0,f.isString)(e)||(0,f.isU8a)(e))return{key:e};if((0,f.isFunction)(e))return{key:e(),method:e.method,section:e.section};if(Array.isArray(e)){var r=(0,o.default)(e),n=r[0],A=r.slice(1);return(0,f.assert)((0,f.isFunction)(n),"Expected function input for key construction"),{key:n.apply(void 0,(0,i.default)(A)),method:n.method,section:n.section}}throw new Error("Unable to convert input ".concat(e," to StorageKey"))}},{key:"getMeta",value:function(e){return e instanceof t?e.meta:(0,f.isFunction)(e)?e.meta:Array.isArray(e)?(0,A.default)(e,1)[0].meta:void 0}},{key:"getType",value:function(e){return e instanceof t?e.outputType:(0,f.isFunction)(e)?e.meta.type.toString():Array.isArray(e)?(0,A.default)(e,1)[0].meta.type.toString():void 0}}]),t}(n(r(137)).default);t.default=d},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.BftHashSignature=t.BftAuthoritySignature=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(80)),l=n(r(283)),c=n(r(100)),f=n(r(282)),d=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,[l.default,f.default],e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"authorityId",get:function(){return this[0]}},{key:"signature",get:function(){return this[1]}}]),t}(u.default);t.BftAuthoritySignature=d;var g=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,[c.default,f.default],e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"hash",get:function(){return this[0]}},{key:"signature",get:function(){return this[1]}}]),t}(u.default);t.BftHashSignature=g},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.RhdJustification=t.default=void 0;var A=n(r(18)),i=n(r(4)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(14),l=n(r(29)),c=n(r(60)),f=r(885),d=n(r(137)),g=n(r(100)),h=n(r(52)),p=function(e){function t(e){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,Array.isArray(e)?(0,u.u8aToHex)(e):e))}return(0,s.default)(t,e),t}(d.default);t.default=p;var I=function(e){function t(e){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{roundNumber:h.default,hash:g.default,signatures:c.default.with(f.BftAuthoritySignature)},e,new Map([["roundNumber","round_number"]])))}return(0,s.default)(t,e),(0,A.default)(t,[{key:"hash",get:function(){return this.get("hash")}},{key:"roundNumber",get:function(){return this.get("roundNumber")}},{key:"signatures",get:function(){return this.get("signatures")}}]),t}(l.default);t.RhdJustification=I},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["Super majority approval","Super majority rejection","Simple majority"],e))}return(0,a.default)(t,e),t}(n(r(39)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,16,!1))}return(0,a.default)(t,e),t}(n(r(183)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,["ChainX","Bitcoin","Ethereum","Polkadot"],e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"toJSON",value:function(){return Object.keys(this._def)[this._index]}}]),t}(n(r(39)).default);t.default=u},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,264))}return(0,a.default)(t,e),t}(n(r(99)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,520))}return(0,a.default)(t,e),t}(n(r(99)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(99)),u=n(r(29)),l=n(r(39)),c=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["P2PKH","P2SH"],e))}return(0,a.default)(t,e),t}(l.default),f=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["Mainnet","Testnet"],e))}return(0,a.default)(t,e),t}(l.default),d=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,160))}return(0,a.default)(t,e),t}(s.default),g=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{kind:c,network:f,hash:d},e))}return(0,a.default)(t,e),t}(u.default);t.default=g},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(888)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(127)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"StorageFunctionType",{enumerable:!0,get:function(){return i.StorageFunctionType}}),Object.defineProperty(t,"StorageFunctionMetadata",{enumerable:!0,get:function(){return i.StorageFunctionMetadata}}),t.default=void 0;var A=n(r(1516)),i=r(484),o=A.default;t.default=o},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MAGIC_NUMBER=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=r(14),u=n(r(52)),l=new u.default(1635018093);t.MAGIC_NUMBER=l;var c=function(e){function t(e){var r;return(0,A.default)(this,t),r=(0,i.default)(this,(0,o.default)(t).call(this,e)),(0,s.assert)(r.eq(l),"MagicNumber mismatch: expected ".concat(l.toHex(),", found ").concat(r.toHex())),r}return(0,a.default)(t,e),t}(u.default);t.default=c},function(e,t,r){"use strict";var n=r(135);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ModuleMetadataV2",{enumerable:!0,get:function(){return A.ModuleMetadataV2}}),t.default=void 0;var A=n(r(1518)),i=A.default;t.default=i},function(e,t,r){"use strict";var n=r(135);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ModuleMetadataV3",{enumerable:!0,get:function(){return A.ModuleMetadataV3}}),t.default=void 0;var A=n(r(1520)),i=A.default;t.default=i},function(e,t,r){"use strict";var n=r(135);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ModuleMetadataV4",{enumerable:!0,get:function(){return A.ModuleMetadataV4}}),t.default=void 0;var A=n(r(900)),i=A.default;t.default=i},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ModuleMetadataV4=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(182)),l=n(r(29)),c=n(r(60)),f=r(901),d=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{name:"Text",prefix:"Text",storage:u.default.with(c.default.with(f.StorageFunctionMetadata)),calls:u.default.with("Vec<FunctionMetadataV4>"),events:u.default.with("Vec<EventMetadataV4>")},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"calls",get:function(){return this.get("calls")}},{key:"events",get:function(){return this.get("events")}},{key:"name",get:function(){return this.get("name")}},{key:"prefix",get:function(){return this.get("prefix")}},{key:"storage",get:function(){return this.get("storage")}}]),t}(l.default);t.ModuleMetadataV4=d;var g=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{modules:c.default.with(d)},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"modules",get:function(){return this.get("modules")}}]),t}(l.default);t.default=g},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.StorageFunctionMetadata=t.StorageFunctionType=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(14),l=n(r(39)),c=n(r(29)),f=function(e){function t(e,r){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{Type:"PlainTypeV4",Map:"MapTypeV4",DoubleMap:"DoubleMapTypeV4"},e,r))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"toString",value:function(){return this.isDoubleMap?"DoubleMap<".concat(this.asDoubleMap.value.toString(),">"):this.isMap?this.asMap.linked.isTrue?"(".concat(this.asMap.value.toString(),", Linkage<").concat(this.asMap.key.toString(),">)"):this.asMap.value.toString():this.asType.toString()}},{key:"asDoubleMap",get:function(){return(0,u.assert)(this.isDoubleMap,"Cannot convert '".concat(this.type,"' via asDoubleMap")),this.value}},{key:"asMap",get:function(){return(0,u.assert)(this.isMap,"Cannot convert '".concat(this.type,"' via asMap")),this.value}},{key:"asType",get:function(){return(0,u.assert)(this.isPlainType,"Cannot convert '".concat(this.type,"' via asType")),this.value}},{key:"isDoubleMap",get:function(){return 2===this.toNumber()}},{key:"isMap",get:function(){return 1===this.toNumber()}},{key:"isPlainType",get:function(){return 0===this.toNumber()}}]),t}(l.default);t.StorageFunctionType=f;var d=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{name:"Text",modifier:"StorageFunctionModifierV4",type:f,fallback:"Bytes",documentation:"Vec<Text>"},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"fallback",get:function(){return this.get("fallback")}},{key:"documentation",get:function(){return this.get("documentation")}},{key:"name",get:function(){return this.get("name")}},{key:"modifier",get:function(){return this.get("modifier")}},{key:"type",get:function(){return this.get("type")}}]),t}(c.default);t.StorageFunctionMetadata=d},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ModuleMetadataV5=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(182)),l=n(r(29)),c=n(r(60)),f=r(484),d=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{name:"Text",prefix:"Text",storage:u.default.with(c.default.with(f.StorageFunctionMetadata)),calls:u.default.with("Vec<FunctionMetadataV5>"),events:u.default.with("Vec<EventMetadataV5>")},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"calls",get:function(){return this.get("calls")}},{key:"events",get:function(){return this.get("events")}},{key:"name",get:function(){return this.get("name")}},{key:"prefix",get:function(){return this.get("prefix")}},{key:"storage",get:function(){return this.get("storage")}}]),t}(l.default);t.ModuleMetadataV5=d;var g=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{modules:c.default.with(d)},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"modules",get:function(){return this.get("modules")}}]),t}(l.default);t.default=g},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=(0,a.getTypeRegistry)(),n=(0,o.default)(function e(t){return t.map(function(t){var r=(0,i.getTypeDef)(t);switch(r.info){case A.TypeDefInfo.Plain:return r.type;case A.TypeDefInfo.Compact:case A.TypeDefInfo.Option:case A.TypeDefInfo.Vec:return e([r.sub.type]);case A.TypeDefInfo.VecFixed:return e([r.ext.type]);case A.TypeDefInfo.Result:case A.TypeDefInfo.Tuple:return e(r.sub.map(function(e){return e.type}));default:throw new Error("Unhandled: Unable to create and validate type from ".concat(t))}})}(e)).filter(function(e){return!r.hasType(e)});if(0!==n.length){var s="Unknown types found, no types for ".concat(n);if(t)throw new Error(s);console.warn(s)}};var A=r(861),i=r(224),o=n(r(485)),a=r(157)},function(e,t,r){"use strict";var n=r(135);Object.defineProperty(t,"__esModule",{value:!0}),t.storage=void 0;var A={substrate:n(r(1532))};t.storage=A},function(e,t,r){e.exports=r(895)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=n.key?n.key:"".concat(e.toString()," ").concat(t.toString()),u=(0,o.stringToU8a)(s),l=r.type.isMap?(0,a.default)(r.type.asMap.hasher):(0,a.default)(),c=function(e){var t=u;if(r.type.isMap){(0,o.assert)(!(0,o.isUndefined)(e)&&!(0,o.isNull)(e),"".concat(r.name," expects one argument"));var i=r.type.asMap.key.toString(),a=(0,A.createType)(i,e).toU8a();t=(0,o.u8aConcat)(t,a)}return A.Compact.addLengthPrefix(n.skipHashing?t:l(t))};if(r.type.isMap&&r.type.asMap.isLinked){var f=new A.U8a(l("head of ".concat(s))),d=function(){return f};d.meta=new i.StorageFunctionMetadata({name:r.name,modifier:(0,A.createType)("StorageEntryModifierLatest",1),type:new i.StorageFunctionMetadata((0,A.createType)("PlainTypeLatest",type.asMap.key),0),fallback:(0,A.createType)("Bytes",createTypeUnsafe(type.asMap.key.toString()).toHex()),documentation:r.documentation}),c.headKey=new A.StorageKey(d)}return c.meta=r,c.method=(0,o.stringLowerFirst)(t.toString()),c.section=(0,o.stringLowerFirst)(e.toString()),c.toJSON=function(){return r.toJSON()},c};var A=r(225),i=r(905),o=r(14),a=n(r(1533))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(66)),i=n(r(221)),o=n(r(179)),a=n(r(180)),s=n(r(4)),u=n(r(18)),l=n(r(6)),c=n(r(5)),f=n(r(85)),d=n(r(7)),g=r(225),h=n(r(146)),p=r(850);function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var B=new Uint8Array([0]),C=function(e){function t(e,r,n){var A;return(0,s.default)(this,t),(A=(0,l.default)(this,(0,c.default)(t).call(this,r)))._api=e,A._broadcasts=n,A}var r;return(0,d.default)(t,e),(0,u.default)(t,[{key:"checkStatus",value:function(e){var t=this;return function(){var r=(0,a.default)(o.default.mark(function r(n,A){var i,a,s,u,l,c,f,d;return o.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!n){r.next=2;break}return r.abrupt("return",e(n));case 2:if(r.prev=2,i=null,a=null,s=null,u=null,l=null,"Broadcast"===A.type&&(l=A.value&&A.value.toJSON()),"Finalized"!==A.type){r.next=20;break}return u=A.value,r.next=13,t._api.rpc.chain.getBlock(u);case 13:return c=r.sent,f=c.block.extrinsics,r.next=17,t._api.query.system.events.at(u);case 17:d=r.sent,-1!==(s=f.map(function(e){return e.hash.toHex()}).indexOf(t.hash.toHex()))&&(i=d.filter(function(e){var t=e.phase;return"ApplyExtrinsic"===t.type&&t.value.eqn(s)}),a=i.length?i[i.length-1].event.data.method:"");case 20:e(null,{result:a,index:s,events:i&&i.map(function(e){var t=e.toJSON();return t.method=e.event.data.method,t}),txHash:t.hash.toHex(),blockHash:u&&u.toJSON(),broadcast:l,status:A.type}),r.next=26;break;case 23:r.prev=23,r.t0=r.catch(2),e(r.t0);case 26:case"end":return r.stop()}},r,null,[[2,23]])}));return function(e,t){return r.apply(this,arguments)}}()}},{key:"getFee",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.nonce,A=r.acceleration,i=void 0===A?1:A,o=r.blockHash,a=void 0===o?this._api.genesisHash:o;return(n?Promise.resolve(n):this.getNonce(e)).then(function(e){var r=new g.Extrinsic({method:t.method.toHex()});r.sign(h.default.from(" "),e,i,a);try{return t.getFeeSync({nonce:e.toNumber()})}catch(e){return t._api.rpc.chainx.getFeeByCallAndLength(t.method.toHex(),r.toU8a().length)}}).then(function(e){return i*e})}},{key:"getFeeSync",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.nonce,n=void 0===r?1:r,A=t.acceleration,i=void 0===A?1:A,o=t.blockHash,a=void 0===o?this._api.genesisHash:o;if(!this._api.feeWeight)throw new Error("need fee map");var s=Object.keys(this._api.feeWeight.feeWeight).reduce(function(t,r){var n=r.toLowerCase().replace(/[\W_]/g,"");return t[n]=e._api.feeWeight.feeWeight[r],n.includes("xassetsprocess")&&(t[n.replace("xassetsprocess","withdrawal")]=e._api.feeWeight.feeWeight[r]),t},{}),u=this._api.feeWeight.transactionBaseFee,l=this._api.feeWeight.transactionByteFee,c=this.method.toJSON().methodName.toLowerCase().replace(/[\W_]/g,""),f=s[c],d=new g.Extrinsic({method:this.method.toHex()});return d.sign(h.default.from(" "),n,i,a),(u*f+l*d.toU8a().length)*i}},{key:"getNonce",value:function(e){return this._api.query.system.accountNonce(e)}},{key:"signAndSend",value:function(e,t,r){var n,o=this,a={};return"function"==typeof t?r=t:a=t||{},n="object"===(0,i.default)(e)&&"function"==typeof e.sign?e:h.default.from(e),(a.nonce?Promise.resolve(a.nonce):this.getNonce(n.publicKey())).then(function(e){return o.sign(n,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?I(r,!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},a,{nonce:e})).send(r)}).catch(r)}},{key:"send",value:(r=(0,a.default)(o.default.mark(function e(t){var r;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t&&this._api.hasSubscriptions?(r=this._api.rpc.author.submitAndWatchExtrinsic(this,this.checkStatus(t)),this.submitBroadcast()):(r=this._api.rpc.author.submitExtrinsic(this),this.submitBroadcast()),e.next=3,r;case 3:return e.abrupt("return",this.hash.toHex());case 4:case"end":return e.stop()}},e,this)})),function(e){return r.apply(this,arguments)})},{key:"submitBroadcast",value:function(){var e,t=this;try{if(!this._broadcasts.length)return;var r=function(e){var r=new p.WsProvider(e);return r.send("author_submitExtrinsic",[t.toHex()],function(e){r.disconnect()})},n=!0,A=!1,i=void 0;try{for(var o,a=this._broadcasts[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;/^(http:\/\/|https:\/\/)/.test(s)?(e=s,new p.HttpProvider(e).send("author_submitExtrinsic",[t.toHex()])):r(s)}}catch(e){A=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(A)throw i}}}catch(e){}}},{key:"sign",value:function(e){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},A=n.nonce,o=n.acceleration,a=void 0===o?1:o,s=n.blockHash,u=void 0===s?this._api.genesisHash:s;n.era;return r="object"===(0,i.default)(e)&&"function"==typeof e.sign?e:h.default.from(e),(0,f.default)((0,c.default)(t.prototype),"sign",this).call(this,r,A,a,u),this}},{key:"encodeMessage",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.nonce,A=r.acceleration,i=void 0===A?1:A,o=r.blockHash,a=void 0===o?this._api.genesisHash:o,s=r.era,u=void 0===s?B:s;return(0,f.default)((0,c.default)(t.prototype),"encodeMessage",this).call(this,e,n,i,a,u)}},{key:"appendSignature",value:function(e){return this.signature.appendSignature(e),this}}]),t}(g.Extrinsic);t.default=C},function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"default",function(){return C});var n=r(37),A=r(3),i=r(304),o=r.n(i),a=r(47),s=r.n(a),u=r(9),l=r(88),c=r(44),f=r(23),d=r(10),g=r(94),h=r(24),p=r(19);const I=r(338),B="m/44'/194'/0'/0/0";class C extends n.a{constructor(){super(A.c.CODEX,A.a.CODEX)}config(e){return{dappStoreTag:e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:A.b.CODEX}}async getChainId(e){return o()({httpEndpoint:e.nodeAddress}).getInfo({}).then(e=>e.chain_id||"").catch(()=>"")}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!0}randomKeypair(e,t={}){return new Promise((e,t)=>{const r=p.a.randomMnemonic();if(!r)return void t();const n=p.a.mnemonicToSeedByDerive(r,B);e({mnemonic:r,privateKey:s.a.PrivateKey.fromBuffer(n).toWif()})})}mnemonicToPrivateKey(e,t,r={}){const n=p.a.mnemonicToSeedByDerive(e,B);return{privateKey:s.a.PrivateKey.fromBuffer(n).toWif()}}privateToPublic(e,t,r={}){return s.a.privateToPublic(e,"CDX")}validMnemonic(e){return p.a.validateMnemonic(e)}validPrivateKey(e){return e.length>=50&&s.a.isValidPrivate(e)}validPublicKey(e){return s.a.isValidPublic(e,"CDX")}getAccount(e,t){return o()({httpEndpoint:t.nodeAddress}).getAccount(e)}getKeyAccounts(e,t){return o()({httpEndpoint:t.nodeAddress}).getKeyAccounts(e)}signer(t,r,n,A,i=!1,o=!1){r.decryptPrivateKey(({privateKey:t})=>{if(!t)return A(u.a.signatureRejected()),!1;let r;r=i&&o?s.a.Signature.signHash(n.data,t).toString():s.a.sign(e.from(i?n.data:n.buf.data,"utf8"),t),A(r)},t)}signatureProvider(...t){const r=t[0],n=t[1];return(...t)=>(async function({sign:t,buf:A,transaction:i}){let a=JSON.parse(JSON.stringify(i.actions));await Promise.all(a.map(async t=>{let r,A,i=(await o()({httpEndpoint:n.nodeAddress}).contract(t.account)).fc.structs;try{r=e.from(t.data,"hex"),A=I.fromBuffer(i[t.name],r)}catch(e){throw e}return t.data=A,t}));const s=await r(c.h,{domain:Object(l.a)(),network:n,buf:A,transaction:i,messages:a});if(s.hasOwnProperty("isError"))throw s;return[s]})}requestSelectedIdentity(e,t,r,n){r.keychain.accounts.find(e=>e.networkUnique===t.unique()&&e.selected)?n({network:t,account:response.account}):n(u.a.identityRejected())}requestIdentity(e,t,r,n,A){const i=n.find(r=>e===r.domain&&t.unique()===r.account.networkUnique);i?A({network:t,account:i.account,whitelistChecked:!1,whitelist:{}}):f.a.open(new d.b(d.a.REQUEST_IDENTITY,e,t,{},r=>{!r||r.hasOwnProperty("isError")?A(u.a.identityRejected()):A({network:t,account:r.account,whitelistChecked:!0,whitelist:{domain:e,account:r.account}})}))}requestSignature(e,t,r,n,A,i,o,a){const s=i.messages;if(!g.a.flatten(s.map(e=>e.authorization.map(e=>`${e.actor}@${e.permission}`))).includes(n.formatted()))return void a(u.a.signatureRejected());const l={signerAccountUnique:n.unique(),domain:t,whitelistObject:[]};s.forEach(e=>{l.whitelistObject.push({code:e.code,authorization:e.authorization,type:e.type})}),o.find(e=>g.a.deepEqual(e,l))?h.a.plugin(r.blockchain).signer(A,e,i,e=>{a({signature:e,whitelistChecked:!1,whitelist:{}})},!1,!1):f.a.open(new d.b(d.a.REQUEST_SIGNATURE,t,r,{messages:s,signerAccount:n,showWhiteListCheck:!0},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return a(u.a.signatureRejected()),!1;const n=!!t.hasOwnProperty("whitelistChecked")&&t.whitelistChecked;h.a.plugin(r.blockchain).signer(A,e,i,e=>{a({signature:e,whitelistChecked:n,whitelist:l})},!1,!1)}))}requestArbitrarySignatrue(e,t,r,n,A,i,o){f.a.open(new d.b(d.a.REQUEST_ARBITRARY_SIGNATURE,t,r,{signerAccount:n,message:{whatfor:i.whatfor,data:i.data}},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return o(u.a.signatureRejected()),!1;h.a.plugin(r.blockchain).signer(A,e,i,o,!0,i.isHash)}))}}}.call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){var n=r(62),A=r(109),i=r(196),o=r(36),a=r(285),s=r(337),u=r(202),l=A.Long;function c(e,r,n,l,c){if(!(e=s(e)))throw new TypeError("private_key is required");if(!(r=a(r)))throw new TypeError("public_key is required");if(!(n=d(n)))throw new TypeError("nonce is required");if(!t.isBuffer(l)){if("string"!=typeof l)throw new TypeError("message should be buffer or string");l=new t(l,"binary")}if(c&&"number"!=typeof c)throw new TypeError("checksum should be a number");var f=e.getSharedSecret(r),h=new A(A.DEFAULT_CAPACITY,A.LITTLE_ENDIAN);h.writeUint64(n),h.append(f.toString("binary"),"binary"),h=new t(h.copy(0,h.offset).toBinary(),"binary");var p=u.sha512(h),I=p.slice(32,48),B=p.slice(0,32),C=u.sha256(p);C=C.slice(0,4);var m=A.fromBinary(C.toString("binary"),A.DEFAULT_CAPACITY,A.LITTLE_ENDIAN);if(C=m.readUint32(),c){if(C!==c)throw new Error("Invalid key");l=function(e,r,n){o(e,"Missing cipher text"),e=g(e);var A=i.createDecipheriv("aes-256-cbc",r,n);return e=t.concat([A.update(e),A.final()])}(l,B,I)}else l=function(e,r,n){o(e,"Missing plain text"),e=g(e);var A=i.createCipheriv("aes-256-cbc",r,n);return e=t.concat([A.update(e),A.final()])}(l,B,I);return{nonce:n,message:l,checksum:C}}e.exports={encrypt:function(e,t,r){var A=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){if(null===f){var e=new Uint8Array(n(2));f=parseInt(e[0]<<8|e[1],10)}var t=l.fromNumber(Date.now()),r=++f%65535;return(t=t.shiftLeft(16).or(l.fromNumber(r))).toString()}();return c(e,t,A,r)},decrypt:function(e,t,r,n,A){return c(e,t,r,n,A).message}};var f=null,d=function(e){return e?l.isLong(e)?e:l.fromString(e):e},g=function(e){return e?t.isBuffer(e)?e:new t(e,"binary"):e}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,A=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){A=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(A)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(1546),o=r(202),a=r(198).getCurveByName("secp256k1"),s=r(36),u=r(98),l=r(286),c=r(285),f=r(337);function d(e,r,n){function A(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf8";return"string"==typeof e&&(e=t.from(e,n)),s(t.isBuffer(e),"data is a required String or Buffer"),f(e=o.sha256(e),r)}function f(n,A){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"hex";if("string"==typeof n&&(n=t.from(n,o)),32!==n.length||!t.isBuffer(n))throw new Error("dataSha256: 32 bytes required");var u=c(A);return s(u,"pubkey required"),i.verify(a,n,{r:e,s:r},u.Q)}function d(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utf8";return"string"==typeof e&&(e=t.from(e,r)),s(t.isBuffer(e),"data is a required String or Buffer"),g(e=o.sha256(e))}function g(A){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hex";if("string"==typeof A&&(A=t.from(A,o)),32!==A.length||!t.isBuffer(A))throw new Error("dataSha256: 32 byte String or buffer requred");var s=u.fromBuffer(A),l=n;l-=27,l&=3;var f=i.recoverPubKey(a,s,{r:e,s:r,i:n},l);return c.fromPoint(f)}function h(){var A;return(A=new t(65)).writeUInt8(n,0),e.toBuffer(32).copy(A,1),r.toBuffer(32).copy(A,33),A}s.equal(null!=e,!0,"Missing parameter"),s.equal(null!=r,!0,"Missing parameter"),s.equal(null!=n,!0,"Missing parameter");var p=void 0;return{r:e,s:r,i:n,toBuffer:h,verify:A,verifyHash:f,verifyHex:function(e,r){return console.log('Deprecated: use verify(data, pubkey, "hex")'),A(t.from(e,"hex"),r)},recover:d,recoverHash:g,toHex:function(){return h().toString("hex")},toString:function(){return p||(p="SIG_K1_"+l.checkEncode(h(),"K1"))},verifyBuffer:function(){return console.log("Deprecated: use signature.verify instead (same arguments)"),A.apply(void 0,arguments)},recoverPublicKey:function(){return console.log("Deprecated: use signature.recover instead (same arguments)"),d.apply(void 0,arguments)},recoverPublicKeyFromBuffer:function(){return console.log("Deprecated: use signature.recoverHash instead (same arguments)"),g.apply(void 0,arguments)}}}e.exports=d,d.sign=function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf8";return"string"==typeof e&&(e=t.from(e,n)),s(t.isBuffer(e),"data is a required String or Buffer"),e=o.sha256(e),d.signHash(e,r)},d.signHash=function(e,r){var n,A,o,l,c,g,h,p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"hex";if("string"==typeof e&&(e=t.from(e,p)),32!==e.length||!t.isBuffer(e))throw new Error("dataSha256: 32 byte buffer requred");for(r=f(r),s(r,"privateKey required"),l=null,h=0,A=u.fromBuffer(e);;){if(g=(n=(o=i.sign(a,e,r.d,h++)).toDER())[5+(c=n[3])],32===c&&32===g){l=i.calcPubKeyRecoveryParam(a,A,o,r.toPublic().Q),l+=4,l+=27;break}h%10==0&&console.log("WARN: "+h+" attempts to find canonical signature")}return d(o.r,o.s,l)},d.fromBuffer=function(e){var r;return s(t.isBuffer(e),"Buffer is required"),s.equal(e.length,65,"Invalid signature length"),r=e.readUInt8(0),s.equal(r-27,r-27&7,"Invalid signature parameter"),d(u.fromBuffer(e.slice(1,33)),u.fromBuffer(e.slice(33)),r)},d.fromHex=function(e){return d.fromBuffer(t.from(e,"hex"))},d.fromString=function(e){try{return d.fromStringOrThrow(e)}catch(e){return null}},d.fromStringOrThrow=function(e){s(void 0===e?"undefined":A(e),"string","signature");var t=e.match(/^SIG_([A-Za-z0-9]+)_([A-Za-z0-9]+)$/);s(null!=t&&3===t.length,"Expecting signature like: SIG_K1_base58signature..");var r=n(t,3),i=r[1],o=r[2];return s.equal(i,"K1","K1 signature expected"),d.fromBuffer(l.checkDecode(o,i))},d.from=function(e){var r=e?e.r&&e.s&&e.i?e:"string"==typeof e&&130===e.length?d.fromHex(e):"string"==typeof e&&130!==e.length?d.fromStringOrThrow(e):t.isBuffer(e)?d.fromBuffer(e):null:e;if(!r)throw new TypeError("signature should be a hex string or buffer");return r}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){function r(e){var t=e.toString().match(/function (.*?)\(/);return t?t[1]:null}e.exports=function(e,n){switch(e){case"Array":if(Array.isArray(n))return;break;case"Boolean":if("boolean"==typeof n)return;break;case"Buffer":if(t.isBuffer(n))return;break;case"Number":if("number"==typeof n)return;break;case"String":if("string"==typeof n)return;break;default:if(r(n.constructor)===r(e))return}throw new TypeError("Expected "+(r(e)||e)+", got "+n)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){var r,n,A,i,o,a,s,u,l,c,f,d,g=!1;function h(e,t,r){var n=e[t++],A=e[t++],i=e[t++],o=e[t];return"bige"===r?256*(256*(256*n+A)+i)+o:256*(256*(256*o+i)+A)+n}function p(e,t,r,n){var A=t>>>24&255,i=t>>16&255,o=t>>8&255,a=255&t;"bige"===n?(e[r++]=A,e[r++]=i,e[r++]=o,e[r]=a):(e[r++]=a,e[r++]=o,e[r++]=i,e[r]=A)}function I(e,t,r,n,A){"bige"===A?(p(e,t,n,A),p(e,r,n+4,A)):(p(e,r,n,A),p(e,t,n+4,A))}"function"==typeof Float32Array&&(l=new Float32Array(1),c=new Uint8Array(l.buffer),l[0]=-1,g=0===c[3],r=function(e,t){return(t=t||0)<0||t+4>e.length?0:(c[0]=e[t++],c[1]=e[t++],c[2]=e[t++],c[3]=e[t],l[0])},A=function(e,t){return(t=t||0)<0||t+4>e.length?0:(c[3]=e[t++],c[2]=e[t++],c[1]=e[t++],c[0]=e[t],l[0])},n=function(e,t,r){r=r||0,l[0]=t,e[r++]=c[0],e[r++]=c[1],e[r++]=c[2],e[r]=c[3]},i=function(e,t,r){r=r||0,l[0]=t,e[r++]=c[3],e[r++]=c[2],e[r++]=c[1],e[r]=c[0]}),"function"==typeof Float64Array&&(f=new Float64Array(1),d=new Uint8Array(f.buffer),o=function(e,t){return(t=t||0)<0||t+8>e.length?0:(d[0]=e[t+0],d[1]=e[t+1],d[2]=e[t+2],d[3]=e[t+3],d[4]=e[t+4],d[5]=e[t+5],d[6]=e[t+6],d[7]=e[t+7],f[0])},s=function(e,t){return(t=t||0)<0||t+8>e.length?0:(d[7]=e[t+0],d[6]=e[t+1],d[5]=e[t+2],d[4]=e[t+3],d[3]=e[t+4],d[2]=e[t+5],d[1]=e[t+6],d[0]=e[t+7],f[0])},a=function(e,t,r){r=r||0,f[0]=t,e[r+0]=d[0],e[r+1]=d[1],e[r+2]=d[2],e[r+3]=d[3],e[r+4]=d[4],e[r+5]=d[5],e[r+6]=d[6],e[r+7]=d[7]},u=function(e,t,r){r=r||0,f[0]=t,e[r+0]=d[7],e[r+1]=d[6],e[r+2]=d[5],e[r+3]=d[4],e[r+4]=d[3],e[r+5]=d[2],e[r+6]=d[1],e[r+7]=d[0]});for(var B=new Array,C=0;C<1200;C++)B[C]=Math.pow(2,C);var m=new Array;for(C=0;C<1200;C++)m[C]=Math.pow(2,-C);function y(e){return e>=0?B[e]:m[-e]}var Q=4294967296,w=2220446049250313e-31;y(-1023);function E(e,t,r){var n,A,i=h(e,t,r),o=h(e,t+4,r);"bige"===r?(n=i,A=o):(n=o,A=i);var a=(1048575&n)*Q+A,s=(2146435072&n)>>>20;return(n>>31||1)*(0===s?a?a*y(-1074):0:s<2047?a>=0?(1+a*w)*y(s-1023):0:a?NaN:1/0)}var b=Math.pow(2,-23),v=Math.pow(2,-127);function D(e,t,r){var n=h(e,t,r),A=8388607&n,i=(2139095040&n)>>>23;return(n>>31||1)*(0===i?A?A*b*2*v:0:i<255?(1+A*b)*y(i-127):A?NaN:1/0)}var M={exp:0,mant:0};function k(e){var t=0;return e>=2?(e*=y(-(t=S(1,e))))>=2&&(e/=2,t+=1):e<1&&((t=S(e,2))<=1023?e*=y(t):(e*=y(t-100),e*=y(100)),t=-t),M.exp=t,M.mant=e,M}var _=Math.pow(2,192);function S(e,t){for(var r=0;e*_<t;)e*=_,r+=192;for(;0x10000000000000000*e<t;)e*=0x10000000000000000,r+=64;for(;65536*e<t;)e*=65536,r+=16;for(;64*e<t;)e*=64,r+=6;for(;2*e<t;)e*=2,r+=1;return r}function N(e,t){return(e*=t)-Math.floor(e)!=.5||1&e?e+.5:e}function F(e,t,r,n){var A,i=0;t<0&&(i=2147483648,t=-t),t&&t<1/0?((A=k(t)).exp+=127,A.exp<=0?A.exp<=-25?(A.mant=0,A.exp=0):(A.mant=N(A.mant,y(22+A.exp)),A.exp=0,A.mant>=8388608&&(A.mant-=8388608,A.exp+=1)):(A.mant=N(A.mant-1,8388608),A.mant>=8388608&&(A.mant-=8388608,A.exp+=1),A.exp>254&&(A.mant=0,A.exp=255)),p(e,i|A.exp<<23|A.mant,r,n)):p(e,0===t?1/t<0?2147483648:0:t===1/0?2139095040|i:2143289344,r,n)}new t(8);var x=Math.pow(2,52);function G(e,t,r,n){var A,i,o,a=0;t<0&&(a=2147483648,t=-t),t&&t<1/0?((A=k(t)).exp+=1023,A.exp<=0?(A.mant*=y(51+A.exp),A.exp=0):A.mant=(A.mant-1)*x,I(e,i=a|A.exp<<20|A.mant/4294967296,o=A.mant>>>0,r,n)):(0===t?(i=1/t<0?2147483648:0,o=0):t===1/0?(i=a+2146435072,o=0):(i=2146959360,o=0),I(e,i,o,r,n))}(function t(){var l=e.exports||this;l.readWord=h,l.writeWord=p,l.writeDoubleWord=I,l.readFloat=D,l.writeFloat=F,l.readDouble=E,l.writeDouble=G,l._useFloatArray=function(e){l._usingFloatArray=e,e?("full"==e&&(l.readFloatLE=g?A:r),l.writeFloatLE=g?i:n,"full"==e&&(l.readFloatBE=g?r:A),l.writeFloatBE=g?n:i,l.readDoubleLE=g?s:o,l.writeDoubleLE=g?u:a,l.readDoubleBE=g?o:s,l.writeDoubleBE=g?a:u):(l._usingFloatArray="",l.readFloatLE=function(e,t){return l.readFloat(e,t||0,"le")},l.writeFloatLE=function(e,t,r){l.writeFloat(e,t,r||0,"le")},l.readFloatBE=function(e,t){return l.readFloat(e,t||0,"bige")},l.writeFloatBE=function(e,t,r){l.writeFloat(e,t,r||0,"bige")},l.readDoubleLE=function(e,t){return l.readDouble(e,t||0,"le")},l.writeDoubleLE=function(e,t,r){l.writeDouble(e,t,r||0,"le")},l.readDoubleBE=function(e,t){return l.readDouble(e,t||0,"bige")},l.writeDoubleBE=function(e,t,r){l.writeDouble(e,t,r||0,"bige")})},l._getBigeCpu=function(){return g},l._setBigeCpu=function(e){g=e},l._useFloatArray(!1),l._useFloatArray(r&&o&&"fastest"),t.prototype=l}).call(this)}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(1552),A=r(1555),i=r(915),o=function(e){return A("v1",n,e)};Object.assign(o,{processArgs:i,api:n,Testnet:function(e){return console.error("deprecated, change EosApi.Testnet(..) to just EosApi(..)"),o(e)},Localnet:function(e){return console.error("deprecated, change EosApi.Localnet(..) to just EosApi(..)"),o(e)}}),e.exports=o},function(e,t,r){var n=r(1556),A=r(1557);e.exports=function(e,t,r){var i=A(e,t);return r||(i=i.replace(/ (?=\d)/g,"_")),i.replace(/ (.)/g,function(e,r){return n(r,t)})}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"method",A=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i={},o={},a=t.length,s=void 0;"function"==typeof e[e.length-1]&&(s=e[e.length-1],e=e.slice(0,e.length-1));var u=void 0,l=void 0;s?u=function(e,t){e?s(e):s(null,t)}:l=new Promise(function(e,t){u=function(r,n){r?t(r):e(n)}});"function"==typeof A&&e.length>0&&("object"===n(e[0])&&2===e.length||e.length===a+1)&&null!=(o=A(e[e.length-1]))&&(e=e.slice(0,e.length-1));if(1===e.length&&"object"===n(e[0]))i=e[0];else{if(e.length>a)throw new TypeError(r+" is expecting "+a+" parameters but "+e.length+" where provided");var c=0,f=!0,d=!1,g=void 0;try{for(var h,p=t[Symbol.iterator]();!(f=(h=p.next()).done);f=!0){var I=h.value;i[I]=e[c],c++}}catch(e){d=!0,g=e}finally{try{!f&&p.return&&p.return()}finally{if(d)throw g}}}return{params:i,options:o,callback:u,returnPromise:l}}},function(e,t,r){"use strict";var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,A=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){A=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(A)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(36),o=r(109).Long;function a(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;if("number"==typeof e){if(e>Number.MAX_SAFE_INTEGER)throw new TypeError("value parameter overflow");e=o.fromString(String(e),t,r)}else if("string"==typeof e)e=o.fromString(e,t,r);else if(!o.isLong(e))throw new TypeError("value parameter is a requied Long, Number or String");return e}e.exports={ULong:a,isName:function(e,t){try{return l(e),!0}catch(e){return t&&t(e),!1}},encodeName:l,decodeName:c,encodeNameHex:function(e){return o.fromString(l(e),!0).toString(16)},decodeNameHex:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return c(o.fromString(e,!0,16).toString(),t)},UDecimalString:f,UDecimalPad:d,UDecimalImply:function(e,t){return d(e,t).replace(".","")},UDecimalUnimply:function(e,t){i(null!=e,"value is required"),e="object"===e&&e.toString?e.toString():String(e),i(/^\d+$/.test(e),"invalid whole number "+e),i(null!=t,"precision required"),i(t>=0&&t<=18,"Precision should be 18 characters or less");var r=t-e.length;r>0&&(e=""+"0".repeat(r)+e);var n=e.length-t;return d(e=e.slice(0,n)+"."+e.slice(n),t)},printAsset:g,parseAsset:function(e){var t=e.split(" "),r=n(t,1)[0].match(/^([0-9]+(\.[0-9]+)?)( |$)/),A=r?r[1]:null,o=e.match(/(^| )([0-9]+),([A-Z]+)(@|$)/),a=o?Number(o[2]):null,s=A?(A.split(".")[1]||"").length:null,u=null!=a?a:s,l=e.match(/(^| |,)([A-Z]+)(@|$)/),c=l?l[2]:null,f=e.split("@"),d=n(f,2)[1],h=/^[a-z0-5]+(\.[a-z0-5]+)*$/.test(d)?d:null,p=g({amount:A,precision:u,symbol:c,contract:h});i.equal(e,p,"Invalid extended asset string: "+e+" !== "+p),null!=u&&i(u>=0&&u<=18,"Precision should be 18 characters or less");null!=c&&i(c.length<=7,"Asset symbol is 7 characters or less");null!=h&&i(h.length<=12,"Contract is 12 characters or less");return{amount:A,precision:u,symbol:c,contract:h}}};var s=".12345abcdefghijklmnopqrstuvwxyz",u=function(e){var t=s.indexOf(e);if(-1===t)throw new TypeError("Invalid character: '"+e+"'");return t};function l(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if("string"!=typeof e)throw new TypeError("name parameter is a required string");if(e.length>12)throw new TypeError("A name can be up to 12 characters long");for(var r="",n=0;n<=12;n++){var A=n<e.length?u(e[n]):0,i=n<12?5:4,a=Number(A).toString(2);if(a.length>i)throw new TypeError("Invalid name "+e);r+=a="0".repeat(i-a.length)+a}var s=o.fromString(r,!0,2),l="",c=t?s.toBytesLE():s.toBytesBE(),f=!0,d=!1,g=void 0;try{for(var h,p=c[Symbol.iterator]();!(f=(h=p.next()).done);f=!0){var I=h.value,B=Number(I).toString(16);l+=(1===B.length?"0":"")+B}}catch(e){d=!0,g=e}finally{try{!f&&p.return&&p.return()}finally{if(d)throw g}}return o.fromString(l,!0,16).toString().toString()}function c(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e=a(e);var r="",n=t?e.toBytesLE():e.toBytesBE(),A=!0,i=!1,u=void 0;try{for(var l,c=n[Symbol.iterator]();!(A=(l=c.next()).done);A=!0){var f=l.value,d=Number(f).toString(16);r+=(1===d.length?"0":"")+d}}catch(e){i=!0,u=e}finally{try{!A&&c.return&&c.return()}finally{if(i)throw u}}r+="0".repeat(16-r.length);for(var g=o.fromNumber(31,!0),h=o.fromNumber(15,!0),p="",I=o.fromString(r,!0,16),B=0;B<=12;B++){p=s[I.and(0===B?h:g)]+p,I=I.shiftRight(0===B?4:5)}return p=p.replace(/\.+$/,"")}function f(e){i(null!=e,"value is required"),"."===(e="object"===e&&e.toString?e.toString():String(e))[0]&&(e="0"+e);var t=e.split(".");return i(t.length<=2,"invalid decimal "+e),i(/^\d+(,?\d)*\d*$/.test(t[0]),"invalid decimal "+e),2===t.length&&(i(/^\d*$/.test(t[1]),"invalid decimal "+e),t[1]=t[1].replace(/0+$/,""),""===t[1]&&t.pop()),t[0]=t[0].replace(/^0*/,""),""===t[0]&&(t[0]="0"),t.join(".")}function d(e,t){var r=f(e);if(null==t)return e;i(t>=0&&t<=18,"Precision should be 18 characters or less");var n=r.split(".");if(0===t&&1===n.length)return n[0];if(1===n.length)return n[0]+"."+"0".repeat(t);var A=t-n[1].length;return i(A>=0,"decimal '"+r+"' exceeds precision "+t),n[0]+"."+n[1]+"0".repeat(A)}function g(e){var t=e.amount,r=e.precision,n=e.symbol,o=e.contract;i.equal(void 0===n?"undefined":A(n),"string","symbol is a required string"),null!=t&&null!=r&&(t=d(t,r));var a=function(e,t){return null==e?"":null==t?"":e+t};return null!=t?a(t," ")+n+a("@",o):a(r,",")+n+a("@",o)}},function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"default",function(){return C});var n=r(37),A=r(3),i=r(23),o=r(10),a=r(9),s=r(24),u=r(79),l=r(77),c=r(19),f=r(86),d=r(35);const g=r(122),h=r(177),p=r(228),I="m/44'/688'/0'/0/0",B="coinex";class C extends n.a{constructor(){super(A.c.COINEX,A.a.COINEX)}config(e){return{dappStoreTag:e.custom?Object(A.f)(e.blockchain).toLowerCase():e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:A.b.COINEX}}endorsedConflict(){return null}async getChainId(e){return new u.a(e.nodeAddress).get("/node_info").then(e=>e.result?e.result.network||e.result.node_info.network:"").catch(()=>"")}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!0}randomKeypair(e,t={}){return new Promise((e,t)=>{const r=c.a.randomMnemonic();if(!r)return void t();const n=c.a.mnemonicToPrivateKey(r,I);if(!n)return void t();const A=f.publicKeyCreate(n);e({mnemonic:r,privateKey:d.a.Hex.bytesToHex(n),extra:{publicKey:d.a.Hex.bytesToHex(A)}})})}mnemonicToPrivateKey(e,t,r={}){const n=c.a.mnemonicToPrivateKey(e,I),A=f.publicKeyCreate(n);return{privateKey:d.a.Hex.bytesToHex(n),extra:{publicKey:d.a.Hex.bytesToHex(A)}}}privateToPublic(e,t,r={}){const n=f.publicKeyCreate(d.a.Hex.hexToBytes(e));return d.a.Bech32.toBech32(B,this.publicKeyToAddress(n))}validMnemonic(e){return c.a.validateMnemonic(e)}validPrivateKey(e){return/^[0-9a-fA-F]{64}$/i.test(e)}validPublicKey(e){return d.a.Bech32.isBech32(B,e)}publicKeyToAddress(e){e.length>33&&(e=e.slice(5,e.length));let t=h(e),r=d.a.Hex.hexToBytes(t);return(new g).update(r).digest("hex").toUpperCase()}signer(t,r,n,A){r.decryptPrivateKey(({privateKey:t,options:r})=>{if(!t)return A(a.a.signatureRejected()),!1;try{if(n.hasOwnProperty("transaction")){const i=e.from(JSON.stringify(n.transaction)).toString("hex"),o=l.a.generateSignature(i,t,!1),a=e.from(o,"hex"),s=e.from(r.publicKey,"hex");A({signature:p.encode(a),pubKey:{type:"tendermint/PubKeySecp256k1",value:p.encode(s)}})}else{const{data:i,isHash:o}=n,a=l.a.generateSignature(o?i:e.from(i).toString("hex"),t,o),s=e.from(a,"hex"),u=e.from(r.publicKey,"hex");A({signature:p.encode(s),pub_key:{type:"tendermint/PubKeySecp256k1",value:p.encode(u)}})}}catch(e){console.log(e),A(a.a.invalidSignature())}},t)}signatureProvider(...e){}requestSelectedIdentity(e,t,r,n){const A=r.keychain.accounts.find(e=>e.networkUnique===t.unique()&&e.selected);A&&r.keychain.keypairs.find(e=>e.unique()===A.keypairUnique())?n({network:t,account:A}):n(a.a.identityRejected())}requestIdentity(e,t,r,n,A){const s=n.find(r=>e===r.domain&&t.unique()===r.account.networkUnique);s?A({network:t,account:s.account,whitelistChecked:!1,whitelist:{}}):i.a.open(new o.b(o.a.REQUEST_IDENTITY,e,t,{},r=>{!r||r.hasOwnProperty("isError")?A(a.a.identityRejected()):A({network:t,account:r.account,whitelistChecked:!0,whitelist:{domain:e,account:r.account}})}))}requestSignature(e,t,r,n,A,u,l,c){const{transaction:f}=u;i.a.open(new o.b(o.a.REQUEST_SIGNATURE,t,r,{messages:[f],signerAccount:n,showWhiteListCheck:!1},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return c(a.a.invalidSignature()),!1;s.a.plugin(r.blockchain).signer(A,e,{transaction:d.a.Sort.sortObjectKeys(f)},e=>{c({signature:e})})}))}requestArbitrarySignatrue(e,t,r,n,A,u,l){const{whatfor:c,data:f}=u;i.a.open(new o.b(o.a.REQUEST_ARBITRARY_SIGNATURE,t,r,{signerAccount:n,message:{whatfor:c,data:f}},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return l(a.a.signatureRejected()),!1;s.a.plugin(r.blockchain).signer(A,e,u,l)}))}}}.call(this,r(8).Buffer)},function(e){e.exports=JSON.parse('{"COMPRESSED_TYPE_INVALID":"compressed should be a boolean","EC_PRIVATE_KEY_TYPE_INVALID":"private key should be a Buffer","EC_PRIVATE_KEY_LENGTH_INVALID":"private key length is invalid","EC_PRIVATE_KEY_RANGE_INVALID":"private key range is invalid","EC_PRIVATE_KEY_TWEAK_ADD_FAIL":"tweak out of range or resulting private key is invalid","EC_PRIVATE_KEY_TWEAK_MUL_FAIL":"tweak out of range","EC_PRIVATE_KEY_EXPORT_DER_FAIL":"couldn\'t export to DER format","EC_PRIVATE_KEY_IMPORT_DER_FAIL":"couldn\'t import from DER format","EC_PUBLIC_KEYS_TYPE_INVALID":"public keys should be an Array","EC_PUBLIC_KEYS_LENGTH_INVALID":"public keys Array should have at least 1 element","EC_PUBLIC_KEY_TYPE_INVALID":"public key should be a Buffer","EC_PUBLIC_KEY_LENGTH_INVALID":"public key length is invalid","EC_PUBLIC_KEY_PARSE_FAIL":"the public key could not be parsed or is invalid","EC_PUBLIC_KEY_CREATE_FAIL":"private was invalid, try again","EC_PUBLIC_KEY_TWEAK_ADD_FAIL":"tweak out of range or resulting public key is invalid","EC_PUBLIC_KEY_TWEAK_MUL_FAIL":"tweak out of range","EC_PUBLIC_KEY_COMBINE_FAIL":"the sum of the public keys is not valid","ECDH_FAIL":"scalar was invalid (zero or overflow)","ECDSA_SIGNATURE_TYPE_INVALID":"signature should be a Buffer","ECDSA_SIGNATURE_LENGTH_INVALID":"signature length is invalid","ECDSA_SIGNATURE_PARSE_FAIL":"couldn\'t parse signature","ECDSA_SIGNATURE_PARSE_DER_FAIL":"couldn\'t parse DER signature","ECDSA_SIGNATURE_SERIALIZE_DER_FAIL":"couldn\'t serialize signature to DER format","ECDSA_SIGN_FAIL":"nonce generation function failed or private key is invalid","ECDSA_RECOVER_FAIL":"couldn\'t recover public key from signature","MSG32_TYPE_INVALID":"message should be a Buffer","MSG32_LENGTH_INVALID":"message length is invalid","OPTIONS_TYPE_INVALID":"options should be an Object","OPTIONS_DATA_TYPE_INVALID":"options.data should be a Buffer","OPTIONS_DATA_LENGTH_INVALID":"options.data length is invalid","OPTIONS_NONCEFN_TYPE_INVALID":"options.noncefn should be a Function","RECOVERY_ID_TYPE_INVALID":"recovery should be a Number","RECOVERY_ID_VALUE_INVALID":"recovery should have value between -1 and 4","TWEAK_TYPE_INVALID":"tweak should be a Buffer","TWEAK_LENGTH_INVALID":"tweak length is invalid"}')},function(e,t){e.exports=function(e){if("string"!=typeof e)throw new Error("[is-hex-prefixed] value must be type 'string', is currently type "+typeof e+", while checking isHexPrefixed.");return"0x"===e.slice(0,2)}},function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"default",function(){return B});var n=r(37),A=r(3),i=(r(30),r(171),r(23)),o=r(10),a=r(9),s=r(24),u=(r(94),r(79)),l=r(169),c=r.n(l),f=r(77),d=r(19),g=r(377),h=r.n(g);const p=c.a.getCrypto("cosmos"),I=c.a.getBuilder("cosmos");class B extends n.a{constructor(){super(A.c.COSMOS,A.a.COSMOS)}config(e){return{dappStoreTag:e.custom?Object(A.f)(e.blockchain).toLowerCase():e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:A.b.COSMOS}}endorsedConflict(){return null}async getChainId(e){return new u.a(e.nodeAddress).get("/node_info").then(e=>e.result?e.result.network||e.result.node_info.network:"").catch(()=>"")}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!0}randomKeypair(e,t={}){return new Promise((e,t)=>{const r=p.create("english");r?e({mnemonic:r.phrase,privateKey:r.privateKey}):t()})}mnemonicToPrivateKey(e,t,r={}){return{privateKey:p.recover(e,"english").privateKey}}privateToPublic(e,t,r={}){return p.import(e).address}validMnemonic(e){return d.a.validateMnemonic(e)}validPrivateKey(e){return p.isValidPrivate(e)}validPublicKey(e){return p.isValidAddress(e)}signer(t,r,n,A){r.decryptPrivateKey(({privateKey:t})=>{if(!t)return A(a.a.signatureRejected()),!1;try{if(n.hasOwnProperty("transaction")){const e=I.buildAndSignTx(n.transaction,t).GetData();A(e)}else{const{data:r,isHash:i}=n,o=f.a.generateSignature(i?r:e.from(r).toString("hex"),t,i),a=h.a.import(t).publicKey;A({signature:o,publicKey:a})}}catch(e){A(a.a.invalidSignature())}},t)}signatureProvider(...e){}requestSelectedIdentity(e,t,r,n){const A=r.keychain.accounts.find(e=>e.networkUnique===t.unique()&&e.selected);A&&r.keychain.keypairs.find(e=>e.unique()===A.keypairUnique())?n({network:t,account:A}):n(a.a.identityRejected())}requestIdentity(e,t,r,n,A){const s=n.find(r=>e===r.domain&&t.unique()===r.account.networkUnique);s?A({network:t,account:s.account,whitelistChecked:!1,whitelist:{}}):i.a.open(new o.b(o.a.REQUEST_IDENTITY,e,t,{},r=>{!r||r.hasOwnProperty("isError")?A(a.a.identityRejected()):A({network:t,account:r.account,whitelistChecked:!0,whitelist:{domain:e,account:r.account}})}))}requestSignature(e,t,r,n,A,u,l,c){const{transaction:f}=u;i.a.open(new o.b(o.a.REQUEST_SIGNATURE,t,r,{messages:[f],signerAccount:n,showWhiteListCheck:!1},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return c(a.a.invalidSignature()),!1;s.a.plugin(r.blockchain).signer(A,e,u,e=>{c({signature:e})})}))}requestArbitrarySignatrue(e,t,r,n,A,u,l){const{whatfor:c,data:f}=u;i.a.open(new o.b(o.a.REQUEST_ARBITRARY_SIGNATURE,t,r,{signerAccount:n,message:{whatfor:c,data:f}},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return l(a.a.signatureRejected()),!1;s.a.plugin(r.blockchain).signer(A,e,u,l)}))}}}.call(this,r(8).Buffer)},function(e){e.exports=JSON.parse('{"COMPRESSED_TYPE_INVALID":"compressed should be a boolean","EC_PRIVATE_KEY_TYPE_INVALID":"private key should be a Buffer","EC_PRIVATE_KEY_LENGTH_INVALID":"private key length is invalid","EC_PRIVATE_KEY_RANGE_INVALID":"private key range is invalid","EC_PRIVATE_KEY_TWEAK_ADD_FAIL":"tweak out of range or resulting private key is invalid","EC_PRIVATE_KEY_TWEAK_MUL_FAIL":"tweak out of range","EC_PRIVATE_KEY_EXPORT_DER_FAIL":"couldn\'t export to DER format","EC_PRIVATE_KEY_IMPORT_DER_FAIL":"couldn\'t import from DER format","EC_PUBLIC_KEYS_TYPE_INVALID":"public keys should be an Array","EC_PUBLIC_KEYS_LENGTH_INVALID":"public keys Array should have at least 1 element","EC_PUBLIC_KEY_TYPE_INVALID":"public key should be a Buffer","EC_PUBLIC_KEY_LENGTH_INVALID":"public key length is invalid","EC_PUBLIC_KEY_PARSE_FAIL":"the public key could not be parsed or is invalid","EC_PUBLIC_KEY_CREATE_FAIL":"private was invalid, try again","EC_PUBLIC_KEY_TWEAK_ADD_FAIL":"tweak out of range or resulting public key is invalid","EC_PUBLIC_KEY_TWEAK_MUL_FAIL":"tweak out of range","EC_PUBLIC_KEY_COMBINE_FAIL":"the sum of the public keys is not valid","ECDH_FAIL":"scalar was invalid (zero or overflow)","ECDSA_SIGNATURE_TYPE_INVALID":"signature should be a Buffer","ECDSA_SIGNATURE_LENGTH_INVALID":"signature length is invalid","ECDSA_SIGNATURE_PARSE_FAIL":"couldn\'t parse signature","ECDSA_SIGNATURE_PARSE_DER_FAIL":"couldn\'t parse DER signature","ECDSA_SIGNATURE_SERIALIZE_DER_FAIL":"couldn\'t serialize signature to DER format","ECDSA_SIGN_FAIL":"nonce generation function failed or private key is invalid","ECDSA_RECOVER_FAIL":"couldn\'t recover public key from signature","MSG32_TYPE_INVALID":"message should be a Buffer","MSG32_LENGTH_INVALID":"message length is invalid","OPTIONS_TYPE_INVALID":"options should be an Object","OPTIONS_DATA_TYPE_INVALID":"options.data should be a Buffer","OPTIONS_DATA_LENGTH_INVALID":"options.data length is invalid","OPTIONS_NONCEFN_TYPE_INVALID":"options.noncefn should be a Function","RECOVERY_ID_TYPE_INVALID":"recovery should be a Number","RECOVERY_ID_VALUE_INVALID":"recovery should have value between -1 and 4","TWEAK_TYPE_INVALID":"tweak should be a Buffer","TWEAK_LENGTH_INVALID":"tweak length is invalid"}')},function(e,t,r){"use strict";e.exports=c;var n,A=r(203),i=A.LongBits,o=A.base64,a=A.utf8;function s(e,t,r){this.fn=e,this.len=t,this.next=void 0,this.val=r}function u(){}function l(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function c(){this.len=0,this.head=new s(u,0,0),this.tail=this.head,this.states=null}function f(e,t,r){t[r]=255&e}function d(e,t){this.len=e,this.next=void 0,this.val=t}function g(e,t,r){for(;e.hi;)t[r++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[r++]=127&e.lo|128,e.lo=e.lo>>>7;t[r++]=e.lo}function h(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}c.create=A.Buffer?function(){return(c.create=function(){return new n})()}:function(){return new c},c.alloc=function(e){return new A.Array(e)},A.Array!==Array&&(c.alloc=A.pool(c.alloc,A.Array.prototype.subarray)),c.prototype._push=function(e,t,r){return this.tail=this.tail.next=new s(e,t,r),this.len+=t,this},d.prototype=Object.create(s.prototype),d.prototype.fn=function(e,t,r){for(;e>127;)t[r++]=127&e|128,e>>>=7;t[r]=e},c.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new d((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},c.prototype.int32=function(e){return e<0?this._push(g,10,i.fromNumber(e)):this.uint32(e)},c.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},c.prototype.uint64=function(e){var t=i.from(e);return this._push(g,t.length(),t)},c.prototype.int64=c.prototype.uint64,c.prototype.sint64=function(e){var t=i.from(e).zzEncode();return this._push(g,t.length(),t)},c.prototype.bool=function(e){return this._push(f,1,e?1:0)},c.prototype.fixed32=function(e){return this._push(h,4,e>>>0)},c.prototype.sfixed32=c.prototype.fixed32,c.prototype.fixed64=function(e){var t=i.from(e);return this._push(h,4,t.lo)._push(h,4,t.hi)},c.prototype.sfixed64=c.prototype.fixed64,c.prototype.float=function(e){return this._push(A.float.writeFloatLE,4,e)},c.prototype.double=function(e){return this._push(A.float.writeDoubleLE,8,e)};var p=A.Array.prototype.set?function(e,t,r){t.set(e,r)}:function(e,t,r){for(var n=0;n<e.length;++n)t[r+n]=e[n]};c.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._push(f,1,0);if(A.isString(e)){var r=c.alloc(t=o.length(e));o.decode(e,r,0),e=r}return this.uint32(t)._push(p,t,e)},c.prototype.string=function(e){var t=a.length(e);return t?this.uint32(t)._push(a.write,t,e):this._push(f,1,0)},c.prototype.fork=function(){return this.states=new l(this),this.head=this.tail=new s(u,0,0),this.len=0,this},c.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new s(u,0,0),this.len=0),this},c.prototype.ldelim=function(){var e=this.head,t=this.tail,r=this.len;return this.reset().uint32(r),r&&(this.tail.next=e.next,this.tail=t,this.len+=r),this},c.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),r=0;e;)e.fn(e.val,t,r),r+=e.len,e=e.next;return t},c._configure=function(e){n=e}},function(e,t,r){"use strict";e.exports=s;var n,A=r(203),i=A.LongBits,o=A.utf8;function a(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function s(e){this.buf=e,this.pos=0,this.len=e.length}var u,l="undefined"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new s(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new s(e);throw Error("illegal buffer")};function c(){var e=new i(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw a(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw a(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function f(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function d(){if(this.pos+8>this.len)throw a(this,8);return new i(f(this.buf,this.pos+=4),f(this.buf,this.pos+=4))}s.create=A.Buffer?function(e){return(s.create=function(e){return A.Buffer.isBuffer(e)?new n(e):l(e)})(e)}:l,s.prototype._slice=A.Array.prototype.subarray||A.Array.prototype.slice,s.prototype.uint32=(u=4294967295,function(){if(u=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return u;if((this.pos+=5)>this.len)throw this.pos=this.len,a(this,10);return u}),s.prototype.int32=function(){return 0|this.uint32()},s.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},s.prototype.bool=function(){return 0!==this.uint32()},s.prototype.fixed32=function(){if(this.pos+4>this.len)throw a(this,4);return f(this.buf,this.pos+=4)},s.prototype.sfixed32=function(){if(this.pos+4>this.len)throw a(this,4);return 0|f(this.buf,this.pos+=4)},s.prototype.float=function(){if(this.pos+4>this.len)throw a(this,4);var e=A.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},s.prototype.double=function(){if(this.pos+8>this.len)throw a(this,4);var e=A.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},s.prototype.bytes=function(){var e=this.uint32(),t=this.pos,r=this.pos+e;if(r>this.len)throw a(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,r):t===r?new this.buf.constructor(0):this._slice.call(this.buf,t,r)},s.prototype.string=function(){var e=this.bytes();return o.read(e,0,e.length)},s.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw a(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw a(this)}while(128&this.buf[this.pos++]);return this},s.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(e=7&this.uint32());)this.skipType(e);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},s._configure=function(e){n=e;var t=A.Long?"toLong":"toNumber";A.merge(s.prototype,{int64:function(){return c.call(this)[t](!1)},uint64:function(){return c.call(this)[t](!0)},sint64:function(){return c.call(this).zzDecode()[t](!1)},fixed64:function(){return d.call(this)[t](!0)},sfixed64:function(){return d.call(this)[t](!1)}})}},function(e,t,r){"use strict";var n,A,i=r(494),o=i.Reader,a=i.Writer,s=i.util,u=i.roots.default||(i.roots.default={});u.irisnet=((A={}).tx=((n={}).Coin=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.denom="",e.prototype.amount="",e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=a.create()),t.uint32(10).string(e.denom),t.uint32(18).string(e.amount),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof o||(e=o.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new u.irisnet.tx.Coin;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.denom=e.string();break;case 2:n.amount=e.string();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("denom"))throw s.ProtocolError("missing required 'denom'",{instance:n});if(!n.hasOwnProperty("amount"))throw s.ProtocolError("missing required 'amount'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":s.isString(e.denom)?s.isString(e.amount)?null:"amount: string expected":"denom: string expected"},e.fromObject=function(e){if(e instanceof u.irisnet.tx.Coin)return e;var t=new u.irisnet.tx.Coin;return null!=e.denom&&(t.denom=String(e.denom)),null!=e.amount&&(t.amount=String(e.amount)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.denom="",r.amount=""),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=e.amount),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,i.util.toJSONOptions)},e}(),n.Input=function(){function e(e){if(this.coins=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.address=s.newBuffer([]),e.prototype.coins=s.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=a.create()),t.uint32(10).bytes(e.address),null!=e.coins&&e.coins.length)for(var r=0;r<e.coins.length;++r)u.irisnet.tx.Coin.encode(e.coins[r],t.uint32(18).fork()).ldelim();return t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof o||(e=o.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new u.irisnet.tx.Input;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.address=e.bytes();break;case 2:n.coins&&n.coins.length||(n.coins=[]),n.coins.push(u.irisnet.tx.Coin.decode(e,e.uint32()));break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("address"))throw s.ProtocolError("missing required 'address'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(!(e.address&&"number"==typeof e.address.length||s.isString(e.address)))return"address: buffer expected";if(null!=e.coins&&e.hasOwnProperty("coins")){if(!Array.isArray(e.coins))return"coins: array expected";for(var t=0;t<e.coins.length;++t){var r=u.irisnet.tx.Coin.verify(e.coins[t]);if(r)return"coins."+r}}return null},e.fromObject=function(e){if(e instanceof u.irisnet.tx.Input)return e;var t=new u.irisnet.tx.Input;if(null!=e.address&&("string"==typeof e.address?s.base64.decode(e.address,t.address=s.newBuffer(s.base64.length(e.address)),0):e.address.length&&(t.address=e.address)),e.coins){if(!Array.isArray(e.coins))throw TypeError(".irisnet.tx.Input.coins: array expected");t.coins=[];for(var r=0;r<e.coins.length;++r){if("object"!=typeof e.coins[r])throw TypeError(".irisnet.tx.Input.coins: object expected");t.coins[r]=u.irisnet.tx.Coin.fromObject(e.coins[r])}}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.coins=[]),t.defaults&&(t.bytes===String?r.address="":(r.address=[],t.bytes!==Array&&(r.address=s.newBuffer(r.address)))),null!=e.address&&e.hasOwnProperty("address")&&(r.address=t.bytes===String?s.base64.encode(e.address,0,e.address.length):t.bytes===Array?Array.prototype.slice.call(e.address):e.address),e.coins&&e.coins.length){r.coins=[];for(var n=0;n<e.coins.length;++n)r.coins[n]=u.irisnet.tx.Coin.toObject(e.coins[n],t)}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,i.util.toJSONOptions)},e}(),n.Output=function(){function e(e){if(this.coins=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.address=s.newBuffer([]),e.prototype.coins=s.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=a.create()),t.uint32(10).bytes(e.address),null!=e.coins&&e.coins.length)for(var r=0;r<e.coins.length;++r)u.irisnet.tx.Coin.encode(e.coins[r],t.uint32(18).fork()).ldelim();return t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof o||(e=o.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new u.irisnet.tx.Output;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.address=e.bytes();break;case 2:n.coins&&n.coins.length||(n.coins=[]),n.coins.push(u.irisnet.tx.Coin.decode(e,e.uint32()));break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("address"))throw s.ProtocolError("missing required 'address'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(!(e.address&&"number"==typeof e.address.length||s.isString(e.address)))return"address: buffer expected";if(null!=e.coins&&e.hasOwnProperty("coins")){if(!Array.isArray(e.coins))return"coins: array expected";for(var t=0;t<e.coins.length;++t){var r=u.irisnet.tx.Coin.verify(e.coins[t]);if(r)return"coins."+r}}return null},e.fromObject=function(e){if(e instanceof u.irisnet.tx.Output)return e;var t=new u.irisnet.tx.Output;if(null!=e.address&&("string"==typeof e.address?s.base64.decode(e.address,t.address=s.newBuffer(s.base64.length(e.address)),0):e.address.length&&(t.address=e.address)),e.coins){if(!Array.isArray(e.coins))throw TypeError(".irisnet.tx.Output.coins: array expected");t.coins=[];for(var r=0;r<e.coins.length;++r){if("object"!=typeof e.coins[r])throw TypeError(".irisnet.tx.Output.coins: object expected");t.coins[r]=u.irisnet.tx.Coin.fromObject(e.coins[r])}}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.coins=[]),t.defaults&&(t.bytes===String?r.address="":(r.address=[],t.bytes!==Array&&(r.address=s.newBuffer(r.address)))),null!=e.address&&e.hasOwnProperty("address")&&(r.address=t.bytes===String?s.base64.encode(e.address,0,e.address.length):t.bytes===Array?Array.prototype.slice.call(e.address):e.address),e.coins&&e.coins.length){r.coins=[];for(var n=0;n<e.coins.length;++n)r.coins[n]=u.irisnet.tx.Coin.toObject(e.coins[n],t)}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,i.util.toJSONOptions)},e}(),n.MsgSend=function(){function e(e){if(this.input=[],this.output=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.input=s.emptyArray,e.prototype.output=s.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=a.create()),null!=e.input&&e.input.length)for(var r=0;r<e.input.length;++r)u.irisnet.tx.Input.encode(e.input[r],t.uint32(10).fork()).ldelim();if(null!=e.output&&e.output.length)for(r=0;r<e.output.length;++r)u.irisnet.tx.Output.encode(e.output[r],t.uint32(18).fork()).ldelim();return t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof o||(e=o.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new u.irisnet.tx.MsgSend;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.input&&n.input.length||(n.input=[]),n.input.push(u.irisnet.tx.Input.decode(e,e.uint32()));break;case 2:n.output&&n.output.length||(n.output=[]),n.output.push(u.irisnet.tx.Output.decode(e,e.uint32()));break;default:e.skipType(7&A)}}return n},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.input&&e.hasOwnProperty("input")){if(!Array.isArray(e.input))return"input: array expected";for(var t=0;t<e.input.length;++t)if(r=u.irisnet.tx.Input.verify(e.input[t]))return"input."+r}if(null!=e.output&&e.hasOwnProperty("output")){if(!Array.isArray(e.output))return"output: array expected";for(t=0;t<e.output.length;++t){var r;if(r=u.irisnet.tx.Output.verify(e.output[t]))return"output."+r}}return null},e.fromObject=function(e){if(e instanceof u.irisnet.tx.MsgSend)return e;var t=new u.irisnet.tx.MsgSend;if(e.input){if(!Array.isArray(e.input))throw TypeError(".irisnet.tx.MsgSend.input: array expected");t.input=[];for(var r=0;r<e.input.length;++r){if("object"!=typeof e.input[r])throw TypeError(".irisnet.tx.MsgSend.input: object expected");t.input[r]=u.irisnet.tx.Input.fromObject(e.input[r])}}if(e.output){if(!Array.isArray(e.output))throw TypeError(".irisnet.tx.MsgSend.output: array expected");for(t.output=[],r=0;r<e.output.length;++r){if("object"!=typeof e.output[r])throw TypeError(".irisnet.tx.MsgSend.output: object expected");t.output[r]=u.irisnet.tx.Output.fromObject(e.output[r])}}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.input=[],r.output=[]),e.input&&e.input.length){r.input=[];for(var n=0;n<e.input.length;++n)r.input[n]=u.irisnet.tx.Input.toObject(e.input[n],t)}if(e.output&&e.output.length)for(r.output=[],n=0;n<e.output.length;++n)r.output[n]=u.irisnet.tx.Output.toObject(e.output[n],t);return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,i.util.toJSONOptions)},e}(),n.MsgDelegate=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.delegatorAddr=s.newBuffer([]),e.prototype.validatorAddr=s.newBuffer([]),e.prototype.delegation=null,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=a.create()),t.uint32(10).bytes(e.delegatorAddr),t.uint32(18).bytes(e.validatorAddr),u.irisnet.tx.Coin.encode(e.delegation,t.uint32(26).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof o||(e=o.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new u.irisnet.tx.MsgDelegate;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.delegatorAddr=e.bytes();break;case 2:n.validatorAddr=e.bytes();break;case 3:n.delegation=u.irisnet.tx.Coin.decode(e,e.uint32());break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("delegatorAddr"))throw s.ProtocolError("missing required 'delegatorAddr'",{instance:n});if(!n.hasOwnProperty("validatorAddr"))throw s.ProtocolError("missing required 'validatorAddr'",{instance:n});if(!n.hasOwnProperty("delegation"))throw s.ProtocolError("missing required 'delegation'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(!(e.delegatorAddr&&"number"==typeof e.delegatorAddr.length||s.isString(e.delegatorAddr)))return"delegatorAddr: buffer expected";if(!(e.validatorAddr&&"number"==typeof e.validatorAddr.length||s.isString(e.validatorAddr)))return"validatorAddr: buffer expected";var t=u.irisnet.tx.Coin.verify(e.delegation);return t?"delegation."+t:null},e.fromObject=function(e){if(e instanceof u.irisnet.tx.MsgDelegate)return e;var t=new u.irisnet.tx.MsgDelegate;if(null!=e.delegatorAddr&&("string"==typeof e.delegatorAddr?s.base64.decode(e.delegatorAddr,t.delegatorAddr=s.newBuffer(s.base64.length(e.delegatorAddr)),0):e.delegatorAddr.length&&(t.delegatorAddr=e.delegatorAddr)),null!=e.validatorAddr&&("string"==typeof e.validatorAddr?s.base64.decode(e.validatorAddr,t.validatorAddr=s.newBuffer(s.base64.length(e.validatorAddr)),0):e.validatorAddr.length&&(t.validatorAddr=e.validatorAddr)),null!=e.delegation){if("object"!=typeof e.delegation)throw TypeError(".irisnet.tx.MsgDelegate.delegation: object expected");t.delegation=u.irisnet.tx.Coin.fromObject(e.delegation)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.delegatorAddr="":(r.delegatorAddr=[],t.bytes!==Array&&(r.delegatorAddr=s.newBuffer(r.delegatorAddr))),t.bytes===String?r.validatorAddr="":(r.validatorAddr=[],t.bytes!==Array&&(r.validatorAddr=s.newBuffer(r.validatorAddr))),r.delegation=null),null!=e.delegatorAddr&&e.hasOwnProperty("delegatorAddr")&&(r.delegatorAddr=t.bytes===String?s.base64.encode(e.delegatorAddr,0,e.delegatorAddr.length):t.bytes===Array?Array.prototype.slice.call(e.delegatorAddr):e.delegatorAddr),null!=e.validatorAddr&&e.hasOwnProperty("validatorAddr")&&(r.validatorAddr=t.bytes===String?s.base64.encode(e.validatorAddr,0,e.validatorAddr.length):t.bytes===Array?Array.prototype.slice.call(e.validatorAddr):e.validatorAddr),null!=e.delegation&&e.hasOwnProperty("delegation")&&(r.delegation=u.irisnet.tx.Coin.toObject(e.delegation,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,i.util.toJSONOptions)},e}(),n.MsgBeginUnbonding=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.delegatorAddr=s.newBuffer([]),e.prototype.validatorAddr=s.newBuffer([]),e.prototype.sharesAmount="",e.create=function(t){return new e(t)},e.encode=function(e,t){t||(t=a.create()),t.uint32(10).bytes(e.delegatorAddr),t.uint32(18).bytes(e.validatorAddr);let r=e.sharesAmount.replace(".","");return t.uint32(26).string(r),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof o||(e=o.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new u.irisnet.tx.MsgBeginUnbonding;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.delegatorAddr=e.bytes();break;case 2:n.validatorAddr=e.bytes();break;case 3:n.sharesAmount=e.string();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("delegatorAddr"))throw s.ProtocolError("missing required 'delegatorAddr'",{instance:n});if(!n.hasOwnProperty("validatorAddr"))throw s.ProtocolError("missing required 'validatorAddr'",{instance:n});if(!n.hasOwnProperty("sharesAmount"))throw s.ProtocolError("missing required 'sharesAmount'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":e.delegatorAddr&&"number"==typeof e.delegatorAddr.length||s.isString(e.delegatorAddr)?e.validatorAddr&&"number"==typeof e.validatorAddr.length||s.isString(e.validatorAddr)?s.isString(e.sharesAmount)?null:"sharesAmount: string expected":"validatorAddr: buffer expected":"delegatorAddr: buffer expected"},e.fromObject=function(e){if(e instanceof u.irisnet.tx.MsgBeginUnbonding)return e;var t=new u.irisnet.tx.MsgBeginUnbonding;return null!=e.delegatorAddr&&("string"==typeof e.delegatorAddr?s.base64.decode(e.delegatorAddr,t.delegatorAddr=s.newBuffer(s.base64.length(e.delegatorAddr)),0):e.delegatorAddr.length&&(t.delegatorAddr=e.delegatorAddr)),null!=e.validatorAddr&&("string"==typeof e.validatorAddr?s.base64.decode(e.validatorAddr,t.validatorAddr=s.newBuffer(s.base64.length(e.validatorAddr)),0):e.validatorAddr.length&&(t.validatorAddr=e.validatorAddr)),null!=e.sharesAmount&&(t.sharesAmount=String(e.sharesAmount)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.delegatorAddr="":(r.delegatorAddr=[],t.bytes!==Array&&(r.delegatorAddr=s.newBuffer(r.delegatorAddr))),t.bytes===String?r.validatorAddr="":(r.validatorAddr=[],t.bytes!==Array&&(r.validatorAddr=s.newBuffer(r.validatorAddr))),r.sharesAmount=""),null!=e.delegatorAddr&&e.hasOwnProperty("delegatorAddr")&&(r.delegatorAddr=t.bytes===String?s.base64.encode(e.delegatorAddr,0,e.delegatorAddr.length):t.bytes===Array?Array.prototype.slice.call(e.delegatorAddr):e.delegatorAddr),null!=e.validatorAddr&&e.hasOwnProperty("validatorAddr")&&(r.validatorAddr=t.bytes===String?s.base64.encode(e.validatorAddr,0,e.validatorAddr.length):t.bytes===Array?Array.prototype.slice.call(e.validatorAddr):e.validatorAddr),null!=e.sharesAmount&&e.hasOwnProperty("sharesAmount")&&(r.sharesAmount=e.sharesAmount),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,i.util.toJSONOptions)},e}(),n.MsgBeginRedelegate=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.delegatorAddr=s.newBuffer([]),e.prototype.validatorSrcAddr=s.newBuffer([]),e.prototype.validatorDstAddr=s.newBuffer([]),e.prototype.sharesAmount="",e.create=function(t){return new e(t)},e.encode=function(e,t){t||(t=a.create()),t.uint32(10).bytes(e.delegatorAddr),t.uint32(18).bytes(e.validatorSrcAddr),t.uint32(26).bytes(e.validatorDstAddr);let r=e.sharesAmount.replace(".","");return t.uint32(34).string(r),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof o||(e=o.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new u.irisnet.tx.MsgBeginRedelegate;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.delegatorAddr=e.bytes();break;case 2:n.validatorSrcAddr=e.bytes();break;case 3:n.validatorDstAddr=e.bytes();break;case 4:n.sharesAmount=e.string();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("delegatorAddr"))throw s.ProtocolError("missing required 'delegatorAddr'",{instance:n});if(!n.hasOwnProperty("validatorSrcAddr"))throw s.ProtocolError("missing required 'validatorSrcAddr'",{instance:n});if(!n.hasOwnProperty("validatorDstAddr"))throw s.ProtocolError("missing required 'validatorDstAddr'",{instance:n});if(!n.hasOwnProperty("sharesAmount"))throw s.ProtocolError("missing required 'sharesAmount'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":e.delegatorAddr&&"number"==typeof e.delegatorAddr.length||s.isString(e.delegatorAddr)?e.validatorSrcAddr&&"number"==typeof e.validatorSrcAddr.length||s.isString(e.validatorSrcAddr)?e.validatorDstAddr&&"number"==typeof e.validatorDstAddr.length||s.isString(e.validatorDstAddr)?s.isString(e.sharesAmount)?null:"sharesAmount: string expected":"validatorDstAddr: buffer expected":"validatorSrcAddr: buffer expected":"delegatorAddr: buffer expected"},e.fromObject=function(e){if(e instanceof u.irisnet.tx.MsgBeginRedelegate)return e;var t=new u.irisnet.tx.MsgBeginRedelegate;return null!=e.delegatorAddr&&("string"==typeof e.delegatorAddr?s.base64.decode(e.delegatorAddr,t.delegatorAddr=s.newBuffer(s.base64.length(e.delegatorAddr)),0):e.delegatorAddr.length&&(t.delegatorAddr=e.delegatorAddr)),null!=e.validatorSrcAddr&&("string"==typeof e.validatorSrcAddr?s.base64.decode(e.validatorSrcAddr,t.validatorSrcAddr=s.newBuffer(s.base64.length(e.validatorSrcAddr)),0):e.validatorSrcAddr.length&&(t.validatorSrcAddr=e.validatorSrcAddr)),null!=e.validatorDstAddr&&("string"==typeof e.validatorDstAddr?s.base64.decode(e.validatorDstAddr,t.validatorDstAddr=s.newBuffer(s.base64.length(e.validatorDstAddr)),0):e.validatorDstAddr.length&&(t.validatorDstAddr=e.validatorDstAddr)),null!=e.sharesAmount&&(t.sharesAmount=String(e.sharesAmount)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.delegatorAddr="":(r.delegatorAddr=[],t.bytes!==Array&&(r.delegatorAddr=s.newBuffer(r.delegatorAddr))),t.bytes===String?r.validatorSrcAddr="":(r.validatorSrcAddr=[],t.bytes!==Array&&(r.validatorSrcAddr=s.newBuffer(r.validatorSrcAddr))),t.bytes===String?r.validatorDstAddr="":(r.validatorDstAddr=[],t.bytes!==Array&&(r.validatorDstAddr=s.newBuffer(r.validatorDstAddr))),r.sharesAmount=""),null!=e.delegatorAddr&&e.hasOwnProperty("delegatorAddr")&&(r.delegatorAddr=t.bytes===String?s.base64.encode(e.delegatorAddr,0,e.delegatorAddr.length):t.bytes===Array?Array.prototype.slice.call(e.delegatorAddr):e.delegatorAddr),null!=e.validatorSrcAddr&&e.hasOwnProperty("validatorSrcAddr")&&(r.validatorSrcAddr=t.bytes===String?s.base64.encode(e.validatorSrcAddr,0,e.validatorSrcAddr.length):t.bytes===Array?Array.prototype.slice.call(e.validatorSrcAddr):e.validatorSrcAddr),null!=e.validatorDstAddr&&e.hasOwnProperty("validatorDstAddr")&&(r.validatorDstAddr=t.bytes===String?s.base64.encode(e.validatorDstAddr,0,e.validatorDstAddr.length):t.bytes===Array?Array.prototype.slice.call(e.validatorDstAddr):e.validatorDstAddr),null!=e.sharesAmount&&e.hasOwnProperty("sharesAmount")&&(r.sharesAmount=e.sharesAmount),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,i.util.toJSONOptions)},e}(),n.MsgWithdrawDelegatorRewardsAll=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.delegatorAddr=s.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=a.create()),t.uint32(10).bytes(e.delegatorAddr),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof o||(e=o.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new u.irisnet.tx.MsgWithdrawDelegatorRewardsAll;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.delegatorAddr=e.bytes();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("delegatorAddr"))throw s.ProtocolError("missing required 'delegatorAddr'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":e.delegatorAddr&&"number"==typeof e.delegatorAddr.length||s.isString(e.delegatorAddr)?null:"delegatorAddr: buffer expected"},e.fromObject=function(e){if(e instanceof u.irisnet.tx.MsgWithdrawDelegatorRewardsAll)return e;var t=new u.irisnet.tx.MsgWithdrawDelegatorRewardsAll;return null!=e.delegatorAddr&&("string"==typeof e.delegatorAddr?s.base64.decode(e.delegatorAddr,t.delegatorAddr=s.newBuffer(s.base64.length(e.delegatorAddr)),0):e.delegatorAddr.length&&(t.delegatorAddr=e.delegatorAddr)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.delegatorAddr="":(r.delegatorAddr=[],t.bytes!==Array&&(r.delegatorAddr=s.newBuffer(r.delegatorAddr)))),null!=e.delegatorAddr&&e.hasOwnProperty("delegatorAddr")&&(r.delegatorAddr=t.bytes===String?s.base64.encode(e.delegatorAddr,0,e.delegatorAddr.length):t.bytes===Array?Array.prototype.slice.call(e.delegatorAddr):e.delegatorAddr),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,i.util.toJSONOptions)},e}(),n.MsgWithdrawDelegatorReward=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.delegatorAddr=s.newBuffer([]),e.prototype.validatorAddr=s.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=a.create()),t.uint32(10).bytes(e.delegatorAddr),t.uint32(18).bytes(e.validatorAddr),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof o||(e=o.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new u.irisnet.tx.MsgWithdrawDelegatorReward;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.delegatorAddr=e.bytes();break;case 2:n.validatorAddr=e.bytes();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("delegatorAddr"))throw s.ProtocolError("missing required 'delegatorAddr'",{instance:n});if(!n.hasOwnProperty("validatorAddr"))throw s.ProtocolError("missing required 'validatorAddr'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":e.delegatorAddr&&"number"==typeof e.delegatorAddr.length||s.isString(e.delegatorAddr)?e.validatorAddr&&"number"==typeof e.validatorAddr.length||s.isString(e.validatorAddr)?null:"validatorAddr: buffer expected":"delegatorAddr: buffer expected"},e.fromObject=function(e){if(e instanceof u.irisnet.tx.MsgWithdrawDelegatorReward)return e;var t=new u.irisnet.tx.MsgWithdrawDelegatorReward;return null!=e.delegatorAddr&&("string"==typeof e.delegatorAddr?s.base64.decode(e.delegatorAddr,t.delegatorAddr=s.newBuffer(s.base64.length(e.delegatorAddr)),0):e.delegatorAddr.length&&(t.delegatorAddr=e.delegatorAddr)),null!=e.validatorAddr&&("string"==typeof e.validatorAddr?s.base64.decode(e.validatorAddr,t.validatorAddr=s.newBuffer(s.base64.length(e.validatorAddr)),0):e.validatorAddr.length&&(t.validatorAddr=e.validatorAddr)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.delegatorAddr="":(r.delegatorAddr=[],t.bytes!==Array&&(r.delegatorAddr=s.newBuffer(r.delegatorAddr))),t.bytes===String?r.validatorAddr="":(r.validatorAddr=[],t.bytes!==Array&&(r.validatorAddr=s.newBuffer(r.validatorAddr)))),null!=e.delegatorAddr&&e.hasOwnProperty("delegatorAddr")&&(r.delegatorAddr=t.bytes===String?s.base64.encode(e.delegatorAddr,0,e.delegatorAddr.length):t.bytes===Array?Array.prototype.slice.call(e.delegatorAddr):e.delegatorAddr),null!=e.validatorAddr&&e.hasOwnProperty("validatorAddr")&&(r.validatorAddr=t.bytes===String?s.base64.encode(e.validatorAddr,0,e.validatorAddr.length):t.bytes===Array?Array.prototype.slice.call(e.validatorAddr):e.validatorAddr),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,i.util.toJSONOptions)},e}(),n.StdFee=function(){function e(e){if(this.amount=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.amount=s.emptyArray,e.prototype.gas=s.Long?s.Long.fromBits(0,0,!1):0,e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=a.create()),null!=e.amount&&e.amount.length)for(var r=0;r<e.amount.length;++r)u.irisnet.tx.Coin.encode(e.amount[r],t.uint32(10).fork()).ldelim();return t.uint32(16).int64(e.gas),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof o||(e=o.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new u.irisnet.tx.StdFee;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.amount&&n.amount.length||(n.amount=[]),n.amount.push(u.irisnet.tx.Coin.decode(e,e.uint32()));break;case 2:n.gas=e.int64();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("gas"))throw s.ProtocolError("missing required 'gas'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.amount&&e.hasOwnProperty("amount")){if(!Array.isArray(e.amount))return"amount: array expected";for(var t=0;t<e.amount.length;++t){var r=u.irisnet.tx.Coin.verify(e.amount[t]);if(r)return"amount."+r}}return s.isInteger(e.gas)||e.gas&&s.isInteger(e.gas.low)&&s.isInteger(e.gas.high)?null:"gas: integer|Long expected"},e.fromObject=function(e){if(e instanceof u.irisnet.tx.StdFee)return e;var t=new u.irisnet.tx.StdFee;if(e.amount){if(!Array.isArray(e.amount))throw TypeError(".irisnet.tx.StdFee.amount: array expected");t.amount=[];for(var r=0;r<e.amount.length;++r){if("object"!=typeof e.amount[r])throw TypeError(".irisnet.tx.StdFee.amount: object expected");t.amount[r]=u.irisnet.tx.Coin.fromObject(e.amount[r])}}return null!=e.gas&&(s.Long?(t.gas=s.Long.fromValue(e.gas)).unsigned=!1:"string"==typeof e.gas?t.gas=parseInt(e.gas,10):"number"==typeof e.gas?t.gas=e.gas:"object"==typeof e.gas&&(t.gas=new s.LongBits(e.gas.low>>>0,e.gas.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.amount=[]),t.defaults)if(s.Long){var n=new s.Long(0,0,!1);r.gas=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.gas=t.longs===String?"0":0;if(e.amount&&e.amount.length){r.amount=[];for(var A=0;A<e.amount.length;++A)r.amount[A]=u.irisnet.tx.Coin.toObject(e.amount[A],t)}return null!=e.gas&&e.hasOwnProperty("gas")&&("number"==typeof e.gas?r.gas=t.longs===String?String(e.gas):e.gas:r.gas=t.longs===String?s.Long.prototype.toString.call(e.gas):t.longs===Number?new s.LongBits(e.gas.low>>>0,e.gas.high>>>0).toNumber():e.gas),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,i.util.toJSONOptions)},e}(),n.StdSignature=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.pubKey=s.newBuffer([]),e.prototype.signature=s.newBuffer([]),e.prototype.accountNumber=s.Long?s.Long.fromBits(0,0,!1):0,e.prototype.sequence=s.Long?s.Long.fromBits(0,0,!1):0,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=a.create()),t.uint32(10).bytes(e.pubKey),t.uint32(18).bytes(e.signature),0!==e.accountNumber&&t.uint32(24).int64(e.accountNumber),0!==e.sequence&&t.uint32(32).int64(e.sequence),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof o||(e=o.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new u.irisnet.tx.StdSignature;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.pubKey=e.bytes();break;case 2:n.signature=e.bytes();break;case 3:n.accountNumber=e.int64();break;case 4:n.sequence=e.int64();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("pubKey"))throw s.ProtocolError("missing required 'pubKey'",{instance:n});if(!n.hasOwnProperty("signature"))throw s.ProtocolError("missing required 'signature'",{instance:n});if(!n.hasOwnProperty("accountNumber"))throw s.ProtocolError("missing required 'accountNumber'",{instance:n});if(!n.hasOwnProperty("sequence"))throw s.ProtocolError("missing required 'sequence'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!=typeof e||null===e?"object expected":e.pubKey&&"number"==typeof e.pubKey.length||s.isString(e.pubKey)?e.signature&&"number"==typeof e.signature.length||s.isString(e.signature)?s.isInteger(e.accountNumber)||e.accountNumber&&s.isInteger(e.accountNumber.low)&&s.isInteger(e.accountNumber.high)?s.isInteger(e.sequence)||e.sequence&&s.isInteger(e.sequence.low)&&s.isInteger(e.sequence.high)?null:"sequence: integer|Long expected":"accountNumber: integer|Long expected":"signature: buffer expected":"pubKey: buffer expected"},e.fromObject=function(e){if(e instanceof u.irisnet.tx.StdSignature)return e;var t=new u.irisnet.tx.StdSignature;return null!=e.pubKey&&("string"==typeof e.pubKey?s.base64.decode(e.pubKey,t.pubKey=s.newBuffer(s.base64.length(e.pubKey)),0):e.pubKey.length&&(t.pubKey=e.pubKey)),null!=e.signature&&("string"==typeof e.signature?s.base64.decode(e.signature,t.signature=s.newBuffer(s.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),null!=e.accountNumber&&(s.Long?(t.accountNumber=s.Long.fromValue(e.accountNumber)).unsigned=!1:"string"==typeof e.accountNumber?t.accountNumber=parseInt(e.accountNumber,10):"number"==typeof e.accountNumber?t.accountNumber=e.accountNumber:"object"==typeof e.accountNumber&&(t.accountNumber=new s.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber())),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!1:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(t.bytes===String?r.pubKey="":(r.pubKey=[],t.bytes!==Array&&(r.pubKey=s.newBuffer(r.pubKey))),t.bytes===String?r.signature="":(r.signature=[],t.bytes!==Array&&(r.signature=s.newBuffer(r.signature))),s.Long){var n=new s.Long(0,0,!1);r.accountNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.accountNumber=t.longs===String?"0":0;s.Long?(n=new s.Long(0,0,!1),r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n):r.sequence=t.longs===String?"0":0}return null!=e.pubKey&&e.hasOwnProperty("pubKey")&&(r.pubKey=t.bytes===String?s.base64.encode(e.pubKey,0,e.pubKey.length):t.bytes===Array?Array.prototype.slice.call(e.pubKey):e.pubKey),null!=e.signature&&e.hasOwnProperty("signature")&&(r.signature=t.bytes===String?s.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),null!=e.accountNumber&&e.hasOwnProperty("accountNumber")&&("number"==typeof e.accountNumber?r.accountNumber=t.longs===String?String(e.accountNumber):e.accountNumber:r.accountNumber=t.longs===String?s.Long.prototype.toString.call(e.accountNumber):t.longs===Number?new s.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber():e.accountNumber),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber():e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,i.util.toJSONOptions)},e}(),n.StdTx=function(){function e(e){if(this.msgs=[],this.signatures=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.msgs=s.emptyArray,e.prototype.fee=null,e.prototype.signatures=s.emptyArray,e.prototype.memo="",e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=a.create()),null!=e.msgs&&e.msgs.length)for(var r=0;r<e.msgs.length;++r)t.uint32(10).bytes(e.msgs[r]);if(u.irisnet.tx.StdFee.encode(e.fee,t.uint32(18).fork()).ldelim(),null!=e.signatures&&e.signatures.length)for(r=0;r<e.signatures.length;++r)u.irisnet.tx.StdSignature.encode(e.signatures[r],t.uint32(26).fork()).ldelim();return null!=e.memo&&e.hasOwnProperty("memo")&&""!==e.memo&&t.uint32(34).string(e.memo),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof o||(e=o.create(e));for(var r=void 0===t?e.len:e.pos+t,n=new u.irisnet.tx.StdTx;e.pos<r;){var A=e.uint32();switch(A>>>3){case 1:n.msgs&&n.msgs.length||(n.msgs=[]),n.msgs.push(e.bytes());break;case 2:n.fee=u.irisnet.tx.StdFee.decode(e,e.uint32());break;case 3:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(u.irisnet.tx.StdSignature.decode(e,e.uint32()));break;case 4:n.memo=e.string();break;default:e.skipType(7&A)}}if(!n.hasOwnProperty("fee"))throw s.ProtocolError("missing required 'fee'",{instance:n});return n},e.decodeDelimited=function(e){return e instanceof o||(e=new o(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!=typeof e||null===e)return"object expected";if(null!=e.msgs&&e.hasOwnProperty("msgs")){if(!Array.isArray(e.msgs))return"msgs: array expected";for(var t=0;t<e.msgs.length;++t)if(!(e.msgs[t]&&"number"==typeof e.msgs[t].length||s.isString(e.msgs[t])))return"msgs: buffer[] expected"}if(r=u.irisnet.tx.StdFee.verify(e.fee))return"fee."+r;if(null!=e.signatures&&e.hasOwnProperty("signatures")){if(!Array.isArray(e.signatures))return"signatures: array expected";for(t=0;t<e.signatures.length;++t){var r;if(r=u.irisnet.tx.StdSignature.verify(e.signatures[t]))return"signatures."+r}}return null!=e.memo&&e.hasOwnProperty("memo")&&!s.isString(e.memo)?"memo: string expected":null},e.fromObject=function(e){if(e instanceof u.irisnet.tx.StdTx)return e;var t=new u.irisnet.tx.StdTx;if(e.msgs){if(!Array.isArray(e.msgs))throw TypeError(".irisnet.tx.StdTx.msgs: array expected");t.msgs=[];for(var r=0;r<e.msgs.length;++r)"string"==typeof e.msgs[r]?s.base64.decode(e.msgs[r],t.msgs[r]=s.newBuffer(s.base64.length(e.msgs[r])),0):e.msgs[r].length&&(t.msgs[r]=e.msgs[r])}if(null!=e.fee){if("object"!=typeof e.fee)throw TypeError(".irisnet.tx.StdTx.fee: object expected");t.fee=u.irisnet.tx.StdFee.fromObject(e.fee)}if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".irisnet.tx.StdTx.signatures: array expected");for(t.signatures=[],r=0;r<e.signatures.length;++r){if("object"!=typeof e.signatures[r])throw TypeError(".irisnet.tx.StdTx.signatures: object expected");t.signatures[r]=u.irisnet.tx.StdSignature.fromObject(e.signatures[r])}}return null!=e.memo&&(t.memo=String(e.memo)),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.msgs=[],r.signatures=[]),t.defaults&&(r.fee=null,r.memo=""),e.msgs&&e.msgs.length){r.msgs=[];for(var n=0;n<e.msgs.length;++n)r.msgs[n]=t.bytes===String?s.base64.encode(e.msgs[n],0,e.msgs[n].length):t.bytes===Array?Array.prototype.slice.call(e.msgs[n]):e.msgs[n]}if(null!=e.fee&&e.hasOwnProperty("fee")&&(r.fee=u.irisnet.tx.StdFee.toObject(e.fee,t)),e.signatures&&e.signatures.length)for(r.signatures=[],n=0;n<e.signatures.length;++n)r.signatures[n]=u.irisnet.tx.StdSignature.toObject(e.signatures[n],t);return null!=e.memo&&e.hasOwnProperty("memo")&&(r.memo=e.memo),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,i.util.toJSONOptions)},e}(),n),A),e.exports=u},function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"default",function(){return C});var n=r(37),A=r(3),i=r(23),o=r(10),a=r(9),s=r(24),u=r(79),l=r(77),c=r(19),f=r(86),d=r(35);const g=r(122),h=r(177),p=r(228),I="m/44'/118'/0'/0/0",B="enigma";class C extends n.a{constructor(){super(A.c.ENIGMA,A.a.ENIGMA)}config(e){return{dappStoreTag:e.custom?Object(A.f)(e.blockchain).toLowerCase():e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:A.b.ENIGMA}}endorsedConflict(){return null}async getChainId(e){return new u.a(e.nodeAddress).get("/node_info").then(e=>e.result?e.result.network||e.result.node_info.network:"").catch(()=>"")}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!0}randomKeypair(e,t={}){return new Promise((e,t)=>{const r=c.a.randomMnemonic();if(!r)return void t();const n=c.a.mnemonicToPrivateKey(r,I);if(!n)return void t();const A=f.publicKeyCreate(n);e({mnemonic:r,privateKey:d.a.Hex.bytesToHex(n),extra:{publicKey:d.a.Hex.bytesToHex(A)}})})}mnemonicToPrivateKey(e,t,r={}){const n=c.a.mnemonicToPrivateKey(e,I),A=f.publicKeyCreate(n);return{privateKey:d.a.Hex.bytesToHex(n),extra:{publicKey:d.a.Hex.bytesToHex(A)}}}privateToPublic(e,t,r={}){const n=f.publicKeyCreate(d.a.Hex.hexToBytes(e));return d.a.Bech32.toBech32(B,this.publicKeyToAddress(n))}validMnemonic(e){return c.a.validateMnemonic(e)}validPrivateKey(e){return/^[0-9a-fA-F]{64}$/i.test(e)}validPublicKey(e){return d.a.Bech32.isBech32(B,e)}publicKeyToAddress(e){e.length>33&&(e=e.slice(5,e.length));let t=h(e),r=d.a.Hex.hexToBytes(t);return(new g).update(r).digest("hex").toUpperCase()}signer(t,r,n,A){r.decryptPrivateKey(({privateKey:t,options:r})=>{if(!t)return A(a.a.signatureRejected()),!1;try{if(n.hasOwnProperty("transaction")){const i=e.from(JSON.stringify(n.transaction)).toString("hex"),o=l.a.generateSignature(i,t,!1),a=e.from(o,"hex"),s=e.from(r.publicKey,"hex");A({signature:p.encode(a),pub_key:{type:"tendermint/PubKeySecp256k1",value:p.encode(s)}})}else{const{data:i,isHash:o}=n,a=l.a.generateSignature(o?i:e.from(i).toString("hex"),t,o),s=e.from(a,"hex"),u=e.from(r.publicKey,"hex");A({signature:p.encode(s),pub_key:{type:"tendermint/PubKeySecp256k1",value:p.encode(u)}})}}catch(e){console.log(e),A(a.a.invalidSignature())}},t)}signatureProvider(...e){}requestSelectedIdentity(e,t,r,n){const A=r.keychain.accounts.find(e=>e.networkUnique===t.unique()&&e.selected);A&&r.keychain.keypairs.find(e=>e.unique()===A.keypairUnique())?n({network:t,account:A}):n(a.a.identityRejected())}requestIdentity(e,t,r,n,A){const s=n.find(r=>e===r.domain&&t.unique()===r.account.networkUnique);s?A({network:t,account:s.account,whitelistChecked:!1,whitelist:{}}):i.a.open(new o.b(o.a.REQUEST_IDENTITY,e,t,{},r=>{!r||r.hasOwnProperty("isError")?A(a.a.identityRejected()):A({network:t,account:r.account,whitelistChecked:!0,whitelist:{domain:e,account:r.account}})}))}requestSignature(e,t,r,n,A,u,l,c){const{transaction:f}=u;i.a.open(new o.b(o.a.REQUEST_SIGNATURE,t,r,{messages:[f],signerAccount:n,showWhiteListCheck:!1},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return c(a.a.invalidSignature()),!1;s.a.plugin(r.blockchain).signer(A,e,{transaction:d.a.Sort.sortObjectKeys(f)},e=>{c({signature:e})})}))}requestArbitrarySignatrue(e,t,r,n,A,u,l){const{whatfor:c,data:f}=u;i.a.open(new o.b(o.a.REQUEST_ARBITRARY_SIGNATURE,t,r,{signerAccount:n,message:{whatfor:c,data:f}},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return l(a.a.signatureRejected()),!1;s.a.plugin(r.blockchain).signer(A,e,u,l)}))}}}.call(this,r(8).Buffer)},function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"default",function(){return Q});var n=r(37),A=r(3),i=r(191),o=r.n(i),a=r(47),s=r.n(a),u=r(386),l=r(387),c=r(9),f=r(88),d=r(44),g=r(23),h=r(10),p=r(94),I=r(24),B=r(19);let C=new WeakMap,m=new WeakMap;const y=(e,t)=>new Proxy(e,t);class Q extends n.a{constructor(){super(A.c.EOS,A.a.EOS)}config(e){const t={dappStoreTag:e.custom?Object(A.f)(e.blockchain).toLowerCase():e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:A.b.EOS};switch(e.chainId){case"d5a3d18fbb3c084e3b1f3fa98c21014b5f3db536cc15d08f9f6479517c6a3d86":t.eventLogTag=A.b.BOS;break;case"bd61ae3a031e8ef2f97ee3b0e62776d6d30d4833c8f7c1645c657b149151004b":t.eventLogTag=A.b.EOSFORCE;break;case"4667b205c6838ef70ff7988f6e8257e8be0e1284a2f59699054a018f743b1d11":t.eventLogTag=A.b.TELOS;break;case"cfe6486a83bad4962f232d48003b1824ab5665c36778141034d75e57b956e422":t.eventLogTag=A.b.MEETONE;break;case"73647cde120091e0a4b85bced2f3cfdb3041e266cbbe95cee59b73235a1b3b6f":t.eventLogTag=A.b.WORBLI;break;case"1064487b3cd1a897ce03ae5b6a865651747e2e152090f99c1d19d44e01aea5a4":t.eventLogTag=A.b.WAX;break;case"ed8636abfe625d99fc9a759d49a016fd8dcae9193676a020aae2540c9fffe32f":t.eventLogTag=A.b.YAS}return t}async getChainId(e){return o()({httpEndpoint:e.nodeAddress}).getInfo({}).then(e=>e.chain_id||"").catch(()=>"")}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!0}randomKeypair(e,t={}){return new Promise((e,t)=>{const r=B.a.randomMnemonic();if(!r)return void t();const n=B.a.mnemonicToSeedByDerive(r,"m/44'/194'/0'/0/0");e({mnemonic:r,privateKey:s.a.PrivateKey.fromBuffer(n).toWif()})})}mnemonicToPrivateKey(e,t,r={}){const n=B.a.mnemonicToSeedByDerive(e,"m/44'/194'/0'/0/0");return{privateKey:s.a.PrivateKey.fromBuffer(n).toWif()}}privateToPublic(e,t,r={}){return s.a.privateToPublic(e)}validMnemonic(e){return B.a.validateMnemonic(e)}validPrivateKey(e){return e.length>=50&&s.a.isValidPrivate(e)}validPublicKey(e){return s.a.isValidPublic(e)}getAccount(e,t){return o()({httpEndpoint:t.nodeAddress,chainId:t.chainId}).getAccount(e)}getKeyAccounts(e,t){return o()({httpEndpoint:t.nodeAddress,chainId:t.chainId}).getKeyAccounts(e)}signer(t,r,n,A,i=!1,o=!1){r.decryptPrivateKey(({privateKey:t})=>{if(!t)return A(c.a.signatureRejected()),!1;let r;r=i&&o?s.a.Signature.signHash(n.data,t).toString():s.a.sign(e.from(i?n.data:n.buf.data,"utf8"),t),A(r)},t)}signatureProvider(...e){return C=e[0],m=e[1],(e,t,r={},n="http")=>{if(!["http","https","ws"].includes(n))throw new c.a("Protocol must be either http, https, or ws");if(e.hasOwnProperty("protocol")&&e.protocol.length||(e.protocol=n),!(e=l.a.fromJson(e)).isValid())throw c.a.invalidNetwork();const A=`${e.protocol}://${e.hostport()}`,i=e.hasOwnProperty("chainId")&&e.chainId.length?e.chainId:r.chainId;return e.chainId=i,y(t({httpEndpoint:A,chainId:i}),{get(n,o){let a=null;return(...n)=>{if(n.find(e=>e.hasOwnProperty("keyProvider")))throw c.a.usedKeyProvider();const s=async t=>{m(),t.messages=await w(t,e);const r=Object.assign(t,{domain:Object(f.a)(),network:e}),A=await C(d.h,r);if(!A)return null;if(A.hasOwnProperty("signatures")){a=A.returnedFields;let e=n.find(e=>e.hasOwnProperty("signProvider"));return e&&A.signatures.push(e.signProvider(t.buf,t.sign)),A.signatures}return A};return new Promise((e,u)=>{t(Object.assign(r,{httpEndpoint:A,signProvider:s,chainId:i}))[o](...n).then(t=>{if(!t.hasOwnProperty("fc"))return t=Object.assign(t,{returnedFields:a}),void e(t);const r=y(t,{get:(e,t)=>"then"===t?e[t]:(...r)=>new Promise(async(n,A)=>{e[t](...r).then(e=>{n(Object.assign(e,{returnedFields:a}))}).catch(A)})});e(r)}).catch(e=>u(e))})}}})}}requestSelectedIdentity(e,t,r,n){r.keychain.accounts.find(e=>e.networkUnique===t.unique()&&e.selected)?n({network:t,account:response.account}):n(c.a.identityRejected())}requestIdentity(e,t,r,n,A){const i=n.find(r=>e===r.domain&&t.unique()===r.account.networkUnique);i?A({network:t,account:i.account,whitelistChecked:!1,whitelist:{}}):g.a.open(new h.b(h.a.REQUEST_IDENTITY,e,t,{},r=>{!r||r.hasOwnProperty("isError")?A(c.a.identityRejected()):A({network:t,account:r.account,whitelistChecked:!0,whitelist:{domain:e,account:r.account}})}))}requestSignature(e,t,r,n,A,i,o,a){const s=i.messages;if(!p.a.flatten(s.map(e=>e.authorization.map(e=>`${e.actor}@${e.permission}`))).includes(n.formatted()))return void a(c.a.signatureRejected());const u={signerAccountUnique:n.unique(),domain:t,whitelistObject:[]};s.forEach(e=>{u.whitelistObject.push({code:e.code,authorization:e.authorization,type:e.type})}),o.find(e=>p.a.deepEqual(e,u))?I.a.plugin(r.blockchain).signer(A,e,i,e=>{a({signature:e,whitelistChecked:!1,whitelist:{}})},!1,!1):g.a.open(new h.b(h.a.REQUEST_SIGNATURE,t,r,{messages:s,signerAccount:n,showWhiteListCheck:!0},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return a(c.a.signatureRejected()),!1;const n=!!t.hasOwnProperty("whitelistChecked")&&t.whitelistChecked;I.a.plugin(r.blockchain).signer(A,e,i,e=>{a({signature:e,whitelistChecked:n,whitelist:u})},!1,!1)}))}requestArbitrarySignatrue(e,t,r,n,A,i,o){g.a.open(new h.b(h.a.REQUEST_ARBITRARY_SIGNATURE,t,r,{signerAccount:n,message:{whatfor:i.whatfor,data:i.data}},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return o(c.a.signatureRejected()),!1;I.a.plugin(r.blockchain).signer(A,e,i,o,!0,i.isHash)}))}}const w=async(e,t)=>{const r=o()({httpEndpoint:t.fullhost(),chainId:t.chainId}),n=e.transaction.actions.map(e=>e.account).reduce((e,t)=>(e.includes(t)||e.push(t),e),[]),A={};return await Promise.all(n.map(async e=>{A[e]=(await r.contract(e)).fc})),await Promise.all(e.transaction.actions.map(async(e,t)=>{const r=e.account;let n=A[r];const i=n.abi.actions.find(t=>t.name===e.name).type,o=n.fromBuffer(i,e.data),a=n.abi.actions.find(t=>t.name===e.name);let s=a?a.ricardian_contract:null;if(s){const t={h1:'div class="ricardian-action"',h2:'div class="ricardian-description"'},r=1===e.authorization.length?e.authorization[0].actor:null;s=u.parse(e.name,o,s,r,t)}return{data:o,code:e.account,type:e.name,authorization:e.authorization}}))}}.call(this,r(8).Buffer)},function(e,t,r){e.exports=r(1632)},function(e,t,r){"use strict";var n=r(341),A=r(929),i=r(932),o=r(230),a=r(292),s=r(1639),u=r(506),l=r(1646),c=r(159)("iterator"),f=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,r,g,h,p,I){s(r,t,g);var B,C,m,y=function(e){if(!f&&e in b)return b[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},Q=t+" Iterator",w="values"==h,E=!1,b=e.prototype,v=b[c]||b["@@iterator"]||h&&b[h],D=v||y(h),M=h?w?y("entries"):D:void 0,k="Array"==t&&b.entries||v;if(k&&(m=l(k.call(new e)))!==Object.prototype&&m.next&&(u(m,Q,!0),n||"function"==typeof m[c]||o(m,c,d)),w&&v&&"values"!==v.name&&(E=!0,D=function(){return v.call(this)}),n&&!I||!f&&!E&&b[c]||o(b,c,D),a[t]=D,a[Q]=d,h)if(B={values:w?D:y("values"),keys:p?D:y("keys"),entries:M},I)for(C in B)C in b||i(b,C,B[C]);else A(A.P+A.F*(f||E),t,B);return B}},function(e,t,r){var n=r(185),A=r(204),i=r(1637),o=r(230),a=r(205),s=function(e,t,r){var u,l,c,f=e&s.F,d=e&s.G,g=e&s.S,h=e&s.P,p=e&s.B,I=e&s.W,B=d?A:A[t]||(A[t]={}),C=B.prototype,m=d?n:g?n[t]:(n[t]||{}).prototype;for(u in d&&(r=t),r)(l=!f&&m&&void 0!==m[u])&&a(B,u)||(c=l?m[u]:r[u],B[u]=d&&"function"!=typeof m[u]?r[u]:p&&l?i(c,n):I&&m[u]==c?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(c):h&&"function"==typeof c?i(Function.call,c):c,h&&((B.virtual||(B.virtual={}))[u]=c,e&s.R&&C&&!C[u]&&o(C,u,c)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,r){e.exports=!r(232)&&!r(342)(function(){return 7!=Object.defineProperty(r(931)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){var n=r(291),A=r(185).document,i=n(A)&&n(A.createElement);e.exports=function(e){return i?A.createElement(e):{}}},function(e,t,r){e.exports=r(230)},function(e,t,r){var n=r(290),A=r(1640),i=r(505),o=r(503)("IE_PROTO"),a=function(){},s=function(){var e,t=r(931)("iframe"),n=i.length;for(t.style.display="none",r(1645).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;n--;)delete s.prototype[i[n]];return s()};e.exports=Object.create||function(e,t){var r;return null!==e?(a.prototype=n(e),r=new a,a.prototype=null,r[o]=e):r=s(),void 0===t?r:A(r,t)}},function(e,t,r){var n=r(205),A=r(233),i=r(1642)(!1),o=r(503)("IE_PROTO");e.exports=function(e,t){var r,a=A(e),s=0,u=[];for(r in a)r!=o&&n(a,r)&&u.push(r);for(;t.length>s;)n(a,r=t[s++])&&(~i(u,r)||u.push(r));return u}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){var n=r(934),A=r(505).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,A)}},function(e,t,r){"use strict";var n=r(1662),A=r(1665),i=r(938),o=function(e){return A("v1",n,e)};Object.assign(o,{processArgs:i,api:n,Testnet:function(e){return console.error("deprecated, change EosApi.Testnet(..) to just EosApi(..)"),o(e)},Localnet:function(e){return console.error("deprecated, change EosApi.Localnet(..) to just EosApi(..)"),o(e)}}),e.exports=o},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"method",A=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i={},o={},a=t.length,s=void 0;"function"==typeof e[e.length-1]&&(s=e[e.length-1],e=e.slice(0,e.length-1));var u=void 0,l=void 0;s?u=function(e,t){e?s(e):s(null,t)}:l=new Promise(function(e,t){u=function(r,n){r?t(r):e(n)}});"function"==typeof A&&e.length>0&&("object"===n(e[0])&&2===e.length||e.length===a+1)&&null!=(o=A(e[e.length-1]))&&(e=e.slice(0,e.length-1));if(1===e.length&&"object"===n(e[0]))i=e[0];else{if(e.length>a)throw new TypeError(r+" is expecting "+a+" parameters but "+e.length+" where provided");var c=0,f=!0,d=!1,g=void 0;try{for(var h,p=t[Symbol.iterator]();!(f=(h=p.next()).done);f=!0){var I=h.value;i[I]=e[c],c++}}catch(e){d=!0,g=e}finally{try{!f&&p.return&&p.return()}finally{if(d)throw g}}}return{params:i,options:o,callback:u,returnPromise:l}}},function(e,t,r){var n=r(502),A=r(159)("toStringTag"),i="Arguments"==n(function(){return arguments}());e.exports=function(e){var t,r,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),A))?r:i?n(t):"Object"==(o=n(t))&&"function"==typeof t.callee?"Arguments":o}},function(e,t,r){"use strict";var n=Object.assign({},r(1674));e.exports=n},function(e,t,r){"use strict";var n=i(r(512)),A=i(r(289));function i(e){return e&&e.__esModule?e:{default:e}}var o=r(36),a=r(109).Long;e.exports={ULong:s,isName:function(e,t){try{return c(e),!0}catch(e){return t&&t(e),!1}},encodeName:c,decodeName:f,encodeNameHex:function(e){return a.fromString(c(e),!0).toString(16)},decodeNameHex:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return f(a.fromString(e,!0,16).toString(),t)},DecimalString:d,DecimalPad:g,DecimalImply:function(e,t){return g(e,t).replace(".","")},DecimalUnimply:function(e,t){o(null!=e,"value is required"),e="object"===e&&e.toString?e.toString():String(e);var r=/^-/.test(e);r&&(e=e.substring(1));o(/^\d+$/.test(e),"invalid whole number "+e),o(null!=t,"precision required"),o(t>=0&&t<=18,"Precision should be 18 characters or less");var n=t-e.length;n>0&&(e=""+"0".repeat(n)+e);var A=e.length-t;return e=e.slice(0,A)+"."+e.slice(A),(r?"-":"")+g(e,t)},printAsset:h,parseAsset:function(e){var t=e.split(" "),r=(0,n.default)(t,1)[0].match(/^(-?[0-9]+(\.[0-9]+)?)( |$)/),A=r?r[1]:null,i=e.match(/(^| )([0-9]+),([A-Z]+)(@|$)/),a=i?Number(i[2]):null,s=A?(A.split(".")[1]||"").length:null,u=null!=a?a:s,l=e.match(/(^| |,)([A-Z]+)(@|$)/),c=l?l[2]:null,f=e.split("@"),d=(0,n.default)(f,2)[1],g=void 0===d?"":d,p=/^[a-z0-5]+(\.[a-z0-5]+)*$/.test(g)?g:null,I=h({amount:A,precision:u,symbol:c,contract:p});o.equal(e,I,"Invalid asset string: "+e+" !== "+I),null!=u&&o(u>=0&&u<=18,"Precision should be 18 characters or less");null!=c&&o(c.length<=7,"Asset symbol is 7 characters or less");null!=p&&o(p.length<=12,"Contract is 12 characters or less");return{amount:A,precision:u,symbol:c,contract:p}}};function s(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;if("number"==typeof e){if(e>Number.MAX_SAFE_INTEGER)throw new TypeError("value parameter overflow");e=a.fromString(String(e),t,r)}else if("string"==typeof e)e=a.fromString(e,t,r);else if(!a.isLong(e))throw new TypeError("value parameter is a requied Long, Number or String");return e}var u=".12345abcdefghijklmnopqrstuvwxyz",l=function(e){var t=u.indexOf(e);if(-1===t)throw new TypeError("Invalid character: '"+e+"'");return t};function c(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if("string"!=typeof e)throw new TypeError("name parameter is a required string");if(e.length>12)throw new TypeError("A name can be up to 12 characters long");for(var r="",n=0;n<=12;n++){var A=n<e.length?l(e[n]):0,i=n<12?5:4,o=Number(A).toString(2);if(o.length>i)throw new TypeError("Invalid name "+e);r+=o="0".repeat(i-o.length)+o}var s=a.fromString(r,!0,2),u="",c=t?s.toBytesLE():s.toBytesBE(),f=!0,d=!1,g=void 0;try{for(var h,p=c[Symbol.iterator]();!(f=(h=p.next()).done);f=!0){var I=h.value,B=Number(I).toString(16);u+=(1===B.length?"0":"")+B}}catch(e){d=!0,g=e}finally{try{!f&&p.return&&p.return()}finally{if(d)throw g}}return a.fromString(u,!0,16).toString().toString()}function f(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e=s(e);var r="",n=t?e.toBytesLE():e.toBytesBE(),A=!0,i=!1,o=void 0;try{for(var l,c=n[Symbol.iterator]();!(A=(l=c.next()).done);A=!0){var f=l.value,d=Number(f).toString(16);r+=(1===d.length?"0":"")+d}}catch(e){i=!0,o=e}finally{try{!A&&c.return&&c.return()}finally{if(i)throw o}}r+="0".repeat(16-r.length);for(var g=a.fromNumber(31,!0),h=a.fromNumber(15,!0),p="",I=a.fromString(r,!0,16),B=0;B<=12;B++){p=u[I.and(0===B?h:g)]+p,I=I.shiftRight(0===B?4:5)}return p=p.replace(/\.+$/,"")}function d(e){o(null!=e,"value is required"),e="object"===e&&e.toString?e.toString():String(e);var t=/^-/.test(e);t&&(e=e.substring(1)),"."===e[0]&&(e="0"+e);var r=e.split(".");return o(r.length<=2,"invalid decimal "+e),o(/^\d+(,?\d)*\d*$/.test(r[0]),"invalid decimal "+e),2===r.length&&(o(/^\d*$/.test(r[1]),"invalid decimal "+e),r[1]=r[1].replace(/0+$/,""),""===r[1]&&r.pop()),r[0]=r[0].replace(/^0*/,""),""===r[0]&&(r[0]="0"),(t?"-":"")+r.join(".")}function g(e,t){var r=d(e);if(null==t)return r;o(t>=0&&t<=18,"Precision should be 18 characters or less");var n=r.split(".");if(0===t&&1===n.length)return n[0];if(1===n.length)return n[0]+"."+"0".repeat(t);var A=t-n[1].length;return o(A>=0,"decimal '"+r+"' exceeds precision "+t),n[0]+"."+n[1]+"0".repeat(A)}function h(e){var t=e.amount,r=e.precision,n=e.symbol,i=e.contract;o.equal(void 0===n?"undefined":(0,A.default)(n),"string","symbol is a required string"),null!=t&&null!=r&&(t=g(t,r));var a=function(e,t){return null==e?"":null==t?"":e+t};return null!=t?a(t," ")+n+a("@",i):a(r,",")+n+a("@",i)}},function(e,t,r){"use strict";r.r(t),r.d(t,"default",function(){return I});var n=r(3),A=r(37),i=r(23),o=r(10),a=r(9),s=r(24),u=r(309),l=r.n(u),c=r(19);const f=r(490),d=r(496),g="m/44'/60'/0'/0/0",h="m/44'/61'/0'/0/0",p="m/44'/889'/0'/0/0";class I extends A.a{constructor(){super(n.c.ETH,n.a.ETH)}config(e){const t={dappStoreTag:e.custom?Object(n.f)(e.blockchain).toLowerCase():e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:n.b.ETH};switch(e.extra){case"classic":t.eventLogTag=n.b.ETC;break;case"tomo":t.eventLogTag=n.b.TOMO}return t}async getChainId(e){return await new Promise((t,r)=>{new l.a.providers.HttpProvider(e.nodeAddress,1e4).sendAsync({jsonrpc:"2.0",method:"net_version",params:[],id:1},(e,n)=>{e?r(e):t(n.result)})})}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!0}static mnemonicDerivePath(e){if(!e||!e.hasOwnProperty("extra"))return g;switch(e.extra){case"classic":return h;case"tomo":return p;default:return g}}randomKeypair(e,t={}){return new Promise((t,r)=>{const n=c.a.randomMnemonic();if(!n)return void r();const A=c.a.mnemonicToSeedByDerive(n,I.mnemonicDerivePath(e));t({mnemonic:n,privateKey:f.addHexPrefix(A.toString("hex"))})})}mnemonicToPrivateKey(e,t,r={}){const n=c.a.mnemonicToSeedByDerive(e,I.mnemonicDerivePath(t));return{privateKey:f.addHexPrefix(n.toString("hex"))}}privateToPublic(e,t,r={}){const n=f.toBuffer(f.addHexPrefix(e)),A=f.privateToAddress(n);return f.addHexPrefix(A.toString("hex"))}validMnemonic(e){return c.a.validateMnemonic(e)}validPrivateKey(e){const t=f.toBuffer(f.addHexPrefix(e));return f.isValidPrivate(t)}validPublicKey(e){return f.isValidAddress(e)}signer(e,t,r,n){t.decryptPrivateKey(({privateKey:e})=>{if(!e)return n(a.a.signatureRejected()),!1;const t=f.addHexPrefix(e);if("string"==typeof r){const e=f.hashPersonalMessage(f.toBuffer(r)),A=f.ecsign(e,f.toBuffer(t)),i=f.toRpcSig(A.v,A.r,A.s);n(i)}else{const e=new d(r);e.sign(f.toBuffer(t));const A=f.addHexPrefix(e.serialize().toString("hex"));n(A)}},e)}signatureProvider(...e){}requestSelectedIdentity(e,t,r,n){const A=r.keychain.accounts.find(e=>e.networkUnique===t.unique()&&e.selected);n(A?{network:t,account:A}:a.a.identityRejected())}requestIdentity(e,t,r,n,A){i.a.open(new o.b(o.a.REQUEST_IDENTITY,e,t,{},e=>{!e||e.hasOwnProperty("isError")?A(a.a.identityRejected()):A({network:t,account:e.account})}))}requestSignature(e,t,r,n,A,u,c,f){const d=new l.a(new l.a.providers.HttpProvider(r.nodeAddress)),g=u=>{const l={nonce:d.toDecimal(u.nonce),from:u.from,to:u.to,value:d.fromWei(u.value,"ether"),data:u.data,gasPrice:d.fromWei(u.gasPrice,"gwei"),gasLimit:d.fromWei(u.gasLimit||u.gas,"wei")};i.a.open(new o.b(o.a.REQUEST_SIGNATURE,t,r,{messages:[l],signerAccount:n,showWhiteListCheck:!1},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return f(a.a.signatureRejected()),!1;s.a.plugin(r.blockchain).signer(A,e,u,e=>{e&&e.hasOwnProperty("isError")?f(e):d.eth.sendRawTransaction(e,function(e,t){f({signature:e||t})})})}))},{transaction:h}=u;void 0===h.nonce&&(h.nonce=d.eth.getTransactionCount(h.from,"pending")),void 0===h.gasPrice?fetch("https://www.etherchain.org/api/gasPriceOracle").then(e=>e.json()).then(e=>{h.gasPrice=d.toHex(d.toWei(e.fast,"gwei")),void 0===h.gas&&(h.gas=d.toHex(d.eth.estimateGas(h))),g(h)}).catch(e=>{h.gasPrice=d.toHex(d.toWei(6,"gwei")),void 0===h.gas&&(h.gas=d.toHex(d.eth.estimateGas(h))),g(h)}):(void 0===h.gas&&(h.gas=d.toHex(d.eth.estimateGas(h))),g(h))}requestArbitrarySignatrue(e,t,r,n,A,u,l){const c=f.toBuffer(f.addHexPrefix(u.data)).toString("utf-8");i.a.open(new o.b(o.a.REQUEST_ARBITRARY_SIGNATURE,t,r,{signerAccount:n,message:{whatfor:"Message",data:c}},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return l(a.a.signatureRejected()),!1;s.a.plugin(r.blockchain).signer(A,e,u.data,l)}))}}},function(e,t){var r={messageId:0,toPayload:function(e,t){return e||console.error("jsonrpc method should be specified!"),r.messageId++,{jsonrpc:"2.0",id:r.messageId,method:e,params:t||[]}},isValidResponse:function(e){return Array.isArray(e)?e.every(t):t(e);function t(e){return!!e&&!e.error&&"2.0"===e.jsonrpc&&"number"==typeof e.id&&void 0!==e.result}},toBatchPayload:function(e){return e.map(function(e){return r.toPayload(e.method,e.params)})}};e.exports=r},function(e,t,r){var n;e.exports=(n=r(40),function(e){var t=n,r=t.lib,A=r.WordArray,i=r.Hasher,o=t.algo,a=[],s=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,A=0;A<64;)t(n)&&(A<8&&(a[A]=r(e.pow(n,.5))),s[A]=r(e.pow(n,1/3)),A++),n++}();var u=[],l=o.SHA256=i.extend({_doReset:function(){this._hash=new A.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],A=r[1],i=r[2],o=r[3],a=r[4],l=r[5],c=r[6],f=r[7],d=0;d<64;d++){if(d<16)u[d]=0|e[t+d];else{var g=u[d-15],h=(g<<25|g>>>7)^(g<<14|g>>>18)^g>>>3,p=u[d-2],I=(p<<15|p>>>17)^(p<<13|p>>>19)^p>>>10;u[d]=h+u[d-7]+I+u[d-16]}var B=n&A^n&i^A&i,C=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),m=f+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&l^~a&c)+s[d]+u[d];f=c,c=l,l=a,a=o+m|0,o=i,i=A,A=n,n=m+(C+B)|0}r[0]=r[0]+n|0,r[1]=r[1]+A|0,r[2]=r[2]+i|0,r[3]=r[3]+o|0,r[4]=r[4]+a|0,r[5]=r[5]+l|0,r[6]=r[6]+c|0,r[7]=r[7]+f|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,A=8*t.sigBytes;return r[A>>>5]|=128<<24-A%32,r[14+(A+64>>>9<<4)]=e.floor(n/4294967296),r[15+(A+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(l),t.HmacSHA256=i._createHmacHelper(l)}(Math),n.SHA256)},function(e,t,r){var n;e.exports=(n=r(40),r(345),function(){var e=n,t=e.lib.Hasher,r=e.x64,A=r.Word,i=r.WordArray,o=e.algo;function a(){return A.create.apply(A,arguments)}var s=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],u=[];!function(){for(var e=0;e<80;e++)u[e]=a()}();var l=o.SHA512=t.extend({_doReset:function(){this._hash=new i.init([new A.init(1779033703,4089235720),new A.init(3144134277,2227873595),new A.init(1013904242,4271175723),new A.init(2773480762,1595750129),new A.init(1359893119,2917565137),new A.init(2600822924,725511199),new A.init(528734635,4215389547),new A.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],A=r[1],i=r[2],o=r[3],a=r[4],l=r[5],c=r[6],f=r[7],d=n.high,g=n.low,h=A.high,p=A.low,I=i.high,B=i.low,C=o.high,m=o.low,y=a.high,Q=a.low,w=l.high,E=l.low,b=c.high,v=c.low,D=f.high,M=f.low,k=d,_=g,S=h,N=p,F=I,x=B,G=C,H=m,U=y,Y=Q,L=w,O=E,K=b,P=v,R=D,T=M,J=0;J<80;J++){var j=u[J];if(J<16)var q=j.high=0|e[t+2*J],V=j.low=0|e[t+2*J+1];else{var W=u[J-15],z=W.high,Z=W.low,X=(z>>>1|Z<<31)^(z>>>8|Z<<24)^z>>>7,$=(Z>>>1|z<<31)^(Z>>>8|z<<24)^(Z>>>7|z<<25),ee=u[J-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,Ae=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),ie=u[J-7],oe=ie.high,ae=ie.low,se=u[J-16],ue=se.high,le=se.low;q=(q=(q=X+oe+((V=$+ae)>>>0<$>>>0?1:0))+ne+((V+=Ae)>>>0<Ae>>>0?1:0))+ue+((V+=le)>>>0<le>>>0?1:0),j.high=q,j.low=V}var ce,fe=U&L^~U&K,de=Y&O^~Y&P,ge=k&S^k&F^S&F,he=_&N^_&x^N&x,pe=(k>>>28|_<<4)^(k<<30|_>>>2)^(k<<25|_>>>7),Ie=(_>>>28|k<<4)^(_<<30|k>>>2)^(_<<25|k>>>7),Be=(U>>>14|Y<<18)^(U>>>18|Y<<14)^(U<<23|Y>>>9),Ce=(Y>>>14|U<<18)^(Y>>>18|U<<14)^(Y<<23|U>>>9),me=s[J],ye=me.high,Qe=me.low,we=R+Be+((ce=T+Ce)>>>0<T>>>0?1:0),Ee=Ie+he;R=K,T=P,K=L,P=O,L=U,O=Y,U=G+(we=(we=(we=we+fe+((ce+=de)>>>0<de>>>0?1:0))+ye+((ce+=Qe)>>>0<Qe>>>0?1:0))+q+((ce+=V)>>>0<V>>>0?1:0))+((Y=H+ce|0)>>>0<H>>>0?1:0)|0,G=F,H=x,F=S,x=N,S=k,N=_,k=we+(pe+ge+(Ee>>>0<Ie>>>0?1:0))+((_=ce+Ee|0)>>>0<ce>>>0?1:0)|0}g=n.low=g+_,n.high=d+k+(g>>>0<_>>>0?1:0),p=A.low=p+N,A.high=h+S+(p>>>0<N>>>0?1:0),B=i.low=B+x,i.high=I+F+(B>>>0<x>>>0?1:0),m=o.low=m+H,o.high=C+G+(m>>>0<H>>>0?1:0),Q=a.low=Q+Y,a.high=y+U+(Q>>>0<Y>>>0?1:0),E=l.low=E+O,l.high=w+L+(E>>>0<O>>>0?1:0),v=c.low=v+P,c.high=b+K+(v>>>0<P>>>0?1:0),M=f.low=M+T,f.high=D+R+(M>>>0<T>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(l),e.HmacSHA512=t._createHmacHelper(l)}(),n.SHA512)},function(e,t,r){var n;e.exports=(n=r(40),r(345),function(e){var t=n,r=t.lib,A=r.WordArray,i=r.Hasher,o=t.x64.Word,a=t.algo,s=[],u=[],l=[];!function(){for(var e=1,t=0,r=0;r<24;r++){s[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)u[e+5*t]=t+(2*e+3*t)%5*5;for(var A=1,i=0;i<24;i++){for(var a=0,c=0,f=0;f<7;f++){if(1&A){var d=(1<<f)-1;d<32?c^=1<<d:a^=1<<d-32}128&A?A=A<<1^113:A<<=1}l[i]=o.create(a,c)}}();var c=[];!function(){for(var e=0;e<25;e++)c[e]=o.create()}();var f=a.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,A=0;A<n;A++){var i=e[t+2*A],o=e[t+2*A+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),(M=r[A]).high^=o,M.low^=i}for(var a=0;a<24;a++){for(var f=0;f<5;f++){for(var d=0,g=0,h=0;h<5;h++)d^=(M=r[f+5*h]).high,g^=M.low;var p=c[f];p.high=d,p.low=g}for(f=0;f<5;f++){var I=c[(f+4)%5],B=c[(f+1)%5],C=B.high,m=B.low;for(d=I.high^(C<<1|m>>>31),g=I.low^(m<<1|C>>>31),h=0;h<5;h++)(M=r[f+5*h]).high^=d,M.low^=g}for(var y=1;y<25;y++){var Q=(M=r[y]).high,w=M.low,E=s[y];E<32?(d=Q<<E|w>>>32-E,g=w<<E|Q>>>32-E):(d=w<<E-32|Q>>>64-E,g=Q<<E-32|w>>>64-E);var b=c[u[y]];b.high=d,b.low=g}var v=c[0],D=r[0];for(v.high=D.high,v.low=D.low,f=0;f<5;f++)for(h=0;h<5;h++){var M=r[y=f+5*h],k=c[y],_=c[(f+1)%5+5*h],S=c[(f+2)%5+5*h];M.high=k.high^~_.high&S.high,M.low=k.low^~_.low&S.low}M=r[0];var N=l[a];M.high^=N.high,M.low^=N.low}},_doFinalize:function(){var t=this._data,r=t.words,n=(this._nDataBytes,8*t.sigBytes),i=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(e.ceil((n+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*r.length,this._process();for(var o=this._state,a=this.cfg.outputLength/8,s=a/8,u=[],l=0;l<s;l++){var c=o[l],f=c.high,d=c.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),u.push(d),u.push(f)}return new A.init(u,a)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});t.SHA3=i._createHelper(f),t.HmacSHA3=i._createHmacHelper(f)}(Math),n.SHA3)},function(e,t,r){var n=r(75),A=function(e,t){this.value=e||"",this.offset=t};A.prototype.dynamicPartLength=function(){return this.dynamicPart().length/2},A.prototype.withOffset=function(e){return new A(this.value,e)},A.prototype.combine=function(e){return new A(this.value+e.value)},A.prototype.isDynamic=function(){return void 0!==this.offset},A.prototype.offsetAsBytes=function(){return this.isDynamic()?n.padLeft(n.toTwosComplement(this.offset).toString(16),64):""},A.prototype.staticPart=function(){return this.isDynamic()?this.offsetAsBytes():this.value},A.prototype.dynamicPart=function(){return this.isDynamic()?this.value:""},A.prototype.encode=function(){return this.staticPart()+this.dynamicPart()},A.encodeList=function(e){var t=32*e.length,r=e.map(function(e){if(!e.isDynamic())return e;var r=t;return t+=e.dynamicPartLength(),e.withOffset(r)});return r.reduce(function(e,t){return e+t.dynamicPart()},r.reduce(function(e,t){return e+t.staticPart()},""))},e.exports=A},function(e,t,r){var n=r(75),A=r(515),i=r(186),o=r(294),a=r(348),s=r(349),u=function(e,t,r){this._requestManager=e,this._params=t.inputs,this._name=n.transformToFullName(t),this._address=r,this._anonymous=t.anonymous};u.prototype.types=function(e){return this._params.filter(function(t){return t.indexed===e}).map(function(e){return e.type})},u.prototype.displayName=function(){return n.extractDisplayName(this._name)},u.prototype.typeName=function(){return n.extractTypeName(this._name)},u.prototype.signature=function(){return o(this._name)},u.prototype.encode=function(e,t){e=e||{},t=t||{};var r={};["fromBlock","toBlock"].filter(function(e){return void 0!==t[e]}).forEach(function(e){r[e]=i.inputBlockNumberFormatter(t[e])}),r.topics=[],r.address=this._address,this._anonymous||r.topics.push("0x"+this.signature());var o=this._params.filter(function(e){return!0===e.indexed}).map(function(t){var r=e[t.name];return null==r?null:n.isArray(r)?r.map(function(e){return"0x"+A.encodeParam(t.type,e)}):"0x"+A.encodeParam(t.type,r)});return r.topics=r.topics.concat(o),r},u.prototype.decode=function(e){e.data=e.data||"",e.topics=e.topics||[];var t=(this._anonymous?e.topics:e.topics.slice(1)).map(function(e){return e.slice(2)}).join(""),r=A.decodeParams(this.types(!0),t),n=e.data.slice(2),o=A.decodeParams(this.types(!1),n),a=i.outputLogFormatter(e);return a.event=this.displayName(),a.address=e.address,a.args=this._params.reduce(function(e,t){return e[t.name]=t.indexed?r.shift():o.shift(),e},{}),delete a.data,delete a.topics,a},u.prototype.execute=function(e,t,r){n.isFunction(arguments[arguments.length-1])&&(r=arguments[arguments.length-1],2===arguments.length&&(t=null),1===arguments.length&&(t=null,e={}));var A=this.encode(e,t),i=this.decode.bind(this);return new a(A,"eth",this._requestManager,s.eth(),i,r)},u.prototype.attachToContract=function(e){var t=this.execute.bind(this),r=this.displayName();e[r]||(e[r]=t),e[r][this.typeName()]=this.execute.bind(this,e)},e.exports=u},function(e,t,r){(function(e){var n=r(1738),A=r(951),i=r(1069),o=r(1740),a=r(516),s=t;s.request=function(t,r){t="string"==typeof t?a.parse(t):i(t);var A=-1===e.location.protocol.search(/^https?:$/)?"http:":"",o=t.protocol||A,s=t.hostname||t.host,u=t.port,l=t.path||"/";s&&-1!==s.indexOf(":")&&(s="["+s+"]"),t.url=(s?o+"//"+s:"")+(u?":"+u:"")+l,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var c=new n(t);return r&&c.on("response",r),c},s.get=function(e,t){var r=s.request(e,t);return r.end(),r},s.ClientRequest=n,s.IncomingMessage=A.IncomingMessage,s.Agent=function(){},s.Agent.defaultMaxSockets=4,s.globalAgent=new s.Agent,s.STATUS_CODES=o,s.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,r(34))},function(e,t,r){(function(e){t.fetch=a(e.fetch)&&a(e.ReadableStream),t.writableStream=a(e.WritableStream),t.abortController=a(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(e){}var r;function n(){if(void 0!==r)return r;if(e.XMLHttpRequest){r=new e.XMLHttpRequest;try{r.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){r=null}}else r=null;return r}function A(e){var t=n();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}var i=void 0!==e.ArrayBuffer,o=i&&a(e.ArrayBuffer.prototype.slice);function a(e){return"function"==typeof e}t.arraybuffer=t.fetch||i&&A("arraybuffer"),t.msstream=!t.fetch&&o&&A("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&i&&A("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!n()&&a(n().overrideMimeType),t.vbArray=a(e.VBArray),r=null}).call(this,r(34))},function(e,t,r){(function(e,n,A){var i=r(950),o=r(20),a=r(195),s=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},u=t.IncomingMessage=function(t,r,o,s){var u=this;if(a.Readable.call(u),u._mode=o,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",function(){e.nextTick(function(){u.emit("close")})}),"fetch"===o){if(u._fetchResponse=r,u.url=r.url,u.statusCode=r.status,u.statusMessage=r.statusText,r.headers.forEach(function(e,t){u.headers[t.toLowerCase()]=e,u.rawHeaders.push(t,e)}),i.writableStream){var l=new WritableStream({write:function(e){return new Promise(function(t,r){u._destroyed?r():u.push(new n(e))?t():u._resumeFetch=t})},close:function(){A.clearTimeout(s),u._destroyed||u.push(null)},abort:function(e){u._destroyed||u.emit("error",e)}});try{return void r.body.pipeTo(l).catch(function(e){A.clearTimeout(s),u._destroyed||u.emit("error",e)})}catch(e){}}var c=r.body.getReader();!function e(){c.read().then(function(t){if(!u._destroyed){if(t.done)return A.clearTimeout(s),void u.push(null);u.push(new n(t.value)),e()}}).catch(function(e){A.clearTimeout(s),u._destroyed||u.emit("error",e)})}()}else{if(u._xhr=t,u._pos=0,u.url=t.responseURL,u.statusCode=t.status,u.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach(function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(void 0===u.headers[r]&&(u.headers[r]=[]),u.headers[r].push(t[2])):void 0!==u.headers[r]?u.headers[r]+=", "+t[2]:u.headers[r]=t[2],u.rawHeaders.push(t[1],t[2])}}),u._charset="x-user-defined",!i.overrideMimeType){var f=u.rawHeaders["mime-type"];if(f){var d=f.match(/;\s*charset=([^;])(;|$)/);d&&(u._charset=d[1].toLowerCase())}u._charset||(u._charset="utf-8")}}};o(u,a.Readable),u.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},u.prototype._onXHRProgress=function(){var e=this,t=e._xhr,r=null;switch(e._mode){case"text:vbarray":if(t.readyState!==s.DONE)break;try{r=new A.VBArray(t.responseBody).toArray()}catch(e){}if(null!==r){e.push(new n(r));break}case"text":try{r=t.responseText}catch(t){e._mode="text:vbarray";break}if(r.length>e._pos){var i=r.substr(e._pos);if("x-user-defined"===e._charset){for(var o=new n(i.length),a=0;a<i.length;a++)o[a]=255&i.charCodeAt(a);e.push(o)}else e.push(i,e._charset);e._pos=r.length}break;case"arraybuffer":if(t.readyState!==s.DONE||!t.response)break;r=t.response,e.push(new n(new Uint8Array(r)));break;case"moz-chunked-arraybuffer":if(r=t.response,t.readyState!==s.LOADING||!r)break;e.push(new n(new Uint8Array(r)));break;case"ms-stream":if(r=t.response,t.readyState!==s.LOADING)break;var u=new A.MSStreamReader;u.onprogress=function(){u.result.byteLength>e._pos&&(e.push(new n(new Uint8Array(u.result.slice(e._pos)))),e._pos=u.result.byteLength)},u.onload=function(){e.push(null)},u.readAsArrayBuffer(r)}e._xhr.readyState===s.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,r(50),r(8).Buffer,r(34))},function(e,t,r){"use strict";t.decode=t.parse=r(1743),t.encode=t.stringify=r(1744)},function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"default",function(){return E});var n=r(37),A=r(3),i=r(9),o=r(23),a=r(10),s=r(94),u=r(24),l=r(19),c=r(88),f=r(44),d=r(191),g=r.n(d),h=r(47),p=r.n(h),I=r(386),B=r(387);const C=r(1752),m="m/44'/194'/0'/0/0";let y=new WeakMap,Q=new WeakMap;const w=(e,t)=>new Proxy(e,t);class E extends n.a{constructor(){super(A.c.FIBOS,A.a.FIBOS)}config(e){return{dappStoreTag:e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:A.b.FIBOS}}async getChainId(e){return Codex({httpEndpoint:e.nodeAddress}).getInfo({}).then(e=>e.chain_id||"").catch(()=>"")}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!0}randomKeypair(e,t={}){return new Promise((e,t)=>{const r=l.a.randomMnemonic();if(!r)return void t();const n=l.a.mnemonicToSeedByDerive(r,m);e({mnemonic:r,privateKey:p.a.PrivateKey.fromBuffer(n).toWif()})})}mnemonicToPrivateKey(e,t,r={}){const n=l.a.mnemonicToSeedByDerive(e,m);return{privateKey:p.a.PrivateKey.fromBuffer(n).toWif()}}privateToPublic(e,t,r={}){return p.a.privateToPublic(e,"FO")}validMnemonic(e){return l.a.validateMnemonic(e)}validPrivateKey(e){return e.length>=50&&p.a.isValidPrivate(e)}validPublicKey(e){return p.a.isValidPublic(e,"FO")}getAccount(e,t){return C({httpEndpoint:t.nodeAddress}).getAccount(e)}getKeyAccounts(e,t){return C({httpEndpoint:t.nodeAddress}).getKeyAccounts(e)}signer(t,r,n,A,o=!1,a=!1){r.decryptPrivateKey(({privateKey:t})=>{if(!t)return A(i.a.signatureRejected()),!1;let r;r=o&&a?p.a.Signature.signHash(n.data,t).toString():p.a.sign(e.from(o?n.data:n.buf.data,"utf8"),t),A(r)},t)}signatureProvider(...e){return y=e[0],Q=e[1],(e,t,r={},n="http")=>{if(!["http","https","ws"].includes(n))throw new i.a("Protocol must be either http, https, or ws");if(e.hasOwnProperty("protocol")&&e.protocol.length||(e.protocol=n),!(e=B.a.fromJson(e)).isValid())throw i.a.invalidNetwork();const A=`${e.protocol}://${e.hostport()}`,o=e.hasOwnProperty("chainId")&&e.chainId.length?e.chainId:r.chainId;return e.chainId=o,w(t({httpEndpoint:A,chainId:o}),{get(n,a){let s=null;return(...n)=>{if(n.find(e=>e.hasOwnProperty("keyProvider")))throw i.a.usedKeyProvider();const u=async t=>{Q(),t.messages=await b(t,e);const r=Object.assign(t,{domain:Object(c.a)(),network:e}),A=await y(f.h,r);if(!A)return null;if(A.hasOwnProperty("signatures")){s=A.returnedFields;let e=n.find(e=>e.hasOwnProperty("signProvider"));return e&&A.signatures.push(e.signProvider(t.buf,t.sign)),A.signatures}return A};return new Promise((e,i)=>{t(Object.assign(r,{httpEndpoint:A,signProvider:u,chainId:o}))[a](...n).then(t=>{if(!t.hasOwnProperty("fc"))return t=Object.assign(t,{returnedFields:s}),void e(t);const r=w(t,{get:(e,t)=>"then"===t?e[t]:(...r)=>new Promise(async(n,A)=>{e[t](...r).then(e=>{n(Object.assign(e,{returnedFields:s}))}).catch(A)})});e(r)}).catch(e=>i(e))})}}})}}requestSelectedIdentity(e,t,r,n){r.keychain.accounts.find(e=>e.networkUnique===t.unique()&&e.selected)?n({network:t,account:response.account}):n(i.a.identityRejected())}requestIdentity(e,t,r,n,A){const s=n.find(r=>e===r.domain&&t.unique()===r.account.networkUnique);s?A({network:t,account:s.account,whitelistChecked:!1,whitelist:{}}):o.a.open(new a.b(a.a.REQUEST_IDENTITY,e,t,{},r=>{!r||r.hasOwnProperty("isError")?A(i.a.identityRejected()):A({network:t,account:r.account,whitelistChecked:!0,whitelist:{domain:e,account:r.account}})}))}requestSignature(e,t,r,n,A,l,c,f){const d=l.messages;if(!s.a.flatten(d.map(e=>e.authorization.map(e=>`${e.actor}@${e.permission}`))).includes(n.formatted()))return void f(i.a.signatureRejected());const g={signerAccountUnique:n.unique(),domain:t,whitelistObject:[]};d.forEach(e=>{g.whitelistObject.push({code:e.code,authorization:e.authorization,type:e.type})}),c.find(e=>s.a.deepEqual(e,g))?u.a.plugin(r.blockchain).signer(A,e,l,e=>{f({signature:e,whitelistChecked:!1,whitelist:{}})},!1,!1):o.a.open(new a.b(a.a.REQUEST_SIGNATURE,t,r,{messages:d,signerAccount:n,showWhiteListCheck:!0},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return f(i.a.signatureRejected()),!1;const n=!!t.hasOwnProperty("whitelistChecked")&&t.whitelistChecked;u.a.plugin(r.blockchain).signer(A,e,l,e=>{f({signature:e,whitelistChecked:n,whitelist:g})},!1,!1)}))}requestArbitrarySignatrue(e,t,r,n,A,s,l){o.a.open(new a.b(a.a.REQUEST_ARBITRARY_SIGNATURE,t,r,{signerAccount:n,message:{whatfor:s.whatfor,data:s.data}},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return l(i.a.signatureRejected()),!1;u.a.plugin(r.blockchain).signer(A,e,s,l,!0,s.isHash)}))}}const b=async(e,t)=>{const r=g()({httpEndpoint:t.fullhost(),chainId:t.chainId}),n=e.transaction.actions.map(e=>e.account).reduce((e,t)=>(e.includes(t)||e.push(t),e),[]),A={};return await Promise.all(n.map(async e=>{A[e]=(await r.contract(e)).fc})),await Promise.all(e.transaction.actions.map(async(e,t)=>{const r=e.account;let n=A[r];const i=n.abi.actions.find(t=>t.name===e.name).type,o=n.fromBuffer(i,e.data),a=n.abi.actions.find(t=>t.name===e.name);let s=a?a.ricardian_contract:null;if(s){const t={h1:'div class="ricardian-action"',h2:'div class="ricardian-description"'},r=1===e.authorization.length?e.authorization[0].actor:null;s=I.parse(e.name,o,s,r,t)}return{data:o,code:e.account,type:e.name,authorization:e.authorization}}))}}.call(this,r(8).Buffer)},function(e,t,r){"use strict";r.r(t),r.d(t,"default",function(){return I});var n=r(3),A=r(37),i=r(23),o=r(10),a=r(9),s=r(24),u=r(44),l=r(88),c=r(19),f=r(54),d=r(31),g=r(1060),h=r(129);const p="m/44'/1023'/0'/0/0";class I extends A.a{constructor(){super(n.c.HARMONY,n.a.HARMONY)}config(e){return{dappStoreTag:e.custom?Object(n.f)(e.blockchain).toLowerCase():e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:n.b.HARMONY}}async getChainId(e){const t={chainType:d.ChainType.Harmony,chainUrl:e.nodeAddress},r=new g.Harmony(e.nodeAddress,t).blockchain;return`${(await r.net_version()).result}`}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!0}randomKeypair(e,t={}){return new Promise((e,t)=>{const r=c.a.randomMnemonic();if(!r)return void t();const n=c.a.mnemonicToSeedByDerive(r,p);e({mnemonic:r,privateKey:Object(d.add0xToString)(n.toString("hex"))})})}mnemonicToPrivateKey(e,t,r={}){const n=c.a.mnemonicToSeedByDerive(e,p);return{privateKey:Object(d.add0xToString)(n.toString("hex"))}}privateToPublic(e,t,r={}){const n=Object(f.getAddressFromPrivateKey)(Object(d.add0xToString)(e));return Object(f.getAddress)(n).bech32}validMnemonic(e){return c.a.validateMnemonic(e)}validPrivateKey(e){return Object(d.isPrivateKey)(Object(d.add0xToString)(e))}validPublicKey(e){return Object(d.isBech32Address)(e)}signer(e,t,r,n){t.decryptPrivateKey(({privateKey:e})=>{if(!e)return n(a.a.signatureRejected()),!1;const t=Object(f.sign)(Object(f.keccak256)(r),e);n(t)},e)}signatureProvider(...e){const t=e[0],r=e[1];return{signRaw:async e=>{throw"Not support"},signTransaction:async(e,n=!0,A="rlp",i="latest")=>{if("rlp"!==A)throw a.a.identityRejected();const o=e.hasOwnProperty("directive"),s=o?e.from:e.txParams.from,c=new f.HarmonyAddress(s),g=await t(u.g,{blockchain:r.blockchain}),p=g&&g.hasOwnProperty("account")?g.account:null;if(!p||c.bech32!==p.address)throw a.a.identityRejected();if(n){const t=await e.messenger.send(h.RPCMethod.GetTransactionCount,[c.basicHex,i]),r=parseInt(Object(d.hexToNumber)(t.result),10);o?e.setNonce(r):e.setParams({...e.txParams,from:c.basicHex,nonce:r})}if(o){const{directive:n,stakeMsg:A,gasPrice:i,gasLimit:o}=e,a={directive:n,stakeMsg:A,from:c.bech32,gasPrice:`${d.Unit.Wei(i).toGwei()} Gwei`,gasLimit:d.Unit.Wei(o).toWeiString()},[s,f]=e.encode();e.setUnsigned(s);const g={domain:Object(l.a)(),network:r,message:a,transaction:s,signer:p},h=await t(u.h,g);if(h.hasOwnProperty("isError"))throw h;const I=e.getRLPSigned(f,h);return e.setRawTransaction(I),e.setSignature(h),e}{const{to:n,gasPrice:A,gasLimit:i,value:o,data:a,shardID:s,toShardID:g}=e.txParams,h={shard:`${s}->${g}`,from:c.bech32,to:new f.HarmonyAddress(n).bech32,gasPrice:`${d.Unit.Wei(A).toGwei()} Gwei`,gasLimit:d.Unit.Wei(i).toWeiString(),value:`${d.Unit.Wei(o).toEther()} ONE`,data:a},[I,B]=e.getRLPUnsigned(),C={...e.txParams,unsignedRawTransaction:I};e.setParams(C);const m={domain:Object(l.a)(),network:r,message:h,transaction:I,signer:p},y=await t(u.h,m);if(y.hasOwnProperty("isError"))throw y;const Q=e.getRLPSigned(B,y);return e.map(e=>({...e,signature:y,rawTransaction:Q,from:c.basicHex}))}}}}requestSelectedIdentity(e,t,r,n){const A=r.keychain.accounts.find(e=>e.networkUnique===t.unique()&&e.selected);n(A?{network:t,account:A}:a.a.identityRejected())}requestIdentity(e,t,r,n,A){const s=n.find(r=>e===r.domain&&t.unique()===r.account.networkUnique);s?A({network:t,account:s.account,whitelistChecked:!1,whitelist:{}}):i.a.open(new o.b(o.a.REQUEST_IDENTITY,e,t,{},r=>{!r||r.hasOwnProperty("isError")?A(a.a.identityRejected()):A({network:t,account:r.account,whitelistChecked:!0,whitelist:{domain:e,account:r.account}})}))}requestSignature(e,t,r,n,A,u,l,c){const{transaction:f,message:d}=u;i.a.open(new o.b(o.a.REQUEST_SIGNATURE,t,r,{messages:[d],signerAccount:n,showWhiteListCheck:!1},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return c(a.a.signatureRejected()),!1;s.a.plugin(r.blockchain).signer(A,e,f,e=>{e.hasOwnProperty("isError")?c(e):c({signature:e})})}))}requestArbitrarySignatrue(e,t,r,n,A,i,o){o(a.a.signatureRejected())}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(295);function A(e){for(var t=[];e;)t.unshift(255&e),e>>=8;return t}function i(e,t,r){for(var n=0,A=0;A<r;A++)n=256*n+e[t+A];return n}function o(e,t,r,n){for(var A=[];r<t+1+n;){var i=a(e,r);if(A.push(i.result),(r+=i.consumed)>t+1+n)throw new Error("invalid rlp")}return{consumed:1+n,result:A}}function a(e,t){if(0===e.length)throw new Error("invalid rlp data");if(e[t]>=248){if(t+1+(a=e[t]-247)>e.length)throw new Error("too short");var r=i(e,t+1,a);if(t+1+a+r>e.length)throw new Error("to short");return o(e,t,t+1+a,a+r)}if(e[t]>=192){var A=e[t]-192;if(t+1+A>e.length)throw new Error("invalid rlp data");return o(e,t,t+1,A)}if(e[t]>=184){var a;if(t+1+(a=e[t]-183)>e.length)throw new Error("invalid rlp data");var s=i(e,t+1,a);if(t+1+a+s>e.length)throw new Error("invalid rlp data");return{consumed:1+a+s,result:n.hexlify(e.slice(t+1+a,t+1+a+s))}}if(e[t]>=128){var u=e[t]-128;if(t+1+u>e.length)throw new Error("invlaid rlp data");return{consumed:1+u,result:n.hexlify(e.slice(t+1,t+1+u))}}return{consumed:1,result:n.hexlify(e[t])}}t.encode=function(e){return n.hexlify(function e(t){if(Array.isArray(t)){var r=[];if(t.forEach(function(t){r=r.concat(e(t))}),r.length<=55)return r.unshift(192+r.length),r;var i=A(r.length);return i.unshift(247+i.length),i.concat(r)}var o=Array.prototype.slice.call(n.arrayify(t));if(1===o.length&&o[0]<=127)return o;if(o.length<=55)return o.unshift(128+o.length),o;var a=A(o.length);return a.unshift(183+a.length),a.concat(o)}(e))},t.decode=function(e){var t=n.arrayify(e)||new Uint8Array,r=a(t,0);if(r.consumed!==t.length)throw new Error("invalid rlp data");return r.result}},function(e,t,r){(function(t,n){const A=r(72),i=2147483647,o=5e3;function a(e,t,r,n,A,i,o){let a;for(c(e,t+64*(2*n-1),A,0,64),a=0;a<2*n;a++)l(e,64*a,A,0,64),u(A,i,o),c(A,0,e,r+64*a,64);for(a=0;a<n;a++)c(e,r+2*a*64,e,t+64*a,64);for(a=0;a<n;a++)c(e,r+64*(2*a+1),e,t+64*(a+n),64)}function s(e,t){return e<<t|e>>>32-t}function u(e,t,r){let n;for(n=0;n<16;n++)t[n]=(255&e[4*n+0])<<0,t[n]|=(255&e[4*n+1])<<8,t[n]|=(255&e[4*n+2])<<16,t[n]|=(255&e[4*n+3])<<24;for(c(t,0,r,0,16),n=8;n>0;n-=2)r[4]^=s(r[0]+r[12],7),r[8]^=s(r[4]+r[0],9),r[12]^=s(r[8]+r[4],13),r[0]^=s(r[12]+r[8],18),r[9]^=s(r[5]+r[1],7),r[13]^=s(r[9]+r[5],9),r[1]^=s(r[13]+r[9],13),r[5]^=s(r[1]+r[13],18),r[14]^=s(r[10]+r[6],7),r[2]^=s(r[14]+r[10],9),r[6]^=s(r[2]+r[14],13),r[10]^=s(r[6]+r[2],18),r[3]^=s(r[15]+r[11],7),r[7]^=s(r[3]+r[15],9),r[11]^=s(r[7]+r[3],13),r[15]^=s(r[11]+r[7],18),r[1]^=s(r[0]+r[3],7),r[2]^=s(r[1]+r[0],9),r[3]^=s(r[2]+r[1],13),r[0]^=s(r[3]+r[2],18),r[6]^=s(r[5]+r[4],7),r[7]^=s(r[6]+r[5],9),r[4]^=s(r[7]+r[6],13),r[5]^=s(r[4]+r[7],18),r[11]^=s(r[10]+r[9],7),r[8]^=s(r[11]+r[10],9),r[9]^=s(r[8]+r[11],13),r[10]^=s(r[9]+r[8],18),r[12]^=s(r[15]+r[14],7),r[13]^=s(r[12]+r[15],9),r[14]^=s(r[13]+r[12],13),r[15]^=s(r[14]+r[13],18);for(n=0;n<16;++n)t[n]=r[n]+t[n];for(n=0;n<16;n++){let r=4*n;e[r+0]=t[n]>>0&255,e[r+1]=t[n]>>8&255,e[r+2]=t[n]>>16&255,e[r+3]=t[n]>>24&255}}function l(e,t,r,n,A){for(let i=0;i<A;i++)r[n+i]^=e[t+i]}function c(e,r,n,A,i){if(t.isBuffer(e)&&t.isBuffer(n))e.copy(n,A,r,r+i);else for(;i--;)n[A++]=e[r++]}e.exports={checkAndInit:function(e,r,n,o,a,s,u){if(0===n||0!=(n&n-1))throw Error("N must be > 0 and a power of 2");if(n>i/128/o)throw Error("Parameter N is too large");if(o>i/128/a)throw Error("Parameter r is too large");let l,c=t.alloc(256*o),f=t.alloc(128*o*n),d=new Int32Array(16),g=new Int32Array(16),h=t.alloc(64),p=A.pbkdf2Sync(e,r,1,128*a*o,"sha256");if(u){let e=a*n*2,t=0;l=function(){++t%1e3==0&&u({current:t,total:e,percent:t/e*100})}}return{XY:c,V:f,B32:d,x:g,_X:h,B:p,tickCallback:l}},smix:async function(e,t,r,A,i,s,u,c,f,d,g){g=g||o;let h,p=128*r;for(e.copy(s,0,t,t+p),h=0;h<A;h++)s.copy(i,h*p,0,0+p),h%g==0&&await new Promise(e=>n(e)),a(s,0,p,r,u,c,f),d&&d();for(h=0;h<A;h++){let e=0+64*(2*r-1);l(i,(s.readUInt32LE(e)&A-1)*p,s,0,p),h%g==0&&await new Promise(e=>n(e)),a(s,0,p,r,u,c,f),d&&d()}s.copy(e,t,0,0+p)},smixSync:function(e,t,r,n,A,i,o,s,u,c){let f,d=128*r;for(e.copy(i,0,t,t+d),f=0;f<n;f++)i.copy(A,f*d,0,0+d),a(i,0,d,r,o,s,u),c&&c();for(f=0;f<n;f++){let e=0+64*(2*r-1);l(A,(i.readUInt32LE(e)&n-1)*d,i,0,d),a(i,0,d,r,o,s,u),c&&c()}i.copy(e,t,0,0+d)}}}).call(this,r(8).Buffer,r(308).setImmediate)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r(31),A=r(350),i="qpzry9x8gf2tvdw0s3jn54khce6mua7l",o=[996825010,642813549,513874426,1027748829,705979059],a=function(e){for(var t=1,r=0;r<e.length;++r){var n=t>>25;t=(33554431&t)<<5^e[r];for(var A=0;A<5;++A)n>>A&1&&(t^=o[A])}return t},s=function(t){var r,n=[];for(r=0;r<t.length;++r)n.push(t.charCodeAt(r)>>5);for(n.push(0),r=0;r<t.length;++r)n.push(31&t.charCodeAt(r));return e.from(n)};function u(t,r){for(var n=e.concat([e.from(s(t)),r,e.from([0,0,0,0,0,0])]),A=1^a(n),i=[],o=0;o<6;++o)i.push(A>>5*(5-o)&31);return e.from(i)}t.bech32Encode=function(t,r){for(var n=e.concat([r,u(t,r)]),A=t+"1",o=0;o<n.length;++o)A+=i.charAt(n[o]);return A},t.bech32Decode=function(t){var r,n=!1,A=!1;for(r=0;r<t.length;++r){if(t.charCodeAt(r)<33||t.charCodeAt(r)>126)return null;t.charCodeAt(r)>=97&&t.charCodeAt(r)<=122&&(n=!0),t.charCodeAt(r)>=65&&t.charCodeAt(r)<=90&&(A=!0)}if(n&&A)return null;var o=(t=t.toLowerCase()).lastIndexOf("1");if(o<1||o+7>t.length||t.length>90)return null;var u=t.substring(0,o),l=[];for(r=o+1;r<t.length;++r){var c=i.indexOf(t.charAt(r));if(-1===c)return null;l.push(c)}return function(t,r){return 1===a(e.concat([s(t),r]))}(u,e.from(l))?{hrp:u,data:e.from(l.slice(0,l.length-6))}:null},t.HRP="one",t.tHRP="tone",t.convertBits=function(t,r,n,A){void 0===A&&(A=!0);for(var i=0,o=0,a=[],s=(1<<n)-1,u=0;u<t.length;++u){var l=t[u];if(l<0||l>>r!=0)return null;for(i=i<<r|l,o+=r;o>=n;)o-=n,a.push(i>>o&s)}if(A)o>0&&a.push(i<<n-o&s);else if(o>=r||i<<n-o&s)return null;return e.from(a)},t.toBech32=function(r,A){if(void 0===A&&(A=t.HRP),!n.isAddress(r))throw new Error("Invalid address format.");var i=t.convertBits(e.from(r.replace("0x",""),"hex"),8,5);if(null===i)throw new Error("Could not convert byte Buffer to 5-bit Buffer");return t.bech32Encode(A,i)},t.fromBech32=function(e,r){void 0===r&&(r=t.HRP);var n=t.bech32Decode(e);if(null===n)throw new Error("Invalid bech32 address");var i=n.hrp,o=n.data;if(i!==r)throw new Error("Expected hrp to be "+r+" but got "+i);var a=t.convertBits(o,5,8,!1);if(null===a)throw new Error("Could not convert buffer to bytes");return A.toChecksumAddress("0x"+a.toString("hex"))}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(31),i=n.__importDefault(r(522)),o=r(523);!function(e){e.READY="ready",e.CONNECT="connect",e.ERROR="error",e.CLOSE="close"}(t.SocketConnection||(t.SocketConnection={})),function(e){e.SOCKET_MESSAGE="socket_message",e.SOCKET_READY="socket_ready",e.SOCKET_CLOSE="socket_close",e.SOCKET_ERROR="socket_error",e.SOCKET_CONNECT="socket_connect",e.SOCKET_NETWORK_CHANGED="socket_networkChanged",e.SOCKET_ACCOUNTS_CHANGED="socket_accountsChanged"}(t.SocketState||(t.SocketState={})),function(e){e.INSTANCE="instance",e.PUBSUB="pubsub"}(t.EmittType||(t.EmittType={}));var a=function(e){function t(t){var r=e.call(this,t)||this;if(r.handlers={},!A.isWs(t))throw new Error(t+" is not websocket");return r.url=t,r.emitter=i.default(r.handlers),r}return n.__extends(t,e),t.prototype.resetHandlers=function(){for(var e in this.handlers)delete this.handlers[e]},t.prototype.once=function(e,t){this.emitter.on(e,t),this.removeEventListener(e)},t.prototype.addEventListener=function(e,t){this.emitter.on(e,t)},t.prototype.removeEventListener=function(e,t){if(e)return t?this.emitter.off(e,t):void delete this.handlers[e];this.handlers={}},t.prototype.reset=function(){this.removeEventListener("*")},t.prototype.removeAllSocketListeners=function(){this.removeEventListener("socket_message"),this.removeEventListener("socket_ready"),this.removeEventListener("socket_close"),this.removeEventListener("socket_error"),this.removeEventListener("socket_connect")},t.prototype.onReady=function(e){this.emitter.emit("ready",e),this.emitter.emit("socket_ready",e)},t.prototype.onError=function(e){this.emitter.emit("error",e),this.emitter.emit("socket_error",e),this.removeAllSocketListeners(),this.removeEventListener("*")},t.prototype.onClose=function(e){void 0===e&&(e=null),this.emitter.emit("close",e),this.emitter.emit("socket_close",e),this.removeAllSocketListeners(),this.removeEventListener("*")},t}(o.BaseProvider);t.BaseSocket=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=n.__importDefault(r(1769));t.fetchRPC={requestHandler:function(e,t){return A.default(e.url,{method:e.options&&e.options.method?e.options.method:"POST",cache:"no-cache",mode:"cors",redirect:"follow",referrer:"no-referrer",body:JSON.stringify(e.payload),headers:n.__assign(n.__assign({},t),e.options&&e.options.headers?e.options.headers:{})})},responseHandler:function(e,t,r){return e.json().then(function(e){return n.__assign(n.__assign({},e),{req:t})}).then(r)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2).__importDefault(r(522)),A=function(){function e(){var e=this;this.handlers={},this.emitter=n.default(this.handlers),this.off=this.emitter.off.bind(this),this.emit=this.emitter.emit.bind(this),this.promise=new Promise(function(t,r){e.resolve=t,e.reject=r}),this.then=this.promise.then.bind(this.promise)}return e.prototype.resetHandlers=function(){for(var e in this.handlers)delete this.handlers[e]},e.prototype.on=function(e,t){return this.emitter.on(e,t),this},e.prototype.once=function(e,t){var r=this;this.emitter.on(e,function(n){t(n),r.removeEventListener(e)})},e.prototype.addEventListener=function(e,t){this.emitter.on(e,t)},e.prototype.removeEventListener=function(e,t){if(e)return t?this.emitter.off(e,t):void delete this.handlers[e];this.handlers={}},e.prototype.onError=function(e){this.emitter.on("error",e),this.removeEventListener("*")},e.prototype.onData=function(e){this.emitter.on("data",e),this.removeEventListener("*")},e.prototype.listenerCount=function(e){var t=0;return Object.keys(this.handlers).forEach(function(r){e===r&&(t+=1)}),t},e}();t.Emitter=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(31),i=function(){function e(e){this.result=e.result,this.error=e.error,this.raw=e,this.responseType=this.getResponseType()}return Object.defineProperty(e.prototype,"getResult",{get:function(){return A.isObject(this.result)?n.__assign(n.__assign({},this.result),{responseType:"result"}):this.result},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"getError",{get:function(){return A.isObject(this.error)?n.__assign(n.__assign({},this.error),{responseType:"error"}):this.error},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"getRaw",{get:function(){return n.__assign(n.__assign({},this.raw),{responseType:"raw"})},enumerable:!0,configurable:!0}),e.prototype.getResponseType=function(){return this.error?"error":this.result||null===this.result&&void 0!==this.result?"result":"raw"},e.prototype.isError=function(){return"error"===this.responseType},e.prototype.isResult=function(){return"result"===this.responseType},e.prototype.isRaw=function(){return"raw"===this.responseType},e}();t.ResponseMiddleware=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(54),i=r(31),o=r(129),a=r(351),s=function(){function e(e,t){this.blockNumbers=[],this.confirmations=0,this.confirmationCheck=0,this.cxStatus="INITIALIZED",this.cxBlockNumbers=[],this.cxConfirmations=0,this.cxConfirmationCheck=0,this.messenger=e,this.txStatus=t,this.emitter=new o.Emitter,this.id="0x",this.shardID=this.messenger.currentShard}return e.normalizeAddress=function(e){if("0x"===e)return"0x";if(A.HarmonyAddress.isValidChecksum(e)||A.HarmonyAddress.isValidBech32(e)||A.HarmonyAddress.isValidBech32TestNet(e))return A.getAddress(e).checksum;throw new Error("Address format is not supported")},e.prototype.setMessenger=function(e){this.messenger=e},e.prototype.setTxStatus=function(e){this.txStatus=e},e.prototype.getTxStatus=function(){return this.txStatus},e.prototype.setCxStatus=function(e){this.cxStatus=e},e.prototype.getCxStatus=function(){return this.cxStatus},e.prototype.isInitialized=function(){return"INITIALIZED"===this.getTxStatus()},e.prototype.isSigned=function(){return"SIGNED"===this.getTxStatus()},e.prototype.isPending=function(){return"PENDING"===this.getTxStatus()},e.prototype.isRejected=function(){return"REJECTED"===this.getTxStatus()},e.prototype.isConfirmed=function(){return"CONFIRMED"===this.getTxStatus()},e.prototype.isCxPending=function(){return"PENDING"===this.getCxStatus()},e.prototype.isCxRejected=function(){return"REJECTED"===this.getCxStatus()},e.prototype.isCxConfirmed=function(){return"CONFIRMED"===this.getCxStatus()},e.prototype.observed=function(){return this.emitter},e.prototype.trackTx=function(e,t){return n.__awaiter(this,void 0,void 0,function(){var r,A;return n.__generator(this,function(n){switch(n.label){case 0:if(!this.messenger)throw new Error("Messenger not found");return[4,this.messenger.send("hmy_getTransactionReceipt",e,this.messenger.chainType,"string"==typeof t?Number.parseInt(t,10):t)];case 1:return(r=n.sent()).isResult()&&null!==r.result?(this.receipt=r.result,this.emitReceipt(this.receipt),this.id=r.result.transactionHash,this.confirmations+=1,this.receipt?(this.receipt.status&&"0x1"===this.receipt.status?(this.receipt.byzantium=!0,this.txStatus="CONFIRMED"):this.receipt.status&&"0x0"===this.receipt.status?(this.receipt.byzantium=!0,this.txStatus="REJECTED"):void 0===this.receipt.status&&this.receipt.root&&(this.receipt.byzantium=!1,this.txStatus="CONFIRMED"),[2,!0]):[3,2]):[3,5];case 2:return this.txStatus="PENDING",[4,this.getBlockNumber(t)];case 3:return A=n.sent(),this.blockNumbers.push("0x"+A.toString("hex")),this.confirmationCheck+=1,[2,!1];case 4:return[3,7];case 5:return this.txStatus="PENDING",[4,this.getBlockNumber(t)];case 6:return A=n.sent(),this.blockNumbers.push("0x"+A.toString("hex")),this.confirmationCheck+=1,[2,!1];case 7:return[2]}})})},e.prototype.txConfirm=function(e,t,r,i){return void 0===t&&(t=20),void 0===r&&(r=1e3),n.__awaiter(this,void 0,void 0,function(){var s,u,l,c,f,d;return n.__generator(this,function(n){switch(n.label){case 0:return this.messenger.provider instanceof o.HttpProvider?(this.txStatus="PENDING",[4,this.getBlockNumber(i)]):[3,13];case 1:s=n.sent(),u=s,l=0,n.label=2;case 2:if(!(l<t))return[3,12];n.label=3;case 3:return n.trys.push([3,8,,9]),[4,this.getBlockNumber(i)];case 4:return c=n.sent(),f=u.add(new A.BN(0===l?l:1)),c.gte(f)?(u=c,this.emitTrack({txHash:e,attempt:l,currentBlock:u.toString(),shardID:i}),[4,this.trackTx(e,i)]):[3,6];case 5:return n.sent()?(this.emitConfirm(this.txStatus),[2,this]):[3,7];case 6:l=l-1>=0?l-1:0,n.label=7;case 7:return[3,9];case 8:throw d=n.sent(),this.txStatus="REJECTED",this.emitConfirm(this.txStatus),d;case 9:return l+1<t?[4,a.sleep(r)]:[3,11];case 10:n.sent(),n.label=11;case 11:return l+=1,[3,2];case 12:throw this.txStatus="REJECTED",this.emitConfirm(this.txStatus),new Error("The transaction is still not confirmed after "+t+" attempts.");case 13:return n.trys.push([13,18,,19]),[4,this.trackTx(e,i)];case 14:return n.sent()?(this.emitConfirm(this.txStatus),[2,this]):[3,15];case 15:return[4,this.socketConfirm(e,t,i)];case 16:return[2,n.sent()];case 17:return[3,19];case 18:throw n.sent(),this.txStatus="REJECTED",this.emitConfirm(this.txStatus),new Error("The transaction is still not confirmed after "+t*r+" mil seconds.");case 19:return[2]}})})},e.prototype.socketConfirm=function(e,t,r){var A=this;return void 0===t&&(t=20),new Promise(function(a,s){Promise.resolve(new o.NewHeaders(A.messenger,"string"==typeof r?Number.parseInt(r,10):r)).then(function(o){o.onData(function(s){return n.__awaiter(A,void 0,void 0,function(){var A;return n.__generator(this,function(n){switch(n.label){case 0:return A="hmy"===this.messenger.chainPrefix?s.params.result.Header.number:s.params.result.number,this.emitTrack({txHash:e,attempt:this.confirmationCheck,currentBlock:i.hexToNumber(A),shardID:r}),this.blockNumbers.includes(A)?[3,5]:[4,this.trackTx(e,r)];case 1:return n.sent()?(this.emitConfirm(this.txStatus),[4,o.unsubscribe()]):[3,3];case 2:return n.sent(),a(this),[3,5];case 3:return this.confirmationCheck!==t?[3,5]:(this.txStatus="REJECTED",this.emitConfirm(this.txStatus),[4,o.unsubscribe()]);case 4:n.sent(),a(this),n.label=5;case 5:return[2]}})})}).onError(function(e){return n.__awaiter(A,void 0,void 0,function(){return n.__generator(this,function(t){switch(t.label){case 0:return this.txStatus="REJECTED",this.emitConfirm(this.txStatus),this.emitError(e),[4,o.unsubscribe()];case 1:return t.sent(),s(e),[2]}})})})})})},e.prototype.emitTransactionHash=function(e){this.emitter.emit(a.TransactionEvents.transactionHash,e)},e.prototype.emitReceipt=function(e){this.emitter.emit(a.TransactionEvents.receipt,e)},e.prototype.emitError=function(e){this.emitter.emit(a.TransactionEvents.error,e)},e.prototype.emitConfirm=function(e){this.emitter.emit(a.TransactionEvents.confirmation,e)},e.prototype.emitTrack=function(e){this.emitter.emit(a.TransactionEvents.track,e)},e.prototype.emitCxReceipt=function(e){this.emitter.emit(a.TransactionEvents.cxReceipt,e)},e.prototype.emitCxConfirm=function(e){this.emitter.emit(a.TransactionEvents.cxConfirmation,e)},e.prototype.emitCxTrack=function(e){this.emitter.emit(a.TransactionEvents.cxTrack,e)},e.prototype.getBlockNumber=function(e){return n.__awaiter(this,void 0,void 0,function(){var t;return n.__generator(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.messenger.send("hmy_blockNumber",[],this.messenger.chainPrefix,"string"==typeof e?Number.parseInt(e,10):e)];case 1:if((t=r.sent()).isError())throw t.message;return[2,new A.BN(t.result.replace("0x",""),"hex")];case 2:throw r.sent();case 3:return[2]}})})},e.prototype.getBlockByNumber=function(e){return n.__awaiter(this,void 0,void 0,function(){var t;return n.__generator(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.messenger.send("hmy_getBlockByNumber",[e,!0],this.messenger.chainPrefix,"string"==typeof this.shardID?Number.parseInt(this.shardID,10):this.shardID)];case 1:if((t=r.sent()).isError())throw t.message;return[2,t.result];case 2:throw r.sent();case 3:return[2]}})})},e.prototype.cxConfirm=function(e,t,r,i){return void 0===t&&(t=20),void 0===r&&(r=1e3),n.__awaiter(this,void 0,void 0,function(){var s,u,l,c,f,d;return n.__generator(this,function(n){switch(n.label){case 0:return this.messenger.provider instanceof o.HttpProvider?[4,this.getBlockNumber(i)]:[3,13];case 1:s=n.sent(),u=s,l=0,n.label=2;case 2:if(!(l<t))return[3,12];n.label=3;case 3:return n.trys.push([3,8,,9]),[4,this.getBlockNumber(i)];case 4:return c=n.sent(),f=u.add(new A.BN(0===l?l:1)),c.gte(f)?(u=c,this.emitCxTrack({txHash:e,attempt:l,currentBlock:u.toString(),toShardID:i}),[4,this.trackCx(e,i)]):[3,6];case 5:return n.sent()?(this.emitCxConfirm(this.cxStatus),[2,this]):[3,7];case 6:l=l-1>=0?l-1:0,n.label=7;case 7:return[3,9];case 8:throw d=n.sent(),this.cxStatus="REJECTED",this.emitCxConfirm(this.cxStatus),d;case 9:return l+1<t?[4,a.sleep(r)]:[3,11];case 10:n.sent(),n.label=11;case 11:return l+=1,[3,2];case 12:throw this.cxStatus="REJECTED",this.emitCxConfirm(this.cxStatus),new Error("The transaction is still not confirmed after "+t+" attempts.");case 13:return n.trys.push([13,18,,19]),[4,this.trackCx(e,i)];case 14:return n.sent()?(this.emitCxConfirm(this.cxStatus),[2,this]):[3,15];case 15:return[4,this.socketCxConfirm(e,t,i)];case 16:return[2,n.sent()];case 17:return[3,19];case 18:throw n.sent(),this.cxStatus="REJECTED",this.emitCxConfirm(this.cxStatus),new Error("The transaction is still not confirmed after "+t*r+" mil seconds.");case 19:return[2]}})})},e.prototype.trackCx=function(e,t){return n.__awaiter(this,void 0,void 0,function(){var r,A;return n.__generator(this,function(n){switch(n.label){case 0:if(!this.messenger)throw new Error("Messenger not found");return[4,this.messenger.send("hmy_getCXReceiptByHash",e,this.messenger.chainPrefix,"string"==typeof t?Number.parseInt(t,10):t)];case 1:return(r=n.sent()).isResult()&&null!==r.result?(this.emitCxReceipt(r.result),this.cxStatus="CONFIRMED",[2,!0]):[3,2];case 2:return[4,this.getBlockNumber(t)];case 3:return A=n.sent(),this.cxBlockNumbers.push("0x"+A.toString("hex")),this.cxConfirmationCheck+=1,this.cxStatus="PENDING",[2,!1]}})})},e.prototype.socketCxConfirm=function(e,t,r){var A=this;return void 0===t&&(t=20),new Promise(function(a,s){Promise.resolve(new o.NewHeaders(A.messenger,"string"==typeof r?Number.parseInt(r,10):r)).then(function(o){o.onData(function(s){return n.__awaiter(A,void 0,void 0,function(){var A;return n.__generator(this,function(n){switch(n.label){case 0:return A="hmy"===this.messenger.chainPrefix?s.params.result.Header.number:s.params.result.number,this.emitCxTrack({txHash:e,attempt:this.cxConfirmationCheck,currentBlock:i.hexToNumber(A),toShardID:r}),this.blockNumbers.includes(A)?[3,5]:[4,this.trackCx(e,r)];case 1:return n.sent()?(this.emitCxConfirm(this.cxStatus),[4,o.unsubscribe()]):[3,3];case 2:return n.sent(),a(this),[3,5];case 3:return this.cxConfirmationCheck!==t?[3,5]:(this.cxStatus="REJECTED",this.emitCxConfirm(this.cxStatus),[4,o.unsubscribe()]);case 4:n.sent(),a(this),n.label=5;case 5:return[2]}})})}).onError(function(e){return n.__awaiter(A,void 0,void 0,function(){return n.__generator(this,function(t){switch(t.label){case 0:return this.cxStatus="REJECTED",this.emitCxConfirm(this.cxStatus),this.emitError(e),[4,o.unsubscribe()];case 1:return t.sent(),s(e),[2]}})})})})})},e}();t.TransactionBase=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(31),i=r(528),o=r(351),a=function(e){function t(t,r,i){void 0===r&&(r=o.defaultMessenger),void 0===i&&(i="INITIALIZED");var a=t.from,s=t.to,u=void 0!==a?a.split(A.AddressSuffix):["0x",void 0],l=void 0!==s?s.split(A.AddressSuffix):["0x",void 0],c=u[0],f=void 0!==u[1]?Number.parseInt(u[1],10):void 0!==t.shardID?t.shardID:0,d=l[0],g=void 0!==l[1]?Number.parseInt(l[1],10):void 0!==t.toShardID?t.toShardID:0,h=n.__assign(n.__assign({},t),{from:c,to:d,shardID:f,toShardID:g});return e.call(this,h,r,i)||this}return n.__extends(t,e),t}(i.Transaction);t.ShardingTransaction=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(54),i=r(239),o=r(31),a=r(1785),s=function(){function e(){}return e.PRECISION=18,e.MAX_DECIMAL=1e18,e}();t.StakingSettings=s,function(e){e[e.DirectiveCreateValidator=0]="DirectiveCreateValidator",e[e.DirectiveEditValidator=1]="DirectiveEditValidator",e[e.DirectiveDelegate=2]="DirectiveDelegate",e[e.DirectiveUndelegate=3]="DirectiveUndelegate",e[e.DirectiveCollectRewards=4]="DirectiveCollectRewards"}(t.Directive||(t.Directive={}));var u=function(e){function t(t,r,n,A,o,a,s,u){void 0===s&&(s=i.defaultMessenger),void 0===u&&(u="INITIALIZED");var l=e.call(this,s,u)||this;return l.directive=t,l.stakeMsg=r,l.nonce=n,l.gasLimit=o,l.gasPrice=A,l.rawTransaction="0x",l.unsignedRawTransaction="0x",l.signature={r:"",s:"",recoveryParam:0,v:0},l.chainId=a,l.from="0x",l}return n.__extends(t,e),t.prototype.encode=function(){var e=[];return this.directive?e.push(A.hexlify(this.directive)):e.push("0x"),e.push(this.stakeMsg.encode()),this.nonce?e.push(A.hexlify(this.nonce)):e.push("0x"),e.push(A.hexlify(this.gasPrice)),e.push(A.hexlify(this.gasLimit)),null!=this.chainId&&0!==this.chainId&&(e.push(A.hexlify(this.chainId)),e.push("0x"),e.push("0x")),[A.encode(e),e]},t.prototype.rlpSign=function(e){var t=n.__read(this.encode(),2),r=t[0],i=t[1];this.setUnsigned(r);var o=A.sign(A.keccak256(r),e);return[o,this.getRLPSigned(i,o)]},t.prototype.getRLPSigned=function(e,t){var r=A.splitSignature(t),n=27+(r.recoveryParam||0);return e.pop(),e.pop(),e.pop(),n+=2*this.chainId+8,e.push(A.hexlify(n)),e.push(A.stripZeros(A.arrayify(r.r)||[])),e.push(A.stripZeros(A.arrayify(r.s)||[])),A.encode(e)},t.prototype.sendTransaction=function(){return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(t){switch(t.label){case 0:if("tx"===this.rawTransaction||void 0===this.rawTransaction)throw new Error("Transaction not signed");if(!this.messenger)throw new Error("Messenger not found");return[4,this.messenger.send("hmy_sendRawStakingTransaction",this.rawTransaction,this.messenger.chainType,this.messenger.currentShard)];case 1:if((e=t.sent()).isResult())return this.id=e.result,this.emitTransactionHash(this.id),this.setTxStatus("PENDING"),[2,[this,e.result]];if(e.isError())return this.emitConfirm("transaction failed:"+e.error.message),this.setTxStatus("REJECTED"),[2,[this,"transaction failed:"+e.error.message]];throw this.emitError("transaction failed"),new Error("transaction failed")}})})},t.prototype.setUnsigned=function(e){this.unsignedRawTransaction=e},t.prototype.setRawTransaction=function(e){this.rawTransaction=e},t.prototype.setSignature=function(e){this.signature={r:e.r,s:e.s,v:e.v,recoveryParam:e.recoveryParam}},t.prototype.setNonce=function(e){this.nonce=e},t.prototype.setFromAddress=function(e){this.from=e},t.prototype.getUnsignedRawTransaction=function(){return this.unsignedRawTransaction},t.prototype.getRawTransaction=function(){return this.rawTransaction},t.prototype.getSignature=function(){return this.signature},t.prototype.getFromAddress=function(){return this.from},t.prototype.confirm=function(e,t,r,A,i){return void 0===t&&(t=20),void 0===r&&(r=1e3),void 0===A&&(A=this.messenger.currentShard),void 0===i&&(i=0),n.__awaiter(this,void 0,void 0,function(){var o;return n.__generator(this,function(n){switch(n.label){case 0:return[4,this.txConfirm(e,t,r,A)];case 1:return o=n.sent(),A===i?[2,o]:o.isConfirmed()?[4,this.cxConfirm(e,t,r,i)]:[3,3];case 2:return[2,n.sent()];case 3:return[2,o]}})})},t}(i.TransactionBase);t.StakingTransaction=u;var l=function(){function e(e,t,r,n,A){this.name=e,this.identity=t,this.website=r,this.securityContact=n,this.details=A}return e.prototype.encode=function(){var e=[],t=new a.TextEncoder;return e.push(t.encode(this.name)),e.push(t.encode(this.identity)),e.push(t.encode(this.website)),e.push(t.encode(this.securityContact)),e.push(t.encode(this.details)),e},e}();t.Description=l;var c=function(){function e(e){if(0===e.length)throw new Error("decimal string is empty");var t=e;if("-"===e[0])throw new Error("decimal fraction should be be between [0, 1]");if("+"===e[0]&&(t=e.substr(1)),0===t.length)throw new Error("decimal string is empty");if(t.split(" ").length>1)throw new Error("bad decimal string");var r=t.split("."),n=0,A=r[0];if(2===r.length){if(0===(n=r[1].length)||0===A.length)throw new Error("bad decimal length");if("-"===r[1][0])throw new Error("bad decimal string");A+=r[1]}else if(r.length>2)throw new Error("too many periods to be a decimal string");if(n>s.PRECISION)throw new Error("too much precision: precision should be less than "+s.PRECISION);var i=s.PRECISION-n;A=(A+="0".repeat(i)).replace(/^0+/,"");var a=new o.Unit(A).asWei().toWei();if(a.gt(new o.Unit(s.MAX_DECIMAL.toString()).asWei().toWei()))throw new Error("too large decimal fraction");this.value=a}return e.prototype.encode=function(){var e=[];return e.push(o.numberToHex(this.value)),e},e}();t.Decimal=c;var f=function(){function e(e,t,r){this.rate=e,this.maxRate=t,this.maxChangeRate=r}return e.prototype.encode=function(){var e=[];return e.push(this.rate.encode()),e.push(this.maxRate.encode()),e.push(this.maxChangeRate.encode()),e},e}();t.CommissionRate=f;var d=function(){function e(e,t,r,n,A,i,o){this.validatorAddress=e,this.description=t,this.commissionRates=r,this.minSelfDelegation=n,this.maxTotalDelegation=A,this.slotPubKeys=i,this.amount=o}return e.prototype.encode=function(){var e=[];return e.push(A.hexlify(i.TransactionBase.normalizeAddress(this.validatorAddress))),e.push(this.description.encode()),e.push(this.commissionRates.encode()),e.push(A.hexlify(this.minSelfDelegation)),e.push(A.hexlify(this.maxTotalDelegation)),e.push(this.encodeArr()),e.push(A.hexlify(this.amount)),e},e.prototype.encodeArr=function(){var e=[];return this.slotPubKeys.forEach(function(t){e.push(t)}),e},e}();t.CreateValidator=d;var g=function(){function e(e,t,r,n,A,i,o){this.validatorAddress=e,this.description=t,this.commissionRate=r,this.minSelfDelegation=n,this.maxTotalDelegation=A,this.slotKeyToRemove=i,this.slotKeyToAdd=o}return e.prototype.encode=function(){var e=[];return e.push(A.hexlify(i.TransactionBase.normalizeAddress(this.validatorAddress))),e.push(this.description.encode()),e.push(this.commissionRate.encode()),e.push(A.hexlify(this.minSelfDelegation)),e.push(A.hexlify(this.maxTotalDelegation)),e.push(this.slotKeyToRemove),e.push(this.slotKeyToAdd),e},e}();t.EditValidator=g;var h=function(){function e(e,t,r){this.delegatorAddress=e,this.validatorAddress=t,this.amount=r}return e.prototype.encode=function(){var e=[];return e.push(A.hexlify(i.TransactionBase.normalizeAddress(this.delegatorAddress))),e.push(A.hexlify(i.TransactionBase.normalizeAddress(this.validatorAddress))),e.push(A.hexlify(this.amount)),e},e}();t.Delegate=h;var p=function(){function e(e,t,r){this.delegatorAddress=e,this.validatorAddress=t,this.amount=r}return e.prototype.encode=function(){var e=[];return e.push(A.hexlify(i.TransactionBase.normalizeAddress(this.delegatorAddress))),e.push(A.hexlify(i.TransactionBase.normalizeAddress(this.validatorAddress))),e.push(A.hexlify(this.amount)),e},e}();t.Undelegate=p;var I=function(){function e(e){this.delegatorAddress=e}return e.prototype.encode=function(){var e=[];return e.push(A.hexlify(i.TransactionBase.normalizeAddress(this.delegatorAddress))),e},e}();t.CollectRewards=I},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(2).__exportStar(r(966),t);var n=r(352);t.toUtf8Bytes=n.toUtf8Bytes,t.toUtf8String=n.toUtf8String,t.formatBytes32String=n.formatBytes32String,t.parseBytes32String=n.parseBytes32String;var A=r(968);t.Contract=A.Contract;var i=r(1800);t.ContractFactory=i.ContractFactory},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1789),A=r(352);t.AbiCoder=function(){return new n.AbiCoderClass(new A.AbiCoder)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(31),A=r(54);t.jsonInterfaceMethodToString=function(e){return n.isObject(e)&&e.name&&e.name.includes("(")?e.name:e.name+"("+t.flattenTypes(!1,e.inputs).join(",")+")"},t.flattenTypes=function(e,r){var A=[];return r.forEach(function(r){if("object"==typeof r.components){if("tuple"!==r.type.substring(0,5))throw new Error("components found but type is not tuple; report on GitHub");var i="",o=r.type.indexOf("[");o>=0&&(i=r.type.substring(o));var a=t.flattenTypes(e,r.components);n.isArray(a)&&e?A.push("tuple("+a.join(",")+")"+i):e?A.push("("+a+")"):A.push("("+a.join(",")+")"+i)}else A.push(r.type)}),A},t.bnToString=function(e){return A.BN.isBN(e)?e.toString():e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(529),A=r(966),i=r(1792),o=r(1795),a=r(1797),s=r(970),u=function(){function e(e,t,r,n,o){void 0===e&&(e=[]),void 0===t&&(t="0x"),void 0===r&&(r={}),void 0===o&&(o=s.ContractStatus.INITIALISED),this.abiCoder=A.AbiCoder(),this.abiModel=i.abiMapper(e,this.abiCoder),this.options=r,this.address=this.options.address||t,this.shardID=this.options.shardID||n.messenger.currentShard,this.wallet=n,this.methods={},this.events={},this.runMethodFactory(),this.runEventFactory(),this.status=o}return e.prototype.isInitialised=function(){return this.status===s.ContractStatus.INITIALISED},e.prototype.isSigned=function(){return this.status===s.ContractStatus.SIGNED},e.prototype.isSent=function(){return this.status===s.ContractStatus.SENT},e.prototype.isDeployed=function(){return this.status===s.ContractStatus.DEPLOYED},e.prototype.isRejected=function(){return this.status===s.ContractStatus.REJECTED},e.prototype.isCalled=function(){return this.status===s.ContractStatus.CALLED},e.prototype.setStatus=function(e){this.status=e},Object.defineProperty(e.prototype,"jsonInterface",{get:function(){return this.abiModel},set:function(e){this.abiModel=i.abiMapper(e,this.abiCoder),this.runMethodFactory(),this.runEventFactory()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"address",{get:function(){return this.options.address||this.address},set:function(e){this.options.address=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this.options.data},set:function(e){this.options.data=e},enumerable:!0,configurable:!0}),e.prototype.deploy=function(e){return this.methods.contractConstructor(e)},e.prototype.runMethodFactory=function(){return new o.MethodFactory(this).addMethodsToContract()},e.prototype.runEventFactory=function(){return new a.EventFactory(this).addEventsToContract()},e.prototype.connect=function(e){this.wallet=e},e.prototype.setMessegner=function(e){this.wallet instanceof n.Wallet?this.wallet.setMessenger(e):this.wallet.messenger=e},e}();t.Contract=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(31);t.methodEncoder=function(e,t,r){var n=e.encodeParameters(t.getInputs(),t.contractMethodParameters);if(n.startsWith("0x")&&(n=n.slice(2)),t.isOfType("constructor")){if(!r)throw new Error("The contract has no contract data option set. This is necessary to append the constructor parameters.");return r+n}return t.isOfType("function")?t.signature+n:n},t.eventFilterEncoder=function(e,t,r){var A=[];return t.getIndexedInputs().forEach(function(t){if(r[t.name]){var i=r[t.name];return n.isArray(i)?(i=i.map(function(r){return e.encodeParameter(t.type,r)}),void A.push(i)):void A.push(e.encodeParameter(t.type,i))}A.push(null)}),A}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.INITIALISED="initialised",e.TESTED="tested",e.ERROR="error",e.SIGNED="signed",e.SENT="sent",e.REJECTED="rejected",e.DEPLOYED="deployed",e.CALLED="called"}(t.ContractStatus||(t.ContractStatus={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(54),A=r(31),i=r(352);t.inputLogFormatter=function(e){return e.fromBlock&&(e.fromBlock=t.inputBlockNumberFormatter(e.fromBlock)),e.toBlock&&(e.toBlock=t.inputBlockNumberFormatter(e.toBlock)),e.topics=e.topics||[],e.topics=e.topics.map(function(e){return A.isArray(e)?e.map(t.toTopic):t.toTopic(e)}),e.address&&(A.isArray(e.address)?e.address=e.address.map(function(e){return t.inputAddressFormatter(e)}):e.address=t.inputAddressFormatter(e.address)),e},t.outputLogFormatter=function(e){if("string"==typeof e.blockHash&&"string"==typeof e.transactionHash&&"string"==typeof e.logIndex){var t=n.keccak256("0x"+e.blockHash.replace("0x","")+e.transactionHash.replace("0x","")+e.logIndex.replace("0x",""));t.replace("0x","").substr(0,8),e.id="log_"+t}else e.id||(e.id=null);return null!==e.blockNumber&&(e.blockNumber=A.hexToBN(e.blockNumber).toNumber()),null!==e.transactionIndex&&(e.transactionIndex=A.hexToBN(e.transactionIndex).toNumber()),null!==e.logIndex&&(e.logIndex=A.hexToBN(e.logIndex).toNumber()),e.address&&(e.address=n.toChecksumAddress(e.address)),e},t.inputBlockNumberFormatter=function(e){return null==e||t.isPredefinedBlockNumber(e)?e:n.isHexString(e)?A.isString(e)?e.toLowerCase():e:A.numberToHex(e)},t.isPredefinedBlockNumber=function(e){return"latest"===e||"pending"===e||"earliest"===e},t.inputAddressFormatter=function(e){if(A.isAddress(e))return"0x"+e.toLowerCase().replace("0x","");throw new Error('Provided address "'+e+"\" is invalid, the capitalization checksum test failed, or its an indrect IBAN address which can't be converted.")},t.toTopic=function(e){return null==e?null:0===(e=String(e)).indexOf("0x")?e:n.hexlify(i.toUtf8Bytes(e))}},function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"default",function(){return B});var n=r(37),A=r(3),i=(r(30),r(171),r(23)),o=r(10),a=r(9),s=r(24),u=(r(94),r(79)),l=r(169),c=r.n(l),f=r(77),d=r(19),g=r(378),h=r.n(g);const p=c.a.getCrypto("hashgard"),I=c.a.getBuilder("hashgard");class B extends n.a{constructor(){super(A.c.HASHGARD,A.a.HASHGARD)}config(e){return{dappStoreTag:e.custom?Object(A.f)(e.blockchain).toLowerCase():e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:A.b.HASHGARD}}async getChainId(e){return new u.a(e.nodeAddress).get("/node_info").then(e=>e.result?e.result.network||e.result.node_info.network:"").catch(()=>"")}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!0}randomKeypair(e,t={}){return new Promise((e,t)=>{const r=p.create("english");r?e({mnemonic:r.phrase,privateKey:r.privateKey}):t()})}mnemonicToPrivateKey(e,t,r={}){return{privateKey:p.recover(e,"english").privateKey}}privateToPublic(e,t,r={}){return p.import(e).address}validMnemonic(e){return d.a.validateMnemonic(e)}validPrivateKey(e){return p.isValidPrivate(e)}validPublicKey(e){return p.isValidAddress(e)}signer(t,r,n,A){r.decryptPrivateKey(({privateKey:t})=>{if(!t)return A(a.a.signatureRejected()),!1;try{if(n.hasOwnProperty("transaction")){const e=I.buildAndSignTx(n.transaction,t).GetData();A(e)}else{const{data:r,isHash:i}=n,o=f.a.generateSignature(i?r:e.from(r).toString("hex"),t,i),a=h.a.import(t).publicKey;A({signature:o,publicKey:a})}}catch(e){A(a.a.invalidSignature())}},t)}signatureProvider(...e){}requestSelectedIdentity(e,t,r,n){const A=r.keychain.accounts.find(e=>e.networkUnique===t.unique()&&e.selected);A&&r.keychain.keypairs.find(e=>e.unique()===A.keypairUnique())?n({domain:e,network:t,account:A}):n(a.a.identityRejected())}requestIdentity(e,t,r,n,A){const s=n.find(r=>e===r.domain&&t.unique()===r.account.networkUnique);s?A({network:t,account:s.account,whitelistChecked:!1,whitelist:{}}):i.a.open(new o.b(o.a.REQUEST_IDENTITY,e,t,{},r=>{!r||r.hasOwnProperty("isError")?A(a.a.identityRejected()):A({domain:e,network:t,account:r.account,whitelistChecked:!0,whitelist:{domain:e,account:r.account}})}))}requestSignature(e,t,r,n,A,u,l,c){const{transaction:f}=u;i.a.open(new o.b(o.a.REQUEST_SIGNATURE,t,r,{messages:[f],signerAccount:n,showWhiteListCheck:!1},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return c(a.a.invalidSignature()),!1;s.a.plugin(r.blockchain).signer(A,e,u,e=>{c({signature:e})})}))}requestArbitrarySignatrue(e,t,r,n,A,u,l){const{whatfor:c,data:f}=u;i.a.open(new o.b(o.a.REQUEST_ARBITRARY_SIGNATURE,t,r,{signerAccount:n,message:{whatfor:c,data:f}},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return l(a.a.signatureRejected()),!1;s.a.plugin(r.blockchain).signer(A,e,u,l)}))}}}.call(this,r(8).Buffer)},function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"default",function(){return B});var n=r(37),A=r(3),i=r(23),o=r(10),a=r(9),s=r(24),u=(r(94),r(79)),l=r(169),c=r.n(l),f=r(77),d=r(19),g=r(376),h=r.n(g);const p=c.a.getCrypto("iris"),I=c.a.getBuilder("iris");class B extends n.a{constructor(){super(A.c.IRIS,A.a.IRIS)}config(e){return{dappStoreTag:e.custom?Object(A.f)(e.blockchain).toLowerCase():e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:A.b.IRIS}}async getChainId(e){return new u.a(e.nodeAddress).get("/node_info").then(e=>e.result?e.result.network||e.result.node_info.network:"").catch(()=>"")}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!0}randomKeypair(e,t={}){return new Promise((e,t)=>{const r=p.create("english");r?e({mnemonic:r.phrase,privateKey:r.privateKey}):t()})}mnemonicToPrivateKey(e,t,r={}){return{privateKey:p.recover(e,"english").privateKey}}privateToPublic(e,t,r={}){return p.import(e).address}validMnemonic(e){return d.a.validateMnemonic(e)}validPrivateKey(e){return p.isValidPrivate(e)}validPublicKey(e){return p.isValidAddress(e)}signer(t,r,n,A){r.decryptPrivateKey(({privateKey:t})=>{if(!t)return A(a.a.signatureRejected()),!1;try{if(n.hasOwnProperty("transaction")){const e=I.buildAndSignTx(n.transaction,t).GetData();A(e)}else{const{data:r,isHash:i}=n,o=f.a.generateSignature(i?r:e.from(r).toString("hex"),t,i),a=h.a.import(t).publicKey;A({signature:o,publicKey:a})}}catch(e){A(a.a.invalidSignature())}},t)}signatureProvider(...e){}requestSelectedIdentity(e,t,r,n){r.keychain.accounts.find(e=>e.networkUnique===t.unique()&&e.selected)?n({network:t,account:selectedKeypair}):n(a.a.identityRejected())}requestIdentity(e,t,r,n,A){const s=n.find(r=>e===r.domain&&t.unique()===r.account.networkUnique);s?A({network:t,account:s.account,whitelistChecked:!1,whitelist:{}}):i.a.open(new o.b(o.a.REQUEST_IDENTITY,e,t,{},r=>{!r||r.hasOwnProperty("isError")?A(a.a.identityRejected()):A({network:t,account:r.account,whitelistChecked:!0,whitelist:{domain:e,account:r.account}})}))}requestSignature(e,t,r,n,A,u,l,c){const{transaction:f}=u;i.a.open(new o.b(o.a.REQUEST_SIGNATURE,t,r,{messages:[f],signerAccount:n,showWhiteListCheck:!1},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return c(a.a.invalidSignature()),!1;s.a.plugin(r.blockchain).signer(A,e,u,e=>{c({signature:e})})}))}requestArbitrarySignatrue(e,t,r,n,A,u,l){const{whatfor:c,data:f}=u;i.a.open(new o.b(o.a.REQUEST_ARBITRARY_SIGNATURE,t,r,{signerAccount:n,message:{whatfor:c,data:f}},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return l(a.a.signatureRejected()),!1;s.a.plugin(r.blockchain).signer(A,e,u,l)}))}}}.call(this,r(8).Buffer)},function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"default",function(){return C});var n=r(37),A=r(3),i=r(23),o=r(10),a=r(9),s=r(24),u=r(79),l=r(77),c=r(19),f=r(86),d=r(35);const g=r(122),h=r(177),p=r(228),I="m/44'/459'/0'/0/0",B="kava";class C extends n.a{constructor(){super(A.c.KAVA,A.a.KAVA)}config(e){return{dappStoreTag:e.custom?Object(A.f)(e.blockchain).toLowerCase():e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:A.b.KAVA}}endorsedConflict(){return null}async getChainId(e){return new u.a(e.nodeAddress).get("/node_info").then(e=>e.result?e.result.network||e.result.node_info.network:"").catch(()=>"")}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!0}randomKeypair(e,t={}){return new Promise((e,t)=>{const r=c.a.randomMnemonic();if(!r)return void t();const n=c.a.mnemonicToPrivateKey(r,I);if(!n)return void t();const A=f.publicKeyCreate(n);e({mnemonic:r,privateKey:d.a.Hex.bytesToHex(n),extra:{publicKey:d.a.Hex.bytesToHex(A)}})})}mnemonicToPrivateKey(e,t,r={}){const n=c.a.mnemonicToPrivateKey(e,I),A=f.publicKeyCreate(n);return{privateKey:d.a.Hex.bytesToHex(n),extra:{publicKey:d.a.Hex.bytesToHex(A)}}}privateToPublic(e,t,r={}){const n=f.publicKeyCreate(d.a.Hex.hexToBytes(e));return d.a.Bech32.toBech32(B,this.publicKeyToAddress(n))}validMnemonic(e){return c.a.validateMnemonic(e)}validPrivateKey(e){return/^[0-9a-fA-F]{64}$/i.test(e)}validPublicKey(e){return d.a.Bech32.isBech32(B,e)}publicKeyToAddress(e){e.length>33&&(e=e.slice(5,e.length));let t=h(e),r=d.a.Hex.hexToBytes(t);return(new g).update(r).digest("hex").toUpperCase()}signer(t,r,n,A){r.decryptPrivateKey(({privateKey:t,options:r})=>{if(!t)return A(a.a.signatureRejected()),!1;try{if(n.hasOwnProperty("transaction")){const i=e.from(JSON.stringify(n.transaction)).toString("hex"),o=l.a.generateSignature(i,t,!1),a=e.from(o,"hex"),s=e.from(r.publicKey,"hex");A({signature:p.encode(a),pub_key:{type:"tendermint/PubKeySecp256k1",value:p.encode(s)}})}else{const{data:i,isHash:o}=n,a=l.a.generateSignature(o?i:e.from(i).toString("hex"),t,o),s=e.from(a,"hex"),u=e.from(r.publicKey,"hex");A({signature:p.encode(s),pub_key:{type:"tendermint/PubKeySecp256k1",value:p.encode(u)}})}}catch(e){console.log(e),A(a.a.invalidSignature())}},t)}signatureProvider(...e){}requestSelectedIdentity(e,t,r,n){const A=r.keychain.accounts.find(e=>e.networkUnique===t.unique()&&e.selected);A&&r.keychain.keypairs.find(e=>e.unique()===A.keypairUnique())?n({network:t,account:A}):n(a.a.identityRejected())}requestIdentity(e,t,r,n,A){const s=n.find(r=>e===r.domain&&t.unique()===r.account.networkUnique);s?A({network:t,account:s.account,whitelistChecked:!1,whitelist:{}}):i.a.open(new o.b(o.a.REQUEST_IDENTITY,e,t,{},r=>{!r||r.hasOwnProperty("isError")?A(a.a.identityRejected()):A({network:t,account:r.account,whitelistChecked:!0,whitelist:{domain:e,account:r.account}})}))}requestSignature(e,t,r,n,A,u,l,c){const{transaction:f}=u;i.a.open(new o.b(o.a.REQUEST_SIGNATURE,t,r,{messages:[f],signerAccount:n,showWhiteListCheck:!1},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return c(a.a.invalidSignature()),!1;s.a.plugin(r.blockchain).signer(A,e,{transaction:d.a.Sort.sortObjectKeys(f)},e=>{c({signature:e})})}))}requestArbitrarySignatrue(e,t,r,n,A,u,l){const{whatfor:c,data:f}=u;i.a.open(new o.b(o.a.REQUEST_ARBITRARY_SIGNATURE,t,r,{signerAccount:n,message:{whatfor:c,data:f}},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return l(a.a.signatureRejected()),!1;s.a.plugin(r.blockchain).signer(A,e,u,l)}))}}}.call(this,r(8).Buffer)},function(e,t,r){"use strict";r.r(t),r.d(t,"default",function(){return C});var n=r(37),A=r(3),i=r(23),o=r(10),a=r(9),s=r(24),u=r(44),l=r(19),c=r(35),f=r(88),d=r(1061),g=r.n(d),h=r(91);const p="m/44'/309'/0'",I=`${p}/0/0`,B="ckb";class C extends n.a{constructor(){super(A.c.NERVOS,A.a.NERVOS)}config(e){return{dappStoreTag:e.custom?Object(A.f)(e.blockchain).toLowerCase():e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:A.b.NERVOS}}endorsedConflict(){return null}async getChainId(e){return""}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!1}randomKeypair(e,t={}){return new Promise((e,t)=>{const r=l.a.randomMnemonic();if(!r)return void t();const n=l.a.mnemonicToPrivateKey(r,I),A=l.a.nervosExtendedPublicKey(r,p);e({mnemonic:r,privateKey:c.a.Hex.bytesToHex(n),extra:{xpub:A}})})}mnemonicToPrivateKey(e,t,r={}){const n=l.a.mnemonicToPrivateKey(e,I),A=l.a.nervosExtendedPublicKey(e,p);return{privateKey:c.a.Hex.bytesToHex(n),extra:{xpub:A}}}privateToPublic(e,t,r={}){return Object(h.privateKeyToAddress)(c.a.Hex.add0xPrefix(e),{prefix:B})}validMnemonic(e){return l.a.validateMnemonic(e)}validPrivateKey(e){return/^[0-9a-fA-F]{64}$/i.test(e)}validPublicKey(e){return c.a.Bech32.isBech32(B,e)}signer(e,t,r,n){t.decryptPrivateKey(({mnemonic:e,privateKey:t,options:A})=>{if(!e)return n(a.a.signatureRejected()),!1;const{derive_paths:i}=r,o=[];i.forEach(t=>{const r=l.a.mnemonicToPrivateKey(e,`${p}/${t}`);o.push(c.a.Hex.add0xPrefix(c.a.Hex.bytesToHex(r).toLowerCase()))}),n(o)},e)}signatureProvider(...e){const t=e[0],r=e[1];return{signTransaction:async(e,n,A=[])=>{if(!e||0==e.length)throw a.a.identityRejected();const i=(await t(u.g,{blockchain:r.blockchain})).account;if(!i)throw a.a.identityRejected();const o={domain:Object(f.a)(),network:r,message:n.outputs||A,transaction:n,derive_paths:e,signer:i},s=await t(u.h,o);if(!s||0==s.length)throw a.a.identityRejected();const l=new g.a(r.nodeAddress);return s.length>1?l.signTransaction(s)(n,A):l.signTransaction(s[0])(n)}}}requestSelectedIdentity(e,t,r,n){const A=r.keychain.accounts.find(e=>e.networkUnique===t.unique()&&e.selected);if(!A)return void n(a.a.identityRejected());const i=r.keychain.keypairs.find(e=>e.unique()===A.keypairUnique());n(i?{network:t,account:A,options:i.options||{}}:a.a.identityRejected())}requestIdentity(e,t,r,n,A){const s=n.find(r=>e===r.domain&&t.unique()===r.account.networkUnique);s?A({network:t,account:s.account,options:s.options,whitelistChecked:!1,whitelist:{}}):i.a.open(new o.b(o.a.REQUEST_IDENTITY,e,t,{},r=>{!r||r.hasOwnProperty("isError")?A(a.a.identityRejected()):A({network:t,account:r.account,options:r.keypair.options||{},whitelistChecked:!0,whitelist:{domain:e,account:r.account,options:r.keypair.options||{}}})}))}requestSignature(e,t,r,n,A,u,l,c){const{transaction:f,message:d,derive_paths:g}=u;i.a.open(new o.b(o.a.REQUEST_SIGNATURE,t,r,{messages:d,signerAccount:n,showWhiteListCheck:!1},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return c(a.a.invalidSignature()),!1;s.a.plugin(r.blockchain).signer(A,e,u,e=>{c({signature:e})})}))}requestArbitrarySignatrue(e,t,r,n,A,u,l){const{whatfor:c,data:f}=u;i.a.open(new o.b(o.a.REQUEST_ARBITRARY_SIGNATURE,t,r,{signerAccount:n,message:{whatfor:c,data:f}},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return l(a.a.signatureRejected()),!1;s.a.plugin(r.blockchain).signer(A,e,u,l)}))}}},function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var A=0;for(n=Object.getOwnPropertySymbols(e);A<n.length;A++)t.indexOf(n[A])<0&&Object.prototype.propertyIsEnumerable.call(e,n[A])&&(r[n[A]]=e[n[A]])}return r};Object.defineProperty(t,"__esModule",{value:!0});const A=r(161),i=r(91),o={toOptional:e=>t=>e&&null!=t?e(t):t,toHash:e=>{if("string"!=typeof e)throw new TypeError(`Hash ${e} should be type of string`);return e.startsWith("0x")?e:`0x${e}`},toNumber:e=>{if("bigint"==typeof e)return`0x${e.toString(16)}`;if("string"!=typeof e)throw new TypeError(`The number ${e} should be a bigint or a hex string`);if(!e.startsWith("0x"))throw new A.HexStringShouldStartWith0x(e);return e},toScript:e=>{const{codeHash:t,hashType:r}=e,A=n(e,["codeHash","hashType"]);return Object.assign({code_hash:o.toHash(t),hash_type:r},A)},toOutPoint:e=>{if(!e)return e;const{txHash:t,index:r}=e,A=n(e,["txHash","index"]);return Object.assign({tx_hash:o.toHash(t),index:o.toNumber(r)},A)},toInput:e=>{if(!e)return e;const{previousOutput:t,since:r}=e,A=n(e,["previousOutput","since"]);return Object.assign({previous_output:o.toOutPoint(t),since:o.toNumber(r)},A)},toOutput:e=>{if(!e)return e;const{capacity:t,lock:r,type:A=null}=e,i=n(e,["capacity","lock","type"]);return Object.assign({capacity:o.toNumber(t),lock:o.toScript(r),type:A?o.toScript(A):A},i)},toDepType:e=>"depGroup"===e?"dep_group":e,toCellDep:e=>{if(!e)return e;const{outPoint:t=null,depType:r="code"}=e,A=n(e,["outPoint","depType"]);return Object.assign({out_point:o.toOutPoint(t),dep_type:o.toDepType(r)},A)},toRawTransaction:e=>{if(!e)return e;const{version:t,cellDeps:r=[],inputs:A=[],outputs:i=[],outputsData:a=[],headerDeps:s=[]}=e,u=n(e,["version","cellDeps","inputs","outputs","outputsData","headerDeps"]),l=A.map(e=>o.toInput(e)),c=i.map(e=>o.toOutput(e)),f=r.map(e=>o.toCellDep(e));return Object.assign({version:o.toNumber(t),cell_deps:f,inputs:l,outputs:c,outputs_data:a,header_deps:s},u)},toPageNumber:(e="0x1")=>o.toNumber(e),toPageSize:(e="0x32")=>{const t=i.JSBI.BigInt(`${e}`);if(i.JSBI.greaterThan(t,i.JSBI.BigInt(50)))throw new Error("Page size is up to 50");if(i.JSBI.lessThan(t,i.JSBI.BigInt(0)))throw new Error("Page size is expected to be non-negative");return o.toNumber(`0x${t.toString(16)}`)},toReverseOrder:(e=!1)=>!!e,toOutputsValidator:e=>{if(!e)return;if(["default","passthrough"].indexOf(e)>-1)return e;throw new TypeError("Outputs validator should be default or passthrough")}};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1810),A=r(91),i=r(161),o=new n.ec("secp256k1");t.default=class{constructor(e,{compressed:t=!0}={compressed:!0}){if(this.compressed=!1,this.getPrivateKey=(e="hex")=>"hex"===e?this.privateKey:this.key.getPrivate(e),this.getPublicKey=e=>"hex"===e?this.publicKey:this.key.getPublic(this.compressed,e),this.sign=e=>{const t="string"==typeof e?A.hexToBytes(e):e;return`0x${this.key.sign(t,{canonical:!0}).toDER("hex")}`},this.verify=(e,t)=>{const r="string"==typeof e?A.hexToBytes(e):e,n="string"==typeof t?A.hexToBytes(t):t;return this.key.verify(r,n)},this.signRecoverable=e=>{const t="string"==typeof e?A.hexToBytes(e):e,{r:r,s:n,recoveryParam:i}=this.key.sign(t,{canonical:!0});if(null===i)throw new Error("Fail to sign the message");return`0x${r.toString(16).padStart(64,"0")}${n.toString(16).padStart(64,"0")}0${i}`},void 0===e)throw new i.ArgumentRequired("Private key");if("string"==typeof e&&!e.startsWith("0x"))throw new i.HexStringShouldStartWith0x(e);if("string"==typeof e&&66!==e.length)throw new Error("Private key has invalid length");if("object"==typeof e&&32!==e.byteLength)throw new Error("Private key has invalid length");this.key=o.keyFromPrivate("string"==typeof e?e.replace(/^0x/,""):e),this.compressed=t}get privateKey(){return`0x${this.key.getPrivate("hex").padStart(64,"0")}`}get publicKey(){return`0x${this.key.getPublic(this.compressed,"hex")}`}}},function(e,t,r){"use strict";var n=t;n.base=r(353),n.short=r(1812),n.mont=r(1813),n.edwards=r(1814)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1823),A=new Uint32Array(32),i=new Uint32Array(32),o=(e,t,r)=>{const n=e[t]+e[r];let A=e[t+1]+e[r+1];n>=4294967296&&A++,e[t]=n,e[t+1]=A},a=(e,t,r,n)=>{let A=e[t]+r;r<0&&(A+=4294967296);let i=e[t+1]+n;A>=4294967296&&i++,e[t]=A,e[t+1]=i},s=(e,t)=>e[t]^e[t+1]<<8^e[t+2]<<16^e[t+3]<<24,u=(e,t,r,n,s,u)=>{const l=i[s],c=i[s+1],f=i[u],d=i[u+1];o(A,e,t),a(A,e,l,c);let g=A[n]^A[e],h=A[n+1]^A[e+1];A[n]=h,A[n+1]=g,o(A,r,n),g=A[t]^A[r],h=A[t+1]^A[r+1],A[t]=g>>>24^h<<8,A[t+1]=h>>>24^g<<8,o(A,e,t),a(A,e,f,d),g=A[n]^A[e],h=A[n+1]^A[e+1],A[n]=g>>>16^h<<16,A[n+1]=h>>>16^g<<16,o(A,r,n),g=A[t]^A[r],h=A[t+1]^A[r+1],A[t]=h>>>31^g<<1,A[t+1]=g>>>31^h<<1},l=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),c=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3].map(e=>2*e)),f=(e,t)=>{let r=0;for(r=0;r<16;r++)A[r]=e.h[r],A[r+16]=l[r];for(A[24]^=e.t,A[25]^=e.t/4294967296,t&&(A[28]=~A[28],A[29]=~A[29]),r=0;r<32;r++)i[r]=s(e.b,4*r);for(r=0;r<12;r++)u(0,8,16,24,c[16*r+0],c[16*r+1]),u(2,10,18,26,c[16*r+2],c[16*r+3]),u(4,12,20,28,c[16*r+4],c[16*r+5]),u(6,14,22,30,c[16*r+6],c[16*r+7]),u(0,10,20,30,c[16*r+8],c[16*r+9]),u(2,12,22,24,c[16*r+10],c[16*r+11]),u(4,14,16,26,c[16*r+12],c[16*r+13]),u(6,8,18,28,c[16*r+14],c[16*r+15]);for(r=0;r<16;r++)e.h[r]=e.h[r]^A[r]^A[r+16]},d=(e,t)=>{for(let r=0;r<t.length;r++)128===e.c&&(e.t+=e.c,f(e,!1),e.c=0),e.b[e.c++]=+t[r]},g=(e,t)=>{for(e.t+=e.c;e.c<128;)e.b[e.c++]=0;f(e,!0);for(let r=0;r<e.outlen;r++)t[r]=e.h[r>>2]>>8*(3&r);return t},h=e=>e<16?`0${e.toString(16)}`:e.toString(16),p=e=>{let t="";for(let r=0;r<e.length;r++)t+=h(+e[r]);return t},I=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);class B{constructor(e,t,r,n){this.update=e=>{if(!(e instanceof Uint8Array))throw new TypeError("input must be Uint8Array or Buffer");return d(this,e),this},this.digest=e=>{const t=e&&"binary"!==e&&"hex"!==e?e:new Uint8Array(this.outlen);if(!(t instanceof Uint8Array))throw new TypeError('out must be "binary", "hex", Uint8Array, or Buffer');if(t.length<this.outlen)throw new Error("out must have at least outlen bytes of space");return g(this,t),"hex"===e?p(t):t},this.final=this.digest,I.fill(0),this.b=new Uint8Array(128),this.h=new Uint32Array(16),this.t=0,this.c=0,this.outlen=e,I[0]=e,t&&(I[1]=t.length),I[2]=1,I[3]=1,r&&I.set(r,32),n&&I.set(n,48);for(let e=0;e<16;e++)this.h[e]=l[e]^s(I,4*e);t&&(d(this,t),this.c=128)}}t.Blake2b=B,t.blake2b=(e,t,r,n,A)=>{if(!0!==A){if(e<16)throw new Error(`outlen must be at least 16, was given ${e}`);if(e>64)throw new Error(`outlen must be at most 64, was given ${e}`);if(null!==t){if(!(t instanceof Uint8Array))throw new TypeError("key must be Uint8Array or Buffer");if(t.length<16)throw new Error(`key must be at least 16, was given ${t.length}`);if(t.length>64)throw new Error(`key must be at most 64, was given ${t.length}`)}if(null!==r){if(!(r instanceof Uint8Array))throw new TypeError("salt must be Uint8Array or Buffer");if(16!==r.length)throw new Error(`salt must be exactly 16, was given ${r.length}`)}if(null!==n){if(!(n instanceof Uint8Array))throw new TypeError("personal must be Uint8Array or Buffer");if(16!==n.length)throw new TypeError(`personal must be exactly 16, was given ${n.length}`)}}return new B(e,t,r,n)},t.ready=e=>{n.ready(()=>{e()})},t.default=t.blake2b},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(535),A=r(161);t.serializeCodeHash=e=>n.serializeArray(e),t.serializeHashType=e=>{if("data"===e)return"0x00";if("type"===e)return"0x01";throw new TypeError("Hash type must be either of 'data' or 'type'")},t.serializeArgs=e=>n.serializeFixVec(e),t.serializeScript=e=>{if(!e)throw new A.ArgumentRequired("Script");const{codeHash:r="",hashType:i,args:o=""}=e,a=t.serializeCodeHash(r),s=t.serializeHashType(i),u=t.serializeArgs(o),l=new Map([["codeHash",a],["hashType",s],["args",u]]);return n.serializeTable(l)}},function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var A=0;for(n=Object.getOwnPropertySymbols(e);A<n.length;A++)t.indexOf(n[A])<0&&Object.prototype.propertyIsEnumerable.call(e,n[A])&&(r[n[A]]=e[n[A]])}return r};Object.defineProperty(t,"__esModule",{value:!0});const A={toNumber:e=>e.toString(),toHash:e=>e,toHeader:e=>{if(!e)return e;const{compact_target:t,transactions_root:r,proposals_hash:A,uncles_hash:i,parent_hash:o}=e,a=n(e,["compact_target","transactions_root","proposals_hash","uncles_hash","parent_hash"]);return Object.assign({compactTarget:t,parentHash:o,transactionsRoot:r,proposalsHash:A,unclesHash:i},a)},toScript:e=>{if(!e)return e;const{code_hash:t,hash_type:r}=e,A=n(e,["code_hash","hash_type"]);return Object.assign({codeHash:t,hashType:r},A)},toInput:e=>{if(!e)return e;const{previous_output:t}=e,r=n(e,["previous_output"]);return Object.assign({previousOutput:t?A.toOutPoint(t):t},r)},toOutput:e=>{if(!e)return e;const{lock:t,type:r}=e,i=n(e,["lock","type"]);return Object.assign({lock:A.toScript(t),type:r?A.toScript(r):r},i)},toOutPoint:e=>{if(!e)return e;const{tx_hash:t}=e,r=n(e,["tx_hash"]);return Object.assign({txHash:t},r)},toDepType:e=>"dep_group"===e?"depGroup":e,toCellDep:e=>{if(!e)return e;const{out_point:t=null,dep_type:r="code"}=e,i=n(e,["out_point","dep_type"]);return Object.assign({outPoint:A.toOutPoint(t),depType:A.toDepType(r)},i)},toTransaction:e=>{if(!e)return e;const{cell_deps:t=[],inputs:r=[],outputs:i=[],outputs_data:o=[],header_deps:a=[]}=e,s=n(e,["cell_deps","inputs","outputs","outputs_data","header_deps"]);return Object.assign({cellDeps:t.map(A.toCellDep),inputs:r.map(A.toInput),outputs:i.map(A.toOutput),outputsData:o,headerDeps:a},s)},toUncleBlock:e=>{if(!e)return e;const{header:t}=e,r=n(e,["header"]);return Object.assign({header:A.toHeader(t)},r)},toBlock:e=>{if(!e)return e;const{header:t,uncles:r=[],transactions:i=[]}=e,o=n(e,["header","uncles","transactions"]);return Object.assign({header:A.toHeader(t),uncles:r.map(A.toUncleBlock),transactions:i.map(A.toTransaction)},o)},toAlertMessage:e=>{if(!e)return e;const{notice_until:t}=e,r=n(e,["notice_until"]);return Object.assign({noticeUntil:t},r)},toBlockchainInfo:e=>{if(!e)return e;const{is_initial_block_download:t,median_time:r,alerts:i}=e,o=n(e,["is_initial_block_download","median_time","alerts"]);return Object.assign({isInitialBlockDownload:t,medianTime:r,alerts:i.map(A.toAlertMessage)},o)},toNodeInfo:e=>{if(!e)return e;const{node_id:t,is_outbound:r}=e,A=n(e,["node_id","is_outbound"]);return Object.assign({nodeId:t,isOutbound:r},A)},toTxPoolInfo:e=>{if(!e)return e;const{last_txs_updated_at:t,total_tx_cycles:r,total_tx_size:A,min_fee_rate:i}=e,o=n(e,["last_txs_updated_at","total_tx_cycles","total_tx_size","min_fee_rate"]);return Object.assign({lastTxsUpdatedAt:t,totalTxCycles:r,totalTxSize:A,minFeeRate:i},o)},toPeers:e=>Array.isArray(e)?e.map(A.toNodeInfo):[],toPeersState:e=>{if(!e)return e;const{last_updated:t,blocks_in_flight:r}=e,A=n(e,["last_updated","blocks_in_flight"]);return Object.assign({lastUpdated:t,blocksInFlight:r},A)},toCell:e=>{if(!e)return e;const{lock:t,type:r}=e,i=n(e,["lock","type"]);return Object.assign({lock:A.toScript(t),type:r?A.toScript(r):null},i)},toLiveCell:e=>{if(!e)return e;const{data:t,output:r}=e,i=n(e,["data","output"]);return Object.assign({data:t,output:A.toOutput(r)},i)},toLiveCellWithStatus:e=>{if(!e)return e;const{cell:t}=e,r=n(e,["cell"]);return Object.assign({cell:A.toLiveCell(t)},r)},toCells:e=>Array.isArray(e)?e.map(A.toCell):[],toCellIncludingOutPoint:e=>{if(!e)return e;const{lock:t,block_hash:r,out_point:i,output_data_len:o}=e,a=n(e,["lock","block_hash","out_point","output_data_len"]);return Object.assign({blockHash:r,lock:A.toScript(t),outPoint:A.toOutPoint(i),outputDataLen:o},a)},toCellsIncludingOutPoint:e=>Array.isArray(e)?e.map(A.toCellIncludingOutPoint):[],toTransactionWithStatus:e=>{if(!e)return e;const{transaction:t,tx_status:{block_hash:r,status:i}}=e,o=n(e,["transaction","tx_status"]);return Object.assign({transaction:A.toTransaction(t),txStatus:{blockHash:r,status:i}},o)},toEpoch:e=>{if(!e)return e;const{start_number:t,compact_target:r}=e,A=n(e,["start_number","compact_target"]);return Object.assign({compactTarget:r,startNumber:t},A)},toTransactionPoint:e=>{if(!e)return e;const{block_number:t,tx_hash:r}=e,A=n(e,["block_number","tx_hash"]);return Object.assign({blockNumber:t,txHash:r},A)},toTransactionsByLockHash:e=>e?e.map(e=>({consumedBy:e.consumed_by?A.toTransactionPoint(e.consumed_by):e.consumed_by,createdBy:A.toTransactionPoint(e.created_by)})):e,toLiveCellsByLockHash:e=>e?e.map(e=>({cellOutput:A.toCell(e.cell_output),createdBy:A.toTransactionPoint(e.created_by)})):e,toLockHashIndexState:e=>{if(!e)return e;const{block_hash:t,block_number:r,lock_hash:A}=e,i=n(e,["block_hash","block_number","lock_hash"]);return Object.assign({blockHash:t,blockNumber:r,lockHash:A},i)},toLockHashIndexStates:e=>e?e.map(A.toLockHashIndexState):e,toBannedAddress:e=>{if(!e)return e;const{ban_reason:t,ban_until:r,created_at:A}=e,i=n(e,["ban_reason","ban_until","created_at"]);return Object.assign({banReason:t,banUntil:r,createdAt:A},i)},toBannedAddresses:e=>e?e.map(e=>A.toBannedAddress(e)):e,toCellbaseOutputCapacityDetails:e=>{if(!e)return e;const{proposal_reward:t,tx_fee:r}=e,A=n(e,["proposal_reward","tx_fee"]);return Object.assign({proposalReward:t,txFee:r},A)},toFeeRate:e=>{if(!e)return e;const{fee_rate:t}=e,r=n(e,["fee_rate"]);return Object.assign({feeRate:t},r)},toCapacityByLockHash:e=>{if(!e)return e;const{cells_count:t,block_number:r,capacity:A}=e,i=n(e,["cells_count","block_number","capacity"]);return Object.assign({blockNumber:r,capacity:A,cellsCount:t},i)},toBlockEconomicState:e=>{if(!e)return e;const{finalized_at:t,miner_reward:r,txs_fee:A}=e,i=n(e,["finalized_at","miner_reward","txs_fee"]);return Object.assign({finalizedAt:t,minerReward:r,txsFee:A},i)}};t.default=A},function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},function(e,t,r){"use strict";var n=r(102);function A(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var o=[];n.forEach(t,function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),o.push(A(t)+"="+A(e))}))}),i=o.join("&")}if(i){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,r){"use strict";(function(t){var n=r(102),A=r(1837),i={"Content-Type":"application/x-www-form-urlencoded"};function o(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var a,s={adapter:(void 0!==t&&"[object process]"===Object.prototype.toString.call(t)?a=r(986):"undefined"!=typeof XMLHttpRequest&&(a=r(986)),a),transformRequest:[function(e,t){return A(t,"Accept"),A(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(o(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)?(o(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],function(e){s.headers[e]={}}),n.forEach(["post","put","patch"],function(e){s.headers[e]=n.merge(i)}),e.exports=s}).call(this,r(50))},function(e,t,r){"use strict";var n=r(102),A=r(1838),i=r(983),o=r(1840),a=r(1841),s=r(987);e.exports=function(e){return new Promise(function(t,u){var l=e.data,c=e.headers;n.isFormData(l)&&delete c["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var d=e.auth.username||"",g=e.auth.password||"";c.Authorization="Basic "+btoa(d+":"+g)}if(f.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in f?o(f.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:r,config:e,request:f};A(t,u,n),f=null}},f.onabort=function(){f&&(u(s("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){u(s("Network Error",e,null,f)),f=null},f.ontimeout=function(){u(s("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",f)),f=null},n.isStandardBrowserEnv()){var h=r(1842),p=(e.withCredentials||a(e.url))&&e.xsrfCookieName?h.read(e.xsrfCookieName):void 0;p&&(c[e.xsrfHeaderName]=p)}if("setRequestHeader"in f&&n.forEach(c,function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete c[t]:f.setRequestHeader(t,e)}),e.withCredentials&&(f.withCredentials=!0),e.responseType)try{f.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){f&&(f.abort(),u(e),f=null)}),void 0===l&&(l=null),f.send(l)})}},function(e,t,r){"use strict";var n=r(1839);e.exports=function(e,t,r,A,i){var o=new Error(e);return n(o,t,r,A,i)}},function(e,t,r){"use strict";var n=r(102);e.exports=function(e,t){t=t||{};var r={};return n.forEach(["url","method","params","data"],function(e){void 0!==t[e]&&(r[e]=t[e])}),n.forEach(["headers","auth","proxy"],function(A){n.isObject(t[A])?r[A]=n.deepMerge(e[A],t[A]):void 0!==t[A]?r[A]=t[A]:n.isObject(e[A])?r[A]=n.deepMerge(e[A]):void 0!==e[A]&&(r[A]=e[A])}),n.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],function(n){void 0!==t[n]?r[n]=t[n]:void 0!==e[n]&&(r[n]=e[n])}),r}},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,t,r){"use strict";r.r(t),r.d(t,"default",function(){return B});var n=r(37),A=r(3),i=r(23),o=r(10),a=r(9),s=r(24),u=r(19),l=r(42),c=r(12),f=r(255),d=r(1062),g=r.n(d),h=r(17),p=r.n(h);const I=new f.TypeRegistry;class B extends n.a{constructor(){super(A.c.POLKADOT,A.a.POLKADOT)}config(e){const t={dappStoreTag:e.custom?Object(A.f)(e.blockchain).toLowerCase():e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:A.b.POLKADOT};switch(e.chainId){case"polkadot":t.eventLogTag=A.b.POLKADOT;break;case"kusama":t.eventLogTag=A.b.KUSAMA;break;case"substrate":t.eventLogTag=A.b.SUBSTRATE;break;case"edgeware":t.eventLogTag=A.b.EDGEWARE;break;case"straightedge":t.eventLogTag=A.b.STRAIGHTEDGE}return t}endorsedConflict(){return null}async getChainId(e){return""}static getAddressPrefix(e){if(!e)return 42;switch(e){case"polkadot":return 0;case"kusama":return 2;case"edgeware":return 7;case"straightedge":default:return 42}}static getChainGenesisHash(e){if(!e)return"";switch(e){case"polkadot":case"kusama":case"edgeware":case"straightedge":default:return""}}isSupportMnemonic(){return!0}isSupportPrivateKey(){return!0}randomKeypair(e,t={}){return new Promise((e,t)=>{Object(l.cryptoWaitReady)().then(()=>{const t=Object(l.mnemonicGenerate)(12),r=Object(l.mnemonicToMiniSecret)(t,""),n=Object(c.u8aToHex)(r);e({mnemonic:t,privateKey:n})}).catch(e=>{t(e)})})}mnemonicToPrivateKey(e,t,r={}){const n=Object(l.mnemonicToMiniSecret)(e,"");return{privateKey:Object(c.u8aToHex)(n)}}privateToPublic(e,t,r={}){const n=Object(c.hexToU8a)(e),A=r&&r.hasOwnProperty("type")&&"sr25519"===r.type?Object(l.schnorrkelKeypairFromSeed)(n):Object(l.naclKeypairFromSeed)(n),i=t?t.chainId:null;return Object(l.encodeAddress)(A.publicKey,B.getAddressPrefix(i))}validMnemonic(e){return u.a.validateMnemonic(e)}validPrivateKey(e){return e&&0!=e.indexOf("0x")&&(e=`0x${e}`),Object(c.isHex)(e)&&66==e.length}validPublicKey(e){try{return!!Object(l.decodeAddress)(e)}catch(e){return!1}}signer(e,t,r,n){t.decryptPrivateKey(({privateKey:t})=>{t?Object(l.cryptoWaitReady)().then(()=>{let A="ed25519";e.hasOwnProperty("options")&&e.options.hasOwnProperty("type")&&(A=e.options.type);const{signPayload:i}=r,o=Object(f.createType)(I,"ExtrinsicPayload",i,{version:i.version});let a=(new g.a).addFromSeed(Object(c.hexToU8a)(t),null,A);const s=o.sign(a);a.lock(),n(s)}).catch(e=>{n(a.a.signatureRejected())}):n(a.a.invalidSignature())},e)}signatureProvider(...e){}requestSelectedIdentity(e,t,r,n){const A=r.keychain.accounts.filter(e=>e.networkUnique===t.unique());n({network:t,accounts:A,genesisHash:B.getChainGenesisHash(t.chainId)})}requestIdentity(e,t,r,n,A){i.a.open(new o.b(o.a.REQUEST_IDENTITY,e,t,{},e=>{!e||e.hasOwnProperty("isError")?A(a.a.identityRejected()):A({network:t,accounts:[e.account],genesisHash:B.getChainGenesisHash(t.chainId)})}))}requestSignature(e,t,r,n,A,u,l,f){const{signPayload:d}=u,{blockNumber:g,genesisHash:h,specVersion:I,nonce:B,method:C,tip:m,version:y}=d,Q={nonce:new p.a(Object(c.hexToU8a)(B)).toString(10),method:C,genesisHash:h,specVersion:new p.a(Object(c.hexToU8a)(I)),blockNumber:new p.a(Object(c.hexToU8a)(g)).toString(10),tip:new p.a(Object(c.hexToU8a)(m)).toString(10)};i.a.open(new o.b(o.a.REQUEST_SIGNATURE,t,r,{messages:[Q],signerAccount:n,showWhiteListCheck:!1},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return f(a.a.signatureRejected()),!1;s.a.plugin(r.blockchain).signer(A,e,{signPayload:d},e=>{f({signature:e})})}))}requestArbitrarySignatrue(e,t,r,n,A,u,l){const{whatfor:c,data:f}=u;i.a.open(new o.b(o.a.REQUEST_ARBITRARY_SIGNATURE,t,r,{signerAccount:n,message:{whatfor:c,data:f}},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return l(a.a.signatureRejected()),!1;s.a.plugin(r.blockchain).signer(A,e,{data:f},l)}))}}},function(e,t,r){let n;const A={crypto:r(72)};let i=null;function o(){return null!==i&&i.buffer===n.memory.buffer||(i=new Uint8Array(n.memory.buffer)),i}let a=0;function s(e){const t=n.__wbindgen_malloc(1*e.length);return o().set(e,t/1),a=e.length,t}function u(e,t){return o().subarray(e/1,e/1+t)}let l=null;function c(){return null===l&&(l=n.__wbindgen_global_argument_ptr()),l}let f=null;function d(){return null!==f&&f.buffer===n.memory.buffer||(f=new Uint32Array(n.memory.buffer)),f}e.exports.ext_sr_derive_keypair_hard=function(e,t){const r=s(e),A=a,i=s(t),o=a,l=c();try{n.ext_sr_derive_keypair_hard(l,r,A,i,o);const e=d(),t=e[l/4],a=e[l/4+1],s=u(t,a).slice();return n.__wbindgen_free(t,1*a),s}finally{n.__wbindgen_free(r,1*A),n.__wbindgen_free(i,1*o)}},e.exports.ext_sr_derive_keypair_soft=function(e,t){const r=s(e),A=a,i=s(t),o=a,l=c();try{n.ext_sr_derive_keypair_soft(l,r,A,i,o);const e=d(),t=e[l/4],a=e[l/4+1],s=u(t,a).slice();return n.__wbindgen_free(t,1*a),s}finally{n.__wbindgen_free(r,1*A),n.__wbindgen_free(i,1*o)}},e.exports.ext_sr_derive_public_soft=function(e,t){const r=s(e),A=a,i=s(t),o=a,l=c();try{n.ext_sr_derive_public_soft(l,r,A,i,o);const e=d(),t=e[l/4],a=e[l/4+1],s=u(t,a).slice();return n.__wbindgen_free(t,1*a),s}finally{n.__wbindgen_free(r,1*A),n.__wbindgen_free(i,1*o)}},e.exports.ext_sr_from_seed=function(e){const t=s(e),r=a,A=c();try{n.ext_sr_from_seed(A,t,r);const e=d(),i=e[A/4],o=e[A/4+1],a=u(i,o).slice();return n.__wbindgen_free(i,1*o),a}finally{n.__wbindgen_free(t,1*r)}},e.exports.ext_sr_sign=function(e,t,r){const A=s(e),i=a,o=s(t),l=a,f=s(r),g=a,h=c();try{n.ext_sr_sign(h,A,i,o,l,f,g);const e=d(),t=e[h/4],r=e[h/4+1],a=u(t,r).slice();return n.__wbindgen_free(t,1*r),a}finally{n.__wbindgen_free(A,1*i),n.__wbindgen_free(o,1*l),n.__wbindgen_free(f,1*g)}},e.exports.ext_sr_verify=function(e,t,r){const A=s(e),i=a,o=s(t),u=a,l=s(r),c=a;try{return 0!==n.ext_sr_verify(A,i,o,u,l,c)}finally{n.__wbindgen_free(A,1*i),n.__wbindgen_free(o,1*u),n.__wbindgen_free(l,1*c)}},e.exports.ext_blake2b=function(e,t,r){const A=s(e),i=a,o=s(t),l=a,f=c();try{n.ext_blake2b(f,A,i,o,l,r);const e=d(),t=e[f/4],a=e[f/4+1],s=u(t,a).slice();return n.__wbindgen_free(t,1*a),s}finally{n.__wbindgen_free(A,1*i),n.__wbindgen_free(o,1*l)}},e.exports.ext_keccak256=function(e){const t=s(e),r=a,A=c();try{n.ext_keccak256(A,t,r);const e=d(),i=e[A/4],o=e[A/4+1],a=u(i,o).slice();return n.__wbindgen_free(i,1*o),a}finally{n.__wbindgen_free(t,1*r)}},e.exports.ext_pbkdf2=function(e,t,r){const A=s(e),i=a,o=s(t),l=a,f=c();try{n.ext_pbkdf2(f,A,i,o,l,r);const e=d(),t=e[f/4],a=e[f/4+1],s=u(t,a).slice();return n.__wbindgen_free(t,1*a),s}finally{n.__wbindgen_free(A,1*i),n.__wbindgen_free(o,1*l)}},e.exports.ext_sha512=function(e){const t=s(e),r=a,A=c();try{n.ext_sha512(A,t,r);const e=d(),i=e[A/4],o=e[A/4+1],a=u(i,o).slice();return n.__wbindgen_free(i,1*o),a}finally{n.__wbindgen_free(t,1*r)}},e.exports.ext_twox=function(e,t){const r=s(e),A=a,i=c();try{n.ext_twox(i,r,A,t);const e=d(),o=e[i/4],a=e[i/4+1],s=u(o,a).slice();return n.__wbindgen_free(o,1*a),s}finally{n.__wbindgen_free(r,1*A)}};const{u8aToString:g}=r(12);function h(e,t){return g(o().subarray(e,e+t))}e.exports.ext_bip39_generate=function(e){const t=c();n.ext_bip39_generate(t,e);const r=d(),A=r[t/4],i=r[t/4+1],o=h(A,i).slice();return n.__wbindgen_free(A,1*i),o};const{stringToU8a:p}=r(12);let I;I="function"==typeof stringToU8aInto?function(e){let t=e.length,r=n.__wbindgen_malloc(t),A=0;for(;;){const i=o().subarray(r+A,r+t),{read:a,written:s}=stringToU8aInto(e,i);if(A+=s,0===(e=e.substring(a)).length)break;r=n.__wbindgen_realloc(r,t,2*t),t*=2}return a=A,r}:function(e){const t=p(e),r=n.__wbindgen_malloc(t.length);return o().set(t,r),a=t.length,r},e.exports.ext_bip39_to_entropy=function(e){const t=I(e),r=a,A=c();try{n.ext_bip39_to_entropy(A,t,r);const e=d(),i=e[A/4],o=e[A/4+1],a=u(i,o).slice();return n.__wbindgen_free(i,1*o),a}finally{n.__wbindgen_free(t,1*r)}},e.exports.ext_bip39_to_mini_secret=function(e,t){const r=I(e),A=a,i=I(t),o=a,s=c();try{n.ext_bip39_to_mini_secret(s,r,A,i,o);const e=d(),t=e[s/4],a=e[s/4+1],l=u(t,a).slice();return n.__wbindgen_free(t,1*a),l}finally{n.__wbindgen_free(r,1*A),n.__wbindgen_free(i,1*o)}},e.exports.ext_bip39_to_seed=function(e,t){const r=I(e),A=a,i=I(t),o=a,s=c();try{n.ext_bip39_to_seed(s,r,A,i,o);const e=d(),t=e[s/4],a=e[s/4+1],l=u(t,a).slice();return n.__wbindgen_free(t,1*a),l}finally{n.__wbindgen_free(r,1*A),n.__wbindgen_free(i,1*o)}},e.exports.ext_bip39_validate=function(e){const t=I(e),r=a;try{return 0!==n.ext_bip39_validate(t,r)}finally{n.__wbindgen_free(t,1*r)}},e.exports.ext_ed_from_seed=function(e){const t=s(e),r=a,A=c();try{n.ext_ed_from_seed(A,t,r);const e=d(),i=e[A/4],o=e[A/4+1],a=u(i,o).slice();return n.__wbindgen_free(i,1*o),a}finally{n.__wbindgen_free(t,1*r)}},e.exports.ext_ed_sign=function(e,t,r){const A=s(e),i=a,o=s(t),l=a,f=s(r),g=a,h=c();try{n.ext_ed_sign(h,A,i,o,l,f,g);const e=d(),t=e[h/4],r=e[h/4+1],a=u(t,r).slice();return n.__wbindgen_free(t,1*r),a}finally{n.__wbindgen_free(A,1*i),n.__wbindgen_free(o,1*l),n.__wbindgen_free(f,1*g)}},e.exports.ext_ed_verify=function(e,t,r){const A=s(e),i=a,o=s(t),u=a,l=s(r),c=a;try{return 0!==n.ext_ed_verify(A,i,o,u,l,c)}finally{n.__wbindgen_free(A,1*i),n.__wbindgen_free(o,1*u),n.__wbindgen_free(l,1*c)}};const B=new Array(32);B.fill(void 0),B.push(void 0,null,!0,!1);let C=B.length;function m(e){C===B.length&&B.push(B.length+1);const t=C;return C=B[t],B[t]=e,t}function y(e){return B[e]}e.exports.__wbg_new_3a746f2619705add=function(e,t){let r=h(e,t);return m(new Function(r))},e.exports.__wbg_call_f54d3a6dadb199ca=function(e,t){return m(y(e).call(y(t)))},e.exports.__wbg_self_ac379e780a0d8b94=function(e){return m(y(e).self)},e.exports.__wbg_crypto_1e4302b85d4f64a2=function(e){return m(y(e).crypto)},e.exports.__wbg_getRandomValues_1b4ba144162a5c9e=function(e){return m(y(e).getRandomValues)},e.exports.__wbg_getRandomValues_1ef11e888e5228e9=function(e,t,r){let n=u(t,r);y(e).getRandomValues(n)},e.exports.__wbg_require_6461b1e9a0d7c34a=function(e,t){let r=h(e,t);return m(A[r])},e.exports.__wbg_randomFillSync_1b52c8482374c55b=function(e,t,r){let n=u(t,r);y(e).randomFillSync(n)},e.exports.__wbindgen_is_undefined=function(e){return void 0===y(e)?1:0},e.exports.__wbindgen_jsval_eq=function(e,t){return y(e)===y(t)?1:0},e.exports.__wbindgen_object_drop_ref=function(e){var t;(t=e)<36||(B[t]=C,C=t)},e.exports.abort=function(){throw new Error("abort")};const Q=r(1855)().catch(()=>null);e.exports.isReady=function(){return!!n},e.exports.waitReady=function(){return Q.then(()=>!!n)},Q.then(e=>{n=e})},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)((0,A.u8aConcat)(o,e),512)};var A=r(12),i=n(r(240));const o=(0,A.stringToU8a)("SS58PRE")},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.isReady)()?(0,o.keccak256)((0,i.u8aToU8a)(e)):new Uint8Array(A.default.keccak256.update(e).arrayBuffer())};var A=n(r(462)),i=r(12),o=r(70)},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.match(o),r=[];let n="";t&&(n=t.join(""),t.forEach(e=>{r.push(A.default.from(e.substr(1)))}));return(0,i.assert)(n===e,'Re-constructed path "'.concat(n,'" does not match input')),{parts:t,path:r}};var A=n(r(1870)),i=r(12);const o=/\/(\/?)([^\/]+)/g},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{chainCode:t,isHard:r}){return(0,A.assert)(r,"A soft key was found in the path (and is unsupported)"),(0,o.default)((0,i.default)(e.secretKey.subarray(0,32),t))};var A=r(12),i=n(r(996)),o=n(r(538))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)((0,A.u8aConcat)(o,e,t))};var A=r(12),i=n(r(240));const o=(0,A.compactAddLength)((0,A.stringToU8a)("Ed25519HDKD"))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)((0,A.sr25519DeriveKeypairHard)((0,o.default)(e),t))},r(115);var A=r(70),i=n(r(539)),o=n(r(998))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({publicKey:e,secretKey:t}){return(0,n.u8aConcat)(t,e).slice()};var n=r(12)},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)((0,A.sr25519DeriveKeypairSoft)((0,o.default)(e),t))},r(115);var A=r(70),i=n(r(539)),o=n(r(998))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={};let A;t.wordlists=n,t._default=A;try{t._default=A=r(1879),n.chinese_simplified=A}catch(e){}try{t._default=A=r(1880),n.chinese_traditional=A}catch(e){}try{t._default=A=r(1881),n.korean=A}catch(e){}try{t._default=A=r(1882),n.french=A}catch(e){}try{t._default=A=r(1883),n.italian=A}catch(e){}try{t._default=A=r(1884),n.spanish=A}catch(e){}try{t._default=A=r(1885),n.japanese=A,n.JA=A}catch(e){}try{t._default=A=r(1886),n.english=A,n.EN=A}catch(e){}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.isReady)()?(0,i.bip39ToEntropy)(e):(0,A.hexToU8a)((0,A.hexAddPrefix)((0,n.mnemonicToEntropy)(e)))},r(115);var n=r(356),A=r(12),i=r(70)},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const n=(0,i.u8aToU8a)(e),a=(0,i.u8aToU8a)(t),s=(0,i.u8aToU8a)(r);return(0,o.isReady)()?(0,o.ed25519Verify)(a,n,s):A.default.sign.detached.verify(n,a,s)};var A=n(r(116)),i=r(12),o=r(70)},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e=32){return(0,A.u8aToHex)((0,i.default)(e))};var A=r(12),i=n(r(357))},function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function A(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o=r(1902).Buffer}catch(e){}function a(e,t,r){for(var A=0,i=Math.min(e.length,r),o=0,a=t;a<i;a++){var s,u=e.charCodeAt(a)-48;A<<=4,A|=s=u>=49&&u<=54?u-49+10:u>=17&&u<=22?u-17+10:u,o|=s}return n(!(240&o),"Invalid character in "+e),A}function s(e,t,r,A){for(var i=0,o=0,a=Math.min(e.length,r),s=t;s<a;s++){var u=e.charCodeAt(s)-48;i*=A,o=u>=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&o<A,"Invalid character"),i+=o}return i}function u(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}function l(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var A=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&A++,16===t?this._parseHex(e,A):this._parseBase(e,t,A),"-"===e[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var A=0;A<this.length;A++)this.words[A]=0;var i,o,a=0;if("be"===r)for(A=e.length-1,i=0;A>=0;A-=3)o=e[A]|e[A-1]<<8|e[A-2]<<16,this.words[i]|=o<<a&67108863,this.words[i+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);else if("le"===r)for(A=0,i=0;A<e.length;A+=3)o=e[A]|e[A+1]<<8|e[A+2]<<16,this.words[i]|=o<<a&67108863,this.words[i+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);return this._strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,A,i=0;for(r=e.length-6,n=0;r>=t;r-=6)A=a(e,r,r+6),this.words[n]|=A<<i&67108863,this.words[n+1]|=A>>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);r+6!==t&&(A=a(e,t,r+6),this.words[n]|=A<<i&67108863,this.words[n+1]|=A>>>26-i&4194303),this._strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,A=1;A<=67108863;A*=t)n++;n--,A=A/t|0;for(var i=e.length-r,o=i%n,a=Math.min(i,i-o)+r,u=0,l=r;l<a;l+=n)u=s(e,l,l+n,t),this.imuln(A),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var c=1;for(u=s(e,l,e.length,t),l=0;l<o;l++)c*=t;this.imuln(c),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},i.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype._move=function(e){u(e,this)},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for?i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l:i.prototype.inspect=l;var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var A=0,i=0,o=0;o<this.length;o++){var a=this.words[o],s=(16777215&(a<<A|i)).toString(16);r=0!==(i=a>>>24-A&16777215)||o!==this.length-1?c[6-s.length]+s+r:s+r,(A+=2)>=26&&(A-=26,o--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=f[e],l=d[e];r="";var g=this.clone();for(g.negative=0;!g.isZero();){var h=g.modrn(l).toString(e);r=(g=g.idivn(l)).isZero()?h+r:c[u-h.length]+h+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(e,t){return this.toArrayLike(o,e,t)}),i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function g(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var A=0|e.words[0],i=0|t.words[0],o=A*i,a=67108863&o,s=o/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var l=s>>>26,c=67108863&s,f=Math.min(u,t.length-1),d=Math.max(0,u-e.length+1);d<=f;d++){var g=u-d|0;l+=(o=(A=0|e.words[g])*(i=0|t.words[d])+c)/67108864|0,c=67108863&o}r.words[u]=0|c,s=0|l}return 0!==s?r.words[u]=0|s:r.length--,r._strip()}i.prototype.toArrayLike=function(e,t,r){this._strip();var A=this.byteLength(),i=r||Math.max(1,A);n(A<=i,"byte array longer than desired length"),n(i>0,"Requested array length <= 0");var o=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,i);return this["_toArrayLike"+("le"===t?"LE":"BE")](o,A),o},i.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,A=0,i=0;A<this.length;A++){var o=this.words[A]<<i|n;e[r++]=255&o,r<e.length&&(e[r++]=o>>8&255),r<e.length&&(e[r++]=o>>16&255),6===i?(r<e.length&&(e[r++]=o>>24&255),n=0,i=0):(n=o>>>24,i+=2)}if(r<e.length)for(e[r++]=n;r<e.length;)e[r++]=0},i.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,n=0,A=0,i=0;A<this.length;A++){var o=this.words[A]<<i|n;e[r--]=255&o,r>=0&&(e[r--]=o>>8&255),r>=0&&(e[r--]=o>>16&255),6===i?(r>=0&&(e[r--]=o>>24&255),n=0,i=0):(n=o>>>24,i+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},i.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this._strip()},i.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this._strip()},i.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var A=0;A<t;A++)this.words[A]=67108863&~this.words[A];return r>0&&(this.words[A]=~this.words[A]&67108863>>26-r),this._strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,A=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<A:this.words[r]&~(1<<A),this._strip()},i.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var A=0,i=0;i<n.length;i++)t=(0|r.words[i])+(0|n.words[i])+A,this.words[i]=67108863&t,A=t>>>26;for(;0!==A&&i<r.length;i++)t=(0|r.words[i])+A,this.words[i]=67108863&t,A=t>>>26;if(this.length=r.length,0!==A)this.words[this.length]=A,this.length++;else if(r!==this)for(;i<r.length;i++)this.words[i]=r.words[i];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,A=this.cmp(e);if(0===A)return this.negative=0,this.length=1,this.words[0]=0,this;A>0?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)i=(t=(0|r.words[o])-(0|n.words[o])+i)>>26,this.words[o]=67108863&t;for(;0!==i&&o<r.length;o++)i=(t=(0|r.words[o])+i)>>26,this.words[o]=67108863&t;if(0===i&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this._strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var h=function(e,t,r){var n,A,i,o=e.words,a=t.words,s=r.words,u=0,l=0|o[0],c=8191&l,f=l>>>13,d=0|o[1],g=8191&d,h=d>>>13,p=0|o[2],I=8191&p,B=p>>>13,C=0|o[3],m=8191&C,y=C>>>13,Q=0|o[4],w=8191&Q,E=Q>>>13,b=0|o[5],v=8191&b,D=b>>>13,M=0|o[6],k=8191&M,_=M>>>13,S=0|o[7],N=8191&S,F=S>>>13,x=0|o[8],G=8191&x,H=x>>>13,U=0|o[9],Y=8191&U,L=U>>>13,O=0|a[0],K=8191&O,P=O>>>13,R=0|a[1],T=8191&R,J=R>>>13,j=0|a[2],q=8191&j,V=j>>>13,W=0|a[3],z=8191&W,Z=W>>>13,X=0|a[4],$=8191&X,ee=X>>>13,te=0|a[5],re=8191&te,ne=te>>>13,Ae=0|a[6],ie=8191&Ae,oe=Ae>>>13,ae=0|a[7],se=8191&ae,ue=ae>>>13,le=0|a[8],ce=8191&le,fe=le>>>13,de=0|a[9],ge=8191&de,he=de>>>13;r.negative=e.negative^t.negative,r.length=19;var pe=(u+(n=Math.imul(c,K))|0)+((8191&(A=(A=Math.imul(c,P))+Math.imul(f,K)|0))<<13)|0;u=((i=Math.imul(f,P))+(A>>>13)|0)+(pe>>>26)|0,pe&=67108863,n=Math.imul(g,K),A=(A=Math.imul(g,P))+Math.imul(h,K)|0,i=Math.imul(h,P);var Ie=(u+(n=n+Math.imul(c,T)|0)|0)+((8191&(A=(A=A+Math.imul(c,J)|0)+Math.imul(f,T)|0))<<13)|0;u=((i=i+Math.imul(f,J)|0)+(A>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(I,K),A=(A=Math.imul(I,P))+Math.imul(B,K)|0,i=Math.imul(B,P),n=n+Math.imul(g,T)|0,A=(A=A+Math.imul(g,J)|0)+Math.imul(h,T)|0,i=i+Math.imul(h,J)|0;var Be=(u+(n=n+Math.imul(c,q)|0)|0)+((8191&(A=(A=A+Math.imul(c,V)|0)+Math.imul(f,q)|0))<<13)|0;u=((i=i+Math.imul(f,V)|0)+(A>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(m,K),A=(A=Math.imul(m,P))+Math.imul(y,K)|0,i=Math.imul(y,P),n=n+Math.imul(I,T)|0,A=(A=A+Math.imul(I,J)|0)+Math.imul(B,T)|0,i=i+Math.imul(B,J)|0,n=n+Math.imul(g,q)|0,A=(A=A+Math.imul(g,V)|0)+Math.imul(h,q)|0,i=i+Math.imul(h,V)|0;var Ce=(u+(n=n+Math.imul(c,z)|0)|0)+((8191&(A=(A=A+Math.imul(c,Z)|0)+Math.imul(f,z)|0))<<13)|0;u=((i=i+Math.imul(f,Z)|0)+(A>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(w,K),A=(A=Math.imul(w,P))+Math.imul(E,K)|0,i=Math.imul(E,P),n=n+Math.imul(m,T)|0,A=(A=A+Math.imul(m,J)|0)+Math.imul(y,T)|0,i=i+Math.imul(y,J)|0,n=n+Math.imul(I,q)|0,A=(A=A+Math.imul(I,V)|0)+Math.imul(B,q)|0,i=i+Math.imul(B,V)|0,n=n+Math.imul(g,z)|0,A=(A=A+Math.imul(g,Z)|0)+Math.imul(h,z)|0,i=i+Math.imul(h,Z)|0;var me=(u+(n=n+Math.imul(c,$)|0)|0)+((8191&(A=(A=A+Math.imul(c,ee)|0)+Math.imul(f,$)|0))<<13)|0;u=((i=i+Math.imul(f,ee)|0)+(A>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(v,K),A=(A=Math.imul(v,P))+Math.imul(D,K)|0,i=Math.imul(D,P),n=n+Math.imul(w,T)|0,A=(A=A+Math.imul(w,J)|0)+Math.imul(E,T)|0,i=i+Math.imul(E,J)|0,n=n+Math.imul(m,q)|0,A=(A=A+Math.imul(m,V)|0)+Math.imul(y,q)|0,i=i+Math.imul(y,V)|0,n=n+Math.imul(I,z)|0,A=(A=A+Math.imul(I,Z)|0)+Math.imul(B,z)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(g,$)|0,A=(A=A+Math.imul(g,ee)|0)+Math.imul(h,$)|0,i=i+Math.imul(h,ee)|0;var ye=(u+(n=n+Math.imul(c,re)|0)|0)+((8191&(A=(A=A+Math.imul(c,ne)|0)+Math.imul(f,re)|0))<<13)|0;u=((i=i+Math.imul(f,ne)|0)+(A>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(k,K),A=(A=Math.imul(k,P))+Math.imul(_,K)|0,i=Math.imul(_,P),n=n+Math.imul(v,T)|0,A=(A=A+Math.imul(v,J)|0)+Math.imul(D,T)|0,i=i+Math.imul(D,J)|0,n=n+Math.imul(w,q)|0,A=(A=A+Math.imul(w,V)|0)+Math.imul(E,q)|0,i=i+Math.imul(E,V)|0,n=n+Math.imul(m,z)|0,A=(A=A+Math.imul(m,Z)|0)+Math.imul(y,z)|0,i=i+Math.imul(y,Z)|0,n=n+Math.imul(I,$)|0,A=(A=A+Math.imul(I,ee)|0)+Math.imul(B,$)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(g,re)|0,A=(A=A+Math.imul(g,ne)|0)+Math.imul(h,re)|0,i=i+Math.imul(h,ne)|0;var Qe=(u+(n=n+Math.imul(c,ie)|0)|0)+((8191&(A=(A=A+Math.imul(c,oe)|0)+Math.imul(f,ie)|0))<<13)|0;u=((i=i+Math.imul(f,oe)|0)+(A>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,n=Math.imul(N,K),A=(A=Math.imul(N,P))+Math.imul(F,K)|0,i=Math.imul(F,P),n=n+Math.imul(k,T)|0,A=(A=A+Math.imul(k,J)|0)+Math.imul(_,T)|0,i=i+Math.imul(_,J)|0,n=n+Math.imul(v,q)|0,A=(A=A+Math.imul(v,V)|0)+Math.imul(D,q)|0,i=i+Math.imul(D,V)|0,n=n+Math.imul(w,z)|0,A=(A=A+Math.imul(w,Z)|0)+Math.imul(E,z)|0,i=i+Math.imul(E,Z)|0,n=n+Math.imul(m,$)|0,A=(A=A+Math.imul(m,ee)|0)+Math.imul(y,$)|0,i=i+Math.imul(y,ee)|0,n=n+Math.imul(I,re)|0,A=(A=A+Math.imul(I,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(g,ie)|0,A=(A=A+Math.imul(g,oe)|0)+Math.imul(h,ie)|0,i=i+Math.imul(h,oe)|0;var we=(u+(n=n+Math.imul(c,se)|0)|0)+((8191&(A=(A=A+Math.imul(c,ue)|0)+Math.imul(f,se)|0))<<13)|0;u=((i=i+Math.imul(f,ue)|0)+(A>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(G,K),A=(A=Math.imul(G,P))+Math.imul(H,K)|0,i=Math.imul(H,P),n=n+Math.imul(N,T)|0,A=(A=A+Math.imul(N,J)|0)+Math.imul(F,T)|0,i=i+Math.imul(F,J)|0,n=n+Math.imul(k,q)|0,A=(A=A+Math.imul(k,V)|0)+Math.imul(_,q)|0,i=i+Math.imul(_,V)|0,n=n+Math.imul(v,z)|0,A=(A=A+Math.imul(v,Z)|0)+Math.imul(D,z)|0,i=i+Math.imul(D,Z)|0,n=n+Math.imul(w,$)|0,A=(A=A+Math.imul(w,ee)|0)+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,n=n+Math.imul(m,re)|0,A=(A=A+Math.imul(m,ne)|0)+Math.imul(y,re)|0,i=i+Math.imul(y,ne)|0,n=n+Math.imul(I,ie)|0,A=(A=A+Math.imul(I,oe)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,oe)|0,n=n+Math.imul(g,se)|0,A=(A=A+Math.imul(g,ue)|0)+Math.imul(h,se)|0,i=i+Math.imul(h,ue)|0;var Ee=(u+(n=n+Math.imul(c,ce)|0)|0)+((8191&(A=(A=A+Math.imul(c,fe)|0)+Math.imul(f,ce)|0))<<13)|0;u=((i=i+Math.imul(f,fe)|0)+(A>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(Y,K),A=(A=Math.imul(Y,P))+Math.imul(L,K)|0,i=Math.imul(L,P),n=n+Math.imul(G,T)|0,A=(A=A+Math.imul(G,J)|0)+Math.imul(H,T)|0,i=i+Math.imul(H,J)|0,n=n+Math.imul(N,q)|0,A=(A=A+Math.imul(N,V)|0)+Math.imul(F,q)|0,i=i+Math.imul(F,V)|0,n=n+Math.imul(k,z)|0,A=(A=A+Math.imul(k,Z)|0)+Math.imul(_,z)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(v,$)|0,A=(A=A+Math.imul(v,ee)|0)+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,n=n+Math.imul(w,re)|0,A=(A=A+Math.imul(w,ne)|0)+Math.imul(E,re)|0,i=i+Math.imul(E,ne)|0,n=n+Math.imul(m,ie)|0,A=(A=A+Math.imul(m,oe)|0)+Math.imul(y,ie)|0,i=i+Math.imul(y,oe)|0,n=n+Math.imul(I,se)|0,A=(A=A+Math.imul(I,ue)|0)+Math.imul(B,se)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(g,ce)|0,A=(A=A+Math.imul(g,fe)|0)+Math.imul(h,ce)|0,i=i+Math.imul(h,fe)|0;var be=(u+(n=n+Math.imul(c,ge)|0)|0)+((8191&(A=(A=A+Math.imul(c,he)|0)+Math.imul(f,ge)|0))<<13)|0;u=((i=i+Math.imul(f,he)|0)+(A>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(Y,T),A=(A=Math.imul(Y,J))+Math.imul(L,T)|0,i=Math.imul(L,J),n=n+Math.imul(G,q)|0,A=(A=A+Math.imul(G,V)|0)+Math.imul(H,q)|0,i=i+Math.imul(H,V)|0,n=n+Math.imul(N,z)|0,A=(A=A+Math.imul(N,Z)|0)+Math.imul(F,z)|0,i=i+Math.imul(F,Z)|0,n=n+Math.imul(k,$)|0,A=(A=A+Math.imul(k,ee)|0)+Math.imul(_,$)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,A=(A=A+Math.imul(v,ne)|0)+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,n=n+Math.imul(w,ie)|0,A=(A=A+Math.imul(w,oe)|0)+Math.imul(E,ie)|0,i=i+Math.imul(E,oe)|0,n=n+Math.imul(m,se)|0,A=(A=A+Math.imul(m,ue)|0)+Math.imul(y,se)|0,i=i+Math.imul(y,ue)|0,n=n+Math.imul(I,ce)|0,A=(A=A+Math.imul(I,fe)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,fe)|0;var ve=(u+(n=n+Math.imul(g,ge)|0)|0)+((8191&(A=(A=A+Math.imul(g,he)|0)+Math.imul(h,ge)|0))<<13)|0;u=((i=i+Math.imul(h,he)|0)+(A>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(Y,q),A=(A=Math.imul(Y,V))+Math.imul(L,q)|0,i=Math.imul(L,V),n=n+Math.imul(G,z)|0,A=(A=A+Math.imul(G,Z)|0)+Math.imul(H,z)|0,i=i+Math.imul(H,Z)|0,n=n+Math.imul(N,$)|0,A=(A=A+Math.imul(N,ee)|0)+Math.imul(F,$)|0,i=i+Math.imul(F,ee)|0,n=n+Math.imul(k,re)|0,A=(A=A+Math.imul(k,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(v,ie)|0,A=(A=A+Math.imul(v,oe)|0)+Math.imul(D,ie)|0,i=i+Math.imul(D,oe)|0,n=n+Math.imul(w,se)|0,A=(A=A+Math.imul(w,ue)|0)+Math.imul(E,se)|0,i=i+Math.imul(E,ue)|0,n=n+Math.imul(m,ce)|0,A=(A=A+Math.imul(m,fe)|0)+Math.imul(y,ce)|0,i=i+Math.imul(y,fe)|0;var De=(u+(n=n+Math.imul(I,ge)|0)|0)+((8191&(A=(A=A+Math.imul(I,he)|0)+Math.imul(B,ge)|0))<<13)|0;u=((i=i+Math.imul(B,he)|0)+(A>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(Y,z),A=(A=Math.imul(Y,Z))+Math.imul(L,z)|0,i=Math.imul(L,Z),n=n+Math.imul(G,$)|0,A=(A=A+Math.imul(G,ee)|0)+Math.imul(H,$)|0,i=i+Math.imul(H,ee)|0,n=n+Math.imul(N,re)|0,A=(A=A+Math.imul(N,ne)|0)+Math.imul(F,re)|0,i=i+Math.imul(F,ne)|0,n=n+Math.imul(k,ie)|0,A=(A=A+Math.imul(k,oe)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,oe)|0,n=n+Math.imul(v,se)|0,A=(A=A+Math.imul(v,ue)|0)+Math.imul(D,se)|0,i=i+Math.imul(D,ue)|0,n=n+Math.imul(w,ce)|0,A=(A=A+Math.imul(w,fe)|0)+Math.imul(E,ce)|0,i=i+Math.imul(E,fe)|0;var Me=(u+(n=n+Math.imul(m,ge)|0)|0)+((8191&(A=(A=A+Math.imul(m,he)|0)+Math.imul(y,ge)|0))<<13)|0;u=((i=i+Math.imul(y,he)|0)+(A>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(Y,$),A=(A=Math.imul(Y,ee))+Math.imul(L,$)|0,i=Math.imul(L,ee),n=n+Math.imul(G,re)|0,A=(A=A+Math.imul(G,ne)|0)+Math.imul(H,re)|0,i=i+Math.imul(H,ne)|0,n=n+Math.imul(N,ie)|0,A=(A=A+Math.imul(N,oe)|0)+Math.imul(F,ie)|0,i=i+Math.imul(F,oe)|0,n=n+Math.imul(k,se)|0,A=(A=A+Math.imul(k,ue)|0)+Math.imul(_,se)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(v,ce)|0,A=(A=A+Math.imul(v,fe)|0)+Math.imul(D,ce)|0,i=i+Math.imul(D,fe)|0;var ke=(u+(n=n+Math.imul(w,ge)|0)|0)+((8191&(A=(A=A+Math.imul(w,he)|0)+Math.imul(E,ge)|0))<<13)|0;u=((i=i+Math.imul(E,he)|0)+(A>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(Y,re),A=(A=Math.imul(Y,ne))+Math.imul(L,re)|0,i=Math.imul(L,ne),n=n+Math.imul(G,ie)|0,A=(A=A+Math.imul(G,oe)|0)+Math.imul(H,ie)|0,i=i+Math.imul(H,oe)|0,n=n+Math.imul(N,se)|0,A=(A=A+Math.imul(N,ue)|0)+Math.imul(F,se)|0,i=i+Math.imul(F,ue)|0,n=n+Math.imul(k,ce)|0,A=(A=A+Math.imul(k,fe)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,fe)|0;var _e=(u+(n=n+Math.imul(v,ge)|0)|0)+((8191&(A=(A=A+Math.imul(v,he)|0)+Math.imul(D,ge)|0))<<13)|0;u=((i=i+Math.imul(D,he)|0)+(A>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(Y,ie),A=(A=Math.imul(Y,oe))+Math.imul(L,ie)|0,i=Math.imul(L,oe),n=n+Math.imul(G,se)|0,A=(A=A+Math.imul(G,ue)|0)+Math.imul(H,se)|0,i=i+Math.imul(H,ue)|0,n=n+Math.imul(N,ce)|0,A=(A=A+Math.imul(N,fe)|0)+Math.imul(F,ce)|0,i=i+Math.imul(F,fe)|0;var Se=(u+(n=n+Math.imul(k,ge)|0)|0)+((8191&(A=(A=A+Math.imul(k,he)|0)+Math.imul(_,ge)|0))<<13)|0;u=((i=i+Math.imul(_,he)|0)+(A>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(Y,se),A=(A=Math.imul(Y,ue))+Math.imul(L,se)|0,i=Math.imul(L,ue),n=n+Math.imul(G,ce)|0,A=(A=A+Math.imul(G,fe)|0)+Math.imul(H,ce)|0,i=i+Math.imul(H,fe)|0;var Ne=(u+(n=n+Math.imul(N,ge)|0)|0)+((8191&(A=(A=A+Math.imul(N,he)|0)+Math.imul(F,ge)|0))<<13)|0;u=((i=i+Math.imul(F,he)|0)+(A>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(Y,ce),A=(A=Math.imul(Y,fe))+Math.imul(L,ce)|0,i=Math.imul(L,fe);var Fe=(u+(n=n+Math.imul(G,ge)|0)|0)+((8191&(A=(A=A+Math.imul(G,he)|0)+Math.imul(H,ge)|0))<<13)|0;u=((i=i+Math.imul(H,he)|0)+(A>>>13)|0)+(Fe>>>26)|0,Fe&=67108863;var xe=(u+(n=Math.imul(Y,ge))|0)+((8191&(A=(A=Math.imul(Y,he))+Math.imul(L,ge)|0))<<13)|0;return u=((i=Math.imul(L,he))+(A>>>13)|0)+(xe>>>26)|0,xe&=67108863,s[0]=pe,s[1]=Ie,s[2]=Be,s[3]=Ce,s[4]=me,s[5]=ye,s[6]=Qe,s[7]=we,s[8]=Ee,s[9]=be,s[10]=ve,s[11]=De,s[12]=Me,s[13]=ke,s[14]=_e,s[15]=Se,s[16]=Ne,s[17]=Fe,s[18]=xe,0!==u&&(s[19]=u,r.length++),r};function p(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,A=0,i=0;i<r.length-1;i++){var o=A;A=0;for(var a=67108863&n,s=Math.min(i,t.length-1),u=Math.max(0,i-e.length+1);u<=s;u++){var l=i-u,c=(0|e.words[l])*(0|t.words[u]),f=67108863&c;a=67108863&(f=f+a|0),A+=(o=(o=o+(c/67108864|0)|0)+(f>>>26)|0)>>>26,o&=67108863}r.words[i]=a,n=o,o=A}return 0!==n?r.words[i]=n:r.length--,r._strip()}function I(e,t,r){return p(e,t,r)}function B(e,t){this.x=e,this.y=t}Math.imul||(h=g),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?h(this,e,t):r<63?g(this,e,t):r<1024?p(this,e,t):I(this,e,t)},B.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},B.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,A=0;A<t;A++)n|=(1&e)<<t-A-1,e>>=1;return n},B.prototype.permute=function(e,t,r,n,A,i){for(var o=0;o<i;o++)n[o]=t[e[o]],A[o]=r[e[o]]},B.prototype.transform=function(e,t,r,n,A,i){this.permute(i,e,t,r,n,A);for(var o=1;o<A;o<<=1)for(var a=o<<1,s=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),l=0;l<A;l+=a)for(var c=s,f=u,d=0;d<o;d++){var g=r[l+d],h=n[l+d],p=r[l+d+o],I=n[l+d+o],B=c*p-f*I;I=c*I+f*p,p=B,r[l+d]=g+p,n[l+d]=h+I,r[l+d+o]=g-p,n[l+d+o]=h-I,d!==a&&(B=s*c-u*f,f=s*f+u*c,c=B)}},B.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,A=0;for(r=r/2|0;r;r>>>=1)A++;return 1<<A+1+n},B.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var A=e[n];e[n]=e[r-n-1],e[r-n-1]=A,A=t[n],t[n]=-t[r-n-1],t[r-n-1]=-A}},B.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var A=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&A,r=A<67108864?0:A/67108864|0}return e},B.prototype.convert13b=function(e,t,r,A){for(var i=0,o=0;o<t;o++)i+=0|e[o],r[2*o]=8191&i,i>>>=13,r[2*o+1]=8191&i,i>>>=13;for(o=2*t;o<A;++o)r[o]=0;n(0===i),n(0==(-8192&i))},B.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},B.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),A=this.makeRBT(n),i=this.stub(n),o=new Array(n),a=new Array(n),s=new Array(n),u=new Array(n),l=new Array(n),c=new Array(n),f=r.words;f.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,i,a,s,n,A),this.transform(u,i,l,c,n,A);for(var d=0;d<n;d++){var g=a[d]*l[d]-s[d]*c[d];s[d]=a[d]*c[d]+s[d]*l[d],a[d]=g}return this.conjugate(a,s,n),this.transform(a,s,f,i,n,A),this.conjugate(f,i,n),this.normalize13b(f,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),I(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"==typeof e),n(e<67108864);for(var r=0,A=0;A<this.length;A++){var i=(0|this.words[A])*e,o=(67108863&i)+(67108863&r);r>>=26,r+=i/67108864|0,r+=o>>>26,this.words[A]=67108863&o}return 0!==r&&(this.words[A]=r,this.length++),t?this.ineg():this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,A=r%26;t[r]=e.words[n]>>>A&1}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var A=r.sqr();n<t.length;n++,A=A.sqr())0!==t[n]&&(r=r.mul(A));return r},i.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,A=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var a=this.words[t]&i,s=(0|this.words[t])-a<<r;this.words[t]=s|o,o=a>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==A){for(t=this.length-1;t>=0;t--)this.words[t+A]=this.words[t];for(t=0;t<A;t++)this.words[t]=0;this.length+=A}return this._strip()},i.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,r){var A;n("number"==typeof e&&e>=0),A=t?(t-t%26)/26:0;var i=e%26,o=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<<i,s=r;if(A-=o,A=Math.max(0,A),s){for(var u=0;u<o;u++)s.words[u]=this.words[u];s.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=A);u--){var c=0|this.words[u];this.words[u]=l<<26-i|c>>>i,l=c&a}return s&&0!==l&&(s.words[s.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,A=1<<t;return!(this.length<=r)&&!!(this.words[r]&A)},i.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var A=67108863^67108863>>>t<<t;this.words[this.length-1]&=A}return this._strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,r){var A,i,o=e.length+r;this._expand(o);var a=0;for(A=0;A<e.length;A++){i=(0|this.words[A+r])+a;var s=(0|e.words[A])*t;a=((i-=67108863&s)>>26)-(s/67108864|0),this.words[A+r]=67108863&i}for(;A<this.length-r;A++)a=(i=(0|this.words[A+r])+a)>>26,this.words[A+r]=67108863&i;if(0===a)return this._strip();for(n(-1===a),a=0,A=0;A<this.length;A++)a=(i=-(0|this.words[A])+a)>>26,this.words[A]=67108863&i;return this.negative=1,this._strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),A=e,o=0|A.words[A.length-1];0!==(r=26-this._countBits(o))&&(A=A.ushln(r),n.iushln(r),o=0|A.words[A.length-1]);var a,s=n.length-A.length;if("mod"!==t){(a=new i(null)).length=s+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var l=n.clone()._ishlnsubmul(A,1,s);0===l.negative&&(n=l,a&&(a.words[s]=1));for(var c=s-1;c>=0;c--){var f=67108864*(0|n.words[A.length+c])+(0|n.words[A.length+c-1]);for(f=Math.min(f/o|0,67108863),n._ishlnsubmul(A,f,c);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(A,1,c),n.isZero()||(n.negative^=1);a&&(a.words[c]=f)}return a&&a._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(A=a.div.neg()),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:A,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(A=a.div.neg()),{div:A,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modrn(e.words[0]))}:this._wordDiv(e,t);var A,o,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),A=e.andln(1),i=r.cmp(n);return i<0||1===A&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,A=0,i=this.length-1;i>=0;i--)A=(r*A+(0|this.words[i]))%e;return t?-A:A},i.prototype.modn=function(e){return this.modrn(e)},i.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,A=this.length-1;A>=0;A--){var i=(0|this.words[A])+67108864*r;this.words[A]=i/e|0,r=i%e}return this._strip(),t?this.ineg():this},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var A=new i(1),o=new i(0),a=new i(0),s=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),c=t.clone();!t.isZero();){for(var f=0,d=1;0==(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(A.isOdd()||o.isOdd())&&(A.iadd(l),o.isub(c)),A.iushrn(1),o.iushrn(1);for(var g=0,h=1;0==(r.words[0]&h)&&g<26;++g,h<<=1);if(g>0)for(r.iushrn(g);g-- >0;)(a.isOdd()||s.isOdd())&&(a.iadd(l),s.isub(c)),a.iushrn(1),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),A.isub(a),o.isub(s)):(r.isub(t),a.isub(A),s.isub(o))}return{a:a,b:s,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var A,o=new i(1),a=new i(0),s=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(s),o.iushrn(1);for(var c=0,f=1;0==(r.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(r.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a)):(r.isub(t),a.isub(o))}return(A=0===t.cmpn(1)?o:a).cmpn(0)<0&&A.iadd(e),A},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var A=t.cmp(r);if(A<0){var i=t;t=r,r=i}else if(0===A||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,A=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=A,this;for(var i=A,o=r;0!==i&&o<this.length;o++){var a=0|this.words[o];i=(a+=i)>>>26,a&=67108863,this.words[o]=a}return 0!==i&&(this.words[o]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var A=0|this.words[0];t=A===e?0:A<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],A=0|e.words[r];if(n!==A){n<A?t=-1:n>A&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new b(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var C={k256:null,p224:null,p192:null,p25519:null};function m(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){m.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Q(){m.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){m.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){m.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function b(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function v(e){b.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}m.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},m.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):r._strip(),r},m.prototype.split=function(e,t){e.iushrn(this.n,0,t)},m.prototype.imulK=function(e){return e.imul(this.k)},A(y,m),y.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var A=e.words[9];for(t.words[t.length++]=4194303&A,n=10;n<e.length;n++){var i=0|e.words[n];e.words[n-10]=(4194303&i)<<4|A>>>22,A=i}A>>>=22,e.words[n-10]=A,0===A&&e.length>10?e.length-=10:e.length-=9},y.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},A(Q,m),A(w,m),A(E,m),E.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,A=67108863&n;n>>>=26,e.words[r]=A,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(C[e])return C[e];var t;if("k256"===e)t=new y;else if("p224"===e)t=new Q;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new E}return C[e]=t,t},b.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},b.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},b.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},b.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},b.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},b.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},b.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},b.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},b.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},b.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},b.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},b.prototype.isqr=function(e){return this.imul(e,e.clone())},b.prototype.sqr=function(e){return this.mul(e,e)},b.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var A=this.m.subn(1),o=0;!A.isZero()&&0===A.andln(1);)o++,A.iushrn(1);n(!A.isZero());var a=new i(1).toRed(this),s=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(s);)l.redIAdd(s);for(var c=this.pow(l,A),f=this.pow(e,A.addn(1).iushrn(1)),d=this.pow(e,A),g=o;0!==d.cmp(a);){for(var h=d,p=0;0!==h.cmp(a);p++)h=h.redSqr();n(p<g);var I=this.pow(c,new i(1).iushln(g-p-1));f=f.redMul(I),c=I.redSqr(),d=d.redMul(c),g=p}return f},b.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},b.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var A=r[0],o=0,a=0,s=t.bitLength()%26;for(0===s&&(s=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=s-1;l>=0;l--){var c=u>>l&1;A!==r[0]&&(A=this.sqr(A)),0!==c||0!==o?(o<<=1,o|=c,(4===++a||0===n&&0===l)&&(A=this.mul(A,r[o]),a=0,o=0)):a=0}s=26}return A},b.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},b.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new v(e)},A(v,b),v.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},v.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},v.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=r.isub(n).iushrn(this.shift),i=A;return A.cmp(this.m)>=0?i=A.isub(this.m):A.cmpn(0)<0&&(i=A.iadd(this.m)),i._forceRed(this)},v.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=r.isub(n).iushrn(this.shift),o=A;return A.cmp(this.m)>=0?o=A.isub(this.m):A.cmpn(0)<0&&(o=A.iadd(this.m)),o._forceRed(this)},v.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(96)(e))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const i=(0,n.u8aToU8a)(e),o=(0,n.u8aToU8a)(t),a=(0,n.u8aToU8a)(r);return(0,A.sr25519Verify)(o,i,a)},r(115);var n=r(12),A=r(70)},function(e,t,r){"use strict";var n=t;n.base=r(358),n.short=r(1911),n.mont=r(1912),n.edwards=r(1913)},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=64){const r=Math.ceil(t/64);if((0,i.isReady)())return(0,i.twox)((0,A.u8aToU8a)(e),r);const n=new Uint8Array(Math.ceil(t/8));for(let t=0;t<r;t++)n.set((0,o.default)(e,t).toArray("le",8),8*t);return n};var A=r(12),i=r(70),o=n(r(1927))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTypeUnsafe=a,t.createType=function(e,t,...r){return a(e,t,r)};var n=r(12),A=r(541);function i(e){return e.some(e=>!!e)}function o(e,t,r=[],A){const o=new t(e,...r),[a]=r;return A&&(0,n.isU8a)(a)&&function(e,t){const r=t.toRawType();if("Bytes"===r)return;const A=(0,n.u8aToHex)(e),o=t.toHex();A===o||A===t.toHex(!0)||(0,n.u8aToHex)(e.reverse())===o||!i(e)&&!i(t.toU8a(!0))||console.warn("".concat(r,":: Input doesn't match output, received ").concat((0,n.u8aToHex)(e),", created ").concat(o))}(a,o),o}function a(e,t,r=[],n){try{return o(e,(0,A.createClass)(e,t),r)}catch(e){throw new Error("createType(".concat(t,"):: ").concat(e.message))}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(1010));class i extends A.default{static with(e,t){return class extends i{constructor(r,n){super(r,"BTreeMap",e,t,n)}}}}t.default=i},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(163)),i=n(r(164)),o=r(12),a=r(42),s=n(r(139)),u=n(r(90)),l=n(r(1011)),c=n(r(1012)),f=n(r(360));function d(e,t,r,n){const A=new Map;return n.forEach((n,i)=>{try{A.set(i instanceof t?i:new t(e,i),n instanceof r?n:new r(e,n))}catch(e){throw console.error("Failed to decode Map key or value:",e.message),e}}),A}function g(e,t,r,n){const A=(0,f.default)(e,t),i=(0,f.default)(e,r);if(!n)return new Map;if((0,o.isHex)(n))return g(e,A,i,(0,o.hexToU8a)(n));if((0,o.isU8a)(n))return function(e,t,r,n){const A=new Map,[i,o]=s.default.decodeU8a(n),a=[];for(let e=0;e<o.toNumber();e++)a.push(t,r);const u=(0,c.default)(e,n.subarray(i),a);for(let e=0;e<u.length;e+=2)A.set(u[e],u[e+1]);return A}(e,A,i,(0,o.u8aToU8a)(n));if(n instanceof Map)return d(e,A,i,n);if((0,o.isObject)(n))return d(e,A,i,new Map(Object.entries(n)));throw new Error("Map: cannot decode type")}t.default=class extends Map{constructor(e,t,r,n,i){super(g(e,r,n,i)),this.registry=void 0,Object.defineProperty(this,h,{writable:!0,value:void 0}),Object.defineProperty(this,p,{writable:!0,value:void 0}),Object.defineProperty(this,I,{writable:!0,value:void 0}),this.registry=e,(0,A.default)(this,h)[h]=(0,f.default)(e,r),(0,A.default)(this,p)[p]=(0,f.default)(e,n),(0,A.default)(this,I)[I]=t}get encodedLength(){let e=s.default.encodeU8a(this.size).length;return this.forEach((t,r)=>{e+=t.encodedLength+r.encodedLength}),e}get hash(){return new u.default(this.registry,(0,a.blake2AsU8a)(this.toU8a(),256))}get isEmpty(){return 0===this.size}eq(e){return(0,l.default)(this,e)}toHex(){return(0,o.u8aToHex)(this.toU8a())}toHuman(e){const t={};return this.forEach((r,n)=>{t[n.toString()]=r.toHuman(e)}),t}toJSON(){const e={};return this.forEach((t,r)=>{e[r.toString()]=t.toJSON()}),e}toRawType(){return"".concat((0,A.default)(this,I)[I],"<").concat(new((0,A.default)(this,h)[h])(this.registry).toRawType(),",").concat(new((0,A.default)(this,p)[p])(this.registry).toRawType(),">")}toString(){return JSON.stringify(this.toJSON())}toU8a(e){const t=new Array;return e||t.push(s.default.encodeU8a(this.size)),this.forEach((r,n)=>{t.push(n.toU8a(e),r.toU8a(e))}),(0,o.u8aConcat)(...t)}};var h=(0,i.default)("KeyClass"),p=(0,i.default)("ValClass"),I=(0,i.default)("type")},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(Array.isArray(t))return A(e,t);if(t instanceof Map)return A(e,[...t.entries()]);if((0,n.isObject)(t))return A(e,Object.entries(t));return!1};var n=r(12);function A(e,t){return e.size===t.length&&!t.some(t=>(function(e){return!Array.isArray(e)||2!==e.length})(t)||function(e,t){return(0,n.isUndefined)(e)||((0,n.isFunction)(e.eq)?!e.eq(t):e!==t)}(e.get(t[0]),t[1]))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,n){const A=Array.isArray(n)?n:Object.values(n);if(!A.length)return[];const i=A[0];const o=new i(t,r);return[o].concat(e(t,r.subarray(o.encodedLength),A.slice(1)))}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(163)),i=n(r(164)),o=r(12),a=r(42),s=n(r(139)),u=n(r(90)),l=r(165);function c(e,t,r){if(!r)return new Set;const n=(0,l.typeToConstructor)(e,t);if((0,o.isHex)(r))return c(e,n,(0,o.hexToU8a)(r));if((0,o.isU8a)(r))return function(e,t,r){const n=new Set,[A,i]=s.default.decodeU8a(r),o=[];for(let e=0;e<i.toNumber();e++)o.push(t);const a=(0,l.decodeU8a)(e,r.subarray(A),o);for(let e=0;e<a.length;e++)n.add(a[e]);return n}(e,n,(0,o.u8aToU8a)(r));if(r instanceof Set)return function(e,t,r){const n=new Set;return r.forEach(r=>{try{n.add(r instanceof t?r:new t(e,r))}catch(e){throw console.error("Failed to decode BTreeSet key or value:",e.message),e}}),n}(e,n,r);throw new Error("BTreeSet: cannot decode type")}class f extends Set{constructor(e,t,r){super(c(e,t,r)),this.registry=void 0,Object.defineProperty(this,d,{writable:!0,value:void 0}),this.registry=e,(0,A.default)(this,d)[d]=(0,l.typeToConstructor)(e,t)}static with(e){return class extends f{constructor(t,r){super(t,e,r)}}}get encodedLength(){let e=s.default.encodeU8a(this.size).length;return this.forEach(t=>{e+=t.encodedLength}),e}get hash(){return new u.default(this.registry,(0,a.blake2AsU8a)(this.toU8a(),256))}get isEmpty(){return 0===this.size}eq(e){return(0,l.compareSet)(this,e)}toHex(){return(0,o.u8aToHex)(this.toU8a())}toHuman(e){const t=[];return this.forEach(r=>{t.push(r.toHuman(e))}),t}toJSON(){const e=[];return this.forEach(t=>{e.push(t.toJSON())}),e}toRawType(){return"BTreeSet<".concat(new((0,A.default)(this,d)[d])(this.registry).toRawType(),">")}toString(){return JSON.stringify(this.toJSON())}toU8a(e){const t=new Array;return e||t.push(s.default.encodeU8a(this.size)),this.forEach(r=>{t.push(r.toU8a(e))}),(0,o.u8aConcat)(...t)}}t.default=f;var d=(0,i.default)("ValClass")},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.paramsNotation=c,t.encodeType=p,t.displayType=I,t.withTypeString=function(e){const t=u.includes(e.displayName)?e.displayName:p(e);return s({},e,{type:t})},t.SPECIAL_TYPES=void 0;var A=n(r(166)),i=r(359),o=r(12);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}const u=["AccountId","AccountIndex","Address","Balance"];t.SPECIAL_TYPES=u;const l=e=>e;function c(e,t,r=l){let n="";return t&&(n="<"+(Array.isArray(t)?t:[t]).map(r).join(", ")+">"),"".concat(e).concat(n)}function f(e,t=e.displayName||e.type){const{info:r,params:n,sub:A}=e;switch(r){case i.TypeDefInfo.BTreeMap:case i.TypeDefInfo.BTreeSet:case i.TypeDefInfo.Compact:case i.TypeDefInfo.HashMap:case i.TypeDefInfo.Linkage:case i.TypeDefInfo.Option:case i.TypeDefInfo.Result:case i.TypeDefInfo.Vec:return c(t,n||A,e=>I(e));default:return t}}function d(e,t){const r=e.reduce((e,t)=>s({},e,{[t.name]:p(t)}),{});return JSON.stringify(t?{_enum:r}:r)}function g({length:e},t){return(0,o.assert)((0,o.isNumber)(e),"Unable to encode VecFixed type"),"".concat(t,"<").concat(e,">")}const h={[i.TypeDefInfo.BTreeMap]:e=>f(e,"BTreeMap"),[i.TypeDefInfo.BTreeSet]:e=>f(e,"BTreeSet"),[i.TypeDefInfo.Compact]:e=>f(e,"Compact"),[i.TypeDefInfo.Enum]:e=>(function(e){(0,o.assert)(e.sub&&Array.isArray(e.sub),"Unable to encode Enum type");const t=e.sub;return t.reduce((e,{type:t})=>e&&"Null"===t,!0)?"[".concat(t.map(({name:e})=>'"'.concat(e,'"')).join(", "),"]"):d(t,!0)})(e),[i.TypeDefInfo.HashMap]:e=>f(e,"HashMap"),[i.TypeDefInfo.Int]:e=>g(e,"Int"),[i.TypeDefInfo.Linkage]:e=>f(e,"Linkage"),[i.TypeDefInfo.Null]:e=>"Null",[i.TypeDefInfo.Option]:e=>f(e,"Option"),[i.TypeDefInfo.Plain]:e=>e.displayName||e.type,[i.TypeDefInfo.Result]:e=>f(e,"Result"),[i.TypeDefInfo.Set]:e=>e.type,[i.TypeDefInfo.Struct]:e=>(function(e){return(0,o.assert)(e.sub&&Array.isArray(e.sub),"Unable to encode Struct type"),d(e.sub)})(e),[i.TypeDefInfo.Tuple]:e=>(function(e){(0,o.assert)(e.sub&&Array.isArray(e.sub),"Unable to encode Tuple type");const t=e.sub;return"(".concat(t.map(e=>p(e)).join(", "),")")})(e),[i.TypeDefInfo.UInt]:e=>g(e,"UInt"),[i.TypeDefInfo.Vec]:e=>f(e,"Vec"),[i.TypeDefInfo.VecFixed]:e=>(function({length:e,sub:t}){return(0,o.assert)((0,o.isNumber)(e)&&!(0,o.isUndefined)(t),"Unable to encode VecFixed type"),"[".concat(t.type,";").concat(e,"]")})(e)};function p(e){const t=h[e.info];return(0,o.assert)(t,"Cannot encode type: ".concat(e,".")),t(e)}function I(e){if(e.displayName)return f(e);switch(e.info){case i.TypeDefInfo.Struct:case i.TypeDefInfo.Enum:return f(e);default:return p(e)}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(1010));class i extends A.default{static with(e,t){return class extends i{constructor(r,n){super(r,"HashMap",e,t,n)}}}}t.default=i},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DEFAULT_UINT_BITS=void 0;var A=n(r(163)),i=n(r(164)),o=n(r(361)),a=r(12),s=r(42),u=n(r(90));const l=64;t.DEFAULT_UINT_BITS=l;class c extends o.default{constructor(e,t,r=0,n=l,i=!0){super(c.decodeAbstracInt(r,n,t)),this.registry=void 0,Object.defineProperty(this,f,{writable:!0,value:void 0}),Object.defineProperty(this,d,{writable:!0,value:void 0}),Object.defineProperty(this,g,{writable:!0,value:void 0}),this.registry=e,(0,A.default)(this,f)[f]=n,(0,A.default)(this,d)[d]=i,(0,A.default)(this,g)[g]=t,(0,a.assert)(super.bitLength()<=n,"".concat(this.toRawType(),": Input too large. Found input with ").concat(super.bitLength()," bits, expected ").concat(n))}static decodeAbstracInt(e,t,r){return(0,a.isHex)(e,-1,!0)?(0,a.hexToBn)(e,{isLe:!1,isNegative:r}).toString():(0,a.isU8a)(e)?c.decodeAbstracIntU8a(e,t,r):(0,a.isString)(e)?new o.default(e.toString(),10).toString():(0,a.bnToBn)(e).toString()}static decodeAbstracIntU8a(e,t,r){if(!e.length)return"0";try{return(0,a.u8aToBn)(e.subarray(0,t/8),{isLe:!0,isNegative:r}).toString()}catch(t){throw new Error("AbstractInt: failed on ".concat(JSON.stringify(e),":: ").concat(t.message))}}get encodedLength(){return(0,A.default)(this,f)[f]/8}get hash(){return new u.default(this.registry,(0,s.blake2AsU8a)(this.toU8a(),256))}get isEmpty(){return this.isZero()}get isUnsigned(){return!(0,A.default)(this,g)[g]}bitLength(){return(0,A.default)(this,f)[f]}eq(e){return super.eq((0,a.isHex)(e)?(0,a.hexToBn)(e.toString(),{isLe:!1,isNegative:(0,A.default)(this,g)[g]}):(0,a.bnToBn)(e))}isMax(){return this.toU8a().filter(e=>255===e).length===(0,A.default)(this,f)[f]/8}toBn(){return this}toHex(e=!1){return(0,a.bnToHex)(this,{bitLength:this.bitLength(),isLe:e,isNegative:!this.isUnsigned})}toHuman(e){return this instanceof this.registry.createClass("Balance")?this.isMax()?"everything":(0,a.formatBalance)(this,{decimals:this.registry.chainDecimals,withSi:!0,withUnit:this.registry.chainToken}):(0,a.formatNumber)(this)}toJSON(){return(0,A.default)(this,d)[d]||super.bitLength()>52?this.toHex():this.toNumber()}toRawType(){return this instanceof this.registry.createClass("Balance")?"Balance":"".concat(this.isUnsigned?"u":"i").concat(this.bitLength())}toString(e){return super.toString(e)}toU8a(e){return(0,a.bnToU8a)(this,{bitLength:this.bitLength(),isLe:!0,isNegative:!this.isUnsigned})}}t.default=c;var f=(0,i.default)("bitLength"),d=(0,i.default)("isHexJson"),g=(0,i.default)("isSigned")},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=n(r(298));class o extends i.default{constructor(e,t,r,n){super(e,{Ok:t,Error:r},n)}static with(e){return class extends o{constructor(t,r){super(t,e.Ok,e.Error,r)}}}get asError(){return(0,A.assert)(this.isError,"Cannot extract Error value from Ok result, check isError first"),this.value}get asOk(){return(0,A.assert)(this.isOk,"Cannot extract Ok value from Error result, check isOk first"),this.value}get isEmpty(){return this.isOk&&this.raw.isEmpty}get isError(){return!this.isOk}get isOk(){return 0===this.index}toRawType(){const e=this.toRawStruct();return"Result<".concat(e.Ok,",").concat(e.Error,">")}}t.default=o},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(163)),i=n(r(164)),o=n(r(361)),a=r(12),s=r(42),u=n(r(90)),l=r(165);function c(e,t){return t.reduce((t,r)=>t.or((0,a.bnToBn)(e[r]||0)),new o.default(0))}function f(e,t){const r=(0,a.bnToBn)(t),n=Object.keys(e).reduce((t,n)=>(r.and((0,a.bnToBn)(e[n])).eq((0,a.bnToBn)(e[n]))&&t.push(n),t),[]),A=c(e,n);return(0,a.assert)(r.eq(A),"Set: Mismatch decoding '".concat(r,"', computed as '").concat(A,"' with ").concat(n)),n}function d(e,t=0,r){(0,a.assert)(r%8==0,"Expected valid bitLength, power of 8, found ".concat(r));const n=r/8;if((0,a.isString)(t))return d(e,(0,a.u8aToU8a)(t),n);if((0,a.isU8a)(t))return 0===t.length?[]:f(e,(0,a.u8aToBn)(t.subarray(0,n),{isLe:!1}));if(t instanceof Set||Array.isArray(t)){return function(e,t){return t.reduce((t,r)=>((0,a.assert)(!(0,a.isUndefined)(e[r]),"Set: Invalid key '".concat(r,"' passed to Set, allowed ").concat(Object.keys(e).join(", "))),t.push(r),t),[])}(e,Array.isArray(t)?t:[...t.values()])}return f(e,t)}class g extends Set{constructor(e,t,r,n=8){super(d(t,r,n)),this.registry=void 0,Object.defineProperty(this,h,{writable:!0,value:void 0}),Object.defineProperty(this,p,{writable:!0,value:void 0}),this.add=e=>((0,a.assert)((0,a.isUndefined)((0,A.default)(this,h)[h])||!(0,a.isUndefined)((0,A.default)(this,h)[h][e]),"Set: Invalid key '".concat(e,"' on add")),super.add(e),this),this.registry=e,(0,A.default)(this,h)[h]=t,(0,A.default)(this,p)[p]=n/8}static with(e,t){return class extends g{constructor(r,n){super(r,e,n,t),Object.keys(e).forEach(e=>{const t=(0,a.stringUpperFirst)((0,a.stringCamelCase)(e)),r="is".concat(t);(0,a.isUndefined)(this[r])&&Object.defineProperty(this,r,{enumerable:!0,get:()=>this.strings.includes(e)})})}}}get encodedLength(){return(0,A.default)(this,p)[p]}get hash(){return new u.default(this.registry,(0,s.blake2AsU8a)(this.toU8a(),256))}get isEmpty(){return 0===this.size}get strings(){return[...super.values()]}get valueEncoded(){return c((0,A.default)(this,h)[h],this.strings)}eq(e){return Array.isArray(e)?(0,l.compareArray)(this.strings.sort(),e.sort()):e instanceof Set?this.eq([...e.values()]):!(!(0,a.isNumber)(e)&&!(0,a.isBn)(e))&&this.valueEncoded.eq((0,a.bnToBn)(e))}toHex(){return(0,a.u8aToHex)(this.toU8a())}toHuman(){return this.toJSON()}toJSON(){return this.strings}toNumber(){return this.valueEncoded.toNumber()}toRawType(){return JSON.stringify({_set:(0,A.default)(this,h)[h]})}toString(){return"[".concat(this.strings.join(", "),"]")}toU8a(e){return(0,a.bnToU8a)(this.valueEncoded,{bitLength:8*(0,A.default)(this,p)[p],isLe:!1})}}t.default=g;var h=(0,i.default)("allowed"),p=(0,i.default)("byteLength")},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findClosing=o,t.alias=a,t.cleanupCompact=s,t.flattenSingleTuple=u,t.removeColons=l,t.removeGenerics=c,t.removePairOf=f,t.removeTraits=d,t.removeWrap=g,t.default=function(e,t){return i.reduce((e,r)=>r(e,t),e).trim()};const n=["BTreeMap","BTreeSet","Compact","HashMap","Int","Linkage","Result","Option","UInt","Vec"],A=["<","(","[",'"',","," "],i=[a(["<T::InherentOfflineReport as InherentOfflineReport>::Inherent"],"InherentOfflineReport",!1),s(),e=>e.replace(/\s/g,"").replace(/(T|Self)::/g,"").replace(/<(T|Self)asTrait>::/g,"").replace(/<Tas[a-z]+::Trait>::/g,"").replace(/<LookupasStaticLookup>/g,"Lookup").replace(/::Type/g,""),f(),g("Box"),c(),a(["String"],"Text"),a(["Vec<u8>","&\\[u8\\]"],"Bytes"),a(["RawAddress"],"Address"),a(["Lookup::Source"],"LookupSource"),a(["Lookup::Target"],"LookupTarget"),a(["exec::StorageKey"],"ContractStorageKey"),e=>e.replace(/\(([^,]+)\)/,"$1"),l()];function o(e,t){let r=0;for(let n=t;n<e.length;n++)if(">"===e[n]){if(!r)return n;r--}else"<"===e[n]&&r++;throw new Error("Unable to find closing matching <> on '".concat(e,"' (start ").concat(t,")"))}function a(e,t,r=!0){return n=>e.reduce((e,n)=>e.replace(new RegExp("(^".concat(n,"|").concat(A.map(e=>"\\".concat(e).concat(n)).join("|"),")"),"g"),e=>r&&A.includes(e[0])?"".concat(e[0]).concat(t):t),n)}function s(){return e=>{for(let t=0;t<e.length;t++){if("<"!==e[t])continue;const r=o(e,t+1)-14;" as HasCompact"===e.substr(r,14)&&(e="Compact<".concat(e.substr(t+1,r-t-1),">"))}return e}}function u(){return e=>e.replace(/\(([^,]+)\)/,"$1")}function l(){return(e,{allowNamespaces:t}={})=>{let r=0;for(;-1!==r;)if(0===(r=e.indexOf("::")))e=e.substr(2);else if(-1!==r){if(t)return e;let n=r;for(;-1!==n&&!A.includes(e[n]);)n--;e="".concat(e.substr(0,n+1)).concat(e.substr(r+2))}return e}}function c(){return e=>{for(let t=0;t<e.length;t++)if("<"===e[t]){if(!n.find(r=>{const n=t-r.length;return n>=0&&e.substr(n,r.length)===r&&(0===n||A.includes(e[n-1]))})){const r=o(e,t+1);e="".concat(e.substr(0,t)).concat(e.substr(r+1))}}return e}}function f(){return e=>{for(let t=0;t<e.length;t++)if("PairOf<"===e.substr(t,7)){const r=t+7,n=o(e,r),A=e.substr(r,n-r);e="".concat(e.substr(0,t),"(").concat(A,",").concat(A,")").concat(e.substr(n+1))}return e}}function d(){return e=>e.replace(/\s/g,"").replace(/(T|Self)::/g,"").replace(/<(T|Self)asTrait>::/g,"").replace(/<Tas[a-z]+::Trait>::/g,"").replace(/<LookupasStaticLookup>/g,"Lookup").replace(/::Type/g,"")}function g(e){const t="".concat(e,"<");return e=>{let r=0;for(;-1!==r;)if(-1!==(r=e.indexOf(t))){const n=r+t.length,A=o(e,n);e="".concat(e.substr(0,r)).concat(e.substr(n,A-n)).concat(e.substr(A+1))}return e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.typeSplit=function(e){let[t,r,i,o,a]=[0,0,0,0,0];const s=[],u=n=>{A(t,r,i,o)&&(s.push(e.substr(a,n-a).trim()),a=n+1)};for(let n=0;n<e.length;n++)switch(e[n]){case",":u(n);break;case"<":t++;break;case">":t--;break;case"[":r++;break;case"]":r--;break;case"{":i++;break;case"}":i--;break;case"(":o++;break;case")":o--}return(0,n.assert)(A(t,r,i,o),"Invalid defintion (missing terminators) found in ".concat(e)),s.push(e.substr(a,e.length-a).trim()),s};var n=r(12);function A(...e){return!e.some(e=>0!==e)}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.EventData=void 0;var A=n(r(163)),i=n(r(164)),o=n(r(53)),a=n(r(299)),s=n(r(242));t.EventData=class extends a.default{constructor(e,t,r,n,i,o,a){super(e,t,r),Object.defineProperty(this,u,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,c,{writable:!0,value:void 0}),Object.defineProperty(this,f,{writable:!0,value:void 0}),(0,A.default)(this,u)[u]=i,(0,A.default)(this,l)[l]=a,(0,A.default)(this,c)[c]=o,(0,A.default)(this,f)[f]=n}get meta(){return(0,A.default)(this,u)[u]}get method(){return(0,A.default)(this,l)[l]}get section(){return(0,A.default)(this,c)[c]}get typeDef(){return(0,A.default)(this,f)[f]}};var u=(0,i.default)("meta"),l=(0,i.default)("method"),c=(0,i.default)("section"),f=(0,i.default)("typeDef");class d extends o.default{constructor(e,t){const{DataType:r,value:n}=d.decodeEvent(e,t);super(e,{index:"EventId",data:r},n)}static decodeEvent(e,t=new Uint8Array){if(!t.length)return{DataType:s.default};const r=t.subarray(0,2);return{DataType:e.findMetaEvent(r),value:{data:t.subarray(2),index:r}}}get data(){return this.get("data")}get index(){return this.get("index")}get meta(){return this.data.meta}get method(){return this.data.method}get section(){return this.data.section}get typeDef(){return this.data.typeDef}toHuman(e){return this.toJSON()}}t.default=d},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(242));class i extends A.default{constructor(e,t){throw super(e),new Error("Cannot construct unknown type ".concat(t))}static with(e){return class extends i{constructor(t){super(t,e)}}}}t.default=i},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";var n=r(140);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const n=(0,o.default)(function e(t){return t.map(t=>{const r=(0,i.getTypeDef)(t);switch(r.info){case A.TypeDefInfo.Plain:return r.type;case A.TypeDefInfo.BTreeSet:case A.TypeDefInfo.Compact:case A.TypeDefInfo.Option:case A.TypeDefInfo.Vec:case A.TypeDefInfo.VecFixed:return e([r.sub.type]);case A.TypeDefInfo.BTreeMap:case A.TypeDefInfo.HashMap:case A.TypeDefInfo.Result:case A.TypeDefInfo.Tuple:return e(r.sub.map(e=>e.type));default:throw new Error("Unhandled: Unable to create and validate type from ".concat(t))}})}(t)).filter(t=>!e.hasType(t));if(0!==n.length){const e="Unknown types found, no types for ".concat(n);if(r)throw new Error(e);console.warn(e)}};var A=r(1974),i=r(255),o=n(r(547))},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TRANSACTION_VERSION=void 0;var A=r(12),i=n(r(53));const o=4;t.TRANSACTION_VERSION=o;class a extends i.default{constructor(e,t,{isSigned:r}={}){super(e,{signature:"ExtrinsicSignatureV4",method:"Call"},a.decodeExtrinsic(e,t,r))}static decodeExtrinsic(e,t,r=!1){if(t instanceof a)return t;if(t instanceof e.createClass("Call"))return{method:t};if((0,A.isU8a)(t)){const n=e.createType("ExtrinsicSignatureV4",t,{isSigned:r});return{method:e.createType("Call",t.subarray(n.encodedLength)),signature:n}}return t||{}}get encodedLength(){return this.toU8a().length}get method(){return this.get("method")}get signature(){return this.get("signature")}get version(){return o}addSignature(e,t,r){return this.signature.addSignature(e,t,r),this}sign(e,t){return this.signature.sign(this.method,e,t),this}signFake(e,t){return this.signature.signFake(this.method,e,t),this}}t.default=a},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(188));t.default=class extends(A.default.with(64)){}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(53)),i=r(363);t.default=class extends A.default{constructor(e,t){super(e,{nonce:"Compact<Index>",method:"Bytes",era:"ExtrinsicEra",blockHash:"Hash"},t)}get blockHash(){return this.get("blockHash")}get method(){return this.get("method")}get era(){return this.get("era")}get nonce(){return this.get("nonce")}sign(e){return(0,i.sign)(e,this.toU8a({method:!0}))}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(53)),i=r(363);t.default=class extends A.default{constructor(e,t){super(e,{method:"Bytes",era:"ExtrinsicEra",nonce:"Compact<Index>",tip:"Compact<Balance>",blockHash:"Hash"},t)}get blockHash(){return this.get("blockHash")}get era(){return this.get("era")}get method(){return this.get("method")}get nonce(){return this.get("nonce")}get tip(){return this.get("tip")}sign(e){return(0,i.sign)(e,this.toU8a({method:!0}))}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(53)),i=r(189),o=n(r(1028));class a extends A.default{constructor(e,t,{isSigned:r}={}){super(e,{signer:"Address",signature:"Signature",era:"ExtrinsicEra",nonce:"Compact<Index>",tip:"Compact<Balance>"},a.decodeExtrinsicSignature(t,r))}static decodeExtrinsicSignature(e,t=!1){return e?e instanceof a?e:t?e:i.EMPTY_U8A:i.EMPTY_U8A}get encodedLength(){return this.isSigned?super.encodedLength:0}get isSigned(){return!this.signature.isEmpty}get era(){return this.get("era")}get nonce(){return this.get("nonce")}get signature(){return this.get("signature")}get signer(){return this.get("signer")}get tip(){return this.get("tip")}injectSignature(e,t,{era:r,nonce:n,tip:A}){return this.set("era",r),this.set("nonce",n),this.set("signer",e),this.set("signature",t),this.set("tip",A),this}addSignature(e,t,r){return this.injectSignature(this.registry.createType("Address",e),this.registry.createType("Signature",t),new o.default(this.registry,r))}createPayload(e,{blockHash:t,era:r,genesisHash:n,nonce:A,tip:a}){return new o.default(this.registry,{blockHash:t,era:r||i.IMMORTAL_ERA,genesisHash:n,method:e.toHex(),nonce:A,specVersion:0,tip:a||0})}sign(e,t,r){const n=this.registry.createType("Address",t.publicKey),A=this.createPayload(e,r),i=this.registry.createType("Signature",A.sign(t));return this.injectSignature(n,i,A)}signFake(e,t,r){const n=this.registry.createType("Address",t),A=this.createPayload(e,r),i=this.registry.createType("Signature",new Uint8Array(64).fill(66));return this.injectSignature(n,i,A)}toU8a(e){return this.isSigned?super.toU8a(e):i.EMPTY_U8A}}t.default=a},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(53)),i=r(363);t.default=class extends A.default{constructor(e,t){super(e,{method:"Bytes",era:"ExtrinsicEra",nonce:"Compact<Index>",tip:"Compact<Balance>",specVersion:"u32",genesisHash:"Hash",blockHash:"Hash"},t)}get blockHash(){return this.get("blockHash")}get era(){return this.get("era")}get genesisHash(){return this.get("genesisHash")}get method(){return this.get("method")}get nonce(){return this.get("nonce")}get specVersion(){return this.get("specVersion")}get tip(){return this.get("tip")}sign(e){return(0,i.sign)(e,this.toU8a({method:!0}))}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(166)),i=n(r(53)),o=r(363);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}t.default=class extends i.default{constructor(e,t){super(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({method:"Bytes"},e.getSignedExtensionTypes(),{},e.getSignedExtensionExtra()),t)}get blockHash(){return this.get("blockHash")}get era(){return this.get("era")}get genesisHash(){return this.get("genesisHash")}get method(){return this.get("method")}get nonce(){return this.get("nonce")}get specVersion(){return this.get("specVersion")}get tip(){return this.get("tip")}sign(e){return(0,o.sign)(e,this.toU8a({method:!0}),{withType:!0})}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=r(42),o=n(r(300));function a(e){return(0,A.isU8a)(e)||Array.isArray(e)?(0,A.u8aToU8a)(e):(0,A.isHex)(e)?(0,A.hexToU8a)(e.toString()):(0,A.isString)(e)?(0,i.decodeAddress)(e.toString()):e}class s extends o.default{constructor(e,t=new Uint8Array){super(e,a(t),256)}static encode(e,t){return(0,i.encodeAddress)(e,t)}eq(e){return super.eq(a(e))}toHuman(){return this.toJSON()}toJSON(){return this.toString()}toString(){return s.encode(this,this.registry.chainSS58)}toRawType(){return"AccountId"}}t.default=s},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ENUMSET_SIZE=void 0;var A=n(r(361)),i=r(12),o=r(42),a=n(r(301));const s=new A.default(64);t.ENUMSET_SIZE=s;const u=252,l=253,c=254,f=new A.default(239),d=new A.default(1).shln(16),g=new A.default(1).shln(32);class h extends a.default{constructor(e,t=new A.default(0)){super(e,function e(t){return t instanceof h?t.toBn():(0,i.isBn)(t)||(0,i.isNumber)(t)||(0,i.isHex)(t)||(0,i.isU8a)(t)||(0,i.isBigInt)(t)?t:e((0,o.decodeAddress)(t))}(t))}static calcLength(e){const t=(0,i.bnToBn)(e);return t.lte(f)?1:t.lt(d)?2:t.lt(g)?4:8}static readLength(e){const t=e[0];return t===u?[1,2]:t===l?[1,4]:t===c?[1,8]:[0,1]}static writeLength(e){switch(e.length){case 2:return new Uint8Array([u]);case 4:return new Uint8Array([l]);case 8:return new Uint8Array([c]);default:return new Uint8Array([])}}eq(e){return(0,i.isBn)(e)||(0,i.isNumber)(e)?super.eq(e):super.eq(this.registry.createType("AccountIndex",e))}toHuman(){return this.toJSON()}toJSON(){return this.toString()}toString(){const e=h.calcLength(this);return(0,o.encodeAddress)(this.toU8a().subarray(0,e),this.registry.chainSS58)}toRawType(){return"AccountIndex"}}t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(12),A=r(42);t.default=class extends Boolean{constructor(e,t=!1){super(function(e){return e instanceof Boolean?e.valueOf():(0,n.isU8a)(e)?1===e[0]:!!e}(t)),this.registry=void 0,this.registry=e}get encodedLength(){return 1}get hash(){return this.registry.createType("H256",(0,A.blake2AsU8a)(this.toU8a(),256))}get isEmpty(){return this.isFalse}get isFalse(){return!this.isTrue}get isTrue(){return this.valueOf()}eq(e){return this.valueOf()===(e instanceof Boolean?e.valueOf():e)}toHex(){return(0,n.u8aToHex)(this.toU8a())}toHuman(){return this.toJSON()}toJSON(){return this.valueOf()}toRawType(){return"bool"}toString(){return"".concat(this.toJSON())}toU8a(e){return new Uint8Array([this.valueOf()?1:0])}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=n(r(139)),o=n(r(90));function a(e){return Array.isArray(e)||(0,A.isString)(e)?(0,A.u8aToU8a)(e):e instanceof o.default||!(0,A.isU8a)(e)?e:function(e){if(!e.length)return new Uint8Array;const[t,r]=i.default.decodeU8a(e),n=t+r.toNumber();return(0,A.assert)(n<=e.length,"Bytes: required length less than remainder, expected at least ".concat(n,", found ").concat(e.length)),e.subarray(t,n)}(e)}t.default=class extends o.default{constructor(e,t){super(e,a(t))}get encodedLength(){return this.length+i.default.encodeU8a(this.length).length}toRawType(){return"Bytes"}toU8a(e){return e?super.toU8a(e):i.default.addLengthPrefix(this)}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(163)),i=n(r(164)),o=r(12),a=r(42),s=n(r(139)),u=n(r(90));t.default=class extends String{constructor(e,t=""){super(function(e){if((0,o.isHex)(e))return(0,o.u8aToString)((0,o.hexToU8a)(e.toString()));if(e instanceof Uint8Array){if(!e.length)return"";if(e instanceof u.default)return(0,o.u8aToString)(e);const[t,r]=s.default.decodeU8a(e),n=t+r.toNumber();return(0,o.assert)(n<=e.length,"Text: required length less than remainder, expected at least ".concat(n,", found ").concat(e.length)),(0,o.u8aToString)(e.subarray(t,n))}return"".concat(e)}(t)),this.registry=void 0,Object.defineProperty(this,l,{writable:!0,value:null}),this.registry=e}get encodedLength(){return this.toU8a().length}get hash(){return this.registry.createType("H256",(0,a.blake2AsU8a)(this.toU8a(),256))}get isEmpty(){return 0===this.length}get length(){return super.length}eq(e){return!!(0,o.isString)(e)&&this.toString()===e.toString()}setOverride(e){(0,A.default)(this,l)[l]=e}toHex(){return(0,o.u8aToHex)(this.toU8a(!0))}toHuman(){return this.toJSON()}toJSON(){return this.toString()}toRawType(){return"Text"}toString(){return(0,A.default)(this,l)[l]||super.toString()}toU8a(e){const t=(0,o.stringToU8a)(super.toString());return e?t:s.default.addLengthPrefix(t)}};var l=(0,i.default)("override")},function(e,t){e.exports=function(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}},function(e,t){var r=0;e.exports=function(e){return"__private_"+r+++"_"+e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SEED_LENGTH=t.SEC_LENGTH=t.PUB_LENGTH=t.PKCS8_HEADER=t.PKCS8_DIVIDER=t.NONCE_LENGTH=void 0;t.NONCE_LENGTH=24;const n=new Uint8Array([161,35,3,33,0]);t.PKCS8_DIVIDER=n;const A=new Uint8Array([48,83,2,1,1,48,5,6,3,43,101,112,4,34,4,32]);t.PKCS8_HEADER=A;t.PUB_LENGTH=32;t.SEC_LENGTH=64;t.SEED_LENGTH=32},function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},function(e,t,r){"use strict";var n=r(103);function A(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var o=[];n.forEach(t,function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),o.push(A(t)+"="+A(e))}))}),i=o.join("&")}if(i){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,r){"use strict";(function(t){var n=r(103),A=r(2086),i={"Content-Type":"application/x-www-form-urlencoded"};function o(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var a,s={adapter:(void 0!==t&&"[object process]"===Object.prototype.toString.call(t)?a=r(1044):"undefined"!=typeof XMLHttpRequest&&(a=r(1044)),a),transformRequest:[function(e,t){return A(t,"Accept"),A(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(o(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)?(o(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],function(e){s.headers[e]={}}),n.forEach(["post","put","patch"],function(e){s.headers[e]=n.merge(i)}),e.exports=s}).call(this,r(50))},function(e,t,r){"use strict";var n=r(103),A=r(2087),i=r(1041),o=r(2089),a=r(2090),s=r(1045);e.exports=function(e){return new Promise(function(t,u){var l=e.data,c=e.headers;n.isFormData(l)&&delete c["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var d=e.auth.username||"",g=e.auth.password||"";c.Authorization="Basic "+btoa(d+":"+g)}if(f.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in f?o(f.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:r,config:e,request:f};A(t,u,n),f=null}},f.onabort=function(){f&&(u(s("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){u(s("Network Error",e,null,f)),f=null},f.ontimeout=function(){u(s("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",f)),f=null},n.isStandardBrowserEnv()){var h=r(2091),p=(e.withCredentials||a(e.url))&&e.xsrfCookieName?h.read(e.xsrfCookieName):void 0;p&&(c[e.xsrfHeaderName]=p)}if("setRequestHeader"in f&&n.forEach(c,function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete c[t]:f.setRequestHeader(t,e)}),e.withCredentials&&(f.withCredentials=!0),e.responseType)try{f.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){f&&(f.abort(),u(e),f=null)}),void 0===l&&(l=null),f.send(l)})}},function(e,t,r){"use strict";var n=r(2088);e.exports=function(e,t,r,A,i){var o=new Error(e);return n(o,t,r,A,i)}},function(e,t,r){"use strict";var n=r(103);e.exports=function(e,t){t=t||{};var r={};return n.forEach(["url","method","params","data"],function(e){void 0!==t[e]&&(r[e]=t[e])}),n.forEach(["headers","auth","proxy"],function(A){n.isObject(t[A])?r[A]=n.deepMerge(e[A],t[A]):void 0!==t[A]?r[A]=t[A]:n.isObject(e[A])?r[A]=n.deepMerge(e[A]):void 0!==e[A]&&(r[A]=e[A])}),n.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],function(n){void 0!==t[n]?r[n]=t[n]:void 0!==e[n]&&(r[n]=e[n])}),r}},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),parseFloat(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n;(0,A.default)(e),"object"===i(t)?(r=t.min||0,n=t.max):(r=arguments[1],n=arguments[2]);var o=encodeURI(e).split(/%..|./).length-1;return o>=r&&(void 0===n||o<=n)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,A.default)(e);var r=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?i:o,n=!t.hasOwnProperty("min")||e>=t.min,a=!t.hasOwnProperty("max")||e<=t.max,s=!t.hasOwnProperty("lt")||e<t.lt,u=!t.hasOwnProperty("gt")||e>t.gt;return r.test(e)&&n&&a&&s&&u};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,o=/^[-+]?[0-9]+$/;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),i.test(e)},t.fullWidth=void 0;var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.fullWidth=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),i.test(e)},t.halfWidth=void 0;var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.halfWidth=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),i.test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^[0-9A-F]+$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,A.default)(e);var r=t?new RegExp("^[".concat(t,"]+"),"g"):/^\s+/g;return e.replace(r,"")};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,A.default)(e);for(var r=t?new RegExp("[".concat(t,"]")):/\s/,n=e.length-1;n>=0&&r.test(e[n]);n--);return n<e.length?e.substr(0,n+1):e};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,A.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";r.r(t);var n=r(21),A=r(371),i=r(329),o=r(118),a=r(41),s=r(373),u=r(247),l=r(144),c=r(253),f=r(46),d=r(380),g=r(2),h=r(145),p=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return g.__extends(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(function(){return t.flush(null)})))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);0===t.actions.length&&(cancelAnimationFrame(r),t.scheduled=void 0)},t}(h.a),I=r(142),B=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g.__extends(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1,A=r.length;e=e||r.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n<A&&(e=r.shift()));if(this.active=!1,t){for(;++n<A&&(e=r.shift());)e.unsubscribe();throw t}},t}(I.a))(p),C=function(e){function t(t,r){void 0===t&&(t=m),void 0===r&&(r=Number.POSITIVE_INFINITY);var n=e.call(this,t,function(){return n.frame})||this;return n.maxFrames=r,n.frame=0,n.index=-1,n}return g.__extends(t,e),t.prototype.flush=function(){for(var e,t,r=this.actions,n=this.maxFrames;(t=r[0])&&t.delay<=n&&(r.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=r.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(I.a),m=function(e){function t(t,r,n){void 0===n&&(n=t.index+=1);var A=e.call(this,t,r)||this;return A.scheduler=t,A.work=r,A.index=n,A.active=!0,A.index=t.index=n,A}return g.__extends(t,e),t.prototype.schedule=function(r,n){if(void 0===n&&(n=0),!this.id)return e.prototype.schedule.call(this,r,n);this.active=!1;var A=new t(this.scheduler,this.work);return this.add(A),A.schedule(r,n)},t.prototype.requestAsyncId=function(e,r,n){void 0===n&&(n=0),this.delay=e.frame+n;var A=e.actions;return A.push(this),A.sort(t.sortActions),!0},t.prototype.recycleAsyncId=function(e,t,r){void 0===r&&(r=0)},t.prototype._execute=function(t,r){if(!0===this.active)return e.prototype._execute.call(this,t,r)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(h.a),y=r(302),Q=r(32),w=r(13),E=r(95),b=r(208),v=r(87),D=r(104);function M(e){return!!e&&(e instanceof n.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}var k=r(131),_=r(141),S=r(119),N=r(210),F=r(375),x=r(51),G=r(251),H=r(43),U=r(55);function Y(e,t,r){if(t){if(!Object(U.a)(t))return function(){for(var n=[],A=0;A<arguments.length;A++)n[A]=arguments[A];return Y(e,r).apply(void 0,n).pipe(Object(x.a)(function(e){return Object(H.a)(e)?t.apply(void 0,e):t(e)}))};r=t}return function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];var i,o=this,a={context:o,subject:i,callbackFunc:e,scheduler:r};return new n.a(function(n){if(r){var A={args:t,subscriber:n,params:a};return r.schedule(L,0,A)}if(!i){i=new l.a;try{e.apply(o,t.concat([function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i.next(e.length<=1?e[0]:e),i.complete()}]))}catch(e){Object(G.a)(i)?i.error(e):console.warn(e)}}return i.subscribe(n)})}}function L(e){var t=this,r=e.args,n=e.subscriber,A=e.params,i=A.callbackFunc,o=A.context,a=A.scheduler,s=A.subject;if(!s){s=A.subject=new l.a;try{i.apply(o,r.concat([function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=e.length<=1?e[0]:e;t.add(a.schedule(O,0,{value:n,subject:s}))}]))}catch(e){s.error(e)}}this.add(s.subscribe(n))}function O(e){var t=e.value,r=e.subject;r.next(t),r.complete()}function K(e,t,r){if(t){if(!Object(U.a)(t))return function(){for(var n=[],A=0;A<arguments.length;A++)n[A]=arguments[A];return K(e,r).apply(void 0,n).pipe(Object(x.a)(function(e){return Object(H.a)(e)?t.apply(void 0,e):t(e)}))};r=t}return function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];var i={subject:void 0,args:t,callbackFunc:e,scheduler:r,context:this};return new n.a(function(n){var A=i.context,o=i.subject;if(r)return r.schedule(P,0,{params:i,subscriber:n,context:A});if(!o){o=i.subject=new l.a;try{e.apply(A,t.concat([function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.shift();r?o.error(r):(o.next(e.length<=1?e[0]:e),o.complete())}]))}catch(e){Object(G.a)(o)?o.error(e):console.warn(e)}}return o.subscribe(n)})}}function P(e){var t=this,r=e.params,n=e.subscriber,A=e.context,i=r.callbackFunc,o=r.args,a=r.scheduler,s=r.subject;if(!s){s=r.subject=new l.a;try{i.apply(A,o.concat([function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=e.shift();if(n)t.add(a.schedule(T,0,{err:n,subject:s}));else{var A=e.length<=1?e[0]:e;t.add(a.schedule(R,0,{value:A,subject:s}))}}]))}catch(e){this.add(a.schedule(T,0,{err:e,subject:s}))}}this.add(s.subscribe(n))}function R(e){var t=e.value,r=e.subject;r.next(t),r.complete()}function T(e){var t=e.err;e.subject.error(t)}var J=r(243),j=r(167),q=r(248),V=r(61),W=r(250),z=r(64);function Z(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){var r=e[0];if(Object(H.a)(r))return X(r,null);if(Object(W.a)(r)&&Object.getPrototypeOf(r)===Object.prototype){var n=Object.keys(r);return X(n.map(function(e){return r[e]}),n)}}if("function"==typeof e[e.length-1]){var A=e.pop();return X(e=1===e.length&&Object(H.a)(e[0])?e[0]:e,null).pipe(Object(x.a)(function(e){return A.apply(void 0,e)}))}return X(e,null)}function X(e,t){return new n.a(function(r){var n=e.length;if(0!==n)for(var A=new Array(n),i=0,o=0,a=function(a){var s=Object(z.a)(e[a]),u=!1;r.add(s.subscribe({next:function(e){u||(u=!0,o++),A[a]=e},error:function(e){return r.error(e)},complete:function(){++i!==n&&u||(o===n&&r.next(t?t.reduce(function(e,t,r){return e[t]=A[r],e},{}):A),r.complete())}}))},s=0;s<n;s++)a(s);else r.complete()})}var $=r(133);Object.prototype.toString;function ee(e,t,r,A){return Object($.a)(r)&&(A=r,r=void 0),A?ee(e,t,r).pipe(Object(x.a)(function(e){return Object(H.a)(e)?A.apply(void 0,e):A(e)})):new n.a(function(n){!function e(t,r,n,A,i){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var a=t;t.addEventListener(r,n,i),o=function(){return a.removeEventListener(r,n,i)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var s=t;t.on(r,n),o=function(){return s.off(r,n)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var u=t;t.addListener(r,n),o=function(){return u.removeListener(r,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var l=0,c=t.length;l<c;l++)e(t[l],r,n,A,i)}A.add(o)}(e,t,function(e){arguments.length>1?n.next(Array.prototype.slice.call(arguments)):n.next(e)},n,r)})}function te(e,t,r){return r?te(e,t).pipe(Object(x.a)(function(e){return Object(H.a)(e)?r.apply(void 0,e):r(e)})):new n.a(function(r){var n,A=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.next(1===e.length?e[0]:e)};try{n=e(A)}catch(e){return void r.error(e)}if(Object($.a)(t))return function(){return t(A,n)}})}function re(e,t,r,A,i){var o,a;if(1==arguments.length){var s=e;a=s.initialState,t=s.condition,r=s.iterate,o=s.resultSelector||D.a,i=s.scheduler}else void 0===A||Object(U.a)(A)?(a=e,o=D.a,i=A):(a=e,o=A);return new n.a(function(e){var n=a;if(i)return i.schedule(ne,0,{subscriber:e,iterate:r,condition:t,resultSelector:o,state:n});for(;;){if(t){var A=void 0;try{A=t(n)}catch(t){return void e.error(t)}if(!A){e.complete();break}}var s=void 0;try{s=o(n)}catch(t){return void e.error(t)}if(e.next(s),e.closed)break;try{n=r(n)}catch(t){return void e.error(t)}}})}function ne(e){var t=e.subscriber,r=e.condition;if(!t.closed){if(e.needIterate)try{e.state=e.iterate(e.state)}catch(e){return void t.error(e)}else e.needIterate=!0;if(r){var n=void 0;try{n=r(e.state)}catch(e){return void t.error(e)}if(!n)return void t.complete();if(t.closed)return}var A;try{A=e.resultSelector(e.state)}catch(e){return void t.error(e)}if(!t.closed&&(t.next(A),!t.closed))return this.schedule(e)}}function Ae(e,t,r){return void 0===t&&(t=V.a),void 0===r&&(r=V.a),Object(q.a)(function(){return e()?t:r})}var ie=r(147);function oe(e,t){return void 0===e&&(e=0),void 0===t&&(t=f.a),(!Object(ie.a)(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=f.a),new n.a(function(r){return r.add(t.schedule(ae,e,{subscriber:r,counter:0,period:e})),r})}function ae(e){var t=e.subscriber,r=e.counter,n=e.period;t.next(r),this.schedule({subscriber:t,counter:r+1,period:n},n)}var se=r(370),ue=new n.a(v.a);function le(){return ue}var ce=r(190);function fe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)return V.a;var r=e[0],A=e.slice(1);return 1===e.length&&Object(H.a)(r)?fe.apply(void 0,r):new n.a(function(e){var t=function(){return e.add(fe.apply(void 0,A).subscribe(e))};return Object(z.a)(r).subscribe({next:function(t){e.next(t)},error:t,complete:t})})}function de(e,t){return t?new n.a(function(r){var n=Object.keys(e),A=new Q.a;return A.add(t.schedule(ge,0,{keys:n,index:0,subscriber:r,subscription:A,obj:e})),A}):new n.a(function(t){for(var r=Object.keys(e),n=0;n<r.length&&!t.closed;n++){var A=r[n];e.hasOwnProperty(A)&&t.next([A,e[A]])}t.complete()})}function ge(e){var t=e.keys,r=e.index,n=e.subscriber,A=e.subscription,i=e.obj;if(!n.closed)if(r<t.length){var o=t[r];n.next([o,i[o]]),A.add(this.schedule({keys:t,index:r+1,subscriber:n,subscription:A,obj:i}))}else n.complete()}var he=r(385),pe=r(211),Ie=r(93);function Be(e,t,r){return[Object(Ie.a)(t,r)(new n.a(Object(pe.a)(e))),Object(Ie.a)(Object(he.a)(t,r))(new n.a(Object(pe.a)(e)))]}var Ce=r(374);function me(e,t,r){return void 0===e&&(e=0),new n.a(function(n){void 0===t&&(t=e,e=0);var A=0,i=e;if(r)return r.schedule(ye,0,{index:A,count:t,start:e,subscriber:n});for(;;){if(A++>=t){n.complete();break}if(n.next(i++),n.closed)break}})}function ye(e){var t=e.start,r=e.index,n=e.count,A=e.subscriber;r>=n?A.complete():(A.next(t),A.closed||(e.index=r+1,e.start=t+1,this.schedule(e)))}var Qe=r(245),we=r(368);function Ee(e,t){return new n.a(function(r){var n,A;try{n=e()}catch(e){return void r.error(e)}try{A=t(n)}catch(e){return void r.error(e)}var i=(A?Object(z.a)(A):V.a).subscribe(r);return function(){i.unsubscribe(),n&&n.unsubscribe()}})}var be=r(249),ve=r(379),De=r(83);r.d(t,"Observable",function(){return n.a}),r.d(t,"ConnectableObservable",function(){return A.a}),r.d(t,"GroupedObservable",function(){return i.a}),r.d(t,"observable",function(){return o.a}),r.d(t,"Subject",function(){return a.a}),r.d(t,"BehaviorSubject",function(){return s.a}),r.d(t,"ReplaySubject",function(){return u.a}),r.d(t,"AsyncSubject",function(){return l.a}),r.d(t,"asapScheduler",function(){return c.a}),r.d(t,"asyncScheduler",function(){return f.a}),r.d(t,"queueScheduler",function(){return d.a}),r.d(t,"animationFrameScheduler",function(){return B}),r.d(t,"VirtualTimeScheduler",function(){return C}),r.d(t,"VirtualAction",function(){return m}),r.d(t,"Scheduler",function(){return y.a}),r.d(t,"Subscription",function(){return Q.a}),r.d(t,"Subscriber",function(){return w.a}),r.d(t,"Notification",function(){return E.a}),r.d(t,"NotificationKind",function(){return E.b}),r.d(t,"pipe",function(){return b.a}),r.d(t,"noop",function(){return v.a}),r.d(t,"identity",function(){return D.a}),r.d(t,"isObservable",function(){return M}),r.d(t,"ArgumentOutOfRangeError",function(){return k.a}),r.d(t,"EmptyError",function(){return _.a}),r.d(t,"ObjectUnsubscribedError",function(){return S.a}),r.d(t,"UnsubscriptionError",function(){return N.a}),r.d(t,"TimeoutError",function(){return F.a}),r.d(t,"bindCallback",function(){return Y}),r.d(t,"bindNodeCallback",function(){return K}),r.d(t,"combineLatest",function(){return J.b}),r.d(t,"concat",function(){return j.a}),r.d(t,"defer",function(){return q.a}),r.d(t,"empty",function(){return V.b}),r.d(t,"forkJoin",function(){return Z}),r.d(t,"from",function(){return z.a}),r.d(t,"fromEvent",function(){return ee}),r.d(t,"fromEventPattern",function(){return te}),r.d(t,"generate",function(){return re}),r.d(t,"iif",function(){return Ae}),r.d(t,"interval",function(){return oe}),r.d(t,"merge",function(){return se.a}),r.d(t,"never",function(){return le}),r.d(t,"of",function(){return ce.a}),r.d(t,"onErrorResumeNext",function(){return fe}),r.d(t,"pairs",function(){return de}),r.d(t,"partition",function(){return Be}),r.d(t,"race",function(){return Ce.a}),r.d(t,"range",function(){return me}),r.d(t,"throwError",function(){return Qe.a}),r.d(t,"timer",function(){return we.a}),r.d(t,"using",function(){return Ee}),r.d(t,"zip",function(){return be.b}),r.d(t,"scheduled",function(){return ve.a}),r.d(t,"EMPTY",function(){return V.a}),r.d(t,"NEVER",function(){return ue}),r.d(t,"config",function(){return De.a})},function(e,t,r){"use strict";r.r(t);var n=r(37),A=r(3),i=(r(30),r(171),r(9));const o={TransferContract:"wallet/createtransaction",VoteWitnessContract:"wallet/votewitnessaccount",AccountCreateContract:"wallet/createaccount",WitnessCreateContract:"wallet/createwitness",TransferAssetContract:"wallet/transferasset",ParticipateAssetIssueContract:"wallet/participateassetissue",AssetIssueContract:"wallet/createassetissue",FreezeBalanceContract:"wallet/freezebalance",UnfreezeBalanceContract:"wallet/unfreezebalance",WithdrawBalanceContract:"wallet/withdrawbalance",UpdateAssetContract:"wallet/updateasset",CreateSmartContract:"wallet/deploycontract",TriggerSmartContract:"wallet/triggersmartcontract"};class a{static async mapped(e,t=!1,r=!1){if(!o.hasOwnProperty(t))return i.a.unknowContractType(t);const n=o[t];return await e.fullNode.request(n,r,"post")}}var s=r(23),u=r(10),l=r(24),c=r(94),f=r(19);r.d(t,"default",function(){return I});const d=r(1065),g=r(490),h=e=>g.toBuffer(g.addHexPrefix(e)),p=new d({fullHost:"http://placeholder.dev",eventServer:"http://placeholder.dev"}).utils;class I extends n.a{constructor(){super(A.c.TRX,A.a.TRX)}config(e){return{dappStoreTag:e.custom?Object(A.f)(e.blockchain).toLowerCase():e.name.replace(/\s+/g,"").toLowerCase(),eventLogTag:A.b.TRX}}async getChainId(e){return"2"}isSupportMnemonic(){return!1}isSupportPrivateKey(){return!0}randomKeypair(e,t={}){return new Promise((e,t)=>{e({privateKey:p.bytes.byteArray2hexStr(p.crypto.genPriKey()).toLowerCase()})})}mnemonicToPrivateKey(e,t,r={}){return{privateKey:""}}privateToPublic(e,t,r={}){return p.crypto.pkToAddress(e)}validMnemonic(e){return f.a.validateMnemonic(e)}validPrivateKey(e){return 64===e.length&&g.isValidPrivate(h(e))}validPublicKey(e){return p.crypto.isAddressValid(e)}signer(e,t,r,n,A){r.decryptPrivateKey(({privateKey:t})=>{if(!t)return A(i.a.signatureRejected()),!1;e.trx.sign(n.transaction,t).then(e=>{A(e)}).catch(e=>{A(i.a.invalidSignature())})},t)}signatureProvider(...e){}requestSelectedIdentity(e,t,r,n){const A=r.keychain.accounts.find(e=>e.networkUnique===t.unique()&&e.selected);n(A?{network:t,account:A}:i.a.identityRejected())}requestIdentity(e,t,r,n,A){s.a.open(new u.b(u.a.REQUEST_IDENTITY,e,t,{},e=>{!e||e.hasOwnProperty("isError")?A(i.a.identityRejected()):A({network:t,account:e.account})}))}requestSignature(e,t,r,n,A,o,f,g){const{transaction:h,input:p}=o,B=new d(r.fullNode(),r.solidityNode(),r.eventServer());a.mapped(B,h.raw_data.contract[0].type,p).then(o=>{const a=(o.transaction||o).raw_data.contract,d={signerAccountUnique:n.unique(),domain:t,whitelistObject:[]};a.forEach(e=>{"TriggerSmartContract"===e.type&&d.whitelistObject.push({contract_address:e.parameter.value.contract_address})}),f.find(e=>c.a.deepEqual(e,d))?l.a.plugin(r.blockchain).signer(B,A,e,{transaction:o.transaction||o},e=>{g({signature:e,whitelistChecked:!1,whitelist:{}})}):s.a.open(new u.b(u.a.REQUEST_SIGNATURE,t,r,{messages:I.messagesParser(JSON.parse(JSON.stringify(a))),signerAccount:n,showWhiteListCheck:!!d.whitelistObject.length},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return g(i.a.signatureRejected()),!1;const n=!!t.hasOwnProperty("whitelistChecked")&&t.whitelistChecked;l.a.plugin(r.blockchain).signer(B,A,e,{transaction:o.transaction||o},e=>{g({signature:e,whitelistChecked:n,whitelist:d})})}))}).catch(e=>{g(i.a.signatureRejected())})}static messagesParser(e){return e.map(e=>("TransferContract"===e.type?(e.parameter.value.hasOwnProperty("owner_address")&&(e.parameter.value.owner_address=d.address.fromHex(e.parameter.value.owner_address)),e.parameter.value.hasOwnProperty("to_address")&&(e.parameter.value.to_address=d.address.fromHex(e.parameter.value.to_address)),e.parameter.value.hasOwnProperty("amount")&&(e.parameter.value.amount=d.fromSun(e.parameter.value.amount)+" TRX")):"TransferAssetContract"===e.type?(e.parameter.value.hasOwnProperty("owner_address")&&(e.parameter.value.owner_address=d.address.fromHex(e.parameter.value.owner_address)),e.parameter.value.hasOwnProperty("to_address")&&(e.parameter.value.to_address=d.address.fromHex(e.parameter.value.to_address)),e.parameter.value.hasOwnProperty("amount")&&(e.parameter.value.amount=d.fromSun(e.parameter.value.amount)),e.parameter.value.hasOwnProperty("asset_name")&&(e.parameter.value.asset_name=d.toUtf8(e.parameter.value.asset_name)),e.parameter.value.hasOwnProperty("amount")&&e.parameter.value.hasOwnProperty("asset_name")&&(e.parameter.value.amount=e.parameter.value.amount+" "+e.parameter.value.asset_name)):"TriggerSmartContract"===e.type?(e.parameter.value.hasOwnProperty("owner_address")&&(e.parameter.value.owner_address=d.address.fromHex(e.parameter.value.owner_address)),e.parameter.value.hasOwnProperty("contract_address")&&(e.parameter.value.contract_address=d.address.fromHex(e.parameter.value.contract_address)),e.parameter.value.hasOwnProperty("call_value")&&(e.parameter.value.call_value=d.fromSun(e.parameter.value.call_value)+" TRX")):"VoteWitnessContract"===e.type&&(e.parameter.value.hasOwnProperty("owner_address")&&(e.parameter.value.owner_address=d.address.fromHex(e.parameter.value.owner_address)),e.parameter.value.hasOwnProperty("votes")&&(e.parameter.value.votes=e.parameter.value.votes.map(e=>(e.hasOwnProperty("vote_address")&&(e.vote_address=d.address.fromHex(e.vote_address)),e)))),e))}requestArbitrarySignatrue(e,t,r,n,A,o,a){const{transaction:c}=o,f=new d(r.fullNode(),r.solidityNode(),r.eventServer());s.a.open(new u.b(u.a.REQUEST_ARBITRARY_SIGNATURE,t,r,{signerAccount:n,message:{whatfor:"Message",data:c}},t=>{if(!t||!t.hasOwnProperty("accepted")||!t.accepted)return a(i.a.signatureRejected()),!1;l.a.plugin(r.blockchain).signer(f,A,e,o,a)}))}}},function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(553),A=r.n(n);const i=r(426);class o{requestParser(e){switch(e.type){case"MsgSend":return this.getMessageFromTransfer(e.msg,e.type);case"CancelOrderMsg":return this.getMessageFromCancelOrder(e.msg,e.type);case"NewOrderMsg":return this.getMessageFromPlaceOrder(e.msg,e.sequence,e.type);default:return{}}}getMessageFromTransfer(e,t){return{msg:{inputs:e.inputs.reduce((e,t)=>(e.push({address:i.decodeAddress(t.address),coins:t.coins.reduce((e,t)=>(e.push({denom:t.denom,amount:parseInt(t.amount)}),e),[])}),e),[]),outputs:e.outputs.reduce((e,t)=>(e.push({address:i.decodeAddress(t.address),coins:t.coins.reduce((e,t)=>(e.push({denom:t.denom,amount:parseInt(t.amount)}),e),[])}),e),[]),msgType:t},signMsg:{inputs:e.inputs.reduce((e,t)=>(e.push({address:t.address,coins:t.coins.reduce((e,t)=>(e.push({amount:parseInt(t.amount),denom:t.denom}),e),[])}),e),[]),outputs:e.outputs.reduce((e,t)=>(e.push({address:t.address,coins:t.coins.reduce((e,t)=>(e.push({amount:parseInt(t.amount),denom:t.denom}),e),[])}),e),[])}}}getMessageFromPlaceOrder(e,t,r){if(!e.sender)throw new Error("address should not be falsy");if(!e.symbol)throw new Error("symbol should not be falsy");if(1!==e.side&&2!==e.side)throw new Error("side can only be 1 or 2");if(1!==e.timeinforce&&3!==e.timeinforce)throw new Error("timeinforce can only be 1 or 3");const n=new A.a(e.price),o=new A.a(e.quantity),a={sender:i.decodeAddress(e.sender),id:`${i.decodeAddress(e.sender).toString("hex")}-${t+1}`.toUpperCase(),symbol:e.symbol,ordertype:2,side:e.side,price:parseFloat(n.toString(),10),quantity:parseFloat(o.toString(),10),timeinforce:e.timeinforce,msgType:r};return{msg:a,signMsg:{id:a.id,ordertype:a.ordertype,price:a.price,quantity:a.quantity,sender:e.sender,side:a.side,symbol:a.symbol,timeinforce:a.timeinforce}}}getMessageFromCancelOrder(e,t){return{msg:{sender:i.decodeAddress(e.sender),symbol:e.symbol,refid:e.refid,msgType:t},signMsg:{refid:e.refid,sender:e.sender,symbol:e.symbol}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2);n.__exportStar(r(1768),t),n.__exportStar(r(532),t),n.__exportStar(r(1801),t),n.__exportStar(r(1802),t),n.__exportStar(r(1803),t)},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(A,i){function o(e){try{s(n.next(e))}catch(e){i(e)}}function a(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?A(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(o,a)}s((n=n.apply(e,t||[])).next())})},A=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var A=0;for(n=Object.getOwnPropertySymbols(e);A<n.length;A++)t.indexOf(n[A])<0&&Object.prototype.propertyIsEnumerable.call(e,n[A])&&(r[n[A]]=e[n[A]])}return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const a=i(r(1804)),s=r(354),u=r(161),l=o(r(91)),c=i(r(1847)),f=i(r(1848)),d=o(r(1849)),g=r(1852),h=6;t.default=class{constructor(e="http://localhost:8114"){this.cells=new Map,this.utils=l,this.config={},this.generateLockHash=(e,t=this.config.secp256k1Dep)=>{if(!t)throw new u.ArgumentRequired("deps");return this.utils.scriptToHash({hashType:t.hashType,codeHash:t.codeHash,args:e})},this.loadSecp256k1Dep=()=>n(this,void 0,void 0,function*(){var e,t,r,n;const A=yield this.rpc.getBlockByNumber("0x0"),i=null===(e=A)||void 0===e?void 0:e.transactions[1].hash,o=null===(n=null===(r=null===(t=A)||void 0===t?void 0:t.transactions[0])||void 0===r?void 0:r.outputs[1])||void 0===n?void 0:n.type;if(!i)throw new Error("Cannot load the transaction which has the secp256k1 dep cell");if(!o)throw new Error("Secp256k1 type script not found");const a=this.utils.scriptToHash(o);return this.config.secp256k1Dep={hashType:"type",codeHash:a,outPoint:{txHash:i,index:"0x0"}},this.config.secp256k1Dep}),this.loadDaoDep=()=>n(this,void 0,void 0,function*(){var e,t,r,n,A,i;const o=yield this.rpc.getBlockByNumber("0x0"),a=null===(e=o)||void 0===e?void 0:e.transactions[0].hash,s=null===(n=null===(r=null===(t=o)||void 0===t?void 0:t.transactions[0])||void 0===r?void 0:r.outputs[2])||void 0===n?void 0:n.type,u=null===(i=null===(A=o)||void 0===A?void 0:A.transactions[0])||void 0===i?void 0:i.outputsData[2];if(!a)throw new Error("Cannot load the transaction which has the dao dep cell");if(!s)throw new Error("DAO type script not found");if(!u)throw new Error("DAO data not found");const c=this.utils.scriptToHash(s),f=l.blake2b(32,null,null,l.PERSONAL);f.update(l.hexToBytes(u));const d=`0x${f.digest("hex")}`;return this.config.daoDep={hashType:"type",codeHash:d,typeHash:c,outPoint:{txHash:a,index:"0x2"}},this.config.daoDep}),this.loadCells=({lockHash:e,start:t="0x0",end:r,STEP:A="0x64",save:i=!1})=>n(this,void 0,void 0,function*(){const n=yield f.default({lockHash:e,start:t,end:r,STEP:A,rpc:this.rpc});return i&&this.cells.set(e,n),n}),this.signWitnesses=d.default,this.signTransaction=e=>(t,r)=>{if(!e)throw new u.ArgumentRequired("Private key or address object");if(!t)throw new u.ArgumentRequired("Transaction");if(!t.witnesses)throw new u.ArgumentRequired("Witnesses");if(!t.outputsData)throw new u.ArgumentRequired("OutputsData");if(t.outputsData.length<t.outputs.length)throw new Error("Invalid count of outputsData");const n=this.utils.rawTransactionToHash(t),A=d.isMap(e)?t.inputs.map(e=>{const t=e.previousOutput,n=r.find(e=>{var r,n,A,i;return(null===(r=e.outPoint)||void 0===r?void 0:r.txHash)===(null===(n=t)||void 0===n?void 0:n.txHash)&&(null===(A=e.outPoint)||void 0===A?void 0:A.index)===(null===(i=t)||void 0===i?void 0:i.index)});if(!n)throw new Error(`Cell of ${JSON.stringify(t)} is not found`);return n}):void 0,i=this.signWitnesses(e)({transactionHash:n,witnesses:t.witnesses,inputCells:A});return Object.assign(Object.assign({},t),{witnesses:i.map(e=>"string"==typeof e?e:this.utils.serializeWitnessArgs(e))})},this.generateRawTransaction=e=>{var{fee:t,safeMode:r=!0,deps:n,capacityThreshold:i,changeThreshold:o}=e,a=A(e,["fee","safeMode","deps","capacityThreshold","changeThreshold"]);if("fromAddress"in a&&"toAddress"in a){let e=a.cells||[];const[A,s]=[a.fromAddress,a.toAddress].map(this.extractPayloadFromAddress);if(!e.length&&n){const t=this.utils.scriptToHash({codeHash:n.codeHash,hashType:n.hashType,args:s}),r=this.cells.get(t);r&&r.length&&(e=r)}return c.default({fromPublicKeyHash:A,toPublicKeyHash:s,capacity:a.capacity,fee:t,safeMode:r,cells:e,deps:n,capacityThreshold:i,changeThreshold:o})}if("fromAddresses"in a&&"receivePairs"in a){const e=a.fromAddresses.map(this.extractPayloadFromAddress),A=a.receivePairs.map(e=>({publicKeyHash:this.extractPayloadFromAddress(e.address),capacity:e.capacity}));return c.default({fromPublicKeyHashes:e,receivePairs:A,cells:a.cells||this.cells,fee:t,safeMode:r,deps:n,capacityThreshold:i,changeThreshold:o})}throw new Error("Parameters of generateRawTransaction are invalid")},this.generateDaoDepositTransaction=({fromAddress:e,capacity:t,fee:r,cells:n=[]})=>{this.secp256k1DepsShouldBeReady(),this.DAODepsShouldBeReady();const A=this.generateRawTransaction({fromAddress:e,toAddress:e,capacity:t,fee:r,safeMode:!0,cells:n,deps:this.config.secp256k1Dep});return A.outputs[0].type={codeHash:this.config.daoDep.typeHash,args:"0x",hashType:this.config.daoDep.hashType},A.outputsData[0]="0x0000000000000000",A.cellDeps.push({outPoint:this.config.daoDep.outPoint,depType:"code"}),A.witnesses.unshift({lock:"",inputType:"",outputType:""}),A},this.generateDaoWithdrawStartTransaction=({outPoint:e,fee:t,cells:r=[]})=>n(this,void 0,void 0,function*(){this.secp256k1DepsShouldBeReady(),this.DAODepsShouldBeReady();const n=yield this.rpc.getLiveCell(e,!1);if("live"!==n.status)throw new Error("Cell is not live yet.");const A=yield this.rpc.getTransaction(e.txHash);if("committed"!==A.txStatus.status)throw new Error("Transaction is not committed yet");const i=yield this.rpc.getBlock(A.txStatus.blockHash).then(e=>e.header),o=this.utils.toHexInLittleEndian(i.number,8),a=this.utils.bech32Address(n.cell.output.lock.args),s=this.generateRawTransaction({fromAddress:a,toAddress:a,capacity:"0x0",fee:t,safeMode:!0,deps:this.config.secp256k1Dep,capacityThreshold:"0x0",cells:r});return s.outputs.splice(0,1),s.outputsData.splice(0,1),s.inputs.unshift({previousOutput:e,since:"0x0"}),s.outputs.unshift(A.transaction.outputs[+e.index]),s.cellDeps.push({outPoint:this.config.daoDep.outPoint,depType:"code"}),s.headerDeps.push(i.hash),s.outputsData.unshift(o),s.witnesses.unshift({lock:"",inputType:"",outputType:""}),s}),this.generateDaoWithdrawTransaction=({depositOutPoint:e,withdrawOutPoint:t,fee:r})=>n(this,void 0,void 0,function*(){var n,A;this.secp256k1DepsShouldBeReady(),this.DAODepsShouldBeReady();const{JSBI:i}=this.utils,o=yield this.rpc.getLiveCell(t,!0);if("live"!==o.status)throw new Error("Cell is not live yet");const a=yield this.rpc.getTransaction(t.txHash);if("committed"!==a.txStatus.status)throw new Error("Transaction is not committed yet");const s=this.utils.bytesToHex(this.utils.hexToBytes((A=null===(n=o.cell.data)||void 0===n?void 0:n.content,null!=A?A:"")).reverse()),u=yield this.rpc.getBlockByNumber(BigInt(s)).then(e=>e.header),l=this.utils.parseEpoch(u.epoch),c=yield this.rpc.getBlock(a.txStatus.blockHash).then(e=>e.header),f=this.utils.parseEpoch(c.epoch),d=g.calculateLockEpochs({withdrawEpoch:f,depositEpoch:l,DAO_LOCK_PERIOD_EPOCHS:180}),h=this.absoluteEpochSince({length:`0x${i.BigInt(l.length).toString(16)}`,index:`0x${i.BigInt(l.index).toString(16)}`,number:`0x${i.add(i.BigInt(l.number),d).toString(16)}`}),p=yield this.rpc.calculateDaoMaximumWithdraw(e,c.hash),I=i.BigInt(p),B=i.BigInt(`${r}`);if(i.lessThan(I,B))throw new Error(`The fee(${B}) is too big that withdraw(${I}) is not enough`);const C=[{capacity:`0x${i.subtract(I,B).toString(16)}`,lock:a.transaction.outputs[+t.index].lock}];return{version:"0x0",cellDeps:[{outPoint:this.config.secp256k1Dep.outPoint,depType:"depGroup"},{outPoint:this.config.daoDep.outPoint,depType:"code"}],headerDeps:[u.hash,c.hash],inputs:[{previousOutput:t,since:h}],outputs:C,outputsData:["0x"],witnesses:[{lock:"",inputType:"0x0000000000000000",outputType:""}]}}),this.absoluteEpochSince=({length:e,index:t,number:r})=>{const{JSBI:n}=this.utils;return s.assertToBeHexString(e),s.assertToBeHexString(t),s.assertToBeHexString(r),`0x${n.add(n.add(n.add(n.leftShift(n.BigInt(32),n.BigInt(56)),n.leftShift(n.BigInt(e),n.BigInt(40))),n.leftShift(n.BigInt(t),n.BigInt(24))),n.BigInt(r)).toString(16)}`},this.extractPayloadFromAddress=e=>{return`0x${this.utils.parseAddress(e,"hex").slice(h)}`},this.secp256k1DepsShouldBeReady=()=>{if(!this.config.secp256k1Dep)throw new u.ArgumentRequired("Secp256k1 dep")},this.DAODepsShouldBeReady=()=>{if(!this.config.daoDep)throw new u.ArgumentRequired("Dao dep")},this._node={url:e},this.rpc=new a.default(e);const t={name:"computeTransactionHash",method:"_compute_transaction_hash",paramsFormatters:[this.rpc.paramsFormatter.toRawTransaction]};this.rpc.addMethod(t);const r={name:"computeScriptHash",method:"_compute_script_hash",paramsFormatters:[this.rpc.paramsFormatter.toScript]};this.rpc.addMethod(r)}setNode(e){return"string"==typeof e?this._node.url=e:this._node=e,this.rpc.setNode(this._node),this._node}get node(){return this._node}}},function(e,t,r){"use strict";(function(e){var n=r(364);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"decodeAddress",{enumerable:!0,get:function(){return i.decodeAddress}}),Object.defineProperty(t,"encodeAddress",{enumerable:!0,get:function(){return i.encodeAddress}}),Object.defineProperty(t,"setSS58Format",{enumerable:!0,get:function(){return i.setSS58Format}}),Object.defineProperty(t,"Keyring",{enumerable:!0,get:function(){return o.default}}),t.default=void 0;var A=r(12),i=r(42),o=n(r(2067));(0,A.detectPackage)(r(2075),e);var a=o.default;t.default=a}).call(this,"/")},,,function(e,t,r){(function(t){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var A=t[n]={i:n,l:!1,exports:{}};return e[n].call(A.exports,A,A.exports,r),A.l=!0,A.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var A in e)r.d(n,A,function(t){return e[t]}.bind(null,A));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=21)}([function(e,t){e.exports=r(179)},function(e,t){e.exports=r(180)},function(e,t){e.exports=r(4)},function(e,t){e.exports=r(18)},function(e,t){e.exports=r(66)},function(e,t){e.exports=r(89)},function(e,t){e.exports=r(59)},function(e,t){e.exports=r(221)},function(e,t){e.exports=r(2076)},function(e,t){e.exports=r(2077)},function(e,t){e.exports=r(181)},function(e,t){e.exports=r(2078)},function(e,t){e.exports=r(48)},function(e,t){e.exports=r(6)},function(e,t){e.exports=r(5)},function(e,t){e.exports=r(7)},function(e,t){e.exports=r(2079)},function(e,t){e.exports=r(2096)},function(e,t){e.exports=r(280)},function(e){e.exports=JSON.parse('{"a":"2.6.8"}')},function(e,t){e.exports=r(952)},function(e,r,n){"use strict";n.r(r);var A={};n.r(A),n.d(A,"byte2hexStr",function(){return F}),n.d(A,"bytesToString",function(){return x}),n.d(A,"hextoString",function(){return G}),n.d(A,"byteArray2hexStr",function(){return H}),n.d(A,"base64DecodeFromString",function(){return U}),n.d(A,"base64EncodeToString",function(){return Y});var i={};n.r(i),n.d(i,"bin2String",function(){return J}),n.d(i,"arrayEquals",function(){return j}),n.d(i,"stringToBytes",function(){return q}),n.d(i,"byte2hexStr",function(){return F}),n.d(i,"bytesToString",function(){return x}),n.d(i,"hextoString",function(){return G}),n.d(i,"byteArray2hexStr",function(){return H}),n.d(i,"base64DecodeFromString",function(){return U}),n.d(i,"base64EncodeToString",function(){return Y}),n.d(i,"hexChar2byte",function(){return V}),n.d(i,"isHexChar",function(){return W}),n.d(i,"hexStr2byteArray",function(){return z}),n.d(i,"strToDate",function(){return Z}),n.d(i,"isNumber",function(){return X}),n.d(i,"getStringType",function(){return $});var o={};n.r(o),n.d(o,"encode58",function(){return Ae}),n.d(o,"decode58",function(){return ie});var a={};n.r(a),n.d(a,"getBase58CheckAddress",function(){return ge}),n.d(a,"decodeBase58Address",function(){return he}),n.d(a,"signTransaction",function(){return pe}),n.d(a,"arrayToBase64String",function(){return Ie}),n.d(a,"signBytes",function(){return Be}),n.d(a,"getRowBytesFromTransactionBase64",function(){return Ce}),n.d(a,"genPriKey",function(){return me}),n.d(a,"computeAddress",function(){return ye}),n.d(a,"getAddressFromPriKey",function(){return Qe}),n.d(a,"decode58Check",function(){return we}),n.d(a,"isAddressValid",function(){return Ee}),n.d(a,"getBase58CheckAddressFromPriKeyBase64String",function(){return be}),n.d(a,"getHexStrAddressFromPriKeyBase64String",function(){return ve}),n.d(a,"getAddressFromPriKeyBase64String",function(){return De}),n.d(a,"getPubKeyFromPriKey",function(){return Me}),n.d(a,"ECKeySign",function(){return ke}),n.d(a,"SHA256",function(){return _e}),n.d(a,"passwordToAddress",function(){return Se}),n.d(a,"pkToAddress",function(){return Ne});var s={};n.r(s),n.d(s,"generateAccount",function(){return Fe});var u={};n.r(u),n.d(u,"decodeParams",function(){return Ge}),n.d(u,"encodeParams",function(){return He});var l=n(0),c=n.n(l),f=n(1),d=n.n(f),g=n(7),h=n.n(g),p=n(2),I=n.n(p),B=n(3),C=n.n(B),m=n(13),y=n.n(m),Q=n(14),w=n.n(Q),E=n(10),b=n.n(E),v=n(15),D=n.n(v),M=n(4),k=n.n(M),_=n(16),S=n.n(_);function N(){var e=this;this._keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",this.encode=function(t){for(var r,n,A,i,o,a,s,u="",l=0;l<t.length;)i=(r=t.charCodeAt(l++))>>2,o=(3&r)<<4|(n=t.charCodeAt(l++))>>4,a=(15&n)<<2|(A=t.charCodeAt(l++))>>6,s=63&A,isNaN(n)?a=s=64:isNaN(A)&&(s=64),u=u+e._keyStr.charAt(i)+e._keyStr.charAt(o)+e._keyStr.charAt(a)+e._keyStr.charAt(s);return u},this.encodeIgnoreUtf8=function(t){for(var r,n,A,i,o,a,s,u="",l=0;l<t.length;)i=(r=t[l++])>>2,o=(3&r)<<4|(n=t[l++])>>4,a=(15&n)<<2|(A=t[l++])>>6,s=63&A,isNaN(n)?a=s=64:isNaN(A)&&(s=64),u=u+e._keyStr.charAt(i)+e._keyStr.charAt(o)+e._keyStr.charAt(a)+e._keyStr.charAt(s);return u},this.decode=function(t){var r,n,A,i,o,a,s="",u=0;for(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");u<t.length;)r=e._keyStr.indexOf(t.charAt(u++))<<2|(i=e._keyStr.indexOf(t.charAt(u++)))>>4,n=(15&i)<<4|(o=e._keyStr.indexOf(t.charAt(u++)))>>2,A=(3&o)<<6|(a=e._keyStr.indexOf(t.charAt(u++))),s+=String.fromCharCode(r),64!=o&&(s+=String.fromCharCode(n)),64!=a&&(s+=String.fromCharCode(A));return e._utf8_decode(s)},this.decodeToByteArray=function(t){var r,n,A,i,o,a,s="",u=0;for(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");u<t.length;)r=e._keyStr.indexOf(t.charAt(u++))<<2|(i=e._keyStr.indexOf(t.charAt(u++)))>>4,n=(15&i)<<4|(o=e._keyStr.indexOf(t.charAt(u++)))>>2,A=(3&o)<<6|(a=e._keyStr.indexOf(t.charAt(u++))),s+=String.fromCharCode(r),64!=o&&(s+=String.fromCharCode(n)),64!=a&&(s+=String.fromCharCode(A));return e._out2ByteArray(s)},this._out2ByteArray=function(e){for(var t=new Array(e.length),r=0,n=0;r<e.length;)n=e.charCodeAt(r),t[r]=n,r++;return t},this._utf8_encode=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):n>127&&n<2048?(t+=String.fromCharCode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t},this._utf8_decode=function(e){for(var t="",r=0,n=0,A=0,i=0;r<e.length;)(n=e.charCodeAt(r))<128?(t+=String.fromCharCode(n),r++):n>191&&n<224?(A=e.charCodeAt(r+1),t+=String.fromCharCode((31&n)<<6|63&A),r+=2):(A=e.charCodeAt(r+1),i=e.charCodeAt(r+2),t+=String.fromCharCode((15&n)<<12|(63&A)<<6|63&i),r+=3);return t}}function F(e){if("number"!=typeof e)throw new Error("Input must be a number");if(e<0||e>255)throw new Error("Input must be a byte");var t="";return(t+="0123456789ABCDEF".charAt(e>>4))+"0123456789ABCDEF".charAt(15&e)}function x(e){if("string"==typeof e)return e;for(var t="",r=0;r<e.length;r++){var n=e[r].toString(2),A=n.match(/^1+?(?=0)/);if(A&&8===n.length){for(var i=A[0].length,o=e[r].toString(2).slice(7-i),a=1;a<i;a++)o+=e[a+r].toString(2).slice(2);t+=String.fromCharCode(parseInt(o,2)),r+=i-1}else t+=String.fromCharCode(e[r])}return t}function G(e){for(var t=e.replace(/^0x/,"").split(""),r="",n=0;n<t.length/2;n++){var A="0x".concat(t[2*n]).concat(t[2*n+1]);r+=String.fromCharCode(A)}return r}function H(e){for(var t="",r=0;r<e.length;r++)t+=F(e[r]);return t}function U(e){return(new N).decodeToByteArray(e)}function Y(e){return(new N).encodeIgnoreUtf8(e)}var L=n(5),O=n.n(L),K=34,P="41",R=65,T=/^(41)/;function J(e){return x(e)}function j(e,t,r){if(e.length!=t.length)return!1;var n;for(n=0;n<e.length;n++)if(r){if(e[n]!=t[n])return!1}else if(JSON.stringify(e[n])!=JSON.stringify(t[n]))return!1;return!0}function q(e){if("string"!=typeof e)throw new Error("The passed string is not a string");var t,r,n=new Array;t=e.length;for(var A=0;A<t;A++)(r=e.charCodeAt(A))>=65536&&r<=1114111?(n.push(r>>18&7|240),n.push(r>>12&63|128),n.push(r>>6&63|128),n.push(63&r|128)):r>=2048&&r<=65535?(n.push(r>>12&15|224),n.push(r>>6&63|128),n.push(63&r|128)):r>=128&&r<=2047?(n.push(r>>6&31|192),n.push(63&r|128)):n.push(255&r);return n}function V(e){var t;if(e>="A"&&e<="F"?t=e.charCodeAt(0)-"A".charCodeAt(0)+10:e>="a"&&e<="f"?t=e.charCodeAt(0)-"a".charCodeAt(0)+10:e>="0"&&e<="9"&&(t=e.charCodeAt(0)-"0".charCodeAt(0)),"number"==typeof t)return t;throw new Error("The passed hex char is not a valid hex char")}function W(e){return e>="A"&&e<="F"||e>="a"&&e<="f"||e>="0"&&e<="9"?1:0}function z(e){if("string"!=typeof e)throw new Error("The passed string is not a string");for(var t=Array(),r=0,n=0,A=0,i=0;i<e.length;i++){var o=e.charAt(i);if(!W(o))throw new Error("The passed hex char is not a valid hex string");r<<=4,r+=V(o),0==++n%2&&(t[A++]=r,r=0)}return t}function Z(e){if(!/^\d{4}-\d{2}-\d{2}( \d{2}-\d{2}-\d{2}|)/.test(e))throw new Error("The passed date string is not valid");var t=e.split(" "),r=t[0].split("-"),n=parseInt(r[0],10),A=parseInt(r[1],10)-1,i=parseInt(r[2],10);if(t.length>1){var o=t[1].split("-"),a=parseInt(o[0],10),s=parseInt(o[1],10),u=parseInt(o[2],10);return new Date(n,A,i,a,s,u)}return new Date(n,A,i)}function X(e){return e>="0"&&e<="9"?1:0}function $(e){if(null==e)return-1;if("string"!=typeof e)return-1;if(0==e.length||""==e)return-1;var t=0;if(40==e.length)for(;t<40&&W(e.charAt(t));t++);if(40==t)return 1;for(t=0;t<e.length&&X(e.charAt(t));t++);if(t==e.length)return 2;for(t=0;t<e.length;t++)if(e.charAt(t)>" ")return 3;return-1}for(var ee="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",te={},re=0;re<ee.length;re++)te[ee.charAt(re)]=re;var ne=58;function Ae(e){if(0===e.length)return"";var t,r,n=[0];for(t=0;t<e.length;t++){for(r=0;r<n.length;r++)n[r]<<=8;n[0]+=e[t];var A=0;for(r=0;r<n.length;++r)n[r]+=A,A=n[r]/ne|0,n[r]%=ne;for(;A;)n.push(A%ne),A=A/ne|0}for(t=0;0===e[t]&&t<e.length-1;t++)n.push(0);return n.reverse().map(function(e){return ee[e]}).join("")}function ie(e){if(0===e.length)return[];var t,r,n=[0];for(t=0;t<e.length;t++){var A=e[t];if(!(A in te))throw new Error("Non-base58 character");for(r=0;r<n.length;r++)n[r]*=ne;n[0]+=te[A];var i=0;for(r=0;r<n.length;++r)n[r]+=i,i=n[r]>>8,n[r]&=255;for(;i;)n.push(255&i),i>>=8}for(t=0;"1"===e[t]&&t<e.length-1;t++)n.push(0);return n.reverse()}var oe=n(12),ae=n(9),se=ae.utils.keccak256,ue=ae.utils.sha256,le=ae.utils.toUtf8Bytes,ce=ae.utils.recoverAddress,fe=ae.utils.SigningKey,de=ae.utils.AbiCoder;function ge(e){var t=_e(e),r=_e(t).slice(0,4);return Ae(r=e.concat(r))}function he(e){if("string"!=typeof e)return!1;if(e.length<=4)return!1;var t=ie(e);if(e.length<=4)return!1;var r=t.length-4,n=t.slice(r),A=_e(t=t.slice(0,r)),i=_e(A).slice(0,4);if(n[0]==i[0]&&n[1]==i[1]&&n[2]==i[2]&&n[3]==i[3])return t;throw new Error("Invalid address provided")}function pe(e,t){"string"==typeof e&&(e=z(e));var r=ke(z(t.txID),e);return Array.isArray(t.signature)?t.signature.includes(r)||t.signature.push(r):t.signature=[r],t}function Ie(e){return btoa(String.fromCharCode.apply(String,O()(e)))}function Be(e,t){return"string"==typeof e&&(e=z(e)),ke(_e(t),e)}function Ce(e){var t=U(e);return proto.protocol.Transaction.deserializeBinary(t).getRawData().serializeBinary()}function me(){for(var e=new oe.ec("secp256k1").genKeyPair().getPrivate().toString("hex");e.length<64;)e="0".concat(e);return z(e)}function ye(e){65===e.length&&(e=e.slice(1));var t=se(e).toString().substring(2);return z(P+t.substring(24))}function Qe(e){return ye(Me(e))}function we(e){var t=ie(e);if(t.length<=4)return!1;var r=t.slice(0,t.length-4),n=_e(r),A=_e(n);return A[0]===t[r.length]&&A[1]===t[r.length+1]&&A[2]===t[r.length+2]&&A[3]===t[r.length+3]&&r}function Ee(e){if("string"!=typeof e)return!1;if(e.length!==K)return!1;var t=ie(e);if(25!==t.length)return!1;if(t[0]!==R)return!1;var r=t.slice(21),n=_e(t=t.slice(0,21)),A=_e(n).slice(0,4);return r[0]==A[0]&&r[1]==A[1]&&r[2]==A[2]&&r[3]==A[3]}function be(e){return ge(ye(Me(U(e))))}function ve(e){return H(ye(Me(U(e))))}function De(e){return Y(ye(Me(U(e))))}function Me(e){for(var t=new oe.ec("secp256k1").keyFromPrivate(e,"bytes").getPublic(),r=t.x,n=t.y,A=r.toString("hex");A.length<64;)A="0".concat(A);for(var i=n.toString("hex");i.length<64;)i="0".concat(i);return z("04".concat(A).concat(i))}function ke(e,t){for(var r=new oe.ec("secp256k1").keyFromPrivate(t,"bytes").sign(e),n=r.r,A=r.s,i=r.recoveryParam,o=n.toString("hex");o.length<64;)o="0".concat(o);for(var a=A.toString("hex");a.length<64;)a="0".concat(a);return o+a+F(i)}function _e(e){var t=H(e);return z(ue("0x"+t).replace(/^0x/,""))}function Se(e){return ge(Qe(U(e)))}function Ne(e){return ge(Qe(z(e)))}function Fe(){var e=me(),t=Me(e),r=Qe(e);return{privateKey:H(e),publicKey:H(t),address:{base58:ge(r),hex:H(r)}}}var xe=new de;function Ge(e,t,r,n){if(r&&"boolean"!=typeof r||(n=r,r=t,t=e,e=[]),n&&r.replace(/^0x/,"").length%64==8&&(r="0x"+r.replace(/^0x/,"").substring(8)),r.replace(/^0x/,"").length%64)throw new Error("The encoded string is not valid. Its length must be a multiple of 64.");return xe.decode(t,r).reduce(function(r,n,A){return"address"==t[A]&&(n=P+n.substr(2).toLowerCase()),e.length?r[e[A]]=n:r.push(n),r},e.length?{}:[])}function He(e,t){for(var r=0;r<e.length;r++)"address"===e[r]&&(t[r]=mt.address.toHex(t[r]).replace(T,"0x"));return xe.encode(e,t)}var Ue=n(17),Ye=n.n(Ue),Le=n(8),Oe=n.n(Le);function Ke(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var Pe,Re,Te=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ke(r,!0).forEach(function(t){k()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ke(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},{isValidURL:function(e){return"string"==typeof e&&Ye.a.isURL(e.toString(),{protocols:["http","https"],require_tld:!1})},isObject:function(e){return e===Object(e)&&"[object Array]"!==Object.prototype.toString.call(e)},isArray:function(e){return Array.isArray(e)},isJson:function(e){try{return!!JSON.parse(e)}catch(e){return!1}},isBoolean:function(e){return"boolean"==typeof e},isBigNumber:function(e){return e&&(e instanceof Oe.a||e.constructor&&"BigNumber"===e.constructor.name)},isString:function(e){return"string"==typeof e||e&&e.constructor&&"String"===e.constructor.name},isFunction:function(e){return"function"==typeof e},isHex:function(e){return"string"==typeof e&&!isNaN(parseInt(e,16))&&/^(0x|)[a-fA-F0-9]+$/.test(e)},isInteger:function(e){return null!==e&&Number.isInteger(Number(e))},hasProperty:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},hasProperties:function(e){for(var t=this,r=arguments.length,n=new Array(r>1?r-1:0),A=1;A<r;A++)n[A-1]=arguments[A];return n.length&&!n.map(function(r){return t.hasProperty(e,r)}).includes(!1)},injectPromise:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new Promise(function(t,n){e.apply(void 0,r.concat([function(e,r){e?n(e):t(r)}]))})},promiseInjector:function(e){var t=this;return function(r){for(var n=arguments.length,A=new Array(n>1?n-1:0),i=1;i<n;i++)A[i-1]=arguments[i];return t.injectPromise.apply(t,[r.bind(e)].concat(A))}},mapEvent:function(e){var t={block:e.block_number,timestamp:e.block_timestamp,contract:e.contract_address,name:e.event_name,transaction:e.transaction_id,result:e.result,resourceNode:e.resource_Node||(e._unconfirmed?"fullNode":"solidityNode")};return e._unconfirmed&&(t.unconfirmed=e._unconfirmed),e._fingerprint&&(t.fingerprint=e._fingerprint),t},parseEvent:function(e,t){var r=t.inputs;if(!e.result)return e;if(this.isObject(e.result))for(var n=0;n<r.length;n++){var A=r[n];"address"==A.type&&A.name in e.result&&(e.result[A.name]=P+e.result[A.name].substr(2).toLowerCase())}else this.isArray(e.result)&&(e.result=e.result.reduce(function(e,t,n){var A=r[n],i=A.name;return"address"==A.type&&(t=P+t.substr(2).toLowerCase()),e[i]=t,e},{}));return e},padLeft:function(e,t,r){for(var n=e.toString();n.length<r;)n=t+n;return n},isNotNullOrUndefined:function(e){return null!=e},sleep:(Pe=d()(c.a.mark(function e(){var t,r=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:1e3,e.abrupt("return",new Promise(function(e){return setTimeout(e,t)}));case 2:case"end":return e.stop()}},e)})),function(){return Pe.apply(this,arguments)})},{code:i,accounts:s,base58:o,bytes:A,crypto:a,abi:u}),Je={HttpProvider:function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e4,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],A=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"/";if(I()(this,e),!Te.isValidURL(t))throw new Error("Invalid URL provided to HttpProvider");if(isNaN(r)||r<0)throw new Error("Invalid timeout duration provided");if(!Te.isObject(i))throw new Error("Invalid headers object provided");t=t.replace(/\/+$/,""),this.host=t,this.timeout=r,this.user=n,this.password=A,this.headers=i,this.statusPage=o,this.instance=S.a.create({baseURL:t,timeout:r,headers:i,auth:n&&{user:n,password:A}})}var t;return C()(e,[{key:"setStatusPage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/";this.statusPage=e}},{key:"isConnected",value:(t=d()(c.a.mark(function e(){var t,r=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:this.statusPage,e.abrupt("return",this.request(t).then(function(e){return Te.hasProperties(e,"blockID","block_header")}).catch(function(){return!1}));case 2:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})},{key:"request",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get";return r=r.toLowerCase(),this.instance.request({data:"post"==r&&Object.keys(t).length?t:null,params:"get"==r&&t,url:e,method:r}).then(function(e){return e.data})}}]),e}()},je=n(18),qe=n.n(je),Ve=n(19),We=n(11),ze=n.n(We),Ze=n(6),Xe=n.n(Ze),$e=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(I()(this,e),!t||!t instanceof mt)throw new Error("Expected instance of TronWeb");this.tronWeb=t}return C()(e,[{key:"invalid",value:function(e){return e.msg||"Invalid ".concat(e.name).concat("address"===e.type?" address":""," provided")}},{key:"notPositive",value:function(e){return"".concat(e.name," must be a positive integer")}},{key:"notEqual",value:function(e){return e.msg||"".concat(e.names[0]," can not be equal to ").concat(e.names[1])}},{key:"notValid",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Function,r={},n=!1,A=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(A=(a=s.next()).done);A=!0){var u=a.value,l=u.name,c=u.names,f=u.value,d=u.type,g=u.gt,h=u.lt,p=u.gte,I=u.lte,B=(u.se,u.optional);if(!B||Te.isNotNullOrUndefined(f)&&("boolean"===d||!1!==f)){switch(r[u.name]=u.value,d){case"address":this.tronWeb.isAddress(f)?r[l]=this.tronWeb.address.toHex(f):n=!0;break;case"integer":(!Te.isInteger(f)||"number"==typeof g&&f<=u.gt||"number"==typeof h&&f>=u.lt||"number"==typeof p&&f<u.gte||"number"==typeof I&&f>u.lte)&&(n=!0);break;case"positive-integer":if(!Te.isInteger(f)||f<=0)return void t(this.notPositive(u));break;case"tokenId":Te.isString(f)&&f.length||(n=!0);break;case"notEmptyObject":Te.isObject(f)&&Object.keys(f).length||(n=!0);break;case"notEqual":if(r[c[0]]===r[c[1]])return t(this.notEqual(u)),!0;break;case"resource":["BANDWIDTH","ENERGY"].includes(f)||(n=!0);break;case"url":Te.isValidURL(f)||(n=!0);break;case"hex":Te.isHex(f)||(n=!0);break;case"array":Array.isArray(f)||(n=!0);break;case"not-empty-string":Te.isString(f)&&f.length||(n=!0);break;case"boolean":Te.isBoolean(f)||(n=!0);break;case"string":(!Te.isString(f)||"number"==typeof g&&f.length<=u.gt||"number"==typeof h&&f.length>=u.lt||"number"==typeof p&&f.length<u.gte||"number"==typeof I&&f.length>u.lte)&&(n=!0)}if(n)return t(this.invalid(u)),!0}}}catch(e){i=!0,o=e}finally{try{A||null==s.return||s.return()}finally{if(i)throw o}}return!1}}]),e}();function et(e){return Re.tronWeb.address.toHex(e)}function tt(e){return Re.tronWeb.fromUtf8(e)}function rt(e,t){return e.Error?t(e.Error):e.result&&e.result.message?t(Re.tronWeb.toUtf8(e.result.message)):t(null,e)}var nt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(I()(this,e),!t||!t instanceof mt)throw new Error("Expected instance of TronWeb");Re=this,this.tronWeb=t,this.injectPromise=Te.promiseInjector(this),this.validator=new $e(t)}var t,r,n,A;return C()(e,[{key:"sendTrx",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.tronWeb.defaultAddress.hex,n=arguments.length>3?arguments[3]:void 0,A=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(Te.isFunction(n)&&(A=n,n={}),Te.isFunction(r)?(A=r,r=this.tronWeb.defaultAddress.hex):Te.isObject(r)&&(n=r,r=this.tronWeb.defaultAddress.hex),!A)return this.injectPromise(this.sendTrx,e,t,r,n);if(t=parseInt(t),!this.validator.notValid([{name:"recipient",type:"address",value:e},{name:"origin",type:"address",value:r},{names:["recipient","origin"],type:"notEqual",msg:"Cannot transfer TRX to the same account"},{name:"amount",type:"integer",gt:0,value:t}],A)){var i={to_address:et(e),owner_address:et(r),amount:t};n&&n.permissionId&&(i.Permission_id=n.permissionId),this.tronWeb.fullNode.request("wallet/createtransaction",i,"post").then(function(e){return rt(e,A)}).catch(function(e){return A(e)})}}},{key:"sendToken",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.tronWeb.defaultAddress.hex,A=arguments.length>4?arguments[4]:void 0,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(Te.isFunction(A)&&(i=A,A={}),Te.isFunction(n)?(i=n,n=this.tronWeb.defaultAddress.hex):Te.isObject(n)&&(A=n,n=this.tronWeb.defaultAddress.hex),!i)return this.injectPromise(this.sendToken,e,t,r,n,A);if(t=parseInt(t),!this.validator.notValid([{name:"recipient",type:"address",value:e},{name:"origin",type:"address",value:n},{names:["recipient","origin"],type:"notEqual",msg:"Cannot transfer tokens to the same account"},{name:"amount",type:"integer",gt:0,value:t},{name:"token ID",type:"tokenId",value:r}],i)){var o={to_address:et(e),owner_address:et(n),asset_name:tt(r),amount:parseInt(t)};A&&A.permissionId&&(o.Permission_id=A.permissionId),this.tronWeb.fullNode.request("wallet/transferasset",o,"post").then(function(e){return rt(e,i)}).catch(function(e){return i(e)})}}},{key:"purchaseToken",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.tronWeb.defaultAddress.hex,A=arguments.length>4?arguments[4]:void 0,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(Te.isFunction(A)&&(i=A,A={}),Te.isFunction(n)?(i=n,n=this.tronWeb.defaultAddress.hex):Te.isObject(n)&&(A=n,n=this.tronWeb.defaultAddress.hex),!i)return this.injectPromise(this.purchaseToken,e,t,r,n,A);if(!this.validator.notValid([{name:"buyer",type:"address",value:n},{name:"issuer",type:"address",value:e},{names:["buyer","issuer"],type:"notEqual",msg:"Cannot purchase tokens from same account"},{name:"amount",type:"integer",gt:0,value:r},{name:"token ID",type:"tokenId",value:t}],i)){var o={to_address:et(e),owner_address:et(n),asset_name:tt(t),amount:parseInt(r)};A&&A.permissionId&&(o.Permission_id=A.permissionId),this.tronWeb.fullNode.request("wallet/participateassetissue",o,"post").then(function(e){return rt(e,i)}).catch(function(e){return i(e)})}}},{key:"freezeBalance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"BANDWIDTH",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.tronWeb.defaultAddress.hex,A=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(Te.isFunction(i)&&(o=i,i={}),Te.isFunction(A)?(o=A,A=void 0):Te.isObject(A)&&(i=A,A=void 0),Te.isFunction(n)?(o=n,n=this.tronWeb.defaultAddress.hex):Te.isObject(n)&&(i=n,n=this.tronWeb.defaultAddress.hex),Te.isFunction(t)&&(o=t,t=3),Te.isFunction(r)&&(o=r,r="BANDWIDTH"),!o)return this.injectPromise(this.freezeBalance,e,t,r,n,A,i);if(!this.validator.notValid([{name:"origin",type:"address",value:n},{name:"receiver",type:"address",value:A,optional:!0},{name:"amount",type:"integer",gt:0,value:e},{name:"duration",type:"integer",gte:3,value:t},{name:"resource",type:"resource",value:r,msg:'Invalid resource provided: Expected "BANDWIDTH" or "ENERGY'}],o)){var a={owner_address:et(n),frozen_balance:parseInt(e),frozen_duration:parseInt(t),resource:r};Te.isNotNullOrUndefined(A)&&et(A)!==et(n)&&(a.receiver_address=et(A)),i&&i.permissionId&&(a.Permission_id=i.permissionId),this.tronWeb.fullNode.request("wallet/freezebalance",a,"post").then(function(e){return rt(e,o)}).catch(function(e){return o(e)})}}},{key:"unfreezeBalance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"BANDWIDTH",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.tronWeb.defaultAddress.hex,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,A=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(Te.isFunction(n)&&(A=n,n={}),Te.isFunction(r)?(A=r,r=void 0):Te.isObject(r)&&(n=r,r=void 0),Te.isFunction(t)?(A=t,t=this.tronWeb.defaultAddress.hex):Te.isObject(t)&&(n=t,t=this.tronWeb.defaultAddress.hex),Te.isFunction(e)&&(A=e,e="BANDWIDTH"),!A)return this.injectPromise(this.unfreezeBalance,e,t,r,n);if(!this.validator.notValid([{name:"origin",type:"address",value:t},{name:"receiver",type:"address",value:r,optional:!0},{name:"resource",type:"resource",value:e,msg:'Invalid resource provided: Expected "BANDWIDTH" or "ENERGY'}],A)){var i={owner_address:et(t),resource:e};Te.isNotNullOrUndefined(r)&&et(r)!==et(t)&&(i.receiver_address=et(r)),n&&n.permissionId&&(i.Permission_id=n.permissionId),this.tronWeb.fullNode.request("wallet/unfreezebalance",i,"post").then(function(e){return rt(e,A)}).catch(function(e){return A(e)})}}},{key:"withdrawBlockRewards",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tronWeb.defaultAddress.hex,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Te.isFunction(t)&&(r=t,t={}),Te.isFunction(e)?(r=e,e=this.tronWeb.defaultAddress.hex):Te.isObject(e)&&(t=e,e=this.tronWeb.defaultAddress.hex),!r)return this.injectPromise(this.withdrawBlockRewards,e,t);if(!this.validator.notValid([{name:"origin",type:"address",value:e}],r)){var n={owner_address:et(e)};t&&t.permissionId&&(n.Permission_id=t.permissionId),this.tronWeb.fullNode.request("wallet/withdrawbalance",n,"post").then(function(e){return rt(e,r)}).catch(function(e){return r(e)})}}},{key:"applyForSR",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tronWeb.defaultAddress.hex,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Te.isFunction(r)&&(n=r,r={}),Te.isValidURL(e)&&(n=t||!1,t=e,e=this.tronWeb.defaultAddress.hex),Te.isObject(t)&&(r=t=e=this.tronWeb.defaultAddress.hex),!n)return this.injectPromise(this.applyForSR,e,t,r);if(!this.validator.notValid([{name:"origin",type:"address",value:e},{name:"url",type:"url",value:t,msg:"Invalid url provided"}],n)){var A={owner_address:et(e),url:tt(t)};r&&r.permissionId&&(A.Permission_id=r.permissionId),this.tronWeb.fullNode.request("wallet/createwitness",A,"post").then(function(e){return rt(e,n)}).catch(function(e){return n(e)})}}},{key:"vote",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.tronWeb.defaultAddress.hex,n=arguments.length>2?arguments[2]:void 0,A=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Te.isFunction(n)&&(A=n,n={}),Te.isFunction(r)?(A=r,r=this.tronWeb.defaultAddress.hex):Te.isObject(r)&&(n=r,r=this.tronWeb.defaultAddress.hex),!A)return this.injectPromise(this.vote,t,r,n);if(!this.validator.notValid([{name:"voter",type:"address",value:r},{name:"votes",type:"notEmptyObject",value:t}],A)){var i=!1;if(t=Object.entries(t).map(function(t){var r=Xe()(t,2),n=r[0],A=r[1];if(!i)return e.validator.notValid([{name:"SR",type:"address",value:n},{name:"vote count",type:"integer",gt:0,value:A,msg:"Invalid vote count provided for SR: "+n}])?i=!0:{vote_address:et(n),vote_count:parseInt(A)}}),!i){var o={owner_address:et(r),votes:t};n&&n.permissionId&&(o.Permission_id=n.permissionId),this.tronWeb.fullNode.request("wallet/votewitnessaccount",o,"post").then(function(e){return rt(e,A)}).catch(function(e){return A(e)})}}}},{key:"createSmartContract",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.tronWeb.defaultAddress.hex,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Te.isFunction(t)&&(r=t,t=this.tronWeb.defaultAddress.hex),!r)return this.injectPromise(this.createSmartContract,e,t);var n=e.feeLimit||1e9,A=e.userFeePercentage;"number"==typeof A||A||(A=100);var i=e.originEnergyLimit||1e7,o=e.callValue||0,a=e.tokenValue,s=e.tokenId||e.token_id,u=e.abi,l=void 0!==u&&u,c=e.bytecode,f=void 0!==c&&c,d=e.parameters,g=void 0===d?[]:d,h=e.name,p=void 0===h?"":h;if(l&&Te.isString(l))try{l=JSON.parse(l)}catch(e){return r("Invalid options.abi provided")}if(l.entrys&&(l=l.entrys),!Te.isArray(l))return r("Invalid options.abi provided");var I=l.some(function(e){return"constructor"==e.type&&e.payable});if(!this.validator.notValid([{name:"bytecode",type:"hex",value:f},{name:"feeLimit",type:"integer",value:n,gt:0,lte:1e9},{name:"callValue",type:"integer",value:o,gte:0},{name:"userFeePercentage",type:"integer",value:A,gte:0,lte:100},{name:"originEnergyLimit",type:"integer",value:i,gte:0,lte:1e7},{name:"parameters",type:"array",value:g},{name:"issuer",type:"address",value:t},{name:"tokenValue",type:"integer",value:a,gte:0,optional:!0},{name:"tokenId",type:"integer",value:s,gte:0,optional:!0}],r)){if(I&&0==o&&0==a)return r("When contract is payable, options.callValue or options.tokenValue must be a positive integer");if(!I&&(o>0||a>0))return r("When contract is not payable, options.callValue and options.tokenValue must be 0");var B=l.find(function(e){return"constructor"===e.type});if(void 0!==B&&B){var C=new de,m=[],y=[];if(B=B.inputs,g.length!=B.length)return r("constructor needs ".concat(B.length," but ").concat(g.length," provided"));for(var Q=0;Q<g.length;Q++){var w=B[Q].type,E=g[Q];if(!w||!Te.isString(w)||!w.length)return r("Invalid parameter type provided: "+w);"address"==w&&(E=et(E).replace(T,"0x")),m.push(w),y.push(E)}try{g=C.encode(m,y).replace(/^(0x)/,"")}catch(e){return r(e)}}else g="";var b={owner_address:et(t),fee_limit:parseInt(n),call_value:parseInt(o),consume_user_resource_percent:A,origin_energy_limit:i,abi:JSON.stringify(l),bytecode:f,parameter:g,name:p};Te.isNotNullOrUndefined(a)&&(b.call_token_value=parseInt(a)),Te.isNotNullOrUndefined(s)&&(b.token_id=parseInt(s)),e&&e.permissionId&&(b.Permission_id=e.permissionId),this.tronWeb.fullNode.request("wallet/deploycontract",b,"post").then(function(e){return rt(e,r)}).catch(function(e){return r(e)})}}},{key:"triggerSmartContract",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"object"!==h()(t[2])&&(t[2]={feeLimit:t[2],callValue:t[3]},t.splice(3,1)),this._triggerSmartContract.apply(this,t)}},{key:"triggerConstantContract",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t[2]._isConstant=!0,this.triggerSmartContract.apply(this,t)}},{key:"_triggerSmartContract",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],A=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.tronWeb.defaultAddress.hex,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(Te.isFunction(A)&&(i=A,A=this.tronWeb.defaultAddress.hex),Te.isFunction(n)&&(i=n,n=[]),!i)return this.injectPromise(this._triggerSmartContract,e,t,r,n,A);var o=Object.assign({callValue:0,feeLimit:1e9},r),a=o.tokenValue,s=o.tokenId,u=o.callValue,l=o.feeLimit;if(!this.validator.notValid([{name:"feeLimit",type:"integer",value:l,gt:0,lte:1e9},{name:"callValue",type:"integer",value:u,gte:0},{name:"parameters",type:"array",value:n},{name:"contract",type:"address",value:e},{name:"issuer",type:"address",value:A,optional:!0},{name:"tokenValue",type:"integer",value:a,gte:0,optional:!0},{name:"tokenId",type:"integer",value:s,gte:0,optional:!0},{name:"function selector",type:"not-empty-string",value:t}],i)){if(t=t.replace("/s*/g",""),n.length){for(var c=new de,f=[],d=[],g=0;g<n.length;g++){var h=n[g],p=h.type,I=h.value;if(!p||!Te.isString(p)||!p.length)return i("Invalid parameter type provided: "+p);"address"==p&&(I=et(I).replace(T,"0x")),f.push(p),d.push(I)}try{f=f.map(function(e){return/trcToken/.test(e)&&(e=e.replace(/trcToken/,"uint256")),e}),n=c.encode(f,d).replace(/^(0x)/,"")}catch(e){return i(e)}}else n="";var B={contract_address:et(e),owner_address:et(A),function_selector:t,parameter:n};r._isConstant||(B.call_value=parseInt(u),B.fee_limit=parseInt(l),Te.isNotNullOrUndefined(a)&&(B.call_token_value=parseInt(a)),Te.isNotNullOrUndefined(s)&&(B.token_id=parseInt(s))),r.permissionId&&(B.Permission_id=r.permissionId),this.tronWeb.fullNode.request("wallet/trigger".concat(r._isConstant?"constant":"smart","contract"),B,"post").then(function(e){return rt(e,i)}).catch(function(e){return i(e)})}}},{key:"clearABI",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.tronWeb.defaultAddress.hex,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!r)return this.injectPromise(this.clearABI,e,t);if(!this.tronWeb.isAddress(e))return r("Invalid contract address provided");if(!this.tronWeb.isAddress(t))return r("Invalid owner address provided");var n={contract_address:et(e),owner_address:et(t)};this.tronWeb.trx.cache.contracts[e]&&delete this.tronWeb.trx.cache.contracts[e],this.tronWeb.fullNode.request("wallet/clearabi",n,"post").then(function(e){return rt(e,r)}).catch(function(e){return r(e)})}},{key:"createToken",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.tronWeb.defaultAddress.hex,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Te.isFunction(t)&&(r=t,t=this.tronWeb.defaultAddress.hex),!r)return this.injectPromise(this.createToken,e,t);var n=e.name,A=void 0!==n&&n,i=e.abbreviation,o=void 0!==i&&i,a=e.description,s=void 0!==a&&a,u=e.url,l=void 0!==u&&u,c=e.totalSupply,f=void 0===c?0:c,d=e.trxRatio,g=void 0===d?1:d,h=e.tokenRatio,p=void 0===h?1:h,I=e.saleStart,B=void 0===I?Date.now():I,C=e.saleEnd,m=void 0!==C&&C,y=e.freeBandwidth,Q=void 0===y?0:y,w=e.freeBandwidthLimit,E=void 0===w?0:w,b=e.frozenAmount,v=void 0===b?0:b,D=e.frozenDuration,M=void 0===D?0:D,k=e.voteScore,_=e.precision;if(!this.validator.notValid([{name:"Supply amount",type:"positive-integer",value:f},{name:"TRX ratio",type:"positive-integer",value:g},{name:"Token ratio",type:"positive-integer",value:p},{name:"token abbreviation",type:"not-empty-string",value:o},{name:"token name",type:"not-empty-string",value:A},{name:"token description",type:"not-empty-string",value:s},{name:"token url",type:"url",value:l},{name:"issuer",type:"address",value:t},{name:"sale start timestamp",type:"integer",value:B,gte:Date.now()},{name:"sale end timestamp",type:"integer",value:m,gt:B},{name:"Free bandwidth amount",type:"integer",value:Q,gte:0},{name:"Free bandwidth limit",type:"integer",value:E,gte:0},{name:"Frozen supply",type:"integer",value:v,gte:0},{name:"Frozen duration",type:"integer",value:M,gte:0}],r)){if(Te.isNotNullOrUndefined(k)&&(!Te.isInteger(k)||k<=0))return r("voteScore must be a positive integer greater than 0");if(Te.isNotNullOrUndefined(_)&&(!Te.isInteger(_)||_<=0||_>6))return r("precision must be a positive integer > 0 and <= 6");var S={owner_address:et(t),name:tt(A),abbr:tt(o),description:tt(s),url:tt(l),total_supply:parseInt(f),trx_num:parseInt(g),num:parseInt(p),start_time:parseInt(B),end_time:parseInt(m),free_asset_net_limit:parseInt(Q),public_free_asset_net_limit:parseInt(E),frozen_supply:{frozen_amount:parseInt(v),frozen_days:parseInt(M)}};!this.tronWeb.fullnodeSatisfies(">=3.5.0")||parseInt(v)>0||delete S.frozen_supply,_&&!isNaN(parseInt(_))&&(S.precision=parseInt(_)),k&&!isNaN(parseInt(k))&&(S.vote_score=parseInt(k)),e&&e.permissionId&&(S.Permission_id=e.permissionId),this.tronWeb.fullNode.request("wallet/createassetissue",S,"post").then(function(e){return rt(e,r)}).catch(function(e){return r(e)})}}},{key:"updateAccount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.tronWeb.defaultAddress.hex,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Te.isFunction(r)&&(n=r,r={}),Te.isFunction(t)?(n=t,t=this.tronWeb.defaultAddress.hex):Te.isObject(t)&&(r=t,t=this.tronWeb.defaultAddress.hex),!n)return this.injectPromise(this.updateAccount,e,t,r);if(!this.validator.notValid([{name:"Name",type:"not-empty-string",value:e},{name:"origin",type:"address",value:t}],n)){var A={account_name:tt(e),owner_address:et(t)};r&&r.permissionId&&(A.Permission_id=r.permissionId),this.tronWeb.fullNode.request("wallet/updateaccount",A,"post").then(function(e){return rt(e,n)}).catch(function(e){return n(e)})}}},{key:"setAccountId",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.tronWeb.defaultAddress.hex,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Te.isFunction(t)&&(r=t,t=this.tronWeb.defaultAddress.hex),!r)return this.injectPromise(this.setAccountId,e,t);e&&Te.isString(e)&&e.startsWith("0x")&&(e=e.slice(2)),this.validator.notValid([{name:"accountId",type:"hex",value:e},{name:"accountId",type:"string",lte:32,gte:8,value:e},{name:"origin",type:"address",value:t}],r)||this.tronWeb.fullNode.request("wallet/setaccountid",{account_id:e,owner_address:et(t)},"post").then(function(e){return rt(e,r)}).catch(function(e){return r(e)})}},{key:"updateToken",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.tronWeb.defaultAddress.hex,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Te.isFunction(t)?(r=t,t=this.tronWeb.defaultAddress.hex):Te.isObject(t)&&(e=t,t=this.tronWeb.defaultAddress.hex),!r)return this.injectPromise(this.updateToken,e,t);var n=e,A=n.description,i=void 0!==A&&A,o=n.url,a=void 0!==o&&o,s=n.freeBandwidth,u=void 0===s?0:s,l=n.freeBandwidthLimit,c=void 0===l?0:l;if(!this.validator.notValid([{name:"token description",type:"not-empty-string",value:i},{name:"token url",type:"url",value:a},{name:"issuer",type:"address",value:t},{name:"Free bandwidth amount",type:"positive-integer",value:u},{name:"Free bandwidth limit",type:"positive-integer",value:c}],r)){var f={owner_address:et(t),description:tt(i),url:tt(a),new_limit:parseInt(u),new_public_limit:parseInt(c)};e&&e.permissionId&&(f.Permission_id=e.permissionId),this.tronWeb.fullNode.request("wallet/updateasset",f,"post").then(function(e){return rt(e,r)}).catch(function(e){return r(e)})}}},{key:"sendAsset",value:function(){return this.sendToken.apply(this,arguments)}},{key:"purchaseAsset",value:function(){return this.purchaseToken.apply(this,arguments)}},{key:"createAsset",value:function(){return this.createToken.apply(this,arguments)}},{key:"updateAsset",value:function(){return this.updateToken.apply(this,arguments)}},{key:"createProposal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.tronWeb.defaultAddress.hex,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Te.isFunction(r)&&(n=r,r={}),Te.isFunction(t)?(n=t,t=this.tronWeb.defaultAddress.hex):Te.isObject(t)&&(r=t,t=this.tronWeb.defaultAddress.hex),!n)return this.injectPromise(this.createProposal,e,t,r);if(!this.validator.notValid([{name:"issuer",type:"address",value:t}],n)){var A="Invalid proposal parameters provided";if(!e)return n(A);Te.isArray(e)||(e=[e]);var i=!0,o=!1,a=void 0;try{for(var s,u=e[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value;if(!Te.isObject(l))return n(A)}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}var c={owner_address:et(t),parameters:e};r&&r.permissionId&&(c.Permission_id=r.permissionId),this.tronWeb.fullNode.request("wallet/proposalcreate",c,"post").then(function(e){return rt(e,n)}).catch(function(e){return n(e)})}}},{key:"deleteProposal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.tronWeb.defaultAddress.hex,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Te.isFunction(r)&&(n=r,r={}),Te.isFunction(t)?(n=t,t=this.tronWeb.defaultAddress.hex):Te.isObject(t)&&(r=t,t=this.tronWeb.defaultAddress.hex),!n)return this.injectPromise(this.deleteProposal,e,t,r);if(!this.validator.notValid([{name:"issuer",type:"address",value:t},{name:"proposalID",type:"integer",value:e,gte:0}],n)){var A={owner_address:et(t),proposal_id:parseInt(e)};r&&r.permissionId&&(A.Permission_id=r.permissionId),this.tronWeb.fullNode.request("wallet/proposaldelete",A,"post").then(function(e){return rt(e,n)}).catch(function(e){return n(e)})}}},{key:"voteProposal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.tronWeb.defaultAddress.hex,n=arguments.length>3?arguments[3]:void 0,A=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(Te.isFunction(n)&&(A=n,n={}),Te.isFunction(r)?(A=r,r=this.tronWeb.defaultAddress.hex):Te.isObject(r)&&(n=r,r=this.tronWeb.defaultAddress.hex),!A)return this.injectPromise(this.voteProposal,e,t,r,n);if(!this.validator.notValid([{name:"voter",type:"address",value:r},{name:"proposalID",type:"integer",value:e,gte:0},{name:"has approval",type:"boolean",value:t}],A)){var i={owner_address:et(r),proposal_id:parseInt(e),is_add_approval:t};n&&n.permissionId&&(i.Permission_id=n.permissionId),this.tronWeb.fullNode.request("wallet/proposalapprove",i,"post").then(function(e){return rt(e,A)}).catch(function(e){return A(e)})}}},{key:"createTRXExchange",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.tronWeb.defaultAddress.hex,A=arguments.length>4?arguments[4]:void 0,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(Te.isFunction(A)&&(i=A,A={}),Te.isFunction(n)?(i=n,n=this.tronWeb.defaultAddress.hex):Te.isObject(n)&&(A=n,n=this.tronWeb.defaultAddress.hex),!i)return this.injectPromise(this.createTRXExchange,e,t,r,n,A);if(!this.validator.notValid([{name:"owner",type:"address",value:n},{name:"token name",type:"not-empty-string",value:e},{name:"token balance",type:"positive-integer",value:t},{name:"trx balance",type:"positive-integer",value:r}],i)){var o={owner_address:et(n),first_token_id:tt(e),first_token_balance:t,second_token_id:"5f",second_token_balance:r};A&&A.permissionId&&(o.Permission_id=A.permissionId),this.tronWeb.fullNode.request("wallet/exchangecreate",o,"post").then(function(e){i(null,e)}).catch(function(e){return i(e)})}}},{key:"createTokenExchange",value:function(e,t,r,n){var A=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.tronWeb.defaultAddress.hex,i=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(Te.isFunction(i)&&(o=i,i={}),Te.isFunction(A)?(o=A,A=this.tronWeb.defaultAddress.hex):Te.isObject(A)&&(i=A,A=this.tronWeb.defaultAddress.hex),!o)return this.injectPromise(this.createTokenExchange,e,t,r,n,A,i);if(!this.validator.notValid([{name:"owner",type:"address",value:A},{name:"first token name",type:"not-empty-string",value:e},{name:"second token name",type:"not-empty-string",value:r},{name:"first token balance",type:"positive-integer",value:t},{name:"second token balance",type:"positive-integer",value:n}],o)){var a={owner_address:et(A),first_token_id:tt(e),first_token_balance:t,second_token_id:tt(r),second_token_balance:n};i&&i.permissionId&&(a.Permission_id=i.permissionId),this.tronWeb.fullNode.request("wallet/exchangecreate",a,"post").then(function(e){o(null,e)}).catch(function(e){return o(e)})}}},{key:"injectExchangeTokens",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.tronWeb.defaultAddress.hex,A=arguments.length>4?arguments[4]:void 0,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(Te.isFunction(A)&&(i=A,A={}),Te.isFunction(n)?(i=n,n=this.tronWeb.defaultAddress.hex):Te.isObject(n)&&(A=n,n=this.tronWeb.defaultAddress.hex),!i)return this.injectPromise(this.injectExchangeTokens,e,t,r,n,A);if(!this.validator.notValid([{name:"owner",type:"address",value:n},{name:"token name",type:"not-empty-string",value:t},{name:"token amount",type:"integer",value:r,gte:1},{name:"exchangeID",type:"integer",value:e,gte:0}],i)){var o={owner_address:et(n),exchange_id:parseInt(e),token_id:tt(t),quant:parseInt(r)};A&&A.permissionId&&(o.Permission_id=A.permissionId),this.tronWeb.fullNode.request("wallet/exchangeinject",o,"post").then(function(e){return rt(e,i)}).catch(function(e){return i(e)})}}},{key:"withdrawExchangeTokens",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.tronWeb.defaultAddress.hex,A=arguments.length>4?arguments[4]:void 0,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(Te.isFunction(A)&&(i=A,A={}),Te.isFunction(n)?(i=n,n=this.tronWeb.defaultAddress.hex):Te.isObject(n)&&(A=n,n=this.tronWeb.defaultAddress.hex),!i)return this.injectPromise(this.withdrawExchangeTokens,e,t,r,n,A);if(!this.validator.notValid([{name:"owner",type:"address",value:n},{name:"token name",type:"not-empty-string",value:t},{name:"token amount",type:"integer",value:r,gte:1},{name:"exchangeID",type:"integer",value:e,gte:0}],i)){var o={owner_address:et(n),exchange_id:parseInt(e),token_id:tt(t),quant:parseInt(r)};A&&A.permissionId&&(o.Permission_id=A.permissionId),this.tronWeb.fullNode.request("wallet/exchangewithdraw",o,"post").then(function(e){return rt(e,i)}).catch(function(e){return i(e)})}}},{key:"tradeExchangeTokens",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,A=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.tronWeb.defaultAddress.hex,i=arguments.length>5?arguments[5]:void 0,o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(Te.isFunction(i)&&(o=i,i={}),Te.isFunction(A)?(o=A,A=this.tronWeb.defaultAddress.hex):Te.isObject(A)&&(i=A,A=this.tronWeb.defaultAddress.hex),!o)return this.injectPromise(this.tradeExchangeTokens,e,t,r,n,A,i);if(!this.validator.notValid([{name:"owner",type:"address",value:A},{name:"token name",type:"not-empty-string",value:t},{name:"tokenAmountSold",type:"integer",value:r,gte:1},{name:"tokenAmountExpected",type:"integer",value:n,gte:1},{name:"exchangeID",type:"integer",value:e,gte:0}],o)){var a={owner_address:et(A),exchange_id:parseInt(e),token_id:this.tronWeb.fromAscii(t),quant:parseInt(r),expected:parseInt(n)};i&&i.permissionId&&(a.Permission_id=i.permissionId),this.tronWeb.fullNode.request("wallet/exchangetransaction",a,"post").then(function(e){return rt(e,o)}).catch(function(e){return o(e)})}}},{key:"updateSetting",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.tronWeb.defaultAddress.hex,n=arguments.length>3?arguments[3]:void 0,A=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(Te.isFunction(n)&&(A=n,n={}),Te.isFunction(r)?(A=r,r=this.tronWeb.defaultAddress.hex):Te.isObject(r)&&(n=r,r=this.tronWeb.defaultAddress.hex),!A)return this.injectPromise(this.updateSetting,e,t,r,n);if(!this.validator.notValid([{name:"owner",type:"address",value:r},{name:"contract",type:"address",value:e},{name:"userFeePercentage",type:"integer",value:t,gte:0,lte:100}],A)){var i={owner_address:et(r),contract_address:et(e),consume_user_resource_percent:t};n&&n.permissionId&&(i.Permission_id=n.permissionId),this.tronWeb.fullNode.request("wallet/updatesetting",i,"post").then(function(e){return rt(e,A)}).catch(function(e){return A(e)})}}},{key:"updateEnergyLimit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.tronWeb.defaultAddress.hex,n=arguments.length>3?arguments[3]:void 0,A=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(Te.isFunction(n)&&(A=n,n={}),Te.isFunction(r)?(A=r,r=this.tronWeb.defaultAddress.hex):Te.isObject(r)&&(n=r,r=this.tronWeb.defaultAddress.hex),!A)return this.injectPromise(this.updateEnergyLimit,e,t,r,n);if(!this.validator.notValid([{name:"owner",type:"address",value:r},{name:"contract",type:"address",value:e},{name:"originEnergyLimit",type:"integer",value:t,gte:0,lte:1e7}],A)){var i={owner_address:et(r),contract_address:et(e),origin_energy_limit:t};n&&n.permissionId&&(i.Permission_id=n.permissionId),this.tronWeb.fullNode.request("wallet/updateenergylimit",i,"post").then(function(e){return rt(e,A)}).catch(function(e){return A(e)})}}},{key:"checkPermissions",value:function(e,t){if(e){if(e.type!==t||!e.permission_name||!Te.isString(e.permission_name)||!Te.isInteger(e.threshold)||e.threshold<1||!e.keys)return!1;var r=!0,n=!1,A=void 0;try{for(var i,o=e.keys[Symbol.iterator]();!(r=(i=o.next()).done);r=!0){var a=i.value;if(!this.tronWeb.isAddress(a.address)||!Te.isInteger(a.weight)||a.weight>e.threshold||a.weight<1||2===t&&!e.operations)return!1}}catch(e){n=!0,A=e}finally{try{r||null==o.return||o.return()}finally{if(n)throw A}}}return!0}},{key:"updateAccountPermissions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tronWeb.defaultAddress.hex,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],A=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(Te.isFunction(n)&&(A=n,n=!1),Te.isFunction(r)&&(A=r,r=n=!1),Te.isFunction(t)&&(A=t,t=r=n=!1),!A)return this.injectPromise(this.updateAccountPermissions,e,t,r,n);if(!this.tronWeb.isAddress(e))return A("Invalid ownerAddress provided");if(!this.checkPermissions(t,0))return A("Invalid ownerPermissions provided");if(!this.checkPermissions(r,1))return A("Invalid witnessPermissions provided");Array.isArray(n)||(n=[n]);var i=!0,o=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value;if(!this.checkPermissions(l,2))return A("Invalid activesPermissions provided")}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}var c={owner_address:e};t&&(c.owner=t),r&&(c.witness=r),n&&(c.actives=1===n.length?n[0]:n),this.tronWeb.fullNode.request("wallet/accountpermissionupdate",c,"post").then(function(e){return rt(e,A)}).catch(function(e){return A(e)})}},{key:"newTxID",value:(A=d()(c.a.mark(function e(t,r){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=2;break}return e.abrupt("return",this.injectPromise(this.newTxID,t));case 2:this.tronWeb.fullNode.request("wallet/getsignweight",t,"post").then(function(e){e=e.transaction.transaction,"boolean"==typeof t.visible&&(e.visible=t.visible),r(null,e)}).catch(function(e){return r("Error generating a new transaction id.")});case 3:case"end":return e.stop()}},e,this)})),function(e,t){return A.apply(this,arguments)})},{key:"alterTransaction",value:(n=d()(c.a.mark(function e(t){var r,n,A=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=A.length>1&&void 0!==A[1]?A[1]:{},n=A.length>2&&void 0!==A[2]&&A[2]){e.next=4;break}return e.abrupt("return",this.injectPromise(this.alterTransaction,t,r));case 4:if(!t.signature){e.next=6;break}return e.abrupt("return",n("You can not extend the expiration of a signed transaction."));case 6:if(!r.data){e.next=12;break}if("hex"!==r.dataFormat&&(r.data=this.tronWeb.toHex(r.data)),r.data=r.data.replace(/^0x/,""),0!==r.data.length){e.next=11;break}return e.abrupt("return",n("Invalid data provided"));case 11:t.raw_data.data=r.data;case 12:if(!r.extension){e.next=17;break}if(r.extension=parseInt(1e3*r.extension),!(isNaN(r.extension)||t.raw_data.expiration+r.extension<=Date.now()+3e3)){e.next=16;break}return e.abrupt("return",n("Invalid extension provided"));case 16:t.raw_data.expiration+=r.extension;case 17:this.newTxID(t,n);case 18:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)})},{key:"extendExpiration",value:(r=d()(c.a.mark(function e(t,r){var n,A=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=A.length>2&&void 0!==A[2]&&A[2]){e.next=3;break}return e.abrupt("return",this.injectPromise(this.extendExpiration,t,r));case 3:this.alterTransaction(t,{extension:r},n);case 4:case"end":return e.stop()}},e,this)})),function(e,t){return r.apply(this,arguments)})},{key:"addUpdateData",value:(t=d()(c.a.mark(function e(t,r){var n,A,i=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=i.length>2&&void 0!==i[2]?i[2]:"utf8",A=i.length>3&&void 0!==i[3]&&i[3],Te.isFunction(n)&&(A=n,n="utf8"),A){e.next=5;break}return e.abrupt("return",this.injectPromise(this.addUpdateData,t,r,n));case 5:this.alterTransaction(t,{data:r,dataFormat:n},A);case 6:case"end":return e.stop()}},e,this)})),function(e,r){return t.apply(this,arguments)})}]),e}();function At(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function it(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?At(r,!0).forEach(function(t){k()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):At(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var ot="Ethereum Signed Message:\n32",at=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(I()(this,e),!t||!t instanceof mt)throw new Error("Expected instance of TronWeb");this.tronWeb=t,this.injectPromise=Te.promiseInjector(this),this.cache={contracts:{}},this.validator=new $e(t)}var t,r,n,A,i,o,a,s,u,l,f;return C()(e,[{key:"_parseToken",value:function(e){return it({},e,{name:this.tronWeb.toUtf8(e.name),abbr:e.abbr&&this.tronWeb.toUtf8(e.abbr),description:e.description&&this.tronWeb.toUtf8(e.description),url:e.url&&this.tronWeb.toUtf8(e.url)})}},{key:"getCurrentBlock",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!e)return this.injectPromise(this.getCurrentBlock);this.tronWeb.fullNode.request("wallet/getnowblock").then(function(t){e(null,t)}).catch(function(t){return e(t)})}},{key:"getConfirmedCurrentBlock",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!e)return this.injectPromise(this.getConfirmedCurrentBlock);this.tronWeb.solidityNode.request("walletsolidity/getnowblock").then(function(t){e(null,t)}).catch(function(t){return e(t)})}},{key:"getBlock",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tronWeb.defaultBlock,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Te.isFunction(e)&&(t=e,e=this.tronWeb.defaultBlock),t?!1===e?t("No block identifier provided"):("earliest"==e&&(e=0),"latest"==e?this.getCurrentBlock(t):isNaN(e)&&Te.isHex(e)?this.getBlockByHash(e,t):void this.getBlockByNumber(e,t)):this.injectPromise(this.getBlock,e)}},{key:"getBlockByHash",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return this.injectPromise(this.getBlockByHash,e);this.tronWeb.fullNode.request("wallet/getblockbyid",{value:e},"post").then(function(e){if(!Object.keys(e).length)return t("Block not found");t(null,e)}).catch(function(e){return t(e)})}},{key:"getBlockByNumber",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?!Te.isInteger(e)||e<0?t("Invalid block number provided"):void this.tronWeb.fullNode.request("wallet/getblockbynum",{num:parseInt(e)},"post").then(function(e){if(!Object.keys(e).length)return t("Block not found");t(null,e)}).catch(function(e){return t(e)}):this.injectPromise(this.getBlockByNumber,e)}},{key:"getBlockTransactionCount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tronWeb.defaultBlock,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Te.isFunction(e)&&(t=e,e=this.tronWeb.defaultBlock),!t)return this.injectPromise(this.getBlockTransactionCount,e);this.getBlock(e).then(function(e){var r=e.transactions;t(null,(void 0===r?[]:r).length)}).catch(function(e){return t(e)})}},{key:"getTransactionFromBlock",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tronWeb.defaultBlock,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Te.isFunction(t)&&(r=t,t=0),Te.isFunction(e)&&(r=e,e=this.tronWeb.defaultBlock),!r)return this.injectPromise(this.getTransactionFromBlock,e,t);this.getBlock(e).then(function(e){var n=e.transactions,A=void 0!==n&&n;A?"number"==typeof t?t>=0&&t<A.length?r(null,A[t]):r("Invalid transaction index provided"):r(null,A):r("Transaction not found in block")}).catch(function(e){return r(e)})}},{key:"getTransaction",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return this.injectPromise(this.getTransaction,e);this.tronWeb.fullNode.request("wallet/gettransactionbyid",{value:e},"post").then(function(e){if(!Object.keys(e).length)return t("Transaction not found");t(null,e)}).catch(function(e){return t(e)})}},{key:"getConfirmedTransaction",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return this.injectPromise(this.getConfirmedTransaction,e);this.tronWeb.solidityNode.request("walletsolidity/gettransactionbyid",{value:e},"post").then(function(e){if(!Object.keys(e).length)return t("Transaction not found");t(null,e)}).catch(function(e){return t(e)})}},{key:"getUnconfirmedTransactionInfo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._getTransactionInfoById(e,{confirmed:!1},t)}},{key:"getTransactionInfo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._getTransactionInfoById(e,{confirmed:!0},t)}},{key:"_getTransactionInfoById",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!r)return this.injectPromise(this._getTransactionInfoById,e,t);this.tronWeb[t.confirmed?"solidityNode":"fullNode"].request("wallet".concat(t.confirmed?"solidity":"","/gettransactioninfobyid"),{value:e},"post").then(function(e){r(null,e)}).catch(function(e){return r(e)})}},{key:"getTransactionsToAddress",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tronWeb.defaultAddress.hex,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Te.isFunction(r)&&(n=r,r=0),Te.isFunction(t)&&(n=t,t=30),n?(e=this.tronWeb.address.toHex(e),this.getTransactionsRelated(e,"to",t,r,n)):this.injectPromise(this.getTransactionsToAddress,e,t,r)}},{key:"getTransactionsFromAddress",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tronWeb.defaultAddress.hex,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Te.isFunction(r)&&(n=r,r=0),Te.isFunction(t)&&(n=t,t=30),n?(e=this.tronWeb.address.toHex(e),this.getTransactionsRelated(e,"from",t,r,n)):this.injectPromise(this.getTransactionsFromAddress,e,t,r)}},{key:"getTransactionsRelated",value:(f=d()(c.a.mark(function e(){var t,r,n,A,i,o,a,s,u,l=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=l.length>0&&void 0!==l[0]?l[0]:this.tronWeb.defaultAddress.hex,r=l.length>1&&void 0!==l[1]?l[1]:"all",n=l.length>2&&void 0!==l[2]?l[2]:30,A=l.length>3&&void 0!==l[3]?l[3]:0,i=l.length>4&&void 0!==l[4]&&l[4],Te.isFunction(A)&&(i=A,A=0),Te.isFunction(n)&&(i=n,n=30),Te.isFunction(r)&&(i=r,r="all"),Te.isFunction(t)&&(i=t,t=this.tronWeb.defaultAddress.hex),i){e.next=11;break}return e.abrupt("return",this.injectPromise(this.getTransactionsRelated,t,r,n,A));case 11:if(["to","from","all"].includes(r)){e.next=13;break}return e.abrupt("return",i('Invalid direction provided: Expected "to", "from" or "all"'));case 13:if("all"!=r){e.next=27;break}return e.prev=14,e.next=17,Promise.all([this.getTransactionsRelated(t,"from",n,A),this.getTransactionsRelated(t,"to",n,A)]);case 17:return o=e.sent,a=Xe()(o,2),s=a[0],u=a[1],e.abrupt("return",i(null,[].concat(O()(s.map(function(e){return e.direction="from",e})),O()(u.map(function(e){return e.direction="to",e}))).sort(function(e,t){return t.raw_data.timestamp-e.raw_data.timestamp})));case 24:return e.prev=24,e.t0=e.catch(14),e.abrupt("return",i(e.t0));case 27:if(this.tronWeb.isAddress(t)){e.next=29;break}return e.abrupt("return",i("Invalid address provided"));case 29:if(!(!Te.isInteger(n)||n<0||A&&n<1)){e.next=31;break}return e.abrupt("return",i("Invalid limit provided"));case 31:if(Te.isInteger(A)&&!(A<0)){e.next=33;break}return e.abrupt("return",i("Invalid offset provided"));case 33:t=this.tronWeb.address.toHex(t),this.tronWeb.solidityNode.request("walletextension/gettransactions".concat(r,"this"),{account:{address:t},offset:A,limit:n},"post").then(function(e){var t=e.transaction;i(null,t)}).catch(function(e){return i(e)});case 35:case"end":return e.stop()}},e,this,[[14,24]])})),function(){return f.apply(this,arguments)})},{key:"getAccount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tronWeb.defaultAddress.hex,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Te.isFunction(e)&&(t=e,e=this.tronWeb.defaultAddress.hex),t?this.tronWeb.isAddress(e)?(e=this.tronWeb.address.toHex(e),void this.tronWeb.solidityNode.request("walletsolidity/getaccount",{address:e},"post").then(function(e){t(null,e)}).catch(function(e){return t(e)})):t("Invalid address provided"):this.injectPromise(this.getAccount,e)}},{key:"getAccountById",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return this.injectPromise(this.getAccountById,e);this.getAccountInfoById(e,{confirmed:!0},t)}},{key:"getAccountInfoById",value:function(e,t,r){this.validator.notValid([{name:"accountId",type:"hex",value:e},{name:"accountId",type:"string",lte:32,gte:8,value:e}],r)||(e.startsWith("0x")&&(e=e.slice(2)),this.tronWeb[t.confirmed?"solidityNode":"fullNode"].request("wallet".concat(t.confirmed?"solidity":"","/getaccountbyid"),{account_id:e},"post").then(function(e){r(null,e)}).catch(function(e){return r(e)}))}},{key:"getBalance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tronWeb.defaultAddress.hex,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Te.isFunction(e)&&(t=e,e=this.tronWeb.defaultAddress.hex),!t)return this.injectPromise(this.getBalance,e);this.getAccount(e).then(function(e){var r=e.balance;t(null,void 0===r?0:r)}).catch(function(e){return t(e)})}},{key:"getUnconfirmedAccount",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tronWeb.defaultAddress.hex,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Te.isFunction(e)&&(t=e,e=this.tronWeb.defaultAddress.hex),t?this.tronWeb.isAddress(e)?(e=this.tronWeb.address.toHex(e),void this.tronWeb.fullNode.request("wallet/getaccount",{address:e},"post").then(function(e){t(null,e)}).catch(function(e){return t(e)})):t("Invalid address provided"):this.injectPromise(this.getUnconfirmedAccount,e)}},{key:"getUnconfirmedAccountById",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return this.injectPromise(this.getUnconfirmedAccountById,e);this.getAccountInfoById(e,{confirmed:!1},t)}},{key:"getUnconfirmedBalance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tronWeb.defaultAddress.hex,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Te.isFunction(e)&&(t=e,e=this.tronWeb.defaultAddress.hex),!t)return this.injectPromise(this.getUnconfirmedBalance,e);this.getUnconfirmedAccount(e).then(function(e){var r=e.balance;t(null,void 0===r?0:r)}).catch(function(e){return t(e)})}},{key:"getBandwidth",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tronWeb.defaultAddress.hex,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Te.isFunction(e)&&(t=e,e=this.tronWeb.defaultAddress.hex),t?this.tronWeb.isAddress(e)?(e=this.tronWeb.address.toHex(e),void this.tronWeb.fullNode.request("wallet/getaccountnet",{address:e},"post").then(function(e){var r=e.freeNetUsed,n=void 0===r?0:r,A=e.freeNetLimit,i=void 0===A?0:A,o=e.NetUsed,a=void 0===o?0:o,s=e.NetLimit;t(null,i-n+((void 0===s?0:s)-a))}).catch(function(e){return t(e)})):t("Invalid address provided"):this.injectPromise(this.getBandwidth,e)}},{key:"getTokensIssuedByAddress",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tronWeb.defaultAddress.hex,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Te.isFunction(t)&&(r=t,t=this.tronWeb.defaultAddress.hex),r?this.tronWeb.isAddress(t)?(t=this.tronWeb.address.toHex(t),void this.tronWeb.fullNode.request("wallet/getassetissuebyaccount",{address:t},"post").then(function(t){var n=t.assetIssue,A=void 0!==n&&n;if(!A)return r(null,{});var i=A.map(function(t){return e._parseToken(t)}).reduce(function(e,t){return e[t.name]=t,e},{});r(null,i)}).catch(function(e){return r(e)})):r("Invalid address provided"):this.injectPromise(this.getTokensIssuedByAddress,t)}},{key:"getTokenFromID",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r?(Te.isInteger(t)&&(t=t.toString()),Te.isString(t)&&t.length?void this.tronWeb.fullNode.request("wallet/getassetissuebyname",{value:this.tronWeb.fromUtf8(t)},"post").then(function(t){if(!t.name)return r("Token does not exist");r(null,e._parseToken(t))}).catch(function(e){return r(e)}):r("Invalid token ID provided")):this.injectPromise(this.getTokenFromID,t)}},{key:"listNodes",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!t)return this.injectPromise(this.listNodes);this.tronWeb.fullNode.request("wallet/listnodes").then(function(r){var n=r.nodes;t(null,(void 0===n?[]:n).map(function(t){var r=t.address,n=r.host,A=r.port;return"".concat(e.tronWeb.toUtf8(n),":").concat(A)}))}).catch(function(e){return t(e)})}},{key:"getBlockRange",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Te.isFunction(t)&&(r=t,t=30),Te.isFunction(e)&&(r=e,e=0),r?!Te.isInteger(e)||e<0?r("Invalid start of range provided"):!Te.isInteger(t)||t<=e?r("Invalid end of range provided"):void this.tronWeb.fullNode.request("wallet/getblockbylimitnext",{startNum:parseInt(e),endNum:parseInt(t)+1},"post").then(function(e){var t=e.block;r(null,void 0===t?[]:t)}).catch(function(e){return r(e)}):this.injectPromise(this.getBlockRange,e,t)}},{key:"listSuperRepresentatives",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!e)return this.injectPromise(this.listSuperRepresentatives);this.tronWeb.fullNode.request("wallet/listwitnesses").then(function(t){var r=t.witnesses;e(null,void 0===r?[]:r)}).catch(function(t){return e(t)})}},{key:"listTokens",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Te.isFunction(r)&&(n=r,r=0),Te.isFunction(t)&&(n=t,t=0),n?!Te.isInteger(t)||t<0||r&&t<1?n("Invalid limit provided"):!Te.isInteger(r)||r<0?n("Invalid offset provided"):t?void this.tronWeb.fullNode.request("wallet/getpaginatedassetissuelist",{offset:parseInt(r),limit:parseInt(t)},"post").then(function(t){var r=t.assetIssue;n(null,(void 0===r?[]:r).map(function(t){return e._parseToken(t)}))}).catch(function(e){return n(e)}):this.tronWeb.fullNode.request("wallet/getassetissuelist").then(function(t){var r=t.assetIssue;n(null,(void 0===r?[]:r).map(function(t){return e._parseToken(t)}))}).catch(function(e){return n(e)}):this.injectPromise(this.listTokens,t,r)}},{key:"timeUntilNextVoteCycle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!e)return this.injectPromise(this.timeUntilNextVoteCycle);this.tronWeb.fullNode.request("wallet/getnextmaintenancetime").then(function(t){var r=t.num,n=void 0===r?-1:r;if(-1==n)return e("Failed to get time until next vote cycle");e(null,Math.floor(n/1e3))}).catch(function(t){return e(t)})}},{key:"getContract",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r?this.tronWeb.isAddress(e)?void(this.cache.contracts[e]?r(null,this.cache.contracts[e]):(e=this.tronWeb.address.toHex(e),this.tronWeb.fullNode.request("wallet/getcontract",{value:e}).then(function(n){if(n.Error)return r("Contract does not exist");t.cache.contracts[e]=n,r(null,n)}).catch(function(e){return r(e)}))):r("Invalid contract address provided"):this.injectPromise(this.getContract,e)}},{key:"verifyMessage",value:(l=d()(c.a.mark(function t(){var r,n,A,i,o,a=arguments;return c.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=a.length>0&&void 0!==a[0]&&a[0],n=a.length>1&&void 0!==a[1]&&a[1],A=a.length>2&&void 0!==a[2]?a[2]:this.tronWeb.defaultAddress.base58,i=!(a.length>3&&void 0!==a[3])||a[3],o=a.length>4&&void 0!==a[4]&&a[4],Te.isFunction(A)&&(o=A,A=this.tronWeb.defaultAddress.base58,i=!0),Te.isFunction(i)&&(o=i,i=!0),o){t.next=9;break}return t.abrupt("return",this.injectPromise(this.verifyMessage,r,n,A,i));case 9:if(Te.isHex(r)){t.next=11;break}return t.abrupt("return",o("Expected hex message input"));case 11:if(!e.verifySignature(r,A,n,i)){t.next=13;break}return t.abrupt("return",o(null,!0));case 13:o("Signature does not match");case 14:case"end":return t.stop()}},t,this)})),function(){return l.apply(this,arguments)})},{key:"sign",value:(u=d()(c.a.mark(function t(){var r,n,A,i,o,a,s=arguments;return c.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=s.length>0&&void 0!==s[0]&&s[0],n=s.length>1&&void 0!==s[1]?s[1]:this.tronWeb.defaultPrivateKey,A=!(s.length>2&&void 0!==s[2])||s[2],i=s.length>3&&void 0!==s[3]&&s[3],o=s.length>4&&void 0!==s[4]&&s[4],Te.isFunction(i)&&(o=i,i=!1),Te.isFunction(A)&&(o=A,A=!0,i=!1),Te.isFunction(n)&&(o=n,n=this.tronWeb.defaultPrivateKey,A=!0,i=!1),o){t.next=10;break}return t.abrupt("return",this.injectPromise(this.sign,r,n,A,i));case 10:if(!Te.isString(r)){t.next=21;break}if(Te.isHex(r)){t.next=13;break}return t.abrupt("return",o("Expected hex message input"));case 13:return t.prev=13,a=e.signString(r,n,A),t.abrupt("return",o(null,a));case 18:t.prev=18,t.t0=t.catch(13),o(t.t0);case 21:if(Te.isObject(r)){t.next=23;break}return t.abrupt("return",o("Invalid transaction provided"));case 23:if(i||!r.signature){t.next=25;break}return t.abrupt("return",o("Transaction is already signed"));case 25:if(t.prev=25,i){t.next=30;break}if(this.tronWeb.address.toHex(this.tronWeb.address.fromPrivateKey(n)).toLowerCase()===r.raw_data.contract[0].parameter.value.owner_address.toLowerCase()){t.next=30;break}return t.abrupt("return",o("Private key does not match address in transaction"));case 30:return t.abrupt("return",o(null,Te.crypto.signTransaction(n,r)));case 33:t.prev=33,t.t1=t.catch(25),o(t.t1);case 36:case"end":return t.stop()}},t,this,[[13,18],[25,33]])})),function(){return u.apply(this,arguments)})},{key:"multiSign",value:(s=d()(c.a.mark(function e(){var t,r,n,A,i,o,a,s=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=s.length>0&&void 0!==s[0]&&s[0],r=s.length>1&&void 0!==s[1]?s[1]:this.tronWeb.defaultPrivateKey,n=s.length>2&&void 0!==s[2]&&s[2],A=s.length>3&&void 0!==s[3]&&s[3],Te.isFunction(n)&&(A=n,n=0),Te.isFunction(r)&&(A=r,r=this.tronWeb.defaultPrivateKey,n=0),A){e.next=8;break}return e.abrupt("return",this.injectPromise(this.multiSign,t,r,n));case 8:if(Te.isObject(t)&&t.raw_data&&t.raw_data.contract){e.next=10;break}return e.abrupt("return",A("Invalid transaction provided"));case 10:if(t.raw_data.contract[0].Permission_id||!(n>0)){e.next=30;break}return t.raw_data.contract[0].Permission_id=n,i=this.tronWeb.address.toHex(this.tronWeb.address.fromPrivateKey(r)).toLowerCase(),e.next=15,this.getSignWeight(t,n);case 15:if("PERMISSION_ERROR"!==(o=e.sent).result.code){e.next=18;break}return e.abrupt("return",A(o.result.message));case 18:if(a=!1,o.permission.keys.map(function(e){e.address===i&&(a=!0)}),a){e.next=22;break}return e.abrupt("return",A(r+" has no permission to sign"));case 22:if(!o.approved_list||-1==o.approved_list.indexOf(i)){e.next=24;break}return e.abrupt("return",A(r+" already sign transaction"));case 24:if(!o.transaction||!o.transaction.transaction){e.next=29;break}t=o.transaction.transaction,n>0&&(t.raw_data.contract[0].Permission_id=n),e.next=30;break;case 29:return e.abrupt("return",A("Invalid transaction provided"));case 30:return e.prev=30,e.abrupt("return",A(null,Te.crypto.signTransaction(r,t)));case 34:e.prev=34,e.t0=e.catch(30),A(e.t0);case 37:case"end":return e.stop()}},e,this,[[30,34]])})),function(){return s.apply(this,arguments)})},{key:"getApprovedList",value:(a=d()(c.a.mark(function e(t){var r,n=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.length>1&&void 0!==n[1]&&n[1]){e.next=3;break}return e.abrupt("return",this.injectPromise(this.getApprovedList,t));case 3:if(Te.isObject(t)){e.next=5;break}return e.abrupt("return",r("Invalid transaction provided"));case 5:this.tronWeb.fullNode.request("wallet/getapprovedlist",t,"post").then(function(e){r(null,e)}).catch(function(e){return r(e)});case 6:case"end":return e.stop()}},e,this)})),function(e){return a.apply(this,arguments)})},{key:"getSignWeight",value:(o=d()(c.a.mark(function e(t,r){var n,A=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=A.length>2&&void 0!==A[2]&&A[2],Te.isFunction(r)&&(n=r,r=void 0),n){e.next=4;break}return e.abrupt("return",this.injectPromise(this.getSignWeight,t,r));case 4:if(Te.isObject(t)&&t.raw_data&&t.raw_data.contract){e.next=6;break}return e.abrupt("return",n("Invalid transaction provided"));case 6:if(Te.isInteger(r)?t.raw_data.contract[0].Permission_id=parseInt(r):"number"!=typeof t.raw_data.contract[0].Permission_id&&(t.raw_data.contract[0].Permission_id=0),Te.isObject(t)){e.next=9;break}return e.abrupt("return",n("Invalid transaction provided"));case 9:this.tronWeb.fullNode.request("wallet/getsignweight",t,"post").then(function(e){n(null,e)}).catch(function(e){return n(e)});case 10:case"end":return e.stop()}},e,this)})),function(e,t){return o.apply(this,arguments)})},{key:"sendRawTransaction",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Te.isFunction(t)&&(r=t,t={}),r?Te.isObject(e)?Te.isObject(t)?e.signature&&Te.isArray(e.signature)?void this.tronWeb.fullNode.request("wallet/broadcasttransaction",e,"post").then(function(t){t.result&&(t.transaction=e),r(null,t)}).catch(function(e){return r(e)}):r("Transaction is not signed"):r("Invalid options provided"):r("Invalid transaction provided"):this.injectPromise(this.sendRawTransaction,e,t)}},{key:"sendTransaction",value:(i=d()(c.a.mark(function e(){var t,r,n,A,i,o,a,s,u=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=u.length>0&&void 0!==u[0]&&u[0],r=u.length>1&&void 0!==u[1]&&u[1],n=u.length>2&&void 0!==u[2]?u[2]:{},A=u.length>3&&void 0!==u[3]&&u[3],Te.isFunction(n)&&(A=n,n={}),"string"==typeof n&&(n={privateKey:n}),A){e.next=8;break}return e.abrupt("return",this.injectPromise(this.sendTransaction,t,r,n));case 8:if(this.tronWeb.isAddress(t)){e.next=10;break}return e.abrupt("return",A("Invalid recipient provided"));case 10:if(Te.isInteger(r)&&!(r<=0)){e.next=12;break}return e.abrupt("return",A("Invalid amount provided"));case 12:if((n=it({privateKey:this.tronWeb.defaultPrivateKey,address:this.tronWeb.defaultAddress.hex},n)).privateKey||n.address){e.next=15;break}return e.abrupt("return",A("Function requires either a private key or address to be set"));case 15:return e.prev=15,i=n.privateKey?this.tronWeb.address.fromPrivateKey(n.privateKey):n.address,e.next=19,this.tronWeb.transactionBuilder.sendTrx(t,r,i);case 19:return o=e.sent,e.next=22,this.sign(o,n.privateKey||void 0);case 22:return a=e.sent,e.next=25,this.sendRawTransaction(a);case 25:return s=e.sent,e.abrupt("return",A(null,s));case 29:return e.prev=29,e.t0=e.catch(15),e.abrupt("return",A(e.t0));case 32:case"end":return e.stop()}},e,this,[[15,29]])})),function(){return i.apply(this,arguments)})},{key:"sendToken",value:(A=d()(c.a.mark(function e(){var t,r,n,A,i,o,a,s,u,l=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=l.length>0&&void 0!==l[0]&&l[0],r=l.length>1&&void 0!==l[1]&&l[1],n=l.length>2&&void 0!==l[2]&&l[2],A=l.length>3&&void 0!==l[3]?l[3]:{},i=l.length>4&&void 0!==l[4]&&l[4],Te.isFunction(A)&&(i=A,A={}),"string"==typeof A&&(A={privateKey:A}),i){e.next=9;break}return e.abrupt("return",this.injectPromise(this.sendToken,t,r,n,A));case 9:if(this.tronWeb.isAddress(t)){e.next=11;break}return e.abrupt("return",i("Invalid recipient provided"));case 11:if(Te.isInteger(r)&&!(r<=0)){e.next=13;break}return e.abrupt("return",i("Invalid amount provided"));case 13:if(Te.isInteger(n)&&(n=n.toString()),Te.isString(n)){e.next=16;break}return e.abrupt("return",i("Invalid token ID provided"));case 16:if((A=it({privateKey:this.tronWeb.defaultPrivateKey,address:this.tronWeb.defaultAddress.hex},A)).privateKey||A.address){e.next=19;break}return e.abrupt("return",i("Function requires either a private key or address to be set"));case 19:return e.prev=19,o=A.privateKey?this.tronWeb.address.fromPrivateKey(A.privateKey):A.address,e.next=23,this.tronWeb.transactionBuilder.sendToken(t,r,n,o);case 23:return a=e.sent,e.next=26,this.sign(a,A.privateKey||void 0);case 26:return s=e.sent,e.next=29,this.sendRawTransaction(s);case 29:return u=e.sent,e.abrupt("return",i(null,u));case 33:return e.prev=33,e.t0=e.catch(19),e.abrupt("return",i(e.t0));case 36:case"end":return e.stop()}},e,this,[[19,33]])})),function(){return A.apply(this,arguments)})},{key:"freezeBalance",value:(n=d()(c.a.mark(function e(){var t,r,n,A,i,o,a,s,u,l,f=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=f.length>0&&void 0!==f[0]?f[0]:0,r=f.length>1&&void 0!==f[1]?f[1]:3,n=f.length>2&&void 0!==f[2]?f[2]:"BANDWIDTH",A=f.length>3&&void 0!==f[3]?f[3]:{},i=f.length>4&&void 0!==f[4]?f[4]:void 0,o=f.length>5&&void 0!==f[5]&&f[5],Te.isFunction(i)&&(o=i,i=void 0),Te.isFunction(r)&&(o=r,r=3),Te.isFunction(n)&&(o=n,n="BANDWIDTH"),Te.isFunction(A)&&(o=A,A={}),"string"==typeof A&&(A={privateKey:A}),o){e.next=13;break}return e.abrupt("return",this.injectPromise(this.freezeBalance,t,r,n,A,i));case 13:if(["BANDWIDTH","ENERGY"].includes(n)){e.next=15;break}return e.abrupt("return",o('Invalid resource provided: Expected "BANDWIDTH" or "ENERGY"'));case 15:if(Te.isInteger(t)&&!(t<=0)){e.next=17;break}return e.abrupt("return",o("Invalid amount provided"));case 17:if(Te.isInteger(r)&&!(r<3)){e.next=19;break}return e.abrupt("return",o("Invalid duration provided, minimum of 3 days"));case 19:if((A=it({privateKey:this.tronWeb.defaultPrivateKey,address:this.tronWeb.defaultAddress.hex},A)).privateKey||A.address){e.next=22;break}return e.abrupt("return",o("Function requires either a private key or address to be set"));case 22:return e.prev=22,a=A.privateKey?this.tronWeb.address.fromPrivateKey(A.privateKey):A.address,e.next=26,this.tronWeb.transactionBuilder.freezeBalance(t,r,n,a,i);case 26:return s=e.sent,e.next=29,this.sign(s,A.privateKey||void 0);case 29:return u=e.sent,e.next=32,this.sendRawTransaction(u);case 32:return l=e.sent,e.abrupt("return",o(null,l));case 36:return e.prev=36,e.t0=e.catch(22),e.abrupt("return",o(e.t0));case 39:case"end":return e.stop()}},e,this,[[22,36]])})),function(){return n.apply(this,arguments)})},{key:"unfreezeBalance",value:(r=d()(c.a.mark(function e(){var t,r,n,A,i,o,a,s,u=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=u.length>0&&void 0!==u[0]?u[0]:"BANDWIDTH",r=u.length>1&&void 0!==u[1]?u[1]:{},n=u.length>2&&void 0!==u[2]?u[2]:void 0,A=u.length>3&&void 0!==u[3]&&u[3],Te.isFunction(n)&&(A=n,n=void 0),Te.isFunction(t)&&(A=t,t="BANDWIDTH"),Te.isFunction(r)&&(A=r,r={}),"string"==typeof r&&(r={privateKey:r}),A){e.next=10;break}return e.abrupt("return",this.injectPromise(this.unfreezeBalance,t,r,n));case 10:if(["BANDWIDTH","ENERGY"].includes(t)){e.next=12;break}return e.abrupt("return",A('Invalid resource provided: Expected "BANDWIDTH" or "ENERGY"'));case 12:if((r=it({privateKey:this.tronWeb.defaultPrivateKey,address:this.tronWeb.defaultAddress.hex},r)).privateKey||r.address){e.next=15;break}return e.abrupt("return",A("Function requires either a private key or address to be set"));case 15:return e.prev=15,i=r.privateKey?this.tronWeb.address.fromPrivateKey(r.privateKey):r.address,e.next=19,this.tronWeb.transactionBuilder.unfreezeBalance(t,i,n);case 19:return o=e.sent,e.next=22,this.sign(o,r.privateKey||void 0);case 22:return a=e.sent,e.next=25,this.sendRawTransaction(a);case 25:return s=e.sent,e.abrupt("return",A(null,s));case 29:return e.prev=29,e.t0=e.catch(15),e.abrupt("return",A(e.t0));case 32:case"end":return e.stop()}},e,this,[[15,29]])})),function(){return r.apply(this,arguments)})},{key:"updateAccount",value:(t=d()(c.a.mark(function e(){var t,r,n,A,i,o,a,s=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=s.length>0&&void 0!==s[0]&&s[0],r=s.length>1&&void 0!==s[1]?s[1]:{},n=s.length>2&&void 0!==s[2]&&s[2],Te.isFunction(r)&&(n=r,r={}),"string"==typeof r&&(r={privateKey:r}),n){e.next=7;break}return e.abrupt("return",this.injectPromise(this.updateAccount,t,r));case 7:if(Te.isString(t)&&t.length){e.next=9;break}return e.abrupt("return",n("Name must be a string"));case 9:if((r=it({privateKey:this.tronWeb.defaultPrivateKey,address:this.tronWeb.defaultAddress.hex},r)).privateKey||r.address){e.next=12;break}return e.abrupt("return",n("Function requires either a private key or address to be set"));case 12:return e.prev=12,A=r.privateKey?this.tronWeb.address.fromPrivateKey(r.privateKey):r.address,e.next=16,this.tronWeb.transactionBuilder.updateAccount(t,A);case 16:return i=e.sent,e.next=19,this.sign(i,r.privateKey||void 0);case 19:return o=e.sent,e.next=22,this.sendRawTransaction(o);case 22:return a=e.sent,e.abrupt("return",n(null,a));case 26:return e.prev=26,e.t0=e.catch(12),e.abrupt("return",n(e.t0));case 29:case"end":return e.stop()}},e,this,[[12,26]])})),function(){return t.apply(this,arguments)})},{key:"signMessage",value:function(){return this.sign.apply(this,arguments)}},{key:"sendAsset",value:function(){return this.sendToken.apply(this,arguments)}},{key:"send",value:function(){return this.sendTransaction.apply(this,arguments)}},{key:"sendTrx",value:function(){return this.sendTransaction.apply(this,arguments)}},{key:"broadcast",value:function(){return this.sendRawTransaction.apply(this,arguments)}},{key:"signTransaction",value:function(){return this.sign.apply(this,arguments)}},{key:"getProposal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?!Te.isInteger(e)||e<0?t("Invalid proposalID provided"):void this.tronWeb.fullNode.request("wallet/getproposalbyid",{id:parseInt(e)},"post").then(function(e){t(null,e)}).catch(function(e){return t(e)}):this.injectPromise(this.getProposal,e)}},{key:"listProposals",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!e)return this.injectPromise(this.listProposals);this.tronWeb.fullNode.request("wallet/listproposals",{},"post").then(function(t){var r=t.proposals;e(null,void 0===r?[]:r)}).catch(function(t){return e(t)})}},{key:"getChainParameters",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!e)return this.injectPromise(this.getChainParameters);this.tronWeb.fullNode.request("wallet/getchainparameters",{},"post").then(function(t){var r=t.chainParameter;e(null,void 0===r?[]:r)}).catch(function(t){return e(t)})}},{key:"getAccountResources",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tronWeb.defaultAddress.hex,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?this.tronWeb.isAddress(e)?void this.tronWeb.fullNode.request("wallet/getaccountresource",{address:this.tronWeb.address.toHex(e)},"post").then(function(e){t(null,e)}).catch(function(e){return t(e)}):t("Invalid address provided"):this.injectPromise(this.getAccountResources,e)}},{key:"getExchangeByID",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?!Te.isInteger(e)||e<0?t("Invalid exchangeID provided"):void this.tronWeb.fullNode.request("wallet/getexchangebyid",{id:e},"post").then(function(e){t(null,e)}).catch(function(e){return t(e)}):this.injectPromise(this.getExchangeByID,e)}},{key:"listExchanges",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!e)return this.injectPromise(this.listExchanges);this.tronWeb.fullNode.request("wallet/listexchanges",{},"post").then(function(t){var r=t.exchanges;e(null,void 0===r?[]:r)},"post").catch(function(t){return e(t)})}},{key:"listExchangesPaginated",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Te.isFunction(t)&&(r=t,t=0),Te.isFunction(e)&&(r=e,e=30),!r)return this.injectPromise(this.listExchanges);this.tronWeb.fullNode.request("wallet/listexchangespaginated",{limit:e,offset:t},"post").then(function(e){var t=e.exchanges;r(null,void 0===t?[]:t)}).catch(function(e){return r(e)})}},{key:"getNodeInfo",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!e)return this.injectPromise(this.getNodeInfo);this.tronWeb.fullNode.request("wallet/getnodeinfo",{},"post").then(function(t){e(null,t)},"post").catch(function(t){return e(t)})}},{key:"getTokenListByName",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r?(Te.isInteger(t)&&(t=t.toString()),Te.isString(t)&&t.length?void this.tronWeb.fullNode.request("wallet/getassetissuelistbyname",{value:this.tronWeb.fromUtf8(t)},"post").then(function(t){if(!t.name)return r("Token does not exist");r(null,e._parseToken(t))}).catch(function(e){return r(e)}):r("Invalid token ID provided")):this.injectPromise(this.getTokenListByName,t)}},{key:"getTokenByID",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r?(Te.isInteger(t)&&(t=t.toString()),Te.isString(t)&&t.length?void this.tronWeb.fullNode.request("wallet/getassetissuebyid",{value:t},"post").then(function(t){if(!t.name)return r("Token does not exist");r(null,e._parseToken(t))}).catch(function(e){return r(e)}):r("Invalid token ID provided")):this.injectPromise(this.getTokenByID,t)}}],[{key:"verifySignature",value:function(e,t,r){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];e=e.replace(/^0x/,""),r=r.replace(/^0x/,"");var A=[].concat(O()(le(n?"TRON Signed Message:\n32":ot)),O()(Te.code.hexStr2byteArray(e))),i=se(A),o=ce(i,{recoveryParam:"1c"==r.substring(128,130)?1:0,r:"0x"+r.substring(0,64),s:"0x"+r.substring(64,128)}),a=P+o.substr(2),s=mt.address.fromHex(a);return s==mt.address.fromHex(t)}},{key:"signString",value:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];e=e.replace(/^0x/,"");var n=new fe(t),A=[].concat(O()(le(r?"TRON Signed Message:\n32":ot)),O()(Te.code.hexStr2byteArray(e))),i=se(A),o=n.signDigest(i),a=["0x",o.r.substring(2),o.s.substring(2),Number(o.v).toString(16)].join("");return a}}]),e}();function st(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?st(r,!0).forEach(function(t){k()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):st(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var lt=function(e){return e.name+"("+ct(e.inputs||[]).join(",")+")"},ct=function(e){return e.map(function(e){return e.type})},ft=function(e,t){var r=e.map(function(e){return e.name}).filter(function(e){return!!e}),n=e.map(function(e){return e.type});return Te.abi.decodeParams(r,n,t)},dt=function(){function e(t,r){I()(this,e),this.tronWeb=t.tronWeb,this.contract=t,this.abi=r,this.name=r.name||(r.name=r.type),this.inputs=r.inputs||[],this.outputs=r.outputs||[],this.functionSelector=lt(r),this.signature=this.tronWeb.sha3(this.functionSelector,!1).slice(0,8),this.injectPromise=Te.promiseInjector(this),this.defaultOptions={feeLimit:1e9,callValue:0,userFeePercentage:100,shouldPollResponse:!1}}var t,r,n;return C()(e,[{key:"decodeInput",value:function(e){return ft(this.inputs,"0x"+e)}},{key:"onMethod",value:function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var A=ct(this.inputs);return r.forEach(function(t,n){"address"==A[n]&&(r[n]=e.tronWeb.address.toHex(t).replace(T,"0x")),"address[]"==A[n]&&(r[n]=r[n].map(function(t){return e.tronWeb.address.toHex(t).replace(T,"0x")}))}),{call:function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e._call.apply(e,[A,r].concat(n))},send:function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e._send.apply(e,[A,r].concat(n))},watch:function(){return e._watch.apply(e,arguments)}}}},{key:"_call",value:(n=d()(c.a.mark(function e(t,r){var n,A,i,o,a=this,s=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=s.length>2&&void 0!==s[2]?s[2]:{},A=s.length>3&&void 0!==s[3]&&s[3],Te.isFunction(n)&&(A=n,n={}),A){e.next=5;break}return e.abrupt("return",this.injectPromise(this._call,t,r,n));case 5:if(t.length===r.length){e.next=7;break}return e.abrupt("return",A("Invalid argument count provided"));case 7:if(this.contract.address){e.next=9;break}return e.abrupt("return",A("Smart contract is missing address"));case 9:if(this.contract.deployed){e.next=11;break}return e.abrupt("return",A("Calling smart contracts requires you to load the contract first"));case 11:if(i=this.abi.stateMutability,["pure","view"].includes(i.toLowerCase())){e.next=14;break}return e.abrupt("return",A('Methods with state mutability "'.concat(i,'" must use send()')));case 14:n=ut({},this.defaultOptions,{from:this.tronWeb.defaultAddress.hex},n),o=r.map(function(e,r){return{type:t[r],value:e}}),this.tronWeb.transactionBuilder.triggerSmartContract(this.contract.address,this.functionSelector,n,o,!!n.from&&this.tronWeb.address.toHex(n.from),function(e,t){if(e)return A(e);if(!Te.hasProperty(t,"constant_result"))return A("Failed to execute");try{var r=t.constant_result[0].length;if(0===r||r%64==8){var n="The call has been reverted or has thrown an error.";if(0!==r){n+=" Error message: ";for(var i="",o=t.constant_result[0].substring(8),s=0;s<r-8;s+=64)i+=a.tronWeb.toUtf8(o.substring(s,s+64));n+=i.replace(/(\u0000|\u000b|\f)+/g," ").replace(/ +/g," ").replace(/\s+$/g,"")}return A(n)}var u=ft(a.outputs,"0x"+t.constant_result[0]);return 1===u.length&&(u=u[0]),A(null,u)}catch(e){return A(e)}});case 17:case"end":return e.stop()}},e,this)})),function(e,t){return n.apply(this,arguments)})},{key:"_send",value:(r=d()(c.a.mark(function e(t,r){var n,A,i,o,a,s,u,l,f,g,h,p=this,I=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=I.length>2&&void 0!==I[2]?I[2]:{},A=I.length>3&&void 0!==I[3]?I[3]:this.tronWeb.defaultPrivateKey,i=I.length>4&&void 0!==I[4]&&I[4],Te.isFunction(A)&&(i=A,A=this.tronWeb.defaultPrivateKey),Te.isFunction(n)&&(i=n,n={}),i){e.next=7;break}return e.abrupt("return",this.injectPromise(this._send,t,r,n,A));case 7:if(t.length===r.length){e.next=9;break}throw new Error("Invalid argument count provided");case 9:if(this.contract.address){e.next=11;break}return e.abrupt("return",i("Smart contract is missing address"));case 11:if(this.contract.deployed){e.next=13;break}return e.abrupt("return",i("Calling smart contracts requires you to load the contract first"));case 13:if(o=this.abi.stateMutability,!["pure","view"].includes(o.toLowerCase())){e.next=16;break}return e.abrupt("return",i('Methods with state mutability "'.concat(o,'" must use call()')));case 16:return["payable"].includes(o.toLowerCase())||(n.callValue=0),n=ut({},this.defaultOptions,{from:this.tronWeb.defaultAddress.hex},n),a=r.map(function(e,r){return{type:t[r],value:e}}),e.prev=19,s=A?this.tronWeb.address.fromPrivateKey(A):this.tronWeb.defaultAddress.base58,e.next=23,this.tronWeb.transactionBuilder.triggerSmartContract(this.contract.address,this.functionSelector,n,a,this.tronWeb.address.toHex(s));case 23:if((u=e.sent).result&&u.result.result){e.next=26;break}return e.abrupt("return",i("Unknown error: "+JSON.stringify(u,null,2)));case 26:return e.next=28,this.tronWeb.trx.sign(u.transaction,A);case 28:if((l=e.sent).signature){e.next=33;break}if(A){e.next=32;break}return e.abrupt("return",i("Transaction was not signed properly"));case 32:return e.abrupt("return",i("Invalid private key provided"));case 33:return e.next=35,this.tronWeb.trx.sendRawTransaction(l);case 35:if(!(f=e.sent).code){e.next=40;break}return g={error:f.code,message:f.code},f.message&&(g.message=this.tronWeb.toUtf8(f.message)),e.abrupt("return",i(g));case 40:if(n.shouldPollResponse){e.next=42;break}return e.abrupt("return",i(null,l.txID));case 42:(h=function(){var e=d()(c.a.mark(function e(){var t,r,A,o=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(20!=(t=o.length>0&&void 0!==o[0]?o[0]:0)){e.next=3;break}return e.abrupt("return",i({error:"Cannot find result in solidity node",transaction:l}));case 3:return e.next=5,p.tronWeb.trx.getTransactionInfo(l.txID);case 5:if(r=e.sent,Object.keys(r).length){e.next=8;break}return e.abrupt("return",setTimeout(function(){h(t+1)},3e3));case 8:if(!r.result||"FAILED"!=r.result){e.next=10;break}return e.abrupt("return",i({error:p.tronWeb.toUtf8(r.resMessage),transaction:l,output:r}));case 10:if(Te.hasProperty(r,"contractResult")){e.next=12;break}return e.abrupt("return",i({error:"Failed to execute: "+JSON.stringify(r,null,2),transaction:l,output:r}));case 12:if(!n.rawResponse){e.next=14;break}return e.abrupt("return",i(null,r));case 14:return 1===(A=ft(p.outputs,"0x"+r.contractResult[0])).length&&(A=A[0]),e.abrupt("return",i(null,A));case 17:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}())(),e.next=49;break;case 46:return e.prev=46,e.t0=e.catch(19),e.abrupt("return",i(e.t0));case 49:case"end":return e.stop()}},e,this,[[19,46]])})),function(e,t){return r.apply(this,arguments)})},{key:"_watch",value:(t=d()(c.a.mark(function e(){var t,r,n,A,i,o,a,s=this,u=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=u.length>0&&void 0!==u[0]?u[0]:{},r=u.length>1&&void 0!==u[1]&&u[1],Te.isFunction(t)&&(r=t,t={}),Te.isFunction(r)){e.next=5;break}throw new Error("Expected callback to be provided");case 5:if(this.contract.address){e.next=7;break}return e.abrupt("return",r("Smart contract is missing address"));case 7:if(this.abi.type&&/event/i.test(this.abi.type)){e.next=9;break}return e.abrupt("return",r("Invalid method type for event watching"));case 9:if(this.tronWeb.eventServer){e.next=11;break}return e.abrupt("return",r("No event server configured"));case 11:return n=!1,A=!1,i=Date.now()-1e3,o=function(){var e=d()(c.a.mark(function e(){var r,n,o,a,u,l;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r={since:i,eventName:s.name,sort:"block_timestamp",blockNumber:"latest",filters:t.filters},t.resourceNode&&(/full/i.test(t.resourceNode)?r.onlyUnconfirmed=!0:r.onlyConfirmed=!0),e.next=5,s.tronWeb.event.getEventsByContractAddress(s.contract.address,r);case 5:return n=e.sent,o=n.sort(function(e,t){return t.block-e.block}),a=Xe()(o,1),u=a[0],l=n.filter(function(e,r){return!(t.resourceNode&&e.resourceNode&&t.resourceNode.toLowerCase()!==e.resourceNode.toLowerCase()||n.slice(0,r).some(function(t){return JSON.stringify(t)==JSON.stringify(e)})||A&&!(e.block>A))}),u&&(A=u.block),e.abrupt("return",l);case 12:return e.prev=12,e.t0=e.catch(0),e.abrupt("return",Promise.reject(e.t0));case 15:case"end":return e.stop()}},e,null,[[0,12]])}));return function(){return e.apply(this,arguments)}}(),a=function(){n&&clearInterval(n),n=setInterval(function(){o().then(function(e){return e.forEach(function(e){r(null,Te.parseEvent(e,s.abi))})}).catch(function(e){return r(e)})},3e3)},e.next=18,o();case 18:return a(),e.abrupt("return",{start:a(),stop:function(){n&&(clearInterval(n),n=!1)}});case 20:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})}]),e}(),gt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(I()(this,e),!t||!t instanceof mt)throw new Error("Expected instance of TronWeb");this.tronWeb=t,this.injectPromise=Te.promiseInjector(this),this.address=n,this.abi=r,this.eventListener=!1,this.bytecode=!1,this.deployed=!1,this.lastBlock=!1,this.methods={},this.methodInstances={},this.props=[],this.tronWeb.isAddress(n)?this.deployed=!0:this.address=!1,this.loadAbi(r)}var t,r,n,A;return C()(e,[{key:"_getEvents",value:(A=d()(c.a.mark(function e(){var t,r,n,A,i,o,a=this,s=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.length>0&&void 0!==s[0]?s[0]:{},e.next=3,this.tronWeb.event.getEventsByContractAddress(this.address,t);case 3:return r=e.sent,n=r.sort(function(e,t){return t.block-e.block}),A=Xe()(n,1),i=A[0],o=r.filter(function(e,n){return!(t.resourceNode&&e.resourceNode&&t.resourceNode.toLowerCase()!==e.resourceNode.toLowerCase()||r.slice(0,n).some(function(t){return JSON.stringify(t)==JSON.stringify(e)})||a.lastBlock&&!(e.block>a.lastBlock))}),i&&(this.lastBlock=i.block),e.abrupt("return",o);case 8:case"end":return e.stop()}},e,this)})),function(){return A.apply(this,arguments)})},{key:"_startEventListener",value:(n=d()(c.a.mark(function e(){var t,r,n=this,A=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=A.length>0&&void 0!==A[0]?A[0]:{},r=A.length>1?A[1]:void 0,Te.isFunction(t)&&(r=t,t={}),this.eventListener&&clearInterval(this.eventListener),this.tronWeb.eventServer){e.next=6;break}throw new Error("Event server is not configured");case 6:if(this.address){e.next=8;break}throw new Error("Contract is not configured with an address");case 8:return this.eventCallback=r,e.next=11,this._getEvents(t);case 11:this.eventListener=setInterval(function(){n._getEvents(t).then(function(e){return e.forEach(function(e){n.eventCallback&&n.eventCallback(e)})}).catch(function(e){console.error("Failed to get event list",e)})},3e3);case 12:case"end":return e.stop()}},e,this)})),function(){return n.apply(this,arguments)})},{key:"_stopEventListener",value:function(){this.eventListener&&(clearInterval(this.eventListener),this.eventListener=!1,this.eventCallback=!1)}},{key:"hasProperty",value:function(e){return this.hasOwnProperty(e)||this.__proto__.hasOwnProperty(e)}},{key:"loadAbi",value:function(e){var t=this;this.abi=e,this.methods={},this.props.forEach(function(e){return delete t[e]}),e.forEach(function(e){if(e.type&&!/constructor/i.test(e.type)){var r=new dt(t,e),n=r.onMethod.bind(r),A=r.name,i=r.functionSelector,o=r.signature;t.methods[A]=n,t.methods[i]=n,t.methods[o]=n,t.methodInstances[A]=r,t.methodInstances[i]=r,t.methodInstances[o]=r,t.hasProperty(A)||(t[A]=n,t.props.push(A)),t.hasProperty(i)||(t[i]=n,t.props.push(i)),t.hasProperty(o)||(t[o]=n,t.props.push(o))}})}},{key:"decodeInput",value:function(e){var t=e.substring(0,8),r=e.substring(8);if(!this.methodInstances[t])throw new Error("Contract method "+t+" not found");return{name:this.methodInstances[t].name,params:this.methodInstances[t].decodeInput(r)}}},{key:"new",value:(r=d()(c.a.mark(function e(t){var r,n,A,i,o,a,s=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=s.length>1&&void 0!==s[1]?s[1]:this.tronWeb.defaultPrivateKey,n=s.length>2&&void 0!==s[2]&&s[2],Te.isFunction(r)&&(n=r,r=this.tronWeb.defaultPrivateKey),n){e.next=5;break}return e.abrupt("return",this.injectPromise(this.new,t,r));case 5:return e.prev=5,A=this.tronWeb.address.fromPrivateKey(r),e.next=9,this.tronWeb.transactionBuilder.createSmartContract(t,A);case 9:return i=e.sent,e.next=12,this.tronWeb.trx.sign(i,r);case 12:return o=e.sent,e.next=15,this.tronWeb.trx.sendRawTransaction(o);case 15:if(!(a=e.sent).code){e.next=18;break}return e.abrupt("return",n({error:a.code,message:this.tronWeb.toUtf8(a.message)}));case 18:return e.next=20,Te.sleep(3e3);case 20:return e.abrupt("return",this.at(o.contract_address,n));case 23:return e.prev=23,e.t0=e.catch(5),e.abrupt("return",n(e.t0));case 26:case"end":return e.stop()}},e,this,[[5,23]])})),function(e){return r.apply(this,arguments)})},{key:"at",value:(t=d()(c.a.mark(function e(t){var r,n,A=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=A.length>1&&void 0!==A[1]&&A[1]){e.next=3;break}return e.abrupt("return",this.injectPromise(this.at,t));case 3:return e.prev=3,e.next=6,this.tronWeb.trx.getContract(t);case 6:if((n=e.sent).contract_address){e.next=9;break}return e.abrupt("return",r("Unknown error: "+JSON.stringify(n,null,2)));case 9:return this.address=n.contract_address,this.bytecode=n.bytecode,this.deployed=!0,this.loadAbi(n.abi.entrys),e.abrupt("return",r(null,this));case 16:if(e.prev=16,e.t0=e.catch(3),!e.t0.toString().includes("does not exist")){e.next=20;break}return e.abrupt("return",r("Contract has not been deployed on the network"));case 20:return e.abrupt("return",r(e.t0));case 21:case"end":return e.stop()}},e,this,[[3,16]])})),function(e){return t.apply(this,arguments)})},{key:"events",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Te.isFunction(e)&&(t=e,e={}),!Te.isFunction(t))throw new Error("Callback function expected");var r=this;return{start:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return n?(r._startEventListener(e,t).then(function(){n()}).catch(function(e){n(e)}),this):(r._startEventListener(e,t),this)},stop:function(){r._stopEventListener()}}}}]),e}(),ht=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(I()(this,e),!t||!t instanceof mt)throw new Error("Expected instance of TronWeb");this.tronWeb=t,this.pluginNoOverride=["register"]}return C()(e,[{key:"register",value:function(e,t){var r={requires:"0.0.0",components:{}},n={plugged:[],skipped:[]},A=new e(this.tronWeb);if(Te.isFunction(A.pluginInterface)&&(r=A.pluginInterface(t)),!ze.a.satisfies(mt.version,r.requires))throw new Error("The plugin is not compatible with this version of TronWeb");for(var i in r.components)if(this.tronWeb.hasOwnProperty(i)){var o=r.components[i],a=this.tronWeb[i].pluginNoOverride||[];for(var s in o)"constructor"===s||this.tronWeb[i][s]&&(a.includes(s)||/^_/.test(s))?n.skipped.push(s):(this.tronWeb[i][s]=o[s].bind(this.tronWeb[i]),n.plugged.push(s))}return n}}]),e}(),pt=n(20),It=n.n(pt),Bt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(I()(this,e),!(t&&t instanceof mt))throw new Error("Expected instance of TronWeb");this.tronWeb=t,this.injectPromise=Te.promiseInjector(this)}return C()(e,[{key:"setServer",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"healthcheck";if(!t)return this.tronWeb.eventServer=!1;if(Te.isString(t)&&(t=new Je.HttpProvider(t)),!this.tronWeb.isValidProvider(t))throw new Error("Invalid event server provided");this.tronWeb.eventServer=t,this.tronWeb.eventServer.isConnected=function(){return e.tronWeb.eventServer.request(r).then(function(){return!0}).catch(function(){return!1})}}},{key:"getEventsByContractAddress",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=Object.assign({sinceTimestamp:0,eventName:!1,blockNumber:!1,size:20,page:1},t),A=n.sinceTimestamp,i=n.since,o=n.fromTimestamp,a=n.eventName,s=n.blockNumber,u=n.size,l=n.page,c=n.onlyConfirmed,f=n.onlyUnconfirmed,d=n.previousLastEventFingerprint,g=n.previousFingerprint,p=n.fingerprint,I=n.rawResponse,B=n.sort,C=n.filters;if(!r)return this.injectPromise(this.getEventsByContractAddress,e,t);if(o=o||A||i,!this.tronWeb.eventServer)return r("No event server configured");var m=[];if(!this.tronWeb.isAddress(e))return r("Invalid contract address provided");if(a&&!e)return r("Usage of event name filtering requires a contract address");if(void 0!==o&&!Te.isInteger(o))return r("Invalid fromTimestamp provided");if(!Te.isInteger(u))return r("Invalid size provided");if(u>200&&(console.warn("Defaulting to maximum accepted size: 200"),u=200),!Te.isInteger(l))return r("Invalid page provided");if(s&&!a)return r("Usage of block number filtering requires an event name");e&&m.push(this.tronWeb.address.fromHex(e)),a&&m.push(a),s&&m.push(s);var y={size:u,page:l};return"object"===h()(C)&&Object.keys(C).length>0&&(y.filters=JSON.stringify(C)),o&&(y.fromTimestamp=y.since=o),c&&(y.onlyConfirmed=c),f&&!c&&(y.onlyUnconfirmed=f),B&&(y.sort=B),(p=p||g||d)&&(y.fingerprint=p),this.tronWeb.eventServer.request("event/contract/".concat(m.join("/"),"?").concat(It.a.stringify(y))).then(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?Te.isArray(e)?r(null,!0===I?e:e.map(function(e){return Te.mapEvent(e)})):r(e):r("Unknown error occurred")}).catch(function(e){return r(e.response&&e.response.data||e)})}},{key:"getEventsByTransactionID",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Te.isFunction(t)&&(r=t,t={}),r?this.tronWeb.eventServer?this.tronWeb.eventServer.request("event/transaction/".concat(e)).then(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?Te.isArray(e)?r(null,!0===t.rawResponse?e:e.map(function(e){return Te.mapEvent(e)})):r(e):r("Unknown error occurred")}).catch(function(e){return r(e.response&&e.response.data||e)}):r("No event server configured"):this.injectPromise(this.getEventsByTransactionID,e,t)}}]),e}();n.d(r,"default",function(){return mt});var Ct="3.5.0",mt=function(e){function r(){var e,t,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],A=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return I()(this,r),e=y()(this,w()(r).call(this)),"object"===h()(n)&&(n.fullNode||n.fullHost)?(t=n.fullNode||n.fullHost,A=n.solidityNode||n.fullHost,i=n.eventServer||n.fullHost,o=n.privateKey):t=n,Te.isString(t)&&(t=new Je.HttpProvider(t)),Te.isString(A)&&(A=new Je.HttpProvider(A)),Te.isString(i)&&(i=new Je.HttpProvider(i)),e.event=new Bt(b()(e)),e.transactionBuilder=new nt(b()(e)),e.trx=new at(b()(e)),e.plugin=new ht(b()(e)),e.utils=Te,e.setFullNode(t),e.setSolidityNode(A),e.setEventServer(i),e.providers=Je,e.BigNumber=Oe.a,e.defaultBlock=!1,e.defaultPrivateKey=!1,e.defaultAddress={hex:!1,base58:!1},["sha3","toHex","toUtf8","fromUtf8","toAscii","fromAscii","toDecimal","fromDecimal","toSun","fromSun","toBigNumber","isAddress","createAccount","address","version"].forEach(function(t){e[t]=r[t]}),o&&e.setPrivateKey(o),e.fullnodeVersion=Ct,e.injectPromise=Te.promiseInjector(b()(e)),e}var n,A,i;return D()(r,e),C()(r,[{key:"getFullnodeVersion",value:(i=d()(c.a.mark(function e(){var t;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.trx.getNodeInfo();case 3:t=e.sent,this.fullnodeVersion=t.configNodeInfo.codeVersion,2===this.fullnodeVersion.split(".").length&&(this.fullnodeVersion+=".0"),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),this.fullnodeVersion=Ct;case 11:case"end":return e.stop()}},e,this,[[0,8]])})),function(){return i.apply(this,arguments)})},{key:"setDefaultBlock",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if([!1,"latest","earliest",0].includes(e))return this.defaultBlock=e;if(!Te.isInteger(e)||!e)throw new Error("Invalid block ID provided");this.defaultBlock=Math.abs(e)}},{key:"setPrivateKey",value:function(e){try{this.setAddress(this.address.fromPrivateKey(e))}catch(e){throw new Error("Invalid private key provided")}this.defaultPrivateKey=e,this.emit("privateKeyChanged",e)}},{key:"setAddress",value:function(e){if(!this.isAddress(e))throw new Error("Invalid address provided");var t=this.address.toHex(e),r=this.address.fromHex(e);this.defaultPrivateKey&&this.address.fromPrivateKey(this.defaultPrivateKey)!==r&&(this.defaultPrivateKey=!1),this.defaultAddress={hex:t,base58:r},this.emit("addressChanged",{hex:t,base58:r})}},{key:"fullnodeSatisfies",value:function(e){return ze.a.satisfies(this.fullnodeVersion,e)}},{key:"isValidProvider",value:function(e){return Object.values(Je).some(function(t){return e instanceof t})}},{key:"setFullNode",value:function(e){if(Te.isString(e)&&(e=new Je.HttpProvider(e)),!this.isValidProvider(e))throw new Error("Invalid full node provided");this.fullNode=e,this.fullNode.setStatusPage("wallet/getnowblock"),this.getFullnodeVersion()}},{key:"setSolidityNode",value:function(e){if(Te.isString(e)&&(e=new Je.HttpProvider(e)),!this.isValidProvider(e))throw new Error("Invalid solidity node provided");this.solidityNode=e,this.solidityNode.setStatusPage("walletsolidity/getnowblock")}},{key:"setEventServer",value:function(){var e;(e=this.event).setServer.apply(e,arguments)}},{key:"currentProviders",value:function(){return{fullNode:this.fullNode,solidityNode:this.solidityNode,eventServer:this.eventServer}}},{key:"currentProvider",value:function(){return this.currentProviders()}},{key:"getEventResult",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"object"!==h()(r[1])&&(r[1]={sinceTimestamp:r[1]||0,eventName:r[2]||!1,blockNumber:r[3]||!1,size:r[4]||20,page:r[5]||1},r.splice(2,4),Te.isFunction(r[2])||(Te.isFunction(r[1].page)?(r[2]=r[1].page,r[1].page=1):Te.isFunction(r[1].size)&&(r[2]=r[1].size,r[1].size=20,r[1].page=1))),(e=this.event).getEventsByContractAddress.apply(e,r)}},{key:"getEventByTransactionID",value:function(){var e;return(e=this.event).getEventsByTransactionID.apply(e,arguments)}},{key:"contract",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new gt(this,e,t)}},{key:"isConnected",value:(A=d()(c.a.mark(function e(){var t,r=arguments;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.length>0&&void 0!==r[0]&&r[0]){e.next=3;break}return e.abrupt("return",this.injectPromise(this.isConnected));case 3:return e.t0=t,e.next=6,this.fullNode.isConnected();case 6:return e.t1=e.sent,e.next=9,this.solidityNode.isConnected();case 9:if(e.t2=e.sent,e.t3=this.eventServer,!e.t3){e.next=15;break}return e.next=14,this.eventServer.isConnected();case 14:e.t3=e.sent;case 15:return e.t4=e.t3,e.t5={fullNode:e.t1,solidityNode:e.t2,eventServer:e.t4},e.abrupt("return",(0,e.t0)(null,e.t5));case 18:case"end":return e.stop()}},e,this)})),function(){return A.apply(this,arguments)})}],[{key:"sha3",value:function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(r?"0x":"")+se(t.from(e,"utf-8")).toString().substring(2)}},{key:"toHex",value:function(e){if(Te.isBoolean(e))return r.fromDecimal(+e);if(Te.isBigNumber(e))return r.fromDecimal(e);if("object"===h()(e))return r.fromUtf8(JSON.stringify(e));if(Te.isString(e)){if(/^(-|)0x/.test(e))return e;if(!isFinite(e))return r.fromUtf8(e)}var t=r.fromDecimal(e);if("0xNaN"===t)throw new Error("The passed value is not convertible to a hex string");return t}},{key:"toUtf8",value:function(e){if(Te.isHex(e))return e=e.replace(/^0x/,""),t.from(e,"hex").toString("utf8");throw new Error("The passed value is not a valid hex string")}},{key:"fromUtf8",value:function(e){if(!Te.isString(e))throw new Error("The passed value is not a valid utf-8 string");return"0x"+t.from(e,"utf8").toString("hex")}},{key:"toAscii",value:function(e){if(Te.isHex(e)){var t="",r=0,n=e.length;for("0x"===e.substring(0,2)&&(r=2);r<n;r+=2){var A=parseInt(e.substr(r,2),16);t+=String.fromCharCode(A)}return t}throw new Error("The passed value is not a valid hex string")}},{key:"fromAscii",value:function(e,r){if(!Te.isString(e))throw new Error("The passed value is not a valid utf-8 string");return"0x"+t.from(e,"ascii").toString("hex").padEnd(r,"0")}},{key:"toDecimal",value:function(e){return r.toBigNumber(e).toNumber()}},{key:"fromDecimal",value:function(e){var t=r.toBigNumber(e),n=t.toString(16);return t.isLessThan(0)?"-0x"+n.substr(1):"0x"+n}},{key:"fromSun",value:function(e){var t=r.toBigNumber(e).div(1e6);return Te.isBigNumber(e)?t:t.toString(10)}},{key:"toSun",value:function(e){var t=r.toBigNumber(e).times(1e6);return Te.isBigNumber(e)?t:t.toString(10)}},{key:"toBigNumber",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Te.isBigNumber(e)?e:Te.isString(e)&&/^(-|)0x/.test(e)?new Oe.a(e.replace("0x",""),16):new Oe.a(e.toString(10),10)}},{key:"isAddress",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!Te.isString(e))return!1;if(42===e.length)try{return r.isAddress(Te.crypto.getBase58CheckAddress(Te.code.hexStr2byteArray(e)))}catch(e){return!1}try{return Te.crypto.isAddressValid(e)}catch(e){return!1}}},{key:"createAccount",value:(n=d()(c.a.mark(function e(){var t;return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=Te.accounts.generateAccount(),e.abrupt("return",t);case 2:case"end":return e.stop()}},e)})),function(){return n.apply(this,arguments)})},{key:"address",get:function(){return{fromHex:function(e){return Te.isHex(e)?Te.crypto.getBase58CheckAddress(Te.code.hexStr2byteArray(e.replace(/^0x/,P))):e},toHex:function(e){return Te.isHex(e)?e.toLowerCase().replace(/^0x/,P):Te.code.byteArray2hexStr(Te.crypto.decodeBase58Address(e)).toLowerCase()},fromPrivateKey:function(e){try{return Te.crypto.pkToAddress(e)}catch(e){return!1}}}}}]),r}(qe.a);k()(mt,"providers",Je),k()(mt,"BigNumber",Oe.a),k()(mt,"TransactionBuilder",nt),k()(mt,"Trx",at),k()(mt,"Contract",gt),k()(mt,"Plugin",ht),k()(mt,"Event",Bt),k()(mt,"version",Ve.a),k()(mt,"utils",Te)}]).default}).call(this,r(8).Buffer)},,,,function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var A in n)r.call(n,A)&&(e[A]=n[A])}return e};var r=Object.prototype.hasOwnProperty},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0});var A={Metadata:!0};Object.defineProperty(t,"Metadata",{enumerable:!0,get:function(){return i.default}});var i=n(r(1943)),o=r(1985);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))});var a=r(2002);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))});var s=r(2010);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(A,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))})},,function(e,t,r){var n={"./binance":640,"./binance.js":640,"./bitcoin":662,"./bitcoin.js":662,"./chainx":668,"./chainx.js":668,"./codex":908,"./codex.js":908,"./coinex":917,"./coinex.js":917,"./cosmos":920,"./cosmos.js":920,"./enigma":925,"./enigma.js":925,"./eos":926,"./eos.js":926,"./eth":942,"./eth.js":942,"./fibos":953,"./fibos.js":953,"./harmony":954,"./harmony.js":954,"./hashgard":972,"./hashgard.js":972,"./iris":973,"./iris.js":973,"./kava":974,"./kava.js":974,"./nervos":975,"./nervos.js":975,"./polkadot":990,"./polkadot.js":990,"./trx":1058,"./trx.js":1058};function A(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}A.keys=function(){return Object.keys(n)},A.resolve=i,e.exports=A,A.id=1072},function(e,t,r){"use strict";var n=r(108),A=r(641),i=r(1075),o=r(425);function a(e){var t=new i(e),r=A(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var s=a(o);s.Axios=i,s.create=function(e){return a(n.merge(o,e))},s.Cancel=r(645),s.CancelToken=r(1088),s.isCancel=r(644),s.all=function(e){return Promise.all(e)},s.spread=r(1089),e.exports=s,e.exports.default=s},function(e,t){
/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */
e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},function(e,t,r){"use strict";var n=r(425),A=r(108),i=r(1083),o=r(1084);function a(e){this.defaults=e,this.interceptors={request:new i,response:new i}}a.prototype.request=function(e){"string"==typeof e&&(e=A.merge({url:arguments[0]},arguments[1])),(e=A.merge(n,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var t=[o,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)r=r.then(t.shift(),t.shift());return r},A.forEach(["delete","get","head","options"],function(e){a.prototype[e]=function(t,r){return this.request(A.merge(r||{},{method:e,url:t}))}}),A.forEach(["post","put","patch"],function(e){a.prototype[e]=function(t,r,n){return this.request(A.merge(n||{},{method:e,url:t,data:r}))}}),e.exports=a},function(e,t,r){"use strict";var n=r(108);e.exports=function(e,t){n.forEach(e,function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])})}},function(e,t,r){"use strict";var n=r(643);e.exports=function(e,t,r){var A=r.config.validateStatus;r.status&&A&&!A(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,A){return e.config=t,r&&(e.code=r),e.request=n,e.response=A,e}},function(e,t,r){"use strict";var n=r(108);function A(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var o=[];n.forEach(t,function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),o.push(A(t)+"="+A(e))}))}),i=o.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},function(e,t,r){"use strict";var n=r(108),A=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,o={};return e?(n.forEach(e.split("\n"),function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(o[t]&&A.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([r]):o[t]?o[t]+", "+r:r}}),o):o}},function(e,t,r){"use strict";var n=r(108);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function A(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=A(window.location.href),function(t){var r=n.isString(t)?A(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(108);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,A,i,o){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(A)&&a.push("path="+A),n.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";var n=r(108);function A(){this.handlers=[]}A.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},A.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},A.prototype.forEach=function(e){n.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=A},function(e,t,r){"use strict";var n=r(108),A=r(1085),i=r(644),o=r(425),a=r(1086),s=r(1087);function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return u(e),e.baseURL&&!a(e.url)&&(e.url=s(e.baseURL,e.url)),e.headers=e.headers||{},e.data=A(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),n.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||o.adapter)(e).then(function(t){return u(e),t.data=A(t.data,t.headers,e.transformResponse),t},function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=A(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,r){"use strict";var n=r(108);e.exports=function(e,t,r){return n.forEach(r,function(r){e=r(e,t)}),e}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(645);function A(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var r=this;e(function(e){r.reason||(r.reason=new n(e),t(r.reason))})}A.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},A.source=function(){var e;return{token:new A(function(t){e=t}),cancel:e}},e.exports=A},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){(function(n,A){var i;!function(o){"use strict";function a(e,t){if(t=t||{type:"Array"},void 0!==n&&"number"==typeof n.pid&&n.versions&&n.versions.node)return function(e,t){var n=r(1091).randomBytes(e);switch(t.type){case"Array":return[].slice.call(n);case"Buffer":return n;case"Uint8Array":for(var A=new Uint8Array(e),i=0;i<e;++i)A[i]=n.readUInt8(i);return A;default:throw new Error(t.type+" is unsupported.")}}(e,t);if(!(window.crypto||window.msCrypto))throw new Error("Your browser does not support window.crypto.");return function(e,t){var r=new Uint8Array(e);switch((window.crypto||window.msCrypto).getRandomValues(r),t.type){case"Array":return[].slice.call(r);case"Buffer":try{new A(1)}catch(e){throw new Error("Buffer not supported in this environment. Use Node.js or Browserify for browser support.")}return new A(r);case"Uint8Array":return r;default:throw new Error(t.type+" is unsupported.")}}(e,t)}void 0===(i=function(){return a}.apply(t,[]))||(e.exports=i),a.randomArray=function(e){return a(e,{type:"Array"})},a.randomUint8Array=function(e){return a(e,{type:"Uint8Array"})},a.randomBuffer=function(e){return a(e,{type:"Buffer"})}}()}).call(this,r(50),r(8).Buffer)},function(e,t){},function(e,t,r){var n,A,i=r(646),o=r(647),a=0,s=0;e.exports=function(e,t,r){var u=t&&r||0,l=t||[],c=(e=e||{}).node||n,f=void 0!==e.clockseq?e.clockseq:A;if(null==c||null==f){var d=i();null==c&&(c=n=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==f&&(f=A=16383&(d[6]<<8|d[7]))}var g=void 0!==e.msecs?e.msecs:(new Date).getTime(),h=void 0!==e.nsecs?e.nsecs:s+1,p=g-a+(h-s)/1e4;if(p<0&&void 0===e.clockseq&&(f=f+1&16383),(p<0||g>a)&&void 0===e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=g,s=h,A=f;var I=(1e4*(268435455&(g+=122192928e5))+h)%4294967296;l[u++]=I>>>24&255,l[u++]=I>>>16&255,l[u++]=I>>>8&255,l[u++]=255&I;var B=g/4294967296*1e4&268435455;l[u++]=B>>>8&255,l[u++]=255&B,l[u++]=B>>>24&15|16,l[u++]=B>>>16&255,l[u++]=f>>>8|128,l[u++]=255&f;for(var C=0;C<6;++C)l[u+C]=c[C];return t||o(l)}},function(e,t,r){var n=r(646),A=r(647);e.exports=function(e,t,r){var i=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||n)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var a=0;a<16;++a)t[i+a]=o[a];return t||A(o)}},function(e,t,r){let n=r(15).Buffer,A=r(197),i=r(1097),o=r(92),a=r(63),s=r(310),u=a.BufferN(32),l=a.compile({wif:a.UInt8,bip32:{public:a.UInt32,private:a.UInt32}}),c={wif:128,bip32:{public:76067358,private:76066276}};function f(e,t,r,n){a(l,n),this.__d=e||null,this.__Q=t||null,this.chainCode=r,this.depth=0,this.index=0,this.network=n,this.parentFingerprint=0}Object.defineProperty(f.prototype,"identifier",{get:function(){return i.hash160(this.publicKey)}}),Object.defineProperty(f.prototype,"fingerprint",{get:function(){return this.identifier.slice(0,4)}}),Object.defineProperty(f.prototype,"privateKey",{enumerable:!1,get:function(){return this.__d}}),Object.defineProperty(f.prototype,"publicKey",{get:function(){return this.__Q||(this.__Q=o.pointFromScalar(this.__d,this.compressed)),this.__Q}}),f.prototype.isNeutered=function(){return null===this.__d},f.prototype.neutered=function(){let e=I(this.publicKey,this.chainCode,this.network);return e.depth=this.depth,e.index=this.index,e.parentFingerprint=this.parentFingerprint,e},f.prototype.toBase58=function(){let e=this.network,t=this.isNeutered()?e.bip32.public:e.bip32.private,r=n.allocUnsafe(78);return r.writeUInt32BE(t,0),r.writeUInt8(this.depth,4),r.writeUInt32BE(this.parentFingerprint,5),r.writeUInt32BE(this.index,9),this.chainCode.copy(r,13),this.isNeutered()?this.publicKey.copy(r,45):(r.writeUInt8(0,45),this.privateKey.copy(r,46)),A.encode(r)},f.prototype.toWIF=function(){if(!this.privateKey)throw new TypeError("Missing private key");return s.encode(this.network.wif,this.privateKey,!0)};f.prototype.derive=function(e){a(a.UInt32,e);let t=e>=2147483648,r=n.allocUnsafe(37);if(t){if(this.isNeutered())throw new TypeError("Missing private key for hardened child key");r[0]=0,this.privateKey.copy(r,1),r.writeUInt32BE(e,33)}else this.publicKey.copy(r,0),r.writeUInt32BE(e,33);let A,s=i.hmacSHA512(this.chainCode,r),u=s.slice(0,32),l=s.slice(32);if(!o.isPrivate(u))return this.derive(e+1);if(this.isNeutered()){let t=o.pointAddScalar(this.publicKey,u,!0);if(null===t)return this.derive(e+1);A=I(t,l,this.network)}else{let t=o.privateAdd(this.privateKey,u);if(null==t)return this.derive(e+1);A=p(t,l,this.network)}return A.depth=this.depth+1,A.index=e,A.parentFingerprint=this.fingerprint.readUInt32BE(0),A};let d=Math.pow(2,31)-1;function g(e){return a.UInt32(e)&&e<=d}function h(e){return a.String(e)&&e.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}function p(e,t,r){if(a({privateKey:u,chainCode:u},{privateKey:e,chainCode:t}),r=r||c,!o.isPrivate(e))throw new TypeError("Private key not in range [1, n)");return new f(e,null,t,r)}function I(e,t,r){if(a({publicKey:a.BufferN(33),chainCode:u},{publicKey:e,chainCode:t}),r=r||c,!o.isPoint(e))throw new TypeError("Point is not on the curve");return new f(null,e,t,r)}f.prototype.deriveHardened=function(e){return a(g,e),this.derive(e+2147483648)},f.prototype.derivePath=function(e){a(h,e);let t=e.split("/");if("m"===t[0]){if(this.parentFingerprint)throw new TypeError("Expected master, got child");t=t.slice(1)}return t.reduce(function(e,t){let r;return"'"===t.slice(-1)?(r=parseInt(t.slice(0,-1),10),e.deriveHardened(r)):(r=parseInt(t,10),e.derive(r))},this)},f.prototype.sign=function(e){return o.sign(e,this.privateKey)},f.prototype.verify=function(e,t){return o.verify(e,this.publicKey,t)},e.exports={fromBase58:function(e,t){let r=A.decode(e);if(78!==r.length)throw new TypeError("Invalid buffer length");t=t||c;let n=r.readUInt32BE(0);if(n!==t.bip32.private&&n!==t.bip32.public)throw new TypeError("Invalid network version");let i=r[4],o=r.readUInt32BE(5);if(0===i&&0!==o)throw new TypeError("Invalid parent fingerprint");let a=r.readUInt32BE(9);if(0===i&&0!==a)throw new TypeError("Invalid index");let s,u=r.slice(13,45);if(n===t.bip32.private){if(0!==r.readUInt8(45))throw new TypeError("Invalid private key");s=p(r.slice(46,78),u,t)}else{s=I(r.slice(45,78),u,t)}return s.depth=i,s.index=a,s.parentFingerprint=o,s},fromPrivateKey:p,fromPublicKey:I,fromSeed:function(e,t){if(a(a.Buffer,e),e.length<16)throw new TypeError("Seed should be at least 128 bits");if(e.length>64)throw new TypeError("Seed should be at most 512 bits");t=t||c;let r=i.hmacSHA512("Bitcoin seed",e);return p(r.slice(0,32),r.slice(32),t)}}},function(e,t,r){"use strict";var n=r(151),A=r(15).Buffer;e.exports=function(e){function t(t){var r=t.slice(0,-4),n=t.slice(-4),A=e(r);if(!(n[0]^A[0]|n[1]^A[1]|n[2]^A[2]|n[3]^A[3]))return r}return{encode:function(t){var r=e(t);return n.encode(A.concat([t,r],t.length+4))},decode:function(e){var r=t(n.decode(e));if(!r)throw new Error("Invalid checksum");return r},decodeUnsafe:function(e){var r=n.decodeUnsafe(e);if(r)return t(r)}}}},function(e,t,r){const n=r(15).Buffer;e.exports=function(e){if(e.length>=255)throw new TypeError("Alphabet too long");const t=new Uint8Array(256);t.fill(255);for(let r=0;r<e.length;r++){const n=e.charAt(r),A=n.charCodeAt(0);if(255!==t[A])throw new TypeError(n+" is ambiguous");t[A]=r}const r=e.length,A=e.charAt(0),i=Math.log(r)/Math.log(256),o=Math.log(256)/Math.log(r);function a(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return n.alloc(0);let o=0;if(" "===e[o])return;let a=0,s=0;for(;e[o]===A;)a++,o++;const u=(e.length-o)*i+1>>>0,l=new Uint8Array(u);for(;e[o];){let n=t[e.charCodeAt(o)];if(255===n)return;let A=0;for(let e=u-1;(0!==n||A<s)&&-1!==e;e--,A++)n+=r*l[e]>>>0,l[e]=n%256>>>0,n=n/256>>>0;if(0!==n)throw new Error("Non-zero carry");s=A,o++}if(" "===e[o])return;let c=u-s;for(;c!==u&&0===l[c];)c++;const f=n.allocUnsafe(a+(u-c));f.fill(0,0,a);let d=a;for(;c!==u;)f[d++]=l[c++];return f}return{encode:function(t){if(!n.isBuffer(t))throw new TypeError("Expected Buffer");if(0===t.length)return"";let i=0,a=0,s=0;const u=t.length;for(;s!==u&&0===t[s];)s++,i++;const l=(u-s)*o+1>>>0,c=new Uint8Array(l);for(;s!==u;){let e=t[s],n=0;for(let t=l-1;(0!==e||n<a)&&-1!==t;t--,n++)e+=256*c[t]>>>0,c[t]=e%r>>>0,e=e/r>>>0;if(0!==e)throw new Error("Non-zero carry");a=n,s++}let f=l-a;for(;f!==l&&0===c[f];)f++;let d=A.repeat(i);for(;f<l;++f)d+=e.charAt(c[f]);return d},decodeUnsafe:a,decode:function(e){const t=a(e);if(t)return t;throw new Error("Non-base"+r+" character")}}}},function(e,t,r){let n=r(45),A=r(107);e.exports={hash160:function(e){const t=n("sha256").update(e).digest();try{return n("rmd160").update(t).digest()}catch(e){return n("ripemd160").update(t).digest()}},hmacSHA512:function(e,t){return A("sha512",e).update(t).digest()}}},function(e,t,r){(function(t){const n=r(107),A=t.alloc(1,1),i=t.alloc(1,0);e.exports=function(e,r,o,a,s){let u=t.alloc(32,0),l=t.alloc(32,1);u=n("sha256",u).update(l).update(i).update(r).update(e).update(s||"").digest(),l=n("sha256",u).update(l).digest(),u=n("sha256",u).update(l).update(A).update(r).update(e).update(s||"").digest(),l=n("sha256",u).update(l).digest();let c=l=n("sha256",u).update(l).digest();for(;!a(c)||!o(c);)u=n("sha256",u).update(l).update(i).digest(),l=n("sha256",u).update(l).digest(),c=l=n("sha256",u).update(l).digest();return c}}).call(this,r(8).Buffer)},function(e,t,r){(function(t){var n=r(429),A=r(648);function i(e){return t.isBuffer(e)}function o(e){return"string"==typeof e&&/^([0-9a-f]{2})+$/i.test(e)}function a(e,t){var r=e.toJSON();function n(n){if(!e(n))return!1;if(n.length===t)return!0;throw A.tfCustomError(r+"(Length: "+t+")",r+"(Length: "+n.length+")")}return n.toJSON=function(){return r},n}var s=a.bind(null,n.Array),u=a.bind(null,i),l=a.bind(null,o),c=a.bind(null,n.String);var f=Math.pow(2,53)-1;var d={ArrayN:s,Buffer:i,BufferN:u,Finite:function(e){return"number"==typeof e&&isFinite(e)},Hex:o,HexN:l,Int8:function(e){return e<<24>>24===e},Int16:function(e){return e<<16>>16===e},Int32:function(e){return(0|e)===e},Int53:function(e){return"number"==typeof e&&e>=-f&&e<=f&&Math.floor(e)===e},Range:function(e,t,r){function A(n,A){return r(n,A)&&n>e&&n<t}return r=r||n.Number,A.toJSON=function(){return`${r.toJSON()} between [${e}, ${t}]`},A},StringN:c,UInt8:function(e){return(255&e)===e},UInt16:function(e){return(65535&e)===e},UInt32:function(e){return e>>>0===e},UInt53:function(e){return"number"==typeof e&&e>=0&&e<=f&&Math.floor(e)===e}};for(var g in d)d[g].toJSON=function(e){return e}.bind(null,g);e.exports=d}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(45),A=r(149),i=r(62),o=r(649);let a=o._default;const s="Invalid mnemonic",u="Invalid entropy",l="Invalid mnemonic checksum",c="A wordlist is required but a default could not be found.\nPlease explicitly pass a 2048 word array explicitly.";function f(e,t,r){for(;e.length<r;)e=t+e;return e}function d(e){return parseInt(e,2)}function g(e){return e.map(e=>f(e.toString(2),"0",8)).join("")}function h(e){const t=8*e.length/32;return g([...n("sha256").update(e).digest()]).slice(0,t)}function p(e){return"mnemonic"+(e||"")}function I(t,r){if(!(r=r||a))throw new Error(c);const n=(t||"").normalize("NFKD").split(" ");if(n.length%3!=0)throw new Error(s);const A=n.map(e=>{const t=r.indexOf(e);if(-1===t)throw new Error(s);return f(t.toString(2),"0",11)}).join(""),i=32*Math.floor(A.length/33),o=A.slice(0,i),g=A.slice(i),p=o.match(/(.{1,8})/g).map(d);if(p.length<16)throw new Error(u);if(p.length>32)throw new Error(u);if(p.length%4!=0)throw new Error(u);const I=e.from(p);if(h(I)!==g)throw new Error(l);return I.toString("hex")}function B(t,r){if(e.isBuffer(t)||(t=e.from(t,"hex")),!(r=r||a))throw new Error(c);if(t.length<16)throw new TypeError(u);if(t.length>32)throw new TypeError(u);if(t.length%4!=0)throw new TypeError(u);const n=(g([...t])+h(t)).match(/(.{1,11})/g).map(e=>{const t=d(e);return r[t]});return"あいこくしん"===r[0]?n.join("　"):n.join(" ")}t.mnemonicToSeedSync=function(t,r){const n=e.from((t||"").normalize("NFKD"),"utf8"),i=e.from(p((r||"").normalize("NFKD")),"utf8");return A.pbkdf2Sync(n,i,2048,64,"sha512")},t.mnemonicToSeed=function(t,r){return new Promise((n,i)=>{try{const o=e.from((t||"").normalize("NFKD"),"utf8"),a=e.from(p((r||"").normalize("NFKD")),"utf8");A.pbkdf2(o,a,2048,64,"sha512",(e,t)=>e?i(e):n(t))}catch(e){return i(e)}})},t.mnemonicToEntropy=I,t.entropyToMnemonic=B,t.generateMnemonic=function(e,t,r){if((e=e||128)%32!=0)throw new TypeError(u);return B((t=t||i)(e/8),r)},t.validateMnemonic=function(e,t){try{I(e,t)}catch(e){return!1}return!0},t.setDefaultWordlist=function(e){const t=o.wordlists[e];if(!t)throw new Error('Could not find wordlist for language "'+e+'"');a=t},t.getDefaultWordlist=function(){if(!a)throw new Error("No Default Wordlist set");return Object.keys(o.wordlists).filter(e=>"JA"!==e&&"EN"!==e&&o.wordlists[e].every((e,t)=>e===a[t]))[0]};var C=r(649);t.wordlists=C.wordlists}).call(this,r(8).Buffer)},function(e){e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","这","中","大","为","上","个","国","我","以","要","他","时","来","用","们","生","到","作","地","于","出","就","分","对","成","会","可","主","发","年","动","同","工","也","能","下","过","子","说","产","种","面","而","方","后","多","定","行","学","法","所","民","得","经","十","三","之","进","着","等","部","度","家","电","力","里","如","水","化","高","自","二","理","起","小","物","现","实","加","量","都","两","体","制","机","当","使","点","从","业","本","去","把","性","好","应","开","它","合","还","因","由","其","些","然","前","外","天","政","四","日","那","社","义","事","平","形","相","全","表","间","样","与","关","各","重","新","线","内","数","正","心","反","你","明","看","原","又","么","利","比","或","但","质","气","第","向","道","命","此","变","条","只","没","结","解","问","意","建","月","公","无","系","军","很","情","者","最","立","代","想","已","通","并","提","直","题","党","程","展","五","果","料","象","员","革","位","入","常","文","总","次","品","式","活","设","及","管","特","件","长","求","老","头","基","资","边","流","路","级","少","图","山","统","接","知","较","将","组","见","计","别","她","手","角","期","根","论","运","农","指","几","九","区","强","放","决","西","被","干","做","必","战","先","回","则","任","取","据","处","队","南","给","色","光","门","即","保","治","北","造","百","规","热","领","七","海","口","东","导","器","压","志","世","金","增","争","济","阶","油","思","术","极","交","受","联","什","认","六","共","权","收","证","改","清","美","再","采","转","更","单","风","切","打","白","教","速","花","带","安","场","身","车","例","真","务","具","万","每","目","至","达","走","积","示","议","声","报","斗","完","类","八","离","华","名","确","才","科","张","信","马","节","话","米","整","空","元","况","今","集","温","传","土","许","步","群","广","石","记","需","段","研","界","拉","林","律","叫","且","究","观","越","织","装","影","算","低","持","音","众","书","布","复","容","儿","须","际","商","非","验","连","断","深","难","近","矿","千","周","委","素","技","备","半","办","青","省","列","习","响","约","支","般","史","感","劳","便","团","往","酸","历","市","克","何","除","消","构","府","称","太","准","精","值","号","率","族","维","划","选","标","写","存","候","毛","亲","快","效","斯","院","查","江","型","眼","王","按","格","养","易","置","派","层","片","始","却","专","状","育","厂","京","识","适","属","圆","包","火","住","调","满","县","局","照","参","红","细","引","听","该","铁","价","严","首","底","液","官","德","随","病","苏","失","尔","死","讲","配","女","黄","推","显","谈","罪","神","艺","呢","席","含","企","望","密","批","营","项","防","举","球","英","氧","势","告","李","台","落","木","帮","轮","破","亚","师","围","注","远","字","材","排","供","河","态","封","另","施","减","树","溶","怎","止","案","言","士","均","武","固","叶","鱼","波","视","仅","费","紧","爱","左","章","早","朝","害","续","轻","服","试","食","充","兵","源","判","护","司","足","某","练","差","致","板","田","降","黑","犯","负","击","范","继","兴","似","余","坚","曲","输","修","故","城","夫","够","送","笔","船","占","右","财","吃","富","春","职","觉","汉","画","功","巴","跟","虽","杂","飞","检","吸","助","升","阳","互","初","创","抗","考","投","坏","策","古","径","换","未","跑","留","钢","曾","端","责","站","简","述","钱","副","尽","帝","射","草","冲","承","独","令","限","阿","宣","环","双","请","超","微","让","控","州","良","轴","找","否","纪","益","依","优","顶","础","载","倒","房","突","坐","粉","敌","略","客","袁","冷","胜","绝","析","块","剂","测","丝","协","诉","念","陈","仍","罗","盐","友","洋","错","苦","夜","刑","移","频","逐","靠","混","母","短","皮","终","聚","汽","村","云","哪","既","距","卫","停","烈","央","察","烧","迅","境","若","印","洲","刻","括","激","孔","搞","甚","室","待","核","校","散","侵","吧","甲","游","久","菜","味","旧","模","湖","货","损","预","阻","毫","普","稳","乙","妈","植","息","扩","银","语","挥","酒","守","拿","序","纸","医","缺","雨","吗","针","刘","啊","急","唱","误","训","愿","审","附","获","茶","鲜","粮","斤","孩","脱","硫","肥","善","龙","演","父","渐","血","欢","械","掌","歌","沙","刚","攻","谓","盾","讨","晚","粒","乱","燃","矛","乎","杀","药","宁","鲁","贵","钟","煤","读","班","伯","香","介","迫","句","丰","培","握","兰","担","弦","蛋","沉","假","穿","执","答","乐","谁","顺","烟","缩","征","脸","喜","松","脚","困","异","免","背","星","福","买","染","井","概","慢","怕","磁","倍","祖","皇","促","静","补","评","翻","肉","践","尼","衣","宽","扬","棉","希","伤","操","垂","秋","宜","氢","套","督","振","架","亮","末","宪","庆","编","牛","触","映","雷","销","诗","座","居","抓","裂","胞","呼","娘","景","威","绿","晶","厚","盟","衡","鸡","孙","延","危","胶","屋","乡","临","陆","顾","掉","呀","灯","岁","措","束","耐","剧","玉","赵","跳","哥","季","课","凯","胡","额","款","绍","卷","齐","伟","蒸","殖","永","宗","苗","川","炉","岩","弱","零","杨","奏","沿","露","杆","探","滑","镇","饭","浓","航","怀","赶","库","夺","伊","灵","税","途","灭","赛","归","召","鼓","播","盘","裁","险","康","唯","录","菌","纯","借","糖","盖","横","符","私","努","堂","域","枪","润","幅","哈","竟","熟","虫","泽","脑","壤","碳","欧","遍","侧","寨","敢","彻","虑","斜","薄","庭","纳","弹","饲","伸","折","麦","湿","暗","荷","瓦","塞","床","筑","恶","户","访","塔","奇","透","梁","刀","旋","迹","卡","氯","遇","份","毒","泥","退","洗","摆","灰","彩","卖","耗","夏","择","忙","铜","献","硬","予","繁","圈","雪","函","亦","抽","篇","阵","阴","丁","尺","追","堆","雄","迎","泛","爸","楼","避","谋","吨","野","猪","旗","累","偏","典","馆","索","秦","脂","潮","爷","豆","忽","托","惊","塑","遗","愈","朱","替","纤","粗","倾","尚","痛","楚","谢","奋","购","磨","君","池","旁","碎","骨","监","捕","弟","暴","割","贯","殊","释","词","亡","壁","顿","宝","午","尘","闻","揭","炮","残","冬","桥","妇","警","综","招","吴","付","浮","遭","徐","您","摇","谷","赞","箱","隔","订","男","吹","园","纷","唐","败","宋","玻","巨","耕","坦","荣","闭","湾","键","凡","驻","锅","救","恩","剥","凝","碱","齿","截","炼","麻","纺","禁","废","盛","版","缓","净","睛","昌","婚","涉","筒","嘴","插","岸","朗","庄","街","藏","姑","贸","腐","奴","啦","惯","乘","伙","恢","匀","纱","扎","辩","耳","彪","臣","亿","璃","抵","脉","秀","萨","俄","网","舞","店","喷","纵","寸","汗","挂","洪","贺","闪","柬","爆","烯","津","稻","墙","软","勇","像","滚","厘","蒙","芳","肯","坡","柱","荡","腿","仪","旅","尾","轧","冰","贡","登","黎","削","钻","勒","逃","障","氨","郭","峰","币","港","伏","轨","亩","毕","擦","莫","刺","浪","秘","援","株","健","售","股","岛","甘","泡","睡","童","铸","汤","阀","休","汇","舍","牧","绕","炸","哲","磷","绩","朋","淡","尖","启","陷","柴","呈","徒","颜","泪","稍","忘","泵","蓝","拖","洞","授","镜","辛","壮","锋","贫","虚","弯","摩","泰","幼","廷","尊","窗","纲","弄","隶","疑","氏","宫","姐","震","瑞","怪","尤","琴","循","描","膜","违","夹","腰","缘","珠","穷","森","枝","竹","沟","催","绳","忆","邦","剩","幸","浆","栏","拥","牙","贮","礼","滤","钠","纹","罢","拍","咱","喊","袖","埃","勤","罚","焦","潜","伍","墨","欲","缝","姓","刊","饱","仿","奖","铝","鬼","丽","跨","默","挖","链","扫","喝","袋","炭","污","幕","诸","弧","励","梅","奶","洁","灾","舟","鉴","苯","讼","抱","毁","懂","寒","智","埔","寄","届","跃","渡","挑","丹","艰","贝","碰","拔","爹","戴","码","梦","芽","熔","赤","渔","哭","敬","颗","奔","铅","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","仓","魏","锐","晓","氮","兼","隐","碍","赫","拨","忠","肃","缸","牵","抢","博","巧","壳","兄","杜","讯","诚","碧","祥","柯","页","巡","矩","悲","灌","龄","伦","票","寻","桂","铺","圣","恐","恰","郑","趣","抬","荒","腾","贴","柔","滴","猛","阔","辆","妻","填","撤","储","签","闹","扰","紫","砂","递","戏","吊","陶","伐","喂","疗","瓶","婆","抚","臂","摸","忍","虾","蜡","邻","胸","巩","挤","偶","弃","槽","劲","乳","邓","吉","仁","烂","砖","租","乌","舰","伴","瓜","浅","丙","暂","燥","橡","柳","迷","暖","牌","秧","胆","详","簧","踏","瓷","谱","呆","宾","糊","洛","辉","愤","竞","隙","怒","粘","乃","绪","肩","籍","敏","涂","熙","皆","侦","悬","掘","享","纠","醒","狂","锁","淀","恨","牲","霸","爬","赏","逆","玩","陵","祝","秒","浙","貌","役","彼","悉","鸭","趋","凤","晨","畜","辈","秩","卵","署","梯","炎","滩","棋","驱","筛","峡","冒","啥","寿","译","浸","泉","帽","迟","硅","疆","贷","漏","稿","冠","嫩","胁","芯","牢","叛","蚀","奥","鸣","岭","羊","凭","串","塘","绘","酵","融","盆","锡","庙","筹","冻","辅","摄","袭","筋","拒","僚","旱","钾","鸟","漆","沈","眉","疏","添","棒","穗","硝","韩","逼","扭","侨","凉","挺","碗","栽","炒","杯","患","馏","劝","豪","辽","勃","鸿","旦","吏","拜","狗","埋","辊","掩","饮","搬","骂","辞","勾","扣","估","蒋","绒","雾","丈","朵","姆","拟","宇","辑","陕","雕","偿","蓄","崇","剪","倡","厅","咬","驶","薯","刷","斥","番","赋","奉","佛","浇","漫","曼","扇","钙","桃","扶","仔","返","俗","亏","腔","鞋","棱","覆","框","悄","叔","撞","骗","勘","旺","沸","孤","吐","孟","渠","屈","疾","妙","惜","仰","狠","胀","谐","抛","霉","桑","岗","嘛","衰","盗","渗","脏","赖","涌","甜","曹","阅","肌","哩","厉","烃","纬","毅","昨","伪","症","煮","叹","钉","搭","茎","笼","酷","偷","弓","锥","恒","杰","坑","鼻","翼","纶","叙","狱","逮","罐","络","棚","抑","膨","蔬","寺","骤","穆","冶","枯","册","尸","凸","绅","坯","牺","焰","轰","欣","晋","瘦","御","锭","锦","丧","旬","锻","垄","搜","扑","邀","亭","酯","迈","舒","脆","酶","闲","忧","酚","顽","羽","涨","卸","仗","陪","辟","惩","杭","姚","肚","捉","飘","漂","昆","欺","吾","郎","烷","汁","呵","饰","萧","雅","邮","迁","燕","撒","姻","赴","宴","烦","债","帐","斑","铃","旨","醇","董","饼","雏","姿","拌","傅","腹","妥","揉","贤","拆","歪","葡","胺","丢","浩","徽","昂","垫","挡","览","贪","慰","缴","汪","慌","冯","诺","姜","谊","凶","劣","诬","耀","昏","躺","盈","骑","乔","溪","丛","卢","抹","闷","咨","刮","驾","缆","悟","摘","铒","掷","颇","幻","柄","惠","惨","佳","仇","腊","窝","涤","剑","瞧","堡","泼","葱","罩","霍","捞","胎","苍","滨","俩","捅","湘","砍","霞","邵","萄","疯","淮","遂","熊","粪","烘","宿","档","戈","驳","嫂","裕","徙","箭","捐","肠","撑","晒","辨","殿","莲","摊","搅","酱","屏","疫","哀","蔡","堵","沫","皱","畅","叠","阁","莱","敲","辖","钩","痕","坝","巷","饿","祸","丘","玄","溜","曰","逻","彭","尝","卿","妨","艇","吞","韦","怨","矮","歇"]')},function(e){e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","這","中","大","為","上","個","國","我","以","要","他","時","來","用","們","生","到","作","地","於","出","就","分","對","成","會","可","主","發","年","動","同","工","也","能","下","過","子","說","產","種","面","而","方","後","多","定","行","學","法","所","民","得","經","十","三","之","進","著","等","部","度","家","電","力","裡","如","水","化","高","自","二","理","起","小","物","現","實","加","量","都","兩","體","制","機","當","使","點","從","業","本","去","把","性","好","應","開","它","合","還","因","由","其","些","然","前","外","天","政","四","日","那","社","義","事","平","形","相","全","表","間","樣","與","關","各","重","新","線","內","數","正","心","反","你","明","看","原","又","麼","利","比","或","但","質","氣","第","向","道","命","此","變","條","只","沒","結","解","問","意","建","月","公","無","系","軍","很","情","者","最","立","代","想","已","通","並","提","直","題","黨","程","展","五","果","料","象","員","革","位","入","常","文","總","次","品","式","活","設","及","管","特","件","長","求","老","頭","基","資","邊","流","路","級","少","圖","山","統","接","知","較","將","組","見","計","別","她","手","角","期","根","論","運","農","指","幾","九","區","強","放","決","西","被","幹","做","必","戰","先","回","則","任","取","據","處","隊","南","給","色","光","門","即","保","治","北","造","百","規","熱","領","七","海","口","東","導","器","壓","志","世","金","增","爭","濟","階","油","思","術","極","交","受","聯","什","認","六","共","權","收","證","改","清","美","再","採","轉","更","單","風","切","打","白","教","速","花","帶","安","場","身","車","例","真","務","具","萬","每","目","至","達","走","積","示","議","聲","報","鬥","完","類","八","離","華","名","確","才","科","張","信","馬","節","話","米","整","空","元","況","今","集","溫","傳","土","許","步","群","廣","石","記","需","段","研","界","拉","林","律","叫","且","究","觀","越","織","裝","影","算","低","持","音","眾","書","布","复","容","兒","須","際","商","非","驗","連","斷","深","難","近","礦","千","週","委","素","技","備","半","辦","青","省","列","習","響","約","支","般","史","感","勞","便","團","往","酸","歷","市","克","何","除","消","構","府","稱","太","準","精","值","號","率","族","維","劃","選","標","寫","存","候","毛","親","快","效","斯","院","查","江","型","眼","王","按","格","養","易","置","派","層","片","始","卻","專","狀","育","廠","京","識","適","屬","圓","包","火","住","調","滿","縣","局","照","參","紅","細","引","聽","該","鐵","價","嚴","首","底","液","官","德","隨","病","蘇","失","爾","死","講","配","女","黃","推","顯","談","罪","神","藝","呢","席","含","企","望","密","批","營","項","防","舉","球","英","氧","勢","告","李","台","落","木","幫","輪","破","亞","師","圍","注","遠","字","材","排","供","河","態","封","另","施","減","樹","溶","怎","止","案","言","士","均","武","固","葉","魚","波","視","僅","費","緊","愛","左","章","早","朝","害","續","輕","服","試","食","充","兵","源","判","護","司","足","某","練","差","致","板","田","降","黑","犯","負","擊","范","繼","興","似","餘","堅","曲","輸","修","故","城","夫","夠","送","筆","船","佔","右","財","吃","富","春","職","覺","漢","畫","功","巴","跟","雖","雜","飛","檢","吸","助","昇","陽","互","初","創","抗","考","投","壞","策","古","徑","換","未","跑","留","鋼","曾","端","責","站","簡","述","錢","副","盡","帝","射","草","衝","承","獨","令","限","阿","宣","環","雙","請","超","微","讓","控","州","良","軸","找","否","紀","益","依","優","頂","礎","載","倒","房","突","坐","粉","敵","略","客","袁","冷","勝","絕","析","塊","劑","測","絲","協","訴","念","陳","仍","羅","鹽","友","洋","錯","苦","夜","刑","移","頻","逐","靠","混","母","短","皮","終","聚","汽","村","雲","哪","既","距","衛","停","烈","央","察","燒","迅","境","若","印","洲","刻","括","激","孔","搞","甚","室","待","核","校","散","侵","吧","甲","遊","久","菜","味","舊","模","湖","貨","損","預","阻","毫","普","穩","乙","媽","植","息","擴","銀","語","揮","酒","守","拿","序","紙","醫","缺","雨","嗎","針","劉","啊","急","唱","誤","訓","願","審","附","獲","茶","鮮","糧","斤","孩","脫","硫","肥","善","龍","演","父","漸","血","歡","械","掌","歌","沙","剛","攻","謂","盾","討","晚","粒","亂","燃","矛","乎","殺","藥","寧","魯","貴","鐘","煤","讀","班","伯","香","介","迫","句","豐","培","握","蘭","擔","弦","蛋","沉","假","穿","執","答","樂","誰","順","煙","縮","徵","臉","喜","松","腳","困","異","免","背","星","福","買","染","井","概","慢","怕","磁","倍","祖","皇","促","靜","補","評","翻","肉","踐","尼","衣","寬","揚","棉","希","傷","操","垂","秋","宜","氫","套","督","振","架","亮","末","憲","慶","編","牛","觸","映","雷","銷","詩","座","居","抓","裂","胞","呼","娘","景","威","綠","晶","厚","盟","衡","雞","孫","延","危","膠","屋","鄉","臨","陸","顧","掉","呀","燈","歲","措","束","耐","劇","玉","趙","跳","哥","季","課","凱","胡","額","款","紹","卷","齊","偉","蒸","殖","永","宗","苗","川","爐","岩","弱","零","楊","奏","沿","露","桿","探","滑","鎮","飯","濃","航","懷","趕","庫","奪","伊","靈","稅","途","滅","賽","歸","召","鼓","播","盤","裁","險","康","唯","錄","菌","純","借","糖","蓋","橫","符","私","努","堂","域","槍","潤","幅","哈","竟","熟","蟲","澤","腦","壤","碳","歐","遍","側","寨","敢","徹","慮","斜","薄","庭","納","彈","飼","伸","折","麥","濕","暗","荷","瓦","塞","床","築","惡","戶","訪","塔","奇","透","梁","刀","旋","跡","卡","氯","遇","份","毒","泥","退","洗","擺","灰","彩","賣","耗","夏","擇","忙","銅","獻","硬","予","繁","圈","雪","函","亦","抽","篇","陣","陰","丁","尺","追","堆","雄","迎","泛","爸","樓","避","謀","噸","野","豬","旗","累","偏","典","館","索","秦","脂","潮","爺","豆","忽","托","驚","塑","遺","愈","朱","替","纖","粗","傾","尚","痛","楚","謝","奮","購","磨","君","池","旁","碎","骨","監","捕","弟","暴","割","貫","殊","釋","詞","亡","壁","頓","寶","午","塵","聞","揭","炮","殘","冬","橋","婦","警","綜","招","吳","付","浮","遭","徐","您","搖","谷","贊","箱","隔","訂","男","吹","園","紛","唐","敗","宋","玻","巨","耕","坦","榮","閉","灣","鍵","凡","駐","鍋","救","恩","剝","凝","鹼","齒","截","煉","麻","紡","禁","廢","盛","版","緩","淨","睛","昌","婚","涉","筒","嘴","插","岸","朗","莊","街","藏","姑","貿","腐","奴","啦","慣","乘","夥","恢","勻","紗","扎","辯","耳","彪","臣","億","璃","抵","脈","秀","薩","俄","網","舞","店","噴","縱","寸","汗","掛","洪","賀","閃","柬","爆","烯","津","稻","牆","軟","勇","像","滾","厘","蒙","芳","肯","坡","柱","盪","腿","儀","旅","尾","軋","冰","貢","登","黎","削","鑽","勒","逃","障","氨","郭","峰","幣","港","伏","軌","畝","畢","擦","莫","刺","浪","秘","援","株","健","售","股","島","甘","泡","睡","童","鑄","湯","閥","休","匯","舍","牧","繞","炸","哲","磷","績","朋","淡","尖","啟","陷","柴","呈","徒","顏","淚","稍","忘","泵","藍","拖","洞","授","鏡","辛","壯","鋒","貧","虛","彎","摩","泰","幼","廷","尊","窗","綱","弄","隸","疑","氏","宮","姐","震","瑞","怪","尤","琴","循","描","膜","違","夾","腰","緣","珠","窮","森","枝","竹","溝","催","繩","憶","邦","剩","幸","漿","欄","擁","牙","貯","禮","濾","鈉","紋","罷","拍","咱","喊","袖","埃","勤","罰","焦","潛","伍","墨","欲","縫","姓","刊","飽","仿","獎","鋁","鬼","麗","跨","默","挖","鏈","掃","喝","袋","炭","污","幕","諸","弧","勵","梅","奶","潔","災","舟","鑑","苯","訟","抱","毀","懂","寒","智","埔","寄","屆","躍","渡","挑","丹","艱","貝","碰","拔","爹","戴","碼","夢","芽","熔","赤","漁","哭","敬","顆","奔","鉛","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","倉","魏","銳","曉","氮","兼","隱","礙","赫","撥","忠","肅","缸","牽","搶","博","巧","殼","兄","杜","訊","誠","碧","祥","柯","頁","巡","矩","悲","灌","齡","倫","票","尋","桂","鋪","聖","恐","恰","鄭","趣","抬","荒","騰","貼","柔","滴","猛","闊","輛","妻","填","撤","儲","簽","鬧","擾","紫","砂","遞","戲","吊","陶","伐","餵","療","瓶","婆","撫","臂","摸","忍","蝦","蠟","鄰","胸","鞏","擠","偶","棄","槽","勁","乳","鄧","吉","仁","爛","磚","租","烏","艦","伴","瓜","淺","丙","暫","燥","橡","柳","迷","暖","牌","秧","膽","詳","簧","踏","瓷","譜","呆","賓","糊","洛","輝","憤","競","隙","怒","粘","乃","緒","肩","籍","敏","塗","熙","皆","偵","懸","掘","享","糾","醒","狂","鎖","淀","恨","牲","霸","爬","賞","逆","玩","陵","祝","秒","浙","貌","役","彼","悉","鴨","趨","鳳","晨","畜","輩","秩","卵","署","梯","炎","灘","棋","驅","篩","峽","冒","啥","壽","譯","浸","泉","帽","遲","矽","疆","貸","漏","稿","冠","嫩","脅","芯","牢","叛","蝕","奧","鳴","嶺","羊","憑","串","塘","繪","酵","融","盆","錫","廟","籌","凍","輔","攝","襲","筋","拒","僚","旱","鉀","鳥","漆","沈","眉","疏","添","棒","穗","硝","韓","逼","扭","僑","涼","挺","碗","栽","炒","杯","患","餾","勸","豪","遼","勃","鴻","旦","吏","拜","狗","埋","輥","掩","飲","搬","罵","辭","勾","扣","估","蔣","絨","霧","丈","朵","姆","擬","宇","輯","陝","雕","償","蓄","崇","剪","倡","廳","咬","駛","薯","刷","斥","番","賦","奉","佛","澆","漫","曼","扇","鈣","桃","扶","仔","返","俗","虧","腔","鞋","棱","覆","框","悄","叔","撞","騙","勘","旺","沸","孤","吐","孟","渠","屈","疾","妙","惜","仰","狠","脹","諧","拋","黴","桑","崗","嘛","衰","盜","滲","臟","賴","湧","甜","曹","閱","肌","哩","厲","烴","緯","毅","昨","偽","症","煮","嘆","釘","搭","莖","籠","酷","偷","弓","錐","恆","傑","坑","鼻","翼","綸","敘","獄","逮","罐","絡","棚","抑","膨","蔬","寺","驟","穆","冶","枯","冊","屍","凸","紳","坯","犧","焰","轟","欣","晉","瘦","禦","錠","錦","喪","旬","鍛","壟","搜","撲","邀","亭","酯","邁","舒","脆","酶","閒","憂","酚","頑","羽","漲","卸","仗","陪","闢","懲","杭","姚","肚","捉","飄","漂","昆","欺","吾","郎","烷","汁","呵","飾","蕭","雅","郵","遷","燕","撒","姻","赴","宴","煩","債","帳","斑","鈴","旨","醇","董","餅","雛","姿","拌","傅","腹","妥","揉","賢","拆","歪","葡","胺","丟","浩","徽","昂","墊","擋","覽","貪","慰","繳","汪","慌","馮","諾","姜","誼","兇","劣","誣","耀","昏","躺","盈","騎","喬","溪","叢","盧","抹","悶","諮","刮","駕","纜","悟","摘","鉺","擲","頗","幻","柄","惠","慘","佳","仇","臘","窩","滌","劍","瞧","堡","潑","蔥","罩","霍","撈","胎","蒼","濱","倆","捅","湘","砍","霞","邵","萄","瘋","淮","遂","熊","糞","烘","宿","檔","戈","駁","嫂","裕","徙","箭","捐","腸","撐","曬","辨","殿","蓮","攤","攪","醬","屏","疫","哀","蔡","堵","沫","皺","暢","疊","閣","萊","敲","轄","鉤","痕","壩","巷","餓","禍","丘","玄","溜","曰","邏","彭","嘗","卿","妨","艇","吞","韋","怨","矮","歇"]')},function(e){e.exports=JSON.parse('["가격","가끔","가난","가능","가득","가르침","가뭄","가방","가상","가슴","가운데","가을","가이드","가입","가장","가정","가족","가죽","각오","각자","간격","간부","간섭","간장","간접","간판","갈등","갈비","갈색","갈증","감각","감기","감소","감수성","감자","감정","갑자기","강남","강당","강도","강력히","강변","강북","강사","강수량","강아지","강원도","강의","강제","강조","같이","개구리","개나리","개방","개별","개선","개성","개인","객관적","거실","거액","거울","거짓","거품","걱정","건강","건물","건설","건조","건축","걸음","검사","검토","게시판","게임","겨울","견해","결과","결국","결론","결석","결승","결심","결정","결혼","경계","경고","경기","경력","경복궁","경비","경상도","경영","경우","경쟁","경제","경주","경찰","경치","경향","경험","계곡","계단","계란","계산","계속","계약","계절","계층","계획","고객","고구려","고궁","고급","고등학생","고무신","고민","고양이","고장","고전","고집","고춧가루","고통","고향","곡식","골목","골짜기","골프","공간","공개","공격","공군","공급","공기","공동","공무원","공부","공사","공식","공업","공연","공원","공장","공짜","공책","공통","공포","공항","공휴일","과목","과일","과장","과정","과학","관객","관계","관광","관념","관람","관련","관리","관습","관심","관점","관찰","광경","광고","광장","광주","괴로움","굉장히","교과서","교문","교복","교실","교양","교육","교장","교직","교통","교환","교훈","구경","구름","구멍","구별","구분","구석","구성","구속","구역","구입","구청","구체적","국가","국기","국내","국립","국물","국민","국수","국어","국왕","국적","국제","국회","군대","군사","군인","궁극적","권리","권위","권투","귀국","귀신","규정","규칙","균형","그날","그냥","그늘","그러나","그룹","그릇","그림","그제서야","그토록","극복","극히","근거","근교","근래","근로","근무","근본","근원","근육","근처","글씨","글자","금강산","금고","금년","금메달","금액","금연","금요일","금지","긍정적","기간","기관","기념","기능","기독교","기둥","기록","기름","기법","기본","기분","기쁨","기숙사","기술","기억","기업","기온","기운","기원","기적","기준","기침","기혼","기획","긴급","긴장","길이","김밥","김치","김포공항","깍두기","깜빡","깨달음","깨소금","껍질","꼭대기","꽃잎","나들이","나란히","나머지","나물","나침반","나흘","낙엽","난방","날개","날씨","날짜","남녀","남대문","남매","남산","남자","남편","남학생","낭비","낱말","내년","내용","내일","냄비","냄새","냇물","냉동","냉면","냉방","냉장고","넥타이","넷째","노동","노란색","노력","노인","녹음","녹차","녹화","논리","논문","논쟁","놀이","농구","농담","농민","농부","농업","농장","농촌","높이","눈동자","눈물","눈썹","뉴욕","느낌","늑대","능동적","능력","다방","다양성","다음","다이어트","다행","단계","단골","단독","단맛","단순","단어","단위","단점","단체","단추","단편","단풍","달걀","달러","달력","달리","닭고기","담당","담배","담요","담임","답변","답장","당근","당분간","당연히","당장","대규모","대낮","대단히","대답","대도시","대략","대량","대륙","대문","대부분","대신","대응","대장","대전","대접","대중","대책","대출","대충","대통령","대학","대한민국","대합실","대형","덩어리","데이트","도대체","도덕","도둑","도망","도서관","도심","도움","도입","도자기","도저히","도전","도중","도착","독감","독립","독서","독일","독창적","동화책","뒷모습","뒷산","딸아이","마누라","마늘","마당","마라톤","마련","마무리","마사지","마약","마요네즈","마을","마음","마이크","마중","마지막","마찬가지","마찰","마흔","막걸리","막내","막상","만남","만두","만세","만약","만일","만점","만족","만화","많이","말기","말씀","말투","맘대로","망원경","매년","매달","매력","매번","매스컴","매일","매장","맥주","먹이","먼저","먼지","멀리","메일","며느리","며칠","면담","멸치","명단","명령","명예","명의","명절","명칭","명함","모금","모니터","모델","모든","모범","모습","모양","모임","모조리","모집","모퉁이","목걸이","목록","목사","목소리","목숨","목적","목표","몰래","몸매","몸무게","몸살","몸속","몸짓","몸통","몹시","무관심","무궁화","무더위","무덤","무릎","무슨","무엇","무역","무용","무조건","무지개","무척","문구","문득","문법","문서","문제","문학","문화","물가","물건","물결","물고기","물론","물리학","물음","물질","물체","미국","미디어","미사일","미술","미역","미용실","미움","미인","미팅","미혼","민간","민족","민주","믿음","밀가루","밀리미터","밑바닥","바가지","바구니","바나나","바늘","바닥","바닷가","바람","바이러스","바탕","박물관","박사","박수","반대","반드시","반말","반발","반성","반응","반장","반죽","반지","반찬","받침","발가락","발걸음","발견","발달","발레","발목","발바닥","발생","발음","발자국","발전","발톱","발표","밤하늘","밥그릇","밥맛","밥상","밥솥","방금","방면","방문","방바닥","방법","방송","방식","방안","방울","방지","방학","방해","방향","배경","배꼽","배달","배드민턴","백두산","백색","백성","백인","백제","백화점","버릇","버섯","버튼","번개","번역","번지","번호","벌금","벌레","벌써","범위","범인","범죄","법률","법원","법적","법칙","베이징","벨트","변경","변동","변명","변신","변호사","변화","별도","별명","별일","병실","병아리","병원","보관","보너스","보라색","보람","보름","보상","보안","보자기","보장","보전","보존","보통","보편적","보험","복도","복사","복숭아","복습","볶음","본격적","본래","본부","본사","본성","본인","본질","볼펜","봉사","봉지","봉투","부근","부끄러움","부담","부동산","부문","부분","부산","부상","부엌","부인","부작용","부장","부정","부족","부지런히","부친","부탁","부품","부회장","북부","북한","분노","분량","분리","분명","분석","분야","분위기","분필","분홍색","불고기","불과","불교","불꽃","불만","불법","불빛","불안","불이익","불행","브랜드","비극","비난","비닐","비둘기","비디오","비로소","비만","비명","비밀","비바람","비빔밥","비상","비용","비율","비중","비타민","비판","빌딩","빗물","빗방울","빗줄기","빛깔","빨간색","빨래","빨리","사건","사계절","사나이","사냥","사람","사랑","사립","사모님","사물","사방","사상","사생활","사설","사슴","사실","사업","사용","사월","사장","사전","사진","사촌","사춘기","사탕","사투리","사흘","산길","산부인과","산업","산책","살림","살인","살짝","삼계탕","삼국","삼십","삼월","삼촌","상관","상금","상대","상류","상반기","상상","상식","상업","상인","상자","상점","상처","상추","상태","상표","상품","상황","새벽","색깔","색연필","생각","생명","생물","생방송","생산","생선","생신","생일","생활","서랍","서른","서명","서민","서비스","서양","서울","서적","서점","서쪽","서클","석사","석유","선거","선물","선배","선생","선수","선원","선장","선전","선택","선풍기","설거지","설날","설렁탕","설명","설문","설사","설악산","설치","설탕","섭씨","성공","성당","성명","성별","성인","성장","성적","성질","성함","세금","세미나","세상","세월","세종대왕","세탁","센터","센티미터","셋째","소규모","소극적","소금","소나기","소년","소득","소망","소문","소설","소속","소아과","소용","소원","소음","소중히","소지품","소질","소풍","소형","속담","속도","속옷","손가락","손길","손녀","손님","손등","손목","손뼉","손실","손질","손톱","손해","솔직히","솜씨","송아지","송이","송편","쇠고기","쇼핑","수건","수년","수단","수돗물","수동적","수면","수명","수박","수상","수석","수술","수시로","수업","수염","수영","수입","수준","수집","수출","수컷","수필","수학","수험생","수화기","숙녀","숙소","숙제","순간","순서","순수","순식간","순위","숟가락","술병","술집","숫자","스님","스물","스스로","스승","스웨터","스위치","스케이트","스튜디오","스트레스","스포츠","슬쩍","슬픔","습관","습기","승객","승리","승부","승용차","승진","시각","시간","시골","시금치","시나리오","시댁","시리즈","시멘트","시민","시부모","시선","시설","시스템","시아버지","시어머니","시월","시인","시일","시작","시장","시절","시점","시중","시즌","시집","시청","시합","시험","식구","식기","식당","식량","식료품","식물","식빵","식사","식생활","식초","식탁","식품","신고","신규","신념","신문","신발","신비","신사","신세","신용","신제품","신청","신체","신화","실감","실내","실력","실례","실망","실수","실습","실시","실장","실정","실질적","실천","실체","실컷","실태","실패","실험","실현","심리","심부름","심사","심장","심정","심판","쌍둥이","씨름","씨앗","아가씨","아나운서","아드님","아들","아쉬움","아스팔트","아시아","아울러","아저씨","아줌마","아직","아침","아파트","아프리카","아픔","아홉","아흔","악기","악몽","악수","안개","안경","안과","안내","안녕","안동","안방","안부","안주","알루미늄","알코올","암시","암컷","압력","앞날","앞문","애인","애정","액수","앨범","야간","야단","야옹","약간","약국","약속","약수","약점","약품","약혼녀","양념","양력","양말","양배추","양주","양파","어둠","어려움","어른","어젯밤","어쨌든","어쩌다가","어쩐지","언니","언덕","언론","언어","얼굴","얼른","얼음","얼핏","엄마","업무","업종","업체","엉덩이","엉망","엉터리","엊그제","에너지","에어컨","엔진","여건","여고생","여관","여군","여권","여대생","여덟","여동생","여든","여론","여름","여섯","여성","여왕","여인","여전히","여직원","여학생","여행","역사","역시","역할","연결","연구","연극","연기","연락","연설","연세","연속","연습","연애","연예인","연인","연장","연주","연출","연필","연합","연휴","열기","열매","열쇠","열심히","열정","열차","열흘","염려","엽서","영국","영남","영상","영양","영역","영웅","영원히","영하","영향","영혼","영화","옆구리","옆방","옆집","예감","예금","예방","예산","예상","예선","예술","예습","예식장","예약","예전","예절","예정","예컨대","옛날","오늘","오락","오랫동안","오렌지","오로지","오른발","오븐","오십","오염","오월","오전","오직","오징어","오페라","오피스텔","오히려","옥상","옥수수","온갖","온라인","온몸","온종일","온통","올가을","올림픽","올해","옷차림","와이셔츠","와인","완성","완전","왕비","왕자","왜냐하면","왠지","외갓집","외국","외로움","외삼촌","외출","외침","외할머니","왼발","왼손","왼쪽","요금","요일","요즘","요청","용기","용서","용어","우산","우선","우승","우연히","우정","우체국","우편","운동","운명","운반","운전","운행","울산","울음","움직임","웃어른","웃음","워낙","원고","원래","원서","원숭이","원인","원장","원피스","월급","월드컵","월세","월요일","웨이터","위반","위법","위성","위원","위험","위협","윗사람","유난히","유럽","유명","유물","유산","유적","유치원","유학","유행","유형","육군","육상","육십","육체","은행","음력","음료","음반","음성","음식","음악","음주","의견","의논","의문","의복","의식","의심","의외로","의욕","의원","의학","이것","이곳","이념","이놈","이달","이대로","이동","이렇게","이력서","이론적","이름","이민","이발소","이별","이불","이빨","이상","이성","이슬","이야기","이용","이웃","이월","이윽고","이익","이전","이중","이튿날","이틀","이혼","인간","인격","인공","인구","인근","인기","인도","인류","인물","인생","인쇄","인연","인원","인재","인종","인천","인체","인터넷","인하","인형","일곱","일기","일단","일대","일등","일반","일본","일부","일상","일생","일손","일요일","일월","일정","일종","일주일","일찍","일체","일치","일행","일회용","임금","임무","입대","입력","입맛","입사","입술","입시","입원","입장","입학","자가용","자격","자극","자동","자랑","자부심","자식","자신","자연","자원","자율","자전거","자정","자존심","자판","작가","작년","작성","작업","작용","작은딸","작품","잔디","잔뜩","잔치","잘못","잠깐","잠수함","잠시","잠옷","잠자리","잡지","장관","장군","장기간","장래","장례","장르","장마","장면","장모","장미","장비","장사","장소","장식","장애인","장인","장점","장차","장학금","재능","재빨리","재산","재생","재작년","재정","재채기","재판","재학","재활용","저것","저고리","저곳","저녁","저런","저렇게","저번","저울","저절로","저축","적극","적당히","적성","적용","적응","전개","전공","전기","전달","전라도","전망","전문","전반","전부","전세","전시","전용","전자","전쟁","전주","전철","전체","전통","전혀","전후","절대","절망","절반","절약","절차","점검","점수","점심","점원","점점","점차","접근","접시","접촉","젓가락","정거장","정도","정류장","정리","정말","정면","정문","정반대","정보","정부","정비","정상","정성","정오","정원","정장","정지","정치","정확히","제공","제과점","제대로","제목","제발","제법","제삿날","제안","제일","제작","제주도","제출","제품","제한","조각","조건","조금","조깅","조명","조미료","조상","조선","조용히","조절","조정","조직","존댓말","존재","졸업","졸음","종교","종로","종류","종소리","종업원","종종","종합","좌석","죄인","주관적","주름","주말","주머니","주먹","주문","주민","주방","주변","주식","주인","주일","주장","주전자","주택","준비","줄거리","줄기","줄무늬","중간","중계방송","중국","중년","중단","중독","중반","중부","중세","중소기업","중순","중앙","중요","중학교","즉석","즉시","즐거움","증가","증거","증권","증상","증세","지각","지갑","지경","지극히","지금","지급","지능","지름길","지리산","지방","지붕","지식","지역","지우개","지원","지적","지점","지진","지출","직선","직업","직원","직장","진급","진동","진로","진료","진리","진짜","진찰","진출","진통","진행","질문","질병","질서","짐작","집단","집안","집중","짜증","찌꺼기","차남","차라리","차량","차림","차별","차선","차츰","착각","찬물","찬성","참가","참기름","참새","참석","참여","참외","참조","찻잔","창가","창고","창구","창문","창밖","창작","창조","채널","채점","책가방","책방","책상","책임","챔피언","처벌","처음","천국","천둥","천장","천재","천천히","철도","철저히","철학","첫날","첫째","청년","청바지","청소","청춘","체계","체력","체온","체육","체중","체험","초등학생","초반","초밥","초상화","초순","초여름","초원","초저녁","초점","초청","초콜릿","촛불","총각","총리","총장","촬영","최근","최상","최선","최신","최악","최종","추석","추억","추진","추천","추측","축구","축소","축제","축하","출근","출발","출산","출신","출연","출입","출장","출판","충격","충고","충돌","충분히","충청도","취업","취직","취향","치약","친구","친척","칠십","칠월","칠판","침대","침묵","침실","칫솔","칭찬","카메라","카운터","칼국수","캐릭터","캠퍼스","캠페인","커튼","컨디션","컬러","컴퓨터","코끼리","코미디","콘서트","콜라","콤플렉스","콩나물","쾌감","쿠데타","크림","큰길","큰딸","큰소리","큰아들","큰어머니","큰일","큰절","클래식","클럽","킬로","타입","타자기","탁구","탁자","탄생","태권도","태양","태풍","택시","탤런트","터널","터미널","테니스","테스트","테이블","텔레비전","토론","토마토","토요일","통계","통과","통로","통신","통역","통일","통장","통제","통증","통합","통화","퇴근","퇴원","퇴직금","튀김","트럭","특급","특별","특성","특수","특징","특히","튼튼히","티셔츠","파란색","파일","파출소","판결","판단","판매","판사","팔십","팔월","팝송","패션","팩스","팩시밀리","팬티","퍼센트","페인트","편견","편의","편지","편히","평가","평균","평생","평소","평양","평일","평화","포스터","포인트","포장","포함","표면","표정","표준","표현","품목","품질","풍경","풍속","풍습","프랑스","프린터","플라스틱","피곤","피망","피아노","필름","필수","필요","필자","필통","핑계","하느님","하늘","하드웨어","하룻밤","하반기","하숙집","하순","하여튼","하지만","하천","하품","하필","학과","학교","학급","학기","학년","학력","학번","학부모","학비","학생","학술","학습","학용품","학원","학위","학자","학점","한계","한글","한꺼번에","한낮","한눈","한동안","한때","한라산","한마디","한문","한번","한복","한식","한여름","한쪽","할머니","할아버지","할인","함께","함부로","합격","합리적","항공","항구","항상","항의","해결","해군","해답","해당","해물","해석","해설","해수욕장","해안","핵심","핸드백","햄버거","햇볕","햇살","행동","행복","행사","행운","행위","향기","향상","향수","허락","허용","헬기","현관","현금","현대","현상","현실","현장","현재","현지","혈액","협력","형부","형사","형수","형식","형제","형태","형편","혜택","호기심","호남","호랑이","호박","호텔","호흡","혹시","홀로","홈페이지","홍보","홍수","홍차","화면","화분","화살","화요일","화장","화학","확보","확인","확장","확정","환갑","환경","환영","환율","환자","활기","활동","활발히","활용","활짝","회견","회관","회복","회색","회원","회장","회전","횟수","횡단보도","효율적","후반","후춧가루","훈련","훨씬","휴식","휴일","흉내","흐름","흑백","흑인","흔적","흔히","흥미","흥분","희곡","희망","희생","흰색","힘껏"]')},function(e){e.exports=JSON.parse('["abaisser","abandon","abdiquer","abeille","abolir","aborder","aboutir","aboyer","abrasif","abreuver","abriter","abroger","abrupt","absence","absolu","absurde","abusif","abyssal","académie","acajou","acarien","accabler","accepter","acclamer","accolade","accroche","accuser","acerbe","achat","acheter","aciduler","acier","acompte","acquérir","acronyme","acteur","actif","actuel","adepte","adéquat","adhésif","adjectif","adjuger","admettre","admirer","adopter","adorer","adoucir","adresse","adroit","adulte","adverbe","aérer","aéronef","affaire","affecter","affiche","affreux","affubler","agacer","agencer","agile","agiter","agrafer","agréable","agrume","aider","aiguille","ailier","aimable","aisance","ajouter","ajuster","alarmer","alchimie","alerte","algèbre","algue","aliéner","aliment","alléger","alliage","allouer","allumer","alourdir","alpaga","altesse","alvéole","amateur","ambigu","ambre","aménager","amertume","amidon","amiral","amorcer","amour","amovible","amphibie","ampleur","amusant","analyse","anaphore","anarchie","anatomie","ancien","anéantir","angle","angoisse","anguleux","animal","annexer","annonce","annuel","anodin","anomalie","anonyme","anormal","antenne","antidote","anxieux","apaiser","apéritif","aplanir","apologie","appareil","appeler","apporter","appuyer","aquarium","aqueduc","arbitre","arbuste","ardeur","ardoise","argent","arlequin","armature","armement","armoire","armure","arpenter","arracher","arriver","arroser","arsenic","artériel","article","aspect","asphalte","aspirer","assaut","asservir","assiette","associer","assurer","asticot","astre","astuce","atelier","atome","atrium","atroce","attaque","attentif","attirer","attraper","aubaine","auberge","audace","audible","augurer","aurore","automne","autruche","avaler","avancer","avarice","avenir","averse","aveugle","aviateur","avide","avion","aviser","avoine","avouer","avril","axial","axiome","badge","bafouer","bagage","baguette","baignade","balancer","balcon","baleine","balisage","bambin","bancaire","bandage","banlieue","bannière","banquier","barbier","baril","baron","barque","barrage","bassin","bastion","bataille","bateau","batterie","baudrier","bavarder","belette","bélier","belote","bénéfice","berceau","berger","berline","bermuda","besace","besogne","bétail","beurre","biberon","bicycle","bidule","bijou","bilan","bilingue","billard","binaire","biologie","biopsie","biotype","biscuit","bison","bistouri","bitume","bizarre","blafard","blague","blanchir","blessant","blinder","blond","bloquer","blouson","bobard","bobine","boire","boiser","bolide","bonbon","bondir","bonheur","bonifier","bonus","bordure","borne","botte","boucle","boueux","bougie","boulon","bouquin","bourse","boussole","boutique","boxeur","branche","brasier","brave","brebis","brèche","breuvage","bricoler","brigade","brillant","brioche","brique","brochure","broder","bronzer","brousse","broyeur","brume","brusque","brutal","bruyant","buffle","buisson","bulletin","bureau","burin","bustier","butiner","butoir","buvable","buvette","cabanon","cabine","cachette","cadeau","cadre","caféine","caillou","caisson","calculer","calepin","calibre","calmer","calomnie","calvaire","camarade","caméra","camion","campagne","canal","caneton","canon","cantine","canular","capable","caporal","caprice","capsule","capter","capuche","carabine","carbone","caresser","caribou","carnage","carotte","carreau","carton","cascade","casier","casque","cassure","causer","caution","cavalier","caverne","caviar","cédille","ceinture","céleste","cellule","cendrier","censurer","central","cercle","cérébral","cerise","cerner","cerveau","cesser","chagrin","chaise","chaleur","chambre","chance","chapitre","charbon","chasseur","chaton","chausson","chavirer","chemise","chenille","chéquier","chercher","cheval","chien","chiffre","chignon","chimère","chiot","chlorure","chocolat","choisir","chose","chouette","chrome","chute","cigare","cigogne","cimenter","cinéma","cintrer","circuler","cirer","cirque","citerne","citoyen","citron","civil","clairon","clameur","claquer","classe","clavier","client","cligner","climat","clivage","cloche","clonage","cloporte","cobalt","cobra","cocasse","cocotier","coder","codifier","coffre","cogner","cohésion","coiffer","coincer","colère","colibri","colline","colmater","colonel","combat","comédie","commande","compact","concert","conduire","confier","congeler","connoter","consonne","contact","convexe","copain","copie","corail","corbeau","cordage","corniche","corpus","correct","cortège","cosmique","costume","coton","coude","coupure","courage","couteau","couvrir","coyote","crabe","crainte","cravate","crayon","créature","créditer","crémeux","creuser","crevette","cribler","crier","cristal","critère","croire","croquer","crotale","crucial","cruel","crypter","cubique","cueillir","cuillère","cuisine","cuivre","culminer","cultiver","cumuler","cupide","curatif","curseur","cyanure","cycle","cylindre","cynique","daigner","damier","danger","danseur","dauphin","débattre","débiter","déborder","débrider","débutant","décaler","décembre","déchirer","décider","déclarer","décorer","décrire","décupler","dédale","déductif","déesse","défensif","défiler","défrayer","dégager","dégivrer","déglutir","dégrafer","déjeuner","délice","déloger","demander","demeurer","démolir","dénicher","dénouer","dentelle","dénuder","départ","dépenser","déphaser","déplacer","déposer","déranger","dérober","désastre","descente","désert","désigner","désobéir","dessiner","destrier","détacher","détester","détourer","détresse","devancer","devenir","deviner","devoir","diable","dialogue","diamant","dicter","différer","digérer","digital","digne","diluer","dimanche","diminuer","dioxyde","directif","diriger","discuter","disposer","dissiper","distance","divertir","diviser","docile","docteur","dogme","doigt","domaine","domicile","dompter","donateur","donjon","donner","dopamine","dortoir","dorure","dosage","doseur","dossier","dotation","douanier","double","douceur","douter","doyen","dragon","draper","dresser","dribbler","droiture","duperie","duplexe","durable","durcir","dynastie","éblouir","écarter","écharpe","échelle","éclairer","éclipse","éclore","écluse","école","économie","écorce","écouter","écraser","écrémer","écrivain","écrou","écume","écureuil","édifier","éduquer","effacer","effectif","effigie","effort","effrayer","effusion","égaliser","égarer","éjecter","élaborer","élargir","électron","élégant","éléphant","élève","éligible","élitisme","éloge","élucider","éluder","emballer","embellir","embryon","émeraude","émission","emmener","émotion","émouvoir","empereur","employer","emporter","emprise","émulsion","encadrer","enchère","enclave","encoche","endiguer","endosser","endroit","enduire","énergie","enfance","enfermer","enfouir","engager","engin","englober","énigme","enjamber","enjeu","enlever","ennemi","ennuyeux","enrichir","enrobage","enseigne","entasser","entendre","entier","entourer","entraver","énumérer","envahir","enviable","envoyer","enzyme","éolien","épaissir","épargne","épatant","épaule","épicerie","épidémie","épier","épilogue","épine","épisode","épitaphe","époque","épreuve","éprouver","épuisant","équerre","équipe","ériger","érosion","erreur","éruption","escalier","espadon","espèce","espiègle","espoir","esprit","esquiver","essayer","essence","essieu","essorer","estime","estomac","estrade","étagère","étaler","étanche","étatique","éteindre","étendoir","éternel","éthanol","éthique","ethnie","étirer","étoffer","étoile","étonnant","étourdir","étrange","étroit","étude","euphorie","évaluer","évasion","éventail","évidence","éviter","évolutif","évoquer","exact","exagérer","exaucer","exceller","excitant","exclusif","excuse","exécuter","exemple","exercer","exhaler","exhorter","exigence","exiler","exister","exotique","expédier","explorer","exposer","exprimer","exquis","extensif","extraire","exulter","fable","fabuleux","facette","facile","facture","faiblir","falaise","fameux","famille","farceur","farfelu","farine","farouche","fasciner","fatal","fatigue","faucon","fautif","faveur","favori","fébrile","féconder","fédérer","félin","femme","fémur","fendoir","féodal","fermer","féroce","ferveur","festival","feuille","feutre","février","fiasco","ficeler","fictif","fidèle","figure","filature","filetage","filière","filleul","filmer","filou","filtrer","financer","finir","fiole","firme","fissure","fixer","flairer","flamme","flasque","flatteur","fléau","flèche","fleur","flexion","flocon","flore","fluctuer","fluide","fluvial","folie","fonderie","fongible","fontaine","forcer","forgeron","formuler","fortune","fossile","foudre","fougère","fouiller","foulure","fourmi","fragile","fraise","franchir","frapper","frayeur","frégate","freiner","frelon","frémir","frénésie","frère","friable","friction","frisson","frivole","froid","fromage","frontal","frotter","fruit","fugitif","fuite","fureur","furieux","furtif","fusion","futur","gagner","galaxie","galerie","gambader","garantir","gardien","garnir","garrigue","gazelle","gazon","géant","gélatine","gélule","gendarme","général","génie","genou","gentil","géologie","géomètre","géranium","germe","gestuel","geyser","gibier","gicler","girafe","givre","glace","glaive","glisser","globe","gloire","glorieux","golfeur","gomme","gonfler","gorge","gorille","goudron","gouffre","goulot","goupille","gourmand","goutte","graduel","graffiti","graine","grand","grappin","gratuit","gravir","grenat","griffure","griller","grimper","grogner","gronder","grotte","groupe","gruger","grutier","gruyère","guépard","guerrier","guide","guimauve","guitare","gustatif","gymnaste","gyrostat","habitude","hachoir","halte","hameau","hangar","hanneton","haricot","harmonie","harpon","hasard","hélium","hématome","herbe","hérisson","hermine","héron","hésiter","heureux","hiberner","hibou","hilarant","histoire","hiver","homard","hommage","homogène","honneur","honorer","honteux","horde","horizon","horloge","hormone","horrible","houleux","housse","hublot","huileux","humain","humble","humide","humour","hurler","hydromel","hygiène","hymne","hypnose","idylle","ignorer","iguane","illicite","illusion","image","imbiber","imiter","immense","immobile","immuable","impact","impérial","implorer","imposer","imprimer","imputer","incarner","incendie","incident","incliner","incolore","indexer","indice","inductif","inédit","ineptie","inexact","infini","infliger","informer","infusion","ingérer","inhaler","inhiber","injecter","injure","innocent","inoculer","inonder","inscrire","insecte","insigne","insolite","inspirer","instinct","insulter","intact","intense","intime","intrigue","intuitif","inutile","invasion","inventer","inviter","invoquer","ironique","irradier","irréel","irriter","isoler","ivoire","ivresse","jaguar","jaillir","jambe","janvier","jardin","jauger","jaune","javelot","jetable","jeton","jeudi","jeunesse","joindre","joncher","jongler","joueur","jouissif","journal","jovial","joyau","joyeux","jubiler","jugement","junior","jupon","juriste","justice","juteux","juvénile","kayak","kimono","kiosque","label","labial","labourer","lacérer","lactose","lagune","laine","laisser","laitier","lambeau","lamelle","lampe","lanceur","langage","lanterne","lapin","largeur","larme","laurier","lavabo","lavoir","lecture","légal","léger","légume","lessive","lettre","levier","lexique","lézard","liasse","libérer","libre","licence","licorne","liège","lièvre","ligature","ligoter","ligue","limer","limite","limonade","limpide","linéaire","lingot","lionceau","liquide","lisière","lister","lithium","litige","littoral","livreur","logique","lointain","loisir","lombric","loterie","louer","lourd","loutre","louve","loyal","lubie","lucide","lucratif","lueur","lugubre","luisant","lumière","lunaire","lundi","luron","lutter","luxueux","machine","magasin","magenta","magique","maigre","maillon","maintien","mairie","maison","majorer","malaxer","maléfice","malheur","malice","mallette","mammouth","mandater","maniable","manquant","manteau","manuel","marathon","marbre","marchand","mardi","maritime","marqueur","marron","marteler","mascotte","massif","matériel","matière","matraque","maudire","maussade","mauve","maximal","méchant","méconnu","médaille","médecin","méditer","méduse","meilleur","mélange","mélodie","membre","mémoire","menacer","mener","menhir","mensonge","mentor","mercredi","mérite","merle","messager","mesure","métal","météore","méthode","métier","meuble","miauler","microbe","miette","mignon","migrer","milieu","million","mimique","mince","minéral","minimal","minorer","minute","miracle","miroiter","missile","mixte","mobile","moderne","moelleux","mondial","moniteur","monnaie","monotone","monstre","montagne","monument","moqueur","morceau","morsure","mortier","moteur","motif","mouche","moufle","moulin","mousson","mouton","mouvant","multiple","munition","muraille","murène","murmure","muscle","muséum","musicien","mutation","muter","mutuel","myriade","myrtille","mystère","mythique","nageur","nappe","narquois","narrer","natation","nation","nature","naufrage","nautique","navire","nébuleux","nectar","néfaste","négation","négliger","négocier","neige","nerveux","nettoyer","neurone","neutron","neveu","niche","nickel","nitrate","niveau","noble","nocif","nocturne","noirceur","noisette","nomade","nombreux","nommer","normatif","notable","notifier","notoire","nourrir","nouveau","novateur","novembre","novice","nuage","nuancer","nuire","nuisible","numéro","nuptial","nuque","nutritif","obéir","objectif","obliger","obscur","observer","obstacle","obtenir","obturer","occasion","occuper","océan","octobre","octroyer","octupler","oculaire","odeur","odorant","offenser","officier","offrir","ogive","oiseau","oisillon","olfactif","olivier","ombrage","omettre","onctueux","onduler","onéreux","onirique","opale","opaque","opérer","opinion","opportun","opprimer","opter","optique","orageux","orange","orbite","ordonner","oreille","organe","orgueil","orifice","ornement","orque","ortie","osciller","osmose","ossature","otarie","ouragan","ourson","outil","outrager","ouvrage","ovation","oxyde","oxygène","ozone","paisible","palace","palmarès","palourde","palper","panache","panda","pangolin","paniquer","panneau","panorama","pantalon","papaye","papier","papoter","papyrus","paradoxe","parcelle","paresse","parfumer","parler","parole","parrain","parsemer","partager","parure","parvenir","passion","pastèque","paternel","patience","patron","pavillon","pavoiser","payer","paysage","peigne","peintre","pelage","pélican","pelle","pelouse","peluche","pendule","pénétrer","pénible","pensif","pénurie","pépite","péplum","perdrix","perforer","période","permuter","perplexe","persil","perte","peser","pétale","petit","pétrir","peuple","pharaon","phobie","phoque","photon","phrase","physique","piano","pictural","pièce","pierre","pieuvre","pilote","pinceau","pipette","piquer","pirogue","piscine","piston","pivoter","pixel","pizza","placard","plafond","plaisir","planer","plaque","plastron","plateau","pleurer","plexus","pliage","plomb","plonger","pluie","plumage","pochette","poésie","poète","pointe","poirier","poisson","poivre","polaire","policier","pollen","polygone","pommade","pompier","ponctuel","pondérer","poney","portique","position","posséder","posture","potager","poteau","potion","pouce","poulain","poumon","pourpre","poussin","pouvoir","prairie","pratique","précieux","prédire","préfixe","prélude","prénom","présence","prétexte","prévoir","primitif","prince","prison","priver","problème","procéder","prodige","profond","progrès","proie","projeter","prologue","promener","propre","prospère","protéger","prouesse","proverbe","prudence","pruneau","psychose","public","puceron","puiser","pulpe","pulsar","punaise","punitif","pupitre","purifier","puzzle","pyramide","quasar","querelle","question","quiétude","quitter","quotient","racine","raconter","radieux","ragondin","raideur","raisin","ralentir","rallonge","ramasser","rapide","rasage","ratisser","ravager","ravin","rayonner","réactif","réagir","réaliser","réanimer","recevoir","réciter","réclamer","récolter","recruter","reculer","recycler","rédiger","redouter","refaire","réflexe","réformer","refrain","refuge","régalien","région","réglage","régulier","réitérer","rejeter","rejouer","relatif","relever","relief","remarque","remède","remise","remonter","remplir","remuer","renard","renfort","renifler","renoncer","rentrer","renvoi","replier","reporter","reprise","reptile","requin","réserve","résineux","résoudre","respect","rester","résultat","rétablir","retenir","réticule","retomber","retracer","réunion","réussir","revanche","revivre","révolte","révulsif","richesse","rideau","rieur","rigide","rigoler","rincer","riposter","risible","risque","rituel","rival","rivière","rocheux","romance","rompre","ronce","rondin","roseau","rosier","rotatif","rotor","rotule","rouge","rouille","rouleau","routine","royaume","ruban","rubis","ruche","ruelle","rugueux","ruiner","ruisseau","ruser","rustique","rythme","sabler","saboter","sabre","sacoche","safari","sagesse","saisir","salade","salive","salon","saluer","samedi","sanction","sanglier","sarcasme","sardine","saturer","saugrenu","saumon","sauter","sauvage","savant","savonner","scalpel","scandale","scélérat","scénario","sceptre","schéma","science","scinder","score","scrutin","sculpter","séance","sécable","sécher","secouer","sécréter","sédatif","séduire","seigneur","séjour","sélectif","semaine","sembler","semence","séminal","sénateur","sensible","sentence","séparer","séquence","serein","sergent","sérieux","serrure","sérum","service","sésame","sévir","sevrage","sextuple","sidéral","siècle","siéger","siffler","sigle","signal","silence","silicium","simple","sincère","sinistre","siphon","sirop","sismique","situer","skier","social","socle","sodium","soigneux","soldat","soleil","solitude","soluble","sombre","sommeil","somnoler","sonde","songeur","sonnette","sonore","sorcier","sortir","sosie","sottise","soucieux","soudure","souffle","soulever","soupape","source","soutirer","souvenir","spacieux","spatial","spécial","sphère","spiral","stable","station","sternum","stimulus","stipuler","strict","studieux","stupeur","styliste","sublime","substrat","subtil","subvenir","succès","sucre","suffixe","suggérer","suiveur","sulfate","superbe","supplier","surface","suricate","surmener","surprise","sursaut","survie","suspect","syllabe","symbole","symétrie","synapse","syntaxe","système","tabac","tablier","tactile","tailler","talent","talisman","talonner","tambour","tamiser","tangible","tapis","taquiner","tarder","tarif","tartine","tasse","tatami","tatouage","taupe","taureau","taxer","témoin","temporel","tenaille","tendre","teneur","tenir","tension","terminer","terne","terrible","tétine","texte","thème","théorie","thérapie","thorax","tibia","tiède","timide","tirelire","tiroir","tissu","titane","titre","tituber","toboggan","tolérant","tomate","tonique","tonneau","toponyme","torche","tordre","tornade","torpille","torrent","torse","tortue","totem","toucher","tournage","tousser","toxine","traction","trafic","tragique","trahir","train","trancher","travail","trèfle","tremper","trésor","treuil","triage","tribunal","tricoter","trilogie","triomphe","tripler","triturer","trivial","trombone","tronc","tropical","troupeau","tuile","tulipe","tumulte","tunnel","turbine","tuteur","tutoyer","tuyau","tympan","typhon","typique","tyran","ubuesque","ultime","ultrason","unanime","unifier","union","unique","unitaire","univers","uranium","urbain","urticant","usage","usine","usuel","usure","utile","utopie","vacarme","vaccin","vagabond","vague","vaillant","vaincre","vaisseau","valable","valise","vallon","valve","vampire","vanille","vapeur","varier","vaseux","vassal","vaste","vecteur","vedette","végétal","véhicule","veinard","véloce","vendredi","vénérer","venger","venimeux","ventouse","verdure","vérin","vernir","verrou","verser","vertu","veston","vétéran","vétuste","vexant","vexer","viaduc","viande","victoire","vidange","vidéo","vignette","vigueur","vilain","village","vinaigre","violon","vipère","virement","virtuose","virus","visage","viseur","vision","visqueux","visuel","vital","vitesse","viticole","vitrine","vivace","vivipare","vocation","voguer","voile","voisin","voiture","volaille","volcan","voltiger","volume","vorace","vortex","voter","vouloir","voyage","voyelle","wagon","xénon","yacht","zèbre","zénith","zeste","zoologie"]')},function(e){e.exports=JSON.parse('["abaco","abbaglio","abbinato","abete","abisso","abolire","abrasivo","abrogato","accadere","accenno","accusato","acetone","achille","acido","acqua","acre","acrilico","acrobata","acuto","adagio","addebito","addome","adeguato","aderire","adipe","adottare","adulare","affabile","affetto","affisso","affranto","aforisma","afoso","africano","agave","agente","agevole","aggancio","agire","agitare","agonismo","agricolo","agrumeto","aguzzo","alabarda","alato","albatro","alberato","albo","albume","alce","alcolico","alettone","alfa","algebra","aliante","alibi","alimento","allagato","allegro","allievo","allodola","allusivo","almeno","alogeno","alpaca","alpestre","altalena","alterno","alticcio","altrove","alunno","alveolo","alzare","amalgama","amanita","amarena","ambito","ambrato","ameba","america","ametista","amico","ammasso","ammenda","ammirare","ammonito","amore","ampio","ampliare","amuleto","anacardo","anagrafe","analista","anarchia","anatra","anca","ancella","ancora","andare","andrea","anello","angelo","angolare","angusto","anima","annegare","annidato","anno","annuncio","anonimo","anticipo","anzi","apatico","apertura","apode","apparire","appetito","appoggio","approdo","appunto","aprile","arabica","arachide","aragosta","araldica","arancio","aratura","arazzo","arbitro","archivio","ardito","arenile","argento","argine","arguto","aria","armonia","arnese","arredato","arringa","arrosto","arsenico","arso","artefice","arzillo","asciutto","ascolto","asepsi","asettico","asfalto","asino","asola","aspirato","aspro","assaggio","asse","assoluto","assurdo","asta","astenuto","astice","astratto","atavico","ateismo","atomico","atono","attesa","attivare","attorno","attrito","attuale","ausilio","austria","autista","autonomo","autunno","avanzato","avere","avvenire","avviso","avvolgere","azione","azoto","azzimo","azzurro","babele","baccano","bacino","baco","badessa","badilata","bagnato","baita","balcone","baldo","balena","ballata","balzano","bambino","bandire","baraonda","barbaro","barca","baritono","barlume","barocco","basilico","basso","batosta","battuto","baule","bava","bavosa","becco","beffa","belgio","belva","benda","benevole","benigno","benzina","bere","berlina","beta","bibita","bici","bidone","bifido","biga","bilancia","bimbo","binocolo","biologo","bipede","bipolare","birbante","birra","biscotto","bisesto","bisnonno","bisonte","bisturi","bizzarro","blando","blatta","bollito","bonifico","bordo","bosco","botanico","bottino","bozzolo","braccio","bradipo","brama","branca","bravura","bretella","brevetto","brezza","briglia","brillante","brindare","broccolo","brodo","bronzina","brullo","bruno","bubbone","buca","budino","buffone","buio","bulbo","buono","burlone","burrasca","bussola","busta","cadetto","caduco","calamaro","calcolo","calesse","calibro","calmo","caloria","cambusa","camerata","camicia","cammino","camola","campale","canapa","candela","cane","canino","canotto","cantina","capace","capello","capitolo","capogiro","cappero","capra","capsula","carapace","carcassa","cardo","carisma","carovana","carretto","cartolina","casaccio","cascata","caserma","caso","cassone","castello","casuale","catasta","catena","catrame","cauto","cavillo","cedibile","cedrata","cefalo","celebre","cellulare","cena","cenone","centesimo","ceramica","cercare","certo","cerume","cervello","cesoia","cespo","ceto","chela","chiaro","chicca","chiedere","chimera","china","chirurgo","chitarra","ciao","ciclismo","cifrare","cigno","cilindro","ciottolo","circa","cirrosi","citrico","cittadino","ciuffo","civetta","civile","classico","clinica","cloro","cocco","codardo","codice","coerente","cognome","collare","colmato","colore","colposo","coltivato","colza","coma","cometa","commando","comodo","computer","comune","conciso","condurre","conferma","congelare","coniuge","connesso","conoscere","consumo","continuo","convegno","coperto","copione","coppia","copricapo","corazza","cordata","coricato","cornice","corolla","corpo","corredo","corsia","cortese","cosmico","costante","cottura","covato","cratere","cravatta","creato","credere","cremoso","crescita","creta","criceto","crinale","crisi","critico","croce","cronaca","crostata","cruciale","crusca","cucire","cuculo","cugino","cullato","cupola","curatore","cursore","curvo","cuscino","custode","dado","daino","dalmata","damerino","daniela","dannoso","danzare","datato","davanti","davvero","debutto","decennio","deciso","declino","decollo","decreto","dedicato","definito","deforme","degno","delegare","delfino","delirio","delta","demenza","denotato","dentro","deposito","derapata","derivare","deroga","descritto","deserto","desiderio","desumere","detersivo","devoto","diametro","dicembre","diedro","difeso","diffuso","digerire","digitale","diluvio","dinamico","dinnanzi","dipinto","diploma","dipolo","diradare","dire","dirotto","dirupo","disagio","discreto","disfare","disgelo","disposto","distanza","disumano","dito","divano","divelto","dividere","divorato","doblone","docente","doganale","dogma","dolce","domato","domenica","dominare","dondolo","dono","dormire","dote","dottore","dovuto","dozzina","drago","druido","dubbio","dubitare","ducale","duna","duomo","duplice","duraturo","ebano","eccesso","ecco","eclissi","economia","edera","edicola","edile","editoria","educare","egemonia","egli","egoismo","egregio","elaborato","elargire","elegante","elencato","eletto","elevare","elfico","elica","elmo","elsa","eluso","emanato","emblema","emesso","emiro","emotivo","emozione","empirico","emulo","endemico","enduro","energia","enfasi","enoteca","entrare","enzima","epatite","epilogo","episodio","epocale","eppure","equatore","erario","erba","erboso","erede","eremita","erigere","ermetico","eroe","erosivo","errante","esagono","esame","esanime","esaudire","esca","esempio","esercito","esibito","esigente","esistere","esito","esofago","esortato","esoso","espanso","espresso","essenza","esso","esteso","estimare","estonia","estroso","esultare","etilico","etnico","etrusco","etto","euclideo","europa","evaso","evidenza","evitato","evoluto","evviva","fabbrica","faccenda","fachiro","falco","famiglia","fanale","fanfara","fango","fantasma","fare","farfalla","farinoso","farmaco","fascia","fastoso","fasullo","faticare","fato","favoloso","febbre","fecola","fede","fegato","felpa","feltro","femmina","fendere","fenomeno","fermento","ferro","fertile","fessura","festivo","fetta","feudo","fiaba","fiducia","fifa","figurato","filo","finanza","finestra","finire","fiore","fiscale","fisico","fiume","flacone","flamenco","flebo","flemma","florido","fluente","fluoro","fobico","focaccia","focoso","foderato","foglio","folata","folclore","folgore","fondente","fonetico","fonia","fontana","forbito","forchetta","foresta","formica","fornaio","foro","fortezza","forzare","fosfato","fosso","fracasso","frana","frassino","fratello","freccetta","frenata","fresco","frigo","frollino","fronde","frugale","frutta","fucilata","fucsia","fuggente","fulmine","fulvo","fumante","fumetto","fumoso","fune","funzione","fuoco","furbo","furgone","furore","fuso","futile","gabbiano","gaffe","galateo","gallina","galoppo","gambero","gamma","garanzia","garbo","garofano","garzone","gasdotto","gasolio","gastrico","gatto","gaudio","gazebo","gazzella","geco","gelatina","gelso","gemello","gemmato","gene","genitore","gennaio","genotipo","gergo","ghepardo","ghiaccio","ghisa","giallo","gilda","ginepro","giocare","gioiello","giorno","giove","girato","girone","gittata","giudizio","giurato","giusto","globulo","glutine","gnomo","gobba","golf","gomito","gommone","gonfio","gonna","governo","gracile","grado","grafico","grammo","grande","grattare","gravoso","grazia","greca","gregge","grifone","grigio","grinza","grotta","gruppo","guadagno","guaio","guanto","guardare","gufo","guidare","ibernato","icona","identico","idillio","idolo","idra","idrico","idrogeno","igiene","ignaro","ignorato","ilare","illeso","illogico","illudere","imballo","imbevuto","imbocco","imbuto","immane","immerso","immolato","impacco","impeto","impiego","importo","impronta","inalare","inarcare","inattivo","incanto","incendio","inchino","incisivo","incluso","incontro","incrocio","incubo","indagine","india","indole","inedito","infatti","infilare","inflitto","ingaggio","ingegno","inglese","ingordo","ingrosso","innesco","inodore","inoltrare","inondato","insano","insetto","insieme","insonnia","insulina","intasato","intero","intonaco","intuito","inumidire","invalido","invece","invito","iperbole","ipnotico","ipotesi","ippica","iride","irlanda","ironico","irrigato","irrorare","isolato","isotopo","isterico","istituto","istrice","italia","iterare","labbro","labirinto","lacca","lacerato","lacrima","lacuna","laddove","lago","lampo","lancetta","lanterna","lardoso","larga","laringe","lastra","latenza","latino","lattuga","lavagna","lavoro","legale","leggero","lembo","lentezza","lenza","leone","lepre","lesivo","lessato","lesto","letterale","leva","levigato","libero","lido","lievito","lilla","limatura","limitare","limpido","lineare","lingua","liquido","lira","lirica","lisca","lite","litigio","livrea","locanda","lode","logica","lombare","londra","longevo","loquace","lorenzo","loto","lotteria","luce","lucidato","lumaca","luminoso","lungo","lupo","luppolo","lusinga","lusso","lutto","macabro","macchina","macero","macinato","madama","magico","maglia","magnete","magro","maiolica","malafede","malgrado","malinteso","malsano","malto","malumore","mana","mancia","mandorla","mangiare","manifesto","mannaro","manovra","mansarda","mantide","manubrio","mappa","maratona","marcire","maretta","marmo","marsupio","maschera","massaia","mastino","materasso","matricola","mattone","maturo","mazurca","meandro","meccanico","mecenate","medesimo","meditare","mega","melassa","melis","melodia","meninge","meno","mensola","mercurio","merenda","merlo","meschino","mese","messere","mestolo","metallo","metodo","mettere","miagolare","mica","micelio","michele","microbo","midollo","miele","migliore","milano","milite","mimosa","minerale","mini","minore","mirino","mirtillo","miscela","missiva","misto","misurare","mitezza","mitigare","mitra","mittente","mnemonico","modello","modifica","modulo","mogano","mogio","mole","molosso","monastero","monco","mondina","monetario","monile","monotono","monsone","montato","monviso","mora","mordere","morsicato","mostro","motivato","motosega","motto","movenza","movimento","mozzo","mucca","mucosa","muffa","mughetto","mugnaio","mulatto","mulinello","multiplo","mummia","munto","muovere","murale","musa","muscolo","musica","mutevole","muto","nababbo","nafta","nanometro","narciso","narice","narrato","nascere","nastrare","naturale","nautica","naviglio","nebulosa","necrosi","negativo","negozio","nemmeno","neofita","neretto","nervo","nessuno","nettuno","neutrale","neve","nevrotico","nicchia","ninfa","nitido","nobile","nocivo","nodo","nome","nomina","nordico","normale","norvegese","nostrano","notare","notizia","notturno","novella","nucleo","nulla","numero","nuovo","nutrire","nuvola","nuziale","oasi","obbedire","obbligo","obelisco","oblio","obolo","obsoleto","occasione","occhio","occidente","occorrere","occultare","ocra","oculato","odierno","odorare","offerta","offrire","offuscato","oggetto","oggi","ognuno","olandese","olfatto","oliato","oliva","ologramma","oltre","omaggio","ombelico","ombra","omega","omissione","ondoso","onere","onice","onnivoro","onorevole","onta","operato","opinione","opposto","oracolo","orafo","ordine","orecchino","orefice","orfano","organico","origine","orizzonte","orma","ormeggio","ornativo","orologio","orrendo","orribile","ortensia","ortica","orzata","orzo","osare","oscurare","osmosi","ospedale","ospite","ossa","ossidare","ostacolo","oste","otite","otre","ottagono","ottimo","ottobre","ovale","ovest","ovino","oviparo","ovocito","ovunque","ovviare","ozio","pacchetto","pace","pacifico","padella","padrone","paese","paga","pagina","palazzina","palesare","pallido","palo","palude","pandoro","pannello","paolo","paonazzo","paprica","parabola","parcella","parere","pargolo","pari","parlato","parola","partire","parvenza","parziale","passivo","pasticca","patacca","patologia","pattume","pavone","peccato","pedalare","pedonale","peggio","peloso","penare","pendice","penisola","pennuto","penombra","pensare","pentola","pepe","pepita","perbene","percorso","perdonato","perforare","pergamena","periodo","permesso","perno","perplesso","persuaso","pertugio","pervaso","pesatore","pesista","peso","pestifero","petalo","pettine","petulante","pezzo","piacere","pianta","piattino","piccino","picozza","piega","pietra","piffero","pigiama","pigolio","pigro","pila","pilifero","pillola","pilota","pimpante","pineta","pinna","pinolo","pioggia","piombo","piramide","piretico","pirite","pirolisi","pitone","pizzico","placebo","planare","plasma","platano","plenario","pochezza","poderoso","podismo","poesia","poggiare","polenta","poligono","pollice","polmonite","polpetta","polso","poltrona","polvere","pomice","pomodoro","ponte","popoloso","porfido","poroso","porpora","porre","portata","posa","positivo","possesso","postulato","potassio","potere","pranzo","prassi","pratica","precluso","predica","prefisso","pregiato","prelievo","premere","prenotare","preparato","presenza","pretesto","prevalso","prima","principe","privato","problema","procura","produrre","profumo","progetto","prolunga","promessa","pronome","proposta","proroga","proteso","prova","prudente","prugna","prurito","psiche","pubblico","pudica","pugilato","pugno","pulce","pulito","pulsante","puntare","pupazzo","pupilla","puro","quadro","qualcosa","quasi","querela","quota","raccolto","raddoppio","radicale","radunato","raffica","ragazzo","ragione","ragno","ramarro","ramingo","ramo","randagio","rantolare","rapato","rapina","rappreso","rasatura","raschiato","rasente","rassegna","rastrello","rata","ravveduto","reale","recepire","recinto","recluta","recondito","recupero","reddito","redimere","regalato","registro","regola","regresso","relazione","remare","remoto","renna","replica","reprimere","reputare","resa","residente","responso","restauro","rete","retina","retorica","rettifica","revocato","riassunto","ribadire","ribelle","ribrezzo","ricarica","ricco","ricevere","riciclato","ricordo","ricreduto","ridicolo","ridurre","rifasare","riflesso","riforma","rifugio","rigare","rigettato","righello","rilassato","rilevato","rimanere","rimbalzo","rimedio","rimorchio","rinascita","rincaro","rinforzo","rinnovo","rinomato","rinsavito","rintocco","rinuncia","rinvenire","riparato","ripetuto","ripieno","riportare","ripresa","ripulire","risata","rischio","riserva","risibile","riso","rispetto","ristoro","risultato","risvolto","ritardo","ritegno","ritmico","ritrovo","riunione","riva","riverso","rivincita","rivolto","rizoma","roba","robotico","robusto","roccia","roco","rodaggio","rodere","roditore","rogito","rollio","romantico","rompere","ronzio","rosolare","rospo","rotante","rotondo","rotula","rovescio","rubizzo","rubrica","ruga","rullino","rumine","rumoroso","ruolo","rupe","russare","rustico","sabato","sabbiare","sabotato","sagoma","salasso","saldatura","salgemma","salivare","salmone","salone","saltare","saluto","salvo","sapere","sapido","saporito","saraceno","sarcasmo","sarto","sassoso","satellite","satira","satollo","saturno","savana","savio","saziato","sbadiglio","sbalzo","sbancato","sbarra","sbattere","sbavare","sbendare","sbirciare","sbloccato","sbocciato","sbrinare","sbruffone","sbuffare","scabroso","scadenza","scala","scambiare","scandalo","scapola","scarso","scatenare","scavato","scelto","scenico","scettro","scheda","schiena","sciarpa","scienza","scindere","scippo","sciroppo","scivolo","sclerare","scodella","scolpito","scomparto","sconforto","scoprire","scorta","scossone","scozzese","scriba","scrollare","scrutinio","scuderia","scultore","scuola","scuro","scusare","sdebitare","sdoganare","seccatura","secondo","sedano","seggiola","segnalato","segregato","seguito","selciato","selettivo","sella","selvaggio","semaforo","sembrare","seme","seminato","sempre","senso","sentire","sepolto","sequenza","serata","serbato","sereno","serio","serpente","serraglio","servire","sestina","setola","settimana","sfacelo","sfaldare","sfamato","sfarzoso","sfaticato","sfera","sfida","sfilato","sfinge","sfocato","sfoderare","sfogo","sfoltire","sforzato","sfratto","sfruttato","sfuggito","sfumare","sfuso","sgabello","sgarbato","sgonfiare","sgorbio","sgrassato","sguardo","sibilo","siccome","sierra","sigla","signore","silenzio","sillaba","simbolo","simpatico","simulato","sinfonia","singolo","sinistro","sino","sintesi","sinusoide","sipario","sisma","sistole","situato","slitta","slogatura","sloveno","smarrito","smemorato","smentito","smeraldo","smilzo","smontare","smottato","smussato","snellire","snervato","snodo","sobbalzo","sobrio","soccorso","sociale","sodale","soffitto","sogno","soldato","solenne","solido","sollazzo","solo","solubile","solvente","somatico","somma","sonda","sonetto","sonnifero","sopire","soppeso","sopra","sorgere","sorpasso","sorriso","sorso","sorteggio","sorvolato","sospiro","sosta","sottile","spada","spalla","spargere","spatola","spavento","spazzola","specie","spedire","spegnere","spelatura","speranza","spessore","spettrale","spezzato","spia","spigoloso","spillato","spinoso","spirale","splendido","sportivo","sposo","spranga","sprecare","spronato","spruzzo","spuntino","squillo","sradicare","srotolato","stabile","stacco","staffa","stagnare","stampato","stantio","starnuto","stasera","statuto","stelo","steppa","sterzo","stiletto","stima","stirpe","stivale","stizzoso","stonato","storico","strappo","stregato","stridulo","strozzare","strutto","stuccare","stufo","stupendo","subentro","succoso","sudore","suggerito","sugo","sultano","suonare","superbo","supporto","surgelato","surrogato","sussurro","sutura","svagare","svedese","sveglio","svelare","svenuto","svezia","sviluppo","svista","svizzera","svolta","svuotare","tabacco","tabulato","tacciare","taciturno","tale","talismano","tampone","tannino","tara","tardivo","targato","tariffa","tarpare","tartaruga","tasto","tattico","taverna","tavolata","tazza","teca","tecnico","telefono","temerario","tempo","temuto","tendone","tenero","tensione","tentacolo","teorema","terme","terrazzo","terzetto","tesi","tesserato","testato","tetro","tettoia","tifare","tigella","timbro","tinto","tipico","tipografo","tiraggio","tiro","titanio","titolo","titubante","tizio","tizzone","toccare","tollerare","tolto","tombola","tomo","tonfo","tonsilla","topazio","topologia","toppa","torba","tornare","torrone","tortora","toscano","tossire","tostatura","totano","trabocco","trachea","trafila","tragedia","tralcio","tramonto","transito","trapano","trarre","trasloco","trattato","trave","treccia","tremolio","trespolo","tributo","tricheco","trifoglio","trillo","trincea","trio","tristezza","triturato","trivella","tromba","trono","troppo","trottola","trovare","truccato","tubatura","tuffato","tulipano","tumulto","tunisia","turbare","turchino","tuta","tutela","ubicato","uccello","uccisore","udire","uditivo","uffa","ufficio","uguale","ulisse","ultimato","umano","umile","umorismo","uncinetto","ungere","ungherese","unicorno","unificato","unisono","unitario","unte","uovo","upupa","uragano","urgenza","urlo","usanza","usato","uscito","usignolo","usuraio","utensile","utilizzo","utopia","vacante","vaccinato","vagabondo","vagliato","valanga","valgo","valico","valletta","valoroso","valutare","valvola","vampata","vangare","vanitoso","vano","vantaggio","vanvera","vapore","varano","varcato","variante","vasca","vedetta","vedova","veduto","vegetale","veicolo","velcro","velina","velluto","veloce","venato","vendemmia","vento","verace","verbale","vergogna","verifica","vero","verruca","verticale","vescica","vessillo","vestale","veterano","vetrina","vetusto","viandante","vibrante","vicenda","vichingo","vicinanza","vidimare","vigilia","vigneto","vigore","vile","villano","vimini","vincitore","viola","vipera","virgola","virologo","virulento","viscoso","visione","vispo","vissuto","visura","vita","vitello","vittima","vivanda","vivido","viziare","voce","voga","volatile","volere","volpe","voragine","vulcano","zampogna","zanna","zappato","zattera","zavorra","zefiro","zelante","zelo","zenzero","zerbino","zibetto","zinco","zircone","zitto","zolla","zotico","zucchero","zufolo","zulu","zuppa"]')},function(e){e.exports=JSON.parse('["ábaco","abdomen","abeja","abierto","abogado","abono","aborto","abrazo","abrir","abuelo","abuso","acabar","academia","acceso","acción","aceite","acelga","acento","aceptar","ácido","aclarar","acné","acoger","acoso","activo","acto","actriz","actuar","acudir","acuerdo","acusar","adicto","admitir","adoptar","adorno","aduana","adulto","aéreo","afectar","afición","afinar","afirmar","ágil","agitar","agonía","agosto","agotar","agregar","agrio","agua","agudo","águila","aguja","ahogo","ahorro","aire","aislar","ajedrez","ajeno","ajuste","alacrán","alambre","alarma","alba","álbum","alcalde","aldea","alegre","alejar","alerta","aleta","alfiler","alga","algodón","aliado","aliento","alivio","alma","almeja","almíbar","altar","alteza","altivo","alto","altura","alumno","alzar","amable","amante","amapola","amargo","amasar","ámbar","ámbito","ameno","amigo","amistad","amor","amparo","amplio","ancho","anciano","ancla","andar","andén","anemia","ángulo","anillo","ánimo","anís","anotar","antena","antiguo","antojo","anual","anular","anuncio","añadir","añejo","año","apagar","aparato","apetito","apio","aplicar","apodo","aporte","apoyo","aprender","aprobar","apuesta","apuro","arado","araña","arar","árbitro","árbol","arbusto","archivo","arco","arder","ardilla","arduo","área","árido","aries","armonía","arnés","aroma","arpa","arpón","arreglo","arroz","arruga","arte","artista","asa","asado","asalto","ascenso","asegurar","aseo","asesor","asiento","asilo","asistir","asno","asombro","áspero","astilla","astro","astuto","asumir","asunto","atajo","ataque","atar","atento","ateo","ático","atleta","átomo","atraer","atroz","atún","audaz","audio","auge","aula","aumento","ausente","autor","aval","avance","avaro","ave","avellana","avena","avestruz","avión","aviso","ayer","ayuda","ayuno","azafrán","azar","azote","azúcar","azufre","azul","baba","babor","bache","bahía","baile","bajar","balanza","balcón","balde","bambú","banco","banda","baño","barba","barco","barniz","barro","báscula","bastón","basura","batalla","batería","batir","batuta","baúl","bazar","bebé","bebida","bello","besar","beso","bestia","bicho","bien","bingo","blanco","bloque","blusa","boa","bobina","bobo","boca","bocina","boda","bodega","boina","bola","bolero","bolsa","bomba","bondad","bonito","bono","bonsái","borde","borrar","bosque","bote","botín","bóveda","bozal","bravo","brazo","brecha","breve","brillo","brinco","brisa","broca","broma","bronce","brote","bruja","brusco","bruto","buceo","bucle","bueno","buey","bufanda","bufón","búho","buitre","bulto","burbuja","burla","burro","buscar","butaca","buzón","caballo","cabeza","cabina","cabra","cacao","cadáver","cadena","caer","café","caída","caimán","caja","cajón","cal","calamar","calcio","caldo","calidad","calle","calma","calor","calvo","cama","cambio","camello","camino","campo","cáncer","candil","canela","canguro","canica","canto","caña","cañón","caoba","caos","capaz","capitán","capote","captar","capucha","cara","carbón","cárcel","careta","carga","cariño","carne","carpeta","carro","carta","casa","casco","casero","caspa","castor","catorce","catre","caudal","causa","cazo","cebolla","ceder","cedro","celda","célebre","celoso","célula","cemento","ceniza","centro","cerca","cerdo","cereza","cero","cerrar","certeza","césped","cetro","chacal","chaleco","champú","chancla","chapa","charla","chico","chiste","chivo","choque","choza","chuleta","chupar","ciclón","ciego","cielo","cien","cierto","cifra","cigarro","cima","cinco","cine","cinta","ciprés","circo","ciruela","cisne","cita","ciudad","clamor","clan","claro","clase","clave","cliente","clima","clínica","cobre","cocción","cochino","cocina","coco","código","codo","cofre","coger","cohete","cojín","cojo","cola","colcha","colegio","colgar","colina","collar","colmo","columna","combate","comer","comida","cómodo","compra","conde","conejo","conga","conocer","consejo","contar","copa","copia","corazón","corbata","corcho","cordón","corona","correr","coser","cosmos","costa","cráneo","cráter","crear","crecer","creído","crema","cría","crimen","cripta","crisis","cromo","crónica","croqueta","crudo","cruz","cuadro","cuarto","cuatro","cubo","cubrir","cuchara","cuello","cuento","cuerda","cuesta","cueva","cuidar","culebra","culpa","culto","cumbre","cumplir","cuna","cuneta","cuota","cupón","cúpula","curar","curioso","curso","curva","cutis","dama","danza","dar","dardo","dátil","deber","débil","década","decir","dedo","defensa","definir","dejar","delfín","delgado","delito","demora","denso","dental","deporte","derecho","derrota","desayuno","deseo","desfile","desnudo","destino","desvío","detalle","detener","deuda","día","diablo","diadema","diamante","diana","diario","dibujo","dictar","diente","dieta","diez","difícil","digno","dilema","diluir","dinero","directo","dirigir","disco","diseño","disfraz","diva","divino","doble","doce","dolor","domingo","don","donar","dorado","dormir","dorso","dos","dosis","dragón","droga","ducha","duda","duelo","dueño","dulce","dúo","duque","durar","dureza","duro","ébano","ebrio","echar","eco","ecuador","edad","edición","edificio","editor","educar","efecto","eficaz","eje","ejemplo","elefante","elegir","elemento","elevar","elipse","élite","elixir","elogio","eludir","embudo","emitir","emoción","empate","empeño","empleo","empresa","enano","encargo","enchufe","encía","enemigo","enero","enfado","enfermo","engaño","enigma","enlace","enorme","enredo","ensayo","enseñar","entero","entrar","envase","envío","época","equipo","erizo","escala","escena","escolar","escribir","escudo","esencia","esfera","esfuerzo","espada","espejo","espía","esposa","espuma","esquí","estar","este","estilo","estufa","etapa","eterno","ética","etnia","evadir","evaluar","evento","evitar","exacto","examen","exceso","excusa","exento","exigir","exilio","existir","éxito","experto","explicar","exponer","extremo","fábrica","fábula","fachada","fácil","factor","faena","faja","falda","fallo","falso","faltar","fama","familia","famoso","faraón","farmacia","farol","farsa","fase","fatiga","fauna","favor","fax","febrero","fecha","feliz","feo","feria","feroz","fértil","fervor","festín","fiable","fianza","fiar","fibra","ficción","ficha","fideo","fiebre","fiel","fiera","fiesta","figura","fijar","fijo","fila","filete","filial","filtro","fin","finca","fingir","finito","firma","flaco","flauta","flecha","flor","flota","fluir","flujo","flúor","fobia","foca","fogata","fogón","folio","folleto","fondo","forma","forro","fortuna","forzar","fosa","foto","fracaso","frágil","franja","frase","fraude","freír","freno","fresa","frío","frito","fruta","fuego","fuente","fuerza","fuga","fumar","función","funda","furgón","furia","fusil","fútbol","futuro","gacela","gafas","gaita","gajo","gala","galería","gallo","gamba","ganar","gancho","ganga","ganso","garaje","garza","gasolina","gastar","gato","gavilán","gemelo","gemir","gen","género","genio","gente","geranio","gerente","germen","gesto","gigante","gimnasio","girar","giro","glaciar","globo","gloria","gol","golfo","goloso","golpe","goma","gordo","gorila","gorra","gota","goteo","gozar","grada","gráfico","grano","grasa","gratis","grave","grieta","grillo","gripe","gris","grito","grosor","grúa","grueso","grumo","grupo","guante","guapo","guardia","guerra","guía","guiño","guion","guiso","guitarra","gusano","gustar","haber","hábil","hablar","hacer","hacha","hada","hallar","hamaca","harina","haz","hazaña","hebilla","hebra","hecho","helado","helio","hembra","herir","hermano","héroe","hervir","hielo","hierro","hígado","higiene","hijo","himno","historia","hocico","hogar","hoguera","hoja","hombre","hongo","honor","honra","hora","hormiga","horno","hostil","hoyo","hueco","huelga","huerta","hueso","huevo","huida","huir","humano","húmedo","humilde","humo","hundir","huracán","hurto","icono","ideal","idioma","ídolo","iglesia","iglú","igual","ilegal","ilusión","imagen","imán","imitar","impar","imperio","imponer","impulso","incapaz","índice","inerte","infiel","informe","ingenio","inicio","inmenso","inmune","innato","insecto","instante","interés","íntimo","intuir","inútil","invierno","ira","iris","ironía","isla","islote","jabalí","jabón","jamón","jarabe","jardín","jarra","jaula","jazmín","jefe","jeringa","jinete","jornada","joroba","joven","joya","juerga","jueves","juez","jugador","jugo","juguete","juicio","junco","jungla","junio","juntar","júpiter","jurar","justo","juvenil","juzgar","kilo","koala","labio","lacio","lacra","lado","ladrón","lagarto","lágrima","laguna","laico","lamer","lámina","lámpara","lana","lancha","langosta","lanza","lápiz","largo","larva","lástima","lata","látex","latir","laurel","lavar","lazo","leal","lección","leche","lector","leer","legión","legumbre","lejano","lengua","lento","leña","león","leopardo","lesión","letal","letra","leve","leyenda","libertad","libro","licor","líder","lidiar","lienzo","liga","ligero","lima","límite","limón","limpio","lince","lindo","línea","lingote","lino","linterna","líquido","liso","lista","litera","litio","litro","llaga","llama","llanto","llave","llegar","llenar","llevar","llorar","llover","lluvia","lobo","loción","loco","locura","lógica","logro","lombriz","lomo","lonja","lote","lucha","lucir","lugar","lujo","luna","lunes","lupa","lustro","luto","luz","maceta","macho","madera","madre","maduro","maestro","mafia","magia","mago","maíz","maldad","maleta","malla","malo","mamá","mambo","mamut","manco","mando","manejar","manga","maniquí","manjar","mano","manso","manta","mañana","mapa","máquina","mar","marco","marea","marfil","margen","marido","mármol","marrón","martes","marzo","masa","máscara","masivo","matar","materia","matiz","matriz","máximo","mayor","mazorca","mecha","medalla","medio","médula","mejilla","mejor","melena","melón","memoria","menor","mensaje","mente","menú","mercado","merengue","mérito","mes","mesón","meta","meter","método","metro","mezcla","miedo","miel","miembro","miga","mil","milagro","militar","millón","mimo","mina","minero","mínimo","minuto","miope","mirar","misa","miseria","misil","mismo","mitad","mito","mochila","moción","moda","modelo","moho","mojar","molde","moler","molino","momento","momia","monarca","moneda","monja","monto","moño","morada","morder","moreno","morir","morro","morsa","mortal","mosca","mostrar","motivo","mover","móvil","mozo","mucho","mudar","mueble","muela","muerte","muestra","mugre","mujer","mula","muleta","multa","mundo","muñeca","mural","muro","músculo","museo","musgo","música","muslo","nácar","nación","nadar","naipe","naranja","nariz","narrar","nasal","natal","nativo","natural","náusea","naval","nave","navidad","necio","néctar","negar","negocio","negro","neón","nervio","neto","neutro","nevar","nevera","nicho","nido","niebla","nieto","niñez","niño","nítido","nivel","nobleza","noche","nómina","noria","norma","norte","nota","noticia","novato","novela","novio","nube","nuca","núcleo","nudillo","nudo","nuera","nueve","nuez","nulo","número","nutria","oasis","obeso","obispo","objeto","obra","obrero","observar","obtener","obvio","oca","ocaso","océano","ochenta","ocho","ocio","ocre","octavo","octubre","oculto","ocupar","ocurrir","odiar","odio","odisea","oeste","ofensa","oferta","oficio","ofrecer","ogro","oído","oír","ojo","ola","oleada","olfato","olivo","olla","olmo","olor","olvido","ombligo","onda","onza","opaco","opción","ópera","opinar","oponer","optar","óptica","opuesto","oración","orador","oral","órbita","orca","orden","oreja","órgano","orgía","orgullo","oriente","origen","orilla","oro","orquesta","oruga","osadía","oscuro","osezno","oso","ostra","otoño","otro","oveja","óvulo","óxido","oxígeno","oyente","ozono","pacto","padre","paella","página","pago","país","pájaro","palabra","palco","paleta","pálido","palma","paloma","palpar","pan","panal","pánico","pantera","pañuelo","papá","papel","papilla","paquete","parar","parcela","pared","parir","paro","párpado","parque","párrafo","parte","pasar","paseo","pasión","paso","pasta","pata","patio","patria","pausa","pauta","pavo","payaso","peatón","pecado","pecera","pecho","pedal","pedir","pegar","peine","pelar","peldaño","pelea","peligro","pellejo","pelo","peluca","pena","pensar","peñón","peón","peor","pepino","pequeño","pera","percha","perder","pereza","perfil","perico","perla","permiso","perro","persona","pesa","pesca","pésimo","pestaña","pétalo","petróleo","pez","pezuña","picar","pichón","pie","piedra","pierna","pieza","pijama","pilar","piloto","pimienta","pino","pintor","pinza","piña","piojo","pipa","pirata","pisar","piscina","piso","pista","pitón","pizca","placa","plan","plata","playa","plaza","pleito","pleno","plomo","pluma","plural","pobre","poco","poder","podio","poema","poesía","poeta","polen","policía","pollo","polvo","pomada","pomelo","pomo","pompa","poner","porción","portal","posada","poseer","posible","poste","potencia","potro","pozo","prado","precoz","pregunta","premio","prensa","preso","previo","primo","príncipe","prisión","privar","proa","probar","proceso","producto","proeza","profesor","programa","prole","promesa","pronto","propio","próximo","prueba","público","puchero","pudor","pueblo","puerta","puesto","pulga","pulir","pulmón","pulpo","pulso","puma","punto","puñal","puño","pupa","pupila","puré","quedar","queja","quemar","querer","queso","quieto","química","quince","quitar","rábano","rabia","rabo","ración","radical","raíz","rama","rampa","rancho","rango","rapaz","rápido","rapto","rasgo","raspa","rato","rayo","raza","razón","reacción","realidad","rebaño","rebote","recaer","receta","rechazo","recoger","recreo","recto","recurso","red","redondo","reducir","reflejo","reforma","refrán","refugio","regalo","regir","regla","regreso","rehén","reino","reír","reja","relato","relevo","relieve","relleno","reloj","remar","remedio","remo","rencor","rendir","renta","reparto","repetir","reposo","reptil","res","rescate","resina","respeto","resto","resumen","retiro","retorno","retrato","reunir","revés","revista","rey","rezar","rico","riego","rienda","riesgo","rifa","rígido","rigor","rincón","riñón","río","riqueza","risa","ritmo","rito","rizo","roble","roce","rociar","rodar","rodeo","rodilla","roer","rojizo","rojo","romero","romper","ron","ronco","ronda","ropa","ropero","rosa","rosca","rostro","rotar","rubí","rubor","rudo","rueda","rugir","ruido","ruina","ruleta","rulo","rumbo","rumor","ruptura","ruta","rutina","sábado","saber","sabio","sable","sacar","sagaz","sagrado","sala","saldo","salero","salir","salmón","salón","salsa","salto","salud","salvar","samba","sanción","sandía","sanear","sangre","sanidad","sano","santo","sapo","saque","sardina","sartén","sastre","satán","sauna","saxofón","sección","seco","secreto","secta","sed","seguir","seis","sello","selva","semana","semilla","senda","sensor","señal","señor","separar","sepia","sequía","ser","serie","sermón","servir","sesenta","sesión","seta","setenta","severo","sexo","sexto","sidra","siesta","siete","siglo","signo","sílaba","silbar","silencio","silla","símbolo","simio","sirena","sistema","sitio","situar","sobre","socio","sodio","sol","solapa","soldado","soledad","sólido","soltar","solución","sombra","sondeo","sonido","sonoro","sonrisa","sopa","soplar","soporte","sordo","sorpresa","sorteo","sostén","sótano","suave","subir","suceso","sudor","suegra","suelo","sueño","suerte","sufrir","sujeto","sultán","sumar","superar","suplir","suponer","supremo","sur","surco","sureño","surgir","susto","sutil","tabaco","tabique","tabla","tabú","taco","tacto","tajo","talar","talco","talento","talla","talón","tamaño","tambor","tango","tanque","tapa","tapete","tapia","tapón","taquilla","tarde","tarea","tarifa","tarjeta","tarot","tarro","tarta","tatuaje","tauro","taza","tazón","teatro","techo","tecla","técnica","tejado","tejer","tejido","tela","teléfono","tema","temor","templo","tenaz","tender","tener","tenis","tenso","teoría","terapia","terco","término","ternura","terror","tesis","tesoro","testigo","tetera","texto","tez","tibio","tiburón","tiempo","tienda","tierra","tieso","tigre","tijera","tilde","timbre","tímido","timo","tinta","tío","típico","tipo","tira","tirón","titán","títere","título","tiza","toalla","tobillo","tocar","tocino","todo","toga","toldo","tomar","tono","tonto","topar","tope","toque","tórax","torero","tormenta","torneo","toro","torpedo","torre","torso","tortuga","tos","tosco","toser","tóxico","trabajo","tractor","traer","tráfico","trago","traje","tramo","trance","trato","trauma","trazar","trébol","tregua","treinta","tren","trepar","tres","tribu","trigo","tripa","triste","triunfo","trofeo","trompa","tronco","tropa","trote","trozo","truco","trueno","trufa","tubería","tubo","tuerto","tumba","tumor","túnel","túnica","turbina","turismo","turno","tutor","ubicar","úlcera","umbral","unidad","unir","universo","uno","untar","uña","urbano","urbe","urgente","urna","usar","usuario","útil","utopía","uva","vaca","vacío","vacuna","vagar","vago","vaina","vajilla","vale","válido","valle","valor","válvula","vampiro","vara","variar","varón","vaso","vecino","vector","vehículo","veinte","vejez","vela","velero","veloz","vena","vencer","venda","veneno","vengar","venir","venta","venus","ver","verano","verbo","verde","vereda","verja","verso","verter","vía","viaje","vibrar","vicio","víctima","vida","vídeo","vidrio","viejo","viernes","vigor","vil","villa","vinagre","vino","viñedo","violín","viral","virgo","virtud","visor","víspera","vista","vitamina","viudo","vivaz","vivero","vivir","vivo","volcán","volumen","volver","voraz","votar","voto","voz","vuelo","vulgar","yacer","yate","yegua","yema","yerno","yeso","yodo","yoga","yogur","zafiro","zanja","zapato","zarza","zona","zorro","zumo","zurdo"]')},function(e){e.exports=JSON.parse('["あいこくしん","あいさつ","あいだ","あおぞら","あかちゃん","あきる","あけがた","あける","あこがれる","あさい","あさひ","あしあと","あじわう","あずかる","あずき","あそぶ","あたえる","あたためる","あたりまえ","あたる","あつい","あつかう","あっしゅく","あつまり","あつめる","あてな","あてはまる","あひる","あぶら","あぶる","あふれる","あまい","あまど","あまやかす","あまり","あみもの","あめりか","あやまる","あゆむ","あらいぐま","あらし","あらすじ","あらためる","あらゆる","あらわす","ありがとう","あわせる","あわてる","あんい","あんがい","あんこ","あんぜん","あんてい","あんない","あんまり","いいだす","いおん","いがい","いがく","いきおい","いきなり","いきもの","いきる","いくじ","いくぶん","いけばな","いけん","いこう","いこく","いこつ","いさましい","いさん","いしき","いじゅう","いじょう","いじわる","いずみ","いずれ","いせい","いせえび","いせかい","いせき","いぜん","いそうろう","いそがしい","いだい","いだく","いたずら","いたみ","いたりあ","いちおう","いちじ","いちど","いちば","いちぶ","いちりゅう","いつか","いっしゅん","いっせい","いっそう","いったん","いっち","いってい","いっぽう","いてざ","いてん","いどう","いとこ","いない","いなか","いねむり","いのち","いのる","いはつ","いばる","いはん","いびき","いひん","いふく","いへん","いほう","いみん","いもうと","いもたれ","いもり","いやがる","いやす","いよかん","いよく","いらい","いらすと","いりぐち","いりょう","いれい","いれもの","いれる","いろえんぴつ","いわい","いわう","いわかん","いわば","いわゆる","いんげんまめ","いんさつ","いんしょう","いんよう","うえき","うえる","うおざ","うがい","うかぶ","うかべる","うきわ","うくらいな","うくれれ","うけたまわる","うけつけ","うけとる","うけもつ","うける","うごかす","うごく","うこん","うさぎ","うしなう","うしろがみ","うすい","うすぎ","うすぐらい","うすめる","うせつ","うちあわせ","うちがわ","うちき","うちゅう","うっかり","うつくしい","うったえる","うつる","うどん","うなぎ","うなじ","うなずく","うなる","うねる","うのう","うぶげ","うぶごえ","うまれる","うめる","うもう","うやまう","うよく","うらがえす","うらぐち","うらない","うりあげ","うりきれ","うるさい","うれしい","うれゆき","うれる","うろこ","うわき","うわさ","うんこう","うんちん","うんてん","うんどう","えいえん","えいが","えいきょう","えいご","えいせい","えいぶん","えいよう","えいわ","えおり","えがお","えがく","えきたい","えくせる","えしゃく","えすて","えつらん","えのぐ","えほうまき","えほん","えまき","えもじ","えもの","えらい","えらぶ","えりあ","えんえん","えんかい","えんぎ","えんげき","えんしゅう","えんぜつ","えんそく","えんちょう","えんとつ","おいかける","おいこす","おいしい","おいつく","おうえん","おうさま","おうじ","おうせつ","おうたい","おうふく","おうべい","おうよう","おえる","おおい","おおう","おおどおり","おおや","おおよそ","おかえり","おかず","おがむ","おかわり","おぎなう","おきる","おくさま","おくじょう","おくりがな","おくる","おくれる","おこす","おこなう","おこる","おさえる","おさない","おさめる","おしいれ","おしえる","おじぎ","おじさん","おしゃれ","おそらく","おそわる","おたがい","おたく","おだやか","おちつく","おっと","おつり","おでかけ","おとしもの","おとなしい","おどり","おどろかす","おばさん","おまいり","おめでとう","おもいで","おもう","おもたい","おもちゃ","おやつ","おやゆび","およぼす","おらんだ","おろす","おんがく","おんけい","おんしゃ","おんせん","おんだん","おんちゅう","おんどけい","かあつ","かいが","がいき","がいけん","がいこう","かいさつ","かいしゃ","かいすいよく","かいぜん","かいぞうど","かいつう","かいてん","かいとう","かいふく","がいへき","かいほう","かいよう","がいらい","かいわ","かえる","かおり","かかえる","かがく","かがし","かがみ","かくご","かくとく","かざる","がぞう","かたい","かたち","がちょう","がっきゅう","がっこう","がっさん","がっしょう","かなざわし","かのう","がはく","かぶか","かほう","かほご","かまう","かまぼこ","かめれおん","かゆい","かようび","からい","かるい","かろう","かわく","かわら","がんか","かんけい","かんこう","かんしゃ","かんそう","かんたん","かんち","がんばる","きあい","きあつ","きいろ","ぎいん","きうい","きうん","きえる","きおう","きおく","きおち","きおん","きかい","きかく","きかんしゃ","ききて","きくばり","きくらげ","きけんせい","きこう","きこえる","きこく","きさい","きさく","きさま","きさらぎ","ぎじかがく","ぎしき","ぎじたいけん","ぎじにってい","ぎじゅつしゃ","きすう","きせい","きせき","きせつ","きそう","きぞく","きぞん","きたえる","きちょう","きつえん","ぎっちり","きつつき","きつね","きてい","きどう","きどく","きない","きなが","きなこ","きぬごし","きねん","きのう","きのした","きはく","きびしい","きひん","きふく","きぶん","きぼう","きほん","きまる","きみつ","きむずかしい","きめる","きもだめし","きもち","きもの","きゃく","きやく","ぎゅうにく","きよう","きょうりゅう","きらい","きらく","きりん","きれい","きれつ","きろく","ぎろん","きわめる","ぎんいろ","きんかくじ","きんじょ","きんようび","ぐあい","くいず","くうかん","くうき","くうぐん","くうこう","ぐうせい","くうそう","ぐうたら","くうふく","くうぼ","くかん","くきょう","くげん","ぐこう","くさい","くさき","くさばな","くさる","くしゃみ","くしょう","くすのき","くすりゆび","くせげ","くせん","ぐたいてき","くださる","くたびれる","くちこみ","くちさき","くつした","ぐっすり","くつろぐ","くとうてん","くどく","くなん","くねくね","くのう","くふう","くみあわせ","くみたてる","くめる","くやくしょ","くらす","くらべる","くるま","くれる","くろう","くわしい","ぐんかん","ぐんしょく","ぐんたい","ぐんて","けあな","けいかく","けいけん","けいこ","けいさつ","げいじゅつ","けいたい","げいのうじん","けいれき","けいろ","けおとす","けおりもの","げきか","げきげん","げきだん","げきちん","げきとつ","げきは","げきやく","げこう","げこくじょう","げざい","けさき","げざん","けしき","けしごむ","けしょう","げすと","けたば","けちゃっぷ","けちらす","けつあつ","けつい","けつえき","けっこん","けつじょ","けっせき","けってい","けつまつ","げつようび","げつれい","けつろん","げどく","けとばす","けとる","けなげ","けなす","けなみ","けぬき","げねつ","けねん","けはい","げひん","けぶかい","げぼく","けまり","けみかる","けむし","けむり","けもの","けらい","けろけろ","けわしい","けんい","けんえつ","けんお","けんか","げんき","けんげん","けんこう","けんさく","けんしゅう","けんすう","げんそう","けんちく","けんてい","けんとう","けんない","けんにん","げんぶつ","けんま","けんみん","けんめい","けんらん","けんり","こあくま","こいぬ","こいびと","ごうい","こうえん","こうおん","こうかん","ごうきゅう","ごうけい","こうこう","こうさい","こうじ","こうすい","ごうせい","こうそく","こうたい","こうちゃ","こうつう","こうてい","こうどう","こうない","こうはい","ごうほう","ごうまん","こうもく","こうりつ","こえる","こおり","ごかい","ごがつ","ごかん","こくご","こくさい","こくとう","こくない","こくはく","こぐま","こけい","こける","ここのか","こころ","こさめ","こしつ","こすう","こせい","こせき","こぜん","こそだて","こたい","こたえる","こたつ","こちょう","こっか","こつこつ","こつばん","こつぶ","こてい","こてん","ことがら","ことし","ことば","ことり","こなごな","こねこね","このまま","このみ","このよ","ごはん","こひつじ","こふう","こふん","こぼれる","ごまあぶら","こまかい","ごますり","こまつな","こまる","こむぎこ","こもじ","こもち","こもの","こもん","こやく","こやま","こゆう","こゆび","こよい","こよう","こりる","これくしょん","ころっけ","こわもて","こわれる","こんいん","こんかい","こんき","こんしゅう","こんすい","こんだて","こんとん","こんなん","こんびに","こんぽん","こんまけ","こんや","こんれい","こんわく","ざいえき","さいかい","さいきん","ざいげん","ざいこ","さいしょ","さいせい","ざいたく","ざいちゅう","さいてき","ざいりょう","さうな","さかいし","さがす","さかな","さかみち","さがる","さぎょう","さくし","さくひん","さくら","さこく","さこつ","さずかる","ざせき","さたん","さつえい","ざつおん","ざっか","ざつがく","さっきょく","ざっし","さつじん","ざっそう","さつたば","さつまいも","さてい","さといも","さとう","さとおや","さとし","さとる","さのう","さばく","さびしい","さべつ","さほう","さほど","さます","さみしい","さみだれ","さむけ","さめる","さやえんどう","さゆう","さよう","さよく","さらだ","ざるそば","さわやか","さわる","さんいん","さんか","さんきゃく","さんこう","さんさい","ざんしょ","さんすう","さんせい","さんそ","さんち","さんま","さんみ","さんらん","しあい","しあげ","しあさって","しあわせ","しいく","しいん","しうち","しえい","しおけ","しかい","しかく","じかん","しごと","しすう","じだい","したうけ","したぎ","したて","したみ","しちょう","しちりん","しっかり","しつじ","しつもん","してい","してき","してつ","じてん","じどう","しなぎれ","しなもの","しなん","しねま","しねん","しのぐ","しのぶ","しはい","しばかり","しはつ","しはらい","しはん","しひょう","しふく","じぶん","しへい","しほう","しほん","しまう","しまる","しみん","しむける","じむしょ","しめい","しめる","しもん","しゃいん","しゃうん","しゃおん","じゃがいも","しやくしょ","しゃくほう","しゃけん","しゃこ","しゃざい","しゃしん","しゃせん","しゃそう","しゃたい","しゃちょう","しゃっきん","じゃま","しゃりん","しゃれい","じゆう","じゅうしょ","しゅくはく","じゅしん","しゅっせき","しゅみ","しゅらば","じゅんばん","しょうかい","しょくたく","しょっけん","しょどう","しょもつ","しらせる","しらべる","しんか","しんこう","じんじゃ","しんせいじ","しんちく","しんりん","すあげ","すあし","すあな","ずあん","すいえい","すいか","すいとう","ずいぶん","すいようび","すうがく","すうじつ","すうせん","すおどり","すきま","すくう","すくない","すける","すごい","すこし","ずさん","すずしい","すすむ","すすめる","すっかり","ずっしり","ずっと","すてき","すてる","すねる","すのこ","すはだ","すばらしい","ずひょう","ずぶぬれ","すぶり","すふれ","すべて","すべる","ずほう","すぼん","すまい","すめし","すもう","すやき","すらすら","するめ","すれちがう","すろっと","すわる","すんぜん","すんぽう","せあぶら","せいかつ","せいげん","せいじ","せいよう","せおう","せかいかん","せきにん","せきむ","せきゆ","せきらんうん","せけん","せこう","せすじ","せたい","せたけ","せっかく","せっきゃく","ぜっく","せっけん","せっこつ","せっさたくま","せつぞく","せつだん","せつでん","せっぱん","せつび","せつぶん","せつめい","せつりつ","せなか","せのび","せはば","せびろ","せぼね","せまい","せまる","せめる","せもたれ","せりふ","ぜんあく","せんい","せんえい","せんか","せんきょ","せんく","せんげん","ぜんご","せんさい","せんしゅ","せんすい","せんせい","せんぞ","せんたく","せんちょう","せんてい","せんとう","せんぬき","せんねん","せんぱい","ぜんぶ","ぜんぽう","せんむ","せんめんじょ","せんもん","せんやく","せんゆう","せんよう","ぜんら","ぜんりゃく","せんれい","せんろ","そあく","そいとげる","そいね","そうがんきょう","そうき","そうご","そうしん","そうだん","そうなん","そうび","そうめん","そうり","そえもの","そえん","そがい","そげき","そこう","そこそこ","そざい","そしな","そせい","そせん","そそぐ","そだてる","そつう","そつえん","そっかん","そつぎょう","そっけつ","そっこう","そっせん","そっと","そとがわ","そとづら","そなえる","そなた","そふぼ","そぼく","そぼろ","そまつ","そまる","そむく","そむりえ","そめる","そもそも","そよかぜ","そらまめ","そろう","そんかい","そんけい","そんざい","そんしつ","そんぞく","そんちょう","ぞんび","ぞんぶん","そんみん","たあい","たいいん","たいうん","たいえき","たいおう","だいがく","たいき","たいぐう","たいけん","たいこ","たいざい","だいじょうぶ","だいすき","たいせつ","たいそう","だいたい","たいちょう","たいてい","だいどころ","たいない","たいねつ","たいのう","たいはん","だいひょう","たいふう","たいへん","たいほ","たいまつばな","たいみんぐ","たいむ","たいめん","たいやき","たいよう","たいら","たいりょく","たいる","たいわん","たうえ","たえる","たおす","たおる","たおれる","たかい","たかね","たきび","たくさん","たこく","たこやき","たさい","たしざん","だじゃれ","たすける","たずさわる","たそがれ","たたかう","たたく","ただしい","たたみ","たちばな","だっかい","だっきゃく","だっこ","だっしゅつ","だったい","たてる","たとえる","たなばた","たにん","たぬき","たのしみ","たはつ","たぶん","たべる","たぼう","たまご","たまる","だむる","ためいき","ためす","ためる","たもつ","たやすい","たよる","たらす","たりきほんがん","たりょう","たりる","たると","たれる","たれんと","たろっと","たわむれる","だんあつ","たんい","たんおん","たんか","たんき","たんけん","たんご","たんさん","たんじょうび","だんせい","たんそく","たんたい","だんち","たんてい","たんとう","だんな","たんにん","だんねつ","たんのう","たんぴん","だんぼう","たんまつ","たんめい","だんれつ","だんろ","だんわ","ちあい","ちあん","ちいき","ちいさい","ちえん","ちかい","ちから","ちきゅう","ちきん","ちけいず","ちけん","ちこく","ちさい","ちしき","ちしりょう","ちせい","ちそう","ちたい","ちたん","ちちおや","ちつじょ","ちてき","ちてん","ちぬき","ちぬり","ちのう","ちひょう","ちへいせん","ちほう","ちまた","ちみつ","ちみどろ","ちめいど","ちゃんこなべ","ちゅうい","ちゆりょく","ちょうし","ちょさくけん","ちらし","ちらみ","ちりがみ","ちりょう","ちるど","ちわわ","ちんたい","ちんもく","ついか","ついたち","つうか","つうじょう","つうはん","つうわ","つかう","つかれる","つくね","つくる","つけね","つける","つごう","つたえる","つづく","つつじ","つつむ","つとめる","つながる","つなみ","つねづね","つのる","つぶす","つまらない","つまる","つみき","つめたい","つもり","つもる","つよい","つるぼ","つるみく","つわもの","つわり","てあし","てあて","てあみ","ていおん","ていか","ていき","ていけい","ていこく","ていさつ","ていし","ていせい","ていたい","ていど","ていねい","ていひょう","ていへん","ていぼう","てうち","ておくれ","てきとう","てくび","でこぼこ","てさぎょう","てさげ","てすり","てそう","てちがい","てちょう","てつがく","てつづき","でっぱ","てつぼう","てつや","でぬかえ","てぬき","てぬぐい","てのひら","てはい","てぶくろ","てふだ","てほどき","てほん","てまえ","てまきずし","てみじか","てみやげ","てらす","てれび","てわけ","てわたし","でんあつ","てんいん","てんかい","てんき","てんぐ","てんけん","てんごく","てんさい","てんし","てんすう","でんち","てんてき","てんとう","てんない","てんぷら","てんぼうだい","てんめつ","てんらんかい","でんりょく","でんわ","どあい","といれ","どうかん","とうきゅう","どうぐ","とうし","とうむぎ","とおい","とおか","とおく","とおす","とおる","とかい","とかす","ときおり","ときどき","とくい","とくしゅう","とくてん","とくに","とくべつ","とけい","とける","とこや","とさか","としょかん","とそう","とたん","とちゅう","とっきゅう","とっくん","とつぜん","とつにゅう","とどける","ととのえる","とない","となえる","となり","とのさま","とばす","どぶがわ","とほう","とまる","とめる","ともだち","ともる","どようび","とらえる","とんかつ","どんぶり","ないかく","ないこう","ないしょ","ないす","ないせん","ないそう","なおす","ながい","なくす","なげる","なこうど","なさけ","なたでここ","なっとう","なつやすみ","ななおし","なにごと","なにもの","なにわ","なのか","なふだ","なまいき","なまえ","なまみ","なみだ","なめらか","なめる","なやむ","ならう","ならび","ならぶ","なれる","なわとび","なわばり","にあう","にいがた","にうけ","におい","にかい","にがて","にきび","にくしみ","にくまん","にげる","にさんかたんそ","にしき","にせもの","にちじょう","にちようび","にっか","にっき","にっけい","にっこう","にっさん","にっしょく","にっすう","にっせき","にってい","になう","にほん","にまめ","にもつ","にやり","にゅういん","にりんしゃ","にわとり","にんい","にんか","にんき","にんげん","にんしき","にんずう","にんそう","にんたい","にんち","にんてい","にんにく","にんぷ","にんまり","にんむ","にんめい","にんよう","ぬいくぎ","ぬかす","ぬぐいとる","ぬぐう","ぬくもり","ぬすむ","ぬまえび","ぬめり","ぬらす","ぬんちゃく","ねあげ","ねいき","ねいる","ねいろ","ねぐせ","ねくたい","ねくら","ねこぜ","ねこむ","ねさげ","ねすごす","ねそべる","ねだん","ねつい","ねっしん","ねつぞう","ねったいぎょ","ねぶそく","ねふだ","ねぼう","ねほりはほり","ねまき","ねまわし","ねみみ","ねむい","ねむたい","ねもと","ねらう","ねわざ","ねんいり","ねんおし","ねんかん","ねんきん","ねんぐ","ねんざ","ねんし","ねんちゃく","ねんど","ねんぴ","ねんぶつ","ねんまつ","ねんりょう","ねんれい","のいず","のおづま","のがす","のきなみ","のこぎり","のこす","のこる","のせる","のぞく","のぞむ","のたまう","のちほど","のっく","のばす","のはら","のべる","のぼる","のみもの","のやま","のらいぬ","のらねこ","のりもの","のりゆき","のれん","のんき","ばあい","はあく","ばあさん","ばいか","ばいく","はいけん","はいご","はいしん","はいすい","はいせん","はいそう","はいち","ばいばい","はいれつ","はえる","はおる","はかい","ばかり","はかる","はくしゅ","はけん","はこぶ","はさみ","はさん","はしご","ばしょ","はしる","はせる","ぱそこん","はそん","はたん","はちみつ","はつおん","はっかく","はづき","はっきり","はっくつ","はっけん","はっこう","はっさん","はっしん","はったつ","はっちゅう","はってん","はっぴょう","はっぽう","はなす","はなび","はにかむ","はぶらし","はみがき","はむかう","はめつ","はやい","はやし","はらう","はろうぃん","はわい","はんい","はんえい","はんおん","はんかく","はんきょう","ばんぐみ","はんこ","はんしゃ","はんすう","はんだん","ぱんち","ぱんつ","はんてい","はんとし","はんのう","はんぱ","はんぶん","はんぺん","はんぼうき","はんめい","はんらん","はんろん","ひいき","ひうん","ひえる","ひかく","ひかり","ひかる","ひかん","ひくい","ひけつ","ひこうき","ひこく","ひさい","ひさしぶり","ひさん","びじゅつかん","ひしょ","ひそか","ひそむ","ひたむき","ひだり","ひたる","ひつぎ","ひっこし","ひっし","ひつじゅひん","ひっす","ひつぜん","ぴったり","ぴっちり","ひつよう","ひてい","ひとごみ","ひなまつり","ひなん","ひねる","ひはん","ひびく","ひひょう","ひほう","ひまわり","ひまん","ひみつ","ひめい","ひめじし","ひやけ","ひやす","ひよう","びょうき","ひらがな","ひらく","ひりつ","ひりょう","ひるま","ひるやすみ","ひれい","ひろい","ひろう","ひろき","ひろゆき","ひんかく","ひんけつ","ひんこん","ひんしゅ","ひんそう","ぴんち","ひんぱん","びんぼう","ふあん","ふいうち","ふうけい","ふうせん","ぷうたろう","ふうとう","ふうふ","ふえる","ふおん","ふかい","ふきん","ふくざつ","ふくぶくろ","ふこう","ふさい","ふしぎ","ふじみ","ふすま","ふせい","ふせぐ","ふそく","ぶたにく","ふたん","ふちょう","ふつう","ふつか","ふっかつ","ふっき","ふっこく","ぶどう","ふとる","ふとん","ふのう","ふはい","ふひょう","ふへん","ふまん","ふみん","ふめつ","ふめん","ふよう","ふりこ","ふりる","ふるい","ふんいき","ぶんがく","ぶんぐ","ふんしつ","ぶんせき","ふんそう","ぶんぽう","へいあん","へいおん","へいがい","へいき","へいげん","へいこう","へいさ","へいしゃ","へいせつ","へいそ","へいたく","へいてん","へいねつ","へいわ","へきが","へこむ","べにいろ","べにしょうが","へらす","へんかん","べんきょう","べんごし","へんさい","へんたい","べんり","ほあん","ほいく","ぼうぎょ","ほうこく","ほうそう","ほうほう","ほうもん","ほうりつ","ほえる","ほおん","ほかん","ほきょう","ぼきん","ほくろ","ほけつ","ほけん","ほこう","ほこる","ほしい","ほしつ","ほしゅ","ほしょう","ほせい","ほそい","ほそく","ほたて","ほたる","ぽちぶくろ","ほっきょく","ほっさ","ほったん","ほとんど","ほめる","ほんい","ほんき","ほんけ","ほんしつ","ほんやく","まいにち","まかい","まかせる","まがる","まける","まこと","まさつ","まじめ","ますく","まぜる","まつり","まとめ","まなぶ","まぬけ","まねく","まほう","まもる","まゆげ","まよう","まろやか","まわす","まわり","まわる","まんが","まんきつ","まんぞく","まんなか","みいら","みうち","みえる","みがく","みかた","みかん","みけん","みこん","みじかい","みすい","みすえる","みせる","みっか","みつかる","みつける","みてい","みとめる","みなと","みなみかさい","みねらる","みのう","みのがす","みほん","みもと","みやげ","みらい","みりょく","みわく","みんか","みんぞく","むいか","むえき","むえん","むかい","むかう","むかえ","むかし","むぎちゃ","むける","むげん","むさぼる","むしあつい","むしば","むじゅん","むしろ","むすう","むすこ","むすぶ","むすめ","むせる","むせん","むちゅう","むなしい","むのう","むやみ","むよう","むらさき","むりょう","むろん","めいあん","めいうん","めいえん","めいかく","めいきょく","めいさい","めいし","めいそう","めいぶつ","めいれい","めいわく","めぐまれる","めざす","めした","めずらしい","めだつ","めまい","めやす","めんきょ","めんせき","めんどう","もうしあげる","もうどうけん","もえる","もくし","もくてき","もくようび","もちろん","もどる","もらう","もんく","もんだい","やおや","やける","やさい","やさしい","やすい","やすたろう","やすみ","やせる","やそう","やたい","やちん","やっと","やっぱり","やぶる","やめる","ややこしい","やよい","やわらかい","ゆうき","ゆうびんきょく","ゆうべ","ゆうめい","ゆけつ","ゆしゅつ","ゆせん","ゆそう","ゆたか","ゆちゃく","ゆでる","ゆにゅう","ゆびわ","ゆらい","ゆれる","ようい","ようか","ようきゅう","ようじ","ようす","ようちえん","よかぜ","よかん","よきん","よくせい","よくぼう","よけい","よごれる","よさん","よしゅう","よそう","よそく","よっか","よてい","よどがわく","よねつ","よやく","よゆう","よろこぶ","よろしい","らいう","らくがき","らくご","らくさつ","らくだ","らしんばん","らせん","らぞく","らたい","らっか","られつ","りえき","りかい","りきさく","りきせつ","りくぐん","りくつ","りけん","りこう","りせい","りそう","りそく","りてん","りねん","りゆう","りゅうがく","りよう","りょうり","りょかん","りょくちゃ","りょこう","りりく","りれき","りろん","りんご","るいけい","るいさい","るいじ","るいせき","るすばん","るりがわら","れいかん","れいぎ","れいせい","れいぞうこ","れいとう","れいぼう","れきし","れきだい","れんあい","れんけい","れんこん","れんさい","れんしゅう","れんぞく","れんらく","ろうか","ろうご","ろうじん","ろうそく","ろくが","ろこつ","ろじうら","ろしゅつ","ろせん","ろてん","ろめん","ろれつ","ろんぎ","ろんぱ","ろんぶん","ろんり","わかす","わかめ","わかやま","わかれる","わしつ","わじまし","わすれもの","わらう","われる"]')},function(e){e.exports=JSON.parse('["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"]')},function(e,t,r){var n;e.exports=(n=r(266),n.enc.Hex)},function(e,t,r){var n;e.exports=(n=r(266),r(1111),function(e){var t=n,r=t.lib,A=r.WordArray,i=r.Hasher,o=t.x64.Word,a=t.algo,s=[],u=[],l=[];!function(){for(var e=1,t=0,r=0;r<24;r++){s[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)u[e+5*t]=t+(2*e+3*t)%5*5;for(var A=1,i=0;i<24;i++){for(var a=0,c=0,f=0;f<7;f++){if(1&A){var d=(1<<f)-1;d<32?c^=1<<d:a^=1<<d-32}128&A?A=A<<1^113:A<<=1}l[i]=o.create(a,c)}}();var c=[];!function(){for(var e=0;e<25;e++)c[e]=o.create()}();var f=a.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,A=0;A<n;A++){var i=e[t+2*A],o=e[t+2*A+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),(M=r[A]).high^=o,M.low^=i}for(var a=0;a<24;a++){for(var f=0;f<5;f++){for(var d=0,g=0,h=0;h<5;h++)d^=(M=r[f+5*h]).high,g^=M.low;var p=c[f];p.high=d,p.low=g}for(f=0;f<5;f++){var I=c[(f+4)%5],B=c[(f+1)%5],C=B.high,m=B.low;for(d=I.high^(C<<1|m>>>31),g=I.low^(m<<1|C>>>31),h=0;h<5;h++)(M=r[f+5*h]).high^=d,M.low^=g}for(var y=1;y<25;y++){var Q=(M=r[y]).high,w=M.low,E=s[y];E<32?(d=Q<<E|w>>>32-E,g=w<<E|Q>>>32-E):(d=w<<E-32|Q>>>64-E,g=Q<<E-32|w>>>64-E);var b=c[u[y]];b.high=d,b.low=g}var v=c[0],D=r[0];for(v.high=D.high,v.low=D.low,f=0;f<5;f++)for(h=0;h<5;h++){var M=r[y=f+5*h],k=c[y],_=c[(f+1)%5+5*h],S=c[(f+2)%5+5*h];M.high=k.high^~_.high&S.high,M.low=k.low^~_.low&S.low}M=r[0];var N=l[a];M.high^=N.high,M.low^=N.low}},_doFinalize:function(){var t=this._data,r=t.words,n=(this._nDataBytes,8*t.sigBytes),i=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(e.ceil((n+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*r.length,this._process();for(var o=this._state,a=this.cfg.outputLength/8,s=a/8,u=[],l=0;l<s;l++){var c=o[l],f=c.high,d=c.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),u.push(d),u.push(f)}return new A.init(u,a)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});t.SHA3=i._createHelper(f),t.HmacSHA3=i._createHmacHelper(f)}(Math),n.SHA3)},function(e,t,r){var n,A,i,o,a,s;e.exports=(s=r(266),A=(n=s).lib,i=A.Base,o=A.WordArray,(a=n.x64={}).Word=i.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var A=e[n];r.push(A.high),r.push(A.low)}return o.create(r,this.sigBytes)},clone:function(){for(var e=i.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}}),s)},function(e,t,r){var n;e.exports=(n=r(266),function(e){var t=n,r=t.lib,A=r.WordArray,i=r.Hasher,o=t.algo,a=[],s=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,A=0;A<64;)t(n)&&(A<8&&(a[A]=r(e.pow(n,.5))),s[A]=r(e.pow(n,1/3)),A++),n++}();var u=[],l=o.SHA256=i.extend({_doReset:function(){this._hash=new A.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],A=r[1],i=r[2],o=r[3],a=r[4],l=r[5],c=r[6],f=r[7],d=0;d<64;d++){if(d<16)u[d]=0|e[t+d];else{var g=u[d-15],h=(g<<25|g>>>7)^(g<<14|g>>>18)^g>>>3,p=u[d-2],I=(p<<15|p>>>17)^(p<<13|p>>>19)^p>>>10;u[d]=h+u[d-7]+I+u[d-16]}var B=n&A^n&i^A&i,C=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),m=f+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&l^~a&c)+s[d]+u[d];f=c,c=l,l=a,a=o+m|0,o=i,i=A,A=n,n=m+(C+B)|0}r[0]=r[0]+n|0,r[1]=r[1]+A|0,r[2]=r[2]+i|0,r[3]=r[3]+o|0,r[4]=r[4]+a|0,r[5]=r[5]+l|0,r[6]=r[6]+c|0,r[7]=r[7]+f|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,A=8*t.sigBytes;return r[A>>>5]|=128<<24-A%32,r[14+(A+64>>>9<<4)]=e.floor(n/4294967296),r[15+(A+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(l),t.HmacSHA256=i._createHmacHelper(l)}(Math),n.SHA256)},function(e,t,r){var n;e.exports=(n=r(266),
/** @preserve
	(c) 2012 by Cédric Mesnil. All rights reserved.

	Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

	    - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
	    - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

	THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
	*/
function(e){var t=n,r=t.lib,A=r.WordArray,i=r.Hasher,o=t.algo,a=A.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=A.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),u=A.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=A.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),c=A.create([0,1518500249,1859775393,2400959708,2840853838]),f=A.create([1352829926,1548603684,1836072691,2053994217,0]),d=o.RIPEMD160=i.extend({_doReset:function(){this._hash=A.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,A=e[n];e[n]=16711935&(A<<8|A>>>24)|4278255360&(A<<24|A>>>8)}var i,o,d,m,y,Q,w,E,b,v,D,M=this._hash.words,k=c.words,_=f.words,S=a.words,N=s.words,F=u.words,x=l.words;for(Q=i=M[0],w=o=M[1],E=d=M[2],b=m=M[3],v=y=M[4],r=0;r<80;r+=1)D=i+e[t+S[r]]|0,D+=r<16?g(o,d,m)+k[0]:r<32?h(o,d,m)+k[1]:r<48?p(o,d,m)+k[2]:r<64?I(o,d,m)+k[3]:B(o,d,m)+k[4],D=(D=C(D|=0,F[r]))+y|0,i=y,y=m,m=C(d,10),d=o,o=D,D=Q+e[t+N[r]]|0,D+=r<16?B(w,E,b)+_[0]:r<32?I(w,E,b)+_[1]:r<48?p(w,E,b)+_[2]:r<64?h(w,E,b)+_[3]:g(w,E,b)+_[4],D=(D=C(D|=0,x[r]))+v|0,Q=v,v=b,b=C(E,10),E=w,w=D;D=M[1]+d+b|0,M[1]=M[2]+m+v|0,M[2]=M[3]+y+Q|0,M[3]=M[4]+i+w|0,M[4]=M[0]+o+E|0,M[0]=D},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var A=this._hash,i=A.words,o=0;o<5;o++){var a=i[o];i[o]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return A},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function g(e,t,r){return e^t^r}function h(e,t,r){return e&t|~e&r}function p(e,t,r){return(e|~t)^r}function I(e,t,r){return e&r|t&~r}function B(e,t,r){return e^(t|~r)}function C(e,t){return e<<t|e>>>32-t}t.RIPEMD160=i._createHelper(d),t.HmacRIPEMD160=i._createHmacHelper(d)}(Math),n.RIPEMD160)},function(e,t,r){!function(t){"use strict";var r={bytesToHex:function(e){return function(e){return e.map(function(e){return t=e.toString(16),r=2,t.length>r?t:Array(r-t.length+1).join("0")+t;var t,r}).join("")}(e)},hexToBytes:function(e){if(e.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===e.indexOf("0x")&&(e=e.slice(2)),e.match(/../g).map(function(e){return parseInt(e,16)})}};e.exports?e.exports=r:t.convertHex=r}(this)},function(e,t,r){!function(t){"use strict";var r={bytesToString:function(e){return e.map(function(e){return String.fromCharCode(e)}).join("")},stringToBytes:function(e){return e.split("").map(function(e){return e.charCodeAt(0)})}};r.UTF8={bytesToString:function(e){return decodeURIComponent(escape(r.bytesToString(e)))},stringToBytes:function(e){return r.stringToBytes(unescape(encodeURIComponent(e)))}},e.exports?e.exports=r:t.convertString=r}(this)},function(e,t,r){"use strict";r(651);var n=r(311),A=r(267),i=r(656),o=(r(268),r(178)),a={initialize:n.initialize,unsafeRandomKey:function(){return n.unsafeRandomKey().then(function(e){return e.toString()})},randomKey:function(e){return n.randomKey(e).then(function(e){return e.toString()})},seedPrivate:function(e){return n.fromSeed(e).toString()},privateToPublic:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EOS";return n(e).toPublic().toString(t)},isValidPublic:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EOS";return A.isValid(e,t)},isValidPrivate:function(e){return n.isValid(e)},sign:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf8";if(!0===r)throw new TypeError("API changed, use signHash(..) instead");return!1===r&&console.log("Warning: ecc.sign hashData parameter was removed"),i.sign(e,t,r).toString()},signHash:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"hex";return i.signHash(e,t,r).toString()},verify:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"utf8";if(!0===n)throw new TypeError("API changed, use verifyHash(..) instead");return!1===n&&console.log("Warning: ecc.verify hashData parameter was removed"),(e=i.from(e)).verify(t,r,n)},verifyHash:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"hex";return(e=i.from(e)).verifyHash(t,r,n)},recover:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf8";if(!0===r)throw new TypeError("API changed, use recoverHash(signature, data) instead");return!1===r&&console.log("Warning: ecc.recover hashData parameter was removed"),(e=i.from(e)).recover(t,r).toString()},recoverHash:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"hex";return(e=i.from(e)).recoverHash(t,r).toString()},sha256:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hex";return o.sha256(e,t)}};e.exports=a},function(e,t,r){var n,A,i;
/**
 * @license long.js (c) 2013 Daniel Wirtz <dcode@dcode.io>
 * Released under the Apache License, Version 2.0
 * see: https://github.com/dcodeIO/long.js for details
 */A=[],void 0===(i="function"==typeof(n=function(){"use strict";function e(e,t,r){this.low=0|e,this.high=0|t,this.unsigned=!!r}function t(e){return!0===(e&&e.__isLong__)}e.prototype.__isLong__,Object.defineProperty(e.prototype,"__isLong__",{value:!0,enumerable:!1,configurable:!1}),e.isLong=t;var r={},n={};function A(e,t){var A,i,a;return t?(a=0<=(e>>>=0)&&e<256)&&(i=n[e])?i:(A=o(e,(0|e)<0?-1:0,!0),a&&(n[e]=A),A):(a=-128<=(e|=0)&&e<128)&&(i=r[e])?i:(A=o(e,e<0?-1:0,!1),a&&(r[e]=A),A)}function i(e,t){if(isNaN(e)||!isFinite(e))return t?h:g;if(t){if(e<0)return h;if(e>=c)return m}else{if(e<=-f)return y;if(e+1>=f)return C}return e<0?i(-e,t).neg():o(e%l|0,e/l|0,t)}function o(t,r,n){return new e(t,r,n)}e.fromInt=A,e.fromNumber=i,e.fromBits=o;var a=Math.pow;function s(e,t,r){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return g;if("number"==typeof t?(r=t,t=!1):t=!!t,(r=r||10)<2||36<r)throw RangeError("radix");var n;if((n=e.indexOf("-"))>0)throw Error("interior hyphen");if(0===n)return s(e.substring(1),t,r).neg();for(var A=i(a(r,8)),o=g,u=0;u<e.length;u+=8){var l=Math.min(8,e.length-u),c=parseInt(e.substring(u,u+l),r);if(l<8){var f=i(a(r,l));o=o.mul(f).add(i(c))}else o=(o=o.mul(A)).add(i(c))}return o.unsigned=t,o}function u(t){return t instanceof e?t:"number"==typeof t?i(t):"string"==typeof t?s(t):o(t.low,t.high,t.unsigned)}e.fromString=s,e.fromValue=u;var l=4294967296,c=l*l,f=c/2,d=A(1<<24),g=A(0);e.ZERO=g;var h=A(0,!0);e.UZERO=h;var p=A(1);e.ONE=p;var I=A(1,!0);e.UONE=I;var B=A(-1);e.NEG_ONE=B;var C=o(-1,2147483647,!1);e.MAX_VALUE=C;var m=o(-1,-1,!0);e.MAX_UNSIGNED_VALUE=m;var y=o(0,-2147483648,!1);e.MIN_VALUE=y;var Q=e.prototype;return Q.toInt=function(){return this.unsigned?this.low>>>0:this.low},Q.toNumber=function(){return this.unsigned?(this.high>>>0)*l+(this.low>>>0):this.high*l+(this.low>>>0)},Q.toString=function(e){if((e=e||10)<2||36<e)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(y)){var t=i(e),r=this.div(t),n=r.mul(t).sub(this);return r.toString(e)+n.toInt().toString(e)}return"-"+this.neg().toString(e)}for(var A=i(a(e,6),this.unsigned),o=this,s="";;){var u=o.div(A),l=(o.sub(u.mul(A)).toInt()>>>0).toString(e);if((o=u).isZero())return l+s;for(;l.length<6;)l="0"+l;s=""+l+s}},Q.getHighBits=function(){return this.high},Q.getHighBitsUnsigned=function(){return this.high>>>0},Q.getLowBits=function(){return this.low},Q.getLowBitsUnsigned=function(){return this.low>>>0},Q.getNumBitsAbs=function(){if(this.isNegative())return this.eq(y)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high?t+33:t+1},Q.isZero=function(){return 0===this.high&&0===this.low},Q.isNegative=function(){return!this.unsigned&&this.high<0},Q.isPositive=function(){return this.unsigned||this.high>=0},Q.isOdd=function(){return 1==(1&this.low)},Q.isEven=function(){return 0==(1&this.low)},Q.equals=function(e){return t(e)||(e=u(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&this.high===e.high&&this.low===e.low},Q.eq=Q.equals,Q.notEquals=function(e){return!this.eq(e)},Q.neq=Q.notEquals,Q.lessThan=function(e){return this.comp(e)<0},Q.lt=Q.lessThan,Q.lessThanOrEqual=function(e){return this.comp(e)<=0},Q.lte=Q.lessThanOrEqual,Q.greaterThan=function(e){return this.comp(e)>0},Q.gt=Q.greaterThan,Q.greaterThanOrEqual=function(e){return this.comp(e)>=0},Q.gte=Q.greaterThanOrEqual,Q.compare=function(e){if(t(e)||(e=u(e)),this.eq(e))return 0;var r=this.isNegative(),n=e.isNegative();return r&&!n?-1:!r&&n?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},Q.comp=Q.compare,Q.negate=function(){return!this.unsigned&&this.eq(y)?y:this.not().add(p)},Q.neg=Q.negate,Q.add=function(e){t(e)||(e=u(e));var r=this.high>>>16,n=65535&this.high,A=this.low>>>16,i=65535&this.low,a=e.high>>>16,s=65535&e.high,l=e.low>>>16,c=0,f=0,d=0,g=0;return d+=(g+=i+(65535&e.low))>>>16,f+=(d+=A+l)>>>16,c+=(f+=n+s)>>>16,c+=r+a,o((d&=65535)<<16|(g&=65535),(c&=65535)<<16|(f&=65535),this.unsigned)},Q.subtract=function(e){return t(e)||(e=u(e)),this.add(e.neg())},Q.sub=Q.subtract,Q.multiply=function(e){if(this.isZero())return g;if(t(e)||(e=u(e)),e.isZero())return g;if(this.eq(y))return e.isOdd()?y:g;if(e.eq(y))return this.isOdd()?y:g;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(d)&&e.lt(d))return i(this.toNumber()*e.toNumber(),this.unsigned);var r=this.high>>>16,n=65535&this.high,A=this.low>>>16,a=65535&this.low,s=e.high>>>16,l=65535&e.high,c=e.low>>>16,f=65535&e.low,h=0,p=0,I=0,B=0;return I+=(B+=a*f)>>>16,p+=(I+=A*f)>>>16,I&=65535,p+=(I+=a*c)>>>16,h+=(p+=n*f)>>>16,p&=65535,h+=(p+=A*c)>>>16,p&=65535,h+=(p+=a*l)>>>16,h+=r*f+n*c+A*l+a*s,o((I&=65535)<<16|(B&=65535),(h&=65535)<<16|(p&=65535),this.unsigned)},Q.mul=Q.multiply,Q.divide=function(e){if(t(e)||(e=u(e)),e.isZero())throw Error("division by zero");if(this.isZero())return this.unsigned?h:g;var r,n,A;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return h;if(e.gt(this.shru(1)))return I;A=h}else{if(this.eq(y))return e.eq(p)||e.eq(B)?y:e.eq(y)?p:(r=this.shr(1).div(e).shl(1)).eq(g)?e.isNegative()?p:B:(n=this.sub(e.mul(r)),A=r.add(n.div(e)));if(e.eq(y))return this.unsigned?h:g;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();A=g}for(n=this;n.gte(e);){r=Math.max(1,Math.floor(n.toNumber()/e.toNumber()));for(var o=Math.ceil(Math.log(r)/Math.LN2),s=o<=48?1:a(2,o-48),l=i(r),c=l.mul(e);c.isNegative()||c.gt(n);)c=(l=i(r-=s,this.unsigned)).mul(e);l.isZero()&&(l=p),A=A.add(l),n=n.sub(c)}return A},Q.div=Q.divide,Q.modulo=function(e){return t(e)||(e=u(e)),this.sub(this.div(e).mul(e))},Q.mod=Q.modulo,Q.not=function(){return o(~this.low,~this.high,this.unsigned)},Q.and=function(e){return t(e)||(e=u(e)),o(this.low&e.low,this.high&e.high,this.unsigned)},Q.or=function(e){return t(e)||(e=u(e)),o(this.low|e.low,this.high|e.high,this.unsigned)},Q.xor=function(e){return t(e)||(e=u(e)),o(this.low^e.low,this.high^e.high,this.unsigned)},Q.shiftLeft=function(e){return t(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?o(this.low<<e,this.high<<e|this.low>>>32-e,this.unsigned):o(0,this.low<<e-32,this.unsigned)},Q.shl=Q.shiftLeft,Q.shiftRight=function(e){return t(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?o(this.low>>>e|this.high<<32-e,this.high>>e,this.unsigned):o(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},Q.shr=Q.shiftRight,Q.shiftRightUnsigned=function(e){if(t(e)&&(e=e.toInt()),0==(e&=63))return this;var r=this.high;return e<32?o(this.low>>>e|r<<32-e,r>>>e,this.unsigned):o(32===e?r:r>>>e-32,0,this.unsigned)},Q.shru=Q.shiftRightUnsigned,Q.toSigned=function(){return this.unsigned?o(this.low,this.high,!1):this},Q.toUnsigned=function(){return this.unsigned?this:o(this.low,this.high,!0)},Q.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},Q.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24&255,255&e,e>>>8&255,e>>>16&255,e>>>24&255]},Q.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24&255,e>>>16&255,e>>>8&255,255&e,t>>>24&255,t>>>16&255,t>>>8&255,255&t]},e})?n.apply(t,A):n)||(e.exports=i)},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e){e.exports=JSON.parse('{"_args":[["bigi@1.4.2","/Users/Forrest/Desktop/zhiyou/VUE/mathwalletplus"]],"_from":"bigi@1.4.2","_id":"bigi@1.4.2","_inBundle":false,"_integrity":"sha1-nGZalfiLiwj8Bc/XMfVhhZ1yWCU=","_location":"/bigi","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"bigi@1.4.2","name":"bigi","escapedName":"bigi","rawSpec":"1.4.2","saveSpec":null,"fetchSpec":"1.4.2"},"_requiredBy":["/ecurve","/eosjs-ecc"],"_resolved":"http://registry.npm.taobao.org/bigi/download/bigi-1.4.2.tgz","_spec":"1.4.2","_where":"/Users/Forrest/Desktop/zhiyou/VUE/mathwalletplus","bugs":{"url":"https://github.com/cryptocoinjs/bigi/issues"},"dependencies":{},"description":"Big integers.","devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.5","jshint":"^2.5.1","mocha":"^2.1.0","mochify":"^2.1.0"},"homepage":"https://github.com/cryptocoinjs/bigi#readme","keywords":["cryptography","math","bitcoin","arbitrary","precision","arithmetic","big","integer","int","number","biginteger","bigint","bignumber","decimal","float"],"main":"./lib/index.js","name":"bigi","repository":{"url":"git+https://github.com/cryptocoinjs/bigi.git","type":"git"},"scripts":{"browser-test":"mochify --wd -R spec","coverage":"istanbul cover ./node_modules/.bin/_mocha -- --reporter list test/*.js","coveralls":"npm run-script coverage && node ./node_modules/.bin/coveralls < coverage/lcov.info","jshint":"jshint --config jshint.json lib/*.js ; true","test":"_mocha -- test/*.js","unit":"mocha"},"testling":{"files":"test/*.js","harness":"mocha","browsers":["ie/9..latest","firefox/latest","chrome/latest","safari/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"version":"1.4.2"}')},function(e,t,r){(function(e){var t=r(36),n=r(654);n.fromByteArrayUnsigned=function(e){return 128&e[0]?new n([0].concat(e)):new n(e)},n.prototype.toByteArrayUnsigned=function(){var e=this.toByteArray();return 0===e[0]?e.slice(1):e},n.fromDERInteger=function(e){return new n(e)},n.prototype.toDERInteger=n.prototype.toByteArray,n.fromBuffer=function(e){if(128&e[0]){var t=Array.prototype.slice.call(e);return new n([0].concat(t))}return new n(e)},n.fromHex=function(e){return""===e?n.ZERO:(t.equal(e,e.match(/^[A-Fa-f0-9]+/),"Invalid hex string"),t.equal(e.length%2,0,"Incomplete hex"),new n(e,16))},n.prototype.toBuffer=function(t){for(var r=this.toByteArrayUnsigned(),n=[],A=t-r.length;n.length<A;)n.push(0);return new e(n.concat(r))},n.prototype.toHex=function(e){return this.toBuffer(e).toString("hex")}}).call(this,r(8).Buffer)},function(e,t,r){var n=r(98),A=r(1122),i=r(655);e.exports=function(e){var t=A[e];if(!t)return null;var r=new n(t.p,16),o=new n(t.a,16),a=new n(t.b,16),s=new n(t.n,16),u=new n(t.h,16),l=new n(t.Gx,16),c=new n(t.Gy,16);return new i(r,o,a,l,c,s,u)}},function(e){e.exports=JSON.parse('{"secp128r1":{"p":"fffffffdffffffffffffffffffffffff","a":"fffffffdfffffffffffffffffffffffc","b":"e87579c11079f43dd824993c2cee5ed3","n":"fffffffe0000000075a30d1b9038a115","h":"01","Gx":"161ff7528b899b2d0c28607ca52c5b86","Gy":"cf5ac8395bafeb13c02da292dded7a83"},"secp160k1":{"p":"fffffffffffffffffffffffffffffffeffffac73","a":"00","b":"07","n":"0100000000000000000001b8fa16dfab9aca16b6b3","h":"01","Gx":"3b4c382ce37aa192a4019e763036f4f5dd4d7ebb","Gy":"938cf935318fdced6bc28286531733c3f03c4fee"},"secp160r1":{"p":"ffffffffffffffffffffffffffffffff7fffffff","a":"ffffffffffffffffffffffffffffffff7ffffffc","b":"1c97befc54bd7a8b65acf89f81d4d4adc565fa45","n":"0100000000000000000001f4c8f927aed3ca752257","h":"01","Gx":"4a96b5688ef573284664698968c38bb913cbfc82","Gy":"23a628553168947d59dcc912042351377ac5fb32"},"secp192k1":{"p":"fffffffffffffffffffffffffffffffffffffffeffffee37","a":"00","b":"03","n":"fffffffffffffffffffffffe26f2fc170f69466a74defd8d","h":"01","Gx":"db4ff10ec057e9ae26b07d0280b7f4341da5d1b1eae06c7d","Gy":"9b2f2f6d9c5628a7844163d015be86344082aa88d95e2f9d"},"secp192r1":{"p":"fffffffffffffffffffffffffffffffeffffffffffffffff","a":"fffffffffffffffffffffffffffffffefffffffffffffffc","b":"64210519e59c80e70fa7e9ab72243049feb8deecc146b9b1","n":"ffffffffffffffffffffffff99def836146bc9b1b4d22831","h":"01","Gx":"188da80eb03090f67cbf20eb43a18800f4ff0afd82ff1012","Gy":"07192b95ffc8da78631011ed6b24cdd573f977a11e794811"},"secp256k1":{"p":"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f","a":"00","b":"07","n":"fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141","h":"01","Gx":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","Gy":"483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"},"secp256r1":{"p":"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff","a":"ffffffff00000001000000000000000000000000fffffffffffffffffffffffc","b":"5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b","n":"ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551","h":"01","Gx":"6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296","Gy":"4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5"}}')},function(e,t,r){"use strict";e.exports=function(e){return function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new Promise(function(t,n){setTimeout(function(){try{t(e.apply(void 0,r))}catch(e){n(e)}})})}}},function(e,t,r){"use strict";(function(t){var n=r(36),A=r(658),i=r(98);function o(e,r){function n(){var n=e.toDERInteger(),A=r.toDERInteger(),i=[];return i.push(2,n.length),(i=i.concat(n)).push(2,A.length),(i=i.concat(A)).unshift(48,i.length),new t(i)}return A(i,e),A(i,r),{r:e,s:r,toCompact:function(n,A){A&&(n+=4),n+=27;var i=new t(65);return i.writeUInt8(n,0),e.toBuffer(32).copy(i,1),r.toBuffer(32).copy(i,33),i},toDER:n,toScriptSignature:function(e){var r=new t(1);return r.writeUInt8(e,0),t.concat([n(),r])}}}o.parseCompact=function(e){n.equal(e.length,65,"Invalid signature length");var t=e.readUInt8(0)-27;return n.equal(t,7&t,"Invalid signature parameter"),{compressed:!!(4&t),i:t&=3,signature:o(i.fromBuffer(e.slice(1,33)),i.fromBuffer(e.slice(33)))}},o.fromDER=function(e){n.equal(e.readUInt8(0),48,"Not a DER sequence"),n.equal(e.readUInt8(1),e.length-2,"Invalid sequence length"),n.equal(e.readUInt8(2),2,"Expected a DER integer");var t=e.readUInt8(3);n(t>0,"R length is zero");var r=4+t;n.equal(e.readUInt8(r),2,"Expected a DER integer (2)");var A=e.readUInt8(r+1);n(A>0,"S length is zero");var a=e.slice(4,r),s=e.slice(r+2);r+=2+A,t>1&&0===a.readUInt8(0)&&n(128&a.readUInt8(1),"R value excessively padded"),A>1&&0===s.readUInt8(0)&&n(128&s.readUInt8(1),"S value excessively padded"),n.equal(r,e.length,"Invalid DER encoding");var u=i.fromDERInteger(a),l=i.fromDERInteger(s);return n(u.signum()>=0,"R value is negative"),n(l.signum()>=0,"S value is negative"),o(u,l)},o.parseScriptSignature=function(e){var t=e.readUInt8(e.length-1),r=-129&t;return n(r>0&&r<4,"Invalid hashType"),{signature:o.fromDER(e.slice(0,-1)),hashType:t}},e.exports=o}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(651),A=r(311),i=r(267),o=r(656),a=r(268);e.exports={Aes:n,PrivateKey:A,PublicKey:i,Signature:o,key_utils:a}},function(e,t,r){(function(t){e.exports=
/*!
 * Fast "async" scrypt implementation in JavaScript.
 * Copyright (c) 2013-2016 Dmitry Chestnykh | BSD License
 * https://github.com/dchest/scrypt-async-js
 */
function(e,r,n,A,i,o,a,s){"use strict";function u(e){var t=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],r=1779033703,n=3144134277,A=1013904242,i=2773480762,o=1359893119,a=2600822924,s=528734635,u=1541459225,l=new Array(64);function c(e){for(var c=0,f=e.length;f>=64;){var d,g,h,p,I,B=r,C=n,m=A,y=i,Q=o,w=a,E=s,b=u;for(g=0;g<16;g++)h=c+4*g,l[g]=(255&e[h])<<24|(255&e[h+1])<<16|(255&e[h+2])<<8|255&e[h+3];for(g=16;g<64;g++)p=((d=l[g-2])>>>17|d<<15)^(d>>>19|d<<13)^d>>>10,I=((d=l[g-15])>>>7|d<<25)^(d>>>18|d<<14)^d>>>3,l[g]=(p+l[g-7]|0)+(I+l[g-16]|0)|0;for(g=0;g<64;g++)p=(((Q>>>6|Q<<26)^(Q>>>11|Q<<21)^(Q>>>25|Q<<7))+(Q&w^~Q&E)|0)+(b+(t[g]+l[g]|0)|0)|0,I=((B>>>2|B<<30)^(B>>>13|B<<19)^(B>>>22|B<<10))+(B&C^B&m^C&m)|0,b=E,E=w,w=Q,Q=y+p|0,y=m,m=C,C=B,B=p+I|0;r=r+B|0,n=n+C|0,A=A+m|0,i=i+y|0,o=o+Q|0,a=a+w|0,s=s+E|0,u=u+b|0,c+=64,f-=64}}c(e);var f,d=e.length%64,g=e.length/536870912|0,h=e.length<<3,p=d<56?56:120,I=e.slice(e.length-d,e.length);for(I.push(128),f=d+1;f<p;f++)I.push(0);return I.push(g>>>24&255),I.push(g>>>16&255),I.push(g>>>8&255),I.push(g>>>0&255),I.push(h>>>24&255),I.push(h>>>16&255),I.push(h>>>8&255),I.push(h>>>0&255),c(I),[r>>>24&255,r>>>16&255,r>>>8&255,r>>>0&255,n>>>24&255,n>>>16&255,n>>>8&255,n>>>0&255,A>>>24&255,A>>>16&255,A>>>8&255,A>>>0&255,i>>>24&255,i>>>16&255,i>>>8&255,i>>>0&255,o>>>24&255,o>>>16&255,o>>>8&255,o>>>0&255,a>>>24&255,a>>>16&255,a>>>8&255,a>>>0&255,s>>>24&255,s>>>16&255,s>>>8&255,s>>>0&255,u>>>24&255,u>>>16&255,u>>>8&255,u>>>0&255]}function l(e,t,r){e.length>64&&(e=u(e.push?e:Array.prototype.slice.call(e,0)));var n,A=64+t.length+4,i=new Array(A),o=new Array(64),a=[];for(n=0;n<64;n++)i[n]=54;for(n=0;n<e.length;n++)i[n]^=e[n];for(n=0;n<t.length;n++)i[64+n]=t[n];for(n=A-4;n<A;n++)i[n]=0;for(n=0;n<64;n++)o[n]=92;for(n=0;n<e.length;n++)o[n]^=e[n];function s(){for(var e=A-1;e>=A-4;e--){if(i[e]++,i[e]<=255)return;i[e]=0}}for(;r>=32;)s(),a=a.concat(u(o.concat(u(i)))),r-=32;return r>0&&(s(),a=a.concat(u(o.concat(u(i))).slice(0,r))),a}function c(e,t,r,n){var A,i,o=e[0]^t[r++],a=e[1]^t[r++],s=e[2]^t[r++],u=e[3]^t[r++],l=e[4]^t[r++],c=e[5]^t[r++],f=e[6]^t[r++],d=e[7]^t[r++],g=e[8]^t[r++],h=e[9]^t[r++],p=e[10]^t[r++],I=e[11]^t[r++],B=e[12]^t[r++],C=e[13]^t[r++],m=e[14]^t[r++],y=e[15]^t[r++],Q=o,w=a,E=s,b=u,v=l,D=c,M=f,k=d,_=g,S=h,N=p,F=I,x=B,G=C,H=m,U=y;for(i=0;i<8;i+=2)Q^=(A=(x^=(A=(_^=(A=(v^=(A=Q+x)<<7|A>>>25)+Q)<<9|A>>>23)+v)<<13|A>>>19)+_)<<18|A>>>14,D^=(A=(w^=(A=(G^=(A=(S^=(A=D+w)<<7|A>>>25)+D)<<9|A>>>23)+S)<<13|A>>>19)+G)<<18|A>>>14,N^=(A=(M^=(A=(E^=(A=(H^=(A=N+M)<<7|A>>>25)+N)<<9|A>>>23)+H)<<13|A>>>19)+E)<<18|A>>>14,U^=(A=(F^=(A=(k^=(A=(b^=(A=U+F)<<7|A>>>25)+U)<<9|A>>>23)+b)<<13|A>>>19)+k)<<18|A>>>14,Q^=(A=(b^=(A=(E^=(A=(w^=(A=Q+b)<<7|A>>>25)+Q)<<9|A>>>23)+w)<<13|A>>>19)+E)<<18|A>>>14,D^=(A=(v^=(A=(k^=(A=(M^=(A=D+v)<<7|A>>>25)+D)<<9|A>>>23)+M)<<13|A>>>19)+k)<<18|A>>>14,N^=(A=(S^=(A=(_^=(A=(F^=(A=N+S)<<7|A>>>25)+N)<<9|A>>>23)+F)<<13|A>>>19)+_)<<18|A>>>14,U^=(A=(H^=(A=(G^=(A=(x^=(A=U+H)<<7|A>>>25)+U)<<9|A>>>23)+x)<<13|A>>>19)+G)<<18|A>>>14;t[n++]=e[0]=Q+o|0,t[n++]=e[1]=w+a|0,t[n++]=e[2]=E+s|0,t[n++]=e[3]=b+u|0,t[n++]=e[4]=v+l|0,t[n++]=e[5]=D+c|0,t[n++]=e[6]=M+f|0,t[n++]=e[7]=k+d|0,t[n++]=e[8]=_+g|0,t[n++]=e[9]=S+h|0,t[n++]=e[10]=N+p|0,t[n++]=e[11]=F+I|0,t[n++]=e[12]=x+B|0,t[n++]=e[13]=G+C|0,t[n++]=e[14]=H+m|0,t[n++]=e[15]=U+y|0}function f(e,t,r,n,A){for(;A--;)e[t++]=r[n++]}function d(e,t,r,n,A){for(;A--;)e[t++]^=r[n++]}function g(e,t,r,n,A){f(e,0,t,r+16*(2*A-1),16);for(var i=0;i<2*A;i+=2)c(e,t,r+16*i,n+8*i),c(e,t,r+16*i+16,n+8*i+16*A)}function h(e,t,r){return e[t+16*(2*r-1)]}function p(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n<128)t.push(n);else if(n<2048)t.push(192|n>>6),t.push(128|63&n);else if(n<55296)t.push(224|n>>12),t.push(128|n>>6&63),t.push(128|63&n);else{if(r>=e.length-1)throw new Error("invalid string");r++,n=(1023&n)<<10,n|=1023&e.charCodeAt(r),n+=65536,t.push(240|n>>18),t.push(128|n>>12&63),t.push(128|n>>6&63),t.push(128|63&n)}}return t}var I=1;if("object"==typeof n){if(arguments.length>4)throw new Error("scrypt: incorrect number of arguments");var B=n;if(a=A,void 0===(n=B.logN)){if(void 0===B.N)throw new Error("scrypt: missing N parameter");if(B.N<2||B.N>-1>>>0)throw new Error("scrypt: N is out of range");if(0!=(B.N&B.N-1))throw new Error("scrypt: N is not a power of 2");n=Math.log(B.N)/Math.LN2}I=B.p||1,A=B.r,i=B.dkLen||32,o=B.interruptStep||0,s=B.encoding}if(I<1)throw new Error("scrypt: invalid p");if(A<=0)throw new Error("scrypt: invalid r");if(n<1||n>31)throw new Error("scrypt: logN must be between 1 and 31");var C,m,y,Q,w=1<<n>>>0;if(A*I>=1<<30||A>(-1>>>0)/128/I||A>(-1>>>0)/256||w>(-1>>>0)/128/A)throw new Error("scrypt: parameters are too large");"string"==typeof e&&(e=p(e)),"string"==typeof r&&(r=p(r)),"undefined"!=typeof Int32Array?(C=new Int32Array(64*A),m=new Int32Array(32*w*A),Q=new Int32Array(16)):(C=[],m=[],Q=new Array(16)),y=l(e,r,128*I*A);var E=0,b=32*A;function v(e){for(var t=0;t<32*A;t++){var r=e+4*t;C[E+t]=(255&y[r+3])<<24|(255&y[r+2])<<16|(255&y[r+1])<<8|(255&y[r+0])<<0}}function D(e,t){for(var r=e;r<t;r+=2)f(m,r*(32*A),C,E,32*A),g(Q,C,E,b,A),f(m,(r+1)*(32*A),C,b,32*A),g(Q,C,b,E,A)}function M(e,t){for(var r=e;r<t;r+=2){var n=h(C,E,A)&w-1;d(C,E,m,n*(32*A),32*A),g(Q,C,E,b,A),n=h(C,b,A)&w-1,d(C,b,m,n*(32*A),32*A),g(Q,C,b,E,A)}}function k(e){for(var t=0;t<32*A;t++){var r=C[E+t];y[e+4*t+0]=r>>>0&255,y[e+4*t+1]=r>>>8&255,y[e+4*t+2]=r>>>16&255,y[e+4*t+3]=r>>>24&255}}var _=void 0!==t?t:setTimeout;function S(e,t,r,n,A){!function i(){_(function(){n(e,e+r<t?e+r:t),(e+=r)<t?i():A()})}()}function N(t){var r=l(e,y,i);return"base64"===t?function(e){for(var t,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),n=e.length,A=[],i=0;i<n;)t=((i<n?e[i++]:0)<<16)+((i<n?e[i++]:0)<<8)+(i<n?e[i++]:0),A.push(r[t>>>18&63]),A.push(r[t>>>12&63]),A.push(r[t>>>6&63]),A.push(r[t>>>0&63]);return n%3>0&&(A[A.length-1]="=",n%3==1&&(A[A.length-2]="=")),A.join("")}(r):"hex"===t?function(e){for(var t="0123456789abcdef".split(""),r=e.length,n=[],A=0;A<r;A++)n.push(t[e[A]>>>4&15]),n.push(t[e[A]>>>0&15]);return n.join("")}(r):"binary"===t?new Uint8Array(r):r}"function"==typeof o&&(s=a,a=o,o=1e3),o<=0?function(){for(var e=0;e<I;e++)v(128*e*A),D(0,w),M(0,w),k(128*e*A);a(N(s))}():function e(t){v(128*t*A),S(0,w,2*o,D,function(){S(0,w,2*o,M,function(){k(128*t*A),t+1<I?_(function(){e(t+1)}):a(N(s))})})}(0)}}).call(this,r(308).setImmediate)},function(e,t,r){!function(t){"use strict";for(var r=[null,0,{}],n=10,A=44032,i=4352,o=4449,a=4519,s=19,u=21,l=28,c=u*l,f=s*c,d=function(e,t){this.codepoint=e,this.feature=t},g={},h=[],p=0;p<=255;++p)h[p]=0;var I=[function(e,t,n){return t<60||13311<t&&t<42607?new d(t,r):e(t,n)},function(e,t,r){var A=g[t];return A||(A=e(t,r)).feature&&++h[t>>8&255]>n&&(g[t]=A),A},function(e,t,r){return r?e(t,r):new d(t,null)},function(e,t,r){var n;if(t<i||i+s<=t&&t<A||A+f<t)return e(t,r);if(i<=t&&t<i+s){var g={},h=(t-i)*u;for(n=0;n<u;++n)g[o+n]=A+l*(n+h);return new d(t,[,,g])}var p=t-A,I=p%l,B=[];if(0!==I)B[0]=[A+p-I,a+I];else for(B[0]=[i+Math.floor(p/c),o+Math.floor(p%c/l)],B[2]={},n=1;n<l;++n)B[2][a+n]=t+n;return new d(t,B)},function(e,t,n){var A=65280&t,i=(d.udata[A]||{})[t];return new d(t,i||r)}];d.fromCharCode=I.reduceRight(function(e,t){return function(r,n){return t(e,r,n)}},null),d.isHighSurrogate=function(e){return e>=55296&&e<=56319},d.isLowSurrogate=function(e){return e>=56320&&e<=57343},d.prototype.prepFeature=function(){this.feature||(this.feature=d.fromCharCode(this.codepoint,!0).feature)},d.prototype.toString=function(){if(this.codepoint<65536)return String.fromCharCode(this.codepoint);var e=this.codepoint-65536;return String.fromCharCode(Math.floor(e/1024)+55296,e%1024+56320)},d.prototype.getDecomp=function(){return this.prepFeature(),this.feature[0]||null},d.prototype.isCompatibility=function(){return this.prepFeature(),!!this.feature[1]&&256&this.feature[1]},d.prototype.isExclude=function(){return this.prepFeature(),!!this.feature[1]&&512&this.feature[1]},d.prototype.getCanonicalClass=function(){return this.prepFeature(),this.feature[1]?255&this.feature[1]:0},d.prototype.getComposite=function(e){if(this.prepFeature(),!this.feature[2])return null;var t=this.feature[2][e.codepoint];return t?d.fromCharCode(t):null};var B=function(e){this.str=e,this.cursor=0};B.prototype.next=function(){if(this.str&&this.cursor<this.str.length){var e,t=this.str.charCodeAt(this.cursor++);return d.isHighSurrogate(t)&&this.cursor<this.str.length&&d.isLowSurrogate(e=this.str.charCodeAt(this.cursor))&&(t=1024*(t-55296)+(e-56320)+65536,++this.cursor),d.fromCharCode(t)}return this.str=null,null};var C=function(e,t){this.it=e,this.canonical=t,this.resBuf=[]};C.prototype.next=function(){if(0===this.resBuf.length){var e=this.it.next();if(!e)return null;this.resBuf=function e(t,r){var n=r.getDecomp();if(!n||t&&r.isCompatibility())return[r];for(var A=[],i=0;i<n.length;++i){var o=e(t,d.fromCharCode(n[i]));A=A.concat(o)}return A}(this.canonical,e)}return this.resBuf.shift()};var m=function(e){this.it=e,this.resBuf=[]};m.prototype.next=function(){var e;if(0===this.resBuf.length)do{var t=this.it.next();if(!t)break;e=t.getCanonicalClass();var r=this.resBuf.length;if(0!==e)for(;r>0;--r){if(this.resBuf[r-1].getCanonicalClass()<=e)break}this.resBuf.splice(r,0,t)}while(0!==e);return this.resBuf.shift()};var y=function(e){this.it=e,this.procBuf=[],this.resBuf=[],this.lastClass=null};y.prototype.next=function(){for(;0===this.resBuf.length;){var e=this.it.next();if(!e){this.resBuf=this.procBuf,this.procBuf=[];break}if(0===this.procBuf.length)this.lastClass=e.getCanonicalClass(),this.procBuf.push(e);else{var t=this.procBuf[0].getComposite(e),r=e.getCanonicalClass();t&&(this.lastClass<r||0===this.lastClass)?this.procBuf[0]=t:(0===r&&(this.resBuf=this.procBuf,this.procBuf=[]),this.lastClass=r,this.procBuf.push(e))}}return this.resBuf.shift()};var Q=function(e,t){for(var r,n=function(e,t){switch(e){case"NFD":return new m(new C(new B(t),!0));case"NFKD":return new m(new C(new B(t),!1));case"NFC":return new y(new m(new C(new B(t),!0)));case"NFKC":return new y(new m(new C(new B(t),!1)))}throw e+" is invalid"}(e,t),A="";r=n.next();)A+=r.toString();return A};d.udata={0:{60:[,,{824:8814}],61:[,,{824:8800}],62:[,,{824:8815}],65:[,,{768:192,769:193,770:194,771:195,772:256,774:258,775:550,776:196,777:7842,778:197,780:461,783:512,785:514,803:7840,805:7680,808:260}],66:[,,{775:7682,803:7684,817:7686}],67:[,,{769:262,770:264,775:266,780:268,807:199}],68:[,,{775:7690,780:270,803:7692,807:7696,813:7698,817:7694}],69:[,,{768:200,769:201,770:202,771:7868,772:274,774:276,775:278,776:203,777:7866,780:282,783:516,785:518,803:7864,807:552,808:280,813:7704,816:7706}],70:[,,{775:7710}],71:[,,{769:500,770:284,772:7712,774:286,775:288,780:486,807:290}],72:[,,{770:292,775:7714,776:7718,780:542,803:7716,807:7720,814:7722}],73:[,,{768:204,769:205,770:206,771:296,772:298,774:300,775:304,776:207,777:7880,780:463,783:520,785:522,803:7882,808:302,816:7724}],74:[,,{770:308}],75:[,,{769:7728,780:488,803:7730,807:310,817:7732}],76:[,,{769:313,780:317,803:7734,807:315,813:7740,817:7738}],77:[,,{769:7742,775:7744,803:7746}],78:[,,{768:504,769:323,771:209,775:7748,780:327,803:7750,807:325,813:7754,817:7752}],79:[,,{768:210,769:211,770:212,771:213,772:332,774:334,775:558,776:214,777:7886,779:336,780:465,783:524,785:526,795:416,803:7884,808:490}],80:[,,{769:7764,775:7766}],82:[,,{769:340,775:7768,780:344,783:528,785:530,803:7770,807:342,817:7774}],83:[,,{769:346,770:348,775:7776,780:352,803:7778,806:536,807:350}],84:[,,{775:7786,780:356,803:7788,806:538,807:354,813:7792,817:7790}],85:[,,{768:217,769:218,770:219,771:360,772:362,774:364,776:220,777:7910,778:366,779:368,780:467,783:532,785:534,795:431,803:7908,804:7794,808:370,813:7798,816:7796}],86:[,,{771:7804,803:7806}],87:[,,{768:7808,769:7810,770:372,775:7814,776:7812,803:7816}],88:[,,{775:7818,776:7820}],89:[,,{768:7922,769:221,770:374,771:7928,772:562,775:7822,776:376,777:7926,803:7924}],90:[,,{769:377,770:7824,775:379,780:381,803:7826,817:7828}],97:[,,{768:224,769:225,770:226,771:227,772:257,774:259,775:551,776:228,777:7843,778:229,780:462,783:513,785:515,803:7841,805:7681,808:261}],98:[,,{775:7683,803:7685,817:7687}],99:[,,{769:263,770:265,775:267,780:269,807:231}],100:[,,{775:7691,780:271,803:7693,807:7697,813:7699,817:7695}],101:[,,{768:232,769:233,770:234,771:7869,772:275,774:277,775:279,776:235,777:7867,780:283,783:517,785:519,803:7865,807:553,808:281,813:7705,816:7707}],102:[,,{775:7711}],103:[,,{769:501,770:285,772:7713,774:287,775:289,780:487,807:291}],104:[,,{770:293,775:7715,776:7719,780:543,803:7717,807:7721,814:7723,817:7830}],105:[,,{768:236,769:237,770:238,771:297,772:299,774:301,776:239,777:7881,780:464,783:521,785:523,803:7883,808:303,816:7725}],106:[,,{770:309,780:496}],107:[,,{769:7729,780:489,803:7731,807:311,817:7733}],108:[,,{769:314,780:318,803:7735,807:316,813:7741,817:7739}],109:[,,{769:7743,775:7745,803:7747}],110:[,,{768:505,769:324,771:241,775:7749,780:328,803:7751,807:326,813:7755,817:7753}],111:[,,{768:242,769:243,770:244,771:245,772:333,774:335,775:559,776:246,777:7887,779:337,780:466,783:525,785:527,795:417,803:7885,808:491}],112:[,,{769:7765,775:7767}],114:[,,{769:341,775:7769,780:345,783:529,785:531,803:7771,807:343,817:7775}],115:[,,{769:347,770:349,775:7777,780:353,803:7779,806:537,807:351}],116:[,,{775:7787,776:7831,780:357,803:7789,806:539,807:355,813:7793,817:7791}],117:[,,{768:249,769:250,770:251,771:361,772:363,774:365,776:252,777:7911,778:367,779:369,780:468,783:533,785:535,795:432,803:7909,804:7795,808:371,813:7799,816:7797}],118:[,,{771:7805,803:7807}],119:[,,{768:7809,769:7811,770:373,775:7815,776:7813,778:7832,803:7817}],120:[,,{775:7819,776:7821}],121:[,,{768:7923,769:253,770:375,771:7929,772:563,775:7823,776:255,777:7927,778:7833,803:7925}],122:[,,{769:378,770:7825,775:380,780:382,803:7827,817:7829}],160:[[32],256],168:[[32,776],256,{768:8173,769:901,834:8129}],170:[[97],256],175:[[32,772],256],178:[[50],256],179:[[51],256],180:[[32,769],256],181:[[956],256],184:[[32,807],256],185:[[49],256],186:[[111],256],188:[[49,8260,52],256],189:[[49,8260,50],256],190:[[51,8260,52],256],192:[[65,768]],193:[[65,769]],194:[[65,770],,{768:7846,769:7844,771:7850,777:7848}],195:[[65,771]],196:[[65,776],,{772:478}],197:[[65,778],,{769:506}],198:[,,{769:508,772:482}],199:[[67,807],,{769:7688}],200:[[69,768]],201:[[69,769]],202:[[69,770],,{768:7872,769:7870,771:7876,777:7874}],203:[[69,776]],204:[[73,768]],205:[[73,769]],206:[[73,770]],207:[[73,776],,{769:7726}],209:[[78,771]],210:[[79,768]],211:[[79,769]],212:[[79,770],,{768:7890,769:7888,771:7894,777:7892}],213:[[79,771],,{769:7756,772:556,776:7758}],214:[[79,776],,{772:554}],216:[,,{769:510}],217:[[85,768]],218:[[85,769]],219:[[85,770]],220:[[85,776],,{768:475,769:471,772:469,780:473}],221:[[89,769]],224:[[97,768]],225:[[97,769]],226:[[97,770],,{768:7847,769:7845,771:7851,777:7849}],227:[[97,771]],228:[[97,776],,{772:479}],229:[[97,778],,{769:507}],230:[,,{769:509,772:483}],231:[[99,807],,{769:7689}],232:[[101,768]],233:[[101,769]],234:[[101,770],,{768:7873,769:7871,771:7877,777:7875}],235:[[101,776]],236:[[105,768]],237:[[105,769]],238:[[105,770]],239:[[105,776],,{769:7727}],241:[[110,771]],242:[[111,768]],243:[[111,769]],244:[[111,770],,{768:7891,769:7889,771:7895,777:7893}],245:[[111,771],,{769:7757,772:557,776:7759}],246:[[111,776],,{772:555}],248:[,,{769:511}],249:[[117,768]],250:[[117,769]],251:[[117,770]],252:[[117,776],,{768:476,769:472,772:470,780:474}],253:[[121,769]],255:[[121,776]]},256:{256:[[65,772]],257:[[97,772]],258:[[65,774],,{768:7856,769:7854,771:7860,777:7858}],259:[[97,774],,{768:7857,769:7855,771:7861,777:7859}],260:[[65,808]],261:[[97,808]],262:[[67,769]],263:[[99,769]],264:[[67,770]],265:[[99,770]],266:[[67,775]],267:[[99,775]],268:[[67,780]],269:[[99,780]],270:[[68,780]],271:[[100,780]],274:[[69,772],,{768:7700,769:7702}],275:[[101,772],,{768:7701,769:7703}],276:[[69,774]],277:[[101,774]],278:[[69,775]],279:[[101,775]],280:[[69,808]],281:[[101,808]],282:[[69,780]],283:[[101,780]],284:[[71,770]],285:[[103,770]],286:[[71,774]],287:[[103,774]],288:[[71,775]],289:[[103,775]],290:[[71,807]],291:[[103,807]],292:[[72,770]],293:[[104,770]],296:[[73,771]],297:[[105,771]],298:[[73,772]],299:[[105,772]],300:[[73,774]],301:[[105,774]],302:[[73,808]],303:[[105,808]],304:[[73,775]],306:[[73,74],256],307:[[105,106],256],308:[[74,770]],309:[[106,770]],310:[[75,807]],311:[[107,807]],313:[[76,769]],314:[[108,769]],315:[[76,807]],316:[[108,807]],317:[[76,780]],318:[[108,780]],319:[[76,183],256],320:[[108,183],256],323:[[78,769]],324:[[110,769]],325:[[78,807]],326:[[110,807]],327:[[78,780]],328:[[110,780]],329:[[700,110],256],332:[[79,772],,{768:7760,769:7762}],333:[[111,772],,{768:7761,769:7763}],334:[[79,774]],335:[[111,774]],336:[[79,779]],337:[[111,779]],340:[[82,769]],341:[[114,769]],342:[[82,807]],343:[[114,807]],344:[[82,780]],345:[[114,780]],346:[[83,769],,{775:7780}],347:[[115,769],,{775:7781}],348:[[83,770]],349:[[115,770]],350:[[83,807]],351:[[115,807]],352:[[83,780],,{775:7782}],353:[[115,780],,{775:7783}],354:[[84,807]],355:[[116,807]],356:[[84,780]],357:[[116,780]],360:[[85,771],,{769:7800}],361:[[117,771],,{769:7801}],362:[[85,772],,{776:7802}],363:[[117,772],,{776:7803}],364:[[85,774]],365:[[117,774]],366:[[85,778]],367:[[117,778]],368:[[85,779]],369:[[117,779]],370:[[85,808]],371:[[117,808]],372:[[87,770]],373:[[119,770]],374:[[89,770]],375:[[121,770]],376:[[89,776]],377:[[90,769]],378:[[122,769]],379:[[90,775]],380:[[122,775]],381:[[90,780]],382:[[122,780]],383:[[115],256,{775:7835}],416:[[79,795],,{768:7900,769:7898,771:7904,777:7902,803:7906}],417:[[111,795],,{768:7901,769:7899,771:7905,777:7903,803:7907}],431:[[85,795],,{768:7914,769:7912,771:7918,777:7916,803:7920}],432:[[117,795],,{768:7915,769:7913,771:7919,777:7917,803:7921}],439:[,,{780:494}],452:[[68,381],256],453:[[68,382],256],454:[[100,382],256],455:[[76,74],256],456:[[76,106],256],457:[[108,106],256],458:[[78,74],256],459:[[78,106],256],460:[[110,106],256],461:[[65,780]],462:[[97,780]],463:[[73,780]],464:[[105,780]],465:[[79,780]],466:[[111,780]],467:[[85,780]],468:[[117,780]],469:[[220,772]],470:[[252,772]],471:[[220,769]],472:[[252,769]],473:[[220,780]],474:[[252,780]],475:[[220,768]],476:[[252,768]],478:[[196,772]],479:[[228,772]],480:[[550,772]],481:[[551,772]],482:[[198,772]],483:[[230,772]],486:[[71,780]],487:[[103,780]],488:[[75,780]],489:[[107,780]],490:[[79,808],,{772:492}],491:[[111,808],,{772:493}],492:[[490,772]],493:[[491,772]],494:[[439,780]],495:[[658,780]],496:[[106,780]],497:[[68,90],256],498:[[68,122],256],499:[[100,122],256],500:[[71,769]],501:[[103,769]],504:[[78,768]],505:[[110,768]],506:[[197,769]],507:[[229,769]],508:[[198,769]],509:[[230,769]],510:[[216,769]],511:[[248,769]],66045:[,220]},512:{512:[[65,783]],513:[[97,783]],514:[[65,785]],515:[[97,785]],516:[[69,783]],517:[[101,783]],518:[[69,785]],519:[[101,785]],520:[[73,783]],521:[[105,783]],522:[[73,785]],523:[[105,785]],524:[[79,783]],525:[[111,783]],526:[[79,785]],527:[[111,785]],528:[[82,783]],529:[[114,783]],530:[[82,785]],531:[[114,785]],532:[[85,783]],533:[[117,783]],534:[[85,785]],535:[[117,785]],536:[[83,806]],537:[[115,806]],538:[[84,806]],539:[[116,806]],542:[[72,780]],543:[[104,780]],550:[[65,775],,{772:480}],551:[[97,775],,{772:481}],552:[[69,807],,{774:7708}],553:[[101,807],,{774:7709}],554:[[214,772]],555:[[246,772]],556:[[213,772]],557:[[245,772]],558:[[79,775],,{772:560}],559:[[111,775],,{772:561}],560:[[558,772]],561:[[559,772]],562:[[89,772]],563:[[121,772]],658:[,,{780:495}],688:[[104],256],689:[[614],256],690:[[106],256],691:[[114],256],692:[[633],256],693:[[635],256],694:[[641],256],695:[[119],256],696:[[121],256],728:[[32,774],256],729:[[32,775],256],730:[[32,778],256],731:[[32,808],256],732:[[32,771],256],733:[[32,779],256],736:[[611],256],737:[[108],256],738:[[115],256],739:[[120],256],740:[[661],256],66272:[,220]},768:{768:[,230],769:[,230],770:[,230],771:[,230],772:[,230],773:[,230],774:[,230],775:[,230],776:[,230,{769:836}],777:[,230],778:[,230],779:[,230],780:[,230],781:[,230],782:[,230],783:[,230],784:[,230],785:[,230],786:[,230],787:[,230],788:[,230],789:[,232],790:[,220],791:[,220],792:[,220],793:[,220],794:[,232],795:[,216],796:[,220],797:[,220],798:[,220],799:[,220],800:[,220],801:[,202],802:[,202],803:[,220],804:[,220],805:[,220],806:[,220],807:[,202],808:[,202],809:[,220],810:[,220],811:[,220],812:[,220],813:[,220],814:[,220],815:[,220],816:[,220],817:[,220],818:[,220],819:[,220],820:[,1],821:[,1],822:[,1],823:[,1],824:[,1],825:[,220],826:[,220],827:[,220],828:[,220],829:[,230],830:[,230],831:[,230],832:[[768],230],833:[[769],230],834:[,230],835:[[787],230],836:[[776,769],230],837:[,240],838:[,230],839:[,220],840:[,220],841:[,220],842:[,230],843:[,230],844:[,230],845:[,220],846:[,220],848:[,230],849:[,230],850:[,230],851:[,220],852:[,220],853:[,220],854:[,220],855:[,230],856:[,232],857:[,220],858:[,220],859:[,230],860:[,233],861:[,234],862:[,234],863:[,233],864:[,234],865:[,234],866:[,233],867:[,230],868:[,230],869:[,230],870:[,230],871:[,230],872:[,230],873:[,230],874:[,230],875:[,230],876:[,230],877:[,230],878:[,230],879:[,230],884:[[697]],890:[[32,837],256],894:[[59]],900:[[32,769],256],901:[[168,769]],902:[[913,769]],903:[[183]],904:[[917,769]],905:[[919,769]],906:[[921,769]],908:[[927,769]],910:[[933,769]],911:[[937,769]],912:[[970,769]],913:[,,{768:8122,769:902,772:8121,774:8120,787:7944,788:7945,837:8124}],917:[,,{768:8136,769:904,787:7960,788:7961}],919:[,,{768:8138,769:905,787:7976,788:7977,837:8140}],921:[,,{768:8154,769:906,772:8153,774:8152,776:938,787:7992,788:7993}],927:[,,{768:8184,769:908,787:8008,788:8009}],929:[,,{788:8172}],933:[,,{768:8170,769:910,772:8169,774:8168,776:939,788:8025}],937:[,,{768:8186,769:911,787:8040,788:8041,837:8188}],938:[[921,776]],939:[[933,776]],940:[[945,769],,{837:8116}],941:[[949,769]],942:[[951,769],,{837:8132}],943:[[953,769]],944:[[971,769]],945:[,,{768:8048,769:940,772:8113,774:8112,787:7936,788:7937,834:8118,837:8115}],949:[,,{768:8050,769:941,787:7952,788:7953}],951:[,,{768:8052,769:942,787:7968,788:7969,834:8134,837:8131}],953:[,,{768:8054,769:943,772:8145,774:8144,776:970,787:7984,788:7985,834:8150}],959:[,,{768:8056,769:972,787:8e3,788:8001}],961:[,,{787:8164,788:8165}],965:[,,{768:8058,769:973,772:8161,774:8160,776:971,787:8016,788:8017,834:8166}],969:[,,{768:8060,769:974,787:8032,788:8033,834:8182,837:8179}],970:[[953,776],,{768:8146,769:912,834:8151}],971:[[965,776],,{768:8162,769:944,834:8167}],972:[[959,769]],973:[[965,769]],974:[[969,769],,{837:8180}],976:[[946],256],977:[[952],256],978:[[933],256,{769:979,776:980}],979:[[978,769]],980:[[978,776]],981:[[966],256],982:[[960],256],1008:[[954],256],1009:[[961],256],1010:[[962],256],1012:[[920],256],1013:[[949],256],1017:[[931],256],66422:[,230],66423:[,230],66424:[,230],66425:[,230],66426:[,230]},1024:{1024:[[1045,768]],1025:[[1045,776]],1027:[[1043,769]],1030:[,,{776:1031}],1031:[[1030,776]],1036:[[1050,769]],1037:[[1048,768]],1038:[[1059,774]],1040:[,,{774:1232,776:1234}],1043:[,,{769:1027}],1045:[,,{768:1024,774:1238,776:1025}],1046:[,,{774:1217,776:1244}],1047:[,,{776:1246}],1048:[,,{768:1037,772:1250,774:1049,776:1252}],1049:[[1048,774]],1050:[,,{769:1036}],1054:[,,{776:1254}],1059:[,,{772:1262,774:1038,776:1264,779:1266}],1063:[,,{776:1268}],1067:[,,{776:1272}],1069:[,,{776:1260}],1072:[,,{774:1233,776:1235}],1075:[,,{769:1107}],1077:[,,{768:1104,774:1239,776:1105}],1078:[,,{774:1218,776:1245}],1079:[,,{776:1247}],1080:[,,{768:1117,772:1251,774:1081,776:1253}],1081:[[1080,774]],1082:[,,{769:1116}],1086:[,,{776:1255}],1091:[,,{772:1263,774:1118,776:1265,779:1267}],1095:[,,{776:1269}],1099:[,,{776:1273}],1101:[,,{776:1261}],1104:[[1077,768]],1105:[[1077,776]],1107:[[1075,769]],1110:[,,{776:1111}],1111:[[1110,776]],1116:[[1082,769]],1117:[[1080,768]],1118:[[1091,774]],1140:[,,{783:1142}],1141:[,,{783:1143}],1142:[[1140,783]],1143:[[1141,783]],1155:[,230],1156:[,230],1157:[,230],1158:[,230],1159:[,230],1217:[[1046,774]],1218:[[1078,774]],1232:[[1040,774]],1233:[[1072,774]],1234:[[1040,776]],1235:[[1072,776]],1238:[[1045,774]],1239:[[1077,774]],1240:[,,{776:1242}],1241:[,,{776:1243}],1242:[[1240,776]],1243:[[1241,776]],1244:[[1046,776]],1245:[[1078,776]],1246:[[1047,776]],1247:[[1079,776]],1250:[[1048,772]],1251:[[1080,772]],1252:[[1048,776]],1253:[[1080,776]],1254:[[1054,776]],1255:[[1086,776]],1256:[,,{776:1258}],1257:[,,{776:1259}],1258:[[1256,776]],1259:[[1257,776]],1260:[[1069,776]],1261:[[1101,776]],1262:[[1059,772]],1263:[[1091,772]],1264:[[1059,776]],1265:[[1091,776]],1266:[[1059,779]],1267:[[1091,779]],1268:[[1063,776]],1269:[[1095,776]],1272:[[1067,776]],1273:[[1099,776]]},1280:{1415:[[1381,1410],256],1425:[,220],1426:[,230],1427:[,230],1428:[,230],1429:[,230],1430:[,220],1431:[,230],1432:[,230],1433:[,230],1434:[,222],1435:[,220],1436:[,230],1437:[,230],1438:[,230],1439:[,230],1440:[,230],1441:[,230],1442:[,220],1443:[,220],1444:[,220],1445:[,220],1446:[,220],1447:[,220],1448:[,230],1449:[,230],1450:[,220],1451:[,230],1452:[,230],1453:[,222],1454:[,228],1455:[,230],1456:[,10],1457:[,11],1458:[,12],1459:[,13],1460:[,14],1461:[,15],1462:[,16],1463:[,17],1464:[,18],1465:[,19],1466:[,19],1467:[,20],1468:[,21],1469:[,22],1471:[,23],1473:[,24],1474:[,25],1476:[,230],1477:[,220],1479:[,18]},1536:{1552:[,230],1553:[,230],1554:[,230],1555:[,230],1556:[,230],1557:[,230],1558:[,230],1559:[,230],1560:[,30],1561:[,31],1562:[,32],1570:[[1575,1619]],1571:[[1575,1620]],1572:[[1608,1620]],1573:[[1575,1621]],1574:[[1610,1620]],1575:[,,{1619:1570,1620:1571,1621:1573}],1608:[,,{1620:1572}],1610:[,,{1620:1574}],1611:[,27],1612:[,28],1613:[,29],1614:[,30],1615:[,31],1616:[,32],1617:[,33],1618:[,34],1619:[,230],1620:[,230],1621:[,220],1622:[,220],1623:[,230],1624:[,230],1625:[,230],1626:[,230],1627:[,230],1628:[,220],1629:[,230],1630:[,230],1631:[,220],1648:[,35],1653:[[1575,1652],256],1654:[[1608,1652],256],1655:[[1735,1652],256],1656:[[1610,1652],256],1728:[[1749,1620]],1729:[,,{1620:1730}],1730:[[1729,1620]],1746:[,,{1620:1747}],1747:[[1746,1620]],1749:[,,{1620:1728}],1750:[,230],1751:[,230],1752:[,230],1753:[,230],1754:[,230],1755:[,230],1756:[,230],1759:[,230],1760:[,230],1761:[,230],1762:[,230],1763:[,220],1764:[,230],1767:[,230],1768:[,230],1770:[,220],1771:[,230],1772:[,230],1773:[,220]},1792:{1809:[,36],1840:[,230],1841:[,220],1842:[,230],1843:[,230],1844:[,220],1845:[,230],1846:[,230],1847:[,220],1848:[,220],1849:[,220],1850:[,230],1851:[,220],1852:[,220],1853:[,230],1854:[,220],1855:[,230],1856:[,230],1857:[,230],1858:[,220],1859:[,230],1860:[,220],1861:[,230],1862:[,220],1863:[,230],1864:[,220],1865:[,230],1866:[,230],2027:[,230],2028:[,230],2029:[,230],2030:[,230],2031:[,230],2032:[,230],2033:[,230],2034:[,220],2035:[,230]},2048:{2070:[,230],2071:[,230],2072:[,230],2073:[,230],2075:[,230],2076:[,230],2077:[,230],2078:[,230],2079:[,230],2080:[,230],2081:[,230],2082:[,230],2083:[,230],2085:[,230],2086:[,230],2087:[,230],2089:[,230],2090:[,230],2091:[,230],2092:[,230],2093:[,230],2137:[,220],2138:[,220],2139:[,220],2276:[,230],2277:[,230],2278:[,220],2279:[,230],2280:[,230],2281:[,220],2282:[,230],2283:[,230],2284:[,230],2285:[,220],2286:[,220],2287:[,220],2288:[,27],2289:[,28],2290:[,29],2291:[,230],2292:[,230],2293:[,230],2294:[,220],2295:[,230],2296:[,230],2297:[,220],2298:[,220],2299:[,230],2300:[,230],2301:[,230],2302:[,230],2303:[,230]},2304:{2344:[,,{2364:2345}],2345:[[2344,2364]],2352:[,,{2364:2353}],2353:[[2352,2364]],2355:[,,{2364:2356}],2356:[[2355,2364]],2364:[,7],2381:[,9],2385:[,230],2386:[,220],2387:[,230],2388:[,230],2392:[[2325,2364],512],2393:[[2326,2364],512],2394:[[2327,2364],512],2395:[[2332,2364],512],2396:[[2337,2364],512],2397:[[2338,2364],512],2398:[[2347,2364],512],2399:[[2351,2364],512],2492:[,7],2503:[,,{2494:2507,2519:2508}],2507:[[2503,2494]],2508:[[2503,2519]],2509:[,9],2524:[[2465,2492],512],2525:[[2466,2492],512],2527:[[2479,2492],512]},2560:{2611:[[2610,2620],512],2614:[[2616,2620],512],2620:[,7],2637:[,9],2649:[[2582,2620],512],2650:[[2583,2620],512],2651:[[2588,2620],512],2654:[[2603,2620],512],2748:[,7],2765:[,9],68109:[,220],68111:[,230],68152:[,230],68153:[,1],68154:[,220],68159:[,9],68325:[,230],68326:[,220]},2816:{2876:[,7],2887:[,,{2878:2891,2902:2888,2903:2892}],2888:[[2887,2902]],2891:[[2887,2878]],2892:[[2887,2903]],2893:[,9],2908:[[2849,2876],512],2909:[[2850,2876],512],2962:[,,{3031:2964}],2964:[[2962,3031]],3014:[,,{3006:3018,3031:3020}],3015:[,,{3006:3019}],3018:[[3014,3006]],3019:[[3015,3006]],3020:[[3014,3031]],3021:[,9]},3072:{3142:[,,{3158:3144}],3144:[[3142,3158]],3149:[,9],3157:[,84],3158:[,91],3260:[,7],3263:[,,{3285:3264}],3264:[[3263,3285]],3270:[,,{3266:3274,3285:3271,3286:3272}],3271:[[3270,3285]],3272:[[3270,3286]],3274:[[3270,3266],,{3285:3275}],3275:[[3274,3285]],3277:[,9]},3328:{3398:[,,{3390:3402,3415:3404}],3399:[,,{3390:3403}],3402:[[3398,3390]],3403:[[3399,3390]],3404:[[3398,3415]],3405:[,9],3530:[,9],3545:[,,{3530:3546,3535:3548,3551:3550}],3546:[[3545,3530]],3548:[[3545,3535],,{3530:3549}],3549:[[3548,3530]],3550:[[3545,3551]]},3584:{3635:[[3661,3634],256],3640:[,103],3641:[,103],3642:[,9],3656:[,107],3657:[,107],3658:[,107],3659:[,107],3763:[[3789,3762],256],3768:[,118],3769:[,118],3784:[,122],3785:[,122],3786:[,122],3787:[,122],3804:[[3755,3737],256],3805:[[3755,3745],256]},3840:{3852:[[3851],256],3864:[,220],3865:[,220],3893:[,220],3895:[,220],3897:[,216],3907:[[3906,4023],512],3917:[[3916,4023],512],3922:[[3921,4023],512],3927:[[3926,4023],512],3932:[[3931,4023],512],3945:[[3904,4021],512],3953:[,129],3954:[,130],3955:[[3953,3954],512],3956:[,132],3957:[[3953,3956],512],3958:[[4018,3968],512],3959:[[4018,3969],256],3960:[[4019,3968],512],3961:[[4019,3969],256],3962:[,130],3963:[,130],3964:[,130],3965:[,130],3968:[,130],3969:[[3953,3968],512],3970:[,230],3971:[,230],3972:[,9],3974:[,230],3975:[,230],3987:[[3986,4023],512],3997:[[3996,4023],512],4002:[[4001,4023],512],4007:[[4006,4023],512],4012:[[4011,4023],512],4025:[[3984,4021],512],4038:[,220]},4096:{4133:[,,{4142:4134}],4134:[[4133,4142]],4151:[,7],4153:[,9],4154:[,9],4237:[,220],4348:[[4316],256],69702:[,9],69759:[,9],69785:[,,{69818:69786}],69786:[[69785,69818]],69787:[,,{69818:69788}],69788:[[69787,69818]],69797:[,,{69818:69803}],69803:[[69797,69818]],69817:[,9],69818:[,7]},4352:{69888:[,230],69889:[,230],69890:[,230],69934:[[69937,69927]],69935:[[69938,69927]],69937:[,,{69927:69934}],69938:[,,{69927:69935}],69939:[,9],69940:[,9],70003:[,7],70080:[,9]},4608:{70197:[,9],70198:[,7],70377:[,7],70378:[,9]},4864:{4957:[,230],4958:[,230],4959:[,230],70460:[,7],70471:[,,{70462:70475,70487:70476}],70475:[[70471,70462]],70476:[[70471,70487]],70477:[,9],70502:[,230],70503:[,230],70504:[,230],70505:[,230],70506:[,230],70507:[,230],70508:[,230],70512:[,230],70513:[,230],70514:[,230],70515:[,230],70516:[,230]},5120:{70841:[,,{70832:70844,70842:70843,70845:70846}],70843:[[70841,70842]],70844:[[70841,70832]],70846:[[70841,70845]],70850:[,9],70851:[,7]},5376:{71096:[,,{71087:71098}],71097:[,,{71087:71099}],71098:[[71096,71087]],71099:[[71097,71087]],71103:[,9],71104:[,7]},5632:{71231:[,9],71350:[,9],71351:[,7]},5888:{5908:[,9],5940:[,9],6098:[,9],6109:[,230]},6144:{6313:[,228]},6400:{6457:[,222],6458:[,230],6459:[,220]},6656:{6679:[,230],6680:[,220],6752:[,9],6773:[,230],6774:[,230],6775:[,230],6776:[,230],6777:[,230],6778:[,230],6779:[,230],6780:[,230],6783:[,220],6832:[,230],6833:[,230],6834:[,230],6835:[,230],6836:[,230],6837:[,220],6838:[,220],6839:[,220],6840:[,220],6841:[,220],6842:[,220],6843:[,230],6844:[,230],6845:[,220]},6912:{6917:[,,{6965:6918}],6918:[[6917,6965]],6919:[,,{6965:6920}],6920:[[6919,6965]],6921:[,,{6965:6922}],6922:[[6921,6965]],6923:[,,{6965:6924}],6924:[[6923,6965]],6925:[,,{6965:6926}],6926:[[6925,6965]],6929:[,,{6965:6930}],6930:[[6929,6965]],6964:[,7],6970:[,,{6965:6971}],6971:[[6970,6965]],6972:[,,{6965:6973}],6973:[[6972,6965]],6974:[,,{6965:6976}],6975:[,,{6965:6977}],6976:[[6974,6965]],6977:[[6975,6965]],6978:[,,{6965:6979}],6979:[[6978,6965]],6980:[,9],7019:[,230],7020:[,220],7021:[,230],7022:[,230],7023:[,230],7024:[,230],7025:[,230],7026:[,230],7027:[,230],7082:[,9],7083:[,9],7142:[,7],7154:[,9],7155:[,9]},7168:{7223:[,7],7376:[,230],7377:[,230],7378:[,230],7380:[,1],7381:[,220],7382:[,220],7383:[,220],7384:[,220],7385:[,220],7386:[,230],7387:[,230],7388:[,220],7389:[,220],7390:[,220],7391:[,220],7392:[,230],7394:[,1],7395:[,1],7396:[,1],7397:[,1],7398:[,1],7399:[,1],7400:[,1],7405:[,220],7412:[,230],7416:[,230],7417:[,230]},7424:{7468:[[65],256],7469:[[198],256],7470:[[66],256],7472:[[68],256],7473:[[69],256],7474:[[398],256],7475:[[71],256],7476:[[72],256],7477:[[73],256],7478:[[74],256],7479:[[75],256],7480:[[76],256],7481:[[77],256],7482:[[78],256],7484:[[79],256],7485:[[546],256],7486:[[80],256],7487:[[82],256],7488:[[84],256],7489:[[85],256],7490:[[87],256],7491:[[97],256],7492:[[592],256],7493:[[593],256],7494:[[7426],256],7495:[[98],256],7496:[[100],256],7497:[[101],256],7498:[[601],256],7499:[[603],256],7500:[[604],256],7501:[[103],256],7503:[[107],256],7504:[[109],256],7505:[[331],256],7506:[[111],256],7507:[[596],256],7508:[[7446],256],7509:[[7447],256],7510:[[112],256],7511:[[116],256],7512:[[117],256],7513:[[7453],256],7514:[[623],256],7515:[[118],256],7516:[[7461],256],7517:[[946],256],7518:[[947],256],7519:[[948],256],7520:[[966],256],7521:[[967],256],7522:[[105],256],7523:[[114],256],7524:[[117],256],7525:[[118],256],7526:[[946],256],7527:[[947],256],7528:[[961],256],7529:[[966],256],7530:[[967],256],7544:[[1085],256],7579:[[594],256],7580:[[99],256],7581:[[597],256],7582:[[240],256],7583:[[604],256],7584:[[102],256],7585:[[607],256],7586:[[609],256],7587:[[613],256],7588:[[616],256],7589:[[617],256],7590:[[618],256],7591:[[7547],256],7592:[[669],256],7593:[[621],256],7594:[[7557],256],7595:[[671],256],7596:[[625],256],7597:[[624],256],7598:[[626],256],7599:[[627],256],7600:[[628],256],7601:[[629],256],7602:[[632],256],7603:[[642],256],7604:[[643],256],7605:[[427],256],7606:[[649],256],7607:[[650],256],7608:[[7452],256],7609:[[651],256],7610:[[652],256],7611:[[122],256],7612:[[656],256],7613:[[657],256],7614:[[658],256],7615:[[952],256],7616:[,230],7617:[,230],7618:[,220],7619:[,230],7620:[,230],7621:[,230],7622:[,230],7623:[,230],7624:[,230],7625:[,230],7626:[,220],7627:[,230],7628:[,230],7629:[,234],7630:[,214],7631:[,220],7632:[,202],7633:[,230],7634:[,230],7635:[,230],7636:[,230],7637:[,230],7638:[,230],7639:[,230],7640:[,230],7641:[,230],7642:[,230],7643:[,230],7644:[,230],7645:[,230],7646:[,230],7647:[,230],7648:[,230],7649:[,230],7650:[,230],7651:[,230],7652:[,230],7653:[,230],7654:[,230],7655:[,230],7656:[,230],7657:[,230],7658:[,230],7659:[,230],7660:[,230],7661:[,230],7662:[,230],7663:[,230],7664:[,230],7665:[,230],7666:[,230],7667:[,230],7668:[,230],7669:[,230],7676:[,233],7677:[,220],7678:[,230],7679:[,220]},7680:{7680:[[65,805]],7681:[[97,805]],7682:[[66,775]],7683:[[98,775]],7684:[[66,803]],7685:[[98,803]],7686:[[66,817]],7687:[[98,817]],7688:[[199,769]],7689:[[231,769]],7690:[[68,775]],7691:[[100,775]],7692:[[68,803]],7693:[[100,803]],7694:[[68,817]],7695:[[100,817]],7696:[[68,807]],7697:[[100,807]],7698:[[68,813]],7699:[[100,813]],7700:[[274,768]],7701:[[275,768]],7702:[[274,769]],7703:[[275,769]],7704:[[69,813]],7705:[[101,813]],7706:[[69,816]],7707:[[101,816]],7708:[[552,774]],7709:[[553,774]],7710:[[70,775]],7711:[[102,775]],7712:[[71,772]],7713:[[103,772]],7714:[[72,775]],7715:[[104,775]],7716:[[72,803]],7717:[[104,803]],7718:[[72,776]],7719:[[104,776]],7720:[[72,807]],7721:[[104,807]],7722:[[72,814]],7723:[[104,814]],7724:[[73,816]],7725:[[105,816]],7726:[[207,769]],7727:[[239,769]],7728:[[75,769]],7729:[[107,769]],7730:[[75,803]],7731:[[107,803]],7732:[[75,817]],7733:[[107,817]],7734:[[76,803],,{772:7736}],7735:[[108,803],,{772:7737}],7736:[[7734,772]],7737:[[7735,772]],7738:[[76,817]],7739:[[108,817]],7740:[[76,813]],7741:[[108,813]],7742:[[77,769]],7743:[[109,769]],7744:[[77,775]],7745:[[109,775]],7746:[[77,803]],7747:[[109,803]],7748:[[78,775]],7749:[[110,775]],7750:[[78,803]],7751:[[110,803]],7752:[[78,817]],7753:[[110,817]],7754:[[78,813]],7755:[[110,813]],7756:[[213,769]],7757:[[245,769]],7758:[[213,776]],7759:[[245,776]],7760:[[332,768]],7761:[[333,768]],7762:[[332,769]],7763:[[333,769]],7764:[[80,769]],7765:[[112,769]],7766:[[80,775]],7767:[[112,775]],7768:[[82,775]],7769:[[114,775]],7770:[[82,803],,{772:7772}],7771:[[114,803],,{772:7773}],7772:[[7770,772]],7773:[[7771,772]],7774:[[82,817]],7775:[[114,817]],7776:[[83,775]],7777:[[115,775]],7778:[[83,803],,{775:7784}],7779:[[115,803],,{775:7785}],7780:[[346,775]],7781:[[347,775]],7782:[[352,775]],7783:[[353,775]],7784:[[7778,775]],7785:[[7779,775]],7786:[[84,775]],7787:[[116,775]],7788:[[84,803]],7789:[[116,803]],7790:[[84,817]],7791:[[116,817]],7792:[[84,813]],7793:[[116,813]],7794:[[85,804]],7795:[[117,804]],7796:[[85,816]],7797:[[117,816]],7798:[[85,813]],7799:[[117,813]],7800:[[360,769]],7801:[[361,769]],7802:[[362,776]],7803:[[363,776]],7804:[[86,771]],7805:[[118,771]],7806:[[86,803]],7807:[[118,803]],7808:[[87,768]],7809:[[119,768]],7810:[[87,769]],7811:[[119,769]],7812:[[87,776]],7813:[[119,776]],7814:[[87,775]],7815:[[119,775]],7816:[[87,803]],7817:[[119,803]],7818:[[88,775]],7819:[[120,775]],7820:[[88,776]],7821:[[120,776]],7822:[[89,775]],7823:[[121,775]],7824:[[90,770]],7825:[[122,770]],7826:[[90,803]],7827:[[122,803]],7828:[[90,817]],7829:[[122,817]],7830:[[104,817]],7831:[[116,776]],7832:[[119,778]],7833:[[121,778]],7834:[[97,702],256],7835:[[383,775]],7840:[[65,803],,{770:7852,774:7862}],7841:[[97,803],,{770:7853,774:7863}],7842:[[65,777]],7843:[[97,777]],7844:[[194,769]],7845:[[226,769]],7846:[[194,768]],7847:[[226,768]],7848:[[194,777]],7849:[[226,777]],7850:[[194,771]],7851:[[226,771]],7852:[[7840,770]],7853:[[7841,770]],7854:[[258,769]],7855:[[259,769]],7856:[[258,768]],7857:[[259,768]],7858:[[258,777]],7859:[[259,777]],7860:[[258,771]],7861:[[259,771]],7862:[[7840,774]],7863:[[7841,774]],7864:[[69,803],,{770:7878}],7865:[[101,803],,{770:7879}],7866:[[69,777]],7867:[[101,777]],7868:[[69,771]],7869:[[101,771]],7870:[[202,769]],7871:[[234,769]],7872:[[202,768]],7873:[[234,768]],7874:[[202,777]],7875:[[234,777]],7876:[[202,771]],7877:[[234,771]],7878:[[7864,770]],7879:[[7865,770]],7880:[[73,777]],7881:[[105,777]],7882:[[73,803]],7883:[[105,803]],7884:[[79,803],,{770:7896}],7885:[[111,803],,{770:7897}],7886:[[79,777]],7887:[[111,777]],7888:[[212,769]],7889:[[244,769]],7890:[[212,768]],7891:[[244,768]],7892:[[212,777]],7893:[[244,777]],7894:[[212,771]],7895:[[244,771]],7896:[[7884,770]],7897:[[7885,770]],7898:[[416,769]],7899:[[417,769]],7900:[[416,768]],7901:[[417,768]],7902:[[416,777]],7903:[[417,777]],7904:[[416,771]],7905:[[417,771]],7906:[[416,803]],7907:[[417,803]],7908:[[85,803]],7909:[[117,803]],7910:[[85,777]],7911:[[117,777]],7912:[[431,769]],7913:[[432,769]],7914:[[431,768]],7915:[[432,768]],7916:[[431,777]],7917:[[432,777]],7918:[[431,771]],7919:[[432,771]],7920:[[431,803]],7921:[[432,803]],7922:[[89,768]],7923:[[121,768]],7924:[[89,803]],7925:[[121,803]],7926:[[89,777]],7927:[[121,777]],7928:[[89,771]],7929:[[121,771]]},7936:{7936:[[945,787],,{768:7938,769:7940,834:7942,837:8064}],7937:[[945,788],,{768:7939,769:7941,834:7943,837:8065}],7938:[[7936,768],,{837:8066}],7939:[[7937,768],,{837:8067}],7940:[[7936,769],,{837:8068}],7941:[[7937,769],,{837:8069}],7942:[[7936,834],,{837:8070}],7943:[[7937,834],,{837:8071}],7944:[[913,787],,{768:7946,769:7948,834:7950,837:8072}],7945:[[913,788],,{768:7947,769:7949,834:7951,837:8073}],7946:[[7944,768],,{837:8074}],7947:[[7945,768],,{837:8075}],7948:[[7944,769],,{837:8076}],7949:[[7945,769],,{837:8077}],7950:[[7944,834],,{837:8078}],7951:[[7945,834],,{837:8079}],7952:[[949,787],,{768:7954,769:7956}],7953:[[949,788],,{768:7955,769:7957}],7954:[[7952,768]],7955:[[7953,768]],7956:[[7952,769]],7957:[[7953,769]],7960:[[917,787],,{768:7962,769:7964}],7961:[[917,788],,{768:7963,769:7965}],7962:[[7960,768]],7963:[[7961,768]],7964:[[7960,769]],7965:[[7961,769]],7968:[[951,787],,{768:7970,769:7972,834:7974,837:8080}],7969:[[951,788],,{768:7971,769:7973,834:7975,837:8081}],7970:[[7968,768],,{837:8082}],7971:[[7969,768],,{837:8083}],7972:[[7968,769],,{837:8084}],7973:[[7969,769],,{837:8085}],7974:[[7968,834],,{837:8086}],7975:[[7969,834],,{837:8087}],7976:[[919,787],,{768:7978,769:7980,834:7982,837:8088}],7977:[[919,788],,{768:7979,769:7981,834:7983,837:8089}],7978:[[7976,768],,{837:8090}],7979:[[7977,768],,{837:8091}],7980:[[7976,769],,{837:8092}],7981:[[7977,769],,{837:8093}],7982:[[7976,834],,{837:8094}],7983:[[7977,834],,{837:8095}],7984:[[953,787],,{768:7986,769:7988,834:7990}],7985:[[953,788],,{768:7987,769:7989,834:7991}],7986:[[7984,768]],7987:[[7985,768]],7988:[[7984,769]],7989:[[7985,769]],7990:[[7984,834]],7991:[[7985,834]],7992:[[921,787],,{768:7994,769:7996,834:7998}],7993:[[921,788],,{768:7995,769:7997,834:7999}],7994:[[7992,768]],7995:[[7993,768]],7996:[[7992,769]],7997:[[7993,769]],7998:[[7992,834]],7999:[[7993,834]],8e3:[[959,787],,{768:8002,769:8004}],8001:[[959,788],,{768:8003,769:8005}],8002:[[8e3,768]],8003:[[8001,768]],8004:[[8e3,769]],8005:[[8001,769]],8008:[[927,787],,{768:8010,769:8012}],8009:[[927,788],,{768:8011,769:8013}],8010:[[8008,768]],8011:[[8009,768]],8012:[[8008,769]],8013:[[8009,769]],8016:[[965,787],,{768:8018,769:8020,834:8022}],8017:[[965,788],,{768:8019,769:8021,834:8023}],8018:[[8016,768]],8019:[[8017,768]],8020:[[8016,769]],8021:[[8017,769]],8022:[[8016,834]],8023:[[8017,834]],8025:[[933,788],,{768:8027,769:8029,834:8031}],8027:[[8025,768]],8029:[[8025,769]],8031:[[8025,834]],8032:[[969,787],,{768:8034,769:8036,834:8038,837:8096}],8033:[[969,788],,{768:8035,769:8037,834:8039,837:8097}],8034:[[8032,768],,{837:8098}],8035:[[8033,768],,{837:8099}],8036:[[8032,769],,{837:8100}],8037:[[8033,769],,{837:8101}],8038:[[8032,834],,{837:8102}],8039:[[8033,834],,{837:8103}],8040:[[937,787],,{768:8042,769:8044,834:8046,837:8104}],8041:[[937,788],,{768:8043,769:8045,834:8047,837:8105}],8042:[[8040,768],,{837:8106}],8043:[[8041,768],,{837:8107}],8044:[[8040,769],,{837:8108}],8045:[[8041,769],,{837:8109}],8046:[[8040,834],,{837:8110}],8047:[[8041,834],,{837:8111}],8048:[[945,768],,{837:8114}],8049:[[940]],8050:[[949,768]],8051:[[941]],8052:[[951,768],,{837:8130}],8053:[[942]],8054:[[953,768]],8055:[[943]],8056:[[959,768]],8057:[[972]],8058:[[965,768]],8059:[[973]],8060:[[969,768],,{837:8178}],8061:[[974]],8064:[[7936,837]],8065:[[7937,837]],8066:[[7938,837]],8067:[[7939,837]],8068:[[7940,837]],8069:[[7941,837]],8070:[[7942,837]],8071:[[7943,837]],8072:[[7944,837]],8073:[[7945,837]],8074:[[7946,837]],8075:[[7947,837]],8076:[[7948,837]],8077:[[7949,837]],8078:[[7950,837]],8079:[[7951,837]],8080:[[7968,837]],8081:[[7969,837]],8082:[[7970,837]],8083:[[7971,837]],8084:[[7972,837]],8085:[[7973,837]],8086:[[7974,837]],8087:[[7975,837]],8088:[[7976,837]],8089:[[7977,837]],8090:[[7978,837]],8091:[[7979,837]],8092:[[7980,837]],8093:[[7981,837]],8094:[[7982,837]],8095:[[7983,837]],8096:[[8032,837]],8097:[[8033,837]],8098:[[8034,837]],8099:[[8035,837]],8100:[[8036,837]],8101:[[8037,837]],8102:[[8038,837]],8103:[[8039,837]],8104:[[8040,837]],8105:[[8041,837]],8106:[[8042,837]],8107:[[8043,837]],8108:[[8044,837]],8109:[[8045,837]],8110:[[8046,837]],8111:[[8047,837]],8112:[[945,774]],8113:[[945,772]],8114:[[8048,837]],8115:[[945,837]],8116:[[940,837]],8118:[[945,834],,{837:8119}],8119:[[8118,837]],8120:[[913,774]],8121:[[913,772]],8122:[[913,768]],8123:[[902]],8124:[[913,837]],8125:[[32,787],256],8126:[[953]],8127:[[32,787],256,{768:8141,769:8142,834:8143}],8128:[[32,834],256],8129:[[168,834]],8130:[[8052,837]],8131:[[951,837]],8132:[[942,837]],8134:[[951,834],,{837:8135}],8135:[[8134,837]],8136:[[917,768]],8137:[[904]],8138:[[919,768]],8139:[[905]],8140:[[919,837]],8141:[[8127,768]],8142:[[8127,769]],8143:[[8127,834]],8144:[[953,774]],8145:[[953,772]],8146:[[970,768]],8147:[[912]],8150:[[953,834]],8151:[[970,834]],8152:[[921,774]],8153:[[921,772]],8154:[[921,768]],8155:[[906]],8157:[[8190,768]],8158:[[8190,769]],8159:[[8190,834]],8160:[[965,774]],8161:[[965,772]],8162:[[971,768]],8163:[[944]],8164:[[961,787]],8165:[[961,788]],8166:[[965,834]],8167:[[971,834]],8168:[[933,774]],8169:[[933,772]],8170:[[933,768]],8171:[[910]],8172:[[929,788]],8173:[[168,768]],8174:[[901]],8175:[[96]],8178:[[8060,837]],8179:[[969,837]],8180:[[974,837]],8182:[[969,834],,{837:8183}],8183:[[8182,837]],8184:[[927,768]],8185:[[908]],8186:[[937,768]],8187:[[911]],8188:[[937,837]],8189:[[180]],8190:[[32,788],256,{768:8157,769:8158,834:8159}]},8192:{8192:[[8194]],8193:[[8195]],8194:[[32],256],8195:[[32],256],8196:[[32],256],8197:[[32],256],8198:[[32],256],8199:[[32],256],8200:[[32],256],8201:[[32],256],8202:[[32],256],8209:[[8208],256],8215:[[32,819],256],8228:[[46],256],8229:[[46,46],256],8230:[[46,46,46],256],8239:[[32],256],8243:[[8242,8242],256],8244:[[8242,8242,8242],256],8246:[[8245,8245],256],8247:[[8245,8245,8245],256],8252:[[33,33],256],8254:[[32,773],256],8263:[[63,63],256],8264:[[63,33],256],8265:[[33,63],256],8279:[[8242,8242,8242,8242],256],8287:[[32],256],8304:[[48],256],8305:[[105],256],8308:[[52],256],8309:[[53],256],8310:[[54],256],8311:[[55],256],8312:[[56],256],8313:[[57],256],8314:[[43],256],8315:[[8722],256],8316:[[61],256],8317:[[40],256],8318:[[41],256],8319:[[110],256],8320:[[48],256],8321:[[49],256],8322:[[50],256],8323:[[51],256],8324:[[52],256],8325:[[53],256],8326:[[54],256],8327:[[55],256],8328:[[56],256],8329:[[57],256],8330:[[43],256],8331:[[8722],256],8332:[[61],256],8333:[[40],256],8334:[[41],256],8336:[[97],256],8337:[[101],256],8338:[[111],256],8339:[[120],256],8340:[[601],256],8341:[[104],256],8342:[[107],256],8343:[[108],256],8344:[[109],256],8345:[[110],256],8346:[[112],256],8347:[[115],256],8348:[[116],256],8360:[[82,115],256],8400:[,230],8401:[,230],8402:[,1],8403:[,1],8404:[,230],8405:[,230],8406:[,230],8407:[,230],8408:[,1],8409:[,1],8410:[,1],8411:[,230],8412:[,230],8417:[,230],8421:[,1],8422:[,1],8423:[,230],8424:[,220],8425:[,230],8426:[,1],8427:[,1],8428:[,220],8429:[,220],8430:[,220],8431:[,220],8432:[,230]},8448:{8448:[[97,47,99],256],8449:[[97,47,115],256],8450:[[67],256],8451:[[176,67],256],8453:[[99,47,111],256],8454:[[99,47,117],256],8455:[[400],256],8457:[[176,70],256],8458:[[103],256],8459:[[72],256],8460:[[72],256],8461:[[72],256],8462:[[104],256],8463:[[295],256],8464:[[73],256],8465:[[73],256],8466:[[76],256],8467:[[108],256],8469:[[78],256],8470:[[78,111],256],8473:[[80],256],8474:[[81],256],8475:[[82],256],8476:[[82],256],8477:[[82],256],8480:[[83,77],256],8481:[[84,69,76],256],8482:[[84,77],256],8484:[[90],256],8486:[[937]],8488:[[90],256],8490:[[75]],8491:[[197]],8492:[[66],256],8493:[[67],256],8495:[[101],256],8496:[[69],256],8497:[[70],256],8499:[[77],256],8500:[[111],256],8501:[[1488],256],8502:[[1489],256],8503:[[1490],256],8504:[[1491],256],8505:[[105],256],8507:[[70,65,88],256],8508:[[960],256],8509:[[947],256],8510:[[915],256],8511:[[928],256],8512:[[8721],256],8517:[[68],256],8518:[[100],256],8519:[[101],256],8520:[[105],256],8521:[[106],256],8528:[[49,8260,55],256],8529:[[49,8260,57],256],8530:[[49,8260,49,48],256],8531:[[49,8260,51],256],8532:[[50,8260,51],256],8533:[[49,8260,53],256],8534:[[50,8260,53],256],8535:[[51,8260,53],256],8536:[[52,8260,53],256],8537:[[49,8260,54],256],8538:[[53,8260,54],256],8539:[[49,8260,56],256],8540:[[51,8260,56],256],8541:[[53,8260,56],256],8542:[[55,8260,56],256],8543:[[49,8260],256],8544:[[73],256],8545:[[73,73],256],8546:[[73,73,73],256],8547:[[73,86],256],8548:[[86],256],8549:[[86,73],256],8550:[[86,73,73],256],8551:[[86,73,73,73],256],8552:[[73,88],256],8553:[[88],256],8554:[[88,73],256],8555:[[88,73,73],256],8556:[[76],256],8557:[[67],256],8558:[[68],256],8559:[[77],256],8560:[[105],256],8561:[[105,105],256],8562:[[105,105,105],256],8563:[[105,118],256],8564:[[118],256],8565:[[118,105],256],8566:[[118,105,105],256],8567:[[118,105,105,105],256],8568:[[105,120],256],8569:[[120],256],8570:[[120,105],256],8571:[[120,105,105],256],8572:[[108],256],8573:[[99],256],8574:[[100],256],8575:[[109],256],8585:[[48,8260,51],256],8592:[,,{824:8602}],8594:[,,{824:8603}],8596:[,,{824:8622}],8602:[[8592,824]],8603:[[8594,824]],8622:[[8596,824]],8653:[[8656,824]],8654:[[8660,824]],8655:[[8658,824]],8656:[,,{824:8653}],8658:[,,{824:8655}],8660:[,,{824:8654}]},8704:{8707:[,,{824:8708}],8708:[[8707,824]],8712:[,,{824:8713}],8713:[[8712,824]],8715:[,,{824:8716}],8716:[[8715,824]],8739:[,,{824:8740}],8740:[[8739,824]],8741:[,,{824:8742}],8742:[[8741,824]],8748:[[8747,8747],256],8749:[[8747,8747,8747],256],8751:[[8750,8750],256],8752:[[8750,8750,8750],256],8764:[,,{824:8769}],8769:[[8764,824]],8771:[,,{824:8772}],8772:[[8771,824]],8773:[,,{824:8775}],8775:[[8773,824]],8776:[,,{824:8777}],8777:[[8776,824]],8781:[,,{824:8813}],8800:[[61,824]],8801:[,,{824:8802}],8802:[[8801,824]],8804:[,,{824:8816}],8805:[,,{824:8817}],8813:[[8781,824]],8814:[[60,824]],8815:[[62,824]],8816:[[8804,824]],8817:[[8805,824]],8818:[,,{824:8820}],8819:[,,{824:8821}],8820:[[8818,824]],8821:[[8819,824]],8822:[,,{824:8824}],8823:[,,{824:8825}],8824:[[8822,824]],8825:[[8823,824]],8826:[,,{824:8832}],8827:[,,{824:8833}],8828:[,,{824:8928}],8829:[,,{824:8929}],8832:[[8826,824]],8833:[[8827,824]],8834:[,,{824:8836}],8835:[,,{824:8837}],8836:[[8834,824]],8837:[[8835,824]],8838:[,,{824:8840}],8839:[,,{824:8841}],8840:[[8838,824]],8841:[[8839,824]],8849:[,,{824:8930}],8850:[,,{824:8931}],8866:[,,{824:8876}],8872:[,,{824:8877}],8873:[,,{824:8878}],8875:[,,{824:8879}],8876:[[8866,824]],8877:[[8872,824]],8878:[[8873,824]],8879:[[8875,824]],8882:[,,{824:8938}],8883:[,,{824:8939}],8884:[,,{824:8940}],8885:[,,{824:8941}],8928:[[8828,824]],8929:[[8829,824]],8930:[[8849,824]],8931:[[8850,824]],8938:[[8882,824]],8939:[[8883,824]],8940:[[8884,824]],8941:[[8885,824]]},8960:{9001:[[12296]],9002:[[12297]]},9216:{9312:[[49],256],9313:[[50],256],9314:[[51],256],9315:[[52],256],9316:[[53],256],9317:[[54],256],9318:[[55],256],9319:[[56],256],9320:[[57],256],9321:[[49,48],256],9322:[[49,49],256],9323:[[49,50],256],9324:[[49,51],256],9325:[[49,52],256],9326:[[49,53],256],9327:[[49,54],256],9328:[[49,55],256],9329:[[49,56],256],9330:[[49,57],256],9331:[[50,48],256],9332:[[40,49,41],256],9333:[[40,50,41],256],9334:[[40,51,41],256],9335:[[40,52,41],256],9336:[[40,53,41],256],9337:[[40,54,41],256],9338:[[40,55,41],256],9339:[[40,56,41],256],9340:[[40,57,41],256],9341:[[40,49,48,41],256],9342:[[40,49,49,41],256],9343:[[40,49,50,41],256],9344:[[40,49,51,41],256],9345:[[40,49,52,41],256],9346:[[40,49,53,41],256],9347:[[40,49,54,41],256],9348:[[40,49,55,41],256],9349:[[40,49,56,41],256],9350:[[40,49,57,41],256],9351:[[40,50,48,41],256],9352:[[49,46],256],9353:[[50,46],256],9354:[[51,46],256],9355:[[52,46],256],9356:[[53,46],256],9357:[[54,46],256],9358:[[55,46],256],9359:[[56,46],256],9360:[[57,46],256],9361:[[49,48,46],256],9362:[[49,49,46],256],9363:[[49,50,46],256],9364:[[49,51,46],256],9365:[[49,52,46],256],9366:[[49,53,46],256],9367:[[49,54,46],256],9368:[[49,55,46],256],9369:[[49,56,46],256],9370:[[49,57,46],256],9371:[[50,48,46],256],9372:[[40,97,41],256],9373:[[40,98,41],256],9374:[[40,99,41],256],9375:[[40,100,41],256],9376:[[40,101,41],256],9377:[[40,102,41],256],9378:[[40,103,41],256],9379:[[40,104,41],256],9380:[[40,105,41],256],9381:[[40,106,41],256],9382:[[40,107,41],256],9383:[[40,108,41],256],9384:[[40,109,41],256],9385:[[40,110,41],256],9386:[[40,111,41],256],9387:[[40,112,41],256],9388:[[40,113,41],256],9389:[[40,114,41],256],9390:[[40,115,41],256],9391:[[40,116,41],256],9392:[[40,117,41],256],9393:[[40,118,41],256],9394:[[40,119,41],256],9395:[[40,120,41],256],9396:[[40,121,41],256],9397:[[40,122,41],256],9398:[[65],256],9399:[[66],256],9400:[[67],256],9401:[[68],256],9402:[[69],256],9403:[[70],256],9404:[[71],256],9405:[[72],256],9406:[[73],256],9407:[[74],256],9408:[[75],256],9409:[[76],256],9410:[[77],256],9411:[[78],256],9412:[[79],256],9413:[[80],256],9414:[[81],256],9415:[[82],256],9416:[[83],256],9417:[[84],256],9418:[[85],256],9419:[[86],256],9420:[[87],256],9421:[[88],256],9422:[[89],256],9423:[[90],256],9424:[[97],256],9425:[[98],256],9426:[[99],256],9427:[[100],256],9428:[[101],256],9429:[[102],256],9430:[[103],256],9431:[[104],256],9432:[[105],256],9433:[[106],256],9434:[[107],256],9435:[[108],256],9436:[[109],256],9437:[[110],256],9438:[[111],256],9439:[[112],256],9440:[[113],256],9441:[[114],256],9442:[[115],256],9443:[[116],256],9444:[[117],256],9445:[[118],256],9446:[[119],256],9447:[[120],256],9448:[[121],256],9449:[[122],256],9450:[[48],256]},10752:{10764:[[8747,8747,8747,8747],256],10868:[[58,58,61],256],10869:[[61,61],256],10870:[[61,61,61],256],10972:[[10973,824],512]},11264:{11388:[[106],256],11389:[[86],256],11503:[,230],11504:[,230],11505:[,230]},11520:{11631:[[11617],256],11647:[,9],11744:[,230],11745:[,230],11746:[,230],11747:[,230],11748:[,230],11749:[,230],11750:[,230],11751:[,230],11752:[,230],11753:[,230],11754:[,230],11755:[,230],11756:[,230],11757:[,230],11758:[,230],11759:[,230],11760:[,230],11761:[,230],11762:[,230],11763:[,230],11764:[,230],11765:[,230],11766:[,230],11767:[,230],11768:[,230],11769:[,230],11770:[,230],11771:[,230],11772:[,230],11773:[,230],11774:[,230],11775:[,230]},11776:{11935:[[27597],256],12019:[[40863],256]},12032:{12032:[[19968],256],12033:[[20008],256],12034:[[20022],256],12035:[[20031],256],12036:[[20057],256],12037:[[20101],256],12038:[[20108],256],12039:[[20128],256],12040:[[20154],256],12041:[[20799],256],12042:[[20837],256],12043:[[20843],256],12044:[[20866],256],12045:[[20886],256],12046:[[20907],256],12047:[[20960],256],12048:[[20981],256],12049:[[20992],256],12050:[[21147],256],12051:[[21241],256],12052:[[21269],256],12053:[[21274],256],12054:[[21304],256],12055:[[21313],256],12056:[[21340],256],12057:[[21353],256],12058:[[21378],256],12059:[[21430],256],12060:[[21448],256],12061:[[21475],256],12062:[[22231],256],12063:[[22303],256],12064:[[22763],256],12065:[[22786],256],12066:[[22794],256],12067:[[22805],256],12068:[[22823],256],12069:[[22899],256],12070:[[23376],256],12071:[[23424],256],12072:[[23544],256],12073:[[23567],256],12074:[[23586],256],12075:[[23608],256],12076:[[23662],256],12077:[[23665],256],12078:[[24027],256],12079:[[24037],256],12080:[[24049],256],12081:[[24062],256],12082:[[24178],256],12083:[[24186],256],12084:[[24191],256],12085:[[24308],256],12086:[[24318],256],12087:[[24331],256],12088:[[24339],256],12089:[[24400],256],12090:[[24417],256],12091:[[24435],256],12092:[[24515],256],12093:[[25096],256],12094:[[25142],256],12095:[[25163],256],12096:[[25903],256],12097:[[25908],256],12098:[[25991],256],12099:[[26007],256],12100:[[26020],256],12101:[[26041],256],12102:[[26080],256],12103:[[26085],256],12104:[[26352],256],12105:[[26376],256],12106:[[26408],256],12107:[[27424],256],12108:[[27490],256],12109:[[27513],256],12110:[[27571],256],12111:[[27595],256],12112:[[27604],256],12113:[[27611],256],12114:[[27663],256],12115:[[27668],256],12116:[[27700],256],12117:[[28779],256],12118:[[29226],256],12119:[[29238],256],12120:[[29243],256],12121:[[29247],256],12122:[[29255],256],12123:[[29273],256],12124:[[29275],256],12125:[[29356],256],12126:[[29572],256],12127:[[29577],256],12128:[[29916],256],12129:[[29926],256],12130:[[29976],256],12131:[[29983],256],12132:[[29992],256],12133:[[3e4],256],12134:[[30091],256],12135:[[30098],256],12136:[[30326],256],12137:[[30333],256],12138:[[30382],256],12139:[[30399],256],12140:[[30446],256],12141:[[30683],256],12142:[[30690],256],12143:[[30707],256],12144:[[31034],256],12145:[[31160],256],12146:[[31166],256],12147:[[31348],256],12148:[[31435],256],12149:[[31481],256],12150:[[31859],256],12151:[[31992],256],12152:[[32566],256],12153:[[32593],256],12154:[[32650],256],12155:[[32701],256],12156:[[32769],256],12157:[[32780],256],12158:[[32786],256],12159:[[32819],256],12160:[[32895],256],12161:[[32905],256],12162:[[33251],256],12163:[[33258],256],12164:[[33267],256],12165:[[33276],256],12166:[[33292],256],12167:[[33307],256],12168:[[33311],256],12169:[[33390],256],12170:[[33394],256],12171:[[33400],256],12172:[[34381],256],12173:[[34411],256],12174:[[34880],256],12175:[[34892],256],12176:[[34915],256],12177:[[35198],256],12178:[[35211],256],12179:[[35282],256],12180:[[35328],256],12181:[[35895],256],12182:[[35910],256],12183:[[35925],256],12184:[[35960],256],12185:[[35997],256],12186:[[36196],256],12187:[[36208],256],12188:[[36275],256],12189:[[36523],256],12190:[[36554],256],12191:[[36763],256],12192:[[36784],256],12193:[[36789],256],12194:[[37009],256],12195:[[37193],256],12196:[[37318],256],12197:[[37324],256],12198:[[37329],256],12199:[[38263],256],12200:[[38272],256],12201:[[38428],256],12202:[[38582],256],12203:[[38585],256],12204:[[38632],256],12205:[[38737],256],12206:[[38750],256],12207:[[38754],256],12208:[[38761],256],12209:[[38859],256],12210:[[38893],256],12211:[[38899],256],12212:[[38913],256],12213:[[39080],256],12214:[[39131],256],12215:[[39135],256],12216:[[39318],256],12217:[[39321],256],12218:[[39340],256],12219:[[39592],256],12220:[[39640],256],12221:[[39647],256],12222:[[39717],256],12223:[[39727],256],12224:[[39730],256],12225:[[39740],256],12226:[[39770],256],12227:[[40165],256],12228:[[40565],256],12229:[[40575],256],12230:[[40613],256],12231:[[40635],256],12232:[[40643],256],12233:[[40653],256],12234:[[40657],256],12235:[[40697],256],12236:[[40701],256],12237:[[40718],256],12238:[[40723],256],12239:[[40736],256],12240:[[40763],256],12241:[[40778],256],12242:[[40786],256],12243:[[40845],256],12244:[[40860],256],12245:[[40864],256]},12288:{12288:[[32],256],12330:[,218],12331:[,228],12332:[,232],12333:[,222],12334:[,224],12335:[,224],12342:[[12306],256],12344:[[21313],256],12345:[[21316],256],12346:[[21317],256],12358:[,,{12441:12436}],12363:[,,{12441:12364}],12364:[[12363,12441]],12365:[,,{12441:12366}],12366:[[12365,12441]],12367:[,,{12441:12368}],12368:[[12367,12441]],12369:[,,{12441:12370}],12370:[[12369,12441]],12371:[,,{12441:12372}],12372:[[12371,12441]],12373:[,,{12441:12374}],12374:[[12373,12441]],12375:[,,{12441:12376}],12376:[[12375,12441]],12377:[,,{12441:12378}],12378:[[12377,12441]],12379:[,,{12441:12380}],12380:[[12379,12441]],12381:[,,{12441:12382}],12382:[[12381,12441]],12383:[,,{12441:12384}],12384:[[12383,12441]],12385:[,,{12441:12386}],12386:[[12385,12441]],12388:[,,{12441:12389}],12389:[[12388,12441]],12390:[,,{12441:12391}],12391:[[12390,12441]],12392:[,,{12441:12393}],12393:[[12392,12441]],12399:[,,{12441:12400,12442:12401}],12400:[[12399,12441]],12401:[[12399,12442]],12402:[,,{12441:12403,12442:12404}],12403:[[12402,12441]],12404:[[12402,12442]],12405:[,,{12441:12406,12442:12407}],12406:[[12405,12441]],12407:[[12405,12442]],12408:[,,{12441:12409,12442:12410}],12409:[[12408,12441]],12410:[[12408,12442]],12411:[,,{12441:12412,12442:12413}],12412:[[12411,12441]],12413:[[12411,12442]],12436:[[12358,12441]],12441:[,8],12442:[,8],12443:[[32,12441],256],12444:[[32,12442],256],12445:[,,{12441:12446}],12446:[[12445,12441]],12447:[[12424,12426],256],12454:[,,{12441:12532}],12459:[,,{12441:12460}],12460:[[12459,12441]],12461:[,,{12441:12462}],12462:[[12461,12441]],12463:[,,{12441:12464}],12464:[[12463,12441]],12465:[,,{12441:12466}],12466:[[12465,12441]],12467:[,,{12441:12468}],12468:[[12467,12441]],12469:[,,{12441:12470}],12470:[[12469,12441]],12471:[,,{12441:12472}],12472:[[12471,12441]],12473:[,,{12441:12474}],12474:[[12473,12441]],12475:[,,{12441:12476}],12476:[[12475,12441]],12477:[,,{12441:12478}],12478:[[12477,12441]],12479:[,,{12441:12480}],12480:[[12479,12441]],12481:[,,{12441:12482}],12482:[[12481,12441]],12484:[,,{12441:12485}],12485:[[12484,12441]],12486:[,,{12441:12487}],12487:[[12486,12441]],12488:[,,{12441:12489}],12489:[[12488,12441]],12495:[,,{12441:12496,12442:12497}],12496:[[12495,12441]],12497:[[12495,12442]],12498:[,,{12441:12499,12442:12500}],12499:[[12498,12441]],12500:[[12498,12442]],12501:[,,{12441:12502,12442:12503}],12502:[[12501,12441]],12503:[[12501,12442]],12504:[,,{12441:12505,12442:12506}],12505:[[12504,12441]],12506:[[12504,12442]],12507:[,,{12441:12508,12442:12509}],12508:[[12507,12441]],12509:[[12507,12442]],12527:[,,{12441:12535}],12528:[,,{12441:12536}],12529:[,,{12441:12537}],12530:[,,{12441:12538}],12532:[[12454,12441]],12535:[[12527,12441]],12536:[[12528,12441]],12537:[[12529,12441]],12538:[[12530,12441]],12541:[,,{12441:12542}],12542:[[12541,12441]],12543:[[12467,12488],256]},12544:{12593:[[4352],256],12594:[[4353],256],12595:[[4522],256],12596:[[4354],256],12597:[[4524],256],12598:[[4525],256],12599:[[4355],256],12600:[[4356],256],12601:[[4357],256],12602:[[4528],256],12603:[[4529],256],12604:[[4530],256],12605:[[4531],256],12606:[[4532],256],12607:[[4533],256],12608:[[4378],256],12609:[[4358],256],12610:[[4359],256],12611:[[4360],256],12612:[[4385],256],12613:[[4361],256],12614:[[4362],256],12615:[[4363],256],12616:[[4364],256],12617:[[4365],256],12618:[[4366],256],12619:[[4367],256],12620:[[4368],256],12621:[[4369],256],12622:[[4370],256],12623:[[4449],256],12624:[[4450],256],12625:[[4451],256],12626:[[4452],256],12627:[[4453],256],12628:[[4454],256],12629:[[4455],256],12630:[[4456],256],12631:[[4457],256],12632:[[4458],256],12633:[[4459],256],12634:[[4460],256],12635:[[4461],256],12636:[[4462],256],12637:[[4463],256],12638:[[4464],256],12639:[[4465],256],12640:[[4466],256],12641:[[4467],256],12642:[[4468],256],12643:[[4469],256],12644:[[4448],256],12645:[[4372],256],12646:[[4373],256],12647:[[4551],256],12648:[[4552],256],12649:[[4556],256],12650:[[4558],256],12651:[[4563],256],12652:[[4567],256],12653:[[4569],256],12654:[[4380],256],12655:[[4573],256],12656:[[4575],256],12657:[[4381],256],12658:[[4382],256],12659:[[4384],256],12660:[[4386],256],12661:[[4387],256],12662:[[4391],256],12663:[[4393],256],12664:[[4395],256],12665:[[4396],256],12666:[[4397],256],12667:[[4398],256],12668:[[4399],256],12669:[[4402],256],12670:[[4406],256],12671:[[4416],256],12672:[[4423],256],12673:[[4428],256],12674:[[4593],256],12675:[[4594],256],12676:[[4439],256],12677:[[4440],256],12678:[[4441],256],12679:[[4484],256],12680:[[4485],256],12681:[[4488],256],12682:[[4497],256],12683:[[4498],256],12684:[[4500],256],12685:[[4510],256],12686:[[4513],256],12690:[[19968],256],12691:[[20108],256],12692:[[19977],256],12693:[[22235],256],12694:[[19978],256],12695:[[20013],256],12696:[[19979],256],12697:[[30002],256],12698:[[20057],256],12699:[[19993],256],12700:[[19969],256],12701:[[22825],256],12702:[[22320],256],12703:[[20154],256]},12800:{12800:[[40,4352,41],256],12801:[[40,4354,41],256],12802:[[40,4355,41],256],12803:[[40,4357,41],256],12804:[[40,4358,41],256],12805:[[40,4359,41],256],12806:[[40,4361,41],256],12807:[[40,4363,41],256],12808:[[40,4364,41],256],12809:[[40,4366,41],256],12810:[[40,4367,41],256],12811:[[40,4368,41],256],12812:[[40,4369,41],256],12813:[[40,4370,41],256],12814:[[40,4352,4449,41],256],12815:[[40,4354,4449,41],256],12816:[[40,4355,4449,41],256],12817:[[40,4357,4449,41],256],12818:[[40,4358,4449,41],256],12819:[[40,4359,4449,41],256],12820:[[40,4361,4449,41],256],12821:[[40,4363,4449,41],256],12822:[[40,4364,4449,41],256],12823:[[40,4366,4449,41],256],12824:[[40,4367,4449,41],256],12825:[[40,4368,4449,41],256],12826:[[40,4369,4449,41],256],12827:[[40,4370,4449,41],256],12828:[[40,4364,4462,41],256],12829:[[40,4363,4457,4364,4453,4523,41],256],12830:[[40,4363,4457,4370,4462,41],256],12832:[[40,19968,41],256],12833:[[40,20108,41],256],12834:[[40,19977,41],256],12835:[[40,22235,41],256],12836:[[40,20116,41],256],12837:[[40,20845,41],256],12838:[[40,19971,41],256],12839:[[40,20843,41],256],12840:[[40,20061,41],256],12841:[[40,21313,41],256],12842:[[40,26376,41],256],12843:[[40,28779,41],256],12844:[[40,27700,41],256],12845:[[40,26408,41],256],12846:[[40,37329,41],256],12847:[[40,22303,41],256],12848:[[40,26085,41],256],12849:[[40,26666,41],256],12850:[[40,26377,41],256],12851:[[40,31038,41],256],12852:[[40,21517,41],256],12853:[[40,29305,41],256],12854:[[40,36001,41],256],12855:[[40,31069,41],256],12856:[[40,21172,41],256],12857:[[40,20195,41],256],12858:[[40,21628,41],256],12859:[[40,23398,41],256],12860:[[40,30435,41],256],12861:[[40,20225,41],256],12862:[[40,36039,41],256],12863:[[40,21332,41],256],12864:[[40,31085,41],256],12865:[[40,20241,41],256],12866:[[40,33258,41],256],12867:[[40,33267,41],256],12868:[[21839],256],12869:[[24188],256],12870:[[25991],256],12871:[[31631],256],12880:[[80,84,69],256],12881:[[50,49],256],12882:[[50,50],256],12883:[[50,51],256],12884:[[50,52],256],12885:[[50,53],256],12886:[[50,54],256],12887:[[50,55],256],12888:[[50,56],256],12889:[[50,57],256],12890:[[51,48],256],12891:[[51,49],256],12892:[[51,50],256],12893:[[51,51],256],12894:[[51,52],256],12895:[[51,53],256],12896:[[4352],256],12897:[[4354],256],12898:[[4355],256],12899:[[4357],256],12900:[[4358],256],12901:[[4359],256],12902:[[4361],256],12903:[[4363],256],12904:[[4364],256],12905:[[4366],256],12906:[[4367],256],12907:[[4368],256],12908:[[4369],256],12909:[[4370],256],12910:[[4352,4449],256],12911:[[4354,4449],256],12912:[[4355,4449],256],12913:[[4357,4449],256],12914:[[4358,4449],256],12915:[[4359,4449],256],12916:[[4361,4449],256],12917:[[4363,4449],256],12918:[[4364,4449],256],12919:[[4366,4449],256],12920:[[4367,4449],256],12921:[[4368,4449],256],12922:[[4369,4449],256],12923:[[4370,4449],256],12924:[[4366,4449,4535,4352,4457],256],12925:[[4364,4462,4363,4468],256],12926:[[4363,4462],256],12928:[[19968],256],12929:[[20108],256],12930:[[19977],256],12931:[[22235],256],12932:[[20116],256],12933:[[20845],256],12934:[[19971],256],12935:[[20843],256],12936:[[20061],256],12937:[[21313],256],12938:[[26376],256],12939:[[28779],256],12940:[[27700],256],12941:[[26408],256],12942:[[37329],256],12943:[[22303],256],12944:[[26085],256],12945:[[26666],256],12946:[[26377],256],12947:[[31038],256],12948:[[21517],256],12949:[[29305],256],12950:[[36001],256],12951:[[31069],256],12952:[[21172],256],12953:[[31192],256],12954:[[30007],256],12955:[[22899],256],12956:[[36969],256],12957:[[20778],256],12958:[[21360],256],12959:[[27880],256],12960:[[38917],256],12961:[[20241],256],12962:[[20889],256],12963:[[27491],256],12964:[[19978],256],12965:[[20013],256],12966:[[19979],256],12967:[[24038],256],12968:[[21491],256],12969:[[21307],256],12970:[[23447],256],12971:[[23398],256],12972:[[30435],256],12973:[[20225],256],12974:[[36039],256],12975:[[21332],256],12976:[[22812],256],12977:[[51,54],256],12978:[[51,55],256],12979:[[51,56],256],12980:[[51,57],256],12981:[[52,48],256],12982:[[52,49],256],12983:[[52,50],256],12984:[[52,51],256],12985:[[52,52],256],12986:[[52,53],256],12987:[[52,54],256],12988:[[52,55],256],12989:[[52,56],256],12990:[[52,57],256],12991:[[53,48],256],12992:[[49,26376],256],12993:[[50,26376],256],12994:[[51,26376],256],12995:[[52,26376],256],12996:[[53,26376],256],12997:[[54,26376],256],12998:[[55,26376],256],12999:[[56,26376],256],13e3:[[57,26376],256],13001:[[49,48,26376],256],13002:[[49,49,26376],256],13003:[[49,50,26376],256],13004:[[72,103],256],13005:[[101,114,103],256],13006:[[101,86],256],13007:[[76,84,68],256],13008:[[12450],256],13009:[[12452],256],13010:[[12454],256],13011:[[12456],256],13012:[[12458],256],13013:[[12459],256],13014:[[12461],256],13015:[[12463],256],13016:[[12465],256],13017:[[12467],256],13018:[[12469],256],13019:[[12471],256],13020:[[12473],256],13021:[[12475],256],13022:[[12477],256],13023:[[12479],256],13024:[[12481],256],13025:[[12484],256],13026:[[12486],256],13027:[[12488],256],13028:[[12490],256],13029:[[12491],256],13030:[[12492],256],13031:[[12493],256],13032:[[12494],256],13033:[[12495],256],13034:[[12498],256],13035:[[12501],256],13036:[[12504],256],13037:[[12507],256],13038:[[12510],256],13039:[[12511],256],13040:[[12512],256],13041:[[12513],256],13042:[[12514],256],13043:[[12516],256],13044:[[12518],256],13045:[[12520],256],13046:[[12521],256],13047:[[12522],256],13048:[[12523],256],13049:[[12524],256],13050:[[12525],256],13051:[[12527],256],13052:[[12528],256],13053:[[12529],256],13054:[[12530],256]},13056:{13056:[[12450,12497,12540,12488],256],13057:[[12450,12523,12501,12449],256],13058:[[12450,12531,12506,12450],256],13059:[[12450,12540,12523],256],13060:[[12452,12491,12531,12464],256],13061:[[12452,12531,12481],256],13062:[[12454,12457,12531],256],13063:[[12456,12473,12463,12540,12489],256],13064:[[12456,12540,12459,12540],256],13065:[[12458,12531,12473],256],13066:[[12458,12540,12512],256],13067:[[12459,12452,12522],256],13068:[[12459,12521,12483,12488],256],13069:[[12459,12525,12522,12540],256],13070:[[12460,12525,12531],256],13071:[[12460,12531,12510],256],13072:[[12462,12460],256],13073:[[12462,12491,12540],256],13074:[[12461,12517,12522,12540],256],13075:[[12462,12523,12480,12540],256],13076:[[12461,12525],256],13077:[[12461,12525,12464,12521,12512],256],13078:[[12461,12525,12513,12540,12488,12523],256],13079:[[12461,12525,12527,12483,12488],256],13080:[[12464,12521,12512],256],13081:[[12464,12521,12512,12488,12531],256],13082:[[12463,12523,12476,12452,12525],256],13083:[[12463,12525,12540,12493],256],13084:[[12465,12540,12473],256],13085:[[12467,12523,12490],256],13086:[[12467,12540,12509],256],13087:[[12469,12452,12463,12523],256],13088:[[12469,12531,12481,12540,12512],256],13089:[[12471,12522,12531,12464],256],13090:[[12475,12531,12481],256],13091:[[12475,12531,12488],256],13092:[[12480,12540,12473],256],13093:[[12487,12471],256],13094:[[12489,12523],256],13095:[[12488,12531],256],13096:[[12490,12494],256],13097:[[12494,12483,12488],256],13098:[[12495,12452,12484],256],13099:[[12497,12540,12475,12531,12488],256],13100:[[12497,12540,12484],256],13101:[[12496,12540,12524,12523],256],13102:[[12500,12450,12473,12488,12523],256],13103:[[12500,12463,12523],256],13104:[[12500,12467],256],13105:[[12499,12523],256],13106:[[12501,12449,12521,12483,12489],256],13107:[[12501,12451,12540,12488],256],13108:[[12502,12483,12471,12455,12523],256],13109:[[12501,12521,12531],256],13110:[[12504,12463,12479,12540,12523],256],13111:[[12506,12477],256],13112:[[12506,12491,12498],256],13113:[[12504,12523,12484],256],13114:[[12506,12531,12473],256],13115:[[12506,12540,12472],256],13116:[[12505,12540,12479],256],13117:[[12509,12452,12531,12488],256],13118:[[12508,12523,12488],256],13119:[[12507,12531],256],13120:[[12509,12531,12489],256],13121:[[12507,12540,12523],256],13122:[[12507,12540,12531],256],13123:[[12510,12452,12463,12525],256],13124:[[12510,12452,12523],256],13125:[[12510,12483,12495],256],13126:[[12510,12523,12463],256],13127:[[12510,12531,12471,12519,12531],256],13128:[[12511,12463,12525,12531],256],13129:[[12511,12522],256],13130:[[12511,12522,12496,12540,12523],256],13131:[[12513,12460],256],13132:[[12513,12460,12488,12531],256],13133:[[12513,12540,12488,12523],256],13134:[[12516,12540,12489],256],13135:[[12516,12540,12523],256],13136:[[12518,12450,12531],256],13137:[[12522,12483,12488,12523],256],13138:[[12522,12521],256],13139:[[12523,12500,12540],256],13140:[[12523,12540,12502,12523],256],13141:[[12524,12512],256],13142:[[12524,12531,12488,12466,12531],256],13143:[[12527,12483,12488],256],13144:[[48,28857],256],13145:[[49,28857],256],13146:[[50,28857],256],13147:[[51,28857],256],13148:[[52,28857],256],13149:[[53,28857],256],13150:[[54,28857],256],13151:[[55,28857],256],13152:[[56,28857],256],13153:[[57,28857],256],13154:[[49,48,28857],256],13155:[[49,49,28857],256],13156:[[49,50,28857],256],13157:[[49,51,28857],256],13158:[[49,52,28857],256],13159:[[49,53,28857],256],13160:[[49,54,28857],256],13161:[[49,55,28857],256],13162:[[49,56,28857],256],13163:[[49,57,28857],256],13164:[[50,48,28857],256],13165:[[50,49,28857],256],13166:[[50,50,28857],256],13167:[[50,51,28857],256],13168:[[50,52,28857],256],13169:[[104,80,97],256],13170:[[100,97],256],13171:[[65,85],256],13172:[[98,97,114],256],13173:[[111,86],256],13174:[[112,99],256],13175:[[100,109],256],13176:[[100,109,178],256],13177:[[100,109,179],256],13178:[[73,85],256],13179:[[24179,25104],256],13180:[[26157,21644],256],13181:[[22823,27491],256],13182:[[26126,27835],256],13183:[[26666,24335,20250,31038],256],13184:[[112,65],256],13185:[[110,65],256],13186:[[956,65],256],13187:[[109,65],256],13188:[[107,65],256],13189:[[75,66],256],13190:[[77,66],256],13191:[[71,66],256],13192:[[99,97,108],256],13193:[[107,99,97,108],256],13194:[[112,70],256],13195:[[110,70],256],13196:[[956,70],256],13197:[[956,103],256],13198:[[109,103],256],13199:[[107,103],256],13200:[[72,122],256],13201:[[107,72,122],256],13202:[[77,72,122],256],13203:[[71,72,122],256],13204:[[84,72,122],256],13205:[[956,8467],256],13206:[[109,8467],256],13207:[[100,8467],256],13208:[[107,8467],256],13209:[[102,109],256],13210:[[110,109],256],13211:[[956,109],256],13212:[[109,109],256],13213:[[99,109],256],13214:[[107,109],256],13215:[[109,109,178],256],13216:[[99,109,178],256],13217:[[109,178],256],13218:[[107,109,178],256],13219:[[109,109,179],256],13220:[[99,109,179],256],13221:[[109,179],256],13222:[[107,109,179],256],13223:[[109,8725,115],256],13224:[[109,8725,115,178],256],13225:[[80,97],256],13226:[[107,80,97],256],13227:[[77,80,97],256],13228:[[71,80,97],256],13229:[[114,97,100],256],13230:[[114,97,100,8725,115],256],13231:[[114,97,100,8725,115,178],256],13232:[[112,115],256],13233:[[110,115],256],13234:[[956,115],256],13235:[[109,115],256],13236:[[112,86],256],13237:[[110,86],256],13238:[[956,86],256],13239:[[109,86],256],13240:[[107,86],256],13241:[[77,86],256],13242:[[112,87],256],13243:[[110,87],256],13244:[[956,87],256],13245:[[109,87],256],13246:[[107,87],256],13247:[[77,87],256],13248:[[107,937],256],13249:[[77,937],256],13250:[[97,46,109,46],256],13251:[[66,113],256],13252:[[99,99],256],13253:[[99,100],256],13254:[[67,8725,107,103],256],13255:[[67,111,46],256],13256:[[100,66],256],13257:[[71,121],256],13258:[[104,97],256],13259:[[72,80],256],13260:[[105,110],256],13261:[[75,75],256],13262:[[75,77],256],13263:[[107,116],256],13264:[[108,109],256],13265:[[108,110],256],13266:[[108,111,103],256],13267:[[108,120],256],13268:[[109,98],256],13269:[[109,105,108],256],13270:[[109,111,108],256],13271:[[80,72],256],13272:[[112,46,109,46],256],13273:[[80,80,77],256],13274:[[80,82],256],13275:[[115,114],256],13276:[[83,118],256],13277:[[87,98],256],13278:[[86,8725,109],256],13279:[[65,8725,109],256],13280:[[49,26085],256],13281:[[50,26085],256],13282:[[51,26085],256],13283:[[52,26085],256],13284:[[53,26085],256],13285:[[54,26085],256],13286:[[55,26085],256],13287:[[56,26085],256],13288:[[57,26085],256],13289:[[49,48,26085],256],13290:[[49,49,26085],256],13291:[[49,50,26085],256],13292:[[49,51,26085],256],13293:[[49,52,26085],256],13294:[[49,53,26085],256],13295:[[49,54,26085],256],13296:[[49,55,26085],256],13297:[[49,56,26085],256],13298:[[49,57,26085],256],13299:[[50,48,26085],256],13300:[[50,49,26085],256],13301:[[50,50,26085],256],13302:[[50,51,26085],256],13303:[[50,52,26085],256],13304:[[50,53,26085],256],13305:[[50,54,26085],256],13306:[[50,55,26085],256],13307:[[50,56,26085],256],13308:[[50,57,26085],256],13309:[[51,48,26085],256],13310:[[51,49,26085],256],13311:[[103,97,108],256]},27136:{92912:[,1],92913:[,1],92914:[,1],92915:[,1],92916:[,1]},27392:{92976:[,230],92977:[,230],92978:[,230],92979:[,230],92980:[,230],92981:[,230],92982:[,230]},42496:{42607:[,230],42612:[,230],42613:[,230],42614:[,230],42615:[,230],42616:[,230],42617:[,230],42618:[,230],42619:[,230],42620:[,230],42621:[,230],42652:[[1098],256],42653:[[1100],256],42655:[,230],42736:[,230],42737:[,230]},42752:{42864:[[42863],256],43e3:[[294],256],43001:[[339],256]},43008:{43014:[,9],43204:[,9],43232:[,230],43233:[,230],43234:[,230],43235:[,230],43236:[,230],43237:[,230],43238:[,230],43239:[,230],43240:[,230],43241:[,230],43242:[,230],43243:[,230],43244:[,230],43245:[,230],43246:[,230],43247:[,230],43248:[,230],43249:[,230]},43264:{43307:[,220],43308:[,220],43309:[,220],43347:[,9],43443:[,7],43456:[,9]},43520:{43696:[,230],43698:[,230],43699:[,230],43700:[,220],43703:[,230],43704:[,230],43710:[,230],43711:[,230],43713:[,230],43766:[,9]},43776:{43868:[[42791],256],43869:[[43831],256],43870:[[619],256],43871:[[43858],256],44013:[,9]},48128:{113822:[,1]},53504:{119134:[[119127,119141],512],119135:[[119128,119141],512],119136:[[119135,119150],512],119137:[[119135,119151],512],119138:[[119135,119152],512],119139:[[119135,119153],512],119140:[[119135,119154],512],119141:[,216],119142:[,216],119143:[,1],119144:[,1],119145:[,1],119149:[,226],119150:[,216],119151:[,216],119152:[,216],119153:[,216],119154:[,216],119163:[,220],119164:[,220],119165:[,220],119166:[,220],119167:[,220],119168:[,220],119169:[,220],119170:[,220],119173:[,230],119174:[,230],119175:[,230],119176:[,230],119177:[,230],119178:[,220],119179:[,220],119210:[,230],119211:[,230],119212:[,230],119213:[,230],119227:[[119225,119141],512],119228:[[119226,119141],512],119229:[[119227,119150],512],119230:[[119228,119150],512],119231:[[119227,119151],512],119232:[[119228,119151],512]},53760:{119362:[,230],119363:[,230],119364:[,230]},54272:{119808:[[65],256],119809:[[66],256],119810:[[67],256],119811:[[68],256],119812:[[69],256],119813:[[70],256],119814:[[71],256],119815:[[72],256],119816:[[73],256],119817:[[74],256],119818:[[75],256],119819:[[76],256],119820:[[77],256],119821:[[78],256],119822:[[79],256],119823:[[80],256],119824:[[81],256],119825:[[82],256],119826:[[83],256],119827:[[84],256],119828:[[85],256],119829:[[86],256],119830:[[87],256],119831:[[88],256],119832:[[89],256],119833:[[90],256],119834:[[97],256],119835:[[98],256],119836:[[99],256],119837:[[100],256],119838:[[101],256],119839:[[102],256],119840:[[103],256],119841:[[104],256],119842:[[105],256],119843:[[106],256],119844:[[107],256],119845:[[108],256],119846:[[109],256],119847:[[110],256],119848:[[111],256],119849:[[112],256],119850:[[113],256],119851:[[114],256],119852:[[115],256],119853:[[116],256],119854:[[117],256],119855:[[118],256],119856:[[119],256],119857:[[120],256],119858:[[121],256],119859:[[122],256],119860:[[65],256],119861:[[66],256],119862:[[67],256],119863:[[68],256],119864:[[69],256],119865:[[70],256],119866:[[71],256],119867:[[72],256],119868:[[73],256],119869:[[74],256],119870:[[75],256],119871:[[76],256],119872:[[77],256],119873:[[78],256],119874:[[79],256],119875:[[80],256],119876:[[81],256],119877:[[82],256],119878:[[83],256],119879:[[84],256],119880:[[85],256],119881:[[86],256],119882:[[87],256],119883:[[88],256],119884:[[89],256],119885:[[90],256],119886:[[97],256],119887:[[98],256],119888:[[99],256],119889:[[100],256],119890:[[101],256],119891:[[102],256],119892:[[103],256],119894:[[105],256],119895:[[106],256],119896:[[107],256],119897:[[108],256],119898:[[109],256],119899:[[110],256],119900:[[111],256],119901:[[112],256],119902:[[113],256],119903:[[114],256],119904:[[115],256],119905:[[116],256],119906:[[117],256],119907:[[118],256],119908:[[119],256],119909:[[120],256],119910:[[121],256],119911:[[122],256],119912:[[65],256],119913:[[66],256],119914:[[67],256],119915:[[68],256],119916:[[69],256],119917:[[70],256],119918:[[71],256],119919:[[72],256],119920:[[73],256],119921:[[74],256],119922:[[75],256],119923:[[76],256],119924:[[77],256],119925:[[78],256],119926:[[79],256],119927:[[80],256],119928:[[81],256],119929:[[82],256],119930:[[83],256],119931:[[84],256],119932:[[85],256],119933:[[86],256],119934:[[87],256],119935:[[88],256],119936:[[89],256],119937:[[90],256],119938:[[97],256],119939:[[98],256],119940:[[99],256],119941:[[100],256],119942:[[101],256],119943:[[102],256],119944:[[103],256],119945:[[104],256],119946:[[105],256],119947:[[106],256],119948:[[107],256],119949:[[108],256],119950:[[109],256],119951:[[110],256],119952:[[111],256],119953:[[112],256],119954:[[113],256],119955:[[114],256],119956:[[115],256],119957:[[116],256],119958:[[117],256],119959:[[118],256],119960:[[119],256],119961:[[120],256],119962:[[121],256],119963:[[122],256],119964:[[65],256],119966:[[67],256],119967:[[68],256],119970:[[71],256],119973:[[74],256],119974:[[75],256],119977:[[78],256],119978:[[79],256],119979:[[80],256],119980:[[81],256],119982:[[83],256],119983:[[84],256],119984:[[85],256],119985:[[86],256],119986:[[87],256],119987:[[88],256],119988:[[89],256],119989:[[90],256],119990:[[97],256],119991:[[98],256],119992:[[99],256],119993:[[100],256],119995:[[102],256],119997:[[104],256],119998:[[105],256],119999:[[106],256],12e4:[[107],256],120001:[[108],256],120002:[[109],256],120003:[[110],256],120005:[[112],256],120006:[[113],256],120007:[[114],256],120008:[[115],256],120009:[[116],256],120010:[[117],256],120011:[[118],256],120012:[[119],256],120013:[[120],256],120014:[[121],256],120015:[[122],256],120016:[[65],256],120017:[[66],256],120018:[[67],256],120019:[[68],256],120020:[[69],256],120021:[[70],256],120022:[[71],256],120023:[[72],256],120024:[[73],256],120025:[[74],256],120026:[[75],256],120027:[[76],256],120028:[[77],256],120029:[[78],256],120030:[[79],256],120031:[[80],256],120032:[[81],256],120033:[[82],256],120034:[[83],256],120035:[[84],256],120036:[[85],256],120037:[[86],256],120038:[[87],256],120039:[[88],256],120040:[[89],256],120041:[[90],256],120042:[[97],256],120043:[[98],256],120044:[[99],256],120045:[[100],256],120046:[[101],256],120047:[[102],256],120048:[[103],256],120049:[[104],256],120050:[[105],256],120051:[[106],256],120052:[[107],256],120053:[[108],256],120054:[[109],256],120055:[[110],256],120056:[[111],256],120057:[[112],256],120058:[[113],256],120059:[[114],256],120060:[[115],256],120061:[[116],256],120062:[[117],256],120063:[[118],256]},54528:{120064:[[119],256],120065:[[120],256],120066:[[121],256],120067:[[122],256],120068:[[65],256],120069:[[66],256],120071:[[68],256],120072:[[69],256],120073:[[70],256],120074:[[71],256],120077:[[74],256],120078:[[75],256],120079:[[76],256],120080:[[77],256],120081:[[78],256],120082:[[79],256],120083:[[80],256],120084:[[81],256],120086:[[83],256],120087:[[84],256],120088:[[85],256],120089:[[86],256],120090:[[87],256],120091:[[88],256],120092:[[89],256],120094:[[97],256],120095:[[98],256],120096:[[99],256],120097:[[100],256],120098:[[101],256],120099:[[102],256],120100:[[103],256],120101:[[104],256],120102:[[105],256],120103:[[106],256],120104:[[107],256],120105:[[108],256],120106:[[109],256],120107:[[110],256],120108:[[111],256],120109:[[112],256],120110:[[113],256],120111:[[114],256],120112:[[115],256],120113:[[116],256],120114:[[117],256],120115:[[118],256],120116:[[119],256],120117:[[120],256],120118:[[121],256],120119:[[122],256],120120:[[65],256],120121:[[66],256],120123:[[68],256],120124:[[69],256],120125:[[70],256],120126:[[71],256],120128:[[73],256],120129:[[74],256],120130:[[75],256],120131:[[76],256],120132:[[77],256],120134:[[79],256],120138:[[83],256],120139:[[84],256],120140:[[85],256],120141:[[86],256],120142:[[87],256],120143:[[88],256],120144:[[89],256],120146:[[97],256],120147:[[98],256],120148:[[99],256],120149:[[100],256],120150:[[101],256],120151:[[102],256],120152:[[103],256],120153:[[104],256],120154:[[105],256],120155:[[106],256],120156:[[107],256],120157:[[108],256],120158:[[109],256],120159:[[110],256],120160:[[111],256],120161:[[112],256],120162:[[113],256],120163:[[114],256],120164:[[115],256],120165:[[116],256],120166:[[117],256],120167:[[118],256],120168:[[119],256],120169:[[120],256],120170:[[121],256],120171:[[122],256],120172:[[65],256],120173:[[66],256],120174:[[67],256],120175:[[68],256],120176:[[69],256],120177:[[70],256],120178:[[71],256],120179:[[72],256],120180:[[73],256],120181:[[74],256],120182:[[75],256],120183:[[76],256],120184:[[77],256],120185:[[78],256],120186:[[79],256],120187:[[80],256],120188:[[81],256],120189:[[82],256],120190:[[83],256],120191:[[84],256],120192:[[85],256],120193:[[86],256],120194:[[87],256],120195:[[88],256],120196:[[89],256],120197:[[90],256],120198:[[97],256],120199:[[98],256],120200:[[99],256],120201:[[100],256],120202:[[101],256],120203:[[102],256],120204:[[103],256],120205:[[104],256],120206:[[105],256],120207:[[106],256],120208:[[107],256],120209:[[108],256],120210:[[109],256],120211:[[110],256],120212:[[111],256],120213:[[112],256],120214:[[113],256],120215:[[114],256],120216:[[115],256],120217:[[116],256],120218:[[117],256],120219:[[118],256],120220:[[119],256],120221:[[120],256],120222:[[121],256],120223:[[122],256],120224:[[65],256],120225:[[66],256],120226:[[67],256],120227:[[68],256],120228:[[69],256],120229:[[70],256],120230:[[71],256],120231:[[72],256],120232:[[73],256],120233:[[74],256],120234:[[75],256],120235:[[76],256],120236:[[77],256],120237:[[78],256],120238:[[79],256],120239:[[80],256],120240:[[81],256],120241:[[82],256],120242:[[83],256],120243:[[84],256],120244:[[85],256],120245:[[86],256],120246:[[87],256],120247:[[88],256],120248:[[89],256],120249:[[90],256],120250:[[97],256],120251:[[98],256],120252:[[99],256],120253:[[100],256],120254:[[101],256],120255:[[102],256],120256:[[103],256],120257:[[104],256],120258:[[105],256],120259:[[106],256],120260:[[107],256],120261:[[108],256],120262:[[109],256],120263:[[110],256],120264:[[111],256],120265:[[112],256],120266:[[113],256],120267:[[114],256],120268:[[115],256],120269:[[116],256],120270:[[117],256],120271:[[118],256],120272:[[119],256],120273:[[120],256],120274:[[121],256],120275:[[122],256],120276:[[65],256],120277:[[66],256],120278:[[67],256],120279:[[68],256],120280:[[69],256],120281:[[70],256],120282:[[71],256],120283:[[72],256],120284:[[73],256],120285:[[74],256],120286:[[75],256],120287:[[76],256],120288:[[77],256],120289:[[78],256],120290:[[79],256],120291:[[80],256],120292:[[81],256],120293:[[82],256],120294:[[83],256],120295:[[84],256],120296:[[85],256],120297:[[86],256],120298:[[87],256],120299:[[88],256],120300:[[89],256],120301:[[90],256],120302:[[97],256],120303:[[98],256],120304:[[99],256],120305:[[100],256],120306:[[101],256],120307:[[102],256],120308:[[103],256],120309:[[104],256],120310:[[105],256],120311:[[106],256],120312:[[107],256],120313:[[108],256],120314:[[109],256],120315:[[110],256],120316:[[111],256],120317:[[112],256],120318:[[113],256],120319:[[114],256]},54784:{120320:[[115],256],120321:[[116],256],120322:[[117],256],120323:[[118],256],120324:[[119],256],120325:[[120],256],120326:[[121],256],120327:[[122],256],120328:[[65],256],120329:[[66],256],120330:[[67],256],120331:[[68],256],120332:[[69],256],120333:[[70],256],120334:[[71],256],120335:[[72],256],120336:[[73],256],120337:[[74],256],120338:[[75],256],120339:[[76],256],120340:[[77],256],120341:[[78],256],120342:[[79],256],120343:[[80],256],120344:[[81],256],120345:[[82],256],120346:[[83],256],120347:[[84],256],120348:[[85],256],120349:[[86],256],120350:[[87],256],120351:[[88],256],120352:[[89],256],120353:[[90],256],120354:[[97],256],120355:[[98],256],120356:[[99],256],120357:[[100],256],120358:[[101],256],120359:[[102],256],120360:[[103],256],120361:[[104],256],120362:[[105],256],120363:[[106],256],120364:[[107],256],120365:[[108],256],120366:[[109],256],120367:[[110],256],120368:[[111],256],120369:[[112],256],120370:[[113],256],120371:[[114],256],120372:[[115],256],120373:[[116],256],120374:[[117],256],120375:[[118],256],120376:[[119],256],120377:[[120],256],120378:[[121],256],120379:[[122],256],120380:[[65],256],120381:[[66],256],120382:[[67],256],120383:[[68],256],120384:[[69],256],120385:[[70],256],120386:[[71],256],120387:[[72],256],120388:[[73],256],120389:[[74],256],120390:[[75],256],120391:[[76],256],120392:[[77],256],120393:[[78],256],120394:[[79],256],120395:[[80],256],120396:[[81],256],120397:[[82],256],120398:[[83],256],120399:[[84],256],120400:[[85],256],120401:[[86],256],120402:[[87],256],120403:[[88],256],120404:[[89],256],120405:[[90],256],120406:[[97],256],120407:[[98],256],120408:[[99],256],120409:[[100],256],120410:[[101],256],120411:[[102],256],120412:[[103],256],120413:[[104],256],120414:[[105],256],120415:[[106],256],120416:[[107],256],120417:[[108],256],120418:[[109],256],120419:[[110],256],120420:[[111],256],120421:[[112],256],120422:[[113],256],120423:[[114],256],120424:[[115],256],120425:[[116],256],120426:[[117],256],120427:[[118],256],120428:[[119],256],120429:[[120],256],120430:[[121],256],120431:[[122],256],120432:[[65],256],120433:[[66],256],120434:[[67],256],120435:[[68],256],120436:[[69],256],120437:[[70],256],120438:[[71],256],120439:[[72],256],120440:[[73],256],120441:[[74],256],120442:[[75],256],120443:[[76],256],120444:[[77],256],120445:[[78],256],120446:[[79],256],120447:[[80],256],120448:[[81],256],120449:[[82],256],120450:[[83],256],120451:[[84],256],120452:[[85],256],120453:[[86],256],120454:[[87],256],120455:[[88],256],120456:[[89],256],120457:[[90],256],120458:[[97],256],120459:[[98],256],120460:[[99],256],120461:[[100],256],120462:[[101],256],120463:[[102],256],120464:[[103],256],120465:[[104],256],120466:[[105],256],120467:[[106],256],120468:[[107],256],120469:[[108],256],120470:[[109],256],120471:[[110],256],120472:[[111],256],120473:[[112],256],120474:[[113],256],120475:[[114],256],120476:[[115],256],120477:[[116],256],120478:[[117],256],120479:[[118],256],120480:[[119],256],120481:[[120],256],120482:[[121],256],120483:[[122],256],120484:[[305],256],120485:[[567],256],120488:[[913],256],120489:[[914],256],120490:[[915],256],120491:[[916],256],120492:[[917],256],120493:[[918],256],120494:[[919],256],120495:[[920],256],120496:[[921],256],120497:[[922],256],120498:[[923],256],120499:[[924],256],120500:[[925],256],120501:[[926],256],120502:[[927],256],120503:[[928],256],120504:[[929],256],120505:[[1012],256],120506:[[931],256],120507:[[932],256],120508:[[933],256],120509:[[934],256],120510:[[935],256],120511:[[936],256],120512:[[937],256],120513:[[8711],256],120514:[[945],256],120515:[[946],256],120516:[[947],256],120517:[[948],256],120518:[[949],256],120519:[[950],256],120520:[[951],256],120521:[[952],256],120522:[[953],256],120523:[[954],256],120524:[[955],256],120525:[[956],256],120526:[[957],256],120527:[[958],256],120528:[[959],256],120529:[[960],256],120530:[[961],256],120531:[[962],256],120532:[[963],256],120533:[[964],256],120534:[[965],256],120535:[[966],256],120536:[[967],256],120537:[[968],256],120538:[[969],256],120539:[[8706],256],120540:[[1013],256],120541:[[977],256],120542:[[1008],256],120543:[[981],256],120544:[[1009],256],120545:[[982],256],120546:[[913],256],120547:[[914],256],120548:[[915],256],120549:[[916],256],120550:[[917],256],120551:[[918],256],120552:[[919],256],120553:[[920],256],120554:[[921],256],120555:[[922],256],120556:[[923],256],120557:[[924],256],120558:[[925],256],120559:[[926],256],120560:[[927],256],120561:[[928],256],120562:[[929],256],120563:[[1012],256],120564:[[931],256],120565:[[932],256],120566:[[933],256],120567:[[934],256],120568:[[935],256],120569:[[936],256],120570:[[937],256],120571:[[8711],256],120572:[[945],256],120573:[[946],256],120574:[[947],256],120575:[[948],256]},55040:{120576:[[949],256],120577:[[950],256],120578:[[951],256],120579:[[952],256],120580:[[953],256],120581:[[954],256],120582:[[955],256],120583:[[956],256],120584:[[957],256],120585:[[958],256],120586:[[959],256],120587:[[960],256],120588:[[961],256],120589:[[962],256],120590:[[963],256],120591:[[964],256],120592:[[965],256],120593:[[966],256],120594:[[967],256],120595:[[968],256],120596:[[969],256],120597:[[8706],256],120598:[[1013],256],120599:[[977],256],120600:[[1008],256],120601:[[981],256],120602:[[1009],256],120603:[[982],256],120604:[[913],256],120605:[[914],256],120606:[[915],256],120607:[[916],256],120608:[[917],256],120609:[[918],256],120610:[[919],256],120611:[[920],256],120612:[[921],256],120613:[[922],256],120614:[[923],256],120615:[[924],256],120616:[[925],256],120617:[[926],256],120618:[[927],256],120619:[[928],256],120620:[[929],256],120621:[[1012],256],120622:[[931],256],120623:[[932],256],120624:[[933],256],120625:[[934],256],120626:[[935],256],120627:[[936],256],120628:[[937],256],120629:[[8711],256],120630:[[945],256],120631:[[946],256],120632:[[947],256],120633:[[948],256],120634:[[949],256],120635:[[950],256],120636:[[951],256],120637:[[952],256],120638:[[953],256],120639:[[954],256],120640:[[955],256],120641:[[956],256],120642:[[957],256],120643:[[958],256],120644:[[959],256],120645:[[960],256],120646:[[961],256],120647:[[962],256],120648:[[963],256],120649:[[964],256],120650:[[965],256],120651:[[966],256],120652:[[967],256],120653:[[968],256],120654:[[969],256],120655:[[8706],256],120656:[[1013],256],120657:[[977],256],120658:[[1008],256],120659:[[981],256],120660:[[1009],256],120661:[[982],256],120662:[[913],256],120663:[[914],256],120664:[[915],256],120665:[[916],256],120666:[[917],256],120667:[[918],256],120668:[[919],256],120669:[[920],256],120670:[[921],256],120671:[[922],256],120672:[[923],256],120673:[[924],256],120674:[[925],256],120675:[[926],256],120676:[[927],256],120677:[[928],256],120678:[[929],256],120679:[[1012],256],120680:[[931],256],120681:[[932],256],120682:[[933],256],120683:[[934],256],120684:[[935],256],120685:[[936],256],120686:[[937],256],120687:[[8711],256],120688:[[945],256],120689:[[946],256],120690:[[947],256],120691:[[948],256],120692:[[949],256],120693:[[950],256],120694:[[951],256],120695:[[952],256],120696:[[953],256],120697:[[954],256],120698:[[955],256],120699:[[956],256],120700:[[957],256],120701:[[958],256],120702:[[959],256],120703:[[960],256],120704:[[961],256],120705:[[962],256],120706:[[963],256],120707:[[964],256],120708:[[965],256],120709:[[966],256],120710:[[967],256],120711:[[968],256],120712:[[969],256],120713:[[8706],256],120714:[[1013],256],120715:[[977],256],120716:[[1008],256],120717:[[981],256],120718:[[1009],256],120719:[[982],256],120720:[[913],256],120721:[[914],256],120722:[[915],256],120723:[[916],256],120724:[[917],256],120725:[[918],256],120726:[[919],256],120727:[[920],256],120728:[[921],256],120729:[[922],256],120730:[[923],256],120731:[[924],256],120732:[[925],256],120733:[[926],256],120734:[[927],256],120735:[[928],256],120736:[[929],256],120737:[[1012],256],120738:[[931],256],120739:[[932],256],120740:[[933],256],120741:[[934],256],120742:[[935],256],120743:[[936],256],120744:[[937],256],120745:[[8711],256],120746:[[945],256],120747:[[946],256],120748:[[947],256],120749:[[948],256],120750:[[949],256],120751:[[950],256],120752:[[951],256],120753:[[952],256],120754:[[953],256],120755:[[954],256],120756:[[955],256],120757:[[956],256],120758:[[957],256],120759:[[958],256],120760:[[959],256],120761:[[960],256],120762:[[961],256],120763:[[962],256],120764:[[963],256],120765:[[964],256],120766:[[965],256],120767:[[966],256],120768:[[967],256],120769:[[968],256],120770:[[969],256],120771:[[8706],256],120772:[[1013],256],120773:[[977],256],120774:[[1008],256],120775:[[981],256],120776:[[1009],256],120777:[[982],256],120778:[[988],256],120779:[[989],256],120782:[[48],256],120783:[[49],256],120784:[[50],256],120785:[[51],256],120786:[[52],256],120787:[[53],256],120788:[[54],256],120789:[[55],256],120790:[[56],256],120791:[[57],256],120792:[[48],256],120793:[[49],256],120794:[[50],256],120795:[[51],256],120796:[[52],256],120797:[[53],256],120798:[[54],256],120799:[[55],256],120800:[[56],256],120801:[[57],256],120802:[[48],256],120803:[[49],256],120804:[[50],256],120805:[[51],256],120806:[[52],256],120807:[[53],256],120808:[[54],256],120809:[[55],256],120810:[[56],256],120811:[[57],256],120812:[[48],256],120813:[[49],256],120814:[[50],256],120815:[[51],256],120816:[[52],256],120817:[[53],256],120818:[[54],256],120819:[[55],256],120820:[[56],256],120821:[[57],256],120822:[[48],256],120823:[[49],256],120824:[[50],256],120825:[[51],256],120826:[[52],256],120827:[[53],256],120828:[[54],256],120829:[[55],256],120830:[[56],256],120831:[[57],256]},59392:{125136:[,220],125137:[,220],125138:[,220],125139:[,220],125140:[,220],125141:[,220],125142:[,220]},60928:{126464:[[1575],256],126465:[[1576],256],126466:[[1580],256],126467:[[1583],256],126469:[[1608],256],126470:[[1586],256],126471:[[1581],256],126472:[[1591],256],126473:[[1610],256],126474:[[1603],256],126475:[[1604],256],126476:[[1605],256],126477:[[1606],256],126478:[[1587],256],126479:[[1593],256],126480:[[1601],256],126481:[[1589],256],126482:[[1602],256],126483:[[1585],256],126484:[[1588],256],126485:[[1578],256],126486:[[1579],256],126487:[[1582],256],126488:[[1584],256],126489:[[1590],256],126490:[[1592],256],126491:[[1594],256],126492:[[1646],256],126493:[[1722],256],126494:[[1697],256],126495:[[1647],256],126497:[[1576],256],126498:[[1580],256],126500:[[1607],256],126503:[[1581],256],126505:[[1610],256],126506:[[1603],256],126507:[[1604],256],126508:[[1605],256],126509:[[1606],256],126510:[[1587],256],126511:[[1593],256],126512:[[1601],256],126513:[[1589],256],126514:[[1602],256],126516:[[1588],256],126517:[[1578],256],126518:[[1579],256],126519:[[1582],256],126521:[[1590],256],126523:[[1594],256],126530:[[1580],256],126535:[[1581],256],126537:[[1610],256],126539:[[1604],256],126541:[[1606],256],126542:[[1587],256],126543:[[1593],256],126545:[[1589],256],126546:[[1602],256],126548:[[1588],256],126551:[[1582],256],126553:[[1590],256],126555:[[1594],256],126557:[[1722],256],126559:[[1647],256],126561:[[1576],256],126562:[[1580],256],126564:[[1607],256],126567:[[1581],256],126568:[[1591],256],126569:[[1610],256],126570:[[1603],256],126572:[[1605],256],126573:[[1606],256],126574:[[1587],256],126575:[[1593],256],126576:[[1601],256],126577:[[1589],256],126578:[[1602],256],126580:[[1588],256],126581:[[1578],256],126582:[[1579],256],126583:[[1582],256],126585:[[1590],256],126586:[[1592],256],126587:[[1594],256],126588:[[1646],256],126590:[[1697],256],126592:[[1575],256],126593:[[1576],256],126594:[[1580],256],126595:[[1583],256],126596:[[1607],256],126597:[[1608],256],126598:[[1586],256],126599:[[1581],256],126600:[[1591],256],126601:[[1610],256],126603:[[1604],256],126604:[[1605],256],126605:[[1606],256],126606:[[1587],256],126607:[[1593],256],126608:[[1601],256],126609:[[1589],256],126610:[[1602],256],126611:[[1585],256],126612:[[1588],256],126613:[[1578],256],126614:[[1579],256],126615:[[1582],256],126616:[[1584],256],126617:[[1590],256],126618:[[1592],256],126619:[[1594],256],126625:[[1576],256],126626:[[1580],256],126627:[[1583],256],126629:[[1608],256],126630:[[1586],256],126631:[[1581],256],126632:[[1591],256],126633:[[1610],256],126635:[[1604],256],126636:[[1605],256],126637:[[1606],256],126638:[[1587],256],126639:[[1593],256],126640:[[1601],256],126641:[[1589],256],126642:[[1602],256],126643:[[1585],256],126644:[[1588],256],126645:[[1578],256],126646:[[1579],256],126647:[[1582],256],126648:[[1584],256],126649:[[1590],256],126650:[[1592],256],126651:[[1594],256]},61696:{127232:[[48,46],256],127233:[[48,44],256],127234:[[49,44],256],127235:[[50,44],256],127236:[[51,44],256],127237:[[52,44],256],127238:[[53,44],256],127239:[[54,44],256],127240:[[55,44],256],127241:[[56,44],256],127242:[[57,44],256],127248:[[40,65,41],256],127249:[[40,66,41],256],127250:[[40,67,41],256],127251:[[40,68,41],256],127252:[[40,69,41],256],127253:[[40,70,41],256],127254:[[40,71,41],256],127255:[[40,72,41],256],127256:[[40,73,41],256],127257:[[40,74,41],256],127258:[[40,75,41],256],127259:[[40,76,41],256],127260:[[40,77,41],256],127261:[[40,78,41],256],127262:[[40,79,41],256],127263:[[40,80,41],256],127264:[[40,81,41],256],127265:[[40,82,41],256],127266:[[40,83,41],256],127267:[[40,84,41],256],127268:[[40,85,41],256],127269:[[40,86,41],256],127270:[[40,87,41],256],127271:[[40,88,41],256],127272:[[40,89,41],256],127273:[[40,90,41],256],127274:[[12308,83,12309],256],127275:[[67],256],127276:[[82],256],127277:[[67,68],256],127278:[[87,90],256],127280:[[65],256],127281:[[66],256],127282:[[67],256],127283:[[68],256],127284:[[69],256],127285:[[70],256],127286:[[71],256],127287:[[72],256],127288:[[73],256],127289:[[74],256],127290:[[75],256],127291:[[76],256],127292:[[77],256],127293:[[78],256],127294:[[79],256],127295:[[80],256],127296:[[81],256],127297:[[82],256],127298:[[83],256],127299:[[84],256],127300:[[85],256],127301:[[86],256],127302:[[87],256],127303:[[88],256],127304:[[89],256],127305:[[90],256],127306:[[72,86],256],127307:[[77,86],256],127308:[[83,68],256],127309:[[83,83],256],127310:[[80,80,86],256],127311:[[87,67],256],127338:[[77,67],256],127339:[[77,68],256],127376:[[68,74],256]},61952:{127488:[[12411,12363],256],127489:[[12467,12467],256],127490:[[12469],256],127504:[[25163],256],127505:[[23383],256],127506:[[21452],256],127507:[[12487],256],127508:[[20108],256],127509:[[22810],256],127510:[[35299],256],127511:[[22825],256],127512:[[20132],256],127513:[[26144],256],127514:[[28961],256],127515:[[26009],256],127516:[[21069],256],127517:[[24460],256],127518:[[20877],256],127519:[[26032],256],127520:[[21021],256],127521:[[32066],256],127522:[[29983],256],127523:[[36009],256],127524:[[22768],256],127525:[[21561],256],127526:[[28436],256],127527:[[25237],256],127528:[[25429],256],127529:[[19968],256],127530:[[19977],256],127531:[[36938],256],127532:[[24038],256],127533:[[20013],256],127534:[[21491],256],127535:[[25351],256],127536:[[36208],256],127537:[[25171],256],127538:[[31105],256],127539:[[31354],256],127540:[[21512],256],127541:[[28288],256],127542:[[26377],256],127543:[[26376],256],127544:[[30003],256],127545:[[21106],256],127546:[[21942],256],127552:[[12308,26412,12309],256],127553:[[12308,19977,12309],256],127554:[[12308,20108,12309],256],127555:[[12308,23433,12309],256],127556:[[12308,28857,12309],256],127557:[[12308,25171,12309],256],127558:[[12308,30423,12309],256],127559:[[12308,21213,12309],256],127560:[[12308,25943,12309],256],127568:[[24471],256],127569:[[21487],256]},63488:{194560:[[20029]],194561:[[20024]],194562:[[20033]],194563:[[131362]],194564:[[20320]],194565:[[20398]],194566:[[20411]],194567:[[20482]],194568:[[20602]],194569:[[20633]],194570:[[20711]],194571:[[20687]],194572:[[13470]],194573:[[132666]],194574:[[20813]],194575:[[20820]],194576:[[20836]],194577:[[20855]],194578:[[132380]],194579:[[13497]],194580:[[20839]],194581:[[20877]],194582:[[132427]],194583:[[20887]],194584:[[20900]],194585:[[20172]],194586:[[20908]],194587:[[20917]],194588:[[168415]],194589:[[20981]],194590:[[20995]],194591:[[13535]],194592:[[21051]],194593:[[21062]],194594:[[21106]],194595:[[21111]],194596:[[13589]],194597:[[21191]],194598:[[21193]],194599:[[21220]],194600:[[21242]],194601:[[21253]],194602:[[21254]],194603:[[21271]],194604:[[21321]],194605:[[21329]],194606:[[21338]],194607:[[21363]],194608:[[21373]],194609:[[21375]],194610:[[21375]],194611:[[21375]],194612:[[133676]],194613:[[28784]],194614:[[21450]],194615:[[21471]],194616:[[133987]],194617:[[21483]],194618:[[21489]],194619:[[21510]],194620:[[21662]],194621:[[21560]],194622:[[21576]],194623:[[21608]],194624:[[21666]],194625:[[21750]],194626:[[21776]],194627:[[21843]],194628:[[21859]],194629:[[21892]],194630:[[21892]],194631:[[21913]],194632:[[21931]],194633:[[21939]],194634:[[21954]],194635:[[22294]],194636:[[22022]],194637:[[22295]],194638:[[22097]],194639:[[22132]],194640:[[20999]],194641:[[22766]],194642:[[22478]],194643:[[22516]],194644:[[22541]],194645:[[22411]],194646:[[22578]],194647:[[22577]],194648:[[22700]],194649:[[136420]],194650:[[22770]],194651:[[22775]],194652:[[22790]],194653:[[22810]],194654:[[22818]],194655:[[22882]],194656:[[136872]],194657:[[136938]],194658:[[23020]],194659:[[23067]],194660:[[23079]],194661:[[23e3]],194662:[[23142]],194663:[[14062]],194664:[[14076]],194665:[[23304]],194666:[[23358]],194667:[[23358]],194668:[[137672]],194669:[[23491]],194670:[[23512]],194671:[[23527]],194672:[[23539]],194673:[[138008]],194674:[[23551]],194675:[[23558]],194676:[[24403]],194677:[[23586]],194678:[[14209]],194679:[[23648]],194680:[[23662]],194681:[[23744]],194682:[[23693]],194683:[[138724]],194684:[[23875]],194685:[[138726]],194686:[[23918]],194687:[[23915]],194688:[[23932]],194689:[[24033]],194690:[[24034]],194691:[[14383]],194692:[[24061]],194693:[[24104]],194694:[[24125]],194695:[[24169]],194696:[[14434]],194697:[[139651]],194698:[[14460]],194699:[[24240]],194700:[[24243]],194701:[[24246]],194702:[[24266]],194703:[[172946]],194704:[[24318]],194705:[[140081]],194706:[[140081]],194707:[[33281]],194708:[[24354]],194709:[[24354]],194710:[[14535]],194711:[[144056]],194712:[[156122]],194713:[[24418]],194714:[[24427]],194715:[[14563]],194716:[[24474]],194717:[[24525]],194718:[[24535]],194719:[[24569]],194720:[[24705]],194721:[[14650]],194722:[[14620]],194723:[[24724]],194724:[[141012]],194725:[[24775]],194726:[[24904]],194727:[[24908]],194728:[[24910]],194729:[[24908]],194730:[[24954]],194731:[[24974]],194732:[[25010]],194733:[[24996]],194734:[[25007]],194735:[[25054]],194736:[[25074]],194737:[[25078]],194738:[[25104]],194739:[[25115]],194740:[[25181]],194741:[[25265]],194742:[[25300]],194743:[[25424]],194744:[[142092]],194745:[[25405]],194746:[[25340]],194747:[[25448]],194748:[[25475]],194749:[[25572]],194750:[[142321]],194751:[[25634]],194752:[[25541]],194753:[[25513]],194754:[[14894]],194755:[[25705]],194756:[[25726]],194757:[[25757]],194758:[[25719]],194759:[[14956]],194760:[[25935]],194761:[[25964]],194762:[[143370]],194763:[[26083]],194764:[[26360]],194765:[[26185]],194766:[[15129]],194767:[[26257]],194768:[[15112]],194769:[[15076]],194770:[[20882]],194771:[[20885]],194772:[[26368]],194773:[[26268]],194774:[[32941]],194775:[[17369]],194776:[[26391]],194777:[[26395]],194778:[[26401]],194779:[[26462]],194780:[[26451]],194781:[[144323]],194782:[[15177]],194783:[[26618]],194784:[[26501]],194785:[[26706]],194786:[[26757]],194787:[[144493]],194788:[[26766]],194789:[[26655]],194790:[[26900]],194791:[[15261]],194792:[[26946]],194793:[[27043]],194794:[[27114]],194795:[[27304]],194796:[[145059]],194797:[[27355]],194798:[[15384]],194799:[[27425]],194800:[[145575]],194801:[[27476]],194802:[[15438]],194803:[[27506]],194804:[[27551]],194805:[[27578]],194806:[[27579]],194807:[[146061]],194808:[[138507]],194809:[[146170]],194810:[[27726]],194811:[[146620]],194812:[[27839]],194813:[[27853]],194814:[[27751]],194815:[[27926]]},63744:{63744:[[35912]],63745:[[26356]],63746:[[36554]],63747:[[36040]],63748:[[28369]],63749:[[20018]],63750:[[21477]],63751:[[40860]],63752:[[40860]],63753:[[22865]],63754:[[37329]],63755:[[21895]],63756:[[22856]],63757:[[25078]],63758:[[30313]],63759:[[32645]],63760:[[34367]],63761:[[34746]],63762:[[35064]],63763:[[37007]],63764:[[27138]],63765:[[27931]],63766:[[28889]],63767:[[29662]],63768:[[33853]],63769:[[37226]],63770:[[39409]],63771:[[20098]],63772:[[21365]],63773:[[27396]],63774:[[29211]],63775:[[34349]],63776:[[40478]],63777:[[23888]],63778:[[28651]],63779:[[34253]],63780:[[35172]],63781:[[25289]],63782:[[33240]],63783:[[34847]],63784:[[24266]],63785:[[26391]],63786:[[28010]],63787:[[29436]],63788:[[37070]],63789:[[20358]],63790:[[20919]],63791:[[21214]],63792:[[25796]],63793:[[27347]],63794:[[29200]],63795:[[30439]],63796:[[32769]],63797:[[34310]],63798:[[34396]],63799:[[36335]],63800:[[38706]],63801:[[39791]],63802:[[40442]],63803:[[30860]],63804:[[31103]],63805:[[32160]],63806:[[33737]],63807:[[37636]],63808:[[40575]],63809:[[35542]],63810:[[22751]],63811:[[24324]],63812:[[31840]],63813:[[32894]],63814:[[29282]],63815:[[30922]],63816:[[36034]],63817:[[38647]],63818:[[22744]],63819:[[23650]],63820:[[27155]],63821:[[28122]],63822:[[28431]],63823:[[32047]],63824:[[32311]],63825:[[38475]],63826:[[21202]],63827:[[32907]],63828:[[20956]],63829:[[20940]],63830:[[31260]],63831:[[32190]],63832:[[33777]],63833:[[38517]],63834:[[35712]],63835:[[25295]],63836:[[27138]],63837:[[35582]],63838:[[20025]],63839:[[23527]],63840:[[24594]],63841:[[29575]],63842:[[30064]],63843:[[21271]],63844:[[30971]],63845:[[20415]],63846:[[24489]],63847:[[19981]],63848:[[27852]],63849:[[25976]],63850:[[32034]],63851:[[21443]],63852:[[22622]],63853:[[30465]],63854:[[33865]],63855:[[35498]],63856:[[27578]],63857:[[36784]],63858:[[27784]],63859:[[25342]],63860:[[33509]],63861:[[25504]],63862:[[30053]],63863:[[20142]],63864:[[20841]],63865:[[20937]],63866:[[26753]],63867:[[31975]],63868:[[33391]],63869:[[35538]],63870:[[37327]],63871:[[21237]],63872:[[21570]],63873:[[22899]],63874:[[24300]],63875:[[26053]],63876:[[28670]],63877:[[31018]],63878:[[38317]],63879:[[39530]],63880:[[40599]],63881:[[40654]],63882:[[21147]],63883:[[26310]],63884:[[27511]],63885:[[36706]],63886:[[24180]],63887:[[24976]],63888:[[25088]],63889:[[25754]],63890:[[28451]],63891:[[29001]],63892:[[29833]],63893:[[31178]],63894:[[32244]],63895:[[32879]],63896:[[36646]],63897:[[34030]],63898:[[36899]],63899:[[37706]],63900:[[21015]],63901:[[21155]],63902:[[21693]],63903:[[28872]],63904:[[35010]],63905:[[35498]],63906:[[24265]],63907:[[24565]],63908:[[25467]],63909:[[27566]],63910:[[31806]],63911:[[29557]],63912:[[20196]],63913:[[22265]],63914:[[23527]],63915:[[23994]],63916:[[24604]],63917:[[29618]],63918:[[29801]],63919:[[32666]],63920:[[32838]],63921:[[37428]],63922:[[38646]],63923:[[38728]],63924:[[38936]],63925:[[20363]],63926:[[31150]],63927:[[37300]],63928:[[38584]],63929:[[24801]],63930:[[20102]],63931:[[20698]],63932:[[23534]],63933:[[23615]],63934:[[26009]],63935:[[27138]],63936:[[29134]],63937:[[30274]],63938:[[34044]],63939:[[36988]],63940:[[40845]],63941:[[26248]],63942:[[38446]],63943:[[21129]],63944:[[26491]],63945:[[26611]],63946:[[27969]],63947:[[28316]],63948:[[29705]],63949:[[30041]],63950:[[30827]],63951:[[32016]],63952:[[39006]],63953:[[20845]],63954:[[25134]],63955:[[38520]],63956:[[20523]],63957:[[23833]],63958:[[28138]],63959:[[36650]],63960:[[24459]],63961:[[24900]],63962:[[26647]],63963:[[29575]],63964:[[38534]],63965:[[21033]],63966:[[21519]],63967:[[23653]],63968:[[26131]],63969:[[26446]],63970:[[26792]],63971:[[27877]],63972:[[29702]],63973:[[30178]],63974:[[32633]],63975:[[35023]],63976:[[35041]],63977:[[37324]],63978:[[38626]],63979:[[21311]],63980:[[28346]],63981:[[21533]],63982:[[29136]],63983:[[29848]],63984:[[34298]],63985:[[38563]],63986:[[40023]],63987:[[40607]],63988:[[26519]],63989:[[28107]],63990:[[33256]],63991:[[31435]],63992:[[31520]],63993:[[31890]],63994:[[29376]],63995:[[28825]],63996:[[35672]],63997:[[20160]],63998:[[33590]],63999:[[21050]],194816:[[27966]],194817:[[28023]],194818:[[27969]],194819:[[28009]],194820:[[28024]],194821:[[28037]],194822:[[146718]],194823:[[27956]],194824:[[28207]],194825:[[28270]],194826:[[15667]],194827:[[28363]],194828:[[28359]],194829:[[147153]],194830:[[28153]],194831:[[28526]],194832:[[147294]],194833:[[147342]],194834:[[28614]],194835:[[28729]],194836:[[28702]],194837:[[28699]],194838:[[15766]],194839:[[28746]],194840:[[28797]],194841:[[28791]],194842:[[28845]],194843:[[132389]],194844:[[28997]],194845:[[148067]],194846:[[29084]],194847:[[148395]],194848:[[29224]],194849:[[29237]],194850:[[29264]],194851:[[149e3]],194852:[[29312]],194853:[[29333]],194854:[[149301]],194855:[[149524]],194856:[[29562]],194857:[[29579]],194858:[[16044]],194859:[[29605]],194860:[[16056]],194861:[[16056]],194862:[[29767]],194863:[[29788]],194864:[[29809]],194865:[[29829]],194866:[[29898]],194867:[[16155]],194868:[[29988]],194869:[[150582]],194870:[[30014]],194871:[[150674]],194872:[[30064]],194873:[[139679]],194874:[[30224]],194875:[[151457]],194876:[[151480]],194877:[[151620]],194878:[[16380]],194879:[[16392]],194880:[[30452]],194881:[[151795]],194882:[[151794]],194883:[[151833]],194884:[[151859]],194885:[[30494]],194886:[[30495]],194887:[[30495]],194888:[[30538]],194889:[[16441]],194890:[[30603]],194891:[[16454]],194892:[[16534]],194893:[[152605]],194894:[[30798]],194895:[[30860]],194896:[[30924]],194897:[[16611]],194898:[[153126]],194899:[[31062]],194900:[[153242]],194901:[[153285]],194902:[[31119]],194903:[[31211]],194904:[[16687]],194905:[[31296]],194906:[[31306]],194907:[[31311]],194908:[[153980]],194909:[[154279]],194910:[[154279]],194911:[[31470]],194912:[[16898]],194913:[[154539]],194914:[[31686]],194915:[[31689]],194916:[[16935]],194917:[[154752]],194918:[[31954]],194919:[[17056]],194920:[[31976]],194921:[[31971]],194922:[[32e3]],194923:[[155526]],194924:[[32099]],194925:[[17153]],194926:[[32199]],194927:[[32258]],194928:[[32325]],194929:[[17204]],194930:[[156200]],194931:[[156231]],194932:[[17241]],194933:[[156377]],194934:[[32634]],194935:[[156478]],194936:[[32661]],194937:[[32762]],194938:[[32773]],194939:[[156890]],194940:[[156963]],194941:[[32864]],194942:[[157096]],194943:[[32880]],194944:[[144223]],194945:[[17365]],194946:[[32946]],194947:[[33027]],194948:[[17419]],194949:[[33086]],194950:[[23221]],194951:[[157607]],194952:[[157621]],194953:[[144275]],194954:[[144284]],194955:[[33281]],194956:[[33284]],194957:[[36766]],194958:[[17515]],194959:[[33425]],194960:[[33419]],194961:[[33437]],194962:[[21171]],194963:[[33457]],194964:[[33459]],194965:[[33469]],194966:[[33510]],194967:[[158524]],194968:[[33509]],194969:[[33565]],194970:[[33635]],194971:[[33709]],194972:[[33571]],194973:[[33725]],194974:[[33767]],194975:[[33879]],194976:[[33619]],194977:[[33738]],194978:[[33740]],194979:[[33756]],194980:[[158774]],194981:[[159083]],194982:[[158933]],194983:[[17707]],194984:[[34033]],194985:[[34035]],194986:[[34070]],194987:[[160714]],194988:[[34148]],194989:[[159532]],194990:[[17757]],194991:[[17761]],194992:[[159665]],194993:[[159954]],194994:[[17771]],194995:[[34384]],194996:[[34396]],194997:[[34407]],194998:[[34409]],194999:[[34473]],195e3:[[34440]],195001:[[34574]],195002:[[34530]],195003:[[34681]],195004:[[34600]],195005:[[34667]],195006:[[34694]],195007:[[17879]],195008:[[34785]],195009:[[34817]],195010:[[17913]],195011:[[34912]],195012:[[34915]],195013:[[161383]],195014:[[35031]],195015:[[35038]],195016:[[17973]],195017:[[35066]],195018:[[13499]],195019:[[161966]],195020:[[162150]],195021:[[18110]],195022:[[18119]],195023:[[35488]],195024:[[35565]],195025:[[35722]],195026:[[35925]],195027:[[162984]],195028:[[36011]],195029:[[36033]],195030:[[36123]],195031:[[36215]],195032:[[163631]],195033:[[133124]],195034:[[36299]],195035:[[36284]],195036:[[36336]],195037:[[133342]],195038:[[36564]],195039:[[36664]],195040:[[165330]],195041:[[165357]],195042:[[37012]],195043:[[37105]],195044:[[37137]],195045:[[165678]],195046:[[37147]],195047:[[37432]],195048:[[37591]],195049:[[37592]],195050:[[37500]],195051:[[37881]],195052:[[37909]],195053:[[166906]],195054:[[38283]],195055:[[18837]],195056:[[38327]],195057:[[167287]],195058:[[18918]],195059:[[38595]],195060:[[23986]],195061:[[38691]],195062:[[168261]],195063:[[168474]],195064:[[19054]],195065:[[19062]],195066:[[38880]],195067:[[168970]],195068:[[19122]],195069:[[169110]],195070:[[38923]],195071:[[38923]]},64e3:{64e3:[[20999]],64001:[[24230]],64002:[[25299]],64003:[[31958]],64004:[[23429]],64005:[[27934]],64006:[[26292]],64007:[[36667]],64008:[[34892]],64009:[[38477]],64010:[[35211]],64011:[[24275]],64012:[[20800]],64013:[[21952]],64016:[[22618]],64018:[[26228]],64021:[[20958]],64022:[[29482]],64023:[[30410]],64024:[[31036]],64025:[[31070]],64026:[[31077]],64027:[[31119]],64028:[[38742]],64029:[[31934]],64030:[[32701]],64032:[[34322]],64034:[[35576]],64037:[[36920]],64038:[[37117]],64042:[[39151]],64043:[[39164]],64044:[[39208]],64045:[[40372]],64046:[[37086]],64047:[[38583]],64048:[[20398]],64049:[[20711]],64050:[[20813]],64051:[[21193]],64052:[[21220]],64053:[[21329]],64054:[[21917]],64055:[[22022]],64056:[[22120]],64057:[[22592]],64058:[[22696]],64059:[[23652]],64060:[[23662]],64061:[[24724]],64062:[[24936]],64063:[[24974]],64064:[[25074]],64065:[[25935]],64066:[[26082]],64067:[[26257]],64068:[[26757]],64069:[[28023]],64070:[[28186]],64071:[[28450]],64072:[[29038]],64073:[[29227]],64074:[[29730]],64075:[[30865]],64076:[[31038]],64077:[[31049]],64078:[[31048]],64079:[[31056]],64080:[[31062]],64081:[[31069]],64082:[[31117]],64083:[[31118]],64084:[[31296]],64085:[[31361]],64086:[[31680]],64087:[[32244]],64088:[[32265]],64089:[[32321]],64090:[[32626]],64091:[[32773]],64092:[[33261]],64093:[[33401]],64094:[[33401]],64095:[[33879]],64096:[[35088]],64097:[[35222]],64098:[[35585]],64099:[[35641]],64100:[[36051]],64101:[[36104]],64102:[[36790]],64103:[[36920]],64104:[[38627]],64105:[[38911]],64106:[[38971]],64107:[[24693]],64108:[[148206]],64109:[[33304]],64112:[[20006]],64113:[[20917]],64114:[[20840]],64115:[[20352]],64116:[[20805]],64117:[[20864]],64118:[[21191]],64119:[[21242]],64120:[[21917]],64121:[[21845]],64122:[[21913]],64123:[[21986]],64124:[[22618]],64125:[[22707]],64126:[[22852]],64127:[[22868]],64128:[[23138]],64129:[[23336]],64130:[[24274]],64131:[[24281]],64132:[[24425]],64133:[[24493]],64134:[[24792]],64135:[[24910]],64136:[[24840]],64137:[[24974]],64138:[[24928]],64139:[[25074]],64140:[[25140]],64141:[[25540]],64142:[[25628]],64143:[[25682]],64144:[[25942]],64145:[[26228]],64146:[[26391]],64147:[[26395]],64148:[[26454]],64149:[[27513]],64150:[[27578]],64151:[[27969]],64152:[[28379]],64153:[[28363]],64154:[[28450]],64155:[[28702]],64156:[[29038]],64157:[[30631]],64158:[[29237]],64159:[[29359]],64160:[[29482]],64161:[[29809]],64162:[[29958]],64163:[[30011]],64164:[[30237]],64165:[[30239]],64166:[[30410]],64167:[[30427]],64168:[[30452]],64169:[[30538]],64170:[[30528]],64171:[[30924]],64172:[[31409]],64173:[[31680]],64174:[[31867]],64175:[[32091]],64176:[[32244]],64177:[[32574]],64178:[[32773]],64179:[[33618]],64180:[[33775]],64181:[[34681]],64182:[[35137]],64183:[[35206]],64184:[[35222]],64185:[[35519]],64186:[[35576]],64187:[[35531]],64188:[[35585]],64189:[[35582]],64190:[[35565]],64191:[[35641]],64192:[[35722]],64193:[[36104]],64194:[[36664]],64195:[[36978]],64196:[[37273]],64197:[[37494]],64198:[[38524]],64199:[[38627]],64200:[[38742]],64201:[[38875]],64202:[[38911]],64203:[[38923]],64204:[[38971]],64205:[[39698]],64206:[[40860]],64207:[[141386]],64208:[[141380]],64209:[[144341]],64210:[[15261]],64211:[[16408]],64212:[[16441]],64213:[[152137]],64214:[[154832]],64215:[[163539]],64216:[[40771]],64217:[[40846]],195072:[[38953]],195073:[[169398]],195074:[[39138]],195075:[[19251]],195076:[[39209]],195077:[[39335]],195078:[[39362]],195079:[[39422]],195080:[[19406]],195081:[[170800]],195082:[[39698]],195083:[[4e4]],195084:[[40189]],195085:[[19662]],195086:[[19693]],195087:[[40295]],195088:[[172238]],195089:[[19704]],195090:[[172293]],195091:[[172558]],195092:[[172689]],195093:[[40635]],195094:[[19798]],195095:[[40697]],195096:[[40702]],195097:[[40709]],195098:[[40719]],195099:[[40726]],195100:[[40763]],195101:[[173568]]},64256:{64256:[[102,102],256],64257:[[102,105],256],64258:[[102,108],256],64259:[[102,102,105],256],64260:[[102,102,108],256],64261:[[383,116],256],64262:[[115,116],256],64275:[[1396,1398],256],64276:[[1396,1381],256],64277:[[1396,1387],256],64278:[[1406,1398],256],64279:[[1396,1389],256],64285:[[1497,1460],512],64286:[,26],64287:[[1522,1463],512],64288:[[1506],256],64289:[[1488],256],64290:[[1491],256],64291:[[1492],256],64292:[[1499],256],64293:[[1500],256],64294:[[1501],256],64295:[[1512],256],64296:[[1514],256],64297:[[43],256],64298:[[1513,1473],512],64299:[[1513,1474],512],64300:[[64329,1473],512],64301:[[64329,1474],512],64302:[[1488,1463],512],64303:[[1488,1464],512],64304:[[1488,1468],512],64305:[[1489,1468],512],64306:[[1490,1468],512],64307:[[1491,1468],512],64308:[[1492,1468],512],64309:[[1493,1468],512],64310:[[1494,1468],512],64312:[[1496,1468],512],64313:[[1497,1468],512],64314:[[1498,1468],512],64315:[[1499,1468],512],64316:[[1500,1468],512],64318:[[1502,1468],512],64320:[[1504,1468],512],64321:[[1505,1468],512],64323:[[1507,1468],512],64324:[[1508,1468],512],64326:[[1510,1468],512],64327:[[1511,1468],512],64328:[[1512,1468],512],64329:[[1513,1468],512],64330:[[1514,1468],512],64331:[[1493,1465],512],64332:[[1489,1471],512],64333:[[1499,1471],512],64334:[[1508,1471],512],64335:[[1488,1500],256],64336:[[1649],256],64337:[[1649],256],64338:[[1659],256],64339:[[1659],256],64340:[[1659],256],64341:[[1659],256],64342:[[1662],256],64343:[[1662],256],64344:[[1662],256],64345:[[1662],256],64346:[[1664],256],64347:[[1664],256],64348:[[1664],256],64349:[[1664],256],64350:[[1658],256],64351:[[1658],256],64352:[[1658],256],64353:[[1658],256],64354:[[1663],256],64355:[[1663],256],64356:[[1663],256],64357:[[1663],256],64358:[[1657],256],64359:[[1657],256],64360:[[1657],256],64361:[[1657],256],64362:[[1700],256],64363:[[1700],256],64364:[[1700],256],64365:[[1700],256],64366:[[1702],256],64367:[[1702],256],64368:[[1702],256],64369:[[1702],256],64370:[[1668],256],64371:[[1668],256],64372:[[1668],256],64373:[[1668],256],64374:[[1667],256],64375:[[1667],256],64376:[[1667],256],64377:[[1667],256],64378:[[1670],256],64379:[[1670],256],64380:[[1670],256],64381:[[1670],256],64382:[[1671],256],64383:[[1671],256],64384:[[1671],256],64385:[[1671],256],64386:[[1677],256],64387:[[1677],256],64388:[[1676],256],64389:[[1676],256],64390:[[1678],256],64391:[[1678],256],64392:[[1672],256],64393:[[1672],256],64394:[[1688],256],64395:[[1688],256],64396:[[1681],256],64397:[[1681],256],64398:[[1705],256],64399:[[1705],256],64400:[[1705],256],64401:[[1705],256],64402:[[1711],256],64403:[[1711],256],64404:[[1711],256],64405:[[1711],256],64406:[[1715],256],64407:[[1715],256],64408:[[1715],256],64409:[[1715],256],64410:[[1713],256],64411:[[1713],256],64412:[[1713],256],64413:[[1713],256],64414:[[1722],256],64415:[[1722],256],64416:[[1723],256],64417:[[1723],256],64418:[[1723],256],64419:[[1723],256],64420:[[1728],256],64421:[[1728],256],64422:[[1729],256],64423:[[1729],256],64424:[[1729],256],64425:[[1729],256],64426:[[1726],256],64427:[[1726],256],64428:[[1726],256],64429:[[1726],256],64430:[[1746],256],64431:[[1746],256],64432:[[1747],256],64433:[[1747],256],64467:[[1709],256],64468:[[1709],256],64469:[[1709],256],64470:[[1709],256],64471:[[1735],256],64472:[[1735],256],64473:[[1734],256],64474:[[1734],256],64475:[[1736],256],64476:[[1736],256],64477:[[1655],256],64478:[[1739],256],64479:[[1739],256],64480:[[1733],256],64481:[[1733],256],64482:[[1737],256],64483:[[1737],256],64484:[[1744],256],64485:[[1744],256],64486:[[1744],256],64487:[[1744],256],64488:[[1609],256],64489:[[1609],256],64490:[[1574,1575],256],64491:[[1574,1575],256],64492:[[1574,1749],256],64493:[[1574,1749],256],64494:[[1574,1608],256],64495:[[1574,1608],256],64496:[[1574,1735],256],64497:[[1574,1735],256],64498:[[1574,1734],256],64499:[[1574,1734],256],64500:[[1574,1736],256],64501:[[1574,1736],256],64502:[[1574,1744],256],64503:[[1574,1744],256],64504:[[1574,1744],256],64505:[[1574,1609],256],64506:[[1574,1609],256],64507:[[1574,1609],256],64508:[[1740],256],64509:[[1740],256],64510:[[1740],256],64511:[[1740],256]},64512:{64512:[[1574,1580],256],64513:[[1574,1581],256],64514:[[1574,1605],256],64515:[[1574,1609],256],64516:[[1574,1610],256],64517:[[1576,1580],256],64518:[[1576,1581],256],64519:[[1576,1582],256],64520:[[1576,1605],256],64521:[[1576,1609],256],64522:[[1576,1610],256],64523:[[1578,1580],256],64524:[[1578,1581],256],64525:[[1578,1582],256],64526:[[1578,1605],256],64527:[[1578,1609],256],64528:[[1578,1610],256],64529:[[1579,1580],256],64530:[[1579,1605],256],64531:[[1579,1609],256],64532:[[1579,1610],256],64533:[[1580,1581],256],64534:[[1580,1605],256],64535:[[1581,1580],256],64536:[[1581,1605],256],64537:[[1582,1580],256],64538:[[1582,1581],256],64539:[[1582,1605],256],64540:[[1587,1580],256],64541:[[1587,1581],256],64542:[[1587,1582],256],64543:[[1587,1605],256],64544:[[1589,1581],256],64545:[[1589,1605],256],64546:[[1590,1580],256],64547:[[1590,1581],256],64548:[[1590,1582],256],64549:[[1590,1605],256],64550:[[1591,1581],256],64551:[[1591,1605],256],64552:[[1592,1605],256],64553:[[1593,1580],256],64554:[[1593,1605],256],64555:[[1594,1580],256],64556:[[1594,1605],256],64557:[[1601,1580],256],64558:[[1601,1581],256],64559:[[1601,1582],256],64560:[[1601,1605],256],64561:[[1601,1609],256],64562:[[1601,1610],256],64563:[[1602,1581],256],64564:[[1602,1605],256],64565:[[1602,1609],256],64566:[[1602,1610],256],64567:[[1603,1575],256],64568:[[1603,1580],256],64569:[[1603,1581],256],64570:[[1603,1582],256],64571:[[1603,1604],256],64572:[[1603,1605],256],64573:[[1603,1609],256],64574:[[1603,1610],256],64575:[[1604,1580],256],64576:[[1604,1581],256],64577:[[1604,1582],256],64578:[[1604,1605],256],64579:[[1604,1609],256],64580:[[1604,1610],256],64581:[[1605,1580],256],64582:[[1605,1581],256],64583:[[1605,1582],256],64584:[[1605,1605],256],64585:[[1605,1609],256],64586:[[1605,1610],256],64587:[[1606,1580],256],64588:[[1606,1581],256],64589:[[1606,1582],256],64590:[[1606,1605],256],64591:[[1606,1609],256],64592:[[1606,1610],256],64593:[[1607,1580],256],64594:[[1607,1605],256],64595:[[1607,1609],256],64596:[[1607,1610],256],64597:[[1610,1580],256],64598:[[1610,1581],256],64599:[[1610,1582],256],64600:[[1610,1605],256],64601:[[1610,1609],256],64602:[[1610,1610],256],64603:[[1584,1648],256],64604:[[1585,1648],256],64605:[[1609,1648],256],64606:[[32,1612,1617],256],64607:[[32,1613,1617],256],64608:[[32,1614,1617],256],64609:[[32,1615,1617],256],64610:[[32,1616,1617],256],64611:[[32,1617,1648],256],64612:[[1574,1585],256],64613:[[1574,1586],256],64614:[[1574,1605],256],64615:[[1574,1606],256],64616:[[1574,1609],256],64617:[[1574,1610],256],64618:[[1576,1585],256],64619:[[1576,1586],256],64620:[[1576,1605],256],64621:[[1576,1606],256],64622:[[1576,1609],256],64623:[[1576,1610],256],64624:[[1578,1585],256],64625:[[1578,1586],256],64626:[[1578,1605],256],64627:[[1578,1606],256],64628:[[1578,1609],256],64629:[[1578,1610],256],64630:[[1579,1585],256],64631:[[1579,1586],256],64632:[[1579,1605],256],64633:[[1579,1606],256],64634:[[1579,1609],256],64635:[[1579,1610],256],64636:[[1601,1609],256],64637:[[1601,1610],256],64638:[[1602,1609],256],64639:[[1602,1610],256],64640:[[1603,1575],256],64641:[[1603,1604],256],64642:[[1603,1605],256],64643:[[1603,1609],256],64644:[[1603,1610],256],64645:[[1604,1605],256],64646:[[1604,1609],256],64647:[[1604,1610],256],64648:[[1605,1575],256],64649:[[1605,1605],256],64650:[[1606,1585],256],64651:[[1606,1586],256],64652:[[1606,1605],256],64653:[[1606,1606],256],64654:[[1606,1609],256],64655:[[1606,1610],256],64656:[[1609,1648],256],64657:[[1610,1585],256],64658:[[1610,1586],256],64659:[[1610,1605],256],64660:[[1610,1606],256],64661:[[1610,1609],256],64662:[[1610,1610],256],64663:[[1574,1580],256],64664:[[1574,1581],256],64665:[[1574,1582],256],64666:[[1574,1605],256],64667:[[1574,1607],256],64668:[[1576,1580],256],64669:[[1576,1581],256],64670:[[1576,1582],256],64671:[[1576,1605],256],64672:[[1576,1607],256],64673:[[1578,1580],256],64674:[[1578,1581],256],64675:[[1578,1582],256],64676:[[1578,1605],256],64677:[[1578,1607],256],64678:[[1579,1605],256],64679:[[1580,1581],256],64680:[[1580,1605],256],64681:[[1581,1580],256],64682:[[1581,1605],256],64683:[[1582,1580],256],64684:[[1582,1605],256],64685:[[1587,1580],256],64686:[[1587,1581],256],64687:[[1587,1582],256],64688:[[1587,1605],256],64689:[[1589,1581],256],64690:[[1589,1582],256],64691:[[1589,1605],256],64692:[[1590,1580],256],64693:[[1590,1581],256],64694:[[1590,1582],256],64695:[[1590,1605],256],64696:[[1591,1581],256],64697:[[1592,1605],256],64698:[[1593,1580],256],64699:[[1593,1605],256],64700:[[1594,1580],256],64701:[[1594,1605],256],64702:[[1601,1580],256],64703:[[1601,1581],256],64704:[[1601,1582],256],64705:[[1601,1605],256],64706:[[1602,1581],256],64707:[[1602,1605],256],64708:[[1603,1580],256],64709:[[1603,1581],256],64710:[[1603,1582],256],64711:[[1603,1604],256],64712:[[1603,1605],256],64713:[[1604,1580],256],64714:[[1604,1581],256],64715:[[1604,1582],256],64716:[[1604,1605],256],64717:[[1604,1607],256],64718:[[1605,1580],256],64719:[[1605,1581],256],64720:[[1605,1582],256],64721:[[1605,1605],256],64722:[[1606,1580],256],64723:[[1606,1581],256],64724:[[1606,1582],256],64725:[[1606,1605],256],64726:[[1606,1607],256],64727:[[1607,1580],256],64728:[[1607,1605],256],64729:[[1607,1648],256],64730:[[1610,1580],256],64731:[[1610,1581],256],64732:[[1610,1582],256],64733:[[1610,1605],256],64734:[[1610,1607],256],64735:[[1574,1605],256],64736:[[1574,1607],256],64737:[[1576,1605],256],64738:[[1576,1607],256],64739:[[1578,1605],256],64740:[[1578,1607],256],64741:[[1579,1605],256],64742:[[1579,1607],256],64743:[[1587,1605],256],64744:[[1587,1607],256],64745:[[1588,1605],256],64746:[[1588,1607],256],64747:[[1603,1604],256],64748:[[1603,1605],256],64749:[[1604,1605],256],64750:[[1606,1605],256],64751:[[1606,1607],256],64752:[[1610,1605],256],64753:[[1610,1607],256],64754:[[1600,1614,1617],256],64755:[[1600,1615,1617],256],64756:[[1600,1616,1617],256],64757:[[1591,1609],256],64758:[[1591,1610],256],64759:[[1593,1609],256],64760:[[1593,1610],256],64761:[[1594,1609],256],64762:[[1594,1610],256],64763:[[1587,1609],256],64764:[[1587,1610],256],64765:[[1588,1609],256],64766:[[1588,1610],256],64767:[[1581,1609],256]},64768:{64768:[[1581,1610],256],64769:[[1580,1609],256],64770:[[1580,1610],256],64771:[[1582,1609],256],64772:[[1582,1610],256],64773:[[1589,1609],256],64774:[[1589,1610],256],64775:[[1590,1609],256],64776:[[1590,1610],256],64777:[[1588,1580],256],64778:[[1588,1581],256],64779:[[1588,1582],256],64780:[[1588,1605],256],64781:[[1588,1585],256],64782:[[1587,1585],256],64783:[[1589,1585],256],64784:[[1590,1585],256],64785:[[1591,1609],256],64786:[[1591,1610],256],64787:[[1593,1609],256],64788:[[1593,1610],256],64789:[[1594,1609],256],64790:[[1594,1610],256],64791:[[1587,1609],256],64792:[[1587,1610],256],64793:[[1588,1609],256],64794:[[1588,1610],256],64795:[[1581,1609],256],64796:[[1581,1610],256],64797:[[1580,1609],256],64798:[[1580,1610],256],64799:[[1582,1609],256],64800:[[1582,1610],256],64801:[[1589,1609],256],64802:[[1589,1610],256],64803:[[1590,1609],256],64804:[[1590,1610],256],64805:[[1588,1580],256],64806:[[1588,1581],256],64807:[[1588,1582],256],64808:[[1588,1605],256],64809:[[1588,1585],256],64810:[[1587,1585],256],64811:[[1589,1585],256],64812:[[1590,1585],256],64813:[[1588,1580],256],64814:[[1588,1581],256],64815:[[1588,1582],256],64816:[[1588,1605],256],64817:[[1587,1607],256],64818:[[1588,1607],256],64819:[[1591,1605],256],64820:[[1587,1580],256],64821:[[1587,1581],256],64822:[[1587,1582],256],64823:[[1588,1580],256],64824:[[1588,1581],256],64825:[[1588,1582],256],64826:[[1591,1605],256],64827:[[1592,1605],256],64828:[[1575,1611],256],64829:[[1575,1611],256],64848:[[1578,1580,1605],256],64849:[[1578,1581,1580],256],64850:[[1578,1581,1580],256],64851:[[1578,1581,1605],256],64852:[[1578,1582,1605],256],64853:[[1578,1605,1580],256],64854:[[1578,1605,1581],256],64855:[[1578,1605,1582],256],64856:[[1580,1605,1581],256],64857:[[1580,1605,1581],256],64858:[[1581,1605,1610],256],64859:[[1581,1605,1609],256],64860:[[1587,1581,1580],256],64861:[[1587,1580,1581],256],64862:[[1587,1580,1609],256],64863:[[1587,1605,1581],256],64864:[[1587,1605,1581],256],64865:[[1587,1605,1580],256],64866:[[1587,1605,1605],256],64867:[[1587,1605,1605],256],64868:[[1589,1581,1581],256],64869:[[1589,1581,1581],256],64870:[[1589,1605,1605],256],64871:[[1588,1581,1605],256],64872:[[1588,1581,1605],256],64873:[[1588,1580,1610],256],64874:[[1588,1605,1582],256],64875:[[1588,1605,1582],256],64876:[[1588,1605,1605],256],64877:[[1588,1605,1605],256],64878:[[1590,1581,1609],256],64879:[[1590,1582,1605],256],64880:[[1590,1582,1605],256],64881:[[1591,1605,1581],256],64882:[[1591,1605,1581],256],64883:[[1591,1605,1605],256],64884:[[1591,1605,1610],256],64885:[[1593,1580,1605],256],64886:[[1593,1605,1605],256],64887:[[1593,1605,1605],256],64888:[[1593,1605,1609],256],64889:[[1594,1605,1605],256],64890:[[1594,1605,1610],256],64891:[[1594,1605,1609],256],64892:[[1601,1582,1605],256],64893:[[1601,1582,1605],256],64894:[[1602,1605,1581],256],64895:[[1602,1605,1605],256],64896:[[1604,1581,1605],256],64897:[[1604,1581,1610],256],64898:[[1604,1581,1609],256],64899:[[1604,1580,1580],256],64900:[[1604,1580,1580],256],64901:[[1604,1582,1605],256],64902:[[1604,1582,1605],256],64903:[[1604,1605,1581],256],64904:[[1604,1605,1581],256],64905:[[1605,1581,1580],256],64906:[[1605,1581,1605],256],64907:[[1605,1581,1610],256],64908:[[1605,1580,1581],256],64909:[[1605,1580,1605],256],64910:[[1605,1582,1580],256],64911:[[1605,1582,1605],256],64914:[[1605,1580,1582],256],64915:[[1607,1605,1580],256],64916:[[1607,1605,1605],256],64917:[[1606,1581,1605],256],64918:[[1606,1581,1609],256],64919:[[1606,1580,1605],256],64920:[[1606,1580,1605],256],64921:[[1606,1580,1609],256],64922:[[1606,1605,1610],256],64923:[[1606,1605,1609],256],64924:[[1610,1605,1605],256],64925:[[1610,1605,1605],256],64926:[[1576,1582,1610],256],64927:[[1578,1580,1610],256],64928:[[1578,1580,1609],256],64929:[[1578,1582,1610],256],64930:[[1578,1582,1609],256],64931:[[1578,1605,1610],256],64932:[[1578,1605,1609],256],64933:[[1580,1605,1610],256],64934:[[1580,1581,1609],256],64935:[[1580,1605,1609],256],64936:[[1587,1582,1609],256],64937:[[1589,1581,1610],256],64938:[[1588,1581,1610],256],64939:[[1590,1581,1610],256],64940:[[1604,1580,1610],256],64941:[[1604,1605,1610],256],64942:[[1610,1581,1610],256],64943:[[1610,1580,1610],256],64944:[[1610,1605,1610],256],64945:[[1605,1605,1610],256],64946:[[1602,1605,1610],256],64947:[[1606,1581,1610],256],64948:[[1602,1605,1581],256],64949:[[1604,1581,1605],256],64950:[[1593,1605,1610],256],64951:[[1603,1605,1610],256],64952:[[1606,1580,1581],256],64953:[[1605,1582,1610],256],64954:[[1604,1580,1605],256],64955:[[1603,1605,1605],256],64956:[[1604,1580,1605],256],64957:[[1606,1580,1581],256],64958:[[1580,1581,1610],256],64959:[[1581,1580,1610],256],64960:[[1605,1580,1610],256],64961:[[1601,1605,1610],256],64962:[[1576,1581,1610],256],64963:[[1603,1605,1605],256],64964:[[1593,1580,1605],256],64965:[[1589,1605,1605],256],64966:[[1587,1582,1610],256],64967:[[1606,1580,1610],256],65008:[[1589,1604,1746],256],65009:[[1602,1604,1746],256],65010:[[1575,1604,1604,1607],256],65011:[[1575,1603,1576,1585],256],65012:[[1605,1581,1605,1583],256],65013:[[1589,1604,1593,1605],256],65014:[[1585,1587,1608,1604],256],65015:[[1593,1604,1610,1607],256],65016:[[1608,1587,1604,1605],256],65017:[[1589,1604,1609],256],65018:[[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605],256],65019:[[1580,1604,32,1580,1604,1575,1604,1607],256],65020:[[1585,1740,1575,1604],256]},65024:{65040:[[44],256],65041:[[12289],256],65042:[[12290],256],65043:[[58],256],65044:[[59],256],65045:[[33],256],65046:[[63],256],65047:[[12310],256],65048:[[12311],256],65049:[[8230],256],65056:[,230],65057:[,230],65058:[,230],65059:[,230],65060:[,230],65061:[,230],65062:[,230],65063:[,220],65064:[,220],65065:[,220],65066:[,220],65067:[,220],65068:[,220],65069:[,220],65072:[[8229],256],65073:[[8212],256],65074:[[8211],256],65075:[[95],256],65076:[[95],256],65077:[[40],256],65078:[[41],256],65079:[[123],256],65080:[[125],256],65081:[[12308],256],65082:[[12309],256],65083:[[12304],256],65084:[[12305],256],65085:[[12298],256],65086:[[12299],256],65087:[[12296],256],65088:[[12297],256],65089:[[12300],256],65090:[[12301],256],65091:[[12302],256],65092:[[12303],256],65095:[[91],256],65096:[[93],256],65097:[[8254],256],65098:[[8254],256],65099:[[8254],256],65100:[[8254],256],65101:[[95],256],65102:[[95],256],65103:[[95],256],65104:[[44],256],65105:[[12289],256],65106:[[46],256],65108:[[59],256],65109:[[58],256],65110:[[63],256],65111:[[33],256],65112:[[8212],256],65113:[[40],256],65114:[[41],256],65115:[[123],256],65116:[[125],256],65117:[[12308],256],65118:[[12309],256],65119:[[35],256],65120:[[38],256],65121:[[42],256],65122:[[43],256],65123:[[45],256],65124:[[60],256],65125:[[62],256],65126:[[61],256],65128:[[92],256],65129:[[36],256],65130:[[37],256],65131:[[64],256],65136:[[32,1611],256],65137:[[1600,1611],256],65138:[[32,1612],256],65140:[[32,1613],256],65142:[[32,1614],256],65143:[[1600,1614],256],65144:[[32,1615],256],65145:[[1600,1615],256],65146:[[32,1616],256],65147:[[1600,1616],256],65148:[[32,1617],256],65149:[[1600,1617],256],65150:[[32,1618],256],65151:[[1600,1618],256],65152:[[1569],256],65153:[[1570],256],65154:[[1570],256],65155:[[1571],256],65156:[[1571],256],65157:[[1572],256],65158:[[1572],256],65159:[[1573],256],65160:[[1573],256],65161:[[1574],256],65162:[[1574],256],65163:[[1574],256],65164:[[1574],256],65165:[[1575],256],65166:[[1575],256],65167:[[1576],256],65168:[[1576],256],65169:[[1576],256],65170:[[1576],256],65171:[[1577],256],65172:[[1577],256],65173:[[1578],256],65174:[[1578],256],65175:[[1578],256],65176:[[1578],256],65177:[[1579],256],65178:[[1579],256],65179:[[1579],256],65180:[[1579],256],65181:[[1580],256],65182:[[1580],256],65183:[[1580],256],65184:[[1580],256],65185:[[1581],256],65186:[[1581],256],65187:[[1581],256],65188:[[1581],256],65189:[[1582],256],65190:[[1582],256],65191:[[1582],256],65192:[[1582],256],65193:[[1583],256],65194:[[1583],256],65195:[[1584],256],65196:[[1584],256],65197:[[1585],256],65198:[[1585],256],65199:[[1586],256],65200:[[1586],256],65201:[[1587],256],65202:[[1587],256],65203:[[1587],256],65204:[[1587],256],65205:[[1588],256],65206:[[1588],256],65207:[[1588],256],65208:[[1588],256],65209:[[1589],256],65210:[[1589],256],65211:[[1589],256],65212:[[1589],256],65213:[[1590],256],65214:[[1590],256],65215:[[1590],256],65216:[[1590],256],65217:[[1591],256],65218:[[1591],256],65219:[[1591],256],65220:[[1591],256],65221:[[1592],256],65222:[[1592],256],65223:[[1592],256],65224:[[1592],256],65225:[[1593],256],65226:[[1593],256],65227:[[1593],256],65228:[[1593],256],65229:[[1594],256],65230:[[1594],256],65231:[[1594],256],65232:[[1594],256],65233:[[1601],256],65234:[[1601],256],65235:[[1601],256],65236:[[1601],256],65237:[[1602],256],65238:[[1602],256],65239:[[1602],256],65240:[[1602],256],65241:[[1603],256],65242:[[1603],256],65243:[[1603],256],65244:[[1603],256],65245:[[1604],256],65246:[[1604],256],65247:[[1604],256],65248:[[1604],256],65249:[[1605],256],65250:[[1605],256],65251:[[1605],256],65252:[[1605],256],65253:[[1606],256],65254:[[1606],256],65255:[[1606],256],65256:[[1606],256],65257:[[1607],256],65258:[[1607],256],65259:[[1607],256],65260:[[1607],256],65261:[[1608],256],65262:[[1608],256],65263:[[1609],256],65264:[[1609],256],65265:[[1610],256],65266:[[1610],256],65267:[[1610],256],65268:[[1610],256],65269:[[1604,1570],256],65270:[[1604,1570],256],65271:[[1604,1571],256],65272:[[1604,1571],256],65273:[[1604,1573],256],65274:[[1604,1573],256],65275:[[1604,1575],256],65276:[[1604,1575],256]},65280:{65281:[[33],256],65282:[[34],256],65283:[[35],256],65284:[[36],256],65285:[[37],256],65286:[[38],256],65287:[[39],256],65288:[[40],256],65289:[[41],256],65290:[[42],256],65291:[[43],256],65292:[[44],256],65293:[[45],256],65294:[[46],256],65295:[[47],256],65296:[[48],256],65297:[[49],256],65298:[[50],256],65299:[[51],256],65300:[[52],256],65301:[[53],256],65302:[[54],256],65303:[[55],256],65304:[[56],256],65305:[[57],256],65306:[[58],256],65307:[[59],256],65308:[[60],256],65309:[[61],256],65310:[[62],256],65311:[[63],256],65312:[[64],256],65313:[[65],256],65314:[[66],256],65315:[[67],256],65316:[[68],256],65317:[[69],256],65318:[[70],256],65319:[[71],256],65320:[[72],256],65321:[[73],256],65322:[[74],256],65323:[[75],256],65324:[[76],256],65325:[[77],256],65326:[[78],256],65327:[[79],256],65328:[[80],256],65329:[[81],256],65330:[[82],256],65331:[[83],256],65332:[[84],256],65333:[[85],256],65334:[[86],256],65335:[[87],256],65336:[[88],256],65337:[[89],256],65338:[[90],256],65339:[[91],256],65340:[[92],256],65341:[[93],256],65342:[[94],256],65343:[[95],256],65344:[[96],256],65345:[[97],256],65346:[[98],256],65347:[[99],256],65348:[[100],256],65349:[[101],256],65350:[[102],256],65351:[[103],256],65352:[[104],256],65353:[[105],256],65354:[[106],256],65355:[[107],256],65356:[[108],256],65357:[[109],256],65358:[[110],256],65359:[[111],256],65360:[[112],256],65361:[[113],256],65362:[[114],256],65363:[[115],256],65364:[[116],256],65365:[[117],256],65366:[[118],256],65367:[[119],256],65368:[[120],256],65369:[[121],256],65370:[[122],256],65371:[[123],256],65372:[[124],256],65373:[[125],256],65374:[[126],256],65375:[[10629],256],65376:[[10630],256],65377:[[12290],256],65378:[[12300],256],65379:[[12301],256],65380:[[12289],256],65381:[[12539],256],65382:[[12530],256],65383:[[12449],256],65384:[[12451],256],65385:[[12453],256],65386:[[12455],256],65387:[[12457],256],65388:[[12515],256],65389:[[12517],256],65390:[[12519],256],65391:[[12483],256],65392:[[12540],256],65393:[[12450],256],65394:[[12452],256],65395:[[12454],256],65396:[[12456],256],65397:[[12458],256],65398:[[12459],256],65399:[[12461],256],65400:[[12463],256],65401:[[12465],256],65402:[[12467],256],65403:[[12469],256],65404:[[12471],256],65405:[[12473],256],65406:[[12475],256],65407:[[12477],256],65408:[[12479],256],65409:[[12481],256],65410:[[12484],256],65411:[[12486],256],65412:[[12488],256],65413:[[12490],256],65414:[[12491],256],65415:[[12492],256],65416:[[12493],256],65417:[[12494],256],65418:[[12495],256],65419:[[12498],256],65420:[[12501],256],65421:[[12504],256],65422:[[12507],256],65423:[[12510],256],65424:[[12511],256],65425:[[12512],256],65426:[[12513],256],65427:[[12514],256],65428:[[12516],256],65429:[[12518],256],65430:[[12520],256],65431:[[12521],256],65432:[[12522],256],65433:[[12523],256],65434:[[12524],256],65435:[[12525],256],65436:[[12527],256],65437:[[12531],256],65438:[[12441],256],65439:[[12442],256],65440:[[12644],256],65441:[[12593],256],65442:[[12594],256],65443:[[12595],256],65444:[[12596],256],65445:[[12597],256],65446:[[12598],256],65447:[[12599],256],65448:[[12600],256],65449:[[12601],256],65450:[[12602],256],65451:[[12603],256],65452:[[12604],256],65453:[[12605],256],65454:[[12606],256],65455:[[12607],256],65456:[[12608],256],65457:[[12609],256],65458:[[12610],256],65459:[[12611],256],65460:[[12612],256],65461:[[12613],256],65462:[[12614],256],65463:[[12615],256],65464:[[12616],256],65465:[[12617],256],65466:[[12618],256],65467:[[12619],256],65468:[[12620],256],65469:[[12621],256],65470:[[12622],256],65474:[[12623],256],65475:[[12624],256],65476:[[12625],256],65477:[[12626],256],65478:[[12627],256],65479:[[12628],256],65482:[[12629],256],65483:[[12630],256],65484:[[12631],256],65485:[[12632],256],65486:[[12633],256],65487:[[12634],256],65490:[[12635],256],65491:[[12636],256],65492:[[12637],256],65493:[[12638],256],65494:[[12639],256],65495:[[12640],256],65498:[[12641],256],65499:[[12642],256],65500:[[12643],256],65504:[[162],256],65505:[[163],256],65506:[[172],256],65507:[[175],256],65508:[[166],256],65509:[[165],256],65510:[[8361],256],65512:[[9474],256],65513:[[8592],256],65514:[[8593],256],65515:[[8594],256],65516:[[8595],256],65517:[[9632],256],65518:[[9675],256]}};var w={nfc:function(e){return Q("NFC",e)},nfd:function(e){return Q("NFD",e)},nfkc:function(e){return Q("NFKC",e)},nfkd:function(e){return Q("NFKD",e)}};e.exports=w,w.shimApplied=!1,String.prototype.normalize||(Object.defineProperty(String.prototype,"normalize",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=""+this,t=void 0===arguments[0]?"NFC":arguments[0];if(null==this)throw new TypeError("Cannot call method on "+Object.prototype.toString.call(this));if("NFC"===t)return w.nfc(e);if("NFD"===t)return w.nfd(e);if("NFKC"===t)return w.nfkc(e);if("NFKD"===t)return w.nfkd(e);throw new RangeError("Invalid normalization form: "+t)}}),w.shimApplied=!0)}()},function(e){e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","这","中","大","为","上","个","国","我","以","要","他","时","来","用","们","生","到","作","地","于","出","就","分","对","成","会","可","主","发","年","动","同","工","也","能","下","过","子","说","产","种","面","而","方","后","多","定","行","学","法","所","民","得","经","十","三","之","进","着","等","部","度","家","电","力","里","如","水","化","高","自","二","理","起","小","物","现","实","加","量","都","两","体","制","机","当","使","点","从","业","本","去","把","性","好","应","开","它","合","还","因","由","其","些","然","前","外","天","政","四","日","那","社","义","事","平","形","相","全","表","间","样","与","关","各","重","新","线","内","数","正","心","反","你","明","看","原","又","么","利","比","或","但","质","气","第","向","道","命","此","变","条","只","没","结","解","问","意","建","月","公","无","系","军","很","情","者","最","立","代","想","已","通","并","提","直","题","党","程","展","五","果","料","象","员","革","位","入","常","文","总","次","品","式","活","设","及","管","特","件","长","求","老","头","基","资","边","流","路","级","少","图","山","统","接","知","较","将","组","见","计","别","她","手","角","期","根","论","运","农","指","几","九","区","强","放","决","西","被","干","做","必","战","先","回","则","任","取","据","处","队","南","给","色","光","门","即","保","治","北","造","百","规","热","领","七","海","口","东","导","器","压","志","世","金","增","争","济","阶","油","思","术","极","交","受","联","什","认","六","共","权","收","证","改","清","美","再","采","转","更","单","风","切","打","白","教","速","花","带","安","场","身","车","例","真","务","具","万","每","目","至","达","走","积","示","议","声","报","斗","完","类","八","离","华","名","确","才","科","张","信","马","节","话","米","整","空","元","况","今","集","温","传","土","许","步","群","广","石","记","需","段","研","界","拉","林","律","叫","且","究","观","越","织","装","影","算","低","持","音","众","书","布","复","容","儿","须","际","商","非","验","连","断","深","难","近","矿","千","周","委","素","技","备","半","办","青","省","列","习","响","约","支","般","史","感","劳","便","团","往","酸","历","市","克","何","除","消","构","府","称","太","准","精","值","号","率","族","维","划","选","标","写","存","候","毛","亲","快","效","斯","院","查","江","型","眼","王","按","格","养","易","置","派","层","片","始","却","专","状","育","厂","京","识","适","属","圆","包","火","住","调","满","县","局","照","参","红","细","引","听","该","铁","价","严","首","底","液","官","德","随","病","苏","失","尔","死","讲","配","女","黄","推","显","谈","罪","神","艺","呢","席","含","企","望","密","批","营","项","防","举","球","英","氧","势","告","李","台","落","木","帮","轮","破","亚","师","围","注","远","字","材","排","供","河","态","封","另","施","减","树","溶","怎","止","案","言","士","均","武","固","叶","鱼","波","视","仅","费","紧","爱","左","章","早","朝","害","续","轻","服","试","食","充","兵","源","判","护","司","足","某","练","差","致","板","田","降","黑","犯","负","击","范","继","兴","似","余","坚","曲","输","修","故","城","夫","够","送","笔","船","占","右","财","吃","富","春","职","觉","汉","画","功","巴","跟","虽","杂","飞","检","吸","助","升","阳","互","初","创","抗","考","投","坏","策","古","径","换","未","跑","留","钢","曾","端","责","站","简","述","钱","副","尽","帝","射","草","冲","承","独","令","限","阿","宣","环","双","请","超","微","让","控","州","良","轴","找","否","纪","益","依","优","顶","础","载","倒","房","突","坐","粉","敌","略","客","袁","冷","胜","绝","析","块","剂","测","丝","协","诉","念","陈","仍","罗","盐","友","洋","错","苦","夜","刑","移","频","逐","靠","混","母","短","皮","终","聚","汽","村","云","哪","既","距","卫","停","烈","央","察","烧","迅","境","若","印","洲","刻","括","激","孔","搞","甚","室","待","核","校","散","侵","吧","甲","游","久","菜","味","旧","模","湖","货","损","预","阻","毫","普","稳","乙","妈","植","息","扩","银","语","挥","酒","守","拿","序","纸","医","缺","雨","吗","针","刘","啊","急","唱","误","训","愿","审","附","获","茶","鲜","粮","斤","孩","脱","硫","肥","善","龙","演","父","渐","血","欢","械","掌","歌","沙","刚","攻","谓","盾","讨","晚","粒","乱","燃","矛","乎","杀","药","宁","鲁","贵","钟","煤","读","班","伯","香","介","迫","句","丰","培","握","兰","担","弦","蛋","沉","假","穿","执","答","乐","谁","顺","烟","缩","征","脸","喜","松","脚","困","异","免","背","星","福","买","染","井","概","慢","怕","磁","倍","祖","皇","促","静","补","评","翻","肉","践","尼","衣","宽","扬","棉","希","伤","操","垂","秋","宜","氢","套","督","振","架","亮","末","宪","庆","编","牛","触","映","雷","销","诗","座","居","抓","裂","胞","呼","娘","景","威","绿","晶","厚","盟","衡","鸡","孙","延","危","胶","屋","乡","临","陆","顾","掉","呀","灯","岁","措","束","耐","剧","玉","赵","跳","哥","季","课","凯","胡","额","款","绍","卷","齐","伟","蒸","殖","永","宗","苗","川","炉","岩","弱","零","杨","奏","沿","露","杆","探","滑","镇","饭","浓","航","怀","赶","库","夺","伊","灵","税","途","灭","赛","归","召","鼓","播","盘","裁","险","康","唯","录","菌","纯","借","糖","盖","横","符","私","努","堂","域","枪","润","幅","哈","竟","熟","虫","泽","脑","壤","碳","欧","遍","侧","寨","敢","彻","虑","斜","薄","庭","纳","弹","饲","伸","折","麦","湿","暗","荷","瓦","塞","床","筑","恶","户","访","塔","奇","透","梁","刀","旋","迹","卡","氯","遇","份","毒","泥","退","洗","摆","灰","彩","卖","耗","夏","择","忙","铜","献","硬","予","繁","圈","雪","函","亦","抽","篇","阵","阴","丁","尺","追","堆","雄","迎","泛","爸","楼","避","谋","吨","野","猪","旗","累","偏","典","馆","索","秦","脂","潮","爷","豆","忽","托","惊","塑","遗","愈","朱","替","纤","粗","倾","尚","痛","楚","谢","奋","购","磨","君","池","旁","碎","骨","监","捕","弟","暴","割","贯","殊","释","词","亡","壁","顿","宝","午","尘","闻","揭","炮","残","冬","桥","妇","警","综","招","吴","付","浮","遭","徐","您","摇","谷","赞","箱","隔","订","男","吹","园","纷","唐","败","宋","玻","巨","耕","坦","荣","闭","湾","键","凡","驻","锅","救","恩","剥","凝","碱","齿","截","炼","麻","纺","禁","废","盛","版","缓","净","睛","昌","婚","涉","筒","嘴","插","岸","朗","庄","街","藏","姑","贸","腐","奴","啦","惯","乘","伙","恢","匀","纱","扎","辩","耳","彪","臣","亿","璃","抵","脉","秀","萨","俄","网","舞","店","喷","纵","寸","汗","挂","洪","贺","闪","柬","爆","烯","津","稻","墙","软","勇","像","滚","厘","蒙","芳","肯","坡","柱","荡","腿","仪","旅","尾","轧","冰","贡","登","黎","削","钻","勒","逃","障","氨","郭","峰","币","港","伏","轨","亩","毕","擦","莫","刺","浪","秘","援","株","健","售","股","岛","甘","泡","睡","童","铸","汤","阀","休","汇","舍","牧","绕","炸","哲","磷","绩","朋","淡","尖","启","陷","柴","呈","徒","颜","泪","稍","忘","泵","蓝","拖","洞","授","镜","辛","壮","锋","贫","虚","弯","摩","泰","幼","廷","尊","窗","纲","弄","隶","疑","氏","宫","姐","震","瑞","怪","尤","琴","循","描","膜","违","夹","腰","缘","珠","穷","森","枝","竹","沟","催","绳","忆","邦","剩","幸","浆","栏","拥","牙","贮","礼","滤","钠","纹","罢","拍","咱","喊","袖","埃","勤","罚","焦","潜","伍","墨","欲","缝","姓","刊","饱","仿","奖","铝","鬼","丽","跨","默","挖","链","扫","喝","袋","炭","污","幕","诸","弧","励","梅","奶","洁","灾","舟","鉴","苯","讼","抱","毁","懂","寒","智","埔","寄","届","跃","渡","挑","丹","艰","贝","碰","拔","爹","戴","码","梦","芽","熔","赤","渔","哭","敬","颗","奔","铅","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","仓","魏","锐","晓","氮","兼","隐","碍","赫","拨","忠","肃","缸","牵","抢","博","巧","壳","兄","杜","讯","诚","碧","祥","柯","页","巡","矩","悲","灌","龄","伦","票","寻","桂","铺","圣","恐","恰","郑","趣","抬","荒","腾","贴","柔","滴","猛","阔","辆","妻","填","撤","储","签","闹","扰","紫","砂","递","戏","吊","陶","伐","喂","疗","瓶","婆","抚","臂","摸","忍","虾","蜡","邻","胸","巩","挤","偶","弃","槽","劲","乳","邓","吉","仁","烂","砖","租","乌","舰","伴","瓜","浅","丙","暂","燥","橡","柳","迷","暖","牌","秧","胆","详","簧","踏","瓷","谱","呆","宾","糊","洛","辉","愤","竞","隙","怒","粘","乃","绪","肩","籍","敏","涂","熙","皆","侦","悬","掘","享","纠","醒","狂","锁","淀","恨","牲","霸","爬","赏","逆","玩","陵","祝","秒","浙","貌","役","彼","悉","鸭","趋","凤","晨","畜","辈","秩","卵","署","梯","炎","滩","棋","驱","筛","峡","冒","啥","寿","译","浸","泉","帽","迟","硅","疆","贷","漏","稿","冠","嫩","胁","芯","牢","叛","蚀","奥","鸣","岭","羊","凭","串","塘","绘","酵","融","盆","锡","庙","筹","冻","辅","摄","袭","筋","拒","僚","旱","钾","鸟","漆","沈","眉","疏","添","棒","穗","硝","韩","逼","扭","侨","凉","挺","碗","栽","炒","杯","患","馏","劝","豪","辽","勃","鸿","旦","吏","拜","狗","埋","辊","掩","饮","搬","骂","辞","勾","扣","估","蒋","绒","雾","丈","朵","姆","拟","宇","辑","陕","雕","偿","蓄","崇","剪","倡","厅","咬","驶","薯","刷","斥","番","赋","奉","佛","浇","漫","曼","扇","钙","桃","扶","仔","返","俗","亏","腔","鞋","棱","覆","框","悄","叔","撞","骗","勘","旺","沸","孤","吐","孟","渠","屈","疾","妙","惜","仰","狠","胀","谐","抛","霉","桑","岗","嘛","衰","盗","渗","脏","赖","涌","甜","曹","阅","肌","哩","厉","烃","纬","毅","昨","伪","症","煮","叹","钉","搭","茎","笼","酷","偷","弓","锥","恒","杰","坑","鼻","翼","纶","叙","狱","逮","罐","络","棚","抑","膨","蔬","寺","骤","穆","冶","枯","册","尸","凸","绅","坯","牺","焰","轰","欣","晋","瘦","御","锭","锦","丧","旬","锻","垄","搜","扑","邀","亭","酯","迈","舒","脆","酶","闲","忧","酚","顽","羽","涨","卸","仗","陪","辟","惩","杭","姚","肚","捉","飘","漂","昆","欺","吾","郎","烷","汁","呵","饰","萧","雅","邮","迁","燕","撒","姻","赴","宴","烦","债","帐","斑","铃","旨","醇","董","饼","雏","姿","拌","傅","腹","妥","揉","贤","拆","歪","葡","胺","丢","浩","徽","昂","垫","挡","览","贪","慰","缴","汪","慌","冯","诺","姜","谊","凶","劣","诬","耀","昏","躺","盈","骑","乔","溪","丛","卢","抹","闷","咨","刮","驾","缆","悟","摘","铒","掷","颇","幻","柄","惠","惨","佳","仇","腊","窝","涤","剑","瞧","堡","泼","葱","罩","霍","捞","胎","苍","滨","俩","捅","湘","砍","霞","邵","萄","疯","淮","遂","熊","粪","烘","宿","档","戈","驳","嫂","裕","徙","箭","捐","肠","撑","晒","辨","殿","莲","摊","搅","酱","屏","疫","哀","蔡","堵","沫","皱","畅","叠","阁","莱","敲","辖","钩","痕","坝","巷","饿","祸","丘","玄","溜","曰","逻","彭","尝","卿","妨","艇","吞","韦","怨","矮","歇"]')},function(e){e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","這","中","大","為","上","個","國","我","以","要","他","時","來","用","們","生","到","作","地","於","出","就","分","對","成","會","可","主","發","年","動","同","工","也","能","下","過","子","說","產","種","面","而","方","後","多","定","行","學","法","所","民","得","經","十","三","之","進","著","等","部","度","家","電","力","裡","如","水","化","高","自","二","理","起","小","物","現","實","加","量","都","兩","體","制","機","當","使","點","從","業","本","去","把","性","好","應","開","它","合","還","因","由","其","些","然","前","外","天","政","四","日","那","社","義","事","平","形","相","全","表","間","樣","與","關","各","重","新","線","內","數","正","心","反","你","明","看","原","又","麼","利","比","或","但","質","氣","第","向","道","命","此","變","條","只","沒","結","解","問","意","建","月","公","無","系","軍","很","情","者","最","立","代","想","已","通","並","提","直","題","黨","程","展","五","果","料","象","員","革","位","入","常","文","總","次","品","式","活","設","及","管","特","件","長","求","老","頭","基","資","邊","流","路","級","少","圖","山","統","接","知","較","將","組","見","計","別","她","手","角","期","根","論","運","農","指","幾","九","區","強","放","決","西","被","幹","做","必","戰","先","回","則","任","取","據","處","隊","南","給","色","光","門","即","保","治","北","造","百","規","熱","領","七","海","口","東","導","器","壓","志","世","金","增","爭","濟","階","油","思","術","極","交","受","聯","什","認","六","共","權","收","證","改","清","美","再","採","轉","更","單","風","切","打","白","教","速","花","帶","安","場","身","車","例","真","務","具","萬","每","目","至","達","走","積","示","議","聲","報","鬥","完","類","八","離","華","名","確","才","科","張","信","馬","節","話","米","整","空","元","況","今","集","溫","傳","土","許","步","群","廣","石","記","需","段","研","界","拉","林","律","叫","且","究","觀","越","織","裝","影","算","低","持","音","眾","書","布","复","容","兒","須","際","商","非","驗","連","斷","深","難","近","礦","千","週","委","素","技","備","半","辦","青","省","列","習","響","約","支","般","史","感","勞","便","團","往","酸","歷","市","克","何","除","消","構","府","稱","太","準","精","值","號","率","族","維","劃","選","標","寫","存","候","毛","親","快","效","斯","院","查","江","型","眼","王","按","格","養","易","置","派","層","片","始","卻","專","狀","育","廠","京","識","適","屬","圓","包","火","住","調","滿","縣","局","照","參","紅","細","引","聽","該","鐵","價","嚴","首","底","液","官","德","隨","病","蘇","失","爾","死","講","配","女","黃","推","顯","談","罪","神","藝","呢","席","含","企","望","密","批","營","項","防","舉","球","英","氧","勢","告","李","台","落","木","幫","輪","破","亞","師","圍","注","遠","字","材","排","供","河","態","封","另","施","減","樹","溶","怎","止","案","言","士","均","武","固","葉","魚","波","視","僅","費","緊","愛","左","章","早","朝","害","續","輕","服","試","食","充","兵","源","判","護","司","足","某","練","差","致","板","田","降","黑","犯","負","擊","范","繼","興","似","餘","堅","曲","輸","修","故","城","夫","夠","送","筆","船","佔","右","財","吃","富","春","職","覺","漢","畫","功","巴","跟","雖","雜","飛","檢","吸","助","昇","陽","互","初","創","抗","考","投","壞","策","古","徑","換","未","跑","留","鋼","曾","端","責","站","簡","述","錢","副","盡","帝","射","草","衝","承","獨","令","限","阿","宣","環","雙","請","超","微","讓","控","州","良","軸","找","否","紀","益","依","優","頂","礎","載","倒","房","突","坐","粉","敵","略","客","袁","冷","勝","絕","析","塊","劑","測","絲","協","訴","念","陳","仍","羅","鹽","友","洋","錯","苦","夜","刑","移","頻","逐","靠","混","母","短","皮","終","聚","汽","村","雲","哪","既","距","衛","停","烈","央","察","燒","迅","境","若","印","洲","刻","括","激","孔","搞","甚","室","待","核","校","散","侵","吧","甲","遊","久","菜","味","舊","模","湖","貨","損","預","阻","毫","普","穩","乙","媽","植","息","擴","銀","語","揮","酒","守","拿","序","紙","醫","缺","雨","嗎","針","劉","啊","急","唱","誤","訓","願","審","附","獲","茶","鮮","糧","斤","孩","脫","硫","肥","善","龍","演","父","漸","血","歡","械","掌","歌","沙","剛","攻","謂","盾","討","晚","粒","亂","燃","矛","乎","殺","藥","寧","魯","貴","鐘","煤","讀","班","伯","香","介","迫","句","豐","培","握","蘭","擔","弦","蛋","沉","假","穿","執","答","樂","誰","順","煙","縮","徵","臉","喜","松","腳","困","異","免","背","星","福","買","染","井","概","慢","怕","磁","倍","祖","皇","促","靜","補","評","翻","肉","踐","尼","衣","寬","揚","棉","希","傷","操","垂","秋","宜","氫","套","督","振","架","亮","末","憲","慶","編","牛","觸","映","雷","銷","詩","座","居","抓","裂","胞","呼","娘","景","威","綠","晶","厚","盟","衡","雞","孫","延","危","膠","屋","鄉","臨","陸","顧","掉","呀","燈","歲","措","束","耐","劇","玉","趙","跳","哥","季","課","凱","胡","額","款","紹","卷","齊","偉","蒸","殖","永","宗","苗","川","爐","岩","弱","零","楊","奏","沿","露","桿","探","滑","鎮","飯","濃","航","懷","趕","庫","奪","伊","靈","稅","途","滅","賽","歸","召","鼓","播","盤","裁","險","康","唯","錄","菌","純","借","糖","蓋","橫","符","私","努","堂","域","槍","潤","幅","哈","竟","熟","蟲","澤","腦","壤","碳","歐","遍","側","寨","敢","徹","慮","斜","薄","庭","納","彈","飼","伸","折","麥","濕","暗","荷","瓦","塞","床","築","惡","戶","訪","塔","奇","透","梁","刀","旋","跡","卡","氯","遇","份","毒","泥","退","洗","擺","灰","彩","賣","耗","夏","擇","忙","銅","獻","硬","予","繁","圈","雪","函","亦","抽","篇","陣","陰","丁","尺","追","堆","雄","迎","泛","爸","樓","避","謀","噸","野","豬","旗","累","偏","典","館","索","秦","脂","潮","爺","豆","忽","托","驚","塑","遺","愈","朱","替","纖","粗","傾","尚","痛","楚","謝","奮","購","磨","君","池","旁","碎","骨","監","捕","弟","暴","割","貫","殊","釋","詞","亡","壁","頓","寶","午","塵","聞","揭","炮","殘","冬","橋","婦","警","綜","招","吳","付","浮","遭","徐","您","搖","谷","贊","箱","隔","訂","男","吹","園","紛","唐","敗","宋","玻","巨","耕","坦","榮","閉","灣","鍵","凡","駐","鍋","救","恩","剝","凝","鹼","齒","截","煉","麻","紡","禁","廢","盛","版","緩","淨","睛","昌","婚","涉","筒","嘴","插","岸","朗","莊","街","藏","姑","貿","腐","奴","啦","慣","乘","夥","恢","勻","紗","扎","辯","耳","彪","臣","億","璃","抵","脈","秀","薩","俄","網","舞","店","噴","縱","寸","汗","掛","洪","賀","閃","柬","爆","烯","津","稻","牆","軟","勇","像","滾","厘","蒙","芳","肯","坡","柱","盪","腿","儀","旅","尾","軋","冰","貢","登","黎","削","鑽","勒","逃","障","氨","郭","峰","幣","港","伏","軌","畝","畢","擦","莫","刺","浪","秘","援","株","健","售","股","島","甘","泡","睡","童","鑄","湯","閥","休","匯","舍","牧","繞","炸","哲","磷","績","朋","淡","尖","啟","陷","柴","呈","徒","顏","淚","稍","忘","泵","藍","拖","洞","授","鏡","辛","壯","鋒","貧","虛","彎","摩","泰","幼","廷","尊","窗","綱","弄","隸","疑","氏","宮","姐","震","瑞","怪","尤","琴","循","描","膜","違","夾","腰","緣","珠","窮","森","枝","竹","溝","催","繩","憶","邦","剩","幸","漿","欄","擁","牙","貯","禮","濾","鈉","紋","罷","拍","咱","喊","袖","埃","勤","罰","焦","潛","伍","墨","欲","縫","姓","刊","飽","仿","獎","鋁","鬼","麗","跨","默","挖","鏈","掃","喝","袋","炭","污","幕","諸","弧","勵","梅","奶","潔","災","舟","鑑","苯","訟","抱","毀","懂","寒","智","埔","寄","屆","躍","渡","挑","丹","艱","貝","碰","拔","爹","戴","碼","夢","芽","熔","赤","漁","哭","敬","顆","奔","鉛","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","倉","魏","銳","曉","氮","兼","隱","礙","赫","撥","忠","肅","缸","牽","搶","博","巧","殼","兄","杜","訊","誠","碧","祥","柯","頁","巡","矩","悲","灌","齡","倫","票","尋","桂","鋪","聖","恐","恰","鄭","趣","抬","荒","騰","貼","柔","滴","猛","闊","輛","妻","填","撤","儲","簽","鬧","擾","紫","砂","遞","戲","吊","陶","伐","餵","療","瓶","婆","撫","臂","摸","忍","蝦","蠟","鄰","胸","鞏","擠","偶","棄","槽","勁","乳","鄧","吉","仁","爛","磚","租","烏","艦","伴","瓜","淺","丙","暫","燥","橡","柳","迷","暖","牌","秧","膽","詳","簧","踏","瓷","譜","呆","賓","糊","洛","輝","憤","競","隙","怒","粘","乃","緒","肩","籍","敏","塗","熙","皆","偵","懸","掘","享","糾","醒","狂","鎖","淀","恨","牲","霸","爬","賞","逆","玩","陵","祝","秒","浙","貌","役","彼","悉","鴨","趨","鳳","晨","畜","輩","秩","卵","署","梯","炎","灘","棋","驅","篩","峽","冒","啥","壽","譯","浸","泉","帽","遲","矽","疆","貸","漏","稿","冠","嫩","脅","芯","牢","叛","蝕","奧","鳴","嶺","羊","憑","串","塘","繪","酵","融","盆","錫","廟","籌","凍","輔","攝","襲","筋","拒","僚","旱","鉀","鳥","漆","沈","眉","疏","添","棒","穗","硝","韓","逼","扭","僑","涼","挺","碗","栽","炒","杯","患","餾","勸","豪","遼","勃","鴻","旦","吏","拜","狗","埋","輥","掩","飲","搬","罵","辭","勾","扣","估","蔣","絨","霧","丈","朵","姆","擬","宇","輯","陝","雕","償","蓄","崇","剪","倡","廳","咬","駛","薯","刷","斥","番","賦","奉","佛","澆","漫","曼","扇","鈣","桃","扶","仔","返","俗","虧","腔","鞋","棱","覆","框","悄","叔","撞","騙","勘","旺","沸","孤","吐","孟","渠","屈","疾","妙","惜","仰","狠","脹","諧","拋","黴","桑","崗","嘛","衰","盜","滲","臟","賴","湧","甜","曹","閱","肌","哩","厲","烴","緯","毅","昨","偽","症","煮","嘆","釘","搭","莖","籠","酷","偷","弓","錐","恆","傑","坑","鼻","翼","綸","敘","獄","逮","罐","絡","棚","抑","膨","蔬","寺","驟","穆","冶","枯","冊","屍","凸","紳","坯","犧","焰","轟","欣","晉","瘦","禦","錠","錦","喪","旬","鍛","壟","搜","撲","邀","亭","酯","邁","舒","脆","酶","閒","憂","酚","頑","羽","漲","卸","仗","陪","闢","懲","杭","姚","肚","捉","飄","漂","昆","欺","吾","郎","烷","汁","呵","飾","蕭","雅","郵","遷","燕","撒","姻","赴","宴","煩","債","帳","斑","鈴","旨","醇","董","餅","雛","姿","拌","傅","腹","妥","揉","賢","拆","歪","葡","胺","丟","浩","徽","昂","墊","擋","覽","貪","慰","繳","汪","慌","馮","諾","姜","誼","兇","劣","誣","耀","昏","躺","盈","騎","喬","溪","叢","盧","抹","悶","諮","刮","駕","纜","悟","摘","鉺","擲","頗","幻","柄","惠","慘","佳","仇","臘","窩","滌","劍","瞧","堡","潑","蔥","罩","霍","撈","胎","蒼","濱","倆","捅","湘","砍","霞","邵","萄","瘋","淮","遂","熊","糞","烘","宿","檔","戈","駁","嫂","裕","徙","箭","捐","腸","撐","曬","辨","殿","蓮","攤","攪","醬","屏","疫","哀","蔡","堵","沫","皺","暢","疊","閣","萊","敲","轄","鉤","痕","壩","巷","餓","禍","丘","玄","溜","曰","邏","彭","嘗","卿","妨","艇","吞","韋","怨","矮","歇"]')},function(e){e.exports=JSON.parse('["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"]')},function(e){e.exports=JSON.parse('["abaisser","abandon","abdiquer","abeille","abolir","aborder","aboutir","aboyer","abrasif","abreuver","abriter","abroger","abrupt","absence","absolu","absurde","abusif","abyssal","académie","acajou","acarien","accabler","accepter","acclamer","accolade","accroche","accuser","acerbe","achat","acheter","aciduler","acier","acompte","acquérir","acronyme","acteur","actif","actuel","adepte","adéquat","adhésif","adjectif","adjuger","admettre","admirer","adopter","adorer","adoucir","adresse","adroit","adulte","adverbe","aérer","aéronef","affaire","affecter","affiche","affreux","affubler","agacer","agencer","agile","agiter","agrafer","agréable","agrume","aider","aiguille","ailier","aimable","aisance","ajouter","ajuster","alarmer","alchimie","alerte","algèbre","algue","aliéner","aliment","alléger","alliage","allouer","allumer","alourdir","alpaga","altesse","alvéole","amateur","ambigu","ambre","aménager","amertume","amidon","amiral","amorcer","amour","amovible","amphibie","ampleur","amusant","analyse","anaphore","anarchie","anatomie","ancien","anéantir","angle","angoisse","anguleux","animal","annexer","annonce","annuel","anodin","anomalie","anonyme","anormal","antenne","antidote","anxieux","apaiser","apéritif","aplanir","apologie","appareil","appeler","apporter","appuyer","aquarium","aqueduc","arbitre","arbuste","ardeur","ardoise","argent","arlequin","armature","armement","armoire","armure","arpenter","arracher","arriver","arroser","arsenic","artériel","article","aspect","asphalte","aspirer","assaut","asservir","assiette","associer","assurer","asticot","astre","astuce","atelier","atome","atrium","atroce","attaque","attentif","attirer","attraper","aubaine","auberge","audace","audible","augurer","aurore","automne","autruche","avaler","avancer","avarice","avenir","averse","aveugle","aviateur","avide","avion","aviser","avoine","avouer","avril","axial","axiome","badge","bafouer","bagage","baguette","baignade","balancer","balcon","baleine","balisage","bambin","bancaire","bandage","banlieue","bannière","banquier","barbier","baril","baron","barque","barrage","bassin","bastion","bataille","bateau","batterie","baudrier","bavarder","belette","bélier","belote","bénéfice","berceau","berger","berline","bermuda","besace","besogne","bétail","beurre","biberon","bicycle","bidule","bijou","bilan","bilingue","billard","binaire","biologie","biopsie","biotype","biscuit","bison","bistouri","bitume","bizarre","blafard","blague","blanchir","blessant","blinder","blond","bloquer","blouson","bobard","bobine","boire","boiser","bolide","bonbon","bondir","bonheur","bonifier","bonus","bordure","borne","botte","boucle","boueux","bougie","boulon","bouquin","bourse","boussole","boutique","boxeur","branche","brasier","brave","brebis","brèche","breuvage","bricoler","brigade","brillant","brioche","brique","brochure","broder","bronzer","brousse","broyeur","brume","brusque","brutal","bruyant","buffle","buisson","bulletin","bureau","burin","bustier","butiner","butoir","buvable","buvette","cabanon","cabine","cachette","cadeau","cadre","caféine","caillou","caisson","calculer","calepin","calibre","calmer","calomnie","calvaire","camarade","caméra","camion","campagne","canal","caneton","canon","cantine","canular","capable","caporal","caprice","capsule","capter","capuche","carabine","carbone","caresser","caribou","carnage","carotte","carreau","carton","cascade","casier","casque","cassure","causer","caution","cavalier","caverne","caviar","cédille","ceinture","céleste","cellule","cendrier","censurer","central","cercle","cérébral","cerise","cerner","cerveau","cesser","chagrin","chaise","chaleur","chambre","chance","chapitre","charbon","chasseur","chaton","chausson","chavirer","chemise","chenille","chéquier","chercher","cheval","chien","chiffre","chignon","chimère","chiot","chlorure","chocolat","choisir","chose","chouette","chrome","chute","cigare","cigogne","cimenter","cinéma","cintrer","circuler","cirer","cirque","citerne","citoyen","citron","civil","clairon","clameur","claquer","classe","clavier","client","cligner","climat","clivage","cloche","clonage","cloporte","cobalt","cobra","cocasse","cocotier","coder","codifier","coffre","cogner","cohésion","coiffer","coincer","colère","colibri","colline","colmater","colonel","combat","comédie","commande","compact","concert","conduire","confier","congeler","connoter","consonne","contact","convexe","copain","copie","corail","corbeau","cordage","corniche","corpus","correct","cortège","cosmique","costume","coton","coude","coupure","courage","couteau","couvrir","coyote","crabe","crainte","cravate","crayon","créature","créditer","crémeux","creuser","crevette","cribler","crier","cristal","critère","croire","croquer","crotale","crucial","cruel","crypter","cubique","cueillir","cuillère","cuisine","cuivre","culminer","cultiver","cumuler","cupide","curatif","curseur","cyanure","cycle","cylindre","cynique","daigner","damier","danger","danseur","dauphin","débattre","débiter","déborder","débrider","débutant","décaler","décembre","déchirer","décider","déclarer","décorer","décrire","décupler","dédale","déductif","déesse","défensif","défiler","défrayer","dégager","dégivrer","déglutir","dégrafer","déjeuner","délice","déloger","demander","demeurer","démolir","dénicher","dénouer","dentelle","dénuder","départ","dépenser","déphaser","déplacer","déposer","déranger","dérober","désastre","descente","désert","désigner","désobéir","dessiner","destrier","détacher","détester","détourer","détresse","devancer","devenir","deviner","devoir","diable","dialogue","diamant","dicter","différer","digérer","digital","digne","diluer","dimanche","diminuer","dioxyde","directif","diriger","discuter","disposer","dissiper","distance","divertir","diviser","docile","docteur","dogme","doigt","domaine","domicile","dompter","donateur","donjon","donner","dopamine","dortoir","dorure","dosage","doseur","dossier","dotation","douanier","double","douceur","douter","doyen","dragon","draper","dresser","dribbler","droiture","duperie","duplexe","durable","durcir","dynastie","éblouir","écarter","écharpe","échelle","éclairer","éclipse","éclore","écluse","école","économie","écorce","écouter","écraser","écrémer","écrivain","écrou","écume","écureuil","édifier","éduquer","effacer","effectif","effigie","effort","effrayer","effusion","égaliser","égarer","éjecter","élaborer","élargir","électron","élégant","éléphant","élève","éligible","élitisme","éloge","élucider","éluder","emballer","embellir","embryon","émeraude","émission","emmener","émotion","émouvoir","empereur","employer","emporter","emprise","émulsion","encadrer","enchère","enclave","encoche","endiguer","endosser","endroit","enduire","énergie","enfance","enfermer","enfouir","engager","engin","englober","énigme","enjamber","enjeu","enlever","ennemi","ennuyeux","enrichir","enrobage","enseigne","entasser","entendre","entier","entourer","entraver","énumérer","envahir","enviable","envoyer","enzyme","éolien","épaissir","épargne","épatant","épaule","épicerie","épidémie","épier","épilogue","épine","épisode","épitaphe","époque","épreuve","éprouver","épuisant","équerre","équipe","ériger","érosion","erreur","éruption","escalier","espadon","espèce","espiègle","espoir","esprit","esquiver","essayer","essence","essieu","essorer","estime","estomac","estrade","étagère","étaler","étanche","étatique","éteindre","étendoir","éternel","éthanol","éthique","ethnie","étirer","étoffer","étoile","étonnant","étourdir","étrange","étroit","étude","euphorie","évaluer","évasion","éventail","évidence","éviter","évolutif","évoquer","exact","exagérer","exaucer","exceller","excitant","exclusif","excuse","exécuter","exemple","exercer","exhaler","exhorter","exigence","exiler","exister","exotique","expédier","explorer","exposer","exprimer","exquis","extensif","extraire","exulter","fable","fabuleux","facette","facile","facture","faiblir","falaise","fameux","famille","farceur","farfelu","farine","farouche","fasciner","fatal","fatigue","faucon","fautif","faveur","favori","fébrile","féconder","fédérer","félin","femme","fémur","fendoir","féodal","fermer","féroce","ferveur","festival","feuille","feutre","février","fiasco","ficeler","fictif","fidèle","figure","filature","filetage","filière","filleul","filmer","filou","filtrer","financer","finir","fiole","firme","fissure","fixer","flairer","flamme","flasque","flatteur","fléau","flèche","fleur","flexion","flocon","flore","fluctuer","fluide","fluvial","folie","fonderie","fongible","fontaine","forcer","forgeron","formuler","fortune","fossile","foudre","fougère","fouiller","foulure","fourmi","fragile","fraise","franchir","frapper","frayeur","frégate","freiner","frelon","frémir","frénésie","frère","friable","friction","frisson","frivole","froid","fromage","frontal","frotter","fruit","fugitif","fuite","fureur","furieux","furtif","fusion","futur","gagner","galaxie","galerie","gambader","garantir","gardien","garnir","garrigue","gazelle","gazon","géant","gélatine","gélule","gendarme","général","génie","genou","gentil","géologie","géomètre","géranium","germe","gestuel","geyser","gibier","gicler","girafe","givre","glace","glaive","glisser","globe","gloire","glorieux","golfeur","gomme","gonfler","gorge","gorille","goudron","gouffre","goulot","goupille","gourmand","goutte","graduel","graffiti","graine","grand","grappin","gratuit","gravir","grenat","griffure","griller","grimper","grogner","gronder","grotte","groupe","gruger","grutier","gruyère","guépard","guerrier","guide","guimauve","guitare","gustatif","gymnaste","gyrostat","habitude","hachoir","halte","hameau","hangar","hanneton","haricot","harmonie","harpon","hasard","hélium","hématome","herbe","hérisson","hermine","héron","hésiter","heureux","hiberner","hibou","hilarant","histoire","hiver","homard","hommage","homogène","honneur","honorer","honteux","horde","horizon","horloge","hormone","horrible","houleux","housse","hublot","huileux","humain","humble","humide","humour","hurler","hydromel","hygiène","hymne","hypnose","idylle","ignorer","iguane","illicite","illusion","image","imbiber","imiter","immense","immobile","immuable","impact","impérial","implorer","imposer","imprimer","imputer","incarner","incendie","incident","incliner","incolore","indexer","indice","inductif","inédit","ineptie","inexact","infini","infliger","informer","infusion","ingérer","inhaler","inhiber","injecter","injure","innocent","inoculer","inonder","inscrire","insecte","insigne","insolite","inspirer","instinct","insulter","intact","intense","intime","intrigue","intuitif","inutile","invasion","inventer","inviter","invoquer","ironique","irradier","irréel","irriter","isoler","ivoire","ivresse","jaguar","jaillir","jambe","janvier","jardin","jauger","jaune","javelot","jetable","jeton","jeudi","jeunesse","joindre","joncher","jongler","joueur","jouissif","journal","jovial","joyau","joyeux","jubiler","jugement","junior","jupon","juriste","justice","juteux","juvénile","kayak","kimono","kiosque","label","labial","labourer","lacérer","lactose","lagune","laine","laisser","laitier","lambeau","lamelle","lampe","lanceur","langage","lanterne","lapin","largeur","larme","laurier","lavabo","lavoir","lecture","légal","léger","légume","lessive","lettre","levier","lexique","lézard","liasse","libérer","libre","licence","licorne","liège","lièvre","ligature","ligoter","ligue","limer","limite","limonade","limpide","linéaire","lingot","lionceau","liquide","lisière","lister","lithium","litige","littoral","livreur","logique","lointain","loisir","lombric","loterie","louer","lourd","loutre","louve","loyal","lubie","lucide","lucratif","lueur","lugubre","luisant","lumière","lunaire","lundi","luron","lutter","luxueux","machine","magasin","magenta","magique","maigre","maillon","maintien","mairie","maison","majorer","malaxer","maléfice","malheur","malice","mallette","mammouth","mandater","maniable","manquant","manteau","manuel","marathon","marbre","marchand","mardi","maritime","marqueur","marron","marteler","mascotte","massif","matériel","matière","matraque","maudire","maussade","mauve","maximal","méchant","méconnu","médaille","médecin","méditer","méduse","meilleur","mélange","mélodie","membre","mémoire","menacer","mener","menhir","mensonge","mentor","mercredi","mérite","merle","messager","mesure","métal","météore","méthode","métier","meuble","miauler","microbe","miette","mignon","migrer","milieu","million","mimique","mince","minéral","minimal","minorer","minute","miracle","miroiter","missile","mixte","mobile","moderne","moelleux","mondial","moniteur","monnaie","monotone","monstre","montagne","monument","moqueur","morceau","morsure","mortier","moteur","motif","mouche","moufle","moulin","mousson","mouton","mouvant","multiple","munition","muraille","murène","murmure","muscle","muséum","musicien","mutation","muter","mutuel","myriade","myrtille","mystère","mythique","nageur","nappe","narquois","narrer","natation","nation","nature","naufrage","nautique","navire","nébuleux","nectar","néfaste","négation","négliger","négocier","neige","nerveux","nettoyer","neurone","neutron","neveu","niche","nickel","nitrate","niveau","noble","nocif","nocturne","noirceur","noisette","nomade","nombreux","nommer","normatif","notable","notifier","notoire","nourrir","nouveau","novateur","novembre","novice","nuage","nuancer","nuire","nuisible","numéro","nuptial","nuque","nutritif","obéir","objectif","obliger","obscur","observer","obstacle","obtenir","obturer","occasion","occuper","océan","octobre","octroyer","octupler","oculaire","odeur","odorant","offenser","officier","offrir","ogive","oiseau","oisillon","olfactif","olivier","ombrage","omettre","onctueux","onduler","onéreux","onirique","opale","opaque","opérer","opinion","opportun","opprimer","opter","optique","orageux","orange","orbite","ordonner","oreille","organe","orgueil","orifice","ornement","orque","ortie","osciller","osmose","ossature","otarie","ouragan","ourson","outil","outrager","ouvrage","ovation","oxyde","oxygène","ozone","paisible","palace","palmarès","palourde","palper","panache","panda","pangolin","paniquer","panneau","panorama","pantalon","papaye","papier","papoter","papyrus","paradoxe","parcelle","paresse","parfumer","parler","parole","parrain","parsemer","partager","parure","parvenir","passion","pastèque","paternel","patience","patron","pavillon","pavoiser","payer","paysage","peigne","peintre","pelage","pélican","pelle","pelouse","peluche","pendule","pénétrer","pénible","pensif","pénurie","pépite","péplum","perdrix","perforer","période","permuter","perplexe","persil","perte","peser","pétale","petit","pétrir","peuple","pharaon","phobie","phoque","photon","phrase","physique","piano","pictural","pièce","pierre","pieuvre","pilote","pinceau","pipette","piquer","pirogue","piscine","piston","pivoter","pixel","pizza","placard","plafond","plaisir","planer","plaque","plastron","plateau","pleurer","plexus","pliage","plomb","plonger","pluie","plumage","pochette","poésie","poète","pointe","poirier","poisson","poivre","polaire","policier","pollen","polygone","pommade","pompier","ponctuel","pondérer","poney","portique","position","posséder","posture","potager","poteau","potion","pouce","poulain","poumon","pourpre","poussin","pouvoir","prairie","pratique","précieux","prédire","préfixe","prélude","prénom","présence","prétexte","prévoir","primitif","prince","prison","priver","problème","procéder","prodige","profond","progrès","proie","projeter","prologue","promener","propre","prospère","protéger","prouesse","proverbe","prudence","pruneau","psychose","public","puceron","puiser","pulpe","pulsar","punaise","punitif","pupitre","purifier","puzzle","pyramide","quasar","querelle","question","quiétude","quitter","quotient","racine","raconter","radieux","ragondin","raideur","raisin","ralentir","rallonge","ramasser","rapide","rasage","ratisser","ravager","ravin","rayonner","réactif","réagir","réaliser","réanimer","recevoir","réciter","réclamer","récolter","recruter","reculer","recycler","rédiger","redouter","refaire","réflexe","réformer","refrain","refuge","régalien","région","réglage","régulier","réitérer","rejeter","rejouer","relatif","relever","relief","remarque","remède","remise","remonter","remplir","remuer","renard","renfort","renifler","renoncer","rentrer","renvoi","replier","reporter","reprise","reptile","requin","réserve","résineux","résoudre","respect","rester","résultat","rétablir","retenir","réticule","retomber","retracer","réunion","réussir","revanche","revivre","révolte","révulsif","richesse","rideau","rieur","rigide","rigoler","rincer","riposter","risible","risque","rituel","rival","rivière","rocheux","romance","rompre","ronce","rondin","roseau","rosier","rotatif","rotor","rotule","rouge","rouille","rouleau","routine","royaume","ruban","rubis","ruche","ruelle","rugueux","ruiner","ruisseau","ruser","rustique","rythme","sabler","saboter","sabre","sacoche","safari","sagesse","saisir","salade","salive","salon","saluer","samedi","sanction","sanglier","sarcasme","sardine","saturer","saugrenu","saumon","sauter","sauvage","savant","savonner","scalpel","scandale","scélérat","scénario","sceptre","schéma","science","scinder","score","scrutin","sculpter","séance","sécable","sécher","secouer","sécréter","sédatif","séduire","seigneur","séjour","sélectif","semaine","sembler","semence","séminal","sénateur","sensible","sentence","séparer","séquence","serein","sergent","sérieux","serrure","sérum","service","sésame","sévir","sevrage","sextuple","sidéral","siècle","siéger","siffler","sigle","signal","silence","silicium","simple","sincère","sinistre","siphon","sirop","sismique","situer","skier","social","socle","sodium","soigneux","soldat","soleil","solitude","soluble","sombre","sommeil","somnoler","sonde","songeur","sonnette","sonore","sorcier","sortir","sosie","sottise","soucieux","soudure","souffle","soulever","soupape","source","soutirer","souvenir","spacieux","spatial","spécial","sphère","spiral","stable","station","sternum","stimulus","stipuler","strict","studieux","stupeur","styliste","sublime","substrat","subtil","subvenir","succès","sucre","suffixe","suggérer","suiveur","sulfate","superbe","supplier","surface","suricate","surmener","surprise","sursaut","survie","suspect","syllabe","symbole","symétrie","synapse","syntaxe","système","tabac","tablier","tactile","tailler","talent","talisman","talonner","tambour","tamiser","tangible","tapis","taquiner","tarder","tarif","tartine","tasse","tatami","tatouage","taupe","taureau","taxer","témoin","temporel","tenaille","tendre","teneur","tenir","tension","terminer","terne","terrible","tétine","texte","thème","théorie","thérapie","thorax","tibia","tiède","timide","tirelire","tiroir","tissu","titane","titre","tituber","toboggan","tolérant","tomate","tonique","tonneau","toponyme","torche","tordre","tornade","torpille","torrent","torse","tortue","totem","toucher","tournage","tousser","toxine","traction","trafic","tragique","trahir","train","trancher","travail","trèfle","tremper","trésor","treuil","triage","tribunal","tricoter","trilogie","triomphe","tripler","triturer","trivial","trombone","tronc","tropical","troupeau","tuile","tulipe","tumulte","tunnel","turbine","tuteur","tutoyer","tuyau","tympan","typhon","typique","tyran","ubuesque","ultime","ultrason","unanime","unifier","union","unique","unitaire","univers","uranium","urbain","urticant","usage","usine","usuel","usure","utile","utopie","vacarme","vaccin","vagabond","vague","vaillant","vaincre","vaisseau","valable","valise","vallon","valve","vampire","vanille","vapeur","varier","vaseux","vassal","vaste","vecteur","vedette","végétal","véhicule","veinard","véloce","vendredi","vénérer","venger","venimeux","ventouse","verdure","vérin","vernir","verrou","verser","vertu","veston","vétéran","vétuste","vexant","vexer","viaduc","viande","victoire","vidange","vidéo","vignette","vigueur","vilain","village","vinaigre","violon","vipère","virement","virtuose","virus","visage","viseur","vision","visqueux","visuel","vital","vitesse","viticole","vitrine","vivace","vivipare","vocation","voguer","voile","voisin","voiture","volaille","volcan","voltiger","volume","vorace","vortex","voter","vouloir","voyage","voyelle","wagon","xénon","yacht","zèbre","zénith","zeste","zoologie"]')},function(e){e.exports=JSON.parse('["abaco","abbaglio","abbinato","abete","abisso","abolire","abrasivo","abrogato","accadere","accenno","accusato","acetone","achille","acido","acqua","acre","acrilico","acrobata","acuto","adagio","addebito","addome","adeguato","aderire","adipe","adottare","adulare","affabile","affetto","affisso","affranto","aforisma","afoso","africano","agave","agente","agevole","aggancio","agire","agitare","agonismo","agricolo","agrumeto","aguzzo","alabarda","alato","albatro","alberato","albo","albume","alce","alcolico","alettone","alfa","algebra","aliante","alibi","alimento","allagato","allegro","allievo","allodola","allusivo","almeno","alogeno","alpaca","alpestre","altalena","alterno","alticcio","altrove","alunno","alveolo","alzare","amalgama","amanita","amarena","ambito","ambrato","ameba","america","ametista","amico","ammasso","ammenda","ammirare","ammonito","amore","ampio","ampliare","amuleto","anacardo","anagrafe","analista","anarchia","anatra","anca","ancella","ancora","andare","andrea","anello","angelo","angolare","angusto","anima","annegare","annidato","anno","annuncio","anonimo","anticipo","anzi","apatico","apertura","apode","apparire","appetito","appoggio","approdo","appunto","aprile","arabica","arachide","aragosta","araldica","arancio","aratura","arazzo","arbitro","archivio","ardito","arenile","argento","argine","arguto","aria","armonia","arnese","arredato","arringa","arrosto","arsenico","arso","artefice","arzillo","asciutto","ascolto","asepsi","asettico","asfalto","asino","asola","aspirato","aspro","assaggio","asse","assoluto","assurdo","asta","astenuto","astice","astratto","atavico","ateismo","atomico","atono","attesa","attivare","attorno","attrito","attuale","ausilio","austria","autista","autonomo","autunno","avanzato","avere","avvenire","avviso","avvolgere","azione","azoto","azzimo","azzurro","babele","baccano","bacino","baco","badessa","badilata","bagnato","baita","balcone","baldo","balena","ballata","balzano","bambino","bandire","baraonda","barbaro","barca","baritono","barlume","barocco","basilico","basso","batosta","battuto","baule","bava","bavosa","becco","beffa","belgio","belva","benda","benevole","benigno","benzina","bere","berlina","beta","bibita","bici","bidone","bifido","biga","bilancia","bimbo","binocolo","biologo","bipede","bipolare","birbante","birra","biscotto","bisesto","bisnonno","bisonte","bisturi","bizzarro","blando","blatta","bollito","bonifico","bordo","bosco","botanico","bottino","bozzolo","braccio","bradipo","brama","branca","bravura","bretella","brevetto","brezza","briglia","brillante","brindare","broccolo","brodo","bronzina","brullo","bruno","bubbone","buca","budino","buffone","buio","bulbo","buono","burlone","burrasca","bussola","busta","cadetto","caduco","calamaro","calcolo","calesse","calibro","calmo","caloria","cambusa","camerata","camicia","cammino","camola","campale","canapa","candela","cane","canino","canotto","cantina","capace","capello","capitolo","capogiro","cappero","capra","capsula","carapace","carcassa","cardo","carisma","carovana","carretto","cartolina","casaccio","cascata","caserma","caso","cassone","castello","casuale","catasta","catena","catrame","cauto","cavillo","cedibile","cedrata","cefalo","celebre","cellulare","cena","cenone","centesimo","ceramica","cercare","certo","cerume","cervello","cesoia","cespo","ceto","chela","chiaro","chicca","chiedere","chimera","china","chirurgo","chitarra","ciao","ciclismo","cifrare","cigno","cilindro","ciottolo","circa","cirrosi","citrico","cittadino","ciuffo","civetta","civile","classico","clinica","cloro","cocco","codardo","codice","coerente","cognome","collare","colmato","colore","colposo","coltivato","colza","coma","cometa","commando","comodo","computer","comune","conciso","condurre","conferma","congelare","coniuge","connesso","conoscere","consumo","continuo","convegno","coperto","copione","coppia","copricapo","corazza","cordata","coricato","cornice","corolla","corpo","corredo","corsia","cortese","cosmico","costante","cottura","covato","cratere","cravatta","creato","credere","cremoso","crescita","creta","criceto","crinale","crisi","critico","croce","cronaca","crostata","cruciale","crusca","cucire","cuculo","cugino","cullato","cupola","curatore","cursore","curvo","cuscino","custode","dado","daino","dalmata","damerino","daniela","dannoso","danzare","datato","davanti","davvero","debutto","decennio","deciso","declino","decollo","decreto","dedicato","definito","deforme","degno","delegare","delfino","delirio","delta","demenza","denotato","dentro","deposito","derapata","derivare","deroga","descritto","deserto","desiderio","desumere","detersivo","devoto","diametro","dicembre","diedro","difeso","diffuso","digerire","digitale","diluvio","dinamico","dinnanzi","dipinto","diploma","dipolo","diradare","dire","dirotto","dirupo","disagio","discreto","disfare","disgelo","disposto","distanza","disumano","dito","divano","divelto","dividere","divorato","doblone","docente","doganale","dogma","dolce","domato","domenica","dominare","dondolo","dono","dormire","dote","dottore","dovuto","dozzina","drago","druido","dubbio","dubitare","ducale","duna","duomo","duplice","duraturo","ebano","eccesso","ecco","eclissi","economia","edera","edicola","edile","editoria","educare","egemonia","egli","egoismo","egregio","elaborato","elargire","elegante","elencato","eletto","elevare","elfico","elica","elmo","elsa","eluso","emanato","emblema","emesso","emiro","emotivo","emozione","empirico","emulo","endemico","enduro","energia","enfasi","enoteca","entrare","enzima","epatite","epilogo","episodio","epocale","eppure","equatore","erario","erba","erboso","erede","eremita","erigere","ermetico","eroe","erosivo","errante","esagono","esame","esanime","esaudire","esca","esempio","esercito","esibito","esigente","esistere","esito","esofago","esortato","esoso","espanso","espresso","essenza","esso","esteso","estimare","estonia","estroso","esultare","etilico","etnico","etrusco","etto","euclideo","europa","evaso","evidenza","evitato","evoluto","evviva","fabbrica","faccenda","fachiro","falco","famiglia","fanale","fanfara","fango","fantasma","fare","farfalla","farinoso","farmaco","fascia","fastoso","fasullo","faticare","fato","favoloso","febbre","fecola","fede","fegato","felpa","feltro","femmina","fendere","fenomeno","fermento","ferro","fertile","fessura","festivo","fetta","feudo","fiaba","fiducia","fifa","figurato","filo","finanza","finestra","finire","fiore","fiscale","fisico","fiume","flacone","flamenco","flebo","flemma","florido","fluente","fluoro","fobico","focaccia","focoso","foderato","foglio","folata","folclore","folgore","fondente","fonetico","fonia","fontana","forbito","forchetta","foresta","formica","fornaio","foro","fortezza","forzare","fosfato","fosso","fracasso","frana","frassino","fratello","freccetta","frenata","fresco","frigo","frollino","fronde","frugale","frutta","fucilata","fucsia","fuggente","fulmine","fulvo","fumante","fumetto","fumoso","fune","funzione","fuoco","furbo","furgone","furore","fuso","futile","gabbiano","gaffe","galateo","gallina","galoppo","gambero","gamma","garanzia","garbo","garofano","garzone","gasdotto","gasolio","gastrico","gatto","gaudio","gazebo","gazzella","geco","gelatina","gelso","gemello","gemmato","gene","genitore","gennaio","genotipo","gergo","ghepardo","ghiaccio","ghisa","giallo","gilda","ginepro","giocare","gioiello","giorno","giove","girato","girone","gittata","giudizio","giurato","giusto","globulo","glutine","gnomo","gobba","golf","gomito","gommone","gonfio","gonna","governo","gracile","grado","grafico","grammo","grande","grattare","gravoso","grazia","greca","gregge","grifone","grigio","grinza","grotta","gruppo","guadagno","guaio","guanto","guardare","gufo","guidare","ibernato","icona","identico","idillio","idolo","idra","idrico","idrogeno","igiene","ignaro","ignorato","ilare","illeso","illogico","illudere","imballo","imbevuto","imbocco","imbuto","immane","immerso","immolato","impacco","impeto","impiego","importo","impronta","inalare","inarcare","inattivo","incanto","incendio","inchino","incisivo","incluso","incontro","incrocio","incubo","indagine","india","indole","inedito","infatti","infilare","inflitto","ingaggio","ingegno","inglese","ingordo","ingrosso","innesco","inodore","inoltrare","inondato","insano","insetto","insieme","insonnia","insulina","intasato","intero","intonaco","intuito","inumidire","invalido","invece","invito","iperbole","ipnotico","ipotesi","ippica","iride","irlanda","ironico","irrigato","irrorare","isolato","isotopo","isterico","istituto","istrice","italia","iterare","labbro","labirinto","lacca","lacerato","lacrima","lacuna","laddove","lago","lampo","lancetta","lanterna","lardoso","larga","laringe","lastra","latenza","latino","lattuga","lavagna","lavoro","legale","leggero","lembo","lentezza","lenza","leone","lepre","lesivo","lessato","lesto","letterale","leva","levigato","libero","lido","lievito","lilla","limatura","limitare","limpido","lineare","lingua","liquido","lira","lirica","lisca","lite","litigio","livrea","locanda","lode","logica","lombare","londra","longevo","loquace","lorenzo","loto","lotteria","luce","lucidato","lumaca","luminoso","lungo","lupo","luppolo","lusinga","lusso","lutto","macabro","macchina","macero","macinato","madama","magico","maglia","magnete","magro","maiolica","malafede","malgrado","malinteso","malsano","malto","malumore","mana","mancia","mandorla","mangiare","manifesto","mannaro","manovra","mansarda","mantide","manubrio","mappa","maratona","marcire","maretta","marmo","marsupio","maschera","massaia","mastino","materasso","matricola","mattone","maturo","mazurca","meandro","meccanico","mecenate","medesimo","meditare","mega","melassa","melis","melodia","meninge","meno","mensola","mercurio","merenda","merlo","meschino","mese","messere","mestolo","metallo","metodo","mettere","miagolare","mica","micelio","michele","microbo","midollo","miele","migliore","milano","milite","mimosa","minerale","mini","minore","mirino","mirtillo","miscela","missiva","misto","misurare","mitezza","mitigare","mitra","mittente","mnemonico","modello","modifica","modulo","mogano","mogio","mole","molosso","monastero","monco","mondina","monetario","monile","monotono","monsone","montato","monviso","mora","mordere","morsicato","mostro","motivato","motosega","motto","movenza","movimento","mozzo","mucca","mucosa","muffa","mughetto","mugnaio","mulatto","mulinello","multiplo","mummia","munto","muovere","murale","musa","muscolo","musica","mutevole","muto","nababbo","nafta","nanometro","narciso","narice","narrato","nascere","nastrare","naturale","nautica","naviglio","nebulosa","necrosi","negativo","negozio","nemmeno","neofita","neretto","nervo","nessuno","nettuno","neutrale","neve","nevrotico","nicchia","ninfa","nitido","nobile","nocivo","nodo","nome","nomina","nordico","normale","norvegese","nostrano","notare","notizia","notturno","novella","nucleo","nulla","numero","nuovo","nutrire","nuvola","nuziale","oasi","obbedire","obbligo","obelisco","oblio","obolo","obsoleto","occasione","occhio","occidente","occorrere","occultare","ocra","oculato","odierno","odorare","offerta","offrire","offuscato","oggetto","oggi","ognuno","olandese","olfatto","oliato","oliva","ologramma","oltre","omaggio","ombelico","ombra","omega","omissione","ondoso","onere","onice","onnivoro","onorevole","onta","operato","opinione","opposto","oracolo","orafo","ordine","orecchino","orefice","orfano","organico","origine","orizzonte","orma","ormeggio","ornativo","orologio","orrendo","orribile","ortensia","ortica","orzata","orzo","osare","oscurare","osmosi","ospedale","ospite","ossa","ossidare","ostacolo","oste","otite","otre","ottagono","ottimo","ottobre","ovale","ovest","ovino","oviparo","ovocito","ovunque","ovviare","ozio","pacchetto","pace","pacifico","padella","padrone","paese","paga","pagina","palazzina","palesare","pallido","palo","palude","pandoro","pannello","paolo","paonazzo","paprica","parabola","parcella","parere","pargolo","pari","parlato","parola","partire","parvenza","parziale","passivo","pasticca","patacca","patologia","pattume","pavone","peccato","pedalare","pedonale","peggio","peloso","penare","pendice","penisola","pennuto","penombra","pensare","pentola","pepe","pepita","perbene","percorso","perdonato","perforare","pergamena","periodo","permesso","perno","perplesso","persuaso","pertugio","pervaso","pesatore","pesista","peso","pestifero","petalo","pettine","petulante","pezzo","piacere","pianta","piattino","piccino","picozza","piega","pietra","piffero","pigiama","pigolio","pigro","pila","pilifero","pillola","pilota","pimpante","pineta","pinna","pinolo","pioggia","piombo","piramide","piretico","pirite","pirolisi","pitone","pizzico","placebo","planare","plasma","platano","plenario","pochezza","poderoso","podismo","poesia","poggiare","polenta","poligono","pollice","polmonite","polpetta","polso","poltrona","polvere","pomice","pomodoro","ponte","popoloso","porfido","poroso","porpora","porre","portata","posa","positivo","possesso","postulato","potassio","potere","pranzo","prassi","pratica","precluso","predica","prefisso","pregiato","prelievo","premere","prenotare","preparato","presenza","pretesto","prevalso","prima","principe","privato","problema","procura","produrre","profumo","progetto","prolunga","promessa","pronome","proposta","proroga","proteso","prova","prudente","prugna","prurito","psiche","pubblico","pudica","pugilato","pugno","pulce","pulito","pulsante","puntare","pupazzo","pupilla","puro","quadro","qualcosa","quasi","querela","quota","raccolto","raddoppio","radicale","radunato","raffica","ragazzo","ragione","ragno","ramarro","ramingo","ramo","randagio","rantolare","rapato","rapina","rappreso","rasatura","raschiato","rasente","rassegna","rastrello","rata","ravveduto","reale","recepire","recinto","recluta","recondito","recupero","reddito","redimere","regalato","registro","regola","regresso","relazione","remare","remoto","renna","replica","reprimere","reputare","resa","residente","responso","restauro","rete","retina","retorica","rettifica","revocato","riassunto","ribadire","ribelle","ribrezzo","ricarica","ricco","ricevere","riciclato","ricordo","ricreduto","ridicolo","ridurre","rifasare","riflesso","riforma","rifugio","rigare","rigettato","righello","rilassato","rilevato","rimanere","rimbalzo","rimedio","rimorchio","rinascita","rincaro","rinforzo","rinnovo","rinomato","rinsavito","rintocco","rinuncia","rinvenire","riparato","ripetuto","ripieno","riportare","ripresa","ripulire","risata","rischio","riserva","risibile","riso","rispetto","ristoro","risultato","risvolto","ritardo","ritegno","ritmico","ritrovo","riunione","riva","riverso","rivincita","rivolto","rizoma","roba","robotico","robusto","roccia","roco","rodaggio","rodere","roditore","rogito","rollio","romantico","rompere","ronzio","rosolare","rospo","rotante","rotondo","rotula","rovescio","rubizzo","rubrica","ruga","rullino","rumine","rumoroso","ruolo","rupe","russare","rustico","sabato","sabbiare","sabotato","sagoma","salasso","saldatura","salgemma","salivare","salmone","salone","saltare","saluto","salvo","sapere","sapido","saporito","saraceno","sarcasmo","sarto","sassoso","satellite","satira","satollo","saturno","savana","savio","saziato","sbadiglio","sbalzo","sbancato","sbarra","sbattere","sbavare","sbendare","sbirciare","sbloccato","sbocciato","sbrinare","sbruffone","sbuffare","scabroso","scadenza","scala","scambiare","scandalo","scapola","scarso","scatenare","scavato","scelto","scenico","scettro","scheda","schiena","sciarpa","scienza","scindere","scippo","sciroppo","scivolo","sclerare","scodella","scolpito","scomparto","sconforto","scoprire","scorta","scossone","scozzese","scriba","scrollare","scrutinio","scuderia","scultore","scuola","scuro","scusare","sdebitare","sdoganare","seccatura","secondo","sedano","seggiola","segnalato","segregato","seguito","selciato","selettivo","sella","selvaggio","semaforo","sembrare","seme","seminato","sempre","senso","sentire","sepolto","sequenza","serata","serbato","sereno","serio","serpente","serraglio","servire","sestina","setola","settimana","sfacelo","sfaldare","sfamato","sfarzoso","sfaticato","sfera","sfida","sfilato","sfinge","sfocato","sfoderare","sfogo","sfoltire","sforzato","sfratto","sfruttato","sfuggito","sfumare","sfuso","sgabello","sgarbato","sgonfiare","sgorbio","sgrassato","sguardo","sibilo","siccome","sierra","sigla","signore","silenzio","sillaba","simbolo","simpatico","simulato","sinfonia","singolo","sinistro","sino","sintesi","sinusoide","sipario","sisma","sistole","situato","slitta","slogatura","sloveno","smarrito","smemorato","smentito","smeraldo","smilzo","smontare","smottato","smussato","snellire","snervato","snodo","sobbalzo","sobrio","soccorso","sociale","sodale","soffitto","sogno","soldato","solenne","solido","sollazzo","solo","solubile","solvente","somatico","somma","sonda","sonetto","sonnifero","sopire","soppeso","sopra","sorgere","sorpasso","sorriso","sorso","sorteggio","sorvolato","sospiro","sosta","sottile","spada","spalla","spargere","spatola","spavento","spazzola","specie","spedire","spegnere","spelatura","speranza","spessore","spettrale","spezzato","spia","spigoloso","spillato","spinoso","spirale","splendido","sportivo","sposo","spranga","sprecare","spronato","spruzzo","spuntino","squillo","sradicare","srotolato","stabile","stacco","staffa","stagnare","stampato","stantio","starnuto","stasera","statuto","stelo","steppa","sterzo","stiletto","stima","stirpe","stivale","stizzoso","stonato","storico","strappo","stregato","stridulo","strozzare","strutto","stuccare","stufo","stupendo","subentro","succoso","sudore","suggerito","sugo","sultano","suonare","superbo","supporto","surgelato","surrogato","sussurro","sutura","svagare","svedese","sveglio","svelare","svenuto","svezia","sviluppo","svista","svizzera","svolta","svuotare","tabacco","tabulato","tacciare","taciturno","tale","talismano","tampone","tannino","tara","tardivo","targato","tariffa","tarpare","tartaruga","tasto","tattico","taverna","tavolata","tazza","teca","tecnico","telefono","temerario","tempo","temuto","tendone","tenero","tensione","tentacolo","teorema","terme","terrazzo","terzetto","tesi","tesserato","testato","tetro","tettoia","tifare","tigella","timbro","tinto","tipico","tipografo","tiraggio","tiro","titanio","titolo","titubante","tizio","tizzone","toccare","tollerare","tolto","tombola","tomo","tonfo","tonsilla","topazio","topologia","toppa","torba","tornare","torrone","tortora","toscano","tossire","tostatura","totano","trabocco","trachea","trafila","tragedia","tralcio","tramonto","transito","trapano","trarre","trasloco","trattato","trave","treccia","tremolio","trespolo","tributo","tricheco","trifoglio","trillo","trincea","trio","tristezza","triturato","trivella","tromba","trono","troppo","trottola","trovare","truccato","tubatura","tuffato","tulipano","tumulto","tunisia","turbare","turchino","tuta","tutela","ubicato","uccello","uccisore","udire","uditivo","uffa","ufficio","uguale","ulisse","ultimato","umano","umile","umorismo","uncinetto","ungere","ungherese","unicorno","unificato","unisono","unitario","unte","uovo","upupa","uragano","urgenza","urlo","usanza","usato","uscito","usignolo","usuraio","utensile","utilizzo","utopia","vacante","vaccinato","vagabondo","vagliato","valanga","valgo","valico","valletta","valoroso","valutare","valvola","vampata","vangare","vanitoso","vano","vantaggio","vanvera","vapore","varano","varcato","variante","vasca","vedetta","vedova","veduto","vegetale","veicolo","velcro","velina","velluto","veloce","venato","vendemmia","vento","verace","verbale","vergogna","verifica","vero","verruca","verticale","vescica","vessillo","vestale","veterano","vetrina","vetusto","viandante","vibrante","vicenda","vichingo","vicinanza","vidimare","vigilia","vigneto","vigore","vile","villano","vimini","vincitore","viola","vipera","virgola","virologo","virulento","viscoso","visione","vispo","vissuto","visura","vita","vitello","vittima","vivanda","vivido","viziare","voce","voga","volatile","volere","volpe","voragine","vulcano","zampogna","zanna","zappato","zattera","zavorra","zefiro","zelante","zelo","zenzero","zerbino","zibetto","zinco","zircone","zitto","zolla","zotico","zucchero","zufolo","zulu","zuppa"]')},function(e){e.exports=JSON.parse('["あいこくしん","あいさつ","あいだ","あおぞら","あかちゃん","あきる","あけがた","あける","あこがれる","あさい","あさひ","あしあと","あじわう","あずかる","あずき","あそぶ","あたえる","あたためる","あたりまえ","あたる","あつい","あつかう","あっしゅく","あつまり","あつめる","あてな","あてはまる","あひる","あぶら","あぶる","あふれる","あまい","あまど","あまやかす","あまり","あみもの","あめりか","あやまる","あゆむ","あらいぐま","あらし","あらすじ","あらためる","あらゆる","あらわす","ありがとう","あわせる","あわてる","あんい","あんがい","あんこ","あんぜん","あんてい","あんない","あんまり","いいだす","いおん","いがい","いがく","いきおい","いきなり","いきもの","いきる","いくじ","いくぶん","いけばな","いけん","いこう","いこく","いこつ","いさましい","いさん","いしき","いじゅう","いじょう","いじわる","いずみ","いずれ","いせい","いせえび","いせかい","いせき","いぜん","いそうろう","いそがしい","いだい","いだく","いたずら","いたみ","いたりあ","いちおう","いちじ","いちど","いちば","いちぶ","いちりゅう","いつか","いっしゅん","いっせい","いっそう","いったん","いっち","いってい","いっぽう","いてざ","いてん","いどう","いとこ","いない","いなか","いねむり","いのち","いのる","いはつ","いばる","いはん","いびき","いひん","いふく","いへん","いほう","いみん","いもうと","いもたれ","いもり","いやがる","いやす","いよかん","いよく","いらい","いらすと","いりぐち","いりょう","いれい","いれもの","いれる","いろえんぴつ","いわい","いわう","いわかん","いわば","いわゆる","いんげんまめ","いんさつ","いんしょう","いんよう","うえき","うえる","うおざ","うがい","うかぶ","うかべる","うきわ","うくらいな","うくれれ","うけたまわる","うけつけ","うけとる","うけもつ","うける","うごかす","うごく","うこん","うさぎ","うしなう","うしろがみ","うすい","うすぎ","うすぐらい","うすめる","うせつ","うちあわせ","うちがわ","うちき","うちゅう","うっかり","うつくしい","うったえる","うつる","うどん","うなぎ","うなじ","うなずく","うなる","うねる","うのう","うぶげ","うぶごえ","うまれる","うめる","うもう","うやまう","うよく","うらがえす","うらぐち","うらない","うりあげ","うりきれ","うるさい","うれしい","うれゆき","うれる","うろこ","うわき","うわさ","うんこう","うんちん","うんてん","うんどう","えいえん","えいが","えいきょう","えいご","えいせい","えいぶん","えいよう","えいわ","えおり","えがお","えがく","えきたい","えくせる","えしゃく","えすて","えつらん","えのぐ","えほうまき","えほん","えまき","えもじ","えもの","えらい","えらぶ","えりあ","えんえん","えんかい","えんぎ","えんげき","えんしゅう","えんぜつ","えんそく","えんちょう","えんとつ","おいかける","おいこす","おいしい","おいつく","おうえん","おうさま","おうじ","おうせつ","おうたい","おうふく","おうべい","おうよう","おえる","おおい","おおう","おおどおり","おおや","おおよそ","おかえり","おかず","おがむ","おかわり","おぎなう","おきる","おくさま","おくじょう","おくりがな","おくる","おくれる","おこす","おこなう","おこる","おさえる","おさない","おさめる","おしいれ","おしえる","おじぎ","おじさん","おしゃれ","おそらく","おそわる","おたがい","おたく","おだやか","おちつく","おっと","おつり","おでかけ","おとしもの","おとなしい","おどり","おどろかす","おばさん","おまいり","おめでとう","おもいで","おもう","おもたい","おもちゃ","おやつ","おやゆび","およぼす","おらんだ","おろす","おんがく","おんけい","おんしゃ","おんせん","おんだん","おんちゅう","おんどけい","かあつ","かいが","がいき","がいけん","がいこう","かいさつ","かいしゃ","かいすいよく","かいぜん","かいぞうど","かいつう","かいてん","かいとう","かいふく","がいへき","かいほう","かいよう","がいらい","かいわ","かえる","かおり","かかえる","かがく","かがし","かがみ","かくご","かくとく","かざる","がぞう","かたい","かたち","がちょう","がっきゅう","がっこう","がっさん","がっしょう","かなざわし","かのう","がはく","かぶか","かほう","かほご","かまう","かまぼこ","かめれおん","かゆい","かようび","からい","かるい","かろう","かわく","かわら","がんか","かんけい","かんこう","かんしゃ","かんそう","かんたん","かんち","がんばる","きあい","きあつ","きいろ","ぎいん","きうい","きうん","きえる","きおう","きおく","きおち","きおん","きかい","きかく","きかんしゃ","ききて","きくばり","きくらげ","きけんせい","きこう","きこえる","きこく","きさい","きさく","きさま","きさらぎ","ぎじかがく","ぎしき","ぎじたいけん","ぎじにってい","ぎじゅつしゃ","きすう","きせい","きせき","きせつ","きそう","きぞく","きぞん","きたえる","きちょう","きつえん","ぎっちり","きつつき","きつね","きてい","きどう","きどく","きない","きなが","きなこ","きぬごし","きねん","きのう","きのした","きはく","きびしい","きひん","きふく","きぶん","きぼう","きほん","きまる","きみつ","きむずかしい","きめる","きもだめし","きもち","きもの","きゃく","きやく","ぎゅうにく","きよう","きょうりゅう","きらい","きらく","きりん","きれい","きれつ","きろく","ぎろん","きわめる","ぎんいろ","きんかくじ","きんじょ","きんようび","ぐあい","くいず","くうかん","くうき","くうぐん","くうこう","ぐうせい","くうそう","ぐうたら","くうふく","くうぼ","くかん","くきょう","くげん","ぐこう","くさい","くさき","くさばな","くさる","くしゃみ","くしょう","くすのき","くすりゆび","くせげ","くせん","ぐたいてき","くださる","くたびれる","くちこみ","くちさき","くつした","ぐっすり","くつろぐ","くとうてん","くどく","くなん","くねくね","くのう","くふう","くみあわせ","くみたてる","くめる","くやくしょ","くらす","くらべる","くるま","くれる","くろう","くわしい","ぐんかん","ぐんしょく","ぐんたい","ぐんて","けあな","けいかく","けいけん","けいこ","けいさつ","げいじゅつ","けいたい","げいのうじん","けいれき","けいろ","けおとす","けおりもの","げきか","げきげん","げきだん","げきちん","げきとつ","げきは","げきやく","げこう","げこくじょう","げざい","けさき","げざん","けしき","けしごむ","けしょう","げすと","けたば","けちゃっぷ","けちらす","けつあつ","けつい","けつえき","けっこん","けつじょ","けっせき","けってい","けつまつ","げつようび","げつれい","けつろん","げどく","けとばす","けとる","けなげ","けなす","けなみ","けぬき","げねつ","けねん","けはい","げひん","けぶかい","げぼく","けまり","けみかる","けむし","けむり","けもの","けらい","けろけろ","けわしい","けんい","けんえつ","けんお","けんか","げんき","けんげん","けんこう","けんさく","けんしゅう","けんすう","げんそう","けんちく","けんてい","けんとう","けんない","けんにん","げんぶつ","けんま","けんみん","けんめい","けんらん","けんり","こあくま","こいぬ","こいびと","ごうい","こうえん","こうおん","こうかん","ごうきゅう","ごうけい","こうこう","こうさい","こうじ","こうすい","ごうせい","こうそく","こうたい","こうちゃ","こうつう","こうてい","こうどう","こうない","こうはい","ごうほう","ごうまん","こうもく","こうりつ","こえる","こおり","ごかい","ごがつ","ごかん","こくご","こくさい","こくとう","こくない","こくはく","こぐま","こけい","こける","ここのか","こころ","こさめ","こしつ","こすう","こせい","こせき","こぜん","こそだて","こたい","こたえる","こたつ","こちょう","こっか","こつこつ","こつばん","こつぶ","こてい","こてん","ことがら","ことし","ことば","ことり","こなごな","こねこね","このまま","このみ","このよ","ごはん","こひつじ","こふう","こふん","こぼれる","ごまあぶら","こまかい","ごますり","こまつな","こまる","こむぎこ","こもじ","こもち","こもの","こもん","こやく","こやま","こゆう","こゆび","こよい","こよう","こりる","これくしょん","ころっけ","こわもて","こわれる","こんいん","こんかい","こんき","こんしゅう","こんすい","こんだて","こんとん","こんなん","こんびに","こんぽん","こんまけ","こんや","こんれい","こんわく","ざいえき","さいかい","さいきん","ざいげん","ざいこ","さいしょ","さいせい","ざいたく","ざいちゅう","さいてき","ざいりょう","さうな","さかいし","さがす","さかな","さかみち","さがる","さぎょう","さくし","さくひん","さくら","さこく","さこつ","さずかる","ざせき","さたん","さつえい","ざつおん","ざっか","ざつがく","さっきょく","ざっし","さつじん","ざっそう","さつたば","さつまいも","さてい","さといも","さとう","さとおや","さとし","さとる","さのう","さばく","さびしい","さべつ","さほう","さほど","さます","さみしい","さみだれ","さむけ","さめる","さやえんどう","さゆう","さよう","さよく","さらだ","ざるそば","さわやか","さわる","さんいん","さんか","さんきゃく","さんこう","さんさい","ざんしょ","さんすう","さんせい","さんそ","さんち","さんま","さんみ","さんらん","しあい","しあげ","しあさって","しあわせ","しいく","しいん","しうち","しえい","しおけ","しかい","しかく","じかん","しごと","しすう","じだい","したうけ","したぎ","したて","したみ","しちょう","しちりん","しっかり","しつじ","しつもん","してい","してき","してつ","じてん","じどう","しなぎれ","しなもの","しなん","しねま","しねん","しのぐ","しのぶ","しはい","しばかり","しはつ","しはらい","しはん","しひょう","しふく","じぶん","しへい","しほう","しほん","しまう","しまる","しみん","しむける","じむしょ","しめい","しめる","しもん","しゃいん","しゃうん","しゃおん","じゃがいも","しやくしょ","しゃくほう","しゃけん","しゃこ","しゃざい","しゃしん","しゃせん","しゃそう","しゃたい","しゃちょう","しゃっきん","じゃま","しゃりん","しゃれい","じゆう","じゅうしょ","しゅくはく","じゅしん","しゅっせき","しゅみ","しゅらば","じゅんばん","しょうかい","しょくたく","しょっけん","しょどう","しょもつ","しらせる","しらべる","しんか","しんこう","じんじゃ","しんせいじ","しんちく","しんりん","すあげ","すあし","すあな","ずあん","すいえい","すいか","すいとう","ずいぶん","すいようび","すうがく","すうじつ","すうせん","すおどり","すきま","すくう","すくない","すける","すごい","すこし","ずさん","すずしい","すすむ","すすめる","すっかり","ずっしり","ずっと","すてき","すてる","すねる","すのこ","すはだ","すばらしい","ずひょう","ずぶぬれ","すぶり","すふれ","すべて","すべる","ずほう","すぼん","すまい","すめし","すもう","すやき","すらすら","するめ","すれちがう","すろっと","すわる","すんぜん","すんぽう","せあぶら","せいかつ","せいげん","せいじ","せいよう","せおう","せかいかん","せきにん","せきむ","せきゆ","せきらんうん","せけん","せこう","せすじ","せたい","せたけ","せっかく","せっきゃく","ぜっく","せっけん","せっこつ","せっさたくま","せつぞく","せつだん","せつでん","せっぱん","せつび","せつぶん","せつめい","せつりつ","せなか","せのび","せはば","せびろ","せぼね","せまい","せまる","せめる","せもたれ","せりふ","ぜんあく","せんい","せんえい","せんか","せんきょ","せんく","せんげん","ぜんご","せんさい","せんしゅ","せんすい","せんせい","せんぞ","せんたく","せんちょう","せんてい","せんとう","せんぬき","せんねん","せんぱい","ぜんぶ","ぜんぽう","せんむ","せんめんじょ","せんもん","せんやく","せんゆう","せんよう","ぜんら","ぜんりゃく","せんれい","せんろ","そあく","そいとげる","そいね","そうがんきょう","そうき","そうご","そうしん","そうだん","そうなん","そうび","そうめん","そうり","そえもの","そえん","そがい","そげき","そこう","そこそこ","そざい","そしな","そせい","そせん","そそぐ","そだてる","そつう","そつえん","そっかん","そつぎょう","そっけつ","そっこう","そっせん","そっと","そとがわ","そとづら","そなえる","そなた","そふぼ","そぼく","そぼろ","そまつ","そまる","そむく","そむりえ","そめる","そもそも","そよかぜ","そらまめ","そろう","そんかい","そんけい","そんざい","そんしつ","そんぞく","そんちょう","ぞんび","ぞんぶん","そんみん","たあい","たいいん","たいうん","たいえき","たいおう","だいがく","たいき","たいぐう","たいけん","たいこ","たいざい","だいじょうぶ","だいすき","たいせつ","たいそう","だいたい","たいちょう","たいてい","だいどころ","たいない","たいねつ","たいのう","たいはん","だいひょう","たいふう","たいへん","たいほ","たいまつばな","たいみんぐ","たいむ","たいめん","たいやき","たいよう","たいら","たいりょく","たいる","たいわん","たうえ","たえる","たおす","たおる","たおれる","たかい","たかね","たきび","たくさん","たこく","たこやき","たさい","たしざん","だじゃれ","たすける","たずさわる","たそがれ","たたかう","たたく","ただしい","たたみ","たちばな","だっかい","だっきゃく","だっこ","だっしゅつ","だったい","たてる","たとえる","たなばた","たにん","たぬき","たのしみ","たはつ","たぶん","たべる","たぼう","たまご","たまる","だむる","ためいき","ためす","ためる","たもつ","たやすい","たよる","たらす","たりきほんがん","たりょう","たりる","たると","たれる","たれんと","たろっと","たわむれる","だんあつ","たんい","たんおん","たんか","たんき","たんけん","たんご","たんさん","たんじょうび","だんせい","たんそく","たんたい","だんち","たんてい","たんとう","だんな","たんにん","だんねつ","たんのう","たんぴん","だんぼう","たんまつ","たんめい","だんれつ","だんろ","だんわ","ちあい","ちあん","ちいき","ちいさい","ちえん","ちかい","ちから","ちきゅう","ちきん","ちけいず","ちけん","ちこく","ちさい","ちしき","ちしりょう","ちせい","ちそう","ちたい","ちたん","ちちおや","ちつじょ","ちてき","ちてん","ちぬき","ちぬり","ちのう","ちひょう","ちへいせん","ちほう","ちまた","ちみつ","ちみどろ","ちめいど","ちゃんこなべ","ちゅうい","ちゆりょく","ちょうし","ちょさくけん","ちらし","ちらみ","ちりがみ","ちりょう","ちるど","ちわわ","ちんたい","ちんもく","ついか","ついたち","つうか","つうじょう","つうはん","つうわ","つかう","つかれる","つくね","つくる","つけね","つける","つごう","つたえる","つづく","つつじ","つつむ","つとめる","つながる","つなみ","つねづね","つのる","つぶす","つまらない","つまる","つみき","つめたい","つもり","つもる","つよい","つるぼ","つるみく","つわもの","つわり","てあし","てあて","てあみ","ていおん","ていか","ていき","ていけい","ていこく","ていさつ","ていし","ていせい","ていたい","ていど","ていねい","ていひょう","ていへん","ていぼう","てうち","ておくれ","てきとう","てくび","でこぼこ","てさぎょう","てさげ","てすり","てそう","てちがい","てちょう","てつがく","てつづき","でっぱ","てつぼう","てつや","でぬかえ","てぬき","てぬぐい","てのひら","てはい","てぶくろ","てふだ","てほどき","てほん","てまえ","てまきずし","てみじか","てみやげ","てらす","てれび","てわけ","てわたし","でんあつ","てんいん","てんかい","てんき","てんぐ","てんけん","てんごく","てんさい","てんし","てんすう","でんち","てんてき","てんとう","てんない","てんぷら","てんぼうだい","てんめつ","てんらんかい","でんりょく","でんわ","どあい","といれ","どうかん","とうきゅう","どうぐ","とうし","とうむぎ","とおい","とおか","とおく","とおす","とおる","とかい","とかす","ときおり","ときどき","とくい","とくしゅう","とくてん","とくに","とくべつ","とけい","とける","とこや","とさか","としょかん","とそう","とたん","とちゅう","とっきゅう","とっくん","とつぜん","とつにゅう","とどける","ととのえる","とない","となえる","となり","とのさま","とばす","どぶがわ","とほう","とまる","とめる","ともだち","ともる","どようび","とらえる","とんかつ","どんぶり","ないかく","ないこう","ないしょ","ないす","ないせん","ないそう","なおす","ながい","なくす","なげる","なこうど","なさけ","なたでここ","なっとう","なつやすみ","ななおし","なにごと","なにもの","なにわ","なのか","なふだ","なまいき","なまえ","なまみ","なみだ","なめらか","なめる","なやむ","ならう","ならび","ならぶ","なれる","なわとび","なわばり","にあう","にいがた","にうけ","におい","にかい","にがて","にきび","にくしみ","にくまん","にげる","にさんかたんそ","にしき","にせもの","にちじょう","にちようび","にっか","にっき","にっけい","にっこう","にっさん","にっしょく","にっすう","にっせき","にってい","になう","にほん","にまめ","にもつ","にやり","にゅういん","にりんしゃ","にわとり","にんい","にんか","にんき","にんげん","にんしき","にんずう","にんそう","にんたい","にんち","にんてい","にんにく","にんぷ","にんまり","にんむ","にんめい","にんよう","ぬいくぎ","ぬかす","ぬぐいとる","ぬぐう","ぬくもり","ぬすむ","ぬまえび","ぬめり","ぬらす","ぬんちゃく","ねあげ","ねいき","ねいる","ねいろ","ねぐせ","ねくたい","ねくら","ねこぜ","ねこむ","ねさげ","ねすごす","ねそべる","ねだん","ねつい","ねっしん","ねつぞう","ねったいぎょ","ねぶそく","ねふだ","ねぼう","ねほりはほり","ねまき","ねまわし","ねみみ","ねむい","ねむたい","ねもと","ねらう","ねわざ","ねんいり","ねんおし","ねんかん","ねんきん","ねんぐ","ねんざ","ねんし","ねんちゃく","ねんど","ねんぴ","ねんぶつ","ねんまつ","ねんりょう","ねんれい","のいず","のおづま","のがす","のきなみ","のこぎり","のこす","のこる","のせる","のぞく","のぞむ","のたまう","のちほど","のっく","のばす","のはら","のべる","のぼる","のみもの","のやま","のらいぬ","のらねこ","のりもの","のりゆき","のれん","のんき","ばあい","はあく","ばあさん","ばいか","ばいく","はいけん","はいご","はいしん","はいすい","はいせん","はいそう","はいち","ばいばい","はいれつ","はえる","はおる","はかい","ばかり","はかる","はくしゅ","はけん","はこぶ","はさみ","はさん","はしご","ばしょ","はしる","はせる","ぱそこん","はそん","はたん","はちみつ","はつおん","はっかく","はづき","はっきり","はっくつ","はっけん","はっこう","はっさん","はっしん","はったつ","はっちゅう","はってん","はっぴょう","はっぽう","はなす","はなび","はにかむ","はぶらし","はみがき","はむかう","はめつ","はやい","はやし","はらう","はろうぃん","はわい","はんい","はんえい","はんおん","はんかく","はんきょう","ばんぐみ","はんこ","はんしゃ","はんすう","はんだん","ぱんち","ぱんつ","はんてい","はんとし","はんのう","はんぱ","はんぶん","はんぺん","はんぼうき","はんめい","はんらん","はんろん","ひいき","ひうん","ひえる","ひかく","ひかり","ひかる","ひかん","ひくい","ひけつ","ひこうき","ひこく","ひさい","ひさしぶり","ひさん","びじゅつかん","ひしょ","ひそか","ひそむ","ひたむき","ひだり","ひたる","ひつぎ","ひっこし","ひっし","ひつじゅひん","ひっす","ひつぜん","ぴったり","ぴっちり","ひつよう","ひてい","ひとごみ","ひなまつり","ひなん","ひねる","ひはん","ひびく","ひひょう","ひほう","ひまわり","ひまん","ひみつ","ひめい","ひめじし","ひやけ","ひやす","ひよう","びょうき","ひらがな","ひらく","ひりつ","ひりょう","ひるま","ひるやすみ","ひれい","ひろい","ひろう","ひろき","ひろゆき","ひんかく","ひんけつ","ひんこん","ひんしゅ","ひんそう","ぴんち","ひんぱん","びんぼう","ふあん","ふいうち","ふうけい","ふうせん","ぷうたろう","ふうとう","ふうふ","ふえる","ふおん","ふかい","ふきん","ふくざつ","ふくぶくろ","ふこう","ふさい","ふしぎ","ふじみ","ふすま","ふせい","ふせぐ","ふそく","ぶたにく","ふたん","ふちょう","ふつう","ふつか","ふっかつ","ふっき","ふっこく","ぶどう","ふとる","ふとん","ふのう","ふはい","ふひょう","ふへん","ふまん","ふみん","ふめつ","ふめん","ふよう","ふりこ","ふりる","ふるい","ふんいき","ぶんがく","ぶんぐ","ふんしつ","ぶんせき","ふんそう","ぶんぽう","へいあん","へいおん","へいがい","へいき","へいげん","へいこう","へいさ","へいしゃ","へいせつ","へいそ","へいたく","へいてん","へいねつ","へいわ","へきが","へこむ","べにいろ","べにしょうが","へらす","へんかん","べんきょう","べんごし","へんさい","へんたい","べんり","ほあん","ほいく","ぼうぎょ","ほうこく","ほうそう","ほうほう","ほうもん","ほうりつ","ほえる","ほおん","ほかん","ほきょう","ぼきん","ほくろ","ほけつ","ほけん","ほこう","ほこる","ほしい","ほしつ","ほしゅ","ほしょう","ほせい","ほそい","ほそく","ほたて","ほたる","ぽちぶくろ","ほっきょく","ほっさ","ほったん","ほとんど","ほめる","ほんい","ほんき","ほんけ","ほんしつ","ほんやく","まいにち","まかい","まかせる","まがる","まける","まこと","まさつ","まじめ","ますく","まぜる","まつり","まとめ","まなぶ","まぬけ","まねく","まほう","まもる","まゆげ","まよう","まろやか","まわす","まわり","まわる","まんが","まんきつ","まんぞく","まんなか","みいら","みうち","みえる","みがく","みかた","みかん","みけん","みこん","みじかい","みすい","みすえる","みせる","みっか","みつかる","みつける","みてい","みとめる","みなと","みなみかさい","みねらる","みのう","みのがす","みほん","みもと","みやげ","みらい","みりょく","みわく","みんか","みんぞく","むいか","むえき","むえん","むかい","むかう","むかえ","むかし","むぎちゃ","むける","むげん","むさぼる","むしあつい","むしば","むじゅん","むしろ","むすう","むすこ","むすぶ","むすめ","むせる","むせん","むちゅう","むなしい","むのう","むやみ","むよう","むらさき","むりょう","むろん","めいあん","めいうん","めいえん","めいかく","めいきょく","めいさい","めいし","めいそう","めいぶつ","めいれい","めいわく","めぐまれる","めざす","めした","めずらしい","めだつ","めまい","めやす","めんきょ","めんせき","めんどう","もうしあげる","もうどうけん","もえる","もくし","もくてき","もくようび","もちろん","もどる","もらう","もんく","もんだい","やおや","やける","やさい","やさしい","やすい","やすたろう","やすみ","やせる","やそう","やたい","やちん","やっと","やっぱり","やぶる","やめる","ややこしい","やよい","やわらかい","ゆうき","ゆうびんきょく","ゆうべ","ゆうめい","ゆけつ","ゆしゅつ","ゆせん","ゆそう","ゆたか","ゆちゃく","ゆでる","ゆにゅう","ゆびわ","ゆらい","ゆれる","ようい","ようか","ようきゅう","ようじ","ようす","ようちえん","よかぜ","よかん","よきん","よくせい","よくぼう","よけい","よごれる","よさん","よしゅう","よそう","よそく","よっか","よてい","よどがわく","よねつ","よやく","よゆう","よろこぶ","よろしい","らいう","らくがき","らくご","らくさつ","らくだ","らしんばん","らせん","らぞく","らたい","らっか","られつ","りえき","りかい","りきさく","りきせつ","りくぐん","りくつ","りけん","りこう","りせい","りそう","りそく","りてん","りねん","りゆう","りゅうがく","りよう","りょうり","りょかん","りょくちゃ","りょこう","りりく","りれき","りろん","りんご","るいけい","るいさい","るいじ","るいせき","るすばん","るりがわら","れいかん","れいぎ","れいせい","れいぞうこ","れいとう","れいぼう","れきし","れきだい","れんあい","れんけい","れんこん","れんさい","れんしゅう","れんぞく","れんらく","ろうか","ろうご","ろうじん","ろうそく","ろくが","ろこつ","ろじうら","ろしゅつ","ろせん","ろてん","ろめん","ろれつ","ろんぎ","ろんぱ","ろんぶん","ろんり","わかす","わかめ","わかやま","わかれる","わしつ","わじまし","わすれもの","わらう","われる"]')},function(e){e.exports=JSON.parse('["가격","가끔","가난","가능","가득","가르침","가뭄","가방","가상","가슴","가운데","가을","가이드","가입","가장","가정","가족","가죽","각오","각자","간격","간부","간섭","간장","간접","간판","갈등","갈비","갈색","갈증","감각","감기","감소","감수성","감자","감정","갑자기","강남","강당","강도","강력히","강변","강북","강사","강수량","강아지","강원도","강의","강제","강조","같이","개구리","개나리","개방","개별","개선","개성","개인","객관적","거실","거액","거울","거짓","거품","걱정","건강","건물","건설","건조","건축","걸음","검사","검토","게시판","게임","겨울","견해","결과","결국","결론","결석","결승","결심","결정","결혼","경계","경고","경기","경력","경복궁","경비","경상도","경영","경우","경쟁","경제","경주","경찰","경치","경향","경험","계곡","계단","계란","계산","계속","계약","계절","계층","계획","고객","고구려","고궁","고급","고등학생","고무신","고민","고양이","고장","고전","고집","고춧가루","고통","고향","곡식","골목","골짜기","골프","공간","공개","공격","공군","공급","공기","공동","공무원","공부","공사","공식","공업","공연","공원","공장","공짜","공책","공통","공포","공항","공휴일","과목","과일","과장","과정","과학","관객","관계","관광","관념","관람","관련","관리","관습","관심","관점","관찰","광경","광고","광장","광주","괴로움","굉장히","교과서","교문","교복","교실","교양","교육","교장","교직","교통","교환","교훈","구경","구름","구멍","구별","구분","구석","구성","구속","구역","구입","구청","구체적","국가","국기","국내","국립","국물","국민","국수","국어","국왕","국적","국제","국회","군대","군사","군인","궁극적","권리","권위","권투","귀국","귀신","규정","규칙","균형","그날","그냥","그늘","그러나","그룹","그릇","그림","그제서야","그토록","극복","극히","근거","근교","근래","근로","근무","근본","근원","근육","근처","글씨","글자","금강산","금고","금년","금메달","금액","금연","금요일","금지","긍정적","기간","기관","기념","기능","기독교","기둥","기록","기름","기법","기본","기분","기쁨","기숙사","기술","기억","기업","기온","기운","기원","기적","기준","기침","기혼","기획","긴급","긴장","길이","김밥","김치","김포공항","깍두기","깜빡","깨달음","깨소금","껍질","꼭대기","꽃잎","나들이","나란히","나머지","나물","나침반","나흘","낙엽","난방","날개","날씨","날짜","남녀","남대문","남매","남산","남자","남편","남학생","낭비","낱말","내년","내용","내일","냄비","냄새","냇물","냉동","냉면","냉방","냉장고","넥타이","넷째","노동","노란색","노력","노인","녹음","녹차","녹화","논리","논문","논쟁","놀이","농구","농담","농민","농부","농업","농장","농촌","높이","눈동자","눈물","눈썹","뉴욕","느낌","늑대","능동적","능력","다방","다양성","다음","다이어트","다행","단계","단골","단독","단맛","단순","단어","단위","단점","단체","단추","단편","단풍","달걀","달러","달력","달리","닭고기","담당","담배","담요","담임","답변","답장","당근","당분간","당연히","당장","대규모","대낮","대단히","대답","대도시","대략","대량","대륙","대문","대부분","대신","대응","대장","대전","대접","대중","대책","대출","대충","대통령","대학","대한민국","대합실","대형","덩어리","데이트","도대체","도덕","도둑","도망","도서관","도심","도움","도입","도자기","도저히","도전","도중","도착","독감","독립","독서","독일","독창적","동화책","뒷모습","뒷산","딸아이","마누라","마늘","마당","마라톤","마련","마무리","마사지","마약","마요네즈","마을","마음","마이크","마중","마지막","마찬가지","마찰","마흔","막걸리","막내","막상","만남","만두","만세","만약","만일","만점","만족","만화","많이","말기","말씀","말투","맘대로","망원경","매년","매달","매력","매번","매스컴","매일","매장","맥주","먹이","먼저","먼지","멀리","메일","며느리","며칠","면담","멸치","명단","명령","명예","명의","명절","명칭","명함","모금","모니터","모델","모든","모범","모습","모양","모임","모조리","모집","모퉁이","목걸이","목록","목사","목소리","목숨","목적","목표","몰래","몸매","몸무게","몸살","몸속","몸짓","몸통","몹시","무관심","무궁화","무더위","무덤","무릎","무슨","무엇","무역","무용","무조건","무지개","무척","문구","문득","문법","문서","문제","문학","문화","물가","물건","물결","물고기","물론","물리학","물음","물질","물체","미국","미디어","미사일","미술","미역","미용실","미움","미인","미팅","미혼","민간","민족","민주","믿음","밀가루","밀리미터","밑바닥","바가지","바구니","바나나","바늘","바닥","바닷가","바람","바이러스","바탕","박물관","박사","박수","반대","반드시","반말","반발","반성","반응","반장","반죽","반지","반찬","받침","발가락","발걸음","발견","발달","발레","발목","발바닥","발생","발음","발자국","발전","발톱","발표","밤하늘","밥그릇","밥맛","밥상","밥솥","방금","방면","방문","방바닥","방법","방송","방식","방안","방울","방지","방학","방해","방향","배경","배꼽","배달","배드민턴","백두산","백색","백성","백인","백제","백화점","버릇","버섯","버튼","번개","번역","번지","번호","벌금","벌레","벌써","범위","범인","범죄","법률","법원","법적","법칙","베이징","벨트","변경","변동","변명","변신","변호사","변화","별도","별명","별일","병실","병아리","병원","보관","보너스","보라색","보람","보름","보상","보안","보자기","보장","보전","보존","보통","보편적","보험","복도","복사","복숭아","복습","볶음","본격적","본래","본부","본사","본성","본인","본질","볼펜","봉사","봉지","봉투","부근","부끄러움","부담","부동산","부문","부분","부산","부상","부엌","부인","부작용","부장","부정","부족","부지런히","부친","부탁","부품","부회장","북부","북한","분노","분량","분리","분명","분석","분야","분위기","분필","분홍색","불고기","불과","불교","불꽃","불만","불법","불빛","불안","불이익","불행","브랜드","비극","비난","비닐","비둘기","비디오","비로소","비만","비명","비밀","비바람","비빔밥","비상","비용","비율","비중","비타민","비판","빌딩","빗물","빗방울","빗줄기","빛깔","빨간색","빨래","빨리","사건","사계절","사나이","사냥","사람","사랑","사립","사모님","사물","사방","사상","사생활","사설","사슴","사실","사업","사용","사월","사장","사전","사진","사촌","사춘기","사탕","사투리","사흘","산길","산부인과","산업","산책","살림","살인","살짝","삼계탕","삼국","삼십","삼월","삼촌","상관","상금","상대","상류","상반기","상상","상식","상업","상인","상자","상점","상처","상추","상태","상표","상품","상황","새벽","색깔","색연필","생각","생명","생물","생방송","생산","생선","생신","생일","생활","서랍","서른","서명","서민","서비스","서양","서울","서적","서점","서쪽","서클","석사","석유","선거","선물","선배","선생","선수","선원","선장","선전","선택","선풍기","설거지","설날","설렁탕","설명","설문","설사","설악산","설치","설탕","섭씨","성공","성당","성명","성별","성인","성장","성적","성질","성함","세금","세미나","세상","세월","세종대왕","세탁","센터","센티미터","셋째","소규모","소극적","소금","소나기","소년","소득","소망","소문","소설","소속","소아과","소용","소원","소음","소중히","소지품","소질","소풍","소형","속담","속도","속옷","손가락","손길","손녀","손님","손등","손목","손뼉","손실","손질","손톱","손해","솔직히","솜씨","송아지","송이","송편","쇠고기","쇼핑","수건","수년","수단","수돗물","수동적","수면","수명","수박","수상","수석","수술","수시로","수업","수염","수영","수입","수준","수집","수출","수컷","수필","수학","수험생","수화기","숙녀","숙소","숙제","순간","순서","순수","순식간","순위","숟가락","술병","술집","숫자","스님","스물","스스로","스승","스웨터","스위치","스케이트","스튜디오","스트레스","스포츠","슬쩍","슬픔","습관","습기","승객","승리","승부","승용차","승진","시각","시간","시골","시금치","시나리오","시댁","시리즈","시멘트","시민","시부모","시선","시설","시스템","시아버지","시어머니","시월","시인","시일","시작","시장","시절","시점","시중","시즌","시집","시청","시합","시험","식구","식기","식당","식량","식료품","식물","식빵","식사","식생활","식초","식탁","식품","신고","신규","신념","신문","신발","신비","신사","신세","신용","신제품","신청","신체","신화","실감","실내","실력","실례","실망","실수","실습","실시","실장","실정","실질적","실천","실체","실컷","실태","실패","실험","실현","심리","심부름","심사","심장","심정","심판","쌍둥이","씨름","씨앗","아가씨","아나운서","아드님","아들","아쉬움","아스팔트","아시아","아울러","아저씨","아줌마","아직","아침","아파트","아프리카","아픔","아홉","아흔","악기","악몽","악수","안개","안경","안과","안내","안녕","안동","안방","안부","안주","알루미늄","알코올","암시","암컷","압력","앞날","앞문","애인","애정","액수","앨범","야간","야단","야옹","약간","약국","약속","약수","약점","약품","약혼녀","양념","양력","양말","양배추","양주","양파","어둠","어려움","어른","어젯밤","어쨌든","어쩌다가","어쩐지","언니","언덕","언론","언어","얼굴","얼른","얼음","얼핏","엄마","업무","업종","업체","엉덩이","엉망","엉터리","엊그제","에너지","에어컨","엔진","여건","여고생","여관","여군","여권","여대생","여덟","여동생","여든","여론","여름","여섯","여성","여왕","여인","여전히","여직원","여학생","여행","역사","역시","역할","연결","연구","연극","연기","연락","연설","연세","연속","연습","연애","연예인","연인","연장","연주","연출","연필","연합","연휴","열기","열매","열쇠","열심히","열정","열차","열흘","염려","엽서","영국","영남","영상","영양","영역","영웅","영원히","영하","영향","영혼","영화","옆구리","옆방","옆집","예감","예금","예방","예산","예상","예선","예술","예습","예식장","예약","예전","예절","예정","예컨대","옛날","오늘","오락","오랫동안","오렌지","오로지","오른발","오븐","오십","오염","오월","오전","오직","오징어","오페라","오피스텔","오히려","옥상","옥수수","온갖","온라인","온몸","온종일","온통","올가을","올림픽","올해","옷차림","와이셔츠","와인","완성","완전","왕비","왕자","왜냐하면","왠지","외갓집","외국","외로움","외삼촌","외출","외침","외할머니","왼발","왼손","왼쪽","요금","요일","요즘","요청","용기","용서","용어","우산","우선","우승","우연히","우정","우체국","우편","운동","운명","운반","운전","운행","울산","울음","움직임","웃어른","웃음","워낙","원고","원래","원서","원숭이","원인","원장","원피스","월급","월드컵","월세","월요일","웨이터","위반","위법","위성","위원","위험","위협","윗사람","유난히","유럽","유명","유물","유산","유적","유치원","유학","유행","유형","육군","육상","육십","육체","은행","음력","음료","음반","음성","음식","음악","음주","의견","의논","의문","의복","의식","의심","의외로","의욕","의원","의학","이것","이곳","이념","이놈","이달","이대로","이동","이렇게","이력서","이론적","이름","이민","이발소","이별","이불","이빨","이상","이성","이슬","이야기","이용","이웃","이월","이윽고","이익","이전","이중","이튿날","이틀","이혼","인간","인격","인공","인구","인근","인기","인도","인류","인물","인생","인쇄","인연","인원","인재","인종","인천","인체","인터넷","인하","인형","일곱","일기","일단","일대","일등","일반","일본","일부","일상","일생","일손","일요일","일월","일정","일종","일주일","일찍","일체","일치","일행","일회용","임금","임무","입대","입력","입맛","입사","입술","입시","입원","입장","입학","자가용","자격","자극","자동","자랑","자부심","자식","자신","자연","자원","자율","자전거","자정","자존심","자판","작가","작년","작성","작업","작용","작은딸","작품","잔디","잔뜩","잔치","잘못","잠깐","잠수함","잠시","잠옷","잠자리","잡지","장관","장군","장기간","장래","장례","장르","장마","장면","장모","장미","장비","장사","장소","장식","장애인","장인","장점","장차","장학금","재능","재빨리","재산","재생","재작년","재정","재채기","재판","재학","재활용","저것","저고리","저곳","저녁","저런","저렇게","저번","저울","저절로","저축","적극","적당히","적성","적용","적응","전개","전공","전기","전달","전라도","전망","전문","전반","전부","전세","전시","전용","전자","전쟁","전주","전철","전체","전통","전혀","전후","절대","절망","절반","절약","절차","점검","점수","점심","점원","점점","점차","접근","접시","접촉","젓가락","정거장","정도","정류장","정리","정말","정면","정문","정반대","정보","정부","정비","정상","정성","정오","정원","정장","정지","정치","정확히","제공","제과점","제대로","제목","제발","제법","제삿날","제안","제일","제작","제주도","제출","제품","제한","조각","조건","조금","조깅","조명","조미료","조상","조선","조용히","조절","조정","조직","존댓말","존재","졸업","졸음","종교","종로","종류","종소리","종업원","종종","종합","좌석","죄인","주관적","주름","주말","주머니","주먹","주문","주민","주방","주변","주식","주인","주일","주장","주전자","주택","준비","줄거리","줄기","줄무늬","중간","중계방송","중국","중년","중단","중독","중반","중부","중세","중소기업","중순","중앙","중요","중학교","즉석","즉시","즐거움","증가","증거","증권","증상","증세","지각","지갑","지경","지극히","지금","지급","지능","지름길","지리산","지방","지붕","지식","지역","지우개","지원","지적","지점","지진","지출","직선","직업","직원","직장","진급","진동","진로","진료","진리","진짜","진찰","진출","진통","진행","질문","질병","질서","짐작","집단","집안","집중","짜증","찌꺼기","차남","차라리","차량","차림","차별","차선","차츰","착각","찬물","찬성","참가","참기름","참새","참석","참여","참외","참조","찻잔","창가","창고","창구","창문","창밖","창작","창조","채널","채점","책가방","책방","책상","책임","챔피언","처벌","처음","천국","천둥","천장","천재","천천히","철도","철저히","철학","첫날","첫째","청년","청바지","청소","청춘","체계","체력","체온","체육","체중","체험","초등학생","초반","초밥","초상화","초순","초여름","초원","초저녁","초점","초청","초콜릿","촛불","총각","총리","총장","촬영","최근","최상","최선","최신","최악","최종","추석","추억","추진","추천","추측","축구","축소","축제","축하","출근","출발","출산","출신","출연","출입","출장","출판","충격","충고","충돌","충분히","충청도","취업","취직","취향","치약","친구","친척","칠십","칠월","칠판","침대","침묵","침실","칫솔","칭찬","카메라","카운터","칼국수","캐릭터","캠퍼스","캠페인","커튼","컨디션","컬러","컴퓨터","코끼리","코미디","콘서트","콜라","콤플렉스","콩나물","쾌감","쿠데타","크림","큰길","큰딸","큰소리","큰아들","큰어머니","큰일","큰절","클래식","클럽","킬로","타입","타자기","탁구","탁자","탄생","태권도","태양","태풍","택시","탤런트","터널","터미널","테니스","테스트","테이블","텔레비전","토론","토마토","토요일","통계","통과","통로","통신","통역","통일","통장","통제","통증","통합","통화","퇴근","퇴원","퇴직금","튀김","트럭","특급","특별","특성","특수","특징","특히","튼튼히","티셔츠","파란색","파일","파출소","판결","판단","판매","판사","팔십","팔월","팝송","패션","팩스","팩시밀리","팬티","퍼센트","페인트","편견","편의","편지","편히","평가","평균","평생","평소","평양","평일","평화","포스터","포인트","포장","포함","표면","표정","표준","표현","품목","품질","풍경","풍속","풍습","프랑스","프린터","플라스틱","피곤","피망","피아노","필름","필수","필요","필자","필통","핑계","하느님","하늘","하드웨어","하룻밤","하반기","하숙집","하순","하여튼","하지만","하천","하품","하필","학과","학교","학급","학기","학년","학력","학번","학부모","학비","학생","학술","학습","학용품","학원","학위","학자","학점","한계","한글","한꺼번에","한낮","한눈","한동안","한때","한라산","한마디","한문","한번","한복","한식","한여름","한쪽","할머니","할아버지","할인","함께","함부로","합격","합리적","항공","항구","항상","항의","해결","해군","해답","해당","해물","해석","해설","해수욕장","해안","핵심","핸드백","햄버거","햇볕","햇살","행동","행복","행사","행운","행위","향기","향상","향수","허락","허용","헬기","현관","현금","현대","현상","현실","현장","현재","현지","혈액","협력","형부","형사","형수","형식","형제","형태","형편","혜택","호기심","호남","호랑이","호박","호텔","호흡","혹시","홀로","홈페이지","홍보","홍수","홍차","화면","화분","화살","화요일","화장","화학","확보","확인","확장","확정","환갑","환경","환영","환율","환자","활기","활동","활발히","활용","활짝","회견","회관","회복","회색","회원","회장","회전","횟수","횡단보도","효율적","후반","후춧가루","훈련","훨씬","휴식","휴일","흉내","흐름","흑백","흑인","흔적","흔히","흥미","흥분","희곡","희망","희생","흰색","힘껏"]')},function(e){e.exports=JSON.parse('["ábaco","abdomen","abeja","abierto","abogado","abono","aborto","abrazo","abrir","abuelo","abuso","acabar","academia","acceso","acción","aceite","acelga","acento","aceptar","ácido","aclarar","acné","acoger","acoso","activo","acto","actriz","actuar","acudir","acuerdo","acusar","adicto","admitir","adoptar","adorno","aduana","adulto","aéreo","afectar","afición","afinar","afirmar","ágil","agitar","agonía","agosto","agotar","agregar","agrio","agua","agudo","águila","aguja","ahogo","ahorro","aire","aislar","ajedrez","ajeno","ajuste","alacrán","alambre","alarma","alba","álbum","alcalde","aldea","alegre","alejar","alerta","aleta","alfiler","alga","algodón","aliado","aliento","alivio","alma","almeja","almíbar","altar","alteza","altivo","alto","altura","alumno","alzar","amable","amante","amapola","amargo","amasar","ámbar","ámbito","ameno","amigo","amistad","amor","amparo","amplio","ancho","anciano","ancla","andar","andén","anemia","ángulo","anillo","ánimo","anís","anotar","antena","antiguo","antojo","anual","anular","anuncio","añadir","añejo","año","apagar","aparato","apetito","apio","aplicar","apodo","aporte","apoyo","aprender","aprobar","apuesta","apuro","arado","araña","arar","árbitro","árbol","arbusto","archivo","arco","arder","ardilla","arduo","área","árido","aries","armonía","arnés","aroma","arpa","arpón","arreglo","arroz","arruga","arte","artista","asa","asado","asalto","ascenso","asegurar","aseo","asesor","asiento","asilo","asistir","asno","asombro","áspero","astilla","astro","astuto","asumir","asunto","atajo","ataque","atar","atento","ateo","ático","atleta","átomo","atraer","atroz","atún","audaz","audio","auge","aula","aumento","ausente","autor","aval","avance","avaro","ave","avellana","avena","avestruz","avión","aviso","ayer","ayuda","ayuno","azafrán","azar","azote","azúcar","azufre","azul","baba","babor","bache","bahía","baile","bajar","balanza","balcón","balde","bambú","banco","banda","baño","barba","barco","barniz","barro","báscula","bastón","basura","batalla","batería","batir","batuta","baúl","bazar","bebé","bebida","bello","besar","beso","bestia","bicho","bien","bingo","blanco","bloque","blusa","boa","bobina","bobo","boca","bocina","boda","bodega","boina","bola","bolero","bolsa","bomba","bondad","bonito","bono","bonsái","borde","borrar","bosque","bote","botín","bóveda","bozal","bravo","brazo","brecha","breve","brillo","brinco","brisa","broca","broma","bronce","brote","bruja","brusco","bruto","buceo","bucle","bueno","buey","bufanda","bufón","búho","buitre","bulto","burbuja","burla","burro","buscar","butaca","buzón","caballo","cabeza","cabina","cabra","cacao","cadáver","cadena","caer","café","caída","caimán","caja","cajón","cal","calamar","calcio","caldo","calidad","calle","calma","calor","calvo","cama","cambio","camello","camino","campo","cáncer","candil","canela","canguro","canica","canto","caña","cañón","caoba","caos","capaz","capitán","capote","captar","capucha","cara","carbón","cárcel","careta","carga","cariño","carne","carpeta","carro","carta","casa","casco","casero","caspa","castor","catorce","catre","caudal","causa","cazo","cebolla","ceder","cedro","celda","célebre","celoso","célula","cemento","ceniza","centro","cerca","cerdo","cereza","cero","cerrar","certeza","césped","cetro","chacal","chaleco","champú","chancla","chapa","charla","chico","chiste","chivo","choque","choza","chuleta","chupar","ciclón","ciego","cielo","cien","cierto","cifra","cigarro","cima","cinco","cine","cinta","ciprés","circo","ciruela","cisne","cita","ciudad","clamor","clan","claro","clase","clave","cliente","clima","clínica","cobre","cocción","cochino","cocina","coco","código","codo","cofre","coger","cohete","cojín","cojo","cola","colcha","colegio","colgar","colina","collar","colmo","columna","combate","comer","comida","cómodo","compra","conde","conejo","conga","conocer","consejo","contar","copa","copia","corazón","corbata","corcho","cordón","corona","correr","coser","cosmos","costa","cráneo","cráter","crear","crecer","creído","crema","cría","crimen","cripta","crisis","cromo","crónica","croqueta","crudo","cruz","cuadro","cuarto","cuatro","cubo","cubrir","cuchara","cuello","cuento","cuerda","cuesta","cueva","cuidar","culebra","culpa","culto","cumbre","cumplir","cuna","cuneta","cuota","cupón","cúpula","curar","curioso","curso","curva","cutis","dama","danza","dar","dardo","dátil","deber","débil","década","decir","dedo","defensa","definir","dejar","delfín","delgado","delito","demora","denso","dental","deporte","derecho","derrota","desayuno","deseo","desfile","desnudo","destino","desvío","detalle","detener","deuda","día","diablo","diadema","diamante","diana","diario","dibujo","dictar","diente","dieta","diez","difícil","digno","dilema","diluir","dinero","directo","dirigir","disco","diseño","disfraz","diva","divino","doble","doce","dolor","domingo","don","donar","dorado","dormir","dorso","dos","dosis","dragón","droga","ducha","duda","duelo","dueño","dulce","dúo","duque","durar","dureza","duro","ébano","ebrio","echar","eco","ecuador","edad","edición","edificio","editor","educar","efecto","eficaz","eje","ejemplo","elefante","elegir","elemento","elevar","elipse","élite","elixir","elogio","eludir","embudo","emitir","emoción","empate","empeño","empleo","empresa","enano","encargo","enchufe","encía","enemigo","enero","enfado","enfermo","engaño","enigma","enlace","enorme","enredo","ensayo","enseñar","entero","entrar","envase","envío","época","equipo","erizo","escala","escena","escolar","escribir","escudo","esencia","esfera","esfuerzo","espada","espejo","espía","esposa","espuma","esquí","estar","este","estilo","estufa","etapa","eterno","ética","etnia","evadir","evaluar","evento","evitar","exacto","examen","exceso","excusa","exento","exigir","exilio","existir","éxito","experto","explicar","exponer","extremo","fábrica","fábula","fachada","fácil","factor","faena","faja","falda","fallo","falso","faltar","fama","familia","famoso","faraón","farmacia","farol","farsa","fase","fatiga","fauna","favor","fax","febrero","fecha","feliz","feo","feria","feroz","fértil","fervor","festín","fiable","fianza","fiar","fibra","ficción","ficha","fideo","fiebre","fiel","fiera","fiesta","figura","fijar","fijo","fila","filete","filial","filtro","fin","finca","fingir","finito","firma","flaco","flauta","flecha","flor","flota","fluir","flujo","flúor","fobia","foca","fogata","fogón","folio","folleto","fondo","forma","forro","fortuna","forzar","fosa","foto","fracaso","frágil","franja","frase","fraude","freír","freno","fresa","frío","frito","fruta","fuego","fuente","fuerza","fuga","fumar","función","funda","furgón","furia","fusil","fútbol","futuro","gacela","gafas","gaita","gajo","gala","galería","gallo","gamba","ganar","gancho","ganga","ganso","garaje","garza","gasolina","gastar","gato","gavilán","gemelo","gemir","gen","género","genio","gente","geranio","gerente","germen","gesto","gigante","gimnasio","girar","giro","glaciar","globo","gloria","gol","golfo","goloso","golpe","goma","gordo","gorila","gorra","gota","goteo","gozar","grada","gráfico","grano","grasa","gratis","grave","grieta","grillo","gripe","gris","grito","grosor","grúa","grueso","grumo","grupo","guante","guapo","guardia","guerra","guía","guiño","guion","guiso","guitarra","gusano","gustar","haber","hábil","hablar","hacer","hacha","hada","hallar","hamaca","harina","haz","hazaña","hebilla","hebra","hecho","helado","helio","hembra","herir","hermano","héroe","hervir","hielo","hierro","hígado","higiene","hijo","himno","historia","hocico","hogar","hoguera","hoja","hombre","hongo","honor","honra","hora","hormiga","horno","hostil","hoyo","hueco","huelga","huerta","hueso","huevo","huida","huir","humano","húmedo","humilde","humo","hundir","huracán","hurto","icono","ideal","idioma","ídolo","iglesia","iglú","igual","ilegal","ilusión","imagen","imán","imitar","impar","imperio","imponer","impulso","incapaz","índice","inerte","infiel","informe","ingenio","inicio","inmenso","inmune","innato","insecto","instante","interés","íntimo","intuir","inútil","invierno","ira","iris","ironía","isla","islote","jabalí","jabón","jamón","jarabe","jardín","jarra","jaula","jazmín","jefe","jeringa","jinete","jornada","joroba","joven","joya","juerga","jueves","juez","jugador","jugo","juguete","juicio","junco","jungla","junio","juntar","júpiter","jurar","justo","juvenil","juzgar","kilo","koala","labio","lacio","lacra","lado","ladrón","lagarto","lágrima","laguna","laico","lamer","lámina","lámpara","lana","lancha","langosta","lanza","lápiz","largo","larva","lástima","lata","látex","latir","laurel","lavar","lazo","leal","lección","leche","lector","leer","legión","legumbre","lejano","lengua","lento","leña","león","leopardo","lesión","letal","letra","leve","leyenda","libertad","libro","licor","líder","lidiar","lienzo","liga","ligero","lima","límite","limón","limpio","lince","lindo","línea","lingote","lino","linterna","líquido","liso","lista","litera","litio","litro","llaga","llama","llanto","llave","llegar","llenar","llevar","llorar","llover","lluvia","lobo","loción","loco","locura","lógica","logro","lombriz","lomo","lonja","lote","lucha","lucir","lugar","lujo","luna","lunes","lupa","lustro","luto","luz","maceta","macho","madera","madre","maduro","maestro","mafia","magia","mago","maíz","maldad","maleta","malla","malo","mamá","mambo","mamut","manco","mando","manejar","manga","maniquí","manjar","mano","manso","manta","mañana","mapa","máquina","mar","marco","marea","marfil","margen","marido","mármol","marrón","martes","marzo","masa","máscara","masivo","matar","materia","matiz","matriz","máximo","mayor","mazorca","mecha","medalla","medio","médula","mejilla","mejor","melena","melón","memoria","menor","mensaje","mente","menú","mercado","merengue","mérito","mes","mesón","meta","meter","método","metro","mezcla","miedo","miel","miembro","miga","mil","milagro","militar","millón","mimo","mina","minero","mínimo","minuto","miope","mirar","misa","miseria","misil","mismo","mitad","mito","mochila","moción","moda","modelo","moho","mojar","molde","moler","molino","momento","momia","monarca","moneda","monja","monto","moño","morada","morder","moreno","morir","morro","morsa","mortal","mosca","mostrar","motivo","mover","móvil","mozo","mucho","mudar","mueble","muela","muerte","muestra","mugre","mujer","mula","muleta","multa","mundo","muñeca","mural","muro","músculo","museo","musgo","música","muslo","nácar","nación","nadar","naipe","naranja","nariz","narrar","nasal","natal","nativo","natural","náusea","naval","nave","navidad","necio","néctar","negar","negocio","negro","neón","nervio","neto","neutro","nevar","nevera","nicho","nido","niebla","nieto","niñez","niño","nítido","nivel","nobleza","noche","nómina","noria","norma","norte","nota","noticia","novato","novela","novio","nube","nuca","núcleo","nudillo","nudo","nuera","nueve","nuez","nulo","número","nutria","oasis","obeso","obispo","objeto","obra","obrero","observar","obtener","obvio","oca","ocaso","océano","ochenta","ocho","ocio","ocre","octavo","octubre","oculto","ocupar","ocurrir","odiar","odio","odisea","oeste","ofensa","oferta","oficio","ofrecer","ogro","oído","oír","ojo","ola","oleada","olfato","olivo","olla","olmo","olor","olvido","ombligo","onda","onza","opaco","opción","ópera","opinar","oponer","optar","óptica","opuesto","oración","orador","oral","órbita","orca","orden","oreja","órgano","orgía","orgullo","oriente","origen","orilla","oro","orquesta","oruga","osadía","oscuro","osezno","oso","ostra","otoño","otro","oveja","óvulo","óxido","oxígeno","oyente","ozono","pacto","padre","paella","página","pago","país","pájaro","palabra","palco","paleta","pálido","palma","paloma","palpar","pan","panal","pánico","pantera","pañuelo","papá","papel","papilla","paquete","parar","parcela","pared","parir","paro","párpado","parque","párrafo","parte","pasar","paseo","pasión","paso","pasta","pata","patio","patria","pausa","pauta","pavo","payaso","peatón","pecado","pecera","pecho","pedal","pedir","pegar","peine","pelar","peldaño","pelea","peligro","pellejo","pelo","peluca","pena","pensar","peñón","peón","peor","pepino","pequeño","pera","percha","perder","pereza","perfil","perico","perla","permiso","perro","persona","pesa","pesca","pésimo","pestaña","pétalo","petróleo","pez","pezuña","picar","pichón","pie","piedra","pierna","pieza","pijama","pilar","piloto","pimienta","pino","pintor","pinza","piña","piojo","pipa","pirata","pisar","piscina","piso","pista","pitón","pizca","placa","plan","plata","playa","plaza","pleito","pleno","plomo","pluma","plural","pobre","poco","poder","podio","poema","poesía","poeta","polen","policía","pollo","polvo","pomada","pomelo","pomo","pompa","poner","porción","portal","posada","poseer","posible","poste","potencia","potro","pozo","prado","precoz","pregunta","premio","prensa","preso","previo","primo","príncipe","prisión","privar","proa","probar","proceso","producto","proeza","profesor","programa","prole","promesa","pronto","propio","próximo","prueba","público","puchero","pudor","pueblo","puerta","puesto","pulga","pulir","pulmón","pulpo","pulso","puma","punto","puñal","puño","pupa","pupila","puré","quedar","queja","quemar","querer","queso","quieto","química","quince","quitar","rábano","rabia","rabo","ración","radical","raíz","rama","rampa","rancho","rango","rapaz","rápido","rapto","rasgo","raspa","rato","rayo","raza","razón","reacción","realidad","rebaño","rebote","recaer","receta","rechazo","recoger","recreo","recto","recurso","red","redondo","reducir","reflejo","reforma","refrán","refugio","regalo","regir","regla","regreso","rehén","reino","reír","reja","relato","relevo","relieve","relleno","reloj","remar","remedio","remo","rencor","rendir","renta","reparto","repetir","reposo","reptil","res","rescate","resina","respeto","resto","resumen","retiro","retorno","retrato","reunir","revés","revista","rey","rezar","rico","riego","rienda","riesgo","rifa","rígido","rigor","rincón","riñón","río","riqueza","risa","ritmo","rito","rizo","roble","roce","rociar","rodar","rodeo","rodilla","roer","rojizo","rojo","romero","romper","ron","ronco","ronda","ropa","ropero","rosa","rosca","rostro","rotar","rubí","rubor","rudo","rueda","rugir","ruido","ruina","ruleta","rulo","rumbo","rumor","ruptura","ruta","rutina","sábado","saber","sabio","sable","sacar","sagaz","sagrado","sala","saldo","salero","salir","salmón","salón","salsa","salto","salud","salvar","samba","sanción","sandía","sanear","sangre","sanidad","sano","santo","sapo","saque","sardina","sartén","sastre","satán","sauna","saxofón","sección","seco","secreto","secta","sed","seguir","seis","sello","selva","semana","semilla","senda","sensor","señal","señor","separar","sepia","sequía","ser","serie","sermón","servir","sesenta","sesión","seta","setenta","severo","sexo","sexto","sidra","siesta","siete","siglo","signo","sílaba","silbar","silencio","silla","símbolo","simio","sirena","sistema","sitio","situar","sobre","socio","sodio","sol","solapa","soldado","soledad","sólido","soltar","solución","sombra","sondeo","sonido","sonoro","sonrisa","sopa","soplar","soporte","sordo","sorpresa","sorteo","sostén","sótano","suave","subir","suceso","sudor","suegra","suelo","sueño","suerte","sufrir","sujeto","sultán","sumar","superar","suplir","suponer","supremo","sur","surco","sureño","surgir","susto","sutil","tabaco","tabique","tabla","tabú","taco","tacto","tajo","talar","talco","talento","talla","talón","tamaño","tambor","tango","tanque","tapa","tapete","tapia","tapón","taquilla","tarde","tarea","tarifa","tarjeta","tarot","tarro","tarta","tatuaje","tauro","taza","tazón","teatro","techo","tecla","técnica","tejado","tejer","tejido","tela","teléfono","tema","temor","templo","tenaz","tender","tener","tenis","tenso","teoría","terapia","terco","término","ternura","terror","tesis","tesoro","testigo","tetera","texto","tez","tibio","tiburón","tiempo","tienda","tierra","tieso","tigre","tijera","tilde","timbre","tímido","timo","tinta","tío","típico","tipo","tira","tirón","titán","títere","título","tiza","toalla","tobillo","tocar","tocino","todo","toga","toldo","tomar","tono","tonto","topar","tope","toque","tórax","torero","tormenta","torneo","toro","torpedo","torre","torso","tortuga","tos","tosco","toser","tóxico","trabajo","tractor","traer","tráfico","trago","traje","tramo","trance","trato","trauma","trazar","trébol","tregua","treinta","tren","trepar","tres","tribu","trigo","tripa","triste","triunfo","trofeo","trompa","tronco","tropa","trote","trozo","truco","trueno","trufa","tubería","tubo","tuerto","tumba","tumor","túnel","túnica","turbina","turismo","turno","tutor","ubicar","úlcera","umbral","unidad","unir","universo","uno","untar","uña","urbano","urbe","urgente","urna","usar","usuario","útil","utopía","uva","vaca","vacío","vacuna","vagar","vago","vaina","vajilla","vale","válido","valle","valor","válvula","vampiro","vara","variar","varón","vaso","vecino","vector","vehículo","veinte","vejez","vela","velero","veloz","vena","vencer","venda","veneno","vengar","venir","venta","venus","ver","verano","verbo","verde","vereda","verja","verso","verter","vía","viaje","vibrar","vicio","víctima","vida","vídeo","vidrio","viejo","viernes","vigor","vil","villa","vinagre","vino","viñedo","violín","viral","virgo","virtud","visor","víspera","vista","vitamina","viudo","vivaz","vivero","vivir","vivo","volcán","volumen","volver","voraz","votar","voto","voz","vuelo","vulgar","yacer","yate","yegua","yema","yerno","yeso","yodo","yoga","yogur","zafiro","zanja","zapato","zarza","zona","zorro","zumo","zurdo"]')},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(1137),A=r(197),i=r(92),o=r(63),a=r(310),s=o.BufferN(32),u=o.compile({wif:o.UInt8,bip32:{public:o.UInt32,private:o.UInt32}}),l={wif:128,bip32:{public:76067358,private:76066276}},c=2147483648,f=Math.pow(2,31)-1;function d(e){return o.String(e)&&null!==e.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}function g(e){return o.UInt32(e)&&e<=f}class h{constructor(e,t,r,n,A=0,i=0,a=0){this.__D=e,this.__Q=t,this.chainCode=r,this.network=n,this.__DEPTH=A,this.__INDEX=i,this.__PARENT_FINGERPRINT=a,o(u,n),this.lowR=!1}get depth(){return this.__DEPTH}get index(){return this.__INDEX}get parentFingerprint(){return this.__PARENT_FINGERPRINT}get publicKey(){return void 0===this.__Q&&(this.__Q=i.pointFromScalar(this.__D,!0)),this.__Q}get privateKey(){return this.__D}get identifier(){return n.hash160(this.publicKey)}get fingerprint(){return this.identifier.slice(0,4)}isNeutered(){return void 0===this.__D}neutered(){return B(this.publicKey,this.chainCode,this.network,this.depth,this.index,this.parentFingerprint)}toBase58(){const t=this.network,r=this.isNeutered()?t.bip32.public:t.bip32.private,n=e.allocUnsafe(78);return n.writeUInt32BE(r,0),n.writeUInt8(this.depth,4),n.writeUInt32BE(this.parentFingerprint,5),n.writeUInt32BE(this.index,9),this.chainCode.copy(n,13),this.isNeutered()?this.publicKey.copy(n,45):(n.writeUInt8(0,45),this.privateKey.copy(n,46)),A.encode(n)}toWIF(){if(!this.privateKey)throw new TypeError("Missing private key");return a.encode(this.network.wif,this.privateKey,!0)}derive(t){o(o.UInt32,t);const r=t>=c,A=e.allocUnsafe(37);if(r){if(this.isNeutered())throw new TypeError("Missing private key for hardened child key");A[0]=0,this.privateKey.copy(A,1),A.writeUInt32BE(t,33)}else this.publicKey.copy(A,0),A.writeUInt32BE(t,33);const a=n.hmacSHA512(this.chainCode,A),s=a.slice(0,32),u=a.slice(32);if(!i.isPrivate(s))return this.derive(t+1);let l;if(this.isNeutered()){const e=i.pointAddScalar(this.publicKey,s,!0);if(null===e)return this.derive(t+1);l=B(e,u,this.network,this.depth+1,t,this.fingerprint.readUInt32BE(0))}else{const e=i.privateAdd(this.privateKey,s);if(null==e)return this.derive(t+1);l=I(e,u,this.network,this.depth+1,t,this.fingerprint.readUInt32BE(0))}return l}deriveHardened(e){return o(g,e),this.derive(e+c)}derivePath(e){o(d,e);let t=e.split("/");if("m"===t[0]){if(this.parentFingerprint)throw new TypeError("Expected master, got child");t=t.slice(1)}return t.reduce((e,t)=>{let r;return"'"===t.slice(-1)?(r=parseInt(t.slice(0,-1),10),e.deriveHardened(r)):(r=parseInt(t,10),e.derive(r))},this)}sign(t,r){if(!this.privateKey)throw new Error("Missing private key");if(void 0===r&&(r=this.lowR),!1===r)return i.sign(t,this.privateKey);{let r=i.sign(t,this.privateKey);const n=e.alloc(32,0);let A=0;for(;r[0]>127;)A++,n.writeUIntLE(A,0,6),r=i.signWithEntropy(t,this.privateKey,n);return r}}verify(e,t){return i.verify(e,this.publicKey,t)}}function p(e,t,r){return I(e,t,r)}function I(e,t,r,n,A,a){if(o({privateKey:s,chainCode:s},{privateKey:e,chainCode:t}),r=r||l,!i.isPrivate(e))throw new TypeError("Private key not in range [1, n)");return new h(e,void 0,t,r,n,A,a)}function B(e,t,r,n,A,a){if(o({publicKey:o.BufferN(33),chainCode:s},{publicKey:e,chainCode:t}),r=r||l,!i.isPoint(e))throw new TypeError("Point is not on the curve");return new h(void 0,e,t,r,n,A,a)}t.fromBase58=function(e,t){const r=A.decode(e);if(78!==r.length)throw new TypeError("Invalid buffer length");t=t||l;const n=r.readUInt32BE(0);if(n!==t.bip32.private&&n!==t.bip32.public)throw new TypeError("Invalid network version");const i=r[4],o=r.readUInt32BE(5);if(0===i&&0!==o)throw new TypeError("Invalid parent fingerprint");const a=r.readUInt32BE(9);if(0===i&&0!==a)throw new TypeError("Invalid index");const s=r.slice(13,45);let u;if(n===t.bip32.private){if(0!==r.readUInt8(45))throw new TypeError("Invalid private key");u=I(r.slice(46,78),s,t,i,a,o)}else{u=B(r.slice(45,78),s,t,i,a,o)}return u},t.fromPrivateKey=p,t.fromPublicKey=function(e,t,r){return B(e,t,r)},t.fromSeed=function(t,r){if(o(o.Buffer,t),t.length<16)throw new TypeError("Seed should be at least 128 bits");if(t.length>64)throw new TypeError("Seed should be at most 512 bits");r=r||l;const A=n.hmacSHA512(e.from("Bitcoin seed","utf8"),t);return p(A.slice(0,32),A.slice(32),r)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(45),A=r(107);t.hash160=function(e){const t=n("sha256").update(e).digest();try{return n("rmd160").update(t).digest()}catch(e){return n("ripemd160").update(t).digest()}},t.hmacSHA512=function(e,t){return A("sha512",e).update(t).digest()}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.encodeArrayBinary=t.encodeObjectBinary=t.encodeBinaryByteArray=t.encodeBinary=t.marshalBinaryBare=t.marshalBinary=t.convertObjectToSignBytes=t.encodeTime=t.encodeString=t.encodeBool=t.encodeNumber=void 0;var A=n(r(221)),i=n(r(1139)),o=r(15),a=n(r(428)),s=r(661),u=n(r(1151)),l=r(552),c=i.default.VarString(s.UVarInt),f=function(e){return s.UVarInt.encode(e)};t.encodeNumber=f;var d=function(e){return e?s.UVarInt.encode(1):s.UVarInt.encode(0)};t.encodeBool=d;var g=function(e){return c.encode(e)};t.encodeString=g;t.encodeTime=function(e){var t=new Date(e).getTime(),r=Math.floor(t/1e3),n=Number(r.toString().padEnd(9,"0")),A=o.Buffer.alloc(14);return A[0]=9,A.writeUInt32LE(r,1),A[9]=21,A.writeUInt32LE(n,10),A};t.convertObjectToSignBytes=function(e){return o.Buffer.from(JSON.stringify(function e(t){if(null===t)return null;if("object"!==(0,A.default)(t))return t;if(Array.isArray(t))return t.map(e);var r=Object.keys(t).sort(),n={};return r.forEach(function(r){n[r]=e(t[r])}),n}(e)))};t.marshalBinary=function(e){if(!a.default.object(e))throw new TypeError("data must be an object");return h(e,-1,!0).toString("hex")};t.marshalBinaryBare=function(e){if(!a.default.object(e))throw new TypeError("data must be an object");return h(e).toString("hex")};var h=function(e,t,r){if(null==e)throw new TypeError("unsupported type");return o.Buffer.isBuffer(e)?r?o.Buffer.concat([s.UVarInt.encode(e.length),e]):e:a.default.array(e)?I(t,e,r):a.default.number(e)?f(e):a.default.boolean(e)?d(e):a.default.string(e)?g(e):a.default.object(e)?p(e,r):void 0};t.encodeBinary=h;t.encodeBinaryByteArray=function(e){var t=e.length;return o.Buffer.concat([s.UVarInt.encode(t),e])};var p=function(e,t){var r=[];Object.keys(e).forEach(function(t,n){"msgType"!==t&&"version"!==t&&(C(e[t])||(a.default.array(e[t])&&e[t].length>0?r.push(I(n,e[t])):(r.push(B(n,e[t])),r.push(h(e[t],n,!0)))))});var n=o.Buffer.concat(r);if(l.typePrefix[e.msgType]){var A=o.Buffer.from(l.typePrefix[e.msgType],"hex");n=o.Buffer.concat([A,n])}if(t){var i=s.UVarInt.encode(n.length);n=o.Buffer.concat([i,n])}return n};t.encodeObjectBinary=p;var I=function(e,t,r){var n=[];if(t.forEach(function(t){n.push(B(e,t)),C(t)?n.push(o.Buffer.from("00","hex")):n.push(h(t,e,!0))}),r){var A=n.reduce(function(e,t){return e+t.length},0);n.unshift(s.UVarInt.encode(A))}return o.Buffer.concat(n)};t.encodeArrayBinary=I;var B=function(e,t){var r=e+1<<3|(0,u.default)(t);return s.UVarInt.encode(r)},C=function(e){return null!==e&&(a.default.number(e)&&0===e||a.default.string(e)&&""===e||a.default.array(e)&&0===e.length)}},function(e,t,r){"use strict";e.exports=t=r(1140);var n=r(1141);t.Byte=n("UInt8",1),t.Int8=n("Int8",1),t.UInt8=n("UInt8",1),t.Int16BE=n("Int16BE",2),t.Int16LE=n("Int16LE",2),t.UInt16BE=n("UInt16BE",2),t.UInt16LE=n("UInt16LE",2),t.Int32BE=n("Int32BE",4),t.Int32LE=n("Int32LE",4),t.UInt32BE=n("UInt32BE",4),t.UInt32LE=n("UInt32LE",4),t.Int64BE=n("Int64BE",8),t.Int64LE=n("Int64LE",8),t.UInt64BE=n("UInt64BE",8),t.UInt64LE=n("UInt64LE",8),t.FloatBE=n("FloatBE",4),t.FloatLE=n("FloatLE",4),t.DoubleBE=n("DoubleBE",8),t.DoubleLE=n("DoubleLE",8),t.Array=r(1143),t.VarArray=r(1144),t.Sequence=r(1145),t.Buffer=r(659),t.VarBuffer=r(660),t.VarMap=r(1146),t.String=r(1147),t.VarString=r(1148),t.Bound=r(1149),t.Value=r(1150)},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(152);e.exports=function(e){if(!Array.isArray(e))throw new TypeError("items must be an Array instance");function t(t){if("object"!=typeof t||null===t)throw new TypeError("Expected Object, got "+t);return e.reduce(function(e,r){var n=t[r.name];return e+r.type.encodingLength(n)},0)}return e=e.map(function(e){if(Array.isArray(e)&&(e={name:e[0],type:e[1]}),!e||"string"!=typeof e.name)throw new TypeError('item missing "name" property');if(!A.isAbstractCodec(e.type))throw new TypeError('item "'+e.name+'" has invalid codec');return{name:e.name,type:e.type}}),{encode:function r(A,i,o){o||(o=0);var a=t(A);if(i){if(i.length-o<a)throw new RangeError("destination buffer is too small")}else i=n.allocUnsafe(a);return e.forEach(function(e){var t=A[e.name];e.type.encode(t,i,o),o+=e.type.encode.bytes}),r.bytes=a,i},decode:function t(r,n,A){n||(n=0);var i={},o=n;return e.forEach(function(e){var t=e.type.decode(r,n,A);n+=e.type.decode.bytes,i[e.name]=t}),t.bytes=n-o,i},encodingLength:t}}},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(1142);e.exports=function(e,t){var r=function(e){return n.prototype[e]?n.prototype[e]:function(t,r){return A[e](t,this,r)}}("write"+e),i=function(e){return n.prototype[e]?n.prototype[e]:function(t){return A[e](this,t)}}("read"+e);function o(e,A,i){if("number"!=typeof e)throw new TypeError("value must be a number");return A||(A=n.allocUnsafe(t)),i||(i=0),r.call(A,e,i),A}function a(e,t,r){return t||(t=0),r?i.call(e.slice(t,r),0):i.call(e,t)}return o.bytes=a.bytes=t,{encode:o,decode:a,encodingLength:function(){return t}}}},function(e,t){var r={},n=4294967295,A=9007199254740991;function i(e){return(e=~e)<0&&(e=2147483648+(2147483647&e)),e}function o(e){console.assert(e>-1&&e<=A,"number out of range"),console.assert(Math.floor(e)===e,"number must be an integer");var t=0,r=4294967295&e,i=r<0?2147483648+(2147483647&e):r;return e>n&&(t=(e-i)/(n+1)),[t,i]}function a(e){if(e>-1)return o(e);var t=o(-e),r=i(t[0]),A=i(t[1]);return A===n?(r+=1,A=0):A+=1,[r,A]}function s(e,t,r){return r&&0!=(2147483648&e)?(e=i(e),t=i(t),console.assert(e<2097152,"number too small"),-(e*(n+1)+t+1)):(console.assert(e<2097152,"number too large"),e*(n+1)+t)}r.readInt64BE=function(e,t){return t=t||0,s(e.readUInt32BE(t),e.readUInt32BE(t+4),!0)},r.readInt64LE=function(e,t){t=t||0;var r=e.readUInt32LE(t);return s(e.readUInt32LE(t+4),r,!0)},r.readUInt64BE=function(e,t){return t=t||0,s(e.readUInt32BE(t),e.readUInt32BE(t+4),!1)},r.readUInt64LE=function(e,t){t=t||0;var r=e.readUInt32LE(t);return s(e.readUInt32LE(t+4),r,!1)},r.writeInt64BE=function(e,t,r){r=r||0;var n=a(e);t.writeUInt32BE(n[0],r),t.writeUInt32BE(n[1],r+4)},r.writeInt64LE=function(e,t,r){r=r||0;var n=a(e);t.writeUInt32LE(n[1],r),t.writeUInt32LE(n[0],r+4)},r.writeUInt64BE=function(e,t,r){r=r||0;var n=o(e);t.writeUInt32BE(n[0],r),t.writeUInt32BE(n[1],r+4)},r.writeUInt64LE=function(e,t,r){r=r||0;var n=o(e);t.writeUInt32LE(n[1],r),t.writeUInt32LE(n[0],r+4)},e.exports=r},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(152);e.exports=function(e,t){if("number"!=typeof e)throw new TypeError("length must be a number");if(!A.isAbstractCodec(t))throw new TypeError("itemType is invalid codec");function r(e){return A.size(e,t.encodingLength)}return{encode:function i(o,a,s){if(!Array.isArray(o))throw new TypeError("value must be an Array instance");if(o.length!==e)throw new RangeError("value.length is out of bounds");return a||(a=n.allocUnsafe(r(o))),s||(s=0),i.bytes=A.size(o,function(e,r,n){return t.encode(e,a,n),t.encode.bytes},s)-s,a},decode:function r(n,i,o){i||(i=0);var a=new Array(e);return r.bytes=A.size(a,function(e,r,A){return a[r]=t.decode(n,A,o),t.decode.bytes},i)-i,a},encodingLength:function(t){if(!Array.isArray(t))throw new TypeError("value must be an Array instance");if(t.length!==e)throw new RangeError("value.length is out of bounds");return r(t)}}}},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(152);e.exports=function(e,t){if(!A.isAbstractCodec(e))throw new TypeError("lengthType is invalid codec");if(!A.isAbstractCodec(t))throw new TypeError("itemType is invalid codec");function r(r){return A.size(r,t.encodingLength,e.encodingLength(r.length))}return{encode:function i(o,a,s){if(!Array.isArray(o))throw new TypeError("value must be an Array instance");return a||(a=n.allocUnsafe(r(o))),s||(s=0),e.encode(o.length,a,s),i.bytes=A.size(o,function(e,r,n){return t.encode(e,a,n),t.encode.bytes},e.encode.bytes+s)-s,a},decode:function r(n,i,o){i||(i=0);var a=new Array(e.decode(n,i,o));return r.bytes=A.size(a,function(e,r,A){return a[r]=t.decode(n,A,o),t.decode.bytes},e.decode.bytes+i)-i,a},encodingLength:function(e){if(!Array.isArray(e))throw new TypeError("value must be an Array instance");return r(e)}}}},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(152);e.exports=function(e){if(!Array.isArray(e))throw new TypeError("types must be an Array instance");function t(t){return A.size(e,function(e,r){return e.encodingLength(t[r])})}return e=e.map(function(e){if(!A.isAbstractCodec(e))throw new TypeError("types Array has invalid codec");return e}),{encode:function r(i,o,a){if(!Array.isArray(i))throw new TypeError("value must be an Array instance");if(i.length!==e.length)throw new RangeError("value.length is out of bounds");return o||(o=n.allocUnsafe(t(i))),a||(a=0),r.bytes=A.size(e,function(e,t,r){return e.encode(i[t],o,r),e.encode.bytes},a)-a,o},decode:function t(r,n,i){n||(n=0);var o=new Array(e.length);return t.bytes=A.size(e,function(e,t,n){return o[t]=e.decode(r,n,i),e.decode.bytes},n)-n,o},encodingLength:function(r){if(!Array.isArray(r))throw new TypeError("value must be an Array instance");if(r.length!==e.length)throw new RangeError("value.length is out of bounds");return t(r)}}}},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(152);e.exports=function(e,t,r){if(!A.isAbstractCodec(e))throw new TypeError("lengthType is invalid codec");if(!A.isAbstractCodec(t))throw new TypeError("keyType is invalid codec");if(!A.isAbstractCodec(r))throw new TypeError("valueType is invalid codec");function i(n){if(!n)throw new TypeError("Expected object");var A=0,o=0;for(var a in n)A+=t.encodingLength(a),A+=r.encodingLength(n[a]),++o;return i.__count=o,A+e.encodingLength(o)}return{encode:function A(o,a,s){s||(s=0);var u=i(o),l=i.__count;if(a){if(a.length-s<u)throw new RangeError("destination buffer is too small")}else a=n.allocUnsafe(u);for(var c in e.encode(l,a,s),s+=e.encode.bytes,o)t.encode(c,a,s),s+=t.encode.bytes,r.encode(o[c],a,s),s+=r.encode.bytes;return A.bytes=u,a},decode:function n(A,i,o){i||(i=0);var a={},s=e.decode(A,i);i+=e.encode.bytes;for(var u=0;u<s;++u){var l=t.decode(A,i,o);i+=t.decode.bytes;var c=r.decode(A,i,o);i+=r.decode.bytes,a[l]=c}return n.bytes=i,a},encodingLength:i}}},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(659);e.exports=function(e,t){if("number"!=typeof e)throw new TypeError("length must be a number");var r=A(e);if(t||(t="utf-8"),!n.isEncoding(t))throw new TypeError("invalid encoding");function i(r,A,i){if("string"!=typeof r)throw new TypeError("value must be a string");if(n.byteLength(r,t)!==e)throw new RangeError("value.length is out of bounds");if(!A)return n.from(r,t);if(!n.isBuffer(A))throw new TypeError("buffer must be a Buffer instance");if(i||(i=0),i+e>A.length)throw new RangeError("destination buffer is too small");return A.write(r,i,e,t),A}function o(e,n,A){return r.decode(e,n,A).toString(t)}return i.bytes=o.bytes=e,{encode:i,decode:o,encodingLength:r.encodingLength}}},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(660),i=r(152);e.exports=function(e,t){if(!i.isAbstractCodec(e))throw new TypeError("lengthType is invalid codec");var r=A(e);if(t||(t="utf8"),!n.isEncoding(t))throw new TypeError("invalid encoding");return{encode:function r(A,i,o){if("string"!=typeof A)throw new TypeError("value must be a string");o||(o=0);var a=n.byteLength(A,t),s=e.encodingLength(A.length)+a;if(i){if(!n.isBuffer(i))throw new TypeError("buffer must be a Buffer instance")}else i=n.allocUnsafe(s);if(o+s>i.length)throw new RangeError("destination buffer is too small");return e.encode(a,i,o),o+=e.encode.bytes,i.write(A,o,a,t),r.bytes=s,i},decode:function e(n,A,i){var o=r.decode(n,A,i).toString(t);return e.bytes=r.decode.bytes,o},encodingLength:function(r){if("string"!=typeof r)throw new TypeError("value must be a string");var A=n.byteLength(r,t);return e.encodingLength(r.length)+A}}}},function(e,t,r){"use strict";var n=r(152);e.exports=function(e,t){if(!n.isAbstractCodec(e))throw new TypeError("itemType is invalid codec");if("function"!=typeof t)throw new TypeError("checkValue must be a function");return{encode:function r(n,A,i){return t(n),A=e.encode(n,A,i),r.bytes=e.encode.bytes,A},decode:function r(n,A,i){var o=e.decode(n,A,i);return t(o),r.bytes=e.decode.bytes,o},encodingLength:function(r){return t(r),e.encodingLength(r)}}}},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(152);e.exports=function(e,t){if(!A.isAbstractCodec(e))throw new TypeError("valueType is invalid codec");var r=e.encode(t),i=r.length;return{encode:function e(A,o,a){if(void 0!==A&&A!==t)throw new TypeError("Value parameter must be undefined or equal");if(a||(a=0),o){if(o.length-a<i)throw new RangeError("destination buffer is too small");r.copy(o,a)}else o=n.from(r);return e.bytes=i,o},decode:function e(n,A,o){if(A||(A=0),void 0===o&&(o=n.length),A+i>o)throw new RangeError("not enough data for decode");for(var a=0;a<i;++a)if(r[a]!==n[A+a])throw new TypeError("Expected value "+t);return e.bytes=i,t},encodingLength:function(e){if(void 0!==e)throw new TypeError("Value parameter must be undefined");return i}}}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.isAbstractCodec=t.size=t.default=void 0;var A=n(r(428));t.default=function(e){return A.default.boolean(e)?0:A.default.number(e)?A.default.integer(e)?0:1:A.default.string(e)||A.default.array(e)||A.default.object(e)?2:void 0};t.size=function(e,t,r){void 0===r&&(r=0);for(var n=0;n<e.length;++n)r+=t(e[n],n,r);return r};t.isAbstractCodec=function(e){return e&&"function"==typeof e.encode&&"function"==typeof e.decode&&"function"==typeof e.encodingLength}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(110),A=r(33),i=r(199),o=r(63),a=A.OPS;t.p2data=function(e,t){if(!e.data&&!e.output)throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),o({network:o.maybe(o.Object),output:o.maybe(o.Buffer),data:o.maybe(o.arrayOf(o.Buffer))},e);const r={name:"embed",network:e.network||n.bitcoin};if(i.prop(r,"output",()=>{if(e.data)return A.compile([a.OP_RETURN].concat(e.data))}),i.prop(r,"data",()=>{if(e.output)return A.decompile(e.output).slice(1)}),t.validate&&e.output){const t=A.decompile(e.output);if(t[0]!==a.OP_RETURN)throw new TypeError("Output is invalid");if(!t.slice(1).every(o.Buffer))throw new TypeError("Output is invalid");if(e.data&&!function(e,t){return e.length===t.length&&e.every((e,r)=>e.equals(t[r]))}(e.data,r.data))throw new TypeError("Data mismatch")}return Object.assign(r,e)}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.decode=function(e,t,r){t=t||4,r=void 0===r||r;const n=e.length;if(0===n)return 0;if(n>t)throw new TypeError("Script number overflow");if(r&&0==(127&e[n-1])&&(n<=1||0==(128&e[n-2])))throw new Error("Non-minimally encoded script number");if(5===n){const t=e.readUInt32LE(0),r=e.readUInt8(4);return 128&r?-(4294967296*(-129&r)+t):4294967296*r+t}let A=0;for(let t=0;t<n;++t)A|=e[t]<<8*t;return 128&e[n-1]?-(A&~(128<<8*(n-1))):A},t.encode=function(t){let r=Math.abs(t);const n=(A=r)>2147483647?5:A>8388607?4:A>32767?3:A>127?2:A>0?1:0;var A;const i=e.allocUnsafe(n),o=t<0;for(let e=0;e<n;++e)i.writeUInt8(255&r,e),r>>=8;return 128&i[n-1]?i.writeUInt8(o?128:0,n-1):o&&(i[n-1]|=128),i}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(153),A=r(269),i=r(63),o=e.alloc(1,0);function a(t){let r=0;for(;0===t[r];)++r;return r===t.length?o:128&(t=t.slice(r))[0]?e.concat([o,t],1+t.length):t}function s(t){0===t[0]&&(t=t.slice(1));const r=e.alloc(32,0),n=Math.max(0,32-t.length);return t.copy(r,n),r}t.decode=function(t){const r=t.readUInt8(t.length-1),n=-129&r;if(n<=0||n>=4)throw new Error("Invalid hashType "+r);const i=A.decode(t.slice(0,-1)),o=s(i.r),a=s(i.s);return{signature:e.concat([o,a],64),hashType:r}},t.encode=function(t,r){i({signature:n.BufferN(64),hashType:n.UInt8},{signature:t,hashType:r});const o=-129&r;if(o<=0||o>=4)throw new Error("Invalid hashType "+r);const s=e.allocUnsafe(1);s.writeUInt8(r,0);const u=a(t.slice(0,32)),l=a(t.slice(32,64));return e.concat([A.encode(u,l),s])}}).call(this,r(8).Buffer)},function(e,t,r){var n=r(431);function A(e){return e<n.OP_PUSHDATA1?1:e<=255?2:e<=65535?3:5}e.exports={encodingLength:A,encode:function(e,t,r){var i=A(t);return 1===i?e.writeUInt8(t,r):2===i?(e.writeUInt8(n.OP_PUSHDATA1,r),e.writeUInt8(t,r+1)):3===i?(e.writeUInt8(n.OP_PUSHDATA2,r),e.writeUInt16LE(t,r+1)):(e.writeUInt8(n.OP_PUSHDATA4,r),e.writeUInt32LE(t,r+1)),i},decode:function(e,t){var r,A,i=e.readUInt8(t);if(i<n.OP_PUSHDATA1)r=i,A=1;else if(i===n.OP_PUSHDATA1){if(t+2>e.length)return null;r=e.readUInt8(t+1),A=2}else if(i===n.OP_PUSHDATA2){if(t+3>e.length)return null;r=e.readUInt16LE(t+1),A=3}else{if(t+5>e.length)return null;if(i!==n.OP_PUSHDATA4)throw new Error("Unexpected opcode");r=e.readUInt32LE(t+1),A=5}return{opcode:i,number:r,size:A}}}},function(e,t,r){var n=r(431),A={};for(var i in n){A[n[i]]=i}e.exports=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(110),A=r(33),i=r(199),o=A.OPS,a=r(63),s=r(92),u=o.OP_RESERVED;function l(e,t){return e.length===t.length&&e.every((e,r)=>e.equals(t[r]))}t.p2ms=function(e,t){if(!(e.input||e.output||e.pubkeys&&void 0!==e.m||e.signatures))throw new TypeError("Not enough data");function r(e){return A.isCanonicalScriptSignature(e)||void 0!==(t.allowIncomplete&&e===o.OP_0)}t=Object.assign({validate:!0},t||{}),a({network:a.maybe(a.Object),m:a.maybe(a.Number),n:a.maybe(a.Number),output:a.maybe(a.Buffer),pubkeys:a.maybe(a.arrayOf(s.isPoint)),signatures:a.maybe(a.arrayOf(r)),input:a.maybe(a.Buffer)},e);const c={network:e.network||n.bitcoin};let f=[],d=!1;function g(e){d||(d=!0,f=A.decompile(e),c.m=f[0]-u,c.n=f[f.length-2]-u,c.pubkeys=f.slice(1,-2))}if(i.prop(c,"output",()=>{if(e.m&&c.n&&e.pubkeys)return A.compile([].concat(u+e.m,e.pubkeys,u+c.n,o.OP_CHECKMULTISIG))}),i.prop(c,"m",()=>{if(c.output)return g(c.output),c.m}),i.prop(c,"n",()=>{if(c.pubkeys)return c.pubkeys.length}),i.prop(c,"pubkeys",()=>{if(e.output)return g(e.output),c.pubkeys}),i.prop(c,"signatures",()=>{if(e.input)return A.decompile(e.input).slice(1)}),i.prop(c,"input",()=>{if(e.signatures)return A.compile([o.OP_0].concat(e.signatures))}),i.prop(c,"witness",()=>{if(c.input)return[]}),i.prop(c,"name",()=>{if(c.m&&c.n)return`p2ms(${c.m} of ${c.n})`}),t.validate){if(e.output){if(g(e.output),!a.Number(f[0]))throw new TypeError("Output is invalid");if(!a.Number(f[f.length-2]))throw new TypeError("Output is invalid");if(f[f.length-1]!==o.OP_CHECKMULTISIG)throw new TypeError("Output is invalid");if(c.m<=0||c.n>16||c.m>c.n||c.n!==f.length-3)throw new TypeError("Output is invalid");if(!c.pubkeys.every(e=>s.isPoint(e)))throw new TypeError("Output is invalid");if(void 0!==e.m&&e.m!==c.m)throw new TypeError("m mismatch");if(void 0!==e.n&&e.n!==c.n)throw new TypeError("n mismatch");if(e.pubkeys&&!l(e.pubkeys,c.pubkeys))throw new TypeError("Pubkeys mismatch")}if(e.pubkeys){if(void 0!==e.n&&e.n!==e.pubkeys.length)throw new TypeError("Pubkey count mismatch");if(c.n=e.pubkeys.length,c.n<c.m)throw new TypeError("Pubkey count cannot be less than m")}if(e.signatures){if(e.signatures.length<c.m)throw new TypeError("Not enough signatures provided");if(e.signatures.length>c.m)throw new TypeError("Too many signatures provided")}if(e.input){if(e.input[0]!==o.OP_0)throw new TypeError("Input is invalid");if(0===c.signatures.length||!c.signatures.every(r))throw new TypeError("Input has invalid signature(s)");if(e.signatures&&!l(e.signatures,c.signatures))throw new TypeError("Signature mismatch");if(void 0!==e.m&&e.m!==e.signatures.length)throw new TypeError("Signature count mismatch")}}return Object.assign(c,e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(110),A=r(33),i=r(199),o=r(63),a=A.OPS,s=r(92);t.p2pk=function(e,t){if(!(e.input||e.output||e.pubkey||e.input||e.signature))throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),o({network:o.maybe(o.Object),output:o.maybe(o.Buffer),pubkey:o.maybe(s.isPoint),signature:o.maybe(A.isCanonicalScriptSignature),input:o.maybe(o.Buffer)},e);const r=i.value(()=>A.decompile(e.input)),u={name:"p2pk",network:e.network||n.bitcoin};if(i.prop(u,"output",()=>{if(e.pubkey)return A.compile([e.pubkey,a.OP_CHECKSIG])}),i.prop(u,"pubkey",()=>{if(e.output)return e.output.slice(1,-1)}),i.prop(u,"signature",()=>{if(e.input)return r()[0]}),i.prop(u,"input",()=>{if(e.signature)return A.compile([e.signature])}),i.prop(u,"witness",()=>{if(u.input)return[]}),t.validate){if(e.output){if(e.output[e.output.length-1]!==a.OP_CHECKSIG)throw new TypeError("Output is invalid");if(!s.isPoint(u.pubkey))throw new TypeError("Output pubkey is invalid");if(e.pubkey&&!e.pubkey.equals(u.pubkey))throw new TypeError("Pubkey mismatch")}if(e.signature&&e.input&&!e.input.equals(u.input))throw new TypeError("Signature mismatch");if(e.input){if(1!==r().length)throw new TypeError("Input is invalid");if(!A.isCanonicalScriptSignature(u.signature))throw new TypeError("Input has invalid signature")}}return Object.assign(u,e)}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(154),A=r(110),i=r(33),o=r(199),a=r(63),s=i.OPS,u=r(92),l=r(197);t.p2pkh=function(t,r){if(!(t.address||t.hash||t.output||t.pubkey||t.input))throw new TypeError("Not enough data");r=Object.assign({validate:!0},r||{}),a({network:a.maybe(a.Object),address:a.maybe(a.String),hash:a.maybe(a.BufferN(20)),output:a.maybe(a.BufferN(25)),pubkey:a.maybe(u.isPoint),signature:a.maybe(i.isCanonicalScriptSignature),input:a.maybe(a.Buffer)},t);const c=o.value(()=>{const e=l.decode(t.address);return{version:e.readUInt8(0),hash:e.slice(1)}}),f=o.value(()=>i.decompile(t.input)),d=t.network||A.bitcoin,g={name:"p2pkh",network:d};if(o.prop(g,"address",()=>{if(!g.hash)return;const t=e.allocUnsafe(21);return t.writeUInt8(d.pubKeyHash,0),g.hash.copy(t,1),l.encode(t)}),o.prop(g,"hash",()=>t.output?t.output.slice(3,23):t.address?c().hash:t.pubkey||g.pubkey?n.hash160(t.pubkey||g.pubkey):void 0),o.prop(g,"output",()=>{if(g.hash)return i.compile([s.OP_DUP,s.OP_HASH160,g.hash,s.OP_EQUALVERIFY,s.OP_CHECKSIG])}),o.prop(g,"pubkey",()=>{if(t.input)return f()[1]}),o.prop(g,"signature",()=>{if(t.input)return f()[0]}),o.prop(g,"input",()=>{if(t.pubkey&&t.signature)return i.compile([t.signature,t.pubkey])}),o.prop(g,"witness",()=>{if(g.input)return[]}),r.validate){let r=e.from([]);if(t.address){if(c().version!==d.pubKeyHash)throw new TypeError("Invalid version or Network mismatch");if(20!==c().hash.length)throw new TypeError("Invalid address");r=c().hash}if(t.hash){if(r.length>0&&!r.equals(t.hash))throw new TypeError("Hash mismatch");r=t.hash}if(t.output){if(25!==t.output.length||t.output[0]!==s.OP_DUP||t.output[1]!==s.OP_HASH160||20!==t.output[2]||t.output[23]!==s.OP_EQUALVERIFY||t.output[24]!==s.OP_CHECKSIG)throw new TypeError("Output is invalid");const e=t.output.slice(3,23);if(r.length>0&&!r.equals(e))throw new TypeError("Hash mismatch");r=e}if(t.pubkey){const e=n.hash160(t.pubkey);if(r.length>0&&!r.equals(e))throw new TypeError("Hash mismatch");r=e}if(t.input){const e=f();if(2!==e.length)throw new TypeError("Input is invalid");if(!i.isCanonicalScriptSignature(e[0]))throw new TypeError("Input has invalid signature");if(!u.isPoint(e[1]))throw new TypeError("Input has invalid pubkey");if(t.signature&&!t.signature.equals(e[0]))throw new TypeError("Signature mismatch");if(t.pubkey&&!t.pubkey.equals(e[1]))throw new TypeError("Pubkey mismatch");const A=n.hash160(e[1]);if(r.length>0&&!r.equals(A))throw new TypeError("Hash mismatch")}}return Object.assign(g,t)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(154),A=r(110),i=r(33),o=r(199),a=r(63),s=i.OPS,u=r(197);t.p2sh=function(t,r){if(!(t.address||t.hash||t.output||t.redeem||t.input))throw new TypeError("Not enough data");r=Object.assign({validate:!0},r||{}),a({network:a.maybe(a.Object),address:a.maybe(a.String),hash:a.maybe(a.BufferN(20)),output:a.maybe(a.BufferN(23)),redeem:a.maybe({network:a.maybe(a.Object),output:a.maybe(a.Buffer),input:a.maybe(a.Buffer),witness:a.maybe(a.arrayOf(a.Buffer))}),input:a.maybe(a.Buffer),witness:a.maybe(a.arrayOf(a.Buffer))},t);let l=t.network;l||(l=t.redeem&&t.redeem.network||A.bitcoin);const c={network:l},f=o.value(()=>{const e=u.decode(t.address);return{version:e.readUInt8(0),hash:e.slice(1)}}),d=o.value(()=>i.decompile(t.input)),g=o.value(()=>{const e=d();return{network:l,output:e[e.length-1],input:i.compile(e.slice(0,-1)),witness:t.witness||[]}});if(o.prop(c,"address",()=>{if(!c.hash)return;const t=e.allocUnsafe(21);return t.writeUInt8(c.network.scriptHash,0),c.hash.copy(t,1),u.encode(t)}),o.prop(c,"hash",()=>t.output?t.output.slice(2,22):t.address?f().hash:c.redeem&&c.redeem.output?n.hash160(c.redeem.output):void 0),o.prop(c,"output",()=>{if(c.hash)return i.compile([s.OP_HASH160,c.hash,s.OP_EQUAL])}),o.prop(c,"redeem",()=>{if(t.input)return g()}),o.prop(c,"input",()=>{if(t.redeem&&t.redeem.input&&t.redeem.output)return i.compile([].concat(i.decompile(t.redeem.input),t.redeem.output))}),o.prop(c,"witness",()=>c.redeem&&c.redeem.witness?c.redeem.witness:c.input?[]:void 0),o.prop(c,"name",()=>{const e=["p2sh"];return void 0!==c.redeem&&e.push(c.redeem.name),e.join("-")}),r.validate){let r=e.from([]);if(t.address){if(f().version!==l.scriptHash)throw new TypeError("Invalid version or Network mismatch");if(20!==f().hash.length)throw new TypeError("Invalid address");r=f().hash}if(t.hash){if(r.length>0&&!r.equals(t.hash))throw new TypeError("Hash mismatch");r=t.hash}if(t.output){if(23!==t.output.length||t.output[0]!==s.OP_HASH160||20!==t.output[1]||t.output[22]!==s.OP_EQUAL)throw new TypeError("Output is invalid");const e=t.output.slice(2,22);if(r.length>0&&!r.equals(e))throw new TypeError("Hash mismatch");r=e}const A=e=>{if(e.output){const t=i.decompile(e.output);if(!t||t.length<1)throw new TypeError("Redeem.output too short");const A=n.hash160(e.output);if(r.length>0&&!r.equals(A))throw new TypeError("Hash mismatch");r=A}if(e.input){const t=e.input.length>0,r=e.witness&&e.witness.length>0;if(!t&&!r)throw new TypeError("Empty input");if(t&&r)throw new TypeError("Input and witness provided");if(t){const t=i.decompile(e.input);if(!i.isPushOnly(t))throw new TypeError("Non push-only scriptSig")}}};if(t.input){const t=d();if(!t||t.length<1)throw new TypeError("Input too short");if(!e.isBuffer(g().output))throw new TypeError("Input is invalid");A(g())}if(t.redeem){if(t.redeem.network&&t.redeem.network!==l)throw new TypeError("Network mismatch");if(t.input){const e=g();if(t.redeem.output&&!t.redeem.output.equals(e.output))throw new TypeError("Redeem.output mismatch");if(t.redeem.input&&!t.redeem.input.equals(e.input))throw new TypeError("Redeem.input mismatch")}A(t.redeem)}if(t.witness&&t.redeem&&t.redeem.witness&&!function(e,t){return e.length===t.length&&e.every((e,r)=>e.equals(t[r]))}(t.redeem.witness,t.witness))throw new TypeError("Witness and redeem.witness mismatch")}return Object.assign(c,t)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(154),A=r(110),i=r(33),o=r(199),a=r(63),s=i.OPS,u=r(92),l=r(58),c=e.alloc(0);t.p2wpkh=function(t,r){if(!(t.address||t.hash||t.output||t.pubkey||t.witness))throw new TypeError("Not enough data");r=Object.assign({validate:!0},r||{}),a({address:a.maybe(a.String),hash:a.maybe(a.BufferN(20)),input:a.maybe(a.BufferN(0)),network:a.maybe(a.Object),output:a.maybe(a.BufferN(22)),pubkey:a.maybe(u.isPoint),signature:a.maybe(i.isCanonicalScriptSignature),witness:a.maybe(a.arrayOf(a.Buffer))},t);const f=o.value(()=>{const r=l.decode(t.address),n=r.words.shift(),A=l.fromWords(r.words);return{version:n,prefix:r.prefix,data:e.from(A)}}),d=t.network||A.bitcoin,g={name:"p2wpkh",network:d};if(o.prop(g,"address",()=>{if(!g.hash)return;const e=l.toWords(g.hash);return e.unshift(0),l.encode(d.bech32,e)}),o.prop(g,"hash",()=>t.output?t.output.slice(2,22):t.address?f().data:t.pubkey||g.pubkey?n.hash160(t.pubkey||g.pubkey):void 0),o.prop(g,"output",()=>{if(g.hash)return i.compile([s.OP_0,g.hash])}),o.prop(g,"pubkey",()=>t.pubkey?t.pubkey:t.witness?t.witness[1]:void 0),o.prop(g,"signature",()=>{if(t.witness)return t.witness[0]}),o.prop(g,"input",()=>{if(g.witness)return c}),o.prop(g,"witness",()=>{if(t.pubkey&&t.signature)return[t.signature,t.pubkey]}),r.validate){let r=e.from([]);if(t.address){if(d&&d.bech32!==f().prefix)throw new TypeError("Invalid prefix or Network mismatch");if(0!==f().version)throw new TypeError("Invalid address version");if(20!==f().data.length)throw new TypeError("Invalid address data");r=f().data}if(t.hash){if(r.length>0&&!r.equals(t.hash))throw new TypeError("Hash mismatch");r=t.hash}if(t.output){if(22!==t.output.length||t.output[0]!==s.OP_0||20!==t.output[1])throw new TypeError("Output is invalid");if(r.length>0&&!r.equals(t.output.slice(2)))throw new TypeError("Hash mismatch");r=t.output.slice(2)}if(t.pubkey){const e=n.hash160(t.pubkey);if(r.length>0&&!r.equals(e))throw new TypeError("Hash mismatch");r=e}if(t.witness){if(2!==t.witness.length)throw new TypeError("Witness is invalid");if(!i.isCanonicalScriptSignature(t.witness[0]))throw new TypeError("Witness has invalid signature");if(!u.isPoint(t.witness[1]))throw new TypeError("Witness has invalid pubkey");if(t.signature&&!t.signature.equals(t.witness[0]))throw new TypeError("Signature mismatch");if(t.pubkey&&!t.pubkey.equals(t.witness[1]))throw new TypeError("Pubkey mismatch");const e=n.hash160(t.witness[1]);if(r.length>0&&!r.equals(e))throw new TypeError("Hash mismatch")}}return Object.assign(g,t)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(154),A=r(110),i=r(33),o=r(199),a=r(63),s=i.OPS,u=r(58),l=e.alloc(0);t.p2wsh=function(t,r){if(!(t.address||t.hash||t.output||t.redeem||t.witness))throw new TypeError("Not enough data");r=Object.assign({validate:!0},r||{}),a({network:a.maybe(a.Object),address:a.maybe(a.String),hash:a.maybe(a.BufferN(32)),output:a.maybe(a.BufferN(34)),redeem:a.maybe({input:a.maybe(a.Buffer),network:a.maybe(a.Object),output:a.maybe(a.Buffer),witness:a.maybe(a.arrayOf(a.Buffer))}),input:a.maybe(a.BufferN(0)),witness:a.maybe(a.arrayOf(a.Buffer))},t);const c=o.value(()=>{const r=u.decode(t.address),n=r.words.shift(),A=u.fromWords(r.words);return{version:n,prefix:r.prefix,data:e.from(A)}}),f=o.value(()=>i.decompile(t.redeem.input));let d=t.network;d||(d=t.redeem&&t.redeem.network||A.bitcoin);const g={network:d};if(o.prop(g,"address",()=>{if(!g.hash)return;const e=u.toWords(g.hash);return e.unshift(0),u.encode(d.bech32,e)}),o.prop(g,"hash",()=>t.output?t.output.slice(2):t.address?c().data:g.redeem&&g.redeem.output?n.sha256(g.redeem.output):void 0),o.prop(g,"output",()=>{if(g.hash)return i.compile([s.OP_0,g.hash])}),o.prop(g,"redeem",()=>{if(t.witness)return{output:t.witness[t.witness.length-1],input:l,witness:t.witness.slice(0,-1)}}),o.prop(g,"input",()=>{if(g.witness)return l}),o.prop(g,"witness",()=>{if(t.redeem&&t.redeem.input&&t.redeem.input.length>0&&t.redeem.output&&t.redeem.output.length>0){const e=i.toStack(f());return g.redeem=Object.assign({witness:e},t.redeem),g.redeem.input=l,[].concat(e,t.redeem.output)}if(t.redeem&&t.redeem.output&&t.redeem.witness)return[].concat(t.redeem.witness,t.redeem.output)}),o.prop(g,"name",()=>{const e=["p2wsh"];return void 0!==g.redeem&&e.push(g.redeem.name),e.join("-")}),r.validate){let r=e.from([]);if(t.address){if(c().prefix!==d.bech32)throw new TypeError("Invalid prefix or Network mismatch");if(0!==c().version)throw new TypeError("Invalid address version");if(32!==c().data.length)throw new TypeError("Invalid address data");r=c().data}if(t.hash){if(r.length>0&&!r.equals(t.hash))throw new TypeError("Hash mismatch");r=t.hash}if(t.output){if(34!==t.output.length||t.output[0]!==s.OP_0||32!==t.output[1])throw new TypeError("Output is invalid");const e=t.output.slice(2);if(r.length>0&&!r.equals(e))throw new TypeError("Hash mismatch");r=e}if(t.redeem){if(t.redeem.network&&t.redeem.network!==d)throw new TypeError("Network mismatch");if(t.redeem.input&&t.redeem.input.length>0&&t.redeem.witness&&t.redeem.witness.length>0)throw new TypeError("Ambiguous witness source");if(t.redeem.output){if(0===i.decompile(t.redeem.output).length)throw new TypeError("Redeem.output is invalid");const e=n.sha256(t.redeem.output);if(r.length>0&&!r.equals(e))throw new TypeError("Hash mismatch");r=e}if(t.redeem.input&&!i.isPushOnly(f()))throw new TypeError("Non push-only scriptSig");if(t.witness&&t.redeem.witness&&!function(e,t){return e.length===t.length&&e.every((e,r)=>e.equals(t[r]))}(t.witness,t.redeem.witness))throw new TypeError("Witness and redeem.witness mismatch")}if(t.witness&&t.redeem&&t.redeem.output&&!t.redeem.output.equals(t.witness[t.witness.length-1]))throw new TypeError("Witness and redeem.output mismatch")}return Object.assign(g,t)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(270),A=r(154),i=r(313),o=r(153),a=r(1164),s=r(63),u=r(663),l=new TypeError("Cannot compute merkle root for zero transactions"),c=new TypeError("Cannot compute witness commit for non-segwit block");class f{constructor(){this.version=1,this.prevHash=void 0,this.merkleRoot=void 0,this.timestamp=0,this.witnessCommit=void 0,this.bits=0,this.nonce=0,this.transactions=void 0}static fromBuffer(e){if(e.length<80)throw new Error("Buffer too small (< 80 bytes)");let t=0;const r=r=>(t+=r,e.slice(t-r,t)),n=()=>{const r=e.readUInt32LE(t);return t+=4,r},A=new f;if(A.version=(()=>{const r=e.readInt32LE(t);return t+=4,r})(),A.prevHash=r(32),A.merkleRoot=r(32),A.timestamp=n(),A.bits=n(),A.nonce=n(),80===e.length)return A;const o=()=>{const r=i.Transaction.fromBuffer(e.slice(t),!0);return t+=r.byteLength(),r},a=(()=>{const r=u.decode(e,t);return t+=u.decode.bytes,r})();A.transactions=[];for(let e=0;e<a;++e){const e=o();A.transactions.push(e)}const s=A.getWitnessCommit();return s&&(A.witnessCommit=s),A}static fromHex(t){return f.fromBuffer(e.from(t,"hex"))}static calculateTarget(t){const r=((4278190080&t)>>24)-3,n=8388607&t,A=e.alloc(32,0);return A.writeUIntBE(n,29-r,3),A}static calculateMerkleRoot(t,r){if(s([{getHash:o.Function}],t),0===t.length)throw l;if(r&&!d(t))throw c;const n=t.map(e=>e.getHash(r)),i=a(n,A.hash256);return r?A.hash256(e.concat([i,t[0].ins[0].witness[0]])):i}getWitnessCommit(){if(!d(this.transactions))return null;const t=this.transactions[0].outs.filter(t=>t.script.slice(0,6).equals(e.from("6a24aa21a9ed","hex"))).map(e=>e.script.slice(6,38));if(0===t.length)return null;const r=t[t.length-1];return r instanceof e&&32===r.length?r:null}hasWitnessCommit(){return this.witnessCommit instanceof e&&32===this.witnessCommit.length||null!==this.getWitnessCommit()}hasWitness(){return(e=this.transactions)instanceof Array&&e.some(e=>"object"==typeof e&&e.ins instanceof Array&&e.ins.some(e=>"object"==typeof e&&e.witness instanceof Array&&e.witness.length>0));var e}byteLength(e){return e||!this.transactions?80:80+u.encodingLength(this.transactions.length)+this.transactions.reduce((e,t)=>e+t.byteLength(),0)}getHash(){return A.hash256(this.toBuffer(!0))}getId(){return n.reverseBuffer(this.getHash()).toString("hex")}getUTCDate(){const e=new Date(0);return e.setUTCSeconds(this.timestamp),e}toBuffer(t){const r=e.allocUnsafe(this.byteLength(t));let n=0;const A=e=>{e.copy(r,n),n+=e.length},i=e=>{r.writeUInt32LE(e,n),n+=4};var o;return o=this.version,r.writeInt32LE(o,n),n+=4,A(this.prevHash),A(this.merkleRoot),i(this.timestamp),i(this.bits),i(this.nonce),t||!this.transactions?r:(u.encode(this.transactions.length,r,n),n+=u.encode.bytes,this.transactions.forEach(e=>{const t=e.byteLength();e.toBuffer(r,n),n+=t}),r)}toHex(e){return this.toBuffer(e).toString("hex")}checkTxRoots(){const e=this.hasWitnessCommit();return!(!e&&this.hasWitness())&&(this.__checkMerkleRoot()&&(!e||this.__checkWitnessCommit()))}checkProofOfWork(){const e=n.reverseBuffer(this.getHash()),t=f.calculateTarget(this.bits);return e.compare(t)<=0}__checkMerkleRoot(){if(!this.transactions)throw l;const e=f.calculateMerkleRoot(this.transactions);return 0===this.merkleRoot.compare(e)}__checkWitnessCommit(){if(!this.transactions)throw l;if(!this.hasWitnessCommit())throw c;const e=f.calculateMerkleRoot(this.transactions,!0);return 0===this.witnessCommit.compare(e)}}function d(e){return e instanceof Array&&e[0]&&e[0].ins&&e[0].ins instanceof Array&&e[0].ins[0]&&e[0].ins[0].witness&&e[0].ins[0].witness instanceof Array&&e[0].ins[0].witness.length>0}t.Block=f}).call(this,r(8).Buffer)},function(e,t,r){(function(t){e.exports=function(e,r){if(!Array.isArray(e))throw TypeError("Expected values Array");if("function"!=typeof r)throw TypeError("Expected digest Function");for(var n=e.length,A=e.concat();n>1;){for(var i=0,o=0;o<n;o+=2,++i){var a=A[o],s=o+1===n?a:A[o+1],u=t.concat([a,s]);A[i]=r(u)}n=i}return A[0]}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(1166),A=r(314),i=r(665),o=r(430),a=r(270),s=r(154),u=r(432),l=r(110),c=r(312),f=r(33),d=r(313),g={network:l.bitcoin,maximumFeeRate:5e3};class h{constructor(e={},t=new n.Psbt(new I)){this.data=t,this.opts=Object.assign({},g,e),this.__CACHE={__NON_WITNESS_UTXO_TX_CACHE:[],__NON_WITNESS_UTXO_BUF_CACHE:[],__TX_IN_CACHE:{},__TX:this.data.globalMap.unsignedTx.tx},0===this.data.inputs.length&&this.setVersion(2);const r=(e,t,r,n)=>Object.defineProperty(e,t,{enumerable:r,writable:n});r(this,"__CACHE",!1,!0),r(this,"opts",!1,!0)}static fromBase64(t,r={}){const n=e.from(t,"base64");return this.fromBuffer(n,r)}static fromHex(t,r={}){const n=e.from(t,"hex");return this.fromBuffer(n,r)}static fromBuffer(e,t={}){const r=n.Psbt.fromBuffer(e,p),A=new h(t,r);var i,o;return i=A.__CACHE.__TX,o=A.__CACHE,i.ins.forEach(e=>{k(o,e)}),A}get inputCount(){return this.data.inputs.length}combine(...e){return this.data.combine(...e.map(e=>e.data)),this}clone(){const e=h.fromBuffer(this.data.toBuffer());return e.opts=JSON.parse(JSON.stringify(this.opts)),e}setMaximumFeeRate(e){v(e),this.opts.maximumFeeRate=e}setVersion(e){v(e),D(this.data.inputs,"setVersion");const t=this.__CACHE;return t.__TX.version=e,t.__EXTRACTED_TX=void 0,this}setLocktime(e){v(e),D(this.data.inputs,"setLocktime");const t=this.__CACHE;return t.__TX.locktime=e,t.__EXTRACTED_TX=void 0,this}setInputSequence(e,t){v(t),D(this.data.inputs,"setInputSequence");const r=this.__CACHE;if(r.__TX.ins.length<=e)throw new Error("Input index too high");return r.__TX.ins[e].sequence=t,r.__EXTRACTED_TX=void 0,this}addInputs(e){return e.forEach(e=>this.addInput(e)),this}addInput(e){D(this.data.inputs,"addInput");const t=this.__CACHE;this.data.addInput(e),k(t,t.__TX.ins[t.__TX.ins.length-1]);const r=this.data.inputs.length-1,n=this.data.inputs[r];return n.nonWitnessUtxo&&L(this.__CACHE,n,r),t.__FEE=void 0,t.__FEE_RATE=void 0,t.__EXTRACTED_TX=void 0,this}addOutputs(e){return e.forEach(e=>this.addOutput(e)),this}addOutput(e){D(this.data.inputs,"addOutput");const{address:t}=e;if("string"==typeof t){const{network:r}=this.opts,n=o.toOutputScript(t,r);e=Object.assign(e,{script:n})}const r=this.__CACHE;return this.data.addOutput(e),r.__FEE=void 0,r.__FEE_RATE=void 0,r.__EXTRACTED_TX=void 0,this}extractTransaction(e){if(!this.data.inputs.every(C))throw new Error("Not finalized");const t=this.__CACHE;if(e||function(e,t,r){const n=t.__FEE_RATE||e.getFeeRate(),A=t.__EXTRACTED_TX.virtualSize(),i=n*A;if(n>=r.maximumFeeRate)throw new Error(`Warning: You are paying around ${(i/1e8).toFixed(8)} in `+`fees, which is ${n} satoshi per byte for a transaction `+`with a VSize of ${A} bytes (segwit counted as 0.25 byte per `+"byte). Use setMaximumFeeRate method to raise your threshold, or pass true to the first arg of extractTransaction.")}(this,t,this.opts),t.__EXTRACTED_TX)return t.__EXTRACTED_TX;const r=t.__TX.clone();return O(this.data.inputs,r,t,!0),r}getFeeRate(){return F("__FEE_RATE","fee rate",this.data.inputs,this.__CACHE)}getFee(){return F("__FEE","fee",this.data.inputs,this.__CACHE)}finalizeAllInputs(){return i.checkForInput(this.data.inputs,0),P(this.data.inputs.length).forEach(e=>this.finalizeInput(e)),this}finalizeInput(e){const t=i.checkForInput(this.data.inputs,e),{script:r,isP2SH:n,isP2WSH:A,isSegwit:o}=function(e,t,r){const n=r.__TX,A={script:null,isSegwit:!1,isP2SH:!1,isP2WSH:!1};if(A.isP2SH=!!t.redeemScript,A.isP2WSH=!!t.witnessScript,t.witnessScript)A.script=t.witnessScript;else if(t.redeemScript)A.script=t.redeemScript;else if(t.nonWitnessUtxo){const i=K(r,t,e),o=n.ins[e].index;A.script=i.outs[o].script}else t.witnessUtxo&&(A.script=t.witnessUtxo.script);(t.witnessScript||E(A.script))&&(A.isSegwit=!0);return A}(e,t,this.__CACHE);if(!r)throw new Error(`No script found for input #${e}`);const a=function(e){return E(e)?"witnesspubkeyhash":w(e)?"pubkeyhash":y(e)?"multisig":Q(e)?"pubkey":"nonstandard"}(r);if(!function(e,t,r){switch(r){case"pubkey":case"pubkeyhash":case"witnesspubkeyhash":return B(1,e.partialSig);case"multisig":return B(c.p2ms({output:t}).m,e.partialSig);default:return!1}}(t,r,a))throw new Error(`Can not finalize input #${e}`);!function(e){if(!e.sighashType||!e.partialSig)return;const{partialSig:t,sighashType:r}=e;t.forEach(e=>{const{hashType:t}=f.signature.decode(e.signature);if(r!==t)throw new Error("Signature sighash does not match input sighash type")})}(t);const{finalScriptSig:s,finalScriptWitness:u}=function(e,t,r,n,A,i){let o,a;const s=function(e,t,r){let n;switch(t){case"multisig":const A=function(e,t){return c.p2ms({output:e}).pubkeys.map(e=>(t.filter(t=>t.pubkey.equals(e))[0]||{}).signature).filter(e=>!!e)}(e,r);n=c.p2ms({output:e,signatures:A});break;case"pubkey":n=c.p2pk({output:e,signature:r[0].signature});break;case"pubkeyhash":n=c.p2pkh({output:e,pubkey:r[0].pubkey,signature:r[0].signature});break;case"witnesspubkeyhash":n=c.p2wpkh({output:e,pubkey:r[0].pubkey,signature:r[0].signature})}return n}(e,t,r),u=i?c.p2wsh({redeem:s}):null,l=A?c.p2sh({redeem:u||s}):null;n?(a=Y(u?u.witness:s.witness),l&&(o=l.input)):o=l?l.input:s.input;return{finalScriptSig:o,finalScriptWitness:a}}(r,a,t.partialSig,o,n,A);if(s&&this.data.updateInput(e,{finalScriptSig:s}),u&&this.data.updateInput(e,{finalScriptWitness:u}),!s&&!u)throw new Error(`Unknown error finalizing input #${e}`);return this.data.clearFinalizedInput(e),this}validateSignaturesOfAllInputs(){return i.checkForInput(this.data.inputs,0),P(this.data.inputs.length).map(e=>this.validateSignaturesOfInput(e)).reduce((e,t)=>!0===t&&e,!0)}validateSignaturesOfInput(e,t){const r=this.data.inputs[e],n=(r||{}).partialSig;if(!r||!n||n.length<1)throw new Error("No signatures to validate");const A=t?n.filter(e=>e.pubkey.equals(t)):n;if(A.length<1)throw new Error("No signatures for this pubkey");const i=[];let o,a,s;for(const t of A){const n=f.signature.decode(t.signature),{hash:A,script:l}=s!==n.hashType?G(e,Object.assign({},r,{sighashType:n.hashType}),this.__CACHE):{hash:o,script:a};s=n.hashType,o=A,a=l,M(t.pubkey,l,"verify");const c=u.fromPublicKey(t.pubkey);i.push(c.verify(A,n.signature))}return i.every(e=>!0===e)}signAllInputsHD(e,t=[d.Transaction.SIGHASH_ALL]){if(!e||!e.publicKey||!e.fingerprint)throw new Error("Need HDSigner to sign input");const r=[];for(const n of P(this.data.inputs.length))try{this.signInputHD(n,e,t),r.push(!0)}catch(e){r.push(!1)}if(r.every(e=>!1===e))throw new Error("No inputs were signed");return this}signAllInputsHDAsync(e,t=[d.Transaction.SIGHASH_ALL]){return new Promise((r,n)=>{if(!e||!e.publicKey||!e.fingerprint)return n(new Error("Need HDSigner to sign input"));const A=[],i=[];for(const r of P(this.data.inputs.length))i.push(this.signInputHDAsync(r,e,t).then(()=>{A.push(!0)},()=>{A.push(!1)}));return Promise.all(i).then(()=>{if(A.every(e=>!1===e))return n(new Error("No inputs were signed"));r()})})}signInputHD(e,t,r=[d.Transaction.SIGHASH_ALL]){if(!t||!t.publicKey||!t.fingerprint)throw new Error("Need HDSigner to sign input");return H(e,this.data.inputs,t).forEach(t=>this.signInput(e,t,r)),this}signInputHDAsync(e,t,r=[d.Transaction.SIGHASH_ALL]){return new Promise((n,A)=>{if(!t||!t.publicKey||!t.fingerprint)return A(new Error("Need HDSigner to sign input"));const i=H(e,this.data.inputs,t).map(t=>this.signInputAsync(e,t,r));return Promise.all(i).then(()=>{n()}).catch(A)})}signAllInputs(e,t=[d.Transaction.SIGHASH_ALL]){if(!e||!e.publicKey)throw new Error("Need Signer to sign input");const r=[];for(const n of P(this.data.inputs.length))try{this.signInput(n,e,t),r.push(!0)}catch(e){r.push(!1)}if(r.every(e=>!1===e))throw new Error("No inputs were signed");return this}signAllInputsAsync(e,t=[d.Transaction.SIGHASH_ALL]){return new Promise((r,n)=>{if(!e||!e.publicKey)return n(new Error("Need Signer to sign input"));const A=[],i=[];for(const[r]of this.data.inputs.entries())i.push(this.signInputAsync(r,e,t).then(()=>{A.push(!0)},()=>{A.push(!1)}));return Promise.all(i).then(()=>{if(A.every(e=>!1===e))return n(new Error("No inputs were signed"));r()})})}signInput(e,t,r=[d.Transaction.SIGHASH_ALL]){if(!t||!t.publicKey)throw new Error("Need Signer to sign input");const{hash:n,sighashType:A}=x(this.data.inputs,e,t.publicKey,this.__CACHE,r),i=[{pubkey:t.publicKey,signature:f.signature.encode(t.sign(n),A)}];return this.data.updateInput(e,{partialSig:i}),this}signInputAsync(e,t,r=[d.Transaction.SIGHASH_ALL]){return new Promise((n,A)=>{if(!t||!t.publicKey)return A(new Error("Need Signer to sign input"));const{hash:i,sighashType:o}=x(this.data.inputs,e,t.publicKey,this.__CACHE,r);Promise.resolve(t.sign(i)).then(r=>{const A=[{pubkey:t.publicKey,signature:f.signature.encode(r,o)}];this.data.updateInput(e,{partialSig:A}),n()})})}toBuffer(){return this.data.toBuffer()}toHex(){return this.data.toHex()}toBase64(){return this.data.toBase64()}updateGlobal(e){return this.data.updateGlobal(e),this}updateInput(e,t){return this.data.updateInput(e,t),t.nonWitnessUtxo&&L(this.__CACHE,this.data.inputs[e],e),this}updateOutput(e,t){return this.data.updateOutput(e,t),this}addUnknownKeyValToGlobal(e){return this.data.addUnknownKeyValToGlobal(e),this}addUnknownKeyValToInput(e,t){return this.data.addUnknownKeyValToInput(e,t),this}addUnknownKeyValToOutput(e,t){return this.data.addUnknownKeyValToOutput(e,t),this}clearFinalizedInput(e){return this.data.clearFinalizedInput(e),this}}t.Psbt=h;const p=e=>new I(e);class I{constructor(t=e.from([2,0,0,0,0,0,0,0,0,0])){this.tx=d.Transaction.fromBuffer(t),function(e){if(!e.ins.every(e=>e.script&&0===e.script.length&&e.witness&&0===e.witness.length))throw new Error("Format Error: Transaction ScriptSigs are not empty")}(this.tx),Object.defineProperty(this,"tx",{enumerable:!1,writable:!0})}getInputOutputCounts(){return{inputCount:this.tx.ins.length,outputCount:this.tx.outs.length}}addInput(t){if(void 0===t.hash||void 0===t.index||!e.isBuffer(t.hash)&&"string"!=typeof t.hash||"number"!=typeof t.index)throw new Error("Error adding input.");const r="string"==typeof t.hash?a.reverseBuffer(e.from(t.hash,"hex")):t.hash;this.tx.addInput(r,t.index,t.sequence)}addOutput(t){if(void 0===t.script||void 0===t.value||!e.isBuffer(t.script)||"number"!=typeof t.value)throw new Error("Error adding output.");this.tx.addOutput(t.script,t.value)}toBuffer(){return this.tx.toBuffer()}}function B(e,t){if(!t)return!1;if(t.length>e)throw new Error("Too many signatures");return t.length===e}function C(e){return!!e.finalScriptSig||!!e.finalScriptWitness}function m(e){return t=>{try{return e({output:t}),!0}catch(e){return!1}}}const y=m(c.p2ms),Q=m(c.p2pk),w=m(c.p2pkh),E=m(c.p2wpkh),b=m(c.p2wsh);function v(e){if("number"!=typeof e||e!==Math.floor(e)||e>4294967295||e<0)throw new Error("Invalid 32 bit integer")}function D(t,r){t.forEach(t=>{let n=!1,A=[];if(0===(t.partialSig||[]).length){if(!t.finalScriptSig&&!t.finalScriptWitness)return;A=function(t){const r=t.finalScriptSig&&f.decompile(t.finalScriptSig)||[],n=t.finalScriptWitness&&f.decompile(t.finalScriptWitness)||[];return r.concat(n).filter(t=>e.isBuffer(t)&&f.isCanonicalScriptSignature(t)).map(e=>({signature:e}))}(t)}else A=t.partialSig;if(A.forEach(e=>{const{hashType:t}=f.signature.decode(e.signature),A=[];switch(t&d.Transaction.SIGHASH_ANYONECANPAY&&A.push("addInput"),31&t){case d.Transaction.SIGHASH_ALL:break;case d.Transaction.SIGHASH_SINGLE:case d.Transaction.SIGHASH_NONE:A.push("addOutput"),A.push("setInputSequence")}-1===A.indexOf(r)&&(n=!0)}),n)throw new Error("Can not modify transaction, signatures exist.")})}function M(e,t,r){const n=s.hash160(e),A=f.decompile(t);if(null===A)throw new Error("Unknown script error");if(!A.some(t=>"number"!=typeof t&&(t.equals(e)||t.equals(n))))throw new Error(`Can not ${r} for this input with the key ${e.toString("hex")}`)}function k(t,r){const n=a.reverseBuffer(e.from(r.hash)).toString("hex")+":"+r.index;if(t.__TX_IN_CACHE[n])throw new Error("Duplicate input detected.");t.__TX_IN_CACHE[n]=1}function _(e,t){return(r,n,A)=>{const i=e({redeem:{output:A}}).output;if(!n.equals(i))throw new Error(`${t} for input #${r} doesn't match the scriptPubKey in the prevout`)}}const S=_(c.p2sh,"Redeem script"),N=_(c.p2wsh,"Witness script");function F(e,t,r,n){if(!r.every(C))throw new Error(`PSBT must be finalized to calculate ${t}`);if("__FEE_RATE"===e&&n.__FEE_RATE)return n.__FEE_RATE;if("__FEE"===e&&n.__FEE)return n.__FEE;let A,i=!0;return n.__EXTRACTED_TX?(A=n.__EXTRACTED_TX,i=!1):A=n.__TX.clone(),O(r,A,n,i),"__FEE_RATE"===e?n.__FEE_RATE:"__FEE"===e?n.__FEE:void 0}function x(e,t,r,n,A){const o=i.checkForInput(e,t),{hash:a,sighashType:s,script:u}=G(t,o,n,A);return M(r,u,"sign"),{hash:a,sighashType:s}}function G(e,t,r,n){const A=r.__TX,i=t.sighashType||d.Transaction.SIGHASH_ALL;if(n&&n.indexOf(i)<0){const e=function(e){let t=e&d.Transaction.SIGHASH_ANYONECANPAY?"SIGHASH_ANYONECANPAY | ":"";switch(31&e){case d.Transaction.SIGHASH_ALL:t+="SIGHASH_ALL";break;case d.Transaction.SIGHASH_SINGLE:t+="SIGHASH_SINGLE";break;case d.Transaction.SIGHASH_NONE:t+="SIGHASH_NONE"}return t}(i);throw new Error("Sighash type is not allowed. Retry the sign method passing the "+`sighashTypes array of whitelisted types. Sighash type: ${e}`)}let o,a;if(t.nonWitnessUtxo){const n=K(r,t,e),s=A.ins[e].hash,u=n.getHash();if(!s.equals(u))throw new Error(`Non-witness UTXO hash for input #${e} doesn't match the hash specified in the prevout`);const l=A.ins[e].index,f=n.outs[l];if(t.redeemScript?(S(e,f.script,t.redeemScript),a=t.redeemScript):a=f.script,b(a)){if(!t.witnessScript)throw new Error("Segwit input needs witnessScript if not P2WPKH");N(e,a,t.witnessScript),o=A.hashForWitnessV0(e,t.witnessScript,f.value,i),a=t.witnessScript}else if(E(a)){const t=c.p2pkh({hash:a.slice(2)}).output;o=A.hashForWitnessV0(e,t,f.value,i)}else o=A.hashForSignature(e,a,i)}else{if(!t.witnessUtxo)throw new Error("Need a Utxo input item for signing");{let r;if(t.redeemScript?(S(e,t.witnessUtxo.script,t.redeemScript),r=t.redeemScript):r=t.witnessUtxo.script,E(r)){const n=c.p2pkh({hash:r.slice(2)}).output;o=A.hashForWitnessV0(e,n,t.witnessUtxo.value,i),a=r}else{if(!b(r))throw new Error(`Input #${e} has witnessUtxo but non-segwit script: `+`${r.toString("hex")}`);if(!t.witnessScript)throw new Error("Segwit input needs witnessScript if not P2WPKH");N(e,r,t.witnessScript),o=A.hashForWitnessV0(e,t.witnessScript,t.witnessUtxo.value,i),a=t.witnessScript}}}return{script:a,sighashType:i,hash:o}}function H(e,t,r){const n=i.checkForInput(t,e);if(!n.bip32Derivation||0===n.bip32Derivation.length)throw new Error("Need bip32Derivation to sign with HD");const A=n.bip32Derivation.map(e=>e.masterFingerprint.equals(r.fingerprint)?e:void 0).filter(e=>!!e);if(0===A.length)throw new Error("Need one bip32Derivation masterFingerprint to match the HDSigner fingerprint");return A.map(e=>{const t=r.derivePath(e.path);if(!e.pubkey.equals(t.publicKey))throw new Error("pubkey did not match bip32Derivation");return t})}function U(e){let t=0;function r(){const r=A.decode(e,t);return t+=A.decode.bytes,r}function n(){return n=r(),t+=n,e.slice(t-n,t);var n}return function(){const e=r(),t=[];for(let r=0;r<e;r++)t.push(n());return t}()}function Y(t){let r=e.allocUnsafe(0);function n(t){const n=r.length,i=A.encodingLength(t);r=e.concat([r,e.allocUnsafe(i)]),A.encode(t,r,n)}function i(t){n(t.length),function(t){r=e.concat([r,e.from(t)])}(t)}var o;return n((o=t).length),o.forEach(i),r}function L(e,t,r){e.__NON_WITNESS_UTXO_BUF_CACHE[r]=t.nonWitnessUtxo;const n=d.Transaction.fromBuffer(t.nonWitnessUtxo);e.__NON_WITNESS_UTXO_TX_CACHE[r]=n;const A=e,i=r;delete t.nonWitnessUtxo,Object.defineProperty(t,"nonWitnessUtxo",{enumerable:!0,get(){const e=A.__NON_WITNESS_UTXO_BUF_CACHE[i],t=A.__NON_WITNESS_UTXO_TX_CACHE[i];if(void 0!==e)return e;{const e=t.toBuffer();return A.__NON_WITNESS_UTXO_BUF_CACHE[i]=e,e}},set(e){A.__NON_WITNESS_UTXO_BUF_CACHE[i]=e}})}function O(e,t,r,n){let A=0;e.forEach((e,i)=>{if(n&&e.finalScriptSig&&(t.ins[i].script=e.finalScriptSig),n&&e.finalScriptWitness&&(t.ins[i].witness=U(e.finalScriptWitness)),e.witnessUtxo)A+=e.witnessUtxo.value;else if(e.nonWitnessUtxo){const n=K(r,e,i),o=t.ins[i].index,a=n.outs[o];A+=a.value}});const i=t.outs.reduce((e,t)=>e+t.value,0),o=A-i;if(o<0)throw new Error("Outputs are spending more than Inputs");const a=t.virtualSize();r.__FEE=o,r.__EXTRACTED_TX=t,r.__FEE_RATE=Math.floor(o/a)}function K(e,t,r){const n=e.__NON_WITNESS_UTXO_TX_CACHE;return n[r]||L(e,t,r),n[r]}function P(e){return[...Array(e).keys()]}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(1167),A=r(664),i=r(111),o=r(665);t.Psbt=class{constructor(e){this.inputs=[],this.outputs=[],this.globalMap={unsignedTx:e}}static fromBase64(t,r){const n=e.from(t,"base64");return this.fromBuffer(n,r)}static fromHex(t,r){const n=e.from(t,"hex");return this.fromBuffer(n,r)}static fromBuffer(e,t){const r=A.psbtFromBuffer(e,t),n=new this(r.globalMap.unsignedTx);return Object.assign(n,r),n}toBase64(){return this.toBuffer().toString("base64")}toHex(){return this.toBuffer().toString("hex")}toBuffer(){return A.psbtToBuffer(this)}updateGlobal(e){return o.updateGlobal(e,this.globalMap),this}updateInput(e,t){const r=o.checkForInput(this.inputs,e);return o.updateInput(t,r),this}updateOutput(e,t){const r=o.checkForOutput(this.outputs,e);return o.updateOutput(t,r),this}addUnknownKeyValToGlobal(e){return o.checkHasKey(e,this.globalMap.unknownKeyVals,o.getEnumLength(i.GlobalTypes)),this.globalMap.unknownKeyVals||(this.globalMap.unknownKeyVals=[]),this.globalMap.unknownKeyVals.push(e),this}addUnknownKeyValToInput(e,t){const r=o.checkForInput(this.inputs,e);return o.checkHasKey(t,r.unknownKeyVals,o.getEnumLength(i.InputTypes)),r.unknownKeyVals||(r.unknownKeyVals=[]),r.unknownKeyVals.push(t),this}addUnknownKeyValToOutput(e,t){const r=o.checkForOutput(this.outputs,e);return o.checkHasKey(t,r.unknownKeyVals,o.getEnumLength(i.OutputTypes)),r.unknownKeyVals||(r.unknownKeyVals=[]),r.unknownKeyVals.push(t),this}addInput(e){this.globalMap.unsignedTx.addInput(e),this.inputs.push({unknownKeyVals:[]});const t=e.unknownKeyVals||[],r=this.inputs.length-1;if(!Array.isArray(t))throw new Error("unknownKeyVals must be an Array");return t.forEach(e=>this.addUnknownKeyValToInput(r,e)),o.addInputAttributes(this.inputs,e),this}addOutput(e){this.globalMap.unsignedTx.addOutput(e),this.outputs.push({unknownKeyVals:[]});const t=e.unknownKeyVals||[],r=this.outputs.length-1;if(!Array.isArray(t))throw new Error("unknownKeyVals must be an Array");return t.forEach(e=>this.addUnknownKeyValToInput(r,e)),o.addOutputAttributes(this.outputs,e),this}clearFinalizedInput(e){const t=o.checkForInput(this.inputs,e);o.inputCheckUncleanFinalized(e,t);for(const e of Object.keys(t))["witnessUtxo","nonWitnessUtxo","finalScriptSig","finalScriptWitness","unknownKeyVals"].includes(e)||delete t[e];return this}combine(...e){const t=n.combine([this].concat(e));return Object.assign(this,t),this}getTransaction(){return this.globalMap.unsignedTx.toBuffer()}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(664);function A(e,t,r){return n=>{if(e.has(n))return;const A=r.filter(e=>e.key.toString("hex")===n)[0];t.push(A),e.add(n)}}function i(e){return e.globalMap.unsignedTx}function o(e){const t=new Set;return e.forEach(e=>{const r=e.key.toString("hex");if(t.has(r))throw new Error("Combine: KeyValue Map keys should be unique");t.add(r)}),t}t.combine=function(e){const t=e[0],r=n.psbtToKeyVals(t),a=e.slice(1);if(0===a.length)throw new Error("Combine: Nothing to combine");const s=i(t);if(void 0===s)throw new Error("Combine: Self missing transaction");const u=o(r.globalKeyVals),l=r.inputKeyVals.map(o),c=r.outputKeyVals.map(o);for(const e of a){const t=i(e);if(void 0===t||!t.toBuffer().equals(s.toBuffer()))throw new Error("Combine: One of the Psbts does not have the same transaction.");const a=n.psbtToKeyVals(e);o(a.globalKeyVals).forEach(A(u,r.globalKeyVals,a.globalKeyVals)),a.inputKeyVals.map(o).forEach((e,t)=>e.forEach(A(l[t],r.inputKeyVals[t],a.inputKeyVals[t]))),a.outputKeyVals.map(o).forEach((e,t)=>e.forEach(A(c[t],r.outputKeyVals[t],a.outputKeyVals[t])))}return n.psbtFromKeyVals(s,{globalMapKeyVals:r.globalKeyVals,inputKeyVals:r.inputKeyVals,outputKeyVals:r.outputKeyVals})}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(433),A=r(434),i=r(314),o=r(111);function a(t,r,n){if(!r.equals(e.from([n])))throw new Error(`Format Error: Invalid ${t} key: ${r.toString("hex")}`)}function s(e,{globalMapKeyVals:t,inputKeyVals:r,outputKeyVals:i}){const s={unsignedTx:e};let u=0;for(const e of t)switch(e.key[0]){case o.GlobalTypes.UNSIGNED_TX:if(a("global",e.key,o.GlobalTypes.UNSIGNED_TX),u>0)throw new Error("Format Error: GlobalMap has multiple UNSIGNED_TX");u++;break;case o.GlobalTypes.GLOBAL_XPUB:void 0===s.globalXpub&&(s.globalXpub=[]),s.globalXpub.push(n.globals.globalXpub.decode(e));break;default:s.unknownKeyVals||(s.unknownKeyVals=[]),s.unknownKeyVals.push(e)}const l=r.length,c=i.length,f=[],d=[];for(const e of A.range(l)){const t={};for(const A of r[e])switch(n.inputs.checkPubkey(A),A.key[0]){case o.InputTypes.NON_WITNESS_UTXO:if(a("input",A.key,o.InputTypes.NON_WITNESS_UTXO),void 0!==t.nonWitnessUtxo||void 0!==t.witnessUtxo)throw new Error("Format Error: Input has multiple [NON_]WITNESS_UTXO");t.nonWitnessUtxo=n.inputs.nonWitnessUtxo.decode(A);break;case o.InputTypes.WITNESS_UTXO:if(a("input",A.key,o.InputTypes.WITNESS_UTXO),void 0!==t.nonWitnessUtxo||void 0!==t.witnessUtxo)throw new Error("Format Error: Input has multiple [NON_]WITNESS_UTXO");t.witnessUtxo=n.inputs.witnessUtxo.decode(A);break;case o.InputTypes.PARTIAL_SIG:void 0===t.partialSig&&(t.partialSig=[]),t.partialSig.push(n.inputs.partialSig.decode(A));break;case o.InputTypes.SIGHASH_TYPE:if(a("input",A.key,o.InputTypes.SIGHASH_TYPE),void 0!==t.sighashType)throw new Error("Format Error: Input has multiple SIGHASH_TYPE");t.sighashType=n.inputs.sighashType.decode(A);break;case o.InputTypes.REDEEM_SCRIPT:if(a("input",A.key,o.InputTypes.REDEEM_SCRIPT),void 0!==t.redeemScript)throw new Error("Format Error: Input has multiple REDEEM_SCRIPT");t.redeemScript=n.inputs.redeemScript.decode(A);break;case o.InputTypes.WITNESS_SCRIPT:if(a("input",A.key,o.InputTypes.WITNESS_SCRIPT),void 0!==t.witnessScript)throw new Error("Format Error: Input has multiple WITNESS_SCRIPT");t.witnessScript=n.inputs.witnessScript.decode(A);break;case o.InputTypes.BIP32_DERIVATION:void 0===t.bip32Derivation&&(t.bip32Derivation=[]),t.bip32Derivation.push(n.inputs.bip32Derivation.decode(A));break;case o.InputTypes.FINAL_SCRIPTSIG:a("input",A.key,o.InputTypes.FINAL_SCRIPTSIG),t.finalScriptSig=n.inputs.finalScriptSig.decode(A);break;case o.InputTypes.FINAL_SCRIPTWITNESS:a("input",A.key,o.InputTypes.FINAL_SCRIPTWITNESS),t.finalScriptWitness=n.inputs.finalScriptWitness.decode(A);break;case o.InputTypes.POR_COMMITMENT:a("input",A.key,o.InputTypes.POR_COMMITMENT),t.porCommitment=n.inputs.porCommitment.decode(A);break;default:t.unknownKeyVals||(t.unknownKeyVals=[]),t.unknownKeyVals.push(A)}f.push(t)}for(const e of A.range(c)){const t={};for(const r of i[e])switch(n.outputs.checkPubkey(r),r.key[0]){case o.OutputTypes.REDEEM_SCRIPT:if(a("output",r.key,o.OutputTypes.REDEEM_SCRIPT),void 0!==t.redeemScript)throw new Error("Format Error: Output has multiple REDEEM_SCRIPT");t.redeemScript=n.outputs.redeemScript.decode(r);break;case o.OutputTypes.WITNESS_SCRIPT:if(a("output",r.key,o.OutputTypes.WITNESS_SCRIPT),void 0!==t.witnessScript)throw new Error("Format Error: Output has multiple WITNESS_SCRIPT");t.witnessScript=n.outputs.witnessScript.decode(r);break;case o.OutputTypes.BIP32_DERIVATION:void 0===t.bip32Derivation&&(t.bip32Derivation=[]),t.bip32Derivation.push(n.outputs.bip32Derivation.decode(r));break;default:t.unknownKeyVals||(t.unknownKeyVals=[]),t.unknownKeyVals.push(r)}d.push(t)}return{globalMap:s,inputs:f,outputs:d}}t.psbtFromBuffer=function(e,t){let r=0;function n(){const t=i.decode(e,r);r+=i.encodingLength(t);const n=e.slice(r,r+t);return r+=t,n}function a(){return{key:n(),value:n()}}function u(){if(r>=e.length)throw new Error("Format Error: Unexpected End of PSBT");const t=0===e.readUInt8(r);return t&&r++,t}if(1886610036!==function(){const t=e.readUInt32BE(r);return r+=4,t}())throw new Error("Format Error: Invalid Magic Number");if(255!==function(){const t=e.readUInt8(r);return r+=1,t}())throw new Error("Format Error: Magic Number must be followed by 0xff separator");const l=[],c={};for(;!u();){const e=a(),t=e.key.toString("hex");if(c[t])throw new Error("Format Error: Keys must be unique for global keymap: key "+t);c[t]=1,l.push(e)}const f=l.filter(e=>e.key[0]===o.GlobalTypes.UNSIGNED_TX);if(1!==f.length)throw new Error("Format Error: Only one UNSIGNED_TX allowed");const d=t(f[0].value),{inputCount:g,outputCount:h}=d.getInputOutputCounts(),p=[],I=[];for(const e of A.range(g)){const t={},r=[];for(;!u();){const n=a(),A=n.key.toString("hex");if(t[A])throw new Error("Format Error: Keys must be unique for each input: input index "+e+" key "+A);t[A]=1,r.push(n)}p.push(r)}for(const e of A.range(h)){const t={},r=[];for(;!u();){const n=a(),A=n.key.toString("hex");if(t[A])throw new Error("Format Error: Keys must be unique for each output: output index "+e+" key "+A);t[A]=1,r.push(n)}I.push(r)}return s(d,{globalMapKeyVals:l,inputKeyVals:p,outputKeyVals:I})},t.checkKeyBuffer=a,t.psbtFromKeyVals=s}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(111),A=e=>[...Array(e).keys()];t.decode=function(e){if(e.key[0]!==n.GlobalTypes.GLOBAL_XPUB)throw new Error("Decode Error: could not decode globalXpub with key 0x"+e.key.toString("hex"));if(79!==e.key.length||![2,3].includes(e.key[46]))throw new Error("Decode Error: globalXpub has invalid extended pubkey in key 0x"+e.key.toString("hex"));if(e.value.length/4%1!=0)throw new Error("Decode Error: Global GLOBAL_XPUB value length should be multiple of 4");const t=e.key.slice(1),r={masterFingerprint:e.value.slice(0,4),extendedPubkey:t,path:"m"};for(const t of A(e.value.length/4-1)){const n=e.value.readUInt32LE(4*t+4),A=!!(2147483648&n),i=2147483647&n;r.path+="/"+i.toString(10)+(A?"'":"")}return r},t.encode=function(t){const r=e.from([n.GlobalTypes.GLOBAL_XPUB]),A=e.concat([r,t.extendedPubkey]),i=t.path.split("/"),o=e.allocUnsafe(4*i.length);t.masterFingerprint.copy(o,0);let a=4;return i.slice(1).forEach(e=>{const t="'"===e.slice(-1);let r=2147483647&parseInt(t?e.slice(0,-1):e,10);t&&(r+=2147483648),o.writeUInt32LE(r,a),a+=4}),{key:A,value:o}},t.expected="{ masterFingerprint: Buffer; extendedPubkey: Buffer; path: string; }",t.check=function(t){const r=t.extendedPubkey,n=t.masterFingerprint,A=t.path;return e.isBuffer(r)&&78===r.length&&[2,3].indexOf(r[45])>-1&&e.isBuffer(n)&&4===n.length&&"string"==typeof A&&!!A.match(/^m(\/\d+'?)+$/)},t.canAddToArray=function(e,t,r){const n=t.extendedPubkey.toString("hex");return!r.has(n)&&(r.add(n),0===e.filter(e=>e.extendedPubkey.equals(t.extendedPubkey)).length)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(111);t.encode=function(t){return{key:e.from([n.GlobalTypes.UNSIGNED_TX]),value:t.toBuffer()}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(111);t.decode=function(e){if(e.key[0]!==n.InputTypes.FINAL_SCRIPTSIG)throw new Error("Decode Error: could not decode finalScriptSig with key 0x"+e.key.toString("hex"));return e.value},t.encode=function(t){return{key:e.from([n.InputTypes.FINAL_SCRIPTSIG]),value:t}},t.expected="Buffer",t.check=function(t){return e.isBuffer(t)},t.canAdd=function(e,t){return!!e&&!!t&&void 0===e.finalScriptSig}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(111);t.decode=function(e){if(e.key[0]!==n.InputTypes.FINAL_SCRIPTWITNESS)throw new Error("Decode Error: could not decode finalScriptWitness with key 0x"+e.key.toString("hex"));return e.value},t.encode=function(t){return{key:e.from([n.InputTypes.FINAL_SCRIPTWITNESS]),value:t}},t.expected="Buffer",t.check=function(t){return e.isBuffer(t)},t.canAdd=function(e,t){return!!e&&!!t&&void 0===e.finalScriptWitness}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(111);t.decode=function(e){if(e.key[0]!==n.InputTypes.NON_WITNESS_UTXO)throw new Error("Decode Error: could not decode nonWitnessUtxo with key 0x"+e.key.toString("hex"));return e.value},t.encode=function(t){return{key:e.from([n.InputTypes.NON_WITNESS_UTXO]),value:t}},t.expected="Buffer",t.check=function(t){return e.isBuffer(t)},t.canAdd=function(e,t){return!!e&&!!t&&void 0===e.witnessUtxo&&void 0===e.nonWitnessUtxo}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(111);t.decode=function(e){if(e.key[0]!==n.InputTypes.PARTIAL_SIG)throw new Error("Decode Error: could not decode partialSig with key 0x"+e.key.toString("hex"));if(34!==e.key.length&&66!==e.key.length||![2,3,4].includes(e.key[1]))throw new Error("Decode Error: partialSig has invalid pubkey in key 0x"+e.key.toString("hex"));return{pubkey:e.key.slice(1),signature:e.value}},t.encode=function(t){const r=e.from([n.InputTypes.PARTIAL_SIG]);return{key:e.concat([r,t.pubkey]),value:t.signature}},t.expected="{ pubkey: Buffer; signature: Buffer; }",t.check=function(t){return e.isBuffer(t.pubkey)&&e.isBuffer(t.signature)&&[33,65].includes(t.pubkey.length)&&[2,3,4].includes(t.pubkey[0])&&function(t){if(!e.isBuffer(t)||t.length<9)return!1;if(48!==t[0])return!1;if(t.length!==t[1]+3)return!1;if(2!==t[2])return!1;const r=t[3];if(r>33||r<1)return!1;if(2!==t[3+r+1])return!1;const n=t[3+r+2];return!(n>33||n<1)&&t.length===3+r+2+n+2}(t.signature)},t.canAddToArray=function(e,t,r){const n=t.pubkey.toString("hex");return!r.has(n)&&(r.add(n),0===e.filter(e=>e.pubkey.equals(t.pubkey)).length)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(111);t.decode=function(e){if(e.key[0]!==n.InputTypes.POR_COMMITMENT)throw new Error("Decode Error: could not decode porCommitment with key 0x"+e.key.toString("hex"));return e.value.toString("utf8")},t.encode=function(t){return{key:e.from([n.InputTypes.POR_COMMITMENT]),value:e.from(t,"utf8")}},t.expected="string",t.check=function(e){return"string"==typeof e},t.canAdd=function(e,t){return!!e&&!!t&&void 0===e.porCommitment}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(111);t.decode=function(e){if(e.key[0]!==n.InputTypes.SIGHASH_TYPE)throw new Error("Decode Error: could not decode sighashType with key 0x"+e.key.toString("hex"));return e.value.readUInt32LE(0)},t.encode=function(t){const r=e.from([n.InputTypes.SIGHASH_TYPE]),A=e.allocUnsafe(4);return A.writeUInt32LE(t,0),{key:r,value:A}},t.expected="number",t.check=function(e){return"number"==typeof e},t.canAdd=function(e,t){return!!e&&!!t&&void 0===e.sighashType}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(111),A=r(434),i=r(314);t.decode=function(e){if(e.key[0]!==n.InputTypes.WITNESS_UTXO)throw new Error("Decode Error: could not decode witnessUtxo with key 0x"+e.key.toString("hex"));const t=A.readUInt64LE(e.value,0);let r=8;const o=i.decode(e.value,r);r+=i.encodingLength(o);const a=e.value.slice(r);if(a.length!==o)throw new Error("Decode Error: WITNESS_UTXO script is not proper length");return{script:a,value:t}},t.encode=function(t){const{script:r,value:o}=t,a=i.encodingLength(r.length),s=e.allocUnsafe(8+a+r.length);return A.writeUInt64LE(s,o,0),i.encode(r.length,s,8),r.copy(s,8+a),{key:e.from([n.InputTypes.WITNESS_UTXO]),value:s}},t.expected="{ script: Buffer; value: number; }",t.check=function(t){return e.isBuffer(t.script)&&"number"==typeof t.value},t.canAdd=function(e,t){return!!e&&!!t&&void 0===e.witnessUtxo&&void 0===e.nonWitnessUtxo}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const r=e=>[...Array(e).keys()];t.makeConverter=function(t){return{decode:function(e){if(e.key[0]!==t)throw new Error("Decode Error: could not decode bip32Derivation with key 0x"+e.key.toString("hex"));if(34!==e.key.length&&66!==e.key.length||![2,3,4].includes(e.key[1]))throw new Error("Decode Error: bip32Derivation has invalid pubkey in key 0x"+e.key.toString("hex"));if(e.value.length/4%1!=0)throw new Error("Decode Error: Input BIP32_DERIVATION value length should be multiple of 4");const n=e.key.slice(1),A={masterFingerprint:e.value.slice(0,4),pubkey:n,path:"m"};for(const t of r(e.value.length/4-1)){const r=e.value.readUInt32LE(4*t+4),n=!!(2147483648&r),i=2147483647&r;A.path+="/"+i.toString(10)+(n?"'":"")}return A},encode:function(r){const n=e.from([t]),A=e.concat([n,r.pubkey]),i=r.path.split("/"),o=e.allocUnsafe(4*i.length);r.masterFingerprint.copy(o,0);let a=4;return i.slice(1).forEach(e=>{const t="'"===e.slice(-1);let r=2147483647&parseInt(t?e.slice(0,-1):e,10);t&&(r+=2147483648),o.writeUInt32LE(r,a),a+=4}),{key:A,value:o}},check:function(t){return e.isBuffer(t.pubkey)&&e.isBuffer(t.masterFingerprint)&&"string"==typeof t.path&&[33,65].includes(t.pubkey.length)&&[2,3,4].includes(t.pubkey[0])&&4===t.masterFingerprint.length},expected:"{ masterFingerprint: Buffer; pubkey: Buffer; path: string; }",canAddToArray:function(e,t,r){const n=t.pubkey.toString("hex");return!r.has(n)&&(r.add(n),0===e.filter(e=>e.pubkey.equals(t.pubkey)).length)}}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeChecker=function(e){return function(t){let r;if(e.includes(t.key[0])&&(33!==(r=t.key.slice(1)).length&&65!==r.length||![2,3,4].includes(r[0])))throw new Error("Format Error: invalid pubkey in key 0x"+t.key.toString("hex"));return r}}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.makeConverter=function(t){return{decode:function(e){if(e.key[0]!==t)throw new Error("Decode Error: could not decode redeemScript with key 0x"+e.key.toString("hex"));return e.value},encode:function(r){return{key:e.from([t]),value:r}},check:function(t){return e.isBuffer(t)},expected:"Buffer",canAdd:function(e,t){return!!e&&!!t&&void 0===e.redeemScript}}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.makeConverter=function(t){return{decode:function(e){if(e.key[0]!==t)throw new Error("Decode Error: could not decode witnessScript with key 0x"+e.key.toString("hex"));return e.value},encode:function(r){return{key:e.from([t]),value:r}},check:function(t){return e.isBuffer(t)},expected:"Buffer",canAdd:function(e,t){return!!e&&!!t&&void 0===e.witnessScript}}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(433),A=r(434);t.psbtToBuffer=function({globalMap:t,inputs:r,outputs:n}){const{globalKeyVals:i,inputKeyVals:o,outputKeyVals:s}=a({globalMap:t,inputs:r,outputs:n}),u=A.keyValsToBuffer(i),l=t=>0===t.length?[e.from([0])]:t.map(A.keyValsToBuffer),c=l(o),f=l(s),d=e.allocUnsafe(5);return d.writeUIntBE(482972169471,0,5),e.concat([d,u].concat(c,f))};const i=(e,t)=>e.key.compare(t.key);function o(e,t){const r=new Set,n=Object.entries(e).reduce((e,[n,A])=>{if("unknownKeyVals"===n)return e;const i=t[n];if(void 0===i)return e;const o=(Array.isArray(A)?A:[A]).map(i.encode);return o.map(e=>e.key.toString("hex")).forEach(e=>{if(r.has(e))throw new Error("Serialize Error: Duplicate key: "+e);r.add(e)}),e.concat(o)},[]),A=e.unknownKeyVals?e.unknownKeyVals.filter(e=>!r.has(e.key.toString("hex"))):[];return n.concat(A).sort(i)}function a({globalMap:e,inputs:t,outputs:r}){return{globalKeyVals:o(e,n.globals),inputKeyVals:t.map(e=>o(e,n.inputs)),outputKeyVals:r.map(e=>o(e,n.outputs))}}t.psbtToKeyVals=a}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(430),A=r(270),i=r(1184),o=r(154),a=r(432),s=r(110),u=r(312),l=r(33),c=r(33),f=r(313),d=r(153),g=r(63),h=i.types,p=new Set(["p2pkh","p2pk","p2wpkh","p2ms","p2sh-p2pkh","p2sh-p2pk","p2sh-p2wpkh","p2sh-p2ms","p2wsh-p2pkh","p2wsh-p2pk","p2wsh-p2ms","p2sh-p2wsh-p2pkh","p2sh-p2wsh-p2pk","p2sh-p2wsh-p2ms"]);function I(e,t,r){try{g(e,t)}catch(e){throw new Error(r)}}class B{constructor(e=s.bitcoin,t=2500){this.network=e,this.maximumFeeRate=t,this.__PREV_TX_SET={},this.__INPUTS=[],this.__TX=new f.Transaction,this.__TX.version=2,this.__USE_LOW_R=!1,console.warn("Deprecation Warning: TransactionBuilder will be removed in the future. (v6.x.x or later) Please use the Psbt class instead. Examples of usage are available in the transactions-psbt.js integration test file on our Github. A high level explanation is available in the psbt.ts and psbt.js files as well.")}static fromTransaction(e,t){const r=new B(t);return r.setVersion(e.version),r.setLockTime(e.locktime),e.outs.forEach(e=>{r.addOutput(e.script,e.value)}),e.ins.forEach(e=>{r.__addInputUnsafe(e.hash,e.index,{sequence:e.sequence,script:e.script,witness:e.witness})}),r.__INPUTS.forEach((t,r)=>{!function(e,t,r){if(e.redeemScriptType!==h.P2MS||!e.redeemScript)return;if(e.pubkeys.length===e.signatures.length)return;const n=e.signatures.concat();e.signatures=e.pubkeys.map(A=>{const i=a.fromPublicKey(A);let o;return n.some((A,a)=>{if(!A)return!1;const s=l.signature.decode(A),u=t.hashForSignature(r,e.redeemScript,s.hashType);return!!i.verify(u,s.signature)&&(n[a]=void 0,o=A,!0)}),o})}(t,e,r)}),r}setLowR(e){return g(g.maybe(g.Boolean),e),void 0===e&&(e=!0),this.__USE_LOW_R=e,e}setLockTime(e){if(g(d.UInt32,e),this.__INPUTS.some(e=>!!e.signatures&&e.signatures.some(e=>void 0!==e)))throw new Error("No, this would invalidate signatures");this.__TX.locktime=e}setVersion(e){g(d.UInt32,e),this.__TX.version=e}addInput(t,r,n,i){if(!this.__canModifyInputs())throw new Error("No, this would invalidate signatures");let o;if("string"==typeof(a=t)||a instanceof String)t=A.reverseBuffer(e.from(t,"hex"));else if(function(e){return e instanceof f.Transaction}(t)){const e=t.outs[r];i=e.script,o=e.value,t=t.getHash(!1)}var a;return this.__addInputUnsafe(t,r,{sequence:n,prevOutScript:i,value:o})}addOutput(e,t){if(!this.__canModifyOutputs())throw new Error("No, this would invalidate signatures");return"string"==typeof e&&(e=n.toOutputScript(e,this.network)),this.__TX.addOutput(e,t)}build(){return this.__build(!1)}buildIncomplete(){return this.__build(!0)}sign(e,t,r,n,A,i){!function({input:e,ourPubKey:t,keyPair:r,signatureHash:n,hashType:A,useLowR:i}){let o=!1;for(const[a,s]of e.pubkeys.entries()){if(!t.equals(s))continue;if(e.signatures[a])throw new Error("Signature already exists");if(33!==t.length&&e.hasWitness)throw new Error("BIP143 rejects uncompressed public keys in P2WPKH or P2WSH");const u=r.sign(n,i);e.signatures[a]=l.signature.encode(u,A),o=!0}if(!o)throw new Error("Key pair cannot sign for this input")}(function(e,t,r,n,A,i,o,a,s,c,B){let y;if("number"==typeof A)console.warn("DEPRECATED: TransactionBuilder sign method arguments will change in v6, please use the TxbSignArg interface"),y=A;else{if("object"!=typeof A)throw new TypeError("TransactionBuilder sign first arg must be TxbSignArg or number");!function(e,t){if(!p.has(t.prevOutScriptType))throw new TypeError(`Unknown prevOutScriptType "${t.prevOutScriptType}"`);I(g.Number,t.vin,"sign must include vin parameter as Number (input index)"),I(d.Signer,t.keyPair,"sign must include keyPair parameter as Signer interface"),I(g.maybe(g.Number),t.hashType,"sign hashType parameter must be a number");const r=(e[t.vin]||[]).prevOutType,n=t.prevOutScriptType;switch(n){case"p2pkh":if(r&&"pubkeyhash"!==r)throw new TypeError(`input #${t.vin} is not of type p2pkh: ${r}`);I(g.value(void 0),t.witnessScript,`${n} requires NO witnessScript`),I(g.value(void 0),t.redeemScript,`${n} requires NO redeemScript`),I(g.value(void 0),t.witnessValue,`${n} requires NO witnessValue`);break;case"p2pk":if(r&&"pubkey"!==r)throw new TypeError(`input #${t.vin} is not of type p2pk: ${r}`);I(g.value(void 0),t.witnessScript,`${n} requires NO witnessScript`),I(g.value(void 0),t.redeemScript,`${n} requires NO redeemScript`),I(g.value(void 0),t.witnessValue,`${n} requires NO witnessValue`);break;case"p2wpkh":if(r&&"witnesspubkeyhash"!==r)throw new TypeError(`input #${t.vin} is not of type p2wpkh: ${r}`);I(g.value(void 0),t.witnessScript,`${n} requires NO witnessScript`),I(g.value(void 0),t.redeemScript,`${n} requires NO redeemScript`),I(d.Satoshi,t.witnessValue,`${n} requires witnessValue`);break;case"p2ms":if(r&&"multisig"!==r)throw new TypeError(`input #${t.vin} is not of type p2ms: ${r}`);I(g.value(void 0),t.witnessScript,`${n} requires NO witnessScript`),I(g.value(void 0),t.redeemScript,`${n} requires NO redeemScript`),I(g.value(void 0),t.witnessValue,`${n} requires NO witnessValue`);break;case"p2sh-p2wpkh":if(r&&"scripthash"!==r)throw new TypeError(`input #${t.vin} is not of type p2sh-p2wpkh: ${r}`);I(g.value(void 0),t.witnessScript,`${n} requires NO witnessScript`),I(g.Buffer,t.redeemScript,`${n} requires redeemScript`),I(d.Satoshi,t.witnessValue,`${n} requires witnessValue`);break;case"p2sh-p2ms":case"p2sh-p2pk":case"p2sh-p2pkh":if(r&&"scripthash"!==r)throw new TypeError(`input #${t.vin} is not of type ${n}: ${r}`);I(g.value(void 0),t.witnessScript,`${n} requires NO witnessScript`),I(g.Buffer,t.redeemScript,`${n} requires redeemScript`),I(g.value(void 0),t.witnessValue,`${n} requires NO witnessValue`);break;case"p2wsh-p2ms":case"p2wsh-p2pk":case"p2wsh-p2pkh":if(r&&"witnessscripthash"!==r)throw new TypeError(`input #${t.vin} is not of type ${n}: ${r}`);I(g.Buffer,t.witnessScript,`${n} requires witnessScript`),I(g.value(void 0),t.redeemScript,`${n} requires NO redeemScript`),I(d.Satoshi,t.witnessValue,`${n} requires witnessValue`);break;case"p2sh-p2wsh-p2ms":case"p2sh-p2wsh-p2pk":case"p2sh-p2wsh-p2pkh":if(r&&"scripthash"!==r)throw new TypeError(`input #${t.vin} is not of type ${n}: ${r}`);I(g.Buffer,t.witnessScript,`${n} requires witnessScript`),I(g.Buffer,t.redeemScript,`${n} requires witnessScript`),I(d.Satoshi,t.witnessValue,`${n} requires witnessScript`)}}(t,A),({vin:y,keyPair:i,redeemScript:o,hashType:a,witnessValue:s,witnessScript:c}=A)}if(void 0===i)throw new Error("sign requires keypair");if(i.network&&i.network!==e)throw new TypeError("Inconsistent network");if(!t[y])throw new Error("No input at index: "+y);if(a=a||f.Transaction.SIGHASH_ALL,r(a))throw new Error("Transaction needs outputs");const Q=t[y];if(void 0!==Q.redeemScript&&o&&!Q.redeemScript.equals(o))throw new Error("Inconsistent redeemScript");const w=i.publicKey||i.getPublicKey&&i.getPublicKey();if(!m(Q)){if(void 0!==s){if(void 0!==Q.value&&Q.value!==s)throw new Error("Input did not match witnessValue");g(d.Satoshi,s),Q.value=s}if(!m(Q)){const e=function(e,t,r,n){if(r&&n){const A=u.p2wsh({redeem:{output:n}}),i=u.p2wsh({output:r}),o=u.p2sh({redeem:{output:r}}),a=u.p2sh({redeem:A});if(!A.hash.equals(i.hash))throw new Error("Witness script inconsistent with prevOutScript");if(!o.hash.equals(a.hash))throw new Error("Redeem script inconsistent with prevOutScript");const s=C(A.redeem.output,t);if(!s.pubkeys)throw new Error(s.type+" not supported as witnessScript ("+l.toASM(n)+")");e.signatures&&e.signatures.some(e=>void 0!==e)&&(s.signatures=e.signatures);const c=n;if(s.type===h.P2WPKH)throw new Error("P2SH(P2WSH(P2WPKH)) is a consensus failure");return{redeemScript:r,redeemScriptType:h.P2WSH,witnessScript:n,witnessScriptType:s.type,prevOutType:h.P2SH,prevOutScript:o.output,hasWitness:!0,signScript:c,signType:s.type,pubkeys:s.pubkeys,signatures:s.signatures,maxSignatures:s.maxSignatures}}if(r){const n=u.p2sh({redeem:{output:r}});if(e.prevOutScript){let t;try{t=u.p2sh({output:e.prevOutScript})}catch(e){throw new Error("PrevOutScript must be P2SH")}if(!n.hash.equals(t.hash))throw new Error("Redeem script inconsistent with prevOutScript")}const A=C(n.redeem.output,t);if(!A.pubkeys)throw new Error(A.type+" not supported as redeemScript ("+l.toASM(r)+")");e.signatures&&e.signatures.some(e=>void 0!==e)&&(A.signatures=e.signatures);let i=r;return A.type===h.P2WPKH&&(i=u.p2pkh({pubkey:A.pubkeys[0]}).output),{redeemScript:r,redeemScriptType:A.type,prevOutType:h.P2SH,prevOutScript:n.output,hasWitness:A.type===h.P2WPKH,signScript:i,signType:A.type,pubkeys:A.pubkeys,signatures:A.signatures,maxSignatures:A.maxSignatures}}if(n){const r=u.p2wsh({redeem:{output:n}});if(e.prevOutScript){const t=u.p2wsh({output:e.prevOutScript});if(!r.hash.equals(t.hash))throw new Error("Witness script inconsistent with prevOutScript")}const A=C(r.redeem.output,t);if(!A.pubkeys)throw new Error(A.type+" not supported as witnessScript ("+l.toASM(n)+")");e.signatures&&e.signatures.some(e=>void 0!==e)&&(A.signatures=e.signatures);const i=n;if(A.type===h.P2WPKH)throw new Error("P2WSH(P2WPKH) is a consensus failure");return{witnessScript:n,witnessScriptType:A.type,prevOutType:h.P2WSH,prevOutScript:r.output,hasWitness:!0,signScript:i,signType:A.type,pubkeys:A.pubkeys,signatures:A.signatures,maxSignatures:A.maxSignatures}}if(e.prevOutType&&e.prevOutScript){if(e.prevOutType===h.P2SH)throw new Error("PrevOutScript is "+e.prevOutType+", requires redeemScript");if(e.prevOutType===h.P2WSH)throw new Error("PrevOutScript is "+e.prevOutType+", requires witnessScript");if(!e.prevOutScript)throw new Error("PrevOutScript is missing");const r=C(e.prevOutScript,t);if(!r.pubkeys)throw new Error(r.type+" not supported ("+l.toASM(e.prevOutScript)+")");e.signatures&&e.signatures.some(e=>void 0!==e)&&(r.signatures=e.signatures);let n=e.prevOutScript;return r.type===h.P2WPKH&&(n=u.p2pkh({pubkey:r.pubkeys[0]}).output),{prevOutType:r.type,prevOutScript:e.prevOutScript,hasWitness:r.type===h.P2WPKH,signScript:n,signType:r.type,pubkeys:r.pubkeys,signatures:r.signatures,maxSignatures:r.maxSignatures}}const A=u.p2pkh({pubkey:t}).output;return{prevOutType:h.P2PKH,prevOutScript:A,hasWitness:!1,signScript:A,signType:h.P2PKH,pubkeys:[t],signatures:[void 0]}}(Q,w,o,c);Object.assign(Q,e)}if(!m(Q))throw Error(Q.prevOutType+" not supported")}let E;E=Q.hasWitness?n.hashForWitnessV0(y,Q.signScript,Q.value,a):n.hashForSignature(y,Q.signScript,a);return{input:Q,ourPubKey:w,keyPair:i,signatureHash:E,hashType:a,useLowR:!!B}}(this.network,this.__INPUTS,this.__needsOutputs.bind(this),this.__TX,e,t,r,n,A,i,this.__USE_LOW_R))}__addInputUnsafe(e,t,r){if(f.Transaction.isCoinbaseHash(e))throw new Error("coinbase inputs not supported");const n=e.toString("hex")+":"+t;if(void 0!==this.__PREV_TX_SET[n])throw new Error("Duplicate TxOut: "+n);let A={};if(void 0!==r.script&&(A=function e(t,r,n,A){if(0===t.length&&0===r.length)return{};if(!n){let e=i.input(t,!0),A=i.witness(r,!0);e===h.NONSTANDARD&&(e=void 0),A===h.NONSTANDARD&&(A=void 0),n=e||A}switch(n){case h.P2WPKH:{const{output:e,pubkey:t,signature:n}=u.p2wpkh({witness:r});return{prevOutScript:e,prevOutType:h.P2WPKH,pubkeys:[t],signatures:[n]}}case h.P2PKH:{const{output:e,pubkey:r,signature:n}=u.p2pkh({input:t});return{prevOutScript:e,prevOutType:h.P2PKH,pubkeys:[r],signatures:[n]}}case h.P2PK:{const{signature:e}=u.p2pk({input:t});return{prevOutType:h.P2PK,pubkeys:[void 0],signatures:[e]}}case h.P2MS:{const{m:e,pubkeys:r,signatures:n}=u.p2ms({input:t,output:A},{allowIncomplete:!0});return{prevOutType:h.P2MS,pubkeys:r,signatures:n,maxSignatures:e}}}if(n===h.P2SH){const{output:n,redeem:A}=u.p2sh({input:t,witness:r}),o=i.output(A.output),a=e(A.input,A.witness,o,A.output);return a.prevOutType?{prevOutScript:n,prevOutType:h.P2SH,redeemScript:A.output,redeemScriptType:a.prevOutType,witnessScript:a.witnessScript,witnessScriptType:a.witnessScriptType,pubkeys:a.pubkeys,signatures:a.signatures}:{}}if(n===h.P2WSH){const{output:n,redeem:A}=u.p2wsh({input:t,witness:r}),o=i.output(A.output);let a;return(a=o===h.P2WPKH?e(A.input,A.witness,o):e(l.compile(A.witness),[],o,A.output)).prevOutType?{prevOutScript:n,prevOutType:h.P2WSH,witnessScript:A.output,witnessScriptType:a.prevOutType,pubkeys:a.pubkeys,signatures:a.signatures}:{}}return{prevOutType:h.NONSTANDARD,prevOutScript:t}}(r.script,r.witness||[])),void 0!==r.value&&(A.value=r.value),!A.prevOutScript&&r.prevOutScript){let e;if(!A.pubkeys&&!A.signatures){const t=C(r.prevOutScript);t.pubkeys&&(A.pubkeys=t.pubkeys,A.signatures=t.signatures),e=t.type}A.prevOutScript=r.prevOutScript,A.prevOutType=e||i.output(r.prevOutScript)}const o=this.__TX.addInput(e,t,r.sequence,r.scriptSig);return this.__INPUTS[o]=A,this.__PREV_TX_SET[n]=!0,o}__build(e){if(!e){if(!this.__TX.ins.length)throw new Error("Transaction has no inputs");if(!this.__TX.outs.length)throw new Error("Transaction has no outputs")}const t=this.__TX.clone();if(this.__INPUTS.forEach((r,n)=>{if(!r.prevOutType&&!e)throw new Error("Transaction is not complete");const A=function e(t,r,n){const A=r.pubkeys||[];let i=r.signatures||[];switch(t){case h.P2PKH:if(0===A.length)break;if(0===i.length)break;return u.p2pkh({pubkey:A[0],signature:i[0]});case h.P2WPKH:if(0===A.length)break;if(0===i.length)break;return u.p2wpkh({pubkey:A[0],signature:i[0]});case h.P2PK:if(0===A.length)break;if(0===i.length)break;return u.p2pk({signature:i[0]});case h.P2MS:{const e=r.maxSignatures;i=n?i.map(e=>e||c.OPS.OP_0):i.filter(e=>e);const t=!n||e===i.length;return u.p2ms({m:e,pubkeys:A,signatures:i},{allowIncomplete:n,validate:t})}case h.P2SH:{const t=e(r.redeemScriptType,r,n);if(!t)return;return u.p2sh({redeem:{output:t.output||r.redeemScript,input:t.input,witness:t.witness}})}case h.P2WSH:{const t=e(r.witnessScriptType,r,n);if(!t)return;return u.p2wsh({redeem:{output:r.witnessScript,input:t.input,witness:t.witness}})}}}(r.prevOutType,r,e);if(A)t.setInputScript(n,A.input),t.setWitness(n,A.witness);else{if(!e&&r.prevOutType===h.NONSTANDARD)throw new Error("Unknown input type");if(!e)throw new Error("Not enough information")}}),!e&&this.__overMaximumFees(t.virtualSize()))throw new Error("Transaction has absurd fees");return t}__canModifyInputs(){return this.__INPUTS.every(e=>!e.signatures||e.signatures.every(e=>{if(!e)return!0;return 0!=(y(e)&f.Transaction.SIGHASH_ANYONECANPAY)}))}__needsOutputs(e){return e===f.Transaction.SIGHASH_ALL?0===this.__TX.outs.length:0===this.__TX.outs.length&&this.__INPUTS.some(e=>!!e.signatures&&e.signatures.some(e=>{if(!e)return!1;return!(y(e)&f.Transaction.SIGHASH_NONE)}))}__canModifyOutputs(){const e=this.__TX.ins.length,t=this.__TX.outs.length;return this.__INPUTS.every(r=>void 0===r.signatures||r.signatures.every(r=>{if(!r)return!0;const n=31&y(r);return n===f.Transaction.SIGHASH_NONE||n===f.Transaction.SIGHASH_SINGLE&&e<=t}))}__overMaximumFees(e){return(this.__INPUTS.reduce((e,t)=>e+(t.value>>>0),0)-this.__TX.outs.reduce((e,t)=>e+t.value,0))/e>this.maximumFeeRate}}function C(e,t){g(d.Buffer,e);const r=i.output(e);switch(r){case h.P2PKH:{if(!t)return{type:r};const n=u.p2pkh({output:e}).hash,A=o.hash160(t);return n.equals(A)?{type:r,pubkeys:[t],signatures:[void 0]}:{type:r}}case h.P2WPKH:{if(!t)return{type:r};const n=u.p2wpkh({output:e}).hash,A=o.hash160(t);return n.equals(A)?{type:r,pubkeys:[t],signatures:[void 0]}:{type:r}}case h.P2PK:return{type:r,pubkeys:[u.p2pk({output:e}).pubkey],signatures:[void 0]};case h.P2MS:{const t=u.p2ms({output:e});return{type:r,pubkeys:t.pubkeys,signatures:t.pubkeys.map(()=>void 0),maxSignatures:t.m}}}return{type:r}}function m(e){return void 0!==e.signScript&&void 0!==e.signType&&void 0!==e.pubkeys&&void 0!==e.signatures&&e.signatures.length===e.pubkeys.length&&e.pubkeys.length>0&&(!1===e.hasWitness||void 0!==e.value)}function y(e){return e.readUInt8(e.length-1)}t.TransactionBuilder=B}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(33),A=r(435),i=r(1187),o=r(436),a=r(437),s=r(1192),u=r(1195),l=r(1197),c=r(1199),f={P2MS:"multisig",NONSTANDARD:"nonstandard",NULLDATA:"nulldata",P2PK:"pubkey",P2PKH:"pubkeyhash",P2SH:"scripthash",P2WPKH:"witnesspubkeyhash",P2WSH:"witnessscripthash",WITNESS_COMMITMENT:"witnesscommitment"};t.types=f,t.output=function(e){if(l.output.check(e))return f.P2WPKH;if(c.output.check(e))return f.P2WSH;if(a.output.check(e))return f.P2PKH;if(s.output.check(e))return f.P2SH;const t=n.decompile(e);if(!t)throw new TypeError("Invalid script");return A.output.check(t)?f.P2MS:o.output.check(t)?f.P2PK:u.output.check(t)?f.WITNESS_COMMITMENT:i.output.check(t)?f.NULLDATA:f.NONSTANDARD},t.input=function(e,t){const r=n.decompile(e);if(!r)throw new TypeError("Invalid script");return a.input.check(r)?f.P2PKH:s.input.check(r,t)?f.P2SH:A.input.check(r,t)?f.P2MS:o.input.check(r)?f.P2PK:f.NONSTANDARD},t.witness=function(e,t){const r=n.decompile(e);if(!r)throw new TypeError("Invalid script");return l.input.check(r)?f.P2WPKH:c.input.check(r,t)?f.P2WSH:f.NONSTANDARD}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(33),A=r(33);function i(e){return e===A.OPS.OP_0||n.isCanonicalScriptSignature(e)}function o(e,t){const r=n.decompile(e);return!(r.length<2)&&(r[0]===A.OPS.OP_0&&(t?r.slice(1).every(i):r.slice(1).every(n.isCanonicalScriptSignature)))}t.check=o,o.toJSON=()=>"multisig input"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(33),A=r(33),i=r(153),o=A.OPS.OP_RESERVED;function a(e,t){const r=n.decompile(e);if(r.length<4)return!1;if(r[r.length-1]!==A.OPS.OP_CHECKMULTISIG)return!1;if(!i.Number(r[0]))return!1;if(!i.Number(r[r.length-2]))return!1;const a=r[0]-o,s=r[r.length-2]-o;return!(a<=0)&&(!(s>16)&&(!(a>s)&&(s===r.length-3&&(!!t||r.slice(1,-2).every(n.isCanonicalPubKey)))))}t.check=a,a.toJSON=()=>"multi-sig output"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(33),A=n.OPS;function i(e){const t=n.compile(e);return t.length>1&&t[0]===A.OP_RETURN}t.check=i,i.toJSON=()=>"null data output";const o={check:i};t.output=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(33);function A(e){const t=n.decompile(e);return 1===t.length&&n.isCanonicalScriptSignature(t[0])}t.check=A,A.toJSON=()=>"pubKey input"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(33),A=r(33);function i(e){const t=n.decompile(e);return 2===t.length&&n.isCanonicalPubKey(t[0])&&t[1]===A.OPS.OP_CHECKSIG}t.check=i,i.toJSON=()=>"pubKey output"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(33);function A(e){const t=n.decompile(e);return 2===t.length&&n.isCanonicalScriptSignature(t[0])&&n.isCanonicalPubKey(t[1])}t.check=A,A.toJSON=()=>"pubKeyHash input"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(33),A=r(33);function i(e){const t=n.compile(e);return 25===t.length&&t[0]===A.OPS.OP_DUP&&t[1]===A.OPS.OP_HASH160&&20===t[2]&&t[23]===A.OPS.OP_EQUALVERIFY&&t[24]===A.OPS.OP_CHECKSIG}t.check=i,i.toJSON=()=>"pubKeyHash output"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1193);t.input=n;const A=r(1194);t.output=A},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(33),A=r(435),i=r(436),o=r(437),a=r(666),s=r(667);function u(t,r){const u=n.decompile(t);if(u.length<1)return!1;const l=u[u.length-1];if(!e.isBuffer(l))return!1;const c=n.decompile(n.compile(u.slice(0,-1))),f=n.decompile(l);return!!f&&(!!n.isPushOnly(c)&&(1===u.length?s.check(f)||a.check(f):!(!o.input.check(c)||!o.output.check(f))||(!(!A.input.check(c,r)||!A.output.check(f))||!(!i.input.check(c)||!i.output.check(f)))))}t.check=u,u.toJSON=()=>"scriptHash input"}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(33),A=r(33);function i(e){const t=n.compile(e);return 23===t.length&&t[0]===A.OPS.OP_HASH160&&20===t[1]&&t[22]===A.OPS.OP_EQUAL}t.check=i,i.toJSON=()=>"scriptHash output"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1196);t.output=n},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(33),A=r(33),i=r(153),o=r(63),a=e.from("aa21a9ed","hex");function s(e){const t=n.compile(e);return t.length>37&&t[0]===A.OPS.OP_RETURN&&36===t[1]&&t.slice(2,6).equals(a)}t.check=s,s.toJSON=()=>"Witness commitment output",t.encode=function(t){o(i.Hash256bit,t);const r=e.allocUnsafe(36);return a.copy(r,0),t.copy(r,4),n.compile([A.OPS.OP_RETURN,r])},t.decode=function(e){return o(s,e),n.decompile(e)[1].slice(4,36)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1198);t.input=n;const A=r(666);t.output=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(33);function A(e){const t=n.decompile(e);return 2===t.length&&n.isCanonicalScriptSignature(t[0])&&(r=t[1],n.isCanonicalPubKey(r)&&33===r.length);var r}t.check=A,A.toJSON=()=>"witnessPubKeyHash input"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1200);t.input=n;const A=r(667);t.output=A},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(33),A=r(63),i=r(435),o=r(436),a=r(437);function s(t,r){if(A(A.Array,t),t.length<1)return!1;const s=t[t.length-1];if(!e.isBuffer(s))return!1;const u=n.decompile(s);if(!u||0===u.length)return!1;const l=n.compile(t.slice(0,-1));return!(!a.input.check(l)||!a.output.check(u))||(!(!i.input.check(l,r)||!i.output.check(u))||!(!o.input.check(l)||!o.output.check(u)))}t.check=s,s.toJSON=()=>"witnessScriptHash input"}).call(this,r(8).Buffer)},function(e,t,r){"use strict";r(1202),r(1203),r(1204),r(1205),r(1206),r(1207)},function(e,t,r){"use strict";Array.prototype.fill||(Array.prototype.fill=function(e,t=0,r){if(!this)throw new TypeError("this is null or not defined");const n=Object(this),A=n.length>>>0,i=t>>0;let o=i<0?Math.max(A+i,0):Math.min(i,A);const a=void 0===r?A:r>>0,s=a<0?Math.max(A+a,0):Math.min(a,A);for(;o<s;)n[o]=e,o++;return n}),Uint8Array.prototype.fill||(Uint8Array.prototype.fill=Array.prototype.fill)},function(e,t,r){"use strict";String.prototype.padEnd||(String.prototype.padEnd=function(e,t=" "){let r=String(this);for(;r.length<e;)r+=t;return r})},function(e,t,r){"use strict";String.prototype.padStart||(String.prototype.padStart=function(e,t=" "){let r=String(this);for(;r.length<e;)r=t+r;return r})},function(e,t,r){"use strict";Object.setPrototypeOf||(Object.setPrototypeOf=function(e,t){return e.__proto__=t,e})},function(e,t,r){"use strict";(function(e){if("undefined"==typeof TextDecoder)try{e.TextDecoder=r(219).TextDecoder}catch(e){}}).call(this,r(34))},function(e,t,r){"use strict";(function(e){if("undefined"==typeof TextEncoder)try{e.TextEncoder=r(219).TextEncoder}catch(e){}}).call(this,r(34))},function(e,t,r){"use strict";(function(e){var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({name:t,version:r},n){const o="undefined"!=typeof window?window:e;o.__polkadotjs||(o.__polkadotjs={});if((0,A.default)(t.startsWith("@polkadot"),"Invalid package descriptor ".concat(t)),o.__polkadotjs[t]=[...o.__polkadotjs[t]||[],{path:n||"",version:r}],1!==o.__polkadotjs[t].length){const e=function(e){const t=e.map(e=>(0,i.default)(e)?{version:e}:e),r=t.reduce((e,{version:t})=>Math.max(e,t.length),0);return t.map(({path:e,version:t})=>"\t".concat(t.padEnd(r),"\t").concat(function(e){return!e||e.length<5?"<unknown>":e}(e))).join("\n")}(o.__polkadotjs[t]);console.warn("Multiple instances of ".concat(t," detected, ensure that there is only one package in your dependency tree.\n").concat(e))}};var A=n(r(200)),i=n(r(315))}).call(this,r(34))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.format=g,t.default=function(e){const t="".concat(e.toUpperCase(),":").padStart(16);let r;try{const t=!1,n=(Object({NODE_ENV:"production"}).DEBUG||"").split(",");r=t||!!n.find(t=>e.startsWith(t))}catch(e){r=!1}return{debug:r?(...e)=>h("debug",t,e):p,error:(...e)=>h("error",t,e),log:(...e)=>h("log",t,e),noop:p,warn:(...e)=>h("warn",t,e)}};var A=n(r(1210)),i=n(r(670)),o=n(r(671)),a=n(r(438)),s=n(r(271)),u=n(r(439)),l=n(r(672)),c=n(r(317));const f={debug:"log",error:"error",log:"log",warn:"warn"},d={debug:A.default.gray,error:A.default.red,log:A.default.reset,warn:A.default.yellow};function g(e){return Array.isArray(e)?e.map(g):(0,o.default)(e)?e.toString():(0,a.default)(e)?"0x".concat(e.toString("hex")):(0,l.default)(e)?(0,c.default)(e):e&&(0,u.default)(e)&&e.constructor===Object?function(e){return Object.keys(e).reduce((t,r)=>(t[r]=g(e[r]),t),{})}(e):e}function h(e,t,r){if(1===r.length&&(0,s.default)(r[0])){const n=r[0]();return h(e,t,Array.isArray(n)?n:[n])}const n=t=>d[e](t);console[f[e]](n((0,i.default)(new Date)),n(t),...r.map(g))}function p(...e){}},function(e,t,r){"use strict";const n=r(1211),{stdout:A,stderr:i}=r(1215),{stringReplaceAll:o,stringEncaseCRLFWithFirstIndex:a}=r(1216),s=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null);class l{constructor(e){return c(e)}}const c=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const r=A?A.level:0;e.level=void 0===t.level?r:t.level})(t,e),t.template=(...e)=>C(t.template,...e),Object.setPrototypeOf(t,f.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=l,t.template};function f(e){return c(e)}for(const[e,t]of Object.entries(n))u[e]={get(){const r=p(this,h(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};u.visible={get(){const e=p(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const d=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of d)u[e]={get(){const{level:t}=this;return function(...r){const A=h(n.color[s[t]][e](...r),n.color.close,this._styler);return p(this,A,this._isEmpty)}}};for(const e of d){u["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...r){const A=h(n.bgColor[s[t]][e](...r),n.bgColor.close,this._styler);return p(this,A,this._isEmpty)}}}}const g=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),h=(e,t,r)=>{let n,A;return void 0===r?(n=e,A=t):(n=r.openAll+e,A=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:A,parent:r}},p=(e,t,r)=>{const n=(...e)=>I(n,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(n,g),n._generator=e,n._styler=t,n._isEmpty=r,n},I=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(void 0===r)return t;const{openAll:n,closeAll:A}=r;if(-1!==t.indexOf(""))for(;void 0!==r;)t=o(t,r.close,r.open),r=r.parent;const i=t.indexOf("\n");return-1!==i&&(t=a(t,A,n,i)),n+t+A};let B;const C=(e,...t)=>{const[n]=t;if(!Array.isArray(n))return t.join(" ");const A=t.slice(1),i=[n.raw[0]];for(let e=1;e<n.length;e++)i.push(String(A[e-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[e]));return void 0===B&&(B=r(1217)),B(e,i.join(""))};Object.defineProperties(f.prototype,u);const m=f();m.supportsColor=A,m.stderr=f({level:i?i.level:0}),m.stderr.supportsColor=i,e.exports=m},function(e,t,r){"use strict";(function(e){const t=(e,t)=>(...r)=>{return`[${e(...r)+t}m`},n=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};5;${n}m`},A=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};2;${n[0]};${n[1]};${n[2]}m`},i=e=>e,o=(e,t,r)=>[e,t,r],a=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{const n=r();return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})};let s;const u=(e,t,n,A)=>{void 0===s&&(s=r(1212));const i=A?10:0,o={};for(const[r,A]of Object.entries(s)){const a="ansi16"===r?"ansi":r;r===t?o[a]=e(n,i):"object"==typeof A&&(o[a]=e(A[t],i))}return o};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,r={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],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,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],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};r.color.gray=r.color.blackBright,r.bgColor.bgGray=r.bgColor.bgBlackBright,r.color.grey=r.color.blackBright,r.bgColor.bgGrey=r.bgColor.bgBlackBright;for(const[t,n]of Object.entries(r)){for(const[t,A]of Object.entries(n))r[t]={open:`[${A[0]}m`,close:`[${A[1]}m`},n[t]=r[t],e.set(A[0],A[1]);Object.defineProperty(r,t,{value:n,enumerable:!1})}return Object.defineProperty(r,"codes",{value:e,enumerable:!1}),r.color.close="[39m",r.bgColor.close="[49m",a(r.color,"ansi",()=>u(t,"ansi16",i,!1)),a(r.color,"ansi256",()=>u(n,"ansi256",i,!1)),a(r.color,"ansi16m",()=>u(A,"rgb",o,!1)),a(r.bgColor,"ansi",()=>u(t,"ansi16",i,!0)),a(r.bgColor,"ansi256",()=>u(n,"ansi256",i,!0)),a(r.bgColor,"ansi16m",()=>u(A,"rgb",o,!0)),r}})}).call(this,r(96)(e))},function(e,t,r){const n=r(669),A=r(1214),i={};Object.keys(n).forEach(e=>{i[e]={},Object.defineProperty(i[e],"channels",{value:n[e].channels}),Object.defineProperty(i[e],"labels",{value:n[e].labels});const t=A(e);Object.keys(t).forEach(r=>{const n=t[r];i[e][r]=function(e){const t=function(...t){const r=t[0];if(null==r)return r;r.length>1&&(t=r);const n=e(t);if("object"==typeof n)for(let e=n.length,t=0;t<e;t++)n[t]=Math.round(n[t]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(n),i[e][r].raw=function(e){const t=function(...t){const r=t[0];return null==r?r:(r.length>1&&(t=r),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)})}),e.exports=i},function(e,t,r){"use strict";e.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]}},function(e,t,r){const n=r(669);function A(e){const t=function(){const e={},t=Object.keys(n);for(let r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;){const e=r.pop(),A=Object.keys(n[e]);for(let n=A.length,i=0;i<n;i++){const n=A[i],o=t[n];-1===o.distance&&(o.distance=t[e].distance+1,o.parent=e,r.unshift(n))}}return t}function i(e,t){return function(r){return t(e(r))}}function o(e,t){const r=[t[e].parent,e];let A=n[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)r.unshift(t[o].parent),A=i(n[t[o].parent][o],A),o=t[o].parent;return A.conversion=r,A}e.exports=function(e){const t=A(e),r={},n=Object.keys(t);for(let e=n.length,A=0;A<e;A++){const e=n[A];null!==t[e].parent&&(r[e]=o(e,t))}return r}},function(e,t,r){"use strict";e.exports={stdout:!1,stderr:!1}},function(e,t,r){"use strict";e.exports={stringReplaceAll:(e,t,r)=>{let n=e.indexOf(t);if(-1===n)return e;const A=t.length;let i=0,o="";do{o+=e.substr(i,n-i)+t+r,i=n+A,n=e.indexOf(t,i)}while(-1!==n);return o+=e.substr(i)},stringEncaseCRLFWithFirstIndex:(e,t,r,n)=>{let A=0,i="";do{const o="\r"===e[n-1];i+=e.substr(A,(o?n-1:n)-A)+t+(o?"\r\n":"\n")+r,A=n+1,n=e.indexOf("\n",A)}while(-1!==n);return i+=e.substr(A)}}},function(e,t,r){"use strict";const n=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,A=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,o=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,a=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function s(e){const t="u"===e[0],r="{"===e[1];return t&&!r&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&r?String.fromCodePoint(parseInt(e.slice(2,-1),16)):a.get(e)||e}function u(e,t){const r=[],n=t.trim().split(/\s*,\s*/g);let A;for(const t of n){const n=Number(t);if(Number.isNaN(n)){if(!(A=t.match(i)))throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`);r.push(A[2].replace(o,(e,t,r)=>t?s(t):r))}else r.push(n)}return r}function l(e){A.lastIndex=0;const t=[];let r;for(;null!==(r=A.exec(e));){const e=r[1];if(r[2]){const n=u(e,r[2]);t.push([e].concat(n))}else t.push([e])}return t}function c(e,t){const r={};for(const e of t)for(const t of e.styles)r[t[0]]=e.inverse?null:t.slice(1);let n=e;for(const[e,t]of Object.entries(r))if(Array.isArray(t)){if(!(e in n))throw new Error(`Unknown Chalk style: ${e}`);n=t.length>0?n[e](...t):n[e]}return n}e.exports=(e,t)=>{const r=[],A=[];let i=[];if(t.replace(n,(t,n,o,a,u,f)=>{if(n)i.push(s(n));else if(a){const t=i.join("");i=[],A.push(0===r.length?t:c(e,r)(t)),r.push({inverse:o,styles:l(a)})}else if(u){if(0===r.length)throw new Error("Found extraneous } in Chalk template literal");A.push(c(e,r)(i.join(""))),i=[],r.pop()}else i.push(f)}),A.push(i.join("")),r.length>0){const e=`Chalk template literal is missing ${r.length} closing bracket${1===r.length?"":"s"} (\`}\`)`;throw new Error(e)}return A.join("")}},function(e,t){},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,...r){return new Promise((n,A)=>{t.apply(e,[...r,(e,t)=>{e?A(e):n(t)}])})}},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"arrayFilter",{enumerable:!0,get:function(){return A.default}});var A=n(r(1221))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!0){return e.filter(e=>!(0,i.default)(e)&&(t||!(0,A.default)(e)))};var A=n(r(440)),i=n(r(318))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(272)).default;t.default=A},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(...e){return(0,i.default)(e&&e.length>=1,"Must provide one or more BN arguments"),e.reduce((e,t)=>A.default.max(e,t),e[0])};var A=n(r(155)),i=n(r(200))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(...e){return(0,i.default)(e&&e.length>=1,"Must provide one or more BN arguments"),e.reduce((e,t)=>A.default.min(e,t),e[0])};var A=n(r(155)),i=n(r(200))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e.gten(0),"square root of negative numbers is not supported"),e.ltn(2)?e:function e(t,r){const n=t.div(r).add(r).shrn(1);if(r.eq(n)||r.eq(n.subn(1)))return r;return e(t,n)}(e,new A.default(1))};var A=n(r(155)),i=n(r(200))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={bitLength:-1,isLe:!1,isNegative:!1}){if(!e)return u;const r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({isLe:!1,isNegative:!1},(0,i.default)(t)?{bitLength:t}:t);return(0,a.u8aToHex)((0,o.default)(e,r))};var A=n(r(441)),i=n(r(445)),o=n(r(675)),a=r(274);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}const u="0x00"},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(...e){const t=e.map(A.default),r=t.reduce((e,t)=>e+t.length,0),n=new Uint8Array(r);let i=0;return t.reduce((e,t)=>(e.set(t,i),i+=t.length,e),n)};var A=n(r(676))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=-1,r=!1){const n=Math.ceil(t/8);if(-1===t||e.length===n)return e;if(e.length>n)return e.subarray(0,n);const A=new Uint8Array(n);r?A.set(e,0):A.set(e,n-e.length);return A}},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={isLe:!0,isNegative:!1}){return(0,A.default)((0,i.default)(e),t)};var A=n(r(272)),i=n(r(317))},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){return t?e.from(t):e.from([])}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bufferToU8a",{enumerable:!0,get:function(){return A.default}});var A=n(r(677))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compactAddLength",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"compactStripLength",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"compactFromU8a",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"compactToU8a",{enumerable:!0,get:function(){return a.default}});var A=n(r(1233)),i=n(r(1234)),o=n(r(680)),a=n(r(679))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.u8aConcat)((0,i.default)(e.length),e)};var A=r(274),i=n(r(679))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=A.DEFAULT_BITLENGTH){const[r,n]=(0,i.default)(e,t),o=r+n.toNumber();return[o,e.subarray(r,o)]};var A=r(447),i=n(r(680))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatBalance",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"formatDate",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"formatDecimal",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"formatElapsed",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"formatNumber",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"calcSi",{enumerable:!0,get:function(){return u.calcSi}}),Object.defineProperty(t,"findSi",{enumerable:!0,get:function(){return u.findSi}});var A=n(r(1236)),i=n(r(670)),o=n(r(448)),a=n(r(1237)),s=n(r(1238)),u=r(681)},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(320)),i=n(r(442)),o=n(r(318)),a=n(r(448)),s=r(681);const u=s.SI[s.SI_MID].text;let l=0,c=u;const f=function(e,t=!0,r=l){let n=(0,A.default)(e).toString();if(0===n.length||"0"===n)return"0";const o=n[0].startsWith("-");o&&(n=n.substr(1));const{decimals:u=r,forceUnit:c,withSi:f=!0,withSiFull:d=!1,withUnit:g=!0}=(0,i.default)(t)?{withSi:t}:t,h=(0,s.calcSi)(n,u,c),p=n.length-(u+h.power),I=n.substr(0,p),B="".concat("".concat(new Array((p<0?0-p:0)+1).join("0")).concat(n).substr(p<0?0:p),"000").substr(0,3),C=f||d?"-"===h.value?g?" ".concat((0,i.default)(g)?h.text:g):"":"".concat(d?" ".concat(h.text):h.value).concat(g?" ".concat((0,i.default)(g)?s.SI[s.SI_MID].text:g):""):"";return"".concat(o?"-":"").concat((0,a.default)(I||"0"),".").concat(B).concat(C)};f.calcSi=(e,t=l)=>(0,s.calcSi)(e,t),f.findSi=s.findSi,f.getDefaults=()=>({decimals:l,unit:c}),f.getOptions=(e=l)=>s.SI.filter(({power:t})=>!(t<0)||e+t>=0),f.setDefaults=({decimals:e,unit:t})=>{l=(0,o.default)(e)?l:e,c=(0,o.default)(t)?c:t,s.SI[s.SI_MID].text=c};var d=f;t.default=d},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e&&e.getTime()||0,n=function e(t){if(t){if((0,i.default)(t))return e(t.toBn());if(t instanceof Date)return e(t.getTime());if(t instanceof A.default)return e(t.toNumber())}return t||0}(t);let o="0.0s";if(r&&n){const e=Math.max(Math.abs(r-n),0)/1e3;o=e<15?"".concat(e.toFixed(1),"s"):e<60?"".concat(0|e,"s"):e<3600?"".concat(e/60|0,"m"):"".concat(e/3600|0,"h")}return o};var A=n(r(155)),i=n(r(444))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)((0,A.default)(e).toString())};var A=n(r(320)),i=n(r(448))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hexAddPrefix",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"hexFixLength",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"hexHasPrefix",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"hexStripPrefix",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"hexToBn",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"hexToNumber",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"hexToString",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"hexToU8a",{enumerable:!0,get:function(){return c.default}});var A=n(r(682)),i=n(r(683)),o=n(r(443)),a=n(r(319)),s=n(r(272)),u=n(r(1240)),l=n(r(1241)),c=n(r(321))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e?(0,A.default)(e).toNumber():NaN};var A=n(r(272))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)((0,i.default)(e))};var A=n(r(678)),i=n(r(321))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBigInt",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"isBn",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"isBuffer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"isBoolean",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"isChildClass",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"isError",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"isFunction",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"isHex",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"isInstanceOf",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"isIp",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"isJsonObject",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"isNull",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"isNumber",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"isObservable",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"isString",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"isTestChain",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"isToBn",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"isU8a",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"isUndefined",{enumerable:!0,get:function(){return w.default}});var A=n(r(674)),i=n(r(671)),o=n(r(438)),a=n(r(442)),s=n(r(1243)),u=n(r(1244)),l=n(r(271)),c=n(r(273)),f=n(r(316)),d=n(r(1245)),g=n(r(1246)),h=n(r(440)),p=n(r(445)),I=n(r(439)),B=n(r(1247)),C=n(r(315)),m=n(r(1248)),y=n(r(444)),Q=n(r(672)),w=n(r(318))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!!t&&(e===t||e.isPrototypeOf(t))}},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e,Error)};var A=n(r(316))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("v4"===t)return A.default.v4({exact:!0}).test(e);if("v6"===t)return A.default.v6({exact:!0}).test(e);return(0,A.default)({exact:!0}).test(e)};var A=n(r(684))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e="string"!=typeof e?JSON.stringify(e):e;try{return"object"==typeof(e=JSON.parse(e))&&null!==e}catch(e){return!1}}},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)&&(0,A.default)(e.next)};var A=n(r(271)),i=n(r(439))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return!1;return!!n.test(e.toString())};const n=new RegExp("(Development|Local Testnet)$")},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"numberToHex",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"numberToU8a",{enumerable:!0,get:function(){return i.default}});var A=n(r(685)),i=n(r(1250))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=-1){if(!e||isNaN(e))return new Uint8Array([]);return(0,A.default)((0,i.default)(e,t))};var A=n(r(321)),i=n(r(685))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"stringCamelCase",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"stringLowerFirst",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"stringShorten",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"stringToHex",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"stringToU8a",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"stringUpperFirst",{enumerable:!0,get:function(){return u.default}});var A=n(r(1252)),i=n(r(1254)),o=n(r(1255)),a=n(r(1256)),s=n(r(446)),u=n(r(1257))},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(1253)).default;t.default=A},function(e,t,r){"use strict";const n=(e,t)=>{if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");t=Object.assign({pascalCase:!1},t);return 0===(e=Array.isArray(e)?e.map(e=>e.trim()).filter(e=>e.length).join("-"):e.trim()).length?"":1===e.length?t.pascalCase?e.toUpperCase():e.toLowerCase():(e!==e.toLowerCase()&&(e=(e=>{let t=!1,r=!1,n=!1;for(let A=0;A<e.length;A++){const i=e[A];t&&/[a-zA-Z]/.test(i)&&i.toUpperCase()===i?(e=e.slice(0,A)+"-"+e.slice(A),t=!1,n=r,r=!0,A++):r&&n&&/[a-zA-Z]/.test(i)&&i.toLowerCase()===i?(e=e.slice(0,A-1)+"-"+e.slice(A-1),n=r,r=!1,t=!0):(t=i.toLowerCase()===i&&i.toUpperCase()!==i,n=r,r=i.toUpperCase()===i&&i.toLowerCase()!==i)}return e})(e)),(e=>t.pascalCase?e.charAt(0).toUpperCase()+e.slice(1):e)(e=e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(e,t)=>t.toUpperCase()).replace(/\d+(\w|$)/g,e=>e.toUpperCase())))};e.exports=n,e.exports.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e?e.charAt(0).toLowerCase()+e.slice(1):""}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=6){const r="".concat(e);if(r.length<=2+2*t)return r;return"".concat(r.substr(0,t),"..").concat(r.slice(-t))}},function(e,t,r){"use strict";var n=r(28);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)((0,i.default)(e))};var A=n(r(317)),i=n(r(446))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""}},function(e,t,r){"use strict";(function(e){var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NET_PREFIX=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(66)),a=n(r(1259)),s=n(r(151)),u=r(67),l=r(223),c=n(r(328)),f=r(14),d=n(r(846)),g=n(r(847)),h=r(467),p=n(r(1383)),I=n(r(1386)),B={testnet:42,mainnet:44};t.NET_PREFIX=B,(0,l.setAddressPrefix)(B.mainnet);var C=function(){function t(r){var n=this;(0,A.default)(this,t),(0,o.default)(this,"privateKey",function(){return(0,f.u8aToHex)(n._keyPair.secretKey.subarray(0,32))}),(0,o.default)(this,"publicKey",function(){return(0,f.u8aToHex)(n._keyPair.publicKey)}),(0,o.default)(this,"address",function(){return(0,l.encodeAddress)(n.publicKey())}),(0,o.default)(this,"pkcs8",function(){var e=n._keyPair.publicKey,t=n._keyPair.secretKey.subarray(0,32),r=(0,d.default)({publicKey:e,seed:t});return(0,f.u8aToHex)(r)}),(0,o.default)(this,"sign",function(e){return(0,u.naclSign)(e,n._keyPair)}),(0,o.default)(this,"verify",function(e,t){return(0,u.naclVerify)(e,t,n._keyPair.publicKey)}),(0,o.default)(this,"derive",function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"m/44'/239'/0'/0/0",A=a.default.fromSeed(e.from(n._keyPair.secretKey)),i=A.derivePath(r);return t.fromSeed(i.privateKey)}),this._keyPair=r}return(0,i.default)(t,[{key:"encodePkcs8",value:function(e){var t=this._keyPair.publicKey,r=this._keyPair.secretKey.subarray(0,32),n=(0,d.default)({publicKey:t,seed:r},e);return{address:(0,l.encodeAddress)(t),encoded:(0,f.u8aToHex)(n),encoding:{content:["pkcs8","ed25519"],type:"xsalsa20-poly1305",version:"1"}}}},{key:"encrypt",value:function(e){return p.default.encrypt(this.privateKey(),e)}}],[{key:"from",value:function(e){if(t.isMnemonicValid(e))return t.fromMnemonic(e);if("string"!=typeof e){var r=(0,I.default)(e);if(32===r.length)return new t((0,u.naclKeypairFromSeed)(r));if(64===r.length)return new t((0,u.naclKeypairFromSecret)(r));throw new Error("unexpect value")}return(0,f.isHex)(e,512)?t.fromSecretKey(e):(0,f.isHex)(e,680)&&(0,I.default)(e).subarray(0,h.PKCS8_HEADER.length).toString()===h.PKCS8_HEADER.toString()?t.fromPkcs8(e):t.fromSeed(e)}},{key:"fromMnemonic",value:function(e){var r=(0,u.mnemonicToSeed)(e);return t.fromSeed(r)}},{key:"fromPrivateKey",value:function(e){return t.fromSeed(e)}},{key:"fromSeed",value:function(e){var r="string"!=typeof e||(0,f.isHex)(e,256)?(0,I.default)(e,"hex"):(0,I.default)(e.padEnd(32," "),"utf8");return new t((0,u.naclKeypairFromSeed)(r))}},{key:"fromText",value:function(e){return t.fromSeed(e)}},{key:"fromSecretKey",value:function(e){var r=(0,I.default)(e,"hex");return new t((0,u.naclKeypairFromSecret)(r))}},{key:"fromPkcs8",value:function(e){var r=(0,g.default)(null,(0,I.default)(e));return t.fromSeed(r.seed)}},{key:"fromJson",value:function(e,r){var n=e.encoded;if(!n)throw new Error("keystore 格式错误");var A=(0,g.default)(r,(0,I.default)(n));return t.fromSeed(A.seed)}},{key:"fromKeyStore",value:function(e,r){var n=p.default.decrypt(e,r);return t.fromPrivateKey(n)}},{key:"generate",value:function(){var e=(0,u.randomAsHex)(32);return t.fromSeed(e)}},{key:"newMnemonic",value:function(){return(0,u.mnemonicGenerate)()}},{key:"isMnemonicValid",value:function(e){return(0,u.mnemonicValidate)(e)}},{key:"isAddressValid",value:function(e){if("string"!=typeof e)throw new Error("expect string");try{if((0,f.bufferToU8a)(s.default.decode(e))[0]!==c.default.prefix)return!1;this.decodeAddress(e)}catch(e){return!1}return!0}},{key:"encodeAddress",value:function(e){return(0,l.encodeAddress)(e)}},{key:"decodeAddress",value:function(e,t,r){return(0,f.u8aToHex)((0,l.decodeAddress)(e,t,r))}}]),t}();(0,o.default)(C,"setNet",function(e){if(!e||!B[e])throw new Error("expect pass in the network type, testnet or mainnet");(0,l.setAddressPrefix)(B[e])});var m=C;t.default=m}).call(this,r(8).Buffer)},function(e,t,r){let n=r(15).Buffer,A=r(197),i=r(1260),o=r(92),a=r(63),s=r(310),u=a.BufferN(32),l=a.compile({wif:a.UInt8,bip32:{public:a.UInt32,private:a.UInt32}}),c={wif:128,bip32:{public:76067358,private:76066276}};function f(e,t,r,n){a(l,n),this.__d=e||null,this.__Q=t||null,this.chainCode=r,this.depth=0,this.index=0,this.network=n,this.parentFingerprint=0}Object.defineProperty(f.prototype,"identifier",{get:function(){return i.hash160(this.publicKey)}}),Object.defineProperty(f.prototype,"fingerprint",{get:function(){return this.identifier.slice(0,4)}}),Object.defineProperty(f.prototype,"privateKey",{enumerable:!1,get:function(){return this.__d}}),Object.defineProperty(f.prototype,"publicKey",{get:function(){return this.__Q||(this.__Q=o.pointFromScalar(this.__d,this.compressed)),this.__Q}}),f.prototype.isNeutered=function(){return null===this.__d},f.prototype.neutered=function(){let e=I(this.publicKey,this.chainCode,this.network);return e.depth=this.depth,e.index=this.index,e.parentFingerprint=this.parentFingerprint,e},f.prototype.toBase58=function(){let e=this.network,t=this.isNeutered()?e.bip32.public:e.bip32.private,r=n.allocUnsafe(78);return r.writeUInt32BE(t,0),r.writeUInt8(this.depth,4),r.writeUInt32BE(this.parentFingerprint,5),r.writeUInt32BE(this.index,9),this.chainCode.copy(r,13),this.isNeutered()?this.publicKey.copy(r,45):(r.writeUInt8(0,45),this.privateKey.copy(r,46)),A.encode(r)},f.prototype.toWIF=function(){if(!this.privateKey)throw new TypeError("Missing private key");return s.encode(this.network.wif,this.privateKey,!0)};f.prototype.derive=function(e){a(a.UInt32,e);let t=e>=2147483648,r=n.allocUnsafe(37);if(t){if(this.isNeutered())throw new TypeError("Missing private key for hardened child key");r[0]=0,this.privateKey.copy(r,1),r.writeUInt32BE(e,33)}else this.publicKey.copy(r,0),r.writeUInt32BE(e,33);let A,s=i.hmacSHA512(this.chainCode,r),u=s.slice(0,32),l=s.slice(32);if(!o.isPrivate(u))return this.derive(e+1);if(this.isNeutered()){let t=o.pointAddScalar(this.publicKey,u,!0);if(null===t)return this.derive(e+1);A=I(t,l,this.network)}else{let t=o.privateAdd(this.privateKey,u);if(null==t)return this.derive(e+1);A=p(t,l,this.network)}return A.depth=this.depth+1,A.index=e,A.parentFingerprint=this.fingerprint.readUInt32BE(0),A};let d=Math.pow(2,31)-1;function g(e){return a.UInt32(e)&&e<=d}function h(e){return a.String(e)&&e.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}function p(e,t,r){if(a({privateKey:u,chainCode:u},{privateKey:e,chainCode:t}),r=r||c,!o.isPrivate(e))throw new TypeError("Private key not in range [1, n)");return new f(e,null,t,r)}function I(e,t,r){if(a({publicKey:a.BufferN(33),chainCode:u},{publicKey:e,chainCode:t}),r=r||c,!o.isPoint(e))throw new TypeError("Point is not on the curve");return new f(null,e,t,r)}f.prototype.deriveHardened=function(e){return a(g,e),this.derive(e+2147483648)},f.prototype.derivePath=function(e){a(h,e);let t=e.split("/");if("m"===t[0]){if(this.parentFingerprint)throw new TypeError("Expected master, got child");t=t.slice(1)}return t.reduce(function(e,t){let r;return"'"===t.slice(-1)?(r=parseInt(t.slice(0,-1),10),e.deriveHardened(r)):(r=parseInt(t,10),e.derive(r))},this)},f.prototype.sign=function(e){return o.sign(e,this.privateKey)},f.prototype.verify=function(e,t){return o.verify(e,this.publicKey,t)},e.exports={fromBase58:function(e,t){let r=A.decode(e);if(78!==r.length)throw new TypeError("Invalid buffer length");t=t||c;let n=r.readUInt32BE(0);if(n!==t.bip32.private&&n!==t.bip32.public)throw new TypeError("Invalid network version");let i=r[4],o=r.readUInt32BE(5);if(0===i&&0!==o)throw new TypeError("Invalid parent fingerprint");let a=r.readUInt32BE(9);if(0===i&&0!==a)throw new TypeError("Invalid index");let s,u=r.slice(13,45);if(n===t.bip32.private){if(0!==r.readUInt8(45))throw new TypeError("Invalid private key");s=p(r.slice(46,78),u,t)}else{s=I(r.slice(45,78),u,t)}return s.depth=i,s.index=a,s.parentFingerprint=o,s},fromPrivateKey:p,fromPublicKey:I,fromSeed:function(e,t){if(a(a.Buffer,e),e.length<16)throw new TypeError("Seed should be at least 128 bits");if(e.length>64)throw new TypeError("Seed should be at most 512 bits");t=t||c;let r=i.hmacSHA512("Bitcoin seed",e);return p(r.slice(0,32),r.slice(32),t)}}},function(e,t,r){let n=r(45),A=r(107);e.exports={hash160:function(e){const t=n("sha256").update(e).digest();try{return n("rmd160").update(t).digest()}catch(e){return n("ripemd160").update(t).digest()}},hmacSHA512:function(e,t){return A("sha512",e).update(t).digest()}}},function(e,t,r){(function(e){const t=r(72);e.crypto||(e.crypto={}),e.crypto.getRandomValues||(e.crypto.getRandomValues=function(e){return t.randomBytes(e.length).reduce((e,t,r)=>(e[r]=t,e),e)})}).call(this,r(34))},function(e,t,r){"use strict";r(1263),r(1264),r(1265),r(1266),r(1267),r(1268)},function(e,t,r){"use strict";Array.prototype.fill||(Array.prototype.fill=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;if(!this)throw new TypeError("this is null or not defined");const n=Object(this),A=n.length>>>0,i=t>>0;let o=i<0?Math.max(A+i,0):Math.min(i,A);const a=void 0===r?A:r>>0,s=a<0?Math.max(A+a,0):Math.min(a,A);for(;o<s;)n[o]=e,o++;return n}),Uint8Array.prototype.fill||(Uint8Array.prototype.fill=Array.prototype.fill)},function(e,t,r){"use strict";String.prototype.padEnd||(String.prototype.padEnd=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",r=String(this);for(;r.length<e;)r+=t;return r})},function(e,t,r){"use strict";String.prototype.padStart||(String.prototype.padStart=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",r=String(this);for(;r.length<e;)r=t+r;return r})},function(e,t,r){"use strict";Object.setPrototypeOf||(Object.setPrototypeOf=function(e,t){return e.__proto__=t,e})},function(e,t,r){"use strict";(function(e){if("undefined"==typeof TextDecoder)try{e.TextDecoder=r(219).TextDecoder}catch(e){}}).call(this,r(34))},function(e,t,r){"use strict";(function(e){if("undefined"==typeof TextEncoder)try{e.TextEncoder=r(219).TextEncoder}catch(e){}}).call(this,r(34))},function(e,t,r){"use strict";(function(e){var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){const r="undefined"!=typeof window?window:e;r.__polkadotjs||(r.__polkadotjs={});(0,i.default)((0,A.default)(r.__polkadotjs[t]),"Multiple versions of ".concat(t," detected, ensure that there is only version one in your dependency tree")),r.__polkadotjs[t]=!0};var A=n(r(276)),i=n(r(222))}).call(this,r(34))},function(e,t,r){"use strict";(function(t){const n=r(1271),A=r(1272),i=r(1276).stdout,o=r(1277),a="win32"===t.platform&&!(Object({NODE_ENV:"production"}).TERM||"").toLowerCase().startsWith("xterm"),s=["ansi","ansi","ansi256","ansi16m"],u=new Set(["gray"]),l=Object.create(null);function c(e,t){t=t||{};const r=i?i.level:0;e.level=void 0===t.level?r:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function f(e){if(!this||!(this instanceof f)||this.template){const t={};return c(t,e),t.template=function(){const e=[].slice.call(arguments);return p.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,f.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=f,t.template}c(this,e)}a&&(A.blue.open="[94m");for(const e of Object.keys(A))A[e].closeRe=new RegExp(n(A[e].close),"g"),l[e]={get(){const t=A[e];return g.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};l.visible={get(){return g.call(this,this._styles||[],!0,"visible")}},A.color.closeRe=new RegExp(n(A.color.close),"g");for(const e of Object.keys(A.color.ansi))u.has(e)||(l[e]={get(){const t=this.level;return function(){const r=A.color[s[t]][e].apply(null,arguments),n={open:r,close:A.color.close,closeRe:A.color.closeRe};return g.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}});A.bgColor.closeRe=new RegExp(n(A.bgColor.close),"g");for(const e of Object.keys(A.bgColor.ansi)){if(u.has(e))continue;l["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const r=A.bgColor[s[t]][e].apply(null,arguments),n={open:r,close:A.bgColor.close,closeRe:A.bgColor.closeRe};return g.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}const d=Object.defineProperties(()=>{},l);function g(e,t,r){const n=function(){return h.apply(n,arguments)};n._styles=e,n._empty=t;const A=this;return Object.defineProperty(n,"level",{enumerable:!0,get:()=>A.level,set(e){A.level=e}}),Object.defineProperty(n,"enabled",{enumerable:!0,get:()=>A.enabled,set(e){A.enabled=e}}),n.hasGrey=this.hasGrey||"gray"===r||"grey"===r,n.__proto__=d,n}function h(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n<t;n++)r+=" "+e[n];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;const n=A.dim.open;a&&this.hasGrey&&(A.dim.open="");for(const e of this._styles.slice().reverse())r=(r=e.open+r.replace(e.closeRe,e.open)+e.close).replace(/\r?\n/g,`${e.close}$&${e.open}`);return A.dim.open=n,r}function p(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");const r=[].slice.call(arguments,2),n=[t.raw[0]];for(let e=1;e<t.length;e++)n.push(String(r[e-1]).replace(/[{}\\]/g,"\\$&")),n.push(String(t.raw[e]));return o(e,n.join(""))}Object.defineProperties(f.prototype,l),e.exports=f(),e.exports.supportsColor=i,e.exports.default=e.exports}).call(this,r(50))},function(e,t,r){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(n,"\\$&")}},function(e,t,r){"use strict";(function(e){const t=r(1273),n=(e,r)=>(function(){const n=e.apply(t,arguments);return`[${n+r}m`}),A=(e,r)=>(function(){const n=e.apply(t,arguments);return`[${38+r};5;${n}m`}),i=(e,r)=>(function(){const n=e.apply(t,arguments);return`[${38+r};2;${n[0]};${n[1]};${n[2]}m`});Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,r={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],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,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],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};r.color.grey=r.color.gray;for(const t of Object.keys(r)){const n=r[t];for(const t of Object.keys(n)){const A=n[t];r[t]={open:`[${A[0]}m`,close:`[${A[1]}m`},n[t]=r[t],e.set(A[0],A[1])}Object.defineProperty(r,t,{value:n,enumerable:!1}),Object.defineProperty(r,"codes",{value:e,enumerable:!1})}const o=e=>e,a=(e,t,r)=>[e,t,r];r.color.close="[39m",r.bgColor.close="[49m",r.color.ansi={ansi:n(o,0)},r.color.ansi256={ansi256:A(o,0)},r.color.ansi16m={rgb:i(a,0)},r.bgColor.ansi={ansi:n(o,10)},r.bgColor.ansi256={ansi256:A(o,10)},r.bgColor.ansi16m={rgb:i(a,10)};for(let e of Object.keys(t)){if("object"!=typeof t[e])continue;const o=t[e];"ansi16"===e&&(e="ansi"),"ansi16"in o&&(r.color.ansi[e]=n(o.ansi16,0),r.bgColor.ansi[e]=n(o.ansi16,10)),"ansi256"in o&&(r.color.ansi256[e]=A(o.ansi256,0),r.bgColor.ansi256[e]=A(o.ansi256,10)),"rgb"in o&&(r.color.ansi16m[e]=i(o.rgb,0),r.bgColor.ansi16m[e]=i(o.rgb,10))}return r}})}).call(this,r(96)(e))},function(e,t,r){var n=r(687),A=r(1275),i={};Object.keys(n).forEach(function(e){i[e]={},Object.defineProperty(i[e],"channels",{value:n[e].channels}),Object.defineProperty(i[e],"labels",{value:n[e].labels});var t=A(e);Object.keys(t).forEach(function(r){var n=t[r];i[e][r]=function(e){var t=function(t){if(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,A=0;A<n;A++)r[A]=Math.round(r[A]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(n),i[e][r].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)})}),e.exports=i},function(e,t,r){"use strict";e.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]}},function(e,t,r){var n=r(687);function A(e){var t=function(){for(var e={},t=Object.keys(n),r=t.length,A=0;A<r;A++)e[t[A]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var A=r.pop(),i=Object.keys(n[A]),o=i.length,a=0;a<o;a++){var s=i[a],u=t[s];-1===u.distance&&(u.distance=t[A].distance+1,u.parent=A,r.unshift(s))}return t}function i(e,t){return function(r){return t(e(r))}}function o(e,t){for(var r=[t[e].parent,e],A=n[t[e].parent][e],o=t[e].parent;t[o].parent;)r.unshift(t[o].parent),A=i(n[t[o].parent][o],A),o=t[o].parent;return A.conversion=r,A}e.exports=function(e){for(var t=A(e),r={},n=Object.keys(t),i=n.length,a=0;a<i;a++){var s=n[a];null!==t[s].parent&&(r[s]=o(s,t))}return r}},function(e,t,r){"use strict";e.exports={stdout:!1,stderr:!1}},function(e,t,r){"use strict";const n=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,A=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,o=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,a=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function s(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):a.get(e)||e}function u(e,t){const r=[],n=t.trim().split(/\s*,\s*/g);let A;for(const t of n)if(isNaN(t)){if(!(A=t.match(i)))throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`);r.push(A[2].replace(o,(e,t,r)=>t?s(t):r))}else r.push(Number(t));return r}function l(e){A.lastIndex=0;const t=[];let r;for(;null!==(r=A.exec(e));){const e=r[1];if(r[2]){const n=u(e,r[2]);t.push([e].concat(n))}else t.push([e])}return t}function c(e,t){const r={};for(const e of t)for(const t of e.styles)r[t[0]]=e.inverse?null:t.slice(1);let n=e;for(const e of Object.keys(r))if(Array.isArray(r[e])){if(!(e in n))throw new Error(`Unknown Chalk style: ${e}`);n=r[e].length>0?n[e].apply(n,r[e]):n[e]}return n}e.exports=(e,t)=>{const r=[],A=[];let i=[];if(t.replace(n,(t,n,o,a,u,f)=>{if(n)i.push(s(n));else if(a){const t=i.join("");i=[],A.push(0===r.length?t:c(e,r)(t)),r.push({inverse:o,styles:l(a)})}else if(u){if(0===r.length)throw new Error("Found extraneous } in Chalk template literal");A.push(c(e,r)(i.join(""))),i=[],r.pop()}else i.push(f)}),A.push(i.join("")),r.length>0){const e=`Chalk template literal is missing ${r.length} closing bracket${1===r.length?"":"s"} (\`}\`)`;throw new Error(e)}return A.join("")}},function(e,t,r){var n={"./af":688,"./af.js":688,"./ar":689,"./ar-dz":690,"./ar-dz.js":690,"./ar-kw":691,"./ar-kw.js":691,"./ar-ly":692,"./ar-ly.js":692,"./ar-ma":693,"./ar-ma.js":693,"./ar-sa":694,"./ar-sa.js":694,"./ar-tn":695,"./ar-tn.js":695,"./ar.js":689,"./az":696,"./az.js":696,"./be":697,"./be.js":697,"./bg":698,"./bg.js":698,"./bm":699,"./bm.js":699,"./bn":700,"./bn.js":700,"./bo":701,"./bo.js":701,"./br":702,"./br.js":702,"./bs":703,"./bs.js":703,"./ca":704,"./ca.js":704,"./cs":705,"./cs.js":705,"./cv":706,"./cv.js":706,"./cy":707,"./cy.js":707,"./da":708,"./da.js":708,"./de":709,"./de-at":710,"./de-at.js":710,"./de-ch":711,"./de-ch.js":711,"./de.js":709,"./dv":712,"./dv.js":712,"./el":713,"./el.js":713,"./en-SG":714,"./en-SG.js":714,"./en-au":715,"./en-au.js":715,"./en-ca":716,"./en-ca.js":716,"./en-gb":717,"./en-gb.js":717,"./en-ie":718,"./en-ie.js":718,"./en-il":719,"./en-il.js":719,"./en-nz":720,"./en-nz.js":720,"./eo":721,"./eo.js":721,"./es":722,"./es-do":723,"./es-do.js":723,"./es-us":724,"./es-us.js":724,"./es.js":722,"./et":725,"./et.js":725,"./eu":726,"./eu.js":726,"./fa":727,"./fa.js":727,"./fi":728,"./fi.js":728,"./fo":729,"./fo.js":729,"./fr":730,"./fr-ca":731,"./fr-ca.js":731,"./fr-ch":732,"./fr-ch.js":732,"./fr.js":730,"./fy":733,"./fy.js":733,"./ga":734,"./ga.js":734,"./gd":735,"./gd.js":735,"./gl":736,"./gl.js":736,"./gom-latn":737,"./gom-latn.js":737,"./gu":738,"./gu.js":738,"./he":739,"./he.js":739,"./hi":740,"./hi.js":740,"./hr":741,"./hr.js":741,"./hu":742,"./hu.js":742,"./hy-am":743,"./hy-am.js":743,"./id":744,"./id.js":744,"./is":745,"./is.js":745,"./it":746,"./it-ch":747,"./it-ch.js":747,"./it.js":746,"./ja":748,"./ja.js":748,"./jv":749,"./jv.js":749,"./ka":750,"./ka.js":750,"./kk":751,"./kk.js":751,"./km":752,"./km.js":752,"./kn":753,"./kn.js":753,"./ko":754,"./ko.js":754,"./ku":755,"./ku.js":755,"./ky":756,"./ky.js":756,"./lb":757,"./lb.js":757,"./lo":758,"./lo.js":758,"./lt":759,"./lt.js":759,"./lv":760,"./lv.js":760,"./me":761,"./me.js":761,"./mi":762,"./mi.js":762,"./mk":763,"./mk.js":763,"./ml":764,"./ml.js":764,"./mn":765,"./mn.js":765,"./mr":766,"./mr.js":766,"./ms":767,"./ms-my":768,"./ms-my.js":768,"./ms.js":767,"./mt":769,"./mt.js":769,"./my":770,"./my.js":770,"./nb":771,"./nb.js":771,"./ne":772,"./ne.js":772,"./nl":773,"./nl-be":774,"./nl-be.js":774,"./nl.js":773,"./nn":775,"./nn.js":775,"./pa-in":776,"./pa-in.js":776,"./pl":777,"./pl.js":777,"./pt":778,"./pt-br":779,"./pt-br.js":779,"./pt.js":778,"./ro":780,"./ro.js":780,"./ru":781,"./ru.js":781,"./sd":782,"./sd.js":782,"./se":783,"./se.js":783,"./si":784,"./si.js":784,"./sk":785,"./sk.js":785,"./sl":786,"./sl.js":786,"./sq":787,"./sq.js":787,"./sr":788,"./sr-cyrl":789,"./sr-cyrl.js":789,"./sr.js":788,"./ss":790,"./ss.js":790,"./sv":791,"./sv.js":791,"./sw":792,"./sw.js":792,"./ta":793,"./ta.js":793,"./te":794,"./te.js":794,"./tet":795,"./tet.js":795,"./tg":796,"./tg.js":796,"./th":797,"./th.js":797,"./tl-ph":798,"./tl-ph.js":798,"./tlh":799,"./tlh.js":799,"./tr":800,"./tr.js":800,"./tzl":801,"./tzl.js":801,"./tzm":802,"./tzm-latn":803,"./tzm-latn.js":803,"./tzm.js":802,"./ug-cn":804,"./ug-cn.js":804,"./uk":805,"./uk.js":805,"./ur":806,"./ur.js":806,"./uz":807,"./uz-latn":808,"./uz-latn.js":808,"./uz.js":807,"./vi":809,"./vi.js":809,"./x-pseudo":810,"./x-pseudo.js":810,"./yo":811,"./yo.js":811,"./zh-cn":812,"./zh-cn.js":812,"./zh-hk":813,"./zh-hk.js":813,"./zh-tw":814,"./zh-tw.js":814};function A(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}A.keys=function(){return Object.keys(n)},A.resolve=i,e.exports=A,A.id=1278},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),A=2;A<r;A++)n[A-2]=arguments[A];return new Promise((r,A)=>{t.apply(e,n.concat([(e,t)=>{e?A(e):r(t)}]))})}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"arrayFilter",{enumerable:!0,get:function(){return A.default}});var A=n(r(1281))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.filter(e=>!(0,i.default)(e)&&(t||!(0,A.default)(e)))};var A=n(r(453)),i=n(r(276))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(323)).default;t.default=A},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,i.default)(t&&t.length>=1,"Must provide one or more BN arguments"),t.reduce((e,t)=>A.default.max(e,t),t[0])};var A=n(r(17)),i=n(r(222))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,i.default)(t&&t.length>=1,"Must provide one or more BN arguments"),t.reduce((e,t)=>A.default.min(e,t),t[0])};var A=n(r(17)),i=n(r(222))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{bitLength:-1,isLe:!1,isNegative:!1};if(!e)return s;const r=(0,A.default)({isLe:!1,isNegative:!1},(0,i.default)(t)?{bitLength:t}:t);return(0,a.u8aToHex)((0,o.default)(e,r))};var A=n(r(324)),i=n(r(456)),o=n(r(819)),a=r(278);const s="0x00"},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const n=t.map(A.default),i=n.reduce((e,t)=>e+t.length,0),o=new Uint8Array(i);let a=0;return n.reduce((e,t)=>(e.set(t,a),a+=t.length,e),o)};var A=n(r(820))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=Math.ceil(t/8);if(-1===t||e.length===n)return e;if(e.length>n)return e.subarray(0,n);const A=new Uint8Array(n);r?A.set(e,0):A.set(e,n-e.length);return A}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isLe:!0,isNegative:!1};return(0,A.default)((0,i.default)(e),t)};var A=n(r(323)),i=n(r(452))},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t){if(!t)return e.from([]);return e.from(t)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e||!e.length)return"";return n.decode(e)};try{n=new TextDecoder("utf-8")}catch(e){n={decode:function(e){return e.reduce((e,t)=>e+String.fromCharCode(t),"")}}}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bufferToU8a",{enumerable:!0,get:function(){return A.default}});var A=n(r(821))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compactAddLength",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"compactStripLength",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"compactFromU8a",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"compactToU8a",{enumerable:!0,get:function(){return a.default}});var A=n(r(1293)),i=n(r(1294)),o=n(r(824)),a=n(r(823))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.u8aConcat)((0,i.default)(e.length),e)};var A=r(278),i=n(r(823))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A.DEFAULT_BITLENGTH;const[r,n]=(0,i.default)(e,t),o=r+n.toNumber();return[o,e.subarray(r,o)]};var A=r(458),i=n(r(824))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ExtError",{enumerable:!0,get:function(){return A.default}});var A=n(r(686))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatBalance",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"formatDecimal",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"formatElapsed",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"formatNumber",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"calcSi",{enumerable:!0,get:function(){return s.calcSi}}),Object.defineProperty(t,"findSi",{enumerable:!0,get:function(){return s.findSi}});var A=n(r(1297)),i=n(r(459)),o=n(r(1298)),a=n(r(1299)),s=r(825)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(276)),i=r(825),o=n(r(459));const a=i.SI[i.SI_MID].text;let s=0,u=a;const l=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s;const n=(e||"").toString();if(0===n.length||"0"===n)return"0";const A=(0,i.calcSi)(n,r),a=n.length-(r+A.power),u=n.substr(0,a),l="".concat(n.substr(a),"000").substr(0,3),c=t?"-"===A.value?" ".concat(A.text):"".concat(A.value," ").concat(i.SI[i.SI_MID].text):"";return"".concat((0,o.default)(u||"0"),".").concat(l).concat(c)};l.calcSi=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;return(0,i.calcSi)(e,t)},l.findSi=i.findSi,l.getDefaults=()=>({decimals:s,unit:u}),l.getOptions=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s;return i.SI.filter(t=>{let{power:r}=t;return!(r<0)||e+r>=0})},l.setDefaults=e=>{let{decimals:t,unit:r}=e;s=(0,A.default)(t)?s:t,u=(0,A.default)(r)?u:r,i.SI[i.SI_MID].text=u};var c=l;t.default=c},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e&&e.getTime()||0,n=function e(t){if(t){if(t.unwrap)return e(t.unwrap());if(t instanceof Date)return e(t.getTime());if(t instanceof A.default)return e(t.toNumber())}return t||0}(t);let i="0.0s";if(r&&n){const e=Math.max(Math.abs(r-n),0)/1e3;i=e<15?"".concat(e.toFixed(1),"s"):e<60?"".concat(0|e,"s"):e<3600?"".concat(e/60|0,"m"):"".concat(e/3600|0,"h")}return i};var A=n(r(17))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return"0";const t=e.toBn?e.toBn():(0,A.default)(e);return(0,i.default)(t.toString())};var A=n(r(455)),i=n(r(459))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hexAddPrefix",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"hexFixLength",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"hexHasPrefix",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"hexStripPrefix",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"hexToBn",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"hexToNumber",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"hexToU8a",{enumerable:!0,get:function(){return l.default}});var A=n(r(460)),i=n(r(826)),o=n(r(325)),a=n(r(277)),s=n(r(323)),u=n(r(1301)),l=n(r(457))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return NaN;return(0,A.default)(e).toNumber()};var A=n(r(323))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBn",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"isBuffer",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"isBoolean",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"isError",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"isFunction",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"isHex",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"isInstanceOf",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"isIp",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"isJsonObject",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"isNull",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"isNumber",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"isObservable",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"isString",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"isTestChain",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"isU8a",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"isUndefined",{enumerable:!0,get:function(){return m.default}});var A=n(r(815)),i=n(r(450)),o=n(r(818)),a=n(r(1303)),s=n(r(275)),u=n(r(326)),l=n(r(322)),c=n(r(1304)),f=n(r(1305)),d=n(r(453)),g=n(r(456)),h=n(r(451)),p=n(r(1306)),I=n(r(454)),B=n(r(1307)),C=n(r(816)),m=n(r(276))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e,Error)};var A=n(r(322))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("v4"===t)return A.default.v4({exact:!0}).test(e);if("v6"===t)return A.default.v6({exact:!0}).test(e);return(0,A.default)({exact:!0}).test(e)};var A=n(r(684))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e="string"!=typeof e?JSON.stringify(e):e;try{return"object"==typeof(e=JSON.parse(e))&&null!==e}catch(e){return!1}}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)&&(0,A.default)(e.next)};var A=n(r(275)),i=n(r(451))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return!1;return!!n.test(e.toString())};const n=new RegExp("^(Development|Local Testnet)$")},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"numberToHex",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"numberToU8a",{enumerable:!0,get:function(){return i.default}});var A=n(r(827)),i=n(r(1309))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(!e||isNaN(e))return new Uint8Array([]);return(0,A.default)((0,i.default)(e,t))};var A=n(r(457)),i=n(r(827))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"stringCamelCase",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"stringLowerFirst",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"stringShorten",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"stringToU8a",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"stringUpperFirst",{enumerable:!0,get:function(){return s.default}});var A=n(r(1311)),i=n(r(1313)),o=n(r(1314)),a=n(r(822)),s=n(r(1315))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(1312)).default;t.default=A},function(e,t,r){"use strict";const n=(e,t)=>{if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");t=Object.assign({pascalCase:!1},t);return 0===(e=Array.isArray(e)?e.map(e=>e.trim()).filter(e=>e.length).join("-"):e.trim()).length?"":1===e.length?t.pascalCase?e.toUpperCase():e.toLowerCase():(e!==e.toLowerCase()&&(e=(e=>{let t=!1,r=!1,n=!1;for(let A=0;A<e.length;A++){const i=e[A];t&&/[a-zA-Z]/.test(i)&&i.toUpperCase()===i?(e=e.slice(0,A)+"-"+e.slice(A),t=!1,n=r,r=!0,A++):r&&n&&/[a-zA-Z]/.test(i)&&i.toLowerCase()===i?(e=e.slice(0,A-1)+"-"+e.slice(A-1),n=r,r=!1,t=!0):(t=i.toLowerCase()===i&&i.toUpperCase()!==i,n=r,r=i.toUpperCase()===i&&i.toLowerCase()!==i)}return e})(e)),(e=>t.pascalCase?e.charAt(0).toUpperCase()+e.slice(1):e)(e=e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(e,t)=>t.toUpperCase()).replace(/\d+(\w|$)/g,e=>e.toUpperCase())))};e.exports=n,e.exports.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return"";return e.charAt(0).toLowerCase()+e.slice(1)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;const r="".concat(e);if(r.length<=2+2*t)return r;return"".concat(r.substr(0,t),"..").concat(r.slice(-t))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return"";return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t,r){const n=r(1317),A=r(1318),i=r(828);e.exports=async function(){const e={"./wasm":i};if(!WebAssembly)return console.error(`ERROR: Unable to initialize ${n.name}, WebAssembly is not available in this environment`),null;try{const{instance:t}=await WebAssembly.instantiate(A,e);return t.exports}catch(e){return console.error(`ERROR: Unable to initialize ${n.name}:: ${e.message}`),null}}},function(e){e.exports=JSON.parse('{"_from":"@chainx/wasm-crypto@^2.22.31","_id":"@chainx/wasm-crypto@2.22.31","_inBundle":false,"_integrity":"sha512-6CAjuWKTdCK2UlfOnofdjaY5jtOxnJKCmjNzVgdLQ2n/DktOonsD+5d3M3iqfcc973qlUSWNJvhdojkPsAW2jw==","_location":"/@chainx/wasm-crypto","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"@chainx/wasm-crypto@^2.22.31","name":"@chainx/wasm-crypto","escapedName":"@chainx%2fwasm-crypto","scope":"@chainx","rawSpec":"^2.22.31","saveSpec":null,"fetchSpec":"^2.22.31"},"_requiredBy":["/@chainx/util-crypto"],"_resolved":"https://registry.npmjs.org/@chainx/wasm-crypto/-/wasm-crypto-2.22.31.tgz","_shasum":"c13009924204053f30a76d597b30bf7436b4fc48","_spec":"@chainx/wasm-crypto@^2.22.31","_where":"/Users/Forrest/Desktop/zhiyou/VUE/mathwalletplus/node_modules/@chainx/util-crypto","bundleDependencies":false,"deprecated":false,"description":"Wrapper around crypto hashing functions","devDependencies":{"jest":"*"},"gitHead":"ff62531bb1251d745530e2637e6c7a733da27a4d","main":"index.js","name":"@chainx/wasm-crypto","peerDependencies":{"@chainx/util":"*"},"version":"2.22.31"}')},function(e,t,r){(function(t){e.exports=t.from(" ","base64")}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"blake2AsHex",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"blake2AsU8a",{enumerable:!0,get:function(){return i.default}});var A=n(r(1320)),i=n(r(279))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:256;return(0,A.u8aToHex)((0,i.default)(e,t))};var A=r(14),i=n(r(279))},function(e,t,r){var n=r(829);function A(e,t,r){var n=e[t]+e[r],A=e[t+1]+e[r+1];n>=4294967296&&A++,e[t]=n,e[t+1]=A}function i(e,t,r,n){var A=e[t]+r;r<0&&(A+=4294967296);var i=e[t+1]+n;A>=4294967296&&i++,e[t]=A,e[t+1]=i}function o(e,t){return e[t]^e[t+1]<<8^e[t+2]<<16^e[t+3]<<24}function a(e,t,r,n,o,a){var s=c[o],u=c[o+1],f=c[a],d=c[a+1];A(l,e,t),i(l,e,s,u);var g=l[n]^l[e],h=l[n+1]^l[e+1];l[n]=h,l[n+1]=g,A(l,r,n),g=l[t]^l[r],h=l[t+1]^l[r+1],l[t]=g>>>24^h<<8,l[t+1]=h>>>24^g<<8,A(l,e,t),i(l,e,f,d),g=l[n]^l[e],h=l[n+1]^l[e+1],l[n]=g>>>16^h<<16,l[n+1]=h>>>16^g<<16,A(l,r,n),g=l[t]^l[r],h=l[t+1]^l[r+1],l[t]=h>>>31^g<<1,l[t+1]=g>>>31^h<<1}var s=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),u=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3].map(function(e){return 2*e})),l=new Uint32Array(32),c=new Uint32Array(32);function f(e,t){var r=0;for(r=0;r<16;r++)l[r]=e.h[r],l[r+16]=s[r];for(l[24]=l[24]^e.t,l[25]=l[25]^e.t/4294967296,t&&(l[28]=~l[28],l[29]=~l[29]),r=0;r<32;r++)c[r]=o(e.b,4*r);for(r=0;r<12;r++)a(0,8,16,24,u[16*r+0],u[16*r+1]),a(2,10,18,26,u[16*r+2],u[16*r+3]),a(4,12,20,28,u[16*r+4],u[16*r+5]),a(6,14,22,30,u[16*r+6],u[16*r+7]),a(0,10,20,30,u[16*r+8],u[16*r+9]),a(2,12,22,24,u[16*r+10],u[16*r+11]),a(4,14,16,26,u[16*r+12],u[16*r+13]),a(6,8,18,28,u[16*r+14],u[16*r+15]);for(r=0;r<16;r++)e.h[r]=e.h[r]^l[r]^l[r+16]}function d(e,t){if(0===e||e>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(t&&t.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");for(var r={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:e},n=0;n<16;n++)r.h[n]=s[n];var A=t?t.length:0;return r.h[0]^=16842752^A<<8^e,t&&(g(r,t),r.c=128),r}function g(e,t){for(var r=0;r<t.length;r++)128===e.c&&(e.t+=e.c,f(e,!1),e.c=0),e.b[e.c++]=t[r]}function h(e){for(e.t+=e.c;e.c<128;)e.b[e.c++]=0;f(e,!0);for(var t=new Uint8Array(e.outlen),r=0;r<e.outlen;r++)t[r]=e.h[r>>2]>>8*(3&r);return t}function p(e,t,r){r=r||64,e=n.normalizeInput(e);var A=d(r,t);return g(A,e),h(A)}e.exports={blake2b:p,blake2bHex:function(e,t,r){var A=p(e,t,r);return n.toHex(A)},blake2bInit:d,blake2bUpdate:g,blake2bFinal:h}},function(e,t,r){var n=r(829);function A(e,t){return e[t]^e[t+1]<<8^e[t+2]<<16^e[t+3]<<24}function i(e,t,r,n,A,i){u[e]=u[e]+u[t]+A,u[n]=o(u[n]^u[e],16),u[r]=u[r]+u[n],u[t]=o(u[t]^u[r],12),u[e]=u[e]+u[t]+i,u[n]=o(u[n]^u[e],8),u[r]=u[r]+u[n],u[t]=o(u[t]^u[r],7)}function o(e,t){return e>>>t^e<<32-t}var a=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),s=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0]),u=new Uint32Array(16),l=new Uint32Array(16);function c(e,t){var r=0;for(r=0;r<8;r++)u[r]=e.h[r],u[r+8]=a[r];for(u[12]^=e.t,u[13]^=e.t/4294967296,t&&(u[14]=~u[14]),r=0;r<16;r++)l[r]=A(e.b,4*r);for(r=0;r<10;r++)i(0,4,8,12,l[s[16*r+0]],l[s[16*r+1]]),i(1,5,9,13,l[s[16*r+2]],l[s[16*r+3]]),i(2,6,10,14,l[s[16*r+4]],l[s[16*r+5]]),i(3,7,11,15,l[s[16*r+6]],l[s[16*r+7]]),i(0,5,10,15,l[s[16*r+8]],l[s[16*r+9]]),i(1,6,11,12,l[s[16*r+10]],l[s[16*r+11]]),i(2,7,8,13,l[s[16*r+12]],l[s[16*r+13]]),i(3,4,9,14,l[s[16*r+14]],l[s[16*r+15]]);for(r=0;r<8;r++)e.h[r]^=u[r]^u[r+8]}function f(e,t){if(!(e>0&&e<=32))throw new Error("Incorrect output length, should be in [1, 32]");var r=t?t.length:0;if(t&&!(r>0&&r<=32))throw new Error("Incorrect key length, should be in [1, 32]");var n={h:new Uint32Array(a),b:new Uint32Array(64),c:0,t:0,outlen:e};return n.h[0]^=16842752^r<<8^e,r>0&&(d(n,t),n.c=64),n}function d(e,t){for(var r=0;r<t.length;r++)64===e.c&&(e.t+=e.c,c(e,!1),e.c=0),e.b[e.c++]=t[r]}function g(e){for(e.t+=e.c;e.c<64;)e.b[e.c++]=0;c(e,!0);for(var t=new Uint8Array(e.outlen),r=0;r<e.outlen;r++)t[r]=e.h[r>>2]>>8*(3&r)&255;return t}function h(e,t,r){r=r||32,e=n.normalizeInput(e);var A=f(r,t);return d(A,e),g(A)}e.exports={blake2s:h,blake2sHex:function(e,t,r){var A=h(e,t,r);return n.toHex(A)},blake2sInit:f,blake2sUpdate:d,blake2sFinal:g}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"keccakAsHex",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"keccakAsU8a",{enumerable:!0,get:function(){return i.default}});var A=n(r(1324)),i=n(r(830))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.u8aToHex)((0,i.default)(e))};var A=r(14),i=n(r(830))},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"keyExtractPath",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"keyExtractSuri",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"keyFromPath",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"keyHdkdEd25519",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"keyHdkdSr25519",{enumerable:!0,get:function(){return a.default}});var A=n(r(831)),i=n(r(1328)),o=n(r(1329)),a=n(r(832))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(14),i=n(r(279));const o=/^\d+$/,a=32,s={bitLength:256,isLe:!0};class u{constructor(){this._chainCode=new Uint8Array(32),this._isHard=!1}static from(e){const[t,r]="/"===e[0]?[e.substr(1),!0]:[e,!1],n=new u;return n.soft(o.test(t)?parseInt(t,10):t),r?n.harden():n}get chainCode(){return this._chainCode}get isHard(){return this._isHard}get isSoft(){return!this._isHard}hard(e){return this.soft(e).harden()}harden(){return this._isHard=!0,this}soft(e){return(0,A.isNumber)(e)||(0,A.isBn)(e)?this.soft((0,A.bnToHex)(e,s)):(0,A.isString)(e)?(0,A.isHex)(e)?this.soft((0,A.hexToU8a)(e)):this.soft((0,A.compactAddLength)((0,A.stringToU8a)(e))):e.length>a?this.soft((0,i.default)(e)):(this._chainCode.fill(0),this._chainCode.set(e,0),this)}soften(){return this._isHard=!1,this}}t.default=u},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.match(o);(0,A.assert)(!(0,A.isNull)(t),"Unable to match '".concat(e,"' to a secret URI"));const[,r,,n,,,a]=t,{path:s}=(0,i.default)(n);return{password:a,path:s,phrase:r}};var A=r(14),i=n(r(831));const o=/^(\w+( \w+)*)((\/\/?[^\/]+)*)(\/\/\/(.*))?$/},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const n="ed25519"===r;return t.reduce((e,t)=>n?(0,A.default)(e,t):(0,i.default)(e,t),e)};var A=n(r(832)),i=n(r(1331))},function(e,t){},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let{chainCode:r,isSoft:n}=t;return n?(0,i.default)(e,r):(0,A.default)(e,r)};var A=n(r(834)),i=n(r(836))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"mnemonicGenerate",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"mnemonicToEntropy",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"mnemonicToMiniSecret",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"mnemonicToSeed",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"mnemonicValidate",{enumerable:!0,get:function(){return s.default}}),r(112);var A=n(r(1333)),i=n(r(837)),o=n(r(1334)),a=n(r(1335)),s=n(r(1336))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:12;return(0,A.isReady)()?(0,A.bip39Generate)(e):(0,n.generateMnemonic)(i[e])},r(112);var n=r(56),A=r(68);const i={12:128,15:160,18:192,21:224,24:256}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,o.isReady)())return(0,o.bip39ToMiniSecret)(e,t);const r=(0,i.u8aToBuffer)((0,a.default)(e)),n=(0,i.u8aToBuffer)((0,i.stringToU8a)("mnemonic".concat(t)));return(0,i.bufferToU8a)((0,A.pbkdf2Sync)(r,n,2048,64,"sha512")).slice(0,32)},r(112);var A=r(149),i=r(14),o=r(68),a=n(r(837))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,i.isReady)()?(0,i.bip39ToSeed)(e,t):(0,A.bufferToU8a)((0,n.mnemonicToSeed)(e,t)).subarray(0,32)};var n=r(56),A=r(14),i=r(68)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.isReady)()?(0,A.bip39Validate)(e):(0,n.validateMnemonic)(e)},r(112);var n=r(56),A=r(68)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"naclDecrypt",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"deriveHard",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"naclEncrypt",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"naclKeypairFromRandom",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"naclKeypairFromSecret",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"naclKeypairFromSeed",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"naclKeypairFromString",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"naclSign",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"naclVerify",{enumerable:!0,get:function(){return f.default}});var A=n(r(1338)),i=n(r(833)),o=n(r(1339)),a=n(r(1340)),s=n(r(1341)),u=n(r(463)),l=n(r(1342)),c=n(r(1343)),f=n(r(1344))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return A.default.secretbox.open(e,t,r)||null};var A=n(r(156))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,i.default)(24);return{encrypted:A.default.secretbox(e,r,t),nonce:r}};var A=n(r(156)),i=n(r(465))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return A.default.sign.keyPair()};var A=n(r(156))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return A.default.sign.keyPair.fromSecretKey(e)};var A=n(r(156))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)((0,i.default)((0,A.stringToU8a)(e),256))};var A=r(14),i=n(r(279)),o=n(r(463))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let{publicKey:r,secretKey:n}=t;(0,i.assert)(n,"Expected valid secretKey");const a=(0,i.u8aToU8a)(e);return(0,o.isReady)()?(0,o.ed25519Sign)(r,n.subarray(0,32),a):A.default.sign.detached(a,n)};var A=n(r(156)),i=r(14),o=r(68)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const n=(0,i.u8aToU8a)(e),a=(0,i.u8aToU8a)(t),s=(0,i.u8aToU8a)(r);return(0,o.isReady)()?(0,o.ed25519Verify)(a,n,s):A.default.sign.detached.verify(n,a,s)};var A=n(r(156)),i=r(14),o=r(68)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"randomAsHex",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"randomAsNumber",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"randomAsU8a",{enumerable:!0,get:function(){return o.default}});var A=n(r(838)),i=n(r(1346)),o=n(r(465))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.hexToBn)((0,o.default)(8)).and(a).toNumber()};var A=n(r(17)),i=r(14),o=n(r(838));const a=new A.default(9007199254740991)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"schnorrkelDeriveHard",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"schnorrkelDeriveSoft",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"schnorrkelKeypairFromSeed",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"schnorrkelSign",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"schnorrkelVerify",{enumerable:!0,get:function(){return s.default}}),r(112);var A=n(r(834)),i=n(r(836)),o=n(r(1348)),a=n(r(1349)),s=n(r(1350))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)((0,A.sr25519KeypairFromSeed)(e))},r(112);var A=r(68),i=n(r(464))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let{publicKey:r,secretKey:i}=t;(0,n.assert)(r&&32===r.length,"Expected valid publicKey, 32-bytes"),(0,n.assert)(i&&64===i.length,"Expected valid secretKey, 64-bytes");const o=(0,n.u8aToU8a)(e);return(0,A.sr25519Sign)(r,i,o)},r(112);var n=r(14),A=r(68)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const i=(0,n.u8aToU8a)(e),o=(0,n.u8aToU8a)(t),a=(0,n.u8aToU8a)(r);return(0,A.sr25519Verify)(o,i,a)},r(112);var n=r(14),A=r(68)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"secp256k1Recover",{enumerable:!0,get:function(){return A.default}});var A=n(r(1352))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return(0,i.u8aToU8a)(A.default.recover((0,i.u8aToBuffer)(e),(0,i.u8aToBuffer)(t),r))};var A=n(r(1353)),i=r(14)},function(e,t,r){"use strict";e.exports=r(1354)(r(1357))},function(e,t,r){"use strict";var n=r(1355),A=r(1356),i=r(839);function o(e,t){return void 0===e?t:(n.isBoolean(e,i.COMPRESSED_TYPE_INVALID),e)}e.exports=function(e){return{privateKeyVerify:function(t){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),32===t.length&&e.privateKeyVerify(t)},privateKeyExport:function(t,r){n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),r=o(r,!0);var a=e.privateKeyExport(t,r);return A.privateKeyExport(t,a,r)},privateKeyImport:function(t){if(n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),(t=A.privateKeyImport(t))&&32===t.length&&e.privateKeyVerify(t))return t;throw new Error(i.EC_PRIVATE_KEY_IMPORT_DER_FAIL)},privateKeyNegate:function(t){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),e.privateKeyNegate(t)},privateKeyModInverse:function(t){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),e.privateKeyModInverse(t)},privateKeyTweakAdd:function(t,r){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),n.isBuffer(r,i.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,i.TWEAK_LENGTH_INVALID),e.privateKeyTweakAdd(t,r)},privateKeyTweakMul:function(t,r){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),n.isBuffer(r,i.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,i.TWEAK_LENGTH_INVALID),e.privateKeyTweakMul(t,r)},publicKeyCreate:function(t,r){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),r=o(r,!0),e.publicKeyCreate(t,r)},publicKeyConvert:function(t,r){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),r=o(r,!0),e.publicKeyConvert(t,r)},publicKeyVerify:function(t){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),e.publicKeyVerify(t)},publicKeyTweakAdd:function(t,r,A){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,i.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,i.TWEAK_LENGTH_INVALID),A=o(A,!0),e.publicKeyTweakAdd(t,r,A)},publicKeyTweakMul:function(t,r,A){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,i.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,i.TWEAK_LENGTH_INVALID),A=o(A,!0),e.publicKeyTweakMul(t,r,A)},publicKeyCombine:function(t,r){n.isArray(t,i.EC_PUBLIC_KEYS_TYPE_INVALID),n.isLengthGTZero(t,i.EC_PUBLIC_KEYS_LENGTH_INVALID);for(var A=0;A<t.length;++A)n.isBuffer(t[A],i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t[A],33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID);return r=o(r,!0),e.publicKeyCombine(t,r)},signatureNormalize:function(t){return n.isBuffer(t,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(t,64,i.ECDSA_SIGNATURE_LENGTH_INVALID),e.signatureNormalize(t)},signatureExport:function(t){n.isBuffer(t,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(t,64,i.ECDSA_SIGNATURE_LENGTH_INVALID);var r=e.signatureExport(t);return A.signatureExport(r)},signatureImport:function(t){n.isBuffer(t,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isLengthGTZero(t,i.ECDSA_SIGNATURE_LENGTH_INVALID);var r=A.signatureImport(t);if(r)return e.signatureImport(r);throw new Error(i.ECDSA_SIGNATURE_PARSE_DER_FAIL)},signatureImportLax:function(t){n.isBuffer(t,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isLengthGTZero(t,i.ECDSA_SIGNATURE_LENGTH_INVALID);var r=A.signatureImportLax(t);if(r)return e.signatureImport(r);throw new Error(i.ECDSA_SIGNATURE_PARSE_DER_FAIL)},sign:function(t,r,A){n.isBuffer(t,i.MSG32_TYPE_INVALID),n.isBufferLength(t,32,i.MSG32_LENGTH_INVALID),n.isBuffer(r,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(r,32,i.EC_PRIVATE_KEY_LENGTH_INVALID);var o=null,a=null;return void 0!==A&&(n.isObject(A,i.OPTIONS_TYPE_INVALID),void 0!==A.data&&(n.isBuffer(A.data,i.OPTIONS_DATA_TYPE_INVALID),n.isBufferLength(A.data,32,i.OPTIONS_DATA_LENGTH_INVALID),o=A.data),void 0!==A.noncefn&&(n.isFunction(A.noncefn,i.OPTIONS_NONCEFN_TYPE_INVALID),a=A.noncefn)),e.sign(t,r,a,o)},verify:function(t,r,A){return n.isBuffer(t,i.MSG32_TYPE_INVALID),n.isBufferLength(t,32,i.MSG32_LENGTH_INVALID),n.isBuffer(r,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(r,64,i.ECDSA_SIGNATURE_LENGTH_INVALID),n.isBuffer(A,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(A,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),e.verify(t,r,A)},recover:function(t,r,A,a){return n.isBuffer(t,i.MSG32_TYPE_INVALID),n.isBufferLength(t,32,i.MSG32_LENGTH_INVALID),n.isBuffer(r,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(r,64,i.ECDSA_SIGNATURE_LENGTH_INVALID),n.isNumber(A,i.RECOVERY_ID_TYPE_INVALID),n.isNumberInInterval(A,-1,4,i.RECOVERY_ID_VALUE_INVALID),a=o(a,!0),e.recover(t,r,A,a)},ecdh:function(t,r){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(r,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),e.ecdh(t,r)},ecdhUnsafe:function(t,r,A){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(r,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),A=o(A,!0),e.ecdhUnsafe(t,r,A)}}}},function(e,t,r){"use strict";(function(e){var r=Object.prototype.toString;t.isArray=function(e,t){if(!Array.isArray(e))throw TypeError(t)},t.isBoolean=function(e,t){if("[object Boolean]"!==r.call(e))throw TypeError(t)},t.isBuffer=function(t,r){if(!e.isBuffer(t))throw TypeError(r)},t.isFunction=function(e,t){if("[object Function]"!==r.call(e))throw TypeError(t)},t.isNumber=function(e,t){if("[object Number]"!==r.call(e))throw TypeError(t)},t.isObject=function(e,t){if("[object Object]"!==r.call(e))throw TypeError(t)},t.isBufferLength=function(e,t,r){if(e.length!==t)throw RangeError(r)},t.isBufferLength2=function(e,t,r,n){if(e.length!==t&&e.length!==r)throw RangeError(n)},t.isLengthGTZero=function(e,t){if(0===e.length)throw RangeError(t)},t.isNumberInInterval=function(e,t,r,n){if(e<=t||e>=r)throw RangeError(n)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(269),i=n.from([48,129,211,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,133,48,129,130,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,33,2,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,36,3,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),o=n.from([48,130,1,19,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,165,48,129,162,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,65,4,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,72,58,218,119,38,163,196,101,93,164,251,252,14,17,8,168,253,23,180,72,166,133,84,25,156,71,208,143,251,16,212,184,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,68,3,66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);t.privateKeyExport=function(e,t,r){var A=n.from(r?i:o);return e.copy(A,r?8:9),t.copy(A,r?181:214),A},t.privateKeyImport=function(e){var t=e.length,r=0;if(!(t<r+1||48!==e[r])&&!(t<(r+=1)+1)&&128&e[r]){var n=127&e[r];if(r+=1,!(n<1||n>2||t<r+n)){var A=e[r+n-1]|(n>1?e[r+n-2]<<8:0);if(!(t<(r+=n)+A||t<r+3||2!==e[r]||1!==e[r+1]||1!==e[r+2]||t<(r+=3)+2||4!==e[r]||e[r+1]>32||t<r+2+e[r+1]))return e.slice(r+2,r+2+e[r+1])}}},t.signatureExport=function(e){for(var t=n.concat([n.from([0]),e.r]),r=33,i=0;r>1&&0===t[i]&&!(128&t[i+1]);--r,++i);for(var o=n.concat([n.from([0]),e.s]),a=33,s=0;a>1&&0===o[s]&&!(128&o[s+1]);--a,++s);return A.encode(t.slice(i),o.slice(s))},t.signatureImport=function(e){var t=n.alloc(32,0),r=n.alloc(32,0);try{var i=A.decode(e);if(33===i.r.length&&0===i.r[0]&&(i.r=i.r.slice(1)),i.r.length>32)throw new Error("R length is too long");if(33===i.s.length&&0===i.s[0]&&(i.s=i.s.slice(1)),i.s.length>32)throw new Error("S length is too long")}catch(e){return}return i.r.copy(t,32-i.r.length),i.s.copy(r,32-i.s.length),{r:t,s:r}},t.signatureImportLax=function(e){var t=n.alloc(32,0),r=n.alloc(32,0),A=e.length,i=0;if(48===e[i++]){var o=e[i++];if(!(128&o&&(i+=o-128)>A)&&2===e[i++]){var a=e[i++];if(128&a){if(i+(o=a-128)>A)return;for(;o>0&&0===e[i];i+=1,o-=1);for(a=0;o>0;i+=1,o-=1)a=(a<<8)+e[i]}if(!(a>A-i)){var s=i;if(i+=a,2===e[i++]){var u=e[i++];if(128&u){if(i+(o=u-128)>A)return;for(;o>0&&0===e[i];i+=1,o-=1);for(u=0;o>0;i+=1,o-=1)u=(u<<8)+e[i]}if(!(u>A-i)){var l=i;for(i+=u;a>0&&0===e[s];a-=1,s+=1);if(!(a>32)){var c=e.slice(s,s+a);for(c.copy(t,32-c.length);u>0&&0===e[l];u-=1,l+=1);if(!(u>32)){var f=e.slice(l,l+u);return f.copy(r,32-f.length),{r:t,s:r}}}}}}}}}},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(45),i=r(17),o=r(1358).ec,a=r(839),s=new o("secp256k1"),u=s.curve;function l(e){var t=e[0];switch(t){case 2:case 3:return 33!==e.length?null:function(e,t){var r=new i(t);if(r.cmp(u.p)>=0)return null;var n=(r=r.toRed(u.red)).redSqr().redIMul(r).redIAdd(u.b).redSqrt();return 3===e!==n.isOdd()&&(n=n.redNeg()),s.keyPair({pub:{x:r,y:n}})}(t,e.slice(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,r){var n=new i(t),A=new i(r);if(n.cmp(u.p)>=0||A.cmp(u.p)>=0)return null;if(n=n.toRed(u.red),A=A.toRed(u.red),(6===e||7===e)&&A.isOdd()!==(7===e))return null;var o=n.redSqr().redIMul(n);return A.redSqr().redISub(o.redIAdd(u.b)).isZero()?s.keyPair({pub:{x:n,y:A}}):null}(t,e.slice(1,33),e.slice(33,65));default:return null}}t.privateKeyVerify=function(e){var t=new i(e);return t.cmp(u.n)<0&&!t.isZero()},t.privateKeyExport=function(e,t){var r=new i(e);if(r.cmp(u.n)>=0||r.isZero())throw new Error(a.EC_PRIVATE_KEY_EXPORT_DER_FAIL);return n.from(s.keyFromPrivate(e).getPublic(t,!0))},t.privateKeyNegate=function(e){var t=new i(e);return t.isZero()?n.alloc(32):u.n.sub(t).umod(u.n).toArrayLike(n,"be",32)},t.privateKeyModInverse=function(e){var t=new i(e);if(t.cmp(u.n)>=0||t.isZero())throw new Error(a.EC_PRIVATE_KEY_RANGE_INVALID);return t.invm(u.n).toArrayLike(n,"be",32)},t.privateKeyTweakAdd=function(e,t){var r=new i(t);if(r.cmp(u.n)>=0)throw new Error(a.EC_PRIVATE_KEY_TWEAK_ADD_FAIL);if(r.iadd(new i(e)),r.cmp(u.n)>=0&&r.isub(u.n),r.isZero())throw new Error(a.EC_PRIVATE_KEY_TWEAK_ADD_FAIL);return r.toArrayLike(n,"be",32)},t.privateKeyTweakMul=function(e,t){var r=new i(t);if(r.cmp(u.n)>=0||r.isZero())throw new Error(a.EC_PRIVATE_KEY_TWEAK_MUL_FAIL);return r.imul(new i(e)),r.cmp(u.n)&&(r=r.umod(u.n)),r.toArrayLike(n,"be",32)},t.publicKeyCreate=function(e,t){var r=new i(e);if(r.cmp(u.n)>=0||r.isZero())throw new Error(a.EC_PUBLIC_KEY_CREATE_FAIL);return n.from(s.keyFromPrivate(e).getPublic(t,!0))},t.publicKeyConvert=function(e,t){var r=l(e);if(null===r)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);return n.from(r.getPublic(t,!0))},t.publicKeyVerify=function(e){return null!==l(e)},t.publicKeyTweakAdd=function(e,t,r){var A=l(e);if(null===A)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);if((t=new i(t)).cmp(u.n)>=0)throw new Error(a.EC_PUBLIC_KEY_TWEAK_ADD_FAIL);var o=u.g.mul(t).add(A.pub);if(o.isInfinity())throw new Error(a.EC_PUBLIC_KEY_TWEAK_ADD_FAIL);return n.from(o.encode(!0,r))},t.publicKeyTweakMul=function(e,t,r){var A=l(e);if(null===A)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);if((t=new i(t)).cmp(u.n)>=0||t.isZero())throw new Error(a.EC_PUBLIC_KEY_TWEAK_MUL_FAIL);return n.from(A.pub.mul(t).encode(!0,r))},t.publicKeyCombine=function(e,t){for(var r=new Array(e.length),A=0;A<e.length;++A)if(r[A]=l(e[A]),null===r[A])throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);for(var i=r[0].pub,o=1;o<r.length;++o)i=i.add(r[o].pub);if(i.isInfinity())throw new Error(a.EC_PUBLIC_KEY_COMBINE_FAIL);return n.from(i.encode(!0,t))},t.signatureNormalize=function(e){var t=new i(e.slice(0,32)),r=new i(e.slice(32,64));if(t.cmp(u.n)>=0||r.cmp(u.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);var A=n.from(e);return 1===r.cmp(s.nh)&&u.n.sub(r).toArrayLike(n,"be",32).copy(A,32),A},t.signatureExport=function(e){var t=e.slice(0,32),r=e.slice(32,64);if(new i(t).cmp(u.n)>=0||new i(r).cmp(u.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);return{r:t,s:r}},t.signatureImport=function(e){var t=new i(e.r);t.cmp(u.n)>=0&&(t=new i(0));var r=new i(e.s);return r.cmp(u.n)>=0&&(r=new i(0)),n.concat([t.toArrayLike(n,"be",32),r.toArrayLike(n,"be",32)])},t.sign=function(e,t,r,A){if("function"==typeof r){var o=r;r=function(r){var s=o(e,t,null,A,r);if(!n.isBuffer(s)||32!==s.length)throw new Error(a.ECDSA_SIGN_FAIL);return new i(s)}}var l=new i(t);if(l.cmp(u.n)>=0||l.isZero())throw new Error(a.ECDSA_SIGN_FAIL);var c=s.sign(e,t,{canonical:!0,k:r,pers:A});return{signature:n.concat([c.r.toArrayLike(n,"be",32),c.s.toArrayLike(n,"be",32)]),recovery:c.recoveryParam}},t.verify=function(e,t,r){var n={r:t.slice(0,32),s:t.slice(32,64)},A=new i(n.r),o=new i(n.s);if(A.cmp(u.n)>=0||o.cmp(u.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);if(1===o.cmp(s.nh)||A.isZero()||o.isZero())return!1;var c=l(r);if(null===c)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);return s.verify(e,n,{x:c.pub.x,y:c.pub.y})},t.recover=function(e,t,r,A){var o={r:t.slice(0,32),s:t.slice(32,64)},l=new i(o.r),c=new i(o.s);if(l.cmp(u.n)>=0||c.cmp(u.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);try{if(l.isZero()||c.isZero())throw new Error;var f=s.recoverPubKey(e,o,r);return n.from(f.encode(!0,A))}catch(e){throw new Error(a.ECDSA_RECOVER_FAIL)}},t.ecdh=function(e,r){var n=t.ecdhUnsafe(e,r,!0);return A("sha256").update(n).digest()},t.ecdhUnsafe=function(e,t,r){var A=l(e);if(null===A)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);var o=new i(t);if(o.cmp(u.n)>=0||o.isZero())throw new Error(a.ECDH_FAIL);return n.from(A.pub.mul(o).encode(!0,r))}},function(e,t,r){"use strict";var n=t;n.version=r(1359).version,n.utils=r(113),n.rand=r(150),n.curve=r(840),n.curves=r(466),n.ec=r(1364),n.eddsa=r(1367)},function(e){e.exports=JSON.parse('{"_from":"elliptic@^6.5.2","_id":"elliptic@6.5.2","_inBundle":false,"_integrity":"sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==","_location":"/@chainx/util-crypto/elliptic","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"elliptic@^6.5.2","name":"elliptic","escapedName":"elliptic","rawSpec":"^6.5.2","saveSpec":null,"fetchSpec":"^6.5.2"},"_requiredBy":["/@chainx/util-crypto/secp256k1"],"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz","_shasum":"05c5678d7173c049d8ca433552224a495d0e3762","_spec":"elliptic@^6.5.2","_where":"/Users/Forrest/Desktop/zhiyou/VUE/mathwalletplus/node_modules/@chainx/util-crypto/node_modules/secp256k1","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"bugs":{"url":"https://github.com/indutny/elliptic/issues"},"bundleDependencies":false,"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},"deprecated":false,"description":"EC cryptography","devDependencies":{"brfs":"^1.4.3","coveralls":"^3.0.8","grunt":"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.2","jscs":"^3.0.7","jshint":"^2.10.3","mocha":"^6.2.2"},"files":["lib"],"homepage":"https://github.com/indutny/elliptic","keywords":["EC","Elliptic","curve","Cryptography"],"license":"MIT","main":"lib/elliptic.js","name":"elliptic","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/elliptic.git"},"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","test":"npm run lint && npm run unit","unit":"istanbul test _mocha --reporter=spec test/index.js","version":"grunt dist && git add dist/"},"version":"6.5.2"}')},function(e,t,r){"use strict";var n=r(113),A=r(17),i=r(20),o=r(327),a=n.assert;function s(e){o.call(this,"short",e),this.a=new A(e.a,16).toRed(this.red),this.b=new A(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(e,t,r,n){o.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new A(t,16),this.y=new A(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function l(e,t,r,n){o.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new A(0)):(this.x=new A(t,16),this.y=new A(r,16),this.z=new A(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(s,o),e.exports=s,s.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new A(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new A(e.lambda,16);else{var i=this._getEndoRoots(this.n);0===this.g.mul(i[0]).x.cmp(this.g.x.redMul(t))?r=i[0]:(r=i[1],a(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map(function(e){return{a:new A(e.a,16),b:new A(e.b,16)}}):this._getEndoBasis(r)}}},s.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:A.mont(e),r=new A(2).toRed(t).redInvm(),n=r.redNeg(),i=new A(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(i).fromRed(),n.redSub(i).fromRed()]},s.prototype._getEndoBasis=function(e){for(var t,r,n,i,o,a,s,u,l,c=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,d=this.n.clone(),g=new A(1),h=new A(0),p=new A(0),I=new A(1),B=0;0!==f.cmpn(0);){var C=d.div(f);u=d.sub(C.mul(f)),l=p.sub(C.mul(g));var m=I.sub(C.mul(h));if(!n&&u.cmp(c)<0)t=s.neg(),r=g,n=u.neg(),i=l;else if(n&&2==++B)break;s=u,d=f,f=u,p=g,g=l,I=h,h=m}o=u.neg(),a=l;var y=n.sqr().add(i.sqr());return o.sqr().add(a.sqr()).cmp(y)>=0&&(o=t,a=r),n.negative&&(n=n.neg(),i=i.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:n,b:i},{a:o,b:a}]},s.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],A=n.b.mul(e).divRound(this.n),i=r.b.neg().mul(e).divRound(this.n),o=A.mul(r.a),a=i.mul(n.a),s=A.mul(r.b),u=i.mul(n.b);return{k1:e.sub(o).sub(a),k2:s.add(u).neg()}},s.prototype.pointFromX=function(e,t){(e=new A(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(t&&!i||!t&&i)&&(n=n.redNeg()),this.point(e,n)},s.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),A=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(A).cmpn(0)},s.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,A=this._endoWnafT2,i=0;i<e.length;i++){var o=this._endoSplit(t[i]),a=e[i],s=a._getBeta();o.k1.negative&&(o.k1.ineg(),a=a.neg(!0)),o.k2.negative&&(o.k2.ineg(),s=s.neg(!0)),n[2*i]=a,n[2*i+1]=s,A[2*i]=o.k1,A[2*i+1]=o.k2}for(var u=this._wnafMulAdd(1,n,A,2*i,r),l=0;l<2*i;l++)n[l]=null,A[l]=null;return u},i(u,o.BasePoint),s.prototype.point=function(e,t,r){return new u(this,e,t,r)},s.prototype.pointFromJSON=function(e,t){return u.fromJSON(this,e,t)},u.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(e,t,r){"string"==typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function A(t){return e.point(t[0],t[1],r)}var i=t[2];return n.precomputed={beta:null,doubles:i.doubles&&{step:i.doubles.step,points:[n].concat(i.doubles.points.map(A))},naf:i.naf&&{wnd:i.naf.wnd,points:[n].concat(i.naf.points.map(A))}},n},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),A=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),i=A.redSqr().redISub(this.x.redAdd(this.x)),o=A.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,o)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return e=new A(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){var n=[this,t],A=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,A):this.curve._wnafMulAdd(1,n,A,2)},u.prototype.jmulAdd=function(e,t,r){var n=[this,t],A=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,A,!0):this.curve._wnafMulAdd(1,n,A,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(l,o.BasePoint),s.prototype.jpoint=function(e,t,r){return new l(this,e,t,r)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),A=e.x.redMul(r),i=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),a=n.redSub(A),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),l=u.redMul(a),c=n.redMul(u),f=s.redSqr().redIAdd(l).redISub(c).redISub(c),d=s.redMul(c.redISub(f)).redISub(i.redMul(l)),g=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(f,d,g)},l.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),A=this.y,i=e.y.redMul(t).redMul(this.z),o=r.redSub(n),a=A.redSub(i);if(0===o.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var s=o.redSqr(),u=s.redMul(o),l=r.redMul(s),c=a.redSqr().redIAdd(u).redISub(l).redISub(l),f=a.redMul(l.redISub(c)).redISub(A.redMul(u)),d=this.z.redMul(o);return this.curve.jpoint(c,f,d)},l.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}var n=this.curve.a,A=this.curve.tinv,i=this.x,o=this.y,a=this.z,s=a.redSqr().redSqr(),u=o.redAdd(o);for(r=0;r<e;r++){var l=i.redSqr(),c=u.redSqr(),f=c.redSqr(),d=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(s)),g=i.redMul(c),h=d.redSqr().redISub(g.redAdd(g)),p=g.redISub(h),I=d.redMul(p);I=I.redIAdd(I).redISub(f);var B=u.redMul(a);r+1<e&&(s=s.redMul(f)),i=h,a=B,u=I}return this.curve.jpoint(i,u.redMul(A),a)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},l.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),A=this.y.redSqr(),i=A.redSqr(),o=this.x.redAdd(A).redSqr().redISub(n).redISub(i);o=o.redIAdd(o);var a=n.redAdd(n).redIAdd(n),s=a.redSqr().redISub(o).redISub(o),u=i.redIAdd(i);u=(u=u.redIAdd(u)).redIAdd(u),e=s,t=a.redMul(o.redISub(s)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),c=this.y.redSqr(),f=c.redSqr(),d=this.x.redAdd(c).redSqr().redISub(l).redISub(f);d=d.redIAdd(d);var g=l.redAdd(l).redIAdd(l),h=g.redSqr(),p=f.redIAdd(f);p=(p=p.redIAdd(p)).redIAdd(p),e=h.redISub(d).redISub(d),t=g.redMul(d.redISub(e)).redISub(p),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},l.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),A=this.y.redSqr(),i=A.redSqr(),o=this.x.redAdd(A).redSqr().redISub(n).redISub(i);o=o.redIAdd(o);var a=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),s=a.redSqr().redISub(o).redISub(o);e=s;var u=i.redIAdd(i);u=(u=u.redIAdd(u)).redIAdd(u),t=a.redMul(o.redISub(s)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),c=this.y.redSqr(),f=this.x.redMul(c),d=this.x.redSub(l).redMul(this.x.redAdd(l));d=d.redAdd(d).redIAdd(d);var g=f.redIAdd(f),h=(g=g.redIAdd(g)).redAdd(g);e=d.redSqr().redISub(h),r=this.y.redAdd(this.z).redSqr().redISub(c).redISub(l);var p=c.redSqr();p=(p=(p=p.redIAdd(p)).redIAdd(p)).redIAdd(p),t=d.redMul(g.redISub(e)).redISub(p)}return this.curve.jpoint(e,t,r)},l.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,A=n.redSqr().redSqr(),i=t.redSqr(),o=r.redSqr(),a=i.redAdd(i).redIAdd(i).redIAdd(e.redMul(A)),s=t.redAdd(t),u=(s=s.redIAdd(s)).redMul(o),l=a.redSqr().redISub(u.redAdd(u)),c=u.redISub(l),f=o.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=a.redMul(c).redISub(f),g=r.redAdd(r).redMul(n);return this.curve.jpoint(l,d,g)},l.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),A=e.redAdd(e).redIAdd(e),i=A.redSqr(),o=this.x.redAdd(t).redSqr().redISub(e).redISub(n),a=(o=(o=(o=o.redIAdd(o)).redAdd(o).redIAdd(o)).redISub(i)).redSqr(),s=n.redIAdd(n);s=(s=(s=s.redIAdd(s)).redIAdd(s)).redIAdd(s);var u=A.redIAdd(o).redSqr().redISub(i).redISub(a).redISub(s),l=t.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var c=this.x.redMul(a).redISub(l);c=(c=c.redIAdd(c)).redIAdd(c);var f=this.y.redMul(u.redMul(s.redISub(u)).redISub(o.redMul(a)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=this.z.redAdd(o).redSqr().redISub(r).redISub(a);return this.curve.jpoint(c,f,d)},l.prototype.mul=function(e,t){return e=new A(e,t),this.curve._wnafMul(this,e)},l.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),A=r.redMul(e.z);return 0===this.y.redMul(A).redISub(e.y.redMul(n)).cmpn(0)},l.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),A=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(A),0===this.x.cmp(r))return!0}},l.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,r){"use strict";var n=r(17),A=r(20),i=r(327),o=r(113);function a(e){i.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function s(e,t,r){i.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}A(a,i),e.exports=a,a.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},A(s,i.BasePoint),a.prototype.decodePoint=function(e,t){return this.point(o.toArray(e,t),1)},a.prototype.point=function(e,t){return new s(this,e,t)},a.prototype.pointFromJSON=function(e){return s.fromJSON(this,e)},s.prototype.precompute=function(){},s.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},s.fromJSON=function(e,t){return new s(e,t[0],t[1]||e.one)},s.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},s.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},s.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),A=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,A)},s.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),A=e.x.redAdd(e.z),i=e.x.redSub(e.z).redMul(r),o=A.redMul(n),a=t.z.redMul(i.redAdd(o).redSqr()),s=t.x.redMul(i.redISub(o).redSqr());return this.curve.point(a,s)},s.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),A=[];0!==t.cmpn(0);t.iushrn(1))A.push(t.andln(1));for(var i=A.length-1;i>=0;i--)0===A[i]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},s.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},s.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},s.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,r){"use strict";var n=r(113),A=r(17),i=r(20),o=r(327),a=n.assert;function s(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,o.call(this,"edwards",e),this.a=new A(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new A(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new A(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function u(e,t,r,n,i){o.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new A(t,16),this.y=new A(r,16),this.z=n?new A(n,16):this.curve.one,this.t=i&&new A(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(s,o),e.exports=s,s.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},s.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},s.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},s.prototype.pointFromX=function(e,t){(e=new A(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),i=this.one.redSub(this.c2.redMul(this.d).redMul(r)),o=n.redMul(i.redInvm()),a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var s=a.fromRed().isOdd();return(t&&!s||!t&&s)&&(a=a.redNeg()),this.point(e,a)},s.prototype.pointFromY=function(e,t){(e=new A(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),i=r.redMul(this.d).redMul(this.c2).redSub(this.a),o=n.redMul(i.redInvm());if(0===o.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},s.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),A=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(A)},i(u,o.BasePoint),s.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},s.prototype.point=function(e,t,r,n){return new u(this,e,t,r,n)},u.fromJSON=function(e,t){return new u(e,t[0],t[1],t[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),A=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),i=n.redAdd(t),o=i.redSub(r),a=n.redSub(t),s=A.redMul(o),u=i.redMul(a),l=A.redMul(a),c=o.redMul(i);return this.curve.point(s,u,c,l)},u.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),A=this.x.redSqr(),i=this.y.redSqr();if(this.curve.twisted){var o=(u=this.curve._mulA(A)).redAdd(i);if(this.zOne)e=n.redSub(A).redSub(i).redMul(o.redSub(this.curve.two)),t=o.redMul(u.redSub(i)),r=o.redSqr().redSub(o).redSub(o);else{var a=this.z.redSqr(),s=o.redSub(a).redISub(a);e=n.redSub(A).redISub(i).redMul(s),t=o.redMul(u.redSub(i)),r=o.redMul(s)}}else{var u=A.redAdd(i);a=this.curve._mulC(this.z).redSqr(),s=u.redSub(a).redSub(a);e=this.curve._mulC(n.redISub(u)).redMul(s),t=this.curve._mulC(u).redMul(A.redISub(i)),r=u.redMul(s)}return this.curve.point(e,t,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),A=this.z.redMul(e.z.redAdd(e.z)),i=r.redSub(t),o=A.redSub(n),a=A.redAdd(n),s=r.redAdd(t),u=i.redMul(o),l=a.redMul(s),c=i.redMul(s),f=o.redMul(a);return this.curve.point(u,l,f,c)},u.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),A=n.redSqr(),i=this.x.redMul(e.x),o=this.y.redMul(e.y),a=this.curve.d.redMul(i).redMul(o),s=A.redSub(a),u=A.redAdd(a),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(i).redISub(o),c=n.redMul(s).redMul(l);return this.curve.twisted?(t=n.redMul(u).redMul(o.redSub(this.curve._mulA(i))),r=s.redMul(u)):(t=n.redMul(u).redMul(o.redSub(i)),r=this.curve._mulC(s).redMul(u)),this.curve.point(c,t,r)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},u.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(e,t,r){"use strict";var n=r(17),A=r(264),i=r(113),o=r(466),a=r(150),s=i.assert,u=r(1365),l=r(1366);function c(e){if(!(this instanceof c))return new c(e);"string"==typeof e&&(s(o.hasOwnProperty(e),"Unknown curve "+e),e=o[e]),e instanceof o.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=c,c.prototype.keyPair=function(e){return new u(this,e)},c.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},c.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},c.prototype.genKeyPair=function(e){e||(e={});for(var t=new A({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||a(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),i=this.n.sub(new n(2));;){var o=new n(t.generate(r));if(!(o.cmp(i)>0))return o.iaddn(1),this.keyFromPrivate(o)}},c.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},c.prototype.sign=function(e,t,r,i){"object"==typeof r&&(i=r,r=null),i||(i={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var o=this.n.byteLength(),a=t.getPrivate().toArray("be",o),s=e.toArray("be",o),u=new A({hash:this.hash,entropy:a,nonce:s,pers:i.pers,persEnc:i.persEnc||"utf8"}),c=this.n.sub(new n(1)),f=0;;f++){var d=i.k?i.k(f):new n(u.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||d.cmp(c)>=0)){var g=this.g.mul(d);if(!g.isInfinity()){var h=g.getX(),p=h.umod(this.n);if(0!==p.cmpn(0)){var I=d.invm(this.n).mul(p.mul(t.getPrivate()).iadd(e));if(0!==(I=I.umod(this.n)).cmpn(0)){var B=(g.getY().isOdd()?1:0)|(0!==h.cmp(p)?2:0);return i.canonical&&I.cmp(this.nh)>0&&(I=this.n.sub(I),B^=1),new l({r:p,s:I,recoveryParam:B})}}}}}},c.prototype.verify=function(e,t,r,A){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,A);var i=(t=new l(t,"hex")).r,o=t.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var a,s=o.invm(this.n),u=s.mul(e).umod(this.n),c=s.mul(i).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(u,r.getPublic(),c)).isInfinity()&&a.eqXToP(i):!(a=this.g.mulAdd(u,r.getPublic(),c)).isInfinity()&&0===a.getX().umod(this.n).cmp(i)},c.prototype.recoverPubKey=function(e,t,r,A){s((3&r)===r,"The recovery param is more than two bits"),t=new l(t,A);var i=this.n,o=new n(e),a=t.r,u=t.s,c=1&r,f=r>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw new Error("Unable to find sencond key candinate");a=f?this.curve.pointFromX(a.add(this.curve.n),c):this.curve.pointFromX(a,c);var d=t.r.invm(i),g=i.sub(o).mul(d).umod(i),h=u.mul(d).umod(i);return this.g.mulAdd(g,a,h)},c.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new l(t,n)).recoveryParam)return t.recoveryParam;for(var A=0;A<4;A++){var i;try{i=this.recoverPubKey(e,t,A)}catch(e){continue}if(i.eq(r))return A}throw new Error("Unable to find valid recovery factor")}},function(e,t,r){"use strict";var n=r(17),A=r(113).assert;function i(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=i,i.fromPublic=function(e,t,r){return t instanceof i?t:new i(e,{pub:t,pubEnc:r})},i.fromPrivate=function(e,t,r){return t instanceof i?t:new i(e,{priv:t,privEnc:r})},i.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},i.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?A(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||A(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},i.prototype.derive=function(e){return e.mul(this.priv).getX()},i.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},i.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},i.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(e,t,r){"use strict";var n=r(17),A=r(113),i=A.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(i(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function a(){this.place=0}function s(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,A=0,i=0,o=t.place;i<n;i++,o++)A<<=8,A|=e[o];return t.place=o,A}function u(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function l(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=o,o.prototype._importDER=function(e,t){e=A.toArray(e,t);var r=new a;if(48!==e[r.place++])return!1;if(s(e,r)+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var i=s(e,r),o=e.slice(r.place,i+r.place);if(r.place+=i,2!==e[r.place++])return!1;var u=s(e,r);if(e.length!==u+r.place)return!1;var l=e.slice(r.place,u+r.place);return 0===o[0]&&128&o[1]&&(o=o.slice(1)),0===l[0]&&128&l[1]&&(l=l.slice(1)),this.r=new n(o),this.s=new n(l),this.recoveryParam=null,!0},o.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];l(n,t.length),(n=n.concat(t)).push(2),l(n,r.length);var i=n.concat(r),o=[48];return l(o,i.length),o=o.concat(i),A.encode(o,e)}},function(e,t,r){"use strict";var n=r(123),A=r(466),i=r(113),o=i.assert,a=i.parseBytes,s=r(1368),u=r(1369);function l(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof l))return new l(e);e=A[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=l,l.prototype.sign=function(e,t){e=a(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),A=this.g.mul(n),i=this.encodePoint(A),o=this.hashInt(i,r.pubBytes(),e).mul(r.priv()),s=n.add(o).umod(this.curve.n);return this.makeSignature({R:A,S:s,Rencoded:i})},l.prototype.verify=function(e,t,r){e=a(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),A=this.hashInt(t.Rencoded(),n.pubBytes(),e),i=this.g.mul(t.S());return t.R().add(n.pub().mul(A)).eq(i)},l.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return i.intFromLE(e.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(e){return s.fromPublic(this,e)},l.prototype.keyFromSecret=function(e){return s.fromSecret(this,e)},l.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},l.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},l.prototype.decodePoint=function(e){var t=(e=i.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!=(128&e[t]),A=i.intFromLE(r);return this.curve.pointFromY(A,n)},l.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(e){return i.intFromLE(e)},l.prototype.isPoint=function(e){return e instanceof this.pointClass}},function(e,t,r){"use strict";var n=r(113),A=n.assert,i=n.parseBytes,o=n.cachedProperty;function a(e,t){this.eddsa=e,this._secret=i(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=i(t.pub)}a.fromPublic=function(e,t){return t instanceof a?t:new a(e,{pub:t})},a.fromSecret=function(e,t){return t instanceof a?t:new a(e,{secret:t})},a.prototype.secret=function(){return this._secret},o(a,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),o(a,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),o(a,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n}),o(a,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),o(a,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),o(a,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),a.prototype.sign=function(e){return A(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},a.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},a.prototype.getSecret=function(e){return A(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},a.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},e.exports=a},function(e,t,r){"use strict";var n=r(17),A=r(113),i=A.assert,o=A.cachedProperty,a=A.parseBytes;function s(e,t){this.eddsa=e,"object"!=typeof t&&(t=a(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),i(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}o(s,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),o(s,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),o(s,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),o(s,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),s.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},s.prototype.toHex=function(){return A.encode(this.toBytes(),"hex").toUpperCase()},e.exports=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"sha512AsU8a",{enumerable:!0,get:function(){return A.default}});var A=n(r(1371))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.isReady)()?(0,i.sha512)(e):A.default.hash(e)};var A=n(r(156)),i=r(68)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"xxhashAsHex",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"xxhashAsU8a",{enumerable:!0,get:function(){return i.default}});var A=n(r(1373)),i=n(r(841))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:64;return(0,A.u8aToHex)((0,i.default)(e,t))};var A=r(14),i=n(r(841))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return new A.default((0,i.default)(e,t),16)};var A=n(r(17)),i=n(r(1375))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,A.default)(e,t).toString(16)};var A=n(r(1376))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.isBuffer)(e)||(0,i.isString)(e))return A.default.h64(e,t);return A.default.h64((0,i.u8aToBuffer)(e),t)};var A=n(r(842)),i=r(14)},function(e,t,r){(function(t){var n=r(843).UINT32;n.prototype.xxh_update=function(e,t){var r,n,o=i._low,a=i._high;r=(n=e*o)>>>16,r+=t*o,r&=65535,r+=e*a;var s=this._low+(65535&n),u=s>>>16,l=(u+=this._high+(65535&r))<<16|65535&s;u=(l=l<<13|l>>>19)>>>16,r=(n=(s=65535&l)*(o=A._low))>>>16,r+=u*o,r&=65535,r+=s*(a=A._high),this._low=65535&n,this._high=65535&r};var A=n("2654435761"),i=n("2246822519"),o=n("3266489917"),a=n("668265263"),s=n("374761393");function u(){return 2==arguments.length?new u(arguments[1]).update(arguments[0]).digest():this instanceof u?void l.call(this,arguments[0]):new u(arguments[0])}function l(e){return this.seed=e instanceof n?e.clone():n(e),this.v1=this.seed.clone().add(A).add(i),this.v2=this.seed.clone().add(i),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(A),this.total_len=0,this.memsize=0,this.memory=null,this}u.prototype.init=l,u.prototype.update=function(e){var r,n="string"==typeof e;n&&(e=function(e){for(var t=[],r=0,n=e.length;r<n;r++){var A=e.charCodeAt(r);A<128?t.push(A):A<2048?t.push(192|A>>6,128|63&A):A<55296||A>=57344?t.push(224|A>>12,128|A>>6&63,128|63&A):(r++,A=65536+((1023&A)<<10|1023&e.charCodeAt(r)),t.push(240|A>>18,128|A>>12&63,128|A>>6&63,128|63&A))}return new Uint8Array(t)}(e),n=!1,r=!0),"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&(r=!0,e=new Uint8Array(e));var A=0,i=e.length,o=A+i;if(0==i)return this;if(this.total_len+=i,0==this.memsize&&(this.memory=n?"":r?new Uint8Array(16):new t(16)),this.memsize+i<16)return n?this.memory+=e:r?this.memory.set(e.subarray(0,i),this.memsize):e.copy(this.memory,this.memsize,0,i),this.memsize+=i,this;if(this.memsize>0){n?this.memory+=e.slice(0,16-this.memsize):r?this.memory.set(e.subarray(0,16-this.memsize),this.memsize):e.copy(this.memory,this.memsize,0,16-this.memsize);var a=0;n?(this.v1.xxh_update(this.memory.charCodeAt(a+1)<<8|this.memory.charCodeAt(a),this.memory.charCodeAt(a+3)<<8|this.memory.charCodeAt(a+2)),a+=4,this.v2.xxh_update(this.memory.charCodeAt(a+1)<<8|this.memory.charCodeAt(a),this.memory.charCodeAt(a+3)<<8|this.memory.charCodeAt(a+2)),a+=4,this.v3.xxh_update(this.memory.charCodeAt(a+1)<<8|this.memory.charCodeAt(a),this.memory.charCodeAt(a+3)<<8|this.memory.charCodeAt(a+2)),a+=4,this.v4.xxh_update(this.memory.charCodeAt(a+1)<<8|this.memory.charCodeAt(a),this.memory.charCodeAt(a+3)<<8|this.memory.charCodeAt(a+2))):(this.v1.xxh_update(this.memory[a+1]<<8|this.memory[a],this.memory[a+3]<<8|this.memory[a+2]),a+=4,this.v2.xxh_update(this.memory[a+1]<<8|this.memory[a],this.memory[a+3]<<8|this.memory[a+2]),a+=4,this.v3.xxh_update(this.memory[a+1]<<8|this.memory[a],this.memory[a+3]<<8|this.memory[a+2]),a+=4,this.v4.xxh_update(this.memory[a+1]<<8|this.memory[a],this.memory[a+3]<<8|this.memory[a+2])),A+=16-this.memsize,this.memsize=0,n&&(this.memory="")}if(A<=o-16){var s=o-16;do{n?(this.v1.xxh_update(e.charCodeAt(A+1)<<8|e.charCodeAt(A),e.charCodeAt(A+3)<<8|e.charCodeAt(A+2)),A+=4,this.v2.xxh_update(e.charCodeAt(A+1)<<8|e.charCodeAt(A),e.charCodeAt(A+3)<<8|e.charCodeAt(A+2)),A+=4,this.v3.xxh_update(e.charCodeAt(A+1)<<8|e.charCodeAt(A),e.charCodeAt(A+3)<<8|e.charCodeAt(A+2)),A+=4,this.v4.xxh_update(e.charCodeAt(A+1)<<8|e.charCodeAt(A),e.charCodeAt(A+3)<<8|e.charCodeAt(A+2))):(this.v1.xxh_update(e[A+1]<<8|e[A],e[A+3]<<8|e[A+2]),A+=4,this.v2.xxh_update(e[A+1]<<8|e[A],e[A+3]<<8|e[A+2]),A+=4,this.v3.xxh_update(e[A+1]<<8|e[A],e[A+3]<<8|e[A+2]),A+=4,this.v4.xxh_update(e[A+1]<<8|e[A],e[A+3]<<8|e[A+2])),A+=4}while(A<=s)}return A<o&&(n?this.memory+=e.slice(A):r?this.memory.set(e.subarray(A,o),this.memsize):e.copy(this.memory,this.memsize,A,o),this.memsize=o-A),this},u.prototype.digest=function(){var e,t,r=this.memory,u="string"==typeof r,l=0,c=this.memsize,f=new n;for((e=this.total_len>=16?this.v1.rotl(1).add(this.v2.rotl(7).add(this.v3.rotl(12).add(this.v4.rotl(18)))):this.seed.clone().add(s)).add(f.fromNumber(this.total_len));l<=c-4;)u?f.fromBits(r.charCodeAt(l+1)<<8|r.charCodeAt(l),r.charCodeAt(l+3)<<8|r.charCodeAt(l+2)):f.fromBits(r[l+1]<<8|r[l],r[l+3]<<8|r[l+2]),e.add(f.multiply(o)).rotl(17).multiply(a),l+=4;for(;l<c;)f.fromBits(u?r.charCodeAt(l++):r[l++],0),e.add(f.multiply(s)).rotl(11).multiply(A);return t=e.clone().shiftRight(15),e.xor(t).multiply(i),t=e.clone().shiftRight(13),e.xor(t).multiply(o),t=e.clone().shiftRight(16),e.xor(t),this.init(this.seed),e},e.exports=u}).call(this,r(8).Buffer)},function(e,t,r){var n;!function(r){A(Math.pow(36,5)),A(Math.pow(16,7)),A(Math.pow(10,9)),A(Math.pow(2,30)),A(36),A(16),A(10),A(2);function A(e,t){return this instanceof A?(this._low=0,this._high=0,this.remainder=null,void 0===t?o.call(this,e):"string"==typeof e?a.call(this,e,t):void i.call(this,e,t)):new A(e,t)}function i(e,t){return this._low=0|e,this._high=0|t,this}function o(e){return this._low=65535&e,this._high=e>>>16,this}function a(e,t){var r=parseInt(e,t||10);return this._low=65535&r,this._high=r>>>16,this}A.prototype.fromBits=i,A.prototype.fromNumber=o,A.prototype.fromString=a,A.prototype.toNumber=function(){return 65536*this._high+this._low},A.prototype.toString=function(e){return this.toNumber().toString(e||10)},A.prototype.add=function(e){var t=this._low+e._low,r=t>>>16;return r+=this._high+e._high,this._low=65535&t,this._high=65535&r,this},A.prototype.subtract=function(e){return this.add(e.clone().negate())},A.prototype.multiply=function(e){var t,r,n=this._high,A=this._low,i=e._high,o=e._low;return t=(r=A*o)>>>16,t+=n*o,t&=65535,t+=A*i,this._low=65535&r,this._high=65535&t,this},A.prototype.div=function(e){if(0==e._low&&0==e._high)throw Error("division by zero");if(0==e._high&&1==e._low)return this.remainder=new A(0),this;if(e.gt(this))return this.remainder=this.clone(),this._low=0,this._high=0,this;if(this.eq(e))return this.remainder=new A(0),this._low=1,this._high=0,this;for(var t=e.clone(),r=-1;!this.lt(t);)t.shiftLeft(1,!0),r++;for(this.remainder=this.clone(),this._low=0,this._high=0;r>=0;r--)t.shiftRight(1),this.remainder.lt(t)||(this.remainder.subtract(t),r>=16?this._high|=1<<r-16:this._low|=1<<r);return this},A.prototype.negate=function(){var e=1+(65535&~this._low);return this._low=65535&e,this._high=~this._high+(e>>>16)&65535,this},A.prototype.equals=A.prototype.eq=function(e){return this._low==e._low&&this._high==e._high},A.prototype.greaterThan=A.prototype.gt=function(e){return this._high>e._high||!(this._high<e._high)&&this._low>e._low},A.prototype.lessThan=A.prototype.lt=function(e){return this._high<e._high||!(this._high>e._high)&&this._low<e._low},A.prototype.or=function(e){return this._low|=e._low,this._high|=e._high,this},A.prototype.and=function(e){return this._low&=e._low,this._high&=e._high,this},A.prototype.not=function(){return this._low=65535&~this._low,this._high=65535&~this._high,this},A.prototype.xor=function(e){return this._low^=e._low,this._high^=e._high,this},A.prototype.shiftRight=A.prototype.shiftr=function(e){return e>16?(this._low=this._high>>e-16,this._high=0):16==e?(this._low=this._high,this._high=0):(this._low=this._low>>e|this._high<<16-e&65535,this._high>>=e),this},A.prototype.shiftLeft=A.prototype.shiftl=function(e,t){return e>16?(this._high=this._low<<e-16,this._low=0,t||(this._high&=65535)):16==e?(this._high=this._low,this._low=0):(this._high=this._high<<e|this._low>>16-e,this._low=this._low<<e&65535,t||(this._high&=65535)),this},A.prototype.rotateLeft=A.prototype.rotl=function(e){var t=this._high<<16|this._low;return t=t<<e|t>>>32-e,this._low=65535&t,this._high=t>>>16,this},A.prototype.rotateRight=A.prototype.rotr=function(e){var t=this._high<<16|this._low;return t=t>>>e|t<<32-e,this._low=65535&t,this._high=t>>>16,this},A.prototype.clone=function(){return new A(this._low,this._high)},void 0===(n=function(){return A}.apply(t,[]))||(e.exports=n)}()},function(e,t,r){var n;!function(r){var A={16:o(Math.pow(16,5)),10:o(Math.pow(10,5)),2:o(Math.pow(2,5))},i={16:o(16),10:o(10),2:o(2)};function o(e,t,r,n){return this instanceof o?(this.remainder=null,"string"==typeof e?u.call(this,e,t):void 0===t?s.call(this,e):void a.apply(this,arguments)):new o(e,t,r,n)}function a(e,t,r,n){return void 0===r?(this._a00=65535&e,this._a16=e>>>16,this._a32=65535&t,this._a48=t>>>16,this):(this._a00=0|e,this._a16=0|t,this._a32=0|r,this._a48=0|n,this)}function s(e){return this._a00=65535&e,this._a16=e>>>16,this._a32=0,this._a48=0,this}function u(e,t){t=t||10,this._a00=0,this._a16=0,this._a32=0,this._a48=0;for(var r=A[t]||new o(Math.pow(t,5)),n=0,i=e.length;n<i;n+=5){var a=Math.min(5,i-n),s=parseInt(e.slice(n,n+a),t);this.multiply(a<5?new o(Math.pow(t,a)):r).add(new o(s))}return this}o.prototype.fromBits=a,o.prototype.fromNumber=s,o.prototype.fromString=u,o.prototype.toNumber=function(){return 65536*this._a16+this._a00},o.prototype.toString=function(e){var t=i[e=e||10]||new o(e);if(!this.gt(t))return this.toNumber().toString(e);for(var r=this.clone(),n=new Array(64),A=63;A>=0&&(r.div(t),n[A]=r.remainder.toNumber().toString(e),r.gt(t));A--);return n[A-1]=r.toNumber().toString(e),n.join("")},o.prototype.add=function(e){var t=this._a00+e._a00,r=t>>>16,n=(r+=this._a16+e._a16)>>>16,A=(n+=this._a32+e._a32)>>>16;return A+=this._a48+e._a48,this._a00=65535&t,this._a16=65535&r,this._a32=65535&n,this._a48=65535&A,this},o.prototype.subtract=function(e){return this.add(e.clone().negate())},o.prototype.multiply=function(e){var t=this._a00,r=this._a16,n=this._a32,A=this._a48,i=e._a00,o=e._a16,a=e._a32,s=t*i,u=s>>>16,l=(u+=t*o)>>>16;u&=65535,l+=(u+=r*i)>>>16;var c=(l+=t*a)>>>16;return l&=65535,c+=(l+=r*o)>>>16,l&=65535,c+=(l+=n*i)>>>16,c+=t*e._a48,c&=65535,c+=r*a,c&=65535,c+=n*o,c&=65535,c+=A*i,this._a00=65535&s,this._a16=65535&u,this._a32=65535&l,this._a48=65535&c,this},o.prototype.div=function(e){if(0==e._a16&&0==e._a32&&0==e._a48){if(0==e._a00)throw Error("division by zero");if(1==e._a00)return this.remainder=new o(0),this}if(e.gt(this))return this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0,this;if(this.eq(e))return this.remainder=new o(0),this._a00=1,this._a16=0,this._a32=0,this._a48=0,this;for(var t=e.clone(),r=-1;!this.lt(t);)t.shiftLeft(1,!0),r++;for(this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0;r>=0;r--)t.shiftRight(1),this.remainder.lt(t)||(this.remainder.subtract(t),r>=48?this._a48|=1<<r-48:r>=32?this._a32|=1<<r-32:r>=16?this._a16|=1<<r-16:this._a00|=1<<r);return this},o.prototype.negate=function(){var e=1+(65535&~this._a00);return this._a00=65535&e,e=(65535&~this._a16)+(e>>>16),this._a16=65535&e,e=(65535&~this._a32)+(e>>>16),this._a32=65535&e,this._a48=~this._a48+(e>>>16)&65535,this},o.prototype.equals=o.prototype.eq=function(e){return this._a48==e._a48&&this._a00==e._a00&&this._a32==e._a32&&this._a16==e._a16},o.prototype.greaterThan=o.prototype.gt=function(e){return this._a48>e._a48||!(this._a48<e._a48)&&(this._a32>e._a32||!(this._a32<e._a32)&&(this._a16>e._a16||!(this._a16<e._a16)&&this._a00>e._a00))},o.prototype.lessThan=o.prototype.lt=function(e){return this._a48<e._a48||!(this._a48>e._a48)&&(this._a32<e._a32||!(this._a32>e._a32)&&(this._a16<e._a16||!(this._a16>e._a16)&&this._a00<e._a00))},o.prototype.or=function(e){return this._a00|=e._a00,this._a16|=e._a16,this._a32|=e._a32,this._a48|=e._a48,this},o.prototype.and=function(e){return this._a00&=e._a00,this._a16&=e._a16,this._a32&=e._a32,this._a48&=e._a48,this},o.prototype.xor=function(e){return this._a00^=e._a00,this._a16^=e._a16,this._a32^=e._a32,this._a48^=e._a48,this},o.prototype.not=function(){return this._a00=65535&~this._a00,this._a16=65535&~this._a16,this._a32=65535&~this._a32,this._a48=65535&~this._a48,this},o.prototype.shiftRight=o.prototype.shiftr=function(e){return(e%=64)>=48?(this._a00=this._a48>>e-48,this._a16=0,this._a32=0,this._a48=0):e>=32?(e-=32,this._a00=65535&(this._a32>>e|this._a48<<16-e),this._a16=this._a48>>e&65535,this._a32=0,this._a48=0):e>=16?(e-=16,this._a00=65535&(this._a16>>e|this._a32<<16-e),this._a16=65535&(this._a32>>e|this._a48<<16-e),this._a32=this._a48>>e&65535,this._a48=0):(this._a00=65535&(this._a00>>e|this._a16<<16-e),this._a16=65535&(this._a16>>e|this._a32<<16-e),this._a32=65535&(this._a32>>e|this._a48<<16-e),this._a48=this._a48>>e&65535),this},o.prototype.shiftLeft=o.prototype.shiftl=function(e,t){return(e%=64)>=48?(this._a48=this._a00<<e-48,this._a32=0,this._a16=0,this._a00=0):e>=32?(e-=32,this._a48=this._a16<<e|this._a00>>16-e,this._a32=this._a00<<e&65535,this._a16=0,this._a00=0):e>=16?(e-=16,this._a48=this._a32<<e|this._a16>>16-e,this._a32=65535&(this._a16<<e|this._a00>>16-e),this._a16=this._a00<<e&65535,this._a00=0):(this._a48=this._a48<<e|this._a32>>16-e,this._a32=65535&(this._a32<<e|this._a16>>16-e),this._a16=65535&(this._a16<<e|this._a00>>16-e),this._a00=this._a00<<e&65535),t||(this._a48&=65535),this},o.prototype.rotateLeft=o.prototype.rotl=function(e){if(0==(e%=64))return this;if(e>=32){var t=this._a00;if(this._a00=this._a32,this._a32=t,t=this._a48,this._a48=this._a16,this._a16=t,32==e)return this;e-=32}var r=this._a48<<16|this._a32,n=this._a16<<16|this._a00,A=r<<e|n>>>32-e,i=n<<e|r>>>32-e;return this._a00=65535&i,this._a16=i>>>16,this._a32=65535&A,this._a48=A>>>16,this},o.prototype.rotateRight=o.prototype.rotr=function(e){if(0==(e%=64))return this;if(e>=32){var t=this._a00;if(this._a00=this._a32,this._a32=t,t=this._a48,this._a48=this._a16,this._a16=t,32==e)return this;e-=32}var r=this._a48<<16|this._a32,n=this._a16<<16|this._a00,A=r>>>e|n<<32-e,i=n>>>e|r<<32-e;return this._a00=65535&i,this._a16=i>>>16,this._a32=65535&A,this._a48=A>>>16,this},o.prototype.clone=function(){return new o(this._a00,this._a16,this._a32,this._a48)},void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},function(e,t,r){(function(t){var n=r(843).UINT64,A=n("11400714785074694791"),i=n("14029467366897019727"),o=n("1609587929392839161"),a=n("9650029242287828579"),s=n("2870177450012600261");function u(){return 2==arguments.length?new u(arguments[1]).update(arguments[0]).digest():this instanceof u?void l.call(this,arguments[0]):new u(arguments[0])}function l(e){return this.seed=e instanceof n?e.clone():n(e),this.v1=this.seed.clone().add(A).add(i),this.v2=this.seed.clone().add(i),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(A),this.total_len=0,this.memsize=0,this.memory=null,this}u.prototype.init=l,u.prototype.update=function(e){var r,o="string"==typeof e;o&&(e=function(e){for(var t=[],r=0,n=e.length;r<n;r++){var A=e.charCodeAt(r);A<128?t.push(A):A<2048?t.push(192|A>>6,128|63&A):A<55296||A>=57344?t.push(224|A>>12,128|A>>6&63,128|63&A):(r++,A=65536+((1023&A)<<10|1023&e.charCodeAt(r)),t.push(240|A>>18,128|A>>12&63,128|A>>6&63,128|63&A))}return new Uint8Array(t)}(e),o=!1,r=!0),"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&(r=!0,e=new Uint8Array(e));var a=0,s=e.length,u=a+s;if(0==s)return this;if(this.total_len+=s,0==this.memsize&&(this.memory=o?"":r?new Uint8Array(32):new t(32)),this.memsize+s<32)return o?this.memory+=e:r?this.memory.set(e.subarray(0,s),this.memsize):e.copy(this.memory,this.memsize,0,s),this.memsize+=s,this;if(this.memsize>0){o?this.memory+=e.slice(0,32-this.memsize):r?this.memory.set(e.subarray(0,32-this.memsize),this.memsize):e.copy(this.memory,this.memsize,0,32-this.memsize);var l=0;if(o)f=n(this.memory.charCodeAt(l+1)<<8|this.memory.charCodeAt(l),this.memory.charCodeAt(l+3)<<8|this.memory.charCodeAt(l+2),this.memory.charCodeAt(l+5)<<8|this.memory.charCodeAt(l+4),this.memory.charCodeAt(l+7)<<8|this.memory.charCodeAt(l+6)),this.v1.add(f.multiply(i)).rotl(31).multiply(A),l+=8,f=n(this.memory.charCodeAt(l+1)<<8|this.memory.charCodeAt(l),this.memory.charCodeAt(l+3)<<8|this.memory.charCodeAt(l+2),this.memory.charCodeAt(l+5)<<8|this.memory.charCodeAt(l+4),this.memory.charCodeAt(l+7)<<8|this.memory.charCodeAt(l+6)),this.v2.add(f.multiply(i)).rotl(31).multiply(A),l+=8,f=n(this.memory.charCodeAt(l+1)<<8|this.memory.charCodeAt(l),this.memory.charCodeAt(l+3)<<8|this.memory.charCodeAt(l+2),this.memory.charCodeAt(l+5)<<8|this.memory.charCodeAt(l+4),this.memory.charCodeAt(l+7)<<8|this.memory.charCodeAt(l+6)),this.v3.add(f.multiply(i)).rotl(31).multiply(A),l+=8,f=n(this.memory.charCodeAt(l+1)<<8|this.memory.charCodeAt(l),this.memory.charCodeAt(l+3)<<8|this.memory.charCodeAt(l+2),this.memory.charCodeAt(l+5)<<8|this.memory.charCodeAt(l+4),this.memory.charCodeAt(l+7)<<8|this.memory.charCodeAt(l+6)),this.v4.add(f.multiply(i)).rotl(31).multiply(A);else f=n(this.memory[l+1]<<8|this.memory[l],this.memory[l+3]<<8|this.memory[l+2],this.memory[l+5]<<8|this.memory[l+4],this.memory[l+7]<<8|this.memory[l+6]),this.v1.add(f.multiply(i)).rotl(31).multiply(A),l+=8,f=n(this.memory[l+1]<<8|this.memory[l],this.memory[l+3]<<8|this.memory[l+2],this.memory[l+5]<<8|this.memory[l+4],this.memory[l+7]<<8|this.memory[l+6]),this.v2.add(f.multiply(i)).rotl(31).multiply(A),l+=8,f=n(this.memory[l+1]<<8|this.memory[l],this.memory[l+3]<<8|this.memory[l+2],this.memory[l+5]<<8|this.memory[l+4],this.memory[l+7]<<8|this.memory[l+6]),this.v3.add(f.multiply(i)).rotl(31).multiply(A),l+=8,f=n(this.memory[l+1]<<8|this.memory[l],this.memory[l+3]<<8|this.memory[l+2],this.memory[l+5]<<8|this.memory[l+4],this.memory[l+7]<<8|this.memory[l+6]),this.v4.add(f.multiply(i)).rotl(31).multiply(A);a+=32-this.memsize,this.memsize=0,o&&(this.memory="")}if(a<=u-32){var c=u-32;do{var f;if(o)f=n(e.charCodeAt(a+1)<<8|e.charCodeAt(a),e.charCodeAt(a+3)<<8|e.charCodeAt(a+2),e.charCodeAt(a+5)<<8|e.charCodeAt(a+4),e.charCodeAt(a+7)<<8|e.charCodeAt(a+6)),this.v1.add(f.multiply(i)).rotl(31).multiply(A),a+=8,f=n(e.charCodeAt(a+1)<<8|e.charCodeAt(a),e.charCodeAt(a+3)<<8|e.charCodeAt(a+2),e.charCodeAt(a+5)<<8|e.charCodeAt(a+4),e.charCodeAt(a+7)<<8|e.charCodeAt(a+6)),this.v2.add(f.multiply(i)).rotl(31).multiply(A),a+=8,f=n(e.charCodeAt(a+1)<<8|e.charCodeAt(a),e.charCodeAt(a+3)<<8|e.charCodeAt(a+2),e.charCodeAt(a+5)<<8|e.charCodeAt(a+4),e.charCodeAt(a+7)<<8|e.charCodeAt(a+6)),this.v3.add(f.multiply(i)).rotl(31).multiply(A),a+=8,f=n(e.charCodeAt(a+1)<<8|e.charCodeAt(a),e.charCodeAt(a+3)<<8|e.charCodeAt(a+2),e.charCodeAt(a+5)<<8|e.charCodeAt(a+4),e.charCodeAt(a+7)<<8|e.charCodeAt(a+6)),this.v4.add(f.multiply(i)).rotl(31).multiply(A);else f=n(e[a+1]<<8|e[a],e[a+3]<<8|e[a+2],e[a+5]<<8|e[a+4],e[a+7]<<8|e[a+6]),this.v1.add(f.multiply(i)).rotl(31).multiply(A),f=n(e[(a+=8)+1]<<8|e[a],e[a+3]<<8|e[a+2],e[a+5]<<8|e[a+4],e[a+7]<<8|e[a+6]),this.v2.add(f.multiply(i)).rotl(31).multiply(A),f=n(e[(a+=8)+1]<<8|e[a],e[a+3]<<8|e[a+2],e[a+5]<<8|e[a+4],e[a+7]<<8|e[a+6]),this.v3.add(f.multiply(i)).rotl(31).multiply(A),f=n(e[(a+=8)+1]<<8|e[a],e[a+3]<<8|e[a+2],e[a+5]<<8|e[a+4],e[a+7]<<8|e[a+6]),this.v4.add(f.multiply(i)).rotl(31).multiply(A);a+=8}while(a<=c)}return a<u&&(o?this.memory+=e.slice(a):r?this.memory.set(e.subarray(a,u),this.memsize):e.copy(this.memory,this.memsize,a,u),this.memsize=u-a),this},u.prototype.digest=function(){var e,t,r=this.memory,u="string"==typeof r,l=0,c=this.memsize,f=new n;for(this.total_len>=32?((e=this.v1.clone().rotl(1)).add(this.v2.clone().rotl(7)),e.add(this.v3.clone().rotl(12)),e.add(this.v4.clone().rotl(18)),e.xor(this.v1.multiply(i).rotl(31).multiply(A)),e.multiply(A).add(a),e.xor(this.v2.multiply(i).rotl(31).multiply(A)),e.multiply(A).add(a),e.xor(this.v3.multiply(i).rotl(31).multiply(A)),e.multiply(A).add(a),e.xor(this.v4.multiply(i).rotl(31).multiply(A)),e.multiply(A).add(a)):e=this.seed.clone().add(s),e.add(f.fromNumber(this.total_len));l<=c-8;)u?f.fromBits(r.charCodeAt(l+1)<<8|r.charCodeAt(l),r.charCodeAt(l+3)<<8|r.charCodeAt(l+2),r.charCodeAt(l+5)<<8|r.charCodeAt(l+4),r.charCodeAt(l+7)<<8|r.charCodeAt(l+6)):f.fromBits(r[l+1]<<8|r[l],r[l+3]<<8|r[l+2],r[l+5]<<8|r[l+4],r[l+7]<<8|r[l+6]),f.multiply(i).rotl(31).multiply(A),e.xor(f).rotl(27).multiply(A).add(a),l+=8;for(l+4<=c&&(u?f.fromBits(r.charCodeAt(l+1)<<8|r.charCodeAt(l),r.charCodeAt(l+3)<<8|r.charCodeAt(l+2),0,0):f.fromBits(r[l+1]<<8|r[l],r[l+3]<<8|r[l+2],0,0),e.xor(f.multiply(A)).rotl(23).multiply(i).add(o),l+=4);l<c;)f.fromBits(u?r.charCodeAt(l++):r[l++],0,0,0),e.xor(f.multiply(s)).rotl(11).multiply(A);return t=e.clone().shiftRight(33),e.xor(t).multiply(i),t=e.clone().shiftRight(29),e.xor(t).multiply(o),t=e.clone().shiftRight(32),e.xor(t),this.init(this.seed),e},e.exports=u}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.default.prefix;const r=(0,i.u8aToU8a)(e);(0,i.assert)(o.default.allowedDecodedLengths.includes(r.length),"Expected a valid key to convert, with length ".concat(o.default.allowedDecodedLengths));const n=32===r.length,s=(0,i.u8aConcat)(new Uint8Array([t]),r),u=(0,a.default)(s);return A.default.encode((0,i.u8aToBuffer)((0,i.u8aConcat)(s,u.subarray(0,n?2:1))))};var A=n(r(151)),i=r(14),o=n(r(328)),a=n(r(845))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){A.default.prefix=e};var A=n(r(328))},function(e,t,r){e.exports=r(1384)},function(e,t,r){"use strict";(function(e){var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(59)),i=n(r(4)),o=n(r(18)),a=n(r(325)),s=n(r(277)),u=n(r(460)),l=r(72),c=r(461),f=function(){function t(){(0,i.default)(this,t)}return(0,o.default)(t,null,[{key:"encrypt",value:function(t,r){var n=(0,a.default)(t)?(0,s.default)(t):t,i=l.randomBytes(32),o=l.pbkdf2Sync(r,i,10240,32,"sha256"),u=o.slice(0,16),f=o.slice(16),d=l.randomBytes(16),g=l.createCipheriv("aes-128-ctr",u,d),h=e.from(n,"hex"),p=g.update(h),I=e.concat([f,p]),B={iv:d,mac:e.from(c.blake2b(I,null,32)),salt:i,ciphertext:p,iterations:10240};return Object.entries(B).reduce(function(t,r){var n=(0,A.default)(r,2),i=n[0],o=n[1];return t[i]=o instanceof e?o.toJSON().data:o,t},{})}},{key:"decrypt",value:function(t,r){var n=Object.entries(t).reduce(function(t,r){var n=(0,A.default)(r,2),i=n[0],o=n[1];return o.length?t[i]=e.from(o):t[i]=o,t},{}),i=l.pbkdf2Sync(r,n.salt,10240,32,"sha256"),o=i.slice(0,16),a=i.slice(16),s=e.concat([a,n.ciphertext]);if(!e.from(c.blake2b(s,null,32)).equals(n.mac))throw new Error("invalid password");var f=l.createDecipheriv("aes-128-ctr",o,n.iv).update(n.ciphertext);return(0,u.default)(f.toString("hex"))}}]),t}();t.default=f}).call(this,r(8).Buffer)},function(e,t){e.exports=function(e,t){var r=[],n=!0,A=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){A=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(A)throw i}}return r}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t,r){if(!t)return new Uint8Array(0);if(e.isBuffer(t))return(0,n.bufferToU8a)(t);if("string"==typeof t){var A=!1;return r&&"hex"===r?A=!0:r&&~["utf8","utf-8"].indexOf("utf8")?A=!1:(0,n.isHex)(t)&&(A=!0),A?(0,n.hexToU8a)(t):(0,n.stringToU8a)(t)}if(Array.isArray(t))return Uint8Array.from(t);return t};var n=r(14)}).call(this,r(8).Buffer)},function(e,t,r){!function(e){"use strict";var t=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t<e.length;t++)r[t]=e[t];return r},n=function(){throw new Error("no PRNG")},A=new Uint8Array(16),i=new Uint8Array(32);i[0]=9;var o=t(),a=t([1]),s=t([56129,1]),u=t([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),l=t([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),c=t([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),f=t([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),d=t([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function g(e,t,r,n){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function h(e,t,r,n,A){var i,o=0;for(i=0;i<A;i++)o|=e[t+i]^r[n+i];return(1&o-1>>>8)-1}function p(e,t,r,n){return h(e,t,r,n,16)}function I(e,t,r,n){return h(e,t,r,n,32)}function B(e,t,r,n){!function(e,t,r,n){for(var A,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,s=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,g=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,h=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,p=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,I=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,B=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,C=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,m=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,y=i,Q=o,w=a,E=s,b=u,v=l,D=c,M=f,k=d,_=g,S=h,N=p,F=I,x=B,G=C,H=m,U=0;U<20;U+=2)y^=(A=(F^=(A=(k^=(A=(b^=(A=y+F|0)<<7|A>>>25)+y|0)<<9|A>>>23)+b|0)<<13|A>>>19)+k|0)<<18|A>>>14,v^=(A=(Q^=(A=(x^=(A=(_^=(A=v+Q|0)<<7|A>>>25)+v|0)<<9|A>>>23)+_|0)<<13|A>>>19)+x|0)<<18|A>>>14,S^=(A=(D^=(A=(w^=(A=(G^=(A=S+D|0)<<7|A>>>25)+S|0)<<9|A>>>23)+G|0)<<13|A>>>19)+w|0)<<18|A>>>14,H^=(A=(N^=(A=(M^=(A=(E^=(A=H+N|0)<<7|A>>>25)+H|0)<<9|A>>>23)+E|0)<<13|A>>>19)+M|0)<<18|A>>>14,y^=(A=(E^=(A=(w^=(A=(Q^=(A=y+E|0)<<7|A>>>25)+y|0)<<9|A>>>23)+Q|0)<<13|A>>>19)+w|0)<<18|A>>>14,v^=(A=(b^=(A=(M^=(A=(D^=(A=v+b|0)<<7|A>>>25)+v|0)<<9|A>>>23)+D|0)<<13|A>>>19)+M|0)<<18|A>>>14,S^=(A=(_^=(A=(k^=(A=(N^=(A=S+_|0)<<7|A>>>25)+S|0)<<9|A>>>23)+N|0)<<13|A>>>19)+k|0)<<18|A>>>14,H^=(A=(G^=(A=(x^=(A=(F^=(A=H+G|0)<<7|A>>>25)+H|0)<<9|A>>>23)+F|0)<<13|A>>>19)+x|0)<<18|A>>>14;y=y+i|0,Q=Q+o|0,w=w+a|0,E=E+s|0,b=b+u|0,v=v+l|0,D=D+c|0,M=M+f|0,k=k+d|0,_=_+g|0,S=S+h|0,N=N+p|0,F=F+I|0,x=x+B|0,G=G+C|0,H=H+m|0,e[0]=y>>>0&255,e[1]=y>>>8&255,e[2]=y>>>16&255,e[3]=y>>>24&255,e[4]=Q>>>0&255,e[5]=Q>>>8&255,e[6]=Q>>>16&255,e[7]=Q>>>24&255,e[8]=w>>>0&255,e[9]=w>>>8&255,e[10]=w>>>16&255,e[11]=w>>>24&255,e[12]=E>>>0&255,e[13]=E>>>8&255,e[14]=E>>>16&255,e[15]=E>>>24&255,e[16]=b>>>0&255,e[17]=b>>>8&255,e[18]=b>>>16&255,e[19]=b>>>24&255,e[20]=v>>>0&255,e[21]=v>>>8&255,e[22]=v>>>16&255,e[23]=v>>>24&255,e[24]=D>>>0&255,e[25]=D>>>8&255,e[26]=D>>>16&255,e[27]=D>>>24&255,e[28]=M>>>0&255,e[29]=M>>>8&255,e[30]=M>>>16&255,e[31]=M>>>24&255,e[32]=k>>>0&255,e[33]=k>>>8&255,e[34]=k>>>16&255,e[35]=k>>>24&255,e[36]=_>>>0&255,e[37]=_>>>8&255,e[38]=_>>>16&255,e[39]=_>>>24&255,e[40]=S>>>0&255,e[41]=S>>>8&255,e[42]=S>>>16&255,e[43]=S>>>24&255,e[44]=N>>>0&255,e[45]=N>>>8&255,e[46]=N>>>16&255,e[47]=N>>>24&255,e[48]=F>>>0&255,e[49]=F>>>8&255,e[50]=F>>>16&255,e[51]=F>>>24&255,e[52]=x>>>0&255,e[53]=x>>>8&255,e[54]=x>>>16&255,e[55]=x>>>24&255,e[56]=G>>>0&255,e[57]=G>>>8&255,e[58]=G>>>16&255,e[59]=G>>>24&255,e[60]=H>>>0&255,e[61]=H>>>8&255,e[62]=H>>>16&255,e[63]=H>>>24&255}(e,t,r,n)}function C(e,t,r,n){!function(e,t,r,n){for(var A,i=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,s=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,g=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,h=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,p=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,I=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,B=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,C=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,m=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,y=0;y<20;y+=2)i^=(A=(I^=(A=(d^=(A=(u^=(A=i+I|0)<<7|A>>>25)+i|0)<<9|A>>>23)+u|0)<<13|A>>>19)+d|0)<<18|A>>>14,l^=(A=(o^=(A=(B^=(A=(g^=(A=l+o|0)<<7|A>>>25)+l|0)<<9|A>>>23)+g|0)<<13|A>>>19)+B|0)<<18|A>>>14,h^=(A=(c^=(A=(a^=(A=(C^=(A=h+c|0)<<7|A>>>25)+h|0)<<9|A>>>23)+C|0)<<13|A>>>19)+a|0)<<18|A>>>14,m^=(A=(p^=(A=(f^=(A=(s^=(A=m+p|0)<<7|A>>>25)+m|0)<<9|A>>>23)+s|0)<<13|A>>>19)+f|0)<<18|A>>>14,i^=(A=(s^=(A=(a^=(A=(o^=(A=i+s|0)<<7|A>>>25)+i|0)<<9|A>>>23)+o|0)<<13|A>>>19)+a|0)<<18|A>>>14,l^=(A=(u^=(A=(f^=(A=(c^=(A=l+u|0)<<7|A>>>25)+l|0)<<9|A>>>23)+c|0)<<13|A>>>19)+f|0)<<18|A>>>14,h^=(A=(g^=(A=(d^=(A=(p^=(A=h+g|0)<<7|A>>>25)+h|0)<<9|A>>>23)+p|0)<<13|A>>>19)+d|0)<<18|A>>>14,m^=(A=(C^=(A=(B^=(A=(I^=(A=m+C|0)<<7|A>>>25)+m|0)<<9|A>>>23)+I|0)<<13|A>>>19)+B|0)<<18|A>>>14;e[0]=i>>>0&255,e[1]=i>>>8&255,e[2]=i>>>16&255,e[3]=i>>>24&255,e[4]=l>>>0&255,e[5]=l>>>8&255,e[6]=l>>>16&255,e[7]=l>>>24&255,e[8]=h>>>0&255,e[9]=h>>>8&255,e[10]=h>>>16&255,e[11]=h>>>24&255,e[12]=m>>>0&255,e[13]=m>>>8&255,e[14]=m>>>16&255,e[15]=m>>>24&255,e[16]=c>>>0&255,e[17]=c>>>8&255,e[18]=c>>>16&255,e[19]=c>>>24&255,e[20]=f>>>0&255,e[21]=f>>>8&255,e[22]=f>>>16&255,e[23]=f>>>24&255,e[24]=d>>>0&255,e[25]=d>>>8&255,e[26]=d>>>16&255,e[27]=d>>>24&255,e[28]=g>>>0&255,e[29]=g>>>8&255,e[30]=g>>>16&255,e[31]=g>>>24&255}(e,t,r,n)}var m=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function y(e,t,r,n,A,i,o){var a,s,u=new Uint8Array(16),l=new Uint8Array(64);for(s=0;s<16;s++)u[s]=0;for(s=0;s<8;s++)u[s]=i[s];for(;A>=64;){for(B(l,u,o,m),s=0;s<64;s++)e[t+s]=r[n+s]^l[s];for(a=1,s=8;s<16;s++)a=a+(255&u[s])|0,u[s]=255&a,a>>>=8;A-=64,t+=64,n+=64}if(A>0)for(B(l,u,o,m),s=0;s<A;s++)e[t+s]=r[n+s]^l[s];return 0}function Q(e,t,r,n,A){var i,o,a=new Uint8Array(16),s=new Uint8Array(64);for(o=0;o<16;o++)a[o]=0;for(o=0;o<8;o++)a[o]=n[o];for(;r>=64;){for(B(s,a,A,m),o=0;o<64;o++)e[t+o]=s[o];for(i=1,o=8;o<16;o++)i=i+(255&a[o])|0,a[o]=255&i,i>>>=8;r-=64,t+=64}if(r>0)for(B(s,a,A,m),o=0;o<r;o++)e[t+o]=s[o];return 0}function w(e,t,r,n,A){var i=new Uint8Array(32);C(i,n,A,m);for(var o=new Uint8Array(8),a=0;a<8;a++)o[a]=n[a+16];return Q(e,t,r,o,i)}function E(e,t,r,n,A,i,o){var a=new Uint8Array(32);C(a,i,o,m);for(var s=new Uint8Array(8),u=0;u<8;u++)s[u]=i[u+16];return y(e,t,r,n,A,s,a)}var b=function(e){var t,r,n,A,i,o,a,s;this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0,t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,r=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|r<<3),n=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(r>>>10|n<<6),A=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(n>>>7|A<<9),i=255&e[8]|(255&e[9])<<8,this.r[4]=255&(A>>>4|i<<12),this.r[5]=i>>>1&8190,o=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(i>>>14|o<<2),a=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(o>>>11|a<<5),s=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(a>>>8|s<<8),this.r[9]=s>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function v(e,t,r,n,A,i){var o=new b(i);return o.update(r,n,A),o.finish(e,t),0}function D(e,t,r,n,A,i){var o=new Uint8Array(16);return v(o,0,r,n,A,i),p(e,t,o,0)}function M(e,t,r,n,A){var i;if(r<32)return-1;for(E(e,0,t,0,r,n,A),v(e,16,e,32,r-32,e),i=0;i<16;i++)e[i]=0;return 0}function k(e,t,r,n,A){var i,o=new Uint8Array(32);if(r<32)return-1;if(w(o,0,32,n,A),0!==D(t,16,t,32,r-32,o))return-1;for(E(e,0,t,0,r,n,A),i=0;i<32;i++)e[i]=0;return 0}function _(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function S(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function N(e,t,r){for(var n,A=~(r-1),i=0;i<16;i++)n=A&(e[i]^t[i]),e[i]^=n,t[i]^=n}function F(e,r){var n,A,i,o=t(),a=t();for(n=0;n<16;n++)a[n]=r[n];for(S(a),S(a),S(a),A=0;A<2;A++){for(o[0]=a[0]-65517,n=1;n<15;n++)o[n]=a[n]-65535-(o[n-1]>>16&1),o[n-1]&=65535;o[15]=a[15]-32767-(o[14]>>16&1),i=o[15]>>16&1,o[14]&=65535,N(a,o,1-i)}for(n=0;n<16;n++)e[2*n]=255&a[n],e[2*n+1]=a[n]>>8}function x(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return F(r,e),F(n,t),I(r,0,n,0)}function G(e){var t=new Uint8Array(32);return F(t,e),1&t[0]}function H(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function U(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function Y(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function L(e,t,r){var n,A,i=0,o=0,a=0,s=0,u=0,l=0,c=0,f=0,d=0,g=0,h=0,p=0,I=0,B=0,C=0,m=0,y=0,Q=0,w=0,E=0,b=0,v=0,D=0,M=0,k=0,_=0,S=0,N=0,F=0,x=0,G=0,H=r[0],U=r[1],Y=r[2],L=r[3],O=r[4],K=r[5],P=r[6],R=r[7],T=r[8],J=r[9],j=r[10],q=r[11],V=r[12],W=r[13],z=r[14],Z=r[15];i+=(n=t[0])*H,o+=n*U,a+=n*Y,s+=n*L,u+=n*O,l+=n*K,c+=n*P,f+=n*R,d+=n*T,g+=n*J,h+=n*j,p+=n*q,I+=n*V,B+=n*W,C+=n*z,m+=n*Z,o+=(n=t[1])*H,a+=n*U,s+=n*Y,u+=n*L,l+=n*O,c+=n*K,f+=n*P,d+=n*R,g+=n*T,h+=n*J,p+=n*j,I+=n*q,B+=n*V,C+=n*W,m+=n*z,y+=n*Z,a+=(n=t[2])*H,s+=n*U,u+=n*Y,l+=n*L,c+=n*O,f+=n*K,d+=n*P,g+=n*R,h+=n*T,p+=n*J,I+=n*j,B+=n*q,C+=n*V,m+=n*W,y+=n*z,Q+=n*Z,s+=(n=t[3])*H,u+=n*U,l+=n*Y,c+=n*L,f+=n*O,d+=n*K,g+=n*P,h+=n*R,p+=n*T,I+=n*J,B+=n*j,C+=n*q,m+=n*V,y+=n*W,Q+=n*z,w+=n*Z,u+=(n=t[4])*H,l+=n*U,c+=n*Y,f+=n*L,d+=n*O,g+=n*K,h+=n*P,p+=n*R,I+=n*T,B+=n*J,C+=n*j,m+=n*q,y+=n*V,Q+=n*W,w+=n*z,E+=n*Z,l+=(n=t[5])*H,c+=n*U,f+=n*Y,d+=n*L,g+=n*O,h+=n*K,p+=n*P,I+=n*R,B+=n*T,C+=n*J,m+=n*j,y+=n*q,Q+=n*V,w+=n*W,E+=n*z,b+=n*Z,c+=(n=t[6])*H,f+=n*U,d+=n*Y,g+=n*L,h+=n*O,p+=n*K,I+=n*P,B+=n*R,C+=n*T,m+=n*J,y+=n*j,Q+=n*q,w+=n*V,E+=n*W,b+=n*z,v+=n*Z,f+=(n=t[7])*H,d+=n*U,g+=n*Y,h+=n*L,p+=n*O,I+=n*K,B+=n*P,C+=n*R,m+=n*T,y+=n*J,Q+=n*j,w+=n*q,E+=n*V,b+=n*W,v+=n*z,D+=n*Z,d+=(n=t[8])*H,g+=n*U,h+=n*Y,p+=n*L,I+=n*O,B+=n*K,C+=n*P,m+=n*R,y+=n*T,Q+=n*J,w+=n*j,E+=n*q,b+=n*V,v+=n*W,D+=n*z,M+=n*Z,g+=(n=t[9])*H,h+=n*U,p+=n*Y,I+=n*L,B+=n*O,C+=n*K,m+=n*P,y+=n*R,Q+=n*T,w+=n*J,E+=n*j,b+=n*q,v+=n*V,D+=n*W,M+=n*z,k+=n*Z,h+=(n=t[10])*H,p+=n*U,I+=n*Y,B+=n*L,C+=n*O,m+=n*K,y+=n*P,Q+=n*R,w+=n*T,E+=n*J,b+=n*j,v+=n*q,D+=n*V,M+=n*W,k+=n*z,_+=n*Z,p+=(n=t[11])*H,I+=n*U,B+=n*Y,C+=n*L,m+=n*O,y+=n*K,Q+=n*P,w+=n*R,E+=n*T,b+=n*J,v+=n*j,D+=n*q,M+=n*V,k+=n*W,_+=n*z,S+=n*Z,I+=(n=t[12])*H,B+=n*U,C+=n*Y,m+=n*L,y+=n*O,Q+=n*K,w+=n*P,E+=n*R,b+=n*T,v+=n*J,D+=n*j,M+=n*q,k+=n*V,_+=n*W,S+=n*z,N+=n*Z,B+=(n=t[13])*H,C+=n*U,m+=n*Y,y+=n*L,Q+=n*O,w+=n*K,E+=n*P,b+=n*R,v+=n*T,D+=n*J,M+=n*j,k+=n*q,_+=n*V,S+=n*W,N+=n*z,F+=n*Z,C+=(n=t[14])*H,m+=n*U,y+=n*Y,Q+=n*L,w+=n*O,E+=n*K,b+=n*P,v+=n*R,D+=n*T,M+=n*J,k+=n*j,_+=n*q,S+=n*V,N+=n*W,F+=n*z,x+=n*Z,m+=(n=t[15])*H,o+=38*(Q+=n*Y),a+=38*(w+=n*L),s+=38*(E+=n*O),u+=38*(b+=n*K),l+=38*(v+=n*P),c+=38*(D+=n*R),f+=38*(M+=n*T),d+=38*(k+=n*J),g+=38*(_+=n*j),h+=38*(S+=n*q),p+=38*(N+=n*V),I+=38*(F+=n*W),B+=38*(x+=n*z),C+=38*(G+=n*Z),i=(n=(i+=38*(y+=n*U))+(A=1)+65535)-65536*(A=Math.floor(n/65536)),o=(n=o+A+65535)-65536*(A=Math.floor(n/65536)),a=(n=a+A+65535)-65536*(A=Math.floor(n/65536)),s=(n=s+A+65535)-65536*(A=Math.floor(n/65536)),u=(n=u+A+65535)-65536*(A=Math.floor(n/65536)),l=(n=l+A+65535)-65536*(A=Math.floor(n/65536)),c=(n=c+A+65535)-65536*(A=Math.floor(n/65536)),f=(n=f+A+65535)-65536*(A=Math.floor(n/65536)),d=(n=d+A+65535)-65536*(A=Math.floor(n/65536)),g=(n=g+A+65535)-65536*(A=Math.floor(n/65536)),h=(n=h+A+65535)-65536*(A=Math.floor(n/65536)),p=(n=p+A+65535)-65536*(A=Math.floor(n/65536)),I=(n=I+A+65535)-65536*(A=Math.floor(n/65536)),B=(n=B+A+65535)-65536*(A=Math.floor(n/65536)),C=(n=C+A+65535)-65536*(A=Math.floor(n/65536)),m=(n=m+A+65535)-65536*(A=Math.floor(n/65536)),i=(n=(i+=A-1+37*(A-1))+(A=1)+65535)-65536*(A=Math.floor(n/65536)),o=(n=o+A+65535)-65536*(A=Math.floor(n/65536)),a=(n=a+A+65535)-65536*(A=Math.floor(n/65536)),s=(n=s+A+65535)-65536*(A=Math.floor(n/65536)),u=(n=u+A+65535)-65536*(A=Math.floor(n/65536)),l=(n=l+A+65535)-65536*(A=Math.floor(n/65536)),c=(n=c+A+65535)-65536*(A=Math.floor(n/65536)),f=(n=f+A+65535)-65536*(A=Math.floor(n/65536)),d=(n=d+A+65535)-65536*(A=Math.floor(n/65536)),g=(n=g+A+65535)-65536*(A=Math.floor(n/65536)),h=(n=h+A+65535)-65536*(A=Math.floor(n/65536)),p=(n=p+A+65535)-65536*(A=Math.floor(n/65536)),I=(n=I+A+65535)-65536*(A=Math.floor(n/65536)),B=(n=B+A+65535)-65536*(A=Math.floor(n/65536)),C=(n=C+A+65535)-65536*(A=Math.floor(n/65536)),m=(n=m+A+65535)-65536*(A=Math.floor(n/65536)),i+=A-1+37*(A-1),e[0]=i,e[1]=o,e[2]=a,e[3]=s,e[4]=u,e[5]=l,e[6]=c,e[7]=f,e[8]=d,e[9]=g,e[10]=h,e[11]=p,e[12]=I,e[13]=B,e[14]=C,e[15]=m}function O(e,t){L(e,t,t)}function K(e,r){var n,A=t();for(n=0;n<16;n++)A[n]=r[n];for(n=253;n>=0;n--)O(A,A),2!==n&&4!==n&&L(A,A,r);for(n=0;n<16;n++)e[n]=A[n]}function P(e,r,n){var A,i,o=new Uint8Array(32),a=new Float64Array(80),u=t(),l=t(),c=t(),f=t(),d=t(),g=t();for(i=0;i<31;i++)o[i]=r[i];for(o[31]=127&r[31]|64,o[0]&=248,H(a,n),i=0;i<16;i++)l[i]=a[i],f[i]=u[i]=c[i]=0;for(u[0]=f[0]=1,i=254;i>=0;--i)N(u,l,A=o[i>>>3]>>>(7&i)&1),N(c,f,A),U(d,u,c),Y(u,u,c),U(c,l,f),Y(l,l,f),O(f,d),O(g,u),L(u,c,u),L(c,l,d),U(d,u,c),Y(u,u,c),O(l,u),Y(c,f,g),L(u,c,s),U(u,u,f),L(c,c,u),L(u,f,g),L(f,l,a),O(l,d),N(u,l,A),N(c,f,A);for(i=0;i<16;i++)a[i+16]=u[i],a[i+32]=c[i],a[i+48]=l[i],a[i+64]=f[i];var h=a.subarray(32),p=a.subarray(16);return K(h,h),L(p,p,h),F(e,p),0}function R(e,t){return P(e,t,i)}function T(e,t){return n(t,32),R(e,t)}function J(e,t,r){var n=new Uint8Array(32);return P(n,r,t),C(e,A,n,m)}b.prototype.blocks=function(e,t,r){for(var n,A,i,o,a,s,u,l,c,f,d,g,h,p,I,B,C,m,y,Q=this.fin?0:2048,w=this.h[0],E=this.h[1],b=this.h[2],v=this.h[3],D=this.h[4],M=this.h[5],k=this.h[6],_=this.h[7],S=this.h[8],N=this.h[9],F=this.r[0],x=this.r[1],G=this.r[2],H=this.r[3],U=this.r[4],Y=this.r[5],L=this.r[6],O=this.r[7],K=this.r[8],P=this.r[9];r>=16;)f=c=0,f+=(w+=8191&(n=255&e[t+0]|(255&e[t+1])<<8))*F,f+=(E+=8191&(n>>>13|(A=255&e[t+2]|(255&e[t+3])<<8)<<3))*(5*P),f+=(b+=8191&(A>>>10|(i=255&e[t+4]|(255&e[t+5])<<8)<<6))*(5*K),f+=(v+=8191&(i>>>7|(o=255&e[t+6]|(255&e[t+7])<<8)<<9))*(5*O),c=(f+=(D+=8191&(o>>>4|(a=255&e[t+8]|(255&e[t+9])<<8)<<12))*(5*L))>>>13,f&=8191,f+=(M+=a>>>1&8191)*(5*Y),f+=(k+=8191&(a>>>14|(s=255&e[t+10]|(255&e[t+11])<<8)<<2))*(5*U),f+=(_+=8191&(s>>>11|(u=255&e[t+12]|(255&e[t+13])<<8)<<5))*(5*H),f+=(S+=8191&(u>>>8|(l=255&e[t+14]|(255&e[t+15])<<8)<<8))*(5*G),d=c+=(f+=(N+=l>>>5|Q)*(5*x))>>>13,d+=w*x,d+=E*F,d+=b*(5*P),d+=v*(5*K),c=(d+=D*(5*O))>>>13,d&=8191,d+=M*(5*L),d+=k*(5*Y),d+=_*(5*U),d+=S*(5*H),c+=(d+=N*(5*G))>>>13,d&=8191,g=c,g+=w*G,g+=E*x,g+=b*F,g+=v*(5*P),c=(g+=D*(5*K))>>>13,g&=8191,g+=M*(5*O),g+=k*(5*L),g+=_*(5*Y),g+=S*(5*U),h=c+=(g+=N*(5*H))>>>13,h+=w*H,h+=E*G,h+=b*x,h+=v*F,c=(h+=D*(5*P))>>>13,h&=8191,h+=M*(5*K),h+=k*(5*O),h+=_*(5*L),h+=S*(5*Y),p=c+=(h+=N*(5*U))>>>13,p+=w*U,p+=E*H,p+=b*G,p+=v*x,c=(p+=D*F)>>>13,p&=8191,p+=M*(5*P),p+=k*(5*K),p+=_*(5*O),p+=S*(5*L),I=c+=(p+=N*(5*Y))>>>13,I+=w*Y,I+=E*U,I+=b*H,I+=v*G,c=(I+=D*x)>>>13,I&=8191,I+=M*F,I+=k*(5*P),I+=_*(5*K),I+=S*(5*O),B=c+=(I+=N*(5*L))>>>13,B+=w*L,B+=E*Y,B+=b*U,B+=v*H,c=(B+=D*G)>>>13,B&=8191,B+=M*x,B+=k*F,B+=_*(5*P),B+=S*(5*K),C=c+=(B+=N*(5*O))>>>13,C+=w*O,C+=E*L,C+=b*Y,C+=v*U,c=(C+=D*H)>>>13,C&=8191,C+=M*G,C+=k*x,C+=_*F,C+=S*(5*P),m=c+=(C+=N*(5*K))>>>13,m+=w*K,m+=E*O,m+=b*L,m+=v*Y,c=(m+=D*U)>>>13,m&=8191,m+=M*H,m+=k*G,m+=_*x,m+=S*F,y=c+=(m+=N*(5*P))>>>13,y+=w*P,y+=E*K,y+=b*O,y+=v*L,c=(y+=D*Y)>>>13,y&=8191,y+=M*U,y+=k*H,y+=_*G,y+=S*x,w=f=8191&(c=(c=((c+=(y+=N*F)>>>13)<<2)+c|0)+(f&=8191)|0),E=d+=c>>>=13,b=g&=8191,v=h&=8191,D=p&=8191,M=I&=8191,k=B&=8191,_=C&=8191,S=m&=8191,N=y&=8191,t+=16,r-=16;this.h[0]=w,this.h[1]=E,this.h[2]=b,this.h[3]=v,this.h[4]=D,this.h[5]=M,this.h[6]=k,this.h[7]=_,this.h[8]=S,this.h[9]=N},b.prototype.finish=function(e,t){var r,n,A,i,o=new Uint16Array(10);if(this.leftover){for(i=this.leftover,this.buffer[i++]=1;i<16;i++)this.buffer[i]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(r=this.h[1]>>>13,this.h[1]&=8191,i=2;i<10;i++)this.h[i]+=r,r=this.h[i]>>>13,this.h[i]&=8191;for(this.h[0]+=5*r,r=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=r,r=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=r,o[0]=this.h[0]+5,r=o[0]>>>13,o[0]&=8191,i=1;i<10;i++)o[i]=this.h[i]+r,r=o[i]>>>13,o[i]&=8191;for(o[9]-=8192,n=(1^r)-1,i=0;i<10;i++)o[i]&=n;for(n=~n,i=0;i<10;i++)this.h[i]=this.h[i]&n|o[i];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),A=this.h[0]+this.pad[0],this.h[0]=65535&A,i=1;i<8;i++)A=(this.h[i]+this.pad[i]|0)+(A>>>16)|0,this.h[i]=65535&A;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},b.prototype.update=function(e,t,r){var n,A;if(this.leftover){for((A=16-this.leftover)>r&&(A=r),n=0;n<A;n++)this.buffer[this.leftover+n]=e[t+n];if(r-=A,t+=A,this.leftover+=A,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(r>=16&&(A=r-r%16,this.blocks(e,t,A),t+=A,r-=A),r){for(n=0;n<r;n++)this.buffer[this.leftover+n]=e[t+n];this.leftover+=r}};var j=M,q=k;var V=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function W(e,t,r,n){for(var A,i,o,a,s,u,l,c,f,d,g,h,p,I,B,C,m,y,Q,w,E,b,v,D,M,k,_=new Int32Array(16),S=new Int32Array(16),N=e[0],F=e[1],x=e[2],G=e[3],H=e[4],U=e[5],Y=e[6],L=e[7],O=t[0],K=t[1],P=t[2],R=t[3],T=t[4],J=t[5],j=t[6],q=t[7],W=0;n>=128;){for(Q=0;Q<16;Q++)w=8*Q+W,_[Q]=r[w+0]<<24|r[w+1]<<16|r[w+2]<<8|r[w+3],S[Q]=r[w+4]<<24|r[w+5]<<16|r[w+6]<<8|r[w+7];for(Q=0;Q<80;Q++)if(A=N,i=F,o=x,a=G,s=H,u=U,l=Y,L,f=O,d=K,g=P,h=R,p=T,I=J,B=j,q,v=65535&(b=q),D=b>>>16,M=65535&(E=L),k=E>>>16,v+=65535&(b=(T>>>14|H<<18)^(T>>>18|H<<14)^(H>>>9|T<<23)),D+=b>>>16,M+=65535&(E=(H>>>14|T<<18)^(H>>>18|T<<14)^(T>>>9|H<<23)),k+=E>>>16,v+=65535&(b=T&J^~T&j),D+=b>>>16,M+=65535&(E=H&U^~H&Y),k+=E>>>16,E=V[2*Q],v+=65535&(b=V[2*Q+1]),D+=b>>>16,M+=65535&E,k+=E>>>16,E=_[Q%16],D+=(b=S[Q%16])>>>16,M+=65535&E,k+=E>>>16,M+=(D+=(v+=65535&b)>>>16)>>>16,v=65535&(b=y=65535&v|D<<16),D=b>>>16,M=65535&(E=m=65535&M|(k+=M>>>16)<<16),k=E>>>16,v+=65535&(b=(O>>>28|N<<4)^(N>>>2|O<<30)^(N>>>7|O<<25)),D+=b>>>16,M+=65535&(E=(N>>>28|O<<4)^(O>>>2|N<<30)^(O>>>7|N<<25)),k+=E>>>16,D+=(b=O&K^O&P^K&P)>>>16,M+=65535&(E=N&F^N&x^F&x),k+=E>>>16,c=65535&(M+=(D+=(v+=65535&b)>>>16)>>>16)|(k+=M>>>16)<<16,C=65535&v|D<<16,v=65535&(b=h),D=b>>>16,M=65535&(E=a),k=E>>>16,D+=(b=y)>>>16,M+=65535&(E=m),k+=E>>>16,F=A,x=i,G=o,H=a=65535&(M+=(D+=(v+=65535&b)>>>16)>>>16)|(k+=M>>>16)<<16,U=s,Y=u,L=l,N=c,K=f,P=d,R=g,T=h=65535&v|D<<16,J=p,j=I,q=B,O=C,Q%16==15)for(w=0;w<16;w++)E=_[w],v=65535&(b=S[w]),D=b>>>16,M=65535&E,k=E>>>16,E=_[(w+9)%16],v+=65535&(b=S[(w+9)%16]),D+=b>>>16,M+=65535&E,k+=E>>>16,m=_[(w+1)%16],v+=65535&(b=((y=S[(w+1)%16])>>>1|m<<31)^(y>>>8|m<<24)^(y>>>7|m<<25)),D+=b>>>16,M+=65535&(E=(m>>>1|y<<31)^(m>>>8|y<<24)^m>>>7),k+=E>>>16,m=_[(w+14)%16],D+=(b=((y=S[(w+14)%16])>>>19|m<<13)^(m>>>29|y<<3)^(y>>>6|m<<26))>>>16,M+=65535&(E=(m>>>19|y<<13)^(y>>>29|m<<3)^m>>>6),k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,_[w]=65535&M|k<<16,S[w]=65535&v|D<<16;v=65535&(b=O),D=b>>>16,M=65535&(E=N),k=E>>>16,E=e[0],D+=(b=t[0])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[0]=N=65535&M|k<<16,t[0]=O=65535&v|D<<16,v=65535&(b=K),D=b>>>16,M=65535&(E=F),k=E>>>16,E=e[1],D+=(b=t[1])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[1]=F=65535&M|k<<16,t[1]=K=65535&v|D<<16,v=65535&(b=P),D=b>>>16,M=65535&(E=x),k=E>>>16,E=e[2],D+=(b=t[2])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[2]=x=65535&M|k<<16,t[2]=P=65535&v|D<<16,v=65535&(b=R),D=b>>>16,M=65535&(E=G),k=E>>>16,E=e[3],D+=(b=t[3])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[3]=G=65535&M|k<<16,t[3]=R=65535&v|D<<16,v=65535&(b=T),D=b>>>16,M=65535&(E=H),k=E>>>16,E=e[4],D+=(b=t[4])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[4]=H=65535&M|k<<16,t[4]=T=65535&v|D<<16,v=65535&(b=J),D=b>>>16,M=65535&(E=U),k=E>>>16,E=e[5],D+=(b=t[5])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[5]=U=65535&M|k<<16,t[5]=J=65535&v|D<<16,v=65535&(b=j),D=b>>>16,M=65535&(E=Y),k=E>>>16,E=e[6],D+=(b=t[6])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[6]=Y=65535&M|k<<16,t[6]=j=65535&v|D<<16,v=65535&(b=q),D=b>>>16,M=65535&(E=L),k=E>>>16,E=e[7],D+=(b=t[7])>>>16,M+=65535&E,k+=E>>>16,k+=(M+=(D+=(v+=65535&b)>>>16)>>>16)>>>16,e[7]=L=65535&M|k<<16,t[7]=q=65535&v|D<<16,W+=128,n-=128}return n}function z(e,t,r){var n,A=new Int32Array(8),i=new Int32Array(8),o=new Uint8Array(256),a=r;for(A[0]=1779033703,A[1]=3144134277,A[2]=1013904242,A[3]=2773480762,A[4]=1359893119,A[5]=2600822924,A[6]=528734635,A[7]=1541459225,i[0]=4089235720,i[1]=2227873595,i[2]=4271175723,i[3]=1595750129,i[4]=2917565137,i[5]=725511199,i[6]=4215389547,i[7]=327033209,W(A,i,t,r),r%=128,n=0;n<r;n++)o[n]=t[a-r+n];for(o[r]=128,o[(r=256-128*(r<112?1:0))-9]=0,g(o,r-8,a/536870912|0,a<<3),W(A,i,o,r),n=0;n<8;n++)g(e,8*n,A[n],i[n]);return 0}function Z(e,r){var n=t(),A=t(),i=t(),o=t(),a=t(),s=t(),u=t(),c=t(),f=t();Y(n,e[1],e[0]),Y(f,r[1],r[0]),L(n,n,f),U(A,e[0],e[1]),U(f,r[0],r[1]),L(A,A,f),L(i,e[3],r[3]),L(i,i,l),L(o,e[2],r[2]),U(o,o,o),Y(a,A,n),Y(s,o,i),U(u,o,i),U(c,A,n),L(e[0],a,s),L(e[1],c,u),L(e[2],u,s),L(e[3],a,c)}function X(e,t,r){var n;for(n=0;n<4;n++)N(e[n],t[n],r)}function $(e,r){var n=t(),A=t(),i=t();K(i,r[2]),L(n,r[0],i),L(A,r[1],i),F(e,A),e[31]^=G(n)<<7}function ee(e,t,r){var n,A;for(_(e[0],o),_(e[1],a),_(e[2],a),_(e[3],o),A=255;A>=0;--A)X(e,t,n=r[A/8|0]>>(7&A)&1),Z(t,e),Z(e,e),X(e,t,n)}function te(e,r){var n=[t(),t(),t(),t()];_(n[0],c),_(n[1],f),_(n[2],a),L(n[3],c,f),ee(e,n,r)}function re(e,r,A){var i,o=new Uint8Array(64),a=[t(),t(),t(),t()];for(A||n(r,32),z(o,r,32),o[0]&=248,o[31]&=127,o[31]|=64,te(a,o),$(e,a),i=0;i<32;i++)r[i+32]=e[i];return 0}var ne=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function Ae(e,t){var r,n,A,i;for(n=63;n>=32;--n){for(r=0,A=n-32,i=n-12;A<i;++A)t[A]+=r-16*t[n]*ne[A-(n-32)],r=t[A]+128>>8,t[A]-=256*r;t[A]+=r,t[n]=0}for(r=0,A=0;A<32;A++)t[A]+=r-(t[31]>>4)*ne[A],r=t[A]>>8,t[A]&=255;for(A=0;A<32;A++)t[A]-=r*ne[A];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function ie(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;Ae(e,r)}function oe(e,r,n,A){var i,o,a=new Uint8Array(64),s=new Uint8Array(64),u=new Uint8Array(64),l=new Float64Array(64),c=[t(),t(),t(),t()];z(a,A,32),a[0]&=248,a[31]&=127,a[31]|=64;var f=n+64;for(i=0;i<n;i++)e[64+i]=r[i];for(i=0;i<32;i++)e[32+i]=a[32+i];for(z(u,e.subarray(32),n+32),ie(u),te(c,u),$(e,c),i=32;i<64;i++)e[i]=A[i];for(z(s,e,n+64),ie(s),i=0;i<64;i++)l[i]=0;for(i=0;i<32;i++)l[i]=u[i];for(i=0;i<32;i++)for(o=0;o<32;o++)l[i+o]+=s[i]*a[o];return Ae(e.subarray(32),l),f}function ae(e,r){var n=t(),A=t(),i=t(),s=t(),l=t(),c=t(),f=t();return _(e[2],a),H(e[1],r),O(i,e[1]),L(s,i,u),Y(i,i,e[2]),U(s,e[2],s),O(l,s),O(c,l),L(f,c,l),L(n,f,i),L(n,n,s),function(e,r){var n,A=t();for(n=0;n<16;n++)A[n]=r[n];for(n=250;n>=0;n--)O(A,A),1!==n&&L(A,A,r);for(n=0;n<16;n++)e[n]=A[n]}(n,n),L(n,n,i),L(n,n,s),L(n,n,s),L(e[0],n,s),O(A,e[0]),L(A,A,s),x(A,i)&&L(e[0],e[0],d),O(A,e[0]),L(A,A,s),x(A,i)?-1:(G(e[0])===r[31]>>7&&Y(e[0],o,e[0]),L(e[3],e[0],e[1]),0)}function se(e,r,n,A){var i,o=new Uint8Array(32),a=new Uint8Array(64),s=[t(),t(),t(),t()],u=[t(),t(),t(),t()];if(-1,n<64)return-1;if(ae(u,A))return-1;for(i=0;i<n;i++)e[i]=r[i];for(i=0;i<32;i++)e[i+32]=A[i];if(z(a,e,n),ie(a),ee(s,u,a),te(u,r.subarray(32)),Z(s,u),$(o,s),n-=64,I(r,0,o,0)){for(i=0;i<n;i++)e[i]=0;return-1}for(i=0;i<n;i++)e[i]=r[i+64];return n}var ue=32,le=24,ce=32,fe=32,de=le;function ge(e,t){if(e.length!==ue)throw new Error("bad key size");if(t.length!==le)throw new Error("bad nonce size")}function he(){var e,t;for(t=0;t<arguments.length;t++)if("[object Uint8Array]"!==(e=Object.prototype.toString.call(arguments[t])))throw new TypeError("unexpected type "+e+", use Uint8Array")}function pe(e){for(var t=0;t<e.length;t++)e[t]=0}e.lowlevel={crypto_core_hsalsa20:C,crypto_stream_xor:E,crypto_stream:w,crypto_stream_salsa20_xor:y,crypto_stream_salsa20:Q,crypto_onetimeauth:v,crypto_onetimeauth_verify:D,crypto_verify_16:p,crypto_verify_32:I,crypto_secretbox:M,crypto_secretbox_open:k,crypto_scalarmult:P,crypto_scalarmult_base:R,crypto_box_beforenm:J,crypto_box_afternm:j,crypto_box:function(e,t,r,n,A,i){var o=new Uint8Array(32);return J(o,A,i),j(e,t,r,n,o)},crypto_box_open:function(e,t,r,n,A,i){var o=new Uint8Array(32);return J(o,A,i),q(e,t,r,n,o)},crypto_box_keypair:T,crypto_hash:z,crypto_sign:oe,crypto_sign_keypair:re,crypto_sign_open:se,crypto_secretbox_KEYBYTES:ue,crypto_secretbox_NONCEBYTES:le,crypto_secretbox_ZEROBYTES:32,crypto_secretbox_BOXZEROBYTES:16,crypto_scalarmult_BYTES:32,crypto_scalarmult_SCALARBYTES:32,crypto_box_PUBLICKEYBYTES:ce,crypto_box_SECRETKEYBYTES:fe,crypto_box_BEFORENMBYTES:32,crypto_box_NONCEBYTES:de,crypto_box_ZEROBYTES:32,crypto_box_BOXZEROBYTES:16,crypto_sign_BYTES:64,crypto_sign_PUBLICKEYBYTES:32,crypto_sign_SECRETKEYBYTES:64,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64},e.util||(e.util={},e.util.decodeUTF8=e.util.encodeUTF8=e.util.encodeBase64=e.util.decodeBase64=function(){throw new Error("nacl.util moved into separate package: https://github.com/dchest/tweetnacl-util-js")}),e.randomBytes=function(e){var t=new Uint8Array(e);return n(t,e),t},e.secretbox=function(e,t,r){he(e,t,r),ge(r,t);for(var n=new Uint8Array(32+e.length),A=new Uint8Array(n.length),i=0;i<e.length;i++)n[i+32]=e[i];return M(A,n,n.length,t,r),A.subarray(16)},e.secretbox.open=function(e,t,r){he(e,t,r),ge(r,t);for(var n=new Uint8Array(16+e.length),A=new Uint8Array(n.length),i=0;i<e.length;i++)n[i+16]=e[i];return!(n.length<32)&&(0===k(A,n,n.length,t,r)&&A.subarray(32))},e.secretbox.keyLength=ue,e.secretbox.nonceLength=le,e.secretbox.overheadLength=16,e.scalarMult=function(e,t){if(he(e,t),32!==e.length)throw new Error("bad n size");if(32!==t.length)throw new Error("bad p size");var r=new Uint8Array(32);return P(r,e,t),r},e.scalarMult.base=function(e){if(he(e),32!==e.length)throw new Error("bad n size");var t=new Uint8Array(32);return R(t,e),t},e.scalarMult.scalarLength=32,e.scalarMult.groupElementLength=32,e.box=function(t,r,n,A){var i=e.box.before(n,A);return e.secretbox(t,r,i)},e.box.before=function(e,t){he(e,t),function(e,t){if(e.length!==ce)throw new Error("bad public key size");if(t.length!==fe)throw new Error("bad secret key size")}(e,t);var r=new Uint8Array(32);return J(r,e,t),r},e.box.after=e.secretbox,e.box.open=function(t,r,n,A){var i=e.box.before(n,A);return e.secretbox.open(t,r,i)},e.box.open.after=e.secretbox.open,e.box.keyPair=function(){var e=new Uint8Array(ce),t=new Uint8Array(fe);return T(e,t),{publicKey:e,secretKey:t}},e.box.keyPair.fromSecretKey=function(e){if(he(e),e.length!==fe)throw new Error("bad secret key size");var t=new Uint8Array(ce);return R(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},e.box.publicKeyLength=ce,e.box.secretKeyLength=fe,e.box.sharedKeyLength=32,e.box.nonceLength=de,e.box.overheadLength=e.secretbox.overheadLength,e.sign=function(e,t){if(he(e,t),64!==t.length)throw new Error("bad secret key size");var r=new Uint8Array(64+e.length);return oe(r,e,e.length,t),r},e.sign.open=function(e,t){if(2!==arguments.length)throw new Error("nacl.sign.open accepts 2 arguments; did you mean to use nacl.sign.detached.verify?");if(he(e,t),32!==t.length)throw new Error("bad public key size");var r=new Uint8Array(e.length),n=se(r,e,e.length,t);if(n<0)return null;for(var A=new Uint8Array(n),i=0;i<A.length;i++)A[i]=r[i];return A},e.sign.detached=function(t,r){for(var n=e.sign(t,r),A=new Uint8Array(64),i=0;i<A.length;i++)A[i]=n[i];return A},e.sign.detached.verify=function(e,t,r){if(he(e,t,r),64!==t.length)throw new Error("bad signature size");if(32!==r.length)throw new Error("bad public key size");var n,A=new Uint8Array(64+e.length),i=new Uint8Array(64+e.length);for(n=0;n<64;n++)A[n]=t[n];for(n=0;n<e.length;n++)A[n+64]=e[n];return se(i,A,A.length,r)>=0},e.sign.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(64);return re(e,t),{publicKey:e,secretKey:t}},e.sign.keyPair.fromSecretKey=function(e){if(he(e),64!==e.length)throw new Error("bad secret key size");for(var t=new Uint8Array(32),r=0;r<t.length;r++)t[r]=e[32+r];return{publicKey:t,secretKey:new Uint8Array(e)}},e.sign.keyPair.fromSeed=function(e){if(he(e),32!==e.length)throw new Error("bad seed size");for(var t=new Uint8Array(32),r=new Uint8Array(64),n=0;n<32;n++)r[n]=e[n];return re(t,r,!0),{publicKey:t,secretKey:r}},e.sign.publicKeyLength=32,e.sign.secretKeyLength=64,e.sign.seedLength=32,e.sign.signatureLength=64,e.hash=function(e){he(e);var t=new Uint8Array(64);return z(t,e,e.length),t},e.hash.hashLength=64,e.verify=function(e,t){return he(e,t),0!==e.length&&0!==t.length&&(e.length===t.length&&0===h(e,0,t,0,e.length))},e.setPRNG=function(e){n=e},function(){var t="undefined"!=typeof self?self.crypto||self.msCrypto:null;if(t&&t.getRandomValues){e.setPRNG(function(e,r){var n,A=new Uint8Array(r);for(n=0;n<r;n+=65536)t.getRandomValues(A.subarray(n,n+Math.min(r-n,65536)));for(n=0;n<r;n++)e[n]=A[n];pe(A)})}else(t=r(1388))&&t.randomBytes&&e.setPRNG(function(e,r){var n,A=t.randomBytes(r);for(n=0;n<r;n++)e[n]=A[n];pe(A)})}()}(e.exports?e.exports:self.nacl=self.nacl||{})},function(e,t){},function(e,t,r){e.exports=r(1390)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"WsProvider",{enumerable:!0,get:function(){return s.WsProvider}}),Object.defineProperty(t,"HttpProvider",{enumerable:!0,get:function(){return s.HttpProvider}}),Object.defineProperty(t,"Account",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"ApiBase",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"SubmittableExtrinsic",{enumerable:!0,get:function(){return p.default}}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(66)),a=n(r(280)),s=r(850),u=n(r(146)),l=n(r(1400)),c=n(r(1537)),f=n(r(1538)),d=n(r(1539)),g=n(r(1541)),h=n(r(1542)),p=n(r(907)),I=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ws://127.0.0.1:8087",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.broadcast,s=void 0===i?[]:i,u=n.ignoreCheckType,l=void 0!==u&&u;if((0,A.default)(this,e),(0,o.default)(this,"isRpcReady",function(){return t.api._isReady}),this._broadcast=s,this._eventemitter=new a.default,!Array.isArray(s))throw new Error("broadcast must be a array");var c=!0,f=!1,d=void 0;try{for(var g,h=s[Symbol.iterator]();!(c=(g=h.next()).done);c=!0){var p=g.value;try{new URL(p)}catch(e){throw new Error("broadcast need valid url")}}}catch(e){f=!0,d=e}finally{try{c||null==h.return||h.return()}finally{if(f)throw d}}this.setProvider(r,{broadcast:s,ignoreCheckType:l})}return(0,i.default)(e,[{key:"on",value:function(e,t){return this._eventemitter.on(e,t),this}},{key:"once",value:function(e,t){return this._eventemitter.once(e,t),this}},{key:"emit",value:function(e){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),A=1;A<r;A++)n[A-1]=arguments[A];(t=this._eventemitter).emit.apply(t,[e].concat(n))}},{key:"setProvider",value:function(e,t){var r=this,n=t.broadcast,A=t.ignoreCheckType;if("string"==typeof e)this._provider=new s.WsProvider(e);else{if(!(e instanceof s.WsProvider))throw new Error("invalid parameter");this._provider=e}this._api=new l.default(this._provider,{broadcast:n,ignoreCheckType:A}),this._stake=new c.default(this),this._asset=new f.default(this),this._chain=new d.default(this),this._trade=new g.default(this),this._trustee=new h.default(this),this._api.on("disconnected",function(){r.emit("disconnected")}),this._api.on("error",function(e){r.emit("error",e)}),this._api.on("connected",function(){r.emit("connected")}),this._api.on("ready",function(){r.emit("ready")})}},{key:"broadcast",get:function(){return this._broadcast}},{key:"api",get:function(){return this._api}},{key:"provider",get:function(){return this._provider}},{key:"account",get:function(){return u.default}},{key:"stake",get:function(){return this._stake}},{key:"asset",get:function(){return this._asset}},{key:"chain",get:function(){return this._chain}},{key:"trade",get:function(){return this._trade}},{key:"trustee",get:function(){return this._trustee}},{key:"networkType",get:function(){return this.chainProperties&&this.chainProperties.network?this.chainProperties.network:null}}]),e}();t.default=I},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HttpProvider",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"WsProvider",{enumerable:!0,get:function(){return i.default}});var A=n(r(1392)),i=n(r(854))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(179)),i=n(r(180)),o=n(r(4)),a=n(r(18)),s=n(r(449));r(1394);var u=n(r(469)),l=n(r(852)),c=n(r(853)),f="HTTP Provider does not have subscriptions, use WebSockets instead",d=(0,s.default)("api-http"),g=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.default.HTTP_URL;(0,o.default)(this,e),(0,u.default)(/^(https|http):\/\//.test(t),"Endpoint should start with 'http://', received '".concat(t,"'")),this.coder=new l.default,this.endpoint=t}var t,r,n;return(0,a.default)(e,[{key:"isConnected",value:function(){return!0}},{key:"on",value:function(e,t){d.warn("HTTP Provider does not have 'on' emitters, use WebSockets instead")}},{key:"send",value:(n=(0,i.default)(A.default.mark(function e(t,r){var n,i,o,a;return A.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.coder.encodeJson(t,r),i={body:n,headers:{Accept:"application/json","Content-Length":"".concat(n.length),"Content-Type":"application/json"},method:"POST"},e.next=4,fetch(this.endpoint,i);case 4:return o=e.sent,(0,u.default)(o.ok,"[".concat(o.status,"]: ").concat(o.statusText)),e.next=8,o.json();case 8:return a=e.sent,e.abrupt("return",this.coder.decodeResponse(a));case 10:case"end":return e.stop()}},e,this)})),function(e,t){return n.apply(this,arguments)})},{key:"subscribe",value:(r=(0,i.default)(A.default.mark(function e(t,r,n,i){return A.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:throw d.error(f),new Error(f);case 2:case"end":return e.stop()}},e)})),function(e,t,n,A){return r.apply(this,arguments)})},{key:"unsubscribe",value:(t=(0,i.default)(A.default.mark(function e(t,r,n){return A.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:throw d.error(f),new Error(f);case 2:case"end":return e.stop()}},e)})),function(e,r,n){return t.apply(this,arguments)})},{key:"clone",value:function(){return new e(this.endpoint)}},{key:"disconnect",value:function(){}},{key:"hasSubscriptions",get:function(){return!1}}]),e}();t.default=g},function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,A="function"==typeof Symbol?Symbol:{},i=A.iterator||"@@iterator",o=A.asyncIterator||"@@asyncIterator",a=A.toStringTag||"@@toStringTag";function s(e,t,r,n){var A=t&&t.prototype instanceof h?t:h,i=Object.create(A.prototype),o=new D(n||[]);return i._invoke=function(e,t,r){var n=l;return function(A,i){if(n===f)throw new Error("Generator is already running");if(n===d){if("throw"===A)throw i;return k()}for(r.method=A,r.arg=i;;){var o=r.delegate;if(o){var a=E(o,r);if(a){if(a===g)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=f;var s=u(e,t,r);if("normal"===s.type){if(n=r.done?d:c,s.arg===g)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=d,r.method="throw",r.arg=s.arg)}}}(e,r,o),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var l="suspendedStart",c="suspendedYield",f="executing",d="completed",g={};function h(){}function p(){}function I(){}var B={};B[i]=function(){return this};var C=Object.getPrototypeOf,m=C&&C(C(M([])));m&&m!==r&&n.call(m,i)&&(B=m);var y=I.prototype=h.prototype=Object.create(B);function Q(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function w(e){var t;this._invoke=function(r,A){function i(){return new Promise(function(t,i){!function t(r,A,i,o){var a=u(e[r],e,A);if("throw"!==a.type){var s=a.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,i,o)},function(e){t("throw",e,i,o)}):Promise.resolve(l).then(function(e){s.value=e,i(s)},function(e){return t("throw",e,i,o)})}o(a.arg)}(r,A,t,i)})}return t=t?t.then(i,i):i()}}function E(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method))return g;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var A=u(n,e.iterator,r.arg);if("throw"===A.type)return r.method="throw",r.arg=A.arg,r.delegate=null,g;var i=A.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function v(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function M(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var A=-1,o=function r(){for(;++A<e.length;)if(n.call(e,A))return r.value=e[A],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}return{next:k}}function k(){return{value:t,done:!0}}return p.prototype=y.constructor=I,I.constructor=p,I[a]=p.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,I):(e.__proto__=I,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},Q(w.prototype),w.prototype[o]=function(){return this},e.AsyncIterator=w,e.async=function(t,r,n,A){var i=new w(s(t,r,n,A));return e.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},Q(y),y[a]="Generator",y[i]=function(){return this},y.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=M,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(v),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function A(n,A){return a.type="throw",a.arg=e,r.next=n,A&&(r.method="next",r.arg=t),!!A}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return A("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return A(o.catchLoc,!0);if(this.prev<o.finallyLoc)return A(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return A(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return A(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var A=this.tryEntries[r];if(A.tryLoc<=this.prev&&n.call(A,"finallyLoc")&&this.prev<A.finallyLoc){var i=A;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),v(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var A=n.arg;v(r)}return A}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){"use strict";"undefined"==typeof fetch&&r(468)},function(e,t,r){"use strict";r.r(t),r.d(t,"Headers",function(){return u}),r.d(t,"Request",function(){return p}),r.d(t,"Response",function(){return B}),r.d(t,"DOMException",function(){return m}),r.d(t,"fetch",function(){return y});var n={searchParams:"URLSearchParams"in self,iterable:"Symbol"in self&&"iterator"in Symbol,blob:"FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};if(n.arrayBuffer)var A=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(e){return e&&A.indexOf(Object.prototype.toString.call(e))>-1};function o(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function s(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n.iterable&&(t[Symbol.iterator]=function(){return t}),t}function u(e){this.map={},e instanceof u?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function l(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function c(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function f(e){var t=new FileReader,r=c(t);return t.readAsArrayBuffer(e),r}function d(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:n.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:n.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():n.arrayBuffer&&n.blob&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=d(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||i(e))?this._bodyArrayBuffer=d(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var e=l(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var e,t,r,n=l(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,r=c(t),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(I)}),this.json=function(){return this.text().then(JSON.parse)},this}u.prototype.append=function(e,t){e=o(e),t=a(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},u.prototype.delete=function(e){delete this.map[o(e)]},u.prototype.get=function(e){return e=o(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(o(e))},u.prototype.set=function(e,t){this.map[o(e)]=a(t)},u.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},u.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),s(e)},u.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),s(e)},u.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),s(e)},n.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);var h=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function p(e,t){var r,n,A=(t=t||{}).body;if(e instanceof p){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,A||null==e._bodyInit||(A=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new u(t.headers)),this.method=(r=t.method||this.method||"GET",n=r.toUpperCase(),h.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&A)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(A)}function I(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),A=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(A))}}),t}function B(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new u(t.headers),this.url=t.url||"",this._initBody(e)}p.prototype.clone=function(){return new p(this,{body:this._bodyInit})},g.call(p.prototype),g.call(B.prototype),B.prototype.clone=function(){return new B(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},B.error=function(){var e=new B(null,{status:0,statusText:""});return e.type="error",e};var C=[301,302,303,307,308];B.redirect=function(e,t){if(-1===C.indexOf(t))throw new RangeError("Invalid status code");return new B(null,{status:t,headers:{location:e}})};var m=self.DOMException;try{new m}catch(e){(m=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack}).prototype=Object.create(Error.prototype),m.prototype.constructor=m}function y(e,t){return new Promise(function(r,A){var i=new p(e,t);if(i.signal&&i.signal.aborted)return A(new m("Aborted","AbortError"));var o=new XMLHttpRequest;function a(){o.abort()}o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new u,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var r=e.split(":"),n=r.shift().trim();if(n){var A=r.join(":").trim();t.append(n,A)}}),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var A="response"in o?o.response:o.responseText;r(new B(A,n))},o.onerror=function(){A(new TypeError("Network request failed"))},o.ontimeout=function(){A(new TypeError("Network request failed"))},o.onabort=function(){A(new m("Aborted","AbortError"))},o.open(i.method,i.url,!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&n.blob&&(o.responseType="blob"),i.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),i.signal&&(i.signal.addEventListener("abort",a),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",a)}),o.send(void 0===i._bodyInit?null:i._bodyInit)})}y.polyfill=!0,self.fetch||(self.fetch=y,self.Headers=u,self.Request=p,self.Response=B)},function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},function(e,t,r){"use strict";(function(e){"undefined"==typeof WebSocket&&(e.WebSocket=r(855).w3cwebsocket)}).call(this,r(34))},function(e,t,r){e.exports=r(1399).version},function(e){e.exports=JSON.parse('{"_from":"websocket@^1.0.28","_id":"websocket@1.0.29","_inBundle":false,"_integrity":"sha1-P4PknTJ5ZXxYsCoi2QdJyAYQG5g=","_location":"/websocket","_phantomChildren":{"ms":"2.0.0"},"_requested":{"type":"range","registry":true,"raw":"websocket@^1.0.28","name":"websocket","escapedName":"websocket","rawSpec":"^1.0.28","saveSpec":null,"fetchSpec":"^1.0.28"},"_requiredBy":["/@chainx/rpc-provider"],"_resolved":"https://registry.npm.taobao.org/websocket/download/websocket-1.0.29.tgz","_shasum":"3f83e49d3279657c58b02a22d90749c806101b98","_spec":"websocket@^1.0.28","_where":"/Users/Forrest/Desktop/zhiyou/VUE/mathwalletplus/node_modules/@chainx/rpc-provider","author":{"name":"Brian McKelvey","email":"theturtle32@gmail.com","url":"https://github.com/theturtle32"},"browser":"lib/browser.js","bugs":{"url":"https://github.com/theturtle32/WebSocket-Node/issues"},"bundleDependencies":false,"config":{"verbose":false},"contributors":[{"name":"Iñaki Baz Castillo","email":"ibc@aliax.net","url":"http://dev.sipdoc.net"}],"dependencies":{"debug":"^2.2.0","gulp":"^4.0.2","nan":"^2.11.0","typedarray-to-buffer":"^3.1.5","yaeti":"^0.0.6"},"deprecated":false,"description":"Websocket Client & Server Library implementing the WebSocket protocol as specified in RFC 6455.","devDependencies":{"buffer-equal":"^1.0.0","faucet":"^0.0.1","gulp-jshint":"^2.0.4","jshint":"^2.0.0","jshint-stylish":"^2.2.1","tape":"^4.9.1"},"directories":{"lib":"./lib"},"engines":{"node":">=0.10.0"},"homepage":"https://github.com/theturtle32/WebSocket-Node","keywords":["websocket","websockets","socket","networking","comet","push","RFC-6455","realtime","server","client"],"license":"Apache-2.0","main":"index","name":"websocket","repository":{"type":"git","url":"git+https://github.com/theturtle32/WebSocket-Node.git"},"scripts":{"gulp":"gulp","install":"(node-gyp rebuild 2> builderror.log) || (exit 0)","test":"faucet test/unit"},"version":"1.0.29"}')},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(179)),i=n(r(180)),o=n(r(4)),a=n(r(18)),s=n(r(280)),u=r(367),l=n(r(856)),c=r(14),f=r(223),d=r(1421),g=r(1530),h=r(857),p=r(225),I=n(r(1535)),B=r(146),C=n(r(907)),m=(0,c.logger)("chainx-api"),y="Api needs to be initialised before using, listen on 'ready'",Q=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},A=n.broadcast,i=void 0===A?[]:A,a=n.ignoreCheckType,u=void 0!==a&&a;(0,o.default)(this,e);var f=(0,c.isObject)(r)&&(0,c.isFunction)(r.send)?{provider:r}:r;this._broadcast=i,this._ignoreCheckType=u,this._eventemitter=new s.default,this._rpcBase=new l.default(f.provider),this._rpc$=new I.default(this._rpcBase),f.types&&h.typeRegistry.register(f.types),this.init(),this._isReady=new Promise(function(e,r){return t.once("ready",function(){return e(t)}).once("error",function(){return r(t)})})}var t;return(0,a.default)(e,[{key:"on",value:function(e,t){return this._eventemitter.on(e,t),this}},{key:"once",value:function(e,t){return this._eventemitter.once(e,t),this}},{key:"emit",value:function(e){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),A=1;A<r;A++)n[A-1]=arguments[A];(t=this._eventemitter).emit.apply(t,[e].concat(n))}},{key:"init",value:function(){var e=this,t=!1;this._rpcBase._provider.hasSubscriptions?(this._rpcBase._provider.on("disconnected",function(){e.emit("disconnected")}),this._rpcBase._provider.on("error",function(t){e.emit("error",t)}),this._rpcBase._provider.on("connected",(0,i.default)(A.default.mark(function r(){return A.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e.emit("connected"),r.next=3,e.loadMeta();case 3:r.sent&&!t&&(t=!0,e.emit("ready",e));case 5:case"end":return r.stop()}},r)})))):this.loadMeta().then(function(r){r&&!t&&(t=!0,e.emit("ready",e))})}},{key:"disconnect",value:function(){this._rpcBase._provider.disconnect()}},{key:"loadMeta",value:(t=(0,i.default)(A.default.mark(function e(){var t,r;return A.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._rpcBase.state.getMetadata();case 3:return this._runtimeMetadata=e.sent,e.next=6,this._rpcBase.chain.getRuntimeVersion();case 6:return this._runtimeVersion=e.sent,e.next=9,this._rpcBase.system.properties();case 9:return this._chainProperties=e.sent,e.next=12,this._rpcBase.chain.getBlockHash(0);case 12:return this._genesisHash=e.sent,e.prev=13,e.next=16,this._rpcBase.chainx.getFeeWeightMap();case 16:this._feeWeight=e.sent,e.next=22;break;case 19:e.prev=19,e.t0=e.catch(13),this._feeWeight=null;case 22:this.checkTypeDefine(),t=(0,d.fromMetadata)(this.runtimeMetadata),r=(0,g.fromMetadata)(this.runtimeMetadata),this._extrinsics=this.decorateExtrinsics(t),this._query=this.decorateGetStorage(r,!1),this._query$=this.decorateSubscribeStorage(r),e.prev=28,p.Event.injectMetadata(this.runtimeMetadata),e.next=40;break;case 32:if(e.prev=32,e.t1=e.catch(28),this._ignoreCheckType){e.next=38;break}throw e.t1;case 38:console.log(e.t1),m.error("缺少必要的类型定义，可能会出现未知错误，请尽快升级 chainx.js ！！Unable to determine type, Please upgrade as soon as possible!!");case 40:return p.Method.injectMethods(t),this._chainProperties&&this._chainProperties.network_type&&B.NET_PREFIX[this._chainProperties.network_type]&&(0,f.setAddressPrefix)(B.NET_PREFIX[this._chainProperties.network_type]),e.abrupt("return",!0);case 45:return e.prev=45,e.t2=e.catch(0),m.error("loadMeta",e.t2),e.abrupt("return",!1);case 49:case"end":return e.stop()}},e,this,[[0,45],[13,19],[28,32]])})),function(){return t.apply(this,arguments)})},{key:"decorateFunctionMeta",value:function(e,t){return t.meta=e.meta,t.method=e.method,t.section=e.section,t.toJSON=e.toJSON,e.callIndex&&(t.callIndex=e.callIndex),t}},{key:"checkTypeDefine",value:function(){try{var e=!0,t=!1,r=void 0;try{for(var n,A=this.runtimeMetadata.asV5.modules[Symbol.iterator]();!(e=(n=A.next()).done);e=!0){var i=n.value;if(i.calls.isSome){var o=!0,a=!1,s=void 0;try{for(var u,l=i.calls.unwrap()[Symbol.iterator]();!(o=(u=l.next()).done);o=!0){u.value.args.map(function(e){return(0,h.getTypeDef)(e.type)}).map(h.getTypeClass)}}catch(e){a=!0,s=e}finally{try{o||null==l.return||l.return()}finally{if(a)throw s}}}}}catch(e){t=!0,r=e}finally{try{e||null==A.return||A.return()}finally{if(t)throw r}}}catch(e){if(!this._ignoreCheckType)throw e;console.log(e),m.error("缺少必要的类型定义，可能会出现未知错误，请尽快升级 chainx.js ！！Unable to determine type, Please upgrade as soon as possible!!")}}},{key:"decorateGetStorage",value:function(e,t){var r=this,n=t?this.rpc$.state.getStorage:this.rpc.state.getStorage;return Object.keys(e).reduce(function(t,A){var i=e[A];return t[A]=Object.keys(i).reduce(function(e,t){var A=i[t],o=function(e){return n([A,e])};return o.at=function(e,t){return n([A,t],e)},e[t]=r.decorateFunctionMeta(A,o),e},{}),t},{})}},{key:"decorateSubscribeStorage",value:function(e){var t=this;return Object.keys(e).reduce(function(r,n){var A=e[n];return r[n]=Object.keys(A).reduce(function(e,r){var n=A[r],i=function(e){return t.rpc$.state.subscribeStorage([[n,e]]).pipe((0,u.map)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e[0]}))};return i.at=function(e,r){return t.rpc$.state.getStorage([n,r],e)},e[r]=t.decorateFunctionMeta(n,i),e},{}),r},{})}},{key:"decorateExtrinsics",value:function(e){var t=this;return Object.keys(e).reduce(function(r,n){var A=e[n];return r[n]=Object.keys(A).reduce(function(e,r){var n=A[r];return e[r]=t.decorateFunctionMeta(n,function(){return new C.default(t,new p.Extrinsic({method:n.apply(void 0,arguments)}),t.broadcast)}),e},{}),r},{})}},{key:"createExtrinsic",value:function(e){return new C.default(this,new p.Extrinsic({method:e}),this.broadcast)}},{key:"isReady",get:function(){return this._isReady}},{key:"genesisHash",get:function(){return(0,c.assert)(!(0,c.isUndefined)(this._genesisHash),y),this._genesisHash}},{key:"hasSubscriptions",get:function(){return this._rpcBase._provider.hasSubscriptions}},{key:"broadcast",get:function(){return this._broadcast}},{key:"runtimeMetadata",get:function(){return(0,c.assert)(!(0,c.isUndefined)(this._runtimeMetadata),y),this._runtimeMetadata}},{key:"chainProperties",get:function(){return(0,c.assert)(!(0,c.isUndefined)(this._chainProperties),y),this._chainProperties}},{key:"runtimeVersion",get:function(){return(0,c.assert)(!(0,c.isUndefined)(this._runtimeVersion),y),this._runtimeVersion}},{key:"feeWeight",get:function(){return(0,c.assert)(!(0,c.isUndefined)(this._feeWeight),y),this._feeWeight}},{key:"query",get:function(){return(0,c.assert)(!(0,c.isUndefined)(this._query),y),this._query}},{key:"query$",get:function(){return(0,c.assert)(!(0,c.isUndefined)(this._query$),y),this._query$}},{key:"rpc",get:function(){return this._rpcBase}},{key:"rpc$",get:function(){return this._rpc$}},{key:"tx",get:function(){return(0,c.assert)(!(0,c.isUndefined)(this._extrinsics),y),this._extrinsics}}]),e}();t.default=Q},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(59)),i=n(r(179)),o=n(r(180)),a=n(r(4)),s=n(r(18)),u=n(r(1402)),l=n(r(1409)),c=r(857),f=r(14),d=(0,f.logger)("rpc-core"),g=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new l.default;(0,a.default)(this,e),(0,f.assert)(t&&(0,f.isFunction)(t.send),"Expected Provider to API create"),this._provider=t,this.author=this.createInterface(u.default.author),this.chain=this.createInterface(u.default.chain),this.state=this.createInterface(u.default.state),this.system=this.createInterface(u.default.system),this.chainx=this.createInterface(u.default.chainx)}return(0,s.default)(e,[{key:"createInterface",value:function(e){var t=this,r=e.methods;return Object.keys(r).reduce(function(e,n){var A=r[n];return e[n]=A.isSubscription?t.createMethodSubscribe(A):t.createMethodSend(A),e},{})}},{key:"createMethodSend",value:function(t){var r=this,n="".concat(t.section,"_").concat(t.method);return function(){var A=(0,o.default)(i.default.mark(function A(){var o,a,s,u,l,c,g,h=arguments;return i.default.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:for(A.prev=0,o=h.length,a=new Array(o),s=0;s<o;s++)a[s]=h[s];return u=r.formatInputs(t,a),l=u.map(function(e){return e.toJSON()}),A.next=6,r._provider.send(n,l);case 6:return c=A.sent,A.abrupt("return",r.formatOutput(t,u,c));case 10:throw A.prev=10,A.t0=A.catch(0),g="".concat(e.signature(t),":: ").concat(A.t0.message),d.error(g),new f.ExtError(g,A.t0.code,void 0);case 15:case"end":return A.stop()}},A,null,[[0,10]])}));return function(){return A.apply(this,arguments)}}()}},{key:"createMethodSubscribe",value:function(t){var r=this,n=(0,A.default)(t.pubsub,3),a=n[0],s=n[1],u=n[2],l="".concat(t.section,"_").concat(s),c="".concat(t.section,"_").concat(u),g="".concat(t.section,"_").concat(a),h=function(){var n=(0,o.default)(i.default.mark(function n(){var A,o,a,s,u,c,h,p,I,B=arguments;return i.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:for(n.prev=0,A=B.length,o=new Array(A),a=0;a<A;a++)o[a]=B[a];if(s=o.pop(),(0,f.assert)((0,f.isFunction)(s),"Expected callback in last position of params"),u=r.formatInputs(t,o),c=u.map(function(e){return e.toJSON()}),"submitAndWatchExtrinsic"!==t.method){n.next=11;break}return h=function(n,A){n?d.error("".concat(e.signature(t),":: ").concat(n.message)):s(null,r.formatOutput(t,u,A))},n.abrupt("return",r._provider.subscribe(g,l,c,h).catch(function(e){s(e)}));case 11:return p=function(n,A){n?d.error("".concat(e.signature(t),":: ").concat(n.message)):s(r.formatOutput(t,u,A))},n.abrupt("return",r._provider.subscribe(g,l,c,p));case 13:n.next=20;break;case 15:throw n.prev=15,n.t0=n.catch(0),I="".concat(e.signature(t),":: ").concat(n.t0.message),d.error(I),new f.ExtError(I,n.t0.code,void 0);case 20:case"end":return n.stop()}},n,null,[[0,15]])}));return function(){return n.apply(this,arguments)}}();return h.unsubscribe=function(e){return r._provider.unsubscribe(g,c,e)},h}},{key:"formatInputs",value:function(e,t){var r=e.params.filter(function(e){return!e.isOptional}).length,n=r===e.params.length?"":" (".concat(e.params.length-r," optional)");return(0,f.assert)(t.length>=r&&t.length<=e.params.length,"Expected ".concat(e.params.length," parameters").concat(n,", ").concat(t.length," found instead")),t.map(function(t,r){return(0,c.createType)(e.params[r].type,t)})}},{key:"formatOutput",value:function(e,t,r){if("RawJSON"===e.type)return r;var n=(0,c.createType)(e.type,r);if("StorageData"===e.type){var A=t[0].outputType||"Data";return(0,c.createType)(A,n)}return"StorageChangeSet"===e.type?t[0].reduce(function(e,t){var r=t.outputType||"Data",A=t.toHex(),i=n.changes.find(function(e){return e.key.toHex()===A});return e.push(i?i.value.isNone?null:(0,c.createType)(r,i.value.unwrap()):void 0),e},[]):n}}],[{key:"signature",value:function(e){var t=e.method,r=e.params,n=e.type,A=r.map(function(e){var t=e.name,r=e.type;return"".concat(t,": ").concat(r)}).join(", ");return"".concat(t," (").concat(A,"): ").concat(n)}}]),e}();t.default=g},function(e,t,r){e.exports=r(1403)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(1404)),i=n(r(1405)),o=n(r(1406)),a=n(r(1407)),s=n(r(1408)),u={author:A.default,chain:i.default,state:o.default,system:a.default,chainx:s.default};t.default=u},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(281)),i=n(r(330)),o={isSigned:!0,description:"Submit a fully formatted extrinsic for block inclusion",params:[(0,i.default)("extrinsic","Extrinsic")],type:"Hash"},a={description:"Subscribe and watch an extrinsic until unsubscribed",isSigned:!0,params:[(0,i.default)("extrinsic","Extrinsic")],pubsub:["extrinsicUpdate","submitAndWatchExtrinsic","unwatchExtrinsic"],type:"ExtrinsicStatus"},s={isDeprecated:!1,isHidden:!1,description:"Authoring of network items",section:"author",methods:{pendingExtrinsics:(0,A.default)("author","pendingExtrinsics",{description:"Returns all pending extrinsics, potentially grouped by sender",params:[],type:"PendingExtrinsics"}),submitExtrinsic:(0,A.default)("author","submitExtrinsic",o),submitAndWatchExtrinsic:(0,A.default)("author","submitAndWatchExtrinsic",a)}};t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(281)),i=n(r(330)),o={description:"Retrieves the header for a specific block",params:[(0,i.default)("hash","Hash",{isOptional:!0})],type:"Header"},a={description:"Get header and body of a relay chain block",params:[(0,i.default)("hash","Hash",{isOptional:!0})],type:"SignedBlock"},s={description:"Get the block hash for a specific block",params:[(0,i.default)("blockNumber","BlockNumber",{isOptional:!0})],type:"Hash"},u={description:"Get the runtime version",params:[(0,i.default)("hash","Hash",{isOptional:!0})],type:"RuntimeVersion"},l={isDeprecated:!1,isHidden:!1,description:"Retrieval of chain data",section:"chain",methods:{getBlock:(0,A.default)("chain","getBlock",a),getBlockHash:(0,A.default)("chain","getBlockHash",s),getFinalizedHead:(0,A.default)("chain","getFinalizedHead",{description:"Get hash of the last finalized block in the canon chain",params:[],type:"Hash"}),getHeader:(0,A.default)("chain","getHeader",o),getRuntimeVersion:(0,A.default)("chain","getRuntimeVersion",u),subscribeFinalizedHeads:(0,A.default)("chain","subscribeFinalizedHeads",{description:"Retrieves the best finalized header via subscription",params:[],pubsub:["finalizedHead","subscribeFinalizedHeads","unsubscribeFinalizedHeads"],type:"Header"}),subscribeRuntimeVersion:(0,A.default)("chain","subscribeRuntimeVersion",{description:"Retrieves the runtime version via subscription",params:[],pubsub:["runtimeVersion","subscribeRuntimeVersion","unsubscribeRuntimeVersion"],type:"RuntimeVersion"}),subscribeNewHead:(0,A.default)("chain","subscribeNewHead",{description:"Retrieves the best header via subscription",params:[],pubsub:["newHead","subscribeNewHead","unsubscribeNewHead"],type:"Header"})}};t.default=l},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(281)),i=n(r(330)),o={description:"Perform a call to a builtin on the chain",params:[(0,i.default)("method","Text"),(0,i.default)("data","Bytes"),(0,i.default)("block","Hash",{isOptional:!0})],type:"Bytes"},a={description:"Retrieves the storage for a key",params:[(0,i.default)("key","StorageKey"),(0,i.default)("block","Hash",{isOptional:!0})],type:"StorageData"},s={description:"Retrieves the storage hash",params:[(0,i.default)("key","StorageKey"),(0,i.default)("block","Hash",{isOptional:!0})],type:"Hash"},u={description:"Retrieves the storage size",params:[(0,i.default)("key","StorageKey"),(0,i.default)("block","Hash",{isOptional:!0})],type:"u64"},l={description:"Returns the runtime metadata",params:[(0,i.default)("block","Hash",{isOptional:!0})],type:"Metadata"},c={description:"Query historical storage entries (by key) starting from a start block",params:[(0,i.default)("keys","Vec<StorageKey>"),(0,i.default)("startBlock","Hash"),(0,i.default)("block","Hash",{isOptional:!0})],type:"Vec<StorageChangeSet>"},f={description:"Subscribes to storage changes for the provided keys",params:[(0,i.default)("keys","Vec<StorageKey>")],pubsub:["storage","subscribeStorage","unsubscribeStorage"],type:"StorageChangeSet"},d={isDeprecated:!1,isHidden:!1,description:"Query of state",section:"state",methods:{call:(0,A.default)("state","call",o),getMetadata:(0,A.default)("state","getMetadata",l),getStorage:(0,A.default)("state","getStorage",a),getStorageHash:(0,A.default)("state","getStorageHash",s),getStorageSize:(0,A.default)("state","getStorageSize",u),queryStorage:(0,A.default)("state","queryStorage",c),subscribeStorage:(0,A.default)("state","subscribeStorage",f)}};t.default=d},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(281)),i={isDeprecated:!1,isHidden:!1,description:"Methods to retrieve system info",section:"system",methods:{chain:(0,A.default)("system","chain",{description:"Retrieves the chain",params:[],type:"Text"}),name:(0,A.default)("system","name",{description:"Retrieves the node name",params:[],type:"Text"}),properties:(0,A.default)("system","properties",{description:"Get a custom set of properties as a JSON object, defined in the chain spec",params:[],type:"RawJSON"}),version:(0,A.default)("system","version",{description:"Retrieves the version of the node",params:[],type:"Text"}),health:(0,A.default)("system","health",{description:"",params:[],type:"RawJSON"}),peers:(0,A.default)("system","peers",{description:"",params:[],type:"RawJSON"})}};t.default=i},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(281)),i=n(r(330)),o={description:"",params:[(0,i.default)("blockNumber","BlockNumber",{isOptional:!0})],type:"RawJSON"},a={description:"",params:[(0,i.default)("accountId","PublicKey"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},s={description:"",params:[(0,i.default)("accountId","PublicKey"),(0,i.default)("u32","u32"),(0,i.default)("u32","u32"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},u={description:"",params:[(0,i.default)("u32","u32"),(0,i.default)("u32","u32"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},l={description:"",params:[(0,i.default)("xassets","Token"),(0,i.default)("xrecords","Text"),(0,i.default)("xassets","Memo"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},c={description:"",params:[(0,i.default)("chain","Chain"),(0,i.default)("u32","u32"),(0,i.default)("u32","u32"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},f={description:"",params:[(0,i.default)("accountId","PublicKey"),(0,i.default)("u32","u32"),(0,i.default)("u32","u32"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},d={description:"",params:[(0,i.default)("accountId","PublicKey"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},g={description:"",params:[(0,i.default)("accountId","PublicKey"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},h={description:"",params:[(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},p={description:"",params:[(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},I={description:"",params:[(0,i.default)("accountId","PublicKey"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},B={description:"",params:[(0,i.default)("accountId","PublicKey"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},C={description:"",params:[(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},m={description:"",params:[(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},y={description:"",params:[(0,i.default)("accountId","PublicKey"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},Q={description:"",params:[(0,i.default)("accountId","PublicKey"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},w={description:"",params:[(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},E={description:"",params:[(0,i.default)("tradingPairIndex","TradingPairIndex"),(0,i.default)("u32","u32"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},b={description:"",params:[(0,i.default)("accountId","PublicKey"),(0,i.default)("u32","u32"),(0,i.default)("u32","u32"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},v={description:"",params:[(0,i.default)("chain","Chain"),(0,i.default)("u32","u32"),(0,i.default)("u32","u32"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},D={description:"",params:[(0,i.default)("accountId","PublicKey"),(0,i.default)("chain","Chain"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},M={description:"",params:[(0,i.default)("accountId","PublicKey"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},k={description:"",params:[(0,i.default)("string","Text"),(0,i.default)("string","Text"),(0,i.default)("string","Text"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},_={description:"",params:[(0,i.default)("string","Text"),(0,i.default)("length","u64"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},S={description:"",params:[(0,i.default)("chain","Chain"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},N={description:"",params:[(0,i.default)("chain","Chain"),(0,i.default)("u32","U32",{isOptional:!0}),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},F={description:"",params:[(0,i.default)("chain","Chain"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},x={description:"",params:[(0,i.default)("token","Token"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},G={description:"",params:[(0,i.default)("accountId","PublicKey"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},H={description:"",params:[(0,i.default)("accountId","PublicKey"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},U={description:"",params:[(0,i.default)("accountId","PublicKey"),(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},Y={description:"",params:[(0,i.default)("hash","Hash",{isOptional:!0})],type:"RawJSON"},L={description:"",params:[(0,i.default)("callRequest","ContractCallRequest"),(0,i.default)("at","Hash",{isOptional:!0})],type:"RawJSON"},O={description:"",params:[(0,i.default)("contractAddress","PublicKey"),(0,i.default)("storageKey","H256"),(0,i.default)("at","Hash",{isOptional:!0})],type:"RawJSON"},K={description:"",params:[(0,i.default)("ContractXRC20CallRequest","ContractXRC20CallRequest"),(0,i.default)("at","Hash",{isOptional:!0})],type:"RawJSON"},P={description:"",params:[(0,i.default)("at","Hash",{isOptional:!0})],type:"RawJSON"},R="chainx",T={isDeprecated:!1,isHidden:!1,description:"chainx rpc",section:R,methods:{getBlockByNumber:(0,A.default)(R,"getBlockByNumber",o),getCertByAccount:(0,A.default)(R,"getCertByAccount",a),getAssetsByAccount:(0,A.default)(R,"getAssetsByAccount",s),getAssets:(0,A.default)(R,"getAssets",u),getVerifyAddress:(0,A.default)(R,"getVerifyAddress",l),getWithdrawalList:(0,A.default)(R,"getWithdrawalList",c),getWithdrawalListByAccount:(0,A.default)(R,"getWithdrawalListByAccount",f),getNominationRecords:(0,A.default)(R,"getNominationRecords",d),getNominationRecordsV1:(0,A.default)(R,"getNominationRecordsV1",g),getIntentions:(0,A.default)(R,"getIntentions",h),getIntentionsV1:(0,A.default)(R,"getIntentionsV1",p),getIntentionByAccount:(0,A.default)(R,"getIntentionByAccount",I),getIntentionByAccountV1:(0,A.default)(R,"getIntentionByAccountV1",B),getPseduIntentions:(0,A.default)(R,"getPseduIntentions",C),getPseduIntentionsV1:(0,A.default)(R,"getPseduIntentionsV1",m),getPseduNominationRecords:(0,A.default)(R,"getPseduNominationRecords",y),getPseduNominationRecordsV1:(0,A.default)(R,"getPseduNominationRecordsV1",Q),getTradingPairs:(0,A.default)(R,"getTradingPairs",w),getQuotations:(0,A.default)(R,"getQuotations",E),getOrders:(0,A.default)(R,"getOrders",b),getDepositList:(0,A.default)(R,"getDepositList",v),getAddressByAccount:(0,A.default)(R,"getAddressByAccount",D),getTrusteeInfoByAccount:(0,A.default)(R,"getTrusteeInfoByAccount",M),verifyAddressValidity:(0,A.default)(R,"verifyAddressValidity",k),getFeeByCallAndLength:(0,A.default)(R,"getFeeByCallAndLength",_),getWithdrawTx:(0,A.default)(R,"getWithdrawTx",S),getTrusteeSessionInfo:(0,A.default)(R,"getTrusteeSessionInfo",N),getWithdrawalLimitByToken:(0,A.default)(R,"getWithdrawalLimitByToken",x),getDepositLimitByToken:(0,A.default)(R,"getDepositLimitByToken",F),particularAccounts:(0,A.default)(R,"particularAccounts",{description:"",params:[],type:"RawJSON"}),getNextRenominateByAccount:(0,A.default)(R,"getNextRenominateByAccount",G),getFeeWeightMap:(0,A.default)(R,"getFeeWeightMap",{description:"",params:[],type:"RawJSON"}),getStakingDividendByAccount:(0,A.default)(R,"getStakingDividendByAccount",H),getExtrinsicsEventsByBlockHash:(0,A.default)(R,"getExtrinsicsEventsByBlockHash",Y),getCrossMiningDividendByAccount:(0,A.default)(R,"getCrossMiningDividendByAccount",U),contractCall:(0,A.default)(R,"contractCall",L),contractGetStorage:(0,A.default)(R,"contractGetStorage",O),contractXRC20Call:(0,A.default)(R,"contractXRC20Call",K),contractXRCTokenInfo:(0,A.default)(R,"contractXRCTokenInfo",P)}};t.default=T},function(e,t,r){e.exports=r(854)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(Array.isArray(t))return e.length===t.length&&(0,n.isUndefined)(e.find(function(e,r){return(0,n.isFunction)(e.eq)?!e.eq(t[r]):e!==t[r]}));return!1};var n=r(14)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){if(Array.isArray(r))return t.size===r.length&&!r.some(function(e){return r=e,!Array.isArray(r)||2!==r.length||function(e,t){return(0,i.isUndefined)(e)||((0,i.isFunction)(e.eq)?!e.eq(t):e!==t)}(t.get(e[0]),e[1]);var r});if(r instanceof Map)return e(t,(0,A.default)(r.entries()));if((0,i.isObject)(r))return e(t,Object.entries(r));return!1};var A=n(r(89)),i=r(14)},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){var n=Array.isArray(r)?r:Object.values(r);if(!n.length)return[];var A=n[0];try{var i=new A(t);return[i].concat(e(t.subarray(i.encodedLength),n.slice(1)))}catch(e){throw new Error("U8a: failed on '".concat(A.name,"':: ").concat(e.message))}}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.createTypeUnsafe=c,t.createType=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return c(e,r)};var A=n(r(59)),i=n(r(851)),o=n(r(89)),a=r(14),s=r(331);function u(e){return e.some(function(e){return!!e})}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n=(0,i.default)(e,(0,o.default)(t)),s=(0,A.default)(t,1)[0];return r&&(0,a.isU8a)(s)&&function(e,t){var r=t.toHex(!0),n=(0,a.u8aToHex)(e);n!==r&&(u(e)||u(t.toU8a(!0)))&&console.warn("".concat(t.toRawType(),":: Input doesn't match output, received ").concat(n,", created ").concat(r))}(s,n),n}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;try{return l((0,s.createClass)(e),t,r)}catch(t){throw new Error("createType(".concat(e,"):: ").concat(t.message))}}},function(e,t,r){var n=r(5);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=n(e)););return e}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.LinkageResult=t.default=void 0;var A=n(r(59)),i=n(r(4)),o=n(r(18)),a=n(r(6)),s=n(r(5)),u=n(r(85)),l=n(r(7)),c=n(r(182)),f=n(r(29)),d=n(r(80)),g=n(r(60)),h=new Uint8Array,p=function(e){function t(e,r){return(0,i.default)(this,t),(0,a.default)(this,(0,s.default)(t).call(this,{previous:c.default.with(e),next:c.default.with(e)},r))}return(0,l.default)(t,e),(0,o.default)(t,[{key:"toRawType",value:function(){return"Linkage<".concat(this.next.toRawType(!0),">")}},{key:"toU8a",value:function(){return this.isEmpty?h:(0,u.default)((0,s.default)(t.prototype),"toU8a",this).call(this)}},{key:"previous",get:function(){return this.get("previous")}},{key:"next",get:function(){return this.get("next")}}],[{key:"withKey",value:function(e){return function(t){function r(t){return(0,i.default)(this,r),(0,a.default)(this,(0,s.default)(r).call(this,e,t))}return(0,l.default)(r,t),r}(t)}}]),t}(f.default);t.default=p;var I=function(e){function t(e,r){var n=(0,A.default)(e,2),o=n[0],u=n[1],l=(0,A.default)(r,2),c=l[0],f=l[1];return(0,i.default)(this,t),(0,a.default)(this,(0,s.default)(t).call(this,{Keys:g.default.with(o),Values:g.default.with(c)},[u,f]))}return(0,l.default)(t,e),t}(d.default);t.LinkageResult=I},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(89)),i=n(r(4)),o=n(r(18)),a=n(r(6)),s=n(r(5)),u=n(r(7)),l=r(14),c=n(r(472)),f=r(136),d=n(r(60)),g=function(e){function t(e,r){var n,o,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];(0,i.default)(this,t);var l=(0,f.typeToConstructor)(e);return(o=(0,a.default)(this,(n=(0,s.default)(t)).call.apply(n,[this].concat((0,A.default)(t.decodeVecFixed(l,r,u))))))._Type=l,o}return(0,u.default)(t,e),(0,o.default)(t,[{key:"toU8a",value:function(){var e=this.map(function(e){return e.toU8a()});return l.u8aConcat.apply(void 0,(0,A.default)(e))}},{key:"toRawType",value:function(){return"[".concat(this.Type,";").concat(this.length,"]")}},{key:"Type",get:function(){return(new this._Type).toRawType()}}],[{key:"decodeVecFixed",value:function(e,t,r){for(var n=d.default.decodeVec(e,(0,l.isU8a)(r)?(0,l.u8aConcat)((0,l.compactToU8a)(t),r):r);n.length<t;)n.push(new e);return(0,l.assert)(n.length===t,"Expected a length of exactly ".concat(t," entries")),n}},{key:"with",value:function(e,r){return function(t){function n(t){return(0,i.default)(this,n),(0,a.default)(this,(0,s.default)(n).call(this,e,r,t))}return(0,u.default)(n,t),n}(t)}}]),t}(c.default);t.default=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return o.reduce(function(e,t){return t(e)},e).trim()};var n,A,i=["BTreeMap","Compact","DoubleMap","Linkage","Result","Option","Vec"],o=[s("<T::InherentOfflineReport as InherentOfflineReport>::Inherent","InherentOfflineReport"),s("Proposal<T::AccountId, BalanceOf<T>>","TreasuryProposal"),function(e){for(var t=0;t<e.length;t++)if("<"===e[t]){var r=a(e,t+1)-14;" as HasCompact"===e.substr(r,14)&&(e="Compact<".concat(e.substr(t+1,r-t-1),">"))}return e},function(e){return e.replace(/\s/g,"").replace(/T::/g,"").replace(/Self::/g,"").replace(/system::/g,"").replace(/<TasTrait>::/g,"").replace(/<Tas[a-z]+::Trait>::/g,"").replace(/<SelfasTrait>::/g,"").replace(/<LookupasStaticLookup>/g,"Lookup").replace(/::Type/g,"").replace(/wasm::/g,"").replace(/sr_std::marker::/g,"")},function(e){for(var t=0;t<e.length;t++)if("PairOf<"===e.substr(t,7)){var r=t+7,n=a(e,r),A=e.substr(r,n-r);e="".concat(e.substr(0,t),"(").concat(A,",").concat(A,")").concat(e.substr(n+1))}return e},(n="Box",A="".concat(n,"<"),function(e){for(var t=0;-1!==t;)if(-1!==(t=e.indexOf(A))){var r=t+A.length,n=a(e,r);e="".concat(e.substr(0,t)).concat(e.substr(r,n-r)).concat(e.substr(n+1))}return e}),function(e){for(var t=function(t){if("<"===e[t]&&!i.find(function(r){var n=t-r.length;return n>=0&&e.substr(n,r.length)===r})){var r=a(e,t+1);e="".concat(e.substr(0,t)).concat(e.substr(r+1))}},r=0;r<e.length;r++)t(r);return e},s("String","Text"),s("\\(\\)","Null"),s("Vec<u8>","Bytes"),s("&\\[u8\\]","Bytes"),s("RawAddress","Address"),s("Lookup::Source","Address"),s("Lookup::Target","AccountId"),s("grandpa::AuthorityId","AuthorityId"),s("session::SessionIndex","SessionIndex"),s("exec::StorageKey","ContractStorageKey"),s("rstd::marker::PhantomData","PhantomData"),function(e){return e.replace(/\(([^,]*)\)/,"$1")},function(e){return e.replace(/^::/,"")}];function a(e,t){for(var r=0,n=t;n<e.length;n++)if(">"===e[n]){if(!r)return n;r--}else"<"===e[n]&&r++;throw new Error("Unable to find closing matching <> on '".concat(e,"' (start ").concat(t,")"))}function s(e,t){return function(r){return r.replace(new RegExp(e,"g"),t)}}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.typeToConstructor=a,t.mapToTypeMap=function(e){var t={};return Object.entries(e).forEach(function(e){var r=(0,A.default)(e,2),n=r[0],i=r[1];t[n]=a(i)}),t};var A=n(r(59)),i=r(14),o=r(224);function a(e){return(0,i.isString)(e)?(0,o.ClassOf)(e):e}},function(e,t,r){e.exports=r(869)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.asLatest.modules.filter(function(e){return e.calls.isSome}).reduce(function(e,t,r){var n=(0,i.stringCamelCase)(t.prefix.toString());return e[n]=t.calls.unwrap().reduce(function(e,t,A){return e[(0,i.stringCamelCase)(t.name.toString())]=(0,a.default)(n,r,A,t),e},{}),e},function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(r,!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},o.default))};var A=n(r(66)),i=r(14),o=n(r(869)),a=n(r(1423));function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,i){var o=new Uint8Array([t,r]),a=i.args,s=(0,A.stringCamelCase)(i.name.toString()),u=function(){for(var t=arguments.length,r=new Array(t),u=0;u<t;u++)r[u]=arguments[u];return(0,A.assert)(a.length.valueOf()===r.length,"Extrinsic ".concat(e,".").concat(s," expects ").concat(a.length.valueOf()," arguments, got ").concat(r.length,".")),new n.Method({args:r,callIndex:o},i)};return u.callIndex=o,u.meta=i,u.method=s,u.section=e,u.toJSON=function(){return i.toJSON()},u};var n=r(225),A=r(14)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(1425);var n=r(157);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})});var A=r(870);Object.keys(A).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return A[e]}})})},function(e,t,r){"use strict";var n=r(135),A=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.injectTypes=c;var i=A(r(66)),o=r(224),a=n(r(1426)),s=n(r(870)),u=r(157);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(){var e=(0,o.getTypeRegistry)();e.register(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(r,!0).forEach(function(t){(0,i.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},s)),Object.values(a).forEach(function(t){var r=t.types;return e.register(r)}),[u.BTreeMap,u.Compact,u.Enum,u.Option,u.Result,u.Set,u.Struct,u.Tuple,u.Vec,u.U8a,u.UInt].forEach(function(t){return e.register(t)})}c()},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"contracts",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"metadata",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"chainx",{enumerable:!0,get:function(){return o.default}});var A=n(r(1427)),i=n(r(1428)),o=n(r(1429))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={types:{AliveContractInfo:{trieId:"TrieId",storageSize:"u32",codeHash:"CodeHash",rentAllowance:"Balance",deductBlock:"BlockNumber",lastWrite:"Option<BlockNumber>"},CodeHash:"Hash",ContractCallRequest:{origin:"PublicKey",dest:"PublicKey",gasLimit:"u64",inputData:"Bytes"},ContractXRC20CallRequest:{token:"Token",selector:"XRC20Selector",inputData:"Bytes"},ContractExecResultSuccess:{status:"u8",data:"Bytes"},ContractExecResult:{_enum:{Success:"ContractExecResultSuccess",Error:"Null"}},ContractInfo:{_enum:{Alive:"AliveContractInfo",Tombstone:"TombstoneContractInfo"}},ContractStorageKey:"[u8; 32]",Gas:"u64",PrefabWasmModule:{scheduleVersion:"Compact<u32>",initial:"Compact<u32>",maximum:"Compact<u32>",_reserved:"PrefabWasmModuleReserved",code:"Bytes"},PrefabWasmModuleReserved:"Option<Null>",Schedule:{version:"u32",putCodePerByteCost:"Gas",growMemCost:"Gas",regularOpCost:"Gas",returnDataPerByteCost:"Gas",eventDataPerByteCost:"Gas",eventPerTopicCost:"Gas",eventBaseCost:"Gas",sandboxDataReadCost:"Gas",sandboxDataWriteCost:"Gas",maxEventTopics:"u32",maxStackHeight:"u32",maxMemoryPages:"u32",enablePrintln:"bool",maxSubjectLen:"u32"},SeedOf:"Hash",TombstoneContractInfo:"Hash",TrieId:"Bytes"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={types:{CallMetadataV0:{name:"Text",functions:"Vec<FunctionMetadataV0>"},EventMetadataV0:{name:"Text",args:"Vec<Type>",documentation:"Vec<Text>"},FunctionArgumentMetadataV0:{name:"Text",type:"Type"},FunctionMetadataV0:{id:"u16",name:"Text",args:"Vec<FunctionArgumentMetadataV0>",documentation:"Vec<Text>"},MapTypeV0:{key:"Type",value:"Type"},MetadataV0:{outerEvent:"OuterEventMetadataV0",modules:"Vec<RuntimeModuleMetadataV0>",outerDispatch:"OuterDispatchMetadataV0"},ModuleMetadataV0:{name:"Text",call:"CallMetadataV0"},OuterDispatchCallV0:{name:"Text",prefix:"Text",index:"u16"},OuterDispatchMetadataV0:{name:"Text",calls:"Vec<OuterDispatchCallV0>"},OuterEventEventMetadataEventsV0:"Vec<EventMetadataV0>",OuterEventEventMetadataV0:"(Text, OuterEventEventMetadataEventsV0)",OuterEventMetadataV0:{name:"Text",events:"Vec<OuterEventEventMetadataV0>"},PlainTypeV0:"Type",RuntimeModuleMetadataV0:{prefix:"Text",module:"ModuleMetadataV0",storage:"Option<StorageMetadataV0>"},StorageFunctionMetadataV0:{name:"Text",modifier:"StorageFunctionModifierV0",type:"StorageFunctionTypeV0",fallback:"Bytes",documentation:"Vec<Text>"},StorageFunctionModifierV0:{_enum:["Optional","Default","Required"]},StorageFunctionTypeV0:{_enum:{Type:"PlainTypeV0",Map:"MapTypeV0"}},StorageMetadataV0:{prefix:"Text",functions:"Vec<StorageFunctionMetadataV0>"},EventMetadataV1:"EventMetadataV0",FunctionArgumentMetadataV1:"FunctionArgumentMetadataV0",FunctionMetadataV1:{name:"Text",args:"Vec<FunctionArgumentMetadataV1>",documentation:"Vec<Text>"},MetadataV1:{modules:"Vec<ModuleMetadataV1>"},ModuleMetadataV1:{name:"Text",prefix:"Text",storage:"Option<Vec<StorageFunctionMetadataV1>>",calls:"Option<Vec<FunctionMetadataV1>>",events:"Option<Vec<EventMetadataV1>>"},StorageFunctionMetadataV1:"StorageFunctionMetadataV0",StorageFunctionModifierV1:"StorageFunctionModifierV0",StorageFunctionTypeV1:"StorageFunctionTypeV0",EventMetadataV2:"EventMetadataV1",FunctionArgumentMetadataV2:"FunctionArgumentMetadataV1",FunctionMetadataV2:"FunctionMetadataV1",MapTypeV2:{key:"Type",value:"Type",linked:"bool"},PlainTypeV2:"Type",StorageFunctionModifierV2:"StorageFunctionModifierV1",DoubleMapTypeV3:{key1:"Type",key2:"Type",value:"Type",key2Hasher:"Text"},EventMetadataV3:"EventMetadataV2",FunctionArgumentMetadataV3:"FunctionArgumentMetadataV2",FunctionMetadataV3:"FunctionMetadataV2",MapTypeV3:"MapTypeV2",PlainTypeV3:"Type",StorageFunctionModifierV3:"StorageFunctionModifierV2",DoubleMapTypeV4:{hasher:"StorageHasher",key1:"Type",key2:"Type",value:"Type",key2Hasher:"Text"},EventMetadataV4:"EventMetadataV3",FunctionArgumentMetadataV4:"FunctionArgumentMetadataV3",FunctionMetadataV4:"FunctionMetadataV3",MapTypeV4:{hasher:"StorageHasher",key:"Type",value:"Type",linked:"bool"},PlainTypeV4:"Type",StorageFunctionModifierV4:"StorageFunctionModifierV3",DoubleMapTypeV5:{hasher:"StorageHasher",key1:"Type",key2:"Type",value:"Type",key2Hasher:"StorageHasher"},EventMetadataV5:"EventMetadataV4",FunctionArgumentMetadataV5:"FunctionArgumentMetadataV4",FunctionMetadataV5:"FunctionMetadataV4",MapTypeV5:"MapTypeV4",PlainTypeV5:"Type",StorageFunctionModifierV5:"StorageFunctionModifierV4",EventMetadataLatest:"EventMetadataV5",FunctionArgumentMetadataLatest:"FunctionArgumentMetadataV5",FunctionMetadataLatest:"FunctionMetadataV5",ModuleConstantMetadataLatest:"ModuleConstantMetadataV5",PlainTypeLatest:"PlainTypeV5",StorageEntryModifierLatest:"StorageEntryModifierV5"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={types:{SignedBalance:{_enum:{Positive:"Balance",Negative:"Balance"}},Gas:"u64",Schedule:{version:"u32",putCodePerByteCost:"Gas",growMemCost:"Gas",regularOpCost:"Gas",returnDataPerByteCost:"Gas",eventDataPerByteCost:"Gas",eventPerTopicCost:"Gas",eventBaseCost:"Gas",sandboxDataReadCost:"Gas",sandboxDataWriteCost:"Gas",maxEventTopics:"u32",maxStackHeight:"u32",maxMemoryPages:"u32",enablePrintln:"bool",maxSubjectLen:"u32"}}}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(14),i=r(67),o=r(223),a=r(1431),s=n(r(1432)),u=n(r(1434));t.default=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._pairs=void 0,this._type=void 0,this.decodeAddress=o.decodeAddress,this.encodeAddress=o.encodeAddress,this.setAddressPrefix=o.setAddressPrefix,e.type=e.type||"ed25519",(0,A.assert)(e&&["ed25519","sr25519"].includes(e.type||"undefined"),"Expected a keyring type of either 'ed25519' or 'sr25519', found '".concat(e.type)),this._pairs=new u.default,this._type=e.type,(0,o.setAddressPrefix)((0,A.isNumber)(e.addressPrefix)?e.addressPrefix:42)}get pairs(){return this.getPairs()}get publicKeys(){return this.getPublicKeys()}get type(){return this._type}addPair(e){return this._pairs.add(e)}addFromAddress(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.type,A=arguments.length>4?arguments[4]:void 0;const i=this.decodeAddress(e,A);return this.addPair((0,s.default)(n,{publicKey:i},t,r))}addFromJson(e,t){let{address:r,encoded:n,encoding:{content:i,version:o},meta:a}=e;const s="0"!==o&&Array.isArray(i)?i[1]:this.type;return this.addFromAddress(r,a,(0,A.hexToU8a)(n),s,t)}addFromMnemonic(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.type;return this.addFromUri(e,t,r)}addFromSeed(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.type;const n="sr25519"===r?(0,i.schnorrkelKeypairFromSeed)(e):(0,i.naclKeypairFromSeed)(e);return this.addPair((0,s.default)(r,n,t,null))}addFromUri(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.type;return this.addPair(this.createFromUri(e,t,r))}createFromUri(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.type;const n=0===e.indexOf("//")?"".concat(a.DEV_PHRASE).concat(e):e,{password:o,phrase:u,path:l}=(0,i.keyExtractSuri)(n);let c;if((0,A.isHex)(u,256))c=(0,A.hexToU8a)(u);else{const e=u,t=e.split(" ");[12,15,18,21,24].includes(t.length)?c=(0,i.mnemonicToMiniSecret)(u,o):((0,A.assert)(e.length<=32,"specified phrase is not a valid mnemonic and is invalid as a raw seed at > 32 bytes"),c=(0,A.stringToU8a)(e.padEnd(32)))}const f="sr25519"===r?(0,i.schnorrkelKeypairFromSeed)(c):(0,i.naclKeypairFromSeed)(c),d=(0,i.keyFromPath)(f,l,r);return(0,s.default)(r,d,t,null)}getPair(e){return this._pairs.get(e)}getPairs(){return this._pairs.all()}getPublicKeys(){return this._pairs.all().map(e=>{let{publicKey:t}=e;return t()})}removePair(e){this._pairs.remove(e)}toJson(e,t){return this._pairs.get(e).toJson(t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEV_SEED=t.DEV_PHRASE=void 0;t.DEV_PHRASE="bottom drive obey lake curtain smoke basket hold race lonely fit walk";t.DEV_SEED="0xfac7959dbfe72f052e5a0c3c8d6530f202b02fd8f9f5ca3580ec8deb7797479e"},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let{publicKey:r,secretKey:n}=t,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{type:e,address:()=>(0,o.encodeAddress)(r),decodePkcs8:(t,A)=>{const i=(0,a.default)(t,A||l);if(64===i.secretKey.length)r=i.publicKey,n=i.secretKey;else{const t=c(e,i.secretKey);r=t.publicKey,n=t.secretKey}},encodePkcs8:e=>(0,s.default)({publicKey:r,secretKey:n},e),getMeta:()=>i,isLocked:()=>!n||0===n.length,lock:()=>{n=new Uint8Array(0)},publicKey:()=>r,setMeta:e=>{i=(0,A.default)({},i,e)},sign:t=>f(e,t,{publicKey:r,secretKey:n}),toJson:t=>(0,u.default)(e,{meta:i,publicKey:r},(0,s.default)({publicKey:r,secretKey:n},t),!!t),verify:(t,n)=>d(e,t,n,r)}};var A=n(r(324)),i=r(67),o=r(223),a=n(r(847)),s=n(r(846)),u=n(r(1433));const l=e=>"sr25519"===e,c=(e,t)=>l(e)?(0,i.schnorrkelKeypairFromSeed)(t):(0,i.naclKeypairFromSeed)(t),f=(e,t,r)=>l(e)?(0,i.schnorrkelSign)(t,r):(0,i.naclSign)(t,r),d=(e,t,r,n)=>l(e)?(0,i.schnorrkelVerify)(t,r,n):(0,i.naclVerify)(t,r,n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,i){let{publicKey:o,meta:a}=t;return{address:(0,A.encodeAddress)(o),encoded:(0,n.u8aToHex)(r),encoding:{content:["pkcs8",e],type:i?"xsalsa20-poly1305":"none",version:"2"},meta:a}};var n=r(14),A=r(223)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(14),i=n(r(844));t.default=class{constructor(){this._map=void 0,this._map={}}add(e){return this._map[e.publicKey()]=e,e}all(){return Object.values(this._map)}get(e){const t=this._map[(0,i.default)(e)];return(0,A.assert)(t,()=>{const t=(0,A.isU8a)(e)||(0,A.isHex)(e)?(0,A.u8aToHex)((0,A.u8aToU8a)(e)):e;return"Unable to retrieve keypair '".concat(t,"'")}),t}remove(e){delete this._map[(0,i.default)(e)]}}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ValidityVote=t.ValidityAttestation=t.ImplicitCandidateSignature=t.ExplicitCandidateSignature=t.AvailabilityVote=t.CandidateReceipt=t.HeadData=t.EgressQueueRoot=t.BalanceUpload=t.CandidateSignature=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(39)),u=n(r(29)),l=n(r(80)),c=n(r(60)),f=n(r(226)),d=n(r(137)),g=n(r(100)),h=n(r(158)),p=n(r(873)),I=n(r(282)),B=n(r(475)),C=n(r(81)),m=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(I.default);t.CandidateSignature=m;var y=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(l.default.with([f.default,C.default]));t.BalanceUpload=y;var Q=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(l.default.with([p.default,g.default]));t.EgressQueueRoot=Q;var w=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(d.default);t.HeadData=w;var E=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{parachainIndex:p.default,collator:f.default,signature:m,headData:w,balanceUploads:c.default.with(y),egressQueueRoots:c.default.with(Q),fees:C.default,blockDataHash:g.default},e))}return(0,a.default)(t,e),t}(u.default);t.CandidateReceipt=E;var b=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(l.default.with([B.default,m]));t.AvailabilityVote=b;var v=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(m);t.ExplicitCandidateSignature=v;var D=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(m);t.ImplicitCandidateSignature=D;var M=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{Null:h.default,ImplicitCandidateSignature:D,ExplicitCandidateSignature:v},e))}return(0,a.default)(t,e),t}(s.default);t.ValidityAttestation=M;var k=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(l.default.with([B.default,M]));t.ValidityVote=k;var _=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{candidate:E,validityVotes:c.default.with(k),availabilityVotes:c.default.with(b)},e))}return(0,a.default)(t,e),t}(u.default);t.default=_},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(67),l=n(r(29)),c=n(r(125)),f=n(r(334)),d=n(r(100)),g=n(r(477)),h=n(r(476)),p=n(r(478)),I=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{nonce:c.default.with(g.default),method:f.default,era:h.default,blockHash:d.default,acceleration:c.default.with(p.default)},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"sign",value:function(e){var t=this.encode();return this._signature=e.sign(t),this._signature}},{key:"encode",value:function(){var e=this.toU8a();return e.length>256?(0,u.blake2AsU8a)(e):e}},{key:"isSigned",get:function(){return!(!this._signature||64!==this._signature.length)}},{key:"blockHash",get:function(){return this.get("blockHash")}},{key:"method",get:function(){return this.get("method")}},{key:"era",get:function(){return this.get("era")}},{key:"nonce",get:function(){return this.get("nonce")}},{key:"acceleration",get:function(){return this.get("acceleration")}},{key:"signature",get:function(){if(!this.isSigned)throw new Error("Transaction is not signed");return this._signature}}]),t}(l.default);t.default=I},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(89)),i=n(r(4)),o=n(r(18)),a=n(r(6)),s=n(r(5)),u=n(r(85)),l=n(r(7)),c=function(e){function t(e){return(0,i.default)(this,t),(0,a.default)(this,(0,s.default)(t).call(this,t.decodeChainProperties(e)))}return(0,l.default)(t,e),(0,o.default)(t,[{key:"get",value:function(e){return(0,u.default)((0,s.default)(t.prototype),"get",this).call(this,e)}},{key:"toHex",value:function(){throw new Error("Unimplemented")}},{key:"toJSON",value:function(){var e=this;return(0,A.default)(this.keys()).reduce(function(t,r){return t[r]=e.get(r),t},{})}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}},{key:"toU8a",value:function(e){throw new Error("Unimplemented")}},{key:"encodedLength",get:function(){return 0}}],[{key:"decodeChainProperties",value:function(e){return Object.entries(e||{})}}]),t}((0,n(r(124)).default)(Map));t.default=c},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(126)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.EventRecord_0_76=t.Phase=t.Finalization=t.ApplyExtrinsic=void 0;var A=n(r(18)),i=n(r(4)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(14),l=n(r(39)),c=n(r(29)),f=n(r(60)),d=n(r(100)),g=n(r(882)),h=n(r(158)),p=function(e){function t(){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).apply(this,arguments))}return(0,s.default)(t,e),t}(n(r(52)).default);t.ApplyExtrinsic=p;var I=function(e){function t(){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).apply(this,arguments))}return(0,s.default)(t,e),t}(h.default);t.Finalization=I;var B=function(e){function t(e,r){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{ApplyExtrinsic:p,Finalization:I},e,r))}return(0,s.default)(t,e),(0,A.default)(t,[{key:"asApplyExtrinsic",get:function(){return(0,u.assert)(this.isApplyExtrinsic,"Cannot convert '".concat(this.type,"' via asApplyExtrinsic")),this.value}},{key:"asFinalization",get:function(){return(0,u.assert)(this.isFinalization,"Cannot convert '".concat(this.type,"' via asFinalization")),this.value}},{key:"isApplyExtrinsic",get:function(){return"ApplyExtrinsic"===this.type}},{key:"isFinalization",get:function(){return"Finalization"===this.type}}]),t}(l.default);t.Phase=B;var C=function(e){function t(e){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{phase:B,event:g.default},e))}return(0,s.default)(t,e),(0,A.default)(t,[{key:"event",get:function(){return this.get("event")}},{key:"phase",get:function(){return this.get("phase")}},{key:"topics",get:function(){return new(f.default.with(d.default))}}]),t}(c.default);t.EventRecord_0_76=C;var m=function(e){function t(e){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{phase:B,event:g.default,topics:f.default.with(d.default)},e))}return(0,s.default)(t,e),(0,A.default)(t,[{key:"event",get:function(){return this.get("event")}},{key:"phase",get:function(){return this.get("phase")}},{key:"topics",get:function(){return this.get("topics")}}]),t}(c.default);t.default=m,m.Fallback=C},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Usurped=t.Invalid=t.Ready=t.Future=t.Finalized=t.Dropped=t.Broadcast=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(39)),u=n(r(60)),l=n(r(100)),c=n(r(158)),f=n(r(127)),d=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(u.default.with(f.default));t.Broadcast=d;var g=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(c.default);t.Dropped=g;var h=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(l.default);t.Finalized=h;var p=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(c.default);t.Future=p;var I=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(c.default);t.Ready=I;var B=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(c.default);t.Invalid=B;var C=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(l.default);t.Usurped=C;var m=function(e){function t(e,r){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{Future:p,Ready:I,Finalized:h,Usurped:C,Broadcast:d,Dropped:g,Invalid:B},e,r))}return(0,a.default)(t,e),t}(s.default);t.default=m},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(81)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,16,!1))}return(0,a.default)(t,e),t}(n(r(227)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,32,!1))}return(0,a.default)(t,e),t}(n(r(227)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,64,!1))}return(0,a.default)(t,e),t}(n(r(227)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,128,!1))}return(0,a.default)(t,e),t}(n(r(227)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,256,!1))}return(0,a.default)(t,e),t}(n(r(227)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(80)).default.with([]));t.default=s},function(e,t,r){var n=r(848),A=r(859),i=r(849);e.exports=function(e){return n(e)||A(e)||i()}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(335)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MisbehaviorKind=t.BftDoubleCommit=t.BftDoublePrepare=t.BftDoublePropose=t.BftProposeOutOfTurn=t.BftAtReport=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(39)),l=n(r(29)),c=n(r(283)),f=r(885),d=n(r(101)),g=n(r(100)),h=n(r(52)),p=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{round:h.default,a:f.BftHashSignature,b:f.BftHashSignature},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"a",get:function(){return this.get("a")}},{key:"b",get:function(){return this.get("b")}},{key:"round",get:function(){return this.get("round")}}]),t}(l.default);t.BftAtReport=p;var I=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{round:h.default,a:f.BftHashSignature},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"a",get:function(){return this.get("a")}},{key:"round",get:function(){return this.get("round")}}]),t}(l.default);t.BftProposeOutOfTurn=I;var B=function(e){function t(){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).apply(this,arguments))}return(0,s.default)(t,e),t}(p);t.BftDoublePropose=B;var C=function(e){function t(){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).apply(this,arguments))}return(0,s.default)(t,e),t}(p);t.BftDoublePrepare=C;var m=function(e){function t(){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).apply(this,arguments))}return(0,s.default)(t,e),t}(p);t.BftDoubleCommit=m;var y=function(e){function t(e,r){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{BftProposeOutOfTurn:I,BftDoublePropose:B,BftDoublePrepare:C,BftDoubleCommit:m},e,r))}return(0,s.default)(t,e),t}(u.default);t.MisbehaviorKind=y;var Q=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{parentHash:g.default,parentNumber:d.default,target:c.default,misbehavior:y},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"misbehavior",get:function(){return this.get("misbehavior")}},{key:"parentHash",get:function(){return this.get("parentHash")}},{key:"parentNumber",get:function(){return this.get("parentNumber")}},{key:"target",get:function(){return this.get("target")}}]),t}(l.default);t.default=Q},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(181)),s=n(r(5)),u=n(r(85)),l=n(r(7)),c=n(r(124)),f=n(r(17)),d=r(14),g=function(e){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(0,A.default)(this,t),(e=(0,o.default)(this,(0,s.default)(t).call(this,t.decodeMoment(r)))).raw=(0,a.default)(e),e}return(0,l.default)(t,e),(0,i.default)(t,[{key:"bitLength",value:function(){return 64}},{key:"toBn",value:function(){return new f.default(this.toNumber())}},{key:"toHex",value:function(){return(0,d.bnToHex)(this.toBn(),64)}},{key:"toJSON",value:function(){return this.toNumber()}},{key:"toNumber",value:function(){return Math.ceil(this.getTime()/1e3)}},{key:"toString",value:function(){return(0,u.default)((0,s.default)(t.prototype),"toString",this).call(this)}},{key:"toU8a",value:function(e){return(0,d.bnToU8a)(this.toNumber(),64,!0)}},{key:"encodedLength",get:function(){return 8}}],[{key:"decodeMoment",value:function(e){return e instanceof Date?e:((0,d.isU8a)(e)?e=(0,d.u8aToBn)(e.subarray(0,8),!0):(0,d.isString)(e)&&(e=new f.default(e,10,"le")),new Date(1e3*(0,d.bnToBn)(e).toNumber()))}}]),t}((0,c.default)(Date));t.default=g},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["NoHint","GoodHint","BadHint"],e))}return(0,a.default)(t,e),t}(n(r(39)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){throw(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this)),new Error("Origin should not be constructed, it is only a placeholder for compatibility")}return(0,a.default)(t,e),t}(n(r(158)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(876)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(52)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(52)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(52)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(52)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(52)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(101)),l=n(r(29)),c=n(r(479)),f=n(r(887)),d=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{end:u.default,proposal:c.default,threshold:f.default,delay:u.default},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"end",get:function(){return this.get("end")}},{key:"proposal",get:function(){return this.get("proposal")}},{key:"threshold",get:function(){return this.get("threshold")}},{key:"delay",get:function(){return this.get("delay")}}]),t}(l.default);t.default=d},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RuntimeVersionApi=t.ApiId=void 0;var A=n(r(18)),i=n(r(4)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(29)),l=n(r(80)),c=n(r(99)),f=n(r(60)),d=n(r(127)),g=n(r(52)),h=function(e){function t(e){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,e,64))}return(0,s.default)(t,e),t}(c.default);t.ApiId=h;var p=function(e){function t(e){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,[h,g.default],e))}return(0,s.default)(t,e),(0,A.default)(t,[{key:"id",get:function(){return this[0]}},{key:"version",get:function(){return this[1]}}]),t}(l.default);t.RuntimeVersionApi=p;var I=function(e){function t(e){return(0,i.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{specName:d.default,implName:d.default,authoringVersion:g.default,specVersion:g.default,implVersion:g.default,apis:f.default.with(p)},e,new Map([["authoringVersion","authoring_version"],["implName","impl_name"],["implVersion","impl_version"],["specName","spec_name"],["specVersion","spec_version"]])))}return(0,s.default)(t,e),(0,A.default)(t,[{key:"apis",get:function(){return this.get("apis")}},{key:"authoringVersion",get:function(){return this.get("authoringVersion")}},{key:"implName",get:function(){return this.get("implName")}},{key:"implVersion",get:function(){return this.get("implVersion")}},{key:"specName",get:function(){return this.get("specName")}},{key:"specVersion",get:function(){return this.get("specVersion")}}]),t}(u.default);t.default=I},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(29)),l=n(r(875)),c=n(r(886)),f=function(e){function t(e){var r;return(0,A.default)(this,t),(r=(0,o.default)(this,(0,a.default)(t).call(this,{block:l.default,justification:c.default},e)))._raw=e,r}return(0,s.default)(t,e),(0,i.default)(t,[{key:"raw",get:function(){return this._raw}},{key:"block",get:function(){return this.get("block")}},{key:"hash",get:function(){return this.block.hash}},{key:"justification",get:function(){return this.get("justification")}}]),t}(u.default);t.default=f},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(29)),l=n(r(60)),c=n(r(100)),f=r(883),d=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{block:c.default,changes:l.default.with(f.KeyValueOption)},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"changes",get:function(){return this.get("changes")}},{key:"block",get:function(){return this.get("block")}}]),t}(u.default);t.default=d},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.NextAuthority=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(29)),l=n(r(80)),c=n(r(60)),f=n(r(101)),d=n(r(475)),g=n(r(81)),h=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,[d.default,g.default],e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"index",get:function(){return this[1]}},{key:"sessionKey",get:function(){return this[0]}}]),t}(l.default);t.NextAuthority=h;var p=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{scheduledAt:f.default,delay:f.default,nextAuthorities:c.default.with(h)},e,new Map([["scheduledAt","scheduled_at"],["nextAuthorities","next_authorities"]])))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"delay",get:function(){return this.get("delay")}},{key:"nextAuthorities",get:function(){return this.get("nextAuthorities")}},{key:"scheduledAt",get:function(){return this.get("scheduledAt")}}]),t}(u.default);t.default=p},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(127)),l=["Compact","Option","Vec","BTreeMap"],c=function(e){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";(0,A.default)(this,t);var n=new u.default(r);return(e=(0,o.default)(this,(0,a.default)(t).call(this,t.decodeType(n.toString()))))._originalLength=n.encodedLength,e}return(0,s.default)(t,e),(0,i.default)(t,[{key:"toU8a",value:function(e){throw new Error("Type::toU8a: unimplemented")}},{key:"encodedLength",get:function(){return this._originalLength}}],[{key:"decodeType",value:function(e){return[t._alias("<T::InherentOfflineReport as InherentOfflineReport>::Inherent","InherentOfflineReport"),t._cleanupCompact(),t._removeTraits(),t._removePairOf(),t._removeWrap("Box"),t._removeGenerics(),t._alias("XString","Text"),t._alias("String","Text"),t._alias("\\(\\)","Null"),t._alias("Compact<Index>","IndexCompact"),t._alias("Vec<u8>","Bytes"),t._alias("RawAddress","Address"),t._alias("Lookup::Source","Address"),t._alias("Lookup::Target","AccountId"),t._flattenSingleTuple()].reduce(function(e,t){return t(e)},e).trim()}},{key:"_findClosing",value:function(e,t){for(var r=0,n=t;n<e.length;n++)if(">"===e[n]){if(!r)return n;r--}else"<"===e[n]&&r++;throw new Error("Unable to find closing matching <> on '".concat(e,"' (start ").concat(t,")"))}},{key:"_alias",value:function(e,t){return function(r){return r.replace(new RegExp(e,"g"),t)}}},{key:"_cleanupCompact",value:function(){return function(e){for(var r=0;r<e.length;r++)if("<"===e[r]){var n=t._findClosing(e,r+1)-14;" as HasCompact"===e.substr(n,14)&&(e="Compact<".concat(e.substr(r+1,n-r-1),">"))}return e}}},{key:"_flattenSingleTuple",value:function(){return function(e){return e.replace(/\(([^,]*)\)/,"$1")}}},{key:"_removeGenerics",value:function(){return function(e){for(var r=function(r){if("<"===e[r]&&!l.find(function(t){var n=r-t.length;return n>=0&&e.substr(n,t.length)===t})){var n=t._findClosing(e,r+1);e="".concat(e.substr(0,r)).concat(e.substr(n+1))}},n=0;n<e.length;n++)r(n);return e}}},{key:"_removePairOf",value:function(){return function(e){for(var r=0;r<e.length;r++)if("PairOf<"===e.substr(r,7)){var n=r+7,A=t._findClosing(e,n),i=e.substr(n,A-n);e="".concat(e.substr(0,r),"(").concat(i,",").concat(i,")").concat(e.substr(A+1))}return e}}},{key:"_removeTraits",value:function(){return function(e){return e.replace(/\s/g,"").replace(/T::/g,"").replace(/Self::/g,"").replace(/system::/g,"").replace(/<TasTrait>::/g,"").replace(/<SelfasTrait>::/g,"").replace(/<LookupasStaticLookup>/g,"Lookup").replace(/::Type/g,"")}}},{key:"_removeWrap",value:function(e){var r="".concat(e,"<");return function(e){for(var n=0;-1!==n;)if(-1!==(n=e.indexOf(r))){var A=n+r.length,i=t._findClosing(e,A);e="".concat(e.substr(0,n)).concat(e.substr(A,i-A)).concat(e.substr(i+1))}return e}}}]),t}(u.default);t.default=c},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,8,!1))}return(0,a.default)(t,e),t}(n(r(183)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,256))}return(0,a.default)(t,e),t}(n(r(183)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(29)),l=n(r(201)),c=n(r(52)),f=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{unstakeThreshold:c.default,validatorPayment:l.default},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"unstakeThreshold",get:function(){return this.get("unstakeThreshold")}},{key:"validatorPayment",get:function(){return this.get("validatorPayment")}}]),t}(u.default);t.default=f},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(335)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(52)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(127)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(127)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(127)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(333),l=r(14),c=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array;return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,t.decodeAccountId(e),256))}return(0,s.default)(t,e),(0,i.default)(t,null,[{key:"encode",value:function(e){return(0,u.encodeAddress)(e)}},{key:"decodeAccountId",value:function(e){return(0,l.isU8a)(e)||Array.isArray(e)?(0,l.u8aToU8a)(e):(0,l.isHex)(e)?(0,l.hexToU8a)(e.toString()):(0,l.isString)(e)?(0,u.decodeAddress)(e.toString()):e}}]),t}(n(r(99)).default);t.default=c},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(52)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["Limit","Market"],e))}return(0,a.default)(t,e),t}(n(r(39)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["Buy","Sell"],e))}return(0,a.default)(t,e),t}(n(r(39)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(201)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(81)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["ZeroFill","ParitialFill","Filled","ParitialFillAndCanceled","Canceled"],e))}return(0,a.default)(t,e),t}(n(r(39)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(127)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["Free","ReservedStaking","ReservedStakingRevocation","ReservedWithdrawal","ReservedDexSpot","ReservedDexFuture","ReservedCurrency","ReservedXRC20","GasPayment"],e))}return(0,a.default)(t,e),t}(n(r(39)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["Withdraw","Deposit","HotAndCold","TrusteeTransition","Lock","Unlock","Irrelevance"],e))}return(0,a.default)(t,e),t}(n(r(39)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["Init","Update"],e))}return(0,a.default)(t,e),t}(n(r(39)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,160))}return(0,a.default)(t,e),t}(n(r(99)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(29)),u=n(r(137)),l=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{hotAddress:u.default,coldAddress:u.default},e))}return(0,a.default)(t,e),t}(s.default);t.default=l},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TrusteeEntityType=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(137)),u=n(r(39)),l=n(r(80)),c=(r(14),function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["Bitcoin"],e))}return(0,a.default)(t,e),t}(u.default));t.TrusteeEntityType=c;var f=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,[c,s.default],e))}return(0,a.default)(t,e),t}(l.default);t.default=f},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(481)),u=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{first:s.default,second:s.default},e))}return(0,a.default)(t,e),t}(n(r(29)).default);t.default=u},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(158)),u=n(r(52)),l=n(r(39)),c=n(r(80)),f=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(s.default),d=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(s.default),g=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(s.default),h=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(s.default),p=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(s.default),I=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(c.default.with([u.default,u.default])),B=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(s.default),C=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(s.default),m=function(e){function t(e,r){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{NotApplying:f,Applying:d,Signing:g,Broadcasting:h,Processing:p,Confirming:I,Confirmed:B,Unknown:C},e,r))}return(0,a.default)(t,e),t}(l.default);t.default=m},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(81)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(81)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(29)),u=n(r(881)),l=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{global:u.default,spot:u.default,xbtc:u.default,sdot:u.default},e))}return(0,a.default)(t,e),t}(s.default);t.default=l},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(1494)),u=n(r(891)),l=n(r(890)),c=n(r(39)),f=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(u.default),d=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(l.default),g=function(e){function t(e,r){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{Normal:f,Compressed:d},e,r))}return(0,a.default)(t,e),t}(c.default),h=s.default.with(g);t.default=h},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(29)),l=n(r(127)),c=function(e){function t(){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,i.default)(t,null,[{key:"with",value:function(e){return u.default.with({about:l.default,hotEntity:e,coldEntity:e})}}]),t}(u.default);t.default=c},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(1496)),u=n(r(892)),l=n(r(137)),c=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{addr:u.default,redeemScript:l.default},e))}return(0,a.default)(t,e),t}(n(r(29)).default),f=s.default.with(c);t.default=f},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(29)),l=n(r(60)),c=n(r(226)),f=function(e){function t(){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,i.default)(t,null,[{key:"with",value:function(e){return u.default.with({trusteeList:l.default.with(c.default),hotAddress:e,coldAddress:e})}}]),t}(u.default);t.default=f},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["Applying","Processing","NormalFinish","RootFinish","NormalCancel","RootCancel"],e))}return(0,a.default)(t,e),t}(n(r(39)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(29)),u=n(r(474)),l=n(r(335)),c=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{r:u.default,s:u.default,v:l.default},e))}return(0,a.default)(t,e),t}(s.default);t.default=c},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).apply(this,arguments))}return(0,a.default)(t,e),t}(n(r(137)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(29)),u=n(r(481)),l=n(r(889)),c=n(r(893)),f=n(r(894)),d=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{token:u.default,token_name:u.default,chain:l.default,precision:c.default,desc:f.default},e))}return(0,a.default)(t,e),t}(s.default);t.default=d},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["CanMove","CanTransfer","CanDeposit","CanWithdraw","CanDestroyWithdrawal","CanDestroyFree"],e))}return(0,a.default)(t,e),t}(n(r(39)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,["Global","Spot","XBTC","XBTCLockup","SDOT","XContracts"],e))}return(0,a.default)(t,e),t}(n(r(39)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(29)),u=n(r(52)),l=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{minTrusteeCount:u.default,maxTrusteeCount:u.default},e))}return(0,a.default)(t,e),t}(s.default);t.default=l},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(29)),u=n(r(60)),l=n(r(80)),c=n(r(482)),f=n(r(52)),d=n(r(226)),g=n(r(336)),h=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{addrType:c.default,requiredNum:f.default,ownerList:u.default.with(l.default.with([d.default,g.default]))},e))}return(0,a.default)(t,e),t}(s.default);t.default=h},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(29)),u=(n(r(482)),n(r(479))),l=n(r(52)),c=n(r(81)),f=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{yetNeeded:l.default,ownersDone:c.default,proposal:u.default},e))}return(0,a.default)(t,e),t}(s.default);t.default=f},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(29)),u=n(r(81)),l=n(r(101)),c=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{lastDepositWeight:u.default,lastDepositWeightUpdate:l.default},e))}return(0,a.default)(t,e),t}(s.default);t.default=c},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(29)),u=n(r(284)),l=n(r(101)),c=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{lastDepositWeight:u.default,lastDepositWeightUpdate:l.default},e))}return(0,a.default)(t,e),t}(s.default);t.default=c},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(29)),u=n(r(201)),l=n(r(81)),c=n(r(101)),f=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{totalNomination:u.default,lastTotalVoteWeight:l.default,lastTotalVoteWeightUpdate:c.default},e))}return(0,a.default)(t,e),t}(s.default);t.default=f},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(29)),u=n(r(201)),l=n(r(284)),c=n(r(101)),f=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{totalNomination:u.default,lastTotalVoteWeight:l.default,lastTotalVoteWeightUpdate:c.default},e))}return(0,a.default)(t,e),t}(s.default);t.default=f},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(29)),u=n(r(60)),l=n(r(80)),c=n(r(201)),f=n(r(101)),d=n(r(336)),g=n(r(81)),h=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{nomination:c.default,lastVoteWeight:g.default,lastVoteWeightUpdate:f.default,revocations:u.default.with(l.default.with([AccountId,d.default]))},e))}return(0,a.default)(t,e),t}(s.default);t.default=h},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(29)),u=n(r(60)),l=n(r(80)),c=n(r(201)),f=n(r(101)),d=n(r(336)),g=n(r(284)),h=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{nomination:c.default,lastVoteWeight:g.default,lastVoteWeightUpdate:f.default,revocations:u.default.with(l.default.with([AccountId,d.default]))},e))}return(0,a.default)(t,e),t}(s.default);t.default=h},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(29)),u=n(r(81)),l=n(r(101)),c=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{lastTotalDepositWeight:u.default,lastTotalDepositWeightUpdate:l.default},e))}return(0,a.default)(t,e),t}(s.default);t.default=c},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=n(r(29)),u=n(r(284)),l=n(r(101)),c=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,{lastTotalDepositWeight:u.default,lastTotalDepositWeightUpdate:l.default},e))}return(0,a.default)(t,e),t}(s.default);t.default=c},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(6)),o=n(r(5)),a=n(r(7)),s=function(e){function t(e){return(0,A.default)(this,t),(0,i.default)(this,(0,o.default)(t).call(this,e,32))}return(0,a.default)(t,e),t}(n(r(99)).default);t.default=s},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,["BalanceOf","TotalSupply","Name","Symbol","Decimals","Issue","Destroy"],e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"toJSON",value:function(){return Object.keys(this._def)[this._index]}}]),t}(n(r(39)).default);t.default=u},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(14),l=r(896),c=n(r(1517)),f=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,t.decodeMetadata(e)))}return(0,s.default)(t,e),(0,i.default)(t,null,[{key:"decodeMetadata",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array,t=(0,u.isHex)(e)?(0,u.hexToU8a)(e):e;try{return new c.default(t)}catch(e){if(-1===e.message.indexOf("MagicNumber mismatch"))throw e}return new c.default((0,u.u8aConcat)(l.MAGIC_NUMBER.toU8a(),Uint8Array.from([0]),t))}}]),t}(c.default);t.default=f},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(14),l=n(r(39)),c=n(r(29)),f=n(r(896)),d=n(r(897)),g=n(r(898)),h=n(r(899)),p=n(r(483)),I=n(r(1522)),B=n(r(1523)),C=n(r(1524)),m=n(r(1525)),y=n(r(1526)),Q=r(1527),w=function(e){function t(e,r){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{V0:"MetadataV0",V1:"MetadataV1",V2:d.default,V3:g.default,V4:h.default,V5:p.default},e,r))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"asV0",get:function(){return(0,u.assert)(this.isV0,"Cannot convert '".concat(this.type,"' via asV0")),this.value}},{key:"asV1",get:function(){return(0,u.assert)(this.isV1,"Cannot convert '".concat(this.type,"' via asV1")),this.value}},{key:"asV2",get:function(){return(0,u.assert)(this.isV2,"Cannot convert '".concat(this.type,"' via asV2")),this.value}},{key:"asV3",get:function(){return(0,u.assert)(this.isV3,"Cannot convert '".concat(this.type,"' via asV3")),this.value}},{key:"asV4",get:function(){return(0,u.assert)(this.isV4,"Cannot convert '".concat(this.type,"' via asV4")),this.value}},{key:"asV5",get:function(){return(0,u.assert)(this.isV5,"Cannot convert '".concat(this.type,"' via asV5")),this.value}},{key:"isDeprecated",get:function(){return"MetadataDeprectated"===this.type}},{key:"isV0",get:function(){return"V0"===this.type}},{key:"isV1",get:function(){return"V1"===this.type}},{key:"isV2",get:function(){return"V2"===this.type}},{key:"isV3",get:function(){return"V3"===this.type}},{key:"isV4",get:function(){return"V4"===this.type}},{key:"isV5",get:function(){return"V5"===this.type}}]),t}(l.default),E=function(e){function t(e){var r;return(0,A.default)(this,t),(r=(0,o.default)(this,(0,a.default)(t).call(this,{magicNumber:f.default,metadata:w},e)))._converted=new Map,r}return(0,s.default)(t,e),(0,i.default)(t,[{key:"assertVersion",value:function(e){return(0,u.assert)(this.version<=e,"Cannot convert metadata from v".concat(this.version," to v").concat(e)),this.version===e}},{key:"getVersion",value:function(e,t){var r="asV".concat(e),n="asV".concat(e-1);return this.assertVersion(e)?this.metadata[r]:(this._converted.has(e)||this._converted.set(e,t(this[n])),this._converted.get(e))}},{key:"getUniqTypes",value:function(e){return(0,Q.getUniqTypes)(this.asLatest,e)}},{key:"asCallsOnly",get:function(){return new t({magicNumber:this.magicNumber,metadata:new w((0,Q.toCallsOnly)(this.asLatest),this.version)})}},{key:"asV0",get:function(){return this.assertVersion(0),this.metadata.asV0}},{key:"asV1",get:function(){return this.getVersion(1,I.default)}},{key:"asV2",get:function(){return this.getVersion(2,B.default)}},{key:"asV3",get:function(){return this.getVersion(3,C.default)}},{key:"asV4",get:function(){return this.getVersion(4,m.default)}},{key:"asV5",get:function(){return this.getVersion(5,y.default)}},{key:"asLatest",get:function(){return this.asV5}},{key:"magicNumber",get:function(){return this.get("magicNumber")}},{key:"metadata",get:function(){return this.get("metadata")}},{key:"version",get:function(){return this.metadata.index}}]),t}(c.default);t.default=E},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ModuleMetadataV2=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(182)),l=n(r(29)),c=n(r(60)),f=r(1519),d=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{name:"Text",prefix:"Text",storage:u.default.with(c.default.with(f.StorageFunctionMetadata)),calls:u.default.with("Vec<FunctionMetadataV2>"),events:u.default.with("Vec<EventMetadataV2>")},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"calls",get:function(){return this.get("calls")}},{key:"events",get:function(){return this.get("events")}},{key:"name",get:function(){return this.get("name")}},{key:"prefix",get:function(){return this.get("prefix")}},{key:"storage",get:function(){return this.get("storage")}}]),t}(l.default);t.ModuleMetadataV2=d;var g=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{modules:c.default.with(d)},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"modules",get:function(){return this.get("modules")}}]),t}(l.default);t.default=g},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.StorageFunctionMetadata=t.StorageFunctionType=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(14),l=n(r(39)),c=n(r(29)),f=function(e){function t(e,r){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{Type:"PlainTypeV2",Map:"MapTypeV2"},e,r))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"toString",value:function(){return this.isMap?this.asMap.linked.isTrue?"(".concat(this.asMap.value.toString(),", Linkage<").concat(this.asMap.key.toString(),">)"):this.asMap.value.toString():this.asType.toString()}},{key:"asMap",get:function(){return(0,u.assert)(this.isMap,"Cannot convert '".concat(this.type,"' via asMap")),this.value}},{key:"asType",get:function(){return(0,u.assert)(this.isPlainType,"Cannot convert '".concat(this.type,"' via asType")),this.value}},{key:"isMap",get:function(){return 1===this.toNumber()}},{key:"isPlainType",get:function(){return 0===this.toNumber()}}]),t}(l.default);t.StorageFunctionType=f;var d=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{name:"Text",modifier:"StorageFunctionModifierV2",type:f,fallback:"Bytes",documentation:"Vec<Text>"},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"documentation",get:function(){return this.get("documentation")}},{key:"fallback",get:function(){return this.get("fallback")}},{key:"modifier",get:function(){return this.get("modifier")}},{key:"name",get:function(){return this.get("name")}},{key:"type",get:function(){return this.get("type")}}]),t}(c.default);t.StorageFunctionMetadata=d},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ModuleMetadataV3=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=n(r(182)),l=n(r(29)),c=n(r(60)),f=r(1521),d=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{name:"Text",prefix:"Text",storage:u.default.with(c.default.with(f.StorageFunctionMetadata)),calls:u.default.with("Vec<FunctionMetadataV3>"),events:u.default.with("Vec<EventMetadataV3>")},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"calls",get:function(){return this.get("calls")}},{key:"events",get:function(){return this.get("events")}},{key:"name",get:function(){return this.get("name")}},{key:"prefix",get:function(){return this.get("prefix")}},{key:"storage",get:function(){return this.get("storage")}}]),t}(l.default);t.ModuleMetadataV3=d;var g=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{modules:c.default.with(d)},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"modules",get:function(){return this.get("modules")}}]),t}(l.default);t.default=g},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.StorageFunctionMetadata=t.StorageFunctionType=void 0;var A=n(r(4)),i=n(r(18)),o=n(r(6)),a=n(r(5)),s=n(r(7)),u=r(14),l=n(r(39)),c=n(r(29)),f=function(e){function t(e,r){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{Type:"PlainTypeV3",Map:"MapTypeV3",DoubleMap:"DoubleMapTypeV3"},e,r))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"toString",value:function(){return this.isDoubleMap?"DoubleMap<".concat(this.asDoubleMap.toString(),">"):this.isMap?this.asMap.linked.isTrue?"(".concat(this.asMap.value.toString(),", Linkage<").concat(this.asMap.key.toString(),">)"):this.asMap.value.toString():this.asType.toString()}},{key:"asDoubleMap",get:function(){return(0,u.assert)(this.isDoubleMap,"Cannot convert '".concat(this.type,"' via asDoubleMap")),this.value}},{key:"asMap",get:function(){return(0,u.assert)(this.isMap,"Cannot convert '".concat(this.type,"' via asMap")),this.value}},{key:"asType",get:function(){return(0,u.assert)(this.isPlainType,"Cannot convert '".concat(this.type,"' via asType")),this.value}},{key:"isDoubleMap",get:function(){return 2===this.toNumber()}},{key:"isMap",get:function(){return 1===this.toNumber()}},{key:"isPlainType",get:function(){return 0===this.toNumber()}}]),t}(l.default);t.StorageFunctionType=f;var d=function(e){function t(e){return(0,A.default)(this,t),(0,o.default)(this,(0,a.default)(t).call(this,{name:"Text",modifier:"StorageFunctionModifierV3",type:f,fallback:"Bytes",documentation:"Vec<Text>"},e))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"documentation",get:function(){return this.get("documentation")}},{key:"fallback",get:function(){return this.get("fallback")}},{key:"modifier",get:function(){return this.get("modifier")}},{key:"name",get:function(){return this.get("name")}},{key:"type",get:function(){return this.get("type")}}]),t}(c.default);t.StorageFunctionMetadata=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.createType)("MetadataV1",{modules:e.modules.map(function(t){var r,o,a,s,u=t.storage.isSome?t.storage.unwrap().prefix.toString():(0,n.stringUpperFirst)(t.prefix.toString());return(0,A.createType)("ModuleMetadataV1",{name:t.prefix,prefix:u,storage:(a=t,s=a.storage,s.isSome?new A.Option("Vec<StorageFunctionMetadataV1>",s.unwrap().functions):new A.Option("Vec<StorageFunctionMetadataV1>")),calls:(r=t,o=r.module.call.functions,o.length?new A.Option(A.Vec.with("FunctionMetadataV1"),o):new A.Option(A.Vec.with("FunctionMetadataV1"))),events:i(e,t.prefix)})})})};var n=r(14),A=r(157);function i(e,t){var r=e.outerEvent.events.find(function(e){return e[0].eq(t)});return r?new A.Option(A.Vec.with("EventMetadataV1"),r[1]):new A.Option(A.Vec.with("EventMetadataV1"))}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new A.default(e)};var A=n(r(897))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return new A.default(e)};var A=n(r(898))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.modules;return new a.default({modules:t.map(function(e){var t=e.calls,r=e.events,n=e.name,A=e.prefix,o=e.storage;return new s.ModuleMetadataV4({calls:t,events:r,name:n,prefix:A,storage:o.isSome?new i.Option(i.Vec.with(u.StorageFunctionMetadata),o.unwrap().map(l)):void 0})})})};var A=n(r(59)),i=r(157),o=n(r(480)),a=n(r(899)),s=r(900),u=r(901);function l(e){var t=e.documentation,r=e.fallback,n=e.modifier,a=e.name,s=e.type,l=s.isPlainType?[s,0]:s.isMap?[(0,i.createType)("MapTypeV4",{hasher:new o.default("Twox128"),key:s.asMap.key,value:s.asMap.value,linked:s.asMap.linked}),1]:[(0,i.createType)("DoubleMapTypeV4",{hasher:new o.default("Twox128"),key1:s.asDoubleMap.key1,key2:s.asDoubleMap.key2,value:s.asDoubleMap.value,key2Hasher:s.asDoubleMap.key2Hasher}),2],c=(0,A.default)(l,2),f=c[0],d=c[1];return new u.StorageFunctionMetadata({documentation:t,fallback:r,name:a,modifier:n,type:new u.StorageFunctionType(f,d)})}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.modules;return new s.default({modules:t.map(function(e){var t=e.calls,r=e.events,n=e.name,A=e.prefix,i=e.storage;return new u.ModuleMetadataV5({name:n,prefix:A,storage:i.isSome?new o.Option(o.Vec.with(l.StorageFunctionMetadata),i.unwrap().map(f)):void 0,calls:t,events:r})})})};var A=n(r(59)),i=r(14),o=r(157),a=n(r(480)),s=n(r(483)),u=r(902),l=r(484),c=new Map([["blake2_128","Blake2_128"],["blake2_256","Blake2_256"],["twox_128","Twox128"],["twox_256","Twox256"],["twox_64_concat","Twox64Concat"]]);function f(e){var t,r,n=e.documentation,s=e.fallback,u=e.modifier,f=e.name,d=e.type,g=d.isPlainType?[d,0]:d.isMap?[d.asMap,1]:[(0,o.createType)("DoubleMapTypeV5",{hasher:d.asDoubleMap.hasher,key1:d.asDoubleMap.key1,key2:d.asDoubleMap.key2,value:d.asDoubleMap.value,key2Hasher:(t=d.asDoubleMap.key2Hasher,r=c.get(t.toString()),(0,i.assert)(r,"Invalid Storage hasher: ".concat(t.toString())),new a.default(r))}),2],h=(0,A.default)(g,2),p=h[0],I=h[1];return new l.StorageFunctionMetadata({documentation:n,fallback:s,name:f,modifier:u,type:new l.StorageFunctionType(p,I)})}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"flattenUniq",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"getUniqTypes",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"toCallsOnly",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"validateTypes",{enumerable:!0,get:function(){return a.default}});var A=n(r(485)),i=n(r(1528)),o=n(r(1529)),a=n(r(903))},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=(0,i.default)([(n=e,A=n.modules,A.map(function(e){return function(e){return e.calls?e.calls.unwrapOr([]):e.module?e.module.call.functions:[]}(e).map(function(e){var t=e.args;return t.map(function(e){return e.type.toString()})})})),a(e),s(e),u(e)]);var n,A;return(0,o.default)(r,t),r};var A=n(r(59)),i=n(r(485)),o=n(r(903));function a(e){return e.modules.map(function(e){var t=e.constants;return t?t.map(function(e){return e.type.toString()}):[]})}function s(e){var t=e.modules,r=e.outerEvent,n=function(e){return e.args.map(function(e){return e.toString()})};return r?r.events.map(function(e){return(0,A.default)(e,2)[1].map(n)}):t.map(function(e){return function(e){return e?e.unwrapOr([]):[]}(e.events).map(n)})}function u(e){return e.modules.map(function(e){return function(e){if(!e)return[];var t=e.unwrapOr([]);return Array.isArray(t)?t:t.items||t.functions}(e.storage).map(function(e){var t=e.type;return t.isDoubleMap&&t.asDoubleMap?[t.asDoubleMap.key1.toString(),t.asDoubleMap.key2.toString(),t.asDoubleMap.value.toString()]:t.isMap?[t.asMap.key.toString(),t.asMap.value.toString()]:[t.asType.toString()]})})}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.modules;return new A.default({modules:t.map(function(e){var t=e.calls;return{name:e.name,calls:t}})}).toJSON()};var A=n(r(483))},function(e,t,r){e.exports=r(1531)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fromMetadata",{enumerable:!0,get:function(){return i.default}}),t.default=void 0;var A=r(904),i=n(r(1534)),o=A.storage;t.default=o},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.changesTrieConfig=t.extrinsicIndex=t.authorityPrefix=t.authorityCount=t.heapPages=t.code=void 0;var A=r(225),i=r(905),o=n(r(906)),a=function(e,t,r){var n=r.documentation,a=r.type;return(0,o.default)(new A.Text("Substrate"),new A.Text(e),{documentation:new A.Vec(A.Text,[n]),modifier:new A.createType("StorageFunctionModifierV5",1),type:new i.StorageFunctionType(a,0),toJSON:function(){return t}},{key:t,skipHashing:!0})},s=a("code",":code",{documentation:"Wasm code of the runtime.",type:"Bytes"});t.code=s;var u=a("heapPages",":heappages",{documentation:"Number of wasm linear memory pages required for execution of the runtime.",type:"u64"});t.heapPages=u;var l=a("authorityCount",":auth:len",{documentation:"Number of authorities.",type:"u32"});t.authorityCount=l;var c=a("authorityPrefix",":auth:",{documentation:"Prefix under which authorities are stored.",type:"u32"});t.authorityPrefix=c;var f=a("extrinsicIndex",":extrinsic_index",{documentation:"Current extrinsic index (u32) is stored under this key.",type:"u32"});t.extrinsicIndex=f;var d=a("changesTrieConfig",":changes_trie",{documentation:"Changes trie configuration is stored under this key.",type:"u32"});t.changesTrieConfig=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return function(e){return(0,n.xxhashAsU8a)(e,128)};if(e.isBlake2128)return function(e){return(0,n.blake2AsU8a)(e,128)};if(e.isBlake2256)return function(e){return(0,n.blake2AsU8a)(e,256)};if(e.isTwox128)return function(e){return(0,n.xxhashAsU8a)(e,128)};if(e.isTwox256)return function(e){return(0,n.xxhashAsU8a)(e,256)};return function(e){return(0,n.xxhashAsU8a)(e,128)}};var n=r(67)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.asV5.modules.reduce(function(e,t){if(t.storage.isNone)return e;var r=t.prefix;return e[(0,i.stringLowerFirst)(r.toString())]=t.storage.unwrap().reduce(function(e,t){return e[(0,i.stringLowerFirst)(t.name.toString())]=(0,o.default)(r,t.name,t),e},{}),e},function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(r,!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},a.storage))};var A=n(r(66)),i=r(14),o=n(r(906)),a=r(904);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}},function(e,t,r){e.exports=r(1536)},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(89)),i=n(r(4)),o=n(r(18)),a=n(r(280)),s=r(1057),u=r(367),l=r(14),c=n(r(856)),f=function(){function e(t){(0,i.default)(this,e),this._api=t instanceof c.default?t:new c.default(t),this._cacheMap={},this._eventemitter=new a.default,this._isConnected=new s.BehaviorSubject(this._api._provider.isConnected()),this.initEmitters(this._api._provider),this.author=this.createInterface("author",this._api.author),this.chain=this.createInterface("chain",this._api.chain),this.state=this.createInterface("state",this._api.state),this.system=this.createInterface("system",this._api.system),this.chainx=this.createInterface("chainx",this._api.chainx)}return(0,o.default)(e,[{key:"isConnected",value:function(){return this._isConnected}},{key:"on",value:function(e,t){this._eventemitter.on(e,t)}},{key:"emit",value:function(e){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),A=1;A<r;A++)n[A-1]=arguments[A];(t=this._eventemitter).emit.apply(t,[e].concat(n))}},{key:"initEmitters",value:function(e){var t=this;e.on("connected",function(){t._isConnected.next(!0),t.emit("connected")}),e.on("disconnected",function(){t._isConnected.next(!1),t.emit("disconnected")})}},{key:"createInterface",value:function(e,t){var r=this;return Object.keys(t).filter(function(e){return!["subscribe","unsubscribe"].includes(e)}).reduce(function(n,A){return n[A]=r.createObservable("".concat(e,"_").concat(A),A,t),n},{})}},{key:"createObservable",value:function(e,t,r){return(0,l.isFunction)(r[t].unsubscribe)?this.createCachedObservable(e,t,r):function(){for(var e=arguments.length,n=new Array(e),A=0;A<e;A++)n[A]=arguments[A];return(0,s.from)(r[t].apply(null,n).catch(function(e){console.error(e)}))}}},{key:"createCachedObservable",value:function(e,t,r){var n=this;return this._cacheMap[e]||(this._cacheMap[e]={}),function(){for(var A=arguments.length,i=new Array(A),o=0;o<A;o++)i[o]=arguments[o];var a=JSON.stringify(i);return n._cacheMap[e][a]||(n._cacheMap[e][a]=n.createReplay(t,i,r,e,a)),n._cacheMap[e][a]}}},{key:"createReplay",value:function(e,t,r,n,i){var o=this;return s.Observable.create(function(a){var s=r[e],u=o.createReplayCallback(a),l=s.apply(void 0,(0,A.default)(t).concat([u])).catch(function(e){return a.next(e)});return o.createReplayUnsub(s,l,n,i)}).pipe((0,u.map)(function(e){if(e instanceof Error)throw e;return e}),(0,u.publishReplay)(1),(0,u.refCount)())}},{key:"createReplayCallback",value:function(e){var t;return function(r){t=!(0,l.isUndefined)(t)&&Array.isArray(t)&&Array.isArray(r)&&r.length===t.length?t.map(function(e,t){return(0,l.isUndefined)(r[t])?e:r[t]}):r,e.next(t)}}},{key:"createReplayUnsub",value:function(e,t,r,n){var A=this;return function(){t.then(function(t){return e.unsubscribe(t)}).then(function(){delete A._cacheMap[r][n]}).catch(function(e){console.error("Unsubscribe failed",e)})}}}]),e}();t.default=f},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(66));t.default=function e(t){var r=this;(0,A.default)(this,e),(0,i.default)(this,"getNominationRecords",function(){var e;return(e=r.api.rpc.chainx).getNominationRecords.apply(e,arguments)}),(0,i.default)(this,"getNominationRecordsV1",function(){var e;return(e=r.api.rpc.chainx).getNominationRecordsV1.apply(e,arguments)}),(0,i.default)(this,"getIntentions",function(){var e;return(e=r.api.rpc.chainx).getIntentions.apply(e,arguments)}),(0,i.default)(this,"getIntentionsV1",function(){var e;return(e=r.api.rpc.chainx).getIntentionsV1.apply(e,arguments)}),(0,i.default)(this,"getIntentionByAccount",function(){var e;return(e=r.api.rpc.chainx).getIntentionByAccount.apply(e,arguments)}),(0,i.default)(this,"getIntentionByAccountV1",function(){var e;return(e=r.api.rpc.chainx).getIntentionByAccountV1.apply(e,arguments)}),(0,i.default)(this,"getPseduIntentions",function(){var e;return(e=r.api.rpc.chainx).getPseduIntentions.apply(e,arguments)}),(0,i.default)(this,"getPseduIntentionsV1",function(){var e;return(e=r.api.rpc.chainx).getPseduIntentionsV1.apply(e,arguments)}),(0,i.default)(this,"getPseduNominationRecords",function(){var e;return(e=r.api.rpc.chainx).getPseduNominationRecords.apply(e,arguments)}),(0,i.default)(this,"getPseduNominationRecordsV1",function(){var e;return(e=r.api.rpc.chainx).getPseduNominationRecordsV1.apply(e,arguments)}),(0,i.default)(this,"getNextRenominateByAccount",function(){var e;return(e=r.api.rpc.chainx).getNextRenominateByAccount.apply(e,arguments)}),(0,i.default)(this,"getStakingDividendByAccount",function(){var e;return(e=r.api.rpc.chainx).getStakingDividendByAccount.apply(e,arguments)}),(0,i.default)(this,"getBondingDuration",function(){return r.api.query.xStaking.bondingDuration().then(function(e){return e.toJSON()})}),(0,i.default)(this,"getIntentionBondingDuration",function(){return r.api.query.xStaking.intentionBondingDuration().then(function(e){return e.toJSON()})}),(0,i.default)(this,"getNextKeyFor",function(e){return r.api.query.session.nextKeyFor(e).then(function(e){return e.length?e.toJSON():void 0})}),(0,i.default)(this,"register",function(e){return r.api.tx.xStaking.register(e)}),(0,i.default)(this,"nominate",function(e,t,n){return r.api.tx.xStaking.nominate(e,t,n)}),(0,i.default)(this,"unnominate",function(e,t,n){return r.api.tx.xStaking.unnominate(e,t,n)}),(0,i.default)(this,"refresh",function(e,t,n,A){return r.api.tx.xStaking.refresh(e,t,n,A)}),(0,i.default)(this,"voteClaim",function(e){return r.api.tx.xStaking.claim(e)}),(0,i.default)(this,"depositClaim",function(e){return r.api.tx.xTokens.claim(e)}),(0,i.default)(this,"unfreeze",function(e,t){return r.api.tx.xStaking.unfreeze(e,t)}),(0,i.default)(this,"renominate",function(e,t,n,A){return r.api.tx.xStaking.renominate(e,t,n,A)}),this.api=t.api}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(66));t.default=function e(t){var r=this;(0,A.default)(this,e),(0,i.default)(this,"getAssetsByAccount",function(){var e;return(e=r.api.rpc.chainx).getAssetsByAccount.apply(e,arguments)}),(0,i.default)(this,"getAssets",function(){var e;return(e=r.api.rpc.chainx).getAssets.apply(e,arguments)}),(0,i.default)(this,"getWithdrawalList",function(){var e;return(e=r.api.rpc.chainx).getWithdrawalList.apply(e,arguments)}),(0,i.default)(this,"getWithdrawalListByAccount",function(){var e;return(e=r.api.rpc.chainx).getWithdrawalListByAccount.apply(e,arguments)}),(0,i.default)(this,"getDepositList",function(){var e;return(e=r.api.rpc.chainx).getDepositList.apply(e,arguments)}),(0,i.default)(this,"verifyAddressValidity",function(){var e;return(e=r.api.rpc.chainx).verifyAddressValidity.apply(e,arguments)}),(0,i.default)(this,"getAddressByAccount",function(){var e;return(e=r.api.rpc.chainx).getAddressByAccount.apply(e,arguments)}),(0,i.default)(this,"getCrossMiningDividendByAccount",function(){var e;return(e=r.api.rpc.chainx).getCrossMiningDividendByAccount.apply(e,arguments)}),(0,i.default)(this,"getWithdrawalLimitByToken",function(){var e;return(e=r.api.rpc.chainx).getWithdrawalLimitByToken.apply(e,arguments)}),(0,i.default)(this,"getSdotClaims",function(e){return r.api.query.xBridgeOfSDOT.claims(e).then(function(e){return e.length?e.toJSON():void 0})}),(0,i.default)(this,"transfer",function(e,t,n,A){return r.api.tx.xAssets.transfer(e,t,n,A)}),(0,i.default)(this,"withdraw",function(e,t,n,A){return r.api.tx.xAssetsProcess.withdraw(e,t,n,A)}),(0,i.default)(this,"revokeWithdraw",function(e){return r.api.tx.xAssetsProcess.revokeWithdraw(e)}),(0,i.default)(this,"claimSdot",function(e,t,n){return r.api.tx.xBridgeOfSdot.claim(e,t,n)}),this.api=t.api}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(179)),i=n(r(59)),o=n(r(180)),a=n(r(4)),s=n(r(18)),u=n(r(66)),l=r(1057),c=r(367),f=r(1540),d=r(14),g=r(225),h=function(){function e(t){var r=this;(0,a.default)(this,e),(0,u.default)(this,"getBlockByNumber",function(){var e;return(e=r.api.rpc.chainx).getBlockByNumber.apply(e,arguments)}),(0,u.default)(this,"systemPeers",function(){return r.api.rpc.system.peers()}),(0,u.default)(this,"systemHealth",function(){return r.api.rpc.system.health()}),this.api=t.api,this.isRpcReady=t.isRpcReady}var t,r;return(0,s.default)(e,[{key:"getInfo",value:(r=(0,o.default)(A.default.mark(function e(){var t,r,n,o,a;return A.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.isRpcReady();case 2:return e.next=4,Promise.all([this.api.rpc.system.chain(),this.api.rpc.system.version(),this.api.rpc.system.name()]);case 4:return t=e.sent,r=(0,i.default)(t,3),n=r[0],o=r[1],a=r[2],e.abrupt("return",{name:n.toString(),version:o.toString(),era:a.toString()});case 10:case"end":return e.stop()}},e,this)})),function(){return r.apply(this,arguments)})},{key:"getHeader",value:(t=(0,o.default)(A.default.mark(function e(){var t;return A.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.isRpcReady();case 2:return e.next=4,this.api.rpc.chain.getHeader();case 4:return t=e.sent,e.abrupt("return",t._raw);case 6:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})},{key:"getMinimumPeriod",value:function(){return this.api.query.timestamp.minimumPeriod().then(function(e){return 2*e.toJSON()})}},{key:"getFeeByCallAndLength",value:function(e,t){return this.api.rpc.chainx.getFeeByCallAndLength(e,t)}},{key:"chainProperties",value:function(){return this.api.rpc.system.properties()}},{key:"particularAccounts",value:function(){return this.api.rpc.chainx.particularAccounts()}},{key:"convertToAsset",value:function(e,t,r,n){var A=this;return this.api.rpc.chainx.contractXRCTokenInfo().then(function(e){var i=e.BTC.XRC20.address,o=e.BTC.XRC20.selectors.Destroy;return A.api.tx.xContracts.call(i,r,n,(0,d.u8aToHex)((0,d.u8aConcat)((0,d.hexToU8a)(o),new g.u64(t).toU8a())))})}},{key:"subscribeNewHead",value:function(){var e=this;return this.api.rpc$.chain.subscribeNewHead().pipe((0,c.filter)(function(e){return e&&!!e.blockNumber}),(0,c.switchMap)(function(t){return(0,l.combineLatest)((0,l.of)(t),e.api.rpc$.chain.getBlockHash(t.blockNumber))}),(0,c.switchMap)(function(t){var r=(0,i.default)(t,2),n=r[0],A=r[1];return(0,l.combineLatest)((0,l.of)(n),(0,l.of)(A.toString()),e.api.rpc$.chain.getBlock(A))}),(0,c.map)(function(e){var t=(0,i.default)(e,3),r=t[0],n=t[1],A=t[2].block.extrinsics;return{number:r.blockNumber.toNumber(),hash:n,now:A[0]&&A[0].method.toJSON().args.now,producer:A[1]&&A[1].method.toJSON().args.producer}}),(0,f.drr)())}}]),e}();t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.drr=void 0;var n=r(367);t.drr=function(){return function(e){return e.pipe((0,n.distinctUntilChanged)(),(0,n.publishReplay)(1),(0,n.refCount)())}}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(4)),i=n(r(66));t.default=function e(t){var r=this;(0,A.default)(this,e),(0,i.default)(this,"getTradingPairs",function(){var e;return(e=r.api.rpc.chainx).getTradingPairs.apply(e,arguments)}),(0,i.default)(this,"getQuotations",function(){var e;return(e=r.api.rpc.chainx).getQuotations.apply(e,arguments)}),(0,i.default)(this,"getOrders",function(){var e;return(e=r.api.rpc.chainx).getOrders.apply(e,arguments)}),(0,i.default)(this,"putOrder",function(e,t,n,A,i){return r.api.tx.xSpot.putOrder(e,t,n,A,i)}),(0,i.default)(this,"cancelOrder",function(e,t){return r.api.tx.xSpot.cancelOrder(e,t)}),this.api=t.api}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(179)),i=n(r(180)),o=n(r(4)),a=n(r(66));function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(r,!0).forEach(function(t){(0,a.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}t.default=function e(t){var r=this;(0,o.default)(this,e),(0,a.default)(this,"getTrusteeSessionInfo",function(){var e;return(e=r.api.rpc.chainx).getTrusteeSessionInfo.apply(e,arguments)}),(0,a.default)(this,"getDepositLimitByToken",function(){var e;return(e=r.api.rpc.chainx).getDepositLimitByToken.apply(e,arguments)}),(0,a.default)(this,"getTrusteeInfoByAccount",function(){var e;return(e=r.api.rpc.chainx).getTrusteeInfoByAccount.apply(e,arguments)}),(0,a.default)(this,"getWithdrawTx",function(){var e;return(e=r.api.rpc.chainx).getWithdrawTx.apply(e,arguments)}),(0,a.default)(this,"getMultiSigAddrInfo",function(){var e;return(e=r.api.query.xMultiSig).multiSigAddrInfo.apply(e,arguments).then(function(e){return e?e.toJSON():void 0})}),(0,a.default)(this,"getPendingListFor",function(){var e=(0,i.default)(A.default.mark(function e(t){var n;return A.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.api.query.xMultiSig.pendingListFor(t);case 2:return n=e.sent,e.abrupt("return",Promise.all(n.toJSON().map(function(e){return r.api.query.xMultiSig.pendingStateFor([t,e]).then(function(r){return u({proposalId:e},r.toJSON(),{trustee:t})})})));case 4:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()),(0,a.default)(this,"createWithdrawTx",function(e,t){return r.api.tx.xBridgeOfBtc.createWithdrawTx(e,t)}),(0,a.default)(this,"signWithdrawTx",function(e){return r.api.tx.xBridgeOfBtc.signWithdrawTx(e)}),(0,a.default)(this,"transitionTrusteeSession",function(e,t){return r.api.tx.xBridgeFeatures.transitionTrusteeSession(e,t)}),(0,a.default)(this,"removeMultiSigFor",function(e,t){return r.api.tx.xMultiSig.removeMultiSigFor(e,t)}),(0,a.default)(this,"confirm",function(e,t){return r.api.tx.xMultiSig.confirm(e,t)}),(0,a.default)(this,"execute",function(e,t){return r.api.tx.xMultiSig.execute(e,t)}),(0,a.default)(this,"setupBitcoinTrustee",function(e,t,n){return r.api.tx.xBridgeFeatures.setupBitcoinTrustee(e,t,n)}),this.api=t.api}},function(e,t,r){(function(t,r){!function(t){"use strict";var n,A=Object.prototype.hasOwnProperty,i="function"==typeof Symbol&&Symbol.iterator||"@@iterator",o="object"==typeof e,a=t.regeneratorRuntime;if(a)o&&(e.exports=a);else{(a=t.regeneratorRuntime=o?e.exports:{}).wrap=g;var s="suspendedStart",u="suspendedYield",l="executing",c="completed",f={},d=B.prototype=p.prototype;I.prototype=d.constructor=B,B.constructor=I,I.displayName="GeneratorFunction",a.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===I||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,B):e.__proto__=B,e.prototype=Object.create(d),e},a.awrap=function(e){return new m(e)},C(y.prototype),a.async=function(e,t,r,n){var A=new y(g(e,t,r,n));return a.isGeneratorFunction(t)?A:A.next().then(function(e){return e.done?e.value:A.next()})},C(d),d[i]=function(){return this},d.toString=function(){return"[object Generator]"},a.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},a.values=b,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=n,this.done=!1,this.delegate=null,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&A.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return o.type="throw",o.arg=e,t.next=r,!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],o=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var a=A.call(i,"catchLoc"),s=A.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?this.next=i.finallyLoc:this.complete(o),f},complete:function(e,t){if("throw"===e.type)throw e.arg;"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=e.arg,this.next="end"):"normal"===e.type&&t&&(this.next=t)},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),w(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var A=n.arg;w(r)}return A}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:b(e),resultName:t,nextLoc:r},f}}}function g(e,t,r,A){var i=Object.create((t||p).prototype),o=new E(A||[]);return i._invoke=function(e,t,r){var A=s;return function(i,o){if(A===l)throw new Error("Generator is already running");if(A===c){if("throw"===i)throw o;return v()}for(;;){var a=r.delegate;if(a){if("return"===i||"throw"===i&&a.iterator[i]===n){r.delegate=null;var d=a.iterator.return;if(d)if("throw"===(g=h(d,a.iterator,o)).type){i="throw",o=g.arg;continue}if("return"===i)continue}var g;if("throw"===(g=h(a.iterator[i],a.iterator,o)).type){r.delegate=null,i="throw",o=g.arg;continue}if(i="next",o=n,!(p=g.arg).done)return A=u,p;r[a.resultName]=p.value,r.next=a.nextLoc,r.delegate=null}if("next"===i)r._sent=o,r.sent=A===u?o:n;else if("throw"===i){if(A===s)throw A=c,o;r.dispatchException(o)&&(i="next",o=n)}else"return"===i&&r.abrupt("return",o);if(A=l,"normal"===(g=h(e,t,r)).type){A=r.done?c:u;var p={value:g.arg,done:r.done};if(g.arg!==f)return p;r.delegate&&"next"===i&&(o=n)}else"throw"===g.type&&(A=c,i="throw",o=g.arg)}}}(e,r,o),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function p(){}function I(){}function B(){}function C(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function m(e){this.arg=e}function y(e){function t(t,r){var n=e[t](r),o=n.value;return o instanceof m?Promise.resolve(o.arg).then(A,i):Promise.resolve(o).then(function(e){return n.value=e,n})}"object"==typeof r&&r.domain&&(t=r.domain.bind(t));var n,A=t.bind(e,"next"),i=t.bind(e,"throw");t.bind(e,"return");this._invoke=function(e,r){function A(){return t(e,r)}return n=n?n.then(A,A):new Promise(function(e){e(A())})}}function Q(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Q,this),this.reset(!0)}function b(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(A.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return o.next=o}}return{next:v}}function v(){return{value:n,done:!0}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,r(34),r(50))},function(e,t,r){"use strict";r(909);var n=r(337),A=r(285),i=r(910),o=(r(286),r(202)),a={initialize:n.initialize,unsafeRandomKey:function(){return n.unsafeRandomKey().then(function(e){return e.toString()})},randomKey:function(e){return n.randomKey(e).then(function(e){return e.toString()})},seedPrivate:function(e){return n.fromSeed(e).toString()},privateToPublic:function(e){return n(e).toPublic().toString()},isValidPublic:function(e){return A.isValid(e)},isValidPrivate:function(e){return n.isValid(e)},sign:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf8";if(!0===r)throw new TypeError("API changed, use signHash(..) instead");return!1===r&&console.log("Warning: ecc.sign hashData parameter was removed"),i.sign(e,t,r).toString()},signHash:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"hex";return i.signHash(e,t,r).toString()},verify:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"utf8";if(!0===n)throw new TypeError("API changed, use verifyHash(..) instead");return!1===n&&console.log("Warning: ecc.verify hashData parameter was removed"),(e=i.from(e)).verify(t,r,n)},verifyHash:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"hex";return(e=i.from(e)).verifyHash(t,r,n)},recover:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf8";if(!0===r)throw new TypeError("API changed, use recoverHash(signature, data) instead");return!1===r&&console.log("Warning: ecc.recover hashData parameter was removed"),(e=i.from(e)).recover(t,r).toString()},recoverHash:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"hex";return(e=i.from(e)).recoverHash(t,r).toString()},sha256:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hex";return o.sha256(e,t)}};e.exports=a},function(e,t,r){"use strict";e.exports=function(e){return function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new Promise(function(t,n){setTimeout(function(){try{t(e.apply(void 0,r))}catch(e){n(e)}})})}}},function(e,t,r){"use strict";(function(t){var n=r(36),A=r(202),i=r(911),o=r(98),a=r(1547);function s(e,r,a,s,u){i("Buffer",r),i(o,a),u&&(r=A.sha256(t.concat([r,new t(u)]))),n.equal(r.length,32,"Hash must be 256 bit");var l=a.toBuffer(32),c=new t(32),f=new t(32);f.fill(1),c.fill(0),c=A.HmacSHA256(t.concat([f,new t([0]),l,r]),c),f=A.HmacSHA256(f,c),c=A.HmacSHA256(t.concat([f,new t([1]),l,r]),c),f=A.HmacSHA256(f,c),f=A.HmacSHA256(f,c);for(var d=o.fromBuffer(f);d.signum()<=0||d.compareTo(e.n)>=0||!s(d);)c=A.HmacSHA256(t.concat([f,new t([0])]),c),f=A.HmacSHA256(f,c),f=A.HmacSHA256(f,c),d=o.fromBuffer(f);return d}function u(e,t,r,n){var A=e.n,i=e.G,o=r.r,a=r.s;if(o.signum()<=0||o.compareTo(A)>=0)return!1;if(a.signum()<=0||a.compareTo(A)>=0)return!1;var s=a.modInverse(A),u=t.multiply(s).mod(A),l=o.multiply(s).mod(A),c=i.multiplyTwo(u,n,l);return!e.isInfinity(c)&&c.affineX.mod(A).equals(o)}function l(e,t,r,A){n.strictEqual(3&A,A,"Recovery param is more than two bits");var i=e.n,o=e.G,a=r.r,s=r.s;n(a.signum()>0&&a.compareTo(i)<0,"Invalid r value"),n(s.signum()>0&&s.compareTo(i)<0,"Invalid s value");var u=1&A,l=A>>1?a.add(i):a,c=e.pointFromX(u,l),f=c.multiply(i);n(e.isInfinity(f),"nR is not a valid curve point");var d=t.negate().mod(i),g=a.modInverse(i),h=c.multiplyTwo(s,o,d).multiply(g);return e.validate(h),h}e.exports={calcPubKeyRecoveryParam:function(e,t,r,n){for(var A=0;A<4;A++){if(l(e,t,r,A).equals(n))return A}throw new Error("Unable to find valid recovery factor")},deterministicGenerateK:s,recoverPubKey:l,sign:function(e,t,r,n){var A,i,u=o.fromBuffer(t),l=e.n,c=e.G,f=(s(e,t,r,function(t){var n=c.multiply(t);return!e.isInfinity(n)&&(0!==(A=n.affineX.mod(l)).signum()&&0!==(i=t.modInverse(l).multiply(u.add(r.multiply(A))).mod(l)).signum())},n),l.shiftRight(1));return i.compareTo(f)>0&&(i=l.subtract(i)),a(A,i)},verify:function(e,t,r,n){return u(e,o.fromBuffer(t),r,n)},verifyRaw:u}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){var n=r(36),A=r(911),i=r(98);function o(e,r){function n(){var n=e.toDERInteger(),A=r.toDERInteger(),i=[];return i.push(2,n.length),(i=i.concat(n)).push(2,A.length),(i=i.concat(A)).unshift(48,i.length),new t(i)}return A(i,e),A(i,r),{r:e,s:r,toCompact:function(n,A){A&&(n+=4),n+=27;var i=new t(65);return i.writeUInt8(n,0),e.toBuffer(32).copy(i,1),r.toBuffer(32).copy(i,33),i},toDER:n,toScriptSignature:function(e){var r=new t(1);return r.writeUInt8(e,0),t.concat([n(),r])}}}o.parseCompact=function(e){n.equal(e.length,65,"Invalid signature length");var t=e.readUInt8(0)-27;return n.equal(t,7&t,"Invalid signature parameter"),{compressed:!!(4&t),i:t&=3,signature:o(i.fromBuffer(e.slice(1,33)),i.fromBuffer(e.slice(33)))}},o.fromDER=function(e){n.equal(e.readUInt8(0),48,"Not a DER sequence"),n.equal(e.readUInt8(1),e.length-2,"Invalid sequence length"),n.equal(e.readUInt8(2),2,"Expected a DER integer");var t=e.readUInt8(3);n(t>0,"R length is zero");var r=4+t;n.equal(e.readUInt8(r),2,"Expected a DER integer (2)");var A=e.readUInt8(r+1);n(A>0,"S length is zero");var a=e.slice(4,r),s=e.slice(r+2);r+=2+A,t>1&&0===a.readUInt8(0)&&n(128&a.readUInt8(1),"R value excessively padded"),A>1&&0===s.readUInt8(0)&&n(128&s.readUInt8(1),"S value excessively padded"),n.equal(r,e.length,"Invalid DER encoding");var u=i.fromDERInteger(a),l=i.fromDERInteger(s);return n(u.signum()>=0,"R value is negative"),n(l.signum()>=0,"S value is negative"),o(u,l)},o.parseScriptSignature=function(e){var t=e.readUInt8(e.length-1),r=-129&t;return n(r>0&&r<4,"Invalid hashType"),{signature:o.fromDER(e.slice(0,-1)),hashType:t}},e.exports=o}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(909),A=r(337),i=r(285),o=r(910),a=r(286);e.exports={Aes:n,PrivateKey:A,PublicKey:i,Signature:o,key_utils:a}},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,A=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){A=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(A)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};var i=r(17),o=r(109).Long,a=r(36),s={bytes:function(){return[C]},string:function(){return[m]},vector:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return[f,{type:e,sorted:t}]},optional:function(e){return[d,{type:e}]},time:function(){return[y]},map:function(e){return[l,{annotation:e}]},static_variant:function(e){return[c,{types:e}]},fixed_string16:function(){return[m,{maxLen:16}]},fixed_string32:function(){return[m,{maxLen:32}]},fixed_bytes16:function(){return[C,{len:16}]},fixed_bytes20:function(){return[C,{len:20}]},fixed_bytes28:function(){return[C,{len:28}]},fixed_bytes32:function(){return[C,{len:32}]},fixed_bytes33:function(){return[C,{len:33}]},fixed_bytes64:function(){return[C,{len:64}]},fixed_bytes65:function(){return[C,{len:65}]},uint8:function(){return[h,{bits:8}]},uint16:function(){return[h,{bits:16}]},uint32:function(){return[h,{bits:32}]},uint64:function(){return[h,{bits:64}]},uint128:function(){return[p,{bits:128}]},uint224:function(){return[p,{bits:224}]},uint256:function(){return[p,{bits:256}]},uint512:function(){return[p,{bits:512}]},varuint32:function(){return[h,{bits:32,variable:!0}]},int8:function(){return[h,{signed:!0,bits:8}]},int16:function(){return[h,{signed:!0,bits:16}]},int32:function(){return[h,{signed:!0,bits:32}]},int64:function(){return[h,{signed:!0,bits:64}]},int128:function(){return[p,{signed:!0,bits:128}]},int224:function(){return[p,{signed:!0,bits:224}]},int256:function(){return[p,{signed:!0,bits:256}]},int512:function(){return[p,{signed:!0,bits:512}]},varint32:function(){return[h,{signed:!0,bits:32,variable:!0}]},float64:function(){return[B,{bits:64}]}};function u(e,t,r,n,i,o){var a=(n?i[e]:s[e]).apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(r)),u=A(a,2),l=u[0],c=u[1],f=void 0===c?{}:c,d=Object.assign(f,t);d.typeName=e;var g=l(d,n,o);return g.typeName=e,g}e.exports=function(e){e=Object.assign({defaults:!1,debug:!1,customTypes:{}},e);var t=Object.assign({},s,e.customTypes),r=function(r){return function(n,A){return n[A]=function(){for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=u(A,e,o,r,t,n);return s},n}},n=Object.keys(s).reduce(r(),{}),A=Object.keys(e.customTypes||{}).reduce(r(n),{});return Object.assign({},n,A,{config:e})};var l=function(e){var t=A(e.annotation,2),r=t[0],n=t[1];if(!v(r))throw new TypeError("map<type1, > unknown");if(!v(n))throw new TypeError("map<, type2> unknown");return{fromByteBuffer:function(t){for(var A=t.readVarint32(),i={},o=0;o<A;o++)i[r.fromByteBuffer(t)]=n.fromByteBuffer(t);return e.debug&&console.log("0x"+A.toString(16),"(map.fromByteBuffer length)",i),i},appendByteBuffer:function(t,A){Q(A,e);var i=Object.keys(A);t.writeVarint32(i.length),e.debug&&console.log("0x"+i.length.toString(16),"(map.appendByteBuffer length)",i);var o=!0,a=!1,s=void 0;try{for(var u,l=i[Symbol.iterator]();!(o=(u=l.next()).done);o=!0){var c=u.value,f=A[c];r.appendByteBuffer(t,c),n.appendByteBuffer(t,f)}}catch(e){a=!0,s=e}finally{try{!o&&l.return&&l.return()}finally{if(a)throw s}}},fromObject:function(t){Q(t,e);var A={};for(var i in t)A[r.fromObject(i)]=n.fromObject(t[i]);return A},toObject:function(t){if(e.defaults&&null==t)return function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},r.toObject(null),n.toObject(null));Q(t,e);var A={};for(var i in t)A[r.toObject(i)]=n.toObject(t[i]);return A}}},c=function(e){var t=e.types;return{fromByteBuffer:function(r){var n=r.readVarint32(),A=t[n];return e.debug&&console.error("static_variant id "+n+" (0x"+n.toString(16)+")"),a(A,"static_variant invalid type position "+n),[n,A.fromByteBuffer(r)]},appendByteBuffer:function(e,r){a(Array.isArray(r)&&2===r.length,"Required tuple");var n=r[0],A=t[n];a(A,"type "+n),e.writeVarint32(n),A.appendByteBuffer(e,r[1])},fromObject:function(e){a(Array.isArray(e)&&2===e.length,"Required tuple");var r=e[0],n=t[r];return a(n,"type "+r),[r,n.fromObject(e[1])]},toObject:function(r){if(e.defaults&&null==r)return[0,t[0].toObject(null,debug)];a(Array.isArray(r)&&2===r.length,"Required tuple");var n=r[0],A=t[n];return a(A,"type "+n),[n,A.toObject(r[1])]}}},f=function(e){var t=e.type,r=e.sorted;if(!v(t))throw new TypeError("vector type should be a serializer");return{fromByteBuffer:function(r){var n=r.readVarint32();e.debug&&console.log("fromByteBuffer vector length",n,"(0x"+n.toString(16)+")");for(var A=[],i=0;i<n;i++)A.push(t.fromByteBuffer(r));return A},appendByteBuffer:function(n,A){null==A&&(A=[]),Q(A,e),n.writeVarint32(A.length),!0===r&&(A=D(t,Object.assign([],A))),e.debug&&console.log("0x"+A.length.toString(16),"(vector.appendByteBuffer length)",A);var i=!0,o=!1,a=void 0;try{for(var s,u=A[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value;t.appendByteBuffer(n,l)}}catch(e){o=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw a}}},fromObject:function(n){null==n&&(n=[]),Q(n,e);var A=[],i=!0,o=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value;A.push(t.fromObject(l))}}catch(e){o=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw a}}return!0===r&&(A=D(t,Object.assign([],A))),A},toObject:function(n){if(e.defaults&&null==n)return[t.toObject(n)];null==n&&(n=[]),Q(n,e),!0===r&&(n=D(t,Object.assign([],n)));var A=[],i=!0,o=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value;A.push(t.toObject(l))}}catch(e){o=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw a}}return A}}},d=function(e){var t=e.type;if(!v(t))throw new TypeError("optional parameter should be a serializer");return{fromByteBuffer:function(e){return 1!==e.readUint8()?null:t.fromByteBuffer(e)},appendByteBuffer:function(e,r){null!=r?(e.writeUint8(1),t.appendByteBuffer(e,r)):e.writeUint8(0)},fromObject:function(e){return null==e?null:t.fromObject(e)},toObject:function(r){return null!=r||e.defaults?t.toObject(r):null}}},g=function(e){var t=e.signed,r=void 0!==t&&t,n=e.bits;return e.variable?"Varint"+n+(r?"ZigZag":""):(r?"Int":"Uint")+n},h=function(e){return{fromByteBuffer:function(t){var r=t["read"+g(e)]();return o.isLong(r)?r.toString():r},appendByteBuffer:function(t,r){t["write"+g(e)](r)},fromObject:function(t){return b(t,e),t},toObject:function(t){return e.defaults&&null==t?e.bits>53?"0":0:(b(t,e),o.isLong(t)?t.toString():t)}}},p=function(e){var r=e.signed,n=void 0!==r&&r,A=e.bits,o=A/8;return{fromByteBuffer:function(r){var a=r.copy(r.offset,r.offset+o);r.skip(o);var s=new i(a.toHex(),"hex"),u=s.toArrayLike(t,"le",o);s=new i(u.toString("hex"),"hex"),n&&(s=s.fromTwos(A));var l=s.toString();return b(l,e),A>53?l:s.toNumber()},appendByteBuffer:function(r,a){b(a,e);var s=new i(a);n&&(s=s.toTwos(A));var u=s.toArrayLike(t,"le",o);r.append(u.toString("binary"),"binary")},fromObject:function(t){return b(t,e),t},toObject:function(t){return e.defaults&&null==t?e.bits>53?"0":0:(b(t,e),t)}}},I=r(912),B=function(e){var r=e.bits,n=32===r?"Float":64===r?"Double":null;a(n,"unsupported float bit size: "+r);var A=r/8;return{fromByteBuffer:function(e){var r=e.copy(e.offset,e.offset+A);e.skip(A);var i=t.from(r.toBinary(),"binary");return I["read"+n+"LE"](i)},appendByteBuffer:function(e,t){var r=[];I["write"+n+"LE"](r,t),e.append(r)},fromObject:function(e){return e},toObject:function(t){return e.defaults&&null==t?0:t}}},C=function(e){return{fromByteBuffer:function(r){var n=e.len,A=void 0;if(null==n){var i=r.readVarint32();A=r.copy(r.offset,r.offset+i),r.skip(i)}else A=r.copy(r.offset,r.offset+n),r.skip(n);return t.from(A.toBinary(),"binary")},appendByteBuffer:function(t,r){null==e.len&&t.writeVarint32(r.length),t.append(r.toString("binary"),"binary")},fromObject:function(r){return"string"==typeof r&&(r=t.from(r,"hex")),Q(r,e),r},toObject:function(t){var r=e.defaults,n=e.len;return r&&null==t?Array(n?n+1:1).join("00"):(Q(t,e),t.toString("hex"))},compare:function(e,r){return t.compare(e,r)}}},m=function(e){return{fromByteBuffer:function(e){return e.readVString()},appendByteBuffer:function(t,r){Q(r,e),t.writeVString(r.toString())},fromObject:function(t){return Q(t,e),t},toObject:function(t){return e.defaults&&null==t?"":(Q(t,e),t)}}},y=function(e){return{fromByteBuffer:function(e){return e.readUint32()},appendByteBuffer:function(t,r){Q(r,e),t.writeUint32(r)},fromObject:function(t){if(Q(t,e),"number"==typeof t)return t;if(t.getTime)return Math.floor(t.getTime()/1e3);if("string"!=typeof t)throw new Error("Unknown date type: "+t);return"string"!=typeof t||/Z$/.test(t)||(t+="Z"),Math.floor(new Date(t).getTime()/1e3)},toObject:function(t){if(e.defaults&&null==t)return new Date(0).toISOString().split(".")[0];Q(t,e),b(t,M(e,{bits:32}));var r=parseInt(t);return new Date(1e3*r).toISOString().split(".")[0]}}},Q=function(e,t){if(k(e))throw new Error("Required "+t.typeName);if(null!=t.len){if(null==e.length)throw new Error('len validation requries a "length" property');var r=t.len;if(e.length!==r)throw new Error(t.typeName+" length "+e.length+" does not equal "+r)}if(null!=t.maxLen){var n=t.maxLen;if(null==e.length)throw new Error('maxLen validation requries a "length" property');if(e.length>n)throw new Error(t.typeName+" length "+e.length+" exceeds maxLen "+n)}},w=new i,E=new i("1");function b(e,t){if(k(e))throw new Error("Required "+t.typeName);var r=t.signed,n=void 0!==r&&r,A=t.bits,o=void 0===A?54:A;if(e=String(e).trim(),n&&!/^-?[0-9]+$/.test(e)||!n&&!/^[0-9]+$/.test(e))throw new Error("Number format "+t.typeName+" "+e);var a=n?S(o):_(o),s=n?N(o):w,u=new i(e);if(u.cmp(s)<0||u.cmp(a)>0)throw new Error("Overflow "+t.typeName+" "+e+", max "+a.toString()+", min "+s.toString()+", signed "+n+", bits "+o)}var v=function(e){return"object"===(void 0===e?"undefined":n(e))&&"function"==typeof e.fromByteBuffer&&"function"==typeof e.appendByteBuffer&&"function"==typeof e.fromObject&&"function"==typeof e.toObject},D=function(e,t){return e.compare?t.sort(e.compare):t.sort()},M=function(){return Object.assign.apply(Object,arguments)},k=function(e){return null==e},_=function(e){return new i(1).ishln(e).isub(E)},S=function(e){return new i(1).ishln(e-1).isub(E)},N=function(e){return new i(1).ishln(e-1).ineg()}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=r(109),i=r(1551);e.exports={create:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.config,A=[];r.sort||(r.sort={});for(var s in e){var u=e[s],l=u.base,c=u.fields,f=void 0===u?"undefined":n(u);if("object"===f){if(!l&&!c){A.push("Expecting "+s+".fields or "+s+".base");continue}if(l&&"string"!=typeof l&&A.push("Expecting string "+s+".base"),c)if("object"!==(void 0===c?"undefined":n(c)))A.push("Expecting object "+s+".fields");else for(var d in c)"string"!=typeof c[d]&&A.push("Expecting string in "+s+".fields."+d)}else if("string"!==f){A.push("Expecting object or string under "+s+", instead got "+(void 0===u?"undefined":n(u)));continue}}var g={};for(var h in e){var p=e[h];"object"===(void 0===p?"undefined":n(p))&&(g[h]=i(h,r))}for(var I in e){var B=e[I];if("string"==typeof B){var C=t[B];if(C)t[I]=C;else{var m=b(I,B);m?g[I]=m:A.push("Unrecognized type or struct "+I+"."+B)}}}for(var y in e){var Q=g[y];if(Q){var w=e[y];if("object"===(void 0===w?"undefined":n(w))&&w.base){l=w.base;var E=g[l];if(!E){A.push("Missing "+l+" in "+y+".base");continue}Q.add("",a(E))}}}function b(e,n,i,a){var s=o(n);if(!s)return null;var u=s.name,l=s.annotation,c=s.arrayType,f=void 0;if(l){var d=t[u];if(null==d)return A.push("Missing "+u+" in "+n),null;var h=[],p=!0,I=!1,B=void 0;try{for(var C,m=l[Symbol.iterator]();!(p=(C=m.next()).done);p=!0){var y=C.value,Q=b(e,y,null,a);if(!Q)return A.push("Missing "+y+" in "+n),null;h.push(Q)}}catch(e){I=!0,B=e}finally{try{!p&&m.return&&m.return()}finally{if(I)throw B}}f=d(h)}else if(null==c){var w=g[u];if(w)return w;var E=t[u];if(!E)return null;f=E(i)}else if(""===c){var v=b(e,s.name,null,a);if(!v)return null;var D=r.sort[e+"."+a]||!1;f=t.vector(v,D)}else if(c.length>0){var M=b(e,s.arrayType,null,a);if(!M)return A.push("Missing "+s.arrayType+" in "+n),null;var k=b(e,s.name,M,a);if(!k)return A.push("Missing "+s.name+" in "+n),null;f=k}return s.optional?t.optional(f):f}for(var v in e){var D=g[v];if(D){var M=e[v];if(M.fields){c=M.fields;for(var k in c){var _=c[k],S=b(v,_,null,k);S?D.add(k,S):A.push("Missing "+_+" in "+v+".fields."+k)}}}}if(A.length)return{errors:A};return{errors:A,structs:g}},toBuffer:function(e,r){var n=e.fromObject(r);return t.from(function(e,t){var r=new A(A.DEFAULT_CAPACITY,A.LITTLE_ENDIAN);return e.appendByteBuffer(r,t),r.copy(0,r.offset)}(e,n).toBinary(),"binary")},fromBuffer:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=A.fromBinary(t.toString("binary"),A.LITTLE_ENDIAN),i=e.fromByteBuffer(n);return r?e.toObject(i):i}};var o=function(e){if(!e||"string"!=typeof e)return null;var t=(e=e.trim()).match(/<(.*)>/);if(t){var r=t?t[1].replace(/ /g,"").split(","):null;return{name:e=e.replace(t[0],"").trim(),annotation:r}}var n=e.match(/\[(.*)\]/),A=n?n[1].trim():null;n&&(e=e.replace(n[0],"").trim());var i=!1;return/\?$/.test(e)&&(e=e.substring(0,e.length-1),i=!0),{name:e,arrayType:A,optional:i}},a=function(e){return{fromByteBuffer:function(t){return e.fromByteBuffer(t)},appendByteBuffer:function(t,r){e.appendByteBuffer(t,r)},fromObject:function(t){return e.fromObject(t)},toObject:function(t){return e.toObject(t)}}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(109);e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{debug:!1};t=Object.assign({override:{}},t);var r={},A=void 0,i=void 0;return{compare:function(e,t){var r=e[i],n=t[i];return A&&A.compare?A.compare(r,n):r>n?1:r<n?-1:0},add:function(e,t){r[e]=t,null==A&&(A=t,i=e)},fields:r,fromByteBuffer:function(n){var A={},i=null;try{for(i in r){var o=r[i];try{var a=n.offset;if(""===i)A=o.fromByteBuffer(n,t);else{var s=t.override[e+"."+i+".fromByteBuffer"];s?s({fields:r,object:A,b:n,config:t}):A[i]=o.fromByteBuffer(n,t)}if(t.debug)if(o.struct)console.error(o.struct);else{var u=void 0;try{u=o.toObject(""===i?A:A[i],t)}catch(e){u=""}var l=n.copy(a,n.offset);console.error("fromByteBuffer",e+"."+i,"'"+u+"'",l.toHex())}}catch(t){throw console.error(t+" in "+e+"."+i),n.printDebug(),t}}}catch(t){throw t.message+=" in "+e+"."+i,t}return A},appendByteBuffer:function(n,A){var i=null;try{for(i in r){var o=r[i];if(""===i)o.appendByteBuffer(n,A);else{var a=t.override[e+"."+i+".appendByteBuffer"];a?a({fields:r,object:A,b:n}):o.appendByteBuffer(n,A[i])}}}catch(t){try{t.message+=" "+e+"."+i+" = "+JSON.stringify(A[i])}catch(r){t.message+=" "+e+"."+i+" = "+A[i]}throw t}},fromObject:function(n){var A=t.override[e+".fromObject"];if(A){var i=A(n);if(null!=i)return i}var o={},a=null;try{for(a in r){var s=r[a];if(""===a){var u=s.fromObject(n);Object.assign(o,u)}else{var l=t.override[e+"."+a+".fromObject"];if(l)l({fields:r,object:n,result:o});else{var c=n[a],f=s.fromObject(c);o[a]=f}}}}catch(t){throw t.message+=" "+e+"."+a,t}return o},toObject:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.override[e+".toObject"];if(i){var o=i(A);if(null!=o)return o}var a={},s=null;try{for(s in r){var u=r[s],l=t.override[e+"."+s+".toObject"];if(l)l({fields:r,object:A,result:a,config:t});else if(""===s){var c=u.toObject(A,t);Object.assign(a,c)}else{var f=u.toObject(A?A[s]:null,t);a[s]=f}if(t.debug)try{var d=new n(n.DEFAULT_CAPACITY,n.LITTLE_ENDIAN);if(null!=A){var g=A[s];if(g){var h=t.override[e+"."+s+".appendByteBuffer"];l&&h?h({fields:r,object:A,b:d}):u.appendByteBuffer(d,g)}}d=d.copy(0,d.offset),console.error("toObject",e+"."+s,"'"+a[s]+"'",d.toHex())}catch(t){t.message=e+"."+s+" "+t.message,console.error(t)}}}catch(t){throw t.message+=" "+e+"."+s,t}return a}}}},function(e,t,r){"use strict";e.exports={chain:r(1553),history:r(1554)}},function(e){e.exports=JSON.parse('{"get_currency_balance":{"params":{"code":"name","account":"name","symbol":"optional<string>"},"results":"asset[]"},"get_currency_stats":{"params":{"code":"name","symbol":"string"},"results":{"supply":"asset","max_supply":"asset","issuer":"account_name"}},"get_producers":{"brief":"Fetch smart contract data from producer.","params":{"json":{"type":"bool","default":false},"lower_bound":"string","limit":{"type":"uint32","default":"10"}},"results":{"rows":{"type":"vector","doc":"one row per item, either encoded as hex String or JSON object"},"total_producer_vote_weight":{"type":"float64","doc":"total vote"},"more":{"type":"string","doc":"fill lower_bound with this value to fetch more rows"}}},"get_info":{"brief":"Return general network information.","params":null,"results":{"server_version":"string","head_block_num":"uint32","last_irreversible_block_num":"uint32","last_irreversible_block_id":"block_id","head_block_id":"block_id","head_block_time":"time_point_sec","head_block_producer":"account_name","virtual_block_cpu_limit":"uint64","virtual_block_net_limit":"uint64","block_cpu_limit":"uint64","block_net_limit":"uint64"}},"get_block":{"brief":"Fetch a block from the blockchain.","params":{"block_num_or_id":"string"},"results":"variant","errors":{"unknown block":null}},"get_account":{"brief":"Fetch a blockchain account","params":{"account_name":"name"},"results":{"account_name":"name","privileged":"bool","last_code_update":"time_point","created":"time_point","ram_quota":"int64","net_weight":"int64","cpu_weight":"int64","net_limit":"int64","cpu_limit":"int64","ram_usage":"int64","permissions":"vector<permission>","total_resources":"variant","self_delegated_bandwidth":"variant","voter_info":"variant"}},"get_code":{"brief":"Fetch smart contract code","params":{"account_name":"name"},"results":{"account_name":"name","wast":"string","code_hash":"sha256","abi":"optional<abi_def>"}},"get_abi":{"params":{"account_name":"name"},"results":{"account_name":"name","abi":"abi_def?"}},"get_table_rows":{"brief":"Fetch smart contract data from an account.","params":{"json":{"type":"bool","default":false},"code":"name","scope":"name","table":"name","table_key":"string","lower_bound":{"type":"string","default":"0"},"upper_bound":{"type":"string","default":"-1"},"limit":{"type":"uint32","default":"10"}},"results":{"rows":{"type":"vector","doc":"one row per item, either encoded as hex String or JSON object"},"more":{"type":"bool","doc":"true if last element"}}},"abi_json_to_bin":{"brief":"Manually serialize json into binary hex.  The binayargs is usually stored in Action.data.","params":{"code":"name","action":"name","args":"bytes"},"results":{"binargs":"bytes"}},"abi_bin_to_json":{"brief":"Convert bin hex back into Abi json definition.","params":{"code":"name","action":"name","binargs":"bytes"},"results":{"args":"bytes","required_scope":"name[]","required_auth":"name[]"}},"get_required_keys":{"params":{"transaction":"transaction","available_keys":"set[public_key]"},"results":"Set[public_key]"},"get_required_fee":{"params":{"transaction":"transaction"},"results":"asset"},"push_block":{"brief":"Append a block to the chain database.","params":{"block":"signed_block"},"results":null},"push_transaction":{"brief":"Attempts to push the transaction into the pending queue.","params":{"signed_transaction":"signed_transaction"},"results":{"transaction_id":"fixed_bytes32","processed":"bytes"}},"push_transactions":{"brief":"Attempts to push transactions into the pending queue.","params":{"signed_transaction[]":"signed_transaction"},"results":"vector[push_transaction.results]"}}')},function(e){e.exports=JSON.parse('{"get_actions":{"params":{"account_name":"account_name","pos":"int32?","offset":"int32?"},"results":{"actions":"ordered_action_result[]","last_irreversible_block":"uint32","time_limit_exceeded_error":"bool?"},"structs":[{"name":"ordered_action_result","fields":{"global_action_seq":"uint64","account_action_seq":"int32","block_num":"uint32","block_time":"block_timestamp_type","action_trace":"variant"}}]},"get_controlled_accounts":{"params":{"controlling_account":"account_name"},"results":{"controlled_accounts":"account_name[]"}},"get_key_accounts":{"params":{"public_key":"public_key_type"},"results":{"account_names":"account_name[]"}},"get_transaction":{"brief":"Retrieve a transaction from the blockchain.","params":{"id":"transaction_id_type"},"results":{"id":"transaction_id_type","trx":"variant","block_time":"block_timestamp_type","block_num":"uint32","last_irreversible_block":"uint32","traces":"variant[]"}}}')},function(e,t,r){"use strict";r(468);var n=r(914),A=r(1562),i=r(915),o=r(1563);function a(e,t,r,n){var A=n.logger;return function(){for(var a=arguments.length,u=Array(a),l=0;l<a;l++)u[l]=arguments[l];if(0!==u.length){var c=function(e){if("boolean"==typeof e)return{broadcast:e}},f=i(u,Object.keys(r.params||[]),e,c),d=f.params,g=(f.options,f.returnPromise),h=f.callback,p=JSON.stringify(d);A.log&&A.log("api >","post","\t",t,p);var I={body:p,method:"POST"};Object.assign(I,n.fetchConfiguration);return("getCode"==e?new Promise(function(e,t){e({status:200,json:function(){return o}})}):fetch(t,I)).then(function(e){return e.status>=200&&e.status<300?e.json():e.text().then(function(t){var r=new Error(t);throw r.status=e.status,r.statusText=e.statusText,r})}).then(function(e){A.log&&A.log("api <","response","\t",t,JSON.stringify(e));try{h(null,e)}catch(e){A.error&&A.error("api <","result callback",":",e)}}).catch(function(e){var r="";try{r=JSON.parse(e.message).error.details[0]}catch(e){}A.error&&(A.error("api <","error","\t",r,t,p),A.error(e));try{h(e)}catch(e){A.error&&A.error("api <","error callback",":",e)}}),g}console.log(s(e,r))}}function s(e,t){var r="",n=function(e){r+=e+"\n"};if(n("USAGE"),n(e+" - "+t.brief),n("\nPARAMETERS"),t.params?n(JSON.stringify(t.params,null,2)):n("none"),n("\nRETURNS"),t.results?n(""+JSON.stringify(t.results,null,2)):n("no data"),n("\nERRORS"),t.errors)for(var A in t.errors){var i=t.errors[A];n(A+(i?" - "+i:""))}else n("nothing special");return r}e.exports=function(e,t,r){var i={log:(r=Object.assign({httpEndpoint:"http://127.0.0.1:8888",verbose:!1},r)).verbose?console.log:"",error:console.error};r.logger=Object.assign({},i,r.logger);var o={},s=r.httpEndpoint;for(var u in t)for(var l in t[u]){var c=n(l),f=s+"/"+e+"/"+u+"/"+l;o[c]=a(c,f,t[u][l],r)}var d=function(e){o[e]=function(){for(var t,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=A.api)[e].apply(t,[o].concat(n))}};for(var g in A.api)d(g);return Object.assign(o,A)}},function(e,t){var r={tr:{regexp:/[\u0069]/g,map:{i:"İ"}},az:{regexp:/[\u0069]/g,map:{i:"İ"}},lt:{regexp:/[\u0069\u006A\u012F]\u0307|\u0069\u0307[\u0300\u0301\u0303]/g,map:{"i̇":"I","j̇":"J","į̇":"Į","i̇̀":"Ì","i̇́":"Í","i̇̃":"Ĩ"}}};e.exports=function(e,t){var n=r[t];return e=null==e?"":String(e),n&&(e=e.replace(n.regexp,function(e){return n.map[e]})),e.toUpperCase()}},function(e,t,r){var n=r(1558),A=r(1559),i=r(1560),o=r(1561);e.exports=function(e,t,r){if(null==e)return"";return r="string"!=typeof r?" ":r,e=String(e).replace(i,"$1 $2").replace(o,"$1 $2").replace(A,function(e,t,n){return 0===t||t===n.length-e.length?"":r}),n(e,t)}},function(e,t){var r={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"İ":"i",I:"ı","İ":"i"}},az:{regexp:/[\u0130]/g,map:{"İ":"i",I:"ı","İ":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i̇",J:"j̇","Į":"į̇","Ì":"i̇̀","Í":"i̇́","Ĩ":"i̇̃"}}};e.exports=function(e,t){var n=r[t];return e=null==e?"":String(e),n&&(e=e.replace(n.regexp,function(e){return n.map[e]})),e.toLowerCase()}},function(e,t){e.exports=/[^A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]+/g},function(e,t){e.exports=/([a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])/g},function(e,t){e.exports=/([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A][a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A])/g},function(e,t,r){"use strict";e.exports={api:{createTransaction:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=arguments[2];if(!r)throw new TypeError("callback parameter is required");e.getInfo(n(r,function(A){var i=new Date(A.head_block_time+"Z");e.getBlock(A.last_irreversible_block_num,n(r,function(e){var n=new Date(i.getTime()+1e3*t),o=65535&A.last_irreversible_block_num,a={expiration:n.toISOString().split(".")[0],ref_block_num:o,ref_block_prefix:e.ref_block_prefix,net_usage_words:0,max_cpu_usage_ms:0,delay_sec:0,context_free_actions:[],actions:[],signatures:[],transaction_extensions:[]};r(null,a)}))}))}}};var n=function(e,t){return function(r,n){r?e(r):t(n)}}},function(e){e.exports=JSON.parse('{"account_name":"eosio","code_hash":"88ef6d16f838f3bb03f4ecf8800aa49eeffecc3a7f11b59dd977745c2d594d22","wasm":"","abi":{"version":"eosio::abi/1.0","types":[],"structs":[{"name":"newaccount","base":"","fields":[{"name":"creator","type":"account_name"},{"name":"name","type":"account_name"},{"name":"owner","type":"authority"},{"name":"active","type":"authority"}]},{"name":"transfer","base":"","fields":[{"name":"from","type":"account_name"},{"name":"to","type":"account_name"},{"name":"quantity","type":"asset"},{"name":"memo","type":"string"}]},{"name":"updatebp","base":"","fields":[{"name":"bpname","type":"account_name"},{"name":"block_signing_key","type":"public_key"},{"name":"commission_rate","type":"uint32"},{"name":"url","type":"string"}]},{"name":"unfreeze","base":"","fields":[{"name":"voter","type":"account_name"},{"name":"bpname","type":"account_name"}]},{"name":"claim","base":"","fields":[{"name":"voter","type":"account_name"},{"name":"bpname","type":"account_name"}]},{"name":"account_info","base":"","fields":[{"name":"name","type":"account_name"},{"name":"available","type":"asset"}]},{"name":"vote_parameter","base":"","fields":[{"name":"voter","type":"account_name"},{"name":"bpname","type":"account_name"},{"name":"stake","type":"asset"}]},{"name":"vote_info","base":"","fields":[{"name":"bpname","type":"account_name"},{"name":"staked","type":"asset"},{"name":"voteage","type":"int64"},{"name":"voteage_update_height","type":"uint32"},{"name":"unstaking","type":"asset"},{"name":"unstake_height","type":"uint32"}]},{"name":"bp_info","base":"","fields":[{"name":"name","type":"account_name"},{"name":"block_signing_key","type":"public_key"},{"name":"commission_rate","type":"uint32"},{"name":"total_staked","type":"int64"},{"name":"rewards_pool","type":"asset"},{"name":"total_voteage","type":"int64"},{"name":"voteage_update_height","type":"uint32"},{"name":"url","type":"string"},{"name":"emergency","type":"bool"}]},{"name":"setemergency","base":"","fields":[{"name":"bpname","type":"account_name"},{"name":"emergency","type":"bool"}]},{"name":"chain_status","base":"","fields":[{"name":"name","type":"account_name"},{"name":"emergency","type":"bool"}]},{"name":"producer","base":"","fields":[{"name":"bpname","type":"account_name"},{"name":"amount","type":"uint32"}]},{"name":"schedule_info","base":"","fields":[{"name":"version","type":"uint64"},{"name":"block_height","type":"uint32"},{"name":"producers","type":"producer[]"}]}],"actions":[{"name":"newaccount","type":"newaccount","ricardian_contract":""},{"name":"transfer","type":"transfer","ricardian_contract":""},{"name":"updatebp","type":"updatebp","ricardian_contract":""},{"name":"vote","type":"vote_parameter","ricardian_contract":""},{"name":"unfreeze","type":"unfreeze","ricardian_contract":""},{"name":"claim","type":"claim","ricardian_contract":""},{"name":"setemergency","type":"setemergency","ricardian_contract":""}],"tables":[{"name":"accounts","index_type":"i64","key_names":["name"],"key_types":["account_name"],"type":"account_info"},{"name":"bps","index_type":"i64","key_names":["name"],"key_types":["account_name"],"type":"bp_info"},{"name":"votes","index_type":"i64","key_names":["bpname"],"key_types":["account_name"],"type":"vote_info"},{"name":"chainstatus","index_type":"i64","key_names":["name"],"key_types":["account_name"],"type":"chain_status"},{"name":"schedules","index_type":"i64","key_names":["version"],"key_types":["uint64"],"type":"schedule_info"}],"ricardian_clauses":[],"error_messages":[],"abi_extensions":[]}}')},function(e){e.exports=JSON.parse('{"name":"uint64","checksum160":"fixed_bytes20","checksum256":"fixed_bytes32","checksum512":"fixed_bytes64","signature":"fixed_bytes65","public_key":"fixed_bytes33","message_type":"fixed_string16","symbol":"uint64","symbol_code":"uint64","field_name":"string","account_name":"name","permission_name":"name","type_name":"string","token_name":"name","table_name":"name","scope_name":"name","action_name":"name","time_point":"int64","time_point_sec":"time","timestamp":"uint32","block_timestamp_type":"timestamp","block_id":"fixed_bytes32","checksum_type":"fixed_bytes32","checksum256_type":"fixed_bytes32","checksum512_type":"fixed_bytes64","checksum160_type":"fixed_bytes20","sha256":"fixed_bytes32","sha512":"fixed_bytes64","sha160":"fixed_bytes20","weight_type":"uint16","block_num_type":"uint32","share_type":"int64","digest_type":"checksum_type","context_free_type":"bytes","unsigned_int":"varuint32","bool":"uint8","extensions_type":{"base":"","fields":{"type":"uint16","data":"bytes"}},"transaction_header":{"base":"","fields":{"expiration":"time","ref_block_num":"uint16","ref_block_prefix":"uint32","net_usage_words":"unsigned_int","max_cpu_usage_ms":"uint8","delay_sec":"unsigned_int"}},"transaction":{"base":"transaction_header","fields":{"context_free_actions":"action[]","actions":"action[]","transaction_extensions":"extensions_type[]"}},"transaction_with_fee":{"base":"transaction_header","fields":{"context_free_actions":"action[]","actions":"action[]","transaction_extensions":"extensions_type[]","fee":"asset"}},"signed_transaction":{"base":"transaction","fields":{"signatures":"signature[]","context_free_data":"bytes[]"}},"fields":"field_def[]","field_def":{"fields":{"name":"field_name","type":"type_name"}},"asset":{"fields":{"amount":"share_type","sym":"symbol"}},"producer_key":{"fields":{"producer_name":"account_name","block_signing_key":"public_key"}},"producer_schedule":{"fields":{"version":"uint32","producers":"producer_key[]"}},"chain_config":{"fields":{"target_block_size":"uint32","max_block_size":"uint32","target_block_acts_per_scope":"uint32","max_block_acts_per_scope":"uint32","target_block_acts":"uint32","max_block_acts":"uint32","real_threads":"uint64","max_storage_size":"uint64","max_transaction_lifetime":"uint32","max_authority_depth":"uint16","max_transaction_exec_time":"uint32","max_inline_depth":"uint16","max_inline_action_size":"uint32","max_generated_transaction_size":"uint32"}},"type_def":{"base":"","fields":{"new_type_name":"type_name","type":"type_name"}},"struct_def":{"base":"","fields":{"name":"type_name","base":"type_name","fields":"field_def[]"}},"clause_pair":{"base":"","fields":{"id":"string","body":"string"}},"error_message":{"base":"","fields":{"error_code":"uint64","error_msg":"string"}},"abi_def":{"base":"","fields":{"version":"string","types":"type_def[]","structs":"struct_def[]","actions":"action_def[]","tables":"table_def[]","ricardian_clauses":"clause_pair[]","error_messages":"error_message[]","abi_extensions":"extensions_type[]"}},"table_def":{"base":"","fields":{"name":"table_name","index_type":"type_name","key_names":"field_name[]","key_types":"type_name[]","type":"type_name"}},"action":{"base":"","fields":{"account":"account_name","name":"action_name","authorization":"permission_level[]","data":"bytes"}},"action_def":{"base":"","fields":{"name":"action_name","type":"type_name","ricardian_contract":"string"}},"block_header":{"base":"","fields":{"previous":"checksum256","timestamp":"timestamp","transaction_mroot":"checksum256","action_mroot":"checksum256","block_mroot":"checksum256","producer":"account_name","schedule_version":"uint32","new_producers":"producer_schedule?"}},"packed_transaction":{"fields":{"signatures":"signature[]","compression":"uint8","packed_context_free_data":"bytes","packed_trx":"bytes"}},"nonce":{"action":{"name":"nonce","account":"eosio.null"},"fields":{"value":"string"}}}')},function(e){e.exports=JSON.parse('{"account_name":"name","action_name":"name","authority":{"base":"","fields":{"threshold":"uint32","keys":"key_weight[]","accounts":"permission_level_weight[]","waits":"wait_weight[]"}},"bidname":{"base":"","action":{"name":"bidname","account":"eosio"},"fields":{"bidder":"account_name","newname":"account_name","bid":"asset"}},"blockchain_parameters":{"base":"","fields":{"max_block_net_usage":"uint64","target_block_net_usage_pct":"uint32","max_transaction_net_usage":"uint32","base_per_transaction_net_usage":"uint32","net_usage_leeway":"uint32","context_free_discount_net_usage_num":"uint32","context_free_discount_net_usage_den":"uint32","max_block_cpu_usage":"uint32","target_block_cpu_usage_pct":"uint32","max_transaction_cpu_usage":"uint32","min_transaction_cpu_usage":"uint32","max_transaction_lifetime":"uint32","deferred_trx_expiration_window":"uint32","max_transaction_delay":"uint32","max_inline_action_size":"uint32","max_inline_action_depth":"uint16","max_authority_depth":"uint16"}},"buyram":{"base":"","action":{"name":"buyram","account":"eosio"},"fields":{"payer":"account_name","receiver":"account_name","quant":"asset"}},"buyrambytes":{"base":"","action":{"name":"buyrambytes","account":"eosio"},"fields":{"payer":"account_name","receiver":"account_name","bytes":"uint32"}},"canceldelay":{"base":"","action":{"name":"canceldelay","account":"eosio"},"fields":{"canceling_auth":"permission_level","trx_id":"transaction_id_type"}},"claimrewards":{"base":"","action":{"name":"claimrewards","account":"eosio"},"fields":{"owner":"account_name"}},"connector":{"base":"","fields":{"balance":"asset","weight":"float64"}},"delegatebw":{"base":"","action":{"name":"delegatebw","account":"eosio"},"fields":{"from":"account_name","receiver":"account_name","stake_net_quantity":"asset","stake_cpu_quantity":"asset","transfer":"bool"}},"delegated_bandwidth":{"base":"","fields":{"from":"account_name","to":"account_name","net_weight":"asset","cpu_weight":"asset"}},"deleteauth":{"base":"","action":{"name":"deleteauth","account":"eosio"},"fields":{"account":"account_name","permission":"permission_name"}},"eosio_global_state":{"base":"blockchain_parameters","fields":{"max_ram_size":"uint64","total_ram_bytes_reserved":"uint64","total_ram_stake":"int64","last_producer_schedule_update":"block_timestamp_type","last_pervote_bucket_fill":"uint64","pervote_bucket":"int64","perblock_bucket":"int64","total_unpaid_blocks":"uint32","total_activated_stake":"int64","thresh_activated_stake_time":"uint64","last_producer_schedule_size":"uint16","total_producer_vote_weight":"float64","last_name_close":"block_timestamp_type"}},"exchange_state":{"base":"","fields":{"supply":"asset","base":"connector","quote":"connector"}},"key_weight":{"base":"","fields":{"key":"public_key","weight":"weight_type"}},"linkauth":{"base":"","action":{"name":"linkauth","account":"eosio"},"fields":{"account":"account_name","code":"account_name","type":"action_name","requirement":"permission_name"}},"namebid_info":{"base":"","fields":{"newname":"account_name","high_bidder":"account_name","high_bid":"int64","last_bid_time":"uint64"}},"newaccount":{"base":"","action":{"name":"newaccount","account":"eosio"},"fields":{"creator":"account_name","name":"account_name","owner":"authority","active":"authority"}},"setfee":{"base":"","action":{"name":"setfee","account":"eosio"},"fields":{"account":"account_name","action":"action_name","fee":"asset","cpu_limit":"uint32","net_limit":"uint32","ram_limit":"uint32"}},"onerror":{"base":"","action":{"name":"onerror","account":"eosio"},"fields":{"sender_id":"uint128","sent_trx":"bytes"}},"permission_level":{"base":"","fields":{"actor":"account_name","permission":"permission_name"}},"permission_level_weight":{"base":"","fields":{"permission":"permission_level","weight":"weight_type"}},"permission_name":"name","producer_info":{"base":"","fields":{"owner":"account_name","total_votes":"float64","producer_key":"public_key","is_active":"bool","url":"string","unpaid_blocks":"uint32","last_claim_time":"uint64","location":"uint16"}},"producer_key":{"base":"","fields":{"producer_name":"account_name","block_signing_key":"public_key"}},"refund":{"base":"","action":{"name":"refund","account":"eosio"},"fields":{"owner":"account_name"}},"refund_request":{"base":"","fields":{"owner":"account_name","request_time":"time_point_sec","net_amount":"asset","cpu_amount":"asset"}},"regproducer":{"base":"","action":{"name":"regproducer","account":"eosio"},"fields":{"producer":"account_name","producer_key":"public_key","url":"string","location":"uint16"}},"regproxy":{"base":"","action":{"name":"regproxy","account":"eosio"},"fields":{"proxy":"account_name","isproxy":"bool"}},"require_auth":{"base":"","action":{"name":"reqauth","account":"eosio"},"fields":{"from":"account_name"}},"rmvproducer":{"base":"","action":{"name":"rmvproducer","account":"eosio"},"fields":{"producer":"account_name"}},"sellram":{"base":"","action":{"name":"sellram","account":"eosio"},"fields":{"account":"account_name","bytes":"uint64"}},"set_account_limits":{"base":"","action":{"name":"setalimits","account":"eosio"},"fields":{"account":"account_name","ram_bytes":"int64","net_weight":"int64","cpu_weight":"int64"}},"set_global_limits":{"base":"","action":{"name":"setglimits","account":"eosio"},"fields":{"cpu_usec_per_period":"int64"}},"set_producers":{"base":"","action":{"name":"setprods","account":"eosio"},"fields":{"schedule":"producer_key[]"}},"setabi":{"base":"","action":{"name":"setabi","account":"eosio"},"fields":{"account":"account_name","abi":"bytes"}},"setcode":{"base":"","action":{"name":"setcode","account":"eosio"},"fields":{"account":"account_name","vmtype":"uint8","vmversion":"uint8","code":"bytes"}},"setparams":{"base":"","action":{"name":"setparams","account":"eosio"},"fields":{"params":"blockchain_parameters"}},"setpriv":{"base":"","action":{"name":"setpriv","account":"eosio"},"fields":{"account":"account_name","is_priv":"int8"}},"setram":{"base":"","action":{"name":"setram","account":"eosio"},"fields":{"max_ram_size":"uint64"}},"total_resources":{"base":"","fields":{"owner":"account_name","net_weight":"asset","cpu_weight":"asset","ram_bytes":"uint64"}},"transaction_id_type":"checksum256","undelegatebw":{"base":"","action":{"name":"undelegatebw","account":"eosio"},"fields":{"from":"account_name","receiver":"account_name","unstake_net_quantity":"asset","unstake_cpu_quantity":"asset"}},"unlinkauth":{"base":"","action":{"name":"unlinkauth","account":"eosio"},"fields":{"account":"account_name","code":"account_name","type":"action_name"}},"unregprod":{"base":"","action":{"name":"unregprod","account":"eosio"},"fields":{"producer":"account_name"}},"updateauth":{"base":"","action":{"name":"updateauth","account":"eosio"},"fields":{"account":"account_name","permission":"permission_name","parent":"permission_name","auth":"authority"}},"user_resources":{"base":"","fields":{"owner":"account_name","net_weight":"asset","cpu_weight":"asset","ram_bytes":"uint64"}},"voteproducer":{"base":"","action":{"name":"voteproducer","account":"eosio"},"fields":{"voter":"account_name","proxy":"account_name","producers":"account_name[]"}},"voter_info":{"base":"","fields":{"owner":"account_name","proxy":"account_name","producers":"account_name[]","staked":"int64","last_vote_weight":"float64","proxied_vote_weight":"float64","is_proxy":"bool","deferred_trx_id":"uint32","last_unstake_time":"time_point_sec","unstaking":"asset"}},"wait_weight":{"base":"","fields":{"wait_sec":"uint32","weight":"weight_type"}},"weight_type":"uint16"}')},function(e){e.exports=JSON.parse('{"account":{"base":"","fields":{"balance":"asset"}},"account_name":"name","create":{"base":"","action":{"name":"create","account":"eosio.token"},"fields":{"issuer":"account_name","maximum_supply":"asset"}},"currency_stats":{"base":"","fields":{"supply":"asset","max_supply":"asset","issuer":"account_name"}},"issue":{"base":"","action":{"name":"issue","account":"eosio.token"},"fields":{"to":"account_name","quantity":"asset","memo":"string"}},"transfer":{"base":"","action":{"name":"transfer","account":"eosio.token"},"fields":{"from":"account_name","to":"account_name","quantity":"asset","memo":"string"}}}')},function(e){e.exports=JSON.parse('{"vote":{"base":"","test_code":{},"action":{"name":"vote","account":"eosio"},"fields":{"voter":"account_name","bpname":"account_name","stake":"asset"}},"unfreeze":{"base":"","action":{"name":"unfreeze","account":"eosio"},"fields":{"voter":"account_name","bpname":"account_name"}},"claim":{"base":"","action":{"name":"claim","account":"eosio"},"fields":{"voter":"account_name","bpname":"account_name"}},"transfer":{"base":"","action":{"name":"transfer","account":"eosio.token"},"fields":{"from":"account_name","to":"account_name","quantity":"asset","memo":"string"}}}')},function(e,t,r){"use strict";var n=r(36),A=r(488);r(489);e.exports=function(e,t){return t=Object.assign({},{defaults:!0},t),{abiAsync:function(r){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(n(r,"required account"),i[r])return Promise.resolve(i[r]);if(0==o&&null!=i[r])return Promise.resolve(i[r]);return n(e,"Network is required, provide config.httpEndpoint"),e.getAbi(r).then(function(e){var o=e.abi;n(o,"Missing ABI for account: "+r);var a=!0,s=!1,u=void 0;try{for(var l,c=function(){var e=l.value;if(e.name!=e.type){var t=o.structs.find(function(t){return t.name==e.type});e.type=e.name;var r=JSON.parse(JSON.stringify(t));r.name=e.name,o.structs.push(r)}},f=o.actions[Symbol.iterator]();!(a=(l=f.next()).done);a=!0)c()}catch(e){s=!0,u=e}finally{try{!a&&f.return&&f.return()}finally{if(s)throw u}}o.structs.forEach(function(e){var t=o.actions.find(function(t){return t.name==e.name});t&&(e.action={account:r,name:t.name})});var d=function(e){var t={};e.types&&e.types.forEach(function(e){t[e.new_type_name]=e.type});e.structs&&e.structs.forEach(function(e){var r={},n=!0,A=!1,i=void 0;try{for(var o,a=e.fields[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;r[s.name]=s.type}}catch(e){A=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(A)throw i}}t[e.name]={base:e.base,fields:r},""===e.base&&delete t[e.name].base});return t}(o),g=A(t,d);return i[r]=Object.assign({abi:o,schema:d},g)})},abi:function(e){var t=i[e];if(null==t)throw new Error("Abi '"+e+"' is not cached");return t}}};var i={}},function(e,t,r){"use strict";(function(t){var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,A=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){A=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(A)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function i(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){return function n(A,i){try{var o=t[A](i),a=o.value}catch(e){return void r(e)}if(!o.done)return Promise.resolve(a).then(function(e){n("next",e)},function(e){n("throw",e)});e(a)}("next")})}}var o=r(36),a=r(486),s=r(487),u=r(45),l=r(913).processArgs,c=r(488);e.exports=function(e,r,c,B,C){if("string"!=typeof B.chainId)throw new TypeError("config.chainId is required");var m=function(e,r,c,B){var C=function(e,t){return r=i(regeneratorRuntime.mark(function e(){for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];var a,s,u,l,f,g,h,p,I,B,C,y,E,b,v,D,M,k,_,S,N;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=void 0,s=void 0,u=void 0,null==n[n.length-1]&&(n=n.slice(0,n.length-1)),!(l=d(n[0]))){e.next=8;break}a=n[0],n=n.slice(1),e.next=39;break;case 8:if("string"!=typeof n[0]){e.next=13;break}a=[n[0]],n=n.slice(1),e.next=39;break;case 13:if("object"!==A(n[0])||!A(Array.isArray(n[0].actions))){e.next=39;break}for(f=new Set,g=!0,h=!1,p=void 0,e.prev=18,I=n[0].actions[Symbol.iterator]();!(g=(B=I.next()).done);g=!0)C=B.value,f.add(C.account);e.next=26;break;case 22:e.prev=22,e.t0=e.catch(18),h=!0,p=e.t0;case 26:e.prev=26,e.prev=27,!g&&I.return&&I.return();case 29:if(e.prev=29,!h){e.next=32;break}throw p;case 32:return e.finish(29);case 33:return e.finish(26);case 34:return y=[],E=new Set,f.forEach(function(e){E.has(e)||y.push(c.abiCache.abiAsync(e))}),e.next=39,Promise.all(y);case 39:if(n.length>1&&"function"==typeof n[n.length-1]&&(u=n.pop()),n.length>1&&"object"===A(n[n.length-1])&&(s=n.pop()),o.equal(n.length,1,"transaction args: contracts<string|array>, transaction<callback|object>, [options], [callback]"),b=n[0],!a){e.next=67;break}for(o(!u,"callback with contracts are not supported"),o.equal("function",void 0===b?"undefined":A(b),"provide function callback following contracts array parameter"),v=[],D=!0,M=!1,k=void 0,e.prev=50,_=a[Symbol.iterator]();!(D=(S=_.next()).done);D=!0)N=S.value,v.push(m(N,t.transaction));e.next=58;break;case 54:e.prev=54,e.t1=e.catch(50),M=!0,k=e.t1;case 58:e.prev=58,e.prev=59,!D&&_.return&&_.return();case 61:if(e.prev=61,!M){e.next=64;break}throw k;case 64:return e.finish(61);case 65:return e.finish(58);case 66:return e.abrupt("return",Promise.all(v).then(function(e){var t={};e.forEach(function(e,r){t[a[r]]=e});var r=l?t:t[a[0]];return Q(b,s,r)}));case 67:if("function"!=typeof b){e.next=69;break}return e.abrupt("return",Q(b,s,t));case 69:if("object"!==(void 0===b?"undefined":A(b))){e.next=71;break}return e.abrupt("return",w(b,s,u));case 71:throw new Error("first transaction argument unrecognized",b);case 72:case"end":return e.stop()}},e,this,[[18,22,26,34],[27,,29,33],[50,54,58,66],[59,,61,65]])})),function(){return r.apply(this,arguments)};var r};function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return c.abiCache.abiAsync(e).then(function(r){o(Array.isArray(r.abi.actions)&&r.abi.actions.length,"No actions");var n={};return n.transaction=t||C(r.structs,n),r.abi.actions.forEach(function(t){var A=t.name,i=t.type,o=I(r.schema,i);n[A]=y(i,o,n.transaction,e,A)}),n.fc=r,n})}function y(t,r,i){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"eosio.token",s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:t;return function(){for(var u=arguments.length,f=Array(u),d=0;d<u;d++)f[d]=arguments[d];if(0!==f.length){var p={},I=f[f.length-1];"object"===(void 0===I?"undefined":A(I))&&"object"===A(I.__optionOverrides)&&Object.assign(p,f.pop().__optionOverrides);var B=l(f,Object.keys(r),t,g),C=B.options,m=B.params,y=B.returnPromise,Q=B.callback,w={broadcast:c.broadcast,sign:c.sign};if(C=Object.assign({},w,C,p),p.noCallback&&!y)throw new Error("Callback during a transaction are not supported");var E=null==C.authorization,b=[];C.authorization&&("string"==typeof C.authorization&&(C.authorization=[C.authorization]),C.authorization.forEach(function(e){if("string"==typeof e){var t=e.split("@"),r=n(t,2),i=r[0],o=r[1],a=void 0===o?"active":o;b.push({actor:i,permission:a})}else"object"===(void 0===e?"undefined":A(e))&&b.push(e)}),o.equal(b.length,C.authorization.length,"invalid authorization in: "+JSON.stringify(C.authorization)));var v={actions:[{account:a,name:s,authorization:b,data:m}]};if(E){var D=Object.keys(r),M=D[0];C.actor?v.actions[0].authorization.push({actor:C.actor,permission:C.permission||"active"}):"account_name"===r[M]&&v.actions[0].authorization.push({actor:m[M],permission:"active"})}return v.actions[0].authorization.sort(function(e,t){return e.actor>t.actor?1:e.actor<t.actor?-1:0}),p.messageOnly?Q(null,v):i(v,C,Q),y}console.log(h(t,r,e,a,c))}}function Q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2];o.equal("function",void 0===e?"undefined":A(e),"trCallback"),o.equal("object",void 0===t?"undefined":A(t),"options"),o.equal("object",void 0===r?"undefined":A(r),"merges"),o(!Array.isArray(r),"merges should not be an array"),o.equal("function",A(w),"transaction");var i=[],a={},s=function(e){return function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var A=e.apply(void 0,r.concat([{__optionOverrides:{broadcast:!1,messageOnly:!0,noCallback:!0}}]));if(null==A)throw new Error("Callbacks can not be used when creating a multi-action transaction");i.push(A)}};for(var u in r){var l=r[u],c=u.replace(/\./,"_");if("function"==typeof l)a[c]=s(l);else if("object"===(void 0===l?"undefined":A(l)))for(var f in null==a[c]&&(a[c]={}),l)"transaction"!==f&&(a[c][f]=s(l[f]))}var d=void 0;try{d=e(a)}catch(e){d=Promise.reject(e)}return Promise.resolve(d).then(function(){return Promise.all(i).then(function(e){var r=[],A=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(A=(a=s.next()).done);A=!0){var u=a.value,l=n(u.actions,1)[0];r.push(l)}}catch(e){i=!0,o=e}finally{try{!A&&s.return&&s.return()}finally{if(i)throw o}}var c={};return c.actions=r,w(c,t)})})}function w(e,n,l){var d={expireInSeconds:c.expireInSeconds?c.expireInSeconds:60,broadcast:!0,sign:!0};n=Object.assign({},d,n);var g=void 0;if("function"!=typeof l&&(g=new Promise(function(e,t){l=function(r,n){r?t(r):e(n)}})),"object"!==(void 0===e?"undefined":A(e)))throw new TypeError("First transaction argument should be an object or function");if(!Array.isArray(e.actions))throw new TypeError("Expecting actions array");if(c.logger.log||c.logger.error){var h=l;l=function(e,t){e&&c.logger.error&&c.logger.error(e),c.logger.log&&c.logger.log(JSON.stringify(t)),h(e,t)}}if(e.actions.forEach(function(e){if(!Array.isArray(e.authorization))throw new TypeError("Expecting action.authorization array",e)}),n.sign&&"function"!=typeof c.signProvider)throw new TypeError("Expecting config.signProvider function (disable using {sign: false})");var I=null;if(null!=e.expiration&&null!=e.ref_block_num&&null!=e.ref_block_prefix){var C=e.expiration,m=e.ref_block_num,y=e.ref_block_prefix,Q=e.max_net_usage_words,w=void 0===Q?0:Q,E=e.max_cpu_usage_ms,b=void 0===E?0:E,v=e.delay_sec;I={expiration:C,ref_block_num:m,ref_block_prefix:y,max_net_usage_words:w,max_cpu_usage_ms:b,delay_sec:void 0===v?0:v}}var D,M=void 0;return I?M=function(e,t){return t(null,I)}:c.transactionHeaders?(o.equal(A(c.transactionHeaders),"function","config.transactionHeaders"),M=c.transactionHeaders):(o(r,"Network is required, provide config.httpEndpoint"),M=r.createTransaction),M(n.expireInSeconds,p(l,c.logger,(D=i(regeneratorRuntime.mark(function i(d){var g,h,p,I,C,m,y;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:o.equal(void 0===d?"undefined":A(d),"object","expecting transaction header object"),o.equal(A(d.expiration),"string","expecting expiration: iso date time string"),o.equal(A(d.ref_block_num),"number","expecting ref_block_num number"),o.equal(A(d.ref_block_prefix),"number","expecting ref_block_prefix number"),d.max_net_usage_words=0,(d=Object.assign({},d)).actions=e.actions,g=B.fromObject(d),h=s.toBuffer(B,g),p=B.toObject(g),I=u("sha256").update(h).digest().toString("hex"),C=[],n.sign&&(m=new t(c.chainId,"hex"),y=t.concat([m,h,new t(new Uint8Array(32))]),C=c.signProvider({transaction:p,buf:y,sign:f}),Array.isArray(C)||(C=[C])),Promise.all(C).then(function(e){e=[].concat.apply([],e);for(var t=0;t<e.length;t++){var A=e[t];"string"==typeof A&&130===A.length&&(e[t]=a.Signature.from(A).toString())}p.signatures=p.signatures||e;var i={compression:"none",transaction:p,signatures:e},s=c.mockTransactions?c.mockTransactions():null;if(null==s)n.broadcast&&r?r.pushTransaction(i,function(e){e?(c.logger.error&&c.logger.error("[push_transaction error] '"+e.message+"', transaction '"+h.toString("hex")+"'"),l(e.message)):l(null,{transaction_id:I,broadcast:!0,transaction:i})}):l(null,{transaction_id:I,broadcast:!1,transaction:i});else if(o(/pass|fail/.test(s),"mockTransactions should return a string: pass or fail"),"pass"===s&&l(null,{transaction_id:I,mockTransaction:!0,broadcast:!1,transaction:i}),"fail"===s){var u="[push_transaction mock error] 'fake error', digest '"+h.toString("hex")+"'";c.logger.error&&c.logger.error(u),l(u)}}).catch(function(e){c.logger.error&&c.logger.error(e),l(e)});case 14:case"end":return i.stop()}},i,this)})),function(e){return D.apply(this,arguments)}))),g}return{genTransaction:C,genContractActions:m,genMethod:y}}(e,r,B,c.transaction),y=new Set(["transaction","contract"]),Q={};for(var w in Q.transaction=m.genTransaction(c,Q),C){var E=C[w];if(null!=E.action){var b=E.action.name;if(y.has(b))throw new TypeError("Conflicting Api function: "+w);if(null!=c[w]){var v=I(C,w);Q[b]=m.genMethod(w,v,Q.transaction,E.action.account)}}}return Q.contract=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=l(t,["account"],"contract",g),A=n.params,i=(n.options,n.returnPromise),o=n.callback,a=A.account;return m.genContractActions(a).then(function(e){o(null,e)}).catch(function(e){o(e)}),i},Q};var f=a.sign;var d=function(e){return Array.isArray(e)&&e.length>0&&-1===e.findIndex(function(e){return"string"!=typeof e})},g=function(e){return"object"===(void 0===e?"undefined":A(e))?e:"boolean"==typeof e?{broadcast:e}:void 0};function h(e,t,r,n,A){var i="",o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";i+=e+"\n"};o("CONTRACT"),o(n),o(),o("FUNCTION"),o(e),o();var a=void 0;if("eosio"===n||"eosio.token"===n){a=c(Object.assign({defaults:!0,network:r},A)).structs[e],o("PARAMETERS"),o(JSON.stringify(t,null,4)),o(),o("EXAMPLE"),o(JSON.stringify(a.toObject(),null,4))}else{var s=A.abiCache.abi(n);o("PARAMETERS"),o(JSON.stringify(I(s.schema,e),null,4)),o(),a=s.structs[e],o("EXAMPLE"),o(JSON.stringify(a.toObject(),null,4))}if(null==a)throw TypeError("Unknown type: "+e);return i}var p=function(e,t,r){return function(n,A){n?(t.error&&t.error("error",n),e(n)):Promise.resolve(r(A)).catch(function(t){e(t)})}};function I(e,t){var r=e[t],n=r.base,A=r.fields,i={};return n&&""!==n&&Object.assign(i,I(e,n)),Object.assign(i,A),i}}).call(this,r(8).Buffer)},function(e){e.exports=JSON.parse('{"_args":[["cdxjs@1.0.22","/Users/Forrest/Desktop/zhiyou/VUE/mathwalletplus"]],"_from":"cdxjs@1.0.22","_id":"cdxjs@1.0.22","_inBundle":false,"_integrity":"sha1-7mcmYo1DF63LHN8yqxS4YsZRy28=","_location":"/cdxjs","_phantomChildren":{"bigi":"1.4.2","bn.js":"4.11.8","browserify-aes":"1.2.0","bs58":"4.0.1","bs58check":"2.1.2","bytebuffer":"5.0.1","camel-case":"3.0.0","create-hash":"1.2.0","create-hmac":"1.1.7","ecurve":"1.0.6","ieee-float":"0.6.0","isomorphic-fetch":"2.2.1","ms":"2.0.0","randombytes":"2.1.0","tiny-secp256k1":"1.1.3","typeforce":"1.18.0","wif":"2.0.6"},"_requested":{"type":"version","registry":true,"raw":"cdxjs@1.0.22","name":"cdxjs","escapedName":"cdxjs","rawSpec":"1.0.22","saveSpec":null,"fetchSpec":"1.0.22"},"_requiredBy":["/"],"_resolved":"https://registry.npm.taobao.org/cdxjs/download/cdxjs-1.0.22.tgz","_spec":"1.0.22","_where":"/Users/Forrest/Desktop/zhiyou/VUE/mathwalletplus","author":"","babel":{"presets":["es2015","stage-2"]},"bugs":{"url":"https://github.com/codexnetwork/codex-js/issues"},"dependencies":{"axios":"^0.19.0","babel-regenerator-runtime":"^6.5.0","babel-runtime":"^6.26.0","binaryen":"^37.0.0","bip32":"^1.0.2","bip39":"^2.5.0","bitcoinjs-lib":"^4.0.3","create-hash":"^1.1.3","eosjs":"^16.0.9","eosjs-api":"git+https://github.com/eosforce/eosjs-api.git#faea748","eosjs-ecc":"4.0.1","fcbuffer":"2.2.0","sjcl":"^1.0.8"},"description":"General purpose library for the CODEX blockchain.","devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.3","babel-preset-es2015":"^6.24.1","babel-preset-stage-2":"^6.24.1","browserify":"^14.4.0","camel-case":"^3.0.0","coveralls":"^3.0.0","eosjs-keygen":"^1.3.2","jsdoc-to-markdown":"^3.0.4","mocha":"^3.4.2","nyc":"^11.4.1","regenerator-runtime":"^0.13.1"},"homepage":"https://github.com/codexnetwork/codex-js","keywords":["CODEX","Blockchain"],"license":"MIT","main":"lib/index.js","name":"cdxjs","repository":{"type":"git","url":"git+https://github.com/codexnetwork/codex-js.git"},"scripts":{"build":"babel --copy-files src --out-dir lib","build_browser":"npm run build && mkdir -p dist && browserify -o dist/codex.js -s Codex lib/index.js","build_browser_test":"npm run build && mkdir -p dist && browserify -o dist/test.js lib/*.test.js","coverage":"nyc --reporter=html npm test","coveralls":"npm run coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls","dev":"NODE_ENV=development nodemon src/test.js --exec babel-node","dev_new":"NODE_ENV=development nodemon src/dev.js --exec babel-node","docs":"jsdoc2md src/format.js > docs/index.md","prepublishOnly":"npm run build_browser && npm run docs","test":"mocha --use_strict src/*.test.js","test_lib":"mocha --use_strict lib/*.test.js"},"version":"1.0.22"}')},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,A=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){A=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(A)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};var i=r(17),o=r(109).Long,a=r(36),s={bytes:function(){return[C]},string:function(){return[m]},vector:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return[f,{type:e,sorted:t}]},optional:function(e){return[d,{type:e}]},time:function(){return[y]},map:function(e){return[l,{annotation:e}]},static_variant:function(e){return[c,{types:e}]},fixed_string16:function(){return[m,{maxLen:16}]},fixed_string32:function(){return[m,{maxLen:32}]},fixed_bytes16:function(){return[C,{len:16}]},fixed_bytes20:function(){return[C,{len:20}]},fixed_bytes28:function(){return[C,{len:28}]},fixed_bytes32:function(){return[C,{len:32}]},fixed_bytes33:function(){return[C,{len:33}]},fixed_bytes64:function(){return[C,{len:64}]},fixed_bytes65:function(){return[C,{len:65}]},uint8:function(){return[h,{bits:8}]},uint16:function(){return[h,{bits:16}]},uint32:function(){return[h,{bits:32}]},uint64:function(){return[h,{bits:64}]},uint128:function(){return[p,{bits:128}]},uint224:function(){return[p,{bits:224}]},uint256:function(){return[p,{bits:256}]},uint512:function(){return[p,{bits:512}]},varuint32:function(){return[h,{bits:32,variable:!0}]},int8:function(){return[h,{signed:!0,bits:8}]},int16:function(){return[h,{signed:!0,bits:16}]},int32:function(){return[h,{signed:!0,bits:32}]},int64:function(){return[h,{signed:!0,bits:64}]},int128:function(){return[p,{signed:!0,bits:128}]},int224:function(){return[p,{signed:!0,bits:224}]},int256:function(){return[p,{signed:!0,bits:256}]},int512:function(){return[p,{signed:!0,bits:512}]},varint32:function(){return[h,{signed:!0,bits:32,variable:!0}]},float32:function(){return[B,{bits:32}]},float64:function(){return[B,{bits:64}]}};function u(e,t,r,n,i,o){var a=(n?i[e]:s[e]).apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(r)),u=A(a,2),l=u[0],c=u[1],f=void 0===c?{}:c,d=Object.assign(f,t);d.typeName=e;var g=l(d,n,o);return g.typeName=e,g}e.exports=function(e){e=Object.assign({defaults:!1,debug:!1,customTypes:{}},e);var t=Object.assign({},s,e.customTypes),r=function(r){return function(n,A){return n[A]=function(){for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=u(A,e,o,r,t,n);return s},n}},n=Object.keys(s).reduce(r(),{}),A=Object.keys(e.customTypes||{}).reduce(r(n),{});return Object.assign({},n,A,{config:e})};var l=function(e){var t=A(e.annotation,2),r=t[0],n=t[1];if(!v(r))throw new TypeError("map<type1, > unknown");if(!v(n))throw new TypeError("map<, type2> unknown");return{fromByteBuffer:function(t){for(var A=t.readVarint32(),i={},o=0;o<A;o++)i[r.fromByteBuffer(t)]=n.fromByteBuffer(t);return e.debug&&console.log("0x"+A.toString(16),"(map.fromByteBuffer length)",i),i},appendByteBuffer:function(t,A){Q(A,e);var i=Object.keys(A);t.writeVarint32(i.length),e.debug&&console.log("0x"+i.length.toString(16),"(map.appendByteBuffer length)",i);var o=!0,a=!1,s=void 0;try{for(var u,l=i[Symbol.iterator]();!(o=(u=l.next()).done);o=!0){var c=u.value,f=A[c];r.appendByteBuffer(t,c),n.appendByteBuffer(t,f)}}catch(e){a=!0,s=e}finally{try{!o&&l.return&&l.return()}finally{if(a)throw s}}},fromObject:function(t){Q(t,e);var A={};for(var i in t)A[r.fromObject(i)]=n.fromObject(t[i]);return A},toObject:function(t){if(e.defaults&&null==t)return function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},r.toObject(null),n.toObject(null));Q(t,e);var A={};for(var i in t)A[r.toObject(i)]=n.toObject(t[i]);return A}}},c=function(e){var t=e.types;return{fromByteBuffer:function(r){var n=r.readVarint32(),A=t[n];return e.debug&&console.error("static_variant id "+n+" (0x"+n.toString(16)+")"),a(A,"static_variant invalid type position "+n),[n,A.fromByteBuffer(r)]},appendByteBuffer:function(e,r){a(Array.isArray(r)&&2===r.length,"Required tuple");var n=r[0],A=t[n];a(A,"type "+n),e.writeVarint32(n),A.appendByteBuffer(e,r[1])},fromObject:function(e){a(Array.isArray(e)&&2===e.length,"Required tuple");var r=e[0],n=t[r];return a(n,"type "+r),[r,n.fromObject(e[1])]},toObject:function(r){if(e.defaults&&null==r)return[0,t[0].toObject(null,debug)];a(Array.isArray(r)&&2===r.length,"Required tuple");var n=r[0],A=t[n];return a(A,"type "+n),[n,A.toObject(r[1])]}}},f=function(e){var t=e.type,r=e.sorted;if(!v(t))throw new TypeError("vector type should be a serializer");return{fromByteBuffer:function(r){var n=r.readVarint32();e.debug&&console.log("fromByteBuffer vector length",n,"(0x"+n.toString(16)+")");for(var A=[],i=0;i<n;i++)A.push(t.fromByteBuffer(r));return A},appendByteBuffer:function(n,A){null==A&&(A=[]),Q(A,e),n.writeVarint32(A.length),!0===r&&(A=D(t,Object.assign([],A))),e.debug&&console.log("0x"+A.length.toString(16),"(vector.appendByteBuffer length)",A);var i=!0,o=!1,a=void 0;try{for(var s,u=A[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value;t.appendByteBuffer(n,l)}}catch(e){o=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw a}}},fromObject:function(n){null==n&&(n=[]),Q(n,e);var A=[],i=!0,o=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value;A.push(t.fromObject(l))}}catch(e){o=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw a}}return!0===r&&(A=D(t,Object.assign([],A))),A},toObject:function(n){if(e.defaults&&null==n)return[t.toObject(n)];null==n&&(n=[]),Q(n,e),!0===r&&(n=D(t,Object.assign([],n)));var A=[],i=!0,o=!1,a=void 0;try{for(var s,u=n[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value;A.push(t.toObject(l))}}catch(e){o=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw a}}return A}}},d=function(e){var t=e.type;if(!v(t))throw new TypeError("optional parameter should be a serializer");return{fromByteBuffer:function(e){return 1!==e.readUint8()?null:t.fromByteBuffer(e)},appendByteBuffer:function(e,r){null!=r?(e.writeUint8(1),t.appendByteBuffer(e,r)):e.writeUint8(0)},fromObject:function(e){return null==e?null:t.fromObject(e)},toObject:function(r){return null!=r||e.defaults?t.toObject(r):null}}},g=function(e){var t=e.signed,r=void 0!==t&&t,n=e.bits;return e.variable?"Varint"+n+(r?"ZigZag":""):(r?"Int":"Uint")+n},h=function(e){return{fromByteBuffer:function(t){var r=t["read"+g(e)]();return o.isLong(r)?r.toString():r},appendByteBuffer:function(t,r){t["write"+g(e)](r)},fromObject:function(t){return b(t,e),t},toObject:function(t){return e.defaults&&null==t?e.bits>53?"0":0:(b(t,e),o.isLong(t)?t.toString():t)}}},p=function(e){var r=e.signed,n=void 0!==r&&r,A=e.bits,o=A/8;return{fromByteBuffer:function(r){var a=r.copy(r.offset,r.offset+o);r.skip(o);var s=new i(a.toHex(),"hex"),u=s.toArrayLike(t,"le",o);s=new i(u.toString("hex"),"hex"),n&&(s=s.fromTwos(A));var l=s.toString();return b(l,e),A>53?l:s.toNumber()},appendByteBuffer:function(r,a){b(a,e);var s=new i(a);n&&(s=s.toTwos(A));var u=s.toArrayLike(t,"le",o);r.append(u.toString("binary"),"binary")},fromObject:function(t){return b(t,e),t},toObject:function(t){return e.defaults&&null==t?e.bits>53?"0":0:(b(t,e),t)}}},I=r(912),B=function(e){var r=e.bits,n=32===r?"Float":64===r?"Double":null;a(n,"unsupported float bit size: "+r);var A=r/8;return{fromByteBuffer:function(e){var r=e.copy(e.offset,e.offset+A);e.skip(A);var i=t.from(r.toBinary(),"binary");return I["read"+n+"LE"](i)},appendByteBuffer:function(e,t){var r=[];I["write"+n+"LE"](r,t),e.append(r)},fromObject:function(e){return e},toObject:function(t){return e.defaults&&null==t?0:t}}},C=function(e){return{fromByteBuffer:function(r){var n=e.len,A=void 0;if(null==n){var i=r.readVarint32();A=r.copy(r.offset,r.offset+i),r.skip(i)}else A=r.copy(r.offset,r.offset+n),r.skip(n);return t.from(A.toBinary(),"binary")},appendByteBuffer:function(t,r){null==e.len&&t.writeVarint32(r.length),t.append(r.toString("binary"),"binary")},fromObject:function(r){return"string"==typeof r?r=t.from(r,"hex"):r instanceof Array?r=t.from(r):r instanceof Uint8Array&&(r=t.from(r)),Q(r,e),r},toObject:function(t){var r=e.defaults,n=e.len;return r&&null==t?Array(n?n+1:1).join("00"):(Q(t,e),t.toString("hex"))},compare:function(e,r){return t.compare(e,r)}}},m=function(e){return{fromByteBuffer:function(e){return e.readVString()},appendByteBuffer:function(t,r){Q(r,e),t.writeVString(r.toString())},fromObject:function(t){return Q(t,e),t},toObject:function(t){return e.defaults&&null==t?"":(Q(t,e),t)}}},y=function(e){return{fromByteBuffer:function(e){return e.readUint32()},appendByteBuffer:function(t,r){Q(r,e),t.writeUint32(r)},fromObject:function(t){if(Q(t,e),"number"==typeof t)return t;if(t.getTime)return Math.floor(t.getTime()/1e3);if("string"!=typeof t)throw new Error("Unknown date type: "+t);return"string"!=typeof t||/Z$/.test(t)||(t+="Z"),Math.floor(new Date(t).getTime()/1e3)},toObject:function(t){if(e.defaults&&null==t)return new Date(0).toISOString().split(".")[0];Q(t,e),b(t,M(e,{bits:32}));var r=parseInt(t);return new Date(1e3*r).toISOString().split(".")[0]}}},Q=function(e,t){if(k(e))throw new Error("Required "+t.typeName);if(null!=t.len){if(null==e.length)throw new Error('len validation requries a "length" property');var r=t.len;if(e.length!==r)throw new Error(t.typeName+" length "+e.length+" does not equal "+r)}if(null!=t.maxLen){var n=t.maxLen;if(null==e.length)throw new Error('maxLen validation requries a "length" property');if(e.length>n)throw new Error(t.typeName+" length "+e.length+" exceeds maxLen "+n)}},w=new i,E=new i("1");function b(e,t){if(k(e))throw new Error("Required "+t.typeName);var r=t.signed,n=void 0!==r&&r,A=t.bits,o=void 0===A?54:A;if(e=String(e).trim(),n&&!/^-?[0-9]+$/.test(e)||!n&&!/^[0-9]+$/.test(e))throw new Error("Number format "+t.typeName+" "+e);var a=n?S(o):_(o),s=n?N(o):w,u=new i(e);if(u.cmp(s)<0||u.cmp(a)>0)throw new Error("Overflow "+t.typeName+" "+e+", max "+a.toString()+", min "+s.toString()+", signed "+n+", bits "+o)}var v=function(e){return"object"===(void 0===e?"undefined":n(e))&&"function"==typeof e.fromByteBuffer&&"function"==typeof e.appendByteBuffer&&"function"==typeof e.fromObject&&"function"==typeof e.toObject},D=function(e,t){return e.compare?t.sort(e.compare):t.sort()},M=function(){return Object.assign.apply(Object,arguments)},k=function(e){return null==e},_=function(e){return new i(1).ishln(e).isub(E)},S=function(e){return new i(1).ishln(e-1).isub(E)},N=function(e){return new i(1).ishln(e-1).ineg()}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=r(109),i=r(1573);e.exports={create:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.config,A=[];r.sort||(r.sort={});for(var s in e){var u=e[s],l=u.base,c=u.fields,f=void 0===u?"undefined":n(u);if("object"===f){if(!l&&!c){A.push("Expecting "+s+".fields or "+s+".base");continue}if(l&&"string"!=typeof l&&A.push("Expecting string "+s+".base"),c)if("object"!==(void 0===c?"undefined":n(c)))A.push("Expecting object "+s+".fields");else for(var d in c)"string"!=typeof c[d]&&A.push("Expecting string in "+s+".fields."+d)}else if("string"!==f){A.push("Expecting object or string under "+s+", instead got "+(void 0===u?"undefined":n(u)));continue}}var g={};for(var h in e){var p=e[h];"object"===(void 0===p?"undefined":n(p))&&(g[h]=i(h,r))}for(var I in e){var B=e[I];if("string"==typeof B){var C=t[B];if(C)t[I]=C;else{var m=b(I,B);m?g[I]=m:A.push("Unrecognized type or struct "+I+"."+B)}}}for(var y in e){var Q=g[y];if(Q){var w=e[y];if("object"===(void 0===w?"undefined":n(w))&&w.base){l=w.base;var E=g[l];if(!E){A.push("Missing "+l+" in "+y+".base");continue}Q.add("",a(E))}}}function b(e,n,i,a){var s=o(n);if(!s)return null;var u=s.name,l=s.annotation,c=s.arrayType,f=void 0;if(l){var d=t[u];if(null==d)return A.push("Missing "+u+" in "+n),null;var h=[],p=!0,I=!1,B=void 0;try{for(var C,m=l[Symbol.iterator]();!(p=(C=m.next()).done);p=!0){var y=C.value,Q=b(e,y,null,a);if(!Q)return A.push("Missing "+y+" in "+n),null;h.push(Q)}}catch(e){I=!0,B=e}finally{try{!p&&m.return&&m.return()}finally{if(I)throw B}}f=d(h)}else if(null==c){var w=g[u];if(w)return w;var E=t[u];if(!E)return null;f=E(i)}else if(""===c){var v=b(e,s.name,null,a);if(!v)return null;var D=r.sort[e+"."+a]||!1;f=t.vector(v,D)}else if(c.length>0){var M=b(e,s.arrayType,null,a);if(!M)return A.push("Missing "+s.arrayType+" in "+n),null;var k=b(e,s.name,M,a);if(!k)return A.push("Missing "+s.name+" in "+n),null;f=k}return s.optional?t.optional(f):f}for(var v in e){var D=g[v];if(D){var M=e[v];if(M.fields){c=M.fields;for(var k in c){var _=c[k],S=b(v,_,null,k);S?D.add(k,S):A.push("Missing "+_+" in "+v+".fields."+k)}}}}if(A.length)return{errors:A};return{errors:A,structs:g}},toBuffer:function(e,r){var n=e.fromObject(r);return t.from(function(e,t){var r=new A(A.DEFAULT_CAPACITY,A.LITTLE_ENDIAN);return e.appendByteBuffer(r,t),r.copy(0,r.offset)}(e,n).toBinary(),"binary")},fromBuffer:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=A.fromBinary(t.toString("binary"),A.LITTLE_ENDIAN),i=e.fromByteBuffer(n);return r?e.toObject(i):i}};var o=function(e){if(!e||"string"!=typeof e)return null;var t=(e=e.trim()).match(/<(.*)>/);if(t){var r=t?t[1].replace(/ /g,"").split(","):null;return{name:e=e.replace(t[0],"").trim(),annotation:r}}var n=e.match(/\[(.*)\]/),A=n?n[1].trim():null;n&&(e=e.replace(n[0],"").trim());var i=!1;return/\?$/.test(e)&&(e=e.substring(0,e.length-1),i=!0),{name:e,arrayType:A,optional:i}},a=function(e){return{fromByteBuffer:function(t){return e.fromByteBuffer(t)},appendByteBuffer:function(t,r){e.appendByteBuffer(t,r)},fromObject:function(t){return e.fromObject(t)},toObject:function(t){return e.toObject(t)}}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(109);e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{debug:!1};t=Object.assign({override:{}},t);var r={},A=void 0,i=void 0;return{compare:function(e,t){var r=e[i],n=t[i];return A&&A.compare?A.compare(r,n):r>n?1:r<n?-1:0},add:function(e,t){r[e]=t,null==A&&(A=t,i=e)},fields:r,fromByteBuffer:function(n){var A={},i=null;try{for(i in r){var o=r[i];try{var a=n.offset;if(""===i)A=o.fromByteBuffer(n,t);else{var s=t.override[e+"."+i+".fromByteBuffer"];s?s({fields:r,object:A,b:n,config:t}):A[i]=o.fromByteBuffer(n,t)}if(t.debug)if(o.struct)console.error(o.struct);else{var u=void 0;try{u=o.toObject(""===i?A:A[i],t)}catch(e){u=""}var l=n.copy(a,n.offset);console.error("fromByteBuffer",e+"."+i,"'"+u+"'",l.toHex())}}catch(t){throw console.error(t+" in "+e+"."+i),n.printDebug(),t}}}catch(t){throw t.message+=" in "+e+"."+i,t}return A},appendByteBuffer:function(n,A){var i=null;try{for(i in r){var o=r[i];if(""===i)o.appendByteBuffer(n,A);else{var a=t.override[e+"."+i+".appendByteBuffer"];a?a({fields:r,object:A,b:n}):o.appendByteBuffer(n,A[i])}}}catch(t){try{t.message+=" "+e+"."+i+" = "+JSON.stringify(A[i])}catch(r){t.message+=" "+e+"."+i+" = "+A[i]}throw t}},fromObject:function(n){var A=t.override[e+".fromObject"];if(A){var i=A(n);if(null!=i)return i}var o={},a=null;try{for(a in r){var s=r[a];if(""===a){var u=s.fromObject(n);Object.assign(o,u)}else{var l=t.override[e+"."+a+".fromObject"];if(l)l({fields:r,object:n,result:o});else{var c=n[a],f=s.fromObject(c);o[a]=f}}}}catch(t){throw t.message+=" "+e+"."+a,t}return o},toObject:function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.override[e+".toObject"];if(i){var o=i(A);if(null!=o)return o}var a={},s=null;try{for(s in r){var u=r[s],l=t.override[e+"."+s+".toObject"];if(l)l({fields:r,object:A,result:a,config:t});else if(""===s){var c=u.toObject(A,t);Object.assign(a,c)}else{var f=u.toObject(A?A[s]:null,t);a[s]=f}if(t.debug)try{var d=new n(n.DEFAULT_CAPACITY,n.LITTLE_ENDIAN);if(null!=A){var g=A[s];if(g){var h=t.override[e+"."+s+".appendByteBuffer"];l&&h?h({fields:r,object:A,b:d}):u.appendByteBuffer(d,g)}}d=d.copy(0,d.offset),console.error("toObject",e+"."+s,"'"+a[s]+"'",d.toHex())}catch(t){t.message=e+"."+s+" "+t.message,console.error(t)}}}catch(t){throw t.message+=" "+e+"."+s,t}return a}}}},function(e,t,r){"use strict";var n=r(1575),A=r(1576),i=r(918);function o(e,t){return void 0===e?t:(n.isBoolean(e,i.COMPRESSED_TYPE_INVALID),e)}e.exports=function(e){return{privateKeyVerify:function(t){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),32===t.length&&e.privateKeyVerify(t)},privateKeyExport:function(t,r){n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),r=o(r,!0);var a=e.privateKeyExport(t,r);return A.privateKeyExport(t,a,r)},privateKeyImport:function(t){if(n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),(t=A.privateKeyImport(t))&&32===t.length&&e.privateKeyVerify(t))return t;throw new Error(i.EC_PRIVATE_KEY_IMPORT_DER_FAIL)},privateKeyNegate:function(t){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),e.privateKeyNegate(t)},privateKeyModInverse:function(t){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),e.privateKeyModInverse(t)},privateKeyTweakAdd:function(t,r){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),n.isBuffer(r,i.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,i.TWEAK_LENGTH_INVALID),e.privateKeyTweakAdd(t,r)},privateKeyTweakMul:function(t,r){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),n.isBuffer(r,i.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,i.TWEAK_LENGTH_INVALID),e.privateKeyTweakMul(t,r)},publicKeyCreate:function(t,r){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),r=o(r,!0),e.publicKeyCreate(t,r)},publicKeyConvert:function(t,r){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),r=o(r,!0),e.publicKeyConvert(t,r)},publicKeyVerify:function(t){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),e.publicKeyVerify(t)},publicKeyTweakAdd:function(t,r,A){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,i.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,i.TWEAK_LENGTH_INVALID),A=o(A,!0),e.publicKeyTweakAdd(t,r,A)},publicKeyTweakMul:function(t,r,A){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,i.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,i.TWEAK_LENGTH_INVALID),A=o(A,!0),e.publicKeyTweakMul(t,r,A)},publicKeyCombine:function(t,r){n.isArray(t,i.EC_PUBLIC_KEYS_TYPE_INVALID),n.isLengthGTZero(t,i.EC_PUBLIC_KEYS_LENGTH_INVALID);for(var A=0;A<t.length;++A)n.isBuffer(t[A],i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t[A],33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID);return r=o(r,!0),e.publicKeyCombine(t,r)},signatureNormalize:function(t){return n.isBuffer(t,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(t,64,i.ECDSA_SIGNATURE_LENGTH_INVALID),e.signatureNormalize(t)},signatureExport:function(t){n.isBuffer(t,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(t,64,i.ECDSA_SIGNATURE_LENGTH_INVALID);var r=e.signatureExport(t);return A.signatureExport(r)},signatureImport:function(t){n.isBuffer(t,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isLengthGTZero(t,i.ECDSA_SIGNATURE_LENGTH_INVALID);var r=A.signatureImport(t);if(r)return e.signatureImport(r);throw new Error(i.ECDSA_SIGNATURE_PARSE_DER_FAIL)},signatureImportLax:function(t){n.isBuffer(t,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isLengthGTZero(t,i.ECDSA_SIGNATURE_LENGTH_INVALID);var r=A.signatureImportLax(t);if(r)return e.signatureImport(r);throw new Error(i.ECDSA_SIGNATURE_PARSE_DER_FAIL)},sign:function(t,r,A){n.isBuffer(t,i.MSG32_TYPE_INVALID),n.isBufferLength(t,32,i.MSG32_LENGTH_INVALID),n.isBuffer(r,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(r,32,i.EC_PRIVATE_KEY_LENGTH_INVALID);var o=null,a=null;return void 0!==A&&(n.isObject(A,i.OPTIONS_TYPE_INVALID),void 0!==A.data&&(n.isBuffer(A.data,i.OPTIONS_DATA_TYPE_INVALID),n.isBufferLength(A.data,32,i.OPTIONS_DATA_LENGTH_INVALID),o=A.data),void 0!==A.noncefn&&(n.isFunction(A.noncefn,i.OPTIONS_NONCEFN_TYPE_INVALID),a=A.noncefn)),e.sign(t,r,a,o)},verify:function(t,r,A){return n.isBuffer(t,i.MSG32_TYPE_INVALID),n.isBufferLength(t,32,i.MSG32_LENGTH_INVALID),n.isBuffer(r,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(r,64,i.ECDSA_SIGNATURE_LENGTH_INVALID),n.isBuffer(A,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(A,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),e.verify(t,r,A)},recover:function(t,r,A,a){return n.isBuffer(t,i.MSG32_TYPE_INVALID),n.isBufferLength(t,32,i.MSG32_LENGTH_INVALID),n.isBuffer(r,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(r,64,i.ECDSA_SIGNATURE_LENGTH_INVALID),n.isNumber(A,i.RECOVERY_ID_TYPE_INVALID),n.isNumberInInterval(A,-1,4,i.RECOVERY_ID_VALUE_INVALID),a=o(a,!0),e.recover(t,r,A,a)},ecdh:function(t,r){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(r,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),e.ecdh(t,r)},ecdhUnsafe:function(t,r,A){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(r,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),A=o(A,!0),e.ecdhUnsafe(t,r,A)}}}},function(e,t,r){"use strict";(function(e){var r=Object.prototype.toString;t.isArray=function(e,t){if(!Array.isArray(e))throw TypeError(t)},t.isBoolean=function(e,t){if("[object Boolean]"!==r.call(e))throw TypeError(t)},t.isBuffer=function(t,r){if(!e.isBuffer(t))throw TypeError(r)},t.isFunction=function(e,t){if("[object Function]"!==r.call(e))throw TypeError(t)},t.isNumber=function(e,t){if("[object Number]"!==r.call(e))throw TypeError(t)},t.isObject=function(e,t){if("[object Object]"!==r.call(e))throw TypeError(t)},t.isBufferLength=function(e,t,r){if(e.length!==t)throw RangeError(r)},t.isBufferLength2=function(e,t,r,n){if(e.length!==t&&e.length!==r)throw RangeError(n)},t.isLengthGTZero=function(e,t){if(0===e.length)throw RangeError(t)},t.isNumberInInterval=function(e,t,r,n){if(e<=t||e>=r)throw RangeError(n)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(269),i=n.from([48,129,211,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,133,48,129,130,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,33,2,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,36,3,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),o=n.from([48,130,1,19,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,165,48,129,162,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,65,4,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,72,58,218,119,38,163,196,101,93,164,251,252,14,17,8,168,253,23,180,72,166,133,84,25,156,71,208,143,251,16,212,184,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,68,3,66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);t.privateKeyExport=function(e,t,r){var A=n.from(r?i:o);return e.copy(A,r?8:9),t.copy(A,r?181:214),A},t.privateKeyImport=function(e){var t=e.length,r=0;if(!(t<r+1||48!==e[r])&&!(t<(r+=1)+1)&&128&e[r]){var n=127&e[r];if(r+=1,!(n<1||n>2||t<r+n)){var A=e[r+n-1]|(n>1?e[r+n-2]<<8:0);if(!(t<(r+=n)+A||t<r+3||2!==e[r]||1!==e[r+1]||1!==e[r+2]||t<(r+=3)+2||4!==e[r]||e[r+1]>32||t<r+2+e[r+1]))return e.slice(r+2,r+2+e[r+1])}}},t.signatureExport=function(e){for(var t=n.concat([n.from([0]),e.r]),r=33,i=0;r>1&&0===t[i]&&!(128&t[i+1]);--r,++i);for(var o=n.concat([n.from([0]),e.s]),a=33,s=0;a>1&&0===o[s]&&!(128&o[s+1]);--a,++s);return A.encode(t.slice(i),o.slice(s))},t.signatureImport=function(e){var t=n.alloc(32,0),r=n.alloc(32,0);try{var i=A.decode(e);if(33===i.r.length&&0===i.r[0]&&(i.r=i.r.slice(1)),i.r.length>32)throw new Error("R length is too long");if(33===i.s.length&&0===i.s[0]&&(i.s=i.s.slice(1)),i.s.length>32)throw new Error("S length is too long")}catch(e){return}return i.r.copy(t,32-i.r.length),i.s.copy(r,32-i.s.length),{r:t,s:r}},t.signatureImportLax=function(e){var t=n.alloc(32,0),r=n.alloc(32,0),A=e.length,i=0;if(48===e[i++]){var o=e[i++];if(!(128&o&&(i+=o-128)>A)&&2===e[i++]){var a=e[i++];if(128&a){if(i+(o=a-128)>A)return;for(;o>0&&0===e[i];i+=1,o-=1);for(a=0;o>0;i+=1,o-=1)a=(a<<8)+e[i]}if(!(a>A-i)){var s=i;if(i+=a,2===e[i++]){var u=e[i++];if(128&u){if(i+(o=u-128)>A)return;for(;o>0&&0===e[i];i+=1,o-=1);for(u=0;o>0;i+=1,o-=1)u=(u<<8)+e[i]}if(!(u>A-i)){var l=i;for(i+=u;a>0&&0===e[s];a-=1,s+=1);if(!(a>32)){var c=e.slice(s,s+a);for(c.copy(t,32-c.length);u>0&&0===e[l];u-=1,l+=1);if(!(u>32)){var f=e.slice(l,l+u);return f.copy(r,32-f.length),{r:t,s:r}}}}}}}}}},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(45),i=r(17),o=r(48).ec,a=r(918),s=new o("secp256k1"),u=s.curve;function l(e){var t=e[0];switch(t){case 2:case 3:return 33!==e.length?null:function(e,t){var r=new i(t);if(r.cmp(u.p)>=0)return null;var n=(r=r.toRed(u.red)).redSqr().redIMul(r).redIAdd(u.b).redSqrt();return 3===e!==n.isOdd()&&(n=n.redNeg()),s.keyPair({pub:{x:r,y:n}})}(t,e.slice(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,r){var n=new i(t),A=new i(r);if(n.cmp(u.p)>=0||A.cmp(u.p)>=0)return null;if(n=n.toRed(u.red),A=A.toRed(u.red),(6===e||7===e)&&A.isOdd()!==(7===e))return null;var o=n.redSqr().redIMul(n);return A.redSqr().redISub(o.redIAdd(u.b)).isZero()?s.keyPair({pub:{x:n,y:A}}):null}(t,e.slice(1,33),e.slice(33,65));default:return null}}t.privateKeyVerify=function(e){var t=new i(e);return t.cmp(u.n)<0&&!t.isZero()},t.privateKeyExport=function(e,t){var r=new i(e);if(r.cmp(u.n)>=0||r.isZero())throw new Error(a.EC_PRIVATE_KEY_EXPORT_DER_FAIL);return n.from(s.keyFromPrivate(e).getPublic(t,!0))},t.privateKeyNegate=function(e){var t=new i(e);return t.isZero()?n.alloc(32):u.n.sub(t).umod(u.n).toArrayLike(n,"be",32)},t.privateKeyModInverse=function(e){var t=new i(e);if(t.cmp(u.n)>=0||t.isZero())throw new Error(a.EC_PRIVATE_KEY_RANGE_INVALID);return t.invm(u.n).toArrayLike(n,"be",32)},t.privateKeyTweakAdd=function(e,t){var r=new i(t);if(r.cmp(u.n)>=0)throw new Error(a.EC_PRIVATE_KEY_TWEAK_ADD_FAIL);if(r.iadd(new i(e)),r.cmp(u.n)>=0&&r.isub(u.n),r.isZero())throw new Error(a.EC_PRIVATE_KEY_TWEAK_ADD_FAIL);return r.toArrayLike(n,"be",32)},t.privateKeyTweakMul=function(e,t){var r=new i(t);if(r.cmp(u.n)>=0||r.isZero())throw new Error(a.EC_PRIVATE_KEY_TWEAK_MUL_FAIL);return r.imul(new i(e)),r.cmp(u.n)&&(r=r.umod(u.n)),r.toArrayLike(n,"be",32)},t.publicKeyCreate=function(e,t){var r=new i(e);if(r.cmp(u.n)>=0||r.isZero())throw new Error(a.EC_PUBLIC_KEY_CREATE_FAIL);return n.from(s.keyFromPrivate(e).getPublic(t,!0))},t.publicKeyConvert=function(e,t){var r=l(e);if(null===r)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);return n.from(r.getPublic(t,!0))},t.publicKeyVerify=function(e){return null!==l(e)},t.publicKeyTweakAdd=function(e,t,r){var A=l(e);if(null===A)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);if((t=new i(t)).cmp(u.n)>=0)throw new Error(a.EC_PUBLIC_KEY_TWEAK_ADD_FAIL);var o=u.g.mul(t).add(A.pub);if(o.isInfinity())throw new Error(a.EC_PUBLIC_KEY_TWEAK_ADD_FAIL);return n.from(o.encode(!0,r))},t.publicKeyTweakMul=function(e,t,r){var A=l(e);if(null===A)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);if((t=new i(t)).cmp(u.n)>=0||t.isZero())throw new Error(a.EC_PUBLIC_KEY_TWEAK_MUL_FAIL);return n.from(A.pub.mul(t).encode(!0,r))},t.publicKeyCombine=function(e,t){for(var r=new Array(e.length),A=0;A<e.length;++A)if(r[A]=l(e[A]),null===r[A])throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);for(var i=r[0].pub,o=1;o<r.length;++o)i=i.add(r[o].pub);if(i.isInfinity())throw new Error(a.EC_PUBLIC_KEY_COMBINE_FAIL);return n.from(i.encode(!0,t))},t.signatureNormalize=function(e){var t=new i(e.slice(0,32)),r=new i(e.slice(32,64));if(t.cmp(u.n)>=0||r.cmp(u.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);var A=n.from(e);return 1===r.cmp(s.nh)&&u.n.sub(r).toArrayLike(n,"be",32).copy(A,32),A},t.signatureExport=function(e){var t=e.slice(0,32),r=e.slice(32,64);if(new i(t).cmp(u.n)>=0||new i(r).cmp(u.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);return{r:t,s:r}},t.signatureImport=function(e){var t=new i(e.r);t.cmp(u.n)>=0&&(t=new i(0));var r=new i(e.s);return r.cmp(u.n)>=0&&(r=new i(0)),n.concat([t.toArrayLike(n,"be",32),r.toArrayLike(n,"be",32)])},t.sign=function(e,t,r,A){if("function"==typeof r){var o=r;r=function(r){var s=o(e,t,null,A,r);if(!n.isBuffer(s)||32!==s.length)throw new Error(a.ECDSA_SIGN_FAIL);return new i(s)}}var l=new i(t);if(l.cmp(u.n)>=0||l.isZero())throw new Error(a.ECDSA_SIGN_FAIL);var c=s.sign(e,t,{canonical:!0,k:r,pers:A});return{signature:n.concat([c.r.toArrayLike(n,"be",32),c.s.toArrayLike(n,"be",32)]),recovery:c.recoveryParam}},t.verify=function(e,t,r){var n={r:t.slice(0,32),s:t.slice(32,64)},A=new i(n.r),o=new i(n.s);if(A.cmp(u.n)>=0||o.cmp(u.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);if(1===o.cmp(s.nh)||A.isZero()||o.isZero())return!1;var c=l(r);if(null===c)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);return s.verify(e,n,{x:c.pub.x,y:c.pub.y})},t.recover=function(e,t,r,A){var o={r:t.slice(0,32),s:t.slice(32,64)},l=new i(o.r),c=new i(o.s);if(l.cmp(u.n)>=0||c.cmp(u.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);try{if(l.isZero()||c.isZero())throw new Error;var f=s.recoverPubKey(e,o,r);return n.from(f.encode(!0,A))}catch(e){throw new Error(a.ECDSA_RECOVER_FAIL)}},t.ecdh=function(e,r){var n=t.ecdhUnsafe(e,r,!0);return A("sha256").update(n).digest()},t.ecdhUnsafe=function(e,t,r){var A=l(e);if(null===A)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);var o=new i(t);if(o.cmp(u.n)>=0||o.isZero())throw new Error(a.ECDH_FAIL);return n.from(A.pub.mul(o).encode(!0,r))}},function(e,t,r){"use strict";var n=r(1579),A=r(1580);e.exports=function(e){var t=n(e),r=A(e);return function(e,n){switch("string"==typeof e?e.toLowerCase():e){case"keccak224":return new t(1152,448,null,224,n);case"keccak256":return new t(1088,512,null,256,n);case"keccak384":return new t(832,768,null,384,n);case"keccak512":return new t(576,1024,null,512,n);case"sha3-224":return new t(1152,448,6,224,n);case"sha3-256":return new t(1088,512,6,256,n);case"sha3-384":return new t(832,768,6,384,n);case"sha3-512":return new t(576,1024,6,512,n);case"shake128":return new r(1344,256,31,n);case"shake256":return new r(1088,512,31,n);default:throw new Error("Invald algorithm: "+e)}}}},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(194).Transform,i=r(20);e.exports=function(e){function t(t,r,n,i,o){A.call(this,o),this._rate=t,this._capacity=r,this._delimitedSuffix=n,this._hashBitLength=i,this._options=o,this._state=new e,this._state.initialize(t,r),this._finalized=!1}return i(t,A),t.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},t.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},t.prototype.update=function(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");return n.isBuffer(e)||(e=n.from(e,t)),this._state.absorb(e),this},t.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0,this._delimitedSuffix&&this._state.absorbLastFewBits(this._delimitedSuffix);var t=this._state.squeeze(this._hashBitLength/8);return void 0!==e&&(t=t.toString(e)),this._resetState(),t},t.prototype._resetState=function(){return this._state.initialize(this._rate,this._capacity),this},t.prototype._clone=function(){var e=new t(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(e._state),e._finalized=this._finalized,e},t}},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(194).Transform,i=r(20);e.exports=function(e){function t(t,r,n,i){A.call(this,i),this._rate=t,this._capacity=r,this._delimitedSuffix=n,this._options=i,this._state=new e,this._state.initialize(t,r),this._finalized=!1}return i(t,A),t.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},t.prototype._flush=function(){},t.prototype._read=function(e){this.push(this.squeeze(e))},t.prototype.update=function(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Squeeze already called");return n.isBuffer(e)||(e=n.from(e,t)),this._state.absorb(e),this},t.prototype.squeeze=function(e,t){this._finalized||(this._finalized=!0,this._state.absorbLastFewBits(this._delimitedSuffix));var r=this._state.squeeze(e);return void 0!==t&&(r=r.toString(t)),r},t.prototype._resetState=function(){return this._state.initialize(this._rate,this._capacity),this},t.prototype._clone=function(){var e=new t(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(e._state),e._finalized=this._finalized,e},t}},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(1582);function i(){this.state=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.blockSize=null,this.count=0,this.squeezing=!1}i.prototype.initialize=function(e,t){for(var r=0;r<50;++r)this.state[r]=0;this.blockSize=e/8,this.count=0,this.squeezing=!1},i.prototype.absorb=function(e){for(var t=0;t<e.length;++t)this.state[~~(this.count/4)]^=e[t]<<this.count%4*8,this.count+=1,this.count===this.blockSize&&(A.p1600(this.state),this.count=0)},i.prototype.absorbLastFewBits=function(e){this.state[~~(this.count/4)]^=e<<this.count%4*8,0!=(128&e)&&this.count===this.blockSize-1&&A.p1600(this.state),this.state[~~((this.blockSize-1)/4)]^=128<<(this.blockSize-1)%4*8,A.p1600(this.state),this.count=0,this.squeezing=!0},i.prototype.squeeze=function(e){this.squeezing||this.absorbLastFewBits(1);for(var t=n.alloc(e),r=0;r<e;++r)t[r]=this.state[~~(this.count/4)]>>>this.count%4*8&255,this.count+=1,this.count===this.blockSize&&(A.p1600(this.state),this.count=0);return t},i.prototype.copy=function(e){for(var t=0;t<50;++t)e.state[t]=this.state[t];e.blockSize=this.blockSize,e.count=this.count,e.squeezing=this.squeezing},e.exports=i},function(e,t,r){"use strict";var n=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648];t.p1600=function(e){for(var t=0;t<24;++t){var r=e[0]^e[10]^e[20]^e[30]^e[40],A=e[1]^e[11]^e[21]^e[31]^e[41],i=e[2]^e[12]^e[22]^e[32]^e[42],o=e[3]^e[13]^e[23]^e[33]^e[43],a=e[4]^e[14]^e[24]^e[34]^e[44],s=e[5]^e[15]^e[25]^e[35]^e[45],u=e[6]^e[16]^e[26]^e[36]^e[46],l=e[7]^e[17]^e[27]^e[37]^e[47],c=e[8]^e[18]^e[28]^e[38]^e[48],f=e[9]^e[19]^e[29]^e[39]^e[49],d=c^(i<<1|o>>>31),g=f^(o<<1|i>>>31),h=e[0]^d,p=e[1]^g,I=e[10]^d,B=e[11]^g,C=e[20]^d,m=e[21]^g,y=e[30]^d,Q=e[31]^g,w=e[40]^d,E=e[41]^g;d=r^(a<<1|s>>>31),g=A^(s<<1|a>>>31);var b=e[2]^d,v=e[3]^g,D=e[12]^d,M=e[13]^g,k=e[22]^d,_=e[23]^g,S=e[32]^d,N=e[33]^g,F=e[42]^d,x=e[43]^g;d=i^(u<<1|l>>>31),g=o^(l<<1|u>>>31);var G=e[4]^d,H=e[5]^g,U=e[14]^d,Y=e[15]^g,L=e[24]^d,O=e[25]^g,K=e[34]^d,P=e[35]^g,R=e[44]^d,T=e[45]^g;d=a^(c<<1|f>>>31),g=s^(f<<1|c>>>31);var J=e[6]^d,j=e[7]^g,q=e[16]^d,V=e[17]^g,W=e[26]^d,z=e[27]^g,Z=e[36]^d,X=e[37]^g,$=e[46]^d,ee=e[47]^g;d=u^(r<<1|A>>>31),g=l^(A<<1|r>>>31);var te=e[8]^d,re=e[9]^g,ne=e[18]^d,Ae=e[19]^g,ie=e[28]^d,oe=e[29]^g,ae=e[38]^d,se=e[39]^g,ue=e[48]^d,le=e[49]^g,ce=h,fe=p,de=B<<4|I>>>28,ge=I<<4|B>>>28,he=C<<3|m>>>29,pe=m<<3|C>>>29,Ie=Q<<9|y>>>23,Be=y<<9|Q>>>23,Ce=w<<18|E>>>14,me=E<<18|w>>>14,ye=b<<1|v>>>31,Qe=v<<1|b>>>31,we=M<<12|D>>>20,Ee=D<<12|M>>>20,be=k<<10|_>>>22,ve=_<<10|k>>>22,De=N<<13|S>>>19,Me=S<<13|N>>>19,ke=F<<2|x>>>30,_e=x<<2|F>>>30,Se=H<<30|G>>>2,Ne=G<<30|H>>>2,Fe=U<<6|Y>>>26,xe=Y<<6|U>>>26,Ge=O<<11|L>>>21,He=L<<11|O>>>21,Ue=K<<15|P>>>17,Ye=P<<15|K>>>17,Le=T<<29|R>>>3,Oe=R<<29|T>>>3,Ke=J<<28|j>>>4,Pe=j<<28|J>>>4,Re=V<<23|q>>>9,Te=q<<23|V>>>9,Je=W<<25|z>>>7,je=z<<25|W>>>7,qe=Z<<21|X>>>11,Ve=X<<21|Z>>>11,We=ee<<24|$>>>8,ze=$<<24|ee>>>8,Ze=te<<27|re>>>5,Xe=re<<27|te>>>5,$e=ne<<20|Ae>>>12,et=Ae<<20|ne>>>12,tt=oe<<7|ie>>>25,rt=ie<<7|oe>>>25,nt=ae<<8|se>>>24,At=se<<8|ae>>>24,it=ue<<14|le>>>18,ot=le<<14|ue>>>18;e[0]=ce^~we&Ge,e[1]=fe^~Ee&He,e[10]=Ke^~$e&he,e[11]=Pe^~et&pe,e[20]=ye^~Fe&Je,e[21]=Qe^~xe&je,e[30]=Ze^~de&be,e[31]=Xe^~ge&ve,e[40]=Se^~Re&tt,e[41]=Ne^~Te&rt,e[2]=we^~Ge&qe,e[3]=Ee^~He&Ve,e[12]=$e^~he&De,e[13]=et^~pe&Me,e[22]=Fe^~Je&nt,e[23]=xe^~je&At,e[32]=de^~be&Ue,e[33]=ge^~ve&Ye,e[42]=Re^~tt&Ie,e[43]=Te^~rt&Be,e[4]=Ge^~qe&it,e[5]=He^~Ve&ot,e[14]=he^~De&Le,e[15]=pe^~Me&Oe,e[24]=Je^~nt&Ce,e[25]=je^~At&me,e[34]=be^~Ue&We,e[35]=ve^~Ye&ze,e[44]=tt^~Ie&ke,e[45]=rt^~Be&_e,e[6]=qe^~it&ce,e[7]=Ve^~ot&fe,e[16]=De^~Le&Ke,e[17]=Me^~Oe&Pe,e[26]=nt^~Ce&ye,e[27]=At^~me&Qe,e[36]=Ue^~We&Ze,e[37]=Ye^~ze&Xe,e[46]=Ie^~ke&Se,e[47]=Be^~_e&Ne,e[8]=it^~ce&we,e[9]=ot^~fe&Ee,e[18]=Le^~Ke&$e,e[19]=Oe^~Pe&et,e[28]=Ce^~ye&Fe,e[29]=me^~Qe&xe,e[38]=We^~Ze&de,e[39]=ze^~Xe&ge,e[48]=ke^~Se&Re,e[49]=_e^~Ne&Te,e[0]^=n[2*t],e[1]^=n[2*t+1]}}},function(e,t,r){var n=r(919);e.exports=function(e){return"string"!=typeof e?e:n(e)?e.slice(2):e}},function(e,t,r){"use strict";(function(t){const n=r(287),A=r(184),i=r(376),o=r(69),a=r(65),s=r(49),u=r(56),l=r(72),c=r(427);function f(e){if(!a.isEmpty(e)){switch(s.iris.defaultCoding){case s.iris.coding.bech32:o.Hex.isHex(e.address)&&(e.address=o.Bech32.toBech32(s.iris.bech32.accAddr,e.address)),o.Hex.isHex(e.publicKey)&&(e.publicKey=o.Bech32.toBech32(s.iris.bech32.accPub,e.publicKey))}return e}}function d(e){switch(e){case s.language.cn:return u.wordlists.chinese_simplified;case s.language.en:return u.wordlists.english;case s.language.jp:return u.wordlists.japanese;case s.language.sp:return u.wordlists.spanish;default:return u.wordlists.english}}e.exports=A(class extends n{create(e){let t=i.create(d(e));return t?f({address:t.address,phrase:t.secret,privateKey:t.privateKey,publicKey:t.publicKey}):t}recover(e,t){let r=i.recover(e,d(t));if(r)return f({address:r.address,phrase:e,privateKey:r.privateKey,publicKey:r.publicKey})}import(e){let t=i.import(e);if(t)return f({address:t.address,phrase:null,privateKey:t.privateKey,publicKey:t.publicKey})}isValidAddress(e){return i.isValidAddress(e)}isValidPrivate(e){return i.isValidPrivate(e)}getAddress(e){let t=o.Hex.hexToBytes(e),r=i.getAddress(t);return r=o.Bech32.toBech32(s.iris.bech32.accAddr,r)}exportKeystore(e,r){if(a.isEmpty(r)||r.length<8)throw new Error("password's length must be greater than 8");if(a.isEmpty(e))throw new Error("private key must be not empty");const n=l.randomBytes(32),A=l.randomBytes(16),i=s.iris.keystore.cipherAlg,o=s.iris.keystore.kdf,u=this.import(e).address,f={dklen:32,salt:n.toString("hex"),c:s.iris.keystore.c,prf:"hmac-sha256"},d=l.pbkdf2Sync(t.from(r),n,f.c,f.dklen,"sha256"),g=l.createCipheriv(i,d.slice(0,16),A);if(!g)throw new Error("Unsupported cipher");const h=t.concat([g.update(t.from(e,"hex")),g.final()]),p=t.concat([d.slice(16,32),h]);let I=l.createHash("sha256");I.update(p);const B=I.digest().toString("hex");return{version:"1",id:c.v4({random:l.randomBytes(16)}),address:u,crypto:{ciphertext:h.toString("hex"),cipherparams:{iv:A.toString("hex")},cipher:i,kdf:o,kdfparams:f,mac:B}}}importKeystore(e,r){if(a.isEmpty(r)||r.length<8)throw new Error("password's length must be greater than 8");if(a.isEmpty(e))throw new Error("keystore file must be not empty");const n=e.crypto.kdfparams;if("hmac-sha256"!==n.prf)throw new Error("Unsupported parameters to PBKDF2");const A=l.pbkdf2Sync(t.from(r),t.from(n.salt,"hex"),n.c,n.dklen,"sha256"),i=t.from(e.crypto.ciphertext,"hex"),o=t.concat([A.slice(16,32),i]);let s=l.createHash("sha256");if(s.update(o),s.digest().toString("hex")!==e.crypto.mac)throw new Error("wrong password");const u=l.createDecipheriv(e.crypto.cipher,A.slice(0,16),t.from(e.crypto.cipherparams.iv,"hex")),c=t.concat([u.update(i),u.final()]).toString("hex");return this.import(c.toUpperCase())}})}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(652),A=Symbol("super");function i(e){function t(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new(Function.prototype.bind.apply(e,[null].concat(r)))}return n(t,e),t.prototype=n({},e.prototype),t.prototype[A]=e,t}i.unwrap=function(e){return e.prototype[A]||e},e.exports=i},function(e,t,r){"use strict";
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */var n=r(423),A=r(424);t.Buffer=a,t.SlowBuffer=function(e){+e!=e&&(e=0);return a.alloc(+e)},t.INSPECT_MAX_BYTES=50;var i=2147483647;function o(e){if(e>i)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return t.__proto__=a.prototype,t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return l(e)}return s(e,t,r)}function s(e,t,r){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!a.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|d(e,t),n=o(r),A=n.write(e,t);A!==r&&(n=n.slice(0,A));return n}(e,t);if(ArrayBuffer.isView(e))return c(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(K(e,ArrayBuffer)||e&&K(e.buffer,ArrayBuffer))return function(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r);return n.__proto__=a.prototype,n}(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return a.from(n,t,r);var A=function(e){if(a.isBuffer(e)){var t=0|f(e.length),r=o(t);return 0===r.length?r:(e.copy(r,0,0,t),r)}if(void 0!==e.length)return"number"!=typeof e.length||P(e.length)?o(0):c(e);if("Buffer"===e.type&&Array.isArray(e.data))return c(e.data)}(e);if(A)return A;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return u(e),o(e<0?0:0|f(e))}function c(e){for(var t=e.length<0?0:0|f(e.length),r=o(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function f(e){if(e>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function d(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||K(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var A=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Y(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return L(e).length;default:if(A)return n?-1:Y(e).length;t=(""+t).toLowerCase(),A=!0}}function g(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return k(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return D(this,t,r);case"latin1":case"binary":return M(this,t,r);case"base64":return E(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function h(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function p(e,t,r,n,A){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),P(r=+r)&&(r=A?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(A)return-1;r=e.length-1}else if(r<0){if(!A)return-1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:I(e,t,r,n,A);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?A?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):I(e,[t],r,n,A);throw new TypeError("val must be string, number or Buffer")}function I(e,t,r,n,A){var i,o=1,a=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o=2,a/=2,s/=2,r/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(A){var l=-1;for(i=r;i<a;i++)if(u(e,i)===u(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===s)return l*o}else-1!==l&&(i-=i-l),l=-1}else for(r+s>a&&(r=a-s),i=r;i>=0;i--){for(var c=!0,f=0;f<s;f++)if(u(e,i+f)!==u(t,f)){c=!1;break}if(c)return i}return-1}function B(e,t,r,n){r=Number(r)||0;var A=e.length-r;n?(n=Number(n))>A&&(n=A):n=A;var i=t.length;n>i/2&&(n=i/2);for(var o=0;o<n;++o){var a=parseInt(t.substr(2*o,2),16);if(P(a))return o;e[r+o]=a}return o}function C(e,t,r,n){return O(Y(t,e.length-r),e,r,n)}function m(e,t,r,n){return O(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function y(e,t,r,n){return m(e,t,r,n)}function Q(e,t,r,n){return O(L(t),e,r,n)}function w(e,t,r,n){return O(function(e,t){for(var r,n,A,i=[],o=0;o<e.length&&!((t-=2)<0);++o)r=e.charCodeAt(o),n=r>>8,A=r%256,i.push(A),i.push(n);return i}(t,e.length-r),e,r,n)}function E(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function b(e,t,r){r=Math.min(e.length,r);for(var n=[],A=t;A<r;){var i,o,a,s,u=e[A],l=null,c=u>239?4:u>223?3:u>191?2:1;if(A+c<=r)switch(c){case 1:u<128&&(l=u);break;case 2:128==(192&(i=e[A+1]))&&(s=(31&u)<<6|63&i)>127&&(l=s);break;case 3:i=e[A+1],o=e[A+2],128==(192&i)&&128==(192&o)&&(s=(15&u)<<12|(63&i)<<6|63&o)>2047&&(s<55296||s>57343)&&(l=s);break;case 4:i=e[A+1],o=e[A+2],a=e[A+3],128==(192&i)&&128==(192&o)&&128==(192&a)&&(s=(15&u)<<18|(63&i)<<12|(63&o)<<6|63&a)>65535&&s<1114112&&(l=s)}null===l?(l=65533,c=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),A+=c}return function(e){var t=e.length;if(t<=v)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=v));return r}(n)}t.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),a.poolSize=8192,a.from=function(e,t,r){return s(e,t,r)},a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,a.alloc=function(e,t,r){return function(e,t,r){return u(e),e<=0?o(e):void 0!==t?"string"==typeof r?o(e).fill(t,r):o(e).fill(t):o(e)}(e,t,r)},a.allocUnsafe=function(e){return l(e)},a.allocUnsafeSlow=function(e){return l(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(K(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),K(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,A=0,i=Math.min(r,n);A<i;++A)if(e[A]!==t[A]){r=e[A],n=t[A];break}return r<n?-1:n<r?1:0},a.isEncoding=function(e){switch(String(e).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}},a.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=a.allocUnsafe(t),A=0;for(r=0;r<e.length;++r){var i=e[r];if(K(i,Uint8Array)&&(i=a.from(i)),!a.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,A),A+=i.length}return n},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?b(this,0,e):g.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},a.prototype.compare=function(e,t,r,n,A){if(K(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===A&&(A=this.length),t<0||r>e.length||n<0||A>this.length)throw new RangeError("out of range index");if(n>=A&&t>=r)return 0;if(n>=A)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(A>>>=0)-(n>>>=0),o=(r>>>=0)-(t>>>=0),s=Math.min(i,o),u=this.slice(n,A),l=e.slice(t,r),c=0;c<s;++c)if(u[c]!==l[c]){i=u[c],o=l[c];break}return i<o?-1:o<i?1:0},a.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return p(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return p(this,e,t,r,!1)},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))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var A=this.length-t;if((void 0===r||r>A)&&(r=A),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return B(this,e,t,r);case"utf8":case"utf-8":return C(this,e,t,r);case"ascii":return m(this,e,t,r);case"latin1":case"binary":return y(this,e,t,r);case"base64":return Q(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var v=4096;function D(e,t,r){var n="";r=Math.min(e.length,r);for(var A=t;A<r;++A)n+=String.fromCharCode(127&e[A]);return n}function M(e,t,r){var n="";r=Math.min(e.length,r);for(var A=t;A<r;++A)n+=String.fromCharCode(e[A]);return n}function k(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var A="",i=t;i<r;++i)A+=U(e[i]);return A}function _(e,t,r){for(var n=e.slice(t,r),A="",i=0;i<n.length;i+=2)A+=String.fromCharCode(n[i]+256*n[i+1]);return A}function S(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function N(e,t,r,n,A,i){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>A||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function F(e,t,r,n,A,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function x(e,t,r,n,i){return t=+t,r>>>=0,i||F(e,0,r,4),A.write(e,t,r,n,23,4),r+4}function G(e,t,r,n,i){return t=+t,r>>>=0,i||F(e,0,r,8),A.write(e,t,r,n,52,8),r+8}a.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return n.__proto__=a.prototype,n},a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||S(e,t,this.length);for(var n=this[e],A=1,i=0;++i<t&&(A*=256);)n+=this[e+i]*A;return n},a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||S(e,t,this.length);for(var n=this[e+--t],A=1;t>0&&(A*=256);)n+=this[e+--t]*A;return n},a.prototype.readUInt8=function(e,t){return e>>>=0,t||S(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||S(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||S(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||S(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 e>>>=0,t||S(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,t>>>=0,r||S(e,t,this.length);for(var n=this[e],A=1,i=0;++i<t&&(A*=256);)n+=this[e+i]*A;return n>=(A*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||S(e,t,this.length);for(var n=t,A=1,i=this[e+--n];n>0&&(A*=256);)i+=this[e+--n]*A;return i>=(A*=128)&&(i-=Math.pow(2,8*t)),i},a.prototype.readInt8=function(e,t){return e>>>=0,t||S(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||S(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||S(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 e>>>=0,t||S(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 e>>>=0,t||S(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 e>>>=0,t||S(e,4,this.length),A.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||S(e,4,this.length),A.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||S(e,8,this.length),A.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||S(e,8,this.length),A.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||N(this,e,t,r,Math.pow(2,8*r)-1,0);var A=1,i=0;for(this[t]=255&e;++i<r&&(A*=256);)this[t+i]=e/A&255;return t+r},a.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||N(this,e,t,r,Math.pow(2,8*r)-1,0);var A=r-1,i=1;for(this[t+A]=255&e;--A>=0&&(i*=256);)this[t+A]=e/i&255;return t+r},a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var A=Math.pow(2,8*r-1);N(this,e,t,r,A-1,-A)}var i=0,o=1,a=0;for(this[t]=255&e;++i<r&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var A=Math.pow(2,8*r-1);N(this,e,t,r,A-1,-A)}var i=r-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||N(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return x(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return x(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return G(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return G(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var A=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var i=A-1;i>=0;--i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return A},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var A=e.charCodeAt(0);("utf8"===n&&A<128||"latin1"===n)&&(e=A)}}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var o=a.isBuffer(e)?e:a.from(e,n),s=o.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=o[i%s]}return this};var H=/[^+\/0-9A-Za-z-_]/g;function U(e){return e<16?"0"+e.toString(16):e.toString(16)}function Y(e,t){var r;t=t||1/0;for(var n=e.length,A=null,i=[],o=0;o<n;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!A){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&i.push(239,191,189);continue}A=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),A=r;continue}r=65536+(A-55296<<10|r-56320)}else A&&(t-=3)>-1&&i.push(239,191,189);if(A=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function L(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function O(e,t,r,n){for(var A=0;A<n&&!(A+r>=t.length||A>=e.length);++A)t[A+r]=e[A];return A}function K(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function P(e){return e!=e}},function(e,t,r){"use strict";var n=r(1588),A=r(1589),i=r(921);function o(e,t){return void 0===e?t:(n.isBoolean(e,i.COMPRESSED_TYPE_INVALID),e)}e.exports=function(e){return{privateKeyVerify:function(t){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),32===t.length&&e.privateKeyVerify(t)},privateKeyExport:function(t,r){n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),r=o(r,!0);var a=e.privateKeyExport(t,r);return A.privateKeyExport(t,a,r)},privateKeyImport:function(t){if(n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),(t=A.privateKeyImport(t))&&32===t.length&&e.privateKeyVerify(t))return t;throw new Error(i.EC_PRIVATE_KEY_IMPORT_DER_FAIL)},privateKeyNegate:function(t){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),e.privateKeyNegate(t)},privateKeyModInverse:function(t){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),e.privateKeyModInverse(t)},privateKeyTweakAdd:function(t,r){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),n.isBuffer(r,i.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,i.TWEAK_LENGTH_INVALID),e.privateKeyTweakAdd(t,r)},privateKeyTweakMul:function(t,r){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),n.isBuffer(r,i.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,i.TWEAK_LENGTH_INVALID),e.privateKeyTweakMul(t,r)},publicKeyCreate:function(t,r){return n.isBuffer(t,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(t,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),r=o(r,!0),e.publicKeyCreate(t,r)},publicKeyConvert:function(t,r){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),r=o(r,!0),e.publicKeyConvert(t,r)},publicKeyVerify:function(t){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),e.publicKeyVerify(t)},publicKeyTweakAdd:function(t,r,A){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,i.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,i.TWEAK_LENGTH_INVALID),A=o(A,!0),e.publicKeyTweakAdd(t,r,A)},publicKeyTweakMul:function(t,r,A){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,i.TWEAK_TYPE_INVALID),n.isBufferLength(r,32,i.TWEAK_LENGTH_INVALID),A=o(A,!0),e.publicKeyTweakMul(t,r,A)},publicKeyCombine:function(t,r){n.isArray(t,i.EC_PUBLIC_KEYS_TYPE_INVALID),n.isLengthGTZero(t,i.EC_PUBLIC_KEYS_LENGTH_INVALID);for(var A=0;A<t.length;++A)n.isBuffer(t[A],i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t[A],33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID);return r=o(r,!0),e.publicKeyCombine(t,r)},signatureNormalize:function(t){return n.isBuffer(t,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(t,64,i.ECDSA_SIGNATURE_LENGTH_INVALID),e.signatureNormalize(t)},signatureExport:function(t){n.isBuffer(t,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(t,64,i.ECDSA_SIGNATURE_LENGTH_INVALID);var r=e.signatureExport(t);return A.signatureExport(r)},signatureImport:function(t){n.isBuffer(t,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isLengthGTZero(t,i.ECDSA_SIGNATURE_LENGTH_INVALID);var r=A.signatureImport(t);if(r)return e.signatureImport(r);throw new Error(i.ECDSA_SIGNATURE_PARSE_DER_FAIL)},signatureImportLax:function(t){n.isBuffer(t,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isLengthGTZero(t,i.ECDSA_SIGNATURE_LENGTH_INVALID);var r=A.signatureImportLax(t);if(r)return e.signatureImport(r);throw new Error(i.ECDSA_SIGNATURE_PARSE_DER_FAIL)},sign:function(t,r,A){n.isBuffer(t,i.MSG32_TYPE_INVALID),n.isBufferLength(t,32,i.MSG32_LENGTH_INVALID),n.isBuffer(r,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(r,32,i.EC_PRIVATE_KEY_LENGTH_INVALID);var o=null,a=null;return void 0!==A&&(n.isObject(A,i.OPTIONS_TYPE_INVALID),void 0!==A.data&&(n.isBuffer(A.data,i.OPTIONS_DATA_TYPE_INVALID),n.isBufferLength(A.data,32,i.OPTIONS_DATA_LENGTH_INVALID),o=A.data),void 0!==A.noncefn&&(n.isFunction(A.noncefn,i.OPTIONS_NONCEFN_TYPE_INVALID),a=A.noncefn)),e.sign(t,r,a,o)},verify:function(t,r,A){return n.isBuffer(t,i.MSG32_TYPE_INVALID),n.isBufferLength(t,32,i.MSG32_LENGTH_INVALID),n.isBuffer(r,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(r,64,i.ECDSA_SIGNATURE_LENGTH_INVALID),n.isBuffer(A,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(A,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),e.verify(t,r,A)},recover:function(t,r,A,a){return n.isBuffer(t,i.MSG32_TYPE_INVALID),n.isBufferLength(t,32,i.MSG32_LENGTH_INVALID),n.isBuffer(r,i.ECDSA_SIGNATURE_TYPE_INVALID),n.isBufferLength(r,64,i.ECDSA_SIGNATURE_LENGTH_INVALID),n.isNumber(A,i.RECOVERY_ID_TYPE_INVALID),n.isNumberInInterval(A,-1,4,i.RECOVERY_ID_VALUE_INVALID),a=o(a,!0),e.recover(t,r,A,a)},ecdh:function(t,r){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(r,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),e.ecdh(t,r)},ecdhUnsafe:function(t,r,A){return n.isBuffer(t,i.EC_PUBLIC_KEY_TYPE_INVALID),n.isBufferLength2(t,33,65,i.EC_PUBLIC_KEY_LENGTH_INVALID),n.isBuffer(r,i.EC_PRIVATE_KEY_TYPE_INVALID),n.isBufferLength(r,32,i.EC_PRIVATE_KEY_LENGTH_INVALID),A=o(A,!0),e.ecdhUnsafe(t,r,A)}}}},function(e,t,r){"use strict";(function(e){var r=Object.prototype.toString;t.isArray=function(e,t){if(!Array.isArray(e))throw TypeError(t)},t.isBoolean=function(e,t){if("[object Boolean]"!==r.call(e))throw TypeError(t)},t.isBuffer=function(t,r){if(!e.isBuffer(t))throw TypeError(r)},t.isFunction=function(e,t){if("[object Function]"!==r.call(e))throw TypeError(t)},t.isNumber=function(e,t){if("[object Number]"!==r.call(e))throw TypeError(t)},t.isObject=function(e,t){if("[object Object]"!==r.call(e))throw TypeError(t)},t.isBufferLength=function(e,t,r){if(e.length!==t)throw RangeError(r)},t.isBufferLength2=function(e,t,r,n){if(e.length!==t&&e.length!==r)throw RangeError(n)},t.isLengthGTZero=function(e,t){if(0===e.length)throw RangeError(t)},t.isNumberInInterval=function(e,t,r,n){if(e<=t||e>=r)throw RangeError(n)}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(269),i=n.from([48,129,211,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,133,48,129,130,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,33,2,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,36,3,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),o=n.from([48,130,1,19,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,165,48,129,162,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,65,4,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,72,58,218,119,38,163,196,101,93,164,251,252,14,17,8,168,253,23,180,72,166,133,84,25,156,71,208,143,251,16,212,184,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,68,3,66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);t.privateKeyExport=function(e,t,r){var A=n.from(r?i:o);return e.copy(A,r?8:9),t.copy(A,r?181:214),A},t.privateKeyImport=function(e){var t=e.length,r=0;if(!(t<r+1||48!==e[r])&&!(t<(r+=1)+1)&&128&e[r]){var n=127&e[r];if(r+=1,!(n<1||n>2||t<r+n)){var A=e[r+n-1]|(n>1?e[r+n-2]<<8:0);if(!(t<(r+=n)+A||t<r+3||2!==e[r]||1!==e[r+1]||1!==e[r+2]||t<(r+=3)+2||4!==e[r]||e[r+1]>32||t<r+2+e[r+1]))return e.slice(r+2,r+2+e[r+1])}}},t.signatureExport=function(e){for(var t=n.concat([n.from([0]),e.r]),r=33,i=0;r>1&&0===t[i]&&!(128&t[i+1]);--r,++i);for(var o=n.concat([n.from([0]),e.s]),a=33,s=0;a>1&&0===o[s]&&!(128&o[s+1]);--a,++s);return A.encode(t.slice(i),o.slice(s))},t.signatureImport=function(e){var t=n.alloc(32,0),r=n.alloc(32,0);try{var i=A.decode(e);if(33===i.r.length&&0===i.r[0]&&(i.r=i.r.slice(1)),i.r.length>32)throw new Error("R length is too long");if(33===i.s.length&&0===i.s[0]&&(i.s=i.s.slice(1)),i.s.length>32)throw new Error("S length is too long")}catch(e){return}return i.r.copy(t,32-i.r.length),i.s.copy(r,32-i.s.length),{r:t,s:r}},t.signatureImportLax=function(e){var t=n.alloc(32,0),r=n.alloc(32,0),A=e.length,i=0;if(48===e[i++]){var o=e[i++];if(!(128&o&&(i+=o-128)>A)&&2===e[i++]){var a=e[i++];if(128&a){if(i+(o=a-128)>A)return;for(;o>0&&0===e[i];i+=1,o-=1);for(a=0;o>0;i+=1,o-=1)a=(a<<8)+e[i]}if(!(a>A-i)){var s=i;if(i+=a,2===e[i++]){var u=e[i++];if(128&u){if(i+(o=u-128)>A)return;for(;o>0&&0===e[i];i+=1,o-=1);for(u=0;o>0;i+=1,o-=1)u=(u<<8)+e[i]}if(!(u>A-i)){var l=i;for(i+=u;a>0&&0===e[s];a-=1,s+=1);if(!(a>32)){var c=e.slice(s,s+a);for(c.copy(t,32-c.length);u>0&&0===e[l];u-=1,l+=1);if(!(u>32)){var f=e.slice(l,l+u);return f.copy(r,32-f.length),{r:t,s:r}}}}}}}}}},function(e,t,r){"use strict";var n=r(15).Buffer,A=r(45),i=r(17),o=r(48).ec,a=r(921),s=new o("secp256k1"),u=s.curve;function l(e){var t=e[0];switch(t){case 2:case 3:return 33!==e.length?null:function(e,t){var r=new i(t);if(r.cmp(u.p)>=0)return null;var n=(r=r.toRed(u.red)).redSqr().redIMul(r).redIAdd(u.b).redSqrt();return 3===e!==n.isOdd()&&(n=n.redNeg()),s.keyPair({pub:{x:r,y:n}})}(t,e.slice(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,r){var n=new i(t),A=new i(r);if(n.cmp(u.p)>=0||A.cmp(u.p)>=0)return null;if(n=n.toRed(u.red),A=A.toRed(u.red),(6===e||7===e)&&A.isOdd()!==(7===e))return null;var o=n.redSqr().redIMul(n);return A.redSqr().redISub(o.redIAdd(u.b)).isZero()?s.keyPair({pub:{x:n,y:A}}):null}(t,e.slice(1,33),e.slice(33,65));default:return null}}t.privateKeyVerify=function(e){var t=new i(e);return t.cmp(u.n)<0&&!t.isZero()},t.privateKeyExport=function(e,t){var r=new i(e);if(r.cmp(u.n)>=0||r.isZero())throw new Error(a.EC_PRIVATE_KEY_EXPORT_DER_FAIL);return n.from(s.keyFromPrivate(e).getPublic(t,!0))},t.privateKeyNegate=function(e){var t=new i(e);return t.isZero()?n.alloc(32):u.n.sub(t).umod(u.n).toArrayLike(n,"be",32)},t.privateKeyModInverse=function(e){var t=new i(e);if(t.cmp(u.n)>=0||t.isZero())throw new Error(a.EC_PRIVATE_KEY_RANGE_INVALID);return t.invm(u.n).toArrayLike(n,"be",32)},t.privateKeyTweakAdd=function(e,t){var r=new i(t);if(r.cmp(u.n)>=0)throw new Error(a.EC_PRIVATE_KEY_TWEAK_ADD_FAIL);if(r.iadd(new i(e)),r.cmp(u.n)>=0&&r.isub(u.n),r.isZero())throw new Error(a.EC_PRIVATE_KEY_TWEAK_ADD_FAIL);return r.toArrayLike(n,"be",32)},t.privateKeyTweakMul=function(e,t){var r=new i(t);if(r.cmp(u.n)>=0||r.isZero())throw new Error(a.EC_PRIVATE_KEY_TWEAK_MUL_FAIL);return r.imul(new i(e)),r.cmp(u.n)&&(r=r.umod(u.n)),r.toArrayLike(n,"be",32)},t.publicKeyCreate=function(e,t){var r=new i(e);if(r.cmp(u.n)>=0||r.isZero())throw new Error(a.EC_PUBLIC_KEY_CREATE_FAIL);return n.from(s.keyFromPrivate(e).getPublic(t,!0))},t.publicKeyConvert=function(e,t){var r=l(e);if(null===r)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);return n.from(r.getPublic(t,!0))},t.publicKeyVerify=function(e){return null!==l(e)},t.publicKeyTweakAdd=function(e,t,r){var A=l(e);if(null===A)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);if((t=new i(t)).cmp(u.n)>=0)throw new Error(a.EC_PUBLIC_KEY_TWEAK_ADD_FAIL);return n.from(u.g.mul(t).add(A.pub).encode(!0,r))},t.publicKeyTweakMul=function(e,t,r){var A=l(e);if(null===A)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);if((t=new i(t)).cmp(u.n)>=0||t.isZero())throw new Error(a.EC_PUBLIC_KEY_TWEAK_MUL_FAIL);return n.from(A.pub.mul(t).encode(!0,r))},t.publicKeyCombine=function(e,t){for(var r=new Array(e.length),A=0;A<e.length;++A)if(r[A]=l(e[A]),null===r[A])throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);for(var i=r[0].pub,o=1;o<r.length;++o)i=i.add(r[o].pub);if(i.isInfinity())throw new Error(a.EC_PUBLIC_KEY_COMBINE_FAIL);return n.from(i.encode(!0,t))},t.signatureNormalize=function(e){var t=new i(e.slice(0,32)),r=new i(e.slice(32,64));if(t.cmp(u.n)>=0||r.cmp(u.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);var A=n.from(e);return 1===r.cmp(s.nh)&&u.n.sub(r).toArrayLike(n,"be",32).copy(A,32),A},t.signatureExport=function(e){var t=e.slice(0,32),r=e.slice(32,64);if(new i(t).cmp(u.n)>=0||new i(r).cmp(u.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);return{r:t,s:r}},t.signatureImport=function(e){var t=new i(e.r);t.cmp(u.n)>=0&&(t=new i(0));var r=new i(e.s);return r.cmp(u.n)>=0&&(r=new i(0)),n.concat([t.toArrayLike(n,"be",32),r.toArrayLike(n,"be",32)])},t.sign=function(e,t,r,A){if("function"==typeof r){var o=r;r=function(r){var s=o(e,t,null,A,r);if(!n.isBuffer(s)||32!==s.length)throw new Error(a.ECDSA_SIGN_FAIL);return new i(s)}}var l=new i(t);if(l.cmp(u.n)>=0||l.isZero())throw new Error(a.ECDSA_SIGN_FAIL);var c=s.sign(e,t,{canonical:!0,k:r,pers:A});return{signature:n.concat([c.r.toArrayLike(n,"be",32),c.s.toArrayLike(n,"be",32)]),recovery:c.recoveryParam}},t.verify=function(e,t,r){var n={r:t.slice(0,32),s:t.slice(32,64)},A=new i(n.r),o=new i(n.s);if(A.cmp(u.n)>=0||o.cmp(u.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);if(1===o.cmp(s.nh)||A.isZero()||o.isZero())return!1;var c=l(r);if(null===c)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);return s.verify(e,n,{x:c.pub.x,y:c.pub.y})},t.recover=function(e,t,r,A){var o={r:t.slice(0,32),s:t.slice(32,64)},l=new i(o.r),c=new i(o.s);if(l.cmp(u.n)>=0||c.cmp(u.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);try{if(l.isZero()||c.isZero())throw new Error;var f=s.recoverPubKey(e,o,r);return n.from(f.encode(!0,A))}catch(e){throw new Error(a.ECDSA_RECOVER_FAIL)}},t.ecdh=function(e,r){var n=t.ecdhUnsafe(e,r,!0);return A("sha256").update(n).digest()},t.ecdhUnsafe=function(e,t,r){var A=l(e);if(null===A)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);var o=new i(t);if(o.cmp(u.n)>=0||o.isZero())throw new Error(a.ECDH_FAIL);return n.from(A.pub.mul(o).encode(!0,r))}},function(e,t,r){"use strict";var n=t;function A(){n.Reader._configure(n.BufferReader),n.util._configure()}n.build="minimal",n.Writer=r(922),n.BufferWriter=r(1600),n.Reader=r(923),n.BufferReader=r(1601),n.util=r(203),n.rpc=r(1602),n.roots=r(1604),n.configure=A,n.Writer._configure(n.BufferWriter),A()},function(e,t,r){"use strict";e.exports=function(e,t){var r=new Array(arguments.length-1),n=0,A=2,i=!0;for(;A<arguments.length;)r[n++]=arguments[A++];return new Promise(function(A,o){r[n]=function(e){if(i)if(i=!1,e)o(e);else{for(var t=new Array(arguments.length-1),r=0;r<t.length;)t[r++]=arguments[r];A.apply(null,t)}};try{e.apply(t||null,r)}catch(e){i&&(i=!1,o(e))}})}},function(e,t,r){"use strict";var n=t;n.length=function(e){var t=e.length;if(!t)return 0;for(var r=0;--t%4>1&&"="===e.charAt(t);)++r;return Math.ceil(3*e.length)/4-r};for(var A=new Array(64),i=new Array(123),o=0;o<64;)i[A[o]=o<26?o+65:o<52?o+71:o<62?o-4:o-59|43]=o++;n.encode=function(e,t,r){for(var n,i=null,o=[],a=0,s=0;t<r;){var u=e[t++];switch(s){case 0:o[a++]=A[u>>2],n=(3&u)<<4,s=1;break;case 1:o[a++]=A[n|u>>4],n=(15&u)<<2,s=2;break;case 2:o[a++]=A[n|u>>6],o[a++]=A[63&u],s=0}a>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,o)),a=0)}return s&&(o[a++]=A[n],o[a++]=61,1===s&&(o[a++]=61)),i?(a&&i.push(String.fromCharCode.apply(String,o.slice(0,a))),i.join("")):String.fromCharCode.apply(String,o.slice(0,a))};n.decode=function(e,t,r){for(var n,A=r,o=0,a=0;a<e.length;){var s=e.charCodeAt(a++);if(61===s&&o>1)break;if(void 0===(s=i[s]))throw Error("invalid encoding");switch(o){case 0:n=s,o=1;break;case 1:t[r++]=n<<2|(48&s)>>4,n=s,o=2;break;case 2:t[r++]=(15&n)<<4|(60&s)>>2,n=s,o=3;break;case 3:t[r++]=(3&n)<<6|s,o=0}}if(1===o)throw Error("invalid encoding");return r-A},n.test=function(e){return/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(e)}},function(e,t,r){"use strict";function n(){this._listeners={}}e.exports=n,n.prototype.on=function(e,t,r){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:r||this}),this},n.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var r=this._listeners[e],n=0;n<r.length;)r[n].fn===t?r.splice(n,1):++n;return this},n.prototype.emit=function(e){var t=this._listeners[e];if(t){for(var r=[],n=1;n<arguments.length;)r.push(arguments[n++]);for(n=0;n<t.length;)t[n].fn.apply(t[n++].ctx,r)}return this}},function(e,t,r){"use strict";function n(e){return"undefined"!=typeof Float32Array?function(){var t=new Float32Array([-0]),r=new Uint8Array(t.buffer),n=128===r[3];function A(e,n,A){t[0]=e,n[A]=r[0],n[A+1]=r[1],n[A+2]=r[2],n[A+3]=r[3]}function i(e,n,A){t[0]=e,n[A]=r[3],n[A+1]=r[2],n[A+2]=r[1],n[A+3]=r[0]}function o(e,n){return r[0]=e[n],r[1]=e[n+1],r[2]=e[n+2],r[3]=e[n+3],t[0]}function a(e,n){return r[3]=e[n],r[2]=e[n+1],r[1]=e[n+2],r[0]=e[n+3],t[0]}e.writeFloatLE=n?A:i,e.writeFloatBE=n?i:A,e.readFloatLE=n?o:a,e.readFloatBE=n?a:o}():function(){function t(e,t,r,n){var A=t<0?1:0;if(A&&(t=-t),0===t)e(1/t>0?0:2147483648,r,n);else if(isNaN(t))e(2143289344,r,n);else if(t>34028234663852886e22)e((A<<31|2139095040)>>>0,r,n);else if(t<11754943508222875e-54)e((A<<31|Math.round(t/1401298464324817e-60))>>>0,r,n);else{var i=Math.floor(Math.log(t)/Math.LN2);e((A<<31|i+127<<23|8388607&Math.round(t*Math.pow(2,-i)*8388608))>>>0,r,n)}}function r(e,t,r){var n=e(t,r),A=2*(n>>31)+1,i=n>>>23&255,o=8388607&n;return 255===i?o?NaN:A*(1/0):0===i?1401298464324817e-60*A*o:A*Math.pow(2,i-150)*(o+8388608)}e.writeFloatLE=t.bind(null,A),e.writeFloatBE=t.bind(null,i),e.readFloatLE=r.bind(null,o),e.readFloatBE=r.bind(null,a)}(),"undefined"!=typeof Float64Array?function(){var t=new Float64Array([-0]),r=new Uint8Array(t.buffer),n=128===r[7];function A(e,n,A){t[0]=e,n[A]=r[0],n[A+1]=r[1],n[A+2]=r[2],n[A+3]=r[3],n[A+4]=r[4],n[A+5]=r[5],n[A+6]=r[6],n[A+7]=r[7]}function i(e,n,A){t[0]=e,n[A]=r[7],n[A+1]=r[6],n[A+2]=r[5],n[A+3]=r[4],n[A+4]=r[3],n[A+5]=r[2],n[A+6]=r[1],n[A+7]=r[0]}function o(e,n){return r[0]=e[n],r[1]=e[n+1],r[2]=e[n+2],r[3]=e[n+3],r[4]=e[n+4],r[5]=e[n+5],r[6]=e[n+6],r[7]=e[n+7],t[0]}function a(e,n){return r[7]=e[n],r[6]=e[n+1],r[5]=e[n+2],r[4]=e[n+3],r[3]=e[n+4],r[2]=e[n+5],r[1]=e[n+6],r[0]=e[n+7],t[0]}e.writeDoubleLE=n?A:i,e.writeDoubleBE=n?i:A,e.readDoubleLE=n?o:a,e.readDoubleBE=n?a:o}():function(){function t(e,t,r,n,A,i){var o=n<0?1:0;if(o&&(n=-n),0===n)e(0,A,i+t),e(1/n>0?0:2147483648,A,i+r);else if(isNaN(n))e(0,A,i+t),e(2146959360,A,i+r);else if(n>17976931348623157e292)e(0,A,i+t),e((o<<31|2146435072)>>>0,A,i+r);else{var a;if(n<22250738585072014e-324)e((a=n/5e-324)>>>0,A,i+t),e((o<<31|a/4294967296)>>>0,A,i+r);else{var s=Math.floor(Math.log(n)/Math.LN2);1024===s&&(s=1023),e(4503599627370496*(a=n*Math.pow(2,-s))>>>0,A,i+t),e((o<<31|s+1023<<20|1048576*a&1048575)>>>0,A,i+r)}}}function r(e,t,r,n,A){var i=e(n,A+t),o=e(n,A+r),a=2*(o>>31)+1,s=o>>>20&2047,u=4294967296*(1048575&o)+i;return 2047===s?u?NaN:a*(1/0):0===s?5e-324*a*u:a*Math.pow(2,s-1075)*(u+4503599627370496)}e.writeDoubleLE=t.bind(null,A,0,4),e.writeDoubleBE=t.bind(null,i,4,0),e.readDoubleLE=r.bind(null,o,0,4),e.readDoubleBE=r.bind(null,a,4,0)}(),e}function A(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}function i(e,t,r){t[r]=e>>>24,t[r+1]=e>>>16&255,t[r+2]=e>>>8&255,t[r+3]=255&e}function o(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function a(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=n(n)},function(module,exports,__webpack_require__){"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},function(e,t,r){"use strict";var n=t;n.length=function(e){for(var t=0,r=0,n=0;n<e.length;++n)(r=e.charCodeAt(n))<128?t+=1:r<2048?t+=2:55296==(64512&r)&&56320==(64512&e.charCodeAt(n+1))?(++n,t+=4):t+=3;return t},n.read=function(e,t,r){if(r-t<1)return"";for(var n,A=null,i=[],o=0;t<r;)(n=e[t++])<128?i[o++]=n:n>191&&n<224?i[o++]=(31&n)<<6|63&e[t++]:n>239&&n<365?(n=((7&n)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,i[o++]=55296+(n>>10),i[o++]=56320+(1023&n)):i[o++]=(15&n)<<12|(63&e[t++])<<6|63&e[t++],o>8191&&((A||(A=[])).push(String.fromCharCode.apply(String,i)),o=0);return A?(o&&A.push(String.fromCharCode.apply(String,i.slice(0,o))),A.join("")):String.fromCharCode.apply(String,i.slice(0,o))},n.write=function(e,t,r){for(var n,A,i=r,o=0;o<e.length;++o)(n=e.charCodeAt(o))<128?t[r++]=n:n<2048?(t[r++]=n>>6|192,t[r++]=63&n|128):55296==(64512&n)&&56320==(64512&(A=e.charCodeAt(o+1)))?(n=65536+((1023&n)<<10)+(1023&A),++o,t[r++]=n>>18|240,t[r++]=n>>12&63|128,t[r++]=n>>6&63|128,t[r++]=63&n|128):(t[r++]=n>>12|224,t[r++]=n>>6&63|128,t[r++]=63&n|128);return r-i}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=r||8192,A=n>>>1,i=null,o=n;return function(r){if(r<1||r>A)return e(r);o+r>n&&(i=e(n),o=0);var a=t.call(i,o,o+=r);return 7&o&&(o=1+(7|o)),a}}},function(e,t,r){"use strict";e.exports=A;var n=r(203);function A(e,t){this.lo=e>>>0,this.hi=t>>>0}var i=A.zero=new A(0,0);i.toNumber=function(){return 0},i.zzEncode=i.zzDecode=function(){return this},i.length=function(){return 1};var o=A.zeroHash="\0\0\0\0\0\0\0\0";A.fromNumber=function(e){if(0===e)return i;var t=e<0;t&&(e=-e);var r=e>>>0,n=(e-r)/4294967296>>>0;return t&&(n=~n>>>0,r=~r>>>0,++r>4294967295&&(r=0,++n>4294967295&&(n=0))),new A(r,n)},A.from=function(e){if("number"==typeof e)return A.fromNumber(e);if(n.isString(e)){if(!n.Long)return A.fromNumber(parseInt(e,10));e=n.Long.fromString(e)}return e.low||e.high?new A(e.low>>>0,e.high>>>0):i},A.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,r=~this.hi>>>0;return t||(r=r+1>>>0),-(t+4294967296*r)}return this.lo+4294967296*this.hi},A.prototype.toLong=function(e){return n.Long?new n.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var a=String.prototype.charCodeAt;A.fromHash=function(e){return e===o?i:new A((a.call(e,0)|a.call(e,1)<<8|a.call(e,2)<<16|a.call(e,3)<<24)>>>0,(a.call(e,4)|a.call(e,5)<<8|a.call(e,6)<<16|a.call(e,7)<<24)>>>0)},A.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},A.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},A.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},A.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,r=this.hi>>>24;return 0===r?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:r<128?9:10}},function(e,t,r){"use strict";e.exports=o;var n=r(922);(o.prototype=Object.create(n.prototype)).constructor=o;var A=r(203),i=A.Buffer;function o(){n.call(this)}o.alloc=function(e){return(o.alloc=A._Buffer_allocUnsafe)(e)};var a=i&&i.prototype instanceof Uint8Array&&"set"===i.prototype.set.name?function(e,t,r){t.set(e,r)}:function(e,t,r){if(e.copy)e.copy(t,r,0,e.length);else for(var n=0;n<e.length;)t[r++]=e[n++]};function s(e,t,r){e.length<40?A.utf8.write(e,t,r):t.utf8Write(e,r)}o.prototype.bytes=function(e){A.isString(e)&&(e=A._Buffer_from(e,"base64"));var t=e.length>>>0;return this.uint32(t),t&&this._push(a,t,e),this},o.prototype.string=function(e){var t=i.byteLength(e);return this.uint32(t),t&&this._push(s,t,e),this}},function(e,t,r){"use strict";e.exports=i;var n=r(923);(i.prototype=Object.create(n.prototype)).constructor=i;var A=r(203);function i(e){n.call(this,e)}A.Buffer&&(i.prototype._slice=A.Buffer.prototype.slice),i.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len))}},function(e,t,r){"use strict";t.Service=r(1603)},function(e,t,r){"use strict";e.exports=A;var n=r(203);function A(e,t,r){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");n.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(r)}(A.prototype=Object.create(n.EventEmitter.prototype)).constructor=A,A.prototype.rpcCall=function e(t,r,A,i,o){if(!i)throw TypeError("request must be specified");var a=this;if(!o)return n.asPromise(e,a,t,r,A,i);if(a.rpcImpl)try{return a.rpcImpl(t,r[a.requestDelimited?"encodeDelimited":"encode"](i).finish(),function(e,r){if(e)return a.emit("error",e,t),o(e);if(null!==r){if(!(r instanceof A))try{r=A[a.responseDelimited?"decodeDelimited":"decode"](r)}catch(e){return a.emit("error",e,t),o(e)}return a.emit("data",r,t),o(null,r)}a.end(!0)})}catch(e){return a.emit("error",e,t),void setTimeout(function(){o(e)},0)}else setTimeout(function(){o(Error("already ended"))},0)},A.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";t.umulTo10x10=function(e,t,r){var n,A,i,o=e.words,a=t.words,s=r.words,u=0,l=0|o[0],c=8191&l,f=l>>>13,d=0|o[1],g=8191&d,h=d>>>13,p=0|o[2],I=8191&p,B=p>>>13,C=0|o[3],m=8191&C,y=C>>>13,Q=0|o[4],w=8191&Q,E=Q>>>13,b=0|o[5],v=8191&b,D=b>>>13,M=0|o[6],k=8191&M,_=M>>>13,S=0|o[7],N=8191&S,F=S>>>13,x=0|o[8],G=8191&x,H=x>>>13,U=0|o[9],Y=8191&U,L=U>>>13,O=0|a[0],K=8191&O,P=O>>>13,R=0|a[1],T=8191&R,J=R>>>13,j=0|a[2],q=8191&j,V=j>>>13,W=0|a[3],z=8191&W,Z=W>>>13,X=0|a[4],$=8191&X,ee=X>>>13,te=0|a[5],re=8191&te,ne=te>>>13,Ae=0|a[6],ie=8191&Ae,oe=Ae>>>13,ae=0|a[7],se=8191&ae,ue=ae>>>13,le=0|a[8],ce=8191&le,fe=le>>>13,de=0|a[9],ge=8191&de,he=de>>>13;r.length=19,n=Math.imul(c,K),A=Math.imul(c,P);var pe=u+n+((8191&(A+=Math.imul(f,K)))<<13);u=(i=Math.imul(f,P))+(A>>>13)+(pe>>>26),pe&=67108863,n=Math.imul(g,K),A=Math.imul(g,P),A+=Math.imul(h,K),i=Math.imul(h,P),n+=Math.imul(c,T),A+=Math.imul(c,J);var Ie=u+n+((8191&(A+=Math.imul(f,T)))<<13);u=(i+=Math.imul(f,J))+(A>>>13)+(Ie>>>26),Ie&=67108863,n=Math.imul(I,K),A=Math.imul(I,P),A+=Math.imul(B,K),i=Math.imul(B,P),n+=Math.imul(g,T),A+=Math.imul(g,J),A+=Math.imul(h,T),i+=Math.imul(h,J),n+=Math.imul(c,q),A+=Math.imul(c,V);var Be=u+n+((8191&(A+=Math.imul(f,q)))<<13);u=(i+=Math.imul(f,V))+(A>>>13)+(Be>>>26),Be&=67108863,n=Math.imul(m,K),A=Math.imul(m,P),A+=Math.imul(y,K),i=Math.imul(y,P),n+=Math.imul(I,T),A+=Math.imul(I,J),A+=Math.imul(B,T),i+=Math.imul(B,J),n+=Math.imul(g,q),A+=Math.imul(g,V),A+=Math.imul(h,q),i+=Math.imul(h,V),n+=Math.imul(c,z),A+=Math.imul(c,Z);var Ce=u+n+((8191&(A+=Math.imul(f,z)))<<13);u=(i+=Math.imul(f,Z))+(A>>>13)+(Ce>>>26),Ce&=67108863,n=Math.imul(w,K),A=Math.imul(w,P),A+=Math.imul(E,K),i=Math.imul(E,P),n+=Math.imul(m,T),A+=Math.imul(m,J),A+=Math.imul(y,T),i+=Math.imul(y,J),n+=Math.imul(I,q),A+=Math.imul(I,V),A+=Math.imul(B,q),i+=Math.imul(B,V),n+=Math.imul(g,z),A+=Math.imul(g,Z),A+=Math.imul(h,z),i+=Math.imul(h,Z),n+=Math.imul(c,$),A+=Math.imul(c,ee);var me=u+n+((8191&(A+=Math.imul(f,$)))<<13);u=(i+=Math.imul(f,ee))+(A>>>13)+(me>>>26),me&=67108863,n=Math.imul(v,K),A=Math.imul(v,P),A+=Math.imul(D,K),i=Math.imul(D,P),n+=Math.imul(w,T),A+=Math.imul(w,J),A+=Math.imul(E,T),i+=Math.imul(E,J),n+=Math.imul(m,q),A+=Math.imul(m,V),A+=Math.imul(y,q),i+=Math.imul(y,V),n+=Math.imul(I,z),A+=Math.imul(I,Z),A+=Math.imul(B,z),i+=Math.imul(B,Z),n+=Math.imul(g,$),A+=Math.imul(g,ee),A+=Math.imul(h,$),i+=Math.imul(h,ee),n+=Math.imul(c,re),A+=Math.imul(c,ne);var ye=u+n+((8191&(A+=Math.imul(f,re)))<<13);u=(i+=Math.imul(f,ne))+(A>>>13)+(ye>>>26),ye&=67108863,n=Math.imul(k,K),A=Math.imul(k,P),A+=Math.imul(_,K),i=Math.imul(_,P),n+=Math.imul(v,T),A+=Math.imul(v,J),A+=Math.imul(D,T),i+=Math.imul(D,J),n+=Math.imul(w,q),A+=Math.imul(w,V),A+=Math.imul(E,q),i+=Math.imul(E,V),n+=Math.imul(m,z),A+=Math.imul(m,Z),A+=Math.imul(y,z),i+=Math.imul(y,Z),n+=Math.imul(I,$),A+=Math.imul(I,ee),A+=Math.imul(B,$),i+=Math.imul(B,ee),n+=Math.imul(g,re),A+=Math.imul(g,ne),A+=Math.imul(h,re),i+=Math.imul(h,ne),n+=Math.imul(c,ie),A+=Math.imul(c,oe);var Qe=u+n+((8191&(A+=Math.imul(f,ie)))<<13);u=(i+=Math.imul(f,oe))+(A>>>13)+(Qe>>>26),Qe&=67108863,n=Math.imul(N,K),A=Math.imul(N,P),A+=Math.imul(F,K),i=Math.imul(F,P),n+=Math.imul(k,T),A+=Math.imul(k,J),A+=Math.imul(_,T),i+=Math.imul(_,J),n+=Math.imul(v,q),A+=Math.imul(v,V),A+=Math.imul(D,q),i+=Math.imul(D,V),n+=Math.imul(w,z),A+=Math.imul(w,Z),A+=Math.imul(E,z),i+=Math.imul(E,Z),n+=Math.imul(m,$),A+=Math.imul(m,ee),A+=Math.imul(y,$),i+=Math.imul(y,ee),n+=Math.imul(I,re),A+=Math.imul(I,ne),A+=Math.imul(B,re),i+=Math.imul(B,ne),n+=Math.imul(g,ie),A+=Math.imul(g,oe),A+=Math.imul(h,ie),i+=Math.imul(h,oe),n+=Math.imul(c,se),A+=Math.imul(c,ue);var we=u+n+((8191&(A+=Math.imul(f,se)))<<13);u=(i+=Math.imul(f,ue))+(A>>>13)+(we>>>26),we&=67108863,n=Math.imul(G,K),A=Math.imul(G,P),A+=Math.imul(H,K),i=Math.imul(H,P),n+=Math.imul(N,T),A+=Math.imul(N,J),A+=Math.imul(F,T),i+=Math.imul(F,J),n+=Math.imul(k,q),A+=Math.imul(k,V),A+=Math.imul(_,q),i+=Math.imul(_,V),n+=Math.imul(v,z),A+=Math.imul(v,Z),A+=Math.imul(D,z),i+=Math.imul(D,Z),n+=Math.imul(w,$),A+=Math.imul(w,ee),A+=Math.imul(E,$),i+=Math.imul(E,ee),n+=Math.imul(m,re),A+=Math.imul(m,ne),A+=Math.imul(y,re),i+=Math.imul(y,ne),n+=Math.imul(I,ie),A+=Math.imul(I,oe),A+=Math.imul(B,ie),i+=Math.imul(B,oe),n+=Math.imul(g,se),A+=Math.imul(g,ue),A+=Math.imul(h,se),i+=Math.imul(h,ue),n+=Math.imul(c,ce),A+=Math.imul(c,fe);var Ee=u+n+((8191&(A+=Math.imul(f,ce)))<<13);u=(i+=Math.imul(f,fe))+(A>>>13)+(Ee>>>26),Ee&=67108863,n=Math.imul(Y,K),A=Math.imul(Y,P),A+=Math.imul(L,K),i=Math.imul(L,P),n+=Math.imul(G,T),A+=Math.imul(G,J),A+=Math.imul(H,T),i+=Math.imul(H,J),n+=Math.imul(N,q),A+=Math.imul(N,V),A+=Math.imul(F,q),i+=Math.imul(F,V),n+=Math.imul(k,z),A+=Math.imul(k,Z),A+=Math.imul(_,z),i+=Math.imul(_,Z),n+=Math.imul(v,$),A+=Math.imul(v,ee),A+=Math.imul(D,$),i+=Math.imul(D,ee),n+=Math.imul(w,re),A+=Math.imul(w,ne),A+=Math.imul(E,re),i+=Math.imul(E,ne),n+=Math.imul(m,ie),A+=Math.imul(m,oe),A+=Math.imul(y,ie),i+=Math.imul(y,oe),n+=Math.imul(I,se),A+=Math.imul(I,ue),A+=Math.imul(B,se),i+=Math.imul(B,ue),n+=Math.imul(g,ce),A+=Math.imul(g,fe),A+=Math.imul(h,ce),i+=Math.imul(h,fe),n+=Math.imul(c,ge),A+=Math.imul(c,he);var be=u+n+((8191&(A+=Math.imul(f,ge)))<<13);u=(i+=Math.imul(f,he))+(A>>>13)+(be>>>26),be&=67108863,n=Math.imul(Y,T),A=Math.imul(Y,J),A+=Math.imul(L,T),i=Math.imul(L,J),n+=Math.imul(G,q),A+=Math.imul(G,V),A+=Math.imul(H,q),i+=Math.imul(H,V),n+=Math.imul(N,z),A+=Math.imul(N,Z),A+=Math.imul(F,z),i+=Math.imul(F,Z),n+=Math.imul(k,$),A+=Math.imul(k,ee),A+=Math.imul(_,$),i+=Math.imul(_,ee),n+=Math.imul(v,re),A+=Math.imul(v,ne),A+=Math.imul(D,re),i+=Math.imul(D,ne),n+=Math.imul(w,ie),A+=Math.imul(w,oe),A+=Math.imul(E,ie),i+=Math.imul(E,oe),n+=Math.imul(m,se),A+=Math.imul(m,ue),A+=Math.imul(y,se),i+=Math.imul(y,ue),n+=Math.imul(I,ce),A+=Math.imul(I,fe),A+=Math.imul(B,ce),i+=Math.imul(B,fe),n+=Math.imul(g,ge),A+=Math.imul(g,he);var ve=u+n+((8191&(A+=Math.imul(h,ge)))<<13);u=(i+=Math.imul(h,he))+(A>>>13)+(ve>>>26),ve&=67108863,n=Math.imul(Y,q),A=Math.imul(Y,V),A+=Math.imul(L,q),i=Math.imul(L,V),n+=Math.imul(G,z),A+=Math.imul(G,Z),A+=Math.imul(H,z),i+=Math.imul(H,Z),n+=Math.imul(N,$),A+=Math.imul(N,ee),A+=Math.imul(F,$),i+=Math.imul(F,ee),n+=Math.imul(k,re),A+=Math.imul(k,ne),A+=Math.imul(_,re),i+=Math.imul(_,ne),n+=Math.imul(v,ie),A+=Math.imul(v,oe),A+=Math.imul(D,ie),i+=Math.imul(D,oe),n+=Math.imul(w,se),A+=Math.imul(w,ue),A+=Math.imul(E,se),i+=Math.imul(E,ue),n+=Math.imul(m,ce),A+=Math.imul(m,fe),A+=Math.imul(y,ce),i+=Math.imul(y,fe),n+=Math.imul(I,ge),A+=Math.imul(I,he);var De=u+n+((8191&(A+=Math.imul(B,ge)))<<13);u=(i+=Math.imul(B,he))+(A>>>13)+(De>>>26),De&=67108863,n=Math.imul(Y,z),A=Math.imul(Y,Z),A+=Math.imul(L,z),i=Math.imul(L,Z),n+=Math.imul(G,$),A+=Math.imul(G,ee),A+=Math.imul(H,$),i+=Math.imul(H,ee),n+=Math.imul(N,re),A+=Math.imul(N,ne),A+=Math.imul(F,re),i+=Math.imul(F,ne),n+=Math.imul(k,ie),A+=Math.imul(k,oe),A+=Math.imul(_,ie),i+=Math.imul(_,oe),n+=Math.imul(v,se),A+=Math.imul(v,ue),A+=Math.imul(D,se),i+=Math.imul(D,ue),n+=Math.imul(w,ce),A+=Math.imul(w,fe),A+=Math.imul(E,ce),i+=Math.imul(E,fe),n+=Math.imul(m,ge),A+=Math.imul(m,he);var Me=u+n+((8191&(A+=Math.imul(y,ge)))<<13);u=(i+=Math.imul(y,he))+(A>>>13)+(Me>>>26),Me&=67108863,n=Math.imul(Y,$),A=Math.imul(Y,ee),A+=Math.imul(L,$),i=Math.imul(L,ee),n+=Math.imul(G,re),A+=Math.imul(G,ne),A+=Math.imul(H,re),i+=Math.imul(H,ne),n+=Math.imul(N,ie),A+=Math.imul(N,oe),A+=Math.imul(F,ie),i+=Math.imul(F,oe),n+=Math.imul(k,se),A+=Math.imul(k,ue),A+=Math.imul(_,se),i+=Math.imul(_,ue),n+=Math.imul(v,ce),A+=Math.imul(v,fe),A+=Math.imul(D,ce),i+=Math.imul(D,fe),n+=Math.imul(w,ge),A+=Math.imul(w,he);var ke=u+n+((8191&(A+=Math.imul(E,ge)))<<13);u=(i+=Math.imul(E,he))+(A>>>13)+(ke>>>26),ke&=67108863,n=Math.imul(Y,re),A=Math.imul(Y,ne),A+=Math.imul(L,re),i=Math.imul(L,ne),n+=Math.imul(G,ie),A+=Math.imul(G,oe),A+=Math.imul(H,ie),i+=Math.imul(H,oe),n+=Math.imul(N,se),A+=Math.imul(N,ue),A+=Math.imul(F,se),i+=Math.imul(F,ue),n+=Math.imul(k,ce),A+=Math.imul(k,fe),A+=Math.imul(_,ce),i+=Math.imul(_,fe),n+=Math.imul(v,ge),A+=Math.imul(v,he);var _e=u+n+((8191&(A+=Math.imul(D,ge)))<<13);u=(i+=Math.imul(D,he))+(A>>>13)+(_e>>>26),_e&=67108863,n=Math.imul(Y,ie),A=Math.imul(Y,oe),A+=Math.imul(L,ie),i=Math.imul(L,oe),n+=Math.imul(G,se),A+=Math.imul(G,ue),A+=Math.imul(H,se),i+=Math.imul(H,ue),n+=Math.imul(N,ce),A+=Math.imul(N,fe),A+=Math.imul(F,ce),i+=Math.imul(F,fe),n+=Math.imul(k,ge),A+=Math.imul(k,he);var Se=u+n+((8191&(A+=Math.imul(_,ge)))<<13);u=(i+=Math.imul(_,he))+(A>>>13)+(Se>>>26),Se&=67108863,n=Math.imul(Y,se),A=Math.imul(Y,ue),A+=Math.imul(L,se),i=Math.imul(L,ue),n+=Math.imul(G,ce),A+=Math.imul(G,fe),A+=Math.imul(H,ce),i+=Math.imul(H,fe),n+=Math.imul(N,ge),A+=Math.imul(N,he);var Ne=u+n+((8191&(A+=Math.imul(F,ge)))<<13);u=(i+=Math.imul(F,he))+(A>>>13)+(Ne>>>26),Ne&=67108863,n=Math.imul(Y,ce),A=Math.imul(Y,fe),A+=Math.imul(L,ce),i=Math.imul(L,fe),n+=Math.imul(G,ge),A+=Math.imul(G,he);var Fe=u+n+((8191&(A+=Math.imul(H,ge)))<<13);u=(i+=Math.imul(H,he))+(A>>>13)+(Fe>>>26),Fe&=67108863,n=Math.imul(Y,ge),A=Math.imul(Y,he);var xe=u+n+((8191&(A+=Math.imul(L,ge)))<<13);return u=(i=Math.imul(L,he))+(A>>>13)+(xe>>>26),xe&=67108863,s[0]=pe,s[1]=Ie,s[2]=Be,s[3]=Ce,s[4]=me,s[5]=ye,s[6]=Qe,s[7]=we,s[8]=Ee,s[9]=be,s[10]=ve,s[11]=De,s[12]=Me,s[13]=ke,s[14]=_e,s[15]=Se,s[16]=Ne,s[17]=Fe,s[18]=xe,0!==u&&(s[19]=u,r.length++),r}},function(e,t,r){"use strict";(function(t){const n=r(287),A=r(184),i=r(1607);e.exports=A(class extends n{constructor(){super()}create(e){throw new Error("not implement")}recover(e,t){throw new Error("not implement")}import(e){return i.Import(e)}isValidAddress(e){return i.isValidAddress(e)}isValidPrivate(e){return i.isValidPrivate(new t(Hex.hexToBytes(e)))}getAddress(e){return i.getAddress(e)}})}).call(this,r(8).Buffer)},function(e,t,r){(function(t){const n=r(1608),A=r(496),i=r(69);e.exports=class{static Import(e){let t=n.privateToPublic(e),r=n.publicToAddress(t);return{address:"0x"+i.Hex.bytesToHex(r),privateKey:i.Hex.bytesToHex(e),publicKey:i.Hex.bytesToHex(t)}}static isValidAddress(e){return n.isValidAddress(e)}static isValidAddress(e){return n.isValidPrivate(new t(Hex.hexToBytes(e)))}static sign(e,r){let n=new A(e);return n.sign(new t(r)),n.sig}static getAddress(e){let t=n.pubToAddress(e);return Hex.bytesToHex(t)}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=r(492),i=r(340),o=r(36),a=r(491),s=r(17),u=r(45),l=r(15).Buffer;Object.assign(t,r(493)),t.MAX_INTEGER=new s("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16),t.TWO_POW256=new s("10000000000000000000000000000000000000000000000000000000000000000",16),t.KECCAK256_NULL_S="c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",t.SHA3_NULL_S=t.KECCAK256_NULL_S,t.KECCAK256_NULL=l.from(t.KECCAK256_NULL_S,"hex"),t.SHA3_NULL=t.KECCAK256_NULL,t.KECCAK256_RLP_ARRAY_S="1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",t.SHA3_RLP_ARRAY_S=t.KECCAK256_RLP_ARRAY_S,t.KECCAK256_RLP_ARRAY=l.from(t.KECCAK256_RLP_ARRAY_S,"hex"),t.SHA3_RLP_ARRAY=t.KECCAK256_RLP_ARRAY,t.KECCAK256_RLP_S="56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",t.SHA3_RLP_S=t.KECCAK256_RLP_S,t.KECCAK256_RLP=l.from(t.KECCAK256_RLP_S,"hex"),t.SHA3_RLP=t.KECCAK256_RLP,t.BN=s,t.rlp=a,t.secp256k1=i,t.zeros=function(e){return l.allocUnsafe(e).fill(0)},t.zeroAddress=function(){var e=t.zeros(20);return t.bufferToHex(e)},t.setLengthLeft=t.setLength=function(e,r,n){var A=t.zeros(r);return e=t.toBuffer(e),n?e.length<r?(e.copy(A),A):e.slice(0,r):e.length<r?(e.copy(A,r-e.length),A):e.slice(-r)},t.setLengthRight=function(e,r){return t.setLength(e,r,!0)},t.unpad=t.stripZeros=function(e){for(var r=(e=t.stripHexPrefix(e))[0];e.length>0&&"0"===r.toString();)r=(e=e.slice(1))[0];return e},t.toBuffer=function(e){if(!l.isBuffer(e))if(Array.isArray(e))e=l.from(e);else if("string"==typeof e)e=t.isHexString(e)?l.from(t.padToEven(t.stripHexPrefix(e)),"hex"):l.from(e);else if("number"==typeof e)e=t.intToBuffer(e);else if(null==e)e=l.allocUnsafe(0);else if(s.isBN(e))e=e.toArrayLike(l);else{if(!e.toArray)throw new Error("invalid type");e=l.from(e.toArray())}return e},t.bufferToInt=function(e){return new s(t.toBuffer(e)).toNumber()},t.bufferToHex=function(e){return"0x"+(e=t.toBuffer(e)).toString("hex")},t.fromSigned=function(e){return new s(e).fromTwos(256)},t.toUnsigned=function(e){return l.from(e.toTwos(256).toArray())},t.keccak=function(e,r){return e=t.toBuffer(e),r||(r=256),A("keccak"+r).update(e).digest()},t.keccak256=function(e){return t.keccak(e)},t.sha3=t.keccak,t.sha256=function(e){return e=t.toBuffer(e),u("sha256").update(e).digest()},t.ripemd160=function(e,r){e=t.toBuffer(e);var n=u("rmd160").update(e).digest();return!0===r?t.setLength(n,32):n},t.rlphash=function(e){return t.keccak(a.encode(e))},t.isValidPrivate=function(e){return i.privateKeyVerify(e)},t.isValidPublic=function(e,t){return 64===e.length?i.publicKeyVerify(l.concat([l.from([4]),e])):!!t&&i.publicKeyVerify(e)},t.pubToAddress=t.publicToAddress=function(e,r){return e=t.toBuffer(e),r&&64!==e.length&&(e=i.publicKeyConvert(e,!1).slice(1)),o(64===e.length),t.keccak(e).slice(-20)};var c=t.privateToPublic=function(e){return e=t.toBuffer(e),i.publicKeyCreate(e,!1).slice(1)};t.importPublic=function(e){return 64!==(e=t.toBuffer(e)).length&&(e=i.publicKeyConvert(e,!1).slice(1)),e},t.ecsign=function(e,t){var r=i.sign(e,t),n={};return n.r=r.signature.slice(0,32),n.s=r.signature.slice(32,64),n.v=r.recovery+27,n},t.hashPersonalMessage=function(e){var r=t.toBuffer("Ethereum Signed Message:\n"+e.length.toString());return t.keccak(l.concat([r,e]))},t.ecrecover=function(e,r,n,A){var o=l.concat([t.setLength(n,32),t.setLength(A,32)],64),a=r-27;if(0!==a&&1!==a)throw new Error("Invalid signature v value");var s=i.recover(e,o,a);return i.publicKeyConvert(s,!1).slice(1)},t.toRpcSig=function(e,r,n){if(27!==e&&28!==e)throw new Error("Invalid recovery id");return t.bufferToHex(l.concat([t.setLengthLeft(r,32),t.setLengthLeft(n,32),t.toBuffer(e-27)]))},t.fromRpcSig=function(e){if(65!==(e=t.toBuffer(e)).length)throw new Error("Invalid signature length");var r=e[64];return r<27&&(r+=27),{v:r,r:e.slice(0,32),s:e.slice(32,64)}},t.privateToAddress=function(e){return t.publicToAddress(c(e))},t.isValidAddress=function(e){return/^0x[0-9a-fA-F]{40}$/.test(e)},t.isZeroAddress=function(e){return t.zeroAddress()===t.addHexPrefix(e)},t.toChecksumAddress=function(e){e=t.stripHexPrefix(e).toLowerCase();for(var r=t.keccak(e).toString("hex"),n="0x",A=0;A<e.length;A++)parseInt(r[A],16)>=8?n+=e[A].toUpperCase():n+=e[A];return n},t.isValidChecksumAddress=function(e){return t.isValidAddress(e)&&t.toChecksumAddress(e)===e},t.generateAddress=function(e,r){return e=t.toBuffer(e),r=(r=new s(r)).isZero()?null:l.from(r.toArray()),t.rlphash([e,r]).slice(-20)},t.isPrecompiled=function(e){var r=t.unpad(e);return 1===r.length&&r[0]>=1&&r[0]<=8},t.addHexPrefix=function(e){return"string"!=typeof e?e:t.isHexPrefixed(e)?e:"0x"+e},t.isValidSignature=function(e,t,r,n){var A=new s("7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0",16),i=new s("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",16);return 32===t.length&&32===r.length&&((27===e||28===e)&&(t=new s(t),r=new s(r),!(t.isZero()||t.gt(i)||r.isZero()||r.gt(i))&&(!1!==n||1!==new s(r).cmp(A))))},t.baToJSON=function(e){if(l.isBuffer(e))return"0x"+e.toString("hex");if(e instanceof Array){for(var r=[],n=0;n<e.length;n++)r.push(t.baToJSON(e[n]));return r}},t.defineProperties=function(e,r,A){if(e.raw=[],e._fields=[],e.toJSON=function(r){if(r){var n={};return e._fields.forEach(function(t){n[t]="0x"+e[t].toString("hex")}),n}return t.baToJSON(this.raw)},e.serialize=function(){return a.encode(e.raw)},r.forEach(function(r,n){function A(){return e.raw[n]}function i(A){"00"!==(A=t.toBuffer(A)).toString("hex")||r.allowZero||(A=l.allocUnsafe(0)),r.allowLess&&r.length?(A=t.stripZeros(A),o(r.length>=A.length,"The field "+r.name+" must not have more "+r.length+" bytes")):r.allowZero&&0===A.length||!r.length||o(r.length===A.length,"The field "+r.name+" must have byte length of "+r.length),e.raw[n]=A}e._fields.push(r.name),Object.defineProperty(e,r.name,{enumerable:!0,configurable:!0,get:A,set:i}),r.default&&(e[r.name]=r.default),r.alias&&Object.defineProperty(e,r.alias,{enumerable:!1,configurable:!0,set:i,get:A})}),A)if("string"==typeof A&&(A=l.from(t.stripHexPrefix(A),"hex")),l.isBuffer(A)&&(A=a.decode(A)),Array.isArray(A)){if(A.length>e._fields.length)throw new Error("wrong number of fields in data");A.forEach(function(r,n){e[e._fields[n]]=t.toBuffer(r)})}else{if("object"!==(void 0===A?"undefined":n(A)))throw new Error("invalid data");var i=Object.keys(A);r.forEach(function(t){-1!==i.indexOf(t.name)&&(e[t.name]=A[t.name]),-1!==i.indexOf(t.alias)&&(e[t.alias]=A[t.alias])})}}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A=r(492),i=r(86),o=r(36),a=r(491),s=r(17),u=r(45),l=r(15).Buffer;Object.assign(t,r(493)),t.MAX_INTEGER=new s("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16),t.TWO_POW256=new s("10000000000000000000000000000000000000000000000000000000000000000",16),t.KECCAK256_NULL_S="c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",t.SHA3_NULL_S=t.KECCAK256_NULL_S,t.KECCAK256_NULL=l.from(t.KECCAK256_NULL_S,"hex"),t.SHA3_NULL=t.KECCAK256_NULL,t.KECCAK256_RLP_ARRAY_S="1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",t.SHA3_RLP_ARRAY_S=t.KECCAK256_RLP_ARRAY_S,t.KECCAK256_RLP_ARRAY=l.from(t.KECCAK256_RLP_ARRAY_S,"hex"),t.SHA3_RLP_ARRAY=t.KECCAK256_RLP_ARRAY,t.KECCAK256_RLP_S="56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",t.SHA3_RLP_S=t.KECCAK256_RLP_S,t.KECCAK256_RLP=l.from(t.KECCAK256_RLP_S,"hex"),t.SHA3_RLP=t.KECCAK256_RLP,t.BN=s,t.rlp=a,t.secp256k1=i,t.zeros=function(e){return l.allocUnsafe(e).fill(0)},t.zeroAddress=function(){var e=t.zeros(20);return t.bufferToHex(e)},t.setLengthLeft=t.setLength=function(e,r,n){var A=t.zeros(r);return e=t.toBuffer(e),n?e.length<r?(e.copy(A),A):e.slice(0,r):e.length<r?(e.copy(A,r-e.length),A):e.slice(-r)},t.setLengthRight=function(e,r){return t.setLength(e,r,!0)},t.unpad=t.stripZeros=function(e){for(var r=(e=t.stripHexPrefix(e))[0];e.length>0&&"0"===r.toString();)r=(e=e.slice(1))[0];return e},t.toBuffer=function(e){if(!l.isBuffer(e))if(Array.isArray(e))e=l.from(e);else if("string"==typeof e)e=t.isHexString(e)?l.from(t.padToEven(t.stripHexPrefix(e)),"hex"):l.from(e);else if("number"==typeof e)e=t.intToBuffer(e);else if(null==e)e=l.allocUnsafe(0);else if(s.isBN(e))e=e.toArrayLike(l);else{if(!e.toArray)throw new Error("invalid type");e=l.from(e.toArray())}return e},t.bufferToInt=function(e){return new s(t.toBuffer(e)).toNumber()},t.bufferToHex=function(e){return"0x"+(e=t.toBuffer(e)).toString("hex")},t.fromSigned=function(e){return new s(e).fromTwos(256)},t.toUnsigned=function(e){return l.from(e.toTwos(256).toArray())},t.keccak=function(e,r){return e=t.toBuffer(e),r||(r=256),A("keccak"+r).update(e).digest()},t.keccak256=function(e){return t.keccak(e)},t.sha3=t.keccak,t.sha256=function(e){return e=t.toBuffer(e),u("sha256").update(e).digest()},t.ripemd160=function(e,r){e=t.toBuffer(e);var n=u("rmd160").update(e).digest();return!0===r?t.setLength(n,32):n},t.rlphash=function(e){return t.keccak(a.encode(e))},t.isValidPrivate=function(e){return i.privateKeyVerify(e)},t.isValidPublic=function(e,t){return 64===e.length?i.publicKeyVerify(l.concat([l.from([4]),e])):!!t&&i.publicKeyVerify(e)},t.pubToAddress=t.publicToAddress=function(e,r){return e=t.toBuffer(e),r&&64!==e.length&&(e=i.publicKeyConvert(e,!1).slice(1)),o(64===e.length),t.keccak(e).slice(-20)};var c=t.privateToPublic=function(e){return e=t.toBuffer(e),i.publicKeyCreate(e,!1).slice(1)};t.importPublic=function(e){return 64!==(e=t.toBuffer(e)).length&&(e=i.publicKeyConvert(e,!1).slice(1)),e},t.ecsign=function(e,t){var r=i.sign(e,t),n={};return n.r=r.signature.slice(0,32),n.s=r.signature.slice(32,64),n.v=r.recovery+27,n},t.hashPersonalMessage=function(e){var r=t.toBuffer("Ethereum Signed Message:\n"+e.length.toString());return t.keccak(l.concat([r,e]))},t.ecrecover=function(e,r,n,A){var o=l.concat([t.setLength(n,32),t.setLength(A,32)],64),a=r-27;if(0!==a&&1!==a)throw new Error("Invalid signature v value");var s=i.recover(e,o,a);return i.publicKeyConvert(s,!1).slice(1)},t.toRpcSig=function(e,r,n){if(27!==e&&28!==e)throw new Error("Invalid recovery id");return t.bufferToHex(l.concat([t.setLengthLeft(r,32),t.setLengthLeft(n,32),t.toBuffer(e-27)]))},t.fromRpcSig=function(e){if(65!==(e=t.toBuffer(e)).length)throw new Error("Invalid signature length");var r=e[64];return r<27&&(r+=27),{v:r,r:e.slice(0,32),s:e.slice(32,64)}},t.privateToAddress=function(e){return t.publicToAddress(c(e))},t.isValidAddress=function(e){return/^0x[0-9a-fA-F]{40}$/.test(e)},t.isZeroAddress=function(e){return t.zeroAddress()===t.addHexPrefix(e)},t.toChecksumAddress=function(e){e=t.stripHexPrefix(e).toLowerCase();for(var r=t.keccak(e).toString("hex"),n="0x",A=0;A<e.length;A++)parseInt(r[A],16)>=8?n+=e[A].toUpperCase():n+=e[A];return n},t.isValidChecksumAddress=function(e){return t.isValidAddress(e)&&t.toChecksumAddress(e)===e},t.generateAddress=function(e,r){return e=t.toBuffer(e),r=(r=new s(r)).isZero()?null:l.from(r.toArray()),t.rlphash([e,r]).slice(-20)},t.isPrecompiled=function(e){var r=t.unpad(e);return 1===r.length&&r[0]>=1&&r[0]<=8},t.addHexPrefix=function(e){return"string"!=typeof e?e:t.isHexPrefixed(e)?e:"0x"+e},t.isValidSignature=function(e,t,r,n){var A=new s("7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0",16),i=new s("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",16);return 32===t.length&&32===r.length&&((27===e||28===e)&&(t=new s(t),r=new s(r),!(t.isZero()||t.gt(i)||r.isZero()||r.gt(i))&&(!1!==n||1!==new s(r).cmp(A))))},t.baToJSON=function(e){if(l.isBuffer(e))return"0x"+e.toString("hex");if(e instanceof Array){for(var r=[],n=0;n<e.length;n++)r.push(t.baToJSON(e[n]));return r}},t.defineProperties=function(e,r,A){if(e.raw=[],e._fields=[],e.toJSON=function(r){if(r){var n={};return e._fields.forEach(function(t){n[t]="0x"+e[t].toString("hex")}),n}return t.baToJSON(this.raw)},e.serialize=function(){return a.encode(e.raw)},r.forEach(function(r,n){function A(){return e.raw[n]}function i(A){"00"!==(A=t.toBuffer(A)).toString("hex")||r.allowZero||(A=l.allocUnsafe(0)),r.allowLess&&r.length?(A=t.stripZeros(A),o(r.length>=A.length,"The field "+r.name+" must not have more "+r.length+" bytes")):r.allowZero&&0===A.length||!r.length||o(r.length===A.length,"The field "+r.name+" must have byte length of "+r.length),e.raw[n]=A}e._fields.push(r.name),Object.defineProperty(e,r.name,{enumerable:!0,configurable:!0,get:A,set:i}),r.default&&(e[r.name]=r.default),r.alias&&Object.defineProperty(e,r.alias,{enumerable:!1,configurable:!0,set:i,get:A})}),A)if("string"==typeof A&&(A=l.from(t.stripHexPrefix(A),"hex")),l.isBuffer(A)&&(A=a.decode(A)),Array.isArray(A)){if(A.length>e._fields.length)throw new Error("wrong number of fields in data");A.forEach(function(r,n){e[e._fields[n]]=t.toBuffer(r)})}else{if("object"!==(void 0===A?"undefined":n(A)))throw new Error("invalid data");var i=Object.keys(A);r.forEach(function(t){-1!==i.indexOf(t.name)&&(e[t.name]=A[t.name]),-1!==i.indexOf(t.alias)&&(e[t.alias]=A[t.alias])})}}},function(e){e.exports=JSON.parse('{"genesisGasLimit":{"v":5000,"d":"Gas limit of the Genesis block."},"genesisDifficulty":{"v":17179869184,"d":"Difficulty of the Genesis block."},"genesisNonce":{"v":"0x0000000000000042","d":"the geneis nonce"},"genesisExtraData":{"v":"0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa","d":"extra data "},"genesisHash":{"v":"0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3","d":"genesis hash"},"genesisStateRoot":{"v":"0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544","d":"the genesis state root"},"minGasLimit":{"v":5000,"d":"Minimum the gas limit may ever be."},"gasLimitBoundDivisor":{"v":1024,"d":"The bound divisor of the gas limit, used in update calculations."},"minimumDifficulty":{"v":131072,"d":"The minimum that the difficulty may ever be."},"difficultyBoundDivisor":{"v":2048,"d":"The bound divisor of the difficulty, used in the update calculations."},"durationLimit":{"v":13,"d":"The decision boundary on the blocktime duration used to determine whether difficulty should go up or not."},"maximumExtraDataSize":{"v":32,"d":"Maximum size extra data may be after Genesis."},"epochDuration":{"v":30000,"d":"Duration between proof-of-work epochs."},"stackLimit":{"v":1024,"d":"Maximum size of VM stack allowed."},"callCreateDepth":{"v":1024,"d":"Maximum depth of call/create stack."},"tierStepGas":{"v":[0,2,3,5,8,10,20],"d":"Once per operation, for a selection of them."},"expGas":{"v":10,"d":"Once per EXP instuction."},"expByteGas":{"v":10,"d":"Times ceil(log256(exponent)) for the EXP instruction."},"sha3Gas":{"v":30,"d":"Once per SHA3 operation."},"sha3WordGas":{"v":6,"d":"Once per word of the SHA3 operation\'s data."},"sloadGas":{"v":50,"d":"Once per SLOAD operation."},"sstoreSetGas":{"v":20000,"d":"Once per SSTORE operation if the zeroness changes from zero."},"sstoreResetGas":{"v":5000,"d":"Once per SSTORE operation if the zeroness does not change from zero."},"sstoreRefundGas":{"v":15000,"d":"Once per SSTORE operation if the zeroness changes to zero."},"jumpdestGas":{"v":1,"d":"Refunded gas, once per SSTORE operation if the zeroness changes to zero."},"logGas":{"v":375,"d":"Per LOG* operation."},"logDataGas":{"v":8,"d":"Per byte in a LOG* operation\'s data."},"logTopicGas":{"v":375,"d":"Multiplied by the * of the LOG*, per LOG transaction. e.g. LOG0 incurs 0 * c_txLogTopicGas, LOG4 incurs 4 * c_txLogTopicGas."},"createGas":{"v":32000,"d":"Once per CREATE operation & contract-creation transaction."},"callGas":{"v":40,"d":"Once per CALL operation & message call transaction."},"callStipend":{"v":2300,"d":"Free gas given at beginning of call."},"callValueTransferGas":{"v":9000,"d":"Paid for CALL when the value transfor is non-zero."},"callNewAccountGas":{"v":25000,"d":"Paid for CALL when the destination address didn\'t exist prior."},"suicideRefundGas":{"v":24000,"d":"Refunded following a suicide operation."},"memoryGas":{"v":3,"d":"Times the address of the (highest referenced byte in memory + 1). NOTE: referencing happens on read, write and in instructions such as RETURN and CALL."},"quadCoeffDiv":{"v":512,"d":"Divisor for the quadratic particle of the memory cost equation."},"createDataGas":{"v":200,"d":""},"txGas":{"v":21000,"d":"Per transaction. NOTE: Not payable on data of calls between transactions."},"txCreation":{"v":32000,"d":"the cost of creating a contract via tx"},"txDataZeroGas":{"v":4,"d":"Per byte of data attached to a transaction that equals zero. NOTE: Not payable on data of calls between transactions."},"txDataNonZeroGas":{"v":68,"d":"Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions."},"copyGas":{"v":3,"d":"Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added."},"ecrecoverGas":{"v":3000,"d":""},"sha256Gas":{"v":60,"d":""},"sha256WordGas":{"v":12,"d":""},"ripemd160Gas":{"v":600,"d":""},"ripemd160WordGas":{"v":120,"d":""},"identityGas":{"v":15,"d":""},"identityWordGas":{"v":3,"d":""},"minerReward":{"v":"5000000000000000000","d":"the amount a miner get rewarded for mining a block"},"ommerReward":{"v":"625000000000000000","d":"The amount of wei a miner of an uncle block gets for being inculded in the blockchain"},"niblingReward":{"v":"156250000000000000","d":"the amount a miner gets for inculding a uncle"},"homeSteadForkNumber":{"v":1150000,"d":"the block that the Homestead fork started at"},"homesteadRepriceForkNumber":{"v":2463000,"d":"the block that the Homestead Reprice (EIP150) fork started at"},"timebombPeriod":{"v":100000,"d":"Exponential difficulty timebomb period"},"freeBlockPeriod":{"v":2}}')},function(e,t,r){"use strict";const n=r(287),A=r(184),i=r(377),o=r(69),a=r(65),s=r(49),u=r(56);function l(e){if(!a.isEmpty(e)){switch(s.cosmos.defaultCoding){case s.cosmos.coding.bech32:o.Hex.isHex(e.address)&&(e.address=o.Bech32.toBech32(s.cosmos.bech32.accAddr,e.address)),o.Hex.isHex(e.publicKey)&&(e.publicKey=o.Bech32.toBech32(s.cosmos.bech32.accPub,e.publicKey))}return e}}function c(e){switch(e){case s.language.cn:return u.wordlists.chinese_simplified;case s.language.en:return u.wordlists.english;case s.language.jp:return u.wordlists.japanese;case s.language.sp:return u.wordlists.spanish;default:return u.wordlists.english}}e.exports=A(class extends n{create(e){let t=i.create(c(e));return t?l({address:t.address,phrase:t.secret,privateKey:t.privateKey,publicKey:t.publicKey}):t}recover(e,t){let r=i.recover(e,c(t));if(r)return l({address:r.address,phrase:e,privateKey:r.privateKey,publicKey:r.publicKey})}import(e){let t=i.import(e);if(t)return l({address:t.address,phrase:null,privateKey:t.privateKey,publicKey:t.publicKey})}isValidAddress(e){return i.isValidAddress(e)}isValidPrivate(e){return i.isValidPrivate(e)}getAddress(e){let t=o.Hex.hexToBytes(e),r=i.getAddress(t);return r=o.Bech32.toBech32(s.cosmos.bech32.accAddr,r)}})},function(e,t,r){"use strict";const n=r(287),A=r(184),i=r(378),o=r(69),a=r(65),s=r(49),u=r(56);function l(e){if(!a.isEmpty(e)){switch(s.hashgard.defaultCoding){case s.hashgard.coding.bech32:o.Hex.isHex(e.address)&&(e.address=o.Bech32.toBech32(s.hashgard.bech32.accAddr,e.address)),o.Hex.isHex(e.publicKey)&&(e.publicKey=o.Bech32.toBech32(s.hashgard.bech32.accPub,e.publicKey))}return e}}function c(e){switch(e){case s.language.cn:return u.wordlists.chinese_simplified;case s.language.en:return u.wordlists.english;case s.language.jp:return u.wordlists.japanese;case s.language.sp:return u.wordlists.spanish;default:return u.wordlists.english}}e.exports=A(class extends n{create(e){let t=i.create(c(e));return t?l({address:t.address,phrase:t.secret,privateKey:t.privateKey,publicKey:t.publicKey}):t}recover(e,t){let r=i.recover(e,c(t));if(r)return l({address:r.address,phrase:e,privateKey:r.privateKey,publicKey:r.publicKey})}import(e){let t=i.import(e);if(t)return l({address:t.address,phrase:null,privateKey:t.privateKey,publicKey:t.publicKey})}isValidAddress(e){return i.isValidAddress(e)}isValidPrivate(e){return i.isValidPrivate(e)}getAddress(e){let t=o.Hex.hexToBytes(e),r=i.getAddress(t);return r=o.Bech32.toBech32(s.hashgard.bech32.accAddr,r)}})},function(e,t,r){"use strict";const n=r(138).Builder,A=r(184),i=r(1614),o=r(1616),a=r(1617),s=r(376),u=r(69),l=r(49),c=r(65);e.exports=A(class extends n{buildTx(e){let t,r=super.buildParam(e);switch(r.type){case l.iris.tx.transfer.type:t=i.CreateMsgSend(r);break;case l.iris.tx.delegate.type:t=o.CreateMsgDelegate(r);break;case l.iris.tx.undelegate.type:t=o.CreateMsgBeginUnbonding(r);break;case l.iris.tx.redelegate.type:t=o.CreateMsgBeginRedelegate(r);break;case l.iris.tx.withdrawDelegationRewardsAll.type:t=a.CreateMsgWithdrawDelegatorRewardsAll(r);break;case l.iris.tx.withdrawDelegationReward.type:t=a.CreateMsgWithdrawDelegatorReward(r);break;default:throw new Error("not exist tx type")}let n=i.NewStdFee(r.fees,r.gas),A=i.NewStdSignMsg(r.chain_id,r.account_number,r.sequence,n,t,r.memo,r.type);return A.ValidateBasic(),i.NewStdTx(A)}sign(e,t){"string"==typeof e&&(e=JSON.parse(e));let r=s.sign(t,e),n=s.import(t);return{pub_key:u.Hex.hexToBytes(n.publicKey),signature:r}}buildAndSignTx(e,t){let r,n=this.buildTx(e);if((e.mode?e.mode:l.iris.mode.normal)===l.iris.mode.normal){if(c.isEmpty(t))throw new Error("privateKey is  empty");r=this.sign(n.GetSignBytes(),t),n.SetSignature(r)}return n}})},function(e,t,r){"use strict";const n=r(65),A=r(69),i=r(49),o=r(138),a=r(74),s=r(1615),u=r(228);class l{constructor(e,t){this.denom=t,this.amount=e}}class c extends o.Validator{constructor(e,t){super(),this.address=e,this.coins=t}GetSignBytes(){let e={address:this.address,coins:this.coins};return n.sortObjectKeys(e)}ValidateBasic(){if(n.isEmpty(this.address))throw new Error("address is empty");if(n.isEmpty(this.coins))throw new Error("coins is empty")}}class f extends o.Validator{constructor(e,t){super(),this.address=e,this.coins=t}GetSignBytes(){let e={address:this.address,coins:this.coins};return n.sortObjectKeys(e)}ValidateBasic(){if(n.isEmpty(this.address))throw new Error("address is empty");if(n.isEmpty(this.coins))throw new Error("coins is empty")}}class d extends o.Msg{constructor(e,t,r){super(i.iris.tx.transfer.prefix),this.inputs=[new c(e,r)],this.outputs=[new f(t,r)]}GetSignBytes(){let e=[],t=[];this.inputs.forEach(function(t){e.push(t.GetSignBytes())}),this.outputs.forEach(function(e){t.push(e.GetSignBytes())});let r={inputs:e,outputs:t};return n.sortObjectKeys(r)}ValidateBasic(){if(n.isEmpty(this.inputs))throw new Error("sender is  empty");if(n.isEmpty(this.outputs))throw new Error("sender is  empty");this.inputs.forEach(function(e){e.ValidateBasic()}),this.outputs.forEach(function(e){e.ValidateBasic()})}Type(){return i.iris.tx.transfer.prefix}GetMsg(){let e=[],t=[];return this.inputs.forEach(function(t){const n=r(58);let A=n.decode(t.address),i=n.fromWords(A.words);e.push({address:i,coins:t.coins})}),this.outputs.forEach(function(e){const n=r(58);let A=n.decode(e.address),i=n.fromWords(A.words);t.push({address:i,coins:e.coins})}),{input:e,output:t}}GetDisplayContent(){return{i18n_tx_type:"i18n_transfer",i18n_from:this.inputs[0].address,i18n_to:this.outputs[0].address,i18n_amount:this.outputs[0].coins}}}class g{constructor(e,t){this.amount=e,t||(t=i.iris.maxGas),this.gas=t}GetSignBytes(){return n.isEmpty(this.amount)&&(this.amount=[new l("0","")]),{amount:this.amount,gas:this.gas}}}class h extends o.Msg{constructor(e,t,r,n,A,i,o){super(o),this.chain_id=e,this.account_number=t,this.sequence=r,this.fee=n,this.msgs=[A],this.memo=i}GetSignBytes(){let e=[];this.msgs.forEach(function(t){e.push(t.GetSignBytes())});let t={account_number:this.account_number,chain_id:this.chain_id,fee:this.fee.GetSignBytes(),memo:this.memo,msgs:e,sequence:this.sequence};return n.sortObjectKeys(t)}ValidateBasic(){if(n.isEmpty(this.chain_id))throw new Error("chain_id is  empty");if(this.account_number<0)throw new Error("account_number is  empty");if(this.sequence<0)throw new Error("sequence is  empty");this.msgs.forEach(function(e){e.ValidateBasic()})}}class p{constructor(e,t,r,n){this.pub_key=e,this.signature=t,this.account_number=r,this.sequence=n}}class I{constructor(e){this.msgs=e.msgs,this.fee=e.fee,this.signatures=null,this.memo=e.memo,this.signMsg=e}SetSignature(e){"string"==typeof e&&(e=JSON.parse(e));let t=new p(e.pub_key,e.signature,this.signMsg.account_number,this.signMsg.sequence);this.signatures=[t]}SetPubKey(e){if(A.Bech32.isBech32(i.iris.bech32.accPub,e)&&(e=A.Bech32.fromBech32(e)),e=A.Hex.hexToBytes(e),this.signatures&&0!=this.signatures.length)this.signatures[0].pub_key=e;else{let t={pub_key:e};this.SetSignature(t)}}GetData(){let e=[];this.signatures&&this.signatures.forEach(function(t){let r="",A="";t.pub_key.length>33&&(r=t.pub_key.slice(5,t.pub_key.length)),r=u.encode(r),n.isEmpty(t.signature)||(A=u.encode(t.signature)),e.push({pub_key:a.MarshalJSON(i.iris.amino.pubKey,r),signature:A,account_number:n.toString(t.account_number),sequence:n.toString(t.sequence)})});let t=[];this.msgs.forEach(function(e){t.push(a.MarshalJSON(e.type,e))});let r={amount:this.fee.amount,gas:n.toString(this.fee.gas)};return{tx:{msg:t,fee:r,signatures:e,memo:this.memo}}}Hash(){let e=s.encode(this);return{data:u.encode(e.data),hash:e.hash}}GetSignBytes(){return this.signMsg.GetSignBytes()}GetDisplayContent(){let e=this.msgs[0].GetDisplayContent();return e.i18n_fee=this.fee.amount,e}}e.exports=class{static CreateMsgSend(e){let t=[];return n.isEmpty(e.msg.coins)||e.msg.coins.forEach(function(e){t.push({denom:e.denom,amount:n.toString(e.amount)})}),new d(e.from,e.msg.to,t)}static NewStdSignature(e,t,r,n){return new p(e,t,r,n)}static NewStdTx(e){return new I(e)}static NewStdFee(e,t){return new g(e,t)}static NewStdSignMsg(e,t,r,n,A,i,o){return new h(e,t,r,n,A,i,o)}}},function(e,t,r){(function(t){const n=r(924),A=r(74),i=r(49),o=r(69);e.exports=class{static encode(e){let a,s=e.msgs[0],u=s.GetMsg(),l=A.GetRegisterInfo(s.type),c=l.classType,f=c.create(u),d=c.encode(f).finish(),g=e.fee,h=n.irisnet.tx.StdFee.create(g),p=n.irisnet.tx.StdSignature;e.signatures&&(a=[p.create({pubKey:e.signatures[0].pub_key,signature:e.signatures[0].signature,accountNumber:e.signatures[0].account_number,sequence:e.signatures[0].sequence})]);let I=e.memo,B=n.irisnet.tx.StdTx,C=B.create({msgs:[d],fee:h,signatures:a,memo:I}),m=B.encode(C).finish(),y=t.from(A.GetRegisterInfo(i.iris.tx.stdTx.prefix).prefix),Q=t.from(l.prefix),w=t.from("");w=t.concat([w,y]),w=t.concat([w,m.slice(0,1)]);let E=o.Uvarint.decode(m.slice(1)),b=o.Uvarint.encode(Q.length+E.u);w=t.concat([w,b]),w=t.concat([w,Q]),w=t.concat([w,m.slice(E.n+1)]);let v=t.from(o.Uvarint.encode(w.length)),D=t.concat([v,w]);const M=r(72).createHash("sha256");return M.update(D),{data:D,hash:M.digest("hex").substring(0,64).toUpperCase()}}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";const n=r(138),A=r(65),i=r(74),o=r(49);class a extends n.Msg{constructor(e,t,r){super(o.iris.tx.delegate.prefix),this.delegator_addr=e,this.validator_addr=t,this.delegation=r}GetSignBytes(){let e={delegator_addr:this.delegator_addr,validator_addr:this.validator_addr,delegation:this.delegation},t=A.sortObjectKeys(e);return i.MarshalJSON(this.Type(),t)}ValidateBasic(){if(A.isEmpty(this.delegator_addr))throw new Error("delegator_addr is empty");if(A.isEmpty(this.validator_addr))throw new Error("validator_addr is empty");if(A.isEmpty(this.delegation))throw new Error("delegation must great than 0")}Type(){return o.iris.tx.delegate.prefix}GetMsg(){const e=r(58);let t=e.decode(this.delegator_addr),n=e.fromWords(t.words),A=e.decode(this.validator_addr);return{delegatorAddr:n,validatorAddr:e.fromWords(A.words),delegation:this.delegation}}GetDisplayContent(){return{i18n_tx_type:"i18n_delegate",i18n_delegator_addr:this.delegator_addr,i18n_validator_addr:this.validator_addr,i18n_amount:this.delegation}}}class s extends n.Msg{constructor(e,t,r){super(o.iris.tx.undelegate.prefix),this.delegator_addr=e,this.validator_addr=t,this.shares_amount=r}GetSignBytes(){let e={delegator_addr:this.delegator_addr,validator_addr:this.validator_addr,shares_amount:this.shares_amount};return A.sortObjectKeys(e)}ValidateBasic(){if(A.isEmpty(this.delegator_addr))throw new Error("delegator_addr is empty");if(A.isEmpty(this.validator_addr))throw new Error("validator_addr is empty");if(A.isEmpty(this.shares_amount))throw new Error("shares must great than 0")}Type(){return o.iris.tx.undelegate.prefix}GetMsg(){const e=r(58);let t=e.decode(this.delegator_addr),n=e.fromWords(t.words),A=e.decode(this.validator_addr);return{delegatorAddr:n,validatorAddr:e.fromWords(A.words),sharesAmount:this.shares_amount}}GetDisplayContent(){return{i18n_tx_type:"i18n_begin_unbonding",i18n_delegator_addr:this.delegator_addr,i18n_validator_addr:this.validator_addr,i18n_shares_amount:this.shares_amount}}}class u extends n.Msg{constructor(e,t,r,n){super(o.iris.tx.redelegate.prefix),this.delegator_addr=e,this.validator_src_addr=t,this.validator_dst_addr=r,this.shares_amount=n}GetSignBytes(){let e={delegator_addr:this.delegator_addr,validator_src_addr:this.validator_src_addr,validator_dst_addr:this.validator_dst_addr,shares:this.shares_amount};return A.sortObjectKeys(e)}ValidateBasic(){if(A.isEmpty(this.delegator_addr))throw new Error("delegator_addr is empty");if(A.isEmpty(this.validator_src_addr))throw new Error("validator_src_addr is empty");if(A.isEmpty(this.validator_dst_addr))throw new Error("validator_dst_addr is empty");if(A.isEmpty(this.shares_amount))throw new Error("shares_amount is empty")}Type(){return o.iris.tx.redelegate.prefix}GetMsg(){const e=r(58);let t=e.decode(this.delegator_addr),n=e.fromWords(t.words),A=e.decode(this.validator_src_addr),i=e.fromWords(A.words),o=e.decode(this.validator_dst_addr);return{delegatorAddr:n,validatorSrcAddr:i,validatorDstAddr:e.fromWords(o.words),sharesAmount:this.shares_amount}}GetDisplayContent(){return{i18n_tx_type:"i18n_redelegate",i18n_delegator_addr:this.delegator_addr,i18n_validator_src_addr:this.validator_src_addr,i18n_validator_dst_addr:this.validator_dst_addr,i18n_shares_amount:this.shares_amount}}}e.exports=class{static CreateMsgDelegate(e){let t={denom:e.msg.delegation.denom,amount:A.toString(e.msg.delegation.amount)};return new a(e.from,e.msg.validator_addr,t)}static CreateMsgBeginUnbonding(e){let t=l.String(e.msg.shares_amount);return new s(e.from,e.msg.validator_addr,t)}static CreateMsgBeginRedelegate(e){let t=l.String(e.msg.shares_amount);return new u(e.from,e.msg.validator_src_addr,e.msg.validator_dst_addr,t)}};class l{static String(e){return-1===e.indexOf(".")&&(e+=".0000000000"),e}}},function(e,t,r){"use strict";const n=r(138),A=r(65),i=r(74),o=r(49);class a extends n.Msg{constructor(e){super(o.iris.tx.withdrawDelegationRewardsAll.prefix),this.delegator_addr=e}GetSignBytes(){let e={delegator_addr:this.delegator_addr},t=A.sortObjectKeys(e);return i.MarshalJSON(this.Type(),t)}ValidateBasic(){if(A.isEmpty(this.delegator_addr))throw new Error("delegatorAddr is empty")}Type(){return o.iris.tx.withdrawDelegationRewardsAll.prefix}GetMsg(){const e=r(58);let t=e.decode(this.delegator_addr);return{delegatorAddr:e.fromWords(t.words)}}GetDisplayContent(){return{i18n_tx_type:"i18n_rwithdraw_delegation_rewards_all",i18n_delegator_addr:this.delegator_addr}}}class s extends n.Msg{constructor(e,t){super(o.iris.tx.withdrawDelegationReward.prefix),this.delegator_addr=e,this.validator_addr=t}GetSignBytes(){let e={delegator_addr:this.delegator_addr,validator_addr:this.validator_addr},t=A.sortObjectKeys(e);return i.MarshalJSON(this.Type(),t)}ValidateBasic(){if(A.isEmpty(this.delegator_addr))throw new Error("delegatorAddr is empty");if(A.isEmpty(this.validator_addr))throw new Error("validator_addr is empty")}Type(){return o.iris.tx.withdrawDelegationReward.prefix}GetMsg(){const e=r(58);let t=e.decode(this.delegator_addr),n=e.fromWords(t.words),A=e.decode(this.validator_addr);return{delegatorAddr:n,validatorAddr:e.fromWords(A.words)}}GetDisplayContent(){return{i18n_tx_type:"i18n_withdraw_delegation_reward",i18n_delegator_addr:this.delegator_addr,i18n_validator_addr:this.validator_addr}}}e.exports=class{static CreateMsgWithdrawDelegatorRewardsAll(e){return new a(e.from)}static CreateMsgWithdrawDelegatorReward(e){return new s(e.from,e.msg.validator_addr)}}},function(e,t,r){"use strict";(function(t){const n=r(138).Builder,A=r(1619),i=r(496),o=r(184);class a extends n.SignMsg{constructor(e,t,r,n,A){super(),this.gasPrice=e,this.value=t,this.gasLimit=r,this.to=n,this.nonce=A}GetSignBytes(){return this}ValidateBasic(){if(this.gasPrice<=0)throw new Error("gasPrice must be more than 0");if(this.value<=0)throw new Error("value must be more than 0");if(this.gasLimit<=0)throw new Error("gasLimit must be more than 0");if(!this.to||0==this.to.length)throw new Error("to is empty");if(!this.nonce||0==this.to.nonce)throw new Error("nonce is empty")}}e.exports=o(class extends n{buildTx(e){let t=super.buildParam(e),r=new A(1e18),n=new a(t.fees[0].amount,new A(t.coins[0].amount).times(r),21e3,t.to,t.acc.sequence);return n.ValidateBasic(),n}signTx(e,r){let n=new i(e);return n.sign(new t(r)),n.serialize().toString("hex")}buildAndSignTx(e,r){let n=this.buildTx(e),A=new i(n);return A.sign(new t(r)),A.serialize().toString("hex")}})}).call(this,r(8).Buffer)},function(e,t,r){var n;/*! bignumber.js v5.0.0 https://github.com/MikeMcl/bignumber.js/LICENCE */!function(A){"use strict";var i,o=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,a=Math.ceil,s=Math.floor,u=" not a boolean or binary digit",l="rounding mode",c="number type has more than 15 significant digits",f="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_",d=1e14,g=14,h=9007199254740991,p=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],I=1e7,B=1e9;function C(e){var t=0|e;return e>0||e===t?t:t-1}function m(e){for(var t,r,n=1,A=e.length,i=e[0]+"";n<A;){for(t=e[n++]+"",r=g-t.length;r--;t="0"+t);i+=t}for(A=i.length;48===i.charCodeAt(--A););return i.slice(0,A+1||1)}function y(e,t){var r,n,A=e.c,i=t.c,o=e.s,a=t.s,s=e.e,u=t.e;if(!o||!a)return null;if(r=A&&!A[0],n=i&&!i[0],r||n)return r?n?0:-a:o;if(o!=a)return o;if(r=o<0,n=s==u,!A||!i)return n?0:!A^r?1:-1;if(!n)return s>u^r?1:-1;for(a=(s=A.length)<(u=i.length)?s:u,o=0;o<a;o++)if(A[o]!=i[o])return A[o]>i[o]^r?1:-1;return s==u?0:s>u^r?1:-1}function Q(e,t,r){return(e=D(e))>=t&&e<=r}function w(e){return"[object Array]"==Object.prototype.toString.call(e)}function E(e,t,r){for(var n,A,i=[0],o=0,a=e.length;o<a;){for(A=i.length;A--;i[A]*=t);for(i[n=0]+=f.indexOf(e.charAt(o++));n<i.length;n++)i[n]>r-1&&(null==i[n+1]&&(i[n+1]=0),i[n+1]+=i[n]/r|0,i[n]%=r)}return i.reverse()}function b(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function v(e,t){var r,n;if(t<0){for(n="0.";++t;n+="0");e=n+e}else if(++t>(r=e.length)){for(n="0",t-=r;--t;n+="0");e+=n}else t<r&&(e=e.slice(0,t)+"."+e.slice(t));return e}function D(e){return(e=parseFloat(e))<0?a(e):s(e)}(i=function e(t){var r,n,A,i,M,k,_,S,N=0,F=q.prototype,x=new q(1),G=20,H=4,U=-7,Y=21,L=-1e7,O=1e7,K=!0,P=Z,R=!1,T=1,J=0,j={decimalSeparator:".",groupSeparator:",",groupSize:3,secondaryGroupSize:0,fractionGroupSeparator:" ",fractionGroupSize:0};function q(e,t){var r,A,i,a,u,l,d=this;if(!(d instanceof q))return new q(e,t);if(null!=t&&P(t,2,64,N,"base")){if(l=e+"",10==(t|=0))return ee(d=new q(e instanceof q?e:l),G+d.e+1,H);if((a="number"==typeof e)&&0*e!=0||!new RegExp("^-?"+(r="["+f.slice(0,t)+"]+")+"(?:\\."+r+")?$",t<37?"i":"").test(l))return n(d,l,a,t);a?(d.s=1/e<0?(l=l.slice(1),-1):1,K&&l.replace(/^0\.0*|\./,"").length>15&&$(N,c,e),a=!1):d.s=45===l.charCodeAt(0)?(l=l.slice(1),-1):1,l=V(l,10,t,d.s)}else{if(e instanceof q)return d.s=e.s,d.e=e.e,d.c=(e=e.c)?e.slice():e,void(N=0);if((a="number"==typeof e)&&0*e==0){if(d.s=1/e<0?(e=-e,-1):1,e===~~e){for(A=0,i=e;i>=10;i/=10,A++);return d.e=A,d.c=[e],void(N=0)}l=e+""}else{if(!o.test(l=e+""))return n(d,l,a);d.s=45===l.charCodeAt(0)?(l=l.slice(1),-1):1}}for((A=l.indexOf("."))>-1&&(l=l.replace(".","")),(i=l.search(/e/i))>0?(A<0&&(A=i),A+=+l.slice(i+1),l=l.substring(0,i)):A<0&&(A=l.length),i=0;48===l.charCodeAt(i);i++);for(u=l.length;48===l.charCodeAt(--u););if(l=l.slice(i,u+1))if(u=l.length,a&&K&&u>15&&(e>h||e!==s(e))&&$(N,c,d.s*e),(A=A-i-1)>O)d.c=d.e=null;else if(A<L)d.c=[d.e=0];else{if(d.e=A,d.c=[],i=(A+1)%g,A<0&&(i+=g),i<u){for(i&&d.c.push(+l.slice(0,i)),u-=g;i<u;)d.c.push(+l.slice(i,i+=g));l=l.slice(i),i=g-l.length}else i-=u;for(;i--;l+="0");d.c.push(+l)}else d.c=[d.e=0];N=0}function V(e,t,n,A){var i,o,a,s,u,l,c,d=e.indexOf("."),g=G,h=H;for(n<37&&(e=e.toLowerCase()),d>=0&&(a=J,J=0,e=e.replace(".",""),u=(c=new q(n)).pow(e.length-d),J=a,c.c=E(v(m(u.c),u.e),10,t),c.e=c.c.length),o=a=(l=E(e,n,t)).length;0==l[--a];l.pop());if(!l[0])return"0";if(d<0?--o:(u.c=l,u.e=o,u.s=A,l=(u=r(u,c,g,h,t)).c,s=u.r,o=u.e),d=l[i=o+g+1],a=t/2,s=s||i<0||null!=l[i+1],s=h<4?(null!=d||s)&&(0==h||h==(u.s<0?3:2)):d>a||d==a&&(4==h||s||6==h&&1&l[i-1]||h==(u.s<0?8:7)),i<1||!l[0])e=s?v("1",-g):"0";else{if(l.length=i,s)for(--t;++l[--i]>t;)l[i]=0,i||(++o,l=[1].concat(l));for(a=l.length;!l[--a];);for(d=0,e="";d<=a;e+=f.charAt(l[d++]));e=v(e,o)}return e}function W(e,t,r,n){var A,i,o,a,s;if(r=null!=r&&P(r,0,8,n,l)?0|r:H,!e.c)return e.toString();if(A=e.c[0],o=e.e,null==t)s=m(e.c),s=19==n||24==n&&o<=U?b(s,o):v(s,o);else if(i=(e=ee(new q(e),t,r)).e,a=(s=m(e.c)).length,19==n||24==n&&(t<=i||i<=U)){for(;a<t;s+="0",a++);s=b(s,i)}else if(t-=o,s=v(s,i),i+1>a){if(--t>0)for(s+=".";t--;s+="0");}else if((t+=i-a)>0)for(i+1==a&&(s+=".");t--;s+="0");return e.s<0&&A?"-"+s:s}function z(e,t){var r,n,A=0;for(w(e[0])&&(e=e[0]),r=new q(e[0]);++A<e.length;){if(!(n=new q(e[A])).s){r=n;break}t.call(r,n)&&(r=n)}return r}function Z(e,t,r,n,A){return(e<t||e>r||e!=D(e))&&$(n,(A||"decimal places")+(e<t||e>r?" out of range":" not an integer"),e),!0}function X(e,t,r){for(var n=1,A=t.length;!t[--A];t.pop());for(A=t[0];A>=10;A/=10,n++);return(r=n+r*g-1)>O?e.c=e.e=null:r<L?e.c=[e.e=0]:(e.e=r,e.c=t),e}function $(e,t,r){var n=new Error(["new BigNumber","cmp","config","div","divToInt","eq","gt","gte","lt","lte","minus","mod","plus","precision","random","round","shift","times","toDigits","toExponential","toFixed","toFormat","toFraction","pow","toPrecision","toString","BigNumber"][e]+"() "+t+": "+r);throw n.name="BigNumber Error",N=0,n}function ee(e,t,r,n){var A,i,o,u,l,c,f,h=e.c,I=p;if(h){e:{for(A=1,u=h[0];u>=10;u/=10,A++);if((i=t-A)<0)i+=g,o=t,f=(l=h[c=0])/I[A-o-1]%10|0;else if((c=a((i+1)/g))>=h.length){if(!n)break e;for(;h.length<=c;h.push(0));l=f=0,A=1,o=(i%=g)-g+1}else{for(l=u=h[c],A=1;u>=10;u/=10,A++);f=(o=(i%=g)-g+A)<0?0:l/I[A-o-1]%10|0}if(n=n||t<0||null!=h[c+1]||(o<0?l:l%I[A-o-1]),n=r<4?(f||n)&&(0==r||r==(e.s<0?3:2)):f>5||5==f&&(4==r||n||6==r&&(i>0?o>0?l/I[A-o]:0:h[c-1])%10&1||r==(e.s<0?8:7)),t<1||!h[0])return h.length=0,n?(t-=e.e+1,h[0]=I[(g-t%g)%g],e.e=-t||0):h[0]=e.e=0,e;if(0==i?(h.length=c,u=1,c--):(h.length=c+1,u=I[g-i],h[c]=o>0?s(l/I[A-o]%I[o])*u:0),n)for(;;){if(0==c){for(i=1,o=h[0];o>=10;o/=10,i++);for(o=h[0]+=u,u=1;o>=10;o/=10,u++);i!=u&&(e.e++,h[0]==d&&(h[0]=1));break}if(h[c]+=u,h[c]!=d)break;h[c--]=0,u=1}for(i=h.length;0===h[--i];h.pop());}e.e>O?e.c=e.e=null:e.e<L&&(e.c=[e.e=0])}return e}return q.another=e,q.ROUND_UP=0,q.ROUND_DOWN=1,q.ROUND_CEIL=2,q.ROUND_FLOOR=3,q.ROUND_HALF_UP=4,q.ROUND_HALF_DOWN=5,q.ROUND_HALF_EVEN=6,q.ROUND_HALF_CEIL=7,q.ROUND_HALF_FLOOR=8,q.EUCLID=9,q.config=q.set=function(){var e,t,r=0,n={},A=arguments,i=A[0],o=i&&"object"==typeof i?function(){if(i.hasOwnProperty(t))return null!=(e=i[t])}:function(){if(A.length>r)return null!=(e=A[r++])};return o(t="DECIMAL_PLACES")&&P(e,0,B,2,t)&&(G=0|e),n[t]=G,o(t="ROUNDING_MODE")&&P(e,0,8,2,t)&&(H=0|e),n[t]=H,o(t="EXPONENTIAL_AT")&&(w(e)?P(e[0],-B,0,2,t)&&P(e[1],0,B,2,t)&&(U=0|e[0],Y=0|e[1]):P(e,-B,B,2,t)&&(U=-(Y=0|(e<0?-e:e)))),n[t]=[U,Y],o(t="RANGE")&&(w(e)?P(e[0],-B,-1,2,t)&&P(e[1],1,B,2,t)&&(L=0|e[0],O=0|e[1]):P(e,-B,B,2,t)&&(0|e?L=-(O=0|(e<0?-e:e)):K&&$(2,t+" cannot be zero",e))),n[t]=[L,O],o(t="ERRORS")&&(e===!!e||1===e||0===e?(N=0,P=(K=!!e)?Z:Q):K&&$(2,t+u,e)),n[t]=K,o(t="CRYPTO")&&(!0===e||!1===e||1===e||0===e?e?!(e="undefined"==typeof crypto)&&crypto&&(crypto.getRandomValues||crypto.randomBytes)?R=!0:K?$(2,"crypto unavailable",e?void 0:crypto):R=!1:R=!1:K&&$(2,t+u,e)),n[t]=R,o(t="MODULO_MODE")&&P(e,0,9,2,t)&&(T=0|e),n[t]=T,o(t="POW_PRECISION")&&P(e,0,B,2,t)&&(J=0|e),n[t]=J,o(t="FORMAT")&&("object"==typeof e?j=e:K&&$(2,t+" not an object",e)),n[t]=j,n},q.max=function(){return z(arguments,F.lt)},q.min=function(){return z(arguments,F.gt)},q.random=(A=9007199254740992*Math.random()&2097151?function(){return s(9007199254740992*Math.random())}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var t,r,n,i,o,u=0,l=[],c=new q(x);if(e=null!=e&&P(e,0,B,14)?0|e:G,i=a(e/g),R)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(i*=2));u<i;)(o=131072*t[u]+(t[u+1]>>>11))>=9e15?(r=crypto.getRandomValues(new Uint32Array(2)),t[u]=r[0],t[u+1]=r[1]):(l.push(o%1e14),u+=2);u=i/2}else if(crypto.randomBytes){for(t=crypto.randomBytes(i*=7);u<i;)(o=281474976710656*(31&t[u])+1099511627776*t[u+1]+4294967296*t[u+2]+16777216*t[u+3]+(t[u+4]<<16)+(t[u+5]<<8)+t[u+6])>=9e15?crypto.randomBytes(7).copy(t,u):(l.push(o%1e14),u+=7);u=i/7}else R=!1,K&&$(14,"crypto unavailable",crypto);if(!R)for(;u<i;)(o=A())<9e15&&(l[u++]=o%1e14);for(i=l[--u],e%=g,i&&e&&(o=p[g-e],l[u]=s(i/o)*o);0===l[u];l.pop(),u--);if(u<0)l=[n=0];else{for(n=-1;0===l[0];l.splice(0,1),n-=g);for(u=1,o=l[0];o>=10;o/=10,u++);u<g&&(n-=g-u)}return c.e=n,c.c=l,c}),r=function(){function e(e,t,r){var n,A,i,o,a=0,s=e.length,u=t%I,l=t/I|0;for(e=e.slice();s--;)a=((A=u*(i=e[s]%I)+(n=l*i+(o=e[s]/I|0)*u)%I*I+a)/r|0)+(n/I|0)+l*o,e[s]=A%r;return a&&(e=[a].concat(e)),e}function t(e,t,r,n){var A,i;if(r!=n)i=r>n?1:-1;else for(A=i=0;A<r;A++)if(e[A]!=t[A]){i=e[A]>t[A]?1:-1;break}return i}function r(e,t,r,n){for(var A=0;r--;)e[r]-=A,A=e[r]<t[r]?1:0,e[r]=A*n+e[r]-t[r];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(n,A,i,o,a){var u,l,c,f,h,p,I,B,m,y,Q,w,E,b,v,D,M,k=n.s==A.s?1:-1,_=n.c,S=A.c;if(!(_&&_[0]&&S&&S[0]))return new q(n.s&&A.s&&(_?!S||_[0]!=S[0]:S)?_&&0==_[0]||!S?0*k:k/0:NaN);for(m=(B=new q(k)).c=[],k=i+(l=n.e-A.e)+1,a||(a=d,l=C(n.e/g)-C(A.e/g),k=k/g|0),c=0;S[c]==(_[c]||0);c++);if(S[c]>(_[c]||0)&&l--,k<0)m.push(1),f=!0;else{for(b=_.length,D=S.length,c=0,k+=2,(h=s(a/(S[0]+1)))>1&&(S=e(S,h,a),_=e(_,h,a),D=S.length,b=_.length),E=D,Q=(y=_.slice(0,D)).length;Q<D;y[Q++]=0);M=S.slice(),M=[0].concat(M),v=S[0],S[1]>=a/2&&v++;do{if(h=0,(u=t(S,y,D,Q))<0){if(w=y[0],D!=Q&&(w=w*a+(y[1]||0)),(h=s(w/v))>1)for(h>=a&&(h=a-1),I=(p=e(S,h,a)).length,Q=y.length;1==t(p,y,I,Q);)h--,r(p,D<I?M:S,I,a),I=p.length,u=1;else 0==h&&(u=h=1),I=(p=S.slice()).length;if(I<Q&&(p=[0].concat(p)),r(y,p,Q,a),Q=y.length,-1==u)for(;t(S,y,D,Q)<1;)h++,r(y,D<Q?M:S,Q,a),Q=y.length}else 0===u&&(h++,y=[0]);m[c++]=h,y[0]?y[Q++]=_[E]||0:(y=[_[E]],Q=1)}while((E++<b||null!=y[0])&&k--);f=null!=y[0],m[0]||m.splice(0,1)}if(a==d){for(c=1,k=m[0];k>=10;k/=10,c++);ee(B,i+(B.e=c+l*g-1)+1,o,f)}else B.e=l,B.r=+f;return B}}(),i=/^(-?)0([xbo])(?=\w[\w.]*$)/i,M=/^([^.]+)\.$/,k=/^\.([^.]+)$/,_=/^-?(Infinity|NaN)$/,S=/^\s*\+(?=[\w.])|^\s+|\s+$/g,n=function(e,t,r,n){var A,o=r?t:t.replace(S,"");if(_.test(o))e.s=isNaN(o)?null:o<0?-1:1;else{if(!r&&(o=o.replace(i,function(e,t,r){return A="x"==(r=r.toLowerCase())?16:"b"==r?2:8,n&&n!=A?e:t}),n&&(A=n,o=o.replace(M,"$1").replace(k,"0.$1")),t!=o))return new q(o,A);K&&$(N,"not a"+(n?" base "+n:"")+" number",t),e.s=null}e.c=e.e=null,N=0},F.absoluteValue=F.abs=function(){var e=new q(this);return e.s<0&&(e.s=1),e},F.ceil=function(){return ee(new q(this),this.e+1,2)},F.comparedTo=F.cmp=function(e,t){return N=1,y(this,new q(e,t))},F.decimalPlaces=F.dp=function(){var e,t,r=this.c;if(!r)return null;if(e=((t=r.length-1)-C(this.e/g))*g,t=r[t])for(;t%10==0;t/=10,e--);return e<0&&(e=0),e},F.dividedBy=F.div=function(e,t){return N=3,r(this,new q(e,t),G,H)},F.dividedToIntegerBy=F.divToInt=function(e,t){return N=4,r(this,new q(e,t),0,1)},F.equals=F.eq=function(e,t){return N=5,0===y(this,new q(e,t))},F.floor=function(){return ee(new q(this),this.e+1,3)},F.greaterThan=F.gt=function(e,t){return N=6,y(this,new q(e,t))>0},F.greaterThanOrEqualTo=F.gte=function(e,t){return N=7,1===(t=y(this,new q(e,t)))||0===t},F.isFinite=function(){return!!this.c},F.isInteger=F.isInt=function(){return!!this.c&&C(this.e/g)>this.c.length-2},F.isNaN=function(){return!this.s},F.isNegative=F.isNeg=function(){return this.s<0},F.isZero=function(){return!!this.c&&0==this.c[0]},F.lessThan=F.lt=function(e,t){return N=8,y(this,new q(e,t))<0},F.lessThanOrEqualTo=F.lte=function(e,t){return N=9,-1===(t=y(this,new q(e,t)))||0===t},F.minus=F.sub=function(e,t){var r,n,A,i,o=this,a=o.s;if(N=10,t=(e=new q(e,t)).s,!a||!t)return new q(NaN);if(a!=t)return e.s=-t,o.plus(e);var s=o.e/g,u=e.e/g,l=o.c,c=e.c;if(!s||!u){if(!l||!c)return l?(e.s=-t,e):new q(c?o:NaN);if(!l[0]||!c[0])return c[0]?(e.s=-t,e):new q(l[0]?o:3==H?-0:0)}if(s=C(s),u=C(u),l=l.slice(),a=s-u){for((i=a<0)?(a=-a,A=l):(u=s,A=c),A.reverse(),t=a;t--;A.push(0));A.reverse()}else for(n=(i=(a=l.length)<(t=c.length))?a:t,a=t=0;t<n;t++)if(l[t]!=c[t]){i=l[t]<c[t];break}if(i&&(A=l,l=c,c=A,e.s=-e.s),(t=(n=c.length)-(r=l.length))>0)for(;t--;l[r++]=0);for(t=d-1;n>a;){if(l[--n]<c[n]){for(r=n;r&&!l[--r];l[r]=t);--l[r],l[n]+=d}l[n]-=c[n]}for(;0==l[0];l.splice(0,1),--u);return l[0]?X(e,l,u):(e.s=3==H?-1:1,e.c=[e.e=0],e)},F.modulo=F.mod=function(e,t){var n,A,i=this;return N=11,e=new q(e,t),!i.c||!e.s||e.c&&!e.c[0]?new q(NaN):!e.c||i.c&&!i.c[0]?new q(i):(9==T?(A=e.s,e.s=1,n=r(i,e,0,3),e.s=A,n.s*=A):n=r(i,e,0,T),i.minus(n.times(e)))},F.negated=F.neg=function(){var e=new q(this);return e.s=-e.s||null,e},F.plus=F.add=function(e,t){var r,n=this,A=n.s;if(N=12,t=(e=new q(e,t)).s,!A||!t)return new q(NaN);if(A!=t)return e.s=-t,n.minus(e);var i=n.e/g,o=e.e/g,a=n.c,s=e.c;if(!i||!o){if(!a||!s)return new q(A/0);if(!a[0]||!s[0])return s[0]?e:new q(a[0]?n:0*A)}if(i=C(i),o=C(o),a=a.slice(),A=i-o){for(A>0?(o=i,r=s):(A=-A,r=a),r.reverse();A--;r.push(0));r.reverse()}for((A=a.length)-(t=s.length)<0&&(r=s,s=a,a=r,t=A),A=0;t;)A=(a[--t]=a[t]+s[t]+A)/d|0,a[t]=d===a[t]?0:a[t]%d;return A&&(a=[A].concat(a),++o),X(e,a,o)},F.precision=F.sd=function(e){var t,r,n=this,A=n.c;if(null!=e&&e!==!!e&&1!==e&&0!==e&&(K&&$(13,"argument"+u,e),e!=!!e&&(e=null)),!A)return null;if(t=(r=A.length-1)*g+1,r=A[r]){for(;r%10==0;r/=10,t--);for(r=A[0];r>=10;r/=10,t++);}return e&&n.e+1>t&&(t=n.e+1),t},F.round=function(e,t){var r=new q(this);return(null==e||P(e,0,B,15))&&ee(r,~~e+this.e+1,null!=t&&P(t,0,8,15,l)?0|t:H),r},F.shift=function(e){var t=this;return P(e,-h,h,16,"argument")?t.times("1e"+D(e)):new q(t.c&&t.c[0]&&(e<-h||e>h)?t.s*(e<0?0:1/0):t)},F.squareRoot=F.sqrt=function(){var e,t,n,A,i,o=this,a=o.c,s=o.s,u=o.e,l=G+4,c=new q("0.5");if(1!==s||!a||!a[0])return new q(!s||s<0&&(!a||a[0])?NaN:a?o:1/0);if(0==(s=Math.sqrt(+o))||s==1/0?(((t=m(a)).length+u)%2==0&&(t+="0"),s=Math.sqrt(t),u=C((u+1)/2)-(u<0||u%2),n=new q(t=s==1/0?"1e"+u:(t=s.toExponential()).slice(0,t.indexOf("e")+1)+u)):n=new q(s+""),n.c[0])for((s=(u=n.e)+l)<3&&(s=0);;)if(i=n,n=c.times(i.plus(r(o,i,l,1))),m(i.c).slice(0,s)===(t=m(n.c)).slice(0,s)){if(n.e<u&&--s,"9999"!=(t=t.slice(s-3,s+1))&&(A||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(ee(n,n.e+G+2,1),e=!n.times(n).eq(o));break}if(!A&&(ee(i,i.e+G+2,0),i.times(i).eq(o))){n=i;break}l+=4,s+=4,A=1}return ee(n,n.e+G+1,H,e)},F.times=F.mul=function(e,t){var r,n,A,i,o,a,s,u,l,c,f,h,p,B,m,y=this,Q=y.c,w=(N=17,e=new q(e,t)).c;if(!(Q&&w&&Q[0]&&w[0]))return!y.s||!e.s||Q&&!Q[0]&&!w||w&&!w[0]&&!Q?e.c=e.e=e.s=null:(e.s*=y.s,Q&&w?(e.c=[0],e.e=0):e.c=e.e=null),e;for(n=C(y.e/g)+C(e.e/g),e.s*=y.s,(s=Q.length)<(c=w.length)&&(p=Q,Q=w,w=p,A=s,s=c,c=A),A=s+c,p=[];A--;p.push(0));for(B=d,m=I,A=c;--A>=0;){for(r=0,f=w[A]%m,h=w[A]/m|0,i=A+(o=s);i>A;)r=((u=f*(u=Q[--o]%m)+(a=h*u+(l=Q[o]/m|0)*f)%m*m+p[i]+r)/B|0)+(a/m|0)+h*l,p[i--]=u%B;p[i]=r}return r?++n:p.splice(0,1),X(e,p,n)},F.toDigits=function(e,t){var r=new q(this);return e=null!=e&&P(e,1,B,18,"precision")?0|e:null,t=null!=t&&P(t,0,8,18,l)?0|t:H,e?ee(r,e,t):r},F.toExponential=function(e,t){return W(this,null!=e&&P(e,0,B,19)?1+~~e:null,t,19)},F.toFixed=function(e,t){return W(this,null!=e&&P(e,0,B,20)?~~e+this.e+1:null,t,20)},F.toFormat=function(e,t){var r=W(this,null!=e&&P(e,0,B,21)?~~e+this.e+1:null,t,21);if(this.c){var n,A=r.split("."),i=+j.groupSize,o=+j.secondaryGroupSize,a=j.groupSeparator,s=A[0],u=A[1],l=this.s<0,c=l?s.slice(1):s,f=c.length;if(o&&(n=i,i=o,o=n,f-=n),i>0&&f>0){for(n=f%i||i,s=c.substr(0,n);n<f;n+=i)s+=a+c.substr(n,i);o>0&&(s+=a+c.slice(n)),l&&(s="-"+s)}r=u?s+j.decimalSeparator+((o=+j.fractionGroupSize)?u.replace(new RegExp("\\d{"+o+"}\\B","g"),"$&"+j.fractionGroupSeparator):u):s}return r},F.toFraction=function(e){var t,n,A,i,o,a,s,u,l,c=K,f=this,d=f.c,h=new q(x),I=n=new q(x),B=s=new q(x);if(null!=e&&(K=!1,a=new q(e),K=c,(c=a.isInt())&&!a.lt(x)||(K&&$(22,"max denominator "+(c?"out of range":"not an integer"),e),e=!c&&a.c&&ee(a,a.e+1,1).gte(x)?a:null)),!d)return f.toString();for(l=m(d),i=h.e=l.length-f.e-1,h.c[0]=p[(o=i%g)<0?g+o:o],e=!e||a.cmp(h)>0?i>0?h:I:a,o=O,O=1/0,a=new q(l),s.c[0]=0;u=r(a,h,0,1),1!=(A=n.plus(u.times(B))).cmp(e);)n=B,B=A,I=s.plus(u.times(A=I)),s=A,h=a.minus(u.times(A=h)),a=A;return A=r(e.minus(n),B,0,1),s=s.plus(A.times(I)),n=n.plus(A.times(B)),s.s=I.s=f.s,t=r(I,B,i*=2,H).minus(f).abs().cmp(r(s,n,i,H).minus(f).abs())<1?[I.toString(),B.toString()]:[s.toString(),n.toString()],O=o,t},F.toNumber=function(){return+this},F.toPower=F.pow=function(e,t){var r,n,A,i=s(e<0?-e:+e),o=this;if(null!=t&&(N=23,t=new q(t)),!P(e,-h,h,23,"exponent")&&(!isFinite(e)||i>h&&(e/=0)||parseFloat(e)!=e&&!(e=NaN))||0==e)return r=Math.pow(+o,e),new q(t?r%t:r);for(t?e>1&&o.gt(x)&&o.isInt()&&t.gt(x)&&t.isInt()?o=o.mod(t):(A=t,t=null):J&&(r=a(J/g+2)),n=new q(x);;){if(i%2){if(!(n=n.times(o)).c)break;r?n.c.length>r&&(n.c.length=r):t&&(n=n.mod(t))}if(!(i=s(i/2)))break;o=o.times(o),r?o.c&&o.c.length>r&&(o.c.length=r):t&&(o=o.mod(t))}return t?n:(e<0&&(n=x.div(n)),A?n.mod(A):r?ee(n,J,H):n)},F.toPrecision=function(e,t){return W(this,null!=e&&P(e,1,B,24,"precision")?0|e:null,t,24)},F.toString=function(e){var t,r=this,n=r.s,A=r.e;return null===A?n?(t="Infinity",n<0&&(t="-"+t)):t="NaN":(t=m(r.c),t=null!=e&&P(e,2,64,25,"base")?V(v(t,A),0|e,10,n):A<=U||A>=Y?b(t,A):v(t,A),n<0&&r.c[0]&&(t="-"+t)),t},F.truncated=F.trunc=function(){return ee(new q(this),this.e+1,1)},F.valueOf=F.toJSON=function(){var e,t=this,r=t.e;return null===r?t.toString():(e=m(t.c),e=r<=U||r>=Y?b(e,r):v(e,r),t.s<0?"-"+e:e)},F.isBigNumber=!0,null!=t&&q.config(t),q}()).default=i.BigNumber=i,void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)}()},function(e,t,r){"use strict";const n=r(138).Builder,A=r(184),i=r(1621),o=r(1622),a=r(1623),s=r(377),u=r(69),l=r(49),c=r(1624);e.exports=A(class extends n{buildTx(e){let t,r=super.buildParam(e);switch(r.type){case l.cosmos.tx.transfer.type:t=i.create(r);break;case l.iris.tx.delegate.type:t=o.createMsgDelegate(r);break;case l.cosmos.tx.undelegate.type:t=o.createMsgUndelegate(r);break;case l.cosmos.tx.beginRedelegate.type:t=o.createMsgBeginRedelegate(r);break;case l.cosmos.tx.setWithdrawAddress.type:t=a.CreateMsgSetWithdrawAddress(r);break;case l.cosmos.tx.withdrawDelegatorReward.type:t=a.CreateMsgWithdrawDelegatorReward(r);break;case l.cosmos.tx.withdrawValidatorCommission.type:t=a.CreateMsgWithdrawValidatorCommission(r);break;default:throw new Error("not exist tx type")}return c.create(r,t)}sign(e,t){"string"==typeof e&&(e=JSON.parse(e));let r=s.sign(t,e),n=s.import(t);return{pub_key:u.Hex.hexToBytes(n.publicKey),signature:r}}buildAndSignTx(e,t){let r,n=this.buildTx(e);return r=this.sign(n.GetSignBytes(),t),n.SetSignature(r),n}})},function(e,t,r){"use strict";const n=r(65),A=r(49),i=r(74),o=r(229),a=r(58),s=o.cosmos.MsgSend;s.prototype.GetSignBytes=function(){let e={from_address:a.encode(A.cosmos.bech32.accAddr,this.FromAddress),to_address:a.encode(A.cosmos.bech32.accAddr,this.ToAddress),amount:this.Amount},t=n.sortObjectKeys(e);return i.MarshalJSON(this.type,t)},s.prototype.ValidateBasic=function(){if(n.isEmpty(this.FromAddress))throw new Error("sender is  empty");if(n.isEmpty(this.ToAddress))throw new Error("sender is  empty")},s.prototype.GetMsg=function(){const e=r(58);return{FromAddress:e.fromWords(this.FromAddress),ToAddress:e.fromWords(this.ToAddress),Amount:this.Amount}},s.prototype.type=A.cosmos.tx.transfer.prefix,s.prototype.GetDisplayContent=function(){return{i18n_tx_type:"i18n_transfer",i18n_from:a.encode(A.cosmos.bech32.accAddr,this.FromAddress),i18n_to:a.encode(A.cosmos.bech32.accAddr,this.ToAddress),i18n_amount:this.Amount}},s.prototype.toJSON=function(){return{FromAddress:a.encode(A.cosmos.bech32.accAddr,this.FromAddress),ToAddress:a.encode(A.cosmos.bech32.accAddr,this.ToAddress),Amount:this.Amount}},e.exports=class{static create(e){let t=[];n.isEmpty(e.msg.coins)||e.msg.coins.forEach(function(e){t.push({denom:e.denom,amount:n.toString(e.amount)})});let r=a.decode(e.from).words,A=a.decode(e.msg.to).words;return new s({FromAddress:r,ToAddress:A,Amount:t})}}},function(e,t,r){const n=r(229),A=r(74),i=r(65),o=r(49),a=r(58),s=n.cosmos.MsgDelegate,u=n.cosmos.MsgUndelegate,l=n.cosmos.MsgBeginRedelegate;s.prototype.type=o.cosmos.tx.delegate.prefix,s.prototype.GetSignBytes=function(){let e={delegator_address:a.encode(o.cosmos.bech32.accAddr,this.DelegatorAddress),validator_address:a.encode(o.cosmos.bech32.valAddr,this.ValidatorAddress),amount:this.Amount},t=i.sortObjectKeys(e);return A.MarshalJSON(this.type,t)},s.prototype.ValidateBasic=function(){if(i.isEmpty(this.DelegatorAddress))throw new Error("delegatorAddr is  empty");if(i.isEmpty(this.ValidatorAddress))throw new Error("validatorAddr is  empty")},s.prototype.GetMsg=function(){return{DelegatorAddress:a.fromWords(this.DelegatorAddress),ValidatorAddress:a.fromWords(this.ValidatorAddress),Amount:this.Amount}},s.prototype.GetDisplayContent=function(){return{i18n_tx_type:"i18n_delegate",i18n_delegator_addr:a.encode(o.cosmos.bech32.accAddr,this.DelegatorAddress),i18n_validator_addr:a.encode(o.cosmos.bech32.valAddr,this.ValidatorAddress),i18n_amount:this.Amount}},s.prototype.toJSON=function(){return{DelegatorAddress:a.encode(o.cosmos.bech32.accAddr,this.DelegatorAddress),ValidatorAddress:a.encode(o.cosmos.bech32.valAddr,this.ValidatorAddress),Amount:this.Amount}},u.prototype.type=o.cosmos.tx.undelegate.prefix,u.prototype.GetSignBytes=function(){let e={delegator_address:a.encode(o.cosmos.bech32.accAddr,this.DelegatorAddress),validator_address:a.encode(o.cosmos.bech32.valAddr,this.ValidatorAddress),amount:this.Amount},t=i.sortObjectKeys(e);return A.MarshalJSON(this.type,t)},u.prototype.ValidateBasic=function(){if(i.isEmpty(this.DelegatorAddress))throw new Error("delegatorAddr is  empty");if(i.isEmpty(this.ValidatorAddress))throw new Error("validatorAddr is  empty")},u.prototype.GetMsg=function(){return{DelegatorAddress:a.fromWords(this.DelegatorAddress),ValidatorAddress:a.fromWords(this.ValidatorAddress),Amount:this.Amount}},u.prototype.GetDisplayContent=function(){return{i18n_tx_type:"i18n_begin_unbonding",i18n_delegator_addr:a.encode(o.cosmos.bech32.accAddr,this.DelegatorAddress),i18n_validator_addr:a.encode(o.cosmos.bech32.valAddr,this.ValidatorAddress),i18n_shares_amount:this.Amount}},u.prototype.toJSON=function(){return{DelegatorAddress:a.encode(o.cosmos.bech32.accAddr,this.DelegatorAddress),ValidatorAddress:a.encode(o.cosmos.bech32.valAddr,this.ValidatorAddress),Amount:this.Amount}},l.prototype.type=o.cosmos.tx.beginRedelegate.prefix,l.prototype.GetSignBytes=function(){let e={delegator_address:a.encode(o.cosmos.bech32.accAddr,this.DelegatorAddress),validator_src_address:a.encode(o.cosmos.bech32.valAddr,this.ValidatorSrcAddress),validator_dst_address:a.encode(o.cosmos.bech32.valAddr,this.ValidatorDstAddress),amount:this.Amount},t=i.sortObjectKeys(e);return A.MarshalJSON(this.type,t)},l.prototype.ValidateBasic=function(){if(i.isEmpty(this.DelegatorAddress))throw new Error("delegatorAddr is  empty");if(i.isEmpty(this.ValidatorSrcAddress))throw new Error("validatorSrcAddr is  empty");if(i.isEmpty(this.ValidatorDstAddress))throw new Error("validatorDstAddr is  empty");if(i.isEmpty(this.Amount))throw new Error("sharesAmount is  empty")},l.prototype.GetMsg=function(){return{DelegatorAddress:a.fromWords(this.DelegatorAddress),ValidatorSrcAddress:a.fromWords(this.ValidatorSrcAddress),ValidatorDstAddress:a.fromWords(this.ValidatorDstAddress),Amount:this.Amount}},l.prototype.GetDisplayContent=function(){return{i18n_tx_type:"i18n_redelegate",i18n_delegator_addr:a.encode(o.cosmos.bech32.accAddr,this.DelegatorAddress),i18n_validator_src_addr:a.encode(o.cosmos.bech32.valAddr,this.ValidatorSrcAddress),i18n_validator_dst_addr:a.encode(o.cosmos.bech32.valAddr,this.ValidatorDstAddress),i18n_shares_amount:this.Amount}},l.prototype.toJSON=function(){return{DelegatorAddress:a.encode(o.cosmos.bech32.accAddr,this.DelegatorAddress),ValidatorSrcAddress:a.encode(o.cosmos.bech32.valAddr,this.ValidatorSrcAddress),ValidatorDstAddress:a.encode(o.cosmos.bech32.valAddr,this.ValidatorDstAddress),Amount:this.Amount}},e.exports=class{static createMsgDelegate(e){let t={denom:e.msg.amount.denom,amount:i.toString(e.msg.amount.amount)},r=a.decode(e.from).words,n=a.decode(e.msg.validator_addr).words;return new s({DelegatorAddress:r,ValidatorAddress:n,Amount:t})}static createMsgUndelegate(e){let t={denom:e.msg.amount.denom,amount:i.toString(e.msg.amount.amount)},r=a.decode(e.from).words,n=a.decode(e.msg.validator_addr).words;return new u({DelegatorAddress:r,ValidatorAddress:n,Amount:t})}static createMsgBeginRedelegate(e){let t={denom:e.msg.amount.denom,amount:i.toString(e.msg.amount.amount)},r=a.decode(e.from).words,n=a.decode(e.msg.validator_src_addr).words,A=a.decode(e.msg.validator_dst_addr).words;return new l({DelegatorAddress:r,ValidatorSrcAddress:n,ValidatorDstAddress:A,Amount:t})}}},function(e,t,r){const n=r(229),A=r(74),i=r(65),o=r(49),a=r(58),s=n.cosmos.MsgSetWithdrawAddress,u=n.cosmos.MsgWithdrawDelegatorReward,l=n.cosmos.MsgWithdrawValidatorCommission;s.prototype.type=o.cosmos.tx.setWithdrawAddress.prefix,s.prototype.GetSignBytes=function(){let e={delegator_address:a.encode(o.cosmos.bech32.accAddr,this.DelegatorAddress),withdraw_address:a.encode(o.cosmos.bech32.accAddr,this.WithdrawAddress)},t=i.sortObjectKeys(e);return A.MarshalJSON(this.type,t)},s.prototype.ValidateBasic=function(){if(i.isEmpty(this.DelegatorAddress))throw new Error("delegatorAddr is  empty");if(i.isEmpty(this.WithdrawAddress))throw new Error("WithdrawAddr is  empty")},s.prototype.GetMsg=function(){return{DelegatorAddress:a.fromWords(this.DelegatorAddress),WithdrawAddress:a.fromWords(this.WithdrawAddress)}},s.prototype.toJSON=function(){return{DelegatorAddress:a.encode(o.cosmos.bech32.accAddr,this.DelegatorAddress),WithdrawAddress:a.encode(o.cosmos.bech32.accAddr,this.WithdrawAddress)}},s.prototype.GetDisplayContent=function(){},u.prototype.type=o.cosmos.tx.withdrawDelegatorReward.prefix,u.prototype.GetSignBytes=function(){let e={delegator_address:a.encode(o.cosmos.bech32.accAddr,this.DelegatorAddress),validator_address:a.encode(o.cosmos.bech32.valAddr,this.ValidatorAddress)},t=i.sortObjectKeys(e);return A.MarshalJSON(this.type,t)},u.prototype.toJSON=function(){return{DelegatorAddress:a.encode(o.cosmos.bech32.accAddr,this.DelegatorAddress),ValidatorAddress:a.encode(o.cosmos.bech32.accAddr,this.ValidatorAddress)}},u.prototype.ValidateBasic=function(){if(i.isEmpty(this.DelegatorAddress))throw new Error("delegatorAddr is  empty");if(i.isEmpty(this.ValidatorAddress))throw new Error("validatorAddr is  empty")},u.prototype.GetMsg=function(){return{DelegatorAddress:a.fromWords(this.DelegatorAddress),ValidatorAddress:a.fromWords(this.ValidatorAddress)}},u.prototype.GetDisplayContent=function(){return{i18n_tx_type:"i18n_withdraw_delegation_reward",i18n_delegator_addr:a.encode(o.cosmos.bech32.accAddr,this.DelegatorAddress),i18n_validator_addr:a.encode(o.cosmos.bech32.valAddr,this.ValidatorAddress)}},l.prototype.type=o.cosmos.tx.withdrawValidatorCommission.prefix,l.prototype.GetSignBytes=function(){let e={validator_address:a.encode(o.cosmos.bech32.valAddr,this.ValidatorAddress)},t=i.sortObjectKeys(e);return A.MarshalJSON(this.type,t)},l.prototype.ValidateBasic=function(){if(i.isEmpty(this.ValidatorAddress))throw new Error("validatorAddr is  empty")},l.prototype.GetMsg=function(){return{ValidatorAddress:a.fromWords(this.ValidatorAddress)}},l.prototype.GetDisplayContent=function(){},l.prototype.toJSON=function(){return{ValidatorAddress:a.encode(o.cosmos.bech32.accAddr,this.ValidatorAddress)}},e.exports=class{static CreateMsgSetWithdrawAddress(e){let t=a.decode(e.from).words,r=a.decode(e.msg.withdraw_addr).words;return new s({DelegatorAddress:t,WithdrawAddress:r})}static CreateMsgWithdrawDelegatorReward(e){let t=a.decode(e.from).words,r=a.decode(e.msg.validator_addr).words;return new u({DelegatorAddress:t,ValidatorAddress:r})}static CreateMsgWithdrawValidatorCommission(e){let t=a.decode(e.from).words;return new l({ValidatorAddress:t})}}},function(e,t,r){const n=r(65),A=r(69),i=r(49),o=r(138),a=r(74),s=r(1625),u=r(228),l=r(229),c=l.cosmos.StdFee,f=l.cosmos.Coin;c.prototype.GetSignBytes=function(){return n.isEmpty(this.amount)&&(this.amount=[new f({denom:"",amount:"0"})]),{amount:this.amount,gas:this.gas}};class d extends o.Msg{constructor(e,t,r,n,A,i,o){super(o),this.chain_id=e,this.account_number=t,this.sequence=r,this.fee=n,this.msgs=[A],this.memo=i}GetSignBytes(){let e=[];this.msgs.forEach(function(t){e.push(t.GetSignBytes())});let t={account_number:this.account_number,chain_id:this.chain_id,fee:this.fee.GetSignBytes(),memo:this.memo,msgs:e,sequence:this.sequence};return n.sortObjectKeys(t)}ValidateBasic(){if(n.isEmpty(this.chain_id))throw new Error("chain_id is  empty");if(this.account_number<0)throw new Error("account_number is  empty");if(this.sequence<0)throw new Error("sequence is  empty");this.msgs.forEach(function(e){e.ValidateBasic()})}}class g{constructor(e){this.msgs=e.msgs,this.fee=e.fee,this.signatures=null,this.memo=e.memo,this.signMsg=e}SetSignature(e){"string"==typeof e&&(e=JSON.parse(e));let t=new l.cosmos.StdSignature({pubKey:e.pub_key,signature:e.signature});this.signatures=[t]}SetPubKey(e){if(A.Bech32.isBech32(i.cosmos.bech32.accPub,e)&&(e=A.Bech32.fromBech32(e)),e=A.Hex.hexToBytes(e),this.signatures&&0!=this.signatures.length)this.signatures[0].pubKey=e;else{let t={pub_key:e};this.SetSignature(t)}}GetData(){let e=[];this.signatures&&this.signatures.forEach(function(t){let r="",A="";t.pubKey.length>33&&(r=t.pubKey.slice(5,t.pubKey.length)),r=u.encode(r),n.isEmpty(t.signature)||(A=u.encode(t.signature)),e.push({pub_key:a.MarshalJSON(i.cosmos.amino.pubKey,r),signature:A})});let t=[];this.msgs.forEach(function(e){t.push(e.GetSignBytes())});let r={amount:this.fee.amount,gas:n.toString(this.fee.gas)};return{tx:{msg:t,fee:r,signatures:e,memo:this.memo},mode:"sync"}}Hash(){let e=s.encode(this);return{data:this.GetData(),hash:e.hash}}GetSignBytes(){return this.signMsg.GetSignBytes()}GetDisplayContent(){let e=this.msgs[0].GetDisplayContent();return e.i18n_fee=this.fee.amount,e}}e.exports=class{static create(e,t){let r=new c({amount:e.fees,gas:e.gas}),n=new d(e.chain_id,e.account_number,e.sequence,r,t,e.memo,e.type);return n.ValidateBasic(),new g(n)}}},function(e,t,r){(function(t){const n=r(229),A=r(74),i=r(49),o=r(69);e.exports=class{static encode(e){let a,s=e.msgs[0],u=s.GetMsg(),l=A.GetRegisterInfo(s.type),c=l.classType,f=c.create(u),d=c.encode(f).finish(),g=e.fee,h=n.cosmos.StdFee.create(g),p=n.cosmos.StdSignature;e.signatures&&(a=[p.create({pubKey:e.signatures[0].pubKey,signature:e.signatures[0].signature})]);let I=e.memo,B=n.cosmos.StdTx,C=B.create({msg:[d],fee:h,signatures:a,memo:I}),m=B.encode(C).finish(),y=t.from(A.GetRegisterInfo(i.cosmos.tx.stdTx.prefix).prefix),Q=t.from(l.prefix),w=t.from("");w=t.concat([w,y]),w=t.concat([w,m.slice(0,1)]);let E=o.Uvarint.decode(m.slice(1)),b=o.Uvarint.encode(Q.length+E.u);w=t.concat([w,b]),w=t.concat([w,Q]),w=t.concat([w,m.slice(E.n+1)]);let v=t.from(o.Uvarint.encode(w.length)),D=t.concat([v,w]);const M=r(72).createHash("sha256");return M.update(D),{data:D,hash:M.digest("hex").substring(0,64).toUpperCase()}}}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";const n=r(138).Builder,A=r(184),i=r(1627),o=r(1628),a=r(1629),s=r(378),u=r(69),l=r(49),c=r(1630);e.exports=A(class extends n{buildTx(e){let t,r=super.buildParam(e);switch(r.type){case l.hashgard.tx.transfer.type:t=i.create(r);break;case l.iris.tx.delegate.type:t=o.createMsgDelegate(r);break;case l.hashgard.tx.undelegate.type:t=o.createMsgUndelegate(r);break;case l.hashgard.tx.beginRedelegate.type:t=o.createMsgBeginRedelegate(r);break;case l.hashgard.tx.setWithdrawAddress.type:t=a.CreateMsgSetWithdrawAddress(r);break;case l.hashgard.tx.withdrawDelegatorReward.type:t=a.CreateMsgWithdrawDelegatorReward(r);break;case l.hashgard.tx.withdrawValidatorCommission.type:t=a.CreateMsgWithdrawValidatorCommission(r);break;default:throw new Error("not exist tx type")}return c.create(r,t)}sign(e,t){"string"==typeof e&&(e=JSON.parse(e));let r=s.sign(t,e),n=s.import(t);return{pub_key:u.Hex.hexToBytes(n.publicKey),signature:r}}buildAndSignTx(e,t){let r,n=this.buildTx(e);return r=this.sign(n.GetSignBytes(),t),n.SetSignature(r),n}})},function(e,t,r){"use strict";const n=r(65),A=r(49),i=r(74),o=r(288),a=r(58),s=o.hashgard.MsgSend;s.prototype.GetSignBytes=function(){let e={from_address:a.encode(A.hashgard.bech32.accAddr,this.FromAddress),to_address:a.encode(A.hashgard.bech32.accAddr,this.ToAddress),amount:this.Amount},t=n.sortObjectKeys(e);return i.MarshalJSON(this.type,t)},s.prototype.ValidateBasic=function(){if(n.isEmpty(this.FromAddress))throw new Error("sender is  empty");if(n.isEmpty(this.ToAddress))throw new Error("sender is  empty")},s.prototype.GetMsg=function(){const e=r(58);return{FromAddress:e.fromWords(this.FromAddress),ToAddress:e.fromWords(this.ToAddress),Amount:this.Amount}},s.prototype.type=A.hashgard.tx.transfer.prefix,s.prototype.GetDisplayContent=function(){return{i18n_tx_type:"i18n_transfer",i18n_from:a.encode(A.hashgard.bech32.accAddr,this.FromAddress),i18n_to:a.encode(A.hashgard.bech32.accAddr,this.ToAddress),i18n_amount:this.Amount}},s.prototype.toJSON=function(){return{FromAddress:a.encode(A.hashgard.bech32.accAddr,this.FromAddress),ToAddress:a.encode(A.hashgard.bech32.accAddr,this.ToAddress),Amount:this.Amount}},e.exports=class{static create(e){let t=[];n.isEmpty(e.msg.coins)||e.msg.coins.forEach(function(e){t.push({denom:e.denom,amount:n.toString(e.amount)})});let r=a.decode(e.from).words,A=a.decode(e.msg.to).words;return new s({FromAddress:r,ToAddress:A,Amount:t})}}},function(e,t,r){const n=r(288),A=r(74),i=r(65),o=r(49),a=r(58),s=n.hashgard.MsgDelegate,u=n.hashgard.MsgUndelegate,l=n.hashgard.MsgBeginRedelegate;s.prototype.type=o.hashgard.tx.delegate.prefix,s.prototype.GetSignBytes=function(){let e={delegator_address:a.encode(o.hashgard.bech32.accAddr,this.DelegatorAddress),validator_address:a.encode(o.hashgard.bech32.valAddr,this.ValidatorAddress),amount:this.Amount},t=i.sortObjectKeys(e);return A.MarshalJSON(this.type,t)},s.prototype.ValidateBasic=function(){if(i.isEmpty(this.DelegatorAddress))throw new Error("delegatorAddr is  empty");if(i.isEmpty(this.ValidatorAddress))throw new Error("validatorAddr is  empty")},s.prototype.GetMsg=function(){return{DelegatorAddress:a.fromWords(this.DelegatorAddress),ValidatorAddress:a.fromWords(this.ValidatorAddress),Amount:this.Amount}},s.prototype.GetDisplayContent=function(){return{i18n_tx_type:"i18n_delegate",i18n_delegator_addr:a.encode(o.hashgard.bech32.accAddr,this.DelegatorAddress),i18n_validator_addr:a.encode(o.hashgard.bech32.valAddr,this.ValidatorAddress),i18n_amount:this.Amount}},s.prototype.toJSON=function(){return{DelegatorAddress:a.encode(o.hashgard.bech32.accAddr,this.DelegatorAddress),ValidatorAddress:a.encode(o.hashgard.bech32.valAddr,this.ValidatorAddress),Amount:this.Amount}},u.prototype.type=o.hashgard.tx.undelegate.prefix,u.prototype.GetSignBytes=function(){let e={delegator_address:a.encode(o.hashgard.bech32.accAddr,this.DelegatorAddress),validator_address:a.encode(o.hashgard.bech32.valAddr,this.ValidatorAddress),amount:this.Amount},t=i.sortObjectKeys(e);return A.MarshalJSON(this.type,t)},u.prototype.ValidateBasic=function(){if(i.isEmpty(this.DelegatorAddress))throw new Error("delegatorAddr is  empty");if(i.isEmpty(this.ValidatorAddress))throw new Error("validatorAddr is  empty")},u.prototype.GetMsg=function(){return{DelegatorAddress:a.fromWords(this.DelegatorAddress),ValidatorAddress:a.fromWords(this.ValidatorAddress),Amount:this.Amount}},u.prototype.GetDisplayContent=function(){return{i18n_tx_type:"i18n_begin_unbonding",i18n_delegator_addr:a.encode(o.hashgard.bech32.accAddr,this.DelegatorAddress),i18n_validator_addr:a.encode(o.hashgard.bech32.valAddr,this.ValidatorAddress),i18n_shares_amount:this.Amount}},u.prototype.toJSON=function(){return{DelegatorAddress:a.encode(o.hashgard.bech32.accAddr,this.DelegatorAddress),ValidatorAddress:a.encode(o.hashgard.bech32.valAddr,this.ValidatorAddress),Amount:this.Amount}},l.prototype.type=o.hashgard.tx.beginRedelegate.prefix,l.prototype.GetSignBytes=function(){let e={delegator_address:a.encode(o.hashgard.bech32.accAddr,this.DelegatorAddress),validator_src_address:a.encode(o.hashgard.bech32.valAddr,this.ValidatorSrcAddress),validator_dst_address:a.encode(o.hashgard.bech32.valAddr,this.ValidatorDstAddress),amount:this.Amount},t=i.sortObjectKeys(e);return A.MarshalJSON(this.type,t)},l.prototype.ValidateBasic=function(){if(i.isEmpty(this.DelegatorAddress))throw new Error("delegatorAddr is  empty");if(i.isEmpty(this.ValidatorSrcAddress))throw new Error("validatorSrcAddr is  empty");if(i.isEmpty(this.ValidatorDstAddress))throw new Error("validatorDstAddr is  empty");if(i.isEmpty(this.Amount))throw new Error("sharesAmount is  empty")},l.prototype.GetMsg=function(){return{DelegatorAddress:a.fromWords(this.DelegatorAddress),ValidatorSrcAddress:a.fromWords(this.ValidatorSrcAddress),ValidatorDstAddress:a.fromWords(this.ValidatorDstAddress),Amount:this.Amount}},l.prototype.GetDisplayContent=function(){return{i18n_tx_type:"i18n_redelegate",i18n_delegator_addr:a.encode(o.hashgard.bech32.accAddr,this.DelegatorAddress),i18n_validator_src_addr:a.encode(o.hashgard.bech32.valAddr,this.ValidatorSrcAddress),i18n_validator_dst_addr:a.encode(o.hashgard.bech32.valAddr,this.ValidatorDstAddress),i18n_shares_amount:this.Amount}},l.prototype.toJSON=function(){return{DelegatorAddress:a.encode(o.hashgard.bech32.accAddr,this.DelegatorAddress),ValidatorSrcAddress:a.encode(o.hashgard.bech32.valAddr,this.ValidatorSrcAddress),ValidatorDstAddress:a.encode(o.hashgard.bech32.valAddr,this.ValidatorDstAddress),Amount:this.Amount}},e.exports=class{static createMsgDelegate(e){let t={denom:e.msg.amount.denom,amount:i.toString(e.msg.amount.amount)},r=a.decode(e.from).words,n=a.decode(e.msg.validator_addr).words;return new s({DelegatorAddress:r,ValidatorAddress:n,Amount:t})}static createMsgUndelegate(e){let t={denom:e.msg.amount.denom,amount:i.toString(e.msg.amount.amount)},r=a.decode(e.from).words,n=a.decode(e.msg.validator_addr).words;return new u({DelegatorAddress:r,ValidatorAddress:n,Amount:t})}static createMsgBeginRedelegate(e){let t={denom:e.msg.amount.denom,amount:i.toString(e.msg.amount.amount)},r=a.decode(e.from).words,n=a.decode(e.msg.validator_src_addr).words,A=a.decode(e.msg.validator_dst_addr).words;return new l({DelegatorAddress:r,ValidatorSrcAddress:n,ValidatorDstAddress:A,Amount:t})}}},function(e,t,r){const n=r(288),A=r(74),i=r(65),o=r(49),a=r(58),s=n.hashgard.MsgSetWithdrawAddress,u=n.hashgard.MsgWithdrawDelegatorReward,l=n.hashgard.MsgWithdrawValidatorCommission;s.prototype.type=o.hashgard.tx.setWithdrawAddress.prefix,s.prototype.GetSignBytes=function(){let e={delegator_address:a.encode(o.hashgard.bech32.accAddr,this.DelegatorAddress),withdraw_address:a.encode(o.hashgard.bech32.accAddr,this.WithdrawAddress)},t=i.sortObjectKeys(e);return A.MarshalJSON(this.type,t)},s.prototype.ValidateBasic=function(){if(i.isEmpty(this.DelegatorAddress))throw new Error("delegatorAddr is  empty");if(i.isEmpty(this.WithdrawAddress))throw new Error("WithdrawAddr is  empty")},s.prototype.GetMsg=function(){return{DelegatorAddress:a.fromWords(this.DelegatorAddress),WithdrawAddress:a.fromWords(this.WithdrawAddress)}},s.prototype.toJSON=function(){return{DelegatorAddress:a.encode(o.hashgard.bech32.accAddr,this.DelegatorAddress),WithdrawAddress:a.encode(o.hashgard.bech32.accAddr,this.WithdrawAddress)}},s.prototype.GetDisplayContent=function(){},u.prototype.type=o.hashgard.tx.withdrawDelegatorReward.prefix,u.prototype.GetSignBytes=function(){let e={delegator_address:a.encode(o.hashgard.bech32.accAddr,this.DelegatorAddress),validator_address:a.encode(o.hashgard.bech32.valAddr,this.ValidatorAddress)},t=i.sortObjectKeys(e);return A.MarshalJSON(this.type,t)},u.prototype.toJSON=function(){return{DelegatorAddress:a.encode(o.hashgard.bech32.accAddr,this.DelegatorAddress),ValidatorAddress:a.encode(o.hashgard.bech32.accAddr,this.ValidatorAddress)}},u.prototype.ValidateBasic=function(){if(i.isEmpty(this.DelegatorAddress))throw new Error("delegatorAddr is  empty");if(i.isEmpty(this.ValidatorAddress))throw new Error("validatorAddr is  empty")},u.prototype.GetMsg=function(){return{DelegatorAddress:a.fromWords(this.DelegatorAddress),ValidatorAddress:a.fromWords(this.ValidatorAddress)}},u.prototype.GetDisplayContent=function(){return{i18n_tx_type:"i18n_withdraw_delegation_reward",i18n_delegator_addr:a.encode(o.hashgard.bech32.accAddr,this.DelegatorAddress),i18n_validator_addr:a.encode(o.hashgard.bech32.valAddr,this.ValidatorAddress)}},l.prototype.type=o.hashgard.tx.withdrawValidatorCommission.prefix,l.prototype.GetSignBytes=function(){let e={validator_address:a.encode(o.hashgard.bech32.valAddr,this.ValidatorAddress)},t=i.sortObjectKeys(e);return A.MarshalJSON(this.type,t)},l.prototype.ValidateBasic=function(){if(i.isEmpty(this.ValidatorAddress))throw new Error("validatorAddr is  empty")},l.prototype.GetMsg=function(){return{ValidatorAddress:a.fromWords(this.ValidatorAddress)}},l.prototype.GetDisplayContent=function(){},l.prototype.toJSON=function(){return{ValidatorAddress:a.encode(o.hashgard.bech32.accAddr,this.ValidatorAddress)}},e.exports=class{static CreateMsgSetWithdrawAddress(e){let t=a.decode(e.from).words,r=a.decode(e.msg.withdraw_addr).words;return new s({DelegatorAddress:t,WithdrawAddress:r})}static CreateMsgWithdrawDelegatorReward(e){let t=a.decode(e.from).words,r=a.decode(e.msg.validator_addr).words;return new u({DelegatorAddress:t,ValidatorAddress:r})}static CreateMsgWithdrawValidatorCommission(e){let t=a.decode(e.from).words;return new l({ValidatorAddress:t})}}},function(e,t,r){const n=r(65),A=r(69),i=r(49),o=r(138),a=r(74),s=r(1631),u=r(228),l=r(288),c=l.hashgard.StdFee,f=l.hashgard.Coin;c.prototype.GetSignBytes=function(){return n.isEmpty(this.amount)&&(this.amount=[new f({denom:"",amount:"0"})]),{amount:this.amount,gas:this.gas}};class d extends o.Msg{constructor(e,t,r,n,A,i,o){super(o),this.chain_id=e,this.account_number=t,this.sequence=r,this.fee=n,this.msgs=[A],this.memo=i}GetSignBytes(){let e=[];this.msgs.forEach(function(t){e.push(t.GetSignBytes())});let t={account_number:this.account_number,chain_id:this.chain_id,fee:this.fee.GetSignBytes(),memo:this.memo,msgs:e,sequence:this.sequence};return n.sortObjectKeys(t)}ValidateBasic(){if(n.isEmpty(this.chain_id))throw new Error("chain_id is  empty");if(this.account_number<0)throw new Error("account_number is  empty");if(this.sequence<0)throw new Error("sequence is  empty");this.msgs.forEach(function(e){e.ValidateBasic()})}}class g{constructor(e){this.msgs=e.msgs,this.fee=e.fee,this.signatures=null,this.memo=e.memo,this.signMsg=e}SetSignature(e){"string"==typeof e&&(e=JSON.parse(e));let t=new l.hashgard.StdSignature({pubKey:e.pub_key,signature:e.signature});this.signatures=[t]}SetPubKey(e){if(A.Bech32.isBech32(i.hashgard.bech32.accPub,e)&&(e=A.Bech32.fromBech32(e)),e=A.Hex.hexToBytes(e),this.signatures&&0!=this.signatures.length)this.signatures[0].pubKey=e;else{let t={pub_key:e};this.SetSignature(t)}}GetData(){let e=[];this.signatures&&this.signatures.forEach(function(t){let r="",A="";t.pubKey.length>33&&(r=t.pubKey.slice(5,t.pubKey.length)),r=u.encode(r),n.isEmpty(t.signature)||(A=u.encode(t.signature)),e.push({pub_key:a.MarshalJSON(i.hashgard.amino.pubKey,r),signature:A})});let t=[];this.msgs.forEach(function(e){t.push(e.GetSignBytes())});let r={amount:this.fee.amount,gas:n.toString(this.fee.gas)};return{tx:{msg:t,fee:r,signatures:e,memo:this.memo},mode:"sync"}}Hash(){let e=s.encode(this);return{data:this.GetData(),hash:e.hash}}GetSignBytes(){return this.signMsg.GetSignBytes()}GetDisplayContent(){let e=this.msgs[0].GetDisplayContent();return e.i18n_fee=this.fee.amount,e}}e.exports=class{static create(e,t){let r=new c({amount:e.fees,gas:e.gas}),n=new d(e.chain_id,e.account_number,e.sequence,r,t,e.memo,e.type);return n.ValidateBasic(),new g(n)}}},function(e,t,r){(function(t){const n=r(288),A=r(74),i=r(49),o=r(69);e.exports=class{static encode(e){let a,s=e.msgs[0],u=s.GetMsg(),l=A.GetRegisterInfo(s.type),c=l.classType,f=c.create(u),d=c.encode(f).finish(),g=e.fee,h=n.hashgard.StdFee.create(g),p=n.hashgard.StdSignature;e.signatures&&(a=[p.create({pubKey:e.signatures[0].pubKey,signature:e.signatures[0].signature})]);let I=e.memo,B=n.hashgard.StdTx,C=B.create({msg:[d],fee:h,signatures:a,memo:I}),m=B.encode(C).finish(),y=t.from(A.GetRegisterInfo(i.hashgard.tx.stdTx.prefix).prefix),Q=t.from(l.prefix),w=t.from("");w=t.concat([w,y]),w=t.concat([w,m.slice(0,1)]);let E=o.Uvarint.decode(m.slice(1)),b=o.Uvarint.encode(Q.length+E.u);w=t.concat([w,b]),w=t.concat([w,Q]),w=t.concat([w,m.slice(E.n+1)]);let v=t.from(o.Uvarint.encode(w.length)),D=t.concat([v,w]);const M=r(72).createHash("sha256");return M.update(D),{data:D,hash:M.digest("hex").substring(0,64).toUpperCase()}}}}).call(this,r(8).Buffer)},function(e,t,r){var n=function(){return this}()||Function("return this")(),A=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=A&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=r(1633),A)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(e){n.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";var r,n=Object.prototype,A=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag",u="object"==typeof e,l=t.regeneratorRuntime;if(l)u&&(e.exports=l);else{(l=t.regeneratorRuntime=u?e.exports:{}).wrap=m;var c="suspendedStart",f="suspendedYield",d="executing",g="completed",h={},p={};p[o]=function(){return this};var I=Object.getPrototypeOf,B=I&&I(I(S([])));B&&B!==n&&A.call(B,o)&&(p=B);var C=E.prototype=Q.prototype=Object.create(p);w.prototype=C.constructor=E,E.constructor=w,E[s]=w.displayName="GeneratorFunction",l.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},l.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(C),e},l.awrap=function(e){return{__await:e}},b(v.prototype),v.prototype[a]=function(){return this},l.AsyncIterator=v,l.async=function(e,t,r,n){var A=new v(m(e,t,r,n));return l.isGeneratorFunction(t)?A:A.next().then(function(e){return e.done?e.value:A.next()})},b(C),C[s]="Generator",C[o]=function(){return this},C.toString=function(){return"[object Generator]"},l.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},l.values=S,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&A.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,A){return a.type="throw",a.arg=e,t.next=n,A&&(t.method="next",t.arg=r),!!A}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=A.call(o,"catchLoc"),u=A.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var A=n.arg;k(r)}return A}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),h}}}function m(e,t,r,n){var A=t&&t.prototype instanceof Q?t:Q,i=Object.create(A.prototype),o=new _(n||[]);return i._invoke=function(e,t,r){var n=c;return function(A,i){if(n===d)throw new Error("Generator is already running");if(n===g){if("throw"===A)throw i;return N()}for(r.method=A,r.arg=i;;){var o=r.delegate;if(o){var a=D(o,r);if(a){if(a===h)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===c)throw n=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var s=y(e,t,r);if("normal"===s.type){if(n=r.done?g:f,s.arg===h)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=g,r.method="throw",r.arg=s.arg)}}}(e,r,o),i}function y(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function Q(){}function w(){}function E(){}function b(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function v(e){var t;this._invoke=function(r,n){function i(){return new Promise(function(t,i){!function t(r,n,i,o){var a=y(e[r],e,n);if("throw"!==a.type){var s=a.arg,u=s.value;return u&&"object"==typeof u&&A.call(u,"__await")?Promise.resolve(u.__await).then(function(e){t("next",e,i,o)},function(e){t("throw",e,i,o)}):Promise.resolve(u).then(function(e){s.value=e,i(s)},o)}o(a.arg)}(r,n,t,i)})}return t=t?t.then(i,i):i()}}function D(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,D(e,t),"throw"===t.method))return h;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var A=y(n,e.iterator,t.arg);if("throw"===A.type)return t.method="throw",t.arg=A.arg,t.delegate=null,h;var i=A.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function S(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(A.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=r,t.done=!0,t};return i.next=i}}return{next:N}}function N(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},function(e,t,r){e.exports={default:r(1635),__esModule:!0}},function(e,t,r){r(497),r(507),e.exports=r(508).f("iterator")},function(e,t,r){var n=r(498),A=r(499);e.exports=function(e){return function(t,r){var i,o,a=String(A(t)),s=n(r),u=a.length;return s<0||s>=u?e?"":void 0:(i=a.charCodeAt(s))<55296||i>56319||s+1===u||(o=a.charCodeAt(s+1))<56320||o>57343?e?a.charAt(s):i:e?a.slice(s,s+2):o-56320+(i-55296<<10)+65536}}},function(e,t,r){var n=r(1638);e.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,A){return e.call(t,r,n,A)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){"use strict";var n=r(933),A=r(343),i=r(506),o={};r(230)(o,r(159)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(o,{next:A(1,r)}),i(e,t+" Iterator")}},function(e,t,r){var n=r(231),A=r(290),i=r(501);e.exports=r(232)?Object.defineProperties:function(e,t){A(e);for(var r,o=i(t),a=o.length,s=0;a>s;)n.f(e,r=o[s++],t[r]);return e}},function(e,t,r){var n=r(502);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){var n=r(233),A=r(1643),i=r(1644);e.exports=function(e){return function(t,r,o){var a,s=n(t),u=A(s.length),l=i(o,u);if(e&&r!=r){for(;u>l;)if((a=s[l++])!=a)return!0}else for(;u>l;l++)if((e||l in s)&&s[l]===r)return e||l||0;return!e&&-1}}},function(e,t,r){var n=r(498),A=Math.min;e.exports=function(e){return e>0?A(n(e),9007199254740991):0}},function(e,t,r){var n=r(498),A=Math.max,i=Math.min;e.exports=function(e,t){return(e=n(e))<0?A(e+t,0):i(e,t)}},function(e,t,r){var n=r(185).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(205),A=r(1647),i=r(503)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=A(e),n(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,r){var n=r(499);e.exports=function(e){return Object(n(e))}},function(e,t,r){"use strict";var n=r(1649),A=r(1650),i=r(292),o=r(233);e.exports=r(928)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,A(1)):A(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){e.exports={default:r(1652),__esModule:!0}},function(e,t,r){r(1653),r(1659),r(1660),r(1661),e.exports=r(204).Symbol},function(e,t,r){"use strict";var n=r(185),A=r(205),i=r(232),o=r(929),a=r(932),s=r(1654).KEY,u=r(342),l=r(504),c=r(506),f=r(344),d=r(159),g=r(508),h=r(509),p=r(1655),I=r(1656),B=r(290),C=r(291),m=r(233),y=r(500),Q=r(343),w=r(933),E=r(1657),b=r(1658),v=r(231),D=r(501),M=b.f,k=v.f,_=E.f,S=n.Symbol,N=n.JSON,F=N&&N.stringify,x=d("_hidden"),G=d("toPrimitive"),H={}.propertyIsEnumerable,U=l("symbol-registry"),Y=l("symbols"),L=l("op-symbols"),O=Object.prototype,K="function"==typeof S,P=n.QObject,R=!P||!P.prototype||!P.prototype.findChild,T=i&&u(function(){return 7!=w(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=M(O,t);n&&delete O[t],k(e,t,r),n&&e!==O&&k(O,t,n)}:k,J=function(e){var t=Y[e]=w(S.prototype);return t._k=e,t},j=K&&"symbol"==typeof S.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof S},q=function(e,t,r){return e===O&&q(L,t,r),B(e),t=y(t,!0),B(r),A(Y,t)?(r.enumerable?(A(e,x)&&e[x][t]&&(e[x][t]=!1),r=w(r,{enumerable:Q(0,!1)})):(A(e,x)||k(e,x,Q(1,{})),e[x][t]=!0),T(e,t,r)):k(e,t,r)},V=function(e,t){B(e);for(var r,n=p(t=m(t)),A=0,i=n.length;i>A;)q(e,r=n[A++],t[r]);return e},W=function(e){var t=H.call(this,e=y(e,!0));return!(this===O&&A(Y,e)&&!A(L,e))&&(!(t||!A(this,e)||!A(Y,e)||A(this,x)&&this[x][e])||t)},z=function(e,t){if(e=m(e),t=y(t,!0),e!==O||!A(Y,t)||A(L,t)){var r=M(e,t);return!r||!A(Y,t)||A(e,x)&&e[x][t]||(r.enumerable=!0),r}},Z=function(e){for(var t,r=_(m(e)),n=[],i=0;r.length>i;)A(Y,t=r[i++])||t==x||t==s||n.push(t);return n},X=function(e){for(var t,r=e===O,n=_(r?L:m(e)),i=[],o=0;n.length>o;)!A(Y,t=n[o++])||r&&!A(O,t)||i.push(Y[t]);return i};K||(a((S=function(){if(this instanceof S)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(r){this===O&&t.call(L,r),A(this,x)&&A(this[x],e)&&(this[x][e]=!1),T(this,e,Q(1,r))};return i&&R&&T(O,e,{configurable:!0,set:t}),J(e)}).prototype,"toString",function(){return this._k}),b.f=z,v.f=q,r(936).f=E.f=Z,r(510).f=W,r(935).f=X,i&&!r(341)&&a(O,"propertyIsEnumerable",W,!0),g.f=function(e){return J(d(e))}),o(o.G+o.W+o.F*!K,{Symbol:S});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;$.length>ee;)d($[ee++]);for(var te=D(d.store),re=0;te.length>re;)h(te[re++]);o(o.S+o.F*!K,"Symbol",{for:function(e){return A(U,e+="")?U[e]:U[e]=S(e)},keyFor:function(e){if(!j(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){R=!0},useSimple:function(){R=!1}}),o(o.S+o.F*!K,"Object",{create:function(e,t){return void 0===t?w(e):V(w(e),t)},defineProperty:q,defineProperties:V,getOwnPropertyDescriptor:z,getOwnPropertyNames:Z,getOwnPropertySymbols:X}),N&&o(o.S+o.F*(!K||u(function(){var e=S();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],A=1;arguments.length>A;)n.push(arguments[A++]);if(r=t=n[1],(C(t)||void 0!==e)&&!j(e))return I(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!j(t))return t}),n[1]=t,F.apply(N,n)}}),S.prototype[G]||r(230)(S.prototype,G,S.prototype.valueOf),c(S,"Symbol"),c(Math,"Math",!0),c(n.JSON,"JSON",!0)},function(e,t,r){var n=r(344)("meta"),A=r(291),i=r(205),o=r(231).f,a=0,s=Object.isExtensible||function(){return!0},u=!r(342)(function(){return s(Object.preventExtensions({}))}),l=function(e){o(e,n,{value:{i:"O"+ ++a,w:{}}})},c=e.exports={KEY:n,NEED:!1,fastKey:function(e,t){if(!A(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,n)){if(!s(e))return"F";if(!t)return"E";l(e)}return e[n].i},getWeak:function(e,t){if(!i(e,n)){if(!s(e))return!0;if(!t)return!1;l(e)}return e[n].w},onFreeze:function(e){return u&&c.NEED&&s(e)&&!i(e,n)&&l(e),e}}},function(e,t,r){var n=r(501),A=r(935),i=r(510);e.exports=function(e){var t=n(e),r=A.f;if(r)for(var o,a=r(e),s=i.f,u=0;a.length>u;)s.call(e,o=a[u++])&&t.push(o);return t}},function(e,t,r){var n=r(502);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(233),A=r(936).f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==i.call(e)?function(e){try{return A(e)}catch(e){return o.slice()}}(e):A(n(e))}},function(e,t,r){var n=r(510),A=r(343),i=r(233),o=r(500),a=r(205),s=r(930),u=Object.getOwnPropertyDescriptor;t.f=r(232)?u:function(e,t){if(e=i(e),t=o(t,!0),s)try{return u(e,t)}catch(e){}if(a(e,t))return A(!n.f.call(e,t),e[t])}},function(e,t){},function(e,t,r){r(509)("asyncIterator")},function(e,t,r){r(509)("observable")},function(e,t,r){"use strict";e.exports={chain:r(1663),history:r(1664)}},function(e){e.exports=JSON.parse('{"get_info":{"brief":"Return general network information.","params":null,"results":"string"},"get_account":{"brief":"Fetch a blockchain account","params":{"account_name":"name"},"results":"string"},"get_code":{"brief":"Fetch smart contract code","params":{"account_name":"name","code_as_wasm":{"type":"bool","default":false}},"results":{"account_name":"name","wast":"string","wasm":"string","code_hash":"sha256","abi":"optional<abi_def>"}},"get_code_hash":{"brief":"","params":{"account_name":"name"},"results":{"account_name":"name","code_hash":"sha256"}},"get_abi":{"params":{"account_name":"name"},"results":{"account_name":"name","abi":"abi_def?"}},"get_raw_code_and_abi":{"params":{"account_name":"name"},"results":{"account_name":"name","wasm":"bytes","abi":"abi_def?"}},"abi_json_to_bin":{"brief":"Manually serialize json into binary hex.  The binayargs is usually stored in Action.data.","params":{"code":"name","action":"name","args":"bytes"},"results":{"binargs":"bytes"}},"abi_bin_to_json":{"brief":"Convert bin hex back into Abi json definition.","params":{"code":"name","action":"name","binargs":"bytes"},"results":{"args":"bytes"}},"get_required_keys":{"params":{"transaction":"transaction","available_keys":"set[public_key]"},"results":"Set[public_key]"},"get_block":{"brief":"Fetch a block from the blockchain.","params":{"block_num_or_id":"string"},"results":"variant","errors":{"unknown block":null}},"get_block_header_state":{"brief":"Fetch the minimum state necessary to validate transaction headers.","params":{"block_num_or_id":"string"},"results":"string","errors":{"block_id_type_exception":"Invalid block ID","unknown_block_exception":"Could not find reversible block"}},"get_table_rows":{"brief":"Fetch smart contract data from an account.","params":{"json":{"type":"bool","default":false},"code":"name","scope":"string","table":"name","table_key":"string","lower_bound":{"type":"string","default":"0"},"upper_bound":{"type":"string","default":"-1"},"limit":{"type":"uint32","default":"10"},"key_type":{"type":"string","doc":"The key type of --index, primary only supports (i64), all others support (i64, i128, i256, float64, float128). Special type \'name\' indicates an account name."},"index_position":{"type":"string","doc":"1 - primary (first), 2 - secondary index (in order defined by multi_index), 3 - third index, etc"}},"results":{"rows":{"type":"vector","doc":"One row per item, either encoded as hex String or JSON object"},"more":{"type":"bool","doc":"True if last element in data is not the end and sizeof data() < limit"}}},"get_currency_balance":{"params":{"code":"name","account":"name","symbol":"optional<string>"},"results":"asset[]"},"get_currency_stats":{"params":{"code":"name","symbol":"string"},"results":{"supply":"asset","max_supply":"asset","issuer":"account_name"}},"get_producers":{"brief":"Fetch smart contract data from producer.","params":{"json":{"type":"bool","default":false},"lower_bound":"string","limit":{"type":"uint32","default":"50"}},"results":{"rows":{"type":"vector","doc":"one row per item, either encoded as hex String or JSON object"},"total_producer_vote_weight":{"type":"double","doc":"total vote"},"more":{"type":"string","doc":"fill lower_bound with this value to fetch more rows"}}},"get_producer_schedule":{"brief":"","params":{},"results":{"vector":"proposed"}},"get_scheduled_transactions":{"brief":"","params":{"json":{"type":"bool","default":false},"lower_bound":{"type":"string","doc":"timestamp OR transaction ID"},"limit":{"type":"uint32","default":"50"}},"results":{"vector":"transactions","more":{"type":"string","doc":"fill lower_bound with this to fetch next set of transactions"}}},"push_block":{"brief":"Append a block to the chain database.","params":{"block":"signed_block"},"results":null},"push_transaction":{"brief":"Attempts to push the transaction into the pending queue.","params":{"signed_transaction":"signed_transaction"},"results":{"transaction_id":"fixed_bytes32","processed":"bytes"}},"push_transactions":{"brief":"Attempts to push transactions into the pending queue.","params":{"signed_transaction[]":"signed_transaction"},"results":"vector[push_transaction.results]"}}')},function(e){e.exports=JSON.parse('{"get_actions":{"params":{"account_name":"account_name","pos":{"type":"int32?","doc":"An absolute sequence positon -1 is the end/last action"},"offset":{"type":"int32?","doc":"The number of actions relative to pos, negative numbers return [pos-offset,pos), positive numbers return [pos,pos+offset)"}},"results":{"actions":"ordered_action_result[]","last_irreversible_block":"uint32","time_limit_exceeded_error":"bool?"},"structs":[{"name":"ordered_action_result","fields":{"global_action_seq":"uint64","account_action_seq":"int32","block_num":"uint32","block_time":"block_timestamp_type","action_trace":"variant"}}]},"get_transaction":{"brief":"Retrieve a transaction from the blockchain.","params":{"id":"transaction_id_type","block_num_hint":{"type":"uint32?","default":0,"doc":"A non-zero block number allows shorter transaction IDs (8 hex, 4 bytes)"}},"results":{"id":"transaction_id_type","trx":"variant","block_time":"block_timestamp_type","block_num":"uint32","last_irreversible_block":"uint32","traces":"variant[]"}},"get_key_accounts":{"params":{"public_key":"public_key_type"},"results":{"account_names":"account_name[]"}},"get_controlled_accounts":{"params":{"controlling_account":"account_name"},"results":{"controlled_accounts":"account_name[]"}}}')},function(e,t,r){"use strict";r(468);var n=r(914),A=r(1666),i=r(938);function o(e,t,r,n){var A=n.logger;return function(){for(var o=arguments.length,s=Array(o),u=0;u<o;u++)s[u]=arguments[u];if(0!==s.length){var l=function(e){if("boolean"==typeof e)return{broadcast:e}},c=i(s,Object.keys(r.params||[]),e,l),f=c.params,d=(c.options,c.returnPromise),g=c.callback,h=JSON.stringify(f);A.log&&A.log("api >","post","\t",t,h);var p={body:h,method:"POST"};return Object.assign(p,n.fetchConfiguration),fetch(t,p).then(function(e){return e.status>=200&&e.status<300?e.json():e.text().then(function(t){var r=new Error(t);throw r.status=e.status,r.statusText=e.statusText,r})}).then(function(e){A.log&&A.log("api <","response","\t",t,JSON.stringify(e));try{g(null,e)}catch(e){A.error&&A.error("api <","result callback",":",e)}}).catch(function(e){var r="";try{r=JSON.parse(e.message).error.details[0]}catch(e){}A.error&&(A.error("api <","error","\t",r,t,h),A.error(e));try{g(e)}catch(e){A.error&&A.error("api <","error callback",":",e)}}),d}console.log(a(e,r))}}function a(e,t){var r="",n=function(e){r+=e+"\n"};if(n("USAGE"),n(e+" - "+t.brief),n("\nPARAMETERS"),t.params?n(JSON.stringify(t.params,null,2)):n("none"),n("\nRETURNS"),t.results?n(""+JSON.stringify(t.results,null,2)):n("no data"),n("\nERRORS"),t.errors)for(var A in t.errors){var i=t.errors[A];n(A+(i?" - "+i:""))}else n("nothing special");return r}e.exports=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i={httpEndpoint:"http://127.0.0.1:8888",verbose:!1,logger:{log:function(){var e;return r.verbose?(e=console).log.apply(e,arguments):null},error:function(){var e;return r.verbose?(e=console).error.apply(e,arguments):null}}};function a(e,t){Object.keys(t).forEach(function(r){void 0===e[r]&&(e[r]=t[r])})}a(r,i),a(r.logger,i.logger);var s={},u=r.httpEndpoint;for(var l in t)for(var c in t[l]){var f=n(c),d=u+"/"+e+"/"+l+"/"+c;s[f]=o(f,d,t[l][c],r)}var g=function(e){s[e]=function(){for(var t,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=A.api)[e].apply(t,[s].concat(n))}};for(var h in A.api)g(h);return s}},function(e,t,r){"use strict";e.exports={api:{createTransaction:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=arguments[2];if(!r)throw new TypeError("callback parameter is required");e.getInfo(n(r,function(A){var i=new Date(A.head_block_time+"Z");e.getBlock(A.last_irreversible_block_num,n(r,function(e){var n=new Date(i.getTime()+1e3*t),o=65535&A.last_irreversible_block_num,a={expiration:n.toISOString().split(".")[0],ref_block_num:o,ref_block_prefix:e.ref_block_prefix,max_net_usage_words:0,max_cpu_usage_ms:0,delay_sec:0,context_free_actions:[],actions:[],signatures:[],transaction_extensions:[]};r(null,a)}))}))}}};var n=function(e,t){return function(r,n){r?e(r):t(n)}}},function(e,t,r){e.exports={default:r(1668),__esModule:!0}},function(e,t,r){r(507),r(497),e.exports=r(1669)},function(e,t,r){var n=r(939),A=r(159)("iterator"),i=r(292);e.exports=r(204).isIterable=function(e){var t=Object(e);return void 0!==t[A]||"@@iterator"in t||i.hasOwnProperty(n(t))}},function(e,t,r){e.exports={default:r(1671),__esModule:!0}},function(e,t,r){r(507),r(497),e.exports=r(1672)},function(e,t,r){var n=r(290),A=r(1673);e.exports=r(204).getIterator=function(e){var t=A(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},function(e,t,r){var n=r(939),A=r(159)("iterator"),i=r(292);e.exports=r(204).getIteratorMethod=function(e){if(null!=e)return e[A]||e["@@iterator"]||i[n(e)]}},function(e){e.exports=JSON.parse('{"name":"uint64","checksum160":"fixed_bytes20","checksum256":"fixed_bytes32","checksum256$":"fixed_bytes32","checksum512":"fixed_bytes64","signature":"fixed_bytes65","public_key":"fixed_bytes33","message_type":"fixed_string16","symbol":"uint64","symbol_code":"uint64","field_name":"string","account_name":"name","permission_name":"name","type_name":"string","token_name":"name","table_name":"name","scope_name":"name","action_name":"name","time_point":"int64","time_point_sec":"time","timestamp":"uint32","block_timestamp_type":"timestamp","block_id":"fixed_bytes32","checksum_type":"fixed_bytes32","checksum256_type":"fixed_bytes32","checksum512_type":"fixed_bytes64","checksum160_type":"fixed_bytes20","sha256":"fixed_bytes32","sha512":"fixed_bytes64","sha160":"fixed_bytes20","weight_type":"uint16","block_num_type":"uint32","share_type":"int64","digest_type":"checksum_type","context_free_type":"bytes","unsigned_int":"varuint32","bool":"uint8","extensions_type":{"base":"","fields":{"type":"uint16","data":"bytes"}},"transaction_header":{"base":"","fields":{"expiration":"time","ref_block_num":"uint16","ref_block_prefix":"uint32","max_net_usage_words":"unsigned_int","max_cpu_usage_ms":"uint8","delay_sec":"unsigned_int"}},"transaction":{"base":"transaction_header","fields":{"context_free_actions":"action[]","actions":"action[]","transaction_extensions":"extensions_type[]"}},"signed_transaction":{"base":"transaction","fields":{"signatures":"signature[]","context_free_data":"bytes[]"}},"fields":"field_def[]","field_def":{"fields":{"name":"field_name","type":"type_name"}},"asset":{"fields":{"amount":"share_type","sym":"symbol"}},"producer_key":{"fields":{"producer_name":"account_name","block_signing_key":"public_key"}},"producer_schedule":{"fields":{"version":"uint32","producers":"producer_key[]"}},"chain_config":{"fields":{"target_block_size":"uint32","max_block_size":"uint32","target_block_acts_per_scope":"uint32","max_block_acts_per_scope":"uint32","target_block_acts":"uint32","max_block_acts":"uint32","real_threads":"uint64","max_storage_size":"uint64","max_transaction_lifetime":"uint32","max_authority_depth":"uint16","max_transaction_exec_time":"uint32","max_inline_depth":"uint16","max_inline_action_size":"uint32","max_generated_transaction_size":"uint32"}},"type_def":{"base":"","fields":{"new_type_name":"type_name","type":"type_name"}},"struct_def":{"base":"","fields":{"name":"type_name","base":"type_name","fields":"field_def[]"}},"clause_pair":{"base":"","fields":{"id":"string","body":"string"}},"error_message":{"base":"","fields":{"error_code":"uint64","error_msg":"string"}},"abi_def":{"base":"","fields":{"version":"string","types":"type_def[]","structs":"struct_def[]","actions":"action_def[]","tables":"table_def[]","ricardian_clauses":"clause_pair[]","error_messages":"error_message[]","abi_extensions":"extensions_type[]"}},"table_def":{"base":"","fields":{"name":"table_name","index_type":"type_name","key_names":"field_name[]","key_types":"type_name[]","type":"type_name"}},"permission_level":{"base":"","fields":{"actor":"account_name","permission":"permission_name"}},"action":{"base":"","fields":{"account":"account_name","name":"action_name","authorization":"permission_level[]","data":"bytes"}},"action_def":{"base":"","fields":{"name":"action_name","type":"type_name","ricardian_contract":"string"}},"block_header":{"base":"","fields":{"previous":"checksum256","timestamp":"timestamp","transaction_mroot":"checksum256","action_mroot":"checksum256","block_mroot":"checksum256","producer":"account_name","schedule_version":"uint32","new_producers":"producer_schedule?"}},"packed_transaction":{"fields":{"signatures":"signature[]","compression":"uint8","packed_context_free_data":"bytes","packed_trx":"bytes"}}}')},function(e,t,r){"use strict";(function(t){var n,A=r(289),i=(n=A)&&n.__esModule?n:{default:n};var o=r(36),a=r(511);e.exports=function(e,r){r.abiCache={abiAsync:function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(o.equal(void 0===t?"undefined":(0,i.default)(t),"string","account string required"),0==r&&null!=A[t])return Promise.resolve(A[t]);if(null==e){var n=A[t];return o(n,"Missing ABI for account: "+t+", provide httpEndpoint or add to abiCache"),Promise.resolve(n)}return e.getAbi(t).then(function(e){return o(e.abi,"Missing ABI for account: "+t),s(t,e.abi)})},abi:s};var n=Object.assign({},{defaults:!0},r),A={};function s(e,r){if(o.equal(void 0===e?"undefined":(0,i.default)(e),"string","account string required"),r){o.equal(void 0===r?"undefined":(0,i.default)(r),"object","abi"),t.isBuffer(r)&&(r=JSON.parse(r));var s=function(e,t){var r={};e.types&&e.types.forEach(function(e){r[e.new_type_name]=e.type});e.structs&&e.structs.forEach(function(e){var t={},n=!0,A=!1,i=void 0;try{for(var o,a=e.fields[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;t[s.name]=s.type}}catch(e){A=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(A)throw i}}r[e.name]={base:e.base,fields:t},""===e.base&&delete r[e.name].base});e.actions&&e.actions.forEach(function(e){var n=r[e.type];n?n.action={name:e.name,account:t}:console.error("Missing abiSchema type",e.type,t)});return r}(r,e),u=a(n,s);return A[e]=Object.assign({abi:r,schema:s},u)}var l=A[e];if(null==l)throw new Error("Abi '"+e+"' is not cached");return l}return r.abiCache}}).call(this,r(8).Buffer)},function(e,t,r){"use strict";(function(t){var n=o(r(512)),A=o(r(927)),i=o(r(289));function o(e){return e&&e.__esModule?e:{default:e}}var a=r(36),s=r(47),u=r(338),l=r(45),c=r(937).processArgs;r(511);e.exports=function(e,r,o,B,C){if("string"!=typeof B.chainId)throw new TypeError("config.chainId is required");var m=function(e,r,o,B){var C=function(e,t){return function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];var s,u,l,c,f,g,h,p,I,B,C,y,E,b,v,D,M,k,_,S,N;return A.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:if(s=void 0,u=void 0,l=void 0,null==r[r.length-1]&&(r=r.slice(0,r.length-1)),!(c=d(r[0]))){e.next=8;break}s=r[0],r=r.slice(1),e.next=39;break;case 8:if("string"!=typeof r[0]){e.next=13;break}s=[r[0]],r=r.slice(1),e.next=39;break;case 13:if("object"!==(0,i.default)(r[0])||!Array.isArray(r[0].actions)){e.next=39;break}for(f=new Set,g=!0,h=!1,p=void 0,e.prev=18,I=r[0].actions[Symbol.iterator]();!(g=(B=I.next()).done);g=!0)C=B.value,f.add(C.account);e.next=26;break;case 22:e.prev=22,e.t0=e.catch(18),h=!0,p=e.t0;case 26:e.prev=26,e.prev=27,!g&&I.return&&I.return();case 29:if(e.prev=29,!h){e.next=32;break}throw p;case 32:return e.finish(29);case 33:return e.finish(26);case 34:return y=[],E=new Set(["eosio","eosio.token","eosio.null"]),f.forEach(function(e){E.has(e)||y.push(o.abiCache.abiAsync(e))}),e.next=39,A.default.awrap(Promise.all(y));case 39:if(r.length>1&&"function"==typeof r[r.length-1]&&(l=r.pop()),r.length>1&&"object"===(0,i.default)(r[r.length-1])&&(u=r.pop()),a.equal(r.length,1,"transaction args: contracts<string|array>, transaction<callback|object>, [options], [callback]"),b=r[0],!s){e.next=67;break}for(a(!l,"callback with contracts are not supported"),a.equal("function",void 0===b?"undefined":(0,i.default)(b),"provide function callback following contracts array parameter"),v=[],D=!0,M=!1,k=void 0,e.prev=50,_=s[Symbol.iterator]();!(D=(S=_.next()).done);D=!0)N=S.value,v.push(m(N,t.transaction));e.next=58;break;case 54:e.prev=54,e.t1=e.catch(50),M=!0,k=e.t1;case 58:e.prev=58,e.prev=59,!D&&_.return&&_.return();case 61:if(e.prev=61,!M){e.next=64;break}throw k;case 64:return e.finish(61);case 65:return e.finish(58);case 66:return e.abrupt("return",Promise.all(v).then(function(e){var t={};e.forEach(function(e,r){t[s[r]]=e});var r=c?t:t[s[0]];return Q(b,u,r)}));case 67:if("function"!=typeof b){e.next=69;break}return e.abrupt("return",Q(b,u,t));case 69:if("object"!==(void 0===b?"undefined":(0,i.default)(b))){e.next=71;break}return e.abrupt("return",w(b,u,l));case 71:throw new Error("first transaction argument unrecognized",b);case 72:case"end":return e.stop()}},null,this,[[18,22,26,34],[27,,29,33],[50,54,58,66],[59,,61,65]])}};function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return o.abiCache.abiAsync(e).then(function(r){a(Array.isArray(r.abi.actions)&&r.abi.actions.length,"No actions");var n={};return n.transaction=t||C(r.structs,n),r.abi.actions.forEach(function(t){var A=t.name,i=t.type,o=I(r.schema,i);n[A]=y(i,o,n.transaction,e,A)}),n.fc=r,n})}function y(t,r,A){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"eosio.token",u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:t;return function(){for(var l=arguments.length,f=Array(l),d=0;d<l;d++)f[d]=arguments[d];if(0!==f.length){var p={},I=f[f.length-1];"object"===(void 0===I?"undefined":(0,i.default)(I))&&"object"===(0,i.default)(I.__optionOverrides)&&Object.assign(p,f.pop().__optionOverrides);var B=c(f,Object.keys(r),t,g),C=B.options,m=B.params,y=B.returnPromise,Q=B.callback,w={broadcast:o.broadcast,sign:o.sign};if(C=Object.assign({},w,C,p),p.noCallback&&!y)throw new Error("Callback during a transaction are not supported");var E=[],b=C.authorization?C.authorization:o.authorization,v=null==b;if(b){var D=void 0;"string"==typeof b?D=[b]:Array.isArray(b)&&(D=b),D&&D.forEach(function(e){if("string"==typeof e){var t=e.split("@"),r=(0,n.default)(t,2),A=r[0],o=r[1],a=void 0===o?"active":o;""===A&&(A=_()),A&&E.push({actor:A,permission:a})}else"object"===(void 0===e?"undefined":(0,i.default)(e))&&E.push(e)}),a.equal(E.length,D.length,"invalid authorization in: "+JSON.stringify(b))}var M={actions:[{account:s,name:u,authorization:E,data:m}]};if(v){var k=_();k&&M.actions[0].authorization.push({actor:k,permission:"active"})}return M.actions[0].authorization.sort(function(e,t){return e.actor>t.actor?1:e.actor<t.actor?-1:0}),p.messageOnly?Q(null,M):A(M,C,Q),y}function _(){var e=Object.keys(r)[0];if("account_name"===r[e])return m[e]}console.log(h({name:u,type:t},r,e,s,o))}}function Q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2];a.equal("function",void 0===e?"undefined":(0,i.default)(e),"trCallback"),a.equal("object",void 0===t?"undefined":(0,i.default)(t),"options"),a.equal("object",void 0===r?"undefined":(0,i.default)(r),"merges"),a(!Array.isArray(r),"merges should not be an array"),a.equal("function",(0,i.default)(w),"transaction");var A=[],o={},s=function(e){return function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=e.apply(void 0,r.concat([{__optionOverrides:{broadcast:!1,messageOnly:!0,noCallback:!0}}]));if(null==i)throw new Error("Callbacks can not be used when creating a multi-action transaction");A.push(i)}};for(var u in r){var l=r[u],c=u.replace(/\./,"_");if("function"==typeof l)o[c]=s(l);else if("object"===(void 0===l?"undefined":(0,i.default)(l)))for(var f in null==o[c]&&(o[c]={}),l)"transaction"!==f&&(o[c][f]=s(l[f]))}var d=void 0;try{d=e(o)}catch(e){d=Promise.reject(e)}return Promise.resolve(d).then(function(){return Promise.all(A).then(function(e){var r=[],A=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(A=(a=s.next()).done);A=!0){var u=a.value,l=(0,n.default)(u.actions,1)[0];r.push(l)}}catch(e){i=!0,o=e}finally{try{!A&&s.return&&s.return()}finally{if(i)throw o}}var c={};return c.actions=r,w(c,t)})})}function w(e,n,c){var d,g,h,I,C,m,y,Q,w,E,b,v,D,M,k,_;return A.default.async(function(S){for(;;)switch(S.prev=S.next){case 0:if(d=o.expireInSeconds?o.expireInSeconds:60,g={expireInSeconds:d,broadcast:!0,sign:!0},n=Object.assign({},g,n),h=void 0,"function"!=typeof c&&(h=new Promise(function(e,t){c=function(r,n){r?t(r):e(n)}})),"object"===(void 0===e?"undefined":(0,i.default)(e))){S.next=7;break}throw new TypeError("First transaction argument should be an object or function");case 7:if(Array.isArray(e.actions)){S.next=9;break}throw new TypeError("Expecting actions array");case 9:if((o.logger.log||o.logger.error)&&(I=c,c=function(e,t){e&&o.logger.error&&o.logger.error(e),o.logger.log&&o.logger.log(JSON.stringify(t)),I(e,t)}),e.actions.forEach(function(e){if(!Array.isArray(e.authorization))throw new TypeError("Expecting action.authorization array",e)}),!n.sign||"function"==typeof o.signProvider){S.next=13;break}throw new TypeError("Expecting config.signProvider function (disable using {sign: false})");case 13:if(C={max_net_usage_words:0,max_cpu_usage_ms:0,delay_sec:0,context_free_actions:[],actions:[],signatures:[],transaction_extensions:[]},!o.transactionHeaders){S.next=25;break}if("object"!==(0,i.default)(o.transactionHeaders)){S.next=19;break}Object.assign(C,o.transactionHeaders),S.next=25;break;case 19:if("function"!=typeof o.transactionHeaders){S.next=24;break}return S.next=22,A.default.awrap(o.transactionHeaders(n.expireInSeconds,p(c,o.logger,function(e){return A.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:a.equal(void 0===e?"undefined":(0,i.default)(e),"object","expecting transaction header object"),Object.assign(C,e);case 2:case"end":return t.stop()}},null,this)})));case 22:S.next=25;break;case 24:a(!1,"config.transactionHeaders should be an object or function");case 25:for(m=["expiration","ref_block_num","ref_block_prefix","delay_sec","max_net_usage_words","max_cpu_usage_ms"],y=0;y<m.length;y++)void 0!==e[Q=m[y]]?C[Q]=e[Q]:void 0!==n[Q]&&(C[Q]=n[Q]);if(void 0!==C.expiration&&void 0!==C.ref_block_num&&void 0!==C.ref_block_prefix){S.next=31;break}return a(r,"Network is required, provide httpEndpoint or own transaction headers"),S.next=31,A.default.awrap(new Promise(function(e){r.createTransaction(n.expireInSeconds,p(c,o.logger,function(t){var r,n,i;return A.default.async(function(A){for(;;)switch(A.prev=A.next){case 0:for(r=["expiration","ref_block_num","ref_block_prefix"],n=0;n<r.length;n++)void 0===C[i=r[n]]&&(C[i]=t[i]);e();case 3:case"end":return A.stop()}},null,this)}))}));case 31:return a.equal((0,i.default)(C.expiration),"string","expecting expiration: iso date time string"),a.equal((0,i.default)(C.ref_block_num),"number","expecting ref_block_num number"),a.equal((0,i.default)(C.ref_block_prefix),"number","expecting ref_block_prefix number"),C.context_free_actions=e.context_free_actions,C.actions=e.actions,C.transaction_extensions=e.transaction_extensions,w=B.fromObject(C),E=u.toBuffer(B,w),b=B.toObject(w),v=l("sha256").update(E).digest().toString("hex"),D=[],n.sign&&(M=t.from(o.chainId,"hex"),k=t.from(new Uint8Array(32)),_=t.concat([M,E,k]),D=o.signProvider({transaction:b,buf:_,sign:f,optionsKeyProvider:n.keyProvider}),Array.isArray(D)||(D=[D])),Promise.all(D).then(function(e){e=[].concat.apply([],e);for(var t=0;t<e.length;t++){var A=e[t];"string"==typeof A&&130===A.length&&(e[t]=s.Signature.from(A).toString())}var i={compression:"none",transaction:b,signatures:e},u=o.mockTransactions?o.mockTransactions():null;if(null==u)n.broadcast&&r?r.pushTransaction(i,function(e,t){e?(o.logger.error&&o.logger.error("[push_transaction error] '"+e.message+"', transaction '"+E.toString("hex")+"'"),c(e.message)):c(null,Object.assign({broadcast:!0,transaction:i,transaction_id:v},t))}):c(null,{transaction_id:v,broadcast:!1,transaction:i});else if(a(/pass|fail/.test(u),"mockTransactions should return a string: pass or fail"),"pass"===u&&c(null,{transaction_id:v,mockTransaction:!0,broadcast:!1,transaction:i}),"fail"===u){var l="[push_transaction mock error] 'fake error', digest '"+E.toString("hex")+"'";o.logger.error&&o.logger.error(l),c(l)}}).catch(function(e){o.logger.error&&o.logger.error(e),c(e)}),S.abrupt("return",h);case 45:case"end":return S.stop()}},null,this)}return{genTransaction:C,genContractActions:m,genMethod:y}}(e,r,B,o.transaction),y=new Set(["transaction","contract"]),Q={};Q.transaction=m.genTransaction(o,Q);var w=!0,E=!1,b=void 0;try{for(var v,D=C[Symbol.iterator]();!(w=(v=D.next()).done);w=!0){var M=v.value;for(var k in M.schema){var _=M.schema[k];if("string"!=typeof _){a.equal(void 0===_?"undefined":(0,i.default)(_),"object","abi.schema[type = "+k+"]");var S=_.action;if(void 0!==S){if(y.has(S.name))throw new TypeError("Conflicting Api function: "+k);var N=I(M.schema,k);Q[S.name]=m.genMethod(k,N,Q.transaction,S.account,S.name)}}}}}catch(e){E=!0,b=e}finally{try{!w&&D.return&&D.return()}finally{if(E)throw b}}return Q.contract=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=c(t,["account"],"contract",g),A=n.params,i=(n.options,n.returnPromise),o=n.callback,a=A.account;return m.genContractActions(a).then(function(e){o(null,e)}).catch(function(e){o(e)}),i},Q};var f=s.sign;var d=function(e){return Array.isArray(e)&&e.length>0&&-1===e.findIndex(function(e){return"string"!=typeof e})},g=function(e){return"object"===(void 0===e?"undefined":(0,i.default)(e))?e:"boolean"==typeof e?{broadcast:e}:void 0};function h(e,t,r,n,A){var i="",o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";i+=e+"\n"};o("CONTRACT"),o(n),o(),o("ACTION"),o(e.name),o();var a=A.abiCache.abi(n);o("PARAMETERS"),o(JSON.stringify(I(a.schema,e.type),null,4)),o();var s=a.structs[e.type];return o("EXAMPLE"),o(n+"."+e.name+"("+JSON.stringify(s.toObject(),null,4)+")"),i}var p=function(e,t,r){return function(n,A){n?(t.error&&t.error("error",n),e(n)):Promise.resolve(r(A)).catch(function(t){e(t)})}};function I(e,t){var r=e[t],n=r.base,A=r.fields,i={};return n&&""!==n&&Object.assign(i,I(e,n)),Object.assign(i,A),i}}).call(this,r(8).Buffer)},function(e){e.exports=JSON.parse('{"version":"eosio::abi/1.0","types":[{"new_type_name":"account_name","type":"name"}],"structs":[{"name":"transfer","base":"","fields":[{"name":"from","type":"account_name"},{"name":"to","type":"account_name"},{"name":"quantity","type":"asset"},{"name":"memo","type":"string"}]},{"name":"create","base":"","fields":[{"name":"issuer","type":"account_name"},{"name":"maximum_supply","type":"asset"}]},{"name":"issue","base":"","fields":[{"name":"to","type":"account_name"},{"name":"quantity","type":"asset"},{"name":"memo","type":"string"}]},{"name":"account","base":"","fields":[{"name":"balance","type":"asset"}]},{"name":"currency_stats","base":"","fields":[{"name":"supply","type":"asset"},{"name":"max_supply","type":"asset"},{"name":"issuer","type":"account_name"}]}],"actions":[{"name":"transfer","type":"transfer","ricardian_contract":""},{"name":"issue","type":"issue","ricardian_contract":""},{"name":"create","type":"create","ricardian_contract":""}],"tables":[{"name":"accounts","type":"account","index_type":"i64","key_names":["currency"],"key_types":["uint64"]},{"name":"stat","type":"currency_stats","index_type":"i64","key_names":["currency"],"key_types":["uint64"]}],"ricardian_clauses":[],"abi_extensions":[]}')},function(e){e.exports=JSON.parse('{"version":"eosio::abi/1.0","types":[{"new_type_name":"account_name","type":"name"},{"new_type_name":"permission_name","type":"name"},{"new_type_name":"action_name","type":"name"},{"new_type_name":"transaction_id_type","type":"checksum256"},{"new_type_name":"weight_type","type":"uint16"}],"____comment":"eosio.bios structs: set_account_limits, setpriv, set_global_limits, producer_key, set_producers, require_auth are provided so abi available for deserialization in future.","structs":[{"name":"permission_level","base":"","fields":[{"name":"actor","type":"account_name"},{"name":"permission","type":"permission_name"}]},{"name":"key_weight","base":"","fields":[{"name":"key","type":"public_key"},{"name":"weight","type":"weight_type"}]},{"name":"bidname","base":"","fields":[{"name":"bidder","type":"account_name"},{"name":"newname","type":"account_name"},{"name":"bid","type":"asset"}]},{"name":"permission_level_weight","base":"","fields":[{"name":"permission","type":"permission_level"},{"name":"weight","type":"weight_type"}]},{"name":"wait_weight","base":"","fields":[{"name":"wait_sec","type":"uint32"},{"name":"weight","type":"weight_type"}]},{"name":"authority","base":"","fields":[{"name":"threshold","type":"uint32"},{"name":"keys","type":"key_weight[]"},{"name":"accounts","type":"permission_level_weight[]"},{"name":"waits","type":"wait_weight[]"}]},{"name":"newaccount","base":"","fields":[{"name":"creator","type":"account_name"},{"name":"name","type":"account_name"},{"name":"owner","type":"authority"},{"name":"active","type":"authority"}]},{"name":"setcode","base":"","fields":[{"name":"account","type":"account_name"},{"name":"vmtype","type":"uint8"},{"name":"vmversion","type":"uint8"},{"name":"code","type":"bytes"}]},{"name":"setabi","base":"","fields":[{"name":"account","type":"account_name"},{"name":"abi","type":"bytes"}]},{"name":"updateauth","base":"","fields":[{"name":"account","type":"account_name"},{"name":"permission","type":"permission_name"},{"name":"parent","type":"permission_name"},{"name":"auth","type":"authority"}]},{"name":"deleteauth","base":"","fields":[{"name":"account","type":"account_name"},{"name":"permission","type":"permission_name"}]},{"name":"linkauth","base":"","fields":[{"name":"account","type":"account_name"},{"name":"code","type":"account_name"},{"name":"type","type":"action_name"},{"name":"requirement","type":"permission_name"}]},{"name":"unlinkauth","base":"","fields":[{"name":"account","type":"account_name"},{"name":"code","type":"account_name"},{"name":"type","type":"action_name"}]},{"name":"canceldelay","base":"","fields":[{"name":"canceling_auth","type":"permission_level"},{"name":"trx_id","type":"transaction_id_type"}]},{"name":"onerror","base":"","fields":[{"name":"sender_id","type":"uint128"},{"name":"sent_trx","type":"bytes"}]},{"name":"buyrambytes","base":"","fields":[{"name":"payer","type":"account_name"},{"name":"receiver","type":"account_name"},{"name":"bytes","type":"uint32"}]},{"name":"sellram","base":"","fields":[{"name":"account","type":"account_name"},{"name":"bytes","type":"uint64"}]},{"name":"buyram","base":"","fields":[{"name":"payer","type":"account_name"},{"name":"receiver","type":"account_name"},{"name":"quant","type":"asset"}]},{"name":"delegatebw","base":"","fields":[{"name":"from","type":"account_name"},{"name":"receiver","type":"account_name"},{"name":"stake_net_quantity","type":"asset"},{"name":"stake_cpu_quantity","type":"asset"},{"name":"transfer","type":"bool"}]},{"name":"undelegatebw","base":"","fields":[{"name":"from","type":"account_name"},{"name":"receiver","type":"account_name"},{"name":"unstake_net_quantity","type":"asset"},{"name":"unstake_cpu_quantity","type":"asset"}]},{"name":"refund","base":"","fields":[{"name":"owner","type":"account_name"}]},{"name":"delegated_bandwidth","base":"","fields":[{"name":"from","type":"account_name"},{"name":"to","type":"account_name"},{"name":"net_weight","type":"asset"},{"name":"cpu_weight","type":"asset"}]},{"name":"user_resources","base":"","fields":[{"name":"owner","type":"account_name"},{"name":"net_weight","type":"asset"},{"name":"cpu_weight","type":"asset"},{"name":"ram_bytes","type":"uint64"}]},{"name":"total_resources","base":"","fields":[{"name":"owner","type":"account_name"},{"name":"net_weight","type":"asset"},{"name":"cpu_weight","type":"asset"},{"name":"ram_bytes","type":"uint64"}]},{"name":"refund_request","base":"","fields":[{"name":"owner","type":"account_name"},{"name":"request_time","type":"time_point_sec"},{"name":"net_amount","type":"asset"},{"name":"cpu_amount","type":"asset"}]},{"name":"blockchain_parameters","base":"","fields":[{"name":"max_block_net_usage","type":"uint64"},{"name":"target_block_net_usage_pct","type":"uint32"},{"name":"max_transaction_net_usage","type":"uint32"},{"name":"base_per_transaction_net_usage","type":"uint32"},{"name":"net_usage_leeway","type":"uint32"},{"name":"context_free_discount_net_usage_num","type":"uint32"},{"name":"context_free_discount_net_usage_den","type":"uint32"},{"name":"max_block_cpu_usage","type":"uint32"},{"name":"target_block_cpu_usage_pct","type":"uint32"},{"name":"max_transaction_cpu_usage","type":"uint32"},{"name":"min_transaction_cpu_usage","type":"uint32"},{"name":"max_transaction_lifetime","type":"uint32"},{"name":"deferred_trx_expiration_window","type":"uint32"},{"name":"max_transaction_delay","type":"uint32"},{"name":"max_inline_action_size","type":"uint32"},{"name":"max_inline_action_depth","type":"uint16"},{"name":"max_authority_depth","type":"uint16"}]},{"name":"eosio_global_state","base":"blockchain_parameters","fields":[{"name":"max_ram_size","type":"uint64"},{"name":"total_ram_bytes_reserved","type":"uint64"},{"name":"total_ram_stake","type":"int64"},{"name":"last_producer_schedule_update","type":"block_timestamp_type"},{"name":"last_pervote_bucket_fill","type":"uint64"},{"name":"pervote_bucket","type":"int64"},{"name":"perblock_bucket","type":"int64"},{"name":"total_unpaid_blocks","type":"uint32"},{"name":"total_activated_stake","type":"int64"},{"name":"thresh_activated_stake_time","type":"uint64"},{"name":"last_producer_schedule_size","type":"uint16"},{"name":"total_producer_vote_weight","type":"float64"},{"name":"last_name_close","type":"block_timestamp_type"}]},{"name":"producer_info","base":"","fields":[{"name":"owner","type":"account_name"},{"name":"total_votes","type":"float64"},{"name":"producer_key","type":"public_key"},{"name":"is_active","type":"bool"},{"name":"url","type":"string"},{"name":"unpaid_blocks","type":"uint32"},{"name":"last_claim_time","type":"uint64"},{"name":"location","type":"uint16"}]},{"name":"regproducer","base":"","fields":[{"name":"producer","type":"account_name"},{"name":"producer_key","type":"public_key"},{"name":"url","type":"string"},{"name":"location","type":"uint16"}]},{"name":"unregprod","base":"","fields":[{"name":"producer","type":"account_name"}]},{"name":"setram","base":"","fields":[{"name":"max_ram_size","type":"uint64"}]},{"name":"regproxy","base":"","fields":[{"name":"proxy","type":"account_name"},{"name":"isproxy","type":"bool"}]},{"name":"voteproducer","base":"","fields":[{"name":"voter","type":"account_name"},{"name":"proxy","type":"account_name"},{"name":"producers","type":"account_name[]"}]},{"name":"voter_info","base":"","fields":[{"name":"owner","type":"account_name"},{"name":"proxy","type":"account_name"},{"name":"producers","type":"account_name[]"},{"name":"staked","type":"int64"},{"name":"last_vote_weight","type":"float64"},{"name":"proxied_vote_weight","type":"float64"},{"name":"is_proxy","type":"bool"}]},{"name":"claimrewards","base":"","fields":[{"name":"owner","type":"account_name"}]},{"name":"setpriv","base":"","fields":[{"name":"account","type":"account_name"},{"name":"is_priv","type":"int8"}]},{"name":"rmvproducer","base":"","fields":[{"name":"producer","type":"account_name"}]},{"name":"set_account_limits","base":"","fields":[{"name":"account","type":"account_name"},{"name":"ram_bytes","type":"int64"},{"name":"net_weight","type":"int64"},{"name":"cpu_weight","type":"int64"}]},{"name":"set_global_limits","base":"","fields":[{"name":"cpu_usec_per_period","type":"int64"}]},{"name":"producer_key","base":"","fields":[{"name":"producer_name","type":"account_name"},{"name":"block_signing_key","type":"public_key"}]},{"name":"set_producers","base":"","fields":[{"name":"schedule","type":"producer_key[]"}]},{"name":"require_auth","base":"","fields":[{"name":"from","type":"account_name"}]},{"name":"setparams","base":"","fields":[{"name":"params","type":"blockchain_parameters"}]},{"name":"connector","base":"","fields":[{"name":"balance","type":"asset"},{"name":"weight","type":"float64"}]},{"name":"exchange_state","base":"","fields":[{"name":"supply","type":"asset"},{"name":"base","type":"connector"},{"name":"quote","type":"connector"}]},{"name":"namebid_info","base":"","fields":[{"name":"newname","type":"account_name"},{"name":"high_bidder","type":"account_name"},{"name":"high_bid","type":"int64"},{"name":"last_bid_time","type":"uint64"}]}],"actions":[{"name":"newaccount","type":"newaccount","ricardian_contract":""},{"name":"setcode","type":"setcode","ricardian_contract":""},{"name":"setabi","type":"setabi","ricardian_contract":""},{"name":"updateauth","type":"updateauth","ricardian_contract":""},{"name":"deleteauth","type":"deleteauth","ricardian_contract":""},{"name":"linkauth","type":"linkauth","ricardian_contract":""},{"name":"unlinkauth","type":"unlinkauth","ricardian_contract":""},{"name":"canceldelay","type":"canceldelay","ricardian_contract":""},{"name":"onerror","type":"onerror","ricardian_contract":""},{"name":"buyrambytes","type":"buyrambytes","ricardian_contract":""},{"name":"buyram","type":"buyram","ricardian_contract":""},{"name":"sellram","type":"sellram","ricardian_contract":""},{"name":"delegatebw","type":"delegatebw","ricardian_contract":""},{"name":"undelegatebw","type":"undelegatebw","ricardian_contract":""},{"name":"refund","type":"refund","ricardian_contract":""},{"name":"regproducer","type":"regproducer","ricardian_contract":""},{"name":"setram","type":"setram","ricardian_contract":""},{"name":"bidname","type":"bidname","ricardian_contract":""},{"name":"unregprod","type":"unregprod","ricardian_contract":""},{"name":"regproxy","type":"regproxy","ricardian_contract":""},{"name":"voteproducer","type":"voteproducer","ricardian_contract":""},{"name":"claimrewards","type":"claimrewards","ricardian_contract":""},{"name":"setpriv","type":"setpriv","ricardian_contract":""},{"name":"rmvproducer","type":"rmvproducer","ricardian_contract":""},{"name":"setalimits","type":"set_account_limits","ricardian_contract":""},{"name":"setglimits","type":"set_global_limits","ricardian_contract":""},{"name":"setprods","type":"set_producers","ricardian_contract":""},{"name":"reqauth","type":"require_auth","ricardian_contract":""},{"name":"setparams","type":"setparams","ricardian_contract":""}],"tables":[{"name":"producers","type":"producer_info","index_type":"i64","key_names":["owner"],"key_types":["uint64"]},{"name":"global","type":"eosio_global_state","index_type":"i64","key_names":[],"key_types":[]},{"name":"voters","type":"voter_info","index_type":"i64","key_names":["owner"],"key_types":["account_name"]},{"name":"userres","type":"user_resources","index_type":"i64","key_names":["owner"],"key_types":["uint64"]},{"name":"delband","type":"delegated_bandwidth","index_type":"i64","key_names":["to"],"key_types":["uint64"]},{"name":"rammarket","type":"exchange_state","index_type":"i64","key_names":["supply"],"key_types":["uint64"]},{"name":"refunds","type":"refund_request","index_type":"i64","key_names":["owner"],"key_types":["uint64"]},{"name":"namebids","type":"namebid_info","index_type":"i64","key_names":["newname"],"key_types":["account_name"]}],"ricardian_clauses":[],"abi_extensions":[]}')},function(e){e.exports=JSON.parse('{"version":"eosio::abi/1.0","types":[],"structs":[{"name":"nonce","base":"","fields":[{"name":"value","type":"string"}]}],"actions":[{"name":"nonce","type":"nonce","ricardian_contract":""}],"tables":[],"ricardian_clauses":[],"abi_extensions":[]}')},function(e,t,r){
/*!
 * web3.js - Ethereum JavaScript API
 *
 * @license lgpl-3.0
 * @see https://github.com/ethereum/web3.js
*/
var n=r(1681),A=r(347),i=r(1706),o=r(1725),a=r(1726),s=r(1727),u=r(1728),l=r(1729),c=r(1730),f=r(1731),d=r(75),g=r(294),h=r(1732),p=r(1733),I=r(238),B=r(1734),C=r(1751),m=r(293);function y(e){this._requestManager=new n(e),this.currentProvider=e,this.eth=new i(this),this.db=new o(this),this.shh=new a(this),this.net=new s(this),this.personal=new u(this),this.bzz=new l(this),this.settings=new c,this.version={api:f.version},this.providers={HttpProvider:B,IpcProvider:C},this._extend=h(this),this._extend({properties:Q()})}y.providers={HttpProvider:B,IpcProvider:C},y.prototype.setProvider=function(e){this._requestManager.setProvider(e),this.currentProvider=e},y.prototype.reset=function(e){this._requestManager.reset(e),this.settings=new c},y.prototype.BigNumber=m,y.prototype.toHex=d.toHex,y.prototype.toAscii=d.toAscii,y.prototype.toUtf8=d.toUtf8,y.prototype.fromAscii=d.fromAscii,y.prototype.fromUtf8=d.fromUtf8,y.prototype.toDecimal=d.toDecimal,y.prototype.fromDecimal=d.fromDecimal,y.prototype.toBigNumber=d.toBigNumber,y.prototype.toWei=d.toWei,y.prototype.fromWei=d.fromWei,y.prototype.isAddress=d.isAddress,y.prototype.isChecksumAddress=d.isChecksumAddress,y.prototype.toChecksumAddress=d.toChecksumAddress,y.prototype.isIBAN=d.isIBAN,y.prototype.padLeft=d.padLeft,y.prototype.padRight=d.padRight,y.prototype.sha3=function(e,t){return"0x"+g(e,t)},y.prototype.fromICAP=function(e){return new A(e).address()};var Q=function(){return[new I({name:"version.node",getter:"web3_clientVersion"}),new I({name:"version.network",getter:"net_version",inputFormatter:d.toDecimal}),new I({name:"version.ethereum",getter:"eth_protocolVersion",inputFormatter:d.toDecimal}),new I({name:"version.whisper",getter:"shh_version",inputFormatter:d.toDecimal})]};y.prototype.isConnected=function(){return this.currentProvider&&this.currentProvider.isConnected()},y.prototype.createBatch=function(){return new p(this)},e.exports=y},function(e,t,r){var n=r(943),A=r(75),i=r(346),o=r(237),a=function(e){this.provider=e,this.polls={},this.timeout=null};a.prototype.send=function(e){if(!this.provider)return console.error(o.InvalidProvider()),null;var t=n.toPayload(e.method,e.params),r=this.provider.send(t);if(!n.isValidResponse(r))throw o.InvalidResponse(r);return r.result},a.prototype.sendAsync=function(e,t){if(!this.provider)return t(o.InvalidProvider());var r=n.toPayload(e.method,e.params);this.provider.sendAsync(r,function(e,r){return e?t(e):n.isValidResponse(r)?void t(null,r.result):t(o.InvalidResponse(r))})},a.prototype.sendBatch=function(e,t){if(!this.provider)return t(o.InvalidProvider());var r=n.toBatchPayload(e);this.provider.sendAsync(r,function(e,r){return e?t(e):A.isArray(r)?void t(e,r):t(o.InvalidResponse(r))})},a.prototype.setProvider=function(e){this.provider=e},a.prototype.startPolling=function(e,t,r,n){this.polls[t]={data:e,id:t,callback:r,uninstall:n},this.timeout||this.poll()},a.prototype.stopPolling=function(e){delete this.polls[e],0===Object.keys(this.polls).length&&this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},a.prototype.reset=function(e){for(var t in this.polls)e&&-1!==t.indexOf("syncPoll_")||(this.polls[t].uninstall(),delete this.polls[t]);0===Object.keys(this.polls).length&&this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},a.prototype.poll=function(){if(this.timeout=setTimeout(this.poll.bind(this),i.ETH_POLLING_TIMEOUT),0!==Object.keys(this.polls).length)if(this.provider){var e=[],t=[];for(var r in this.polls)e.push(this.polls[r].data),t.push(r);if(0!==e.length){var a=n.toBatchPayload(e),s={};a.forEach(function(e,r){s[e.id]=t[r]});var u=this;this.provider.sendAsync(a,function(e,t){if(!e){if(!A.isArray(t))throw o.InvalidResponse(t);t.map(function(e){var t=s[e.id];return!!u.polls[t]&&(e.callback=u.polls[t].callback,e)}).filter(function(e){return!!e}).filter(function(e){var t=n.isValidResponse(e);return t||e.callback(o.InvalidResponse(e)),t}).forEach(function(e){e.callback(null,e.result)})}})}}else console.error(o.InvalidProvider())},e.exports=a},function(e,t,r){var n;e.exports=(n=r(40),r(345),r(1683),r(1684),r(234),r(235),r(513),r(944),r(1685),r(945),r(1686),r(946),r(1687),r(514),r(1688),r(236),r(76),r(1689),r(1690),r(1691),r(1692),r(1693),r(1694),r(1695),r(1696),r(1697),r(1698),r(1699),r(1700),r(1701),r(1702),r(1703),r(1704),n)},function(e,t,r){var n;e.exports=(n=r(40),function(){if("function"==typeof ArrayBuffer){var e=n.lib.WordArray,t=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var r=e.byteLength,n=[],A=0;A<r;A++)n[A>>>2]|=e[A]<<24-A%4*8;t.call(this,n,r)}else t.apply(this,arguments)}).prototype=e}}(),n.lib.WordArray)},function(e,t,r){var n;e.exports=(n=r(40),function(){var e=n,t=e.lib.WordArray,r=e.enc;function A(e){return e<<8&4278255360|e>>>8&16711935}r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],A=0;A<r;A+=2){var i=t[A>>>2]>>>16-A%4*8&65535;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var r=e.length,n=[],A=0;A<r;A++)n[A>>>1]|=e.charCodeAt(A)<<16-A%2*16;return t.create(n,2*r)}},r.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var o=A(t[i>>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var r=e.length,n=[],i=0;i<r;i++)n[i>>>1]|=A(e.charCodeAt(i)<<16-i%2*16);return t.create(n,2*r)}}}(),n.enc.Utf16)},function(e,t,r){var n,A,i,o,a,s;e.exports=(s=r(40),r(944),A=(n=s).lib.WordArray,i=n.algo,o=i.SHA256,a=i.SHA224=o.extend({_doReset:function(){this._hash=new A.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}}),n.SHA224=o._createHelper(a),n.HmacSHA224=o._createHmacHelper(a),s.SHA224)},function(e,t,r){var n,A,i,o,a,s,u,l;e.exports=(l=r(40),r(345),r(945),A=(n=l).x64,i=A.Word,o=A.WordArray,a=n.algo,s=a.SHA512,u=a.SHA384=s.extend({_doReset:function(){this._hash=new o.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=16,e}}),n.SHA384=s._createHelper(u),n.HmacSHA384=s._createHmacHelper(u),l.SHA384)},function(e,t,r){var n;e.exports=(n=r(40),
/** @preserve
	(c) 2012 by Cédric Mesnil. All rights reserved.

	Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

	    - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
	    - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

	THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
	*/
function(e){var t=n,r=t.lib,A=r.WordArray,i=r.Hasher,o=t.algo,a=A.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=A.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),u=A.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=A.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),c=A.create([0,1518500249,1859775393,2400959708,2840853838]),f=A.create([1352829926,1548603684,1836072691,2053994217,0]),d=o.RIPEMD160=i.extend({_doReset:function(){this._hash=A.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,A=e[n];e[n]=16711935&(A<<8|A>>>24)|4278255360&(A<<24|A>>>8)}var i,o,d,m,y,Q,w,E,b,v,D,M=this._hash.words,k=c.words,_=f.words,S=a.words,N=s.words,F=u.words,x=l.words;for(Q=i=M[0],w=o=M[1],E=d=M[2],b=m=M[3],v=y=M[4],r=0;r<80;r+=1)D=i+e[t+S[r]]|0,D+=r<16?g(o,d,m)+k[0]:r<32?h(o,d,m)+k[1]:r<48?p(o,d,m)+k[2]:r<64?I(o,d,m)+k[3]:B(o,d,m)+k[4],D=(D=C(D|=0,F[r]))+y|0,i=y,y=m,m=C(d,10),d=o,o=D,D=Q+e[t+N[r]]|0,D+=r<16?B(w,E,b)+_[0]:r<32?I(w,E,b)+_[1]:r<48?p(w,E,b)+_[2]:r<64?h(w,E,b)+_[3]:g(w,E,b)+_[4],D=(D=C(D|=0,x[r]))+v|0,Q=v,v=b,b=C(E,10),E=w,w=D;D=M[1]+d+b|0,M[1]=M[2]+m+v|0,M[2]=M[3]+y+Q|0,M[3]=M[4]+i+w|0,M[4]=M[0]+o+E|0,M[0]=D},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var A=this._hash,i=A.words,o=0;o<5;o++){var a=i[o];i[o]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return A},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function g(e,t,r){return e^t^r}function h(e,t,r){return e&t|~e&r}function p(e,t,r){return(e|~t)^r}function I(e,t,r){return e&r|t&~r}function B(e,t,r){return e^(t|~r)}function C(e,t){return e<<t|e>>>32-t}t.RIPEMD160=i._createHelper(d),t.HmacRIPEMD160=i._createHmacHelper(d)}(Math),n.RIPEMD160)},function(e,t,r){var n,A,i,o,a,s,u,l,c;e.exports=(c=r(40),r(513),r(514),A=(n=c).lib,i=A.Base,o=A.WordArray,a=n.algo,s=a.SHA1,u=a.HMAC,l=a.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=u.create(r.hasher,e),A=o.create(),i=o.create([1]),a=A.words,s=i.words,l=r.keySize,c=r.iterations;a.length<l;){var f=n.update(t).finalize(i);n.reset();for(var d=f.words,g=d.length,h=f,p=1;p<c;p++){h=n.finalize(h),n.reset();for(var I=h.words,B=0;B<g;B++)d[B]^=I[B]}A.concat(f),s[0]++}return A.sigBytes=4*l,A}}),n.PBKDF2=function(e,t,r){return l.create(r).compute(e,t)},c.PBKDF2)},function(e,t,r){var n;e.exports=(n=r(40),r(76),n.mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();function t(e,t,r,n){var A=this._iv;if(A){var i=A.slice(0);this._iv=void 0}else i=this._prevBlock;n.encryptBlock(i,0);for(var o=0;o<r;o++)e[t+o]^=i[o]}return e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,A=n.blockSize;t.call(this,e,r,A,n),this._prevBlock=e.slice(r,r+A)}}),e.Decryptor=e.extend({processBlock:function(e,r){var n=this._cipher,A=n.blockSize,i=e.slice(r,r+A);t.call(this,e,r,A,n),this._prevBlock=i}}),e}(),n.mode.CFB)},function(e,t,r){var n,A,i;e.exports=(i=r(40),r(76),i.mode.CTR=(n=i.lib.BlockCipherMode.extend(),A=n.Encryptor=n.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,A=this._iv,i=this._counter;A&&(i=this._counter=A.slice(0),this._iv=void 0);var o=i.slice(0);r.encryptBlock(o,0),i[n-1]=i[n-1]+1|0;for(var a=0;a<n;a++)e[t+a]^=o[a]}}),n.Decryptor=A,n),i.mode.CTR)},function(e,t,r){var n;e.exports=(n=r(40),r(76),
/** @preserve
	 * Counter block mode compatible with  Dr Brian Gladman fileenc.c
	 * derived from CryptoJS.mode.CTR
	 * Jan Hruby jhruby.web@gmail.com
	 */
n.mode.CTRGladman=function(){var e=n.lib.BlockCipherMode.extend();function t(e){if(255==(e>>24&255)){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}else e+=1<<24;return e}var r=e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,A=n.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(o);var a=o.slice(0);n.encryptBlock(a,0);for(var s=0;s<A;s++)e[r+s]^=a[s]}});return e.Decryptor=r,e}(),n.mode.CTRGladman)},function(e,t,r){var n,A,i;e.exports=(i=r(40),r(76),i.mode.OFB=(n=i.lib.BlockCipherMode.extend(),A=n.Encryptor=n.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,A=this._iv,i=this._keystream;A&&(i=this._keystream=A.slice(0),this._iv=void 0),r.encryptBlock(i,0);for(var o=0;o<n;o++)e[t+o]^=i[o]}}),n.Decryptor=A,n),i.mode.OFB)},function(e,t,r){var n,A;e.exports=(A=r(40),r(76),A.mode.ECB=((n=A.lib.BlockCipherMode.extend()).Encryptor=n.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),n.Decryptor=n.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),n),A.mode.ECB)},function(e,t,r){var n;e.exports=(n=r(40),r(76),n.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,A=n-r%n,i=r+A-1;e.clamp(),e.words[i>>>2]|=A<<24-i%4*8,e.sigBytes+=A},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Ansix923)},function(e,t,r){var n;e.exports=(n=r(40),r(76),n.pad.Iso10126={pad:function(e,t){var r=4*t,A=r-e.sigBytes%r;e.concat(n.lib.WordArray.random(A-1)).concat(n.lib.WordArray.create([A<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)},function(e,t,r){var n;e.exports=(n=r(40),r(76),n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971)},function(e,t,r){var n;e.exports=(n=r(40),r(76),n.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){for(var t=e.words,r=e.sigBytes-1;!(t[r>>>2]>>>24-r%4*8&255);)r--;e.sigBytes=r+1}},n.pad.ZeroPadding)},function(e,t,r){var n;e.exports=(n=r(40),r(76),n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)},function(e,t,r){var n;e.exports=(n=r(40),r(76),function(e){var t=n,r=t.lib.CipherParams,A=t.enc.Hex;t.format.Hex={stringify:function(e){return e.ciphertext.toString(A)},parse:function(e){var t=A.parse(e);return r.create({ciphertext:t})}}}(),n.format.Hex)},function(e,t,r){var n;e.exports=(n=r(40),r(234),r(235),r(236),r(76),function(){var e=n,t=e.lib.BlockCipher,r=e.algo,A=[],i=[],o=[],a=[],s=[],u=[],l=[],c=[],f=[],d=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var g=n^n<<1^n<<2^n<<3^n<<4;g=g>>>8^255&g^99,A[r]=g,i[g]=r;var h=e[r],p=e[h],I=e[p],B=257*e[g]^16843008*g;o[r]=B<<24|B>>>8,a[r]=B<<16|B>>>16,s[r]=B<<8|B>>>24,u[r]=B,B=16843009*I^65537*p^257*h^16843008*r,l[g]=B<<24|B>>>8,c[g]=B<<16|B>>>16,f[g]=B<<8|B>>>24,d[g]=B,r?(r=h^e[e[e[I^h]]],n^=e[e[n]]):r=n=1}}();var g=[0,1,2,4,8,16,32,64,128,27,54],h=r.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),i=this._keySchedule=[],o=0;o<n;o++)if(o<r)i[o]=t[o];else{var a=i[o-1];o%r?r>6&&o%r==4&&(a=A[a>>>24]<<24|A[a>>>16&255]<<16|A[a>>>8&255]<<8|A[255&a]):(a=A[(a=a<<8|a>>>24)>>>24]<<24|A[a>>>16&255]<<16|A[a>>>8&255]<<8|A[255&a],a^=g[o/r|0]<<24),i[o]=i[o-r]^a}for(var s=this._invKeySchedule=[],u=0;u<n;u++)o=n-u,a=u%4?i[o]:i[o-4],s[u]=u<4||o<=4?a:l[A[a>>>24]]^c[A[a>>>16&255]]^f[A[a>>>8&255]]^d[A[255&a]]}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,o,a,s,u,A)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,l,c,f,d,i),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,A,i,o,a){for(var s=this._nRounds,u=e[t]^r[0],l=e[t+1]^r[1],c=e[t+2]^r[2],f=e[t+3]^r[3],d=4,g=1;g<s;g++){var h=n[u>>>24]^A[l>>>16&255]^i[c>>>8&255]^o[255&f]^r[d++],p=n[l>>>24]^A[c>>>16&255]^i[f>>>8&255]^o[255&u]^r[d++],I=n[c>>>24]^A[f>>>16&255]^i[u>>>8&255]^o[255&l]^r[d++],B=n[f>>>24]^A[u>>>16&255]^i[l>>>8&255]^o[255&c]^r[d++];u=h,l=p,c=I,f=B}h=(a[u>>>24]<<24|a[l>>>16&255]<<16|a[c>>>8&255]<<8|a[255&f])^r[d++],p=(a[l>>>24]<<24|a[c>>>16&255]<<16|a[f>>>8&255]<<8|a[255&u])^r[d++],I=(a[c>>>24]<<24|a[f>>>16&255]<<16|a[u>>>8&255]<<8|a[255&l])^r[d++],B=(a[f>>>24]<<24|a[u>>>16&255]<<16|a[l>>>8&255]<<8|a[255&c])^r[d++],e[t]=h,e[t+1]=p,e[t+2]=I,e[t+3]=B},keySize:8});e.AES=t._createHelper(h)}(),n.AES)},function(e,t,r){var n;e.exports=(n=r(40),r(234),r(235),r(236),r(76),function(){var e=n,t=e.lib,r=t.WordArray,A=t.BlockCipher,i=e.algo,o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],s=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],c=i.DES=A.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=o[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var A=this._subKeys=[],i=0;i<16;i++){var u=A[i]=[],l=s[i];for(r=0;r<24;r++)u[r/6|0]|=t[(a[r]-1+l)%28]<<31-r%6,u[4+(r/6|0)]|=t[28+(a[r+24]-1+l)%28]<<31-r%6;for(u[0]=u[0]<<1|u[0]>>>31,r=1;r<7;r++)u[r]=u[r]>>>4*(r-1)+3;u[7]=u[7]<<5|u[7]>>>27}var c=this._invSubKeys=[];for(r=0;r<16;r++)c[r]=A[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],f.call(this,4,252645135),f.call(this,16,65535),d.call(this,2,858993459),d.call(this,8,16711935),f.call(this,1,1431655765);for(var n=0;n<16;n++){for(var A=r[n],i=this._lBlock,o=this._rBlock,a=0,s=0;s<8;s++)a|=u[s][((o^A[s])&l[s])>>>0];this._lBlock=o,this._rBlock=i^a}var c=this._lBlock;this._lBlock=this._rBlock,this._rBlock=c,f.call(this,1,1431655765),d.call(this,8,16711935),d.call(this,2,858993459),f.call(this,16,65535),f.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function f(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function d(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}e.DES=A._createHelper(c);var g=i.TripleDES=A.extend({_doReset:function(){var e=this._key.words;this._des1=c.createEncryptor(r.create(e.slice(0,2))),this._des2=c.createEncryptor(r.create(e.slice(2,4))),this._des3=c.createEncryptor(r.create(e.slice(4,6)))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=A._createHelper(g)}(),n.TripleDES)},function(e,t,r){var n;e.exports=(n=r(40),r(234),r(235),r(236),r(76),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,A=r.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],A=0;A<256;A++)n[A]=A;A=0;for(var i=0;A<256;A++){var o=A%r,a=t[o>>>2]>>>24-o%4*8&255;i=(i+n[A]+a)%256;var s=n[A];n[A]=n[i],n[i]=s}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,r=this._j,n=0,A=0;A<4;A++){r=(r+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[r],e[r]=i,n|=e[(e[t]+e[r])%256]<<24-8*A}return this._i=t,this._j=r,n}e.RC4=t._createHelper(A);var o=r.RC4Drop=A.extend({cfg:A.cfg.extend({drop:192}),_doReset:function(){A._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});e.RC4Drop=t._createHelper(o)}(),n.RC4)},function(e,t,r){var n;e.exports=(n=r(40),r(234),r(235),r(236),r(76),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,A=[],i=[],o=[],a=r.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],A=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,r=0;r<4;r++)s.call(this);for(r=0;r<8;r++)A[r]^=n[r+4&7];if(t){var i=t.words,o=i[0],a=i[1],u=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=u>>>16|4294901760&l,f=l<<16|65535&u;for(A[0]^=u,A[1]^=c,A[2]^=l,A[3]^=f,A[4]^=u,A[5]^=c,A[6]^=l,A[7]^=f,r=0;r<4;r++)s.call(this)}},_doProcessBlock:function(e,t){var r=this._X;s.call(this),A[0]=r[0]^r[5]>>>16^r[3]<<16,A[1]=r[2]^r[7]>>>16^r[5]<<16,A[2]=r[4]^r[1]>>>16^r[7]<<16,A[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)A[n]=16711935&(A[n]<<8|A[n]>>>24)|4278255360&(A[n]<<24|A[n]>>>8),e[t+n]^=A[n]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],A=65535&n,a=n>>>16,s=((A*A>>>17)+A*a>>>15)+a*a,u=((4294901760&n)*n|0)+((65535&n)*n|0);o[r]=s^u}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}e.Rabbit=t._createHelper(a)}(),n.Rabbit)},function(e,t,r){var n;e.exports=(n=r(40),r(234),r(235),r(236),r(76),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,A=[],i=[],o=[],a=r.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var A=0;A<4;A++)s.call(this);for(A=0;A<8;A++)n[A]^=r[A+4&7];if(t){var i=t.words,o=i[0],a=i[1],u=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=u>>>16|4294901760&l,f=l<<16|65535&u;for(n[0]^=u,n[1]^=c,n[2]^=l,n[3]^=f,n[4]^=u,n[5]^=c,n[6]^=l,n[7]^=f,A=0;A<4;A++)s.call(this)}},_doProcessBlock:function(e,t){var r=this._X;s.call(this),A[0]=r[0]^r[5]>>>16^r[3]<<16,A[1]=r[2]^r[7]>>>16^r[5]<<16,A[2]=r[4]^r[1]>>>16^r[7]<<16,A[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)A[n]=16711935&(A[n]<<8|A[n]>>>24)|4278255360&(A[n]<<24|A[n]>>>8),e[t+n]^=A[n]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],A=65535&n,a=n>>>16,s=((A*A>>>17)+A*a>>>15)+a*a,u=((4294901760&n)*n|0)+((65535&n)*n|0);o[r]=s^u}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}e.RabbitLegacy=t._createHelper(a)}(),n.RabbitLegacy)},function(e,t,r){(function(e,n){var A;/*! https://mths.be/utf8js v2.1.2 by @mathias */!function(i){var o=t,a=(e&&e.exports,"object"==typeof n&&n);a.global!==a&&a.window;var s,u,l,c=String.fromCharCode;function f(e){for(var t,r,n=[],A=0,i=e.length;A<i;)(t=e.charCodeAt(A++))>=55296&&t<=56319&&A<i?56320==(64512&(r=e.charCodeAt(A++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),A--):n.push(t);return n}function d(e){if(e>=55296&&e<=57343)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value")}function g(e,t){return c(e>>t&63|128)}function h(e){if(0==(4294967168&e))return c(e);var t="";return 0==(4294965248&e)?t=c(e>>6&31|192):0==(4294901760&e)?(d(e),t=c(e>>12&15|224),t+=g(e,6)):0==(4292870144&e)&&(t=c(e>>18&7|240),t+=g(e,12),t+=g(e,6)),t+=c(63&e|128)}function p(){if(l>=u)throw Error("Invalid byte index");var e=255&s[l];if(l++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function I(){var e,t;if(l>u)throw Error("Invalid byte index");if(l==u)return!1;if(e=255&s[l],l++,0==(128&e))return e;if(192==(224&e)){if((t=(31&e)<<6|p())>=128)return t;throw Error("Invalid continuation byte")}if(224==(240&e)){if((t=(15&e)<<12|p()<<6|p())>=2048)return d(t),t;throw Error("Invalid continuation byte")}if(240==(248&e)&&(t=(7&e)<<18|p()<<12|p()<<6|p())>=65536&&t<=1114111)return t;throw Error("Invalid UTF-8 detected")}var B={version:"2.1.2",encode:function(e){for(var t=f(e),r=t.length,n=-1,A="";++n<r;)A+=h(t[n]);return A},decode:function(e){s=f(e),u=s.length,l=0;for(var t,r=[];!1!==(t=I());)r.push(t);return function(e){for(var t,r=e.length,n=-1,A="";++n<r;)(t=e[n])>65535&&(A+=c((t-=65536)>>>10&1023|55296),t=56320|1023&t),A+=c(t);return A}(r)}};void 0===(A=function(){return B}.call(t,r,t,e))||(e.exports=A)}()}).call(this,r(96)(e),r(34))},function(e,t,r){"use strict";var n=r(186),A=r(75),i=r(206),o=r(238),a=r(346),s=r(1707),u=r(349),l=r(348),c=r(1719),f=r(1720),d=r(347),g=r(1723),h=function(e){return A.isString(e[0])&&0===e[0].indexOf("0x")?"eth_getBlockByHash":"eth_getBlockByNumber"},p=function(e){return A.isString(e[0])&&0===e[0].indexOf("0x")?"eth_getTransactionByBlockHashAndIndex":"eth_getTransactionByBlockNumberAndIndex"},I=function(e){return A.isString(e[0])&&0===e[0].indexOf("0x")?"eth_getUncleByBlockHashAndIndex":"eth_getUncleByBlockNumberAndIndex"},B=function(e){return A.isString(e[0])&&0===e[0].indexOf("0x")?"eth_getBlockTransactionCountByHash":"eth_getBlockTransactionCountByNumber"},C=function(e){return A.isString(e[0])&&0===e[0].indexOf("0x")?"eth_getUncleCountByBlockHash":"eth_getUncleCountByBlockNumber"};function m(e){this._requestManager=e._requestManager;var t=this;y().forEach(function(e){e.attachToObject(t),e.setRequestManager(t._requestManager)}),Q().forEach(function(e){e.attachToObject(t),e.setRequestManager(t._requestManager)}),this.iban=d,this.sendIBANTransaction=g.bind(null,this)}Object.defineProperty(m.prototype,"defaultBlock",{get:function(){return a.defaultBlock},set:function(e){return a.defaultBlock=e,e}}),Object.defineProperty(m.prototype,"defaultAccount",{get:function(){return a.defaultAccount},set:function(e){return a.defaultAccount=e,e}});var y=function(){var e=new i({name:"getBalance",call:"eth_getBalance",params:2,inputFormatter:[n.inputAddressFormatter,n.inputDefaultBlockNumberFormatter],outputFormatter:n.outputBigNumberFormatter}),t=new i({name:"getStorageAt",call:"eth_getStorageAt",params:3,inputFormatter:[null,A.toHex,n.inputDefaultBlockNumberFormatter]}),r=new i({name:"getCode",call:"eth_getCode",params:2,inputFormatter:[n.inputAddressFormatter,n.inputDefaultBlockNumberFormatter]}),o=new i({name:"getBlock",call:h,params:2,inputFormatter:[n.inputBlockNumberFormatter,function(e){return!!e}],outputFormatter:n.outputBlockFormatter}),a=new i({name:"getUncle",call:I,params:2,inputFormatter:[n.inputBlockNumberFormatter,A.toHex],outputFormatter:n.outputBlockFormatter}),s=new i({name:"getCompilers",call:"eth_getCompilers",params:0}),u=new i({name:"getBlockTransactionCount",call:B,params:1,inputFormatter:[n.inputBlockNumberFormatter],outputFormatter:A.toDecimal}),l=new i({name:"getBlockUncleCount",call:C,params:1,inputFormatter:[n.inputBlockNumberFormatter],outputFormatter:A.toDecimal}),c=new i({name:"getTransaction",call:"eth_getTransactionByHash",params:1,outputFormatter:n.outputTransactionFormatter}),f=new i({name:"getTransactionFromBlock",call:p,params:2,inputFormatter:[n.inputBlockNumberFormatter,A.toHex],outputFormatter:n.outputTransactionFormatter}),d=new i({name:"getTransactionReceipt",call:"eth_getTransactionReceipt",params:1,outputFormatter:n.outputTransactionReceiptFormatter}),g=new i({name:"getTransactionCount",call:"eth_getTransactionCount",params:2,inputFormatter:[null,n.inputDefaultBlockNumberFormatter],outputFormatter:A.toDecimal}),m=new i({name:"sendRawTransaction",call:"eth_sendRawTransaction",params:1,inputFormatter:[null]}),y=new i({name:"sendTransaction",call:"eth_sendTransaction",params:1,inputFormatter:[n.inputTransactionFormatter]}),Q=new i({name:"signTransaction",call:"eth_signTransaction",params:1,inputFormatter:[n.inputTransactionFormatter]}),w=new i({name:"sign",call:"eth_sign",params:2,inputFormatter:[n.inputAddressFormatter,null]});return[e,t,r,o,a,s,u,l,c,f,d,g,new i({name:"call",call:"eth_call",params:2,inputFormatter:[n.inputCallFormatter,n.inputDefaultBlockNumberFormatter]}),new i({name:"estimateGas",call:"eth_estimateGas",params:1,inputFormatter:[n.inputCallFormatter],outputFormatter:A.toDecimal}),m,Q,y,w,new i({name:"compile.solidity",call:"eth_compileSolidity",params:1}),new i({name:"compile.lll",call:"eth_compileLLL",params:1}),new i({name:"compile.serpent",call:"eth_compileSerpent",params:1}),new i({name:"submitWork",call:"eth_submitWork",params:3}),new i({name:"getWork",call:"eth_getWork",params:0})]},Q=function(){return[new o({name:"coinbase",getter:"eth_coinbase"}),new o({name:"mining",getter:"eth_mining"}),new o({name:"hashrate",getter:"eth_hashrate",outputFormatter:A.toDecimal}),new o({name:"syncing",getter:"eth_syncing",outputFormatter:n.outputSyncingFormatter}),new o({name:"gasPrice",getter:"eth_gasPrice",outputFormatter:n.outputBigNumberFormatter}),new o({name:"accounts",getter:"eth_accounts"}),new o({name:"blockNumber",getter:"eth_blockNumber",outputFormatter:A.toDecimal}),new o({name:"protocolVersion",getter:"eth_protocolVersion"})]};m.prototype.contract=function(e){return new s(this,e)},m.prototype.filter=function(e,t,r){return new l(e,"eth",this._requestManager,u.eth(),n.outputLogFormatter,t,r)},m.prototype.namereg=function(){return this.contract(f.global.abi).at(f.global.address)},m.prototype.icapNamereg=function(){return this.contract(f.icap.abi).at(f.icap.address)},m.prototype.isSyncing=function(e){return new c(this._requestManager,e)},e.exports=m},function(e,t,r){var n=r(75),A=r(515),i=r(948),o=r(1717),a=r(1718),s=function(e,t){return e.filter(function(e){return"constructor"===e.type&&e.inputs.length===t.length}).map(function(e){return e.inputs.map(function(e){return e.type})}).map(function(e){return A.encodeParams(e,t)})[0]||""},u=function(e){e.abi.filter(function(e){return"function"===e.type}).map(function(t){return new o(e._eth,t,e.address)}).forEach(function(t){t.attachToContract(e)})},l=function(e){var t=e.abi.filter(function(e){return"event"===e.type});new a(e._eth._requestManager,t,e.address).attachToContract(e),t.map(function(t){return new i(e._eth._requestManager,t,e.address)}).forEach(function(t){t.attachToContract(e)})},c=function(e,t){var r=0,n=!1,A=e._eth.filter("latest",function(i){if(!i&&!n)if(++r>50){if(A.stopWatching(function(){}),n=!0,!t)throw new Error("Contract transaction couldn't be found after 50 blocks");t(new Error("Contract transaction couldn't be found after 50 blocks"))}else e._eth.getTransactionReceipt(e.transactionHash,function(r,i){i&&i.blockHash&&!n&&e._eth.getCode(i.contractAddress,function(r,o){if(!n&&o)if(A.stopWatching(function(){}),n=!0,o.length>3)e.address=i.contractAddress,u(e),l(e),t&&t(null,e);else{if(!t)throw new Error("The contract code couldn't be stored, please check your gas amount.");t(new Error("The contract code couldn't be stored, please check your gas amount."))}})})})},f=function(e,t){this.eth=e,this.abi=t,this.new=function(){var e,r=new d(this.eth,this.abi),A={},i=Array.prototype.slice.call(arguments);n.isFunction(i[i.length-1])&&(e=i.pop());var o=i[i.length-1];if(n.isObject(o)&&!n.isArray(o)&&(A=i.pop()),A.value>0){var a=t.filter(function(e){return"constructor"===e.type&&e.inputs.length===i.length})[0]||{};if(!a.payable)throw new Error("Cannot send value to non-payable constructor")}var u=s(this.abi,i);if(A.data+=u,e)this.eth.sendTransaction(A,function(t,n){t?e(t):(r.transactionHash=n,e(null,r),c(r,e))});else{var l=this.eth.sendTransaction(A);r.transactionHash=l,c(r)}return r},this.new.getData=this.getData.bind(this)};f.prototype.at=function(e,t){var r=new d(this.eth,this.abi,e);return u(r),l(r),t&&t(null,r),r},f.prototype.getData=function(){var e={},t=Array.prototype.slice.call(arguments),r=t[t.length-1];n.isObject(r)&&!n.isArray(r)&&(e=t.pop());var A=s(this.abi,t);return e.data+=A,e.data};var d=function(e,t,r){this._eth=e,this.transactionHash=null,this.address=r,this.abi=t};e.exports=f},function(e,t,r){var n=r(128),A=r(160),i=function(){this._inputFormatter=n.formatInputInt,this._outputFormatter=n.formatOutputAddress};(i.prototype=new A({})).constructor=i,i.prototype.isType=function(e){return!!e.match(/address(\[([0-9]*)\])?/)},e.exports=i},function(e,t,r){var n=r(128),A=r(160),i=function(){this._inputFormatter=n.formatInputBool,this._outputFormatter=n.formatOutputBool};(i.prototype=new A({})).constructor=i,i.prototype.isType=function(e){return!!e.match(/^bool(\[([0-9]*)\])*$/)},e.exports=i},function(e,t,r){var n=r(128),A=r(160),i=function(){this._inputFormatter=n.formatInputInt,this._outputFormatter=n.formatOutputInt};(i.prototype=new A({})).constructor=i,i.prototype.isType=function(e){return!!e.match(/^int([0-9]*)?(\[([0-9]*)\])*$/)},e.exports=i},function(e,t,r){var n=r(128),A=r(160),i=function(){this._inputFormatter=n.formatInputInt,this._outputFormatter=n.formatOutputUInt};(i.prototype=new A({})).constructor=i,i.prototype.isType=function(e){return!!e.match(/^uint([0-9]*)?(\[([0-9]*)\])*$/)},e.exports=i},function(e,t,r){var n=r(128),A=r(160),i=function(){this._inputFormatter=n.formatInputDynamicBytes,this._outputFormatter=n.formatOutputDynamicBytes};(i.prototype=new A({})).constructor=i,i.prototype.isType=function(e){return!!e.match(/^bytes(\[([0-9]*)\])*$/)},i.prototype.isDynamicType=function(){return!0},e.exports=i},function(e,t,r){var n=r(128),A=r(160),i=function(){this._inputFormatter=n.formatInputString,this._outputFormatter=n.formatOutputString};(i.prototype=new A({})).constructor=i,i.prototype.isType=function(e){return!!e.match(/^string(\[([0-9]*)\])*$/)},i.prototype.isDynamicType=function(){return!0},e.exports=i},function(e,t,r){var n=r(128),A=r(160),i=function(){this._inputFormatter=n.formatInputReal,this._outputFormatter=n.formatOutputReal};(i.prototype=new A({})).constructor=i,i.prototype.isType=function(e){return!!e.match(/real([0-9]*)?(\[([0-9]*)\])?/)},e.exports=i},function(e,t,r){var n=r(128),A=r(160),i=function(){this._inputFormatter=n.formatInputReal,this._outputFormatter=n.formatOutputUReal};(i.prototype=new A({})).constructor=i,i.prototype.isType=function(e){return!!e.match(/^ureal([0-9]*)?(\[([0-9]*)\])*$/)},e.exports=i},function(e,t,r){var n=r(128),A=r(160),i=function(){this._inputFormatter=n.formatInputBytes,this._outputFormatter=n.formatOutputBytes};(i.prototype=new A({})).constructor=i,i.prototype.isType=function(e){return!!e.match(/^bytes([0-9]{1,})(\[([0-9]*)\])*$/)},e.exports=i},function(e,t,r){var n=r(515),A=r(75),i=r(237),o=r(186),a=r(294),s=function(e,t,r){this._eth=e,this._inputTypes=t.inputs.map(function(e){return e.type}),this._outputTypes=t.outputs.map(function(e){return e.type}),this._constant="view"===t.stateMutability||"pure"===t.stateMutability||t.constant,this._payable="payable"===t.stateMutability||t.payable,this._name=A.transformToFullName(t),this._address=r};s.prototype.extractCallback=function(e){if(A.isFunction(e[e.length-1]))return e.pop()},s.prototype.extractDefaultBlock=function(e){if(e.length>this._inputTypes.length&&!A.isObject(e[e.length-1]))return o.inputDefaultBlockNumberFormatter(e.pop())},s.prototype.validateArgs=function(e){if(e.filter(function(e){return!(!0===A.isObject(e)&&!1===A.isArray(e)&&!1===A.isBigNumber(e))}).length!==this._inputTypes.length)throw i.InvalidNumberOfSolidityArgs()},s.prototype.toPayload=function(e){var t={};return e.length>this._inputTypes.length&&A.isObject(e[e.length-1])&&(t=e[e.length-1]),this.validateArgs(e),t.to=this._address,t.data="0x"+this.signature()+n.encodeParams(this._inputTypes,e),t},s.prototype.signature=function(){return a(this._name).slice(0,8)},s.prototype.unpackOutput=function(e){if(e){e=e.length>=2?e.slice(2):e;var t=n.decodeParams(this._outputTypes,e);return 1===t.length?t[0]:t}},s.prototype.call=function(){var e=Array.prototype.slice.call(arguments).filter(function(e){return void 0!==e}),t=this.extractCallback(e),r=this.extractDefaultBlock(e),n=this.toPayload(e);if(!t){var A=this._eth.call(n,r);return this.unpackOutput(A)}var i=this;this._eth.call(n,r,function(e,r){if(e)return t(e,null);var n=null;try{n=i.unpackOutput(r)}catch(t){e=t}t(e,n)})},s.prototype.sendTransaction=function(){var e=Array.prototype.slice.call(arguments).filter(function(e){return void 0!==e}),t=this.extractCallback(e),r=this.toPayload(e);if(r.value>0&&!this._payable)throw new Error("Cannot send value to non-payable function");if(!t)return this._eth.sendTransaction(r);this._eth.sendTransaction(r,t)},s.prototype.estimateGas=function(){var e=Array.prototype.slice.call(arguments),t=this.extractCallback(e),r=this.toPayload(e);if(!t)return this._eth.estimateGas(r);this._eth.estimateGas(r,t)},s.prototype.getData=function(){var e=Array.prototype.slice.call(arguments),t=this.toPayload(e);return t.data},s.prototype.displayName=function(){return A.extractDisplayName(this._name)},s.prototype.typeName=function(){return A.extractTypeName(this._name)},s.prototype.request=function(){var e=Array.prototype.slice.call(arguments),t=this.extractCallback(e),r=this.toPayload(e),n=this.unpackOutput.bind(this);return{method:this._constant?"eth_call":"eth_sendTransaction",callback:t,params:[r],format:n}},s.prototype.execute=function(){var e=!this._constant;return e?this.sendTransaction.apply(this,Array.prototype.slice.call(arguments)):this.call.apply(this,Array.prototype.slice.call(arguments))},s.prototype.attachToContract=function(e){var t=this.execute.bind(this);t.request=this.request.bind(this),t.call=this.call.bind(this),t.sendTransaction=this.sendTransaction.bind(this),t.estimateGas=this.estimateGas.bind(this),t.getData=this.getData.bind(this);var r=this.displayName();e[r]||(e[r]=t),e[r][this.typeName()]=t},e.exports=s},function(e,t,r){var n=r(294),A=r(948),i=r(186),o=r(75),a=r(348),s=r(349),u=function(e,t,r){this._requestManager=e,this._json=t,this._address=r};u.prototype.encode=function(e){e=e||{};var t={};return["fromBlock","toBlock"].filter(function(t){return void 0!==e[t]}).forEach(function(r){t[r]=i.inputBlockNumberFormatter(e[r])}),t.address=this._address,t},u.prototype.decode=function(e){e.data=e.data||"";var t=o.isArray(e.topics)&&o.isString(e.topics[0])?e.topics[0].slice(2):"",r=this._json.filter(function(e){return t===n(o.transformToFullName(e))})[0];return r?new A(this._requestManager,r,this._address).decode(e):i.outputLogFormatter(e)},u.prototype.execute=function(e,t){o.isFunction(arguments[arguments.length-1])&&(t=arguments[arguments.length-1],1===arguments.length&&(e=null));var r=this.encode(e),n=this.decode.bind(this);return new a(r,"eth",this._requestManager,s.eth(),n,t)},u.prototype.attachToContract=function(e){var t=this.execute.bind(this);e.allEvents=t},e.exports=u},function(e,t,r){var n=r(186),A=r(75),i=1,o=function(e,t){return this.requestManager=e,this.pollId="syncPoll_"+i++,this.callbacks=[],this.addCallback(t),this.lastSyncState=!1,function(e){e.requestManager.startPolling({method:"eth_syncing",params:[]},e.pollId,function(t,r){if(t)return e.callbacks.forEach(function(e){e(t)});A.isObject(r)&&r.startingBlock&&(r=n.outputSyncingFormatter(r)),e.callbacks.forEach(function(t){e.lastSyncState!==r&&(!e.lastSyncState&&A.isObject(r)&&t(null,!0),setTimeout(function(){t(null,r)},0),e.lastSyncState=r)})},e.stopWatching.bind(e))}(this),this};o.prototype.addCallback=function(e){return e&&this.callbacks.push(e),this},o.prototype.stopWatching=function(){this.requestManager.stopPolling(this.pollId),this.callbacks=[]},e.exports=o},function(e,t,r){var n=r(1721),A=r(1722);e.exports={global:{abi:n,address:"0xc6d9d2cd449a754c494264e1809c50e34d64562b"},icap:{abi:A,address:"0xa1a111bc074c9cfa781f0c38e63bd51c91b8af00"}}},function(e){e.exports=JSON.parse('[{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"name","outputs":[{"name":"o_name","type":"bytes32"}],"type":"function"},{"constant":true,"inputs":[{"name":"_name","type":"bytes32"}],"name":"owner","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":true,"inputs":[{"name":"_name","type":"bytes32"}],"name":"content","outputs":[{"name":"","type":"bytes32"}],"type":"function"},{"constant":true,"inputs":[{"name":"_name","type":"bytes32"}],"name":"addr","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"}],"name":"reserve","outputs":[],"type":"function"},{"constant":true,"inputs":[{"name":"_name","type":"bytes32"}],"name":"subRegistrar","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"},{"name":"_newOwner","type":"address"}],"name":"transfer","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"},{"name":"_registrar","type":"address"}],"name":"setSubRegistrar","outputs":[],"type":"function"},{"constant":false,"inputs":[],"name":"Registrar","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"},{"name":"_a","type":"address"},{"name":"_primary","type":"bool"}],"name":"setAddress","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"},{"name":"_content","type":"bytes32"}],"name":"setContent","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"}],"name":"disown","outputs":[],"type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_name","type":"bytes32"},{"indexed":false,"name":"_winner","type":"address"}],"name":"AuctionEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_name","type":"bytes32"},{"indexed":false,"name":"_bidder","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"NewBid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"name","type":"bytes32"}],"name":"Changed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"name","type":"bytes32"},{"indexed":true,"name":"addr","type":"address"}],"name":"PrimaryChanged","type":"event"}]')},function(e){e.exports=JSON.parse('[{"constant":true,"inputs":[{"name":"_name","type":"bytes32"}],"name":"owner","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"},{"name":"_refund","type":"address"}],"name":"disown","outputs":[],"type":"function"},{"constant":true,"inputs":[{"name":"_name","type":"bytes32"}],"name":"addr","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"}],"name":"reserve","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"},{"name":"_newOwner","type":"address"}],"name":"transfer","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"},{"name":"_a","type":"address"}],"name":"setAddr","outputs":[],"type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"name","type":"bytes32"}],"name":"Changed","type":"event"}]')},function(e,t,r){var n=r(347),A=r(1724),i=function(e,t,r,n,A){return e.sendTransaction({address:r,from:t,value:n},A)},o=function(e,t,r,n,i,o){var a=A;return e.contract(a).at(r).deposit(i,{from:t,value:n},o)};e.exports=function(e,t,r,A,a){var s=new n(r);if(!s.isValid())throw new Error("invalid iban address");if(s.isDirect())return i(e,t,s.address(),A,a);if(!a){var u=e.icapNamereg().addr(s.institution());return o(e,t,u,A,s.client())}e.icapNamereg().addr(s.institution(),function(r,n){return o(e,t,n,A,s.client(),a)})}},function(e){e.exports=JSON.parse('[{"constant":false,"inputs":[{"name":"from","type":"bytes32"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"from","type":"bytes32"},{"name":"to","type":"address"},{"name":"indirectId","type":"bytes32"},{"name":"value","type":"uint256"}],"name":"icapTransfer","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"to","type":"bytes32"}],"name":"deposit","outputs":[],"payable":true,"type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"AnonymousDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"bytes32"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"bytes32"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"bytes32"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"indirectId","type":"bytes32"},{"indexed":false,"name":"value","type":"uint256"}],"name":"IcapTransfer","type":"event"}]')},function(e,t,r){var n=r(206),A=function(){return[new n({name:"putString",call:"db_putString",params:3}),new n({name:"getString",call:"db_getString",params:2}),new n({name:"putHex",call:"db_putHex",params:3}),new n({name:"getHex",call:"db_getHex",params:2})]};e.exports=function(e){this._requestManager=e._requestManager;var t=this;A().forEach(function(r){r.attachToObject(t),r.setRequestManager(e._requestManager)})}},function(e,t,r){var n=r(206),A=r(348),i=r(349),o=function(e){this._requestManager=e._requestManager;var t=this;a().forEach(function(e){e.attachToObject(t),e.setRequestManager(t._requestManager)})};o.prototype.newMessageFilter=function(e,t,r){return new A(e,"shh",this._requestManager,i.shh(),null,t,r)};var a=function(){return[new n({name:"version",call:"shh_version",params:0}),new n({name:"info",call:"shh_info",params:0}),new n({name:"setMaxMessageSize",call:"shh_setMaxMessageSize",params:1}),new n({name:"setMinPoW",call:"shh_setMinPoW",params:1}),new n({name:"markTrustedPeer",call:"shh_markTrustedPeer",params:1}),new n({name:"newKeyPair",call:"shh_newKeyPair",params:0}),new n({name:"addPrivateKey",call:"shh_addPrivateKey",params:1}),new n({name:"deleteKeyPair",call:"shh_deleteKeyPair",params:1}),new n({name:"hasKeyPair",call:"shh_hasKeyPair",params:1}),new n({name:"getPublicKey",call:"shh_getPublicKey",params:1}),new n({name:"getPrivateKey",call:"shh_getPrivateKey",params:1}),new n({name:"newSymKey",call:"shh_newSymKey",params:0}),new n({name:"addSymKey",call:"shh_addSymKey",params:1}),new n({name:"generateSymKeyFromPassword",call:"shh_generateSymKeyFromPassword",params:1}),new n({name:"hasSymKey",call:"shh_hasSymKey",params:1}),new n({name:"getSymKey",call:"shh_getSymKey",params:1}),new n({name:"deleteSymKey",call:"shh_deleteSymKey",params:1}),new n({name:"post",call:"shh_post",params:1,inputFormatter:[null]})]};e.exports=o},function(e,t,r){var n=r(75),A=r(238),i=function(){return[new A({name:"listening",getter:"net_listening"}),new A({name:"peerCount",getter:"net_peerCount",outputFormatter:n.toDecimal})]};e.exports=function(e){this._requestManager=e._requestManager;var t=this;i().forEach(function(r){r.attachToObject(t),r.setRequestManager(e._requestManager)})}},function(e,t,r){"use strict";var n=r(206),A=r(238),i=r(186);var o=function(){var e=new n({name:"newAccount",call:"personal_newAccount",params:1,inputFormatter:[null]}),t=new n({name:"importRawKey",call:"personal_importRawKey",params:2}),r=new n({name:"sign",call:"personal_sign",params:3,inputFormatter:[null,i.inputAddressFormatter,null]}),A=new n({name:"ecRecover",call:"personal_ecRecover",params:2});return[e,t,new n({name:"unlockAccount",call:"personal_unlockAccount",params:3,inputFormatter:[i.inputAddressFormatter,null,null]}),A,r,new n({name:"sendTransaction",call:"personal_sendTransaction",params:2,inputFormatter:[i.inputTransactionFormatter,null]}),new n({name:"lockAccount",call:"personal_lockAccount",params:1,inputFormatter:[i.inputAddressFormatter]})]},a=function(){return[new A({name:"listAccounts",getter:"personal_listAccounts"})]};e.exports=function(e){this._requestManager=e._requestManager;var t=this;o().forEach(function(e){e.attachToObject(t),e.setRequestManager(t._requestManager)}),a().forEach(function(e){e.attachToObject(t),e.setRequestManager(t._requestManager)})}},function(e,t,r){"use strict";var n=r(206),A=r(238);var i=function(){return[new n({name:"blockNetworkRead",call:"bzz_blockNetworkRead",params:1,inputFormatter:[null]}),new n({name:"syncEnabled",call:"bzz_syncEnabled",params:1,inputFormatter:[null]}),new n({name:"swapEnabled",call:"bzz_swapEnabled",params:1,inputFormatter:[null]}),new n({name:"download",call:"bzz_download",params:2,inputFormatter:[null,null]}),new n({name:"upload",call:"bzz_upload",params:2,inputFormatter:[null,null]}),new n({name:"retrieve",call:"bzz_retrieve",params:1,inputFormatter:[null]}),new n({name:"store",call:"bzz_store",params:2,inputFormatter:[null,null]}),new n({name:"get",call:"bzz_get",params:1,inputFormatter:[null]}),new n({name:"put",call:"bzz_put",params:2,inputFormatter:[null,null]}),new n({name:"modify",call:"bzz_modify",params:4,inputFormatter:[null,null,null,null]})]},o=function(){return[new A({name:"hive",getter:"bzz_hive"}),new A({name:"info",getter:"bzz_info"})]};e.exports=function(e){this._requestManager=e._requestManager;var t=this;i().forEach(function(e){e.attachToObject(t),e.setRequestManager(t._requestManager)}),o().forEach(function(e){e.attachToObject(t),e.setRequestManager(t._requestManager)})}},function(e,t){e.exports=function(){this.defaultBlock="latest",this.defaultAccount=void 0}},function(e){e.exports=JSON.parse('{"version":"0.20.7"}')},function(e,t,r){var n=r(186),A=r(75),i=r(206),o=r(238);e.exports=function(e){var t=function(t){var r;t.property?(e[t.property]||(e[t.property]={}),r=e[t.property]):r=e,t.methods&&t.methods.forEach(function(t){t.attachToObject(r),t.setRequestManager(e._requestManager)}),t.properties&&t.properties.forEach(function(t){t.attachToObject(r),t.setRequestManager(e._requestManager)})};return t.formatters=n,t.utils=A,t.Method=i,t.Property=o,t}},function(e,t,r){var n=r(943),A=r(237),i=function(e){this.requestManager=e._requestManager,this.requests=[]};i.prototype.add=function(e){this.requests.push(e)},i.prototype.execute=function(){var e=this.requests;this.requestManager.sendBatch(e,function(t,r){r=r||[],e.map(function(e,t){return r[t]||{}}).forEach(function(t,r){if(e[r].callback){if(!n.isValidResponse(t))return e[r].callback(A.InvalidResponse(t));e[r].callback(null,e[r].format?e[r].format(t.result):t.result)}})})},e.exports=i},function(e,t,r){(function(t){var n=r(237);"undefined"!=typeof window&&window.XMLHttpRequest?XMLHttpRequest=window.XMLHttpRequest:XMLHttpRequest=r(1735).XMLHttpRequest;var A=r(1736).XMLHttpRequest,i=function(e,t,r,n,A){this.host=e||"http://localhost:8545",this.timeout=t||0,this.user=r,this.password=n,this.headers=A};i.prototype.prepareRequest=function(e){var r;if(e?(r=new A).timeout=this.timeout:r=new XMLHttpRequest,r.withCredentials=!0,r.open("POST",this.host,e),this.user&&this.password){var n="Basic "+new t(this.user+":"+this.password).toString("base64");r.setRequestHeader("Authorization",n)}return r.setRequestHeader("Content-Type","application/json"),this.headers&&this.headers.forEach(function(e){r.setRequestHeader(e.name,e.value)}),r},i.prototype.send=function(e){var t=this.prepareRequest(!1);try{t.send(JSON.stringify(e))}catch(e){throw n.InvalidConnection(this.host)}var r=t.responseText;try{r=JSON.parse(r)}catch(e){throw n.InvalidResponse(t.responseText)}return r},i.prototype.sendAsync=function(e,t){var r=this.prepareRequest(!0);r.onreadystatechange=function(){if(4===r.readyState&&1!==r.timeout){var e=r.responseText,A=null;try{e=JSON.parse(e)}catch(e){A=n.InvalidResponse(r.responseText)}t(A,e)}},r.ontimeout=function(){t(n.ConnectionTimeout(this.timeout))};try{r.send(JSON.stringify(e))}catch(e){t(n.InvalidConnection(this.host))}},i.prototype.isConnected=function(){try{return this.send({id:9999999999,jsonrpc:"2.0",method:"net_listening",params:[]}),!0}catch(e){return!1}},e.exports=i}).call(this,r(8).Buffer)},function(e,t,r){"use strict";"undefined"==typeof XMLHttpRequest?t.XMLHttpRequest={}:t.XMLHttpRequest=XMLHttpRequest},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(1737));var n=r(517);t.XMLHttpRequestEventTarget=n.XMLHttpRequestEventTarget},function(e,t,r){"use strict";(function(e,n){var A,i=this&&this.__extends||(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__assign||Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var A in t=arguments[r])Object.prototype.hasOwnProperty.call(t,A)&&(e[A]=t[A]);return e};Object.defineProperty(t,"__esModule",{value:!0});var a=r(949),s=r(1745),u=r(1746),l=r(516),c=r(1747),f=r(1748),d=r(517),g=r(1749),h=r(1750),p=function(t){function r(n){void 0===n&&(n={});var A=t.call(this)||this;return A.UNSENT=r.UNSENT,A.OPENED=r.OPENED,A.HEADERS_RECEIVED=r.HEADERS_RECEIVED,A.LOADING=r.LOADING,A.DONE=r.DONE,A.onreadystatechange=null,A.readyState=r.UNSENT,A.response=null,A.responseText="",A.responseType="",A.status=0,A.statusText="",A.timeout=0,A.upload=new g.XMLHttpRequestUpload,A.responseUrl="",A.withCredentials=!1,A._method=null,A._url=null,A._sync=!1,A._headers={},A._loweredHeaders={},A._mimeOverride=null,A._request=null,A._response=null,A._responseParts=null,A._responseHeaders=null,A._aborting=null,A._error=null,A._loadedBytes=0,A._totalBytes=0,A._lengthComputable=!1,A._restrictedMethods={CONNECT:!0,TRACE:!0,TRACK:!0},A._restrictedHeaders={"accept-charset":!0,"accept-encoding":!0,"access-control-request-headers":!0,"access-control-request-method":!0,connection:!0,"content-length":!0,cookie:!0,cookie2:!0,date:!0,dnt:!0,expect:!0,host:!0,"keep-alive":!0,origin:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,via:!0},A._privateHeaders={"set-cookie":!0,"set-cookie2":!0},A._userAgent="Mozilla/5.0 ("+u.type()+" "+u.arch()+") node.js/"+e.versions.node+" v8/"+e.versions.v8,A._anonymous=n.anon||!1,A}return i(r,t),r.prototype.open=function(e,t,n,A,i){if(void 0===n&&(n=!0),e=e.toUpperCase(),this._restrictedMethods[e])throw new r.SecurityError("HTTP method "+e+" is not allowed in XHR");var o=this._parseUrl(t,A,i);this.readyState===r.HEADERS_RECEIVED||(this.readyState,r.LOADING),this._method=e,this._url=o,this._sync=!n,this._headers={},this._loweredHeaders={},this._mimeOverride=null,this._setReadyState(r.OPENED),this._request=null,this._response=null,this.status=0,this.statusText="",this._responseParts=[],this._responseHeaders=null,this._loadedBytes=0,this._totalBytes=0,this._lengthComputable=!1},r.prototype.setRequestHeader=function(e,t){if(this.readyState!==r.OPENED)throw new r.InvalidStateError("XHR readyState must be OPENED");var n=e.toLowerCase();this._restrictedHeaders[n]||/^sec-/.test(n)||/^proxy-/.test(n)?console.warn('Refused to set unsafe header "'+e+'"'):(t=t.toString(),null!=this._loweredHeaders[n]?(e=this._loweredHeaders[n],this._headers[e]=this._headers[e]+", "+t):(this._loweredHeaders[n]=e,this._headers[e]=t))},r.prototype.send=function(e){if(this.readyState!==r.OPENED)throw new r.InvalidStateError("XHR readyState must be OPENED");if(this._request)throw new r.InvalidStateError("send() already called");switch(this._url.protocol){case"file:":return this._sendFile(e);case"http:":case"https:":return this._sendHttp(e);default:throw new r.NetworkError("Unsupported protocol "+this._url.protocol)}},r.prototype.abort=function(){null!=this._request&&(this._request.abort(),this._setError(),this._dispatchProgress("abort"),this._dispatchProgress("loadend"))},r.prototype.getResponseHeader=function(e){if(null==this._responseHeaders||null==e)return null;var t=e.toLowerCase();return this._responseHeaders.hasOwnProperty(t)?this._responseHeaders[e.toLowerCase()]:null},r.prototype.getAllResponseHeaders=function(){var e=this;return null==this._responseHeaders?"":Object.keys(this._responseHeaders).map(function(t){return t+": "+e._responseHeaders[t]}).join("\r\n")},r.prototype.overrideMimeType=function(e){if(this.readyState===r.LOADING||this.readyState===r.DONE)throw new r.InvalidStateError("overrideMimeType() not allowed in LOADING or DONE");this._mimeOverride=e.toLowerCase()},r.prototype.nodejsSet=function(e){if(this.nodejsHttpAgent=e.httpAgent||this.nodejsHttpAgent,this.nodejsHttpsAgent=e.httpsAgent||this.nodejsHttpsAgent,e.hasOwnProperty("baseUrl")){if(null!=e.baseUrl)if(!l.parse(e.baseUrl,!1,!0).protocol)throw new r.SyntaxError("baseUrl must be an absolute URL");this.nodejsBaseUrl=e.baseUrl}},r.nodejsSet=function(e){r.prototype.nodejsSet(e)},r.prototype._setReadyState=function(e){this.readyState=e,this.dispatchEvent(new c.ProgressEvent("readystatechange"))},r.prototype._sendFile=function(e){throw new Error("Protocol file: not implemented")},r.prototype._sendHttp=function(e){if(this._sync)throw new Error("Synchronous XHR processing not implemented");!e||"GET"!==this._method&&"HEAD"!==this._method?e=e||"":(console.warn("Discarding entity body for "+this._method+" requests"),e=null),this.upload._setData(e),this._finalizeHeaders(),this._sendHxxpRequest()},r.prototype._sendHxxpRequest=function(){var e=this;if(this.withCredentials){var t=r.cookieJar.getCookies(h.CookieAccessInfo(this._url.hostname,this._url.pathname,"https:"===this._url.protocol)).toValueString();this._headers.cookie=this._headers.cookie2=t}var n="http:"===this._url.protocol?[a,this.nodejsHttpAgent]:[s,this.nodejsHttpsAgent],A=n[0],i=n[1],o=A.request.bind(A)({hostname:this._url.hostname,port:+this._url.port,path:this._url.path,auth:this._url.auth,method:this._method,headers:this._headers,agent:i});this._request=o,this.timeout&&o.setTimeout(this.timeout,function(){return e._onHttpTimeout(o)}),o.on("response",function(t){return e._onHttpResponse(o,t)}),o.on("error",function(t){return e._onHttpRequestError(o,t)}),this.upload._startUpload(o),this._request===o&&this._dispatchProgress("loadstart")},r.prototype._finalizeHeaders=function(){this._headers=o({},this._headers,{Connection:"keep-alive",Host:this._url.host,"User-Agent":this._userAgent},this._anonymous?{Referer:"about:blank"}:{}),this.upload._finalizeHeaders(this._headers,this._loweredHeaders)},r.prototype._onHttpResponse=function(e,t){var n=this;if(this._request===e){if(this.withCredentials&&(t.headers["set-cookie"]||t.headers["set-cookie2"])&&r.cookieJar.setCookies(t.headers["set-cookie"]||t.headers["set-cookie2"]),[301,302,303,307,308].indexOf(t.statusCode)>=0)return this._url=this._parseUrl(t.headers.location),this._method="GET",this._loweredHeaders["content-type"]&&(delete this._headers[this._loweredHeaders["content-type"]],delete this._loweredHeaders["content-type"]),null!=this._headers["Content-Type"]&&delete this._headers["Content-Type"],delete this._headers["Content-Length"],this.upload._reset(),this._finalizeHeaders(),void this._sendHxxpRequest();this._response=t,this._response.on("data",function(e){return n._onHttpResponseData(t,e)}),this._response.on("end",function(){return n._onHttpResponseEnd(t)}),this._response.on("close",function(){return n._onHttpResponseClose(t)}),this.responseUrl=this._url.href.split("#")[0],this.status=t.statusCode,this.statusText=a.STATUS_CODES[this.status],this._parseResponseHeaders(t);var A=this._responseHeaders["content-length"]||"";this._totalBytes=+A,this._lengthComputable=!!A,this._setReadyState(r.HEADERS_RECEIVED)}},r.prototype._onHttpResponseData=function(e,t){this._response===e&&(this._responseParts.push(new n(t)),this._loadedBytes+=t.length,this.readyState!==r.LOADING&&this._setReadyState(r.LOADING),this._dispatchProgress("progress"))},r.prototype._onHttpResponseEnd=function(e){this._response===e&&(this._parseResponse(),this._request=null,this._response=null,this._setReadyState(r.DONE),this._dispatchProgress("load"),this._dispatchProgress("loadend"))},r.prototype._onHttpResponseClose=function(e){if(this._response===e){var t=this._request;this._setError(),t.abort(),this._setReadyState(r.DONE),this._dispatchProgress("error"),this._dispatchProgress("loadend")}},r.prototype._onHttpTimeout=function(e){this._request===e&&(this._setError(),e.abort(),this._setReadyState(r.DONE),this._dispatchProgress("timeout"),this._dispatchProgress("loadend"))},r.prototype._onHttpRequestError=function(e,t){this._request===e&&(this._setError(),e.abort(),this._setReadyState(r.DONE),this._dispatchProgress("error"),this._dispatchProgress("loadend"))},r.prototype._dispatchProgress=function(e){var t=new r.ProgressEvent(e);t.lengthComputable=this._lengthComputable,t.loaded=this._loadedBytes,t.total=this._totalBytes,this.dispatchEvent(t)},r.prototype._setError=function(){this._request=null,this._response=null,this._responseHeaders=null,this._responseParts=null},r.prototype._parseUrl=function(e,t,r){var n=null==this.nodejsBaseUrl?e:l.resolve(this.nodejsBaseUrl,e),A=l.parse(n,!1,!0);A.hash=null;var i=(A.auth||"").split(":"),o=i[0],a=i[1];return(o||a||t||r)&&(A.auth=(t||o||"")+":"+(r||a||"")),A},r.prototype._parseResponseHeaders=function(e){for(var t in this._responseHeaders={},e.headers){var r=t.toLowerCase();this._privateHeaders[r]||(this._responseHeaders[r]=e.headers[t])}null!=this._mimeOverride&&(this._responseHeaders["content-type"]=this._mimeOverride)},r.prototype._parseResponse=function(){var e=n.concat(this._responseParts);switch(this._responseParts=null,this.responseType){case"json":this.responseText=null;try{this.response=JSON.parse(e.toString("utf-8"))}catch(e){this.response=null}return;case"buffer":return this.responseText=null,void(this.response=e);case"arraybuffer":this.responseText=null;for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),A=0;A<e.length;A++)r[A]=e[A];return void(this.response=t);case"text":default:try{this.responseText=e.toString(this._parseResponseEncoding())}catch(t){this.responseText=e.toString("binary")}this.response=this.responseText}},r.prototype._parseResponseEncoding=function(){return/;\s*charset=(.*)$/.exec(this._responseHeaders["content-type"]||"")[1]||"utf-8"},r.ProgressEvent=c.ProgressEvent,r.InvalidStateError=f.InvalidStateError,r.NetworkError=f.NetworkError,r.SecurityError=f.SecurityError,r.SyntaxError=f.SyntaxError,r.XMLHttpRequestUpload=g.XMLHttpRequestUpload,r.UNSENT=0,r.OPENED=1,r.HEADERS_RECEIVED=2,r.LOADING=3,r.DONE=4,r.cookieJar=h.CookieJar(),r}(d.XMLHttpRequestEventTarget);t.XMLHttpRequest=p,p.prototype.nodejsHttpAgent=a.globalAgent,p.prototype.nodejsHttpsAgent=s.globalAgent,p.prototype.nodejsBaseUrl=null}).call(this,r(50),r(8).Buffer)},function(e,t,r){(function(t,n,A){var i=r(950),o=r(20),a=r(951),s=r(195),u=r(1739),l=a.IncomingMessage,c=a.readyStates;var f=e.exports=function(e){var r,n=this;s.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(t){n.setHeader(t,e.headers[t])});var A=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!i.abortController)A=!1,r=!0;else if("prefer-streaming"===e.mode)r=!1;else if("allow-wrong-content-type"===e.mode)r=!i.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");r=!0}n._mode=function(e,t){return i.fetch&&t?"fetch":i.mozchunkedarraybuffer?"moz-chunked-arraybuffer":i.msstream?"ms-stream":i.arraybuffer&&e?"arraybuffer":i.vbArray&&e?"text:vbarray":"text"}(r,A),n._fetchTimer=null,n.on("finish",function(){n._onFinish()})};o(f,s.Writable),f.prototype.setHeader=function(e,t){var r=e.toLowerCase();-1===d.indexOf(r)&&(this._headers[r]={name:e,value:t})},f.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},f.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},f.prototype._onFinish=function(){var e=this;if(!e._destroyed){var r=e._opts,o=e._headers,a=null;"GET"!==r.method&&"HEAD"!==r.method&&(a=i.arraybuffer?u(t.concat(e._body)):i.blobConstructor?new n.Blob(e._body.map(function(e){return u(e)}),{type:(o["content-type"]||{}).value||""}):t.concat(e._body).toString());var s=[];if(Object.keys(o).forEach(function(e){var t=o[e].name,r=o[e].value;Array.isArray(r)?r.forEach(function(e){s.push([t,e])}):s.push([t,r])}),"fetch"===e._mode){var l=null;if(i.abortController){var f=new AbortController;l=f.signal,e._fetchAbortController=f,"requestTimeout"in r&&0!==r.requestTimeout&&(e._fetchTimer=n.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},r.requestTimeout))}n.fetch(e._opts.url,{method:e._opts.method,headers:s,body:a||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:l}).then(function(t){e._fetchResponse=t,e._connect()},function(t){n.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)})}else{var d=e._xhr=new n.XMLHttpRequest;try{d.open(e._opts.method,e._opts.url,!0)}catch(t){return void A.nextTick(function(){e.emit("error",t)})}"responseType"in d&&(d.responseType=e._mode.split(":")[0]),"withCredentials"in d&&(d.withCredentials=!!r.withCredentials),"text"===e._mode&&"overrideMimeType"in d&&d.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(d.timeout=r.requestTimeout,d.ontimeout=function(){e.emit("requestTimeout")}),s.forEach(function(e){d.setRequestHeader(e[0],e[1])}),e._response=null,d.onreadystatechange=function(){switch(d.readyState){case c.LOADING:case c.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(d.onprogress=function(){e._onXHRProgress()}),d.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{d.send(a)}catch(t){return void A.nextTick(function(){e.emit("error",t)})}}}},f.prototype._onXHRProgress=function(){(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(this._xhr)&&!this._destroyed&&(this._response||this._connect(),this._response._onXHRProgress())},f.prototype._connect=function(){var e=this;e._destroyed||(e._response=new l(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},f.prototype._write=function(e,t,r){this._body.push(e),r()},f.prototype.abort=f.prototype.destroy=function(){this._destroyed=!0,n.clearTimeout(this._fetchTimer),this._response&&(this._response._destroyed=!0),this._xhr?this._xhr.abort():this._fetchAbortController&&this._fetchAbortController.abort()},f.prototype.end=function(e,t,r){"function"==typeof e&&(r=e,e=void 0),s.Writable.prototype.end.call(this,e,t,r)},f.prototype.flushHeaders=function(){},f.prototype.setTimeout=function(){},f.prototype.setNoDelay=function(){},f.prototype.setSocketKeepAlive=function(){};var d=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,r(8).Buffer,r(34),r(50))},function(e,t,r){var n=r(8).Buffer;e.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(n.isBuffer(e)){for(var t=new Uint8Array(e.length),r=e.length,A=0;A<r;A++)t[A]=e[A];return t.buffer}throw new Error("Argument must be a Buffer")}},function(e,t){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},function(e,t,r){(function(e,n){var A;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof n&&n;o.global!==o&&o.window!==o&&o.self;var a,s=2147483647,u=36,l=1,c=26,f=38,d=700,g=72,h=128,p="-",I=/^xn--/,B=/[^\x20-\x7E]/,C=/[\x2E\u3002\uFF0E\uFF61]/g,m={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=u-l,Q=Math.floor,w=String.fromCharCode;function E(e){throw new RangeError(m[e])}function b(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function v(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+b((e=e.replace(C,".")).split("."),t).join(".")}function D(e){for(var t,r,n=[],A=0,i=e.length;A<i;)(t=e.charCodeAt(A++))>=55296&&t<=56319&&A<i?56320==(64512&(r=e.charCodeAt(A++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),A--):n.push(t);return n}function M(e){return b(e,function(e){var t="";return e>65535&&(t+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function k(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function _(e,t,r){var n=0;for(e=r?Q(e/d):e>>1,e+=Q(e/t);e>y*c>>1;n+=u)e=Q(e/y);return Q(n+(y+1)*e/(e+f))}function S(e){var t,r,n,A,i,o,a,f,d,I,B,C=[],m=e.length,y=0,w=h,b=g;for((r=e.lastIndexOf(p))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&E("not-basic"),C.push(e.charCodeAt(n));for(A=r>0?r+1:0;A<m;){for(i=y,o=1,a=u;A>=m&&E("invalid-input"),((f=(B=e.charCodeAt(A++))-48<10?B-22:B-65<26?B-65:B-97<26?B-97:u)>=u||f>Q((s-y)/o))&&E("overflow"),y+=f*o,!(f<(d=a<=b?l:a>=b+c?c:a-b));a+=u)o>Q(s/(I=u-d))&&E("overflow"),o*=I;b=_(y-i,t=C.length+1,0==i),Q(y/t)>s-w&&E("overflow"),w+=Q(y/t),y%=t,C.splice(y++,0,w)}return M(C)}function N(e){var t,r,n,A,i,o,a,f,d,I,B,C,m,y,b,v=[];for(C=(e=D(e)).length,t=h,r=0,i=g,o=0;o<C;++o)(B=e[o])<128&&v.push(w(B));for(n=A=v.length,A&&v.push(p);n<C;){for(a=s,o=0;o<C;++o)(B=e[o])>=t&&B<a&&(a=B);for(a-t>Q((s-r)/(m=n+1))&&E("overflow"),r+=(a-t)*m,t=a,o=0;o<C;++o)if((B=e[o])<t&&++r>s&&E("overflow"),B==t){for(f=r,d=u;!(f<(I=d<=i?l:d>=i+c?c:d-i));d+=u)b=f-I,y=u-I,v.push(w(k(I+b%y,0))),f=Q(b/y);v.push(w(k(f,0))),i=_(r,m,n==A),r=0,++n}++r,++t}return v.join("")}a={version:"1.4.1",ucs2:{decode:D,encode:M},decode:S,encode:N,toASCII:function(e){return v(e,function(e){return B.test(e)?"xn--"+N(e):e})},toUnicode:function(e){return v(e,function(e){return I.test(e)?S(e.slice(4).toLowerCase()):e})}},void 0===(A=function(){return a}.call(t,r,t,e))||(e.exports=A)}()}).call(this,r(96)(e),r(34))},function(e,t,r){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,i){t=t||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(t);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var u=e.length;s>0&&u>s&&(u=s);for(var l=0;l<u;++l){var c,f,d,g,h=e[l].replace(a,"%20"),p=h.indexOf(r);p>=0?(c=h.substr(0,p),f=h.substr(p+1)):(c=h,f=""),d=decodeURIComponent(c),g=decodeURIComponent(f),n(o,d)?A(o[d])?o[d].push(g):o[d]=[o[d],g]:o[d]=g}return o};var A=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,a){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?i(o(e),function(o){var a=encodeURIComponent(n(o))+r;return A(e[o])?i(e[o],function(e){return a+encodeURIComponent(n(e))}).join(t):a+encodeURIComponent(n(e[o]))}).join(t):a?encodeURIComponent(n(a))+r+encodeURIComponent(n(e)):""};var A=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var o=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},function(e,t,r){var n=r(949),A=r(516),i=e.exports;for(var o in n)n.hasOwnProperty(o)&&(i[o]=n[o]);function a(e){if("string"==typeof e&&(e=A.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}i.request=function(e,t){return e=a(e),n.request.call(this,e,t)},i.get=function(e,t){return e=a(e),n.get.call(this,e,t)}},function(e,t){t.endianness=function(){return"LE"},t.hostname=function(){return"undefined"!=typeof location?location.hostname:""},t.loadavg=function(){return[]},t.uptime=function(){return 0},t.freemem=function(){return Number.MAX_VALUE},t.totalmem=function(){return Number.MAX_VALUE},t.cpus=function(){return[]},t.type=function(){return"Browser"},t.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},t.networkInterfaces=t.getNetworkInterfaces=function(){return{}},t.arch=function(){return"javascript"},t.platform=function(){return"browser"},t.tmpdir=t.tmpDir=function(){return"/tmp"},t.EOL="\n",t.homedir=function(){return"/"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){this.type=e,this.bubbles=!1,this.cancelable=!1,this.loaded=0,this.lengthComputable=!1,this.total=0};t.ProgressEvent=n},function(e,t,r){"use strict";var n,A=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t}(Error);t.SecurityError=i;var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t}(Error);t.InvalidStateError=o;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t}(Error);t.NetworkError=a;var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t}(Error);t.SyntaxError=s},function(e,t,r){"use strict";(function(e){var n,A=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(t){function r(){var e=t.call(this)||this;return e._contentType=null,e._body=null,e._reset(),e}return A(r,t),r.prototype._reset=function(){this._contentType=null,this._body=null},r.prototype._setData=function(t){if(null!=t)if("string"==typeof t)0!==t.length&&(this._contentType="text/plain;charset=UTF-8"),this._body=new e(t,"utf-8");else if(e.isBuffer(t))this._body=t;else if(t instanceof ArrayBuffer){for(var r=new e(t.byteLength),n=new Uint8Array(t),A=0;A<t.byteLength;A++)r[A]=n[A];this._body=r}else{if(!(t.buffer&&t.buffer instanceof ArrayBuffer))throw new Error("Unsupported send() data "+t);r=new e(t.byteLength);var i=t.byteOffset;for(n=new Uint8Array(t.buffer),A=0;A<t.byteLength;A++)r[A]=n[A+i];this._body=r}},r.prototype._finalizeHeaders=function(e,t){this._contentType&&!t["content-type"]&&(e["Content-Type"]=this._contentType),this._body&&(e["Content-Length"]=this._body.length.toString())},r.prototype._startUpload=function(e){this._body&&e.write(this._body),e.end()},r}(r(517).XMLHttpRequestEventTarget);t.XMLHttpRequestUpload=i}).call(this,r(8).Buffer)},function(e,t){!function(){"use strict";function e(t,r,n,A){return this instanceof e?(this.domain=t||void 0,this.path=r||"/",this.secure=!!n,this.script=!!A,this):new e(t,r,n,A)}function r(e,t,n){return e instanceof r?e:this instanceof r?(this.name=null,this.value=null,this.expiration_date=1/0,this.path=String(n||"/"),this.explicit_path=!1,this.domain=t||null,this.explicit_domain=!1,this.secure=!1,this.noscript=!1,e&&this.parse(e,t,n),this):new r(e,t,n)}e.All=Object.freeze(Object.create(null)),t.CookieAccessInfo=e,t.Cookie=r,r.prototype.toString=function(){var e=[this.name+"="+this.value];return this.expiration_date!==1/0&&e.push("expires="+new Date(this.expiration_date).toGMTString()),this.domain&&e.push("domain="+this.domain),this.path&&e.push("path="+this.path),this.secure&&e.push("secure"),this.noscript&&e.push("httponly"),e.join("; ")},r.prototype.toValueString=function(){return this.name+"="+this.value};var n=/[:](?=\s*[a-zA-Z0-9_\-]+\s*[=])/g;function A(){var e,t;return this instanceof A?(e=Object.create(null),this.setCookie=function(n,A,i){var o,a;if(o=(n=new r(n,A,i)).expiration_date<=Date.now(),void 0!==e[n.name]){for(t=e[n.name],a=0;a<t.length;a+=1)if(t[a].collidesWith(n))return o?(t.splice(a,1),0===t.length&&delete e[n.name],!1):(t[a]=n,n);return!o&&(t.push(n),n)}return!o&&(e[n.name]=[n],e[n.name])},this.getCookie=function(r,n){var A,i;if(t=e[r])for(i=0;i<t.length;i+=1)if((A=t[i]).expiration_date<=Date.now())0===t.length&&delete e[A.name];else if(A.matches(n))return A},this.getCookies=function(t){var r,n,A=[];for(r in e)(n=this.getCookie(r,t))&&A.push(n);return A.toString=function(){return A.join(":")},A.toValueString=function(){return A.map(function(e){return e.toValueString()}).join(";")},A},this):new A}r.prototype.parse=function(e,t,n){if(this instanceof r){var A,i=e.split(";").filter(function(e){return!!e}),o=i[0].match(/([^=]+)=([\s\S]*)/);if(!o)return void console.warn("Invalid cookie header encountered. Header: '"+e+"'");var a=o[1],s=o[2];if("string"!=typeof a||0===a.length||"string"!=typeof s)return void console.warn("Unable to extract values from cookie header. Cookie: '"+e+"'");for(this.name=a,this.value=s,A=1;A<i.length;A+=1)switch(a=(o=i[A].match(/([^=]+)(?:=([\s\S]*))?/))[1].trim().toLowerCase(),s=o[2],a){case"httponly":this.noscript=!0;break;case"expires":this.expiration_date=s?Number(Date.parse(s)):1/0;break;case"path":this.path=s?s.trim():"",this.explicit_path=!0;break;case"domain":this.domain=s?s.trim():"",this.explicit_domain=!!this.domain;break;case"secure":this.secure=!0}return this.explicit_path||(this.path=n||"/"),this.explicit_domain||(this.domain=t),this}return(new r).parse(e,t,n)},r.prototype.matches=function(t){return t===e.All||!(this.noscript&&t.script||this.secure&&!t.secure||!this.collidesWith(t))},r.prototype.collidesWith=function(e){if(this.path&&!e.path||this.domain&&!e.domain)return!1;if(this.path&&0!==e.path.indexOf(this.path))return!1;if(this.explicit_path&&0!==e.path.indexOf(this.path))return!1;var t=e.domain&&e.domain.replace(/^[\.]/,""),r=this.domain&&this.domain.replace(/^[\.]/,"");if(r===t)return!0;if(r){if(!this.explicit_domain)return!1;var n=t.indexOf(r);return-1!==n&&n===t.length-r.length}return!0},t.CookieJar=A,A.prototype.setCookies=function(e,t,A){var i,o,a=[];for(e=(e=Array.isArray(e)?e:e.split(n)).map(function(e){return new r(e,t,A)}),i=0;i<e.length;i+=1)o=e[i],this.setCookie(o,t,A)&&a.push(o);return a}}()},function(e,t,r){"use strict";var n=r(75),A=r(237),i=function(e,t){var r=this;this.responseCallbacks={},this.path=e,this.connection=t.connect({path:this.path}),this.connection.on("error",function(e){console.error("IPC Connection Error",e),r._timeout()}),this.connection.on("end",function(){r._timeout()}),this.connection.on("data",function(e){r._parseResponse(e.toString()).forEach(function(e){var t=null;n.isArray(e)?e.forEach(function(e){r.responseCallbacks[e.id]&&(t=e.id)}):t=e.id,r.responseCallbacks[t]&&(r.responseCallbacks[t](null,e),delete r.responseCallbacks[t])})})};i.prototype._parseResponse=function(e){var t=this,r=[];return e.replace(/\}[\n\r]?\{/g,"}|--|{").replace(/\}\][\n\r]?\[\{/g,"}]|--|[{").replace(/\}[\n\r]?\[\{/g,"}|--|[{").replace(/\}\][\n\r]?\{/g,"}]|--|{").split("|--|").forEach(function(e){t.lastChunk&&(e=t.lastChunk+e);var n=null;try{n=JSON.parse(e)}catch(r){return t.lastChunk=e,clearTimeout(t.lastChunkTimeout),void(t.lastChunkTimeout=setTimeout(function(){throw t._timeout(),A.InvalidResponse(e)},15e3))}clearTimeout(t.lastChunkTimeout),t.lastChunk=null,n&&r.push(n)}),r},i.prototype._addResponseCallback=function(e,t){var r=e.id||e[0].id,n=e.method||e[0].method;this.responseCallbacks[r]=t,this.responseCallbacks[r].method=n},i.prototype._timeout=function(){for(var e in this.responseCallbacks)this.responseCallbacks.hasOwnProperty(e)&&(this.responseCallbacks[e](A.InvalidConnection("on IPC")),delete this.responseCallbacks[e])},i.prototype.isConnected=function(){return this.connection.writable||this.connection.connect({path:this.path}),!!this.connection.writable},i.prototype.send=function(e){if(this.connection.writeSync){var t;this.connection.writable||this.connection.connect({path:this.path});var r=this.connection.writeSync(JSON.stringify(e));try{t=JSON.parse(r)}catch(e){throw A.InvalidResponse(r)}return t}throw new Error('You tried to send "'+e.method+'" synchronously. Synchronous requests are not supported by the IPC provider.')},i.prototype.sendAsync=function(e,t){this.connection.writable||this.connection.connect({path:this.path}),this.connection.write(JSON.stringify(e)),this._addResponseCallback(e,t)},e.exports=i},function(e,t,r){var n=r(1753);e.exports=n(r(191))},function(e,t,r){(function(t){e.exports=function(e){Object.assign(e.modules.json.schema,{extended_asset:{fields:{quantity:"asset",contract:"account_name"}},extended_symbol:{fields:{sym:"symbol",contract:"account_name"}},retire:{base:"",action:{name:"retire",account:"eosio.token"},fields:{quantity:"asset",memo:"string"}},close:{base:"",action:{name:"close",account:"eosio.token"},fields:{owner:"account_name",symbol:"symbol"}},excreate:{base:"",action:{name:"excreate",account:"eosio.token"},fields:{issuer:"account_name",maximum_supply:"asset",connector_weight:"float64",maximum_exchange:"asset",reserve_supply:"asset",reserve_connector_balance:"asset",expiration:"time_point_sec",buy_fee:"float64",sell_fee:"float64",connector_balance_issuer:"account_name"}},exunlock:{base:"",action:{name:"exunlock",account:"eosio.token"},fields:{owner:"account_name",quantity:"extended_asset",expiration:"time_point_sec",memo:"string"}},exlocktrans:{base:"",action:{name:"exlocktrans",account:"eosio.token"},fields:{from:"account_name",to:"account_name",quantity:"extended_asset",expiration:"time_point_sec",expiration_to:"time_point_sec",memo:"string"}},exissue:{base:"",action:{name:"exissue",account:"eosio.token"},fields:{to:"account_name",quantity:"extended_asset",memo:"string"}},extransfer:{base:"",action:{name:"extransfer",account:"eosio.token"},fields:{from:"account_name",to:"account_name",quantity:"extended_asset",memo:"string"}},exretire:{base:"",action:{name:"exretire",account:"eosio.token"},fields:{from:"account_name",quantity:"extended_asset",memo:"string"}},exclose:{base:"",action:{name:"exclose",account:"eosio.token"},fields:{owner:"account_name",symbol:"extended_symbol"}},exdestroy:{base:"",action:{name:"exdestroy",account:"eosio.token"},fields:{symbol:"extended_symbol"}},exchange:{base:"",action:{name:"exchange",account:"eosio.token"},fields:{owner:"account_name",quantity:"extended_asset",to:"extended_asset",price:"float64",id:"account_name",memo:"string"}},ctxrecharge:{base:"",action:{name:"ctxrecharge",account:"eosio.token"},fields:{owner:"account_name",quantity:"extended_asset",memo:"string"}},ctxextract:{base:"",action:{name:"ctxextract",account:"eosio.token"},fields:{owner:"account_name",quantity:"extended_asset",memo:"string"}},ctxtransfer:{base:"",action:{name:"ctxtransfer",account:"eosio.token"},fields:{from:"account_name",to:"account_name",quantity:"extended_asset",memo:"string"}},setposition:{base:"",action:{name:"setposition",account:"eosio.token"},fields:{sym:"extended_symbol",position:"bool",memo:"string"}},exshare:{base:"",action:{name:"exshare",account:"eosio.token"},fields:{quantity:"extended_asset",tosym:"extended_symbol",memo:"string"}},claimbonus:{base:"",action:{name:"claimbonus",account:"eosio"},fields:{owner:"account_name"}},exlock:{base:"",action:{name:"exlock",account:"eosio.token"},fields:{owner:"account_name",quantity:"extended_asset",expiration:"time_point_sec",memo:"string"}},addreserves:{base:"",action:{name:"addreserves","account:":"eosio.token"},fields:{owner:"account_name",tokenx:"extended_asset",tokeny:"extended_asset"}},outreserves:{base:"",action:{name:"outreserves","account:":"eosio.token"},fields:{owner:"account_name",x:"extended_symbol",y:"extended_symbol",rate:"float64"}},withdraw:{base:"",action:{name:"withdraw","account:":"eosio.token"},fields:{owner:"account_name",x:"extended_symbol",y:"extended_symbol",bid_id:"uint64"}}});var n=e.modules.ecc;function A(e){let t=e.toString;return e.toString=(e="FO")=>{var r=t(e);return"FO859gxfnXyUriMgUeThh1fWv3oqcpLFyHa3TfFYC4PK2HqhToVM"===r?"EOS859gxfnXyUriMgUeThh1fWv3oqcpLFyHa3TfFYC4PK2HqhToVM":r},e}var i=n.privateToPublic;n.privateToPublic=function(e,t="FO"){return i(e,t)};var o=n.isValidPublic;n.isValidPublic=function(e,t="FO"){return o(e,t)};var a=n.PublicKey;n.PublicKey=e=>A(a(e,"FO"));var s=a.fromPoint;a.fromPoint=function(e){return A(s(e))};var u=a.fromBuffer;a.fromBuffer=function(e){return A(u(e))};var l=a.fromString;a.fromString=function(e,t="FO"){return l(e,t)};var c=a.fromStringOrThrow;a.fromStringOrThrow=function(e,t="FO"){return"EOS859gxfnXyUriMgUeThh1fWv3oqcpLFyHa3TfFYC4PK2HqhToVM"===e&&(e="FO859gxfnXyUriMgUeThh1fWv3oqcpLFyHa3TfFYC4PK2HqhToVM"),c(e,t)};var f=r(657),d=r(178),g=r(198).getCurveByName("secp256k1");var h=n.Signature.fromBuffer;return n.Signature.fromBuffer=function(e){return function(e){return e.verifyHash=(r,A)=>{var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"hex";if("string"==typeof r&&(r=t.from(r,i)),32!==r.length||!t.isBuffer(r))throw new Error("dataSha256: 32 bytes required");var o=n.PublicKey(A);return assert(o,"pubkey required"),f.verify(g,r,{r:e.r,s:e.s},o.Q)},e.verify=function(r,n){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf8";return"string"==typeof r&&(r=t.from(r,A)),assert(t.isBuffer(r),"data is a required String or Buffer"),r=d.sha256(r),e.verifyHash(r,n)},e}(h(e))},e}}).call(this,r(8).Buffer)},function(e,t,r){var n=r(36),A=r(15).Buffer,i=r(72),o=r(1755),a=r(86),s=A.from("Bitcoin seed","utf8"),u=78,l={private:76066276,public:76067358};function c(e){this.versions=e||l,this.depth=0,this.index=0,this._privateKey=null,this._publicKey=null,this.chainCode=null,this._fingerprint=0,this.parentFingerprint=0}function f(e,t,r){var n=A.allocUnsafe(u);n.writeUInt32BE(t,0),n.writeUInt8(e.depth,4);var i=e.depth?e.parentFingerprint:0;return n.writeUInt32BE(i,5),n.writeUInt32BE(e.index,9),e.chainCode.copy(n,13),r.copy(n,45),n}function d(e){var t=i.createHash("sha256").update(e).digest();return i.createHash("ripemd160").update(t).digest()}Object.defineProperty(c.prototype,"fingerprint",{get:function(){return this._fingerprint}}),Object.defineProperty(c.prototype,"identifier",{get:function(){return this._identifier}}),Object.defineProperty(c.prototype,"pubKeyHash",{get:function(){return this.identifier}}),Object.defineProperty(c.prototype,"privateKey",{get:function(){return this._privateKey},set:function(e){n.equal(e.length,32,"Private key must be 32 bytes."),n(!0===a.privateKeyVerify(e),"Invalid private key"),this._privateKey=e,this._publicKey=a.publicKeyCreate(e,!0),this._identifier=d(this.publicKey),this._fingerprint=this._identifier.slice(0,4).readUInt32BE(0)}}),Object.defineProperty(c.prototype,"publicKey",{get:function(){return this._publicKey},set:function(e){n(33===e.length||65===e.length,"Public key must be 33 or 65 bytes."),n(!0===a.publicKeyVerify(e),"Invalid public key"),this._publicKey=a.publicKeyConvert(e,!0),this._identifier=d(this.publicKey),this._fingerprint=this._identifier.slice(0,4).readUInt32BE(0),this._privateKey=null}}),Object.defineProperty(c.prototype,"privateExtendedKey",{get:function(){return this._privateKey?o.encode(f(this,this.versions.private,A.concat([A.alloc(1,0),this.privateKey]))):null}}),Object.defineProperty(c.prototype,"publicExtendedKey",{get:function(){return o.encode(f(this,this.versions.public,this.publicKey))}}),c.prototype.derive=function(e){if("m"===e||"M"===e||"m'"===e||"M'"===e)return this;var t=e.split("/"),r=this;return t.forEach(function(e,t){if(0!==t){var A=e.length>1&&"'"===e[e.length-1],i=parseInt(e,10);n(i<2147483648,"Invalid index"),A&&(i+=2147483648),r=r.deriveChild(i)}else n(/^[mM]{1}/.test(e),'Path must start with "m" or "M"')}),r},c.prototype.deriveChild=function(e){var t,r=e>=2147483648,o=A.allocUnsafe(4);if(o.writeUInt32BE(e,0),r){n(this.privateKey,"Could not derive hardened child key");var s=this.privateKey,u=A.alloc(1,0);s=A.concat([u,s]),t=A.concat([s,o])}else t=A.concat([this.publicKey,o]);var l=i.createHmac("sha512",this.chainCode).update(t).digest(),f=l.slice(0,32),d=l.slice(32),g=new c(this.versions);if(this.privateKey)try{g.privateKey=a.privateKeyTweakAdd(this.privateKey,f)}catch(t){return this.derive(e+1)}else try{g.publicKey=a.publicKeyTweakAdd(this.publicKey,f,!0)}catch(t){return this.derive(e+1,r)}return g.chainCode=d,g.depth=this.depth+1,g.parentFingerprint=this.fingerprint,g.index=e,g},c.prototype.sign=function(e){return a.sign(e,this.privateKey).signature},c.prototype.verify=function(e,t){return a.verify(e,t,this.publicKey)},c.prototype.wipePrivateData=function(){return this._privateKey&&i.randomBytes(this._privateKey.length).copy(this._privateKey),this._privateKey=null,this},c.prototype.toJSON=function(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}},c.fromMasterSeed=function(e,t){var r=i.createHmac("sha512",s).update(e).digest(),n=r.slice(0,32),A=r.slice(32),o=new c(t);return o.chainCode=A,o.privateKey=n,o},c.fromExtendedKey=function(e,t){var r=new c(t=t||l),A=o.decode(e),i=A.readUInt32BE(0);n(i===t.private||i===t.public,"Version mismatch: does not match private or public"),r.depth=A.readUInt8(4),r.parentFingerprint=A.readUInt32BE(5),r.index=A.readUInt32BE(9),r.chainCode=A.slice(13,45);var a=A.slice(45);return 0===a.readUInt8(0)?(n(i===t.private,"Version mismatch: version does not match private"),r.privateKey=a.slice(1)):(n(i===t.public,"Version mismatch: version does not match public"),r.publicKey=a),r},c.fromJSON=function(e){return c.fromExtendedKey(e.xpriv)},c.HARDENED_OFFSET=2147483648,e.exports=c},function(e,t,r){(function(t){var n=r(1756),A=r(45);function i(e,r){var A;(Array.isArray(e)||e instanceof Uint8Array)&&(e=new t(e)),null!=r?("number"==typeof r&&(r=new t([r])),A=t.concat([r,e])):A=e;var i=s(A).slice(0,4),o=t.concat([A,i]);return n.encode(o)}function o(e,r){var A,i=n.decode(e),o=new t(i);if(null==r)A=0;else if("number"==typeof r&&(r=new t([r])),A=r.length,o.slice(0,A).toString("hex")!==r.toString("hex"))throw new Error("Invalid version");var a=o.slice(-4),u=o.length-4,l=o.slice(0,u),c=s(l).slice(0,4);if(a.toString("hex")!==c.toString("hex"))throw new Error("Invalid checksum");return l.slice(A)}function a(e,t){try{o(e,t)}catch(e){return!1}return!0}function s(e){var t=A("sha256").update(e).digest();return A("sha256").update(t).digest()}e.exports={encode:i,decode:o,isValid:a,createEncoder:function(e){return function(t){return i(t,e)}},createDecoder:function(e){return function(t){return o(t,e)}},createValidator:function(e){return function(t){return a(t,e)}}}}).call(this,r(8).Buffer)},function(e,t){for(var r="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",n={},A=0;A<r.length;A++)n[r.charAt(A)]=A;var i=58;e.exports={encode:function(e){if(0===e.length)return"";var t,n=[0];for(a=0;a<e.length;a++){for(t=0;t<n.length;t++)n[t]<<=8;n[0]+=e[a];var A=0;for(t=0;t<n.length;++t)n[t]+=A,A=n[t]/i|0,n[t]%=i;for(;A;)n.push(A%i),A=A/i|0}for(a=0;0===e[a]&&a<e.length-1;a++)n.push(0);for(var o="",a=n.length-1;a>=0;a--)o+=r[n[a]];return o},decode:function(e){if(0===e.length)return[];var t,r,A=[0];for(t=0;t<e.length;t++){var o=e[t];if(!(o in n))throw new Error("Non-base58 character");for(r=0;r<A.length;r++)A[r]*=i;A[0]+=n[o];var a=0;for(r=0;r<A.length;++r)A[r]+=a,a=A[r]>>8,A[r]&=255;for(;a;)A.push(255&a),a>>=8}for(t=0;"1"===e[t]&&t<e.length-1;t++)A.push(0);return A.reverse()}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=n.__importDefault(r(17)),i=r(521);!function(e){e.wei="wei",e.Kwei="Kwei",e.Mwei="Mwei",e.Gwei="Gwei",e.szabo="szabo",e.finney="finney",e.ether="ether",e.one="one",e.Kether="Kether",e.Mether="Mether",e.Gether="Gether",e.Tether="Tether"}(t.Units||(t.Units={})),t.unitMap=new Map([["wei","1"],["Kwei","1000"],["Mwei","1000000"],["Gwei","1000000000"],["szabo","1000000000000"],["finney","1000000000000000"],["ether","1000000000000000000"],["one","1000000000000000000"],["Kether","1000000000000000000000"],["Mether","1000000000000000000000000"],["Gether","1000000000000000000000000000"],["Tether","1000000000000000000000000000000"]]);var o={pad:!1};t.numberToString=function(e,t){if(void 0===t&&(t=10),A.default.isBN(e))return e.toString(t);if(i.isNumber(e))return new A.default(e).toString(t);if(i.isString(e)&&i.isNumber(Number(e)))return new A.default(e).toString(t);throw new Error("cannot parse number:"+e+" to string")},t.numToStr=function(e){if("string"==typeof e){if(!e.match(/^-?[0-9.]+$/))throw new Error("while converting number to string, invalid number value '"+e+"', should be a number matching (^-?[0-9.]+).");return e}if("number"==typeof e)return String(e);if(A.default.isBN(e))return e.toString(10);throw new Error("while converting number to string, invalid number value '"+e+"' type "+typeof e+".")},t.add0xToString=function(e){if(i.isString(e)&&!e.startsWith("-"))return"0x"+e.replace("0x","");if(i.isString(e)&&e.startsWith("-"))return"-0x"+e.replace("-","");throw new Error(e+" is not String")},t.strip0x=function(e){return e.toLowerCase().replace("0x","")},t.numberToHex=function(e){try{return t.add0xToString(t.numberToString(e,16))}catch(e){throw e}},t.hexToNumber=function(e){if(i.isHex(e)&&"-"!==e[0])return new A.default(t.strip0x(e),"hex").toString();if(i.isHex(e)&&"-"===e[0])return new A.default(e.substring(3),16).mul(new A.default(-1)).toString();throw new Error(e+" is not hex number")},t.hexToBN=function(e){if(i.isHex(e)&&"-"!==e[0])return new A.default(t.strip0x(e),"hex");if(i.isHex(e)&&"-"===e[0])return new A.default(e.substring(3),16).mul(new A.default(-1));throw new Error(e+" is not hex number")},t.toWei=function(e,r){try{var i=t.numToStr(e),o=t.unitMap.get(r);if(!o)throw new Error("No unit of type "+r+" exists.");var a=o.length-1,s=new A.default(o,10),u="-"===i.substring(0,1);if(u&&(i=i.substring(1)),"."===i)throw new Error("Cannot convert "+i+" to wei.");var l=i.split(".");if(l.length>2)throw new Error("Cannot convert "+i+" to wei.");var c=n.__read(l,2),f=c[0],d=c[1];if(f||(f="0"),d||(d="0"),d.length>a)throw new Error("Cannot convert "+i+" to wei.");for(;d.length<a;)d+="0";var g=new A.default(f),h=new A.default(d),p=g.mul(s).add(h);return u&&(p=p.neg()),new A.default(p.toString(10),10)}catch(e){throw e}},t.fromWei=function(e,r,n){void 0===n&&(n=o);try{var i=A.default.isBN(e)?e:new A.default(e);if("wei"===r)return i.toString(10);var a=t.unitMap.get(r);if(!a)throw new Error("No unit of type "+r+" exists.");for(var s=new A.default(a,10),u=a.length-1,l=i.abs().mod(s).toString(10);l.length<u;)l="0"+l;if(!n.pad){var c=l.match(/^([0-9]*[1-9]|0)(0*)/);l=c?c[1]:"0"}var f=i.div(s).toString(10);return"0"===l?""+f:f+"."+l}catch(e){throw e}};var a=function(){function e(e){!A.default.isBN(e)&&"number"!=typeof e&&i.isHex(e)?this.unit=t.hexToNumber(e):A.default.isBN(e)||"number"!=typeof e?this.unit="0x"===e?t.hexToNumber("0x0"):e:this.unit=e.toString(),this.wei=new A.default(this.unit)}return e.from=function(t){return new e(t)},e.Wei=function(t){return new e(t).asWei()},e.Kwei=function(t){return new e(t).asKwei()},e.Mwei=function(t){return new e(t).asMwei()},e.Gwei=function(t){return new e(t).asGwei()},e.Szabo=function(t){return new e(t).asSzabo()},e.Finney=function(t){return new e(t).asFinney()},e.Ether=function(t){return new e(t).asEther()},e.One=function(t){return new e(t).asOne()},e.Kether=function(t){return new e(t).asKether()},e.Mether=function(t){return new e(t).asMether()},e.Gether=function(t){return new e(t).asGether()},e.Tether=function(t){return new e(t).asTether()},e.prototype.asWei=function(){return this.wei=new A.default(this.unit),this},e.prototype.asKwei=function(){return this.wei=t.toWei(this.unit,"Kwei"),this},e.prototype.asMwei=function(){return this.wei=t.toWei(this.unit,"Mwei"),this},e.prototype.asGwei=function(){return this.wei=t.toWei(this.unit,"Gwei"),this},e.prototype.asSzabo=function(){return this.wei=t.toWei(this.unit,"szabo"),this},e.prototype.asFinney=function(){return this.wei=t.toWei(this.unit,"finney"),this},e.prototype.asEther=function(){return this.wei=t.toWei(this.unit,"ether"),this},e.prototype.asOne=function(){return this.wei=t.toWei(this.unit,"one"),this},e.prototype.asKether=function(){return this.wei=t.toWei(this.unit,"Kether"),this},e.prototype.asMether=function(){return this.wei=t.toWei(this.unit,"Mether"),this},e.prototype.asGether=function(){return this.wei=t.toWei(this.unit,"Gether"),this},e.prototype.asTether=function(){return this.wei=t.toWei(this.unit,"Tether"),this},e.prototype.toWei=function(){if(this.wei)return this.wei;throw new Error("error transforming")},e.prototype.toKwei=function(){if(this.wei)return t.fromWei(this.wei,"Kwei");throw new Error("error transforming")},e.prototype.toGwei=function(){if(this.wei)return t.fromWei(this.wei,"Gwei");throw new Error("error transforming")},e.prototype.toMwei=function(){if(this.wei)return t.fromWei(this.wei,"Mwei");throw new Error("error transforming")},e.prototype.toSzabo=function(){if(this.wei)return t.fromWei(this.wei,"szabo");throw new Error("error transforming")},e.prototype.toFinney=function(){if(this.wei)return t.fromWei(this.wei,"finney");throw new Error("error transforming")},e.prototype.toEther=function(){if(this.wei)return t.fromWei(this.wei,"ether");throw new Error("error transforming")},e.prototype.toOne=function(){if(this.wei)return t.fromWei(this.wei,"one");throw new Error("error transforming")},e.prototype.toKether=function(){if(this.wei)return t.fromWei(this.wei,"Kether");throw new Error("error transforming")},e.prototype.toMether=function(){if(this.wei)return t.fromWei(this.wei,"Mether");throw new Error("error transforming")},e.prototype.toGether=function(){if(this.wei)return t.fromWei(this.wei,"Gether");throw new Error("error transforming")},e.prototype.toTether=function(){if(this.wei)return t.fromWei(this.wei,"Tether");throw new Error("error transforming")},e.prototype.toWeiString=function(){if(this.wei)return this.wei.toString();throw new Error("error transforming")},e.prototype.toHex=function(){if(this.wei)return t.numberToHex(this.wei);throw new Error("error transforming")},e}();t.Unit=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(521);function A(e,t,r){for(var n in t){if(void 0===e[n])throw new Error("Key not found: "+n);for(var A=0;A<t[n].length;A+=1){if("function"!=typeof t[n][A])throw new Error("Validator is not a function");if(!t[n][A](e[n]))throw new Error("Validation failed for "+n+",should be validated by "+t[n][A].validator)}}for(var n in r)if(e[n])for(A=0;A<r[n].length;A+=1){if("function"!=typeof r[n][A])throw new Error("Validator is not a function");if(!r[n][A](e[n]))throw new Error("Validation failed for "+n+",should be validated by "+r[n][A].validator)}return!0}function i(e){var r={},n={};for(var A in e)if(void 0!==A){var i=A,o=e[A][0];"required"===e[A][1]?r[i]=t.validatorArray[o]:n[i]=t.validatorArray[o]}return{requiredArgs:r,optionalArgs:n}}!function(e){e.required="required",e.optional="optional"}(t.AssertType||(t.AssertType={})),t.validatorArray={isNumber:[n.isNumber],isString:[n.isString],isBoolean:[n.isBoolean],isArray:[n.isArray],isJsonString:[n.isJsonString],isObject:[n.isObject],isFunction:[n.isFunction],isHex:[n.isHex],isPublicKey:[n.isPublicKey],isPrivateKey:[n.isPrivateKey],isAddress:[n.isAddress],isHash:[n.isHash],isBlockNumber:[n.isBlockNumber],isBech32Address:[n.isBech32Address],isBech32TestNetAddress:[n.isBech32TestNetAddress],isValidAddress:[n.isValidAddress]},t.validateArgs=A,t.generateValidateObjects=i;t.assertObject=function(e){return function(t,r,n){var o=i(e),a=o.requiredArgs,s=o.optionalArgs,u=n.value;return n.value=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return A(e[0],a,s),u.apply(this,e)},n}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Harmony="hmy",e.Ethereum="eth"}(t.ChainType||(t.ChainType={})),function(e){e[e.Default=0]="Default",e[e.EthMainnet=1]="EthMainnet",e[e.Morden=2]="Morden",e[e.Ropsten=3]="Ropsten",e[e.Rinkeby=4]="Rinkeby",e[e.RootstockMainnet=30]="RootstockMainnet",e[e.RootstockTestnet=31]="RootstockTestnet",e[e.Kovan=42]="Kovan",e[e.EtcMainnet=61]="EtcMainnet",e[e.EtcTestnet=62]="EtcTestnet",e[e.Geth=1337]="Geth",e[e.Ganache=0]="Ganache",e[e.HmyMainnet=1]="HmyMainnet",e[e.HmyTestnet=2]="HmyTestnet",e[e.HmyLocal=2]="HmyLocal",e[e.HmyPangaea=3]="HmyPangaea"}(t.ChainID||(t.ChainID={})),t.defaultConfig={Default:{Chain_ID:2,Chain_Type:"hmy",Chain_URL:"http://localhost:9500",Network_ID:"Local"},DefaultWS:{Chain_ID:2,Chain_Type:"hmy",Chain_URL:"ws://localhost:9800",Network_ID:"LocalWS"}};var n=function(){function e(e,r){void 0===r&&(r=t.defaultConfig.Default.Chain_ID),this.chainType=e,this.chainId=r}return Object.defineProperty(e.prototype,"chainPrefix",{get:function(){switch(this.chainType){case"eth":return"eth";case"hmy":default:return"hmy"}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"getChainId",{get:function(){return this.chainId},enumerable:!0,configurable:!0}),e.prototype.setChainId=function(e){this.chainId=e},e.prototype.setChainType=function(e){this.chainType=e},e}();t.HarmonyCore=n,t.HDPath="m/44'/1023'/0'/0/",t.AddressSuffix="-"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defineReadOnly=function(e,t,r){Object.defineProperty(e,t,{enumerable:!0,value:r,writable:!1})}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=n.__importDefault(r(1762)),i=n.__importDefault(r(1763)),o=r(149),a=n.__importDefault(r(427)),s=r(31),u=r(518),l=r(350),c=r(295),f=r(520);function d(t,r,A){return n.__awaiter(this,void 0,void 0,function(){var a,s,u,l,c,f,d,g;return n.__generator(this,function(n){if(a=e.from(A.salt,"hex"),"pbkdf2"===r)return u=(s=A).c,g=s.dklen,[2,o.pbkdf2Sync(t,a,u,g,"sha256")];if("scrypt"===r)return c=(l=A).n,f=l.r,d=l.p,g=l.dklen,[2,i.default(t,a,c,f,d,g)];throw new Error("Only pbkdf2 and scrypt are supported")})})}t.encrypt=function(t,r,i){return n.__awaiter(void 0,void 0,void 0,function(){var o,g,h,p,I,B,C,m,y,Q,w;return n.__generator(this,function(n){switch(n.label){case 0:if(!s.isPrivateKey(t))throw new Error("privateKey is not correct");if(!r)throw new Error("password is not found");return o=l.getAddressFromPrivateKey(t),g=u.randomBytes(32),h=e.from(u.randomBytes(16),"hex"),p=void 0!==i&&i.kdf?i.kdf:"scrypt",I=void 0!==i&&i.level?i.level:8192,B=void 0!==i?i.uuid:void 0,C={salt:g,n:"pbkdf2"===p?262144:I,r:8,p:1,dklen:32},[4,d(e.from(r),p,C)];case 1:if(m=n.sent(),!(y=new A.default.ModeOfOperation.ctr(m.slice(0,16),new A.default.Counter(h))))throw new Error("Unsupported cipher");return Q=e.from(y.encrypt(e.from(t.replace("0x",""),"hex"))),w=f.keccak256(c.concat([m.slice(16,32),Q])),[2,JSON.stringify({version:3,id:a.default.v4({random:B||c.hexToIntArray(u.randomBytes(16))}),address:o.toLowerCase().replace("0x",""),Crypto:{ciphertext:Q.toString("hex"),cipherparams:{iv:h.toString("hex")},cipher:"aes-128-ctr",kdf:p,kdfparams:C,mac:w.replace("0x","")}})]}})})},t.decrypt=function(t,r){return n.__awaiter(void 0,void 0,void 0,function(){var i,o,a,s,u,l;return n.__generator(this,function(n){switch(n.label){case 0:return i=e.from(t.Crypto.ciphertext,"hex"),o=e.from(t.Crypto.cipherparams.iv,"hex"),a=t.Crypto.kdfparams,[4,d(e.from(r),t.Crypto.kdf,a)];case 1:return s=n.sent(),f.keccak256(c.concat([s.slice(16,32),i])).replace("0x","").toUpperCase()!==t.Crypto.mac.toUpperCase()?[2,Promise.reject(new Error("Failed to decrypt."))]:(u=A.default.ModeOfOperation.ctr,l=new u(s.slice(0,16),new A.default.Counter(o)),[2,"0x"+e.from(l.decrypt(i)).toString("hex")])}})})},t.encryptPhrase=function(t,r,i){return n.__awaiter(void 0,void 0,void 0,function(){var o,s,l,g,h,p,I,B,C,m;return n.__generator(this,function(n){switch(n.label){case 0:if(!r)throw new Error("password is not found");return o=u.randomBytes(32),s=e.from(u.randomBytes(16),"hex"),l=void 0!==i&&i.kdf?i.kdf:"scrypt",g=void 0!==i&&i.level?i.level:8192,h=void 0!==i?i.uuid:void 0,p={salt:o,n:"pbkdf2"===l?262144:g,r:8,p:1,dklen:32},[4,d(e.from(r),l,p)];case 1:if(I=n.sent(),!(B=new A.default.ModeOfOperation.ctr(I.slice(0,16),new A.default.Counter(s))))throw new Error("Unsupported cipher");return C=e.from(B.encrypt(e.from(t))),m=f.keccak256(c.concat([I.slice(16,32),C])),[2,JSON.stringify({version:3,id:a.default.v4({random:h||c.hexToIntArray(u.randomBytes(16))}),Crypto:{ciphertext:C.toString("hex"),cipherparams:{iv:s.toString("hex")},cipher:"aes-128-ctr",kdf:l,kdfparams:p,mac:m.replace("0x","")}})]}})})},t.decryptPhrase=function(r,A){return n.__awaiter(void 0,void 0,void 0,function(){var i;return n.__generator(this,function(n){switch(n.label){case 0:return[4,t.decrypt(r,A)];case 1:return i=n.sent(),[2,e.from(i.replace("0x",""),"hex").toString()]}})})}}).call(this,r(8).Buffer)},function(e,t,r){
/*! MIT License. Copyright 2015-2018 Richard Moore <me@ricmoo.com>. See LICENSE.txt. */
!function(t){"use strict";function r(e){return parseInt(e)===e}function n(e){if(!r(e.length))return!1;for(var t=0;t<e.length;t++)if(!r(e[t])||e[t]<0||e[t]>255)return!1;return!0}function A(e,t){if(e.buffer&&"Uint8Array"===e.name)return t&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!n(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(r(e.length)&&n(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function i(e){return new Uint8Array(e)}function o(e,t,r,n,A){null==n&&null==A||(e=e.slice?e.slice(n,A):Array.prototype.slice.call(e,n,A)),t.set(e,r)}var a={toBytes:function(e){var t=[],r=0;for(e=encodeURI(e);r<e.length;){var n=e.charCodeAt(r++);37===n?(t.push(parseInt(e.substr(r,2),16)),r+=2):t.push(n)}return A(t)},fromBytes:function(e){for(var t=[],r=0;r<e.length;){var n=e[r];n<128?(t.push(String.fromCharCode(n)),r++):n>191&&n<224?(t.push(String.fromCharCode((31&n)<<6|63&e[r+1])),r+=2):(t.push(String.fromCharCode((15&n)<<12|(63&e[r+1])<<6|63&e[r+2])),r+=3)}return t.join("")}},s=function(){var e="0123456789abcdef";return{toBytes:function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(parseInt(e.substr(r,2),16));return t},fromBytes:function(t){for(var r=[],n=0;n<t.length;n++){var A=t[n];r.push(e[(240&A)>>4]+e[15&A])}return r.join("")}}}(),u={16:10,24:12,32:14},l=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],c=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],f=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],d=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],g=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],h=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],p=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],I=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],B=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],C=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],m=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],y=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],Q=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],w=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],E=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function b(e){for(var t=[],r=0;r<e.length;r+=4)t.push(e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]);return t}var v=function(e){if(!(this instanceof v))throw Error("AES must be instanitated with `new`");Object.defineProperty(this,"key",{value:A(e,!0)}),this._prepare()};v.prototype._prepare=function(){var e=u[this.key.length];if(null==e)throw new Error("invalid key size (must be 16, 24 or 32 bytes)");this._Ke=[],this._Kd=[];for(var t=0;t<=e;t++)this._Ke.push([0,0,0,0]),this._Kd.push([0,0,0,0]);var r,n=4*(e+1),A=this.key.length/4,i=b(this.key);for(t=0;t<A;t++)r=t>>2,this._Ke[r][t%4]=i[t],this._Kd[e-r][t%4]=i[t];for(var o,a=0,s=A;s<n;){if(o=i[A-1],i[0]^=c[o>>16&255]<<24^c[o>>8&255]<<16^c[255&o]<<8^c[o>>24&255]^l[a]<<24,a+=1,8!=A)for(t=1;t<A;t++)i[t]^=i[t-1];else{for(t=1;t<A/2;t++)i[t]^=i[t-1];o=i[A/2-1],i[A/2]^=c[255&o]^c[o>>8&255]<<8^c[o>>16&255]<<16^c[o>>24&255]<<24;for(t=A/2+1;t<A;t++)i[t]^=i[t-1]}for(t=0;t<A&&s<n;)f=s>>2,d=s%4,this._Ke[f][d]=i[t],this._Kd[e-f][d]=i[t++],s++}for(var f=1;f<e;f++)for(var d=0;d<4;d++)o=this._Kd[f][d],this._Kd[f][d]=y[o>>24&255]^Q[o>>16&255]^w[o>>8&255]^E[255&o]},v.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var t=this._Ke.length-1,r=[0,0,0,0],n=b(e),A=0;A<4;A++)n[A]^=this._Ke[0][A];for(var o=1;o<t;o++){for(A=0;A<4;A++)r[A]=d[n[A]>>24&255]^g[n[(A+1)%4]>>16&255]^h[n[(A+2)%4]>>8&255]^p[255&n[(A+3)%4]]^this._Ke[o][A];n=r.slice()}var a,s=i(16);for(A=0;A<4;A++)a=this._Ke[t][A],s[4*A]=255&(c[n[A]>>24&255]^a>>24),s[4*A+1]=255&(c[n[(A+1)%4]>>16&255]^a>>16),s[4*A+2]=255&(c[n[(A+2)%4]>>8&255]^a>>8),s[4*A+3]=255&(c[255&n[(A+3)%4]]^a);return s},v.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var t=this._Kd.length-1,r=[0,0,0,0],n=b(e),A=0;A<4;A++)n[A]^=this._Kd[0][A];for(var o=1;o<t;o++){for(A=0;A<4;A++)r[A]=I[n[A]>>24&255]^B[n[(A+3)%4]>>16&255]^C[n[(A+2)%4]>>8&255]^m[255&n[(A+1)%4]]^this._Kd[o][A];n=r.slice()}var a,s=i(16);for(A=0;A<4;A++)a=this._Kd[t][A],s[4*A]=255&(f[n[A]>>24&255]^a>>24),s[4*A+1]=255&(f[n[(A+3)%4]>>16&255]^a>>16),s[4*A+2]=255&(f[n[(A+2)%4]>>8&255]^a>>8),s[4*A+3]=255&(f[255&n[(A+1)%4]]^a);return s};var D=function(e){if(!(this instanceof D))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new v(e)};D.prototype.encrypt=function(e){if((e=A(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=i(e.length),r=i(16),n=0;n<e.length;n+=16)o(e,r,0,n,n+16),o(r=this._aes.encrypt(r),t,n);return t},D.prototype.decrypt=function(e){if((e=A(e)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var t=i(e.length),r=i(16),n=0;n<e.length;n+=16)o(e,r,0,n,n+16),o(r=this._aes.decrypt(r),t,n);return t};var M=function(e,t){if(!(this instanceof M))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Block Chaining",this.name="cbc",t){if(16!=t.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else t=i(16);this._lastCipherblock=A(t,!0),this._aes=new v(e)};M.prototype.encrypt=function(e){if((e=A(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=i(e.length),r=i(16),n=0;n<e.length;n+=16){o(e,r,0,n,n+16);for(var a=0;a<16;a++)r[a]^=this._lastCipherblock[a];this._lastCipherblock=this._aes.encrypt(r),o(this._lastCipherblock,t,n)}return t},M.prototype.decrypt=function(e){if((e=A(e)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var t=i(e.length),r=i(16),n=0;n<e.length;n+=16){o(e,r,0,n,n+16),r=this._aes.decrypt(r);for(var a=0;a<16;a++)t[n+a]=r[a]^this._lastCipherblock[a];o(e,this._lastCipherblock,0,n,n+16)}return t};var k=function(e,t,r){if(!(this instanceof k))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Feedback",this.name="cfb",t){if(16!=t.length)throw new Error("invalid initialation vector size (must be 16 size)")}else t=i(16);r||(r=1),this.segmentSize=r,this._shiftRegister=A(t,!0),this._aes=new v(e)};k.prototype.encrypt=function(e){if(e.length%this.segmentSize!=0)throw new Error("invalid plaintext size (must be segmentSize bytes)");for(var t,r=A(e,!0),n=0;n<r.length;n+=this.segmentSize){t=this._aes.encrypt(this._shiftRegister);for(var i=0;i<this.segmentSize;i++)r[n+i]^=t[i];o(this._shiftRegister,this._shiftRegister,0,this.segmentSize),o(r,this._shiftRegister,16-this.segmentSize,n,n+this.segmentSize)}return r},k.prototype.decrypt=function(e){if(e.length%this.segmentSize!=0)throw new Error("invalid ciphertext size (must be segmentSize bytes)");for(var t,r=A(e,!0),n=0;n<r.length;n+=this.segmentSize){t=this._aes.encrypt(this._shiftRegister);for(var i=0;i<this.segmentSize;i++)r[n+i]^=t[i];o(this._shiftRegister,this._shiftRegister,0,this.segmentSize),o(e,this._shiftRegister,16-this.segmentSize,n,n+this.segmentSize)}return r};var _=function(e,t){if(!(this instanceof _))throw Error("AES must be instanitated with `new`");if(this.description="Output Feedback",this.name="ofb",t){if(16!=t.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else t=i(16);this._lastPrecipher=A(t,!0),this._lastPrecipherIndex=16,this._aes=new v(e)};_.prototype.encrypt=function(e){for(var t=A(e,!0),r=0;r<t.length;r++)16===this._lastPrecipherIndex&&(this._lastPrecipher=this._aes.encrypt(this._lastPrecipher),this._lastPrecipherIndex=0),t[r]^=this._lastPrecipher[this._lastPrecipherIndex++];return t},_.prototype.decrypt=_.prototype.encrypt;var S=function(e){if(!(this instanceof S))throw Error("Counter must be instanitated with `new`");0===e||e||(e=1),"number"==typeof e?(this._counter=i(16),this.setValue(e)):this.setBytes(e)};S.prototype.setValue=function(e){if("number"!=typeof e||parseInt(e)!=e)throw new Error("invalid counter value (must be an integer)");if(e>Number.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var t=15;t>=0;--t)this._counter[t]=e%256,e=parseInt(e/256)},S.prototype.setBytes=function(e){if(16!=(e=A(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},S.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var N=function(e,t){if(!(this instanceof N))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",t instanceof S||(t=new S(t)),this._counter=t,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new v(e)};N.prototype.encrypt=function(e){for(var t=A(e,!0),r=0;r<t.length;r++)16===this._remainingCounterIndex&&(this._remainingCounter=this._aes.encrypt(this._counter._counter),this._remainingCounterIndex=0,this._counter.increment()),t[r]^=this._remainingCounter[this._remainingCounterIndex++];return t},N.prototype.decrypt=N.prototype.encrypt;var F={AES:v,Counter:S,ModeOfOperation:{ecb:D,cbc:M,cfb:k,ofb:_,ctr:N},utils:{hex:s,utf8:a},padding:{pkcs7:{pad:function(e){var t=16-(e=A(e,!0)).length%16,r=i(e.length+t);o(e,r);for(var n=e.length;n<r.length;n++)r[n]=t;return r},strip:function(e){if((e=A(e,!0)).length<16)throw new Error("PKCS#7 invalid length");var t=e[e.length-1];if(t>16)throw new Error("PKCS#7 padding byte out of range");for(var r=e.length-t,n=0;n<t;n++)if(e[r+n]!==t)throw new Error("PKCS#7 invalid padding byte");var a=i(r);return o(e,a,0,0,r),a}}},_arrayTest:{coerceArray:A,createArray:i,copyArray:o}};e.exports=F}()},function(e,t,r){e.exports=r(1764)},function(e,t,r){const n=r(1765);n.async=r(1766),e.exports=n},function(e,t,r){const n=r(72),{checkAndInit:A,smixSync:i}=r(956);e.exports=function(e,t,r,o,a,s,u){const{XY:l,V:c,B32:f,x:d,_X:g,B:h,tickCallback:p}=A(e,t,r,o,a,s,u);for(var I=0;I<a;I++)i(h,128*I*o,o,r,c,l,g,f,d,p);return n.pbkdf2Sync(e,h,1,s,"sha256")}},function(e,t,r){const n=r(72),{checkAndInit:A,smix:i}=r(956);e.exports=async function(e,t,r,o,a,s,u,l){const{XY:c,V:f,B32:d,x:g,_X:h,B:p,tickCallback:I}=A(e,t,r,o,a,s,u);for(var B=0;B<a;B++)await i(p,128*B*o,o,r,f,c,h,d,g,I,l);return n.pbkdf2Sync(e,p,1,s,"sha256")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(31),A=r(350),i=r(957),o=function(){function e(e){this.raw=e,this.basic=this.getBasic(this.raw)}return e.isValidBasic=function(t){var r=new e(t);return r.raw===r.basic},e.isValidChecksum=function(t){var r=new e(t);return r.raw===r.checksum},e.isValidBech32=function(t){var r=new e(t);return r.raw===r.bech32},e.isValidBech32TestNet=function(t){var r=new e(t);return r.raw===r.bech32TestNet},Object.defineProperty(e.prototype,"basicHex",{get:function(){return"0x"+this.basic},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checksum",{get:function(){return A.toChecksumAddress("0x"+this.basic)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bech32",{get:function(){return i.toBech32(this.basic,i.HRP)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bech32TestNet",{get:function(){return i.toBech32(this.basic,i.tHRP)},enumerable:!0,configurable:!0}),e.prototype.getBasic=function(e){var t=n.isAddress(e),r=n.isBech32Address(e),A=n.isBech32TestNetAddress(e);if(t)return e.replace("0x","").toLowerCase();if(r)return i.fromBech32(e,i.HRP).replace("0x","").toLowerCase();if(A)return i.fromBech32(e,i.tHRP).replace("0x","").toLowerCase();throw new Error('"'+e+'" is an invalid address format')},e}();t.HarmonyAddress=o,t.getAddress=function(e){try{return new o(e)}catch(e){throw e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=n.__importStar(r(54)),i=n.__importStar(r(31)),o=r(129),a=r(239),s=r(1784),u=r(965),l=r(529),c=r(532),f=function(e){function t(t,r){void 0===r&&(r={chainId:i.defaultConfig.Default.Chain_ID,chainType:i.defaultConfig.Default.Chain_Type});var n=e.call(this,r.chainType,r.chainId)||this;n.Modules={HttpProvider:o.HttpProvider,WSProvider:o.WSProvider,Messenger:o.Messenger,Blockchain:c.Blockchain,TransactionFactory:a.TransactionFactory,StakingFactory:s.StakingFactory,Wallet:l.Wallet,Transaction:a.Transaction,StakingTransaction:s.StakingTransaction,Account:l.Account,Contract:u.Contract};var f=r.chainUrl||t||i.defaultConfig.Default.Chain_URL;return n.provider=new o.Provider(f).provider,n.messenger=new o.Messenger(n.provider,n.chainType,n.chainId),n.blockchain=new c.Blockchain(n.messenger),n.transactions=new a.TransactionFactory(n.messenger),n.stakings=new s.StakingFactory(n.messenger),n.wallet=new l.Wallet(n.messenger),n.contracts=new u.ContractFactory(n.wallet),n.crypto=A,n.utils=i,n.defaultShardID=r.shardID,void 0!==n.defaultShardID&&n.setShardID(n.defaultShardID),n}return n.__extends(t,e),t.prototype.setProvider=function(e){this.provider=new o.Provider(e).provider,this.messenger.setProvider(this.provider),this.setMessenger(this.messenger)},t.prototype.setChainId=function(e){this.chainId=e,this.messenger.setChainId(this.chainId),this.setMessenger(this.messenger)},t.prototype.setShardID=function(e){this.defaultShardID=e,this.messenger.setDefaultShardID(this.defaultShardID),this.setMessenger(this.messenger)},t.prototype.setChainType=function(e){this.chainType=e,this.messenger.setChainType(this.chainType),this.setMessenger(this.messenger)},t.prototype.shardingStructures=function(e){var t,r;try{for(var A=n.__values(e),i=A.next();!i.done;i=A.next()){var o=i.value,a="string"==typeof o.shardID?Number.parseInt(o.shardID,10):o.shardID;this.messenger.shardProviders.set(a,{current:void 0!==o.current&&o.current,shardID:a,http:o.http,ws:o.ws})}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=A.return)&&r.call(A)}finally{if(t)throw t.error}}this.setMessenger(this.messenger)},t.prototype.setMessenger=function(e){this.blockchain.setMessenger(e),this.wallet.setMessenger(e),this.transactions.setMessenger(e),this.stakings.setMessenger(e)},t}(i.HarmonyCore);t.Harmony=f},function(e,t){var r=function(e){function t(){this.fetch=!1,this.DOMException=e.DOMException}return t.prototype=e,new t}("undefined"!=typeof self?self:this);!function(e){!function(t){var r={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(r.arrayBuffer)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],A=ArrayBuffer.isView||function(e){return e&&n.indexOf(Object.prototype.toString.call(e))>-1};function i(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function o(e){return"string"!=typeof e&&(e=String(e)),e}function a(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r.iterable&&(t[Symbol.iterator]=function(){return t}),t}function s(e){this.map={},e instanceof s?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function u(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function l(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function c(e){var t=new FileReader,r=l(t);return t.readAsArrayBuffer(e),r}function f(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:r.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:r.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():r.arrayBuffer&&r.blob&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=f(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||A(e))?this._bodyArrayBuffer=f(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r.blob&&(this.blob=function(){var e=u(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?u(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(c)}),this.text=function(){var e,t,r,n=u(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,r=l(t),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(e,t){e=i(e),t=o(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},s.prototype.delete=function(e){delete this.map[i(e)]},s.prototype.get=function(e){return e=i(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(i(e))},s.prototype.set=function(e,t){this.map[i(e)]=o(t)},s.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},s.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),a(e)},s.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),a(e)},s.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),a(e)},r.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function h(e,t){var r,n,A=(t=t||{}).body;if(e instanceof h){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,A||null==e._bodyInit||(A=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new s(t.headers)),this.method=(r=t.method||this.method||"GET",n=r.toUpperCase(),g.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&A)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(A)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),A=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(A))}}),t}function I(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new s(t.headers),this.url=t.url||"",this._initBody(e)}h.prototype.clone=function(){return new h(this,{body:this._bodyInit})},d.call(h.prototype),d.call(I.prototype),I.prototype.clone=function(){return new I(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},I.error=function(){var e=new I(null,{status:0,statusText:""});return e.type="error",e};var B=[301,302,303,307,308];I.redirect=function(e,t){if(-1===B.indexOf(t))throw new RangeError("Invalid status code");return new I(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function C(e,n){return new Promise(function(A,i){var o=new h(e,n);if(o.signal&&o.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function u(){a.abort()}a.onload=function(){var e,t,r={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new s,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var r=e.split(":"),n=r.shift().trim();if(n){var A=r.join(":").trim();t.append(n,A)}}),t)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var n="response"in a?a.response:a.responseText;A(new I(n,r))},a.onerror=function(){i(new TypeError("Network request failed"))},a.ontimeout=function(){i(new TypeError("Network request failed"))},a.onabort=function(){i(new t.DOMException("Aborted","AbortError"))},a.open(o.method,o.url,!0),"include"===o.credentials?a.withCredentials=!0:"omit"===o.credentials&&(a.withCredentials=!1),"responseType"in a&&r.blob&&(a.responseType="blob"),o.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),o.signal&&(o.signal.addEventListener("abort",u),a.onreadystatechange=function(){4===a.readyState&&o.signal.removeEventListener("abort",u)}),a.send(void 0===o._bodyInit?null:o._bodyInit)})}C.polyfill=!0,e.fetch||(e.fetch=C,e.Headers=s,e.Request=h,e.Response=I),t.Headers=s,t.Request=h,t.Response=I,t.fetch=C}({})}(r),delete r.fetch.polyfill,(t=r.fetch).default=r.fetch,t.fetch=r.fetch,t.Headers=r.Headers,t.Request=r.Request,t.Response=r.Response,e.exports=t},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,A=r(524),i=r(296),o=r(31);!function(e){e.http="http",e.ws="ws"}(n=t.ProviderType||(t.ProviderType={}));var a=function(){function e(e){this.provider=this.onInitSetProvider(e),this.providerType=this.getType(this.provider)}return e.getProvider=function(t){try{return this.getProvider(t),new e(t)}catch(e){throw e}},e.prototype.onInitSetProvider=function(e){if("string"==typeof e)return o.isHttp(e)?new A.HttpProvider(e):o.isWs(e)?new i.WSProvider(e):new A.HttpProvider(o.defaultConfig.Default.Chain_URL);try{var t=this.getType(e);if(t===n.http||t===n.ws)return e;throw new Error("cannot get provider type")}catch(e){throw e}},e.prototype.getType=function(e){if(e instanceof A.HttpProvider)return n.http;if(e instanceof i.WSProvider)return n.ws;throw new Error("provider is not correct")},e}();t.Provider=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(31),i=r(526),o=r(961),a=r(524),s=r(296),u=function(e){function t(t,r,a,u){void 0===r&&(r=A.defaultConfig.Default.Chain_Type),void 0===a&&(a=A.defaultConfig.Default.Chain_ID),void 0===u&&(u=A.defaultConfig);var l=e.call(this,r,a)||this;return l.Network_ID="Default",l.send=function(e,t,r,i){return void 0===i&&(i=l.currentShard),n.__awaiter(l,void 0,void 0,function(){var a,s,u,l;return n.__generator(this,function(n){switch(n.label){case 0:this.providerCheck(),a=e,r&&A.isString(r)&&r!==this.chainPrefix?a=this.setRPCPrefix(e,r):r&&r!==this.chainPrefix||(a=this.setRPCPrefix(e,this.chainPrefix)),n.label=1;case 1:return n.trys.push([1,3,,4]),s=this.JsonRpc.toPayload(a,t),u=this.getShardProvider(i),this.setResMiddleware(function(e){return e instanceof o.ResponseMiddleware?e:new o.ResponseMiddleware(e)},"*",u),[4,u.send(s)];case 2:return[2,n.sent()];case 3:throw l=n.sent(),new Error(l);case 4:return[2]}})})},l.subscribe=function(e,t,r,i,o){return void 0===r&&(r="all"),void 0===i&&(i=l.chainPrefix),void 0===o&&(o=l.currentShard),n.__awaiter(l,void 0,void 0,function(){var a,u,l,c,f,d;return n.__generator(this,function(n){switch(n.label){case 0:if(a=e,i&&A.isString(i)&&i!==this.chainPrefix?a=this.setRPCPrefix(e,i):i&&i!==this.chainPrefix||(a=this.setRPCPrefix(e,this.chainPrefix)),u=null,!((l=this.getShardProvider(o))instanceof s.WSProvider))return[3,5];c=l,n.label=1;case 1:return n.trys.push([1,3,,4]),f=this.JsonRpc.toPayload(a,t),[4,c.subscribe(f)];case 2:return u=n.sent(),c.on(u,function(e){c.emitter.emit("data",e)}),c.once("error",function(e){c.removeEventListener(u),c.emitter.emit("error",e),c.removeEventListener("*")}),[3,4];case 3:return d=n.sent(),c.emitter.emit("error",d),c.removeEventListener("*"),[3,4];case 4:if("all"===r)return[2,[c,u]];if("method"===r)return[2,c];if("id"===r)return[2,u];throw new Error("Invalid returns");case 5:throw new Error("HttpProvider does not support this");case 6:return[2]}})})},l.unsubscribe=function(e,t,r,i){return void 0===i&&(i=l.currentShard),n.__awaiter(l,void 0,void 0,function(){var o,a,u;return n.__generator(this,function(n){switch(n.label){case 0:if(o=e,r&&A.isString(r)&&r!==this.chainPrefix?o=this.setRPCPrefix(e,r):r&&r!==this.chainPrefix||(o=this.setRPCPrefix(e,this.chainPrefix)),!(this.getShardProvider(i)instanceof s.WSProvider))return[3,5];a=this.provider,n.label=1;case 1:return n.trys.push([1,3,,4]),u=this.JsonRpc.toPayload(o,t),[4,a.unsubscribe(u)];case 2:return[2,n.sent()];case 3:throw n.sent();case 4:return[3,6];case 5:throw new Error("HttpProvider does not support this");case 6:return[2]}})})},l.provider=t,l.config=u,l.JsonRpc=new i.JsonRpc,l.setNetworkID(A.defaultConfig.Default.Network_ID),l.shardProviders=new Map,l}return n.__extends(t,e),Object.defineProperty(t.prototype,"currentShard",{get:function(){return this.getCurrentShardID()||this.defaultShardID||0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shardCount",{get:function(){return this.shardProviders.size},enumerable:!0,configurable:!0}),t.prototype.setProvider=function(e){this.provider=e},t.prototype.providerCheck=function(){if(!this.provider)throw new Error("provider is not found")},t.prototype.setReqMiddleware=function(e,t,r){void 0===t&&(t="*"),r.middlewares.request.use(e,t)},t.prototype.setResMiddleware=function(e,t,r){void 0===t&&(t="*"),r.middlewares.response.use(e,t)},t.prototype.setNetworkID=function(e){this.Network_ID=e},t.prototype.setRPCPrefix=function(e,t){var r=e.split("_");if(2!==r.length)throw new Error("could not set prefix with "+e);return r[0]=t,r.join("_")},t.prototype.setShardingProviders=function(){return n.__awaiter(this,void 0,void 0,function(){var e,t,r,A,i,o,a,s;return n.__generator(this,function(u){switch(u.label){case 0:if("hmy"!==this.chainPrefix)return[2];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,this.send("hmy_getShardingStructure",[],this.chainPrefix)];case 2:if((e=u.sent()).result){t=e.result;try{for(r=n.__values(t),A=r.next();!A.done;A=r.next())i=A.value,o="string"==typeof i.shardID?Number.parseInt(i.shardID,10):i.shardID,this.shardProviders.set(o,{current:i.current,shardID:o,http:i.http,ws:i.ws})}catch(e){a={error:e}}finally{try{A&&!A.done&&(s=r.return)&&s.call(r)}finally{if(a)throw a.error}}}return[3,4];case 3:return u.sent(),[2];case 4:return[2]}})})},t.prototype.getShardProvider=function(e){var t=this.shardProviders.get(e);return t?this.provider instanceof a.HttpProvider?new a.HttpProvider(t.http):new s.WSProvider(t.ws):this.provider},t.prototype.getCurrentShardID=function(){var e,t;try{for(var r=n.__values(this.shardProviders),A=r.next();!A.done;A=r.next()){var i=A.value;if(!0===i[1].current||i[1].http===this.provider.url||i[1].ws===this.provider.url)return i[1].shardID}}catch(t){e={error:t}}finally{try{A&&!A.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t.prototype.setDefaultShardID=function(e){this.defaultShardID=e},t}(A.HarmonyCore);t.Messenger=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.GetBlockByHash="hmy_getBlockByHash",e.GetBlockByNumber="hmy_getBlockByNumber",e.GetBlockTransactionCountByHash="hmy_getBlockTransactionCountByHash",e.GetBlockTransactionCountByNumber="hmy_getBlockTransactionCountByNumber",e.GetCode="hmy_getCode",e.GetTransactionByBlockHashAndIndex="hmy_getTransactionByBlockHashAndIndex",e.GetTransactionByBlockNumberAndIndex="hmy_getTransactionByBlockNumberAndIndex",e.GetTransactionByHash="hmy_getTransactionByHash",e.GetTransactionReceipt="hmy_getTransactionReceipt",e.GetCXReceiptByHash="hmy_getCXReceiptByHash",e.Syncing="hmy_syncing",e.PeerCount="net_peerCount",e.GetBalance="hmy_getBalance",e.GetStorageAt="hmy_getStorageAt",e.GetTransactionCount="hmy_getTransactionCount",e.SendTransaction="hmy_sendTransaction",e.SendRawTransaction="hmy_sendRawTransaction",e.Subscribe="hmy_subscribe",e.GetPastLogs="hmy_getLogs",e.GetWork="hmy_getWork",e.GetProof="hmy_getProof",e.GetFilterChanges="hmy_getFilterChanges",e.NewPendingTransactionFilter="hmy_newPendingTransactionFilter",e.NewBlockFilter="hmy_newBlockFilter",e.NewFilter="hmy_newFilter",e.Call="hmy_call",e.EstimateGas="hmy_estimateGas",e.GasPrice="hmy_gasPrice",e.BlockNumber="hmy_blockNumber",e.UnSubscribe="hmy_unsubscribe",e.NetVersion="net_version",e.ProtocolVersion="hmy_protocolVersion",e.GetShardingStructure="hmy_getShardingStructure",e.SendRawStakingTransaction="hmy_sendRawStakingTransaction"}(t.RPCMethod||(t.RPCMethod={})),function(e){e[e.RPC_INVALID_REQUEST=-32600]="RPC_INVALID_REQUEST",e[e.RPC_METHOD_NOT_FOUND=-32601]="RPC_METHOD_NOT_FOUND",e[e.RPC_INVALID_PARAMS=-32602]="RPC_INVALID_PARAMS",e[e.RPC_INTERNAL_ERROR=-32603]="RPC_INTERNAL_ERROR",e[e.RPC_PARSE_ERROR=-32700]="RPC_PARSE_ERROR",e[e.RPC_MISC_ERROR=-1]="RPC_MISC_ERROR",e[e.RPC_TYPE_ERROR=-3]="RPC_TYPE_ERROR",e[e.RPC_INVALID_ADDRESS_OR_KEY=-5]="RPC_INVALID_ADDRESS_OR_KEY",e[e.RPC_INVALID_PARAMETER=-8]="RPC_INVALID_PARAMETER",e[e.RPC_DATABASE_ERROR=-20]="RPC_DATABASE_ERROR",e[e.RPC_DESERIALIZATION_ERROR=-22]="RPC_DESERIALIZATION_ERROR",e[e.RPC_VERIFY_ERROR=-25]="RPC_VERIFY_ERROR",e[e.RPC_VERIFY_REJECTED=-26]="RPC_VERIFY_REJECTED",e[e.RPC_IN_WARMUP=-28]="RPC_IN_WARMUP",e[e.RPC_METHOD_DEPRECATED=-32]="RPC_METHOD_DEPRECATED"}(t.RPCErrorCode||(t.RPCErrorCode={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(527),i=1e3;function o(e,t){return new Promise(function(r){var n=setTimeout(r,e);n.unref&&t&&n.unref()})}t.timeout=o;var a=function(e){function t(t,r){void 0===r&&(r={pollingInterval:void 0,retryTimeout:void 0,keepEventLoopActive:!1,setSkipCacheFlag:!1});var n=this;if(!t)throw new Error("PollingBlockTracker - no provider specified.");var A=r.pollingInterval||20*i,o=r.retryTimeout||A/10,a=void 0===r.keepEventLoopActive||r.keepEventLoopActive,s=r.setSkipCacheFlag||!1;return(n=e.call(this,{blockResetDuration:A,retryTimeout:o,keepEventLoopActive:a,setSkipCacheFlag:s})||this).messenger=t,n._pollingInterval=A,n._retryTimeout=o,n._keepEventLoopActive=a,n._setSkipCacheFlag=s,n}return n.__extends(t,e),t.prototype.checkForLatestBlock=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){switch(e.label){case 0:return[4,this._updateLatestBlock()];case 1:return e.sent(),[4,this.getLatestBlock()];case 2:return[2,e.sent()]}})})},t.prototype._start=function(){var e=this;this._performSync().catch(function(t){return e.emit("error",t)})},t.prototype._performSync=function(){return n.__awaiter(this,void 0,void 0,function(){var e,t;return n.__generator(this,function(r){switch(r.label){case 0:if(!this._isRunning)return[3,7];r.label=1;case 1:return r.trys.push([1,4,,6]),[4,this._updateLatestBlock()];case 2:return r.sent(),[4,o(this._pollingInterval,!this._keepEventLoopActive)];case 3:return r.sent(),[3,6];case 4:e=r.sent(),t=new Error("PollingBlockTracker - encountered an error while attempting to update latest block:\n"+e.stack);try{this.emit("error",t)}catch(e){console.error(t)}return[4,o(this._retryTimeout,!this._keepEventLoopActive)];case 5:return r.sent(),[3,6];case 6:return[3,0];case 7:return[2]}})})},t.prototype._updateLatestBlock=function(){return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(t){switch(t.label){case 0:return[4,this._fetchLatestBlock()];case 1:return e=t.sent(),this._newPotentialLatest(e),[2]}})})},t.prototype._fetchLatestBlock=function(){return n.__awaiter(this,void 0,void 0,function(){var e;return n.__generator(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.messenger.send("hmy_blockNumber",[])];case 1:if((e=t.sent()).isError())throw e.message;return e.isResult()?[2,e.result]:[3,3];case 2:throw t.sent();case 3:return[2]}})})},t}(A.BaseBlockTracker);t.PollingBlockTracker=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(296),i=function(e){function t(t,r){void 0===r&&(r={});var n=this;if(!t)throw new Error("SubscribeBlockTracker - no provider specified.");if(!(t.provider instanceof A.WSProvider))throw new Error("This provider not supported");return(n=e.call(this,r)||this).messenger=t,n.subscriptionId=null,n}return n.__extends(t,e),t.prototype.checkForLatestBlock=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){switch(e.label){case 0:return[4,this.getLatestBlock()];case 1:return[2,e.sent()]}})})},t.prototype._start=function(){return n.__awaiter(this,void 0,void 0,function(){var e,t,r;return n.__generator(this,function(n){switch(n.label){case 0:return n.trys.push([0,5,,6]),[4,this.messenger.send("hmy_blockNumber",[])];case 1:if(!(e=n.sent()).isError())return[3,2];throw e.message;case 2:return e.isResult()?[4,this.messenger.subscribe("hmy_subscribe",["newHeads"])]:[3,4];case 3:t=n.sent(),this.subscriptionId=t,t[0].onData(this._handleSubData),this._newPotentialLatest(e),n.label=4;case 4:return[3,6];case 5:return r=n.sent(),this.emit("error",r),[3,6];case 6:return[2]}})})},t.prototype._end=function(){return n.__awaiter(this,void 0,void 0,function(){return n.__generator(this,function(e){return null!=this.subscriptionId&&(this.messenger.unsubscribe("hmy_unsubscribe",[this.subscriptionId]),delete this.subscriptionId),[2]})})},t.prototype._handleSubData=function(e){e.params.subscription===this.subscriptionId&&this._newPotentialLatest(e.params.result.number)},t}(r(527).BaseBlockTracker);t.SubscribeBlockTracker=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=function(e){function t(t,r,n){void 0===n&&(n=0);var A=e.call(this,"logs",t,r,n)||this;return A.subscribe(),A}return n.__extends(t,e),t.prototype.subscribe=function(){return n.__awaiter(this,void 0,void 0,function(){var e,t,r=this;return n.__generator(this,function(A){switch(A.label){case 0:if(!(this.options.fromBlock&&"latest"!==this.options.fromBlock||0===this.options.fromBlock||"0x"===this.options.fromBlock))return[3,4];A.label=1;case 1:return A.trys.push([1,3,,4]),[4,this.messenger.send("hmy_getLogs",n.__spread(this.options),this.messenger.chainType,this.shardID)];case 2:return(e=A.sent()).isError()&&this.emitter.emit("error",e.error.message),e.result.forEach(function(e){var t=r.onNewSubscriptionItem(e);r.emitter.emit("data",t)}),delete this.options.fromBlock,[2,this.start()];case 3:throw t=A.sent(),this.emitter.emit("error",t),t;case 4:return[2,this.start()]}})})},t.prototype.onNewSubscriptionItem=function(e){var t=e;return t.removed&&this.emitter.emit("changed",t),t},t}(r(297).SubscriptionMethod);t.LogSub=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=function(e){function t(t,r){void 0===r&&(r=0);var n=e.call(this,"newHeads",void 0,t,r)||this;return n.start(),n}return n.__extends(t,e),t}(r(297).SubscriptionMethod);t.NewHeaders=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=function(e){function t(t,r){void 0===r&&(r=0);var n=e.call(this,"newPendingTransactions",void 0,t,r)||this;return n.start(),n}return n.__extends(t,e),t}(r(297).SubscriptionMethod);t.NewPendingTransactions=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=function(e){function t(t,r){void 0===r&&(r=0);var n=e.call(this,"syncing",void 0,t,r)||this;return n.isSyncing=null,n.start(),n}return n.__extends(t,e),t.prototype.onNewSubscriptionItem=function(e){var t=e.params.result.syncing;return null===this.isSyncing&&(this.isSyncing=t,this.emitter.emit("changed",this.isSyncing)),!0===this.isSyncing&&!1===t&&(this.isSyncing=t,this.emitter.emit("changed",this.isSyncing)),!1===this.isSyncing&&!0===t&&(this.isSyncing=t,this.emitter.emit("changed",this.isSyncing)),e},t}(r(297).SubscriptionMethod);t.Syncing=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getResultForData=function(e){return e.result?e.getResult:e.error?e.getError:e.getRaw},t.getRawForData=function(e){return e.getRaw},t.onResponse=function(e){return"result"===e.responseType?e.getResult:"error"===e.responseType?e.getError:e.raw}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.REQ=0]="REQ",e[e.RES=1]="RES"}(t.MiddlewareType||(t.MiddlewareType={})),function(e){e.all="all",e.id="id",e.method="method"}(t.SubscribeReturns||(t.SubscribeReturns={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(54),A=r(528),i=r(963),o=function(){function e(e){this.messenger=e}return e.getContractAddress=function(e){var t=e.txParams,r=t.from,A=t.nonce;return n.getAddress(n.getContractAddress(n.getAddress(r).checksum,Number.parseInt(""+A,10))).checksum},e.prototype.setMessenger=function(e){this.messenger=e},e.prototype.newTx=function(e,t){return void 0===t&&(t=!1),t?new i.ShardingTransaction(e,this.messenger,"INITIALIZED"):new A.Transaction(e,this.messenger,"INITIALIZED")},e.prototype.clone=function(e){return new A.Transaction(e.txParams,this.messenger,"INITIALIZED")},e.prototype.recover=function(e){var t=new A.Transaction({},this.messenger,"INITIALIZED");return t.recover(e),t},e}();t.TransactionFactory=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.NONE="NONE",e.INTIALIZED="INITIALIZED",e.SIGNED="SIGNED",e.PENDING="PENDING",e.CONFIRMED="CONFIRMED",e.REJECTED="REJECTED"}(t.TxStatus||(t.TxStatus={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){};t.AbstractTransaction=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2);n.__exportStar(r(964),t),n.__exportStar(r(1788),t)},function(e,t,r){var n=r(1786);e.exports={TextEncoder:n.TextEncoder,TextDecoder:n.TextDecoder}},function(e,t,r){!function(t){"use strict";function n(e,t,r){return t<=e&&e<=r}e.exports&&!t["encoding-indexes"]&&(t["encoding-indexes"]=r(1787)["encoding-indexes"]);var A=Math.floor;function i(e){if(void 0===e)return{};if(e===Object(e))return e;throw TypeError("Could not convert argument to dictionary")}function o(e){return 0<=e&&e<=127}var a=o,s=-1;function u(e){this.tokens=[].slice.call(e),this.tokens.reverse()}u.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.pop():s},prepend:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.push(t.pop());else this.tokens.push(e)},push:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.unshift(t.shift());else this.tokens.unshift(e)}};var l=-1;function c(e,t){if(e)throw TypeError("Decoder error");return t||65533}function f(e){throw TypeError("The code point "+e+" could not be encoded.")}function d(e){return e=String(e).trim().toLowerCase(),Object.prototype.hasOwnProperty.call(h,e)?h[e]:null}var g=[{encodings:[{labels:["unicode-1-1-utf-8","utf-8","utf8"],name:"UTF-8"}],heading:"The Encoding"},{encodings:[{labels:["866","cp866","csibm866","ibm866"],name:"IBM866"},{labels:["csisolatin2","iso-8859-2","iso-ir-101","iso8859-2","iso88592","iso_8859-2","iso_8859-2:1987","l2","latin2"],name:"ISO-8859-2"},{labels:["csisolatin3","iso-8859-3","iso-ir-109","iso8859-3","iso88593","iso_8859-3","iso_8859-3:1988","l3","latin3"],name:"ISO-8859-3"},{labels:["csisolatin4","iso-8859-4","iso-ir-110","iso8859-4","iso88594","iso_8859-4","iso_8859-4:1988","l4","latin4"],name:"ISO-8859-4"},{labels:["csisolatincyrillic","cyrillic","iso-8859-5","iso-ir-144","iso8859-5","iso88595","iso_8859-5","iso_8859-5:1988"],name:"ISO-8859-5"},{labels:["arabic","asmo-708","csiso88596e","csiso88596i","csisolatinarabic","ecma-114","iso-8859-6","iso-8859-6-e","iso-8859-6-i","iso-ir-127","iso8859-6","iso88596","iso_8859-6","iso_8859-6:1987"],name:"ISO-8859-6"},{labels:["csisolatingreek","ecma-118","elot_928","greek","greek8","iso-8859-7","iso-ir-126","iso8859-7","iso88597","iso_8859-7","iso_8859-7:1987","sun_eu_greek"],name:"ISO-8859-7"},{labels:["csiso88598e","csisolatinhebrew","hebrew","iso-8859-8","iso-8859-8-e","iso-ir-138","iso8859-8","iso88598","iso_8859-8","iso_8859-8:1988","visual"],name:"ISO-8859-8"},{labels:["csiso88598i","iso-8859-8-i","logical"],name:"ISO-8859-8-I"},{labels:["csisolatin6","iso-8859-10","iso-ir-157","iso8859-10","iso885910","l6","latin6"],name:"ISO-8859-10"},{labels:["iso-8859-13","iso8859-13","iso885913"],name:"ISO-8859-13"},{labels:["iso-8859-14","iso8859-14","iso885914"],name:"ISO-8859-14"},{labels:["csisolatin9","iso-8859-15","iso8859-15","iso885915","iso_8859-15","l9"],name:"ISO-8859-15"},{labels:["iso-8859-16"],name:"ISO-8859-16"},{labels:["cskoi8r","koi","koi8","koi8-r","koi8_r"],name:"KOI8-R"},{labels:["koi8-ru","koi8-u"],name:"KOI8-U"},{labels:["csmacintosh","mac","macintosh","x-mac-roman"],name:"macintosh"},{labels:["dos-874","iso-8859-11","iso8859-11","iso885911","tis-620","windows-874"],name:"windows-874"},{labels:["cp1250","windows-1250","x-cp1250"],name:"windows-1250"},{labels:["cp1251","windows-1251","x-cp1251"],name:"windows-1251"},{labels:["ansi_x3.4-1968","ascii","cp1252","cp819","csisolatin1","ibm819","iso-8859-1","iso-ir-100","iso8859-1","iso88591","iso_8859-1","iso_8859-1:1987","l1","latin1","us-ascii","windows-1252","x-cp1252"],name:"windows-1252"},{labels:["cp1253","windows-1253","x-cp1253"],name:"windows-1253"},{labels:["cp1254","csisolatin5","iso-8859-9","iso-ir-148","iso8859-9","iso88599","iso_8859-9","iso_8859-9:1989","l5","latin5","windows-1254","x-cp1254"],name:"windows-1254"},{labels:["cp1255","windows-1255","x-cp1255"],name:"windows-1255"},{labels:["cp1256","windows-1256","x-cp1256"],name:"windows-1256"},{labels:["cp1257","windows-1257","x-cp1257"],name:"windows-1257"},{labels:["cp1258","windows-1258","x-cp1258"],name:"windows-1258"},{labels:["x-mac-cyrillic","x-mac-ukrainian"],name:"x-mac-cyrillic"}],heading:"Legacy single-byte encodings"},{encodings:[{labels:["chinese","csgb2312","csiso58gb231280","gb2312","gb_2312","gb_2312-80","gbk","iso-ir-58","x-gbk"],name:"GBK"},{labels:["gb18030"],name:"gb18030"}],heading:"Legacy multi-byte Chinese (simplified) encodings"},{encodings:[{labels:["big5","big5-hkscs","cn-big5","csbig5","x-x-big5"],name:"Big5"}],heading:"Legacy multi-byte Chinese (traditional) encodings"},{encodings:[{labels:["cseucpkdfmtjapanese","euc-jp","x-euc-jp"],name:"EUC-JP"},{labels:["csiso2022jp","iso-2022-jp"],name:"ISO-2022-JP"},{labels:["csshiftjis","ms932","ms_kanji","shift-jis","shift_jis","sjis","windows-31j","x-sjis"],name:"Shift_JIS"}],heading:"Legacy multi-byte Japanese encodings"},{encodings:[{labels:["cseuckr","csksc56011987","euc-kr","iso-ir-149","korean","ks_c_5601-1987","ks_c_5601-1989","ksc5601","ksc_5601","windows-949"],name:"EUC-KR"}],heading:"Legacy multi-byte Korean encodings"},{encodings:[{labels:["csiso2022kr","hz-gb-2312","iso-2022-cn","iso-2022-cn-ext","iso-2022-kr"],name:"replacement"},{labels:["utf-16be"],name:"UTF-16BE"},{labels:["utf-16","utf-16le"],name:"UTF-16LE"},{labels:["x-user-defined"],name:"x-user-defined"}],heading:"Legacy miscellaneous encodings"}],h={};g.forEach(function(e){e.encodings.forEach(function(e){e.labels.forEach(function(t){h[t]=e})})});var p,I,B={},C={};function m(e,t){return t&&t[e]||null}function y(e,t){var r=t.indexOf(e);return-1===r?null:r}function Q(e){if(!("encoding-indexes"in t))throw Error("Indexes missing. Did you forget to include encoding-indexes.js first?");return t["encoding-indexes"][e]}var w="utf-8";function E(e,t){if(!(this instanceof E))throw TypeError("Called as a function. Did you forget 'new'?");e=void 0!==e?String(e):w,t=i(t),this._encoding=null,this._decoder=null,this._ignoreBOM=!1,this._BOMseen=!1,this._error_mode="replacement",this._do_not_flush=!1;var r=d(e);if(null===r||"replacement"===r.name)throw RangeError("Unknown encoding: "+e);if(!C[r.name])throw Error("Decoder not present. Did you forget to include encoding-indexes.js first?");return this._encoding=r,Boolean(t.fatal)&&(this._error_mode="fatal"),Boolean(t.ignoreBOM)&&(this._ignoreBOM=!0),Object.defineProperty||(this.encoding=this._encoding.name.toLowerCase(),this.fatal="fatal"===this._error_mode,this.ignoreBOM=this._ignoreBOM),this}function b(e,r){if(!(this instanceof b))throw TypeError("Called as a function. Did you forget 'new'?");r=i(r),this._encoding=null,this._encoder=null,this._do_not_flush=!1,this._fatal=Boolean(r.fatal)?"fatal":"replacement";if(Boolean(r.NONSTANDARD_allowLegacyEncoding)){var n=d(e=void 0!==e?String(e):w);if(null===n||"replacement"===n.name)throw RangeError("Unknown encoding: "+e);if(!B[n.name])throw Error("Encoder not present. Did you forget to include encoding-indexes.js first?");this._encoding=n}else this._encoding=d("utf-8"),void 0!==e&&"console"in t&&console.warn("TextEncoder constructor called with encoding label, which is ignored.");return Object.defineProperty||(this.encoding=this._encoding.name.toLowerCase()),this}function v(e){var t=e.fatal,r=0,A=0,i=0,o=128,a=191;this.handler=function(e,u){if(u===s&&0!==i)return i=0,c(t);if(u===s)return l;if(0===i){if(n(u,0,127))return u;if(n(u,194,223))i=1,r=31&u;else if(n(u,224,239))224===u&&(o=160),237===u&&(a=159),i=2,r=15&u;else{if(!n(u,240,244))return c(t);240===u&&(o=144),244===u&&(a=143),i=3,r=7&u}return null}if(!n(u,o,a))return r=i=A=0,o=128,a=191,e.prepend(u),c(t);if(o=128,a=191,r=r<<6|63&u,(A+=1)!==i)return null;var f=r;return r=i=A=0,f}}function D(e){e.fatal;this.handler=function(e,t){if(t===s)return l;if(a(t))return t;var r,A;n(t,128,2047)?(r=1,A=192):n(t,2048,65535)?(r=2,A=224):n(t,65536,1114111)&&(r=3,A=240);for(var i=[(t>>6*r)+A];r>0;){var o=t>>6*(r-1);i.push(128|63&o),r-=1}return i}}function M(e,t){var r=t.fatal;this.handler=function(t,n){if(n===s)return l;if(o(n))return n;var A=e[n-128];return null===A?c(r):A}}function k(e,t){t.fatal;this.handler=function(t,r){if(r===s)return l;if(a(r))return r;var n=y(r,e);return null===n&&f(r),n+128}}function _(e){var t=e.fatal,r=0,A=0,i=0;this.handler=function(e,a){if(a===s&&0===r&&0===A&&0===i)return l;var u;if(a!==s||0===r&&0===A&&0===i||(r=0,A=0,i=0,c(t)),0!==i){u=null,n(a,48,57)&&(u=function(e){if(e>39419&&e<189e3||e>1237575)return null;if(7457===e)return 59335;var t,r=0,n=0,A=Q("gb18030-ranges");for(t=0;t<A.length;++t){var i=A[t];if(!(i[0]<=e))break;r=i[0],n=i[1]}return n+e-r}(10*(126*(10*(r-129)+A-48)+i-129)+a-48));var f=[A,i,a];return r=0,A=0,i=0,null===u?(e.prepend(f),c(t)):u}if(0!==A)return n(a,129,254)?(i=a,null):(e.prepend([A,a]),r=0,A=0,c(t));if(0!==r){if(n(a,48,57))return A=a,null;var d=r,g=null;r=0;var h=a<127?64:65;return(n(a,64,126)||n(a,128,254))&&(g=190*(d-129)+(a-h)),null===(u=null===g?null:m(g,Q("gb18030")))&&o(a)&&e.prepend(a),null===u?c(t):u}return o(a)?a:128===a?8364:n(a,129,254)?(r=a,null):c(t)}}function S(e,t){e.fatal;this.handler=function(e,r){if(r===s)return l;if(a(r))return r;if(58853===r)return f(r);if(t&&8364===r)return 128;var n=y(r,Q("gb18030"));if(null!==n){var i=n%190;return[A(n/190)+129,i+(i<63?64:65)]}if(t)return f(r);n=function(e){if(59335===e)return 7457;var t,r=0,n=0,A=Q("gb18030-ranges");for(t=0;t<A.length;++t){var i=A[t];if(!(i[1]<=e))break;r=i[1],n=i[0]}return n+e-r}(r);var o=A(n/10/126/10),u=A((n-=10*o*126*10)/10/126),c=A((n-=10*u*126)/10);return[o+129,u+48,c+129,n-10*c+48]}}function N(e){var t=e.fatal,r=0;this.handler=function(e,A){if(A===s&&0!==r)return r=0,c(t);if(A===s&&0===r)return l;if(0!==r){var i=r,a=null;r=0;var u=A<127?64:98;switch((n(A,64,126)||n(A,161,254))&&(a=157*(i-129)+(A-u)),a){case 1133:return[202,772];case 1135:return[202,780];case 1164:return[234,772];case 1166:return[234,780]}var f=null===a?null:m(a,Q("big5"));return null===f&&o(A)&&e.prepend(A),null===f?c(t):f}return o(A)?A:n(A,129,254)?(r=A,null):c(t)}}function F(e){e.fatal;this.handler=function(e,t){if(t===s)return l;if(a(t))return t;var r=function(e){var t=I=I||Q("big5").map(function(e,t){return t<5024?null:e});return 9552===e||9566===e||9569===e||9578===e||21313===e||21317===e?t.lastIndexOf(e):y(e,t)}(t);if(null===r)return f(t);var n=A(r/157)+129;if(n<161)return f(t);var i=r%157;return[n,i+(i<63?64:98)]}}function x(e){var t=e.fatal,r=!1,A=0;this.handler=function(e,i){if(i===s&&0!==A)return A=0,c(t);if(i===s&&0===A)return l;if(142===A&&n(i,161,223))return A=0,65216+i;if(143===A&&n(i,161,254))return r=!0,A=i,null;if(0!==A){var a=A;A=0;var u=null;return n(a,161,254)&&n(i,161,254)&&(u=m(94*(a-161)+(i-161),Q(r?"jis0212":"jis0208"))),r=!1,n(i,161,254)||e.prepend(i),null===u?c(t):u}return o(i)?i:142===i||143===i||n(i,161,254)?(A=i,null):c(t)}}function G(e){e.fatal;this.handler=function(e,t){if(t===s)return l;if(a(t))return t;if(165===t)return 92;if(8254===t)return 126;if(n(t,65377,65439))return[142,t-65377+161];8722===t&&(t=65293);var r=y(t,Q("jis0208"));return null===r?f(t):[A(r/94)+161,r%94+161]}}function H(e){var t=e.fatal,r=0,A=1,i=2,o=3,a=4,u=5,f=6,d=r,g=r,h=0,p=!1;this.handler=function(e,I){switch(d){default:case r:return 27===I?(d=u,null):n(I,0,127)&&14!==I&&15!==I&&27!==I?(p=!1,I):I===s?l:(p=!1,c(t));case A:return 27===I?(d=u,null):92===I?(p=!1,165):126===I?(p=!1,8254):n(I,0,127)&&14!==I&&15!==I&&27!==I&&92!==I&&126!==I?(p=!1,I):I===s?l:(p=!1,c(t));case i:return 27===I?(d=u,null):n(I,33,95)?(p=!1,65344+I):I===s?l:(p=!1,c(t));case o:return 27===I?(d=u,null):n(I,33,126)?(p=!1,h=I,d=a,null):I===s?l:(p=!1,c(t));case a:if(27===I)return d=u,c(t);if(n(I,33,126)){d=o;var B=m(94*(h-33)+I-33,Q("jis0208"));return null===B?c(t):B}return I===s?(d=o,e.prepend(I),c(t)):(d=o,c(t));case u:return 36===I||40===I?(h=I,d=f,null):(e.prepend(I),p=!1,d=g,c(t));case f:var C=h;h=0;var y=null;if(40===C&&66===I&&(y=r),40===C&&74===I&&(y=A),40===C&&73===I&&(y=i),36!==C||64!==I&&66!==I||(y=o),null!==y){d=d=y;var w=p;return p=!0,w?c(t):null}return e.prepend([C,I]),p=!1,d=g,c(t)}}}function U(e){e.fatal;var t=0,r=1,n=2,i=t;this.handler=function(e,o){if(o===s&&i!==t)return e.prepend(o),i=t,[27,40,66];if(o===s&&i===t)return l;if(!(i!==t&&i!==r||14!==o&&15!==o&&27!==o))return f(65533);if(i===t&&a(o))return o;if(i===r&&(a(o)&&92!==o&&126!==o||165==o||8254==o)){if(a(o))return o;if(165===o)return 92;if(8254===o)return 126}if(a(o)&&i!==t)return e.prepend(o),i=t,[27,40,66];if((165===o||8254===o)&&i!==r)return e.prepend(o),i=r,[27,40,74];8722===o&&(o=65293);var u=y(o,Q("jis0208"));return null===u?f(o):i!==n?(e.prepend(o),i=n,[27,36,66]):[A(u/94)+33,u%94+33]}}function Y(e){var t=e.fatal,r=0;this.handler=function(e,A){if(A===s&&0!==r)return r=0,c(t);if(A===s&&0===r)return l;if(0!==r){var i=r,a=null;r=0;var u=A<127?64:65,f=i<160?129:193;if((n(A,64,126)||n(A,128,252))&&(a=188*(i-f)+A-u),n(a,8836,10715))return 48508+a;var d=null===a?null:m(a,Q("jis0208"));return null===d&&o(A)&&e.prepend(A),null===d?c(t):d}return o(A)||128===A?A:n(A,161,223)?65216+A:n(A,129,159)||n(A,224,252)?(r=A,null):c(t)}}function L(e){e.fatal;this.handler=function(e,t){if(t===s)return l;if(a(t)||128===t)return t;if(165===t)return 92;if(8254===t)return 126;if(n(t,65377,65439))return t-65377+161;8722===t&&(t=65293);var r=function(e){return(p=p||Q("jis0208").map(function(e,t){return n(t,8272,8835)?null:e})).indexOf(e)}(t);if(null===r)return f(t);var i=A(r/188),o=r%188;return[i+(i<31?129:193),o+(o<63?64:65)]}}function O(e){var t=e.fatal,r=0;this.handler=function(e,A){if(A===s&&0!==r)return r=0,c(t);if(A===s&&0===r)return l;if(0!==r){var i=r,a=null;r=0,n(A,65,254)&&(a=190*(i-129)+(A-65));var u=null===a?null:m(a,Q("euc-kr"));return null===a&&o(A)&&e.prepend(A),null===u?c(t):u}return o(A)?A:n(A,129,254)?(r=A,null):c(t)}}function K(e){e.fatal;this.handler=function(e,t){if(t===s)return l;if(a(t))return t;var r=y(t,Q("euc-kr"));return null===r?f(t):[A(r/190)+129,r%190+65]}}function P(e,t){var r=e>>8,n=255&e;return t?[r,n]:[n,r]}function R(e,t){var r=t.fatal,A=null,i=null;this.handler=function(t,o){if(o===s&&(null!==A||null!==i))return c(r);if(o===s&&null===A&&null===i)return l;if(null===A)return A=o,null;var a;if(a=e?(A<<8)+o:(o<<8)+A,A=null,null!==i){var u=i;return i=null,n(a,56320,57343)?65536+1024*(u-55296)+(a-56320):(t.prepend(P(a,e)),c(r))}return n(a,55296,56319)?(i=a,null):n(a,56320,57343)?c(r):a}}function T(e,t){t.fatal;this.handler=function(t,r){if(r===s)return l;if(n(r,0,65535))return P(r,e);var A=P(55296+(r-65536>>10),e),i=P(56320+(r-65536&1023),e);return A.concat(i)}}function J(e){e.fatal;this.handler=function(e,t){return t===s?l:o(t)?t:63360+t-128}}function j(e){e.fatal;this.handler=function(e,t){return t===s?l:a(t)?t:n(t,63360,63487)?t-63360+128:f(t)}}Object.defineProperty&&(Object.defineProperty(E.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}}),Object.defineProperty(E.prototype,"fatal",{get:function(){return"fatal"===this._error_mode}}),Object.defineProperty(E.prototype,"ignoreBOM",{get:function(){return this._ignoreBOM}})),E.prototype.decode=function(e,t){var r;r="object"==typeof e&&e instanceof ArrayBuffer?new Uint8Array(e):"object"==typeof e&&"buffer"in e&&e.buffer instanceof ArrayBuffer?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(0),t=i(t),this._do_not_flush||(this._decoder=C[this._encoding.name]({fatal:"fatal"===this._error_mode}),this._BOMseen=!1),this._do_not_flush=Boolean(t.stream);for(var n,A=new u(r),o=[];;){var a=A.read();if(a===s)break;if((n=this._decoder.handler(A,a))===l)break;null!==n&&(Array.isArray(n)?o.push.apply(o,n):o.push(n))}if(!this._do_not_flush){do{if((n=this._decoder.handler(A,A.read()))===l)break;null!==n&&(Array.isArray(n)?o.push.apply(o,n):o.push(n))}while(!A.endOfStream());this._decoder=null}return function(e){var t,r;return t=["UTF-8","UTF-16LE","UTF-16BE"],r=this._encoding.name,-1===t.indexOf(r)||this._ignoreBOM||this._BOMseen||(e.length>0&&65279===e[0]?(this._BOMseen=!0,e.shift()):e.length>0&&(this._BOMseen=!0)),function(e){for(var t="",r=0;r<e.length;++r){var n=e[r];n<=65535?t+=String.fromCharCode(n):(n-=65536,t+=String.fromCharCode(55296+(n>>10),56320+(1023&n)))}return t}(e)}.call(this,o)},Object.defineProperty&&Object.defineProperty(b.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}}),b.prototype.encode=function(e,t){e=void 0===e?"":String(e),t=i(t),this._do_not_flush||(this._encoder=B[this._encoding.name]({fatal:"fatal"===this._fatal})),this._do_not_flush=Boolean(t.stream);for(var r,n=new u(function(e){for(var t=String(e),r=t.length,n=0,A=[];n<r;){var i=t.charCodeAt(n);if(i<55296||i>57343)A.push(i);else if(56320<=i&&i<=57343)A.push(65533);else if(55296<=i&&i<=56319)if(n===r-1)A.push(65533);else{var o=t.charCodeAt(n+1);if(56320<=o&&o<=57343){var a=1023&i,s=1023&o;A.push(65536+(a<<10)+s),n+=1}else A.push(65533)}n+=1}return A}(e)),A=[];;){var o=n.read();if(o===s)break;if((r=this._encoder.handler(n,o))===l)break;Array.isArray(r)?A.push.apply(A,r):A.push(r)}if(!this._do_not_flush){for(;(r=this._encoder.handler(n,n.read()))!==l;)Array.isArray(r)?A.push.apply(A,r):A.push(r);this._encoder=null}return new Uint8Array(A)},B["UTF-8"]=function(e){return new D(e)},C["UTF-8"]=function(e){return new v(e)},"encoding-indexes"in t&&g.forEach(function(e){"Legacy single-byte encodings"===e.heading&&e.encodings.forEach(function(e){var t=e.name,r=Q(t.toLowerCase());C[t]=function(e){return new M(r,e)},B[t]=function(e){return new k(r,e)}})}),C.GBK=function(e){return new _(e)},B.GBK=function(e){return new S(e,!0)},B.gb18030=function(e){return new S(e)},C.gb18030=function(e){return new _(e)},B.Big5=function(e){return new F(e)},C.Big5=function(e){return new N(e)},B["EUC-JP"]=function(e){return new G(e)},C["EUC-JP"]=function(e){return new x(e)},B["ISO-2022-JP"]=function(e){return new U(e)},C["ISO-2022-JP"]=function(e){return new H(e)},B.Shift_JIS=function(e){return new L(e)},C.Shift_JIS=function(e){return new Y(e)},B["EUC-KR"]=function(e){return new K(e)},C["EUC-KR"]=function(e){return new O(e)},B["UTF-16BE"]=function(e){return new T(!0,e)},C["UTF-16BE"]=function(e){return new R(!0,e)},B["UTF-16LE"]=function(e){return new T(!1,e)},C["UTF-16LE"]=function(e){return new R(!1,e)},B["x-user-defined"]=function(e){return new j(e)},C["x-user-defined"]=function(e){return new J(e)},t.TextEncoder||(t.TextEncoder=b),t.TextDecoder||(t.TextDecoder=E),e.exports&&(e.exports={TextEncoder:t.TextEncoder,TextDecoder:t.TextDecoder,EncodingIndexes:t["encoding-indexes"]})}(this||{})},function(e,t,r){!function(t){"use strict";e.exports&&(e.exports=t),t["encoding-indexes"]={big5:[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,17392,19506,17923,17830,17784,160359,19831,17843,162993,19682,163013,15253,18230,18244,19527,19520,148159,144919,160594,159371,159954,19543,172881,18255,17882,19589,162924,19719,19108,18081,158499,29221,154196,137827,146950,147297,26189,22267,null,32149,22813,166841,15860,38708,162799,23515,138590,23204,13861,171696,23249,23479,23804,26478,34195,170309,29793,29853,14453,138579,145054,155681,16108,153822,15093,31484,40855,147809,166157,143850,133770,143966,17162,33924,40854,37935,18736,34323,22678,38730,37400,31184,31282,26208,27177,34973,29772,31685,26498,31276,21071,36934,13542,29636,155065,29894,40903,22451,18735,21580,16689,145038,22552,31346,162661,35727,18094,159368,16769,155033,31662,140476,40904,140481,140489,140492,40905,34052,144827,16564,40906,17633,175615,25281,28782,40907,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,12736,12737,12738,12739,12740,131340,12741,131281,131277,12742,12743,131275,139240,12744,131274,12745,12746,12747,12748,131342,12749,12750,256,193,461,192,274,201,282,200,332,211,465,210,null,7870,null,7872,202,257,225,462,224,593,275,233,283,232,299,237,464,236,333,243,466,242,363,250,468,249,470,472,474,476,252,null,7871,null,7873,234,609,9178,9179,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,172969,135493,null,25866,null,null,20029,28381,40270,37343,null,null,161589,25745,20250,20264,20392,20822,20852,20892,20964,21153,21160,21307,21326,21457,21464,22242,22768,22788,22791,22834,22836,23398,23454,23455,23706,24198,24635,25993,26622,26628,26725,27982,28860,30005,32420,32428,32442,32455,32463,32479,32518,32567,33402,33487,33647,35270,35774,35810,36710,36711,36718,29713,31996,32205,26950,31433,21031,null,null,null,null,37260,30904,37214,32956,null,36107,33014,133607,null,null,32927,40647,19661,40393,40460,19518,171510,159758,40458,172339,13761,null,28314,33342,29977,null,18705,39532,39567,40857,31111,164972,138698,132560,142054,20004,20097,20096,20103,20159,20203,20279,13388,20413,15944,20483,20616,13437,13459,13477,20870,22789,20955,20988,20997,20105,21113,21136,21287,13767,21417,13649,21424,13651,21442,21539,13677,13682,13953,21651,21667,21684,21689,21712,21743,21784,21795,21800,13720,21823,13733,13759,21975,13765,163204,21797,null,134210,134421,151851,21904,142534,14828,131905,36422,150968,169189,16467,164030,30586,142392,14900,18389,164189,158194,151018,25821,134524,135092,134357,135412,25741,36478,134806,134155,135012,142505,164438,148691,null,134470,170573,164073,18420,151207,142530,39602,14951,169460,16365,13574,152263,169940,161992,142660,40302,38933,null,17369,155813,25780,21731,142668,142282,135287,14843,135279,157402,157462,162208,25834,151634,134211,36456,139681,166732,132913,null,18443,131497,16378,22643,142733,null,148936,132348,155799,134988,134550,21881,16571,17338,null,19124,141926,135325,33194,39157,134556,25465,14846,141173,36288,22177,25724,15939,null,173569,134665,142031,142537,null,135368,145858,14738,14854,164507,13688,155209,139463,22098,134961,142514,169760,13500,27709,151099,null,null,161140,142987,139784,173659,167117,134778,134196,157724,32659,135375,141315,141625,13819,152035,134796,135053,134826,16275,134960,134471,135503,134732,null,134827,134057,134472,135360,135485,16377,140950,25650,135085,144372,161337,142286,134526,134527,142417,142421,14872,134808,135367,134958,173618,158544,167122,167321,167114,38314,21708,33476,21945,null,171715,39974,39606,161630,142830,28992,33133,33004,23580,157042,33076,14231,21343,164029,37302,134906,134671,134775,134907,13789,151019,13833,134358,22191,141237,135369,134672,134776,135288,135496,164359,136277,134777,151120,142756,23124,135197,135198,135413,135414,22428,134673,161428,164557,135093,134779,151934,14083,135094,135552,152280,172733,149978,137274,147831,164476,22681,21096,13850,153405,31666,23400,18432,19244,40743,18919,39967,39821,154484,143677,22011,13810,22153,20008,22786,138177,194680,38737,131206,20059,20155,13630,23587,24401,24516,14586,25164,25909,27514,27701,27706,28780,29227,20012,29357,149737,32594,31035,31993,32595,156266,13505,null,156491,32770,32896,157202,158033,21341,34916,35265,161970,35744,36125,38021,38264,38271,38376,167439,38886,39029,39118,39134,39267,17e4,40060,40479,40644,27503,63751,20023,131207,38429,25143,38050,null,20539,28158,171123,40870,15817,34959,147790,28791,23797,19232,152013,13657,154928,24866,166450,36775,37366,29073,26393,29626,144001,172295,15499,137600,19216,30948,29698,20910,165647,16393,27235,172730,16931,34319,133743,31274,170311,166634,38741,28749,21284,139390,37876,30425,166371,40871,30685,20131,20464,20668,20015,20247,40872,21556,32139,22674,22736,138678,24210,24217,24514,141074,25995,144377,26905,27203,146531,27903,null,29184,148741,29580,16091,150035,23317,29881,35715,154788,153237,31379,31724,31939,32364,33528,34199,40873,34960,40874,36537,40875,36815,34143,39392,37409,40876,167353,136255,16497,17058,23066,null,null,null,39016,26475,17014,22333,null,34262,149883,33471,160013,19585,159092,23931,158485,159678,40877,40878,23446,40879,26343,32347,28247,31178,15752,17603,143958,141206,17306,17718,null,23765,146202,35577,23672,15634,144721,23928,40882,29015,17752,147692,138787,19575,14712,13386,131492,158785,35532,20404,131641,22975,33132,38998,170234,24379,134047,null,139713,166253,16642,18107,168057,16135,40883,172469,16632,14294,18167,158790,16764,165554,160767,17773,14548,152730,17761,17691,19849,19579,19830,17898,16328,150287,13921,17630,17597,16877,23870,23880,23894,15868,14351,23972,23993,14368,14392,24130,24253,24357,24451,14600,14612,14655,14669,24791,24893,23781,14729,25015,25017,25039,14776,25132,25232,25317,25368,14840,22193,14851,25570,25595,25607,25690,14923,25792,23829,22049,40863,14999,25990,15037,26111,26195,15090,26258,15138,26390,15170,26532,26624,15192,26698,26756,15218,15217,15227,26889,26947,29276,26980,27039,27013,15292,27094,15325,27237,27252,27249,27266,15340,27289,15346,27307,27317,27348,27382,27521,27585,27626,27765,27818,15563,27906,27910,27942,28033,15599,28068,28081,28181,28184,28201,28294,166336,28347,28386,28378,40831,28392,28393,28452,28468,15686,147265,28545,28606,15722,15733,29111,23705,15754,28716,15761,28752,28756,28783,28799,28809,131877,17345,13809,134872,147159,22462,159443,28990,153568,13902,27042,166889,23412,31305,153825,169177,31333,31357,154028,31419,31408,31426,31427,29137,156813,16842,31450,31453,31466,16879,21682,154625,31499,31573,31529,152334,154878,31650,31599,33692,154548,158847,31696,33825,31634,31672,154912,15789,154725,33938,31738,31750,31797,154817,31812,31875,149634,31910,26237,148856,31945,31943,31974,31860,31987,31989,31950,32359,17693,159300,32093,159446,29837,32137,32171,28981,32179,32210,147543,155689,32228,15635,32245,137209,32229,164717,32285,155937,155994,32366,32402,17195,37996,32295,32576,32577,32583,31030,156368,39393,32663,156497,32675,136801,131176,17756,145254,17667,164666,32762,156809,32773,32776,32797,32808,32815,172167,158915,32827,32828,32865,141076,18825,157222,146915,157416,26405,32935,166472,33031,33050,22704,141046,27775,156824,151480,25831,136330,33304,137310,27219,150117,150165,17530,33321,133901,158290,146814,20473,136445,34018,33634,158474,149927,144688,137075,146936,33450,26907,194964,16859,34123,33488,33562,134678,137140,14017,143741,144730,33403,33506,33560,147083,159139,158469,158615,144846,15807,33565,21996,33669,17675,159141,33708,33729,33747,13438,159444,27223,34138,13462,159298,143087,33880,154596,33905,15827,17636,27303,33866,146613,31064,33960,158614,159351,159299,34014,33807,33681,17568,33939,34020,154769,16960,154816,17731,34100,23282,159385,17703,34163,17686,26559,34326,165413,165435,34241,159880,34306,136578,159949,194994,17770,34344,13896,137378,21495,160666,34430,34673,172280,34798,142375,34737,34778,34831,22113,34412,26710,17935,34885,34886,161248,146873,161252,34910,34972,18011,34996,34997,25537,35013,30583,161551,35207,35210,35238,35241,35239,35260,166437,35303,162084,162493,35484,30611,37374,35472,162393,31465,162618,147343,18195,162616,29052,35596,35615,152624,152933,35647,35660,35661,35497,150138,35728,35739,35503,136927,17941,34895,35995,163156,163215,195028,14117,163155,36054,163224,163261,36114,36099,137488,36059,28764,36113,150729,16080,36215,36265,163842,135188,149898,15228,164284,160012,31463,36525,36534,36547,37588,36633,36653,164709,164882,36773,37635,172703,133712,36787,18730,166366,165181,146875,24312,143970,36857,172052,165564,165121,140069,14720,159447,36919,165180,162494,36961,165228,165387,37032,165651,37060,165606,37038,37117,37223,15088,37289,37316,31916,166195,138889,37390,27807,37441,37474,153017,37561,166598,146587,166668,153051,134449,37676,37739,166625,166891,28815,23235,166626,166629,18789,37444,166892,166969,166911,37747,37979,36540,38277,38310,37926,38304,28662,17081,140922,165592,135804,146990,18911,27676,38523,38550,16748,38563,159445,25050,38582,30965,166624,38589,21452,18849,158904,131700,156688,168111,168165,150225,137493,144138,38705,34370,38710,18959,17725,17797,150249,28789,23361,38683,38748,168405,38743,23370,168427,38751,37925,20688,143543,143548,38793,38815,38833,38846,38848,38866,38880,152684,38894,29724,169011,38911,38901,168989,162170,19153,38964,38963,38987,39014,15118,160117,15697,132656,147804,153350,39114,39095,39112,39111,19199,159015,136915,21936,39137,39142,39148,37752,39225,150057,19314,170071,170245,39413,39436,39483,39440,39512,153381,14020,168113,170965,39648,39650,170757,39668,19470,39700,39725,165376,20532,39732,158120,14531,143485,39760,39744,171326,23109,137315,39822,148043,39938,39935,39948,171624,40404,171959,172434,172459,172257,172323,172511,40318,40323,172340,40462,26760,40388,139611,172435,172576,137531,172595,40249,172217,172724,40592,40597,40606,40610,19764,40618,40623,148324,40641,15200,14821,15645,20274,14270,166955,40706,40712,19350,37924,159138,40727,40726,40761,22175,22154,40773,39352,168075,38898,33919,40802,40809,31452,40846,29206,19390,149877,149947,29047,150008,148296,150097,29598,166874,137466,31135,166270,167478,37737,37875,166468,37612,37761,37835,166252,148665,29207,16107,30578,31299,28880,148595,148472,29054,137199,28835,137406,144793,16071,137349,152623,137208,14114,136955,137273,14049,137076,137425,155467,14115,136896,22363,150053,136190,135848,136134,136374,34051,145062,34051,33877,149908,160101,146993,152924,147195,159826,17652,145134,170397,159526,26617,14131,15381,15847,22636,137506,26640,16471,145215,147681,147595,147727,158753,21707,22174,157361,22162,135135,134056,134669,37830,166675,37788,20216,20779,14361,148534,20156,132197,131967,20299,20362,153169,23144,131499,132043,14745,131850,132116,13365,20265,131776,167603,131701,35546,131596,20120,20685,20749,20386,20227,150030,147082,20290,20526,20588,20609,20428,20453,20568,20732,20825,20827,20829,20830,28278,144789,147001,147135,28018,137348,147081,20904,20931,132576,17629,132259,132242,132241,36218,166556,132878,21081,21156,133235,21217,37742,18042,29068,148364,134176,149932,135396,27089,134685,29817,16094,29849,29716,29782,29592,19342,150204,147597,21456,13700,29199,147657,21940,131909,21709,134086,22301,37469,38644,37734,22493,22413,22399,13886,22731,23193,166470,136954,137071,136976,23084,22968,37519,23166,23247,23058,153926,137715,137313,148117,14069,27909,29763,23073,155267,23169,166871,132115,37856,29836,135939,28933,18802,37896,166395,37821,14240,23582,23710,24158,24136,137622,137596,146158,24269,23375,137475,137476,14081,137376,14045,136958,14035,33066,166471,138682,144498,166312,24332,24334,137511,137131,23147,137019,23364,34324,161277,34912,24702,141408,140843,24539,16056,140719,140734,168072,159603,25024,131134,131142,140827,24985,24984,24693,142491,142599,149204,168269,25713,149093,142186,14889,142114,144464,170218,142968,25399,173147,25782,25393,25553,149987,142695,25252,142497,25659,25963,26994,15348,143502,144045,149897,144043,21773,144096,137433,169023,26318,144009,143795,15072,16784,152964,166690,152975,136956,152923,152613,30958,143619,137258,143924,13412,143887,143746,148169,26254,159012,26219,19347,26160,161904,138731,26211,144082,144097,26142,153714,14545,145466,145340,15257,145314,144382,29904,15254,26511,149034,26806,26654,15300,27326,14435,145365,148615,27187,27218,27337,27397,137490,25873,26776,27212,15319,27258,27479,147392,146586,37792,37618,166890,166603,37513,163870,166364,37991,28069,28427,149996,28007,147327,15759,28164,147516,23101,28170,22599,27940,30786,28987,148250,148086,28913,29264,29319,29332,149391,149285,20857,150180,132587,29818,147192,144991,150090,149783,155617,16134,16049,150239,166947,147253,24743,16115,29900,29756,37767,29751,17567,159210,17745,30083,16227,150745,150790,16216,30037,30323,173510,15129,29800,166604,149931,149902,15099,15821,150094,16127,149957,149747,37370,22322,37698,166627,137316,20703,152097,152039,30584,143922,30478,30479,30587,149143,145281,14942,149744,29752,29851,16063,150202,150215,16584,150166,156078,37639,152961,30750,30861,30856,30930,29648,31065,161601,153315,16654,31131,33942,31141,27181,147194,31290,31220,16750,136934,16690,37429,31217,134476,149900,131737,146874,137070,13719,21867,13680,13994,131540,134157,31458,23129,141045,154287,154268,23053,131675,30960,23082,154566,31486,16889,31837,31853,16913,154547,155324,155302,31949,150009,137136,31886,31868,31918,27314,32220,32263,32211,32590,156257,155996,162632,32151,155266,17002,158581,133398,26582,131150,144847,22468,156690,156664,149858,32733,31527,133164,154345,154947,31500,155150,39398,34373,39523,27164,144447,14818,150007,157101,39455,157088,33920,160039,158929,17642,33079,17410,32966,33033,33090,157620,39107,158274,33378,33381,158289,33875,159143,34320,160283,23174,16767,137280,23339,137377,23268,137432,34464,195004,146831,34861,160802,23042,34926,20293,34951,35007,35046,35173,35149,153219,35156,161669,161668,166901,166873,166812,166393,16045,33955,18165,18127,14322,35389,35356,169032,24397,37419,148100,26068,28969,28868,137285,40301,35999,36073,163292,22938,30659,23024,17262,14036,36394,36519,150537,36656,36682,17140,27736,28603,140065,18587,28537,28299,137178,39913,14005,149807,37051,37015,21873,18694,37307,37892,166475,16482,166652,37927,166941,166971,34021,35371,38297,38311,38295,38294,167220,29765,16066,149759,150082,148458,16103,143909,38543,167655,167526,167525,16076,149997,150136,147438,29714,29803,16124,38721,168112,26695,18973,168083,153567,38749,37736,166281,166950,166703,156606,37562,23313,35689,18748,29689,147995,38811,38769,39224,134950,24001,166853,150194,38943,169178,37622,169431,37349,17600,166736,150119,166756,39132,166469,16128,37418,18725,33812,39227,39245,162566,15869,39323,19311,39338,39516,166757,153800,27279,39457,23294,39471,170225,19344,170312,39356,19389,19351,37757,22642,135938,22562,149944,136424,30788,141087,146872,26821,15741,37976,14631,24912,141185,141675,24839,40015,40019,40059,39989,39952,39807,39887,171565,39839,172533,172286,40225,19630,147716,40472,19632,40204,172468,172269,172275,170287,40357,33981,159250,159711,158594,34300,17715,159140,159364,159216,33824,34286,159232,145367,155748,31202,144796,144960,18733,149982,15714,37851,37566,37704,131775,30905,37495,37965,20452,13376,36964,152925,30781,30804,30902,30795,137047,143817,149825,13978,20338,28634,28633,28702,28702,21524,147893,22459,22771,22410,40214,22487,28980,13487,147884,29163,158784,151447,23336,137141,166473,24844,23246,23051,17084,148616,14124,19323,166396,37819,37816,137430,134941,33906,158912,136211,148218,142374,148417,22932,146871,157505,32168,155995,155812,149945,149899,166394,37605,29666,16105,29876,166755,137375,16097,150195,27352,29683,29691,16086,150078,150164,137177,150118,132007,136228,149989,29768,149782,28837,149878,37508,29670,37727,132350,37681,166606,166422,37766,166887,153045,18741,166530,29035,149827,134399,22180,132634,134123,134328,21762,31172,137210,32254,136898,150096,137298,17710,37889,14090,166592,149933,22960,137407,137347,160900,23201,14050,146779,14e3,37471,23161,166529,137314,37748,15565,133812,19094,14730,20724,15721,15692,136092,29045,17147,164376,28175,168164,17643,27991,163407,28775,27823,15574,147437,146989,28162,28428,15727,132085,30033,14012,13512,18048,16090,18545,22980,37486,18750,36673,166940,158656,22546,22472,14038,136274,28926,148322,150129,143331,135856,140221,26809,26983,136088,144613,162804,145119,166531,145366,144378,150687,27162,145069,158903,33854,17631,17614,159014,159057,158850,159710,28439,160009,33597,137018,33773,158848,159827,137179,22921,23170,137139,23137,23153,137477,147964,14125,23023,137020,14023,29070,37776,26266,148133,23150,23083,148115,27179,147193,161590,148571,148170,28957,148057,166369,20400,159016,23746,148686,163405,148413,27148,148054,135940,28838,28979,148457,15781,27871,194597,150095,32357,23019,23855,15859,24412,150109,137183,32164,33830,21637,146170,144128,131604,22398,133333,132633,16357,139166,172726,28675,168283,23920,29583,31955,166489,168992,20424,32743,29389,29456,162548,29496,29497,153334,29505,29512,16041,162584,36972,29173,149746,29665,33270,16074,30476,16081,27810,22269,29721,29726,29727,16098,16112,16116,16122,29907,16142,16211,30018,30061,30066,30093,16252,30152,30172,16320,30285,16343,30324,16348,30330,151388,29064,22051,35200,22633,16413,30531,16441,26465,16453,13787,30616,16490,16495,23646,30654,30667,22770,30744,28857,30748,16552,30777,30791,30801,30822,33864,152885,31027,26627,31026,16643,16649,31121,31129,36795,31238,36796,16743,31377,16818,31420,33401,16836,31439,31451,16847,20001,31586,31596,31611,31762,31771,16992,17018,31867,31900,17036,31928,17044,31981,36755,28864,134351,32207,32212,32208,32253,32686,32692,29343,17303,32800,32805,31545,32814,32817,32852,15820,22452,28832,32951,33001,17389,33036,29482,33038,33042,30048,33044,17409,15161,33110,33113,33114,17427,22586,33148,33156,17445,33171,17453,33189,22511,33217,33252,33364,17551,33446,33398,33482,33496,33535,17584,33623,38505,27018,33797,28917,33892,24803,33928,17668,33982,34017,34040,34064,34104,34130,17723,34159,34160,34272,17783,34418,34450,34482,34543,38469,34699,17926,17943,34990,35071,35108,35143,35217,162151,35369,35384,35476,35508,35921,36052,36082,36124,18328,22623,36291,18413,20206,36410,21976,22356,36465,22005,36528,18487,36558,36578,36580,36589,36594,36791,36801,36810,36812,36915,39364,18605,39136,37395,18718,37416,37464,37483,37553,37550,37567,37603,37611,37619,37620,37629,37699,37764,37805,18757,18769,40639,37911,21249,37917,37933,37950,18794,37972,38009,38189,38306,18855,38388,38451,18917,26528,18980,38720,18997,38834,38850,22100,19172,24808,39097,19225,39153,22596,39182,39193,20916,39196,39223,39234,39261,39266,19312,39365,19357,39484,39695,31363,39785,39809,39901,39921,39924,19565,39968,14191,138178,40265,39994,40702,22096,40339,40381,40384,40444,38134,36790,40571,40620,40625,40637,40646,38108,40674,40689,40696,31432,40772,131220,131767,132e3,26906,38083,22956,132311,22592,38081,14265,132565,132629,132726,136890,22359,29043,133826,133837,134079,21610,194619,134091,21662,134139,134203,134227,134245,134268,24807,134285,22138,134325,134365,134381,134511,134578,134600,26965,39983,34725,134660,134670,134871,135056,134957,134771,23584,135100,24075,135260,135247,135286,26398,135291,135304,135318,13895,135359,135379,135471,135483,21348,33965,135907,136053,135990,35713,136567,136729,137155,137159,20088,28859,137261,137578,137773,137797,138282,138352,138412,138952,25283,138965,139029,29080,26709,139333,27113,14024,139900,140247,140282,141098,141425,141647,33533,141671,141715,142037,35237,142056,36768,142094,38840,142143,38983,39613,142412,null,142472,142519,154600,142600,142610,142775,142741,142914,143220,143308,143411,143462,144159,144350,24497,26184,26303,162425,144743,144883,29185,149946,30679,144922,145174,32391,131910,22709,26382,26904,146087,161367,155618,146961,147129,161278,139418,18640,19128,147737,166554,148206,148237,147515,148276,148374,150085,132554,20946,132625,22943,138920,15294,146687,148484,148694,22408,149108,14747,149295,165352,170441,14178,139715,35678,166734,39382,149522,149755,150037,29193,150208,134264,22885,151205,151430,132985,36570,151596,21135,22335,29041,152217,152601,147274,150183,21948,152646,152686,158546,37332,13427,152895,161330,152926,18200,152930,152934,153543,149823,153693,20582,13563,144332,24798,153859,18300,166216,154286,154505,154630,138640,22433,29009,28598,155906,162834,36950,156082,151450,35682,156674,156746,23899,158711,36662,156804,137500,35562,150006,156808,147439,156946,19392,157119,157365,141083,37989,153569,24981,23079,194765,20411,22201,148769,157436,20074,149812,38486,28047,158909,13848,35191,157593,157806,156689,157790,29151,157895,31554,168128,133649,157990,37124,158009,31301,40432,158202,39462,158253,13919,156777,131105,31107,158260,158555,23852,144665,33743,158621,18128,158884,30011,34917,159150,22710,14108,140685,159819,160205,15444,160384,160389,37505,139642,160395,37680,160486,149968,27705,38047,160848,134904,34855,35061,141606,164979,137137,28344,150058,137248,14756,14009,23568,31203,17727,26294,171181,170148,35139,161740,161880,22230,16607,136714,14753,145199,164072,136133,29101,33638,162269,168360,23143,19639,159919,166315,162301,162314,162571,163174,147834,31555,31102,163849,28597,172767,27139,164632,21410,159239,37823,26678,38749,164207,163875,158133,136173,143919,163912,23941,166960,163971,22293,38947,166217,23979,149896,26046,27093,21458,150181,147329,15377,26422,163984,164084,164142,139169,164175,164233,164271,164378,164614,164655,164746,13770,164968,165546,18682,25574,166230,30728,37461,166328,17394,166375,17375,166376,166726,166868,23032,166921,36619,167877,168172,31569,168208,168252,15863,168286,150218,36816,29327,22155,169191,169449,169392,169400,169778,170193,170313,170346,170435,170536,170766,171354,171419,32415,171768,171811,19620,38215,172691,29090,172799,19857,36882,173515,19868,134300,36798,21953,36794,140464,36793,150163,17673,32383,28502,27313,20202,13540,166700,161949,14138,36480,137205,163876,166764,166809,162366,157359,15851,161365,146615,153141,153942,20122,155265,156248,22207,134765,36366,23405,147080,150686,25566,25296,137206,137339,25904,22061,154698,21530,152337,15814,171416,19581,22050,22046,32585,155352,22901,146752,34672,19996,135146,134473,145082,33047,40286,36120,30267,40005,30286,30649,37701,21554,33096,33527,22053,33074,33816,32957,21994,31074,22083,21526,134813,13774,22021,22001,26353,164578,13869,30004,22e3,21946,21655,21874,134209,134294,24272,151880,134774,142434,134818,40619,32090,21982,135285,25245,38765,21652,36045,29174,37238,25596,25529,25598,21865,142147,40050,143027,20890,13535,134567,20903,21581,21790,21779,30310,36397,157834,30129,32950,34820,34694,35015,33206,33820,135361,17644,29444,149254,23440,33547,157843,22139,141044,163119,147875,163187,159440,160438,37232,135641,37384,146684,173737,134828,134905,29286,138402,18254,151490,163833,135147,16634,40029,25887,142752,18675,149472,171388,135148,134666,24674,161187,135149,null,155720,135559,29091,32398,40272,19994,19972,13687,23309,27826,21351,13996,14812,21373,13989,149016,22682,150382,33325,21579,22442,154261,133497,null,14930,140389,29556,171692,19721,39917,146686,171824,19547,151465,169374,171998,33884,146870,160434,157619,145184,25390,32037,147191,146988,14890,36872,21196,15988,13946,17897,132238,30272,23280,134838,30842,163630,22695,16575,22140,39819,23924,30292,173108,40581,19681,30201,14331,24857,143578,148466,null,22109,135849,22439,149859,171526,21044,159918,13741,27722,40316,31830,39737,22494,137068,23635,25811,169168,156469,160100,34477,134440,159010,150242,134513,null,20990,139023,23950,38659,138705,40577,36940,31519,39682,23761,31651,25192,25397,39679,31695,39722,31870,39726,31810,31878,39957,31740,39689,40727,39963,149822,40794,21875,23491,20477,40600,20466,21088,15878,21201,22375,20566,22967,24082,38856,40363,36700,21609,38836,39232,38842,21292,24880,26924,21466,39946,40194,19515,38465,27008,20646,30022,137069,39386,21107,null,37209,38529,37212,null,37201,167575,25471,159011,27338,22033,37262,30074,25221,132092,29519,31856,154657,146685,null,149785,30422,39837,20010,134356,33726,34882,null,23626,27072,20717,22394,21023,24053,20174,27697,131570,20281,21660,21722,21146,36226,13822,24332,13811,null,27474,37244,40869,39831,38958,39092,39610,40616,40580,29050,31508,null,27642,34840,32632,null,22048,173642,36471,40787,null,36308,36431,40476,36353,25218,164733,36392,36469,31443,150135,31294,30936,27882,35431,30215,166490,40742,27854,34774,30147,172722,30803,194624,36108,29410,29553,35629,29442,29937,36075,150203,34351,24506,34976,17591,null,137275,159237,null,35454,140571,null,24829,30311,39639,40260,37742,39823,34805,null,34831,36087,29484,38689,39856,13782,29362,19463,31825,39242,155993,24921,19460,40598,24957,null,22367,24943,25254,25145,25294,14940,25058,21418,144373,25444,26626,13778,23895,166850,36826,167481,null,20697,138566,30982,21298,38456,134971,16485,null,30718,null,31938,155418,31962,31277,32870,32867,32077,29957,29938,35220,33306,26380,32866,160902,32859,29936,33027,30500,35209,157644,30035,159441,34729,34766,33224,34700,35401,36013,35651,30507,29944,34010,13877,27058,36262,null,35241,29800,28089,34753,147473,29927,15835,29046,24740,24988,15569,29026,24695,null,32625,166701,29264,24809,19326,21024,15384,146631,155351,161366,152881,137540,135934,170243,159196,159917,23745,156077,166415,145015,131310,157766,151310,17762,23327,156492,40784,40614,156267,12288,65292,12289,12290,65294,8231,65307,65306,65311,65281,65072,8230,8229,65104,65105,65106,183,65108,65109,65110,65111,65372,8211,65073,8212,65075,9588,65076,65103,65288,65289,65077,65078,65371,65373,65079,65080,12308,12309,65081,65082,12304,12305,65083,65084,12298,12299,65085,65086,12296,12297,65087,65088,12300,12301,65089,65090,12302,12303,65091,65092,65113,65114,65115,65116,65117,65118,8216,8217,8220,8221,12317,12318,8245,8242,65283,65286,65290,8251,167,12291,9675,9679,9651,9650,9678,9734,9733,9671,9670,9633,9632,9661,9660,12963,8453,175,65507,65343,717,65097,65098,65101,65102,65099,65100,65119,65120,65121,65291,65293,215,247,177,8730,65308,65310,65309,8806,8807,8800,8734,8786,8801,65122,65123,65124,65125,65126,65374,8745,8746,8869,8736,8735,8895,13266,13265,8747,8750,8757,8756,9792,9794,8853,8857,8593,8595,8592,8594,8598,8599,8601,8600,8741,8739,65295,65340,8725,65128,65284,65509,12306,65504,65505,65285,65312,8451,8457,65129,65130,65131,13269,13212,13213,13214,13262,13217,13198,13199,13252,176,20825,20827,20830,20829,20833,20835,21991,29929,31950,9601,9602,9603,9604,9605,9606,9607,9608,9615,9614,9613,9612,9611,9610,9609,9532,9524,9516,9508,9500,9620,9472,9474,9621,9484,9488,9492,9496,9581,9582,9584,9583,9552,9566,9578,9569,9698,9699,9701,9700,9585,9586,9587,65296,65297,65298,65299,65300,65301,65302,65303,65304,65305,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,12321,12322,12323,12324,12325,12326,12327,12328,12329,21313,21316,21317,65313,65314,65315,65316,65317,65318,65319,65320,65321,65322,65323,65324,65325,65326,65327,65328,65329,65330,65331,65332,65333,65334,65335,65336,65337,65338,65345,65346,65347,65348,65349,65350,65351,65352,65353,65354,65355,65356,65357,65358,65359,65360,65361,65362,65363,65364,65365,65366,65367,65368,65369,65370,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,963,964,965,966,967,968,969,12549,12550,12551,12552,12553,12554,12555,12556,12557,12558,12559,12560,12561,12562,12563,12564,12565,12566,12567,12568,12569,12570,12571,12572,12573,12574,12575,12576,12577,12578,12579,12580,12581,12582,12583,12584,12585,729,713,714,711,715,9216,9217,9218,9219,9220,9221,9222,9223,9224,9225,9226,9227,9228,9229,9230,9231,9232,9233,9234,9235,9236,9237,9238,9239,9240,9241,9242,9243,9244,9245,9246,9247,9249,8364,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,19968,20057,19969,19971,20035,20061,20102,20108,20154,20799,20837,20843,20960,20992,20993,21147,21269,21313,21340,21448,19977,19979,19976,19978,20011,20024,20961,20037,20040,20063,20062,20110,20129,20800,20995,21242,21315,21449,21475,22303,22763,22805,22823,22899,23376,23377,23379,23544,23567,23586,23608,23665,24029,24037,24049,24050,24051,24062,24178,24318,24331,24339,25165,19985,19984,19981,20013,20016,20025,20043,23609,20104,20113,20117,20114,20116,20130,20161,20160,20163,20166,20167,20173,20170,20171,20164,20803,20801,20839,20845,20846,20844,20887,20982,20998,20999,21e3,21243,21246,21247,21270,21305,21320,21319,21317,21342,21380,21451,21450,21453,22764,22825,22827,22826,22829,23380,23569,23588,23610,23663,24052,24187,24319,24340,24341,24515,25096,25142,25163,25166,25903,25991,26007,26020,26041,26085,26352,26376,26408,27424,27490,27513,27595,27604,27611,27663,27700,28779,29226,29238,29243,29255,29273,29275,29356,29579,19993,19990,19989,19988,19992,20027,20045,20047,20046,20197,20184,20180,20181,20182,20183,20195,20196,20185,20190,20805,20804,20873,20874,20908,20985,20986,20984,21002,21152,21151,21253,21254,21271,21277,20191,21322,21321,21345,21344,21359,21358,21435,21487,21476,21491,21484,21486,21481,21480,21500,21496,21493,21483,21478,21482,21490,21489,21488,21477,21485,21499,22235,22234,22806,22830,22833,22900,22902,23381,23427,23612,24040,24039,24038,24066,24067,24179,24188,24321,24344,24343,24517,25098,25171,25172,25170,25169,26021,26086,26414,26412,26410,26411,26413,27491,27597,27665,27664,27704,27713,27712,27710,29359,29572,29577,29916,29926,29976,29983,29992,29993,3e4,30001,30002,30003,30091,30333,30382,30399,30446,30683,30690,30707,31034,31166,31348,31435,19998,19999,20050,20051,20073,20121,20132,20134,20133,20223,20233,20249,20234,20245,20237,20240,20241,20239,20210,20214,20219,20208,20211,20221,20225,20235,20809,20807,20806,20808,20840,20849,20877,20912,21015,21009,21010,21006,21014,21155,21256,21281,21280,21360,21361,21513,21519,21516,21514,21520,21505,21515,21508,21521,21517,21512,21507,21518,21510,21522,22240,22238,22237,22323,22320,22312,22317,22316,22319,22313,22809,22810,22839,22840,22916,22904,22915,22909,22905,22914,22913,23383,23384,23431,23432,23429,23433,23546,23574,23673,24030,24070,24182,24180,24335,24347,24537,24534,25102,25100,25101,25104,25187,25179,25176,25910,26089,26088,26092,26093,26354,26355,26377,26429,26420,26417,26421,27425,27492,27515,27670,27741,27735,27737,27743,27744,27728,27733,27745,27739,27725,27726,28784,29279,29277,30334,31481,31859,31992,32566,32650,32701,32769,32771,32780,32786,32819,32895,32905,32907,32908,33251,33258,33267,33276,33292,33307,33311,33390,33394,33406,34411,34880,34892,34915,35199,38433,20018,20136,20301,20303,20295,20311,20318,20276,20315,20309,20272,20304,20305,20285,20282,20280,20291,20308,20284,20294,20323,20316,20320,20271,20302,20278,20313,20317,20296,20314,20812,20811,20813,20853,20918,20919,21029,21028,21033,21034,21032,21163,21161,21162,21164,21283,21363,21365,21533,21549,21534,21566,21542,21582,21543,21574,21571,21555,21576,21570,21531,21545,21578,21561,21563,21560,21550,21557,21558,21536,21564,21568,21553,21547,21535,21548,22250,22256,22244,22251,22346,22353,22336,22349,22343,22350,22334,22352,22351,22331,22767,22846,22941,22930,22952,22942,22947,22937,22934,22925,22948,22931,22922,22949,23389,23388,23386,23387,23436,23435,23439,23596,23616,23617,23615,23614,23696,23697,23700,23692,24043,24076,24207,24199,24202,24311,24324,24351,24420,24418,24439,24441,24536,24524,24535,24525,24561,24555,24568,24554,25106,25105,25220,25239,25238,25216,25206,25225,25197,25226,25212,25214,25209,25203,25234,25199,25240,25198,25237,25235,25233,25222,25913,25915,25912,26097,26356,26463,26446,26447,26448,26449,26460,26454,26462,26441,26438,26464,26451,26455,27493,27599,27714,27742,27801,27777,27784,27785,27781,27803,27754,27770,27792,27760,27788,27752,27798,27794,27773,27779,27762,27774,27764,27782,27766,27789,27796,27800,27778,28790,28796,28797,28792,29282,29281,29280,29380,29378,29590,29996,29995,30007,30008,30338,30447,30691,31169,31168,31167,31350,31995,32597,32918,32915,32925,32920,32923,32922,32946,33391,33426,33419,33421,35211,35282,35328,35895,35910,35925,35997,36196,36208,36275,36523,36554,36763,36784,36802,36806,36805,36804,24033,37009,37026,37034,37030,37027,37193,37318,37324,38450,38446,38449,38442,38444,20006,20054,20083,20107,20123,20126,20139,20140,20335,20381,20365,20339,20351,20332,20379,20363,20358,20355,20336,20341,20360,20329,20347,20374,20350,20367,20369,20346,20820,20818,20821,20841,20855,20854,20856,20925,20989,21051,21048,21047,21050,21040,21038,21046,21057,21182,21179,21330,21332,21331,21329,21350,21367,21368,21369,21462,21460,21463,21619,21621,21654,21624,21653,21632,21627,21623,21636,21650,21638,21628,21648,21617,21622,21644,21658,21602,21608,21643,21629,21646,22266,22403,22391,22378,22377,22369,22374,22372,22396,22812,22857,22855,22856,22852,22868,22974,22971,22996,22969,22958,22993,22982,22992,22989,22987,22995,22986,22959,22963,22994,22981,23391,23396,23395,23447,23450,23448,23452,23449,23451,23578,23624,23621,23622,23735,23713,23736,23721,23723,23729,23731,24088,24090,24086,24085,24091,24081,24184,24218,24215,24220,24213,24214,24310,24358,24359,24361,24448,24449,24447,24444,24541,24544,24573,24565,24575,24591,24596,24623,24629,24598,24618,24597,24609,24615,24617,24619,24603,25110,25109,25151,25150,25152,25215,25289,25292,25284,25279,25282,25273,25298,25307,25259,25299,25300,25291,25288,25256,25277,25276,25296,25305,25287,25293,25269,25306,25265,25304,25302,25303,25286,25260,25294,25918,26023,26044,26106,26132,26131,26124,26118,26114,26126,26112,26127,26133,26122,26119,26381,26379,26477,26507,26517,26481,26524,26483,26487,26503,26525,26519,26479,26480,26495,26505,26494,26512,26485,26522,26515,26492,26474,26482,27427,27494,27495,27519,27667,27675,27875,27880,27891,27825,27852,27877,27827,27837,27838,27836,27874,27819,27861,27859,27832,27844,27833,27841,27822,27863,27845,27889,27839,27835,27873,27867,27850,27820,27887,27868,27862,27872,28821,28814,28818,28810,28825,29228,29229,29240,29256,29287,29289,29376,29390,29401,29399,29392,29609,29608,29599,29611,29605,30013,30109,30105,30106,30340,30402,30450,30452,30693,30717,31038,31040,31041,31177,31176,31354,31353,31482,31998,32596,32652,32651,32773,32954,32933,32930,32945,32929,32939,32937,32948,32938,32943,33253,33278,33293,33459,33437,33433,33453,33469,33439,33465,33457,33452,33445,33455,33464,33443,33456,33470,33463,34382,34417,21021,34920,36555,36814,36820,36817,37045,37048,37041,37046,37319,37329,38263,38272,38428,38464,38463,38459,38468,38466,38585,38632,38738,38750,20127,20141,20142,20449,20405,20399,20415,20448,20433,20431,20445,20419,20406,20440,20447,20426,20439,20398,20432,20420,20418,20442,20430,20446,20407,20823,20882,20881,20896,21070,21059,21066,21069,21068,21067,21063,21191,21193,21187,21185,21261,21335,21371,21402,21467,21676,21696,21672,21710,21705,21688,21670,21683,21703,21698,21693,21674,21697,21700,21704,21679,21675,21681,21691,21673,21671,21695,22271,22402,22411,22432,22435,22434,22478,22446,22419,22869,22865,22863,22862,22864,23004,23e3,23039,23011,23016,23043,23013,23018,23002,23014,23041,23035,23401,23459,23462,23460,23458,23461,23553,23630,23631,23629,23627,23769,23762,24055,24093,24101,24095,24189,24224,24230,24314,24328,24365,24421,24456,24453,24458,24459,24455,24460,24457,24594,24605,24608,24613,24590,24616,24653,24688,24680,24674,24646,24643,24684,24683,24682,24676,25153,25308,25366,25353,25340,25325,25345,25326,25341,25351,25329,25335,25327,25324,25342,25332,25361,25346,25919,25925,26027,26045,26082,26149,26157,26144,26151,26159,26143,26152,26161,26148,26359,26623,26579,26609,26580,26576,26604,26550,26543,26613,26601,26607,26564,26577,26548,26586,26597,26552,26575,26590,26611,26544,26585,26594,26589,26578,27498,27523,27526,27573,27602,27607,27679,27849,27915,27954,27946,27969,27941,27916,27953,27934,27927,27963,27965,27966,27958,27931,27893,27961,27943,27960,27945,27950,27957,27918,27947,28843,28858,28851,28844,28847,28845,28856,28846,28836,29232,29298,29295,29300,29417,29408,29409,29623,29642,29627,29618,29645,29632,29619,29978,29997,30031,30028,30030,30027,30123,30116,30117,30114,30115,30328,30342,30343,30344,30408,30406,30403,30405,30465,30457,30456,30473,30475,30462,30460,30471,30684,30722,30740,30732,30733,31046,31049,31048,31047,31161,31162,31185,31186,31179,31359,31361,31487,31485,31869,32002,32005,32e3,32009,32007,32004,32006,32568,32654,32703,32772,32784,32781,32785,32822,32982,32997,32986,32963,32964,32972,32993,32987,32974,32990,32996,32989,33268,33314,33511,33539,33541,33507,33499,33510,33540,33509,33538,33545,33490,33495,33521,33537,33500,33492,33489,33502,33491,33503,33519,33542,34384,34425,34427,34426,34893,34923,35201,35284,35336,35330,35331,35998,36e3,36212,36211,36276,36557,36556,36848,36838,36834,36842,36837,36845,36843,36836,36840,37066,37070,37057,37059,37195,37194,37325,38274,38480,38475,38476,38477,38754,38761,38859,38893,38899,38913,39080,39131,39135,39318,39321,20056,20147,20492,20493,20515,20463,20518,20517,20472,20521,20502,20486,20540,20511,20506,20498,20497,20474,20480,20500,20520,20465,20513,20491,20505,20504,20467,20462,20525,20522,20478,20523,20489,20860,20900,20901,20898,20941,20940,20934,20939,21078,21084,21076,21083,21085,21290,21375,21407,21405,21471,21736,21776,21761,21815,21756,21733,21746,21766,21754,21780,21737,21741,21729,21769,21742,21738,21734,21799,21767,21757,21775,22275,22276,22466,22484,22475,22467,22537,22799,22871,22872,22874,23057,23064,23068,23071,23067,23059,23020,23072,23075,23081,23077,23052,23049,23403,23640,23472,23475,23478,23476,23470,23477,23481,23480,23556,23633,23637,23632,23789,23805,23803,23786,23784,23792,23798,23809,23796,24046,24109,24107,24235,24237,24231,24369,24466,24465,24464,24665,24675,24677,24656,24661,24685,24681,24687,24708,24735,24730,24717,24724,24716,24709,24726,25159,25331,25352,25343,25422,25406,25391,25429,25410,25414,25423,25417,25402,25424,25405,25386,25387,25384,25421,25420,25928,25929,26009,26049,26053,26178,26185,26191,26179,26194,26188,26181,26177,26360,26388,26389,26391,26657,26680,26696,26694,26707,26681,26690,26708,26665,26803,26647,26700,26705,26685,26612,26704,26688,26684,26691,26666,26693,26643,26648,26689,27530,27529,27575,27683,27687,27688,27686,27684,27888,28010,28053,28040,28039,28006,28024,28023,27993,28051,28012,28041,28014,27994,28020,28009,28044,28042,28025,28037,28005,28052,28874,28888,28900,28889,28872,28879,29241,29305,29436,29433,29437,29432,29431,29574,29677,29705,29678,29664,29674,29662,30036,30045,30044,30042,30041,30142,30149,30151,30130,30131,30141,30140,30137,30146,30136,30347,30384,30410,30413,30414,30505,30495,30496,30504,30697,30768,30759,30776,30749,30772,30775,30757,30765,30752,30751,30770,31061,31056,31072,31071,31062,31070,31069,31063,31066,31204,31203,31207,31199,31206,31209,31192,31364,31368,31449,31494,31505,31881,32033,32023,32011,32010,32032,32034,32020,32016,32021,32026,32028,32013,32025,32027,32570,32607,32660,32709,32705,32774,32792,32789,32793,32791,32829,32831,33009,33026,33008,33029,33005,33012,33030,33016,33011,33032,33021,33034,33020,33007,33261,33260,33280,33296,33322,33323,33320,33324,33467,33579,33618,33620,33610,33592,33616,33609,33589,33588,33615,33586,33593,33590,33559,33600,33585,33576,33603,34388,34442,34474,34451,34468,34473,34444,34467,34460,34928,34935,34945,34946,34941,34937,35352,35344,35342,35340,35349,35338,35351,35347,35350,35343,35345,35912,35962,35961,36001,36002,36215,36524,36562,36564,36559,36785,36865,36870,36855,36864,36858,36852,36867,36861,36869,36856,37013,37089,37085,37090,37202,37197,37196,37336,37341,37335,37340,37337,38275,38498,38499,38497,38491,38493,38500,38488,38494,38587,39138,39340,39592,39640,39717,39730,39740,20094,20602,20605,20572,20551,20547,20556,20570,20553,20581,20598,20558,20565,20597,20596,20599,20559,20495,20591,20589,20828,20885,20976,21098,21103,21202,21209,21208,21205,21264,21263,21273,21311,21312,21310,21443,26364,21830,21866,21862,21828,21854,21857,21827,21834,21809,21846,21839,21845,21807,21860,21816,21806,21852,21804,21859,21811,21825,21847,22280,22283,22281,22495,22533,22538,22534,22496,22500,22522,22530,22581,22519,22521,22816,22882,23094,23105,23113,23142,23146,23104,23100,23138,23130,23110,23114,23408,23495,23493,23492,23490,23487,23494,23561,23560,23559,23648,23644,23645,23815,23814,23822,23835,23830,23842,23825,23849,23828,23833,23844,23847,23831,24034,24120,24118,24115,24119,24247,24248,24246,24245,24254,24373,24375,24407,24428,24425,24427,24471,24473,24478,24472,24481,24480,24476,24703,24739,24713,24736,24744,24779,24756,24806,24765,24773,24763,24757,24796,24764,24792,24789,24774,24799,24760,24794,24775,25114,25115,25160,25504,25511,25458,25494,25506,25509,25463,25447,25496,25514,25457,25513,25481,25475,25499,25451,25512,25476,25480,25497,25505,25516,25490,25487,25472,25467,25449,25448,25466,25949,25942,25937,25945,25943,21855,25935,25944,25941,25940,26012,26011,26028,26063,26059,26060,26062,26205,26202,26212,26216,26214,26206,26361,21207,26395,26753,26799,26786,26771,26805,26751,26742,26801,26791,26775,26800,26755,26820,26797,26758,26757,26772,26781,26792,26783,26785,26754,27442,27578,27627,27628,27691,28046,28092,28147,28121,28082,28129,28108,28132,28155,28154,28165,28103,28107,28079,28113,28078,28126,28153,28088,28151,28149,28101,28114,28186,28085,28122,28139,28120,28138,28145,28142,28136,28102,28100,28074,28140,28095,28134,28921,28937,28938,28925,28911,29245,29309,29313,29468,29467,29462,29459,29465,29575,29701,29706,29699,29702,29694,29709,29920,29942,29943,29980,29986,30053,30054,30050,30064,30095,30164,30165,30133,30154,30157,30350,30420,30418,30427,30519,30526,30524,30518,30520,30522,30827,30787,30798,31077,31080,31085,31227,31378,31381,31520,31528,31515,31532,31526,31513,31518,31534,31890,31895,31893,32070,32067,32113,32046,32057,32060,32064,32048,32051,32068,32047,32066,32050,32049,32573,32670,32666,32716,32718,32722,32796,32842,32838,33071,33046,33059,33067,33065,33072,33060,33282,33333,33335,33334,33337,33678,33694,33688,33656,33698,33686,33725,33707,33682,33674,33683,33673,33696,33655,33659,33660,33670,33703,34389,24426,34503,34496,34486,34500,34485,34502,34507,34481,34479,34505,34899,34974,34952,34987,34962,34966,34957,34955,35219,35215,35370,35357,35363,35365,35377,35373,35359,35355,35362,35913,35930,36009,36012,36011,36008,36010,36007,36199,36198,36286,36282,36571,36575,36889,36877,36890,36887,36899,36895,36893,36880,36885,36894,36896,36879,36898,36886,36891,36884,37096,37101,37117,37207,37326,37365,37350,37347,37351,37357,37353,38281,38506,38517,38515,38520,38512,38516,38518,38519,38508,38592,38634,38633,31456,31455,38914,38915,39770,40165,40565,40575,40613,40635,20642,20621,20613,20633,20625,20608,20630,20632,20634,26368,20977,21106,21108,21109,21097,21214,21213,21211,21338,21413,21883,21888,21927,21884,21898,21917,21912,21890,21916,21930,21908,21895,21899,21891,21939,21934,21919,21822,21938,21914,21947,21932,21937,21886,21897,21931,21913,22285,22575,22570,22580,22564,22576,22577,22561,22557,22560,22777,22778,22880,23159,23194,23167,23186,23195,23207,23411,23409,23506,23500,23507,23504,23562,23563,23601,23884,23888,23860,23879,24061,24133,24125,24128,24131,24190,24266,24257,24258,24260,24380,24429,24489,24490,24488,24785,24801,24754,24758,24800,24860,24867,24826,24853,24816,24827,24820,24936,24817,24846,24822,24841,24832,24850,25119,25161,25507,25484,25551,25536,25577,25545,25542,25549,25554,25571,25552,25569,25558,25581,25582,25462,25588,25578,25563,25682,25562,25593,25950,25958,25954,25955,26001,26e3,26031,26222,26224,26228,26230,26223,26257,26234,26238,26231,26366,26367,26399,26397,26874,26837,26848,26840,26839,26885,26847,26869,26862,26855,26873,26834,26866,26851,26827,26829,26893,26898,26894,26825,26842,26990,26875,27454,27450,27453,27544,27542,27580,27631,27694,27695,27692,28207,28216,28244,28193,28210,28263,28234,28192,28197,28195,28187,28251,28248,28196,28246,28270,28205,28198,28271,28212,28237,28218,28204,28227,28189,28222,28363,28297,28185,28238,28259,28228,28274,28265,28255,28953,28954,28966,28976,28961,28982,29038,28956,29260,29316,29312,29494,29477,29492,29481,29754,29738,29747,29730,29733,29749,29750,29748,29743,29723,29734,29736,29989,29990,30059,30058,30178,30171,30179,30169,30168,30174,30176,30331,30332,30358,30355,30388,30428,30543,30701,30813,30828,30831,31245,31240,31243,31237,31232,31384,31383,31382,31461,31459,31561,31574,31558,31568,31570,31572,31565,31563,31567,31569,31903,31909,32094,32080,32104,32085,32043,32110,32114,32097,32102,32098,32112,32115,21892,32724,32725,32779,32850,32901,33109,33108,33099,33105,33102,33081,33094,33086,33100,33107,33140,33298,33308,33769,33795,33784,33805,33760,33733,33803,33729,33775,33777,33780,33879,33802,33776,33804,33740,33789,33778,33738,33848,33806,33796,33756,33799,33748,33759,34395,34527,34521,34541,34516,34523,34532,34512,34526,34903,35009,35010,34993,35203,35222,35387,35424,35413,35422,35388,35393,35412,35419,35408,35398,35380,35386,35382,35414,35937,35970,36015,36028,36019,36029,36033,36027,36032,36020,36023,36022,36031,36024,36234,36229,36225,36302,36317,36299,36314,36305,36300,36315,36294,36603,36600,36604,36764,36910,36917,36913,36920,36914,36918,37122,37109,37129,37118,37219,37221,37327,37396,37397,37411,37385,37406,37389,37392,37383,37393,38292,38287,38283,38289,38291,38290,38286,38538,38542,38539,38525,38533,38534,38541,38514,38532,38593,38597,38596,38598,38599,38639,38642,38860,38917,38918,38920,39143,39146,39151,39145,39154,39149,39342,39341,40643,40653,40657,20098,20653,20661,20658,20659,20677,20670,20652,20663,20667,20655,20679,21119,21111,21117,21215,21222,21220,21218,21219,21295,21983,21992,21971,21990,21966,21980,21959,21969,21987,21988,21999,21978,21985,21957,21958,21989,21961,22290,22291,22622,22609,22616,22615,22618,22612,22635,22604,22637,22602,22626,22610,22603,22887,23233,23241,23244,23230,23229,23228,23219,23234,23218,23913,23919,24140,24185,24265,24264,24338,24409,24492,24494,24858,24847,24904,24863,24819,24859,24825,24833,24840,24910,24908,24900,24909,24894,24884,24871,24845,24838,24887,25121,25122,25619,25662,25630,25642,25645,25661,25644,25615,25628,25620,25613,25654,25622,25623,25606,25964,26015,26032,26263,26249,26247,26248,26262,26244,26264,26253,26371,27028,26989,26970,26999,26976,26964,26997,26928,27010,26954,26984,26987,26974,26963,27001,27014,26973,26979,26971,27463,27506,27584,27583,27603,27645,28322,28335,28371,28342,28354,28304,28317,28359,28357,28325,28312,28348,28346,28331,28369,28310,28316,28356,28372,28330,28327,28340,29006,29017,29033,29028,29001,29031,29020,29036,29030,29004,29029,29022,28998,29032,29014,29242,29266,29495,29509,29503,29502,29807,29786,29781,29791,29790,29761,29759,29785,29787,29788,30070,30072,30208,30192,30209,30194,30193,30202,30207,30196,30195,30430,30431,30555,30571,30566,30558,30563,30585,30570,30572,30556,30565,30568,30562,30702,30862,30896,30871,30872,30860,30857,30844,30865,30867,30847,31098,31103,31105,33836,31165,31260,31258,31264,31252,31263,31262,31391,31392,31607,31680,31584,31598,31591,31921,31923,31925,32147,32121,32145,32129,32143,32091,32622,32617,32618,32626,32681,32680,32676,32854,32856,32902,32900,33137,33136,33144,33125,33134,33139,33131,33145,33146,33126,33285,33351,33922,33911,33853,33841,33909,33894,33899,33865,33900,33883,33852,33845,33889,33891,33897,33901,33862,34398,34396,34399,34553,34579,34568,34567,34560,34558,34555,34562,34563,34566,34570,34905,35039,35028,35033,35036,35032,35037,35041,35018,35029,35026,35228,35299,35435,35442,35443,35430,35433,35440,35463,35452,35427,35488,35441,35461,35437,35426,35438,35436,35449,35451,35390,35432,35938,35978,35977,36042,36039,36040,36036,36018,36035,36034,36037,36321,36319,36328,36335,36339,36346,36330,36324,36326,36530,36611,36617,36606,36618,36767,36786,36939,36938,36947,36930,36948,36924,36949,36944,36935,36943,36942,36941,36945,36926,36929,37138,37143,37228,37226,37225,37321,37431,37463,37432,37437,37440,37438,37467,37451,37476,37457,37428,37449,37453,37445,37433,37439,37466,38296,38552,38548,38549,38605,38603,38601,38602,38647,38651,38649,38646,38742,38772,38774,38928,38929,38931,38922,38930,38924,39164,39156,39165,39166,39347,39345,39348,39649,40169,40578,40718,40723,40736,20711,20718,20709,20694,20717,20698,20693,20687,20689,20721,20686,20713,20834,20979,21123,21122,21297,21421,22014,22016,22043,22039,22013,22036,22022,22025,22029,22030,22007,22038,22047,22024,22032,22006,22296,22294,22645,22654,22659,22675,22666,22649,22661,22653,22781,22821,22818,22820,22890,22889,23265,23270,23273,23255,23254,23256,23267,23413,23518,23527,23521,23525,23526,23528,23522,23524,23519,23565,23650,23940,23943,24155,24163,24149,24151,24148,24275,24278,24330,24390,24432,24505,24903,24895,24907,24951,24930,24931,24927,24922,24920,24949,25130,25735,25688,25684,25764,25720,25695,25722,25681,25703,25652,25709,25723,25970,26017,26071,26070,26274,26280,26269,27036,27048,27029,27073,27054,27091,27083,27035,27063,27067,27051,27060,27088,27085,27053,27084,27046,27075,27043,27465,27468,27699,28467,28436,28414,28435,28404,28457,28478,28448,28460,28431,28418,28450,28415,28399,28422,28465,28472,28466,28451,28437,28459,28463,28552,28458,28396,28417,28402,28364,28407,29076,29081,29053,29066,29060,29074,29246,29330,29334,29508,29520,29796,29795,29802,29808,29805,29956,30097,30247,30221,30219,30217,30227,30433,30435,30596,30589,30591,30561,30913,30879,30887,30899,30889,30883,31118,31119,31117,31278,31281,31402,31401,31469,31471,31649,31637,31627,31605,31639,31645,31636,31631,31672,31623,31620,31929,31933,31934,32187,32176,32156,32189,32190,32160,32202,32180,32178,32177,32186,32162,32191,32181,32184,32173,32210,32199,32172,32624,32736,32737,32735,32862,32858,32903,33104,33152,33167,33160,33162,33151,33154,33255,33274,33287,33300,33310,33355,33993,33983,33990,33988,33945,33950,33970,33948,33995,33976,33984,34003,33936,33980,34001,33994,34623,34588,34619,34594,34597,34612,34584,34645,34615,34601,35059,35074,35060,35065,35064,35069,35048,35098,35055,35494,35468,35486,35491,35469,35489,35475,35492,35498,35493,35496,35480,35473,35482,35495,35946,35981,35980,36051,36049,36050,36203,36249,36245,36348,36628,36626,36629,36627,36771,36960,36952,36956,36963,36953,36958,36962,36957,36955,37145,37144,37150,37237,37240,37239,37236,37496,37504,37509,37528,37526,37499,37523,37532,37544,37500,37521,38305,38312,38313,38307,38309,38308,38553,38556,38555,38604,38610,38656,38780,38789,38902,38935,38936,39087,39089,39171,39173,39180,39177,39361,39599,39600,39654,39745,39746,40180,40182,40179,40636,40763,40778,20740,20736,20731,20725,20729,20738,20744,20745,20741,20956,21127,21128,21129,21133,21130,21232,21426,22062,22075,22073,22066,22079,22068,22057,22099,22094,22103,22132,22070,22063,22064,22656,22687,22686,22707,22684,22702,22697,22694,22893,23305,23291,23307,23285,23308,23304,23534,23532,23529,23531,23652,23653,23965,23956,24162,24159,24161,24290,24282,24287,24285,24291,24288,24392,24433,24503,24501,24950,24935,24942,24925,24917,24962,24956,24944,24939,24958,24999,24976,25003,24974,25004,24986,24996,24980,25006,25134,25705,25711,25721,25758,25778,25736,25744,25776,25765,25747,25749,25769,25746,25774,25773,25771,25754,25772,25753,25762,25779,25973,25975,25976,26286,26283,26292,26289,27171,27167,27112,27137,27166,27161,27133,27169,27155,27146,27123,27138,27141,27117,27153,27472,27470,27556,27589,27590,28479,28540,28548,28497,28518,28500,28550,28525,28507,28536,28526,28558,28538,28528,28516,28567,28504,28373,28527,28512,28511,29087,29100,29105,29096,29270,29339,29518,29527,29801,29835,29827,29822,29824,30079,30240,30249,30239,30244,30246,30241,30242,30362,30394,30436,30606,30599,30604,30609,30603,30923,30917,30906,30922,30910,30933,30908,30928,31295,31292,31296,31293,31287,31291,31407,31406,31661,31665,31684,31668,31686,31687,31681,31648,31692,31946,32224,32244,32239,32251,32216,32236,32221,32232,32227,32218,32222,32233,32158,32217,32242,32249,32629,32631,32687,32745,32806,33179,33180,33181,33184,33178,33176,34071,34109,34074,34030,34092,34093,34067,34065,34083,34081,34068,34028,34085,34047,34054,34690,34676,34678,34656,34662,34680,34664,34649,34647,34636,34643,34907,34909,35088,35079,35090,35091,35093,35082,35516,35538,35527,35524,35477,35531,35576,35506,35529,35522,35519,35504,35542,35533,35510,35513,35547,35916,35918,35948,36064,36062,36070,36068,36076,36077,36066,36067,36060,36074,36065,36205,36255,36259,36395,36368,36381,36386,36367,36393,36383,36385,36382,36538,36637,36635,36639,36649,36646,36650,36636,36638,36645,36969,36974,36968,36973,36983,37168,37165,37159,37169,37255,37257,37259,37251,37573,37563,37559,37610,37548,37604,37569,37555,37564,37586,37575,37616,37554,38317,38321,38660,38662,38663,38665,38752,38797,38795,38799,38945,38955,38940,39091,39178,39187,39186,39192,39389,39376,39391,39387,39377,39381,39378,39385,39607,39662,39663,39719,39749,39748,39799,39791,40198,40201,40195,40617,40638,40654,22696,40786,20754,20760,20756,20752,20757,20864,20906,20957,21137,21139,21235,22105,22123,22137,22121,22116,22136,22122,22120,22117,22129,22127,22124,22114,22134,22721,22718,22727,22725,22894,23325,23348,23416,23536,23566,24394,25010,24977,25001,24970,25037,25014,25022,25034,25032,25136,25797,25793,25803,25787,25788,25818,25796,25799,25794,25805,25791,25810,25812,25790,25972,26310,26313,26297,26308,26311,26296,27197,27192,27194,27225,27243,27224,27193,27204,27234,27233,27211,27207,27189,27231,27208,27481,27511,27653,28610,28593,28577,28611,28580,28609,28583,28595,28608,28601,28598,28582,28576,28596,29118,29129,29136,29138,29128,29141,29113,29134,29145,29148,29123,29124,29544,29852,29859,29848,29855,29854,29922,29964,29965,30260,30264,30266,30439,30437,30624,30622,30623,30629,30952,30938,30956,30951,31142,31309,31310,31302,31308,31307,31418,31705,31761,31689,31716,31707,31713,31721,31718,31957,31958,32266,32273,32264,32283,32291,32286,32285,32265,32272,32633,32690,32752,32753,32750,32808,33203,33193,33192,33275,33288,33368,33369,34122,34137,34120,34152,34153,34115,34121,34157,34154,34142,34691,34719,34718,34722,34701,34913,35114,35122,35109,35115,35105,35242,35238,35558,35578,35563,35569,35584,35548,35559,35566,35582,35585,35586,35575,35565,35571,35574,35580,35947,35949,35987,36084,36420,36401,36404,36418,36409,36405,36667,36655,36664,36659,36776,36774,36981,36980,36984,36978,36988,36986,37172,37266,37664,37686,37624,37683,37679,37666,37628,37675,37636,37658,37648,37670,37665,37653,37678,37657,38331,38567,38568,38570,38613,38670,38673,38678,38669,38675,38671,38747,38748,38758,38808,38960,38968,38971,38967,38957,38969,38948,39184,39208,39198,39195,39201,39194,39405,39394,39409,39608,39612,39675,39661,39720,39825,40213,40227,40230,40232,40210,40219,40664,40660,40845,40860,20778,20767,20769,20786,21237,22158,22144,22160,22149,22151,22159,22741,22739,22737,22734,23344,23338,23332,23418,23607,23656,23996,23994,23997,23992,24171,24396,24509,25033,25026,25031,25062,25035,25138,25140,25806,25802,25816,25824,25840,25830,25836,25841,25826,25837,25986,25987,26329,26326,27264,27284,27268,27298,27292,27355,27299,27262,27287,27280,27296,27484,27566,27610,27656,28632,28657,28639,28640,28635,28644,28651,28655,28544,28652,28641,28649,28629,28654,28656,29159,29151,29166,29158,29157,29165,29164,29172,29152,29237,29254,29552,29554,29865,29872,29862,29864,30278,30274,30284,30442,30643,30634,30640,30636,30631,30637,30703,30967,30970,30964,30959,30977,31143,31146,31319,31423,31751,31757,31742,31735,31756,31712,31968,31964,31966,31970,31967,31961,31965,32302,32318,32326,32311,32306,32323,32299,32317,32305,32325,32321,32308,32313,32328,32309,32319,32303,32580,32755,32764,32881,32882,32880,32879,32883,33222,33219,33210,33218,33216,33215,33213,33225,33214,33256,33289,33393,34218,34180,34174,34204,34193,34196,34223,34203,34183,34216,34186,34407,34752,34769,34739,34770,34758,34731,34747,34746,34760,34763,35131,35126,35140,35128,35133,35244,35598,35607,35609,35611,35594,35616,35613,35588,35600,35905,35903,35955,36090,36093,36092,36088,36091,36264,36425,36427,36424,36426,36676,36670,36674,36677,36671,36991,36989,36996,36993,36994,36992,37177,37283,37278,37276,37709,37762,37672,37749,37706,37733,37707,37656,37758,37740,37723,37744,37722,37716,38346,38347,38348,38344,38342,38577,38584,38614,38684,38686,38816,38867,38982,39094,39221,39425,39423,39854,39851,39850,39853,40251,40255,40587,40655,40670,40668,40669,40667,40766,40779,21474,22165,22190,22745,22744,23352,24413,25059,25139,25844,25842,25854,25862,25850,25851,25847,26039,26332,26406,27315,27308,27331,27323,27320,27330,27310,27311,27487,27512,27567,28681,28683,28670,28678,28666,28689,28687,29179,29180,29182,29176,29559,29557,29863,29887,29973,30294,30296,30290,30653,30655,30651,30652,30990,31150,31329,31330,31328,31428,31429,31787,31783,31786,31774,31779,31777,31975,32340,32341,32350,32346,32353,32338,32345,32584,32761,32763,32887,32886,33229,33231,33290,34255,34217,34253,34256,34249,34224,34234,34233,34214,34799,34796,34802,34784,35206,35250,35316,35624,35641,35628,35627,35920,36101,36441,36451,36454,36452,36447,36437,36544,36681,36685,36999,36995,37e3,37291,37292,37328,37780,37770,37782,37794,37811,37806,37804,37808,37784,37786,37783,38356,38358,38352,38357,38626,38620,38617,38619,38622,38692,38819,38822,38829,38905,38989,38991,38988,38990,38995,39098,39230,39231,39229,39214,39333,39438,39617,39683,39686,39759,39758,39757,39882,39881,39933,39880,39872,40273,40285,40288,40672,40725,40748,20787,22181,22750,22751,22754,23541,40848,24300,25074,25079,25078,25077,25856,25871,26336,26333,27365,27357,27354,27347,28699,28703,28712,28698,28701,28693,28696,29190,29197,29272,29346,29560,29562,29885,29898,29923,30087,30086,30303,30305,30663,31001,31153,31339,31337,31806,31807,31800,31805,31799,31808,32363,32365,32377,32361,32362,32645,32371,32694,32697,32696,33240,34281,34269,34282,34261,34276,34277,34295,34811,34821,34829,34809,34814,35168,35167,35158,35166,35649,35676,35672,35657,35674,35662,35663,35654,35673,36104,36106,36476,36466,36487,36470,36460,36474,36468,36692,36686,36781,37002,37003,37297,37294,37857,37841,37855,37827,37832,37852,37853,37846,37858,37837,37848,37860,37847,37864,38364,38580,38627,38698,38695,38753,38876,38907,39006,39e3,39003,39100,39237,39241,39446,39449,39693,39912,39911,39894,39899,40329,40289,40306,40298,40300,40594,40599,40595,40628,21240,22184,22199,22198,22196,22204,22756,23360,23363,23421,23542,24009,25080,25082,25880,25876,25881,26342,26407,27372,28734,28720,28722,29200,29563,29903,30306,30309,31014,31018,31020,31019,31431,31478,31820,31811,31821,31983,31984,36782,32381,32380,32386,32588,32768,33242,33382,34299,34297,34321,34298,34310,34315,34311,34314,34836,34837,35172,35258,35320,35696,35692,35686,35695,35679,35691,36111,36109,36489,36481,36485,36482,37300,37323,37912,37891,37885,38369,38704,39108,39250,39249,39336,39467,39472,39479,39477,39955,39949,40569,40629,40680,40751,40799,40803,40801,20791,20792,22209,22208,22210,22804,23660,24013,25084,25086,25885,25884,26005,26345,27387,27396,27386,27570,28748,29211,29351,29910,29908,30313,30675,31824,32399,32396,32700,34327,34349,34330,34851,34850,34849,34847,35178,35180,35261,35700,35703,35709,36115,36490,36493,36491,36703,36783,37306,37934,37939,37941,37946,37944,37938,37931,38370,38712,38713,38706,38911,39015,39013,39255,39493,39491,39488,39486,39631,39764,39761,39981,39973,40367,40372,40386,40376,40605,40687,40729,40796,40806,40807,20796,20795,22216,22218,22217,23423,24020,24018,24398,25087,25892,27402,27489,28753,28760,29568,29924,30090,30318,30316,31155,31840,31839,32894,32893,33247,35186,35183,35324,35712,36118,36119,36497,36499,36705,37192,37956,37969,37970,38717,38718,38851,38849,39019,39253,39509,39501,39634,39706,40009,39985,39998,39995,40403,40407,40756,40812,40810,40852,22220,24022,25088,25891,25899,25898,26348,27408,29914,31434,31844,31843,31845,32403,32406,32404,33250,34360,34367,34865,35722,37008,37007,37987,37984,37988,38760,39023,39260,39514,39515,39511,39635,39636,39633,40020,40023,40022,40421,40607,40692,22225,22761,25900,28766,30321,30322,30679,32592,32648,34870,34873,34914,35731,35730,35734,33399,36123,37312,37994,38722,38728,38724,38854,39024,39519,39714,39768,40031,40441,40442,40572,40573,40711,40823,40818,24307,27414,28771,31852,31854,34875,35264,36513,37313,38002,38e3,39025,39262,39638,39715,40652,28772,30682,35738,38007,38857,39522,39525,32412,35740,36522,37317,38013,38014,38012,40055,40056,40695,35924,38015,40474,29224,39530,39729,40475,40478,31858,9312,9313,9314,9315,9316,9317,9318,9319,9320,9321,9332,9333,9334,9335,9336,9337,9338,9339,9340,9341,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,20022,20031,20101,20128,20866,20886,20907,21241,21304,21353,21430,22794,23424,24027,12083,24191,24308,24400,24417,25908,26080,30098,30326,36789,38582,168,710,12541,12542,12445,12446,12291,20189,12293,12294,12295,12540,65339,65341,10045,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,12481,12482,12483,12484,12485,12486,12487,12488,12489,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,1040,1041,1042,1043,1044,1045,1025,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1105,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,8679,8632,8633,12751,131276,20058,131210,20994,17553,40880,20872,40881,161287,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,65506,65508,65287,65282,12849,8470,8481,12443,12444,11904,11908,11910,11911,11912,11914,11916,11917,11925,11932,11933,11941,11943,11946,11948,11950,11958,11964,11966,11974,11978,11980,11981,11983,11990,11991,11998,12003,null,null,null,643,592,603,596,629,339,248,331,650,618,20034,20060,20981,21274,21378,19975,19980,20039,20109,22231,64012,23662,24435,19983,20871,19982,20014,20115,20162,20169,20168,20888,21244,21356,21433,22304,22787,22828,23568,24063,26081,27571,27596,27668,29247,20017,20028,20200,20188,20201,20193,20189,20186,21004,21276,21324,22306,22307,22807,22831,23425,23428,23570,23611,23668,23667,24068,24192,24194,24521,25097,25168,27669,27702,27715,27711,27707,29358,29360,29578,31160,32906,38430,20238,20248,20268,20213,20244,20209,20224,20215,20232,20253,20226,20229,20258,20243,20228,20212,20242,20913,21011,21001,21008,21158,21282,21279,21325,21386,21511,22241,22239,22318,22314,22324,22844,22912,22908,22917,22907,22910,22903,22911,23382,23573,23589,23676,23674,23675,23678,24031,24181,24196,24322,24346,24436,24533,24532,24527,25180,25182,25188,25185,25190,25186,25177,25184,25178,25189,26095,26094,26430,26425,26424,26427,26426,26431,26428,26419,27672,27718,27730,27740,27727,27722,27732,27723,27724,28785,29278,29364,29365,29582,29994,30335,31349,32593,33400,33404,33408,33405,33407,34381,35198,37017,37015,37016,37019,37012,38434,38436,38432,38435,20310,20283,20322,20297,20307,20324,20286,20327,20306,20319,20289,20312,20269,20275,20287,20321,20879,20921,21020,21022,21025,21165,21166,21257,21347,21362,21390,21391,21552,21559,21546,21588,21573,21529,21532,21541,21528,21565,21583,21569,21544,21540,21575,22254,22247,22245,22337,22341,22348,22345,22347,22354,22790,22848,22950,22936,22944,22935,22926,22946,22928,22927,22951,22945,23438,23442,23592,23594,23693,23695,23688,23691,23689,23698,23690,23686,23699,23701,24032,24074,24078,24203,24201,24204,24200,24205,24325,24349,24440,24438,24530,24529,24528,24557,24552,24558,24563,24545,24548,24547,24570,24559,24567,24571,24576,24564,25146,25219,25228,25230,25231,25236,25223,25201,25211,25210,25200,25217,25224,25207,25213,25202,25204,25911,26096,26100,26099,26098,26101,26437,26439,26457,26453,26444,26440,26461,26445,26458,26443,27600,27673,27674,27768,27751,27755,27780,27787,27791,27761,27759,27753,27802,27757,27783,27797,27804,27750,27763,27749,27771,27790,28788,28794,29283,29375,29373,29379,29382,29377,29370,29381,29589,29591,29587,29588,29586,30010,30009,30100,30101,30337,31037,32820,32917,32921,32912,32914,32924,33424,33423,33413,33422,33425,33427,33418,33411,33412,35960,36809,36799,37023,37025,37029,37022,37031,37024,38448,38440,38447,38445,20019,20376,20348,20357,20349,20352,20359,20342,20340,20361,20356,20343,20300,20375,20330,20378,20345,20353,20344,20368,20380,20372,20382,20370,20354,20373,20331,20334,20894,20924,20926,21045,21042,21043,21062,21041,21180,21258,21259,21308,21394,21396,21639,21631,21633,21649,21634,21640,21611,21626,21630,21605,21612,21620,21606,21645,21615,21601,21600,21656,21603,21607,21604,22263,22265,22383,22386,22381,22379,22385,22384,22390,22400,22389,22395,22387,22388,22370,22376,22397,22796,22853,22965,22970,22991,22990,22962,22988,22977,22966,22972,22979,22998,22961,22973,22976,22984,22964,22983,23394,23397,23443,23445,23620,23623,23726,23716,23712,23733,23727,23720,23724,23711,23715,23725,23714,23722,23719,23709,23717,23734,23728,23718,24087,24084,24089,24360,24354,24355,24356,24404,24450,24446,24445,24542,24549,24621,24614,24601,24626,24587,24628,24586,24599,24627,24602,24606,24620,24610,24589,24592,24622,24595,24593,24588,24585,24604,25108,25149,25261,25268,25297,25278,25258,25270,25290,25262,25267,25263,25275,25257,25264,25272,25917,26024,26043,26121,26108,26116,26130,26120,26107,26115,26123,26125,26117,26109,26129,26128,26358,26378,26501,26476,26510,26514,26486,26491,26520,26502,26500,26484,26509,26508,26490,26527,26513,26521,26499,26493,26497,26488,26489,26516,27429,27520,27518,27614,27677,27795,27884,27883,27886,27865,27830,27860,27821,27879,27831,27856,27842,27834,27843,27846,27885,27890,27858,27869,27828,27786,27805,27776,27870,27840,27952,27853,27847,27824,27897,27855,27881,27857,28820,28824,28805,28819,28806,28804,28817,28822,28802,28826,28803,29290,29398,29387,29400,29385,29404,29394,29396,29402,29388,29393,29604,29601,29613,29606,29602,29600,29612,29597,29917,29928,30015,30016,30014,30092,30104,30383,30451,30449,30448,30453,30712,30716,30713,30715,30714,30711,31042,31039,31173,31352,31355,31483,31861,31997,32821,32911,32942,32931,32952,32949,32941,33312,33440,33472,33451,33434,33432,33435,33461,33447,33454,33468,33438,33466,33460,33448,33441,33449,33474,33444,33475,33462,33442,34416,34415,34413,34414,35926,36818,36811,36819,36813,36822,36821,36823,37042,37044,37039,37043,37040,38457,38461,38460,38458,38467,20429,20421,20435,20402,20425,20427,20417,20436,20444,20441,20411,20403,20443,20423,20438,20410,20416,20409,20460,21060,21065,21184,21186,21309,21372,21399,21398,21401,21400,21690,21665,21677,21669,21711,21699,33549,21687,21678,21718,21686,21701,21702,21664,21616,21692,21666,21694,21618,21726,21680,22453,22430,22431,22436,22412,22423,22429,22427,22420,22424,22415,22425,22437,22426,22421,22772,22797,22867,23009,23006,23022,23040,23025,23005,23034,23037,23036,23030,23012,23026,23031,23003,23017,23027,23029,23008,23038,23028,23021,23464,23628,23760,23768,23756,23767,23755,23771,23774,23770,23753,23751,23754,23766,23763,23764,23759,23752,23750,23758,23775,23800,24057,24097,24098,24099,24096,24100,24240,24228,24226,24219,24227,24229,24327,24366,24406,24454,24631,24633,24660,24690,24670,24645,24659,24647,24649,24667,24652,24640,24642,24671,24612,24644,24664,24678,24686,25154,25155,25295,25357,25355,25333,25358,25347,25323,25337,25359,25356,25336,25334,25344,25363,25364,25338,25365,25339,25328,25921,25923,26026,26047,26166,26145,26162,26165,26140,26150,26146,26163,26155,26170,26141,26164,26169,26158,26383,26384,26561,26610,26568,26554,26588,26555,26616,26584,26560,26551,26565,26603,26596,26591,26549,26573,26547,26615,26614,26606,26595,26562,26553,26574,26599,26608,26546,26620,26566,26605,26572,26542,26598,26587,26618,26569,26570,26563,26602,26571,27432,27522,27524,27574,27606,27608,27616,27680,27681,27944,27956,27949,27935,27964,27967,27922,27914,27866,27955,27908,27929,27962,27930,27921,27904,27933,27970,27905,27928,27959,27907,27919,27968,27911,27936,27948,27912,27938,27913,27920,28855,28831,28862,28849,28848,28833,28852,28853,28841,29249,29257,29258,29292,29296,29299,29294,29386,29412,29416,29419,29407,29418,29414,29411,29573,29644,29634,29640,29637,29625,29622,29621,29620,29675,29631,29639,29630,29635,29638,29624,29643,29932,29934,29998,30023,30024,30119,30122,30329,30404,30472,30467,30468,30469,30474,30455,30459,30458,30695,30696,30726,30737,30738,30725,30736,30735,30734,30729,30723,30739,31050,31052,31051,31045,31044,31189,31181,31183,31190,31182,31360,31358,31441,31488,31489,31866,31864,31865,31871,31872,31873,32003,32008,32001,32600,32657,32653,32702,32775,32782,32783,32788,32823,32984,32967,32992,32977,32968,32962,32976,32965,32995,32985,32988,32970,32981,32969,32975,32983,32998,32973,33279,33313,33428,33497,33534,33529,33543,33512,33536,33493,33594,33515,33494,33524,33516,33505,33522,33525,33548,33531,33526,33520,33514,33508,33504,33530,33523,33517,34423,34420,34428,34419,34881,34894,34919,34922,34921,35283,35332,35335,36210,36835,36833,36846,36832,37105,37053,37055,37077,37061,37054,37063,37067,37064,37332,37331,38484,38479,38481,38483,38474,38478,20510,20485,20487,20499,20514,20528,20507,20469,20468,20531,20535,20524,20470,20471,20503,20508,20512,20519,20533,20527,20529,20494,20826,20884,20883,20938,20932,20933,20936,20942,21089,21082,21074,21086,21087,21077,21090,21197,21262,21406,21798,21730,21783,21778,21735,21747,21732,21786,21759,21764,21768,21739,21777,21765,21745,21770,21755,21751,21752,21728,21774,21763,21771,22273,22274,22476,22578,22485,22482,22458,22470,22461,22460,22456,22454,22463,22471,22480,22457,22465,22798,22858,23065,23062,23085,23086,23061,23055,23063,23050,23070,23091,23404,23463,23469,23468,23555,23638,23636,23788,23807,23790,23793,23799,23808,23801,24105,24104,24232,24238,24234,24236,24371,24368,24423,24669,24666,24679,24641,24738,24712,24704,24722,24705,24733,24707,24725,24731,24727,24711,24732,24718,25113,25158,25330,25360,25430,25388,25412,25413,25398,25411,25572,25401,25419,25418,25404,25385,25409,25396,25432,25428,25433,25389,25415,25395,25434,25425,25400,25431,25408,25416,25930,25926,26054,26051,26052,26050,26186,26207,26183,26193,26386,26387,26655,26650,26697,26674,26675,26683,26699,26703,26646,26673,26652,26677,26667,26669,26671,26702,26692,26676,26653,26642,26644,26662,26664,26670,26701,26682,26661,26656,27436,27439,27437,27441,27444,27501,32898,27528,27622,27620,27624,27619,27618,27623,27685,28026,28003,28004,28022,27917,28001,28050,27992,28002,28013,28015,28049,28045,28143,28031,28038,27998,28007,28e3,28055,28016,28028,27999,28034,28056,27951,28008,28043,28030,28032,28036,27926,28035,28027,28029,28021,28048,28892,28883,28881,28893,28875,32569,28898,28887,28882,28894,28896,28884,28877,28869,28870,28871,28890,28878,28897,29250,29304,29303,29302,29440,29434,29428,29438,29430,29427,29435,29441,29651,29657,29669,29654,29628,29671,29667,29673,29660,29650,29659,29652,29661,29658,29655,29656,29672,29918,29919,29940,29941,29985,30043,30047,30128,30145,30139,30148,30144,30143,30134,30138,30346,30409,30493,30491,30480,30483,30482,30499,30481,30485,30489,30490,30498,30503,30755,30764,30754,30773,30767,30760,30766,30763,30753,30761,30771,30762,30769,31060,31067,31055,31068,31059,31058,31057,31211,31212,31200,31214,31213,31210,31196,31198,31197,31366,31369,31365,31371,31372,31370,31367,31448,31504,31492,31507,31493,31503,31496,31498,31502,31497,31506,31876,31889,31882,31884,31880,31885,31877,32030,32029,32017,32014,32024,32022,32019,32031,32018,32015,32012,32604,32609,32606,32608,32605,32603,32662,32658,32707,32706,32704,32790,32830,32825,33018,33010,33017,33013,33025,33019,33024,33281,33327,33317,33587,33581,33604,33561,33617,33573,33622,33599,33601,33574,33564,33570,33602,33614,33563,33578,33544,33596,33613,33558,33572,33568,33591,33583,33577,33607,33605,33612,33619,33566,33580,33611,33575,33608,34387,34386,34466,34472,34454,34445,34449,34462,34439,34455,34438,34443,34458,34437,34469,34457,34465,34471,34453,34456,34446,34461,34448,34452,34883,34884,34925,34933,34934,34930,34944,34929,34943,34927,34947,34942,34932,34940,35346,35911,35927,35963,36004,36003,36214,36216,36277,36279,36278,36561,36563,36862,36853,36866,36863,36859,36868,36860,36854,37078,37088,37081,37082,37091,37087,37093,37080,37083,37079,37084,37092,37200,37198,37199,37333,37346,37338,38492,38495,38588,39139,39647,39727,20095,20592,20586,20577,20574,20576,20563,20555,20573,20594,20552,20557,20545,20571,20554,20578,20501,20549,20575,20585,20587,20579,20580,20550,20544,20590,20595,20567,20561,20944,21099,21101,21100,21102,21206,21203,21293,21404,21877,21878,21820,21837,21840,21812,21802,21841,21858,21814,21813,21808,21842,21829,21772,21810,21861,21838,21817,21832,21805,21819,21824,21835,22282,22279,22523,22548,22498,22518,22492,22516,22528,22509,22525,22536,22520,22539,22515,22479,22535,22510,22499,22514,22501,22508,22497,22542,22524,22544,22503,22529,22540,22513,22505,22512,22541,22532,22876,23136,23128,23125,23143,23134,23096,23093,23149,23120,23135,23141,23148,23123,23140,23127,23107,23133,23122,23108,23131,23112,23182,23102,23117,23097,23116,23152,23145,23111,23121,23126,23106,23132,23410,23406,23489,23488,23641,23838,23819,23837,23834,23840,23820,23848,23821,23846,23845,23823,23856,23826,23843,23839,23854,24126,24116,24241,24244,24249,24242,24243,24374,24376,24475,24470,24479,24714,24720,24710,24766,24752,24762,24787,24788,24783,24804,24793,24797,24776,24753,24795,24759,24778,24767,24771,24781,24768,25394,25445,25482,25474,25469,25533,25502,25517,25501,25495,25515,25486,25455,25479,25488,25454,25519,25461,25500,25453,25518,25468,25508,25403,25503,25464,25477,25473,25489,25485,25456,25939,26061,26213,26209,26203,26201,26204,26210,26392,26745,26759,26768,26780,26733,26734,26798,26795,26966,26735,26787,26796,26793,26741,26740,26802,26767,26743,26770,26748,26731,26738,26794,26752,26737,26750,26779,26774,26763,26784,26761,26788,26744,26747,26769,26764,26762,26749,27446,27443,27447,27448,27537,27535,27533,27534,27532,27690,28096,28075,28084,28083,28276,28076,28137,28130,28087,28150,28116,28160,28104,28128,28127,28118,28094,28133,28124,28125,28123,28148,28106,28093,28141,28144,28090,28117,28098,28111,28105,28112,28146,28115,28157,28119,28109,28131,28091,28922,28941,28919,28951,28916,28940,28912,28932,28915,28944,28924,28927,28934,28947,28928,28920,28918,28939,28930,28942,29310,29307,29308,29311,29469,29463,29447,29457,29464,29450,29448,29439,29455,29470,29576,29686,29688,29685,29700,29697,29693,29703,29696,29690,29692,29695,29708,29707,29684,29704,30052,30051,30158,30162,30159,30155,30156,30161,30160,30351,30345,30419,30521,30511,30509,30513,30514,30516,30515,30525,30501,30523,30517,30792,30802,30793,30797,30794,30796,30758,30789,30800,31076,31079,31081,31082,31075,31083,31073,31163,31226,31224,31222,31223,31375,31380,31376,31541,31559,31540,31525,31536,31522,31524,31539,31512,31530,31517,31537,31531,31533,31535,31538,31544,31514,31523,31892,31896,31894,31907,32053,32061,32056,32054,32058,32069,32044,32041,32065,32071,32062,32063,32074,32059,32040,32611,32661,32668,32669,32667,32714,32715,32717,32720,32721,32711,32719,32713,32799,32798,32795,32839,32835,32840,33048,33061,33049,33051,33069,33055,33068,33054,33057,33045,33063,33053,33058,33297,33336,33331,33338,33332,33330,33396,33680,33699,33704,33677,33658,33651,33700,33652,33679,33665,33685,33689,33653,33684,33705,33661,33667,33676,33693,33691,33706,33675,33662,33701,33711,33672,33687,33712,33663,33702,33671,33710,33654,33690,34393,34390,34495,34487,34498,34497,34501,34490,34480,34504,34489,34483,34488,34508,34484,34491,34492,34499,34493,34494,34898,34953,34965,34984,34978,34986,34970,34961,34977,34975,34968,34983,34969,34971,34967,34980,34988,34956,34963,34958,35202,35286,35289,35285,35376,35367,35372,35358,35897,35899,35932,35933,35965,36005,36221,36219,36217,36284,36290,36281,36287,36289,36568,36574,36573,36572,36567,36576,36577,36900,36875,36881,36892,36876,36897,37103,37098,37104,37108,37106,37107,37076,37099,37100,37097,37206,37208,37210,37203,37205,37356,37364,37361,37363,37368,37348,37369,37354,37355,37367,37352,37358,38266,38278,38280,38524,38509,38507,38513,38511,38591,38762,38916,39141,39319,20635,20629,20628,20638,20619,20643,20611,20620,20622,20637,20584,20636,20626,20610,20615,20831,20948,21266,21265,21412,21415,21905,21928,21925,21933,21879,22085,21922,21907,21896,21903,21941,21889,21923,21906,21924,21885,21900,21926,21887,21909,21921,21902,22284,22569,22583,22553,22558,22567,22563,22568,22517,22600,22565,22556,22555,22579,22591,22582,22574,22585,22584,22573,22572,22587,22881,23215,23188,23199,23162,23202,23198,23160,23206,23164,23205,23212,23189,23214,23095,23172,23178,23191,23171,23179,23209,23163,23165,23180,23196,23183,23187,23197,23530,23501,23499,23508,23505,23498,23502,23564,23600,23863,23875,23915,23873,23883,23871,23861,23889,23886,23893,23859,23866,23890,23869,23857,23897,23874,23865,23881,23864,23868,23858,23862,23872,23877,24132,24129,24408,24486,24485,24491,24777,24761,24780,24802,24782,24772,24852,24818,24842,24854,24837,24821,24851,24824,24828,24830,24769,24835,24856,24861,24848,24831,24836,24843,25162,25492,25521,25520,25550,25573,25576,25583,25539,25757,25587,25546,25568,25590,25557,25586,25589,25697,25567,25534,25565,25564,25540,25560,25555,25538,25543,25548,25547,25544,25584,25559,25561,25906,25959,25962,25956,25948,25960,25957,25996,26013,26014,26030,26064,26066,26236,26220,26235,26240,26225,26233,26218,26226,26369,26892,26835,26884,26844,26922,26860,26858,26865,26895,26838,26871,26859,26852,26870,26899,26896,26867,26849,26887,26828,26888,26992,26804,26897,26863,26822,26900,26872,26832,26877,26876,26856,26891,26890,26903,26830,26824,26845,26846,26854,26868,26833,26886,26836,26857,26901,26917,26823,27449,27451,27455,27452,27540,27543,27545,27541,27581,27632,27634,27635,27696,28156,28230,28231,28191,28233,28296,28220,28221,28229,28258,28203,28223,28225,28253,28275,28188,28211,28235,28224,28241,28219,28163,28206,28254,28264,28252,28257,28209,28200,28256,28273,28267,28217,28194,28208,28243,28261,28199,28280,28260,28279,28245,28281,28242,28262,28213,28214,28250,28960,28958,28975,28923,28974,28977,28963,28965,28962,28978,28959,28968,28986,28955,29259,29274,29320,29321,29318,29317,29323,29458,29451,29488,29474,29489,29491,29479,29490,29485,29478,29475,29493,29452,29742,29740,29744,29739,29718,29722,29729,29741,29745,29732,29731,29725,29737,29728,29746,29947,29999,30063,30060,30183,30170,30177,30182,30173,30175,30180,30167,30357,30354,30426,30534,30535,30532,30541,30533,30538,30542,30539,30540,30686,30700,30816,30820,30821,30812,30829,30833,30826,30830,30832,30825,30824,30814,30818,31092,31091,31090,31088,31234,31242,31235,31244,31236,31385,31462,31460,31562,31547,31556,31560,31564,31566,31552,31576,31557,31906,31902,31912,31905,32088,32111,32099,32083,32086,32103,32106,32079,32109,32092,32107,32082,32084,32105,32081,32095,32078,32574,32575,32613,32614,32674,32672,32673,32727,32849,32847,32848,33022,32980,33091,33098,33106,33103,33095,33085,33101,33082,33254,33262,33271,33272,33273,33284,33340,33341,33343,33397,33595,33743,33785,33827,33728,33768,33810,33767,33764,33788,33782,33808,33734,33736,33771,33763,33727,33793,33757,33765,33752,33791,33761,33739,33742,33750,33781,33737,33801,33807,33758,33809,33798,33730,33779,33749,33786,33735,33745,33770,33811,33731,33772,33774,33732,33787,33751,33762,33819,33755,33790,34520,34530,34534,34515,34531,34522,34538,34525,34539,34524,34540,34537,34519,34536,34513,34888,34902,34901,35002,35031,35001,35e3,35008,35006,34998,35004,34999,35005,34994,35073,35017,35221,35224,35223,35293,35290,35291,35406,35405,35385,35417,35392,35415,35416,35396,35397,35410,35400,35409,35402,35404,35407,35935,35969,35968,36026,36030,36016,36025,36021,36228,36224,36233,36312,36307,36301,36295,36310,36316,36303,36309,36313,36296,36311,36293,36591,36599,36602,36601,36582,36590,36581,36597,36583,36584,36598,36587,36593,36588,36596,36585,36909,36916,36911,37126,37164,37124,37119,37116,37128,37113,37115,37121,37120,37127,37125,37123,37217,37220,37215,37218,37216,37377,37386,37413,37379,37402,37414,37391,37388,37376,37394,37375,37373,37382,37380,37415,37378,37404,37412,37401,37399,37381,37398,38267,38285,38284,38288,38535,38526,38536,38537,38531,38528,38594,38600,38595,38641,38640,38764,38768,38766,38919,39081,39147,40166,40697,20099,20100,20150,20669,20671,20678,20654,20676,20682,20660,20680,20674,20656,20673,20666,20657,20683,20681,20662,20664,20951,21114,21112,21115,21116,21955,21979,21964,21968,21963,21962,21981,21952,21972,21956,21993,21951,21970,21901,21967,21973,21986,21974,21960,22002,21965,21977,21954,22292,22611,22632,22628,22607,22605,22601,22639,22613,22606,22621,22617,22629,22619,22589,22627,22641,22780,23239,23236,23243,23226,23224,23217,23221,23216,23231,23240,23227,23238,23223,23232,23242,23220,23222,23245,23225,23184,23510,23512,23513,23583,23603,23921,23907,23882,23909,23922,23916,23902,23912,23911,23906,24048,24143,24142,24138,24141,24139,24261,24268,24262,24267,24263,24384,24495,24493,24823,24905,24906,24875,24901,24886,24882,24878,24902,24879,24911,24873,24896,25120,37224,25123,25125,25124,25541,25585,25579,25616,25618,25609,25632,25636,25651,25667,25631,25621,25624,25657,25655,25634,25635,25612,25638,25648,25640,25665,25653,25647,25610,25626,25664,25637,25639,25611,25575,25627,25646,25633,25614,25967,26002,26067,26246,26252,26261,26256,26251,26250,26265,26260,26232,26400,26982,26975,26936,26958,26978,26993,26943,26949,26986,26937,26946,26967,26969,27002,26952,26953,26933,26988,26931,26941,26981,26864,27e3,26932,26985,26944,26991,26948,26998,26968,26945,26996,26956,26939,26955,26935,26972,26959,26961,26930,26962,26927,27003,26940,27462,27461,27459,27458,27464,27457,27547,64013,27643,27644,27641,27639,27640,28315,28374,28360,28303,28352,28319,28307,28308,28320,28337,28345,28358,28370,28349,28353,28318,28361,28343,28336,28365,28326,28367,28338,28350,28355,28380,28376,28313,28306,28302,28301,28324,28321,28351,28339,28368,28362,28311,28334,28323,28999,29012,29010,29027,29024,28993,29021,29026,29042,29048,29034,29025,28994,29016,28995,29003,29040,29023,29008,29011,28996,29005,29018,29263,29325,29324,29329,29328,29326,29500,29506,29499,29498,29504,29514,29513,29764,29770,29771,29778,29777,29783,29760,29775,29776,29774,29762,29766,29773,29780,29921,29951,29950,29949,29981,30073,30071,27011,30191,30223,30211,30199,30206,30204,30201,30200,30224,30203,30198,30189,30197,30205,30361,30389,30429,30549,30559,30560,30546,30550,30554,30569,30567,30548,30553,30573,30688,30855,30874,30868,30863,30852,30869,30853,30854,30881,30851,30841,30873,30848,30870,30843,31100,31106,31101,31097,31249,31256,31257,31250,31255,31253,31266,31251,31259,31248,31395,31394,31390,31467,31590,31588,31597,31604,31593,31602,31589,31603,31601,31600,31585,31608,31606,31587,31922,31924,31919,32136,32134,32128,32141,32127,32133,32122,32142,32123,32131,32124,32140,32148,32132,32125,32146,32621,32619,32615,32616,32620,32678,32677,32679,32731,32732,32801,33124,33120,33143,33116,33129,33115,33122,33138,26401,33118,33142,33127,33135,33092,33121,33309,33353,33348,33344,33346,33349,34033,33855,33878,33910,33913,33935,33933,33893,33873,33856,33926,33895,33840,33869,33917,33882,33881,33908,33907,33885,34055,33886,33847,33850,33844,33914,33859,33912,33842,33861,33833,33753,33867,33839,33858,33837,33887,33904,33849,33870,33868,33874,33903,33989,33934,33851,33863,33846,33843,33896,33918,33860,33835,33888,33876,33902,33872,34571,34564,34551,34572,34554,34518,34549,34637,34552,34574,34569,34561,34550,34573,34565,35030,35019,35021,35022,35038,35035,35034,35020,35024,35205,35227,35295,35301,35300,35297,35296,35298,35292,35302,35446,35462,35455,35425,35391,35447,35458,35460,35445,35459,35457,35444,35450,35900,35915,35914,35941,35940,35942,35974,35972,35973,36044,36200,36201,36241,36236,36238,36239,36237,36243,36244,36240,36242,36336,36320,36332,36337,36334,36304,36329,36323,36322,36327,36338,36331,36340,36614,36607,36609,36608,36613,36615,36616,36610,36619,36946,36927,36932,36937,36925,37136,37133,37135,37137,37142,37140,37131,37134,37230,37231,37448,37458,37424,37434,37478,37427,37477,37470,37507,37422,37450,37446,37485,37484,37455,37472,37479,37487,37430,37473,37488,37425,37460,37475,37456,37490,37454,37459,37452,37462,37426,38303,38300,38302,38299,38546,38547,38545,38551,38606,38650,38653,38648,38645,38771,38775,38776,38770,38927,38925,38926,39084,39158,39161,39343,39346,39344,39349,39597,39595,39771,40170,40173,40167,40576,40701,20710,20692,20695,20712,20723,20699,20714,20701,20708,20691,20716,20720,20719,20707,20704,20952,21120,21121,21225,21227,21296,21420,22055,22037,22028,22034,22012,22031,22044,22017,22035,22018,22010,22045,22020,22015,22009,22665,22652,22672,22680,22662,22657,22655,22644,22667,22650,22663,22673,22670,22646,22658,22664,22651,22676,22671,22782,22891,23260,23278,23269,23253,23274,23258,23277,23275,23283,23266,23264,23259,23276,23262,23261,23257,23272,23263,23415,23520,23523,23651,23938,23936,23933,23942,23930,23937,23927,23946,23945,23944,23934,23932,23949,23929,23935,24152,24153,24147,24280,24273,24279,24270,24284,24277,24281,24274,24276,24388,24387,24431,24502,24876,24872,24897,24926,24945,24947,24914,24915,24946,24940,24960,24948,24916,24954,24923,24933,24891,24938,24929,24918,25129,25127,25131,25643,25677,25691,25693,25716,25718,25714,25715,25725,25717,25702,25766,25678,25730,25694,25692,25675,25683,25696,25680,25727,25663,25708,25707,25689,25701,25719,25971,26016,26273,26272,26271,26373,26372,26402,27057,27062,27081,27040,27086,27030,27056,27052,27068,27025,27033,27022,27047,27021,27049,27070,27055,27071,27076,27069,27044,27092,27065,27082,27034,27087,27059,27027,27050,27041,27038,27097,27031,27024,27074,27061,27045,27078,27466,27469,27467,27550,27551,27552,27587,27588,27646,28366,28405,28401,28419,28453,28408,28471,28411,28462,28425,28494,28441,28442,28455,28440,28475,28434,28397,28426,28470,28531,28409,28398,28461,28480,28464,28476,28469,28395,28423,28430,28483,28421,28413,28406,28473,28444,28412,28474,28447,28429,28446,28424,28449,29063,29072,29065,29056,29061,29058,29071,29051,29062,29057,29079,29252,29267,29335,29333,29331,29507,29517,29521,29516,29794,29811,29809,29813,29810,29799,29806,29952,29954,29955,30077,30096,30230,30216,30220,30229,30225,30218,30228,30392,30593,30588,30597,30594,30574,30592,30575,30590,30595,30898,30890,30900,30893,30888,30846,30891,30878,30885,30880,30892,30882,30884,31128,31114,31115,31126,31125,31124,31123,31127,31112,31122,31120,31275,31306,31280,31279,31272,31270,31400,31403,31404,31470,31624,31644,31626,31633,31632,31638,31629,31628,31643,31630,31621,31640,21124,31641,31652,31618,31931,31935,31932,31930,32167,32183,32194,32163,32170,32193,32192,32197,32157,32206,32196,32198,32203,32204,32175,32185,32150,32188,32159,32166,32174,32169,32161,32201,32627,32738,32739,32741,32734,32804,32861,32860,33161,33158,33155,33159,33165,33164,33163,33301,33943,33956,33953,33951,33978,33998,33986,33964,33966,33963,33977,33972,33985,33997,33962,33946,33969,34e3,33949,33959,33979,33954,33940,33991,33996,33947,33961,33967,33960,34006,33944,33974,33999,33952,34007,34004,34002,34011,33968,33937,34401,34611,34595,34600,34667,34624,34606,34590,34593,34585,34587,34627,34604,34625,34622,34630,34592,34610,34602,34605,34620,34578,34618,34609,34613,34626,34598,34599,34616,34596,34586,34608,34577,35063,35047,35057,35058,35066,35070,35054,35068,35062,35067,35056,35052,35051,35229,35233,35231,35230,35305,35307,35304,35499,35481,35467,35474,35471,35478,35901,35944,35945,36053,36047,36055,36246,36361,36354,36351,36365,36349,36362,36355,36359,36358,36357,36350,36352,36356,36624,36625,36622,36621,37155,37148,37152,37154,37151,37149,37146,37156,37153,37147,37242,37234,37241,37235,37541,37540,37494,37531,37498,37536,37524,37546,37517,37542,37530,37547,37497,37527,37503,37539,37614,37518,37506,37525,37538,37501,37512,37537,37514,37510,37516,37529,37543,37502,37511,37545,37533,37515,37421,38558,38561,38655,38744,38781,38778,38782,38787,38784,38786,38779,38788,38785,38783,38862,38861,38934,39085,39086,39170,39168,39175,39325,39324,39363,39353,39355,39354,39362,39357,39367,39601,39651,39655,39742,39743,39776,39777,39775,40177,40178,40181,40615,20735,20739,20784,20728,20742,20743,20726,20734,20747,20748,20733,20746,21131,21132,21233,21231,22088,22082,22092,22069,22081,22090,22089,22086,22104,22106,22080,22067,22077,22060,22078,22072,22058,22074,22298,22699,22685,22705,22688,22691,22703,22700,22693,22689,22783,23295,23284,23293,23287,23286,23299,23288,23298,23289,23297,23303,23301,23311,23655,23961,23959,23967,23954,23970,23955,23957,23968,23964,23969,23962,23966,24169,24157,24160,24156,32243,24283,24286,24289,24393,24498,24971,24963,24953,25009,25008,24994,24969,24987,24979,25007,25005,24991,24978,25002,24993,24973,24934,25011,25133,25710,25712,25750,25760,25733,25751,25756,25743,25739,25738,25740,25763,25759,25704,25777,25752,25974,25978,25977,25979,26034,26035,26293,26288,26281,26290,26295,26282,26287,27136,27142,27159,27109,27128,27157,27121,27108,27168,27135,27116,27106,27163,27165,27134,27175,27122,27118,27156,27127,27111,27200,27144,27110,27131,27149,27132,27115,27145,27140,27160,27173,27151,27126,27174,27143,27124,27158,27473,27557,27555,27554,27558,27649,27648,27647,27650,28481,28454,28542,28551,28614,28562,28557,28553,28556,28514,28495,28549,28506,28566,28534,28524,28546,28501,28530,28498,28496,28503,28564,28563,28509,28416,28513,28523,28541,28519,28560,28499,28555,28521,28543,28565,28515,28535,28522,28539,29106,29103,29083,29104,29088,29082,29097,29109,29085,29093,29086,29092,29089,29098,29084,29095,29107,29336,29338,29528,29522,29534,29535,29536,29533,29531,29537,29530,29529,29538,29831,29833,29834,29830,29825,29821,29829,29832,29820,29817,29960,29959,30078,30245,30238,30233,30237,30236,30243,30234,30248,30235,30364,30365,30366,30363,30605,30607,30601,30600,30925,30907,30927,30924,30929,30926,30932,30920,30915,30916,30921,31130,31137,31136,31132,31138,31131,27510,31289,31410,31412,31411,31671,31691,31678,31660,31694,31663,31673,31690,31669,31941,31944,31948,31947,32247,32219,32234,32231,32215,32225,32259,32250,32230,32246,32241,32240,32238,32223,32630,32684,32688,32685,32749,32747,32746,32748,32742,32744,32868,32871,33187,33183,33182,33173,33186,33177,33175,33302,33359,33363,33362,33360,33358,33361,34084,34107,34063,34048,34089,34062,34057,34061,34079,34058,34087,34076,34043,34091,34042,34056,34060,34036,34090,34034,34069,34039,34027,34035,34044,34066,34026,34025,34070,34046,34088,34077,34094,34050,34045,34078,34038,34097,34086,34023,34024,34032,34031,34041,34072,34080,34096,34059,34073,34095,34402,34646,34659,34660,34679,34785,34675,34648,34644,34651,34642,34657,34650,34641,34654,34669,34666,34640,34638,34655,34653,34671,34668,34682,34670,34652,34661,34639,34683,34677,34658,34663,34665,34906,35077,35084,35092,35083,35095,35096,35097,35078,35094,35089,35086,35081,35234,35236,35235,35309,35312,35308,35535,35526,35512,35539,35537,35540,35541,35515,35543,35518,35520,35525,35544,35523,35514,35517,35545,35902,35917,35983,36069,36063,36057,36072,36058,36061,36071,36256,36252,36257,36251,36384,36387,36389,36388,36398,36373,36379,36374,36369,36377,36390,36391,36372,36370,36376,36371,36380,36375,36378,36652,36644,36632,36634,36640,36643,36630,36631,36979,36976,36975,36967,36971,37167,37163,37161,37162,37170,37158,37166,37253,37254,37258,37249,37250,37252,37248,37584,37571,37572,37568,37593,37558,37583,37617,37599,37592,37609,37591,37597,37580,37615,37570,37608,37578,37576,37582,37606,37581,37589,37577,37600,37598,37607,37585,37587,37557,37601,37574,37556,38268,38316,38315,38318,38320,38564,38562,38611,38661,38664,38658,38746,38794,38798,38792,38864,38863,38942,38941,38950,38953,38952,38944,38939,38951,39090,39176,39162,39185,39188,39190,39191,39189,39388,39373,39375,39379,39380,39374,39369,39382,39384,39371,39383,39372,39603,39660,39659,39667,39666,39665,39750,39747,39783,39796,39793,39782,39798,39797,39792,39784,39780,39788,40188,40186,40189,40191,40183,40199,40192,40185,40187,40200,40197,40196,40579,40659,40719,40720,20764,20755,20759,20762,20753,20958,21300,21473,22128,22112,22126,22131,22118,22115,22125,22130,22110,22135,22300,22299,22728,22717,22729,22719,22714,22722,22716,22726,23319,23321,23323,23329,23316,23315,23312,23318,23336,23322,23328,23326,23535,23980,23985,23977,23975,23989,23984,23982,23978,23976,23986,23981,23983,23988,24167,24168,24166,24175,24297,24295,24294,24296,24293,24395,24508,24989,25e3,24982,25029,25012,25030,25025,25036,25018,25023,25016,24972,25815,25814,25808,25807,25801,25789,25737,25795,25819,25843,25817,25907,25983,25980,26018,26312,26302,26304,26314,26315,26319,26301,26299,26298,26316,26403,27188,27238,27209,27239,27186,27240,27198,27229,27245,27254,27227,27217,27176,27226,27195,27199,27201,27242,27236,27216,27215,27220,27247,27241,27232,27196,27230,27222,27221,27213,27214,27206,27477,27476,27478,27559,27562,27563,27592,27591,27652,27651,27654,28589,28619,28579,28615,28604,28622,28616,28510,28612,28605,28574,28618,28584,28676,28581,28590,28602,28588,28586,28623,28607,28600,28578,28617,28587,28621,28591,28594,28592,29125,29122,29119,29112,29142,29120,29121,29131,29140,29130,29127,29135,29117,29144,29116,29126,29146,29147,29341,29342,29545,29542,29543,29548,29541,29547,29546,29823,29850,29856,29844,29842,29845,29857,29963,30080,30255,30253,30257,30269,30259,30268,30261,30258,30256,30395,30438,30618,30621,30625,30620,30619,30626,30627,30613,30617,30615,30941,30953,30949,30954,30942,30947,30939,30945,30946,30957,30943,30944,31140,31300,31304,31303,31414,31416,31413,31409,31415,31710,31715,31719,31709,31701,31717,31706,31720,31737,31700,31722,31714,31708,31723,31704,31711,31954,31956,31959,31952,31953,32274,32289,32279,32268,32287,32288,32275,32270,32284,32277,32282,32290,32267,32271,32278,32269,32276,32293,32292,32579,32635,32636,32634,32689,32751,32810,32809,32876,33201,33190,33198,33209,33205,33195,33200,33196,33204,33202,33207,33191,33266,33365,33366,33367,34134,34117,34155,34125,34131,34145,34136,34112,34118,34148,34113,34146,34116,34129,34119,34147,34110,34139,34161,34126,34158,34165,34133,34151,34144,34188,34150,34141,34132,34149,34156,34403,34405,34404,34715,34703,34711,34707,34706,34696,34689,34710,34712,34681,34695,34723,34693,34704,34705,34717,34692,34708,34716,34714,34697,35102,35110,35120,35117,35118,35111,35121,35106,35113,35107,35119,35116,35103,35313,35552,35554,35570,35572,35573,35549,35604,35556,35551,35568,35528,35550,35553,35560,35583,35567,35579,35985,35986,35984,36085,36078,36081,36080,36083,36204,36206,36261,36263,36403,36414,36408,36416,36421,36406,36412,36413,36417,36400,36415,36541,36662,36654,36661,36658,36665,36663,36660,36982,36985,36987,36998,37114,37171,37173,37174,37267,37264,37265,37261,37263,37671,37662,37640,37663,37638,37647,37754,37688,37692,37659,37667,37650,37633,37702,37677,37646,37645,37579,37661,37626,37669,37651,37625,37623,37684,37634,37668,37631,37673,37689,37685,37674,37652,37644,37643,37630,37641,37632,37627,37654,38332,38349,38334,38329,38330,38326,38335,38325,38333,38569,38612,38667,38674,38672,38809,38807,38804,38896,38904,38965,38959,38962,39204,39199,39207,39209,39326,39406,39404,39397,39396,39408,39395,39402,39401,39399,39609,39615,39604,39611,39670,39674,39673,39671,39731,39808,39813,39815,39804,39806,39803,39810,39827,39826,39824,39802,39829,39805,39816,40229,40215,40224,40222,40212,40233,40221,40216,40226,40208,40217,40223,40584,40582,40583,40622,40621,40661,40662,40698,40722,40765,20774,20773,20770,20772,20768,20777,21236,22163,22156,22157,22150,22148,22147,22142,22146,22143,22145,22742,22740,22735,22738,23341,23333,23346,23331,23340,23335,23334,23343,23342,23419,23537,23538,23991,24172,24170,24510,24507,25027,25013,25020,25063,25056,25061,25060,25064,25054,25839,25833,25827,25835,25828,25832,25985,25984,26038,26074,26322,27277,27286,27265,27301,27273,27295,27291,27297,27294,27271,27283,27278,27285,27267,27304,27300,27281,27263,27302,27290,27269,27276,27282,27483,27565,27657,28620,28585,28660,28628,28643,28636,28653,28647,28646,28638,28658,28637,28642,28648,29153,29169,29160,29170,29156,29168,29154,29555,29550,29551,29847,29874,29867,29840,29866,29869,29873,29861,29871,29968,29969,29970,29967,30084,30275,30280,30281,30279,30372,30441,30645,30635,30642,30647,30646,30644,30641,30632,30704,30963,30973,30978,30971,30972,30962,30981,30969,30974,30980,31147,31144,31324,31323,31318,31320,31316,31322,31422,31424,31425,31749,31759,31730,31744,31743,31739,31758,31732,31755,31731,31746,31753,31747,31745,31736,31741,31750,31728,31729,31760,31754,31976,32301,32316,32322,32307,38984,32312,32298,32329,32320,32327,32297,32332,32304,32315,32310,32324,32314,32581,32639,32638,32637,32756,32754,32812,33211,33220,33228,33226,33221,33223,33212,33257,33371,33370,33372,34179,34176,34191,34215,34197,34208,34187,34211,34171,34212,34202,34206,34167,34172,34185,34209,34170,34168,34135,34190,34198,34182,34189,34201,34205,34177,34210,34178,34184,34181,34169,34166,34200,34192,34207,34408,34750,34730,34733,34757,34736,34732,34745,34741,34748,34734,34761,34755,34754,34764,34743,34735,34756,34762,34740,34742,34751,34744,34749,34782,34738,35125,35123,35132,35134,35137,35154,35127,35138,35245,35247,35246,35314,35315,35614,35608,35606,35601,35589,35595,35618,35599,35602,35605,35591,35597,35592,35590,35612,35603,35610,35919,35952,35954,35953,35951,35989,35988,36089,36207,36430,36429,36435,36432,36428,36423,36675,36672,36997,36990,37176,37274,37282,37275,37273,37279,37281,37277,37280,37793,37763,37807,37732,37718,37703,37756,37720,37724,37750,37705,37712,37713,37728,37741,37775,37708,37738,37753,37719,37717,37714,37711,37745,37751,37755,37729,37726,37731,37735,37760,37710,37721,38343,38336,38345,38339,38341,38327,38574,38576,38572,38688,38687,38680,38685,38681,38810,38817,38812,38814,38813,38869,38868,38897,38977,38980,38986,38985,38981,38979,39205,39211,39212,39210,39219,39218,39215,39213,39217,39216,39320,39331,39329,39426,39418,39412,39415,39417,39416,39414,39419,39421,39422,39420,39427,39614,39678,39677,39681,39676,39752,39834,39848,39838,39835,39846,39841,39845,39844,39814,39842,39840,39855,40243,40257,40295,40246,40238,40239,40241,40248,40240,40261,40258,40259,40254,40247,40256,40253,32757,40237,40586,40585,40589,40624,40648,40666,40699,40703,40740,40739,40738,40788,40864,20785,20781,20782,22168,22172,22167,22170,22173,22169,22896,23356,23657,23658,24e3,24173,24174,25048,25055,25069,25070,25073,25066,25072,25067,25046,25065,25855,25860,25853,25848,25857,25859,25852,26004,26075,26330,26331,26328,27333,27321,27325,27361,27334,27322,27318,27319,27335,27316,27309,27486,27593,27659,28679,28684,28685,28673,28677,28692,28686,28671,28672,28667,28710,28668,28663,28682,29185,29183,29177,29187,29181,29558,29880,29888,29877,29889,29886,29878,29883,29890,29972,29971,30300,30308,30297,30288,30291,30295,30298,30374,30397,30444,30658,30650,30975,30988,30995,30996,30985,30992,30994,30993,31149,31148,31327,31772,31785,31769,31776,31775,31789,31773,31782,31784,31778,31781,31792,32348,32336,32342,32355,32344,32354,32351,32337,32352,32343,32339,32693,32691,32759,32760,32885,33233,33234,33232,33375,33374,34228,34246,34240,34243,34242,34227,34229,34237,34247,34244,34239,34251,34254,34248,34245,34225,34230,34258,34340,34232,34231,34238,34409,34791,34790,34786,34779,34795,34794,34789,34783,34803,34788,34772,34780,34771,34797,34776,34787,34724,34775,34777,34817,34804,34792,34781,35155,35147,35151,35148,35142,35152,35153,35145,35626,35623,35619,35635,35632,35637,35655,35631,35644,35646,35633,35621,35639,35622,35638,35630,35620,35643,35645,35642,35906,35957,35993,35992,35991,36094,36100,36098,36096,36444,36450,36448,36439,36438,36446,36453,36455,36443,36442,36449,36445,36457,36436,36678,36679,36680,36683,37160,37178,37179,37182,37288,37285,37287,37295,37290,37813,37772,37778,37815,37787,37789,37769,37799,37774,37802,37790,37798,37781,37768,37785,37791,37773,37809,37777,37810,37796,37800,37812,37795,37797,38354,38355,38353,38579,38615,38618,24002,38623,38616,38621,38691,38690,38693,38828,38830,38824,38827,38820,38826,38818,38821,38871,38873,38870,38872,38906,38992,38993,38994,39096,39233,39228,39226,39439,39435,39433,39437,39428,39441,39434,39429,39431,39430,39616,39644,39688,39684,39685,39721,39733,39754,39756,39755,39879,39878,39875,39871,39873,39861,39864,39891,39862,39876,39865,39869,40284,40275,40271,40266,40283,40267,40281,40278,40268,40279,40274,40276,40287,40280,40282,40590,40588,40671,40705,40704,40726,40741,40747,40746,40745,40744,40780,40789,20788,20789,21142,21239,21428,22187,22189,22182,22183,22186,22188,22746,22749,22747,22802,23357,23358,23359,24003,24176,24511,25083,25863,25872,25869,25865,25868,25870,25988,26078,26077,26334,27367,27360,27340,27345,27353,27339,27359,27356,27344,27371,27343,27341,27358,27488,27568,27660,28697,28711,28704,28694,28715,28705,28706,28707,28713,28695,28708,28700,28714,29196,29194,29191,29186,29189,29349,29350,29348,29347,29345,29899,29893,29879,29891,29974,30304,30665,30666,30660,30705,31005,31003,31009,31004,30999,31006,31152,31335,31336,31795,31804,31801,31788,31803,31980,31978,32374,32373,32376,32368,32375,32367,32378,32370,32372,32360,32587,32586,32643,32646,32695,32765,32766,32888,33239,33237,33380,33377,33379,34283,34289,34285,34265,34273,34280,34266,34263,34284,34290,34296,34264,34271,34275,34268,34257,34288,34278,34287,34270,34274,34816,34810,34819,34806,34807,34825,34828,34827,34822,34812,34824,34815,34826,34818,35170,35162,35163,35159,35169,35164,35160,35165,35161,35208,35255,35254,35318,35664,35656,35658,35648,35667,35670,35668,35659,35669,35665,35650,35666,35671,35907,35959,35958,35994,36102,36103,36105,36268,36266,36269,36267,36461,36472,36467,36458,36463,36475,36546,36690,36689,36687,36688,36691,36788,37184,37183,37296,37293,37854,37831,37839,37826,37850,37840,37881,37868,37836,37849,37801,37862,37834,37844,37870,37859,37845,37828,37838,37824,37842,37863,38269,38362,38363,38625,38697,38699,38700,38696,38694,38835,38839,38838,38877,38878,38879,39004,39001,39005,38999,39103,39101,39099,39102,39240,39239,39235,39334,39335,39450,39445,39461,39453,39460,39451,39458,39456,39463,39459,39454,39452,39444,39618,39691,39690,39694,39692,39735,39914,39915,39904,39902,39908,39910,39906,39920,39892,39895,39916,39900,39897,39909,39893,39905,39898,40311,40321,40330,40324,40328,40305,40320,40312,40326,40331,40332,40317,40299,40308,40309,40304,40297,40325,40307,40315,40322,40303,40313,40319,40327,40296,40596,40593,40640,40700,40749,40768,40769,40781,40790,40791,40792,21303,22194,22197,22195,22755,23365,24006,24007,24302,24303,24512,24513,25081,25879,25878,25877,25875,26079,26344,26339,26340,27379,27376,27370,27368,27385,27377,27374,27375,28732,28725,28719,28727,28724,28721,28738,28728,28735,28730,28729,28736,28731,28723,28737,29203,29204,29352,29565,29564,29882,30379,30378,30398,30445,30668,30670,30671,30669,30706,31013,31011,31015,31016,31012,31017,31154,31342,31340,31341,31479,31817,31816,31818,31815,31813,31982,32379,32382,32385,32384,32698,32767,32889,33243,33241,33291,33384,33385,34338,34303,34305,34302,34331,34304,34294,34308,34313,34309,34316,34301,34841,34832,34833,34839,34835,34838,35171,35174,35257,35319,35680,35690,35677,35688,35683,35685,35687,35693,36270,36486,36488,36484,36697,36694,36695,36693,36696,36698,37005,37187,37185,37303,37301,37298,37299,37899,37907,37883,37920,37903,37908,37886,37909,37904,37928,37913,37901,37877,37888,37879,37895,37902,37910,37906,37882,37897,37880,37898,37887,37884,37900,37878,37905,37894,38366,38368,38367,38702,38703,38841,38843,38909,38910,39008,39010,39011,39007,39105,39106,39248,39246,39257,39244,39243,39251,39474,39476,39473,39468,39466,39478,39465,39470,39480,39469,39623,39626,39622,39696,39698,39697,39947,39944,39927,39941,39954,39928,4e4,39943,39950,39942,39959,39956,39945,40351,40345,40356,40349,40338,40344,40336,40347,40352,40340,40348,40362,40343,40353,40346,40354,40360,40350,40355,40383,40361,40342,40358,40359,40601,40603,40602,40677,40676,40679,40678,40752,40750,40795,40800,40798,40797,40793,40849,20794,20793,21144,21143,22211,22205,22206,23368,23367,24011,24015,24305,25085,25883,27394,27388,27395,27384,27392,28739,28740,28746,28744,28745,28741,28742,29213,29210,29209,29566,29975,30314,30672,31021,31025,31023,31828,31827,31986,32394,32391,32392,32395,32390,32397,32589,32699,32816,33245,34328,34346,34342,34335,34339,34332,34329,34343,34350,34337,34336,34345,34334,34341,34857,34845,34843,34848,34852,34844,34859,34890,35181,35177,35182,35179,35322,35705,35704,35653,35706,35707,36112,36116,36271,36494,36492,36702,36699,36701,37190,37188,37189,37305,37951,37947,37942,37929,37949,37948,37936,37945,37930,37943,37932,37952,37937,38373,38372,38371,38709,38714,38847,38881,39012,39113,39110,39104,39256,39254,39481,39485,39494,39492,39490,39489,39482,39487,39629,39701,39703,39704,39702,39738,39762,39979,39965,39964,39980,39971,39976,39977,39972,39969,40375,40374,40380,40385,40391,40394,40399,40382,40389,40387,40379,40373,40398,40377,40378,40364,40392,40369,40365,40396,40371,40397,40370,40570,40604,40683,40686,40685,40731,40728,40730,40753,40782,40805,40804,40850,20153,22214,22213,22219,22897,23371,23372,24021,24017,24306,25889,25888,25894,25890,27403,27400,27401,27661,28757,28758,28759,28754,29214,29215,29353,29567,29912,29909,29913,29911,30317,30381,31029,31156,31344,31345,31831,31836,31833,31835,31834,31988,31985,32401,32591,32647,33246,33387,34356,34357,34355,34348,34354,34358,34860,34856,34854,34858,34853,35185,35263,35262,35323,35710,35716,35714,35718,35717,35711,36117,36501,36500,36506,36498,36496,36502,36503,36704,36706,37191,37964,37968,37962,37963,37967,37959,37957,37960,37961,37958,38719,38883,39018,39017,39115,39252,39259,39502,39507,39508,39500,39503,39496,39498,39497,39506,39504,39632,39705,39723,39739,39766,39765,40006,40008,39999,40004,39993,39987,40001,39996,39991,39988,39986,39997,39990,40411,40402,40414,40410,40395,40400,40412,40401,40415,40425,40409,40408,40406,40437,40405,40413,40630,40688,40757,40755,40754,40770,40811,40853,40866,20797,21145,22760,22759,22898,23373,24024,34863,24399,25089,25091,25092,25897,25893,26006,26347,27409,27410,27407,27594,28763,28762,29218,29570,29569,29571,30320,30676,31847,31846,32405,33388,34362,34368,34361,34364,34353,34363,34366,34864,34866,34862,34867,35190,35188,35187,35326,35724,35726,35723,35720,35909,36121,36504,36708,36707,37308,37986,37973,37981,37975,37982,38852,38853,38912,39510,39513,39710,39711,39712,40018,40024,40016,40010,40013,40011,40021,40025,40012,40014,40443,40439,40431,40419,40427,40440,40420,40438,40417,40430,40422,40434,40432,40418,40428,40436,40435,40424,40429,40642,40656,40690,40691,40710,40732,40760,40759,40758,40771,40783,40817,40816,40814,40815,22227,22221,23374,23661,25901,26349,26350,27411,28767,28769,28765,28768,29219,29915,29925,30677,31032,31159,31158,31850,32407,32649,33389,34371,34872,34871,34869,34891,35732,35733,36510,36511,36512,36509,37310,37309,37314,37995,37992,37993,38629,38726,38723,38727,38855,38885,39518,39637,39769,40035,40039,40038,40034,40030,40032,40450,40446,40455,40451,40454,40453,40448,40449,40457,40447,40445,40452,40608,40734,40774,40820,40821,40822,22228,25902,26040,27416,27417,27415,27418,28770,29222,29354,30680,30681,31033,31849,31851,31990,32410,32408,32411,32409,33248,33249,34374,34375,34376,35193,35194,35196,35195,35327,35736,35737,36517,36516,36515,37998,37997,37999,38001,38003,38729,39026,39263,40040,40046,40045,40459,40461,40464,40463,40466,40465,40609,40693,40713,40775,40824,40827,40826,40825,22302,28774,31855,34876,36274,36518,37315,38004,38008,38006,38005,39520,40052,40051,40049,40053,40468,40467,40694,40714,40868,28776,28773,31991,34410,34878,34877,34879,35742,35996,36521,36553,38731,39027,39028,39116,39265,39339,39524,39526,39527,39716,40469,40471,40776,25095,27422,29223,34380,36520,38018,38016,38017,39529,39528,39726,40473,29225,34379,35743,38019,40057,40631,30325,39531,40058,40477,28777,28778,40612,40830,40777,40856,30849,37561,35023,22715,24658,31911,23290,9556,9574,9559,9568,9580,9571,9562,9577,9565,9554,9572,9557,9566,9578,9569,9560,9575,9563,9555,9573,9558,9567,9579,9570,9561,9576,9564,9553,9552,9581,9582,9584,9583,65517,132423,37595,132575,147397,34124,17077,29679,20917,13897,149826,166372,37700,137691,33518,146632,30780,26436,25311,149811,166314,131744,158643,135941,20395,140525,20488,159017,162436,144896,150193,140563,20521,131966,24484,131968,131911,28379,132127,20605,20737,13434,20750,39020,14147,33814,149924,132231,20832,144308,20842,134143,139516,131813,140592,132494,143923,137603,23426,34685,132531,146585,20914,20920,40244,20937,20943,20945,15580,20947,150182,20915,20962,21314,20973,33741,26942,145197,24443,21003,21030,21052,21173,21079,21140,21177,21189,31765,34114,21216,34317,158483,21253,166622,21833,28377,147328,133460,147436,21299,21316,134114,27851,136998,26651,29653,24650,16042,14540,136936,29149,17570,21357,21364,165547,21374,21375,136598,136723,30694,21395,166555,21408,21419,21422,29607,153458,16217,29596,21441,21445,27721,20041,22526,21465,15019,134031,21472,147435,142755,21494,134263,21523,28793,21803,26199,27995,21613,158547,134516,21853,21647,21668,18342,136973,134877,15796,134477,166332,140952,21831,19693,21551,29719,21894,21929,22021,137431,147514,17746,148533,26291,135348,22071,26317,144010,26276,26285,22093,22095,30961,22257,38791,21502,22272,22255,22253,166758,13859,135759,22342,147877,27758,28811,22338,14001,158846,22502,136214,22531,136276,148323,22566,150517,22620,22698,13665,22752,22748,135740,22779,23551,22339,172368,148088,37843,13729,22815,26790,14019,28249,136766,23076,21843,136850,34053,22985,134478,158849,159018,137180,23001,137211,137138,159142,28017,137256,136917,23033,159301,23211,23139,14054,149929,23159,14088,23190,29797,23251,159649,140628,15749,137489,14130,136888,24195,21200,23414,25992,23420,162318,16388,18525,131588,23509,24928,137780,154060,132517,23539,23453,19728,23557,138052,23571,29646,23572,138405,158504,23625,18653,23685,23785,23791,23947,138745,138807,23824,23832,23878,138916,23738,24023,33532,14381,149761,139337,139635,33415,14390,15298,24110,27274,24181,24186,148668,134355,21414,20151,24272,21416,137073,24073,24308,164994,24313,24315,14496,24316,26686,37915,24333,131521,194708,15070,18606,135994,24378,157832,140240,24408,140401,24419,38845,159342,24434,37696,166454,24487,23990,15711,152144,139114,159992,140904,37334,131742,166441,24625,26245,137335,14691,15815,13881,22416,141236,31089,15936,24734,24740,24755,149890,149903,162387,29860,20705,23200,24932,33828,24898,194726,159442,24961,20980,132694,24967,23466,147383,141407,25043,166813,170333,25040,14642,141696,141505,24611,24924,25886,25483,131352,25285,137072,25301,142861,25452,149983,14871,25656,25592,136078,137212,25744,28554,142902,38932,147596,153373,25825,25829,38011,14950,25658,14935,25933,28438,150056,150051,25989,25965,25951,143486,26037,149824,19255,26065,16600,137257,26080,26083,24543,144384,26136,143863,143864,26180,143780,143781,26187,134773,26215,152038,26227,26228,138813,143921,165364,143816,152339,30661,141559,39332,26370,148380,150049,15147,27130,145346,26462,26471,26466,147917,168173,26583,17641,26658,28240,37436,26625,144358,159136,26717,144495,27105,27147,166623,26995,26819,144845,26881,26880,15666,14849,144956,15232,26540,26977,166474,17148,26934,27032,15265,132041,33635,20624,27129,144985,139562,27205,145155,27293,15347,26545,27336,168348,15373,27421,133411,24798,27445,27508,141261,28341,146139,132021,137560,14144,21537,146266,27617,147196,27612,27703,140427,149745,158545,27738,33318,27769,146876,17605,146877,147876,149772,149760,146633,14053,15595,134450,39811,143865,140433,32655,26679,159013,159137,159211,28054,27996,28284,28420,149887,147589,159346,34099,159604,20935,27804,28189,33838,166689,28207,146991,29779,147330,31180,28239,23185,143435,28664,14093,28573,146992,28410,136343,147517,17749,37872,28484,28508,15694,28532,168304,15675,28575,147780,28627,147601,147797,147513,147440,147380,147775,20959,147798,147799,147776,156125,28747,28798,28839,28801,28876,28885,28886,28895,16644,15848,29108,29078,148087,28971,28997,23176,29002,29038,23708,148325,29007,37730,148161,28972,148570,150055,150050,29114,166888,28861,29198,37954,29205,22801,37955,29220,37697,153093,29230,29248,149876,26813,29269,29271,15957,143428,26637,28477,29314,29482,29483,149539,165931,18669,165892,29480,29486,29647,29610,134202,158254,29641,29769,147938,136935,150052,26147,14021,149943,149901,150011,29687,29717,26883,150054,29753,132547,16087,29788,141485,29792,167602,29767,29668,29814,33721,29804,14128,29812,37873,27180,29826,18771,150156,147807,150137,166799,23366,166915,137374,29896,137608,29966,29929,29982,167641,137803,23511,167596,37765,30029,30026,30055,30062,151426,16132,150803,30094,29789,30110,30132,30210,30252,30289,30287,30319,30326,156661,30352,33263,14328,157969,157966,30369,30373,30391,30412,159647,33890,151709,151933,138780,30494,30502,30528,25775,152096,30552,144044,30639,166244,166248,136897,30708,30729,136054,150034,26826,30895,30919,30931,38565,31022,153056,30935,31028,30897,161292,36792,34948,166699,155779,140828,31110,35072,26882,31104,153687,31133,162617,31036,31145,28202,160038,16040,31174,168205,31188],"euc-kr":[44034,44035,44037,44038,44043,44044,44045,44046,44047,44056,44062,44063,44065,44066,44067,44069,44070,44071,44072,44073,44074,44075,44078,44082,44083,44084,null,null,null,null,null,null,44085,44086,44087,44090,44091,44093,44094,44095,44097,44098,44099,44100,44101,44102,44103,44104,44105,44106,44108,44110,44111,44112,44113,44114,44115,44117,null,null,null,null,null,null,44118,44119,44121,44122,44123,44125,44126,44127,44128,44129,44130,44131,44132,44133,44134,44135,44136,44137,44138,44139,44140,44141,44142,44143,44146,44147,44149,44150,44153,44155,44156,44157,44158,44159,44162,44167,44168,44173,44174,44175,44177,44178,44179,44181,44182,44183,44184,44185,44186,44187,44190,44194,44195,44196,44197,44198,44199,44203,44205,44206,44209,44210,44211,44212,44213,44214,44215,44218,44222,44223,44224,44226,44227,44229,44230,44231,44233,44234,44235,44237,44238,44239,44240,44241,44242,44243,44244,44246,44248,44249,44250,44251,44252,44253,44254,44255,44258,44259,44261,44262,44265,44267,44269,44270,44274,44276,44279,44280,44281,44282,44283,44286,44287,44289,44290,44291,44293,44295,44296,44297,44298,44299,44302,44304,44306,44307,44308,44309,44310,44311,44313,44314,44315,44317,44318,44319,44321,44322,44323,44324,44325,44326,44327,44328,44330,44331,44334,44335,44336,44337,44338,44339,null,null,null,null,null,null,44342,44343,44345,44346,44347,44349,44350,44351,44352,44353,44354,44355,44358,44360,44362,44363,44364,44365,44366,44367,44369,44370,44371,44373,44374,44375,null,null,null,null,null,null,44377,44378,44379,44380,44381,44382,44383,44384,44386,44388,44389,44390,44391,44392,44393,44394,44395,44398,44399,44401,44402,44407,44408,44409,44410,44414,44416,44419,44420,44421,44422,44423,44426,44427,44429,44430,44431,44433,44434,44435,44436,44437,44438,44439,44440,44441,44442,44443,44446,44447,44448,44449,44450,44451,44453,44454,44455,44456,44457,44458,44459,44460,44461,44462,44463,44464,44465,44466,44467,44468,44469,44470,44472,44473,44474,44475,44476,44477,44478,44479,44482,44483,44485,44486,44487,44489,44490,44491,44492,44493,44494,44495,44498,44500,44501,44502,44503,44504,44505,44506,44507,44509,44510,44511,44513,44514,44515,44517,44518,44519,44520,44521,44522,44523,44524,44525,44526,44527,44528,44529,44530,44531,44532,44533,44534,44535,44538,44539,44541,44542,44546,44547,44548,44549,44550,44551,44554,44556,44558,44559,44560,44561,44562,44563,44565,44566,44567,44568,44569,44570,44571,44572,null,null,null,null,null,null,44573,44574,44575,44576,44577,44578,44579,44580,44581,44582,44583,44584,44585,44586,44587,44588,44589,44590,44591,44594,44595,44597,44598,44601,44603,44604,null,null,null,null,null,null,44605,44606,44607,44610,44612,44615,44616,44617,44619,44623,44625,44626,44627,44629,44631,44632,44633,44634,44635,44638,44642,44643,44644,44646,44647,44650,44651,44653,44654,44655,44657,44658,44659,44660,44661,44662,44663,44666,44670,44671,44672,44673,44674,44675,44678,44679,44680,44681,44682,44683,44685,44686,44687,44688,44689,44690,44691,44692,44693,44694,44695,44696,44697,44698,44699,44700,44701,44702,44703,44704,44705,44706,44707,44708,44709,44710,44711,44712,44713,44714,44715,44716,44717,44718,44719,44720,44721,44722,44723,44724,44725,44726,44727,44728,44729,44730,44731,44735,44737,44738,44739,44741,44742,44743,44744,44745,44746,44747,44750,44754,44755,44756,44757,44758,44759,44762,44763,44765,44766,44767,44768,44769,44770,44771,44772,44773,44774,44775,44777,44778,44780,44782,44783,44784,44785,44786,44787,44789,44790,44791,44793,44794,44795,44797,44798,44799,44800,44801,44802,44803,44804,44805,null,null,null,null,null,null,44806,44809,44810,44811,44812,44814,44815,44817,44818,44819,44820,44821,44822,44823,44824,44825,44826,44827,44828,44829,44830,44831,44832,44833,44834,44835,null,null,null,null,null,null,44836,44837,44838,44839,44840,44841,44842,44843,44846,44847,44849,44851,44853,44854,44855,44856,44857,44858,44859,44862,44864,44868,44869,44870,44871,44874,44875,44876,44877,44878,44879,44881,44882,44883,44884,44885,44886,44887,44888,44889,44890,44891,44894,44895,44896,44897,44898,44899,44902,44903,44904,44905,44906,44907,44908,44909,44910,44911,44912,44913,44914,44915,44916,44917,44918,44919,44920,44922,44923,44924,44925,44926,44927,44929,44930,44931,44933,44934,44935,44937,44938,44939,44940,44941,44942,44943,44946,44947,44948,44950,44951,44952,44953,44954,44955,44957,44958,44959,44960,44961,44962,44963,44964,44965,44966,44967,44968,44969,44970,44971,44972,44973,44974,44975,44976,44977,44978,44979,44980,44981,44982,44983,44986,44987,44989,44990,44991,44993,44994,44995,44996,44997,44998,45002,45004,45007,45008,45009,45010,45011,45013,45014,45015,45016,45017,45018,45019,45021,45022,45023,45024,45025,null,null,null,null,null,null,45026,45027,45028,45029,45030,45031,45034,45035,45036,45037,45038,45039,45042,45043,45045,45046,45047,45049,45050,45051,45052,45053,45054,45055,45058,45059,null,null,null,null,null,null,45061,45062,45063,45064,45065,45066,45067,45069,45070,45071,45073,45074,45075,45077,45078,45079,45080,45081,45082,45083,45086,45087,45088,45089,45090,45091,45092,45093,45094,45095,45097,45098,45099,45100,45101,45102,45103,45104,45105,45106,45107,45108,45109,45110,45111,45112,45113,45114,45115,45116,45117,45118,45119,45120,45121,45122,45123,45126,45127,45129,45131,45133,45135,45136,45137,45138,45142,45144,45146,45147,45148,45150,45151,45152,45153,45154,45155,45156,45157,45158,45159,45160,45161,45162,45163,45164,45165,45166,45167,45168,45169,45170,45171,45172,45173,45174,45175,45176,45177,45178,45179,45182,45183,45185,45186,45187,45189,45190,45191,45192,45193,45194,45195,45198,45200,45202,45203,45204,45205,45206,45207,45211,45213,45214,45219,45220,45221,45222,45223,45226,45232,45234,45238,45239,45241,45242,45243,45245,45246,45247,45248,45249,45250,45251,45254,45258,45259,45260,45261,45262,45263,45266,null,null,null,null,null,null,45267,45269,45270,45271,45273,45274,45275,45276,45277,45278,45279,45281,45282,45283,45284,45286,45287,45288,45289,45290,45291,45292,45293,45294,45295,45296,null,null,null,null,null,null,45297,45298,45299,45300,45301,45302,45303,45304,45305,45306,45307,45308,45309,45310,45311,45312,45313,45314,45315,45316,45317,45318,45319,45322,45325,45326,45327,45329,45332,45333,45334,45335,45338,45342,45343,45344,45345,45346,45350,45351,45353,45354,45355,45357,45358,45359,45360,45361,45362,45363,45366,45370,45371,45372,45373,45374,45375,45378,45379,45381,45382,45383,45385,45386,45387,45388,45389,45390,45391,45394,45395,45398,45399,45401,45402,45403,45405,45406,45407,45409,45410,45411,45412,45413,45414,45415,45416,45417,45418,45419,45420,45421,45422,45423,45424,45425,45426,45427,45428,45429,45430,45431,45434,45435,45437,45438,45439,45441,45443,45444,45445,45446,45447,45450,45452,45454,45455,45456,45457,45461,45462,45463,45465,45466,45467,45469,45470,45471,45472,45473,45474,45475,45476,45477,45478,45479,45481,45482,45483,45484,45485,45486,45487,45488,45489,45490,45491,45492,45493,45494,45495,45496,null,null,null,null,null,null,45497,45498,45499,45500,45501,45502,45503,45504,45505,45506,45507,45508,45509,45510,45511,45512,45513,45514,45515,45517,45518,45519,45521,45522,45523,45525,null,null,null,null,null,null,45526,45527,45528,45529,45530,45531,45534,45536,45537,45538,45539,45540,45541,45542,45543,45546,45547,45549,45550,45551,45553,45554,45555,45556,45557,45558,45559,45560,45562,45564,45566,45567,45568,45569,45570,45571,45574,45575,45577,45578,45581,45582,45583,45584,45585,45586,45587,45590,45592,45594,45595,45596,45597,45598,45599,45601,45602,45603,45604,45605,45606,45607,45608,45609,45610,45611,45612,45613,45614,45615,45616,45617,45618,45619,45621,45622,45623,45624,45625,45626,45627,45629,45630,45631,45632,45633,45634,45635,45636,45637,45638,45639,45640,45641,45642,45643,45644,45645,45646,45647,45648,45649,45650,45651,45652,45653,45654,45655,45657,45658,45659,45661,45662,45663,45665,45666,45667,45668,45669,45670,45671,45674,45675,45676,45677,45678,45679,45680,45681,45682,45683,45686,45687,45688,45689,45690,45691,45693,45694,45695,45696,45697,45698,45699,45702,45703,45704,45706,45707,45708,45709,45710,null,null,null,null,null,null,45711,45714,45715,45717,45718,45719,45723,45724,45725,45726,45727,45730,45732,45735,45736,45737,45739,45741,45742,45743,45745,45746,45747,45749,45750,45751,null,null,null,null,null,null,45752,45753,45754,45755,45756,45757,45758,45759,45760,45761,45762,45763,45764,45765,45766,45767,45770,45771,45773,45774,45775,45777,45779,45780,45781,45782,45783,45786,45788,45790,45791,45792,45793,45795,45799,45801,45802,45808,45809,45810,45814,45820,45821,45822,45826,45827,45829,45830,45831,45833,45834,45835,45836,45837,45838,45839,45842,45846,45847,45848,45849,45850,45851,45853,45854,45855,45856,45857,45858,45859,45860,45861,45862,45863,45864,45865,45866,45867,45868,45869,45870,45871,45872,45873,45874,45875,45876,45877,45878,45879,45880,45881,45882,45883,45884,45885,45886,45887,45888,45889,45890,45891,45892,45893,45894,45895,45896,45897,45898,45899,45900,45901,45902,45903,45904,45905,45906,45907,45911,45913,45914,45917,45920,45921,45922,45923,45926,45928,45930,45932,45933,45935,45938,45939,45941,45942,45943,45945,45946,45947,45948,45949,45950,45951,45954,45958,45959,45960,45961,45962,45963,45965,null,null,null,null,null,null,45966,45967,45969,45970,45971,45973,45974,45975,45976,45977,45978,45979,45980,45981,45982,45983,45986,45987,45988,45989,45990,45991,45993,45994,45995,45997,null,null,null,null,null,null,45998,45999,46e3,46001,46002,46003,46004,46005,46006,46007,46008,46009,46010,46011,46012,46013,46014,46015,46016,46017,46018,46019,46022,46023,46025,46026,46029,46031,46033,46034,46035,46038,46040,46042,46044,46046,46047,46049,46050,46051,46053,46054,46055,46057,46058,46059,46060,46061,46062,46063,46064,46065,46066,46067,46068,46069,46070,46071,46072,46073,46074,46075,46077,46078,46079,46080,46081,46082,46083,46084,46085,46086,46087,46088,46089,46090,46091,46092,46093,46094,46095,46097,46098,46099,46100,46101,46102,46103,46105,46106,46107,46109,46110,46111,46113,46114,46115,46116,46117,46118,46119,46122,46124,46125,46126,46127,46128,46129,46130,46131,46133,46134,46135,46136,46137,46138,46139,46140,46141,46142,46143,46144,46145,46146,46147,46148,46149,46150,46151,46152,46153,46154,46155,46156,46157,46158,46159,46162,46163,46165,46166,46167,46169,46170,46171,46172,46173,46174,46175,46178,46180,46182,null,null,null,null,null,null,46183,46184,46185,46186,46187,46189,46190,46191,46192,46193,46194,46195,46196,46197,46198,46199,46200,46201,46202,46203,46204,46205,46206,46207,46209,46210,null,null,null,null,null,null,46211,46212,46213,46214,46215,46217,46218,46219,46220,46221,46222,46223,46224,46225,46226,46227,46228,46229,46230,46231,46232,46233,46234,46235,46236,46238,46239,46240,46241,46242,46243,46245,46246,46247,46249,46250,46251,46253,46254,46255,46256,46257,46258,46259,46260,46262,46264,46266,46267,46268,46269,46270,46271,46273,46274,46275,46277,46278,46279,46281,46282,46283,46284,46285,46286,46287,46289,46290,46291,46292,46294,46295,46296,46297,46298,46299,46302,46303,46305,46306,46309,46311,46312,46313,46314,46315,46318,46320,46322,46323,46324,46325,46326,46327,46329,46330,46331,46332,46333,46334,46335,46336,46337,46338,46339,46340,46341,46342,46343,46344,46345,46346,46347,46348,46349,46350,46351,46352,46353,46354,46355,46358,46359,46361,46362,46365,46366,46367,46368,46369,46370,46371,46374,46379,46380,46381,46382,46383,46386,46387,46389,46390,46391,46393,46394,46395,46396,46397,46398,46399,46402,46406,null,null,null,null,null,null,46407,46408,46409,46410,46414,46415,46417,46418,46419,46421,46422,46423,46424,46425,46426,46427,46430,46434,46435,46436,46437,46438,46439,46440,46441,46442,null,null,null,null,null,null,46443,46444,46445,46446,46447,46448,46449,46450,46451,46452,46453,46454,46455,46456,46457,46458,46459,46460,46461,46462,46463,46464,46465,46466,46467,46468,46469,46470,46471,46472,46473,46474,46475,46476,46477,46478,46479,46480,46481,46482,46483,46484,46485,46486,46487,46488,46489,46490,46491,46492,46493,46494,46495,46498,46499,46501,46502,46503,46505,46508,46509,46510,46511,46514,46518,46519,46520,46521,46522,46526,46527,46529,46530,46531,46533,46534,46535,46536,46537,46538,46539,46542,46546,46547,46548,46549,46550,46551,46553,46554,46555,46556,46557,46558,46559,46560,46561,46562,46563,46564,46565,46566,46567,46568,46569,46570,46571,46573,46574,46575,46576,46577,46578,46579,46580,46581,46582,46583,46584,46585,46586,46587,46588,46589,46590,46591,46592,46593,46594,46595,46596,46597,46598,46599,46600,46601,46602,46603,46604,46605,46606,46607,46610,46611,46613,46614,46615,46617,46618,46619,46620,46621,null,null,null,null,null,null,46622,46623,46624,46625,46626,46627,46628,46630,46631,46632,46633,46634,46635,46637,46638,46639,46640,46641,46642,46643,46645,46646,46647,46648,46649,46650,null,null,null,null,null,null,46651,46652,46653,46654,46655,46656,46657,46658,46659,46660,46661,46662,46663,46665,46666,46667,46668,46669,46670,46671,46672,46673,46674,46675,46676,46677,46678,46679,46680,46681,46682,46683,46684,46685,46686,46687,46688,46689,46690,46691,46693,46694,46695,46697,46698,46699,46700,46701,46702,46703,46704,46705,46706,46707,46708,46709,46710,46711,46712,46713,46714,46715,46716,46717,46718,46719,46720,46721,46722,46723,46724,46725,46726,46727,46728,46729,46730,46731,46732,46733,46734,46735,46736,46737,46738,46739,46740,46741,46742,46743,46744,46745,46746,46747,46750,46751,46753,46754,46755,46757,46758,46759,46760,46761,46762,46765,46766,46767,46768,46770,46771,46772,46773,46774,46775,46776,46777,46778,46779,46780,46781,46782,46783,46784,46785,46786,46787,46788,46789,46790,46791,46792,46793,46794,46795,46796,46797,46798,46799,46800,46801,46802,46803,46805,46806,46807,46808,46809,46810,46811,46812,46813,null,null,null,null,null,null,46814,46815,46816,46817,46818,46819,46820,46821,46822,46823,46824,46825,46826,46827,46828,46829,46830,46831,46833,46834,46835,46837,46838,46839,46841,46842,null,null,null,null,null,null,46843,46844,46845,46846,46847,46850,46851,46852,46854,46855,46856,46857,46858,46859,46860,46861,46862,46863,46864,46865,46866,46867,46868,46869,46870,46871,46872,46873,46874,46875,46876,46877,46878,46879,46880,46881,46882,46883,46884,46885,46886,46887,46890,46891,46893,46894,46897,46898,46899,46900,46901,46902,46903,46906,46908,46909,46910,46911,46912,46913,46914,46915,46917,46918,46919,46921,46922,46923,46925,46926,46927,46928,46929,46930,46931,46934,46935,46936,46937,46938,46939,46940,46941,46942,46943,46945,46946,46947,46949,46950,46951,46953,46954,46955,46956,46957,46958,46959,46962,46964,46966,46967,46968,46969,46970,46971,46974,46975,46977,46978,46979,46981,46982,46983,46984,46985,46986,46987,46990,46995,46996,46997,47002,47003,47005,47006,47007,47009,47010,47011,47012,47013,47014,47015,47018,47022,47023,47024,47025,47026,47027,47030,47031,47033,47034,47035,47036,47037,47038,47039,47040,47041,null,null,null,null,null,null,47042,47043,47044,47045,47046,47048,47050,47051,47052,47053,47054,47055,47056,47057,47058,47059,47060,47061,47062,47063,47064,47065,47066,47067,47068,47069,null,null,null,null,null,null,47070,47071,47072,47073,47074,47075,47076,47077,47078,47079,47080,47081,47082,47083,47086,47087,47089,47090,47091,47093,47094,47095,47096,47097,47098,47099,47102,47106,47107,47108,47109,47110,47114,47115,47117,47118,47119,47121,47122,47123,47124,47125,47126,47127,47130,47132,47134,47135,47136,47137,47138,47139,47142,47143,47145,47146,47147,47149,47150,47151,47152,47153,47154,47155,47158,47162,47163,47164,47165,47166,47167,47169,47170,47171,47173,47174,47175,47176,47177,47178,47179,47180,47181,47182,47183,47184,47186,47188,47189,47190,47191,47192,47193,47194,47195,47198,47199,47201,47202,47203,47205,47206,47207,47208,47209,47210,47211,47214,47216,47218,47219,47220,47221,47222,47223,47225,47226,47227,47229,47230,47231,47232,47233,47234,47235,47236,47237,47238,47239,47240,47241,47242,47243,47244,47246,47247,47248,47249,47250,47251,47252,47253,47254,47255,47256,47257,47258,47259,47260,47261,47262,47263,null,null,null,null,null,null,47264,47265,47266,47267,47268,47269,47270,47271,47273,47274,47275,47276,47277,47278,47279,47281,47282,47283,47285,47286,47287,47289,47290,47291,47292,47293,null,null,null,null,null,null,47294,47295,47298,47300,47302,47303,47304,47305,47306,47307,47309,47310,47311,47313,47314,47315,47317,47318,47319,47320,47321,47322,47323,47324,47326,47328,47330,47331,47332,47333,47334,47335,47338,47339,47341,47342,47343,47345,47346,47347,47348,47349,47350,47351,47354,47356,47358,47359,47360,47361,47362,47363,47365,47366,47367,47368,47369,47370,47371,47372,47373,47374,47375,47376,47377,47378,47379,47380,47381,47382,47383,47385,47386,47387,47388,47389,47390,47391,47393,47394,47395,47396,47397,47398,47399,47400,47401,47402,47403,47404,47405,47406,47407,47408,47409,47410,47411,47412,47413,47414,47415,47416,47417,47418,47419,47422,47423,47425,47426,47427,47429,47430,47431,47432,47433,47434,47435,47437,47438,47440,47442,47443,47444,47445,47446,47447,47450,47451,47453,47454,47455,47457,47458,47459,47460,47461,47462,47463,47466,47468,47470,47471,47472,47473,47474,47475,47478,47479,47481,47482,47483,47485,null,null,null,null,null,null,47486,47487,47488,47489,47490,47491,47494,47496,47499,47500,47503,47504,47505,47506,47507,47508,47509,47510,47511,47512,47513,47514,47515,47516,47517,47518,null,null,null,null,null,null,47519,47520,47521,47522,47523,47524,47525,47526,47527,47528,47529,47530,47531,47534,47535,47537,47538,47539,47541,47542,47543,47544,47545,47546,47547,47550,47552,47554,47555,47556,47557,47558,47559,47562,47563,47565,47571,47572,47573,47574,47575,47578,47580,47583,47584,47586,47590,47591,47593,47594,47595,47597,47598,47599,47600,47601,47602,47603,47606,47611,47612,47613,47614,47615,47618,47619,47620,47621,47622,47623,47625,47626,47627,47628,47629,47630,47631,47632,47633,47634,47635,47636,47638,47639,47640,47641,47642,47643,47644,47645,47646,47647,47648,47649,47650,47651,47652,47653,47654,47655,47656,47657,47658,47659,47660,47661,47662,47663,47664,47665,47666,47667,47668,47669,47670,47671,47674,47675,47677,47678,47679,47681,47683,47684,47685,47686,47687,47690,47692,47695,47696,47697,47698,47702,47703,47705,47706,47707,47709,47710,47711,47712,47713,47714,47715,47718,47722,47723,47724,47725,47726,47727,null,null,null,null,null,null,47730,47731,47733,47734,47735,47737,47738,47739,47740,47741,47742,47743,47744,47745,47746,47750,47752,47753,47754,47755,47757,47758,47759,47760,47761,47762,null,null,null,null,null,null,47763,47764,47765,47766,47767,47768,47769,47770,47771,47772,47773,47774,47775,47776,47777,47778,47779,47780,47781,47782,47783,47786,47789,47790,47791,47793,47795,47796,47797,47798,47799,47802,47804,47806,47807,47808,47809,47810,47811,47813,47814,47815,47817,47818,47819,47820,47821,47822,47823,47824,47825,47826,47827,47828,47829,47830,47831,47834,47835,47836,47837,47838,47839,47840,47841,47842,47843,47844,47845,47846,47847,47848,47849,47850,47851,47852,47853,47854,47855,47856,47857,47858,47859,47860,47861,47862,47863,47864,47865,47866,47867,47869,47870,47871,47873,47874,47875,47877,47878,47879,47880,47881,47882,47883,47884,47886,47888,47890,47891,47892,47893,47894,47895,47897,47898,47899,47901,47902,47903,47905,47906,47907,47908,47909,47910,47911,47912,47914,47916,47917,47918,47919,47920,47921,47922,47923,47927,47929,47930,47935,47936,47937,47938,47939,47942,47944,47946,47947,47948,47950,47953,47954,null,null,null,null,null,null,47955,47957,47958,47959,47961,47962,47963,47964,47965,47966,47967,47968,47970,47972,47973,47974,47975,47976,47977,47978,47979,47981,47982,47983,47984,47985,null,null,null,null,null,null,47986,47987,47988,47989,47990,47991,47992,47993,47994,47995,47996,47997,47998,47999,48e3,48001,48002,48003,48004,48005,48006,48007,48009,48010,48011,48013,48014,48015,48017,48018,48019,48020,48021,48022,48023,48024,48025,48026,48027,48028,48029,48030,48031,48032,48033,48034,48035,48037,48038,48039,48041,48042,48043,48045,48046,48047,48048,48049,48050,48051,48053,48054,48056,48057,48058,48059,48060,48061,48062,48063,48065,48066,48067,48069,48070,48071,48073,48074,48075,48076,48077,48078,48079,48081,48082,48084,48085,48086,48087,48088,48089,48090,48091,48092,48093,48094,48095,48096,48097,48098,48099,48100,48101,48102,48103,48104,48105,48106,48107,48108,48109,48110,48111,48112,48113,48114,48115,48116,48117,48118,48119,48122,48123,48125,48126,48129,48131,48132,48133,48134,48135,48138,48142,48144,48146,48147,48153,48154,48160,48161,48162,48163,48166,48168,48170,48171,48172,48174,48175,48178,48179,48181,null,null,null,null,null,null,48182,48183,48185,48186,48187,48188,48189,48190,48191,48194,48198,48199,48200,48202,48203,48206,48207,48209,48210,48211,48212,48213,48214,48215,48216,48217,null,null,null,null,null,null,48218,48219,48220,48222,48223,48224,48225,48226,48227,48228,48229,48230,48231,48232,48233,48234,48235,48236,48237,48238,48239,48240,48241,48242,48243,48244,48245,48246,48247,48248,48249,48250,48251,48252,48253,48254,48255,48256,48257,48258,48259,48262,48263,48265,48266,48269,48271,48272,48273,48274,48275,48278,48280,48283,48284,48285,48286,48287,48290,48291,48293,48294,48297,48298,48299,48300,48301,48302,48303,48306,48310,48311,48312,48313,48314,48315,48318,48319,48321,48322,48323,48325,48326,48327,48328,48329,48330,48331,48332,48334,48338,48339,48340,48342,48343,48345,48346,48347,48349,48350,48351,48352,48353,48354,48355,48356,48357,48358,48359,48360,48361,48362,48363,48364,48365,48366,48367,48368,48369,48370,48371,48375,48377,48378,48379,48381,48382,48383,48384,48385,48386,48387,48390,48392,48394,48395,48396,48397,48398,48399,48401,48402,48403,48405,48406,48407,48408,48409,48410,48411,48412,48413,null,null,null,null,null,null,48414,48415,48416,48417,48418,48419,48421,48422,48423,48424,48425,48426,48427,48429,48430,48431,48432,48433,48434,48435,48436,48437,48438,48439,48440,48441,null,null,null,null,null,null,48442,48443,48444,48445,48446,48447,48449,48450,48451,48452,48453,48454,48455,48458,48459,48461,48462,48463,48465,48466,48467,48468,48469,48470,48471,48474,48475,48476,48477,48478,48479,48480,48481,48482,48483,48485,48486,48487,48489,48490,48491,48492,48493,48494,48495,48496,48497,48498,48499,48500,48501,48502,48503,48504,48505,48506,48507,48508,48509,48510,48511,48514,48515,48517,48518,48523,48524,48525,48526,48527,48530,48532,48534,48535,48536,48539,48541,48542,48543,48544,48545,48546,48547,48549,48550,48551,48552,48553,48554,48555,48556,48557,48558,48559,48561,48562,48563,48564,48565,48566,48567,48569,48570,48571,48572,48573,48574,48575,48576,48577,48578,48579,48580,48581,48582,48583,48584,48585,48586,48587,48588,48589,48590,48591,48592,48593,48594,48595,48598,48599,48601,48602,48603,48605,48606,48607,48608,48609,48610,48611,48612,48613,48614,48615,48616,48618,48619,48620,48621,48622,48623,48625,null,null,null,null,null,null,48626,48627,48629,48630,48631,48633,48634,48635,48636,48637,48638,48639,48641,48642,48644,48646,48647,48648,48649,48650,48651,48654,48655,48657,48658,48659,null,null,null,null,null,null,48661,48662,48663,48664,48665,48666,48667,48670,48672,48673,48674,48675,48676,48677,48678,48679,48680,48681,48682,48683,48684,48685,48686,48687,48688,48689,48690,48691,48692,48693,48694,48695,48696,48697,48698,48699,48700,48701,48702,48703,48704,48705,48706,48707,48710,48711,48713,48714,48715,48717,48719,48720,48721,48722,48723,48726,48728,48732,48733,48734,48735,48738,48739,48741,48742,48743,48745,48747,48748,48749,48750,48751,48754,48758,48759,48760,48761,48762,48766,48767,48769,48770,48771,48773,48774,48775,48776,48777,48778,48779,48782,48786,48787,48788,48789,48790,48791,48794,48795,48796,48797,48798,48799,48800,48801,48802,48803,48804,48805,48806,48807,48809,48810,48811,48812,48813,48814,48815,48816,48817,48818,48819,48820,48821,48822,48823,48824,48825,48826,48827,48828,48829,48830,48831,48832,48833,48834,48835,48836,48837,48838,48839,48840,48841,48842,48843,48844,48845,48846,48847,48850,48851,null,null,null,null,null,null,48853,48854,48857,48858,48859,48860,48861,48862,48863,48865,48866,48870,48871,48872,48873,48874,48875,48877,48878,48879,48880,48881,48882,48883,48884,48885,null,null,null,null,null,null,48886,48887,48888,48889,48890,48891,48892,48893,48894,48895,48896,48898,48899,48900,48901,48902,48903,48906,48907,48908,48909,48910,48911,48912,48913,48914,48915,48916,48917,48918,48919,48922,48926,48927,48928,48929,48930,48931,48932,48933,48934,48935,48936,48937,48938,48939,48940,48941,48942,48943,48944,48945,48946,48947,48948,48949,48950,48951,48952,48953,48954,48955,48956,48957,48958,48959,48962,48963,48965,48966,48967,48969,48970,48971,48972,48973,48974,48975,48978,48979,48980,48982,48983,48984,48985,48986,48987,48988,48989,48990,48991,48992,48993,48994,48995,48996,48997,48998,48999,49e3,49001,49002,49003,49004,49005,49006,49007,49008,49009,49010,49011,49012,49013,49014,49015,49016,49017,49018,49019,49020,49021,49022,49023,49024,49025,49026,49027,49028,49029,49030,49031,49032,49033,49034,49035,49036,49037,49038,49039,49040,49041,49042,49043,49045,49046,49047,49048,49049,49050,49051,49052,49053,null,null,null,null,null,null,49054,49055,49056,49057,49058,49059,49060,49061,49062,49063,49064,49065,49066,49067,49068,49069,49070,49071,49073,49074,49075,49076,49077,49078,49079,49080,null,null,null,null,null,null,49081,49082,49083,49084,49085,49086,49087,49088,49089,49090,49091,49092,49094,49095,49096,49097,49098,49099,49102,49103,49105,49106,49107,49109,49110,49111,49112,49113,49114,49115,49117,49118,49120,49122,49123,49124,49125,49126,49127,49128,49129,49130,49131,49132,49133,49134,49135,49136,49137,49138,49139,49140,49141,49142,49143,49144,49145,49146,49147,49148,49149,49150,49151,49152,49153,49154,49155,49156,49157,49158,49159,49160,49161,49162,49163,49164,49165,49166,49167,49168,49169,49170,49171,49172,49173,49174,49175,49176,49177,49178,49179,49180,49181,49182,49183,49184,49185,49186,49187,49188,49189,49190,49191,49192,49193,49194,49195,49196,49197,49198,49199,49200,49201,49202,49203,49204,49205,49206,49207,49208,49209,49210,49211,49213,49214,49215,49216,49217,49218,49219,49220,49221,49222,49223,49224,49225,49226,49227,49228,49229,49230,49231,49232,49234,49235,49236,49237,49238,49239,49241,49242,49243,null,null,null,null,null,null,49245,49246,49247,49249,49250,49251,49252,49253,49254,49255,49258,49259,49260,49261,49262,49263,49264,49265,49266,49267,49268,49269,49270,49271,49272,49273,null,null,null,null,null,null,49274,49275,49276,49277,49278,49279,49280,49281,49282,49283,49284,49285,49286,49287,49288,49289,49290,49291,49292,49293,49294,49295,49298,49299,49301,49302,49303,49305,49306,49307,49308,49309,49310,49311,49314,49316,49318,49319,49320,49321,49322,49323,49326,49329,49330,49335,49336,49337,49338,49339,49342,49346,49347,49348,49350,49351,49354,49355,49357,49358,49359,49361,49362,49363,49364,49365,49366,49367,49370,49374,49375,49376,49377,49378,49379,49382,49383,49385,49386,49387,49389,49390,49391,49392,49393,49394,49395,49398,49400,49402,49403,49404,49405,49406,49407,49409,49410,49411,49413,49414,49415,49417,49418,49419,49420,49421,49422,49423,49425,49426,49427,49428,49430,49431,49432,49433,49434,49435,49441,49442,49445,49448,49449,49450,49451,49454,49458,49459,49460,49461,49463,49466,49467,49469,49470,49471,49473,49474,49475,49476,49477,49478,49479,49482,49486,49487,49488,49489,49490,49491,49494,49495,null,null,null,null,null,null,49497,49498,49499,49501,49502,49503,49504,49505,49506,49507,49510,49514,49515,49516,49517,49518,49519,49521,49522,49523,49525,49526,49527,49529,49530,49531,null,null,null,null,null,null,49532,49533,49534,49535,49536,49537,49538,49539,49540,49542,49543,49544,49545,49546,49547,49551,49553,49554,49555,49557,49559,49560,49561,49562,49563,49566,49568,49570,49571,49572,49574,49575,49578,49579,49581,49582,49583,49585,49586,49587,49588,49589,49590,49591,49592,49593,49594,49595,49596,49598,49599,49600,49601,49602,49603,49605,49606,49607,49609,49610,49611,49613,49614,49615,49616,49617,49618,49619,49621,49622,49625,49626,49627,49628,49629,49630,49631,49633,49634,49635,49637,49638,49639,49641,49642,49643,49644,49645,49646,49647,49650,49652,49653,49654,49655,49656,49657,49658,49659,49662,49663,49665,49666,49667,49669,49670,49671,49672,49673,49674,49675,49678,49680,49682,49683,49684,49685,49686,49687,49690,49691,49693,49694,49697,49698,49699,49700,49701,49702,49703,49706,49708,49710,49712,49715,49717,49718,49719,49720,49721,49722,49723,49724,49725,49726,49727,49728,49729,49730,49731,49732,49733,null,null,null,null,null,null,49734,49735,49737,49738,49739,49740,49741,49742,49743,49746,49747,49749,49750,49751,49753,49754,49755,49756,49757,49758,49759,49761,49762,49763,49764,49766,null,null,null,null,null,null,49767,49768,49769,49770,49771,49774,49775,49777,49778,49779,49781,49782,49783,49784,49785,49786,49787,49790,49792,49794,49795,49796,49797,49798,49799,49802,49803,49804,49805,49806,49807,49809,49810,49811,49812,49813,49814,49815,49817,49818,49820,49822,49823,49824,49825,49826,49827,49830,49831,49833,49834,49835,49838,49839,49840,49841,49842,49843,49846,49848,49850,49851,49852,49853,49854,49855,49856,49857,49858,49859,49860,49861,49862,49863,49864,49865,49866,49867,49868,49869,49870,49871,49872,49873,49874,49875,49876,49877,49878,49879,49880,49881,49882,49883,49886,49887,49889,49890,49893,49894,49895,49896,49897,49898,49902,49904,49906,49907,49908,49909,49911,49914,49917,49918,49919,49921,49922,49923,49924,49925,49926,49927,49930,49931,49934,49935,49936,49937,49938,49942,49943,49945,49946,49947,49949,49950,49951,49952,49953,49954,49955,49958,49959,49962,49963,49964,49965,49966,49967,49968,49969,49970,null,null,null,null,null,null,49971,49972,49973,49974,49975,49976,49977,49978,49979,49980,49981,49982,49983,49984,49985,49986,49987,49988,49990,49991,49992,49993,49994,49995,49996,49997,null,null,null,null,null,null,49998,49999,5e4,50001,50002,50003,50004,50005,50006,50007,50008,50009,50010,50011,50012,50013,50014,50015,50016,50017,50018,50019,50020,50021,50022,50023,50026,50027,50029,50030,50031,50033,50035,50036,50037,50038,50039,50042,50043,50046,50047,50048,50049,50050,50051,50053,50054,50055,50057,50058,50059,50061,50062,50063,50064,50065,50066,50067,50068,50069,50070,50071,50072,50073,50074,50075,50076,50077,50078,50079,50080,50081,50082,50083,50084,50085,50086,50087,50088,50089,50090,50091,50092,50093,50094,50095,50096,50097,50098,50099,50100,50101,50102,50103,50104,50105,50106,50107,50108,50109,50110,50111,50113,50114,50115,50116,50117,50118,50119,50120,50121,50122,50123,50124,50125,50126,50127,50128,50129,50130,50131,50132,50133,50134,50135,50138,50139,50141,50142,50145,50147,50148,50149,50150,50151,50154,50155,50156,50158,50159,50160,50161,50162,50163,50166,50167,50169,50170,50171,50172,50173,50174,null,null,null,null,null,null,50175,50176,50177,50178,50179,50180,50181,50182,50183,50185,50186,50187,50188,50189,50190,50191,50193,50194,50195,50196,50197,50198,50199,50200,50201,50202,null,null,null,null,null,null,50203,50204,50205,50206,50207,50208,50209,50210,50211,50213,50214,50215,50216,50217,50218,50219,50221,50222,50223,50225,50226,50227,50229,50230,50231,50232,50233,50234,50235,50238,50239,50240,50241,50242,50243,50244,50245,50246,50247,50249,50250,50251,50252,50253,50254,50255,50256,50257,50258,50259,50260,50261,50262,50263,50264,50265,50266,50267,50268,50269,50270,50271,50272,50273,50274,50275,50278,50279,50281,50282,50283,50285,50286,50287,50288,50289,50290,50291,50294,50295,50296,50298,50299,50300,50301,50302,50303,50305,50306,50307,50308,50309,50310,50311,50312,50313,50314,50315,50316,50317,50318,50319,50320,50321,50322,50323,50325,50326,50327,50328,50329,50330,50331,50333,50334,50335,50336,50337,50338,50339,50340,50341,50342,50343,50344,50345,50346,50347,50348,50349,50350,50351,50352,50353,50354,50355,50356,50357,50358,50359,50361,50362,50363,50365,50366,50367,50368,50369,50370,50371,50372,50373,null,null,null,null,null,null,50374,50375,50376,50377,50378,50379,50380,50381,50382,50383,50384,50385,50386,50387,50388,50389,50390,50391,50392,50393,50394,50395,50396,50397,50398,50399,null,null,null,null,null,null,50400,50401,50402,50403,50404,50405,50406,50407,50408,50410,50411,50412,50413,50414,50415,50418,50419,50421,50422,50423,50425,50427,50428,50429,50430,50434,50435,50436,50437,50438,50439,50440,50441,50442,50443,50445,50446,50447,50449,50450,50451,50453,50454,50455,50456,50457,50458,50459,50461,50462,50463,50464,50465,50466,50467,50468,50469,50470,50471,50474,50475,50477,50478,50479,50481,50482,50483,50484,50485,50486,50487,50490,50492,50494,50495,50496,50497,50498,50499,50502,50503,50507,50511,50512,50513,50514,50518,50522,50523,50524,50527,50530,50531,50533,50534,50535,50537,50538,50539,50540,50541,50542,50543,50546,50550,50551,50552,50553,50554,50555,50558,50559,50561,50562,50563,50565,50566,50568,50569,50570,50571,50574,50576,50578,50579,50580,50582,50585,50586,50587,50589,50590,50591,50593,50594,50595,50596,50597,50598,50599,50600,50602,50603,50604,50605,50606,50607,50608,50609,50610,50611,50614,null,null,null,null,null,null,50615,50618,50623,50624,50625,50626,50627,50635,50637,50639,50642,50643,50645,50646,50647,50649,50650,50651,50652,50653,50654,50655,50658,50660,50662,50663,null,null,null,null,null,null,50664,50665,50666,50667,50671,50673,50674,50675,50677,50680,50681,50682,50683,50690,50691,50692,50697,50698,50699,50701,50702,50703,50705,50706,50707,50708,50709,50710,50711,50714,50717,50718,50719,50720,50721,50722,50723,50726,50727,50729,50730,50731,50735,50737,50738,50742,50744,50746,50748,50749,50750,50751,50754,50755,50757,50758,50759,50761,50762,50763,50764,50765,50766,50767,50770,50774,50775,50776,50777,50778,50779,50782,50783,50785,50786,50787,50788,50789,50790,50791,50792,50793,50794,50795,50797,50798,50800,50802,50803,50804,50805,50806,50807,50810,50811,50813,50814,50815,50817,50818,50819,50820,50821,50822,50823,50826,50828,50830,50831,50832,50833,50834,50835,50838,50839,50841,50842,50843,50845,50846,50847,50848,50849,50850,50851,50854,50856,50858,50859,50860,50861,50862,50863,50866,50867,50869,50870,50871,50875,50876,50877,50878,50879,50882,50884,50886,50887,50888,50889,50890,50891,50894,null,null,null,null,null,null,50895,50897,50898,50899,50901,50902,50903,50904,50905,50906,50907,50910,50911,50914,50915,50916,50917,50918,50919,50922,50923,50925,50926,50927,50929,50930,null,null,null,null,null,null,50931,50932,50933,50934,50935,50938,50939,50940,50942,50943,50944,50945,50946,50947,50950,50951,50953,50954,50955,50957,50958,50959,50960,50961,50962,50963,50966,50968,50970,50971,50972,50973,50974,50975,50978,50979,50981,50982,50983,50985,50986,50987,50988,50989,50990,50991,50994,50996,50998,51e3,51001,51002,51003,51006,51007,51009,51010,51011,51013,51014,51015,51016,51017,51019,51022,51024,51033,51034,51035,51037,51038,51039,51041,51042,51043,51044,51045,51046,51047,51049,51050,51052,51053,51054,51055,51056,51057,51058,51059,51062,51063,51065,51066,51067,51071,51072,51073,51074,51078,51083,51084,51085,51087,51090,51091,51093,51097,51099,51100,51101,51102,51103,51106,51111,51112,51113,51114,51115,51118,51119,51121,51122,51123,51125,51126,51127,51128,51129,51130,51131,51134,51138,51139,51140,51141,51142,51143,51146,51147,51149,51151,51153,51154,51155,51156,51157,51158,51159,51161,51162,51163,51164,null,null,null,null,null,null,51166,51167,51168,51169,51170,51171,51173,51174,51175,51177,51178,51179,51181,51182,51183,51184,51185,51186,51187,51188,51189,51190,51191,51192,51193,51194,null,null,null,null,null,null,51195,51196,51197,51198,51199,51202,51203,51205,51206,51207,51209,51211,51212,51213,51214,51215,51218,51220,51223,51224,51225,51226,51227,51230,51231,51233,51234,51235,51237,51238,51239,51240,51241,51242,51243,51246,51248,51250,51251,51252,51253,51254,51255,51257,51258,51259,51261,51262,51263,51265,51266,51267,51268,51269,51270,51271,51274,51275,51278,51279,51280,51281,51282,51283,51285,51286,51287,51288,51289,51290,51291,51292,51293,51294,51295,51296,51297,51298,51299,51300,51301,51302,51303,51304,51305,51306,51307,51308,51309,51310,51311,51314,51315,51317,51318,51319,51321,51323,51324,51325,51326,51327,51330,51332,51336,51337,51338,51342,51343,51344,51345,51346,51347,51349,51350,51351,51352,51353,51354,51355,51356,51358,51360,51362,51363,51364,51365,51366,51367,51369,51370,51371,51372,51373,51374,51375,51376,51377,51378,51379,51380,51381,51382,51383,51384,51385,51386,51387,51390,51391,51392,51393,null,null,null,null,null,null,51394,51395,51397,51398,51399,51401,51402,51403,51405,51406,51407,51408,51409,51410,51411,51414,51416,51418,51419,51420,51421,51422,51423,51426,51427,51429,null,null,null,null,null,null,51430,51431,51432,51433,51434,51435,51436,51437,51438,51439,51440,51441,51442,51443,51444,51446,51447,51448,51449,51450,51451,51454,51455,51457,51458,51459,51463,51464,51465,51466,51467,51470,12288,12289,12290,183,8229,8230,168,12291,173,8213,8741,65340,8764,8216,8217,8220,8221,12308,12309,12296,12297,12298,12299,12300,12301,12302,12303,12304,12305,177,215,247,8800,8804,8805,8734,8756,176,8242,8243,8451,8491,65504,65505,65509,9794,9792,8736,8869,8978,8706,8711,8801,8786,167,8251,9734,9733,9675,9679,9678,9671,9670,9633,9632,9651,9650,9661,9660,8594,8592,8593,8595,8596,12307,8810,8811,8730,8765,8733,8757,8747,8748,8712,8715,8838,8839,8834,8835,8746,8745,8743,8744,65506,51472,51474,51475,51476,51477,51478,51479,51481,51482,51483,51484,51485,51486,51487,51488,51489,51490,51491,51492,51493,51494,51495,51496,51497,51498,51499,null,null,null,null,null,null,51501,51502,51503,51504,51505,51506,51507,51509,51510,51511,51512,51513,51514,51515,51516,51517,51518,51519,51520,51521,51522,51523,51524,51525,51526,51527,null,null,null,null,null,null,51528,51529,51530,51531,51532,51533,51534,51535,51538,51539,51541,51542,51543,51545,51546,51547,51548,51549,51550,51551,51554,51556,51557,51558,51559,51560,51561,51562,51563,51565,51566,51567,8658,8660,8704,8707,180,65374,711,728,733,730,729,184,731,161,191,720,8750,8721,8719,164,8457,8240,9665,9664,9655,9654,9828,9824,9825,9829,9831,9827,8857,9672,9635,9680,9681,9618,9636,9637,9640,9639,9638,9641,9832,9743,9742,9756,9758,182,8224,8225,8597,8599,8601,8598,8600,9837,9833,9834,9836,12927,12828,8470,13255,8482,13250,13272,8481,8364,174,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,51569,51570,51571,51573,51574,51575,51576,51577,51578,51579,51581,51582,51583,51584,51585,51586,51587,51588,51589,51590,51591,51594,51595,51597,51598,51599,null,null,null,null,null,null,51601,51602,51603,51604,51605,51606,51607,51610,51612,51614,51615,51616,51617,51618,51619,51620,51621,51622,51623,51624,51625,51626,51627,51628,51629,51630,null,null,null,null,null,null,51631,51632,51633,51634,51635,51636,51637,51638,51639,51640,51641,51642,51643,51644,51645,51646,51647,51650,51651,51653,51654,51657,51659,51660,51661,51662,51663,51666,51668,51671,51672,51675,65281,65282,65283,65284,65285,65286,65287,65288,65289,65290,65291,65292,65293,65294,65295,65296,65297,65298,65299,65300,65301,65302,65303,65304,65305,65306,65307,65308,65309,65310,65311,65312,65313,65314,65315,65316,65317,65318,65319,65320,65321,65322,65323,65324,65325,65326,65327,65328,65329,65330,65331,65332,65333,65334,65335,65336,65337,65338,65339,65510,65341,65342,65343,65344,65345,65346,65347,65348,65349,65350,65351,65352,65353,65354,65355,65356,65357,65358,65359,65360,65361,65362,65363,65364,65365,65366,65367,65368,65369,65370,65371,65372,65373,65507,51678,51679,51681,51683,51685,51686,51688,51689,51690,51691,51694,51698,51699,51700,51701,51702,51703,51706,51707,51709,51710,51711,51713,51714,51715,51716,null,null,null,null,null,null,51717,51718,51719,51722,51726,51727,51728,51729,51730,51731,51733,51734,51735,51737,51738,51739,51740,51741,51742,51743,51744,51745,51746,51747,51748,51749,null,null,null,null,null,null,51750,51751,51752,51754,51755,51756,51757,51758,51759,51760,51761,51762,51763,51764,51765,51766,51767,51768,51769,51770,51771,51772,51773,51774,51775,51776,51777,51778,51779,51780,51781,51782,12593,12594,12595,12596,12597,12598,12599,12600,12601,12602,12603,12604,12605,12606,12607,12608,12609,12610,12611,12612,12613,12614,12615,12616,12617,12618,12619,12620,12621,12622,12623,12624,12625,12626,12627,12628,12629,12630,12631,12632,12633,12634,12635,12636,12637,12638,12639,12640,12641,12642,12643,12644,12645,12646,12647,12648,12649,12650,12651,12652,12653,12654,12655,12656,12657,12658,12659,12660,12661,12662,12663,12664,12665,12666,12667,12668,12669,12670,12671,12672,12673,12674,12675,12676,12677,12678,12679,12680,12681,12682,12683,12684,12685,12686,51783,51784,51785,51786,51787,51790,51791,51793,51794,51795,51797,51798,51799,51800,51801,51802,51803,51806,51810,51811,51812,51813,51814,51815,51817,51818,null,null,null,null,null,null,51819,51820,51821,51822,51823,51824,51825,51826,51827,51828,51829,51830,51831,51832,51833,51834,51835,51836,51838,51839,51840,51841,51842,51843,51845,51846,null,null,null,null,null,null,51847,51848,51849,51850,51851,51852,51853,51854,51855,51856,51857,51858,51859,51860,51861,51862,51863,51865,51866,51867,51868,51869,51870,51871,51872,51873,51874,51875,51876,51877,51878,51879,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,null,null,null,null,null,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,null,null,null,null,null,null,null,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,null,null,null,null,null,null,null,null,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,963,964,965,966,967,968,969,null,null,null,null,null,null,51880,51881,51882,51883,51884,51885,51886,51887,51888,51889,51890,51891,51892,51893,51894,51895,51896,51897,51898,51899,51902,51903,51905,51906,51907,51909,null,null,null,null,null,null,51910,51911,51912,51913,51914,51915,51918,51920,51922,51924,51925,51926,51927,51930,51931,51932,51933,51934,51935,51937,51938,51939,51940,51941,51942,51943,null,null,null,null,null,null,51944,51945,51946,51947,51949,51950,51951,51952,51953,51954,51955,51957,51958,51959,51960,51961,51962,51963,51964,51965,51966,51967,51968,51969,51970,51971,51972,51973,51974,51975,51977,51978,9472,9474,9484,9488,9496,9492,9500,9516,9508,9524,9532,9473,9475,9487,9491,9499,9495,9507,9523,9515,9531,9547,9504,9519,9512,9527,9535,9501,9520,9509,9528,9538,9490,9489,9498,9497,9494,9493,9486,9485,9502,9503,9505,9506,9510,9511,9513,9514,9517,9518,9521,9522,9525,9526,9529,9530,9533,9534,9536,9537,9539,9540,9541,9542,9543,9544,9545,9546,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,51979,51980,51981,51982,51983,51985,51986,51987,51989,51990,51991,51993,51994,51995,51996,51997,51998,51999,52002,52003,52004,52005,52006,52007,52008,52009,null,null,null,null,null,null,52010,52011,52012,52013,52014,52015,52016,52017,52018,52019,52020,52021,52022,52023,52024,52025,52026,52027,52028,52029,52030,52031,52032,52034,52035,52036,null,null,null,null,null,null,52037,52038,52039,52042,52043,52045,52046,52047,52049,52050,52051,52052,52053,52054,52055,52058,52059,52060,52062,52063,52064,52065,52066,52067,52069,52070,52071,52072,52073,52074,52075,52076,13205,13206,13207,8467,13208,13252,13219,13220,13221,13222,13209,13210,13211,13212,13213,13214,13215,13216,13217,13218,13258,13197,13198,13199,13263,13192,13193,13256,13223,13224,13232,13233,13234,13235,13236,13237,13238,13239,13240,13241,13184,13185,13186,13187,13188,13242,13243,13244,13245,13246,13247,13200,13201,13202,13203,13204,8486,13248,13249,13194,13195,13196,13270,13253,13229,13230,13231,13275,13225,13226,13227,13228,13277,13264,13267,13251,13257,13276,13254,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,52077,52078,52079,52080,52081,52082,52083,52084,52085,52086,52087,52090,52091,52092,52093,52094,52095,52096,52097,52098,52099,52100,52101,52102,52103,52104,null,null,null,null,null,null,52105,52106,52107,52108,52109,52110,52111,52112,52113,52114,52115,52116,52117,52118,52119,52120,52121,52122,52123,52125,52126,52127,52128,52129,52130,52131,null,null,null,null,null,null,52132,52133,52134,52135,52136,52137,52138,52139,52140,52141,52142,52143,52144,52145,52146,52147,52148,52149,52150,52151,52153,52154,52155,52156,52157,52158,52159,52160,52161,52162,52163,52164,198,208,170,294,null,306,null,319,321,216,338,186,222,358,330,null,12896,12897,12898,12899,12900,12901,12902,12903,12904,12905,12906,12907,12908,12909,12910,12911,12912,12913,12914,12915,12916,12917,12918,12919,12920,12921,12922,12923,9424,9425,9426,9427,9428,9429,9430,9431,9432,9433,9434,9435,9436,9437,9438,9439,9440,9441,9442,9443,9444,9445,9446,9447,9448,9449,9312,9313,9314,9315,9316,9317,9318,9319,9320,9321,9322,9323,9324,9325,9326,189,8531,8532,188,190,8539,8540,8541,8542,52165,52166,52167,52168,52169,52170,52171,52172,52173,52174,52175,52176,52177,52178,52179,52181,52182,52183,52184,52185,52186,52187,52188,52189,52190,52191,null,null,null,null,null,null,52192,52193,52194,52195,52197,52198,52200,52202,52203,52204,52205,52206,52207,52208,52209,52210,52211,52212,52213,52214,52215,52216,52217,52218,52219,52220,null,null,null,null,null,null,52221,52222,52223,52224,52225,52226,52227,52228,52229,52230,52231,52232,52233,52234,52235,52238,52239,52241,52242,52243,52245,52246,52247,52248,52249,52250,52251,52254,52255,52256,52259,52260,230,273,240,295,305,307,312,320,322,248,339,223,254,359,331,329,12800,12801,12802,12803,12804,12805,12806,12807,12808,12809,12810,12811,12812,12813,12814,12815,12816,12817,12818,12819,12820,12821,12822,12823,12824,12825,12826,12827,9372,9373,9374,9375,9376,9377,9378,9379,9380,9381,9382,9383,9384,9385,9386,9387,9388,9389,9390,9391,9392,9393,9394,9395,9396,9397,9332,9333,9334,9335,9336,9337,9338,9339,9340,9341,9342,9343,9344,9345,9346,185,178,179,8308,8319,8321,8322,8323,8324,52261,52262,52266,52267,52269,52271,52273,52274,52275,52276,52277,52278,52279,52282,52287,52288,52289,52290,52291,52294,52295,52297,52298,52299,52301,52302,null,null,null,null,null,null,52303,52304,52305,52306,52307,52310,52314,52315,52316,52317,52318,52319,52321,52322,52323,52325,52327,52329,52330,52331,52332,52333,52334,52335,52337,52338,null,null,null,null,null,null,52339,52340,52342,52343,52344,52345,52346,52347,52348,52349,52350,52351,52352,52353,52354,52355,52356,52357,52358,52359,52360,52361,52362,52363,52364,52365,52366,52367,52368,52369,52370,52371,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,null,null,null,null,null,null,null,null,null,null,null,52372,52373,52374,52375,52378,52379,52381,52382,52383,52385,52386,52387,52388,52389,52390,52391,52394,52398,52399,52400,52401,52402,52403,52406,52407,52409,null,null,null,null,null,null,52410,52411,52413,52414,52415,52416,52417,52418,52419,52422,52424,52426,52427,52428,52429,52430,52431,52433,52434,52435,52437,52438,52439,52440,52441,52442,null,null,null,null,null,null,52443,52444,52445,52446,52447,52448,52449,52450,52451,52453,52454,52455,52456,52457,52458,52459,52461,52462,52463,52465,52466,52467,52468,52469,52470,52471,52472,52473,52474,52475,52476,52477,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,12481,12482,12483,12484,12485,12486,12487,12488,12489,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,null,null,null,null,null,null,null,null,52478,52479,52480,52482,52483,52484,52485,52486,52487,52490,52491,52493,52494,52495,52497,52498,52499,52500,52501,52502,52503,52506,52508,52510,52511,52512,null,null,null,null,null,null,52513,52514,52515,52517,52518,52519,52521,52522,52523,52525,52526,52527,52528,52529,52530,52531,52532,52533,52534,52535,52536,52538,52539,52540,52541,52542,null,null,null,null,null,null,52543,52544,52545,52546,52547,52548,52549,52550,52551,52552,52553,52554,52555,52556,52557,52558,52559,52560,52561,52562,52563,52564,52565,52566,52567,52568,52569,52570,52571,52573,52574,52575,1040,1041,1042,1043,1044,1045,1025,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1072,1073,1074,1075,1076,1077,1105,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,null,null,null,null,null,null,null,null,null,null,null,null,null,52577,52578,52579,52581,52582,52583,52584,52585,52586,52587,52590,52592,52594,52595,52596,52597,52598,52599,52601,52602,52603,52604,52605,52606,52607,52608,null,null,null,null,null,null,52609,52610,52611,52612,52613,52614,52615,52617,52618,52619,52620,52621,52622,52623,52624,52625,52626,52627,52630,52631,52633,52634,52635,52637,52638,52639,null,null,null,null,null,null,52640,52641,52642,52643,52646,52648,52650,52651,52652,52653,52654,52655,52657,52658,52659,52660,52661,52662,52663,52664,52665,52666,52667,52668,52669,52670,52671,52672,52673,52674,52675,52677,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,52678,52679,52680,52681,52682,52683,52685,52686,52687,52689,52690,52691,52692,52693,52694,52695,52696,52697,52698,52699,52700,52701,52702,52703,52704,52705,null,null,null,null,null,null,52706,52707,52708,52709,52710,52711,52713,52714,52715,52717,52718,52719,52721,52722,52723,52724,52725,52726,52727,52730,52732,52734,52735,52736,52737,52738,null,null,null,null,null,null,52739,52741,52742,52743,52745,52746,52747,52749,52750,52751,52752,52753,52754,52755,52757,52758,52759,52760,52762,52763,52764,52765,52766,52767,52770,52771,52773,52774,52775,52777,52778,52779,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,52780,52781,52782,52783,52786,52788,52790,52791,52792,52793,52794,52795,52796,52797,52798,52799,52800,52801,52802,52803,52804,52805,52806,52807,52808,52809,null,null,null,null,null,null,52810,52811,52812,52813,52814,52815,52816,52817,52818,52819,52820,52821,52822,52823,52826,52827,52829,52830,52834,52835,52836,52837,52838,52839,52842,52844,null,null,null,null,null,null,52846,52847,52848,52849,52850,52851,52854,52855,52857,52858,52859,52861,52862,52863,52864,52865,52866,52867,52870,52872,52874,52875,52876,52877,52878,52879,52882,52883,52885,52886,52887,52889,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,52890,52891,52892,52893,52894,52895,52898,52902,52903,52904,52905,52906,52907,52910,52911,52912,52913,52914,52915,52916,52917,52918,52919,52920,52921,52922,null,null,null,null,null,null,52923,52924,52925,52926,52927,52928,52930,52931,52932,52933,52934,52935,52936,52937,52938,52939,52940,52941,52942,52943,52944,52945,52946,52947,52948,52949,null,null,null,null,null,null,52950,52951,52952,52953,52954,52955,52956,52957,52958,52959,52960,52961,52962,52963,52966,52967,52969,52970,52973,52974,52975,52976,52977,52978,52979,52982,52986,52987,52988,52989,52990,52991,44032,44033,44036,44039,44040,44041,44042,44048,44049,44050,44051,44052,44053,44054,44055,44057,44058,44059,44060,44061,44064,44068,44076,44077,44079,44080,44081,44088,44089,44092,44096,44107,44109,44116,44120,44124,44144,44145,44148,44151,44152,44154,44160,44161,44163,44164,44165,44166,44169,44170,44171,44172,44176,44180,44188,44189,44191,44192,44193,44200,44201,44202,44204,44207,44208,44216,44217,44219,44220,44221,44225,44228,44232,44236,44245,44247,44256,44257,44260,44263,44264,44266,44268,44271,44272,44273,44275,44277,44278,44284,44285,44288,44292,44294,52994,52995,52997,52998,52999,53001,53002,53003,53004,53005,53006,53007,53010,53012,53014,53015,53016,53017,53018,53019,53021,53022,53023,53025,53026,53027,null,null,null,null,null,null,53029,53030,53031,53032,53033,53034,53035,53038,53042,53043,53044,53045,53046,53047,53049,53050,53051,53052,53053,53054,53055,53056,53057,53058,53059,53060,null,null,null,null,null,null,53061,53062,53063,53064,53065,53066,53067,53068,53069,53070,53071,53072,53073,53074,53075,53078,53079,53081,53082,53083,53085,53086,53087,53088,53089,53090,53091,53094,53096,53098,53099,53100,44300,44301,44303,44305,44312,44316,44320,44329,44332,44333,44340,44341,44344,44348,44356,44357,44359,44361,44368,44372,44376,44385,44387,44396,44397,44400,44403,44404,44405,44406,44411,44412,44413,44415,44417,44418,44424,44425,44428,44432,44444,44445,44452,44471,44480,44481,44484,44488,44496,44497,44499,44508,44512,44516,44536,44537,44540,44543,44544,44545,44552,44553,44555,44557,44564,44592,44593,44596,44599,44600,44602,44608,44609,44611,44613,44614,44618,44620,44621,44622,44624,44628,44630,44636,44637,44639,44640,44641,44645,44648,44649,44652,44656,44664,53101,53102,53103,53106,53107,53109,53110,53111,53113,53114,53115,53116,53117,53118,53119,53121,53122,53123,53124,53126,53127,53128,53129,53130,53131,53133,null,null,null,null,null,null,53134,53135,53136,53137,53138,53139,53140,53141,53142,53143,53144,53145,53146,53147,53148,53149,53150,53151,53152,53154,53155,53156,53157,53158,53159,53161,null,null,null,null,null,null,53162,53163,53164,53165,53166,53167,53169,53170,53171,53172,53173,53174,53175,53176,53177,53178,53179,53180,53181,53182,53183,53184,53185,53186,53187,53189,53190,53191,53192,53193,53194,53195,44665,44667,44668,44669,44676,44677,44684,44732,44733,44734,44736,44740,44748,44749,44751,44752,44753,44760,44761,44764,44776,44779,44781,44788,44792,44796,44807,44808,44813,44816,44844,44845,44848,44850,44852,44860,44861,44863,44865,44866,44867,44872,44873,44880,44892,44893,44900,44901,44921,44928,44932,44936,44944,44945,44949,44956,44984,44985,44988,44992,44999,45e3,45001,45003,45005,45006,45012,45020,45032,45033,45040,45041,45044,45048,45056,45057,45060,45068,45072,45076,45084,45085,45096,45124,45125,45128,45130,45132,45134,45139,45140,45141,45143,45145,53196,53197,53198,53199,53200,53201,53202,53203,53204,53205,53206,53207,53208,53209,53210,53211,53212,53213,53214,53215,53218,53219,53221,53222,53223,53225,null,null,null,null,null,null,53226,53227,53228,53229,53230,53231,53234,53236,53238,53239,53240,53241,53242,53243,53245,53246,53247,53249,53250,53251,53253,53254,53255,53256,53257,53258,null,null,null,null,null,null,53259,53260,53261,53262,53263,53264,53266,53267,53268,53269,53270,53271,53273,53274,53275,53276,53277,53278,53279,53280,53281,53282,53283,53284,53285,53286,53287,53288,53289,53290,53291,53292,45149,45180,45181,45184,45188,45196,45197,45199,45201,45208,45209,45210,45212,45215,45216,45217,45218,45224,45225,45227,45228,45229,45230,45231,45233,45235,45236,45237,45240,45244,45252,45253,45255,45256,45257,45264,45265,45268,45272,45280,45285,45320,45321,45323,45324,45328,45330,45331,45336,45337,45339,45340,45341,45347,45348,45349,45352,45356,45364,45365,45367,45368,45369,45376,45377,45380,45384,45392,45393,45396,45397,45400,45404,45408,45432,45433,45436,45440,45442,45448,45449,45451,45453,45458,45459,45460,45464,45468,45480,45516,45520,45524,45532,45533,53294,53295,53296,53297,53298,53299,53302,53303,53305,53306,53307,53309,53310,53311,53312,53313,53314,53315,53318,53320,53322,53323,53324,53325,53326,53327,null,null,null,null,null,null,53329,53330,53331,53333,53334,53335,53337,53338,53339,53340,53341,53342,53343,53345,53346,53347,53348,53349,53350,53351,53352,53353,53354,53355,53358,53359,null,null,null,null,null,null,53361,53362,53363,53365,53366,53367,53368,53369,53370,53371,53374,53375,53376,53378,53379,53380,53381,53382,53383,53384,53385,53386,53387,53388,53389,53390,53391,53392,53393,53394,53395,53396,45535,45544,45545,45548,45552,45561,45563,45565,45572,45573,45576,45579,45580,45588,45589,45591,45593,45600,45620,45628,45656,45660,45664,45672,45673,45684,45685,45692,45700,45701,45705,45712,45713,45716,45720,45721,45722,45728,45729,45731,45733,45734,45738,45740,45744,45748,45768,45769,45772,45776,45778,45784,45785,45787,45789,45794,45796,45797,45798,45800,45803,45804,45805,45806,45807,45811,45812,45813,45815,45816,45817,45818,45819,45823,45824,45825,45828,45832,45840,45841,45843,45844,45845,45852,45908,45909,45910,45912,45915,45916,45918,45919,45924,45925,53397,53398,53399,53400,53401,53402,53403,53404,53405,53406,53407,53408,53409,53410,53411,53414,53415,53417,53418,53419,53421,53422,53423,53424,53425,53426,null,null,null,null,null,null,53427,53430,53432,53434,53435,53436,53437,53438,53439,53442,53443,53445,53446,53447,53450,53451,53452,53453,53454,53455,53458,53462,53463,53464,53465,53466,null,null,null,null,null,null,53467,53470,53471,53473,53474,53475,53477,53478,53479,53480,53481,53482,53483,53486,53490,53491,53492,53493,53494,53495,53497,53498,53499,53500,53501,53502,53503,53504,53505,53506,53507,53508,45927,45929,45931,45934,45936,45937,45940,45944,45952,45953,45955,45956,45957,45964,45968,45972,45984,45985,45992,45996,46020,46021,46024,46027,46028,46030,46032,46036,46037,46039,46041,46043,46045,46048,46052,46056,46076,46096,46104,46108,46112,46120,46121,46123,46132,46160,46161,46164,46168,46176,46177,46179,46181,46188,46208,46216,46237,46244,46248,46252,46261,46263,46265,46272,46276,46280,46288,46293,46300,46301,46304,46307,46308,46310,46316,46317,46319,46321,46328,46356,46357,46360,46363,46364,46372,46373,46375,46376,46377,46378,46384,46385,46388,46392,53509,53510,53511,53512,53513,53514,53515,53516,53518,53519,53520,53521,53522,53523,53524,53525,53526,53527,53528,53529,53530,53531,53532,53533,53534,53535,null,null,null,null,null,null,53536,53537,53538,53539,53540,53541,53542,53543,53544,53545,53546,53547,53548,53549,53550,53551,53554,53555,53557,53558,53559,53561,53563,53564,53565,53566,null,null,null,null,null,null,53567,53570,53574,53575,53576,53577,53578,53579,53582,53583,53585,53586,53587,53589,53590,53591,53592,53593,53594,53595,53598,53600,53602,53603,53604,53605,53606,53607,53609,53610,53611,53613,46400,46401,46403,46404,46405,46411,46412,46413,46416,46420,46428,46429,46431,46432,46433,46496,46497,46500,46504,46506,46507,46512,46513,46515,46516,46517,46523,46524,46525,46528,46532,46540,46541,46543,46544,46545,46552,46572,46608,46609,46612,46616,46629,46636,46644,46664,46692,46696,46748,46749,46752,46756,46763,46764,46769,46804,46832,46836,46840,46848,46849,46853,46888,46889,46892,46895,46896,46904,46905,46907,46916,46920,46924,46932,46933,46944,46948,46952,46960,46961,46963,46965,46972,46973,46976,46980,46988,46989,46991,46992,46993,46994,46998,46999,53614,53615,53616,53617,53618,53619,53620,53621,53622,53623,53624,53625,53626,53627,53629,53630,53631,53632,53633,53634,53635,53637,53638,53639,53641,53642,null,null,null,null,null,null,53643,53644,53645,53646,53647,53648,53649,53650,53651,53652,53653,53654,53655,53656,53657,53658,53659,53660,53661,53662,53663,53666,53667,53669,53670,53671,null,null,null,null,null,null,53673,53674,53675,53676,53677,53678,53679,53682,53684,53686,53687,53688,53689,53691,53693,53694,53695,53697,53698,53699,53700,53701,53702,53703,53704,53705,53706,53707,53708,53709,53710,53711,47e3,47001,47004,47008,47016,47017,47019,47020,47021,47028,47029,47032,47047,47049,47084,47085,47088,47092,47100,47101,47103,47104,47105,47111,47112,47113,47116,47120,47128,47129,47131,47133,47140,47141,47144,47148,47156,47157,47159,47160,47161,47168,47172,47185,47187,47196,47197,47200,47204,47212,47213,47215,47217,47224,47228,47245,47272,47280,47284,47288,47296,47297,47299,47301,47308,47312,47316,47325,47327,47329,47336,47337,47340,47344,47352,47353,47355,47357,47364,47384,47392,47420,47421,47424,47428,47436,47439,47441,47448,47449,47452,47456,47464,47465,53712,53713,53714,53715,53716,53717,53718,53719,53721,53722,53723,53724,53725,53726,53727,53728,53729,53730,53731,53732,53733,53734,53735,53736,53737,53738,null,null,null,null,null,null,53739,53740,53741,53742,53743,53744,53745,53746,53747,53749,53750,53751,53753,53754,53755,53756,53757,53758,53759,53760,53761,53762,53763,53764,53765,53766,null,null,null,null,null,null,53768,53770,53771,53772,53773,53774,53775,53777,53778,53779,53780,53781,53782,53783,53784,53785,53786,53787,53788,53789,53790,53791,53792,53793,53794,53795,53796,53797,53798,53799,53800,53801,47467,47469,47476,47477,47480,47484,47492,47493,47495,47497,47498,47501,47502,47532,47533,47536,47540,47548,47549,47551,47553,47560,47561,47564,47566,47567,47568,47569,47570,47576,47577,47579,47581,47582,47585,47587,47588,47589,47592,47596,47604,47605,47607,47608,47609,47610,47616,47617,47624,47637,47672,47673,47676,47680,47682,47688,47689,47691,47693,47694,47699,47700,47701,47704,47708,47716,47717,47719,47720,47721,47728,47729,47732,47736,47747,47748,47749,47751,47756,47784,47785,47787,47788,47792,47794,47800,47801,47803,47805,47812,47816,47832,47833,47868,53802,53803,53806,53807,53809,53810,53811,53813,53814,53815,53816,53817,53818,53819,53822,53824,53826,53827,53828,53829,53830,53831,53833,53834,53835,53836,null,null,null,null,null,null,53837,53838,53839,53840,53841,53842,53843,53844,53845,53846,53847,53848,53849,53850,53851,53853,53854,53855,53856,53857,53858,53859,53861,53862,53863,53864,null,null,null,null,null,null,53865,53866,53867,53868,53869,53870,53871,53872,53873,53874,53875,53876,53877,53878,53879,53880,53881,53882,53883,53884,53885,53886,53887,53890,53891,53893,53894,53895,53897,53898,53899,53900,47872,47876,47885,47887,47889,47896,47900,47904,47913,47915,47924,47925,47926,47928,47931,47932,47933,47934,47940,47941,47943,47945,47949,47951,47952,47956,47960,47969,47971,47980,48008,48012,48016,48036,48040,48044,48052,48055,48064,48068,48072,48080,48083,48120,48121,48124,48127,48128,48130,48136,48137,48139,48140,48141,48143,48145,48148,48149,48150,48151,48152,48155,48156,48157,48158,48159,48164,48165,48167,48169,48173,48176,48177,48180,48184,48192,48193,48195,48196,48197,48201,48204,48205,48208,48221,48260,48261,48264,48267,48268,48270,48276,48277,48279,53901,53902,53903,53906,53907,53908,53910,53911,53912,53913,53914,53915,53917,53918,53919,53921,53922,53923,53925,53926,53927,53928,53929,53930,53931,53933,null,null,null,null,null,null,53934,53935,53936,53938,53939,53940,53941,53942,53943,53946,53947,53949,53950,53953,53955,53956,53957,53958,53959,53962,53964,53965,53966,53967,53968,53969,null,null,null,null,null,null,53970,53971,53973,53974,53975,53977,53978,53979,53981,53982,53983,53984,53985,53986,53987,53990,53991,53992,53993,53994,53995,53996,53997,53998,53999,54002,54003,54005,54006,54007,54009,54010,48281,48282,48288,48289,48292,48295,48296,48304,48305,48307,48308,48309,48316,48317,48320,48324,48333,48335,48336,48337,48341,48344,48348,48372,48373,48374,48376,48380,48388,48389,48391,48393,48400,48404,48420,48428,48448,48456,48457,48460,48464,48472,48473,48484,48488,48512,48513,48516,48519,48520,48521,48522,48528,48529,48531,48533,48537,48538,48540,48548,48560,48568,48596,48597,48600,48604,48617,48624,48628,48632,48640,48643,48645,48652,48653,48656,48660,48668,48669,48671,48708,48709,48712,48716,48718,48724,48725,48727,48729,48730,48731,48736,48737,48740,54011,54012,54013,54014,54015,54018,54020,54022,54023,54024,54025,54026,54027,54031,54033,54034,54035,54037,54039,54040,54041,54042,54043,54046,54050,54051,null,null,null,null,null,null,54052,54054,54055,54058,54059,54061,54062,54063,54065,54066,54067,54068,54069,54070,54071,54074,54078,54079,54080,54081,54082,54083,54086,54087,54088,54089,null,null,null,null,null,null,54090,54091,54092,54093,54094,54095,54096,54097,54098,54099,54100,54101,54102,54103,54104,54105,54106,54107,54108,54109,54110,54111,54112,54113,54114,54115,54116,54117,54118,54119,54120,54121,48744,48746,48752,48753,48755,48756,48757,48763,48764,48765,48768,48772,48780,48781,48783,48784,48785,48792,48793,48808,48848,48849,48852,48855,48856,48864,48867,48868,48869,48876,48897,48904,48905,48920,48921,48923,48924,48925,48960,48961,48964,48968,48976,48977,48981,49044,49072,49093,49100,49101,49104,49108,49116,49119,49121,49212,49233,49240,49244,49248,49256,49257,49296,49297,49300,49304,49312,49313,49315,49317,49324,49325,49327,49328,49331,49332,49333,49334,49340,49341,49343,49344,49345,49349,49352,49353,49356,49360,49368,49369,49371,49372,49373,49380,54122,54123,54124,54125,54126,54127,54128,54129,54130,54131,54132,54133,54134,54135,54136,54137,54138,54139,54142,54143,54145,54146,54147,54149,54150,54151,null,null,null,null,null,null,54152,54153,54154,54155,54158,54162,54163,54164,54165,54166,54167,54170,54171,54173,54174,54175,54177,54178,54179,54180,54181,54182,54183,54186,54188,54190,null,null,null,null,null,null,54191,54192,54193,54194,54195,54197,54198,54199,54201,54202,54203,54205,54206,54207,54208,54209,54210,54211,54214,54215,54218,54219,54220,54221,54222,54223,54225,54226,54227,54228,54229,54230,49381,49384,49388,49396,49397,49399,49401,49408,49412,49416,49424,49429,49436,49437,49438,49439,49440,49443,49444,49446,49447,49452,49453,49455,49456,49457,49462,49464,49465,49468,49472,49480,49481,49483,49484,49485,49492,49493,49496,49500,49508,49509,49511,49512,49513,49520,49524,49528,49541,49548,49549,49550,49552,49556,49558,49564,49565,49567,49569,49573,49576,49577,49580,49584,49597,49604,49608,49612,49620,49623,49624,49632,49636,49640,49648,49649,49651,49660,49661,49664,49668,49676,49677,49679,49681,49688,49689,49692,49695,49696,49704,49705,49707,49709,54231,54233,54234,54235,54236,54237,54238,54239,54240,54242,54244,54245,54246,54247,54248,54249,54250,54251,54254,54255,54257,54258,54259,54261,54262,54263,null,null,null,null,null,null,54264,54265,54266,54267,54270,54272,54274,54275,54276,54277,54278,54279,54281,54282,54283,54284,54285,54286,54287,54288,54289,54290,54291,54292,54293,54294,null,null,null,null,null,null,54295,54296,54297,54298,54299,54300,54302,54303,54304,54305,54306,54307,54308,54309,54310,54311,54312,54313,54314,54315,54316,54317,54318,54319,54320,54321,54322,54323,54324,54325,54326,54327,49711,49713,49714,49716,49736,49744,49745,49748,49752,49760,49765,49772,49773,49776,49780,49788,49789,49791,49793,49800,49801,49808,49816,49819,49821,49828,49829,49832,49836,49837,49844,49845,49847,49849,49884,49885,49888,49891,49892,49899,49900,49901,49903,49905,49910,49912,49913,49915,49916,49920,49928,49929,49932,49933,49939,49940,49941,49944,49948,49956,49957,49960,49961,49989,50024,50025,50028,50032,50034,50040,50041,50044,50045,50052,50056,50060,50112,50136,50137,50140,50143,50144,50146,50152,50153,50157,50164,50165,50168,50184,50192,50212,50220,50224,54328,54329,54330,54331,54332,54333,54334,54335,54337,54338,54339,54341,54342,54343,54344,54345,54346,54347,54348,54349,54350,54351,54352,54353,54354,54355,null,null,null,null,null,null,54356,54357,54358,54359,54360,54361,54362,54363,54365,54366,54367,54369,54370,54371,54373,54374,54375,54376,54377,54378,54379,54380,54382,54384,54385,54386,null,null,null,null,null,null,54387,54388,54389,54390,54391,54394,54395,54397,54398,54401,54403,54404,54405,54406,54407,54410,54412,54414,54415,54416,54417,54418,54419,54421,54422,54423,54424,54425,54426,54427,54428,54429,50228,50236,50237,50248,50276,50277,50280,50284,50292,50293,50297,50304,50324,50332,50360,50364,50409,50416,50417,50420,50424,50426,50431,50432,50433,50444,50448,50452,50460,50472,50473,50476,50480,50488,50489,50491,50493,50500,50501,50504,50505,50506,50508,50509,50510,50515,50516,50517,50519,50520,50521,50525,50526,50528,50529,50532,50536,50544,50545,50547,50548,50549,50556,50557,50560,50564,50567,50572,50573,50575,50577,50581,50583,50584,50588,50592,50601,50612,50613,50616,50617,50619,50620,50621,50622,50628,50629,50630,50631,50632,50633,50634,50636,50638,54430,54431,54432,54433,54434,54435,54436,54437,54438,54439,54440,54442,54443,54444,54445,54446,54447,54448,54449,54450,54451,54452,54453,54454,54455,54456,null,null,null,null,null,null,54457,54458,54459,54460,54461,54462,54463,54464,54465,54466,54467,54468,54469,54470,54471,54472,54473,54474,54475,54477,54478,54479,54481,54482,54483,54485,null,null,null,null,null,null,54486,54487,54488,54489,54490,54491,54493,54494,54496,54497,54498,54499,54500,54501,54502,54503,54505,54506,54507,54509,54510,54511,54513,54514,54515,54516,54517,54518,54519,54521,54522,54524,50640,50641,50644,50648,50656,50657,50659,50661,50668,50669,50670,50672,50676,50678,50679,50684,50685,50686,50687,50688,50689,50693,50694,50695,50696,50700,50704,50712,50713,50715,50716,50724,50725,50728,50732,50733,50734,50736,50739,50740,50741,50743,50745,50747,50752,50753,50756,50760,50768,50769,50771,50772,50773,50780,50781,50784,50796,50799,50801,50808,50809,50812,50816,50824,50825,50827,50829,50836,50837,50840,50844,50852,50853,50855,50857,50864,50865,50868,50872,50873,50874,50880,50881,50883,50885,50892,50893,50896,50900,50908,50909,50912,50913,50920,54526,54527,54528,54529,54530,54531,54533,54534,54535,54537,54538,54539,54541,54542,54543,54544,54545,54546,54547,54550,54552,54553,54554,54555,54556,54557,null,null,null,null,null,null,54558,54559,54560,54561,54562,54563,54564,54565,54566,54567,54568,54569,54570,54571,54572,54573,54574,54575,54576,54577,54578,54579,54580,54581,54582,54583,null,null,null,null,null,null,54584,54585,54586,54587,54590,54591,54593,54594,54595,54597,54598,54599,54600,54601,54602,54603,54606,54608,54610,54611,54612,54613,54614,54615,54618,54619,54621,54622,54623,54625,54626,54627,50921,50924,50928,50936,50937,50941,50948,50949,50952,50956,50964,50965,50967,50969,50976,50977,50980,50984,50992,50993,50995,50997,50999,51004,51005,51008,51012,51018,51020,51021,51023,51025,51026,51027,51028,51029,51030,51031,51032,51036,51040,51048,51051,51060,51061,51064,51068,51069,51070,51075,51076,51077,51079,51080,51081,51082,51086,51088,51089,51092,51094,51095,51096,51098,51104,51105,51107,51108,51109,51110,51116,51117,51120,51124,51132,51133,51135,51136,51137,51144,51145,51148,51150,51152,51160,51165,51172,51176,51180,51200,51201,51204,51208,51210,54628,54630,54631,54634,54636,54638,54639,54640,54641,54642,54643,54646,54647,54649,54650,54651,54653,54654,54655,54656,54657,54658,54659,54662,54666,54667,null,null,null,null,null,null,54668,54669,54670,54671,54673,54674,54675,54676,54677,54678,54679,54680,54681,54682,54683,54684,54685,54686,54687,54688,54689,54690,54691,54692,54694,54695,null,null,null,null,null,null,54696,54697,54698,54699,54700,54701,54702,54703,54704,54705,54706,54707,54708,54709,54710,54711,54712,54713,54714,54715,54716,54717,54718,54719,54720,54721,54722,54723,54724,54725,54726,54727,51216,51217,51219,51221,51222,51228,51229,51232,51236,51244,51245,51247,51249,51256,51260,51264,51272,51273,51276,51277,51284,51312,51313,51316,51320,51322,51328,51329,51331,51333,51334,51335,51339,51340,51341,51348,51357,51359,51361,51368,51388,51389,51396,51400,51404,51412,51413,51415,51417,51424,51425,51428,51445,51452,51453,51456,51460,51461,51462,51468,51469,51471,51473,51480,51500,51508,51536,51537,51540,51544,51552,51553,51555,51564,51568,51572,51580,51592,51593,51596,51600,51608,51609,51611,51613,51648,51649,51652,51655,51656,51658,51664,51665,51667,54730,54731,54733,54734,54735,54737,54739,54740,54741,54742,54743,54746,54748,54750,54751,54752,54753,54754,54755,54758,54759,54761,54762,54763,54765,54766,null,null,null,null,null,null,54767,54768,54769,54770,54771,54774,54776,54778,54779,54780,54781,54782,54783,54786,54787,54789,54790,54791,54793,54794,54795,54796,54797,54798,54799,54802,null,null,null,null,null,null,54806,54807,54808,54809,54810,54811,54813,54814,54815,54817,54818,54819,54821,54822,54823,54824,54825,54826,54827,54828,54830,54831,54832,54833,54834,54835,54836,54837,54838,54839,54842,54843,51669,51670,51673,51674,51676,51677,51680,51682,51684,51687,51692,51693,51695,51696,51697,51704,51705,51708,51712,51720,51721,51723,51724,51725,51732,51736,51753,51788,51789,51792,51796,51804,51805,51807,51808,51809,51816,51837,51844,51864,51900,51901,51904,51908,51916,51917,51919,51921,51923,51928,51929,51936,51948,51956,51976,51984,51988,51992,52e3,52001,52033,52040,52041,52044,52048,52056,52057,52061,52068,52088,52089,52124,52152,52180,52196,52199,52201,52236,52237,52240,52244,52252,52253,52257,52258,52263,52264,52265,52268,52270,52272,52280,52281,52283,54845,54846,54847,54849,54850,54851,54852,54854,54855,54858,54860,54862,54863,54864,54866,54867,54870,54871,54873,54874,54875,54877,54878,54879,54880,54881,null,null,null,null,null,null,54882,54883,54884,54885,54886,54888,54890,54891,54892,54893,54894,54895,54898,54899,54901,54902,54903,54904,54905,54906,54907,54908,54909,54910,54911,54912,null,null,null,null,null,null,54913,54914,54916,54918,54919,54920,54921,54922,54923,54926,54927,54929,54930,54931,54933,54934,54935,54936,54937,54938,54939,54940,54942,54944,54946,54947,54948,54949,54950,54951,54953,54954,52284,52285,52286,52292,52293,52296,52300,52308,52309,52311,52312,52313,52320,52324,52326,52328,52336,52341,52376,52377,52380,52384,52392,52393,52395,52396,52397,52404,52405,52408,52412,52420,52421,52423,52425,52432,52436,52452,52460,52464,52481,52488,52489,52492,52496,52504,52505,52507,52509,52516,52520,52524,52537,52572,52576,52580,52588,52589,52591,52593,52600,52616,52628,52629,52632,52636,52644,52645,52647,52649,52656,52676,52684,52688,52712,52716,52720,52728,52729,52731,52733,52740,52744,52748,52756,52761,52768,52769,52772,52776,52784,52785,52787,52789,54955,54957,54958,54959,54961,54962,54963,54964,54965,54966,54967,54968,54970,54972,54973,54974,54975,54976,54977,54978,54979,54982,54983,54985,54986,54987,null,null,null,null,null,null,54989,54990,54991,54992,54994,54995,54997,54998,55e3,55002,55003,55004,55005,55006,55007,55009,55010,55011,55013,55014,55015,55017,55018,55019,55020,55021,null,null,null,null,null,null,55022,55023,55025,55026,55027,55028,55030,55031,55032,55033,55034,55035,55038,55039,55041,55042,55043,55045,55046,55047,55048,55049,55050,55051,55052,55053,55054,55055,55056,55058,55059,55060,52824,52825,52828,52831,52832,52833,52840,52841,52843,52845,52852,52853,52856,52860,52868,52869,52871,52873,52880,52881,52884,52888,52896,52897,52899,52900,52901,52908,52909,52929,52964,52965,52968,52971,52972,52980,52981,52983,52984,52985,52992,52993,52996,53e3,53008,53009,53011,53013,53020,53024,53028,53036,53037,53039,53040,53041,53048,53076,53077,53080,53084,53092,53093,53095,53097,53104,53105,53108,53112,53120,53125,53132,53153,53160,53168,53188,53216,53217,53220,53224,53232,53233,53235,53237,53244,53248,53252,53265,53272,53293,53300,53301,53304,53308,55061,55062,55063,55066,55067,55069,55070,55071,55073,55074,55075,55076,55077,55078,55079,55082,55084,55086,55087,55088,55089,55090,55091,55094,55095,55097,null,null,null,null,null,null,55098,55099,55101,55102,55103,55104,55105,55106,55107,55109,55110,55112,55114,55115,55116,55117,55118,55119,55122,55123,55125,55130,55131,55132,55133,55134,null,null,null,null,null,null,55135,55138,55140,55142,55143,55144,55146,55147,55149,55150,55151,55153,55154,55155,55157,55158,55159,55160,55161,55162,55163,55166,55167,55168,55170,55171,55172,55173,55174,55175,55178,55179,53316,53317,53319,53321,53328,53332,53336,53344,53356,53357,53360,53364,53372,53373,53377,53412,53413,53416,53420,53428,53429,53431,53433,53440,53441,53444,53448,53449,53456,53457,53459,53460,53461,53468,53469,53472,53476,53484,53485,53487,53488,53489,53496,53517,53552,53553,53556,53560,53562,53568,53569,53571,53572,53573,53580,53581,53584,53588,53596,53597,53599,53601,53608,53612,53628,53636,53640,53664,53665,53668,53672,53680,53681,53683,53685,53690,53692,53696,53720,53748,53752,53767,53769,53776,53804,53805,53808,53812,53820,53821,53823,53825,53832,53852,55181,55182,55183,55185,55186,55187,55188,55189,55190,55191,55194,55196,55198,55199,55200,55201,55202,55203,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,53860,53888,53889,53892,53896,53904,53905,53909,53916,53920,53924,53932,53937,53944,53945,53948,53951,53952,53954,53960,53961,53963,53972,53976,53980,53988,53989,54e3,54001,54004,54008,54016,54017,54019,54021,54028,54029,54030,54032,54036,54038,54044,54045,54047,54048,54049,54053,54056,54057,54060,54064,54072,54073,54075,54076,54077,54084,54085,54140,54141,54144,54148,54156,54157,54159,54160,54161,54168,54169,54172,54176,54184,54185,54187,54189,54196,54200,54204,54212,54213,54216,54217,54224,54232,54241,54243,54252,54253,54256,54260,54268,54269,54271,54273,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,54280,54301,54336,54340,54364,54368,54372,54381,54383,54392,54393,54396,54399,54400,54402,54408,54409,54411,54413,54420,54441,54476,54480,54484,54492,54495,54504,54508,54512,54520,54523,54525,54532,54536,54540,54548,54549,54551,54588,54589,54592,54596,54604,54605,54607,54609,54616,54617,54620,54624,54629,54632,54633,54635,54637,54644,54645,54648,54652,54660,54661,54663,54664,54665,54672,54693,54728,54729,54732,54736,54738,54744,54745,54747,54749,54756,54757,54760,54764,54772,54773,54775,54777,54784,54785,54788,54792,54800,54801,54803,54804,54805,54812,54816,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,54820,54829,54840,54841,54844,54848,54853,54856,54857,54859,54861,54865,54868,54869,54872,54876,54887,54889,54896,54897,54900,54915,54917,54924,54925,54928,54932,54941,54943,54945,54952,54956,54960,54969,54971,54980,54981,54984,54988,54993,54996,54999,55001,55008,55012,55016,55024,55029,55036,55037,55040,55044,55057,55064,55065,55068,55072,55080,55081,55083,55085,55092,55093,55096,55100,55108,55111,55113,55120,55121,55124,55126,55127,55128,55129,55136,55137,55139,55141,55145,55148,55152,55156,55164,55165,55169,55176,55177,55180,55184,55192,55193,55195,55197,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,20285,20339,20551,20729,21152,21487,21621,21733,22025,23233,23478,26247,26550,26551,26607,27468,29634,30146,31292,33499,33540,34903,34952,35382,36040,36303,36603,36838,39381,21051,21364,21508,24682,24932,27580,29647,33050,35258,35282,38307,20355,21002,22718,22904,23014,24178,24185,25031,25536,26438,26604,26751,28567,30286,30475,30965,31240,31487,31777,32925,33390,33393,35563,38291,20075,21917,26359,28212,30883,31469,33883,35088,34638,38824,21208,22350,22570,23884,24863,25022,25121,25954,26577,27204,28187,29976,30131,30435,30640,32058,37039,37969,37970,40853,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,21283,23724,30002,32987,37440,38296,21083,22536,23004,23713,23831,24247,24378,24394,24951,27743,30074,30086,31968,32115,32177,32652,33108,33313,34193,35137,35611,37628,38477,40007,20171,20215,20491,20977,22607,24887,24894,24936,25913,27114,28433,30117,30342,30422,31623,33445,33995,63744,37799,38283,21888,23458,22353,63745,31923,32697,37301,20520,21435,23621,24040,25298,25454,25818,25831,28192,28844,31067,36317,36382,63746,36989,37445,37624,20094,20214,20581,24062,24314,24838,26967,33137,34388,36423,37749,39467,20062,20625,26480,26688,20745,21133,21138,27298,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,30652,37392,40660,21163,24623,36850,20552,25001,25581,25802,26684,27268,28608,33160,35233,38548,22533,29309,29356,29956,32121,32365,32937,35211,35700,36963,40273,25225,27770,28500,32080,32570,35363,20860,24906,31645,35609,37463,37772,20140,20435,20510,20670,20742,21185,21197,21375,22384,22659,24218,24465,24950,25004,25806,25964,26223,26299,26356,26775,28039,28805,28913,29855,29861,29898,30169,30828,30956,31455,31478,32069,32147,32789,32831,33051,33686,35686,36629,36885,37857,38915,38968,39514,39912,20418,21843,22586,22865,23395,23622,24760,25106,26690,26800,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,26856,28330,30028,30328,30926,31293,31995,32363,32380,35336,35489,35903,38542,40388,21476,21481,21578,21617,22266,22993,23396,23611,24235,25335,25911,25925,25970,26272,26543,27073,27837,30204,30352,30590,31295,32660,32771,32929,33167,33510,33533,33776,34241,34865,34996,35493,63747,36764,37678,38599,39015,39640,40723,21741,26011,26354,26767,31296,35895,40288,22256,22372,23825,26118,26801,26829,28414,29736,34974,39908,27752,63748,39592,20379,20844,20849,21151,23380,24037,24656,24685,25329,25511,25915,29657,31354,34467,36002,38799,20018,23521,25096,26524,29916,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,31185,33747,35463,35506,36328,36942,37707,38982,24275,27112,34303,37101,63749,20896,23448,23532,24931,26874,27454,28748,29743,29912,31649,32592,33733,35264,36011,38364,39208,21038,24669,25324,36866,20362,20809,21281,22745,24291,26336,27960,28826,29378,29654,31568,33009,37979,21350,25499,32619,20054,20608,22602,22750,24618,24871,25296,27088,39745,23439,32024,32945,36703,20132,20689,21676,21932,23308,23968,24039,25898,25934,26657,27211,29409,30350,30703,32094,32761,33184,34126,34527,36611,36686,37066,39171,39509,39851,19992,20037,20061,20167,20465,20855,21246,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,21312,21475,21477,21646,22036,22389,22434,23495,23943,24272,25084,25304,25937,26552,26601,27083,27472,27590,27628,27714,28317,28792,29399,29590,29699,30655,30697,31350,32127,32777,33276,33285,33290,33503,34914,35635,36092,36544,36881,37041,37476,37558,39378,39493,40169,40407,40860,22283,23616,33738,38816,38827,40628,21531,31384,32676,35033,36557,37089,22528,23624,25496,31391,23470,24339,31353,31406,33422,36524,20518,21048,21240,21367,22280,25331,25458,27402,28099,30519,21413,29527,34152,36470,38357,26426,27331,28528,35437,36556,39243,63750,26231,27512,36020,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,39740,63751,21483,22317,22862,25542,27131,29674,30789,31418,31429,31998,33909,35215,36211,36917,38312,21243,22343,30023,31584,33740,37406,63752,27224,20811,21067,21127,25119,26840,26997,38553,20677,21156,21220,25027,26020,26681,27135,29822,31563,33465,33771,35250,35641,36817,39241,63753,20170,22935,25810,26129,27278,29748,31105,31165,33449,34942,34943,35167,63754,37670,20235,21450,24613,25201,27762,32026,32102,20120,20834,30684,32943,20225,20238,20854,20864,21980,22120,22331,22522,22524,22804,22855,22931,23492,23696,23822,24049,24190,24524,25216,26071,26083,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,26398,26399,26462,26827,26820,27231,27450,27683,27773,27778,28103,29592,29734,29738,29826,29859,30072,30079,30849,30959,31041,31047,31048,31098,31637,32e3,32186,32648,32774,32813,32908,35352,35663,35912,36215,37665,37668,39138,39249,39438,39439,39525,40594,32202,20342,21513,25326,26708,37329,21931,20794,63755,63756,23068,25062,63757,25295,25343,63758,63759,63760,63761,63762,63763,37027,63764,63765,63766,63767,63768,35582,63769,63770,63771,63772,26262,63773,29014,63774,63775,38627,63776,25423,25466,21335,63777,26511,26976,28275,63778,30007,63779,63780,63781,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,32013,63782,63783,34930,22218,23064,63784,63785,63786,63787,63788,20035,63789,20839,22856,26608,32784,63790,22899,24180,25754,31178,24565,24684,25288,25467,23527,23511,21162,63791,22900,24361,24594,63792,63793,63794,29785,63795,63796,63797,63798,63799,63800,39377,63801,63802,63803,63804,63805,63806,63807,63808,63809,63810,63811,28611,63812,63813,33215,36786,24817,63814,63815,33126,63816,63817,23615,63818,63819,63820,63821,63822,63823,63824,63825,23273,35365,26491,32016,63826,63827,63828,63829,63830,63831,33021,63832,63833,23612,27877,21311,28346,22810,33590,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,20025,20150,20294,21934,22296,22727,24406,26039,26086,27264,27573,28237,30701,31471,31774,32222,34507,34962,37170,37723,25787,28606,29562,30136,36948,21846,22349,25018,25812,26311,28129,28251,28525,28601,30192,32835,33213,34113,35203,35527,35674,37663,27795,30035,31572,36367,36957,21776,22530,22616,24162,25095,25758,26848,30070,31958,34739,40680,20195,22408,22382,22823,23565,23729,24118,24453,25140,25825,29619,33274,34955,36024,38538,40667,23429,24503,24755,20498,20992,21040,22294,22581,22615,23566,23648,23798,23947,24230,24466,24764,25361,25481,25623,26691,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,26873,27330,28120,28193,28372,28644,29182,30428,30585,31153,31291,33796,35241,36077,36339,36424,36867,36884,36947,37117,37709,38518,38876,27602,28678,29272,29346,29544,30563,31167,31716,32411,35712,22697,24775,25958,26109,26302,27788,28958,29129,35930,38931,20077,31361,20189,20908,20941,21205,21516,24999,26481,26704,26847,27934,28540,30140,30643,31461,33012,33891,37509,20828,26007,26460,26515,30168,31431,33651,63834,35910,36887,38957,23663,33216,33434,36929,36975,37389,24471,23965,27225,29128,30331,31561,34276,35588,37159,39472,21895,25078,63835,30313,32645,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,34367,34746,35064,37007,63836,27931,28889,29662,32097,33853,63837,37226,39409,63838,20098,21365,27396,27410,28734,29211,34349,40478,21068,36771,23888,25829,25900,27414,28651,31811,32412,34253,35172,35261,25289,33240,34847,24266,26391,28010,29436,29701,29807,34690,37086,20358,23821,24480,33802,20919,25504,30053,20142,20486,20841,20937,26753,27153,31918,31921,31975,33391,35538,36635,37327,20406,20791,21237,21570,24300,24942,25150,26053,27354,28670,31018,34268,34851,38317,39522,39530,40599,40654,21147,26310,27511,28701,31019,36706,38722,24976,25088,25891,28451,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,29001,29833,32244,32879,34030,36646,36899,37706,20925,21015,21155,27916,28872,35010,24265,25986,27566,28610,31806,29557,20196,20278,22265,63839,23738,23994,24604,29618,31533,32666,32718,32838,36894,37428,38646,38728,38936,40801,20363,28583,31150,37300,38583,21214,63840,25736,25796,27347,28510,28696,29200,30439,32769,34310,34396,36335,36613,38706,39791,40442,40565,30860,31103,32160,33737,37636,40575,40595,35542,22751,24324,26407,28711,29903,31840,32894,20769,28712,29282,30922,36034,36058,36084,38647,20102,20698,23534,24278,26009,29134,30274,30637,32842,34044,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,36988,39719,40845,22744,23105,23650,27155,28122,28431,30267,32047,32311,34078,35128,37860,38475,21129,26066,26611,27060,27969,28316,28687,29705,29792,30041,30244,30827,35628,39006,20845,25134,38520,20374,20523,23833,28138,32184,36650,24459,24900,26647,63841,38534,21202,32907,20956,20940,26974,31260,32190,33777,38517,20442,21033,21400,21519,21774,23653,24743,26446,26792,28012,29313,29432,29702,29827,63842,30178,31852,32633,32696,33673,35023,35041,37324,37328,38626,39881,21533,28542,29136,29848,34298,36522,38563,40023,40607,26519,28107,29747,33256,38678,30764,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,31435,31520,31890,25705,29802,30194,30908,30952,39340,39764,40635,23518,24149,28448,33180,33707,37e3,19975,21325,23081,24018,24398,24930,25405,26217,26364,28415,28459,28771,30622,33836,34067,34875,36627,39237,39995,21788,25273,26411,27819,33545,35178,38778,20129,22916,24536,24537,26395,32178,32596,33426,33579,33725,36638,37017,22475,22969,23186,23504,26151,26522,26757,27599,29028,32629,36023,36067,36993,39749,33032,35978,38476,39488,40613,23391,27667,29467,30450,30431,33804,20906,35219,20813,20885,21193,26825,27796,30468,30496,32191,32236,38754,40629,28357,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,34065,20901,21517,21629,26126,26269,26919,28319,30399,30609,33559,33986,34719,37225,37528,40180,34946,20398,20882,21215,22982,24125,24917,25720,25721,26286,26576,27169,27597,27611,29279,29281,29761,30520,30683,32791,33468,33541,35584,35624,35980,26408,27792,29287,30446,30566,31302,40361,27519,27794,22818,26406,33945,21359,22675,22937,24287,25551,26164,26483,28218,29483,31447,33495,37672,21209,24043,25006,25035,25098,25287,25771,26080,26969,27494,27595,28961,29687,30045,32326,33310,33538,34154,35491,36031,38695,40289,22696,40664,20497,21006,21563,21839,25991,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,27766,32010,32011,32862,34442,38272,38639,21247,27797,29289,21619,23194,23614,23883,24396,24494,26410,26806,26979,28220,28228,30473,31859,32654,34183,35598,36855,38753,40692,23735,24758,24845,25003,25935,26107,26108,27665,27887,29599,29641,32225,38292,23494,34588,35600,21085,21338,25293,25615,25778,26420,27192,27850,29632,29854,31636,31893,32283,33162,33334,34180,36843,38649,39361,20276,21322,21453,21467,25292,25644,25856,26001,27075,27886,28504,29677,30036,30242,30436,30460,30928,30971,31020,32070,33324,34784,36820,38930,39151,21187,25300,25765,28196,28497,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,30332,36299,37297,37474,39662,39747,20515,20621,22346,22952,23592,24135,24439,25151,25918,26041,26049,26121,26507,27036,28354,30917,32033,32938,33152,33323,33459,33953,34444,35370,35607,37030,38450,40848,20493,20467,63843,22521,24472,25308,25490,26479,28227,28953,30403,32972,32986,35060,35061,35097,36064,36649,37197,38506,20271,20336,24091,26575,26658,30333,30334,39748,24161,27146,29033,29140,30058,63844,32321,34115,34281,39132,20240,31567,32624,38309,20961,24070,26805,27710,27726,27867,29359,31684,33539,27861,29754,20731,21128,22721,25816,27287,29863,30294,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,30887,34327,38370,38713,63845,21342,24321,35722,36776,36783,37002,21029,30629,40009,40712,19993,20482,20853,23643,24183,26142,26170,26564,26821,28851,29953,30149,31177,31453,36647,39200,39432,20445,22561,22577,23542,26222,27493,27921,28282,28541,29668,29995,33769,35036,35091,35676,36628,20239,20693,21264,21340,23443,24489,26381,31119,33145,33583,34068,35079,35206,36665,36667,39333,39954,26412,20086,20472,22857,23553,23791,23792,25447,26834,28925,29090,29739,32299,34028,34562,36898,37586,40179,19981,20184,20463,20613,21078,21103,21542,21648,22496,22827,23142,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,23386,23413,23500,24220,63846,25206,25975,26023,28014,28325,29238,31526,31807,32566,33104,33105,33178,33344,33433,33705,35331,36e3,36070,36091,36212,36282,37096,37340,38428,38468,39385,40167,21271,20998,21545,22132,22707,22868,22894,24575,24996,25198,26128,27774,28954,30406,31881,31966,32027,33452,36033,38640,63847,20315,24343,24447,25282,23849,26379,26842,30844,32323,40300,19989,20633,21269,21290,21329,22915,23138,24199,24754,24970,25161,25209,26e3,26503,27047,27604,27606,27607,27608,27832,63848,29749,30202,30738,30865,31189,31192,31875,32203,32737,32933,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,33086,33218,33778,34586,35048,35513,35692,36027,37145,38750,39131,40763,22188,23338,24428,25996,27315,27567,27996,28657,28693,29277,29613,36007,36051,38971,24977,27703,32856,39425,20045,20107,20123,20181,20282,20284,20351,20447,20735,21490,21496,21766,21987,22235,22763,22882,23057,23531,23546,23556,24051,24107,24473,24605,25448,26012,26031,26614,26619,26797,27515,27801,27863,28195,28681,29509,30722,31038,31040,31072,31169,31721,32023,32114,32902,33293,33678,34001,34503,35039,35408,35422,35613,36060,36198,36781,37034,39164,39391,40605,21066,63849,26388,63850,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,20632,21034,23665,25955,27733,29642,29987,30109,31639,33948,37240,38704,20087,25746,27578,29022,34217,19977,63851,26441,26862,28183,33439,34072,34923,25591,28545,37394,39087,19978,20663,20687,20767,21830,21930,22039,23360,23577,23776,24120,24202,24224,24258,24819,26705,27233,28248,29245,29248,29376,30456,31077,31665,32724,35059,35316,35443,35937,36062,38684,22622,29885,36093,21959,63852,31329,32034,33394,29298,29983,29989,63853,31513,22661,22779,23996,24207,24246,24464,24661,25234,25471,25933,26257,26329,26360,26646,26866,29312,29790,31598,32110,32214,32626,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,32997,33298,34223,35199,35475,36893,37604,40653,40736,22805,22893,24109,24796,26132,26227,26512,27728,28101,28511,30707,30889,33990,37323,37675,20185,20682,20808,21892,23307,23459,25159,25982,26059,28210,29053,29697,29764,29831,29887,30316,31146,32218,32341,32680,33146,33203,33337,34330,34796,35445,36323,36984,37521,37925,39245,39854,21352,23633,26964,27844,27945,28203,33292,34203,35131,35373,35498,38634,40807,21089,26297,27570,32406,34814,36109,38275,38493,25885,28041,29166,63854,22478,22995,23468,24615,24826,25104,26143,26207,29481,29689,30427,30465,31596,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,32854,32882,33125,35488,37266,19990,21218,27506,27927,31237,31545,32048,63855,36016,21484,22063,22609,23477,23567,23569,24034,25152,25475,25620,26157,26803,27836,28040,28335,28703,28836,29138,29990,30095,30094,30233,31505,31712,31787,32032,32057,34092,34157,34311,35380,36877,36961,37045,37559,38902,39479,20439,23660,26463,28049,31903,32396,35606,36118,36895,23403,24061,25613,33984,36956,39137,29575,23435,24730,26494,28126,35359,35494,36865,38924,21047,63856,28753,30862,37782,34928,37335,20462,21463,22013,22234,22402,22781,23234,23432,23723,23744,24101,24833,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,25101,25163,25480,25628,25910,25976,27193,27530,27700,27929,28465,29159,29417,29560,29703,29874,30246,30561,31168,31319,31466,31929,32143,32172,32353,32670,33065,33585,33936,34010,34282,34966,35504,35728,36664,36930,36995,37228,37526,37561,38539,38567,38568,38614,38656,38920,39318,39635,39706,21460,22654,22809,23408,23487,28113,28506,29087,29729,29881,32901,33789,24033,24455,24490,24642,26092,26642,26991,27219,27529,27957,28147,29667,30462,30636,31565,32020,33059,33308,33600,34036,34147,35426,35524,37255,37662,38918,39348,25100,34899,36848,37477,23815,23847,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,23913,29791,33181,34664,28629,25342,32722,35126,35186,19998,20056,20711,21213,21319,25215,26119,32361,34821,38494,20365,21273,22070,22987,23204,23608,23630,23629,24066,24337,24643,26045,26159,26178,26558,26612,29468,30690,31034,32709,33940,33997,35222,35430,35433,35553,35925,35962,22516,23508,24335,24687,25325,26893,27542,28252,29060,31698,34645,35672,36606,39135,39166,20280,20353,20449,21627,23072,23480,24892,26032,26216,29180,30003,31070,32051,33102,33251,33688,34218,34254,34563,35338,36523,36763,63857,36805,22833,23460,23526,24713,23529,23563,24515,27777,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,63858,28145,28683,29978,33455,35574,20160,21313,63859,38617,27663,20126,20420,20818,21854,23077,23784,25105,29273,33469,33706,34558,34905,35357,38463,38597,39187,40201,40285,22538,23731,23997,24132,24801,24853,25569,27138,28197,37122,37716,38990,39952,40823,23433,23736,25353,26191,26696,30524,38593,38797,38996,39839,26017,35585,36555,38332,21813,23721,24022,24245,26263,30284,33780,38343,22739,25276,29390,40232,20208,22830,24591,26171,27523,31207,40230,21395,21696,22467,23830,24859,26326,28079,30861,33406,38552,38724,21380,25212,25494,28082,32266,33099,38989,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,27387,32588,40367,40474,20063,20539,20918,22812,24825,25590,26928,29242,32822,63860,37326,24369,63861,63862,32004,33509,33903,33979,34277,36493,63863,20335,63864,63865,22756,23363,24665,25562,25880,25965,26264,63866,26954,27171,27915,28673,29036,30162,30221,31155,31344,63867,32650,63868,35140,63869,35731,37312,38525,63870,39178,22276,24481,26044,28417,30208,31142,35486,39341,39770,40812,20740,25014,25233,27277,33222,20547,22576,24422,28937,35328,35578,23420,34326,20474,20796,22196,22852,25513,28153,23978,26989,20870,20104,20313,63871,63872,63873,22914,63874,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,63875,27487,27741,63876,29877,30998,63877,33287,33349,33593,36671,36701,63878,39192,63879,63880,63881,20134,63882,22495,24441,26131,63883,63884,30123,32377,35695,63885,36870,39515,22181,22567,23032,23071,23476,63886,24310,63887,63888,25424,25403,63889,26941,27783,27839,28046,28051,28149,28436,63890,28895,28982,29017,63891,29123,29141,63892,30799,30831,63893,31605,32227,63894,32303,63895,34893,36575,63896,63897,63898,37467,63899,40182,63900,63901,63902,24709,28037,63903,29105,63904,63905,38321,21421,63906,63907,63908,26579,63909,28814,28976,29744,33398,33490,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,63910,38331,39653,40573,26308,63911,29121,33865,63912,63913,22603,63914,63915,23992,24433,63916,26144,26254,27001,27054,27704,27891,28214,28481,28634,28699,28719,29008,29151,29552,63917,29787,63918,29908,30408,31310,32403,63919,63920,33521,35424,36814,63921,37704,63922,38681,63923,63924,20034,20522,63925,21e3,21473,26355,27757,28618,29450,30591,31330,33454,34269,34306,63926,35028,35427,35709,35947,63927,37555,63928,38675,38928,20116,20237,20425,20658,21320,21566,21555,21978,22626,22714,22887,23067,23524,24735,63929,25034,25942,26111,26212,26791,27738,28595,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,28879,29100,29522,31613,34568,35492,39986,40711,23627,27779,29508,29577,37434,28331,29797,30239,31337,32277,34314,20800,22725,25793,29934,29973,30320,32705,37013,38605,39252,28198,29926,31401,31402,33253,34521,34680,35355,23113,23436,23451,26785,26880,28003,29609,29715,29740,30871,32233,32747,33048,33109,33694,35916,38446,38929,26352,24448,26106,26505,27754,29579,20525,23043,27498,30702,22806,23916,24013,29477,30031,63930,63931,20709,20985,22575,22829,22934,23002,23525,63932,63933,23970,25303,25622,25747,25854,63934,26332,63935,27208,63936,29183,29796,63937,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,31368,31407,32327,32350,32768,33136,63938,34799,35201,35616,36953,63939,36992,39250,24958,27442,28020,32287,35109,36785,20433,20653,20887,21191,22471,22665,23481,24248,24898,27029,28044,28263,28342,29076,29794,29992,29996,32883,33592,33993,36362,37780,37854,63940,20110,20305,20598,20778,21448,21451,21491,23431,23507,23588,24858,24962,26100,29275,29591,29760,30402,31056,31121,31161,32006,32701,33419,34261,34398,36802,36935,37109,37354,38533,38632,38633,21206,24423,26093,26161,26671,29020,31286,37057,38922,20113,63941,27218,27550,28560,29065,32792,33464,34131,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,36939,38549,38642,38907,34074,39729,20112,29066,38596,20803,21407,21729,22291,22290,22435,23195,23236,23491,24616,24895,25588,27781,27961,28274,28304,29232,29503,29783,33489,34945,36677,36960,63942,38498,39e3,40219,26376,36234,37470,20301,20553,20702,21361,22285,22996,23041,23561,24944,26256,28205,29234,29771,32239,32963,33806,33894,34111,34655,34907,35096,35586,36949,38859,39759,20083,20369,20754,20842,63943,21807,21929,23418,23461,24188,24189,24254,24736,24799,24840,24841,25540,25912,26377,63944,26580,26586,63945,26977,26978,27833,27943,63946,28216,63947,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,28641,29494,29495,63948,29788,30001,63949,30290,63950,63951,32173,33278,33848,35029,35480,35547,35565,36400,36418,36938,36926,36986,37193,37321,37742,63952,63953,22537,63954,27603,32905,32946,63955,63956,20801,22891,23609,63957,63958,28516,29607,32996,36103,63959,37399,38287,63960,63961,63962,63963,32895,25102,28700,32104,34701,63964,22432,24681,24903,27575,35518,37504,38577,20057,21535,28139,34093,38512,38899,39150,25558,27875,37009,20957,25033,33210,40441,20381,20506,20736,23452,24847,25087,25836,26885,27589,30097,30691,32681,33380,34191,34811,34915,35516,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,35696,37291,20108,20197,20234,63965,63966,22839,23016,63967,24050,24347,24411,24609,63968,63969,63970,63971,29246,29669,63972,30064,30157,63973,31227,63974,32780,32819,32900,33505,33617,63975,63976,36029,36019,36999,63977,63978,39156,39180,63979,63980,28727,30410,32714,32716,32764,35610,20154,20161,20995,21360,63981,21693,22240,23035,23493,24341,24525,28270,63982,63983,32106,33589,63984,34451,35469,63985,38765,38775,63986,63987,19968,20314,20350,22777,26085,28322,36920,37808,39353,20219,22764,22922,23001,24641,63988,63989,31252,63990,33615,36035,20837,21316,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,63991,63992,63993,20173,21097,23381,33471,20180,21050,21672,22985,23039,23376,23383,23388,24675,24904,28363,28825,29038,29574,29943,30133,30913,32043,32773,33258,33576,34071,34249,35566,36039,38604,20316,21242,22204,26027,26152,28796,28856,29237,32189,33421,37196,38592,40306,23409,26855,27544,28538,30430,23697,26283,28507,31668,31786,34870,38620,19976,20183,21280,22580,22715,22767,22892,23559,24115,24196,24373,25484,26290,26454,27167,27299,27404,28479,29254,63994,29520,29835,31456,31911,33144,33247,33255,33674,33900,34083,34196,34255,35037,36115,37292,38263,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,38556,20877,21705,22312,23472,25165,26448,26685,26771,28221,28371,28797,32289,35009,36001,36617,40779,40782,29229,31631,35533,37658,20295,20302,20786,21632,22992,24213,25269,26485,26990,27159,27822,28186,29401,29482,30141,31672,32053,33511,33785,33879,34295,35419,36015,36487,36889,37048,38606,40799,21219,21514,23265,23490,25688,25973,28404,29380,63995,30340,31309,31515,31821,32318,32735,33659,35627,36042,36196,36321,36447,36842,36857,36969,37841,20291,20346,20659,20840,20856,21069,21098,22625,22652,22880,23560,23637,24283,24731,25136,26643,27583,27656,28593,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,29006,29728,3e4,30008,30033,30322,31564,31627,31661,31686,32399,35438,36670,36681,37439,37523,37666,37931,38651,39002,39019,39198,20999,25130,25240,27993,30308,31434,31680,32118,21344,23742,24215,28472,28857,31896,38673,39822,40670,25509,25722,34678,19969,20117,20141,20572,20597,21576,22979,23450,24128,24237,24311,24449,24773,25402,25919,25972,26060,26230,26232,26622,26984,27273,27491,27712,28096,28136,28191,28254,28702,28833,29582,29693,30010,30555,30855,31118,31243,31357,31934,32142,33351,35330,35562,35998,37165,37194,37336,37478,37580,37664,38662,38742,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,38748,38914,40718,21046,21137,21884,22564,24093,24351,24716,25552,26799,28639,31085,31532,33229,34234,35069,35576,36420,37261,38500,38555,38717,38988,40778,20430,20806,20939,21161,22066,24340,24427,25514,25805,26089,26177,26362,26361,26397,26781,26839,27133,28437,28526,29031,29157,29226,29866,30522,31062,31066,31199,31264,31381,31895,31967,32068,32368,32903,34299,34468,35412,35519,36249,36481,36896,36973,37347,38459,38613,40165,26063,31751,36275,37827,23384,23562,21330,25305,29469,20519,23447,24478,24752,24939,26837,28121,29742,31278,32066,32156,32305,33131,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,36394,36405,37758,37912,20304,22352,24038,24231,25387,32618,20027,20303,20367,20570,23005,32964,21610,21608,22014,22863,23449,24030,24282,26205,26417,26609,26666,27880,27954,28234,28557,28855,29664,30087,31820,32002,32044,32162,33311,34523,35387,35461,36208,36490,36659,36913,37198,37202,37956,39376,31481,31909,20426,20737,20934,22472,23535,23803,26201,27197,27994,28310,28652,28940,30063,31459,34850,36897,36981,38603,39423,33537,20013,20210,34886,37325,21373,27355,26987,27713,33914,22686,24974,26366,25327,28893,29969,30151,32338,33976,35657,36104,20043,21482,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,21675,22320,22336,24535,25345,25351,25711,25903,26088,26234,26525,26547,27490,27744,27802,28460,30693,30757,31049,31063,32025,32930,33026,33267,33437,33463,34584,35468,63996,36100,36286,36978,30452,31257,31287,32340,32887,21767,21972,22645,25391,25634,26185,26187,26733,27035,27524,27941,28337,29645,29800,29857,30043,30137,30433,30494,30603,31206,32265,32285,33275,34095,34967,35386,36049,36587,36784,36914,37805,38499,38515,38663,20356,21489,23018,23241,24089,26702,29894,30142,31209,31378,33187,34541,36074,36300,36845,26015,26389,63997,22519,28503,32221,36655,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,37878,38598,24501,25074,28548,19988,20376,20511,21449,21983,23919,24046,27425,27492,30923,31642,63998,36425,36554,36974,25417,25662,30528,31364,37679,38015,40810,25776,28591,29158,29864,29914,31428,31762,32386,31922,32408,35738,36106,38013,39184,39244,21049,23519,25830,26413,32046,20717,21443,22649,24920,24921,25082,26028,31449,35730,35734,20489,20513,21109,21809,23100,24288,24432,24884,25950,26124,26166,26274,27085,28356,28466,29462,30241,31379,33081,33369,33750,33980,20661,22512,23488,23528,24425,25505,30758,32181,33756,34081,37319,37365,20874,26613,31574,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,36012,20932,22971,24765,34389,20508,63999,21076,23610,24957,25114,25299,25842,26021,28364,30240,33034,36448,38495,38587,20191,21315,21912,22825,24029,25797,27849,28154,29588,31359,33307,34214,36068,36368,36983,37351,38369,38433,38854,20984,21746,21894,24505,25764,28552,32180,36639,36685,37941,20681,23574,27838,28155,29979,30651,31805,31844,35449,35522,22558,22974,24086,25463,29266,30090,30571,35548,36028,36626,24307,26228,28152,32893,33729,35531,38737,39894,64e3,21059,26367,28053,28399,32224,35558,36910,36958,39636,21021,21119,21736,24980,25220,25307,26786,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,26898,26970,27189,28818,28966,30813,30977,30990,31186,31245,32918,33400,33493,33609,34121,35970,36229,37218,37259,37294,20419,22225,29165,30679,34560,35320,23544,24534,26449,37032,21474,22618,23541,24740,24961,25696,32317,32880,34085,37507,25774,20652,23828,26368,22684,25277,25512,26894,27e3,27166,28267,30394,31179,33467,33833,35535,36264,36861,37138,37195,37276,37648,37656,37786,38619,39478,39949,19985,30044,31069,31482,31569,31689,32302,33988,36441,36468,36600,36880,26149,26943,29763,20986,26414,40668,20805,24544,27798,34802,34909,34935,24756,33205,33795,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,36101,21462,21561,22068,23094,23601,28810,32736,32858,33030,33261,36259,37257,39519,40434,20596,20164,21408,24827,28204,23652,20360,20516,21988,23769,24159,24677,26772,27835,28100,29118,30164,30196,30305,31258,31305,32199,32251,32622,33268,34473,36636,38601,39347,40786,21063,21189,39149,35242,19971,26578,28422,20405,23522,26517,27784,28024,29723,30759,37341,37756,34756,31204,31281,24555,20182,21668,21822,22702,22949,24816,25171,25302,26422,26965,33333,38464,39345,39389,20524,21331,21828,22396,64001,25176,64002,25826,26219,26589,28609,28655,29730,29752,35351,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,37944,21585,22022,22374,24392,24986,27470,28760,28845,32187,35477,22890,33067,25506,30472,32829,36010,22612,25645,27067,23445,24081,28271,64003,34153,20812,21488,22826,24608,24907,27526,27760,27888,31518,32974,33492,36294,37040,39089,64004,25799,28580,25745,25860,20814,21520,22303,35342,24927,26742,64005,30171,31570,32113,36890,22534,27084,33151,35114,36864,38969,20600,22871,22956,25237,36879,39722,24925,29305,38358,22369,23110,24052,25226,25773,25850,26487,27874,27966,29228,29750,30772,32631,33453,36315,38935,21028,22338,26495,29256,29923,36009,36774,37393,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,38442,20843,21485,25420,20329,21764,24726,25943,27803,28031,29260,29437,31255,35207,35997,24429,28558,28921,33192,24846,20415,20559,25153,29255,31687,32232,32745,36941,38829,39449,36022,22378,24179,26544,33805,35413,21536,23318,24163,24290,24330,25987,32954,34109,38281,38491,20296,21253,21261,21263,21638,21754,22275,24067,24598,25243,25265,25429,64006,27873,28006,30129,30770,32990,33071,33502,33889,33970,34957,35090,36875,37610,39165,39825,24133,26292,26333,28689,29190,64007,20469,21117,24426,24915,26451,27161,28418,29922,31080,34920,35961,39111,39108,39491,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,21697,31263,26963,35575,35914,39080,39342,24444,25259,30130,30382,34987,36991,38466,21305,24380,24517,27852,29644,30050,30091,31558,33534,39325,20047,36924,19979,20309,21414,22799,24264,26160,27827,29781,33655,34662,36032,36944,38686,39957,22737,23416,34384,35604,40372,23506,24680,24717,26097,27735,28450,28579,28698,32597,32752,38289,38290,38480,38867,21106,36676,20989,21547,21688,21859,21898,27323,28085,32216,33382,37532,38519,40569,21512,21704,30418,34532,38308,38356,38492,20130,20233,23022,23270,24055,24658,25239,26477,26689,27782,28207,32568,32923,33322,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,64008,64009,38917,20133,20565,21683,22419,22874,23401,23475,25032,26999,28023,28707,34809,35299,35442,35559,36994,39405,39608,21182,26680,20502,24184,26447,33607,34892,20139,21521,22190,29670,37141,38911,39177,39255,39321,22099,22687,34395,35377,25010,27382,29563,36562,27463,38570,39511,22869,29184,36203,38761,20436,23796,24358,25080,26203,27883,28843,29572,29625,29694,30505,30541,32067,32098,32291,33335,34898,64010,36066,37449,39023,23377,31348,34880,38913,23244,20448,21332,22846,23805,25406,28025,29433,33029,33031,33698,37583,38960,20136,20804,21009,22411,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,24418,27842,28366,28677,28752,28847,29074,29673,29801,33610,34722,34913,36872,37026,37795,39336,20846,24407,24800,24935,26291,34137,36426,37295,38795,20046,20114,21628,22741,22778,22909,23733,24359,25142,25160,26122,26215,27627,28009,28111,28246,28408,28564,28640,28649,28765,29392,29733,29786,29920,30355,31068,31946,32286,32993,33446,33899,33983,34382,34399,34676,35703,35946,37804,38912,39013,24785,25110,37239,23130,26127,28151,28222,29759,39746,24573,24794,31503,21700,24344,27742,27859,27946,28888,32005,34425,35340,40251,21270,21644,23301,27194,28779,30069,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,31117,31166,33457,33775,35441,35649,36008,38772,64011,25844,25899,30906,30907,31339,20024,21914,22864,23462,24187,24739,25563,27489,26213,26707,28185,29029,29872,32008,36996,39529,39973,27963,28369,29502,35905,38346,20976,24140,24488,24653,24822,24880,24908,26179,26180,27045,27841,28255,28361,28514,29004,29852,30343,31681,31783,33618,34647,36945,38541,40643,21295,22238,24315,24458,24674,24724,25079,26214,26371,27292,28142,28590,28784,29546,32362,33214,33588,34516,35496,36036,21123,29554,23446,27243,37892,21742,22150,23389,25928,25989,26313,26783,28045,28102,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,29243,32948,37237,39501,20399,20505,21402,21518,21564,21897,21957,24127,24460,26429,29030,29661,36869,21211,21235,22628,22734,28932,29071,29179,34224,35347,26248,34216,21927,26244,29002,33841,21321,21913,27585,24409,24509,25582,26249,28999,35569,36637,40638,20241,25658,28875,30054,34407,24676,35662,40440,20807,20982,21256,27958,33016,40657,26133,27427,28824,30165,21507,23673,32007,35350,27424,27453,27462,21560,24688,27965,32725,33288,20694,20958,21916,22123,22221,23020,23305,24076,24985,24984,25137,26206,26342,29081,29113,29114,29351,31143,31232,32690,35440,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],gb18030:[19970,19972,19973,19974,19983,19986,19991,19999,2e4,20001,20003,20006,20009,20014,20015,20017,20019,20021,20023,20028,20032,20033,20034,20036,20038,20042,20049,20053,20055,20058,20059,20066,20067,20068,20069,20071,20072,20074,20075,20076,20077,20078,20079,20082,20084,20085,20086,20087,20088,20089,20090,20091,20092,20093,20095,20096,20097,20098,20099,20100,20101,20103,20106,20112,20118,20119,20121,20124,20125,20126,20131,20138,20143,20144,20145,20148,20150,20151,20152,20153,20156,20157,20158,20168,20172,20175,20176,20178,20186,20187,20188,20192,20194,20198,20199,20201,20205,20206,20207,20209,20212,20216,20217,20218,20220,20222,20224,20226,20227,20228,20229,20230,20231,20232,20235,20236,20242,20243,20244,20245,20246,20252,20253,20257,20259,20264,20265,20268,20269,20270,20273,20275,20277,20279,20281,20283,20286,20287,20288,20289,20290,20292,20293,20295,20296,20297,20298,20299,20300,20306,20308,20310,20321,20322,20326,20328,20330,20331,20333,20334,20337,20338,20341,20343,20344,20345,20346,20349,20352,20353,20354,20357,20358,20359,20362,20364,20366,20368,20370,20371,20373,20374,20376,20377,20378,20380,20382,20383,20385,20386,20388,20395,20397,20400,20401,20402,20403,20404,20406,20407,20408,20409,20410,20411,20412,20413,20414,20416,20417,20418,20422,20423,20424,20425,20427,20428,20429,20434,20435,20436,20437,20438,20441,20443,20448,20450,20452,20453,20455,20459,20460,20464,20466,20468,20469,20470,20471,20473,20475,20476,20477,20479,20480,20481,20482,20483,20484,20485,20486,20487,20488,20489,20490,20491,20494,20496,20497,20499,20501,20502,20503,20507,20509,20510,20512,20514,20515,20516,20519,20523,20527,20528,20529,20530,20531,20532,20533,20534,20535,20536,20537,20539,20541,20543,20544,20545,20546,20548,20549,20550,20553,20554,20555,20557,20560,20561,20562,20563,20564,20566,20567,20568,20569,20571,20573,20574,20575,20576,20577,20578,20579,20580,20582,20583,20584,20585,20586,20587,20589,20590,20591,20592,20593,20594,20595,20596,20597,20600,20601,20602,20604,20605,20609,20610,20611,20612,20614,20615,20617,20618,20619,20620,20622,20623,20624,20625,20626,20627,20628,20629,20630,20631,20632,20633,20634,20635,20636,20637,20638,20639,20640,20641,20642,20644,20646,20650,20651,20653,20654,20655,20656,20657,20659,20660,20661,20662,20663,20664,20665,20668,20669,20670,20671,20672,20673,20674,20675,20676,20677,20678,20679,20680,20681,20682,20683,20684,20685,20686,20688,20689,20690,20691,20692,20693,20695,20696,20697,20699,20700,20701,20702,20703,20704,20705,20706,20707,20708,20709,20712,20713,20714,20715,20719,20720,20721,20722,20724,20726,20727,20728,20729,20730,20732,20733,20734,20735,20736,20737,20738,20739,20740,20741,20744,20745,20746,20748,20749,20750,20751,20752,20753,20755,20756,20757,20758,20759,20760,20761,20762,20763,20764,20765,20766,20767,20768,20770,20771,20772,20773,20774,20775,20776,20777,20778,20779,20780,20781,20782,20783,20784,20785,20786,20787,20788,20789,20790,20791,20792,20793,20794,20795,20796,20797,20798,20802,20807,20810,20812,20814,20815,20816,20818,20819,20823,20824,20825,20827,20829,20830,20831,20832,20833,20835,20836,20838,20839,20841,20842,20847,20850,20858,20862,20863,20867,20868,20870,20871,20874,20875,20878,20879,20880,20881,20883,20884,20888,20890,20893,20894,20895,20897,20899,20902,20903,20904,20905,20906,20909,20910,20916,20920,20921,20922,20926,20927,20929,20930,20931,20933,20936,20938,20941,20942,20944,20946,20947,20948,20949,20950,20951,20952,20953,20954,20956,20958,20959,20962,20963,20965,20966,20967,20968,20969,20970,20972,20974,20977,20978,20980,20983,20990,20996,20997,21001,21003,21004,21007,21008,21011,21012,21013,21020,21022,21023,21025,21026,21027,21029,21030,21031,21034,21036,21039,21041,21042,21044,21045,21052,21054,21060,21061,21062,21063,21064,21065,21067,21070,21071,21074,21075,21077,21079,21080,21081,21082,21083,21085,21087,21088,21090,21091,21092,21094,21096,21099,21100,21101,21102,21104,21105,21107,21108,21109,21110,21111,21112,21113,21114,21115,21116,21118,21120,21123,21124,21125,21126,21127,21129,21130,21131,21132,21133,21134,21135,21137,21138,21140,21141,21142,21143,21144,21145,21146,21148,21156,21157,21158,21159,21166,21167,21168,21172,21173,21174,21175,21176,21177,21178,21179,21180,21181,21184,21185,21186,21188,21189,21190,21192,21194,21196,21197,21198,21199,21201,21203,21204,21205,21207,21209,21210,21211,21212,21213,21214,21216,21217,21218,21219,21221,21222,21223,21224,21225,21226,21227,21228,21229,21230,21231,21233,21234,21235,21236,21237,21238,21239,21240,21243,21244,21245,21249,21250,21251,21252,21255,21257,21258,21259,21260,21262,21265,21266,21267,21268,21272,21275,21276,21278,21279,21282,21284,21285,21287,21288,21289,21291,21292,21293,21295,21296,21297,21298,21299,21300,21301,21302,21303,21304,21308,21309,21312,21314,21316,21318,21323,21324,21325,21328,21332,21336,21337,21339,21341,21349,21352,21354,21356,21357,21362,21366,21369,21371,21372,21373,21374,21376,21377,21379,21383,21384,21386,21390,21391,21392,21393,21394,21395,21396,21398,21399,21401,21403,21404,21406,21408,21409,21412,21415,21418,21419,21420,21421,21423,21424,21425,21426,21427,21428,21429,21431,21432,21433,21434,21436,21437,21438,21440,21443,21444,21445,21446,21447,21454,21455,21456,21458,21459,21461,21466,21468,21469,21470,21473,21474,21479,21492,21498,21502,21503,21504,21506,21509,21511,21515,21524,21528,21529,21530,21532,21538,21540,21541,21546,21552,21555,21558,21559,21562,21565,21567,21569,21570,21572,21573,21575,21577,21580,21581,21582,21583,21585,21594,21597,21598,21599,21600,21601,21603,21605,21607,21609,21610,21611,21612,21613,21614,21615,21616,21620,21625,21626,21630,21631,21633,21635,21637,21639,21640,21641,21642,21645,21649,21651,21655,21656,21660,21662,21663,21664,21665,21666,21669,21678,21680,21682,21685,21686,21687,21689,21690,21692,21694,21699,21701,21706,21707,21718,21720,21723,21728,21729,21730,21731,21732,21739,21740,21743,21744,21745,21748,21749,21750,21751,21752,21753,21755,21758,21760,21762,21763,21764,21765,21768,21770,21771,21772,21773,21774,21778,21779,21781,21782,21783,21784,21785,21786,21788,21789,21790,21791,21793,21797,21798,21800,21801,21803,21805,21810,21812,21813,21814,21816,21817,21818,21819,21821,21824,21826,21829,21831,21832,21835,21836,21837,21838,21839,21841,21842,21843,21844,21847,21848,21849,21850,21851,21853,21854,21855,21856,21858,21859,21864,21865,21867,21871,21872,21873,21874,21875,21876,21881,21882,21885,21887,21893,21894,21900,21901,21902,21904,21906,21907,21909,21910,21911,21914,21915,21918,21920,21921,21922,21923,21924,21925,21926,21928,21929,21930,21931,21932,21933,21934,21935,21936,21938,21940,21942,21944,21946,21948,21951,21952,21953,21954,21955,21958,21959,21960,21962,21963,21966,21967,21968,21973,21975,21976,21977,21978,21979,21982,21984,21986,21991,21993,21997,21998,22e3,22001,22004,22006,22008,22009,22010,22011,22012,22015,22018,22019,22020,22021,22022,22023,22026,22027,22029,22032,22033,22034,22035,22036,22037,22038,22039,22041,22042,22044,22045,22048,22049,22050,22053,22054,22056,22057,22058,22059,22062,22063,22064,22067,22069,22071,22072,22074,22076,22077,22078,22080,22081,22082,22083,22084,22085,22086,22087,22088,22089,22090,22091,22095,22096,22097,22098,22099,22101,22102,22106,22107,22109,22110,22111,22112,22113,22115,22117,22118,22119,22125,22126,22127,22128,22130,22131,22132,22133,22135,22136,22137,22138,22141,22142,22143,22144,22145,22146,22147,22148,22151,22152,22153,22154,22155,22156,22157,22160,22161,22162,22164,22165,22166,22167,22168,22169,22170,22171,22172,22173,22174,22175,22176,22177,22178,22180,22181,22182,22183,22184,22185,22186,22187,22188,22189,22190,22192,22193,22194,22195,22196,22197,22198,22200,22201,22202,22203,22205,22206,22207,22208,22209,22210,22211,22212,22213,22214,22215,22216,22217,22219,22220,22221,22222,22223,22224,22225,22226,22227,22229,22230,22232,22233,22236,22243,22245,22246,22247,22248,22249,22250,22252,22254,22255,22258,22259,22262,22263,22264,22267,22268,22272,22273,22274,22277,22279,22283,22284,22285,22286,22287,22288,22289,22290,22291,22292,22293,22294,22295,22296,22297,22298,22299,22301,22302,22304,22305,22306,22308,22309,22310,22311,22315,22321,22322,22324,22325,22326,22327,22328,22332,22333,22335,22337,22339,22340,22341,22342,22344,22345,22347,22354,22355,22356,22357,22358,22360,22361,22370,22371,22373,22375,22380,22382,22384,22385,22386,22388,22389,22392,22393,22394,22397,22398,22399,22400,22401,22407,22408,22409,22410,22413,22414,22415,22416,22417,22420,22421,22422,22423,22424,22425,22426,22428,22429,22430,22431,22437,22440,22442,22444,22447,22448,22449,22451,22453,22454,22455,22457,22458,22459,22460,22461,22462,22463,22464,22465,22468,22469,22470,22471,22472,22473,22474,22476,22477,22480,22481,22483,22486,22487,22491,22492,22494,22497,22498,22499,22501,22502,22503,22504,22505,22506,22507,22508,22510,22512,22513,22514,22515,22517,22518,22519,22523,22524,22526,22527,22529,22531,22532,22533,22536,22537,22538,22540,22542,22543,22544,22546,22547,22548,22550,22551,22552,22554,22555,22556,22557,22559,22562,22563,22565,22566,22567,22568,22569,22571,22572,22573,22574,22575,22577,22578,22579,22580,22582,22583,22584,22585,22586,22587,22588,22589,22590,22591,22592,22593,22594,22595,22597,22598,22599,22600,22601,22602,22603,22606,22607,22608,22610,22611,22613,22614,22615,22617,22618,22619,22620,22621,22623,22624,22625,22626,22627,22628,22630,22631,22632,22633,22634,22637,22638,22639,22640,22641,22642,22643,22644,22645,22646,22647,22648,22649,22650,22651,22652,22653,22655,22658,22660,22662,22663,22664,22666,22667,22668,22669,22670,22671,22672,22673,22676,22677,22678,22679,22680,22683,22684,22685,22688,22689,22690,22691,22692,22693,22694,22695,22698,22699,22700,22701,22702,22703,22704,22705,22706,22707,22708,22709,22710,22711,22712,22713,22714,22715,22717,22718,22719,22720,22722,22723,22724,22726,22727,22728,22729,22730,22731,22732,22733,22734,22735,22736,22738,22739,22740,22742,22743,22744,22745,22746,22747,22748,22749,22750,22751,22752,22753,22754,22755,22757,22758,22759,22760,22761,22762,22765,22767,22769,22770,22772,22773,22775,22776,22778,22779,22780,22781,22782,22783,22784,22785,22787,22789,22790,22792,22793,22794,22795,22796,22798,22800,22801,22802,22803,22807,22808,22811,22813,22814,22816,22817,22818,22819,22822,22824,22828,22832,22834,22835,22837,22838,22843,22845,22846,22847,22848,22851,22853,22854,22858,22860,22861,22864,22866,22867,22873,22875,22876,22877,22878,22879,22881,22883,22884,22886,22887,22888,22889,22890,22891,22892,22893,22894,22895,22896,22897,22898,22901,22903,22906,22907,22908,22910,22911,22912,22917,22921,22923,22924,22926,22927,22928,22929,22932,22933,22936,22938,22939,22940,22941,22943,22944,22945,22946,22950,22951,22956,22957,22960,22961,22963,22964,22965,22966,22967,22968,22970,22972,22973,22975,22976,22977,22978,22979,22980,22981,22983,22984,22985,22988,22989,22990,22991,22997,22998,23001,23003,23006,23007,23008,23009,23010,23012,23014,23015,23017,23018,23019,23021,23022,23023,23024,23025,23026,23027,23028,23029,23030,23031,23032,23034,23036,23037,23038,23040,23042,23050,23051,23053,23054,23055,23056,23058,23060,23061,23062,23063,23065,23066,23067,23069,23070,23073,23074,23076,23078,23079,23080,23082,23083,23084,23085,23086,23087,23088,23091,23093,23095,23096,23097,23098,23099,23101,23102,23103,23105,23106,23107,23108,23109,23111,23112,23115,23116,23117,23118,23119,23120,23121,23122,23123,23124,23126,23127,23128,23129,23131,23132,23133,23134,23135,23136,23137,23139,23140,23141,23142,23144,23145,23147,23148,23149,23150,23151,23152,23153,23154,23155,23160,23161,23163,23164,23165,23166,23168,23169,23170,23171,23172,23173,23174,23175,23176,23177,23178,23179,23180,23181,23182,23183,23184,23185,23187,23188,23189,23190,23191,23192,23193,23196,23197,23198,23199,23200,23201,23202,23203,23204,23205,23206,23207,23208,23209,23211,23212,23213,23214,23215,23216,23217,23220,23222,23223,23225,23226,23227,23228,23229,23231,23232,23235,23236,23237,23238,23239,23240,23242,23243,23245,23246,23247,23248,23249,23251,23253,23255,23257,23258,23259,23261,23262,23263,23266,23268,23269,23271,23272,23274,23276,23277,23278,23279,23280,23282,23283,23284,23285,23286,23287,23288,23289,23290,23291,23292,23293,23294,23295,23296,23297,23298,23299,23300,23301,23302,23303,23304,23306,23307,23308,23309,23310,23311,23312,23313,23314,23315,23316,23317,23320,23321,23322,23323,23324,23325,23326,23327,23328,23329,23330,23331,23332,23333,23334,23335,23336,23337,23338,23339,23340,23341,23342,23343,23344,23345,23347,23349,23350,23352,23353,23354,23355,23356,23357,23358,23359,23361,23362,23363,23364,23365,23366,23367,23368,23369,23370,23371,23372,23373,23374,23375,23378,23382,23390,23392,23393,23399,23400,23403,23405,23406,23407,23410,23412,23414,23415,23416,23417,23419,23420,23422,23423,23426,23430,23434,23437,23438,23440,23441,23442,23444,23446,23455,23463,23464,23465,23468,23469,23470,23471,23473,23474,23479,23482,23483,23484,23488,23489,23491,23496,23497,23498,23499,23501,23502,23503,23505,23508,23509,23510,23511,23512,23513,23514,23515,23516,23520,23522,23523,23526,23527,23529,23530,23531,23532,23533,23535,23537,23538,23539,23540,23541,23542,23543,23549,23550,23552,23554,23555,23557,23559,23560,23563,23564,23565,23566,23568,23570,23571,23575,23577,23579,23582,23583,23584,23585,23587,23590,23592,23593,23594,23595,23597,23598,23599,23600,23602,23603,23605,23606,23607,23619,23620,23622,23623,23628,23629,23634,23635,23636,23638,23639,23640,23642,23643,23644,23645,23647,23650,23652,23655,23656,23657,23658,23659,23660,23661,23664,23666,23667,23668,23669,23670,23671,23672,23675,23676,23677,23678,23680,23683,23684,23685,23686,23687,23689,23690,23691,23694,23695,23698,23699,23701,23709,23710,23711,23712,23713,23716,23717,23718,23719,23720,23722,23726,23727,23728,23730,23732,23734,23737,23738,23739,23740,23742,23744,23746,23747,23749,23750,23751,23752,23753,23754,23756,23757,23758,23759,23760,23761,23763,23764,23765,23766,23767,23768,23770,23771,23772,23773,23774,23775,23776,23778,23779,23783,23785,23787,23788,23790,23791,23793,23794,23795,23796,23797,23798,23799,23800,23801,23802,23804,23805,23806,23807,23808,23809,23812,23813,23816,23817,23818,23819,23820,23821,23823,23824,23825,23826,23827,23829,23831,23832,23833,23834,23836,23837,23839,23840,23841,23842,23843,23845,23848,23850,23851,23852,23855,23856,23857,23858,23859,23861,23862,23863,23864,23865,23866,23867,23868,23871,23872,23873,23874,23875,23876,23877,23878,23880,23881,23885,23886,23887,23888,23889,23890,23891,23892,23893,23894,23895,23897,23898,23900,23902,23903,23904,23905,23906,23907,23908,23909,23910,23911,23912,23914,23917,23918,23920,23921,23922,23923,23925,23926,23927,23928,23929,23930,23931,23932,23933,23934,23935,23936,23937,23939,23940,23941,23942,23943,23944,23945,23946,23947,23948,23949,23950,23951,23952,23953,23954,23955,23956,23957,23958,23959,23960,23962,23963,23964,23966,23967,23968,23969,23970,23971,23972,23973,23974,23975,23976,23977,23978,23979,23980,23981,23982,23983,23984,23985,23986,23987,23988,23989,23990,23992,23993,23994,23995,23996,23997,23998,23999,24e3,24001,24002,24003,24004,24006,24007,24008,24009,24010,24011,24012,24014,24015,24016,24017,24018,24019,24020,24021,24022,24023,24024,24025,24026,24028,24031,24032,24035,24036,24042,24044,24045,24048,24053,24054,24056,24057,24058,24059,24060,24063,24064,24068,24071,24073,24074,24075,24077,24078,24082,24083,24087,24094,24095,24096,24097,24098,24099,24100,24101,24104,24105,24106,24107,24108,24111,24112,24114,24115,24116,24117,24118,24121,24122,24126,24127,24128,24129,24131,24134,24135,24136,24137,24138,24139,24141,24142,24143,24144,24145,24146,24147,24150,24151,24152,24153,24154,24156,24157,24159,24160,24163,24164,24165,24166,24167,24168,24169,24170,24171,24172,24173,24174,24175,24176,24177,24181,24183,24185,24190,24193,24194,24195,24197,24200,24201,24204,24205,24206,24210,24216,24219,24221,24225,24226,24227,24228,24232,24233,24234,24235,24236,24238,24239,24240,24241,24242,24244,24250,24251,24252,24253,24255,24256,24257,24258,24259,24260,24261,24262,24263,24264,24267,24268,24269,24270,24271,24272,24276,24277,24279,24280,24281,24282,24284,24285,24286,24287,24288,24289,24290,24291,24292,24293,24294,24295,24297,24299,24300,24301,24302,24303,24304,24305,24306,24307,24309,24312,24313,24315,24316,24317,24325,24326,24327,24329,24332,24333,24334,24336,24338,24340,24342,24345,24346,24348,24349,24350,24353,24354,24355,24356,24360,24363,24364,24366,24368,24370,24371,24372,24373,24374,24375,24376,24379,24381,24382,24383,24385,24386,24387,24388,24389,24390,24391,24392,24393,24394,24395,24396,24397,24398,24399,24401,24404,24409,24410,24411,24412,24414,24415,24416,24419,24421,24423,24424,24427,24430,24431,24434,24436,24437,24438,24440,24442,24445,24446,24447,24451,24454,24461,24462,24463,24465,24467,24468,24470,24474,24475,24477,24478,24479,24480,24482,24483,24484,24485,24486,24487,24489,24491,24492,24495,24496,24497,24498,24499,24500,24502,24504,24505,24506,24507,24510,24511,24512,24513,24514,24519,24520,24522,24523,24526,24531,24532,24533,24538,24539,24540,24542,24543,24546,24547,24549,24550,24552,24553,24556,24559,24560,24562,24563,24564,24566,24567,24569,24570,24572,24583,24584,24585,24587,24588,24592,24593,24595,24599,24600,24602,24606,24607,24610,24611,24612,24620,24621,24622,24624,24625,24626,24627,24628,24630,24631,24632,24633,24634,24637,24638,24640,24644,24645,24646,24647,24648,24649,24650,24652,24654,24655,24657,24659,24660,24662,24663,24664,24667,24668,24670,24671,24672,24673,24677,24678,24686,24689,24690,24692,24693,24695,24702,24704,24705,24706,24709,24710,24711,24712,24714,24715,24718,24719,24720,24721,24723,24725,24727,24728,24729,24732,24734,24737,24738,24740,24741,24743,24745,24746,24750,24752,24755,24757,24758,24759,24761,24762,24765,24766,24767,24768,24769,24770,24771,24772,24775,24776,24777,24780,24781,24782,24783,24784,24786,24787,24788,24790,24791,24793,24795,24798,24801,24802,24803,24804,24805,24810,24817,24818,24821,24823,24824,24827,24828,24829,24830,24831,24834,24835,24836,24837,24839,24842,24843,24844,24848,24849,24850,24851,24852,24854,24855,24856,24857,24859,24860,24861,24862,24865,24866,24869,24872,24873,24874,24876,24877,24878,24879,24880,24881,24882,24883,24884,24885,24886,24887,24888,24889,24890,24891,24892,24893,24894,24896,24897,24898,24899,24900,24901,24902,24903,24905,24907,24909,24911,24912,24914,24915,24916,24918,24919,24920,24921,24922,24923,24924,24926,24927,24928,24929,24931,24932,24933,24934,24937,24938,24939,24940,24941,24942,24943,24945,24946,24947,24948,24950,24952,24953,24954,24955,24956,24957,24958,24959,24960,24961,24962,24963,24964,24965,24966,24967,24968,24969,24970,24972,24973,24975,24976,24977,24978,24979,24981,24982,24983,24984,24985,24986,24987,24988,24990,24991,24992,24993,24994,24995,24996,24997,24998,25002,25003,25005,25006,25007,25008,25009,25010,25011,25012,25013,25014,25016,25017,25018,25019,25020,25021,25023,25024,25025,25027,25028,25029,25030,25031,25033,25036,25037,25038,25039,25040,25043,25045,25046,25047,25048,25049,25050,25051,25052,25053,25054,25055,25056,25057,25058,25059,25060,25061,25063,25064,25065,25066,25067,25068,25069,25070,25071,25072,25073,25074,25075,25076,25078,25079,25080,25081,25082,25083,25084,25085,25086,25088,25089,25090,25091,25092,25093,25095,25097,25107,25108,25113,25116,25117,25118,25120,25123,25126,25127,25128,25129,25131,25133,25135,25136,25137,25138,25141,25142,25144,25145,25146,25147,25148,25154,25156,25157,25158,25162,25167,25168,25173,25174,25175,25177,25178,25180,25181,25182,25183,25184,25185,25186,25188,25189,25192,25201,25202,25204,25205,25207,25208,25210,25211,25213,25217,25218,25219,25221,25222,25223,25224,25227,25228,25229,25230,25231,25232,25236,25241,25244,25245,25246,25251,25254,25255,25257,25258,25261,25262,25263,25264,25266,25267,25268,25270,25271,25272,25274,25278,25280,25281,25283,25291,25295,25297,25301,25309,25310,25312,25313,25316,25322,25323,25328,25330,25333,25336,25337,25338,25339,25344,25347,25348,25349,25350,25354,25355,25356,25357,25359,25360,25362,25363,25364,25365,25367,25368,25369,25372,25382,25383,25385,25388,25389,25390,25392,25393,25395,25396,25397,25398,25399,25400,25403,25404,25406,25407,25408,25409,25412,25415,25416,25418,25425,25426,25427,25428,25430,25431,25432,25433,25434,25435,25436,25437,25440,25444,25445,25446,25448,25450,25451,25452,25455,25456,25458,25459,25460,25461,25464,25465,25468,25469,25470,25471,25473,25475,25476,25477,25478,25483,25485,25489,25491,25492,25493,25495,25497,25498,25499,25500,25501,25502,25503,25505,25508,25510,25515,25519,25521,25522,25525,25526,25529,25531,25533,25535,25536,25537,25538,25539,25541,25543,25544,25546,25547,25548,25553,25555,25556,25557,25559,25560,25561,25562,25563,25564,25565,25567,25570,25572,25573,25574,25575,25576,25579,25580,25582,25583,25584,25585,25587,25589,25591,25593,25594,25595,25596,25598,25603,25604,25606,25607,25608,25609,25610,25613,25614,25617,25618,25621,25622,25623,25624,25625,25626,25629,25631,25634,25635,25636,25637,25639,25640,25641,25643,25646,25647,25648,25649,25650,25651,25653,25654,25655,25656,25657,25659,25660,25662,25664,25666,25667,25673,25675,25676,25677,25678,25679,25680,25681,25683,25685,25686,25687,25689,25690,25691,25692,25693,25695,25696,25697,25698,25699,25700,25701,25702,25704,25706,25707,25708,25710,25711,25712,25713,25714,25715,25716,25717,25718,25719,25723,25724,25725,25726,25727,25728,25729,25731,25734,25736,25737,25738,25739,25740,25741,25742,25743,25744,25747,25748,25751,25752,25754,25755,25756,25757,25759,25760,25761,25762,25763,25765,25766,25767,25768,25770,25771,25775,25777,25778,25779,25780,25782,25785,25787,25789,25790,25791,25793,25795,25796,25798,25799,25800,25801,25802,25803,25804,25807,25809,25811,25812,25813,25814,25817,25818,25819,25820,25821,25823,25824,25825,25827,25829,25831,25832,25833,25834,25835,25836,25837,25838,25839,25840,25841,25842,25843,25844,25845,25846,25847,25848,25849,25850,25851,25852,25853,25854,25855,25857,25858,25859,25860,25861,25862,25863,25864,25866,25867,25868,25869,25870,25871,25872,25873,25875,25876,25877,25878,25879,25881,25882,25883,25884,25885,25886,25887,25888,25889,25890,25891,25892,25894,25895,25896,25897,25898,25900,25901,25904,25905,25906,25907,25911,25914,25916,25917,25920,25921,25922,25923,25924,25926,25927,25930,25931,25933,25934,25936,25938,25939,25940,25943,25944,25946,25948,25951,25952,25953,25956,25957,25959,25960,25961,25962,25965,25966,25967,25969,25971,25973,25974,25976,25977,25978,25979,25980,25981,25982,25983,25984,25985,25986,25987,25988,25989,25990,25992,25993,25994,25997,25998,25999,26002,26004,26005,26006,26008,26010,26013,26014,26016,26018,26019,26022,26024,26026,26028,26030,26033,26034,26035,26036,26037,26038,26039,26040,26042,26043,26046,26047,26048,26050,26055,26056,26057,26058,26061,26064,26065,26067,26068,26069,26072,26073,26074,26075,26076,26077,26078,26079,26081,26083,26084,26090,26091,26098,26099,26100,26101,26104,26105,26107,26108,26109,26110,26111,26113,26116,26117,26119,26120,26121,26123,26125,26128,26129,26130,26134,26135,26136,26138,26139,26140,26142,26145,26146,26147,26148,26150,26153,26154,26155,26156,26158,26160,26162,26163,26167,26168,26169,26170,26171,26173,26175,26176,26178,26180,26181,26182,26183,26184,26185,26186,26189,26190,26192,26193,26200,26201,26203,26204,26205,26206,26208,26210,26211,26213,26215,26217,26218,26219,26220,26221,26225,26226,26227,26229,26232,26233,26235,26236,26237,26239,26240,26241,26243,26245,26246,26248,26249,26250,26251,26253,26254,26255,26256,26258,26259,26260,26261,26264,26265,26266,26267,26268,26270,26271,26272,26273,26274,26275,26276,26277,26278,26281,26282,26283,26284,26285,26287,26288,26289,26290,26291,26293,26294,26295,26296,26298,26299,26300,26301,26303,26304,26305,26306,26307,26308,26309,26310,26311,26312,26313,26314,26315,26316,26317,26318,26319,26320,26321,26322,26323,26324,26325,26326,26327,26328,26330,26334,26335,26336,26337,26338,26339,26340,26341,26343,26344,26346,26347,26348,26349,26350,26351,26353,26357,26358,26360,26362,26363,26365,26369,26370,26371,26372,26373,26374,26375,26380,26382,26383,26385,26386,26387,26390,26392,26393,26394,26396,26398,26400,26401,26402,26403,26404,26405,26407,26409,26414,26416,26418,26419,26422,26423,26424,26425,26427,26428,26430,26431,26433,26436,26437,26439,26442,26443,26445,26450,26452,26453,26455,26456,26457,26458,26459,26461,26466,26467,26468,26470,26471,26475,26476,26478,26481,26484,26486,26488,26489,26490,26491,26493,26496,26498,26499,26501,26502,26504,26506,26508,26509,26510,26511,26513,26514,26515,26516,26518,26521,26523,26527,26528,26529,26532,26534,26537,26540,26542,26545,26546,26548,26553,26554,26555,26556,26557,26558,26559,26560,26562,26565,26566,26567,26568,26569,26570,26571,26572,26573,26574,26581,26582,26583,26587,26591,26593,26595,26596,26598,26599,26600,26602,26603,26605,26606,26610,26613,26614,26615,26616,26617,26618,26619,26620,26622,26625,26626,26627,26628,26630,26637,26640,26642,26644,26645,26648,26649,26650,26651,26652,26654,26655,26656,26658,26659,26660,26661,26662,26663,26664,26667,26668,26669,26670,26671,26672,26673,26676,26677,26678,26682,26683,26687,26695,26699,26701,26703,26706,26710,26711,26712,26713,26714,26715,26716,26717,26718,26719,26730,26732,26733,26734,26735,26736,26737,26738,26739,26741,26744,26745,26746,26747,26748,26749,26750,26751,26752,26754,26756,26759,26760,26761,26762,26763,26764,26765,26766,26768,26769,26770,26772,26773,26774,26776,26777,26778,26779,26780,26781,26782,26783,26784,26785,26787,26788,26789,26793,26794,26795,26796,26798,26801,26802,26804,26806,26807,26808,26809,26810,26811,26812,26813,26814,26815,26817,26819,26820,26821,26822,26823,26824,26826,26828,26830,26831,26832,26833,26835,26836,26838,26839,26841,26843,26844,26845,26846,26847,26849,26850,26852,26853,26854,26855,26856,26857,26858,26859,26860,26861,26863,26866,26867,26868,26870,26871,26872,26875,26877,26878,26879,26880,26882,26883,26884,26886,26887,26888,26889,26890,26892,26895,26897,26899,26900,26901,26902,26903,26904,26905,26906,26907,26908,26909,26910,26913,26914,26915,26917,26918,26919,26920,26921,26922,26923,26924,26926,26927,26929,26930,26931,26933,26934,26935,26936,26938,26939,26940,26942,26944,26945,26947,26948,26949,26950,26951,26952,26953,26954,26955,26956,26957,26958,26959,26960,26961,26962,26963,26965,26966,26968,26969,26971,26972,26975,26977,26978,26980,26981,26983,26984,26985,26986,26988,26989,26991,26992,26994,26995,26996,26997,26998,27002,27003,27005,27006,27007,27009,27011,27013,27018,27019,27020,27022,27023,27024,27025,27026,27027,27030,27031,27033,27034,27037,27038,27039,27040,27041,27042,27043,27044,27045,27046,27049,27050,27052,27054,27055,27056,27058,27059,27061,27062,27064,27065,27066,27068,27069,27070,27071,27072,27074,27075,27076,27077,27078,27079,27080,27081,27083,27085,27087,27089,27090,27091,27093,27094,27095,27096,27097,27098,27100,27101,27102,27105,27106,27107,27108,27109,27110,27111,27112,27113,27114,27115,27116,27118,27119,27120,27121,27123,27124,27125,27126,27127,27128,27129,27130,27131,27132,27134,27136,27137,27138,27139,27140,27141,27142,27143,27144,27145,27147,27148,27149,27150,27151,27152,27153,27154,27155,27156,27157,27158,27161,27162,27163,27164,27165,27166,27168,27170,27171,27172,27173,27174,27175,27177,27179,27180,27181,27182,27184,27186,27187,27188,27190,27191,27192,27193,27194,27195,27196,27199,27200,27201,27202,27203,27205,27206,27208,27209,27210,27211,27212,27213,27214,27215,27217,27218,27219,27220,27221,27222,27223,27226,27228,27229,27230,27231,27232,27234,27235,27236,27238,27239,27240,27241,27242,27243,27244,27245,27246,27247,27248,27250,27251,27252,27253,27254,27255,27256,27258,27259,27261,27262,27263,27265,27266,27267,27269,27270,27271,27272,27273,27274,27275,27276,27277,27279,27282,27283,27284,27285,27286,27288,27289,27290,27291,27292,27293,27294,27295,27297,27298,27299,27300,27301,27302,27303,27304,27306,27309,27310,27311,27312,27313,27314,27315,27316,27317,27318,27319,27320,27321,27322,27323,27324,27325,27326,27327,27328,27329,27330,27331,27332,27333,27334,27335,27336,27337,27338,27339,27340,27341,27342,27343,27344,27345,27346,27347,27348,27349,27350,27351,27352,27353,27354,27355,27356,27357,27358,27359,27360,27361,27362,27363,27364,27365,27366,27367,27368,27369,27370,27371,27372,27373,27374,27375,27376,27377,27378,27379,27380,27381,27382,27383,27384,27385,27386,27387,27388,27389,27390,27391,27392,27393,27394,27395,27396,27397,27398,27399,27400,27401,27402,27403,27404,27405,27406,27407,27408,27409,27410,27411,27412,27413,27414,27415,27416,27417,27418,27419,27420,27421,27422,27423,27429,27430,27432,27433,27434,27435,27436,27437,27438,27439,27440,27441,27443,27444,27445,27446,27448,27451,27452,27453,27455,27456,27457,27458,27460,27461,27464,27466,27467,27469,27470,27471,27472,27473,27474,27475,27476,27477,27478,27479,27480,27482,27483,27484,27485,27486,27487,27488,27489,27496,27497,27499,27500,27501,27502,27503,27504,27505,27506,27507,27508,27509,27510,27511,27512,27514,27517,27518,27519,27520,27525,27528,27532,27534,27535,27536,27537,27540,27541,27543,27544,27545,27548,27549,27550,27551,27552,27554,27555,27556,27557,27558,27559,27560,27561,27563,27564,27565,27566,27567,27568,27569,27570,27574,27576,27577,27578,27579,27580,27581,27582,27584,27587,27588,27590,27591,27592,27593,27594,27596,27598,27600,27601,27608,27610,27612,27613,27614,27615,27616,27618,27619,27620,27621,27622,27623,27624,27625,27628,27629,27630,27632,27633,27634,27636,27638,27639,27640,27642,27643,27644,27646,27647,27648,27649,27650,27651,27652,27656,27657,27658,27659,27660,27662,27666,27671,27676,27677,27678,27680,27683,27685,27691,27692,27693,27697,27699,27702,27703,27705,27706,27707,27708,27710,27711,27715,27716,27717,27720,27723,27724,27725,27726,27727,27729,27730,27731,27734,27736,27737,27738,27746,27747,27749,27750,27751,27755,27756,27757,27758,27759,27761,27763,27765,27767,27768,27770,27771,27772,27775,27776,27780,27783,27786,27787,27789,27790,27793,27794,27797,27798,27799,27800,27802,27804,27805,27806,27808,27810,27816,27820,27823,27824,27828,27829,27830,27831,27834,27840,27841,27842,27843,27846,27847,27848,27851,27853,27854,27855,27857,27858,27864,27865,27866,27868,27869,27871,27876,27878,27879,27881,27884,27885,27890,27892,27897,27903,27904,27906,27907,27909,27910,27912,27913,27914,27917,27919,27920,27921,27923,27924,27925,27926,27928,27932,27933,27935,27936,27937,27938,27939,27940,27942,27944,27945,27948,27949,27951,27952,27956,27958,27959,27960,27962,27967,27968,27970,27972,27977,27980,27984,27989,27990,27991,27992,27995,27997,27999,28001,28002,28004,28005,28007,28008,28011,28012,28013,28016,28017,28018,28019,28021,28022,28025,28026,28027,28029,28030,28031,28032,28033,28035,28036,28038,28039,28042,28043,28045,28047,28048,28050,28054,28055,28056,28057,28058,28060,28066,28069,28076,28077,28080,28081,28083,28084,28086,28087,28089,28090,28091,28092,28093,28094,28097,28098,28099,28104,28105,28106,28109,28110,28111,28112,28114,28115,28116,28117,28119,28122,28123,28124,28127,28130,28131,28133,28135,28136,28137,28138,28141,28143,28144,28146,28148,28149,28150,28152,28154,28157,28158,28159,28160,28161,28162,28163,28164,28166,28167,28168,28169,28171,28175,28178,28179,28181,28184,28185,28187,28188,28190,28191,28194,28198,28199,28200,28202,28204,28206,28208,28209,28211,28213,28214,28215,28217,28219,28220,28221,28222,28223,28224,28225,28226,28229,28230,28231,28232,28233,28234,28235,28236,28239,28240,28241,28242,28245,28247,28249,28250,28252,28253,28254,28256,28257,28258,28259,28260,28261,28262,28263,28264,28265,28266,28268,28269,28271,28272,28273,28274,28275,28276,28277,28278,28279,28280,28281,28282,28283,28284,28285,28288,28289,28290,28292,28295,28296,28298,28299,28300,28301,28302,28305,28306,28307,28308,28309,28310,28311,28313,28314,28315,28317,28318,28320,28321,28323,28324,28326,28328,28329,28331,28332,28333,28334,28336,28339,28341,28344,28345,28348,28350,28351,28352,28355,28356,28357,28358,28360,28361,28362,28364,28365,28366,28368,28370,28374,28376,28377,28379,28380,28381,28387,28391,28394,28395,28396,28397,28398,28399,28400,28401,28402,28403,28405,28406,28407,28408,28410,28411,28412,28413,28414,28415,28416,28417,28419,28420,28421,28423,28424,28426,28427,28428,28429,28430,28432,28433,28434,28438,28439,28440,28441,28442,28443,28444,28445,28446,28447,28449,28450,28451,28453,28454,28455,28456,28460,28462,28464,28466,28468,28469,28471,28472,28473,28474,28475,28476,28477,28479,28480,28481,28482,28483,28484,28485,28488,28489,28490,28492,28494,28495,28496,28497,28498,28499,28500,28501,28502,28503,28505,28506,28507,28509,28511,28512,28513,28515,28516,28517,28519,28520,28521,28522,28523,28524,28527,28528,28529,28531,28533,28534,28535,28537,28539,28541,28542,28543,28544,28545,28546,28547,28549,28550,28551,28554,28555,28559,28560,28561,28562,28563,28564,28565,28566,28567,28568,28569,28570,28571,28573,28574,28575,28576,28578,28579,28580,28581,28582,28584,28585,28586,28587,28588,28589,28590,28591,28592,28593,28594,28596,28597,28599,28600,28602,28603,28604,28605,28606,28607,28609,28611,28612,28613,28614,28615,28616,28618,28619,28620,28621,28622,28623,28624,28627,28628,28629,28630,28631,28632,28633,28634,28635,28636,28637,28639,28642,28643,28644,28645,28646,28647,28648,28649,28650,28651,28652,28653,28656,28657,28658,28659,28660,28661,28662,28663,28664,28665,28666,28667,28668,28669,28670,28671,28672,28673,28674,28675,28676,28677,28678,28679,28680,28681,28682,28683,28684,28685,28686,28687,28688,28690,28691,28692,28693,28694,28695,28696,28697,28700,28701,28702,28703,28704,28705,28706,28708,28709,28710,28711,28712,28713,28714,28715,28716,28717,28718,28719,28720,28721,28722,28723,28724,28726,28727,28728,28730,28731,28732,28733,28734,28735,28736,28737,28738,28739,28740,28741,28742,28743,28744,28745,28746,28747,28749,28750,28752,28753,28754,28755,28756,28757,28758,28759,28760,28761,28762,28763,28764,28765,28767,28768,28769,28770,28771,28772,28773,28774,28775,28776,28777,28778,28782,28785,28786,28787,28788,28791,28793,28794,28795,28797,28801,28802,28803,28804,28806,28807,28808,28811,28812,28813,28815,28816,28817,28819,28823,28824,28826,28827,28830,28831,28832,28833,28834,28835,28836,28837,28838,28839,28840,28841,28842,28848,28850,28852,28853,28854,28858,28862,28863,28868,28869,28870,28871,28873,28875,28876,28877,28878,28879,28880,28881,28882,28883,28884,28885,28886,28887,28890,28892,28893,28894,28896,28897,28898,28899,28901,28906,28910,28912,28913,28914,28915,28916,28917,28918,28920,28922,28923,28924,28926,28927,28928,28929,28930,28931,28932,28933,28934,28935,28936,28939,28940,28941,28942,28943,28945,28946,28948,28951,28955,28956,28957,28958,28959,28960,28961,28962,28963,28964,28965,28967,28968,28969,28970,28971,28972,28973,28974,28978,28979,28980,28981,28983,28984,28985,28986,28987,28988,28989,28990,28991,28992,28993,28994,28995,28996,28998,28999,29e3,29001,29003,29005,29007,29008,29009,29010,29011,29012,29013,29014,29015,29016,29017,29018,29019,29021,29023,29024,29025,29026,29027,29029,29033,29034,29035,29036,29037,29039,29040,29041,29044,29045,29046,29047,29049,29051,29052,29054,29055,29056,29057,29058,29059,29061,29062,29063,29064,29065,29067,29068,29069,29070,29072,29073,29074,29075,29077,29078,29079,29082,29083,29084,29085,29086,29089,29090,29091,29092,29093,29094,29095,29097,29098,29099,29101,29102,29103,29104,29105,29106,29108,29110,29111,29112,29114,29115,29116,29117,29118,29119,29120,29121,29122,29124,29125,29126,29127,29128,29129,29130,29131,29132,29133,29135,29136,29137,29138,29139,29142,29143,29144,29145,29146,29147,29148,29149,29150,29151,29153,29154,29155,29156,29158,29160,29161,29162,29163,29164,29165,29167,29168,29169,29170,29171,29172,29173,29174,29175,29176,29178,29179,29180,29181,29182,29183,29184,29185,29186,29187,29188,29189,29191,29192,29193,29194,29195,29196,29197,29198,29199,29200,29201,29202,29203,29204,29205,29206,29207,29208,29209,29210,29211,29212,29214,29215,29216,29217,29218,29219,29220,29221,29222,29223,29225,29227,29229,29230,29231,29234,29235,29236,29242,29244,29246,29248,29249,29250,29251,29252,29253,29254,29257,29258,29259,29262,29263,29264,29265,29267,29268,29269,29271,29272,29274,29276,29278,29280,29283,29284,29285,29288,29290,29291,29292,29293,29296,29297,29299,29300,29302,29303,29304,29307,29308,29309,29314,29315,29317,29318,29319,29320,29321,29324,29326,29328,29329,29331,29332,29333,29334,29335,29336,29337,29338,29339,29340,29341,29342,29344,29345,29346,29347,29348,29349,29350,29351,29352,29353,29354,29355,29358,29361,29362,29363,29365,29370,29371,29372,29373,29374,29375,29376,29381,29382,29383,29385,29386,29387,29388,29391,29393,29395,29396,29397,29398,29400,29402,29403,58566,58567,58568,58569,58570,58571,58572,58573,58574,58575,58576,58577,58578,58579,58580,58581,58582,58583,58584,58585,58586,58587,58588,58589,58590,58591,58592,58593,58594,58595,58596,58597,58598,58599,58600,58601,58602,58603,58604,58605,58606,58607,58608,58609,58610,58611,58612,58613,58614,58615,58616,58617,58618,58619,58620,58621,58622,58623,58624,58625,58626,58627,58628,58629,58630,58631,58632,58633,58634,58635,58636,58637,58638,58639,58640,58641,58642,58643,58644,58645,58646,58647,58648,58649,58650,58651,58652,58653,58654,58655,58656,58657,58658,58659,58660,58661,12288,12289,12290,183,713,711,168,12291,12293,8212,65374,8214,8230,8216,8217,8220,8221,12308,12309,12296,12297,12298,12299,12300,12301,12302,12303,12310,12311,12304,12305,177,215,247,8758,8743,8744,8721,8719,8746,8745,8712,8759,8730,8869,8741,8736,8978,8857,8747,8750,8801,8780,8776,8765,8733,8800,8814,8815,8804,8805,8734,8757,8756,9794,9792,176,8242,8243,8451,65284,164,65504,65505,8240,167,8470,9734,9733,9675,9679,9678,9671,9670,9633,9632,9651,9650,8251,8594,8592,8593,8595,12307,58662,58663,58664,58665,58666,58667,58668,58669,58670,58671,58672,58673,58674,58675,58676,58677,58678,58679,58680,58681,58682,58683,58684,58685,58686,58687,58688,58689,58690,58691,58692,58693,58694,58695,58696,58697,58698,58699,58700,58701,58702,58703,58704,58705,58706,58707,58708,58709,58710,58711,58712,58713,58714,58715,58716,58717,58718,58719,58720,58721,58722,58723,58724,58725,58726,58727,58728,58729,58730,58731,58732,58733,58734,58735,58736,58737,58738,58739,58740,58741,58742,58743,58744,58745,58746,58747,58748,58749,58750,58751,58752,58753,58754,58755,58756,58757,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,59238,59239,59240,59241,59242,59243,9352,9353,9354,9355,9356,9357,9358,9359,9360,9361,9362,9363,9364,9365,9366,9367,9368,9369,9370,9371,9332,9333,9334,9335,9336,9337,9338,9339,9340,9341,9342,9343,9344,9345,9346,9347,9348,9349,9350,9351,9312,9313,9314,9315,9316,9317,9318,9319,9320,9321,8364,59245,12832,12833,12834,12835,12836,12837,12838,12839,12840,12841,59246,59247,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,59248,59249,58758,58759,58760,58761,58762,58763,58764,58765,58766,58767,58768,58769,58770,58771,58772,58773,58774,58775,58776,58777,58778,58779,58780,58781,58782,58783,58784,58785,58786,58787,58788,58789,58790,58791,58792,58793,58794,58795,58796,58797,58798,58799,58800,58801,58802,58803,58804,58805,58806,58807,58808,58809,58810,58811,58812,58813,58814,58815,58816,58817,58818,58819,58820,58821,58822,58823,58824,58825,58826,58827,58828,58829,58830,58831,58832,58833,58834,58835,58836,58837,58838,58839,58840,58841,58842,58843,58844,58845,58846,58847,58848,58849,58850,58851,58852,12288,65281,65282,65283,65509,65285,65286,65287,65288,65289,65290,65291,65292,65293,65294,65295,65296,65297,65298,65299,65300,65301,65302,65303,65304,65305,65306,65307,65308,65309,65310,65311,65312,65313,65314,65315,65316,65317,65318,65319,65320,65321,65322,65323,65324,65325,65326,65327,65328,65329,65330,65331,65332,65333,65334,65335,65336,65337,65338,65339,65340,65341,65342,65343,65344,65345,65346,65347,65348,65349,65350,65351,65352,65353,65354,65355,65356,65357,65358,65359,65360,65361,65362,65363,65364,65365,65366,65367,65368,65369,65370,65371,65372,65373,65507,58854,58855,58856,58857,58858,58859,58860,58861,58862,58863,58864,58865,58866,58867,58868,58869,58870,58871,58872,58873,58874,58875,58876,58877,58878,58879,58880,58881,58882,58883,58884,58885,58886,58887,58888,58889,58890,58891,58892,58893,58894,58895,58896,58897,58898,58899,58900,58901,58902,58903,58904,58905,58906,58907,58908,58909,58910,58911,58912,58913,58914,58915,58916,58917,58918,58919,58920,58921,58922,58923,58924,58925,58926,58927,58928,58929,58930,58931,58932,58933,58934,58935,58936,58937,58938,58939,58940,58941,58942,58943,58944,58945,58946,58947,58948,58949,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,59250,59251,59252,59253,59254,59255,59256,59257,59258,59259,59260,58950,58951,58952,58953,58954,58955,58956,58957,58958,58959,58960,58961,58962,58963,58964,58965,58966,58967,58968,58969,58970,58971,58972,58973,58974,58975,58976,58977,58978,58979,58980,58981,58982,58983,58984,58985,58986,58987,58988,58989,58990,58991,58992,58993,58994,58995,58996,58997,58998,58999,59e3,59001,59002,59003,59004,59005,59006,59007,59008,59009,59010,59011,59012,59013,59014,59015,59016,59017,59018,59019,59020,59021,59022,59023,59024,59025,59026,59027,59028,59029,59030,59031,59032,59033,59034,59035,59036,59037,59038,59039,59040,59041,59042,59043,59044,59045,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,12481,12482,12483,12484,12485,12486,12487,12488,12489,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,59261,59262,59263,59264,59265,59266,59267,59268,59046,59047,59048,59049,59050,59051,59052,59053,59054,59055,59056,59057,59058,59059,59060,59061,59062,59063,59064,59065,59066,59067,59068,59069,59070,59071,59072,59073,59074,59075,59076,59077,59078,59079,59080,59081,59082,59083,59084,59085,59086,59087,59088,59089,59090,59091,59092,59093,59094,59095,59096,59097,59098,59099,59100,59101,59102,59103,59104,59105,59106,59107,59108,59109,59110,59111,59112,59113,59114,59115,59116,59117,59118,59119,59120,59121,59122,59123,59124,59125,59126,59127,59128,59129,59130,59131,59132,59133,59134,59135,59136,59137,59138,59139,59140,59141,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,59269,59270,59271,59272,59273,59274,59275,59276,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,963,964,965,966,967,968,969,59277,59278,59279,59280,59281,59282,59283,65077,65078,65081,65082,65087,65088,65085,65086,65089,65090,65091,65092,59284,59285,65083,65084,65079,65080,65073,59286,65075,65076,59287,59288,59289,59290,59291,59292,59293,59294,59295,59142,59143,59144,59145,59146,59147,59148,59149,59150,59151,59152,59153,59154,59155,59156,59157,59158,59159,59160,59161,59162,59163,59164,59165,59166,59167,59168,59169,59170,59171,59172,59173,59174,59175,59176,59177,59178,59179,59180,59181,59182,59183,59184,59185,59186,59187,59188,59189,59190,59191,59192,59193,59194,59195,59196,59197,59198,59199,59200,59201,59202,59203,59204,59205,59206,59207,59208,59209,59210,59211,59212,59213,59214,59215,59216,59217,59218,59219,59220,59221,59222,59223,59224,59225,59226,59227,59228,59229,59230,59231,59232,59233,59234,59235,59236,59237,1040,1041,1042,1043,1044,1045,1025,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,59296,59297,59298,59299,59300,59301,59302,59303,59304,59305,59306,59307,59308,59309,59310,1072,1073,1074,1075,1076,1077,1105,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,59311,59312,59313,59314,59315,59316,59317,59318,59319,59320,59321,59322,59323,714,715,729,8211,8213,8229,8245,8453,8457,8598,8599,8600,8601,8725,8735,8739,8786,8806,8807,8895,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9581,9582,9583,9584,9585,9586,9587,9601,9602,9603,9604,9605,9606,9607,9608,9609,9610,9611,9612,9613,9614,9615,9619,9620,9621,9660,9661,9698,9699,9700,9701,9737,8853,12306,12317,12318,59324,59325,59326,59327,59328,59329,59330,59331,59332,59333,59334,257,225,462,224,275,233,283,232,299,237,464,236,333,243,466,242,363,250,468,249,470,472,474,476,252,234,593,7743,324,328,505,609,59337,59338,59339,59340,12549,12550,12551,12552,12553,12554,12555,12556,12557,12558,12559,12560,12561,12562,12563,12564,12565,12566,12567,12568,12569,12570,12571,12572,12573,12574,12575,12576,12577,12578,12579,12580,12581,12582,12583,12584,12585,59341,59342,59343,59344,59345,59346,59347,59348,59349,59350,59351,59352,59353,59354,59355,59356,59357,59358,59359,59360,59361,12321,12322,12323,12324,12325,12326,12327,12328,12329,12963,13198,13199,13212,13213,13214,13217,13252,13262,13265,13266,13269,65072,65506,65508,59362,8481,12849,59363,8208,59364,59365,59366,12540,12443,12444,12541,12542,12294,12445,12446,65097,65098,65099,65100,65101,65102,65103,65104,65105,65106,65108,65109,65110,65111,65113,65114,65115,65116,65117,65118,65119,65120,65121,65122,65123,65124,65125,65126,65128,65129,65130,65131,12350,12272,12273,12274,12275,12276,12277,12278,12279,12280,12281,12282,12283,12295,59380,59381,59382,59383,59384,59385,59386,59387,59388,59389,59390,59391,59392,9472,9473,9474,9475,9476,9477,9478,9479,9480,9481,9482,9483,9484,9485,9486,9487,9488,9489,9490,9491,9492,9493,9494,9495,9496,9497,9498,9499,9500,9501,9502,9503,9504,9505,9506,9507,9508,9509,9510,9511,9512,9513,9514,9515,9516,9517,9518,9519,9520,9521,9522,9523,9524,9525,9526,9527,9528,9529,9530,9531,9532,9533,9534,9535,9536,9537,9538,9539,9540,9541,9542,9543,9544,9545,9546,9547,59393,59394,59395,59396,59397,59398,59399,59400,59401,59402,59403,59404,59405,59406,59407,29404,29405,29407,29410,29411,29412,29413,29414,29415,29418,29419,29429,29430,29433,29437,29438,29439,29440,29442,29444,29445,29446,29447,29448,29449,29451,29452,29453,29455,29456,29457,29458,29460,29464,29465,29466,29471,29472,29475,29476,29478,29479,29480,29485,29487,29488,29490,29491,29493,29494,29498,29499,29500,29501,29504,29505,29506,29507,29508,29509,29510,29511,29512,29513,29514,29515,29516,29518,29519,29521,29523,29524,29525,29526,29528,29529,29530,29531,29532,29533,29534,29535,29537,29538,29539,29540,29541,29542,29543,29544,29545,29546,29547,29550,29552,29553,57344,57345,57346,57347,57348,57349,57350,57351,57352,57353,57354,57355,57356,57357,57358,57359,57360,57361,57362,57363,57364,57365,57366,57367,57368,57369,57370,57371,57372,57373,57374,57375,57376,57377,57378,57379,57380,57381,57382,57383,57384,57385,57386,57387,57388,57389,57390,57391,57392,57393,57394,57395,57396,57397,57398,57399,57400,57401,57402,57403,57404,57405,57406,57407,57408,57409,57410,57411,57412,57413,57414,57415,57416,57417,57418,57419,57420,57421,57422,57423,57424,57425,57426,57427,57428,57429,57430,57431,57432,57433,57434,57435,57436,57437,29554,29555,29556,29557,29558,29559,29560,29561,29562,29563,29564,29565,29567,29568,29569,29570,29571,29573,29574,29576,29578,29580,29581,29583,29584,29586,29587,29588,29589,29591,29592,29593,29594,29596,29597,29598,29600,29601,29603,29604,29605,29606,29607,29608,29610,29612,29613,29617,29620,29621,29622,29624,29625,29628,29629,29630,29631,29633,29635,29636,29637,29638,29639,29643,29644,29646,29650,29651,29652,29653,29654,29655,29656,29658,29659,29660,29661,29663,29665,29666,29667,29668,29670,29672,29674,29675,29676,29678,29679,29680,29681,29683,29684,29685,29686,29687,57438,57439,57440,57441,57442,57443,57444,57445,57446,57447,57448,57449,57450,57451,57452,57453,57454,57455,57456,57457,57458,57459,57460,57461,57462,57463,57464,57465,57466,57467,57468,57469,57470,57471,57472,57473,57474,57475,57476,57477,57478,57479,57480,57481,57482,57483,57484,57485,57486,57487,57488,57489,57490,57491,57492,57493,57494,57495,57496,57497,57498,57499,57500,57501,57502,57503,57504,57505,57506,57507,57508,57509,57510,57511,57512,57513,57514,57515,57516,57517,57518,57519,57520,57521,57522,57523,57524,57525,57526,57527,57528,57529,57530,57531,29688,29689,29690,29691,29692,29693,29694,29695,29696,29697,29698,29700,29703,29704,29707,29708,29709,29710,29713,29714,29715,29716,29717,29718,29719,29720,29721,29724,29725,29726,29727,29728,29729,29731,29732,29735,29737,29739,29741,29743,29745,29746,29751,29752,29753,29754,29755,29757,29758,29759,29760,29762,29763,29764,29765,29766,29767,29768,29769,29770,29771,29772,29773,29774,29775,29776,29777,29778,29779,29780,29782,29784,29789,29792,29793,29794,29795,29796,29797,29798,29799,29800,29801,29802,29803,29804,29806,29807,29809,29810,29811,29812,29813,29816,29817,29818,57532,57533,57534,57535,57536,57537,57538,57539,57540,57541,57542,57543,57544,57545,57546,57547,57548,57549,57550,57551,57552,57553,57554,57555,57556,57557,57558,57559,57560,57561,57562,57563,57564,57565,57566,57567,57568,57569,57570,57571,57572,57573,57574,57575,57576,57577,57578,57579,57580,57581,57582,57583,57584,57585,57586,57587,57588,57589,57590,57591,57592,57593,57594,57595,57596,57597,57598,57599,57600,57601,57602,57603,57604,57605,57606,57607,57608,57609,57610,57611,57612,57613,57614,57615,57616,57617,57618,57619,57620,57621,57622,57623,57624,57625,29819,29820,29821,29823,29826,29828,29829,29830,29832,29833,29834,29836,29837,29839,29841,29842,29843,29844,29845,29846,29847,29848,29849,29850,29851,29853,29855,29856,29857,29858,29859,29860,29861,29862,29866,29867,29868,29869,29870,29871,29872,29873,29874,29875,29876,29877,29878,29879,29880,29881,29883,29884,29885,29886,29887,29888,29889,29890,29891,29892,29893,29894,29895,29896,29897,29898,29899,29900,29901,29902,29903,29904,29905,29907,29908,29909,29910,29911,29912,29913,29914,29915,29917,29919,29921,29925,29927,29928,29929,29930,29931,29932,29933,29936,29937,29938,57626,57627,57628,57629,57630,57631,57632,57633,57634,57635,57636,57637,57638,57639,57640,57641,57642,57643,57644,57645,57646,57647,57648,57649,57650,57651,57652,57653,57654,57655,57656,57657,57658,57659,57660,57661,57662,57663,57664,57665,57666,57667,57668,57669,57670,57671,57672,57673,57674,57675,57676,57677,57678,57679,57680,57681,57682,57683,57684,57685,57686,57687,57688,57689,57690,57691,57692,57693,57694,57695,57696,57697,57698,57699,57700,57701,57702,57703,57704,57705,57706,57707,57708,57709,57710,57711,57712,57713,57714,57715,57716,57717,57718,57719,29939,29941,29944,29945,29946,29947,29948,29949,29950,29952,29953,29954,29955,29957,29958,29959,29960,29961,29962,29963,29964,29966,29968,29970,29972,29973,29974,29975,29979,29981,29982,29984,29985,29986,29987,29988,29990,29991,29994,29998,30004,30006,30009,30012,30013,30015,30017,30018,30019,30020,30022,30023,30025,30026,30029,30032,30033,30034,30035,30037,30038,30039,30040,30045,30046,30047,30048,30049,30050,30051,30052,30055,30056,30057,30059,30060,30061,30062,30063,30064,30065,30067,30069,30070,30071,30074,30075,30076,30077,30078,30080,30081,30082,30084,30085,30087,57720,57721,57722,57723,57724,57725,57726,57727,57728,57729,57730,57731,57732,57733,57734,57735,57736,57737,57738,57739,57740,57741,57742,57743,57744,57745,57746,57747,57748,57749,57750,57751,57752,57753,57754,57755,57756,57757,57758,57759,57760,57761,57762,57763,57764,57765,57766,57767,57768,57769,57770,57771,57772,57773,57774,57775,57776,57777,57778,57779,57780,57781,57782,57783,57784,57785,57786,57787,57788,57789,57790,57791,57792,57793,57794,57795,57796,57797,57798,57799,57800,57801,57802,57803,57804,57805,57806,57807,57808,57809,57810,57811,57812,57813,30088,30089,30090,30092,30093,30094,30096,30099,30101,30104,30107,30108,30110,30114,30118,30119,30120,30121,30122,30125,30134,30135,30138,30139,30143,30144,30145,30150,30155,30156,30158,30159,30160,30161,30163,30167,30169,30170,30172,30173,30175,30176,30177,30181,30185,30188,30189,30190,30191,30194,30195,30197,30198,30199,30200,30202,30203,30205,30206,30210,30212,30214,30215,30216,30217,30219,30221,30222,30223,30225,30226,30227,30228,30230,30234,30236,30237,30238,30241,30243,30247,30248,30252,30254,30255,30257,30258,30262,30263,30265,30266,30267,30269,30273,30274,30276,57814,57815,57816,57817,57818,57819,57820,57821,57822,57823,57824,57825,57826,57827,57828,57829,57830,57831,57832,57833,57834,57835,57836,57837,57838,57839,57840,57841,57842,57843,57844,57845,57846,57847,57848,57849,57850,57851,57852,57853,57854,57855,57856,57857,57858,57859,57860,57861,57862,57863,57864,57865,57866,57867,57868,57869,57870,57871,57872,57873,57874,57875,57876,57877,57878,57879,57880,57881,57882,57883,57884,57885,57886,57887,57888,57889,57890,57891,57892,57893,57894,57895,57896,57897,57898,57899,57900,57901,57902,57903,57904,57905,57906,57907,30277,30278,30279,30280,30281,30282,30283,30286,30287,30288,30289,30290,30291,30293,30295,30296,30297,30298,30299,30301,30303,30304,30305,30306,30308,30309,30310,30311,30312,30313,30314,30316,30317,30318,30320,30321,30322,30323,30324,30325,30326,30327,30329,30330,30332,30335,30336,30337,30339,30341,30345,30346,30348,30349,30351,30352,30354,30356,30357,30359,30360,30362,30363,30364,30365,30366,30367,30368,30369,30370,30371,30373,30374,30375,30376,30377,30378,30379,30380,30381,30383,30384,30387,30389,30390,30391,30392,30393,30394,30395,30396,30397,30398,30400,30401,30403,21834,38463,22467,25384,21710,21769,21696,30353,30284,34108,30702,33406,30861,29233,38552,38797,27688,23433,20474,25353,26263,23736,33018,26696,32942,26114,30414,20985,25942,29100,32753,34948,20658,22885,25034,28595,33453,25420,25170,21485,21543,31494,20843,30116,24052,25300,36299,38774,25226,32793,22365,38712,32610,29240,30333,26575,30334,25670,20336,36133,25308,31255,26001,29677,25644,25203,33324,39041,26495,29256,25198,25292,20276,29923,21322,21150,32458,37030,24110,26758,27036,33152,32465,26834,30917,34444,38225,20621,35876,33502,32990,21253,35090,21093,30404,30407,30409,30411,30412,30419,30421,30425,30426,30428,30429,30430,30432,30433,30434,30435,30436,30438,30439,30440,30441,30442,30443,30444,30445,30448,30451,30453,30454,30455,30458,30459,30461,30463,30464,30466,30467,30469,30470,30474,30476,30478,30479,30480,30481,30482,30483,30484,30485,30486,30487,30488,30491,30492,30493,30494,30497,30499,30500,30501,30503,30506,30507,30508,30510,30512,30513,30514,30515,30516,30521,30523,30525,30526,30527,30530,30532,30533,30534,30536,30537,30538,30539,30540,30541,30542,30543,30546,30547,30548,30549,30550,30551,30552,30553,30556,34180,38649,20445,22561,39281,23453,25265,25253,26292,35961,40077,29190,26479,30865,24754,21329,21271,36744,32972,36125,38049,20493,29384,22791,24811,28953,34987,22868,33519,26412,31528,23849,32503,29997,27893,36454,36856,36924,40763,27604,37145,31508,24444,30887,34006,34109,27605,27609,27606,24065,24199,30201,38381,25949,24330,24517,36767,22721,33218,36991,38491,38829,36793,32534,36140,25153,20415,21464,21342,36776,36777,36779,36941,26631,24426,33176,34920,40150,24971,21035,30250,24428,25996,28626,28392,23486,25672,20853,20912,26564,19993,31177,39292,28851,30557,30558,30559,30560,30564,30567,30569,30570,30573,30574,30575,30576,30577,30578,30579,30580,30581,30582,30583,30584,30586,30587,30588,30593,30594,30595,30598,30599,30600,30601,30602,30603,30607,30608,30611,30612,30613,30614,30615,30616,30617,30618,30619,30620,30621,30622,30625,30627,30628,30630,30632,30635,30637,30638,30639,30641,30642,30644,30646,30647,30648,30649,30650,30652,30654,30656,30657,30658,30659,30660,30661,30662,30663,30664,30665,30666,30667,30668,30670,30671,30672,30673,30674,30675,30676,30677,30678,30680,30681,30682,30685,30686,30687,30688,30689,30692,30149,24182,29627,33760,25773,25320,38069,27874,21338,21187,25615,38082,31636,20271,24091,33334,33046,33162,28196,27850,39539,25429,21340,21754,34917,22496,19981,24067,27493,31807,37096,24598,25830,29468,35009,26448,25165,36130,30572,36393,37319,24425,33756,34081,39184,21442,34453,27531,24813,24808,28799,33485,33329,20179,27815,34255,25805,31961,27133,26361,33609,21397,31574,20391,20876,27979,23618,36461,25554,21449,33580,33590,26597,30900,25661,23519,23700,24046,35815,25286,26612,35962,25600,25530,34633,39307,35863,32544,38130,20135,38416,39076,26124,29462,30694,30696,30698,30703,30704,30705,30706,30708,30709,30711,30713,30714,30715,30716,30723,30724,30725,30726,30727,30728,30730,30731,30734,30735,30736,30739,30741,30745,30747,30750,30752,30753,30754,30756,30760,30762,30763,30766,30767,30769,30770,30771,30773,30774,30781,30783,30785,30786,30787,30788,30790,30792,30793,30794,30795,30797,30799,30801,30803,30804,30808,30809,30810,30811,30812,30814,30815,30816,30817,30818,30819,30820,30821,30822,30823,30824,30825,30831,30832,30833,30834,30835,30836,30837,30838,30840,30841,30842,30843,30845,30846,30847,30848,30849,30850,30851,22330,23581,24120,38271,20607,32928,21378,25950,30021,21809,20513,36229,25220,38046,26397,22066,28526,24034,21557,28818,36710,25199,25764,25507,24443,28552,37108,33251,36784,23576,26216,24561,27785,38472,36225,34924,25745,31216,22478,27225,25104,21576,20056,31243,24809,28548,35802,25215,36894,39563,31204,21507,30196,25345,21273,27744,36831,24347,39536,32827,40831,20360,23610,36196,32709,26021,28861,20805,20914,34411,23815,23456,25277,37228,30068,36364,31264,24833,31609,20167,32504,30597,19985,33261,21021,20986,27249,21416,36487,38148,38607,28353,38500,26970,30852,30853,30854,30856,30858,30859,30863,30864,30866,30868,30869,30870,30873,30877,30878,30880,30882,30884,30886,30888,30889,30890,30891,30892,30893,30894,30895,30901,30902,30903,30904,30906,30907,30908,30909,30911,30912,30914,30915,30916,30918,30919,30920,30924,30925,30926,30927,30929,30930,30931,30934,30935,30936,30938,30939,30940,30941,30942,30943,30944,30945,30946,30947,30948,30949,30950,30951,30953,30954,30955,30957,30958,30959,30960,30961,30963,30965,30966,30968,30969,30971,30972,30973,30974,30975,30976,30978,30979,30980,30982,30983,30984,30985,30986,30987,30988,30784,20648,30679,25616,35302,22788,25571,24029,31359,26941,20256,33337,21912,20018,30126,31383,24162,24202,38383,21019,21561,28810,25462,38180,22402,26149,26943,37255,21767,28147,32431,34850,25139,32496,30133,33576,30913,38604,36766,24904,29943,35789,27492,21050,36176,27425,32874,33905,22257,21254,20174,19995,20945,31895,37259,31751,20419,36479,31713,31388,25703,23828,20652,33030,30209,31929,28140,32736,26449,23384,23544,30923,25774,25619,25514,25387,38169,25645,36798,31572,30249,25171,22823,21574,27513,20643,25140,24102,27526,20195,36151,34955,24453,36910,30989,30990,30991,30992,30993,30994,30996,30997,30998,30999,31e3,31001,31002,31003,31004,31005,31007,31008,31009,31010,31011,31013,31014,31015,31016,31017,31018,31019,31020,31021,31022,31023,31024,31025,31026,31027,31029,31030,31031,31032,31033,31037,31039,31042,31043,31044,31045,31047,31050,31051,31052,31053,31054,31055,31056,31057,31058,31060,31061,31064,31065,31073,31075,31076,31078,31081,31082,31083,31084,31086,31088,31089,31090,31091,31092,31093,31094,31097,31099,31100,31101,31102,31103,31106,31107,31110,31111,31112,31113,31115,31116,31117,31118,31120,31121,31122,24608,32829,25285,20025,21333,37112,25528,32966,26086,27694,20294,24814,28129,35806,24377,34507,24403,25377,20826,33633,26723,20992,25443,36424,20498,23707,31095,23548,21040,31291,24764,36947,30423,24503,24471,30340,36460,28783,30331,31561,30634,20979,37011,22564,20302,28404,36842,25932,31515,29380,28068,32735,23265,25269,24213,22320,33922,31532,24093,24351,36882,32532,39072,25474,28359,30872,28857,20856,38747,22443,30005,20291,30008,24215,24806,22880,28096,27583,30857,21500,38613,20939,20993,25481,21514,38035,35843,36300,29241,30879,34678,36845,35853,21472,31123,31124,31125,31126,31127,31128,31129,31131,31132,31133,31134,31135,31136,31137,31138,31139,31140,31141,31142,31144,31145,31146,31147,31148,31149,31150,31151,31152,31153,31154,31156,31157,31158,31159,31160,31164,31167,31170,31172,31173,31175,31176,31178,31180,31182,31183,31184,31187,31188,31190,31191,31193,31194,31195,31196,31197,31198,31200,31201,31202,31205,31208,31210,31212,31214,31217,31218,31219,31220,31221,31222,31223,31225,31226,31228,31230,31231,31233,31236,31237,31239,31240,31241,31242,31244,31247,31248,31249,31250,31251,31253,31254,31256,31257,31259,31260,19969,30447,21486,38025,39030,40718,38189,23450,35746,20002,19996,20908,33891,25026,21160,26635,20375,24683,20923,27934,20828,25238,26007,38497,35910,36887,30168,37117,30563,27602,29322,29420,35835,22581,30585,36172,26460,38208,32922,24230,28193,22930,31471,30701,38203,27573,26029,32526,22534,20817,38431,23545,22697,21544,36466,25958,39039,22244,38045,30462,36929,25479,21702,22810,22842,22427,36530,26421,36346,33333,21057,24816,22549,34558,23784,40517,20420,39069,35769,23077,24694,21380,25212,36943,37122,39295,24681,32780,20799,32819,23572,39285,27953,20108,31261,31263,31265,31266,31268,31269,31270,31271,31272,31273,31274,31275,31276,31277,31278,31279,31280,31281,31282,31284,31285,31286,31288,31290,31294,31296,31297,31298,31299,31300,31301,31303,31304,31305,31306,31307,31308,31309,31310,31311,31312,31314,31315,31316,31317,31318,31320,31321,31322,31323,31324,31325,31326,31327,31328,31329,31330,31331,31332,31333,31334,31335,31336,31337,31338,31339,31340,31341,31342,31343,31345,31346,31347,31349,31355,31356,31357,31358,31362,31365,31367,31369,31370,31371,31372,31374,31375,31376,31379,31380,31385,31386,31387,31390,31393,31394,36144,21457,32602,31567,20240,20047,38400,27861,29648,34281,24070,30058,32763,27146,30718,38034,32321,20961,28902,21453,36820,33539,36137,29359,39277,27867,22346,33459,26041,32938,25151,38450,22952,20223,35775,32442,25918,33778,38750,21857,39134,32933,21290,35837,21536,32954,24223,27832,36153,33452,37210,21545,27675,20998,32439,22367,28954,27774,31881,22859,20221,24575,24868,31914,20016,23553,26539,34562,23792,38155,39118,30127,28925,36898,20911,32541,35773,22857,20964,20315,21542,22827,25975,32932,23413,25206,25282,36752,24133,27679,31526,20239,20440,26381,31395,31396,31399,31401,31402,31403,31406,31407,31408,31409,31410,31412,31413,31414,31415,31416,31417,31418,31419,31420,31421,31422,31424,31425,31426,31427,31428,31429,31430,31431,31432,31433,31434,31436,31437,31438,31439,31440,31441,31442,31443,31444,31445,31447,31448,31450,31451,31452,31453,31457,31458,31460,31463,31464,31465,31466,31467,31468,31470,31472,31473,31474,31475,31476,31477,31478,31479,31480,31483,31484,31486,31488,31489,31490,31493,31495,31497,31500,31501,31502,31504,31506,31507,31510,31511,31512,31514,31516,31517,31519,31521,31522,31523,31527,31529,31533,28014,28074,31119,34993,24343,29995,25242,36741,20463,37340,26023,33071,33105,24220,33104,36212,21103,35206,36171,22797,20613,20184,38428,29238,33145,36127,23500,35747,38468,22919,32538,21648,22134,22030,35813,25913,27010,38041,30422,28297,24178,29976,26438,26577,31487,32925,36214,24863,31174,25954,36195,20872,21018,38050,32568,32923,32434,23703,28207,26464,31705,30347,39640,33167,32660,31957,25630,38224,31295,21578,21733,27468,25601,25096,40509,33011,30105,21106,38761,33883,26684,34532,38401,38548,38124,20010,21508,32473,26681,36319,32789,26356,24218,32697,31535,31536,31538,31540,31541,31542,31543,31545,31547,31549,31551,31552,31553,31554,31555,31556,31558,31560,31562,31565,31566,31571,31573,31575,31577,31580,31582,31583,31585,31587,31588,31589,31590,31591,31592,31593,31594,31595,31596,31597,31599,31600,31603,31604,31606,31608,31610,31612,31613,31615,31617,31618,31619,31620,31622,31623,31624,31625,31626,31627,31628,31630,31631,31633,31634,31635,31638,31640,31641,31642,31643,31646,31647,31648,31651,31652,31653,31662,31663,31664,31666,31667,31669,31670,31671,31673,31674,31675,31676,31677,31678,31679,31680,31682,31683,31684,22466,32831,26775,24037,25915,21151,24685,40858,20379,36524,20844,23467,24339,24041,27742,25329,36129,20849,38057,21246,27807,33503,29399,22434,26500,36141,22815,36764,33735,21653,31629,20272,27837,23396,22993,40723,21476,34506,39592,35895,32929,25925,39038,22266,38599,21038,29916,21072,23521,25346,35074,20054,25296,24618,26874,20851,23448,20896,35266,31649,39302,32592,24815,28748,36143,20809,24191,36891,29808,35268,22317,30789,24402,40863,38394,36712,39740,35809,30328,26690,26588,36330,36149,21053,36746,28378,26829,38149,37101,22269,26524,35065,36807,21704,31685,31688,31689,31690,31691,31693,31694,31695,31696,31698,31700,31701,31702,31703,31704,31707,31708,31710,31711,31712,31714,31715,31716,31719,31720,31721,31723,31724,31725,31727,31728,31730,31731,31732,31733,31734,31736,31737,31738,31739,31741,31743,31744,31745,31746,31747,31748,31749,31750,31752,31753,31754,31757,31758,31760,31761,31762,31763,31764,31765,31767,31768,31769,31770,31771,31772,31773,31774,31776,31777,31778,31779,31780,31781,31784,31785,31787,31788,31789,31790,31791,31792,31793,31794,31795,31796,31797,31798,31799,31801,31802,31803,31804,31805,31806,31810,39608,23401,28023,27686,20133,23475,39559,37219,25e3,37039,38889,21547,28085,23506,20989,21898,32597,32752,25788,25421,26097,25022,24717,28938,27735,27721,22831,26477,33322,22741,22158,35946,27627,37085,22909,32791,21495,28009,21621,21917,33655,33743,26680,31166,21644,20309,21512,30418,35977,38402,27827,28088,36203,35088,40548,36154,22079,40657,30165,24456,29408,24680,21756,20136,27178,34913,24658,36720,21700,28888,34425,40511,27946,23439,24344,32418,21897,20399,29492,21564,21402,20505,21518,21628,20046,24573,29786,22774,33899,32993,34676,29392,31946,28246,31811,31812,31813,31814,31815,31816,31817,31818,31819,31820,31822,31823,31824,31825,31826,31827,31828,31829,31830,31831,31832,31833,31834,31835,31836,31837,31838,31839,31840,31841,31842,31843,31844,31845,31846,31847,31848,31849,31850,31851,31852,31853,31854,31855,31856,31857,31858,31861,31862,31863,31864,31865,31866,31870,31871,31872,31873,31874,31875,31876,31877,31878,31879,31880,31882,31883,31884,31885,31886,31887,31888,31891,31892,31894,31897,31898,31899,31904,31905,31907,31910,31911,31912,31913,31915,31916,31917,31919,31920,31924,31925,31926,31927,31928,31930,31931,24359,34382,21804,25252,20114,27818,25143,33457,21719,21326,29502,28369,30011,21010,21270,35805,27088,24458,24576,28142,22351,27426,29615,26707,36824,32531,25442,24739,21796,30186,35938,28949,28067,23462,24187,33618,24908,40644,30970,34647,31783,30343,20976,24822,29004,26179,24140,24653,35854,28784,25381,36745,24509,24674,34516,22238,27585,24724,24935,21321,24800,26214,36159,31229,20250,28905,27719,35763,35826,32472,33636,26127,23130,39746,27985,28151,35905,27963,20249,28779,33719,25110,24785,38669,36135,31096,20987,22334,22522,26426,30072,31293,31215,31637,31935,31936,31938,31939,31940,31942,31945,31947,31950,31951,31952,31953,31954,31955,31956,31960,31962,31963,31965,31966,31969,31970,31971,31972,31973,31974,31975,31977,31978,31979,31980,31981,31982,31984,31985,31986,31987,31988,31989,31990,31991,31993,31994,31996,31997,31998,31999,32e3,32001,32002,32003,32004,32005,32006,32007,32008,32009,32011,32012,32013,32014,32015,32016,32017,32018,32019,32020,32021,32022,32023,32024,32025,32026,32027,32028,32029,32030,32031,32033,32035,32036,32037,32038,32040,32041,32042,32044,32045,32046,32048,32049,32050,32051,32052,32053,32054,32908,39269,36857,28608,35749,40481,23020,32489,32521,21513,26497,26840,36753,31821,38598,21450,24613,30142,27762,21363,23241,32423,25380,20960,33034,24049,34015,25216,20864,23395,20238,31085,21058,24760,27982,23492,23490,35745,35760,26082,24524,38469,22931,32487,32426,22025,26551,22841,20339,23478,21152,33626,39050,36158,30002,38078,20551,31292,20215,26550,39550,23233,27516,30417,22362,23574,31546,38388,29006,20860,32937,33392,22904,32516,33575,26816,26604,30897,30839,25315,25441,31616,20461,21098,20943,33616,27099,37492,36341,36145,35265,38190,31661,20214,32055,32056,32057,32058,32059,32060,32061,32062,32063,32064,32065,32066,32067,32068,32069,32070,32071,32072,32073,32074,32075,32076,32077,32078,32079,32080,32081,32082,32083,32084,32085,32086,32087,32088,32089,32090,32091,32092,32093,32094,32095,32096,32097,32098,32099,32100,32101,32102,32103,32104,32105,32106,32107,32108,32109,32111,32112,32113,32114,32115,32116,32117,32118,32120,32121,32122,32123,32124,32125,32126,32127,32128,32129,32130,32131,32132,32133,32134,32135,32136,32137,32138,32139,32140,32141,32142,32143,32144,32145,32146,32147,32148,32149,32150,32151,32152,20581,33328,21073,39279,28176,28293,28071,24314,20725,23004,23558,27974,27743,30086,33931,26728,22870,35762,21280,37233,38477,34121,26898,30977,28966,33014,20132,37066,27975,39556,23047,22204,25605,38128,30699,20389,33050,29409,35282,39290,32564,32478,21119,25945,37237,36735,36739,21483,31382,25581,25509,30342,31224,34903,38454,25130,21163,33410,26708,26480,25463,30571,31469,27905,32467,35299,22992,25106,34249,33445,30028,20511,20171,30117,35819,23626,24062,31563,26020,37329,20170,27941,35167,32039,38182,20165,35880,36827,38771,26187,31105,36817,28908,28024,32153,32154,32155,32156,32157,32158,32159,32160,32161,32162,32163,32164,32165,32167,32168,32169,32170,32171,32172,32173,32175,32176,32177,32178,32179,32180,32181,32182,32183,32184,32185,32186,32187,32188,32189,32190,32191,32192,32193,32194,32195,32196,32197,32198,32199,32200,32201,32202,32203,32204,32205,32206,32207,32208,32209,32210,32211,32212,32213,32214,32215,32216,32217,32218,32219,32220,32221,32222,32223,32224,32225,32226,32227,32228,32229,32230,32231,32232,32233,32234,32235,32236,32237,32238,32239,32240,32241,32242,32243,32244,32245,32246,32247,32248,32249,32250,23613,21170,33606,20834,33550,30555,26230,40120,20140,24778,31934,31923,32463,20117,35686,26223,39048,38745,22659,25964,38236,24452,30153,38742,31455,31454,20928,28847,31384,25578,31350,32416,29590,38893,20037,28792,20061,37202,21417,25937,26087,33276,33285,21646,23601,30106,38816,25304,29401,30141,23621,39545,33738,23616,21632,30697,20030,27822,32858,25298,25454,24040,20855,36317,36382,38191,20465,21477,24807,28844,21095,25424,40515,23071,20518,30519,21367,32482,25733,25899,25225,25496,20500,29237,35273,20915,35776,32477,22343,33740,38055,20891,21531,23803,32251,32252,32253,32254,32255,32256,32257,32258,32259,32260,32261,32262,32263,32264,32265,32266,32267,32268,32269,32270,32271,32272,32273,32274,32275,32276,32277,32278,32279,32280,32281,32282,32283,32284,32285,32286,32287,32288,32289,32290,32291,32292,32293,32294,32295,32296,32297,32298,32299,32300,32301,32302,32303,32304,32305,32306,32307,32308,32309,32310,32311,32312,32313,32314,32316,32317,32318,32319,32320,32322,32323,32324,32325,32326,32328,32329,32330,32331,32332,32333,32334,32335,32336,32337,32338,32339,32340,32341,32342,32343,32344,32345,32346,32347,32348,32349,20426,31459,27994,37089,39567,21888,21654,21345,21679,24320,25577,26999,20975,24936,21002,22570,21208,22350,30733,30475,24247,24951,31968,25179,25239,20130,28821,32771,25335,28900,38752,22391,33499,26607,26869,30933,39063,31185,22771,21683,21487,28212,20811,21051,23458,35838,32943,21827,22438,24691,22353,21549,31354,24656,23380,25511,25248,21475,25187,23495,26543,21741,31391,33510,37239,24211,35044,22840,22446,25358,36328,33007,22359,31607,20393,24555,23485,27454,21281,31568,29378,26694,30719,30518,26103,20917,20111,30420,23743,31397,33909,22862,39745,20608,32350,32351,32352,32353,32354,32355,32356,32357,32358,32359,32360,32361,32362,32363,32364,32365,32366,32367,32368,32369,32370,32371,32372,32373,32374,32375,32376,32377,32378,32379,32380,32381,32382,32383,32384,32385,32387,32388,32389,32390,32391,32392,32393,32394,32395,32396,32397,32398,32399,32400,32401,32402,32403,32404,32405,32406,32407,32408,32409,32410,32412,32413,32414,32430,32436,32443,32444,32470,32484,32492,32505,32522,32528,32542,32567,32569,32571,32572,32573,32574,32575,32576,32577,32579,32582,32583,32584,32585,32586,32587,32588,32589,32590,32591,32594,32595,39304,24871,28291,22372,26118,25414,22256,25324,25193,24275,38420,22403,25289,21895,34593,33098,36771,21862,33713,26469,36182,34013,23146,26639,25318,31726,38417,20848,28572,35888,25597,35272,25042,32518,28866,28389,29701,27028,29436,24266,37070,26391,28010,25438,21171,29282,32769,20332,23013,37226,28889,28061,21202,20048,38647,38253,34174,30922,32047,20769,22418,25794,32907,31867,27882,26865,26974,20919,21400,26792,29313,40654,31729,29432,31163,28435,29702,26446,37324,40100,31036,33673,33620,21519,26647,20029,21385,21169,30782,21382,21033,20616,20363,20432,32598,32601,32603,32604,32605,32606,32608,32611,32612,32613,32614,32615,32619,32620,32621,32623,32624,32627,32629,32630,32631,32632,32634,32635,32636,32637,32639,32640,32642,32643,32644,32645,32646,32647,32648,32649,32651,32653,32655,32656,32657,32658,32659,32661,32662,32663,32664,32665,32667,32668,32672,32674,32675,32677,32678,32680,32681,32682,32683,32684,32685,32686,32689,32691,32692,32693,32694,32695,32698,32699,32702,32704,32706,32707,32708,32710,32711,32712,32713,32715,32717,32719,32720,32721,32722,32723,32726,32727,32729,32730,32731,32732,32733,32734,32738,32739,30178,31435,31890,27813,38582,21147,29827,21737,20457,32852,33714,36830,38256,24265,24604,28063,24088,25947,33080,38142,24651,28860,32451,31918,20937,26753,31921,33391,20004,36742,37327,26238,20142,35845,25769,32842,20698,30103,29134,23525,36797,28518,20102,25730,38243,24278,26009,21015,35010,28872,21155,29454,29747,26519,30967,38678,20020,37051,40158,28107,20955,36161,21533,25294,29618,33777,38646,40836,38083,20278,32666,20940,28789,38517,23725,39046,21478,20196,28316,29705,27060,30827,39311,30041,21016,30244,27969,26611,20845,40857,32843,21657,31548,31423,32740,32743,32744,32746,32747,32748,32749,32751,32754,32756,32757,32758,32759,32760,32761,32762,32765,32766,32767,32770,32775,32776,32777,32778,32782,32783,32785,32787,32794,32795,32797,32798,32799,32801,32803,32804,32811,32812,32813,32814,32815,32816,32818,32820,32825,32826,32828,32830,32832,32833,32836,32837,32839,32840,32841,32846,32847,32848,32849,32851,32853,32854,32855,32857,32859,32860,32861,32862,32863,32864,32865,32866,32867,32868,32869,32870,32871,32872,32875,32876,32877,32878,32879,32880,32882,32883,32884,32885,32886,32887,32888,32889,32890,32891,32892,32893,38534,22404,25314,38471,27004,23044,25602,31699,28431,38475,33446,21346,39045,24208,28809,25523,21348,34383,40065,40595,30860,38706,36335,36162,40575,28510,31108,24405,38470,25134,39540,21525,38109,20387,26053,23653,23649,32533,34385,27695,24459,29575,28388,32511,23782,25371,23402,28390,21365,20081,25504,30053,25249,36718,20262,20177,27814,32438,35770,33821,34746,32599,36923,38179,31657,39585,35064,33853,27931,39558,32476,22920,40635,29595,30721,34434,39532,39554,22043,21527,22475,20080,40614,21334,36808,33033,30610,39314,34542,28385,34067,26364,24930,28459,32894,32897,32898,32901,32904,32906,32909,32910,32911,32912,32913,32914,32916,32917,32919,32921,32926,32931,32934,32935,32936,32940,32944,32947,32949,32950,32952,32953,32955,32965,32967,32968,32969,32970,32971,32975,32976,32977,32978,32979,32980,32981,32984,32991,32992,32994,32995,32998,33006,33013,33015,33017,33019,33022,33023,33024,33025,33027,33028,33029,33031,33032,33035,33036,33045,33047,33049,33051,33052,33053,33055,33056,33057,33058,33059,33060,33061,33062,33063,33064,33065,33066,33067,33069,33070,33072,33075,33076,33077,33079,33081,33082,33083,33084,33085,33087,35881,33426,33579,30450,27667,24537,33725,29483,33541,38170,27611,30683,38086,21359,33538,20882,24125,35980,36152,20040,29611,26522,26757,37238,38665,29028,27809,30473,23186,38209,27599,32654,26151,23504,22969,23194,38376,38391,20204,33804,33945,27308,30431,38192,29467,26790,23391,30511,37274,38753,31964,36855,35868,24357,31859,31192,35269,27852,34588,23494,24130,26825,30496,32501,20885,20813,21193,23081,32517,38754,33495,25551,30596,34256,31186,28218,24217,22937,34065,28781,27665,25279,30399,25935,24751,38397,26126,34719,40483,38125,21517,21629,35884,25720,33088,33089,33090,33091,33092,33093,33095,33097,33101,33102,33103,33106,33110,33111,33112,33115,33116,33117,33118,33119,33121,33122,33123,33124,33126,33128,33130,33131,33132,33135,33138,33139,33141,33142,33143,33144,33153,33155,33156,33157,33158,33159,33161,33163,33164,33165,33166,33168,33170,33171,33172,33173,33174,33175,33177,33178,33182,33183,33184,33185,33186,33188,33189,33191,33193,33195,33196,33197,33198,33199,33200,33201,33202,33204,33205,33206,33207,33208,33209,33212,33213,33214,33215,33220,33221,33223,33224,33225,33227,33229,33230,33231,33232,33233,33234,33235,25721,34321,27169,33180,30952,25705,39764,25273,26411,33707,22696,40664,27819,28448,23518,38476,35851,29279,26576,25287,29281,20137,22982,27597,22675,26286,24149,21215,24917,26408,30446,30566,29287,31302,25343,21738,21584,38048,37027,23068,32435,27670,20035,22902,32784,22856,21335,30007,38590,22218,25376,33041,24700,38393,28118,21602,39297,20869,23273,33021,22958,38675,20522,27877,23612,25311,20320,21311,33147,36870,28346,34091,25288,24180,30910,25781,25467,24565,23064,37247,40479,23615,25423,32834,23421,21870,38218,38221,28037,24744,26592,29406,20957,23425,33236,33237,33238,33239,33240,33241,33242,33243,33244,33245,33246,33247,33248,33249,33250,33252,33253,33254,33256,33257,33259,33262,33263,33264,33265,33266,33269,33270,33271,33272,33273,33274,33277,33279,33283,33287,33288,33289,33290,33291,33294,33295,33297,33299,33301,33302,33303,33304,33305,33306,33309,33312,33316,33317,33318,33319,33321,33326,33330,33338,33340,33341,33343,33344,33345,33346,33347,33349,33350,33352,33354,33356,33357,33358,33360,33361,33362,33363,33364,33365,33366,33367,33369,33371,33372,33373,33374,33376,33377,33378,33379,33380,33381,33382,33383,33385,25319,27870,29275,25197,38062,32445,33043,27987,20892,24324,22900,21162,24594,22899,26262,34384,30111,25386,25062,31983,35834,21734,27431,40485,27572,34261,21589,20598,27812,21866,36276,29228,24085,24597,29750,25293,25490,29260,24472,28227,27966,25856,28504,30424,30928,30460,30036,21028,21467,20051,24222,26049,32810,32982,25243,21638,21032,28846,34957,36305,27873,21624,32986,22521,35060,36180,38506,37197,20329,27803,21943,30406,30768,25256,28921,28558,24429,34028,26842,30844,31735,33192,26379,40527,25447,30896,22383,30738,38713,25209,25259,21128,29749,27607,33386,33387,33388,33389,33393,33397,33398,33399,33400,33403,33404,33408,33409,33411,33413,33414,33415,33417,33420,33424,33427,33428,33429,33430,33434,33435,33438,33440,33442,33443,33447,33458,33461,33462,33466,33467,33468,33471,33472,33474,33475,33477,33478,33481,33488,33494,33497,33498,33501,33506,33511,33512,33513,33514,33516,33517,33518,33520,33522,33523,33525,33526,33528,33530,33532,33533,33534,33535,33536,33546,33547,33549,33552,33554,33555,33558,33560,33561,33565,33566,33567,33568,33569,33570,33571,33572,33573,33574,33577,33578,33582,33584,33586,33591,33595,33597,21860,33086,30130,30382,21305,30174,20731,23617,35692,31687,20559,29255,39575,39128,28418,29922,31080,25735,30629,25340,39057,36139,21697,32856,20050,22378,33529,33805,24179,20973,29942,35780,23631,22369,27900,39047,23110,30772,39748,36843,31893,21078,25169,38138,20166,33670,33889,33769,33970,22484,26420,22275,26222,28006,35889,26333,28689,26399,27450,26646,25114,22971,19971,20932,28422,26578,27791,20854,26827,22855,27495,30054,23822,33040,40784,26071,31048,31041,39569,36215,23682,20062,20225,21551,22865,30732,22120,27668,36804,24323,27773,27875,35755,25488,33598,33599,33601,33602,33604,33605,33608,33610,33611,33612,33613,33614,33619,33621,33622,33623,33624,33625,33629,33634,33648,33649,33650,33651,33652,33653,33654,33657,33658,33662,33663,33664,33665,33666,33667,33668,33671,33672,33674,33675,33676,33677,33679,33680,33681,33684,33685,33686,33687,33689,33690,33693,33695,33697,33698,33699,33700,33701,33702,33703,33708,33709,33710,33711,33717,33723,33726,33727,33730,33731,33732,33734,33736,33737,33739,33741,33742,33744,33745,33746,33747,33749,33751,33753,33754,33755,33758,33762,33763,33764,33766,33767,33768,33771,33772,33773,24688,27965,29301,25190,38030,38085,21315,36801,31614,20191,35878,20094,40660,38065,38067,21069,28508,36963,27973,35892,22545,23884,27424,27465,26538,21595,33108,32652,22681,34103,24378,25250,27207,38201,25970,24708,26725,30631,20052,20392,24039,38808,25772,32728,23789,20431,31373,20999,33540,19988,24623,31363,38054,20405,20146,31206,29748,21220,33465,25810,31165,23517,27777,38738,36731,27682,20542,21375,28165,25806,26228,27696,24773,39031,35831,24198,29756,31351,31179,19992,37041,29699,27714,22234,37195,27845,36235,21306,34502,26354,36527,23624,39537,28192,33774,33775,33779,33780,33781,33782,33783,33786,33787,33788,33790,33791,33792,33794,33797,33799,33800,33801,33802,33808,33810,33811,33812,33813,33814,33815,33817,33818,33819,33822,33823,33824,33825,33826,33827,33833,33834,33835,33836,33837,33838,33839,33840,33842,33843,33844,33845,33846,33847,33849,33850,33851,33854,33855,33856,33857,33858,33859,33860,33861,33863,33864,33865,33866,33867,33868,33869,33870,33871,33872,33874,33875,33876,33877,33878,33880,33885,33886,33887,33888,33890,33892,33893,33894,33895,33896,33898,33902,33903,33904,33906,33908,33911,33913,33915,33916,21462,23094,40843,36259,21435,22280,39079,26435,37275,27849,20840,30154,25331,29356,21048,21149,32570,28820,30264,21364,40522,27063,30830,38592,35033,32676,28982,29123,20873,26579,29924,22756,25880,22199,35753,39286,25200,32469,24825,28909,22764,20161,20154,24525,38887,20219,35748,20995,22922,32427,25172,20173,26085,25102,33592,33993,33635,34701,29076,28342,23481,32466,20887,25545,26580,32905,33593,34837,20754,23418,22914,36785,20083,27741,20837,35109,36719,38446,34122,29790,38160,38384,28070,33509,24369,25746,27922,33832,33134,40131,22622,36187,19977,21441,33917,33918,33919,33920,33921,33923,33924,33925,33926,33930,33933,33935,33936,33937,33938,33939,33940,33941,33942,33944,33946,33947,33949,33950,33951,33952,33954,33955,33956,33957,33958,33959,33960,33961,33962,33963,33964,33965,33966,33968,33969,33971,33973,33974,33975,33979,33980,33982,33984,33986,33987,33989,33990,33991,33992,33995,33996,33998,33999,34002,34004,34005,34007,34008,34009,34010,34011,34012,34014,34017,34018,34020,34023,34024,34025,34026,34027,34029,34030,34031,34033,34034,34035,34036,34037,34038,34039,34040,34041,34042,34043,34045,34046,34048,34049,34050,20254,25955,26705,21971,20007,25620,39578,25195,23234,29791,33394,28073,26862,20711,33678,30722,26432,21049,27801,32433,20667,21861,29022,31579,26194,29642,33515,26441,23665,21024,29053,34923,38378,38485,25797,36193,33203,21892,27733,25159,32558,22674,20260,21830,36175,26188,19978,23578,35059,26786,25422,31245,28903,33421,21242,38902,23569,21736,37045,32461,22882,36170,34503,33292,33293,36198,25668,23556,24913,28041,31038,35774,30775,30003,21627,20280,36523,28145,23072,32453,31070,27784,23457,23158,29978,32958,24910,28183,22768,29983,29989,29298,21319,32499,34051,34052,34053,34054,34055,34056,34057,34058,34059,34061,34062,34063,34064,34066,34068,34069,34070,34072,34073,34075,34076,34077,34078,34080,34082,34083,34084,34085,34086,34087,34088,34089,34090,34093,34094,34095,34096,34097,34098,34099,34100,34101,34102,34110,34111,34112,34113,34114,34116,34117,34118,34119,34123,34124,34125,34126,34127,34128,34129,34130,34131,34132,34133,34135,34136,34138,34139,34140,34141,34143,34144,34145,34146,34147,34149,34150,34151,34153,34154,34155,34156,34157,34158,34159,34160,34161,34163,34165,34166,34167,34168,34172,34173,34175,34176,34177,30465,30427,21097,32988,22307,24072,22833,29422,26045,28287,35799,23608,34417,21313,30707,25342,26102,20160,39135,34432,23454,35782,21490,30690,20351,23630,39542,22987,24335,31034,22763,19990,26623,20107,25325,35475,36893,21183,26159,21980,22124,36866,20181,20365,37322,39280,27663,24066,24643,23460,35270,35797,25910,25163,39318,23432,23551,25480,21806,21463,30246,20861,34092,26530,26803,27530,25234,36755,21460,33298,28113,30095,20070,36174,23408,29087,34223,26257,26329,32626,34560,40653,40736,23646,26415,36848,26641,26463,25101,31446,22661,24246,25968,28465,34178,34179,34182,34184,34185,34186,34187,34188,34189,34190,34192,34193,34194,34195,34196,34197,34198,34199,34200,34201,34202,34205,34206,34207,34208,34209,34210,34211,34213,34214,34215,34217,34219,34220,34221,34225,34226,34227,34228,34229,34230,34232,34234,34235,34236,34237,34238,34239,34240,34242,34243,34244,34245,34246,34247,34248,34250,34251,34252,34253,34254,34257,34258,34260,34262,34263,34264,34265,34266,34267,34269,34270,34271,34272,34273,34274,34275,34277,34278,34279,34280,34282,34283,34284,34285,34286,34287,34288,34289,34290,34291,34292,34293,34294,34295,34296,24661,21047,32781,25684,34928,29993,24069,26643,25332,38684,21452,29245,35841,27700,30561,31246,21550,30636,39034,33308,35828,30805,26388,28865,26031,25749,22070,24605,31169,21496,19997,27515,32902,23546,21987,22235,20282,20284,39282,24051,26494,32824,24578,39042,36865,23435,35772,35829,25628,33368,25822,22013,33487,37221,20439,32032,36895,31903,20723,22609,28335,23487,35785,32899,37240,33948,31639,34429,38539,38543,32485,39635,30862,23681,31319,36930,38567,31071,23385,25439,31499,34001,26797,21766,32553,29712,32034,38145,25152,22604,20182,23427,22905,22612,34297,34298,34300,34301,34302,34304,34305,34306,34307,34308,34310,34311,34312,34313,34314,34315,34316,34317,34318,34319,34320,34322,34323,34324,34325,34327,34328,34329,34330,34331,34332,34333,34334,34335,34336,34337,34338,34339,34340,34341,34342,34344,34346,34347,34348,34349,34350,34351,34352,34353,34354,34355,34356,34357,34358,34359,34361,34362,34363,34365,34366,34367,34368,34369,34370,34371,34372,34373,34374,34375,34376,34377,34378,34379,34380,34386,34387,34389,34390,34391,34392,34393,34395,34396,34397,34399,34400,34401,34403,34404,34405,34406,34407,34408,34409,34410,29549,25374,36427,36367,32974,33492,25260,21488,27888,37214,22826,24577,27760,22349,25674,36138,30251,28393,22363,27264,30192,28525,35885,35848,22374,27631,34962,30899,25506,21497,28845,27748,22616,25642,22530,26848,33179,21776,31958,20504,36538,28108,36255,28907,25487,28059,28372,32486,33796,26691,36867,28120,38518,35752,22871,29305,34276,33150,30140,35466,26799,21076,36386,38161,25552,39064,36420,21884,20307,26367,22159,24789,28053,21059,23625,22825,28155,22635,3e4,29980,24684,33300,33094,25361,26465,36834,30522,36339,36148,38081,24086,21381,21548,28867,34413,34415,34416,34418,34419,34420,34421,34422,34423,34424,34435,34436,34437,34438,34439,34440,34441,34446,34447,34448,34449,34450,34452,34454,34455,34456,34457,34458,34459,34462,34463,34464,34465,34466,34469,34470,34475,34477,34478,34482,34483,34487,34488,34489,34491,34492,34493,34494,34495,34497,34498,34499,34501,34504,34508,34509,34514,34515,34517,34518,34519,34522,34524,34525,34528,34529,34530,34531,34533,34534,34535,34536,34538,34539,34540,34543,34549,34550,34551,34554,34555,34556,34557,34559,34561,34564,34565,34566,34571,34572,34574,34575,34576,34577,34580,34582,27712,24311,20572,20141,24237,25402,33351,36890,26704,37230,30643,21516,38108,24420,31461,26742,25413,31570,32479,30171,20599,25237,22836,36879,20984,31171,31361,22270,24466,36884,28034,23648,22303,21520,20820,28237,22242,25512,39059,33151,34581,35114,36864,21534,23663,33216,25302,25176,33073,40501,38464,39534,39548,26925,22949,25299,21822,25366,21703,34521,27964,23043,29926,34972,27498,22806,35916,24367,28286,29609,39037,20024,28919,23436,30871,25405,26202,30358,24779,23451,23113,19975,33109,27754,29579,20129,26505,32593,24448,26106,26395,24536,22916,23041,34585,34587,34589,34591,34592,34596,34598,34599,34600,34602,34603,34604,34605,34607,34608,34610,34611,34613,34614,34616,34617,34618,34620,34621,34624,34625,34626,34627,34628,34629,34630,34634,34635,34637,34639,34640,34641,34642,34644,34645,34646,34648,34650,34651,34652,34653,34654,34655,34657,34658,34662,34663,34664,34665,34666,34667,34668,34669,34671,34673,34674,34675,34677,34679,34680,34681,34682,34687,34688,34689,34692,34694,34695,34697,34698,34700,34702,34703,34704,34705,34706,34708,34709,34710,34712,34713,34714,34715,34716,34717,34718,34720,34721,34722,34723,34724,24013,24494,21361,38886,36829,26693,22260,21807,24799,20026,28493,32500,33479,33806,22996,20255,20266,23614,32428,26410,34074,21619,30031,32963,21890,39759,20301,28205,35859,23561,24944,21355,30239,28201,34442,25991,38395,32441,21563,31283,32010,38382,21985,32705,29934,25373,34583,28065,31389,25105,26017,21351,25569,27779,24043,21596,38056,20044,27745,35820,23627,26080,33436,26791,21566,21556,27595,27494,20116,25410,21320,33310,20237,20398,22366,25098,38654,26212,29289,21247,21153,24735,35823,26132,29081,26512,35199,30802,30717,26224,22075,21560,38177,29306,34725,34726,34727,34729,34730,34734,34736,34737,34738,34740,34742,34743,34744,34745,34747,34748,34750,34751,34753,34754,34755,34756,34757,34759,34760,34761,34764,34765,34766,34767,34768,34772,34773,34774,34775,34776,34777,34778,34780,34781,34782,34783,34785,34786,34787,34788,34790,34791,34792,34793,34795,34796,34797,34799,34800,34801,34802,34803,34804,34805,34806,34807,34808,34810,34811,34812,34813,34815,34816,34817,34818,34820,34821,34822,34823,34824,34825,34827,34828,34829,34830,34831,34832,34833,34834,34836,34839,34840,34841,34842,34844,34845,34846,34847,34848,34851,31232,24687,24076,24713,33181,22805,24796,29060,28911,28330,27728,29312,27268,34989,24109,20064,23219,21916,38115,27927,31995,38553,25103,32454,30606,34430,21283,38686,36758,26247,23777,20384,29421,19979,21414,22799,21523,25472,38184,20808,20185,40092,32420,21688,36132,34900,33335,38386,28046,24358,23244,26174,38505,29616,29486,21439,33146,39301,32673,23466,38519,38480,32447,30456,21410,38262,39321,31665,35140,28248,20065,32724,31077,35814,24819,21709,20139,39033,24055,27233,20687,21521,35937,33831,30813,38660,21066,21742,22179,38144,28040,23477,28102,26195,34852,34853,34854,34855,34856,34857,34858,34859,34860,34861,34862,34863,34864,34865,34867,34868,34869,34870,34871,34872,34874,34875,34877,34878,34879,34881,34882,34883,34886,34887,34888,34889,34890,34891,34894,34895,34896,34897,34898,34899,34901,34902,34904,34906,34907,34908,34909,34910,34911,34912,34918,34919,34922,34925,34927,34929,34931,34932,34933,34934,34936,34937,34938,34939,34940,34944,34947,34950,34951,34953,34954,34956,34958,34959,34960,34961,34963,34964,34965,34967,34968,34969,34970,34971,34973,34974,34975,34976,34977,34979,34981,34982,34983,34984,34985,34986,23567,23389,26657,32918,21880,31505,25928,26964,20123,27463,34638,38795,21327,25375,25658,37034,26012,32961,35856,20889,26800,21368,34809,25032,27844,27899,35874,23633,34218,33455,38156,27427,36763,26032,24571,24515,20449,34885,26143,33125,29481,24826,20852,21009,22411,24418,37026,34892,37266,24184,26447,24615,22995,20804,20982,33016,21256,27769,38596,29066,20241,20462,32670,26429,21957,38152,31168,34966,32483,22687,25100,38656,34394,22040,39035,24464,35768,33988,37207,21465,26093,24207,30044,24676,32110,23167,32490,32493,36713,21927,23459,24748,26059,29572,34988,34990,34991,34992,34994,34995,34996,34997,34998,35e3,35001,35002,35003,35005,35006,35007,35008,35011,35012,35015,35016,35018,35019,35020,35021,35023,35024,35025,35027,35030,35031,35034,35035,35036,35037,35038,35040,35041,35046,35047,35049,35050,35051,35052,35053,35054,35055,35058,35061,35062,35063,35066,35067,35069,35071,35072,35073,35075,35076,35077,35078,35079,35080,35081,35083,35084,35085,35086,35087,35089,35092,35093,35094,35095,35096,35100,35101,35102,35103,35104,35106,35107,35108,35110,35111,35112,35113,35116,35117,35118,35119,35121,35122,35123,35125,35127,36873,30307,30505,32474,38772,34203,23398,31348,38634,34880,21195,29071,24490,26092,35810,23547,39535,24033,27529,27739,35757,35759,36874,36805,21387,25276,40486,40493,21568,20011,33469,29273,34460,23830,34905,28079,38597,21713,20122,35766,28937,21693,38409,28895,28153,30416,20005,30740,34578,23721,24310,35328,39068,38414,28814,27839,22852,25513,30524,34893,28436,33395,22576,29141,21388,30746,38593,21761,24422,28976,23476,35866,39564,27523,22830,40495,31207,26472,25196,20335,30113,32650,27915,38451,27687,20208,30162,20859,26679,28478,36992,33136,22934,29814,35128,35129,35130,35131,35132,35133,35134,35135,35136,35138,35139,35141,35142,35143,35144,35145,35146,35147,35148,35149,35150,35151,35152,35153,35154,35155,35156,35157,35158,35159,35160,35161,35162,35163,35164,35165,35168,35169,35170,35171,35172,35173,35175,35176,35177,35178,35179,35180,35181,35182,35183,35184,35185,35186,35187,35188,35189,35190,35191,35192,35193,35194,35196,35197,35198,35200,35202,35204,35205,35207,35208,35209,35210,35211,35212,35213,35214,35215,35216,35217,35218,35219,35220,35221,35222,35223,35224,35225,35226,35227,35228,35229,35230,35231,35232,35233,25671,23591,36965,31377,35875,23002,21676,33280,33647,35201,32768,26928,22094,32822,29239,37326,20918,20063,39029,25494,19994,21494,26355,33099,22812,28082,19968,22777,21307,25558,38129,20381,20234,34915,39056,22839,36951,31227,20202,33008,30097,27778,23452,23016,24413,26885,34433,20506,24050,20057,30691,20197,33402,25233,26131,37009,23673,20159,24441,33222,36920,32900,30123,20134,35028,24847,27589,24518,20041,30410,28322,35811,35758,35850,35793,24322,32764,32716,32462,33589,33643,22240,27575,38899,38452,23035,21535,38134,28139,23493,39278,23609,24341,38544,35234,35235,35236,35237,35238,35239,35240,35241,35242,35243,35244,35245,35246,35247,35248,35249,35250,35251,35252,35253,35254,35255,35256,35257,35258,35259,35260,35261,35262,35263,35264,35267,35277,35283,35284,35285,35287,35288,35289,35291,35293,35295,35296,35297,35298,35300,35303,35304,35305,35306,35308,35309,35310,35312,35313,35314,35316,35317,35318,35319,35320,35321,35322,35323,35324,35325,35326,35327,35329,35330,35331,35332,35333,35334,35336,35337,35338,35339,35340,35341,35342,35343,35344,35345,35346,35347,35348,35349,35350,35351,35352,35353,35354,35355,35356,35357,21360,33521,27185,23156,40560,24212,32552,33721,33828,33829,33639,34631,36814,36194,30408,24433,39062,30828,26144,21727,25317,20323,33219,30152,24248,38605,36362,34553,21647,27891,28044,27704,24703,21191,29992,24189,20248,24736,24551,23588,30001,37038,38080,29369,27833,28216,37193,26377,21451,21491,20305,37321,35825,21448,24188,36802,28132,20110,30402,27014,34398,24858,33286,20313,20446,36926,40060,24841,28189,28180,38533,20104,23089,38632,19982,23679,31161,23431,35821,32701,29577,22495,33419,37057,21505,36935,21947,23786,24481,24840,27442,29425,32946,35465,35358,35359,35360,35361,35362,35363,35364,35365,35366,35367,35368,35369,35370,35371,35372,35373,35374,35375,35376,35377,35378,35379,35380,35381,35382,35383,35384,35385,35386,35387,35388,35389,35391,35392,35393,35394,35395,35396,35397,35398,35399,35401,35402,35403,35404,35405,35406,35407,35408,35409,35410,35411,35412,35413,35414,35415,35416,35417,35418,35419,35420,35421,35422,35423,35424,35425,35426,35427,35428,35429,35430,35431,35432,35433,35434,35435,35436,35437,35438,35439,35440,35441,35442,35443,35444,35445,35446,35447,35448,35450,35451,35452,35453,35454,35455,35456,28020,23507,35029,39044,35947,39533,40499,28170,20900,20803,22435,34945,21407,25588,36757,22253,21592,22278,29503,28304,32536,36828,33489,24895,24616,38498,26352,32422,36234,36291,38053,23731,31908,26376,24742,38405,32792,20113,37095,21248,38504,20801,36816,34164,37213,26197,38901,23381,21277,30776,26434,26685,21705,28798,23472,36733,20877,22312,21681,25874,26242,36190,36163,33039,33900,36973,31967,20991,34299,26531,26089,28577,34468,36481,22122,36896,30338,28790,29157,36131,25321,21017,27901,36156,24590,22686,24974,26366,36192,25166,21939,28195,26413,36711,35457,35458,35459,35460,35461,35462,35463,35464,35467,35468,35469,35470,35471,35472,35473,35474,35476,35477,35478,35479,35480,35481,35482,35483,35484,35485,35486,35487,35488,35489,35490,35491,35492,35493,35494,35495,35496,35497,35498,35499,35500,35501,35502,35503,35504,35505,35506,35507,35508,35509,35510,35511,35512,35513,35514,35515,35516,35517,35518,35519,35520,35521,35522,35523,35524,35525,35526,35527,35528,35529,35530,35531,35532,35533,35534,35535,35536,35537,35538,35539,35540,35541,35542,35543,35544,35545,35546,35547,35548,35549,35550,35551,35552,35553,35554,35555,38113,38392,30504,26629,27048,21643,20045,28856,35784,25688,25995,23429,31364,20538,23528,30651,27617,35449,31896,27838,30415,26025,36759,23853,23637,34360,26632,21344,25112,31449,28251,32509,27167,31456,24432,28467,24352,25484,28072,26454,19976,24080,36134,20183,32960,30260,38556,25307,26157,25214,27836,36213,29031,32617,20806,32903,21484,36974,25240,21746,34544,36761,32773,38167,34071,36825,27993,29645,26015,30495,29956,30759,33275,36126,38024,20390,26517,30137,35786,38663,25391,38215,38453,33976,25379,30529,24449,29424,20105,24596,25972,25327,27491,25919,35556,35557,35558,35559,35560,35561,35562,35563,35564,35565,35566,35567,35568,35569,35570,35571,35572,35573,35574,35575,35576,35577,35578,35579,35580,35581,35582,35583,35584,35585,35586,35587,35588,35589,35590,35592,35593,35594,35595,35596,35597,35598,35599,35600,35601,35602,35603,35604,35605,35606,35607,35608,35609,35610,35611,35612,35613,35614,35615,35616,35617,35618,35619,35620,35621,35623,35624,35625,35626,35627,35628,35629,35630,35631,35632,35633,35634,35635,35636,35637,35638,35639,35640,35641,35642,35643,35644,35645,35646,35647,35648,35649,35650,35651,35652,35653,24103,30151,37073,35777,33437,26525,25903,21553,34584,30693,32930,33026,27713,20043,32455,32844,30452,26893,27542,25191,20540,20356,22336,25351,27490,36286,21482,26088,32440,24535,25370,25527,33267,33268,32622,24092,23769,21046,26234,31209,31258,36136,28825,30164,28382,27835,31378,20013,30405,24544,38047,34935,32456,31181,32959,37325,20210,20247,33311,21608,24030,27954,35788,31909,36724,32920,24090,21650,30385,23449,26172,39588,29664,26666,34523,26417,29482,35832,35803,36880,31481,28891,29038,25284,30633,22065,20027,33879,26609,21161,34496,36142,38136,31569,35654,35655,35656,35657,35658,35659,35660,35661,35662,35663,35664,35665,35666,35667,35668,35669,35670,35671,35672,35673,35674,35675,35676,35677,35678,35679,35680,35681,35682,35683,35684,35685,35687,35688,35689,35690,35691,35693,35694,35695,35696,35697,35698,35699,35700,35701,35702,35703,35704,35705,35706,35707,35708,35709,35710,35711,35712,35713,35714,35715,35716,35717,35718,35719,35720,35721,35722,35723,35724,35725,35726,35727,35728,35729,35730,35731,35732,35733,35734,35735,35736,35737,35738,35739,35740,35741,35742,35743,35756,35761,35771,35783,35792,35818,35849,35870,20303,27880,31069,39547,25235,29226,25341,19987,30742,36716,25776,36186,31686,26729,24196,35013,22918,25758,22766,29366,26894,38181,36861,36184,22368,32512,35846,20934,25417,25305,21331,26700,29730,33537,37196,21828,30528,28796,27978,20857,21672,36164,23039,28363,28100,23388,32043,20180,31869,28371,23376,33258,28173,23383,39683,26837,36394,23447,32508,24635,32437,37049,36208,22863,25549,31199,36275,21330,26063,31062,35781,38459,32452,38075,32386,22068,37257,26368,32618,23562,36981,26152,24038,20304,26590,20570,20316,22352,24231,59408,59409,59410,59411,59412,35896,35897,35898,35899,35900,35901,35902,35903,35904,35906,35907,35908,35909,35912,35914,35915,35917,35918,35919,35920,35921,35922,35923,35924,35926,35927,35928,35929,35931,35932,35933,35934,35935,35936,35939,35940,35941,35942,35943,35944,35945,35948,35949,35950,35951,35952,35953,35954,35956,35957,35958,35959,35963,35964,35965,35966,35967,35968,35969,35971,35972,35974,35975,35976,35979,35981,35982,35983,35984,35985,35986,35987,35989,35990,35991,35993,35994,35995,35996,35997,35998,35999,36e3,36001,36002,36003,36004,36005,36006,36007,36008,36009,36010,36011,36012,36013,20109,19980,20800,19984,24319,21317,19989,20120,19998,39730,23404,22121,20008,31162,20031,21269,20039,22829,29243,21358,27664,22239,32996,39319,27603,30590,40727,20022,20127,40720,20060,20073,20115,33416,23387,21868,22031,20164,21389,21405,21411,21413,21422,38757,36189,21274,21493,21286,21294,21310,36188,21350,21347,20994,21e3,21006,21037,21043,21055,21056,21068,21086,21089,21084,33967,21117,21122,21121,21136,21139,20866,32596,20155,20163,20169,20162,20200,20193,20203,20190,20251,20211,20258,20324,20213,20261,20263,20233,20267,20318,20327,25912,20314,20317,36014,36015,36016,36017,36018,36019,36020,36021,36022,36023,36024,36025,36026,36027,36028,36029,36030,36031,36032,36033,36034,36035,36036,36037,36038,36039,36040,36041,36042,36043,36044,36045,36046,36047,36048,36049,36050,36051,36052,36053,36054,36055,36056,36057,36058,36059,36060,36061,36062,36063,36064,36065,36066,36067,36068,36069,36070,36071,36072,36073,36074,36075,36076,36077,36078,36079,36080,36081,36082,36083,36084,36085,36086,36087,36088,36089,36090,36091,36092,36093,36094,36095,36096,36097,36098,36099,36100,36101,36102,36103,36104,36105,36106,36107,36108,36109,20319,20311,20274,20285,20342,20340,20369,20361,20355,20367,20350,20347,20394,20348,20396,20372,20454,20456,20458,20421,20442,20451,20444,20433,20447,20472,20521,20556,20467,20524,20495,20526,20525,20478,20508,20492,20517,20520,20606,20547,20565,20552,20558,20588,20603,20645,20647,20649,20666,20694,20742,20717,20716,20710,20718,20743,20747,20189,27709,20312,20325,20430,40864,27718,31860,20846,24061,40649,39320,20865,22804,21241,21261,35335,21264,20971,22809,20821,20128,20822,20147,34926,34980,20149,33044,35026,31104,23348,34819,32696,20907,20913,20925,20924,36110,36111,36112,36113,36114,36115,36116,36117,36118,36119,36120,36121,36122,36123,36124,36128,36177,36178,36183,36191,36197,36200,36201,36202,36204,36206,36207,36209,36210,36216,36217,36218,36219,36220,36221,36222,36223,36224,36226,36227,36230,36231,36232,36233,36236,36237,36238,36239,36240,36242,36243,36245,36246,36247,36248,36249,36250,36251,36252,36253,36254,36256,36257,36258,36260,36261,36262,36263,36264,36265,36266,36267,36268,36269,36270,36271,36272,36274,36278,36279,36281,36283,36285,36288,36289,36290,36293,36295,36296,36297,36298,36301,36304,36306,36307,36308,20935,20886,20898,20901,35744,35750,35751,35754,35764,35765,35767,35778,35779,35787,35791,35790,35794,35795,35796,35798,35800,35801,35804,35807,35808,35812,35816,35817,35822,35824,35827,35830,35833,35836,35839,35840,35842,35844,35847,35852,35855,35857,35858,35860,35861,35862,35865,35867,35864,35869,35871,35872,35873,35877,35879,35882,35883,35886,35887,35890,35891,35893,35894,21353,21370,38429,38434,38433,38449,38442,38461,38460,38466,38473,38484,38495,38503,38508,38514,38516,38536,38541,38551,38576,37015,37019,37021,37017,37036,37025,37044,37043,37046,37050,36309,36312,36313,36316,36320,36321,36322,36325,36326,36327,36329,36333,36334,36336,36337,36338,36340,36342,36348,36350,36351,36352,36353,36354,36355,36356,36358,36359,36360,36363,36365,36366,36368,36369,36370,36371,36373,36374,36375,36376,36377,36378,36379,36380,36384,36385,36388,36389,36390,36391,36392,36395,36397,36400,36402,36403,36404,36406,36407,36408,36411,36412,36414,36415,36419,36421,36422,36428,36429,36430,36431,36432,36435,36436,36437,36438,36439,36440,36442,36443,36444,36445,36446,36447,36448,36449,36450,36451,36452,36453,36455,36456,36458,36459,36462,36465,37048,37040,37071,37061,37054,37072,37060,37063,37075,37094,37090,37084,37079,37083,37099,37103,37118,37124,37154,37150,37155,37169,37167,37177,37187,37190,21005,22850,21154,21164,21165,21182,21759,21200,21206,21232,21471,29166,30669,24308,20981,20988,39727,21430,24321,30042,24047,22348,22441,22433,22654,22716,22725,22737,22313,22316,22314,22323,22329,22318,22319,22364,22331,22338,22377,22405,22379,22406,22396,22395,22376,22381,22390,22387,22445,22436,22412,22450,22479,22439,22452,22419,22432,22485,22488,22490,22489,22482,22456,22516,22511,22520,22500,22493,36467,36469,36471,36472,36473,36474,36475,36477,36478,36480,36482,36483,36484,36486,36488,36489,36490,36491,36492,36493,36494,36497,36498,36499,36501,36502,36503,36504,36505,36506,36507,36509,36511,36512,36513,36514,36515,36516,36517,36518,36519,36520,36521,36522,36525,36526,36528,36529,36531,36532,36533,36534,36535,36536,36537,36539,36540,36541,36542,36543,36544,36545,36546,36547,36548,36549,36550,36551,36552,36553,36554,36555,36556,36557,36559,36560,36561,36562,36563,36564,36565,36566,36567,36568,36569,36570,36571,36572,36573,36574,36575,36576,36577,36578,36579,36580,22539,22541,22525,22509,22528,22558,22553,22596,22560,22629,22636,22657,22665,22682,22656,39336,40729,25087,33401,33405,33407,33423,33418,33448,33412,33422,33425,33431,33433,33451,33464,33470,33456,33480,33482,33507,33432,33463,33454,33483,33484,33473,33449,33460,33441,33450,33439,33476,33486,33444,33505,33545,33527,33508,33551,33543,33500,33524,33490,33496,33548,33531,33491,33553,33562,33542,33556,33557,33504,33493,33564,33617,33627,33628,33544,33682,33596,33588,33585,33691,33630,33583,33615,33607,33603,33631,33600,33559,33632,33581,33594,33587,33638,33637,36581,36582,36583,36584,36585,36586,36587,36588,36589,36590,36591,36592,36593,36594,36595,36596,36597,36598,36599,36600,36601,36602,36603,36604,36605,36606,36607,36608,36609,36610,36611,36612,36613,36614,36615,36616,36617,36618,36619,36620,36621,36622,36623,36624,36625,36626,36627,36628,36629,36630,36631,36632,36633,36634,36635,36636,36637,36638,36639,36640,36641,36642,36643,36644,36645,36646,36647,36648,36649,36650,36651,36652,36653,36654,36655,36656,36657,36658,36659,36660,36661,36662,36663,36664,36665,36666,36667,36668,36669,36670,36671,36672,36673,36674,36675,36676,33640,33563,33641,33644,33642,33645,33646,33712,33656,33715,33716,33696,33706,33683,33692,33669,33660,33718,33705,33661,33720,33659,33688,33694,33704,33722,33724,33729,33793,33765,33752,22535,33816,33803,33757,33789,33750,33820,33848,33809,33798,33748,33759,33807,33795,33784,33785,33770,33733,33728,33830,33776,33761,33884,33873,33882,33881,33907,33927,33928,33914,33929,33912,33852,33862,33897,33910,33932,33934,33841,33901,33985,33997,34e3,34022,33981,34003,33994,33983,33978,34016,33953,33977,33972,33943,34021,34019,34060,29965,34104,34032,34105,34079,34106,36677,36678,36679,36680,36681,36682,36683,36684,36685,36686,36687,36688,36689,36690,36691,36692,36693,36694,36695,36696,36697,36698,36699,36700,36701,36702,36703,36704,36705,36706,36707,36708,36709,36714,36736,36748,36754,36765,36768,36769,36770,36772,36773,36774,36775,36778,36780,36781,36782,36783,36786,36787,36788,36789,36791,36792,36794,36795,36796,36799,36800,36803,36806,36809,36810,36811,36812,36813,36815,36818,36822,36823,36826,36832,36833,36835,36839,36844,36847,36849,36850,36852,36853,36854,36858,36859,36860,36862,36863,36871,36872,36876,36878,36883,36885,36888,34134,34107,34047,34044,34137,34120,34152,34148,34142,34170,30626,34115,34162,34171,34212,34216,34183,34191,34169,34222,34204,34181,34233,34231,34224,34259,34241,34268,34303,34343,34309,34345,34326,34364,24318,24328,22844,22849,32823,22869,22874,22872,21263,23586,23589,23596,23604,25164,25194,25247,25275,25290,25306,25303,25326,25378,25334,25401,25419,25411,25517,25590,25457,25466,25486,25524,25453,25516,25482,25449,25518,25532,25586,25592,25568,25599,25540,25566,25550,25682,25542,25534,25669,25665,25611,25627,25632,25612,25638,25633,25694,25732,25709,25750,36889,36892,36899,36900,36901,36903,36904,36905,36906,36907,36908,36912,36913,36914,36915,36916,36919,36921,36922,36925,36927,36928,36931,36933,36934,36936,36937,36938,36939,36940,36942,36948,36949,36950,36953,36954,36956,36957,36958,36959,36960,36961,36964,36966,36967,36969,36970,36971,36972,36975,36976,36977,36978,36979,36982,36983,36984,36985,36986,36987,36988,36990,36993,36996,36997,36998,36999,37001,37002,37004,37005,37006,37007,37008,37010,37012,37014,37016,37018,37020,37022,37023,37024,37028,37029,37031,37032,37033,37035,37037,37042,37047,37052,37053,37055,37056,25722,25783,25784,25753,25786,25792,25808,25815,25828,25826,25865,25893,25902,24331,24530,29977,24337,21343,21489,21501,21481,21480,21499,21522,21526,21510,21579,21586,21587,21588,21590,21571,21537,21591,21593,21539,21554,21634,21652,21623,21617,21604,21658,21659,21636,21622,21606,21661,21712,21677,21698,21684,21714,21671,21670,21715,21716,21618,21667,21717,21691,21695,21708,21721,21722,21724,21673,21674,21668,21725,21711,21726,21787,21735,21792,21757,21780,21747,21794,21795,21775,21777,21799,21802,21863,21903,21941,21833,21869,21825,21845,21823,21840,21820,37058,37059,37062,37064,37065,37067,37068,37069,37074,37076,37077,37078,37080,37081,37082,37086,37087,37088,37091,37092,37093,37097,37098,37100,37102,37104,37105,37106,37107,37109,37110,37111,37113,37114,37115,37116,37119,37120,37121,37123,37125,37126,37127,37128,37129,37130,37131,37132,37133,37134,37135,37136,37137,37138,37139,37140,37141,37142,37143,37144,37146,37147,37148,37149,37151,37152,37153,37156,37157,37158,37159,37160,37161,37162,37163,37164,37165,37166,37168,37170,37171,37172,37173,37174,37175,37176,37178,37179,37180,37181,37182,37183,37184,37185,37186,37188,21815,21846,21877,21878,21879,21811,21808,21852,21899,21970,21891,21937,21945,21896,21889,21919,21886,21974,21905,21883,21983,21949,21950,21908,21913,21994,22007,21961,22047,21969,21995,21996,21972,21990,21981,21956,21999,21989,22002,22003,21964,21965,21992,22005,21988,36756,22046,22024,22028,22017,22052,22051,22014,22016,22055,22061,22104,22073,22103,22060,22093,22114,22105,22108,22092,22100,22150,22116,22129,22123,22139,22140,22149,22163,22191,22228,22231,22237,22241,22261,22251,22265,22271,22276,22282,22281,22300,24079,24089,24084,24081,24113,24123,24124,37189,37191,37192,37201,37203,37204,37205,37206,37208,37209,37211,37212,37215,37216,37222,37223,37224,37227,37229,37235,37242,37243,37244,37248,37249,37250,37251,37252,37254,37256,37258,37262,37263,37267,37268,37269,37270,37271,37272,37273,37276,37277,37278,37279,37280,37281,37284,37285,37286,37287,37288,37289,37291,37292,37296,37297,37298,37299,37302,37303,37304,37305,37307,37308,37309,37310,37311,37312,37313,37314,37315,37316,37317,37318,37320,37323,37328,37330,37331,37332,37333,37334,37335,37336,37337,37338,37339,37341,37342,37343,37344,37345,37346,37347,37348,37349,24119,24132,24148,24155,24158,24161,23692,23674,23693,23696,23702,23688,23704,23705,23697,23706,23708,23733,23714,23741,23724,23723,23729,23715,23745,23735,23748,23762,23780,23755,23781,23810,23811,23847,23846,23854,23844,23838,23814,23835,23896,23870,23860,23869,23916,23899,23919,23901,23915,23883,23882,23913,23924,23938,23961,23965,35955,23991,24005,24435,24439,24450,24455,24457,24460,24469,24473,24476,24488,24493,24501,24508,34914,24417,29357,29360,29364,29367,29368,29379,29377,29390,29389,29394,29416,29423,29417,29426,29428,29431,29441,29427,29443,29434,37350,37351,37352,37353,37354,37355,37356,37357,37358,37359,37360,37361,37362,37363,37364,37365,37366,37367,37368,37369,37370,37371,37372,37373,37374,37375,37376,37377,37378,37379,37380,37381,37382,37383,37384,37385,37386,37387,37388,37389,37390,37391,37392,37393,37394,37395,37396,37397,37398,37399,37400,37401,37402,37403,37404,37405,37406,37407,37408,37409,37410,37411,37412,37413,37414,37415,37416,37417,37418,37419,37420,37421,37422,37423,37424,37425,37426,37427,37428,37429,37430,37431,37432,37433,37434,37435,37436,37437,37438,37439,37440,37441,37442,37443,37444,37445,29435,29463,29459,29473,29450,29470,29469,29461,29474,29497,29477,29484,29496,29489,29520,29517,29527,29536,29548,29551,29566,33307,22821,39143,22820,22786,39267,39271,39272,39273,39274,39275,39276,39284,39287,39293,39296,39300,39303,39306,39309,39312,39313,39315,39316,39317,24192,24209,24203,24214,24229,24224,24249,24245,24254,24243,36179,24274,24273,24283,24296,24298,33210,24516,24521,24534,24527,24579,24558,24580,24545,24548,24574,24581,24582,24554,24557,24568,24601,24629,24614,24603,24591,24589,24617,24619,24586,24639,24609,24696,24697,24699,24698,24642,37446,37447,37448,37449,37450,37451,37452,37453,37454,37455,37456,37457,37458,37459,37460,37461,37462,37463,37464,37465,37466,37467,37468,37469,37470,37471,37472,37473,37474,37475,37476,37477,37478,37479,37480,37481,37482,37483,37484,37485,37486,37487,37488,37489,37490,37491,37493,37494,37495,37496,37497,37498,37499,37500,37501,37502,37503,37504,37505,37506,37507,37508,37509,37510,37511,37512,37513,37514,37515,37516,37517,37519,37520,37521,37522,37523,37524,37525,37526,37527,37528,37529,37530,37531,37532,37533,37534,37535,37536,37537,37538,37539,37540,37541,37542,37543,24682,24701,24726,24730,24749,24733,24707,24722,24716,24731,24812,24763,24753,24797,24792,24774,24794,24756,24864,24870,24853,24867,24820,24832,24846,24875,24906,24949,25004,24980,24999,25015,25044,25077,24541,38579,38377,38379,38385,38387,38389,38390,38396,38398,38403,38404,38406,38408,38410,38411,38412,38413,38415,38418,38421,38422,38423,38425,38426,20012,29247,25109,27701,27732,27740,27722,27811,27781,27792,27796,27788,27752,27753,27764,27766,27782,27817,27856,27860,27821,27895,27896,27889,27863,27826,27872,27862,27898,27883,27886,27825,27859,27887,27902,37544,37545,37546,37547,37548,37549,37551,37552,37553,37554,37555,37556,37557,37558,37559,37560,37561,37562,37563,37564,37565,37566,37567,37568,37569,37570,37571,37572,37573,37574,37575,37577,37578,37579,37580,37581,37582,37583,37584,37585,37586,37587,37588,37589,37590,37591,37592,37593,37594,37595,37596,37597,37598,37599,37600,37601,37602,37603,37604,37605,37606,37607,37608,37609,37610,37611,37612,37613,37614,37615,37616,37617,37618,37619,37620,37621,37622,37623,37624,37625,37626,37627,37628,37629,37630,37631,37632,37633,37634,37635,37636,37637,37638,37639,37640,37641,27961,27943,27916,27971,27976,27911,27908,27929,27918,27947,27981,27950,27957,27930,27983,27986,27988,27955,28049,28015,28062,28064,27998,28051,28052,27996,28e3,28028,28003,28186,28103,28101,28126,28174,28095,28128,28177,28134,28125,28121,28182,28075,28172,28078,28203,28270,28238,28267,28338,28255,28294,28243,28244,28210,28197,28228,28383,28337,28312,28384,28461,28386,28325,28327,28349,28347,28343,28375,28340,28367,28303,28354,28319,28514,28486,28487,28452,28437,28409,28463,28470,28491,28532,28458,28425,28457,28553,28557,28556,28536,28530,28540,28538,28625,37642,37643,37644,37645,37646,37647,37648,37649,37650,37651,37652,37653,37654,37655,37656,37657,37658,37659,37660,37661,37662,37663,37664,37665,37666,37667,37668,37669,37670,37671,37672,37673,37674,37675,37676,37677,37678,37679,37680,37681,37682,37683,37684,37685,37686,37687,37688,37689,37690,37691,37692,37693,37695,37696,37697,37698,37699,37700,37701,37702,37703,37704,37705,37706,37707,37708,37709,37710,37711,37712,37713,37714,37715,37716,37717,37718,37719,37720,37721,37722,37723,37724,37725,37726,37727,37728,37729,37730,37731,37732,37733,37734,37735,37736,37737,37739,28617,28583,28601,28598,28610,28641,28654,28638,28640,28655,28698,28707,28699,28729,28725,28751,28766,23424,23428,23445,23443,23461,23480,29999,39582,25652,23524,23534,35120,23536,36423,35591,36790,36819,36821,36837,36846,36836,36841,36838,36851,36840,36869,36868,36875,36902,36881,36877,36886,36897,36917,36918,36909,36911,36932,36945,36946,36944,36968,36952,36962,36955,26297,36980,36989,36994,37e3,36995,37003,24400,24407,24406,24408,23611,21675,23632,23641,23409,23651,23654,32700,24362,24361,24365,33396,24380,39739,23662,22913,22915,22925,22953,22954,22947,37740,37741,37742,37743,37744,37745,37746,37747,37748,37749,37750,37751,37752,37753,37754,37755,37756,37757,37758,37759,37760,37761,37762,37763,37764,37765,37766,37767,37768,37769,37770,37771,37772,37773,37774,37776,37777,37778,37779,37780,37781,37782,37783,37784,37785,37786,37787,37788,37789,37790,37791,37792,37793,37794,37795,37796,37797,37798,37799,37800,37801,37802,37803,37804,37805,37806,37807,37808,37809,37810,37811,37812,37813,37814,37815,37816,37817,37818,37819,37820,37821,37822,37823,37824,37825,37826,37827,37828,37829,37830,37831,37832,37833,37835,37836,37837,22935,22986,22955,22942,22948,22994,22962,22959,22999,22974,23045,23046,23005,23048,23011,23e3,23033,23052,23049,23090,23092,23057,23075,23059,23104,23143,23114,23125,23100,23138,23157,33004,23210,23195,23159,23162,23230,23275,23218,23250,23252,23224,23264,23267,23281,23254,23270,23256,23260,23305,23319,23318,23346,23351,23360,23573,23580,23386,23397,23411,23377,23379,23394,39541,39543,39544,39546,39551,39549,39552,39553,39557,39560,39562,39568,39570,39571,39574,39576,39579,39580,39581,39583,39584,39586,39587,39589,39591,32415,32417,32419,32421,32424,32425,37838,37839,37840,37841,37842,37843,37844,37845,37847,37848,37849,37850,37851,37852,37853,37854,37855,37856,37857,37858,37859,37860,37861,37862,37863,37864,37865,37866,37867,37868,37869,37870,37871,37872,37873,37874,37875,37876,37877,37878,37879,37880,37881,37882,37883,37884,37885,37886,37887,37888,37889,37890,37891,37892,37893,37894,37895,37896,37897,37898,37899,37900,37901,37902,37903,37904,37905,37906,37907,37908,37909,37910,37911,37912,37913,37914,37915,37916,37917,37918,37919,37920,37921,37922,37923,37924,37925,37926,37927,37928,37929,37930,37931,37932,37933,37934,32429,32432,32446,32448,32449,32450,32457,32459,32460,32464,32468,32471,32475,32480,32481,32488,32491,32494,32495,32497,32498,32525,32502,32506,32507,32510,32513,32514,32515,32519,32520,32523,32524,32527,32529,32530,32535,32537,32540,32539,32543,32545,32546,32547,32548,32549,32550,32551,32554,32555,32556,32557,32559,32560,32561,32562,32563,32565,24186,30079,24027,30014,37013,29582,29585,29614,29602,29599,29647,29634,29649,29623,29619,29632,29641,29640,29669,29657,39036,29706,29673,29671,29662,29626,29682,29711,29738,29787,29734,29733,29736,29744,29742,29740,37935,37936,37937,37938,37939,37940,37941,37942,37943,37944,37945,37946,37947,37948,37949,37951,37952,37953,37954,37955,37956,37957,37958,37959,37960,37961,37962,37963,37964,37965,37966,37967,37968,37969,37970,37971,37972,37973,37974,37975,37976,37977,37978,37979,37980,37981,37982,37983,37984,37985,37986,37987,37988,37989,37990,37991,37992,37993,37994,37996,37997,37998,37999,38e3,38001,38002,38003,38004,38005,38006,38007,38008,38009,38010,38011,38012,38013,38014,38015,38016,38017,38018,38019,38020,38033,38038,38040,38087,38095,38099,38100,38106,38118,38139,38172,38176,29723,29722,29761,29788,29783,29781,29785,29815,29805,29822,29852,29838,29824,29825,29831,29835,29854,29864,29865,29840,29863,29906,29882,38890,38891,38892,26444,26451,26462,26440,26473,26533,26503,26474,26483,26520,26535,26485,26536,26526,26541,26507,26487,26492,26608,26633,26584,26634,26601,26544,26636,26585,26549,26586,26547,26589,26624,26563,26552,26594,26638,26561,26621,26674,26675,26720,26721,26702,26722,26692,26724,26755,26653,26709,26726,26689,26727,26688,26686,26698,26697,26665,26805,26767,26740,26743,26771,26731,26818,26990,26876,26911,26912,26873,38183,38195,38205,38211,38216,38219,38229,38234,38240,38254,38260,38261,38263,38264,38265,38266,38267,38268,38269,38270,38272,38273,38274,38275,38276,38277,38278,38279,38280,38281,38282,38283,38284,38285,38286,38287,38288,38289,38290,38291,38292,38293,38294,38295,38296,38297,38298,38299,38300,38301,38302,38303,38304,38305,38306,38307,38308,38309,38310,38311,38312,38313,38314,38315,38316,38317,38318,38319,38320,38321,38322,38323,38324,38325,38326,38327,38328,38329,38330,38331,38332,38333,38334,38335,38336,38337,38338,38339,38340,38341,38342,38343,38344,38345,38346,38347,26916,26864,26891,26881,26967,26851,26896,26993,26937,26976,26946,26973,27012,26987,27008,27032,27e3,26932,27084,27015,27016,27086,27017,26982,26979,27001,27035,27047,27067,27051,27053,27092,27057,27073,27082,27103,27029,27104,27021,27135,27183,27117,27159,27160,27237,27122,27204,27198,27296,27216,27227,27189,27278,27257,27197,27176,27224,27260,27281,27280,27305,27287,27307,29495,29522,27521,27522,27527,27524,27538,27539,27533,27546,27547,27553,27562,36715,36717,36721,36722,36723,36725,36726,36728,36727,36729,36730,36732,36734,36737,36738,36740,36743,36747,38348,38349,38350,38351,38352,38353,38354,38355,38356,38357,38358,38359,38360,38361,38362,38363,38364,38365,38366,38367,38368,38369,38370,38371,38372,38373,38374,38375,38380,38399,38407,38419,38424,38427,38430,38432,38435,38436,38437,38438,38439,38440,38441,38443,38444,38445,38447,38448,38455,38456,38457,38458,38462,38465,38467,38474,38478,38479,38481,38482,38483,38486,38487,38488,38489,38490,38492,38493,38494,38496,38499,38501,38502,38507,38509,38510,38511,38512,38513,38515,38520,38521,38522,38523,38524,38525,38526,38527,38528,38529,38530,38531,38532,38535,38537,38538,36749,36750,36751,36760,36762,36558,25099,25111,25115,25119,25122,25121,25125,25124,25132,33255,29935,29940,29951,29967,29969,29971,25908,26094,26095,26096,26122,26137,26482,26115,26133,26112,28805,26359,26141,26164,26161,26166,26165,32774,26207,26196,26177,26191,26198,26209,26199,26231,26244,26252,26279,26269,26302,26331,26332,26342,26345,36146,36147,36150,36155,36157,36160,36165,36166,36168,36169,36167,36173,36181,36185,35271,35274,35275,35276,35278,35279,35280,35281,29294,29343,29277,29286,29295,29310,29311,29316,29323,29325,29327,29330,25352,25394,25520,38540,38542,38545,38546,38547,38549,38550,38554,38555,38557,38558,38559,38560,38561,38562,38563,38564,38565,38566,38568,38569,38570,38571,38572,38573,38574,38575,38577,38578,38580,38581,38583,38584,38586,38587,38591,38594,38595,38600,38602,38603,38608,38609,38611,38612,38614,38615,38616,38617,38618,38619,38620,38621,38622,38623,38625,38626,38627,38628,38629,38630,38631,38635,38636,38637,38638,38640,38641,38642,38644,38645,38648,38650,38651,38652,38653,38655,38658,38659,38661,38666,38667,38668,38672,38673,38674,38676,38677,38679,38680,38681,38682,38683,38685,38687,38688,25663,25816,32772,27626,27635,27645,27637,27641,27653,27655,27654,27661,27669,27672,27673,27674,27681,27689,27684,27690,27698,25909,25941,25963,29261,29266,29270,29232,34402,21014,32927,32924,32915,32956,26378,32957,32945,32939,32941,32948,32951,32999,33e3,33001,33002,32987,32962,32964,32985,32973,32983,26384,32989,33003,33009,33012,33005,33037,33038,33010,33020,26389,33042,35930,33078,33054,33068,33048,33074,33096,33100,33107,33140,33113,33114,33137,33120,33129,33148,33149,33133,33127,22605,23221,33160,33154,33169,28373,33187,33194,33228,26406,33226,33211,38689,38690,38691,38692,38693,38694,38695,38696,38697,38699,38700,38702,38703,38705,38707,38708,38709,38710,38711,38714,38715,38716,38717,38719,38720,38721,38722,38723,38724,38725,38726,38727,38728,38729,38730,38731,38732,38733,38734,38735,38736,38737,38740,38741,38743,38744,38746,38748,38749,38751,38755,38756,38758,38759,38760,38762,38763,38764,38765,38766,38767,38768,38769,38770,38773,38775,38776,38777,38778,38779,38781,38782,38783,38784,38785,38786,38787,38788,38790,38791,38792,38793,38794,38796,38798,38799,38800,38803,38805,38806,38807,38809,38810,38811,38812,38813,33217,33190,27428,27447,27449,27459,27462,27481,39121,39122,39123,39125,39129,39130,27571,24384,27586,35315,26e3,40785,26003,26044,26054,26052,26051,26060,26062,26066,26070,28800,28828,28822,28829,28859,28864,28855,28843,28849,28904,28874,28944,28947,28950,28975,28977,29043,29020,29032,28997,29042,29002,29048,29050,29080,29107,29109,29096,29088,29152,29140,29159,29177,29213,29224,28780,28952,29030,29113,25150,25149,25155,25160,25161,31035,31040,31046,31049,31067,31068,31059,31066,31074,31063,31072,31087,31079,31098,31109,31114,31130,31143,31155,24529,24528,38814,38815,38817,38818,38820,38821,38822,38823,38824,38825,38826,38828,38830,38832,38833,38835,38837,38838,38839,38840,38841,38842,38843,38844,38845,38846,38847,38848,38849,38850,38851,38852,38853,38854,38855,38856,38857,38858,38859,38860,38861,38862,38863,38864,38865,38866,38867,38868,38869,38870,38871,38872,38873,38874,38875,38876,38877,38878,38879,38880,38881,38882,38883,38884,38885,38888,38894,38895,38896,38897,38898,38900,38903,38904,38905,38906,38907,38908,38909,38910,38911,38912,38913,38914,38915,38916,38917,38918,38919,38920,38921,38922,38923,38924,38925,38926,24636,24669,24666,24679,24641,24665,24675,24747,24838,24845,24925,25001,24989,25035,25041,25094,32896,32895,27795,27894,28156,30710,30712,30720,30729,30743,30744,30737,26027,30765,30748,30749,30777,30778,30779,30751,30780,30757,30764,30755,30761,30798,30829,30806,30807,30758,30800,30791,30796,30826,30875,30867,30874,30855,30876,30881,30883,30898,30905,30885,30932,30937,30921,30956,30962,30981,30964,30995,31012,31006,31028,40859,40697,40699,40700,30449,30468,30477,30457,30471,30472,30490,30498,30489,30509,30502,30517,30520,30544,30545,30535,30531,30554,30568,38927,38928,38929,38930,38931,38932,38933,38934,38935,38936,38937,38938,38939,38940,38941,38942,38943,38944,38945,38946,38947,38948,38949,38950,38951,38952,38953,38954,38955,38956,38957,38958,38959,38960,38961,38962,38963,38964,38965,38966,38967,38968,38969,38970,38971,38972,38973,38974,38975,38976,38977,38978,38979,38980,38981,38982,38983,38984,38985,38986,38987,38988,38989,38990,38991,38992,38993,38994,38995,38996,38997,38998,38999,39e3,39001,39002,39003,39004,39005,39006,39007,39008,39009,39010,39011,39012,39013,39014,39015,39016,39017,39018,39019,39020,39021,39022,30562,30565,30591,30605,30589,30592,30604,30609,30623,30624,30640,30645,30653,30010,30016,30030,30027,30024,30043,30066,30073,30083,32600,32609,32607,35400,32616,32628,32625,32633,32641,32638,30413,30437,34866,38021,38022,38023,38027,38026,38028,38029,38031,38032,38036,38039,38037,38042,38043,38044,38051,38052,38059,38058,38061,38060,38063,38064,38066,38068,38070,38071,38072,38073,38074,38076,38077,38079,38084,38088,38089,38090,38091,38092,38093,38094,38096,38097,38098,38101,38102,38103,38105,38104,38107,38110,38111,38112,38114,38116,38117,38119,38120,38122,39023,39024,39025,39026,39027,39028,39051,39054,39058,39061,39065,39075,39080,39081,39082,39083,39084,39085,39086,39087,39088,39089,39090,39091,39092,39093,39094,39095,39096,39097,39098,39099,39100,39101,39102,39103,39104,39105,39106,39107,39108,39109,39110,39111,39112,39113,39114,39115,39116,39117,39119,39120,39124,39126,39127,39131,39132,39133,39136,39137,39138,39139,39140,39141,39142,39145,39146,39147,39148,39149,39150,39151,39152,39153,39154,39155,39156,39157,39158,39159,39160,39161,39162,39163,39164,39165,39166,39167,39168,39169,39170,39171,39172,39173,39174,39175,38121,38123,38126,38127,38131,38132,38133,38135,38137,38140,38141,38143,38147,38146,38150,38151,38153,38154,38157,38158,38159,38162,38163,38164,38165,38166,38168,38171,38173,38174,38175,38178,38186,38187,38185,38188,38193,38194,38196,38198,38199,38200,38204,38206,38207,38210,38197,38212,38213,38214,38217,38220,38222,38223,38226,38227,38228,38230,38231,38232,38233,38235,38238,38239,38237,38241,38242,38244,38245,38246,38247,38248,38249,38250,38251,38252,38255,38257,38258,38259,38202,30695,30700,38601,31189,31213,31203,31211,31238,23879,31235,31234,31262,31252,39176,39177,39178,39179,39180,39182,39183,39185,39186,39187,39188,39189,39190,39191,39192,39193,39194,39195,39196,39197,39198,39199,39200,39201,39202,39203,39204,39205,39206,39207,39208,39209,39210,39211,39212,39213,39215,39216,39217,39218,39219,39220,39221,39222,39223,39224,39225,39226,39227,39228,39229,39230,39231,39232,39233,39234,39235,39236,39237,39238,39239,39240,39241,39242,39243,39244,39245,39246,39247,39248,39249,39250,39251,39254,39255,39256,39257,39258,39259,39260,39261,39262,39263,39264,39265,39266,39268,39270,39283,39288,39289,39291,39294,39298,39299,39305,31289,31287,31313,40655,39333,31344,30344,30350,30355,30361,30372,29918,29920,29996,40480,40482,40488,40489,40490,40491,40492,40498,40497,40502,40504,40503,40505,40506,40510,40513,40514,40516,40518,40519,40520,40521,40523,40524,40526,40529,40533,40535,40538,40539,40540,40542,40547,40550,40551,40552,40553,40554,40555,40556,40561,40557,40563,30098,30100,30102,30112,30109,30124,30115,30131,30132,30136,30148,30129,30128,30147,30146,30166,30157,30179,30184,30182,30180,30187,30183,30211,30193,30204,30207,30224,30208,30213,30220,30231,30218,30245,30232,30229,30233,39308,39310,39322,39323,39324,39325,39326,39327,39328,39329,39330,39331,39332,39334,39335,39337,39338,39339,39340,39341,39342,39343,39344,39345,39346,39347,39348,39349,39350,39351,39352,39353,39354,39355,39356,39357,39358,39359,39360,39361,39362,39363,39364,39365,39366,39367,39368,39369,39370,39371,39372,39373,39374,39375,39376,39377,39378,39379,39380,39381,39382,39383,39384,39385,39386,39387,39388,39389,39390,39391,39392,39393,39394,39395,39396,39397,39398,39399,39400,39401,39402,39403,39404,39405,39406,39407,39408,39409,39410,39411,39412,39413,39414,39415,39416,39417,30235,30268,30242,30240,30272,30253,30256,30271,30261,30275,30270,30259,30285,30302,30292,30300,30294,30315,30319,32714,31462,31352,31353,31360,31366,31368,31381,31398,31392,31404,31400,31405,31411,34916,34921,34930,34941,34943,34946,34978,35014,34999,35004,35017,35042,35022,35043,35045,35057,35098,35068,35048,35070,35056,35105,35097,35091,35099,35082,35124,35115,35126,35137,35174,35195,30091,32997,30386,30388,30684,32786,32788,32790,32796,32800,32802,32805,32806,32807,32809,32808,32817,32779,32821,32835,32838,32845,32850,32873,32881,35203,39032,39040,39043,39418,39419,39420,39421,39422,39423,39424,39425,39426,39427,39428,39429,39430,39431,39432,39433,39434,39435,39436,39437,39438,39439,39440,39441,39442,39443,39444,39445,39446,39447,39448,39449,39450,39451,39452,39453,39454,39455,39456,39457,39458,39459,39460,39461,39462,39463,39464,39465,39466,39467,39468,39469,39470,39471,39472,39473,39474,39475,39476,39477,39478,39479,39480,39481,39482,39483,39484,39485,39486,39487,39488,39489,39490,39491,39492,39493,39494,39495,39496,39497,39498,39499,39500,39501,39502,39503,39504,39505,39506,39507,39508,39509,39510,39511,39512,39513,39049,39052,39053,39055,39060,39066,39067,39070,39071,39073,39074,39077,39078,34381,34388,34412,34414,34431,34426,34428,34427,34472,34445,34443,34476,34461,34471,34467,34474,34451,34473,34486,34500,34485,34510,34480,34490,34481,34479,34505,34511,34484,34537,34545,34546,34541,34547,34512,34579,34526,34548,34527,34520,34513,34563,34567,34552,34568,34570,34573,34569,34595,34619,34590,34597,34606,34586,34622,34632,34612,34609,34601,34615,34623,34690,34594,34685,34686,34683,34656,34672,34636,34670,34699,34643,34659,34684,34660,34649,34661,34707,34735,34728,34770,39514,39515,39516,39517,39518,39519,39520,39521,39522,39523,39524,39525,39526,39527,39528,39529,39530,39531,39538,39555,39561,39565,39566,39572,39573,39577,39590,39593,39594,39595,39596,39597,39598,39599,39602,39603,39604,39605,39609,39611,39613,39614,39615,39619,39620,39622,39623,39624,39625,39626,39629,39630,39631,39632,39634,39636,39637,39638,39639,39641,39642,39643,39644,39645,39646,39648,39650,39651,39652,39653,39655,39656,39657,39658,39660,39662,39664,39665,39666,39667,39668,39669,39670,39671,39672,39674,39676,39677,39678,39679,39680,39681,39682,39684,39685,39686,34758,34696,34693,34733,34711,34691,34731,34789,34732,34741,34739,34763,34771,34749,34769,34752,34762,34779,34794,34784,34798,34838,34835,34814,34826,34843,34849,34873,34876,32566,32578,32580,32581,33296,31482,31485,31496,31491,31492,31509,31498,31531,31503,31559,31544,31530,31513,31534,31537,31520,31525,31524,31539,31550,31518,31576,31578,31557,31605,31564,31581,31584,31598,31611,31586,31602,31601,31632,31654,31655,31672,31660,31645,31656,31621,31658,31644,31650,31659,31668,31697,31681,31692,31709,31706,31717,31718,31722,31756,31742,31740,31759,31766,31755,39687,39689,39690,39691,39692,39693,39694,39696,39697,39698,39700,39701,39702,39703,39704,39705,39706,39707,39708,39709,39710,39712,39713,39714,39716,39717,39718,39719,39720,39721,39722,39723,39724,39725,39726,39728,39729,39731,39732,39733,39734,39735,39736,39737,39738,39741,39742,39743,39744,39750,39754,39755,39756,39758,39760,39762,39763,39765,39766,39767,39768,39769,39770,39771,39772,39773,39774,39775,39776,39777,39778,39779,39780,39781,39782,39783,39784,39785,39786,39787,39788,39789,39790,39791,39792,39793,39794,39795,39796,39797,39798,39799,39800,39801,39802,39803,31775,31786,31782,31800,31809,31808,33278,33281,33282,33284,33260,34884,33313,33314,33315,33325,33327,33320,33323,33336,33339,33331,33332,33342,33348,33353,33355,33359,33370,33375,33384,34942,34949,34952,35032,35039,35166,32669,32671,32679,32687,32688,32690,31868,25929,31889,31901,31900,31902,31906,31922,31932,31933,31937,31943,31948,31949,31944,31941,31959,31976,33390,26280,32703,32718,32725,32741,32737,32742,32745,32750,32755,31992,32119,32166,32174,32327,32411,40632,40628,36211,36228,36244,36241,36273,36199,36205,35911,35913,37194,37200,37198,37199,37220,39804,39805,39806,39807,39808,39809,39810,39811,39812,39813,39814,39815,39816,39817,39818,39819,39820,39821,39822,39823,39824,39825,39826,39827,39828,39829,39830,39831,39832,39833,39834,39835,39836,39837,39838,39839,39840,39841,39842,39843,39844,39845,39846,39847,39848,39849,39850,39851,39852,39853,39854,39855,39856,39857,39858,39859,39860,39861,39862,39863,39864,39865,39866,39867,39868,39869,39870,39871,39872,39873,39874,39875,39876,39877,39878,39879,39880,39881,39882,39883,39884,39885,39886,39887,39888,39889,39890,39891,39892,39893,39894,39895,39896,39897,39898,39899,37218,37217,37232,37225,37231,37245,37246,37234,37236,37241,37260,37253,37264,37261,37265,37282,37283,37290,37293,37294,37295,37301,37300,37306,35925,40574,36280,36331,36357,36441,36457,36277,36287,36284,36282,36292,36310,36311,36314,36318,36302,36303,36315,36294,36332,36343,36344,36323,36345,36347,36324,36361,36349,36372,36381,36383,36396,36398,36387,36399,36410,36416,36409,36405,36413,36401,36425,36417,36418,36433,36434,36426,36464,36470,36476,36463,36468,36485,36495,36500,36496,36508,36510,35960,35970,35978,35973,35992,35988,26011,35286,35294,35290,35292,39900,39901,39902,39903,39904,39905,39906,39907,39908,39909,39910,39911,39912,39913,39914,39915,39916,39917,39918,39919,39920,39921,39922,39923,39924,39925,39926,39927,39928,39929,39930,39931,39932,39933,39934,39935,39936,39937,39938,39939,39940,39941,39942,39943,39944,39945,39946,39947,39948,39949,39950,39951,39952,39953,39954,39955,39956,39957,39958,39959,39960,39961,39962,39963,39964,39965,39966,39967,39968,39969,39970,39971,39972,39973,39974,39975,39976,39977,39978,39979,39980,39981,39982,39983,39984,39985,39986,39987,39988,39989,39990,39991,39992,39993,39994,39995,35301,35307,35311,35390,35622,38739,38633,38643,38639,38662,38657,38664,38671,38670,38698,38701,38704,38718,40832,40835,40837,40838,40839,40840,40841,40842,40844,40702,40715,40717,38585,38588,38589,38606,38610,30655,38624,37518,37550,37576,37694,37738,37834,37775,37950,37995,40063,40066,40069,40070,40071,40072,31267,40075,40078,40080,40081,40082,40084,40085,40090,40091,40094,40095,40096,40097,40098,40099,40101,40102,40103,40104,40105,40107,40109,40110,40112,40113,40114,40115,40116,40117,40118,40119,40122,40123,40124,40125,40132,40133,40134,40135,40138,40139,39996,39997,39998,39999,4e4,40001,40002,40003,40004,40005,40006,40007,40008,40009,40010,40011,40012,40013,40014,40015,40016,40017,40018,40019,40020,40021,40022,40023,40024,40025,40026,40027,40028,40029,40030,40031,40032,40033,40034,40035,40036,40037,40038,40039,40040,40041,40042,40043,40044,40045,40046,40047,40048,40049,40050,40051,40052,40053,40054,40055,40056,40057,40058,40059,40061,40062,40064,40067,40068,40073,40074,40076,40079,40083,40086,40087,40088,40089,40093,40106,40108,40111,40121,40126,40127,40128,40129,40130,40136,40137,40145,40146,40154,40155,40160,40161,40140,40141,40142,40143,40144,40147,40148,40149,40151,40152,40153,40156,40157,40159,40162,38780,38789,38801,38802,38804,38831,38827,38819,38834,38836,39601,39600,39607,40536,39606,39610,39612,39617,39616,39621,39618,39627,39628,39633,39749,39747,39751,39753,39752,39757,39761,39144,39181,39214,39253,39252,39647,39649,39654,39663,39659,39675,39661,39673,39688,39695,39699,39711,39715,40637,40638,32315,40578,40583,40584,40587,40594,37846,40605,40607,40667,40668,40669,40672,40671,40674,40681,40679,40677,40682,40687,40738,40748,40751,40761,40759,40765,40766,40772,40163,40164,40165,40166,40167,40168,40169,40170,40171,40172,40173,40174,40175,40176,40177,40178,40179,40180,40181,40182,40183,40184,40185,40186,40187,40188,40189,40190,40191,40192,40193,40194,40195,40196,40197,40198,40199,40200,40201,40202,40203,40204,40205,40206,40207,40208,40209,40210,40211,40212,40213,40214,40215,40216,40217,40218,40219,40220,40221,40222,40223,40224,40225,40226,40227,40228,40229,40230,40231,40232,40233,40234,40235,40236,40237,40238,40239,40240,40241,40242,40243,40244,40245,40246,40247,40248,40249,40250,40251,40252,40253,40254,40255,40256,40257,40258,57908,57909,57910,57911,57912,57913,57914,57915,57916,57917,57918,57919,57920,57921,57922,57923,57924,57925,57926,57927,57928,57929,57930,57931,57932,57933,57934,57935,57936,57937,57938,57939,57940,57941,57942,57943,57944,57945,57946,57947,57948,57949,57950,57951,57952,57953,57954,57955,57956,57957,57958,57959,57960,57961,57962,57963,57964,57965,57966,57967,57968,57969,57970,57971,57972,57973,57974,57975,57976,57977,57978,57979,57980,57981,57982,57983,57984,57985,57986,57987,57988,57989,57990,57991,57992,57993,57994,57995,57996,57997,57998,57999,58e3,58001,40259,40260,40261,40262,40263,40264,40265,40266,40267,40268,40269,40270,40271,40272,40273,40274,40275,40276,40277,40278,40279,40280,40281,40282,40283,40284,40285,40286,40287,40288,40289,40290,40291,40292,40293,40294,40295,40296,40297,40298,40299,40300,40301,40302,40303,40304,40305,40306,40307,40308,40309,40310,40311,40312,40313,40314,40315,40316,40317,40318,40319,40320,40321,40322,40323,40324,40325,40326,40327,40328,40329,40330,40331,40332,40333,40334,40335,40336,40337,40338,40339,40340,40341,40342,40343,40344,40345,40346,40347,40348,40349,40350,40351,40352,40353,40354,58002,58003,58004,58005,58006,58007,58008,58009,58010,58011,58012,58013,58014,58015,58016,58017,58018,58019,58020,58021,58022,58023,58024,58025,58026,58027,58028,58029,58030,58031,58032,58033,58034,58035,58036,58037,58038,58039,58040,58041,58042,58043,58044,58045,58046,58047,58048,58049,58050,58051,58052,58053,58054,58055,58056,58057,58058,58059,58060,58061,58062,58063,58064,58065,58066,58067,58068,58069,58070,58071,58072,58073,58074,58075,58076,58077,58078,58079,58080,58081,58082,58083,58084,58085,58086,58087,58088,58089,58090,58091,58092,58093,58094,58095,40355,40356,40357,40358,40359,40360,40361,40362,40363,40364,40365,40366,40367,40368,40369,40370,40371,40372,40373,40374,40375,40376,40377,40378,40379,40380,40381,40382,40383,40384,40385,40386,40387,40388,40389,40390,40391,40392,40393,40394,40395,40396,40397,40398,40399,40400,40401,40402,40403,40404,40405,40406,40407,40408,40409,40410,40411,40412,40413,40414,40415,40416,40417,40418,40419,40420,40421,40422,40423,40424,40425,40426,40427,40428,40429,40430,40431,40432,40433,40434,40435,40436,40437,40438,40439,40440,40441,40442,40443,40444,40445,40446,40447,40448,40449,40450,58096,58097,58098,58099,58100,58101,58102,58103,58104,58105,58106,58107,58108,58109,58110,58111,58112,58113,58114,58115,58116,58117,58118,58119,58120,58121,58122,58123,58124,58125,58126,58127,58128,58129,58130,58131,58132,58133,58134,58135,58136,58137,58138,58139,58140,58141,58142,58143,58144,58145,58146,58147,58148,58149,58150,58151,58152,58153,58154,58155,58156,58157,58158,58159,58160,58161,58162,58163,58164,58165,58166,58167,58168,58169,58170,58171,58172,58173,58174,58175,58176,58177,58178,58179,58180,58181,58182,58183,58184,58185,58186,58187,58188,58189,40451,40452,40453,40454,40455,40456,40457,40458,40459,40460,40461,40462,40463,40464,40465,40466,40467,40468,40469,40470,40471,40472,40473,40474,40475,40476,40477,40478,40484,40487,40494,40496,40500,40507,40508,40512,40525,40528,40530,40531,40532,40534,40537,40541,40543,40544,40545,40546,40549,40558,40559,40562,40564,40565,40566,40567,40568,40569,40570,40571,40572,40573,40576,40577,40579,40580,40581,40582,40585,40586,40588,40589,40590,40591,40592,40593,40596,40597,40598,40599,40600,40601,40602,40603,40604,40606,40608,40609,40610,40611,40612,40613,40615,40616,40617,40618,58190,58191,58192,58193,58194,58195,58196,58197,58198,58199,58200,58201,58202,58203,58204,58205,58206,58207,58208,58209,58210,58211,58212,58213,58214,58215,58216,58217,58218,58219,58220,58221,58222,58223,58224,58225,58226,58227,58228,58229,58230,58231,58232,58233,58234,58235,58236,58237,58238,58239,58240,58241,58242,58243,58244,58245,58246,58247,58248,58249,58250,58251,58252,58253,58254,58255,58256,58257,58258,58259,58260,58261,58262,58263,58264,58265,58266,58267,58268,58269,58270,58271,58272,58273,58274,58275,58276,58277,58278,58279,58280,58281,58282,58283,40619,40620,40621,40622,40623,40624,40625,40626,40627,40629,40630,40631,40633,40634,40636,40639,40640,40641,40642,40643,40645,40646,40647,40648,40650,40651,40652,40656,40658,40659,40661,40662,40663,40665,40666,40670,40673,40675,40676,40678,40680,40683,40684,40685,40686,40688,40689,40690,40691,40692,40693,40694,40695,40696,40698,40701,40703,40704,40705,40706,40707,40708,40709,40710,40711,40712,40713,40714,40716,40719,40721,40722,40724,40725,40726,40728,40730,40731,40732,40733,40734,40735,40737,40739,40740,40741,40742,40743,40744,40745,40746,40747,40749,40750,40752,40753,58284,58285,58286,58287,58288,58289,58290,58291,58292,58293,58294,58295,58296,58297,58298,58299,58300,58301,58302,58303,58304,58305,58306,58307,58308,58309,58310,58311,58312,58313,58314,58315,58316,58317,58318,58319,58320,58321,58322,58323,58324,58325,58326,58327,58328,58329,58330,58331,58332,58333,58334,58335,58336,58337,58338,58339,58340,58341,58342,58343,58344,58345,58346,58347,58348,58349,58350,58351,58352,58353,58354,58355,58356,58357,58358,58359,58360,58361,58362,58363,58364,58365,58366,58367,58368,58369,58370,58371,58372,58373,58374,58375,58376,58377,40754,40755,40756,40757,40758,40760,40762,40764,40767,40768,40769,40770,40771,40773,40774,40775,40776,40777,40778,40779,40780,40781,40782,40783,40786,40787,40788,40789,40790,40791,40792,40793,40794,40795,40796,40797,40798,40799,40800,40801,40802,40803,40804,40805,40806,40807,40808,40809,40810,40811,40812,40813,40814,40815,40816,40817,40818,40819,40820,40821,40822,40823,40824,40825,40826,40827,40828,40829,40830,40833,40834,40845,40846,40847,40848,40849,40850,40851,40852,40853,40854,40855,40856,40860,40861,40862,40865,40866,40867,40868,40869,63788,63865,63893,63975,63985,58378,58379,58380,58381,58382,58383,58384,58385,58386,58387,58388,58389,58390,58391,58392,58393,58394,58395,58396,58397,58398,58399,58400,58401,58402,58403,58404,58405,58406,58407,58408,58409,58410,58411,58412,58413,58414,58415,58416,58417,58418,58419,58420,58421,58422,58423,58424,58425,58426,58427,58428,58429,58430,58431,58432,58433,58434,58435,58436,58437,58438,58439,58440,58441,58442,58443,58444,58445,58446,58447,58448,58449,58450,58451,58452,58453,58454,58455,58456,58457,58458,58459,58460,58461,58462,58463,58464,58465,58466,58467,58468,58469,58470,58471,64012,64013,64014,64015,64017,64019,64020,64024,64031,64032,64033,64035,64036,64039,64040,64041,11905,59414,59415,59416,11908,13427,13383,11912,11915,59422,13726,13850,13838,11916,11927,14702,14616,59430,14799,14815,14963,14800,59435,59436,15182,15470,15584,11943,59441,59442,11946,16470,16735,11950,17207,11955,11958,11959,59451,17329,17324,11963,17373,17622,18017,17996,59459,18211,18217,18300,18317,11978,18759,18810,18813,18818,18819,18821,18822,18847,18843,18871,18870,59476,59477,19619,19615,19616,19617,19575,19618,19731,19732,19733,19734,19735,19736,19737,19886,59492,58472,58473,58474,58475,58476,58477,58478,58479,58480,58481,58482,58483,58484,58485,58486,58487,58488,58489,58490,58491,58492,58493,58494,58495,58496,58497,58498,58499,58500,58501,58502,58503,58504,58505,58506,58507,58508,58509,58510,58511,58512,58513,58514,58515,58516,58517,58518,58519,58520,58521,58522,58523,58524,58525,58526,58527,58528,58529,58530,58531,58532,58533,58534,58535,58536,58537,58538,58539,58540,58541,58542,58543,58544,58545,58546,58547,58548,58549,58550,58551,58552,58553,58554,58555,58556,58557,58558,58559,58560,58561,58562,58563,58564,58565],"gb18030-ranges":[[0,128],[36,165],[38,169],[45,178],[50,184],[81,216],[89,226],[95,235],[96,238],[100,244],[103,248],[104,251],[105,253],[109,258],[126,276],[133,284],[148,300],[172,325],[175,329],[179,334],[208,364],[306,463],[307,465],[308,467],[309,469],[310,471],[311,473],[312,475],[313,477],[341,506],[428,594],[443,610],[544,712],[545,716],[558,730],[741,930],[742,938],[749,962],[750,970],[805,1026],[819,1104],[820,1106],[7922,8209],[7924,8215],[7925,8218],[7927,8222],[7934,8231],[7943,8241],[7944,8244],[7945,8246],[7950,8252],[8062,8365],[8148,8452],[8149,8454],[8152,8458],[8164,8471],[8174,8482],[8236,8556],[8240,8570],[8262,8596],[8264,8602],[8374,8713],[8380,8720],[8381,8722],[8384,8726],[8388,8731],[8390,8737],[8392,8740],[8393,8742],[8394,8748],[8396,8751],[8401,8760],[8406,8766],[8416,8777],[8419,8781],[8424,8787],[8437,8802],[8439,8808],[8445,8816],[8482,8854],[8485,8858],[8496,8870],[8521,8896],[8603,8979],[8936,9322],[8946,9372],[9046,9548],[9050,9588],[9063,9616],[9066,9622],[9076,9634],[9092,9652],[9100,9662],[9108,9672],[9111,9676],[9113,9680],[9131,9702],[9162,9735],[9164,9738],[9218,9793],[9219,9795],[11329,11906],[11331,11909],[11334,11913],[11336,11917],[11346,11928],[11361,11944],[11363,11947],[11366,11951],[11370,11956],[11372,11960],[11375,11964],[11389,11979],[11682,12284],[11686,12292],[11687,12312],[11692,12319],[11694,12330],[11714,12351],[11716,12436],[11723,12447],[11725,12535],[11730,12543],[11736,12586],[11982,12842],[11989,12850],[12102,12964],[12336,13200],[12348,13215],[12350,13218],[12384,13253],[12393,13263],[12395,13267],[12397,13270],[12510,13384],[12553,13428],[12851,13727],[12962,13839],[12973,13851],[13738,14617],[13823,14703],[13919,14801],[13933,14816],[14080,14964],[14298,15183],[14585,15471],[14698,15585],[15583,16471],[15847,16736],[16318,17208],[16434,17325],[16438,17330],[16481,17374],[16729,17623],[17102,17997],[17122,18018],[17315,18212],[17320,18218],[17402,18301],[17418,18318],[17859,18760],[17909,18811],[17911,18814],[17915,18820],[17916,18823],[17936,18844],[17939,18848],[17961,18872],[18664,19576],[18703,19620],[18814,19738],[18962,19887],[19043,40870],[33469,59244],[33470,59336],[33471,59367],[33484,59413],[33485,59417],[33490,59423],[33497,59431],[33501,59437],[33505,59443],[33513,59452],[33520,59460],[33536,59478],[33550,59493],[37845,63789],[37921,63866],[37948,63894],[38029,63976],[38038,63986],[38064,64016],[38065,64018],[38066,64021],[38069,64025],[38075,64034],[38076,64037],[38078,64042],[39108,65074],[39109,65093],[39113,65107],[39114,65112],[39115,65127],[39116,65132],[39265,65375],[39394,65510],[189e3,65536]],jis0208:[12288,12289,12290,65292,65294,12539,65306,65307,65311,65281,12443,12444,180,65344,168,65342,65507,65343,12541,12542,12445,12446,12291,20189,12293,12294,12295,12540,8213,8208,65295,65340,65374,8741,65372,8230,8229,8216,8217,8220,8221,65288,65289,12308,12309,65339,65341,65371,65373,12296,12297,12298,12299,12300,12301,12302,12303,12304,12305,65291,65293,177,215,247,65309,8800,65308,65310,8806,8807,8734,8756,9794,9792,176,8242,8243,8451,65509,65284,65504,65505,65285,65283,65286,65290,65312,167,9734,9733,9675,9679,9678,9671,9670,9633,9632,9651,9650,9661,9660,8251,12306,8594,8592,8593,8595,12307,null,null,null,null,null,null,null,null,null,null,null,8712,8715,8838,8839,8834,8835,8746,8745,null,null,null,null,null,null,null,null,8743,8744,65506,8658,8660,8704,8707,null,null,null,null,null,null,null,null,null,null,null,8736,8869,8978,8706,8711,8801,8786,8810,8811,8730,8765,8733,8757,8747,8748,null,null,null,null,null,null,null,8491,8240,9839,9837,9834,8224,8225,182,null,null,null,null,9711,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,65296,65297,65298,65299,65300,65301,65302,65303,65304,65305,null,null,null,null,null,null,null,65313,65314,65315,65316,65317,65318,65319,65320,65321,65322,65323,65324,65325,65326,65327,65328,65329,65330,65331,65332,65333,65334,65335,65336,65337,65338,null,null,null,null,null,null,65345,65346,65347,65348,65349,65350,65351,65352,65353,65354,65355,65356,65357,65358,65359,65360,65361,65362,65363,65364,65365,65366,65367,65368,65369,65370,null,null,null,null,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,null,null,null,null,null,null,null,null,null,null,null,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,12481,12482,12483,12484,12485,12486,12487,12488,12489,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,null,null,null,null,null,null,null,null,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,null,null,null,null,null,null,null,null,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,963,964,965,966,967,968,969,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1040,1041,1042,1043,1044,1045,1025,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1072,1073,1074,1075,1076,1077,1105,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,null,null,null,null,null,null,null,null,null,null,null,null,null,9472,9474,9484,9488,9496,9492,9500,9516,9508,9524,9532,9473,9475,9487,9491,9499,9495,9507,9523,9515,9531,9547,9504,9519,9512,9527,9535,9501,9520,9509,9528,9538,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,9312,9313,9314,9315,9316,9317,9318,9319,9320,9321,9322,9323,9324,9325,9326,9327,9328,9329,9330,9331,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,null,13129,13076,13090,13133,13080,13095,13059,13110,13137,13143,13069,13094,13091,13099,13130,13115,13212,13213,13214,13198,13199,13252,13217,null,null,null,null,null,null,null,null,13179,12317,12319,8470,13261,8481,12964,12965,12966,12967,12968,12849,12850,12857,13182,13181,13180,8786,8801,8747,8750,8721,8730,8869,8736,8735,8895,8757,8745,8746,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,20124,21782,23043,38463,21696,24859,25384,23030,36898,33909,33564,31312,24746,25569,28197,26093,33894,33446,39925,26771,22311,26017,25201,23451,22992,34427,39156,32098,32190,39822,25110,31903,34999,23433,24245,25353,26263,26696,38343,38797,26447,20197,20234,20301,20381,20553,22258,22839,22996,23041,23561,24799,24847,24944,26131,26885,28858,30031,30064,31227,32173,32239,32963,33806,34915,35586,36949,36986,21307,20117,20133,22495,32946,37057,30959,19968,22769,28322,36920,31282,33576,33419,39983,20801,21360,21693,21729,22240,23035,24341,39154,28139,32996,34093,38498,38512,38560,38907,21515,21491,23431,28879,32701,36802,38632,21359,40284,31418,19985,30867,33276,28198,22040,21764,27421,34074,39995,23013,21417,28006,29916,38287,22082,20113,36939,38642,33615,39180,21473,21942,23344,24433,26144,26355,26628,27704,27891,27945,29787,30408,31310,38964,33521,34907,35424,37613,28082,30123,30410,39365,24742,35585,36234,38322,27022,21421,20870,22290,22576,22852,23476,24310,24616,25513,25588,27839,28436,28814,28948,29017,29141,29503,32257,33398,33489,34199,36960,37467,40219,22633,26044,27738,29989,20985,22830,22885,24448,24540,25276,26106,27178,27431,27572,29579,32705,35158,40236,40206,40644,23713,27798,33659,20740,23627,25014,33222,26742,29281,20057,20474,21368,24681,28201,31311,38899,19979,21270,20206,20309,20285,20385,20339,21152,21487,22025,22799,23233,23478,23521,31185,26247,26524,26550,27468,27827,28779,29634,31117,31166,31292,31623,33457,33499,33540,33655,33775,33747,34662,35506,22057,36008,36838,36942,38686,34442,20420,23784,25105,29273,30011,33253,33469,34558,36032,38597,39187,39381,20171,20250,35299,22238,22602,22730,24315,24555,24618,24724,24674,25040,25106,25296,25913,39745,26214,26800,28023,28784,30028,30342,32117,33445,34809,38283,38542,35997,20977,21182,22806,21683,23475,23830,24936,27010,28079,30861,33995,34903,35442,37799,39608,28012,39336,34521,22435,26623,34510,37390,21123,22151,21508,24275,25313,25785,26684,26680,27579,29554,30906,31339,35226,35282,36203,36611,37101,38307,38548,38761,23398,23731,27005,38989,38990,25499,31520,27179,27263,26806,39949,28511,21106,21917,24688,25324,27963,28167,28369,33883,35088,36676,19988,39993,21494,26907,27194,38788,26666,20828,31427,33970,37340,37772,22107,40232,26658,33541,33841,31909,21e3,33477,29926,20094,20355,20896,23506,21002,21208,21223,24059,21914,22570,23014,23436,23448,23515,24178,24185,24739,24863,24931,25022,25563,25954,26577,26707,26874,27454,27475,27735,28450,28567,28485,29872,29976,30435,30475,31487,31649,31777,32233,32566,32752,32925,33382,33694,35251,35532,36011,36996,37969,38291,38289,38306,38501,38867,39208,33304,20024,21547,23736,24012,29609,30284,30524,23721,32747,36107,38593,38929,38996,39e3,20225,20238,21361,21916,22120,22522,22855,23305,23492,23696,24076,24190,24524,25582,26426,26071,26082,26399,26827,26820,27231,24112,27589,27671,27773,30079,31048,23395,31232,32e3,24509,35215,35352,36020,36215,36556,36637,39138,39438,39740,20096,20605,20736,22931,23452,25135,25216,25836,27450,29344,30097,31047,32681,34811,35516,35696,25516,33738,38816,21513,21507,21931,26708,27224,35440,30759,26485,40653,21364,23458,33050,34384,36870,19992,20037,20167,20241,21450,21560,23470,24339,24613,25937,26429,27714,27762,27875,28792,29699,31350,31406,31496,32026,31998,32102,26087,29275,21435,23621,24040,25298,25312,25369,28192,34394,35377,36317,37624,28417,31142,39770,20136,20139,20140,20379,20384,20689,20807,31478,20849,20982,21332,21281,21375,21483,21932,22659,23777,24375,24394,24623,24656,24685,25375,25945,27211,27841,29378,29421,30703,33016,33029,33288,34126,37111,37857,38911,39255,39514,20208,20957,23597,26241,26989,23616,26354,26997,29577,26704,31873,20677,21220,22343,24062,37670,26020,27427,27453,29748,31105,31165,31563,32202,33465,33740,34943,35167,35641,36817,37329,21535,37504,20061,20534,21477,21306,29399,29590,30697,33510,36527,39366,39368,39378,20855,24858,34398,21936,31354,20598,23507,36935,38533,20018,27355,37351,23633,23624,25496,31391,27795,38772,36705,31402,29066,38536,31874,26647,32368,26705,37740,21234,21531,34219,35347,32676,36557,37089,21350,34952,31041,20418,20670,21009,20804,21843,22317,29674,22411,22865,24418,24452,24693,24950,24935,25001,25522,25658,25964,26223,26690,28179,30054,31293,31995,32076,32153,32331,32619,33550,33610,34509,35336,35427,35686,36605,38938,40335,33464,36814,39912,21127,25119,25731,28608,38553,26689,20625,27424,27770,28500,31348,32080,34880,35363,26376,20214,20537,20518,20581,20860,21048,21091,21927,22287,22533,23244,24314,25010,25080,25331,25458,26908,27177,29309,29356,29486,30740,30831,32121,30476,32937,35211,35609,36066,36562,36963,37749,38522,38997,39443,40568,20803,21407,21427,24187,24358,28187,28304,29572,29694,32067,33335,35328,35578,38480,20046,20491,21476,21628,22266,22993,23396,24049,24235,24359,25144,25925,26543,28246,29392,31946,34996,32929,32993,33776,34382,35463,36328,37431,38599,39015,40723,20116,20114,20237,21320,21577,21566,23087,24460,24481,24735,26791,27278,29786,30849,35486,35492,35703,37264,20062,39881,20132,20348,20399,20505,20502,20809,20844,21151,21177,21246,21402,21475,21521,21518,21897,22353,22434,22909,23380,23389,23439,24037,24039,24055,24184,24195,24218,24247,24344,24658,24908,25239,25304,25511,25915,26114,26179,26356,26477,26657,26775,27083,27743,27946,28009,28207,28317,30002,30343,30828,31295,31968,32005,32024,32094,32177,32789,32771,32943,32945,33108,33167,33322,33618,34892,34913,35611,36002,36092,37066,37237,37489,30783,37628,38308,38477,38917,39321,39640,40251,21083,21163,21495,21512,22741,25335,28640,35946,36703,40633,20811,21051,21578,22269,31296,37239,40288,40658,29508,28425,33136,29969,24573,24794,39592,29403,36796,27492,38915,20170,22256,22372,22718,23130,24680,25031,26127,26118,26681,26801,28151,30165,32058,33390,39746,20123,20304,21449,21766,23919,24038,24046,26619,27801,29811,30722,35408,37782,35039,22352,24231,25387,20661,20652,20877,26368,21705,22622,22971,23472,24425,25165,25505,26685,27507,28168,28797,37319,29312,30741,30758,31085,25998,32048,33756,35009,36617,38555,21092,22312,26448,32618,36001,20916,22338,38442,22586,27018,32948,21682,23822,22524,30869,40442,20316,21066,21643,25662,26152,26388,26613,31364,31574,32034,37679,26716,39853,31545,21273,20874,21047,23519,25334,25774,25830,26413,27578,34217,38609,30352,39894,25420,37638,39851,30399,26194,19977,20632,21442,23665,24808,25746,25955,26719,29158,29642,29987,31639,32386,34453,35715,36059,37240,39184,26028,26283,27531,20181,20180,20282,20351,21050,21496,21490,21987,22235,22763,22987,22985,23039,23376,23629,24066,24107,24535,24605,25351,25903,23388,26031,26045,26088,26525,27490,27515,27663,29509,31049,31169,31992,32025,32043,32930,33026,33267,35222,35422,35433,35430,35468,35566,36039,36060,38604,39164,27503,20107,20284,20365,20816,23383,23546,24904,25345,26178,27425,28363,27835,29246,29885,30164,30913,31034,32780,32819,33258,33940,36766,27728,40575,24335,35672,40235,31482,36600,23437,38635,19971,21489,22519,22833,23241,23460,24713,28287,28422,30142,36074,23455,34048,31712,20594,26612,33437,23649,34122,32286,33294,20889,23556,25448,36198,26012,29038,31038,32023,32773,35613,36554,36974,34503,37034,20511,21242,23610,26451,28796,29237,37196,37320,37675,33509,23490,24369,24825,20027,21462,23432,25163,26417,27530,29417,29664,31278,33131,36259,37202,39318,20754,21463,21610,23551,25480,27193,32172,38656,22234,21454,21608,23447,23601,24030,20462,24833,25342,27954,31168,31179,32066,32333,32722,33261,33311,33936,34886,35186,35728,36468,36655,36913,37195,37228,38598,37276,20160,20303,20805,21313,24467,25102,26580,27713,28171,29539,32294,37325,37507,21460,22809,23487,28113,31069,32302,31899,22654,29087,20986,34899,36848,20426,23803,26149,30636,31459,33308,39423,20934,24490,26092,26991,27529,28147,28310,28516,30462,32020,24033,36981,37255,38918,20966,21021,25152,26257,26329,28186,24246,32210,32626,26360,34223,34295,35576,21161,21465,22899,24207,24464,24661,37604,38500,20663,20767,21213,21280,21319,21484,21736,21830,21809,22039,22888,22974,23100,23477,23558,23567,23569,23578,24196,24202,24288,24432,25215,25220,25307,25484,25463,26119,26124,26157,26230,26494,26786,27167,27189,27836,28040,28169,28248,28988,28966,29031,30151,30465,30813,30977,31077,31216,31456,31505,31911,32057,32918,33750,33931,34121,34909,35059,35359,35388,35412,35443,35937,36062,37284,37478,37758,37912,38556,38808,19978,19976,19998,20055,20887,21104,22478,22580,22732,23330,24120,24773,25854,26465,26454,27972,29366,30067,31331,33976,35698,37304,37664,22065,22516,39166,25325,26893,27542,29165,32340,32887,33394,35302,39135,34645,36785,23611,20280,20449,20405,21767,23072,23517,23529,24515,24910,25391,26032,26187,26862,27035,28024,28145,30003,30137,30495,31070,31206,32051,33251,33455,34218,35242,35386,36523,36763,36914,37341,38663,20154,20161,20995,22645,22764,23563,29978,23613,33102,35338,36805,38499,38765,31525,35535,38920,37218,22259,21416,36887,21561,22402,24101,25512,27700,28810,30561,31883,32736,34928,36930,37204,37648,37656,38543,29790,39620,23815,23913,25968,26530,36264,38619,25454,26441,26905,33733,38935,38592,35070,28548,25722,23544,19990,28716,30045,26159,20932,21046,21218,22995,24449,24615,25104,25919,25972,26143,26228,26866,26646,27491,28165,29298,29983,30427,31934,32854,22768,35069,35199,35488,35475,35531,36893,37266,38738,38745,25993,31246,33030,38587,24109,24796,25114,26021,26132,26512,30707,31309,31821,32318,33034,36012,36196,36321,36447,30889,20999,25305,25509,25666,25240,35373,31363,31680,35500,38634,32118,33292,34633,20185,20808,21315,21344,23459,23554,23574,24029,25126,25159,25776,26643,26676,27849,27973,27927,26579,28508,29006,29053,26059,31359,31661,32218,32330,32680,33146,33307,33337,34214,35438,36046,36341,36984,36983,37549,37521,38275,39854,21069,21892,28472,28982,20840,31109,32341,33203,31950,22092,22609,23720,25514,26366,26365,26970,29401,30095,30094,30990,31062,31199,31895,32032,32068,34311,35380,38459,36961,40736,20711,21109,21452,21474,20489,21930,22766,22863,29245,23435,23652,21277,24803,24819,25436,25475,25407,25531,25805,26089,26361,24035,27085,27133,28437,29157,20105,30185,30456,31379,31967,32207,32156,32865,33609,33624,33900,33980,34299,35013,36208,36865,36973,37783,38684,39442,20687,22679,24974,33235,34101,36104,36896,20419,20596,21063,21363,24687,25417,26463,28204,36275,36895,20439,23646,36042,26063,32154,21330,34966,20854,25539,23384,23403,23562,25613,26449,36956,20182,22810,22826,27760,35409,21822,22549,22949,24816,25171,26561,33333,26965,38464,39364,39464,20307,22534,23550,32784,23729,24111,24453,24608,24907,25140,26367,27888,28382,32974,33151,33492,34955,36024,36864,36910,38538,40667,39899,20195,21488,22823,31532,37261,38988,40441,28381,28711,21331,21828,23429,25176,25246,25299,27810,28655,29730,35351,37944,28609,35582,33592,20967,34552,21482,21481,20294,36948,36784,22890,33073,24061,31466,36799,26842,35895,29432,40008,27197,35504,20025,21336,22022,22374,25285,25506,26086,27470,28129,28251,28845,30701,31471,31658,32187,32829,32966,34507,35477,37723,22243,22727,24382,26029,26262,27264,27573,30007,35527,20516,30693,22320,24347,24677,26234,27744,30196,31258,32622,33268,34584,36933,39347,31689,30044,31481,31569,33988,36880,31209,31378,33590,23265,30528,20013,20210,23449,24544,25277,26172,26609,27880,34411,34935,35387,37198,37619,39376,27159,28710,29482,33511,33879,36015,19969,20806,20939,21899,23541,24086,24115,24193,24340,24373,24427,24500,25074,25361,26274,26397,28526,29266,30010,30522,32884,33081,33144,34678,35519,35548,36229,36339,37530,38263,38914,40165,21189,25431,30452,26389,27784,29645,36035,37806,38515,27941,22684,26894,27084,36861,37786,30171,36890,22618,26626,25524,27131,20291,28460,26584,36795,34086,32180,37716,26943,28528,22378,22775,23340,32044,29226,21514,37347,40372,20141,20302,20572,20597,21059,35998,21576,22564,23450,24093,24213,24237,24311,24351,24716,25269,25402,25552,26799,27712,30855,31118,31243,32224,33351,35330,35558,36420,36883,37048,37165,37336,40718,27877,25688,25826,25973,28404,30340,31515,36969,37841,28346,21746,24505,25764,36685,36845,37444,20856,22635,22825,23637,24215,28155,32399,29980,36028,36578,39003,28857,20253,27583,28593,3e4,38651,20814,21520,22581,22615,22956,23648,24466,26007,26460,28193,30331,33759,36077,36884,37117,37709,30757,30778,21162,24230,22303,22900,24594,20498,20826,20908,20941,20992,21776,22612,22616,22871,23445,23798,23947,24764,25237,25645,26481,26691,26812,26847,30423,28120,28271,28059,28783,29128,24403,30168,31095,31561,31572,31570,31958,32113,21040,33891,34153,34276,35342,35588,35910,36367,36867,36879,37913,38518,38957,39472,38360,20685,21205,21516,22530,23566,24999,25758,27934,30643,31461,33012,33796,36947,37509,23776,40199,21311,24471,24499,28060,29305,30563,31167,31716,27602,29420,35501,26627,27233,20984,31361,26932,23626,40182,33515,23493,37193,28702,22136,23663,24775,25958,27788,35930,36929,38931,21585,26311,37389,22856,37027,20869,20045,20970,34201,35598,28760,25466,37707,26978,39348,32260,30071,21335,26976,36575,38627,27741,20108,23612,24336,36841,21250,36049,32905,34425,24319,26085,20083,20837,22914,23615,38894,20219,22922,24525,35469,28641,31152,31074,23527,33905,29483,29105,24180,24565,25467,25754,29123,31896,20035,24316,20043,22492,22178,24745,28611,32013,33021,33075,33215,36786,35223,34468,24052,25226,25773,35207,26487,27874,27966,29750,30772,23110,32629,33453,39340,20467,24259,25309,25490,25943,26479,30403,29260,32972,32954,36649,37197,20493,22521,23186,26757,26995,29028,29437,36023,22770,36064,38506,36889,34687,31204,30695,33833,20271,21093,21338,25293,26575,27850,30333,31636,31893,33334,34180,36843,26333,28448,29190,32283,33707,39361,40614,20989,31665,30834,31672,32903,31560,27368,24161,32908,30033,30048,20843,37474,28300,30330,37271,39658,20240,32624,25244,31567,38309,40169,22138,22617,34532,38588,20276,21028,21322,21453,21467,24070,25644,26001,26495,27710,27726,29256,29359,29677,30036,32321,33324,34281,36009,31684,37318,29033,38930,39151,25405,26217,30058,30436,30928,34115,34542,21290,21329,21542,22915,24199,24444,24754,25161,25209,25259,26e3,27604,27852,30130,30382,30865,31192,32203,32631,32933,34987,35513,36027,36991,38750,39131,27147,31800,20633,23614,24494,26503,27608,29749,30473,32654,40763,26570,31255,21305,30091,39661,24422,33181,33777,32920,24380,24517,30050,31558,36924,26727,23019,23195,32016,30334,35628,20469,24426,27161,27703,28418,29922,31080,34920,35413,35961,24287,25551,30149,31186,33495,37672,37618,33948,34541,39981,21697,24428,25996,27996,28693,36007,36051,38971,25935,29942,19981,20184,22496,22827,23142,23500,20904,24067,24220,24598,25206,25975,26023,26222,28014,29238,31526,33104,33178,33433,35676,36e3,36070,36212,38428,38468,20398,25771,27494,33310,33889,34154,37096,23553,26963,39080,33914,34135,20239,21103,24489,24133,26381,31119,33145,35079,35206,28149,24343,25173,27832,20175,29289,39826,20998,21563,22132,22707,24996,25198,28954,22894,31881,31966,32027,38640,25991,32862,19993,20341,20853,22592,24163,24179,24330,26564,20006,34109,38281,38491,31859,38913,20731,22721,30294,30887,21029,30629,34065,31622,20559,22793,29255,31687,32232,36794,36820,36941,20415,21193,23081,24321,38829,20445,33303,37610,22275,25429,27497,29995,35036,36628,31298,21215,22675,24917,25098,26286,27597,31807,33769,20515,20472,21253,21574,22577,22857,23453,23792,23791,23849,24214,25265,25447,25918,26041,26379,27861,27873,28921,30770,32299,32990,33459,33804,34028,34562,35090,35370,35914,37030,37586,39165,40179,40300,20047,20129,20621,21078,22346,22952,24125,24536,24537,25151,26292,26395,26576,26834,20882,32033,32938,33192,35584,35980,36031,37502,38450,21536,38956,21271,20693,21340,22696,25778,26420,29287,30566,31302,37350,21187,27809,27526,22528,24140,22868,26412,32763,20961,30406,25705,30952,39764,40635,22475,22969,26151,26522,27598,21737,27097,24149,33180,26517,39850,26622,40018,26717,20134,20451,21448,25273,26411,27819,36804,20397,32365,40639,19975,24930,28288,28459,34067,21619,26410,39749,24051,31637,23724,23494,34588,28234,34001,31252,33032,22937,31885,27665,30496,21209,22818,28961,29279,30683,38695,40289,26891,23167,23064,20901,21517,21629,26126,30431,36855,37528,40180,23018,29277,28357,20813,26825,32191,32236,38754,40634,25720,27169,33538,22916,23391,27611,29467,30450,32178,32791,33945,20786,26408,40665,30446,26466,21247,39173,23588,25147,31870,36016,21839,24758,32011,38272,21249,20063,20918,22812,29242,32822,37326,24357,30690,21380,24441,32004,34220,35379,36493,38742,26611,34222,37971,24841,24840,27833,30290,35565,36664,21807,20305,20778,21191,21451,23461,24189,24736,24962,25558,26377,26586,28263,28044,29494,29495,30001,31056,35029,35480,36938,37009,37109,38596,34701,22805,20104,20313,19982,35465,36671,38928,20653,24188,22934,23481,24248,25562,25594,25793,26332,26954,27096,27915,28342,29076,29992,31407,32650,32768,33865,33993,35201,35617,36362,36965,38525,39178,24958,25233,27442,27779,28020,32716,32764,28096,32645,34746,35064,26469,33713,38972,38647,27931,32097,33853,37226,20081,21365,23888,27396,28651,34253,34349,35239,21033,21519,23653,26446,26792,29702,29827,30178,35023,35041,37324,38626,38520,24459,29575,31435,33870,25504,30053,21129,27969,28316,29705,30041,30827,31890,38534,31452,40845,20406,24942,26053,34396,20102,20142,20698,20001,20940,23534,26009,26753,28092,29471,30274,30637,31260,31975,33391,35538,36988,37327,38517,38936,21147,32209,20523,21400,26519,28107,29136,29747,33256,36650,38563,40023,40607,29792,22593,28057,32047,39006,20196,20278,20363,20919,21169,23994,24604,29618,31036,33491,37428,38583,38646,38666,40599,40802,26278,27508,21015,21155,28872,35010,24265,24651,24976,28451,29001,31806,32244,32879,34030,36899,37676,21570,39791,27347,28809,36034,36335,38706,21172,23105,24266,24324,26391,27004,27028,28010,28431,29282,29436,31725,32769,32894,34635,37070,20845,40595,31108,32907,37682,35542,20525,21644,35441,27498,36036,33031,24785,26528,40434,20121,20120,39952,35435,34241,34152,26880,28286,30871,33109,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,24332,19984,19989,20010,20017,20022,20028,20031,20034,20054,20056,20098,20101,35947,20106,33298,24333,20110,20126,20127,20128,20130,20144,20147,20150,20174,20173,20164,20166,20162,20183,20190,20205,20191,20215,20233,20314,20272,20315,20317,20311,20295,20342,20360,20367,20376,20347,20329,20336,20369,20335,20358,20374,20760,20436,20447,20430,20440,20443,20433,20442,20432,20452,20453,20506,20520,20500,20522,20517,20485,20252,20470,20513,20521,20524,20478,20463,20497,20486,20547,20551,26371,20565,20560,20552,20570,20566,20588,20600,20608,20634,20613,20660,20658,20681,20682,20659,20674,20694,20702,20709,20717,20707,20718,20729,20725,20745,20737,20738,20758,20757,20756,20762,20769,20794,20791,20796,20795,20799,20800,20818,20812,20820,20834,31480,20841,20842,20846,20864,20866,22232,20876,20873,20879,20881,20883,20885,20886,20900,20902,20898,20905,20906,20907,20915,20913,20914,20912,20917,20925,20933,20937,20955,20960,34389,20969,20973,20976,20981,20990,20996,21003,21012,21006,21031,21034,21038,21043,21049,21071,21060,21067,21068,21086,21076,21098,21108,21097,21107,21119,21117,21133,21140,21138,21105,21128,21137,36776,36775,21164,21165,21180,21173,21185,21197,21207,21214,21219,21222,39149,21216,21235,21237,21240,21241,21254,21256,30008,21261,21264,21263,21269,21274,21283,21295,21297,21299,21304,21312,21318,21317,19991,21321,21325,20950,21342,21353,21358,22808,21371,21367,21378,21398,21408,21414,21413,21422,21424,21430,21443,31762,38617,21471,26364,29166,21486,21480,21485,21498,21505,21565,21568,21548,21549,21564,21550,21558,21545,21533,21582,21647,21621,21646,21599,21617,21623,21616,21650,21627,21632,21622,21636,21648,21638,21703,21666,21688,21669,21676,21700,21704,21672,21675,21698,21668,21694,21692,21720,21733,21734,21775,21780,21757,21742,21741,21754,21730,21817,21824,21859,21836,21806,21852,21829,21846,21847,21816,21811,21853,21913,21888,21679,21898,21919,21883,21886,21912,21918,21934,21884,21891,21929,21895,21928,21978,21957,21983,21956,21980,21988,21972,22036,22007,22038,22014,22013,22043,22009,22094,22096,29151,22068,22070,22066,22072,22123,22116,22063,22124,22122,22150,22144,22154,22176,22164,22159,22181,22190,22198,22196,22210,22204,22209,22211,22208,22216,22222,22225,22227,22231,22254,22265,22272,22271,22276,22281,22280,22283,22285,22291,22296,22294,21959,22300,22310,22327,22328,22350,22331,22336,22351,22377,22464,22408,22369,22399,22409,22419,22432,22451,22436,22442,22448,22467,22470,22484,22482,22483,22538,22486,22499,22539,22553,22557,22642,22561,22626,22603,22640,27584,22610,22589,22649,22661,22713,22687,22699,22714,22750,22715,22712,22702,22725,22739,22737,22743,22745,22744,22757,22748,22756,22751,22767,22778,22777,22779,22780,22781,22786,22794,22800,22811,26790,22821,22828,22829,22834,22840,22846,31442,22869,22864,22862,22874,22872,22882,22880,22887,22892,22889,22904,22913,22941,20318,20395,22947,22962,22982,23016,23004,22925,23001,23002,23077,23071,23057,23068,23049,23066,23104,23148,23113,23093,23094,23138,23146,23194,23228,23230,23243,23234,23229,23267,23255,23270,23273,23254,23290,23291,23308,23307,23318,23346,23248,23338,23350,23358,23363,23365,23360,23377,23381,23386,23387,23397,23401,23408,23411,23413,23416,25992,23418,23424,23427,23462,23480,23491,23495,23497,23508,23504,23524,23526,23522,23518,23525,23531,23536,23542,23539,23557,23559,23560,23565,23571,23584,23586,23592,23608,23609,23617,23622,23630,23635,23632,23631,23409,23660,23662,20066,23670,23673,23692,23697,23700,22939,23723,23739,23734,23740,23735,23749,23742,23751,23769,23785,23805,23802,23789,23948,23786,23819,23829,23831,23900,23839,23835,23825,23828,23842,23834,23833,23832,23884,23890,23886,23883,23916,23923,23926,23943,23940,23938,23970,23965,23980,23982,23997,23952,23991,23996,24009,24013,24019,24018,24022,24027,24043,24050,24053,24075,24090,24089,24081,24091,24118,24119,24132,24131,24128,24142,24151,24148,24159,24162,24164,24135,24181,24182,24186,40636,24191,24224,24257,24258,24264,24272,24271,24278,24291,24285,24282,24283,24290,24289,24296,24297,24300,24305,24307,24304,24308,24312,24318,24323,24329,24413,24412,24331,24337,24342,24361,24365,24376,24385,24392,24396,24398,24367,24401,24406,24407,24409,24417,24429,24435,24439,24451,24450,24447,24458,24456,24465,24455,24478,24473,24472,24480,24488,24493,24508,24534,24571,24548,24568,24561,24541,24755,24575,24609,24672,24601,24592,24617,24590,24625,24603,24597,24619,24614,24591,24634,24666,24641,24682,24695,24671,24650,24646,24653,24675,24643,24676,24642,24684,24683,24665,24705,24717,24807,24707,24730,24708,24731,24726,24727,24722,24743,24715,24801,24760,24800,24787,24756,24560,24765,24774,24757,24792,24909,24853,24838,24822,24823,24832,24820,24826,24835,24865,24827,24817,24845,24846,24903,24894,24872,24871,24906,24895,24892,24876,24884,24893,24898,24900,24947,24951,24920,24921,24922,24939,24948,24943,24933,24945,24927,24925,24915,24949,24985,24982,24967,25004,24980,24986,24970,24977,25003,25006,25036,25034,25033,25079,25032,25027,25030,25018,25035,32633,25037,25062,25059,25078,25082,25076,25087,25085,25084,25086,25088,25096,25097,25101,25100,25108,25115,25118,25121,25130,25134,25136,25138,25139,25153,25166,25182,25187,25179,25184,25192,25212,25218,25225,25214,25234,25235,25238,25300,25219,25236,25303,25297,25275,25295,25343,25286,25812,25288,25308,25292,25290,25282,25287,25243,25289,25356,25326,25329,25383,25346,25352,25327,25333,25424,25406,25421,25628,25423,25494,25486,25472,25515,25462,25507,25487,25481,25503,25525,25451,25449,25534,25577,25536,25542,25571,25545,25554,25590,25540,25622,25652,25606,25619,25638,25654,25885,25623,25640,25615,25703,25711,25718,25678,25898,25749,25747,25765,25769,25736,25788,25818,25810,25797,25799,25787,25816,25794,25841,25831,33289,25824,25825,25260,25827,25839,25900,25846,25844,25842,25850,25856,25853,25880,25884,25861,25892,25891,25899,25908,25909,25911,25910,25912,30027,25928,25942,25941,25933,25944,25950,25949,25970,25976,25986,25987,35722,26011,26015,26027,26039,26051,26054,26049,26052,26060,26066,26075,26073,26080,26081,26097,26482,26122,26115,26107,26483,26165,26166,26164,26140,26191,26180,26185,26177,26206,26205,26212,26215,26216,26207,26210,26224,26243,26248,26254,26249,26244,26264,26269,26305,26297,26313,26302,26300,26308,26296,26326,26330,26336,26175,26342,26345,26352,26357,26359,26383,26390,26398,26406,26407,38712,26414,26431,26422,26433,26424,26423,26438,26462,26464,26457,26467,26468,26505,26480,26537,26492,26474,26508,26507,26534,26529,26501,26551,26607,26548,26604,26547,26601,26552,26596,26590,26589,26594,26606,26553,26574,26566,26599,27292,26654,26694,26665,26688,26701,26674,26702,26803,26667,26713,26723,26743,26751,26783,26767,26797,26772,26781,26779,26755,27310,26809,26740,26805,26784,26810,26895,26765,26750,26881,26826,26888,26840,26914,26918,26849,26892,26829,26836,26855,26837,26934,26898,26884,26839,26851,26917,26873,26848,26863,26920,26922,26906,26915,26913,26822,27001,26999,26972,27e3,26987,26964,27006,26990,26937,26996,26941,26969,26928,26977,26974,26973,27009,26986,27058,27054,27088,27071,27073,27091,27070,27086,23528,27082,27101,27067,27075,27047,27182,27025,27040,27036,27029,27060,27102,27112,27138,27163,27135,27402,27129,27122,27111,27141,27057,27166,27117,27156,27115,27146,27154,27329,27171,27155,27204,27148,27250,27190,27256,27207,27234,27225,27238,27208,27192,27170,27280,27277,27296,27268,27298,27299,27287,34327,27323,27331,27330,27320,27315,27308,27358,27345,27359,27306,27354,27370,27387,27397,34326,27386,27410,27414,39729,27423,27448,27447,30428,27449,39150,27463,27459,27465,27472,27481,27476,27483,27487,27489,27512,27513,27519,27520,27524,27523,27533,27544,27541,27550,27556,27562,27563,27567,27570,27569,27571,27575,27580,27590,27595,27603,27615,27628,27627,27635,27631,40638,27656,27667,27668,27675,27684,27683,27742,27733,27746,27754,27778,27789,27802,27777,27803,27774,27752,27763,27794,27792,27844,27889,27859,27837,27863,27845,27869,27822,27825,27838,27834,27867,27887,27865,27882,27935,34893,27958,27947,27965,27960,27929,27957,27955,27922,27916,28003,28051,28004,27994,28025,27993,28046,28053,28644,28037,28153,28181,28170,28085,28103,28134,28088,28102,28140,28126,28108,28136,28114,28101,28154,28121,28132,28117,28138,28142,28205,28270,28206,28185,28274,28255,28222,28195,28267,28203,28278,28237,28191,28227,28218,28238,28196,28415,28189,28216,28290,28330,28312,28361,28343,28371,28349,28335,28356,28338,28372,28373,28303,28325,28354,28319,28481,28433,28748,28396,28408,28414,28479,28402,28465,28399,28466,28364,28478,28435,28407,28550,28538,28536,28545,28544,28527,28507,28659,28525,28546,28540,28504,28558,28561,28610,28518,28595,28579,28577,28580,28601,28614,28586,28639,28629,28652,28628,28632,28657,28654,28635,28681,28683,28666,28689,28673,28687,28670,28699,28698,28532,28701,28696,28703,28720,28734,28722,28753,28771,28825,28818,28847,28913,28844,28856,28851,28846,28895,28875,28893,28889,28937,28925,28956,28953,29029,29013,29064,29030,29026,29004,29014,29036,29071,29179,29060,29077,29096,29100,29143,29113,29118,29138,29129,29140,29134,29152,29164,29159,29173,29180,29177,29183,29197,29200,29211,29224,29229,29228,29232,29234,29243,29244,29247,29248,29254,29259,29272,29300,29310,29314,29313,29319,29330,29334,29346,29351,29369,29362,29379,29382,29380,29390,29394,29410,29408,29409,29433,29431,20495,29463,29450,29468,29462,29469,29492,29487,29481,29477,29502,29518,29519,40664,29527,29546,29544,29552,29560,29557,29563,29562,29640,29619,29646,29627,29632,29669,29678,29662,29858,29701,29807,29733,29688,29746,29754,29781,29759,29791,29785,29761,29788,29801,29808,29795,29802,29814,29822,29835,29854,29863,29898,29903,29908,29681,29920,29923,29927,29929,29934,29938,29936,29937,29944,29943,29956,29955,29957,29964,29966,29965,29973,29971,29982,29990,29996,30012,30020,30029,30026,30025,30043,30022,30042,30057,30052,30055,30059,30061,30072,30070,30086,30087,30068,30090,30089,30082,30100,30106,30109,30117,30115,30146,30131,30147,30133,30141,30136,30140,30129,30157,30154,30162,30169,30179,30174,30206,30207,30204,30209,30192,30202,30194,30195,30219,30221,30217,30239,30247,30240,30241,30242,30244,30260,30256,30267,30279,30280,30278,30300,30296,30305,30306,30312,30313,30314,30311,30316,30320,30322,30326,30328,30332,30336,30339,30344,30347,30350,30358,30355,30361,30362,30384,30388,30392,30393,30394,30402,30413,30422,30418,30430,30433,30437,30439,30442,34351,30459,30472,30471,30468,30505,30500,30494,30501,30502,30491,30519,30520,30535,30554,30568,30571,30555,30565,30591,30590,30585,30606,30603,30609,30624,30622,30640,30646,30649,30655,30652,30653,30651,30663,30669,30679,30682,30684,30691,30702,30716,30732,30738,31014,30752,31018,30789,30862,30836,30854,30844,30874,30860,30883,30901,30890,30895,30929,30918,30923,30932,30910,30908,30917,30922,30956,30951,30938,30973,30964,30983,30994,30993,31001,31020,31019,31040,31072,31063,31071,31066,31061,31059,31098,31103,31114,31133,31143,40779,31146,31150,31155,31161,31162,31177,31189,31207,31212,31201,31203,31240,31245,31256,31257,31264,31263,31104,31281,31291,31294,31287,31299,31319,31305,31329,31330,31337,40861,31344,31353,31357,31368,31383,31381,31384,31382,31401,31432,31408,31414,31429,31428,31423,36995,31431,31434,31437,31439,31445,31443,31449,31450,31453,31457,31458,31462,31469,31472,31490,31503,31498,31494,31539,31512,31513,31518,31541,31528,31542,31568,31610,31492,31565,31499,31564,31557,31605,31589,31604,31591,31600,31601,31596,31598,31645,31640,31647,31629,31644,31642,31627,31634,31631,31581,31641,31691,31681,31692,31695,31668,31686,31709,31721,31761,31764,31718,31717,31840,31744,31751,31763,31731,31735,31767,31757,31734,31779,31783,31786,31775,31799,31787,31805,31820,31811,31828,31823,31808,31824,31832,31839,31844,31830,31845,31852,31861,31875,31888,31908,31917,31906,31915,31905,31912,31923,31922,31921,31918,31929,31933,31936,31941,31938,31960,31954,31964,31970,39739,31983,31986,31988,31990,31994,32006,32002,32028,32021,32010,32069,32075,32046,32050,32063,32053,32070,32115,32086,32078,32114,32104,32110,32079,32099,32147,32137,32091,32143,32125,32155,32186,32174,32163,32181,32199,32189,32171,32317,32162,32175,32220,32184,32159,32176,32216,32221,32228,32222,32251,32242,32225,32261,32266,32291,32289,32274,32305,32287,32265,32267,32290,32326,32358,32315,32309,32313,32323,32311,32306,32314,32359,32349,32342,32350,32345,32346,32377,32362,32361,32380,32379,32387,32213,32381,36782,32383,32392,32393,32396,32402,32400,32403,32404,32406,32398,32411,32412,32568,32570,32581,32588,32589,32590,32592,32593,32597,32596,32600,32607,32608,32616,32617,32615,32632,32642,32646,32643,32648,32647,32652,32660,32670,32669,32666,32675,32687,32690,32697,32686,32694,32696,35697,32709,32710,32714,32725,32724,32737,32742,32745,32755,32761,39132,32774,32772,32779,32786,32792,32793,32796,32801,32808,32831,32827,32842,32838,32850,32856,32858,32863,32866,32872,32883,32882,32880,32886,32889,32893,32895,32900,32902,32901,32923,32915,32922,32941,20880,32940,32987,32997,32985,32989,32964,32986,32982,33033,33007,33009,33051,33065,33059,33071,33099,38539,33094,33086,33107,33105,33020,33137,33134,33125,33126,33140,33155,33160,33162,33152,33154,33184,33173,33188,33187,33119,33171,33193,33200,33205,33214,33208,33213,33216,33218,33210,33225,33229,33233,33241,33240,33224,33242,33247,33248,33255,33274,33275,33278,33281,33282,33285,33287,33290,33293,33296,33302,33321,33323,33336,33331,33344,33369,33368,33373,33370,33375,33380,33378,33384,33386,33387,33326,33393,33399,33400,33406,33421,33426,33451,33439,33467,33452,33505,33507,33503,33490,33524,33523,33530,33683,33539,33531,33529,33502,33542,33500,33545,33497,33589,33588,33558,33586,33585,33600,33593,33616,33605,33583,33579,33559,33560,33669,33690,33706,33695,33698,33686,33571,33678,33671,33674,33660,33717,33651,33653,33696,33673,33704,33780,33811,33771,33742,33789,33795,33752,33803,33729,33783,33799,33760,33778,33805,33826,33824,33725,33848,34054,33787,33901,33834,33852,34138,33924,33911,33899,33965,33902,33922,33897,33862,33836,33903,33913,33845,33994,33890,33977,33983,33951,34009,33997,33979,34010,34e3,33985,33990,34006,33953,34081,34047,34036,34071,34072,34092,34079,34069,34068,34044,34112,34147,34136,34120,34113,34306,34123,34133,34176,34212,34184,34193,34186,34216,34157,34196,34203,34282,34183,34204,34167,34174,34192,34249,34234,34255,34233,34256,34261,34269,34277,34268,34297,34314,34323,34315,34302,34298,34310,34338,34330,34352,34367,34381,20053,34388,34399,34407,34417,34451,34467,34473,34474,34443,34444,34486,34479,34500,34502,34480,34505,34851,34475,34516,34526,34537,34540,34527,34523,34543,34578,34566,34568,34560,34563,34555,34577,34569,34573,34553,34570,34612,34623,34615,34619,34597,34601,34586,34656,34655,34680,34636,34638,34676,34647,34664,34670,34649,34643,34659,34666,34821,34722,34719,34690,34735,34763,34749,34752,34768,38614,34731,34756,34739,34759,34758,34747,34799,34802,34784,34831,34829,34814,34806,34807,34830,34770,34833,34838,34837,34850,34849,34865,34870,34873,34855,34875,34884,34882,34898,34905,34910,34914,34923,34945,34942,34974,34933,34941,34997,34930,34946,34967,34962,34990,34969,34978,34957,34980,34992,35007,34993,35011,35012,35028,35032,35033,35037,35065,35074,35068,35060,35048,35058,35076,35084,35082,35091,35139,35102,35109,35114,35115,35137,35140,35131,35126,35128,35148,35101,35168,35166,35174,35172,35181,35178,35183,35188,35191,35198,35203,35208,35210,35219,35224,35233,35241,35238,35244,35247,35250,35258,35261,35263,35264,35290,35292,35293,35303,35316,35320,35331,35350,35344,35340,35355,35357,35365,35382,35393,35419,35410,35398,35400,35452,35437,35436,35426,35461,35458,35460,35496,35489,35473,35493,35494,35482,35491,35524,35533,35522,35546,35563,35571,35559,35556,35569,35604,35552,35554,35575,35550,35547,35596,35591,35610,35553,35606,35600,35607,35616,35635,38827,35622,35627,35646,35624,35649,35660,35663,35662,35657,35670,35675,35674,35691,35679,35692,35695,35700,35709,35712,35724,35726,35730,35731,35734,35737,35738,35898,35905,35903,35912,35916,35918,35920,35925,35938,35948,35960,35962,35970,35977,35973,35978,35981,35982,35988,35964,35992,25117,36013,36010,36029,36018,36019,36014,36022,36040,36033,36068,36067,36058,36093,36090,36091,36100,36101,36106,36103,36111,36109,36112,40782,36115,36045,36116,36118,36199,36205,36209,36211,36225,36249,36290,36286,36282,36303,36314,36310,36300,36315,36299,36330,36331,36319,36323,36348,36360,36361,36351,36381,36382,36368,36383,36418,36405,36400,36404,36426,36423,36425,36428,36432,36424,36441,36452,36448,36394,36451,36437,36470,36466,36476,36481,36487,36485,36484,36491,36490,36499,36497,36500,36505,36522,36513,36524,36528,36550,36529,36542,36549,36552,36555,36571,36579,36604,36603,36587,36606,36618,36613,36629,36626,36633,36627,36636,36639,36635,36620,36646,36659,36667,36665,36677,36674,36670,36684,36681,36678,36686,36695,36700,36706,36707,36708,36764,36767,36771,36781,36783,36791,36826,36837,36834,36842,36847,36999,36852,36869,36857,36858,36881,36885,36897,36877,36894,36886,36875,36903,36918,36917,36921,36856,36943,36944,36945,36946,36878,36937,36926,36950,36952,36958,36968,36975,36982,38568,36978,36994,36989,36993,36992,37002,37001,37007,37032,37039,37041,37045,37090,37092,25160,37083,37122,37138,37145,37170,37168,37194,37206,37208,37219,37221,37225,37235,37234,37259,37257,37250,37282,37291,37295,37290,37301,37300,37306,37312,37313,37321,37323,37328,37334,37343,37345,37339,37372,37365,37366,37406,37375,37396,37420,37397,37393,37470,37463,37445,37449,37476,37448,37525,37439,37451,37456,37532,37526,37523,37531,37466,37583,37561,37559,37609,37647,37626,37700,37678,37657,37666,37658,37667,37690,37685,37691,37724,37728,37756,37742,37718,37808,37804,37805,37780,37817,37846,37847,37864,37861,37848,37827,37853,37840,37832,37860,37914,37908,37907,37891,37895,37904,37942,37931,37941,37921,37946,37953,37970,37956,37979,37984,37986,37982,37994,37417,38e3,38005,38007,38013,37978,38012,38014,38017,38015,38274,38279,38282,38292,38294,38296,38297,38304,38312,38311,38317,38332,38331,38329,38334,38346,28662,38339,38349,38348,38357,38356,38358,38364,38369,38373,38370,38433,38440,38446,38447,38466,38476,38479,38475,38519,38492,38494,38493,38495,38502,38514,38508,38541,38552,38549,38551,38570,38567,38577,38578,38576,38580,38582,38584,38585,38606,38603,38601,38605,35149,38620,38669,38613,38649,38660,38662,38664,38675,38670,38673,38671,38678,38681,38692,38698,38704,38713,38717,38718,38724,38726,38728,38722,38729,38748,38752,38756,38758,38760,21202,38763,38769,38777,38789,38780,38785,38778,38790,38795,38799,38800,38812,38824,38822,38819,38835,38836,38851,38854,38856,38859,38876,38893,40783,38898,31455,38902,38901,38927,38924,38968,38948,38945,38967,38973,38982,38991,38987,39019,39023,39024,39025,39028,39027,39082,39087,39089,39094,39108,39107,39110,39145,39147,39171,39177,39186,39188,39192,39201,39197,39198,39204,39200,39212,39214,39229,39230,39234,39241,39237,39248,39243,39249,39250,39244,39253,39319,39320,39333,39341,39342,39356,39391,39387,39389,39384,39377,39405,39406,39409,39410,39419,39416,39425,39439,39429,39394,39449,39467,39479,39493,39490,39488,39491,39486,39509,39501,39515,39511,39519,39522,39525,39524,39529,39531,39530,39597,39600,39612,39616,39631,39633,39635,39636,39646,39647,39650,39651,39654,39663,39659,39662,39668,39665,39671,39675,39686,39704,39706,39711,39714,39715,39717,39719,39720,39721,39722,39726,39727,39730,39748,39747,39759,39757,39758,39761,39768,39796,39827,39811,39825,39830,39831,39839,39840,39848,39860,39872,39882,39865,39878,39887,39889,39890,39907,39906,39908,39892,39905,39994,39922,39921,39920,39957,39956,39945,39955,39948,39942,39944,39954,39946,39940,39982,39963,39973,39972,39969,39984,40007,39986,40006,39998,40026,40032,40039,40054,40056,40167,40172,40176,40201,40200,40171,40195,40198,40234,40230,40367,40227,40223,40260,40213,40210,40257,40255,40254,40262,40264,40285,40286,40292,40273,40272,40281,40306,40329,40327,40363,40303,40314,40346,40356,40361,40370,40388,40385,40379,40376,40378,40390,40399,40386,40409,40403,40440,40422,40429,40431,40445,40474,40475,40478,40565,40569,40573,40577,40584,40587,40588,40594,40597,40593,40605,40613,40617,40632,40618,40621,38753,40652,40654,40655,40656,40660,40668,40670,40669,40672,40677,40680,40687,40692,40694,40695,40697,40699,40700,40701,40711,40712,30391,40725,40737,40748,40766,40778,40786,40788,40803,40799,40800,40801,40806,40807,40812,40810,40823,40818,40822,40853,40860,40864,22575,27079,36953,29796,20956,29081,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,32394,35100,37704,37512,34012,20425,28859,26161,26824,37625,26363,24389,20008,20193,20220,20224,20227,20281,20310,20370,20362,20378,20372,20429,20544,20514,20479,20510,20550,20592,20546,20628,20724,20696,20810,20836,20893,20926,20972,21013,21148,21158,21184,21211,21248,21255,21284,21362,21395,21426,21469,64014,21660,21642,21673,21759,21894,22361,22373,22444,22472,22471,64015,64016,22686,22706,22795,22867,22875,22877,22883,22948,22970,23382,23488,29999,23512,23532,23582,23718,23738,23797,23847,23891,64017,23874,23917,23992,23993,24016,24353,24372,24423,24503,24542,24669,24709,24714,24798,24789,24864,24818,24849,24887,24880,24984,25107,25254,25589,25696,25757,25806,25934,26112,26133,26171,26121,26158,26142,26148,26213,26199,26201,64018,26227,26265,26272,26290,26303,26362,26382,63785,26470,26555,26706,26560,26625,26692,26831,64019,26984,64020,27032,27106,27184,27243,27206,27251,27262,27362,27364,27606,27711,27740,27782,27759,27866,27908,28039,28015,28054,28076,28111,28152,28146,28156,28217,28252,28199,28220,28351,28552,28597,28661,28677,28679,28712,28805,28843,28943,28932,29020,28998,28999,64021,29121,29182,29361,29374,29476,64022,29559,29629,29641,29654,29667,29650,29703,29685,29734,29738,29737,29742,29794,29833,29855,29953,30063,30338,30364,30366,30363,30374,64023,30534,21167,30753,30798,30820,30842,31024,64024,64025,64026,31124,64027,31131,31441,31463,64028,31467,31646,64029,32072,32092,32183,32160,32214,32338,32583,32673,64030,33537,33634,33663,33735,33782,33864,33972,34131,34137,34155,64031,34224,64032,64033,34823,35061,35346,35383,35449,35495,35518,35551,64034,35574,35667,35711,36080,36084,36114,36214,64035,36559,64036,64037,36967,37086,64038,37141,37159,37338,37335,37342,37357,37358,37348,37349,37382,37392,37386,37434,37440,37436,37454,37465,37457,37433,37479,37543,37495,37496,37607,37591,37593,37584,64039,37589,37600,37587,37669,37665,37627,64040,37662,37631,37661,37634,37744,37719,37796,37830,37854,37880,37937,37957,37960,38290,63964,64041,38557,38575,38707,38715,38723,38733,38735,38737,38741,38999,39013,64042,64043,39207,64044,39326,39502,39641,39644,39797,39794,39823,39857,39867,39936,40304,40299,64045,40473,40657,null,null,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,65506,65508,65287,65282,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,65506,65508,65287,65282,12849,8470,8481,8757,32394,35100,37704,37512,34012,20425,28859,26161,26824,37625,26363,24389,20008,20193,20220,20224,20227,20281,20310,20370,20362,20378,20372,20429,20544,20514,20479,20510,20550,20592,20546,20628,20724,20696,20810,20836,20893,20926,20972,21013,21148,21158,21184,21211,21248,21255,21284,21362,21395,21426,21469,64014,21660,21642,21673,21759,21894,22361,22373,22444,22472,22471,64015,64016,22686,22706,22795,22867,22875,22877,22883,22948,22970,23382,23488,29999,23512,23532,23582,23718,23738,23797,23847,23891,64017,23874,23917,23992,23993,24016,24353,24372,24423,24503,24542,24669,24709,24714,24798,24789,24864,24818,24849,24887,24880,24984,25107,25254,25589,25696,25757,25806,25934,26112,26133,26171,26121,26158,26142,26148,26213,26199,26201,64018,26227,26265,26272,26290,26303,26362,26382,63785,26470,26555,26706,26560,26625,26692,26831,64019,26984,64020,27032,27106,27184,27243,27206,27251,27262,27362,27364,27606,27711,27740,27782,27759,27866,27908,28039,28015,28054,28076,28111,28152,28146,28156,28217,28252,28199,28220,28351,28552,28597,28661,28677,28679,28712,28805,28843,28943,28932,29020,28998,28999,64021,29121,29182,29361,29374,29476,64022,29559,29629,29641,29654,29667,29650,29703,29685,29734,29738,29737,29742,29794,29833,29855,29953,30063,30338,30364,30366,30363,30374,64023,30534,21167,30753,30798,30820,30842,31024,64024,64025,64026,31124,64027,31131,31441,31463,64028,31467,31646,64029,32072,32092,32183,32160,32214,32338,32583,32673,64030,33537,33634,33663,33735,33782,33864,33972,34131,34137,34155,64031,34224,64032,64033,34823,35061,35346,35383,35449,35495,35518,35551,64034,35574,35667,35711,36080,36084,36114,36214,64035,36559,64036,64037,36967,37086,64038,37141,37159,37338,37335,37342,37357,37358,37348,37349,37382,37392,37386,37434,37440,37436,37454,37465,37457,37433,37479,37543,37495,37496,37607,37591,37593,37584,64039,37589,37600,37587,37669,37665,37627,64040,37662,37631,37661,37634,37744,37719,37796,37830,37854,37880,37937,37957,37960,38290,63964,64041,38557,38575,38707,38715,38723,38733,38735,38737,38741,38999,39013,64042,64043,39207,64044,39326,39502,39641,39644,39797,39794,39823,39857,39867,39936,40304,40299,64045,40473,40657,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],jis0212:[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,728,711,184,729,733,175,731,730,65374,900,901,null,null,null,null,null,null,null,null,161,166,191,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,186,170,169,174,8482,164,8470,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,902,904,905,906,938,null,908,null,910,939,null,911,null,null,null,null,940,941,942,943,970,912,972,962,973,971,944,974,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1038,1039,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1118,1119,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,198,272,null,294,null,306,null,321,319,null,330,216,338,null,358,222,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,230,273,240,295,305,307,312,322,320,329,331,248,339,223,359,254,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,193,192,196,194,258,461,256,260,197,195,262,264,268,199,266,270,201,200,203,202,282,278,274,280,null,284,286,290,288,292,205,204,207,206,463,304,298,302,296,308,310,313,317,315,323,327,325,209,211,210,214,212,465,336,332,213,340,344,342,346,348,352,350,356,354,218,217,220,219,364,467,368,362,370,366,360,471,475,473,469,372,221,376,374,377,381,379,null,null,null,null,null,null,null,225,224,228,226,259,462,257,261,229,227,263,265,269,231,267,271,233,232,235,234,283,279,275,281,501,285,287,null,289,293,237,236,239,238,464,null,299,303,297,309,311,314,318,316,324,328,326,241,243,242,246,244,466,337,333,245,341,345,343,347,349,353,351,357,355,250,249,252,251,365,468,369,363,371,367,361,472,476,474,470,373,253,255,375,378,382,380,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,19970,19972,19973,19980,19986,19999,20003,20004,20008,20011,20014,20015,20016,20021,20032,20033,20036,20039,20049,20058,20060,20067,20072,20073,20084,20085,20089,20095,20109,20118,20119,20125,20143,20153,20163,20176,20186,20187,20192,20193,20194,20200,20207,20209,20211,20213,20221,20222,20223,20224,20226,20227,20232,20235,20236,20242,20245,20246,20247,20249,20270,20273,20320,20275,20277,20279,20281,20283,20286,20288,20290,20296,20297,20299,20300,20306,20308,20310,20312,20319,20323,20330,20332,20334,20337,20343,20344,20345,20346,20349,20350,20353,20354,20356,20357,20361,20362,20364,20366,20368,20370,20371,20372,20375,20377,20378,20382,20383,20402,20407,20409,20411,20412,20413,20414,20416,20417,20421,20422,20424,20425,20427,20428,20429,20431,20434,20444,20448,20450,20464,20466,20476,20477,20479,20480,20481,20484,20487,20490,20492,20494,20496,20499,20503,20504,20507,20508,20509,20510,20514,20519,20526,20528,20530,20531,20533,20544,20545,20546,20549,20550,20554,20556,20558,20561,20562,20563,20567,20569,20575,20576,20578,20579,20582,20583,20586,20589,20592,20593,20539,20609,20611,20612,20614,20618,20622,20623,20624,20626,20627,20628,20630,20635,20636,20638,20639,20640,20641,20642,20650,20655,20656,20665,20666,20669,20672,20675,20676,20679,20684,20686,20688,20691,20692,20696,20700,20701,20703,20706,20708,20710,20712,20713,20719,20721,20726,20730,20734,20739,20742,20743,20744,20747,20748,20749,20750,20722,20752,20759,20761,20763,20764,20765,20766,20771,20775,20776,20780,20781,20783,20785,20787,20788,20789,20792,20793,20802,20810,20815,20819,20821,20823,20824,20831,20836,20838,20862,20867,20868,20875,20878,20888,20893,20897,20899,20909,20920,20922,20924,20926,20927,20930,20936,20943,20945,20946,20947,20949,20952,20958,20962,20965,20974,20978,20979,20980,20983,20993,20994,20997,21010,21011,21013,21014,21016,21026,21032,21041,21042,21045,21052,21061,21065,21077,21079,21080,21082,21084,21087,21088,21089,21094,21102,21111,21112,21113,21120,21122,21125,21130,21132,21139,21141,21142,21143,21144,21146,21148,21156,21157,21158,21159,21167,21168,21174,21175,21176,21178,21179,21181,21184,21188,21190,21192,21196,21199,21201,21204,21206,21211,21212,21217,21221,21224,21225,21226,21228,21232,21233,21236,21238,21239,21248,21251,21258,21259,21260,21265,21267,21272,21275,21276,21278,21279,21285,21287,21288,21289,21291,21292,21293,21296,21298,21301,21308,21309,21310,21314,21324,21323,21337,21339,21345,21347,21349,21356,21357,21362,21369,21374,21379,21383,21384,21390,21395,21396,21401,21405,21409,21412,21418,21419,21423,21426,21428,21429,21431,21432,21434,21437,21440,21445,21455,21458,21459,21461,21466,21469,21470,21472,21478,21479,21493,21506,21523,21530,21537,21543,21544,21546,21551,21553,21556,21557,21571,21572,21575,21581,21583,21598,21602,21604,21606,21607,21609,21611,21613,21614,21620,21631,21633,21635,21637,21640,21641,21645,21649,21653,21654,21660,21663,21665,21670,21671,21673,21674,21677,21678,21681,21687,21689,21690,21691,21695,21702,21706,21709,21710,21728,21738,21740,21743,21750,21756,21758,21759,21760,21761,21765,21768,21769,21772,21773,21774,21781,21802,21803,21810,21813,21814,21819,21820,21821,21825,21831,21833,21834,21837,21840,21841,21848,21850,21851,21854,21856,21857,21860,21862,21887,21889,21890,21894,21896,21902,21903,21905,21906,21907,21908,21911,21923,21924,21933,21938,21951,21953,21955,21958,21961,21963,21964,21966,21969,21970,21971,21975,21976,21979,21982,21986,21993,22006,22015,22021,22024,22026,22029,22030,22031,22032,22033,22034,22041,22060,22064,22067,22069,22071,22073,22075,22076,22077,22079,22080,22081,22083,22084,22086,22089,22091,22093,22095,22100,22110,22112,22113,22114,22115,22118,22121,22125,22127,22129,22130,22133,22148,22149,22152,22155,22156,22165,22169,22170,22173,22174,22175,22182,22183,22184,22185,22187,22188,22189,22193,22195,22199,22206,22213,22217,22218,22219,22223,22224,22220,22221,22233,22236,22237,22239,22241,22244,22245,22246,22247,22248,22257,22251,22253,22262,22263,22273,22274,22279,22282,22284,22289,22293,22298,22299,22301,22304,22306,22307,22308,22309,22313,22314,22316,22318,22319,22323,22324,22333,22334,22335,22341,22342,22348,22349,22354,22370,22373,22375,22376,22379,22381,22382,22383,22384,22385,22387,22388,22389,22391,22393,22394,22395,22396,22398,22401,22403,22412,22420,22423,22425,22426,22428,22429,22430,22431,22433,22421,22439,22440,22441,22444,22456,22461,22471,22472,22476,22479,22485,22493,22494,22500,22502,22503,22505,22509,22512,22517,22518,22520,22525,22526,22527,22531,22532,22536,22537,22497,22540,22541,22555,22558,22559,22560,22566,22567,22573,22578,22585,22591,22601,22604,22605,22607,22608,22613,22623,22625,22628,22631,22632,22648,22652,22655,22656,22657,22663,22664,22665,22666,22668,22669,22671,22672,22676,22678,22685,22688,22689,22690,22694,22697,22705,22706,22724,22716,22722,22728,22733,22734,22736,22738,22740,22742,22746,22749,22753,22754,22761,22771,22789,22790,22795,22796,22802,22803,22804,34369,22813,22817,22819,22820,22824,22831,22832,22835,22837,22838,22847,22851,22854,22866,22867,22873,22875,22877,22878,22879,22881,22883,22891,22893,22895,22898,22901,22902,22905,22907,22908,22923,22924,22926,22930,22933,22935,22943,22948,22951,22957,22958,22959,22960,22963,22967,22970,22972,22977,22979,22980,22984,22986,22989,22994,23005,23006,23007,23011,23012,23015,23022,23023,23025,23026,23028,23031,23040,23044,23052,23053,23054,23058,23059,23070,23075,23076,23079,23080,23082,23085,23088,23108,23109,23111,23112,23116,23120,23125,23134,23139,23141,23143,23149,23159,23162,23163,23166,23179,23184,23187,23190,23193,23196,23198,23199,23200,23202,23207,23212,23217,23218,23219,23221,23224,23226,23227,23231,23236,23238,23240,23247,23258,23260,23264,23269,23274,23278,23285,23286,23293,23296,23297,23304,23319,23348,23321,23323,23325,23329,23333,23341,23352,23361,23371,23372,23378,23382,23390,23400,23406,23407,23420,23421,23422,23423,23425,23428,23430,23434,23438,23440,23441,23443,23444,23446,23464,23465,23468,23469,23471,23473,23474,23479,23482,23484,23488,23489,23501,23503,23510,23511,23512,23513,23514,23520,23535,23537,23540,23549,23564,23575,23582,23583,23587,23590,23593,23595,23596,23598,23600,23602,23605,23606,23641,23642,23644,23650,23651,23655,23656,23657,23661,23664,23668,23669,23674,23675,23676,23677,23687,23688,23690,23695,23698,23709,23711,23712,23714,23715,23718,23722,23730,23732,23733,23738,23753,23755,23762,23773,23767,23790,23793,23794,23796,23809,23814,23821,23826,23851,23843,23844,23846,23847,23857,23860,23865,23869,23871,23874,23875,23878,23880,23893,23889,23897,23882,23903,23904,23905,23906,23908,23914,23917,23920,23929,23930,23934,23935,23937,23939,23944,23946,23954,23955,23956,23957,23961,23963,23967,23968,23975,23979,23984,23988,23992,23993,24003,24007,24011,24016,24014,24024,24025,24032,24036,24041,24056,24057,24064,24071,24077,24082,24084,24085,24088,24095,24096,24110,24104,24114,24117,24126,24139,24144,24137,24145,24150,24152,24155,24156,24158,24168,24170,24171,24172,24173,24174,24176,24192,24203,24206,24226,24228,24229,24232,24234,24236,24241,24243,24253,24254,24255,24262,24268,24267,24270,24273,24274,24276,24277,24284,24286,24293,24299,24322,24326,24327,24328,24334,24345,24348,24349,24353,24354,24355,24356,24360,24363,24364,24366,24368,24372,24374,24379,24381,24383,24384,24388,24389,24391,24397,24400,24404,24408,24411,24416,24419,24420,24423,24431,24434,24436,24437,24440,24442,24445,24446,24457,24461,24463,24470,24476,24477,24482,24487,24491,24484,24492,24495,24496,24497,24504,24516,24519,24520,24521,24523,24528,24529,24530,24531,24532,24542,24545,24546,24552,24553,24554,24556,24557,24558,24559,24562,24563,24566,24570,24572,24583,24586,24589,24595,24596,24599,24600,24602,24607,24612,24621,24627,24629,24640,24647,24648,24649,24652,24657,24660,24662,24663,24669,24673,24679,24689,24702,24703,24706,24710,24712,24714,24718,24721,24723,24725,24728,24733,24734,24738,24740,24741,24744,24752,24753,24759,24763,24766,24770,24772,24776,24777,24778,24779,24782,24783,24788,24789,24793,24795,24797,24798,24802,24805,24818,24821,24824,24828,24829,24834,24839,24842,24844,24848,24849,24850,24851,24852,24854,24855,24857,24860,24862,24866,24874,24875,24880,24881,24885,24886,24887,24889,24897,24901,24902,24905,24926,24928,24940,24946,24952,24955,24956,24959,24960,24961,24963,24964,24971,24973,24978,24979,24983,24984,24988,24989,24991,24992,24997,25e3,25002,25005,25016,25017,25020,25024,25025,25026,25038,25039,25045,25052,25053,25054,25055,25057,25058,25063,25065,25061,25068,25069,25071,25089,25091,25092,25095,25107,25109,25116,25120,25122,25123,25127,25129,25131,25145,25149,25154,25155,25156,25158,25164,25168,25169,25170,25172,25174,25178,25180,25188,25197,25199,25203,25210,25213,25229,25230,25231,25232,25254,25256,25267,25270,25271,25274,25278,25279,25284,25294,25301,25302,25306,25322,25330,25332,25340,25341,25347,25348,25354,25355,25357,25360,25363,25366,25368,25385,25386,25389,25397,25398,25401,25404,25409,25410,25411,25412,25414,25418,25419,25422,25426,25427,25428,25432,25435,25445,25446,25452,25453,25457,25460,25461,25464,25468,25469,25471,25474,25476,25479,25482,25488,25492,25493,25497,25498,25502,25508,25510,25517,25518,25519,25533,25537,25541,25544,25550,25553,25555,25556,25557,25564,25568,25573,25578,25580,25586,25587,25589,25592,25593,25609,25610,25616,25618,25620,25624,25630,25632,25634,25636,25637,25641,25642,25647,25648,25653,25661,25663,25675,25679,25681,25682,25683,25684,25690,25691,25692,25693,25695,25696,25697,25699,25709,25715,25716,25723,25725,25733,25735,25743,25744,25745,25752,25753,25755,25757,25759,25761,25763,25766,25768,25772,25779,25789,25790,25791,25796,25801,25802,25803,25804,25806,25808,25809,25813,25815,25828,25829,25833,25834,25837,25840,25845,25847,25851,25855,25857,25860,25864,25865,25866,25871,25875,25876,25878,25881,25883,25886,25887,25890,25894,25897,25902,25905,25914,25916,25917,25923,25927,25929,25936,25938,25940,25951,25952,25959,25963,25978,25981,25985,25989,25994,26002,26005,26008,26013,26016,26019,26022,26030,26034,26035,26036,26047,26050,26056,26057,26062,26064,26068,26070,26072,26079,26096,26098,26100,26101,26105,26110,26111,26112,26116,26120,26121,26125,26129,26130,26133,26134,26141,26142,26145,26146,26147,26148,26150,26153,26154,26155,26156,26158,26160,26161,26163,26169,26167,26176,26181,26182,26186,26188,26193,26190,26199,26200,26201,26203,26204,26208,26209,26363,26218,26219,26220,26238,26227,26229,26239,26231,26232,26233,26235,26240,26236,26251,26252,26253,26256,26258,26265,26266,26267,26268,26271,26272,26276,26285,26289,26290,26293,26299,26303,26304,26306,26307,26312,26316,26318,26319,26324,26331,26335,26344,26347,26348,26350,26362,26373,26375,26382,26387,26393,26396,26400,26402,26419,26430,26437,26439,26440,26444,26452,26453,26461,26470,26476,26478,26484,26486,26491,26497,26500,26510,26511,26513,26515,26518,26520,26521,26523,26544,26545,26546,26549,26555,26556,26557,26617,26560,26562,26563,26565,26568,26569,26578,26583,26585,26588,26593,26598,26608,26610,26614,26615,26706,26644,26649,26653,26655,26664,26663,26668,26669,26671,26672,26673,26675,26683,26687,26692,26693,26698,26700,26709,26711,26712,26715,26731,26734,26735,26736,26737,26738,26741,26745,26746,26747,26748,26754,26756,26758,26760,26774,26776,26778,26780,26785,26787,26789,26793,26794,26798,26802,26811,26821,26824,26828,26831,26832,26833,26835,26838,26841,26844,26845,26853,26856,26858,26859,26860,26861,26864,26865,26869,26870,26875,26876,26877,26886,26889,26890,26896,26897,26899,26902,26903,26929,26931,26933,26936,26939,26946,26949,26953,26958,26967,26971,26979,26980,26981,26982,26984,26985,26988,26992,26993,26994,27002,27003,27007,27008,27021,27026,27030,27032,27041,27045,27046,27048,27051,27053,27055,27063,27064,27066,27068,27077,27080,27089,27094,27095,27106,27109,27118,27119,27121,27123,27125,27134,27136,27137,27139,27151,27153,27157,27162,27165,27168,27172,27176,27184,27186,27188,27191,27195,27198,27199,27205,27206,27209,27210,27214,27216,27217,27218,27221,27222,27227,27236,27239,27242,27249,27251,27262,27265,27267,27270,27271,27273,27275,27281,27291,27293,27294,27295,27301,27307,27311,27312,27313,27316,27325,27326,27327,27334,27337,27336,27340,27344,27348,27349,27350,27356,27357,27364,27367,27372,27376,27377,27378,27388,27389,27394,27395,27398,27399,27401,27407,27408,27409,27415,27419,27422,27428,27432,27435,27436,27439,27445,27446,27451,27455,27462,27466,27469,27474,27478,27480,27485,27488,27495,27499,27502,27504,27509,27517,27518,27522,27525,27543,27547,27551,27552,27554,27555,27560,27561,27564,27565,27566,27568,27576,27577,27581,27582,27587,27588,27593,27596,27606,27610,27617,27619,27622,27623,27630,27633,27639,27641,27647,27650,27652,27653,27657,27661,27662,27664,27666,27673,27679,27686,27687,27688,27692,27694,27699,27701,27702,27706,27707,27711,27722,27723,27725,27727,27730,27732,27737,27739,27740,27755,27757,27759,27764,27766,27768,27769,27771,27781,27782,27783,27785,27796,27797,27799,27800,27804,27807,27824,27826,27828,27842,27846,27853,27855,27856,27857,27858,27860,27862,27866,27868,27872,27879,27881,27883,27884,27886,27890,27892,27908,27911,27914,27918,27919,27921,27923,27930,27942,27943,27944,27751,27950,27951,27953,27961,27964,27967,27991,27998,27999,28001,28005,28007,28015,28016,28028,28034,28039,28049,28050,28052,28054,28055,28056,28074,28076,28084,28087,28089,28093,28095,28100,28104,28106,28110,28111,28118,28123,28125,28127,28128,28130,28133,28137,28143,28144,28148,28150,28156,28160,28164,28190,28194,28199,28210,28214,28217,28219,28220,28228,28229,28232,28233,28235,28239,28241,28242,28243,28244,28247,28252,28253,28254,28258,28259,28264,28275,28283,28285,28301,28307,28313,28320,28327,28333,28334,28337,28339,28347,28351,28352,28353,28355,28359,28360,28362,28365,28366,28367,28395,28397,28398,28409,28411,28413,28420,28424,28426,28428,28429,28438,28440,28442,28443,28454,28457,28458,28463,28464,28467,28470,28475,28476,28461,28495,28497,28498,28499,28503,28505,28506,28509,28510,28513,28514,28520,28524,28541,28542,28547,28551,28552,28555,28556,28557,28560,28562,28563,28564,28566,28570,28575,28576,28581,28582,28583,28584,28590,28591,28592,28597,28598,28604,28613,28615,28616,28618,28634,28638,28648,28649,28656,28661,28665,28668,28669,28672,28677,28678,28679,28685,28695,28704,28707,28719,28724,28727,28729,28732,28739,28740,28744,28745,28746,28747,28756,28757,28765,28766,28750,28772,28773,28780,28782,28789,28790,28798,28801,28805,28806,28820,28821,28822,28823,28824,28827,28836,28843,28848,28849,28852,28855,28874,28881,28883,28884,28885,28886,28888,28892,28900,28922,28931,28932,28933,28934,28935,28939,28940,28943,28958,28960,28971,28973,28975,28976,28977,28984,28993,28997,28998,28999,29002,29003,29008,29010,29015,29018,29020,29022,29024,29032,29049,29056,29061,29063,29068,29074,29082,29083,29088,29090,29103,29104,29106,29107,29114,29119,29120,29121,29124,29131,29132,29139,29142,29145,29146,29148,29176,29182,29184,29191,29192,29193,29203,29207,29210,29213,29215,29220,29227,29231,29236,29240,29241,29249,29250,29251,29253,29262,29263,29264,29267,29269,29270,29274,29276,29278,29280,29283,29288,29291,29294,29295,29297,29303,29304,29307,29308,29311,29316,29321,29325,29326,29331,29339,29352,29357,29358,29361,29364,29374,29377,29383,29385,29388,29397,29398,29400,29407,29413,29427,29428,29434,29435,29438,29442,29444,29445,29447,29451,29453,29458,29459,29464,29465,29470,29474,29476,29479,29480,29484,29489,29490,29493,29498,29499,29501,29507,29517,29520,29522,29526,29528,29533,29534,29535,29536,29542,29543,29545,29547,29548,29550,29551,29553,29559,29561,29564,29568,29569,29571,29573,29574,29582,29584,29587,29589,29591,29592,29596,29598,29599,29600,29602,29605,29606,29610,29611,29613,29621,29623,29625,29628,29629,29631,29637,29638,29641,29643,29644,29647,29650,29651,29654,29657,29661,29665,29667,29670,29671,29673,29684,29685,29687,29689,29690,29691,29693,29695,29696,29697,29700,29703,29706,29713,29722,29723,29732,29734,29736,29737,29738,29739,29740,29741,29742,29743,29744,29745,29753,29760,29763,29764,29766,29767,29771,29773,29777,29778,29783,29789,29794,29798,29799,29800,29803,29805,29806,29809,29810,29824,29825,29829,29830,29831,29833,29839,29840,29841,29842,29848,29849,29850,29852,29855,29856,29857,29859,29862,29864,29865,29866,29867,29870,29871,29873,29874,29877,29881,29883,29887,29896,29897,29900,29904,29907,29912,29914,29915,29918,29919,29924,29928,29930,29931,29935,29940,29946,29947,29948,29951,29958,29970,29974,29975,29984,29985,29988,29991,29993,29994,29999,30006,30009,30013,30014,30015,30016,30019,30023,30024,30030,30032,30034,30039,30046,30047,30049,30063,30065,30073,30074,30075,30076,30077,30078,30081,30085,30096,30098,30099,30101,30105,30108,30114,30116,30132,30138,30143,30144,30145,30148,30150,30156,30158,30159,30167,30172,30175,30176,30177,30180,30183,30188,30190,30191,30193,30201,30208,30210,30211,30212,30215,30216,30218,30220,30223,30226,30227,30229,30230,30233,30235,30236,30237,30238,30243,30245,30246,30249,30253,30258,30259,30261,30264,30265,30266,30268,30282,30272,30273,30275,30276,30277,30281,30283,30293,30297,30303,30308,30309,30317,30318,30319,30321,30324,30337,30341,30348,30349,30357,30363,30364,30365,30367,30368,30370,30371,30372,30373,30374,30375,30376,30378,30381,30397,30401,30405,30409,30411,30412,30414,30420,30425,30432,30438,30440,30444,30448,30449,30454,30457,30460,30464,30470,30474,30478,30482,30484,30485,30487,30489,30490,30492,30498,30504,30509,30510,30511,30516,30517,30518,30521,30525,30526,30530,30533,30534,30538,30541,30542,30543,30546,30550,30551,30556,30558,30559,30560,30562,30564,30567,30570,30572,30576,30578,30579,30580,30586,30589,30592,30596,30604,30605,30612,30613,30614,30618,30623,30626,30631,30634,30638,30639,30641,30645,30654,30659,30665,30673,30674,30677,30681,30686,30687,30688,30692,30694,30698,30700,30704,30705,30708,30712,30715,30725,30726,30729,30733,30734,30737,30749,30753,30754,30755,30765,30766,30768,30773,30775,30787,30788,30791,30792,30796,30798,30802,30812,30814,30816,30817,30819,30820,30824,30826,30830,30842,30846,30858,30863,30868,30872,30881,30877,30878,30879,30884,30888,30892,30893,30896,30897,30898,30899,30907,30909,30911,30919,30920,30921,30924,30926,30930,30931,30933,30934,30948,30939,30943,30944,30945,30950,30954,30962,30963,30976,30966,30967,30970,30971,30975,30982,30988,30992,31002,31004,31006,31007,31008,31013,31015,31017,31021,31025,31028,31029,31035,31037,31039,31044,31045,31046,31050,31051,31055,31057,31060,31064,31067,31068,31079,31081,31083,31090,31097,31099,31100,31102,31115,31116,31121,31123,31124,31125,31126,31128,31131,31132,31137,31144,31145,31147,31151,31153,31156,31160,31163,31170,31172,31175,31176,31178,31183,31188,31190,31194,31197,31198,31200,31202,31205,31210,31211,31213,31217,31224,31228,31234,31235,31239,31241,31242,31244,31249,31253,31259,31262,31265,31271,31275,31277,31279,31280,31284,31285,31288,31289,31290,31300,31301,31303,31304,31308,31317,31318,31321,31324,31325,31327,31328,31333,31335,31338,31341,31349,31352,31358,31360,31362,31365,31366,31370,31371,31376,31377,31380,31390,31392,31395,31404,31411,31413,31417,31419,31420,31430,31433,31436,31438,31441,31451,31464,31465,31467,31468,31473,31476,31483,31485,31486,31495,31508,31519,31523,31527,31529,31530,31531,31533,31534,31535,31536,31537,31540,31549,31551,31552,31553,31559,31566,31573,31584,31588,31590,31593,31594,31597,31599,31602,31603,31607,31620,31625,31630,31632,31633,31638,31643,31646,31648,31653,31660,31663,31664,31666,31669,31670,31674,31675,31676,31677,31682,31685,31688,31690,31700,31702,31703,31705,31706,31707,31720,31722,31730,31732,31733,31736,31737,31738,31740,31742,31745,31746,31747,31748,31750,31753,31755,31756,31758,31759,31769,31771,31776,31781,31782,31784,31788,31793,31795,31796,31798,31801,31802,31814,31818,31829,31825,31826,31827,31833,31834,31835,31836,31837,31838,31841,31843,31847,31849,31853,31854,31856,31858,31865,31868,31869,31878,31879,31887,31892,31902,31904,31910,31920,31926,31927,31930,31931,31932,31935,31940,31943,31944,31945,31949,31951,31955,31956,31957,31959,31961,31962,31965,31974,31977,31979,31989,32003,32007,32008,32009,32015,32017,32018,32019,32022,32029,32030,32035,32038,32042,32045,32049,32060,32061,32062,32064,32065,32071,32072,32077,32081,32083,32087,32089,32090,32092,32093,32101,32103,32106,32112,32120,32122,32123,32127,32129,32130,32131,32133,32134,32136,32139,32140,32141,32145,32150,32151,32157,32158,32166,32167,32170,32179,32182,32183,32185,32194,32195,32196,32197,32198,32204,32205,32206,32215,32217,32256,32226,32229,32230,32234,32235,32237,32241,32245,32246,32249,32250,32264,32272,32273,32277,32279,32284,32285,32288,32295,32296,32300,32301,32303,32307,32310,32319,32324,32325,32327,32334,32336,32338,32344,32351,32353,32354,32357,32363,32366,32367,32371,32376,32382,32385,32390,32391,32394,32397,32401,32405,32408,32410,32413,32414,32572,32571,32573,32574,32575,32579,32580,32583,32591,32594,32595,32603,32604,32605,32609,32611,32612,32613,32614,32621,32625,32637,32638,32639,32640,32651,32653,32655,32656,32657,32662,32663,32668,32673,32674,32678,32682,32685,32692,32700,32703,32704,32707,32712,32718,32719,32731,32735,32739,32741,32744,32748,32750,32751,32754,32762,32765,32766,32767,32775,32776,32778,32781,32782,32783,32785,32787,32788,32790,32797,32798,32799,32800,32804,32806,32812,32814,32816,32820,32821,32823,32825,32826,32828,32830,32832,32836,32864,32868,32870,32877,32881,32885,32897,32904,32910,32924,32926,32934,32935,32939,32952,32953,32968,32973,32975,32978,32980,32981,32983,32984,32992,33005,33006,33008,33010,33011,33014,33017,33018,33022,33027,33035,33046,33047,33048,33052,33054,33056,33060,33063,33068,33072,33077,33082,33084,33093,33095,33098,33100,33106,33111,33120,33121,33127,33128,33129,33133,33135,33143,33153,33168,33156,33157,33158,33163,33166,33174,33176,33179,33182,33186,33198,33202,33204,33211,33227,33219,33221,33226,33230,33231,33237,33239,33243,33245,33246,33249,33252,33259,33260,33264,33265,33266,33269,33270,33272,33273,33277,33279,33280,33283,33295,33299,33300,33305,33306,33309,33313,33314,33320,33330,33332,33338,33347,33348,33349,33350,33355,33358,33359,33361,33366,33372,33376,33379,33383,33389,33396,33403,33405,33407,33408,33409,33411,33412,33415,33417,33418,33422,33425,33428,33430,33432,33434,33435,33440,33441,33443,33444,33447,33448,33449,33450,33454,33456,33458,33460,33463,33466,33468,33470,33471,33478,33488,33493,33498,33504,33506,33508,33512,33514,33517,33519,33526,33527,33533,33534,33536,33537,33543,33544,33546,33547,33620,33563,33565,33566,33567,33569,33570,33580,33581,33582,33584,33587,33591,33594,33596,33597,33602,33603,33604,33607,33613,33614,33617,33621,33622,33623,33648,33656,33661,33663,33664,33666,33668,33670,33677,33682,33684,33685,33688,33689,33691,33692,33693,33702,33703,33705,33708,33726,33727,33728,33735,33737,33743,33744,33745,33748,33757,33619,33768,33770,33782,33784,33785,33788,33793,33798,33802,33807,33809,33813,33817,33709,33839,33849,33861,33863,33864,33866,33869,33871,33873,33874,33878,33880,33881,33882,33884,33888,33892,33893,33895,33898,33904,33907,33908,33910,33912,33916,33917,33921,33925,33938,33939,33941,33950,33958,33960,33961,33962,33967,33969,33972,33978,33981,33982,33984,33986,33991,33992,33996,33999,34003,34012,34023,34026,34031,34032,34033,34034,34039,34098,34042,34043,34045,34050,34051,34055,34060,34062,34064,34076,34078,34082,34083,34084,34085,34087,34090,34091,34095,34099,34100,34102,34111,34118,34127,34128,34129,34130,34131,34134,34137,34140,34141,34142,34143,34144,34145,34146,34148,34155,34159,34169,34170,34171,34173,34175,34177,34181,34182,34185,34187,34188,34191,34195,34200,34205,34207,34208,34210,34213,34215,34228,34230,34231,34232,34236,34237,34238,34239,34242,34247,34250,34251,34254,34221,34264,34266,34271,34272,34278,34280,34285,34291,34294,34300,34303,34304,34308,34309,34317,34318,34320,34321,34322,34328,34329,34331,34334,34337,34343,34345,34358,34360,34362,34364,34365,34368,34370,34374,34386,34387,34390,34391,34392,34393,34397,34400,34401,34402,34403,34404,34409,34412,34415,34421,34422,34423,34426,34445,34449,34454,34456,34458,34460,34465,34470,34471,34472,34477,34481,34483,34484,34485,34487,34488,34489,34495,34496,34497,34499,34501,34513,34514,34517,34519,34522,34524,34528,34531,34533,34535,34440,34554,34556,34557,34564,34565,34567,34571,34574,34575,34576,34579,34580,34585,34590,34591,34593,34595,34600,34606,34607,34609,34610,34617,34618,34620,34621,34622,34624,34627,34629,34637,34648,34653,34657,34660,34661,34671,34673,34674,34683,34691,34692,34693,34694,34695,34696,34697,34699,34700,34704,34707,34709,34711,34712,34713,34718,34720,34723,34727,34732,34733,34734,34737,34741,34750,34751,34753,34760,34761,34762,34766,34773,34774,34777,34778,34780,34783,34786,34787,34788,34794,34795,34797,34801,34803,34808,34810,34815,34817,34819,34822,34825,34826,34827,34832,34841,34834,34835,34836,34840,34842,34843,34844,34846,34847,34856,34861,34862,34864,34866,34869,34874,34876,34881,34883,34885,34888,34889,34890,34891,34894,34897,34901,34902,34904,34906,34908,34911,34912,34916,34921,34929,34937,34939,34944,34968,34970,34971,34972,34975,34976,34984,34986,35002,35005,35006,35008,35018,35019,35020,35021,35022,35025,35026,35027,35035,35038,35047,35055,35056,35057,35061,35063,35073,35078,35085,35086,35087,35093,35094,35096,35097,35098,35100,35104,35110,35111,35112,35120,35121,35122,35125,35129,35130,35134,35136,35138,35141,35142,35145,35151,35154,35159,35162,35163,35164,35169,35170,35171,35179,35182,35184,35187,35189,35194,35195,35196,35197,35209,35213,35216,35220,35221,35227,35228,35231,35232,35237,35248,35252,35253,35254,35255,35260,35284,35285,35286,35287,35288,35301,35305,35307,35309,35313,35315,35318,35321,35325,35327,35332,35333,35335,35343,35345,35346,35348,35349,35358,35360,35362,35364,35366,35371,35372,35375,35381,35383,35389,35390,35392,35395,35397,35399,35401,35405,35406,35411,35414,35415,35416,35420,35421,35425,35429,35431,35445,35446,35447,35449,35450,35451,35454,35455,35456,35459,35462,35467,35471,35472,35474,35478,35479,35481,35487,35495,35497,35502,35503,35507,35510,35511,35515,35518,35523,35526,35528,35529,35530,35537,35539,35540,35541,35543,35549,35551,35564,35568,35572,35573,35574,35580,35583,35589,35590,35595,35601,35612,35614,35615,35594,35629,35632,35639,35644,35650,35651,35652,35653,35654,35656,35666,35667,35668,35673,35661,35678,35683,35693,35702,35704,35705,35708,35710,35713,35716,35717,35723,35725,35727,35732,35733,35740,35742,35743,35896,35897,35901,35902,35909,35911,35913,35915,35919,35921,35923,35924,35927,35928,35931,35933,35929,35939,35940,35942,35944,35945,35949,35955,35957,35958,35963,35966,35974,35975,35979,35984,35986,35987,35993,35995,35996,36004,36025,36026,36037,36038,36041,36043,36047,36054,36053,36057,36061,36065,36072,36076,36079,36080,36082,36085,36087,36088,36094,36095,36097,36099,36105,36114,36119,36123,36197,36201,36204,36206,36223,36226,36228,36232,36237,36240,36241,36245,36254,36255,36256,36262,36267,36268,36271,36274,36277,36279,36281,36283,36288,36293,36294,36295,36296,36298,36302,36305,36308,36309,36311,36313,36324,36325,36327,36332,36336,36284,36337,36338,36340,36349,36353,36356,36357,36358,36363,36369,36372,36374,36384,36385,36386,36387,36390,36391,36401,36403,36406,36407,36408,36409,36413,36416,36417,36427,36429,36430,36431,36436,36443,36444,36445,36446,36449,36450,36457,36460,36461,36463,36464,36465,36473,36474,36475,36482,36483,36489,36496,36498,36501,36506,36507,36509,36510,36514,36519,36521,36525,36526,36531,36533,36538,36539,36544,36545,36547,36548,36551,36559,36561,36564,36572,36584,36590,36592,36593,36599,36601,36602,36589,36608,36610,36615,36616,36623,36624,36630,36631,36632,36638,36640,36641,36643,36645,36647,36648,36652,36653,36654,36660,36661,36662,36663,36666,36672,36673,36675,36679,36687,36689,36690,36691,36692,36693,36696,36701,36702,36709,36765,36768,36769,36772,36773,36774,36789,36790,36792,36798,36800,36801,36806,36810,36811,36813,36816,36818,36819,36821,36832,36835,36836,36840,36846,36849,36853,36854,36859,36862,36866,36868,36872,36876,36888,36891,36904,36905,36911,36906,36908,36909,36915,36916,36919,36927,36931,36932,36940,36955,36957,36962,36966,36967,36972,36976,36980,36985,36997,37e3,37003,37004,37006,37008,37013,37015,37016,37017,37019,37024,37025,37026,37029,37040,37042,37043,37044,37046,37053,37068,37054,37059,37060,37061,37063,37064,37077,37079,37080,37081,37084,37085,37087,37093,37074,37110,37099,37103,37104,37108,37118,37119,37120,37124,37125,37126,37128,37133,37136,37140,37142,37143,37144,37146,37148,37150,37152,37157,37154,37155,37159,37161,37166,37167,37169,37172,37174,37175,37177,37178,37180,37181,37187,37191,37192,37199,37203,37207,37209,37210,37211,37217,37220,37223,37229,37236,37241,37242,37243,37249,37251,37253,37254,37258,37262,37265,37267,37268,37269,37272,37278,37281,37286,37288,37292,37293,37294,37296,37297,37298,37299,37302,37307,37308,37309,37311,37314,37315,37317,37331,37332,37335,37337,37338,37342,37348,37349,37353,37354,37356,37357,37358,37359,37360,37361,37367,37369,37371,37373,37376,37377,37380,37381,37382,37383,37385,37386,37388,37392,37394,37395,37398,37400,37404,37405,37411,37412,37413,37414,37416,37422,37423,37424,37427,37429,37430,37432,37433,37434,37436,37438,37440,37442,37443,37446,37447,37450,37453,37454,37455,37457,37464,37465,37468,37469,37472,37473,37477,37479,37480,37481,37486,37487,37488,37493,37494,37495,37496,37497,37499,37500,37501,37503,37512,37513,37514,37517,37518,37522,37527,37529,37535,37536,37540,37541,37543,37544,37547,37551,37554,37558,37560,37562,37563,37564,37565,37567,37568,37569,37570,37571,37573,37574,37575,37576,37579,37580,37581,37582,37584,37587,37589,37591,37592,37593,37596,37597,37599,37600,37601,37603,37605,37607,37608,37612,37614,37616,37625,37627,37631,37632,37634,37640,37645,37649,37652,37653,37660,37661,37662,37663,37665,37668,37669,37671,37673,37674,37683,37684,37686,37687,37703,37704,37705,37712,37713,37714,37717,37719,37720,37722,37726,37732,37733,37735,37737,37738,37741,37743,37744,37745,37747,37748,37750,37754,37757,37759,37760,37761,37762,37768,37770,37771,37773,37775,37778,37781,37784,37787,37790,37793,37795,37796,37798,37800,37803,37812,37813,37814,37818,37801,37825,37828,37829,37830,37831,37833,37834,37835,37836,37837,37843,37849,37852,37854,37855,37858,37862,37863,37881,37879,37880,37882,37883,37885,37889,37890,37892,37896,37897,37901,37902,37903,37909,37910,37911,37919,37934,37935,37937,37938,37939,37940,37947,37951,37949,37955,37957,37960,37962,37964,37973,37977,37980,37983,37985,37987,37992,37995,37997,37998,37999,38001,38002,38020,38019,38264,38265,38270,38276,38280,38284,38285,38286,38301,38302,38303,38305,38310,38313,38315,38316,38324,38326,38330,38333,38335,38342,38344,38345,38347,38352,38353,38354,38355,38361,38362,38365,38366,38367,38368,38372,38374,38429,38430,38434,38436,38437,38438,38444,38449,38451,38455,38456,38457,38458,38460,38461,38465,38482,38484,38486,38487,38488,38497,38510,38516,38523,38524,38526,38527,38529,38530,38531,38532,38537,38545,38550,38554,38557,38559,38564,38565,38566,38569,38574,38575,38579,38586,38602,38610,23986,38616,38618,38621,38622,38623,38633,38639,38641,38650,38658,38659,38661,38665,38682,38683,38685,38689,38690,38691,38696,38705,38707,38721,38723,38730,38734,38735,38741,38743,38744,38746,38747,38755,38759,38762,38766,38771,38774,38775,38776,38779,38781,38783,38784,38793,38805,38806,38807,38809,38810,38814,38815,38818,38828,38830,38833,38834,38837,38838,38840,38841,38842,38844,38846,38847,38849,38852,38853,38855,38857,38858,38860,38861,38862,38864,38865,38868,38871,38872,38873,38877,38878,38880,38875,38881,38884,38895,38897,38900,38903,38904,38906,38919,38922,38937,38925,38926,38932,38934,38940,38942,38944,38947,38950,38955,38958,38959,38960,38962,38963,38965,38949,38974,38980,38983,38986,38993,38994,38995,38998,38999,39001,39002,39010,39011,39013,39014,39018,39020,39083,39085,39086,39088,39092,39095,39096,39098,39099,39103,39106,39109,39112,39116,39137,39139,39141,39142,39143,39146,39155,39158,39170,39175,39176,39185,39189,39190,39191,39194,39195,39196,39199,39202,39206,39207,39211,39217,39218,39219,39220,39221,39225,39226,39227,39228,39232,39233,39238,39239,39240,39245,39246,39252,39256,39257,39259,39260,39262,39263,39264,39323,39325,39327,39334,39344,39345,39346,39349,39353,39354,39357,39359,39363,39369,39379,39380,39385,39386,39388,39390,39399,39402,39403,39404,39408,39412,39413,39417,39421,39422,39426,39427,39428,39435,39436,39440,39441,39446,39454,39456,39458,39459,39460,39463,39469,39470,39475,39477,39478,39480,39495,39489,39492,39498,39499,39500,39502,39505,39508,39510,39517,39594,39596,39598,39599,39602,39604,39605,39606,39609,39611,39614,39615,39617,39619,39622,39624,39630,39632,39634,39637,39638,39639,39643,39644,39648,39652,39653,39655,39657,39660,39666,39667,39669,39673,39674,39677,39679,39680,39681,39682,39683,39684,39685,39688,39689,39691,39692,39693,39694,39696,39698,39702,39705,39707,39708,39712,39718,39723,39725,39731,39732,39733,39735,39737,39738,39741,39752,39755,39756,39765,39766,39767,39771,39774,39777,39779,39781,39782,39784,39786,39787,39788,39789,39790,39795,39797,39799,39800,39801,39807,39808,39812,39813,39814,39815,39817,39818,39819,39821,39823,39824,39828,39834,39837,39838,39846,39847,39849,39852,39856,39857,39858,39863,39864,39867,39868,39870,39871,39873,39879,39880,39886,39888,39895,39896,39901,39903,39909,39911,39914,39915,39919,39923,39927,39928,39929,39930,39933,39935,39936,39938,39947,39951,39953,39958,39960,39961,39962,39964,39966,39970,39971,39974,39975,39976,39977,39978,39985,39989,39990,39991,39997,40001,40003,40004,40005,40009,40010,40014,40015,40016,40019,40020,40022,40024,40027,40029,40030,40031,40035,40041,40042,40028,40043,40040,40046,40048,40050,40053,40055,40059,40166,40178,40183,40185,40203,40194,40209,40215,40216,40220,40221,40222,40239,40240,40242,40243,40244,40250,40252,40261,40253,40258,40259,40263,40266,40275,40276,40287,40291,40290,40293,40297,40298,40299,40304,40310,40311,40315,40316,40318,40323,40324,40326,40330,40333,40334,40338,40339,40341,40342,40343,40344,40353,40362,40364,40366,40369,40373,40377,40380,40383,40387,40391,40393,40394,40404,40405,40406,40407,40410,40414,40415,40416,40421,40423,40425,40427,40430,40432,40435,40436,40446,40458,40450,40455,40462,40464,40465,40466,40469,40470,40473,40476,40477,40570,40571,40572,40576,40578,40579,40580,40581,40583,40590,40591,40598,40600,40603,40606,40612,40616,40620,40622,40623,40624,40627,40628,40629,40646,40648,40651,40661,40671,40676,40679,40684,40685,40686,40688,40689,40690,40693,40696,40703,40706,40707,40713,40719,40720,40721,40722,40724,40726,40727,40729,40730,40731,40735,40738,40742,40746,40747,40751,40753,40754,40756,40759,40761,40762,40764,40765,40767,40769,40771,40772,40773,40774,40775,40787,40789,40790,40791,40792,40794,40797,40798,40808,40809,40813,40814,40815,40816,40817,40819,40821,40826,40829,40847,40848,40849,40850,40852,40854,40855,40862,40865,40866,40867,40869,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],ibm866:[1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,9617,9618,9619,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9561,9560,9554,9555,9579,9578,9496,9484,9608,9604,9612,9616,9600,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1025,1105,1028,1108,1031,1111,1038,1118,176,8729,183,8730,8470,164,9632,160],"iso-8859-2":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,260,728,321,164,317,346,167,168,352,350,356,377,173,381,379,176,261,731,322,180,318,347,711,184,353,351,357,378,733,382,380,340,193,194,258,196,313,262,199,268,201,280,203,282,205,206,270,272,323,327,211,212,336,214,215,344,366,218,368,220,221,354,223,341,225,226,259,228,314,263,231,269,233,281,235,283,237,238,271,273,324,328,243,244,337,246,247,345,367,250,369,252,253,355,729],"iso-8859-3":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,294,728,163,164,null,292,167,168,304,350,286,308,173,null,379,176,295,178,179,180,181,293,183,184,305,351,287,309,189,null,380,192,193,194,null,196,266,264,199,200,201,202,203,204,205,206,207,null,209,210,211,212,288,214,215,284,217,218,219,220,364,348,223,224,225,226,null,228,267,265,231,232,233,234,235,236,237,238,239,null,241,242,243,244,289,246,247,285,249,250,251,252,365,349,729],"iso-8859-4":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,260,312,342,164,296,315,167,168,352,274,290,358,173,381,175,176,261,731,343,180,297,316,711,184,353,275,291,359,330,382,331,256,193,194,195,196,197,198,302,268,201,280,203,278,205,206,298,272,325,332,310,212,213,214,215,216,370,218,219,220,360,362,223,257,225,226,227,228,229,230,303,269,233,281,235,279,237,238,299,273,326,333,311,244,245,246,247,248,371,250,251,252,361,363,729],"iso-8859-5":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,173,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,8470,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,167,1118,1119],"iso-8859-6":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,null,null,null,164,null,null,null,null,null,null,null,1548,173,null,null,null,null,null,null,null,null,null,null,null,null,null,1563,null,null,null,1567,null,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,null,null,null,null,null,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1611,1612,1613,1614,1615,1616,1617,1618,null,null,null,null,null,null,null,null,null,null,null,null,null],"iso-8859-7":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,8216,8217,163,8364,8367,166,167,168,169,890,171,172,173,null,8213,176,177,178,179,900,901,902,183,904,905,906,187,908,189,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,null,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,null],"iso-8859-8":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,null,162,163,164,165,166,167,168,169,215,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,247,187,188,189,190,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,8215,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,null,null,8206,8207,null],"iso-8859-10":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,260,274,290,298,296,310,167,315,272,352,358,381,173,362,330,176,261,275,291,299,297,311,183,316,273,353,359,382,8213,363,331,256,193,194,195,196,197,198,302,268,201,280,203,278,205,206,207,208,325,332,211,212,213,214,360,216,370,218,219,220,221,222,223,257,225,226,227,228,229,230,303,269,233,281,235,279,237,238,239,240,326,333,243,244,245,246,361,248,371,250,251,252,253,254,312],"iso-8859-13":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,8221,162,163,164,8222,166,167,216,169,342,171,172,173,174,198,176,177,178,179,8220,181,182,183,248,185,343,187,188,189,190,230,260,302,256,262,196,197,280,274,268,201,377,278,290,310,298,315,352,323,325,211,332,213,214,215,370,321,346,362,220,379,381,223,261,303,257,263,228,229,281,275,269,233,378,279,291,311,299,316,353,324,326,243,333,245,246,247,371,322,347,363,252,380,382,8217],"iso-8859-14":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,7682,7683,163,266,267,7690,167,7808,169,7810,7691,7922,173,174,376,7710,7711,288,289,7744,7745,182,7766,7809,7767,7811,7776,7923,7812,7813,7777,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,372,209,210,211,212,213,214,7786,216,217,218,219,220,221,374,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,373,241,242,243,244,245,246,7787,248,249,250,251,252,253,375,255],"iso-8859-15":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,8364,165,352,167,353,169,170,171,172,173,174,175,176,177,178,179,381,181,182,183,382,185,186,187,338,339,376,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255],"iso-8859-16":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,260,261,321,8364,8222,352,167,353,169,536,171,377,173,378,379,176,177,268,322,381,8221,182,183,382,269,537,187,338,339,376,380,192,193,194,258,196,262,198,199,200,201,202,203,204,205,206,207,272,323,210,211,212,336,214,346,368,217,218,219,220,280,538,223,224,225,226,259,228,263,230,231,232,233,234,235,236,237,238,239,273,324,242,243,244,337,246,347,369,249,250,251,252,281,539,255],"koi8-r":[9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9600,9604,9608,9612,9616,9617,9618,9619,8992,9632,8729,8730,8776,8804,8805,160,8993,176,178,183,247,9552,9553,9554,1105,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,1025,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,169,1102,1072,1073,1094,1076,1077,1092,1075,1093,1080,1081,1082,1083,1084,1085,1086,1087,1103,1088,1089,1090,1091,1078,1074,1100,1099,1079,1096,1101,1097,1095,1098,1070,1040,1041,1062,1044,1045,1060,1043,1061,1048,1049,1050,1051,1052,1053,1054,1055,1071,1056,1057,1058,1059,1046,1042,1068,1067,1047,1064,1069,1065,1063,1066],"koi8-u":[9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9600,9604,9608,9612,9616,9617,9618,9619,8992,9632,8729,8730,8776,8804,8805,160,8993,176,178,183,247,9552,9553,9554,1105,1108,9556,1110,1111,9559,9560,9561,9562,9563,1169,1118,9566,9567,9568,9569,1025,1028,9571,1030,1031,9574,9575,9576,9577,9578,1168,1038,169,1102,1072,1073,1094,1076,1077,1092,1075,1093,1080,1081,1082,1083,1084,1085,1086,1087,1103,1088,1089,1090,1091,1078,1074,1100,1099,1079,1096,1101,1097,1095,1098,1070,1040,1041,1062,1044,1045,1060,1043,1061,1048,1049,1050,1051,1052,1053,1054,1055,1071,1056,1057,1058,1059,1046,1042,1068,1067,1047,1064,1069,1065,1063,1066],macintosh:[196,197,199,201,209,214,220,225,224,226,228,227,229,231,233,232,234,235,237,236,238,239,241,243,242,244,246,245,250,249,251,252,8224,176,162,163,167,8226,182,223,174,169,8482,180,168,8800,198,216,8734,177,8804,8805,165,181,8706,8721,8719,960,8747,170,186,937,230,248,191,161,172,8730,402,8776,8710,171,187,8230,160,192,195,213,338,339,8211,8212,8220,8221,8216,8217,247,9674,255,376,8260,8364,8249,8250,64257,64258,8225,183,8218,8222,8240,194,202,193,203,200,205,206,207,204,211,212,63743,210,218,219,217,305,710,732,175,728,729,730,184,733,731,711],"windows-874":[8364,129,130,131,132,8230,134,135,136,137,138,139,140,141,142,143,144,8216,8217,8220,8221,8226,8211,8212,152,153,154,155,156,157,158,159,160,3585,3586,3587,3588,3589,3590,3591,3592,3593,3594,3595,3596,3597,3598,3599,3600,3601,3602,3603,3604,3605,3606,3607,3608,3609,3610,3611,3612,3613,3614,3615,3616,3617,3618,3619,3620,3621,3622,3623,3624,3625,3626,3627,3628,3629,3630,3631,3632,3633,3634,3635,3636,3637,3638,3639,3640,3641,3642,null,null,null,null,3647,3648,3649,3650,3651,3652,3653,3654,3655,3656,3657,3658,3659,3660,3661,3662,3663,3664,3665,3666,3667,3668,3669,3670,3671,3672,3673,3674,3675,null,null,null,null],"windows-1250":[8364,129,8218,131,8222,8230,8224,8225,136,8240,352,8249,346,356,381,377,144,8216,8217,8220,8221,8226,8211,8212,152,8482,353,8250,347,357,382,378,160,711,728,321,164,260,166,167,168,169,350,171,172,173,174,379,176,177,731,322,180,181,182,183,184,261,351,187,317,733,318,380,340,193,194,258,196,313,262,199,268,201,280,203,282,205,206,270,272,323,327,211,212,336,214,215,344,366,218,368,220,221,354,223,341,225,226,259,228,314,263,231,269,233,281,235,283,237,238,271,273,324,328,243,244,337,246,247,345,367,250,369,252,253,355,729],"windows-1251":[1026,1027,8218,1107,8222,8230,8224,8225,8364,8240,1033,8249,1034,1036,1035,1039,1106,8216,8217,8220,8221,8226,8211,8212,152,8482,1113,8250,1114,1116,1115,1119,160,1038,1118,1032,164,1168,166,167,1025,169,1028,171,172,173,174,1031,176,177,1030,1110,1169,181,182,183,1105,8470,1108,187,1112,1029,1109,1111,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103],"windows-1252":[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,381,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,382,376,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255],"windows-1253":[8364,129,8218,402,8222,8230,8224,8225,136,8240,138,8249,140,141,142,143,144,8216,8217,8220,8221,8226,8211,8212,152,8482,154,8250,156,157,158,159,160,901,902,163,164,165,166,167,168,169,null,171,172,173,174,8213,176,177,178,179,900,181,182,183,904,905,906,187,908,189,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,null,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,null],"windows-1254":[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,142,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,158,376,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,286,209,210,211,212,213,214,215,216,217,218,219,220,304,350,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,287,241,242,243,244,245,246,247,248,249,250,251,252,305,351,255],"windows-1255":[8364,129,8218,402,8222,8230,8224,8225,710,8240,138,8249,140,141,142,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,154,8250,156,157,158,159,160,161,162,163,8362,165,166,167,168,169,215,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,247,187,188,189,190,191,1456,1457,1458,1459,1460,1461,1462,1463,1464,1465,1466,1467,1468,1469,1470,1471,1472,1473,1474,1475,1520,1521,1522,1523,1524,null,null,null,null,null,null,null,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,null,null,8206,8207,null],"windows-1256":[8364,1662,8218,402,8222,8230,8224,8225,710,8240,1657,8249,338,1670,1688,1672,1711,8216,8217,8220,8221,8226,8211,8212,1705,8482,1681,8250,339,8204,8205,1722,160,1548,162,163,164,165,166,167,168,169,1726,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,1563,187,188,189,190,1567,1729,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,215,1591,1592,1593,1594,1600,1601,1602,1603,224,1604,226,1605,1606,1607,1608,231,232,233,234,235,1609,1610,238,239,1611,1612,1613,1614,244,1615,1616,247,1617,249,1618,251,252,8206,8207,1746],"windows-1257":[8364,129,8218,131,8222,8230,8224,8225,136,8240,138,8249,140,168,711,184,144,8216,8217,8220,8221,8226,8211,8212,152,8482,154,8250,156,175,731,159,160,null,162,163,164,null,166,167,216,169,342,171,172,173,174,198,176,177,178,179,180,181,182,183,248,185,343,187,188,189,190,230,260,302,256,262,196,197,280,274,268,201,377,278,290,310,298,315,352,323,325,211,332,213,214,215,370,321,346,362,220,379,381,223,261,303,257,263,228,229,281,275,269,233,378,279,291,311,299,316,353,324,326,243,333,245,246,247,371,322,347,363,252,380,382,729],"windows-1258":[8364,129,8218,402,8222,8230,8224,8225,710,8240,138,8249,338,141,142,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,154,8250,339,157,158,376,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,258,196,197,198,199,200,201,202,203,768,205,206,207,272,209,777,211,212,416,214,215,216,217,218,219,220,431,771,223,224,225,226,259,228,229,230,231,232,233,234,235,769,237,238,239,273,241,803,243,244,417,246,247,248,249,250,251,252,432,8363,255],"x-mac-cyrillic":[1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,8224,176,1168,163,167,8226,182,1030,174,169,8482,1026,1106,8800,1027,1107,8734,177,8804,8805,1110,181,1169,1032,1028,1108,1031,1111,1033,1113,1034,1114,1112,1029,172,8730,402,8776,8710,171,187,8230,160,1035,1115,1036,1116,1109,8211,8212,8220,8221,8216,8217,247,8222,1038,1118,1039,1119,8470,1025,1105,1103,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,8364]}}(this||{})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(964),A=r(31),i=function(){function e(e){this.messenger=e,this.nonce=0,this.gasPrice=new A.Unit("100").asGwei().toHex(),this.gasLimit=new A.Unit("210000").asWei().toHex(),this.chainId=1,this.signature={v:0,r:"",s:""}}return e.prototype.createValidator=function(e){var t=e.validatorAddress,r=e.description,A=e.commissionRate,i=e.minSelfDelegation,o=e.maxTotalDelegation,a=e.slotPubKeys,s=e.amount;return this.stakeMsg=new n.CreateValidator(t,new n.Description(r.name,r.identity,r.website,r.securityContact,r.details),new n.CommissionRate(new n.Decimal(A.rate),new n.Decimal(A.maxRate),new n.Decimal(A.maxChangeRate)),i,o,a,s),this.directive=0,this},e.prototype.editValidator=function(e){var t=e.validatorAddress,r=e.description,A=e.commissionRate,i=e.minSelfDelegation,o=e.maxTotalDelegation,a=e.slotKeyToRemove,s=e.slotKeyToAdd;return this.stakeMsg=new n.EditValidator(t,new n.Description(r.name,r.identity,r.website,r.securityContact,r.details),new n.Decimal(A),i,o,a,s),this.directive=1,this},e.prototype.delegate=function(e){var t=e.delegatorAddress,r=e.validatorAddress,A=e.amount;return this.stakeMsg=new n.Delegate(t,r,A),this.directive=2,this},e.prototype.undelegate=function(e){var t=e.delegatorAddress,r=e.validatorAddress,A=e.amount;return this.stakeMsg=new n.Undelegate(t,r,A),this.directive=3,this},e.prototype.collectRewards=function(e){var t=e.delegatorAddress;return this.stakeMsg=new n.CollectRewards(t),this.directive=4,this},e.prototype.setTxParams=function(e){var t=e.nonce,r=e.gasPrice,n=e.gasLimit,A=e.chainId,i=e.signature;return this.nonce=t,this.gasPrice=r,this.gasLimit=n,this.chainId=A,this.signature=i,this},e.prototype.build=function(){if(void 0===this.directive)throw new Error("cannot build stakingTransaction without Directive");if(void 0===this.stakeMsg)throw new Error("cannot build stakingTransaction without stakeMsg");return new n.StakingTransaction(this.directive,this.stakeMsg,void 0!==this.nonce?this.nonce:0,void 0!==this.gasPrice?this.gasPrice:new A.Unit("100").asGwei().toHex(),void 0!==this.gasLimit?this.gasLimit:new A.Unit("210000").asWei().toHex(),void 0!==this.chainId?this.chainId:1,this.messenger,"INITIALIZED")},e.prototype.setMessenger=function(e){this.messenger=e},e}();t.StakingFactory=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(352),A=r(31),i=r(54),o=r(967),a=function(){function e(e){this.coder=e}return e.prototype.encodeFunctionSignature=function(e){return A.isObject(e)&&(e=o.jsonInterfaceMethodToString(e)),i.keccak256(n.toUtf8Bytes(e)).slice(0,10)},e.prototype.encodeEventSignature=function(e){return A.isObject(e)&&(e=o.jsonInterfaceMethodToString(e)),i.keccak256(n.toUtf8Bytes(e))},e.prototype.encodeParameter=function(e,t){return this.encodeParameters([e],[t])},e.prototype.encodeParameters=function(e,t){return this.coder.encode(e,t)},e.prototype.encodeFunctionCall=function(e,t){return this.encodeFunctionSignature(e)+this.encodeParameters(e.inputs,t).replace("0x","")},e.prototype.decodeParameter=function(e,t){return this.decodeParameters([e],t)[0]},e.prototype.decodeParameters=function(e,t){if(A.isArray(e)&&0===e.length)throw new Error("Empty outputs array given!");if(!t||"0x"===t||"0X"===t)throw new Error("Invalid bytes string given: "+t);var r,n=this.coder.decode(e,t),i={};return A.isArray(n)?e.length>1?(e.forEach(function(e,t){"0x"===(r=n[t])&&(r=null),i[t]=o.bnToString(r),A.isObject(e)&&e.name&&(i[e.name]=o.bnToString(r))}),i):o.bnToString(n):(A.isObject(e[0])&&e[0].name&&(i[e[0].name]=o.bnToString(n)),i[0]=o.bnToString(n),i)},e.prototype.decodeLog=function(e,t,r){var n=this;void 0===t&&(t="");var i,a={},s=0,u=[],l=[];if(A.isArray(r)||(r=[r]),e.forEach(function(e,t){if(e.indexed){if("string"===e.type)return;return i=r[s],n.isStaticType(e.type)&&(i=n.decodeParameter(e.type,r[s])),a[t]=o.bnToString(i),a[e.name]=o.bnToString(i),void s++}u.push(t),l.push(e)}),t){var c,f=this.decodeParameters(l,t);u.forEach(function(e,t){c=f[t],a[e]=o.bnToString(c),a[l[t].name]=o.bnToString(c)})}return a},e.prototype.isStaticType=function(e){return"bytes"!==e&&("string"!==e&&(!e.indexOf("[")||2!==e.slice(e.indexOf("[")).length))},e}();t.AbiCoderClass=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(54),i=r(31),o=r(530),a=r(531),s=function(){function e(e){void 0===e&&(e=a.defaultMessenger),this.accountMap=new Map,this.messenger=e}return e.generateMnemonic=function(){return A.bip39.generateMnemonic()},Object.defineProperty(e.prototype,"accounts",{get:function(){return n.__spread(this.accountMap.keys())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"signer",{get:function(){return this.defaultSigner?this.getAccount(this.defaultSigner):!this.defaultSigner&&this.accounts.length>0?(this.setSigner(this.accounts[0]),this.getAccount(this.accounts[0])):void 0},enumerable:!0,configurable:!0}),e.prototype.newMnemonic=function(){return e.generateMnemonic()},e.prototype.addByMnemonic=function(e,t){if(void 0===t&&(t=0),!this.isValidMnemonic(e))throw new Error("Invalid mnemonic phrase: "+e);var r=A.bip39.mnemonicToSeed(e),n=A.hdkey.fromMasterSeed(r),i="hmy"===this.messenger.chainType?"1023":"60",o=n.derive("m/44'/"+i+"'/0'/0/"+t).privateKey.toString("hex");return this.addByPrivateKey(o)},e.prototype.addByPrivateKey=function(e){try{var t=o.Account.add(e);if(t.setMessenger(this.messenger),t.address)return this.accountMap.set(t.address,t),this.defaultSigner||this.setSigner(t.address),t;throw new Error("add account failed")}catch(e){throw e}},e.prototype.addByKeyStore=function(e,t){return n.__awaiter(this,void 0,void 0,function(){var r;return n.__generator(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,new o.Account(void 0).fromFile(e,t)];case 1:if((r=n.sent()).setMessenger(this.messenger),r.address)return this.accountMap.set(r.address,r),this.defaultSigner||this.setSigner(r.address),[2,r];throw new Error("add account failed");case 2:throw n.sent();case 3:return[2]}})})},e.prototype.createAccount=function(e,t){return n.__awaiter(this,void 0,void 0,function(){var r,i;return n.__generator(this,function(n){switch(n.label){case 0:return r=A.generatePrivateKey(),(i=this.addByPrivateKey(r)).address&&e?[4,this.encryptAccount(i.address,e,t)]:[3,2];case 1:return[2,n.sent()];case 2:if(i.address&&!e)return[2,i];throw new Error("create acount failed");case 3:return[2]}})})},e.prototype.encryptAccount=function(e,t,r){return n.__awaiter(this,void 0,void 0,function(){var A;return n.__generator(this,function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),(A=this.getAccount(e))&&A.privateKey&&i.isPrivateKey(A.privateKey)?[4,A.toFile(t,r)]:[3,2];case 1:return n.sent(),[2,A];case 2:if(A&&A.privateKey&&!i.isPrivateKey(A.privateKey))return[2,A];throw new Error("encrypt account failed");case 3:return[3,5];case 4:throw n.sent();case 5:return[2]}})})},e.prototype.decryptAccount=function(e,t){return n.__awaiter(this,void 0,void 0,function(){var r;return n.__generator(this,function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),(r=this.getAccount(e))&&r.privateKey&&!i.isPrivateKey(r.privateKey)?[4,r.fromFile(r.privateKey,t)]:[3,2];case 1:return n.sent(),[2,r];case 2:if(r&&r.privateKey&&i.isPrivateKey(r.privateKey))return r.encrypted=!1,[2,r];throw new Error("decrypt account failed");case 3:return[3,5];case 4:throw n.sent();case 5:return[2]}})})},e.prototype.getAccount=function(e){return this.accountMap.get(A.getAddress(e).basicHex)},e.prototype.removeAccount=function(e){this.accountMap.delete(A.getAddress(e).basicHex),this.defaultSigner===e&&(this.defaultSigner=void 0)},e.prototype.setMessenger=function(e){this.messenger=e},e.prototype.setSigner=function(e){if(!i.isAddress(e)||!this.getAccount(e))throw new Error("could not set signer");this.defaultSigner=e},e.prototype.signTransaction=function(e,t,r,A,i,a){return void 0===t&&(t=this.signer),void 0===r&&(r=void 0),void 0===A&&(A=!0),void 0===i&&(i="rlp"),void 0===a&&(a="latest"),n.__awaiter(this,void 0,void 0,function(){var s,u;return n.__generator(this,function(n){switch(n.label){case 0:if(!(s=t||this.signer))throw new Error("no signer found or did not provide correct account");if(!(s instanceof o.Account&&s.encrypted&&s.address))return[3,7];if(!r)throw new Error("must provide password to further execution");n.label=1;case 1:return n.trys.push([1,5,,6]),[4,this.decryptAccount(s.address,r)];case 2:return[4,n.sent().signTransaction(e,A,i,a)];case 3:return u=n.sent(),[4,this.encryptAccount(s.address,r)];case 4:return n.sent(),[2,u];case 5:throw n.sent();case 6:return[3,13];case 7:if(!(s instanceof o.Account&&!s.encrypted&&s.address))return[3,12];n.label=8;case 8:return n.trys.push([8,10,,11]),[4,s.signTransaction(e,A,i,a)];case 9:return[2,u=n.sent()];case 10:throw n.sent();case 11:return[3,13];case 12:throw new Error("sign transaction failed");case 13:return[2]}})})},e.prototype.signStaking=function(e,t,r,A,i,a,s){return void 0===t&&(t=this.signer),void 0===r&&(r=void 0),void 0===A&&(A=!0),void 0===i&&(i="rlp"),void 0===a&&(a="latest"),void 0===s&&(s=this.messenger.currentShard),n.__awaiter(this,void 0,void 0,function(){var u,l;return n.__generator(this,function(n){switch(n.label){case 0:if(!(u=t||this.signer))throw new Error("no signer found or did not provide correct account");if(!(u instanceof o.Account&&u.encrypted&&u.address))return[3,7];if(!r)throw new Error("must provide password to further execution");n.label=1;case 1:return n.trys.push([1,5,,6]),[4,this.decryptAccount(u.address,r)];case 2:return[4,n.sent().signStaking(e,A,i,a,s)];case 3:return l=n.sent(),[4,this.encryptAccount(u.address,r)];case 4:return n.sent(),[2,l];case 5:throw n.sent();case 6:return[3,13];case 7:if(!(u instanceof o.Account&&!u.encrypted&&u.address))return[3,12];n.label=8;case 8:return n.trys.push([8,10,,11]),[4,u.signStaking(e,A,i,a,s)];case 9:return[2,l=n.sent()];case 10:throw n.sent();case 11:return[3,13];case 12:throw new Error("sign transaction failed");case 13:return[2]}})})},e.prototype.isValidMnemonic=function(e){return!(e.trim().split(/\s+/g).length<12)&&A.bip39.validateMnemonic(e)},e}();t.Wallet=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(54),i=r(31),o=r(129),a=r(239),s=r(530),u=function(){function e(t,r,n,A,a,s,u,l,c){void 0===t&&(t="http://localhost:9500"),void 0===n&&(n=0),void 0===A&&(A=1),void 0===a&&(a=0),void 0===s&&(s="hmy"),void 0===u&&(u=0),void 0===l&&(l="1000000"),void 0===c&&(c="2000000000"),this.provider=this.setProvider(t),this.shardID=a,this.messenger=new o.Messenger(this.provider,s,u),this.messenger.setDefaultShardID(this.shardID),this.hdwallet=void 0,this.addresses=[],this.wallets={},this.path="hmy"===s?i.HDPath:"m/44'/60'/0'/0/",this.index=n,this.addressCount=A,this.getHdWallet(r||e.generateMnemonic()),this.gasLimit=l,this.gasPrice=c}return e.isValidMnemonic=function(e){return!(e.trim().split(/\s+/g).length<12)&&A.bip39.validateMnemonic(e)},e.generateMnemonic=function(){return A.bip39.generateMnemonic()},e.prototype.normalizePrivateKeys=function(e){return Array.isArray(e)?e:!(!e||e.includes(" "))&&[e]},e.prototype.setProvider=function(e){if(i.isHttp(e)&&"string"==typeof e)return new o.HttpProvider(e);if(e instanceof o.HttpProvider)return e;if(i.isWs(e)&&"string"==typeof e)return new o.WSProvider(e);if(e instanceof o.WSProvider)return e;throw new Error("provider is not recognized")},e.prototype.getHdWallet=function(t){if(!e.isValidMnemonic(t))throw new Error("Mnemonic invalid or undefined");this.hdwallet=A.hdkey.fromMasterSeed(A.bip39.mnemonicToSeed(t));for(var r=this.index;r<this.index+this.addressCount;r++){if(!this.hdwallet)throw new Error("hdwallet is not found");var n=this.hdwallet.derive(""+this.path+r).privateKey.toString("hex"),i=new s.Account(n),o=i.checksumAddress;this.addresses.push(o),this.wallets[o]=i}},e.prototype.getAccounts=function(e){return e&&e(null,this.addresses),this.addresses},e.prototype.getPrivateKey=function(e,t){if(!t){if(this.wallets[e])return this.wallets[e].privateKey;throw new Error("Account not found")}if(!this.wallets[e])return t("Account not found");t(null,this.wallets[e].privateKey)},e.prototype.signTransaction=function(e){return n.__awaiter(this,void 0,void 0,function(){var t,r,o,u,l,c,f,d,g,h,p;return n.__generator(this,function(I){switch(I.label){case 0:return t=e.from?A.getAddress(e.from).checksum:"0x",[4,this.messenger.send("hmy_getTransactionCount",[t,"latest"],"hmy",this.shardID)];case 1:return r=I.sent(),o=e.to?A.getAddress(e.to).checksum:"0x",u=new i.Unit("0").asWei().toWei(),void 0!==e.gas&&i.isHex(e.gas)&&(u=new i.Unit(e.gas).asWei().toWei().lt(new i.Unit(this.gasLimit).asWei().toWei())?new i.Unit(e.gas).asWei().toWei():new i.Unit(this.gasLimit).asWei().toWei()),void 0!==e.gasLimit&&i.isHex(e.gasLimit)&&(u=new i.Unit(e.gasLimit).asWei().toWei().lt(new i.Unit(this.gasLimit).asWei().toWei())?new i.Unit(e.gasLimit).asWei().toWei():new i.Unit(this.gasLimit).asWei().toWei()),l=new i.Unit("0").asWei().toWei(),void 0!==e.gasPrice&&i.isHex(e.gasPrice)&&(l=new i.Unit(e.gasPrice).asWei().toWei().lt(new i.Unit(this.gasPrice).asWei().toWei())?new i.Unit(e.gasPrice).asWei().toWei():new i.Unit(this.gasPrice).asWei().toWei()),c=void 0!==e.value&&i.isHex(e.value)?e.value:"0",f=void 0!==e.nonce&&i.isHex(e.nonce)?Number.parseInt(i.hexToNumber(e.nonce),10):Number.parseInt(i.hexToNumber(r.result),10),d=void 0!==e.data&&i.isHex(e.data)?e.data:"0x",g=this.wallets[t].privateKey,h=new s.Account(g,this.messenger),p=new a.Transaction(n.__assign(n.__assign({},e),{from:t,to:o,gasLimit:u,gasPrice:l,value:c,nonce:f,data:d,shardID:this.shardID,chainId:this.messenger.chainId}),this.messenger,"INITIALIZED"),[4,h.signTransaction(p)];case 2:return[2,I.sent().getRawTransaction()]}})})},e.prototype.getAddress=function(e){return e?this.addresses[e]:this.addresses[0]},e.prototype.getAddresses=function(){return this.addresses},e.prototype.addByPrivateKey=function(e){var t=new s.Account(e),r=t.checksumAddress;return this.addresses.push(r),this.wallets[r]=t,r},e.prototype.setSigner=function(e){var t=this.addresses.findIndex(function(t){return t===e});this.addresses.slice(t,t+1),this.addresses.unshift(e)},e}();t.HDNode=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(31),A=r(1793),i=r(1794),o=r(967);t.abiMapper=function(e,r){var a={methods:{},events:{}},s=!1;return e.forEach(function(e){var i;if(e.constant=t.isConstant(e),e.payable=t.isPayable(e),e.name&&(e.funcName=o.jsonInterfaceMethodToString(e)),"function"===e.type)return e.signature=r.encodeFunctionSignature(e.funcName),i=new A.AbiItem(e),a.methods[e.name]?n.isArray(a.methods[e.name])?a.methods[e.name].push(i):a.methods[e.name]=[a.methods[e.name],i]:a.methods[e.name]=i,a.methods[e.signature]=i,void(a.methods[e.funcName]=i);"event"===e.type&&(e.signature=r.encodeEventSignature(e.funcName),i=new A.AbiItem(e),a.events[e.name]&&"bound "!==a.events[e.name].name||(a.events[e.name]=i),a.events[e.signature]=i,a.events[e.funcName]=i),"constructor"===e.type&&(e.signature=e.type,a.methods.contractConstructor=new A.AbiItem(e),s=!0)}),s||(a.methods.contractConstructor=new A.AbiItem({inputs:[],payable:!1,constant:!1,type:"constructor"})),new i.AbiModel(a)},t.isConstant=function(e){return"view"===e.stateMutability||"pure"===e.stateMutability||e.constant},t.isPayable=function(e){return"payable"===e.stateMutability||e.payable}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(31),A=function(){function e(e){this.abiItem=e,this.signature=this.abiItem.signature,this.name=this.abiItem.name,this.payable=this.abiItem.payable,this.anonymous=this.abiItem.anonymous,this.type=this.abiItem.type,this.inputs=this.abiItem.inputs,this.outputs=this.abiItem.outputs,this.contractMethodParameters=[]}return e.prototype.getInputLength=function(){return n.isArray(this.abiItem.inputs)?this.abiItem.inputs.length:0},e.prototype.getInputs=function(){return n.isArray(this.abiItem.inputs)?this.abiItem.inputs:[]},e.prototype.getOutputs=function(){return n.isArray(this.abiItem.outputs)?this.abiItem.outputs:[]},e.prototype.getIndexedInputs=function(){return this.getInputs().filter(function(e){return!0===e.indexed})},e.prototype.isOfType=function(e){return this.abiItem.type===e},e}();t.AbiItem=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this.abi=e}return e.prototype.getMethod=function(e){return!!this.hasMethod(e)&&this.abi.methods[e]},e.prototype.getMethods=function(){return this.abi.methods},e.prototype.getEvent=function(e){return!!this.hasEvent(e)&&this.abi.events[e]},e.prototype.getEvents=function(){return this.abi.events},e.prototype.getEventBySignature=function(e){var t,r=this;return Object.keys(this.abi.events).forEach(function(n){r.abi.events[n].signature===e&&(t=r.abi.events[n])}),t},e.prototype.hasMethod=function(e){return void 0!==this.abi.methods[e]},e.prototype.hasEvent=function(e){return void 0!==this.abi.events[e]},e}();t.AbiModel=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1796),A=function(){function e(e){this.contract=e,this.abiModel=this.contract.abiModel,this.abiCoder=this.contract.abiCoder,this.methodKeys=this.mapMethodKeys()}return e.prototype.addMethodsToContract=function(){var e=this;return this.methodKeys.forEach(function(t){var r={};r[t]=function(){for(var r=[],A=0;A<arguments.length;A++)r[A]=arguments[A];return new n.ContractMethod(t,r,e.abiModel.getMethod(t),e.contract)},Object.assign(e.contract.methods,r)}),this.contract},e.prototype.mapMethodKeys=function(){return Object.keys(this.abiModel.abi.methods)},e}();t.MethodFactory=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(239),i=r(129),o=r(31),a=r(54),s=r(969),u=r(970),l=function(){function e(e,t,r,n){this.methodKey=e,this.contract=n,this.wallet=n.wallet,this.params=t,this.abiItem=r,this.transaction=this.createTransaction(),this.callPayload=void 0,this.callResponse=void 0}return e.prototype.send=function(e){var t=this;try{this.transaction=this.transaction.map(function(t){return n.__assign(n.__assign({},t),e)});var r=void 0===e.nonce;return this.signTransaction(r).then(function(e){t.sendTransaction(e).then(function(e){var r=n.__read(e,2),A=r[0],i=r[1];t.transaction=A,t.contract.transaction=t.transaction,t.confirm(i).then(function(){t.transaction.emitter.resolve(t.contract)})})}),this.transaction.emitter}catch(e){throw e}},e.prototype.call=function(e,t){return void 0===t&&(t="latest"),n.__awaiter(this,void 0,void 0,function(){var r,A,a,s,u,l,c,f,d,g,h,p,I,B,C,m;return n.__generator(this,function(y){switch(y.label){case 0:return y.trys.push([0,8,,9]),r=void 0!==e&&void 0!==e.shardID?e.shardID:this.contract.shardID,this.wallet.signer||void 0!==e&&e.from?(s=i.getResultForData,[4,this.wallet.messenger.send("hmy_getTransactionCount",[this.wallet.signer?this.wallet.signer.address:e.from,t],r)]):[3,2];case 1:return a=s.apply(void 0,[y.sent()]),[3,3];case 2:a="0x0",y.label=3;case 3:return A=a,void 0===e?[3,4]:(u=e.gas||e.gasLimit,[3,6]);case 4:return l=o.hexToBN,[4,this.estimateGas()];case 5:u=l.apply(void 0,[y.sent()]),y.label=6;case 6:c=this.wallet.signer?e&&e.from?e.from:this.wallet.signer.address:e&&e.from?e.from:"0x0000000000000000000000000000000000000000",this.transaction=this.transaction.map(function(t){return n.__assign(n.__assign(n.__assign({},t),e),{from:c||t.from,gasPrice:e?e.gasPrice:t.gasPrice,gasLimit:u||t.gasLimit,nonce:Number.parseInt(o.hexToNumber(A),10)})}),f=Object.keys(this.transaction.txPayload),d=this.transaction.txPayload,g={};try{for(h=n.__values(f),p=h.next();!p.done;p=h.next())I=p.value,"0x"!==d[I]&&(g[I]=d[I])}catch(e){C={error:e}}finally{try{p&&!p.done&&(m=h.return)&&m.call(h)}finally{if(C)throw C.error}}return[4,this.wallet.messenger.send("hmy_call",[g,t],this.wallet.messenger.chainPrefix,r)];case 7:if(B=y.sent(),this.callPayload=g,this.callResponse=B,B.isError())throw B.message;return B.isResult()?null===B.result?[2,this.afterCall(void 0)]:[2,this.afterCall(B.result)]:[3,9];case 8:throw y.sent();case 9:return[2]}})})},e.prototype.estimateGas=function(){return n.__awaiter(this,void 0,void 0,function(){var e,t;return n.__generator(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),t=i.getResultForData,[4,this.wallet.messenger.send("hmy_estimateGas",[{to:this.transaction.txParams.to,data:this.transaction.txParams.data}])];case 1:if("error"===(e=t.apply(void 0,[r.sent()])).responseType)throw e.message;if("raw"===e.responseType)throw new Error("Get estimateGas fail");return[2,e];case 2:throw r.sent();case 3:return[2]}})})},e.prototype.encodeABI=function(){return s.methodEncoder(this.contract.abiCoder,this.abiItem,this.contract.data)},e.prototype.debug=function(){return{callResponse:this.callResponse,callPayload:this.callPayload}},e.prototype.signTransaction=function(e){return n.__awaiter(this,void 0,void 0,function(){var t,r;return n.__generator(this,function(n){switch(n.label){case 0:return n.trys.push([0,5,,6]),t=void 0,this.wallet.signer?[4,this.wallet.signTransaction(this.transaction,this.wallet.signer,void 0,e,"rlp","latest")]:[3,2];case 1:return r=n.sent(),[3,4];case 2:return[4,this.wallet.signTransaction(this.transaction,e,"rlp","latest")];case 3:r=n.sent(),n.label=4;case 4:return t=r,this.contract.address=A.TransactionFactory.getContractAddress(t),this.contract.setStatus(u.ContractStatus.SIGNED),[2,t];case 5:throw n.sent();case 6:return[2]}})})},e.prototype.sendTransaction=function(e){return n.__awaiter(this,void 0,void 0,function(){var t;return n.__generator(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,e.sendTransaction()];case 1:return t=r.sent(),this.contract.setStatus(u.ContractStatus.SENT),[2,t];case 2:throw r.sent();case 3:return[2]}})})},e.prototype.confirm=function(e){return n.__awaiter(this,void 0,void 0,function(){var t;return n.__generator(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.transaction.confirm(e,20,1e3,this.transaction?this.transaction.txParams.shardID:this.contract.shardID)];case 1:return(t=r.sent()).receipt&&"CONFIRMED"===t.txStatus?"contractConstructor"===this.methodKey?this.contract.setStatus(u.ContractStatus.DEPLOYED):this.contract.setStatus(u.ContractStatus.CALLED):this.contract.setStatus(u.ContractStatus.REJECTED),[3,3];case 2:throw r.sent();case 3:return[2]}})})},e.prototype.createTransaction=function(){if(this.wallet.messenger){"contractConstructor"===this.methodKey?(this.contract.data=this.params[0].data||"0x",this.abiItem.contractMethodParameters=this.params[0].arguments||[]):this.abiItem.contractMethodParameters=this.params||[];var e=n.__assign(n.__assign({},this.params[0]),{to:"0x"===this.contract.address?"0x":a.getAddress(this.contract.address).checksum,data:this.encodeABI()});return new A.TransactionFactory(this.wallet.messenger).newTx(e)}throw new Error("Messenger is not found")},e.prototype.afterCall=function(e){if(!e||"0x"===e)return null;var t=this.abiItem.getOutputs();return t.length>1?this.contract.abiCoder.decodeParameters(t,e):this.contract.abiCoder.decodeParameter(t[0],e)},e}();t.ContractMethod=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(31),A=r(1798),i=r(971),o=r(969),a=function(){function e(e){this.contract=e,this.abiModel=this.contract.abiModel,this.abiCoder=this.contract.abiCoder,this.eventKeys=this.mapEventKeys()}return e.prototype.addEventsToContract=function(){var e=this;return this.eventKeys.forEach(function(t){var r={};r[t]=function(r){return new A.EventMethod(t,e.map(e.abiModel,e.contract,r),e.abiModel.getEvent(t),e.contract)},Object.assign(e.contract.events,r)}),this.contract},e.prototype.mapEventKeys=function(){return Object.keys(this.abiModel.abi.events)},e.prototype.map=function(e,t,r){return r||(r={}),n.isArray(r.topics)||(r.topics=[]),void 0!==r.fromBlock&&(r.fromBlock=i.inputBlockNumberFormatter(r.fromBlock)),void 0!==r.toBlock&&(r.toBlock=i.inputBlockNumberFormatter(r.toBlock)),void 0!==r.filter&&(r.topics=r.topics.concat(o.eventFilterEncoder(this.abiCoder,e,r.filter)),delete r.filter),e.anonymous||r.topics.unshift(e.signature),r.address||(r.address=t.address),r},e}();t.EventFactory=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(129),i=r(1799),o=r(971),a=function(e){function t(t,r,n,A){var i=e.call(this,o.inputLogFormatter(r),A.wallet.messenger,A.shardID)||this;return i.methodKey=t,i.contract=A,i.params=r,i.abiItem=n,i}return n.__extends(t,e),t.prototype.onNewSubscriptionItem=function(e){var t=o.outputLogFormatter(void 0!==e.method?e.params.result:e),r=i.decode(this.contract.abiCoder,this.abiItem,t);return r.removed&&this.emitter&&this.emitter.emit("changed",r),r},t}(A.LogSub);t.EventMethod=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decode=function(e,t,r){var n=r.topics;return t.anonymous||(n=r.topics.slice(1)),"0x"===r.data&&(r.data=null),r.returnValues=e.decodeLog(t.getInputs(),r.data,n),r.event=t.name,r.signature=t.signature,r.raw={data:r.data,topics:r.topics},!t.anonymous&&r.topics[0]||(r.signature=null),delete r.data,delete r.topics,r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(968),A=function(){function e(e){this.wallet=e}return e.prototype.createContract=function(e,t,r){return new n.Contract(e,t,r,this.wallet)},e}();t.ContractFactory=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),A=r(31),i=function(e){function t(t,r,n,A){void 0===t&&(t="http://localhost:9500"),void 0===r&&(r={menmonic:void 0,index:0,addressCount:1}),void 0===n&&(n={shardID:0,chainType:"hmy",chainId:2}),void 0===A&&(A={gasLimit:"10000000",gasPrice:"20000000000"});var i=e.call(this,t,r.menmonic,r.index,r.addressCount,n.shardID,n.chainType,n.chainId,A.gasLimit,A.gasPrice)||this;return i.resolveResult=function(e){var t=e.getRaw||e;return delete t.req,delete t.responseType,t},i.resolveCallback=function(e,t,r){try{e&&r(e),r(null,i.resolveResult(t))}catch(e){throw e}},i}return n.__extends(t,e),t.prototype.send=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.__awaiter(this,void 0,void 0,function(){var t,r,i,o,a,s,u,l,c,f,d=this;return n.__generator(this,function(g){switch(g.label){case 0:switch(t=this.resolveArgs.apply(this,n.__spread(e)),r=t.newArgs,i=t.id,o=t.params,a=t.newMethod,s=t.callback,a){case"hmy_accounts":return[3,1];case"hmy_sendTransaction":return[3,2];case"hmy_getTransactionReceipt":return[3,5];case"net_version":return[3,7];case"hmy_getBlockByNumber":return[3,8]}return[3,10];case 1:return u=this.getAccounts(),s(null,{result:u,id:i,jsonrpc:"2.0"}),[2,{result:u,id:i,jsonrpc:"2.0"}];case 2:return l=o[0],[4,this.signTransaction(l)];case 3:return c=g.sent(),[4,this.provider.send({id:i,method:"hmy_sendRawTransaction",params:[c],jsonrpc:"2.0"},function(e,t){return d.resolveCallback(e,t,s)})];case 4:return f=g.sent(),[2,this.resolveResult(f)];case 5:return[4,this.provider.send({id:i,method:"hmy_getTransactionReceipt",params:[o[0]],jsonrpc:"2.0"},function(e,t){try{e&&s(e);var r=d.resolveResult(t);null!==r.result&&(r.result.status="0x1"),s(null,r)}catch(e){throw e}})];case 6:return f=g.sent(),[2,this.resolveResult(f)];case 7:return s(null,{result:String(this.messenger.chainId),id:i,jsonrpc:"2.0"}),[2,{result:String(this.messenger.chainId),id:i,jsonrpc:"2.0"}];case 8:return[4,this.provider.send(r,function(e,t){try{e&&s(e);var r=d.resolveResult(t);new A.Unit(r.result.gasLimit).asWei().toWei().gt(new A.Unit(d.gasLimit).asWei().toWei())&&(r.result.gasLimit="0x"+new A.Unit(d.gasLimit).asWei().toWei().toString("hex")),s(null,r)}catch(e){throw e}})];case 9:return f=g.sent(),[2,this.resolveResult(f)];case 10:return[4,this.provider.send(r,function(e,t){return d.resolveCallback(e,t,s)})];case 11:return f=g.sent(),[2,this.resolveResult(f)]}})})},t.prototype.sendAsync=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.send.apply(this,n.__spread(e))},t.prototype.resolveArgs=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[0].method,n=e[0].params,A=r;r.startsWith("eth")&&(A=r.replace("eth","hmy")),e[0].method=A;var i=e[0].id;return{newArgs:e[0],id:i,params:n,newMethod:A,callback:e[1]}},t}(r(529).HDNode);t.TruffleProvider=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,A=r(2),i=r(129),o=A.__importStar(r(54)),a=A.__importStar(r(31)),s=r(239),u=r(532),l=r(965);!function(e){e.MathWallet="MathWallet"}(n=t.ExtensionType||(t.ExtensionType={}));var c=function(){function e(e,t){void 0===t&&(t={chainId:a.defaultConfig.Default.Chain_ID,chainType:a.defaultConfig.Default.Chain_Type}),this.extensionType=null,this.wallet=e,this.isExtension(this.wallet),e.messenger?(this.provider=e.messenger.provider,this.messenger=e.messenger):(this.provider=new i.Provider(t.chainUrl||e.network.chain_url).provider,this.messenger=new i.Messenger(this.provider,t.chainType,t.chainId)),this.wallet.messenger=this.messenger,this.blockchain=new u.Blockchain(this.messenger),this.transactions=new s.TransactionFactory(this.messenger),this.contracts=new l.ContractFactory(this.wallet),this.crypto=o,this.utils=a}return e.prototype.setProvider=function(e){this.provider=new i.Provider(e).provider,this.messenger.setProvider(this.provider),this.setMessenger(this.messenger)},e.prototype.setShardID=function(e){this.defaultShardID=e,this.messenger.setDefaultShardID(this.defaultShardID),this.setMessenger(this.messenger)},e.prototype.isExtension=function(e){var t=this,r=!1;if(this.extensionType=null,e.isMathWallet){r=!0,this.extensionType=n.MathWallet;var i=this.wallet.signTransaction;this.wallet.signTransaction=function(e,r,n,s){return void 0===r&&(r=!0),void 0===n&&(n="rlp"),void 0===s&&(s="latest"),A.__awaiter(t,void 0,void 0,function(){var t,u;return A.__generator(this,function(l){switch(l.label){case 0:return[4,this.wallet.getAccount()];case 1:return t=l.sent(),r?[4,this.messenger.send("hmy_getTransactionCount",[o.getAddress(t.address).checksum,s],this.messenger.chainPrefix,"string"==typeof e.txParams.shardID?Number.parseInt(e.txParams.shardID,10):e.txParams.shardID)]:[3,3];case 2:return u=l.sent(),e.setParams(A.__assign(A.__assign({},e.txParams),{from:o.getAddress(t.address).bech32,nonce:Number.parseInt(a.hexToNumber(u.result),10)})),[3,4];case 3:e.setParams(A.__assign(A.__assign({},e.txParams),{from:o.getAddress(t.address).bech32})),l.label=4;case 4:return[2,i(e,!1,n,s)]}})})}}if(!r)throw new Error("Extension is not found")},e.prototype.login=function(){return A.__awaiter(this,void 0,void 0,function(){return A.__generator(this,function(e){switch(e.label){case 0:return[4,this.wallet.getAccount()];case 1:return[2,e.sent()]}})})},e.prototype.shardingStructures=function(e){var t,r;try{for(var n=A.__values(e),i=n.next();!i.done;i=n.next()){var o=i.value,a="string"==typeof o.shardID?Number.parseInt(o.shardID,10):o.shardID;this.messenger.shardProviders.set(a,{current:void 0!==o.current&&o.current,shardID:a,http:o.http,ws:o.ws})}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}this.setMessenger(this.messenger)},e.prototype.setMessenger=function(e){this.blockchain.setMessenger(e),this.wallet.messenger=e,this.transactions.setMessenger(e)},e}();t.HarmonyExtension=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.http=0]="http",e[e.ws=1]="ws"}(t.UrlType||(t.UrlType={}))},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const A=n(r(1805)),i=n(r(1829)),o=n(r(976)),a=n(r(981));t.default=class extends A.default{constructor(e){super(),this.node={url:""},this.methods=[],this.paramsFormatter=o.default,this.resultFormatter=a.default,this.addMethod=e=>{const t=new i.default(this.node,e);this.methods.push(t),Object.defineProperty(this,e.name,{value:t.call,enumerable:!0})},this.setNode({url:e}),this.defaultMethods.map(this.addMethod)}setNode(e){return Object.assign(this.node,e),this.node}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const A=n(r(976)),i=n(r(981)),o=[{name:"getBlockByNumber",method:"get_block_by_number",paramsFormatters:[A.default.toNumber],resultFormatters:i.default.toBlock},{name:"getBlock",method:"get_block",paramsFormatters:[A.default.toHash],resultFormatters:i.default.toBlock},{name:"getTransaction",method:"get_transaction",paramsFormatters:[A.default.toHash,A.default.toNumber,A.default.toNumber],resultFormatters:i.default.toTransactionWithStatus},{name:"getBlockHash",method:"get_block_hash",paramsFormatters:[A.default.toNumber]},{name:"getTipHeader",method:"get_tip_header",paramsFormatters:[],resultFormatters:i.default.toHeader},{name:"getCellsByLockHash",method:"get_cells_by_lock_hash",paramsFormatters:[A.default.toHash,A.default.toNumber,A.default.toNumber],resultFormatters:i.default.toCellsIncludingOutPoint},{name:"getLiveCell",method:"get_live_cell",paramsFormatters:[A.default.toOutPoint],resultFormatters:i.default.toLiveCellWithStatus},{name:"getTipBlockNumber",method:"get_tip_block_number",paramsFormatters:[],resultFormatters:i.default.toNumber},{name:"getBlockchainInfo",method:"get_blockchain_info",paramsFormatters:[],resultFormatters:i.default.toBlockchainInfo},{name:"sendTransaction",method:"send_transaction",paramsFormatters:[A.default.toRawTransaction,A.default.toOutputsValidator],resultFormatters:i.default.toHash},{name:"localNodeInfo",method:"local_node_info",paramsFormatters:[],resultFormatters:i.default.toNodeInfo},{name:"txPoolInfo",method:"tx_pool_info",paramsFormatters:[],resultFormatters:i.default.toTxPoolInfo},{name:"getPeers",method:"get_peers",paramsFormatters:[],resultFormatters:i.default.toPeers},{name:"getPeersState",method:"get_peers_state",paramsFormatters:[],resultFormatters:i.default.toPeersState},{name:"getCurrentEpoch",method:"get_current_epoch",paramsFormatters:[],resultFormatters:i.default.toEpoch},{name:"getEpochByNumber",method:"get_epoch_by_number",paramsFormatters:[A.default.toNumber],resultFormatters:i.default.toEpoch},{name:"dryRunTransaction",method:"dry_run_transaction",paramsFormatters:[A.default.toRawTransaction]},{name:"deindexLockHash",method:"deindex_lock_hash",paramsFormatters:[A.default.toHash]},{name:"getLiveCellsByLockHash",method:"get_live_cells_by_lock_hash",paramsFormatters:[A.default.toHash,A.default.toPageNumber,A.default.toPageSize,A.default.toReverseOrder],resultFormatters:i.default.toLiveCellsByLockHash},{name:"getLockHashIndexStates",method:"get_lock_hash_index_states",paramsFormatters:[],resultFormatters:i.default.toLockHashIndexStates},{name:"getTransactionsByLockHash",method:"get_transactions_by_lock_hash",paramsFormatters:[A.default.toHash,A.default.toPageNumber,A.default.toPageSize,A.default.toReverseOrder],resultFormatters:i.default.toTransactionsByLockHash},{name:"indexLockHash",method:"index_lock_hash",paramsFormatters:[A.default.toHash,A.default.toOptional(A.default.toNumber)],resultFormatters:i.default.toLockHashIndexState},{name:"getBannedAddresses",method:"get_banned_addresses",paramsFormatters:[],resultFormatters:i.default.toBannedAddresses},{name:"setBan",method:"set_ban",paramsFormatters:[]},{name:"getHeader",method:"get_header",paramsFormatters:[A.default.toHash],resultFormatters:i.default.toHeader},{name:"getHeaderByNumber",method:"get_header_by_number",paramsFormatters:[A.default.toNumber],resultFormatters:i.default.toHeader},{name:"getCellbaseOutputCapacityDetails",method:"get_cellbase_output_capacity_details",paramsFormatters:[A.default.toHash],resultFormatters:i.default.toCellbaseOutputCapacityDetails},{name:"estimateFeeRate",method:"estimate_fee_rate",paramsFormatters:[A.default.toNumber],resultFormatters:i.default.toFeeRate},{name:"calculateDaoMaximumWithdraw",method:"calculate_dao_maximum_withdraw",paramsFormatters:[A.default.toOutPoint,A.default.toHash]},{name:"getCapacityByLockHash",method:"get_capacity_by_lock_hash",paramsFormatters:[A.default.toHash],resultFormatters:i.default.toCapacityByLockHash},{name:"getBlockEconomicState",method:"get_block_economic_state",paramsFormatters:[A.default.toHash],resultFormatters:i.default.toBlockEconomicState}];class a{constructor(){this.defaultMethods=o}}t.DefaultRPC=a,t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class extends Error{constructor(e){super(`${e} is required`)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super(`${e} is an invalid hex string`)}}t.InvalidHexString=n;class A extends Error{constructor(e){super(`Hex string ${e} should start with 0x`)}}t.HexStringShouldStartWith0x=A,t.default={InvalidHexString:n,HexStringShouldStartWith0x:A}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super(`${e} is not a single-sig address payload`)}}t.InvalidAddressPayload=n;class A extends Error{constructor(e){super(`${e} is not a single-sig address`)}}t.InvalidAddress=A,t.default={InvalidAddressPayload:n,InvalidAddress:A}},function(e,t,r){e.exports=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){for(var r,n=0;n<t.length;n++)(r=t[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}function r(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(){return(o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var A=new(Function.bind.apply(e,n));return r&&i(A,r.prototype),A}).apply(null,arguments)}function a(e){var t="function"==typeof Map?new Map:void 0;return(a=function(e){function r(){return o(e,arguments,A(this).constructor)}if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),i(r,e)})(e)}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var u=function(t){var i=Math.abs,o=Math.max,a=Math.imul,u=Math.clz32;function l(e,t){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),e>l.__kMaxLength)throw new RangeError("Maximum BigInt size exceeded");return(r=s(this,A(l).call(this,e))).sign=t,r}return n(l,t),r(l,[{key:"toDebugString",value:function(){var e=["BigInt["],t=!0,r=!1,n=void 0;try{for(var A,i,o=this[Symbol.iterator]();!(t=(A=o.next()).done);t=!0)i=A.value,e.push((i?(i>>>0).toString(16):i)+", ")}catch(e){r=!0,n=e}finally{try{t||null==o.return||o.return()}finally{if(r)throw n}}return e.push("]"),e.join("")}},{key:"toString",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:10;if(2>e||36<e)throw new RangeError("toString() radix argument must be between 2 and 36");return 0===this.length?"0":0==(e&e-1)?l.__toStringBasePowerOfTwo(this,e):l.__toStringGeneric(this,e,!1)}},{key:"__copy",value:function(){for(var e=new l(this.length,this.sign),t=0;t<this.length;t++)e[t]=this[t];return e}},{key:"__trim",value:function(){for(var e=this.length,t=this[e-1];0===t;)t=this[--e-1],this.pop();return 0===e&&(this.sign=!1),this}},{key:"__initializeDigits",value:function(){for(var e=0;e<this.length;e++)this[e]=0}},{key:"__clzmsd",value:function(){return u(this[this.length-1])}},{key:"__inplaceMultiplyAdd",value:function(e,t,r){r>this.length&&(r=this.length);for(var n=65535&e,A=e>>>16,i=0,o=65535&t,s=t>>>16,u=0;u<r;u++){var l=this.__digit(u),c=65535&l,f=l>>>16,d=a(c,n),g=a(c,A),h=a(f,n),p=a(f,A),I=o+(65535&d),B=s+i+(I>>>16)+(d>>>16)+(65535&g)+(65535&h);i=(o=(g>>>16)+(h>>>16)+(65535&p)+(B>>>16))>>>16,o&=65535,s=p>>>16,this.__setDigit(u,65535&I|B<<16)}if(0!==i||0!==o||0!==s)throw new Error("implementation bug")}},{key:"__inplaceAdd",value:function(e,t,r){for(var n,A=0,i=0;i<r;i++)A=(n=this.__halfDigit(t+i)+e.__halfDigit(i)+A)>>>16,this.__setHalfDigit(t+i,n);return A}},{key:"__inplaceSub",value:function(e,t,r){var n=0;if(1&t){t>>=1;for(var A=this.__digit(t),i=65535&A,o=0;o<r-1>>>1;o++){var a=e.__digit(o),s=(A>>>16)-(65535&a)-n;n=1&s>>>16,this.__setDigit(t+o,s<<16|65535&i),n=1&(i=(65535&(A=this.__digit(t+o+1)))-(a>>>16)-n)>>>16}var u=e.__digit(o),l=(A>>>16)-(65535&u)-n;if(n=1&l>>>16,this.__setDigit(t+o,l<<16|65535&i),t+o+1>=this.length)throw new RangeError("out of bounds");0==(1&r)&&(n=1&(i=(65535&(A=this.__digit(t+o+1)))-(u>>>16)-n)>>>16,this.__setDigit(t+e.length,4294901760&A|65535&i))}else{t>>=1;for(var c=0;c<e.length-1;c++){var f=this.__digit(t+c),d=e.__digit(c),g=(65535&f)-(65535&d)-n,h=(f>>>16)-(d>>>16)-(n=1&g>>>16);n=1&h>>>16,this.__setDigit(t+c,h<<16|65535&g)}var p=this.__digit(t+c),I=e.__digit(c),B=(65535&p)-(65535&I)-n;n=1&B>>>16;var C=0;0==(1&r)&&(n=1&(C=(p>>>16)-(I>>>16)-n)>>>16),this.__setDigit(t+c,C<<16|65535&B)}return n}},{key:"__inplaceRightShift",value:function(e){if(0!==e){for(var t,r=this.__digit(0)>>>e,n=this.length-1,A=0;A<n;A++)t=this.__digit(A+1),this.__setDigit(A,t<<32-e|r),r=t>>>e;this.__setDigit(n,r)}}},{key:"__digit",value:function(e){return this[e]}},{key:"__unsignedDigit",value:function(e){return this[e]>>>0}},{key:"__setDigit",value:function(e,t){this[e]=0|t}},{key:"__setDigitGrow",value:function(e,t){this[e]=0|t}},{key:"__halfDigitLength",value:function(){var e=this.length;return 65535>=this.__unsignedDigit(e-1)?2*e-1:2*e}},{key:"__halfDigit",value:function(e){return 65535&this[e>>>1]>>>((1&e)<<4)}},{key:"__setHalfDigit",value:function(e,t){var r=e>>>1,n=this.__digit(r),A=1&e?65535&n|t<<16:4294901760&n|65535&t;this.__setDigit(r,A)}}],[{key:"BigInt",value:function(t){var r=Math.floor,n=Number.isFinite;if("number"==typeof t){if(0===t)return l.__zero();if((0|t)===t)return 0>t?l.__oneDigit(-t,!0):l.__oneDigit(t,!1);if(!n(t)||r(t)!==t)throw new RangeError("The number "+t+" cannot be converted to BigInt because it is not an integer");return l.__fromDouble(t)}if("string"==typeof t){var A=l.__fromString(t);if(null===A)throw new SyntaxError("Cannot convert "+t+" to a BigInt");return A}if("boolean"==typeof t)return!0===t?l.__oneDigit(1,!1):l.__zero();if("object"===e(t)){if(t.constructor===l)return t;var i=l.__toPrimitive(t);return l.BigInt(i)}throw new TypeError("Cannot convert "+t+" to a BigInt")}},{key:"toNumber",value:function(e){var t=e.length;if(0===t)return 0;if(1===t){var r=e.__unsignedDigit(0);return e.sign?-r:r}var n=e.__digit(t-1),A=u(n),i=32*t-A;if(1024<i)return e.sign?-1/0:1/0;var o=i-1,a=n,s=t-1,c=A+1,f=32===c?0:a<<c;f>>>=12;var d=c-12,g=12<=c?0:a<<20+c,h=20+c;0<d&&0<s&&(s--,f|=(a=e.__digit(s))>>>32-d,g=a<<d,h=d),0<h&&0<s&&(s--,g|=(a=e.__digit(s))>>>32-h,h-=32);var p=l.__decideRounding(e,h,s,a);if((1===p||0===p&&1==(1&g))&&0==(g=g+1>>>0)&&0!=++f>>>20&&(f=0,1023<++o))return e.sign?-1/0:1/0;var I=e.sign?-2147483648:0;return o=o+1023<<20,l.__kBitConversionInts[1]=I|o|f,l.__kBitConversionInts[0]=g,l.__kBitConversionDouble[0]}},{key:"unaryMinus",value:function(e){if(0===e.length)return e;var t=e.__copy();return t.sign=!e.sign,t}},{key:"bitwiseNot",value:function(e){return e.sign?l.__absoluteSubOne(e).__trim():l.__absoluteAddOne(e,!0)}},{key:"exponentiate",value:function(e,t){if(t.sign)throw new RangeError("Exponent must be positive");if(0===t.length)return l.__oneDigit(1,!1);if(0===e.length)return e;if(1===e.length&&1===e.__digit(0))return e.sign&&0==(1&t.__digit(0))?l.unaryMinus(e):e;if(1<t.length)throw new RangeError("BigInt too big");var r=t.__unsignedDigit(0);if(1===r)return e;if(r>=l.__kMaxLengthBits)throw new RangeError("BigInt too big");if(1===e.length&&2===e.__digit(0)){var n=1+(r>>>5),A=new l(n,e.sign&&0!=(1&r));A.__initializeDigits();var i=1<<(31&r);return A.__setDigit(n-1,i),A}var o=null,a=e;for(0!=(1&r)&&(o=e),r>>=1;0!==r;r>>=1)a=l.multiply(a,a),0!=(1&r)&&(o=null===o?a:l.multiply(o,a));return o}},{key:"multiply",value:function(e,t){if(0===e.length)return e;if(0===t.length)return t;var r=e.length+t.length;32<=e.__clzmsd()+t.__clzmsd()&&r--;var n=new l(r,e.sign!==t.sign);n.__initializeDigits();for(var A=0;A<e.length;A++)l.__multiplyAccumulate(t,e.__digit(A),n,A);return n.__trim()}},{key:"divide",value:function(e,t){if(0===t.length)throw new RangeError("Division by zero");if(0>l.__absoluteCompare(e,t))return l.__zero();var r,n=e.sign!==t.sign,A=t.__unsignedDigit(0);if(1===t.length&&65535>=A){if(1===A)return n===e.sign?e:l.unaryMinus(e);r=l.__absoluteDivSmall(e,A,null)}else r=l.__absoluteDivLarge(e,t,!0,!1);return r.sign=n,r.__trim()}},{key:"remainder",value:function(e,t){if(0===t.length)throw new RangeError("Division by zero");if(0>l.__absoluteCompare(e,t))return e;var r=t.__unsignedDigit(0);if(1===t.length&&65535>=r){if(1===r)return l.__zero();var n=l.__absoluteModSmall(e,r);return 0===n?l.__zero():l.__oneDigit(n,e.sign)}var A=l.__absoluteDivLarge(e,t,!1,!0);return A.sign=e.sign,A.__trim()}},{key:"add",value:function(e,t){var r=e.sign;return r===t.sign?l.__absoluteAdd(e,t,r):0<=l.__absoluteCompare(e,t)?l.__absoluteSub(e,t,r):l.__absoluteSub(t,e,!r)}},{key:"subtract",value:function(e,t){var r=e.sign;return r===t.sign?0<=l.__absoluteCompare(e,t)?l.__absoluteSub(e,t,r):l.__absoluteSub(t,e,!r):l.__absoluteAdd(e,t,r)}},{key:"leftShift",value:function(e,t){return 0===t.length||0===e.length?e:t.sign?l.__rightShiftByAbsolute(e,t):l.__leftShiftByAbsolute(e,t)}},{key:"signedRightShift",value:function(e,t){return 0===t.length||0===e.length?e:t.sign?l.__leftShiftByAbsolute(e,t):l.__rightShiftByAbsolute(e,t)}},{key:"unsignedRightShift",value:function(){throw new TypeError("BigInts have no unsigned right shift; use >> instead")}},{key:"lessThan",value:function(e,t){return 0>l.__compareToBigInt(e,t)}},{key:"lessThanOrEqual",value:function(e,t){return 0>=l.__compareToBigInt(e,t)}},{key:"greaterThan",value:function(e,t){return 0<l.__compareToBigInt(e,t)}},{key:"greaterThanOrEqual",value:function(e,t){return 0<=l.__compareToBigInt(e,t)}},{key:"equal",value:function(e,t){if(e.sign!==t.sign)return!1;if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e.__digit(r)!==t.__digit(r))return!1;return!0}},{key:"notEqual",value:function(e,t){return!l.equal(e,t)}},{key:"bitwiseAnd",value:function(e,t){if(!e.sign&&!t.sign)return l.__absoluteAnd(e,t).__trim();if(e.sign&&t.sign){var r=o(e.length,t.length)+1,n=l.__absoluteSubOne(e,r),A=l.__absoluteSubOne(t);return n=l.__absoluteOr(n,A,n),l.__absoluteAddOne(n,!0,n).__trim()}if(e.sign){var i=[t,e];e=i[0],t=i[1]}return l.__absoluteAndNot(e,l.__absoluteSubOne(t)).__trim()}},{key:"bitwiseXor",value:function(e,t){if(!e.sign&&!t.sign)return l.__absoluteXor(e,t).__trim();if(e.sign&&t.sign){var r=o(e.length,t.length),n=l.__absoluteSubOne(e,r),A=l.__absoluteSubOne(t);return l.__absoluteXor(n,A,n).__trim()}var i=o(e.length,t.length)+1;if(e.sign){var a=[t,e];e=a[0],t=a[1]}var s=l.__absoluteSubOne(t,i);return s=l.__absoluteXor(s,e,s),l.__absoluteAddOne(s,!0,s).__trim()}},{key:"bitwiseOr",value:function(e,t){var r=o(e.length,t.length);if(!e.sign&&!t.sign)return l.__absoluteOr(e,t).__trim();if(e.sign&&t.sign){var n=l.__absoluteSubOne(e,r),A=l.__absoluteSubOne(t);return n=l.__absoluteAnd(n,A,n),l.__absoluteAddOne(n,!0,n).__trim()}if(e.sign){var i=[t,e];e=i[0],t=i[1]}var a=l.__absoluteSubOne(t,r);return a=l.__absoluteAndNot(a,e,a),l.__absoluteAddOne(a,!0,a).__trim()}},{key:"asIntN",value:function(e,t){if(0===t.length)return t;if(0===e)return l.__zero();if(e>=l.__kMaxLengthBits)return t;var r=e+31>>>5;if(t.length<r)return t;var n=t.__unsignedDigit(r-1),A=1<<(31&e-1);if(t.length===r&&n<A)return t;if((n&A)!==A)return l.__truncateToNBits(e,t);if(!t.sign)return l.__truncateAndSubFromPowerOfTwo(e,t,!0);if(0==(n&A-1)){for(var i=r-2;0<=i;i--)if(0!==t.__digit(i))return l.__truncateAndSubFromPowerOfTwo(e,t,!1);return t.length===r&&n===A?t:l.__truncateToNBits(e,t)}return l.__truncateAndSubFromPowerOfTwo(e,t,!1)}},{key:"asUintN",value:function(e,t){if(0===t.length)return t;if(0===e)return l.__zero();if(t.sign){if(e>l.__kMaxLengthBits)throw new RangeError("BigInt too big");return l.__truncateAndSubFromPowerOfTwo(e,t,!1)}if(e>=l.__kMaxLengthBits)return t;var r=e+31>>>5;if(t.length<r)return t;var n=31&e;if(t.length==r){if(0==n)return t;if(0==t.__digit(r-1)>>>n)return t}return l.__truncateToNBits(e,t)}},{key:"ADD",value:function(e,t){if(e=l.__toPrimitive(e),t=l.__toPrimitive(t),"string"==typeof e)return"string"!=typeof t&&(t=t.toString()),e+t;if("string"==typeof t)return e.toString()+t;if(e=l.__toNumeric(e),t=l.__toNumeric(t),l.__isBigInt(e)&&l.__isBigInt(t))return l.add(e,t);if("number"==typeof e&&"number"==typeof t)return e+t;throw new TypeError("Cannot mix BigInt and other types, use explicit conversions")}},{key:"LT",value:function(e,t){return l.__compare(e,t,0)}},{key:"LE",value:function(e,t){return l.__compare(e,t,1)}},{key:"GT",value:function(e,t){return l.__compare(e,t,2)}},{key:"GE",value:function(e,t){return l.__compare(e,t,3)}},{key:"EQ",value:function(t,r){for(;;){if(l.__isBigInt(t))return l.__isBigInt(r)?l.equal(t,r):l.EQ(r,t);if("number"==typeof t){if(l.__isBigInt(r))return l.__equalToNumber(r,t);if("object"!==e(r))return t==r;r=l.__toPrimitive(r)}else if("string"==typeof t){if(l.__isBigInt(r))return null!==(t=l.__fromString(t))&&l.equal(t,r);if("object"!==e(r))return t==r;r=l.__toPrimitive(r)}else if("boolean"==typeof t){if(l.__isBigInt(r))return l.__equalToNumber(r,+t);if("object"!==e(r))return t==r;r=l.__toPrimitive(r)}else if("symbol"===e(t)){if(l.__isBigInt(r))return!1;if("object"!==e(r))return t==r;r=l.__toPrimitive(r)}else{if("object"!==e(t))return t==r;if("object"===e(r)&&r.constructor!==l)return t==r;t=l.__toPrimitive(t)}}}},{key:"NE",value:function(e,t){return!l.EQ(e,t)}},{key:"__zero",value:function(){return new l(0,!1)}},{key:"__oneDigit",value:function(e,t){var r=new l(1,t);return r.__setDigit(0,e),r}},{key:"__decideRounding",value:function(e,t,r,n){if(0<t)return-1;var A;if(0>t)A=-t-1;else{if(0===r)return-1;r--,n=e.__digit(r),A=31}var i=1<<A;if(0==(n&i))return-1;if(0!=(n&(i-=1)))return 1;for(;0<r;)if(r--,0!==e.__digit(r))return 1;return 0}},{key:"__fromDouble",value:function(e){l.__kBitConversionDouble[0]=e;var t,r=(2047&l.__kBitConversionInts[1]>>>20)-1023,n=1+(r>>>5),A=new l(n,0>e),i=1048575&l.__kBitConversionInts[1]|1048576,o=l.__kBitConversionInts[0],a=31&r,s=0;if(a<20){var u=20-a;s=u+32,t=i>>>u,i=i<<32-u|o>>>u,o<<=32-u}else if(20===a)s=32,t=i,i=o;else{var c=a-20;s=32-c,t=i<<c|o>>>32-c,i=o<<c}A.__setDigit(n-1,t);for(var f=n-2;0<=f;f--)0<s?(s-=32,t=i,i=o):t=0,A.__setDigit(f,t);return A.__trim()}},{key:"__isWhitespace",value:function(e){return!!(13>=e&&9<=e)||(159>=e?32==e:131071>=e?160==e||5760==e:196607>=e?10>=(e&=131071)||40==e||41==e||47==e||95==e||4096==e:65279==e)}},{key:"__fromString",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,r=0,n=e.length,A=0;if(A===n)return l.__zero();for(var i=e.charCodeAt(A);l.__isWhitespace(i);){if(++A===n)return l.__zero();i=e.charCodeAt(A)}if(43===i){if(++A===n)return null;i=e.charCodeAt(A),r=1}else if(45===i){if(++A===n)return null;i=e.charCodeAt(A),r=-1}if(0===t){if(t=10,48===i){if(++A===n)return l.__zero();if(88===(i=e.charCodeAt(A))||120===i){if(t=16,++A===n)return null;i=e.charCodeAt(A)}else if(79===i||111===i){if(t=8,++A===n)return null;i=e.charCodeAt(A)}else if(66===i||98===i){if(t=2,++A===n)return null;i=e.charCodeAt(A)}}}else if(16===t&&48===i){if(++A===n)return l.__zero();if(88===(i=e.charCodeAt(A))||120===i){if(++A===n)return null;i=e.charCodeAt(A)}}for(;48===i;){if(++A===n)return l.__zero();i=e.charCodeAt(A)}var o=n-A,a=l.__kMaxBitsPerChar[t],s=l.__kBitsPerCharTableMultiplier-1;if(o>1073741824/a)return null;var u=a*o+s>>>l.__kBitsPerCharTableShift,c=new l(u+31>>>5,!1),f=10>t?t:10,d=10<t?t-10:0;if(0==(t&t-1)){a>>=l.__kBitsPerCharTableShift;var g=[],h=[],p=!1;do{for(var I,B=0,C=0;;){if(I=void 0,i-48>>>0<f)I=i-48;else{if(!((32|i)-97>>>0<d)){p=!0;break}I=(32|i)-87}if(C+=a,B=B<<a|I,++A===n){p=!0;break}if(i=e.charCodeAt(A),32<C+a)break}g.push(B),h.push(C)}while(!p);l.__fillFromParts(c,g,h)}else{c.__initializeDigits();var m=!1,y=0;do{for(var Q,w=0,E=1;;){if(Q=void 0,i-48>>>0<f)Q=i-48;else{if(!((32|i)-97>>>0<d)){m=!0;break}Q=(32|i)-87}var b=E*t;if(4294967295<b)break;if(E=b,w=w*t+Q,y++,++A===n){m=!0;break}i=e.charCodeAt(A)}var v=a*y+(s=32*l.__kBitsPerCharTableMultiplier-1)>>>l.__kBitsPerCharTableShift+5;c.__inplaceMultiplyAdd(E,w,v)}while(!m)}for(;A!==n;){if(!l.__isWhitespace(i))return null;i=e.charCodeAt(A++)}return 0!==r&&10!==t?null:(c.sign=-1===r,c.__trim())}},{key:"__fillFromParts",value:function(e,t,r){for(var n=0,A=0,i=0,o=t.length-1;0<=o;o--){var a=t[o],s=r[o];A|=a<<i,32===(i+=s)?(e.__setDigit(n++,A),i=0,A=0):32<i&&(e.__setDigit(n++,A),A=a>>>s-(i-=32))}if(0!==A){if(n>=e.length)throw new Error("implementation bug");e.__setDigit(n++,A)}for(;n<e.length;n++)e.__setDigit(n,0)}},{key:"__toStringBasePowerOfTwo",value:function(e,t){var r=e.length,n=t-1,A=n=(15&(n=(51&(n=(85&n>>>1)+(85&n))>>>2)+(51&n))>>>4)+(15&n),i=t-1,o=e.__digit(r-1),a=0|(32*r-u(o)+A-1)/A;if(e.sign&&a++,268435456<a)throw new Error("string too long");for(var s=Array(a),c=a-1,f=0,d=0,g=0;g<r-1;g++){var h=e.__digit(g),p=(f|h<<d)&i;s[c--]=l.__kConversionChars[p];var I=A-d;for(f=h>>>I,d=32-I;d>=A;)s[c--]=l.__kConversionChars[f&i],f>>>=A,d-=A}var B=(f|o<<d)&i;for(s[c--]=l.__kConversionChars[B],f=o>>>A-d;0!==f;)s[c--]=l.__kConversionChars[f&i],f>>>=A;if(e.sign&&(s[c--]="-"),-1!==c)throw new Error("implementation bug");return s.join("")}},{key:"__toStringGeneric",value:function(e,t,r){var n=e.length;if(0===n)return"";if(1===n){var A=e.__unsignedDigit(0).toString(t);return!1===r&&e.sign&&(A="-"+A),A}var i,o,a=32*n-u(e.__digit(n-1)),s=l.__kMaxBitsPerChar[t]-1,c=a*l.__kBitsPerCharTableMultiplier,f=1+(c=0|(c+=s-1)/s)>>1,d=l.exponentiate(l.__oneDigit(t,!1),l.__oneDigit(f,!1)),g=d.__unsignedDigit(0);if(1===d.length&&65535>=g){(i=new l(e.length,!1)).__initializeDigits();for(var h,p=0,I=2*e.length-1;0<=I;I--)h=p<<16|e.__halfDigit(I),i.__setHalfDigit(I,0|h/g),p=0|h%g;o=p.toString(t)}else{var B=l.__absoluteDivLarge(e,d,!0,!0);i=B.quotient;var C=B.remainder.__trim();o=l.__toStringGeneric(C,t,!0)}i.__trim();for(var m=l.__toStringGeneric(i,t,!0);o.length<f;)o="0"+o;return!1===r&&e.sign&&(m="-"+m),m+o}},{key:"__unequalSign",value:function(e){return e?-1:1}},{key:"__absoluteGreater",value:function(e){return e?-1:1}},{key:"__absoluteLess",value:function(e){return e?1:-1}},{key:"__compareToBigInt",value:function(e,t){var r=e.sign;if(r!==t.sign)return l.__unequalSign(r);var n=l.__absoluteCompare(e,t);return 0<n?l.__absoluteGreater(r):0>n?l.__absoluteLess(r):0}},{key:"__compareToNumber",value:function(e,t){if(!0|t){var r=e.sign,n=0>t;if(r!==n)return l.__unequalSign(r);if(0===e.length){if(n)throw new Error("implementation bug");return 0===t?0:-1}if(1<e.length)return l.__absoluteGreater(r);var A=i(t),o=e.__unsignedDigit(0);return o>A?l.__absoluteGreater(r):o<A?l.__absoluteLess(r):0}return l.__compareToDouble(e,t)}},{key:"__compareToDouble",value:function(e,t){if(t!=t)return t;if(t===1/0)return-1;if(t===-1/0)return 1;var r=e.sign;if(r!==0>t)return l.__unequalSign(r);if(0===t)throw new Error("implementation bug: should be handled elsewhere");if(0===e.length)return-1;l.__kBitConversionDouble[0]=t;var n=2047&l.__kBitConversionInts[1]>>>20;if(2047==n)throw new Error("implementation bug: handled elsewhere");var A=n-1023;if(0>A)return l.__absoluteGreater(r);var i=e.length,o=e.__digit(i-1),a=u(o),s=32*i-a,c=A+1;if(s<c)return l.__absoluteLess(r);if(s>c)return l.__absoluteGreater(r);var f=1048576|1048575&l.__kBitConversionInts[1],d=l.__kBitConversionInts[0],g=31-a;if(g!==(s-1)%31)throw new Error("implementation bug");var h,p=0;if(g<20){var I=20-g;p=I+32,h=f>>>I,f=f<<32-I|d>>>I,d<<=32-I}else if(20===g)p=32,h=f,f=d;else{var B=g-20;p=32-B,h=f<<B|d>>>32-B,f=d<<B}if((o>>>=0)>(h>>>=0))return l.__absoluteGreater(r);if(o<h)return l.__absoluteLess(r);for(var C=i-2;0<=C;C--){0<p?(p-=32,h=f>>>0,f=d,d=0):h=0;var m=e.__unsignedDigit(C);if(m>h)return l.__absoluteGreater(r);if(m<h)return l.__absoluteLess(r)}if(0!==f||0!==d){if(0===p)throw new Error("implementation bug");return l.__absoluteLess(r)}return 0}},{key:"__equalToNumber",value:function(e,t){return t|0===t?0===t?0===e.length:1===e.length&&e.sign===0>t&&e.__unsignedDigit(0)===i(t):0===l.__compareToDouble(e,t)}},{key:"__comparisonResultToBool",value:function(e,t){switch(t){case 0:return 0>e;case 1:return 0>=e;case 2:return 0<e;case 3:return 0<=e}throw new Error("unreachable")}},{key:"__compare",value:function(e,t,r){if(e=l.__toPrimitive(e),t=l.__toPrimitive(t),"string"==typeof e&&"string"==typeof t)switch(r){case 0:return e<t;case 1:return e<=t;case 2:return e>t;case 3:return e>=t}if(l.__isBigInt(e)&&"string"==typeof t)return null!==(t=l.__fromString(t))&&l.__comparisonResultToBool(l.__compareToBigInt(e,t),r);if("string"==typeof e&&l.__isBigInt(t))return null!==(e=l.__fromString(e))&&l.__comparisonResultToBool(l.__compareToBigInt(e,t),r);if(e=l.__toNumeric(e),t=l.__toNumeric(t),l.__isBigInt(e)){if(l.__isBigInt(t))return l.__comparisonResultToBool(l.__compareToBigInt(e,t),r);if("number"!=typeof t)throw new Error("implementation bug");return l.__comparisonResultToBool(l.__compareToNumber(e,t),r)}if("number"!=typeof e)throw new Error("implementation bug");if(l.__isBigInt(t))return l.__comparisonResultToBool(l.__compareToNumber(t,e),2^r);if("number"!=typeof t)throw new Error("implementation bug");return 0===r?e<t:1===r?e<=t:2===r?e>t:3===r?e>=t:void 0}},{key:"__absoluteAdd",value:function(e,t,r){if(e.length<t.length)return l.__absoluteAdd(t,e,r);if(0===e.length)return e;if(0===t.length)return e.sign===r?e:l.unaryMinus(e);var n=e.length;(0===e.__clzmsd()||t.length===e.length&&0===t.__clzmsd())&&n++;for(var A=new l(n,r),i=0,o=0;o<t.length;o++){var a=t.__digit(o),s=e.__digit(o),u=(65535&s)+(65535&a)+i,c=(s>>>16)+(a>>>16)+(u>>>16);i=c>>>16,A.__setDigit(o,65535&u|c<<16)}for(;o<e.length;o++){var f=e.__digit(o),d=(65535&f)+i,g=(f>>>16)+(d>>>16);i=g>>>16,A.__setDigit(o,65535&d|g<<16)}return o<A.length&&A.__setDigit(o,i),A.__trim()}},{key:"__absoluteSub",value:function(e,t,r){if(0===e.length)return e;if(0===t.length)return e.sign===r?e:l.unaryMinus(e);for(var n=new l(e.length,r),A=0,i=0;i<t.length;i++){var o=e.__digit(i),a=t.__digit(i),s=(65535&o)-(65535&a)-A,u=(o>>>16)-(a>>>16)-(A=1&s>>>16);A=1&u>>>16,n.__setDigit(i,65535&s|u<<16)}for(;i<e.length;i++){var c=e.__digit(i),f=(65535&c)-A,d=(c>>>16)-(A=1&f>>>16);A=1&d>>>16,n.__setDigit(i,65535&f|d<<16)}return n.__trim()}},{key:"__absoluteAddOne",value:function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,n=e.length;null===r?r=new l(n,t):r.sign=t;for(var A=!0,i=0;i<n;i++){var o=e.__digit(i),a=-1===o;A&&(o=0|o+1),A=a,r.__setDigit(i,o)}return A&&r.__setDigitGrow(n,1),r}},{key:"__absoluteSubOne",value:function(e,t){for(var r=e.length,n=new l(t=t||r,!1),A=!0,i=0;i<r;i++){var o=e.__digit(i),a=0===o;A&&(o=0|o-1),A=a,n.__setDigit(i,o)}for(var s=r;s<t;s++)n.__setDigit(s,0);return n}},{key:"__absoluteAnd",value:function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,n=e.length,A=t.length,i=A;if(n<A){i=n;var o=e,a=n;e=t,n=A,t=o,A=a}var s=i;null===r?r=new l(s,!1):s=r.length;for(var u=0;u<i;u++)r.__setDigit(u,e.__digit(u)&t.__digit(u));for(;u<s;u++)r.__setDigit(u,0);return r}},{key:"__absoluteAndNot",value:function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,n=e.length,A=t.length,i=A;n<A&&(i=n);var o=n;null===r?r=new l(o,!1):o=r.length;for(var a=0;a<i;a++)r.__setDigit(a,e.__digit(a)&~t.__digit(a));for(;a<n;a++)r.__setDigit(a,e.__digit(a));for(;a<o;a++)r.__setDigit(a,0);return r}},{key:"__absoluteOr",value:function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,n=e.length,A=t.length,i=A;if(n<A){i=n;var o=e,a=n;e=t,n=A,t=o,A=a}var s=n;null===r?r=new l(s,!1):s=r.length;for(var u=0;u<i;u++)r.__setDigit(u,e.__digit(u)|t.__digit(u));for(;u<n;u++)r.__setDigit(u,e.__digit(u));for(;u<s;u++)r.__setDigit(u,0);return r}},{key:"__absoluteXor",value:function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,n=e.length,A=t.length,i=A;if(n<A){i=n;var o=e,a=n;e=t,n=A,t=o,A=a}var s=n;null===r?r=new l(s,!1):s=r.length;for(var u=0;u<i;u++)r.__setDigit(u,e.__digit(u)^t.__digit(u));for(;u<n;u++)r.__setDigit(u,e.__digit(u));for(;u<s;u++)r.__setDigit(u,0);return r}},{key:"__absoluteCompare",value:function(e,t){var r=e.length-t.length;if(0!=r)return r;for(var n=e.length-1;0<=n&&e.__digit(n)===t.__digit(n);)n--;return 0>n?0:e.__unsignedDigit(n)>t.__unsignedDigit(n)?1:-1}},{key:"__multiplyAccumulate",value:function(e,t,r,n){if(0!==t){for(var A=65535&t,i=t>>>16,o=0,s=0,u=0,l=0;l<e.length;l++,n++){var c=r.__digit(n),f=65535&c,d=c>>>16,g=e.__digit(l),h=65535&g,p=g>>>16,I=a(h,A),B=a(h,i),C=a(p,A),m=a(p,i);o=(s=(B>>>16)+(C>>>16)+(65535&m)+(o=(d+=u+o+((f+=s+(65535&I))>>>16)+(I>>>16)+(65535&B)+(65535&C))>>>16))>>>16,s&=65535,u=m>>>16,c=65535&f|d<<16,r.__setDigit(n,c)}for(;0!==o||0!==s||0!==u;n++){var y=r.__digit(n),Q=(65535&y)+s,w=(y>>>16)+(Q>>>16)+u+o;s=0,u=0,o=w>>>16,y=65535&Q|w<<16,r.__setDigit(n,y)}}}},{key:"__internalMultiplyAdd",value:function(e,t,r,n,A){for(var i=r,o=0,s=0;s<n;s++){var u=e.__digit(s),l=a(65535&u,t),c=(65535&l)+o+i;i=c>>>16;var f=a(u>>>16,t),d=(65535&f)+(l>>>16)+i;i=d>>>16,o=f>>>16,A.__setDigit(s,d<<16|65535&c)}if(A.length>n)for(A.__setDigit(n++,i+o);n<A.length;)A.__setDigit(n++,0);else if(0!==i+o)throw new Error("implementation bug")}},{key:"__absoluteDivSmall",value:function(e,t,r){null===r&&(r=new l(e.length,!1));for(var n=0,A=2*e.length-1;0<=A;A-=2){var i=(n<<16|e.__halfDigit(A))>>>0,o=0|i/t,a=0|(i=((n=0|i%t)<<16|e.__halfDigit(A-1))>>>0)/t;n=0|i%t,r.__setDigit(A>>>1,o<<16|a)}return r}},{key:"__absoluteModSmall",value:function(e,t){for(var r=0,n=2*e.length-1;0<=n;n--)r=0|((r<<16|e.__halfDigit(n))>>>0)%t;return r}},{key:"__absoluteDivLarge",value:function(e,t,r,n){var A=t.__halfDigitLength(),i=t.length,o=e.__halfDigitLength()-A,s=null;r&&(s=new l(o+2>>>1,!1)).__initializeDigits();var u=new l(A+2>>>1,!1);u.__initializeDigits();var c=l.__clz16(t.__halfDigit(A-1));0<c&&(t=l.__specialLeftShift(t,c,0));for(var f=l.__specialLeftShift(e,c,1),d=t.__halfDigit(A-1),g=0,h=o;0<=h;h--){var p=65535,I=f.__halfDigit(h+A);if(I!==d){var B=(I<<16|f.__halfDigit(h+A-1))>>>0;p=0|B/d;for(var C=0|B%d,m=t.__halfDigit(A-2),y=f.__halfDigit(h+A-2);a(p,m)>>>0>(C<<16|y)>>>0&&(p--,!(65535<(C+=d))););}l.__internalMultiplyAdd(t,p,0,i,u);var Q=f.__inplaceSub(u,h,A+1);0!==Q&&(Q=f.__inplaceAdd(t,h,A),f.__setHalfDigit(h+A,f.__halfDigit(h+A)+Q),p--),r&&(1&h?g=p<<16:s.__setDigit(h>>>1,g|p))}return n?(f.__inplaceRightShift(c),r?{quotient:s,remainder:f}:f):r?s:void 0}},{key:"__clz16",value:function(e){return u(e)-16}},{key:"__specialLeftShift",value:function(e,t,r){var n=e.length,A=new l(n+r,!1);if(0===t){for(var i=0;i<n;i++)A.__setDigit(i,e.__digit(i));return 0<r&&A.__setDigit(n,0),A}for(var o,a=0,s=0;s<n;s++)o=e.__digit(s),A.__setDigit(s,o<<t|a),a=o>>>32-t;return 0<r&&A.__setDigit(n,a),A}},{key:"__leftShiftByAbsolute",value:function(e,t){var r=l.__toShiftAmount(t);if(0>r)throw new RangeError("BigInt too big");var n=r>>>5,A=31&r,i=e.length,o=0!==A&&0!=e.__digit(i-1)>>>32-A,a=i+n+(o?1:0),s=new l(a,e.sign);if(0===A){for(var u=0;u<n;u++)s.__setDigit(u,0);for(;u<a;u++)s.__setDigit(u,e.__digit(u-n))}else{for(var c=0,f=0;f<n;f++)s.__setDigit(f,0);for(var d,g=0;g<i;g++)d=e.__digit(g),s.__setDigit(g+n,d<<A|c),c=d>>>32-A;if(o)s.__setDigit(i+n,c);else if(0!==c)throw new Error("implementation bug")}return s.__trim()}},{key:"__rightShiftByAbsolute",value:function(e,t){var r=e.length,n=e.sign,A=l.__toShiftAmount(t);if(0>A)return l.__rightShiftByMaximum(n);var i=A>>>5,o=31&A,a=r-i;if(0>=a)return l.__rightShiftByMaximum(n);var s=!1;if(n)if(0!=(e.__digit(i)&(1<<o)-1))s=!0;else for(var u=0;u<i;u++)if(0!==e.__digit(u)){s=!0;break}s&&0===o&&0==~e.__digit(r-1)&&a++;var c=new l(a,n);if(0===o)for(var f=i;f<r;f++)c.__setDigit(f-i,e.__digit(f));else{for(var d,g=e.__digit(i)>>>o,h=r-i-1,p=0;p<h;p++)d=e.__digit(p+i+1),c.__setDigit(p,d<<32-o|g),g=d>>>o;c.__setDigit(h,g)}return s&&(c=l.__absoluteAddOne(c,!0,c)),c.__trim()}},{key:"__rightShiftByMaximum",value:function(e){return e?l.__oneDigit(1,!0):l.__zero()}},{key:"__toShiftAmount",value:function(e){if(1<e.length)return-1;var t=e.__unsignedDigit(0);return t>l.__kMaxLengthBits?-1:t}},{key:"__toPrimitive",value:function(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"default";if("object"!==e(t))return t;if(t.constructor===l)return t;var n=t[Symbol.toPrimitive];if(n){var A=n(r);if("object"!==e(A))return A;throw new TypeError("Cannot convert object to primitive value")}var i=t.valueOf;if(i){var o=i.call(t);if("object"!==e(o))return o}var a=t.toString;if(a){var s=a.call(t);if("object"!==e(s))return s}throw new TypeError("Cannot convert object to primitive value")}},{key:"__toNumeric",value:function(e){return l.__isBigInt(e)?e:+e}},{key:"__isBigInt",value:function(t){return"object"===e(t)&&t.constructor===l}},{key:"__truncateToNBits",value:function(e,t){for(var r=e+31>>>5,n=new l(r,t.sign),A=r-1,i=0;i<A;i++)n.__setDigit(i,t.__digit(i));var o=t.__digit(A);if(0!=(31&e)){var a=32-(31&e);o=o<<a>>>a}return n.__setDigit(A,o),n.__trim()}},{key:"__truncateAndSubFromPowerOfTwo",value:function(e,t,r){for(var n=Math.min,A=e+31>>>5,i=new l(A,r),o=0,a=A-1,s=0,u=n(a,t.length);o<u;o++){var c=t.__digit(o),f=0-(65535&c)-s,d=0-(c>>>16)-(s=1&f>>>16);s=1&d>>>16,i.__setDigit(o,65535&f|d<<16)}for(;o<a;o++)i.__setDigit(o,0|-s);var g,h=a<t.length?t.__digit(a):0,p=31&e;if(0===p){var I=0-(65535&h)-s;g=65535&I|0-(h>>>16)-(s=1&I>>>16)<<16}else{var B=32-p,C=1<<32-B,m=(65535&C)-(65535&(h=h<<B>>>B))-s;g=65535&m|(C>>>16)-(h>>>16)-(s=1&m>>>16)<<16,g&=C-1}return i.__setDigit(a,g),i.__trim()}},{key:"__digitPow",value:function(e,t){for(var r=1;0<t;)1&t&&(r*=e),t>>>=1,e*=e;return r}}]),l}(a(Array));return u.__kMaxLength=33554432,u.__kMaxLengthBits=u.__kMaxLength<<5,u.__kMaxBitsPerChar=[0,0,32,51,64,75,83,90,96,102,107,111,115,119,122,126,128,131,134,136,139,141,143,145,147,149,151,153,154,156,158,159,160,162,163,165,166],u.__kBitsPerCharTableShift=5,u.__kBitsPerCharTableMultiplier=1<<u.__kBitsPerCharTableShift,u.__kConversionChars=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],u.__kBitConversionBuffer=new ArrayBuffer(8),u.__kBitConversionDouble=new Float64Array(u.__kBitConversionBuffer),u.__kBitConversionInts=new Int32Array(u.__kBitConversionBuffer),u}()},function(e,t,r){"use strict";var n=t;n.version=r(1811).version,n.utils=r(114),n.rand=r(150),n.curve=r(978),n.curves=r(533),n.ec=r(1816),n.eddsa=r(1819)},function(e){e.exports=JSON.parse('{"_from":"elliptic@6.5.2","_id":"elliptic@6.5.2","_inBundle":false,"_integrity":"sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==","_location":"/@nervosnetwork/ckb-sdk-utils/elliptic","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"elliptic@6.5.2","name":"elliptic","escapedName":"elliptic","rawSpec":"6.5.2","saveSpec":null,"fetchSpec":"6.5.2"},"_requiredBy":["/@nervosnetwork/ckb-sdk-utils"],"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz","_shasum":"05c5678d7173c049d8ca433552224a495d0e3762","_spec":"elliptic@6.5.2","_where":"/Users/Forrest/Desktop/zhiyou/VUE/mathwalletplus/node_modules/@nervosnetwork/ckb-sdk-utils","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"bugs":{"url":"https://github.com/indutny/elliptic/issues"},"bundleDependencies":false,"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},"deprecated":false,"description":"EC cryptography","devDependencies":{"brfs":"^1.4.3","coveralls":"^3.0.8","grunt":"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.2","jscs":"^3.0.7","jshint":"^2.10.3","mocha":"^6.2.2"},"files":["lib"],"homepage":"https://github.com/indutny/elliptic","keywords":["EC","Elliptic","curve","Cryptography"],"license":"MIT","main":"lib/elliptic.js","name":"elliptic","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/elliptic.git"},"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","test":"npm run lint && npm run unit","unit":"istanbul test _mocha --reporter=spec test/index.js","version":"grunt dist && git add dist/"},"version":"6.5.2"}')},function(e,t,r){"use strict";var n=r(114),A=r(17),i=r(20),o=r(353),a=n.assert;function s(e){o.call(this,"short",e),this.a=new A(e.a,16).toRed(this.red),this.b=new A(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(e,t,r,n){o.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new A(t,16),this.y=new A(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function l(e,t,r,n){o.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new A(0)):(this.x=new A(t,16),this.y=new A(r,16),this.z=new A(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(s,o),e.exports=s,s.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new A(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new A(e.lambda,16);else{var i=this._getEndoRoots(this.n);0===this.g.mul(i[0]).x.cmp(this.g.x.redMul(t))?r=i[0]:(r=i[1],a(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map(function(e){return{a:new A(e.a,16),b:new A(e.b,16)}}):this._getEndoBasis(r)}}},s.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:A.mont(e),r=new A(2).toRed(t).redInvm(),n=r.redNeg(),i=new A(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(i).fromRed(),n.redSub(i).fromRed()]},s.prototype._getEndoBasis=function(e){for(var t,r,n,i,o,a,s,u,l,c=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,d=this.n.clone(),g=new A(1),h=new A(0),p=new A(0),I=new A(1),B=0;0!==f.cmpn(0);){var C=d.div(f);u=d.sub(C.mul(f)),l=p.sub(C.mul(g));var m=I.sub(C.mul(h));if(!n&&u.cmp(c)<0)t=s.neg(),r=g,n=u.neg(),i=l;else if(n&&2==++B)break;s=u,d=f,f=u,p=g,g=l,I=h,h=m}o=u.neg(),a=l;var y=n.sqr().add(i.sqr());return o.sqr().add(a.sqr()).cmp(y)>=0&&(o=t,a=r),n.negative&&(n=n.neg(),i=i.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:n,b:i},{a:o,b:a}]},s.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],A=n.b.mul(e).divRound(this.n),i=r.b.neg().mul(e).divRound(this.n),o=A.mul(r.a),a=i.mul(n.a),s=A.mul(r.b),u=i.mul(n.b);return{k1:e.sub(o).sub(a),k2:s.add(u).neg()}},s.prototype.pointFromX=function(e,t){(e=new A(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(t&&!i||!t&&i)&&(n=n.redNeg()),this.point(e,n)},s.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),A=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(A).cmpn(0)},s.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,A=this._endoWnafT2,i=0;i<e.length;i++){var o=this._endoSplit(t[i]),a=e[i],s=a._getBeta();o.k1.negative&&(o.k1.ineg(),a=a.neg(!0)),o.k2.negative&&(o.k2.ineg(),s=s.neg(!0)),n[2*i]=a,n[2*i+1]=s,A[2*i]=o.k1,A[2*i+1]=o.k2}for(var u=this._wnafMulAdd(1,n,A,2*i,r),l=0;l<2*i;l++)n[l]=null,A[l]=null;return u},i(u,o.BasePoint),s.prototype.point=function(e,t,r){return new u(this,e,t,r)},s.prototype.pointFromJSON=function(e,t){return u.fromJSON(this,e,t)},u.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(e,t,r){"string"==typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function A(t){return e.point(t[0],t[1],r)}var i=t[2];return n.precomputed={beta:null,doubles:i.doubles&&{step:i.doubles.step,points:[n].concat(i.doubles.points.map(A))},naf:i.naf&&{wnd:i.naf.wnd,points:[n].concat(i.naf.points.map(A))}},n},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),A=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),i=A.redSqr().redISub(this.x.redAdd(this.x)),o=A.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,o)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return e=new A(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){var n=[this,t],A=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,A):this.curve._wnafMulAdd(1,n,A,2)},u.prototype.jmulAdd=function(e,t,r){var n=[this,t],A=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,A,!0):this.curve._wnafMulAdd(1,n,A,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(l,o.BasePoint),s.prototype.jpoint=function(e,t,r){return new l(this,e,t,r)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),A=e.x.redMul(r),i=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),a=n.redSub(A),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),l=u.redMul(a),c=n.redMul(u),f=s.redSqr().redIAdd(l).redISub(c).redISub(c),d=s.redMul(c.redISub(f)).redISub(i.redMul(l)),g=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(f,d,g)},l.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),A=this.y,i=e.y.redMul(t).redMul(this.z),o=r.redSub(n),a=A.redSub(i);if(0===o.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var s=o.redSqr(),u=s.redMul(o),l=r.redMul(s),c=a.redSqr().redIAdd(u).redISub(l).redISub(l),f=a.redMul(l.redISub(c)).redISub(A.redMul(u)),d=this.z.redMul(o);return this.curve.jpoint(c,f,d)},l.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}var n=this.curve.a,A=this.curve.tinv,i=this.x,o=this.y,a=this.z,s=a.redSqr().redSqr(),u=o.redAdd(o);for(r=0;r<e;r++){var l=i.redSqr(),c=u.redSqr(),f=c.redSqr(),d=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(s)),g=i.redMul(c),h=d.redSqr().redISub(g.redAdd(g)),p=g.redISub(h),I=d.redMul(p);I=I.redIAdd(I).redISub(f);var B=u.redMul(a);r+1<e&&(s=s.redMul(f)),i=h,a=B,u=I}return this.curve.jpoint(i,u.redMul(A),a)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},l.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),A=this.y.redSqr(),i=A.redSqr(),o=this.x.redAdd(A).redSqr().redISub(n).redISub(i);o=o.redIAdd(o);var a=n.redAdd(n).redIAdd(n),s=a.redSqr().redISub(o).redISub(o),u=i.redIAdd(i);u=(u=u.redIAdd(u)).redIAdd(u),e=s,t=a.redMul(o.redISub(s)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),c=this.y.redSqr(),f=c.redSqr(),d=this.x.redAdd(c).redSqr().redISub(l).redISub(f);d=d.redIAdd(d);var g=l.redAdd(l).redIAdd(l),h=g.redSqr(),p=f.redIAdd(f);p=(p=p.redIAdd(p)).redIAdd(p),e=h.redISub(d).redISub(d),t=g.redMul(d.redISub(e)).redISub(p),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},l.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),A=this.y.redSqr(),i=A.redSqr(),o=this.x.redAdd(A).redSqr().redISub(n).redISub(i);o=o.redIAdd(o);var a=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),s=a.redSqr().redISub(o).redISub(o);e=s;var u=i.redIAdd(i);u=(u=u.redIAdd(u)).redIAdd(u),t=a.redMul(o.redISub(s)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),c=this.y.redSqr(),f=this.x.redMul(c),d=this.x.redSub(l).redMul(this.x.redAdd(l));d=d.redAdd(d).redIAdd(d);var g=f.redIAdd(f),h=(g=g.redIAdd(g)).redAdd(g);e=d.redSqr().redISub(h),r=this.y.redAdd(this.z).redSqr().redISub(c).redISub(l);var p=c.redSqr();p=(p=(p=p.redIAdd(p)).redIAdd(p)).redIAdd(p),t=d.redMul(g.redISub(e)).redISub(p)}return this.curve.jpoint(e,t,r)},l.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,A=n.redSqr().redSqr(),i=t.redSqr(),o=r.redSqr(),a=i.redAdd(i).redIAdd(i).redIAdd(e.redMul(A)),s=t.redAdd(t),u=(s=s.redIAdd(s)).redMul(o),l=a.redSqr().redISub(u.redAdd(u)),c=u.redISub(l),f=o.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=a.redMul(c).redISub(f),g=r.redAdd(r).redMul(n);return this.curve.jpoint(l,d,g)},l.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),A=e.redAdd(e).redIAdd(e),i=A.redSqr(),o=this.x.redAdd(t).redSqr().redISub(e).redISub(n),a=(o=(o=(o=o.redIAdd(o)).redAdd(o).redIAdd(o)).redISub(i)).redSqr(),s=n.redIAdd(n);s=(s=(s=s.redIAdd(s)).redIAdd(s)).redIAdd(s);var u=A.redIAdd(o).redSqr().redISub(i).redISub(a).redISub(s),l=t.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var c=this.x.redMul(a).redISub(l);c=(c=c.redIAdd(c)).redIAdd(c);var f=this.y.redMul(u.redMul(s.redISub(u)).redISub(o.redMul(a)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=this.z.redAdd(o).redSqr().redISub(r).redISub(a);return this.curve.jpoint(c,f,d)},l.prototype.mul=function(e,t){return e=new A(e,t),this.curve._wnafMul(this,e)},l.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),A=r.redMul(e.z);return 0===this.y.redMul(A).redISub(e.y.redMul(n)).cmpn(0)},l.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),A=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(A),0===this.x.cmp(r))return!0}},l.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,r){"use strict";var n=r(17),A=r(20),i=r(353),o=r(114);function a(e){i.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function s(e,t,r){i.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}A(a,i),e.exports=a,a.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},A(s,i.BasePoint),a.prototype.decodePoint=function(e,t){return this.point(o.toArray(e,t),1)},a.prototype.point=function(e,t){return new s(this,e,t)},a.prototype.pointFromJSON=function(e){return s.fromJSON(this,e)},s.prototype.precompute=function(){},s.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},s.fromJSON=function(e,t){return new s(e,t[0],t[1]||e.one)},s.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},s.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},s.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),A=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,A)},s.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),A=e.x.redAdd(e.z),i=e.x.redSub(e.z).redMul(r),o=A.redMul(n),a=t.z.redMul(i.redAdd(o).redSqr()),s=t.x.redMul(i.redISub(o).redSqr());return this.curve.point(a,s)},s.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),A=[];0!==t.cmpn(0);t.iushrn(1))A.push(t.andln(1));for(var i=A.length-1;i>=0;i--)0===A[i]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},s.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},s.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},s.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,r){"use strict";var n=r(114),A=r(17),i=r(20),o=r(353),a=n.assert;function s(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,o.call(this,"edwards",e),this.a=new A(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new A(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new A(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function u(e,t,r,n,i){o.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new A(t,16),this.y=new A(r,16),this.z=n?new A(n,16):this.curve.one,this.t=i&&new A(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(s,o),e.exports=s,s.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},s.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},s.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},s.prototype.pointFromX=function(e,t){(e=new A(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),i=this.one.redSub(this.c2.redMul(this.d).redMul(r)),o=n.redMul(i.redInvm()),a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var s=a.fromRed().isOdd();return(t&&!s||!t&&s)&&(a=a.redNeg()),this.point(e,a)},s.prototype.pointFromY=function(e,t){(e=new A(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),i=r.redMul(this.d).redMul(this.c2).redSub(this.a),o=n.redMul(i.redInvm());if(0===o.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},s.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),A=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(A)},i(u,o.BasePoint),s.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},s.prototype.point=function(e,t,r,n){return new u(this,e,t,r,n)},u.fromJSON=function(e,t){return new u(e,t[0],t[1],t[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),A=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),i=n.redAdd(t),o=i.redSub(r),a=n.redSub(t),s=A.redMul(o),u=i.redMul(a),l=A.redMul(a),c=o.redMul(i);return this.curve.point(s,u,c,l)},u.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),A=this.x.redSqr(),i=this.y.redSqr();if(this.curve.twisted){var o=(u=this.curve._mulA(A)).redAdd(i);if(this.zOne)e=n.redSub(A).redSub(i).redMul(o.redSub(this.curve.two)),t=o.redMul(u.redSub(i)),r=o.redSqr().redSub(o).redSub(o);else{var a=this.z.redSqr(),s=o.redSub(a).redISub(a);e=n.redSub(A).redISub(i).redMul(s),t=o.redMul(u.redSub(i)),r=o.redMul(s)}}else{var u=A.redAdd(i);a=this.curve._mulC(this.z).redSqr(),s=u.redSub(a).redSub(a);e=this.curve._mulC(n.redISub(u)).redMul(s),t=this.curve._mulC(u).redMul(A.redISub(i)),r=u.redMul(s)}return this.curve.point(e,t,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),A=this.z.redMul(e.z.redAdd(e.z)),i=r.redSub(t),o=A.redSub(n),a=A.redAdd(n),s=r.redAdd(t),u=i.redMul(o),l=a.redMul(s),c=i.redMul(s),f=o.redMul(a);return this.curve.point(u,l,f,c)},u.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),A=n.redSqr(),i=this.x.redMul(e.x),o=this.y.redMul(e.y),a=this.curve.d.redMul(i).redMul(o),s=A.redSub(a),u=A.redAdd(a),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(i).redISub(o),c=n.redMul(s).redMul(l);return this.curve.twisted?(t=n.redMul(u).redMul(o.redSub(this.curve._mulA(i))),r=s.redMul(u)):(t=n.redMul(u).redMul(o.redSub(i)),r=this.curve._mulC(s).redMul(u)),this.curve.point(c,t,r)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},u.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(e,t,r){"use strict";var n=r(17),A=r(264),i=r(114),o=r(533),a=r(150),s=i.assert,u=r(1817),l=r(1818);function c(e){if(!(this instanceof c))return new c(e);"string"==typeof e&&(s(o.hasOwnProperty(e),"Unknown curve "+e),e=o[e]),e instanceof o.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=c,c.prototype.keyPair=function(e){return new u(this,e)},c.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},c.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},c.prototype.genKeyPair=function(e){e||(e={});for(var t=new A({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||a(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),i=this.n.sub(new n(2));;){var o=new n(t.generate(r));if(!(o.cmp(i)>0))return o.iaddn(1),this.keyFromPrivate(o)}},c.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},c.prototype.sign=function(e,t,r,i){"object"==typeof r&&(i=r,r=null),i||(i={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var o=this.n.byteLength(),a=t.getPrivate().toArray("be",o),s=e.toArray("be",o),u=new A({hash:this.hash,entropy:a,nonce:s,pers:i.pers,persEnc:i.persEnc||"utf8"}),c=this.n.sub(new n(1)),f=0;;f++){var d=i.k?i.k(f):new n(u.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||d.cmp(c)>=0)){var g=this.g.mul(d);if(!g.isInfinity()){var h=g.getX(),p=h.umod(this.n);if(0!==p.cmpn(0)){var I=d.invm(this.n).mul(p.mul(t.getPrivate()).iadd(e));if(0!==(I=I.umod(this.n)).cmpn(0)){var B=(g.getY().isOdd()?1:0)|(0!==h.cmp(p)?2:0);return i.canonical&&I.cmp(this.nh)>0&&(I=this.n.sub(I),B^=1),new l({r:p,s:I,recoveryParam:B})}}}}}},c.prototype.verify=function(e,t,r,A){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,A);var i=(t=new l(t,"hex")).r,o=t.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var a,s=o.invm(this.n),u=s.mul(e).umod(this.n),c=s.mul(i).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(u,r.getPublic(),c)).isInfinity()&&a.eqXToP(i):!(a=this.g.mulAdd(u,r.getPublic(),c)).isInfinity()&&0===a.getX().umod(this.n).cmp(i)},c.prototype.recoverPubKey=function(e,t,r,A){s((3&r)===r,"The recovery param is more than two bits"),t=new l(t,A);var i=this.n,o=new n(e),a=t.r,u=t.s,c=1&r,f=r>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw new Error("Unable to find sencond key candinate");a=f?this.curve.pointFromX(a.add(this.curve.n),c):this.curve.pointFromX(a,c);var d=t.r.invm(i),g=i.sub(o).mul(d).umod(i),h=u.mul(d).umod(i);return this.g.mulAdd(g,a,h)},c.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new l(t,n)).recoveryParam)return t.recoveryParam;for(var A=0;A<4;A++){var i;try{i=this.recoverPubKey(e,t,A)}catch(e){continue}if(i.eq(r))return A}throw new Error("Unable to find valid recovery factor")}},function(e,t,r){"use strict";var n=r(17),A=r(114).assert;function i(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=i,i.fromPublic=function(e,t,r){return t instanceof i?t:new i(e,{pub:t,pubEnc:r})},i.fromPrivate=function(e,t,r){return t instanceof i?t:new i(e,{priv:t,privEnc:r})},i.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},i.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?A(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||A(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},i.prototype.derive=function(e){return e.mul(this.priv).getX()},i.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},i.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},i.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(e,t,r){"use strict";var n=r(17),A=r(114),i=A.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(i(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function a(){this.place=0}function s(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,A=0,i=0,o=t.place;i<n;i++,o++)A<<=8,A|=e[o];return t.place=o,A}function u(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function l(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=o,o.prototype._importDER=function(e,t){e=A.toArray(e,t);var r=new a;if(48!==e[r.place++])return!1;if(s(e,r)+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var i=s(e,r),o=e.slice(r.place,i+r.place);if(r.place+=i,2!==e[r.place++])return!1;var u=s(e,r);if(e.length!==u+r.place)return!1;var l=e.slice(r.place,u+r.place);return 0===o[0]&&128&o[1]&&(o=o.slice(1)),0===l[0]&&128&l[1]&&(l=l.slice(1)),this.r=new n(o),this.s=new n(l),this.recoveryParam=null,!0},o.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];l(n,t.length),(n=n.concat(t)).push(2),l(n,r.length);var i=n.concat(r),o=[48];return l(o,i.length),o=o.concat(i),A.encode(o,e)}},function(e,t,r){"use strict";var n=r(123),A=r(533),i=r(114),o=i.assert,a=i.parseBytes,s=r(1820),u=r(1821);function l(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof l))return new l(e);e=A[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=l,l.prototype.sign=function(e,t){e=a(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),A=this.g.mul(n),i=this.encodePoint(A),o=this.hashInt(i,r.pubBytes(),e).mul(r.priv()),s=n.add(o).umod(this.curve.n);return this.makeSignature({R:A,S:s,Rencoded:i})},l.prototype.verify=function(e,t,r){e=a(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),A=this.hashInt(t.Rencoded(),n.pubBytes(),e),i=this.g.mul(t.S());return t.R().add(n.pub().mul(A)).eq(i)},l.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return i.intFromLE(e.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(e){return s.fromPublic(this,e)},l.prototype.keyFromSecret=function(e){return s.fromSecret(this,e)},l.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},l.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},l.prototype.decodePoint=function(e){var t=(e=i.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!=(128&e[t]),A=i.intFromLE(r);return this.curve.pointFromY(A,n)},l.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(e){return i.intFromLE(e)},l.prototype.isPoint=function(e){return e instanceof this.pointClass}},function(e,t,r){"use strict";var n=r(114),A=n.assert,i=n.parseBytes,o=n.cachedProperty;function a(e,t){this.eddsa=e,this._secret=i(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=i(t.pub)}a.fromPublic=function(e,t){return t instanceof a?t:new a(e,{pub:t})},a.fromSecret=function(e,t){return t instanceof a?t:new a(e,{secret:t})},a.prototype.secret=function(){return this._secret},o(a,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),o(a,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),o(a,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n}),o(a,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),o(a,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),o(a,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),a.prototype.sign=function(e){return A(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},a.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},a.prototype.getSecret=function(e){return A(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},a.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},e.exports=a},function(e,t,r){"use strict";var n=r(17),A=r(114),i=A.assert,o=A.cachedProperty,a=A.parseBytes;function s(e,t){this.eddsa=e,"object"!=typeof t&&(t=a(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),i(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}o(s,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),o(s,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),o(s,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),o(s,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),s.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},s.prototype.toHex=function(){return A.encode(this.toBytes(),"hex").toUpperCase()},e.exports=s},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const A=n(r(979)),i=n(r(1826)),o=n(r(1827));e.exports={blake2b:A.default,blake160:o.default,bech32:i.default},t.default={blake2b:A.default,blake160:o.default,bech32:i.default}},function(e,t,r){var n=r(1824),A=r(1825)(),i=64,o=[];e.exports=d;var a=e.exports.BYTES_MIN=16,s=e.exports.BYTES_MAX=64,u=(e.exports.BYTES=32,e.exports.KEYBYTES_MIN=16),l=e.exports.KEYBYTES_MAX=64,c=(e.exports.KEYBYTES=32,e.exports.SALTBYTES=16),f=e.exports.PERSONALBYTES=16;function d(e,t,r,g,h){if(!(this instanceof d))return new d(e,t,r,g,h);if(!A||!A.exports)throw new Error("WASM not loaded. Wait for Blake2b.ready(cb)");e||(e=32),!0!==h&&(n(e>=a,"digestLength must be at least "+a+", was given "+e),n(e<=s,"digestLength must be at most "+s+", was given "+e),null!=t&&(n(t instanceof Uint8Array,"key must be Uint8Array or Buffer"),n(t.length>=u,"key must be at least "+u+", was given "+t.length),n(t.length<=l,"key must be at least "+l+", was given "+t.length)),null!=r&&(n(r instanceof Uint8Array,"salt must be Uint8Array or Buffer"),n(r.length===c,"salt must be exactly "+c+", was given "+r.length)),null!=g&&(n(g instanceof Uint8Array,"personal must be Uint8Array or Buffer"),n(g.length===f,"personal must be exactly "+f+", was given "+g.length))),o.length||(o.push(i),i+=216),this.digestLength=e,this.finalized=!1,this.pointer=o.pop(),A.memory.fill(0,0,64),A.memory[0]=this.digestLength,A.memory[1]=t?t.length:0,A.memory[2]=1,A.memory[3]=1,r&&A.memory.set(r,32),g&&A.memory.set(g,48),this.pointer+216>A.memory.length&&A.realloc(this.pointer+216),A.exports.blake2b_init(this.pointer,this.digestLength),t&&(this.update(t),A.memory.fill(0,i,i+t.length),A.memory[this.pointer+200]=128)}function g(){}function h(e){return e<16?"0"+e.toString(16):e.toString(16)}d.prototype.update=function(e){return n(!1===this.finalized,"Hash instance finalized"),n(e instanceof Uint8Array,"input must be Uint8Array or Buffer"),i+e.length>A.memory.length&&A.realloc(i+e.length),A.memory.set(e,i),A.exports.blake2b_update(this.pointer,i,i+e.length),this},d.prototype.digest=function(e){if(n(!1===this.finalized,"Hash instance finalized"),this.finalized=!0,o.push(this.pointer),A.exports.blake2b_final(this.pointer),!e||"binary"===e)return A.memory.slice(this.pointer+128,this.pointer+128+this.digestLength);if("hex"===e)return function(e,t,r){for(var n="",A=0;A<r;A++)n+=h(e[t+A]);return n}(A.memory,this.pointer+128,this.digestLength);n(e instanceof Uint8Array&&e.length>=this.digestLength,"input must be Uint8Array or Buffer");for(var t=0;t<this.digestLength;t++)e[t]=A.memory[this.pointer+128+t];return e},d.prototype.final=d.prototype.digest,d.WASM=A&&A.buffer,d.SUPPORTED="undefined"!=typeof WebAssembly,d.ready=function(e){return e||(e=g),A?new Promise(function(t,r){A.onload(function(n){n?r():t(),e(n)})}):e(new Error("WebAssembly not supported"))},d.prototype.ready=d.ready},function(e,t){function r(e,t){if(!e)throw new Error(t||"AssertionError")}r.notEqual=function(e,t,n){r(e!=t,n)},r.notOk=function(e,t){r(!e,t)},r.equal=function(e,t,n){r(e==t,n)},r.ok=r,e.exports=r},function(e,t,r){function n(e){if(!n.supported)return null;var t,i=e&&e.imports,o=(t=" ","function"==typeof atob?new Uint8Array(atob(t).split("").map(A)):r(8).Buffer.from(t,"base64")),a=null,s={buffer:o,memory:null,exports:null,realloc:function(e){s.exports.memory.grow(Math.max(0,Math.ceil(Math.abs(e-s.memory.length)/65536))),s.memory=new Uint8Array(s.exports.memory.buffer)},onload:u};return u(function(){}),s;function u(t){if(s.exports)return t();if(a)a.then(t.bind(null,null)).catch(t);else{try{if(e&&e.async)throw new Error("async");l({instance:new WebAssembly.Instance(new WebAssembly.Module(o),i)})}catch(e){a=WebAssembly.instantiate(o,i).then(l)}u(t)}}function l(e){s.exports=e.instance.exports,s.memory=s.exports.memory&&s.exports.memory.buffer&&new Uint8Array(s.exports.memory.buffer)}}function A(e){return e.charCodeAt(0)}e.exports=n,n.supported="undefined"!=typeof WebAssembly},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n="qpzry9x8gf2tvdw0s3jn54khce6mua7l",A=new Map;for(let e=0;e<n.length;e++){const t=n.charAt(e);if(void 0!==A.get(t))throw new TypeError(`${t} is ambiguous`);A.set(t,e)}const i=e=>{const t=e>>25;return(33554431&e)<<5^996825010&-(t>>0&1)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)},o=e=>{let t=1;for(let r=0;r<e.length;++r){const n=e.charCodeAt(r);if(n<33||n>126)throw new Error(`Invalid prefix (${e})`);t=i(t)^n>>5}t=i(t);for(let r=0;r<e.length;++r){const n=e.charCodeAt(r);t=i(t)^31&n}return t};t.encode=(e,t)=>{const r=e.toLowerCase();let A=o(r),a=`${r}1`;for(let e=0;e<t.length;++e){const r=t[e];if(r>>5!=0)throw new Error("Non 5-bit word");A=i(A)^r,a+=n.charAt(r)}for(let e=0;e<6;++e)A=i(A);A^=1;for(let e=0;e<6;++e){a+=n.charAt(A>>5*(5-e)&31)}return a},t.decode=e=>{const t=e.toLowerCase(),r=e.toUpperCase();if(e!==t&&e!==r)throw new Error(`Mixed-case string ${e}`);const n=t;if(n.length<8)throw new TypeError(`${n} too short`);const a=n.lastIndexOf("1");if(-1===a)throw new Error(`No separator character for ${n}`);if(0===a)throw new Error(`Missing prefix for ${n}`);const s=n.slice(0,a),u=n.slice(a+1);if(u.length<6)throw new Error("Data too short");let l=o(s);const c=[];if(u.split("").forEach((e,t)=>{const r=u.charAt(t),n=A.get(r);if(void 0===n)throw new Error(`Unknown character ${r}`);l=i(l)^n,t+6<u.length&&c.push(n)}),1!==l)throw new Error(`Invalid checksum for ${n}`);return{prefix:s,words:c}};const a=(e,t,r,n)=>{let A=0,i=0;const o=(1<<r)-1,a=[];for(let n=0;n<e.length;++n)for(A=A<<t|e[n],i+=t;i>=r;)i-=r,a.push(A>>i&o);if(n)i>0&&a.push(A<<r-i&o);else{if(i>=t)throw new Error("Excess padding");if(A<<r-i&o)throw new Error("Non-zero padding")}return new Uint8Array(a)};t.toWords=e=>a(e,8,5,!0),t.fromWords=e=>a(e,5,8,!1),t.default={decode:t.decode,encode:t.encode,toWords:t.toWords,fromWords:t.fromWords}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const A=n(r(979)),i=r(91);t.blake160=(e,t="binary")=>{const r="string"==typeof e?i.hexToBytes(e):e,n=A.default(32,null,null,i.PERSONAL);return n.update(r),n.digest(t).slice(0,"binary"===t?20:40)},t.default=t.blake160},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(980),A=r(91),i=r(535);t.serializeVersion=e=>A.toHexInLittleEndian(e),t.serializeOutPoint=e=>{if(!e)return"";const t=new Map([["txHash",e.txHash],["index",A.toHexInLittleEndian(e.index)]]);return i.serializeStruct(t)},t.serializeDepType=e=>{if("code"===e)return"0x00";if("depGroup"===e)return"0x01";throw new TypeError("Dep type must be either of 'code' or 'depGroup'")},t.serializeCellDep=e=>{const r=t.serializeOutPoint(e.outPoint),n=t.serializeDepType(e.depType),A=new Map([["outPoint",r],["depType",n]]);return i.serializeStruct(A)},t.serializeCellDeps=e=>{const r=e.map(e=>t.serializeCellDep(e));return i.serializeFixVec(r)},t.serializeHeaderDeps=e=>{const t=e.map(e=>i.serializeArray(e));return i.serializeFixVec(t)},t.serializeInput=e=>{const r=t.serializeOutPoint(e.previousOutput),n=A.toHexInLittleEndian(e.since,8),o=new Map([["since",n],["previousOutput",r]]);return i.serializeStruct(o)},t.serializeInputs=e=>{const r=e.map(e=>t.serializeInput(e));return i.serializeFixVec(r)},t.serializeOutput=e=>{const t=A.toHexInLittleEndian(e.capacity,8),r=n.serializeScript(e.lock),o=e.type?n.serializeScript(e.type):"",a=new Map([["capacity",t],["lock",r],["type",o]]);return i.serializeTable(a)},t.serializeOutputs=e=>{const r=e.map(e=>t.serializeOutput(e));return i.serializeDynVec(r)},t.serializeOutputsData=e=>{const t=e.map(e=>i.serializeFixVec(e));return i.serializeDynVec(t)},t.serializeWitnessArgs=e=>{const[t,r,n]=[e.lock,e.inputType,e.outputType].map(e=>"0x"===i.serializeOption(e)?"0x":i.serializeFixVec(e)),A=new Map([["lock",t],["inputType",r],["outputType",n]]);return i.serializeTable(A)},t.serializeWitnesses=e=>{const t=e.map(e=>i.serializeFixVec(e));return i.serializeDynVec(t)},t.serializeRawTransaction=e=>{const r=t.serializeVersion(e.version),n=t.serializeCellDeps(e.cellDeps),A=t.serializeHeaderDeps(e.headerDeps),o=t.serializeInputs(e.inputs),a=t.serializeOutputs(e.outputs),s=t.serializeOutputsData(e.outputsData),u=new Map([["version",r],["cellDeps",n],["headerDeps",A],["inputs",o],["outputs",a],["outputsData",s]]);return i.serializeTable(u)},t.serializeTransaction=e=>{const r=t.serializeRawTransaction(e),n=t.serializeWitnesses(e.witnesses||[]),A=new Map([["raw",r],["witnesses",n]]);return i.serializeTable(A)}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const A=n(r(1830));t.default=class{constructor(e,t){this.options={name:"",method:"",paramsFormatters:[],resultFormatters:void 0},this.call=(...e)=>{const t=e.map((e,t)=>this.options.paramsFormatters[t]&&this.options.paramsFormatters[t](e)||e),r=Math.round(1e4*Math.random()),n={id:r,method:this.options.method,params:t,jsonrpc:"2.0"};return A.default({method:"POST",headers:{"content-type":"application/json"},data:n,url:this.node.url,httpAgent:this.node.httpAgent,httpsAgent:this.node.httpsAgent}).then(e=>{if(e.data.id!==r)throw new Error("JSONRPC id not match");if(e.data.error)throw new Error(JSON.stringify(e.data.error));return this.options.resultFormatters?this.options.resultFormatters(e.data.result):e.data.result})},this.node=e,this.options=t}}},function(e,t,r){e.exports=r(1831)},function(e,t,r){"use strict";var n=r(102),A=r(982),i=r(1833),o=r(988);function a(e){var t=new i(e),r=A(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var s=a(r(985));s.Axios=i,s.create=function(e){return a(o(s.defaults,e))},s.Cancel=r(989),s.CancelToken=r(1845),s.isCancel=r(984),s.all=function(e){return Promise.all(e)},s.spread=r(1846),e.exports=s,e.exports.default=s},function(e,t){
/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */
e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},function(e,t,r){"use strict";var n=r(102),A=r(983),i=r(1834),o=r(1835),a=r(988);function s(e){this.defaults=e,this.interceptors={request:new i,response:new i}}s.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method=e.method?e.method.toLowerCase():"get";var t=[o,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)r=r.then(t.shift(),t.shift());return r},s.prototype.getUri=function(e){return e=a(this.defaults,e),A(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],function(e){s.prototype[e]=function(t,r){return this.request(n.merge(r||{},{method:e,url:t}))}}),n.forEach(["post","put","patch"],function(e){s.prototype[e]=function(t,r,A){return this.request(n.merge(A||{},{method:e,url:t,data:r}))}}),e.exports=s},function(e,t,r){"use strict";var n=r(102);function A(){this.handlers=[]}A.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},A.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},A.prototype.forEach=function(e){n.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=A},function(e,t,r){"use strict";var n=r(102),A=r(1836),i=r(984),o=r(985),a=r(1843),s=r(1844);function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return u(e),e.baseURL&&!a(e.url)&&(e.url=s(e.baseURL,e.url)),e.headers=e.headers||{},e.data=A(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),n.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||o.adapter)(e).then(function(t){return u(e),t.data=A(t.data,t.headers,e.transformResponse),t},function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=A(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,r){"use strict";var n=r(102);e.exports=function(e,t,r){return n.forEach(r,function(r){e=r(e,t)}),e}},function(e,t,r){"use strict";var n=r(102);e.exports=function(e,t){n.forEach(e,function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])})}},function(e,t,r){"use strict";var n=r(987);e.exports=function(e,t,r){var A=r.config.validateStatus;!A||A(r.status)?e(r):t(n("Request failed with status code "+r.status,r.config,null,r.request,r))}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,A){return e.config=t,r&&(e.code=r),e.request=n,e.response=A,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,r){"use strict";var n=r(102),A=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,o={};return e?(n.forEach(e.split("\n"),function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(o[t]&&A.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([r]):o[t]?o[t]+", "+r:r}}),o):o}},function(e,t,r){"use strict";var n=r(102);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function A(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=A(window.location.href),function(t){var r=n.isString(t)?A(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(102);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,A,i,o){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(A)&&a.push("path="+A),n.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(989);function A(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var r=this;e(function(e){r.reason||(r.reason=new n(e),t(r.reason))})}A.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},A.source=function(){var e;return{token:new A(function(t){e=t}),cancel:e}},e.exports=A},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var A=0;for(n=Object.getOwnPropertySymbols(e);A<n.length;A++)t.indexOf(n[A])<0&&Object.prototype.propertyIsEnumerable.call(e,n[A])&&(r[n[A]]=e[n[A]])}return r};Object.defineProperty(t,"__esModule",{value:!0});const A=r(91),i=r(354),o=`0x${61e8.toString(16)}`;t.default=e=>{var{fee:t="0x0",changePublicKeyHash:r,safeMode:a=!0,deps:s,capacityThreshold:u=o,changeThreshold:l=o}=e,c=n(e,["fee","changePublicKeyHash","safeMode","deps","capacityThreshold","changeThreshold"]);if(!s)throw new Error("The deps is not loaded");const f={codeHash:s.codeHash,hashType:s.hashType};i.assertToBeHexStringOrBigint(t),i.assertToBeHexStringOrBigint(u),i.assertToBeHexStringOrBigint(l);const d=A.JSBI.BigInt(`${t}`),g=A.JSBI.BigInt(`${u}`),h=A.JSBI.BigInt(`${l}`),p="fromPublicKeyHash"in c?[c.fromPublicKeyHash]:c.fromPublicKeyHashes,I="toPublicKeyHash"in c?[{publicKeyHash:c.toPublicKeyHash,capacity:c.capacity}]:c.receivePairs;let B=new Map;if("fromPublicKeyHash"in c){const e=A.scriptToHash(Object.assign(Object.assign({},f),{args:c.fromPublicKeyHash}));B.set(e,c.cells||[])}else B=c.cells;const C=I.map(e=>{const t=A.JSBI.BigInt(`${e.capacity}`);if(A.JSBI.lessThan(t,g))throw new Error(`Capacity should not be less than ${g} shannon`);return{capacity:t,lock:Object.assign(Object.assign({},f),{args:e.publicKeyHash})}}),m={capacity:A.JSBI.BigInt(0),lock:Object.assign(Object.assign({},f),{args:r||p[0]})},y=C.reduce((e,t)=>A.JSBI.add(e,t.capacity),A.JSBI.BigInt(0)),Q=A.JSBI.add(A.JSBI.add(y,d),h),w=[];let E=A.JSBI.BigInt(0);for(let e=0;e<p.length;e++){const t=p[e],r=A.scriptToHash(Object.assign(Object.assign({},f),{args:t})),n=B.get(r)||[];for(let e=0;e<n.length;e++){const t=n[e];if((!a||"0x0000000000000000000000000000000000000000000000000000000000000000"===t.dataHash&&!t.type)&&(w.push({previousOutput:t.outPoint,since:"0x0"}),E=A.JSBI.add(E,A.JSBI.BigInt(t.capacity)),A.JSBI.greaterThan(E,Q)))break}if(A.JSBI.greaterThan(E,Q))break}if(A.JSBI.lessThan(E,Q))throw new Error("Input capacity is not enough");A.JSBI.greaterThan(E,A.JSBI.add(y,d))&&(m.capacity=A.JSBI.subtract(A.JSBI.subtract(E,y),d));const b=C.map(e=>Object.assign(Object.assign({},e),{capacity:`0x${e.capacity.toString(16)}`}));A.JSBI.greaterThan(m.capacity,A.JSBI.BigInt(0))&&b.push(Object.assign(Object.assign({},m),{capacity:`0x${m.capacity.toString(16)}`}));const v=b.map(()=>"0x");return{version:"0x0",cellDeps:[{outPoint:s.outPoint,depType:"depGroup"}],headerDeps:[],inputs:w,outputs:b,witnesses:[],outputsData:v}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(A,i){function o(e){try{s(n.next(e))}catch(e){i(e)}}function a(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?A(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(o,a)}s((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});const A=r(354),i=r(91),o=r(161),a=(e,t)=>i.JSBI.greaterThan(e,t)?t:e;t.default=({lockHash:e,start:t="0x0",end:r,STEP:s="0x64",rpc:u})=>n(void 0,void 0,void 0,function*(){if(console.warn("This method is only for demo, don't use it in production"),!e)throw new o.ArgumentRequired("lockHash");if(!u)throw new o.ArgumentRequired("RPC object");A.assertToBeHexStringOrBigint(t),void 0!==r&&A.assertToBeHexStringOrBigint(r);const n=i.JSBI.BigInt(`${t}`),l=yield u.getTipBlockNumber().then(e=>i.JSBI.BigInt(e));let c=void 0===r?l:a(i.JSBI.BigInt(`${r}`),l);if(c=a(c,l),i.JSBI.lessThan(c,n))throw new Error(`start(${t}) should not be less than end(${c})`);const f=i.JSBI.subtract(c,n),d=i.JSBI.greaterThan(f,i.JSBI.BigInt(0))?Array.from({length:Math.ceil(i.JSBI.toNumber(f)/Number(s))},(e,t)=>[i.JSBI.add(i.JSBI.add(n,i.JSBI.multiply(i.JSBI.BigInt(t),i.JSBI.BigInt(`${s}`))),t?i.JSBI.BigInt(1):i.JSBI.BigInt(0)),a(i.JSBI.add(n,i.JSBI.multiply(i.JSBI.BigInt(t+1),i.JSBI.BigInt(`${s}`))),c)]):[[n,c]],g=[];for(let t=0;t<d.length;t++){const r=yield u.getCellsByLockHash(e,`0x${d[t][0].toString(16)}`,`0x${d[t][1].toString(16)}`),n=yield Promise.all(r.map(e=>u.getLiveCell(e.outPoint,!0)));g.push(...r.map((e,t)=>Object.assign(Object.assign({},e),{dataHash:n[t].cell.data.hash,status:n[t].status,type:n[t].cell.output.type})).filter(e=>"live"===e.status))}return g})},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const A=r(161),i=n(r(1850)),o=n(r(1851));t.isMap=e=>void 0!==e.size;t.default=e=>({transactionHash:r,witnesses:n=[],inputCells:a=[]})=>{if(!e)throw new A.ArgumentRequired("Private key");if(!r)throw new A.ArgumentRequired("Transaction hash");if(!n.length)throw new Error("Witnesses is empty");if(t.isMap(e)){const t=n,A=n.slice(a.length);return o.default(a).forEach((o,a)=>{const s=e.get(a);if(!s)throw new Error(`The private key to sign lockhash ${a} is not found`);const u=[...o.map(e=>n[e]),...A],l=i.default(s,r,u)[0];t[o[0]]=l}),t}return i.default(e,r,n)}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const A=r(91),i=n(r(977));t.default=(e,t,r)=>{if(!r.length)throw new Error("WitnessGroup cannot be empty");if("object"!=typeof r[0])throw new Error("The first witness in the group should be type of WitnessArgs");const n=Object.assign(Object.assign({},r[0]),{lock:`0x${"0".repeat(130)}`}),o=A.hexToBytes(A.serializeWitnessArgs(n)),a=o.length,s=A.blake2b(32,null,null,A.PERSONAL);s.update(A.hexToBytes(t)),s.update(A.hexToBytes(A.toHexInLittleEndian(`0x${a.toString(16)}`,8))),s.update(o),r.slice(1).forEach(e=>{const t=A.hexToBytes("string"==typeof e?e:A.serializeWitnessArgs(e));s.update(A.hexToBytes(A.toHexInLittleEndian(`0x${t.length.toString(16)}`,8))),s.update(t)});const u=`0x${s.digest("hex")}`,l=new i.default(e);return n.lock=l.signRecoverable(u),[A.serializeWitnessArgs(n),...r.slice(1)]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(91);t.groupScripts=e=>{const t=new Map;return e.forEach((e,r)=>{const A=n.scriptToHash(e.lock),i=t.get(A)||[];t.set(A,[...i,r])}),t},t.default=t.groupScripts},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(91);t.calculateLockEpochs=({withdrawEpoch:e,depositEpoch:t,DAO_LOCK_PERIOD_EPOCHS:r})=>{const A=n.JSBI.multiply(n.JSBI.BigInt(e.index),n.JSBI.BigInt(t.length)),i=n.JSBI.multiply(n.JSBI.BigInt(t.index),n.JSBI.BigInt(e.length));let o=n.JSBI.subtract(n.JSBI.BigInt(e.number),n.JSBI.BigInt(t.number));return n.JSBI.greaterThan(A,i)&&(o=n.JSBI.add(o,n.JSBI.BigInt(1))),n.JSBI.lessThan(o,n.JSBI.BigInt(r))?n.JSBI.BigInt(r):n.JSBI.multiply(n.JSBI.divide(n.JSBI.add(o,n.JSBI.BigInt(r-1)),n.JSBI.BigInt(r)),n.JSBI.BigInt(r))},t.default={calculateLockEpochs:t.calculateLockEpochs}},function(e,t,r){(function(e){const t=r(72);e.crypto||(e.crypto={}),e.crypto.getRandomValues||(e.crypto.getRandomValues=function(e){return t.randomBytes(e.length).reduce((e,t,r)=>(e[r]=t,e),e)})}).call(this,r(34))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.cryptoIsReady=function(){return A.default.isReady()},t.cryptoWaitReady=i;var A=n(r(70));function i(){return A.default.waitReady().then(()=>!0).catch(e=>(console.error("Unable to initialize @polkadot/util-crypto",e),!1))}i().catch(()=>{})},function(e,t,r){const n=r(1856),A=r(1857),i=r(1858),o=r(991);e.exports=async function(){try{const{instance:e}=await WebAssembly.instantiate(i,{"./wasm":o});return e.exports}catch(e){return A&&A.ext_blake2b?A:(console.error(`ERROR: Unable to initialize ${n.name} ${n.version}`),console.error(e),null)}}},function(e){e.exports=JSON.parse('{"_from":"@polkadot/wasm-crypto@^1.2.1","_id":"@polkadot/wasm-crypto@1.2.1","_inBundle":false,"_integrity":"sha512-nckIoZBV4nBZdeKwFwH5t7skS7L7GO5EFUl5B1F6uCjUfdNpDz3DtqbYQHcLdCZNmG4TDLg6w/1J+rkl2SiUZw==","_location":"/@polkadot/wasm-crypto","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"@polkadot/wasm-crypto@^1.2.1","name":"@polkadot/wasm-crypto","escapedName":"@polkadot%2fwasm-crypto","scope":"@polkadot","rawSpec":"^1.2.1","saveSpec":null,"fetchSpec":"^1.2.1"},"_requiredBy":["/@polkadot/util-crypto"],"_resolved":"https://registry.npmjs.org/@polkadot/wasm-crypto/-/wasm-crypto-1.2.1.tgz","_shasum":"2189702447acd28d763886359576c87562241767","_spec":"@polkadot/wasm-crypto@^1.2.1","_where":"/Users/Forrest/Desktop/zhiyou/VUE/mathwalletplus/node_modules/@polkadot/util-crypto","author":{"name":"Jaco Greeff","email":"jacogr@gmail.com"},"bundleDependencies":false,"deprecated":false,"description":"Wrapper around crypto hashing functions","devDependencies":{"@polkadot/dev":"^0.50.8"},"files":["crypto-polyfill.js","exports.js","index.d.ts","index.js","wasm.d.ts","wasm.js","wasm_asm.js","wasm_asm_stub.js","wasm_promise.js","wasm_wasm.js"],"main":"index.js","name":"@polkadot/wasm-crypto","peerDependencies":{"@polkadot/util":"*"},"react-native":{"./wasm_asm_stub.js":"./wasm_asm.js"},"types":"index.d.ts","version":"1.2.1"}')},function(e,t){e.exports={}},function(e,t,r){(function(t){e.exports=t.from(" ","base64")}).call(this,r(8).Buffer)},function(e,t,r){const{assert:n}=r(12);e.exports=function(e){const t=t=>(...r)=>(n(e.isReady(),"@polkadot/wasm-crypto has not been initialized"),t(...r));return{bip39Generate:t(e.ext_bip39_generate),bip39ToEntropy:t(e.ext_bip39_to_entropy),bip39ToMiniSecret:t(e.ext_bip39_to_mini_secret),bip39ToSeed:t(e.ext_bip39_to_seed),bip39Validate:t(e.ext_bip39_validate),ed25519KeypairFromSeed:t(e.ext_ed_from_seed),ed25519Sign:t(e.ext_ed_sign),ed25519Verify:t(e.ext_ed_verify),sr25519DeriveKeypairHard:t(e.ext_sr_derive_keypair_hard),sr25519DeriveKeypairSoft:t(e.ext_sr_derive_keypair_soft),sr25519DerivePublicSoft:t(e.ext_sr_derive_public_soft),sr25519KeypairFromSeed:t(e.ext_sr_from_seed),sr25519Sign:t(e.ext_sr_sign),sr25519Verify:t(e.ext_sr_verify),blake2b:t(e.ext_blake2b),keccak256:t(e.ext_keccak256),pbkdf2:t(e.ext_pbkdf2),sha512:t(e.ext_sha512),twox:t(e.ext_twox),isReady:e.isReady,waitReady:e.waitReady}}},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"checkAddress",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"checkAddressChecksum",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"decodeAddress",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"encodeAddress",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"setSS58Format",{enumerable:!0,get:function(){return s.default}});var A=n(r(1861)),i=n(r(536)),o=n(r(537)),a=n(r(1863)),s=n(r(1864))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=A.default.decode(e);if(r[0]!==t)return[!1,"Prefix mismatch, expected ".concat(t,", found ").concat(r[0])];if(!o.default.allowedEncodedLengths.includes(r.length))return[!1,"Invalid decoded address length"];const[n]=(0,i.default)(r);return[n,n?null:"Invalid decoded address checksum"]};var A=n(r(151)),i=n(r(536)),o=n(r(355))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.allowedSS58=void 0;t.allowedSS58=[0,1,2,3,20,42,43,68,69]},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=a.default.prefix){const r=(0,o.default)(e);(0,i.assert)(a.default.allowedDecodedLengths.includes(r.length),"Expected a valid key to convert, with length ".concat(a.default.allowedDecodedLengths));const n=32===r.length,u=(0,i.u8aConcat)(new Uint8Array([t]),r),l=(0,s.default)(u);return A.default.encode((0,i.u8aToBuffer)((0,i.u8aConcat)(u,l.subarray(0,n?2:1))))};var A=n(r(151)),i=r(12),o=n(r(537)),a=n(r(355)),s=n(r(992))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){A.default.prefix=e};var A=n(r(355))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"blake2AsHex",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"blake2AsU8a",{enumerable:!0,get:function(){return i.default}});var A=n(r(1866)),i=n(r(240))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=256){return(0,A.u8aToHex)((0,i.default)(e,t))};var A=r(12),i=n(r(240))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"keccakAsHex",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"keccakAsU8a",{enumerable:!0,get:function(){return i.default}});var A=n(r(1868)),i=n(r(993))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.u8aToHex)((0,i.default)(e))};var A=r(12),i=n(r(993))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"keyExtractPath",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"keyExtractSuri",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"keyFromPath",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"keyHdkdEd25519",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"keyHdkdSr25519",{enumerable:!0,get:function(){return a.default}});var A=n(r(994)),i=n(r(1873)),o=n(r(1874)),a=n(r(995))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(1871)),i=n(r(1872)),o=r(12),a=n(r(240));const s=/^\d+$/,u=32,l={bitLength:256,isLe:!0};class c{constructor(){Object.defineProperty(this,f,{writable:!0,value:new Uint8Array(32)}),Object.defineProperty(this,d,{writable:!0,value:!1})}static from(e){const[t,r]=e.startsWith("/")?[e.substr(1),!0]:[e,!1],n=new c;return n.soft(s.test(t)?parseInt(t,10):t),r?n.harden():n}get chainCode(){return(0,A.default)(this,f)[f]}get isHard(){return(0,A.default)(this,d)[d]}get isSoft(){return!(0,A.default)(this,d)[d]}hard(e){return this.soft(e).harden()}harden(){return(0,A.default)(this,d)[d]=!0,this}soft(e){return(0,o.isNumber)(e)||(0,o.isBn)(e)?this.soft((0,o.bnToHex)(e,l)):(0,o.isString)(e)?(0,o.isHex)(e)?this.soft((0,o.hexToU8a)(e)):this.soft((0,o.compactAddLength)((0,o.stringToU8a)(e))):e.length>u?this.soft((0,a.default)(e)):((0,A.default)(this,f)[f].fill(0),(0,A.default)(this,f)[f].set(e,0),this)}soften(){return(0,A.default)(this,d)[d]=!1,this}}t.default=c;var f=(0,i.default)("chainCode"),d=(0,i.default)("isHard")},function(e,t){e.exports=function(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}},function(e,t){var r=0;e.exports=function(e){return"__private_"+r+++"_"+e}},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.match(o);(0,A.assert)(!(0,A.isNull)(t),"Unable to match '".concat(e,"' to a secret URI"));const[,r,,n,,,a]=t,{path:s}=(0,i.default)(n);return{password:a,path:s,phrase:r}};var A=r(12),i=n(r(994));const o=/^(\w+( \w+)*)((\/\/?[^\/]+)*)(\/\/\/(.*))?$/},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const n="ed25519"===r;return t.reduce((e,t)=>n?(0,A.default)(e,t):(0,i.default)(e,t),e)};var A=n(r(995)),i=n(r(1876))},function(e,t){},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{chainCode:t,isSoft:r}){return r?(0,i.default)(e,t):(0,A.default)(e,t)};var A=n(r(997)),i=n(r(999))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"mnemonicGenerate",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"mnemonicToEntropy",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"mnemonicToMiniSecret",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"mnemonicToSeed",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"mnemonicValidate",{enumerable:!0,get:function(){return s.default}}),r(115);var A=n(r(1878)),i=n(r(1001)),o=n(r(1887)),a=n(r(1888)),s=n(r(1889))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e=12){return(0,A.isReady)()?(0,A.bip39Generate)(e):(0,n.generateMnemonic)(i[e])},r(115);var n=r(356),A=r(70);const i={12:128,15:160,18:192,21:224,24:256}},function(e){e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","这","中","大","为","上","个","国","我","以","要","他","时","来","用","们","生","到","作","地","于","出","就","分","对","成","会","可","主","发","年","动","同","工","也","能","下","过","子","说","产","种","面","而","方","后","多","定","行","学","法","所","民","得","经","十","三","之","进","着","等","部","度","家","电","力","里","如","水","化","高","自","二","理","起","小","物","现","实","加","量","都","两","体","制","机","当","使","点","从","业","本","去","把","性","好","应","开","它","合","还","因","由","其","些","然","前","外","天","政","四","日","那","社","义","事","平","形","相","全","表","间","样","与","关","各","重","新","线","内","数","正","心","反","你","明","看","原","又","么","利","比","或","但","质","气","第","向","道","命","此","变","条","只","没","结","解","问","意","建","月","公","无","系","军","很","情","者","最","立","代","想","已","通","并","提","直","题","党","程","展","五","果","料","象","员","革","位","入","常","文","总","次","品","式","活","设","及","管","特","件","长","求","老","头","基","资","边","流","路","级","少","图","山","统","接","知","较","将","组","见","计","别","她","手","角","期","根","论","运","农","指","几","九","区","强","放","决","西","被","干","做","必","战","先","回","则","任","取","据","处","队","南","给","色","光","门","即","保","治","北","造","百","规","热","领","七","海","口","东","导","器","压","志","世","金","增","争","济","阶","油","思","术","极","交","受","联","什","认","六","共","权","收","证","改","清","美","再","采","转","更","单","风","切","打","白","教","速","花","带","安","场","身","车","例","真","务","具","万","每","目","至","达","走","积","示","议","声","报","斗","完","类","八","离","华","名","确","才","科","张","信","马","节","话","米","整","空","元","况","今","集","温","传","土","许","步","群","广","石","记","需","段","研","界","拉","林","律","叫","且","究","观","越","织","装","影","算","低","持","音","众","书","布","复","容","儿","须","际","商","非","验","连","断","深","难","近","矿","千","周","委","素","技","备","半","办","青","省","列","习","响","约","支","般","史","感","劳","便","团","往","酸","历","市","克","何","除","消","构","府","称","太","准","精","值","号","率","族","维","划","选","标","写","存","候","毛","亲","快","效","斯","院","查","江","型","眼","王","按","格","养","易","置","派","层","片","始","却","专","状","育","厂","京","识","适","属","圆","包","火","住","调","满","县","局","照","参","红","细","引","听","该","铁","价","严","首","底","液","官","德","随","病","苏","失","尔","死","讲","配","女","黄","推","显","谈","罪","神","艺","呢","席","含","企","望","密","批","营","项","防","举","球","英","氧","势","告","李","台","落","木","帮","轮","破","亚","师","围","注","远","字","材","排","供","河","态","封","另","施","减","树","溶","怎","止","案","言","士","均","武","固","叶","鱼","波","视","仅","费","紧","爱","左","章","早","朝","害","续","轻","服","试","食","充","兵","源","判","护","司","足","某","练","差","致","板","田","降","黑","犯","负","击","范","继","兴","似","余","坚","曲","输","修","故","城","夫","够","送","笔","船","占","右","财","吃","富","春","职","觉","汉","画","功","巴","跟","虽","杂","飞","检","吸","助","升","阳","互","初","创","抗","考","投","坏","策","古","径","换","未","跑","留","钢","曾","端","责","站","简","述","钱","副","尽","帝","射","草","冲","承","独","令","限","阿","宣","环","双","请","超","微","让","控","州","良","轴","找","否","纪","益","依","优","顶","础","载","倒","房","突","坐","粉","敌","略","客","袁","冷","胜","绝","析","块","剂","测","丝","协","诉","念","陈","仍","罗","盐","友","洋","错","苦","夜","刑","移","频","逐","靠","混","母","短","皮","终","聚","汽","村","云","哪","既","距","卫","停","烈","央","察","烧","迅","境","若","印","洲","刻","括","激","孔","搞","甚","室","待","核","校","散","侵","吧","甲","游","久","菜","味","旧","模","湖","货","损","预","阻","毫","普","稳","乙","妈","植","息","扩","银","语","挥","酒","守","拿","序","纸","医","缺","雨","吗","针","刘","啊","急","唱","误","训","愿","审","附","获","茶","鲜","粮","斤","孩","脱","硫","肥","善","龙","演","父","渐","血","欢","械","掌","歌","沙","刚","攻","谓","盾","讨","晚","粒","乱","燃","矛","乎","杀","药","宁","鲁","贵","钟","煤","读","班","伯","香","介","迫","句","丰","培","握","兰","担","弦","蛋","沉","假","穿","执","答","乐","谁","顺","烟","缩","征","脸","喜","松","脚","困","异","免","背","星","福","买","染","井","概","慢","怕","磁","倍","祖","皇","促","静","补","评","翻","肉","践","尼","衣","宽","扬","棉","希","伤","操","垂","秋","宜","氢","套","督","振","架","亮","末","宪","庆","编","牛","触","映","雷","销","诗","座","居","抓","裂","胞","呼","娘","景","威","绿","晶","厚","盟","衡","鸡","孙","延","危","胶","屋","乡","临","陆","顾","掉","呀","灯","岁","措","束","耐","剧","玉","赵","跳","哥","季","课","凯","胡","额","款","绍","卷","齐","伟","蒸","殖","永","宗","苗","川","炉","岩","弱","零","杨","奏","沿","露","杆","探","滑","镇","饭","浓","航","怀","赶","库","夺","伊","灵","税","途","灭","赛","归","召","鼓","播","盘","裁","险","康","唯","录","菌","纯","借","糖","盖","横","符","私","努","堂","域","枪","润","幅","哈","竟","熟","虫","泽","脑","壤","碳","欧","遍","侧","寨","敢","彻","虑","斜","薄","庭","纳","弹","饲","伸","折","麦","湿","暗","荷","瓦","塞","床","筑","恶","户","访","塔","奇","透","梁","刀","旋","迹","卡","氯","遇","份","毒","泥","退","洗","摆","灰","彩","卖","耗","夏","择","忙","铜","献","硬","予","繁","圈","雪","函","亦","抽","篇","阵","阴","丁","尺","追","堆","雄","迎","泛","爸","楼","避","谋","吨","野","猪","旗","累","偏","典","馆","索","秦","脂","潮","爷","豆","忽","托","惊","塑","遗","愈","朱","替","纤","粗","倾","尚","痛","楚","谢","奋","购","磨","君","池","旁","碎","骨","监","捕","弟","暴","割","贯","殊","释","词","亡","壁","顿","宝","午","尘","闻","揭","炮","残","冬","桥","妇","警","综","招","吴","付","浮","遭","徐","您","摇","谷","赞","箱","隔","订","男","吹","园","纷","唐","败","宋","玻","巨","耕","坦","荣","闭","湾","键","凡","驻","锅","救","恩","剥","凝","碱","齿","截","炼","麻","纺","禁","废","盛","版","缓","净","睛","昌","婚","涉","筒","嘴","插","岸","朗","庄","街","藏","姑","贸","腐","奴","啦","惯","乘","伙","恢","匀","纱","扎","辩","耳","彪","臣","亿","璃","抵","脉","秀","萨","俄","网","舞","店","喷","纵","寸","汗","挂","洪","贺","闪","柬","爆","烯","津","稻","墙","软","勇","像","滚","厘","蒙","芳","肯","坡","柱","荡","腿","仪","旅","尾","轧","冰","贡","登","黎","削","钻","勒","逃","障","氨","郭","峰","币","港","伏","轨","亩","毕","擦","莫","刺","浪","秘","援","株","健","售","股","岛","甘","泡","睡","童","铸","汤","阀","休","汇","舍","牧","绕","炸","哲","磷","绩","朋","淡","尖","启","陷","柴","呈","徒","颜","泪","稍","忘","泵","蓝","拖","洞","授","镜","辛","壮","锋","贫","虚","弯","摩","泰","幼","廷","尊","窗","纲","弄","隶","疑","氏","宫","姐","震","瑞","怪","尤","琴","循","描","膜","违","夹","腰","缘","珠","穷","森","枝","竹","沟","催","绳","忆","邦","剩","幸","浆","栏","拥","牙","贮","礼","滤","钠","纹","罢","拍","咱","喊","袖","埃","勤","罚","焦","潜","伍","墨","欲","缝","姓","刊","饱","仿","奖","铝","鬼","丽","跨","默","挖","链","扫","喝","袋","炭","污","幕","诸","弧","励","梅","奶","洁","灾","舟","鉴","苯","讼","抱","毁","懂","寒","智","埔","寄","届","跃","渡","挑","丹","艰","贝","碰","拔","爹","戴","码","梦","芽","熔","赤","渔","哭","敬","颗","奔","铅","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","仓","魏","锐","晓","氮","兼","隐","碍","赫","拨","忠","肃","缸","牵","抢","博","巧","壳","兄","杜","讯","诚","碧","祥","柯","页","巡","矩","悲","灌","龄","伦","票","寻","桂","铺","圣","恐","恰","郑","趣","抬","荒","腾","贴","柔","滴","猛","阔","辆","妻","填","撤","储","签","闹","扰","紫","砂","递","戏","吊","陶","伐","喂","疗","瓶","婆","抚","臂","摸","忍","虾","蜡","邻","胸","巩","挤","偶","弃","槽","劲","乳","邓","吉","仁","烂","砖","租","乌","舰","伴","瓜","浅","丙","暂","燥","橡","柳","迷","暖","牌","秧","胆","详","簧","踏","瓷","谱","呆","宾","糊","洛","辉","愤","竞","隙","怒","粘","乃","绪","肩","籍","敏","涂","熙","皆","侦","悬","掘","享","纠","醒","狂","锁","淀","恨","牲","霸","爬","赏","逆","玩","陵","祝","秒","浙","貌","役","彼","悉","鸭","趋","凤","晨","畜","辈","秩","卵","署","梯","炎","滩","棋","驱","筛","峡","冒","啥","寿","译","浸","泉","帽","迟","硅","疆","贷","漏","稿","冠","嫩","胁","芯","牢","叛","蚀","奥","鸣","岭","羊","凭","串","塘","绘","酵","融","盆","锡","庙","筹","冻","辅","摄","袭","筋","拒","僚","旱","钾","鸟","漆","沈","眉","疏","添","棒","穗","硝","韩","逼","扭","侨","凉","挺","碗","栽","炒","杯","患","馏","劝","豪","辽","勃","鸿","旦","吏","拜","狗","埋","辊","掩","饮","搬","骂","辞","勾","扣","估","蒋","绒","雾","丈","朵","姆","拟","宇","辑","陕","雕","偿","蓄","崇","剪","倡","厅","咬","驶","薯","刷","斥","番","赋","奉","佛","浇","漫","曼","扇","钙","桃","扶","仔","返","俗","亏","腔","鞋","棱","覆","框","悄","叔","撞","骗","勘","旺","沸","孤","吐","孟","渠","屈","疾","妙","惜","仰","狠","胀","谐","抛","霉","桑","岗","嘛","衰","盗","渗","脏","赖","涌","甜","曹","阅","肌","哩","厉","烃","纬","毅","昨","伪","症","煮","叹","钉","搭","茎","笼","酷","偷","弓","锥","恒","杰","坑","鼻","翼","纶","叙","狱","逮","罐","络","棚","抑","膨","蔬","寺","骤","穆","冶","枯","册","尸","凸","绅","坯","牺","焰","轰","欣","晋","瘦","御","锭","锦","丧","旬","锻","垄","搜","扑","邀","亭","酯","迈","舒","脆","酶","闲","忧","酚","顽","羽","涨","卸","仗","陪","辟","惩","杭","姚","肚","捉","飘","漂","昆","欺","吾","郎","烷","汁","呵","饰","萧","雅","邮","迁","燕","撒","姻","赴","宴","烦","债","帐","斑","铃","旨","醇","董","饼","雏","姿","拌","傅","腹","妥","揉","贤","拆","歪","葡","胺","丢","浩","徽","昂","垫","挡","览","贪","慰","缴","汪","慌","冯","诺","姜","谊","凶","劣","诬","耀","昏","躺","盈","骑","乔","溪","丛","卢","抹","闷","咨","刮","驾","缆","悟","摘","铒","掷","颇","幻","柄","惠","惨","佳","仇","腊","窝","涤","剑","瞧","堡","泼","葱","罩","霍","捞","胎","苍","滨","俩","捅","湘","砍","霞","邵","萄","疯","淮","遂","熊","粪","烘","宿","档","戈","驳","嫂","裕","徙","箭","捐","肠","撑","晒","辨","殿","莲","摊","搅","酱","屏","疫","哀","蔡","堵","沫","皱","畅","叠","阁","莱","敲","辖","钩","痕","坝","巷","饿","祸","丘","玄","溜","曰","逻","彭","尝","卿","妨","艇","吞","韦","怨","矮","歇"]')},function(e){e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","這","中","大","為","上","個","國","我","以","要","他","時","來","用","們","生","到","作","地","於","出","就","分","對","成","會","可","主","發","年","動","同","工","也","能","下","過","子","說","產","種","面","而","方","後","多","定","行","學","法","所","民","得","經","十","三","之","進","著","等","部","度","家","電","力","裡","如","水","化","高","自","二","理","起","小","物","現","實","加","量","都","兩","體","制","機","當","使","點","從","業","本","去","把","性","好","應","開","它","合","還","因","由","其","些","然","前","外","天","政","四","日","那","社","義","事","平","形","相","全","表","間","樣","與","關","各","重","新","線","內","數","正","心","反","你","明","看","原","又","麼","利","比","或","但","質","氣","第","向","道","命","此","變","條","只","沒","結","解","問","意","建","月","公","無","系","軍","很","情","者","最","立","代","想","已","通","並","提","直","題","黨","程","展","五","果","料","象","員","革","位","入","常","文","總","次","品","式","活","設","及","管","特","件","長","求","老","頭","基","資","邊","流","路","級","少","圖","山","統","接","知","較","將","組","見","計","別","她","手","角","期","根","論","運","農","指","幾","九","區","強","放","決","西","被","幹","做","必","戰","先","回","則","任","取","據","處","隊","南","給","色","光","門","即","保","治","北","造","百","規","熱","領","七","海","口","東","導","器","壓","志","世","金","增","爭","濟","階","油","思","術","極","交","受","聯","什","認","六","共","權","收","證","改","清","美","再","採","轉","更","單","風","切","打","白","教","速","花","帶","安","場","身","車","例","真","務","具","萬","每","目","至","達","走","積","示","議","聲","報","鬥","完","類","八","離","華","名","確","才","科","張","信","馬","節","話","米","整","空","元","況","今","集","溫","傳","土","許","步","群","廣","石","記","需","段","研","界","拉","林","律","叫","且","究","觀","越","織","裝","影","算","低","持","音","眾","書","布","复","容","兒","須","際","商","非","驗","連","斷","深","難","近","礦","千","週","委","素","技","備","半","辦","青","省","列","習","響","約","支","般","史","感","勞","便","團","往","酸","歷","市","克","何","除","消","構","府","稱","太","準","精","值","號","率","族","維","劃","選","標","寫","存","候","毛","親","快","效","斯","院","查","江","型","眼","王","按","格","養","易","置","派","層","片","始","卻","專","狀","育","廠","京","識","適","屬","圓","包","火","住","調","滿","縣","局","照","參","紅","細","引","聽","該","鐵","價","嚴","首","底","液","官","德","隨","病","蘇","失","爾","死","講","配","女","黃","推","顯","談","罪","神","藝","呢","席","含","企","望","密","批","營","項","防","舉","球","英","氧","勢","告","李","台","落","木","幫","輪","破","亞","師","圍","注","遠","字","材","排","供","河","態","封","另","施","減","樹","溶","怎","止","案","言","士","均","武","固","葉","魚","波","視","僅","費","緊","愛","左","章","早","朝","害","續","輕","服","試","食","充","兵","源","判","護","司","足","某","練","差","致","板","田","降","黑","犯","負","擊","范","繼","興","似","餘","堅","曲","輸","修","故","城","夫","夠","送","筆","船","佔","右","財","吃","富","春","職","覺","漢","畫","功","巴","跟","雖","雜","飛","檢","吸","助","昇","陽","互","初","創","抗","考","投","壞","策","古","徑","換","未","跑","留","鋼","曾","端","責","站","簡","述","錢","副","盡","帝","射","草","衝","承","獨","令","限","阿","宣","環","雙","請","超","微","讓","控","州","良","軸","找","否","紀","益","依","優","頂","礎","載","倒","房","突","坐","粉","敵","略","客","袁","冷","勝","絕","析","塊","劑","測","絲","協","訴","念","陳","仍","羅","鹽","友","洋","錯","苦","夜","刑","移","頻","逐","靠","混","母","短","皮","終","聚","汽","村","雲","哪","既","距","衛","停","烈","央","察","燒","迅","境","若","印","洲","刻","括","激","孔","搞","甚","室","待","核","校","散","侵","吧","甲","遊","久","菜","味","舊","模","湖","貨","損","預","阻","毫","普","穩","乙","媽","植","息","擴","銀","語","揮","酒","守","拿","序","紙","醫","缺","雨","嗎","針","劉","啊","急","唱","誤","訓","願","審","附","獲","茶","鮮","糧","斤","孩","脫","硫","肥","善","龍","演","父","漸","血","歡","械","掌","歌","沙","剛","攻","謂","盾","討","晚","粒","亂","燃","矛","乎","殺","藥","寧","魯","貴","鐘","煤","讀","班","伯","香","介","迫","句","豐","培","握","蘭","擔","弦","蛋","沉","假","穿","執","答","樂","誰","順","煙","縮","徵","臉","喜","松","腳","困","異","免","背","星","福","買","染","井","概","慢","怕","磁","倍","祖","皇","促","靜","補","評","翻","肉","踐","尼","衣","寬","揚","棉","希","傷","操","垂","秋","宜","氫","套","督","振","架","亮","末","憲","慶","編","牛","觸","映","雷","銷","詩","座","居","抓","裂","胞","呼","娘","景","威","綠","晶","厚","盟","衡","雞","孫","延","危","膠","屋","鄉","臨","陸","顧","掉","呀","燈","歲","措","束","耐","劇","玉","趙","跳","哥","季","課","凱","胡","額","款","紹","卷","齊","偉","蒸","殖","永","宗","苗","川","爐","岩","弱","零","楊","奏","沿","露","桿","探","滑","鎮","飯","濃","航","懷","趕","庫","奪","伊","靈","稅","途","滅","賽","歸","召","鼓","播","盤","裁","險","康","唯","錄","菌","純","借","糖","蓋","橫","符","私","努","堂","域","槍","潤","幅","哈","竟","熟","蟲","澤","腦","壤","碳","歐","遍","側","寨","敢","徹","慮","斜","薄","庭","納","彈","飼","伸","折","麥","濕","暗","荷","瓦","塞","床","築","惡","戶","訪","塔","奇","透","梁","刀","旋","跡","卡","氯","遇","份","毒","泥","退","洗","擺","灰","彩","賣","耗","夏","擇","忙","銅","獻","硬","予","繁","圈","雪","函","亦","抽","篇","陣","陰","丁","尺","追","堆","雄","迎","泛","爸","樓","避","謀","噸","野","豬","旗","累","偏","典","館","索","秦","脂","潮","爺","豆","忽","托","驚","塑","遺","愈","朱","替","纖","粗","傾","尚","痛","楚","謝","奮","購","磨","君","池","旁","碎","骨","監","捕","弟","暴","割","貫","殊","釋","詞","亡","壁","頓","寶","午","塵","聞","揭","炮","殘","冬","橋","婦","警","綜","招","吳","付","浮","遭","徐","您","搖","谷","贊","箱","隔","訂","男","吹","園","紛","唐","敗","宋","玻","巨","耕","坦","榮","閉","灣","鍵","凡","駐","鍋","救","恩","剝","凝","鹼","齒","截","煉","麻","紡","禁","廢","盛","版","緩","淨","睛","昌","婚","涉","筒","嘴","插","岸","朗","莊","街","藏","姑","貿","腐","奴","啦","慣","乘","夥","恢","勻","紗","扎","辯","耳","彪","臣","億","璃","抵","脈","秀","薩","俄","網","舞","店","噴","縱","寸","汗","掛","洪","賀","閃","柬","爆","烯","津","稻","牆","軟","勇","像","滾","厘","蒙","芳","肯","坡","柱","盪","腿","儀","旅","尾","軋","冰","貢","登","黎","削","鑽","勒","逃","障","氨","郭","峰","幣","港","伏","軌","畝","畢","擦","莫","刺","浪","秘","援","株","健","售","股","島","甘","泡","睡","童","鑄","湯","閥","休","匯","舍","牧","繞","炸","哲","磷","績","朋","淡","尖","啟","陷","柴","呈","徒","顏","淚","稍","忘","泵","藍","拖","洞","授","鏡","辛","壯","鋒","貧","虛","彎","摩","泰","幼","廷","尊","窗","綱","弄","隸","疑","氏","宮","姐","震","瑞","怪","尤","琴","循","描","膜","違","夾","腰","緣","珠","窮","森","枝","竹","溝","催","繩","憶","邦","剩","幸","漿","欄","擁","牙","貯","禮","濾","鈉","紋","罷","拍","咱","喊","袖","埃","勤","罰","焦","潛","伍","墨","欲","縫","姓","刊","飽","仿","獎","鋁","鬼","麗","跨","默","挖","鏈","掃","喝","袋","炭","污","幕","諸","弧","勵","梅","奶","潔","災","舟","鑑","苯","訟","抱","毀","懂","寒","智","埔","寄","屆","躍","渡","挑","丹","艱","貝","碰","拔","爹","戴","碼","夢","芽","熔","赤","漁","哭","敬","顆","奔","鉛","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","倉","魏","銳","曉","氮","兼","隱","礙","赫","撥","忠","肅","缸","牽","搶","博","巧","殼","兄","杜","訊","誠","碧","祥","柯","頁","巡","矩","悲","灌","齡","倫","票","尋","桂","鋪","聖","恐","恰","鄭","趣","抬","荒","騰","貼","柔","滴","猛","闊","輛","妻","填","撤","儲","簽","鬧","擾","紫","砂","遞","戲","吊","陶","伐","餵","療","瓶","婆","撫","臂","摸","忍","蝦","蠟","鄰","胸","鞏","擠","偶","棄","槽","勁","乳","鄧","吉","仁","爛","磚","租","烏","艦","伴","瓜","淺","丙","暫","燥","橡","柳","迷","暖","牌","秧","膽","詳","簧","踏","瓷","譜","呆","賓","糊","洛","輝","憤","競","隙","怒","粘","乃","緒","肩","籍","敏","塗","熙","皆","偵","懸","掘","享","糾","醒","狂","鎖","淀","恨","牲","霸","爬","賞","逆","玩","陵","祝","秒","浙","貌","役","彼","悉","鴨","趨","鳳","晨","畜","輩","秩","卵","署","梯","炎","灘","棋","驅","篩","峽","冒","啥","壽","譯","浸","泉","帽","遲","矽","疆","貸","漏","稿","冠","嫩","脅","芯","牢","叛","蝕","奧","鳴","嶺","羊","憑","串","塘","繪","酵","融","盆","錫","廟","籌","凍","輔","攝","襲","筋","拒","僚","旱","鉀","鳥","漆","沈","眉","疏","添","棒","穗","硝","韓","逼","扭","僑","涼","挺","碗","栽","炒","杯","患","餾","勸","豪","遼","勃","鴻","旦","吏","拜","狗","埋","輥","掩","飲","搬","罵","辭","勾","扣","估","蔣","絨","霧","丈","朵","姆","擬","宇","輯","陝","雕","償","蓄","崇","剪","倡","廳","咬","駛","薯","刷","斥","番","賦","奉","佛","澆","漫","曼","扇","鈣","桃","扶","仔","返","俗","虧","腔","鞋","棱","覆","框","悄","叔","撞","騙","勘","旺","沸","孤","吐","孟","渠","屈","疾","妙","惜","仰","狠","脹","諧","拋","黴","桑","崗","嘛","衰","盜","滲","臟","賴","湧","甜","曹","閱","肌","哩","厲","烴","緯","毅","昨","偽","症","煮","嘆","釘","搭","莖","籠","酷","偷","弓","錐","恆","傑","坑","鼻","翼","綸","敘","獄","逮","罐","絡","棚","抑","膨","蔬","寺","驟","穆","冶","枯","冊","屍","凸","紳","坯","犧","焰","轟","欣","晉","瘦","禦","錠","錦","喪","旬","鍛","壟","搜","撲","邀","亭","酯","邁","舒","脆","酶","閒","憂","酚","頑","羽","漲","卸","仗","陪","闢","懲","杭","姚","肚","捉","飄","漂","昆","欺","吾","郎","烷","汁","呵","飾","蕭","雅","郵","遷","燕","撒","姻","赴","宴","煩","債","帳","斑","鈴","旨","醇","董","餅","雛","姿","拌","傅","腹","妥","揉","賢","拆","歪","葡","胺","丟","浩","徽","昂","墊","擋","覽","貪","慰","繳","汪","慌","馮","諾","姜","誼","兇","劣","誣","耀","昏","躺","盈","騎","喬","溪","叢","盧","抹","悶","諮","刮","駕","纜","悟","摘","鉺","擲","頗","幻","柄","惠","慘","佳","仇","臘","窩","滌","劍","瞧","堡","潑","蔥","罩","霍","撈","胎","蒼","濱","倆","捅","湘","砍","霞","邵","萄","瘋","淮","遂","熊","糞","烘","宿","檔","戈","駁","嫂","裕","徙","箭","捐","腸","撐","曬","辨","殿","蓮","攤","攪","醬","屏","疫","哀","蔡","堵","沫","皺","暢","疊","閣","萊","敲","轄","鉤","痕","壩","巷","餓","禍","丘","玄","溜","曰","邏","彭","嘗","卿","妨","艇","吞","韋","怨","矮","歇"]')},function(e){e.exports=JSON.parse('["가격","가끔","가난","가능","가득","가르침","가뭄","가방","가상","가슴","가운데","가을","가이드","가입","가장","가정","가족","가죽","각오","각자","간격","간부","간섭","간장","간접","간판","갈등","갈비","갈색","갈증","감각","감기","감소","감수성","감자","감정","갑자기","강남","강당","강도","강력히","강변","강북","강사","강수량","강아지","강원도","강의","강제","강조","같이","개구리","개나리","개방","개별","개선","개성","개인","객관적","거실","거액","거울","거짓","거품","걱정","건강","건물","건설","건조","건축","걸음","검사","검토","게시판","게임","겨울","견해","결과","결국","결론","결석","결승","결심","결정","결혼","경계","경고","경기","경력","경복궁","경비","경상도","경영","경우","경쟁","경제","경주","경찰","경치","경향","경험","계곡","계단","계란","계산","계속","계약","계절","계층","계획","고객","고구려","고궁","고급","고등학생","고무신","고민","고양이","고장","고전","고집","고춧가루","고통","고향","곡식","골목","골짜기","골프","공간","공개","공격","공군","공급","공기","공동","공무원","공부","공사","공식","공업","공연","공원","공장","공짜","공책","공통","공포","공항","공휴일","과목","과일","과장","과정","과학","관객","관계","관광","관념","관람","관련","관리","관습","관심","관점","관찰","광경","광고","광장","광주","괴로움","굉장히","교과서","교문","교복","교실","교양","교육","교장","교직","교통","교환","교훈","구경","구름","구멍","구별","구분","구석","구성","구속","구역","구입","구청","구체적","국가","국기","국내","국립","국물","국민","국수","국어","국왕","국적","국제","국회","군대","군사","군인","궁극적","권리","권위","권투","귀국","귀신","규정","규칙","균형","그날","그냥","그늘","그러나","그룹","그릇","그림","그제서야","그토록","극복","극히","근거","근교","근래","근로","근무","근본","근원","근육","근처","글씨","글자","금강산","금고","금년","금메달","금액","금연","금요일","금지","긍정적","기간","기관","기념","기능","기독교","기둥","기록","기름","기법","기본","기분","기쁨","기숙사","기술","기억","기업","기온","기운","기원","기적","기준","기침","기혼","기획","긴급","긴장","길이","김밥","김치","김포공항","깍두기","깜빡","깨달음","깨소금","껍질","꼭대기","꽃잎","나들이","나란히","나머지","나물","나침반","나흘","낙엽","난방","날개","날씨","날짜","남녀","남대문","남매","남산","남자","남편","남학생","낭비","낱말","내년","내용","내일","냄비","냄새","냇물","냉동","냉면","냉방","냉장고","넥타이","넷째","노동","노란색","노력","노인","녹음","녹차","녹화","논리","논문","논쟁","놀이","농구","농담","농민","농부","농업","농장","농촌","높이","눈동자","눈물","눈썹","뉴욕","느낌","늑대","능동적","능력","다방","다양성","다음","다이어트","다행","단계","단골","단독","단맛","단순","단어","단위","단점","단체","단추","단편","단풍","달걀","달러","달력","달리","닭고기","담당","담배","담요","담임","답변","답장","당근","당분간","당연히","당장","대규모","대낮","대단히","대답","대도시","대략","대량","대륙","대문","대부분","대신","대응","대장","대전","대접","대중","대책","대출","대충","대통령","대학","대한민국","대합실","대형","덩어리","데이트","도대체","도덕","도둑","도망","도서관","도심","도움","도입","도자기","도저히","도전","도중","도착","독감","독립","독서","독일","독창적","동화책","뒷모습","뒷산","딸아이","마누라","마늘","마당","마라톤","마련","마무리","마사지","마약","마요네즈","마을","마음","마이크","마중","마지막","마찬가지","마찰","마흔","막걸리","막내","막상","만남","만두","만세","만약","만일","만점","만족","만화","많이","말기","말씀","말투","맘대로","망원경","매년","매달","매력","매번","매스컴","매일","매장","맥주","먹이","먼저","먼지","멀리","메일","며느리","며칠","면담","멸치","명단","명령","명예","명의","명절","명칭","명함","모금","모니터","모델","모든","모범","모습","모양","모임","모조리","모집","모퉁이","목걸이","목록","목사","목소리","목숨","목적","목표","몰래","몸매","몸무게","몸살","몸속","몸짓","몸통","몹시","무관심","무궁화","무더위","무덤","무릎","무슨","무엇","무역","무용","무조건","무지개","무척","문구","문득","문법","문서","문제","문학","문화","물가","물건","물결","물고기","물론","물리학","물음","물질","물체","미국","미디어","미사일","미술","미역","미용실","미움","미인","미팅","미혼","민간","민족","민주","믿음","밀가루","밀리미터","밑바닥","바가지","바구니","바나나","바늘","바닥","바닷가","바람","바이러스","바탕","박물관","박사","박수","반대","반드시","반말","반발","반성","반응","반장","반죽","반지","반찬","받침","발가락","발걸음","발견","발달","발레","발목","발바닥","발생","발음","발자국","발전","발톱","발표","밤하늘","밥그릇","밥맛","밥상","밥솥","방금","방면","방문","방바닥","방법","방송","방식","방안","방울","방지","방학","방해","방향","배경","배꼽","배달","배드민턴","백두산","백색","백성","백인","백제","백화점","버릇","버섯","버튼","번개","번역","번지","번호","벌금","벌레","벌써","범위","범인","범죄","법률","법원","법적","법칙","베이징","벨트","변경","변동","변명","변신","변호사","변화","별도","별명","별일","병실","병아리","병원","보관","보너스","보라색","보람","보름","보상","보안","보자기","보장","보전","보존","보통","보편적","보험","복도","복사","복숭아","복습","볶음","본격적","본래","본부","본사","본성","본인","본질","볼펜","봉사","봉지","봉투","부근","부끄러움","부담","부동산","부문","부분","부산","부상","부엌","부인","부작용","부장","부정","부족","부지런히","부친","부탁","부품","부회장","북부","북한","분노","분량","분리","분명","분석","분야","분위기","분필","분홍색","불고기","불과","불교","불꽃","불만","불법","불빛","불안","불이익","불행","브랜드","비극","비난","비닐","비둘기","비디오","비로소","비만","비명","비밀","비바람","비빔밥","비상","비용","비율","비중","비타민","비판","빌딩","빗물","빗방울","빗줄기","빛깔","빨간색","빨래","빨리","사건","사계절","사나이","사냥","사람","사랑","사립","사모님","사물","사방","사상","사생활","사설","사슴","사실","사업","사용","사월","사장","사전","사진","사촌","사춘기","사탕","사투리","사흘","산길","산부인과","산업","산책","살림","살인","살짝","삼계탕","삼국","삼십","삼월","삼촌","상관","상금","상대","상류","상반기","상상","상식","상업","상인","상자","상점","상처","상추","상태","상표","상품","상황","새벽","색깔","색연필","생각","생명","생물","생방송","생산","생선","생신","생일","생활","서랍","서른","서명","서민","서비스","서양","서울","서적","서점","서쪽","서클","석사","석유","선거","선물","선배","선생","선수","선원","선장","선전","선택","선풍기","설거지","설날","설렁탕","설명","설문","설사","설악산","설치","설탕","섭씨","성공","성당","성명","성별","성인","성장","성적","성질","성함","세금","세미나","세상","세월","세종대왕","세탁","센터","센티미터","셋째","소규모","소극적","소금","소나기","소년","소득","소망","소문","소설","소속","소아과","소용","소원","소음","소중히","소지품","소질","소풍","소형","속담","속도","속옷","손가락","손길","손녀","손님","손등","손목","손뼉","손실","손질","손톱","손해","솔직히","솜씨","송아지","송이","송편","쇠고기","쇼핑","수건","수년","수단","수돗물","수동적","수면","수명","수박","수상","수석","수술","수시로","수업","수염","수영","수입","수준","수집","수출","수컷","수필","수학","수험생","수화기","숙녀","숙소","숙제","순간","순서","순수","순식간","순위","숟가락","술병","술집","숫자","스님","스물","스스로","스승","스웨터","스위치","스케이트","스튜디오","스트레스","스포츠","슬쩍","슬픔","습관","습기","승객","승리","승부","승용차","승진","시각","시간","시골","시금치","시나리오","시댁","시리즈","시멘트","시민","시부모","시선","시설","시스템","시아버지","시어머니","시월","시인","시일","시작","시장","시절","시점","시중","시즌","시집","시청","시합","시험","식구","식기","식당","식량","식료품","식물","식빵","식사","식생활","식초","식탁","식품","신고","신규","신념","신문","신발","신비","신사","신세","신용","신제품","신청","신체","신화","실감","실내","실력","실례","실망","실수","실습","실시","실장","실정","실질적","실천","실체","실컷","실태","실패","실험","실현","심리","심부름","심사","심장","심정","심판","쌍둥이","씨름","씨앗","아가씨","아나운서","아드님","아들","아쉬움","아스팔트","아시아","아울러","아저씨","아줌마","아직","아침","아파트","아프리카","아픔","아홉","아흔","악기","악몽","악수","안개","안경","안과","안내","안녕","안동","안방","안부","안주","알루미늄","알코올","암시","암컷","압력","앞날","앞문","애인","애정","액수","앨범","야간","야단","야옹","약간","약국","약속","약수","약점","약품","약혼녀","양념","양력","양말","양배추","양주","양파","어둠","어려움","어른","어젯밤","어쨌든","어쩌다가","어쩐지","언니","언덕","언론","언어","얼굴","얼른","얼음","얼핏","엄마","업무","업종","업체","엉덩이","엉망","엉터리","엊그제","에너지","에어컨","엔진","여건","여고생","여관","여군","여권","여대생","여덟","여동생","여든","여론","여름","여섯","여성","여왕","여인","여전히","여직원","여학생","여행","역사","역시","역할","연결","연구","연극","연기","연락","연설","연세","연속","연습","연애","연예인","연인","연장","연주","연출","연필","연합","연휴","열기","열매","열쇠","열심히","열정","열차","열흘","염려","엽서","영국","영남","영상","영양","영역","영웅","영원히","영하","영향","영혼","영화","옆구리","옆방","옆집","예감","예금","예방","예산","예상","예선","예술","예습","예식장","예약","예전","예절","예정","예컨대","옛날","오늘","오락","오랫동안","오렌지","오로지","오른발","오븐","오십","오염","오월","오전","오직","오징어","오페라","오피스텔","오히려","옥상","옥수수","온갖","온라인","온몸","온종일","온통","올가을","올림픽","올해","옷차림","와이셔츠","와인","완성","완전","왕비","왕자","왜냐하면","왠지","외갓집","외국","외로움","외삼촌","외출","외침","외할머니","왼발","왼손","왼쪽","요금","요일","요즘","요청","용기","용서","용어","우산","우선","우승","우연히","우정","우체국","우편","운동","운명","운반","운전","운행","울산","울음","움직임","웃어른","웃음","워낙","원고","원래","원서","원숭이","원인","원장","원피스","월급","월드컵","월세","월요일","웨이터","위반","위법","위성","위원","위험","위협","윗사람","유난히","유럽","유명","유물","유산","유적","유치원","유학","유행","유형","육군","육상","육십","육체","은행","음력","음료","음반","음성","음식","음악","음주","의견","의논","의문","의복","의식","의심","의외로","의욕","의원","의학","이것","이곳","이념","이놈","이달","이대로","이동","이렇게","이력서","이론적","이름","이민","이발소","이별","이불","이빨","이상","이성","이슬","이야기","이용","이웃","이월","이윽고","이익","이전","이중","이튿날","이틀","이혼","인간","인격","인공","인구","인근","인기","인도","인류","인물","인생","인쇄","인연","인원","인재","인종","인천","인체","인터넷","인하","인형","일곱","일기","일단","일대","일등","일반","일본","일부","일상","일생","일손","일요일","일월","일정","일종","일주일","일찍","일체","일치","일행","일회용","임금","임무","입대","입력","입맛","입사","입술","입시","입원","입장","입학","자가용","자격","자극","자동","자랑","자부심","자식","자신","자연","자원","자율","자전거","자정","자존심","자판","작가","작년","작성","작업","작용","작은딸","작품","잔디","잔뜩","잔치","잘못","잠깐","잠수함","잠시","잠옷","잠자리","잡지","장관","장군","장기간","장래","장례","장르","장마","장면","장모","장미","장비","장사","장소","장식","장애인","장인","장점","장차","장학금","재능","재빨리","재산","재생","재작년","재정","재채기","재판","재학","재활용","저것","저고리","저곳","저녁","저런","저렇게","저번","저울","저절로","저축","적극","적당히","적성","적용","적응","전개","전공","전기","전달","전라도","전망","전문","전반","전부","전세","전시","전용","전자","전쟁","전주","전철","전체","전통","전혀","전후","절대","절망","절반","절약","절차","점검","점수","점심","점원","점점","점차","접근","접시","접촉","젓가락","정거장","정도","정류장","정리","정말","정면","정문","정반대","정보","정부","정비","정상","정성","정오","정원","정장","정지","정치","정확히","제공","제과점","제대로","제목","제발","제법","제삿날","제안","제일","제작","제주도","제출","제품","제한","조각","조건","조금","조깅","조명","조미료","조상","조선","조용히","조절","조정","조직","존댓말","존재","졸업","졸음","종교","종로","종류","종소리","종업원","종종","종합","좌석","죄인","주관적","주름","주말","주머니","주먹","주문","주민","주방","주변","주식","주인","주일","주장","주전자","주택","준비","줄거리","줄기","줄무늬","중간","중계방송","중국","중년","중단","중독","중반","중부","중세","중소기업","중순","중앙","중요","중학교","즉석","즉시","즐거움","증가","증거","증권","증상","증세","지각","지갑","지경","지극히","지금","지급","지능","지름길","지리산","지방","지붕","지식","지역","지우개","지원","지적","지점","지진","지출","직선","직업","직원","직장","진급","진동","진로","진료","진리","진짜","진찰","진출","진통","진행","질문","질병","질서","짐작","집단","집안","집중","짜증","찌꺼기","차남","차라리","차량","차림","차별","차선","차츰","착각","찬물","찬성","참가","참기름","참새","참석","참여","참외","참조","찻잔","창가","창고","창구","창문","창밖","창작","창조","채널","채점","책가방","책방","책상","책임","챔피언","처벌","처음","천국","천둥","천장","천재","천천히","철도","철저히","철학","첫날","첫째","청년","청바지","청소","청춘","체계","체력","체온","체육","체중","체험","초등학생","초반","초밥","초상화","초순","초여름","초원","초저녁","초점","초청","초콜릿","촛불","총각","총리","총장","촬영","최근","최상","최선","최신","최악","최종","추석","추억","추진","추천","추측","축구","축소","축제","축하","출근","출발","출산","출신","출연","출입","출장","출판","충격","충고","충돌","충분히","충청도","취업","취직","취향","치약","친구","친척","칠십","칠월","칠판","침대","침묵","침실","칫솔","칭찬","카메라","카운터","칼국수","캐릭터","캠퍼스","캠페인","커튼","컨디션","컬러","컴퓨터","코끼리","코미디","콘서트","콜라","콤플렉스","콩나물","쾌감","쿠데타","크림","큰길","큰딸","큰소리","큰아들","큰어머니","큰일","큰절","클래식","클럽","킬로","타입","타자기","탁구","탁자","탄생","태권도","태양","태풍","택시","탤런트","터널","터미널","테니스","테스트","테이블","텔레비전","토론","토마토","토요일","통계","통과","통로","통신","통역","통일","통장","통제","통증","통합","통화","퇴근","퇴원","퇴직금","튀김","트럭","특급","특별","특성","특수","특징","특히","튼튼히","티셔츠","파란색","파일","파출소","판결","판단","판매","판사","팔십","팔월","팝송","패션","팩스","팩시밀리","팬티","퍼센트","페인트","편견","편의","편지","편히","평가","평균","평생","평소","평양","평일","평화","포스터","포인트","포장","포함","표면","표정","표준","표현","품목","품질","풍경","풍속","풍습","프랑스","프린터","플라스틱","피곤","피망","피아노","필름","필수","필요","필자","필통","핑계","하느님","하늘","하드웨어","하룻밤","하반기","하숙집","하순","하여튼","하지만","하천","하품","하필","학과","학교","학급","학기","학년","학력","학번","학부모","학비","학생","학술","학습","학용품","학원","학위","학자","학점","한계","한글","한꺼번에","한낮","한눈","한동안","한때","한라산","한마디","한문","한번","한복","한식","한여름","한쪽","할머니","할아버지","할인","함께","함부로","합격","합리적","항공","항구","항상","항의","해결","해군","해답","해당","해물","해석","해설","해수욕장","해안","핵심","핸드백","햄버거","햇볕","햇살","행동","행복","행사","행운","행위","향기","향상","향수","허락","허용","헬기","현관","현금","현대","현상","현실","현장","현재","현지","혈액","협력","형부","형사","형수","형식","형제","형태","형편","혜택","호기심","호남","호랑이","호박","호텔","호흡","혹시","홀로","홈페이지","홍보","홍수","홍차","화면","화분","화살","화요일","화장","화학","확보","확인","확장","확정","환갑","환경","환영","환율","환자","활기","활동","활발히","활용","활짝","회견","회관","회복","회색","회원","회장","회전","횟수","횡단보도","효율적","후반","후춧가루","훈련","훨씬","휴식","휴일","흉내","흐름","흑백","흑인","흔적","흔히","흥미","흥분","희곡","희망","희생","흰색","힘껏"]')},function(e){e.exports=JSON.parse('["abaisser","abandon","abdiquer","abeille","abolir","aborder","aboutir","aboyer","abrasif","abreuver","abriter","abroger","abrupt","absence","absolu","absurde","abusif","abyssal","académie","acajou","acarien","accabler","accepter","acclamer","accolade","accroche","accuser","acerbe","achat","acheter","aciduler","acier","acompte","acquérir","acronyme","acteur","actif","actuel","adepte","adéquat","adhésif","adjectif","adjuger","admettre","admirer","adopter","adorer","adoucir","adresse","adroit","adulte","adverbe","aérer","aéronef","affaire","affecter","affiche","affreux","affubler","agacer","agencer","agile","agiter","agrafer","agréable","agrume","aider","aiguille","ailier","aimable","aisance","ajouter","ajuster","alarmer","alchimie","alerte","algèbre","algue","aliéner","aliment","alléger","alliage","allouer","allumer","alourdir","alpaga","altesse","alvéole","amateur","ambigu","ambre","aménager","amertume","amidon","amiral","amorcer","amour","amovible","amphibie","ampleur","amusant","analyse","anaphore","anarchie","anatomie","ancien","anéantir","angle","angoisse","anguleux","animal","annexer","annonce","annuel","anodin","anomalie","anonyme","anormal","antenne","antidote","anxieux","apaiser","apéritif","aplanir","apologie","appareil","appeler","apporter","appuyer","aquarium","aqueduc","arbitre","arbuste","ardeur","ardoise","argent","arlequin","armature","armement","armoire","armure","arpenter","arracher","arriver","arroser","arsenic","artériel","article","aspect","asphalte","aspirer","assaut","asservir","assiette","associer","assurer","asticot","astre","astuce","atelier","atome","atrium","atroce","attaque","attentif","attirer","attraper","aubaine","auberge","audace","audible","augurer","aurore","automne","autruche","avaler","avancer","avarice","avenir","averse","aveugle","aviateur","avide","avion","aviser","avoine","avouer","avril","axial","axiome","badge","bafouer","bagage","baguette","baignade","balancer","balcon","baleine","balisage","bambin","bancaire","bandage","banlieue","bannière","banquier","barbier","baril","baron","barque","barrage","bassin","bastion","bataille","bateau","batterie","baudrier","bavarder","belette","bélier","belote","bénéfice","berceau","berger","berline","bermuda","besace","besogne","bétail","beurre","biberon","bicycle","bidule","bijou","bilan","bilingue","billard","binaire","biologie","biopsie","biotype","biscuit","bison","bistouri","bitume","bizarre","blafard","blague","blanchir","blessant","blinder","blond","bloquer","blouson","bobard","bobine","boire","boiser","bolide","bonbon","bondir","bonheur","bonifier","bonus","bordure","borne","botte","boucle","boueux","bougie","boulon","bouquin","bourse","boussole","boutique","boxeur","branche","brasier","brave","brebis","brèche","breuvage","bricoler","brigade","brillant","brioche","brique","brochure","broder","bronzer","brousse","broyeur","brume","brusque","brutal","bruyant","buffle","buisson","bulletin","bureau","burin","bustier","butiner","butoir","buvable","buvette","cabanon","cabine","cachette","cadeau","cadre","caféine","caillou","caisson","calculer","calepin","calibre","calmer","calomnie","calvaire","camarade","caméra","camion","campagne","canal","caneton","canon","cantine","canular","capable","caporal","caprice","capsule","capter","capuche","carabine","carbone","caresser","caribou","carnage","carotte","carreau","carton","cascade","casier","casque","cassure","causer","caution","cavalier","caverne","caviar","cédille","ceinture","céleste","cellule","cendrier","censurer","central","cercle","cérébral","cerise","cerner","cerveau","cesser","chagrin","chaise","chaleur","chambre","chance","chapitre","charbon","chasseur","chaton","chausson","chavirer","chemise","chenille","chéquier","chercher","cheval","chien","chiffre","chignon","chimère","chiot","chlorure","chocolat","choisir","chose","chouette","chrome","chute","cigare","cigogne","cimenter","cinéma","cintrer","circuler","cirer","cirque","citerne","citoyen","citron","civil","clairon","clameur","claquer","classe","clavier","client","cligner","climat","clivage","cloche","clonage","cloporte","cobalt","cobra","cocasse","cocotier","coder","codifier","coffre","cogner","cohésion","coiffer","coincer","colère","colibri","colline","colmater","colonel","combat","comédie","commande","compact","concert","conduire","confier","congeler","connoter","consonne","contact","convexe","copain","copie","corail","corbeau","cordage","corniche","corpus","correct","cortège","cosmique","costume","coton","coude","coupure","courage","couteau","couvrir","coyote","crabe","crainte","cravate","crayon","créature","créditer","crémeux","creuser","crevette","cribler","crier","cristal","critère","croire","croquer","crotale","crucial","cruel","crypter","cubique","cueillir","cuillère","cuisine","cuivre","culminer","cultiver","cumuler","cupide","curatif","curseur","cyanure","cycle","cylindre","cynique","daigner","damier","danger","danseur","dauphin","débattre","débiter","déborder","débrider","débutant","décaler","décembre","déchirer","décider","déclarer","décorer","décrire","décupler","dédale","déductif","déesse","défensif","défiler","défrayer","dégager","dégivrer","déglutir","dégrafer","déjeuner","délice","déloger","demander","demeurer","démolir","dénicher","dénouer","dentelle","dénuder","départ","dépenser","déphaser","déplacer","déposer","déranger","dérober","désastre","descente","désert","désigner","désobéir","dessiner","destrier","détacher","détester","détourer","détresse","devancer","devenir","deviner","devoir","diable","dialogue","diamant","dicter","différer","digérer","digital","digne","diluer","dimanche","diminuer","dioxyde","directif","diriger","discuter","disposer","dissiper","distance","divertir","diviser","docile","docteur","dogme","doigt","domaine","domicile","dompter","donateur","donjon","donner","dopamine","dortoir","dorure","dosage","doseur","dossier","dotation","douanier","double","douceur","douter","doyen","dragon","draper","dresser","dribbler","droiture","duperie","duplexe","durable","durcir","dynastie","éblouir","écarter","écharpe","échelle","éclairer","éclipse","éclore","écluse","école","économie","écorce","écouter","écraser","écrémer","écrivain","écrou","écume","écureuil","édifier","éduquer","effacer","effectif","effigie","effort","effrayer","effusion","égaliser","égarer","éjecter","élaborer","élargir","électron","élégant","éléphant","élève","éligible","élitisme","éloge","élucider","éluder","emballer","embellir","embryon","émeraude","émission","emmener","émotion","émouvoir","empereur","employer","emporter","emprise","émulsion","encadrer","enchère","enclave","encoche","endiguer","endosser","endroit","enduire","énergie","enfance","enfermer","enfouir","engager","engin","englober","énigme","enjamber","enjeu","enlever","ennemi","ennuyeux","enrichir","enrobage","enseigne","entasser","entendre","entier","entourer","entraver","énumérer","envahir","enviable","envoyer","enzyme","éolien","épaissir","épargne","épatant","épaule","épicerie","épidémie","épier","épilogue","épine","épisode","épitaphe","époque","épreuve","éprouver","épuisant","équerre","équipe","ériger","érosion","erreur","éruption","escalier","espadon","espèce","espiègle","espoir","esprit","esquiver","essayer","essence","essieu","essorer","estime","estomac","estrade","étagère","étaler","étanche","étatique","éteindre","étendoir","éternel","éthanol","éthique","ethnie","étirer","étoffer","étoile","étonnant","étourdir","étrange","étroit","étude","euphorie","évaluer","évasion","éventail","évidence","éviter","évolutif","évoquer","exact","exagérer","exaucer","exceller","excitant","exclusif","excuse","exécuter","exemple","exercer","exhaler","exhorter","exigence","exiler","exister","exotique","expédier","explorer","exposer","exprimer","exquis","extensif","extraire","exulter","fable","fabuleux","facette","facile","facture","faiblir","falaise","fameux","famille","farceur","farfelu","farine","farouche","fasciner","fatal","fatigue","faucon","fautif","faveur","favori","fébrile","féconder","fédérer","félin","femme","fémur","fendoir","féodal","fermer","féroce","ferveur","festival","feuille","feutre","février","fiasco","ficeler","fictif","fidèle","figure","filature","filetage","filière","filleul","filmer","filou","filtrer","financer","finir","fiole","firme","fissure","fixer","flairer","flamme","flasque","flatteur","fléau","flèche","fleur","flexion","flocon","flore","fluctuer","fluide","fluvial","folie","fonderie","fongible","fontaine","forcer","forgeron","formuler","fortune","fossile","foudre","fougère","fouiller","foulure","fourmi","fragile","fraise","franchir","frapper","frayeur","frégate","freiner","frelon","frémir","frénésie","frère","friable","friction","frisson","frivole","froid","fromage","frontal","frotter","fruit","fugitif","fuite","fureur","furieux","furtif","fusion","futur","gagner","galaxie","galerie","gambader","garantir","gardien","garnir","garrigue","gazelle","gazon","géant","gélatine","gélule","gendarme","général","génie","genou","gentil","géologie","géomètre","géranium","germe","gestuel","geyser","gibier","gicler","girafe","givre","glace","glaive","glisser","globe","gloire","glorieux","golfeur","gomme","gonfler","gorge","gorille","goudron","gouffre","goulot","goupille","gourmand","goutte","graduel","graffiti","graine","grand","grappin","gratuit","gravir","grenat","griffure","griller","grimper","grogner","gronder","grotte","groupe","gruger","grutier","gruyère","guépard","guerrier","guide","guimauve","guitare","gustatif","gymnaste","gyrostat","habitude","hachoir","halte","hameau","hangar","hanneton","haricot","harmonie","harpon","hasard","hélium","hématome","herbe","hérisson","hermine","héron","hésiter","heureux","hiberner","hibou","hilarant","histoire","hiver","homard","hommage","homogène","honneur","honorer","honteux","horde","horizon","horloge","hormone","horrible","houleux","housse","hublot","huileux","humain","humble","humide","humour","hurler","hydromel","hygiène","hymne","hypnose","idylle","ignorer","iguane","illicite","illusion","image","imbiber","imiter","immense","immobile","immuable","impact","impérial","implorer","imposer","imprimer","imputer","incarner","incendie","incident","incliner","incolore","indexer","indice","inductif","inédit","ineptie","inexact","infini","infliger","informer","infusion","ingérer","inhaler","inhiber","injecter","injure","innocent","inoculer","inonder","inscrire","insecte","insigne","insolite","inspirer","instinct","insulter","intact","intense","intime","intrigue","intuitif","inutile","invasion","inventer","inviter","invoquer","ironique","irradier","irréel","irriter","isoler","ivoire","ivresse","jaguar","jaillir","jambe","janvier","jardin","jauger","jaune","javelot","jetable","jeton","jeudi","jeunesse","joindre","joncher","jongler","joueur","jouissif","journal","jovial","joyau","joyeux","jubiler","jugement","junior","jupon","juriste","justice","juteux","juvénile","kayak","kimono","kiosque","label","labial","labourer","lacérer","lactose","lagune","laine","laisser","laitier","lambeau","lamelle","lampe","lanceur","langage","lanterne","lapin","largeur","larme","laurier","lavabo","lavoir","lecture","légal","léger","légume","lessive","lettre","levier","lexique","lézard","liasse","libérer","libre","licence","licorne","liège","lièvre","ligature","ligoter","ligue","limer","limite","limonade","limpide","linéaire","lingot","lionceau","liquide","lisière","lister","lithium","litige","littoral","livreur","logique","lointain","loisir","lombric","loterie","louer","lourd","loutre","louve","loyal","lubie","lucide","lucratif","lueur","lugubre","luisant","lumière","lunaire","lundi","luron","lutter","luxueux","machine","magasin","magenta","magique","maigre","maillon","maintien","mairie","maison","majorer","malaxer","maléfice","malheur","malice","mallette","mammouth","mandater","maniable","manquant","manteau","manuel","marathon","marbre","marchand","mardi","maritime","marqueur","marron","marteler","mascotte","massif","matériel","matière","matraque","maudire","maussade","mauve","maximal","méchant","méconnu","médaille","médecin","méditer","méduse","meilleur","mélange","mélodie","membre","mémoire","menacer","mener","menhir","mensonge","mentor","mercredi","mérite","merle","messager","mesure","métal","météore","méthode","métier","meuble","miauler","microbe","miette","mignon","migrer","milieu","million","mimique","mince","minéral","minimal","minorer","minute","miracle","miroiter","missile","mixte","mobile","moderne","moelleux","mondial","moniteur","monnaie","monotone","monstre","montagne","monument","moqueur","morceau","morsure","mortier","moteur","motif","mouche","moufle","moulin","mousson","mouton","mouvant","multiple","munition","muraille","murène","murmure","muscle","muséum","musicien","mutation","muter","mutuel","myriade","myrtille","mystère","mythique","nageur","nappe","narquois","narrer","natation","nation","nature","naufrage","nautique","navire","nébuleux","nectar","néfaste","négation","négliger","négocier","neige","nerveux","nettoyer","neurone","neutron","neveu","niche","nickel","nitrate","niveau","noble","nocif","nocturne","noirceur","noisette","nomade","nombreux","nommer","normatif","notable","notifier","notoire","nourrir","nouveau","novateur","novembre","novice","nuage","nuancer","nuire","nuisible","numéro","nuptial","nuque","nutritif","obéir","objectif","obliger","obscur","observer","obstacle","obtenir","obturer","occasion","occuper","océan","octobre","octroyer","octupler","oculaire","odeur","odorant","offenser","officier","offrir","ogive","oiseau","oisillon","olfactif","olivier","ombrage","omettre","onctueux","onduler","onéreux","onirique","opale","opaque","opérer","opinion","opportun","opprimer","opter","optique","orageux","orange","orbite","ordonner","oreille","organe","orgueil","orifice","ornement","orque","ortie","osciller","osmose","ossature","otarie","ouragan","ourson","outil","outrager","ouvrage","ovation","oxyde","oxygène","ozone","paisible","palace","palmarès","palourde","palper","panache","panda","pangolin","paniquer","panneau","panorama","pantalon","papaye","papier","papoter","papyrus","paradoxe","parcelle","paresse","parfumer","parler","parole","parrain","parsemer","partager","parure","parvenir","passion","pastèque","paternel","patience","patron","pavillon","pavoiser","payer","paysage","peigne","peintre","pelage","pélican","pelle","pelouse","peluche","pendule","pénétrer","pénible","pensif","pénurie","pépite","péplum","perdrix","perforer","période","permuter","perplexe","persil","perte","peser","pétale","petit","pétrir","peuple","pharaon","phobie","phoque","photon","phrase","physique","piano","pictural","pièce","pierre","pieuvre","pilote","pinceau","pipette","piquer","pirogue","piscine","piston","pivoter","pixel","pizza","placard","plafond","plaisir","planer","plaque","plastron","plateau","pleurer","plexus","pliage","plomb","plonger","pluie","plumage","pochette","poésie","poète","pointe","poirier","poisson","poivre","polaire","policier","pollen","polygone","pommade","pompier","ponctuel","pondérer","poney","portique","position","posséder","posture","potager","poteau","potion","pouce","poulain","poumon","pourpre","poussin","pouvoir","prairie","pratique","précieux","prédire","préfixe","prélude","prénom","présence","prétexte","prévoir","primitif","prince","prison","priver","problème","procéder","prodige","profond","progrès","proie","projeter","prologue","promener","propre","prospère","protéger","prouesse","proverbe","prudence","pruneau","psychose","public","puceron","puiser","pulpe","pulsar","punaise","punitif","pupitre","purifier","puzzle","pyramide","quasar","querelle","question","quiétude","quitter","quotient","racine","raconter","radieux","ragondin","raideur","raisin","ralentir","rallonge","ramasser","rapide","rasage","ratisser","ravager","ravin","rayonner","réactif","réagir","réaliser","réanimer","recevoir","réciter","réclamer","récolter","recruter","reculer","recycler","rédiger","redouter","refaire","réflexe","réformer","refrain","refuge","régalien","région","réglage","régulier","réitérer","rejeter","rejouer","relatif","relever","relief","remarque","remède","remise","remonter","remplir","remuer","renard","renfort","renifler","renoncer","rentrer","renvoi","replier","reporter","reprise","reptile","requin","réserve","résineux","résoudre","respect","rester","résultat","rétablir","retenir","réticule","retomber","retracer","réunion","réussir","revanche","revivre","révolte","révulsif","richesse","rideau","rieur","rigide","rigoler","rincer","riposter","risible","risque","rituel","rival","rivière","rocheux","romance","rompre","ronce","rondin","roseau","rosier","rotatif","rotor","rotule","rouge","rouille","rouleau","routine","royaume","ruban","rubis","ruche","ruelle","rugueux","ruiner","ruisseau","ruser","rustique","rythme","sabler","saboter","sabre","sacoche","safari","sagesse","saisir","salade","salive","salon","saluer","samedi","sanction","sanglier","sarcasme","sardine","saturer","saugrenu","saumon","sauter","sauvage","savant","savonner","scalpel","scandale","scélérat","scénario","sceptre","schéma","science","scinder","score","scrutin","sculpter","séance","sécable","sécher","secouer","sécréter","sédatif","séduire","seigneur","séjour","sélectif","semaine","sembler","semence","séminal","sénateur","sensible","sentence","séparer","séquence","serein","sergent","sérieux","serrure","sérum","service","sésame","sévir","sevrage","sextuple","sidéral","siècle","siéger","siffler","sigle","signal","silence","silicium","simple","sincère","sinistre","siphon","sirop","sismique","situer","skier","social","socle","sodium","soigneux","soldat","soleil","solitude","soluble","sombre","sommeil","somnoler","sonde","songeur","sonnette","sonore","sorcier","sortir","sosie","sottise","soucieux","soudure","souffle","soulever","soupape","source","soutirer","souvenir","spacieux","spatial","spécial","sphère","spiral","stable","station","sternum","stimulus","stipuler","strict","studieux","stupeur","styliste","sublime","substrat","subtil","subvenir","succès","sucre","suffixe","suggérer","suiveur","sulfate","superbe","supplier","surface","suricate","surmener","surprise","sursaut","survie","suspect","syllabe","symbole","symétrie","synapse","syntaxe","système","tabac","tablier","tactile","tailler","talent","talisman","talonner","tambour","tamiser","tangible","tapis","taquiner","tarder","tarif","tartine","tasse","tatami","tatouage","taupe","taureau","taxer","témoin","temporel","tenaille","tendre","teneur","tenir","tension","terminer","terne","terrible","tétine","texte","thème","théorie","thérapie","thorax","tibia","tiède","timide","tirelire","tiroir","tissu","titane","titre","tituber","toboggan","tolérant","tomate","tonique","tonneau","toponyme","torche","tordre","tornade","torpille","torrent","torse","tortue","totem","toucher","tournage","tousser","toxine","traction","trafic","tragique","trahir","train","trancher","travail","trèfle","tremper","trésor","treuil","triage","tribunal","tricoter","trilogie","triomphe","tripler","triturer","trivial","trombone","tronc","tropical","troupeau","tuile","tulipe","tumulte","tunnel","turbine","tuteur","tutoyer","tuyau","tympan","typhon","typique","tyran","ubuesque","ultime","ultrason","unanime","unifier","union","unique","unitaire","univers","uranium","urbain","urticant","usage","usine","usuel","usure","utile","utopie","vacarme","vaccin","vagabond","vague","vaillant","vaincre","vaisseau","valable","valise","vallon","valve","vampire","vanille","vapeur","varier","vaseux","vassal","vaste","vecteur","vedette","végétal","véhicule","veinard","véloce","vendredi","vénérer","venger","venimeux","ventouse","verdure","vérin","vernir","verrou","verser","vertu","veston","vétéran","vétuste","vexant","vexer","viaduc","viande","victoire","vidange","vidéo","vignette","vigueur","vilain","village","vinaigre","violon","vipère","virement","virtuose","virus","visage","viseur","vision","visqueux","visuel","vital","vitesse","viticole","vitrine","vivace","vivipare","vocation","voguer","voile","voisin","voiture","volaille","volcan","voltiger","volume","vorace","vortex","voter","vouloir","voyage","voyelle","wagon","xénon","yacht","zèbre","zénith","zeste","zoologie"]')},function(e){e.exports=JSON.parse('["abaco","abbaglio","abbinato","abete","abisso","abolire","abrasivo","abrogato","accadere","accenno","accusato","acetone","achille","acido","acqua","acre","acrilico","acrobata","acuto","adagio","addebito","addome","adeguato","aderire","adipe","adottare","adulare","affabile","affetto","affisso","affranto","aforisma","afoso","africano","agave","agente","agevole","aggancio","agire","agitare","agonismo","agricolo","agrumeto","aguzzo","alabarda","alato","albatro","alberato","albo","albume","alce","alcolico","alettone","alfa","algebra","aliante","alibi","alimento","allagato","allegro","allievo","allodola","allusivo","almeno","alogeno","alpaca","alpestre","altalena","alterno","alticcio","altrove","alunno","alveolo","alzare","amalgama","amanita","amarena","ambito","ambrato","ameba","america","ametista","amico","ammasso","ammenda","ammirare","ammonito","amore","ampio","ampliare","amuleto","anacardo","anagrafe","analista","anarchia","anatra","anca","ancella","ancora","andare","andrea","anello","angelo","angolare","angusto","anima","annegare","annidato","anno","annuncio","anonimo","anticipo","anzi","apatico","apertura","apode","apparire","appetito","appoggio","approdo","appunto","aprile","arabica","arachide","aragosta","araldica","arancio","aratura","arazzo","arbitro","archivio","ardito","arenile","argento","argine","arguto","aria","armonia","arnese","arredato","arringa","arrosto","arsenico","arso","artefice","arzillo","asciutto","ascolto","asepsi","asettico","asfalto","asino","asola","aspirato","aspro","assaggio","asse","assoluto","assurdo","asta","astenuto","astice","astratto","atavico","ateismo","atomico","atono","attesa","attivare","attorno","attrito","attuale","ausilio","austria","autista","autonomo","autunno","avanzato","avere","avvenire","avviso","avvolgere","azione","azoto","azzimo","azzurro","babele","baccano","bacino","baco","badessa","badilata","bagnato","baita","balcone","baldo","balena","ballata","balzano","bambino","bandire","baraonda","barbaro","barca","baritono","barlume","barocco","basilico","basso","batosta","battuto","baule","bava","bavosa","becco","beffa","belgio","belva","benda","benevole","benigno","benzina","bere","berlina","beta","bibita","bici","bidone","bifido","biga","bilancia","bimbo","binocolo","biologo","bipede","bipolare","birbante","birra","biscotto","bisesto","bisnonno","bisonte","bisturi","bizzarro","blando","blatta","bollito","bonifico","bordo","bosco","botanico","bottino","bozzolo","braccio","bradipo","brama","branca","bravura","bretella","brevetto","brezza","briglia","brillante","brindare","broccolo","brodo","bronzina","brullo","bruno","bubbone","buca","budino","buffone","buio","bulbo","buono","burlone","burrasca","bussola","busta","cadetto","caduco","calamaro","calcolo","calesse","calibro","calmo","caloria","cambusa","camerata","camicia","cammino","camola","campale","canapa","candela","cane","canino","canotto","cantina","capace","capello","capitolo","capogiro","cappero","capra","capsula","carapace","carcassa","cardo","carisma","carovana","carretto","cartolina","casaccio","cascata","caserma","caso","cassone","castello","casuale","catasta","catena","catrame","cauto","cavillo","cedibile","cedrata","cefalo","celebre","cellulare","cena","cenone","centesimo","ceramica","cercare","certo","cerume","cervello","cesoia","cespo","ceto","chela","chiaro","chicca","chiedere","chimera","china","chirurgo","chitarra","ciao","ciclismo","cifrare","cigno","cilindro","ciottolo","circa","cirrosi","citrico","cittadino","ciuffo","civetta","civile","classico","clinica","cloro","cocco","codardo","codice","coerente","cognome","collare","colmato","colore","colposo","coltivato","colza","coma","cometa","commando","comodo","computer","comune","conciso","condurre","conferma","congelare","coniuge","connesso","conoscere","consumo","continuo","convegno","coperto","copione","coppia","copricapo","corazza","cordata","coricato","cornice","corolla","corpo","corredo","corsia","cortese","cosmico","costante","cottura","covato","cratere","cravatta","creato","credere","cremoso","crescita","creta","criceto","crinale","crisi","critico","croce","cronaca","crostata","cruciale","crusca","cucire","cuculo","cugino","cullato","cupola","curatore","cursore","curvo","cuscino","custode","dado","daino","dalmata","damerino","daniela","dannoso","danzare","datato","davanti","davvero","debutto","decennio","deciso","declino","decollo","decreto","dedicato","definito","deforme","degno","delegare","delfino","delirio","delta","demenza","denotato","dentro","deposito","derapata","derivare","deroga","descritto","deserto","desiderio","desumere","detersivo","devoto","diametro","dicembre","diedro","difeso","diffuso","digerire","digitale","diluvio","dinamico","dinnanzi","dipinto","diploma","dipolo","diradare","dire","dirotto","dirupo","disagio","discreto","disfare","disgelo","disposto","distanza","disumano","dito","divano","divelto","dividere","divorato","doblone","docente","doganale","dogma","dolce","domato","domenica","dominare","dondolo","dono","dormire","dote","dottore","dovuto","dozzina","drago","druido","dubbio","dubitare","ducale","duna","duomo","duplice","duraturo","ebano","eccesso","ecco","eclissi","economia","edera","edicola","edile","editoria","educare","egemonia","egli","egoismo","egregio","elaborato","elargire","elegante","elencato","eletto","elevare","elfico","elica","elmo","elsa","eluso","emanato","emblema","emesso","emiro","emotivo","emozione","empirico","emulo","endemico","enduro","energia","enfasi","enoteca","entrare","enzima","epatite","epilogo","episodio","epocale","eppure","equatore","erario","erba","erboso","erede","eremita","erigere","ermetico","eroe","erosivo","errante","esagono","esame","esanime","esaudire","esca","esempio","esercito","esibito","esigente","esistere","esito","esofago","esortato","esoso","espanso","espresso","essenza","esso","esteso","estimare","estonia","estroso","esultare","etilico","etnico","etrusco","etto","euclideo","europa","evaso","evidenza","evitato","evoluto","evviva","fabbrica","faccenda","fachiro","falco","famiglia","fanale","fanfara","fango","fantasma","fare","farfalla","farinoso","farmaco","fascia","fastoso","fasullo","faticare","fato","favoloso","febbre","fecola","fede","fegato","felpa","feltro","femmina","fendere","fenomeno","fermento","ferro","fertile","fessura","festivo","fetta","feudo","fiaba","fiducia","fifa","figurato","filo","finanza","finestra","finire","fiore","fiscale","fisico","fiume","flacone","flamenco","flebo","flemma","florido","fluente","fluoro","fobico","focaccia","focoso","foderato","foglio","folata","folclore","folgore","fondente","fonetico","fonia","fontana","forbito","forchetta","foresta","formica","fornaio","foro","fortezza","forzare","fosfato","fosso","fracasso","frana","frassino","fratello","freccetta","frenata","fresco","frigo","frollino","fronde","frugale","frutta","fucilata","fucsia","fuggente","fulmine","fulvo","fumante","fumetto","fumoso","fune","funzione","fuoco","furbo","furgone","furore","fuso","futile","gabbiano","gaffe","galateo","gallina","galoppo","gambero","gamma","garanzia","garbo","garofano","garzone","gasdotto","gasolio","gastrico","gatto","gaudio","gazebo","gazzella","geco","gelatina","gelso","gemello","gemmato","gene","genitore","gennaio","genotipo","gergo","ghepardo","ghiaccio","ghisa","giallo","gilda","ginepro","giocare","gioiello","giorno","giove","girato","girone","gittata","giudizio","giurato","giusto","globulo","glutine","gnomo","gobba","golf","gomito","gommone","gonfio","gonna","governo","gracile","grado","grafico","grammo","grande","grattare","gravoso","grazia","greca","gregge","grifone","grigio","grinza","grotta","gruppo","guadagno","guaio","guanto","guardare","gufo","guidare","ibernato","icona","identico","idillio","idolo","idra","idrico","idrogeno","igiene","ignaro","ignorato","ilare","illeso","illogico","illudere","imballo","imbevuto","imbocco","imbuto","immane","immerso","immolato","impacco","impeto","impiego","importo","impronta","inalare","inarcare","inattivo","incanto","incendio","inchino","incisivo","incluso","incontro","incrocio","incubo","indagine","india","indole","inedito","infatti","infilare","inflitto","ingaggio","ingegno","inglese","ingordo","ingrosso","innesco","inodore","inoltrare","inondato","insano","insetto","insieme","insonnia","insulina","intasato","intero","intonaco","intuito","inumidire","invalido","invece","invito","iperbole","ipnotico","ipotesi","ippica","iride","irlanda","ironico","irrigato","irrorare","isolato","isotopo","isterico","istituto","istrice","italia","iterare","labbro","labirinto","lacca","lacerato","lacrima","lacuna","laddove","lago","lampo","lancetta","lanterna","lardoso","larga","laringe","lastra","latenza","latino","lattuga","lavagna","lavoro","legale","leggero","lembo","lentezza","lenza","leone","lepre","lesivo","lessato","lesto","letterale","leva","levigato","libero","lido","lievito","lilla","limatura","limitare","limpido","lineare","lingua","liquido","lira","lirica","lisca","lite","litigio","livrea","locanda","lode","logica","lombare","londra","longevo","loquace","lorenzo","loto","lotteria","luce","lucidato","lumaca","luminoso","lungo","lupo","luppolo","lusinga","lusso","lutto","macabro","macchina","macero","macinato","madama","magico","maglia","magnete","magro","maiolica","malafede","malgrado","malinteso","malsano","malto","malumore","mana","mancia","mandorla","mangiare","manifesto","mannaro","manovra","mansarda","mantide","manubrio","mappa","maratona","marcire","maretta","marmo","marsupio","maschera","massaia","mastino","materasso","matricola","mattone","maturo","mazurca","meandro","meccanico","mecenate","medesimo","meditare","mega","melassa","melis","melodia","meninge","meno","mensola","mercurio","merenda","merlo","meschino","mese","messere","mestolo","metallo","metodo","mettere","miagolare","mica","micelio","michele","microbo","midollo","miele","migliore","milano","milite","mimosa","minerale","mini","minore","mirino","mirtillo","miscela","missiva","misto","misurare","mitezza","mitigare","mitra","mittente","mnemonico","modello","modifica","modulo","mogano","mogio","mole","molosso","monastero","monco","mondina","monetario","monile","monotono","monsone","montato","monviso","mora","mordere","morsicato","mostro","motivato","motosega","motto","movenza","movimento","mozzo","mucca","mucosa","muffa","mughetto","mugnaio","mulatto","mulinello","multiplo","mummia","munto","muovere","murale","musa","muscolo","musica","mutevole","muto","nababbo","nafta","nanometro","narciso","narice","narrato","nascere","nastrare","naturale","nautica","naviglio","nebulosa","necrosi","negativo","negozio","nemmeno","neofita","neretto","nervo","nessuno","nettuno","neutrale","neve","nevrotico","nicchia","ninfa","nitido","nobile","nocivo","nodo","nome","nomina","nordico","normale","norvegese","nostrano","notare","notizia","notturno","novella","nucleo","nulla","numero","nuovo","nutrire","nuvola","nuziale","oasi","obbedire","obbligo","obelisco","oblio","obolo","obsoleto","occasione","occhio","occidente","occorrere","occultare","ocra","oculato","odierno","odorare","offerta","offrire","offuscato","oggetto","oggi","ognuno","olandese","olfatto","oliato","oliva","ologramma","oltre","omaggio","ombelico","ombra","omega","omissione","ondoso","onere","onice","onnivoro","onorevole","onta","operato","opinione","opposto","oracolo","orafo","ordine","orecchino","orefice","orfano","organico","origine","orizzonte","orma","ormeggio","ornativo","orologio","orrendo","orribile","ortensia","ortica","orzata","orzo","osare","oscurare","osmosi","ospedale","ospite","ossa","ossidare","ostacolo","oste","otite","otre","ottagono","ottimo","ottobre","ovale","ovest","ovino","oviparo","ovocito","ovunque","ovviare","ozio","pacchetto","pace","pacifico","padella","padrone","paese","paga","pagina","palazzina","palesare","pallido","palo","palude","pandoro","pannello","paolo","paonazzo","paprica","parabola","parcella","parere","pargolo","pari","parlato","parola","partire","parvenza","parziale","passivo","pasticca","patacca","patologia","pattume","pavone","peccato","pedalare","pedonale","peggio","peloso","penare","pendice","penisola","pennuto","penombra","pensare","pentola","pepe","pepita","perbene","percorso","perdonato","perforare","pergamena","periodo","permesso","perno","perplesso","persuaso","pertugio","pervaso","pesatore","pesista","peso","pestifero","petalo","pettine","petulante","pezzo","piacere","pianta","piattino","piccino","picozza","piega","pietra","piffero","pigiama","pigolio","pigro","pila","pilifero","pillola","pilota","pimpante","pineta","pinna","pinolo","pioggia","piombo","piramide","piretico","pirite","pirolisi","pitone","pizzico","placebo","planare","plasma","platano","plenario","pochezza","poderoso","podismo","poesia","poggiare","polenta","poligono","pollice","polmonite","polpetta","polso","poltrona","polvere","pomice","pomodoro","ponte","popoloso","porfido","poroso","porpora","porre","portata","posa","positivo","possesso","postulato","potassio","potere","pranzo","prassi","pratica","precluso","predica","prefisso","pregiato","prelievo","premere","prenotare","preparato","presenza","pretesto","prevalso","prima","principe","privato","problema","procura","produrre","profumo","progetto","prolunga","promessa","pronome","proposta","proroga","proteso","prova","prudente","prugna","prurito","psiche","pubblico","pudica","pugilato","pugno","pulce","pulito","pulsante","puntare","pupazzo","pupilla","puro","quadro","qualcosa","quasi","querela","quota","raccolto","raddoppio","radicale","radunato","raffica","ragazzo","ragione","ragno","ramarro","ramingo","ramo","randagio","rantolare","rapato","rapina","rappreso","rasatura","raschiato","rasente","rassegna","rastrello","rata","ravveduto","reale","recepire","recinto","recluta","recondito","recupero","reddito","redimere","regalato","registro","regola","regresso","relazione","remare","remoto","renna","replica","reprimere","reputare","resa","residente","responso","restauro","rete","retina","retorica","rettifica","revocato","riassunto","ribadire","ribelle","ribrezzo","ricarica","ricco","ricevere","riciclato","ricordo","ricreduto","ridicolo","ridurre","rifasare","riflesso","riforma","rifugio","rigare","rigettato","righello","rilassato","rilevato","rimanere","rimbalzo","rimedio","rimorchio","rinascita","rincaro","rinforzo","rinnovo","rinomato","rinsavito","rintocco","rinuncia","rinvenire","riparato","ripetuto","ripieno","riportare","ripresa","ripulire","risata","rischio","riserva","risibile","riso","rispetto","ristoro","risultato","risvolto","ritardo","ritegno","ritmico","ritrovo","riunione","riva","riverso","rivincita","rivolto","rizoma","roba","robotico","robusto","roccia","roco","rodaggio","rodere","roditore","rogito","rollio","romantico","rompere","ronzio","rosolare","rospo","rotante","rotondo","rotula","rovescio","rubizzo","rubrica","ruga","rullino","rumine","rumoroso","ruolo","rupe","russare","rustico","sabato","sabbiare","sabotato","sagoma","salasso","saldatura","salgemma","salivare","salmone","salone","saltare","saluto","salvo","sapere","sapido","saporito","saraceno","sarcasmo","sarto","sassoso","satellite","satira","satollo","saturno","savana","savio","saziato","sbadiglio","sbalzo","sbancato","sbarra","sbattere","sbavare","sbendare","sbirciare","sbloccato","sbocciato","sbrinare","sbruffone","sbuffare","scabroso","scadenza","scala","scambiare","scandalo","scapola","scarso","scatenare","scavato","scelto","scenico","scettro","scheda","schiena","sciarpa","scienza","scindere","scippo","sciroppo","scivolo","sclerare","scodella","scolpito","scomparto","sconforto","scoprire","scorta","scossone","scozzese","scriba","scrollare","scrutinio","scuderia","scultore","scuola","scuro","scusare","sdebitare","sdoganare","seccatura","secondo","sedano","seggiola","segnalato","segregato","seguito","selciato","selettivo","sella","selvaggio","semaforo","sembrare","seme","seminato","sempre","senso","sentire","sepolto","sequenza","serata","serbato","sereno","serio","serpente","serraglio","servire","sestina","setola","settimana","sfacelo","sfaldare","sfamato","sfarzoso","sfaticato","sfera","sfida","sfilato","sfinge","sfocato","sfoderare","sfogo","sfoltire","sforzato","sfratto","sfruttato","sfuggito","sfumare","sfuso","sgabello","sgarbato","sgonfiare","sgorbio","sgrassato","sguardo","sibilo","siccome","sierra","sigla","signore","silenzio","sillaba","simbolo","simpatico","simulato","sinfonia","singolo","sinistro","sino","sintesi","sinusoide","sipario","sisma","sistole","situato","slitta","slogatura","sloveno","smarrito","smemorato","smentito","smeraldo","smilzo","smontare","smottato","smussato","snellire","snervato","snodo","sobbalzo","sobrio","soccorso","sociale","sodale","soffitto","sogno","soldato","solenne","solido","sollazzo","solo","solubile","solvente","somatico","somma","sonda","sonetto","sonnifero","sopire","soppeso","sopra","sorgere","sorpasso","sorriso","sorso","sorteggio","sorvolato","sospiro","sosta","sottile","spada","spalla","spargere","spatola","spavento","spazzola","specie","spedire","spegnere","spelatura","speranza","spessore","spettrale","spezzato","spia","spigoloso","spillato","spinoso","spirale","splendido","sportivo","sposo","spranga","sprecare","spronato","spruzzo","spuntino","squillo","sradicare","srotolato","stabile","stacco","staffa","stagnare","stampato","stantio","starnuto","stasera","statuto","stelo","steppa","sterzo","stiletto","stima","stirpe","stivale","stizzoso","stonato","storico","strappo","stregato","stridulo","strozzare","strutto","stuccare","stufo","stupendo","subentro","succoso","sudore","suggerito","sugo","sultano","suonare","superbo","supporto","surgelato","surrogato","sussurro","sutura","svagare","svedese","sveglio","svelare","svenuto","svezia","sviluppo","svista","svizzera","svolta","svuotare","tabacco","tabulato","tacciare","taciturno","tale","talismano","tampone","tannino","tara","tardivo","targato","tariffa","tarpare","tartaruga","tasto","tattico","taverna","tavolata","tazza","teca","tecnico","telefono","temerario","tempo","temuto","tendone","tenero","tensione","tentacolo","teorema","terme","terrazzo","terzetto","tesi","tesserato","testato","tetro","tettoia","tifare","tigella","timbro","tinto","tipico","tipografo","tiraggio","tiro","titanio","titolo","titubante","tizio","tizzone","toccare","tollerare","tolto","tombola","tomo","tonfo","tonsilla","topazio","topologia","toppa","torba","tornare","torrone","tortora","toscano","tossire","tostatura","totano","trabocco","trachea","trafila","tragedia","tralcio","tramonto","transito","trapano","trarre","trasloco","trattato","trave","treccia","tremolio","trespolo","tributo","tricheco","trifoglio","trillo","trincea","trio","tristezza","triturato","trivella","tromba","trono","troppo","trottola","trovare","truccato","tubatura","tuffato","tulipano","tumulto","tunisia","turbare","turchino","tuta","tutela","ubicato","uccello","uccisore","udire","uditivo","uffa","ufficio","uguale","ulisse","ultimato","umano","umile","umorismo","uncinetto","ungere","ungherese","unicorno","unificato","unisono","unitario","unte","uovo","upupa","uragano","urgenza","urlo","usanza","usato","uscito","usignolo","usuraio","utensile","utilizzo","utopia","vacante","vaccinato","vagabondo","vagliato","valanga","valgo","valico","valletta","valoroso","valutare","valvola","vampata","vangare","vanitoso","vano","vantaggio","vanvera","vapore","varano","varcato","variante","vasca","vedetta","vedova","veduto","vegetale","veicolo","velcro","velina","velluto","veloce","venato","vendemmia","vento","verace","verbale","vergogna","verifica","vero","verruca","verticale","vescica","vessillo","vestale","veterano","vetrina","vetusto","viandante","vibrante","vicenda","vichingo","vicinanza","vidimare","vigilia","vigneto","vigore","vile","villano","vimini","vincitore","viola","vipera","virgola","virologo","virulento","viscoso","visione","vispo","vissuto","visura","vita","vitello","vittima","vivanda","vivido","viziare","voce","voga","volatile","volere","volpe","voragine","vulcano","zampogna","zanna","zappato","zattera","zavorra","zefiro","zelante","zelo","zenzero","zerbino","zibetto","zinco","zircone","zitto","zolla","zotico","zucchero","zufolo","zulu","zuppa"]')},function(e){e.exports=JSON.parse('["ábaco","abdomen","abeja","abierto","abogado","abono","aborto","abrazo","abrir","abuelo","abuso","acabar","academia","acceso","acción","aceite","acelga","acento","aceptar","ácido","aclarar","acné","acoger","acoso","activo","acto","actriz","actuar","acudir","acuerdo","acusar","adicto","admitir","adoptar","adorno","aduana","adulto","aéreo","afectar","afición","afinar","afirmar","ágil","agitar","agonía","agosto","agotar","agregar","agrio","agua","agudo","águila","aguja","ahogo","ahorro","aire","aislar","ajedrez","ajeno","ajuste","alacrán","alambre","alarma","alba","álbum","alcalde","aldea","alegre","alejar","alerta","aleta","alfiler","alga","algodón","aliado","aliento","alivio","alma","almeja","almíbar","altar","alteza","altivo","alto","altura","alumno","alzar","amable","amante","amapola","amargo","amasar","ámbar","ámbito","ameno","amigo","amistad","amor","amparo","amplio","ancho","anciano","ancla","andar","andén","anemia","ángulo","anillo","ánimo","anís","anotar","antena","antiguo","antojo","anual","anular","anuncio","añadir","añejo","año","apagar","aparato","apetito","apio","aplicar","apodo","aporte","apoyo","aprender","aprobar","apuesta","apuro","arado","araña","arar","árbitro","árbol","arbusto","archivo","arco","arder","ardilla","arduo","área","árido","aries","armonía","arnés","aroma","arpa","arpón","arreglo","arroz","arruga","arte","artista","asa","asado","asalto","ascenso","asegurar","aseo","asesor","asiento","asilo","asistir","asno","asombro","áspero","astilla","astro","astuto","asumir","asunto","atajo","ataque","atar","atento","ateo","ático","atleta","átomo","atraer","atroz","atún","audaz","audio","auge","aula","aumento","ausente","autor","aval","avance","avaro","ave","avellana","avena","avestruz","avión","aviso","ayer","ayuda","ayuno","azafrán","azar","azote","azúcar","azufre","azul","baba","babor","bache","bahía","baile","bajar","balanza","balcón","balde","bambú","banco","banda","baño","barba","barco","barniz","barro","báscula","bastón","basura","batalla","batería","batir","batuta","baúl","bazar","bebé","bebida","bello","besar","beso","bestia","bicho","bien","bingo","blanco","bloque","blusa","boa","bobina","bobo","boca","bocina","boda","bodega","boina","bola","bolero","bolsa","bomba","bondad","bonito","bono","bonsái","borde","borrar","bosque","bote","botín","bóveda","bozal","bravo","brazo","brecha","breve","brillo","brinco","brisa","broca","broma","bronce","brote","bruja","brusco","bruto","buceo","bucle","bueno","buey","bufanda","bufón","búho","buitre","bulto","burbuja","burla","burro","buscar","butaca","buzón","caballo","cabeza","cabina","cabra","cacao","cadáver","cadena","caer","café","caída","caimán","caja","cajón","cal","calamar","calcio","caldo","calidad","calle","calma","calor","calvo","cama","cambio","camello","camino","campo","cáncer","candil","canela","canguro","canica","canto","caña","cañón","caoba","caos","capaz","capitán","capote","captar","capucha","cara","carbón","cárcel","careta","carga","cariño","carne","carpeta","carro","carta","casa","casco","casero","caspa","castor","catorce","catre","caudal","causa","cazo","cebolla","ceder","cedro","celda","célebre","celoso","célula","cemento","ceniza","centro","cerca","cerdo","cereza","cero","cerrar","certeza","césped","cetro","chacal","chaleco","champú","chancla","chapa","charla","chico","chiste","chivo","choque","choza","chuleta","chupar","ciclón","ciego","cielo","cien","cierto","cifra","cigarro","cima","cinco","cine","cinta","ciprés","circo","ciruela","cisne","cita","ciudad","clamor","clan","claro","clase","clave","cliente","clima","clínica","cobre","cocción","cochino","cocina","coco","código","codo","cofre","coger","cohete","cojín","cojo","cola","colcha","colegio","colgar","colina","collar","colmo","columna","combate","comer","comida","cómodo","compra","conde","conejo","conga","conocer","consejo","contar","copa","copia","corazón","corbata","corcho","cordón","corona","correr","coser","cosmos","costa","cráneo","cráter","crear","crecer","creído","crema","cría","crimen","cripta","crisis","cromo","crónica","croqueta","crudo","cruz","cuadro","cuarto","cuatro","cubo","cubrir","cuchara","cuello","cuento","cuerda","cuesta","cueva","cuidar","culebra","culpa","culto","cumbre","cumplir","cuna","cuneta","cuota","cupón","cúpula","curar","curioso","curso","curva","cutis","dama","danza","dar","dardo","dátil","deber","débil","década","decir","dedo","defensa","definir","dejar","delfín","delgado","delito","demora","denso","dental","deporte","derecho","derrota","desayuno","deseo","desfile","desnudo","destino","desvío","detalle","detener","deuda","día","diablo","diadema","diamante","diana","diario","dibujo","dictar","diente","dieta","diez","difícil","digno","dilema","diluir","dinero","directo","dirigir","disco","diseño","disfraz","diva","divino","doble","doce","dolor","domingo","don","donar","dorado","dormir","dorso","dos","dosis","dragón","droga","ducha","duda","duelo","dueño","dulce","dúo","duque","durar","dureza","duro","ébano","ebrio","echar","eco","ecuador","edad","edición","edificio","editor","educar","efecto","eficaz","eje","ejemplo","elefante","elegir","elemento","elevar","elipse","élite","elixir","elogio","eludir","embudo","emitir","emoción","empate","empeño","empleo","empresa","enano","encargo","enchufe","encía","enemigo","enero","enfado","enfermo","engaño","enigma","enlace","enorme","enredo","ensayo","enseñar","entero","entrar","envase","envío","época","equipo","erizo","escala","escena","escolar","escribir","escudo","esencia","esfera","esfuerzo","espada","espejo","espía","esposa","espuma","esquí","estar","este","estilo","estufa","etapa","eterno","ética","etnia","evadir","evaluar","evento","evitar","exacto","examen","exceso","excusa","exento","exigir","exilio","existir","éxito","experto","explicar","exponer","extremo","fábrica","fábula","fachada","fácil","factor","faena","faja","falda","fallo","falso","faltar","fama","familia","famoso","faraón","farmacia","farol","farsa","fase","fatiga","fauna","favor","fax","febrero","fecha","feliz","feo","feria","feroz","fértil","fervor","festín","fiable","fianza","fiar","fibra","ficción","ficha","fideo","fiebre","fiel","fiera","fiesta","figura","fijar","fijo","fila","filete","filial","filtro","fin","finca","fingir","finito","firma","flaco","flauta","flecha","flor","flota","fluir","flujo","flúor","fobia","foca","fogata","fogón","folio","folleto","fondo","forma","forro","fortuna","forzar","fosa","foto","fracaso","frágil","franja","frase","fraude","freír","freno","fresa","frío","frito","fruta","fuego","fuente","fuerza","fuga","fumar","función","funda","furgón","furia","fusil","fútbol","futuro","gacela","gafas","gaita","gajo","gala","galería","gallo","gamba","ganar","gancho","ganga","ganso","garaje","garza","gasolina","gastar","gato","gavilán","gemelo","gemir","gen","género","genio","gente","geranio","gerente","germen","gesto","gigante","gimnasio","girar","giro","glaciar","globo","gloria","gol","golfo","goloso","golpe","goma","gordo","gorila","gorra","gota","goteo","gozar","grada","gráfico","grano","grasa","gratis","grave","grieta","grillo","gripe","gris","grito","grosor","grúa","grueso","grumo","grupo","guante","guapo","guardia","guerra","guía","guiño","guion","guiso","guitarra","gusano","gustar","haber","hábil","hablar","hacer","hacha","hada","hallar","hamaca","harina","haz","hazaña","hebilla","hebra","hecho","helado","helio","hembra","herir","hermano","héroe","hervir","hielo","hierro","hígado","higiene","hijo","himno","historia","hocico","hogar","hoguera","hoja","hombre","hongo","honor","honra","hora","hormiga","horno","hostil","hoyo","hueco","huelga","huerta","hueso","huevo","huida","huir","humano","húmedo","humilde","humo","hundir","huracán","hurto","icono","ideal","idioma","ídolo","iglesia","iglú","igual","ilegal","ilusión","imagen","imán","imitar","impar","imperio","imponer","impulso","incapaz","índice","inerte","infiel","informe","ingenio","inicio","inmenso","inmune","innato","insecto","instante","interés","íntimo","intuir","inútil","invierno","ira","iris","ironía","isla","islote","jabalí","jabón","jamón","jarabe","jardín","jarra","jaula","jazmín","jefe","jeringa","jinete","jornada","joroba","joven","joya","juerga","jueves","juez","jugador","jugo","juguete","juicio","junco","jungla","junio","juntar","júpiter","jurar","justo","juvenil","juzgar","kilo","koala","labio","lacio","lacra","lado","ladrón","lagarto","lágrima","laguna","laico","lamer","lámina","lámpara","lana","lancha","langosta","lanza","lápiz","largo","larva","lástima","lata","látex","latir","laurel","lavar","lazo","leal","lección","leche","lector","leer","legión","legumbre","lejano","lengua","lento","leña","león","leopardo","lesión","letal","letra","leve","leyenda","libertad","libro","licor","líder","lidiar","lienzo","liga","ligero","lima","límite","limón","limpio","lince","lindo","línea","lingote","lino","linterna","líquido","liso","lista","litera","litio","litro","llaga","llama","llanto","llave","llegar","llenar","llevar","llorar","llover","lluvia","lobo","loción","loco","locura","lógica","logro","lombriz","lomo","lonja","lote","lucha","lucir","lugar","lujo","luna","lunes","lupa","lustro","luto","luz","maceta","macho","madera","madre","maduro","maestro","mafia","magia","mago","maíz","maldad","maleta","malla","malo","mamá","mambo","mamut","manco","mando","manejar","manga","maniquí","manjar","mano","manso","manta","mañana","mapa","máquina","mar","marco","marea","marfil","margen","marido","mármol","marrón","martes","marzo","masa","máscara","masivo","matar","materia","matiz","matriz","máximo","mayor","mazorca","mecha","medalla","medio","médula","mejilla","mejor","melena","melón","memoria","menor","mensaje","mente","menú","mercado","merengue","mérito","mes","mesón","meta","meter","método","metro","mezcla","miedo","miel","miembro","miga","mil","milagro","militar","millón","mimo","mina","minero","mínimo","minuto","miope","mirar","misa","miseria","misil","mismo","mitad","mito","mochila","moción","moda","modelo","moho","mojar","molde","moler","molino","momento","momia","monarca","moneda","monja","monto","moño","morada","morder","moreno","morir","morro","morsa","mortal","mosca","mostrar","motivo","mover","móvil","mozo","mucho","mudar","mueble","muela","muerte","muestra","mugre","mujer","mula","muleta","multa","mundo","muñeca","mural","muro","músculo","museo","musgo","música","muslo","nácar","nación","nadar","naipe","naranja","nariz","narrar","nasal","natal","nativo","natural","náusea","naval","nave","navidad","necio","néctar","negar","negocio","negro","neón","nervio","neto","neutro","nevar","nevera","nicho","nido","niebla","nieto","niñez","niño","nítido","nivel","nobleza","noche","nómina","noria","norma","norte","nota","noticia","novato","novela","novio","nube","nuca","núcleo","nudillo","nudo","nuera","nueve","nuez","nulo","número","nutria","oasis","obeso","obispo","objeto","obra","obrero","observar","obtener","obvio","oca","ocaso","océano","ochenta","ocho","ocio","ocre","octavo","octubre","oculto","ocupar","ocurrir","odiar","odio","odisea","oeste","ofensa","oferta","oficio","ofrecer","ogro","oído","oír","ojo","ola","oleada","olfato","olivo","olla","olmo","olor","olvido","ombligo","onda","onza","opaco","opción","ópera","opinar","oponer","optar","óptica","opuesto","oración","orador","oral","órbita","orca","orden","oreja","órgano","orgía","orgullo","oriente","origen","orilla","oro","orquesta","oruga","osadía","oscuro","osezno","oso","ostra","otoño","otro","oveja","óvulo","óxido","oxígeno","oyente","ozono","pacto","padre","paella","página","pago","país","pájaro","palabra","palco","paleta","pálido","palma","paloma","palpar","pan","panal","pánico","pantera","pañuelo","papá","papel","papilla","paquete","parar","parcela","pared","parir","paro","párpado","parque","párrafo","parte","pasar","paseo","pasión","paso","pasta","pata","patio","patria","pausa","pauta","pavo","payaso","peatón","pecado","pecera","pecho","pedal","pedir","pegar","peine","pelar","peldaño","pelea","peligro","pellejo","pelo","peluca","pena","pensar","peñón","peón","peor","pepino","pequeño","pera","percha","perder","pereza","perfil","perico","perla","permiso","perro","persona","pesa","pesca","pésimo","pestaña","pétalo","petróleo","pez","pezuña","picar","pichón","pie","piedra","pierna","pieza","pijama","pilar","piloto","pimienta","pino","pintor","pinza","piña","piojo","pipa","pirata","pisar","piscina","piso","pista","pitón","pizca","placa","plan","plata","playa","plaza","pleito","pleno","plomo","pluma","plural","pobre","poco","poder","podio","poema","poesía","poeta","polen","policía","pollo","polvo","pomada","pomelo","pomo","pompa","poner","porción","portal","posada","poseer","posible","poste","potencia","potro","pozo","prado","precoz","pregunta","premio","prensa","preso","previo","primo","príncipe","prisión","privar","proa","probar","proceso","producto","proeza","profesor","programa","prole","promesa","pronto","propio","próximo","prueba","público","puchero","pudor","pueblo","puerta","puesto","pulga","pulir","pulmón","pulpo","pulso","puma","punto","puñal","puño","pupa","pupila","puré","quedar","queja","quemar","querer","queso","quieto","química","quince","quitar","rábano","rabia","rabo","ración","radical","raíz","rama","rampa","rancho","rango","rapaz","rápido","rapto","rasgo","raspa","rato","rayo","raza","razón","reacción","realidad","rebaño","rebote","recaer","receta","rechazo","recoger","recreo","recto","recurso","red","redondo","reducir","reflejo","reforma","refrán","refugio","regalo","regir","regla","regreso","rehén","reino","reír","reja","relato","relevo","relieve","relleno","reloj","remar","remedio","remo","rencor","rendir","renta","reparto","repetir","reposo","reptil","res","rescate","resina","respeto","resto","resumen","retiro","retorno","retrato","reunir","revés","revista","rey","rezar","rico","riego","rienda","riesgo","rifa","rígido","rigor","rincón","riñón","río","riqueza","risa","ritmo","rito","rizo","roble","roce","rociar","rodar","rodeo","rodilla","roer","rojizo","rojo","romero","romper","ron","ronco","ronda","ropa","ropero","rosa","rosca","rostro","rotar","rubí","rubor","rudo","rueda","rugir","ruido","ruina","ruleta","rulo","rumbo","rumor","ruptura","ruta","rutina","sábado","saber","sabio","sable","sacar","sagaz","sagrado","sala","saldo","salero","salir","salmón","salón","salsa","salto","salud","salvar","samba","sanción","sandía","sanear","sangre","sanidad","sano","santo","sapo","saque","sardina","sartén","sastre","satán","sauna","saxofón","sección","seco","secreto","secta","sed","seguir","seis","sello","selva","semana","semilla","senda","sensor","señal","señor","separar","sepia","sequía","ser","serie","sermón","servir","sesenta","sesión","seta","setenta","severo","sexo","sexto","sidra","siesta","siete","siglo","signo","sílaba","silbar","silencio","silla","símbolo","simio","sirena","sistema","sitio","situar","sobre","socio","sodio","sol","solapa","soldado","soledad","sólido","soltar","solución","sombra","sondeo","sonido","sonoro","sonrisa","sopa","soplar","soporte","sordo","sorpresa","sorteo","sostén","sótano","suave","subir","suceso","sudor","suegra","suelo","sueño","suerte","sufrir","sujeto","sultán","sumar","superar","suplir","suponer","supremo","sur","surco","sureño","surgir","susto","sutil","tabaco","tabique","tabla","tabú","taco","tacto","tajo","talar","talco","talento","talla","talón","tamaño","tambor","tango","tanque","tapa","tapete","tapia","tapón","taquilla","tarde","tarea","tarifa","tarjeta","tarot","tarro","tarta","tatuaje","tauro","taza","tazón","teatro","techo","tecla","técnica","tejado","tejer","tejido","tela","teléfono","tema","temor","templo","tenaz","tender","tener","tenis","tenso","teoría","terapia","terco","término","ternura","terror","tesis","tesoro","testigo","tetera","texto","tez","tibio","tiburón","tiempo","tienda","tierra","tieso","tigre","tijera","tilde","timbre","tímido","timo","tinta","tío","típico","tipo","tira","tirón","titán","títere","título","tiza","toalla","tobillo","tocar","tocino","todo","toga","toldo","tomar","tono","tonto","topar","tope","toque","tórax","torero","tormenta","torneo","toro","torpedo","torre","torso","tortuga","tos","tosco","toser","tóxico","trabajo","tractor","traer","tráfico","trago","traje","tramo","trance","trato","trauma","trazar","trébol","tregua","treinta","tren","trepar","tres","tribu","trigo","tripa","triste","triunfo","trofeo","trompa","tronco","tropa","trote","trozo","truco","trueno","trufa","tubería","tubo","tuerto","tumba","tumor","túnel","túnica","turbina","turismo","turno","tutor","ubicar","úlcera","umbral","unidad","unir","universo","uno","untar","uña","urbano","urbe","urgente","urna","usar","usuario","útil","utopía","uva","vaca","vacío","vacuna","vagar","vago","vaina","vajilla","vale","válido","valle","valor","válvula","vampiro","vara","variar","varón","vaso","vecino","vector","vehículo","veinte","vejez","vela","velero","veloz","vena","vencer","venda","veneno","vengar","venir","venta","venus","ver","verano","verbo","verde","vereda","verja","verso","verter","vía","viaje","vibrar","vicio","víctima","vida","vídeo","vidrio","viejo","viernes","vigor","vil","villa","vinagre","vino","viñedo","violín","viral","virgo","virtud","visor","víspera","vista","vitamina","viudo","vivaz","vivero","vivir","vivo","volcán","volumen","volver","voraz","votar","voto","voz","vuelo","vulgar","yacer","yate","yegua","yema","yerno","yeso","yodo","yoga","yogur","zafiro","zanja","zapato","zarza","zona","zorro","zumo","zurdo"]')},function(e){e.exports=JSON.parse('["あいこくしん","あいさつ","あいだ","あおぞら","あかちゃん","あきる","あけがた","あける","あこがれる","あさい","あさひ","あしあと","あじわう","あずかる","あずき","あそぶ","あたえる","あたためる","あたりまえ","あたる","あつい","あつかう","あっしゅく","あつまり","あつめる","あてな","あてはまる","あひる","あぶら","あぶる","あふれる","あまい","あまど","あまやかす","あまり","あみもの","あめりか","あやまる","あゆむ","あらいぐま","あらし","あらすじ","あらためる","あらゆる","あらわす","ありがとう","あわせる","あわてる","あんい","あんがい","あんこ","あんぜん","あんてい","あんない","あんまり","いいだす","いおん","いがい","いがく","いきおい","いきなり","いきもの","いきる","いくじ","いくぶん","いけばな","いけん","いこう","いこく","いこつ","いさましい","いさん","いしき","いじゅう","いじょう","いじわる","いずみ","いずれ","いせい","いせえび","いせかい","いせき","いぜん","いそうろう","いそがしい","いだい","いだく","いたずら","いたみ","いたりあ","いちおう","いちじ","いちど","いちば","いちぶ","いちりゅう","いつか","いっしゅん","いっせい","いっそう","いったん","いっち","いってい","いっぽう","いてざ","いてん","いどう","いとこ","いない","いなか","いねむり","いのち","いのる","いはつ","いばる","いはん","いびき","いひん","いふく","いへん","いほう","いみん","いもうと","いもたれ","いもり","いやがる","いやす","いよかん","いよく","いらい","いらすと","いりぐち","いりょう","いれい","いれもの","いれる","いろえんぴつ","いわい","いわう","いわかん","いわば","いわゆる","いんげんまめ","いんさつ","いんしょう","いんよう","うえき","うえる","うおざ","うがい","うかぶ","うかべる","うきわ","うくらいな","うくれれ","うけたまわる","うけつけ","うけとる","うけもつ","うける","うごかす","うごく","うこん","うさぎ","うしなう","うしろがみ","うすい","うすぎ","うすぐらい","うすめる","うせつ","うちあわせ","うちがわ","うちき","うちゅう","うっかり","うつくしい","うったえる","うつる","うどん","うなぎ","うなじ","うなずく","うなる","うねる","うのう","うぶげ","うぶごえ","うまれる","うめる","うもう","うやまう","うよく","うらがえす","うらぐち","うらない","うりあげ","うりきれ","うるさい","うれしい","うれゆき","うれる","うろこ","うわき","うわさ","うんこう","うんちん","うんてん","うんどう","えいえん","えいが","えいきょう","えいご","えいせい","えいぶん","えいよう","えいわ","えおり","えがお","えがく","えきたい","えくせる","えしゃく","えすて","えつらん","えのぐ","えほうまき","えほん","えまき","えもじ","えもの","えらい","えらぶ","えりあ","えんえん","えんかい","えんぎ","えんげき","えんしゅう","えんぜつ","えんそく","えんちょう","えんとつ","おいかける","おいこす","おいしい","おいつく","おうえん","おうさま","おうじ","おうせつ","おうたい","おうふく","おうべい","おうよう","おえる","おおい","おおう","おおどおり","おおや","おおよそ","おかえり","おかず","おがむ","おかわり","おぎなう","おきる","おくさま","おくじょう","おくりがな","おくる","おくれる","おこす","おこなう","おこる","おさえる","おさない","おさめる","おしいれ","おしえる","おじぎ","おじさん","おしゃれ","おそらく","おそわる","おたがい","おたく","おだやか","おちつく","おっと","おつり","おでかけ","おとしもの","おとなしい","おどり","おどろかす","おばさん","おまいり","おめでとう","おもいで","おもう","おもたい","おもちゃ","おやつ","おやゆび","およぼす","おらんだ","おろす","おんがく","おんけい","おんしゃ","おんせん","おんだん","おんちゅう","おんどけい","かあつ","かいが","がいき","がいけん","がいこう","かいさつ","かいしゃ","かいすいよく","かいぜん","かいぞうど","かいつう","かいてん","かいとう","かいふく","がいへき","かいほう","かいよう","がいらい","かいわ","かえる","かおり","かかえる","かがく","かがし","かがみ","かくご","かくとく","かざる","がぞう","かたい","かたち","がちょう","がっきゅう","がっこう","がっさん","がっしょう","かなざわし","かのう","がはく","かぶか","かほう","かほご","かまう","かまぼこ","かめれおん","かゆい","かようび","からい","かるい","かろう","かわく","かわら","がんか","かんけい","かんこう","かんしゃ","かんそう","かんたん","かんち","がんばる","きあい","きあつ","きいろ","ぎいん","きうい","きうん","きえる","きおう","きおく","きおち","きおん","きかい","きかく","きかんしゃ","ききて","きくばり","きくらげ","きけんせい","きこう","きこえる","きこく","きさい","きさく","きさま","きさらぎ","ぎじかがく","ぎしき","ぎじたいけん","ぎじにってい","ぎじゅつしゃ","きすう","きせい","きせき","きせつ","きそう","きぞく","きぞん","きたえる","きちょう","きつえん","ぎっちり","きつつき","きつね","きてい","きどう","きどく","きない","きなが","きなこ","きぬごし","きねん","きのう","きのした","きはく","きびしい","きひん","きふく","きぶん","きぼう","きほん","きまる","きみつ","きむずかしい","きめる","きもだめし","きもち","きもの","きゃく","きやく","ぎゅうにく","きよう","きょうりゅう","きらい","きらく","きりん","きれい","きれつ","きろく","ぎろん","きわめる","ぎんいろ","きんかくじ","きんじょ","きんようび","ぐあい","くいず","くうかん","くうき","くうぐん","くうこう","ぐうせい","くうそう","ぐうたら","くうふく","くうぼ","くかん","くきょう","くげん","ぐこう","くさい","くさき","くさばな","くさる","くしゃみ","くしょう","くすのき","くすりゆび","くせげ","くせん","ぐたいてき","くださる","くたびれる","くちこみ","くちさき","くつした","ぐっすり","くつろぐ","くとうてん","くどく","くなん","くねくね","くのう","くふう","くみあわせ","くみたてる","くめる","くやくしょ","くらす","くらべる","くるま","くれる","くろう","くわしい","ぐんかん","ぐんしょく","ぐんたい","ぐんて","けあな","けいかく","けいけん","けいこ","けいさつ","げいじゅつ","けいたい","げいのうじん","けいれき","けいろ","けおとす","けおりもの","げきか","げきげん","げきだん","げきちん","げきとつ","げきは","げきやく","げこう","げこくじょう","げざい","けさき","げざん","けしき","けしごむ","けしょう","げすと","けたば","けちゃっぷ","けちらす","けつあつ","けつい","けつえき","けっこん","けつじょ","けっせき","けってい","けつまつ","げつようび","げつれい","けつろん","げどく","けとばす","けとる","けなげ","けなす","けなみ","けぬき","げねつ","けねん","けはい","げひん","けぶかい","げぼく","けまり","けみかる","けむし","けむり","けもの","けらい","けろけろ","けわしい","けんい","けんえつ","けんお","けんか","げんき","けんげん","けんこう","けんさく","けんしゅう","けんすう","げんそう","けんちく","けんてい","けんとう","けんない","けんにん","げんぶつ","けんま","けんみん","けんめい","けんらん","けんり","こあくま","こいぬ","こいびと","ごうい","こうえん","こうおん","こうかん","ごうきゅう","ごうけい","こうこう","こうさい","こうじ","こうすい","ごうせい","こうそく","こうたい","こうちゃ","こうつう","こうてい","こうどう","こうない","こうはい","ごうほう","ごうまん","こうもく","こうりつ","こえる","こおり","ごかい","ごがつ","ごかん","こくご","こくさい","こくとう","こくない","こくはく","こぐま","こけい","こける","ここのか","こころ","こさめ","こしつ","こすう","こせい","こせき","こぜん","こそだて","こたい","こたえる","こたつ","こちょう","こっか","こつこつ","こつばん","こつぶ","こてい","こてん","ことがら","ことし","ことば","ことり","こなごな","こねこね","このまま","このみ","このよ","ごはん","こひつじ","こふう","こふん","こぼれる","ごまあぶら","こまかい","ごますり","こまつな","こまる","こむぎこ","こもじ","こもち","こもの","こもん","こやく","こやま","こゆう","こゆび","こよい","こよう","こりる","これくしょん","ころっけ","こわもて","こわれる","こんいん","こんかい","こんき","こんしゅう","こんすい","こんだて","こんとん","こんなん","こんびに","こんぽん","こんまけ","こんや","こんれい","こんわく","ざいえき","さいかい","さいきん","ざいげん","ざいこ","さいしょ","さいせい","ざいたく","ざいちゅう","さいてき","ざいりょう","さうな","さかいし","さがす","さかな","さかみち","さがる","さぎょう","さくし","さくひん","さくら","さこく","さこつ","さずかる","ざせき","さたん","さつえい","ざつおん","ざっか","ざつがく","さっきょく","ざっし","さつじん","ざっそう","さつたば","さつまいも","さてい","さといも","さとう","さとおや","さとし","さとる","さのう","さばく","さびしい","さべつ","さほう","さほど","さます","さみしい","さみだれ","さむけ","さめる","さやえんどう","さゆう","さよう","さよく","さらだ","ざるそば","さわやか","さわる","さんいん","さんか","さんきゃく","さんこう","さんさい","ざんしょ","さんすう","さんせい","さんそ","さんち","さんま","さんみ","さんらん","しあい","しあげ","しあさって","しあわせ","しいく","しいん","しうち","しえい","しおけ","しかい","しかく","じかん","しごと","しすう","じだい","したうけ","したぎ","したて","したみ","しちょう","しちりん","しっかり","しつじ","しつもん","してい","してき","してつ","じてん","じどう","しなぎれ","しなもの","しなん","しねま","しねん","しのぐ","しのぶ","しはい","しばかり","しはつ","しはらい","しはん","しひょう","しふく","じぶん","しへい","しほう","しほん","しまう","しまる","しみん","しむける","じむしょ","しめい","しめる","しもん","しゃいん","しゃうん","しゃおん","じゃがいも","しやくしょ","しゃくほう","しゃけん","しゃこ","しゃざい","しゃしん","しゃせん","しゃそう","しゃたい","しゃちょう","しゃっきん","じゃま","しゃりん","しゃれい","じゆう","じゅうしょ","しゅくはく","じゅしん","しゅっせき","しゅみ","しゅらば","じゅんばん","しょうかい","しょくたく","しょっけん","しょどう","しょもつ","しらせる","しらべる","しんか","しんこう","じんじゃ","しんせいじ","しんちく","しんりん","すあげ","すあし","すあな","ずあん","すいえい","すいか","すいとう","ずいぶん","すいようび","すうがく","すうじつ","すうせん","すおどり","すきま","すくう","すくない","すける","すごい","すこし","ずさん","すずしい","すすむ","すすめる","すっかり","ずっしり","ずっと","すてき","すてる","すねる","すのこ","すはだ","すばらしい","ずひょう","ずぶぬれ","すぶり","すふれ","すべて","すべる","ずほう","すぼん","すまい","すめし","すもう","すやき","すらすら","するめ","すれちがう","すろっと","すわる","すんぜん","すんぽう","せあぶら","せいかつ","せいげん","せいじ","せいよう","せおう","せかいかん","せきにん","せきむ","せきゆ","せきらんうん","せけん","せこう","せすじ","せたい","せたけ","せっかく","せっきゃく","ぜっく","せっけん","せっこつ","せっさたくま","せつぞく","せつだん","せつでん","せっぱん","せつび","せつぶん","せつめい","せつりつ","せなか","せのび","せはば","せびろ","せぼね","せまい","せまる","せめる","せもたれ","せりふ","ぜんあく","せんい","せんえい","せんか","せんきょ","せんく","せんげん","ぜんご","せんさい","せんしゅ","せんすい","せんせい","せんぞ","せんたく","せんちょう","せんてい","せんとう","せんぬき","せんねん","せんぱい","ぜんぶ","ぜんぽう","せんむ","せんめんじょ","せんもん","せんやく","せんゆう","せんよう","ぜんら","ぜんりゃく","せんれい","せんろ","そあく","そいとげる","そいね","そうがんきょう","そうき","そうご","そうしん","そうだん","そうなん","そうび","そうめん","そうり","そえもの","そえん","そがい","そげき","そこう","そこそこ","そざい","そしな","そせい","そせん","そそぐ","そだてる","そつう","そつえん","そっかん","そつぎょう","そっけつ","そっこう","そっせん","そっと","そとがわ","そとづら","そなえる","そなた","そふぼ","そぼく","そぼろ","そまつ","そまる","そむく","そむりえ","そめる","そもそも","そよかぜ","そらまめ","そろう","そんかい","そんけい","そんざい","そんしつ","そんぞく","そんちょう","ぞんび","ぞんぶん","そんみん","たあい","たいいん","たいうん","たいえき","たいおう","だいがく","たいき","たいぐう","たいけん","たいこ","たいざい","だいじょうぶ","だいすき","たいせつ","たいそう","だいたい","たいちょう","たいてい","だいどころ","たいない","たいねつ","たいのう","たいはん","だいひょう","たいふう","たいへん","たいほ","たいまつばな","たいみんぐ","たいむ","たいめん","たいやき","たいよう","たいら","たいりょく","たいる","たいわん","たうえ","たえる","たおす","たおる","たおれる","たかい","たかね","たきび","たくさん","たこく","たこやき","たさい","たしざん","だじゃれ","たすける","たずさわる","たそがれ","たたかう","たたく","ただしい","たたみ","たちばな","だっかい","だっきゃく","だっこ","だっしゅつ","だったい","たてる","たとえる","たなばた","たにん","たぬき","たのしみ","たはつ","たぶん","たべる","たぼう","たまご","たまる","だむる","ためいき","ためす","ためる","たもつ","たやすい","たよる","たらす","たりきほんがん","たりょう","たりる","たると","たれる","たれんと","たろっと","たわむれる","だんあつ","たんい","たんおん","たんか","たんき","たんけん","たんご","たんさん","たんじょうび","だんせい","たんそく","たんたい","だんち","たんてい","たんとう","だんな","たんにん","だんねつ","たんのう","たんぴん","だんぼう","たんまつ","たんめい","だんれつ","だんろ","だんわ","ちあい","ちあん","ちいき","ちいさい","ちえん","ちかい","ちから","ちきゅう","ちきん","ちけいず","ちけん","ちこく","ちさい","ちしき","ちしりょう","ちせい","ちそう","ちたい","ちたん","ちちおや","ちつじょ","ちてき","ちてん","ちぬき","ちぬり","ちのう","ちひょう","ちへいせん","ちほう","ちまた","ちみつ","ちみどろ","ちめいど","ちゃんこなべ","ちゅうい","ちゆりょく","ちょうし","ちょさくけん","ちらし","ちらみ","ちりがみ","ちりょう","ちるど","ちわわ","ちんたい","ちんもく","ついか","ついたち","つうか","つうじょう","つうはん","つうわ","つかう","つかれる","つくね","つくる","つけね","つける","つごう","つたえる","つづく","つつじ","つつむ","つとめる","つながる","つなみ","つねづね","つのる","つぶす","つまらない","つまる","つみき","つめたい","つもり","つもる","つよい","つるぼ","つるみく","つわもの","つわり","てあし","てあて","てあみ","ていおん","ていか","ていき","ていけい","ていこく","ていさつ","ていし","ていせい","ていたい","ていど","ていねい","ていひょう","ていへん","ていぼう","てうち","ておくれ","てきとう","てくび","でこぼこ","てさぎょう","てさげ","てすり","てそう","てちがい","てちょう","てつがく","てつづき","でっぱ","てつぼう","てつや","でぬかえ","てぬき","てぬぐい","てのひら","てはい","てぶくろ","てふだ","てほどき","てほん","てまえ","てまきずし","てみじか","てみやげ","てらす","てれび","てわけ","てわたし","でんあつ","てんいん","てんかい","てんき","てんぐ","てんけん","てんごく","てんさい","てんし","てんすう","でんち","てんてき","てんとう","てんない","てんぷら","てんぼうだい","てんめつ","てんらんかい","でんりょく","でんわ","どあい","といれ","どうかん","とうきゅう","どうぐ","とうし","とうむぎ","とおい","とおか","とおく","とおす","とおる","とかい","とかす","ときおり","ときどき","とくい","とくしゅう","とくてん","とくに","とくべつ","とけい","とける","とこや","とさか","としょかん","とそう","とたん","とちゅう","とっきゅう","とっくん","とつぜん","とつにゅう","とどける","ととのえる","とない","となえる","となり","とのさま","とばす","どぶがわ","とほう","とまる","とめる","ともだち","ともる","どようび","とらえる","とんかつ","どんぶり","ないかく","ないこう","ないしょ","ないす","ないせん","ないそう","なおす","ながい","なくす","なげる","なこうど","なさけ","なたでここ","なっとう","なつやすみ","ななおし","なにごと","なにもの","なにわ","なのか","なふだ","なまいき","なまえ","なまみ","なみだ","なめらか","なめる","なやむ","ならう","ならび","ならぶ","なれる","なわとび","なわばり","にあう","にいがた","にうけ","におい","にかい","にがて","にきび","にくしみ","にくまん","にげる","にさんかたんそ","にしき","にせもの","にちじょう","にちようび","にっか","にっき","にっけい","にっこう","にっさん","にっしょく","にっすう","にっせき","にってい","になう","にほん","にまめ","にもつ","にやり","にゅういん","にりんしゃ","にわとり","にんい","にんか","にんき","にんげん","にんしき","にんずう","にんそう","にんたい","にんち","にんてい","にんにく","にんぷ","にんまり","にんむ","にんめい","にんよう","ぬいくぎ","ぬかす","ぬぐいとる","ぬぐう","ぬくもり","ぬすむ","ぬまえび","ぬめり","ぬらす","ぬんちゃく","ねあげ","ねいき","ねいる","ねいろ","ねぐせ","ねくたい","ねくら","ねこぜ","ねこむ","ねさげ","ねすごす","ねそべる","ねだん","ねつい","ねっしん","ねつぞう","ねったいぎょ","ねぶそく","ねふだ","ねぼう","ねほりはほり","ねまき","ねまわし","ねみみ","ねむい","ねむたい","ねもと","ねらう","ねわざ","ねんいり","ねんおし","ねんかん","ねんきん","ねんぐ","ねんざ","ねんし","ねんちゃく","ねんど","ねんぴ","ねんぶつ","ねんまつ","ねんりょう","ねんれい","のいず","のおづま","のがす","のきなみ","のこぎり","のこす","のこる","のせる","のぞく","のぞむ","のたまう","のちほど","のっく","のばす","のはら","のべる","のぼる","のみもの","のやま","のらいぬ","のらねこ","のりもの","のりゆき","のれん","のんき","ばあい","はあく","ばあさん","ばいか","ばいく","はいけん","はいご","はいしん","はいすい","はいせん","はいそう","はいち","ばいばい","はいれつ","はえる","はおる","はかい","ばかり","はかる","はくしゅ","はけん","はこぶ","はさみ","はさん","はしご","ばしょ","はしる","はせる","ぱそこん","はそん","はたん","はちみつ","はつおん","はっかく","はづき","はっきり","はっくつ","はっけん","はっこう","はっさん","はっしん","はったつ","はっちゅう","はってん","はっぴょう","はっぽう","はなす","はなび","はにかむ","はぶらし","はみがき","はむかう","はめつ","はやい","はやし","はらう","はろうぃん","はわい","はんい","はんえい","はんおん","はんかく","はんきょう","ばんぐみ","はんこ","はんしゃ","はんすう","はんだん","ぱんち","ぱんつ","はんてい","はんとし","はんのう","はんぱ","はんぶん","はんぺん","はんぼうき","はんめい","はんらん","はんろん","ひいき","ひうん","ひえる","ひかく","ひかり","ひかる","ひかん","ひくい","ひけつ","ひこうき","ひこく","ひさい","ひさしぶり","ひさん","びじゅつかん","ひしょ","ひそか","ひそむ","ひたむき","ひだり","ひたる","ひつぎ","ひっこし","ひっし","ひつじゅひん","ひっす","ひつぜん","ぴったり","ぴっちり","ひつよう","ひてい","ひとごみ","ひなまつり","ひなん","ひねる","ひはん","ひびく","ひひょう","ひほう","ひまわり","ひまん","ひみつ","ひめい","ひめじし","ひやけ","ひやす","ひよう","びょうき","ひらがな","ひらく","ひりつ","ひりょう","ひるま","ひるやすみ","ひれい","ひろい","ひろう","ひろき","ひろゆき","ひんかく","ひんけつ","ひんこん","ひんしゅ","ひんそう","ぴんち","ひんぱん","びんぼう","ふあん","ふいうち","ふうけい","ふうせん","ぷうたろう","ふうとう","ふうふ","ふえる","ふおん","ふかい","ふきん","ふくざつ","ふくぶくろ","ふこう","ふさい","ふしぎ","ふじみ","ふすま","ふせい","ふせぐ","ふそく","ぶたにく","ふたん","ふちょう","ふつう","ふつか","ふっかつ","ふっき","ふっこく","ぶどう","ふとる","ふとん","ふのう","ふはい","ふひょう","ふへん","ふまん","ふみん","ふめつ","ふめん","ふよう","ふりこ","ふりる","ふるい","ふんいき","ぶんがく","ぶんぐ","ふんしつ","ぶんせき","ふんそう","ぶんぽう","へいあん","へいおん","へいがい","へいき","へいげん","へいこう","へいさ","へいしゃ","へいせつ","へいそ","へいたく","へいてん","へいねつ","へいわ","へきが","へこむ","べにいろ","べにしょうが","へらす","へんかん","べんきょう","べんごし","へんさい","へんたい","べんり","ほあん","ほいく","ぼうぎょ","ほうこく","ほうそう","ほうほう","ほうもん","ほうりつ","ほえる","ほおん","ほかん","ほきょう","ぼきん","ほくろ","ほけつ","ほけん","ほこう","ほこる","ほしい","ほしつ","ほしゅ","ほしょう","ほせい","ほそい","ほそく","ほたて","ほたる","ぽちぶくろ","ほっきょく","ほっさ","ほったん","ほとんど","ほめる","ほんい","ほんき","ほんけ","ほんしつ","ほんやく","まいにち","まかい","まかせる","まがる","まける","まこと","まさつ","まじめ","ますく","まぜる","まつり","まとめ","まなぶ","まぬけ","まねく","まほう","まもる","まゆげ","まよう","まろやか","まわす","まわり","まわる","まんが","まんきつ","まんぞく","まんなか","みいら","みうち","みえる","みがく","みかた","みかん","みけん","みこん","みじかい","みすい","みすえる","みせる","みっか","みつかる","みつける","みてい","みとめる","みなと","みなみかさい","みねらる","みのう","みのがす","みほん","みもと","みやげ","みらい","みりょく","みわく","みんか","みんぞく","むいか","むえき","むえん","むかい","むかう","むかえ","むかし","むぎちゃ","むける","むげん","むさぼる","むしあつい","むしば","むじゅん","むしろ","むすう","むすこ","むすぶ","むすめ","むせる","むせん","むちゅう","むなしい","むのう","むやみ","むよう","むらさき","むりょう","むろん","めいあん","めいうん","めいえん","めいかく","めいきょく","めいさい","めいし","めいそう","めいぶつ","めいれい","めいわく","めぐまれる","めざす","めした","めずらしい","めだつ","めまい","めやす","めんきょ","めんせき","めんどう","もうしあげる","もうどうけん","もえる","もくし","もくてき","もくようび","もちろん","もどる","もらう","もんく","もんだい","やおや","やける","やさい","やさしい","やすい","やすたろう","やすみ","やせる","やそう","やたい","やちん","やっと","やっぱり","やぶる","やめる","ややこしい","やよい","やわらかい","ゆうき","ゆうびんきょく","ゆうべ","ゆうめい","ゆけつ","ゆしゅつ","ゆせん","ゆそう","ゆたか","ゆちゃく","ゆでる","ゆにゅう","ゆびわ","ゆらい","ゆれる","ようい","ようか","ようきゅう","ようじ","ようす","ようちえん","よかぜ","よかん","よきん","よくせい","よくぼう","よけい","よごれる","よさん","よしゅう","よそう","よそく","よっか","よてい","よどがわく","よねつ","よやく","よゆう","よろこぶ","よろしい","らいう","らくがき","らくご","らくさつ","らくだ","らしんばん","らせん","らぞく","らたい","らっか","られつ","りえき","りかい","りきさく","りきせつ","りくぐん","りくつ","りけん","りこう","りせい","りそう","りそく","りてん","りねん","りゆう","りゅうがく","りよう","りょうり","りょかん","りょくちゃ","りょこう","りりく","りれき","りろん","りんご","るいけい","るいさい","るいじ","るいせき","るすばん","るりがわら","れいかん","れいぎ","れいせい","れいぞうこ","れいとう","れいぼう","れきし","れきだい","れんあい","れんけい","れんこん","れんさい","れんしゅう","れんぞく","れんらく","ろうか","ろうご","ろうじん","ろうそく","ろくが","ろこつ","ろじうら","ろしゅつ","ろせん","ろてん","ろめん","ろれつ","ろんぎ","ろんぱ","ろんぶん","ろんり","わかす","わかめ","わかやま","わかれる","わしつ","わじまし","わすれもの","わらう","われる"]')},function(e){e.exports=JSON.parse('["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"]')},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=""){if((0,o.isReady)())return(0,o.bip39ToMiniSecret)(e,t);const r=(0,i.u8aToBuffer)((0,a.default)(e)),n=(0,i.u8aToBuffer)((0,i.stringToU8a)("mnemonic".concat(t)));return(0,i.bufferToU8a)((0,A.pbkdf2Sync)(r,n,2048,64,"sha512")).slice(0,32)},r(115);var A=r(149),i=r(12),o=r(70),a=n(r(1001))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=""){return(0,i.isReady)()?(0,i.bip39ToSeed)(e,t):(0,A.bufferToU8a)((0,n.mnemonicToSeedSync)(e,t)).subarray(0,32)};var n=r(356),A=r(12),i=r(70)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.isReady)()?(0,A.bip39Validate)(e):(0,n.validateMnemonic)(e)},r(115);var n=r(356),A=r(70)},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"naclDecrypt",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"deriveHard",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"naclEncrypt",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"naclKeypairFromRandom",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"naclKeypairFromSecret",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"naclKeypairFromSeed",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"naclKeypairFromString",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"naclSign",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"naclVerify",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"naclBoxKeypairFromSecret",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"naclOpen",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"naclSeal",{enumerable:!0,get:function(){return h.default}});var A=n(r(1891)),i=n(r(996)),o=n(r(1892)),a=n(r(1893)),s=n(r(1894)),u=n(r(538)),l=n(r(1895)),c=n(r(1896)),f=n(r(1002)),d=n(r(1897)),g=n(r(1898)),h=n(r(1899))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return A.default.secretbox.open(e,t,r)||null};var A=n(r(116))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=(0,i.default)(24)){return{encrypted:A.default.secretbox(e,r,t),nonce:r}};var A=n(r(116)),i=n(r(357))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return A.default.sign.keyPair()};var A=n(r(116))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return A.default.sign.keyPair.fromSecretKey(e)};var A=n(r(116))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)((0,i.default)((0,A.stringToU8a)(e),256))};var A=r(12),i=n(r(240)),o=n(r(538))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{publicKey:t,secretKey:r}){(0,i.assert)(r,"Expected valid secretKey");const n=(0,i.u8aToU8a)(e);return(0,o.isReady)()?(0,o.ed25519Sign)(t,r.subarray(0,32),n):A.default.sign.detached(n,r)};var A=n(r(116)),i=r(12),o=r(70)},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return A.default.box.keyPair.fromSecretKey(e.slice(0,32))};var A=n(r(116))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n){return A.default.box.open(e,t,r,n)||null};var A=n(r(116))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n=(0,i.default)(24)){return{nonce:n,sealed:A.default.box(e,n,r,t)}};var A=n(r(116)),i=n(r(357))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"randomAsHex",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"randomAsNumber",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"randomAsU8a",{enumerable:!0,get:function(){return o.default}});var A=n(r(1003)),i=n(r(1901)),o=n(r(357))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,i.hexToBn)((0,o.default)(8)).and(a).toNumber()};var A=n(r(1004)),i=r(12),o=n(r(1003));const a=new A.default(9007199254740991)},function(e,t){},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"schnorrkelDeriveHard",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"schnorrkelDeriveSoft",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"schnorrkelKeypairFromSeed",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"schnorrkelSign",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"schnorrkelVerify",{enumerable:!0,get:function(){return s.default}}),r(115);var A=n(r(997)),i=n(r(999)),o=n(r(1904)),a=n(r(1905)),s=n(r(1005))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)((0,A.sr25519KeypairFromSeed)(e))},r(115);var A=r(70),i=n(r(539))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{publicKey:t,secretKey:r}){(0,n.assert)(32===(null==t?void 0:t.length),"Expected valid publicKey, 32-bytes"),(0,n.assert)(64===(null==r?void 0:r.length),"Expected valid secretKey, 64-bytes");const i=(0,n.u8aToU8a)(e);return(0,A.sr25519Sign)(t,r,i)},r(115);var n=r(12),A=r(70)},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"secp256k1Recover",{enumerable:!0,get:function(){return A.default}});var A=n(r(1907))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return new Uint8Array(A.recoverPubKey(e,{r:t.slice(0,32),s:t.slice(32,64)},r).encode(null,!0))};const A=new(0,n(r(1908)).default.ec)("secp256k1")},function(e,t,r){"use strict";var n=t;n.version=r(1909).version,n.utils=r(117),n.rand=r(150),n.curve=r(1006),n.curves=r(540),n.ec=r(1915),n.eddsa=r(1918)},function(e){e.exports=JSON.parse('{"_from":"elliptic@^6.5.2","_id":"elliptic@6.5.2","_inBundle":false,"_integrity":"sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==","_location":"/@polkadot/util-crypto/elliptic","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"elliptic@^6.5.2","name":"elliptic","escapedName":"elliptic","rawSpec":"^6.5.2","saveSpec":null,"fetchSpec":"^6.5.2"},"_requiredBy":["/@polkadot/util-crypto"],"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz","_shasum":"05c5678d7173c049d8ca433552224a495d0e3762","_spec":"elliptic@^6.5.2","_where":"/Users/Forrest/Desktop/zhiyou/VUE/mathwalletplus/node_modules/@polkadot/util-crypto","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"bugs":{"url":"https://github.com/indutny/elliptic/issues"},"bundleDependencies":false,"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},"deprecated":false,"description":"EC cryptography","devDependencies":{"brfs":"^1.4.3","coveralls":"^3.0.8","grunt":"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.2","jscs":"^3.0.7","jshint":"^2.10.3","mocha":"^6.2.2"},"files":["lib"],"homepage":"https://github.com/indutny/elliptic","keywords":["EC","Elliptic","curve","Cryptography"],"license":"MIT","main":"lib/elliptic.js","name":"elliptic","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/elliptic.git"},"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","test":"npm run lint && npm run unit","unit":"istanbul test _mocha --reporter=spec test/index.js","version":"grunt dist && git add dist/"},"version":"6.5.2"}')},function(e,t){},function(e,t,r){"use strict";var n=r(117),A=r(162),i=r(20),o=r(358),a=n.assert;function s(e){o.call(this,"short",e),this.a=new A(e.a,16).toRed(this.red),this.b=new A(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(e,t,r,n){o.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new A(t,16),this.y=new A(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function l(e,t,r,n){o.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new A(0)):(this.x=new A(t,16),this.y=new A(r,16),this.z=new A(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(s,o),e.exports=s,s.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new A(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new A(e.lambda,16);else{var i=this._getEndoRoots(this.n);0===this.g.mul(i[0]).x.cmp(this.g.x.redMul(t))?r=i[0]:(r=i[1],a(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map(function(e){return{a:new A(e.a,16),b:new A(e.b,16)}}):this._getEndoBasis(r)}}},s.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:A.mont(e),r=new A(2).toRed(t).redInvm(),n=r.redNeg(),i=new A(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(i).fromRed(),n.redSub(i).fromRed()]},s.prototype._getEndoBasis=function(e){for(var t,r,n,i,o,a,s,u,l,c=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,d=this.n.clone(),g=new A(1),h=new A(0),p=new A(0),I=new A(1),B=0;0!==f.cmpn(0);){var C=d.div(f);u=d.sub(C.mul(f)),l=p.sub(C.mul(g));var m=I.sub(C.mul(h));if(!n&&u.cmp(c)<0)t=s.neg(),r=g,n=u.neg(),i=l;else if(n&&2==++B)break;s=u,d=f,f=u,p=g,g=l,I=h,h=m}o=u.neg(),a=l;var y=n.sqr().add(i.sqr());return o.sqr().add(a.sqr()).cmp(y)>=0&&(o=t,a=r),n.negative&&(n=n.neg(),i=i.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:n,b:i},{a:o,b:a}]},s.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],A=n.b.mul(e).divRound(this.n),i=r.b.neg().mul(e).divRound(this.n),o=A.mul(r.a),a=i.mul(n.a),s=A.mul(r.b),u=i.mul(n.b);return{k1:e.sub(o).sub(a),k2:s.add(u).neg()}},s.prototype.pointFromX=function(e,t){(e=new A(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(t&&!i||!t&&i)&&(n=n.redNeg()),this.point(e,n)},s.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),A=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(A).cmpn(0)},s.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,A=this._endoWnafT2,i=0;i<e.length;i++){var o=this._endoSplit(t[i]),a=e[i],s=a._getBeta();o.k1.negative&&(o.k1.ineg(),a=a.neg(!0)),o.k2.negative&&(o.k2.ineg(),s=s.neg(!0)),n[2*i]=a,n[2*i+1]=s,A[2*i]=o.k1,A[2*i+1]=o.k2}for(var u=this._wnafMulAdd(1,n,A,2*i,r),l=0;l<2*i;l++)n[l]=null,A[l]=null;return u},i(u,o.BasePoint),s.prototype.point=function(e,t,r){return new u(this,e,t,r)},s.prototype.pointFromJSON=function(e,t){return u.fromJSON(this,e,t)},u.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(e,t,r){"string"==typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function A(t){return e.point(t[0],t[1],r)}var i=t[2];return n.precomputed={beta:null,doubles:i.doubles&&{step:i.doubles.step,points:[n].concat(i.doubles.points.map(A))},naf:i.naf&&{wnd:i.naf.wnd,points:[n].concat(i.naf.points.map(A))}},n},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),A=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),i=A.redSqr().redISub(this.x.redAdd(this.x)),o=A.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,o)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return e=new A(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){var n=[this,t],A=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,A):this.curve._wnafMulAdd(1,n,A,2)},u.prototype.jmulAdd=function(e,t,r){var n=[this,t],A=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,A,!0):this.curve._wnafMulAdd(1,n,A,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(l,o.BasePoint),s.prototype.jpoint=function(e,t,r){return new l(this,e,t,r)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),A=e.x.redMul(r),i=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),a=n.redSub(A),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),l=u.redMul(a),c=n.redMul(u),f=s.redSqr().redIAdd(l).redISub(c).redISub(c),d=s.redMul(c.redISub(f)).redISub(i.redMul(l)),g=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(f,d,g)},l.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),A=this.y,i=e.y.redMul(t).redMul(this.z),o=r.redSub(n),a=A.redSub(i);if(0===o.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var s=o.redSqr(),u=s.redMul(o),l=r.redMul(s),c=a.redSqr().redIAdd(u).redISub(l).redISub(l),f=a.redMul(l.redISub(c)).redISub(A.redMul(u)),d=this.z.redMul(o);return this.curve.jpoint(c,f,d)},l.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}var n=this.curve.a,A=this.curve.tinv,i=this.x,o=this.y,a=this.z,s=a.redSqr().redSqr(),u=o.redAdd(o);for(r=0;r<e;r++){var l=i.redSqr(),c=u.redSqr(),f=c.redSqr(),d=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(s)),g=i.redMul(c),h=d.redSqr().redISub(g.redAdd(g)),p=g.redISub(h),I=d.redMul(p);I=I.redIAdd(I).redISub(f);var B=u.redMul(a);r+1<e&&(s=s.redMul(f)),i=h,a=B,u=I}return this.curve.jpoint(i,u.redMul(A),a)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},l.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),A=this.y.redSqr(),i=A.redSqr(),o=this.x.redAdd(A).redSqr().redISub(n).redISub(i);o=o.redIAdd(o);var a=n.redAdd(n).redIAdd(n),s=a.redSqr().redISub(o).redISub(o),u=i.redIAdd(i);u=(u=u.redIAdd(u)).redIAdd(u),e=s,t=a.redMul(o.redISub(s)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),c=this.y.redSqr(),f=c.redSqr(),d=this.x.redAdd(c).redSqr().redISub(l).redISub(f);d=d.redIAdd(d);var g=l.redAdd(l).redIAdd(l),h=g.redSqr(),p=f.redIAdd(f);p=(p=p.redIAdd(p)).redIAdd(p),e=h.redISub(d).redISub(d),t=g.redMul(d.redISub(e)).redISub(p),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},l.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),A=this.y.redSqr(),i=A.redSqr(),o=this.x.redAdd(A).redSqr().redISub(n).redISub(i);o=o.redIAdd(o);var a=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),s=a.redSqr().redISub(o).redISub(o);e=s;var u=i.redIAdd(i);u=(u=u.redIAdd(u)).redIAdd(u),t=a.redMul(o.redISub(s)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),c=this.y.redSqr(),f=this.x.redMul(c),d=this.x.redSub(l).redMul(this.x.redAdd(l));d=d.redAdd(d).redIAdd(d);var g=f.redIAdd(f),h=(g=g.redIAdd(g)).redAdd(g);e=d.redSqr().redISub(h),r=this.y.redAdd(this.z).redSqr().redISub(c).redISub(l);var p=c.redSqr();p=(p=(p=p.redIAdd(p)).redIAdd(p)).redIAdd(p),t=d.redMul(g.redISub(e)).redISub(p)}return this.curve.jpoint(e,t,r)},l.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,A=n.redSqr().redSqr(),i=t.redSqr(),o=r.redSqr(),a=i.redAdd(i).redIAdd(i).redIAdd(e.redMul(A)),s=t.redAdd(t),u=(s=s.redIAdd(s)).redMul(o),l=a.redSqr().redISub(u.redAdd(u)),c=u.redISub(l),f=o.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=a.redMul(c).redISub(f),g=r.redAdd(r).redMul(n);return this.curve.jpoint(l,d,g)},l.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),A=e.redAdd(e).redIAdd(e),i=A.redSqr(),o=this.x.redAdd(t).redSqr().redISub(e).redISub(n),a=(o=(o=(o=o.redIAdd(o)).redAdd(o).redIAdd(o)).redISub(i)).redSqr(),s=n.redIAdd(n);s=(s=(s=s.redIAdd(s)).redIAdd(s)).redIAdd(s);var u=A.redIAdd(o).redSqr().redISub(i).redISub(a).redISub(s),l=t.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var c=this.x.redMul(a).redISub(l);c=(c=c.redIAdd(c)).redIAdd(c);var f=this.y.redMul(u.redMul(s.redISub(u)).redISub(o.redMul(a)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=this.z.redAdd(o).redSqr().redISub(r).redISub(a);return this.curve.jpoint(c,f,d)},l.prototype.mul=function(e,t){return e=new A(e,t),this.curve._wnafMul(this,e)},l.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),A=r.redMul(e.z);return 0===this.y.redMul(A).redISub(e.y.redMul(n)).cmpn(0)},l.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),A=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(A),0===this.x.cmp(r))return!0}},l.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,r){"use strict";var n=r(162),A=r(20),i=r(358),o=r(117);function a(e){i.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function s(e,t,r){i.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}A(a,i),e.exports=a,a.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},A(s,i.BasePoint),a.prototype.decodePoint=function(e,t){return this.point(o.toArray(e,t),1)},a.prototype.point=function(e,t){return new s(this,e,t)},a.prototype.pointFromJSON=function(e){return s.fromJSON(this,e)},s.prototype.precompute=function(){},s.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},s.fromJSON=function(e,t){return new s(e,t[0],t[1]||e.one)},s.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},s.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},s.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),A=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,A)},s.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),A=e.x.redAdd(e.z),i=e.x.redSub(e.z).redMul(r),o=A.redMul(n),a=t.z.redMul(i.redAdd(o).redSqr()),s=t.x.redMul(i.redISub(o).redSqr());return this.curve.point(a,s)},s.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),A=[];0!==t.cmpn(0);t.iushrn(1))A.push(t.andln(1));for(var i=A.length-1;i>=0;i--)0===A[i]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},s.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},s.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},s.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,r){"use strict";var n=r(117),A=r(162),i=r(20),o=r(358),a=n.assert;function s(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,o.call(this,"edwards",e),this.a=new A(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new A(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new A(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function u(e,t,r,n,i){o.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new A(t,16),this.y=new A(r,16),this.z=n?new A(n,16):this.curve.one,this.t=i&&new A(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(s,o),e.exports=s,s.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},s.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},s.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},s.prototype.pointFromX=function(e,t){(e=new A(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),i=this.one.redSub(this.c2.redMul(this.d).redMul(r)),o=n.redMul(i.redInvm()),a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var s=a.fromRed().isOdd();return(t&&!s||!t&&s)&&(a=a.redNeg()),this.point(e,a)},s.prototype.pointFromY=function(e,t){(e=new A(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),i=r.redMul(this.d).redMul(this.c2).redSub(this.a),o=n.redMul(i.redInvm());if(0===o.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},s.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),A=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(A)},i(u,o.BasePoint),s.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},s.prototype.point=function(e,t,r,n){return new u(this,e,t,r,n)},u.fromJSON=function(e,t){return new u(e,t[0],t[1],t[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),A=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),i=n.redAdd(t),o=i.redSub(r),a=n.redSub(t),s=A.redMul(o),u=i.redMul(a),l=A.redMul(a),c=o.redMul(i);return this.curve.point(s,u,c,l)},u.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),A=this.x.redSqr(),i=this.y.redSqr();if(this.curve.twisted){var o=(u=this.curve._mulA(A)).redAdd(i);if(this.zOne)e=n.redSub(A).redSub(i).redMul(o.redSub(this.curve.two)),t=o.redMul(u.redSub(i)),r=o.redSqr().redSub(o).redSub(o);else{var a=this.z.redSqr(),s=o.redSub(a).redISub(a);e=n.redSub(A).redISub(i).redMul(s),t=o.redMul(u.redSub(i)),r=o.redMul(s)}}else{var u=A.redAdd(i);a=this.curve._mulC(this.z).redSqr(),s=u.redSub(a).redSub(a);e=this.curve._mulC(n.redISub(u)).redMul(s),t=this.curve._mulC(u).redMul(A.redISub(i)),r=u.redMul(s)}return this.curve.point(e,t,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),A=this.z.redMul(e.z.redAdd(e.z)),i=r.redSub(t),o=A.redSub(n),a=A.redAdd(n),s=r.redAdd(t),u=i.redMul(o),l=a.redMul(s),c=i.redMul(s),f=o.redMul(a);return this.curve.point(u,l,f,c)},u.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),A=n.redSqr(),i=this.x.redMul(e.x),o=this.y.redMul(e.y),a=this.curve.d.redMul(i).redMul(o),s=A.redSub(a),u=A.redAdd(a),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(i).redISub(o),c=n.redMul(s).redMul(l);return this.curve.twisted?(t=n.redMul(u).redMul(o.redSub(this.curve._mulA(i))),r=s.redMul(u)):(t=n.redMul(u).redMul(o.redSub(i)),r=this.curve._mulC(s).redMul(u)),this.curve.point(c,t,r)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},u.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(e,t,r){"use strict";var n=r(162),A=r(264),i=r(117),o=r(540),a=r(150),s=i.assert,u=r(1916),l=r(1917);function c(e){if(!(this instanceof c))return new c(e);"string"==typeof e&&(s(o.hasOwnProperty(e),"Unknown curve "+e),e=o[e]),e instanceof o.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=c,c.prototype.keyPair=function(e){return new u(this,e)},c.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},c.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},c.prototype.genKeyPair=function(e){e||(e={});for(var t=new A({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||a(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),i=this.n.sub(new n(2));;){var o=new n(t.generate(r));if(!(o.cmp(i)>0))return o.iaddn(1),this.keyFromPrivate(o)}},c.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},c.prototype.sign=function(e,t,r,i){"object"==typeof r&&(i=r,r=null),i||(i={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var o=this.n.byteLength(),a=t.getPrivate().toArray("be",o),s=e.toArray("be",o),u=new A({hash:this.hash,entropy:a,nonce:s,pers:i.pers,persEnc:i.persEnc||"utf8"}),c=this.n.sub(new n(1)),f=0;;f++){var d=i.k?i.k(f):new n(u.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||d.cmp(c)>=0)){var g=this.g.mul(d);if(!g.isInfinity()){var h=g.getX(),p=h.umod(this.n);if(0!==p.cmpn(0)){var I=d.invm(this.n).mul(p.mul(t.getPrivate()).iadd(e));if(0!==(I=I.umod(this.n)).cmpn(0)){var B=(g.getY().isOdd()?1:0)|(0!==h.cmp(p)?2:0);return i.canonical&&I.cmp(this.nh)>0&&(I=this.n.sub(I),B^=1),new l({r:p,s:I,recoveryParam:B})}}}}}},c.prototype.verify=function(e,t,r,A){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,A);var i=(t=new l(t,"hex")).r,o=t.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var a,s=o.invm(this.n),u=s.mul(e).umod(this.n),c=s.mul(i).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(u,r.getPublic(),c)).isInfinity()&&a.eqXToP(i):!(a=this.g.mulAdd(u,r.getPublic(),c)).isInfinity()&&0===a.getX().umod(this.n).cmp(i)},c.prototype.recoverPubKey=function(e,t,r,A){s((3&r)===r,"The recovery param is more than two bits"),t=new l(t,A);var i=this.n,o=new n(e),a=t.r,u=t.s,c=1&r,f=r>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw new Error("Unable to find sencond key candinate");a=f?this.curve.pointFromX(a.add(this.curve.n),c):this.curve.pointFromX(a,c);var d=t.r.invm(i),g=i.sub(o).mul(d).umod(i),h=u.mul(d).umod(i);return this.g.mulAdd(g,a,h)},c.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new l(t,n)).recoveryParam)return t.recoveryParam;for(var A=0;A<4;A++){var i;try{i=this.recoverPubKey(e,t,A)}catch(e){continue}if(i.eq(r))return A}throw new Error("Unable to find valid recovery factor")}},function(e,t,r){"use strict";var n=r(162),A=r(117).assert;function i(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=i,i.fromPublic=function(e,t,r){return t instanceof i?t:new i(e,{pub:t,pubEnc:r})},i.fromPrivate=function(e,t,r){return t instanceof i?t:new i(e,{priv:t,privEnc:r})},i.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},i.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?A(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||A(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},i.prototype.derive=function(e){return e.mul(this.priv).getX()},i.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},i.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},i.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(e,t,r){"use strict";var n=r(162),A=r(117),i=A.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(i(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function a(){this.place=0}function s(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,A=0,i=0,o=t.place;i<n;i++,o++)A<<=8,A|=e[o];return t.place=o,A}function u(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function l(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=o,o.prototype._importDER=function(e,t){e=A.toArray(e,t);var r=new a;if(48!==e[r.place++])return!1;if(s(e,r)+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var i=s(e,r),o=e.slice(r.place,i+r.place);if(r.place+=i,2!==e[r.place++])return!1;var u=s(e,r);if(e.length!==u+r.place)return!1;var l=e.slice(r.place,u+r.place);return 0===o[0]&&128&o[1]&&(o=o.slice(1)),0===l[0]&&128&l[1]&&(l=l.slice(1)),this.r=new n(o),this.s=new n(l),this.recoveryParam=null,!0},o.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];l(n,t.length),(n=n.concat(t)).push(2),l(n,r.length);var i=n.concat(r),o=[48];return l(o,i.length),o=o.concat(i),A.encode(o,e)}},function(e,t,r){"use strict";var n=r(123),A=r(540),i=r(117),o=i.assert,a=i.parseBytes,s=r(1919),u=r(1920);function l(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof l))return new l(e);e=A[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=l,l.prototype.sign=function(e,t){e=a(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),A=this.g.mul(n),i=this.encodePoint(A),o=this.hashInt(i,r.pubBytes(),e).mul(r.priv()),s=n.add(o).umod(this.curve.n);return this.makeSignature({R:A,S:s,Rencoded:i})},l.prototype.verify=function(e,t,r){e=a(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),A=this.hashInt(t.Rencoded(),n.pubBytes(),e),i=this.g.mul(t.S());return t.R().add(n.pub().mul(A)).eq(i)},l.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return i.intFromLE(e.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(e){return s.fromPublic(this,e)},l.prototype.keyFromSecret=function(e){return s.fromSecret(this,e)},l.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},l.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},l.prototype.decodePoint=function(e){var t=(e=i.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!=(128&e[t]),A=i.intFromLE(r);return this.curve.pointFromY(A,n)},l.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(e){return i.intFromLE(e)},l.prototype.isPoint=function(e){return e instanceof this.pointClass}},function(e,t,r){"use strict";var n=r(117),A=n.assert,i=n.parseBytes,o=n.cachedProperty;function a(e,t){this.eddsa=e,this._secret=i(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=i(t.pub)}a.fromPublic=function(e,t){return t instanceof a?t:new a(e,{pub:t})},a.fromSecret=function(e,t){return t instanceof a?t:new a(e,{secret:t})},a.prototype.secret=function(){return this._secret},o(a,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),o(a,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),o(a,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n}),o(a,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),o(a,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),o(a,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),a.prototype.sign=function(e){return A(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},a.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},a.prototype.getSecret=function(e){return A(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},a.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},e.exports=a},function(e,t,r){"use strict";var n=r(162),A=r(117),i=A.assert,o=A.cachedProperty,a=A.parseBytes;function s(e,t){this.eddsa=e,"object"!=typeof t&&(t=a(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),i(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}o(s,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),o(s,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),o(s,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),o(s,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),s.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},s.prototype.toHex=function(){return A.encode(this.toBytes(),"hex").toUpperCase()},e.exports=s},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"sha512AsU8a",{enumerable:!0,get:function(){return A.default}});var A=n(r(1922))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.isReady)()?(0,i.sha512)(e):A.default.hash(e)};var A=n(r(116)),i=r(70)},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"signatureVerify",{enumerable:!0,get:function(){return A.default}});var A=n(r(1924))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const n=(0,A.u8aToU8a)(t);(0,A.assert)([64,65].includes(n.length),"Invalid signature length, expected 64 or 65 bytes, found ".concat(n.length));const u={crypto:"none",isValid:!1},l=(0,i.default)(r);return 65===n.length?function(e,t,r,n){(0,A.assert)([0,1].includes(r[0]),"Unknown crypto type, expected signature prefix of 0 or 1, found ".concat(r[0]));const i=0===r[0];e.crypto=i?"ed25519":"sr25519";try{e.isValid=i?(0,o.default)(t,r.subarray(1),n):(0,a.default)(t,r.subarray(1),n)}catch(e){}return e}(u,e,n,l):function(e,t,r,n){return e.isValid=s.some(([A,i])=>{try{if(i(t,r,n))return e.crypto=A,!0}catch(e){}return!1}),e}(u,e,n,l)};var A=r(12),i=n(r(537)),o=n(r(1002)),a=n(r(1005));const s=[["ed25519",o.default],["sr25519",a.default]]},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"xxhashAsHex",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"xxhashAsU8a",{enumerable:!0,get:function(){return i.default}});var A=n(r(1926)),i=n(r(1007))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=64){return(0,A.u8aToHex)((0,i.default)(e,t))};var A=r(12),i=n(r(1007))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return new A.default((0,i.default)(e,t),16)};var A=n(r(1004)),i=n(r(1928))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,A.default)(e,t).toString(16)};var A=n(r(1929))},function(e,t,r){"use strict";var n=r(27);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.isBuffer)(e)||(0,i.isString)(e))return A.default.h64(e,t);return A.default.h64((0,i.u8aToBuffer)(e),t)};var A=n(r(842)),i=r(12)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(Array.isArray(t))return e.length===t.length&&(0,n.isUndefined)(e.find((e,r)=>(0,n.isFunction)(e.eq)?!e.eq(t[r]):e!==t[r]));return!1};var n=r(12)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(Array.isArray(t))return A(e,t);if(t instanceof Set)return A(e,[...t.values()]);if((0,n.isObject)(t))return A(e,Object.values(t));return!1};var n=r(12);function A(e,t){return e.size===t.length&&!t.some(t=>!e.has(t))}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Object.entries(t).reduce((t,[r,n])=>(t[r]=(0,A.default)(e,n),t),{})};var A=n(r(360))},function(e,t){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=r=function(e){return typeof e}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(t)}e.exports=r},function(e,t){},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=n(r(544)),o=r(165),a=n(r(362));class s extends i.default{constructor(e,t,r,n=[]){const A=(0,o.typeToConstructor)(e,t);super(e,...s.decodeVecFixed(e,A,r,n)),this._Type=void 0,this._Type=A}static decodeVecFixed(e,t,r,n){const i=a.default.decodeVec(e,t,(0,A.isU8a)(n)?(0,A.u8aConcat)((0,A.compactToU8a)(r),n):n);for(;i.length<r;)i.push(new t(e));return(0,A.assert)(i.length===r,"Expected a length of exactly ".concat(r," entries")),i}static with(e,t){return class extends s{constructor(r,n){super(r,e,t,n)}}}get Type(){return new this._Type(this.registry).toRawType()}toU8a(){const e=this.map(e=>e.toU8a());return(0,A.u8aConcat)(...e)}toRawType(){return"[".concat(this.Type,";").concat(this.length,"]")}}t.default=s},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.TypeRegistry=void 0;var A=n(r(166)),i=n(r(163)),o=n(r(164)),a=n(r(1937)),s=r(12),u=n(r(90)),l=r(1940),c=r(1021),f=n(r(1022)),d=r(541),g=r(1008),h=r(545);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}t.TypeRegistry=class{constructor(){Object.defineProperty(this,I,{writable:!0,value:new Map}),Object.defineProperty(this,B,{writable:!0,value:new Map}),Object.defineProperty(this,C,{writable:!0,value:{}}),Object.defineProperty(this,m,{writable:!0,value:{}}),Object.defineProperty(this,y,{writable:!0,value:{}}),Object.defineProperty(this,Q,{writable:!0,value:new Map}),Object.defineProperty(this,w,{writable:!0,value:void 0}),Object.defineProperty(this,E,{writable:!0,value:l.defaultExtensions}),Object.defineProperty(this,b,{writable:!0,value:{}});const e=r(1070),t=r(2026);this.register(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({Raw:u.default},e)),Object.values(t).forEach(({types:e})=>this.register(e))}get chainDecimals(){var e;return(null===(e=(0,i.default)(this,w)[w])||void 0===e?void 0:e.tokenDecimals.isSome)?(0,i.default)(this,w)[w].tokenDecimals.unwrap().toNumber():12}get chainSS58(){var e;return(null===(e=(0,i.default)(this,w)[w])||void 0===e?void 0:e.ss58Format.isSome)?(0,i.default)(this,w)[w].ss58Format.unwrap().toNumber():void 0}get chainToken(){var e;return(null===(e=(0,i.default)(this,w)[w])||void 0===e?void 0:e.tokenSymbol.isSome)?(0,i.default)(this,w)[w].tokenSymbol.unwrap().toString():s.formatBalance.getDefaults().unit}get knownTypes(){return(0,i.default)(this,b)[b]}createClass(e){return(0,d.createClass)(this,e)}createType(e,...t){return(0,g.createType)(this,e,...t)}findMetaCall(e){const t=(0,s.u8aToHex)(e),r=(0,i.default)(this,C)[C][t];return(0,s.assert)(!(0,s.isUndefined)(r),"findMetaCall: Unable to find Call with index ".concat(t,"/[").concat(e,"]")),r}findMetaError(e){const t=(0,s.u8aToHex)((0,s.isU8a)(e)?e:new Uint8Array([e.index.toNumber(),e.error.toNumber()])),r=(0,i.default)(this,m)[m][t];return(0,s.assert)(!(0,s.isUndefined)(r),"findMetaError: Unable to find Error with index ".concat(t,"/[").concat(e,"]")),r}findMetaEvent(e){const t=(0,s.u8aToHex)(e),r=(0,i.default)(this,y)[y][t];return(0,s.assert)(!(0,s.isUndefined)(r),"findMetaEvent: Unable to find Event with index ".concat(t,"/[").concat(e,"]")),r}get(e,t){let r=(0,i.default)(this,I)[I].get(e);if(!r){const n=(0,i.default)(this,B)[B].get(e);let A;n?A=(0,d.createClass)(this,n):t&&(console.warn("Unable to resolve type ".concat(e,", it will fail on constrution")),(0,i.default)(this,Q)[Q].set(e,!0),A=f.default.with(e)),A&&(r=class extends A{},(0,i.default)(this,I)[I].set(e,r))}return r}getChainProperties(){return(0,i.default)(this,w)[w]}getDefinition(e){return(0,i.default)(this,B)[B].get(e)}getOrThrow(e,t){const r=this.get(e);if((0,s.isUndefined)(r))throw new Error(t||"type ".concat(e," not found"));return r}getOrUnknown(e){return this.get(e,!0)}getSignedExtensionExtra(){return(0,l.expandExtensionTypes)((0,i.default)(this,E)[E],"extra")}getSignedExtensionTypes(){return(0,l.expandExtensionTypes)((0,i.default)(this,E)[E],"types")}hasClass(e){return(0,i.default)(this,I)[I].has(e)}hasDef(e){return(0,i.default)(this,B)[B].has(e)}hasType(e){return!(0,i.default)(this,Q)[Q].get(e)&&(this.hasClass(e)||this.hasDef(e))}register(e,t){(0,s.isFunction)(e)?(0,i.default)(this,I)[I].set(e.name,e):(0,s.isString)(e)?((0,s.assert)((0,s.isFunction)(t),"Expected class definition passed to '".concat(e,"' registration")),(0,i.default)(this,I)[I].set(e,t)):this.registerObject(e)}registerObject(e){Object.entries(e).forEach(([e,t])=>{if((0,s.isFunction)(t))(0,i.default)(this,I)[I].set(e,t);else{const r=(0,s.isString)(t)?t:JSON.stringify(t);(0,i.default)(this,I)[I].has(e)&&(0,i.default)(this,I)[I].delete(e),(0,i.default)(this,B)[B].set(e,r)}})}setChainProperties(e){e&&((0,i.default)(this,w)[w]=e)}setKnownTypes(e){(0,i.default)(this,b)[b]=e}setMetadata(e){!function(e,t,r){const n=(0,a.default)(e,t);Object.values(n).forEach(e=>Object.values(e).forEach(e=>{r[(0,s.u8aToHex)(e.callIndex)]=e}))}(this,e,(0,i.default)(this,C)[C]),function(e,t,r){t.asLatest.modules.forEach((e,t)=>{const n=(0,s.stringCamelCase)(e.name.toString());e.errors.forEach(({documentation:e,name:A},i)=>{const o=new Uint8Array([t,i]);r[(0,s.u8aToHex)(o)]={documentation:e.map(e=>e.toString()),index:i,name:A.toString(),section:n}})})}(0,e,(0,i.default)(this,m)[m]),function(e,t,r){t.asLatest.modules.filter(({events:e})=>e.isSome).forEach((t,n)=>{const A=(0,s.stringCamelCase)(t.name.toString());t.events.unwrap().forEach((t,i)=>{const o=t.name.toString(),a=new Uint8Array([n,i]),u=t.args.map(e=>(0,h.getTypeDef)(e.toString()));let l=[];try{l=u.map(t=>(0,d.getTypeClass)(e,t))}catch(e){console.error(e)}r[(0,s.u8aToHex)(a)]=class extends c.EventData{constructor(e,r){super(e,l,r,u,t,A,o)}}})})}(this,e,(0,i.default)(this,y)[y]),(0,i.default)(this,E)[E]=e.asLatest.extrinsic.version.gtn(0)?e.asLatest.extrinsic.signedExtensions.map(e=>e.toString()):l.defaultExtensions;const t=(0,l.findUnknownExtensions)((0,i.default)(this,E)[E]);t.length&&console.warn("Unknown signed extensions [".concat(t.join(", "),"] found, treating them as no-efect"))}};var I=(0,o.default)("classes"),B=(0,o.default)("definitions"),C=(0,o.default)("metadataCalls"),m=(0,o.default)("metadataErrors"),y=(0,o.default)("metadataEvents"),Q=(0,o.default)("unknownTypes"),w=(0,o.default)("chainProperties"),E=(0,o.default)("metadataExtensions"),b=(0,o.default)("knownTypes")},function(e,t,r){"use strict";var n=r(140);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t.asLatest.modules.filter(({calls:e})=>e.isSome).reduce((t,{calls:r,name:n},A)=>{const o=(0,i.stringCamelCase)(n.toString());return t[o]=r.unwrap().reduce((t,r,n)=>{return t[(0,i.stringCamelCase)(r.name.toString())]=(0,a.default)(e,o,A,n,r),t},{}),t},function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},o.default))};var A=n(r(546)),i=r(12),o=n(r(1938)),a=n(r(1939));function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,A,i){const o=new Uint8Array([r,A]),a=i.args,s=(0,n.stringCamelCase)(i.name.toString()),u=(...r)=>((0,n.assert)(a.length.valueOf()===r.length,"Extrinsic ".concat(t,".").concat(s," expects ").concat(a.length.valueOf()," arguments, got ").concat(r.length,".")),e.createType("Call",{args:r,callIndex:o},i));return u.callIndex=o,u.meta=i,u.method=s,u.section=t,u.toJSON=()=>i.toJSON(),u};var n=r(12)},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.expandExtensionTypes=function(e,t){return e.map(e=>s[e]).filter(e=>!!e).reduce((e,r)=>a({},e,{},r[t]),{})},t.findUnknownExtensions=function(e){const t=Object.keys(s);return e.filter(e=>!t.includes(e))},t.defaultExtensions=t.allExtensions=void 0;var A=n(r(166)),i=n(r(1941));function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}const s=a({},n(r(1942)).default,{},i.default);t.allExtensions=s;t.defaultExtensions=["CheckVersion","CheckGenesis","CheckEra","CheckNonce","CheckWeight","ChargeTransactionPayment","CheckBlockGasLimit"]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={LimitParathreadCommits:{extra:{},types:{}},OnlyStakingAndClaims:{extra:{},types:{}},RestrictFunctionality:{extra:{},types:{}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={ChargeTransactionPayment:{extra:{},types:{tip:"Compact<Balance>"}},CheckBlockGasLimit:{extra:{},types:{}},CheckEra:{extra:{blockHash:"Hash"},types:{era:"ExtrinsicEra"}},CheckGenesis:{extra:{genesisHash:"Hash"},types:{}},CheckNonce:{extra:{},types:{nonce:"Compact<Index>"}},CheckVersion:{extra:{specVersion:"u32"},types:{}},CheckWeight:{extra:{},types:{}},LockStakingStatus:{extra:{},types:{}}}},function(e,t,r){"use strict";var n=r(140);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(1944)).default;t.default=A},function(e,t,r){"use strict";var n=r(140);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=n(r(1945));const o=4;t.default=class extends i.default{constructor(e,t){super(e,function e(t,r=new Uint8Array){const n=(0,A.isHex)(r)?(0,A.hexToU8a)(r):r,a=n[o];try{return new i.default(t,n)}catch(r){if(9===a)return n[o]=10,e(t,n);throw r}}(e,t))}}},function(e,t,r){"use strict";var n=r(140);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(1946)),i=n(r(1947)),o=n(r(53)),a=r(12),s=n(r(1948)),u=n(r(1949)),l=n(r(1951)),c=n(r(1952)),f=n(r(1953)),d=n(r(1954)),g=n(r(1955)),h=n(r(1956)),p=n(r(1957)),I=n(r(1958)),B=n(r(1959)),C=n(r(1960)),m=n(r(1961)),y=r(1972);class Q extends o.default{constructor(e,t){super(e,{magicNumber:s.default,metadata:"MetadataAll"},t),Object.defineProperty(this,w,{writable:!0,value:new Map}),e.setMetadata(this)}assertVersion(e){return(0,a.assert)(this.version<=e,"Cannot convert metadata from v".concat(this.version," to v").concat(e)),this.version===e}getVersion(e,t){const r="asV".concat(e),n="asV".concat(e-1);return this.assertVersion(e)?this.metadata[r]:((0,A.default)(this,w)[w].has(e)||(0,A.default)(this,w)[w].set(e,t(this.registry,this[n])),(0,A.default)(this,w)[w].get(e))}get asCallsOnly(){return new Q(this.registry,{magicNumber:this.magicNumber,metadata:this.registry.createType("MetadataAll",(0,y.toCallsOnly)(this.registry,this.asLatest),this.version)})}get asV0(){return this.assertVersion(0),this.metadata.asV0}get asV1(){return this.getVersion(1,u.default)}get asV2(){return this.getVersion(2,l.default)}get asV3(){return this.getVersion(3,c.default)}get asV4(){return this.getVersion(4,f.default)}get asV5(){return this.getVersion(5,d.default)}get asV6(){return this.getVersion(6,g.default)}get asV7(){return this.getVersion(7,h.default)}get asV8(){return this.getVersion(8,p.default)}get asV9(){return this.getVersion(9,I.default)}get asV10(){return this.getVersion(10,B.default)}get asV11(){return this.getVersion(11,C.default)}get asLatest(){return this.getVersion(12,m.default)}get magicNumber(){return this.get("magicNumber")}get metadata(){return this.get("metadata")}get version(){return this.metadata.index}getUniqTypes(e){return(0,y.getUniqTypes)(this.registry,this.asLatest,e)}}t.default=Q;var w=(0,i.default)("converted")},function(e,t){e.exports=function(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}},function(e,t){var r=0;e.exports=function(e){return"__private_"+r+++"_"+e}},function(e,t,r){"use strict";var n=r(140);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MAGIC_NUMBER=void 0;var A=r(12),i=n(r(301));const o=1635018093;t.MAGIC_NUMBER=o;t.default=class extends i.default{constructor(e,t){if(super(e,t),!this.isEmpty){const t=e.createType("u32",o);(0,A.assert)(this.eq(t),"MagicNumber mismatch: expected ".concat(t.toHex(),", found ").concat(this.toHex()))}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.createType("MetadataV1",{modules:t.modules.map(r=>{const n=r.storage.isSome?r.storage.unwrap().prefix.toString():(0,A.stringUpperFirst)(r.prefix.toString());return e.createType("ModuleMetadataV1",{calls:i(e,r),events:o(e,t,r.prefix),name:r.prefix,prefix:n,storage:a(e,r)})})})};var n=r(422),A=r(12);function i(e,{module:{call:{functions:t}}}){return t.length?new n.Option(e,"Vec<FunctionMetadataV1>",t):new n.Option(e,"Vec<FunctionMetadataV1>")}function o(e,t,r){const A=t.outerEvent.events.find(e=>e[0].eq(r));return A?new n.Option(e,"Vec<EventMetadataV1>",A[1]):new n.Option(e,"Vec<EventMetadataV1>")}function a(e,{storage:t}){var r;return new n.Option(e,"Vec<StorageFunctionMetadataV1>",null===(r=t.unwrapOr(void 0))||void 0===r?void 0:r.functions)}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.LinkageResult=t.default=void 0;var A=n(r(543)),i=n(r(53)),o=n(r(299)),a=n(r(362));const s=new Uint8Array;class u extends i.default{constructor(e,t,r){super(e,{previous:A.default.with(t),next:A.default.with(t)},r)}static withKey(e){return class extends u{constructor(t,r){super(t,e,r)}}}get previous(){return this.get("previous")}get next(){return this.get("next")}toRawType(){return"Linkage<".concat(this.next.toRawType(!0),">")}toU8a(){return this.isEmpty?s:super.toU8a()}}t.default=u;t.LinkageResult=class extends o.default{constructor(e,[t,r],[n,A]){super(e,{Keys:a.default.with(t),Values:a.default.with(n)},[r,A])}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.createType("MetadataV2",t)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.createType("MetadataV3",t)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{modules:t}){return e.createType("MetadataV4",{modules:t.map(({calls:t,events:r,name:A,prefix:i,storage:o})=>e.createType("ModuleMetadataV4",{calls:t,events:r,name:A,prefix:i,storage:o.isSome?new n.Option(e,"Vec<StorageFunctionMetadataV4>",o.unwrap().map(t=>(function(e,t){const{documentation:r,fallback:n,modifier:A,name:i,type:o}=t,[a,s]=o.isPlain?[o.asPlain,0]:o.isMap?[e.createType("MapTypeV4",{hasher:e.createType("StorageHasherV4","Twox128"),key:o.asMap.key,linked:o.asMap.linked,value:o.asMap.value}),1]:[e.createType("DoubleMapTypeV4",{hasher:e.createType("StorageHasherV4","Twox128"),key1:o.asDoubleMap.key1,key2:o.asDoubleMap.key2,key2Hasher:o.asDoubleMap.key2Hasher,value:o.asDoubleMap.value}),2];return e.createType("StorageFunctionMetadataV4",{documentation:r,fallback:n,modifier:A,name:i,type:e.createType("StorageFunctionTypeV4",a,s)})})(e,t))):void 0}))})};var n=r(422)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{modules:t}){return e.createType("MetadataV5",{modules:t.map(({calls:t,events:r,name:A,prefix:i,storage:a})=>e.createType("ModuleMetadataV5",{calls:t,events:r,name:A,prefix:i,storage:a.isSome?new n.Option(e,"Vec<StorageFunctionMetadataV5>",a.unwrap().map(t=>(function(e,t){const{documentation:r,fallback:n,modifier:A,name:i,type:a}=t,[s,u]=a.isPlain?[a.asPlain,0]:a.isMap?[a.asMap,1]:[e.createType("DoubleMapTypeV5",{hasher:a.asDoubleMap.hasher,key1:a.asDoubleMap.key1,key2:a.asDoubleMap.key2,key2Hasher:o(e,a.asDoubleMap.key2Hasher),value:a.asDoubleMap.value}),2];return e.createType("StorageFunctionMetadataV5",{documentation:r,fallback:n,modifier:A,name:i,type:e.createType("StorageFunctionTypeV5",s,u)})})(e,t))):void 0}))})};var n=r(422),A=r(12);const i=new Map([["blake2_128","Blake2_128"],["blake2_256","Blake2_256"],["twox_128","Twox128"],["twox_256","Twox256"],["twox_64_concat","Twox64Concat"]]);function o(e,t){const r=i.get(t.toString());return(0,A.assert)(r,"Invalid Storage hasher: ".concat(t.toString())),e.createType("StorageHasherV5",r)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{modules:t}){return e.createType("MetadataV6",{modules:t.map(({calls:t,events:r,name:n,prefix:A,storage:i})=>e.createType("ModuleMetadataV6",{calls:t,constants:[],events:r,name:n,prefix:A,storage:i}))})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{modules:t}){return e.createType("MetadataV7",{modules:t.map(({calls:t,constants:r,events:n,name:A,prefix:i,storage:o})=>e.createType("ModuleMetadataV7",{calls:t,constants:r,events:n,name:A,storage:o.isSome?e.createType("StorageMetadataV7",{items:o.unwrap(),prefix:i}):null}))})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{modules:t}){return e.createType("MetadataV8",{modules:t.map(({calls:t,constants:r,events:n,name:A,storage:i})=>e.createType("ModuleMetadataV8",{calls:t,constants:r,errors:[],events:n,name:A,storage:i}))})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{modules:t}){return e.createType("MetadataV9",{modules:t})}},function(e,t,r){"use strict";var n=r(140);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{modules:t}){return e.createType("MetadataV10",{modules:t.map(t=>(function(e,t){const r=t.storage.unwrapOr(null);return e.createType("ModuleMetadataV10",o({},t,{storage:r?o({},r,{items:r.items.map(t=>o({},t,{type:e.createType("StorageEntryTypeV10",...s(e,t.type))}))}):null}))})(e,t))})};var A=n(r(546));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t){return t.toNumber()>=2?e.createType("StorageHasherV10",t.toNumber()+1):e.createType("StorageHasherV10",t)}function s(e,t){return t.isMap?[o({},t.asMap,{hasher:a(e,t.asMap.hasher)}),1]:t.isDoubleMap?[o({},t.asDoubleMap,{hasher:a(e,t.asDoubleMap.hasher),key2Hasher:a(e,t.asDoubleMap.key2Hasher)}),2]:[t.asPlain,0]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{modules:t}){return e.createType("MetadataV11",{extrinsic:{signedExtensions:[],version:0},modules:t})}},function(e,t,r){"use strict";var n=r(140);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{extrinsic:t,modules:r}){return e.createType("MetadataLatest",{extrinsic:t,modules:r.map(t=>{const r=t.calls.unwrapOr(null),n=t.storage.unwrapOr(null),s=(0,i.getModuleTypes)(e,(0,o.stringCamelCase)(t.name.toString()));return e.createType("ModuleMetadataLatest",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},t,{calls:r?u(e,r,s):null,storage:n?l(e,n,s):null}))})})};var A=n(r(546)),i=r(1962),o=r(12);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e,t){const r=Object.keys(e).find(e=>t.eq(e));r&&t.setOverride(e[r])}function u(e,t,r){return t.map(({args:t,documentation:n,name:A})=>(t.forEach(({type:e})=>s(r,e)),e.createType("FunctionMetadataLatest",{args:t,documentation:n,name:A})))}function l(e,{items:t,prefix:r},n){return e.createType("StorageMetadataLatest",{items:t.map(({documentation:t,fallback:r,modifier:A,name:i,type:o})=>{let a;return a=o.isMap?o.asMap.value:o.isDoubleMap?o.asDoubleMap.value:o.asPlain,s(n,a),e.createType("StorageEntryMetadataLatest",{documentation:t,fallback:r,modifier:A,name:i,type:o})}),prefix:r})}},function(e,t,r){"use strict";var n=r(1023);Object.defineProperty(t,"__esModule",{value:!0}),t.getMetadataTypes=function(e,t){return f(a.default,t)},t.getModuleTypes=function({knownTypes:e},t){var r;return c({},s.default[t]||{},{},(null===(r=e.typesAlias)||void 0===r?void 0:r[t])||{})},t.getSpecTypes=function({knownTypes:e},t,r,n){var A,a;const s=t.toString(),l=r.toString(),d=(0,i.bnToBn)(n).toNumber();return c({},f(u.default[l],d),{},f(o.default[s],d),{},(null===(A=e.typesSpec)||void 0===A?void 0:A[l])||{},{},(null===(a=e.typesChain)||void 0===a?void 0:a[s])||{})};var A=n(r(1963)),i=r(12),o=n(r(1964)),a=n(r(1965)),s=n(r(1966)),u=n(r(1967));function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e=[],t){return e.filter(({minmax:[e,r]})=>((0,i.isUndefined)(e)||t>=e)&&((0,i.isUndefined)(r)||t<=r)).reduce((e,{types:t})=>c({},e,{},t),{})}},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=[{minmax:[0,4],types:{Address:"GenericAddress",BlockNumber:"u64",EventRecord:"EventRecordTo76",Index:"u64",StakingLedger:"StakingLedgerTo223",ValidatorPrefs:"ValidatorPrefsTo145"}}];t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={balances:{Releases:"ReleasesBalances"},contract:{AccountInfo:"ContractAccountInfo"},contracts:{StorageKey:"ContractStorageKey"},identity:{Judgement:"IdentityJudgement"},parachains:{Id:"ParaId"},society:{Judgement:"SocietyJudgement",Vote:"SocietyVote"},staking:{Compact:"CompactAssignments",Releases:"ReleasesStaking"},treasury:{Proposal:"TreasuryProposal"}};t.default=n},function(e,t,r){"use strict";var n=r(1023);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(1968)),i=n(r(1969)),o=n(r(1970)),a=n(r(1971));var s={"centrifuge-chain":A.default,kusama:i.default,polkadot:o.default,westend:a.default};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=[{minmax:[1e3,void 0],types:{Address:"AccountId",LookupSource:"AccountId",ReferendumInfo:"ReferendumInfoTo239",StakingLedger:"StakingLedgerTo240"}}];t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=[{minmax:[1019,1031],types:{Address:"GenericAddress",BalanceLock:"BalanceLockTo212",DispatchError:"DispatchErrorTo198",Keys:"SessionKeys5",LookupSource:"Address",ReferendumInfo:"ReferendumInfoTo239",SlashingSpans:"SlashingSpansTo204",StakingLedger:"StakingLedgerTo223",Votes:"VotesTo230"}},{minmax:[1032,1042],types:{Address:"GenericAddress",BalanceLock:"BalanceLockTo212",Keys:"SessionKeys5",LookupSource:"Address",ReferendumInfo:"ReferendumInfoTo239",SlashingSpans:"SlashingSpansTo204",StakingLedger:"StakingLedgerTo223",Votes:"VotesTo230"}},{minmax:[1043,1045],types:{Address:"GenericAddress",BalanceLock:"BalanceLockTo212",Keys:"SessionKeys5",LookupSource:"Address",ReferendumInfo:"ReferendumInfoTo239",StakingLedger:"StakingLedgerTo223",Votes:"VotesTo230"}},{minmax:[1046,1054],types:{Address:"AccountId",Keys:"SessionKeys5",LookupSource:"AccountId",ReferendumInfo:"ReferendumInfoTo239",StakingLedger:"StakingLedgerTo240"}},{minmax:[1055,void 0],types:{Address:"AccountId",Keys:"SessionKeys5",LookupSource:"AccountId",StakingLedger:"StakingLedgerTo240"}}];t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=[{minmax:[1e3,1003],types:{Address:"GenericAddress",BalanceLock:"BalanceLockTo212",Keys:"SessionKeys5",LookupSource:"Address",StakingLedger:"StakingLedgerTo223",Votes:"VotesTo230"}},{minmax:[1004,1004],types:{Address:"AccountId",Keys:"SessionKeys5",LookupSource:"AccountId",ReferendumInfo:"ReferendumInfoTo239",StakingLedger:"StakingLedgerTo240"}},{minmax:[1005,void 0],types:{Address:"AccountId",Keys:"SessionKeys5",LookupSource:"AccountId",StakingLedger:"StakingLedgerTo240"}}];t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=[{minmax:[1,void 0],types:{Address:"AccountId",Keys:"SessionKeys5",LookupSource:"AccountId"}}];t.default=n},function(e,t,r){"use strict";var n=r(140);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"flattenUniq",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"getUniqTypes",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"toCallsOnly",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"validateTypes",{enumerable:!0,get:function(){return a.default}});var A=n(r(547)),i=n(r(1973)),o=n(r(1984)),a=n(r(1024))},function(e,t,r){"use strict";var n=r(140);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const n=(0,A.default)([o(t),a(t),s(t),u(t)]);return(0,i.default)(e,n,r),n};var A=n(r(547)),i=n(r(1024));function o({modules:e}){return e.map(e=>(function(e){return e.calls?e.calls.unwrapOr([]):e.module?e.module.call.functions:[]})(e).map(({args:e})=>e.map(e=>e.type.toString())))}function a({modules:e}){return e.map(({constants:e})=>e?e.map(e=>e.type.toString()):[])}function s({modules:e,outerEvent:t}){const r=({args:e})=>e.map(e=>e.toString());return t?t.events.map(([,e])=>e.map(r)):e.map(({events:e})=>(function(e){return e?e.unwrapOr([]):[]})(e).map(r))}function u({modules:e}){return e.map(({storage:e})=>(function(e){if(!e)return[];const t=e.unwrapOr([]);return Array.isArray(t)?t:t.items||t.functions})(e).map(({type:e})=>e.isDoubleMap&&e.asDoubleMap?[e.asDoubleMap.key1.toString(),e.asDoubleMap.key2.toString(),e.asDoubleMap.value.toString()]:e.isMap?[e.asMap.key.toString(),e.asMap.value.toString()]:[e.asPlain.toString()]))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(1975);var n=r(359);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})});var A=r(1977);Object.keys(A).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return A[e]}})});var i=r(1978);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var o=r(1979);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var a=r(1980);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var s=r(1981);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var u=r(1982);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var l=r(1983);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})})},function(e,t,r){"use strict";r(1976)},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){"use strict";function n(e,t){const r=t.unwrapOr(null);return e.createType("Option<Vec<FunctionMetadataLatest>>",r?r.map(({args:t,documentation:r,name:n})=>e.createType("FunctionMetadataLatest",{args:t,documentation:r.map(e=>e.toString().trim()),name:n})):null)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{extrinsic:t,modules:r}){return e.createType("MetadataLatest",{extrinsic:t,modules:r.map(({calls:t,name:r})=>({calls:n(e,t),name:r}))}).toJSON()}},function(e,t,r){"use strict";var n=r(542),A=r(16);Object.defineProperty(t,"__esModule",{value:!0});var i={GenericExtrinsic:!0,GenericExtrinsicEra:!0,GenericMortalEra:!0,GenericImmortalEra:!0,GenericExtrinsicPayload:!0,GenericExtrinsicPayloadUnknown:!0,GenericExtrinsicUnknown:!0,GenericSignerPayload:!0};Object.defineProperty(t,"GenericExtrinsic",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"GenericExtrinsicEra",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"GenericMortalEra",{enumerable:!0,get:function(){return a.MortalEra}}),Object.defineProperty(t,"GenericImmortalEra",{enumerable:!0,get:function(){return a.ImmortalEra}}),Object.defineProperty(t,"GenericExtrinsicPayload",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"GenericExtrinsicPayloadUnknown",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"GenericExtrinsicUnknown",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"GenericSignerPayload",{enumerable:!0,get:function(){return c.default}});var o=A(r(1986)),a=n(r(1987)),s=A(r(1988)),u=A(r(1989)),l=A(r(1990)),c=A(r(1991)),f=r(1992);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))});var d=r(1995);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))});var g=r(1997);Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}}))});var h=r(2e3);Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))})},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LATEST_EXTRINSIC_VERSION",{enumerable:!0,get:function(){return u.TRANSACTION_VERSION}}),t.default=void 0;var A=n(r(166)),i=r(12),o=n(r(241)),a=n(r(139)),s=r(189),u=r(1025);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}const c=["ExtrinsicUnknown","ExtrinsicV1","ExtrinsicV2","ExtrinsicV3","ExtrinsicV4"];class f extends o.default{get args(){return this.method.args}get argsDef(){return this.method.argsDef}get callIndex(){return this.method.callIndex}get data(){return this.method.data}get era(){return this.raw.signature.era}get encodedLength(){return this.toU8a().length}get hasOrigin(){return this.method.hasOrigin}get isSigned(){return this.raw.signature.isSigned}get length(){return this.toU8a(!0).length}get meta(){return this.method.meta}get method(){return this.raw.method}get nonce(){return this.raw.signature.nonce}get signature(){return this.raw.signature.signature}get signer(){return this.raw.signature.signer}get tip(){return this.raw.signature.tip}get type(){return this.raw.version}get version(){return this.type|(this.isSigned?s.BIT_SIGNED:s.BIT_UNSIGNED)}}class d extends f{constructor(e,t,{version:r}={}){super(e,d.decodeExtrinsic(e,t,r))}static newFromValue(e,t,r){if(t instanceof d)return t.raw;const n=(r&s.BIT_SIGNED)===s.BIT_SIGNED,A=c[r&s.UNMASK_VERSION]||c[0];return e.createType(A,t,{isSigned:n,version:r})}static decodeExtrinsic(e,t,r=s.DEFAULT_VERSION){return(0,i.isU8a)(t)||Array.isArray(t)||(0,i.isHex)(t)?d.decodeU8a(e,(0,i.u8aToU8a)(t),r):t instanceof e.createClass("Call")?d.newFromValue(e,{method:t},r):d.newFromValue(e,t,r)}static decodeU8a(e,t,r){if(!t.length)return d.newFromValue(e,new Uint8Array,r);const[n,A]=a.default.decodeU8a(t),o=n+A.toNumber();(0,i.assert)(o<=t.length,"Extrinsic: length less than remainder, expected at least ".concat(o,", found ").concat(t.length));const s=t.subarray(n,o);return d.newFromValue(e,s.subarray(1),s[0])}addSignature(e,t,r){return this.raw.addSignature(e,t,r),this}sign(e,t){return this.raw.sign(e,t),this}signFake(e,t){return this.raw.signFake(e,t),this}toHex(e){return(0,i.u8aToHex)(this.toU8a(e))}toHuman(e){return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({isSigned:this.isSigned,method:this.method.toHuman(e)},this.isSigned?{era:this.era.toHuman(e),nonce:this.nonce.toHuman(e),signature:this.signature.toHex(),signer:this.signer.toHuman(e),tip:this.tip.toHuman(e)}:{})}toJSON(){return this.toHex()}toRawType(){return"Extrinsic"}toU8a(e){const t=(0,i.u8aConcat)(new Uint8Array([this.version]),this.raw.toU8a());return e?t:a.default.addLengthPrefix(t)}}t.default=d},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MortalEra=t.ImmortalEra=void 0;var A=r(12),i=n(r(298)),o=n(r(299)),a=n(r(90)),s=n(r(1026)),u=r(189);class l extends a.default{constructor(e,t){super(e,u.IMMORTAL_ERA)}}t.ImmortalEra=l;class c extends o.default{constructor(e,t){super(e,{period:s.default,phase:s.default},c.decodeMortalEra(e,t))}static decodeMortalEra(e,t){if((0,A.isHex)(t))return c.decodeMortalU8a(e,(0,A.hexToU8a)(t));if(Array.isArray(t))return c.decodeMortalU8a(e,new Uint8Array(t));if((0,A.isU8a)(t))return c.decodeMortalU8a(e,t);if((0,A.isObject)(t))return c.decodeMortalObject(e,t);if(!t)return[new s.default(e),new s.default(e)];throw new Error("Invalid data passed to Mortal era")}static decodeMortalObject(e,t){const{current:r,period:n}=t;let A=Math.pow(2,Math.ceil(Math.log2(n)));const i=r%(A=Math.min(Math.max(A,4),65536)),o=Math.max(A>>12,1),a=i/o*o;return[new s.default(e,A),new s.default(e,a)]}static decodeMortalU8a(e,t){if(0===t.length)return[new s.default(e),new s.default(e)];const r=(0,A.u8aToBn)(t.subarray(0,1)).toNumber()+((0,A.u8aToBn)(t.subarray(1,2)).toNumber()<<8),n=2<<r%16,i=(r>>4)*Math.max(n>>12,1);return(0,A.assert)(n>=4&&i<n,"Invalid data passed to Mortal era"),[new s.default(e,n),new s.default(e,i)]}get encodedLength(){return 2}get period(){return this[0]}get phase(){return this[1]}toHuman(){return{period:(0,A.formatNumber)(this.period),phase:(0,A.formatNumber)(this.phase)}}toJSON(){return this.toHex()}toU8a(e){const t=this.period.toNumber(),r=this.phase.toNumber(),n=Math.max(t>>12,1),A=this.getTrailingZeros(t),i=Math.min(15,Math.max(1,A-1))+(r/n<<4);return new Uint8Array([255&i,i>>8])}birth(e){return Math.floor((Math.max((0,A.bnToBn)(e).toNumber(),this.phase.toNumber())-this.phase.toNumber())/this.period.toNumber())*this.period.toNumber()+this.phase.toNumber()}death(e){return this.birth(e)+this.period.toNumber()}getTrailingZeros(e){const t=e.toString(2);let r=0;for(;"0"===t[t.length-1-r];)r++;return r}}t.MortalEra=c;class f extends i.default{constructor(e,t){super(e,{ImmortalEra:l,MortalEra:c},f.decodeExtrinsicEra(t))}static decodeExtrinsicEra(e=new Uint8Array){if(e instanceof f)return f.decodeExtrinsicEra(e.toU8a());if((0,A.isHex)(e))return f.decodeExtrinsicEra((0,A.hexToU8a)(e));if(!e||(0,A.isU8a)(e))return(null==e?void 0:e.length)&&0!==e[0]?new Uint8Array([1,e[0],e[1]]):new Uint8Array([0]);if((0,A.isObject)(e))return e.MortalEra?{MortalEra:e.MortalEra}:e.ImmortalEra?{ImmortalEra:e.ImmortalEra}:{MortalEra:e};throw new Error("Invalid data passed to Era")}get encodedLength(){return this.isImmortalEra?this.asImmortalEra.encodedLength:this.asMortalEra.encodedLength}get asImmortalEra(){return(0,A.assert)(this.isImmortalEra,"Cannot convert '".concat(this.type,"' via asImmortalEra")),this.value}get asMortalEra(){return(0,A.assert)(this.isMortalEra,"Cannot convert '".concat(this.type,"' via asMortalEra")),this.value}get isImmortalEra(){return 0===this.index}get isMortalEra(){return this.index>0}toU8a(e){return this.isMortalEra?this.asMortalEra.toU8a(e):this.asImmortalEra.toU8a(e)}}t.default=f},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=n(r(241)),o=r(189);const a=["ExtrinsicPayloadUnknown","ExtrinsicPayloadV1","ExtrinsicPayloadV2","ExtrinsicPayloadV3","ExtrinsicPayloadV4"];class s extends i.default{constructor(e,t,{version:r}={}){super(e,s.decodeExtrinsicPayload(e,t,r))}static decodeExtrinsicPayload(e,t,r=o.DEFAULT_VERSION){return t instanceof s?t.raw:e.createType(a[r]||a[0],t,{version:r})}get blockHash(){return this.raw.blockHash}get era(){return this.raw.era}get genesisHash(){return this.raw.genesisHash||this.registry.createType("Hash")}get method(){return this.raw.method}get nonce(){return this.raw.nonce}get specVersion(){return this.raw.specVersion||this.registry.createType("u32")}get tip(){return this.raw.tip||this.registry.createType("Compact<Balance>")}eq(e){return this.raw.eq(e)}sign(e){const t=this.raw.sign(e);return{signature:(0,A.u8aToHex)(t)}}toHuman(e){return this.raw.toHuman(e)}toJSON(){return this.toHex()}toString(){return this.toHex()}toU8a(e){return super.toU8a(!!e&&{method:!0})}}t.default=s},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(53));t.default=class extends A.default{constructor(e,t,{version:r=0}={}){throw super(e,{}),new Error("Unsupported extrinsic payload version ".concat(r))}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(53)),i=r(189);t.default=class extends A.default{constructor(e,t,{isSigned:r=!1,version:n=0}={}){throw super(e,{}),new Error("Unsupported ".concat(r?"":"un","signed extrinsic version ").concat(n&i.UNMASK_VERSION))}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12);const i=n(r(53)).default.with({address:"Address",blockHash:"Hash",blockNumber:"BlockNumber",era:"ExtrinsicEra",genesisHash:"Hash",method:"Call",nonce:"Compact<Index>",runtimeVersion:"RuntimeVersion",tip:"Compact<Balance>",version:"u8"});t.default=class extends i{toPayload(){const{address:e,blockHash:t,blockNumber:r,era:n,genesisHash:A,method:i,nonce:o,runtimeVersion:{specVersion:a},tip:s,version:u}=this;return{address:e.toString(),blockHash:t.toHex(),blockNumber:r.toHex(),era:n.toHex(),genesisHash:A.toHex(),method:i.toHex(),nonce:o.toHex(),specVersion:a.toHex(),tip:s.toHex(),version:u.toNumber()}}toRaw(){const e=this.toPayload(),t=(0,A.u8aToHex)(this.registry.createType("ExtrinsicPayload",e,{version:e.version}).toU8a({method:!0}));return{address:e.address,data:t,type:"payload"}}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GenericExtrinsicV1",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"GenericExtrinsicPayloadV1",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"GenericExtrinsicSignatureV1",{enumerable:!0,get:function(){return o.default}});var A=n(r(1993)),i=n(r(1027)),o=n(r(1994))},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=n(r(53));const o=1;class a extends i.default{constructor(e,t,{isSigned:r}={}){super(e,{signature:"ExtrinsicSignatureV1",method:"Call"},a.decodeExtrinsic(e,t,r))}static decodeExtrinsic(e,t,r=!1){if(t instanceof a)return t;if((0,A.isU8a)(t)){const n=e.createType("ExtrinsicSignatureV1",t,{isSigned:r});return{method:e.createType("Call",t.subarray(n.encodedLength)),signature:n}}return t||{}}get encodedLength(){return this.toU8a().length}get method(){return this.get("method")}get signature(){return this.get("signature")}get version(){return o}addSignature(e,t,r){return this.signature.addSignature(e,t,r),this}sign(e,t){return this.signature.sign(this.method,e,t),this}signFake(e,t){return this.signature.signFake(this.method,e,t),this}}t.default=a},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(53)),i=r(189),o=n(r(1027));class a extends A.default{constructor(e,t,{isSigned:r}={}){super(e,{signer:"Address",signature:"Signature",nonce:"Compact<Index>",era:"ExtrinsicEra"},a.decodeExtrinsicSignature(t,r))}static decodeExtrinsicSignature(e,t=!1){return e?e instanceof a?e:t?e:i.EMPTY_U8A:i.EMPTY_U8A}get encodedLength(){return this.isSigned?super.encodedLength:0}get isSigned(){return!this.signature.isEmpty}get era(){return this.get("era")}get nonce(){return this.get("nonce")}get signature(){return this.get("signature")}get signer(){return this.get("signer")}get tip(){return this.registry.createType("Compact<Balance>",0)}injectSignature(e,t,{era:r,nonce:n}){return this.set("era",r),this.set("nonce",n),this.set("signer",e),this.set("signature",t),this}addSignature(e,t,r){return this.injectSignature(this.registry.createType("Address",e),this.registry.createType("Signature",t),new o.default(this.registry,r))}createPayload(e,{blockHash:t,era:r,genesisHash:n,nonce:A}){return new o.default(this.registry,{blockHash:t,era:r||i.IMMORTAL_ERA,genesisHash:n,method:e.toHex(),nonce:A,specVersion:0,tip:0})}sign(e,t,r){const n=this.registry.createType("Address",t.publicKey),A=this.createPayload(e,r),i=this.registry.createType("Signature",A.sign(t));return this.injectSignature(n,i,A)}signFake(e,t,r){const n=this.registry.createType("Address",t),A=this.createPayload(e,r),i=this.registry.createType("Signature",new Uint8Array(64).fill(66));return this.injectSignature(n,i,A)}toU8a(e){return this.isSigned?super.toU8a(e):i.EMPTY_U8A}}t.default=a},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GenericExtrinsicV2",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"GenericExtrinsicPayloadV2",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"GenericExtrinsicSignatureV2",{enumerable:!0,get:function(){return o.default}});var A=n(r(1996)),i=n(r(1028)),o=n(r(1029))},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=n(r(53));const o=2;class a extends i.default{constructor(e,t,{isSigned:r}={}){super(e,{signature:"ExtrinsicSignatureV2",method:"Call"},a.decodeExtrinsic(e,t,r))}static decodeExtrinsic(e,t,r=!1){if(t instanceof a)return t;if(t instanceof e.createClass("Call"))return{method:t};if((0,A.isU8a)(t)){const n=e.createType("ExtrinsicSignatureV2",t,{isSigned:r});return{method:e.createType("Call",t.subarray(n.encodedLength)),signature:n}}return t||{}}get encodedLength(){return this.toU8a().length}get method(){return this.get("method")}get signature(){return this.get("signature")}get version(){return o}addSignature(e,t,r){return this.signature.addSignature(e,t,r),this}sign(e,t){return this.signature.sign(this.method,e,t),this}signFake(e,t){return this.signature.signFake(this.method,e,t),this}}t.default=a},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GenericExtrinsicV3",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"GenericExtrinsicPayloadV3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"GenericExtrinsicSignatureV3",{enumerable:!0,get:function(){return o.default}});var A=n(r(1998)),i=n(r(1030)),o=n(r(1999))},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=n(r(53));const o=3;class a extends i.default{constructor(e,t,{isSigned:r}={}){super(e,{signature:"ExtrinsicSignatureV3",method:"Call"},a.decodeExtrinsic(e,t,r))}static decodeExtrinsic(e,t,r=!1){if(t instanceof a)return t;if(t instanceof e.createClass("Call"))return{method:t};if((0,A.isU8a)(t)){const n=e.createType("ExtrinsicSignatureV3",t,{isSigned:r});return{method:e.createType("Call",t.subarray(n.encodedLength)),signature:n}}return t||{}}get encodedLength(){return this.toU8a().length}get method(){return this.get("method")}get signature(){return this.get("signature")}get version(){return o}addSignature(e,t,r){return this.signature.addSignature(e,t,r),this}sign(e,t){return this.signature.sign(this.method,e,t),this}signFake(e,t){return this.signature.signFake(this.method,e,t),this}}t.default=a},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(189),i=n(r(1029)),o=n(r(1030));t.default=class extends i.default{addSignature(e,t,r){return this.injectSignature(this.registry.createType("Address",e),this.registry.createType("Signature",t),new o.default(this.registry,r))}createPayload(e,{blockHash:t,era:r,genesisHash:n,nonce:i,runtimeVersion:{specVersion:a},tip:s}){return new o.default(this.registry,{blockHash:t,era:r||A.IMMORTAL_ERA,genesisHash:n,method:e.toHex(),nonce:i,specVersion:a,tip:s||0})}sign(e,t,r){const n=this.registry.createType("Address",t.publicKey),A=this.createPayload(e,r),i=this.registry.createType("Signature",A.sign(t));return this.injectSignature(n,i,A)}signFake(e,t,r){const n=this.registry.createType("Address",t),A=this.createPayload(e,r),i=this.registry.createType("Signature",new Uint8Array(64).fill(66));return this.injectSignature(n,i,A)}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GenericExtrinsicV4",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"GenericExtrinsicPayloadV4",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"GenericExtrinsicSignatureV4",{enumerable:!0,get:function(){return o.default}});var A=n(r(1025)),i=n(r(1031)),o=n(r(2001))},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(166)),i=r(12),o=n(r(53)),a=r(189),s=n(r(1031));function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}class l extends o.default{constructor(e,t,{isSigned:r}={}){super(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({signer:"Address",signature:"MultiSignature"},e.getSignedExtensionTypes()),l.decodeExtrinsicSignature(t,r))}static decodeExtrinsicSignature(e,t=!1){return e?e instanceof l?e:t?e:a.EMPTY_U8A:a.EMPTY_U8A}get encodedLength(){return this.isSigned?super.encodedLength:0}get isSigned(){return!this.signature.isEmpty}get era(){return this.get("era")}get nonce(){return this.get("nonce")}get signature(){return this.multiSignature.value}get multiSignature(){return this.get("signature")}get signer(){return this.get("signer")}get tip(){return this.get("tip")}injectSignature(e,t,{era:r,nonce:n,tip:A}){return this.set("era",r),this.set("nonce",n),this.set("signer",e),this.set("signature",t),this.set("tip",A),this}addSignature(e,t,r){return this.injectSignature(this.registry.createType("Address",e),this.registry.createType("MultiSignature",t),new s.default(this.registry,r))}createPayload(e,{blockHash:t,era:r,genesisHash:n,nonce:A,runtimeVersion:{specVersion:i},tip:o}){return new s.default(this.registry,{blockHash:t,era:r||a.IMMORTAL_ERA,genesisHash:n,method:e.toHex(),nonce:A,specVersion:i,tip:o||0})}sign(e,t,r){const n=this.registry.createType("Address",t.publicKey),A=this.createPayload(e,r),i=this.registry.createType("MultiSignature",A.sign(t));return this.injectSignature(n,i,A)}signFake(e,t,r){const n=this.registry.createType("Address",t),A=this.createPayload(e,r),o=this.registry.createType("MultiSignature",(0,i.u8aConcat)(new Uint8Array([1]),new Uint8Array(64).fill(66)));return this.injectSignature(n,o,A)}toU8a(e){return this.isSigned?super.toU8a(e):a.EMPTY_U8A}}t.default=l},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GenericAccountId",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"GenericAccountIndex",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"GenericAddress",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"GenericBlock",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"GenericCall",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"GenericConsensusEngineId",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"GenericDigest",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"GenericEvent",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"GenericOrigin",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"GenericVote",{enumerable:!0,get:function(){return d.default}});var A=n(r(1032)),i=n(r(1033)),o=n(r(2003)),a=n(r(2004)),s=n(r(2005)),u=n(r(2006)),l=n(r(2007)),c=n(r(1021)),f=n(r(2008)),d=n(r(2009))},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ACCOUNT_ID_PREFIX=void 0;var A=r(12),i=r(42),o=n(r(241)),a=n(r(1032)),s=n(r(1033));const u=new Uint8Array([255]);t.ACCOUNT_ID_PREFIX=u;class l extends o.default{constructor(e,t=new Uint8Array){super(e,l.decodeAddress(e,t))}static decodeAddress(e,t){return t instanceof a.default||t instanceof s.default?t:t instanceof l?t.raw:(0,A.isBn)(t)||(0,A.isNumber)(t)?e.createType("AccountIndex",t):Array.isArray(t)||(0,A.isHex)(t)||(0,A.isU8a)(t)?function(e,t){if(32===t.length)return e.createType("AccountId",t);if(255===t[0])return e.createType("AccountId",t.subarray(1));const[r,n]=s.default.readLength(t);return e.createType("AccountIndex",(0,A.u8aToBn)(t.subarray(r,r+n),!0))}(e,(0,A.u8aToU8a)(t)):function(e,t){const r=(0,i.decodeAddress)(t);return 32===r.length?e.createType("AccountId",r):e.createType("AccountIndex",(0,A.u8aToBn)(r,!0))}(e,t)}get encodedLength(){const e=this.rawLength;return e+(e>1?1:0)}get rawLength(){return this.raw instanceof s.default?s.default.calcLength(this.raw):this.raw.encodedLength}toHex(){return(0,A.u8aToHex)(this.toU8a())}toRawType(){return"Address"}toU8a(e){const t=this.raw.toU8a().subarray(0,this.rawLength);return e?t:(0,A.u8aConcat)(this.raw instanceof s.default?s.default.writeLength(t):u,t)}}t.default=l},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(42),i=n(r(53));t.default=class extends i.default{constructor(e,t){super(e,{header:"Header",extrinsics:"Vec<Extrinsic>"},t)}get contentHash(){return this.registry.createType("H256",(0,A.blake2AsU8a)(this.toU8a(),256))}get extrinsics(){return this.get("extrinsics")}get hash(){return this.header.hash}get header(){return this.get("header")}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CallIndex=void 0;var A=n(r(166)),i=r(12),o=r(255),a=n(r(53)),s=n(r(300));function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e,t){return d.filterOrigin(t).reduce((t,{name:r,type:n})=>{const A=(0,o.getTypeClass)(e,(0,o.getTypeDef)(n.toString()));return t[r.toString()]=A,t},{})}function c(e,t=new Uint8Array,r){if((0,i.isHex)(t)||(0,i.isU8a)(t))return function(e,t,r){const n=new Uint8Array(2);n.set(t.subarray(0,2),0);const A=r||e.findMetaCall(n).meta;return{args:t.subarray(2),argsDef:l(e,A),callIndex:n,meta:A}}(e,(0,i.u8aToU8a)(t),r);if((0,i.isObject)(t)&&t.callIndex&&t.args)return function(e,t,r){const{args:n,callIndex:A}=t,i=A instanceof f?A.toU8a():A,o=r||e.findMetaCall(i).meta;return{args:n,argsDef:l(e,o),callIndex:A,meta:o}}(e,t,r);throw new Error("Call: Cannot decode value '".concat(t,"' of type ").concat(typeof t))}class f extends s.default{constructor(e,t){super(e,t,16)}}t.CallIndex=f;class d extends a.default{constructor(e,t,r){const n=c(e,t,r);super(e,{callIndex:f,args:a.default.with(n.argsDef)},n),this._meta=void 0,this._meta=n.meta}static filterOrigin(e){return e?e.args.filter(({type:e})=>"Origin"!==e.toString()):[]}get args(){return[...this.get("args").values()]}get argsDef(){return l(this.registry,this.meta)}get callIndex(){return this.get("callIndex").toU8a()}get data(){return this.get("args").toU8a()}get hasOrigin(){const e=this.meta.args[0];return!!e&&"Origin"===e.type.toString()}get meta(){return this._meta}get methodName(){return this.registry.findMetaCall(this.callIndex).method}get sectionName(){return this.registry.findMetaCall(this.callIndex).section}toHuman(e){var t,r;let n;try{n=this.registry.findMetaCall(this.callIndex)}catch(e){}return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({args:this.args.map(t=>t.toHuman(e)),callIndex:(0,i.u8aToHex)(this.callIndex),method:null===(t=n)||void 0===t?void 0:t.method,section:null===(r=n)||void 0===r?void 0:r.section},e&&n?{documentation:n.meta.documentation.map(e=>e.toString())}:{})}toRawType(){return"Call"}}t.default=d},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CID_GRPA=t.CID_BABE=t.CID_AURA=void 0;var A=n(r(361)),i=r(12),o=n(r(301));const a=1634891105;t.CID_AURA=a;const s=1161969986;t.CID_BABE=s;const u=1263424070;t.CID_GRPA=u;class l extends o.default{static idToString(e){return(0,i.bnToBn)(e).toArray("le").map(e=>String.fromCharCode(e)).join("")}static stringToId(e){return e.split("").reverse().reduce((e,t)=>256*e+t.charCodeAt(0),0)}get isAura(){return this.eq(a)}get isBabe(){return this.eq(s)}get isGrandpa(){return this.eq(u)}getAuraAuthor(e,t){return t[this.registry.createType("RawAuraPreDigest",e.toU8a(!0)).slotNumber.mod(new A.default(t.length)).toNumber()]}getBabeAuthor(e,t){return t[this.registry.createType("RawBabePreDigestCompat",e.toU8a(!0)).value.toNumber()]}extractAuthor(e,t){if(null==t?void 0:t.length){if(this.isAura)return this.getAuraAuthor(e,t);if(this.isBabe)return this.getBabeAuthor(e,t)}}toString(){return l.idToString(this)}}t.default=l},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(53));t.default=class extends A.default{constructor(e,t){super(e,{logs:"Vec<DigestItem>"},t)}get logs(){return this.get("logs")}logsWith(...e){return this.logs.filter(({type:t})=>e.includes(t))}logsWithout(...e){return this.logs.filter(({type:t})=>!e.includes(t))}toJSON(){return{logs:this.logs.map(e=>e.toHex())}}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(242));t.default=class extends A.default{constructor(e){throw super(e),new Error("Origin should not be constructed, it is only a placeholder for compatibility")}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=n(r(300)),o=n(r(1034));const a=128,s=0,u=127,l=0;function c(e){return e?new Uint8Array([a|l]):new Uint8Array([s])}function f(e,t){if((0,A.isUndefined)(t)||t instanceof Boolean||(0,A.isBoolean)(t))return c(new o.default(e,t).isTrue);if((0,A.isNumber)(t))return c(t<0);if((0,A.isU8a)(t))return function(e){return e.length?e.subarray(0,1):new Uint8Array([s])}(t);const r=new o.default(e,t.aye).isTrue?a:s,n=e.createType("Conviction",(0,A.isUndefined)(t.conviction)?l:t.conviction);return new Uint8Array([r|n.index])}t.default=class extends i.default{constructor(e,t){const r=f(e,t);super(e,r,8),this._aye=void 0,this._conviction=void 0,this._aye=(r[0]&a)===a,this._conviction=this.registry.createType("Conviction",r[0]&u)}get conviction(){return this._conviction}get isAye(){return this._aye}get isNay(){return!this.isAye}toHuman(e){return{conviction:this.conviction.toHuman(e),vote:this.isAye?"Aye":"Nay"}}toRawType(){return"Vote"}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BitVec",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"bool",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Bytes",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Data",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"i8",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"i16",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"i32",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"i64",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"i128",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"i256",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"Null",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"StorageKey",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"Type",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"u8",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"u16",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"u32",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"u64",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"u128",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"u256",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"U256",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"Unconstructable",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"usize",{enumerable:!0,get:function(){return b.default}});var A=n(r(2011)),i=n(r(1034)),o=n(r(1035)),a=n(r(2012)),s=n(r(2013)),u=n(r(2014)),l=n(r(2015)),c=n(r(2016)),f=n(r(2017)),d=n(r(2018)),g=n(r(242)),h=n(r(2019)),p=n(r(1036)),I=n(r(2020)),B=n(r(2021)),C=n(r(2022)),m=n(r(301)),y=n(r(1026)),Q=n(r(2023)),w=n(r(2024)),E=n(r(1022)),b=n(r(2025))},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=n(r(139)),o=n(r(90));function a(e){return Array.isArray(e)||(0,A.isString)(e)?(0,A.u8aToU8a)(e):function(e){if(!e||!e.length)return new Uint8Array;const[t,r]=i.default.decodeU8a(e),n=t+Math.ceil(r.toNumber()/8);return(0,A.assert)(n<=e.length,"BitVec: required length less than remainder, expected at least ".concat(n,", found ").concat(e.length)),e.subarray(t,n)}(e)}t.default=class extends o.default{constructor(e,t){super(e,a(t))}get encodedLength(){return this.length+i.default.encodeU8a(this.bitLength()).length}toRawType(){return"BitVec"}toU8a(e){const t=super.toU8a();return e?t:(0,A.u8aConcat)(i.default.encodeU8a(this.bitLength()),t)}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=r(12),i=n(r(298));function o(e,t){if(!t.length)return[void 0,void 0];const r=t[0];if(0===r)return[null,0];if(r>=1&&r<=33){const n=r-1,A=t.subarray(1,n+1);return[e.createType("Raw",A),1]}if(r>=34&&r<=37)return[t.subarray(1,33),r-32];throw new Error("Unable to decode Data, invalid indicator byte ".concat(r))}t.default=class extends i.default{constructor(e,t){super(e,{None:"Null",Raw:"Bytes",BlakeTwo256:"H256",Sha256:"H256",Keccak256:"H256",ShaThree256:"H256"},...function(e,t){return t?(0,A.isString)(t)?o(e,(0,A.u8aToU8a)(t)):(0,A.isU8a)(t)?o(e,t):[t,void 0]:[void 0,void 0]}(e,t))}get asRaw(){return this.raw}get asSha256(){return this.raw}get isRaw(){return 1===this.index}get isSha256(){return 3===this.index}get encodedLength(){return this.toU8a().length}toU8a(){if(0===this.index)return new Uint8Array(1);if(1===this.index){const e=this.raw.toU8a(!0),t=Math.min(e.length,32),r=new Uint8Array(t+1);return r.set([e.length+1],0),r.set(e.subarray(0,t),1),r}const e=new Uint8Array(33);return e.set([this.index+32],0),e.set(this.raw.toU8a(),1),e}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(187));t.default=class extends(A.default.with(8)){}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(187));t.default=class extends(A.default.with(16)){}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(187));t.default=class extends(A.default.with(32)){}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(187));t.default=class extends(A.default.with(64)){}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(187));t.default=class extends(A.default.with(128)){}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(187));t.default=class extends(A.default.with(256)){}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.unwrapStorageType=a,t.default=void 0;var A=r(12),i=n(r(1035));const o={Blake2_128:[16,!1],Blake2_128Concat:[16,!0],Blake2_256:[32,!1],Identity:[0,!0],Twox128:[16,!1],Twox256:[32,!1],Twox64Concat:[8,!0]};function a(e,t){const[r,n]=function(e,t){if(e.isPlain)return[!1,e.asPlain.toString()];if(e.isDoubleMap)return[!1,e.asDoubleMap.value.toString()];const r=e.asMap;if(r.linked.isTrue){const[e,n]=t?["Option<",">"]:["",""];return[!0,"(".concat(e).concat(r.value.toString()).concat(n,", Linkage<").concat(r.key.toString(),">)")]}return[!1,r.value.toString()]}(e,t);return t&&!r?"Option<".concat(n,">"):n}function s(e,t,r){let n=32;return r.reduce((r,[A,i])=>{const[a,s]=o[A.type],u=s?e.createType(i,t.subarray(n+a)):e.createType("Raw",t.subarray(n,n+a));return n+=a+(s?u.encodedLength:0),r.push(u),r},[])}class u extends i.default{constructor(e,t,r={}){const{key:n,method:i,section:o}=function(e){if(e instanceof u)return{key:e,method:e.method,section:e.section};if(!e||(0,A.isString)(e)||(0,A.isU8a)(e))return{key:e};if((0,A.isFunction)(e))return{key:e(),method:e.method,section:e.section};if(Array.isArray(e)){const[t,...r]=e;return(0,A.assert)((0,A.isFunction)(t),"Expected function input for key construction"),{key:t(...r),method:t.method,section:t.section}}throw new Error("Unable to convert input ".concat(e," to StorageKey"))}(t);super(e,n),this._args=void 0,this._meta=void 0,this._method=void 0,this._outputType=void 0,this._section=void 0,this._meta=u.getMeta(t),this._method=r.method||i,this._outputType=u.getType(t),this._section=r.section||o,this.decodeArgsFromMeta()}static getMeta(e){if(e instanceof u)return e.meta;if((0,A.isFunction)(e))return e.meta;if(Array.isArray(e)){const[t]=e;return t.meta}}static getType(e){if(e instanceof u)return e.outputType;if((0,A.isFunction)(e))return a(e.meta.type);if(Array.isArray(e)){const[t]=e;if(t.meta)return a(t.meta.type)}return"Raw"}get args(){return this._args}get meta(){return this._meta}get method(){return this._method}get outputType(){return this._outputType}get section(){return this._section}setMeta(e){return this._meta=e,this.decodeArgsFromMeta()}decodeArgsFromMeta(e){try{this._args=function(e,t,r){if(!r||!r.type.isDoubleMap&&!r.type.isMap)return[];if(r.type.isMap){const n=r.type.asMap;return s(e,t,[[n.hasher,n.key.toString()]])}const n=r.type.asDoubleMap;return s(e,t,[[n.hasher,n.key1.toString()],[n.key2Hasher,n.key2.toString()]])}(this.registry,this.toU8a(!0),e||this.meta)}catch(e){}return this}}t.default=u},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(1019)),i=n(r(1036));t.default=class extends i.default{constructor(e,t=""){super(e,t),this.setOverride((0,A.default)(this.toString()))}toRawType(){return"Type"}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(188));t.default=class extends(A.default.with(8)){}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(188));t.default=class extends(A.default.with(16)){}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(188));t.default=class extends(A.default.with(128)){}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(188));t.default=class extends(A.default.with(256)){}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(301));t.default=class extends A.default{constructor(e,t){throw super(e,t),new Error("The `usize` type should not be used. Since it is platform-specific, it creates incompatibilities between native (generally u64) and WASM (always u32) code. Use one of the `u32` or `u64` types explicitly.")}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"runtime",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"authorship",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"aura",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"babe",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"balances",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"collective",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"consensus",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"contracts",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"democracy",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"elections",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"engine",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"evm",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"extrinsics",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"genericAsset",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"grandpa",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"identity",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"imOnline",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"offences",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"recovery",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"scheduler",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"session",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"society",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"staking",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"system",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"treasury",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"txpayment",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"utility",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"vesting",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"attestations",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"claims",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"parachains",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"metadata",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"rpc",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"account",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"author",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"chain",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(t,"childstate",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"offchain",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"payment",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"state",{enumerable:!0,get:function(){return R.default}});var A=n(r(2027)),i=n(r(2028)),o=n(r(2029)),a=n(r(2030)),s=n(r(2031)),u=n(r(2032)),l=n(r(2033)),c=n(r(2034)),f=n(r(2035)),d=n(r(2036)),g=n(r(2037)),h=n(r(2038)),p=n(r(2039)),I=n(r(2040)),B=n(r(2041)),C=n(r(2042)),m=n(r(2043)),y=n(r(2044)),Q=n(r(2045)),w=n(r(2046)),E=n(r(2047)),b=n(r(2048)),v=n(r(2049)),D=n(r(2050)),M=n(r(2051)),k=n(r(2052)),_=n(r(2053)),S=n(r(2054)),N=n(r(2055)),F=n(r(2056)),x=n(r(2057)),G=n(r(2058)),H=n(r(2059)),U=n(r(2060)),Y=n(r(2061)),L=n(r(2062)),O=n(r(2063)),K=n(r(2064)),P=n(r(2065)),R=n(r(2066))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{AccountId:"GenericAccountId",AccountIdOf:"AccountId",AccountIndex:"GenericAccountIndex",Address:"GenericAddress",AssetId:"u32",Balance:"u128",BalanceOf:"Balance",Block:"GenericBlock",BlockNumber:"u32",Call:"GenericCall",ChangesTrieConfiguration:{digestInterval:"u32",digestLevels:"u32"},ConsensusEngineId:"GenericConsensusEngineId",Digest:"GenericDigest",DigestItem:{_enum:{Other:"Bytes",AuthoritiesChange:"Vec<AuthorityId>",ChangesTrieRoot:"Hash",SealV0:"SealV0",Consensus:"Consensus",Seal:"Seal",PreRuntime:"PreRuntime"}},DispatchClass:{_enum:["Normal","Operational","Mandatory"]},DispatchInfo:{weight:"Weight",class:"DispatchClass",paysFee:"bool"},DispatchInfoTo190:{weight:"Weight",class:"DispatchClass"},Fixed64:"Int<64, Fixed64>",H160:"[u8; 20; H160]",H256:"[u8; 32; H256]",H512:"[u8; 64; H512]",Hash:"H256",Header:{parentHash:"Hash",number:"Compact<BlockNumber>",stateRoot:"Hash",extrinsicsRoot:"Hash",digest:"Digest"},Index:"u32",Justification:"Bytes",KeyValue:"(StorageKey, StorageData)",KeyTypeId:"u32",LockIdentifier:"[u8; 8]",LookupSource:"Address",LookupTarget:"AccountId",Moment:"u64",Origin:"GenericOrigin",Perbill:"u32",Percent:"u8",Permill:"u32",Perquintill:"u64",Phantom:"Null",PhantomData:"Null",SignedBlock:{block:"Block",justification:"Justification"},StorageData:"Bytes",ValidatorId:"AccountId",Weight:"u32",WeightMultiplier:"Fixed64",PreRuntime:"(ConsensusEngineId, Bytes)",SealV0:"(u64, Signature)",Seal:"(ConsensusEngineId, Bytes)",Consensus:"(ConsensusEngineId, Bytes)"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{UncleEntryItem:{_enum:{InclusionHeight:"BlockNumber",Uncle:"(Hash, Option<AccountId>)"}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{RawAuraPreDigest:{slotNumber:"u64"}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{epochAuthorship:{description:"Returns data about which slots (primary or secondary) can be claimed in the current epoch with the keys in the keystore",params:[],type:"HashMap<AuthorityId, EpochAuthorship>"}},types:{BabeAuthorityWeight:"u64",BabeBlockWeight:"u32",MaybeVrf:"Option<VrfData>",BabeWeight:"u64",EpochAuthorship:{primary:"Vec<u64>",secondary:"Vec<u64>"},Randomness:"Hash",RawBabePreDigest:{_enum:{Phantom:"Null",Primary:"RawBabePreDigestPrimary",Secondary:"RawBabePreDigestSecondary"}},RawBabePreDigestPrimary:{authorityIndex:"u32",slotNumber:"SlotNumber",vrfOutput:"VrfData",vrfProof:"VrfProof"},RawBabePreDigestSecondary:{authorityIndex:"u32",slotNumber:"SlotNumber"},RawBabePreDigestTo159:{_enum:{Primary:"RawBabePreDigestPrimaryTo159",Secondary:"RawBabePreDigestSecondaryTo159"}},RawBabePreDigestPrimaryTo159:{authorityIndex:"u32",slotNumber:"SlotNumber",weight:"BabeBlockWeight",vrfOutput:"VrfData",vrfProof:"VrfProof"},RawBabePreDigestSecondaryTo159:{authorityIndex:"u32",slotNumber:"SlotNumber",weight:"BabeBlockWeight"},RawBabePreDigestCompat:{_enum:{Zero:"u32",One:"u32",Two:"u32"}},SlotNumber:"u64",VrfData:"[u8; 32]",VrfProof:"[u8; 64]"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{AccountData:{free:"Balance",reserved:"Balance",miscFrozen:"Balance",feeFrozen:"Balance"},BalanceLockTo212:{id:"LockIdentifier",amount:"Balance",until:"BlockNumber",reasons:"WithdrawReasons"},BalanceLock:{id:"LockIdentifier",amount:"Balance",reasons:"Reasons"},ReleasesBalances:{_enum:["V1_0_0","V2_0_0"]},Reasons:{_enum:["Fee","Misc","All"]},VestingSchedule:{offset:"Balance",perBlock:"Balance",startingBlock:"BlockNumber"},WithdrawReasons:{_set:{TransactionPayment:1,Transfer:2,Reserve:4,Fee:8,Tip:16}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{MemberCount:"u32",ProposalIndex:"u32",VotesTo230:{index:"ProposalIndex",threshold:"MemberCount",ayes:"Vec<AccountId>",nays:"Vec<AccountId>"},Votes:{index:"ProposalIndex",threshold:"MemberCount",ayes:"Vec<AccountId>",nays:"Vec<AccountId>",end:"BlockNumber"}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{AuthorityId:"AccountId",RawVRFOutput:"[u8; 32]"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{call:{description:"Executes a call to a contract",params:[{name:"callRequest",type:"ContractCallRequest"},{name:"at",type:"BlockHash",isOptional:!0}],type:"ContractExecResult"},getStorage:{description:"Returns the value under a specified storage key in a contract",params:[{name:"address",type:"AccountId"},{name:"key",type:"H256"},{name:"at",type:"BlockHash",isOptional:!0}],type:"Option<Bytes>"},rentProjection:{description:"Returns the projected time a given contract will be able to sustain paying its rent",params:[{name:"address",type:"AccountId"},{name:"at",type:"BlockHash",isOptional:!0}],type:"Option<BlockNumber>"}},types:{AliveContractInfo:{trieId:"TrieId",storageSize:"u32",codeHash:"CodeHash",rentAllowance:"Balance",deductBlock:"BlockNumber",lastWrite:"Option<BlockNumber>"},CodeHash:"Hash",ContractCallRequest:{origin:"AccountId",dest:"AccountId",value:"Balance",gasLimit:"u64",inputData:"Bytes"},ContractExecResultSuccess:{status:"u8",data:"Raw"},ContractExecResult:{_enum:{Success:"ContractExecResultSuccess",Error:"Null"}},ContractInfo:{_enum:{Alive:"AliveContractInfo",Tombstone:"TombstoneContractInfo"}},ContractStorageKey:"[u8; 32]",Gas:"u64",PrefabWasmModule:{scheduleVersion:"Compact<u32>",initial:"Compact<u32>",maximum:"Compact<u32>",_reserved:"PrefabWasmModuleReserved",code:"Bytes"},PrefabWasmModuleReserved:"Option<Null>",ScheduleTo212:{version:"u32",putCodePerByteCost:"Gas",growMemCost:"Gas",regularOpCost:"Gas",returnDataPerByteCost:"Gas",eventDataPerByteCost:"Gas",eventPerTopicCost:"Gas",eventBaseCost:"Gas",sandboxDataReadCost:"Gas",sandboxDataWriteCost:"Gas",maxEventTopics:"u32",maxStackHeight:"u32",maxMemoryPages:"u32",enablePrintln:"bool",maxSubjectLen:"u32"},Schedule:{version:"u32",putCodePerByteCost:"Gas",growMemCost:"Gas",regularOpCost:"Gas",returnDataPerByteCost:"Gas",eventDataPerByteCost:"Gas",eventPerTopicCost:"Gas",eventBaseCost:"Gas",sandboxDataReadCost:"Gas",sandboxDataWriteCost:"Gas",transferCost:"Gas",maxEventTopics:"u32",maxStackHeight:"u32",maxMemoryPages:"u32",enablePrintln:"bool",maxSubjectLen:"u32"},SeedOf:"Hash",TombstoneContractInfo:"Hash",TrieId:"Bytes"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AllConvictions=void 0;const n=["None","Locked1x","Locked2x","Locked3x","Locked4x","Locked5x","Locked6x"];t.AllConvictions=n;var A={rpc:{},types:{AccountVote:{_enum:{Standard:"AccountVoteStandard",Split:"AccountVoteSplit"}},AccountVoteSplit:{aye:"Balance",nay:"Balance"},AccountVoteStandard:{vote:"Vote",balance:"Balance"},Conviction:{_enum:n},Delegations:{votes:"Balance",capital:"Balance"},PreimageStatus:{_enum:{Missing:"BlockNumber",Available:"PreimageStatusAvailable"}},PreimageStatusAvailable:{data:"Bytes",provider:"AccountId",deposit:"Balance",since:"BlockNumber",expiry:"Option<BlockNumber>"},PriorLock:"(BlockNumber, Balance)",PropIndex:"u32",Proposal:"Call",ProxyState:{Open:"AccountId",Active:"AccountId"},ReferendumIndex:"u32",ReferendumInfoTo239:{end:"BlockNumber",proposalHash:"Hash",threshold:"VoteThreshold",delay:"BlockNumber"},ReferendumInfo:{_enum:{Ongoing:"ReferendumStatus",Finished:"ReferendumInfoFinished"}},ReferendumInfoFinished:{approved:"bool",end:"BlockNumber"},ReferendumStatus:{end:"BlockNumber",proposalHash:"Hash",threshold:"VoteThreshold",delay:"BlockNumber",tally:"Tally"},Tally:{ayes:"Balance",nays:"Balance",turnout:"Balance"},Voting:{_enum:{Direct:"VotingDirect",Delegating:"VotingDelegating"}},VotingDirect:{votes:"Vec<VotingDirectVote>",delegations:"Delegations",prior:"PriorLock"},VotingDirectVote:"(ReferendumIndex, AccountVote)",VotingDelegating:{balance:"Balance",target:"AccountId",conviction:"Conviction",delegations:"Delegations",prior:"PriorLock"}}};t.default=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{ApprovalFlag:"u32",SetIndex:"u32",Vote:"GenericVote",VoteIndex:"u32",VoterInfo:{lastActive:"VoteIndex",lastWin:"VoteIndex",pot:"Balance",stake:"Balance"},VoteThreshold:{_enum:["Super majority approval","Super majority rejection","Simple majority"]}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{createBlock:{description:"Instructs the manual-seal authorship task to create a new block",params:[{name:"createEmpty",type:"bool"},{name:"finalize",type:"bool"},{name:"parentHash",type:"BlockHash",isOptional:!0}],type:"CreatedBlock"},finalizeBlock:{description:"Instructs the manual-seal authorship task to finalize a block",params:[{name:"hash",type:"BlockHash"},{name:"justification",type:"Justification",isOptional:!0}],type:"bool"}},types:{CreatedBlock:{hash:"BlockHash",aux:"ImportedAux"},ImportedAux:{headerOnly:"bool",clearJustificationRequests:"bool",needsJustification:"bool",badJustification:"bool",needsFinalityProof:"bool",isNewBest:"bool"}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{Account:{nonce:"U256",balance:"U256"},Log:{address:"H160",topics:"Vec<H256>",data:"Bytes"}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{Extrinsic:"GenericExtrinsic",ExtrinsicEra:"GenericExtrinsicEra",ExtrinsicPayload:"GenericExtrinsicPayload",ExtrinsicV1:"GenericExtrinsicV1",ExtrinsicPayloadV1:"GenericExtrinsicPayloadV1",ExtrinsicSignatureV1:"GenericExtrinsicSignatureV1",ExtrinsicV2:"GenericExtrinsicV2",ExtrinsicPayloadV2:"GenericExtrinsicPayloadV2",ExtrinsicSignatureV2:"GenericExtrinsicSignatureV2",ExtrinsicV3:"GenericExtrinsicV3",ExtrinsicPayloadV3:"GenericExtrinsicPayloadV3",ExtrinsicSignatureV3:"GenericExtrinsicSignatureV3",ExtrinsicV4:"GenericExtrinsicV4",ExtrinsicPayloadV4:"GenericExtrinsicPayloadV4",ExtrinsicSignatureV4:"GenericExtrinsicSignatureV4",ExtrinsicUnknown:"GenericExtrinsicUnknown",ExtrinsicPayloadUnknown:"GenericExtrinsicPayloadUnknown",ImmortalEra:"GenericImmortalEra",MortalEra:"GenericMortalEra",MultiSignature:{_enum:{Ed25519:"Ed25519Signature",Sr25519:"Sr25519Signature",Ecdsa:"EcdsaSignature"}},Signature:"H512",SignerPayload:"GenericSignerPayload",EcdsaSignature:"[u8; 65]",Ed25519Signature:"H512",Sr25519Signature:"H512"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{AssetOptions:{initalIssuance:"Compact<Balance>",permissions:"PermissionLatest"},Owner:{_enum:{None:"Null",Address:"AccountId"}},PermissionsV1:{update:"Owner",mint:"Owner",burn:"Owner"},PermissionVersions:{_enum:{V1:"PermissionsV1"}},PermissionLatest:"PermissionsV1"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{AuthorityIndex:"u64",AuthorityList:"Vec<NextAuthority>",AuthorityWeight:"u64",NextAuthority:"(AuthorityId, AuthorityWeight)",PendingPause:{scheduledAt:"BlockNumber",delay:"BlockNumber"},PendingResume:{scheduledAt:"BlockNumber",delay:"BlockNumber"},SetId:"u64",StoredPendingChange:{scheduledAt:"BlockNumber",delay:"BlockNumber",nextAuthorities:"AuthorityList"},StoredState:{_enum:{Live:"Null",PendingPause:"PendingPause",Paused:"Null",PendingResume:"PendingResume"}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{IdentityFields:{_set:{_bitLength:64,Display:1,Legal:2,Web:4,Riot:8,Email:16,PgpFingerprint:32,Image:64,Twitter:128}},IdentityInfoAdditional:"(Data, Data)",IdentityInfo:{additional:"Vec<IdentityInfoAdditional>",display:"Data",legal:"Data",web:"Data",riot:"Data",email:"Data",pgpFingerprint:"Option<H160>",image:"Data",twitter:"Data"},IdentityJudgement:{_enum:{Unknown:"Null",FeePaid:"Balance",Reasonable:"Null",KnownGood:"Null",OutOfDate:"Null",LowQuality:"Null",Erroneous:"Null"}},RegistrationJudgement:"(RegistrarIndex, IdentityJudgement)",Registration:{judgements:"Vec<RegistrationJudgement>",deposit:"Balance",info:"IdentityInfo"},RegistrarIndex:"u32",RegistrarInfo:{account:"AccountId",fee:"Balance",fields:"IdentityFields"}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{AuthIndex:"u32",AuthoritySignature:"Signature",Heartbeat:{blockNumber:"BlockNumber",networkState:"OpaqueNetworkState",sessionIndex:"SessionIndex",authorityIndex:"AuthIndex"},OpaqueMultiaddr:"Bytes",OpaquePeerId:"Bytes",OpaqueNetworkState:{peerId:"OpaquePeerId",externalAddresses:"Vec<OpaqueMultiaddr>"}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{DeferredOffenceOf:"(Vec<OffenceDetails>, Vec<Perbill>, SessionIndex)",Kind:"[u8; 16]",OffenceDetails:{offender:"Offender",reporters:"Vec<Reporter>"},Offender:"IdentificationTuple",OpaqueTimeSlot:"Bytes",ReportIdOf:"Hash",Reporter:"AccountId"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{ActiveRecovery:{created:"BlockNumber",deposit:"Balance",friends:"Vec<AccountId>"},RecoveryConfig:{delayPeriod:"BlockNumber",deposit:"Balance",friends:"Vec<AccountId>",threshold:"u16"}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{SchedulePeriod:"(BlockNumber, u32)",SchedulePriority:"u8",Scheduled:{maybeId:"Option<Bytes>",priority:"SchedulePriority",call:"Call",maybePeriodic:"Option<SchedulePeriod>"},TaskAddress:"(BlockNumber, u32)"}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(166));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var o={rpc:{},types:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},{Keys:"SessionKeys4",SessionKeys1:"(AccountId)",SessionKeys2:"(AccountId, AccountId)",SessionKeys3:"(AccountId, AccountId, AccountId)",SessionKeys4:"(AccountId, AccountId, AccountId, AccountId)",SessionKeys5:"(AccountId, AccountId, AccountId, AccountId, AccountId)",SessionKeys6:"(AccountId, AccountId, AccountId, AccountId, AccountId, AccountId)"},{FullIdentification:"Exposure",IdentificationTuple:"(ValidatorId, FullIdentification)",SessionIndex:"u32"})};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{Bid:{who:"AccountId",kind:"BidKind",value:"Balance"},BidKind:{_enum:{Deposit:"Balance",Vouch:"(AccountId, Balance)"}},SocietyJudgement:{_enum:["Rebid","Reject","Approve"]},SocietyVote:{_enum:["Skeptic","Reject","Approve"]},StrikeCount:"u32",VouchingStatus:{_enum:["Vouching","Banned"]}}}},function(e,t,r){"use strict";var n=r(16);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(166));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var o={rpc:{},types:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},{Points:"u32",EraPoints:{total:"Points",individual:"Vec<Points>"}},{ActiveEraInfo:{index:"EraIndex",start:"Option<Moment>"},CompactAssignments:{votes1:"Vec<(AccountId, [CompactScore; 0], AccountId)>",votes2:"Vec<(AccountId, [CompactScore; 1], AccountId)>",votes3:"Vec<(AccountId, [CompactScore; 2], AccountId)>",votes4:"Vec<(AccountId, [CompactScore; 3], AccountId)>",votes5:"Vec<(AccountId, [CompactScore; 4], AccountId)>",votes6:"Vec<(AccountId, [CompactScore; 5], AccountId)>",votes7:"Vec<(AccountId, [CompactScore; 6], AccountId)>",votes8:"Vec<(AccountId, [CompactScore; 7], AccountId)>",votes9:"Vec<(AccountId, [CompactScore; 8], AccountId)>",votes10:"Vec<(AccountId, [CompactScore; 9], AccountId)>",votes11:"Vec<(AccountId, [CompactScore; 10], AccountId)>",votes12:"Vec<(AccountId, [CompactScore; 11], AccountId)>",votes13:"Vec<(AccountId, [CompactScore; 12], AccountId)>",votes14:"Vec<(AccountId, [CompactScore; 13], AccountId)>",votes15:"Vec<(AccountId, [CompactScore; 14], AccountId)>",votes16:"Vec<(AccountId, [CompactScore; 15], AccountId)>"},CompactScore:"(AccountId, u128)",ElectionCompute:{_enum:["OnChain","Signed","Authority"]},ElectionResult:{compute:"ElectionCompute",slotStake:"Balance",electedStashes:"Vec<AccountId>",exposures:"Vec<(AccountId, Exposure)>"},ElectionStatus:{_enum:{Close:"Null",Open:"BlockNumber"}},EraIndex:"u32",EraRewardPoints:{total:"RewardPoint",individual:"BTreeMap<AccountId, RewardPoint>"},EraRewards:{total:"u32",rewards:"Vec<u32>"},Exposure:{total:"Compact<Balance>",own:"Compact<Balance>",others:"Vec<IndividualExposure>"},Forcing:{_enum:["NotForcing","ForceNew","ForceNone","ForceAlways"]},IndividualExposure:{who:"AccountId",value:"Compact<Balance>"},KeyType:"AccountId",MomentOf:"Moment",Nominations:{targets:"Vec<AccountId>",submittedIn:"EraIndex",suppressed:"bool"},PhragmenScore:"[u128; 3]",Points:"u32",ReleasesStaking:{_enum:["V1_0_0","V2_0_0","V3_0_0"]},RewardDestination:{_enum:["Staked","Stash","Controller"]},RewardPoint:"u32",SlashJournalEntry:{who:"AccountId",amount:"Balance",ownSlash:"Balance"},SlashingSpansTo204:{spanIndex:"SpanIndex",lastStart:"EraIndex",prior:"Vec<EraIndex>"},SlashingSpans:{spanIndex:"SpanIndex",lastStart:"EraIndex",lastNonzeroSlash:"EraIndex",prior:"Vec<EraIndex>"},SpanIndex:"u32",SpanRecord:{slashed:"Balance",paidOut:"Balance"},StakingLedgerTo223:{stash:"AccountId",total:"Compact<Balance>",active:"Compact<Balance>",unlocking:"Vec<UnlockChunk>"},StakingLedgerTo240:{stash:"AccountId",total:"Compact<Balance>",active:"Compact<Balance>",unlocking:"Vec<UnlockChunk>",lastReward:"Option<EraIndex>"},StakingLedger:{stash:"AccountId",total:"Compact<Balance>",active:"Compact<Balance>",unlocking:"Vec<UnlockChunk>",claimedRewards:"Vec<EraIndex>"},UnappliedSlashOther:"(AccountId, Balance)",UnappliedSlash:{validator:"AccountId",own:"Balance",others:"Vec<UnappliedSlashOther>",reporters:"Vec<AccountId>",payout:"Balance"},UnlockChunk:{value:"Compact<Balance>",era:"Compact<BlockNumber>"},ValidatorIndex:"u16",ValidatorPrefs:{commission:"Compact<Perbill>"},ValidatorPrefsTo196:{validatorPayment:"Compact<Balance>"},ValidatorPrefsTo145:{unstakeThreshold:"Compact<u32>",validatorPayment:"Compact<Balance>"}})};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{name:{description:"Retrieves the node name",params:[],type:"Text"},version:{description:"Retrieves the version of the node",params:[],type:"Text"},chain:{description:"Retrieves the chain",params:[],type:"Text"},chainType:{description:"Retrieves the chain type",params:[],type:"ChainType"},properties:{description:"Get a custom set of properties as a JSON object, defined in the chain spec",params:[],type:"ChainProperties"},health:{description:"Return health status of the node",params:[],type:"Health"},peers:{description:"Returns the currently connected peers",params:[],type:"Vec<PeerInfo>"},networkState:{description:"Returns current state of the network",params:[],type:"NetworkState"},addReservedPeer:{description:"Adds a reserved peer",params:[{name:"peer",type:"Text"}],type:"Text"},removeReservedPeer:{description:"Remove a reserved peer",params:[{name:"peerId",type:"Text"}],type:"Text"},nodeRoles:{description:"Returns the roles the node is running as",params:[],type:"Vec<NodeRole>"}},types:{AccountInfo:{nonce:"Index",refcount:"RefCount",data:"AccountData"},ChainProperties:{ss58Format:"Option<u8>",tokenDecimals:"Option<u32>",tokenSymbol:"Option<Text>"},ChainType:{_enum:{Development:"Null",Local:"Null",Live:"Null",Custom:"Text"}},DigestOf:"Digest",DispatchError:{_enum:{Other:"Null",CannotLookup:"Null",BadOrigin:"Null",Module:"DispatchErrorModule"}},DispatchErrorModule:{index:"u8",error:"u8"},DispatchErrorTo198:{module:"Option<u8>",error:"u8"},DispatchResult:"Result<(), DispatchError>",DispatchResultOf:"DispatchResult",DispatchResultTo198:"Result<(), Text>",Event:"GenericEvent",EventId:"[u8; 2]",EventIndex:"u32",EventRecord:{phase:"Phase",event:"Event",topics:"Vec<Hash>"},EventRecordTo76:{phase:"Phase",event:"Event"},Health:{peers:"u64",isSyncing:"bool",shouldHavePeers:"bool"},Key:"Bytes",LastRuntimeUpgradeInfo:{specVersion:"Compact<u32>",specName:"Text"},NetworkState:{peerId:"Text",listenedAddresses:"Vec<Text>",externalAddresses:"Vec<Text>",connectedPeers:"HashMap<Text, Peer>",notConnectedPeers:"HashMap<Text, NotConnectedPeer>",averageDownloadPerSec:"u64",averageUploadPerSec:"u64",peerset:"NetworkStatePeerset"},NetworkStatePeerset:{messageQueue:"u64",nodes:"HashMap<Text, NetworkStatePeersetInfo>"},NetworkStatePeersetInfo:{connected:"bool",reputation:"u64"},NodeRole:{_enum:{Full:"Null",LightClient:"Null",Authority:"Null",UnknownRole:"u8"}},NotConnectedPeer:{knownAddresses:"Vec<Text>",latestPingTime:"Option<PeerPing>",versionString:"Option<Text>"},Peer:{enabled:"bool",endpoint:"PeerEndpoint",knownAddresses:"Vec<Text>",latestPingTime:"PeerPing",open:"bool",versionString:"Text"},PeerEndpoint:{listening:"PeerEndpointAddr"},PeerEndpointAddr:{_alias:{localAddr:"local_addr",sendBackAddr:"send_back_addr"},localAddr:"Text",sendBackAddr:"Text"},PeerPing:{nanos:"u64",secs:"u64"},PeerInfo:{peerId:"Text",roles:"Text",protocolVersion:"u32",bestHash:"Hash",bestNumber:"BlockNumber"},Phase:{_enum:{ApplyExtrinsic:"u32",Finalization:"Null",Initialization:"Null"}},RefCount:"u8"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{OpenTip:{reason:"Hash",who:"AccountId",finder:"Option<OpenTipFinder>",closes:"Option<BlockNumber>",tips:"Vec<OpenTipTip>"},OpenTipFinder:"(AccountId, Balance)",OpenTipTip:"(AccountId, Balance)",TreasuryProposal:{proposer:"AccountId",value:"Balance",beneficiary:"AccountId",bond:"Balance"}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{Multiplier:"Fixed64"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{CallHash:"H256",Multisig:{when:"Timepoint",deposit:"Balance",depositor:"AccountId",approvals:"Vec<AccountId>"},Timepoint:{height:"BlockNumber",index:"u32"}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{VestingInfo:{locked:"Balance",perBlock:"Balance",startingBlock:"BlockNumber"}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{BlockAttestations:{receipt:"CandidateReceipt",valid:"Vec<AccountId>",invalid:"Vec<AccountId>"},IncludedBlocks:{actualNumber:"BlockNumber",session:"SessionIndex",randomSeed:"H256",activeParachains:"Vec<ParaId>",paraBlocks:"Vec<Hash>"},MoreAttestations:{}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{EthereumAddress:"H160"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{},types:{AttestedCandidate:{candidate:"CandidateReceipt",validityVotes:"Vec<ValidityAttestation>",validatorIndices:"BitVec"},AuctionIndex:"u32",Bidder:{_enum:{New:"NewBidder",Existing:"ParaId"}},CandidateReceipt:{parachainIndex:"ParaId",collator:"CollatorId",signature:"CollatorSignature",headData:"HeadData",egressQueueRoots:"Vec<(ParaId, Hash)>",fees:"Balance",blockDataHash:"Hash",upwardMessages:"Vec<UpwardMessage>",erasureRoot:"Hash"},CollatorId:"H256",CollatorSignature:"Signature",EgressQueueRoot:"(ParaId, Hash)",HeadData:"Bytes",IncomingParachainDeploy:{code:"Bytes",initialHeadData:"Bytes"},IncomingParachainFixed:{codeHash:"Hash",initialHeadData:"Bytes"},IncomingParachain:{_enum:{Unset:"NewBidder",Fixed:"IncomingParachainFixed",Deploy:"IncomingParachainDeploy"}},LeasePeriod:"BlockNumber",LeasePeriodOf:"LeasePeriod",NewBidder:{who:"AccountId",sub:"SubId"},ParaId:"u32",ParaIdOf:"ParaId",ParaInfo:{scheduling:"ParaScheduling"},ParachainDispatchOrigin:{_enum:["Signed","Parachain"]},ParaScheduling:{_enum:["Always","Dynamic"]},Retriable:{_enum:{Never:"Null",WithRetries:"u32"}},SlotRange:{_enum:["ZeroZero","ZeroOne","ZeroTwo","ZeroThree","OneOne","OneTwo","OneThree","TwoTwo","TwoThree","ThreeThree"]},SubId:"u32",UpwardMessage:{origin:"ParachainDispatchOrigin",data:"Bytes"},ValidityAttestation:{_enum:{None:"Null",Implicit:"CollatorSignature",Explicit:"CollatorSignature"}},WinningDataEntry:"(AccountId, ParaIdOf, BalanceOf)",WinningData:"[WinningDataEntry; 10]"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AllHashers=void 0;const n={Blake2_128:null,Blake2_256:null,Blake2_128Concat:null,Twox128:null,Twox256:null,Twox64Concat:null,Identity:null};t.AllHashers=n;var A={rpc:{},types:{CallMetadataV0:{name:"Text",functions:"Vec<FunctionMetadataV0>"},EventMetadataV0:{name:"Text",args:"Vec<Type>",documentation:"Vec<Text>"},FunctionArgumentMetadataV0:{name:"Text",type:"Type"},FunctionMetadataV0:{id:"u16",name:"Text",args:"Vec<FunctionArgumentMetadataV0>",documentation:"Vec<Text>"},MapTypeV0:{key:"Type",value:"Type"},MetadataV0:{outerEvent:"OuterEventMetadataV0",modules:"Vec<RuntimeModuleMetadataV0>",outerDispatch:"OuterDispatchMetadataV0"},ModuleMetadataV0:{name:"Text",call:"CallMetadataV0"},OuterDispatchCallV0:{name:"Text",prefix:"Text",index:"u16"},OuterDispatchMetadataV0:{name:"Text",calls:"Vec<OuterDispatchCallV0>"},OuterEventEventMetadataEventsV0:"Vec<EventMetadataV0>",OuterEventEventMetadataV0:"(Text, OuterEventEventMetadataEventsV0)",OuterEventMetadataV0:{name:"Text",events:"Vec<OuterEventEventMetadataV0>"},PlainTypeV0:"Type",RuntimeModuleMetadataV0:{prefix:"Text",module:"ModuleMetadataV0",storage:"Option<StorageMetadataV0>"},StorageFunctionMetadataV0:{name:"Text",modifier:"StorageFunctionModifierV0",type:"StorageFunctionTypeV0",fallback:"Bytes",documentation:"Vec<Text>"},StorageFunctionModifierV0:{_enum:["Optional","Default","Required"]},StorageFunctionTypeV0:{_enum:{Plain:"PlainTypeV0",Map:"MapTypeV0"}},StorageMetadataV0:{prefix:"Text",functions:"Vec<StorageFunctionMetadataV0>"},EventMetadataV1:"EventMetadataV0",FunctionArgumentMetadataV1:"FunctionArgumentMetadataV0",FunctionMetadataV1:{name:"Text",args:"Vec<FunctionArgumentMetadataV1>",documentation:"Vec<Text>"},MetadataV1:{modules:"Vec<ModuleMetadataV1>"},ModuleMetadataV1:{name:"Text",prefix:"Text",storage:"Option<Vec<StorageFunctionMetadataV1>>",calls:"Option<Vec<FunctionMetadataV1>>",events:"Option<Vec<EventMetadataV1>>"},StorageFunctionMetadataV1:"StorageFunctionMetadataV0",StorageFunctionModifierV1:"StorageFunctionModifierV0",StorageFunctionTypeV1:"StorageFunctionTypeV0",EventMetadataV2:"EventMetadataV1",FunctionArgumentMetadataV2:"FunctionArgumentMetadataV1",FunctionMetadataV2:"FunctionMetadataV1",MapTypeV2:{key:"Type",value:"Type",linked:"bool"},MetadataV2:{modules:"Vec<ModuleMetadataV2>"},ModuleMetadataV2:{name:"Text",prefix:"Text",storage:"Option<Vec<StorageFunctionMetadataV2>>",calls:"Option<Vec<FunctionMetadataV2>>",events:"Option<Vec<EventMetadataV2>>"},PlainTypeV2:"Type",StorageFunctionMetadataV2:{name:"Text",modifier:"StorageFunctionModifierV2",type:"StorageFunctionTypeV2",fallback:"Bytes",documentation:"Vec<Text>"},StorageFunctionModifierV2:"StorageFunctionModifierV1",StorageFunctionTypeV2:{_enum:{Plain:"PlainTypeV2",Map:"MapTypeV2"}},DoubleMapTypeV3:{key1:"Type",key2:"Type",value:"Type",key2Hasher:"Text"},EventMetadataV3:"EventMetadataV2",FunctionArgumentMetadataV3:"FunctionArgumentMetadataV2",FunctionMetadataV3:"FunctionMetadataV2",MapTypeV3:"MapTypeV2",MetadataV3:{modules:"Vec<ModuleMetadataV3>"},ModuleMetadataV3:{name:"Text",prefix:"Text",storage:"Option<Vec<StorageFunctionMetadataV3>>",calls:"Option<Vec<FunctionMetadataV3>>",events:"Option<Vec<EventMetadataV3>>"},PlainTypeV3:"Type",StorageFunctionMetadataV3:{name:"Text",modifier:"StorageFunctionModifierV3",type:"StorageFunctionTypeV3",fallback:"Bytes",documentation:"Vec<Text>"},StorageFunctionModifierV3:"StorageFunctionModifierV2",StorageFunctionTypeV3:{_enum:{Plain:"PlainTypeV3",Map:"MapTypeV3",DoubleMap:"DoubleMapTypeV3"}},DoubleMapTypeV4:{hasher:"StorageHasherV4",key1:"Type",key2:"Type",value:"Type",key2Hasher:"Text"},EventMetadataV4:"EventMetadataV3",FunctionArgumentMetadataV4:"FunctionArgumentMetadataV3",FunctionMetadataV4:"FunctionMetadataV3",MapTypeV4:{hasher:"StorageHasherV4",key:"Type",value:"Type",linked:"bool"},MetadataV4:{modules:"Vec<ModuleMetadataV4>"},ModuleMetadataV4:{name:"Text",prefix:"Text",storage:"Option<Vec<StorageFunctionMetadataV4>>",calls:"Option<Vec<FunctionMetadataV4>>",events:"Option<Vec<EventMetadataV4>>"},PlainTypeV4:"Type",StorageFunctionMetadataV4:{name:"Text",modifier:"StorageFunctionModifierV4",type:"StorageFunctionTypeV4",fallback:"Bytes",documentation:"Vec<Text>"},StorageFunctionModifierV4:"StorageFunctionModifierV3",StorageFunctionTypeV4:{_enum:{Plain:"PlainTypeV4",Map:"MapTypeV4",DoubleMap:"DoubleMapTypeV4"}},StorageHasherV4:{_enum:{Blake2_128:null,Blake2_256:null,Twox128:null,Twox256:null,Twox64Concat:null}},DoubleMapTypeV5:{hasher:"StorageHasherV5",key1:"Type",key2:"Type",value:"Type",key2Hasher:"StorageHasherV5"},EventMetadataV5:"EventMetadataV4",FunctionArgumentMetadataV5:"FunctionArgumentMetadataV4",FunctionMetadataV5:"FunctionMetadataV4",MapTypeV5:"MapTypeV4",MetadataV5:{modules:"Vec<ModuleMetadataV5>"},ModuleMetadataV5:{name:"Text",prefix:"Text",storage:"Option<Vec<StorageFunctionMetadataV5>>",calls:"Option<Vec<FunctionMetadataV5>>",events:"Option<Vec<EventMetadataV5>>"},PlainTypeV5:"Type",StorageFunctionMetadataV5:{name:"Text",modifier:"StorageFunctionModifierV5",type:"StorageFunctionTypeV5",fallback:"Bytes",documentation:"Vec<Text>"},StorageFunctionModifierV5:"StorageFunctionModifierV4",StorageFunctionTypeV5:{_enum:{Plain:"PlainTypeV5",Map:"MapTypeV5",DoubleMap:"DoubleMapTypeV5"}},StorageHasherV5:"StorageHasherV4",DoubleMapTypeV6:"DoubleMapTypeV5",EventMetadataV6:"EventMetadataV5",FunctionArgumentMetadataV6:"FunctionArgumentMetadataV5",FunctionMetadataV6:"FunctionMetadataV5",MapTypeV6:"MapTypeV5",MetadataV6:{modules:"Vec<ModuleMetadataV6>"},ModuleConstantMetadataV6:{name:"Text",type:"Type",value:"Bytes",documentation:"Vec<Text>"},ModuleMetadataV6:{name:"Text",prefix:"Text",storage:"Option<Vec<StorageEntryMetadataV6>>",calls:"Option<Vec<FunctionMetadataV6>>",events:"Option<Vec<EventMetadataV6>>",constants:"Vec<ModuleConstantMetadataV6>"},PlainTypeV6:"Type",StorageEntryModifierV6:"StorageFunctionModifierV5",StorageEntryMetadataV6:"StorageFunctionMetadataV5",StorageEntryTypeV6:"StorageFunctionTypeV5",StorageHasherV6:"StorageHasherV5",DoubleMapTypeV7:"DoubleMapTypeV6",EventMetadataV7:"EventMetadataV6",FunctionArgumentMetadataV7:"FunctionArgumentMetadataV6",FunctionMetadataV7:"FunctionMetadataV6",MapTypeV7:"MapTypeV6",MetadataV7:{modules:"Vec<ModuleMetadataV7>"},ModuleConstantMetadataV7:"ModuleConstantMetadataV6",ModuleMetadataV7:{name:"Text",storage:"Option<StorageMetadataV7>",calls:"Option<Vec<FunctionMetadataV7>>",events:"Option<Vec<EventMetadataV7>>",constants:"Vec<ModuleConstantMetadataV7>"},PlainTypeV7:"Type",StorageEntryModifierV7:"StorageEntryModifierV6",StorageEntryMetadataV7:"StorageEntryMetadataV6",StorageEntryTypeV7:"StorageEntryTypeV6",StorageHasherV7:"StorageHasherV6",StorageMetadataV7:{prefix:"Text",items:"Vec<StorageEntryMetadataV7>"},DoubleMapTypeV8:"DoubleMapTypeV7",ErrorMetadataV8:{name:"Text",documentation:"Vec<Text>"},EventMetadataV8:"EventMetadataV7",FunctionArgumentMetadataV8:"FunctionArgumentMetadataV7",FunctionMetadataV8:"FunctionMetadataV7",MapTypeV8:"MapTypeV7",MetadataV8:{modules:"Vec<ModuleMetadataV8>"},ModuleConstantMetadataV8:"ModuleConstantMetadataV7",ModuleMetadataV8:{name:"Text",storage:"Option<StorageMetadataV8>",calls:"Option<Vec<FunctionMetadataV8>>",events:"Option<Vec<EventMetadataV8>>",constants:"Vec<ModuleConstantMetadataV8>",errors:"Vec<ErrorMetadataV8>"},PlainTypeV8:"Type",StorageEntryModifierV8:"StorageEntryModifierV7",StorageEntryMetadataV8:"StorageEntryMetadataV7",StorageEntryTypeV8:"StorageEntryTypeV7",StorageHasherV8:"StorageHasherV7",StorageMetadataV8:"StorageMetadataV7",DoubleMapTypeV9:"DoubleMapTypeV8",ErrorMetadataV9:"ErrorMetadataV8",EventMetadataV9:"EventMetadataV8",FunctionArgumentMetadataV9:"FunctionArgumentMetadataV8",FunctionMetadataV9:"FunctionMetadataV8",MapTypeV9:"MapTypeV8",MetadataV9:"MetadataV8",ModuleConstantMetadataV9:"ModuleConstantMetadataV8",ModuleMetadataV9:"ModuleMetadataV8",PlainTypeV9:"Type",StorageEntryModifierV9:"StorageEntryModifierV8",StorageEntryMetadataV9:"StorageEntryMetadataV8",StorageEntryTypeV9:"StorageEntryTypeV8",StorageHasherV9:"StorageHasherV8",StorageMetadataV9:"StorageMetadataV8",DoubleMapTypeV10:{hasher:"StorageHasherV10",key1:"Type",key2:"Type",value:"Type",key2Hasher:"StorageHasherV10"},ErrorMetadataV10:"ErrorMetadataV9",EventMetadataV10:"EventMetadataV9",FunctionArgumentMetadataV10:"FunctionArgumentMetadataV9",FunctionMetadataV10:"FunctionMetadataV9",MapTypeV10:{hasher:"StorageHasherV10",key:"Type",value:"Type",linked:"bool"},MetadataV10:{modules:"Vec<ModuleMetadataV10>"},ModuleConstantMetadataV10:"ModuleConstantMetadataV9",ModuleMetadataV10:{name:"Text",storage:"Option<StorageMetadataV10>",calls:"Option<Vec<FunctionMetadataV10>>",events:"Option<Vec<EventMetadataV10>>",constants:"Vec<ModuleConstantMetadataV10>",errors:"Vec<ErrorMetadataV10>"},PlainTypeV10:"Type",StorageEntryModifierV10:"StorageEntryModifierV9",StorageEntryMetadataV10:{name:"Text",modifier:"StorageEntryModifierV10",type:"StorageEntryTypeV10",fallback:"Bytes",documentation:"Vec<Text>"},StorageEntryTypeV10:{_enum:{Plain:"PlainTypeV10",Map:"MapTypeV10",DoubleMap:"DoubleMapTypeV10"}},StorageMetadataV10:{prefix:"Text",items:"Vec<StorageEntryMetadataV10>"},StorageHasherV10:{_enum:{Blake2_128:null,Blake2_256:null,Blake2_128Concat:null,Twox128:null,Twox256:null,Twox64Concat:null}},DoubleMapTypeV11:{hasher:"StorageHasherV11",key1:"Type",key2:"Type",value:"Type",key2Hasher:"StorageHasherV11"},ErrorMetadataV11:"ErrorMetadataV10",EventMetadataV11:"EventMetadataV10",ExtrinsicMetadataV11:{version:"u8",signedExtensions:"Vec<Text>"},FunctionArgumentMetadataV11:"FunctionArgumentMetadataV10",FunctionMetadataV11:"FunctionMetadataV10",MapTypeV11:{hasher:"StorageHasherV11",key:"Type",value:"Type",linked:"bool"},MetadataV11:{modules:"Vec<ModuleMetadataV11>",extrinsic:"ExtrinsicMetadataV11"},ModuleConstantMetadataV11:"ModuleConstantMetadataV10",ModuleMetadataV11:{name:"Text",storage:"Option<StorageMetadataV11>",calls:"Option<Vec<FunctionMetadataV11>>",events:"Option<Vec<EventMetadataV11>>",constants:"Vec<ModuleConstantMetadataV11>",errors:"Vec<ErrorMetadataV11>"},PlainTypeV11:"Type",StorageEntryModifierV11:"StorageEntryModifierV10",StorageEntryMetadataV11:{name:"Text",modifier:"StorageEntryModifierV11",type:"StorageEntryTypeV11",fallback:"Bytes",documentation:"Vec<Text>"},StorageEntryTypeV11:{_enum:{Plain:"PlainTypeV11",Map:"MapTypeV11",DoubleMap:"DoubleMapTypeV11"}},StorageMetadataV11:{prefix:"Text",items:"Vec<StorageEntryMetadataV11>"},StorageHasherV11:{_enum:n},DoubleMapTypeLatest:"DoubleMapTypeV11",EventMetadataLatest:"EventMetadataV11",ExtrinsicMetadataLatest:"ExtrinsicMetadataV11",FunctionArgumentMetadataLatest:"FunctionArgumentMetadataV11",FunctionMetadataLatest:"FunctionMetadataV11",MapTypeLatest:"MapTypeV11",MetadataLatest:"MetadataV11",ModuleConstantMetadataLatest:"ModuleConstantMetadataV11",ModuleMetadataLatest:"ModuleMetadataV11",PlainTypeLatest:"PlainTypeV11",StorageEntryMetadataLatest:"StorageEntryMetadataV11",StorageEntryModifierLatest:"StorageEntryModifierV11",StorageEntryTypeLatest:"StorageEntryTypeV11",StorageMetadataLatest:"StorageMetadataV11",StorageHasher:"StorageHasherV11",MetadataAll:{_enum:{V0:"MetadataV0",V1:"MetadataV1",V2:"MetadataV2",V3:"MetadataV3",V4:"MetadataV4",V5:"MetadataV5",V6:"MetadataV6",V7:"MetadataV7",V8:"MetadataV8",V9:"MetadataV9",V10:"MetadataV10",V11:"MetadataV11"}}}};t.default=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{methods:{description:"Retrieves the list of RPC methods that are exposed by the node",params:[],type:"RpcMethods"}},types:{RpcMethods:{version:"u32",methods:"Vec<Text>"}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{nextIndex:{alias:["system_accountNextIndex"],description:"Retrieves the next accountIndex as available on the node",params:[{name:"accountId",type:"AccountId"}],type:"Index"}},types:{}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{hasKey:{description:"Returns true if the keystore has private keys for the given public key and key type.",params:[{name:"publicKey",type:"Bytes"},{name:"keyType",type:"Text"}],type:"bool"},hasSessionKeys:{description:"Returns true if the keystore has private keys for the given session public keys.",params:[{name:"sessionKeys",type:"Bytes"}],type:"bool"},removeExtrinsic:{description:"Remove given extrinsic from the pool and temporarily ban it to prevent reimporting",params:[{name:"bytesOrHash",type:"Vec<ExtrinsicOrHash>"}],type:"Vec<Hash>"},insertKey:{description:"Insert a key into the keystore.",params:[{name:"keyType",type:"Text"},{name:"suri",type:"Text"},{name:"publicKey",type:"Bytes"}],type:"Bytes"},rotateKeys:{description:"Generate new session keys and returns the corresponding public keys",params:[],type:"Bytes"},pendingExtrinsics:{description:"Returns all pending extrinsics, potentially grouped by sender",params:[],type:"Vec<Extrinsic>"},submitExtrinsic:{isSigned:!0,description:"Submit a fully formatted extrinsic for block inclusion",params:[{name:"extrinsic",type:"Extrinsic"}],type:"Hash"},submitAndWatchExtrinsic:{description:"Submit and subscribe to watch an extrinsic until unsubscribed",isSigned:!0,params:[{name:"extrinsic",type:"Extrinsic"}],pubsub:["extrinsicUpdate","submitAndWatchExtrinsic","unwatchExtrinsic"],type:"ExtrinsicStatus"}},types:{ExtrinsicOrHash:{_enum:{Hash:"Hash",Extrinsic:"Bytes"}},ExtrinsicStatus:{_enum:{Future:"Null",Ready:"Null",Broadcast:"Vec<Text>",InBlock:"Hash",Retracted:"Hash",FinalityTimeout:"Hash",Finalized:"Hash",Usurped:"Hash",Dropped:"Null",Invalid:"Null"}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{getHeader:{alias:["chain_getHead"],description:"Retrieves the header for a specific block",params:[{name:"hash",type:"BlockHash",isOptional:!0}],type:"Header"},getBlock:{description:"Get header and body of a relay chain block",params:[{name:"hash",type:"BlockHash",isOptional:!0}],type:"SignedBlock"},getBlockHash:{description:"Get the block hash for a specific block",params:[{name:"blockNumber",type:"BlockNumber",isOptional:!0}],type:"BlockHash"},getFinalizedHead:{alias:["chain_getFinalisedHead"],description:"Get hash of the last finalized block in the canon chain",params:[],type:"BlockHash"},subscribeNewHeads:{alias:["chain_unsubscribeNewHeads","subscribe_newHead","unsubscribe_newHead"],description:"Retrieves the best header via subscription",params:[],pubsub:["newHead","subscribeNewHead","unsubscribeNewHead"],type:"Header"},subscribeFinalizedHeads:{alias:["chain_subscribeFinalisedHeads","chain_unsubscribeFinalisedHeads"],description:"Retrieves the best finalized header via subscription",params:[],pubsub:["finalizedHead","subscribeFinalizedHeads","unsubscribeFinalizedHeads"],type:"Header"},subscribeAllHeads:{description:"Retrieves the newest header via subscription",params:[],pubsub:["allHead","subscribeAllHeads","unsubscribeAllHeads"],type:"Header"}},types:{BlockHash:"Hash"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{getKeys:{description:"Returns the keys with prefix from a child storage, leave empty to get all the keys",params:[{name:"childKey",type:"PrefixedStorageKey"},{name:"prefix",type:"StorageKey"},{name:"at",type:"Hash",isOptional:!0}],type:"Vec<StorageKey>"},getStorage:{description:"Returns a child storage entry at a specific block state",params:[{name:"childKey",type:"PrefixedStorageKey"},{name:"key",type:"StorageKey"},{name:"at",type:"Hash",isOptional:!0}],type:"Option<StorageData>"},getStorageHash:{description:"Returns the hash of a child storage entry at a block state",params:[{name:"childKey",type:"PrefixedStorageKey"},{name:"key",type:"StorageKey"},{name:"at",type:"Hash",isOptional:!0}],type:"Option<Hash>"},getStorageSize:{description:"Returns the size of a child storage entry at a block state",params:[{name:"childKey",type:"PrefixedStorageKey"},{name:"key",type:"StorageKey"},{name:"at",type:"Hash",isOptional:!0}],type:"Option<u64>"}},types:{PrefixedStorageKey:"StorageKey"}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{localStorageSet:{description:"Set offchain local storage under given key and prefix",params:[{name:"kind",type:"StorageKind"},{name:"key",type:"Bytes"},{name:"value",type:"Bytes"}],type:"Null"},localStorageGet:{description:"Get offchain local storage under given key and prefix",params:[{name:"kind",type:"StorageKind"},{name:"key",type:"Bytes"}],type:"Option<Bytes>"}},types:{StorageKind:{_enum:["__UNUSED","PERSISTENT","LOCAL"]}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{queryInfo:{description:"Retrieves the fee information for an encoded extrinsic",params:[{name:"extrinsic",type:"Bytes"},{name:"at",type:"BlockHash",isOptional:!0}],type:"RuntimeDispatchInfo"}},types:{RuntimeDispatchInfo:{weight:"Weight",class:"DispatchClass",partialFee:"Balance"}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rpc:{call:{alias:["state_callAt"],description:"Perform a call to a builtin on the chain",params:[{name:"method",type:"Text"},{name:"data",type:"Bytes"},{name:"at",type:"BlockHash",isOptional:!0}],type:"Bytes"},getKeys:{description:"Retrieves the keys with a certain prefix",params:[{name:"key",type:"StorageKey"},{name:"at",type:"BlockHash",isOptional:!0}],type:"Vec<StorageKey>"},getPairs:{description:"Returns the keys with prefix, leave empty to get all the keys",params:[{name:"prefix",type:"StorageKey"},{name:"at",type:"BlockHash",isOptional:!0}],type:"Vec<KeyValue>"},getKeysPaged:{alias:["state_getKeysPagedAt"],description:"Returns the keys with prefix with pagination support.",params:[{name:"key",type:"StorageKey"},{name:"count",type:"u32"},{name:"startKey",type:"StorageKey",isOptional:!0},{name:"at",type:"BlockHash",isOptional:!0}],type:"Vec<StorageKey>"},getStorage:{alias:["state_getStorageAt"],description:"Retrieves the storage for a key",params:[{name:"key",type:"StorageKey"},{name:"at",type:"BlockHash",isOptional:!0}],type:"StorageData"},getStorageHash:{alias:["state_getStorageHashAt"],description:"Retrieves the storage hash",params:[{name:"key",type:"StorageKey"},{name:"at",type:"BlockHash",isOptional:!0}],type:"Hash"},getStorageSize:{alias:["state_getStorageSizeAt"],description:"Retrieves the storage size",params:[{name:"key",type:"StorageKey"},{name:"at",type:"BlockHash",isOptional:!0}],type:"u64"},getChildKeys:{description:"Retrieves the keys with prefix of a specific child storage",params:[{name:"childStorageKey",type:"StorageKey"},{name:"childDefinition",type:"StorageKey"},{name:"childType",type:"u32"},{name:"key",type:"StorageKey"},{name:"at",type:"BlockHash",isOptional:!0}],type:"Vec<StorageKey>"},getChildStorage:{description:"Retrieves the child storage for a key",params:[{name:"childStorageKey",type:"StorageKey"},{name:"childDefinition",type:"StorageKey"},{name:"childType",type:"u32"},{name:"key",type:"StorageKey"},{name:"at",type:"BlockHash",isOptional:!0}],type:"StorageData"},getChildStorageHash:{description:"Retrieves the child storage hash",params:[{name:"childStorageKey",type:"StorageKey"},{name:"childDefinition",type:"StorageKey"},{name:"childType",type:"u32"},{name:"key",type:"StorageKey"},{name:"at",type:"BlockHash",isOptional:!0}],type:"Hash"},getChildStorageSize:{description:"Retrieves the child storage size",params:[{name:"childStorageKey",type:"StorageKey"},{name:"childDefinition",type:"StorageKey"},{name:"childType",type:"u32"},{name:"key",type:"StorageKey"},{name:"at",type:"BlockHash",isOptional:!0}],type:"u64"},getMetadata:{description:"Returns the runtime metadata",params:[{name:"at",type:"BlockHash",isOptional:!0}],type:"Metadata"},getRuntimeVersion:{alias:["chain_getRuntimeVersion"],description:"Get the runtime version",params:[{name:"at",type:"BlockHash",isOptional:!0}],type:"RuntimeVersion"},queryStorage:{description:"Query historical storage entries (by key) starting from a start block",params:[{name:"keys",type:"Vec<StorageKey>"},{name:"fromBlock",type:"Hash"},{name:"toBlock",type:"BlockHash",isOptional:!0}],type:"Vec<StorageChangeSet>"},queryStorageAt:{description:"Query storage entries (by key) starting at block hash given as the second parameter",params:[{name:"keys",type:"Vec<StorageKey>"},{name:"at",type:"BlockHash",isOptional:!0}],type:"Vec<StorageChangeSet>"},subscribeRuntimeVersion:{alias:["chain_subscribeRuntimeVersion","chain_unsubscribeRuntimeVersion"],description:"Retrieves the runtime version via subscription",params:[],pubsub:["runtimeVersion","subscribeRuntimeVersion","unsubscribeRuntimeVersion"],type:"RuntimeVersion"},subscribeStorage:{description:"Subscribes to storage changes for the provided keys",params:[{name:"keys",type:"Vec<StorageKey>"}],pubsub:["storage","subscribeStorage","unsubscribeStorage"],type:"StorageChangeSet"}},types:{ApiId:"[u8; 8]",KeyValueOption:"(StorageKey, Option<StorageData>)",RuntimeVersionApi:"(ApiId, u32)",RuntimeVersion:{specName:"Text",implName:"Text",authoringVersion:"u32",specVersion:"u32",implVersion:"u32",apis:"Vec<RuntimeVersionApi>"},StorageChangeSet:{block:"Hash",changes:"Vec<KeyValueOption>"}}}},function(e,t,r){"use strict";var n=r(364);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(1037)),i=n(r(1038)),o=r(12),a=r(42),s=r(2068),u=n(r(2069)),l=n(r(2074));t.default=class{constructor(e={}){Object.defineProperty(this,c,{writable:!0,value:void 0}),Object.defineProperty(this,f,{writable:!0,value:void 0}),Object.defineProperty(this,d,{writable:!0,value:void 0}),this.decodeAddress=a.decodeAddress,this.encodeAddress=(e,t)=>(0,a.encodeAddress)(e,t||(0,A.default)(this,d)[d]),e.type=e.type||"ed25519",(0,o.assert)(e&&["ed25519","sr25519"].includes(e.type||"undefined"),"Expected a keyring type of either 'ed25519' or 'sr25519', found '".concat(e.type)),(0,A.default)(this,c)[c]=new l.default,(0,A.default)(this,d)[d]=e.ss58Format,(0,A.default)(this,f)[f]=e.type}get pairs(){return this.getPairs()}get publicKeys(){return this.getPublicKeys()}get type(){return(0,A.default)(this,f)[f]}addPair(e){return(0,A.default)(this,c)[c].add(e)}addFromAddress(e,t={},r=null,n=this.type,A){const i=this.decodeAddress(e,A);return this.addPair((0,u.default)({toSS58:this.encodeAddress,type:n},{publicKey:i,secretKey:new Uint8Array(64)},t,r))}addFromJson({address:e,encoded:t,encoding:{content:r,version:n},meta:A},i){const a="0"!==n&&Array.isArray(r)?r[1]:this.type;return this.addFromAddress(e,A,(0,o.hexToU8a)(t),a,i)}addFromMnemonic(e,t={},r=this.type){return this.addFromUri(e,t,r)}addFromSeed(e,t={},r=this.type){const n="sr25519"===r?(0,a.schnorrkelKeypairFromSeed)(e):(0,a.naclKeypairFromSeed)(e);return this.addPair((0,u.default)({toSS58:this.encodeAddress,type:r},n,t,null))}addFromUri(e,t={},r=this.type){return this.addPair(this.createFromUri(e,t,r))}createFromUri(e,t={},r=this.type){const n=e.startsWith("//")?"".concat(s.DEV_PHRASE).concat(e):e,{password:A,path:i,phrase:l}=(0,a.keyExtractSuri)(n);let c;if((0,o.isHex)(l,256))c=(0,o.hexToU8a)(l);else{const e=l,t=e.split(" ");[12,15,18,21,24].includes(t.length)?c=(0,a.mnemonicToMiniSecret)(l,A):((0,o.assert)(e.length<=32,"specified phrase is not a valid mnemonic and is invalid as a raw seed at > 32 bytes"),c=(0,o.stringToU8a)(e.padEnd(32)))}const f="sr25519"===r?(0,a.schnorrkelKeypairFromSeed)(c):(0,a.naclKeypairFromSeed)(c),d=(0,a.keyFromPath)(f,i,r);return(0,u.default)({toSS58:this.encodeAddress,type:r},d,t,null)}getPair(e){return(0,A.default)(this,c)[c].get(e)}getPairs(){return(0,A.default)(this,c)[c].all()}getPublicKeys(){return(0,A.default)(this,c)[c].all().map(({publicKey:e})=>e)}removePair(e){(0,A.default)(this,c)[c].remove(e)}setSS58Format(e){(0,A.default)(this,d)[d]=e}toJson(e,t){return(0,A.default)(this,c)[c].get(e).toJson(t)}};var c=(0,i.default)("pairs"),f=(0,i.default)("type"),d=(0,i.default)("ss58")},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEV_SEED=t.DEV_PHRASE=void 0;t.DEV_PHRASE="bottom drive obey lake curtain smoke basket hold race lonely fit walk";t.DEV_SEED="0xfac7959dbfe72f052e5a0c3c8d6530f202b02fd8f9f5ca3580ec8deb7797479e"},function(e,t,r){"use strict";var n=r(364);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e({toSS58:t,type:r},{publicKey:n,secretKey:p},I={},B=null){return{get address(){return t(n)},get isLocked(){return h(p)},get meta(){return I},get publicKey(){return n},get type(){return r},decodePkcs8:(e,t)=>{const A=(0,a.default)(e,t||B);if(64===A.secretKey.length)n=A.publicKey,p=A.secretKey;else{const e=function(e,t){return g(e)?(0,o.schnorrkelKeypairFromSeed)(t):(0,o.naclKeypairFromSeed)(t)}(r,A.secretKey);n=e.publicKey,p=e.secretKey}},derive:(A,a)=>{(0,i.assert)(!h(p),"Cannot derive on a locked keypair");const{path:s}=(0,o.keyExtractPath)(A),u=(0,o.keyFromPath)({publicKey:n,secretKey:p},s,r);return e({toSS58:t,type:r},u,a,null)},encodePkcs8:e=>(0,s.default)({publicKey:n,secretKey:p},e),lock:()=>{p=new Uint8Array(0)},setMeta:e=>{I=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){(0,A.default)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},I,{},e)},sign:(e,t)=>((0,i.assert)(!h(p),"Cannot sign with a locked key pair"),function(e,t,r,{withType:n=!1}={}){return(0,i.u8aConcat)(n?function(e){return g(e)?d:f}(e):c,g(e)?(0,o.schnorrkelSign)(t,r):(0,o.naclSign)(t,r))}(r,e,{publicKey:n,secretKey:p},t)),toJson:e=>(0,u.default)(r,{meta:I,publicKey:n},(0,s.default)({publicKey:n,secretKey:p},e),!!e),verify:(e,t)=>(function(e,t,r,n){return g(e)?(0,o.schnorrkelVerify)(t,r,n):(0,o.naclVerify)(t,r,n)})(r,e,t,n)}};var A=n(r(2070)),i=r(12),o=r(42),a=n(r(2071)),s=n(r(2072)),u=n(r(2073));function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}const c=new Uint8Array,f=new Uint8Array([0]),d=new Uint8Array([1]);function g(e){return"sr25519"===e}function h(e){return!e||0===e.length||0===e.reduce((e,t)=>e+t,0)}},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.assert)(t,"No encrypted data available to decode");const r=e?(0,A.naclDecrypt)(t.subarray(i.NONCE_LENGTH),t.subarray(0,i.NONCE_LENGTH),(0,n.u8aFixLength)((0,n.stringToU8a)(e),256,!0)):t;return(0,n.assert)(r,"Unable to unencrypt using the supplied passphrase"),function(e){const t=e.subarray(0,i.PKCS8_HEADER.length);(0,n.assert)(t.toString()===i.PKCS8_HEADER.toString(),"Invalid Pkcs8 header found in body");let r=e.subarray(o,o+i.SEC_LENGTH),A=o+i.SEC_LENGTH,a=e.subarray(A,A+i.PKCS8_DIVIDER.length);a.toString()!==i.PKCS8_DIVIDER.toString()&&(A=o+i.SEED_LENGTH,r=e.subarray(o,A),a=e.subarray(A,A+i.PKCS8_DIVIDER.length));(0,n.assert)(a.toString()===i.PKCS8_DIVIDER.toString(),"Invalid Pkcs8 divider found in body");const s=A+i.PKCS8_DIVIDER.length;return{publicKey:e.subarray(s,s+i.PUB_LENGTH),secretKey:r}}(r)};var n=r(12),A=r(42),i=r(1039);const o=i.PKCS8_HEADER.length},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({publicKey:e,secretKey:t},r){(0,n.assert)(t,"Expected a valid secretKey to be passed to encode");const o=(0,n.u8aConcat)(i.PKCS8_HEADER,t,i.PKCS8_DIVIDER,e);if(!r)return o;const{encrypted:a,nonce:s}=(0,A.naclEncrypt)(o,(0,n.u8aFixLength)((0,n.stringToU8a)(r),256,!0));return(0,n.u8aConcat)(s,a)};var n=r(12),A=r(42),i=r(1039)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{meta:t,publicKey:r},i,o){return{address:(0,A.encodeAddress)(r),encoded:(0,n.u8aToHex)(i),encoding:{content:["pkcs8",e],type:o?"xsalsa20-poly1305":"none",version:"2"},meta:t}};var n=r(12),A=r(42)},function(e,t,r){"use strict";var n=r(364);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var A=n(r(1037)),i=n(r(1038)),o=r(12),a=r(42);t.default=class{constructor(){Object.defineProperty(this,s,{writable:!0,value:{}})}add(e){return(0,A.default)(this,s)[s][e.publicKey.toString()]=e,e}all(){return Object.values((0,A.default)(this,s)[s])}get(e){const t=(0,A.default)(this,s)[s][(0,a.decodeAddress)(e).toString()];return(0,o.assert)(t,()=>{const t=(0,o.isU8a)(e)||(0,o.isHex)(e)?(0,o.u8aToHex)((0,o.u8aToU8a)(e)):e;return"Unable to retrieve keypair '".concat(t,"'")}),t}remove(e){delete(0,A.default)(this,s)[s][(0,a.decodeAddress)(e).toString()]}};var s=(0,i.default)("map")},function(e){e.exports=JSON.parse('{"_from":"@polkadot/keyring@2.8.1","_id":"@polkadot/keyring@2.8.1","_inBundle":false,"_integrity":"sha512-VYuFucacGqOB6ZmSN/3/vUvEMFaOg7NmGcWLnjiGY7T5W3Qv8Up/3zGbnt9UspDcQckoQsIumQyfkeLAjcRjoA==","_location":"/@polkadot/keyring","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"@polkadot/keyring@2.8.1","name":"@polkadot/keyring","escapedName":"@polkadot%2fkeyring","scope":"@polkadot","rawSpec":"2.8.1","saveSpec":null,"fetchSpec":"2.8.1"},"_requiredBy":["#USER","/","/@polkadot/api"],"_resolved":"https://registry.npmjs.org/@polkadot/keyring/-/keyring-2.8.1.tgz","_shasum":"befc87d262a3c00a70e9b9bde7ed9c89e88ebc46","_spec":"@polkadot/keyring@2.8.1","_where":"/Users/Forrest/Desktop/zhiyou/VUE/mathwalletplus","author":{"name":"Jaco Greeff","email":"jacogr@gmail.com"},"bugs":{"url":"https://github.com/polkadot-js/common/issues"},"bundleDependencies":false,"contributors":[],"dependencies":{"@babel/runtime":"^7.9.2","@polkadot/util":"2.8.1","@polkadot/util-crypto":"2.8.1"},"deprecated":false,"description":"Keyring management","homepage":"https://github.com/polkadot-js/common/tree/master/packages/keyring#readme","keywords":["Polkadot","Keyring","ed25519"],"license":"Apache-2.0","main":"index.js","maintainers":[{"name":"Jaco Greeff","email":"jacogr@gmail.com"}],"name":"@polkadot/keyring","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/polkadot-js/common.git"},"version":"2.8.1"}')},function(e,t,r){var n;!function(A){"use strict";var i,o=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,a=Math.ceil,s=Math.floor,u="[BigNumber Error] ",l=u+"Number primitive has more than 15 significant digits: ",c=1e14,f=14,d=9007199254740991,g=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],h=1e7,p=1e9;function I(e){var t=0|e;return e>0||e===t?t:t-1}function B(e){for(var t,r,n=1,A=e.length,i=e[0]+"";n<A;){for(t=e[n++]+"",r=f-t.length;r--;t="0"+t);i+=t}for(A=i.length;48===i.charCodeAt(--A););return i.slice(0,A+1||1)}function C(e,t){var r,n,A=e.c,i=t.c,o=e.s,a=t.s,s=e.e,u=t.e;if(!o||!a)return null;if(r=A&&!A[0],n=i&&!i[0],r||n)return r?n?0:-a:o;if(o!=a)return o;if(r=o<0,n=s==u,!A||!i)return n?0:!A^r?1:-1;if(!n)return s>u^r?1:-1;for(a=(s=A.length)<(u=i.length)?s:u,o=0;o<a;o++)if(A[o]!=i[o])return A[o]>i[o]^r?1:-1;return s==u?0:s>u^r?1:-1}function m(e,t,r,n){if(e<t||e>r||e!==(e<0?a(e):s(e)))throw Error(u+(n||"Argument")+("number"==typeof e?e<t||e>r?" out of range: ":" not an integer: ":" not a primitive number: ")+e)}function y(e){return"[object Array]"==Object.prototype.toString.call(e)}function Q(e){var t=e.c.length-1;return I(e.e/f)==t&&e.c[t]%2!=0}function w(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function E(e,t,r){var n,A;if(t<0){for(A=r+".";++t;A+=r);e=A+e}else if(++t>(n=e.length)){for(A=r,t-=n;--t;A+=r);e+=A}else t<n&&(e=e.slice(0,t)+"."+e.slice(t));return e}(i=function e(t){var r,n,A,i,b,v,D,M,k,_=R.prototype={constructor:R,toString:null,valueOf:null},S=new R(1),N=20,F=4,x=-7,G=21,H=-1e7,U=1e7,Y=!1,L=1,O=0,K={decimalSeparator:".",groupSeparator:",",groupSize:3,secondaryGroupSize:0,fractionGroupSeparator:" ",fractionGroupSize:0},P="0123456789abcdefghijklmnopqrstuvwxyz";function R(e,t){var r,i,a,u,c,g,h,p,I=this;if(!(I instanceof R))return new R(e,t);if(null==t){if(e instanceof R)return I.s=e.s,I.e=e.e,void(I.c=(e=e.c)?e.slice():e);if((g="number"==typeof e)&&0*e==0){if(I.s=1/e<0?(e=-e,-1):1,e===~~e){for(u=0,c=e;c>=10;c/=10,u++);return I.e=u,void(I.c=[e])}p=e+""}else{if(!o.test(p=e+""))return A(I,p,g);I.s=45==p.charCodeAt(0)?(p=p.slice(1),-1):1}(u=p.indexOf("."))>-1&&(p=p.replace(".","")),(c=p.search(/e/i))>0?(u<0&&(u=c),u+=+p.slice(c+1),p=p.substring(0,c)):u<0&&(u=p.length)}else{if(m(t,2,P.length,"Base"),p=e+"",10==t)return q(I=new R(e instanceof R?e:p),N+I.e+1,F);if(g="number"==typeof e){if(0*e!=0)return A(I,p,g,t);if(I.s=1/e<0?(p=p.slice(1),-1):1,R.DEBUG&&p.replace(/^0\.0*|\./,"").length>15)throw Error(l+e);g=!1}else I.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1;for(r=P.slice(0,t),u=c=0,h=p.length;c<h;c++)if(r.indexOf(i=p.charAt(c))<0){if("."==i){if(c>u){u=h;continue}}else if(!a&&(p==p.toUpperCase()&&(p=p.toLowerCase())||p==p.toLowerCase()&&(p=p.toUpperCase()))){a=!0,c=-1,u=0;continue}return A(I,e+"",g,t)}(u=(p=n(p,t,10,I.s)).indexOf("."))>-1?p=p.replace(".",""):u=p.length}for(c=0;48===p.charCodeAt(c);c++);for(h=p.length;48===p.charCodeAt(--h););if(p=p.slice(c,++h)){if(h-=c,g&&R.DEBUG&&h>15&&(e>d||e!==s(e)))throw Error(l+I.s*e);if((u=u-c-1)>U)I.c=I.e=null;else if(u<H)I.c=[I.e=0];else{if(I.e=u,I.c=[],c=(u+1)%f,u<0&&(c+=f),c<h){for(c&&I.c.push(+p.slice(0,c)),h-=f;c<h;)I.c.push(+p.slice(c,c+=f));p=p.slice(c),c=f-p.length}else c-=h;for(;c--;p+="0");I.c.push(+p)}}else I.c=[I.e=0]}function T(e,t,r,n){var A,i,o,a,s;if(null==r?r=F:m(r,0,8),!e.c)return e.toString();if(A=e.c[0],o=e.e,null==t)s=B(e.c),s=1==n||2==n&&o<=x?w(s,o):E(s,o,"0");else if(i=(e=q(new R(e),t,r)).e,a=(s=B(e.c)).length,1==n||2==n&&(t<=i||i<=x)){for(;a<t;s+="0",a++);s=w(s,i)}else if(t-=o,s=E(s,i,"0"),i+1>a){if(--t>0)for(s+=".";t--;s+="0");}else if((t+=i-a)>0)for(i+1==a&&(s+=".");t--;s+="0");return e.s<0&&A?"-"+s:s}function J(e,t){var r,n,A=0;for(y(e[0])&&(e=e[0]),r=new R(e[0]);++A<e.length;){if(!(n=new R(e[A])).s){r=n;break}t.call(r,n)&&(r=n)}return r}function j(e,t,r){for(var n=1,A=t.length;!t[--A];t.pop());for(A=t[0];A>=10;A/=10,n++);return(r=n+r*f-1)>U?e.c=e.e=null:r<H?e.c=[e.e=0]:(e.e=r,e.c=t),e}function q(e,t,r,n){var A,i,o,u,l,d,h,p=e.c,I=g;if(p){e:{for(A=1,u=p[0];u>=10;u/=10,A++);if((i=t-A)<0)i+=f,o=t,h=(l=p[d=0])/I[A-o-1]%10|0;else if((d=a((i+1)/f))>=p.length){if(!n)break e;for(;p.length<=d;p.push(0));l=h=0,A=1,o=(i%=f)-f+1}else{for(l=u=p[d],A=1;u>=10;u/=10,A++);h=(o=(i%=f)-f+A)<0?0:l/I[A-o-1]%10|0}if(n=n||t<0||null!=p[d+1]||(o<0?l:l%I[A-o-1]),n=r<4?(h||n)&&(0==r||r==(e.s<0?3:2)):h>5||5==h&&(4==r||n||6==r&&(i>0?o>0?l/I[A-o]:0:p[d-1])%10&1||r==(e.s<0?8:7)),t<1||!p[0])return p.length=0,n?(t-=e.e+1,p[0]=I[(f-t%f)%f],e.e=-t||0):p[0]=e.e=0,e;if(0==i?(p.length=d,u=1,d--):(p.length=d+1,u=I[f-i],p[d]=o>0?s(l/I[A-o]%I[o])*u:0),n)for(;;){if(0==d){for(i=1,o=p[0];o>=10;o/=10,i++);for(o=p[0]+=u,u=1;o>=10;o/=10,u++);i!=u&&(e.e++,p[0]==c&&(p[0]=1));break}if(p[d]+=u,p[d]!=c)break;p[d--]=0,u=1}for(i=p.length;0===p[--i];p.pop());}e.e>U?e.c=e.e=null:e.e<H&&(e.c=[e.e=0])}return e}return R.clone=e,R.ROUND_UP=0,R.ROUND_DOWN=1,R.ROUND_CEIL=2,R.ROUND_FLOOR=3,R.ROUND_HALF_UP=4,R.ROUND_HALF_DOWN=5,R.ROUND_HALF_EVEN=6,R.ROUND_HALF_CEIL=7,R.ROUND_HALF_FLOOR=8,R.EUCLID=9,R.config=R.set=function(e){var t,r;if(null!=e){if("object"!=typeof e)throw Error(u+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(m(r=e[t],0,p,t),N=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(m(r=e[t],0,8,t),F=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&(y(r=e[t])?(m(r[0],-p,0,t),m(r[1],0,p,t),x=r[0],G=r[1]):(m(r,-p,p,t),x=-(G=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if(y(r=e[t]))m(r[0],-p,-1,t),m(r[1],1,p,t),H=r[0],U=r[1];else{if(m(r,-p,p,t),!r)throw Error(u+t+" cannot be zero: "+r);H=-(U=r<0?-r:r)}if(e.hasOwnProperty(t="CRYPTO")){if((r=e[t])!==!!r)throw Error(u+t+" not true or false: "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Y=!r,Error(u+"crypto unavailable");Y=r}else Y=r}if(e.hasOwnProperty(t="MODULO_MODE")&&(m(r=e[t],0,9,t),L=r),e.hasOwnProperty(t="POW_PRECISION")&&(m(r=e[t],0,p,t),O=r),e.hasOwnProperty(t="FORMAT")){if("object"!=typeof(r=e[t]))throw Error(u+t+" not an object: "+r);K=r}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(r=e[t])||/^.$|\.|(.).*\1/.test(r))throw Error(u+t+" invalid: "+r);P=r}}return{DECIMAL_PLACES:N,ROUNDING_MODE:F,EXPONENTIAL_AT:[x,G],RANGE:[H,U],CRYPTO:Y,MODULO_MODE:L,POW_PRECISION:O,FORMAT:K,ALPHABET:P}},R.isBigNumber=function(e){return e instanceof R||e&&!0===e._isBigNumber||!1},R.maximum=R.max=function(){return J(arguments,_.lt)},R.minimum=R.min=function(){return J(arguments,_.gt)},R.random=(i=9007199254740992*Math.random()&2097151?function(){return s(9007199254740992*Math.random())}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var t,r,n,A,o,l=0,c=[],d=new R(S);if(null==e?e=N:m(e,0,p),A=a(e/f),Y)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(A*=2));l<A;)(o=131072*t[l]+(t[l+1]>>>11))>=9e15?(r=crypto.getRandomValues(new Uint32Array(2)),t[l]=r[0],t[l+1]=r[1]):(c.push(o%1e14),l+=2);l=A/2}else{if(!crypto.randomBytes)throw Y=!1,Error(u+"crypto unavailable");for(t=crypto.randomBytes(A*=7);l<A;)(o=281474976710656*(31&t[l])+1099511627776*t[l+1]+4294967296*t[l+2]+16777216*t[l+3]+(t[l+4]<<16)+(t[l+5]<<8)+t[l+6])>=9e15?crypto.randomBytes(7).copy(t,l):(c.push(o%1e14),l+=7);l=A/7}if(!Y)for(;l<A;)(o=i())<9e15&&(c[l++]=o%1e14);for(A=c[--l],e%=f,A&&e&&(o=g[f-e],c[l]=s(A/o)*o);0===c[l];c.pop(),l--);if(l<0)c=[n=0];else{for(n=-1;0===c[0];c.splice(0,1),n-=f);for(l=1,o=c[0];o>=10;o/=10,l++);l<f&&(n-=f-l)}return d.e=n,d.c=c,d}),n=function(){function e(e,t,r,n){for(var A,i,o=[0],a=0,s=e.length;a<s;){for(i=o.length;i--;o[i]*=t);for(o[0]+=n.indexOf(e.charAt(a++)),A=0;A<o.length;A++)o[A]>r-1&&(null==o[A+1]&&(o[A+1]=0),o[A+1]+=o[A]/r|0,o[A]%=r)}return o.reverse()}return function(t,n,A,i,o){var a,s,u,l,c,f,d,g,h=t.indexOf("."),p=N,I=F;for(h>=0&&(l=O,O=0,t=t.replace(".",""),f=(g=new R(n)).pow(t.length-h),O=l,g.c=e(E(B(f.c),f.e,"0"),10,A,"0123456789"),g.e=g.c.length),u=l=(d=e(t,n,A,o?(a=P,"0123456789"):(a="0123456789",P))).length;0==d[--l];d.pop());if(!d[0])return a.charAt(0);if(h<0?--u:(f.c=d,f.e=u,f.s=i,d=(f=r(f,g,p,I,A)).c,c=f.r,u=f.e),h=d[s=u+p+1],l=A/2,c=c||s<0||null!=d[s+1],c=I<4?(null!=h||c)&&(0==I||I==(f.s<0?3:2)):h>l||h==l&&(4==I||c||6==I&&1&d[s-1]||I==(f.s<0?8:7)),s<1||!d[0])t=c?E(a.charAt(1),-p,a.charAt(0)):a.charAt(0);else{if(d.length=s,c)for(--A;++d[--s]>A;)d[s]=0,s||(++u,d=[1].concat(d));for(l=d.length;!d[--l];);for(h=0,t="";h<=l;t+=a.charAt(d[h++]));t=E(t,u,a.charAt(0))}return t}}(),r=function(){function e(e,t,r){var n,A,i,o,a=0,s=e.length,u=t%h,l=t/h|0;for(e=e.slice();s--;)a=((A=u*(i=e[s]%h)+(n=l*i+(o=e[s]/h|0)*u)%h*h+a)/r|0)+(n/h|0)+l*o,e[s]=A%r;return a&&(e=[a].concat(e)),e}function t(e,t,r,n){var A,i;if(r!=n)i=r>n?1:-1;else for(A=i=0;A<r;A++)if(e[A]!=t[A]){i=e[A]>t[A]?1:-1;break}return i}function r(e,t,r,n){for(var A=0;r--;)e[r]-=A,A=e[r]<t[r]?1:0,e[r]=A*n+e[r]-t[r];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(n,A,i,o,a){var u,l,d,g,h,p,B,C,m,y,Q,w,E,b,v,D,M,k=n.s==A.s?1:-1,_=n.c,S=A.c;if(!(_&&_[0]&&S&&S[0]))return new R(n.s&&A.s&&(_?!S||_[0]!=S[0]:S)?_&&0==_[0]||!S?0*k:k/0:NaN);for(m=(C=new R(k)).c=[],k=i+(l=n.e-A.e)+1,a||(a=c,l=I(n.e/f)-I(A.e/f),k=k/f|0),d=0;S[d]==(_[d]||0);d++);if(S[d]>(_[d]||0)&&l--,k<0)m.push(1),g=!0;else{for(b=_.length,D=S.length,d=0,k+=2,(h=s(a/(S[0]+1)))>1&&(S=e(S,h,a),_=e(_,h,a),D=S.length,b=_.length),E=D,Q=(y=_.slice(0,D)).length;Q<D;y[Q++]=0);M=S.slice(),M=[0].concat(M),v=S[0],S[1]>=a/2&&v++;do{if(h=0,(u=t(S,y,D,Q))<0){if(w=y[0],D!=Q&&(w=w*a+(y[1]||0)),(h=s(w/v))>1)for(h>=a&&(h=a-1),B=(p=e(S,h,a)).length,Q=y.length;1==t(p,y,B,Q);)h--,r(p,D<B?M:S,B,a),B=p.length,u=1;else 0==h&&(u=h=1),B=(p=S.slice()).length;if(B<Q&&(p=[0].concat(p)),r(y,p,Q,a),Q=y.length,-1==u)for(;t(S,y,D,Q)<1;)h++,r(y,D<Q?M:S,Q,a),Q=y.length}else 0===u&&(h++,y=[0]);m[d++]=h,y[0]?y[Q++]=_[E]||0:(y=[_[E]],Q=1)}while((E++<b||null!=y[0])&&k--);g=null!=y[0],m[0]||m.splice(0,1)}if(a==c){for(d=1,k=m[0];k>=10;k/=10,d++);q(C,i+(C.e=d+l*f-1)+1,o,g)}else C.e=l,C.r=+g;return C}}(),b=/^(-?)0([xbo])(?=\w[\w.]*$)/i,v=/^([^.]+)\.$/,D=/^\.([^.]+)$/,M=/^-?(Infinity|NaN)$/,k=/^\s*\+(?=[\w.])|^\s+|\s+$/g,A=function(e,t,r,n){var A,i=r?t:t.replace(k,"");if(M.test(i))e.s=isNaN(i)?null:i<0?-1:1,e.c=e.e=null;else{if(!r&&(i=i.replace(b,function(e,t,r){return A="x"==(r=r.toLowerCase())?16:"b"==r?2:8,n&&n!=A?e:t}),n&&(A=n,i=i.replace(v,"$1").replace(D,"0.$1")),t!=i))return new R(i,A);if(R.DEBUG)throw Error(u+"Not a"+(n?" base "+n:"")+" number: "+t);e.c=e.e=e.s=null}},_.absoluteValue=_.abs=function(){var e=new R(this);return e.s<0&&(e.s=1),e},_.comparedTo=function(e,t){return C(this,new R(e,t))},_.decimalPlaces=_.dp=function(e,t){var r,n,A,i=this;if(null!=e)return m(e,0,p),null==t?t=F:m(t,0,8),q(new R(i),e+i.e+1,t);if(!(r=i.c))return null;if(n=((A=r.length-1)-I(this.e/f))*f,A=r[A])for(;A%10==0;A/=10,n--);return n<0&&(n=0),n},_.dividedBy=_.div=function(e,t){return r(this,new R(e,t),N,F)},_.dividedToIntegerBy=_.idiv=function(e,t){return r(this,new R(e,t),0,1)},_.exponentiatedBy=_.pow=function(e,t){var r,n,A,i,o,l,c,d=this;if((e=new R(e)).c&&!e.isInteger())throw Error(u+"Exponent not an integer: "+e);if(null!=t&&(t=new R(t)),i=e.e>14,!d.c||!d.c[0]||1==d.c[0]&&!d.e&&1==d.c.length||!e.c||!e.c[0])return c=new R(Math.pow(+d.valueOf(),i?2-Q(e):+e)),t?c.mod(t):c;if(o=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new R(NaN);(n=!o&&d.isInteger()&&t.isInteger())&&(d=d.mod(t))}else{if(e.e>9&&(d.e>0||d.e<-1||(0==d.e?d.c[0]>1||i&&d.c[1]>=24e7:d.c[0]<8e13||i&&d.c[0]<=9999975e7)))return A=d.s<0&&Q(e)?-0:0,d.e>-1&&(A=1/A),new R(o?1/A:A);O&&(A=a(O/f+2))}for(i?(r=new R(.5),l=Q(e)):l=e%2,o&&(e.s=1),c=new R(S);;){if(l){if(!(c=c.times(d)).c)break;A?c.c.length>A&&(c.c.length=A):n&&(c=c.mod(t))}if(i){if(q(e=e.times(r),e.e+1,1),!e.c[0])break;i=e.e>14,l=Q(e)}else{if(!(e=s(e/2)))break;l=e%2}d=d.times(d),A?d.c&&d.c.length>A&&(d.c.length=A):n&&(d=d.mod(t))}return n?c:(o&&(c=S.div(c)),t?c.mod(t):A?q(c,O,F,void 0):c)},_.integerValue=function(e){var t=new R(this);return null==e?e=F:m(e,0,8),q(t,t.e+1,e)},_.isEqualTo=_.eq=function(e,t){return 0===C(this,new R(e,t))},_.isFinite=function(){return!!this.c},_.isGreaterThan=_.gt=function(e,t){return C(this,new R(e,t))>0},_.isGreaterThanOrEqualTo=_.gte=function(e,t){return 1===(t=C(this,new R(e,t)))||0===t},_.isInteger=function(){return!!this.c&&I(this.e/f)>this.c.length-2},_.isLessThan=_.lt=function(e,t){return C(this,new R(e,t))<0},_.isLessThanOrEqualTo=_.lte=function(e,t){return-1===(t=C(this,new R(e,t)))||0===t},_.isNaN=function(){return!this.s},_.isNegative=function(){return this.s<0},_.isPositive=function(){return this.s>0},_.isZero=function(){return!!this.c&&0==this.c[0]},_.minus=function(e,t){var r,n,A,i,o=this,a=o.s;if(t=(e=new R(e,t)).s,!a||!t)return new R(NaN);if(a!=t)return e.s=-t,o.plus(e);var s=o.e/f,u=e.e/f,l=o.c,d=e.c;if(!s||!u){if(!l||!d)return l?(e.s=-t,e):new R(d?o:NaN);if(!l[0]||!d[0])return d[0]?(e.s=-t,e):new R(l[0]?o:3==F?-0:0)}if(s=I(s),u=I(u),l=l.slice(),a=s-u){for((i=a<0)?(a=-a,A=l):(u=s,A=d),A.reverse(),t=a;t--;A.push(0));A.reverse()}else for(n=(i=(a=l.length)<(t=d.length))?a:t,a=t=0;t<n;t++)if(l[t]!=d[t]){i=l[t]<d[t];break}if(i&&(A=l,l=d,d=A,e.s=-e.s),(t=(n=d.length)-(r=l.length))>0)for(;t--;l[r++]=0);for(t=c-1;n>a;){if(l[--n]<d[n]){for(r=n;r&&!l[--r];l[r]=t);--l[r],l[n]+=c}l[n]-=d[n]}for(;0==l[0];l.splice(0,1),--u);return l[0]?j(e,l,u):(e.s=3==F?-1:1,e.c=[e.e=0],e)},_.modulo=_.mod=function(e,t){var n,A,i=this;return e=new R(e,t),!i.c||!e.s||e.c&&!e.c[0]?new R(NaN):!e.c||i.c&&!i.c[0]?new R(i):(9==L?(A=e.s,e.s=1,n=r(i,e,0,3),e.s=A,n.s*=A):n=r(i,e,0,L),(e=i.minus(n.times(e))).c[0]||1!=L||(e.s=i.s),e)},_.multipliedBy=_.times=function(e,t){var r,n,A,i,o,a,s,u,l,d,g,p,B,C,m,y=this,Q=y.c,w=(e=new R(e,t)).c;if(!(Q&&w&&Q[0]&&w[0]))return!y.s||!e.s||Q&&!Q[0]&&!w||w&&!w[0]&&!Q?e.c=e.e=e.s=null:(e.s*=y.s,Q&&w?(e.c=[0],e.e=0):e.c=e.e=null),e;for(n=I(y.e/f)+I(e.e/f),e.s*=y.s,(s=Q.length)<(d=w.length)&&(B=Q,Q=w,w=B,A=s,s=d,d=A),A=s+d,B=[];A--;B.push(0));for(C=c,m=h,A=d;--A>=0;){for(r=0,g=w[A]%m,p=w[A]/m|0,i=A+(o=s);i>A;)r=((u=g*(u=Q[--o]%m)+(a=p*u+(l=Q[o]/m|0)*g)%m*m+B[i]+r)/C|0)+(a/m|0)+p*l,B[i--]=u%C;B[i]=r}return r?++n:B.splice(0,1),j(e,B,n)},_.negated=function(){var e=new R(this);return e.s=-e.s||null,e},_.plus=function(e,t){var r,n=this,A=n.s;if(t=(e=new R(e,t)).s,!A||!t)return new R(NaN);if(A!=t)return e.s=-t,n.minus(e);var i=n.e/f,o=e.e/f,a=n.c,s=e.c;if(!i||!o){if(!a||!s)return new R(A/0);if(!a[0]||!s[0])return s[0]?e:new R(a[0]?n:0*A)}if(i=I(i),o=I(o),a=a.slice(),A=i-o){for(A>0?(o=i,r=s):(A=-A,r=a),r.reverse();A--;r.push(0));r.reverse()}for((A=a.length)-(t=s.length)<0&&(r=s,s=a,a=r,t=A),A=0;t;)A=(a[--t]=a[t]+s[t]+A)/c|0,a[t]=c===a[t]?0:a[t]%c;return A&&(a=[A].concat(a),++o),j(e,a,o)},_.precision=_.sd=function(e,t){var r,n,A,i=this;if(null!=e&&e!==!!e)return m(e,1,p),null==t?t=F:m(t,0,8),q(new R(i),e,t);if(!(r=i.c))return null;if(n=(A=r.length-1)*f+1,A=r[A]){for(;A%10==0;A/=10,n--);for(A=r[0];A>=10;A/=10,n++);}return e&&i.e+1>n&&(n=i.e+1),n},_.shiftedBy=function(e){return m(e,-d,d),this.times("1e"+e)},_.squareRoot=_.sqrt=function(){var e,t,n,A,i,o=this,a=o.c,s=o.s,u=o.e,l=N+4,c=new R("0.5");if(1!==s||!a||!a[0])return new R(!s||s<0&&(!a||a[0])?NaN:a?o:1/0);if(0==(s=Math.sqrt(+o))||s==1/0?(((t=B(a)).length+u)%2==0&&(t+="0"),s=Math.sqrt(t),u=I((u+1)/2)-(u<0||u%2),n=new R(t=s==1/0?"1e"+u:(t=s.toExponential()).slice(0,t.indexOf("e")+1)+u)):n=new R(s+""),n.c[0])for((s=(u=n.e)+l)<3&&(s=0);;)if(i=n,n=c.times(i.plus(r(o,i,l,1))),B(i.c).slice(0,s)===(t=B(n.c)).slice(0,s)){if(n.e<u&&--s,"9999"!=(t=t.slice(s-3,s+1))&&(A||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(q(n,n.e+N+2,1),e=!n.times(n).eq(o));break}if(!A&&(q(i,i.e+N+2,0),i.times(i).eq(o))){n=i;break}l+=4,s+=4,A=1}return q(n,n.e+N+1,F,e)},_.toExponential=function(e,t){return null!=e&&(m(e,0,p),e++),T(this,e,t,1)},_.toFixed=function(e,t){return null!=e&&(m(e,0,p),e=e+this.e+1),T(this,e,t)},_.toFormat=function(e,t){var r=this.toFixed(e,t);if(this.c){var n,A=r.split("."),i=+K.groupSize,o=+K.secondaryGroupSize,a=K.groupSeparator,s=A[0],u=A[1],l=this.s<0,c=l?s.slice(1):s,f=c.length;if(o&&(n=i,i=o,o=n,f-=n),i>0&&f>0){for(n=f%i||i,s=c.substr(0,n);n<f;n+=i)s+=a+c.substr(n,i);o>0&&(s+=a+c.slice(n)),l&&(s="-"+s)}r=u?s+K.decimalSeparator+((o=+K.fractionGroupSize)?u.replace(new RegExp("\\d{"+o+"}\\B","g"),"$&"+K.fractionGroupSeparator):u):s}return r},_.toFraction=function(e){var t,n,A,i,o,a,s,l,c,d,h,p,I=this,C=I.c;if(null!=e&&(!(l=new R(e)).isInteger()&&(l.c||1!==l.s)||l.lt(S)))throw Error(u+"Argument "+(l.isInteger()?"out of range: ":"not an integer: ")+e);if(!C)return I.toString();for(n=new R(S),d=A=new R(S),i=c=new R(S),p=B(C),a=n.e=p.length-I.e-1,n.c[0]=g[(s=a%f)<0?f+s:s],e=!e||l.comparedTo(n)>0?a>0?n:d:l,s=U,U=1/0,l=new R(p),c.c[0]=0;h=r(l,n,0,1),1!=(o=A.plus(h.times(i))).comparedTo(e);)A=i,i=o,d=c.plus(h.times(o=d)),c=o,n=l.minus(h.times(o=n)),l=o;return o=r(e.minus(A),i,0,1),c=c.plus(o.times(d)),A=A.plus(o.times(i)),c.s=d.s=I.s,t=r(d,i,a*=2,F).minus(I).abs().comparedTo(r(c,A,a,F).minus(I).abs())<1?[d.toString(),i.toString()]:[c.toString(),A.toString()],U=s,t},_.toNumber=function(){return+this},_.toPrecision=function(e,t){return null!=e&&m(e,1,p),T(this,e,t,2)},_.toString=function(e){var t,r=this,A=r.s,i=r.e;return null===i?A?(t="Infinity",A<0&&(t="-"+t)):t="NaN":(t=B(r.c),null==e?t=i<=x||i>=G?w(t,i):E(t,i,"0"):(m(e,2,P.length,"Base"),t=n(E(t,i,"0"),10,e,A,!0)),A<0&&r.c[0]&&(t="-"+t)),t},_.valueOf=_.toJSON=function(){var e,t=this,r=t.e;return null===r?t.toString():(e=B(t.c),e=r<=x||r>=G?w(e,r):E(e,r,"0"),t.s<0?"-"+e:e)},_._isBigNumber=!0,null!=t&&R.set(t),R}()).default=i.BigNumber=i,void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)}()},function(e,t,r){(function(t){var r;e.exports=function e(t,n,A){function i(a,s){if(!n[a]){if(!t[a]){if(!s&&"function"==typeof r&&r)return r(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};t[a][0].call(l.exports,function(e){return i(t[a][1][e]||e)},l,l.exports,e,t,n,A)}return n[a].exports}for(var o="function"==typeof r&&r,a=0;a<A.length;a++)i(A[a]);return i}({1:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.version="4.0.33"},{}],2:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("./utils/properties"),A=(i.isSigner=function(e){return n.isType(e,"Signer")},i);function i(){n.setType(this,"Signer")}r.Signer=A},{"./utils/properties":73}],3:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("./utils/bignumber");r.AddressZero="0x0000000000000000000000000000000000000000",r.HashZero="0x0000000000000000000000000000000000000000000000000000000000000000",r.EtherSymbol="Ξ";var A=n.bigNumberify(-1);r.NegativeOne=A;var i=n.bigNumberify(0);r.Zero=i;var o=n.bigNumberify(1);r.One=o;var a=n.bigNumberify(2);r.Two=a;var s=n.bigNumberify("1000000000000000000");r.WeiPerEther=s;var u=n.bigNumberify("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");r.MaxUint256=u},{"./utils/bignumber":62}],4:[function(e,t,r){"use strict";var n,A=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var o,a=e("./constants"),s=i(e("./errors")),u=e("./utils/abi-coder"),l=e("./utils/address"),c=e("./utils/bignumber"),f=e("./utils/bytes"),d=e("./utils/interface"),g=e("./utils/properties"),h=e("./providers/abstract-provider"),p=e("./abstract-signer"),I=(A(B,o=p.Signer),B.prototype.getAddress=function(){return Promise.resolve(this.address)},B.prototype._fail=function(e,t){return Promise.resolve().then(function(){s.throwError(e,s.UNSUPPORTED_OPERATION,{operation:t})})},B.prototype.signMessage=function(e){return this._fail("VoidSigner cannot sign messages","signMessage")},B.prototype.sendTransaction=function(e){return this._fail("VoidSigner cannot sign transactions","sendTransaction")},B.prototype.connect=function(e){return new B(this.address,e)},B);function B(e,t){var r=o.call(this)||this;return g.defineReadOnly(r,"address",e),g.defineReadOnly(r,"provider",t),r}r.VoidSigner=I;var C={chainId:!0,data:!0,from:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0};function m(e,t,r){var n=e.interface.functions[t];return function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];var i={},o=null;if(t.length===n.inputs.length+1&&"object"==typeof t[t.length-1])for(var l in null!=(i=g.shallowCopy(t.pop())).blockTag&&(o=i.blockTag),delete i.blockTag,i)if(!C[l])throw new Error("unknown transaction override "+l);if(t.length!=n.inputs.length)throw new Error("incorrect number of arguments");return["data","to"].forEach(function(e){null!=i[e]&&s.throwError("cannot override "+e,s.UNSUPPORTED_OPERATION,{operation:e})}),i.to=e._deployed(o).then(function(){return e.addressPromise}),function e(t,r,n){if(Array.isArray(n)){var A=[];return n.forEach(function(n,i){var o;o=Array.isArray(r)?r[i]:r[n.name],A.push(e(t,o,n))}),Promise.all(A)}if("address"===n.type)return t.resolveName(r);if("tuple"===n.type)return e(t,r,n.components);var i=n.type.match(/(.*)(\[[0-9]*\]$)/);if(i){if(!Array.isArray(r))throw new Error("invalid value for array");var o=[],a={components:n.components,type:i[1]};return r.forEach(function(r){o.push(e(t,r,a))}),Promise.all(o)}return Promise.resolve(r)}(e.provider,t,n.inputs).then(function(t){if(i.data=n.encode(t),"call"===n.type)return r?Promise.resolve(a.Zero):(e.provider||s.throwError("call (constant functions) require a provider or a signer with a provider",s.UNSUPPORTED_OPERATION,{operation:"call"}),["gasLimit","gasPrice","value"].forEach(function(e){if(null!=i[e])throw new Error("call cannot override "+e)}),null==i.from&&e.signer&&(i.from=e.signer.getAddress()),e.provider.call(i,o).then(function(r){if(f.hexDataLength(r)%32==4&&"0x08c379a0"===f.hexDataSlice(r,0,4)){var A=u.defaultAbiCoder.decode(["string"],f.hexDataSlice(r,4));s.throwError("call revert exception",s.CALL_EXCEPTION,{address:e.address,args:t,method:n.signature,errorSignature:"Error(string)",errorArgs:[A],reason:A,transaction:i})}try{var o=n.decode(r);return 1===n.outputs.length&&(o=o[0]),o}catch(A){throw"0x"===r&&0<n.outputs.length&&s.throwError("call exception",s.CALL_EXCEPTION,{address:e.address,method:n.signature,args:t}),A}}));if("transaction"===n.type)return r?(e.provider||s.throwError("estimate gas require a provider or a signer with a provider",s.UNSUPPORTED_OPERATION,{operation:"estimateGas"}),null==i.from&&e.signer&&(i.from=e.signer.getAddress()),e.provider.estimateGas(i)):(null==i.gasLimit&&null!=n.gas&&(i.gasLimit=c.bigNumberify(n.gas).add(21e3)),e.signer||s.throwError("sending a transaction require a signer",s.UNSUPPORTED_OPERATION,{operation:"sendTransaction"}),null!=i.from&&s.throwError("cannot override from in a transaction",s.UNSUPPORTED_OPERATION,{operation:"sendTransaction"}),e.signer.sendTransaction(i).then(function(t){var r=t.wait.bind(t);return t.wait=function(t){return r(t).then(function(t){return t.events=t.logs.map(function(r){var n=g.deepCopy(r),A=e.interface.parseLog(r);return A&&(n.args=A.values,n.decode=A.decode,n.event=A.name,n.eventSignature=A.signature),n.removeListener=function(){return e.provider},n.getBlock=function(){return e.provider.getBlock(t.blockHash)},n.getTransaction=function(){return e.provider.getTransaction(t.transactionHash)},n.getTransactionReceipt=function(){return Promise.resolve(t)},n}),t})},t}));throw new Error("invalid type - "+n.type)})}}function y(e){return!e.address||null!=e.topics&&0!==e.topics.length?(e.address||"*")+"@"+(e.topics?e.topics.join(":"):""):"*"}var Q=(w.prototype.deployed=function(){return this._deployed()},w.prototype._deployed=function(e){var t=this;return this._deployedPromise||(this.deployTransaction?this._deployedPromise=this.deployTransaction.wait().then(function(){return t}):this._deployedPromise=this.provider.getCode(this.address,e).then(function(e){return"0x"===e&&s.throwError("contract not deployed",s.UNSUPPORTED_OPERATION,{contractAddress:t.address,operation:"getDeployed"}),t})),this._deployedPromise},w.prototype.fallback=function(e){var t=this;this.signer||s.throwError("sending a transaction require a signer",s.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});var r=g.shallowCopy(e||{});return["from","to"].forEach(function(e){null!=r[e]&&s.throwError("cannot override "+e,s.UNSUPPORTED_OPERATION,{operation:e})}),r.to=this.addressPromise,this.deployed().then(function(){return t.signer.sendTransaction(r)})},w.prototype.connect=function(e){"string"==typeof e&&(e=new I(e,this.provider));var t=new w(this.address,this.interface,e);return this.deployTransaction&&g.defineReadOnly(t,"deployTransaction",this.deployTransaction),t},w.prototype.attach=function(e){return new w(e,this.interface,this.signer||this.provider)},w.isIndexed=function(e){return d.Interface.isIndexed(e)},w.prototype._getEventFilter=function(e){var t=this;if("string"==typeof e){if("*"===e)return{prepareEvent:function(e){var r=t.interface.parseLog(e);return r&&(e.args=r.values,e.decode=r.decode,e.event=r.name,e.eventSignature=r.signature),[e]},eventTag:"*",filter:{address:this.address}};-1!==e.indexOf("(")&&(e=u.formatSignature(u.parseSignature("event "+e)));var r=this.interface.events[e];r||s.throwError("unknown event - "+e,s.INVALID_ARGUMENT,{argumnet:"eventName",value:e});var n={address:this.address,topics:[r.topic]};return{prepareEvent:function(e){var t=r.decode(e.data,e.topics);e.args=t;var n=Array.prototype.slice.call(t);return n.push(e),n},event:r,eventTag:y(n),filter:n}}var A={address:this.address},i=null;if(e.topics&&e.topics[0])for(var o in A.topics=e.topics,this.interface.events)if(-1!==o.indexOf("(")){var a=this.interface.events[o];if(a.topic===e.topics[0].toLowerCase()){i=a;break}}return{prepareEvent:function(e){if(!i)return[e];var t=i.decode(e.data,e.topics);e.args=t;var r=Array.prototype.slice.call(t);return r.push(e),r},event:i,eventTag:y(A),filter:A}},w.prototype._addEventListener=function(e,t,r){var n=this;function A(r){var A=g.deepCopy(r),i=e.prepareEvent(A);e.event&&(A.decode=e.event.decode,A.event=e.event.name,A.eventSignature=e.event.signature),A.removeListener=function(){n.removeListener(e.filter,t)},A.getBlock=function(){return n.provider.getBlock(r.blockHash)},A.getTransaction=function(){return n.provider.getTransaction(r.transactionHash)},A.getTransactionReceipt=function(){return n.provider.getTransactionReceipt(r.transactionHash)},n.emit.apply(n,[e.filter].concat(i))}this.provider||s.throwError("events require a provider or a signer with a provider",s.UNSUPPORTED_OPERATION,{operation:"once"}),this.provider.on(e.filter,A),this._events.push({eventFilter:e,listener:t,wrappedListener:A,once:r})},w.prototype.on=function(e,t){return this._addEventListener(this._getEventFilter(e),t,!1),this},w.prototype.once=function(e,t){return this._addEventListener(this._getEventFilter(e),t,!0),this},w.prototype.addListener=function(e,t){return this.on(e,t)},w.prototype.emit=function(e){for(var t=this,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if(!this.provider)return!1;var A=!1,i=this._getEventFilter(e);return this._events=this._events.filter(function(e){return e.eventFilter.eventTag!==i.eventTag||(setTimeout(function(){e.listener.apply(t,r)},0),A=!0,!e.once)}),A},w.prototype.listenerCount=function(e){if(!this.provider)return 0;var t=this._getEventFilter(e);return this._events.filter(function(e){return e.eventFilter.eventTag===t.eventTag}).length},w.prototype.listeners=function(e){if(!this.provider)return[];var t=this._getEventFilter(e);return this._events.filter(function(e){return e.eventFilter.eventTag===t.eventTag}).map(function(e){return e.listener})},w.prototype.removeAllListeners=function(e){var t=this;if(!this.provider)return this;var r=this._getEventFilter(e);return this._events=this._events.filter(function(e){return e.eventFilter.eventTag!==r.eventTag||(t.provider.removeListener(e.eventFilter.filter,e.wrappedListener),!1)}),this},w.prototype.removeListener=function(e,t){var r=this;if(!this.provider)return this;var n=!1,A=this._getEventFilter(e);return this._events=this._events.filter(function(e){return e.eventFilter.eventTag!==A.eventTag||e.listener!==t||(r.provider.removeListener(e.eventFilter.filter,e.wrappedListener),!!n||!(n=!0))}),this},w);function w(e,t,r){var n=this;if(s.checkNew(this,w),d.Interface.isInterface(t)?g.defineReadOnly(this,"interface",t):g.defineReadOnly(this,"interface",new d.Interface(t)),p.Signer.isSigner(r)?(g.defineReadOnly(this,"provider",r.provider),g.defineReadOnly(this,"signer",r)):h.Provider.isProvider(r)?(g.defineReadOnly(this,"provider",r),g.defineReadOnly(this,"signer",null)):s.throwError("invalid signer or provider",s.INVALID_ARGUMENT,{arg:"signerOrProvider",value:r}),g.defineReadOnly(this,"estimate",{}),g.defineReadOnly(this,"functions",{}),g.defineReadOnly(this,"filters",{}),Object.keys(this.interface.events).forEach(function(e){var t=n.interface.events[e];g.defineReadOnly(n.filters,e,function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return{address:n.address,topics:t.encodeTopics(e)}})}),this._events=[],g.defineReadOnly(this,"address",e),this.provider)g.defineReadOnly(this,"addressPromise",this.provider.resolveName(e).then(function(e){if(null==e)throw new Error("name not found");return e}).catch(function(e){throw e}));else try{g.defineReadOnly(this,"addressPromise",Promise.resolve(l.getAddress(e)))}catch(t){s.throwError("provider is required to use non-address contract address",s.INVALID_ARGUMENT,{argument:"addressOrName",value:e})}Object.keys(this.interface.functions).forEach(function(e){var t=m(n,e,!1);null==n[e]?g.defineReadOnly(n,e,t):s.warn("WARNING: Multiple definitions for "+e),null==n.functions[e]&&(g.defineReadOnly(n.functions,e,t),g.defineReadOnly(n.estimate,e,m(n,e,!0)))})}r.Contract=Q;var E=(b.prototype.getDeployTransaction=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r={};if(e.length===this.interface.deployFunction.inputs.length+1)for(var n in r=g.shallowCopy(e.pop()))if(!C[n])throw new Error("unknown transaction override "+n);return["data","from","to"].forEach(function(e){null!=r[e]&&s.throwError("cannot override "+e,s.UNSUPPORTED_OPERATION,{operation:e})}),s.checkArgumentCount(e.length,this.interface.deployFunction.inputs.length," in Contract constructor"),r.data=this.interface.deployFunction.encode(this.bytecode,e),r},b.prototype.deploy=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=this.getDeployTransaction.apply(this,t);return this.signer.sendTransaction(n).then(function(t){var r=new Q(l.getContractAddress(t),e.interface,e.signer);return g.defineReadOnly(r,"deployTransaction",t),r})},b.prototype.attach=function(e){return new Q(e,this.interface,this.signer)},b.prototype.connect=function(e){return new b(this.interface,this.bytecode,e)},b.fromSolidity=function(e,t){null==e&&s.throwError("missing compiler output",s.MISSING_ARGUMENT,{argument:"compilerOutput"}),"string"==typeof e&&(e=JSON.parse(e));var r=e.abi,n=null;return e.bytecode?n=e.bytecode:e.evm&&e.evm.bytecode&&(n=e.evm.bytecode),new b(r,n,t)},b);function b(e,t,r){var n=null;"string"==typeof t?n=t:f.isArrayish(t)?n=f.hexlify(t):"string"==typeof t.object?n=t.object:s.throwError("bytecode must be a valid hex string",s.INVALID_ARGUMENT,{arg:"bytecode",value:t}),"0x"!==n.substring(0,2)&&(n="0x"+n),f.isHexString(n)||s.throwError("bytecode must be a valid hex string",s.INVALID_ARGUMENT,{arg:"bytecode",value:t}),n.length%2!=0&&s.throwError("bytecode must be valid data (even length)",s.INVALID_ARGUMENT,{arg:"bytecode",value:t}),g.defineReadOnly(this,"bytecode",n),d.Interface.isInterface(e)?g.defineReadOnly(this,"interface",e):g.defineReadOnly(this,"interface",new d.Interface(e)),r&&!p.Signer.isSigner(r)&&s.throwError("invalid signer",s.INVALID_ARGUMENT,{arg:"signer",value:null}),g.defineReadOnly(this,"signer",r||null)}r.ContractFactory=E},{"./abstract-signer":2,"./constants":3,"./errors":5,"./providers/abstract-provider":49,"./utils/abi-coder":58,"./utils/address":59,"./utils/bignumber":62,"./utils/bytes":63,"./utils/interface":68,"./utils/properties":73}],5:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("./_version");r.UNKNOWN_ERROR="UNKNOWN_ERROR",r.NOT_IMPLEMENTED="NOT_IMPLEMENTED",r.MISSING_NEW="MISSING_NEW",r.CALL_EXCEPTION="CALL_EXCEPTION",r.INVALID_ARGUMENT="INVALID_ARGUMENT",r.MISSING_ARGUMENT="MISSING_ARGUMENT",r.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",r.NUMERIC_FAULT="NUMERIC_FAULT",r.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",r.NONCE_EXPIRED="NONCE_EXPIRED",r.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED";var A=!(r.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION"),i=!1;function o(e,t,A){if(i)throw new Error("unknown error");t=t||r.UNKNOWN_ERROR,A=A||{};var o=[];Object.keys(A).forEach(function(e){try{o.push(e+"="+JSON.stringify(A[e]))}catch(t){o.push(e+"="+JSON.stringify(A[e].toString()))}}),o.push("version="+n.version);var a=e;o.length&&(e+=" ("+o.join(", ")+")");var s=new Error(e);throw s.reason=a,s.code=t,Object.keys(A).forEach(function(e){s[e]=A[e]}),s}r.throwError=o,r.checkNew=function(e,t){e instanceof t||o("missing new",r.MISSING_NEW,{name:t.name})},r.checkArgumentCount=function(e,t,n){n=n||"",e<t&&o("missing argument"+n,r.MISSING_ARGUMENT,{count:e,expectedCount:t}),t<e&&o("too many arguments"+n,r.UNEXPECTED_ARGUMENT,{count:e,expectedCount:t})},r.setCensorship=function(e,t){A&&o("error censorship permanent",r.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),i=!!e,A=!!t},r.checkNormalize=function(){try{if(["NFD","NFC","NFKD","NFKC"].forEach(function(e){try{"test".normalize(e)}catch(t){throw new Error("missing "+e)}}),String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){o("platform missing String.prototype.normalize",r.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:e.message})}};var a={debug:1,default:2,info:2,warn:3,error:4,off:5},s=a.default;function u(e,t){s>a[e]||console.log.apply(console,t)}function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];u("warn",e)}r.setLogLevel=function(e){var t=a[e];null!=t?s=t:l("invliad log level - "+e)},r.warn=l,r.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];u("info",e)}},{"./_version":1}],6:[function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var A=e("./contract");r.Contract=A.Contract,r.ContractFactory=A.ContractFactory,r.VoidSigner=A.VoidSigner;var i=e("./abstract-signer");r.Signer=i.Signer;var o=e("./wallet");r.Wallet=o.Wallet;var a=n(e("./constants"));r.constants=a;var s=n(e("./errors"));r.errors=s;var u=n(e("./providers"));r.providers=u;var l=n(e("./utils"));r.utils=l;var c=n(e("./wordlists"));r.wordlists=c;var f=e("./utils/shims");r.platform=f.platform;var d=e("./_version");r.version=d.version,r.getDefaultProvider=function(e){null==e&&(e="homestead");var t=l.getNetwork(e);return t&&t._defaultProvider||s.throwError("unsupported getDefaultProvider network",s.UNSUPPORTED_OPERATION,{operation:"getDefaultProvider",network:e}),t._defaultProvider(u)}},{"./_version":1,"./abstract-signer":2,"./constants":3,"./contract":4,"./errors":5,"./providers":53,"./utils":67,"./utils/shims":79,"./wallet":87,"./wordlists":88}],7:[function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var A=n(e("./ethers"));r.ethers=A,function(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}(e("./ethers"))},{"./ethers":6}],8:[function(e,t,r){"use strict";!function(e){function n(e){return parseInt(e)===e}function A(e){if(!n(e.length))return!1;for(var t=0;t<e.length;t++)if(!n(e[t])||e[t]<0||255<e[t])return!1;return!0}function i(e,t){if(e.buffer&&ArrayBuffer.isView(e)&&"Uint8Array"===e.name)return t&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!A(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(n(e.length)&&A(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function o(e){return new Uint8Array(e)}function a(e,t,r,n,A){null==n&&null==A||(e=e.slice?e.slice(n,A):Array.prototype.slice.call(e,n,A)),t.set(e,r)}var s,u={toBytes:function(e){var t=[],r=0;for(e=encodeURI(e);r<e.length;){var n=e.charCodeAt(r++);37===n?(t.push(parseInt(e.substr(r,2),16)),r+=2):t.push(n)}return i(t)},fromBytes:function(e){for(var t=[],r=0;r<e.length;){var n=e[r];n<128?(t.push(String.fromCharCode(n)),r++):191<n&&n<224?(t.push(String.fromCharCode((31&n)<<6|63&e[r+1])),r+=2):(t.push(String.fromCharCode((15&n)<<12|(63&e[r+1])<<6|63&e[r+2])),r+=3)}return t.join("")}},l=(s="0123456789abcdef",{toBytes:function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(parseInt(e.substr(r,2),16));return t},fromBytes:function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(s[(240&n)>>4]+s[15&n])}return t.join("")}}),c={16:10,24:12,32:14},f=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],d=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],g=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],h=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],p=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],I=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],B=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],C=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],m=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],y=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],Q=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],w=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],E=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],b=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],v=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function D(e){for(var t=[],r=0;r<e.length;r+=4)t.push(e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]);return t}var M=function(e){if(!(this instanceof M))throw Error("AES must be instanitated with `new`");Object.defineProperty(this,"key",{value:i(e,!0)}),this._prepare()};M.prototype._prepare=function(){var e=c[this.key.length];if(null==e)throw new Error("invalid key size (must be 16, 24 or 32 bytes)");this._Ke=[],this._Kd=[];for(var t=0;t<=e;t++)this._Ke.push([0,0,0,0]),this._Kd.push([0,0,0,0]);var r,n=4*(e+1),A=this.key.length/4,i=D(this.key);for(t=0;t<A;t++)r=t>>2,this._Ke[r][t%4]=i[t],this._Kd[e-r][t%4]=i[t];for(var o,a=0,s=A;s<n;){if(o=i[A-1],i[0]^=d[o>>16&255]<<24^d[o>>8&255]<<16^d[255&o]<<8^d[o>>24&255]^f[a]<<24,a+=1,8!=A)for(t=1;t<A;t++)i[t]^=i[t-1];else{for(t=1;t<A/2;t++)i[t]^=i[t-1];for(o=i[A/2-1],i[A/2]^=d[255&o]^d[o>>8&255]<<8^d[o>>16&255]<<16^d[o>>24&255]<<24,t=A/2+1;t<A;t++)i[t]^=i[t-1]}for(t=0;t<A&&s<n;)u=s>>2,l=s%4,this._Ke[u][l]=i[t],this._Kd[e-u][l]=i[t++],s++}for(var u=1;u<e;u++)for(var l=0;l<4;l++)o=this._Kd[u][l],this._Kd[u][l]=w[o>>24&255]^E[o>>16&255]^b[o>>8&255]^v[255&o]},M.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var t=this._Ke.length-1,r=[0,0,0,0],n=D(e),A=0;A<4;A++)n[A]^=this._Ke[0][A];for(var i=1;i<t;i++){for(A=0;A<4;A++)r[A]=h[n[A]>>24&255]^p[n[(A+1)%4]>>16&255]^I[n[(A+2)%4]>>8&255]^B[255&n[(A+3)%4]]^this._Ke[i][A];n=r.slice()}var a,s=o(16);for(A=0;A<4;A++)a=this._Ke[t][A],s[4*A]=255&(d[n[A]>>24&255]^a>>24),s[4*A+1]=255&(d[n[(A+1)%4]>>16&255]^a>>16),s[4*A+2]=255&(d[n[(A+2)%4]>>8&255]^a>>8),s[4*A+3]=255&(d[255&n[(A+3)%4]]^a);return s},M.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var t=this._Kd.length-1,r=[0,0,0,0],n=D(e),A=0;A<4;A++)n[A]^=this._Kd[0][A];for(var i=1;i<t;i++){for(A=0;A<4;A++)r[A]=C[n[A]>>24&255]^m[n[(A+3)%4]>>16&255]^y[n[(A+2)%4]>>8&255]^Q[255&n[(A+1)%4]]^this._Kd[i][A];n=r.slice()}var a,s=o(16);for(A=0;A<4;A++)a=this._Kd[t][A],s[4*A]=255&(g[n[A]>>24&255]^a>>24),s[4*A+1]=255&(g[n[(A+3)%4]>>16&255]^a>>16),s[4*A+2]=255&(g[n[(A+2)%4]>>8&255]^a>>8),s[4*A+3]=255&(g[255&n[(A+1)%4]]^a);return s};var k=function(e){if(!(this instanceof k))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new M(e)};k.prototype.encrypt=function(e){if((e=i(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=o(e.length),r=o(16),n=0;n<e.length;n+=16)a(e,r,0,n,n+16),a(r=this._aes.encrypt(r),t,n);return t},k.prototype.decrypt=function(e){if((e=i(e)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var t=o(e.length),r=o(16),n=0;n<e.length;n+=16)a(e,r,0,n,n+16),a(r=this._aes.decrypt(r),t,n);return t};var _=function(e,t){if(!(this instanceof _))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Block Chaining",this.name="cbc",t){if(16!=t.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else t=o(16);this._lastCipherblock=i(t,!0),this._aes=new M(e)};_.prototype.encrypt=function(e){if((e=i(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=o(e.length),r=o(16),n=0;n<e.length;n+=16){a(e,r,0,n,n+16);for(var A=0;A<16;A++)r[A]^=this._lastCipherblock[A];this._lastCipherblock=this._aes.encrypt(r),a(this._lastCipherblock,t,n)}return t},_.prototype.decrypt=function(e){if((e=i(e)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var t=o(e.length),r=o(16),n=0;n<e.length;n+=16){a(e,r,0,n,n+16),r=this._aes.decrypt(r);for(var A=0;A<16;A++)t[n+A]=r[A]^this._lastCipherblock[A];a(e,this._lastCipherblock,0,n,n+16)}return t};var S=function(e,t,r){if(!(this instanceof S))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Feedback",this.name="cfb",t){if(16!=t.length)throw new Error("invalid initialation vector size (must be 16 size)")}else t=o(16);r=r||1,this.segmentSize=r,this._shiftRegister=i(t,!0),this._aes=new M(e)};S.prototype.encrypt=function(e){if(e.length%this.segmentSize!=0)throw new Error("invalid plaintext size (must be segmentSize bytes)");for(var t,r=i(e,!0),n=0;n<r.length;n+=this.segmentSize){t=this._aes.encrypt(this._shiftRegister);for(var A=0;A<this.segmentSize;A++)r[n+A]^=t[A];a(this._shiftRegister,this._shiftRegister,0,this.segmentSize),a(r,this._shiftRegister,16-this.segmentSize,n,n+this.segmentSize)}return r},S.prototype.decrypt=function(e){if(e.length%this.segmentSize!=0)throw new Error("invalid ciphertext size (must be segmentSize bytes)");for(var t,r=i(e,!0),n=0;n<r.length;n+=this.segmentSize){t=this._aes.encrypt(this._shiftRegister);for(var A=0;A<this.segmentSize;A++)r[n+A]^=t[A];a(this._shiftRegister,this._shiftRegister,0,this.segmentSize),a(e,this._shiftRegister,16-this.segmentSize,n,n+this.segmentSize)}return r};var N=function(e,t){if(!(this instanceof N))throw Error("AES must be instanitated with `new`");if(this.description="Output Feedback",this.name="ofb",t){if(16!=t.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else t=o(16);this._lastPrecipher=i(t,!0),this._lastPrecipherIndex=16,this._aes=new M(e)};N.prototype.encrypt=function(e){for(var t=i(e,!0),r=0;r<t.length;r++)16===this._lastPrecipherIndex&&(this._lastPrecipher=this._aes.encrypt(this._lastPrecipher),this._lastPrecipherIndex=0),t[r]^=this._lastPrecipher[this._lastPrecipherIndex++];return t},N.prototype.decrypt=N.prototype.encrypt;var F=function(e){if(!(this instanceof F))throw Error("Counter must be instanitated with `new`");0===e||e||(e=1),"number"==typeof e?(this._counter=o(16),this.setValue(e)):this.setBytes(e)};F.prototype.setValue=function(e){if("number"!=typeof e||parseInt(e)!=e)throw new Error("invalid counter value (must be an integer)");for(var t=15;0<=t;--t)this._counter[t]=e%256,e>>=8},F.prototype.setBytes=function(e){if(16!=(e=i(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},F.prototype.increment=function(){for(var e=15;0<=e;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var x=function(e,t){if(!(this instanceof x))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",t instanceof F||(t=new F(t)),this._counter=t,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new M(e)};x.prototype.encrypt=function(e){for(var t=i(e,!0),r=0;r<t.length;r++)16===this._remainingCounterIndex&&(this._remainingCounter=this._aes.encrypt(this._counter._counter),this._remainingCounterIndex=0,this._counter.increment()),t[r]^=this._remainingCounter[this._remainingCounterIndex++];return t},x.prototype.decrypt=x.prototype.encrypt;var G={AES:M,Counter:F,ModeOfOperation:{ecb:k,cbc:_,cfb:S,ofb:N,ctr:x},utils:{hex:l,utf8:u},padding:{pkcs7:{pad:function(e){var t=16-(e=i(e,!0)).length%16,r=o(e.length+t);a(e,r);for(var n=e.length;n<r.length;n++)r[n]=t;return r},strip:function(e){if((e=i(e,!0)).length<16)throw new Error("PKCS#7 invalid length");var t=e[e.length-1];if(16<t)throw new Error("PKCS#7 padding byte out of range");for(var r=e.length-t,n=0;n<t;n++)if(e[r+n]!==t)throw new Error("PKCS#7 invalid padding byte");var A=o(r);return a(e,A,0,0,r),A}}},_arrayTest:{coerceArray:i,createArray:o,copyArray:a}};void 0!==r?t.exports=G:(e.aesjs&&(G._aesjs=e.aesjs),e.aesjs=G)}(this)},{}],9:[function(e,t,r){!function(t,r){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function A(e,t){function r(){}e.super_=t,r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,(this.red=null)!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof t?t.exports=i:r.BN=i,(i.BN=i).wordSize=26;try{o=e("buffer").Buffer}catch(t){}function a(e,t,r){for(var n=0,A=Math.min(e.length,r),i=t;i<A;i++){var o=e.charCodeAt(i)-48;n<<=4,n|=49<=o&&o<=54?o-49+10:17<=o&&o<=22?o-17+10:15&o}return n}function s(e,t,r,n){for(var A=0,i=Math.min(e.length,r),o=t;o<i;o++){var a=e.charCodeAt(o)-48;A*=n,A+=49<=a?a-49+10:17<=a?a-17+10:a}return A}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return 0<e.cmp(t)?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&2<=t&&t<=36);var A=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&A++,16===t?this._parseHex(e,A):this._parseBase(e,t,A),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var A=0;A<this.length;A++)this.words[A]=0;var i,o,a=0;if("be"===r)for(A=e.length-1,i=0;0<=A;A-=3)o=e[A]|e[A-1]<<8|e[A-2]<<16,this.words[i]|=o<<a&67108863,this.words[i+1]=o>>>26-a&67108863,26<=(a+=24)&&(a-=26,i++);else if("le"===r)for(i=A=0;A<e.length;A+=3)o=e[A]|e[A+1]<<8|e[A+2]<<16,this.words[i]|=o<<a&67108863,this.words[i+1]=o>>>26-a&67108863,26<=(a+=24)&&(a-=26,i++);return this.strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,A,i=0;for(r=e.length-6,n=0;t<=r;r-=6)A=a(e,r,r+6),this.words[n]|=A<<i&67108863,this.words[n+1]|=A>>>26-i&4194303,26<=(i+=24)&&(i-=26,n++);r+6!==t&&(A=a(e,t,r+6),this.words[n]|=A<<i&67108863,this.words[n+1]|=A>>>26-i&4194303),this.strip()},i.prototype._parseBase=function(e,t,r){this.words=[0];for(var n=0,A=this.length=1;A<=67108863;A*=t)n++;n--,A=A/t|0;for(var i=e.length-r,o=i%n,a=Math.min(i,i-o)+r,u=0,l=r;l<a;l+=n)u=s(e,l,l+n,t),this.imuln(A),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!=o){var c=1;for(u=s(e,l,e.length,t),l=0;l<o;l++)c*=t;this.imuln(c),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},i.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;1<this.length&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],c=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;n=(r.length=n)-1|0;var A=0|e.words[0],i=0|t.words[0],o=A*i,a=67108863&o,s=o/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var l=s>>>26,c=67108863&s,f=Math.min(u,t.length-1),d=Math.max(0,u-e.length+1);d<=f;d++){var g=u-d|0;l+=(o=(A=0|e.words[g])*(i=0|t.words[d])+c)/67108864|0,c=67108863&o}r.words[u]=0|c,s=0|l}return 0!==s?r.words[u]=0|s:r.length--,r.strip()}i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var A=0,i=0,o=0;o<this.length;o++){var a=this.words[o],s=(16777215&(a<<A|i)).toString(16);r=0!=(i=a>>>24-A&16777215)||o!==this.length-1?u[6-s.length]+s+r:s+r,26<=(A+=2)&&(A-=26,o--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&2<=e&&e<=36){var f=l[e],d=c[e];r="";var g=this.clone();for(g.negative=0;!g.isZero();){var h=g.modn(d).toString(e);r=(g=g.idivn(d)).isZero()?h+r:u[f-h.length]+h+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:2<this.length&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return n(void 0!==o),this.toArrayLike(o,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,r){var A=this.byteLength(),i=r||Math.max(1,A);n(A<=i,"byte array longer than desired length"),n(0<i,"Requested array length <= 0"),this.strip();var o,a,s="le"===t,u=new e(i),l=this.clone();if(s){for(a=0;!l.isZero();a++)o=l.andln(255),l.iushrn(8),u[a]=o;for(;a<i;a++)u[a]=0}else{for(a=0;a<i-A;a++)u[a]=0;for(a=0;!l.isZero();a++)o=l.andln(255),l.iushrn(8),u[i-a-1]=o}return u},i.prototype._countBits=Math.clz32?function(e){return 32-Math.clz32(e)}:function(e){var t=e,r=0;return 4096<=t&&(r+=13,t>>>=13),64<=t&&(r+=7,t>>>=7),8<=t&&(r+=4,t>>>=4),2<=t&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},i.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},i.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;r=this.length>e.length?(t=this,e):(t=e,this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},i.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&0<=e);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),0<r&&t--;for(var A=0;A<t;A++)this.words[A]=67108863&~this.words[A];return 0<r&&(this.words[A]=~this.words[A]&67108863>>26-r),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&0<=e);var r=e/26|0,A=e%26;return this._expand(1+r),this.words[r]=t?this.words[r]|1<<A:this.words[r]&~(1<<A),this.strip()},i.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();n=this.length>e.length?(r=this,e):(r=e,this);for(var A=0,i=0;i<n.length;i++)t=(0|r.words[i])+(0|n.words[i])+A,this.words[i]=67108863&t,A=t>>>26;for(;0!==A&&i<r.length;i++)t=(0|r.words[i])+A,this.words[i]=67108863&t,A=t>>>26;if(this.length=r.length,0!==A)this.words[this.length]=A,this.length++;else if(r!==this)for(;i<r.length;i++)this.words[i]=r.words[i];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,A=this.cmp(e);if(0===A)return this.negative=0,this.length=1,this.words[0]=0,this;n=0<A?(r=this,e):(r=e,this);for(var i=0,o=0;o<n.length;o++)i=(t=(0|r.words[o])-(0|n.words[o])+i)>>26,this.words[o]=67108863&t;for(;0!==i&&o<r.length;o++)i=(t=(0|r.words[o])+i)>>26,this.words[o]=67108863&t;if(0===i&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var d=function(e,t,r){var n,A,i,o=e.words,a=t.words,s=r.words,u=0,l=0|o[0],c=8191&l,f=l>>>13,d=0|o[1],g=8191&d,h=d>>>13,p=0|o[2],I=8191&p,B=p>>>13,C=0|o[3],m=8191&C,y=C>>>13,Q=0|o[4],w=8191&Q,E=Q>>>13,b=0|o[5],v=8191&b,D=b>>>13,M=0|o[6],k=8191&M,_=M>>>13,S=0|o[7],N=8191&S,F=S>>>13,x=0|o[8],G=8191&x,H=x>>>13,U=0|o[9],Y=8191&U,L=U>>>13,O=0|a[0],K=8191&O,P=O>>>13,R=0|a[1],T=8191&R,J=R>>>13,j=0|a[2],q=8191&j,V=j>>>13,W=0|a[3],z=8191&W,Z=W>>>13,X=0|a[4],$=8191&X,ee=X>>>13,te=0|a[5],re=8191&te,ne=te>>>13,Ae=0|a[6],ie=8191&Ae,oe=Ae>>>13,ae=0|a[7],se=8191&ae,ue=ae>>>13,le=0|a[8],ce=8191&le,fe=le>>>13,de=0|a[9],ge=8191&de,he=de>>>13;r.negative=e.negative^t.negative,r.length=19;var pe=(u+(n=Math.imul(c,K))|0)+((8191&(A=(A=Math.imul(c,P))+Math.imul(f,K)|0))<<13)|0;u=((i=Math.imul(f,P))+(A>>>13)|0)+(pe>>>26)|0,pe&=67108863,n=Math.imul(g,K),A=(A=Math.imul(g,P))+Math.imul(h,K)|0,i=Math.imul(h,P);var Ie=(u+(n=n+Math.imul(c,T)|0)|0)+((8191&(A=(A=A+Math.imul(c,J)|0)+Math.imul(f,T)|0))<<13)|0;u=((i=i+Math.imul(f,J)|0)+(A>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(I,K),A=(A=Math.imul(I,P))+Math.imul(B,K)|0,i=Math.imul(B,P),n=n+Math.imul(g,T)|0,A=(A=A+Math.imul(g,J)|0)+Math.imul(h,T)|0,i=i+Math.imul(h,J)|0;var Be=(u+(n=n+Math.imul(c,q)|0)|0)+((8191&(A=(A=A+Math.imul(c,V)|0)+Math.imul(f,q)|0))<<13)|0;u=((i=i+Math.imul(f,V)|0)+(A>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(m,K),A=(A=Math.imul(m,P))+Math.imul(y,K)|0,i=Math.imul(y,P),n=n+Math.imul(I,T)|0,A=(A=A+Math.imul(I,J)|0)+Math.imul(B,T)|0,i=i+Math.imul(B,J)|0,n=n+Math.imul(g,q)|0,A=(A=A+Math.imul(g,V)|0)+Math.imul(h,q)|0,i=i+Math.imul(h,V)|0;var Ce=(u+(n=n+Math.imul(c,z)|0)|0)+((8191&(A=(A=A+Math.imul(c,Z)|0)+Math.imul(f,z)|0))<<13)|0;u=((i=i+Math.imul(f,Z)|0)+(A>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(w,K),A=(A=Math.imul(w,P))+Math.imul(E,K)|0,i=Math.imul(E,P),n=n+Math.imul(m,T)|0,A=(A=A+Math.imul(m,J)|0)+Math.imul(y,T)|0,i=i+Math.imul(y,J)|0,n=n+Math.imul(I,q)|0,A=(A=A+Math.imul(I,V)|0)+Math.imul(B,q)|0,i=i+Math.imul(B,V)|0,n=n+Math.imul(g,z)|0,A=(A=A+Math.imul(g,Z)|0)+Math.imul(h,z)|0,i=i+Math.imul(h,Z)|0;var me=(u+(n=n+Math.imul(c,$)|0)|0)+((8191&(A=(A=A+Math.imul(c,ee)|0)+Math.imul(f,$)|0))<<13)|0;u=((i=i+Math.imul(f,ee)|0)+(A>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(v,K),A=(A=Math.imul(v,P))+Math.imul(D,K)|0,i=Math.imul(D,P),n=n+Math.imul(w,T)|0,A=(A=A+Math.imul(w,J)|0)+Math.imul(E,T)|0,i=i+Math.imul(E,J)|0,n=n+Math.imul(m,q)|0,A=(A=A+Math.imul(m,V)|0)+Math.imul(y,q)|0,i=i+Math.imul(y,V)|0,n=n+Math.imul(I,z)|0,A=(A=A+Math.imul(I,Z)|0)+Math.imul(B,z)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(g,$)|0,A=(A=A+Math.imul(g,ee)|0)+Math.imul(h,$)|0,i=i+Math.imul(h,ee)|0;var ye=(u+(n=n+Math.imul(c,re)|0)|0)+((8191&(A=(A=A+Math.imul(c,ne)|0)+Math.imul(f,re)|0))<<13)|0;u=((i=i+Math.imul(f,ne)|0)+(A>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(k,K),A=(A=Math.imul(k,P))+Math.imul(_,K)|0,i=Math.imul(_,P),n=n+Math.imul(v,T)|0,A=(A=A+Math.imul(v,J)|0)+Math.imul(D,T)|0,i=i+Math.imul(D,J)|0,n=n+Math.imul(w,q)|0,A=(A=A+Math.imul(w,V)|0)+Math.imul(E,q)|0,i=i+Math.imul(E,V)|0,n=n+Math.imul(m,z)|0,A=(A=A+Math.imul(m,Z)|0)+Math.imul(y,z)|0,i=i+Math.imul(y,Z)|0,n=n+Math.imul(I,$)|0,A=(A=A+Math.imul(I,ee)|0)+Math.imul(B,$)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(g,re)|0,A=(A=A+Math.imul(g,ne)|0)+Math.imul(h,re)|0,i=i+Math.imul(h,ne)|0;var Qe=(u+(n=n+Math.imul(c,ie)|0)|0)+((8191&(A=(A=A+Math.imul(c,oe)|0)+Math.imul(f,ie)|0))<<13)|0;u=((i=i+Math.imul(f,oe)|0)+(A>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,n=Math.imul(N,K),A=(A=Math.imul(N,P))+Math.imul(F,K)|0,i=Math.imul(F,P),n=n+Math.imul(k,T)|0,A=(A=A+Math.imul(k,J)|0)+Math.imul(_,T)|0,i=i+Math.imul(_,J)|0,n=n+Math.imul(v,q)|0,A=(A=A+Math.imul(v,V)|0)+Math.imul(D,q)|0,i=i+Math.imul(D,V)|0,n=n+Math.imul(w,z)|0,A=(A=A+Math.imul(w,Z)|0)+Math.imul(E,z)|0,i=i+Math.imul(E,Z)|0,n=n+Math.imul(m,$)|0,A=(A=A+Math.imul(m,ee)|0)+Math.imul(y,$)|0,i=i+Math.imul(y,ee)|0,n=n+Math.imul(I,re)|0,A=(A=A+Math.imul(I,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(g,ie)|0,A=(A=A+Math.imul(g,oe)|0)+Math.imul(h,ie)|0,i=i+Math.imul(h,oe)|0;var we=(u+(n=n+Math.imul(c,se)|0)|0)+((8191&(A=(A=A+Math.imul(c,ue)|0)+Math.imul(f,se)|0))<<13)|0;u=((i=i+Math.imul(f,ue)|0)+(A>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(G,K),A=(A=Math.imul(G,P))+Math.imul(H,K)|0,i=Math.imul(H,P),n=n+Math.imul(N,T)|0,A=(A=A+Math.imul(N,J)|0)+Math.imul(F,T)|0,i=i+Math.imul(F,J)|0,n=n+Math.imul(k,q)|0,A=(A=A+Math.imul(k,V)|0)+Math.imul(_,q)|0,i=i+Math.imul(_,V)|0,n=n+Math.imul(v,z)|0,A=(A=A+Math.imul(v,Z)|0)+Math.imul(D,z)|0,i=i+Math.imul(D,Z)|0,n=n+Math.imul(w,$)|0,A=(A=A+Math.imul(w,ee)|0)+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,n=n+Math.imul(m,re)|0,A=(A=A+Math.imul(m,ne)|0)+Math.imul(y,re)|0,i=i+Math.imul(y,ne)|0,n=n+Math.imul(I,ie)|0,A=(A=A+Math.imul(I,oe)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,oe)|0,n=n+Math.imul(g,se)|0,A=(A=A+Math.imul(g,ue)|0)+Math.imul(h,se)|0,i=i+Math.imul(h,ue)|0;var Ee=(u+(n=n+Math.imul(c,ce)|0)|0)+((8191&(A=(A=A+Math.imul(c,fe)|0)+Math.imul(f,ce)|0))<<13)|0;u=((i=i+Math.imul(f,fe)|0)+(A>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(Y,K),A=(A=Math.imul(Y,P))+Math.imul(L,K)|0,i=Math.imul(L,P),n=n+Math.imul(G,T)|0,A=(A=A+Math.imul(G,J)|0)+Math.imul(H,T)|0,i=i+Math.imul(H,J)|0,n=n+Math.imul(N,q)|0,A=(A=A+Math.imul(N,V)|0)+Math.imul(F,q)|0,i=i+Math.imul(F,V)|0,n=n+Math.imul(k,z)|0,A=(A=A+Math.imul(k,Z)|0)+Math.imul(_,z)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(v,$)|0,A=(A=A+Math.imul(v,ee)|0)+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,n=n+Math.imul(w,re)|0,A=(A=A+Math.imul(w,ne)|0)+Math.imul(E,re)|0,i=i+Math.imul(E,ne)|0,n=n+Math.imul(m,ie)|0,A=(A=A+Math.imul(m,oe)|0)+Math.imul(y,ie)|0,i=i+Math.imul(y,oe)|0,n=n+Math.imul(I,se)|0,A=(A=A+Math.imul(I,ue)|0)+Math.imul(B,se)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(g,ce)|0,A=(A=A+Math.imul(g,fe)|0)+Math.imul(h,ce)|0,i=i+Math.imul(h,fe)|0;var be=(u+(n=n+Math.imul(c,ge)|0)|0)+((8191&(A=(A=A+Math.imul(c,he)|0)+Math.imul(f,ge)|0))<<13)|0;u=((i=i+Math.imul(f,he)|0)+(A>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(Y,T),A=(A=Math.imul(Y,J))+Math.imul(L,T)|0,i=Math.imul(L,J),n=n+Math.imul(G,q)|0,A=(A=A+Math.imul(G,V)|0)+Math.imul(H,q)|0,i=i+Math.imul(H,V)|0,n=n+Math.imul(N,z)|0,A=(A=A+Math.imul(N,Z)|0)+Math.imul(F,z)|0,i=i+Math.imul(F,Z)|0,n=n+Math.imul(k,$)|0,A=(A=A+Math.imul(k,ee)|0)+Math.imul(_,$)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,A=(A=A+Math.imul(v,ne)|0)+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,n=n+Math.imul(w,ie)|0,A=(A=A+Math.imul(w,oe)|0)+Math.imul(E,ie)|0,i=i+Math.imul(E,oe)|0,n=n+Math.imul(m,se)|0,A=(A=A+Math.imul(m,ue)|0)+Math.imul(y,se)|0,i=i+Math.imul(y,ue)|0,n=n+Math.imul(I,ce)|0,A=(A=A+Math.imul(I,fe)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,fe)|0;var ve=(u+(n=n+Math.imul(g,ge)|0)|0)+((8191&(A=(A=A+Math.imul(g,he)|0)+Math.imul(h,ge)|0))<<13)|0;u=((i=i+Math.imul(h,he)|0)+(A>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(Y,q),A=(A=Math.imul(Y,V))+Math.imul(L,q)|0,i=Math.imul(L,V),n=n+Math.imul(G,z)|0,A=(A=A+Math.imul(G,Z)|0)+Math.imul(H,z)|0,i=i+Math.imul(H,Z)|0,n=n+Math.imul(N,$)|0,A=(A=A+Math.imul(N,ee)|0)+Math.imul(F,$)|0,i=i+Math.imul(F,ee)|0,n=n+Math.imul(k,re)|0,A=(A=A+Math.imul(k,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(v,ie)|0,A=(A=A+Math.imul(v,oe)|0)+Math.imul(D,ie)|0,i=i+Math.imul(D,oe)|0,n=n+Math.imul(w,se)|0,A=(A=A+Math.imul(w,ue)|0)+Math.imul(E,se)|0,i=i+Math.imul(E,ue)|0,n=n+Math.imul(m,ce)|0,A=(A=A+Math.imul(m,fe)|0)+Math.imul(y,ce)|0,i=i+Math.imul(y,fe)|0;var De=(u+(n=n+Math.imul(I,ge)|0)|0)+((8191&(A=(A=A+Math.imul(I,he)|0)+Math.imul(B,ge)|0))<<13)|0;u=((i=i+Math.imul(B,he)|0)+(A>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(Y,z),A=(A=Math.imul(Y,Z))+Math.imul(L,z)|0,i=Math.imul(L,Z),n=n+Math.imul(G,$)|0,A=(A=A+Math.imul(G,ee)|0)+Math.imul(H,$)|0,i=i+Math.imul(H,ee)|0,n=n+Math.imul(N,re)|0,A=(A=A+Math.imul(N,ne)|0)+Math.imul(F,re)|0,i=i+Math.imul(F,ne)|0,n=n+Math.imul(k,ie)|0,A=(A=A+Math.imul(k,oe)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,oe)|0,n=n+Math.imul(v,se)|0,A=(A=A+Math.imul(v,ue)|0)+Math.imul(D,se)|0,i=i+Math.imul(D,ue)|0,n=n+Math.imul(w,ce)|0,A=(A=A+Math.imul(w,fe)|0)+Math.imul(E,ce)|0,i=i+Math.imul(E,fe)|0;var Me=(u+(n=n+Math.imul(m,ge)|0)|0)+((8191&(A=(A=A+Math.imul(m,he)|0)+Math.imul(y,ge)|0))<<13)|0;u=((i=i+Math.imul(y,he)|0)+(A>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(Y,$),A=(A=Math.imul(Y,ee))+Math.imul(L,$)|0,i=Math.imul(L,ee),n=n+Math.imul(G,re)|0,A=(A=A+Math.imul(G,ne)|0)+Math.imul(H,re)|0,i=i+Math.imul(H,ne)|0,n=n+Math.imul(N,ie)|0,A=(A=A+Math.imul(N,oe)|0)+Math.imul(F,ie)|0,i=i+Math.imul(F,oe)|0,n=n+Math.imul(k,se)|0,A=(A=A+Math.imul(k,ue)|0)+Math.imul(_,se)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(v,ce)|0,A=(A=A+Math.imul(v,fe)|0)+Math.imul(D,ce)|0,i=i+Math.imul(D,fe)|0;var ke=(u+(n=n+Math.imul(w,ge)|0)|0)+((8191&(A=(A=A+Math.imul(w,he)|0)+Math.imul(E,ge)|0))<<13)|0;u=((i=i+Math.imul(E,he)|0)+(A>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(Y,re),A=(A=Math.imul(Y,ne))+Math.imul(L,re)|0,i=Math.imul(L,ne),n=n+Math.imul(G,ie)|0,A=(A=A+Math.imul(G,oe)|0)+Math.imul(H,ie)|0,i=i+Math.imul(H,oe)|0,n=n+Math.imul(N,se)|0,A=(A=A+Math.imul(N,ue)|0)+Math.imul(F,se)|0,i=i+Math.imul(F,ue)|0,n=n+Math.imul(k,ce)|0,A=(A=A+Math.imul(k,fe)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,fe)|0;var _e=(u+(n=n+Math.imul(v,ge)|0)|0)+((8191&(A=(A=A+Math.imul(v,he)|0)+Math.imul(D,ge)|0))<<13)|0;u=((i=i+Math.imul(D,he)|0)+(A>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(Y,ie),A=(A=Math.imul(Y,oe))+Math.imul(L,ie)|0,i=Math.imul(L,oe),n=n+Math.imul(G,se)|0,A=(A=A+Math.imul(G,ue)|0)+Math.imul(H,se)|0,i=i+Math.imul(H,ue)|0,n=n+Math.imul(N,ce)|0,A=(A=A+Math.imul(N,fe)|0)+Math.imul(F,ce)|0,i=i+Math.imul(F,fe)|0;var Se=(u+(n=n+Math.imul(k,ge)|0)|0)+((8191&(A=(A=A+Math.imul(k,he)|0)+Math.imul(_,ge)|0))<<13)|0;u=((i=i+Math.imul(_,he)|0)+(A>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(Y,se),A=(A=Math.imul(Y,ue))+Math.imul(L,se)|0,i=Math.imul(L,ue),n=n+Math.imul(G,ce)|0,A=(A=A+Math.imul(G,fe)|0)+Math.imul(H,ce)|0,i=i+Math.imul(H,fe)|0;var Ne=(u+(n=n+Math.imul(N,ge)|0)|0)+((8191&(A=(A=A+Math.imul(N,he)|0)+Math.imul(F,ge)|0))<<13)|0;u=((i=i+Math.imul(F,he)|0)+(A>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(Y,ce),A=(A=Math.imul(Y,fe))+Math.imul(L,ce)|0,i=Math.imul(L,fe);var Fe=(u+(n=n+Math.imul(G,ge)|0)|0)+((8191&(A=(A=A+Math.imul(G,he)|0)+Math.imul(H,ge)|0))<<13)|0;u=((i=i+Math.imul(H,he)|0)+(A>>>13)|0)+(Fe>>>26)|0,Fe&=67108863;var xe=(u+(n=Math.imul(Y,ge))|0)+((8191&(A=(A=Math.imul(Y,he))+Math.imul(L,ge)|0))<<13)|0;return u=((i=Math.imul(L,he))+(A>>>13)|0)+(xe>>>26)|0,xe&=67108863,s[0]=pe,s[1]=Ie,s[2]=Be,s[3]=Ce,s[4]=me,s[5]=ye,s[6]=Qe,s[7]=we,s[8]=Ee,s[9]=be,s[10]=ve,s[11]=De,s[12]=Me,s[13]=ke,s[14]=_e,s[15]=Se,s[16]=Ne,s[17]=Fe,s[18]=xe,0!==u&&(s[19]=u,r.length++),r};function g(e,t,r){return(new h).mulp(e,t,r)}function h(e,t){this.x=e,this.y=t}Math.imul||(d=f),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?d(this,e,t):r<63?f(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,A=0,i=0;i<r.length-1;i++){var o=A;A=0;for(var a=67108863&n,s=Math.min(i,t.length-1),u=Math.max(0,i-e.length+1);u<=s;u++){var l=i-u,c=(0|e.words[l])*(0|t.words[u]),f=67108863&c;a=67108863&(f=f+a|0),A+=(o=(o=o+(c/67108864|0)|0)+(f>>>26)|0)>>>26,o&=67108863}r.words[i]=a,n=o,o=A}return 0!==n?r.words[i]=n:r.length--,r.strip()}(this,e,t):g(this,e,t)},h.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},h.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,A=0;A<t;A++)n|=(1&e)<<t-A-1,e>>=1;return n},h.prototype.permute=function(e,t,r,n,A,i){for(var o=0;o<i;o++)n[o]=t[e[o]],A[o]=r[e[o]]},h.prototype.transform=function(e,t,r,n,A,i){this.permute(i,e,t,r,n,A);for(var o=1;o<A;o<<=1)for(var a=o<<1,s=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),l=0;l<A;l+=a)for(var c=s,f=u,d=0;d<o;d++){var g=r[l+d],h=n[l+d],p=r[l+d+o],I=n[l+d+o],B=c*p-f*I;I=c*I+f*p,p=B,r[l+d]=g+p,n[l+d]=h+I,r[l+d+o]=g-p,n[l+d+o]=h-I,d!==a&&(B=s*c-u*f,f=s*f+u*c,c=B)}},h.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,A=0;for(r=r/2|0;r;r>>>=1)A++;return 1<<A+1+n},h.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var A=e[n];e[n]=e[r-n-1],e[r-n-1]=A,A=t[n],t[n]=-t[r-n-1],t[r-n-1]=-A}},h.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var A=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&A,r=A<67108864?0:A/67108864|0}return e},h.prototype.convert13b=function(e,t,r,A){for(var i=0,o=0;o<t;o++)i+=0|e[o],r[2*o]=8191&i,i>>>=13,r[2*o+1]=8191&i,i>>>=13;for(o=2*t;o<A;++o)r[o]=0;n(0===i),n(0==(-8192&i))},h.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},h.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),A=this.makeRBT(n),i=this.stub(n),o=new Array(n),a=new Array(n),s=new Array(n),u=new Array(n),l=new Array(n),c=new Array(n),f=r.words;f.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,i,a,s,n,A),this.transform(u,i,l,c,n,A);for(var d=0;d<n;d++){var g=a[d]*l[d]-s[d]*c[d];s[d]=a[d]*c[d]+s[d]*l[d],a[d]=g}return this.conjugate(a,s,n),this.transform(a,s,f,i,n,A),this.conjugate(f,i,n),this.normalize13b(f,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),g(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var A=(0|this.words[r])*e,i=(67108863&A)+(67108863&t);t>>=26,t+=A/67108864|0,t+=i>>>26,this.words[r]=67108863&i}return 0!==t&&(this.words[r]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,A=r%26;t[r]=(e.words[n]&1<<A)>>>A}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var A=r.sqr();n<t.length;n++,A=A.sqr())0!==t[n]&&(r=r.mul(A));return r},i.prototype.iushln=function(e){n("number"==typeof e&&0<=e);var t,r=e%26,A=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!=r){var o=0;for(t=0;t<this.length;t++){var a=this.words[t]&i,s=(0|this.words[t])-a<<r;this.words[t]=s|o,o=a>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!=A){for(t=this.length-1;0<=t;t--)this.words[t+A]=this.words[t];for(t=0;t<A;t++)this.words[t]=0;this.length+=A}return this.strip()},i.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,r){var A;n("number"==typeof e&&0<=e),A=t?(t-t%26)/26:0;var i=e%26,o=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<<i,s=r;if(A-=o,A=Math.max(0,A),s){for(var u=0;u<o;u++)s.words[u]=this.words[u];s.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;0<=u&&(0!==l||A<=u);u--){var c=0|this.words[u];this.words[u]=l<<26-i|c>>>i,l=c&a}return s&&0!==l&&(s.words[s.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&0<=e);var t=e%26,r=(e-t)/26,A=1<<t;return!(this.length<=r||!(this.words[r]&A))},i.prototype.imaskn=function(e){n("number"==typeof e&&0<=e);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!=t&&r++,this.length=Math.min(r,this.length),0!=t){var A=67108863^67108863>>>t<<t;this.words[this.length-1]&=A}return this.strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?(1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(e),this.negative=1),this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&67108864<=this.words[t];t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,r){var A,i,o=e.length+r;this._expand(o);var a=0;for(A=0;A<e.length;A++){i=(0|this.words[A+r])+a;var s=(0|e.words[A])*t;a=((i-=67108863&s)>>26)-(s/67108864|0),this.words[A+r]=67108863&i}for(;A<this.length-r;A++)a=(i=(0|this.words[A+r])+a)>>26,this.words[A+r]=67108863&i;if(0===a)return this.strip();for(n(-1===a),A=a=0;A<this.length;A++)a=(i=-(0|this.words[A])+a)>>26,this.words[A]=67108863&i;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),A=e,o=0|A.words[A.length-1];0!=(r=26-this._countBits(o))&&(A=A.ushln(r),n.iushln(r),o=0|A.words[A.length-1]);var a,s=n.length-A.length;if("mod"!==t){(a=new i(null)).length=1+s,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var l=n.clone()._ishlnsubmul(A,1,s);0===l.negative&&(n=l,a&&(a.words[s]=1));for(var c=s-1;0<=c;c--){var f=67108864*(0|n.words[A.length+c])+(0|n.words[A.length+c-1]);for(f=Math.min(f/o|0,67108863),n._ishlnsubmul(A,f,c);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(A,1,c),n.isZero()||(n.negative^=1);a&&(a.words[c]=f)}return a&&a.strip(),n.strip(),"div"!==t&&0!=r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(A=a.div.neg()),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:A,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(A=a.div.neg()),{div:A,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t);var A,o,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),A=e.andln(1),i=r.cmp(n);return i<0||1===A&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,A=this.length-1;0<=A;A--)r=(t*r+(0|this.words[A]))%e;return r},i.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;0<=r;r--){var A=(0|this.words[r])+67108864*t;this.words[r]=A/e|0,t=A%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var A=new i(1),o=new i(0),a=new i(0),s=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),c=t.clone();!t.isZero();){for(var f=0,d=1;0==(t.words[0]&d)&&f<26;++f,d<<=1);if(0<f)for(t.iushrn(f);0<f--;)(A.isOdd()||o.isOdd())&&(A.iadd(l),o.isub(c)),A.iushrn(1),o.iushrn(1);for(var g=0,h=1;0==(r.words[0]&h)&&g<26;++g,h<<=1);if(0<g)for(r.iushrn(g);0<g--;)(a.isOdd()||s.isOdd())&&(a.iadd(l),s.isub(c)),a.iushrn(1),s.iushrn(1);0<=t.cmp(r)?(t.isub(r),A.isub(a),o.isub(s)):(r.isub(t),a.isub(A),s.isub(o))}return{a:a,b:s,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var A,o=new i(1),a=new i(0),s=r.clone();0<t.cmpn(1)&&0<r.cmpn(1);){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(0<u)for(t.iushrn(u);0<u--;)o.isOdd()&&o.iadd(s),o.iushrn(1);for(var c=0,f=1;0==(r.words[0]&f)&&c<26;++c,f<<=1);if(0<c)for(r.iushrn(c);0<c--;)a.isOdd()&&a.iadd(s),a.iushrn(1);0<=t.cmp(r)?(t.isub(r),o.isub(a)):(r.isub(t),a.isub(o))}return(A=0===t.cmpn(1)?o:a).cmpn(0)<0&&A.iadd(e),A},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0;for(var n=r.negative=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var A=t.cmp(r);if(A<0){var i=t;t=r,r=i}else if(0===A||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,A=1<<t;if(this.length<=r)return this._expand(1+r),this.words[r]|=A,this;for(var i=A,o=r;0!==i&&o<this.length;o++){var a=0|this.words[o];i=(a+=i)>>>26,a&=67108863,this.words[o]=a}return 0!==i&&(this.words[o]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),1<this.length)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var A=0|this.words[0];t=A===e?0:A<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;0<=r;r--){var n=0|this.words[r],A=0|e.words[r];if(n!=A){n<A?t=-1:A<n&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return 0<=this.cmpn(e)},i.prototype.gte=function(e){return 0<=this.cmp(e)},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new Q(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var p={k256:null,p224:null,p192:null,p25519:null};function I(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function B(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function C(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function m(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function y(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Q(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function w(e){Q.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},I.prototype.ireduce=function(e){for(var t,r=e;this.split(r,this.tmp),(t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength())>this.n;);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):0<n?r.isub(this.p):r.strip(),r},I.prototype.split=function(e,t){e.iushrn(this.n,0,t)},I.prototype.imulK=function(e){return e.imul(this.k)},A(B,I),B.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var A=e.words[9];for(t.words[t.length++]=4194303&A,n=10;n<e.length;n++){var i=0|e.words[n];e.words[n-10]=(4194303&i)<<4|A>>>22,A=i}A>>>=22,0===(e.words[n-10]=A)&&10<e.length?e.length-=10:e.length-=9},B.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},A(C,I),A(m,I),A(y,I),y.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,A=67108863&n;n>>>=26,e.words[r]=A,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(p[e])return p[e];var t;if("k256"===e)t=new B;else if("p224"===e)t=new C;else if("p192"===e)t=new m;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new y}return p[e]=t},Q.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},Q.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},Q.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},Q.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},Q.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return 0<=r.cmp(this.m)&&r.isub(this.m),r._forceRed(this)},Q.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return 0<=r.cmp(this.m)&&r.isub(this.m),r},Q.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},Q.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},Q.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},Q.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},Q.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},Q.prototype.isqr=function(e){return this.imul(e,e.clone())},Q.prototype.sqr=function(e){return this.mul(e,e)},Q.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var A=this.m.subn(1),o=0;!A.isZero()&&0===A.andln(1);)o++,A.iushrn(1);n(!A.isZero());var a=new i(1).toRed(this),s=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(s);)l.redIAdd(s);for(var c=this.pow(l,A),f=this.pow(e,A.addn(1).iushrn(1)),d=this.pow(e,A),g=o;0!==d.cmp(a);){for(var h=d,p=0;0!==h.cmp(a);p++)h=h.redSqr();n(p<g);var I=this.pow(c,new i(1).iushln(g-p-1));f=f.redMul(I),c=I.redSqr(),d=d.redMul(c),g=p}return f},Q.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},Q.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var A=r[0],o=0,a=0,s=t.bitLength()%26;for(0===s&&(s=26),n=t.length-1;0<=n;n--){for(var u=t.words[n],l=s-1;0<=l;l--){var c=u>>l&1;A!==r[0]&&(A=this.sqr(A)),0!=c||0!==o?(o<<=1,o|=c,(4==++a||0===n&&0===l)&&(A=this.mul(A,r[o]),o=a=0)):a=0}s=26}return A},Q.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},Q.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new w(e)},A(w,Q),w.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},w.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},w.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=r.isub(n).iushrn(this.shift),i=A;return 0<=A.cmp(this.m)?i=A.isub(this.m):A.cmpn(0)<0&&(i=A.iadd(this.m)),i._forceRed(this)},w.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=r.isub(n).iushrn(this.shift),o=A;return 0<=A.cmp(this.m)?o=A.isub(this.m):A.cmpn(0)<0&&(o=A.iadd(this.m)),o._forceRed(this)},w.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t,this)},{buffer:11}],10:[function(e,r,n){(function(e){r.exports=function(t){var r=new Uint8Array(t);return(e.crypto||e.msCrypto).getRandomValues(r),r}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],11:[function(e,t,r){},{}],12:[function(e,t,r){"use strict";var n=r;n.version=e("../package.json").version,n.utils=e("./elliptic/utils"),n.rand=e("brorand"),n.hmacDRBG=e("./elliptic/hmac-drbg"),n.curve=e("./elliptic/curve"),n.curves=e("./elliptic/curves"),n.ec=e("./elliptic/ec"),n.eddsa=e("./elliptic/eddsa")},{"../package.json":26,"./elliptic/curve":15,"./elliptic/curves":18,"./elliptic/ec":19,"./elliptic/eddsa":22,"./elliptic/hmac-drbg":23,"./elliptic/utils":25,brorand:10}],13:[function(e,t,r){"use strict";var n=e("bn.js"),A=e("../../elliptic").utils,i=A.getNAF,o=A.getJSF,a=A.assert;function s(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var r=this.n&&this.p.div(this.n);!r||0<r.cmpn(100)?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}(t.exports=s).prototype.point=function(){throw new Error("Not implemented")},s.prototype.validate=function(){throw new Error("Not implemented")},s.prototype._fixedNafMul=function(e,t){a(e.precomputed);var r=e._getDoubles(),n=i(t,1),A=(1<<r.step+1)-(r.step%2==0?2:1);A/=3;for(var o=[],s=0;s<n.length;s+=r.step){var u=0;for(t=s+r.step-1;s<=t;t--)u=(u<<1)+n[t];o.push(u)}for(var l=this.jpoint(null,null,null),c=this.jpoint(null,null,null),f=A;0<f;f--){for(s=0;s<o.length;s++)(u=o[s])===f?c=c.mixedAdd(r.points[s]):u===-f&&(c=c.mixedAdd(r.points[s].neg()));l=l.add(c)}return l.toP()},s.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var A=n.points,o=i(t,r),s=this.jpoint(null,null,null),u=o.length-1;0<=u;u--){for(t=0;0<=u&&0===o[u];u--)t++;if(0<=u&&t++,s=s.dblp(t),u<0)break;var l=o[u];a(0!==l),s="affine"===e.type?0<l?s.mixedAdd(A[l-1>>1]):s.mixedAdd(A[-l-1>>1].neg()):0<l?s.add(A[l-1>>1]):s.add(A[-l-1>>1].neg())}return"affine"===e.type?s.toP():s},s.prototype._wnafMulAdd=function(e,t,r,n,A){for(var a=this._wnafT1,s=this._wnafT2,u=this._wnafT3,l=0,c=0;c<n;c++){var f=(b=t[c])._getNAFPoints(e);a[c]=f.wnd,s[c]=f.points}for(c=n-1;1<=c;c-=2){var d=c-1,g=c;if(1===a[d]&&1===a[g]){var h=[t[d],null,null,t[g]];0===t[d].y.cmp(t[g].y)?(h[1]=t[d].add(t[g]),h[2]=t[d].toJ().mixedAdd(t[g].neg())):0===t[d].y.cmp(t[g].y.redNeg())?(h[1]=t[d].toJ().mixedAdd(t[g]),h[2]=t[d].add(t[g].neg())):(h[1]=t[d].toJ().mixedAdd(t[g]),h[2]=t[d].toJ().mixedAdd(t[g].neg()));var p=[-3,-1,-5,-7,0,7,5,1,3],I=o(r[d],r[g]);l=Math.max(I[0].length,l),u[d]=new Array(l),u[g]=new Array(l);for(var B=0;B<l;B++){var C=0|I[0][B],m=0|I[1][B];u[d][B]=p[3*(1+C)+(1+m)],u[g][B]=0,s[d]=h}}else u[d]=i(r[d],a[d]),u[g]=i(r[g],a[g]),l=Math.max(u[d].length,l),l=Math.max(u[g].length,l)}var y=this.jpoint(null,null,null),Q=this._wnafT4;for(c=l;0<=c;c--){for(var w=0;0<=c;){var E=!0;for(B=0;B<n;B++)Q[B]=0|u[B][c],0!==Q[B]&&(E=!1);if(!E)break;w++,c--}if(0<=c&&w++,y=y.dblp(w),c<0)break;for(B=0;B<n;B++){var b,v=Q[B];0!==v&&(0<v?b=s[B][v-1>>1]:v<0&&(b=s[B][-v-1>>1].neg()),y="affine"===b.type?y.mixedAdd(b):y.add(b))}}for(c=0;c<n;c++)s[c]=null;return A?y:y.toP()},(s.BasePoint=u).prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},s.prototype.decodePoint=function(e,t){e=A.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r)return 6===e[0]?a(e[e.length-1]%2==0):7===e[0]&&a(e[e.length-1]%2==1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(e){return this.encode(e,!0)},u.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},u.prototype.encode=function(e,t){return A.encode(this._encode(t),e)},u.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},u.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,A=0;A<t;A+=e){for(var i=0;i<e;i++)n=n.dbl();r.push(n)}return{step:e,points:r}},u.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1==r?null:this.dbl(),A=1;A<r;A++)t[A]=t[A-1].add(n);return{wnd:e,points:t}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},{"../../elliptic":12,"bn.js":9}],14:[function(e,t,r){t.exports={}},{}],15:[function(e,t,r){"use strict";var n=r;n.base=e("./base"),n.short=e("./short"),n.mont=e("./mont"),n.edwards=e("./edwards")},{"./base":13,"./edwards":14,"./mont":16,"./short":17}],16:[function(e,t,r){arguments[4][14][0].apply(r,arguments)},{dup:14}],17:[function(e,t,r){"use strict";var n=e("../curve"),A=e("../../elliptic"),i=e("bn.js"),o=e("inherits"),a=n.base,s=A.utils.assert;function u(e){a.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function l(e,t,r,n){a.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(e,t,r,n){a.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(u,a),(t.exports=u).prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new i(e.lambda,16);else{var A=this._getEndoRoots(this.n);0===this.g.mul(A[0]).x.cmp(this.g.x.redMul(t))?r=A[0]:(r=A[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map(function(e){return{a:new i(e.a,16),b:new i(e.b,16)}}):this._getEndoBasis(r)}}},u.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),r=new i(2).toRed(t).redInvm(),n=r.redNeg(),A=new i(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(A).fromRed(),n.redSub(A).fromRed()]},u.prototype._getEndoBasis=function(e){for(var t,r,n,A,o,a,s,u,l,c=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,d=this.n.clone(),g=new i(1),h=new i(0),p=new i(0),I=new i(1),B=0;0!==f.cmpn(0);){var C=d.div(f);u=d.sub(C.mul(f)),l=p.sub(C.mul(g));var m=I.sub(C.mul(h));if(!n&&u.cmp(c)<0)t=s.neg(),r=g,n=u.neg(),A=l;else if(n&&2==++B)break;d=f,f=s=u,p=g,g=l,I=h,h=m}o=u.neg(),a=l;var y=n.sqr().add(A.sqr());return 0<=o.sqr().add(a.sqr()).cmp(y)&&(o=t,a=r),n.negative&&(n=n.neg(),A=A.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:n,b:A},{a:o,b:a}]},u.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],A=n.b.mul(e).divRound(this.n),i=r.b.neg().mul(e).divRound(this.n),o=A.mul(r.a),a=i.mul(n.a),s=A.mul(r.b),u=i.mul(n.b);return{k1:e.sub(o).sub(a),k2:s.add(u).neg()}},u.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var A=n.fromRed().isOdd();return(t&&!A||!t&&A)&&(n=n.redNeg()),this.point(e,n)},u.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),A=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(A).cmpn(0)},u.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,A=this._endoWnafT2,i=0;i<e.length;i++){var o=this._endoSplit(t[i]),a=e[i],s=a._getBeta();o.k1.negative&&(o.k1.ineg(),a=a.neg(!0)),o.k2.negative&&(o.k2.ineg(),s=s.neg(!0)),n[2*i]=a,n[2*i+1]=s,A[2*i]=o.k1,A[2*i+1]=o.k2}for(var u=this._wnafMulAdd(1,n,A,2*i,r),l=0;l<2*i;l++)n[l]=null,A[l]=null;return u},o(l,a.BasePoint),u.prototype.point=function(e,t,r){return new l(this,e,t,r)},u.prototype.pointFromJSON=function(e,t){return l.fromJSON(this,e,t)},l.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};(e.beta=t).precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},l.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},l.fromJSON=function(e,t,r){"string"==typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function A(t){return e.point(t[0],t[1],r)}var i=t[2];return n.precomputed={beta:null,doubles:i.doubles&&{step:i.doubles.step,points:[n].concat(i.doubles.points.map(A))},naf:i.naf&&{wnd:i.naf.wnd,points:[n].concat(i.naf.points.map(A))}},n},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),A=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),i=A.redSqr().redISub(this.x.redAdd(this.x)),o=A.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,o)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new i(e,16),this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,r){var n=[this,t],A=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,A):this.curve._wnafMulAdd(1,n,A,2)},l.prototype.jmulAdd=function(e,t,r){var n=[this,t],A=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,A,!0):this.curve._wnafMulAdd(1,n,A,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},l.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(c,a.BasePoint),u.prototype.jpoint=function(e,t,r){return new c(this,e,t,r)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),A=e.x.redMul(r),i=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),a=n.redSub(A),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),l=u.redMul(a),c=n.redMul(u),f=s.redSqr().redIAdd(l).redISub(c).redISub(c),d=s.redMul(c.redISub(f)).redISub(i.redMul(l)),g=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(f,d,g)},c.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),A=this.y,i=e.y.redMul(t).redMul(this.z),o=r.redSub(n),a=A.redSub(i);if(0===o.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var s=o.redSqr(),u=s.redMul(o),l=r.redMul(s),c=a.redSqr().redIAdd(u).redISub(l).redISub(l),f=a.redMul(l.redISub(c)).redISub(A.redMul(u)),d=this.z.redMul(o);return this.curve.jpoint(c,f,d)},c.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}var n=this.curve.a,A=this.curve.tinv,i=this.x,o=this.y,a=this.z,s=a.redSqr().redSqr(),u=o.redAdd(o);for(r=0;r<e;r++){var l=i.redSqr(),c=u.redSqr(),f=c.redSqr(),d=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(s)),g=i.redMul(c),h=d.redSqr().redISub(g.redAdd(g)),p=g.redISub(h),I=d.redMul(p);I=I.redIAdd(I).redISub(f);var B=u.redMul(a);r+1<e&&(s=s.redMul(f)),i=h,a=B,u=I}return this.curve.jpoint(i,u.redMul(A),a)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},c.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),A=this.y.redSqr(),i=A.redSqr(),o=this.x.redAdd(A).redSqr().redISub(n).redISub(i);o=o.redIAdd(o);var a=n.redAdd(n).redIAdd(n),s=a.redSqr().redISub(o).redISub(o),u=i.redIAdd(i);u=(u=u.redIAdd(u)).redIAdd(u),e=s,t=a.redMul(o.redISub(s)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),c=this.y.redSqr(),f=c.redSqr(),d=this.x.redAdd(c).redSqr().redISub(l).redISub(f);d=d.redIAdd(d);var g=l.redAdd(l).redIAdd(l),h=g.redSqr(),p=f.redIAdd(f);p=(p=p.redIAdd(p)).redIAdd(p),e=h.redISub(d).redISub(d),t=g.redMul(d.redISub(e)).redISub(p),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},c.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),A=this.y.redSqr(),i=A.redSqr(),o=this.x.redAdd(A).redSqr().redISub(n).redISub(i);o=o.redIAdd(o);var a=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),s=a.redSqr().redISub(o).redISub(o);e=s;var u=i.redIAdd(i);u=(u=u.redIAdd(u)).redIAdd(u),t=a.redMul(o.redISub(s)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),c=this.y.redSqr(),f=this.x.redMul(c),d=this.x.redSub(l).redMul(this.x.redAdd(l));d=d.redAdd(d).redIAdd(d);var g=f.redIAdd(f),h=(g=g.redIAdd(g)).redAdd(g);e=d.redSqr().redISub(h),r=this.y.redAdd(this.z).redSqr().redISub(c).redISub(l);var p=c.redSqr();p=(p=(p=p.redIAdd(p)).redIAdd(p)).redIAdd(p),t=d.redMul(g.redISub(e)).redISub(p)}return this.curve.jpoint(e,t,r)},c.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,A=n.redSqr().redSqr(),i=t.redSqr(),o=r.redSqr(),a=i.redAdd(i).redIAdd(i).redIAdd(e.redMul(A)),s=t.redAdd(t),u=(s=s.redIAdd(s)).redMul(o),l=a.redSqr().redISub(u.redAdd(u)),c=u.redISub(l),f=o.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=a.redMul(c).redISub(f),g=r.redAdd(r).redMul(n);return this.curve.jpoint(l,d,g)},c.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),A=e.redAdd(e).redIAdd(e),i=A.redSqr(),o=this.x.redAdd(t).redSqr().redISub(e).redISub(n),a=(o=(o=(o=o.redIAdd(o)).redAdd(o).redIAdd(o)).redISub(i)).redSqr(),s=n.redIAdd(n);s=(s=(s=s.redIAdd(s)).redIAdd(s)).redIAdd(s);var u=A.redIAdd(o).redSqr().redISub(i).redISub(a).redISub(s),l=t.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var c=this.x.redMul(a).redISub(l);c=(c=c.redIAdd(c)).redIAdd(c);var f=this.y.redMul(u.redMul(s.redISub(u)).redISub(o.redMul(a)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=this.z.redAdd(o).redSqr().redISub(r).redISub(a);return this.curve.jpoint(c,f,d)},c.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},c.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),A=r.redMul(e.z);return 0===this.y.redMul(A).redISub(e.y.redMul(n)).cmpn(0)},c.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),A=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),0<=n.cmp(this.curve.p))return!1;if(r.redIAdd(A),0===this.x.cmp(r))return!0}return!1},c.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../../elliptic":12,"../curve":15,"bn.js":9,inherits:39}],18:[function(e,t,r){"use strict";var n,A=r,i=e("hash.js"),o=e("../elliptic"),a=o.utils.assert;function s(e){"short"===e.type?this.curve=new o.curve.short(e):"edwards"===e.type?this.curve=new o.curve.edwards(e):this.curve=new o.curve.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(A,e,{configurable:!0,enumerable:!0,get:function(){var r=new s(t);return Object.defineProperty(A,e,{configurable:!0,enumerable:!0,value:r}),r}})}A.PresetCurve=s,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=e("./precomputed/secp256k1")}catch(e){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},{"../elliptic":12,"./precomputed/secp256k1":24,"hash.js":27}],19:[function(e,t,r){"use strict";var n=e("bn.js"),A=e("../../elliptic"),i=A.utils.assert,o=e("./key"),a=e("./signature");function s(e){if(!(this instanceof s))return new s(e);"string"==typeof e&&(i(A.curves.hasOwnProperty(e),"Unknown curve "+e),e=A.curves[e]),e instanceof A.curves.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}(t.exports=s).prototype.keyPair=function(e){return new o(this,e)},s.prototype.keyFromPrivate=function(e,t){return o.fromPrivate(this,e,t)},s.prototype.keyFromPublic=function(e,t){return o.fromPublic(this,e,t)},s.prototype.genKeyPair=function(e){e=e||{};for(var t=new A.hmacDRBG({hash:this.hash,pers:e.pers,entropy:e.entropy||A.rand(this.hash.hmacStrength),nonce:this.n.toArray()}),r=this.n.byteLength(),i=this.n.sub(new n(2));;){var o=new n(t.generate(r));if(!(0<o.cmp(i)))return o.iaddn(1),this.keyFromPrivate(o)}},s.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return 0<r&&(e=e.ushrn(r)),!t&&0<=e.cmp(this.n)?e.sub(this.n):e},s.prototype.sign=function(e,t,r,i){"object"==typeof r&&(i=r,r=null),i=i||{},t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var o=this.n.byteLength(),s=t.getPrivate().toArray("be",o),u=e.toArray("be",o),l=new A.hmacDRBG({hash:this.hash,entropy:s,nonce:u,pers:i.pers,persEnc:i.persEnc}),c=this.n.sub(new n(1)),f=0;;f++){var d=i.k?i.k(f):new n(l.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||0<=d.cmp(c))){var g=this.g.mul(d);if(!g.isInfinity()){var h=g.getX(),p=h.umod(this.n);if(0!==p.cmpn(0)){var I=d.invm(this.n).mul(p.mul(t.getPrivate()).iadd(e));if(0!==(I=I.umod(this.n)).cmpn(0)){var B=(g.getY().isOdd()?1:0)|(0!==h.cmp(p)?2:0);return i.canonical&&0<I.cmp(this.nh)&&(I=this.n.sub(I),B^=1),new a({r:p,s:I,recoveryParam:B})}}}}}},s.prototype.verify=function(e,t,r,A){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,A);var i=(t=new a(t,"hex")).r,o=t.s;if(i.cmpn(1)<0||0<=i.cmp(this.n))return!1;if(o.cmpn(1)<0||0<=o.cmp(this.n))return!1;var s,u=o.invm(this.n),l=u.mul(e).umod(this.n),c=u.mul(i).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(l,r.getPublic(),c)).isInfinity()&&s.eqXToP(i):!(s=this.g.mulAdd(l,r.getPublic(),c)).isInfinity()&&0===s.getX().umod(this.n).cmp(i)},s.prototype.recoverPubKey=function(e,t,r,A){i((3&r)===r,"The recovery param is more than two bits"),t=new a(t,A);var o=this.n,s=new n(e),u=t.r,l=t.s,c=1&r,f=r>>1;if(0<=u.cmp(this.curve.p.umod(this.curve.n))&&f)throw new Error("Unable to find sencond key candinate");u=f?this.curve.pointFromX(u.add(this.curve.n),c):this.curve.pointFromX(u,c);var d=t.r.invm(o),g=o.sub(s).mul(d).umod(o),h=l.mul(d).umod(o);return this.g.mulAdd(g,u,h)},s.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new a(t,n)).recoveryParam)return t.recoveryParam;for(var A=0;A<4;A++){var i;try{i=this.recoverPubKey(e,t,A)}catch(e){continue}if(i.eq(r))return A}throw new Error("Unable to find valid recovery factor")}},{"../../elliptic":12,"./key":20,"./signature":21,"bn.js":9}],20:[function(e,t,r){"use strict";var n=e("bn.js"),A=e("../../elliptic").utils.assert;function i(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}(t.exports=i).fromPublic=function(e,t,r){return t instanceof i?t:new i(e,{pub:t,pubEnc:r})},i.fromPrivate=function(e,t,r){return t instanceof i?t:new i(e,{priv:t,privEnc:r})},i.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},i.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?A(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||A(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},i.prototype.derive=function(e){return e.mul(this.priv).getX()},i.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},i.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},i.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../../elliptic":12,"bn.js":9}],21:[function(e,t,r){"use strict";var n=e("bn.js"),A=e("../../elliptic").utils,i=A.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(i(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function a(){this.place=0}function s(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,A=0,i=0,o=t.place;i<n;i++,o++)A<<=8,A|=e[o];return t.place=o,A}function u(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function l(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}(t.exports=o).prototype._importDER=function(e,t){e=A.toArray(e,t);var r=new a;if(48!==e[r.place++])return!1;if(s(e,r)+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var i=s(e,r),o=e.slice(r.place,i+r.place);if(r.place+=i,2!==e[r.place++])return!1;var u=s(e,r);if(e.length!==u+r.place)return!1;var l=e.slice(r.place,u+r.place);return 0===o[0]&&128&o[1]&&(o=o.slice(1)),0===l[0]&&128&l[1]&&(l=l.slice(1)),this.r=new n(o),this.s=new n(l),!(this.recoveryParam=null)},o.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];l(n,t.length),(n=n.concat(t)).push(2),l(n,r.length);var i=n.concat(r),o=[48];return l(o,i.length),o=o.concat(i),A.encode(o,e)}},{"../../elliptic":12,"bn.js":9}],22:[function(e,t,r){arguments[4][14][0].apply(r,arguments)},{dup:14}],23:[function(e,t,r){"use strict";var n=e("hash.js"),A=e("../elliptic").utils,i=A.assert;function o(e){if(!(this instanceof o))return new o(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this.reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=A.toArray(e.entropy,e.entropyEnc),r=A.toArray(e.nonce,e.nonceEnc),n=A.toArray(e.pers,e.persEnc);i(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}(t.exports=o).prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var A=0;A<this.V.length;A++)this.K[A]=0,this.V[A]=1;this._update(n),this.reseed=1,this.reseedInterval=281474976710656},o.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},o.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},o.prototype.reseed=function(e,t,r,n){"string"!=typeof t&&(n=r,r=t,t=null),e=A.toBuffer(e,t),r=A.toBuffer(r,n),i(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this.reseed=1},o.prototype.generate=function(e,t,r,n){if(this.reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=A.toArray(r,n),this._update(r));for(var i=[];i.length<e;)this.V=this._hmac().update(this.V).digest(),i=i.concat(this.V);var o=i.slice(0,e);return this._update(r),this.reseed++,A.encode(o,t)}},{"../elliptic":12,"hash.js":27}],24:[function(e,t,r){t.exports=void 0},{}],25:[function(e,t,r){"use strict";var n=r,A=e("bn.js");function i(e){return 1===e.length?"0"+e:e}function o(e){for(var t="",r=0;r<e.length;r++)t+=i(e[r].toString(16));return t}n.assert=function(e,t){if(!e)throw new Error(t||"Assertion failed")},n.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!=typeof e){for(var n=0;n<e.length;n++)r[n]=0|e[n];return r}if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(n=0;n<e.length;n++){var A=e.charCodeAt(n),i=A>>8,o=255&A;i?r.push(i,o):r.push(o)}return r},n.zero2=i,n.toHex=o,n.encode=function(e,t){return"hex"===t?o(e):e},n.getNAF=function(e,t){for(var r=[],n=1<<t+1,A=e.clone();0<=A.cmpn(1);){var i;if(A.isOdd()){var o=A.andln(n-1);i=(n>>1)-1<o?(n>>1)-o:o,A.isubn(i)}else i=0;r.push(i);for(var a=0!==A.cmpn(0)&&0===A.andln(n-1)?t+1:1,s=1;s<a;s++)r.push(0);A.iushrn(a)}return r},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,A=0;0<e.cmpn(-n)||0<t.cmpn(-A);){var i,o,a,s=e.andln(3)+n&3,u=t.andln(3)+A&3;3===s&&(s=-1),3===u&&(u=-1),i=0==(1&s)?0:3!=(a=e.andln(7)+n&7)&&5!==a||2!==u?s:-s,r[0].push(i),o=0==(1&u)?0:3!=(a=t.andln(7)+A&7)&&5!==a||2!==s?u:-u,r[1].push(o),2*n===i+1&&(n=1-n),2*A===o+1&&(A=1-A),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new A(e,"hex","le")}},{"bn.js":9}],26:[function(e,t,r){t.exports={version:"6.3.3"}},{}],27:[function(e,t,r){var n=r;n.utils=e("./hash/utils"),n.common=e("./hash/common"),n.sha=e("./hash/sha"),n.ripemd=e("./hash/ripemd"),n.hmac=e("./hash/hmac"),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},{"./hash/common":28,"./hash/hmac":29,"./hash/ripemd":30,"./hash/sha":31,"./hash/utils":38}],28:[function(e,t,r){"use strict";var n=e("./utils"),A=e("minimalistic-assert");function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}(r.BlockHash=i).prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var A=0;A<e.length;A+=this._delta32)this._update(e,A,A+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),A(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var A=1;A<r;A++)n[A]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)n[A++]=0;n[A++]=0,n[A++]=0,n[A++]=0,n[A++]=0,n[A++]=e>>>24&255,n[A++]=e>>>16&255,n[A++]=e>>>8&255,n[A++]=255&e}else for(n[A++]=255&e,n[A++]=e>>>8&255,n[A++]=e>>>16&255,n[A++]=e>>>24&255,n[A++]=0,n[A++]=0,n[A++]=0,n[A++]=0,i=8;i<this.padLength;i++)n[A++]=0;return n}},{"./utils":38,"minimalistic-assert":41}],29:[function(e,t,r){"use strict";var n=e("./utils"),A=e("minimalistic-assert");function i(e,t,r){if(!(this instanceof i))return new i(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}(t.exports=i).prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),A(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},i.prototype.update=function(e,t){return this.inner.update(e,t),this},i.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},{"./utils":38,"minimalistic-assert":41}],30:[function(e,t,r){"use strict";var n=e("./utils"),A=e("./common"),i=n.rotl32,o=n.sum32,a=n.sum32_3,s=n.sum32_4,u=A.BlockHash;function l(){if(!(this instanceof l))return new l;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function c(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function f(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function d(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(l,u),(r.ripemd160=l).blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],A=this.h[2],u=this.h[3],l=this.h[4],B=r,C=n,m=A,y=u,Q=l,w=0;w<80;w++){var E=o(i(s(r,c(w,n,A,u),e[g[w]+t],f(w)),p[w]),l);r=l,l=u,u=i(A,10),A=n,n=E,E=o(i(s(B,c(79-w,C,m,y),e[h[w]+t],d(w)),I[w]),Q),B=Q,Q=y,y=i(m,10),m=C,C=E}E=a(this.h[1],A,y),this.h[1]=a(this.h[2],u,Q),this.h[2]=a(this.h[3],l,B),this.h[3]=a(this.h[4],r,C),this.h[4]=a(this.h[0],n,m),this.h[0]=E},l.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var g=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],h=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],p=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],I=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":28,"./utils":38}],31:[function(e,t,r){"use strict";r.sha1=e("./sha/1"),r.sha224=e("./sha/224"),r.sha256=e("./sha/256"),r.sha384=e("./sha/384"),r.sha512=e("./sha/512")},{"./sha/1":32,"./sha/224":33,"./sha/256":34,"./sha/384":35,"./sha/512":36}],32:[function(e,t,r){arguments[4][14][0].apply(r,arguments)},{dup:14}],33:[function(e,t,r){arguments[4][14][0].apply(r,arguments)},{dup:14}],34:[function(e,t,r){"use strict";var n=e("../utils"),A=e("../common"),i=e("./common"),o=e("minimalistic-assert"),a=n.sum32,s=n.sum32_4,u=n.sum32_5,l=i.ch32,c=i.maj32,f=i.s0_256,d=i.s1_256,g=i.g0_256,h=i.g1_256,p=A.BlockHash,I=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function B(){if(!(this instanceof B))return new B;p.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=I,this.W=new Array(64)}n.inherits(B,p),(t.exports=B).blockSize=512,B.outSize=256,B.hmacStrength=192,B.padLength=64,B.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=s(h(r[n-2]),r[n-7],g(r[n-15]),r[n-16]);var A=this.h[0],i=this.h[1],p=this.h[2],I=this.h[3],B=this.h[4],C=this.h[5],m=this.h[6],y=this.h[7];for(o(this.k.length===r.length),n=0;n<r.length;n++){var Q=u(y,d(B),l(B,C,m),this.k[n],r[n]),w=a(f(A),c(A,i,p));y=m,m=C,C=B,B=a(I,Q),I=p,p=i,i=A,A=a(Q,w)}this.h[0]=a(this.h[0],A),this.h[1]=a(this.h[1],i),this.h[2]=a(this.h[2],p),this.h[3]=a(this.h[3],I),this.h[4]=a(this.h[4],B),this.h[5]=a(this.h[5],C),this.h[6]=a(this.h[6],m),this.h[7]=a(this.h[7],y)},B.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":28,"../utils":38,"./common":37,"minimalistic-assert":41}],35:[function(e,t,r){arguments[4][14][0].apply(r,arguments)},{dup:14}],36:[function(e,t,r){"use strict";var n=e("../utils"),A=e("../common"),i=e("minimalistic-assert"),o=n.rotr64_hi,a=n.rotr64_lo,s=n.shr64_hi,u=n.shr64_lo,l=n.sum64,c=n.sum64_hi,f=n.sum64_lo,d=n.sum64_4_hi,g=n.sum64_4_lo,h=n.sum64_5_hi,p=n.sum64_5_lo,I=A.BlockHash,B=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function C(){if(!(this instanceof C))return new C;I.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=B,this.W=new Array(160)}function m(e,t,r,n,A){var i=e&r^~e&A;return i<0&&(i+=4294967296),i}function y(e,t,r,n,A,i){var o=t&n^~t&i;return o<0&&(o+=4294967296),o}function Q(e,t,r,n,A){var i=e&r^e&A^r&A;return i<0&&(i+=4294967296),i}function w(e,t,r,n,A,i){var o=t&n^t&i^n&i;return o<0&&(o+=4294967296),o}function E(e,t){var r=o(e,t,28)^o(t,e,2)^o(t,e,7);return r<0&&(r+=4294967296),r}function b(e,t){var r=a(e,t,28)^a(t,e,2)^a(t,e,7);return r<0&&(r+=4294967296),r}function v(e,t){var r=o(e,t,14)^o(e,t,18)^o(t,e,9);return r<0&&(r+=4294967296),r}function D(e,t){var r=a(e,t,14)^a(e,t,18)^a(t,e,9);return r<0&&(r+=4294967296),r}function M(e,t){var r=o(e,t,1)^o(e,t,8)^s(e,t,7);return r<0&&(r+=4294967296),r}function k(e,t){var r=a(e,t,1)^a(e,t,8)^u(e,t,7);return r<0&&(r+=4294967296),r}function _(e,t){var r=o(e,t,19)^o(t,e,29)^s(e,t,6);return r<0&&(r+=4294967296),r}function S(e,t){var r=a(e,t,19)^a(t,e,29)^u(e,t,6);return r<0&&(r+=4294967296),r}n.inherits(C,I),(t.exports=C).blockSize=1024,C.outSize=512,C.hmacStrength=192,C.padLength=128,C.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var A=_(r[n-4],r[n-3]),i=S(r[n-4],r[n-3]),o=r[n-14],a=r[n-13],s=M(r[n-30],r[n-29]),u=k(r[n-30],r[n-29]),l=r[n-32],c=r[n-31];r[n]=d(A,i,o,a,s,u,l,c),r[n+1]=g(A,i,o,a,s,u,l,c)}},C.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],A=this.h[1],o=this.h[2],a=this.h[3],s=this.h[4],u=this.h[5],d=this.h[6],g=this.h[7],I=this.h[8],B=this.h[9],C=this.h[10],M=this.h[11],k=this.h[12],_=this.h[13],S=this.h[14],N=this.h[15];i(this.k.length===r.length);for(var F=0;F<r.length;F+=2){var x=S,G=N,H=v(I,B),U=D(I,B),Y=m(I,0,C,0,k),L=y(0,B,0,M,0,_),O=this.k[F],K=this.k[F+1],P=r[F],R=r[F+1],T=h(x,G,H,U,Y,L,O,K,P,R),J=p(x,G,H,U,Y,L,O,K,P,R);x=E(n,A),G=b(n,A),H=Q(n,0,o,0,s),U=w(0,A,0,a,0,u);var j=c(x,G,H,U),q=f(x,G,H,U);S=k,N=_,k=C,_=M,C=I,M=B,I=c(d,g,T,J),B=f(g,g,T,J),d=s,g=u,s=o,u=a,o=n,a=A,n=c(T,J,j,q),A=f(T,J,j,q)}l(this.h,0,n,A),l(this.h,2,o,a),l(this.h,4,s,u),l(this.h,6,d,g),l(this.h,8,I,B),l(this.h,10,C,M),l(this.h,12,k,_),l(this.h,14,S,N)},C.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":28,"../utils":38,"minimalistic-assert":41}],37:[function(e,t,r){"use strict";var n=e("../utils").rotr32;function A(e,t,r){return e&t^~e&r}function i(e,t,r){return e&t^e&r^t&r}function o(e,t,r){return e^t^r}r.ft_1=function(e,t,r,n){return 0===e?A(t,r,n):1===e||3===e?o(t,r,n):2===e?i(t,r,n):void 0},r.ch32=A,r.maj32=i,r.p32=o,r.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},r.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},r.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},r.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},{"../utils":38}],38:[function(e,t,r){"use strict";var n=e("minimalistic-assert"),A=e("inherits");function i(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function o(e){return 1===e.length?"0"+e:e}function a(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}r.inherits=A,r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(var n=0;n<e.length;n++){var A=e.charCodeAt(n),i=A>>8,o=255&A;i?r.push(i,o):r.push(o)}else for(n=0;n<e.length;n++)r[n]=0|e[n];return r},r.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=o(e[r].toString(16));return t},r.htonl=i,r.toHex32=function(e,t){for(var r="",n=0;n<e.length;n++){var A=e[n];"little"===t&&(A=i(A)),r+=a(A.toString(16))}return r},r.zero2=o,r.zero8=a,r.join32=function(e,t,r,A){var i=r-t;n(i%4==0);for(var o=new Array(i/4),a=0,s=t;a<o.length;a++,s+=4){var u;u="big"===A?e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]:e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s],o[a]=u>>>0}return o},r.split32=function(e,t){for(var r=new Array(4*e.length),n=0,A=0;n<e.length;n++,A+=4){var i=e[n];"big"===t?(r[A]=i>>>24,r[A+1]=i>>>16&255,r[A+2]=i>>>8&255,r[A+3]=255&i):(r[A+3]=i>>>24,r[A+2]=i>>>16&255,r[A+1]=i>>>8&255,r[A]=255&i)}return r},r.rotr32=function(e,t){return e>>>t|e<<32-t},r.rotl32=function(e,t){return e<<t|e>>>32-t},r.sum32=function(e,t){return e+t>>>0},r.sum32_3=function(e,t,r){return e+t+r>>>0},r.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},r.sum32_5=function(e,t,r,n,A){return e+t+r+n+A>>>0},r.sum64=function(e,t,r,n){var A=e[t],i=n+e[t+1]>>>0,o=(i<n?1:0)+r+A;e[t]=o>>>0,e[t+1]=i},r.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},r.sum64_lo=function(e,t,r,n){return t+n>>>0},r.sum64_4_hi=function(e,t,r,n,A,i,o,a){var s=0,u=t;return s+=(u=u+n>>>0)<t?1:0,s+=(u=u+i>>>0)<i?1:0,e+r+A+o+(s+=(u=u+a>>>0)<a?1:0)>>>0},r.sum64_4_lo=function(e,t,r,n,A,i,o,a){return t+n+i+a>>>0},r.sum64_5_hi=function(e,t,r,n,A,i,o,a,s,u){var l=0,c=t;return l+=(c=c+n>>>0)<t?1:0,l+=(c=c+i>>>0)<i?1:0,l+=(c=c+a>>>0)<a?1:0,e+r+A+o+s+(l+=(c=c+u>>>0)<u?1:0)>>>0},r.sum64_5_lo=function(e,t,r,n,A,i,o,a,s,u){return t+n+i+a+u>>>0},r.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},r.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},r.shr64_hi=function(e,t,r){return e>>>r},r.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},{inherits:39,"minimalistic-assert":41}],39:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){function r(){}e.super_=t,r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},{}],40:[function(e,r,n){(function(e,t){!function(){"use strict";var n="object"==typeof window?window:{};!n.JS_SHA3_NO_NODE_JS&&"object"==typeof e&&e.versions&&e.versions.node&&(n=t);for(var A=!n.JS_SHA3_NO_COMMON_JS&&"object"==typeof r&&r.exports,i="0123456789abcdef".split(""),o=[0,8,16,24],a=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],s=[224,256,384,512],u=["hex","buffer","arrayBuffer","array"],l=function(e,t,r){return function(n){return new y(e,t,e).update(n)[r]()}},c=function(e,t,r){return function(n,A){return new y(e,t,A).update(n)[r]()}},f=function(e,t){var r=l(e,t,"hex");r.create=function(){return new y(e,t,e)},r.update=function(e){return r.create().update(e)};for(var n=0;n<u.length;++n){var A=u[n];r[A]=l(e,t,A)}return r},d=[{name:"keccak",padding:[1,256,65536,16777216],bits:s,createMethod:f},{name:"sha3",padding:[6,1536,393216,100663296],bits:s,createMethod:f},{name:"shake",padding:[31,7936,2031616,520093696],bits:[128,256],createMethod:function(e,t){var r=c(e,t,"hex");r.create=function(r){return new y(e,t,r)},r.update=function(e,t){return r.create(t).update(e)};for(var n=0;n<u.length;++n){var A=u[n];r[A]=c(e,t,A)}return r}}],g={},h=[],p=0;p<d.length;++p)for(var I=d[p],B=I.bits,C=0;C<B.length;++C){var m=I.name+"_"+B[C];h.push(m),g[m]=I.createMethod(B[C],I.padding)}function y(e,t,r){this.blocks=[],this.s=[],this.padding=t,this.outputBits=r,this.reset=!0,this.block=0,this.start=0,this.blockCount=1600-(e<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}y.prototype.update=function(e){var t="string"!=typeof e;t&&e.constructor===ArrayBuffer&&(e=new Uint8Array(e));for(var r,n,A=e.length,i=this.blocks,a=this.byteCount,s=this.blockCount,u=0,l=this.s;u<A;){if(this.reset)for(this.reset=!1,i[0]=this.block,r=1;r<s+1;++r)i[r]=0;if(t)for(r=this.start;u<A&&r<a;++u)i[r>>2]|=e[u]<<o[3&r++];else for(r=this.start;u<A&&r<a;++u)(n=e.charCodeAt(u))<128?i[r>>2]|=n<<o[3&r++]:(n<2048?i[r>>2]|=(192|n>>6)<<o[3&r++]:(n<55296||57344<=n?i[r>>2]|=(224|n>>12)<<o[3&r++]:(n=65536+((1023&n)<<10|1023&e.charCodeAt(++u)),i[r>>2]|=(240|n>>18)<<o[3&r++],i[r>>2]|=(128|n>>12&63)<<o[3&r++]),i[r>>2]|=(128|n>>6&63)<<o[3&r++]),i[r>>2]|=(128|63&n)<<o[3&r++]);if(a<=(this.lastByteIndex=r)){for(this.start=r-a,this.block=i[s],r=0;r<s;++r)l[r]^=i[r];Q(l),this.reset=!0}else this.start=r}return this},y.prototype.finalize=function(){var e=this.blocks,t=this.lastByteIndex,r=this.blockCount,n=this.s;if(e[t>>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[r],t=1;t<r+1;++t)e[t]=0;for(e[r-1]|=2147483648,t=0;t<r;++t)n[t]^=e[t];Q(n)},y.prototype.toString=y.prototype.hex=function(){this.finalize();for(var e,t=this.blockCount,r=this.s,n=this.outputBlocks,A=this.extraBytes,o=0,a=0,s="";a<n;){for(o=0;o<t&&a<n;++o,++a)e=r[o],s+=i[e>>4&15]+i[15&e]+i[e>>12&15]+i[e>>8&15]+i[e>>20&15]+i[e>>16&15]+i[e>>28&15]+i[e>>24&15];a%t==0&&(Q(r),o=0)}return A&&(e=r[o],0<A&&(s+=i[e>>4&15]+i[15&e]),1<A&&(s+=i[e>>12&15]+i[e>>8&15]),2<A&&(s+=i[e>>20&15]+i[e>>16&15])),s},y.prototype.buffer=y.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,r=this.s,n=this.outputBlocks,A=this.extraBytes,i=0,o=0,a=this.outputBits>>3;e=A?new ArrayBuffer(n+1<<2):new ArrayBuffer(a);for(var s=new Uint32Array(e);o<n;){for(i=0;i<t&&o<n;++i,++o)s[o]=r[i];o%t==0&&Q(r)}return A&&(s[i]=r[i],e=e.slice(0,a)),e},y.prototype.digest=y.prototype.array=function(){this.finalize();for(var e,t,r=this.blockCount,n=this.s,A=this.outputBlocks,i=this.extraBytes,o=0,a=0,s=[];a<A;){for(o=0;o<r&&a<A;++o,++a)e=a<<2,t=n[o],s[e]=255&t,s[e+1]=t>>8&255,s[e+2]=t>>16&255,s[e+3]=t>>24&255;a%r==0&&Q(n)}return i&&(e=a<<2,t=n[o],0<i&&(s[e]=255&t),1<i&&(s[e+1]=t>>8&255),2<i&&(s[e+2]=t>>16&255)),s};var Q=function(e){var t,r,n,A,i,o,s,u,l,c,f,d,g,h,p,I,B,C,m,y,Q,w,E,b,v,D,M,k,_,S,N,F,x,G,H,U,Y,L,O,K,P,R,T,J,j,q,V,W,z,Z,X,$,ee,te,re,ne,Ae,ie,oe,ae,se,ue,le;for(n=0;n<48;n+=2)A=e[0]^e[10]^e[20]^e[30]^e[40],i=e[1]^e[11]^e[21]^e[31]^e[41],o=e[2]^e[12]^e[22]^e[32]^e[42],s=e[3]^e[13]^e[23]^e[33]^e[43],u=e[4]^e[14]^e[24]^e[34]^e[44],l=e[5]^e[15]^e[25]^e[35]^e[45],c=e[6]^e[16]^e[26]^e[36]^e[46],f=e[7]^e[17]^e[27]^e[37]^e[47],t=(d=e[8]^e[18]^e[28]^e[38]^e[48])^(o<<1|s>>>31),r=(g=e[9]^e[19]^e[29]^e[39]^e[49])^(s<<1|o>>>31),e[0]^=t,e[1]^=r,e[10]^=t,e[11]^=r,e[20]^=t,e[21]^=r,e[30]^=t,e[31]^=r,e[40]^=t,e[41]^=r,t=A^(u<<1|l>>>31),r=i^(l<<1|u>>>31),e[2]^=t,e[3]^=r,e[12]^=t,e[13]^=r,e[22]^=t,e[23]^=r,e[32]^=t,e[33]^=r,e[42]^=t,e[43]^=r,t=o^(c<<1|f>>>31),r=s^(f<<1|c>>>31),e[4]^=t,e[5]^=r,e[14]^=t,e[15]^=r,e[24]^=t,e[25]^=r,e[34]^=t,e[35]^=r,e[44]^=t,e[45]^=r,t=u^(d<<1|g>>>31),r=l^(g<<1|d>>>31),e[6]^=t,e[7]^=r,e[16]^=t,e[17]^=r,e[26]^=t,e[27]^=r,e[36]^=t,e[37]^=r,e[46]^=t,e[47]^=r,t=c^(A<<1|i>>>31),r=f^(i<<1|A>>>31),e[8]^=t,e[9]^=r,e[18]^=t,e[19]^=r,e[28]^=t,e[29]^=r,e[38]^=t,e[39]^=r,e[48]^=t,e[49]^=r,h=e[0],p=e[1],q=e[11]<<4|e[10]>>>28,V=e[10]<<4|e[11]>>>28,k=e[20]<<3|e[21]>>>29,_=e[21]<<3|e[20]>>>29,ae=e[31]<<9|e[30]>>>23,se=e[30]<<9|e[31]>>>23,R=e[40]<<18|e[41]>>>14,T=e[41]<<18|e[40]>>>14,G=e[2]<<1|e[3]>>>31,H=e[3]<<1|e[2]>>>31,I=e[13]<<12|e[12]>>>20,B=e[12]<<12|e[13]>>>20,W=e[22]<<10|e[23]>>>22,z=e[23]<<10|e[22]>>>22,S=e[33]<<13|e[32]>>>19,N=e[32]<<13|e[33]>>>19,ue=e[42]<<2|e[43]>>>30,le=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,re=e[4]<<30|e[5]>>>2,U=e[14]<<6|e[15]>>>26,Y=e[15]<<6|e[14]>>>26,C=e[25]<<11|e[24]>>>21,m=e[24]<<11|e[25]>>>21,Z=e[34]<<15|e[35]>>>17,X=e[35]<<15|e[34]>>>17,F=e[45]<<29|e[44]>>>3,x=e[44]<<29|e[45]>>>3,b=e[6]<<28|e[7]>>>4,v=e[7]<<28|e[6]>>>4,ne=e[17]<<23|e[16]>>>9,Ae=e[16]<<23|e[17]>>>9,L=e[26]<<25|e[27]>>>7,O=e[27]<<25|e[26]>>>7,y=e[36]<<21|e[37]>>>11,Q=e[37]<<21|e[36]>>>11,$=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,J=e[8]<<27|e[9]>>>5,j=e[9]<<27|e[8]>>>5,D=e[18]<<20|e[19]>>>12,M=e[19]<<20|e[18]>>>12,ie=e[29]<<7|e[28]>>>25,oe=e[28]<<7|e[29]>>>25,K=e[38]<<8|e[39]>>>24,P=e[39]<<8|e[38]>>>24,w=e[48]<<14|e[49]>>>18,E=e[49]<<14|e[48]>>>18,e[0]=h^~I&C,e[1]=p^~B&m,e[10]=b^~D&k,e[11]=v^~M&_,e[20]=G^~U&L,e[21]=H^~Y&O,e[30]=J^~q&W,e[31]=j^~V&z,e[40]=te^~ne&ie,e[41]=re^~Ae&oe,e[2]=I^~C&y,e[3]=B^~m&Q,e[12]=D^~k&S,e[13]=M^~_&N,e[22]=U^~L&K,e[23]=Y^~O&P,e[32]=q^~W&Z,e[33]=V^~z&X,e[42]=ne^~ie&ae,e[43]=Ae^~oe&se,e[4]=C^~y&w,e[5]=m^~Q&E,e[14]=k^~S&F,e[15]=_^~N&x,e[24]=L^~K&R,e[25]=O^~P&T,e[34]=W^~Z&$,e[35]=z^~X&ee,e[44]=ie^~ae&ue,e[45]=oe^~se&le,e[6]=y^~w&h,e[7]=Q^~E&p,e[16]=S^~F&b,e[17]=N^~x&v,e[26]=K^~R&G,e[27]=P^~T&H,e[36]=Z^~$&J,e[37]=X^~ee&j,e[46]=ae^~ue&te,e[47]=se^~le&re,e[8]=w^~h&I,e[9]=E^~p&B,e[18]=F^~b&D,e[19]=x^~v&M,e[28]=R^~G&U,e[29]=T^~H&Y,e[38]=$^~J&q,e[39]=ee^~j&V,e[48]=ue^~te&ne,e[49]=le^~re&Ae,e[0]^=a[n],e[1]^=a[n+1]};if(A)r.exports=g;else for(p=0;p<h.length;++p)n[h[p]]=g[h[p]]}()}).call(this,e("_process"),void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:42}],41:[function(e,t,r){(t.exports=function(e,t){if(!e)throw new Error(t||"Assertion failed")}).equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},{}],42:[function(e,t,r){t.exports={browser:!0}},{}],43:[function(e,t,r){(function(e){"use strict";function n(e){var t=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],r=1779033703,n=3144134277,A=1013904242,i=2773480762,o=1359893119,a=2600822924,s=528734635,u=1541459225,l=new Array(64);function c(e){for(var c=0,f=e.length;64<=f;){var d,g,h,p,I,B=r,C=n,m=A,y=i,Q=o,w=a,E=s,b=u;for(g=0;g<16;g++)h=c+4*g,l[g]=(255&e[h])<<24|(255&e[h+1])<<16|(255&e[h+2])<<8|255&e[h+3];for(g=16;g<64;g++)p=((d=l[g-2])>>>17|d<<15)^(d>>>19|d<<13)^d>>>10,I=((d=l[g-15])>>>7|d<<25)^(d>>>18|d<<14)^d>>>3,l[g]=(p+l[g-7]|0)+(I+l[g-16]|0)|0;for(g=0;g<64;g++)p=(((Q>>>6|Q<<26)^(Q>>>11|Q<<21)^(Q>>>25|Q<<7))+(Q&w^~Q&E)|0)+(b+(t[g]+l[g]|0)|0)|0,I=((B>>>2|B<<30)^(B>>>13|B<<19)^(B>>>22|B<<10))+(B&C^B&m^C&m)|0,b=E,E=w,w=Q,Q=y+p|0,y=m,m=C,C=B,B=p+I|0;r=r+B|0,n=n+C|0,A=A+m|0,i=i+y|0,o=o+Q|0,a=a+w|0,s=s+E|0,u=u+b|0,c+=64,f-=64}}c(e);var f,d=e.length%64,g=e.length/536870912|0,h=e.length<<3,p=d<56?56:120,I=e.slice(e.length-d,e.length);for(I.push(128),f=1+d;f<p;f++)I.push(0);return I.push(g>>>24&255),I.push(g>>>16&255),I.push(g>>>8&255),I.push(g>>>0&255),I.push(h>>>24&255),I.push(h>>>16&255),I.push(h>>>8&255),I.push(h>>>0&255),c(I),[r>>>24&255,r>>>16&255,r>>>8&255,r>>>0&255,n>>>24&255,n>>>16&255,n>>>8&255,n>>>0&255,A>>>24&255,A>>>16&255,A>>>8&255,A>>>0&255,i>>>24&255,i>>>16&255,i>>>8&255,i>>>0&255,o>>>24&255,o>>>16&255,o>>>8&255,o>>>0&255,a>>>24&255,a>>>16&255,a>>>8&255,a>>>0&255,s>>>24&255,s>>>16&255,s>>>8&255,s>>>0&255,u>>>24&255,u>>>16&255,u>>>8&255,u>>>0&255]}function A(e,t,r){var A;e=e.length<=64?e:n(e);var i=64+t.length+4,o=new Array(i),a=new Array(64),s=[];for(A=0;A<64;A++)o[A]=54;for(A=0;A<e.length;A++)o[A]^=e[A];for(A=0;A<t.length;A++)o[64+A]=t[A];for(A=i-4;A<i;A++)o[A]=0;for(A=0;A<64;A++)a[A]=92;for(A=0;A<e.length;A++)a[A]^=e[A];function u(){for(var e=i-1;i-4<=e;e--){if(o[e]++,o[e]<=255)return;o[e]=0}}for(;32<=r;)u(),s=s.concat(n(a.concat(n(o)))),r-=32;return 0<r&&(u(),s=s.concat(n(a.concat(n(o))).slice(0,r))),s}function i(e,t,r,n,A){var i;for(u(e,16*(2*r-1),A,0,16),i=0;i<2*r;i++)s(e,16*i,A,16),a(A,n),u(A,0,e,t+16*i,16);for(i=0;i<r;i++)u(e,t+2*i*16,e,16*i,16);for(i=0;i<r;i++)u(e,t+16*(2*i+1),e,16*(i+r),16)}function o(e,t){return e<<t|e>>>32-t}function a(e,t){u(e,0,t,0,16);for(var r=8;0<r;r-=2)t[4]^=o(t[0]+t[12],7),t[8]^=o(t[4]+t[0],9),t[12]^=o(t[8]+t[4],13),t[0]^=o(t[12]+t[8],18),t[9]^=o(t[5]+t[1],7),t[13]^=o(t[9]+t[5],9),t[1]^=o(t[13]+t[9],13),t[5]^=o(t[1]+t[13],18),t[14]^=o(t[10]+t[6],7),t[2]^=o(t[14]+t[10],9),t[6]^=o(t[2]+t[14],13),t[10]^=o(t[6]+t[2],18),t[3]^=o(t[15]+t[11],7),t[7]^=o(t[3]+t[15],9),t[11]^=o(t[7]+t[3],13),t[15]^=o(t[11]+t[7],18),t[1]^=o(t[0]+t[3],7),t[2]^=o(t[1]+t[0],9),t[3]^=o(t[2]+t[1],13),t[0]^=o(t[3]+t[2],18),t[6]^=o(t[5]+t[4],7),t[7]^=o(t[6]+t[5],9),t[4]^=o(t[7]+t[6],13),t[5]^=o(t[4]+t[7],18),t[11]^=o(t[10]+t[9],7),t[8]^=o(t[11]+t[10],9),t[9]^=o(t[8]+t[11],13),t[10]^=o(t[9]+t[8],18),t[12]^=o(t[15]+t[14],7),t[13]^=o(t[12]+t[15],9),t[14]^=o(t[13]+t[12],13),t[15]^=o(t[14]+t[13],18);for(r=0;r<16;++r)e[r]+=t[r]}function s(e,t,r,n){for(var A=0;A<n;A++)r[A]^=e[t+A]}function u(e,t,r,n,A){for(;A--;)r[n++]=e[t++]}function l(e){if(!e||"number"!=typeof e.length)return!1;for(var t=0;t<e.length;t++){if("number"!=typeof e[t])return!1;var r=parseInt(e[t]);if(r!=e[t]||r<0||256<=r)return!1}return!0}function c(e,t){var r=parseInt(e);if(e!=r)throw new Error("invalid "+t);return r}function f(t,r,n,o,a,f,d){if(!d)throw new Error("missing callback");if(n=c(n,"N"),o=c(o,"r"),a=c(a,"p"),f=c(f,"dkLen"),0===n||0!=(n&n-1))throw new Error("N must be power of 2");if(g/128/o<n)throw new Error("N too large");if(g/128/a<o)throw new Error("r too large");if(!l(t))throw new Error("password must be an array or buffer");if(t=Array.prototype.slice.call(t),!l(r))throw new Error("salt must be an array or buffer");r=Array.prototype.slice.call(r);for(var h=A(t,r,128*a*o),p=new Uint32Array(32*a*o),I=0;I<p.length;I++){var B=4*I;p[I]=(255&h[3+B])<<24|(255&h[2+B])<<16|(255&h[1+B])<<8|(255&h[0+B])<<0}var C,m,y=new Uint32Array(64*o),Q=new Uint32Array(32*o*n),w=32*o,E=new Uint32Array(16),b=new Uint32Array(16),v=a*n*2,D=0,M=null,k=!1,_=0,S=0,N=parseInt(1e3/o),F=void 0!==e?e:setTimeout,x=function(){if(k)return d(new Error("cancelled"),D/v);switch(_){case 0:u(p,m=32*S*o,y,0,w),_=1,C=0;case 1:N<(r=n-C)&&(r=N);for(var e=0;e<r;e++)u(y,0,Q,(C+e)*w,w),i(y,w,o,E,b);if(C+=r,D+=r,(l=parseInt(1e3*D/v))!==M){if(k=d(null,D/v))break;M=l}if(C<n)break;C=0,_=2;case 2:var r,l;for(N<(r=n-C)&&(r=N),e=0;e<r;e++){var c=y[16*(2*o-1)]&n-1;s(Q,c*w,y,w),i(y,w,o,E,b)}if(C+=r,D+=r,(l=parseInt(1e3*D/v))!==M){if(k=d(null,D/v))break;M=l}if(C<n)break;if(u(y,0,p,m,w),++S<a){_=0;break}for(h=[],e=0;e<p.length;e++)h.push(p[e]>>0&255),h.push(p[e]>>8&255),h.push(p[e]>>16&255),h.push(p[e]>>24&255);var g=A(t,h,f);return d(null,1,g)}F(x)};x()}var d,g;d=this,g=2147483647,void 0!==r?t.exports=f:d&&(d.scrypt&&(d._scrypt=d.scrypt),d.scrypt=f)}).call(this,e("timers").setImmediate)},{timers:45}],44:[function(e,r,n){(function(e,t,r){!function(t,r){"use strict";if(!t.setImmediate){var n,A,i,o,a=1,s={},u=!1,l=t.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(t);c=c&&c.setTimeout?c:t,n="[object process]"==={}.toString.call(t.process)?function(){var t=f(arguments);return e.nextTick(d(g,t)),t}:function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?(o="setImmediate$"+Math.random()+"$",t.addEventListener?t.addEventListener("message",p,!1):t.attachEvent("onmessage",p),function(){var e=f(arguments);return t.postMessage(o+e,"*"),e}):t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){g(e.data)},function(){var e=f(arguments);return i.port2.postMessage(e),e}):l&&"onreadystatechange"in l.createElement("script")?(A=l.documentElement,function(){var e=f(arguments),t=l.createElement("script");return t.onreadystatechange=function(){g(e),t.onreadystatechange=null,A.removeChild(t),t=null},A.appendChild(t),e}):function(){var e=f(arguments);return setTimeout(d(g,e),0),e},c.setImmediate=n,c.clearImmediate=h}function f(e){return s[a]=d.apply(r,e),a++}function d(e){var t=[].slice.call(arguments,1);return function(){"function"==typeof e?e.apply(r,t):new Function(""+e)()}}function g(e){if(u)setTimeout(d(g,e),0);else{var t=s[e];if(t){u=!0;try{t()}finally{h(e),u=!1}}}}function h(e){delete s[e]}function p(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(o)&&g(+e.data.slice(o.length))}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,e("_process"),void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").clearImmediate)},{_process:42,timers:45}],45:[function(e,r,n){(function(e){r.exports={setImmediate:e.setImmediate}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],46:[function(e,r,n){(function(e){var t;if(e.crypto&&crypto.getRandomValues){var n=new Uint8Array(16);t=function(){return crypto.getRandomValues(n),n}}if(!t){var A=new Array(16);t=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),A[t]=e>>>((3&t)<<3)&255;return A}}r.exports=t}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],47:[function(e,t,r){for(var n=e("./rng"),A=[],i={},o=0;o<256;o++)A[o]=(o+256).toString(16).substr(1),i[A[o]]=o;function a(e,t){var r=t||0,n=A;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var s=n(),u=[1|s[0],s[1],s[2],s[3],s[4],s[5]],l=16383&(s[6]<<8|s[7]),c=0,f=0;function d(e,t,r){var A=t&&r||0;"string"==typeof e&&(t="binary"==e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||n)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var o=0;o<16;o++)t[A+o]=i[o];return t||a(i)}var g=d;g.v1=function(e,t,r){var n=t&&r||0,A=t||[],i=void 0!==(e=e||{}).clockseq?e.clockseq:l,o=void 0!==e.msecs?e.msecs:(new Date).getTime(),s=void 0!==e.nsecs?e.nsecs:f+1,d=o-c+(s-f)/1e4;if(d<0&&void 0===e.clockseq&&(i=i+1&16383),(d<0||c<o)&&void 0===e.nsecs&&(s=0),1e4<=s)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");c=o,l=i;var g=(1e4*(268435455&(o+=122192928e5))+(f=s))%4294967296;A[n++]=g>>>24&255,A[n++]=g>>>16&255,A[n++]=g>>>8&255,A[n++]=255&g;var h=o/4294967296*1e4&268435455;A[n++]=h>>>8&255,A[n++]=255&h,A[n++]=h>>>24&15|16,A[n++]=h>>>16&255,A[n++]=i>>>8|128,A[n++]=255&i;for(var p=e.node||u,I=0;I<6;I++)A[n+I]=p[I];return t||a(A)},g.v4=d,g.parse=function(e,t,r){var n=t&&r||0,A=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){A<16&&(t[n+A++]=i[e])});A<16;)t[n+A++]=0;return t},g.unparse=a,t.exports=g},{"./rng":46}],48:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});try{t.exports.XMLHttpRequest=XMLHttpRequest}catch(e){console.log("Warning: XMLHttpRequest is not defined"),t.exports.XMLHttpRequest=null}},{}],49:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("../utils/properties"),A=(i.isProvider=function(e){return n.isType(e,"Provider")},i);function i(){n.setType(this,"Provider")}r.Provider=A},{"../utils/properties":73}],50:[function(e,t,r){"use strict";var n,A=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var o=e("../utils/address"),a=e("../utils/bignumber"),s=e("../utils/bytes"),u=e("../constants"),l=e("../utils/hash"),c=e("../utils/networks"),f=e("../utils/properties"),d=e("../utils/rlp"),g=e("../utils/transaction"),h=e("../utils/utf8"),p=e("../utils/web"),I=i(e("../errors")),B=e("./abstract-provider");function C(e,t){var r={};for(var n in e)try{var A=e[n](t[n]);void 0!==A&&(r[n]=A)}catch(e){throw e.checkKey=n,e.checkValue=t[n],e}return r}function m(e,t){return function(r){return null==r?t:e(r)}}function y(e){return function(t){if(!Array.isArray(t))throw new Error("not an array");var r=[];return t.forEach(function(t){r.push(e(t))}),r}}function Q(e,t){return"string"==typeof e&&(t||"0x"===e.substring(0,2)||(e="0x"+e),32===s.hexDataLength(e))?e.toLowerCase():(I.throwError("invalid hash",I.INVALID_ARGUMENT,{arg:"hash",value:e}),null)}function w(e){return a.bigNumberify(e).toNumber()}function E(e){if(!s.isHexString(e))throw new Error("invalid uint256");for(;e.length<66;)e="0x0"+e.substring(2);return e}function b(e){if(null==e)return"latest";if("earliest"===e)return"0x0";if("latest"===e||"pending"===e)return e;if("number"==typeof e)return s.hexStripZeros(s.hexlify(e));if(s.isHexString(e))return s.hexStripZeros(e);throw new Error("invalid blockTag")}var v={hash:Q,blockHash:m(Q,null),blockNumber:m(w,null),transactionIndex:m(w,null),confirmations:m(w,null),from:o.getAddress,gasPrice:a.bigNumberify,gasLimit:a.bigNumberify,to:m(o.getAddress,null),value:a.bigNumberify,nonce:w,data:s.hexlify,r:m(E),s:m(E),v:m(w),creates:m(o.getAddress,null),raw:m(s.hexlify)};function D(e){if(null!=e.gas&&null==e.gasLimit&&(e.gasLimit=e.gas),e.to&&a.bigNumberify(e.to).isZero()&&(e.to="0x0000000000000000000000000000000000000000"),null!=e.input&&null==e.data&&(e.data=e.input),null==e.to&&null==e.creates&&(e.creates=o.getContractAddress(e)),!e.raw&&e.v&&e.r&&e.s){var t=[s.stripZeros(s.hexlify(e.nonce)),s.stripZeros(s.hexlify(e.gasPrice)),s.stripZeros(s.hexlify(e.gasLimit)),e.to||"0x",s.stripZeros(s.hexlify(e.value||"0x")),s.hexlify(e.data||"0x"),s.stripZeros(s.hexlify(e.v||"0x")),s.stripZeros(s.hexlify(e.r)),s.stripZeros(s.hexlify(e.s))];e.raw=d.encode(t)}var r=C(v,e),n=e.networkId;return null!=e.chainId&&null==n&&null==r.v&&(n=e.chainId),s.isHexString(n)&&(n=a.bigNumberify(n).toNumber()),"number"!=typeof n&&null!=r.v&&((n=(r.v-35)/2)<0&&(n=0),n=parseInt(n)),"number"!=typeof n&&(n=0),r.networkId=n,r.blockHash&&"x"===r.blockHash.replace(/0/g,"")&&(r.blockHash=null),r}var M={hash:Q,parentHash:Q,number:w,timestamp:w,nonce:m(s.hexlify),difficulty:function(e){var t=a.bigNumberify(e);try{return t.toNumber()}catch(e){}return null},gasLimit:a.bigNumberify,gasUsed:a.bigNumberify,miner:o.getAddress,extraData:s.hexlify,transactions:m(y(Q))},k=f.shallowCopy(M);function _(e,t){return null!=e.author&&null==e.miner&&(e.miner=e.author),C(t?k:M,e)}k.transactions=m(y(D));var S={from:m(o.getAddress),nonce:m(w),gasLimit:m(a.bigNumberify),gasPrice:m(a.bigNumberify),to:m(o.getAddress),value:m(a.bigNumberify),data:m(s.hexlify)};function N(e){return C(S,e)}var F={transactionLogIndex:m(w),transactionIndex:w,blockNumber:w,transactionHash:Q,address:o.getAddress,topics:y(Q),data:s.hexlify,logIndex:w,blockHash:Q},x={to:m(o.getAddress,null),from:m(o.getAddress,null),contractAddress:m(o.getAddress,null),transactionIndex:w,root:m(Q),gasUsed:a.bigNumberify,logsBloom:m(s.hexlify),blockHash:Q,transactionHash:Q,logs:y(function(e){return C(F,e)}),blockNumber:w,confirmations:m(w,null),cumulativeGasUsed:a.bigNumberify,status:m(w)};function G(e){return Array.isArray(e)?e.forEach(function(e){G(e)}):null!=e&&Q(e),e}var H,U={fromBlock:m(b,void 0),toBlock:m(b,void 0),address:m(o.getAddress,void 0),topics:m(G,void 0)},Y={blockHash:m(Q,void 0),address:m(o.getAddress,void 0),topics:m(G,void 0)},L={blockNumber:m(w),blockHash:m(Q),transactionIndex:w,removed:m(function(e){if("boolean"==typeof e)return e;if("string"==typeof e){if("true"===e)return!0;if("false"===e)return!1}throw new Error("invaid boolean - "+e)}),address:o.getAddress,data:(H=s.hexlify,function(e){return e?H(e):"0x"}),topics:y(Q),transactionHash:Q,logIndex:w};function O(e){return C(L,e)}function K(e){return e.map(function(e){return"string"==typeof e?e:Array.isArray(e)?(e.forEach(function(e){null!==e&&32!==s.hexDataLength(e)&&I.throwError("invalid topic",I.INVALID_ARGUMENT,{argument:"topic",value:e})}),e.join(",")):null===e?"":I.throwError("invalid topic value",I.INVALID_ARGUMENT,{argument:"topic",value:e})}).join("&")}function P(e){if("string"==typeof e){if(20===s.hexDataLength(e))return"address:"+o.getAddress(e);if(e=e.toLowerCase(),32===s.hexDataLength(e))return"tx:"+e;if(-1===e.indexOf(":"))return e}else{if(Array.isArray(e))return"filter::"+K(e);if(e&&"object"==typeof e)return"filter:"+(e.address||"")+":"+K(e.topics||[])}throw new Error("invalid event - "+e)}function R(){return(new Date).getTime()}var T,J=(A(j,T=B.Provider),j.prototype._doPoll=function(){var e=this;this.getBlockNumber().then(function(t){if(e._setFastBlockNumber(t),t!==e._lastBlockNumber){-2===e._emitted.block&&(e._emitted.block=t-1);for(var r=e._emitted.block+1;r<=t;r++)e.emit("block",r);e._emitted.block!==t&&(e._emitted.block=t,Object.keys(e._emitted).forEach(function(r){if("block"!==r){var n=e._emitted[r];"pending"!==n&&12<t-n&&delete e._emitted[r]}})),-2===e._lastBlockNumber&&(e._lastBlockNumber=t-1);var n={},A={};return e._events.forEach(function(e){A[e.tag]=!0}),Object.keys(A).forEach(function(r){var A=r.split(":");switch(A[0]){case"tx":var i=A[1];e.getTransactionReceipt(i).then(function(t){return t&&null!=t.blockNumber&&(e._emitted["t:"+i]=t.blockNumber,e.emit(i,t)),null}).catch(function(t){e.emit("error",t)});break;case"address":var o=A[1];e._balances[o]&&(n[o]=e._balances[o]),e.getBalance(o,"latest").then(function(t){var r=e._balances[o];if(!r||!t.eq(r))return e._balances[o]=t,e.emit(o,t),null}).catch(function(t){e.emit("error",t)});break;case"filter":var a=A[2].split(/&/g).map(function(e){var t=e.split(",");return 1===t.length?""===t[0]?null:e:t.map(function(e){return""===e?null:e})}),s={address:A[1],fromBlock:e._lastBlockNumber+1,toBlock:t,topics:a};s.address||delete s.address,e.getLogs(s).then(function(t){if(0!==t.length)return t.forEach(function(t){e._emitted["b:"+t.blockHash]=t.blockNumber,e._emitted["t:"+t.transactionHash]=t.blockNumber,e.emit(s,t)}),null}).catch(function(t){e.emit("error",t)})}}),e._lastBlockNumber=t,e._balances=n,null}}).catch(function(e){}),this.doPoll()},j.prototype.resetEventsBlock=function(e){this._lastBlockNumber=e-1,this.polling&&this._doPoll()},Object.defineProperty(j.prototype,"network",{get:function(){return this._network},enumerable:!0,configurable:!0}),j.prototype.getNetwork=function(){return this.ready},Object.defineProperty(j.prototype,"blockNumber",{get:function(){return this._fastBlockNumber},enumerable:!0,configurable:!0}),Object.defineProperty(j.prototype,"polling",{get:function(){return null!=this._poller},set:function(e){var t=this;setTimeout(function(){e&&!t._poller?t._poller=setInterval(t._doPoll.bind(t),t.pollingInterval):!e&&t._poller&&(clearInterval(t._poller),t._poller=null)},0)},enumerable:!0,configurable:!0}),Object.defineProperty(j.prototype,"pollingInterval",{get:function(){return this._pollingInterval},set:function(e){var t=this;if("number"!=typeof e||e<=0||parseInt(String(e))!=e)throw new Error("invalid polling interval");this._pollingInterval=e,this._poller&&(clearInterval(this._poller),this._poller=setInterval(function(){t._doPoll()},this._pollingInterval))},enumerable:!0,configurable:!0}),j.prototype._getFastBlockNumber=function(){var e=this,t=R();return t-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=t,this._fastBlockNumberPromise=this.getBlockNumber().then(function(t){return(null==e._fastBlockNumber||t>e._fastBlockNumber)&&(e._fastBlockNumber=t),e._fastBlockNumber})),this._fastBlockNumberPromise},j.prototype._setFastBlockNumber=function(e){null!=this._fastBlockNumber&&e<this._fastBlockNumber||(this._fastQueryDate=R(),(null==this._fastBlockNumber||e>this._fastBlockNumber)&&(this._fastBlockNumber=e,this._fastBlockNumberPromise=Promise.resolve(e)))},j.prototype.waitForTransaction=function(e,t){var r=this;return null==t&&(t=1),this.getTransactionReceipt(e).then(function(n){return 0===t||n&&n.confirmations>=t?n:new Promise(function(n){var A=function(i){i.confirmations<t||(r.removeListener(e,A),n(i))};r.on(e,A)})})},j.prototype.getBlockNumber=function(){var e=this;return this.ready.then(function(){return e.perform("getBlockNumber",{}).then(function(t){var r=parseInt(t);if(r!=t)throw new Error("invalid response - getBlockNumber");return e._setFastBlockNumber(r),r})})},j.prototype.getGasPrice=function(){var e=this;return this.ready.then(function(){return e.perform("getGasPrice",{}).then(function(e){return a.bigNumberify(e)})})},j.prototype.getBalance=function(e,t){var r=this;return this.ready.then(function(){return f.resolveProperties({addressOrName:e,blockTag:t}).then(function(e){var t=e.addressOrName,n=e.blockTag;return r._getAddress(t).then(function(e){var t={address:e,blockTag:b(n)};return r.perform("getBalance",t).then(function(e){return a.bigNumberify(e)})})})})},j.prototype.getTransactionCount=function(e,t){var r=this;return this.ready.then(function(){return f.resolveProperties({addressOrName:e,blockTag:t}).then(function(e){var t=e.addressOrName,n=e.blockTag;return r._getAddress(t).then(function(e){var t={address:e,blockTag:b(n)};return r.perform("getTransactionCount",t).then(function(e){return a.bigNumberify(e).toNumber()})})})})},j.prototype.getCode=function(e,t){var r=this;return this.ready.then(function(){return f.resolveProperties({addressOrName:e,blockTag:t}).then(function(e){var t=e.addressOrName,n=e.blockTag;return r._getAddress(t).then(function(e){var t={address:e,blockTag:b(n)};return r.perform("getCode",t).then(function(e){return s.hexlify(e)})})})})},j.prototype.getStorageAt=function(e,t,r){var n=this;return this.ready.then(function(){return f.resolveProperties({addressOrName:e,position:t,blockTag:r}).then(function(e){var t=e.addressOrName,r=e.position,A=e.blockTag;return n._getAddress(t).then(function(e){var t={address:e,blockTag:b(A),position:s.hexStripZeros(s.hexlify(r))};return n.perform("getStorageAt",t).then(function(e){return s.hexlify(e)})})})})},j.prototype.sendTransaction=function(e){var t=this;return this.ready.then(function(){return f.resolveProperties({signedTransaction:e}).then(function(e){var r=e.signedTransaction,n={signedTransaction:s.hexlify(r)};return t.perform("sendTransaction",n).then(function(e){return t._wrapTransaction(g.parse(r),e)},function(e){throw e.transaction=g.parse(r),e.transaction.hash&&(e.transactionHash=e.transaction.hash),e})})})},j.prototype._wrapTransaction=function(e,t){var r=this;if(null!=t&&32!==s.hexDataLength(t))throw new Error("invalid response - sendTransaction");var n=e;return null!=t&&e.hash!==t&&I.throwError("Transaction hash mismatch from Provider.sendTransaction.",I.UNKNOWN_ERROR,{expectedHash:e.hash,returnedHash:t}),n.wait=function(t){return 0!==t&&(r._emitted["t:"+e.hash]="pending"),r.waitForTransaction(e.hash,t).then(function(n){return null==n&&0===t?null:(r._emitted["t:"+e.hash]=n.blockNumber,0===n.status&&I.throwError("transaction failed",I.CALL_EXCEPTION,{transactionHash:e.hash,transaction:e}),n)})},n},j.prototype.call=function(e,t){var r=this,n=f.shallowCopy(e);return this.ready.then(function(){return f.resolveProperties({blockTag:t,tx:n}).then(function(e){var t=e.blockTag,n=e.tx;return r._resolveNames(n,["to","from"]).then(function(e){var n={blockTag:b(t),transaction:N(e)};return r.perform("call",n).then(function(e){return s.hexlify(e)})})})})},j.prototype.estimateGas=function(e){var t=this,r={to:e.to,from:e.from,data:e.data,gasPrice:e.gasPrice,value:e.value};return this.ready.then(function(){return f.resolveProperties(r).then(function(e){return t._resolveNames(e,["to","from"]).then(function(e){var r={transaction:N(e)};return t.perform("estimateGas",r).then(function(e){return a.bigNumberify(e)})})})})},j.prototype.getBlock=function(e,t){var r=this;return this.ready.then(function(){return f.resolveProperties({blockHashOrBlockTag:e}).then(function(e){var n=e.blockHashOrBlockTag;try{var A=s.hexlify(n);if(32===s.hexDataLength(A))return p.poll(function(){return r.perform("getBlock",{blockHash:A,includeTransactions:!!t}).then(function(e){return null==e?null==r._emitted["b:"+A]?null:void 0:_(e,t)})},{onceBlock:r})}catch(e){}try{var i=-128,o=b(n);return s.isHexString(o)&&(i=parseInt(o.substring(2),16)),p.poll(function(){return r.perform("getBlock",{blockTag:o,includeTransactions:!!t}).then(function(e){return null!=e?_(e,t):i<=r._emitted.block?void 0:null})},{onceBlock:r})}catch(e){}throw new Error("invalid block hash or block tag")})})},j.prototype.getTransaction=function(e){var t=this;return this.ready.then(function(){return f.resolveProperties({transactionHash:e}).then(function(e){var r=e.transactionHash,n={transactionHash:Q(r,!0)};return p.poll(function(){return t.perform("getTransaction",n).then(function(e){if(null==e)return null==t._emitted["t:"+r]?null:void 0;var n=j.checkTransactionResponse(e);if(null==n.blockNumber)n.confirmations=0;else if(null==n.confirmations)return t._getFastBlockNumber().then(function(e){var r=e-n.blockNumber+1;return r<=0&&(r=1),n.confirmations=r,t._wrapTransaction(n)});return t._wrapTransaction(n)})},{onceBlock:t})})})},j.prototype.getTransactionReceipt=function(e){var t=this;return this.ready.then(function(){return f.resolveProperties({transactionHash:e}).then(function(e){var r=e.transactionHash,n={transactionHash:Q(r,!0)};return p.poll(function(){return t.perform("getTransactionReceipt",n).then(function(e){if(null==e)return null==t._emitted["t:"+r]?null:void 0;if(null!=e.blockHash){var n=function(e){var t=C(x,e);return t.logs.forEach(function(e,t){null==e.transactionLogIndex&&(e.transactionLogIndex=t)}),null!=e.status&&(t.byzantium=!0),t}(e);if(null==n.blockNumber)n.confirmations=0;else if(null==n.confirmations)return t._getFastBlockNumber().then(function(e){var t=e-n.blockNumber+1;return t<=0&&(t=1),n.confirmations=t,n});return n}})},{onceBlock:t})})})},j.prototype.getLogs=function(e){var t=this;return this.ready.then(function(){return f.resolveProperties(e).then(function(e){return t._resolveNames(e,["address"]).then(function(e){var r={filter:function(e){return e&&e.blockHash?C(Y,e):C(U,e)}(e)};return t.perform("getLogs",r).then(function(e){return y(O)(e)})})})})},j.prototype.getEtherPrice=function(){var e=this;return this.ready.then(function(){return e.perform("getEtherPrice",{}).then(function(e){return e})})},j.prototype._getAddress=function(e){return this.resolveName(e).then(function(t){return null==t&&I.throwError("ENS name not configured",I.UNSUPPORTED_OPERATION,{operation:"resolveName("+JSON.stringify(e)+")"}),t})},j.prototype._resolveNames=function(e,t){var r=[],n=f.shallowCopy(e);return t.forEach(function(e){null!=n[e]&&r.push(this._getAddress(n[e]).then(function(t){n[e]=t}))},this),Promise.all(r).then(function(){return n})},j.prototype._getResolver=function(e){var t=this;return this.getNetwork().then(function(r){r.ensAddress||I.throwError("network does support ENS",I.UNSUPPORTED_OPERATION,{operation:"ENS",network:r.name});var n="0x0178b8bf"+l.namehash(e).substring(2),A={to:r.ensAddress,data:n};return t.call(A).then(function(e){if(32!==s.hexDataLength(e))return null;var t=o.getAddress(s.hexDataSlice(e,12));return t===u.AddressZero?null:t})})},j.prototype.resolveName=function(e){var t=this;if(e instanceof Promise)return e.then(function(e){return t.resolveName(e)});try{return Promise.resolve(o.getAddress(e))}catch(e){}var r=this,n=l.namehash(e);return this._getResolver(e).then(function(e){if(null==e)return null;var t={to:e,data:"0x3b3b57de"+n.substring(2)};return r.call(t)}).then(function(e){if(32!==s.hexDataLength(e))return null;var t=o.getAddress(s.hexDataSlice(e,12));return t===u.AddressZero?null:t})},j.prototype.lookupAddress=function(e){var t=this;if(e instanceof Promise)return e.then(function(e){return t.lookupAddress(e)});var r=(e=o.getAddress(e)).substring(2)+".addr.reverse",n=l.namehash(r),A=this;return this._getResolver(r).then(function(e){if(!e)return null;var t={to:e,data:"0x691f3431"+n.substring(2)};return A.call(t)}).then(function(t){if((t=t.substring(2)).length<64)return null;if((t=t.substring(64)).length<64)return null;var r=a.bigNumberify("0x"+t.substring(0,64)).toNumber();if(2*r>(t=t.substring(64)).length)return null;var n=h.toUtf8String("0x"+t.substring(0,2*r));return A.resolveName(n).then(function(t){return t!=e?null:n})})},j.checkTransactionResponse=function(e){return D(e)},j.prototype.doPoll=function(){},j.prototype.perform=function(e,t){return I.throwError(e+" not implemented",I.NOT_IMPLEMENTED,{operation:e}),null},j.prototype._startPending=function(){I.warn("WARNING: this provider does not support pending events")},j.prototype._stopPending=function(){},j.prototype._addEventListener=function(e,t,r){this._events.push({tag:P(e),listener:t,once:r}),"pending"===e&&this._startPending(),this.polling=!0},j.prototype.on=function(e,t){return this._addEventListener(e,t,!1),this},j.prototype.once=function(e,t){return this._addEventListener(e,t,!0),this},j.prototype.addEventListener=function(e,t){return this.on(e,t)},j.prototype.emit=function(e){for(var t=this,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var A=!1,i=P(e);return this._events=this._events.filter(function(e){return e.tag!==i||(setTimeout(function(){e.listener.apply(t,r)},0),A=!0,!e.once)}),0===this.listenerCount()&&(this.polling=!1),A},j.prototype.listenerCount=function(e){if(!e)return this._events.length;var t=P(e);return this._events.filter(function(e){return e.tag===t}).length},j.prototype.listeners=function(e){var t=P(e);return this._events.filter(function(e){return e.tag===t}).map(function(e){return e.listener})},j.prototype.removeAllListeners=function(e){if(null==e)this._events=[],this._stopPending();else{var t=P(e);this._events=this._events.filter(function(e){return e.tag!==t}),"pending"===e&&this._stopPending()}return 0===this._events.length&&(this.polling=!1),this},j.prototype.removeListener=function(e,t){var r=!1,n=P(e);return this._events=this._events.filter(function(e){return e.tag!==n||e.listener!=t||!!r||!(r=!0)}),"pending"===e&&0===this.listenerCount("pending")&&this._stopPending(),0===this.listenerCount()&&(this.polling=!1),this},j);function j(e){var t=T.call(this)||this;if(I.checkNew(t,B.Provider),e instanceof Promise)f.defineReadOnly(t,"ready",e.then(function(e){return f.defineReadOnly(t,"_network",e),e})),t.ready.catch(function(e){});else{var r=c.getNetwork(null==e?"homestead":e);r?(f.defineReadOnly(t,"_network",r),f.defineReadOnly(t,"ready",Promise.resolve(t._network))):I.throwError("invalid network",I.INVALID_ARGUMENT,{arg:"network",value:e})}return t._lastBlockNumber=-2,t._balances={},t._events=[],t._pollingInterval=4e3,t._emitted={block:-2},t._fastQueryDate=0,t}r.BaseProvider=J,f.defineReadOnly(B.Provider,"inherits",f.inheritable(B.Provider))},{"../constants":3,"../errors":5,"../utils/address":59,"../utils/bignumber":62,"../utils/bytes":63,"../utils/hash":64,"../utils/networks":71,"../utils/properties":73,"../utils/rlp":75,"../utils/transaction":82,"../utils/utf8":84,"../utils/web":85,"./abstract-provider":49}],51:[function(e,t,r){"use strict";var n,A=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var o=e("./base-provider"),a=e("../utils/bytes"),s=e("../utils/properties"),u=e("../utils/web"),l=i(e("../errors"));function c(e){var t=[];for(var r in e)if(null!=e[r]){var n=a.hexlify(e[r]);!{gasLimit:!0,gasPrice:!0,nonce:!0,value:!0}[r]||(n=a.hexStripZeros(n)),t.push(r+"="+n)}return t.join("&")}function f(e){if(0==e.status&&("No records found"===e.message||"No transactions found"===e.message))return e.result;if(1==e.status&&"OK"==e.message)return e.result;var t=new Error("invalid response");throw t.result=JSON.stringify(e),t}function d(e){if("2.0"!=e.jsonrpc)throw(t=new Error("invalid response")).result=JSON.stringify(e),t;if(e.error){var t=new Error(e.error.message||"unknown error");throw e.error.code&&(t.code=e.error.code),e.error.data&&(t.data=e.error.data),t}return e.result}function g(e){if("pending"===e)throw new Error("pending not supported");return"latest"===e?e:parseInt(e.substring(2),16)}var h,p=(A(I,h=o.BaseProvider),I.prototype.perform=function(e,t){var r=this,n=this.baseUrl,A="";function i(e,t){return u.fetchJson(e,null,t||d).then(function(t){return r.emit("debug",{action:"perform",request:e,response:t,provider:r}),t})}switch(this.apiKey&&(A+="&apikey="+this.apiKey),e){case"getBlockNumber":return i(n+="/api?module=proxy&action=eth_blockNumber"+A);case"getGasPrice":return i(n+="/api?module=proxy&action=eth_gasPrice"+A);case"getBalance":return n+="/api?module=account&action=balance&address="+t.address,i(n+="&tag="+t.blockTag+A,f);case"getTransactionCount":return n+="/api?module=proxy&action=eth_getTransactionCount&address="+t.address,i(n+="&tag="+t.blockTag+A);case"getCode":return n+="/api?module=proxy&action=eth_getCode&address="+t.address,i(n+="&tag="+t.blockTag+A,d);case"getStorageAt":return n+="/api?module=proxy&action=eth_getStorageAt&address="+t.address,n+="&position="+t.position,i(n+="&tag="+t.blockTag+A,d);case"sendTransaction":return n+="/api?module=proxy&action=eth_sendRawTransaction&hex="+t.signedTransaction,i(n+=A).catch(function(e){throw e.responseText&&(0<=e.responseText.toLowerCase().indexOf("insufficient funds")&&l.throwError("insufficient funds",l.INSUFFICIENT_FUNDS,{}),0<=e.responseText.indexOf("same hash was already imported")&&l.throwError("nonce has already been used",l.NONCE_EXPIRED,{}),0<=e.responseText.indexOf("another transaction with same nonce")&&l.throwError("replacement fee too low",l.REPLACEMENT_UNDERPRICED,{})),e});case"getBlock":if(t.blockTag)return n+="/api?module=proxy&action=eth_getBlockByNumber&tag="+t.blockTag,t.includeTransactions?n+="&boolean=true":n+="&boolean=false",i(n+=A);throw new Error("getBlock by blockHash not implmeneted");case"getTransaction":return n+="/api?module=proxy&action=eth_getTransactionByHash&txhash="+t.transactionHash,i(n+=A);case"getTransactionReceipt":return n+="/api?module=proxy&action=eth_getTransactionReceipt&txhash="+t.transactionHash,i(n+=A);case"call":if(n+="/api?module=proxy&action=eth_call"+(o=(o=c(t.transaction))&&"&"+o),"latest"!==t.blockTag)throw new Error("EtherscanProvider does not support blockTag for call");return i(n+=A);case"estimateGas":var o;return n+="/api?module=proxy&action=eth_estimateGas&"+(o=(o=c(t.transaction))&&"&"+o),i(n+=A);case"getLogs":n+="/api?module=logs&action=getLogs";try{if(t.filter.fromBlock&&(n+="&fromBlock="+g(t.filter.fromBlock)),t.filter.toBlock&&(n+="&toBlock="+g(t.filter.toBlock)),t.filter.blockHash)try{l.throwError("Etherscan does not support blockHash filters",l.UNSUPPORTED_OPERATION,{operation:"getLogs(blockHash)"})}catch(e){return Promise.reject(e)}if(t.filter.address&&(n+="&address="+t.filter.address),t.filter.topics&&0<t.filter.topics.length){if(1<t.filter.topics.length)throw new Error("unsupported topic format");var a=t.filter.topics[0];if("string"!=typeof a||66!==a.length)throw new Error("unsupported topic0 format");n+="&topic0="+a}}catch(e){return Promise.reject(e)}var s=this;return i(n+=A,f).then(function(e){var t={},r=Promise.resolve();return e.forEach(function(e){r=r.then(function(){return null!=e.blockHash?null:(e.blockHash=t[e.transactionHash],null==e.blockHash?s.getTransaction(e.transactionHash).then(function(r){return t[e.transactionHash]=r.blockHash,e.blockHash=r.blockHash,null}):null)})}),r.then(function(){return e})});case"getEtherPrice":return"homestead"!==this.network.name?Promise.resolve(0):(n+="/api?module=stats&action=ethprice",i(n+=A,f).then(function(e){return parseFloat(e.ethusd)}))}return h.prototype.perform.call(this,e,t)},I.prototype.getHistory=function(e,t,r){var n=this,A=this.baseUrl,i="";return this.apiKey&&(i+="&apikey="+this.apiKey),null==t&&(t=0),null==r&&(r=99999999),this.resolveName(e).then(function(e){return A+="/api?module=account&action=txlist&address="+e,A+="&startblock="+t,A+="&endblock="+r,A+="&sort=asc"+i,u.fetchJson(A,null,f).then(function(e){n.emit("debug",{action:"getHistory",request:A,response:e,provider:n});var t=[];return e.forEach(function(e){["contractAddress","to"].forEach(function(t){""==e[t]&&delete e[t]}),null==e.creates&&null!=e.contractAddress&&(e.creates=e.contractAddress);var r=o.BaseProvider.checkTransactionResponse(e);e.timeStamp&&(r.timestamp=parseInt(e.timeStamp)),t.push(r)}),t})})},I);function I(e,t){var r=h.call(this,e)||this;l.checkNew(r,I);var n="invalid";r.network&&(n=r.network.name);var A=null;switch(n){case"homestead":A="https://api.etherscan.io";break;case"ropsten":A="https://api-ropsten.etherscan.io";break;case"rinkeby":A="https://api-rinkeby.etherscan.io";break;case"kovan":A="https://api-kovan.etherscan.io";break;case"goerli":A="https://api-goerli.etherscan.io";break;default:throw new Error("unsupported network")}return s.defineReadOnly(r,"baseUrl",A),s.defineReadOnly(r,"apiKey",t),r}r.EtherscanProvider=p},{"../errors":5,"../utils/bytes":63,"../utils/properties":73,"../utils/web":85,"./base-provider":50}],52:[function(e,t,r){"use strict";var n,A=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var o=e("./base-provider"),a=i(e("../errors"));function s(e){var t=!0,r=null;return e.forEach(function(n){null!=n?null!=r?r.name===n.name&&r.chainId===n.chainId&&(r.ensAddress===n.ensAddress||null==r.ensAddress&&null==n.ensAddress)||a.throwError("provider mismatch",a.INVALID_ARGUMENT,{arg:"networks",value:e}):r=n:t=!1}),t}var u,l=(A(c,u=o.BaseProvider),Object.defineProperty(c.prototype,"providers",{get:function(){return this._providers.slice(0)},enumerable:!0,configurable:!0}),c.prototype.perform=function(e,t){var r=this.providers;return new Promise(function(n,A){var i=null;!function o(){r.length?r.shift().perform(e,t).then(function(e){return n(e)}).catch(function(e){i=i||e,setTimeout(o,0)}):A(i)}()})},c);function c(e){var t=this;if(0===e.length)throw new Error("no providers");if(s(e.map(function(e){return e.network})))t=u.call(this,e[0].network)||this;else{var r=Promise.all(e.map(function(e){return e.getNetwork()})).then(function(e){return s(e)||a.throwError("getNetwork returned null",a.UNKNOWN_ERROR,{}),e[0]});t=u.call(this,r)||this}return a.checkNew(t,c),t._providers=e.slice(0),t}r.FallbackProvider=l},{"../errors":5,"./base-provider":50}],53:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("./abstract-provider");r.Provider=n.Provider;var A=e("./base-provider");r.BaseProvider=A.BaseProvider;var i=e("./etherscan-provider");r.EtherscanProvider=i.EtherscanProvider;var o=e("./fallback-provider");r.FallbackProvider=o.FallbackProvider;var a=e("./ipc-provider");r.IpcProvider=a.IpcProvider;var s=e("./infura-provider");r.InfuraProvider=s.InfuraProvider;var u=e("./json-rpc-provider");r.JsonRpcProvider=u.JsonRpcProvider,r.JsonRpcSigner=u.JsonRpcSigner;var l=e("./web3-provider");r.Web3Provider=l.Web3Provider},{"./abstract-provider":49,"./base-provider":50,"./etherscan-provider":51,"./fallback-provider":52,"./infura-provider":54,"./ipc-provider":55,"./json-rpc-provider":56,"./web3-provider":57}],54:[function(e,t,r){"use strict";var n,A=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var o,a=e("./json-rpc-provider"),s=e("../utils/bytes"),u=e("../utils/networks"),l=e("../utils/properties"),c=i(e("../errors")),f=(A(d,o=a.JsonRpcProvider),d.prototype._startPending=function(){c.warn("WARNING: INFURA does not support pending filters")},d.prototype.getSigner=function(e){return c.throwError("INFURA does not support signing",c.UNSUPPORTED_OPERATION,{operation:"getSigner"})},d.prototype.listAccounts=function(){return Promise.resolve([])},d);function d(e,t){var r=this,n=u.getNetwork(null==e?"homestead":e);null==t&&(t="7d0d81d0919f4f05b9ab6634be01ee73");var A=null;switch(n.name){case"homestead":A="mainnet.infura.io";break;case"ropsten":A="ropsten.infura.io";break;case"rinkeby":A="rinkeby.infura.io";break;case"goerli":A="goerli.infura.io";break;case"kovan":A="kovan.infura.io";break;default:c.throwError("unsupported network",c.INVALID_ARGUMENT,{argument:"network",value:e})}return s.isHexString("0x"+t,16)?(r=o.call(this,"https://"+A+"/v3/"+t,n)||this,l.defineReadOnly(r,"apiAccessToken",null),l.defineReadOnly(r,"projectId",t)):(c.warn("The legacy INFURA apiAccesToken API is deprecated; please upgrade to a Project ID instead (see INFURA dshboard; https://infura.io)"),r=o.call(this,"https://"+A+"/"+t,n)||this,l.defineReadOnly(r,"apiAccessToken",t),l.defineReadOnly(r,"projectId",null)),c.checkNew(r,d),r}r.InfuraProvider=f},{"../errors":5,"../utils/bytes":63,"../utils/networks":71,"../utils/properties":73,"./json-rpc-provider":56}],55:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0})},{}],56:[function(e,t,r){"use strict";var n,A=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var o=e("./base-provider"),a=e("../abstract-signer"),s=i(e("../errors")),u=e("../utils/address"),l=e("../utils/bytes"),c=e("../utils/networks"),f=e("../utils/properties"),d=e("../utils/utf8"),g=e("../utils/web");function h(e){if(e.error){var t=new Error(e.error.message);throw t.code=e.error.code,t.data=e.error.data,t}return e.result}function p(e){return e?e.toLowerCase():e}var I,B={},C=42,m=(A(y,I=a.Signer),y.prototype.getAddress=function(){var e=this;return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then(function(t){return t.length<=e._index&&s.throwError("unknown account #"+e._index,s.UNSUPPORTED_OPERATION,{operation:"getAddress"}),e._address=u.getAddress(t[e._index]),e._address})},y.prototype.getBalance=function(e){return this.provider.getBalance(this.getAddress(),e)},y.prototype.getTransactionCount=function(e){return this.provider.getTransactionCount(this.getAddress(),e)},y.prototype.sendUncheckedTransaction=function(e){var t=this;e=f.shallowCopy(e);var r=this.getAddress().then(function(e){return e&&e.toLowerCase()});if(null==e.gasLimit){var n=f.shallowCopy(e);n.from=r,e.gasLimit=this.provider.estimateGas(n)}return Promise.all([f.resolveProperties(e),r]).then(function(e){var r=e[0],n=E.hexlifyTransaction(r);return n.from=e[1],t.provider.send("eth_sendTransaction",[n]).then(function(e){return e},function(e){throw e.responseText&&(0<=e.responseText.indexOf("insufficient funds")&&s.throwError("insufficient funds",s.INSUFFICIENT_FUNDS,{transaction:r}),0<=e.responseText.indexOf("nonce too low")&&s.throwError("nonce has already been used",s.NONCE_EXPIRED,{transaction:r}),0<=e.responseText.indexOf("replacement transaction underpriced")&&s.throwError("replacement fee too low",s.REPLACEMENT_UNDERPRICED,{transaction:r})),e})})},y.prototype.sendTransaction=function(e){var t=this;return this.sendUncheckedTransaction(e).then(function(e){return g.poll(function(){return t.provider.getTransaction(e).then(function(r){if(null!==r)return t.provider._wrapTransaction(r,e)})},{fastRetry:250,onceBlock:t.provider}).catch(function(t){throw t.transactionHash=e,t})})},y.prototype.signMessage=function(e){var t=this,r="string"==typeof e?d.toUtf8Bytes(e):e;return this.getAddress().then(function(e){return t.provider.send("eth_sign",[e.toLowerCase(),l.hexlify(r)])})},y.prototype.unlock=function(e){var t=this.provider;return this.getAddress().then(function(r){return t.send("personal_unlockAccount",[r.toLowerCase(),e,null])})},y);function y(e,t,r){var n=I.call(this)||this;if(s.checkNew(n,y),e!==B)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");return f.defineReadOnly(n,"provider",t),r?"string"==typeof r?f.defineReadOnly(n,"_address",u.getAddress(r)):"number"==typeof r?f.defineReadOnly(n,"_index",r):s.throwError("invalid address or index",s.INVALID_ARGUMENT,{argument:"addressOrIndex",value:r}):f.defineReadOnly(n,"_index",0),n}r.JsonRpcSigner=m;var Q,w={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0},E=(A(b,Q=o.BaseProvider),b.prototype.getSigner=function(e){return new m(B,this,e)},b.prototype.listAccounts=function(){return this.send("eth_accounts",[]).then(function(e){return e.map(function(e){return u.getAddress(e)})})},b.prototype.send=function(e,t){var r=this,n={method:e,params:t,id:C++,jsonrpc:"2.0"};return g.fetchJson(this.connection,JSON.stringify(n),h).then(function(e){return r.emit("debug",{action:"send",request:n,response:e,provider:r}),e})},b.prototype.perform=function(e,t){switch(e){case"getBlockNumber":return this.send("eth_blockNumber",[]);case"getGasPrice":return this.send("eth_gasPrice",[]);case"getBalance":return this.send("eth_getBalance",[p(t.address),t.blockTag]);case"getTransactionCount":return this.send("eth_getTransactionCount",[p(t.address),t.blockTag]);case"getCode":return this.send("eth_getCode",[p(t.address),t.blockTag]);case"getStorageAt":return this.send("eth_getStorageAt",[p(t.address),t.position,t.blockTag]);case"sendTransaction":return this.send("eth_sendRawTransaction",[t.signedTransaction]).catch(function(e){throw e.responseText&&(0<e.responseText.indexOf("insufficient funds")&&s.throwError("insufficient funds",s.INSUFFICIENT_FUNDS,{}),0<e.responseText.indexOf("nonce too low")&&s.throwError("nonce has already been used",s.NONCE_EXPIRED,{}),0<e.responseText.indexOf("replacement transaction underpriced")&&s.throwError("replacement fee too low",s.REPLACEMENT_UNDERPRICED,{})),e});case"getBlock":return t.blockTag?this.send("eth_getBlockByNumber",[t.blockTag,!!t.includeTransactions]):t.blockHash?this.send("eth_getBlockByHash",[t.blockHash,!!t.includeTransactions]):Promise.reject(new Error("invalid block tag or block hash"));case"getTransaction":return this.send("eth_getTransactionByHash",[t.transactionHash]);case"getTransactionReceipt":return this.send("eth_getTransactionReceipt",[t.transactionHash]);case"call":return this.send("eth_call",[b.hexlifyTransaction(t.transaction,{from:!0}),t.blockTag]);case"estimateGas":return this.send("eth_estimateGas",[b.hexlifyTransaction(t.transaction,{from:!0})]);case"getLogs":return t.filter&&null!=t.filter.address&&(t.filter.address=p(t.filter.address)),this.send("eth_getLogs",[t.filter])}return s.throwError(e+" not implemented",s.NOT_IMPLEMENTED,{operation:e}),null},b.prototype._startPending=function(){if(null==this._pendingFilter){var e=this,t=this.send("eth_newPendingTransactionFilter",[]);(this._pendingFilter=t).then(function(r){return function n(){e.send("eth_getFilterChanges",[r]).then(function(r){if(e._pendingFilter!=t)return null;var n=Promise.resolve();return r.forEach(function(t){e._emitted["t:"+t.toLowerCase()]="pending",n=n.then(function(){return e.getTransaction(t).then(function(t){return e.emit("pending",t),null})})}),n.then(function(){return new Promise(function(e){setTimeout(function(){e()},1e3)})})}).then(function(){if(e._pendingFilter==t)return setTimeout(function(){n()},0),null;e.send("eth_uninstallFilter",[r])}).catch(function(e){})}(),r}).catch(function(e){})}},b.prototype._stopPending=function(){this._pendingFilter=null},b.hexlifyTransaction=function(e,t){var r=f.shallowCopy(w);if(t)for(var n in t)t[n]&&(r[n]=!0);f.checkProperties(e,r);var A={};return["gasLimit","gasPrice","nonce","value"].forEach(function(t){if(null!=e[t]){var r=l.hexStripZeros(l.hexlify(e[t]));"gasLimit"===t&&(t="gas"),A[t]=r}}),["from","to","data"].forEach(function(t){null!=e[t]&&(A[t]=l.hexlify(e[t]))}),A},b);function b(e,t){var r=this;if("string"==typeof e&&null===t&&c.getNetwork(e)&&(t=e,e=null),t)r=Q.call(this,t)||this;else{var n=new Promise(function(e,t){setTimeout(function(){r.send("net_version",[]).then(function(t){return e(c.getNetwork(parseInt(t)))}).catch(function(e){t(e)})})});r=Q.call(this,n)||this}return s.checkNew(r,b),e=e||"http://localhost:8545",r.connection="string"==typeof e?{url:e}:e,r}r.JsonRpcProvider=E},{"../abstract-signer":2,"../errors":5,"../utils/address":59,"../utils/bytes":63,"../utils/networks":71,"../utils/properties":73,"../utils/utf8":84,"../utils/web":85,"./base-provider":50}],57:[function(e,t,r){"use strict";var n,A=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var o,a=e("./json-rpc-provider"),s=e("../utils/properties"),u=i(e("../errors")),l=42,c=(A(f,o=a.JsonRpcProvider),f.prototype.send=function(e,t){var r=this;return"eth_sign"==e&&this._web3Provider.isMetaMask&&(e="personal_sign",t=[t[1],t[0]]),new Promise(function(n,A){var i={method:e,params:t,id:l++,jsonrpc:"2.0"};r._sendAsync(i,function(e,t){if(e)A(e);else{if(t.error){var r=new Error(t.error.message);return r.code=t.error.code,r.data=t.error.data,void A(r)}n(t.result)}})})},f);function f(e,t){var r=o.call(this,e.host||e.path||"",t)||this;return u.checkNew(r,f),e&&(e.sendAsync?r._sendAsync=e.sendAsync.bind(e):e.send&&(r._sendAsync=e.send.bind(e))),e&&r._sendAsync||u.throwError("invalid web3Provider",u.INVALID_ARGUMENT,{arg:"web3Provider",value:e}),s.defineReadOnly(r,"_web3Provider",e),r}r.Web3Provider=c},{"../errors":5,"../utils/properties":73,"./json-rpc-provider":56}],58:[function(e,t,r){"use strict";var n,A=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var o=e("../constants"),a=i(e("../errors")),s=e("./address"),u=e("./bignumber"),l=e("./bytes"),c=e("./utf8"),f=e("./properties"),d=new RegExp(/^bytes([0-9]*)$/),g=new RegExp(/^(u?int)([0-9]*)$/),h=new RegExp(/^(.*)\[([0-9]*)\]$/);r.defaultCoerceFunc=function(e,t){var r=e.match(g);return r&&parseInt(r[2])<=48?t.toNumber():t};var p=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$"),I=new RegExp("^[A-Za-z_][A-Za-z0-9_]*$");function B(e){return e.match(/^uint($|[^1-9])/)?e="uint256"+e.substring(4):e.match(/^int($|[^1-9])/)&&(e="int256"+e.substring(3)),e}function C(e,t){var r=e;function n(e){throw new Error('unexpected character "'+r[e]+'" at position '+e+' in "'+r+'"')}e=e.replace(/\s/g," ");for(var A={type:"",name:"",state:{allowType:!0}},i=A,o=0;o<e.length;o++){var a=e[o];switch(a){case"(":i.state.allowParams||n(o),i.state.allowType=!1,i.type=B(i.type),i.components=[{type:"",name:"",parent:i,state:{allowType:!0}}],i=i.components[0];break;case")":delete i.state,t&&"indexed"===i.name&&(i.indexed=!0,i.name=""),i.type=B(i.type);var s=i;(i=i.parent)||n(o),delete s.parent,i.state.allowParams=!1,i.state.allowName=!0,i.state.allowArray=!0;break;case",":delete i.state,t&&"indexed"===i.name&&(i.indexed=!0,i.name=""),i.type=B(i.type);var u={type:"",name:"",parent:i.parent,state:{allowType:!0}};i.parent.components.push(u),delete i.parent,i=u;break;case" ":i.state.allowType&&""!==i.type&&(i.type=B(i.type),delete i.state.allowType,i.state.allowName=!0,i.state.allowParams=!0),i.state.allowName&&""!==i.name&&(t&&"indexed"===i.name?(i.indexed=!0,i.name=""):i.state.allowName=!1);break;case"[":i.state.allowArray||n(o),i.type+=a,i.state.allowArray=!1,i.state.allowName=!1,i.state.readArray=!0;break;case"]":i.state.readArray||n(o),i.type+=a,i.state.readArray=!1,i.state.allowArray=!0,i.state.allowName=!0;break;default:i.state.allowType?(i.type+=a,i.state.allowParams=!0,i.state.allowArray=!0):i.state.allowName?(i.name+=a,delete i.state.allowArray):i.state.readArray?i.type+=a:n(o)}}if(i.parent)throw new Error("unexpected eof");return delete A.state,t&&"indexed"===i.name&&(i.indexed=!0,i.name=""),A.type=B(A.type),A}function m(e){return oe(r.defaultCoerceFunc,e).type}function y(e,t,r,n,A){this.coerceFunc=e,this.name=t,this.type=r,this.localName=n,this.dynamic=A}r.parseParamType=function(e){return C(e,!0)},r.formatParamType=m,r.formatSignature=function(e){return e.name+"("+e.inputs.map(function(e){return m(e)}).join(",")+")"},r.parseSignature=function(e){if("string"==typeof e)return"event "===(e=(e=(e=e.replace(/\s/g," ")).replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," ")).trim()).substring(0,6)?function(e){var t={anonymous:!1,inputs:[],name:"",type:"event"},r=e.match(p);if(!r)throw new Error("invalid event: "+e);if(t.name=r[1].trim(),Ae(r[2]).forEach(function(e){(e=C(e,!0)).indexed=!!e.indexed,t.inputs.push(e)}),r[3].split(" ").forEach(function(e){switch(e){case"anonymous":t.anonymous=!0;break;case"":break;default:a.info("unknown modifier: "+e)}}),t.name&&!t.name.match(I))throw new Error('invalid identifier: "'+t.name+'"');return t}(e.substring(6).trim()):("function "===e.substring(0,9)&&(e=e.substring(9)),function(e){var t={constant:!1,gas:null,inputs:[],name:"",outputs:[],payable:!1,stateMutability:null,type:"function"},r=e.split("@");if(1!==r.length){if(2<r.length)throw new Error("invalid signature");if(!r[1].match(/^[0-9]+$/))throw new Error("invalid signature gas");t.gas=u.bigNumberify(r[1]),e=r[0]}var n=(r=e.split(" returns "))[0].match(p);if(!n)throw new Error("invalid signature");if(t.name=n[1].trim(),!t.name.match(I))throw new Error('invalid identifier: "'+n[1]+'"');if(Ae(n[2]).forEach(function(e){t.inputs.push(C(e))}),n[3].split(" ").forEach(function(e){switch(e){case"constant":t.constant=!0;break;case"payable":t.payable=!0,t.stateMutability="payable";break;case"pure":t.constant=!0,t.stateMutability="pure";break;case"view":t.constant=!0,t.stateMutability="view";break;case"external":case"public":case"":break;default:a.info("unknown modifier: "+e)}}),1<r.length){var A=r[1].match(p);if(""!=A[1].trim()||""!=A[3].trim())throw new Error("unexpected tokens");Ae(A[2]).forEach(function(e){t.outputs.push(C(e))})}if("constructor"===t.name){if(t.type="constructor",t.outputs.length)throw new Error("constructor may not have outputs");delete t.name,delete t.outputs}return t}(e.trim()));throw new Error("unknown signature")};var Q,w=(A(E,Q=y),E.prototype.encode=function(e){return this.coder.encode(e)},E.prototype.decode=function(e,t){return this.coder.decode(e,t)},E);function E(e){var t=Q.call(this,e.coerceFunc,e.name,e.type,void 0,e.dynamic)||this;return f.defineReadOnly(t,"coder",e),t}var b,v=(A(D,b=y),D.prototype.encode=function(e){return l.arrayify([])},D.prototype.decode=function(e,t){if(t>e.length)throw new Error("invalid null");return{consumed:0,value:this.coerceFunc("null",void 0)}},D);function D(e,t){return b.call(this,e,"null","",t,!1)||this}var M,k=(A(_,M=y),_.prototype.encode=function(e){try{var t=u.bigNumberify(e);if(this.signed){var r=o.MaxUint256.maskn(8*this.size-1);if(t.gt(r))throw new Error("out-of-bounds");if(r=r.add(o.One).mul(o.NegativeOne),t.lt(r))throw new Error("out-of-bounds")}else if(t.lt(o.Zero)||t.gt(o.MaxUint256.maskn(8*this.size)))throw new Error("out-of-bounds");return t=t.toTwos(8*this.size).maskn(8*this.size),this.signed&&(t=t.fromTwos(8*this.size).toTwos(256)),l.padZeros(l.arrayify(t),32)}catch(t){a.throwError("invalid number value",a.INVALID_ARGUMENT,{arg:this.localName,coderType:this.name,value:e})}return null},_.prototype.decode=function(e,t){e.length<t+32&&a.throwError("insufficient data for "+this.name+" type",a.INVALID_ARGUMENT,{arg:this.localName,coderType:this.name,value:l.hexlify(e.slice(t,t+32))});var r=32-this.size,n=u.bigNumberify(e.slice(t+r,t+32));return n=this.signed?n.fromTwos(8*this.size):n.maskn(8*this.size),{consumed:32,value:this.coerceFunc(this.name,n)}},_);function _(e,t,r,n){var A=this,i=(r?"int":"uint")+8*t;return(A=M.call(this,e,i,i,n,!1)||this).size=t,A.signed=r,A}var S,N=new k(function(e,t){return t},32,!1,"none"),F=(A(x,S=y),x.prototype.encode=function(e){return N.encode(e?1:0)},x.prototype.decode=function(e,t){try{var r=N.decode(e,t)}catch(e){throw"insufficient data for uint256 type"===e.reason&&a.throwError("insufficient data for boolean type",a.INVALID_ARGUMENT,{arg:this.localName,coderType:"boolean",value:e.value}),e}return{consumed:r.consumed,value:this.coerceFunc("bool",!r.value.isZero())}},x);function x(e,t){return S.call(this,e,"bool","bool",t,!1)||this}var G,H=(A(U,G=y),U.prototype.encode=function(e){var t=new Uint8Array(32);try{var r=l.arrayify(e);if(r.length!==this.length)throw new Error("incorrect data length");t.set(r)}catch(t){a.throwError("invalid "+this.name+" value",a.INVALID_ARGUMENT,{arg:this.localName,coderType:this.name,value:t.value||e})}return t},U.prototype.decode=function(e,t){return e.length<t+32&&a.throwError("insufficient data for "+this.name+" type",a.INVALID_ARGUMENT,{arg:this.localName,coderType:this.name,value:l.hexlify(e.slice(t,t+32))}),{consumed:32,value:this.coerceFunc(this.name,l.hexlify(e.slice(t,t+this.length)))}},U);function U(e,t,r){var n=this,A="bytes"+t;return(n=G.call(this,e,A,A,r,!1)||this).length=t,n}var Y,L=(A(O,Y=y),O.prototype.encode=function(e){var t=new Uint8Array(32);try{t.set(l.arrayify(s.getAddress(e)),12)}catch(t){a.throwError("invalid address",a.INVALID_ARGUMENT,{arg:this.localName,coderType:"address",value:e})}return t},O.prototype.decode=function(e,t){return e.length<t+32&&a.throwError("insufficuent data for address type",a.INVALID_ARGUMENT,{arg:this.localName,coderType:"address",value:l.hexlify(e.slice(t,t+32))}),{consumed:32,value:this.coerceFunc("address",s.getAddress(l.hexlify(e.slice(t+12,t+32))))}},O);function O(e,t){return Y.call(this,e,"address","address",t,!1)||this}function K(e){var t=32*Math.ceil(e.length/32),r=new Uint8Array(t-e.length);return l.concat([N.encode(e.length),e,r])}function P(e,t,r){e.length<t+32&&a.throwError("insufficient data for dynamicBytes length",a.INVALID_ARGUMENT,{arg:r,coderType:"dynamicBytes",value:l.hexlify(e.slice(t,t+32))});var n=N.decode(e,t).value;try{n=n.toNumber()}catch(e){a.throwError("dynamic bytes count too large",a.INVALID_ARGUMENT,{arg:r,coderType:"dynamicBytes",value:n.toString()})}return e.length<t+32+n&&a.throwError("insufficient data for dynamicBytes type",a.INVALID_ARGUMENT,{arg:r,coderType:"dynamicBytes",value:l.hexlify(e.slice(t,t+32+n))}),{consumed:32+32*Math.ceil(n/32),value:e.slice(t+32,t+32+n)}}var R,T=(A(J,R=y),J.prototype.encode=function(e){try{return K(l.arrayify(e))}catch(e){a.throwError("invalid bytes value",a.INVALID_ARGUMENT,{arg:this.localName,coderType:"bytes",value:e.value})}return null},J.prototype.decode=function(e,t){var r=P(e,t,this.localName);return r.value=this.coerceFunc("bytes",l.hexlify(r.value)),r},J);function J(e,t){return R.call(this,e,"bytes","bytes",t,!0)||this}var j,q=(A(V,j=y),V.prototype.encode=function(e){return"string"!=typeof e&&a.throwError("invalid string value",a.INVALID_ARGUMENT,{arg:this.localName,coderType:"string",value:e}),K(c.toUtf8Bytes(e))},V.prototype.decode=function(e,t){var r=P(e,t,this.localName);return r.value=this.coerceFunc("string",c.toUtf8String(r.value)),r},V);function V(e,t){return j.call(this,e,"string","string",t,!0)||this}function W(e){return 32*Math.ceil(e/32)}function z(e,t){if(Array.isArray(t));else if(t&&"object"==typeof t){var r=[];e.forEach(function(e){r.push(t[e.localName])}),t=r}else a.throwError("invalid tuple value",a.INVALID_ARGUMENT,{coderType:"tuple",value:t});e.length!==t.length&&a.throwError("types/value length mismatch",a.INVALID_ARGUMENT,{coderType:"tuple",value:t});var n=[];e.forEach(function(e,r){n.push({dynamic:e.dynamic,value:e.encode(t[r])})});var A=0,i=0;n.forEach(function(e){e.dynamic?(A+=32,i+=W(e.value.length)):A+=W(e.value.length)});var o=0,s=A,u=new Uint8Array(A+i);return n.forEach(function(e){e.dynamic?(u.set(N.encode(s),o),o+=32,u.set(e.value,s),s+=W(e.value.length)):(u.set(e.value,o),o+=W(e.value.length))}),u}function Z(e,t,r){var n=r,A=0,i=[];return e.forEach(function(e){if(e.dynamic){var o=N.decode(t,r);(a=e.decode(t,n+o.value.toNumber())).consumed=o.consumed}else var a=e.decode(t,r);null!=a.value&&i.push(a.value),r+=a.consumed,A+=a.consumed}),e.forEach(function(e,t){var r=e.localName;r&&("length"===r&&(r="_length"),null==i[r]&&(i[r]=i[t]))}),{value:i,consumed:A}}var X,$=(A(ee,X=y),ee.prototype.encode=function(e){Array.isArray(e)||a.throwError("expected array value",a.INVALID_ARGUMENT,{arg:this.localName,coderType:"array",value:e});var t=this.length,r=new Uint8Array(0);-1===t&&(t=e.length,r=N.encode(t)),a.checkArgumentCount(t,e.length," in coder array"+(this.localName?" "+this.localName:""));for(var n=[],A=0;A<e.length;A++)n.push(this.coder);return l.concat([r,z(n,e)])},ee.prototype.decode=function(e,t){var r=0,n=this.length;if(-1===n){try{var A=N.decode(e,t)}catch(e){a.throwError("insufficient data for dynamic array length",a.INVALID_ARGUMENT,{arg:this.localName,coderType:"array",value:e.value})}try{n=A.value.toNumber()}catch(e){a.throwError("array count too large",a.INVALID_ARGUMENT,{arg:this.localName,coderType:"array",value:A.value.toString()})}r+=A.consumed,t+=A.consumed}for(var i=[],o=0;o<n;o++)i.push(new w(this.coder));var s=Z(i,e,t);return s.consumed+=r,s.value=this.coerceFunc(this.type,s.value),s},ee);function ee(e,t,r,n){var A=this,i=t.type+"["+(0<=r?r:"")+"]",o=-1===r||t.dynamic;return(A=X.call(this,e,"array",i,n,o)||this).coder=t,A.length=r,A}var te,re=(A(ne,te=y),ne.prototype.encode=function(e){return z(this.coders,e)},ne.prototype.decode=function(e,t){var r=Z(this.coders,e,t);return r.value=this.coerceFunc(this.type,r.value),r},ne);function ne(e,t,r){var n=this,A=!1,i=[];t.forEach(function(e){e.dynamic&&(A=!0),i.push(e.type)});var o="tuple("+i.join(",")+")";return(n=te.call(this,e,"tuple",o,r,A)||this).coders=t,n}function Ae(e){e=e.trim();for(var t=[],r="",n=0,A=0;A<e.length;A++){var i=e[A];if(","===i&&0===n)t.push(r),r="";else if(r+=i,"("===i)n++;else if(")"===i&&-1==--n)throw new Error("unbalanced parenthsis")}return r&&t.push(r),t}var ie={address:L,bool:F,string:q,bytes:T};function oe(e,t){var r,n=ie[t.type];if(n)return new n(e,t.name);if(r=t.type.match(g))return(0===(A=parseInt(r[2]||"256"))||256<A||A%8!=0)&&a.throwError("invalid "+r[1]+" bit length",a.INVALID_ARGUMENT,{arg:"param",value:t}),new k(e,A/8,"int"===r[1],t.name);if(r=t.type.match(d))return(0===(A=parseInt(r[1]))||32<A)&&a.throwError("invalid bytes length",a.INVALID_ARGUMENT,{arg:"param",value:t}),new H(e,A,t.name);if(r=t.type.match(h)){var A=parseInt(r[2]||"-1");return(t=f.shallowCopy(t)).type=r[1],t=f.deepCopy(t),new $(e,oe(e,t),A,t.name)}return"tuple"===t.type.substring(0,5)?function(e,t,r){var n=[];return(t=t||[]).forEach(function(t){n.push(oe(e,t))}),new re(e,n,r)}(e,t.components,t.name):""===t.type?new v(e,t.name):(a.throwError("invalid type",a.INVALID_ARGUMENT,{arg:"type",value:t.type}),null)}var ae=(se.prototype.encode=function(e,t){e.length!==t.length&&a.throwError("types/values length mismatch",a.INVALID_ARGUMENT,{count:{types:e.length,values:t.length},value:{types:e,values:t}});var r=[];return e.forEach(function(e){var t;t="string"==typeof e?C(e):e,r.push(oe(this.coerceFunc,t))},this),l.hexlify(new re(this.coerceFunc,r,"_").encode(t))},se.prototype.decode=function(e,t){var r=[];return e.forEach(function(e){var t;t="string"==typeof e?C(e):f.deepCopy(e),r.push(oe(this.coerceFunc,t))},this),new re(this.coerceFunc,r,"_").decode(l.arrayify(t),0).value},se);function se(e){a.checkNew(this,se),e=e||r.defaultCoerceFunc,f.defineReadOnly(this,"coerceFunc",e)}r.AbiCoder=ae,r.defaultAbiCoder=new ae},{"../constants":3,"../errors":5,"./address":59,"./bignumber":62,"./bytes":63,"./properties":73,"./utf8":84}],59:[function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var A=n(e("bn.js")),i=e("./bytes"),o=e("./keccak256"),a=e("./rlp"),s=e("../errors");function u(e){"string"==typeof e&&e.match(/^0x[0-9A-Fa-f]{40}$/)||s.throwError("invalid address",s.INVALID_ARGUMENT,{arg:"address",value:e});for(var t=(e=e.toLowerCase()).substring(2).split(""),r=new Uint8Array(40),n=0;n<40;n++)r[n]=t[n].charCodeAt(0);r=i.arrayify(o.keccak256(r));for(var A=0;A<40;A+=2)8<=r[A>>1]>>4&&(t[A]=t[A].toUpperCase()),8<=(15&r[A>>1])&&(t[A+1]=t[A+1].toUpperCase());return"0x"+t.join("")}for(var l={},c=0;c<10;c++)l[String(c)]=String(c);for(c=0;c<26;c++)l[String.fromCharCode(65+c)]=String(10+c);var f,d=Math.floor((f=9007199254740991,Math.log10?Math.log10(f):Math.log(f)/Math.LN10));function g(e){e=(e=e.toUpperCase()).substring(4)+e.substring(0,2)+"00";var t="";for(e.split("").forEach(function(e){t+=l[e]});t.length>=d;){var r=t.substring(0,d);t=parseInt(r,10)%97+t.substring(r.length)}for(var n=String(98-parseInt(t,10)%97);n.length<2;)n="0"+n;return n}function h(e){var t=null;if("string"!=typeof e&&s.throwError("invalid address",s.INVALID_ARGUMENT,{arg:"address",value:e}),e.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==e.substring(0,2)&&(e="0x"+e),t=u(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&t!==e&&s.throwError("bad address checksum",s.INVALID_ARGUMENT,{arg:"address",value:e});else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(e.substring(2,4)!==g(e)&&s.throwError("bad icap checksum",s.INVALID_ARGUMENT,{arg:"address",value:e}),t=new A.default.BN(e.substring(4),36).toString(16);t.length<40;)t="0"+t;t=u("0x"+t)}else s.throwError("invalid address",s.INVALID_ARGUMENT,{arg:"address",value:e});return t}r.getAddress=h,r.getIcapAddress=function(e){for(var t=new A.default.BN(h(e).substring(2),16).toString(36).toUpperCase();t.length<30;)t="0"+t;return"XE"+g("XE00"+t)+t},r.getContractAddress=function(e){if(!e.from)throw new Error("missing from address");var t=e.nonce;return h("0x"+o.keccak256(a.encode([h(e.from),i.stripZeros(i.hexlify(t))])).substring(26))}},{"../errors":5,"./bytes":63,"./keccak256":70,"./rlp":75,"bn.js":9}],60:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("../utils/bytes");t.exports={decode:function(e){e=atob(e);for(var t=[],r=0;r<e.length;r++)t.push(e.charCodeAt(r));return n.arrayify(t)},encode:function(e){e=n.arrayify(e);for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}}},{"../utils/bytes":63}],61:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("./bytes"),A=e("./properties"),i=(o.prototype.encode=function(e){var t=n.arrayify(e);if(0===t.length)return"";for(var r=[0],A=0;A<t.length;++A){for(var i=t[A],o=0;o<r.length;++o)i+=r[o]<<8,r[o]=i%this.base,i=i/this.base|0;for(;0<i;)r.push(i%this.base),i=i/this.base|0}for(var a="",s=0;0===t[s]&&s<t.length-1;++s)a+=this._leader;for(var u=r.length-1;0<=u;--u)a+=this.alphabet[r[u]];return a},o.prototype.decode=function(e){if("string"!=typeof e)throw new TypeError("Expected String");var t=[];if(0===e.length)return new Uint8Array(t);t.push(0);for(var r=0;r<e.length;r++){var A=this._alphabetMap[e[r]];if(void 0===A)throw new Error("Non-base"+this.base+" character");for(var i=A,o=0;o<t.length;++o)i+=t[o]*this.base,t[o]=255&i,i>>=8;for(;0<i;)t.push(255&i),i>>=8}for(var a=0;e[a]===this._leader&&a<e.length-1;++a)t.push(0);return n.arrayify(new Uint8Array(t.reverse()))},o);function o(e){A.defineReadOnly(this,"alphabet",e),A.defineReadOnly(this,"base",e.length),A.defineReadOnly(this,"_alphabetMap",{}),A.defineReadOnly(this,"_leader",e.charAt(0));for(var t=0;t<e.length;t++)this._alphabetMap[e.charAt(t)]=t}var a=new(r.BaseX=i)("abcdefghijklmnopqrstuvwxyz234567");r.Base32=a;var s=new i("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");r.Base58=s},{"./bytes":63,"./properties":73}],62:[function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var i=n(e("bn.js")),o=e("./bytes"),a=e("./properties"),s=A(e("../errors")),u=new i.default.BN(-1);function l(e){var t=e.toString(16);return"-"===t[0]?t.length%2==0?"-0x0"+t.substring(1):"-0x"+t.substring(1):t.length%2==1?"0x0"+t:"0x"+t}function c(e){return d(p(e))}function f(e){return new g(l(e))}function d(e){var t=e._hex;return"-"===t[0]?new i.default.BN(t.substring(3),16).mul(u):new i.default.BN(t.substring(2),16)}var g=(h.prototype.fromTwos=function(e){return f(d(this).fromTwos(e))},h.prototype.toTwos=function(e){return f(d(this).toTwos(e))},h.prototype.abs=function(){return"-"===this._hex[0]?f(d(this).mul(u)):this},h.prototype.add=function(e){return f(d(this).add(c(e)))},h.prototype.sub=function(e){return f(d(this).sub(c(e)))},h.prototype.div=function(e){return p(e).isZero()&&s.throwError("division by zero",s.NUMERIC_FAULT,{operation:"divide",fault:"division by zero"}),f(d(this).div(c(e)))},h.prototype.mul=function(e){return f(d(this).mul(c(e)))},h.prototype.mod=function(e){return f(d(this).mod(c(e)))},h.prototype.pow=function(e){return f(d(this).pow(c(e)))},h.prototype.maskn=function(e){return f(d(this).maskn(e))},h.prototype.eq=function(e){return d(this).eq(c(e))},h.prototype.lt=function(e){return d(this).lt(c(e))},h.prototype.lte=function(e){return d(this).lte(c(e))},h.prototype.gt=function(e){return d(this).gt(c(e))},h.prototype.gte=function(e){return d(this).gte(c(e))},h.prototype.isZero=function(){return d(this).isZero()},h.prototype.toNumber=function(){try{return d(this).toNumber()}catch(e){s.throwError("overflow",s.NUMERIC_FAULT,{operation:"setValue",fault:"overflow",details:e.message})}return null},h.prototype.toString=function(){return d(this).toString(10)},h.prototype.toHexString=function(){return this._hex},h.isBigNumber=function(e){return a.isType(e,"BigNumber")},h);function h(e){if(s.checkNew(this,h),a.setType(this,"BigNumber"),"string"==typeof e)o.isHexString(e)?("0x"==e&&(e="0x0"),a.defineReadOnly(this,"_hex",e)):"-"===e[0]&&o.isHexString(e.substring(1))?a.defineReadOnly(this,"_hex",e):e.match(/^-?[0-9]*$/)?(""==e&&(e="0"),a.defineReadOnly(this,"_hex",l(new i.default.BN(e)))):s.throwError("invalid BigNumber string value",s.INVALID_ARGUMENT,{arg:"value",value:e});else if("number"==typeof e){parseInt(String(e))!==e&&s.throwError("underflow",s.NUMERIC_FAULT,{operation:"setValue",fault:"underflow",value:e,outputValue:parseInt(String(e))});try{a.defineReadOnly(this,"_hex",l(new i.default.BN(e)))}catch(e){s.throwError("overflow",s.NUMERIC_FAULT,{operation:"setValue",fault:"overflow",details:e.message})}}else e instanceof h?a.defineReadOnly(this,"_hex",e._hex):e.toHexString?a.defineReadOnly(this,"_hex",l(c(e.toHexString()))):e._hex&&o.isHexString(e._hex)?a.defineReadOnly(this,"_hex",e._hex):o.isArrayish(e)?a.defineReadOnly(this,"_hex",l(new i.default.BN(o.hexlify(e).substring(2),16))):s.throwError("invalid BigNumber value",s.INVALID_ARGUMENT,{arg:"value",value:e})}function p(e){return g.isBigNumber(e)?e:new g(e)}r.BigNumber=g,r.bigNumberify=p},{"../errors":5,"./bytes":63,"./properties":73,"bn.js":9}],63:[function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var A=n(e("../errors"));function i(e){return!!e.toHexString}function o(e){return e.slice||(e.slice=function(){var t=Array.prototype.slice.call(arguments);return o(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function a(e){if(!e||parseInt(String(e.length))!=e.length||"string"==typeof e)return!1;for(var t=0;t<e.length;t++){var r=e[t];if(r<0||256<=r||parseInt(String(r))!=r)return!1}return!0}function s(e){if(null==e&&A.throwError("cannot convert null value to array",A.INVALID_ARGUMENT,{arg:"value",value:e}),i(e)&&(e=e.toHexString()),"string"!=typeof e)return a(e)?o(new Uint8Array(e)):(A.throwError("invalid arrayify value",null,{arg:"value",value:e,type:typeof e}),null);var t=e.match(/^(0x)?[0-9a-fA-F]*$/);t||A.throwError("invalid hexidecimal string",A.INVALID_ARGUMENT,{arg:"value",value:e}),"0x"!==t[1]&&A.throwError("hex string must have 0x prefix",A.INVALID_ARGUMENT,{arg:"value",value:e}),(e=e.substring(2)).length%2&&(e="0"+e);for(var r=[],n=0;n<e.length;n+=2)r.push(parseInt(e.substr(n,2),16));return o(new Uint8Array(r))}function u(e){for(var t=[],r=0,n=0;n<e.length;n++){var A=s(e[n]);t.push(A),r+=A.length}var i=new Uint8Array(r),a=0;for(n=0;n<t.length;n++)i.set(t[n],a),a+=t[n].length;return o(i)}function l(e,t){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/)||t&&e.length!==2+2*t)}r.isHexable=i,r.isArrayish=a,r.arrayify=s,r.concat=u,r.stripZeros=function(e){var t=s(e);if(0===t.length)return t;for(var r=0;0===t[r];)r++;return r&&(t=t.slice(r)),t},r.padZeros=function(e,t){if(t<(e=s(e)).length)throw new Error("cannot pad");var r=new Uint8Array(t);return r.set(e,t-e.length),o(r)},r.isHexString=l;var c="0123456789abcdef";function f(e){if(i(e))return e.toHexString();if("number"==typeof e){e<0&&A.throwError("cannot hexlify negative value",A.INVALID_ARGUMENT,{arg:"value",value:e}),9007199254740991<=e&&A.throwError("out-of-range",A.NUMERIC_FAULT,{operartion:"hexlify",fault:"out-of-safe-range"});for(var t="";e;)t=c[15&e]+t,e=Math.floor(e/16);return t.length?(t.length%2&&(t="0"+t),"0x"+t):"0x00"}if("string"==typeof e){var r=e.match(/^(0x)?[0-9a-fA-F]*$/);return r||A.throwError("invalid hexidecimal string",A.INVALID_ARGUMENT,{arg:"value",value:e}),"0x"!==r[1]&&A.throwError("hex string must have 0x prefix",A.INVALID_ARGUMENT,{arg:"value",value:e}),e.length%2&&(e="0x0"+e.substring(2)),e}if(a(e)){for(var n=[],o=0;o<e.length;o++){var s=e[o];n.push(c[(240&s)>>4]+c[15&s])}return"0x"+n.join("")}return A.throwError("invalid hexlify value",null,{arg:"value",value:e}),"never"}function d(e,t){for(l(e)||A.throwError("invalid hex string",A.INVALID_ARGUMENT,{arg:"value",value:e});e.length<2*t+2;)e="0x0"+e.substring(2);return e}function g(e){var t=0,r="0x",n="0x";if(function(e){return e&&null!=e.r&&null!=e.s}(e)){null==e.v&&null==e.recoveryParam&&A.throwError("at least on of recoveryParam or v must be specified",A.INVALID_ARGUMENT,{argument:"signature",value:e}),r=d(e.r,32),n=d(e.s,32),"string"==typeof(t=e.v)&&(t=parseInt(t,16));var i=e.recoveryParam;null==i&&null!=e.v&&(i=1-t%2),t=27+i}else{var o=s(e);if(65!==o.length)throw new Error("invalid signature");r=f(o.slice(0,32)),n=f(o.slice(32,64)),27!==(t=o[64])&&28!==t&&(t=27+t%2)}return{r:r,s:n,recoveryParam:t-27,v:t}}r.hexlify=f,r.hexDataLength=function(e){return l(e)&&e.length%2==0?(e.length-2)/2:null},r.hexDataSlice=function(e,t,r){return l(e)||A.throwError("invalid hex data",A.INVALID_ARGUMENT,{arg:"value",value:e}),e.length%2!=0&&A.throwError("hex data length must be even",A.INVALID_ARGUMENT,{arg:"value",value:e}),t=2+2*t,null!=r?"0x"+e.substring(t,2+2*r):"0x"+e.substring(t)},r.hexStripZeros=function(e){for(l(e)||A.throwError("invalid hex string",A.INVALID_ARGUMENT,{arg:"value",value:e});3<e.length&&"0x0"===e.substring(0,3);)e="0x"+e.substring(3);return e},r.hexZeroPad=d,r.splitSignature=g,r.joinSignature=function(e){return f(u([(e=g(e)).r,e.s,e.recoveryParam?"0x1c":"0x1b"]))}},{"../errors":5}],64:[function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var A=n(e("../errors")),i=e("./bytes"),o=e("./utf8"),a=e("./keccak256"),s=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),u=new RegExp("^((.*)\\.)?([^.]+)$"),l=new RegExp("^[a-z0-9.-]*$");r.namehash=function(e){"string"!=typeof e&&A.throwError("invalid address - "+String(e),A.INVALID_ARGUMENT,{argument:"name",value:e}),(e=e.toLowerCase()).match(l)||A.throwError("contains invalid UseSTD3ASCIIRules characters",A.INVALID_ARGUMENT,{argument:"name",value:e});for(var t=s;e.length;){var r=e.match(u),n=o.toUtf8Bytes(r[3]);t=a.keccak256(i.concat([t,a.keccak256(n)])),e=r[2]||""}return i.hexlify(t)},r.id=function(e){return a.keccak256(o.toUtf8Bytes(e))},r.hashMessage=function(e){return a.keccak256(i.concat([o.toUtf8Bytes("Ethereum Signed Message:\n"),o.toUtf8Bytes(String(e.length)),"string"==typeof e?o.toUtf8Bytes(e):e]))}},{"../errors":5,"./bytes":63,"./keccak256":70,"./utf8":84}],65:[function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var A=n(e("../errors")),i=e("../wordlists/lang-en"),o=e("./basex"),a=e("./bytes"),s=e("./bignumber"),u=e("./utf8"),l=e("./pbkdf2"),c=e("./hmac"),f=e("./properties"),d=e("./secp256k1"),g=e("./sha2"),h=s.bigNumberify("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),p=u.toUtf8Bytes("Bitcoin seed"),I=2147483648;function B(e){return(1<<e)-1<<8-e}function C(e){return a.hexZeroPad(a.hexlify(e),32)}function m(e){var t=a.hexDataSlice(g.sha256(g.sha256(e)),0,4);return o.Base58.encode(a.concat([e,t]))}var y={};r.defaultPath="m/44'/60'/0'/0/0";var Q=(Object.defineProperty(w.prototype,"extendedKey",{get:function(){if(256<=this.depth)throw new Error("Depth too large!");return m(a.concat([null!=this.privateKey?"0x0488ADE4":"0x0488B21E",a.hexlify(this.depth),this.parentFingerprint,a.hexZeroPad(a.hexlify(this.index),4),this.chainCode,null!=this.privateKey?a.concat(["0x00",this.privateKey]):this.publicKey]))},enumerable:!0,configurable:!0}),w.prototype.neuter=function(){return new w(y,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,null,this.path)},w.prototype._derive=function(e){if(4294967295<e)throw new Error("invalid index - "+String(e));var t=this.path;t&&(t+="/"+(e&~I));var r=new Uint8Array(37);if(e&I){if(!this.privateKey)throw new Error("cannot derive child of neutered node");r.set(a.arrayify(this.privateKey),1),t&&(t+="'")}else r.set(a.arrayify(this.publicKey));for(var n=24;0<=n;n-=8)r[33+(n>>3)]=e>>24-n&255;var A=c.computeHmac(c.SupportedAlgorithms.sha512,this.chainCode,r),i=A.slice(0,32),o=A.slice(32),u=null,l=null;return this.privateKey?u=C(s.bigNumberify(i).add(this.privateKey).mod(h)):l=new d.KeyPair(a.hexlify(i))._addPoint(this.publicKey),new w(y,u,l,this.fingerprint,C(o),e,this.depth+1,this.mnemonic,t)},w.prototype.derivePath=function(e){var t=e.split("/");if(0===t.length||"m"===t[0]&&0!==this.depth)throw new Error("invalid path - "+e);"m"===t[0]&&t.shift();for(var r=this,n=0;n<t.length;n++){var A=t[n];if(A.match(/^[0-9]+'$/)){var i=parseInt(A.substring(0,A.length-1));if(I<=i)throw new Error("invalid path index - "+A);r=r._derive(I+i)}else{if(!A.match(/^[0-9]+$/))throw new Error("invlaid path component - "+A);if(i=parseInt(A),I<=i)throw new Error("invalid path index - "+A);r=r._derive(i)}}return r},w.isHDNode=function(e){return f.isType(e,"HDNode")},w);function w(e,t,r,n,i,o,s,u,l){if(A.checkNew(this,w),e!==y)throw new Error("HDNode constructor cannot be called directly");if(t){var c=new d.KeyPair(t);f.defineReadOnly(this,"privateKey",c.privateKey),f.defineReadOnly(this,"publicKey",c.compressedPublicKey)}else f.defineReadOnly(this,"privateKey",null),f.defineReadOnly(this,"publicKey",a.hexlify(r));f.defineReadOnly(this,"parentFingerprint",n),f.defineReadOnly(this,"fingerprint",a.hexDataSlice(g.ripemd160(g.sha256(this.publicKey)),0,4)),f.defineReadOnly(this,"address",d.computeAddress(this.publicKey)),f.defineReadOnly(this,"chainCode",i),f.defineReadOnly(this,"index",o),f.defineReadOnly(this,"depth",s),f.defineReadOnly(this,"mnemonic",u),f.defineReadOnly(this,"path",l),f.setType(this,"HDNode")}function E(e,t){var r=a.arrayify(e);if(r.length<16||64<r.length)throw new Error("invalid seed");var n=a.arrayify(c.computeHmac(c.SupportedAlgorithms.sha512,p,r));return new Q(y,C(n.slice(0,32)),null,"0x00000000",C(n.slice(32)),0,0,t,"m")}function b(e,t){t=t||"";var r=u.toUtf8Bytes("mnemonic"+t,u.UnicodeNormalizationForm.NFKD);return a.hexlify(l.pbkdf2(u.toUtf8Bytes(e,u.UnicodeNormalizationForm.NFKD),r,2048,64,"sha512"))}function v(e,t){t=t||i.langEn,A.checkNormalize();var r=t.split(e);if(r.length%3!=0)throw new Error("invalid mnemonic");for(var n=a.arrayify(new Uint8Array(Math.ceil(11*r.length/8))),o=0,s=0;s<r.length;s++){var u=t.getWordIndex(r[s].normalize("NFKD"));if(-1===u)throw new Error("invalid mnemonic");for(var l=0;l<11;l++)u&1<<10-l&&(n[o>>3]|=1<<7-o%8),o++}var c=32*r.length/3,f=B(r.length/3),d=a.arrayify(g.sha256(n.slice(0,c/8)))[0];if((d&=f)!=(n[n.length-1]&f))throw new Error("invalid checksum");return a.hexlify(n.slice(0,c/8))}function D(e,t){if((e=a.arrayify(e)).length%4!=0||e.length<16||32<e.length)throw new Error("invalid entropy");for(var r=[0],n=11,A=0;A<e.length;A++)8<n?(r[r.length-1]<<=8,r[r.length-1]|=e[A],n-=8):(r[r.length-1]<<=n,r[r.length-1]|=e[A]>>8-n,r.push(e[A]&(1<<8-n)-1),n+=3);var o=a.arrayify(g.sha256(e))[0],s=e.length/4;return o&=B(s),r[r.length-1]<<=s,r[r.length-1]|=o>>8-s,(t=t||i.langEn).join(r.map(function(e){return t.getWord(e)}))}r.HDNode=Q,r.fromExtendedKey=function(e){var t=o.Base58.decode(e);82===t.length&&m(t.slice(0,78))===e||A.throwError("invalid extended key",A.INVALID_ARGUMENT,{argument:"extendedKey",value:"[REDACTED]"});var r=t[4],n=a.hexlify(t.slice(5,9)),i=parseInt(a.hexlify(t.slice(9,13)).substring(2),16),s=a.hexlify(t.slice(13,45)),u=t.slice(45,78);switch(a.hexlify(t.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new Q(y,null,a.hexlify(u),n,s,i,r,null,null);case"0x0488ade4":case"0x04358394":if(0!==u[0])break;return new Q(y,a.hexlify(u.slice(1)),null,n,s,i,r,null,null)}return A.throwError("invalid extended key",A.INVALID_ARGUMENT,{argument:"extendedKey",value:"[REDACTED]"})},r.fromMnemonic=function(e,t,r){return E(b(e=D(v(e,t),t),r),e)},r.fromSeed=function(e){return E(e,null)},r.mnemonicToSeed=b,r.mnemonicToEntropy=v,r.entropyToMnemonic=D,r.isValidMnemonic=function(e,t){try{return v(e,t),!0}catch(e){}return!1}},{"../errors":5,"../wordlists/lang-en":89,"./basex":61,"./bignumber":62,"./bytes":63,"./hmac":66,"./pbkdf2":72,"./properties":73,"./secp256k1":76,"./sha2":78,"./utf8":84}],66:[function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var A,i,o=n(e("hash.js")),a=e("../utils/bytes"),s=n(e("../errors"));(i=A=r.SupportedAlgorithms||(r.SupportedAlgorithms={})).sha256="sha256",i.sha512="sha512",r.computeHmac=function(e,t,r){return A[e]||s.throwError("unsupported algorithm "+e,s.UNSUPPORTED_OPERATION,{operation:"hmac",algorithm:e}),a.arrayify(o.hmac(o[e],a.arrayify(t)).update(a.arrayify(r)).digest())}},{"../errors":5,"../utils/bytes":63,"hash.js":27}],67:[function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var A=e("./abi-coder");r.AbiCoder=A.AbiCoder,r.defaultAbiCoder=A.defaultAbiCoder,r.formatSignature=A.formatSignature,r.formatParamType=A.formatParamType,r.parseSignature=A.parseSignature,r.parseParamType=A.parseParamType;var i=e("./address");r.getAddress=i.getAddress,r.getContractAddress=i.getContractAddress,r.getIcapAddress=i.getIcapAddress;var o=n(e("./base64"));r.base64=o;var a=e("./bignumber");r.BigNumber=a.BigNumber,r.bigNumberify=a.bigNumberify;var s=e("./bytes");r.arrayify=s.arrayify,r.concat=s.concat,r.hexDataSlice=s.hexDataSlice,r.hexDataLength=s.hexDataLength,r.hexlify=s.hexlify,r.hexStripZeros=s.hexStripZeros,r.hexZeroPad=s.hexZeroPad,r.isHexString=s.isHexString,r.joinSignature=s.joinSignature,r.padZeros=s.padZeros,r.splitSignature=s.splitSignature,r.stripZeros=s.stripZeros;var u=e("./hash");r.hashMessage=u.hashMessage,r.id=u.id,r.namehash=u.namehash;var l=n(e("./hdnode"));r.HDNode=l;var c=e("./interface");r.Interface=c.Interface;var f=e("./json-wallet");r.getJsonWalletAddress=f.getJsonWalletAddress;var d=e("./keccak256");r.keccak256=d.keccak256;var g=e("./sha2");r.sha256=g.sha256;var h=e("./solidity");r.solidityKeccak256=h.keccak256,r.solidityPack=h.pack,r.soliditySha256=h.sha256;var p=e("./random-bytes");r.randomBytes=p.randomBytes;var I=e("./networks");r.getNetwork=I.getNetwork;var B=e("./properties");r.checkProperties=B.checkProperties,r.deepCopy=B.deepCopy,r.defineReadOnly=B.defineReadOnly,r.resolveProperties=B.resolveProperties,r.shallowCopy=B.shallowCopy;var C=n(e("./rlp"));r.RLP=C;var m=e("./secp256k1");r.computeAddress=m.computeAddress,r.computePublicKey=m.computePublicKey,r.recoverAddress=m.recoverAddress,r.recoverPublicKey=m.recoverPublicKey,r.verifyMessage=m.verifyMessage;var y=e("./signing-key");r.SigningKey=y.SigningKey;var Q=e("./transaction");r.populateTransaction=Q.populateTransaction;var w=e("./transaction");r.parseTransaction=w.parse,r.serializeTransaction=w.serialize;var E=e("./utf8");r.formatBytes32String=E.formatBytes32String,r.parseBytes32String=E.parseBytes32String,r.toUtf8Bytes=E.toUtf8Bytes,r.toUtf8String=E.toUtf8String;var b=e("./units");r.commify=b.commify,r.formatEther=b.formatEther,r.parseEther=b.parseEther,r.formatUnits=b.formatUnits,r.parseUnits=b.parseUnits;var v=e("./web");r.fetchJson=v.fetchJson,r.poll=v.poll;var D=e("./hmac");r.SupportedAlgorithms=D.SupportedAlgorithms;var M=e("./utf8");r.UnicodeNormalizationForm=M.UnicodeNormalizationForm;var k=e("./wordlist");r.Wordlist=k.Wordlist},{"./abi-coder":58,"./address":59,"./base64":60,"./bignumber":62,"./bytes":63,"./hash":64,"./hdnode":65,"./hmac":66,"./interface":68,"./json-wallet":69,"./keccak256":70,"./networks":71,"./properties":73,"./random-bytes":74,"./rlp":75,"./secp256k1":76,"./sha2":78,"./signing-key":80,"./solidity":81,"./transaction":82,"./units":83,"./utf8":84,"./web":85,"./wordlist":86}],68:[function(e,t,r){"use strict";var n,A=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};function o(e){for(var t in g.setType(this,"Description"),e)g.defineReadOnly(this,t,g.deepCopy(e[t],!0));Object.freeze(this)}Object.defineProperty(r,"__esModule",{value:!0});var a,s=e("./address"),u=e("./abi-coder"),l=e("./bignumber"),c=e("./bytes"),f=e("./hash"),d=e("./keccak256"),g=e("./properties"),h=i(e("../errors")),p=function(e){g.setType(this,"Indexed"),g.defineReadOnly(this,"hash",e)},I=(A(B,a=o),B.prototype.encode=function(e,t){c.isHexString(e)||h.throwError("invalid contract bytecode",h.INVALID_ARGUMENT,{arg:"bytecode",value:e}),h.checkArgumentCount(t.length,this.inputs.length," in Interface constructor");try{return e+u.defaultAbiCoder.encode(this.inputs,t).substring(2)}catch(e){h.throwError("invalid constructor argument",h.INVALID_ARGUMENT,{arg:e.arg,reason:e.reason,value:e.value})}return null},B);function B(){return null!==a&&a.apply(this,arguments)||this}var C,m=(A(y,C=o),y.prototype.encode=function(e){h.checkArgumentCount(e.length,this.inputs.length," in interface function "+this.name);try{return this.sighash+u.defaultAbiCoder.encode(this.inputs,e).substring(2)}catch(e){h.throwError("invalid input argument",h.INVALID_ARGUMENT,{arg:e.arg,reason:e.reason,value:e.value})}return null},y.prototype.decode=function(e){try{return u.defaultAbiCoder.decode(this.outputs,c.arrayify(e))}catch(t){h.throwError("invalid data for function output",h.INVALID_ARGUMENT,{arg:"data",errorArg:t.arg,errorValue:t.value,value:e,reason:t.reason})}},y);function y(){return null!==C&&C.apply(this,arguments)||this}var Q,w=(A(E,Q=o),E);function E(){return null!==Q&&Q.apply(this,arguments)||this}var b,v=(A(D,b=o),D.prototype.encodeTopics=function(e){var t=this;e.length>this.inputs.length&&h.throwError("too many arguments for "+this.name,h.UNEXPECTED_ARGUMENT,{maxCount:e.length,expectedCount:this.inputs.length});var r=[];for(this.anonymous||r.push(this.topic),e.forEach(function(e,n){var A=t.inputs[n];A.indexed?null==e?r.push(null):"string"===A.type?r.push(f.id(e)):"bytes"===A.type?r.push(d.keccak256(e)):-1!==A.type.indexOf("[")||"tuple"===A.type.substring(0,5)?h.throwError("filtering with tuples or arrays not implemented yet; bug us on GitHub",h.NOT_IMPLEMENTED,{operation:"filter(array|tuple)"}):("address"===A.type&&s.getAddress(e),r.push(c.hexZeroPad(c.hexlify(e),32).toLowerCase())):null!=e&&h.throwError("cannot filter non-indexed parameters; must be null",h.INVALID_ARGUMENT,{argument:A.name||n,value:e})});r.length&&null===r[r.length-1];)r.pop();return r},D.prototype.decode=function(e,t){null==t||this.anonymous||(t=t.slice(1));var r=[],n=[],A=[];if(this.inputs.forEach(function(e,t){e.indexed?"string"===e.type||"bytes"===e.type||0<=e.type.indexOf("[")||"tuple"===e.type.substring(0,5)?(r.push({type:"bytes32",name:e.name||""}),A.push(!0)):(r.push(e),A.push(!1)):(n.push(e),A.push(!1))}),null!=t)var i=u.defaultAbiCoder.decode(r,c.concat(t));var o=u.defaultAbiCoder.decode(n,c.arrayify(e)),a={},s=0,l=0;return this.inputs.forEach(function(e,r){e.indexed?null==t?a[r]=new p(null):A[r]?a[r]=new p(i[l++]):a[r]=i[l++]:a[r]=o[s++],e.name&&(a[e.name]=a[r])}),a.length=this.inputs.length,new w(a)},D);function D(){return null!==b&&b.apply(this,arguments)||this}var M,k=(A(_,M=o),_);function _(){return null!==M&&M.apply(this,arguments)||this}var S,N=(A(F,S=o),F);function F(){return null!==S&&S.apply(this,arguments)||this}function x(e){switch(e.type){case"constructor":var t=new I({inputs:e.inputs,payable:null==e.payable||!!e.payable});this.deployFunction||(this.deployFunction=t);break;case"function":var r=u.formatSignature(e).replace(/tuple/g,""),n=f.id(r).substring(0,10);t=new m({inputs:e.inputs,outputs:e.outputs,gas:e.gas,payable:null==e.payable||!!e.payable,type:e.constant?"call":"transaction",name:e.name,signature:r,sighash:n}),e.name&&(null==this.functions[e.name]?g.defineReadOnly(this.functions,e.name,t):h.warn("WARNING: Multiple definitions for "+e.name)),null==this.functions[t.signature]&&g.defineReadOnly(this.functions,t.signature,t);break;case"event":r=u.formatSignature(e).replace(/tuple/g,""),t=new v({name:e.name,signature:r,inputs:e.inputs,topic:f.id(r),anonymous:!!e.anonymous}),e.name&&null==this.events[e.name]&&g.defineReadOnly(this.events,e.name,t),null==this.events[t.signature]&&g.defineReadOnly(this.events,t.signature,t);break;case"fallback":break;default:h.warn("WARNING: unsupported ABI type - "+e.type)}}var G=(H.prototype.parseTransaction=function(e){var t=e.data.substring(0,10).toLowerCase();for(var r in this.functions)if(-1!==r.indexOf("(")){var n=this.functions[r];if(n.sighash===t){var A=u.defaultAbiCoder.decode(n.inputs,"0x"+e.data.substring(10));return new k({args:A,decode:n.decode,name:n.name,signature:n.signature,sighash:n.sighash,value:l.bigNumberify(e.value||"0")})}}return null},H.prototype.parseLog=function(e){for(var t in this.events)if(-1!==t.indexOf("(")){var r=this.events[t];if(!r.anonymous&&r.topic===e.topics[0])return new N({decode:r.decode,name:r.name,signature:r.signature,topic:r.topic,values:r.decode(e.data,e.topics)})}return null},H.isInterface=function(e){return g.isType(e,"Interface")},H.isIndexed=function(e){return g.isType(e,"Indexed")},H);function H(e){if(h.checkNew(this,H),"string"==typeof e){try{e=JSON.parse(e)}catch(t){h.throwError("could not parse ABI JSON",h.INVALID_ARGUMENT,{arg:"abi",errorMessage:t.message,value:e})}if(!Array.isArray(e))return h.throwError("invalid abi",h.INVALID_ARGUMENT,{arg:"abi",value:e}),null}g.defineReadOnly(this,"functions",{}),g.defineReadOnly(this,"events",{});var t=[];e.forEach(function(e){"string"==typeof e&&(e=u.parseSignature(e)),t.push(e)}),g.defineReadOnly(this,"abi",g.deepCopy(t,!0)),t.forEach(x,this),this.deployFunction||x.call(this,{type:"constructor",inputs:[]}),g.setType(this,"Interface")}r.Interface=G},{"../errors":5,"./abi-coder":58,"./address":59,"./bignumber":62,"./bytes":63,"./hash":64,"./keccak256":70,"./properties":73}],69:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("./address");function A(e){try{var t=JSON.parse(e)}catch(e){return!1}return t.encseed&&t.ethaddr}function i(e){try{var t=JSON.parse(e)}catch(e){return!1}return!(!t.version||parseInt(t.version)!==t.version||3!==parseInt(t.version))}r.isCrowdsaleWallet=A,r.isSecretStorageWallet=i,r.getJsonWalletAddress=function(e){if(A(e))try{return n.getAddress(JSON.parse(e).ethaddr)}catch(e){return null}if(i(e))try{return n.getAddress(JSON.parse(e).address)}catch(e){return null}return null}},{"./address":59}],70:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("js-sha3"),A=e("./bytes");r.keccak256=function(e){return"0x"+n.keccak_256(A.arrayify(e))}},{"./bytes":63,"js-sha3":40}],71:[function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var A=n(e("../errors"));function i(e){return function(t){var r=[];return t.InfuraProvider&&r.push(new t.InfuraProvider(e)),t.EtherscanProvider&&r.push(new t.EtherscanProvider(e)),0===r.length?null:t.FallbackProvider?new t.FallbackProvider(r):r[0]}}function o(e,t){return function(r){return r.JsonRpcProvider?new r.JsonRpcProvider(e,t):null}}var a={chainId:1,ensAddress:"0x314159265dd8dbb310642f98f50c066173c1259b",name:"homestead",_defaultProvider:i("homestead")},s={chainId:3,ensAddress:"0x112234455c3a32fd11230c42e7bccd4a84e02010",name:"ropsten",_defaultProvider:i("ropsten")},u={unspecified:{chainId:0,name:"unspecified"},homestead:a,mainnet:a,morden:{chainId:2,name:"morden"},ropsten:s,testnet:s,rinkeby:{chainId:4,ensAddress:"0xe7410170f87102DF0055eB195163A03B7F2Bff4A",name:"rinkeby",_defaultProvider:i("rinkeby")},goerli:{chainId:5,ensAddress:"0x112234455c3a32fd11230c42e7bccd4a84e02010",name:"goerli",_defaultProvider:i("goerli")},kovan:{chainId:42,name:"kovan",_defaultProvider:i("kovan")},classic:{chainId:61,name:"classic",_defaultProvider:o("https://web3.gastracker.io","classic")},classicTestnet:{chainId:62,name:"classicTestnet",_defaultProvider:o("https://web3.gastracker.io/morden","classicTestnet")}};r.getNetwork=function(e){if(null==e)return null;if("number"==typeof e){for(var t in u){var r=u[t];if(r.chainId===e)return{name:r.name,chainId:r.chainId,ensAddress:r.ensAddress||null,_defaultProvider:r._defaultProvider||null}}return{chainId:e,name:"unknown"}}if("string"==typeof e){var n=u[e];return null==n?null:{name:n.name,chainId:n.chainId,ensAddress:n.ensAddress,_defaultProvider:n._defaultProvider||null}}var i=u[e.name];return i?(0!==e.chainId&&e.chainId!==i.chainId&&A.throwError("network chainId mismatch",A.INVALID_ARGUMENT,{arg:"network",value:e}),{name:e.name,chainId:i.chainId,ensAddress:e.ensAddress||i.ensAddress||null,_defaultProvider:e._defaultProvider||i._defaultProvider||null}):("number"!=typeof e.chainId&&A.throwError("invalid network chainId",A.INVALID_ARGUMENT,{arg:"network",value:e}),e)}},{"../errors":5}],72:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("../utils/bytes"),A=e("./hmac");r.pbkdf2=function(e,t,r,i,o){var a;e=n.arrayify(e),t=n.arrayify(t);var s,u,l=1,c=new Uint8Array(i),f=new Uint8Array(t.length+4);f.set(t);for(var d=1;d<=l;d++){f[t.length]=d>>24&255,f[t.length+1]=d>>16&255,f[t.length+2]=d>>8&255,f[t.length+3]=255&d;var g=A.computeHmac(o,e,f);a||(a=g.length,u=new Uint8Array(a),s=i-((l=Math.ceil(i/a))-1)*a),u.set(g);for(var h=1;h<r;h++){g=A.computeHmac(o,e,g);for(var p=0;p<a;p++)u[p]^=g[p]}var I=(d-1)*a,B=d===l?s:a;c.set(n.arrayify(u).slice(0,B),I)}return n.arrayify(c)}},{"../utils/bytes":63,"./hmac":66}],73:[function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var A=n(e("../errors"));function i(e,t,r){Object.defineProperty(e,t,{enumerable:!0,value:r,writable:!1})}function o(e,t){return e&&e._ethersType===t}r.defineReadOnly=i,r.setType=function(e,t){Object.defineProperty(e,"_ethersType",{configurable:!1,value:t,writable:!1})},r.isType=o,r.resolveProperties=function(e){var t={},r=[];return Object.keys(e).forEach(function(n){var A=e[n];A instanceof Promise?r.push(A.then(function(e){return t[n]=e,null})):t[n]=A}),Promise.all(r).then(function(){return t})},r.checkProperties=function(e,t){e&&"object"==typeof e||A.throwError("invalid object",A.INVALID_ARGUMENT,{argument:"object",value:e}),Object.keys(e).forEach(function(r){t[r]||A.throwError("invalid object key - "+r,A.INVALID_ARGUMENT,{argument:"transaction",value:e,key:r})})},r.shallowCopy=function(e){var t={};for(var r in e)t[r]=e[r];return t};var a={boolean:!0,number:!0,string:!0};r.deepCopy=function e(t,r){if(null==t||a[typeof t])return t;if(Array.isArray(t)){var n=t.map(function(t){return e(t,r)});return r&&Object.freeze(n),n}if("object"==typeof t){if(o(t,"BigNumber"))return t;if(o(t,"Description"))return t;if(o(t,"Indexed"))return t;for(var A in n={},t){var s=t[A];void 0!==s&&i(n,A,e(s,r))}return r&&Object.freeze(n),n}if("function"==typeof t)return t;throw new Error("Cannot deepCopy "+typeof t)},r.inheritable=function e(t){return function(r){!function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}(r,t),i(r,"inherits",e(r))}}},{"../errors":5}],74:[function(e,r,n){(function(t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../utils/bytes"),A=e("../utils/properties"),i=t.crypto||t.msCrypto;function o(e){if(e<=0||1024<e||parseInt(String(e))!=e)throw new Error("invalid length");var t=new Uint8Array(e);return i.getRandomValues(t),r.arrayify(t)}i&&i.getRandomValues||(console.log("WARNING: Missing strong random number source; using weak randomBytes"),i={getRandomValues:function(e){for(var t=0;t<20;t++)for(var r=0;r<e.length;r++)t?e[r]^=Math.trunc(256*Math.random()):e[r]=Math.trunc(256*Math.random());return e},_weakCrypto:!0}),n.randomBytes=o,!0===i._weakCrypto&&A.defineReadOnly(o,"_weakCrypto",!0)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../utils/bytes":63,"../utils/properties":73}],75:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("./bytes");function A(e){for(var t=[];e;)t.unshift(255&e),e>>=8;return t}function i(e,t,r){for(var n=0,A=0;A<r;A++)n=256*n+e[t+A];return n}function o(e,t,r,n){for(var A=[];r<t+1+n;){var i=a(e,r);if(A.push(i.result),t+1+n<(r+=i.consumed))throw new Error("invalid rlp")}return{consumed:1+n,result:A}}function a(e,t){if(0===e.length)throw new Error("invalid rlp data");if(248<=e[t]){if(t+1+(r=e[t]-247)>e.length)throw new Error("too short");if(t+1+r+(A=i(e,t+1,r))>e.length)throw new Error("to short");return o(e,t,t+1+r,r+A)}if(192<=e[t]){if(t+1+(A=e[t]-192)>e.length)throw new Error("invalid rlp data");return o(e,t,t+1,A)}if(184<=e[t]){var r;if(t+1+(r=e[t]-183)>e.length)throw new Error("invalid rlp data");if(t+1+r+(A=i(e,t+1,r))>e.length)throw new Error("invalid rlp data");return{consumed:1+r+A,result:n.hexlify(e.slice(t+1+r,t+1+r+A))}}if(128<=e[t]){var A;if(t+1+(A=e[t]-128)>e.length)throw new Error("invlaid rlp data");return{consumed:1+A,result:n.hexlify(e.slice(t+1,t+1+A))}}return{consumed:1,result:n.hexlify(e[t])}}r.encode=function(e){return n.hexlify(function e(t){if(Array.isArray(t)){var r=[];return t.forEach(function(t){r=r.concat(e(t))}),r.length<=55?(r.unshift(192+r.length),r):((i=A(r.length)).unshift(247+i.length),i.concat(r))}var i,o=Array.prototype.slice.call(n.arrayify(t));return 1===o.length&&o[0]<=127?o:o.length<=55?(o.unshift(128+o.length),o):((i=A(o.length)).unshift(183+i.length),i.concat(o))}(e))},r.decode=function(e){var t=n.arrayify(e),r=a(t,0);if(r.consumed!==t.length)throw new Error("invalid rlp data");return r.result}},{"./bytes":63}],76:[function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var A=e("elliptic"),i=e("./address"),o=e("./bytes"),a=e("./hash"),s=e("./keccak256"),u=e("./properties"),l=n(e("../errors")),c=null;function f(){return c=c||new A.ec("secp256k1")}var d=(g.prototype.sign=function(e){var t=f().keyFromPrivate(o.arrayify(this.privateKey)).sign(o.arrayify(e),{canonical:!0});return{recoveryParam:t.recoveryParam,r:o.hexZeroPad("0x"+t.r.toString(16),32),s:o.hexZeroPad("0x"+t.s.toString(16),32),v:27+t.recoveryParam}},g.prototype.computeSharedSecret=function(e){var t=f().keyFromPrivate(o.arrayify(this.privateKey)),r=f().keyFromPublic(o.arrayify(h(e)));return o.hexZeroPad("0x"+t.derive(r.getPublic()).toString(16),32)},g.prototype._addPoint=function(e){var t=f().keyFromPublic(o.arrayify(this.publicKey)),r=f().keyFromPublic(o.arrayify(e));return"0x"+t.pub.add(r.pub).encodeCompressed("hex")},g);function g(e){var t=f().keyFromPrivate(o.arrayify(e));u.defineReadOnly(this,"privateKey",o.hexlify(t.priv.toArray("be",32))),u.defineReadOnly(this,"publicKey","0x"+t.getPublic(!1,"hex")),u.defineReadOnly(this,"compressedPublicKey","0x"+t.getPublic(!0,"hex")),u.defineReadOnly(this,"publicKeyBytes",t.getPublic().encode(null,!0))}function h(e,t){var r=o.arrayify(e);if(32!==r.length)return 33===r.length?t?o.hexlify(r):"0x"+f().keyFromPublic(r).getPublic(!1,"hex"):65===r.length?t?"0x"+f().keyFromPublic(r).getPublic(!0,"hex"):o.hexlify(r):(l.throwError("invalid public or private key",l.INVALID_ARGUMENT,{arg:"key",value:"[REDACTED]"}),null);var n=new d(r);return t?n.compressedPublicKey:n.publicKey}function p(e){var t="0x"+h(e).slice(4);return i.getAddress("0x"+s.keccak256(t).substring(26))}function I(e,t){var r=o.splitSignature(t),n={r:o.arrayify(r.r),s:o.arrayify(r.s)};return"0x"+f().recoverPubKey(o.arrayify(e),n,r.recoveryParam).encode("hex",!1)}function B(e,t){return p(I(o.arrayify(e),t))}r.KeyPair=d,r.computePublicKey=h,r.computeAddress=p,r.recoverPublicKey=I,r.recoverAddress=B,r.verifyMessage=function(e,t){return B(a.hashMessage(e),t)}},{"../errors":5,"./address":59,"./bytes":63,"./hash":64,"./keccak256":70,"./properties":73,elliptic:12}],77:[function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},A=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var i=n(e("aes-js")),o=n(e("scrypt-js")),a=n(e("uuid")),s=e("./signing-key"),u=A(e("./hdnode")),l=e("./address"),c=e("./bytes"),f=e("./pbkdf2"),d=e("./keccak256"),g=e("./utf8"),h=e("./random-bytes");function p(e){return"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),c.arrayify(e)}function I(e,t){for(e=String(e);e.length<t;)e="0"+e;return e}function B(e){return"string"==typeof e?g.toUtf8Bytes(e,g.UnicodeNormalizationForm.NFKC):c.arrayify(e)}function C(e,t){for(var r=e,n=t.toLowerCase().split("/"),A=0;A<n.length;A++){var i=null;for(var o in r)if(o.toLowerCase()===n[A]){i=r[o];break}if(null===i)return null;r=i}return r}r.decryptCrowdsale=function(e,t){var r=JSON.parse(e);t=B(t);var n=l.getAddress(C(r,"ethaddr")),A=p(C(r,"encseed"));if(!A||A.length%16!=0)throw new Error("invalid encseed");var o=f.pbkdf2(t,t,2e3,32,"sha256").slice(0,16),a=A.slice(0,16),u=A.slice(16),h=new i.default.ModeOfOperation.cbc(o,a),I=c.arrayify(h.decrypt(u));I=i.default.padding.pkcs7.strip(I);for(var m="",y=0;y<I.length;y++)m+=String.fromCharCode(I[y]);var Q=g.toUtf8Bytes(m),w=new s.SigningKey(d.keccak256(Q));if(w.address!==n)throw new Error("corrupt crowdsale wallet");return w},r.decrypt=function(e,t,r){function n(e,t){var r=p(C(A,"crypto/ciphertext"));if(c.hexlify(function(e,t){return d.keccak256(c.concat([e,t]))}(e.slice(16,32),r)).substring(2)!==C(A,"crypto/mac").toLowerCase())return t(new Error("invalid password")),null;var n=function(e,t){if("aes-128-ctr"!==C(A,"crypto/cipher"))return null;var r=p(C(A,"crypto/cipherparams/iv")),n=new i.default.Counter(r),o=new i.default.ModeOfOperation.ctr(e,n);return c.arrayify(o.decrypt(t))}(e.slice(0,16),r),o=e.slice(32,64);if(!n)return t(new Error("unsupported cipher")),null;var a=new s.SigningKey(n);if(a.address!==l.getAddress(A.address))return t(new Error("address mismatch")),null;if("0.1"===C(A,"x-ethers/version")){var f=p(C(A,"x-ethers/mnemonicCiphertext")),g=p(C(A,"x-ethers/mnemonicCounter")),h=new i.default.Counter(g),I=new i.default.ModeOfOperation.ctr(o,h),B=C(A,"x-ethers/path")||u.defaultPath,m=c.arrayify(I.decrypt(f)),y=u.entropyToMnemonic(m),Q=u.fromMnemonic(y).derivePath(B);if(Q.privateKey!=c.hexlify(n))return t(new Error("mnemonic mismatch")),null;a=new s.SigningKey(Q)}return a}var A=JSON.parse(e),a=B(t);return new Promise(function(e,t){var i=C(A,"crypto/kdf");if(i&&"string"==typeof i)if("scrypt"===i.toLowerCase()){var s=p(C(A,"crypto/kdfparams/salt")),u=parseInt(C(A,"crypto/kdfparams/n")),l=parseInt(C(A,"crypto/kdfparams/r")),d=parseInt(C(A,"crypto/kdfparams/p"));if(!u||!l||!d)return void t(new Error("unsupported key-derivation function parameters"));if(0!=(u&u-1))return void t(new Error("unsupported key-derivation function parameter value for N"));if(32!==(I=parseInt(C(A,"crypto/kdfparams/dklen"))))return void t(new Error("unsupported key-derivation derived-key length"));r&&r(0),o.default(a,s,u,l,d,64,function(A,i,o){if(A)A.progress=i,t(A);else if(o){var a=n(o=c.arrayify(o),t);if(!a)return;r&&r(1),e(a)}else if(r)return r(i)})}else if("pbkdf2"===i.toLowerCase()){s=p(C(A,"crypto/kdfparams/salt"));var g=null,h=C(A,"crypto/kdfparams/prf");if("hmac-sha256"===h)g="sha256";else{if("hmac-sha512"!==h)return void t(new Error("unsupported prf"));g="sha512"}var I,B=parseInt(C(A,"crypto/kdfparams/c"));if(32!==(I=parseInt(C(A,"crypto/kdfparams/dklen"))))return void t(new Error("unsupported key-derivation derived-key length"));var m=n(f.pbkdf2(a,s,B,I,g),t);if(!m)return;e(m)}else t(new Error("unsupported key-derivation function"));else t(new Error("unsupported key-derivation function"))})},r.encrypt=function(e,t,r,n){var A;if("function"!=typeof r||n||(n=r,r={}),r=r||{},32!==(A=s.SigningKey.isSigningKey(e)?c.arrayify(e.privateKey):c.arrayify(e)).length)throw new Error("invalid private key");var l=B(t),f=null;if(r.entropy&&(f=c.arrayify(r.entropy)),r.mnemonic)if(f){if(u.entropyToMnemonic(f)!==r.mnemonic)throw new Error("entropy and mnemonic mismatch")}else f=c.arrayify(u.mnemonicToEntropy(r.mnemonic));var g=r.path;f&&!g&&(g=u.defaultPath);var p,C=r.client;C=C||"ethers.js",p=r.salt?c.arrayify(r.salt):h.randomBytes(32);var m=null;if(r.iv){if(16!==(m=c.arrayify(r.iv)).length)throw new Error("invalid iv")}else m=h.randomBytes(16);var y=null;if(r.uuid){if(16!==(y=c.arrayify(r.uuid)).length)throw new Error("invalid uuid")}else y=h.randomBytes(16);var Q=1<<17,w=8,E=1;return r.scrypt&&(r.scrypt.N&&(Q=r.scrypt.N),r.scrypt.r&&(w=r.scrypt.r),r.scrypt.p&&(E=r.scrypt.p)),new Promise(function(e,t){n&&n(0),o.default(l,p,Q,w,E,64,function(r,o,u){if(r)r.progress=o,t(r);else if(u){var l=(u=c.arrayify(u)).slice(0,16),B=u.slice(16,32),b=u.slice(32,64),v=new s.SigningKey(A).address,D=new i.default.Counter(m),M=new i.default.ModeOfOperation.ctr(l,D),k=c.arrayify(M.encrypt(A)),_=d.keccak256(c.concat([B,k])),S={address:v.substring(2).toLowerCase(),id:a.default.v4({random:y}),version:3,Crypto:{cipher:"aes-128-ctr",cipherparams:{iv:c.hexlify(m).substring(2)},ciphertext:c.hexlify(k).substring(2),kdf:"scrypt",kdfparams:{salt:c.hexlify(p).substring(2),n:Q,dklen:32,p:E,r:w},mac:_.substring(2)}};if(f){var N=h.randomBytes(16),F=new i.default.Counter(N),x=new i.default.ModeOfOperation.ctr(b,F),G=c.arrayify(x.encrypt(f)),H=new Date,U=H.getUTCFullYear()+"-"+I(H.getUTCMonth()+1,2)+"-"+I(H.getUTCDate(),2)+"T"+I(H.getUTCHours(),2)+"-"+I(H.getUTCMinutes(),2)+"-"+I(H.getUTCSeconds(),2)+".0Z";S["x-ethers"]={client:C,gethFilename:"UTC--"+U+"--"+S.address,mnemonicCounter:c.hexlify(N).substring(2),mnemonicCiphertext:c.hexlify(G).substring(2),path:g,version:"0.1"}}n&&n(1),e(JSON.stringify(S))}else if(n)return n(o)})})}},{"./address":59,"./bytes":63,"./hdnode":65,"./keccak256":70,"./pbkdf2":72,"./random-bytes":74,"./signing-key":80,"./utf8":84,"aes-js":8,"scrypt-js":43,uuid:47}],78:[function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var A=n(e("hash.js")),i=e("./bytes");r.ripemd160=function(e){return"0x"+A.default.ripemd160().update(i.arrayify(e)).digest("hex")},r.sha256=function(e){return"0x"+A.default.sha256().update(i.arrayify(e)).digest("hex")},r.sha512=function(e){return"0x"+A.default.sha512().update(i.arrayify(e)).digest("hex")}},{"./bytes":63,"hash.js":27}],79:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),e("setimmediate"),r.platform="browser"},{setimmediate:44}],80:[function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var A=e("./hdnode"),i=e("./bytes"),o=e("./properties"),a=e("./secp256k1"),s=n(e("../errors")),u=(l.prototype.signDigest=function(e){return this.keyPair.sign(e)},l.prototype.computeSharedSecret=function(e){return this.keyPair.computeSharedSecret(i.arrayify(e))},l.isSigningKey=function(e){return o.isType(e,"SigningKey")},l);function l(e){var t;s.checkNew(this,l),t=A.HDNode.isHDNode(e)?(o.defineReadOnly(this,"mnemonic",e.mnemonic),o.defineReadOnly(this,"path",e.path),i.arrayify(e.privateKey)):("string"==typeof e&&e.match(/^[0-9a-f]*$/i)&&64===e.length&&(e="0x"+e),i.arrayify(e));try{32!==t.length&&s.throwError("exactly 32 bytes required",s.INVALID_ARGUMENT,{arg:"privateKey",value:"[REDACTED]"})}catch(e){var r={arg:"privateKey",reason:e.reason,value:"[REDACTED]"};e.value&&("number"==typeof e.value.length&&(r.length=e.value.length),r.type=typeof e.value),s.throwError("invalid private key",e.code,r)}o.defineReadOnly(this,"privateKey",i.hexlify(t)),o.defineReadOnly(this,"keyPair",new a.KeyPair(t)),o.defineReadOnly(this,"publicKey",this.keyPair.publicKey),o.defineReadOnly(this,"address",a.computeAddress(this.keyPair.publicKey)),o.setType(this,"SigningKey")}r.SigningKey=u},{"../errors":5,"./bytes":63,"./hdnode":65,"./properties":73,"./secp256k1":76}],81:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("./bignumber"),A=e("./bytes"),i=e("./utf8"),o=e("./keccak256"),a=e("./sha2"),s=new RegExp("^bytes([0-9]+)$"),u=new RegExp("^(u?int)([0-9]*)$"),l=new RegExp("^(.*)\\[([0-9]*)\\]$"),c="0000000000000000000000000000000000000000000000000000000000000000";function f(e,t){if(e.length!=t.length)throw new Error("type/value count mismatch");var r=[];return e.forEach(function(e,o){r.push(function e(t,r,o){switch(t){case"address":return o?A.padZeros(r,32):A.arrayify(r);case"string":return i.toUtf8Bytes(r);case"bytes":return A.arrayify(r);case"bool":return r=r?"0x01":"0x00",o?A.padZeros(r,32):A.arrayify(r)}var a=t.match(u);if(a){if((f=parseInt(a[2]||"256"))%8!=0||0===f||256<f)throw new Error("invalid number type - "+t);return o&&(f=256),r=n.bigNumberify(r).toTwos(f),A.padZeros(r,f/8)}if(a=t.match(s)){var f=parseInt(a[1]);if(String(f)!=a[1]||0===f||32<f)throw new Error("invalid number type - "+t);if(A.arrayify(r).byteLength!==f)throw new Error("invalid value for "+t);return o?A.arrayify((r+c).substring(0,66)):r}if((a=t.match(l))&&Array.isArray(r)){var d=a[1];if(parseInt(a[2]||String(r.length))!=r.length)throw new Error("invalid value for "+t);var g=[];return r.forEach(function(t){g.push(e(d,t,!0))}),A.concat(g)}throw new Error("unknown type - "+t)}(e,t[o]))}),A.hexlify(A.concat(r))}r.pack=f,r.keccak256=function(e,t){return o.keccak256(f(e,t))},r.sha256=function(e,t){return a.sha256(f(e,t))}},{"./bignumber":62,"./bytes":63,"./keccak256":70,"./sha2":78,"./utf8":84}],82:[function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var A=e("../constants"),i=n(e("../errors")),o=e("./secp256k1"),a=e("./address"),s=e("./bignumber"),u=e("./bytes"),l=e("./keccak256"),c=e("./properties"),f=n(e("./rlp")),d=e("../providers/abstract-provider");function g(e){return"0x"===e?A.Zero:s.bigNumberify(e)}var h=[{name:"nonce",maxLength:32},{name:"gasPrice",maxLength:32},{name:"gasLimit",maxLength:32},{name:"to",length:20},{name:"value",maxLength:32},{name:"data"}],p={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0};r.serialize=function(e,t){c.checkProperties(e,p);var r=[];h.forEach(function(t){var n=e[t.name]||[];n=u.arrayify(u.hexlify(n)),t.length&&n.length!==t.length&&0<n.length&&i.throwError("invalid length for "+t.name,i.INVALID_ARGUMENT,{arg:"transaction"+t.name,value:n}),t.maxLength&&(n=u.stripZeros(n)).length>t.maxLength&&i.throwError("invalid length for "+t.name,i.INVALID_ARGUMENT,{arg:"transaction"+t.name,value:n}),r.push(u.hexlify(n))}),null!=e.chainId&&0!==e.chainId&&(r.push(u.hexlify(e.chainId)),r.push("0x"),r.push("0x"));var n=f.encode(r);if(!t)return n;var A=u.splitSignature(t),o=27+A.recoveryParam;return 9===r.length&&(r.pop(),r.pop(),r.pop(),o+=2*e.chainId+8),r.push(u.hexlify(o)),r.push(u.stripZeros(u.arrayify(A.r))),r.push(u.stripZeros(u.arrayify(A.s))),f.encode(r)},r.parse=function(e){var t=f.decode(e);9!==t.length&&6!==t.length&&i.throwError("invalid raw transaction",i.INVALID_ARGUMENT,{arg:"rawTransactin",value:e});var r={nonce:g(t[0]).toNumber(),gasPrice:g(t[1]),gasLimit:g(t[2]),to:function(e){return"0x"===e?null:a.getAddress(e)}(t[3]),value:g(t[4]),data:t[5],chainId:0};if(6===t.length)return r;try{r.v=s.bigNumberify(t[6]).toNumber()}catch(e){return i.info(e),r}if(r.r=u.hexZeroPad(t[7],32),r.s=u.hexZeroPad(t[8],32),s.bigNumberify(r.r).isZero()&&s.bigNumberify(r.s).isZero())r.chainId=r.v,r.v=0;else{r.chainId=Math.floor((r.v-35)/2),r.chainId<0&&(r.chainId=0);var n=r.v-27,A=t.slice(0,6);0!==r.chainId&&(A.push(u.hexlify(r.chainId)),A.push("0x"),A.push("0x"),n-=2*r.chainId+8);var c=l.keccak256(f.encode(A));try{r.from=o.recoverAddress(c,{r:u.hexlify(r.r),s:u.hexlify(r.s),recoveryParam:n})}catch(e){i.info(e)}r.hash=l.keccak256(e)}return r},r.populateTransaction=function(e,t,r){d.Provider.isProvider(t)||i.throwError("missing provider",i.INVALID_ARGUMENT,{argument:"provider",value:t}),c.checkProperties(e,p);var n=c.shallowCopy(e);if(null!=n.to&&(n.to=t.resolveName(n.to)),null==n.gasPrice&&(n.gasPrice=t.getGasPrice()),null==n.nonce&&(n.nonce=t.getTransactionCount(r)),null==n.gasLimit){var A=c.shallowCopy(n);A.from=r,n.gasLimit=t.estimateGas(A)}return null==n.chainId&&(n.chainId=t.getNetwork().then(function(e){return e.chainId})),c.resolveProperties(n)}},{"../constants":3,"../errors":5,"../providers/abstract-provider":49,"./address":59,"./bignumber":62,"./bytes":63,"./keccak256":70,"./properties":73,"./rlp":75,"./secp256k1":76}],83:[function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var A,i=e("../constants"),o=n(e("../errors")),a=e("./bignumber"),s={};function u(e){return{decimals:e.length-1,tenPower:a.bigNumberify(e)}}function l(e){var t=s[String(e).toLowerCase()];if(!t&&"number"==typeof e&&parseInt(String(e))==e&&0<=e&&e<=256){for(var r="1",n=0;n<e;n++)r+="0";t=u(r)}return t||o.throwError("invalid unitType",o.INVALID_ARGUMENT,{argument:"name",value:e}),t}function c(e,t){var r=l(t),n=(e=a.bigNumberify(e)).lt(i.Zero);n&&(e=e.mul(i.NegativeOne));for(var A=e.mod(r.tenPower).toString();A.length<r.decimals;)A="0"+A;return A=A.match(/^([0-9]*[1-9]|0)(0*)/)[1],e=e.div(r.tenPower).toString()+"."+A,n&&(e="-"+e),e}function f(e,t){null==t&&(t=18);var r=l(t);if("string"==typeof e&&e.match(/^-?[0-9.,]+$/)||o.throwError("invalid decimal value",o.INVALID_ARGUMENT,{arg:"value",value:e}),0===r.decimals)return a.bigNumberify(e);var n="-"===e.substring(0,1);n&&(e=e.substring(1)),"."===e&&o.throwError("missing value",o.INVALID_ARGUMENT,{arg:"value",value:e});var A=e.split(".");2<A.length&&o.throwError("too many decimal points",o.INVALID_ARGUMENT,{arg:"value",value:e});var s=A[0],u=A[1];for(s=s||"0",(u=u||"0").length>r.decimals&&o.throwError("underflow occurred",o.NUMERIC_FAULT,{operation:"division",fault:"underflow"});u.length<r.decimals;)u+="0";var c=a.bigNumberify(s),f=a.bigNumberify(u),d=c.mul(r.tenPower).add(f);return n&&(d=d.mul(i.NegativeOne)),d}A="1",["wei","kwei","Mwei","Gwei","szabo","finney","ether"].forEach(function(e){var t=u(A);s[e.toLowerCase()]=t,s[String(t.decimals)]=t,A+="000"}),r.commify=function(e){var t=String(e).split(".");(2<t.length||!t[0].match(/^-?[0-9]*$/)||t[1]&&!t[1].match(/^[0-9]*$/)||"."===e||"-."===e)&&o.throwError("invalid value",o.INVALID_ARGUMENT,{argument:"value",value:e});var r=t[0],n="";for("-"===r.substring(0,1)&&(n="-",r=r.substring(1));"0"===r.substring(0,1);)r=r.substring(1);""===r&&(r="0");var A="";2===t.length&&(A="."+(t[1]||"0"));for(var i=[];r.length;){if(r.length<=3){i.unshift(r);break}var a=r.length-3;i.unshift(r.substring(a)),r=r.substring(0,a)}return n+i.join(",")+A},r.formatUnits=c,r.parseUnits=f,r.formatEther=function(e){return c(e,18)},r.parseEther=function(e){return f(e,18)}},{"../constants":3,"../errors":5,"./bignumber":62}],84:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,A,i=e("../constants"),o=e("../errors"),a=e("./bytes");function s(e,t){void 0===t&&(t=n.current),t!=n.current&&(o.checkNormalize(),e=e.normalize(t));for(var r=[],A=0;A<e.length;A++){var i=e.charCodeAt(A);if(i<128)r.push(i);else if(i<2048)r.push(i>>6|192),r.push(63&i|128);else if(55296==(64512&i)){A++;var s=e.charCodeAt(A);if(A>=e.length||56320!=(64512&s))throw new Error("invalid utf-8 string");i=65536+((1023&i)<<10)+(1023&s),r.push(i>>18|240),r.push(i>>12&63|128),r.push(i>>6&63|128),r.push(63&i|128)}else r.push(i>>12|224),r.push(i>>6&63|128),r.push(63&i|128)}return a.arrayify(r)}function u(e,t){e=a.arrayify(e);for(var r="",n=0;n<e.length;){var A=e[n++];if(A>>7!=0){var i=null,o=null;if(192==(224&A))i=1,o=127;else if(224==(240&A))i=2,o=2047;else{if(240!=(248&A)){if(t)continue;if(128==(192&A))throw new Error("invalid utf8 byte sequence; unexpected continuation byte");throw new Error("invalid utf8 byte sequence; invalid prefix")}i=3,o=65535}if(n+i>e.length){if(!t)throw new Error("invalid utf8 byte sequence; too short");for(;n<e.length&&e[n]>>6==2;n++);}else{for(var s=A&(1<<8-i-1)-1,u=0;u<i;u++){var l=e[n];if(128!=(192&l)){s=null;break}s=s<<6|63&l,n++}if(null!==s)if(s<=o){if(!t)throw new Error("invalid utf8 byte sequence; overlong")}else if(1114111<s){if(!t)throw new Error("invalid utf8 byte sequence; out-of-range")}else if(55296<=s&&s<=57343){if(!t)throw new Error("invalid utf8 byte sequence; utf-16 surrogate")}else s<=65535?r+=String.fromCharCode(s):(s-=65536,r+=String.fromCharCode(55296+(s>>10&1023),56320+(1023&s)));else if(!t)throw new Error("invalid utf8 byte sequence; invalid continuation byte")}}else r+=String.fromCharCode(A)}return r}(A=n=r.UnicodeNormalizationForm||(r.UnicodeNormalizationForm={})).current="",A.NFC="NFC",A.NFD="NFD",A.NFKC="NFKC",A.NFKD="NFKD",r.toUtf8Bytes=s,r.toUtf8String=u,r.formatBytes32String=function(e){var t=s(e);if(31<t.length)throw new Error("bytes32 string must be less than 32 bytes");return a.hexlify(a.concat([t,i.HashZero]).slice(0,32))},r.parseBytes32String=function(e){var t=a.arrayify(e);if(32!==t.length)throw new Error("invalid bytes32 - not 32 bytes long");if(0!==t[31])throw new Error("invalid bytes32 string - no null terminator");for(var r=31;0===t[r-1];)r--;return u(t.slice(0,r))}},{"../constants":3,"../errors":5,"./bytes":63}],85:[function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var A=e("xmlhttprequest"),i=e("./base64"),o=e("./properties"),a=e("./utf8"),s=n(e("../errors"));r.fetchJson=function(e,t,r){var n={},o=null,u=12e4;if("string"==typeof e)o=e;else if("object"==typeof e){if(null==e.url&&s.throwError("missing URL",s.MISSING_ARGUMENT,{arg:"url"}),o=e.url,"number"==typeof e.timeout&&0<e.timeout&&(u=e.timeout),e.headers)for(var l in e.headers)n[l.toLowerCase()]={key:l,value:String(e.headers[l])};if(null!=e.user&&null!=e.password){"https:"!==o.substring(0,6)&&!0!==e.allowInsecure&&s.throwError("basic authentication requires a secure https url",s.INVALID_ARGUMENT,{arg:"url",url:o,user:e.user,password:"[REDACTED]"});var c=e.user+":"+e.password;n.authorization={key:"Authorization",value:"Basic "+i.encode(a.toUtf8Bytes(c))}}}return new Promise(function(e,i){var a=new A.XMLHttpRequest,s=null;function l(){null!=s&&(clearTimeout(s),s=null)}s=setTimeout(function(){null!=s&&(s=null,i(new Error("timeout")),setTimeout(function(){a.abort()},0))},u),t?(a.open("POST",o,!0),n["content-type"]={key:"Content-Type",value:"application/json"}):a.open("GET",o,!0),Object.keys(n).forEach(function(e){var t=n[e];a.setRequestHeader(t.key,t.value)}),a.onreadystatechange=function(){if(4===a.readyState){if(200!=a.status){l();var n=new Error("invalid response - "+a.status);return n.statusCode=a.status,a.responseText&&(n.responseText=a.responseText),void i(n)}var A=null;try{A=JSON.parse(a.responseText)}catch(n){l();var s=new Error("invalid json response");return s.orginialError=n,s.responseText=a.responseText,null!=t&&(s.requestBody=t),s.url=o,void i(s)}if(r)try{A=r(A)}catch(n){return l(),n.url=o,n.body=t,n.responseText=a.responseText,void i(n)}l(),e(A)}},a.onerror=function(e){l(),i(e)};try{null!=t?a.send(t):a.send()}catch(s){l();var c=new Error("connection error");c.error=s,i(c)}})},r.poll=function(e,t){return t=t||{},null==(t=o.shallowCopy(t)).floor&&(t.floor=0),null==t.ceiling&&(t.ceiling=1e4),null==t.interval&&(t.interval=250),new Promise(function(r,n){var A=null,i=!1,o=function(){return!i&&(i=!0,A&&clearTimeout(A),!0)};t.timeout&&(A=setTimeout(function(){o()&&n(new Error("timeout"))},t.timeout));var a=t.fastRetry||null,s=0;!function A(){return e().then(function(e){if(void 0!==e)o()&&r(e);else if(t.onceBlock)t.onceBlock.once("block",A);else if(!i){s++;var n=t.interval*parseInt(String(Math.random()*Math.pow(2,s)));n<t.floor&&(n=t.floor),n>t.ceiling&&(n=t.ceiling),a&&(s--,n=a,a=null),setTimeout(A,n)}return null},function(e){o()&&n(e)})}()})}},{"../errors":5,"./base64":60,"./properties":73,"./utf8":84,xmlhttprequest:48}],86:[function(e,r,n){(function(t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../utils/hash"),A=e("../utils/properties");n.check=function(e){for(var t=[],n=0;n<2048;n++){var A=e.getWord(n);if(n!==e.getWordIndex(A))return"0x";t.push(A)}return r.id(t.join("\n")+"\n")};var i=(o.prototype.split=function(e){return e.toLowerCase().split(/ +/g)},o.prototype.join=function(e){return e.join(" ")},o);function o(e){A.defineReadOnly(this,"locale",e)}n.Wordlist=i,n.register=function(e,t){t=t||e.locale}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../utils/hash":64,"../utils/properties":73}],87:[function(e,t,r){"use strict";var n,A=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});var o,a=e("./utils/bytes"),s=e("./utils/hash"),u=e("./utils/hdnode"),l=e("./utils/json-wallet"),c=e("./utils/keccak256"),f=e("./utils/properties"),d=e("./utils/random-bytes"),g=i(e("./utils/secret-storage")),h=e("./utils/signing-key"),p=e("./utils/transaction"),I=e("./abstract-signer"),B=e("./providers/abstract-provider"),C=i(e("./errors")),m=(A(y,o=I.Signer),Object.defineProperty(y.prototype,"address",{get:function(){return this.signingKey.address},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"mnemonic",{get:function(){return this.signingKey.mnemonic},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"path",{get:function(){return this.signingKey.path},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"privateKey",{get:function(){return this.signingKey.privateKey},enumerable:!0,configurable:!0}),y.prototype.connect=function(e){return B.Provider.isProvider(e)||C.throwError("invalid provider",C.INVALID_ARGUMENT,{argument:"provider",value:e}),new y(this.signingKey,e)},y.prototype.getAddress=function(){return Promise.resolve(this.address)},y.prototype.sign=function(e){var t=this;return f.resolveProperties(e).then(function(e){var r=p.serialize(e),n=t.signingKey.signDigest(c.keccak256(r));return p.serialize(e,n)})},y.prototype.signMessage=function(e){return Promise.resolve(a.joinSignature(this.signingKey.signDigest(s.hashMessage(e))))},y.prototype.getBalance=function(e){if(!this.provider)throw new Error("missing provider");return this.provider.getBalance(this.address,e)},y.prototype.getTransactionCount=function(e){if(!this.provider)throw new Error("missing provider");return this.provider.getTransactionCount(this.address,e)},y.prototype.sendTransaction=function(e){var t=this;if(!this.provider)throw new Error("missing provider");return null==e.nonce&&((e=f.shallowCopy(e)).nonce=this.getTransactionCount("pending")),p.populateTransaction(e,this.provider,this.address).then(function(e){return t.sign(e).then(function(e){return t.provider.sendTransaction(e)})})},y.prototype.encrypt=function(e,t,r){if("function"!=typeof t||r||(r=t,t={}),r&&"function"!=typeof r)throw new Error("invalid callback");return t=t||{},this.mnemonic&&((t=f.shallowCopy(t)).mnemonic=this.mnemonic,t.path=this.path),g.encrypt(this.privateKey,e,t,r)},y.createRandom=function(e){var t=d.randomBytes(16);(e=e||{}).extraEntropy&&(t=a.arrayify(c.keccak256(a.concat([t,e.extraEntropy])).substring(0,34)));var r=u.entropyToMnemonic(t,e.locale);return y.fromMnemonic(r,e.path,e.locale)},y.fromEncryptedJson=function(e,t,r){if(l.isCrowdsaleWallet(e))try{r&&r(0);var n=g.decryptCrowdsale(e,t);return r&&r(1),Promise.resolve(new y(n))}catch(e){return Promise.reject(e)}else if(l.isSecretStorageWallet(e))return g.decrypt(e,t,r).then(function(e){return new y(e)});return Promise.reject("invalid wallet JSON")},y.fromMnemonic=function(e,t,r){return t=t||u.defaultPath,new y(u.fromMnemonic(e,r).derivePath(t))},y);function y(e,t){var r=o.call(this)||this;return C.checkNew(r,y),h.SigningKey.isSigningKey(e)?f.defineReadOnly(r,"signingKey",e):f.defineReadOnly(r,"signingKey",new h.SigningKey(e)),f.defineReadOnly(r,"provider",t),r}r.Wallet=m},{"./abstract-signer":2,"./errors":5,"./providers/abstract-provider":49,"./utils/bytes":63,"./utils/hash":64,"./utils/hdnode":65,"./utils/json-wallet":69,"./utils/keccak256":70,"./utils/properties":73,"./utils/random-bytes":74,"./utils/secret-storage":77,"./utils/signing-key":80,"./utils/transaction":82}],88:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("../wordlists/lang-en").langEn;r.en=n},{"../wordlists/lang-en":89}],89:[function(e,t,r){"use strict";var n,A=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var i,o=e("../utils/wordlist"),a=" ",s=null;function u(e){if(null==s&&(s=a.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"!==o.check(e)))throw s=null,new Error("BIP39 Wordlist for en (English) FAILED")}function l(){return i.call(this,"en")||this}var c=new(A(l,i=o.Wordlist),l.prototype.getWord=function(e){return u(this),s[e]},l.prototype.getWordIndex=function(e){return u(this),s.indexOf(e)},l);r.langEn=c,o.register(c)},{"../utils/wordlist":86}]},{},[7])(7)}).call(this,r(34))},function(e,t,r){(function(r){var n;t=e.exports=V,n="object"==typeof r&&Object({NODE_ENV:"production"})&&Object({NODE_ENV:"production"}).NODE_DEBUG&&/\bsemver\b/i.test(Object({NODE_ENV:"production"}).NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var A=256,i=Number.MAX_SAFE_INTEGER||9007199254740991,o=t.re=[],a=t.src=[],s=0,u=s++;a[u]="0|[1-9]\\d*";var l=s++;a[l]="[0-9]+";var c=s++;a[c]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var f=s++;a[f]="("+a[u]+")\\.("+a[u]+")\\.("+a[u]+")";var d=s++;a[d]="("+a[l]+")\\.("+a[l]+")\\.("+a[l]+")";var g=s++;a[g]="(?:"+a[u]+"|"+a[c]+")";var h=s++;a[h]="(?:"+a[l]+"|"+a[c]+")";var p=s++;a[p]="(?:-("+a[g]+"(?:\\."+a[g]+")*))";var I=s++;a[I]="(?:-?("+a[h]+"(?:\\."+a[h]+")*))";var B=s++;a[B]="[0-9A-Za-z-]+";var C=s++;a[C]="(?:\\+("+a[B]+"(?:\\."+a[B]+")*))";var m=s++,y="v?"+a[f]+a[p]+"?"+a[C]+"?";a[m]="^"+y+"$";var Q="[v=\\s]*"+a[d]+a[I]+"?"+a[C]+"?",w=s++;a[w]="^"+Q+"$";var E=s++;a[E]="((?:<|>)?=?)";var b=s++;a[b]=a[l]+"|x|X|\\*";var v=s++;a[v]=a[u]+"|x|X|\\*";var D=s++;a[D]="[v=\\s]*("+a[v]+")(?:\\.("+a[v]+")(?:\\.("+a[v]+")(?:"+a[p]+")?"+a[C]+"?)?)?";var M=s++;a[M]="[v=\\s]*("+a[b]+")(?:\\.("+a[b]+")(?:\\.("+a[b]+")(?:"+a[I]+")?"+a[C]+"?)?)?";var k=s++;a[k]="^"+a[E]+"\\s*"+a[D]+"$";var _=s++;a[_]="^"+a[E]+"\\s*"+a[M]+"$";var S=s++;a[S]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var N=s++;a[N]="(?:~>?)";var F=s++;a[F]="(\\s*)"+a[N]+"\\s+",o[F]=new RegExp(a[F],"g");var x=s++;a[x]="^"+a[N]+a[D]+"$";var G=s++;a[G]="^"+a[N]+a[M]+"$";var H=s++;a[H]="(?:\\^)";var U=s++;a[U]="(\\s*)"+a[H]+"\\s+",o[U]=new RegExp(a[U],"g");var Y=s++;a[Y]="^"+a[H]+a[D]+"$";var L=s++;a[L]="^"+a[H]+a[M]+"$";var O=s++;a[O]="^"+a[E]+"\\s*("+Q+")$|^$";var K=s++;a[K]="^"+a[E]+"\\s*("+y+")$|^$";var P=s++;a[P]="(\\s*)"+a[E]+"\\s*("+Q+"|"+a[D]+")",o[P]=new RegExp(a[P],"g");var R=s++;a[R]="^\\s*("+a[D]+")\\s+-\\s+("+a[D]+")\\s*$";var T=s++;a[T]="^\\s*("+a[M]+")\\s+-\\s+("+a[M]+")\\s*$";var J=s++;a[J]="(<|>)?=?\\s*\\*";for(var j=0;j<35;j++)n(j,a[j]),o[j]||(o[j]=new RegExp(a[j]));function q(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof V)return e;if("string"!=typeof e)return null;if(e.length>A)return null;if(!(t.loose?o[w]:o[m]).test(e))return null;try{return new V(e,t)}catch(e){return null}}function V(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof V){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>A)throw new TypeError("version is longer than "+A+" characters");if(!(this instanceof V))return new V(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?o[w]:o[m]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}t.parse=q,t.valid=function(e,t){var r=q(e,t);return r?r.version:null},t.clean=function(e,t){var r=q(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null},t.SemVer=V,V.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},V.prototype.toString=function(){return this.version},V.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof V||(e=new V(e,this.options)),this.compareMain(e)||this.comparePre(e)},V.prototype.compareMain=function(e){return e instanceof V||(e=new V(e,this.options)),z(this.major,e.major)||z(this.minor,e.minor)||z(this.patch,e.patch)},V.prototype.comparePre=function(e){if(e instanceof V||(e=new V(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],A=e.prerelease[t];if(n("prerelease compare",t,r,A),void 0===r&&void 0===A)return 0;if(void 0===A)return 1;if(void 0===r)return-1;if(r!==A)return z(r,A)}while(++t)},V.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new V(e,r).inc(t,n).version}catch(e){return null}},t.diff=function(e,t){if(ee(e,t))return null;var r=q(e),n=q(t);if(r.prerelease.length||n.prerelease.length){for(var A in r)if(("major"===A||"minor"===A||"patch"===A)&&r[A]!==n[A])return"pre"+A;return"prerelease"}for(var A in r)if(("major"===A||"minor"===A||"patch"===A)&&r[A]!==n[A])return A},t.compareIdentifiers=z;var W=/^[0-9]+$/;function z(e,t){var r=W.test(e),n=W.test(t);return r&&n&&(e=+e,t=+t),r&&!n?-1:n&&!r?1:e<t?-1:e>t?1:0}function Z(e,t,r){return new V(e,r).compare(new V(t,r))}function X(e,t,r){return Z(e,t,r)>0}function $(e,t,r){return Z(e,t,r)<0}function ee(e,t,r){return 0===Z(e,t,r)}function te(e,t,r){return 0!==Z(e,t,r)}function re(e,t,r){return Z(e,t,r)>=0}function ne(e,t,r){return Z(e,t,r)<=0}function Ae(e,t,r,n){var A;switch(t){case"===":"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),A=e===r;break;case"!==":"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),A=e!==r;break;case"":case"=":case"==":A=ee(e,r,n);break;case"!=":A=te(e,r,n);break;case">":A=X(e,r,n);break;case">=":A=re(e,r,n);break;case"<":A=$(e,r,n);break;case"<=":A=ne(e,r,n);break;default:throw new TypeError("Invalid operator: "+t)}return A}function ie(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof ie){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof ie))return new ie(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===oe?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return z(t,e)},t.major=function(e,t){return new V(e,t).major},t.minor=function(e,t){return new V(e,t).minor},t.patch=function(e,t){return new V(e,t).patch},t.compare=Z,t.compareLoose=function(e,t){return Z(e,t,!0)},t.rcompare=function(e,t,r){return Z(t,e,r)},t.sort=function(e,r){return e.sort(function(e,n){return t.compare(e,n,r)})},t.rsort=function(e,r){return e.sort(function(e,n){return t.rcompare(e,n,r)})},t.gt=X,t.lt=$,t.eq=ee,t.neq=te,t.gte=re,t.lte=ne,t.cmp=Ae,t.Comparator=ie;var oe={};function ae(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof ae)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new ae(e.raw,t);if(e instanceof ie)return new ae(e.value,t);if(!(this instanceof ae))return new ae(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function se(e){return!e||"x"===e.toLowerCase()||"*"===e}function ue(e,t,r,n,A,i,o,a,s,u,l,c,f){return((t=se(r)?"":se(n)?">="+r+".0.0":se(A)?">="+r+"."+n+".0":">="+t)+" "+(a=se(s)?"":se(u)?"<"+(+s+1)+".0.0":se(l)?"<"+s+"."+(+u+1)+".0":c?"<="+s+"."+u+"."+l+"-"+c:"<="+a)).trim()}function le(e,t,r){for(var A=0;A<e.length;A++)if(!e[A].test(t))return!1;if(r||(r={}),t.prerelease.length&&!r.includePrerelease){for(A=0;A<e.length;A++)if(n(e[A].semver),e[A].semver!==oe&&e[A].semver.prerelease.length>0){var i=e[A].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}function ce(e,t,r){try{t=new ae(t,r)}catch(e){return!1}return t.test(e)}function fe(e,t,r,n){var A,i,o,a,s;switch(e=new V(e,n),t=new ae(t,n),r){case">":A=X,i=ne,o=$,a=">",s=">=";break;case"<":A=$,i=re,o=X,a="<",s="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ce(e,t,n))return!1;for(var u=0;u<t.set.length;++u){var l=t.set[u],c=null,f=null;if(l.forEach(function(e){e.semver===oe&&(e=new ie(">=0.0.0")),c=c||e,f=f||e,A(e.semver,c.semver,n)?c=e:o(e.semver,f.semver,n)&&(f=e)}),c.operator===a||c.operator===s)return!1;if((!f.operator||f.operator===a)&&i(e,f.semver))return!1;if(f.operator===s&&o(e,f.semver))return!1}return!0}ie.prototype.parse=function(e){var t=this.options.loose?o[O]:o[K],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=r[1],"="===this.operator&&(this.operator=""),r[2]?this.semver=new V(r[2],this.options.loose):this.semver=oe},ie.prototype.toString=function(){return this.value},ie.prototype.test=function(e){return n("Comparator.test",e,this.options.loose),this.semver===oe||("string"==typeof e&&(e=new V(e,this.options)),Ae(e,this.operator,this.semver,this.options))},ie.prototype.intersects=function(e,t){if(!(e instanceof ie))throw new TypeError("a Comparator is required");var r;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return r=new ae(e.value,t),ce(this.value,r,t);if(""===e.operator)return r=new ae(this.value,t),ce(e.semver,r,t);var n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),A=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,o=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=Ae(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),s=Ae(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||A||i&&o||a||s},t.Range=ae,ae.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range},ae.prototype.toString=function(){return this.range},ae.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?o[T]:o[R];e=e.replace(r,ue),n("hyphen replace",e),e=e.replace(o[P],"$1$2$3"),n("comparator trim",e,o[P]),e=(e=(e=e.replace(o[F],"$1~")).replace(o[U],"$1^")).split(/\s+/).join(" ");var A=t?o[O]:o[K],i=e.split(" ").map(function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map(function(e){return function(e,t){n("caret",e,t),t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1});var r=t.loose?o[L]:o[Y];return e.replace(r,function(t,r,A,i,o){var a;return n("caret",e,t,r,A,i,o),se(r)?a="":se(A)?a=">="+r+".0.0 <"+(+r+1)+".0.0":se(i)?a="0"===r?">="+r+"."+A+".0 <"+r+"."+(+A+1)+".0":">="+r+"."+A+".0 <"+(+r+1)+".0.0":o?(n("replaceCaret pr",o),"-"!==o.charAt(0)&&(o="-"+o),a="0"===r?"0"===A?">="+r+"."+A+"."+i+o+" <"+r+"."+A+"."+(+i+1):">="+r+"."+A+"."+i+o+" <"+r+"."+(+A+1)+".0":">="+r+"."+A+"."+i+o+" <"+(+r+1)+".0.0"):(n("no pr"),a="0"===r?"0"===A?">="+r+"."+A+"."+i+" <"+r+"."+A+"."+(+i+1):">="+r+"."+A+"."+i+" <"+r+"."+(+A+1)+".0":">="+r+"."+A+"."+i+" <"+(+r+1)+".0.0"),n("caret return",a),a})}(e,t)}).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map(function(e){return function(e,t){t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1});var r=t.loose?o[G]:o[x];return e.replace(r,function(t,r,A,i,o){var a;return n("tilde",e,t,r,A,i,o),se(r)?a="":se(A)?a=">="+r+".0.0 <"+(+r+1)+".0.0":se(i)?a=">="+r+"."+A+".0 <"+r+"."+(+A+1)+".0":o?(n("replaceTilde pr",o),"-"!==o.charAt(0)&&(o="-"+o),a=">="+r+"."+A+"."+i+o+" <"+r+"."+(+A+1)+".0"):a=">="+r+"."+A+"."+i+" <"+r+"."+(+A+1)+".0",n("tilde return",a),a})}(e,t)}).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map(function(e){return function(e,t){e=e.trim(),t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1});var r=t.loose?o[_]:o[k];return e.replace(r,function(t,r,A,i,o,a){n("xRange",e,t,r,A,i,o,a);var s=se(A),u=s||se(i),l=u||se(o);return"="===r&&l&&(r=""),s?t=">"===r||"<"===r?"<0.0.0":"*":r&&l?(u&&(i=0),l&&(o=0),">"===r?(r=">=",u?(A=+A+1,i=0,o=0):l&&(i=+i+1,o=0)):"<="===r&&(r="<",u?A=+A+1:i=+i+1),t=r+A+"."+i+"."+o):u?t=">="+A+".0.0 <"+(+A+1)+".0.0":l&&(t=">="+A+"."+i+".0 <"+A+"."+(+i+1)+".0"),n("xRange return",t),t})}(e,t)}).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(o[J],"")}(e,t),n("stars",e),e}(e,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(e){return!!e.match(A)})),i=i.map(function(e){return new ie(e,this.options)},this)},ae.prototype.intersects=function(e,t){if(!(e instanceof ae))throw new TypeError("a Range is required");return this.set.some(function(r){return r.every(function(r){return e.set.some(function(e){return e.every(function(e){return r.intersects(e,t)})})})})},t.toComparators=function(e,t){return new ae(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})},ae.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new V(e,this.options));for(var t=0;t<this.set.length;t++)if(le(this.set[t],e,this.options))return!0;return!1},t.satisfies=ce,t.maxSatisfying=function(e,t,r){var n=null,A=null;try{var i=new ae(t,r)}catch(e){return null}return e.forEach(function(e){i.test(e)&&(n&&-1!==A.compare(e)||(A=new V(n=e,r)))}),n},t.minSatisfying=function(e,t,r){var n=null,A=null;try{var i=new ae(t,r)}catch(e){return null}return e.forEach(function(e){i.test(e)&&(n&&1!==A.compare(e)||(A=new V(n=e,r)))}),n},t.validRange=function(e,t){try{return new ae(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,r){return fe(e,t,"<",r)},t.gtr=function(e,t,r){return fe(e,t,">",r)},t.outside=fe,t.prerelease=function(e,t){var r=q(e,t);return r&&r.prerelease.length?r.prerelease:null},t.intersects=function(e,t,r){return e=new ae(e,r),t=new ae(t,r),e.intersects(t)},t.coerce=function(e){if(e instanceof V)return e;if("string"!=typeof e)return null;var t=e.match(o[S]);return null==t?null:q((t[1]||"0")+"."+(t[2]||"0")+"."+(t[3]||"0"))}}).call(this,r(50))},function(e,t,r){e.exports=r(2080)},function(e,t,r){"use strict";var n=r(103),A=r(1040),i=r(2082),o=r(1046);function a(e){var t=new i(e),r=A(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var s=a(r(1043));s.Axios=i,s.create=function(e){return a(o(s.defaults,e))},s.Cancel=r(1047),s.CancelToken=r(2094),s.isCancel=r(1042),s.all=function(e){return Promise.all(e)},s.spread=r(2095),e.exports=s,e.exports.default=s},function(e,t){
/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */
e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},function(e,t,r){"use strict";var n=r(103),A=r(1041),i=r(2083),o=r(2084),a=r(1046);function s(e){this.defaults=e,this.interceptors={request:new i,response:new i}}s.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method=e.method?e.method.toLowerCase():"get";var t=[o,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)r=r.then(t.shift(),t.shift());return r},s.prototype.getUri=function(e){return e=a(this.defaults,e),A(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],function(e){s.prototype[e]=function(t,r){return this.request(n.merge(r||{},{method:e,url:t}))}}),n.forEach(["post","put","patch"],function(e){s.prototype[e]=function(t,r,A){return this.request(n.merge(A||{},{method:e,url:t,data:r}))}}),e.exports=s},function(e,t,r){"use strict";var n=r(103);function A(){this.handlers=[]}A.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},A.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},A.prototype.forEach=function(e){n.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=A},function(e,t,r){"use strict";var n=r(103),A=r(2085),i=r(1042),o=r(1043),a=r(2092),s=r(2093);function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return u(e),e.baseURL&&!a(e.url)&&(e.url=s(e.baseURL,e.url)),e.headers=e.headers||{},e.data=A(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),n.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||o.adapter)(e).then(function(t){return u(e),t.data=A(t.data,t.headers,e.transformResponse),t},function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=A(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,r){"use strict";var n=r(103);e.exports=function(e,t,r){return n.forEach(r,function(r){e=r(e,t)}),e}},function(e,t,r){"use strict";var n=r(103);e.exports=function(e,t){n.forEach(e,function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])})}},function(e,t,r){"use strict";var n=r(1045);e.exports=function(e,t,r){var A=r.config.validateStatus;!A||A(r.status)?e(r):t(n("Request failed with status code "+r.status,r.config,null,r.request,r))}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,A){return e.config=t,r&&(e.code=r),e.request=n,e.response=A,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,r){"use strict";var n=r(103),A=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,o={};return e?(n.forEach(e.split("\n"),function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(o[t]&&A.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([r]):o[t]?o[t]+", "+r:r}}),o):o}},function(e,t,r){"use strict";var n=r(103);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function A(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=A(window.location.href),function(t){var r=n.isString(t)?A(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(103);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,A,i,o){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(A)&&a.push("path="+A),n.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(1047);function A(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var r=this;e(function(e){r.reason||(r.reason=new n(e),t(r.reason))})}A.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},A.source=function(){var e;return{token:new A(function(t){e=t}),cancel:e}},e.exports=A},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=we(r(548)),A=we(r(1048)),i=we(r(2097)),o=we(r(2098)),a=we(r(2099)),s=we(r(2100)),u=we(r(2101)),l=we(r(2102)),c=we(r(2103)),f=we(r(2104)),d=we(r(365)),g=we(r(2105)),h=we(r(550)),p=we(r(2106)),I=Qe(r(2107)),B=Qe(r(2108)),C=we(r(2109)),m=we(r(2110)),y=we(r(2111)),Q=we(r(2112)),w=we(r(2113)),E=we(r(1051)),b=we(r(1052)),v=we(r(2114)),D=we(r(2115)),M=we(r(2116)),k=we(r(1050)),_=Qe(r(2117)),S=we(r(2118)),N=we(r(1053)),F=we(r(2119)),x=we(r(2120)),G=we(r(2121)),H=we(r(2122)),U=we(r(2123)),Y=we(r(2124)),L=we(r(2125)),O=we(r(2126)),K=we(r(2127)),P=we(r(1049)),R=we(r(2128)),T=we(r(2129)),J=we(r(2130)),j=we(r(2131)),q=we(r(2132)),V=we(r(2133)),W=we(r(2134)),z=we(r(2135)),Z=we(r(2136)),X=we(r(2137)),$=Qe(r(2138)),ee=we(r(2139)),te=we(r(2140)),re=we(r(2141)),ne=we(r(2142)),Ae=we(r(2143)),ie=we(r(2144)),oe=we(r(2145)),ae=we(r(2146)),se=we(r(2147)),ue=we(r(2148)),le=Qe(r(2149)),ce=we(r(1054)),fe=we(r(1055)),de=we(r(2150)),ge=we(r(2151)),he=we(r(2152)),pe=we(r(2153)),Ie=we(r(2154)),Be=we(r(1056)),Ce=we(r(2155)),me=we(r(2156)),ye=we(r(549));function Qe(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}function we(e){return e&&e.__esModule?e:{default:e}}var Ee={version:"10.11.0",toDate:n.default,toFloat:A.default,toInt:i.default,toBoolean:o.default,equals:a.default,contains:s.default,matches:u.default,isEmail:l.default,isURL:c.default,isMACAddress:f.default,isIP:d.default,isIPRange:g.default,isFQDN:h.default,isBoolean:p.default,isAlpha:I.default,isAlphaLocales:I.locales,isAlphanumeric:B.default,isAlphanumericLocales:B.locales,isNumeric:C.default,isPort:m.default,isLowercase:y.default,isUppercase:Q.default,isAscii:w.default,isFullWidth:E.default,isHalfWidth:b.default,isVariableWidth:v.default,isMultibyte:D.default,isSurrogatePair:M.default,isInt:k.default,isFloat:_.default,isFloatLocales:_.locales,isDecimal:S.default,isHexadecimal:N.default,isDivisibleBy:F.default,isHexColor:x.default,isISRC:G.default,isMD5:H.default,isHash:U.default,isJWT:Y.default,isJSON:L.default,isEmpty:O.default,isLength:K.default,isByteLength:P.default,isUUID:R.default,isMongoId:T.default,isAfter:J.default,isBefore:j.default,isIn:q.default,isCreditCard:V.default,isIdentityCard:W.default,isISIN:z.default,isISBN:Z.default,isISSN:X.default,isMobilePhone:$.default,isMobilePhoneLocales:$.locales,isPostalCode:le.default,isPostalCodeLocales:le.locales,isCurrency:ee.default,isISO8601:te.default,isRFC3339:re.default,isISO31661Alpha2:ne.default,isISO31661Alpha3:Ae.default,isBase64:ie.default,isDataURI:oe.default,isMagnetURI:ae.default,isMimeType:se.default,isLatLong:ue.default,ltrim:ce.default,rtrim:fe.default,trim:de.default,escape:ge.default,unescape:he.default,stripLow:pe.default,whitelist:Ie.default,blacklist:Be.default,isWhitelisted:Ce.default,normalizeEmail:me.default,toString:ye.default};t.default=Ee,e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,A.default)(e),parseInt(e,t||10)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,A.default)(e),t)return"1"===e||"true"===e;return"0"!==e&&"false"!==e&&""!==e};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,A.default)(e),e===t};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),e.indexOf((0,A.default)(t))>=0};var n=i(r(22)),A=i(r(549));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){(0,A.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,r));return t.test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),(t=(0,A.default)(t,u)).require_display_name||t.allow_display_name){var r=e.match(l);if(r)e=r[1];else if(t.require_display_name)return!1}var s=e.split("@"),p=s.pop(),I=s.join("@"),B=p.toLowerCase();if(t.domain_specific_validation&&("gmail.com"===B||"googlemail.com"===B)){var C=(I=I.toLowerCase()).split("+")[0];if(!(0,i.default)(C.replace(".",""),{min:6,max:30}))return!1;for(var m=C.split("."),y=0;y<m.length;y++)if(!f.test(m[y]))return!1}if(!(0,i.default)(I,{max:64})||!(0,i.default)(p,{max:254}))return!1;if(!(0,o.default)(p,{require_tld:t.require_tld})){if(!t.allow_ip_domain)return!1;if(!(0,a.default)(p)){if(!p.startsWith("[")||!p.endsWith("]"))return!1;var Q=p.substr(1,p.length-2);if(0===Q.length||!(0,a.default)(Q))return!1}}if('"'===I[0])return I=I.slice(1,I.length-1),t.allow_utf8_local_part?h.test(I):d.test(I);for(var w=t.allow_utf8_local_part?g:c,E=I.split("."),b=0;b<E.length;b++)if(!w.test(E[b]))return!1;return!0};var n=s(r(22)),A=s(r(207)),i=s(r(1049)),o=s(r(550)),a=s(r(365));function s(e){return e&&e.__esModule?e:{default:e}}var u={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0},l=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\,\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF\s]*<(.+)>$/i,c=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,f=/^[a-z\d]+$/,d=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,g=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,h=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),!e||e.length>=2083||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;var r,a,c,f,d,g,h,p;if(t=(0,o.default)(t,s),h=e.split("#"),e=h.shift(),h=e.split("?"),e=h.shift(),(h=e.split("://")).length>1){if(r=h.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(r))return!1}else{if(t.require_protocol)return!1;if("//"===e.substr(0,2)){if(!t.allow_protocol_relative_urls)return!1;h[0]=e.substr(2)}}if(""===(e=h.join("://")))return!1;if(h=e.split("/"),""===(e=h.shift())&&!t.require_host)return!0;if((h=e.split("@")).length>1){if(t.disallow_auth)return!1;if((a=h.shift()).indexOf(":")>=0&&a.split(":").length>2)return!1}f=h.join("@"),g=null,p=null;var I=f.match(u);I?(c="",p=I[1],g=I[2]||null):(h=f.split(":"),c=h.shift(),h.length&&(g=h.join(":")));if(null!==g&&(d=parseInt(g,10),!/^[0-9]+$/.test(g)||d<=0||d>65535))return!1;if(!((0,i.default)(c)||(0,A.default)(c,t)||p&&(0,i.default)(p,6)))return!1;if(c=c||p,t.host_whitelist&&!l(c,t.host_whitelist))return!1;if(t.host_blacklist&&l(c,t.host_blacklist))return!1;return!0};var n=a(r(22)),A=a(r(550)),i=a(r(365)),o=a(r(207));function a(e){return e&&e.__esModule?e:{default:e}}var s={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},u=/^\[([^\]]+)\](?::([0-9]+))?$/;function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];if(e===n||(A=n,"[object RegExp]"===Object.prototype.toString.call(A)&&n.test(e)))return!0}var A;return!1}e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,A.default)(e),t&&t.no_colons)return o.test(e);return i.test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/,o=/^([0-9a-fA-F]){12}$/;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.default)(e);var t=e.split("/");if(2!==t.length)return!1;if(!o.test(t[1]))return!1;if(t[1].length>1&&t[1].startsWith("0"))return!1;return(0,A.default)(t[0],4)&&t[1]<=32&&t[1]>=0};var n=i(r(22)),A=i(r(365));function i(e){return e&&e.__esModule?e:{default:e}}var o=/^\d{1,2}$/;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),["true","false","1","0"].indexOf(e)>=0};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,A.default)(e),t in i.alpha)return i.alpha[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,A=(n=r(22))&&n.__esModule?n:{default:n},i=r(366);var o=Object.keys(i.alpha);t.locales=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,A.default)(e),t in i.alphanumeric)return i.alphanumeric[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,A=(n=r(22))&&n.__esModule?n:{default:n},i=r(366);var o=Object.keys(i.alphanumeric);t.locales=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,A.default)(e),t&&t.no_symbols)return o.test(e);return i.test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^[+-]?([0-9]*[.])?[0-9]+$/,o=/^[0-9]+$/;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e,{min:0,max:65535})};var n,A=(n=r(1050))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),e===e.toLowerCase()};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),e===e.toUpperCase()};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),i.test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^[\x00-\x7F]+$/;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),i.fullWidth.test(e)&&o.halfWidth.test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n},i=r(1051),o=r(1052);e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),i.test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/[^\x00-\x7F]/;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),i.test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,A.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?i.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var n=parseFloat(e.replace(",","."));return r.test(e)&&(!t.hasOwnProperty("min")||n>=t.min)&&(!t.hasOwnProperty("max")||n<=t.max)&&(!t.hasOwnProperty("lt")||n<t.lt)&&(!t.hasOwnProperty("gt")||n>t.gt)},t.locales=void 0;var n,A=(n=r(22))&&n.__esModule?n:{default:n},i=r(366);var o=Object.keys(i.decimal);t.locales=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,A.default)(e),(t=(0,n.default)(t,s)).locale in o.decimal)return!(0,i.default)(u,e.replace(/ /g,""))&&function(e){return new RegExp("^[-+]?([0-9]+)?(\\".concat(o.decimal[e.locale],"[0-9]{").concat(e.decimal_digits,"})").concat(e.force_decimal?"":"?","$"))}(t).test(e);throw new Error("Invalid locale '".concat(t.locale,"'"))};var n=a(r(207)),A=a(r(22)),i=a(r(551)),o=r(366);function a(e){return e&&e.__esModule?e:{default:e}}var s={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},u=["","-","+"];e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),(0,A.default)(e)%parseInt(t,10)==0};var n=i(r(22)),A=i(r(1048));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),i.test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),i.test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),i.test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^[a-f0-9]{32}$/;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,A.default)(e),new RegExp("^[a-f0-9]{".concat(i[t],"}$")).test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),i.test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^([A-Za-z0-9\-_~+\/]+[=]{0,2})\.([A-Za-z0-9\-_~+\/]+[=]{0,2})(?:\.([A-Za-z0-9\-_~+\/]+[=]{0,2}))?$/;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,A.default)(e);try{var t=JSON.parse(e);return!!t&&"object"===i(t)}catch(e){}return!1};var n,A=(n=r(22))&&n.__esModule?n:{default:n};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e),0===((t=(0,A.default)(t,o)).ignore_whitespace?e.trim().length:e.length)};var n=i(r(22)),A=i(r(207));function i(e){return e&&e.__esModule?e:{default:e}}var o={ignore_whitespace:!1};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,n;(0,A.default)(e),"object"===i(t)?(r=t.min||0,n=t.max):(r=arguments[1],n=arguments[2]);var o=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],a=e.length-o.length;return a>=r&&(void 0===n||a<=n)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";(0,A.default)(e);var r=i[t];return r&&r.test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,A.default)(e)&&24===e.length};var n=i(r(22)),A=i(r(1053));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,A.default)(t),i=(0,A.default)(e);return!!(i&&r&&i>r)};var n=i(r(22)),A=i(r(548));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,n.default)(e);var r=(0,A.default)(t),i=(0,A.default)(e);return!!(i&&r&&i<r)};var n=i(r(22)),A=i(r(548));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r;if((0,n.default)(e),"[object Array]"===Object.prototype.toString.call(t)){var i=[];for(r in t)({}).hasOwnProperty.call(t,r)&&(i[r]=(0,A.default)(t[r]));return i.indexOf(e)>=0}if("object"===o(t))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return t.indexOf(e)>=0;return!1};var n=i(r(22)),A=i(r(549));function i(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,A.default)(e);var t=e.replace(/[- ]+/g,"");if(!i.test(t))return!1;for(var r,n,o,a=0,s=t.length-1;s>=0;s--)r=t.substring(s,s+1),n=parseInt(r,10),a+=o&&(n*=2)>=10?n%10+1:n,o=!o;return!(a%10!=0||!t)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14})$/;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"any";if((0,A.default)(e),t in i)return i[t](e);if("any"===t){for(var r in i){if(i.hasOwnProperty(r))if((0,i[r])(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i={ES:function(e){(0,A.default)(e);var t={X:0,Y:1,Z:2},r=e.trim().toUpperCase();if(!/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/.test(r))return!1;var n=r.slice(0,-1).replace(/[X,Y,Z]/g,function(e){return t[e]});return r.endsWith(["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][n%23])}};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,A.default)(e),!i.test(e))return!1;for(var t,r,n=e.replace(/[A-Z]/g,function(e){return parseInt(e,36)}),o=0,a=!0,s=n.length-2;s>=0;s--)t=n.substring(s,s+1),r=parseInt(t,10),o+=a&&(r*=2)>=10?r+1:r,a=!a;return parseInt(e.substr(e.length-1),10)===(1e4-o)%10};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,A.default)(t);r=String(r);if(!r)return e(t,10)||e(t,13);var n=t.replace(/[\s-]+/g,"");var s=0;var u;if("10"===r){if(!i.test(n))return!1;for(u=0;u<9;u++)s+=(u+1)*n.charAt(u);if("X"===n.charAt(9)?s+=100:s+=10*n.charAt(9),s%11==0)return!!n}else if("13"===r){if(!o.test(n))return!1;for(u=0;u<12;u++)s+=a[u%2]*n.charAt(u);if(n.charAt(12)-(10-s%10)%10==0)return!!n}return!1};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^(?:[0-9]{9}X|[0-9]{10})$/,o=/^(?:[0-9]{13})$/,a=[1,3];e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,A.default)(e);var r=i;if(r=t.require_hyphen?r.replace("?",""):r,!(r=t.case_sensitive?new RegExp(r):new RegExp(r,"i")).test(e))return!1;for(var n=e.replace("-","").toUpperCase(),o=0,a=0;a<n.length;a++){var s=n[a];o+=("X"===s?10:+s)*(8-a)}return o%11==0};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i="^\\d{4}-?\\d{3}[\\dX]$";e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if((0,A.default)(e),r&&r.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some(function(t){if(i.hasOwnProperty(t)&&i[t].test(e))return!0;return!1});if(t in i)return i[t].test(e);if(!t||"any"===t){for(var n in i){if(i.hasOwnProperty(n))if(i[n].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i={"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-EG":/^((\+?20)|0)?1[012]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)[569]\d{7}$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/\+?(88)?0?1[356789][0-9]{8}\b/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^(\+49)?0?1(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7}$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28)\d{7}$/,"en-HK":/^(\+?852\-?)?[456789]\d{3}\-?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)?[7]\d{8}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PK":/^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[89]\d{7}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"es-ES":/^(\+?34)?(6\d{1}|7[1234])\d{7}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36)(20|30|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"ja-JP":/^(\+?81|0)[789]0[ \-]?[1-9]\d{2}[ \-]?\d{5}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"ms-MY":/^(\+?6?01){1}(([0145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"nl-BE":/^(\+?32|0)4?\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/(?=^(\+?5{2}\-?|0)[1-9]{2}\-?\d{4}\-?\d{4}$)(^(\+?5{2}\-?|0)[1-9]{2}\-?[6-9]{1}\d{3}\-?\d{4}$)|(^(\+?5{2}\-?|0)[1-9]{2}\-?9[6-9]{1}\d{3}\-?\d{4}$)/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"vi-VN":/^(\+?84|0)((3([2-9]))|(5([689]))|(7([0|6-9]))|(8([1-5]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/};i["en-CA"]=i["en-US"],i["fr-BE"]=i["nl-BE"],i["zh-HK"]=i["en-HK"];var o=Object.keys(i);t.locales=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,A.default)(e),function(e){var t="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach(function(e,r){0!==r&&(t="".concat(t,"|\\d{").concat(e,"}"))});var r="(\\".concat(e.symbol.replace(/\./g,"\\."),")").concat(e.require_symbol?"":"?"),n="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),A="(".concat(["0","[1-9]\\d*",n].join("|"),")?"),i="(\\".concat(e.decimal_separator,"(").concat(t,"))").concat(e.require_decimal?"":"?"),o=A+(e.allow_decimal||e.require_decimal?i:"");e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?o+="-?":e.negative_sign_before_digits&&(o="-?"+o));e.allow_negative_sign_placeholder?o="( (?!\\-))?".concat(o):e.allow_space_after_symbol?o=" ?".concat(o):e.allow_space_after_digits&&(o+="( (?!$))?");e.symbol_after_digits?o+=r:o=r+o;e.allow_negatives&&(e.parens_for_negatives?o="(\\(".concat(o,"\\)|").concat(o,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(o="-?"+o));return new RegExp("^(?!-? )(?=.*\\d)".concat(o,"$"))}(t=(0,n.default)(t,o)).test(e)};var n=i(r(207)),A=i(r(22));function i(e){return e&&e.__esModule?e:{default:e}}var o={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,A.default)(e);var r=i.test(e);return t&&r&&t.strict?o(e):r};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,o=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var r=Number(t[1]),n=Number(t[2]);return r%4==0&&r%100!=0?n<=366:n<=365}var A=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),i=A[1],o=A[2],a=A[3],s=o?"0".concat(o).slice(-2):o,u=a?"0".concat(a).slice(-2):a,l=new Date("".concat(i,"-").concat(s||"01","-").concat(u||"01"));return!isNaN(l.getUTCFullYear())&&(!o||!a||l.getUTCFullYear()===i&&l.getUTCMonth()+1===o&&l.getUTCDate()===a)};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),f.test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/([01][0-9]|2[0-3])/,o=/[0-5][0-9]/,a=new RegExp("[-+]".concat(i.source,":").concat(o.source)),s=new RegExp("([zZ]|".concat(a.source,")")),u=new RegExp("".concat(i.source,":").concat(o.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),l=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),c=new RegExp("".concat(u.source).concat(s.source)),f=new RegExp("".concat(l.source,"[ tT]").concat(c.source));e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,A.default)(o,e.toUpperCase())};var n=i(r(22)),A=i(r(551));function i(e){return e&&e.__esModule?e:{default:e}}var o=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"];e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),(0,A.default)(o,e.toUpperCase())};var n=i(r(22)),A=i(r(551));function i(e){return e&&e.__esModule?e:{default:e}}var o=["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"];e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,A.default)(e);var t=e.length;if(!t||t%4!=0||i.test(e))return!1;var r=e.indexOf("=");return-1===r||r===t-1||r===t-2&&"="===e[t-1]};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/[^A-Z0-9+\/=]/i;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,A.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),n=r.shift();if("data:"!==n.substr(0,5))return!1;var s=n.substr(5);if(""!==s&&!i.test(s))return!1;for(var u=0;u<r.length;u++)if(u===r.length-1&&"base64"===r[u].toLowerCase());else if(!o.test(r[u]))return!1;for(var l=0;l<t.length;l++)if(!a.test(t[l]))return!1;return!0};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^[a-z]+\/[a-z0-9\-\+]+$/i,o=/^[a-z\-]+=[a-z0-9\-]+$/i,a=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),i.test(e.trim())};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^magnet:\?xt=urn:[a-z0-9]+:[a-z0-9]{32,40}&dn=.+&tr=.+$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),i.test(e)||o.test(e)||a.test(e)};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,o=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,a=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,A.default)(e),!e.includes(","))return!1;var t=e.split(",");return i.test(t[0])&&o.test(t[1])};var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,o=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/;e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,A.default)(e),t in s)return s[t].test(e);if("any"===t){for(var r in s){if(s.hasOwnProperty(r))if(s[r].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var n,A=(n=r(22))&&n.__esModule?n:{default:n};var i=/^\d{4}$/,o=/^\d{5}$/,a=/^\d{6}$/,s={AD:/^AD\d{3}$/,AT:i,AU:i,BE:i,BG:i,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:i,CZ:/^\d{3}\s?\d{2}$/,DE:o,DK:i,DZ:o,EE:o,ES:o,FI:o,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HU:i,IL:o,IN:a,IS:/^\d{3}$/,IT:o,JP:/^\d{3}\-\d{4}$/,KE:o,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:i,LV:/^LV\-\d{4}$/,MX:o,NL:/^\d{4}\s?[a-z]{2}$/i,NO:i,PL:/^\d{2}\-\d{3}$/,PT:/^\d{4}\-\d{3}?$/,RO:a,RU:a,SA:o,SE:/^\d{3}\s?\d{2}$/,SI:i,SK:/^\d{3}\s?\d{2}$/,TN:i,TW:/^\d{3}(\d{2})?$/,UA:o,US:/^\d{5}(-\d{4})?$/,ZA:i,ZM:o},u=Object.keys(s);t.locales=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)((0,A.default)(e,t),t)};var n=i(r(1055)),A=i(r(1054));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,A.default)(e),e.replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#x2F;/g,"/").replace(/&#x5C;/g,"\\").replace(/&#96;/g,"`")};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e);var r=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,A.default)(e,r)};var n=i(r(22)),A=i(r(1056));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,A.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,A.default)(e);for(var r=e.length-1;r>=0;r--)if(-1===t.indexOf(e[r]))return!1;return!0};var n,A=(n=r(22))&&n.__esModule?n:{default:n};e.exports=t.default,e.exports.default=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t=(0,A.default)(t,i);var r=e.split("@"),n=r.pop(),c=[r.join("@"),n];if(c[1]=c[1].toLowerCase(),"gmail.com"===c[1]||"googlemail.com"===c[1]){if(t.gmail_remove_subaddress&&(c[0]=c[0].split("+")[0]),t.gmail_remove_dots&&(c[0]=c[0].replace(/\.+/g,l)),!c[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(c[0]=c[0].toLowerCase()),c[1]=t.gmail_convert_googlemaildotcom?"gmail.com":c[1]}else if(o.indexOf(c[1])>=0){if(t.icloud_remove_subaddress&&(c[0]=c[0].split("+")[0]),!c[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(c[0]=c[0].toLowerCase())}else if(a.indexOf(c[1])>=0){if(t.outlookdotcom_remove_subaddress&&(c[0]=c[0].split("+")[0]),!c[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(c[0]=c[0].toLowerCase())}else if(s.indexOf(c[1])>=0){if(t.yahoo_remove_subaddress){var f=c[0].split("-");c[0]=f.length>1?f.slice(0,-1).join("-"):f[0]}if(!c[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(c[0]=c[0].toLowerCase())}else u.indexOf(c[1])>=0?((t.all_lowercase||t.yandex_lowercase)&&(c[0]=c[0].toLowerCase()),c[1]="yandex.ru"):t.all_lowercase&&(c[0]=c[0].toLowerCase());return c.join("@")};var n,A=(n=r(207))&&n.__esModule?n:{default:n};var i={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},o=["icloud.com","me.com"],a=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],s=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],u=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function l(e){return e.length>1?e:""}e.exports=t.default,e.exports.default=t.default},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(256),A=r(132),i=r(193),o=r(44),a=r(3),s=r(303),u=r(24),l=r(88),c=r(30),f=r(554);const d=r(47);class g{constructor(e,t,r){this.id=e,this.resolve=t,this.reject=r}}let h=new WeakMap,p=new WeakMap,I=new WeakMap,B=new WeakMap,C=new WeakMap,m=new WeakMap;const y=()=>{if(!m)throw new Error("There is no identity with an account set on your Scatter instance.")},Q=(e,t)=>new Promise((r,n)=>{let o=A.a.text(24);p.push(new g(o,r,n));let a=new s.a(e,t,o,f.a.strippedHost());h.send(a,i.e)}),w=()=>{h.listenWith(e=>{if(!e||!e.hasOwnProperty("type"))return!1;for(let t=0;t<p.length;t++)p[t].id===e.resolver&&(e.type===o.b?p[t].reject(e.payload):p[t].resolve(e.payload),p=p.slice(t,1))})},E=e=>{let t=u.a.plugin(a.c.EOS);e[t.blockchain]=t.signatureProvider(Q,y)};class b{constructor(e,t){if(I=t.version,h=e,p=[],this.isMathWallet=!0,this.identity=null,t.identitys.length){let e=t.identitys.find(e=>e.network.blockchain===a.c.EOS);e&&this.scatterUseIdentity(e.network,e.account)}E(this),w()}useIdentity(e){this.identity=e,m=e?e.publicKey:""}scatterUseIdentity(e,t){C=e,m=t?t.address:null,this.identity=e&&t?{accounts:[{blockchain:e.blockchain,chainId:e.chainId,name:t.name,authority:t.authority,publicKey:t.address}],publicKey:t.address}:null}suggestNetwork(e){return new Promise((e,t)=>{e(!0)})}getIdentity(e={}){if(!e||!e.hasOwnProperty("accounts")||!e.accounts.length)return new Promise((e,t)=>{e(new Error("User rejected the login request"))});const t=c.a.fromJson({blockchain:e.accounts[0].blockchain,chainId:e.accounts[0].chainId});return Q(o.f,{network:t}).then(e=>(this.scatterUseIdentity(e.network,e.account),{accounts:[{blockchain:e.network.blockchain,chainId:e.network.chainId,name:e.account.name,authority:e.account.authority,publicKey:e.account.address}],publicKey:e.account.address}))}forgetIdentity(){return y(),Q(o.c,{}).then(()=>(this.scatterUseIdentity(null,null),!0))}async authenticate(){y();const e=await Q(o.a,{publicKey:m},!0).catch(e=>e);if("object"==typeof e)return e;try{if(d.verify(e,Object(l.a)(),m))return e}catch(e){this.scatterUseIdentity(null,null)}}requireVersion(e){B=e}getArbitrarySignature(e,t,r="",n=!1){return y(),m!==e?new Promise((e,t)=>{t(new Error("User rejected the signature request"))}):Q(o.e,{network:C,publicKey:e,data:t,whatfor:r,isHash:n})}}const v=r(47);class D{constructor(e,t,r){this.id=e,this.resolve=t,this.reject=r}}let M=new WeakMap,k=new WeakMap,_=new WeakMap,S=new WeakMap,N=new WeakMap,F=new WeakMap;const x=()=>{if(!F)throw new Error("There is no identity with an account set on your Scatter instance.")},G=(e,t)=>new Promise((r,n)=>{let o=A.a.text(24);k.push(new D(o,r,n));let a=new s.a(e,t,o,f.a.strippedHost());M.send(a,i.e)}),H=()=>{M.listenWith(e=>{if(!e||!e.hasOwnProperty("type"))return!1;for(let t=0;t<k.length;t++)k[t].id===e.resolver&&(e.type===o.b?k[t].reject(e.payload):k[t].resolve(e.payload),k=k.slice(t,1))})},U=e=>{let t=u.a.plugin(a.c.FIBOS);e[t.blockchain]=t.signatureProvider(G,x)};class Y{constructor(e,t){if(_=t.version,M=e,k=[],this.isMathWallet=!0,this.identity=null,t.identitys.length){let e=t.identitys.find(e=>e.network.blockchain===a.c.FIBOS);e&&this.scatterUseIdentity(e.network,e.account)}U(this),H()}useIdentity(e){this.identity=e,F=e?e.publicKey:""}scatterUseIdentity(e,t){N=e,F=t.address,this.identity=e&&t?{accounts:[{blockchain:e.blockchain,chainId:e.chainId,name:t.name,authority:t.authority,publicKey:t.address}],publicKey:t.address}:null}suggestNetwork(e){return new Promise((e,t)=>{e(!0)})}getIdentity(e={}){if(!e||!e.hasOwnProperty("accounts")||!e.accounts.length)return new Promise((e,t)=>{e(new Error("User rejected the login request"))});const t=c.a.fromJson({blockchain:e.accounts[0].blockchain,chainId:e.accounts[0].chainId});return G(o.f,{network:t}).then(e=>(this.scatterUseIdentity(e.network,e.account),{accounts:[{blockchain:e.network.blockchain,chainId:e.network.chainId,name:e.account.name,authority:e.account.authority,publicKey:e.account.address}],publicKey:e.account.address}))}forgetIdentity(){return x(),G(o.c,{}).then(()=>(this.scatterUseIdentity(null,null),!0))}async authenticate(){x();const e=await G(o.a,{publicKey:F},!0).catch(e=>e);if("object"==typeof e)return e;try{if(v.verify(e,Object(l.a)(),F))return e}catch(e){this.scatterUseIdentity(null,null)}}requireVersion(e){S=e}getArbitrarySignature(e,t,r="",n=!1){return x(),F!==e?new Promise((e,t)=>{t(new Error("User rejected the signature request"))}):G(o.e,{network:N,publicKey:e,data:t,whatfor:r,isHash:n})}}class L{constructor(){const e=new n.EncryptedStream(i.b,A.a.text(64));e.listenWith(t=>{if(t&&t.hasOwnProperty("type"))switch(t.type){case o.d:this.dispenseInjectMessage(e,t.payload)}}),e.sync(i.e,e.key)}dispenseInjectMessage(e,t){const r=t.hasOwnProperty("network")?t.network.blockchain:null;if(r&&r.length>0){const n=t.conflicts.find(e=>e.blockchain===r);if(n&&n.enable)return;switch(r){case a.c.EOS:L.loadInjectObjectsOfEOS(e,t);break;case a.c.FIBOS:L.loadInjectObjectsOfFIBOS(e,t)}}}static loadInjectObjectsOfEOS(e,t){const r=new b(e,t);window.scatter=r,document.dispatchEvent(new CustomEvent("scatterLoaded"))}static loadInjectObjectsOfFIBOS(e,t){const r=new Y(e,t);window.ironman=r,document.dispatchEvent(new CustomEvent("scatterLoaded"))}}new L}]);