eos.min_9ae31eac.js 405 KB

12345678910111213
  1. !function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Eos=t()}(function(){return function t(e,r,n){function i(o,s){if(!r[o]){if(!e[o]){var a="function"==typeof require&&require;if(!s&&a)return a(o,!0);if(u)return u(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var h=r[o]={exports:{}};e[o][0].call(h.exports,function(t){var r=e[o][1][t];return i(r||t)},h,h.exports,t,e,r,n)}return r[o].exports}for(var u="function"==typeof require&&require,o=0;o<n.length;o++)i(n[o]);return i}({1:[function(t,e,r){(function(r){"use strict";var n,i=t("babel-runtime/helpers/typeof"),u=(n=i)&&n.__esModule?n:{"default":n},o=t("assert"),s=t("./structs");e.exports=function(t,e){function n(t,e){if(o.equal(void 0===t?"undefined":(0,u["default"])(t),"string","account string required"),e){o.equal(void 0===e?"undefined":(0,u["default"])(e),"object","abi"),r.isBuffer(e)&&(e=JSON.parse(e));var n=function(t,e){var r={};return t.types&&t.types.forEach(function(t){r[t.new_type_name]=t.type}),t.structs&&t.structs.forEach(function(t){var e={},n=!0,i=!1,u=void 0;try{for(var o,s=t.fields[Symbol.iterator]();!(n=(o=s.next()).done);n=!0){var a=o.value;e[a.name]=a.type}}catch(t){i=!0,u=t}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw u}}r[t.name]={base:t.base,fields:e},""===t.base&&delete r[t.name].base}),t.actions&&t.actions.forEach(function(t){var n=r[t.type];n?n.action={name:t.name,account:e}:console.error("Missing abiSchema type",t.type,e)}),r}(e,t),f=s(i,n);return a[t]=Object.assign({abi:e,schema:n},f)}var h=a[t];if(null==h)throw new Error("Abi '"+t+"' is not cached");return h}e.abiCache={abiAsync:function(e){var r=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];if(o.equal(void 0===e?"undefined":(0,u["default"])(e),"string","account string required"),0==r&&null!=a[e])return Promise.resolve(a[e]);if(null==t){var i=a[e];return o(i,"Missing ABI for account: "+e+", provide httpEndpoint or add to abiCache"),Promise.resolve(i)}return t.getAbi(e).then(function(t){return o(t.abi,"Missing ABI for account: "+e),n(e,t.abi)})},abi:n};var i=Object.assign({},{defaults:!0},e),a={};return e.abiCache}}).call(this,{isBuffer:t("../node_modules/is-buffer/index.js")})},{"../node_modules/is-buffer/index.js":160,"./structs":9,assert:11,"babel-runtime/helpers/typeof":17}],2:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:10;if("number"==typeof t){if(t>Number.MAX_SAFE_INTEGER)throw new TypeError("value parameter overflow");t=p.fromString(String(t),e,r)}else if("string"==typeof t)t=p.fromString(t,e,r);else if(!p.isLong(t))throw new TypeError("value parameter is a requied Long, Number or String");return t}function u(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];if("string"!=typeof t)throw new TypeError("name parameter is a required string");if(12<t.length)throw new TypeError("A name can be up to 12 characters long");for(var r="",n=0;12>=n;n++){var i=n<t.length?m(t[n]):0,u=12>n?5:4,o=Number(i).toString(2);if(o.length>u)throw new TypeError("Invalid name "+t);r+=o="0".repeat(u-o.length)+o}var s=p.fromString(r,!0,2),a="",f=e?s.toBytesLE():s.toBytesBE(),h=!0,c=!1,l=void 0;try{for(var d,g=f[Symbol.iterator]();!(h=(d=g.next()).done);h=!0){var y=d.value,b=Number(y).toString(16);a+=(1===b.length?"0":"")+b}}catch(t){c=!0,l=t}finally{try{!h&&g["return"]&&g["return"]()}finally{if(c)throw l}}return p.fromString(a,!0,16).toString().toString()}function o(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];t=i(t);var r="",n=e?t.toBytesLE():t.toBytesBE(),u=!0,o=!1,s=void 0;try{for(var a,f=n[Symbol.iterator]();!(u=(a=f.next()).done);u=!0){var h=a.value,c=Number(h).toString(16);r+=(1===c.length?"0":"")+c}}catch(t){o=!0,s=t}finally{try{!u&&f["return"]&&f["return"]()}finally{if(o)throw s}}r+="0".repeat(16-r.length);for(var l=p.fromNumber(31,!0),m=p.fromNumber(15,!0),g="",y=p.fromString(r,!0,16),b=0;12>=b;b++)g=d[y.and(0===b?m:l)]+g,y=y.shiftRight(0===b?4:5);return g=g.replace(/\.+$/,"")}function s(t){l(null!=t,"value is required"),t="object"===t&&t.toString?t.toString():String(t);var e=/^-/.test(t);e&&(t=t.substring(1)),"."===t[0]&&(t="0"+t);var r=t.split(".");return l(r.length<=2,"invalid decimal "+t),l(/^\d+(,?\d)*\d*$/.test(r[0]),"invalid decimal "+t),2===r.length&&(l(/^\d*$/.test(r[1]),"invalid decimal "+t),r[1]=r[1].replace(/0+$/,""),""===r[1]&&r.pop()),r[0]=r[0].replace(/^0*/,""),""===r[0]&&(r[0]="0"),(e?"-":"")+r.join(".")}function a(t,e){var r=s(t);if(null==e)return r;l(e>=0&&18>=e,"Precision should be 18 characters or less");var n=r.split(".");if(0===e&&1===n.length)return n[0];if(1===n.length)return n[0]+"."+"0".repeat(e);var i=e-n[1].length;return l(i>=0,"decimal '"+r+"' exceeds precision "+e),n[0]+"."+n[1]+"0".repeat(i)}function f(t){var e=t.amount,r=t.precision,n=t.symbol,i=t.contract;l.equal(void 0===n?"undefined":(0,c["default"])(n),"string","symbol is a required string"),null!=e&&null!=r&&(e=a(e,r));var u=function(t,e){return null==t?"":null==e?"":t+e};return null!=e?u(e," ")+n+u("@",i):u(r,",")+n+u("@",i)}var h=n(t("babel-runtime/helpers/slicedToArray")),c=n(t("babel-runtime/helpers/typeof")),l=t("assert"),p=t("bytebuffer").Long;e.exports={ULong:i,isName:function(t,e){try{return u(t),!0}catch(t){return e&&e(t),!1}},encodeName:u,decodeName:o,encodeNameHex:function(t){return p.fromString(u(t),!0).toString(16)},decodeNameHex:function(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];return o(p.fromString(t,!0,16).toString(),e)},DecimalString:s,DecimalPad:a,DecimalImply:function(t,e){return a(t,e).replace(".","")},DecimalUnimply:function(t,e){l(null!=t,"value is required"),t="object"===t&&t.toString?t.toString():String(t);var r=/^-/.test(t);r&&(t=t.substring(1)),l(/^\d+$/.test(t),"invalid whole number "+t),l(null!=e,"precision required"),l(e>=0&&18>=e,"Precision should be 18 characters or less");var n=e-t.length;n>0&&(t=""+"0".repeat(n)+t);var i=t.length-e;return t=t.slice(0,i)+"."+t.slice(i),(r?"-":"")+a(t,e)},printAsset:f,parseAsset:function(t){var e=t.split(" "),r=(0,h["default"])(e,1)[0].match(/^(-?[0-9]+(\.[0-9]+)?)( |$)/),n=r?r[1]:null,i=t.match(/(^| )([0-9]+),([A-Z]+)(@|$)/),u=i?Number(i[2]):null,o=n?(n.split(".")[1]||"").length:null,s=null!=u?u:o,a=t.match(/(^| |,)([A-Z]+)(@|$)/),c=a?a[2]:null,p=t.split("@"),d=(0,h["default"])(p,2)[1],m=void 0===d?"":d,g=/^[a-z0-5]+(\.[a-z0-5]+)*$/.test(m)?m:null,y=f({amount:n,precision:s,symbol:c,contract:g});return l.equal(t,y,"Invalid asset string: "+t+" !== "+y),null!=s&&l(s>=0&&18>=s,"Precision should be 18 characters or less"),null!=c&&l(c.length<=7,"Asset symbol is 7 characters or less"),null!=g&&l(g.length<=12,"Contract is 12 characters or less"),{amount:n,precision:s,symbol:c,contract:g}}};var d=".12345abcdefghijklmnopqrstuvwxyz",m=function(t){var e=d.indexOf(t);if(-1===e)throw new TypeError("Invalid character: '"+t+"'");return e}},{assert:11,"babel-runtime/helpers/slicedToArray":16,"babel-runtime/helpers/typeof":17,bytebuffer:46}],3:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}var i=n(t("babel-runtime/regenerator")),u=n(t("babel-runtime/helpers/typeof")),o=t("eosjs-ecc"),s=t("fcbuffer"),a=t("eosjs-api"),f=t("assert"),h=t("./structs"),c=t("./abi-cache"),l=t("./write-api"),p=t("./format"),d=t("./schema"),m=t("./schema/eosio.token.abi.json"),g=t("./schema/eosio.system.abi.json"),y=t("./schema/eosio.null.abi.json"),b=function(){function t(t,e){Object.keys(e).forEach(function(r){void 0===t[r]&&(t[r]=e[r])})}var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r={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};return t(e,r),t(e.logger,r.logger),function(t){var e=null!=t.httpEndpoint?a(t):null;t.network=e;var r=[],n=c(e,t);r.push(n.abi("eosio.null",y)),r.push(n.abi("eosio.token",m)),r.push(n.abi("eosio",g)),t.chainId||(t.chainId="cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f"),e&&(i=e,o=t.chainId,s=t.logger,i.getInfo({}).then(function(t){t.chain_id!==o&&s.log&&s.log("chainId mismatch, signatures will not match transaction authority. expected "+o+" !== actual "+t.chain_id)})["catch"](function(t){s.error&&s.error("Warning, unable to validate chainId: "+t.message)}));var i,o,s;if(null!=t.mockTransactions){if("string"==typeof t.mockTransactions){var d=t.mockTransactions;t.mockTransactions=function(){return d}}f.equal((0,u["default"])(t.mockTransactions),"function","config.mockTransactions")}var b,_,w,E,A,B,C,F=h(t),x=F.structs,D=F.types,S=F.fromBuffer,k=F.toBuffer,M=(b=t,_=a,w=x,E=r,A=b.network,B=Object.assign({},A),C=l(_,A,w,b,E),function(t,e,r){for(var n in t)if(e[n])throw new TypeError(r+": "+n)}(B,C,"Conflicting methods in EosApi and Transaction Api"),Object.assign(B,C),B);Object.assign(M,{config:(T=t,I=new Set(["httpEndpoint","abiCache","chainId","expireInSeconds"]),j=new Set(["verbose","debug","broadcast","logger","sign"]),O={},Object.keys(T).forEach(function(t){Object.defineProperty(O,t,{set:function(e){if(!j.has(t))throw new Error("Access denied");T[t]=e},get:function(){if(I.has(t)||j.has(t))return T[t];throw new Error("Access denied")}})}),O),fc:{structs:x,types:D,fromBuffer:S,toBuffer:k,abiCache:n},modules:{format:p}}),t.signProvider||(t.signProvider=v(M,t));var T,I,j,O;return M}(e)};e.exports=b,Object.assign(b,{version:"16.0.0",modules:{format:p,api:a,ecc:o,json:{api:a.api,schema:d},Fcbuffer:s},Testnet:function(t){return console.error("deprecated, change Eos.Testnet(..) to just Eos(..)"),b(t)},Localnet:function(t){return console.error("deprecated, change Eos.Localnet(..) to just Eos(..)"),b(t)}});var v=function(t,e){return function(r){var n,u,s,a,h,c,l,p,d,m,g,y,b,v,_,w,E,A,B,C=r.sign,F=r.buf,x=r.transaction,D=r.optionsKeyProvider;return i["default"].async(function(r){for(;;)switch(r.prev=r.next){case 0:if(n=D||e.keyProvider){r.next=3;break}throw new TypeError("This transaction requires a keyProvider for signing");case 3:return"function"==typeof(u=n)&&(u=n({transaction:x})),r.next=7,i["default"].awrap(Promise.resolve(u));case 7:if(u=r.sent,Array.isArray(u)||(u=[u]),(u=u.map(function(t){try{return{"private":o.PrivateKey(t).toString()}}catch(e){return{"public":o.PublicKey(t).toString()}}f(!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!==u.length||!u[0]["private"]){r.next=15;break}return s=u[0]["private"],r.abrupt("return",C(F,s));case 15:if(null!=e.httpEndpoint){r.next=37;break}for(a=[],c=!(h=!0),l=void 0,r.prev=20,p=u[Symbol.iterator]();!(h=(d=p.next()).done);h=!0)m=d.value,a.push(C(F,m["private"]));r.next=28;break;case 24:r.prev=24,r.t0=r["catch"](20),c=!0,l=r.t0;case 28:r.prev=28,r.prev=29,!h&&p["return"]&&p["return"]();case 31:if(r.prev=31,!c){r.next=34;break}throw l;case 34:return r.finish(31);case 35:return r.finish(28);case 36:return r.abrupt("return",a);case 37:for(g=new Map,b=!(y=!0),v=void 0,r.prev=41,_=u[Symbol.iterator]();!(y=(w=_.next()).done);y=!0)E=w.value,A=null!=E["private"],null!=E["public"],A?g.set(o.privateToPublic(E["private"]),E["private"]):g.set(E["public"],null);r.next=49;break;case 45:r.prev=45,r.t1=r["catch"](41),b=!0,v=r.t1;case 49:r.prev=49,r.prev=50,!y&&_["return"]&&_["return"]();case 52:if(r.prev=52,!b){r.next=55;break}throw v;case 55:return r.finish(52);case 56:return r.finish(49);case 57:return B=Array.from(g.keys()),r.abrupt("return",t.getRequiredKeys(x,B).then(function(t){var e=t.required_keys;if(!e.length)throw new Error("missing required keys for "+JSON.stringify(x));var r=[],i=[],u=!0,s=!1,a=void 0;try{for(var h,c=e[Symbol.iterator]();!(u=(h=c.next()).done);u=!0){var l=h.value;l=o.PublicKey(l).toString();var p=g.get(l);p?r.push(p):i.push(l)}}catch(t){s=!0,a=t}finally{try{!u&&c["return"]&&c["return"]()}finally{if(s)throw a}}0!==i.length&&(f("function"==typeof n,"keyProvider function is needed for private key lookup"),n({pubkeys:i}).forEach(function(t){r.push(t)}));var d=[],m=!0,y=!1,b=void 0;try{for(var v,_=r[Symbol.iterator]();!(m=(v=_.next()).done);m=!0){var w=v.value;d.push(C(F,w))}}catch(t){y=!0,b=t}finally{try{!m&&_["return"]&&_["return"]()}finally{if(y)throw b}}return d}));case 59:case"end":return r.stop()}},null,this,[[20,24,28,36],[29,,31,35],[41,45,49,57],[50,,52,56]])}}},{"./abi-cache":1,"./format":2,"./schema":8,"./schema/eosio.null.abi.json":5,"./schema/eosio.system.abi.json":6,"./schema/eosio.token.abi.json":7,"./structs":9,"./write-api":10,assert:11,"babel-runtime/helpers/typeof":17,"babel-runtime/regenerator":18,"eosjs-api":135,"eosjs-ecc":144,fcbuffer:153}],4:[function(t,e,r){e.exports={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",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"}}}},{}],5:[function(t,e,r){e.exports={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:[]}},{}],6:[function(t,e,r){e.exports={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:[]}},{}],7:[function(t,e,r){e.exports={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:[]}},{}],8:[function(t,e,r){"use strict";var n=Object.assign({},t("./chain_types.json"));e.exports=n},{"./chain_types.json":4}],9:[function(t,e,r){(function(r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}var i=n(t("babel-runtime/helpers/slicedToArray")),u=n(t("babel-runtime/helpers/typeof")),o=t("eosjs-ecc"),s=o.Signature,a=o.PublicKey,f=t("fcbuffer"),h=t("bytebuffer"),c=t("assert"),l=t("./schema"),p=t("./format"),d=(p.isName,p.encodeName),m=p.decodeName,g=p.DecimalPad,y=p.DecimalImply,b=p.DecimalUnimply,v=p.printAsset,_=p.parseAsset;e.exports=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1],r=function(e,r){var n=t.abiCache.abi(r),i=!0,u=!1,o=void 0;try{for(var s,a=n.abi.actions[Symbol.iterator]();!(i=(s=a.next()).done);i=!0){var f=s.value;if(f.name===e){var h=n.structs[f.type];if(null!=h)return h}}}catch(e){u=!0,o=e}finally{try{!i&&a["return"]&&a["return"]()}finally{if(u)throw o}}var c=n.structs[e];if(null!=c)return c;throw new Error("Missing ABI action: "+e)},n=null==t.forceActionDataHex||t.forceActionDataHex,i=Object.assign({},k(t),M(r),T(t),I(r,n),t.override),u={name:function(){return[w]},public_key:function(){return[E(A)]},symbol:function(){return[B]},symbol_code:function(){return[C]},extended_symbol:function(){return[F]},asset:function(){return[x]},extended_asset:function(){return[D]},signature:function(){return[E(S)]}},o=Object.assign({},u,t.customTypes);(t=Object.assign({override:i},{customTypes:o},t)).sort=Object.assign({},t.sort),t.sort["action.authorization"]=!0,t.sort["signed_transaction.signature"]=!0,t.sort["authority.accounts"]=!0,t.sort["authority.keys"]=!0;var s=Object.assign({},l,e),a=f(s,t),h=a.structs,c=a.types,p=a.errors,d=a.fromBuffer,m=a.toBuffer;if(0!==p.length)throw new Error(JSON.stringify(p,null,4));return{structs:h,types:c,fromBuffer:d,toBuffer:m}};var w=function(t){return{fromByteBuffer:function(t){return m(t.readUint64(),!1)},appendByteBuffer:function(t,e){t.writeUint64(d(e,!1))},fromObject:function(t){return t},toObject:function(e){return t.defaults&&null==e?"":e}}},E=function(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];return function(t,r,n){var i=e.map(function(e){return e(t,r,n)}),u=r.static_variant(i);return{fromByteBuffer:function(t){return u.fromByteBuffer(t)},appendByteBuffer:function(t,e){Array.isArray(e)||(e=[0,e]),u.appendByteBuffer(t,e)},fromObject:function(t){return Array.isArray(t)||(t=[0,t]),u.fromObject(t)[1]},toObject:function(t){return Array.isArray(t)||(t=[0,t]),u.toObject(t)[1]}}}},A=function(t){return{fromByteBuffer:function(e){var n=e.copy(e.offset,e.offset+33);e.skip(33);var i=r.from(n.toBinary(),"binary");return a.fromBuffer(i).toString(t.keyPrefix)},appendByteBuffer:function(e,r){var n=a.fromStringOrThrow(r,t.keyPrefix).toBuffer();e.append(n.toString("binary"),"binary")},fromObject:function(t){return t},toObject:function(e){return t.defaults&&null==e?(t.keyPrefix?t.keyPrefix:"EOS")+"6MRy..":e}}},B=function(t){return{fromByteBuffer:function(t){var e=t.copy(t.offset,t.offset+8);t.skip(8);var r=e.readUint8(),n=e.toBinary(),i="",u=!0,o=!1,s=void 0;try{for(var a,f=n[Symbol.iterator]();!(u=(a=f.next()).done);u=!0){var h=a.value;if("\x00"==h)break;i+=h}}catch(t){o=!0,s=t}finally{try{!u&&f["return"]&&f["return"]()}finally{if(o)throw s}}return r+","+i},appendByteBuffer:function(t,e){var r=_(e),n=r.symbol,i=r.precision;c(null!=i,"Precision unknown for symbol: "+e);
  2. var u="\x00".repeat(7-n.length);t.append(String.fromCharCode(i)+n+u)},fromObject:function(t){c(null!=t,"Symbol is required: "+t);var e=_(t),r=e.symbol,n=e.precision;return null==n?r:n+","+r},toObject:function(e){return t.defaults&&null==e?"SYS":_(e).symbol}}},C=function(t){return{fromByteBuffer:function(t){var e=t.copy(t.offset,t.offset+8);t.skip(8);var r=e.toBinary(),n="",i=!0,u=!1,o=void 0;try{for(var s,a=r[Symbol.iterator]();!(i=(s=a.next()).done);i=!0){var f=s.value;if("\x00"==f)break;n+=f}}catch(t){u=!0,o=t}finally{try{!i&&a["return"]&&a["return"]()}finally{if(u)throw o}}return""+n},appendByteBuffer:function(t,e){var r=_(e).symbol,n="\x00".repeat(8-r.length);t.append(r+n)},fromObject:function(t){return c(null!=t,"Symbol is required: "+t),_(t).symbol},toObject:function(e){return t.defaults&&null==e?"SYS":_(e).symbol}}},F=function(t,e,r){var n=r.symbol(t),o=r.name(t);return{fromByteBuffer:function(t){return n.fromByteBuffer(t)+"@"+o.fromByteBuffer(t)},appendByteBuffer:function(t,e){c.equal(void 0===e?"undefined":(0,u["default"])(e),"string","Invalid extended symbol: "+e);var r=e.split("@"),s=(0,i["default"])(r,2),a=s[0],f=s[1];c(null!=f,"Missing @contract suffix in extended symbol: "+e),n.appendByteBuffer(t,a),o.appendByteBuffer(t,f)},fromObject:function(t){return t},toObject:function(e){return t.defaults&&null==e?"SYS@contract":e}}},x=function(t,e,r){var n=e.int64(t),i=r.symbol(t);return{fromByteBuffer:function(t){var e=n.fromByteBuffer(t);c(null!=e,"amount");var r=i.fromByteBuffer(t),u=_(""+r),o=u.precision,s=u.symbol;return c(null!=o,"precision"),c(null!=s,"symbol"),b(e,o)+" "+s},appendByteBuffer:function(t,e){var r=_(e),u=r.amount,o=r.precision,s=r.symbol;c(null!=u,"amount"),c(null!=o,"precision"),c(null!=s,"symbol"),n.appendByteBuffer(t,y(u,o)),i.appendByteBuffer(t,o+","+s)},fromObject:function(t){var e=_(t),r=e.amount,n=e.precision,i=e.symbol;return c(null!=r,"amount"),c(null!=n,"precision"),c(null!=i,"symbol"),g(r,n)+" "+i},toObject:function(e){if(t.defaults&&null==e)return"0.0001 SYS";var r=_(e),n=r.amount,i=r.precision,u=r.symbol;return c(null!=n,"amount"),c(null!=i,"precision"),c(null!=u,"symbol"),g(n,i)+" "+u}}},D=function(t,e,r){var n=r.asset(t),o=r.name(t);return{fromByteBuffer:function(t){var e=n.fromByteBuffer(t),r=o.fromByteBuffer(t);return _(e+"@"+r)},appendByteBuffer:function(t,e){c.equal(void 0===e?"undefined":(0,u["default"])(e),"object","expecting extended_asset object, got "+(void 0===e?"undefined":(0,u["default"])(e)));var r=v(e),s=r.split("@"),a=(0,i["default"])(s,2)[1];c.equal(void 0===a?"undefined":(0,u["default"])(a),"string","Invalid extended asset: "+e),n.appendByteBuffer(t,r),o.appendByteBuffer(t,a)},fromObject:function(t){var e={};"string"==typeof t?Object.assign(e,_(t)):"object"===(void 0===t?"undefined":(0,u["default"])(t))?Object.assign(e,t):c(!1,"expecting extended_asset<object|string>, got: "+(void 0===t?"undefined":(0,u["default"])(t)));var r=e.amount,n=e.precision,i=e.symbol,o=e.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(e){if(t.defaults&&null==e)return{amount:"1.0000",precision:4,symbol:"SYS",contract:"eosio.token"};c.equal(void 0===e?"undefined":(0,u["default"])(e),"object","expecting extended_asset object");var r=e.amount,n=e.precision,i=e.symbol,o=e.contract;return{amount:g(r,n),precision:n,symbol:i,contract:o}}}},S=function(t,e){var r=e.fixed_bytes65(t);return{fromByteBuffer:function(t){var e=r.fromByteBuffer(t);return s.from(e).toString()},appendByteBuffer:function(t,e){var n=s.from(e);r.appendByteBuffer(t,n.toBuffer())},fromObject:function(t){return s.from(t).toString()},toObject:function(e){return t.defaults&&null==e?"SIG_K1_bas58signature..":s.from(e).toString()}}},k=function(t){return{"authority.fromObject":function(e){if(a.fromString(e,t.keyPrefix))return{threshold:1,keys:[{key:e,weight:1}]};if("string"==typeof e){var r=e.split("@"),n=(0,i["default"])(r,2),u=n[0],o=n[1];return{threshold:1,accounts:[{permission:{actor:u,permission:void 0===o?"active":o},weight:1}]}}}}},M=function(t){return{"abi_def.fromObject":function(t){if("string"==typeof t){var e=r.from(t,"hex").toString();return 0===e.length&&(e=r.from(t).toString()),JSON.parse(e)}return r.isBuffer(t)?JSON.parse(t.toString()):null},"setabi.abi.appendByteBuffer":function(e){e.fields;var n=e.object,i=e.b,o=t("abi_def","eosio"),s=new h(h.DEFAULT_CAPACITY,h.LITTLE_ENDIAN);r.isBuffer(n.abi)?s.append(n.abi):"object"==(0,u["default"])(n.abi)&&o.appendByteBuffer(s,n.abi),i.writeVarint32(s.offset),i.append(s.copy(0,s.offset),"binary")}}},T=function(t){return{"setcode.code.fromObject":function(e){var n=e.object,i=e.result;try{var u=n.code.toString();if(/^\s*\(module/.test(u)){var o=t.binaryen;c(null!=o,'required: config.binaryen = require("binaryen")'),t.debug&&console.log("Assembling WASM..");var s=r.from(o.parseText(u).emitBinary());i.code=s}else i.code=n.code}catch(e){throw console.error(e,n.code),e}}}},I=function(t,e){return{"action.data.fromByteBuffer":function(e){var n=e.fields,i=e.object,u=e.b,o=e.config,s=""==(i.name||"")?n.data:t(i.name,i.account);if(s)u.readVarint32(),i.data=s.fromByteBuffer(u,o);else{var a=u.readVarint32(),f=u.copy(u.offset,u.offset+a);u.skip(a),i.data=r.from(f.toBinary(),"binary")}},"action.data.appendByteBuffer":function(e){var n=e.fields,i=e.object,u=e.b,o=""==(i.name||"")?n.data:t(i.name,i.account);if(o){var s=new h(h.DEFAULT_CAPACITY,h.LITTLE_ENDIAN);o.appendByteBuffer(s,i.data),u.writeVarint32(s.offset),u.append(s.copy(0,s.offset),"binary")}else{var a="string"==typeof i.data?r.from(i.data,"hex"):i.data;if(!r.isBuffer(a))throw new TypeError("Unknown struct '"+i.name+"' for contract '"+i.account+"', locate this struct or provide serialized action.data");u.writeVarint32(a.length),u.append(a.toString("binary"),"binary")}},"action.data.fromObject":function(e){var n=e.fields,i=e.object,o=e.result,s=i.data,a=i.name,h=""==(a||"")?n.data:t(a,i.account);if(h)if("object"===(void 0===s?"undefined":(0,u["default"])(s)))o.data=h.fromObject(s);else{if("string"!=typeof s)throw new TypeError("Expecting hex string or object in action.data");var c=r.from(s,"hex");o.data=f.fromBuffer(h,c)}else o.data=s},"action.data.toObject":function(n){var i=n.fields,u=n.object,o=n.result,s=n.config,a=u||{},f=a.data,c=a.name,l=""==(c||"")?i.data:t(c,u.account);if(l){if(e){var p=new h(h.DEFAULT_CAPACITY,h.LITTLE_ENDIAN);return f&&l.appendByteBuffer(p,f),void(o.data=p.copy(0,p.offset).toString("hex"))}o.data=l.toObject(f,s)}else o.data=r.isBuffer(f)?f.toString("hex"):f}}}}).call(this,t("buffer").Buffer)},{"./format":2,"./schema":8,assert:11,"babel-runtime/helpers/slicedToArray":16,"babel-runtime/helpers/typeof":17,buffer:45,bytebuffer:46,"eosjs-ecc":144,fcbuffer:153}],10:[function(t,e,r){(function(r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){var r=t[e],n=r.base,u=r.fields,o={};return n&&""!==n&&Object.assign(o,i(t,n)),Object.assign(o,u),o}var u=n(t("babel-runtime/helpers/slicedToArray")),o=n(t("babel-runtime/regenerator")),s=n(t("babel-runtime/helpers/typeof")),a=t("assert"),f=t("eosjs-ecc"),h=t("fcbuffer"),c=t("create-hash"),l=t("eosjs-api").processArgs;t("./structs"),e.exports=function(t,e,n,y,b){if("string"!=typeof y.chainId)throw new TypeError("config.chainId is required");var v=function(t,e,n,y){function b(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;return n.abiCache.abiAsync(t).then(function(r){a(Array.isArray(r.abi.actions)&&r.abi.actions.length,"No actions");var n={};return n.transaction=e||E(r.structs,n),r.abi.actions.forEach(function(e){var u=e.name,o=e.type,s=i(r.schema,o);n[u]=v(o,s,n.transaction,t,u)}),n.fc=r,n})}function v(t,e,r){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"eosio.token",f=4<arguments.length&&void 0!==arguments[4]?arguments[4]:t;return function(){function h(){var t=Object.keys(e),r=t[0];return"account_name"===e[r]?_[r]:void 0}for(var c=arguments.length,p=Array(c),d=0;c>d;d++)p[d]=arguments[d];if(0!==p.length){var g={},y=p[p.length-1];"object"===(void 0===y?"undefined":(0,s["default"])(y))&&"object"===(0,s["default"])(y.__optionOverrides)&&Object.assign(g,p.pop().__optionOverrides);var b=l(p,Object.keys(e),t,m),v=b.options,_=b.params,w=b.returnPromise,E=b.callback,A={broadcast:n.broadcast,sign:n.sign};if(v=Object.assign({},A,v,g),g.noCallback&&!w)throw new Error("Callback during a transaction are not supported");var B=[],C=v.authorization?v.authorization:n.authorization,F=null==C;if(C){var x=void 0;"string"==typeof C?x=[C]:Array.isArray(C)&&(x=C),x&&x.forEach(function(t){if("string"==typeof t){var e=t.split("@"),r=(0,u["default"])(e,2),n=r[0],i=r[1],o=void 0===i?"active":i;""===n&&(n=h()),n&&B.push({actor:n,permission:o})}else"object"===(void 0===t?"undefined":(0,s["default"])(t))&&B.push(t)}),a.equal(B.length,x.length,"invalid authorization in: "+JSON.stringify(C))}var D={actions:[{account:o,name:f,authorization:B,data:_}]};if(F){var S=h();S&&D.actions[0].authorization.push({actor:S,permission:"active"})}return D.actions[0].authorization.sort(function(t,e){return t.actor>e.actor?1:t.actor<e.actor?-1:0}),g.messageOnly?E(null,D):r(D,v,E),w}console.log(function(t,e,r,n,u){var o="",s=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"";o+=t+"\n"};s("CONTRACT"),s(n),s(),s("ACTION"),s(t.name),s();var a=u.abiCache.abi(n);s("PARAMETERS"),s(JSON.stringify(i(a.schema,t.type),null,4)),s();var f=a.structs[t.type];return s("EXAMPLE"),s(n+"."+t.name+"("+JSON.stringify(f.toObject(),null,4)+")"),o}({name:f,type:t},0,0,o,n))}}function _(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2];a.equal("function",void 0===t?"undefined":(0,s["default"])(t),"trCallback"),a.equal("object",void 0===e?"undefined":(0,s["default"])(e),"options"),a.equal("object",void 0===r?"undefined":(0,s["default"])(r),"merges"),a(!Array.isArray(r),"merges should not be an array"),a.equal("function",void 0===w?"undefined":(0,s["default"])(w),"transaction");var n=[],i={},o=function(t){return function(){for(var e=arguments.length,r=Array(e),i=0;e>i;i++)r[i]=arguments[i];var u=t.apply(void 0,r.concat([{__optionOverrides:{broadcast:!1,messageOnly:!0,noCallback:!0}}]));if(null==u)throw new Error("Callbacks can not be used when creating a multi-action transaction");n.push(u)}};for(var f in r){var h=r[f],c=f.replace(/\./,"_");if("function"==typeof h)i[c]=o(h);else if("object"===(void 0===h?"undefined":(0,s["default"])(h)))for(var l in null==i[c]&&(i[c]={}),h)"transaction"!==l&&(i[c][l]=o(h[l]))}var p=void 0;try{p=t(i)}catch(t){p=Promise.reject(t)}return Promise.resolve(p).then(function(){return Promise.all(n).then(function(t){var r=[],n=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done);n=!0){var f=s.value,h=(0,u["default"])(f.actions,1),c=h[0];r.push(c)}}catch(t){i=!0,o=t}finally{try{!n&&a["return"]&&a["return"]()}finally{if(i)throw o}}var l={};return l.actions=r,w(l,e)})})}function w(t,i,u){var l,d,m,b,v,_,w,E,A,B,C,F,x,D,S,k;return o["default"].async(function(M){for(;;)switch(M.prev=M.next){case 0:if(l=n.expireInSeconds?n.expireInSeconds:60,d={expireInSeconds:l,broadcast:!0,sign:!0},i=Object.assign({},d,i),m=void 0,"function"!=typeof u&&(m=new Promise(function(t,e){u=function(r,n){r?e(r):t(n)}})),"object"===(void 0===t?"undefined":(0,s["default"])(t))){M.next=7;break}throw new TypeError("First transaction argument should be an object or function");case 7:if(Array.isArray(t.actions)){M.next=9;break}throw new TypeError("Expecting actions array");case 9:if((n.logger.log||n.logger.error)&&(b=u,u=function(t,e){t&&n.logger.error&&n.logger.error(t),n.logger.log&&n.logger.log(JSON.stringify(e)),b(t,e)}),t.actions.forEach(function(t){if(!Array.isArray(t.authorization))throw new TypeError("Expecting action.authorization array",t)}),!i.sign||"function"==typeof n.signProvider){M.next=13;break}throw new TypeError("Expecting config.signProvider function (disable using {sign: false})");case 13:if(v={max_net_usage_words:0,max_cpu_usage_ms:0,delay_sec:0,context_free_actions:[],actions:[],signatures:[],transaction_extensions:[]},!n.transactionHeaders){M.next=25;break}if("object"!==(0,s["default"])(n.transactionHeaders)){M.next=19;break}Object.assign(v,n.transactionHeaders),M.next=25;break;case 19:if("function"!=typeof n.transactionHeaders){M.next=24;break}return M.next=22,o["default"].awrap(n.transactionHeaders(i.expireInSeconds,g(u,n.logger,function(t){return o["default"].async(function(e){for(;;)switch(e.prev=e.next){case 0:a.equal(void 0===t?"undefined":(0,s["default"])(t),"object","expecting transaction header object"),Object.assign(v,t);case 2:case"end":return e.stop()}},null,this)})));case 22:M.next=25;break;case 24:a(!1,"config.transactionHeaders should be an object or function");case 25:for(_=["expiration","ref_block_num","ref_block_prefix","delay_sec","max_net_usage_words","max_cpu_usage_ms"],w=0;w<_.length;w++)void 0!==t[E=_[w]]?v[E]=t[E]:void 0!==i[E]&&(v[E]=i[E]);if(void 0!==v.expiration&&void 0!==v.ref_block_num&&void 0!==v.ref_block_prefix){M.next=31;break}return a(e,"Network is required, provide httpEndpoint or own transaction headers"),M.next=31,o["default"].awrap(new Promise(function(t){e.createTransaction(i.expireInSeconds,g(u,n.logger,function(e){var r,n,i;return o["default"].async(function(u){for(;;)switch(u.prev=u.next){case 0:for(r=["expiration","ref_block_num","ref_block_prefix"],n=0;n<r.length;n++)void 0===v[i=r[n]]&&(v[i]=e[i]);t();case 3:case"end":return u.stop()}},null,this)}))}));case 31:return a.equal((0,s["default"])(v.expiration),"string","expecting expiration: iso date time string"),a.equal((0,s["default"])(v.ref_block_num),"number","expecting ref_block_num number"),a.equal((0,s["default"])(v.ref_block_prefix),"number","expecting ref_block_prefix number"),v.context_free_actions=t.context_free_actions,v.actions=t.actions,v.transaction_extensions=t.transaction_extensions,A=y.fromObject(v),B=h.toBuffer(y,A),C=y.toObject(A),F=c("sha256").update(B).digest().toString("hex"),x=[],i.sign&&(D=r.from(n.chainId,"hex"),S=r.from(new Uint8Array(32)),k=r.concat([D,B,S]),x=n.signProvider({transaction:C,buf:k,sign:p,optionsKeyProvider:i.keyProvider}),Array.isArray(x)||(x=[x])),Promise.all(x).then(function(t){t=[].concat.apply([],t);for(var r=0;r<t.length;r++){var o=t[r];"string"==typeof o&&130===o.length&&(t[r]=f.Signature.from(o).toString())}var s={compression:"none",transaction:C,signatures:t},h=n.mockTransactions?n.mockTransactions():null;if(null==h)i.broadcast&&e?e.pushTransaction(s,function(t,e){t?(n.logger.error&&n.logger.error("[push_transaction error] '"+t.message+"', transaction '"+B.toString("hex")+"'"),u(t.message)):u(null,Object.assign({broadcast:!0,transaction:s,transaction_id:F},e))}):u(null,{transaction_id:F,broadcast:!1,transaction:s});else if(a(/pass|fail/.test(h),"mockTransactions should return a string: pass or fail"),"pass"===h&&u(null,{transaction_id:F,mockTransaction:!0,broadcast:!1,transaction:s}),"fail"===h){var c="[push_transaction mock error] 'fake error', digest '"+B.toString("hex")+"'";n.logger.error&&n.logger.error(c),u(c)}})["catch"](function(t){n.logger.error&&n.logger.error(t),u(t)}),M.abrupt("return",m);case 45:case"end":return M.stop()}},null,this)}var E=function(t,e){return function(){for(var t=arguments.length,r=Array(t),i=0;t>i;i++)r[i]=arguments[i];var u,f,h,c,l,p,m,g,y,v,E,A,B,C,F,x,D,S,k,M,T;return o["default"].async(function(t){for(;;)switch(t.prev=t.next){case 0:if(h=f=u=void 0,null==r[r.length-1]&&(r=r.slice(0,r.length-1)),!(c=d(r[0]))){t.next=8;break}u=r[0],r=r.slice(1),t.next=39;break;case 8:if("string"!=typeof r[0]){t.next=13;break}u=[r[0]],r=r.slice(1),t.next=39;break;case 13:if("object"!==(0,s["default"])(r[0])||!Array.isArray(r[0].actions)){t.next=39;break}for(l=new Set,m=!(p=!0),g=void 0,t.prev=18,y=r[0].actions[Symbol.iterator]();!(p=(v=y.next()).done);p=!0)E=v.value,l.add(E.account);t.next=26;break;case 22:t.prev=22,t.t0=t["catch"](18),m=!0,g=t.t0;case 26:t.prev=26,t.prev=27,!p&&y["return"]&&y["return"]();case 29:if(t.prev=29,!m){t.next=32;break}throw g;case 32:return t.finish(29);case 33:return t.finish(26);case 34:return A=[],B=new Set(["eosio","eosio.token","eosio.null"]),l.forEach(function(t){B.has(t)||A.push(n.abiCache.abiAsync(t))}),t.next=39,o["default"].awrap(Promise.all(A));case 39:if(1<r.length&&"function"==typeof r[r.length-1]&&(h=r.pop()),1<r.length&&"object"===(0,s["default"])(r[r.length-1])&&(f=r.pop()),a.equal(r.length,1,"transaction args: contracts<string|array>, transaction<callback|object>, [options], [callback]"),C=r[0],!u){t.next=67;break}for(a(!h,"callback with contracts are not supported"),a.equal("function",void 0===C?"undefined":(0,s["default"])(C),"provide function callback following contracts array parameter"),F=[],D=!(x=!0),S=void 0,t.prev=50,k=u[Symbol.iterator]();!(x=(M=k.next()).done);x=!0)T=M.value,F.push(b(T,e.transaction));t.next=58;break;case 54:t.prev=54,t.t1=t["catch"](50),D=!0,S=t.t1;case 58:t.prev=58,t.prev=59,!x&&k["return"]&&k["return"]();case 61:if(t.prev=61,!D){t.next=64;break}throw S;case 64:return t.finish(61);case 65:return t.finish(58);case 66:return t.abrupt("return",Promise.all(F).then(function(t){var e={};t.forEach(function(t,r){e[u[r]]=t});var r=c?e:e[u[0]];return _(C,f,r)}));case 67:if("function"!=typeof C){t.next=69;break}return t.abrupt("return",_(C,f,e));case 69:if("object"!==(void 0===C?"undefined":(0,s["default"])(C))){t.next=71;break}return t.abrupt("return",w(C,f,h));case 71:throw new Error("first transaction argument unrecognized",C);case 72:case"end":return t.stop()}},null,this,[[18,22,26,34],[27,,29,33],[50,54,58,66],[59,,61,65]])}};return{genTransaction:E,genContractActions:b,genMethod:v}}(0,e,y,n.transaction),_=new Set(["transaction","contract"]),w={};w.transaction=v.genTransaction(n,w);var E=!0,A=!1,B=void 0;try{for(var C,F=b[Symbol.iterator]();!(E=(C=F.next()).done);E=!0){var x=C.value;for(var D in x.schema){var S=x.schema[D];if("string"!=typeof S){a.equal(void 0===S?"undefined":(0,s["default"])(S),"object","abi.schema[type = "+D+"]");var k=S.action;if(void 0!==k){if(_.has(k.name))throw new TypeError("Conflicting Api function: "+D);var M=i(x.schema,D);w[k.name]=v.genMethod(D,M,w.transaction,k.account,k.name)}}}}}catch(t){A=!0,B=t}finally{try{!E&&F["return"]&&F["return"]()}finally{if(A)throw B}}return w.contract=function(){for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];var n=l(e,["account"],"contract",m),i=n.params,u=(n.options,n.returnPromise),o=n.callback,s=i.account;return v.genContractActions(s).then(function(t){o(null,t)})["catch"](function(t){o(t)}),u},w};var p=f.sign,d=function(t){return Array.isArray(t)&&0<t.length&&-1===t.findIndex(function(t){return"string"!=typeof t})},m=function(t){return"object"===(void 0===t?"undefined":(0,s["default"])(t))?t:"boolean"==typeof t?{broadcast:t}:void 0},g=function(t,e,r){return function(n,i){n?(e.error&&e.error("error",n),t(n)):Promise.resolve(r(i))["catch"](function(e){t(e)})}}}).call(this,t("buffer").Buffer)},{"./structs":9,assert:11,"babel-runtime/helpers/slicedToArray":16,"babel-runtime/helpers/typeof":17,"babel-runtime/regenerator":18,buffer:45,"create-hash":120,"eosjs-api":135,"eosjs-ecc":144,fcbuffer:153}],11:[function(t,e,r){(function(r){"use strict";function n(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,i=0,u=Math.min(r,n);u>i;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return n>r?-1:r>n?1:0}function i(t){return r.Buffer&&"function"==typeof r.Buffer.isBuffer?r.Buffer.isBuffer(t):!(null==t||!t._isBuffer)}function u(t){return Object.prototype.toString.call(t)}function o(t){return!i(t)&&"function"==typeof r.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer)))}function s(t){if(g.isFunction(t)){if(v)return t.name;var e=t.toString().match(w);return e&&e[1]}}function a(t,e){return"string"==typeof t?t.length<e?t:t.slice(0,e):t}function f(t){if(v||!g.isFunction(t))return g.inspect(t);var e=s(t);return"[Function"+(e?": "+e:"")+"]"}function h(t,e,r,n,i){throw new _.AssertionError({message:r,actual:t,expected:e,operator:n,stackStartFunction:i})}function c(t,e){t||h(t,!0,e,"==",_.ok)}function l(t,e,r,s){if(t===e)return!0;if(i(t)&&i(e))return 0===n(t,e);if(g.isDate(t)&&g.isDate(e))return t.getTime()===e.getTime();if(g.isRegExp(t)&&g.isRegExp(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(null!==t&&"object"==typeof t||null!==e&&"object"==typeof e){if(o(t)&&o(e)&&u(t)===u(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===n(new Uint8Array(t.buffer),new Uint8Array(e.buffer));if(i(t)!==i(e))return!1;var a=(s=s||{actual:[],expected:[]}).actual.indexOf(t);return-1!==a&&a===s.expected.indexOf(e)||(s.actual.push(t),s.expected.push(e),function(t,e,r,n){if(null==t||null==e)return!1;if(g.isPrimitive(t)||g.isPrimitive(e))return t===e;if(r&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var i=p(t),u=p(e);if(i&&!u||!i&&u)return!1;if(i)return t=b.call(t),e=b.call(e),l(t,e,r);var o,s,a=E(t),f=E(e);if(a.length!==f.length)return!1;for(a.sort(),f.sort(),s=a.length-1;s>=0;s--)if(a[s]!==f[s])return!1;for(s=a.length-1;s>=0;s--)if(o=a[s],!l(t[o],e[o],r,n))return!1;return!0}(t,e,r,s))}return r?t===e:t==e}function p(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function d(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function m(t,e,r,n){var i;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=function(t){var e;try{t()}catch(t){e=t}return e}(e),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),t&&!i&&h(i,r,"Missing expected exception"+n);var u="string"==typeof n,o=!t&&i&&!r;if((!t&&g.isError(i)&&u&&d(i,r)||o)&&h(i,r,"Got unwanted exception"+n),t&&i&&r&&!d(i,r)||!t&&i)throw i}var g=t("util/"),y=Object.prototype.hasOwnProperty,b=Array.prototype.slice,v="foo"===function(){}.name,_=e.exports=c,w=/\s*function\s+([^\(\s]*)\s*/;_.AssertionError=function(t){var e;this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=a(f((e=this).actual),128)+" "+e.operator+" "+a(f(e.expected),128),this.generatedMessage=!0);var r=t.stackStartFunction||h;if(Error.captureStackTrace)Error.captureStackTrace(this,r);else{var n=new Error;if(n.stack){var i=n.stack,u=s(r),o=i.indexOf("\n"+u);if(o>=0){var c=i.indexOf("\n",o+1);i=i.substring(c+1)}this.stack=i}}},g.inherits(_.AssertionError,Error),_.fail=h,_.ok=c,_.equal=function(t,e,r){t!=e&&h(t,e,r,"==",_.equal)},_.notEqual=function(t,e,r){t==e&&h(t,e,r,"!=",_.notEqual)},_.deepEqual=function(t,e,r){l(t,e,!1)||h(t,e,r,"deepEqual",_.deepEqual)},_.deepStrictEqual=function(t,e,r){l(t,e,!0)||h(t,e,r,"deepStrictEqual",_.deepStrictEqual)},_.notDeepEqual=function(t,e,r){l(t,e,!1)&&h(t,e,r,"notDeepEqual",_.notDeepEqual)},_.notDeepStrictEqual=function A(t,e,r){l(t,e,!0)&&h(t,e,r,"notDeepStrictEqual",A)},_.strictEqual=function(t,e,r){t!==e&&h(t,e,r,"===",_.strictEqual)},_.notStrictEqual=function(t,e,r){t===e&&h(t,e,r,"!==",_.notStrictEqual)},_["throws"]=function(t,e,r){m(!0,t,e,r)},_.doesNotThrow=function(t,e,r){m(!1,t,e,r)},_.ifError=function(t){if(t)throw t};var E=Object.keys||function(t){var e=[];for(var r in t)y.call(t,r)&&e.push(r);return e}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"util/":205}],12:[function(t,e,r){e.exports={"default":t("core-js/library/fn/get-iterator"),__esModule:!0}},{"core-js/library/fn/get-iterator":49}],13:[function(t,e,r){e.exports={"default":t("core-js/library/fn/is-iterable"),__esModule:!0}},{"core-js/library/fn/is-iterable":50}],14:[function(t,e,r){e.exports={"default":t("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":51}],15:[function(t,e,r){e.exports={"default":t("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":52}],16:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}r.__esModule=!0;var i=n(t("../core-js/is-iterable")),u=n(t("../core-js/get-iterator"));r["default"]=function(t,e){if(Array.isArray(t))return t;if((0,i["default"])(Object(t)))return function(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var s,a=(0,u["default"])(t);!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{!n&&a["return"]&&a["return"]()}finally{if(i)throw o}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},{"../core-js/get-iterator":12,"../core-js/is-iterable":13}],17:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}r.__esModule=!0;var i=n(t("../core-js/symbol/iterator")),u=n(t("../core-js/symbol")),o="function"==typeof u["default"]&&"symbol"==typeof i["default"]?function(t){return typeof t}:function(t){return t&&"function"==typeof u["default"]&&t.constructor===u["default"]&&t!==u["default"].prototype?"symbol":typeof t};r["default"]="function"==typeof u["default"]&&"symbol"===o(i["default"])?function(t){return void 0===t?"undefined":o(t)}:function(t){return t&&"function"==typeof u["default"]&&t.constructor===u["default"]&&t!==u["default"].prototype?"symbol":void 0===t?"undefined":o(t)}},{"../core-js/symbol":14,"../core-js/symbol/iterator":15}],18:[function(t,e,r){e.exports=t("regenerator-runtime")},{"regenerator-runtime":187}],19:[function(t,e,r){var n=t("safe-buffer").Buffer;e.exports=function(t){function e(t){if("string"!=typeof t)throw new TypeError("Expected String");if(0===t.length)return n.allocUnsafe(0);for(var e=[0],o=0;o<t.length;o++){var s=r[t[o]];if(void 0===s)return;for(var a=0,f=s;a<e.length;++a)f+=e[a]*i,e[a]=255&f,f>>=8;for(;f>0;)e.push(255&f),f>>=8}for(var h=0;t[h]===u&&h<t.length-1;++h)e.push(0);return n.from(e.reverse())}for(var r={},i=t.length,u=t.charAt(0),o=0;o<t.length;o++){var s=t.charAt(o);if(void 0!==r[s])throw new TypeError(s+" is ambiguous");r[s]=o}return{encode:function(e){if(0===e.length)return"";for(var r=[0],n=0;n<e.length;++n){for(var o=0,s=e[n];o<r.length;++o)s+=r[o]<<8,r[o]=s%i,s=s/i|0;for(;s>0;)r.push(s%i),s=s/i|0}for(var a="",f=0;0===e[f]&&f<e.length-1;++f)a+=u;for(var h=r.length-1;h>=0;--h)a+=t[r[h]];return a},decodeUnsafe:e,decode:function(t){var r=e(t);if(r)return r;throw new Error("Non-base"+i+" character")}}}},{"safe-buffer":190}],20:[function(t,e,r){"use strict";function n(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function i(t,e,r){for(var n,i,o=[],s=e;r>s;s+=3)n=(t[s]<<16)+(t[s+1]<<8)+t[s+2],o.push(u[(i=n)>>18&63]+u[i>>12&63]+u[i>>6&63]+u[63&i]);return o.join("")}r.byteLength=function(t){return 3*t.length/4-n(t)},r.toByteArray=function(t){var e,r,i,u,a,f=t.length;u=n(t),a=new s(3*f/4-u),r=u>0?f-4:f;var h=0;for(e=0;r>e;e+=4)i=o[t.charCodeAt(e)]<<18|o[t.charCodeAt(e+1)]<<12|o[t.charCodeAt(e+2)]<<6|o[t.charCodeAt(e+3)],a[h++]=i>>16&255,a[h++]=i>>8&255,a[h++]=255&i;return 2===u?(i=o[t.charCodeAt(e)]<<2|o[t.charCodeAt(e+1)]>>4,a[h++]=255&i):1===u&&(i=o[t.charCodeAt(e)]<<10|o[t.charCodeAt(e+1)]<<4|o[t.charCodeAt(e+2)]>>2,a[h++]=i>>8&255,a[h++]=255&i),a},r.fromByteArray=function(t){for(var e,r=t.length,n=r%3,o="",s=[],a=0,f=r-n;f>a;a+=16383)s.push(i(t,a,a+16383>f?f:a+16383));return 1===n?(e=t[r-1],o+=u[e>>2],o+=u[e<<4&63],o+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],o+=u[e>>10],o+=u[e>>4&63],o+=u[e<<2&63],o+="="),s.push(o),s.join("")};for(var u=[],o=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,h=a.length;h>f;++f)u[f]=a[f],o[a.charCodeAt(f)]=f;o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},{}],21:[function(t,e,r){function n(t,e,r){return this instanceof n?void(null!=t&&("number"==typeof t?this.fromNumber(t,e,r):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))):new n(t,e,r)}function i(t){return A.charAt(t)}function u(t,e){var r=B[t.charCodeAt(e)];return null==r?-1:r}function o(t){var e=new n;return e.fromInt(t),e}function s(t){var e,r=1;return 0!=(e=t>>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}function a(t){this.m=t}function f(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}function h(t,e){return t&e}function c(t,e){return t|e}function l(t,e){return t^e}function p(t,e){return t&~e}function d(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function m(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function g(){}function y(t){return t}function b(t){this.r2=new n,this.q3=new n,n.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}var v=n.prototype;v.__bigi=t("../package.json").version,n.isBigInteger=function(t,e){return t&&t.__bigi&&(!e||t.__bigi===v.__bigi)},n.prototype.am=function(t,e,r,n,i,u){for(;0<=--u;){var o=e*this[t++]+r[n]+i;i=Math.floor(o/67108864),r[n++]=67108863&o}return i},n.prototype.DB=26,n.prototype.DM=67108863;var _=n.prototype.DV=1<<26;n.prototype.FV=Math.pow(2,52),n.prototype.F1=26,n.prototype.F2=0;var w,E,A="0123456789abcdefghijklmnopqrstuvwxyz",B=new Array;for(w="0".charCodeAt(0),E=0;9>=E;++E)B[w++]=E;for(w="a".charCodeAt(0),E=10;36>E;++E)B[w++]=E;for(w="A".charCodeAt(0),E=10;36>E;++E)B[w++]=E;a.prototype.convert=function(t){return t.s<0||0<=t.compareTo(this.m)?t.mod(this.m):t},a.prototype.revert=function(t){return t},a.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},a.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},a.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},f.prototype.convert=function(t){var e=new n;return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&0<e.compareTo(n.ZERO)&&this.m.subTo(e,e),e},f.prototype.revert=function(t){var e=new n;return t.copyTo(e),this.reduce(e),e},f.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var r=32767&t[e],n=r*this.mpl+((r*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,n,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),0<=t.compareTo(this.m)&&t.subTo(this.m,t)},f.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},f.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},v.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},v.fromInt=function(t){this.t=1,this.s=0>t?-1:0,t>0?this[0]=t:-1>t?this[0]=t+_:this.t=0},v.fromString=function(t,e){var r,i=this;if(16==e)r=4;else if(8==e)r=3;else if(256==e)r=8;else if(2==e)r=1;else if(32==e)r=5;else{if(4!=e)return void i.fromRadix(t,e);r=2}i.t=0,i.s=0;for(var o=t.length,s=!1,a=0;0<=--o;){var f=8==r?255&t[o]:u(t,o);0>f?"-"==t.charAt(o)&&(s=!0):(s=!1,0==a?i[i.t++]=f:a+r>i.DB?(i[i.t-1]|=(f&(1<<i.DB-a)-1)<<a,i[i.t++]=f>>i.DB-a):i[i.t-1]|=f<<a,(a+=r)>=i.DB&&(a-=i.DB))}8==r&&0!=(128&t[0])&&(i.s=-1,a>0&&(i[i.t-1]|=(1<<i.DB-a)-1<<a)),i.clamp(),s&&n.ZERO.subTo(i,i)},v.clamp=function(){for(var t=this.s&this.DM;0<this.t&&this[this.t-1]==t;)--this.t},v.dlShiftTo=function(t,e){var r;for(r=this.t-1;r>=0;--r)e[r+t]=this[r];for(r=t-1;r>=0;--r)e[r]=0;e.t=this.t+t,e.s=this.s},v.drShiftTo=function(t,e){for(var r=t;r<this.t;++r)e[r-t]=this[r];e.t=Math.max(this.t-t,0),e.s=this.s},v.lShiftTo=function(t,e){var r,n=this,i=t%n.DB,u=n.DB-i,o=(1<<u)-1,s=Math.floor(t/n.DB),a=n.s<<i&n.DM;for(r=n.t-1;r>=0;--r)e[r+s+1]=n[r]>>u|a,a=(n[r]&o)<<i;for(r=s-1;r>=0;--r)e[r]=0;
  3. e[s]=a,e.t=n.t+s+1,e.s=n.s,e.clamp()},v.rShiftTo=function(t,e){var r=this;e.s=r.s;var n=Math.floor(t/r.DB);if(n>=r.t)e.t=0;else{var i=t%r.DB,u=r.DB-i,o=(1<<i)-1;e[0]=r[n]>>i;for(var s=n+1;s<r.t;++s)e[s-n-1]|=(r[s]&o)<<u,e[s-n]=r[s]>>i;i>0&&(e[r.t-n-1]|=(r.s&o)<<u),e.t=r.t-n,e.clamp()}},v.subTo=function(t,e){for(var r=this,n=0,i=0,u=Math.min(t.t,r.t);u>n;)i+=r[n]-t[n],e[n++]=i&r.DM,i>>=r.DB;if(t.t<r.t){for(i-=t.s;n<r.t;)i+=r[n],e[n++]=i&r.DM,i>>=r.DB;i+=r.s}else{for(i+=r.s;n<t.t;)i-=t[n],e[n++]=i&r.DM,i>>=r.DB;i-=t.s}e.s=0>i?-1:0,-1>i?e[n++]=r.DV+i:i>0&&(e[n++]=i),e.t=n,e.clamp()},v.multiplyTo=function(t,e){var r=this.abs(),i=t.abs(),u=r.t;for(e.t=u+i.t;0<=--u;)e[u]=0;for(u=0;u<i.t;++u)e[u+r.t]=r.am(0,i[u],e,u,0,r.t);e.s=0,e.clamp(),this.s!=t.s&&n.ZERO.subTo(e,e)},v.squareTo=function(t){for(var e=this.abs(),r=t.t=2*e.t;0<=--r;)t[r]=0;for(r=0;r<e.t-1;++r){var n=e.am(r,e[r],t,2*r,0,1);(t[r+e.t]+=e.am(r+1,2*e[r],t,2*r+1,n,e.t-r-1))>=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}0<t.t&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},v.divRemTo=function(t,e,r){var i=this,u=t.abs();if(!(u.t<=0)){var o=i.abs();if(o.t<u.t)return null!=e&&e.fromInt(0),void(null!=r&&i.copyTo(r));null==r&&(r=new n);var a=new n,f=i.s,h=t.s,c=i.DB-s(u[u.t-1]);c>0?(u.lShiftTo(c,a),o.lShiftTo(c,r)):(u.copyTo(a),o.copyTo(r));var l=a.t,p=a[l-1];if(0!=p){var d=p*(1<<i.F1)+(l>1?a[l-2]>>i.F2:0),m=i.FV/d,g=(1<<i.F1)/d,y=1<<i.F2,b=r.t,v=b-l,_=null==e?new n:e;for(a.dlShiftTo(v,_),0<=r.compareTo(_)&&(r[r.t++]=1,r.subTo(_,r)),n.ONE.dlShiftTo(l,_),_.subTo(a,a);a.t<l;)a[a.t++]=0;for(;0<=--v;){var w=r[--b]==p?i.DM:Math.floor(r[b]*m+(r[b-1]+y)*g);if((r[b]+=a.am(0,w,r,v,0,l))<w)for(a.dlShiftTo(v,_),r.subTo(_,r);r[b]<--w;)r.subTo(_,r)}null!=e&&(r.drShiftTo(l,e),f!=h&&n.ZERO.subTo(e,e)),r.t=l,r.clamp(),c>0&&r.rShiftTo(c,r),0>f&&n.ZERO.subTo(r,r)}}},v.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return 0<(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)?this.DV-e:-e},v.isEven=function(){return 0==(0<this.t?1&this[0]:this.s)},v.exp=function(t,e){if(t>4294967295||1>t)return n.ONE;var r=new n,i=new n,u=e.convert(this),o=s(t)-1;for(u.copyTo(r);0<=--o;)if(e.sqrTo(r,i),(t&1<<o)>0)e.mulTo(i,u,r);else{var a=r;r=i,i=a}return e.revert(r)},v.toString=function(t){var e,r=this;if(r.s<0)return"-"+r.negate().toString(t);if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return r.toRadix(t);e=2}var n,u=(1<<e)-1,o=!1,s="",a=r.t,f=r.DB-a*r.DB%e;if(0<a--)for(f<r.DB&&0<(n=r[a]>>f)&&(o=!0,s=i(n));a>=0;)e>f?(n=(r[a]&(1<<f)-1)<<e-f,n|=r[--a]>>(f+=r.DB-e)):(n=r[a]>>(f-=e)&u,0>=f&&(f+=r.DB,--a)),n>0&&(o=!0),o&&(s+=i(n));return o?s:"0"},v.negate=function(){var t=new n;return n.ZERO.subTo(this,t),t},v.abs=function(){return this.s<0?this.negate():this},v.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var r=this.t;if(0!=(e=r-t.t))return this.s<0?-e:e;for(;0<=--r;)if(0!=(e=this[r]-t[r]))return e;return 0},v.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+s(this[this.t-1]^this.s&this.DM)},v.byteLength=function(){return this.bitLength()>>3},v.mod=function(t){var e=new n;return this.abs().divRemTo(t,null,e),this.s<0&&0<e.compareTo(n.ZERO)&&t.subTo(e,e),e},v.modPowInt=function(t,e){var r;return r=256>t||e.isEven()?new a(e):new f(e),this.exp(t,r)},g.prototype.convert=y,g.prototype.revert=y,g.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r)},g.prototype.sqrTo=function(t,e){t.squareTo(e)},b.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=new n;return t.copyTo(e),this.reduce(e),e},b.prototype.revert=function(t){return t},b.prototype.reduce=function(t){var e=this;for(t.drShiftTo(e.m.t-1,e.r2),t.t>e.m.t+1&&(t.t=e.m.t+1,t.clamp()),e.mu.multiplyUpperTo(e.r2,e.m.t+1,e.q3),e.m.multiplyLowerTo(e.q3,e.m.t+1,e.r2);t.compareTo(e.r2)<0;)t.dAddOffset(1,e.m.t+1);for(t.subTo(e.r2,t);0<=t.compareTo(e.m);)t.subTo(e.m,t)},b.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},b.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var C=[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],F=(1<<26)/C[C.length-1];v.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},v.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||2>t||t>36)return"0";var e=this.chunkSize(t),r=Math.pow(t,e),i=o(r),u=new n,s=new n,a="";for(this.divRemTo(i,u,s);0<u.signum();)a=(r+s.intValue()).toString(t).substr(1)+a,u.divRemTo(i,u,s);return s.intValue().toString(t)+a},v.fromRadix=function(t,e){var r=this;r.fromInt(0),null==e&&(e=10);for(var i=r.chunkSize(e),o=Math.pow(e,i),s=!1,a=0,f=0,h=0;h<t.length;++h){var c=u(t,h);0>c?"-"==t.charAt(h)&&0==r.signum()&&(s=!0):(f=e*f+c,++a>=i&&(r.dMultiply(o),r.dAddOffset(f,0),f=a=0))}a>0&&(r.dMultiply(Math.pow(e,a)),r.dAddOffset(f,0)),s&&n.ZERO.subTo(r,r)},v.fromNumber=function(t,e,r){var i=this;if("number"==typeof e)if(2>t)i.fromInt(1);else for(i.fromNumber(t,r),i.testBit(t-1)||i.bitwiseTo(n.ONE.shiftLeft(t-1),c,i),i.isEven()&&i.dAddOffset(1,0);!i.isProbablePrime(e);)i.dAddOffset(2,0),i.bitLength()>t&&i.subTo(n.ONE.shiftLeft(t-1),i);else{var u=new Array,o=7&t;u.length=1+(t>>3),e.nextBytes(u),o>0?u[0]&=(1<<o)-1:u[0]=0,i.fromString(u,256)}},v.bitwiseTo=function(t,e,r){var n,i,u=this,o=Math.min(t.t,u.t);for(n=0;o>n;++n)r[n]=e(u[n],t[n]);if(t.t<u.t){for(i=t.s&u.DM,n=o;n<u.t;++n)r[n]=e(u[n],i);r.t=u.t}else{for(i=u.s&u.DM,n=o;n<t.t;++n)r[n]=e(i,t[n]);r.t=t.t}r.s=e(u.s,t.s),r.clamp()},v.changeBit=function(t,e){var r=n.ONE.shiftLeft(t);return this.bitwiseTo(r,e,r),r},v.addTo=function(t,e){for(var r=this,n=0,i=0,u=Math.min(t.t,r.t);u>n;)i+=r[n]+t[n],e[n++]=i&r.DM,i>>=r.DB;if(t.t<r.t){for(i+=t.s;n<r.t;)i+=r[n],e[n++]=i&r.DM,i>>=r.DB;i+=r.s}else{for(i+=r.s;n<t.t;)i+=t[n],e[n++]=i&r.DM,i>>=r.DB;i+=t.s}e.s=0>i?-1:0,i>0?e[n++]=i:-1>i&&(e[n++]=r.DV+i),e.t=n,e.clamp()},v.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},v.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},v.multiplyLowerTo=function(t,e,r){var n,i=Math.min(this.t+t.t,e);for(r.s=0,r.t=i;i>0;)r[--i]=0;for(n=r.t-this.t;n>i;++i)r[i+this.t]=this.am(0,t[i],r,i,0,this.t);for(n=Math.min(t.t,e);n>i;++i)this.am(0,t[i],r,i,0,e-i);r.clamp()},v.multiplyUpperTo=function(t,e,r){--e;var n=r.t=this.t+t.t-e;for(r.s=0;0<=--n;)r[n]=0;for(n=Math.max(e-this.t,0);n<t.t;++n)r[this.t+n-e]=this.am(e-n,t[n],r,0,0,this.t+n-e);r.clamp(),r.drShiftTo(1,r)},v.modInt=function(t){if(0>=t)return 0;var e=this.DV%t,r=this.s<0?t-1:0;if(0<this.t)if(0==e)r=this[0]%t;else for(var n=this.t-1;n>=0;--n)r=(e*r+this[n])%t;return r},v.millerRabin=function(t){var e=this.subtract(n.ONE),r=e.getLowestSetBit();if(0>=r)return!1;var i=e.shiftRight(r);C.length<(t=t+1>>1)&&(t=C.length);for(var u=new n(null),o=[],s=0;t>s;++s){for(;f=C[Math.floor(Math.random()*C.length)],-1!=o.indexOf(f););o.push(f),u.fromInt(f);var a=u.modPow(i,this);if(0!=a.compareTo(n.ONE)&&0!=a.compareTo(e)){for(var f=1;f++<r&&0!=a.compareTo(e);)if(0==(a=a.modPowInt(2,this)).compareTo(n.ONE))return!1;if(0!=a.compareTo(e))return!1}}return!0},v.clone=function(){var t=new n;return this.copyTo(t),t},v.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]},v.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},v.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},v.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},v.toByteArray=function(){var t=this,e=t.t,r=new Array;r[0]=t.s;var n,i=t.DB-e*t.DB%8,u=0;if(0<e--)for(i<t.DB&&(n=t[e]>>i)!=(t.s&t.DM)>>i&&(r[u++]=n|t.s<<t.DB-i);e>=0;)8>i?(n=(t[e]&(1<<i)-1)<<8-i,n|=t[--e]>>(i+=t.DB-8)):(n=t[e]>>(i-=8)&255,0>=i&&(i+=t.DB,--e)),0!=(128&n)&&(n|=-256),0===u&&(128&t.s)!=(128&n)&&++u,(u>0||n!=t.s)&&(r[u++]=n);return r},v.equals=function(t){return 0==this.compareTo(t)},v.min=function(t){return this.compareTo(t)<0?this:t},v.max=function(t){return 0<this.compareTo(t)?this:t},v.and=function(t){var e=new n;return this.bitwiseTo(t,h,e),e},v.or=function(t){var e=new n;return this.bitwiseTo(t,c,e),e},v.xor=function(t){var e=new n;return this.bitwiseTo(t,l,e),e},v.andNot=function(t){var e=new n;return this.bitwiseTo(t,p,e),e},v.not=function(){for(var t=new n,e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},v.shiftLeft=function(t){var e=new n;return 0>t?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},v.shiftRight=function(t){var e=new n;return 0>t?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},v.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+d(this[t]);return this.s<0?this.t*this.DB:-1},v.bitCount=function(){for(var t=0,e=this.s&this.DM,r=0;r<this.t;++r)t+=m(this[r]^e);return t},v.testBit=function(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:0!=(this[e]&1<<t%this.DB)},v.setBit=function(t){return this.changeBit(t,c)},v.clearBit=function(t){return this.changeBit(t,p)},v.flipBit=function(t){return this.changeBit(t,l)},v.add=function(t){var e=new n;return this.addTo(t,e),e},v.subtract=function(t){var e=new n;return this.subTo(t,e),e},v.multiply=function(t){var e=new n;return this.multiplyTo(t,e),e},v.divide=function(t){var e=new n;return this.divRemTo(t,e,null),e},v.remainder=function(t){var e=new n;return this.divRemTo(t,null,e),e},v.divideAndRemainder=function(t){var e=new n,r=new n;return this.divRemTo(t,e,r),new Array(e,r)},v.modPow=function(t,e){var r,i,u=t.bitLength(),h=o(1);if(0>=u)return h;r=18>u?1:48>u?3:144>u?4:768>u?5:6,i=8>u?new a(e):e.isEven()?new b(e):new f(e);var c=new Array,l=3,p=r-1,d=(1<<r)-1;if(c[1]=i.convert(this),r>1){var m=new n;for(i.sqrTo(c[1],m);d>=l;)c[l]=new n,i.mulTo(m,c[l-2],c[l]),l+=2}var g,y,v=t.t-1,_=!0,w=new n;for(u=s(t[v])-1;v>=0;){for(u>=p?g=t[v]>>u-p&d:(g=(t[v]&(1<<u+1)-1)<<p-u,v>0&&(g|=t[v-1]>>this.DB+u-p)),l=r;0==(1&g);)g>>=1,--l;if((u-=l)<0&&(u+=this.DB,--v),_)c[g].copyTo(h),_=!1;else{for(;l>1;)i.sqrTo(h,w),i.sqrTo(w,h),l-=2;l>0?i.sqrTo(h,w):(y=h,h=w,w=y),i.mulTo(w,c[g],h)}for(;v>=0&&0==(t[v]&1<<u);)i.sqrTo(h,w),y=h,h=w,w=y,--u<0&&(u=this.DB-1,--v)}return i.revert(h)},v.modInverse=function(t){var e=t.isEven();if(0===this.signum())throw new Error("division by zero");if(this.isEven()&&e||0==t.signum())return n.ZERO;for(var r=t.clone(),i=this.clone(),u=o(1),s=o(0),a=o(0),f=o(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),e?(u.isEven()&&s.isEven()||(u.addTo(this,u),s.subTo(t,s)),u.rShiftTo(1,u)):s.isEven()||s.subTo(t,s),s.rShiftTo(1,s);for(;i.isEven();)i.rShiftTo(1,i),e?(a.isEven()&&f.isEven()||(a.addTo(this,a),f.subTo(t,f)),a.rShiftTo(1,a)):f.isEven()||f.subTo(t,f),f.rShiftTo(1,f);0<=r.compareTo(i)?(r.subTo(i,r),e&&u.subTo(a,u),s.subTo(f,s)):(i.subTo(r,i),e&&a.subTo(u,a),f.subTo(s,f))}if(0!=i.compareTo(n.ONE))return n.ZERO;for(;0<=f.compareTo(t);)f.subTo(t,f);for(;f.signum()<0;)f.addTo(t,f);return f},v.pow=function(t){return this.exp(t,new g)},v.gcd=function(t){var e=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone();if(e.compareTo(r)<0){var n=e;e=r,r=n}var i=e.getLowestSetBit(),u=r.getLowestSetBit();if(0>u)return e;for(u>i&&(u=i),u>0&&(e.rShiftTo(u,e),r.rShiftTo(u,r));0<e.signum();)0<(i=e.getLowestSetBit())&&e.rShiftTo(i,e),0<(i=r.getLowestSetBit())&&r.rShiftTo(i,r),0<=e.compareTo(r)?(e.subTo(r,e),e.rShiftTo(1,e)):(r.subTo(e,r),r.rShiftTo(1,r));return u>0&&r.lShiftTo(u,r),r},v.isProbablePrime=function(t){var e,r=this.abs();if(1==r.t&&r[0]<=C[C.length-1]){for(e=0;e<C.length;++e)if(r[0]==C[e])return!0;return!1}if(r.isEven())return!1;for(e=1;e<C.length;){for(var n=C[e],i=e+1;i<C.length&&F>n;)n*=C[i++];for(n=r.modInt(n);i>e;)if(n%C[e++]==0)return!1}return r.millerRabin(t)},v.square=function(){var t=new n;return this.squareTo(t),t},n.ZERO=o(0),n.ONE=o(1),n.valueOf=o,e.exports=n},{"../package.json":24}],22:[function(t,e,r){(function(e){var r=t("assert"),n=t("./bigi");n.fromByteArrayUnsigned=function(t){return new n(128&t[0]?[0].concat(t):t)},n.prototype.toByteArrayUnsigned=function(){var t=this.toByteArray();return 0===t[0]?t.slice(1):t},n.fromDERInteger=function(t){return new n(t)},n.prototype.toDERInteger=n.prototype.toByteArray,n.fromBuffer=function(t){if(128&t[0]){var e=Array.prototype.slice.call(t);return new n([0].concat(e))}return new n(t)},n.fromHex=function(t){return""===t?n.ZERO:(r.equal(t,t.match(/^[A-Fa-f0-9]+/),"Invalid hex string"),r.equal(t.length%2,0,"Incomplete hex"),new n(t,16))},n.prototype.toBuffer=function(t){for(var r=this.toByteArrayUnsigned(),n=[],i=t-r.length;n.length<i;)n.push(0);return new e(n.concat(r))},n.prototype.toHex=function(t){return this.toBuffer(t).toString("hex")}}).call(this,t("buffer").Buffer)},{"./bigi":21,assert:11,buffer:45}],23:[function(t,e,r){var n=t("./bigi");t("./convert"),e.exports=n},{"./bigi":21,"./convert":22}],24:[function(t,e,r){e.exports={_args:[["bigi@1.4.2","/home/james/eosjs/eosjs"]],_from:"bigi@1.4.2",_id:"bigi@1.4.2",_inBundle:!1,_integrity:"sha1-nGZalfiLiwj8Bc/XMfVhhZ1yWCU=",_location:"/bigi",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"bigi@1.4.2",name:"bigi",escapedName:"bigi",rawSpec:"1.4.2",saveSpec:null,fetchSpec:"1.4.2"},_requiredBy:["/ecurve","/eosjs-ecc"],_resolved:"https://registry.npmjs.org/bigi/-/bigi-1.4.2.tgz",_spec:"1.4.2",_where:"/home/james/eosjs/eosjs",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"}},{}],25:[function(t,e,r){!function(e,r){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function u(t,e,r){return u.isBN(t)?t:(this.negative=0,this.words=null,this.length=0,(this.red=null)!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be")),void 0)}function o(t,e,r){for(var n=0,i=Math.min(t.length,r),u=e;i>u;u++){var o=t.charCodeAt(u)-48;n<<=4,n|=o>=49&&54>=o?o-49+10:o>=17&&22>=o?o-17+10:15&o}return n}function s(t,e,r,n){for(var i=0,u=Math.min(t.length,r),o=e;u>o;o++){var s=t.charCodeAt(o)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}function a(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;n=(r.length=n)-1|0;var i=0|t.words[0],u=0|e.words[0],o=i*u,s=67108863&o,a=o/67108864|0;r.words[0]=s;for(var f=1;n>f;f++){for(var h=a>>>26,c=67108863&a,l=Math.min(f,e.length-1),p=Math.max(0,f-t.length+1);l>=p;p++){var d=f-p|0;h+=(o=(i=0|t.words[d])*(u=0|e.words[p])+c)/67108864|0,c=67108863&o}r.words[f]=0|c,a=0|h}return 0!==a?r.words[f]=0|a:r.length--,r.strip()}function f(t,e,r){return(new h).mulp(t,e,r)}function h(t,e){this.x=t,this.y=e}function c(t,e){this.name=t,this.p=new u(e,16),this.n=this.p.bitLength(),this.k=new u(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function l(){c.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function p(){c.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function d(){c.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function m(){c.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function g(t){if("string"==typeof t){var e=u._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function y(t){g.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new u(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)}var b;"object"==typeof e?e.exports=u:r.BN=u,(u.BN=u).wordSize=26;try{b=t("buffer").Buffer}catch(e){}u.isBN=function(t){return t instanceof u||null!==t&&"object"==typeof t&&t.constructor.wordSize===u.wordSize&&Array.isArray(t.words)},u.max=function(t,e){return 0<t.cmp(e)?t:e},u.min=function(t,e){return t.cmp(e)<0?t:e},u.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"==typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&36>=e);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),e,r)},u.prototype._initNumber=function(t,e,r){0>t&&(this.negative=1,t=-t),67108864>t?(this.words=[67108863&t],this.length=1):4503599627370496>t?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(9007199254740992>t),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},u.prototype._initArray=function(t,e,r){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var u,o,s=0;if("be"===r)for(i=t.length-1,u=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[u]|=o<<s&67108863,this.words[u+1]=o>>>26-s&67108863,26<=(s+=24)&&(s-=26,u++);else if("le"===r)for(u=i=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[u]|=o<<s&67108863,this.words[u+1]=o>>>26-s&67108863,26<=(s+=24)&&(s-=26,u++);return this.strip()},u.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,u=0;for(r=t.length-6,n=0;r>=e;r-=6)i=o(t,r,r+6),this.words[n]|=i<<u&67108863,this.words[n+1]|=i>>>26-u&4194303,26<=(u+=24)&&(u-=26,n++);r+6!==e&&(i=o(t,e,r+6),this.words[n]|=i<<u&67108863,this.words[n+1]|=i>>>26-u&4194303),this.strip()},u.prototype._parseBase=function(t,e,r){this.words=[0];for(var n=0,i=this.length=1;67108863>=i;i*=e)n++;n--,i=i/e|0;for(var u=t.length-r,o=u%n,a=Math.min(u,u-o)+r,f=0,h=r;a>h;h+=n)f=s(t,h,h+n,e),this.imuln(i),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if(0!==o){var c=1;for(f=s(t,h,t.length,e),h=0;o>h;h++)c*=e;this.imuln(c),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f)}},u.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},u.prototype.clone=function(){var t=new u(null);return this.copy(t),t},u.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},u.prototype.strip=function(){for(;1<this.length&&0===this.words[this.length-1];)this.length--;return this._normSign()},u.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},u.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var v=["","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"],_=[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],w=[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];u.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,u=0,o=0;o<this.length;o++){var s=this.words[o],a=(16777215&(s<<i|u)).toString(16);r=0!==(u=s>>>24-i&16777215)||o!==this.length-1?v[6-a.length]+a+r:a+r,26<=(i+=2)&&(i-=26,o--)}for(0!==u&&(r=u.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&36>=t){var f=_[t],h=w[t];r="";var c=this.clone();for(c.negative=0;!c.isZero();){var l=c.modn(h).toString(t);r=(c=c.idivn(h)).isZero()?l+r:v[f-l.length]+l+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},u.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:2<this.length&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},u.prototype.toJSON=function(){return this.toString(16)},u.prototype.toBuffer=function(t,e){return n(void 0!==b),this.toArrayLike(b,t,e)},u.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},u.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),u=r||Math.max(1,i);n(u>=i,"byte array longer than desired length"),n(u>0,"Requested array length <= 0"),this.strip();var o,s,a="le"===e,f=new t(u),h=this.clone();if(a){for(s=0;!h.isZero();s++)o=h.andln(255),h.iushrn(8),f[s]=o;for(;u>s;s++)f[s]=0}else{for(s=0;u-i>s;s++)f[s]=0;for(s=0;!h.isZero();s++)o=h.andln(255),h.iushrn(8),f[u-s-1]=o}return f},u.prototype._countBits=Math.clz32?function(t){return 32-Math.clz32(t)}:function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},u.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},u.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},u.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},u.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},u.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},u.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},u.prototype.isNeg=function(){return 0!==this.negative},u.prototype.neg=function(){return this.clone().ineg()},u.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},u.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},u.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},u.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},u.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},u.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},u.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},u.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},u.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},u.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},u.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},u.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},u.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},u.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;e>i;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},u.prototype.notn=function(t){return this.clone().inotn(t)},u.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},u.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,u=0;u<n.length;u++)e=(0|r.words[u])+(0|n.words[u])+i,this.words[u]=67108863&e,i=e>>>26;for(;0!==i&&u<r.length;u++)e=(0|r.words[u])+i,this.words[u]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;u<r.length;u++)this.words[u]=r.words[u];return this},u.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},u.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var u=0,o=0;o<n.length;o++)u=(e=(0|r.words[o])-(0|n.words[o])+u)>>26,this.words[o]=67108863&e;for(;0!==u&&o<r.length;o++)u=(e=(0|r.words[o])+u)>>26,this.words[o]=67108863&e;if(0===u&&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()},u.prototype.sub=function(t){return this.clone().isub(t)};var E=function(t,e,r){var n,i,u,o=t.words,s=e.words,a=r.words,f=0,h=0|o[0],c=8191&h,l=h>>>13,p=0|o[1],d=8191&p,m=p>>>13,g=0|o[2],y=8191&g,b=g>>>13,v=0|o[3],_=8191&v,w=v>>>13,E=0|o[4],A=8191&E,B=E>>>13,C=0|o[5],F=8191&C,x=C>>>13,D=0|o[6],S=8191&D,k=D>>>13,M=0|o[7],T=8191&M,I=M>>>13,j=0|o[8],O=8191&j,L=j>>>13,U=0|o[9],R=8191&U,N=U>>>13,q=0|s[0],P=8191&q,z=q>>>13,V=0|s[1],Z=8191&V,H=V>>>13,G=0|s[2],K=8191&G,W=G>>>13,X=0|s[3],Y=8191&X,J=X>>>13,$=0|s[4],Q=8191&$,te=$>>>13,ee=0|s[5],re=8191&ee,ne=ee>>>13,ie=0|s[6],ue=8191&ie,oe=ie>>>13,se=0|s[7],ae=8191&se,fe=se>>>13,he=0|s[8],ce=8191&he,le=he>>>13,pe=0|s[9],de=8191&pe,me=pe>>>13;r.negative=t.negative^e.negative,r.length=19;var ge=(f+(n=Math.imul(c,P))|0)+((8191&(i=(i=Math.imul(c,z))+Math.imul(l,P)|0))<<13)|0;f=((u=Math.imul(l,z))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(d,P),i=(i=Math.imul(d,z))+Math.imul(m,P)|0,u=Math.imul(m,z);var ye=(f+(n=n+Math.imul(c,Z)|0)|0)+((8191&(i=(i=i+Math.imul(c,H)|0)+Math.imul(l,Z)|0))<<13)|0;f=((u=u+Math.imul(l,H)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(y,P),i=(i=Math.imul(y,z))+Math.imul(b,P)|0,u=Math.imul(b,z),n=n+Math.imul(d,Z)|0,i=(i=i+Math.imul(d,H)|0)+Math.imul(m,Z)|0,u=u+Math.imul(m,H)|0;var be=(f+(n=n+Math.imul(c,K)|0)|0)+((8191&(i=(i=i+Math.imul(c,W)|0)+Math.imul(l,K)|0))<<13)|0;f=((u=u+Math.imul(l,W)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(_,P),i=(i=Math.imul(_,z))+Math.imul(w,P)|0,u=Math.imul(w,z),n=n+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,H)|0)+Math.imul(b,Z)|0,u=u+Math.imul(b,H)|0,n=n+Math.imul(d,K)|0,i=(i=i+Math.imul(d,W)|0)+Math.imul(m,K)|0,u=u+Math.imul(m,W)|0;var ve=(f+(n=n+Math.imul(c,Y)|0)|0)+((8191&(i=(i=i+Math.imul(c,J)|0)+Math.imul(l,Y)|0))<<13)|0;f=((u=u+Math.imul(l,J)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(A,P),i=(i=Math.imul(A,z))+Math.imul(B,P)|0,u=Math.imul(B,z),n=n+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(w,Z)|0,u=u+Math.imul(w,H)|0,n=n+Math.imul(y,K)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(b,K)|0,u=u+Math.imul(b,W)|0,n=n+Math.imul(d,Y)|0,i=(i=i+Math.imul(d,J)|0)+Math.imul(m,Y)|0,u=u+Math.imul(m,J)|0;var _e=(f+(n=n+Math.imul(c,Q)|0)|0)+((8191&(i=(i=i+Math.imul(c,te)|0)+Math.imul(l,Q)|0))<<13)|0;f=((u=u+Math.imul(l,te)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(F,P),i=(i=Math.imul(F,z))+Math.imul(x,P)|0,u=Math.imul(x,z),n=n+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,H)|0)+Math.imul(B,Z)|0,u=u+Math.imul(B,H)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(w,K)|0,u=u+Math.imul(w,W)|0,n=n+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,J)|0)+Math.imul(b,Y)|0,u=u+Math.imul(b,J)|0,n=n+Math.imul(d,Q)|0,i=(i=i+Math.imul(d,te)|0)+Math.imul(m,Q)|0,u=u+Math.imul(m,te)|0;var we=(f+(n=n+Math.imul(c,re)|0)|0)+((8191&(i=(i=i+Math.imul(c,ne)|0)+Math.imul(l,re)|0))<<13)|0;f=((u=u+Math.imul(l,ne)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(S,P),i=(i=Math.imul(S,z))+Math.imul(k,P)|0,u=Math.imul(k,z),n=n+Math.imul(F,Z)|0,i=(i=i+Math.imul(F,H)|0)+Math.imul(x,Z)|0,u=u+Math.imul(x,H)|0,n=n+Math.imul(A,K)|0,i=(i=i+Math.imul(A,W)|0)+Math.imul(B,K)|0,u=u+Math.imul(B,W)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,J)|0)+Math.imul(w,Y)|0,u=u+Math.imul(w,J)|0,n=n+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,te)|0)+Math.imul(b,Q)|0,u=u+Math.imul(b,te)|0,n=n+Math.imul(d,re)|0,i=(i=i+Math.imul(d,ne)|0)+Math.imul(m,re)|0,u=u+Math.imul(m,ne)|0;var Ee=(f+(n=n+Math.imul(c,ue)|0)|0)+((8191&(i=(i=i+Math.imul(c,oe)|0)+Math.imul(l,ue)|0))<<13)|0;f=((u=u+Math.imul(l,oe)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(T,P),i=(i=Math.imul(T,z))+Math.imul(I,P)|0,u=Math.imul(I,z),n=n+Math.imul(S,Z)|0,i=(i=i+Math.imul(S,H)|0)+Math.imul(k,Z)|0,u=u+Math.imul(k,H)|0,n=n+Math.imul(F,K)|0,i=(i=i+Math.imul(F,W)|0)+Math.imul(x,K)|0,u=u+Math.imul(x,W)|0,n=n+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,J)|0)+Math.imul(B,Y)|0,u=u+Math.imul(B,J)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,te)|0)+Math.imul(w,Q)|0,u=u+Math.imul(w,te)|0,n=n+Math.imul(y,re)|0,i=(i=i+Math.imul(y,ne)|0)+Math.imul(b,re)|0,u=u+Math.imul(b,ne)|0,n=n+Math.imul(d,ue)|0,i=(i=i+Math.imul(d,oe)|0)+Math.imul(m,ue)|0,u=u+Math.imul(m,oe)|0;var Ae=(f+(n=n+Math.imul(c,ae)|0)|0)+((8191&(i=(i=i+Math.imul(c,fe)|0)+Math.imul(l,ae)|0))<<13)|0;f=((u=u+Math.imul(l,fe)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(O,P),i=(i=Math.imul(O,z))+Math.imul(L,P)|0,u=Math.imul(L,z),n=n+Math.imul(T,Z)|0,i=(i=i+Math.imul(T,H)|0)+Math.imul(I,Z)|0,u=u+Math.imul(I,H)|0,n=n+Math.imul(S,K)|0,i=(i=i+Math.imul(S,W)|0)+Math.imul(k,K)|0,u=u+Math.imul(k,W)|0,n=n+Math.imul(F,Y)|0,i=(i=i+Math.imul(F,J)|0)+Math.imul(x,Y)|0,u=u+Math.imul(x,J)|0,n=n+Math.imul(A,Q)|0,i=(i=i+Math.imul(A,te)|0)+Math.imul(B,Q)|0,u=u+Math.imul(B,te)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(w,re)|0,u=u+Math.imul(w,ne)|0,n=n+Math.imul(y,ue)|0,i=(i=i+Math.imul(y,oe)|0)+Math.imul(b,ue)|0,u=u+Math.imul(b,oe)|0,n=n+Math.imul(d,ae)|0,i=(i=i+Math.imul(d,fe)|0)+Math.imul(m,ae)|0,u=u+Math.imul(m,fe)|0;
  4. var Be=(f+(n=n+Math.imul(c,ce)|0)|0)+((8191&(i=(i=i+Math.imul(c,le)|0)+Math.imul(l,ce)|0))<<13)|0;f=((u=u+Math.imul(l,le)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(R,P),i=(i=Math.imul(R,z))+Math.imul(N,P)|0,u=Math.imul(N,z),n=n+Math.imul(O,Z)|0,i=(i=i+Math.imul(O,H)|0)+Math.imul(L,Z)|0,u=u+Math.imul(L,H)|0,n=n+Math.imul(T,K)|0,i=(i=i+Math.imul(T,W)|0)+Math.imul(I,K)|0,u=u+Math.imul(I,W)|0,n=n+Math.imul(S,Y)|0,i=(i=i+Math.imul(S,J)|0)+Math.imul(k,Y)|0,u=u+Math.imul(k,J)|0,n=n+Math.imul(F,Q)|0,i=(i=i+Math.imul(F,te)|0)+Math.imul(x,Q)|0,u=u+Math.imul(x,te)|0,n=n+Math.imul(A,re)|0,i=(i=i+Math.imul(A,ne)|0)+Math.imul(B,re)|0,u=u+Math.imul(B,ne)|0,n=n+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,oe)|0)+Math.imul(w,ue)|0,u=u+Math.imul(w,oe)|0,n=n+Math.imul(y,ae)|0,i=(i=i+Math.imul(y,fe)|0)+Math.imul(b,ae)|0,u=u+Math.imul(b,fe)|0,n=n+Math.imul(d,ce)|0,i=(i=i+Math.imul(d,le)|0)+Math.imul(m,ce)|0,u=u+Math.imul(m,le)|0;var Ce=(f+(n=n+Math.imul(c,de)|0)|0)+((8191&(i=(i=i+Math.imul(c,me)|0)+Math.imul(l,de)|0))<<13)|0;f=((u=u+Math.imul(l,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(R,Z),i=(i=Math.imul(R,H))+Math.imul(N,Z)|0,u=Math.imul(N,H),n=n+Math.imul(O,K)|0,i=(i=i+Math.imul(O,W)|0)+Math.imul(L,K)|0,u=u+Math.imul(L,W)|0,n=n+Math.imul(T,Y)|0,i=(i=i+Math.imul(T,J)|0)+Math.imul(I,Y)|0,u=u+Math.imul(I,J)|0,n=n+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,te)|0)+Math.imul(k,Q)|0,u=u+Math.imul(k,te)|0,n=n+Math.imul(F,re)|0,i=(i=i+Math.imul(F,ne)|0)+Math.imul(x,re)|0,u=u+Math.imul(x,ne)|0,n=n+Math.imul(A,ue)|0,i=(i=i+Math.imul(A,oe)|0)+Math.imul(B,ue)|0,u=u+Math.imul(B,oe)|0,n=n+Math.imul(_,ae)|0,i=(i=i+Math.imul(_,fe)|0)+Math.imul(w,ae)|0,u=u+Math.imul(w,fe)|0,n=n+Math.imul(y,ce)|0,i=(i=i+Math.imul(y,le)|0)+Math.imul(b,ce)|0,u=u+Math.imul(b,le)|0;var Fe=(f+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(m,de)|0))<<13)|0;f=((u=u+Math.imul(m,me)|0)+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,n=Math.imul(R,K),i=(i=Math.imul(R,W))+Math.imul(N,K)|0,u=Math.imul(N,W),n=n+Math.imul(O,Y)|0,i=(i=i+Math.imul(O,J)|0)+Math.imul(L,Y)|0,u=u+Math.imul(L,J)|0,n=n+Math.imul(T,Q)|0,i=(i=i+Math.imul(T,te)|0)+Math.imul(I,Q)|0,u=u+Math.imul(I,te)|0,n=n+Math.imul(S,re)|0,i=(i=i+Math.imul(S,ne)|0)+Math.imul(k,re)|0,u=u+Math.imul(k,ne)|0,n=n+Math.imul(F,ue)|0,i=(i=i+Math.imul(F,oe)|0)+Math.imul(x,ue)|0,u=u+Math.imul(x,oe)|0,n=n+Math.imul(A,ae)|0,i=(i=i+Math.imul(A,fe)|0)+Math.imul(B,ae)|0,u=u+Math.imul(B,fe)|0,n=n+Math.imul(_,ce)|0,i=(i=i+Math.imul(_,le)|0)+Math.imul(w,ce)|0,u=u+Math.imul(w,le)|0;var xe=(f+(n=n+Math.imul(y,de)|0)|0)+((8191&(i=(i=i+Math.imul(y,me)|0)+Math.imul(b,de)|0))<<13)|0;f=((u=u+Math.imul(b,me)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(R,Y),i=(i=Math.imul(R,J))+Math.imul(N,Y)|0,u=Math.imul(N,J),n=n+Math.imul(O,Q)|0,i=(i=i+Math.imul(O,te)|0)+Math.imul(L,Q)|0,u=u+Math.imul(L,te)|0,n=n+Math.imul(T,re)|0,i=(i=i+Math.imul(T,ne)|0)+Math.imul(I,re)|0,u=u+Math.imul(I,ne)|0,n=n+Math.imul(S,ue)|0,i=(i=i+Math.imul(S,oe)|0)+Math.imul(k,ue)|0,u=u+Math.imul(k,oe)|0,n=n+Math.imul(F,ae)|0,i=(i=i+Math.imul(F,fe)|0)+Math.imul(x,ae)|0,u=u+Math.imul(x,fe)|0,n=n+Math.imul(A,ce)|0,i=(i=i+Math.imul(A,le)|0)+Math.imul(B,ce)|0,u=u+Math.imul(B,le)|0;var De=(f+(n=n+Math.imul(_,de)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(w,de)|0))<<13)|0;f=((u=u+Math.imul(w,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(R,Q),i=(i=Math.imul(R,te))+Math.imul(N,Q)|0,u=Math.imul(N,te),n=n+Math.imul(O,re)|0,i=(i=i+Math.imul(O,ne)|0)+Math.imul(L,re)|0,u=u+Math.imul(L,ne)|0,n=n+Math.imul(T,ue)|0,i=(i=i+Math.imul(T,oe)|0)+Math.imul(I,ue)|0,u=u+Math.imul(I,oe)|0,n=n+Math.imul(S,ae)|0,i=(i=i+Math.imul(S,fe)|0)+Math.imul(k,ae)|0,u=u+Math.imul(k,fe)|0,n=n+Math.imul(F,ce)|0,i=(i=i+Math.imul(F,le)|0)+Math.imul(x,ce)|0,u=u+Math.imul(x,le)|0;var Se=(f+(n=n+Math.imul(A,de)|0)|0)+((8191&(i=(i=i+Math.imul(A,me)|0)+Math.imul(B,de)|0))<<13)|0;f=((u=u+Math.imul(B,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(R,re),i=(i=Math.imul(R,ne))+Math.imul(N,re)|0,u=Math.imul(N,ne),n=n+Math.imul(O,ue)|0,i=(i=i+Math.imul(O,oe)|0)+Math.imul(L,ue)|0,u=u+Math.imul(L,oe)|0,n=n+Math.imul(T,ae)|0,i=(i=i+Math.imul(T,fe)|0)+Math.imul(I,ae)|0,u=u+Math.imul(I,fe)|0,n=n+Math.imul(S,ce)|0,i=(i=i+Math.imul(S,le)|0)+Math.imul(k,ce)|0,u=u+Math.imul(k,le)|0;var ke=(f+(n=n+Math.imul(F,de)|0)|0)+((8191&(i=(i=i+Math.imul(F,me)|0)+Math.imul(x,de)|0))<<13)|0;f=((u=u+Math.imul(x,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(R,ue),i=(i=Math.imul(R,oe))+Math.imul(N,ue)|0,u=Math.imul(N,oe),n=n+Math.imul(O,ae)|0,i=(i=i+Math.imul(O,fe)|0)+Math.imul(L,ae)|0,u=u+Math.imul(L,fe)|0,n=n+Math.imul(T,ce)|0,i=(i=i+Math.imul(T,le)|0)+Math.imul(I,ce)|0,u=u+Math.imul(I,le)|0;var Me=(f+(n=n+Math.imul(S,de)|0)|0)+((8191&(i=(i=i+Math.imul(S,me)|0)+Math.imul(k,de)|0))<<13)|0;f=((u=u+Math.imul(k,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(R,ae),i=(i=Math.imul(R,fe))+Math.imul(N,ae)|0,u=Math.imul(N,fe),n=n+Math.imul(O,ce)|0,i=(i=i+Math.imul(O,le)|0)+Math.imul(L,ce)|0,u=u+Math.imul(L,le)|0;var Te=(f+(n=n+Math.imul(T,de)|0)|0)+((8191&(i=(i=i+Math.imul(T,me)|0)+Math.imul(I,de)|0))<<13)|0;f=((u=u+Math.imul(I,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(R,ce),i=(i=Math.imul(R,le))+Math.imul(N,ce)|0,u=Math.imul(N,le);var Ie=(f+(n=n+Math.imul(O,de)|0)|0)+((8191&(i=(i=i+Math.imul(O,me)|0)+Math.imul(L,de)|0))<<13)|0;f=((u=u+Math.imul(L,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var je=(f+(n=Math.imul(R,de))|0)+((8191&(i=(i=Math.imul(R,me))+Math.imul(N,de)|0))<<13)|0;return f=((u=Math.imul(N,me))+(i>>>13)|0)+(je>>>26)|0,je&=67108863,a[0]=ge,a[1]=ye,a[2]=be,a[3]=ve,a[4]=_e,a[5]=we,a[6]=Ee,a[7]=Ae,a[8]=Be,a[9]=Ce,a[10]=Fe,a[11]=xe,a[12]=De,a[13]=Se,a[14]=ke,a[15]=Me,a[16]=Te,a[17]=Ie,a[18]=je,0!==f&&(a[19]=f,r.length++),r};Math.imul||(E=a),u.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?E(this,t,e):63>r?a(this,t,e):1024>r?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,u=0;u<r.length-1;u++){var o=i;i=0;for(var s=67108863&n,a=Math.min(u,e.length-1),f=Math.max(0,u-t.length+1);a>=f;f++){var h=u-f,c=(0|t.words[h])*(0|e.words[f]),l=67108863&c;s=67108863&(l=l+s|0),i+=(o=(o=o+(c/67108864|0)|0)+(l>>>26)|0)>>>26,o&=67108863}r.words[u]=s,n=o,o=i}return 0!==n?r.words[u]=n:r.length--,r.strip()}(this,t,e):f(this,t,e)},h.prototype.makeRBT=function(t){for(var e=new Array(t),r=u.prototype._countBits(t)-1,n=0;t>n;n++)e[n]=this.revBin(n,r,t);return e},h.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;e>i;i++)n|=(1&t)<<e-i-1,t>>=1;return n},h.prototype.permute=function(t,e,r,n,i,u){for(var o=0;u>o;o++)n[o]=e[t[o]],i[o]=r[t[o]]},h.prototype.transform=function(t,e,r,n,i,u){this.permute(u,t,e,r,n,i);for(var o=1;i>o;o<<=1)for(var s=o<<1,a=Math.cos(2*Math.PI/s),f=Math.sin(2*Math.PI/s),h=0;i>h;h+=s)for(var c=a,l=f,p=0;o>p;p++){var d=r[h+p],m=n[h+p],g=r[h+p+o],y=n[h+p+o],b=c*g-l*y;y=c*y+l*g,g=b,r[h+p]=d+g,n[h+p]=m+y,r[h+p+o]=d-g,n[h+p+o]=m-y,p!==s&&(b=a*c-f*l,l=a*l+f*c,c=b)}},h.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},h.prototype.conjugate=function(t,e,r){if(!(1>=r))for(var n=0;r/2>n;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},h.prototype.normalize13b=function(t,e){for(var r=0,n=0;e/2>n;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=67108864>i?0:i/67108864|0}return t},h.prototype.convert13b=function(t,e,r,i){for(var u=0,o=0;e>o;o++)u+=0|t[o],r[2*o]=8191&u,u>>>=13,r[2*o+1]=8191&u,u>>>=13;for(o=2*e;i>o;++o)r[o]=0;n(0===u),n(0==(-8192&u))},h.prototype.stub=function(t){for(var e=new Array(t),r=0;t>r;r++)e[r]=0;return e},h.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),u=this.stub(n),o=new Array(n),s=new Array(n),a=new Array(n),f=new Array(n),h=new Array(n),c=new Array(n),l=r.words;l.length=n,this.convert13b(t.words,t.length,o,n),this.convert13b(e.words,e.length,f,n),this.transform(o,u,s,a,n,i),this.transform(f,u,h,c,n,i);for(var p=0;n>p;p++){var d=s[p]*h[p]-a[p]*c[p];a[p]=s[p]*c[p]+a[p]*h[p],s[p]=d}return this.conjugate(s,a,n),this.transform(s,a,l,u,n,i),this.conjugate(l,u,n),this.normalize13b(l,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},u.prototype.mul=function(t){var e=new u(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},u.prototype.mulf=function(t){var e=new u(null);return e.words=new Array(this.length+t.length),f(this,t,e)},u.prototype.imul=function(t){return this.clone().mulTo(t,this)},u.prototype.imuln=function(t){n("number"==typeof t),n(67108864>t);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,u=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=u>>>26,this.words[r]=67108863&u}return 0!==e&&(this.words[r]=e,this.length++),this},u.prototype.muln=function(t){return this.clone().imuln(t)},u.prototype.sqr=function(){return this.mul(this)},u.prototype.isqr=function(){return this.imul(this.clone())},u.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new u(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},u.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,u=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(e=0;e<this.length;e++){var s=this.words[e]&u,a=(0|this.words[e])-s<<r;this.words[e]=a|o,o=s>>>26-r}o&&(this.words[e]=o,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;i>e;e++)this.words[e]=0;this.length+=i}return this.strip()},u.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},u.prototype.iushrn=function(t,e,r){var i;n("number"==typeof t&&t>=0),i=e?(e-e%26)/26:0;var u=t%26,o=Math.min((t-u)/26,this.length),s=67108863^67108863>>>u<<u,a=r;if(i-=o,i=Math.max(0,i),a){for(var f=0;o>f;f++)a.words[f]=this.words[f];a.length=o}if(0===o);else if(this.length>o)for(this.length-=o,f=0;f<this.length;f++)this.words[f]=this.words[f+o];else this.words[0]=0,this.length=1;var h=0;for(f=this.length-1;f>=0&&(0!==h||f>=i);f--){var c=0|this.words[f];this.words[f]=h<<26-u|c>>>u,h=c&s}return a&&0!==h&&(a.words[a.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},u.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},u.prototype.shln=function(t){return this.clone().ishln(t)},u.prototype.ushln=function(t){return this.clone().iushln(t)},u.prototype.shrn=function(t){return this.clone().ishrn(t)},u.prototype.ushrn=function(t){return this.clone().iushrn(t)},u.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r||!(this.words[r]&i))},u.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},u.prototype.maskn=function(t){return this.clone().imaskn(t)},u.prototype.iaddn=function(t){return n("number"==typeof t),n(67108864>t),0>t?this.isubn(-t):0!==this.negative?(1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(t),this.negative=1),this):this._iaddn(t)},u.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&67108864<=this.words[e];e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},u.prototype.isubn=function(t){if(n("number"==typeof t),n(67108864>t),0>t)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},u.prototype.addn=function(t){return this.clone().iaddn(t)},u.prototype.subn=function(t){return this.clone().isubn(t)},u.prototype.iabs=function(){return this.negative=0,this},u.prototype.abs=function(){return this.clone().iabs()},u.prototype._ishlnsubmul=function(t,e,r){var i,u,o=t.length+r;this._expand(o);var s=0;for(i=0;i<t.length;i++){u=(0|this.words[i+r])+s;var a=(0|t.words[i])*e;s=((u-=67108863&a)>>26)-(a/67108864|0),this.words[i+r]=67108863&u}for(;i<this.length-r;i++)s=(u=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&u;if(0===s)return this.strip();for(n(-1===s),i=s=0;i<this.length;i++)s=(u=-(0|this.words[i])+s)>>26,this.words[i]=67108863&u;return this.negative=1,this.strip()},u.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,o=0|i.words[i.length-1];0!==(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var s,a=n.length-i.length;if("mod"!==e){(s=new u(null)).length=a+1,s.words=new Array(s.length);for(var f=0;f<s.length;f++)s.words[f]=0}var h=n.clone()._ishlnsubmul(i,1,a);0===h.negative&&(n=h,s&&(s.words[a]=1));for(var c=a-1;c>=0;c--){var l=67108864*(0|n.words[i.length+c])+(0|n.words[i.length+c-1]);for(l=Math.min(l/o|0,67108863),n._ishlnsubmul(i,l,c);0!==n.negative;)l--,n.negative=0,n._ishlnsubmul(i,1,c),n.isZero()||(n.negative^=1);s&&(s.words[c]=l)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},u.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new u(0),mod:new u(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:i,mod:o}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:s.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new u(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new u(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new u(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,o,s},u.prototype.div=function(t){return this.divmod(t,"div",!1).div},u.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},u.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},u.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),u=r.cmp(n);return 0>u||1===i&&0===u?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},u.prototype.modn=function(t){n(67108863>=t);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},u.prototype.idivn=function(t){n(67108863>=t);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},u.prototype.divn=function(t){return this.clone().idivn(t)},u.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new u(1),o=new u(0),s=new u(0),a=new u(1),f=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++f;for(var h=r.clone(),c=e.clone();!e.isZero();){for(var l=0,p=1;0==(e.words[0]&p)&&26>l;++l,p<<=1);if(l>0)for(e.iushrn(l);0<l--;)(i.isOdd()||o.isOdd())&&(i.iadd(h),o.isub(c)),i.iushrn(1),o.iushrn(1);for(var d=0,m=1;0==(r.words[0]&m)&&26>d;++d,m<<=1);if(d>0)for(r.iushrn(d);0<d--;)(s.isOdd()||a.isOdd())&&(s.iadd(h),a.isub(c)),s.iushrn(1),a.iushrn(1);0<=e.cmp(r)?(e.isub(r),i.isub(s),o.isub(a)):(r.isub(e),s.isub(i),a.isub(o))}return{a:s,b:a,gcd:r.iushln(f)}},u.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,o=new u(1),s=new u(0),a=r.clone();0<e.cmpn(1)&&0<r.cmpn(1);){for(var f=0,h=1;0==(e.words[0]&h)&&26>f;++f,h<<=1);if(f>0)for(e.iushrn(f);0<f--;)o.isOdd()&&o.iadd(a),o.iushrn(1);for(var c=0,l=1;0==(r.words[0]&l)&&26>c;++c,l<<=1);if(c>0)for(r.iushrn(c);0<c--;)s.isOdd()&&s.iadd(a),s.iushrn(1);0<=e.cmp(r)?(e.isub(r),o.isub(s)):(r.isub(e),s.isub(o))}return(i=0===e.cmpn(1)?o:s).cmpn(0)<0&&i.iadd(t),i},u.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0;for(var n=r.negative=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(0>i){var u=e;e=r,r=u}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},u.prototype.invm=function(t){return this.egcd(t).a.umod(t)},u.prototype.isEven=function(){return 0==(1&this.words[0])},u.prototype.isOdd=function(){return 1==(1&this.words[0])},u.prototype.andln=function(t){return this.words[0]&t},u.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var u=i,o=r;0!==u&&o<this.length;o++){var s=0|this.words[o];u=(s+=u)>>>26,s&=67108863,this.words[o]=s}return 0!==u&&(this.words[o]=u,this.length++),this},u.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},u.prototype.cmpn=function(t){var e,r=0>t;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),1<this.length)e=1;else{r&&(t=-t),n(67108863>=t,"Number is too big");var i=0|this.words[0];e=i===t?0:t>i?-1:1}return 0!==this.negative?0|-e:e},u.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},u.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){i>n?e=-1:n>i&&(e=1);break}}return e},u.prototype.gtn=function(t){return 1===this.cmpn(t)},u.prototype.gt=function(t){return 1===this.cmp(t)},u.prototype.gten=function(t){return 0<=this.cmpn(t)},u.prototype.gte=function(t){return 0<=this.cmp(t)},u.prototype.ltn=function(t){return-1===this.cmpn(t)},u.prototype.lt=function(t){return-1===this.cmp(t)},u.prototype.lten=function(t){return this.cmpn(t)<=0},u.prototype.lte=function(t){return this.cmp(t)<=0},u.prototype.eqn=function(t){return 0===this.cmpn(t)},u.prototype.eq=function(t){return 0===this.cmp(t)},u.red=function(t){return new g(t)},u.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},u.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},u.prototype._forceRed=function(t){return this.red=t,this},u.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},u.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},u.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},u.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},u.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},u.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},u.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},u.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},u.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},u.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},u.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},u.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},u.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},u.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var A={k256:null,p224:null,p192:null,p25519:null};c.prototype._tmp=function(){var t=new u(null);return t.words=new Array(Math.ceil(this.n/13)),t},c.prototype.ireduce=function(t){for(var e,r=t;this.split(r,this.tmp),(e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength())>this.n;);var n=e<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},c.prototype.split=function(t,e){t.iushrn(this.n,0,e)},c.prototype.imulK=function(t){return t.imul(this.k)},i(l,c),l.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;r>n;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var u=0|t.words[n];t.words[n-10]=(4194303&u)<<4|i>>>22,i=u}i>>>=22,0===(t.words[n-10]=i)&&10<t.length?t.length-=10:t.length-=9},l.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(p,c),i(d,c),i(m,c),m.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},u._prime=function(t){if(A[t])return A[t];var e;if("k256"===t)e=new l;else if("p224"===t)e=new p;else if("p192"===t)e=new d;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new m}return A[t]=e},g.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},g.prototype._verify2=function(t,e){n(0==(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},g.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},g.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},g.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return 0<=r.cmp(this.m)&&r.isub(this.m),r._forceRed(this)},g.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return 0<=r.cmp(this.m)&&r.isub(this.m),r},g.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},g.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},g.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},g.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},g.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},g.prototype.isqr=function(t){return this.imul(t,t.clone())},g.prototype.sqr=function(t){return this.mul(t,t)},g.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var r=this.m.add(new u(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);n(!i.isZero());var s=new u(1).toRed(this),a=s.redNeg(),f=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new u(2*h*h).toRed(this);0!==this.pow(h,f).cmp(a);)h.redIAdd(a);for(var c=this.pow(h,i),l=this.pow(t,i.addn(1).iushrn(1)),p=this.pow(t,i),d=o;0!==p.cmp(s);){for(var m=p,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(d>g);var y=this.pow(c,new u(1).iushln(d-g-1));l=l.redMul(y),c=y.redSqr(),p=p.redMul(c),d=g}return l},g.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},g.prototype.pow=function(t,e){if(e.isZero())return new u(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new u(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],o=0,s=0,a=e.bitLength()%26;for(0===a&&(a=26),n=e.length-1;n>=0;n--){for(var f=e.words[n],h=a-1;h>=0;h--){var c=f>>h&1;i!==r[0]&&(i=this.sqr(i)),0!==c||0!==o?(o<<=1,o|=c,(4===++s||0===n&&0===h)&&(i=this.mul(i,r[o]),o=s=0)):s=0}a=26}return i},g.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},g.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},u.mont=function(t){return new y(t)},i(y,g),y.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},y.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},y.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),u=i;return 0<=i.cmp(this.m)?u=i.isub(this.m):i.cmpn(0)<0&&(u=i.iadd(this.m)),u._forceRed(this)},y.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new u(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return 0<=i.cmp(this.m)?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},y.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===e||e,this)},{buffer:26}],26:[function(t,e,r){},{}],27:[function(t,e,r){function n(t){s.isBuffer(t)||(t=s.from(t));for(var e=t.length/4|0,r=new Array(e),n=0;e>n;n++)r[n]=t.readUInt32BE(4*n);return r}function i(t){for(;0<t.length;t++)t[0]=0}function u(t,e,r,n,i){for(var u,o,s,a,f=r[0],h=r[1],c=r[2],l=r[3],p=t[0]^e[0],d=t[1]^e[1],m=t[2]^e[2],g=t[3]^e[3],y=4,b=1;i>b;b++)u=f[p>>>24]^h[d>>>16&255]^c[m>>>8&255]^l[255&g]^e[y++],o=f[d>>>24]^h[m>>>16&255]^c[g>>>8&255]^l[255&p]^e[y++],s=f[m>>>24]^h[g>>>16&255]^c[p>>>8&255]^l[255&d]^e[y++],a=f[g>>>24]^h[p>>>16&255]^c[d>>>8&255]^l[255&m]^e[y++],p=u,d=o,m=s,g=a;return u=(n[p>>>24]<<24|n[d>>>16&255]<<16|n[m>>>8&255]<<8|n[255&g])^e[y++],o=(n[d>>>24]<<24|n[m>>>16&255]<<16|n[g>>>8&255]<<8|n[255&p])^e[y++],s=(n[m>>>24]<<24|n[g>>>16&255]<<16|n[p>>>8&255]<<8|n[255&d])^e[y++],a=(n[g>>>24]<<24|n[p>>>16&255]<<16|n[d>>>8&255]<<8|n[255&m])^e[y++],[u>>>=0,o>>>=0,s>>>=0,a>>>=0]}function o(t){this._key=n(t),this._reset()}var s=t("safe-buffer").Buffer,a=[0,1,2,4,8,16,32,64,128,27,54],f=function(){for(var t=new Array(256),e=0;256>e;e++)t[e]=128>e?e<<1:e<<1^283;for(var r=[],n=[],i=[[],[],[],[]],u=[[],[],[],[]],o=0,s=0,a=0;256>a;++a){var f=s^s<<1^s<<2^s<<3^s<<4;f=f>>>8^255&f^99;var h=t[n[r[o]=f]=o],c=t[h],l=t[c],p=257*t[f]^16843008*f;i[0][o]=p<<24|p>>>8,i[1][o]=p<<16|p>>>16,i[2][o]=p<<8|p>>>24,i[3][o]=p,p=16843009*l^65537*c^257*h^16843008*o,u[0][f]=p<<24|p>>>8,u[1][f]=p<<16|p>>>16,u[2][f]=p<<8|p>>>24,u[3][f]=p,0===o?o=s=1:(o=h^t[t[t[l^h]]],s^=t[t[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:u}}();o.blockSize=16,o.keySize=32,o.prototype.blockSize=o.blockSize,o.prototype.keySize=o.keySize,o.prototype._reset=function(){for(var t=this._key,e=t.length,r=e+6,n=4*(r+1),i=[],u=0;e>u;u++)i[u]=t[u];for(u=e;n>u;u++){var o=i[u-1];u%e==0?(o=o<<8|o>>>24,o=f.SBOX[o>>>24]<<24|f.SBOX[o>>>16&255]<<16|f.SBOX[o>>>8&255]<<8|f.SBOX[255&o],o^=a[u/e|0]<<24):e>6&&u%e==4&&(o=f.SBOX[o>>>24]<<24|f.SBOX[o>>>16&255]<<16|f.SBOX[o>>>8&255]<<8|f.SBOX[255&o]),i[u]=i[u-e]^o}for(var s=[],h=0;n>h;h++){var c=n-h,l=i[c-(h%4?0:4)];s[h]=4>h||4>=c?l:f.INV_SUB_MIX[0][f.SBOX[l>>>24]]^f.INV_SUB_MIX[1][f.SBOX[l>>>16&255]]^f.INV_SUB_MIX[2][f.SBOX[l>>>8&255]]^f.INV_SUB_MIX[3][f.SBOX[255&l]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=s},o.prototype.encryptBlockRaw=function(t){return u(t=n(t),this._keySchedule,f.SUB_MIX,f.SBOX,this._nRounds)},o.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),r=s.allocUnsafe(16);return r.writeUInt32BE(e[0],0),r.writeUInt32BE(e[1],4),r.writeUInt32BE(e[2],8),r.writeUInt32BE(e[3],12),r},o.prototype.decryptBlock=function(t){var e=(t=n(t))[1];t[1]=t[3],t[3]=e;var r=u(t,this._invKeySchedule,f.INV_SUB_MIX,f.INV_SBOX,this._nRounds),i=s.allocUnsafe(16);return i.writeUInt32BE(r[0],0),i.writeUInt32BE(r[3],4),i.writeUInt32BE(r[2],8),i.writeUInt32BE(r[1],12),i},o.prototype.scrub=function(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},e.exports.AES=o},{"safe-buffer":190}],28:[function(t,e,r){function n(t,e,r,n){o.call(this),this._finID=u.concat([r,u.from([0,0,0,1])]),r=u.concat([r,u.from([0,0,0,2])]),this._cipher=new i.AES(e),this._prev=u.from(r),this._cache=u.allocUnsafe(0),this._secCache=u.allocUnsafe(0),this._decrypt=n,this._alen=0,this._len=0,this._mode=t;var s=u.alloc(4,0);this._ghash=new a(this._cipher.encryptBlock(s)),this._authTag=null,this._called=!1}var i=t("./aes"),u=t("safe-buffer").Buffer,o=t("cipher-base"),s=t("inherits"),a=t("./ghash"),f=t("buffer-xor");s(n,o),n.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;16>e&&(e=u.alloc(e,0),this._ghash.update(e))}this._called=!0;var r=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(r),this._len+=t.length,r},n.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=f(this._ghash["final"](8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var r=0;t.length!==e.length&&r++;for(var n=Math.min(t.length,e.length),i=0;n>i;++i)r+=t[i]^e[i];return r}(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},n.prototype.getAuthTag=function(){if(this._decrypt||!u.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},n.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t},n.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},e.exports=n},{"./aes":27,"./ghash":32,"buffer-xor":44,"cipher-base":48,inherits:159,"safe-buffer":190}],29:[function(t,e,r){var n=t("./encrypter"),i=t("./decrypter"),u=t("./modes/list.json");r.createCipher=r.Cipher=n.createCipher,r.createCipheriv=r.Cipheriv=n.createCipheriv,r.createDecipher=r.Decipher=i.createDecipher,r.createDecipheriv=r.Decipheriv=i.createDecipheriv,r.listCiphers=r.getCiphers=function(){return Object.keys(u)}},{"./decrypter":30,"./encrypter":31,"./modes/list.json":40}],30:[function(t,e,r){function n(t,e,r){h.call(this),this._cache=new i,this._last=void 0,this._cipher=new c.AES(e),this._prev=s.from(r),this._mode=t,this._autopadding=!0}function i(){this.cache=s.allocUnsafe(0)}function u(t,e,r){var i=a[t.toLowerCase()];if(!i)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=s.from(r)),r.length!==i.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof e&&(e=s.from(e)),e.length!==i.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===i.type?new f(i.module,e,r,!0):"auth"===i.type?new o(i.module,e,r,!0):new n(i.module,e,r)}var o=t("./authCipher"),s=t("safe-buffer").Buffer,a=t("./modes"),f=t("./streamCipher"),h=t("cipher-base"),c=t("./aes"),l=t("evp_bytestokey");t("inherits")(n,h),n.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,e),n.push(r);return s.concat(n)},n.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){for(var e=t[15],r=-1;++r<e;)if(t[r+(16-e)]!==e)throw new Error("unable to decrypt data");
  5. return 16!==e?t.slice(0,16-e):void 0}(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},n.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},i.prototype.add=function(t){this.cache=s.concat([this.cache,t])},i.prototype.get=function(t){var e;if(t){if(16<this.cache.length)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(16<=this.cache.length)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},i.prototype.flush=function(){return this.cache.length?this.cache:void 0},r.createDecipher=function(t,e){var r=a[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=l(e,!1,r.key,r.iv);return u(t,n.key,n.iv)},r.createDecipheriv=u},{"./aes":27,"./authCipher":28,"./modes":39,"./streamCipher":42,"cipher-base":48,evp_bytestokey:151,inherits:159,"safe-buffer":190}],31:[function(t,e,r){function n(t,e,r){h.call(this),this._cache=new i,this._cipher=new c.AES(e),this._prev=a.from(r),this._mode=t,this._autopadding=!0}function i(){this.cache=a.allocUnsafe(0)}function u(t,e,r){var i=o[t.toLowerCase()];if(!i)throw new TypeError("invalid suite type");if("string"==typeof e&&(e=a.from(e)),e.length!==i.key/8)throw new TypeError("invalid key length "+e.length);if("string"==typeof r&&(r=a.from(r)),r.length!==i.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===i.type?new f(i.module,e,r):"auth"===i.type?new s(i.module,e,r):new n(i.module,e,r)}var o=t("./modes"),s=t("./authCipher"),a=t("safe-buffer").Buffer,f=t("./streamCipher"),h=t("cipher-base"),c=t("./aes"),l=t("evp_bytestokey");t("inherits")(n,h),n.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get();)r=this._mode.encrypt(this,e),n.push(r);return a.concat(n)};var p=a.alloc(16,16);n.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(p))throw this._cipher.scrub(),new Error("data not multiple of block length")},n.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},i.prototype.add=function(t){this.cache=a.concat([this.cache,t])},i.prototype.get=function(){if(15<this.cache.length){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},i.prototype.flush=function(){for(var t=16-this.cache.length,e=a.allocUnsafe(t),r=-1;++r<t;)e.writeUInt8(t,r);return a.concat([this.cache,e])},r.createCipheriv=u,r.createCipher=function(t,e){var r=o[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=l(e,!1,r.key,r.iv);return u(t,n.key,n.iv)}},{"./aes":27,"./authCipher":28,"./modes":39,"./streamCipher":42,"cipher-base":48,evp_bytestokey:151,inherits:159,"safe-buffer":190}],32:[function(t,e,r){function n(t){var e=u.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function i(t){this.h=t,this.state=u.alloc(16,0),this.cache=u.allocUnsafe(0)}var u=t("safe-buffer").Buffer,o=u.alloc(16,0);i.prototype.ghash=function(t){for(var e=-1;++e<t.length;)this.state[e]^=t[e];this._multiply()},i.prototype._multiply=function(){for(var t,e,r,i=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)],u=[0,0,0,0],o=-1;++o<128;){for(0!=(this.state[~~(o/8)]&1<<7-o%8)&&(u[0]^=i[0],u[1]^=i[1],u[2]^=i[2],u[3]^=i[3]),r=0!=(1&i[3]),e=3;e>0;e--)i[e]=i[e]>>>1|(1&i[e-1])<<31;i[0]=i[0]>>>1,r&&(i[0]=i[0]^225<<24)}this.state=n(u)},i.prototype.update=function(t){var e;for(this.cache=u.concat([this.cache,t]);16<=this.cache.length;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},i.prototype["final"]=function(t,e){return this.cache.length&&this.ghash(u.concat([this.cache,o],16)),this.ghash(n([0,t,0,e])),this.state},e.exports=i},{"safe-buffer":190}],33:[function(t,e,r){var n=t("buffer-xor");r.encrypt=function(t,e){var r=n(e,t._prev);return t._prev=t._cipher.encryptBlock(r),t._prev},r.decrypt=function(t,e){var r=t._prev;t._prev=e;var i=t._cipher.decryptBlock(e);return n(i,r)}},{"buffer-xor":44}],34:[function(t,e,r){function n(t,e,r){var n=e.length,o=u(e,t._cache);return t._cache=t._cache.slice(n),t._prev=i.concat([t._prev,r?e:o]),o}var i=t("safe-buffer").Buffer,u=t("buffer-xor");r.encrypt=function(t,e,r){for(var u,o=i.allocUnsafe(0);e.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=i.allocUnsafe(0)),!(t._cache.length<=e.length)){o=i.concat([o,n(t,e,r)]);break}u=t._cache.length,o=i.concat([o,n(t,e.slice(0,u),r)]),e=e.slice(u)}return o}},{"buffer-xor":44,"safe-buffer":190}],35:[function(t,e,r){function n(t,e,r){for(var n,u,o=-1,s=0;++o<8;)n=e&1<<7-o?128:0,s+=(128&(u=t._cipher.encryptBlock(t._prev)[0]^n))>>o%8,t._prev=i(t._prev,r?n:u);return s}function i(t,e){var r=t.length,n=-1,i=u.allocUnsafe(t.length);for(t=u.concat([t,u.from([e])]);++n<r;)i[n]=t[n]<<1|t[n+1]>>7;return i}var u=t("safe-buffer").Buffer;r.encrypt=function(t,e,r){for(var i=e.length,o=u.allocUnsafe(i),s=-1;++s<i;)o[s]=n(t,e[s],r);return o}},{"safe-buffer":190}],36:[function(t,e,r){(function(t){r.encrypt=function(e,r,n){for(var i,u,o,s,a=r.length,f=t.allocUnsafe(a),h=-1;++h<a;)f[h]=(i=e,u=r[h],o=n,s=i._cipher.encryptBlock(i._prev)[0]^u,i._prev=t.concat([i._prev.slice(1),t.from([o?u:s])]),s);return f}}).call(this,t("buffer").Buffer)},{buffer:45}],37:[function(t,e,r){(function(e){var n=t("buffer-xor");r.encrypt=function(t,r){var i,u,o=Math.ceil(r.length/16),s=t._cache.length;t._cache=e.concat([t._cache,e.allocUnsafe(16*o)]);for(var a=0;o>a;a++){var f=(u=(i=t)._cipher.encryptBlockRaw(i._prev),function(t){for(var e,r=t.length;r--;){if(255!==(e=t.readUInt8(r))){e++,t.writeUInt8(e,r);break}t.writeUInt8(0,r)}}(i._prev),u),h=s+16*a;t._cache.writeUInt32BE(f[0],h+0),t._cache.writeUInt32BE(f[1],h+4),t._cache.writeUInt32BE(f[2],h+8),t._cache.writeUInt32BE(f[3],h+12)}var c=t._cache.slice(0,r.length);return t._cache=t._cache.slice(r.length),n(r,c)}}).call(this,t("buffer").Buffer)},{buffer:45,"buffer-xor":44}],38:[function(t,e,r){r.encrypt=function(t,e){return t._cipher.encryptBlock(e)},r.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},{}],39:[function(t,e,r){var n={ECB:t("./ecb"),CBC:t("./cbc"),CFB:t("./cfb"),CFB8:t("./cfb8"),CFB1:t("./cfb1"),OFB:t("./ofb"),CTR:t("./ctr"),GCM:t("./ctr")},i=t("./list.json");for(var u in i)i[u].module=n[i[u].mode];e.exports=i},{"./cbc":33,"./cfb":34,"./cfb1":35,"./cfb8":36,"./ctr":37,"./ecb":38,"./list.json":40,"./ofb":41}],40:[function(t,e,r){e.exports={"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"}}},{}],41:[function(t,e,r){(function(e){var n=t("buffer-xor");r.encrypt=function(t,r){for(;t._cache.length<r.length;)t._cache=e.concat([t._cache,(i=t,i._prev=i._cipher.encryptBlock(i._prev),i._prev)]);var i,u=t._cache.slice(0,r.length);return t._cache=t._cache.slice(r.length),n(r,u)}}).call(this,t("buffer").Buffer)},{buffer:45,"buffer-xor":44}],42:[function(t,e,r){function n(t,e,r,n){o.call(this),this._cipher=new i.AES(e),this._prev=u.from(r),this._cache=u.allocUnsafe(0),this._secCache=u.allocUnsafe(0),this._decrypt=n,this._mode=t}var i=t("./aes"),u=t("safe-buffer").Buffer,o=t("cipher-base");t("inherits")(n,o),n.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},n.prototype._final=function(){this._cipher.scrub()},e.exports=n},{"./aes":27,"cipher-base":48,inherits:159,"safe-buffer":190}],43:[function(t,e,r){var n=t("base-x");e.exports=n("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},{"base-x":19}],44:[function(t,e,r){(function(t){e.exports=function(e,r){for(var n=Math.min(e.length,r.length),i=new t(n),u=0;n>u;++u)i[u]=e[u]^r[u];return i}}).call(this,t("buffer").Buffer)},{buffer:45}],45:[function(t,e,r){"use strict";function n(t){if(t>L)throw new RangeError("Invalid typed array length");var e=new Uint8Array(t);return e.__proto__=i.prototype,e}function i(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return s(t)}return u(t,e,r)}function u(t,e,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return M(t)?function(t,e,r){if(0>e||t.byteLength<e)throw new RangeError("'offset' is out of bounds");if(t.byteLength<e+(r||0))throw new RangeError("'length' is out of bounds");var n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),n.__proto__=i.prototype,n}(t,e,r):"string"==typeof t?function(t,e){if("string"==typeof e&&""!==e||(e="utf8"),!i.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,e),u=n(r),o=u.write(t,e);return o!==r&&(u=u.slice(0,o)),u}(t,e):function(t){if(i.isBuffer(t)){var e=0|f(t.length),r=n(e);return 0===r.length||t.copy(r,0,0,e),r}if(t){if(T(t)||"length"in t)return"number"!=typeof t.length||I(t.length)?n(0):a(t);if("Buffer"===t.type&&Array.isArray(t.data))return a(t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t)}function o(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(0>t)throw new RangeError('"size" argument must not be negative')}function s(t){return o(t),n(0>t?0:0|f(t))}function a(t){for(var e=t.length<0?0:0|f(t.length),r=n(e),i=0;e>i;i+=1)r[i]=255&t[i];return r}function f(t){if(t>=L)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+L.toString(16)+" bytes");return 0|t}function h(t,e){if(i.isBuffer(t))return t.length;if(T(t)||M(t))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return D(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return S(t).length;default:if(n)return D(t).length;e=(""+e).toLowerCase(),n=!0}}function c(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function l(t,e,r,n,u){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:-2147483648>r&&(r=-2147483648),I(r=+r)&&(r=u?0:t.length-1),0>r&&(r=t.length+r),r>=t.length){if(u)return-1;r=t.length-1}else if(0>r){if(!u)return-1;r=0}if("string"==typeof e&&(e=i.from(e,n)),i.isBuffer(e))return 0===e.length?-1:p(t,e,r,n,u);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?u?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):p(t,[e],r,n,u);throw new TypeError("val must be string, number or Buffer")}function p(t,e,r,n,i){function u(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}var o,s=1,a=t.length,f=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a/=s=2,f/=2,r/=2}if(i){var h=-1;for(o=r;a>o;o++)if(u(t,o)===u(e,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===f)return h*s}else-1!==h&&(o-=o-h),h=-1}else for(r+f>a&&(r=a-f),o=r;o>=0;o--){for(var c=!0,l=0;f>l;l++)if(u(t,o+l)!==u(e,l)){c=!1;break}if(c)return o}return-1}function d(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?i<(n=Number(n))&&(n=i):n=i;var u=e.length;if(u%2!=0)throw new TypeError("Invalid hex string");n>u/2&&(n=u/2);for(var o=0;n>o;++o){var s=parseInt(e.substr(2*o,2),16);if(I(s))return o;t[r+o]=s}return o}function m(t,e,r,n){return k(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function g(t,e,r){return 0===e&&r===t.length?j.fromByteArray(t):j.fromByteArray(t.slice(e,r))}function y(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;r>i;){var u,o,s,a,f=t[i],h=null,c=f>239?4:f>223?3:f>191?2:1;if(r>=i+c)switch(c){case 1:128>f&&(h=f);break;case 2:128==(192&(u=t[i+1]))&&127<(a=(31&f)<<6|63&u)&&(h=a);break;case 3:u=t[i+1],o=t[i+2],128==(192&u)&&128==(192&o)&&2047<(a=(15&f)<<12|(63&u)<<6|63&o)&&(55296>a||a>57343)&&(h=a);break;case 4:u=t[i+1],o=t[i+2],s=t[i+3],128==(192&u)&&128==(192&o)&&128==(192&s)&&65535<(a=(15&f)<<18|(63&u)<<12|(63&o)<<6|63&s)&&1114112>a&&(h=a)}null===h?(h=65533,c=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|1023&h),n.push(h),i+=c}return function(t){var e=t.length;if(U>=e)return String.fromCharCode.apply(String,t);for(var r="",n=0;e>n;)r+=String.fromCharCode.apply(String,t.slice(n,n+=U));return r}(n)}function b(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;r>i;++i)n+=String.fromCharCode(127&t[i]);return n}function v(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;r>i;++i)n+=String.fromCharCode(t[i]);return n}function _(t,e,r){var n=t.length;(!e||0>e)&&(e=0),(!r||0>r||r>n)&&(r=n);for(var i="",u=e;r>u;++u)i+=x(t[u]);return i}function w(t,e,r){for(var n=t.slice(e,r),i="",u=0;u<n.length;u+=2)i+=String.fromCharCode(n[u]+256*n[u+1]);return i}function E(t,e,r){if(t%1!=0||0>t)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function A(t,e,r,n,u,o){if(!i.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>u||o>e)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function B(t,e,r,n,i,u){if(r+n>t.length)throw new RangeError("Index out of range");if(0>r)throw new RangeError("Index out of range")}function C(t,e,r,n,i){return e=+e,r>>>=0,i||B(t,0,r,4),O.write(t,e,r,n,23,4),r+4}function F(t,e,r,n,i){return e=+e,r>>>=0,i||B(t,0,r,8),O.write(t,e,r,n,52,8),r+8}function x(t){return 16>t?"0"+t.toString(16):t.toString(16)}function D(t,e){var r;e=e||1/0;for(var n=t.length,i=null,u=[],o=0;n>o;++o){if(55295<(r=t.charCodeAt(o))&&57344>r){if(!i){if(r>56319){-1<(e-=3)&&u.push(239,191,189);continue}if(o+1===n){-1<(e-=3)&&u.push(239,191,189);continue}i=r;continue}if(56320>r){-1<(e-=3)&&u.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&-1<(e-=3)&&u.push(239,191,189);if(i=null,128>r){if((e-=1)<0)break;u.push(r)}else if(2048>r){if((e-=2)<0)break;u.push(r>>6|192,63&r|128)}else if(65536>r){if((e-=3)<0)break;u.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(1114112>r))throw new Error("Invalid code point");if((e-=4)<0)break;u.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return u}function S(t){return j.toByteArray(function(t){if((t=t.trim().replace(R,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function k(t,e,r,n){for(var i=0;n>i&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function M(t){return t instanceof ArrayBuffer||null!=t&&null!=t.constructor&&"ArrayBuffer"===t.constructor.name&&"number"==typeof t.byteLength}function T(t){return"function"==typeof ArrayBuffer.isView&&ArrayBuffer.isView(t)}function I(t){return t!=t}var j=t("base64-js"),O=t("ieee754");r.Buffer=i,r.SlowBuffer=function(t){return+t!=t&&(t=0),i.alloc(+t)},r.INSPECT_MAX_BYTES=50;var L=2147483647;r.kMaxLength=L,(i.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}())||"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."),"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),i.poolSize=8192,i.from=function(t,e,r){return u(t,e,r)},i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,i.alloc=function(t,e,r){return u=e,s=r,o(i=t),0>=i?n(i):void 0!==u?"string"==typeof s?n(i).fill(u,s):n(i).fill(u):n(i);var i,u,s},i.allocUnsafe=function(t){return s(t)},i.allocUnsafeSlow=function(t){return s(t)},i.isBuffer=function(t){return null!=t&&!0===t._isBuffer},i.compare=function(t,e){if(!i.isBuffer(t)||!i.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,u=0,o=Math.min(r,n);o>u;++u)if(t[u]!==e[u]){r=t[u],n=e[u];break}return n>r?-1:r>n?1:0},i.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return i.alloc(0);var r;if(void 0===e)for(r=e=0;r<t.length;++r)e+=t[r].length;var n=i.allocUnsafe(e),u=0;for(r=0;r<t.length;++r){var o=t[r];if(!i.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,u),u+=o.length}return n},i.byteLength=h,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;t>e;e+=2)c(this,e,e+1);return this},i.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;t>e;e+=4)c(this,e,e+3),c(this,e+1,e+2);return this},i.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;t>e;e+=8)c(this,e,e+7),c(this,e+1,e+6),c(this,e+2,e+5),c(this,e+3,e+4);return this},i.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?y(this,0,t):function(t,e,r){var n=!1;if((void 0===e||0>e)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),0>=r)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return _(this,e,r);case"utf8":case"utf-8":return y(this,e,r);case"ascii":return b(this,e,r);case"latin1":case"binary":return v(this,e,r);case"base64":return g(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}.apply(this,arguments)},i.prototype.equals=function(t){if(!i.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===i.compare(this,t)},i.prototype.inspect=function(){var t="",e=r.INSPECT_MAX_BYTES;return 0<this.length&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},i.prototype.compare=function(t,e,r,n,u){if(!i.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===u&&(u=this.length),0>e||r>t.length||0>n||u>this.length)throw new RangeError("out of range index");if(n>=u&&e>=r)return 0;if(n>=u)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(u>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0),a=Math.min(o,s),f=this.slice(n,u),h=t.slice(e,r),c=0;a>c;++c)if(f[c]!==h[c]){o=f[c],s=h[c];break}return s>o?-1:o>s?1:0},i.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},i.prototype.indexOf=function(t,e,r){return l(this,t,e,r,!0)},i.prototype.lastIndexOf=function(t,e,r){return l(this,t,e,r,!1)},i.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),0<t.length&&(0>r||0>e)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u,o,s,a,f,h,c,l,p,g=!1;;)switch(n){case"hex":return d(this,t,e,r);case"utf8":case"utf-8":return l=e,p=r,k(D(t,(c=this).length-l),c,l,p);case"ascii":return m(this,t,e,r);case"latin1":case"binary":return m(this,t,e,r);case"base64":return a=this,f=e,h=r,k(S(t),a,f,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o=e,s=r,k(function(t,e){for(var r,n,i,u=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,u.push(i),u.push(n);return u}(t,(u=this).length-o),u,o,s);default:if(g)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),g=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var U=4096;i.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),t>e&&(e=t);var n=this.subarray(t,e);return n.__proto__=i.prototype,n},i.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=this[t],i=1,u=0;++u<e&&(i*=256);)n+=this[t+u]*i;return n},i.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},i.prototype.readUInt8=function(t,e){return t>>>=0,e||E(t,1,this.length),this[t]},i.prototype.readUInt16LE=function(t,e){return t>>>=0,e||E(t,2,this.length),this[t]|this[t+1]<<8},i.prototype.readUInt16BE=function(t,e){return t>>>=0,e||E(t,2,this.length),this[t]<<8|this[t+1]},i.prototype.readUInt32LE=function(t,e){return t>>>=0,e||E(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},i.prototype.readUInt32BE=function(t,e){return t>>>=0,e||E(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},i.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=this[t],i=1,u=0;++u<e&&(i*=256);)n+=this[t+u]*i;return(i*=128)<=n&&(n-=Math.pow(2,8*e)),n},i.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=e,i=1,u=this[t+--n];n>0&&(i*=256);)u+=this[t+--n]*i;return(i*=128)<=u&&(u-=Math.pow(2,8*e)),u},i.prototype.readInt8=function(t,e){return t>>>=0,e||E(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},i.prototype.readInt16LE=function(t,e){t>>>=0,e||E(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt16BE=function(t,e){t>>>=0,e||E(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt32LE=function(t,e){return t>>>=0,e||E(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},i.prototype.readInt32BE=function(t,e){return t>>>=0,e||E(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},i.prototype.readFloatLE=function(t,e){return t>>>=0,e||E(t,4,this.length),O.read(this,t,!0,23,4)},i.prototype.readFloatBE=function(t,e){return t>>>=0,e||E(t,4,this.length),O.read(this,t,!1,23,4)},i.prototype.readDoubleLE=function(t,e){return t>>>=0,e||E(t,8,this.length),O.read(this,t,!0,52,8)},i.prototype.readDoubleBE=function(t,e){return t>>>=0,e||E(t,8,this.length),O.read(this,t,!1,52,8)},i.prototype.writeUIntLE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||A(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,u=0;for(this[e]=255&t;++u<r&&(i*=256);)this[e+u]=t/i&255;return e+r},i.prototype.writeUIntBE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||A(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,u=1;for(this[e+i]=255&t;0<=--i&&(u*=256);)this[e+i]=t/u&255;return e+r},i.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,1,255,0),this[e]=255&t,e+1},i.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},i.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},i.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},i.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},i.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);A(this,t,e,r,i-1,-i)}var u=0,o=1,s=0;for(this[e]=255&t;++u<r&&(o*=256);)0>t&&0===s&&0!==this[e+u-1]&&(s=1),this[e+u]=(t/o>>0)-s&255;return e+r},i.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);A(this,t,e,r,i-1,-i)}var u=r-1,o=1,s=0;for(this[e+u]=255&t;0<=--u&&(o*=256);)0>t&&0===s&&0!==this[e+u+1]&&(s=1),this[e+u]=(t/o>>0)-s&255;return e+r},i.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,1,127,-128),0>t&&(t=255+t+1),this[e]=255&t,e+1},i.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},i.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},i.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},i.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},i.prototype.writeFloatLE=function(t,e,r){return C(this,t,e,!0,r)},i.prototype.writeFloatBE=function(t,e,r){return C(this,t,e,!1,r)},i.prototype.writeDoubleLE=function(t,e,r){return F(this,t,e,!0,r)},i.prototype.writeDoubleBE=function(t,e,r){return F(this,t,e,!1,r)},i.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&r>n&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(0>e)throw new RangeError("targetStart out of bounds");if(0>r||r>=this.length)throw new RangeError("sourceStart out of bounds");if(0>n)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i,u=n-r;if(this===t&&e>r&&n>e)for(i=u-1;i>=0;--i)t[i+e]=this[i+r];else if(1e3>u)for(i=0;u>i;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+u),e);return u},i.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var u=t.charCodeAt(0);256>u&&(t=u)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!i.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(0>e||this.length<e||this.length<r)throw new RangeError("Out of range index");if(e>=r)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;r>o;++o)this[o]=t;else{var s=i.isBuffer(t)?t:new i(t,n),a=s.length;for(o=0;r-e>o;++o)this[o+e]=s[o%a]}return this};var R=/[^+\/0-9A-Za-z-_]/g},{"base64-js":20,ieee754:158}],46:[function(t,e,r){var n,i;n=this,i=function(t){"use strict";function e(t){var e=0;return function(){return e<t.length?t.charCodeAt(e++):null}}function r(){var t=[],e=[];return function(){return 0===arguments.length?e.join("")+a.apply(String,t):(1024<t.length+arguments.length&&(e.push(a.apply(String,t)),t.length=0),void Array.prototype.push.apply(t,arguments))}}function n(t,e,r,n,i){var u,o,s=8*i-n-1,a=(1<<s)-1,f=a>>1,h=-7,c=r?i-1:0,l=r?-1:1,p=t[e+c];for(c+=l,u=p&(1<<-h)-1,p>>=-h,h+=s;h>0;u=256*u+t[e+c],c+=l,h-=8);for(o=u&(1<<-h)-1,u>>=-h,h+=n;h>0;o=256*o+t[e+c],c+=l,h-=8);if(0===u)u=1-f;else{if(u===a)return o?0/0:1/0*(p?-1:1);o+=Math.pow(2,n),u-=f}return(p?-1:1)*o*Math.pow(2,u-n)}function i(t,e,r,n,i,u){var o,s,a,f=8*u-i-1,h=(1<<f)-1,c=h>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:u-1,d=n?1:-1,m=0>e||0===e&&0>1/e?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=h):(o=Math.floor(Math.log(e)/Math.LN2),e*(a=Math.pow(2,-o))<1&&(o--,a*=2),2<=(e+=o+c>=1?l/a:l*Math.pow(2,1-c))*a&&(o++,a/=2),o+c>=h?(s=0,o=h):o+c>=1?(s=(e*a-1)*Math.pow(2,i),o+=c):(s=e*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[r+p]=255&s,p+=d,s/=256,i-=8);for(o=o<<i|s,f+=i;f>0;t[r+p]=255&o,p+=d,o/=256,f-=8);t[r+p-d]|=128*m}var u=function(t,e,r){if(void 0===t&&(t=u.DEFAULT_CAPACITY),void 0===e&&(e=u.DEFAULT_ENDIAN),void 0===r&&(r=u.DEFAULT_NOASSERT),!r){if((t|=0)<0)throw RangeError("Illegal capacity");e=!!e,r=!!r}this.buffer=0===t?s:new ArrayBuffer(t),this.view=0===t?null:new Uint8Array(this.buffer),this.offset=0,this.markedOffset=-1,this.limit=t,this.littleEndian=e,this.noAssert=r};u.VERSION="5.0.1",u.LITTLE_ENDIAN=!0,u.BIG_ENDIAN=!1,u.DEFAULT_CAPACITY=16,u.DEFAULT_ENDIAN=u.BIG_ENDIAN,u.DEFAULT_NOASSERT=!1,u.Long=t||null;var o=u.prototype;o.__isByteBuffer__,Object.defineProperty(o,"__isByteBuffer__",{value:!0,enumerable:!1,configurable:!1});var s=new ArrayBuffer(0),a=String.fromCharCode;u.accessor=function(){return Uint8Array},u.allocate=function(t,e,r){return new u(t,e,r)},u.concat=function(t,e,r,n){"boolean"!=typeof e&&"string"==typeof e||(n=r,r=e,e=void 0);for(var i,o=0,s=0,a=t.length;a>s;++s)u.isByteBuffer(t[s])||(t[s]=u.wrap(t[s],e)),0<(i=t[s].limit-t[s].offset)&&(o+=i);if(0===o)return new u(0,r,n);var f,h=new u(o,r,n);for(s=0;a>s;)(i=(f=t[s++]).limit-f.offset)<=0||(h.view.set(f.view.subarray(f.offset,f.limit),h.offset),h.offset+=i);return h.limit=h.offset,h.offset=0,h},u.isByteBuffer=function(t){return!0===(t&&t.__isByteBuffer__)},u.type=function(){return ArrayBuffer},u.wrap=function(t,e,r,n){if("string"!=typeof e&&(n=r,r=e,e=void 0),"string"==typeof t)switch(void 0===e&&(e="utf8"),e){case"base64":return u.fromBase64(t,r);case"hex":return u.fromHex(t,r);case"binary":return u.fromBinary(t,r);case"utf8":return u.fromUTF8(t,r);case"debug":return u.fromDebug(t,r);default:throw Error("Unsupported encoding: "+e)}if(null===t||"object"!=typeof t)throw TypeError("Illegal buffer");var i;if(u.isByteBuffer(t))return(i=o.clone.call(t)).markedOffset=-1,i;if(t instanceof Uint8Array)i=new u(0,r,n),0<t.length&&(i.buffer=t.buffer,i.offset=t.byteOffset,i.limit=t.byteOffset+t.byteLength,i.view=new Uint8Array(t.buffer));else if(t instanceof ArrayBuffer)i=new u(0,r,n),0<t.byteLength&&(i.buffer=t,i.offset=0,i.limit=t.byteLength,i.view=0<t.byteLength?new Uint8Array(t):null);else{if("[object Array]"!==Object.prototype.toString.call(t))throw TypeError("Illegal buffer");(i=new u(t.length,r,n)).limit=t.length;for(var s=0;s<t.length;++s)i.view[s]=t[s]}return i},o.writeBitSet=function(t,e){var r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if(!(t instanceof Array))throw TypeError("Illegal BitSet: Not an array");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)}var n,i=e,u=t.length,o=u>>3,s=0;for(e+=this.writeVarint32(u,e);o--;)n=1&!!t[s++]|(1&!!t[s++])<<1|(1&!!t[s++])<<2|(1&!!t[s++])<<3|(1&!!t[s++])<<4|(1&!!t[s++])<<5|(1&!!t[s++])<<6|(1&!!t[s++])<<7,this.writeByte(n,e++);
  6. if(u>s){var a=0;for(n=0;u>s;)n|=(1&!!t[s++])<<a++;this.writeByte(n,e++)}return r?(this.offset=e,this):e-i},o.readBitSet=function(t){var e=void 0===t;e&&(t=this.offset);var r,n=this.readVarint32(t),i=n.value,u=i>>3,o=0,s=[];for(t+=n.length;u--;)r=this.readByte(t++),s[o++]=!!(1&r),s[o++]=!!(2&r),s[o++]=!!(4&r),s[o++]=!!(8&r),s[o++]=!!(16&r),s[o++]=!!(32&r),s[o++]=!!(64&r),s[o++]=!!(128&r);if(i>o){var a=0;for(r=this.readByte(t++);i>o;)s[o++]=!!(r>>a++&1)}return e&&(this.offset=t),s},o.readBytes=function(t,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+t>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+"+t+") <= "+this.buffer.byteLength)}var n=this.slice(e,e+t);return r&&(this.offset+=t),n},o.writeBytes=o.append,o.writeInt8=function(t,e){var r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t|=0,"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)}e+=1;var n=this.buffer.byteLength;return e>n&&this.resize((n*=2)>e?n:e),e-=1,this.view[e]=t,r&&(this.offset+=1),this},o.writeByte=o.writeInt8,o.readInt8=function(t){var e=void 0===t;if(e&&(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 r=this.view[t];return 128==(128&r)&&(r=-(255-r+1)),e&&(this.offset+=1),r},o.readByte=o.readInt8,o.writeUint8=function(t,e){var r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t>>>=0,"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)}e+=1;var n=this.buffer.byteLength;return e>n&&this.resize((n*=2)>e?n:e),e-=1,this.view[e]=t,r&&(this.offset+=1),this},o.writeUInt8=o.writeUint8,o.readUint8=function(t){var e=void 0===t;if(e&&(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 r=this.view[t];return e&&(this.offset+=1),r},o.readUInt8=o.readUint8,o.writeInt16=function(t,e){var r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t|=0,"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)}e+=2;var n=this.buffer.byteLength;return e>n&&this.resize((n*=2)>e?n:e),e-=2,this.littleEndian?(this.view[e+1]=(65280&t)>>>8,this.view[e]=255&t):(this.view[e]=(65280&t)>>>8,this.view[e+1]=255&t),r&&(this.offset+=2),this},o.writeShort=o.writeInt16,o.readInt16=function(t){var e=void 0===t;if(e&&(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+2>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+2) <= "+this.buffer.byteLength)}var r=0;return this.littleEndian?(r=this.view[t],r|=this.view[t+1]<<8):(r=this.view[t]<<8,r|=this.view[t+1]),32768==(32768&r)&&(r=-(65535-r+1)),e&&(this.offset+=2),r},o.readShort=o.readInt16,o.writeUint16=function(t,e){var r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t>>>=0,"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)}e+=2;var n=this.buffer.byteLength;return e>n&&this.resize((n*=2)>e?n:e),e-=2,this.littleEndian?(this.view[e+1]=(65280&t)>>>8,this.view[e]=255&t):(this.view[e]=(65280&t)>>>8,this.view[e+1]=255&t),r&&(this.offset+=2),this},o.writeUInt16=o.writeUint16,o.readUint16=function(t){var e=void 0===t;if(e&&(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+2>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+2) <= "+this.buffer.byteLength)}var r=0;return this.littleEndian?(r=this.view[t],r|=this.view[t+1]<<8):(r=this.view[t]<<8,r|=this.view[t+1]),e&&(this.offset+=2),r},o.readUInt16=o.readUint16,o.writeInt32=function(t,e){var r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t|=0,"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)}e+=4;var n=this.buffer.byteLength;return e>n&&this.resize((n*=2)>e?n:e),e-=4,this.littleEndian?(this.view[e+3]=t>>>24&255,this.view[e+2]=t>>>16&255,this.view[e+1]=t>>>8&255,this.view[e]=255&t):(this.view[e]=t>>>24&255,this.view[e+1]=t>>>16&255,this.view[e+2]=t>>>8&255,this.view[e+3]=255&t),r&&(this.offset+=4),this},o.writeInt=o.writeInt32,o.readInt32=function(t){var e=void 0===t;if(e&&(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+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+4) <= "+this.buffer.byteLength)}var r=0;return this.littleEndian?(r=this.view[t+2]<<16,r|=this.view[t+1]<<8,r|=this.view[t],r+=this.view[t+3]<<24>>>0):(r=this.view[t+1]<<16,r|=this.view[t+2]<<8,r|=this.view[t+3],r+=this.view[t]<<24>>>0),r|=0,e&&(this.offset+=4),r},o.readInt=o.readInt32,o.writeUint32=function(t,e){var r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t>>>=0,"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)}e+=4;var n=this.buffer.byteLength;return e>n&&this.resize((n*=2)>e?n:e),e-=4,this.littleEndian?(this.view[e+3]=t>>>24&255,this.view[e+2]=t>>>16&255,this.view[e+1]=t>>>8&255,this.view[e]=255&t):(this.view[e]=t>>>24&255,this.view[e+1]=t>>>16&255,this.view[e+2]=t>>>8&255,this.view[e+3]=255&t),r&&(this.offset+=4),this},o.writeUInt32=o.writeUint32,o.readUint32=function(t){var e=void 0===t;if(e&&(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+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+4) <= "+this.buffer.byteLength)}var r=0;return this.littleEndian?(r=this.view[t+2]<<16,r|=this.view[t+1]<<8,r|=this.view[t],r+=this.view[t+3]<<24>>>0):(r=this.view[t+1]<<16,r|=this.view[t+2]<<8,r|=this.view[t+3],r+=this.view[t]<<24>>>0),e&&(this.offset+=4),r},o.readUInt32=o.readUint32,t&&(o.writeInt64=function(e,r){var n=void 0===r;if(n&&(r=this.offset),!this.noAssert){if("number"==typeof e)e=t.fromNumber(e);else if("string"==typeof e)e=t.fromString(e);else if(!(e&&e instanceof t))throw TypeError("Illegal value: "+e+" (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 e?e=t.fromNumber(e):"string"==typeof e&&(e=t.fromString(e)),r+=8;var i=this.buffer.byteLength;r>i&&this.resize((i*=2)>r?i:r),r-=8;var u=e.low,o=e.high;return this.littleEndian?(this.view[r+3]=u>>>24&255,this.view[r+2]=u>>>16&255,this.view[r+1]=u>>>8&255,this.view[r]=255&u,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]=u>>>24&255,this.view[r+1]=u>>>16&255,this.view[r+2]=u>>>8&255,this.view[r+3]=255&u),n&&(this.offset+=8),this},o.writeLong=o.writeInt64,o.readInt64=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+8>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+8) <= "+this.buffer.byteLength)}var n=0,i=0;this.littleEndian?(n=this.view[e+2]<<16,n|=this.view[e+1]<<8,n|=this.view[e],n+=this.view[e+3]<<24>>>0,e+=4,i=this.view[e+2]<<16,i|=this.view[e+1]<<8,i|=this.view[e],i+=this.view[e+3]<<24>>>0):(i=this.view[e+1]<<16,i|=this.view[e+2]<<8,i|=this.view[e+3],i+=this.view[e]<<24>>>0,e+=4,n=this.view[e+1]<<16,n|=this.view[e+2]<<8,n|=this.view[e+3],n+=this.view[e]<<24>>>0);var u=new t(n,i,!1);return r&&(this.offset+=8),u},o.readLong=o.readInt64,o.writeUint64=function(e,r){var n=void 0===r;if(n&&(r=this.offset),!this.noAssert){if("number"==typeof e)e=t.fromNumber(e);else if("string"==typeof e)e=t.fromString(e);else if(!(e&&e instanceof t))throw TypeError("Illegal value: "+e+" (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 e?e=t.fromNumber(e):"string"==typeof e&&(e=t.fromString(e)),r+=8;var i=this.buffer.byteLength;r>i&&this.resize((i*=2)>r?i:r),r-=8;var u=e.low,o=e.high;return this.littleEndian?(this.view[r+3]=u>>>24&255,this.view[r+2]=u>>>16&255,this.view[r+1]=u>>>8&255,this.view[r]=255&u,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]=u>>>24&255,this.view[r+1]=u>>>16&255,this.view[r+2]=u>>>8&255,this.view[r+3]=255&u),n&&(this.offset+=8),this},o.writeUInt64=o.writeUint64,o.readUint64=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+8>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+8) <= "+this.buffer.byteLength)}var n=0,i=0;this.littleEndian?(n=this.view[e+2]<<16,n|=this.view[e+1]<<8,n|=this.view[e],n+=this.view[e+3]<<24>>>0,e+=4,i=this.view[e+2]<<16,i|=this.view[e+1]<<8,i|=this.view[e],i+=this.view[e+3]<<24>>>0):(i=this.view[e+1]<<16,i|=this.view[e+2]<<8,i|=this.view[e+3],i+=this.view[e]<<24>>>0,e+=4,n=this.view[e+1]<<16,n|=this.view[e+2]<<8,n|=this.view[e+3],n+=this.view[e]<<24>>>0);var u=new t(n,i,!0);return r&&(this.offset+=8),u},o.readUInt64=o.readUint64),o.writeFloat32=function(t,e){var r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t)throw TypeError("Illegal value: "+t+" (not a number)");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)}e+=4;var n=this.buffer.byteLength;return e>n&&this.resize((n*=2)>e?n:e),e-=4,i(this.view,t,e,this.littleEndian,23,4),r&&(this.offset+=4),this},o.writeFloat=o.writeFloat32,o.readFloat32=function(t){var e=void 0===t;if(e&&(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+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+4) <= "+this.buffer.byteLength)}var r=n(this.view,t,this.littleEndian,23,4);return e&&(this.offset+=4),r},o.readFloat=o.readFloat32,o.writeFloat64=function(t,e){var r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t)throw TypeError("Illegal value: "+t+" (not a number)");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)}e+=8;var n=this.buffer.byteLength;return e>n&&this.resize((n*=2)>e?n:e),e-=8,i(this.view,t,e,this.littleEndian,52,8),r&&(this.offset+=8),this},o.writeDouble=o.writeFloat64,o.readFloat64=function(t){var e=void 0===t;if(e&&(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 r=n(this.view,t,this.littleEndian,52,8);return e&&(this.offset+=8),r},o.readDouble=o.readFloat64,u.MAX_VARINT32_BYTES=5,u.calculateVarint32=function(t){return(t>>>=0)<128?1:16384>t?2:1<<21>t?3:1<<28>t?4:5},u.zigZagEncode32=function(t){return((t|=0)<<1^t>>31)>>>0},u.zigZagDecode32=function(t){return t>>>1^-(1&t)|0},o.writeVarint32=function(t,e){var r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t|=0,"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)}var n,i=u.calculateVarint32(t);e+=i;var o=this.buffer.byteLength;for(e>o&&this.resize((o*=2)>e?o:e),e-=i,t>>>=0;t>=128;)n=127&t|128,this.view[e++]=n,t>>>=7;return this.view[e++]=t,r?(this.offset=e,this):i},o.writeVarint32ZigZag=function(t,e){return this.writeVarint32(u.zigZagEncode32(t),e)},o.readVarint32=function(t){var e=void 0===t;if(e&&(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 r,n=0,i=0;do{if(!this.noAssert&&t>this.limit){var u=Error("Truncated");throw u.truncated=!0,u}r=this.view[t++],5>n&&(i|=(127&r)<<7*n),++n}while(0!=(128&r));return i|=0,e?(this.offset=t,i):{value:i,length:n}},o.readVarint32ZigZag=function(t){var e=this.readVarint32(t);return"object"==typeof e?e.value=u.zigZagDecode32(e.value):e=u.zigZagDecode32(e),e},t&&(u.MAX_VARINT64_BYTES=10,u.calculateVarint64=function(e){"number"==typeof e?e=t.fromNumber(e):"string"==typeof e&&(e=t.fromString(e));var r=e.toInt()>>>0,n=e.shiftRightUnsigned(28).toInt()>>>0,i=e.shiftRightUnsigned(56).toInt()>>>0;return 0==i?0==n?16384>r?128>r?1:2:1<<21>r?3:4:16384>n?128>n?5:6:1<<21>n?7:8:128>i?9:10},u.zigZagEncode64=function(e){return"number"==typeof e?e=t.fromNumber(e,!1):"string"==typeof e?e=t.fromString(e,!1):!1!==e.unsigned&&(e=e.toSigned()),e.shiftLeft(1).xor(e.shiftRight(63)).toUnsigned()},u.zigZagDecode64=function(e){return"number"==typeof e?e=t.fromNumber(e,!1):"string"==typeof e?e=t.fromString(e,!1):!1!==e.unsigned&&(e=e.toSigned()),e.shiftRightUnsigned(1).xor(e.and(t.ONE).toSigned().negate()).toSigned()},o.writeVarint64=function(e,r){var n=void 0===r;if(n&&(r=this.offset),!this.noAssert){if("number"==typeof e)e=t.fromNumber(e);else if("string"==typeof e)e=t.fromString(e);else if(!(e&&e instanceof t))throw TypeError("Illegal value: "+e+" (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 e?e=t.fromNumber(e,!1):"string"==typeof e?e=t.fromString(e,!1):!1!==e.unsigned&&(e=e.toSigned());var i=u.calculateVarint64(e),o=e.toInt()>>>0,s=e.shiftRightUnsigned(28).toInt()>>>0,a=e.shiftRightUnsigned(56).toInt()>>>0;r+=i;var f=this.buffer.byteLength;switch(r>f&&this.resize((f*=2)>r?f:r),r-=i,i){case 10:this.view[r+9]=a>>>7&1;case 9:this.view[r+8]=9!==i?128|a:127&a;case 8:this.view[r+7]=8!==i?s>>>21|128:s>>>21&127;case 7:this.view[r+6]=7!==i?s>>>14|128:s>>>14&127;case 6:this.view[r+5]=6!==i?s>>>7|128:s>>>7&127;case 5:this.view[r+4]=5!==i?128|s:127&s;case 4:this.view[r+3]=4!==i?o>>>21|128:o>>>21&127;case 3:this.view[r+2]=3!==i?o>>>14|128:o>>>14&127;case 2:this.view[r+1]=2!==i?o>>>7|128:o>>>7&127;case 1:this.view[r]=1!==i?128|o:127&o}return n?(this.offset+=i,this):i},o.writeVarint64ZigZag=function(t,e){return this.writeVarint64(u.zigZagEncode64(t),e)},o.readVarint64=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,i=0,u=0,o=0,s=0;if(i=127&(s=this.view[e++]),128&s&&(i|=(127&(s=this.view[e++]))<<7,(128&s||this.noAssert&&void 0===s)&&(i|=(127&(s=this.view[e++]))<<14,(128&s||this.noAssert&&void 0===s)&&(i|=(127&(s=this.view[e++]))<<21,(128&s||this.noAssert&&void 0===s)&&(u=127&(s=this.view[e++]),(128&s||this.noAssert&&void 0===s)&&(u|=(127&(s=this.view[e++]))<<7,(128&s||this.noAssert&&void 0===s)&&(u|=(127&(s=this.view[e++]))<<14,(128&s||this.noAssert&&void 0===s)&&(u|=(127&(s=this.view[e++]))<<21,(128&s||this.noAssert&&void 0===s)&&(o=127&(s=this.view[e++]),(128&s||this.noAssert&&void 0===s)&&(o|=(127&(s=this.view[e++]))<<7,128&s||this.noAssert&&void 0===s))))))))))throw Error("Buffer overrun");var a=t.fromBits(i|u<<28,u>>>4|o<<24,!1);return r?(this.offset=e,a):{value:a,length:e-n}},o.readVarint64ZigZag=function(e){var r=this.readVarint64(e);return r&&r.value instanceof t?r.value=u.zigZagDecode64(r.value):r=u.zigZagDecode64(r),r}),o.writeCString=function(t,r){var n=void 0===r;n&&(r=this.offset);var i,u=t.length;if(!this.noAssert){if("string"!=typeof t)throw TypeError("Illegal str: Not a string");for(i=0;u>i;++i)if(0===t.charCodeAt(i))throw RangeError("Illegal str: Contains NULL-characters");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)}u=c.calculateUTF16asUTF8(e(t))[1],r+=u+1;var o=this.buffer.byteLength;return r>o&&this.resize((o*=2)>r?o:r),r-=u+1,c.encodeUTF16toUTF8(e(t),function(t){this.view[r++]=t}.bind(this)),this.view[r++]=0,n?(this.offset=r,this):u},o.readCString=function(t){var e=void 0===t;if(e&&(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,i=t,u=-1;return c.decodeUTF8toUTF16(function(){if(0===u)return null;if(t>=this.limit)throw RangeError("Illegal range: Truncated data, "+t+" < "+this.limit);return 0===(u=this.view[t++])?null:u}.bind(this),n=r(),!0),e?(this.offset=t,n()):{string:n(),length:t-i}},o.writeIString=function(t,r){var n=void 0===r;if(n&&(r=this.offset),!this.noAssert){if("string"!=typeof t)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 i,u=r;i=c.calculateUTF16asUTF8(e(t),this.noAssert)[1],r+=4+i;var o=this.buffer.byteLength;if(r>o&&this.resize((o*=2)>r?o:r),r-=4+i,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):(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),r+=4,c.encodeUTF16toUTF8(e(t),function(t){this.view[r++]=t}.bind(this)),r!==u+4+i)throw RangeError("Illegal range: Truncated data, "+r+" == "+(r+4+i));return n?(this.offset=r,this):r-u},o.readIString=function(t){var e=void 0===t;if(e&&(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+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+4) <= "+this.buffer.byteLength)}var r=t,n=this.readUint32(t),i=this.readUTF8String(n,u.METRICS_BYTES,t+=4);return t+=i.length,e?(this.offset=t,i.string):{string:i.string,length:t-r}},u.METRICS_CHARS="c",u.METRICS_BYTES="b",o.writeUTF8String=function(t,r){var n,i=void 0===r;if(i&&(r=this.offset),!this.noAssert){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 u=r;n=c.calculateUTF16asUTF8(e(t))[1],r+=n;var o=this.buffer.byteLength;return r>o&&this.resize((o*=2)>r?o:r),r-=n,c.encodeUTF16toUTF8(e(t),function(t){this.view[r++]=t}.bind(this)),i?(this.offset=r,this):r-u},o.writeString=o.writeUTF8String,u.calculateUTF8Chars=function(t){return c.calculateUTF16asUTF8(e(t))[0]},u.calculateUTF8Bytes=function(t){return c.calculateUTF16asUTF8(e(t))[1]},u.calculateString=u.calculateUTF8Bytes,o.readUTF8String=function(t,e,n){"number"==typeof e&&(n=e,e=void 0);var i=void 0===n;if(i&&(n=this.offset),void 0===e&&(e=u.METRICS_CHARS),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal length: "+t+" (not an integer)");if(t|=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 o,s=0,a=n;if(e===u.METRICS_CHARS){if(o=r(),c.decodeUTF8(function(){return t>s&&n<this.limit?this.view[n++]:null}.bind(this),function(t){++s,c.UTF8toUTF16(t,o)}),s!==t)throw RangeError("Illegal range: Truncated data, "+s+" == "+t);return i?(this.offset=n,o()):{string:o(),length:n-a}}if(e===u.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+t>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+"+t+") <= "+this.buffer.byteLength)}var f=n+t;if(c.decodeUTF8toUTF16(function(){return f>n?this.view[n++]:null}.bind(this),o=r(),this.noAssert),n!==f)throw RangeError("Illegal range: Truncated data, "+n+" == "+f);return i?(this.offset=n,o()):{string:o(),length:n-a}}throw TypeError("Unsupported metrics: "+e)},o.readString=o.readUTF8String,o.writeVString=function(t,r){var n=void 0===r;if(n&&(r=this.offset),!this.noAssert){if("string"!=typeof t)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 i,o,s=r;i=c.calculateUTF16asUTF8(e(t),this.noAssert)[1],o=u.calculateVarint32(i),r+=o+i;var a=this.buffer.byteLength;if(r>a&&this.resize((a*=2)>r?a:r),r-=o+i,r+=this.writeVarint32(i,r),c.encodeUTF16toUTF8(e(t),function(t){this.view[r++]=t}.bind(this)),r!==s+i+o)throw RangeError("Illegal range: Truncated data, "+r+" == "+(r+i+o));return n?(this.offset=r,this):r-s},o.readVString=function(t){var e=void 0===t;if(e&&(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 r=t,n=this.readVarint32(t),i=this.readUTF8String(n.value,u.METRICS_BYTES,t+=n.length);return t+=i.length,e?(this.offset=t,i.string):{string:i.string,length:t-r}},o.append=function(t,e,r){"number"!=typeof e&&"string"==typeof e||(r=e,e=void 0);var n=void 0===r;if(n&&(r=this.offset),!this.noAssert){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)}t instanceof u||(t=u.wrap(t,e));var i=t.limit-t.offset;if(0>=i)return this;r+=i;var o=this.buffer.byteLength;return r>o&&this.resize((o*=2)>r?o:r),r-=i,this.view.set(t.view.subarray(t.offset,t.limit),r),t.offset+=i,n&&(this.offset+=i),this},o.appendTo=function(t,e){return t.append(this,e),this},o.assert=function(t){return this.noAssert=!t,this},o.capacity=function(){return this.buffer.byteLength},o.clear=function(){return this.offset=0,this.limit=this.buffer.byteLength,this.markedOffset=-1,this},o.clone=function(t){var e=new u(0,this.littleEndian,this.noAssert);return t?(e.buffer=new ArrayBuffer(this.buffer.byteLength),e.view=new Uint8Array(e.buffer)):(e.buffer=this.buffer,e.view=this.view),e.offset=this.offset,e.markedOffset=this.markedOffset,e.limit=this.limit,e},o.compact=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,0>t||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}if(0===t&&e===this.buffer.byteLength)return this;var r=e-t;if(0===r)return this.buffer=s,this.view=null,0<=this.markedOffset&&(this.markedOffset-=t),this.offset=0,this.limit=0,this;var n=new ArrayBuffer(r),i=new Uint8Array(n);return i.set(this.view.subarray(t,e)),this.buffer=n,this.view=i,0<=this.markedOffset&&(this.markedOffset-=t),this.offset=0,this.limit=r,this},o.copy=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,0>t||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}if(t===e)return new u(0,this.littleEndian,this.noAssert);var r=e-t,n=new u(r,this.littleEndian,this.noAssert);return n.offset=0,n.limit=r,0<=n.markedOffset&&(n.markedOffset-=t),this.copyTo(n,0,t,e),n},o.copyTo=function(t,e,r,n){var i,o;if(!this.noAssert&&!u.isByteBuffer(t))throw TypeError("Illegal target: Not a ByteBuffer");if(e=(o=void 0===e)?t.offset:0|e,r=(i=void 0===r)?this.offset:0|r,n=void 0===n?this.limit:0|n,0>e||e>t.buffer.byteLength)throw RangeError("Illegal target range: 0 <= "+e+" <= "+t.buffer.byteLength);if(0>r||n>this.buffer.byteLength)throw RangeError("Illegal source range: 0 <= "+r+" <= "+this.buffer.byteLength);var s=n-r;return 0===s?t:(t.ensureCapacity(e+s),t.view.set(this.view.subarray(r,n),e),i&&(this.offset+=s),o&&(t.offset+=s),this)},o.ensureCapacity=function(t){var e=this.buffer.byteLength;return t>e?this.resize((e*=2)>t?e:t):this},o.fill=function(t,e,r){var n=void 0===e;if(n&&(e=this.offset),"string"==typeof t&&0<t.length&&(t=t.charCodeAt(0)),void 0===e&&(e=this.offset),void 0===r&&(r=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t|=0,"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,0>e||e>r||r>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+r+" <= "+this.buffer.byteLength)}if(e>=r)return this;for(;r>e;)this.view[e++]=t;return n&&(this.offset=e),this},o.flip=function(){return this.limit=this.offset,this.offset=0,this},o.mark=function(t){if(t=void 0===t?this.offset:t,!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)}return this.markedOffset=t,this},o.order=function(t){if(!this.noAssert&&"boolean"!=typeof t)throw TypeError("Illegal littleEndian: Not a boolean");return this.littleEndian=!!t,this},o.LE=function(t){return this.littleEndian=void 0===t||!!t,this},o.BE=function(t){return this.littleEndian=void 0!==t&&!t,this},o.prepend=function(t,e,r){"number"!=typeof e&&"string"==typeof e||(r=e,e=void 0);var n=void 0===r;if(n&&(r=this.offset),!this.noAssert){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)}t instanceof u||(t=u.wrap(t,e));var i=t.limit-t.offset;if(0>=i)return this;var o=i-r;if(o>0){var s=new ArrayBuffer(this.buffer.byteLength+o),a=new Uint8Array(s);a.set(this.view.subarray(r,this.buffer.byteLength),i),this.buffer=s,this.view=a,this.offset+=o,0<=this.markedOffset&&(this.markedOffset+=o),this.limit+=o,r+=o}else new Uint8Array(this.buffer);return this.view.set(t.view.subarray(t.offset,t.limit),r-i),t.offset=t.limit,n&&(this.offset-=i),this},o.prependTo=function(t,e){return t.prepend(this,e),this},o.printDebug=function(t){"function"!=typeof t&&(t=console.log.bind(console)),t(this.toString()+"\n-------------------------------------------------------------------\n"+this.toDebug(!0))},o.remaining=function(){return this.limit-this.offset},o.reset=function(){return 0<=this.markedOffset?(this.offset=this.markedOffset,this.markedOffset=-1):this.offset=0,this},o.resize=function(t){if(!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal capacity: "+t+" (not an integer)");if((t|=0)<0)throw RangeError("Illegal capacity: 0 <= "+t)}if(this.buffer.byteLength<t){var e=new ArrayBuffer(t),r=new Uint8Array(e);r.set(this.view),this.buffer=e,this.view=r}return this},o.reverse=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,0>t||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}return t===e||Array.prototype.reverse.call(this.view.subarray(t,e)),this},o.skip=function(t){if(!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal length: "+t+" (not an integer)");t|=0}var e=this.offset+t;if(!this.noAssert&&(0>e||e>this.buffer.byteLength))throw RangeError("Illegal length: 0 <= "+this.offset+" + "+t+" <= "+this.buffer.byteLength);return this.offset=e,this},o.slice=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,0>t||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}var r=this.clone();return r.offset=t,r.limit=e,r},o.toBuffer=function(t){var e=this.offset,r=this.limit;if(!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: Not an integer");if(e>>>=0,"number"!=typeof r||r%1!=0)throw TypeError("Illegal limit: Not an integer");if(r>>>=0,0>e||e>r||r>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+r+" <= "+this.buffer.byteLength)}if(!t&&0===e&&r===this.buffer.byteLength)return this.buffer;if(e===r)return s;var n=new ArrayBuffer(r-e);return new Uint8Array(n).set(new Uint8Array(this.buffer).subarray(e,r),0),n},o.toArrayBuffer=o.toBuffer,o.toString=function(t,e,r){if(void 0===t)return"ByteBufferAB(offset="+this.offset+",markedOffset="+this.markedOffset+",limit="+this.limit+",capacity="+this.capacity()+")";switch("number"==typeof t&&(r=e=t="utf8"),t){case"utf8":return this.toUTF8(e,r);case"base64":return this.toBase64(e,r);case"hex":return this.toHex(e,r);case"binary":return this.toBinary(e,r);case"debug":return this.toDebug();case"columns":return this.toColumns();default:throw Error("Unsupported encoding: "+t)}};var f=function(){for(var t={},e=[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,i=e.length;i>n;++n)r[e[n]]=n;
  7. return t.encode=function(t,r){for(var n,i;null!==(n=t());)r(e[n>>2&63]),i=(3&n)<<4,null!==(n=t())?(r(e[63&((i|=n>>4&15)|n>>4&15)]),i=(15&n)<<2,null!==(n=t())?(r(e[63&(i|n>>6&3)]),r(e[63&n])):(r(e[63&i]),r(61))):(r(e[63&i]),r(61),r(61))},t.decode=function(t,e){function n(t){throw Error("Illegal character code: "+t)}for(var i,u,o;null!==(i=t());)if(void 0===(u=r[i])&&n(i),null!==(i=t())&&(void 0===(o=r[i])&&n(i),e(u<<2>>>0|(48&o)>>4),null!==(i=t()))){if(void 0===(u=r[i])){if(61===i)break;n(i)}if(e((15&o)<<4>>>0|(60&u)>>2),null!==(i=t())){if(void 0===(o=r[i])){if(61===i)break;n(i)}e((3&u)<<6>>>0|o)}}},t.test=function(t){return/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(t)},t}();o.toBase64=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),e|=0,(t|=0)<0||e>this.capacity||t>e)throw RangeError("begin, end");var n;return f.encode(function(){return e>t?this.view[t++]:null}.bind(this),n=r()),n()},u.fromBase64=function(t,r){if("string"!=typeof t)throw TypeError("str");var n=new u(t.length/4*3,r),i=0;return f.decode(e(t),function(t){n.view[i++]=t}),n.limit=i,n},u.btoa=function(t){return u.fromBinary(t).toBase64()},u.atob=function(t){return u.fromBase64(t).toBinary()},o.toBinary=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),e|=0,(t|=0)<0||e>this.capacity()||t>e)throw RangeError("begin, end");if(t===e)return"";for(var r=[],n=[];e>t;)r.push(this.view[t++]),1024<=r.length&&(n.push(String.fromCharCode.apply(String,r)),r=[]);return n.join("")+String.fromCharCode.apply(String,r)},u.fromBinary=function(t,e){if("string"!=typeof t)throw TypeError("str");for(var r,n=0,i=t.length,o=new u(i,e);i>n;){if(255<(r=t.charCodeAt(n)))throw RangeError("illegal char code: "+r);o.view[n++]=r}return o.limit=i,o},o.toDebug=function(t){for(var e,r=-1,n=this.buffer.byteLength,i="",u="",o="";n>r;){if(-1!==r&&(i+=(e=this.view[r])<16?"0"+e.toString(16).toUpperCase():e.toString(16).toUpperCase(),t&&(u+=e>32&&127>e?String.fromCharCode(e):".")),++r,t&&r>0&&r%16==0&&r!==n){for(;i.length<51;)i+=" ";o+=i+u+"\n",i=u=""}i+=r===this.offset&&r===this.limit?r===this.markedOffset?"!":"|":r===this.offset?r===this.markedOffset?"[":"<":r===this.limit?r===this.markedOffset?"]":">":r===this.markedOffset?"'":t||0!==r&&r!==n?" ":""}if(t&&" "!==i){for(;i.length<51;)i+=" ";o+=i+u+"\n"}return t?o:i},u.fromDebug=function(t,e,r){for(var n,i,o=t.length,s=new u((o+1)/3|0,e,r),a=0,f=0,h=!1,c=!1,l=!1,p=!1,d=!1;o>a;){switch(n=t.charAt(a++)){case"!":if(!r){if(c||l||p){d=!0;break}c=l=p=!0}s.offset=s.markedOffset=s.limit=f,h=!1;break;case"|":if(!r){if(c||p){d=!0;break}c=p=!0}s.offset=s.limit=f,h=!1;break;case"[":if(!r){if(c||l){d=!0;break}c=l=!0}s.offset=s.markedOffset=f,h=!1;break;case"<":if(!r){if(c){d=!0;break}c=!0}s.offset=f,h=!1;break;case"]":if(!r){if(p||l){d=!0;break}p=l=!0}s.limit=s.markedOffset=f,h=!1;break;case">":if(!r){if(p){d=!0;break}p=!0}s.limit=f,h=!1;break;case"'":if(!r){if(l){d=!0;break}l=!0}s.markedOffset=f,h=!1;break;case" ":h=!1;break;default:if(!r&&h){d=!0;break}if(i=parseInt(n+t.charAt(a++),16),!r&&(isNaN(i)||0>i||i>255))throw TypeError("Illegal str: Not a debug encoded string");s.view[f++]=i,h=!0}if(d)throw TypeError("Illegal str: Invalid symbol at "+a)}if(!r){if(!c||!p)throw TypeError("Illegal str: Missing offset or limit");if(f<s.buffer.byteLength)throw TypeError("Illegal str: Not a debug encoded string (is it hex?) "+f+" < "+o)}return s},o.toHex=function(t,e){if(t=void 0===t?this.offset:t,e=void 0===e?this.limit:e,!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,0>t||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}for(var r,n=new Array(e-t);e>t;)(r=this.view[t++])<16?n.push("0",r.toString(16)):n.push(r.toString(16));return n.join("")},u.fromHex=function(t,e,r){if(!r){if("string"!=typeof t)throw TypeError("Illegal str: Not a string");if(t.length%2!=0)throw TypeError("Illegal str: Length not a multiple of 2")}for(var n,i=t.length,o=new u(i/2|0,e),s=0,a=0;i>s;s+=2){if(n=parseInt(t.substring(s,s+2),16),!r&&(!isFinite(n)||0>n||n>255))throw TypeError("Illegal str: Contains non-hex characters");o.view[a++]=n}return o.limit=a,o};var h,c=h={MAX_CODEPOINT:1114111,encodeUTF8:function(t,e){var r=null;for("number"==typeof t&&(r=t,t=function(){return null});null!==r||null!==(r=t());)128>r?e(127&r):(2048>r?e(r>>6&31|192):(65536>r?e(r>>12&15|224):(e(r>>18&7|240),e(r>>12&63|128)),e(r>>6&63|128)),e(63&r|128)),r=null},decodeUTF8:function(t,e){for(var r,n,i,u,o=function(t){t=t.slice(0,t.indexOf(null));var e=Error(t.toString());throw e.name="TruncatedError",e.bytes=t,e};null!==(r=t());)if(0==(128&r))e(r);else if(192==(224&r))null===(n=t())&&o([r,n]),e((31&r)<<6|63&n);else if(224==(240&r))(null===(n=t())||null===(i=t()))&&o([r,n,i]),e((15&r)<<12|(63&n)<<6|63&i);else{if(240!=(248&r))throw RangeError("Illegal starting byte: "+r);(null===(n=t())||null===(i=t())||null===(u=t()))&&o([r,n,i,u]),e((7&r)<<18|(63&n)<<12|(63&i)<<6|63&u)}},UTF16toUTF8:function(t,e){for(var r,n=null;null!==(r=null!==n?n:t());)r>=55296&&57343>=r&&null!==(n=t())&&n>=56320&&57343>=n?(e(1024*(r-55296)+n-56320+65536),n=null):e(r);null!==n&&e(n)},UTF8toUTF16:function(t,e){var r=null;for("number"==typeof t&&(r=t,t=function(){return null});null!==r||null!==(r=t());)65535>=r?e(r):(e(55296+((r-=65536)>>10)),e(r%1024+56320)),r=null},encodeUTF16toUTF8:function(t,e){h.UTF16toUTF8(t,function(t){h.encodeUTF8(t,e)})},decodeUTF8toUTF16:function(t,e){h.decodeUTF8(t,function(t){h.UTF8toUTF16(t,e)})},calculateCodePoint:function(t){return 128>t?1:2048>t?2:65536>t?3:4},calculateUTF8:function(t){for(var e,r=0;null!==(e=t());)r+=128>e?1:2048>e?2:65536>e?3:4;return r},calculateUTF16asUTF8:function(t){var e=0,r=0;return h.UTF16toUTF8(t,function(t){++e,r+=128>t?1:2048>t?2:65536>t?3:4}),[e,r]}};return o.toUTF8=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,0>t||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}var n;try{c.decodeUTF8toUTF16(function(){return e>t?this.view[t++]:null}.bind(this),n=r())}catch(n){if(t!==e)throw RangeError("Illegal range: Truncated data, "+t+" != "+e)}return n()},u.fromUTF8=function(t,r,n){if(!n&&"string"!=typeof t)throw TypeError("Illegal str: Not a string");var i=new u(c.calculateUTF16asUTF8(e(t),!0)[1],r,n),o=0;return c.encodeUTF16toUTF8(e(t),function(t){i.view[o++]=t}),i.limit=o,i},u},"function"==typeof t&&"object"==typeof e&&e&&e.exports?e.exports=function(){var e;try{e=t("long")}catch(e){}return i(e)}():(n.dcodeIO=n.dcodeIO||{}).ByteBuffer=i(n.dcodeIO.Long)},{"long":163}],47:[function(t,e,r){var n=t("upper-case"),i=t("no-case");e.exports=function(t,e,r){var u=i(t,e);return r||(u=u.replace(/ (?=\d)/g,"_")),u.replace(/ (.)/g,function(t,r){return n(r,e)})}},{"no-case":167,"upper-case":201}],48:[function(t,e,r){function n(t){u.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this["final"]=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}var i=t("safe-buffer").Buffer,u=t("stream").Transform,o=t("string_decoder").StringDecoder;t("inherits")(n,u),n.prototype.update=function(t,e,r){"string"==typeof t&&(t=i.from(t,e));var n=this._update(t);return this.hashMode?this:(r&&(n=this._toString(n,r)),n)},n.prototype.setAutoPadding=function(){},n.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},n.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},n.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},n.prototype._transform=function(t,e,r){var n;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(t){n=t}finally{r(n)}},n.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(t){e=t}t(e)},n.prototype._finalOrDigest=function(t){var e=this.__final()||i.alloc(0);return t&&(e=this._toString(e,t,!0)),e},n.prototype._toString=function(t,e,r){if(this._decoder||(this._decoder=new o(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var n=this._decoder.write(t);return r&&(n+=this._decoder.end()),n},e.exports=n},{inherits:159,"safe-buffer":190,stream:199,string_decoder:200}],49:[function(t,e,r){t("../modules/web.dom.iterable"),t("../modules/es6.string.iterator"),e.exports=t("../modules/core.get-iterator")},{"../modules/core.get-iterator":110,"../modules/es6.string.iterator":114,"../modules/web.dom.iterable":118}],50:[function(t,e,r){t("../modules/web.dom.iterable"),t("../modules/es6.string.iterator"),e.exports=t("../modules/core.is-iterable")},{"../modules/core.is-iterable":111,"../modules/es6.string.iterator":114,"../modules/web.dom.iterable":118}],51:[function(t,e,r){t("../../modules/es6.symbol"),t("../../modules/es6.object.to-string"),t("../../modules/es7.symbol.async-iterator"),t("../../modules/es7.symbol.observable"),e.exports=t("../../modules/_core").Symbol},{"../../modules/_core":59,"../../modules/es6.object.to-string":113,"../../modules/es6.symbol":115,"../../modules/es7.symbol.async-iterator":116,"../../modules/es7.symbol.observable":117}],52:[function(t,e,r){t("../../modules/es6.string.iterator"),t("../../modules/web.dom.iterable"),e.exports=t("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":107,"../../modules/es6.string.iterator":114,"../../modules/web.dom.iterable":118}],53:[function(t,e,r){e.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],54:[function(t,e,r){e.exports=function(){}},{}],55:[function(t,e,r){var n=t("./_is-object");e.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},{"./_is-object":75}],56:[function(t,e,r){var n=t("./_to-iobject"),i=t("./_to-length"),u=t("./_to-absolute-index");e.exports=function(t){return function(e,r,o){var s,a=n(e),f=i(a.length),h=u(o,f);if(t&&r!=r){for(;f>h;)if((s=a[h++])!=s)return!0}else for(;f>h;h++)if((t||h in a)&&a[h]===r)return t||h||0;return!t&&-1}}},{"./_to-absolute-index":99,"./_to-iobject":101,"./_to-length":102}],57:[function(t,e,r){var n=t("./_cof"),i=t("./_wks")("toStringTag"),u="Arguments"==n(function(){return arguments}());e.exports=function(t){var e,r,o;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:u?n(e):"Object"==(o=n(e))&&"function"==typeof e.callee?"Arguments":o}},{"./_cof":58,"./_wks":108}],58:[function(t,e,r){var n={}.toString;e.exports=function(t){return n.call(t).slice(8,-1)}},{}],59:[function(t,e,r){var n=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},{}],60:[function(t,e,r){var n=t("./_a-function");e.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},{"./_a-function":53}],61:[function(t,e,r){e.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},{}],62:[function(t,e,r){e.exports=!t("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":67}],63:[function(t,e,r){var n=t("./_is-object"),i=t("./_global").document,u=n(i)&&n(i.createElement);e.exports=function(t){return u?i.createElement(t):{}}},{"./_global":68,"./_is-object":75}],64:[function(t,e,r){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],65:[function(t,e,r){var n=t("./_object-keys"),i=t("./_object-gops"),u=t("./_object-pie");e.exports=function(t){var e=n(t),r=i.f;if(r)for(var o,s=r(t),a=u.f,f=0;s.length>f;)a.call(t,o=s[f++])&&e.push(o);return e}},{"./_object-gops":88,"./_object-keys":91,"./_object-pie":92}],66:[function(t,e,r){var n=t("./_global"),i=t("./_core"),u=t("./_ctx"),o=t("./_hide"),s="prototype",a=function(t,e,r){var f,h,c,l=t&a.F,p=t&a.G,d=t&a.S,m=t&a.P,g=t&a.B,y=t&a.W,b=p?i:i[e]||(i[e]={}),v=b[s],_=p?n:d?n[e]:(n[e]||{})[s];for(f in p&&(r=e),r)(h=!l&&_&&void 0!==_[f])&&f in b||(c=h?_[f]:r[f],b[f]=p&&"function"!=typeof _[f]?r[f]:g&&h?u(c,n):y&&_[f]==c?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e[s]=t[s],e}(c):m&&"function"==typeof c?u(Function.call,c):c,m&&((b.virtual||(b.virtual={}))[f]=c,t&a.R&&v&&!v[f]&&o(v,f,c)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,e.exports=a},{"./_core":59,"./_ctx":60,"./_global":68,"./_hide":70}],67:[function(t,e,r){e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],68:[function(t,e,r){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},{}],69:[function(t,e,r){var n={}.hasOwnProperty;e.exports=function(t,e){return n.call(t,e)}},{}],70:[function(t,e,r){var n=t("./_object-dp"),i=t("./_property-desc");e.exports=t("./_descriptors")?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},{"./_descriptors":62,"./_object-dp":83,"./_property-desc":93}],71:[function(t,e,r){var n=t("./_global").document;e.exports=n&&n.documentElement},{"./_global":68}],72:[function(t,e,r){e.exports=!t("./_descriptors")&&!t("./_fails")(function(){return 7!=Object.defineProperty(t("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":62,"./_dom-create":63,"./_fails":67}],73:[function(t,e,r){var n=t("./_cof");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},{"./_cof":58}],74:[function(t,e,r){var n=t("./_cof");e.exports=Array.isArray||function(t){return"Array"==n(t)}},{"./_cof":58}],75:[function(t,e,r){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],76:[function(t,e,r){"use strict";var n=t("./_object-create"),i=t("./_property-desc"),u=t("./_set-to-string-tag"),o={};t("./_hide")(o,t("./_wks")("iterator"),function(){return this}),e.exports=function(t,e,r){t.prototype=n(o,{next:i(1,r)}),u(t,e+" Iterator")}},{"./_hide":70,"./_object-create":82,"./_property-desc":93,"./_set-to-string-tag":95,"./_wks":108}],77:[function(t,e,r){"use strict";var n=t("./_library"),i=t("./_export"),u=t("./_redefine"),o=t("./_hide"),s=t("./_has"),a=t("./_iterators"),f=t("./_iter-create"),h=t("./_set-to-string-tag"),c=t("./_object-gpo"),l=t("./_wks")("iterator"),p=!([].keys&&"next"in[].keys()),d="values",m=function(){return this};e.exports=function(t,e,r,g,y,b,v){f(r,e,g);var _,w,E,A=function(t){if(!p&&t in x)return x[t];switch(t){case"keys":case d:return function(){return new r(this,t)}}return function(){return new r(this,t)}},B=e+" Iterator",C=y==d,F=!1,x=t.prototype,D=x[l]||x["@@iterator"]||y&&x[y],S=D||A(y),k=y?C?A("entries"):S:void 0,M="Array"==e&&x.entries||D;if(M&&(E=c(M.call(new t)))!==Object.prototype&&E.next&&(h(E,B,!0),n||s(E,l)||o(E,l,m)),C&&D&&D.name!==d&&(F=!0,S=function(){return D.call(this)}),n&&!v||!p&&!F&&x[l]||o(x,l,S),a[e]=S,a[B]=m,y)if(_={values:C?S:A(d),keys:b?S:A("keys"),entries:k},v)for(w in _)w in x||u(x,w,_[w]);else i(i.P+i.F*(p||F),e,_);return _}},{"./_export":66,"./_has":69,"./_hide":70,"./_iter-create":76,"./_iterators":79,"./_library":80,"./_object-gpo":89,"./_redefine":94,"./_set-to-string-tag":95,"./_wks":108}],78:[function(t,e,r){e.exports=function(t,e){return{value:e,done:!!t}}},{}],79:[function(t,e,r){e.exports={}},{}],80:[function(t,e,r){e.exports=!0},{}],81:[function(t,e,r){var n=t("./_uid")("meta"),i=t("./_is-object"),u=t("./_has"),o=t("./_object-dp").f,s=0,a=Object.isExtensible||function(){return!0},f=!t("./_fails")(function(){return a(Object.preventExtensions({}))}),h=function(t){o(t,n,{value:{i:"O"+ ++s,w:{}}})},c=e.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,n)){if(!a(t))return"F";if(!e)return"E";h(t)}return t[n].i},getWeak:function(t,e){if(!u(t,n)){if(!a(t))return!0;if(!e)return!1;h(t)}return t[n].w},onFreeze:function(t){return f&&c.NEED&&a(t)&&!u(t,n)&&h(t),t}}},{"./_fails":67,"./_has":69,"./_is-object":75,"./_object-dp":83,"./_uid":105}],82:[function(t,e,r){var n=t("./_an-object"),i=t("./_object-dps"),u=t("./_enum-bug-keys"),o=t("./_shared-key")("IE_PROTO"),s=function(){},a="prototype",f=function(){var e,r=t("./_dom-create")("iframe"),n=u.length;for(r.style.display="none",t("./_html").appendChild(r),r.src="javascript:",(e=r.contentWindow.document).open(),e.write("<script>document.F=Object</script>"),e.close(),f=e.F;n--;)delete f[a][u[n]];return f()};e.exports=Object.create||function(t,e){var r;return null!==t?(s[a]=n(t),r=new s,s[a]=null,r[o]=t):r=f(),void 0===e?r:i(r,e)}},{"./_an-object":55,"./_dom-create":63,"./_enum-bug-keys":64,"./_html":71,"./_object-dps":84,"./_shared-key":96}],83:[function(t,e,r){var n=t("./_an-object"),i=t("./_ie8-dom-define"),u=t("./_to-primitive"),o=Object.defineProperty;r.f=t("./_descriptors")?Object.defineProperty:function(t,e,r){if(n(t),e=u(e,!0),n(r),i)try{return o(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},{"./_an-object":55,"./_descriptors":62,"./_ie8-dom-define":72,"./_to-primitive":104}],84:[function(t,e,r){var n=t("./_object-dp"),i=t("./_an-object"),u=t("./_object-keys");e.exports=t("./_descriptors")?Object.defineProperties:function(t,e){i(t);for(var r,o=u(e),s=o.length,a=0;s>a;)n.f(t,r=o[a++],e[r]);return t}},{"./_an-object":55,"./_descriptors":62,"./_object-dp":83,"./_object-keys":91}],85:[function(t,e,r){var n=t("./_object-pie"),i=t("./_property-desc"),u=t("./_to-iobject"),o=t("./_to-primitive"),s=t("./_has"),a=t("./_ie8-dom-define"),f=Object.getOwnPropertyDescriptor;r.f=t("./_descriptors")?f:function(t,e){if(t=u(t),e=o(e,!0),a)try{return f(t,e)}catch(t){}return s(t,e)?i(!n.f.call(t,e),t[e]):void 0}},{"./_descriptors":62,"./_has":69,"./_ie8-dom-define":72,"./_object-pie":92,"./_property-desc":93,"./_to-iobject":101,"./_to-primitive":104}],86:[function(t,e,r){var n=t("./_to-iobject"),i=t("./_object-gopn").f,u={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(t){return o&&"[object Window]"==u.call(t)?function(t){try{return i(t)}catch(t){return o.slice()}}(t):i(n(t))}},{"./_object-gopn":87,"./_to-iobject":101}],87:[function(t,e,r){var n=t("./_object-keys-internal"),i=t("./_enum-bug-keys").concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},{"./_enum-bug-keys":64,"./_object-keys-internal":90}],88:[function(t,e,r){r.f=Object.getOwnPropertySymbols},{}],89:[function(t,e,r){var n=t("./_has"),i=t("./_to-object"),u=t("./_shared-key")("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(t){return t=i(t),n(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},{"./_has":69,"./_shared-key":96,"./_to-object":103}],90:[function(t,e,r){var n=t("./_has"),i=t("./_to-iobject"),u=t("./_array-includes")(!1),o=t("./_shared-key")("IE_PROTO");e.exports=function(t,e){var r,s=i(t),a=0,f=[];for(r in s)r!=o&&n(s,r)&&f.push(r);for(;e.length>a;)n(s,r=e[a++])&&(~u(f,r)||f.push(r));return f}},{"./_array-includes":56,"./_has":69,"./_shared-key":96,"./_to-iobject":101}],91:[function(t,e,r){var n=t("./_object-keys-internal"),i=t("./_enum-bug-keys");e.exports=Object.keys||function(t){return n(t,i)}},{"./_enum-bug-keys":64,"./_object-keys-internal":90}],92:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],93:[function(t,e,r){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],94:[function(t,e,r){e.exports=t("./_hide")},{"./_hide":70}],95:[function(t,e,r){var n=t("./_object-dp").f,i=t("./_has"),u=t("./_wks")("toStringTag");e.exports=function(t,e,r){t&&!i(t=r?t:t.prototype,u)&&n(t,u,{configurable:!0,value:e})}},{"./_has":69,"./_object-dp":83,"./_wks":108}],96:[function(t,e,r){var n=t("./_shared")("keys"),i=t("./_uid");e.exports=function(t){return n[t]||(n[t]=i(t))}},{"./_shared":97,"./_uid":105}],97:[function(t,e,r){var n=t("./_global"),i="__core-js_shared__",u=n[i]||(n[i]={});e.exports=function(t){return u[t]||(u[t]={})}},{"./_global":68}],98:[function(t,e,r){var n=t("./_to-integer"),i=t("./_defined");e.exports=function(t){return function(e,r){var u,o,s=String(i(e)),a=n(r),f=s.length;return 0>a||a>=f?t?"":void 0:(u=s.charCodeAt(a))<55296||u>56319||a+1===f||(o=s.charCodeAt(a+1))<56320||o>57343?t?s.charAt(a):u:t?s.slice(a,a+2):o-56320+(u-55296<<10)+65536}}},{"./_defined":61,"./_to-integer":100}],99:[function(t,e,r){var n=t("./_to-integer"),i=Math.max,u=Math.min;e.exports=function(t,e){return(t=n(t))<0?i(t+e,0):u(t,e)}},{"./_to-integer":100}],100:[function(t,e,r){var n=Math.ceil,i=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},{}],101:[function(t,e,r){var n=t("./_iobject"),i=t("./_defined");e.exports=function(t){return n(i(t))}},{"./_defined":61,"./_iobject":73}],102:[function(t,e,r){var n=t("./_to-integer"),i=Math.min;e.exports=function(t){return t>0?i(n(t),9007199254740991):0}},{"./_to-integer":100}],103:[function(t,e,r){var n=t("./_defined");e.exports=function(t){return Object(n(t))}},{"./_defined":61}],104:[function(t,e,r){var n=t("./_is-object");e.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":75}],105:[function(t,e,r){var n=0,i=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},{}],106:[function(t,e,r){var n=t("./_global"),i=t("./_core"),u=t("./_library"),o=t("./_wks-ext"),s=t("./_object-dp").f;e.exports=function(t){var e=i.Symbol||(i.Symbol=u?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:o.f(t)})}},{"./_core":59,"./_global":68,"./_library":80,"./_object-dp":83,"./_wks-ext":107}],107:[function(t,e,r){r.f=t("./_wks")},{"./_wks":108}],108:[function(t,e,r){var n=t("./_shared")("wks"),i=t("./_uid"),u=t("./_global").Symbol,o="function"==typeof u;(e.exports=function(t){return n[t]||(n[t]=o&&u[t]||(o?u:i)("Symbol."+t))}).store=n},{"./_global":68,"./_shared":97,"./_uid":105}],109:[function(t,e,r){var n=t("./_classof"),i=t("./_wks")("iterator"),u=t("./_iterators");e.exports=t("./_core").getIteratorMethod=function(t){return null!=t?t[i]||t["@@iterator"]||u[n(t)]:void 0}},{"./_classof":57,"./_core":59,"./_iterators":79,"./_wks":108}],110:[function(t,e,r){var n=t("./_an-object"),i=t("./core.get-iterator-method");e.exports=t("./_core").getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return n(e.call(t))}},{"./_an-object":55,"./_core":59,"./core.get-iterator-method":109}],111:[function(t,e,r){var n=t("./_classof"),i=t("./_wks")("iterator"),u=t("./_iterators");e.exports=t("./_core").isIterable=function(t){var e=Object(t);return void 0!==e[i]||"@@iterator"in e||u.hasOwnProperty(n(e))}},{"./_classof":57,"./_core":59,"./_iterators":79,"./_wks":108}],112:[function(t,e,r){"use strict";var n=t("./_add-to-unscopables"),i=t("./_iter-step"),u=t("./_iterators"),o=t("./_to-iobject");e.exports=t("./_iter-define")(Array,"Array",function(t,e){this._t=o(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])},"values"),u.Arguments=u.Array,n("keys"),n("values"),n("entries")},{"./_add-to-unscopables":54,"./_iter-define":77,"./_iter-step":78,"./_iterators":79,"./_to-iobject":101}],113:[function(t,e,r){arguments[4][26][0].apply(r,arguments)},{dup:26}],114:[function(t,e,r){"use strict";var n=t("./_string-at")(!0);t("./_iter-define")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},{"./_iter-define":77,"./_string-at":98}],115:[function(t,e,r){"use strict";var n=t("./_global"),i=t("./_has"),u=t("./_descriptors"),o=t("./_export"),s=t("./_redefine"),a=t("./_meta").KEY,f=t("./_fails"),h=t("./_shared"),c=t("./_set-to-string-tag"),l=t("./_uid"),p=t("./_wks"),d=t("./_wks-ext"),m=t("./_wks-define"),g=t("./_enum-keys"),y=t("./_is-array"),b=t("./_an-object"),v=t("./_to-iobject"),_=t("./_to-primitive"),w=t("./_property-desc"),E=t("./_object-create"),A=t("./_object-gopn-ext"),B=t("./_object-gopd"),C=t("./_object-dp"),F=t("./_object-keys"),x=B.f,D=C.f,S=A.f,k=n.Symbol,M=n.JSON,T=M&&M.stringify,I="prototype",j=p("_hidden"),O=p("toPrimitive"),L={}.propertyIsEnumerable,U=h("symbol-registry"),R=h("symbols"),N=h("op-symbols"),q=Object[I],P="function"==typeof k,z=n.QObject,V=!z||!z[I]||!z[I].findChild,Z=u&&f(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=x(q,e);n&&delete q[e],D(t,e,r),n&&t!==q&&D(q,e,n)}:D,H=function(t){var e=R[t]=E(k[I]);return e._k=t,e},G=P&&"symbol"==typeof k.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof k},K=function(t,e,r){return t===q&&K(N,e,r),b(t),e=_(e,!0),b(r),i(R,e)?(r.enumerable?(i(t,j)&&t[j][e]&&(t[j][e]=!1),r=E(r,{enumerable:w(0,!1)})):(i(t,j)||D(t,j,w(1,{})),t[j][e]=!0),Z(t,e,r)):D(t,e,r)},W=function(t,e){b(t);for(var r,n=g(e=v(e)),i=0,u=n.length;u>i;)K(t,r=n[i++],e[r]);return t},X=function(t){var e=L.call(this,t=_(t,!0));return!(this===q&&i(R,t)&&!i(N,t))&&(!(e||!i(this,t)||!i(R,t)||i(this,j)&&this[j][t])||e)},Y=function(t,e){if(t=v(t),e=_(e,!0),t!==q||!i(R,e)||i(N,e)){var r=x(t,e);return!r||!i(R,e)||i(t,j)&&t[j][e]||(r.enumerable=!0),r}},J=function(t){for(var e,r=S(v(t)),n=[],u=0;r.length>u;)i(R,e=r[u++])||e==j||e==a||n.push(e);return n},$=function(t){for(var e,r=t===q,n=S(r?N:v(t)),u=[],o=0;n.length>o;)!i(R,e=n[o++])||r&&!i(q,e)||u.push(R[e]);return u};P||(s((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var t=l(0<arguments.length?arguments[0]:void 0),e=function(r){this===q&&e.call(N,r),i(this,j)&&i(this[j],t)&&(this[j][t]=!1),Z(this,t,w(1,r))};return u&&V&&Z(q,t,{configurable:!0,set:e}),H(t)})[I],"toString",function(){return this._k}),B.f=Y,C.f=K,t("./_object-gopn").f=A.f=J,t("./_object-pie").f=X,t("./_object-gops").f=$,u&&!t("./_library")&&s(q,"propertyIsEnumerable",X,!0),d.f=function(t){return H(p(t))}),o(o.G+o.W+o.F*!P,{Symbol:k});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;Q.length>te;)p(Q[te++]);for(var ee=F(p.store),re=0;ee.length>re;)m(ee[re++]);o(o.S+o.F*!P,"Symbol",{"for":function(t){return i(U,t+="")?U[t]:U[t]=k(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in U)if(U[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),o(o.S+o.F*!P,"Object",{create:function(t,e){return void 0===e?E(t):W(E(t),e)},defineProperty:K,defineProperties:W,getOwnPropertyDescriptor:Y,getOwnPropertyNames:J,getOwnPropertySymbols:$}),M&&o(o.S+o.F*(!P||f(function(){var t=k();return"[null]"!=T([t])||"{}"!=T({a:t})||"{}"!=T(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!G(t)){for(var e,r,n=[t],i=1;arguments.length>i;)n.push(arguments[i++]);return"function"==typeof(e=n[1])&&(r=e),!r&&y(e)||(e=function(t,e){return r&&(e=r.call(this,t,e)),G(e)?void 0:e}),n[1]=e,T.apply(M,n)}}}),k[I][O]||t("./_hide")(k[I],O,k[I].valueOf),c(k,"Symbol"),c(Math,"Math",!0),c(n.JSON,"JSON",!0)},{"./_an-object":55,"./_descriptors":62,"./_enum-keys":65,"./_export":66,"./_fails":67,"./_global":68,"./_has":69,"./_hide":70,"./_is-array":74,"./_library":80,"./_meta":81,"./_object-create":82,"./_object-dp":83,"./_object-gopd":85,"./_object-gopn":87,"./_object-gopn-ext":86,"./_object-gops":88,"./_object-keys":91,"./_object-pie":92,"./_property-desc":93,"./_redefine":94,"./_set-to-string-tag":95,"./_shared":97,"./_to-iobject":101,"./_to-primitive":104,"./_uid":105,"./_wks":108,"./_wks-define":106,"./_wks-ext":107}],116:[function(t,e,r){t("./_wks-define")("asyncIterator")},{"./_wks-define":106}],117:[function(t,e,r){t("./_wks-define")("observable")},{"./_wks-define":106}],118:[function(t,e,r){t("./es6.array.iterator");for(var n=t("./_global"),i=t("./_hide"),u=t("./_iterators"),o=t("./_wks")("toStringTag"),s="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(","),a=0;a<s.length;a++){var f=s[a],h=n[f],c=h&&h.prototype;c&&!c[o]&&i(c,o,f),u[f]=u.Array}},{"./_global":68,"./_hide":70,"./_iterators":79,"./_wks":108,"./es6.array.iterator":112}],119:[function(t,e,r){(function(t){function e(t){return Object.prototype.toString.call(t)}r.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===e(t)},r.isBoolean=function(t){return"boolean"==typeof t},r.isNull=function(t){return null===t},r.isNullOrUndefined=function(t){return null==t},r.isNumber=function(t){return"number"==typeof t},r.isString=function(t){return"string"==typeof t},r.isSymbol=function(t){return"symbol"==typeof t},r.isUndefined=function(t){return void 0===t},r.isRegExp=function(t){return"[object RegExp]"===e(t)},r.isObject=function(t){return"object"==typeof t&&null!==t},r.isDate=function(t){return"[object Date]"===e(t)},r.isError=function(t){return"[object Error]"===e(t)||t instanceof Error},r.isFunction=function(t){return"function"==typeof t},r.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},r.isBuffer=t.isBuffer}).call(this,{isBuffer:t("../../is-buffer/index.js")})},{"../../is-buffer/index.js":160}],120:[function(t,e,r){(function(r){"use strict";function n(t){f.call(this,"digest"),this._hash=t,this.buffers=[]}function i(t){f.call(this,"digest"),this._hash=t}var u=t("inherits"),o=t("./md5"),s=t("ripemd160"),a=t("sha.js"),f=t("cipher-base");u(n,f),n.prototype._update=function(t){this.buffers.push(t)},n.prototype._final=function(){var t=r.concat(this.buffers),e=this._hash(t);return this.buffers=null,e},u(i,f),i.prototype._update=function(t){this._hash.update(t)},i.prototype._final=function(){return this._hash.digest()},e.exports=function(t){return"md5"===(t=t.toLowerCase())?new n(o):new i("rmd160"===t||"ripemd160"===t?new s:a(t))}}).call(this,t("buffer").Buffer)},{"./md5":122,buffer:45,"cipher-base":48,inherits:159,ripemd160:189,"sha.js":192}],121:[function(t,e,r){(function(t){"use strict";var r=new t(4);r.fill(0),e.exports=function(e,n){var i=n(function(e){if(e.length%4!=0){var n=e.length+(4-e.length%4);e=t.concat([e,r],n)}for(var i=new Array(e.length>>>2),u=0,o=0;u<e.length;u+=4,o++)i[o]=e.readInt32LE(u);return i}(e),8*e.length);e=new t(16);for(var u=0;u<i.length;u++)e.writeInt32LE(i[u],u<<2,!0);return e}}).call(this,t("buffer").Buffer)},{buffer:45}],122:[function(t,e,r){"use strict";function n(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;for(var r=1732584193,n=-271733879,i=-1732584194,h=271733878,c=0;c<t.length;c+=16){var l=r,p=n,d=i,m=h;
  8. n=a(n=a(n=a(n=a(n=s(n=s(n=s(n=s(n=o(n=o(n=o(n=o(n=u(n=u(n=u(n=u(n,i=u(i,h=u(h,r=u(r,n,i,h,t[c+0],7,-680876936),n,i,t[c+1],12,-389564586),r,n,t[c+2],17,606105819),h,r,t[c+3],22,-1044525330),i=u(i,h=u(h,r=u(r,n,i,h,t[c+4],7,-176418897),n,i,t[c+5],12,1200080426),r,n,t[c+6],17,-1473231341),h,r,t[c+7],22,-45705983),i=u(i,h=u(h,r=u(r,n,i,h,t[c+8],7,1770035416),n,i,t[c+9],12,-1958414417),r,n,t[c+10],17,-42063),h,r,t[c+11],22,-1990404162),i=u(i,h=u(h,r=u(r,n,i,h,t[c+12],7,1804603682),n,i,t[c+13],12,-40341101),r,n,t[c+14],17,-1502002290),h,r,t[c+15],22,1236535329),i=o(i,h=o(h,r=o(r,n,i,h,t[c+1],5,-165796510),n,i,t[c+6],9,-1069501632),r,n,t[c+11],14,643717713),h,r,t[c+0],20,-373897302),i=o(i,h=o(h,r=o(r,n,i,h,t[c+5],5,-701558691),n,i,t[c+10],9,38016083),r,n,t[c+15],14,-660478335),h,r,t[c+4],20,-405537848),i=o(i,h=o(h,r=o(r,n,i,h,t[c+9],5,568446438),n,i,t[c+14],9,-1019803690),r,n,t[c+3],14,-187363961),h,r,t[c+8],20,1163531501),i=o(i,h=o(h,r=o(r,n,i,h,t[c+13],5,-1444681467),n,i,t[c+2],9,-51403784),r,n,t[c+7],14,1735328473),h,r,t[c+12],20,-1926607734),i=s(i,h=s(h,r=s(r,n,i,h,t[c+5],4,-378558),n,i,t[c+8],11,-2022574463),r,n,t[c+11],16,1839030562),h,r,t[c+14],23,-35309556),i=s(i,h=s(h,r=s(r,n,i,h,t[c+1],4,-1530992060),n,i,t[c+4],11,1272893353),r,n,t[c+7],16,-155497632),h,r,t[c+10],23,-1094730640),i=s(i,h=s(h,r=s(r,n,i,h,t[c+13],4,681279174),n,i,t[c+0],11,-358537222),r,n,t[c+3],16,-722521979),h,r,t[c+6],23,76029189),i=s(i,h=s(h,r=s(r,n,i,h,t[c+9],4,-640364487),n,i,t[c+12],11,-421815835),r,n,t[c+15],16,530742520),h,r,t[c+2],23,-995338651),i=a(i,h=a(h,r=a(r,n,i,h,t[c+0],6,-198630844),n,i,t[c+7],10,1126891415),r,n,t[c+14],15,-1416354905),h,r,t[c+5],21,-57434055),i=a(i,h=a(h,r=a(r,n,i,h,t[c+12],6,1700485571),n,i,t[c+3],10,-1894986606),r,n,t[c+10],15,-1051523),h,r,t[c+1],21,-2054922799),i=a(i,h=a(h,r=a(r,n,i,h,t[c+8],6,1873313359),n,i,t[c+15],10,-30611744),r,n,t[c+6],15,-1560198380),h,r,t[c+13],21,1309151649),i=a(i,h=a(h,r=a(r,n,i,h,t[c+4],6,-145523070),n,i,t[c+11],10,-1120210379),r,n,t[c+2],15,718787259),h,r,t[c+9],21,-343485551),r=f(r,l),n=f(n,p),i=f(i,d),h=f(h,m)}return[r,n,i,h]}function i(t,e,r,n,i,u){return f((o=f(f(e,t),f(n,u)))<<(s=i)|o>>>32-s,r);var o,s}function u(t,e,r,n,u,o,s){return i(e&r|~e&n,t,e,u,o,s)}function o(t,e,r,n,u,o,s){return i(e&n|r&~n,t,e,u,o,s)}function s(t,e,r,n,u,o,s){return i(e^r^n,t,e,u,o,s)}function a(t,e,r,n,u,o,s){return i(r^(e|~n),t,e,u,o,s)}function f(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}var h=t("./make-hash");e.exports=function(t){return h(t,n)}},{"./make-hash":121}],123:[function(t,e,r){"use strict";function n(t,e){o.call(this,"digest"),"string"==typeof e&&(e=s.from(e));var r="sha512"===t||"sha384"===t?128:64;this._alg=t,(this._key=e).length>r?e=("rmd160"===t?new f:h(t)).update(e).digest():e.length<r&&(e=s.concat([e,c],r));for(var n=this._ipad=s.allocUnsafe(r),i=this._opad=s.allocUnsafe(r),u=0;r>u;u++)n[u]=54^e[u],i[u]=92^e[u];this._hash="rmd160"===t?new f:h(t),this._hash.update(n)}var i=t("inherits"),u=t("./legacy"),o=t("cipher-base"),s=t("safe-buffer").Buffer,a=t("create-hash/md5"),f=t("ripemd160"),h=t("sha.js"),c=s.alloc(128);i(n,o),n.prototype._update=function(t){this._hash.update(t)},n.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new f:h(this._alg)).update(this._opad).update(t).digest()},e.exports=function(t,e){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new n("rmd160",e):"md5"===t?new u(a,e):new n(t,e)}},{"./legacy":124,"cipher-base":48,"create-hash/md5":122,inherits:159,ripemd160:189,"safe-buffer":190,"sha.js":192}],124:[function(t,e,r){"use strict";function n(t,e){o.call(this,"digest"),"string"==typeof e&&(e=u.from(e)),this._alg=t,64<(this._key=e).length?e=t(e):e.length<64&&(e=u.concat([e,s],64));for(var r=this._ipad=u.allocUnsafe(64),n=this._opad=u.allocUnsafe(64),i=0;64>i;i++)r[i]=54^e[i],n[i]=92^e[i];this._hash=[r]}var i=t("inherits"),u=t("safe-buffer").Buffer,o=t("cipher-base"),s=u.alloc(128);i(n,o),n.prototype._update=function(t){this._hash.push(t)},n.prototype._final=function(){var t=this._alg(u.concat(this._hash));return this._alg(u.concat([this._opad,t]))},e.exports=n},{"cipher-base":48,inherits:159,"safe-buffer":190}],125:[function(t,e,r){function n(t,e,r,n,i,s,a){this.p=t,this.a=e,this.b=r,this.G=o.fromAffine(this,n,i),this.n=s,this.h=a,this.infinity=new o(this,null,null,u.ZERO),this.pOverFour=t.add(u.ONE).shiftRight(2),this.pLength=Math.floor((this.p.bitLength()+7)/8)}var i=t("assert"),u=t("bigi"),o=t("./point");n.prototype.pointFromX=function(t,e){var r=e.pow(3).add(this.a.multiply(e)).add(this.b).mod(this.p).modPow(this.pOverFour,this.p),n=r;return r.isEven()^!t&&(n=this.p.subtract(n)),o.fromAffine(this,e,n)},n.prototype.isInfinity=function(t){return t===this.infinity||0===t.z.signum()&&0!==t.y.signum()},n.prototype.isOnCurve=function(t){if(this.isInfinity(t))return!0;var e=t.affineX,r=t.affineY,n=this.a,i=this.b,u=this.p;if(e.signum()<0||0<=e.compareTo(u))return!1;if(r.signum()<0||0<=r.compareTo(u))return!1;var o=r.square().mod(u),s=e.pow(3).add(n.multiply(e)).add(i).mod(u);return o.equals(s)},n.prototype.validate=function(t){i(!this.isInfinity(t),"Point is at infinity"),i(this.isOnCurve(t),"Point is not on the curve");var e=t.multiply(this.n);return i(this.isInfinity(e),"Point is not a scalar multiple of G"),!0},e.exports=n},{"./point":129,assert:11,bigi:23}],126:[function(t,e,r){e.exports={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"}}},{}],127:[function(t,e,r){var n=t("./point"),i=t("./curve"),u=t("./names");e.exports={Curve:i,Point:n,getCurveByName:u}},{"./curve":125,"./names":128,"./point":129}],128:[function(t,e,r){var n=t("bigi"),i=t("./curves.json"),u=t("./curve");e.exports=function(t){var e=i[t];if(!e)return null;var r=new n(e.p,16),o=new n(e.a,16),s=new n(e.b,16),a=new n(e.n,16),f=new n(e.h,16),h=new n(e.Gx,16),c=new n(e.Gy,16);return new u(r,o,s,h,c,a,f)}},{"./curve":125,"./curves.json":126,bigi:23}],129:[function(t,e,r){function n(t,e,r,n){i.notStrictEqual(n,void 0,"Missing Z coordinate"),this.curve=t,this.x=e,this.y=r,this.z=n,this._zInv=null,this.compressed=!0}var i=t("assert"),u=t("safe-buffer").Buffer,o=t("bigi"),s=o.valueOf(3);Object.defineProperty(n.prototype,"zInv",{get:function(){return null===this._zInv&&(this._zInv=this.z.modInverse(this.curve.p)),this._zInv}}),Object.defineProperty(n.prototype,"affineX",{get:function(){return this.x.multiply(this.zInv).mod(this.curve.p)}}),Object.defineProperty(n.prototype,"affineY",{get:function(){return this.y.multiply(this.zInv).mod(this.curve.p)}}),n.fromAffine=function(t,e,r){return new n(t,e,r,o.ONE)},n.prototype.equals=function(t){return t===this||(this.curve.isInfinity(this)?this.curve.isInfinity(t):this.curve.isInfinity(t)?this.curve.isInfinity(this):0===t.y.multiply(this.z).subtract(this.y.multiply(t.z)).mod(this.curve.p).signum()&&0===t.x.multiply(this.z).subtract(this.x.multiply(t.z)).mod(this.curve.p).signum())},n.prototype.negate=function(){var t=this.curve.p.subtract(this.y);return new n(this.curve,this.x,t,this.z)},n.prototype.add=function(t){if(this.curve.isInfinity(this))return t;if(this.curve.isInfinity(t))return this;var e=this.x,r=this.y,i=t.x,u=t.y.multiply(this.z).subtract(r.multiply(t.z)).mod(this.curve.p),o=i.multiply(this.z).subtract(e.multiply(t.z)).mod(this.curve.p);if(0===o.signum())return 0===u.signum()?this.twice():this.curve.infinity;var a=o.square(),f=a.multiply(o),h=e.multiply(a),c=u.square().multiply(this.z),l=c.subtract(h.shiftLeft(1)).multiply(t.z).subtract(f).multiply(o).mod(this.curve.p),p=h.multiply(s).multiply(u).subtract(r.multiply(f)).subtract(c.multiply(u)).multiply(t.z).add(u.multiply(f)).mod(this.curve.p),d=f.multiply(this.z).multiply(t.z).mod(this.curve.p);return new n(this.curve,l,p,d)},n.prototype.twice=function(){if(this.curve.isInfinity(this))return this;if(0===this.y.signum())return this.curve.infinity;var t=this.x,e=this.y,r=e.multiply(this.z).mod(this.curve.p),i=r.multiply(e).mod(this.curve.p),u=this.curve.a,o=t.square().multiply(s);0!==u.signum()&&(o=o.add(this.z.square().multiply(u)));var a=(o=o.mod(this.curve.p)).square().subtract(t.shiftLeft(3).multiply(i)).shiftLeft(1).multiply(r).mod(this.curve.p),f=o.multiply(s).multiply(t).subtract(i.shiftLeft(1)).shiftLeft(2).multiply(i).subtract(o.pow(3)).mod(this.curve.p),h=r.pow(3).shiftLeft(3).mod(this.curve.p);return new n(this.curve,a,f,h)},n.prototype.multiply=function(t){if(this.curve.isInfinity(this))return this;if(0===t.signum())return this.curve.infinity;for(var e=t,r=e.multiply(s),n=this.negate(),i=this,u=r.bitLength()-2;u>0;--u){var o=r.testBit(u),a=e.testBit(u);i=i.twice(),o!==a&&(i=i.add(o?this:n))}return i},n.prototype.multiplyTwo=function(t,e,r){for(var n=Math.max(t.bitLength(),r.bitLength())-1,i=this.curve.infinity,u=this.add(e);n>=0;){var o=t.testBit(n),s=r.testBit(n);i=i.twice(),o?i=s?i.add(u):i.add(this):s&&(i=i.add(e)),--n}return i},n.prototype.getEncoded=function(t){if(null==t&&(t=this.compressed),this.curve.isInfinity(this))return u.alloc(1,0);var e,r=this.affineX,n=this.affineY,i=this.curve.pLength;return t?(e=u.allocUnsafe(1+i)).writeUInt8(n.isEven()?2:3,0):((e=u.allocUnsafe(1+i+i)).writeUInt8(4,0),n.toBuffer(i).copy(e,1+i)),r.toBuffer(i).copy(e,1),e},n.decodeFrom=function(t,e){var r,u=e.readUInt8(0),s=4!==u,a=Math.floor((t.p.bitLength()+7)/8),f=o.fromBuffer(e.slice(1,1+a));if(s){i.equal(e.length,a+1,"Invalid sequence length"),i(2===u||3===u,"Invalid sequence tag");var h=3===u;r=t.pointFromX(h,f)}else{i.equal(e.length,1+a+a,"Invalid sequence length");var c=o.fromBuffer(e.slice(1+a));r=n.fromAffine(t,f,c)}return r.compressed=s,r},n.prototype.toString=function(){return this.curve.isInfinity(this)?"(INFINITY)":"("+this.affineX.toString()+","+this.affineY.toString()+")"},e.exports=n},{assert:11,bigi:23,"safe-buffer":190}],130:[function(t,e,r){e.exports={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":!1}},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":!1},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":!1},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:"active",vector:"pending",vector:"proposed"}},get_scheduled_transactions:{brief:"",params:{json:{type:"bool","default":!1},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]"}}},{}],131:[function(t,e,r){e.exports={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[]"}}}},{}],132:[function(t,e,r){"use strict";e.exports={chain:t("./chain.json"),history:t("./history.json")}},{"./chain.json":130,"./history.json":131}],133:[function(t,e,r){"use strict";function n(t,e,r,n){var i=n.logger;return function(){for(var u=arguments.length,s=Array(u),a=0;u>a;a++)s[a]=arguments[a];if(0!==s.length){var f=o(s,Object.keys(r.params||[]),t,function(t){return"boolean"==typeof t?{broadcast:t}:void 0}),h=f.params,c=(f.options,f.returnPromise),l=f.callback,p=JSON.stringify(h);i.log&&i.log("api >","post"," ",e,p);var d={body:p,method:"POST"};return Object.assign(d,n.fetchConfiguration),fetch(e,d).then(function(t){return 200<=t.status&&t.status<300?t.json():t.text().then(function(e){var r=new Error(e);throw r.status=t.status,r.statusText=t.statusText,r})}).then(function(t){i.log&&i.log("api <","response"," ",e,JSON.stringify(t));try{l(null,t)}catch(t){i.error&&i.error("api <","result callback",":",t)}})["catch"](function(t){var r="";try{r=JSON.parse(t.message).error.details[0]}catch(t){}i.error&&(i.error("api <","error"," ",r,e,p),i.error(t));try{l(t)}catch(t){i.error&&i.error("api <","error callback",":",t)}}),c}console.log(function(t,e){var r="",n=function(t){r+=t+"\n"};if(n("USAGE"),n(t+" - "+e.brief),n("\nPARAMETERS"),n(e.params?JSON.stringify(e.params,null,2):"none"),n("\nRETURNS"),n(e.results?""+JSON.stringify(e.results,null,2):"no data"),n("\nERRORS"),e.errors)for(var i in e.errors){var u=e.errors[i];n(i+(u?" - "+u:""))}else n("nothing special");return r}(t,r))}}t("isomorphic-fetch");var i=t("camel-case"),u=t("./exported-helpers"),o=t("./process-args");e.exports=function(t,e){function r(t,e){Object.keys(e).forEach(function(r){void 0===t[r]&&(t[r]=e[r])})}var o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},s={httpEndpoint:"http://127.0.0.1:8888",verbose:!1,logger:{log:function(){var t;return o.verbose?(t=console).log.apply(t,arguments):null},error:function(){var t;return o.verbose?(t=console).error.apply(t,arguments):null}}};r(o,s),r(o.logger,s.logger);var a={},f=o.httpEndpoint;for(var h in e)for(var c in e[h]){var l=i(c),p=f+"/"+t+"/"+h+"/"+c;a[l]=n(l,p,e[h][c],o)}var d=function(t){a[t]=function(){for(var e,r=arguments.length,n=Array(r),i=0;r>i;i++)n[i]=arguments[i];return(e=u.api)[t].apply(e,[a].concat(n))}};for(var m in u.api)d(m);return a}},{"./exported-helpers":134,"./process-args":136,"camel-case":47,"isomorphic-fetch":162}],134:[function(t,e,r){"use strict";e.exports={api:{createTransaction:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:60,r=arguments[2];if(!r)throw new TypeError("callback parameter is required");t.getInfo(n(r,function(i){var u=new Date(i.head_block_time+"Z");t.getBlock(i.last_irreversible_block_num,n(r,function(t){var n=new Date(u.getTime()+1e3*e),o=65535&i.last_irreversible_block_num,s={expiration:n.toISOString().split(".")[0],ref_block_num:o,ref_block_prefix:t.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,s)}))}))}}};var n=function(t,e){return function(r,n){r?t(r):e(n)}}},{}],135:[function(t,e,r){"use strict";var n=t("./api/v1"),i=t("./apigen"),u=t("./process-args"),o=function(t){return i("v1",n,t)};Object.assign(o,{processArgs:u,api:n,Testnet:function(t){return console.error("deprecated, change EosApi.Testnet(..) to just EosApi(..)"),o(t)},Localnet:function(t){return console.error("deprecated, change EosApi.Localnet(..) to just EosApi(..)"),o(t)}}),e.exports=o},{"./api/v1":132,"./apigen":133,"./process-args":136}],136:[function(t,e,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.exports=function(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"method",i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,u={},o={},s=e.length,a=void 0;"function"==typeof t[t.length-1]&&(a=t[t.length-1],t=t.slice(0,t.length-1));var f=void 0,h=void 0;if(a?f=function(t,e){t?a(t):a(null,e)}:h=new Promise(function(t,e){f=function(r,n){r?e(r):t(n)}}),"function"==typeof i&&0<t.length&&("object"===n(t[0])&&2===t.length||t.length===s+1)&&null!=(o=i(t[t.length-1]))&&(t=t.slice(0,t.length-1)),1===t.length&&"object"===n(t[0]))u=t[0];else{if(t.length>s)throw new TypeError(r+" is expecting "+s+" parameters but "+t.length+" where provided");var c=0,l=!0,p=!1,d=void 0;try{for(var m,g=e[Symbol.iterator]();!(l=(m=g.next()).done);l=!0){var y=m.value;u[y]=t[c],c++}}catch(t){p=!0,d=t}finally{try{!l&&g["return"]&&g["return"]()}finally{if(p)throw d}}}return{params:u,options:o,callback:f,returnPromise:h}}},{}],137:[function(t,e,r){(function(r){"use strict";function n(t,e,n,i,c){if(!(t=f(t)))throw new TypeError("private_key is required");if(!(e=a(e)))throw new TypeError("public_key is required");if(!(n=p(n)))throw new TypeError("nonce is required");if(!r.isBuffer(i)){if("string"!=typeof i)throw new TypeError("message should be buffer or string");i=new r(i,"binary")}if(c&&"number"!=typeof c)throw new TypeError("checksum should be a number");var l=t.getSharedSecret(e),m=new u(u.DEFAULT_CAPACITY,u.LITTLE_ENDIAN);m.writeUint64(n),m.append(l.toString("binary"),"binary"),m=new r(m.copy(0,m.offset).toBinary(),"binary");var g=h.sha512(m),y=g.slice(32,48),b=g.slice(0,32),v=h.sha256(g);if(v=v.slice(0,4),v=u.fromBinary(v.toString("binary"),u.DEFAULT_CAPACITY,u.LITTLE_ENDIAN).readUint32(),c){if(v!==c)throw new Error("Invalid key");i=function(t,e,n){s(t,"Missing cipher text"),t=d(t);var i=o.createDecipheriv("aes-256-cbc",e,n);return t=r.concat([i.update(t),i["final"]()])}(i,b,y)}else i=function(t,e,n){s(t,"Missing plain text"),t=d(t);var i=o.createCipheriv("aes-256-cbc",e,n);return t=r.concat([i.update(t),i["final"]()])}(i,b,y);return{nonce:n,message:i,checksum:v}}var i=t("randombytes"),u=t("bytebuffer"),o=t("browserify-aes"),s=t("assert"),a=t("./key_public"),f=t("./key_private"),h=t("./hash"),c=u.Long;e.exports={encrypt:function(t,e,r){var u=3<arguments.length&&void 0!==arguments[3]?arguments[3]:function(){if(null===l){var t=new Uint8Array(i(2));l=parseInt(t[0]<<8|t[1],10)}var e=c.fromNumber(Date.now()),r=++l%65535;return(e=e.shiftLeft(16).or(c.fromNumber(r))).toString()}();return n(t,e,u,r)},decrypt:function(t,e,r,i,u){return n(t,e,r,i,u).message}};var l=null,p=function(t){return t?c.isLong(t)?t:c.fromString(t):t},d=function(t){return t?r.isBuffer(t)?t:new r(t,"binary"):t}}).call(this,t("buffer").Buffer)},{"./hash":143,"./key_private":145,"./key_public":146,assert:11,"browserify-aes":29,buffer:45,bytebuffer:46,randombytes:173}],138:[function(t,e,r){"use strict";t("./aes");var n=t("./key_private"),i=t("./key_public"),u=t("./signature"),o=(t("./key_utils"),t("./hash")),s={initialize:n.initialize,unsafeRandomKey:function(){return n.unsafeRandomKey().then(function(t){return t.toString()})},randomKey:function(t){return n.randomKey(t).then(function(t){return t.toString()})},seedPrivate:function(t){return n.fromSeed(t).toString()},privateToPublic:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"EOS";return n(t).toPublic().toString(e)},isValidPublic:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"EOS";return i.isValid(t,e)},isValidPrivate:function(t){return n.isValid(t)},sign:function(t,e){var r=2<arguments.length&&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"),u.sign(t,e,r).toString()},signHash:function(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"hex";return u.signHash(t,e,r).toString()},verify:function(t,e,r){var n=3<arguments.length&&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"),(t=u.from(t)).verify(e,r,n)},verifyHash:function(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"hex";return(t=u.from(t)).verifyHash(e,r,n)},recover:function(t,e){var r=2<arguments.length&&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"),(t=u.from(t)).recover(e,r).toString()},recoverHash:function(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"hex";return(t=u.from(t)).recoverHash(e,r).toString()},sha256:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"hex";return o.sha256(t,e)}};e.exports=s},{"./aes":137,"./hash":143,"./key_private":145,"./key_public":146,"./key_utils":147,"./signature":149}],139:[function(t,e,r){"use strict";var n=t("./aes"),i=t("./key_private"),u=t("./key_public"),o=t("./signature"),s=t("./key_utils");e.exports={Aes:n,PrivateKey:i,PublicKey:u,Signature:o,key_utils:s}},{"./aes":137,"./key_private":145,"./key_public":146,"./key_utils":147,"./signature":149}],140:[function(t,e,r){(function(r){"use strict";function n(t,e,n,i,u){a("Buffer",e),a(f,n),u&&(e=s.sha256(r.concat([e,new r(u)]))),o.equal(e.length,32,"Hash must be 256 bit");var h=n.toBuffer(32),c=new r(32),l=new r(32);l.fill(1),c.fill(0),c=s.HmacSHA256(r.concat([l,new r([0]),h,e]),c),l=s.HmacSHA256(l,c),c=s.HmacSHA256(r.concat([l,new r([1]),h,e]),c),l=s.HmacSHA256(l,c),l=s.HmacSHA256(l,c);for(var p=f.fromBuffer(l);p.signum()<=0||0<=p.compareTo(t.n)||!i(p);)c=s.HmacSHA256(r.concat([l,new r([0])]),c),l=s.HmacSHA256(l,c),l=s.HmacSHA256(l,c),p=f.fromBuffer(l);return p}function i(t,e,r,n){var i=t.n,u=t.G,o=r.r,s=r.s;if(o.signum()<=0||0<=o.compareTo(i))return!1;if(s.signum()<=0||0<=s.compareTo(i))return!1;var a=s.modInverse(i),f=e.multiply(a).mod(i),h=o.multiply(a).mod(i),c=u.multiplyTwo(f,n,h);return!t.isInfinity(c)&&c.affineX.mod(i).equals(o)}function u(t,e,r,n){o.strictEqual(3&n,n,"Recovery param is more than two bits");var i=t.n,u=t.G,s=r.r,a=r.s;o(0<s.signum()&&s.compareTo(i)<0,"Invalid r value"),o(0<a.signum()&&a.compareTo(i)<0,"Invalid s value");var f=1&n,h=n>>1?s.add(i):s,c=t.pointFromX(f,h),l=c.multiply(i);o(t.isInfinity(l),"nR is not a valid curve point");var p=e.negate().mod(i),d=s.modInverse(i),m=c.multiplyTwo(a,u,p).multiply(d);return t.validate(m),m}var o=t("assert"),s=t("./hash"),a=t("./enforce_types"),f=t("bigi"),h=t("./ecsignature");e.exports={calcPubKeyRecoveryParam:function(t,e,r,n){for(var i=0;4>i;i++)if(u(t,e,r,i).equals(n))return i;throw new Error("Unable to find valid recovery factor")},deterministicGenerateK:n,recoverPubKey:u,sign:function(t,e,r,i){var u,o,s=f.fromBuffer(e),a=t.n,c=t.G,l=(n(t,e,r,function(e){var n=c.multiply(e);return!t.isInfinity(n)&&0!==(u=n.affineX.mod(a)).signum()&&0!==(o=e.modInverse(a).multiply(s.add(r.multiply(u))).mod(a)).signum()},i),a.shiftRight(1));return 0<o.compareTo(l)&&(o=a.subtract(o)),h(u,o)},verify:function(t,e,r,n){return i(t,f.fromBuffer(e),r,n)},verifyRaw:i}}).call(this,t("buffer").Buffer)},{"./ecsignature":141,"./enforce_types":142,"./hash":143,assert:11,bigi:23,buffer:45}],141:[function(t,e,r){(function(r){"use strict";function n(t,e){function n(){var n=t.toDERInteger(),i=e.toDERInteger(),u=[];return u.push(2,n.length),(u=u.concat(n)).push(2,i.length),(u=u.concat(i)).unshift(48,u.length),new r(u)}return u(o,t),u(o,e),{r:t,s:e,toCompact:function(n,i){i&&(n+=4),n+=27;var u=new r(65);return u.writeUInt8(n,0),t.toBuffer(32).copy(u,1),e.toBuffer(32).copy(u,33),u},toDER:n,toScriptSignature:function(t){var e=new r(1);return e.writeUInt8(t,0),r.concat([n(),e])}}}var i=t("assert"),u=t("./enforce_types"),o=t("bigi");n.parseCompact=function(t){i.equal(t.length,65,"Invalid signature length");var e=t.readUInt8(0)-27;return i.equal(e,7&e,"Invalid signature parameter"),{compressed:!!(4&e),i:e&=3,signature:n(o.fromBuffer(t.slice(1,33)),o.fromBuffer(t.slice(33)))}},n.fromDER=function(t){i.equal(t.readUInt8(0),48,"Not a DER sequence"),i.equal(t.readUInt8(1),t.length-2,"Invalid sequence length"),i.equal(t.readUInt8(2),2,"Expected a DER integer");var e=t.readUInt8(3);i(e>0,"R length is zero");var r=4+e;i.equal(t.readUInt8(r),2,"Expected a DER integer (2)");var u=t.readUInt8(r+1);i(u>0,"S length is zero");var s=t.slice(4,r),a=t.slice(r+2);r+=2+u,e>1&&0===s.readUInt8(0)&&i(128&s.readUInt8(1),"R value excessively padded"),u>1&&0===a.readUInt8(0)&&i(128&a.readUInt8(1),"S value excessively padded"),i.equal(r,t.length,"Invalid DER encoding");var f=o.fromDERInteger(s),h=o.fromDERInteger(a);return i(0<=f.signum(),"R value is negative"),i(0<=h.signum(),"S value is negative"),n(f,h)},n.parseScriptSignature=function(t){var e=t.readUInt8(t.length-1),r=-129&e;return i(r>0&&4>r,"Invalid hashType"),{signature:n.fromDER(t.slice(0,-1)),hashType:e}},e.exports=n}).call(this,t("buffer").Buffer)},{"./enforce_types":142,assert:11,bigi:23,buffer:45}],142:[function(t,e,r){(function(t){"use strict";function r(t){var e=t.toString().match(/function (.*?)\(/);return e?e[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,{isBuffer:t("../../is-buffer/index.js")})},{"../../is-buffer/index.js":160}],143:[function(t,e,r){"use strict";var n=t("create-hash"),i=t("create-hmac");e.exports={sha1:function(t,e){return n("sha1").update(t).digest(e)},sha256:function(t,e){return n("sha256").update(t).digest(e)},sha512:function(t,e){return n("sha512").update(t).digest(e)},HmacSHA256:function(t,e){return i("sha256",e).update(t).digest()},ripemd160:function(t){return n("rmd160").update(t).digest()}}},{"create-hash":120,"create-hmac":123}],144:[function(t,e,r){"use strict";var n=t("./api_common"),i=t("./api_object"),u=Object.assign({},n,i);e.exports=u},{"./api_common":138,"./api_object":139}],145:[function(t,e,r){(function(r){"use strict";function n(t){function e(){var t=i();return t=r.concat([new r([128]),t]),d.checkEncode(t,"sha256x2")}function i(){return t.toBuffer(32)}if("string"==typeof t)return n.fromString(t);if(r.isBuffer(t))return n.fromBuffer(t);if("object"===(void 0===t?"undefined":o(t))&&h.isBigInteger(t.d))return n(t.d);if(!h.isBigInteger(t))throw new TypeError("Invalid private key");var u=void 0;return{d:t,toWif:e,toString:function(){return e()},toPublic:function(){if(u)return u;var e=f.G.multiply(t);return u=p.fromPoint(e)},toBuffer:i,getSharedSecret:function(t){var e=(t=p(t)).toUncompressed().toBuffer(),r=a.fromAffine(f,h.fromBuffer(e.slice(1,33)),h.fromBuffer(e.slice(33,65))),n=i(),u=r.multiply(h.fromBuffer(n)).affineX.toBuffer({size:32});return l.sha512(u)},getChildKey:function(t){return n(m("sha256").update(i()).update(t).digest())}}}function i(t){c.equal(void 0===t?"undefined":o(t),"string","privateStr");
  9. var e=t.match(/^PVT_([A-Za-z0-9]+)_([A-Za-z0-9]+)$/);if(null===e){var r=d.checkDecode(t,"sha256x2"),i=r.readUInt8(0);return c.equal(128,i,"Expected version 128, instead got "+i),{privateKey:n.fromBuffer(r.slice(1)),format:"WIF",keyType:"K1"}}c(3===e.length,"Expecting private key like: PVT_K1_base58privateKey..");var s=u(e,3),a=s[1],f=s[2];return c.equal(a,"K1","K1 private key expected"),{privateKey:n.fromBuffer(d.checkDecode(f,a)),format:"PVT",keyType:a}}var u=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,u=void 0;try{for(var o,s=t[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!e||r.length!==e);n=!0);}catch(t){i=!0,u=t}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw u}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=t("ecurve"),a=s.Point,f=s.getCurveByName("secp256k1"),h=t("bigi"),c=t("assert"),l=t("./hash"),p=t("./key_public"),d=t("./key_utils"),m=t("create-hash"),g=t("./promise-async");f.G,f.n,(e.exports=n).fromHex=function(t){return n.fromBuffer(new r(t,"hex"))},n.fromBuffer=function(t){if(!r.isBuffer(t))throw new Error("Expecting parameter to be a Buffer type");if(33===t.length&&1===t[32]&&(t=t.slice(0,-1)),32!==t.length)throw new Error("Expecting 32 bytes, instead got "+t.length);return n(h.fromBuffer(t))},n.fromSeed=function(t){if("string"!=typeof t)throw new Error("seed must be of type string");return n.fromBuffer(l.sha256(t))},n.isWif=function(t){try{return c("WIF"===i(t).format),!0}catch(t){return!1}},n.isValid=function(t){try{return n(t),!0}catch(t){return!1}},n.fromWif=function(t){return console.log("PrivateKey.fromWif is deprecated, please use PrivateKey.fromString"),n.fromString(t)},n.fromString=function(t){return i(t).privateKey},n.randomKey=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return n.initialize().then(function(){return n.fromBuffer(d.random32ByteBuffer({cpuEntropyBits:t}))})};var y=!(n.unsafeRandomKey=function(){return Promise.resolve(n.fromBuffer(d.random32ByteBuffer({safe:!1})))});n.initialize=g(function(){y||(function(){var t=n(l.sha256("")),e="key comparison test failed on a known private key";c.equal(t.toWif(),"5KYZdUEo39z3FPrtuX2QbbwGnNP5zTd7yyr2SC1j299sBCnWjss",e),c.equal(t.toString(),"5KYZdUEo39z3FPrtuX2QbbwGnNP5zTd7yyr2SC1j299sBCnWjss",e);var r=t.toPublic();c.equal(r.toString(),"EOS859gxfnXyUriMgUeThh1fWv3oqcpLFyHa3TfFYC4PK2HqhToVM","pubkey string comparison test failed on a known public key"),b(function(){return n.fromString(t.toWif())},"converting known wif from string"),b(function(){return n.fromString(t.toString())},"converting known pvt from string"),b(function(){return p.fromString(r.toString())},"converting known public key from string"),!0}(),d.addEntropy.apply(d,function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(d.cpuEntropy())),c(128<=d.entropyCount(),"insufficient entropy"),y=!0)});var b=function(t,e){try{t()}catch(t){throw t.message=e+" ==> "+t.message,t}}}).call(this,t("buffer").Buffer)},{"./hash":143,"./key_public":146,"./key_utils":147,"./promise-async":148,assert:11,bigi:23,buffer:45,"create-hash":120,ecurve:127}],146:[function(t,e,r){(function(r){"use strict";function n(t){function e(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:t.compressed;return t.getEncoded(e)}var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"EOS";if("string"==typeof t){var d=n.fromString(t,i);return o(null!=d,"Invalid public key"),d}return r.isBuffer(t)?n.fromBuffer(t):"object"===(void 0===t?"undefined":u(t))&&t.Q?n(t.Q):(o.equal(void 0===t?"undefined":u(t),"object","Invalid public key"),o.equal(u(t.compressed),"boolean","Invalid public key"),{Q:t,toString:function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"EOS")+c.checkEncode(e())},toUncompressed:function(){var e=t.getEncoded(!1),r=s.Point.decodeFrom(f,e);return n.fromPoint(r)},toBuffer:e,child:function(i){console.error("Deprecated warning: PublicKey.child"),o(r.isBuffer(i),"Buffer required: offset"),o.equal(i.length,32,"offset length"),i=r.concat([e(),i]),i=h.sha256(i);var u=a.fromBuffer(i);if(0<=u.compareTo(p))throw new Error("Child offset went out of bounds, try again");var s=l.multiply(u),c=t.add(s);if(f.isInfinity(c))throw new Error("Child offset derived to an invalid key, try again");return n.fromPoint(c)},toHex:function(){return e().toString("hex")}})}var i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,u=void 0;try{for(var o,s=t[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!e||r.length!==e);n=!0);}catch(t){i=!0,u=t}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw u}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=t("assert"),s=t("ecurve"),a=t("bigi"),f=s.getCurveByName("secp256k1"),h=t("./hash"),c=t("./key_utils"),l=f.G,p=f.n;(e.exports=n).isValid=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"EOS";try{return n(t,e),!0}catch(t){return!1}},n.fromBinary=function(t){return n.fromBuffer(new r(t,"binary"))},n.fromBuffer=function(t){return n(s.Point.decodeFrom(f,t))},n.fromPoint=function(t){return n(t)},n.fromString=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"EOS";try{return n.fromStringOrThrow(t,e)}catch(t){return null}},n.fromStringOrThrow=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"EOS";o.equal(void 0===t?"undefined":u(t),"string","public_key");var r=t.match(/^PUB_([A-Za-z0-9]+)_([A-Za-z0-9]+)$/);if(null===r)return new RegExp("^"+e).test(t)&&(t=t.substring(e.length)),n.fromBuffer(c.checkDecode(t));o(3===r.length,"Expecting public key like: PUB_K1_base58pubkey..");var s=i(r,3),a=s[1],f=s[2];return o.equal(a,"K1","K1 private key expected"),n.fromBuffer(c.checkDecode(f,a))},n.fromHex=function(t){return n.fromBuffer(new r(t,"hex"))},n.fromStringHex=function(t){return n.fromString(new r(t,"hex"))}}).call(this,t("buffer").Buffer)},{"./hash":143,"./key_utils":147,assert:11,bigi:23,buffer:45,ecurve:127}],147:[function(t,e,r){(function(r){"use strict";function n(){for(var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:128,e=[],r=null,n=0;e.length<t;){var u=i();if(null!=r){var o=u-r;if(Math.abs(o)<1){n++;continue}var s=Math.floor(p(Math.abs(o))+1);if(4>s){2>s&&n++;continue}e.push(o)}r=u}if(n>10){var a=Number(n/t*100).toFixed(2);console.warn("WARN: "+a+"% low CPU entropy re-sampled")}return e}function i(){for(var t=Date.now(),e=0,r=0;Date.now()<t+7+1;)r=Math.sin(Math.sqrt(Math.log(++e+r)));return e}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=t("bs58"),s=t("assert"),a=t("randombytes"),f=t("./hash");e.exports={random32ByteBuffer:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=t.cpuEntropyBits,i=void 0===e?0:e,o=t.safe,h=void 0===o||o;s.equal(void 0===i?"undefined":u(i),"number","cpuEntropyBits"),s.equal(void 0===h?"undefined":u(h),"boolean","boolean"),h&&s(c>=128,"Call initialize() to add entropy");var p=[];return p.push(a(32)),p.push(r.from(n(i))),p.push(l),p.push(function(){var t=Array(a(101)).join();try{t+=(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 e,n=0;n<navigator.mimeTypes.length;n++)e=navigator.mimeTypes[n],t+=e.description+" "+e.type+" "+e.suffixes+" "}catch(e){t+=f.sha256((new Date).toString())}for(var i=new r(t),u=t+=i.toString("binary")+" "+(new Date).toString(),o=Date.now();Date.now()-o<25;)u=f.sha256(u);return u}()),f.sha256(r.concat(p))},addEntropy:function(){s.equal(l.length,101,"externalEntropyArray");for(var t=arguments.length,e=Array(t),r=0;t>r;r++)e[r]=arguments[r];c+=e.length;var n=!0,i=!1,u=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var f=o.value,p=h++%101,d=l[p]+=f;d>9007199254740991&&(l[p]=0)}}catch(t){i=!0,u=t}finally{try{!n&&a["return"]&&a["return"]()}finally{if(i)throw u}}},cpuEntropy:n,entropyCount:function(){return c},checkDecode:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;s(null!=t,"private key expected");var n=new r(o.decode(t)),i=n.slice(-4),u=n.slice(0,-4),a=void 0;if("sha256x2"===e)a=f.sha256(f.sha256(u)).slice(0,4);else{var h=[u];e&&h.push(r.from(e)),a=f.ripemd160(r.concat(h)).slice(0,4)}if(i.toString()!==a.toString())throw new Error("Invalid checksum, "+i.toString("hex")+" != "+a.toString("hex"));return u},checkEncode:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;if(s(r.isBuffer(t),"expecting keyBuffer<Buffer>"),"sha256x2"===e){var n=f.sha256(f.sha256(t)).slice(0,4);return o.encode(r.concat([t,n]))}var i=[t];e&&i.push(r.from(e));var u=f.ripemd160(r.concat(i)).slice(0,4);return o.encode(r.concat([t,u]))}};var h=0,c=0,l=a(101),p=function(t){return Math.log(t)/Math.LN2}}).call(this,t("buffer").Buffer)},{"./hash":143,assert:11,bs58:43,buffer:45,randombytes:173}],148:[function(t,e,r){"use strict";e.exports=function(t){return function(){for(var e=arguments.length,r=Array(e),n=0;e>n;n++)r[n]=arguments[n];return new Promise(function(e,n){setTimeout(function(){try{e(t.apply(void 0,r))}catch(e){n(e)}})})}}},{}],149:[function(t,e,r){(function(r){"use strict";function n(t,e,n){function i(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"utf8";return"string"==typeof t&&(t=r.from(t,n)),f(r.isBuffer(t),"data is a required String or Buffer"),u(t=s.sha256(t),e)}function u(n,i){var u=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"hex";if("string"==typeof n&&(n=r.from(n,u)),32!==n.length||!r.isBuffer(n))throw new Error("dataSha256: 32 bytes required");var s=l(i);return f(s,"pubkey required"),o.verify(a,n,{r:t,s:e},s.Q)}function p(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"utf8";return"string"==typeof t&&(t=r.from(t,e)),f(r.isBuffer(t),"data is a required String or Buffer"),d(t=s.sha256(t))}function d(i){var u=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"hex";if("string"==typeof i&&(i=r.from(i,u)),32!==i.length||!r.isBuffer(i))throw new Error("dataSha256: 32 byte String or buffer requred");var s=h.fromBuffer(i),f=n;f-=27,f&=3;var c=o.recoverPubKey(a,s,{r:t,s:e,i:n},f);return l.fromPoint(c)}function m(){var i;return(i=new r(65)).writeUInt8(n,0),t.toBuffer(32).copy(i,1),e.toBuffer(32).copy(i,33),i}f.equal(null!=t,!0,"Missing parameter"),f.equal(null!=e,!0,"Missing parameter"),f.equal(null!=n,!0,"Missing parameter");var g=void 0;return{r:t,s:e,i:n,toBuffer:m,verify:i,verifyHash:u,verifyHex:function(t,e){return console.log('Deprecated: use verify(data, pubkey, "hex")'),i(r.from(t,"hex"),e)},recover:p,recoverHash:d,toHex:function(){return m().toString("hex")},toString:function(){return g||(g="SIG_K1_"+c.checkEncode(m(),"K1"))},verifyBuffer:function(){return console.log("Deprecated: use signature.verify instead (same arguments)"),i.apply(void 0,arguments)},recoverPublicKey:function(){return console.log("Deprecated: use signature.recover instead (same arguments)"),p.apply(void 0,arguments)},recoverPublicKeyFromBuffer:function(){return console.log("Deprecated: use signature.recoverHash instead (same arguments)"),d.apply(void 0,arguments)}}}var i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,u=void 0;try{for(var o,s=t[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!e||r.length!==e);n=!0);}catch(t){i=!0,u=t}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw u}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=t("./ecdsa"),s=t("./hash"),a=t("ecurve").getCurveByName("secp256k1"),f=t("assert"),h=t("bigi"),c=t("./key_utils"),l=t("./key_public"),p=t("./key_private");(e.exports=n).sign=function(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"utf8";return"string"==typeof t&&(t=r.from(t,i)),f(r.isBuffer(t),"data is a required String or Buffer"),t=s.sha256(t),n.signHash(t,e)},n.signHash=function(t,e){var i,u,s,c,l,d,m,g=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"hex";if("string"==typeof t&&(t=r.from(t,g)),32!==t.length||!r.isBuffer(t))throw new Error("dataSha256: 32 byte buffer requred");for(e=p(e),f(e,"privateKey required"),c=null,m=0,u=h.fromBuffer(t);;){if(d=(i=(s=o.sign(a,t,e.d,m++)).toDER())[5+(l=i[3])],32===l&&32===d){c=o.calcPubKeyRecoveryParam(a,u,s,e.toPublic().Q),c+=4,c+=27;break}m%10==0&&console.log("WARN: "+m+" attempts to find canonical signature")}return n(s.r,s.s,c)},n.fromBuffer=function(t){var e;return f(r.isBuffer(t),"Buffer is required"),f.equal(t.length,65,"Invalid signature length"),e=t.readUInt8(0),f.equal(e-27,e-27&7,"Invalid signature parameter"),n(h.fromBuffer(t.slice(1,33)),h.fromBuffer(t.slice(33)),e)},n.fromHex=function(t){return n.fromBuffer(r.from(t,"hex"))},n.fromString=function(t){try{return n.fromStringOrThrow(t)}catch(t){return null}},n.fromStringOrThrow=function(t){f.equal(void 0===t?"undefined":u(t),"string","signature");var e=t.match(/^SIG_([A-Za-z0-9]+)_([A-Za-z0-9]+)$/);f(null!=e&&3===e.length,"Expecting signature like: SIG_K1_base58signature..");var r=i(e,3),o=r[1],s=r[2];return f.equal(o,"K1","K1 signature expected"),n.fromBuffer(c.checkDecode(s,o))},n.from=function(t){var e=t?t.r&&t.s&&t.i?t:"string"==typeof t&&130===t.length?n.fromHex(t):"string"==typeof t&&130!==t.length?n.fromStringOrThrow(t):r.isBuffer(t)?n.fromBuffer(t):null:t;if(!e)throw new TypeError("signature should be a hex string or buffer");return e}}).call(this,t("buffer").Buffer)},{"./ecdsa":140,"./hash":143,"./key_private":145,"./key_public":146,"./key_utils":147,assert:11,bigi:23,buffer:45,ecurve:127}],150:[function(t,e,r){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(t){return"function"==typeof t}function u(t){return"object"==typeof t&&null!==t}function o(t){return void 0===t}((e.exports=n).EventEmitter=n).prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if("number"!=typeof t||0>t||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},n.prototype.emit=function(t){var e,r,n,s,a,f;if(this._events||(this._events={}),"error"===t&&(!this._events.error||u(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var h=new Error('Uncaught, unspecified "error" event. ('+e+")");throw h.context=e,h}if(o(r=this._events[t]))return!1;if(i(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),r.apply(this,s)}else if(u(r))for(s=Array.prototype.slice.call(arguments,1),n=(f=r.slice()).length,a=0;n>a;a++)f[a].apply(this,s);return!0},n.prototype.on=n.prototype.addListener=function(t,e){var r;if(!i(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,i(e.listener)?e.listener:e),this._events[t]?u(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,u(this._events[t])&&!this._events[t].warned&&(r=o(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&r>0&&this._events[t].length>r&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.once=function(t,e){function r(){this.removeListener(t,r),n||(n=!0,e.apply(this,arguments))}if(!i(e))throw TypeError("listener must be a function");var n=!1;return r.listener=e,this.on(t,r),this},n.prototype.removeListener=function(t,e){var r,n,o,s;if(!i(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(o=(r=this._events[t]).length,n=-1,r===e||i(r.listener)&&r.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(u(r)){for(s=o;0<s--;)if(r[s]===e||r[s].listener&&r[s].listener===e){n=s;break}if(0>n)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.prototype.removeAllListeners=function(t){var e,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(i(r=this._events[t]))this.removeListener(t,r);else if(r)for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){return this._events&&this._events[t]?i(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(i(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},{}],151:[function(t,e,r){var n=t("safe-buffer").Buffer,i=t("md5.js");e.exports=function(t,e,r,u){if(n.isBuffer(t)||(t=n.from(t,"binary")),e&&(n.isBuffer(e)||(e=n.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var o=r/8,s=n.alloc(o),a=n.alloc(u||0),f=n.alloc(0);o>0||u>0;){var h=new i;h.update(f),h.update(t),e&&h.update(e),f=h.digest();var c=0;if(o>0){var l=s.length-o;c=Math.min(o,f.length),f.copy(s,l,0,c),o-=c}if(c<f.length&&u>0){var p=a.length-u,d=Math.min(u,f.length-c);f.copy(a,p,c,c+d),u-=d}}return f.fill(0),{key:s,iv:a}}},{"md5.js":165,"safe-buffer":190}],152:[function(t,e,r){(function(r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=t("bytebuffer"),u=t("./struct");e.exports={create:function(t,e){function r(t,n,u,s){var f=o(n);if(!f)return null;var h=f.name,c=f.annotation,l=f.arrayType,p=void 0;if(c){var d=e[h];if(null==d)return a.push("Missing "+h+" in "+n),null;var g=[],y=!0,b=!1,v=void 0;try{for(var _,w=c[Symbol.iterator]();!(y=(_=w.next()).done);y=!0){var E=_.value,A=r(t,E,null,s);if(!A)return a.push("Missing "+E+" in "+n),null;g.push(A)}}catch(t){b=!0,v=t}finally{try{!y&&w["return"]&&w["return"]()}finally{if(b)throw v}}p=d(g)}else if(null==l){var B=m[h];if(B)return B;var C=e[h];if(!C)return null;p=C(u)}else if(""===l){var F=r(t,f.name,null,s);if(!F)return null;var x=i.sort[t+"."+s]||!1;p=e.vector(F,x)}else if(0<l.length){var D=r(t,f.arrayType,null,s);if(!D)return a.push("Missing "+f.arrayType+" in "+n),null;var S=r(t,f.name,D,s);if(!S)return a.push("Missing "+f.name+" in "+n),null;p=S}return f.optional?e.optional(p):p}var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:e.config,a=[];i.sort||(i.sort={});for(var f in t){var h=t[f],c=h.base,l=h.fields,p=void 0===h?"undefined":n(h);if("object"===p){if(!c&&!l){a.push("Expecting "+f+".fields or "+f+".base");continue}if(c&&"string"!=typeof c&&a.push("Expecting string "+f+".base"),l)if("object"!==(void 0===l?"undefined":n(l)))a.push("Expecting object "+f+".fields");else for(var d in l)"string"!=typeof l[d]&&a.push("Expecting string in "+f+".fields."+d)}else if("string"!==p){a.push("Expecting object or string under "+f+", instead got "+(void 0===h?"undefined":n(h)));continue}}var m={};for(var g in t){var y=t[g];"object"===(void 0===y?"undefined":n(y))&&(m[g]=u(g,i))}for(var b in t){var v=t[b];if("string"==typeof v){var _=e[v];if(_)e[b]=_;else{var w=r(b,v);w?m[b]=w:a.push("Unrecognized type or struct "+b+"."+v)}}}for(var E in t){var A=m[E];if(A){var B=t[E];if("object"===(void 0===B?"undefined":n(B))&&B.base){var c=B.base,C=m[c];if(!C){a.push("Missing "+c+" in "+E+".base");continue}A.add("",s(C))}}}for(var F in t){var x=m[F];if(x){var D=t[F];if(D.fields){var l=D.fields;for(var S in l){var k=l[S],M=r(F,k,null,S);M?x.add(S,M):a.push("Missing "+k+" in "+F+".fields."+S)}}}}return a.length?{errors:a}:{errors:a,structs:m}},toBuffer:function(t,e){var n=t.fromObject(e);return r.from((u=t,o=n,s=new i(i.DEFAULT_CAPACITY,i.LITTLE_ENDIAN),u.appendByteBuffer(s,o),s.copy(0,s.offset)).toBinary(),"binary");var u,o,s},fromBuffer:function(t,e){var r=!(2<arguments.length&&void 0!==arguments[2])||arguments[2],n=i.fromBinary(e.toString("binary"),i.LITTLE_ENDIAN),u=t.fromByteBuffer(n);return r?t.toObject(u):u}};var o=function(t){if(!t||"string"!=typeof t)return null;var e=(t=t.trim()).match(/<(.*)>/);if(e){var r=e?e[1].replace(/ /g,"").split(","):null;return{name:t=t.replace(e[0],"").trim(),annotation:r}}var n=t.match(/\[(.*)\]/),i=n?n[1].trim():null;n&&(t=t.replace(n[0],"").trim());var u=!1;return/\?$/.test(t)&&(t=t.substring(0,t.length-1),u=!0),{name:t,arrayType:i,optional:u}},s=function(t){return{fromByteBuffer:function(e){return t.fromByteBuffer(e)},appendByteBuffer:function(e,r){t.appendByteBuffer(e,r)},fromObject:function(e){return t.fromObject(e)},toObject:function(e){return t.toObject(e)}}}}).call(this,t("buffer").Buffer)},{"./struct":154,buffer:45,bytebuffer:46}],153:[function(t,e,r){(function(r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=t("./types"),u=t("./fcbuffer"),o=t("assert"),s=u.create;e.exports=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if("object"!==(void 0===t?"undefined":n(t)))throw new TypeError("definitions is a required parameter");if(e.customTypes)for(var r in t=Object.assign({},t),e.customTypes)delete t[r];var u=i(e),o=s(t,u),h=o.errors,c=o.structs;return{errors:h,structs:c,types:u,extend:function(e){return function r(t,e){var n=Object.assign({},t,e),i=s(n,u),o=i.structs;return{errors:i.errors,structs:o,extend:function(t){return r(n,t)},fromBuffer:a(u,o),toBuffer:f(u,o)}}(t,e)},fromBuffer:a(u,c),toBuffer:f(u,c)}};var a=function(t,e){return function(i,s){o.equal(void 0===i?"undefined":n(i),"string","typeName (type or struct name)"),"string"==typeof s&&(s=r.from(s,"hex")),o(r.isBuffer(s),"expecting buf<hex|Buffer>");var a=t[i];return a=a?a():e[i],o(a,"missing type or struct: "+i),u.fromBuffer(a,s)}},f=function(t,e){return function(r,i){o.equal(void 0===r?"undefined":n(r),"string","typeName (type or struct name)"),o(null!=i,"value is required");var s=t[r];return s=s?s():e[r],o(s,"missing type or struct: "+r),u.toBuffer(s,i)}};e.exports.fromBuffer=u.fromBuffer,e.exports.toBuffer=u.toBuffer}).call(this,t("buffer").Buffer)},{"./fcbuffer":152,"./types":155,assert:11,buffer:45}],154:[function(t,e,r){"use strict";var n=t("bytebuffer");e.exports=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{debug:!1};e=Object.assign({override:{}},e);var r={},i=void 0,u=void 0;return{compare:function(t,e){var r=t[u],n=e[u];return i&&i.compare?i.compare(r,n):r>n?1:n>r?-1:0},add:function(t,e){r[t]=e,null==i&&(i=e,u=t)},fields:r,fromByteBuffer:function(n){var i={},u=null;try{for(u in r){var o=r[u];try{var s=n.offset;if(""===u)i=o.fromByteBuffer(n,e);else{var a=e.override[t+"."+u+".fromByteBuffer"];a?a({fields:r,object:i,b:n,config:e}):i[u]=o.fromByteBuffer(n,e)}if(e.debug)if(o.struct)console.error(o.struct);else{var f=void 0;try{f=o.toObject(""===u?i:i[u],e)}catch(i){f=""}var h=n.copy(s,n.offset);console.error("fromByteBuffer",t+"."+u,"'"+f+"'",h.toHex())}}catch(i){throw console.error(i+" in "+t+"."+u),n.printDebug(),i}}}catch(i){throw i.message+=" in "+t+"."+u,i}return i},appendByteBuffer:function(n,i){var u=null;try{for(u in r){var o=r[u];if(""===u)o.appendByteBuffer(n,i);else{var s=e.override[t+"."+u+".appendByteBuffer"];s?s({fields:r,object:i,b:n}):o.appendByteBuffer(n,i[u])}}}catch(o){try{o.message+=" "+t+"."+u+" = "+JSON.stringify(i[u])}catch(n){o.message+=" "+t+"."+u+" = "+i[u]}throw o}},fromObject:function(n){var i=e.override[t+".fromObject"];if(i){var u=i(n);if(null!=u)return u}var o={},s=null;try{for(s in r){var a=r[s];if(""===s){var f=a.fromObject(n);Object.assign(o,f)}else{var h=e.override[t+"."+s+".fromObject"];if(h)h({fields:r,object:n,result:o});else{var c=n[s],l=a.fromObject(c);o[s]=l}}}}catch(n){throw n.message+=" "+t+"."+s,n}return o},toObject:function(){var i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},u=e.override[t+".toObject"];if(u){var o=u(i);if(null!=o)return o}var s={},a=null;try{for(a in r){var f=r[a],h=e.override[t+"."+a+".toObject"];if(h)h({fields:r,object:i,result:s,config:e});else if(""===a){var c=f.toObject(i,e);Object.assign(s,c)}else{var l=f.toObject(i?i[a]:null,e);s[a]=l}if(e.debug)try{var p=new n(n.DEFAULT_CAPACITY,n.LITTLE_ENDIAN);if(null!=i){var d=i[a];if(d){var m=e.override[t+"."+a+".appendByteBuffer"];h&&m?m({fields:r,object:i,b:p}):f.appendByteBuffer(p,d)}}p=p.copy(0,p.offset),console.error("toObject",t+"."+a,"'"+s[a]+"'",p.toHex())}catch(i){i.message=t+"."+a+" "+i.message,console.error(i)}}}catch(i){throw i.message+=" "+t+"."+a,i}return s}}}},{bytebuffer:46}],155:[function(t,e,r){(function(r){"use strict";function n(t,e){if(D(t))throw new Error("Required "+e.typeName);var r=e.signed,n=void 0!==r&&r,i=e.bits,u=void 0===i?54:i;if(t=String(t).trim(),n&&!/^-?[0-9]+$/.test(t)||!n&&!/^[0-9]+$/.test(t))throw new Error("Number format "+e.typeName+" "+t);var s=n?k(u):S(u),a=n?M(u):A,f=new o(t);if(f.cmp(a)<0||0<f.cmp(s))throw new Error("Overflow "+e.typeName+" "+t+", max "+s.toString()+", min "+a.toString()+", signed "+n+", bits "+u)}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,u=void 0;try{for(var o,s=t[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!e||r.length!==e);n=!0);}catch(t){i=!0,u=t}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw u}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=t("bn.js"),s=t("bytebuffer").Long,a=t("assert"),f={bytes:function(){return[v]},string:function(){return[_]},vector:function(t){var e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];return[l,{type:t,sorted:e}]},optional:function(t){return[p,{type:t}]},time:function(){return[w]},map:function(t){return[h,{annotation:t}]},static_variant:function(t){return[c,{types:t}]},fixed_string16:function(){return[_,{maxLen:16}]},fixed_string32:function(){return[_,{maxLen:32}]},fixed_bytes16:function(){return[v,{len:16}]},fixed_bytes20:function(){return[v,{len:20}]},fixed_bytes28:function(){return[v,{len:28}]},fixed_bytes32:function(){return[v,{len:32}]},fixed_bytes33:function(){return[v,{len:33}]},fixed_bytes64:function(){return[v,{len:64}]},fixed_bytes65:function(){return[v,{len:65}]},uint8:function(){return[m,{bits:8}]},uint16:function(){return[m,{bits:16}]},uint32:function(){return[m,{bits:32}]},uint64:function(){return[m,{bits:64}]},uint128:function(){return[g,{bits:128}]},uint224:function(){return[g,{bits:224}]},uint256:function(){return[g,{bits:256}]},uint512:function(){return[g,{bits:512}]},varuint32:function(){return[m,{bits:32,variable:!0}]},int8:function(){return[m,{signed:!0,bits:8}]},int16:function(){return[m,{signed:!0,bits:16}]},int32:function(){return[m,{signed:!0,bits:32}]},int64:function(){return[m,{signed:!0,bits:64}]},int128:function(){return[g,{signed:!0,bits:128}]},int224:function(){return[g,{signed:!0,bits:224}]},int256:function(){return[g,{signed:!0,bits:256}]},int512:function(){return[g,{signed:!0,bits:512}]},varint32:function(){return[m,{signed:!0,bits:32,variable:!0}]},float32:function(){return[b,{bits:32}]},float64:function(){return[b,{bits:64}]}};e.exports=function(t){t=Object.assign({defaults:!1,debug:!1,customTypes:{}},t);var e=Object.assign({},f,t.customTypes),r=function(r){return function(n,i){return n[i]=function(){for(var o=arguments.length,s=Array(o),a=0;o>a;a++)s[a]=arguments[a];return function(t,e,r,n,i,o){var s=(n?i[t]:f[t]).apply(void 0,function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(r)),a=u(s,2),h=a[0],c=a[1],l=void 0===c?{}:c,p=Object.assign(l,e);p.typeName=t;var d=h(p,n,o);return d.typeName=t,d}(i,t,s,r,e,n)},n}},n=Object.keys(f).reduce(r(),{}),i=Object.keys(t.customTypes||{}).reduce(r(n),{});return Object.assign({},n,i,{config:t})};var h=function(t){var e=u(t.annotation,2),r=e[0],n=e[1];if(!C(r))throw new TypeError("map<type1, > unknown");if(!C(n))throw new TypeError("map<, type2> unknown");return{fromByteBuffer:function(e){for(var i=e.readVarint32(),u={},o=0;i>o;o++)u[r.fromByteBuffer(e)]=n.fromByteBuffer(e);return t.debug&&console.log("0x"+i.toString(16),"(map.fromByteBuffer length)",u),u},appendByteBuffer:function(e,i){E(i,t);var u=Object.keys(i);e.writeVarint32(u.length),t.debug&&console.log("0x"+u.length.toString(16),"(map.appendByteBuffer length)",u);var o=!0,s=!1,a=void 0;try{for(var f,h=u[Symbol.iterator]();!(o=(f=h.next()).done);o=!0){var c=f.value,l=i[c];r.appendByteBuffer(e,c),n.appendByteBuffer(e,l)}}catch(e){s=!0,a=e}finally{try{!o&&h["return"]&&h["return"]()}finally{if(s)throw a}}},fromObject:function(e){E(e,t);var i={};for(var u in e)i[r.fromObject(u)]=n.fromObject(e[u]);return i},toObject:function(e){if(t.defaults&&null==e)return i={},u=r.toObject(null),o=n.toObject(null),u in i?Object.defineProperty(i,u,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[u]=o,i;var i,u,o;E(e,t);var s={};for(var a in e)s[r.toObject(a)]=n.toObject(e[a]);return s}}},c=function(t){var e=t.types;return{fromByteBuffer:function(r){var n=r.readVarint32(),i=e[n];return t.debug&&console.error("static_variant id "+n+" (0x"+n.toString(16)+")"),a(i,"static_variant invalid type position "+n),[n,i.fromByteBuffer(r)]},appendByteBuffer:function(t,r){a(Array.isArray(r)&&2===r.length,"Required tuple");var n=r[0],i=e[n];a(i,"type "+n),t.writeVarint32(n),i.appendByteBuffer(t,r[1])},fromObject:function(t){a(Array.isArray(t)&&2===t.length,"Required tuple");var r=t[0],n=e[r];return a(n,"type "+r),[r,n.fromObject(t[1])]},toObject:function(r){if(t.defaults&&null==r)return[0,e[0].toObject(null,debug)];a(Array.isArray(r)&&2===r.length,"Required tuple");var n=r[0],i=e[n];return a(i,"type "+n),[n,i.toObject(r[1])]}}},l=function(t){var e=t.type,r=t.sorted;if(!C(e))throw new TypeError("vector type should be a serializer");return{fromByteBuffer:function(r){var n=r.readVarint32();t.debug&&console.log("fromByteBuffer vector length",n,"(0x"+n.toString(16)+")");for(var i=[],u=0;n>u;u++)i.push(e.fromByteBuffer(r));return i},appendByteBuffer:function(n,i){null==i&&(i=[]),E(i,t),n.writeVarint32(i.length),!0===r&&(i=F(e,Object.assign([],i))),t.debug&&console.log("0x"+i.length.toString(16),"(vector.appendByteBuffer length)",i);
  10. var u=!0,o=!1,s=void 0;try{for(var a,f=i[Symbol.iterator]();!(u=(a=f.next()).done);u=!0){var h=a.value;e.appendByteBuffer(n,h)}}catch(n){o=!0,s=n}finally{try{!u&&f["return"]&&f["return"]()}finally{if(o)throw s}}},fromObject:function(n){null==n&&(n=[]),E(n,t);var i=[],u=!0,o=!1,s=void 0;try{for(var a,f=n[Symbol.iterator]();!(u=(a=f.next()).done);u=!0){var h=a.value;i.push(e.fromObject(h))}}catch(n){o=!0,s=n}finally{try{!u&&f["return"]&&f["return"]()}finally{if(o)throw s}}return!0===r&&(i=F(e,Object.assign([],i))),i},toObject:function(n){if(t.defaults&&null==n)return[e.toObject(n)];null==n&&(n=[]),E(n,t),!0===r&&(n=F(e,Object.assign([],n)));var i=[],u=!0,o=!1,s=void 0;try{for(var a,f=n[Symbol.iterator]();!(u=(a=f.next()).done);u=!0){var h=a.value;i.push(e.toObject(h))}}catch(n){o=!0,s=n}finally{try{!u&&f["return"]&&f["return"]()}finally{if(o)throw s}}return i}}},p=function(t){var e=t.type;if(!C(e))throw new TypeError("optional parameter should be a serializer");return{fromByteBuffer:function(t){return 1!==t.readUint8()?null:e.fromByteBuffer(t)},appendByteBuffer:function(t,r){null!=r?(t.writeUint8(1),e.appendByteBuffer(t,r)):t.writeUint8(0)},fromObject:function(t){return null==t?null:e.fromObject(t)},toObject:function(r){return null!=r||t.defaults?e.toObject(r):null}}},d=function(t){var e=t.signed,r=void 0!==e&&e,n=t.bits;return t.variable?"Varint"+n+(r?"ZigZag":""):(r?"Int":"Uint")+n},m=function(t){return{fromByteBuffer:function(e){var r=e["read"+d(t)]();return s.isLong(r)?r.toString():r},appendByteBuffer:function(e,r){e["write"+d(t)](r)},fromObject:function(e){return n(e,t),e},toObject:function(e){return t.defaults&&null==e?53<t.bits?"0":0:(n(e,t),s.isLong(e)?e.toString():e)}}},g=function(t){var e=t.signed,i=void 0!==e&&e,u=t.bits,s=u/8;return{fromByteBuffer:function(e){var a=e.copy(e.offset,e.offset+s);e.skip(s);var f=new o(a.toHex(),"hex"),h=f.toArrayLike(r,"le",s);f=new o(h.toString("hex"),"hex"),i&&(f=f.fromTwos(u));var c=f.toString();return n(c,t),u>53?c:f.toNumber()},appendByteBuffer:function(e,a){n(a,t);var f=new o(a);i&&(f=f.toTwos(u));var h=f.toArrayLike(r,"le",s);e.append(h.toString("binary"),"binary")},fromObject:function(e){return n(e,t),e},toObject:function(e){return t.defaults&&null==e?53<t.bits?"0":0:(n(e,t),e)}}},y=t("ieee-float"),b=function(t){var e=t.bits,n=32===e?"Float":64===e?"Double":null;a(n,"unsupported float bit size: "+e);var i=e/8;return{fromByteBuffer:function(t){var e=t.copy(t.offset,t.offset+i);t.skip(i);var u=r.from(e.toBinary(),"binary");return y["read"+n+"LE"](u)},appendByteBuffer:function(t,e){var r=[];y["write"+n+"LE"](r,e),t.append(r)},fromObject:function(t){return t},toObject:function(e){return t.defaults&&null==e?0:e}}},v=function(t){return{fromByteBuffer:function(e){var n=t.len,i=void 0;if(null==n){var u=e.readVarint32();i=e.copy(e.offset,e.offset+u),e.skip(u)}else i=e.copy(e.offset,e.offset+n),e.skip(n);return r.from(i.toBinary(),"binary")},appendByteBuffer:function(e,r){null==t.len&&e.writeVarint32(r.length),e.append(r.toString("binary"),"binary")},fromObject:function(e){return"string"==typeof e?e=r.from(e,"hex"):e instanceof Array?e=r.from(e):e instanceof Uint8Array&&(e=r.from(e)),E(e,t),e},toObject:function(e){var r=t.defaults,n=t.len;return r&&null==e?Array(n?n+1:1).join("00"):(E(e,t),e.toString("hex"))},compare:function(t,e){return r.compare(t,e)}}},_=function(t){return{fromByteBuffer:function(t){return t.readVString()},appendByteBuffer:function(e,r){E(r,t),e.writeVString(r.toString())},fromObject:function(e){return E(e,t),e},toObject:function(e){return t.defaults&&null==e?"":(E(e,t),e)}}},w=function(t){return{fromByteBuffer:function(t){return t.readUint32()},appendByteBuffer:function(e,r){E(r,t),e.writeUint32(r)},fromObject:function(e){if(E(e,t),"number"==typeof e)return e;if(e.getTime)return Math.floor(e.getTime()/1e3);if("string"!=typeof e)throw new Error("Unknown date type: "+e);return"string"!=typeof e||/Z$/.test(e)||(e+="Z"),Math.floor(new Date(e).getTime()/1e3)},toObject:function(e){if(t.defaults&&null==e)return new Date(0).toISOString().split(".")[0];E(e,t),n(e,x(t,{bits:32}));var r=parseInt(e);return new Date(1e3*r).toISOString().split(".")[0]}}},E=function(t,e){if(D(t))throw new Error("Required "+e.typeName);if(null!=e.len){if(null==t.length)throw new Error('len validation requries a "length" property');var r=e.len;if(t.length!==r)throw new Error(e.typeName+" length "+t.length+" does not equal "+r)}if(null!=e.maxLen){var n=e.maxLen;if(null==t.length)throw new Error('maxLen validation requries a "length" property');if(t.length>n)throw new Error(e.typeName+" length "+t.length+" exceeds maxLen "+n)}},A=new o,B=new o("1"),C=function(t){return"object"===(void 0===t?"undefined":i(t))&&"function"==typeof t.fromByteBuffer&&"function"==typeof t.appendByteBuffer&&"function"==typeof t.fromObject&&"function"==typeof t.toObject},F=function(t,e){return t.compare?e.sort(t.compare):e.sort()},x=function(){return Object.assign.apply(Object,arguments)},D=function(t){return null==t},S=function(t){return new o(1).ishln(t).isub(B)},k=function(t){return new o(1).ishln(t-1).isub(B)},M=function(t){return new o(1).ishln(t-1).ineg()}}).call(this,t("buffer").Buffer)},{assert:11,"bn.js":25,buffer:45,bytebuffer:46,"ieee-float":157}],156:[function(t,e,r){(function(r){"use strict";function n(t){i.call(this),this._block=new r(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}var i=t("stream").Transform;t("inherits")(n,i),n.prototype._transform=function(t,e,n){var i=null;try{"buffer"!==e&&(t=new r(t,e)),this.update(t)}catch(t){i=t}n(i)},n.prototype._flush=function(t){var e=null;try{this.push(this._digest())}catch(t){e=t}t(e)},n.prototype.update=function(t,e){if(!r.isBuffer(t)&&"string"!=typeof t)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");r.isBuffer(t)||(t=new r(t,e||"binary"));for(var n=this._block,i=0;this._blockOffset+t.length-i>=this._blockSize;){for(var u=this._blockOffset;u<this._blockSize;)n[u++]=t[i++];this._update(),this._blockOffset=0}for(;i<t.length;)n[this._blockOffset++]=t[i++];for(var o=0,s=8*t.length;s>0;++o)this._length[o]+=s,0<(s=this._length[o]/4294967296|0)&&(this._length[o]-=4294967296*s);return this},n.prototype._update=function(t){throw new Error("_update is not implemented")},n.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();return void 0!==t&&(e=e.toString(t)),e},n.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=n}).call(this,t("buffer").Buffer)},{buffer:45,inherits:159,stream:199}],157:[function(t,e,r){(function(t){"use strict";function r(t,e,r){var n=t[e++],i=t[e++],u=t[e++],o=t[e];return"bige"===r?256*(256*(256*n+i)+u)+o:256*(256*(256*o+u)+i)+n}function n(t,e,r,n){var i=e>>>24&255,u=e>>16&255,o=e>>8&255,s=255&e;"bige"===n?(t[r++]=i,t[r++]=u,t[r++]=o,t[r]=s):(t[r++]=s,t[r++]=o,t[r++]=u,t[r]=i)}function i(t,e,r,i,u){"bige"===u?(n(t,e,i,u),n(t,r,i+4,u)):(n(t,r,i,u),n(t,e,i+4,u))}function u(t){return t>=0?F[t]:D[-t]}function o(t,e,n){var i,o,s=r(t,e,n),a=r(t,e+4,n);"bige"===n?(i=s,o=a):(i=a,o=s);var f=(1048575&i)*S+o,h=(2146435072&i)>>>20;return(i>>31||1)*(0===h?f?f*u(-1074):0:2047>h?f>=0?(1+f*k)*u(h-1023):0:f?0/0:1/0)}function s(t,e,n){var i=r(t,e,n),o=8388607&i,s=(2139095040&i)>>>23;return(i>>31||1)*(0===s?o?o*M*2*T:0:255>s?(1+o*M)*u(s-127):o?0/0:1/0)}function a(t){var e=0;return t>=2?2<=(t*=u(-(e=f(1,t))))&&(t/=2,e+=1):1>t&&((e=f(t,2))<=1023?t*=u(e):(t*=u(e-100),t*=u(100)),e=-e),I.exp=e,I.mant=t,I}function f(t,e){for(var r=0;e>t*j;)t*=j,r+=192;for(;e>0x10000000000000000*t;)t*=0x10000000000000000,r+=64;for(;e>65536*t;)t*=65536,r+=16;for(;e>64*t;)t*=64,r+=6;for(;e>2*t;)t*=2,r+=1;return r}function h(t,e){return(t*=e)-Math.floor(t)!=.5||1&t?t+.5:t}function c(t,e,r,i){var o,s=0;0>e&&(s=2147483648,e=-e),e&&1/0>e?((o=a(e)).exp+=127,o.exp<=0?o.exp<=-25?(o.mant=0,o.exp=0):(o.mant=h(o.mant,u(22+o.exp)),o.exp=0,8388608<=o.mant&&(o.mant-=8388608,o.exp+=1)):(o.mant=h(o.mant-1,8388608),8388608<=o.mant&&(o.mant-=8388608,o.exp+=1),254<o.exp&&(o.mant=0,o.exp=255)),n(t,s|o.exp<<23|o.mant,r,i)):n(t,0===e?0>1/e?2147483648:0:e===1/0?2139095040|s:2143289344,r,i)}function l(t,e,r,n){var o,s=0;0>e&&(s=2147483648,e=-e),e&&1/0>e?((o=a(e)).exp+=1023,o.exp<=0?(o.mant*=u(51+o.exp),o.exp=0):o.mant=(o.mant-1)*O,i(t,s|o.exp<<20|o.mant/4294967296,o.mant>>>0,r,n)):i(t,0===e?0>1/e?2147483648:0:e===1/0?s+2146435072:2146959360,0,r,n)}var p,d,m,g,y,b,v,_,w,E,A,B,C=!1;"function"==typeof Float32Array&&(w=new Float32Array(1),E=new Uint8Array(w.buffer),w[0]=-1,C=0===E[3],p=function(t,e){return(e=e||0)<0||e+4>t.length?0:(E[0]=t[e++],E[1]=t[e++],E[2]=t[e++],E[3]=t[e],w[0])},m=function(t,e){return(e=e||0)<0||e+4>t.length?0:(E[3]=t[e++],E[2]=t[e++],E[1]=t[e++],E[0]=t[e],w[0])},d=function(t,e,r){r=r||0,w[0]=e,t[r++]=E[0],t[r++]=E[1],t[r++]=E[2],t[r]=E[3]},g=function(t,e,r){r=r||0,w[0]=e,t[r++]=E[3],t[r++]=E[2],t[r++]=E[1],t[r]=E[0]}),"function"==typeof Float64Array&&(A=new Float64Array(1),B=new Uint8Array(A.buffer),y=function(t,e){return(e=e||0)<0||e+8>t.length?0:(B[0]=t[e+0],B[1]=t[e+1],B[2]=t[e+2],B[3]=t[e+3],B[4]=t[e+4],B[5]=t[e+5],B[6]=t[e+6],B[7]=t[e+7],A[0])},v=function(t,e){return(e=e||0)<0||e+8>t.length?0:(B[7]=t[e+0],B[6]=t[e+1],B[5]=t[e+2],B[4]=t[e+3],B[3]=t[e+4],B[2]=t[e+5],B[1]=t[e+6],B[0]=t[e+7],A[0])},b=function(t,e,r){r=r||0,A[0]=e,t[r+0]=B[0],t[r+1]=B[1],t[r+2]=B[2],t[r+3]=B[3],t[r+4]=B[4],t[r+5]=B[5],t[r+6]=B[6],t[r+7]=B[7]},_=function(t,e,r){r=r||0,A[0]=e,t[r+0]=B[7],t[r+1]=B[6],t[r+2]=B[5],t[r+3]=B[4],t[r+4]=B[3],t[r+5]=B[2],t[r+6]=B[1],t[r+7]=B[0]});for(var F=new Array,x=0;1200>x;x++)F[x]=Math.pow(2,x);var D=new Array;for(x=0;1200>x;x++)D[x]=Math.pow(2,-x);var S=4294967296,k=2.220446049250313e-16;u(-1023);var M=Math.pow(2,-23),T=Math.pow(2,-127),I={exp:0,mant:0},j=Math.pow(2,192);new t(8);var O=Math.pow(2,52);(function(){var t="object"==typeof e&&e.exports||this;t.readWord=r,t.writeWord=n,t.writeDoubleWord=i,t.readFloat=s,t.writeFloat=c,t.readDouble=o,t.writeDouble=l,t._useFloatArray=function(e){(t._usingFloatArray=e)?("full"==e&&(t.readFloatLE=C?m:p),t.writeFloatLE=C?g:d,"full"==e&&(t.readFloatBE=C?p:m),t.writeFloatBE=C?d:g,t.readDoubleLE=C?v:y,t.writeDoubleLE=C?_:b,t.readDoubleBE=C?y:v,t.writeDoubleBE=C?b:_):(t._usingFloatArray="",t.readFloatLE=function(e,r){return t.readFloat(e,r||0,"le")},t.writeFloatLE=function(e,r,n){t.writeFloat(e,r,n||0,"le")},t.readFloatBE=function(e,r){return t.readFloat(e,r||0,"bige")},t.writeFloatBE=function(e,r,n){t.writeFloat(e,r,n||0,"bige")},t.readDoubleLE=function(e,r){return t.readDouble(e,r||0,"le")},t.writeDoubleLE=function(e,r,n){t.writeDouble(e,r,n||0,"le")},t.readDoubleBE=function(e,r){return t.readDouble(e,r||0,"bige")},t.writeDoubleBE=function(e,r,n){t.writeDouble(e,r,n||0,"bige")})},t._getBigeCpu=function(){return C},t._setBigeCpu=function(t){C=t},t._useFloatArray(!1),t._useFloatArray(p&&y&&"fastest")}).call(this)}).call(this,t("buffer").Buffer)},{buffer:45}],158:[function(t,e,r){r.read=function(t,e,r,n,i){var u,o,s=8*i-n-1,a=(1<<s)-1,f=a>>1,h=-7,c=r?i-1:0,l=r?-1:1,p=t[e+c];for(c+=l,u=p&(1<<-h)-1,p>>=-h,h+=s;h>0;u=256*u+t[e+c],c+=l,h-=8);for(o=u&(1<<-h)-1,u>>=-h,h+=n;h>0;o=256*o+t[e+c],c+=l,h-=8);if(0===u)u=1-f;else{if(u===a)return o?0/0:1/0*(p?-1:1);o+=Math.pow(2,n),u-=f}return(p?-1:1)*o*Math.pow(2,u-n)},r.write=function(t,e,r,n,i,u){var o,s,a,f=8*u-i-1,h=(1<<f)-1,c=h>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:u-1,d=n?1:-1,m=0>e||0===e&&0>1/e?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=h):(o=Math.floor(Math.log(e)/Math.LN2),e*(a=Math.pow(2,-o))<1&&(o--,a*=2),2<=(e+=o+c>=1?l/a:l*Math.pow(2,1-c))*a&&(o++,a/=2),o+c>=h?(s=0,o=h):o+c>=1?(s=(e*a-1)*Math.pow(2,i),o+=c):(s=e*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[r+p]=255&s,p+=d,s/=256,i-=8);for(o=o<<i|s,f+=i;f>0;t[r+p]=255&o,p+=d,o/=256,f-=8);t[r+p-d]|=128*m}},{}],159:[function(t,e,r){"function"==typeof Object.create?e.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},{}],160:[function(t,e,r){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}e.exports=function(t){return null!=t&&(n(t)||"function"==typeof(e=t).readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))||!!t._isBuffer);var e}},{}],161:[function(t,e,r){var n={}.toString;e.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},{}],162:[function(t,e,r){t("whatwg-fetch"),e.exports=self.fetch.bind(self)},{"whatwg-fetch":206}],163:[function(t,e,r){var n,i;n=this,i=function(){"use strict";function t(t,e,r){this.low=0|t,this.high=0|e,this.unsigned=!!r}function e(t){return!0===(t&&t.__isLong__)}function r(t,e){var r,n,u;return e?(u=0<=(t>>>=0)&&256>t)&&(n=a[t])?n:(r=i(t,0>(0|t)?-1:0,!0),u&&(a[t]=r),r):(u=-128<=(t|=0)&&128>t)&&(n=s[t])?n:(r=i(t,0>t?-1:0,!1),u&&(s[t]=r),r)}function n(t,e){if(isNaN(t)||!isFinite(t))return e?m:d;if(e){if(0>t)return m;if(t>=c)return _}else{if(-l>=t)return w;if(t+1>=l)return v}return 0>t?n(-t,e).neg():i(t%h|0,t/h|0,e)}function i(e,r,n){return new t(e,r,n)}function u(t,e,r){if(0===t.length)throw Error("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return d;if("number"==typeof e?(r=e,e=!1):e=!!e,(r=r||10)<2||r>36)throw RangeError("radix");var i;if(0<(i=t.indexOf("-")))throw Error("interior hyphen");if(0===i)return u(t.substring(1),e,r).neg();for(var o=n(f(r,8)),s=d,a=0;a<t.length;a+=8){var h=Math.min(8,t.length-a),c=parseInt(t.substring(a,a+h),r);if(8>h){var l=n(f(r,h));s=s.mul(l).add(n(c))}else s=(s=s.mul(o)).add(n(c))}return s.unsigned=e,s}function o(e){return e instanceof t?e:"number"==typeof e?n(e):"string"==typeof e?u(e):i(e.low,e.high,e.unsigned)}Object.defineProperty(t.prototype,"__isLong__",{value:!0,enumerable:!1,configurable:!1}),t.isLong=e;var s={},a={};t.fromInt=r,t.fromNumber=n,t.fromBits=i;var f=Math.pow;t.fromString=u,t.fromValue=o;var h=4294967296,c=h*h,l=c/2,p=r(1<<24),d=r(0);t.ZERO=d;var m=r(0,!0);t.UZERO=m;var g=r(1);t.ONE=g;var y=r(1,!0);t.UONE=y;var b=r(-1);t.NEG_ONE=b;var v=i(-1,2147483647,!1);t.MAX_VALUE=v;var _=i(-1,-1,!0);t.MAX_UNSIGNED_VALUE=_;var w=i(0,-2147483648,!1);t.MIN_VALUE=w;var E=t.prototype;return E.toInt=function(){return this.unsigned?this.low>>>0:this.low},E.toNumber=function(){return this.unsigned?(this.high>>>0)*h+(this.low>>>0):this.high*h+(this.low>>>0)},E.toString=function(t){if((t=t||10)<2||t>36)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(w)){var e=n(t),r=this.div(e),i=r.mul(e).sub(this);return r.toString(t)+i.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var u=n(f(t,6),this.unsigned),o=this,s="";;){var a=o.div(u),h=(o.sub(a.mul(u)).toInt()>>>0).toString(t);if((o=a).isZero())return h+s;for(;h.length<6;)h="0"+h;s=""+h+s}},E.getHighBits=function(){return this.high},E.getHighBitsUnsigned=function(){return this.high>>>0},E.getLowBits=function(){return this.low},E.getLowBitsUnsigned=function(){return this.low>>>0},E.getNumBitsAbs=function(){if(this.isNegative())return this.eq(w)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,e=31;e>0&&0==(t&1<<e);e--);return 0!=this.high?e+33:e+1},E.isZero=function(){return 0===this.high&&0===this.low},E.isNegative=function(){return!this.unsigned&&this.high<0},E.isPositive=function(){return this.unsigned||0<=this.high},E.isOdd=function(){return 1==(1&this.low)},E.isEven=function(){return 0==(1&this.low)},E.equals=function(t){return e(t)||(t=o(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&this.high===t.high&&this.low===t.low},E.eq=E.equals,E.notEquals=function(t){return!this.eq(t)},E.neq=E.notEquals,E.lessThan=function(t){return this.comp(t)<0},E.lt=E.lessThan,E.lessThanOrEqual=function(t){return this.comp(t)<=0},E.lte=E.lessThanOrEqual,E.greaterThan=function(t){return 0<this.comp(t)},E.gt=E.greaterThan,E.greaterThanOrEqual=function(t){return 0<=this.comp(t)},E.gte=E.greaterThanOrEqual,E.compare=function(t){if(e(t)||(t=o(t)),this.eq(t))return 0;var r=this.isNegative(),n=t.isNegative();return r&&!n?-1:!r&&n?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},E.comp=E.compare,E.negate=function(){return!this.unsigned&&this.eq(w)?w:this.not().add(g)},E.neg=E.negate,E.add=function(t){e(t)||(t=o(t));var r=this.high>>>16,n=65535&this.high,u=this.low>>>16,s=65535&this.low,a=t.high>>>16,f=65535&t.high,h=t.low>>>16,c=0,l=0,p=0,d=0;return p+=(d+=s+(65535&t.low))>>>16,l+=(p+=u+h)>>>16,c+=(l+=n+f)>>>16,c+=r+a,i((p&=65535)<<16|(d&=65535),(c&=65535)<<16|(l&=65535),this.unsigned)},E.subtract=function(t){return e(t)||(t=o(t)),this.add(t.neg())},E.sub=E.subtract,E.multiply=function(t){if(this.isZero())return d;if(e(t)||(t=o(t)),t.isZero())return d;if(this.eq(w))return t.isOdd()?w:d;if(t.eq(w))return this.isOdd()?w:d;if(this.isNegative())return t.isNegative()?this.neg().mul(t.neg()):this.neg().mul(t).neg();if(t.isNegative())return this.mul(t.neg()).neg();if(this.lt(p)&&t.lt(p))return n(this.toNumber()*t.toNumber(),this.unsigned);var r=this.high>>>16,u=65535&this.high,s=this.low>>>16,a=65535&this.low,f=t.high>>>16,h=65535&t.high,c=t.low>>>16,l=65535&t.low,m=0,g=0,y=0,b=0;return y+=(b+=a*l)>>>16,g+=(y+=s*l)>>>16,y&=65535,g+=(y+=a*c)>>>16,m+=(g+=u*l)>>>16,g&=65535,m+=(g+=s*c)>>>16,g&=65535,m+=(g+=a*h)>>>16,m+=r*l+u*c+s*h+a*f,i((y&=65535)<<16|(b&=65535),(m&=65535)<<16|(g&=65535),this.unsigned)},E.mul=E.multiply,E.divide=function(t){if(e(t)||(t=o(t)),t.isZero())throw Error("division by zero");if(this.isZero())return this.unsigned?m:d;var r,i,u;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return m;if(t.gt(this.shru(1)))return y;u=m}else{if(this.eq(w))return t.eq(g)||t.eq(b)?w:t.eq(w)?g:(r=this.shr(1).div(t).shl(1)).eq(d)?t.isNegative()?g:b:(i=this.sub(t.mul(r)),u=r.add(i.div(t)));if(t.eq(w))return this.unsigned?m:d;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();u=d}for(i=this;i.gte(t);){r=Math.max(1,Math.floor(i.toNumber()/t.toNumber()));for(var s=Math.ceil(Math.log(r)/Math.LN2),a=48>=s?1:f(2,s-48),h=n(r),c=h.mul(t);c.isNegative()||c.gt(i);)c=(h=n(r-=a,this.unsigned)).mul(t);h.isZero()&&(h=g),u=u.add(h),i=i.sub(c)}return u},E.div=E.divide,E.modulo=function(t){return e(t)||(t=o(t)),this.sub(this.div(t).mul(t))},E.mod=E.modulo,E.not=function(){return i(~this.low,~this.high,this.unsigned)},E.and=function(t){return e(t)||(t=o(t)),i(this.low&t.low,this.high&t.high,this.unsigned)},E.or=function(t){return e(t)||(t=o(t)),i(this.low|t.low,this.high|t.high,this.unsigned)},E.xor=function(t){return e(t)||(t=o(t)),i(this.low^t.low,this.high^t.high,this.unsigned)},E.shiftLeft=function(t){return e(t)&&(t=t.toInt()),0==(t&=63)?this:32>t?i(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):i(0,this.low<<t-32,this.unsigned)},E.shl=E.shiftLeft,E.shiftRight=function(t){return e(t)&&(t=t.toInt()),0==(t&=63)?this:32>t?i(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):i(this.high>>t-32,0<=this.high?0:-1,this.unsigned)},E.shr=E.shiftRight,E.shiftRightUnsigned=function(t){if(e(t)&&(t=t.toInt()),0===(t&=63))return this;var r=this.high;return 32>t?i(this.low>>>t|r<<32-t,r>>>t,this.unsigned):i(32===t?r:r>>>t-32,0,this.unsigned)},E.shru=E.shiftRightUnsigned,E.toSigned=function(){return this.unsigned?i(this.low,this.high,!1):this},E.toUnsigned=function(){return this.unsigned?this:i(this.low,this.high,!0)},E.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},E.toBytesLE=function(){var t=this.high,e=this.low;return[255&e,e>>>8&255,e>>>16&255,e>>>24&255,255&t,t>>>8&255,t>>>16&255,t>>>24&255]},E.toBytesBE=function(){var t=this.high,e=this.low;return[t>>>24&255,t>>>16&255,t>>>8&255,255&t,e>>>24&255,e>>>16&255,e>>>8&255,255&e]},t},"function"==typeof t&&"object"==typeof e&&e&&e.exports?e.exports=i():(n.dcodeIO=n.dcodeIO||{}).Long=i()},{}],164:[function(t,e,r){var n={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"İ":"i",I:"ı","İ":"i"}},az:{regexp:/[\u0130]/g,map:{"İ":"i",I:"ı","İ":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i̇",J:"j̇","Į":"į̇","Ì":"i̇̀","Í":"i̇́","Ĩ":"i̇̃"}}};e.exports=function(t,e){var r=n[e];return t=null==t?"":String(t),r&&(t=t.replace(r.regexp,function(t){return r.map[t]})),t.toLowerCase()}},{}],165:[function(t,e,r){(function(r){"use strict";function n(){h.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function i(t,e){return t<<e|t>>>32-e}function u(t,e,r,n,u,o,s){return i(t+(e&r|~e&n)+u+o|0,s)+e|0}function o(t,e,r,n,u,o,s){return i(t+(e&n|r&~n)+u+o|0,s)+e|0}function s(t,e,r,n,u,o,s){return i(t+(e^r^n)+u+o|0,s)+e|0}function a(t,e,r,n,u,o,s){return i(t+(r^(e|~n))+u+o|0,s)+e|0}var f=t("inherits"),h=t("hash-base"),c=new Array(16);f(n,h),n.prototype._update=function(){for(var t=c,e=0;16>e;++e)t[e]=this._block.readInt32LE(4*e);var r=this._a,n=this._b,i=this._c,f=this._d;n=a(n=a(n=a(n=a(n=s(n=s(n=s(n=s(n=o(n=o(n=o(n=o(n=u(n=u(n=u(n=u(n,i=u(i,f=u(f,r=u(r,n,i,f,t[0],3614090360,7),n,i,t[1],3905402710,12),r,n,t[2],606105819,17),f,r,t[3],3250441966,22),i=u(i,f=u(f,r=u(r,n,i,f,t[4],4118548399,7),n,i,t[5],1200080426,12),r,n,t[6],2821735955,17),f,r,t[7],4249261313,22),i=u(i,f=u(f,r=u(r,n,i,f,t[8],1770035416,7),n,i,t[9],2336552879,12),r,n,t[10],4294925233,17),f,r,t[11],2304563134,22),i=u(i,f=u(f,r=u(r,n,i,f,t[12],1804603682,7),n,i,t[13],4254626195,12),r,n,t[14],2792965006,17),f,r,t[15],1236535329,22),i=o(i,f=o(f,r=o(r,n,i,f,t[1],4129170786,5),n,i,t[6],3225465664,9),r,n,t[11],643717713,14),f,r,t[0],3921069994,20),i=o(i,f=o(f,r=o(r,n,i,f,t[5],3593408605,5),n,i,t[10],38016083,9),r,n,t[15],3634488961,14),f,r,t[4],3889429448,20),i=o(i,f=o(f,r=o(r,n,i,f,t[9],568446438,5),n,i,t[14],3275163606,9),r,n,t[3],4107603335,14),f,r,t[8],1163531501,20),i=o(i,f=o(f,r=o(r,n,i,f,t[13],2850285829,5),n,i,t[2],4243563512,9),r,n,t[7],1735328473,14),f,r,t[12],2368359562,20),i=s(i,f=s(f,r=s(r,n,i,f,t[5],4294588738,4),n,i,t[8],2272392833,11),r,n,t[11],1839030562,16),f,r,t[14],4259657740,23),i=s(i,f=s(f,r=s(r,n,i,f,t[1],2763975236,4),n,i,t[4],1272893353,11),r,n,t[7],4139469664,16),f,r,t[10],3200236656,23),i=s(i,f=s(f,r=s(r,n,i,f,t[13],681279174,4),n,i,t[0],3936430074,11),r,n,t[3],3572445317,16),f,r,t[6],76029189,23),i=s(i,f=s(f,r=s(r,n,i,f,t[9],3654602809,4),n,i,t[12],3873151461,11),r,n,t[15],530742520,16),f,r,t[2],3299628645,23),i=a(i,f=a(f,r=a(r,n,i,f,t[0],4096336452,6),n,i,t[7],1126891415,10),r,n,t[14],2878612391,15),f,r,t[5],4237533241,21),i=a(i,f=a(f,r=a(r,n,i,f,t[12],1700485571,6),n,i,t[3],2399980690,10),r,n,t[10],4293915773,15),f,r,t[1],2240044497,21),i=a(i,f=a(f,r=a(r,n,i,f,t[8],1873313359,6),n,i,t[15],4264355552,10),r,n,t[6],2734768916,15),f,r,t[13],1309151649,21),i=a(i,f=a(f,r=a(r,n,i,f,t[4],4149444226,6),n,i,t[11],3174756917,10),r,n,t[2],718787259,15),f,r,t[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+f|0},n.prototype._digest=function(){this._block[this._blockOffset++]=128,56<this._blockOffset&&(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 t=new r(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},e.exports=n}).call(this,t("buffer").Buffer)},{buffer:45,"hash-base":166,inherits:159}],166:[function(t,e,r){"use strict";function n(t){u.call(this),this._block=i.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}var i=t("safe-buffer").Buffer,u=t("stream").Transform;t("inherits")(n,u),n.prototype._transform=function(t,e,r){var n=null;try{this.update(t,e)}catch(t){n=t}r(n)},n.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(t){e=t}t(e)},n.prototype.update=function(t,e){if(function(t,e){if(!i.isBuffer(t)&&"string"!=typeof t)throw new TypeError(e+" must be a string or a buffer")}(t,"Data"),this._finalized)throw new Error("Digest already called");i.isBuffer(t)||(t=i.from(t,e));for(var r=this._block,n=0;this._blockOffset+t.length-n>=this._blockSize;){for(var u=this._blockOffset;u<this._blockSize;)r[u++]=t[n++];this._update(),this._blockOffset=0}for(;n<t.length;)r[this._blockOffset++]=t[n++];for(var o=0,s=8*t.length;s>0;++o)this._length[o]+=s,0<(s=this._length[o]/4294967296|0)&&(this._length[o]-=4294967296*s);return this},n.prototype._update=function(){throw new Error("_update is not implemented")},n.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0);for(var r=this._blockOffset=0;4>r;++r)this._length[r]=0;return e},n.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=n},{inherits:159,"safe-buffer":190,stream:199}],167:[function(t,e,r){var n=t("lower-case"),i=t("./vendor/non-word-regexp"),u=t("./vendor/camel-case-regexp"),o=t("./vendor/camel-case-upper-regexp");e.exports=function(t,e,r){return null==t?"":(r="string"!=typeof r?" ":r,t=String(t).replace(u,"$1 $2").replace(o,"$1 $2").replace(i,function(t,e,n){return 0===e||e===n.length-t.length?"":r}),n(t,e))}},{"./vendor/camel-case-regexp":168,"./vendor/camel-case-upper-regexp":169,"./vendor/non-word-regexp":170,"lower-case":164}],168:[function(t,e,r){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
  11. },{}],169:[function(t,e,r){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},{}],170:[function(t,e,r){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},{}],171:[function(t,e,r){(function(t){"use strict";!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports=function(e,r,n,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var u,o,s=arguments.length;switch(s){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,i)});default:for(u=new Array(s-1),o=0;o<u.length;)u[o++]=arguments[o];return t.nextTick(function(){e.apply(null,u)})}}:e.exports=t.nextTick}).call(this,t("_process"))},{_process:172}],172:[function(t,e,r){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function u(t){if(h===setTimeout)return setTimeout(t,0);if((h===n||!h)&&setTimeout)return h=setTimeout,setTimeout(t,0);try{return h(t,0)}catch(e){try{return h.call(null,t,0)}catch(e){return h.call(this,t,0)}}}function o(){m&&p&&(m=!1,p.length?d=p.concat(d):g=-1,d.length&&s())}function s(){if(!m){var t=u(o);m=!0;for(var e=d.length;e;){for(p=d,d=[];++g<e;)p&&p[g].run();g=-1,e=d.length}p=null,m=!1,function(t){if(c===clearTimeout)return clearTimeout(t);if((c===i||!c)&&clearTimeout)return c=clearTimeout,clearTimeout(t);try{c(t)}catch(e){try{return c.call(null,t)}catch(e){return c.call(this,t)}}}(t)}}function a(t,e){this.fun=t,this.array=e}function f(){}var h,c,l=e.exports={};!function(){try{h="function"==typeof setTimeout?setTimeout:n}catch(t){h=n}try{c="function"==typeof clearTimeout?clearTimeout:i}catch(t){c=i}}();var p,d=[],m=!1,g=-1;l.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];d.push(new a(t,e)),1!==d.length||m||u(s)},a.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={},l.on=f,l.addListener=f,l.once=f,l.off=f,l.removeListener=f,l.removeAllListeners=f,l.emit=f,l.prependListener=f,l.prependOnceListener=f,l.listeners=function(t){return[]},l.binding=function(t){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(t){throw new Error("process.chdir is not supported")},l.umask=function(){return 0}},{}],173:[function(t,e,r){(function(r,n){"use strict";var i=t("safe-buffer").Buffer,u=n.crypto||n.msCrypto;u&&u.getRandomValues?e.exports=function(t,e){if(t>65536)throw new Error("requested too many random bytes");var o=new n.Uint8Array(t);t>0&&u.getRandomValues(o);var s=i.from(o.buffer);return"function"==typeof e?r.nextTick(function(){e(null,s)}):s}:e.exports=function(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:172,"safe-buffer":190}],174:[function(t,e,r){e.exports=t("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":175}],175:[function(t,e,r){"use strict";function n(t){return this instanceof n?(f.call(this,t),h.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",i),void 0):new n(t)}function i(){this.allowHalfOpen||this._writableState.ended||o(u,this)}function u(t){t.end()}var o=t("process-nextick-args"),s=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};e.exports=n;var a=t("core-util-is");a.inherits=t("inherits");var f=t("./_stream_readable"),h=t("./_stream_writable");a.inherits(n,f);for(var c=s(h.prototype),l=0;l<c.length;l++){var p=c[l];n.prototype[p]||(n.prototype[p]=h.prototype[p])}Object.defineProperty(n.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),n.prototype._destroy=function(t,e){this.push(null),this.end(),o(e,t)}},{"./_stream_readable":177,"./_stream_writable":179,"core-util-is":119,inherits:159,"process-nextick-args":171}],176:[function(t,e,r){"use strict";function n(t){return this instanceof n?void i.call(this,t):new n(t)}e.exports=n;var i=t("./_stream_transform"),u=t("core-util-is");u.inherits=t("inherits"),u.inherits(n,i),n.prototype._transform=function(t,e,r){r(null,t)}},{"./_stream_transform":178,"core-util-is":119,inherits:159}],177:[function(t,e,r){(function(r,n){"use strict";function i(e,r){w=w||t("./_stream_duplex"),e=e||{},this.objectMode=!!e.objectMode,r instanceof w&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:i,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new M,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&&(k||(k=t("string_decoder/").StringDecoder),this.decoder=new k(e.encoding),this.encoding=e.encoding)}function u(e){return w=w||t("./_stream_duplex"),this instanceof u?(this._readableState=new i(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),B.call(this),void 0):new u(e)}function o(t,e,r,n,i){var u,o,a,h=t._readableState;return null===e?(h.reading=!1,function(t,e){if(!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,f(t)}}(t,h)):(i||(u=function(t,e){var r;n=e,C.isBuffer(n)||n instanceof F||"string"==typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(h,e)),u?t.emit("error",u):h.objectMode||e&&0<e.length?("string"==typeof e||h.objectMode||Object.getPrototypeOf(e)===C.prototype||(o=e,e=C.from(o)),n?h.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):s(t,h,e,!0):h.ended?t.emit("error",new Error("stream.push() after EOF")):(h.reading=!1,h.decoder&&!r?(e=h.decoder.write(e),h.objectMode||0!==e.length?s(t,h,e,!1):c(t,h)):s(t,h,e,!1))):n||(h.reading=!1)),!(a=h).ended&&(a.needReadable||a.length<a.highWaterMark||0===a.length)}function s(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&f(t)),c(t,e)}function a(t,e){return 0>=t||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=(j<=(r=t)?r=j:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0));var r}function f(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(S("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?_(h,t):h(t))}function h(t){S("emit readable"),t.emit("readable"),m(t)}function c(t,e){e.readingMore||(e.readingMore=!0,_(l,t,e))}function l(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(S("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function p(t){S("readable nexttick read 0"),t.read(0)}function d(t,e){e.reading||(S("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),m(t),e.flowing&&!e.reading&&t.read(0)}function m(t){var e=t._readableState;for(S("flow",e.flowing);e.flowing&&null!==t.read(););}function g(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;return t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var r=e.head,n=1,i=r.data;for(t-=i.length;r=r.next;){var u=r.data,o=t>u.length?u.length:t;if(i+=o===u.length?u:u.slice(0,t),0===(t-=o)){o===u.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r).data=u.slice(o);break}++n}return e.length-=n,i}(t,e):function(t,e){var r=C.allocUnsafe(t),n=e.head,i=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var u=n.data,o=t>u.length?u.length:t;if(u.copy(r,r.length-t,0,o),0===(t-=o)){o===u.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n).data=u.slice(o);break}++i}return e.length-=i,r}(t,e),n}(t,e.buffer,e.decoder),r);var r}function y(t){var e=t._readableState;if(0<e.length)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,_(b,e,t))}function b(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function v(t,e){for(var r=0,n=t.length;n>r;r++)if(t[r]===e)return r;return-1}var _=t("process-nextick-args");e.exports=u;var w,E=t("isarray");u.ReadableState=i,t("events").EventEmitter;var A=function(t,e){return t.listeners(e).length},B=t("./internal/streams/stream"),C=t("safe-buffer").Buffer,F=n.Uint8Array||function(){},x=t("core-util-is");x.inherits=t("inherits");var D=t("util"),S=void 0;S=D&&D.debuglog?D.debuglog("stream"):function(){};var k,M=t("./internal/streams/BufferList"),T=t("./internal/streams/destroy");x.inherits(u,B);var I=["error","close","destroy","pause","resume"];Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),u.prototype.destroy=T.destroy,u.prototype._undestroy=T.undestroy,u.prototype._destroy=function(t,e){this.push(null),e(t)},u.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=C.from(t,e),e=""),r=!0),o(this,t,e,!1,r)},u.prototype.unshift=function(t){return o(this,t,null,!0,!1)},u.prototype.isPaused=function(){return!1===this._readableState.flowing},u.prototype.setEncoding=function(e){return k||(k=t("string_decoder/").StringDecoder),this._readableState.decoder=new k(e),this._readableState.encoding=e,this};var j=8388608;u.prototype.read=function(t){S("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return S("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?y(this):f(this),null;if(0===(t=a(t,e))&&e.ended)return 0===e.length&&y(this),null;var n,i=e.needReadable;return S("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&S("length less than watermark",i=!0),e.ended||e.reading?S("reading or ended",i=!1):i&&(S("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=a(r,e))),null===(n=t>0?g(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&y(this)),null!==n&&this.emit("data",n),n},u.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},u.prototype.pipe=function(t,e){function n(e,r){S("onunpipe"),e===h&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,S("cleanup"),t.removeListener("close",s),t.removeListener("finish",a),t.removeListener("drain",d),t.removeListener("error",o),t.removeListener("unpipe",n),h.removeListener("end",i),h.removeListener("end",f),h.removeListener("data",u),g=!0,!c.awaitDrain||t._writableState&&!t._writableState.needDrain||d())}function i(){S("onend"),t.end()}function u(e){S("ondata"),(y=!1)!==t.write(e)||y||((1===c.pipesCount&&c.pipes===t||1<c.pipesCount&&-1!==v(c.pipes,t))&&!g&&(S("false write response, pause",h._readableState.awaitDrain),h._readableState.awaitDrain++,y=!0),h.pause())}function o(e){S("onerror",e),f(),t.removeListener("error",o),0===A(t,"error")&&t.emit("error",e)}function s(){t.removeListener("finish",a),f()}function a(){S("onfinish"),t.removeListener("close",s),f()}function f(){S("unpipe"),h.unpipe(t)}var h=this,c=this._readableState;switch(c.pipesCount){case 0:c.pipes=t;break;case 1:c.pipes=[c.pipes,t];break;default:c.pipes.push(t)}c.pipesCount+=1,S("pipe count=%d opts=%j",c.pipesCount,e);var l=e&&!1===e.end||t===r.stdout||t===r.stderr?f:i;c.endEmitted?_(l):h.once("end",l),t.on("unpipe",n);var p,d=(p=h,function(){var t=p._readableState;S("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&A(p,"data")&&(t.flowing=!0,m(p))});t.on("drain",d);var g=!1,y=!1;return h.on("data",u),function(t,e,r){return"function"==typeof t.prependListener?t.prependListener(e,r):void(t._events&&t._events[e]?E(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r))}(t,"error",o),t.once("close",s),t.once("finish",a),t.emit("pipe",h),c.flowing||(S("pipe resume"),h.resume()),t},u.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var u=0;i>u;u++)n[u].emit("unpipe",this,r);return this}var o=v(e.pipes,t);return-1===o||(e.pipes.splice(o,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},u.prototype.addListener=u.prototype.on=function(t,e){var r=B.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&f(this):_(p,this))}return r},u.prototype.resume=function(){var t,e,r=this._readableState;return r.flowing||(S("resume"),r.flowing=!0,t=this,(e=r).resumeScheduled||(e.resumeScheduled=!0,_(d,t,e))),this},u.prototype.pause=function(){return S("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(S("pause"),this._readableState.flowing=!1,this.emit("pause")),this},u.prototype.wrap=function(t){var e=this._readableState,r=!1,n=this;for(var i in t.on("end",function(){if(S("wrapped end"),e.decoder&&!e.ended){var t=e.decoder.end();t&&t.length&&n.push(t)}n.push(null)}),t.on("data",function(i){S("wrapped data"),e.decoder&&(i=e.decoder.write(i)),e.objectMode&&null==i||(e.objectMode||i&&i.length)&&(n.push(i)||(r=!0,t.pause()))}),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var u=0;u<I.length;u++)t.on(I[u],n.emit.bind(n,I[u]));return n._read=function(e){S("wrapped _read",e),r&&(r=!1,t.resume())},n},u._fromList=g}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})
  12. },{"./_stream_duplex":175,"./internal/streams/BufferList":180,"./internal/streams/destroy":181,"./internal/streams/stream":182,_process:172,"core-util-is":119,events:150,inherits:159,isarray:161,"process-nextick-args":171,"safe-buffer":190,"string_decoder/":200,util:26}],178:[function(t,e,r){"use strict";function n(t){this.afterTransform=function(e,r){return function(t,e,r){var n=t._transformState;n.transforming=!1;var i=n.writecb;if(!i)return t.emit("error",new Error("write callback called multiple times"));n.writechunk=null,(n.writecb=null)!=r&&t.push(r),i(e);var u=t._readableState;u.reading=!1,(u.needReadable||u.length<u.highWaterMark)&&t._read(u.highWaterMark)}(t,e,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function i(t){if(!(this instanceof i))return new i(t);o.call(this,t),this._transformState=new n(this);var e=this;this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(t,r){u(e,t,r)}):u(e)})}function u(t,e,r){if(e)return t.emit("error",e);null!=r&&t.push(r);var n=t._writableState,i=t._transformState;if(n.length)throw new Error("Calling transform done when ws.length != 0");if(i.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}e.exports=i;var o=t("./_stream_duplex"),s=t("core-util-is");s.inherits=t("inherits"),s.inherits(i,o),i.prototype.push=function(t,e){return this._transformState.needTransform=!1,o.prototype.push.call(this,t,e)},i.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")},i.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},i.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},i.prototype._destroy=function(t,e){var r=this;o.prototype._destroy.call(this,t,function(t){e(t),r.emit("close")})}},{"./_stream_duplex":175,"core-util-is":119,inherits:159}],179:[function(t,e,r){(function(r,n){"use strict";function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}function u(){}function o(e,r){m=m||t("./_stream_duplex"),e=e||{},this.objectMode=!!e.objectMode,r instanceof m&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark,u=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=(this.destroyed=!1)===e.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(y=r,y.writing=!1,y.writecb=null,y.length-=y.writelen,y.writelen=0,e)o=t,s=r,a=n,l=e,m=i,--s.pendingcb,a?(d(m,l),d(p,o,s),o._writableState.errorEmitted=!0,o.emit("error",l)):(m(l),o._writableState.errorEmitted=!0,o.emit("error",l),p(o,s));else{var u=c(r);u||r.corked||r.bufferProcessing||!r.bufferedRequest||h(t,r),n?g(f,t,r,u,i):f(t,r,u,i)}var o,s,a,l,m,y}(r,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function s(e){return m=m||t("./_stream_duplex"),b.call(s,this)||this instanceof m?(this._writableState=new o(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"])),_.call(this),void 0):new s(e)}function a(t,e,r,n,i,u,o){e.writelen=n,e.writecb=o,e.writing=!0,e.sync=!0,r?t._writev(i,e.onwrite):t._write(i,u,e.onwrite),e.sync=!1}function f(t,e,r,n){var i,u;r||(i=t,0===(u=e).length&&u.needDrain&&(u.needDrain=!1,i.emit("drain"))),e.pendingcb--,n(),p(t,e)}function h(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,u=new Array(n),o=e.corkedRequestsFree;o.entry=r;for(var s=0,f=!0;r;)(u[s]=r).isBuf||(f=!1),r=r.next,s+=1;u.allBuffers=f,a(t,e,!0,e.length,u,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new i(e)}else{for(;r;){var h=r.chunk,c=r.encoding,l=r.callback;if(a(t,e,!1,e.objectMode?1:h.length,h,c,l),r=r.next,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequestCount=0,e.bufferedRequest=r,e.bufferProcessing=!1}function c(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function l(t,e){t._final(function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),p(t,e)})}function p(t,e){var r,n,i=c(e);return i&&(r=t,(n=e).prefinished||n.finalCalled||("function"==typeof r._final?(n.pendingcb++,n.finalCalled=!0,d(l,r,n)):(n.prefinished=!0,r.emit("prefinish"))),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),i}var d=t("process-nextick-args");e.exports=s;var m,g=!r.browser&&-1<["v0.10","v0.9."].indexOf(r.version.slice(0,5))?setImmediate:d;s.WritableState=o;var y=t("core-util-is");y.inherits=t("inherits");var b,v={deprecate:t("util-deprecate")},_=t("./internal/streams/stream"),w=t("safe-buffer").Buffer,E=n.Uint8Array||function(){},A=t("./internal/streams/destroy");y.inherits(s,_),o.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(o.prototype,"buffer",{get:v.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(b=Function.prototype[Symbol.hasInstance],Object.defineProperty(s,Symbol.hasInstance,{value:function(t){return!!b.call(this,t)||t&&t._writableState instanceof o}})):b=function(t){return t instanceof this},s.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},s.prototype.write=function(t,e,r){var n,i,o,s,f,h,c,l,p,m,g,y=this._writableState,b=!1,v=(n=t,(w.isBuffer(n)||n instanceof E)&&!y.objectMode);return v&&!w.isBuffer(t)&&(i=t,t=w.from(i)),"function"==typeof e&&(r=e,e=null),v?e="buffer":e||(e=y.defaultEncoding),"function"!=typeof r&&(r=u),y.ended?(p=this,m=r,g=new Error("write after end"),p.emit("error",g),d(m,g)):(v||(o=this,s=y,h=r,l=!(c=!0),null===(f=t)?l=new TypeError("May not write null values to stream"):"string"==typeof f||void 0===f||s.objectMode||(l=new TypeError("Invalid non-string/buffer chunk")),l&&(o.emit("error",l),d(h,l),c=!1),c))&&(y.pendingcb++,b=function(t,e,r,n,i,u){if(!r){var o=function(t,e,r){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=w.from(e,r)),e}(e,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=e.objectMode?1:n.length;e.length+=s;var f=e.length<e.highWaterMark;if(f||(e.needDrain=!0),e.writing||e.corked){var h=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:u,next:null},h?h.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else a(t,e,!1,s,n,i,u);return f}(this,y,v,t,e,r)),b},s.prototype.cork=function(){this._writableState.corked++},s.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||h(this,t))},s.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(-1<["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},s.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},s.prototype._writev=null,s.prototype.end=function(t,e,r){var n=this._writableState;"function"==typeof t?(r=t,e=t=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(t,e,r){e.ending=!0,p(t,e),r&&(e.finished?d(r):t.once("finish",r)),e.ended=!0,t.writable=!1}(this,n,r)},Object.defineProperty(s.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),s.prototype.destroy=A.destroy,s.prototype._undestroy=A.undestroy,s.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":175,"./internal/streams/destroy":181,"./internal/streams/stream":182,_process:172,"core-util-is":119,inherits:159,"process-nextick-args":171,"safe-buffer":190,"util-deprecate":202}],180:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer;e.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};0<this.length?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var e,r,i,u=n.allocUnsafe(t>>>0),o=this.head,s=0;o;)e=o.data,r=u,i=s,e.copy(r,i),s+=o.data.length,o=o.next;return u},t}()},{"safe-buffer":190}],181:[function(t,e,r){"use strict";function n(t,e){t.emit("error",e)}var i=t("process-nextick-args");e.exports={destroy:function(t,e){var r=this,u=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;u||o?e?e(t):!t||this._writableState&&this._writableState.errorEmitted||i(n,this,t):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!e&&t?(i(n,r,t),r._writableState&&(r._writableState.errorEmitted=!0)):e&&e(t)}))},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":171}],182:[function(t,e,r){e.exports=t("events").EventEmitter},{events:150}],183:[function(t,e,r){e.exports=t("./readable").PassThrough},{"./readable":184}],184:[function(t,e,r){(((r=e.exports=t("./lib/_stream_readable.js")).Stream=r).Readable=r).Writable=t("./lib/_stream_writable.js"),r.Duplex=t("./lib/_stream_duplex.js"),r.Transform=t("./lib/_stream_transform.js"),r.PassThrough=t("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":175,"./lib/_stream_passthrough.js":176,"./lib/_stream_readable.js":177,"./lib/_stream_transform.js":178,"./lib/_stream_writable.js":179}],185:[function(t,e,r){e.exports=t("./readable").Transform},{"./readable":184}],186:[function(t,e,r){e.exports=t("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":179}],187:[function(t,e,r){var n=function(){return this}()||Function("return this")(),i=n.regeneratorRuntime&&0<=Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime"),u=i&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=t("./runtime"),i)n.regeneratorRuntime=u;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},{"./runtime":188}],188:[function(t,e,r){!function(t){"use strict";function r(t,e,r,u){var o,s,a,h,c=e&&e.prototype instanceof i?e:i,p=Object.create(c.prototype),m=new l(u||[]);return p._invoke=(o=t,s=r,a=m,h=B,function(t,e){if(h===F)throw new Error("Generator is already running");if(h===x){if("throw"===t)throw e;return d()}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){var i=f(r,a);if(i){if(i===D)continue;return i}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(h===B)throw h=x,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);h=F;var u=n(o,s,a);if("normal"===u.type){if(h=a.done?x:C,u.arg===D)continue;return{value:u.arg,done:a.done}}"throw"===u.type&&(h=x,a.method="throw",a.arg=u.arg)}}),p}function n(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function i(){}function u(){}function o(){}function s(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function a(t){var e;this._invoke=function(r,i){function u(){return new Promise(function(e,u){!function o(e,r,i,u){var s=n(t[e],t,r);if("throw"!==s.type){var a=s.arg,f=a.value;return f&&"object"==typeof f&&y.call(f,"__await")?Promise.resolve(f.__await).then(function(t){o("next",t,i,u)},function(t){o("throw",t,i,u)}):Promise.resolve(f).then(function(t){a.value=t,i(a)},u)}u(s.arg)}(r,i,e,u)})}return e=e?e.then(u,u):u()}}function f(t,e){var r=t.iterator[e.method];if(r===m){if(e.delegate=null,"throw"===e.method){if(t.iterator["return"]&&(e.method="return",e.arg=m,f(t,e),"throw"===e.method))return D;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return D}var i=n(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,D;var u=i.arg;return u?u.done?(e[t.resultName]=u.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=m),e.delegate=null,D):u:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,D)}function h(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function c(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function l(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(h,this),this.reset(!0)}function p(t){if(t){var e=t[v];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function i(){for(;++r<t.length;)if(y.call(t,r))return i.value=t[r],i.done=!1,i;return i.value=m,i.done=!0,i};return n.next=n}}return{next:d}}function d(){return{value:m,done:!0}}var m,g=Object.prototype,y=g.hasOwnProperty,b="function"==typeof Symbol?Symbol:{},v=b.iterator||"@@iterator",_=b.asyncIterator||"@@asyncIterator",w=b.toStringTag||"@@toStringTag",E="object"==typeof e,A=t.regeneratorRuntime;if(A)E&&(e.exports=A);else{(A=t.regeneratorRuntime=E?e.exports:{}).wrap=r;var B="suspendedStart",C="suspendedYield",F="executing",x="completed",D={},S={};S[v]=function(){return this};var k=Object.getPrototypeOf,M=k&&k(k(p([])));M&&M!==g&&y.call(M,v)&&(S=M);var T=o.prototype=i.prototype=Object.create(S);u.prototype=T.constructor=o,o.constructor=u,o[w]=u.displayName="GeneratorFunction",A.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===u||"GeneratorFunction"===(e.displayName||e.name))},A.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,o):(t.__proto__=o,w in t||(t[w]="GeneratorFunction")),t.prototype=Object.create(T),t},A.awrap=function(t){return{__await:t}},s(a.prototype),a.prototype[_]=function(){return this},A.AsyncIterator=a,A.async=function(t,e,n,i){var u=new a(r(t,e,n,i));return A.isGeneratorFunction(e)?u:u.next().then(function(t){return t.done?t.value:u.next()})},s(T),T[w]="Generator",T[v]=function(){return this},T.toString=function(){return"[object Generator]"},A.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},A.values=p,l.prototype={constructor:l,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(c),!t)for(var e in this)"t"===e.charAt(0)&&y.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=m)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){function e(e,n){return u.type="throw",u.arg=t,r.next=e,n&&(r.method="next",r.arg=m),!!n}if(this.done)throw t;for(var r=this,n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],u=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var o=y.call(i,"catchLoc"),s=y.call(i,"finallyLoc");if(o&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(o){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&y.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,D):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),D},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),c(r),D}},"catch":function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;c(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:p(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=m),D}}}}(function(){return this}()||Function("return this")())},{}],189:[function(t,e,r){(function(r){"use strict";function n(){c.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function i(t,e){return t<<e|t>>>32-e}function u(t,e,r,n,u,o,s,a){return i(t+(e^r^n)+o+s|0,a)+u|0}function o(t,e,r,n,u,o,s,a){return i(t+(e&r|~e&n)+o+s|0,a)+u|0}function s(t,e,r,n,u,o,s,a){return i(t+((e|~r)^n)+o+s|0,a)+u|0}function a(t,e,r,n,u,o,s,a){return i(t+(e&n|r&~n)+o+s|0,a)+u|0}function f(t,e,r,n,u,o,s,a){return i(t+(e^(r|~n))+o+s|0,a)+u|0}var h=t("inherits"),c=t("hash-base");h(n,c),n.prototype._update=function(){for(var t=new Array(16),e=0;16>e;++e)t[e]=this._block.readInt32LE(4*e);var r=this._a,n=this._b,h=this._c,c=this._d,l=this._e;l=u(l,r=u(r,n,h,c,l,t[0],0,11),n,h=i(h,10),c,t[1],0,14),n=u(n=i(n,10),h=u(h,c=u(c,l,r,n,h,t[2],0,15),l,r=i(r,10),n,t[3],0,12),c,l=i(l,10),r,t[4],0,5),c=u(c=i(c,10),l=u(l,r=u(r,n,h,c,l,t[5],0,8),n,h=i(h,10),c,t[6],0,7),r,n=i(n,10),h,t[7],0,9),r=u(r=i(r,10),n=u(n,h=u(h,c,l,r,n,t[8],0,11),c,l=i(l,10),r,t[9],0,13),h,c=i(c,10),l,t[10],0,14),h=u(h=i(h,10),c=u(c,l=u(l,r,n,h,c,t[11],0,15),r,n=i(n,10),h,t[12],0,6),l,r=i(r,10),n,t[13],0,7),l=o(l=i(l,10),r=u(r,n=u(n,h,c,l,r,t[14],0,9),h,c=i(c,10),l,t[15],0,8),n,h=i(h,10),c,t[7],1518500249,7),n=o(n=i(n,10),h=o(h,c=o(c,l,r,n,h,t[4],1518500249,6),l,r=i(r,10),n,t[13],1518500249,8),c,l=i(l,10),r,t[1],1518500249,13),c=o(c=i(c,10),l=o(l,r=o(r,n,h,c,l,t[10],1518500249,11),n,h=i(h,10),c,t[6],1518500249,9),r,n=i(n,10),h,t[15],1518500249,7),r=o(r=i(r,10),n=o(n,h=o(h,c,l,r,n,t[3],1518500249,15),c,l=i(l,10),r,t[12],1518500249,7),h,c=i(c,10),l,t[0],1518500249,12),h=o(h=i(h,10),c=o(c,l=o(l,r,n,h,c,t[9],1518500249,15),r,n=i(n,10),h,t[5],1518500249,9),l,r=i(r,10),n,t[2],1518500249,11),l=o(l=i(l,10),r=o(r,n=o(n,h,c,l,r,t[14],1518500249,7),h,c=i(c,10),l,t[11],1518500249,13),n,h=i(h,10),c,t[8],1518500249,12),n=s(n=i(n,10),h=s(h,c=s(c,l,r,n,h,t[3],1859775393,11),l,r=i(r,10),n,t[10],1859775393,13),c,l=i(l,10),r,t[14],1859775393,6),c=s(c=i(c,10),l=s(l,r=s(r,n,h,c,l,t[4],1859775393,7),n,h=i(h,10),c,t[9],1859775393,14),r,n=i(n,10),h,t[15],1859775393,9),r=s(r=i(r,10),n=s(n,h=s(h,c,l,r,n,t[8],1859775393,13),c,l=i(l,10),r,t[1],1859775393,15),h,c=i(c,10),l,t[2],1859775393,14),h=s(h=i(h,10),c=s(c,l=s(l,r,n,h,c,t[7],1859775393,8),r,n=i(n,10),h,t[0],1859775393,13),l,r=i(r,10),n,t[6],1859775393,6),l=s(l=i(l,10),r=s(r,n=s(n,h,c,l,r,t[13],1859775393,5),h,c=i(c,10),l,t[11],1859775393,12),n,h=i(h,10),c,t[5],1859775393,7),n=a(n=i(n,10),h=a(h,c=s(c,l,r,n,h,t[12],1859775393,5),l,r=i(r,10),n,t[1],2400959708,11),c,l=i(l,10),r,t[9],2400959708,12),c=a(c=i(c,10),l=a(l,r=a(r,n,h,c,l,t[11],2400959708,14),n,h=i(h,10),c,t[10],2400959708,15),r,n=i(n,10),h,t[0],2400959708,14),r=a(r=i(r,10),n=a(n,h=a(h,c,l,r,n,t[8],2400959708,15),c,l=i(l,10),r,t[12],2400959708,9),h,c=i(c,10),l,t[4],2400959708,8),h=a(h=i(h,10),c=a(c,l=a(l,r,n,h,c,t[13],2400959708,9),r,n=i(n,10),h,t[3],2400959708,14),l,r=i(r,10),n,t[7],2400959708,5),l=a(l=i(l,10),r=a(r,n=a(n,h,c,l,r,t[15],2400959708,6),h,c=i(c,10),l,t[14],2400959708,8),n,h=i(h,10),c,t[5],2400959708,6),n=f(n=i(n,10),h=a(h,c=a(c,l,r,n,h,t[6],2400959708,5),l,r=i(r,10),n,t[2],2400959708,12),c,l=i(l,10),r,t[4],2840853838,9),c=f(c=i(c,10),l=f(l,r=f(r,n,h,c,l,t[0],2840853838,15),n,h=i(h,10),c,t[5],2840853838,5),r,n=i(n,10),h,t[9],2840853838,11),r=f(r=i(r,10),n=f(n,h=f(h,c,l,r,n,t[7],2840853838,6),c,l=i(l,10),r,t[12],2840853838,8),h,c=i(c,10),l,t[2],2840853838,13),h=f(h=i(h,10),c=f(c,l=f(l,r,n,h,c,t[10],2840853838,12),r,n=i(n,10),h,t[14],2840853838,5),l,r=i(r,10),n,t[1],2840853838,12),l=f(l=i(l,10),r=f(r,n=f(n,h,c,l,r,t[3],2840853838,13),h,c=i(c,10),l,t[8],2840853838,14),n,h=i(h,10),c,t[11],2840853838,11),n=f(n=i(n,10),h=f(h,c=f(c,l,r,n,h,t[6],2840853838,8),l,r=i(r,10),n,t[15],2840853838,5),c,l=i(l,10),r,t[13],2840853838,6),c=i(c,10);var p=this._a,d=this._b,m=this._c,g=this._d,y=this._e;y=f(y,p=f(p,d,m,g,y,t[5],1352829926,8),d,m=i(m,10),g,t[14],1352829926,9),d=f(d=i(d,10),m=f(m,g=f(g,y,p,d,m,t[7],1352829926,9),y,p=i(p,10),d,t[0],1352829926,11),g,y=i(y,10),p,t[9],1352829926,13),g=f(g=i(g,10),y=f(y,p=f(p,d,m,g,y,t[2],1352829926,15),d,m=i(m,10),g,t[11],1352829926,15),p,d=i(d,10),m,t[4],1352829926,5),p=f(p=i(p,10),d=f(d,m=f(m,g,y,p,d,t[13],1352829926,7),g,y=i(y,10),p,t[6],1352829926,7),m,g=i(g,10),y,t[15],1352829926,8),m=f(m=i(m,10),g=f(g,y=f(y,p,d,m,g,t[8],1352829926,11),p,d=i(d,10),m,t[1],1352829926,14),y,p=i(p,10),d,t[10],1352829926,14),y=a(y=i(y,10),p=f(p,d=f(d,m,g,y,p,t[3],1352829926,12),m,g=i(g,10),y,t[12],1352829926,6),d,m=i(m,10),g,t[6],1548603684,9),d=a(d=i(d,10),m=a(m,g=a(g,y,p,d,m,t[11],1548603684,13),y,p=i(p,10),d,t[3],1548603684,15),g,y=i(y,10),p,t[7],1548603684,7),g=a(g=i(g,10),y=a(y,p=a(p,d,m,g,y,t[0],1548603684,12),d,m=i(m,10),g,t[13],1548603684,8),p,d=i(d,10),m,t[5],1548603684,9),p=a(p=i(p,10),d=a(d,m=a(m,g,y,p,d,t[10],1548603684,11),g,y=i(y,10),p,t[14],1548603684,7),m,g=i(g,10),y,t[15],1548603684,7),m=a(m=i(m,10),g=a(g,y=a(y,p,d,m,g,t[8],1548603684,12),p,d=i(d,10),m,t[12],1548603684,7),y,p=i(p,10),d,t[4],1548603684,6),y=a(y=i(y,10),p=a(p,d=a(d,m,g,y,p,t[9],1548603684,15),m,g=i(g,10),y,t[1],1548603684,13),d,m=i(m,10),g,t[2],1548603684,11),d=s(d=i(d,10),m=s(m,g=s(g,y,p,d,m,t[15],1836072691,9),y,p=i(p,10),d,t[5],1836072691,7),g,y=i(y,10),p,t[1],1836072691,15),g=s(g=i(g,10),y=s(y,p=s(p,d,m,g,y,t[3],1836072691,11),d,m=i(m,10),g,t[7],1836072691,8),p,d=i(d,10),m,t[14],1836072691,6),p=s(p=i(p,10),d=s(d,m=s(m,g,y,p,d,t[6],1836072691,6),g,y=i(y,10),p,t[9],1836072691,14),m,g=i(g,10),y,t[11],1836072691,12),m=s(m=i(m,10),g=s(g,y=s(y,p,d,m,g,t[8],1836072691,13),p,d=i(d,10),m,t[12],1836072691,5),y,p=i(p,10),d,t[2],1836072691,14),y=s(y=i(y,10),p=s(p,d=s(d,m,g,y,p,t[10],1836072691,13),m,g=i(g,10),y,t[0],1836072691,13),d,m=i(m,10),g,t[4],1836072691,7),d=o(d=i(d,10),m=o(m,g=s(g,y,p,d,m,t[13],1836072691,5),y,p=i(p,10),d,t[8],2053994217,15),g,y=i(y,10),p,t[6],2053994217,5),g=o(g=i(g,10),y=o(y,p=o(p,d,m,g,y,t[4],2053994217,8),d,m=i(m,10),g,t[1],2053994217,11),p,d=i(d,10),m,t[3],2053994217,14),p=o(p=i(p,10),d=o(d,m=o(m,g,y,p,d,t[11],2053994217,14),g,y=i(y,10),p,t[15],2053994217,6),m,g=i(g,10),y,t[0],2053994217,14),m=o(m=i(m,10),g=o(g,y=o(y,p,d,m,g,t[5],2053994217,6),p,d=i(d,10),m,t[12],2053994217,9),y,p=i(p,10),d,t[2],2053994217,12),y=o(y=i(y,10),p=o(p,d=o(d,m,g,y,p,t[13],2053994217,9),m,g=i(g,10),y,t[9],2053994217,12),d,m=i(m,10),g,t[7],2053994217,5),d=u(d=i(d,10),m=o(m,g=o(g,y,p,d,m,t[10],2053994217,15),y,p=i(p,10),d,t[14],2053994217,8),g,y=i(y,10),p,t[12],0,8),g=u(g=i(g,10),y=u(y,p=u(p,d,m,g,y,t[15],0,5),d,m=i(m,10),g,t[10],0,12),p,d=i(d,10),m,t[4],0,9),p=u(p=i(p,10),d=u(d,m=u(m,g,y,p,d,t[1],0,12),g,y=i(y,10),p,t[5],0,5),m,g=i(g,10),y,t[8],0,14),m=u(m=i(m,10),g=u(g,y=u(y,p,d,m,g,t[7],0,6),p,d=i(d,10),m,t[6],0,8),y,p=i(p,10),d,t[2],0,13),y=u(y=i(y,10),p=u(p,d=u(d,m,g,y,p,t[13],0,6),m,g=i(g,10),y,t[14],0,5),d,m=i(m,10),g,t[0],0,15),d=u(d=i(d,10),m=u(m,g=u(g,y,p,d,m,t[3],0,13),y,p=i(p,10),d,t[9],0,11),g,y=i(y,10),p,t[11],0,11),g=i(g,10);var b=this._b+h+g|0;this._b=this._c+c+y|0,this._c=this._d+l+p|0,this._d=this._e+r+d|0,this._e=this._a+n+m|0,this._a=b},n.prototype._digest=function(){this._block[this._blockOffset++]=128,56<this._blockOffset&&(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 t=new r(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},e.exports=n}).call(this,t("buffer").Buffer)},{buffer:45,"hash-base":156,inherits:159}],190:[function(t,e,r){function n(t,e){for(var r in t)e[r]=t[r]}function i(t,e,r){return o(t,e,r)}var u=t("buffer"),o=u.Buffer;o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=u:(n(u,r),r.Buffer=i),n(o,i),i.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return o(t,e,r)},i.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=o(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},i.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return o(t)},i.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return u.SlowBuffer(t)}},{buffer:45}],191:[function(t,e,r){(function(t){function r(e,r){this._block=new t(e),this._finalSize=r,this._blockSize=e,this._len=0,this._s=0}r.prototype.update=function(e,r){"string"==typeof e&&(e=new t(e,r=r||"utf8"));for(var n=this._len+=e.length,i=this._s||0,u=0,o=this._block;n>i;){for(var s=Math.min(e.length,u+this._blockSize-i%this._blockSize)-u,a=0;s>a;a++)o[i%this._blockSize+a]=e[a+u];u+=s,(i+=s)%this._blockSize==0&&this._update(o)}return this._s=i,this},r.prototype.digest=function(t){var e=8*this._len;this._block[this._len%this._blockSize]=128,this._block.fill(0,this._len%this._blockSize+1),e%(8*this._blockSize)>=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(e,this._blockSize-4);var r=this._update(this._block)||this._hash();return t?r.toString(t):r},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=r}).call(this,t("buffer").Buffer)},{buffer:45}],192:[function(t,e,r){(r=e.exports=function(t){t=t.toLowerCase();var e=r[t];if(!e)throw new Error(t+" is not supported (we accept pull requests)");return new e}).sha=t("./sha"),r.sha1=t("./sha1"),r.sha224=t("./sha224"),r.sha256=t("./sha256"),r.sha384=t("./sha384"),r.sha512=t("./sha512")},{"./sha":193,"./sha1":194,"./sha224":195,"./sha256":196,"./sha384":197,"./sha512":198}],193:[function(t,e,r){(function(r){function n(){this.init(),this._w=s,u.call(this,64,56)}var i=t("inherits"),u=t("./hash"),o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);i(n,u),n.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},n.prototype._update=function(t){for(var e,r,n,i,u,s,a=this._w,f=0|this._a,h=0|this._b,c=0|this._c,l=0|this._d,p=0|this._e,d=0;16>d;++d)a[d]=t.readInt32BE(4*d);for(;80>d;++d)a[d]=a[d-3]^a[d-8]^a[d-14]^a[d-16];for(var m=0;80>m;++m){var g=~~(m/20),y=0|((s=f)<<5|s>>>27)+(n=h,i=c,u=l,0===(r=g)?n&i|~n&u:2===r?n&i|n&u|i&u:n^i^u)+p+a[m]+o[g];p=l,l=c,c=(e=h)<<30|e>>>2,h=f,f=y}this._a=f+this._a|0,this._b=h+this._b|0,this._c=c+this._c|0,this._d=l+this._d|0,this._e=p+this._e|0},n.prototype._hash=function(){var t=new r(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},e.exports=n}).call(this,t("buffer").Buffer)},{"./hash":191,buffer:45,inherits:159}],194:[function(t,e,r){(function(r){function n(){this.init(),this._w=s,u.call(this,64,56)}var i=t("inherits"),u=t("./hash"),o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);i(n,u),n.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},n.prototype._update=function(t){for(var e,r,n,i,u,s,a,f=this._w,h=0|this._a,c=0|this._b,l=0|this._c,p=0|this._d,d=0|this._e,m=0;16>m;++m)f[m]=t.readInt32BE(4*m);for(;80>m;++m)f[m]=(e=f[m-3]^f[m-8]^f[m-14]^f[m-16])<<1|e>>>31;for(var g=0;80>g;++g){var y=~~(g/20),b=0|((a=h)<<5|a>>>27)+(i=c,u=l,s=p,0===(n=y)?i&u|~i&s:2===n?i&u|i&s|u&s:i^u^s)+d+f[g]+o[y];d=p,p=l,l=(r=c)<<30|r>>>2,c=h,h=b}this._a=h+this._a|0,this._b=c+this._b|0,this._c=l+this._c|0,this._d=p+this._d|0,this._e=d+this._e|0},n.prototype._hash=function(){var t=new r(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},e.exports=n}).call(this,t("buffer").Buffer)},{"./hash":191,buffer:45,inherits:159}],195:[function(t,e,r){(function(r){function n(){this.init(),this._w=s,o.call(this,64,56)}var i=t("inherits"),u=t("./sha256"),o=t("./hash"),s=new Array(64);i(n,u),n.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},n.prototype._hash=function(){var t=new r(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},e.exports=n}).call(this,t("buffer").Buffer)},{"./hash":191,"./sha256":196,buffer:45,inherits:159}],196:[function(t,e,r){(function(r){function n(){this.init(),this._w=s,u.call(this,64,56)}var i=t("inherits"),u=t("./hash"),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],s=new Array(64);
  13. i(n,u),n.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},n.prototype._update=function(t){for(var e,r,n,i,u,s,a,f=this._w,h=0|this._a,c=0|this._b,l=0|this._c,p=0|this._d,d=0|this._e,m=0|this._f,g=0|this._g,y=0|this._h,b=0;16>b;++b)f[b]=t.readInt32BE(4*b);for(;64>b;++b)f[b]=0|(((r=f[b-2])>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)+f[b-7]+(((e=f[b-15])>>>7|e<<25)^(e>>>18|e<<14)^e>>>3)+f[b-16];for(var v=0;64>v;++v){var _=y+(((a=d)>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7))+((s=g)^d&(m^s))+o[v]+f[v]|0,w=0|(((u=h)>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10))+((n=h)&(i=c)|l&(n|i));y=g,g=m,m=d,d=p+_|0,p=l,l=c,c=h,h=_+w|0}this._a=h+this._a|0,this._b=c+this._b|0,this._c=l+this._c|0,this._d=p+this._d|0,this._e=d+this._e|0,this._f=m+this._f|0,this._g=g+this._g|0,this._h=y+this._h|0},n.prototype._hash=function(){var t=new r(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},e.exports=n}).call(this,t("buffer").Buffer)},{"./hash":191,buffer:45,inherits:159}],197:[function(t,e,r){(function(r){function n(){this.init(),this._w=s,o.call(this,128,112)}var i=t("inherits"),u=t("./sha512"),o=t("./hash"),s=new Array(160);i(n,u),n.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},n.prototype._hash=function(){function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}var e=new r(48);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=n}).call(this,t("buffer").Buffer)},{"./hash":191,"./sha512":198,buffer:45,inherits:159}],198:[function(t,e,r){(function(r){function n(){this.init(),this._w=l,h.call(this,128,112)}function i(t,e,r){return r^t&(e^r)}function u(t,e,r){return t&e|r&(t|e)}function o(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function s(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function a(t,e){return e>>>0>t>>>0?1:0}var f=t("inherits"),h=t("./hash"),c=[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],l=new Array(160);f(n,h),n.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},n.prototype._update=function(t){for(var e,r,n,f,h,l,p,d,m=this._w,g=0|this._ah,y=0|this._bh,b=0|this._ch,v=0|this._dh,_=0|this._eh,w=0|this._fh,E=0|this._gh,A=0|this._hh,B=0|this._al,C=0|this._bl,F=0|this._cl,x=0|this._dl,D=0|this._el,S=0|this._fl,k=0|this._gl,M=0|this._hl,T=0;32>T;T+=2)m[T]=t.readInt32BE(4*T),m[T+1]=t.readInt32BE(4*T+4);for(;160>T;T+=2){var I=m[T-30],j=m[T-30+1],O=((p=I)>>>1|(d=j)<<31)^(p>>>8|d<<24)^p>>>7,L=((h=j)>>>1|(l=I)<<31)^(h>>>8|l<<24)^(h>>>7|l<<25);I=m[T-4],j=m[T-4+1];var U=((n=I)>>>19|(f=j)<<13)^(f>>>29|n<<3)^n>>>6,R=((e=j)>>>19|(r=I)<<13)^(r>>>29|e<<3)^(e>>>6|r<<26),N=m[T-14],q=m[T-14+1],P=m[T-32],z=m[T-32+1],V=L+q|0,Z=O+N+a(V,L)|0;Z=(Z=Z+U+a(V=V+R|0,R)|0)+P+a(V=V+z|0,z)|0,m[T]=Z,m[T+1]=V}for(var H=0;160>H;H+=2){Z=m[H],V=m[H+1];var G=u(g,y,b),K=u(B,C,F),W=o(g,B),X=o(B,g),Y=s(_,D),J=s(D,_),$=c[H],Q=c[H+1],te=i(_,w,E),ee=i(D,S,k),re=M+J|0,ne=A+Y+a(re,M)|0;ne=(ne=(ne=ne+te+a(re=re+ee|0,ee)|0)+$+a(re=re+Q|0,Q)|0)+Z+a(re=re+V|0,V)|0;var ie=X+K|0,ue=W+G+a(ie,X)|0;A=E,M=k,E=w,k=S,w=_,S=D,_=v+ne+a(D=x+re|0,x)|0,v=b,x=F,b=y,F=C,y=g,C=B,g=ne+ue+a(B=re+ie|0,re)|0}this._al=this._al+B|0,this._bl=this._bl+C|0,this._cl=this._cl+F|0,this._dl=this._dl+x|0,this._el=this._el+D|0,this._fl=this._fl+S|0,this._gl=this._gl+k|0,this._hl=this._hl+M|0,this._ah=this._ah+g+a(this._al,B)|0,this._bh=this._bh+y+a(this._bl,C)|0,this._ch=this._ch+b+a(this._cl,F)|0,this._dh=this._dh+v+a(this._dl,x)|0,this._eh=this._eh+_+a(this._el,D)|0,this._fh=this._fh+w+a(this._fl,S)|0,this._gh=this._gh+E+a(this._gl,k)|0,this._hh=this._hh+A+a(this._hl,M)|0},n.prototype._hash=function(){function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}var e=new r(64);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=n}).call(this,t("buffer").Buffer)},{"./hash":191,buffer:45,inherits:159}],199:[function(t,e,r){function n(){i.call(this)}e.exports=n;var i=t("events").EventEmitter;t("inherits")(n,i),n.Readable=t("readable-stream/readable.js"),n.Writable=t("readable-stream/writable.js"),n.Duplex=t("readable-stream/duplex.js"),n.Transform=t("readable-stream/transform.js"),n.PassThrough=t("readable-stream/passthrough.js"),(n.Stream=n).prototype.pipe=function(t,e){function r(e){t.writable&&!1===t.write(e)&&f.pause&&f.pause()}function n(){f.readable&&f.resume&&f.resume()}function u(){h||(h=!0,t.end())}function o(){h||(h=!0,"function"==typeof t.destroy&&t.destroy())}function s(t){if(a(),0===i.listenerCount(this,"error"))throw t}function a(){f.removeListener("data",r),t.removeListener("drain",n),f.removeListener("end",u),f.removeListener("close",o),f.removeListener("error",s),t.removeListener("error",s),f.removeListener("end",a),f.removeListener("close",a),t.removeListener("close",a)}var f=this;f.on("data",r),t.on("drain",n),t._isStdio||e&&!1===e.end||(f.on("end",u),f.on("close",o));var h=!1;return f.on("error",s),t.on("error",s),f.on("end",a),f.on("close",a),t.on("close",a),t.emit("pipe",f),t}},{events:150,inherits:159,"readable-stream/duplex.js":174,"readable-stream/passthrough.js":183,"readable-stream/readable.js":184,"readable-stream/transform.js":185,"readable-stream/writable.js":186}],200:[function(t,e,r){"use strict";function n(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(l.isEncoding===p||!p(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=o,this.end=s,e=4;break;case"utf8":this.fillLast=u,e=4;break;case"base64":this.text=a,this.end=f,e=3;break;default:return this.write=h,void(this.end=c)}this.lastNeed=0,this.lastTotal=0,this.lastChar=l.allocUnsafe(e)}function i(t){return 127>=t?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:-1}function u(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"�".repeat(r);if(1<t.lastNeed&&1<e.length){if(128!=(192&e[1]))return t.lastNeed=1,"�".repeat(r+1);if(2<t.lastNeed&&2<e.length&&128!=(192&e[2]))return t.lastNeed=2,"�".repeat(r+2)}}(this,t,e);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function o(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&56319>=n)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function s(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function a(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function f(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function h(t){return t.toString(this.encoding)}function c(t){return t&&t.length?this.write(t):""}var l=t("safe-buffer").Buffer,p=l.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};(r.StringDecoder=n).prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},n.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�".repeat(this.lastTotal-this.lastNeed):e},n.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(r>n)return 0;var u=i(e[n]);return u>=0?(u>0&&(t.lastNeed=u-1),u):--n<r?0:0<=(u=i(e[n]))?(u>0&&(t.lastNeed=u-2),u):--n<r?0:0<=(u=i(e[n]))?(u>0&&(2===u?u=0:t.lastNeed=u-3),u):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},n.prototype.fillLast=function(t){return this.lastNeed<=t.length?(t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),void(this.lastNeed-=t.length))}},{"safe-buffer":190}],201:[function(t,e,r){var n={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(t,e){var r=n[e];return t=null==t?"":String(t),r&&(t=t.replace(r.regexp,function(t){return r.map[t]})),t.toUpperCase()}},{}],202:[function(t,e,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(t,e){if(r("noDeprecation"))return t;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],203:[function(t,e,r){arguments[4][159][0].apply(r,arguments)},{dup:159}],204:[function(t,e,r){e.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},{}],205:[function(t,e,r){(function(e,n){function i(t,e){var n={seen:[],stylize:o};return 3<=arguments.length&&(n.depth=arguments[2]),4<=arguments.length&&(n.colors=arguments[3]),c(e)?n.showHidden=e:e&&r._extend(n,e),m(n.showHidden)&&(n.showHidden=!1),m(n.depth)&&(n.depth=2),m(n.colors)&&(n.colors=!1),m(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),s(n,t,n.depth)}function u(t,e){var r=i.styles[e];return r?"["+i.colors[r][0]+"m"+t+"["+i.colors[r][1]+"m":t}function o(t,e){return t}function s(t,e,n){if(t.customInspect&&e&&_(e.inspect)&&e.inspect!==r.inspect&&(!e.constructor||e.constructor.prototype!==e)){var i=e.inspect(n,t);return d(i)||(i=s(t,i,n)),i}var u=function(t,e){if(m(e))return t.stylize("undefined","undefined");if(d(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return p(e)?t.stylize(""+e,"number"):c(e)?t.stylize(""+e,"boolean"):l(e)?t.stylize("null","null"):void 0}(t,e);if(u)return u;var o,y=Object.keys(e),w=(o={},y.forEach(function(t,e){o[t]=!0}),o);if(t.showHidden&&(y=Object.getOwnPropertyNames(e)),v(e)&&(0<=y.indexOf("message")||0<=y.indexOf("description")))return a(e);if(0===y.length){if(_(e)){var E=e.name?": "+e.name:"";return t.stylize("[Function"+E+"]","special")}if(g(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(b(e))return t.stylize(Date.prototype.toString.call(e),"date");if(v(e))return a(e)}var B,C="",F=!1,x=["{","}"];return h(e)&&(F=!0,x=["[","]"]),_(e)&&(C=" [Function"+(e.name?": "+e.name:"")+"]"),g(e)&&(C=" "+RegExp.prototype.toString.call(e)),b(e)&&(C=" "+Date.prototype.toUTCString.call(e)),v(e)&&(C=" "+a(e)),0!==y.length||F&&0!=e.length?0>n?g(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),B=F?function(t,e,r,n,i){for(var u=[],o=0,s=e.length;s>o;++o)A(e,String(o))?u.push(f(t,e,r,n,String(o),!0)):u.push("");return i.forEach(function(i){i.match(/^\d+$/)||u.push(f(t,e,r,n,i,!0))}),u}(t,e,n,w,y):y.map(function(r){return f(t,e,n,w,r,F)}),t.seen.pop(),function(t,e,r){return 60<t.reduce(function(t,e){return 0<=e.indexOf("\n")&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}(B,C,x)):x[0]+C+x[1]}function a(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t,e,r,n,i,u){var o,a,f;if((f=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?a=f.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):f.set&&(a=t.stylize("[Setter]","special")),A(n,i)||(o="["+i+"]"),a||(t.seen.indexOf(f.value)<0?-1<(a=l(r)?s(t,f.value,null):s(t,f.value,r-1)).indexOf("\n")&&(a=u?a.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n")):a=t.stylize("[Circular]","special")),m(o)){if(u&&i.match(/^\d+$/))return a;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+a}function h(t){return Array.isArray(t)}function c(t){return"boolean"==typeof t}function l(t){return null===t}function p(t){return"number"==typeof t}function d(t){return"string"==typeof t}function m(t){return void 0===t}function g(t){return y(t)&&"[object RegExp]"===w(t)}function y(t){return"object"==typeof t&&null!==t}function b(t){return y(t)&&"[object Date]"===w(t)}function v(t){return y(t)&&("[object Error]"===w(t)||t instanceof Error)}function _(t){return"function"==typeof t}function w(t){return Object.prototype.toString.call(t)}function E(t){return 10>t?"0"+t.toString(10):t.toString(10)}function A(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var B=/%[sdj%]/g;r.format=function(t){if(!d(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(i(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,u=n.length,o=String(t).replace(B,function(t){if("%%"===t)return"%";if(r>=u)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}}),s=n[r];u>r;s=n[++r])o+=l(s)||!y(s)?" "+s:" "+i(s);return o},r.deprecate=function(t,i){if(m(n.process))return function(){return r.deprecate(t,i).apply(this,arguments)};if(!0===e.noDeprecation)return t;var u=!1;return function(){if(!u){if(e.throwDeprecation)throw new Error(i);e.traceDeprecation?console.trace(i):console.error(i),u=!0}return t.apply(this,arguments)}};var C,F={};r.debuglog=function(t){if(m(C)&&(C=e.env.NODE_DEBUG||""),t=t.toUpperCase(),!F[t])if(new RegExp("\\b"+t+"\\b","i").test(C)){var n=e.pid;F[t]=function(){var e=r.format.apply(r,arguments);console.error("%s %d: %s",t,n,e)}}else F[t]=function(){};return F[t]},(r.inspect=i).colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=h,r.isBoolean=c,r.isNull=l,r.isNullOrUndefined=function(t){return null==t},r.isNumber=p,r.isString=d,r.isSymbol=function(t){return"symbol"==typeof t},r.isUndefined=m,r.isRegExp=g,r.isObject=y,r.isDate=b,r.isError=v,r.isFunction=_,r.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},r.isBuffer=t("./support/isBuffer");var x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];r.log=function(){var t,e;console.log("%s - %s",(t=new Date,e=[E(t.getHours()),E(t.getMinutes()),E(t.getSeconds())].join(":"),[t.getDate(),x[t.getMonth()],e].join(" ")),r.format.apply(r,arguments))},r.inherits=t("inherits"),r._extend=function(t,e){if(!e||!y(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":204,_process:172,inherits:203}],206:[function(t,e,r){var n;n=this,function(t){"use strict";function e(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function r(t){return"string"!=typeof t&&(t=String(t)),t}function n(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return m&&(e[Symbol.iterator]=function(){return e}),e}function i(t){this.map={},t instanceof i?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function u(t){return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function o(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function s(t){var e=new FileReader,r=o(e);return e.readAsArrayBuffer(t),r}function a(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function f(){return this.bodyUsed=!1,this._initBody=function(t){var e;(this._bodyInit=t)?"string"==typeof t?this._bodyText=t:g&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:y&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:d&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():b&&g&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=a(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):b&&(ArrayBuffer.prototype.isPrototypeOf(t)||_(t))?this._bodyArrayBuffer=a(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):d&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},g&&(this.blob=function(){var t=u(this);if(t)return t;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(s)}),this.text=function(){var t,e,r,n=u(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=o(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},y&&(this.formData=function(){return this.text().then(c)}),this.json=function(){return this.text().then(JSON.parse)},this}function h(t,e){var r,n,u=(e=e||{}).body;if(t instanceof h){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new i(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,u||null==t._bodyInit||(u=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new i(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),-1<w.indexOf(n)?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&u)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(u)}function c(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(i))}}),e}function l(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=200<=this.status&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new i(e.headers),this.url=e.url||"",this._initBody(t)}function p(e,r){return new Promise(function(n,u){function o(){a.abort()}var s=new h(e,r);if(s.signal&&s.signal.aborted)return u(new t.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;a.onload=function(){var t,e,r={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",e=new i,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(t){var r=t.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();e.append(n,i)}}),e)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var u="response"in a?a.response:a.responseText;n(new l(u,r))},a.onerror=function(){u(new TypeError("Network request failed"))},a.ontimeout=function(){u(new TypeError("Network request failed"))},a.onabort=function(){u(new t.DOMException("Aborted","AbortError"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&g&&(a.responseType="blob"),s.headers.forEach(function(t,e){a.setRequestHeader(e,t)}),s.signal&&(s.signal.addEventListener("abort",o),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",o)}),a.send(void 0===s._bodyInit?null:s._bodyInit)})}var d="URLSearchParams"in self,m="Symbol"in self&&"iterator"in Symbol,g="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),y="FormData"in self,b="ArrayBuffer"in self;if(b)var v=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],_=ArrayBuffer.isView||function(t){return t&&-1<v.indexOf(Object.prototype.toString.call(t))};i.prototype.append=function(t,n){t=e(t),n=r(n);var i=this.map[t];this.map[t]=i?i+", "+n:n},i.prototype["delete"]=function(t){delete this.map[e(t)]},i.prototype.get=function(t){return t=e(t),this.has(t)?this.map[t]:null},i.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},i.prototype.set=function(t,n){this.map[e(t)]=r(n)},i.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},i.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),n(t)},i.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),n(t)},i.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),n(t)},m&&(i.prototype[Symbol.iterator]=i.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];h.prototype.clone=function(){return new h(this,{body:this._bodyInit})},f.call(h.prototype),f.call(l.prototype),l.prototype.clone=function(){return new l(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},l.error=function(){var t=new l(null,{status:0,statusText:""});return t.type="error",t};var E=[301,302,303,307,308];l.redirect=function(t,e){if(-1===E.indexOf(e))throw new RangeError("Invalid status code");return new l(null,{status:e,headers:{location:t}})},t.DOMException=self.DOMException;try{new t.DOMException}catch(n){t.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}p.polyfill=!0,self.fetch||(self.fetch=p,self.Headers=i,self.Request=h,self.Response=l),t.Headers=i,t.Request=h,t.Response=l,t.fetch=p,Object.defineProperty(t,"__esModule",{value:!0})}("object"==typeof r&&void 0!==e?r:n.WHATWGFetch={})},{}]},{},[3])(3)});