Code Duplication    Length = 1-33 lines in 4 locations

lib/wallet.js 1 location

@@ 416-448 (lines=33) @@
413
                recoverySecret: false // don't create new recovery secret, V2 already has ones
414
            };
415
416
            return self.sdk.produceEncryptedDataV3(options, notify || function noop() {})
417
                .then(function(options) {
418
                    return self.sdk.updateWallet(self.identifier, {
419
                        encrypted_primary_seed: options.encryptedPrimarySeed.toString('base64'),
420
                        encrypted_secret: options.encryptedSecret.toString('base64'),
421
                        wallet_version: Wallet.WALLET_VERSION_V3
422
                    }).then(function() {
423
                        self.secret = options.secret;
424
                        self.encryptedPrimarySeed = options.encryptedPrimarySeed;
425
                        self.encryptedSecret = options.encryptedSecret;
426
                        self.walletVersion = Wallet.WALLET_VERSION_V3;
427
428
                        return self;
429
                    });
430
                });
431
        });
432
433
};
434
435
Wallet.prototype._upgradeV1ToV3 = function(passphrase, notify) {
436
    var self = this;
437
438
    return q.when(true)
439
        .then(function() {
440
            var options = {
441
                storeDataOnServer: true,
442
                passphrase: passphrase,
443
                primarySeed: self.primarySeed
444
            };
445
446
            return self.sdk.produceEncryptedDataV3(options, notify || function noop() {})
447
                .then(function(options) {
448
                    // store recoveryEncryptedSecret for printing on backup sheet
449
                    self.recoveryEncryptedSecret = options.recoveryEncryptedSecret;
450
451
                    return self.sdk.updateWallet(self.identifier, {

build/blocktrail-sdk.min.js 3 locations

@@ 2-2 (lines=1) @@
1
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).blocktrailSDK=e()}}(function(){var define,module,exports;return function e(t,r,n){function i(s,a){if(!r[s]){if(!t[s]){var c="function"==typeof require&&require;if(!a&&c)return c(s,!0);if(o)return o(s,!0);var f=new Error("Cannot find module '"+s+"'");throw f.code="MODULE_NOT_FOUND",f}var u=r[s]={exports:{}};t[s][0].call(u.exports,function(e){var r=t[s][1][e];return i(r||e)},u,u.exports,e,t,r,n)}return r[s].exports}for(var o="function"==typeof require&&require,s=0;s<n.length;s++)i(n[s]);return i}({1:[function(e,t,r){(function(r,Buffer){function n(e,t){if(void 0!==a.HDNode.fromBase58(e[0],t).keyPair.d)throw new Error("BIP32Key contained private key material - abort");if("M"!==e[1].slice(0,1))throw new Error("BIP32Key contained non-public path - abort")}function i(e,t){n(e.primary_public_key,t),n(e.backup_public_key,t)}var o=e("lodash"),s=e("q"),a=e("bitcoinjs-lib"),c=e("bitcoinjs-message"),f=e("bip39"),u=e("./wallet"),h=e("./rest_client"),l=e("./encryption"),d=e("./keyderivation"),p=e("./encryption_mnemonic"),b=e("./blocktrail"),y=e("randombytes"),v=e("crypto-js"),m=e("./webworkifier"),g=e("./use-webworker")(),w=function(e){var t=this;if(!(this instanceof w))return new w(e);t.bitcoinCash=e.network&&"BCC"===e.network,t.testnet=e.testnet=e.testnet||!1,t.bitcoinCash?t.testnet?t.network=a.networks.bitcoincashtestnet:t.network=a.networks.bitcoincash:t.testnet?t.network=a.networks.testnet:t.network=a.networks.bitcoin,t.feeSanityCheck=void 0===e.feeSanityCheck||e.feeSanityCheck,t.feeSanityCheckBaseFeeMultiplier=e.feeSanityCheckBaseFeeMultiplier||200,e.apiNetwork=e.apiNetwork||(t.testnet?"t":"")+(e.network||"BTC").toUpperCase(),t.client=w.initRestClient(e)};w.initRestClient=function(e){return r.env.BLOCKTRAIL_SDK_API_ENDPOINT&&(e.host=r.env.BLOCKTRAIL_SDK_API_ENDPOINT),e.host&&0===e.host.indexOf("https://")?(e.https=!0,e.host=e.host.substr(8)):e.host&&0===e.host.indexOf("http://")&&(e.https=!1,e.host=e.host.substr(7)),void 0===e.https&&(e.https=!0),e.host||(e.host="api.blocktrail.com"),e.port||(e.port=e.https?443:80),e.endpoint||(e.endpoint="/"+(e.apiVersion||"v1")+(e.apiNetwork?"/"+e.apiNetwork:"")),new h(e)};var _=function(e){return s.when(e).then(function(e){return e.storePrimaryMnemonic&&(e.storeDataOnServer=e.storePrimaryMnemonic),void 0===e.storeDataOnServer&&(e.storeDataOnServer=!e.primarySeed),e})};w.prototype.promisedEncrypt=function(t,r,n){if(g&&"function"==typeof onLoadWorkerLoadAsmCrypto){var i=l.generateSalt(),o=l.generateIV();return m.workify(w.prototype.promisedEncrypt,function(){return e("./webworker")},onLoadWorkerLoadAsmCrypto,{method:"Encryption.encryptWithSaltAndIV",pt:t,pw:r,saltBuf:i,iv:o,iterations:n}).then(function(e){return Buffer.from(e.cipherText.buffer)})}try{return s.when(l.encrypt(t,r,n))}catch(e){return s.reject(e)}},w.prototype.promisedDecrypt=function(t,r){if(g&&"function"==typeof onLoadWorkerLoadAsmCrypto)return m.workify(w.prototype.promisedDecrypt,function(){return e("./webworker")},onLoadWorkerLoadAsmCrypto,{method:"Encryption.decrypt",ct:t,pw:r}).then(function(e){return Buffer.from(e.plainText.buffer)});try{return s.when(l.decrypt(t,r))}catch(e){return s.reject(e)}},w.prototype.produceEncryptedDataV3=function(e,t){var r=this;return s.when(e).then(function(e){return e.storeDataOnServer?s.when().then(function(){if(!e.secret){if(!e.passphrase)throw new b.WalletCreateError("Can't encrypt data without a passphrase");return t(w.CREATE_WALLET_PROGRESS_ENCRYPT_SECRET),e.secret=y(u.WALLET_ENTROPY_BITS/8),r.promisedEncrypt(e.secret,new Buffer(e.passphrase),d.defaultIterations).then(function(t){e.encryptedSecret=t})}if(!(e.secret instanceof Buffer))throw new Error("Secret must be a buffer")}).then(function(){return t(w.CREATE_WALLET_PROGRESS_ENCRYPT_PRIMARY),r.promisedEncrypt(e.primarySeed,e.secret,d.subkeyIterations).then(function(t){e.encryptedPrimarySeed=t})}).then(function(){if(!1!==e.recoverySecret)return t(w.CREATE_WALLET_PROGRESS_ENCRYPT_RECOVERY),e.recoverySecret||(e.recoverySecret=y(u.WALLET_ENTROPY_BITS/8)),r.promisedEncrypt(e.secret,e.recoverySecret,d.defaultIterations).then(function(t){e.recoveryEncryptedSecret=t})}).then(function(){return e}):e})};var E=function(e,t,r){return s.when(e).then(function(e){return e.backupPublicKey||(e.backupSeed=e.backupSeed||y(u.WALLET_ENTROPY_BITS/8)),r(w.CREATE_WALLET_PROGRESS_PRIMARY),e.primaryPrivateKey=a.HDNode.fromSeedBuffer(e.primarySeed,t),r(w.CREATE_WALLET_PROGRESS_BACKUP),e.backupPublicKey||(e.backupPrivateKey=a.HDNode.fromSeedBuffer(e.backupSeed,t),e.backupPublicKey=e.backupPrivateKey.neutered()),e.primaryPublicKey=e.primaryPrivateKey.deriveHardened(e.keyIndex).neutered(),r(w.CREATE_WALLET_PROGRESS_SUBMIT),e})};w.prototype.mnemonicToPrivateKey=function(e,t,r){var n=this,i=s.defer();return i.promise.spreadNodeify(r),i.resolve(s.fcall(function(){return n.mnemonicToSeedHex(e,t).then(function(e){return a.HDNode.fromSeedHex(e,n.network)})})),i.promise},w.prototype.mnemonicToSeedHex=function(t,r){if(g)return m.workify(this.mnemonicToSeedHex,function(){return e("./webworker")},{method:"mnemonicToSeedHex",mnemonic:t,passphrase:r}).then(function(e){return e.seed});try{return s.when(f.mnemonicToSeedHex(t,r))}catch(e){return s.reject(e)}},w.prototype.resolvePrimaryPrivateKeyFromOptions=function(e,t){var r=this,n=s.defer();n.promise.nodeify(t);try{if(e.passphrase&&e.password)throw new b.WalletCreateError("Can't specify passphrase and password");if(e.passphrase=e.passphrase||e.password,delete e.password,e.primaryMnemonic&&e.primarySeed)throw new b.WalletInitError("Can only specify one of; Primary Mnemonic or Primary Seed");if(e.primaryPrivateKey)throw new b.WalletInitError("Can't specify; Primary PrivateKey");if(!e.primaryMnemonic&&!e.primarySeed)throw new b.WalletInitError("Need to specify at least one of; Primary Mnemonic or Primary Seed");if(e.primarySeed)r.primarySeed=e.primarySeed,e.primaryPrivateKey=a.HDNode.fromSeedBuffer(r.primarySeed,r.network),n.resolve(e);else{if(!e.passphrase)throw new b.WalletInitError("Can't init wallet with Primary Mnemonic without a passphrase");r.mnemonicToSeedHex(e.primaryMnemonic,e.passphrase).then(function(t){try{e.primarySeed=new Buffer(t,"hex"),e.primaryPrivateKey=a.HDNode.fromSeedBuffer(e.primarySeed,r.network),n.resolve(e)}catch(e){n.reject(e)}},function(e){n.reject(e)})}}catch(e){n.reject(e)}return n.promise},w.prototype.resolveBackupPublicKeyFromOptions=function(e,t){var r=s.defer();r.promise.nodeify(t);try{if(e.backupMnemonic&&e.backupPublicKey)throw new b.WalletInitError("Can only specify one of; Backup Mnemonic or Backup PublicKey");if(!e.backupMnemonic&&!e.backupPublicKey)throw new b.WalletInitError("Need to specify at least one of; Backup Mnemonic or Backup PublicKey");e.backupPublicKey?e.backupPublicKey instanceof a.HDNode?r.resolve(e):(e.backupPublicKey=a.HDNode.fromBase58(e.backupPublicKey,this.network),r.resolve(e)):this.mnemonicToPrivateKey(e.backupMnemonic,"").then(function(t){e.backupPublicKey=t.neutered(),r.resolve(e)},function(e){r.reject(e)})}catch(e){r.reject(e)}return r.promise},w.prototype.debugAuth=function(e){return this.client.get("/debug/http-signature",null,!0,e)},w.prototype.address=function(e,t){return this.client.get("/address/"+e,null,t)},w.prototype.addresses=function(e,t){return this.client.post("/address",null,{addresses:e},t)},w.prototype.addressTransactions=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/address/"+e+"/transactions",t,r)},w.prototype.batchAddressHasTransactions=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.post("/address/has-transactions",t,{addresses:e},r)},w.prototype.addressUnconfirmedTransactions=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/address/"+e+"/unconfirmed-transactions",t,r)},w.prototype.addressUnspentOutputs=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/address/"+e+"/unspent-outputs",t,r)},w.prototype.batchAddressUnspentOutputs=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.post("/address/unspent-outputs",t,{addresses:e},r)},w.prototype.verifyAddress=function(e,t,r){return this.client.post("/address/"+e+"/verify",null,{signature:t},r)},w.prototype.allBlocks=function(e,t){return"function"==typeof e&&(t=e,e=null),this.client.get("/all-blocks",e,t)},w.prototype.block=function(e,t){return this.client.get("/block/"+e,null,t)},w.prototype.blockLatest=function(e){return this.client.get("/block/latest",null,e)},w.prototype.blockTransactions=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/block/"+e+"/transactions",t,r)},w.prototype.transaction=function(e,t){return this.client.get("/transaction/"+e,null,t)},w.prototype.transactions=function(e,t){return this.client.post("/transactions",null,e,t,!1)},w.prototype.allWebhooks=function(e,t){return"function"==typeof e&&(t=e,e=null),this.client.get("/webhooks",e,t)},w.prototype.setupWebhook=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.post("/webhook",null,{url:e,identifier:t},r)},w.prototype.getLegacyBitcoinCashAddress=function(e){if(this.network===a.networks.bitcoincash||this.network===a.networks.bitcoincashtestnet){var t;try{return a.address.fromBase58Check(e,this.network),e}catch(e){}var r;if((t=a.address.fromCashAddress(e,this.network)).version===a.script.types.P2PKH)r=this.network.pubKeyHash;else{if(t.version!==a.script.types.P2SH)throw new Error("Unsupported address type");r=this.network.scriptHash}return a.address.toBase58Check(t.hash,r)}throw new Error("Cash addresses only work on bitcoin cash")},w.prototype.getCashAddressFromLegacyAddress=function(e){if(this.network===a.networks.bitcoincash||this.network===a.networks.bitcoincashtestnet){var t;try{return a.address.fromCashAddress(e,this.network),e}catch(e){}var r;if((t=a.address.fromBase58Check(e,this.network)).version===this.network.pubKeyHash)r=a.script.types.P2PKH;else{if(t.version!==this.network.scriptHash)throw new Error("Unsupported address type");r=a.script.types.P2SH}return a.address.toCashAddress(t.hash,r,this.network.cashAddrPrefix)}throw new Error("Cash addresses only work on bitcoin cash")},w.prototype.getWebhook=function(e,t){return this.client.get("/webhook/"+e,null,t)},w.prototype.updateWebhook=function(e,t,r){return this.client.put("/webhook/"+e,null,t,r)},w.prototype.deleteWebhook=function(e,t){return this.client.delete("/webhook/"+e,null,null,t)},w.prototype.getWebhookEvents=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/webhook/"+e+"/events",t,r)},w.prototype.subscribeTransaction=function(e,t,r,n){var i={event_type:"transaction",transaction:t,confirmations:r};return this.client.post("/webhook/"+e+"/events",null,i,n)},w.prototype.subscribeAddressTransactions=function(e,t,r,n){var i={event_type:"address-transactions",address:t,confirmations:r};return this.client.post("/webhook/"+e+"/events",null,i,n)},w.prototype.batchSubscribeAddressTransactions=function(e,t,r){return t.forEach(function(e){e.event_type="address-transactions"}),this.client.post("/webhook/"+e+"/events/batch",null,t,r)},w.prototype.subscribeNewBlocks=function(e,t){return this.client.post("/webhook/"+e+"/events",null,{event_type:"block"},t)},w.prototype.unsubscribeAddressTransactions=function(e,t,r){return this.client.delete("/webhook/"+e+"/address-transactions/"+t,null,null,r)},w.prototype.unsubscribeTransaction=function(e,t,r){return this.client.delete("/webhook/"+e+"/transaction/"+t,null,null,r)},w.prototype.unsubscribeNewBlocks=function(e,t){return this.client.delete("/webhook/"+e+"/block",null,null,t)},w.prototype.initWallet=function(e,t){var r=this;if("object"!=typeof e&&(e={identifier:arguments[0],passphrase:arguments[1]},t=arguments[2]),e.check_backup_key&&"string"!=typeof e.check_backup_key)throw new Error("Invalid input, must provide the backup key as a string (the xpub)");var n=s.defer();n.promise.spreadNodeify(t);var i=e.identifier;return i?(n.resolve(r.client.get("/wallet/"+i,null,!0).then(function(t){var n=e.keyIndex||t.key_index;if(e.walletVersion=t.wallet_version,e.check_backup_key&&e.check_backup_key!==t.backup_public_key[0])throw new Error("Backup key returned from server didn't match our own copy");var s=a.HDNode.fromBase58(t.backup_public_key[0],r.network),c=o.mapValues(t.blocktrail_public_keys,function(e){return a.HDNode.fromBase58(e[0],r.network)}),f=o.mapValues(t.primary_public_keys,function(e){return a.HDNode.fromBase58(e[0],r.network)}),h=new u(r,i,e.walletVersion,t.primary_mnemonic,t.encrypted_primary_seed,t.encrypted_secret,f,s,c,n,t.segwit||0,r.testnet,t.checksum,t.upgrade_key_index,e.useCashAddress,e.bypassNewAddressCheck);return h.recoverySecret=t.recovery_secret,e.readOnly?h:h.unlock(e).then(function(){return h})})),n.promise):(n.reject(new b.WalletInitError("Identifier is required")),n.promise)},w.CREATE_WALLET_PROGRESS_START=0,w.CREATE_WALLET_PROGRESS_ENCRYPT_SECRET=4,w.CREATE_WALLET_PROGRESS_ENCRYPT_PRIMARY=5,w.CREATE_WALLET_PROGRESS_ENCRYPT_RECOVERY=6,w.CREATE_WALLET_PROGRESS_PRIMARY=10,w.CREATE_WALLET_PROGRESS_BACKUP=20,w.CREATE_WALLET_PROGRESS_SUBMIT=30,w.CREATE_WALLET_PROGRESS_INIT=40,w.CREATE_WALLET_PROGRESS_DONE=100,w.prototype.createNewWallet=function(e,t){var r=this;if("object"!=typeof e){var n=arguments[0],i=arguments[1],o=arguments[2];t=arguments[3],"function"==typeof o&&(t=o,o=null),e={identifier:n,passphrase:i,keyIndex:o}}e.walletVersion=e.walletVersion||u.WALLET_VERSION_V3;var a=s.defer();return a.promise.spreadNodeify(t),s.nextTick(function(){if(a.notify(w.CREATE_WALLET_PROGRESS_START),e.keyIndex=e.keyIndex||0,e.passphrase=e.passphrase||e.password,delete e.password,!e.identifier)return a.reject(new b.WalletCreateError("Identifier is required")),a.promise;e.walletVersion===u.WALLET_VERSION_V1?r._createNewWalletV1(e).progress(function(e){a.notify(e)}).then(function(e){a.resolve(e)},function(e){a.reject(e)}):e.walletVersion===u.WALLET_VERSION_V2?r._createNewWalletV2(e).progress(function(e){a.notify(e)}).then(function(e){a.resolve(e)},function(e){a.reject(e)}):e.walletVersion===u.WALLET_VERSION_V3?r._createNewWalletV3(e).progress(function(e){a.notify(e)}).then(function(e){a.resolve(e)},function(e){a.reject(e)}):a.reject(new b.WalletCreateError("Invalid wallet version!"))}),a.promise},w.prototype._createNewWalletV1=function(e){var t=this,r=s.defer();return s.nextTick(function(){if(!e.primaryMnemonic&&!e.primarySeed){if(!e.passphrase&&!e.password)return r.reject(new b.WalletCreateError("Can't generate Primary Mnemonic without a passphrase")),r.promise;e.primaryMnemonic=f.generateMnemonic(u.WALLET_ENTROPY_BITS),!1!==e.storePrimaryMnemonic&&(e.storePrimaryMnemonic=!0)}e.backupMnemonic||e.backupPublicKey||(e.backupMnemonic=f.generateMnemonic(u.WALLET_ENTROPY_BITS)),r.notify(w.CREATE_WALLET_PROGRESS_PRIMARY),t.resolvePrimaryPrivateKeyFromOptions(e).then(function(e){return r.notify(w.CREATE_WALLET_PROGRESS_BACKUP),t.resolveBackupPublicKeyFromOptions(e).then(function(e){r.notify(w.CREATE_WALLET_PROGRESS_SUBMIT);var n=a.crypto.hash160(e.primaryPrivateKey.getPublicKeyBuffer()),i=a.address.toBase58Check(n,t.network.pubKeyHash),s=e.keyIndex,c=e.primaryPrivateKey.deriveHardened(s).neutered();return t.storeNewWalletV1(e.identifier,[c.toBase58(),"M/"+s+"'"],[e.backupPublicKey.toBase58(),"M"],!!e.storePrimaryMnemonic&&e.primaryMnemonic,i,s,e.segwit||null).then(function(n){r.notify(w.CREATE_WALLET_PROGRESS_INIT);var f=o.mapValues(n.blocktrail_public_keys,function(e){return a.HDNode.fromBase58(e[0],t.network)}),h=new u(t,e.identifier,u.WALLET_VERSION_V1,e.primaryMnemonic,null,null,{keyIndex:c},e.backupPublicKey,f,s,n.segwit||0,t.testnet,i,n.upgrade_key_index,e.useCashAddress,e.bypassNewAddressCheck);return h.unlock({walletVersion:u.WALLET_VERSION_V1,passphrase:e.passphrase,primarySeed:e.primarySeed,primaryMnemonic:null}).then(function(){return r.notify(w.CREATE_WALLET_PROGRESS_DONE),[h,{walletVersion:h.walletVersion,primaryMnemonic:e.primaryMnemonic,backupMnemonic:e.backupMnemonic,blocktrailPublicKeys:f}]})})})}).then(function(e){r.resolve(e)},function(e){r.reject(e)})}),r.promise},w.prototype._createNewWalletV2=function(e){var t=this,r=s.defer();return e=o.merge({},e),_(e).then(function(e){if(e.passphrase=e.passphrase||e.password,delete e.password,e.primaryPrivateKey)throw new b.WalletInitError("Can't specify; Primary PrivateKey");return e.primarySeed=e.primarySeed||y(u.WALLET_ENTROPY_BITS/8),e}).then(function(e){return function(e,t){return s.when(e).then(function(e){if(e.storeDataOnServer){if(!e.secret){if(!e.passphrase)throw new b.WalletCreateError("Can't encrypt data without a passphrase");t(w.CREATE_WALLET_PROGRESS_ENCRYPT_SECRET),e.secret=y(u.WALLET_ENTROPY_BITS/8).toString("hex"),e.encryptedSecret=v.AES.encrypt(e.secret,e.passphrase).toString(v.format.OpenSSL)}t(w.CREATE_WALLET_PROGRESS_ENCRYPT_PRIMARY),e.encryptedPrimarySeed=v.AES.encrypt(e.primarySeed.toString("base64"),e.secret).toString(v.format.OpenSSL),e.recoverySecret=y(u.WALLET_ENTROPY_BITS/8).toString("hex"),t(w.CREATE_WALLET_PROGRESS_ENCRYPT_RECOVERY),e.recoveryEncryptedSecret=v.AES.encrypt(e.secret,e.recoverySecret).toString(v.format.OpenSSL)}return e})}(e,r.notify.bind(r))}).then(function(e){return E(e,t.network,r.notify.bind(r))}).then(function(e){var n=a.crypto.hash160(e.primaryPrivateKey.getPublicKeyBuffer()),i=a.address.toBase58Check(n,t.network.pubKeyHash),s=e.keyIndex;return t.storeNewWalletV2(e.identifier,[e.primaryPublicKey.toBase58(),"M/"+s+"'"],[e.backupPublicKey.toBase58(),"M"],!!e.storeDataOnServer&&e.encryptedPrimarySeed,!!e.storeDataOnServer&&e.encryptedSecret,!!e.storeDataOnServer&&e.recoverySecret,i,s,e.support_secret||null,e.segwit||null).then(function(n){r.notify(w.CREATE_WALLET_PROGRESS_INIT);var c=o.mapValues(n.blocktrail_public_keys,function(e){return a.HDNode.fromBase58(e[0],t.network)}),h=new u(t,e.identifier,u.WALLET_VERSION_V2,null,e.storeDataOnServer?e.encryptedPrimarySeed:null,e.storeDataOnServer?e.encryptedSecret:null,{keyIndex:e.primaryPublicKey},e.backupPublicKey,c,s,n.segwit||0,t.testnet,i,n.upgrade_key_index,e.useCashAddress,e.bypassNewAddressCheck);return h.unlock({walletVersion:u.WALLET_VERSION_V2,passphrase:e.passphrase,primarySeed:e.primarySeed,secret:e.secret}).then(function(){return r.notify(w.CREATE_WALLET_PROGRESS_DONE),[h,{walletVersion:h.walletVersion,encryptedPrimarySeed:e.encryptedPrimarySeed?f.entropyToMnemonic(b.convert(e.encryptedPrimarySeed,"base64","hex")):null,backupSeed:e.backupSeed?f.entropyToMnemonic(e.backupSeed.toString("hex")):null,recoveryEncryptedSecret:e.recoveryEncryptedSecret?f.entropyToMnemonic(b.convert(e.recoveryEncryptedSecret,"base64","hex")):null,encryptedSecret:e.encryptedSecret?f.entropyToMnemonic(b.convert(e.encryptedSecret,"base64","hex")):null,blocktrailPublicKeys:c}]})})}).then(function(e){r.resolve(e)},function(e){r.reject(e)}),r.promise},w.prototype._createNewWalletV3=function(e){var t=this,r=s.defer();return e=o.merge({},e),_(e).then(function(e){if(e.passphrase=e.passphrase||e.password,delete e.password,e.primaryPrivateKey)throw new b.WalletInitError("Can't specify; Primary PrivateKey");return e.primarySeed=e.primarySeed||y(u.WALLET_ENTROPY_BITS/8),e}).then(function(e){return t.produceEncryptedDataV3(e,r.notify.bind(r))}).then(function(e){return E(e,t.network,r.notify.bind(r))}).then(function(e){var n=a.crypto.hash160(e.primaryPrivateKey.getPublicKeyBuffer()),i=a.address.toBase58Check(n,t.network.pubKeyHash),s=e.keyIndex;return t.storeNewWalletV3(e.identifier,[e.primaryPublicKey.toBase58(),"M/"+s+"'"],[e.backupPublicKey.toBase58(),"M"],!!e.storeDataOnServer&&e.encryptedPrimarySeed,!!e.storeDataOnServer&&e.encryptedSecret,!!e.storeDataOnServer&&e.recoverySecret,i,s,e.support_secret||null,e.segwit||null).then(function(n){r.notify(w.CREATE_WALLET_PROGRESS_INIT);var c=o.mapValues(n.blocktrail_public_keys,function(e){return a.HDNode.fromBase58(e[0],t.network)}),h=new u(t,e.identifier,u.WALLET_VERSION_V3,null,e.storeDataOnServer?e.encryptedPrimarySeed:null,e.storeDataOnServer?e.encryptedSecret:null,{keyIndex:e.primaryPublicKey},e.backupPublicKey,c,s,n.segwit||0,t.testnet,i,n.upgrade_key_index,e.useCashAddress,e.bypassNewAddressCheck);return h.unlock({walletVersion:u.WALLET_VERSION_V3,passphrase:e.passphrase,primarySeed:e.primarySeed,secret:e.secret}).then(function(){return r.notify(w.CREATE_WALLET_PROGRESS_DONE),[h,{walletVersion:h.walletVersion,encryptedPrimarySeed:e.encryptedPrimarySeed?p.encode(e.encryptedPrimarySeed):null,backupSeed:e.backupSeed?f.entropyToMnemonic(e.backupSeed):null,recoveryEncryptedSecret:e.recoveryEncryptedSecret?p.encode(e.recoveryEncryptedSecret):null,encryptedSecret:e.encryptedSecret?p.encode(e.encryptedSecret):null,blocktrailPublicKeys:c}]})})}).then(function(e){r.resolve(e)},function(e){r.reject(e)}),r.promise},w.prototype.storeNewWalletV1=function(e,t,r,n,o,s,a){var c={identifier:e,wallet_version:u.WALLET_VERSION_V1,primary_public_key:t,backup_public_key:r,primary_mnemonic:n,checksum:o,key_index:s,segwit:a};return i(c,this.network),this.client.post("/wallet",null,c)},w.prototype.storeNewWalletV2=function(e,t,r,n,o,s,a,c,f,h){var l={identifier:e,wallet_version:u.WALLET_VERSION_V2,primary_public_key:t,backup_public_key:r,encrypted_primary_seed:n,encrypted_secret:o,recovery_secret:s,checksum:a,key_index:c,support_secret:f||null,segwit:h};return i(l,this.network),this.client.post("/wallet",null,l)},w.prototype.storeNewWalletV3=function(e,t,r,n,o,s,a,c,f,h){var l={identifier:e,wallet_version:u.WALLET_VERSION_V3,primary_public_key:t,backup_public_key:r,encrypted_primary_seed:n.toString("base64"),encrypted_secret:o.toString("base64"),recovery_secret:s.toString("hex"),checksum:a,key_index:c,support_secret:f||null,segwit:h};return i(l,this.network),this.client.post("/wallet",null,l)},w.prototype.updateWallet=function(e,t,r){return this.client.post("/wallet/"+e,null,t,r)},w.prototype.upgradeKeyIndex=function(e,t,r,n){return this.client.post("/wallet/"+e+"/upgrade",null,{key_index:t,primary_public_key:r},n)},w.prototype.getWalletBalance=function(e,t){return this.client.get("/wallet/"+e+"/balance",null,!0,t)},w.prototype.doWalletDiscovery=function(e,t,r){return this.client.get("/wallet/"+e+"/discovery",{gap:t},!0,r)},w.prototype.getNewDerivation=function(e,t,r){return this.client.post("/wallet/"+e+"/path",null,{path:t},r)},w.prototype.deleteWallet=function(e,t,r,n,i){return"function"==typeof n&&(i=n,n=!1),this.client.delete("/wallet/"+e,{force:n},{checksum:t,signature:r},i)},w.prototype.coinSelection=function(e,t,r,n,i,o,a){"function"==typeof i?(a=i,i=null,o={}):"function"==typeof o&&(a=o,o={}),i=i||u.FEE_STRATEGY_OPTIMAL,o=o||{};var c=s.defer();c.promise.spreadNodeify(a);var f={lock:r,zeroconf:n?1:0,zeroconfself:void 0===o.allowZeroConfSelf||o.allowZeroConfSelf?1:0,fee_strategy:i};return o.forcefee&&(f.forcefee=o.forcefee),c.resolve(this.client.post("/wallet/"+e+"/coin-selection",f,t).then(function(e){return[e.utxos,e.fee,e.change,e]},function(e){if(e.message.match(/too low to pay the fee/))throw b.WalletFeeError(e);throw e})),c.promise},w.prototype.feePerKB=function(e){var t=s.defer();return t.promise.spreadNodeify(e),t.resolve(this.client.get("/fee-per-kb")),t.promise},w.prototype.sendTransaction=function(e,t,r,n,i,o,s){"function"==typeof i?(s=i,i=null,o=!1):"function"==typeof o&&(s=o,o=!1);var a={paths:r,two_factor_token:i};return"string"==typeof t?a.raw_transaction=t:"object"==typeof t&&Object.keys(t).map(function(e){a[e]=t[e]}),this.client.post("/wallet/"+e+"/send",{check_fee:n?1:0,prioboost:o?1:0},a,s)},w.prototype.setupWalletWebhook=function(e,t,r,n){return this.client.post("/wallet/"+e+"/webhook",null,{url:r,identifier:t},n)},w.prototype.deleteWalletWebhook=function(e,t,r){return this.client.delete("/wallet/"+e+"/webhook/"+t,null,null,r)},w.prototype.walletTransactions=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/wallet/"+e+"/transactions",t,!0,r)},w.prototype.walletAddresses=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/wallet/"+e+"/addresses",t,!0,r)},w.prototype.labelWalletAddress=function(e,t,r,n){return this.client.post("/wallet/"+e+"/address/"+t+"/label",null,{label:r},n)},w.prototype.walletMaxSpendable=function(e,t,r,n,i){"function"==typeof r?(i=r,r=null):"function"==typeof n&&(i=n,n={}),r=r||u.FEE_STRATEGY_OPTIMAL;var o={outputs:(n=n||{}).outputs?n.outputs:1,zeroconf:t?1:0,zeroconfself:void 0===n.allowZeroConfSelf||n.allowZeroConfSelf?1:0,fee_strategy:r};return n.forcefee&&(o.forcefee=n.forcefee),this.client.get("/wallet/"+e+"/max-spendable",o,!0,i)},w.prototype.walletUTXOs=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/wallet/"+e+"/utxos",t,!0,r)},w.prototype.allWallets=function(e,t){return"function"==typeof e&&(t=e,e=null),this.client.get("/wallets",e,!0,t)},w.prototype.verifyMessage=function(e,t,r,n){var i=s.defer();i.promise.nodeify(n);try{var o=c.verify(t,this.network.messagePrefix,e,new Buffer(r,"base64"));i.resolve(o)}catch(e){i.reject(e)}return i.promise},w.prototype.faucetWithdrawl=function(e,t,r){return this.client.post("/faucet/withdrawl",null,{address:e,amount:t},r)},w.prototype.sendRawTransaction=function(e,t){return this.client.post("/send-raw-tx",null,e,t)},w.prototype.price=function(e){return this.client.get("/price",null,!1,e)},t.exports=w}).call(this,e("_process"),e("buffer").Buffer)},{"./blocktrail":2,"./encryption":3,"./encryption_mnemonic":4,"./keyderivation":5,"./rest_client":9,"./use-webworker":14,"./wallet":15,"./webworker":17,"./webworkifier":18,_process:265,bip39:28,"bitcoinjs-lib":43,"bitcoinjs-message":72,buffer:105,"crypto-js":187,lodash:251,q:295,randombytes:299}],2:[function(e,t,r){(function(Buffer){var r=e("util"),n=e("assert"),i=e("crypto-js"),o=e("bip39"),s={COIN:1e8,PRECISION:8,DUST:2730,BASE_FEE:1e4},a=function(e,t,r){return new Buffer(e,t).toString(r)},c=function(e,t){return function(e,t){var r=o.mnemonicToEntropy(e),n=a(r,"hex","base64"),c=i.AES.decrypt(n,t).toString(i.enc.Utf8);if(!c.length)throw new s.WalletDecryptError;return c}(e,t).toString(i.enc.Utf8)},f=function(e,t){return a(c(e,t),"base64","hex")},u=function(e,t){var r=i.AES.encrypt(e,t).toString(i.format.OpenSSL),n=a(r,"base64","hex");return o.entropyToMnemonic(n)};s.convert=a,s.aesDecryptMnemonicToSeed=c,s.aesDecryptMnemonicToSeedBuffer=function(e,t){return new Buffer(f(e,t),"hex")},s.aesDecryptMnemonicToSeedHex=f,s.aesEncryptSeedToMnemonic=u,s.aesEncryptSeedHexToMnemonic=function(e,t){return u(a(e,"hex","base64"),t)},s.aesEncryptSeedBufferToMnemonic=function(e,t){return u(e.toString("base64"),t)},s.V3Crypt={KeyDerivation:e("./keyderivation"),Encryption:e("./encryption"),EncryptionMnemonic:e("./encryption_mnemonic")},s.toSatoshi=function(e){return parseInt((e*s.COIN).toFixed(0),10)},s.toBTC=function(e){return(e/s.COIN).toFixed(s.PRECISION)},s.patchQ=function(e){e.spreadNodeify&&e.spreadDone||(e.spreadDone=function(t,r,n){return e(t).spreadDone(r,n)},e.makePromise.prototype.spreadDone=function(e,t){return this.all().done(function(t){return e.apply(void 0,t)},t)},e.spreadNodeify=function(t,r){return e(t).spreadNodeify(r)},e.makePromise.prototype.spreadNodeify=function(t){if(!t)return this;this.then(function(r){e.nextTick(function(){t.apply(void 0,[null].concat(r))})},function(r){e.nextTick(function(){t(r)})})})},Error.extend=function(e,t){n(e,"subTypeName is required");var i=function(r){if(!(this instanceof i))return new i(r);this.name=e,this.code=t,this.message=r?r.message||r||"":"",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return r.inherits(i,this),i.prototype.toString=function(){return this.name+": "+r.inspect(this.message)},i.extend=this.extend,i},"function"!=typeof Uint8Array.prototype.reverse&&(Buffer.prototype.reverse=function(){for(var e,t=0,r=this.length-1;t<=r;++t,--r)e=this[t],this[t]=this[r],this[r]=e;return this}),s.WalletInitError=Error.extend("WalletInitError",400),s.WalletCreateError=Error.extend("WalletCreateError",400),s.WalletUpgradeError=Error.extend("WalletUpgradeError",400),s.WalletChecksumError=Error.extend("WalletChecksumError",400),s.WalletDeleteError=Error.extend("WalletDeleteError",400),s.WalletDecryptError=Error.extend("WalletDecryptError",400),s.WalletAddressError=Error.extend("WalletAddressError",500),s.WalletSendError=Error.extend("WalletSendError",400),s.WalletLockedError=Error.extend("WalletLockedError",500),s.WalletFeeError=Error.extend("WalletFeeError",500),s.WalletInvalid2FAError=Error.extend("WalletInvalid2FAError",401),s.WalletMissing2FAError=Error.extend("WalletMissing2FAError",401),s.TransactionSignError=Error.extend("TransactionSignError",500),s.TransactionInputError=Error.extend("TransactionInputError",400),s.TransactionOutputError=Error.extend("TransactionOutputError",400),s.KeyPathError=Error.extend("KeyPathError",400),s.InvalidAddressError=Error.extend("InvalidAddressError",400),s.Error=Error.extend("Error",500),s.FEE_STRATEGY_FORCE_FEE="force_fee",s.FEE_STRATEGY_BASE_FEE="base_fee",s.FEE_STRATEGY_HIGH_PRIORITY="high_priority",s.FEE_STRATEGY_OPTIMAL="optimal",s.FEE_STRATEGY_LOW_PRIORITY="low_priority",s.FEE_STRATEGY_MIN_RELAY_FEE="min_relay_fee",s.patchQ(e("q")),t.exports=s}).call(this,e("buffer").Buffer)},{"./encryption":3,"./encryption_mnemonic":4,"./keyderivation":5,assert:20,bip39:28,buffer:105,"crypto-js":187,q:295,util:362}],3:[function(e,t,r){(function(Buffer){var r=e("assert"),n=e("sjcl"),i=e("./keyderivation"),o=e("randombytes"),s={defaultSaltLen:10,tagLenBits:128,ivLenBits:128,ivLenWords:4};s.generateSalt=function(){return o(this.defaultSaltLen)},s.generateIV=function(){return o(this.ivLenBits/8)},s.encrypt=function(e,t,r){var n=this.generateSalt(),o=this.generateIV();return r=void 0===r?i.defaultIterations:r,this.encryptWithSaltAndIV(e,t,n,o,r)},s.encryptWithSaltAndIV=function(e,t,o,s,a){r(e instanceof Buffer,"pt must be provided as a buffer"),r(t instanceof Buffer,"pw must be provided as a buffer"),r(s instanceof Buffer,"IV must be provided as a buffer"),r(o instanceof Buffer,"saltBuff must be provided as a buffer"),r(16===s.length,"IV must be exactly 16 bytes");var c=new Buffer(1),f=o,u=new Buffer(4);c.writeUInt8(o.length),u.writeUInt32LE(a);var h=c.toString("hex")+f.toString("hex")+u.toString("hex"),l=n.codec.hex.toBits(i.compute(t,o,a).toString("hex")),d=n.mode.gcm.encrypt(new n.cipher.aes(l),n.codec.hex.toBits(e.toString("hex")),n.codec.hex.toBits(s.toString("hex")),n.codec.hex.toBits(h),this.tagLenBits);return new Buffer([h,s.toString("hex"),n.codec.hex.fromBits(d)].join(""),"hex")},s.decrypt=function(e,t){r(e instanceof Buffer,"cipherText must be provided as a Buffer"),r(t instanceof Buffer,"password must be provided as a Buffer");var o=new Buffer(e,"hex"),s=0,a=o.readUInt8(s);s+=1;var c=o.slice(1,s+a);s+=a;var f=o.readUInt32LE(s);s+=4;var u=o.slice(0,s),h=o.slice(s,16+s);s+=16;var l=o.slice(s),d=i.compute(t,c,f),p=n.mode.gcm.decrypt(new n.cipher.aes(n.codec.hex.toBits(d.toString("hex"))),n.codec.hex.toBits(l.toString("hex")),n.codec.hex.toBits(h.toString("hex")),n.codec.hex.toBits(u.toString("hex")),this.tagLenBits);return new Buffer(n.codec.hex.fromBits(p),"hex")},t.exports=s}).call(this,e("buffer").Buffer)},{"./keyderivation":5,assert:20,buffer:105,randombytes:299,sjcl:345}],4:[function(e,t,r){(function(Buffer){var r=e("assert"),n=e("bip39");String.prototype.repeat||(String.prototype.repeat=function(e){"use strict";if(null===this)throw new TypeError("can't convert "+this+" to object");var t=""+this;if((e=+e)!=e&&(e=0),e<0)throw new RangeError("repeat count must be non-negative");if(e===1/0)throw new RangeError("repeat count must be less than infinity");if(e=Math.floor(e),0===t.length||0===e)return"";if(t.length*e>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");for(var r="";1==(1&e)&&(r+=t),0!==(e>>>=1);)t+=t;return r});var i={chunkSize:4,paddingDummy:129},o=function(e){if(e[0]>128)throw new Error("Mnemonic sanity check - first byte can never be above 0x80");return i.paddingDummy.toString(16).repeat(i.chunkSize-e.length%i.chunkSize)};i.encode=function(e){r(e instanceof Buffer,"Data must be provided as a Buffer");var t=o(e),i=n.entropyToMnemonic(t+e.toString("hex"));try{n.mnemonicToEntropy(i)}catch(e){throw new Error("BIP39 library produced an invalid mnemonic")}return i},i.decode=function(e){r("string"==typeof e,"Mnemonic must be provided as a string");for(var t=new Buffer(n.mnemonicToEntropy(e),"hex"),i=0;t[i]===this.paddingDummy;)i++;var s=t.slice(i,t.length);if(o(s)!==t.slice(0,i).toString("hex"))throw new Error("There is only one way to pad a string");return s},t.exports=i}).call(this,e("buffer").Buffer)},{assert:20,bip39:28,buffer:105}],5:[function(e,t,r){(function(Buffer){var r=e("assert"),n=e("./pbkdf2_sha512"),i={defaultIterations:35e3,subkeyIterations:1,keySizeBits:256};i.compute=function(e,t,i){if(i=i||this.defaultIterations,r(e instanceof Buffer,"Password must be provided as a Buffer"),r(t instanceof Buffer,"Salt must be provided as a Buffer"),r(t.length>0,"Salt must not be empty"),r("number"==typeof i,"Iterations must be a number"),r(i>0,"Iteration count should be at least 1"),t.length>128)throw new Error("Sanity check: Invalid salt, length can never be greater than 128");return n.digest(e,t,i,this.keySizeBits/8)},t.exports=i}).call(this,e("buffer").Buffer)},{"./pbkdf2_sha512":6,assert:20,buffer:105}],6:[function(e,t,r){(function(Buffer){t.exports={digest:function(e,t,r,n){var i="undefined"!=typeof window?window.asmCrypto:self.asmCrypto;return new Buffer(new i.PBKDF2_HMAC_SHA512.bytes(e,t,r,n).buffer)}}}).call(this,e("buffer").Buffer)},{buffer:105}],7:[function(e,t,r){t.exports={VERSION:"3.6.8"}},{}],8:[function(e,t,r){(function(r){function n(e){this.https=e.https,this.host=e.host,this.endpoint=e.endpoint,this.auth=e.auth,this.port=e.port,this.apiKey=e.apiKey,this.apiSecret=e.apiSecret,this.contentMd5=void 0===e.contentMd5||e.contentMd5,this.params=o.defaults({},e.params),this.headers=o.defaults({},e.headers)}var i=e("./blocktrail"),o=e("lodash"),s=e("url"),a=e("querystring"),c=e("q"),f=e("create-hash"),u=e("superagent"),h=e("superagent-http-signature/index-hmac-only"),l=e("debug")("blocktrail-sdk:request"),d=!r.browser;n.qs=function(e){var t=[],r=Object.keys(e);return r.sort(),r.forEach(function(r){var n={};n[r]=e[r],t.push(a.stringify(n))}),t.join("&")},n.prototype.request=function(e,t,r,i,a){this.deferred=c.defer(),this.callback=a||function(){};var u=s.parse(t,!0),h=n.qs(o.defaults({},r||{},u.query||{},this.params||{}));this.path="".concat(this.endpoint,u.pathname),h&&(this.path=this.path.concat("?",h)),i?(this.payload=JSON.stringify(i),this.headers["Content-Type"]="application/json"):this.payload="",d&&(this.headers["Content-Length"]=this.payload?this.payload.length:0),!0===this.contentMd5&&(this.headers["Content-MD5"]="GET"===e||"DELETE"===e?f("md5").update(this.path).digest().toString("hex"):f("md5").update(this.payload).digest().toString("hex")),l("%s %s %s",e,this.host,this.path);var p={hostname:this.host,path:this.path,port:this.port,method:e,headers:this.headers,auth:this.auth,agent:!1,withCredentials:!1};return this.performRequest(p),this.deferred.promise},n.prototype.performRequest=function(e){var t=this,r=e.method,i=!1;"http-signature"===e.auth&&(i=!0,delete e.auth);var s=(t.https?"https://":"http://")+e.hostname+e.path,a=u(r,s);if(!t.payload||"DELETE"!==r&&"POST"!==r&&"PUT"!==r&&"PATCH"!==r||a.send(t.payload),o.forEach(e.headers,function(e,t){a.set(t,e)}),i){if(!t.apiSecret){var c=new Error("Missing apiSecret! required to sign POST requests!");return t.deferred.reject(c),t.callback(c)}a.use(h({headers:["(request-target)","content-md5"],algorithm:"hmac-sha256",key:t.apiSecret,keyId:t.apiKey}))}return a.end(function(e,r){var i;if(e)return t.deferred.reject(e),t.callback(e);if(l("response status code: %s content type: %s",r.status,r.headers["content-type"]),!e&&r.headers["content-type"].indexOf("application/json")>=0)try{i=JSON.parse(r.text)}catch(t){e=t}return e||200===r.status||(e=n.handleFailure(r.text,r.statusCode)),e?t.deferred.reject(e):t.deferred.resolve(i),t.callback(e,i)}),t.deferred},n.handleFailure=function(e,t){var r,i;if("object"==typeof e)r=e;else try{r=JSON.parse(e)}catch(e){}return r?(i=new Error(r.msg?r.msg:null),Object.keys(r).forEach(function(e){"msg"!==e&&(i[e]=r[e])})):i=e?new Error(e):new Error("Unknown Server Error"),t&&(i.statusCode=t),n.convertError(i)},n.convertError=function(e){return e.requires_2fa?new i.WalletMissing2FAError:e.message.match(/Invalid two_factor_token/)?new i.WalletInvalid2FAError:e},t.exports=n}).call(this,e("_process"))},{"./blocktrail":2,_process:265,"create-hash":130,debug:213,lodash:251,q:295,querystring:298,superagent:351,"superagent-http-signature/index-hmac-only":348,url:357}],9:[function(e,t,r){var n=e("lodash"),i=e("./request"),o=function(t){this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.https=t.https,this.host=t.host,this.port=t.port,this.endpoint=t.endpoint,this.defaultParams={},this.apiKey&&(this.defaultParams.api_key=this.apiKey),this.defaultHeaders=n.defaults({},{"X-SDK-Version":"blocktrail-sdk-nodejs/"+e("./pkginfo").VERSION},t.defaultHeaders)};o.prototype.create_request=function(e){return e=n.defaults({},e,{https:this.https,host:this.host,port:this.port,endpoint:this.endpoint,apiKey:this.apiKey,apiSecret:this.apiSecret,params:n.defaults({},this.defaultParams),headers:n.defaults({},this.defaultHeaders)}),new i(e)},o.prototype.post=function(e,t,r,n,i){var o={};return(i=void 0===i||i)&&(o.auth="http-signature"),this.create_request(o).request("POST",e,t,r,n)},o.prototype.put=function(e,t,r,n,i){var o={};return(i=void 0===i||i)&&(o.auth="http-signature"),this.create_request(o).request("PUT",e,t,r,n)},o.prototype.get=function(e,t,r,n){"function"==typeof r&&(n=r,r=!1);var i={};return r&&(i.auth="http-signature"),this.create_request(i).request("GET",e,t,null,n)},o.prototype.delete=function(e,t,r,n,i){var o={};return(i=void 0===i||i)&&(o.auth="http-signature"),this.create_request(o).request("DELETE",e,t,r,n)},t.exports=function(e){return new o(e)}},{"./pkginfo":7,"./request":8,lodash:251}],10:[function(e,t,r){var n=e("../api_client"),i=e("lodash"),o=e("q"),s=e("async"),a=function(e){this.defaultSettings={apiKey:null,apiSecret:null,network:"BTC",testnet:!1,apiVersion:"v1",apiEndpoint:null,retryLimit:5,retryDelay:20,paginationLimit:200},this.settings=i.merge({},this.defaultSettings,e);var t=this.normaliseNetwork(this.settings.network,this.settings.testnet);this.settings.network=t.network,this.settings.testnet=t.testnet,this.client=new n(this.settings)};a.prototype.normaliseNetwork=function(e,t){switch(e.toLowerCase()){case"btc":case"bitcoin":return t?{network:"BTC",testnet:!0}:{network:"BTC",testnet:!1};case"tbtc":case"bitcoin-testnet":return{network:"BTC",testnet:!0};case"bcc":return t?{network:"BCC",testnet:!0}:{network:"BCC",testnet:!1};case"tbcc":return{network:"BCC",testnet:!0};default:throw new Error("Unknown network "+e)}},a.prototype.setPaginationLimit=function(e){this.settings.paginationLimit=e},a.prototype.estimateFee=function(){return this.client.feePerKB().then(function(e){return Math.max(e.optimal,e.min_relay_fee)})},a.prototype.getBatchUnspentOutputs=function(e){var t=this,r=o.defer(),n=1,i=[];return s.doWhilst(function(r){var o={page:n,limit:t.settings.paginationLimit};t.client.batchAddressUnspentOutputs(e,o).then(function(e){i=i.concat(e.data),n++,r()},function(e){console.log("error happened:",e),r(e)})},function(){return null},function(e){e&&console.log("complete, but with errors",e.message);var t={};i.forEach(function(e){var r=e.address;void 0===t[r]&&(t[r]=[]),t[r].push({hash:e.hash,index:e.index,value:e.value,script_hex:e.script_hex})}),r.resolve(t)}),r.promise},a.prototype.batchAddressHasTransactions=function(e){return this.client.batchAddressHasTransactions(e).then(function(e){return e.has_transactions})},t.exports=a},{"../api_client":1,async:21,lodash:251,q:295}],11:[function(e,t,r){var n=e("../blocktrail"),i=e("superagent"),o=e("lodash"),s=e("q"),a="https://insight.bitpay.com/api",c="https://test-insight.bitpay.com/api",f=function(e){this.defaultSettings={host:a,testnet:!1,retryLimit:5,retryDelay:20},void 0===e.host&&e.testnet&&(this.defaultSettings.host=c),this.settings=o.merge({},this.defaultSettings,e),this.DEFAULT_ENDPOINT_MAINNET=a,this.DEFAULT_ENDPOINT_TESTNET=c};f.prototype.getBatchUnspentOutputs=function(e){var t=s.defer(),r={addrs:e.join(",")};return this.postEndpoint("addrs/utxo",r).then(function(e){var r={};e.forEach(function(e){var t=e.address;void 0===r[t]&&(r[t]=[]),r[t].push({hash:e.txid,index:e.vout,value:n.toSatoshi(e.amount),script_hex:e.scriptPubKey})}),t.resolve(r)},function(e){t.reject(e)}),t.promise},f.prototype.batchAddressHasTransactions=function(e){var t={addrs:e.join(",")};return this.postEndpoint("addrs/txs",t).then(function(e){return e.items.length>0})},f.prototype.estimateFee=function(){return this.getEndpoint("utils/estimatefee?nbBlocks=4").then(function(e){return-1===e[4]?1e5:parseInt(1e8*e[4],10)})},f.prototype.sendTx=function(e){return this.postEndpoint("tx/send",{rawtx:e})},f.prototype.getEndpoint=function(e){return this.getRequest(this.settings.host+"/"+e)},f.prototype.postEndpoint=function(e,t){return this.postRequest(this.settings.host+"/"+e,t)},f.prototype.getRequest=function(e){var t=s.defer();return i.get(e).end(function(e,r){if(e)t.reject(e);else{if(!r.ok)return t.reject(r.text);if(!(r.headers["content-type"].indexOf("application/json")>=0))return t.resolve(r.body);try{var n=JSON.parse(r.text);return t.resolve(n)}catch(r){return t.reject(e)}}}),t.promise},f.prototype.postRequest=function(e,t){var r=s.defer();return i.post(e).send(t).set("Content-Type","application/json").end(function(e,t){if(e)r.reject(e);else{if(!t.ok)return r.reject(t.text);if(!(t.headers["content-type"].indexOf("application/json")>=0))return r.resolve(t.body);try{var n=JSON.parse(t.text);return r.resolve(n)}catch(t){return r.reject(e)}}}),r.promise},t.exports=f},{"../blocktrail":2,lodash:251,q:295,superagent:351}],12:[function(e,t,r){(function(Buffer){var r=e("assert"),n=e("bitcoinjs-lib"),i={SIZE_DER_SIGNATURE:72,SIZE_V0_P2WSH:36};i.getPublicKeySize=function(e){return e?33:65},i.getLengthForScriptPush=function(e){if(e<75)return 1;if(e<=255)return 2;if(e<=65535)return 3;if(e<=4294967295)return 5;throw new Error("Size of pushdata too large")},i.getLengthForVarInt=function(e){if(e<253)return 1;var t;if(e<65535)t=2;else if(e<4294967295)t=4;else{if(!(e<0x10000000000000000))throw new Error("Size of varint too large");t=8}return 1+t},i.estimateMultisigStackSize=function(e,t){var r,n=[0];for(r=0;r<e;r++)n.push(i.SIZE_DER_SIGNATURE);var o=1;for(r=0;r<t.length;r++)o+=this.getLengthForScriptPush(t[r].length)+t[r].length;return o+=2,[n,o]},i.estimateP2PKStackSize=function(e){return[[i.SIZE_DER_SIGNATURE],this.getLengthForScriptPush(e.length)+e.length+1]},i.estimateP2PKHStackSize=function(e){void 0===e&&(e=!0);return[[this.SIZE_DER_SIGNATURE,this.getPublicKeySize(e)],2+this.getLengthForScriptPush(20)+20+2]},i.estimateStackSignatureSize=function(e,t,n,i){r(null===i||t);var o=[],s=[];t?(s=e,i instanceof Buffer&&s.push(i.length)):o=e,n instanceof Buffer&&o.push(n.length);var a=this,c=0;o.map(function(e){c+=a.getLengthForScriptPush(e)+e}),c+=a.getLengthForVarInt(c);var f=0;return s.length>0&&(s.map(function(e){f+=a.getLengthForVarInt(e)+e}),f+=a.getLengthForVarInt(s.length)),[c,f]},i.estimateInputFromScripts=function(e,t,i,o,s){r(null===i||o);var a;if(n.script.multisig.output.check(e)){var c=n.script.multisig.output.decode(e);a=this.estimateMultisigStackSize(c.m,c.pubKeys)[0]}else if(n.script.pubKey.output.check(e)){var f=n.script.pubKey.output.decode(e);a=this.estimateP2PKStackSize(f)[0]}else{if(!n.script.pubKeyHash.output.check(e))throw new Error("Unsupported script type");a=this.estimateP2PKHStackSize(s)[0]}return this.estimateStackSignatureSize(a,o,t,i)},i.estimateUtxo=function(e,t){var r=Buffer.from(e.scriptpubkey_hex,"hex"),i="string"==typeof e.redeem_script?Buffer.from(e.redeem_script,"hex"):null,o="string"==typeof e.witness_script?Buffer.from(e.witness_script,"hex"):null,s=!1,a=r;if(n.script.scriptHash.output.check(a)){if(null===i)throw new Error("Cant estimate, missing redeem script");a=i}if(n.script.witnessPubKeyHash.output.check(a)){var c=n.script.witnessPubKeyHash.output.decode(a);a=n.script.pubKeyHash.output.encode(c),s=!0}else if(n.script.witnessScriptHash.output.check(a)){if(null===o)throw new Error("Can't estimate, missing witness script");a=o,s=!0}var f=n.script.types,u=[f.MULTISIG,f.P2PKH,f.P2PK],h=n.script.classifyOutput(a);if(-1===u.indexOf(h))throw new Error("Unsupported script type");var l=this.estimateInputFromScripts(a,i,o,s,t);return{scriptSig:l[0],witness:l[1]}},i.estimateInputsSize=function(e,t){var r=0,n=0;return e.map(function(e){var o=i.estimateUtxo(e);r+=40+o.scriptSig,t&&(n+=o.witness)}),t&&n>0&&(r+=2+n),r},i.calculateOutputsSize=function(e){var t=0;return e.map(function(e){var r=i.getLengthForVarInt(e.script.length);t+=8+r+e.script.length}),t},i.estimateTxWeight=function(e,t){var r=i.calculateOutputsSize(e.outs);return 3*(4+i.getLengthForVarInt(t.length)+this.estimateInputsSize(t,!1)+i.getLengthForVarInt(e.outs.length)+r+4)+(4+i.getLengthForVarInt(t.length)+this.estimateInputsSize(t,!0)+i.getLengthForVarInt(e.outs.length)+r+4)},i.estimateTxVsize=function(e,t){return parseInt(Math.ceil(i.estimateTxWeight(e,t)/4),10)},t.exports=i}).call(this,e("buffer").Buffer)},{assert:20,"bitcoinjs-lib":43,buffer:105}],13:[function(e,t,r){var n=e("lodash"),i=e("q"),o=e("async"),s=function(e,t){this.defaultSettings={logging:!1,batchChunkSize:200},this.settings=n.merge({},this.defaultSettings,t),this.client=e};s.prototype.getUTXOs=function(e){var t=this,r={},s=i.defer();return o.eachSeries(n.chunk(e,t.settings.batchChunkSize),function(e,i){t.settings.logging&&console.log("checking batch of "+e.length+" addresses for UTXOs",e.join(",")),t.client.getBatchUnspentOutputs(e).done(function(e){n.each(e,function(e,t){e.length>0&&(r[t]=e)}),i()},function(e){i(e)})},function(e){e&&console.log("error encountered",e),s.resolve(r)}),s.promise},t.exports=s},{async:21,lodash:251,q:295}],14:[function(e,t,r){(function(e){var n=!!e.browser&&"undefined"!=typeof window&&void 0!==window.Worker,i=("undefined"!=typeof navigator&&navigator.userAgent||"").match(/Android (\d)\.(\d)(\.(\d))/);i&&i[1]<=4&&(n=!1),t.exports=r=function(){return n}}).call(this,e("_process"))},{_process:265}],15:[function(e,t,r){(function(Buffer){function r(e,t){var r,n;try{r=f.address.fromBech32(e,t),n=null}catch(e){n=e}if(!n&&r.prefix!==t.bech32)throw new h.InvalidAddressError("Address invalid on this network");return[n,r]}function n(e,t){var r,n;try{r=f.address.fromCashAddress(e),n=null}catch(e){n=e}if(!n&&r.prefix!==t.cashAddrPrefix)throw new Error(e+" has an invalid prefix");return[n,r]}function i(e,t){var r,n;try{r=f.address.fromBase58Check(e),n=null}catch(e){n=e}if(!n&&r.version!==t.pubKeyHash&&r.version!==t.scriptHash)throw new h.InvalidAddressError("Address invalid on this network");return[n,r]}var o=e("lodash"),s=e("assert"),a=e("q"),c=e("async"),f=e("bitcoinjs-lib"),u=e("bitcoinjs-message"),h=e("./blocktrail"),l=e("crypto-js"),d=e("./encryption"),p=e("./encryption_mnemonic"),b=e("./size_estimation"),y=e("bip39"),v="sign",m=function(e,t,r,n,i,a,c,u,h,l,d,p,b,y,v,g){this.sdk=e,this.identifier=t,this.walletVersion=r,this.locked=!0,this.bypassNewAddressCheck=!!g,this.bitcoinCash=this.sdk.bitcoinCash,this.segwit=!!d,this.useNewCashAddr=!!v,s(!this.segwit||!this.bitcoinCash),this.testnet=p,this.bitcoinCash?this.testnet?this.network=f.networks.bitcoincashtestnet:this.network=f.networks.bitcoincash:this.testnet?this.network=f.networks.testnet:this.network=f.networks.bitcoin,s(u instanceof f.HDNode),s(o.every(c,function(e){return e instanceof f.HDNode})),s(o.every(h,function(e){return e instanceof f.HDNode})),this.primaryMnemonic=n,this.encryptedPrimarySeed=i,this.encryptedSecret=a,this.primaryPrivateKey=null,this.backupPrivateKey=null,this.backupPublicKey=u,this.blocktrailPublicKeys=h,this.primaryPublicKeys=c,this.keyIndex=l,this.bitcoinCash?(this.chain=m.CHAIN_BCC_DEFAULT,this.changeChain=m.CHAIN_BCC_DEFAULT):this.segwit?(this.chain=m.CHAIN_BTC_DEFAULT,this.changeChain=m.CHAIN_BTC_SEGWIT):(this.chain=m.CHAIN_BTC_DEFAULT,this.changeChain=m.CHAIN_BTC_DEFAULT),this.checksum=b,this.upgradeToKeyIndex=y,this.secret=null,this.seedHex=null};m.WALLET_VERSION_V1="v1",m.WALLET_VERSION_V2="v2",m.WALLET_VERSION_V3="v3",m.WALLET_ENTROPY_BITS=256,m.OP_RETURN="opreturn",m.DATA=m.OP_RETURN,m.PAY_PROGRESS_START=0,m.PAY_PROGRESS_COIN_SELECTION=10,m.PAY_PROGRESS_CHANGE_ADDRESS=20,m.PAY_PROGRESS_SIGN=30,m.PAY_PROGRESS_SEND=40,m.PAY_PROGRESS_DONE=100,m.CHAIN_BTC_DEFAULT=0,m.CHAIN_BTC_SEGWIT=2,m.CHAIN_BCC_DEFAULT=1,m.FEE_STRATEGY_FORCE_FEE=h.FEE_STRATEGY_FORCE_FEE,m.FEE_STRATEGY_BASE_FEE=h.FEE_STRATEGY_BASE_FEE,m.FEE_STRATEGY_HIGH_PRIORITY=h.FEE_STRATEGY_HIGH_PRIORITY,m.FEE_STRATEGY_OPTIMAL=h.FEE_STRATEGY_OPTIMAL,m.FEE_STRATEGY_LOW_PRIORITY=h.FEE_STRATEGY_LOW_PRIORITY,m.FEE_STRATEGY_MIN_RELAY_FEE=h.FEE_STRATEGY_MIN_RELAY_FEE,m.prototype.isSegwit=function(){return!!this.segwit},m.prototype.unlock=function(e,t){var r=this,n=a.defer();return n.promise.nodeify(t),e=o.merge({},e),a.fcall(function(){switch(r.walletVersion){case m.WALLET_VERSION_V1:return r.unlockV1(e);case m.WALLET_VERSION_V2:return r.unlockV2(e);case m.WALLET_VERSION_V3:return r.unlockV3(e);default:return a.reject(new h.WalletInitError("Invalid wallet version"))}}).then(function(e){r.primaryPrivateKey=e;var t=r.primaryPrivateKey.getAddress();if(t!==r.checksum)throw new h.WalletChecksumError("Generated checksum ["+t+"] does not match ["+r.checksum+"], most likely due to incorrect password");if(r.locked=!1,void 0!==r.upgradeToKeyIndex&&null!==r.upgradeToKeyIndex)return r.upgradeKeyIndex(r.upgradeToKeyIndex)}).then(function(e){n.resolve(e)},function(e){n.reject(e)}),n.promise},m.prototype.unlockV1=function(e){var t=this;return e.primaryMnemonic=void 0!==e.primaryMnemonic?e.primaryMnemonic:t.primaryMnemonic,e.secretMnemonic=void 0!==e.secretMnemonic?e.secretMnemonic:t.secretMnemonic,t.sdk.resolvePrimaryPrivateKeyFromOptions(e).then(function(e){return t.primarySeed=e.primarySeed,e.primaryPrivateKey})},m.prototype.unlockV2=function(e,t){var r=this,n=a.defer();return n.promise.nodeify(t),n.resolve(a.fcall(function(){if(e.encryptedPrimarySeed=void 0!==e.encryptedPrimarySeed?e.encryptedPrimarySeed:r.encryptedPrimarySeed,e.encryptedSecret=void 0!==e.encryptedSecret?e.encryptedSecret:r.encryptedSecret,e.secret&&(r.secret=e.secret),e.primaryPrivateKey)throw new h.WalletDecryptError("specifying primaryPrivateKey has been deprecated");if(e.primarySeed)r.primarySeed=e.primarySeed;else if(e.secret)try{if(r.primarySeed=new Buffer(l.AES.decrypt(l.format.OpenSSL.parse(e.encryptedPrimarySeed),r.secret).toString(l.enc.Utf8),"base64"),!r.primarySeed.length)throw new Error}catch(e){throw new h.WalletDecryptError("Failed to decrypt primarySeed")}else{if(e.passphrase&&e.password)throw new h.WalletCreateError("Can't specify passphrase and password");e.passphrase=e.passphrase||e.password;try{if(r.secret=l.AES.decrypt(l.format.OpenSSL.parse(e.encryptedSecret),e.passphrase).toString(l.enc.Utf8),!r.secret.length)throw new Error}catch(e){throw new h.WalletDecryptError("Failed to decrypt secret")}try{if(r.primarySeed=new Buffer(l.AES.decrypt(l.format.OpenSSL.parse(e.encryptedPrimarySeed),r.secret).toString(l.enc.Utf8),"base64"),!r.primarySeed.length)throw new Error}catch(e){throw new h.WalletDecryptError("Failed to decrypt primarySeed")}}return f.HDNode.fromSeedBuffer(r.primarySeed,r.network)})),n.promise},m.prototype.unlockV3=function(e,t){var r=this,n=a.defer();return n.promise.nodeify(t),n.resolve(a.fcall(function(){return a.when().then(function(){if(e.encryptedPrimarySeed=void 0!==e.encryptedPrimarySeed?e.encryptedPrimarySeed:r.encryptedPrimarySeed,e.encryptedSecret=void 0!==e.encryptedSecret?e.encryptedSecret:r.encryptedSecret,e.secret&&(r.secret=e.secret),e.primaryPrivateKey)throw new h.WalletInitError("specifying primaryPrivateKey has been deprecated");if(!e.primarySeed){if(e.secret)return r.sdk.promisedDecrypt(new Buffer(e.encryptedPrimarySeed,"base64"),r.secret).then(function(e){r.primarySeed=e},function(){throw new h.WalletDecryptError("Failed to decrypt primarySeed")});if(e.passphrase&&e.password)throw new h.WalletCreateError("Can't specify passphrase and password");return e.passphrase=e.passphrase||e.password,delete e.password,r.sdk.promisedDecrypt(new Buffer(e.encryptedSecret,"base64"),new Buffer(e.passphrase)).then(function(e){r.secret=e},function(){throw new h.WalletDecryptError("Failed to decrypt secret")}).then(function(){return r.sdk.promisedDecrypt(new Buffer(e.encryptedPrimarySeed,"base64"),r.secret).then(function(e){r.primarySeed=e},function(){throw new h.WalletDecryptError("Failed to decrypt primarySeed")})})}r.primarySeed=e.primarySeed}).then(function(){return f.HDNode.fromSeedBuffer(r.primarySeed,r.network)})})),n.promise},m.prototype.lock=function(){this.secret=null,this.primarySeed=null,this.primaryPrivateKey=null,this.backupPrivateKey=null,this.locked=!0},m.prototype.upgradeToV3=function(e,t){var r=this,n=a.defer();return n.promise.nodeify(t),a.when(!0).then(function(){if(r.locked)throw new h.WalletLockedError("Wallet needs to be unlocked to upgrade");if(r.walletVersion===m.WALLET_VERSION_V3)throw new h.WalletUpgradeError("Wallet is already V3");return r.walletVersion===m.WALLET_VERSION_V2?r._upgradeV2ToV3(e,n.notify.bind(n)):r.walletVersion===m.WALLET_VERSION_V1?r._upgradeV1ToV3(e,n.notify.bind(n)):void 0}).then(function(e){n.resolve(e)},function(e){n.reject(e)}),n.promise},m.prototype._upgradeV2ToV3=function(e,t){var r=this;return a.when(!0).then(function(){var n={storeDataOnServer:!0,passphrase:e,primarySeed:r.primarySeed,recoverySecret:!1};return r.sdk.produceEncryptedDataV3(n,t||function(){}).then(function(e){return r.sdk.updateWallet(r.identifier,{encrypted_primary_seed:e.encryptedPrimarySeed.toString("base64"),encrypted_secret:e.encryptedSecret.toString("base64"),wallet_version:m.WALLET_VERSION_V3}).then(function(){return r.secret=e.secret,r.encryptedPrimarySeed=e.encryptedPrimarySeed,r.encryptedSecret=e.encryptedSecret,r.walletVersion=m.WALLET_VERSION_V3,r})})})},m.prototype._upgradeV1ToV3=function(e,t){var r=this;return a.when(!0).then(function(){var n={storeDataOnServer:!0,passphrase:e,primarySeed:r.primarySeed};return r.sdk.produceEncryptedDataV3(n,t||function(){}).then(function(e){return r.recoveryEncryptedSecret=e.recoveryEncryptedSecret,r.sdk.updateWallet(r.identifier,{primary_mnemonic:"",encrypted_primary_seed:e.encryptedPrimarySeed.toString("base64"),encrypted_secret:e.encryptedSecret.toString("base64"),recovery_secret:e.recoverySecret.toString("hex"),wallet_version:m.WALLET_VERSION_V3}).then(function(){return r.secret=e.secret,r.encryptedPrimarySeed=e.encryptedPrimarySeed,r.encryptedSecret=e.encryptedSecret,r.walletVersion=m.WALLET_VERSION_V3,r})})})},m.prototype.doPasswordChange=function(e){var t=this;return a.when(null).then(function(){if(t.walletVersion===m.WALLET_VERSION_V1)throw new h.WalletLockedError("Wallet version does not support password change!");if(t.locked)throw new h.WalletLockedError("Wallet needs to be unlocked to change password");if(!t.secret)throw new h.WalletLockedError("No secret");var r,n;if(t.walletVersion===m.WALLET_VERSION_V2)r=l.AES.encrypt(t.secret,e).toString(l.format.OpenSSL),n=y.entropyToMnemonic(h.convert(r,"base64","hex"));else{if("string"==typeof e)e=new Buffer(e);else if(!(e instanceof Buffer))throw new Error("New password must be provided as a string or a Buffer");r=d.encrypt(t.secret,e),n=p.encode(r),r=r.toString("base64")}return[r,n]})},m.prototype.passwordChange=function(e,t){var r=this,n=a.defer();return n.promise.nodeify(t),a.fcall(function(){return r.doPasswordChange(e).then(function(e){var t=e[0],n=e[1];return r.sdk.updateWallet(r.identifier,{encrypted_secret:t}).then(function(){return r.encryptedSecret=t,{encryptedSecret:n}})}).then(function(e){n.resolve(e)},function(e){n.reject(e)})}),n.promise},m.prototype.getAddressByPath=function(e){return this.getWalletScriptByPath(e).address},m.prototype.getRedeemScriptByPath=function(e){return this.getWalletScriptByPath(e).redeemScript},m.prototype.getWalletScriptByPath=function(e){var t,r,n=this.getPrimaryPublicKey(e),i=this.getBlocktrailPublicKey(e),o=m.deriveByPath(this.backupPublicKey,e.replace("'",""),"M"),s=m.sortMultiSigKeys([n.keyPair.getPublicKeyBuffer(),o.keyPair.getPublicKeyBuffer(),i.keyPair.getPublicKeyBuffer()]),a=f.script.multisig.output.encode(2,s),c=parseInt(e.split("/")[2]);"bitcoincash"!==this.network&&c===m.CHAIN_BTC_SEGWIT?(t=a,r=f.script.witnessScriptHash.output.encode(f.crypto.sha256(t))):(t=null,r=a);var u=f.script.scriptHash.output.encode(f.crypto.hash160(r));return{witnessScript:t,redeemScript:r,scriptPubKey:u,address:f.address.fromOutputScript(u,this.network,this.useNewCashAddr)}},m.prototype.getPrimaryPublicKey=function(e){var t=(e=e.replace("m","M")).split("/")[1].replace("'","");if(!this.primaryPublicKeys[t]){if(!this.primaryPrivateKey)throw new h.KeyPathError("Wallet.getPrimaryPublicKey keyIndex ("+t+") is unknown to us");this.primaryPublicKeys[t]=m.deriveByPath(this.primaryPrivateKey,"M/"+t+"'","m")}var r=this.primaryPublicKeys[t];return m.deriveByPath(r,e,"M/"+t+"'")},m.prototype.getBlocktrailPublicKey=function(e){var t=(e=e.replace("m","M")).split("/")[1].replace("'","");if(!this.blocktrailPublicKeys[t])throw new h.KeyPathError("Wallet.getBlocktrailPublicKey keyIndex ("+t+") is unknown to us");var r=this.blocktrailPublicKeys[t];return m.deriveByPath(r,e,"M/"+t+"'")},m.prototype.upgradeKeyIndex=function(e,t){var r=this,n=a.defer();if(n.promise.nodeify(t),r.locked)return n.reject(new h.WalletLockedError("Wallet needs to be unlocked to upgrade key index")),n.promise;var i=r.primaryPrivateKey.deriveHardened(e).neutered();return n.resolve(r.sdk.upgradeKeyIndex(r.identifier,e,[i.toBase58(),"M/"+e+"'"]).then(function(t){return r.keyIndex=e,o.forEach(t.blocktrail_public_keys,function(e,t){r.blocktrailPublicKeys[t]=f.HDNode.fromBase58(e[0],r.network)}),r.primaryPublicKeys[e]=i,!0})),n.promise},m.prototype.getNewAddress=function(e,t){var r=this;"function"==typeof e&&(t=e,e=null);var n=a.defer();if(n.promise.spreadNodeify(t),e!==parseInt(e,10)){if(void 0!==e&&null!==e)return n.reject(new Error("Invalid chain index")),n.promise;e=r.chain}return n.resolve(r.sdk.getNewDerivation(r.identifier,"M/"+r.keyIndex+"'/"+e).then(function(e){var t,n=e.path,i=e.address;try{t=r.decodeAddress(i),"cashAddrPrefix"in r.network&&r.useNewCashAddr&&"base58"===t.type&&(r.bypassNewAddressCheck=!1)}catch(t){throw new h.WalletAddressError("Failed to decode address ["+e.address+"]")}if(!r.bypassNewAddressCheck){var o=r.getAddressByPath(e.path);if("cashAddrPrefix"in r.network&&r.useNewCashAddr&&"base58"===t.type){var s;try{s=r.decodeAddress(o)}catch(e){throw new h.WalletAddressError("Error while verifying address from server ["+e.message+"]")}if(s.decoded.hash.toString("hex")!==t.decoded.hash.toString("hex"))throw new h.WalletAddressError("Failed to verify legacy address [hash mismatch]");var a=s.decoded.version===f.script.types.P2PKH&&t.decoded.version===r.network.pubKeyHash,c=s.decoded.version===f.script.types.P2SH&&t.decoded.version===r.network.scriptHash;if(!a&&!c)throw new h.WalletAddressError("Failed to verify legacy address [prefix mismatch]");i=s.address}if(o!==i)throw new h.WalletAddressError("Failed to verify address ["+e.address+"] !== ["+i+"]")}return[i,n]})),n.promise},m.prototype.getBalance=function(e){var t=a.defer();return t.promise.spreadNodeify(e),t.resolve(this.sdk.getWalletBalance(this.identifier).then(function(e){return[e.confirmed,e.unconfirmed]})),t.promise},m.prototype.getInfo=function(e){var t=a.defer();return t.promise.spreadNodeify(e),t.resolve(this.sdk.getWalletBalance(this.identifier)),t.promise},m.prototype.doDiscovery=function(e,t){"function"==typeof e&&(t=e,e=null);var r=a.defer();return r.promise.spreadNodeify(t),r.resolve(this.sdk.doWalletDiscovery(this.identifier,e).then(function(e){return[e.confirmed,e.unconfirmed]})),r.promise},m.prototype.deleteWallet=function(e,t){"function"==typeof e&&(t=e,e=!1);var r=a.defer();if(r.promise.nodeify(t),this.locked)return r.reject(new h.WalletDeleteError("Wallet needs to be unlocked to delete wallet")),r.promise;var n=this.primaryPrivateKey.getAddress(),i=this.primaryPrivateKey.keyPair.d.toBuffer(32),o=u.sign(n,this.network.messagePrefix,i,!0).toString("base64");return r.resolve(this.sdk.deleteWallet(this.identifier,n,o,e).then(function(e){return e.deleted})),r.promise},m.prototype.pay=function(e,t,r,n,i,o,s,c){var f=this;"function"==typeof t?(c=t,t=null):"function"==typeof r?(c=r,r=!1):"function"==typeof n?(c=n,n=!0):"function"==typeof i?(c=i,i=null):"function"==typeof o?(c=o,o=null):"function"==typeof s&&(c=s,s={}),n=void 0===n||n,i=i||m.FEE_STRATEGY_OPTIMAL;var u=void 0===(s=s||{}).checkFee||s.checkFee,l=a.defer();return l.promise.nodeify(c),f.locked?(l.reject(new h.WalletLockedError("Wallet needs to be unlocked to send coins")),l.promise):(a.nextTick(function(){l.notify(m.PAY_PROGRESS_START),f.buildTransaction(e,t,r,n,i,s).then(function(e){return e},function(e){l.reject(e)},function(e){l.notify(e)}).spread(function(e,t){l.notify(m.PAY_PROGRESS_SEND);var r={signed_transaction:e.toHex(),base_transaction:e.__toBuffer(null,null,!1).toString("hex")};return f.sendTransaction(r,t.map(function(e){return e.path}),u,o,s.prioboost).then(function(e){if(l.notify(m.PAY_PROGRESS_DONE),e&&e.complete&&"false"!==e.complete)return e.txid;l.reject(new h.TransactionSignError("Failed to completely sign transaction"))})},function(e){throw e}).then(function(e){l.resolve(e)},function(e){l.reject(e)})}),l.promise)},m.prototype.decodeAddress=function(e){return m.getAddressAndType(e,this.network,this.useNewCashAddr)},m.getAddressAndType=function(e,t,o){function s(r,n){var i=r(e,t);null===i[0]?(a=i[1],c=n):u=i[0]}var a,c,u;if(t!==f.networks.bitcoin&&t!==f.networks.testnet||s(r,"bech32"),!a&&"cashAddrPrefix"in t&&o&&s(n,"cashaddr"),a||s(i,"base58"),a)return{address:e,decoded:a,type:c};throw new h.InvalidAddressError(u.message)},m.convertPayToOutputs=function(e,t,r){var n,i=[];if(Array.isArray(e))n=function(e,t,r){if("object"!=typeof t)throw new Error("Invalid transaction output for numerically indexed list [1]");var n=Object.keys(t);if(-1!==n.indexOf("scriptPubKey")&&-1!==n.indexOf("value"))r.scriptPubKey=t.scriptPubKey,r.value=t.value;else if(-1!==n.indexOf("address")&&-1!==n.indexOf("value"))r.address=t.address,r.value=t.value;else{if(2!==n.length||2!==t.length||"0"!==n[0]||"1"!==n[1])throw new Error("Invalid transaction output for numerically indexed list [2]");r.address=t[0],r.value=t[1]}};else{if("object"!=typeof e)throw new Error("Invalid input");n=function(e,t,r){if(r.address=e.trim(),r.value=t,r.address===m.OP_RETURN){var n=Buffer.isBuffer(t)?t:new Buffer(t,"utf-8");r.scriptPubKey=f.script.nullData.output.encode(n).toString("hex"),r.value=0,r.address=null}}}return Object.keys(e).forEach(function(o){var s={};if(n(o,e[o],s),parseInt(s.value,10).toString()!==s.value.toString())throw new h.WalletSendError("Values should be in Satoshis");if("string"==typeof s.address)try{var a=m.getAddressAndType(s.address,t,r);s.scriptPubKey=f.address.toOutputScript(a.address,t,r).toString("hex"),delete s.address}catch(e){throw new h.InvalidAddressError("Invalid address ["+s.address+"] ("+e.message+")")}if("6a"!==s.scriptPubKey.slice(0,2)){if(!(s.value=parseInt(s.value,10)))throw new h.WalletSendError("Values should be non zero");if(s.value<=h.DUST)throw new h.WalletSendError("Values should be more than dust ("+h.DUST+")")}s.value=parseInt(s.value,10),i.push(s)}),i},m.prototype.buildTransaction=function(e,t,r,n,i,s,u){var l=this;"function"==typeof t?(u=t,t=null):"function"==typeof r?(u=r,r=!1):"function"==typeof n?(u=n,n=!0):"function"==typeof i?(u=i,i=null):"function"==typeof s&&(u=s,s={}),n=void 0===n||n,i=i||m.FEE_STRATEGY_OPTIMAL,s=s||{};var d=a.defer();return d.promise.spreadNodeify(u),a.nextTick(function(){var u;try{u=m.convertPayToOutputs(e,l.network,l.useNewCashAddr)}catch(e){return d.reject(e),d.promise}if(!u.length)return d.reject(new h.WalletSendError("Need at least one recipient")),d.promise;d.notify(m.PAY_PROGRESS_COIN_SELECTION),d.resolve(l.coinSelection(u,!0,r,i,s).spread(function(e,r,s){var d,p,b=[],y=a.defer();return c.waterfall([function(t){var n=e.map(function(e){return e.value}).reduce(function(e,t){return e+t})-u.map(function(e){return e.value}).reduce(function(e,t){return e+t})-r;if(n>2*h.DUST&&n!==s)return t(new h.WalletFeeError("the amount of change ("+s+") suggested by the coin selection seems incorrect ("+n+")"));t()},function(e){p=new f.TransactionBuilder(l.network),l.bitcoinCash&&p.enableBitcoinCash(),e()},function(t){var r;for(r=0;r<e.length;r++)p.addInput(e[r].hash,e[r].idx);t()},function(e){u.forEach(function(e){if(!e.scriptPubKey)throw new Error("Invalid send");b.push({scriptPubKey:new Buffer(e.scriptPubKey,"hex"),value:e.value})}),e()},function(e){if(s>0)if(s<=h.DUST)s=0;else if(!t)return y.notify(m.PAY_PROGRESS_CHANGE_ADDRESS),l.getNewAddress(l.changeChain,function(r,n){if(r)return e(r);t=n,e()});e()},function(e){if(s>0){var r={scriptPubKey:f.address.toOutputScript(t,l.network,l.useNewCashAddr),value:s};n?b.splice(o.random(0,b.length),0,r):b.push(r)}e()},function(e){b.forEach(function(e){p.addOutput(e.scriptPubKey,e.value)}),e()},function(t){var r,n,i,o,s;for(y.notify(m.PAY_PROGRESS_SIGN),r=0;r<e.length;r++){var a=v;if(e[r].sign_mode&&(a=e[r].sign_mode),o=null,s=null,a===v){if(i=e[r].path.replace("M","m"),l.primaryPrivateKey)n=m.deriveByPath(l.primaryPrivateKey,i,"m").keyPair;else{if(!l.backupPrivateKey)throw new Error("No master privateKey present");n=m.deriveByPath(l.backupPrivateKey,i.replace(/^m\/(\d+)\'/,"m/$1"),"m").keyPair}o=new Buffer(e[r].redeem_script,"hex"),"string"==typeof e[r].witness_script&&(s=new Buffer(e[r].witness_script,"hex"));var c=f.Transaction.SIGHASH_ALL;l.bitcoinCash&&(c|=f.Transaction.SIGHASH_BITCOINCASHBIP143),p.sign(r,n,o,c,e[r].value,s)}}d=p.buildIncomplete(),t()},function(t){var n=m.estimateVsizeFee(d,e);if(l.sdk.feeSanityCheck)switch(i){case m.FEE_STRATEGY_BASE_FEE:if(Math.abs(n-r)>h.BASE_FEE)return t(new h.WalletFeeError("the fee suggested by the coin selection ("+r+") seems incorrect ("+n+") for FEE_STRATEGY_BASE_FEE"));break;case m.FEE_STRATEGY_HIGH_PRIORITY:case m.FEE_STRATEGY_OPTIMAL:case m.FEE_STRATEGY_LOW_PRIORITY:if(r>n*l.feeSanityCheckBaseFeeMultiplier)return t(new h.WalletFeeError("the fee suggested by the coin selection ("+r+") seems awefully high ("+n+") for FEE_STRATEGY_OPTIMAL"))}t()}],function(t){t?y.reject(new h.WalletSendError(t)):y.resolve([d,e])}),y.promise}))}),d.promise},m.prototype.coinSelection=function(e,t,r,n,i,o){"function"==typeof t?(o=t,t=!0):"function"==typeof r?(o=r,r=!1):"function"==typeof n?(o=n,n=null):"function"==typeof i&&(o=i,i={}),t=void 0===t||t,n=n||m.FEE_STRATEGY_OPTIMAL,i=i||{};var s;try{s=m.convertPayToOutputs(e,this.network,this.useNewCashAddr)}catch(e){var c=a.defer();return c.promise.nodeify(o),c.reject(e),c.promise}return this.sdk.coinSelection(this.identifier,s,t,r,n,i,o)},m.prototype.sendTransaction=function(e,t,r,n,i,o){"function"==typeof n?(o=n,n=null,i=!1):"function"==typeof i&&(o=n,i=!1);var s=a.defer();return s.promise.nodeify(o),this.sdk.sendTransaction(this.identifier,e,t,r,n,i).then(function(e){s.resolve(e)},function(e){e.requires_2fa?s.reject(new h.WalletMissing2FAError):e.message.match(/Invalid two_factor_token/)?s.reject(new h.WalletInvalid2FAError):s.reject(e)}),s.promise},m.prototype.setupWebhook=function(e,t,r){return"function"==typeof t&&(r=t,t=null),t=t||"WALLET-"+this.identifier,this.sdk.setupWalletWebhook(this.identifier,t,e,r)},m.prototype.deleteWebhook=function(e,t){return"function"==typeof e&&(t=e,e=null),e=e||"WALLET-"+this.identifier,this.sdk.deleteWalletWebhook(this.identifier,e,t)},m.prototype.transactions=function(e,t){return this.sdk.walletTransactions(this.identifier,e,t)},m.prototype.maxSpendable=function(e,t,r,n){return"function"==typeof e?(n=e,e=!1):"function"==typeof t?(n=t,t=null):"function"==typeof r&&(n=r,r={}),"object"==typeof e?(r=e,e=!1):"object"==typeof t&&(r=t,t=null),void 0!==(r=r||{}).allowZeroConf&&(e=r.allowZeroConf),void 0!==r.feeStrategy&&(t=r.feeStrategy),t=t||m.FEE_STRATEGY_OPTIMAL,this.sdk.walletMaxSpendable(this.identifier,e,t,r,n)},m.prototype.addresses=function(e,t){return this.sdk.walletAddresses(this.identifier,e,t)},m.prototype.labelAddress=function(e,t,r){return this.sdk.labelWalletAddress(this.identifier,e,t,r)},m.prototype.utxos=function(e,t){return this.sdk.walletUTXOs(this.identifier,e,t)},m.prototype.unspentOutputs=m.prototype.utxos,m.sortMultiSigKeys=function(e){return e.sort(function(e,t){return e.toString("hex").localeCompare(t.toString("hex"))}),e},m.estimateIncompleteTxFee=function(e,t){var r=m.estimateIncompleteTxSize(e),n=r/1e3,i=Math.ceil(r/1e3);return t?parseInt(n*t,10):parseInt(i*h.BASE_FEE,10)},m.estimateVsizeFee=function(e,t,r){var n=b.estimateTxVsize(e,t),i=n/1e3,o=Math.ceil(n/1e3);return r?parseInt(i*r,10):parseInt(o*h.BASE_FEE,10)},m.estimateIncompleteTxSize=function(e){var t=16;return t+=34*e.outs.length,e.ins.forEach(function(e){var r=e.script,n=f.script.classifyInput(r),i=[2,3];if(!i&&"scripthash"===n){var o=f.script.decompile(r),s=o.slice(-1)[0];if(r=f.script.compile(o.slice(0,-1)),n=f.script.classifyInput(r),f.script.classifyOutput(s)!==n)throw new h.TransactionInputError("Non-matching scriptSig and scriptPubKey in input");if("multisig"===n){var a=f.script.decompile(s),c=a[0];if(c===f.opcodes.OP_0||c<f.opcodes.OP_1||c>f.opcodes.OP_16)throw new h.TransactionInputError("Invalid multisig redeemScript");var u=a[s.chunks.length-2];if(c===f.opcodes.OP_0||c<f.opcodes.OP_1||c>f.opcodes.OP_16)throw new h.TransactionInputError("Invalid multisig redeemScript");var l=c-(f.opcodes.OP_1-1),d=u-(f.opcodes.OP_1-1);if(d<l)throw new h.TransactionInputError("Invalid multisig redeemScript");i=[l,d]}}t+=i?40+73*i[0]+107+4:147}),t},m.estimateFee=function(e,t){var r=16;r+=34*t,r+=297*e;return Math.ceil(r/1e3)*h.BASE_FEE},m.deriveByPath=function(e,t,r){if(r=r||(e.keyPair.d?"m":"M"),"m"!==t[0].toLowerCase()||"m"!==r[0].toLowerCase())throw new h.KeyPathError("Wallet.deriveByPath only works with absolute paths. ("+t+", "+r+")");if("m"===t[0]&&"M"===r[0])throw new h.KeyPathError("Wallet.deriveByPath can't derive private path from public parent. ("+t+", "+r+")");var n="M"===t[0]&&"m"===r[0];if(n&&(t[0]="m"),0!==t.toLowerCase().indexOf(r.toLowerCase()))throw new h.KeyPathError("Wallet.derivePath requires path ("+t+") to be a child of keyPath ("+r+")");var i=e;return(t=t.substr(r.length)).replace(/^\//,"").split("/").forEach(function(e){e&&(-1!==e.indexOf("'")&&(e=parseInt(e.replace("'",""),10)+f.HDNode.HIGHEST_BIT),i=i.derive(parseInt(e,10)))}),n?i.neutered():i},t.exports=m}).call(this,e("buffer").Buffer)},{"./blocktrail":2,"./encryption":3,"./encryption_mnemonic":4,"./size_estimation":12,assert:20,async:21,bip39:28,"bitcoinjs-lib":43,"bitcoinjs-message":72,buffer:105,"crypto-js":187,lodash:251,q:295}],16:[function(e,t,r){(function(Buffer){var r=e("./unspent_output_finder"),n=e("bitcoinjs-lib"),i=e("bip39"),o=e("crypto-js"),s=e("./blocktrail"),a=e("./encryption_mnemonic"),c=e("./encryption"),f=e("./wallet"),u=e("lodash"),h=e("q"),l=e("async"),d=function(e,t,f){var h=this;this.defaultSettings={network:"btc",testnet:!1,logging:!1,bitcoinCash:!1,sweepBatchSize:200},this.settings=u.merge({},this.defaultSettings,f),this.bitcoinDataClient=t,this.utxoFinder=new r(t,this.settings),this.sweepData=null,"object"==typeof f.network?this.network=f.network:this.network=this.getBitcoinNetwork(this.settings.network,this.settings.testnet),e.walletVersion=e.walletVersion||2;var l=!1;if(!Array.isArray(e.blocktrailKeys))throw new Error("blocktrail pub keys are required (must be type Array)");switch(e.walletVersion){case 1:if(void 0===e.primaryMnemonic||!e.primaryMnemonic)throw new Error("missing primary mnemonic for version 1 wallet");if(void 0===e.backupMnemonic||!e.backupMnemonic)throw new Error("missing backup mnemonic for version 1 wallet");if(void 0===e.primaryPassphrase)throw new Error("missing primary passphrase for version 1 wallet");e.primaryMnemonic=e.primaryMnemonic.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," "),e.backupMnemonic=e.backupMnemonic.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," ");break;case 2:case 3:if(void 0===e.encryptedPrimaryMnemonic||!e.encryptedPrimaryMnemonic)throw new Error("missing encrypted primary seed for version 2 wallet");if(void 0===e.backupMnemonic||!e.backupMnemonic&&!1!==e.backupMnemonic)throw new Error("missing backup seed for version 2 wallet");if(l=void 0!==e.password&&null!==e.password){if(void 0===e.passwordEncryptedSecretMnemonic||!e.passwordEncryptedSecretMnemonic)throw new Error("missing password encrypted secret for version 2 wallet");if(void 0===e.password)throw new Error("missing primary passphrase for version 2 wallet")}else{if(void 0===e.encryptedRecoverySecretMnemonic||!e.encryptedRecoverySecretMnemonic)throw new Error("missing encrypted recovery secret for version 2 wallet (recovery without password)");if(!e.recoverySecretDecryptionKey)throw new Error("missing recovery secret decryption key for version 2 wallet (recovery without password)")}e.encryptedPrimaryMnemonic=e.encryptedPrimaryMnemonic.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," "),e.backupMnemonic=(e.backupMnemonic||"").trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," "),e.recoverySecretDecryptionKey&&(e.recoverySecretDecryptionKey=e.recoverySecretDecryptionKey.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," ")),l?e.passwordEncryptedSecretMnemonic=e.passwordEncryptedSecretMnemonic.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," "):e.encryptedRecoverySecretMnemonic=e.encryptedRecoverySecretMnemonic.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," ");break;default:throw new Error("Wrong version ["+e.walletVersion+"]")}this.blocktrailPublicKeys={},u.each(e.blocktrailKeys,function(e){h.blocktrailPublicKeys[e.keyIndex]=n.HDNode.fromBase58(e.pubkey,h.network)});var d,p,b;switch(e.walletVersion){case 1:d=i.mnemonicToSeed(e.primaryMnemonic,e.primaryPassphrase),p=i.mnemonicToSeed(e.backupMnemonic,"");break;case 2:if(e.encryptedPrimaryMnemonic=s.convert(i.mnemonicToEntropy(e.encryptedPrimaryMnemonic),"hex","base64"),l?e.passwordEncryptedSecretMnemonic=s.convert(i.mnemonicToEntropy(e.passwordEncryptedSecretMnemonic),"hex","base64"):e.encryptedRecoverySecretMnemonic=s.convert(i.mnemonicToEntropy(e.encryptedRecoverySecretMnemonic),"hex","base64"),!(b=l?o.AES.decrypt(e.passwordEncryptedSecretMnemonic,e.password).toString(o.enc.Utf8):o.AES.decrypt(e.encryptedRecoverySecretMnemonic,e.recoverySecretDecryptionKey).toString(o.enc.Utf8)))throw new Error("Could not decrypt secret with "+(l?"password":"decryption key"));d=new Buffer(o.AES.decrypt(e.encryptedPrimaryMnemonic,b).toString(o.enc.Utf8),"base64"),e.backupMnemonic&&(p=new Buffer(i.mnemonicToEntropy(e.backupMnemonic),"hex"));break;case 3:if(e.encryptedPrimaryMnemonic=a.decode(e.encryptedPrimaryMnemonic),l?e.passwordEncryptedSecretMnemonic=a.decode(e.passwordEncryptedSecretMnemonic):e.encryptedRecoverySecretMnemonic=a.decode(e.encryptedRecoverySecretMnemonic),!(b=l?c.decrypt(e.passwordEncryptedSecretMnemonic,new Buffer(e.password)):c.decrypt(e.encryptedRecoverySecretMnemonic,new Buffer(e.recoverySecretDecryptionKey,"hex"))))throw new Error("Could not decrypt secret with "+(l?"password":"decryption key"));d=c.decrypt(e.encryptedPrimaryMnemonic,b),e.backupMnemonic&&(p=new Buffer(i.mnemonicToEntropy(e.backupMnemonic),"hex"));break;default:throw new Error("Wrong version ["+e.walletVersion+"]")}this.primaryPrivateKey=n.HDNode.fromSeedBuffer(d,this.network),p?(this.backupPrivateKey=n.HDNode.fromSeedBuffer(p,this.network),this.backupPublicKey=this.backupPrivateKey.neutered()):(this.backupPrivateKey=!1,this.backupPublicKey=n.HDNode.fromBase58(e.backupPublicKey,this.network)),this.settings.logging&&(console.log("using password method: "+l),console.log("Primary Prv Key: "+this.primaryPrivateKey.toBase58()),console.log("Primary Pub Key: "+this.primaryPrivateKey.neutered().toBase58()),console.log("Backup Prv Key: "+(this.backupPrivateKey?this.backupPrivateKey.toBase58():null)),console.log("Backup Pub Key: "+this.backupPublicKey.toBase58()))};d.prototype.getBitcoinNetwork=function(e,t){switch(e.toLowerCase()){case"btc":case"bitcoin":return t?n.networks.testnet:n.networks.bitcoin;case"tbtc":case"bitcoin-testnet":return n.networks.testnet;default:throw new Error("Unknown network "+e)}},d.prototype.getBlocktrailPublicKey=function(e){var t=(e=e.replace("m","M")).split("/")[1].replace("'","");if(!this.blocktrailPublicKeys[t])throw new Error("Wallet.getBlocktrailPublicKey keyIndex ("+t+") is unknown to us");return this.blocktrailPublicKeys[t]},d.prototype.createAddress=function(e){var t,r,i=(e=e.replace("m","M")).split("/")[1].replace("'",""),o=parseInt(e.split("/")[2]),s=f.deriveByPath(this.primaryPrivateKey,e,"m"),a=f.deriveByPath(this.backupPublicKey,e.replace("'",""),"M"),c=f.deriveByPath(this.getBlocktrailPublicKey(e),e,"M/"+i+"'"),u=f.sortMultiSigKeys([s.keyPair.getPublicKeyBuffer(),a.keyPair.getPublicKeyBuffer(),c.keyPair.getPublicKeyBuffer()]),h=n.script.multisig.output.encode(2,u);"bitcoincash"!==this.network&&o===f.CHAIN_BTC_SEGWIT?(r=h,t=n.script.witnessScriptHash.output.encode(n.crypto.sha256(r))):(r=null,t=h);var l=n.crypto.hash160(t),d=n.script.scriptHash.output.encode(l),p=this.network;void 0!==this.network&&(p=this.network);return{address:n.address.fromOutputScript(d,p).toString(),redeem:t,witness:r}},d.prototype.createBatchAddresses=function(e,t,r,n){var i=this,o={};return h.all(u.range(0,t).map(function(t){var s="M/"+r+"'/"+n+"/"+(e+t),a=i.createAddress(s);o[a.address]={redeem:a.redeem,witness:a.witness,path:s}})).then(function(){return o})},d.prototype.discoverWalletFunds=function(e,t){var r=this,n=0,i=0,o=0,s={};void 0===e&&(e=this.settings.sweepBatchSize);var a=h.defer();a.promise.nodeify(t);var c;return c="bitcoincash"===this.network?[0,1]:[0,1,2],l.nextTick(function(){l.eachSeries(Object.keys(r.blocktrailPublicKeys),function(t,f){l.eachSeries(c,function(c,f){var d=0,p=!1;l.doWhilst(function(f){r.settings.logging&&console.log("generating addresses "+d+" -> "+(d+e)+" using blocktrail key index: "+t+", chain: "+c),a.notify({message:"generating addresses "+d+" -> "+(d+e),increment:e,btPubKeyIndex:t,chain:c,totalAddresses:o,addressUTXOs:s,totalUTXOs:i,totalBalance:n}),l.nextTick(function(){r.createBatchAddresses(d,e,t,c).then(function(c){return o+=Object.keys(c).length,r.settings.logging&&console.log("starting fund discovery for "+e+" addresses..."),a.notify({message:"starting fund discovery for "+e+" addresses",increment:e,btPubKeyIndex:t,totalAddresses:o,addressUTXOs:s,totalUTXOs:i,totalBalance:n}),r.bitcoinDataClient.batchAddressHasTransactions(u.keys(c)).then(function(f){return p=f,r.settings.logging&&console.log("batch "+(p?"has":"does not have")+" transactions..."),h.when(p).then(function(f){if(f)return r.utxoFinder.getUTXOs(u.keys(c)).then(function(f){u.each(f,function(e,t){var o=null;void 0!==c[t].witness&&(o=c[t].witness),s[t]={path:c[t].path,redeem:c[t].redeem,witness:o,utxos:e},i+=e.length,n=u.reduce(e,function(e,t){return e+t.value},n),r.settings.logging&&console.log("found "+e.length+" unspent outputs for address: "+t)}),a.notify({message:"discovering funds",increment:e,btPubKeyIndex:t,totalAddresses:o,addressUTXOs:s,totalUTXOs:i,totalBalance:n})})})})}).then(function(){d+=e,l.nextTick(f)},function(e){f(e)})})},function(){return p},function(r){r&&(console.log("batch complete, but with errors",r.message),a.notify({message:"batch complete, but with errors: "+r.message,error:r,increment:e,btPubKeyIndex:t,totalAddresses:o,addressUTXOs:s,totalUTXOs:i,totalBalance:n})),l.nextTick(f)})},function(e){f(e)})},function(e){e&&r.settings.logging&&console.log("error encountered when discovering funds",e),r.settings.logging&&console.log("finished fund discovery: "+n+" Satoshi (in "+i+" outputs) found when searching "+o+" addresses"),r.sweepData={utxos:s,count:i,balance:n,addressesSearched:o},a.resolve(r.sweepData)})}),a.promise},d.prototype.sweepWallet=function(e,t){var r=this,n=h.defer();return n.promise.nodeify(t),r.settings.logging&&console.log("starting wallet sweeping to address "+e),h.when(!0).then(function(){if(!r.sweepData)return r.discoverWalletFunds().progress(function(e){n.notify(e)})}).then(function(){return r.bitcoinDataClient.estimateFee()}).then(function(t){return 0===r.sweepData.balance?(n.reject("No funds found after searching through "+r.sweepData.addressesSearched+" addresses"),n.promise):r.createTransaction(e,null,t,n)}).then(function(e){n.resolve(e)},function(e){n.reject(e)}),n.promise},d.prototype.createTransaction=function(e,t,r,i){this.settings.logging&&console.log("Creating transaction to address destinationAddress"),i&&i.notify({message:"creating raw transaction to "+e});var o=new n.TransactionBuilder(this.network);this.settings.bitcoinCash&&o.enableBitcoinCash();var a=[];if(u.each(this.sweepData.utxos,function(e,t){u.each(e.utxos,function(r){o.addInput(r.hash,r.index),a.push({txid:r.hash,vout:r.index,scriptPubKey:r.script_hex,value:r.value,address:t,path:e.path,redeemScript:e.redeem,witnessScript:e.witness})})}),!o)throw new Error("Failed to create raw transaction");var c=this.sweepData.balance,h=o.addOutput(e,c);if(void 0===t||null===t){i&&i.notify({message:"estimating transaction fee, based on "+s.toBTC(r)+" BTC/kb"});var l=a.map(function(e){return{txid:e.txid,vout:e.vout,address:e.vout,scriptpubkey_hex:e.vout,redeem_script:e.redeemScript,witness_script:e.witnessScript,path:e.path,value:e.value}});t=f.estimateVsizeFee(o.tx,l,r)}return o.tx.outs[h].value-=t,i&&i.notify({message:"signing transaction"}),this.signTransaction(o,a)},d.prototype.signTransaction=function(e,t){var r=this;this.settings.logging&&console.log("Signing transaction");var i=n.Transaction.SIGHASH_ALL;return this.settings.bitcoinCash&&(i|=n.Transaction.SIGHASH_BITCOINCASHBIP143),u.each(t,function(t,n){var o=f.deriveByPath(r.primaryPrivateKey,t.path.replace("M","m"),"m").keyPair;if(e.sign(n,o,t.redeemScript,i,t.value,t.witnessScript),r.backupPrivateKey){var s=f.deriveByPath(r.backupPrivateKey,t.path.replace("'","").replace("M","m"),"m").keyPair;e.sign(n,s,t.redeemScript,i,t.value,t.witnessScript)}}),r.backupPrivateKey?e.build().toHex():e.buildIncomplete().toHex()},t.exports=d}).call(this,e("buffer").Buffer)},{"./blocktrail":2,"./encryption":3,"./encryption_mnemonic":4,"./unspent_output_finder":13,"./wallet":15,async:21,bip39:28,"bitcoinjs-lib":43,buffer:105,"crypto-js":187,lodash:251,q:295}],17:[function(e,t,r){(function(Buffer){var r=e("bip39"),n=e("./encryption");t.exports=function(e){e.addEventListener("message",function(t){var i=t.data||{};switch(i.method){case"importScripts":importScripts(i.script);break;case"mnemonicToSeedHex":!function(){try{var n=i.mnemonic,o=i.passphrase;if(!r.validateMnemonic(n))throw t=new Error("Invalid passphrase"),t.id=i.id,t;var s=r.mnemonicToSeedHex(n,o);e.postMessage({id:i.id,seed:s,mnemonic:n})}catch(e){throw e.id=i.id,e}}();break;case"Encryption.encryptWithSaltAndIV":!function(){try{if(!(i.pt&&i.pw&&i.saltBuf&&i.iv&&i.iterations))throw new Error("Invalid input");var t=Buffer.from(i.pt.buffer),r=Buffer.from(i.pw.buffer),o=Buffer.from(i.saltBuf.buffer),s=Buffer.from(i.iv.buffer),a=i.iterations,c=n.encryptWithSaltAndIV(t,r,o,s,a);e.postMessage({id:i.id,cipherText:c})}catch(e){throw e.id=i.id,e}}();break;case"Encryption.decrypt":!function(){try{if(!i.ct||!i.pw)throw new Error("Invalid input");var t=Buffer.from(i.ct.buffer),r=Buffer.from(i.pw.buffer),o=n.decrypt(t,r);e.postMessage({id:i.id,plainText:o})}catch(e){throw e.id=i.id,e}}();break;default:throw t=new Error("Invalid method ["+t.method+"]"),t.id=i.id,t}},!1)}}).call(this,e("buffer").Buffer)},{"./encryption":3,bip39:28,buffer:105}],18:[function(e,t,r){var n=e("q"),i=e("webworkify");t.exports={workify:function(e,t,r,o){void 0===o&&void 0!==r&&(o=r,r=function(){});var s=n.defer();try{void 0===e.worker&&(e.worker=i(t()),e.first=!0,e.id=0,r(e.worker));var a=e.worker,c=e.id++,f=function(t){e.first&&(e.first=!1,URL.revokeObjectURL(a.objectURL)),t.data.id===c&&s.resolve(t.data)},u=function(e){s.reject(new Error(e.message.replace("Uncaught Error: ","")))},h=function(){a.removeEventListener("message",f),a.removeEventListener("error",u)};return a.addEventListener("message",f,!1),a.addEventListener("error",u,!1),o.id=c,a.postMessage(o),s.promise.then(function(e){return h(),e},function(e){throw h(),e})}catch(e){return s.reject(e),s.promise}}}},{q:295,webworkify:365}],19:[function(e,t,r){(function(Buffer){var n=e("./lib/api_client"),i=e("./lib/blocktrail");Object.keys(i).forEach(function(e){n[e]=i[e]}),n.q=e("q"),n.BlocktrailSDK=n,n.Wallet=e("./lib/wallet"),n.Request=e("./lib/request"),n.Encryption=e("./lib/encryption"),n.KeyDerivation=e("./lib/keyderivation"),n.EncryptionMnemonic=e("./lib/encryption_mnemonic"),n.useWebworker=e("./lib/use-webworker"),n.WalletSweeper=e("./lib/wallet_sweeper"),n.UnspentOutputFinder=e("./lib/unspent_output_finder"),n.BlocktrailBitcoinService=e("./lib/services/blocktrail_bitcoin_service"),n.InsightBitcoinService=e("./lib/services/insight_bitcoin_service"),n.randomBytes=e("randombytes"),n.lodash=e("lodash"),n.CryptoJS=e("crypto-js"),n.debug=e("debug"),n.bip39=e("bip39"),n.bip39wordlist=e("bip39/wordlists/en.json"),n.bitcoin=e("bitcoinjs-lib"),n.superagent=e("superagent"),n.Buffer=Buffer,n.VERSION=e("./lib/pkginfo").VERSION,r=t.exports=n}).call(this,e("buffer").Buffer)},{"./lib/api_client":1,"./lib/blocktrail":2,"./lib/encryption":3,"./lib/encryption_mnemonic":4,"./lib/keyderivation":5,"./lib/pkginfo":7,"./lib/request":8,"./lib/services/blocktrail_bitcoin_service":10,"./lib/services/insight_bitcoin_service":11,"./lib/unspent_output_finder":13,"./lib/use-webworker":14,"./lib/wallet":15,"./lib/wallet_sweeper":16,bip39:28,"bip39/wordlists/en.json":31,"bitcoinjs-lib":43,buffer:105,"crypto-js":187,debug:213,lodash:251,q:295,randombytes:299,superagent:351}],20:[function(e,t,r){(function(r){"use strict";function n(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0}function i(e){return r.Buffer&&"function"==typeof r.Buffer.isBuffer?r.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}function o(e){return Object.prototype.toString.call(e)}function s(e){return!i(e)&&("function"==typeof r.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}function a(e){if(v.isFunction(e)){if(w)return e.name;var t=e.toString().match(E);return t&&t[1]}}function c(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function f(e){if(w||!v.isFunction(e))return v.inspect(e);var t=a(e);return"[Function"+(t?": "+t:"")+"]"}function u(e,t,r,n,i){throw new _.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:i})}function h(e,t){e||u(e,!0,t,"==",_.ok)}function l(e,t,r,a){if(e===t)return!0;if(i(e)&&i(t))return 0===n(e,t);if(v.isDate(e)&&v.isDate(t))return e.getTime()===t.getTime();if(v.isRegExp(e)&&v.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(s(e)&&s(t)&&o(e)===o(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===n(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(i(e)!==i(t))return!1;var c=(a=a||{actual:[],expected:[]}).actual.indexOf(e);return-1!==c&&c===a.expected.indexOf(t)||(a.actual.push(e),a.expected.push(t),function(e,t,r,n){if(null===e||void 0===e||null===t||void 0===t)return!1;if(v.isPrimitive(e)||v.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=d(e),o=d(t);if(i&&!o||!i&&o)return!1;if(i)return e=g.call(e),t=g.call(t),l(e,t,r);var s,a,c=S(e),f=S(t);if(c.length!==f.length)return!1;for(c.sort(),f.sort(),a=c.length-1;a>=0;a--)if(c[a]!==f[a])return!1;for(a=c.length-1;a>=0;a--)if(s=c[a],!l(e[s],t[s],r,n))return!1;return!0}(e,t,r,a))}return r?e===t:e==t}function d(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function p(e,t,r){l(e,t,!0)&&u(e,t,r,"notDeepStrictEqual",p)}function b(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function y(e,t,r,n){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=function(e){var t;try{e()}catch(e){t=e}return t}(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&u(i,r,"Missing expected exception"+n);var o="string"==typeof n,s=!e&&v.isError(i),a=!e&&i&&!r;if((s&&o&&b(i,r)||a)&&u(i,r,"Got unwanted exception"+n),e&&i&&r&&!b(i,r)||!e&&i)throw i}var v=e("util/"),m=Object.prototype.hasOwnProperty,g=Array.prototype.slice,w="foo"===function(){}.name,_=t.exports=h,E=/\s*function\s+([^\(\s]*)\s*/;_.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return c(f(e.actual),128)+" "+e.operator+" "+c(f(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||u;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,i=a(t),o=n.indexOf("\n"+i);if(o>=0){var s=n.indexOf("\n",o+1);n=n.substring(s+1)}this.stack=n}}},v.inherits(_.AssertionError,Error),_.fail=u,_.ok=h,_.equal=function(e,t,r){e!=t&&u(e,t,r,"==",_.equal)},_.notEqual=function(e,t,r){e==t&&u(e,t,r,"!=",_.notEqual)},_.deepEqual=function(e,t,r){l(e,t,!1)||u(e,t,r,"deepEqual",_.deepEqual)},_.deepStrictEqual=function(e,t,r){l(e,t,!0)||u(e,t,r,"deepStrictEqual",_.deepStrictEqual)},_.notDeepEqual=function(e,t,r){l(e,t,!1)&&u(e,t,r,"notDeepEqual",_.notDeepEqual)},_.notDeepStrictEqual=p,_.strictEqual=function(e,t,r){e!==t&&u(e,t,r,"===",_.strictEqual)},_.notStrictEqual=function(e,t,r){e===t&&u(e,t,r,"!==",_.notStrictEqual)},_.throws=function(e,t,r){y(!0,e,t,r)},_.doesNotThrow=function(e,t,r){y(!1,e,t,r)},_.ifError=function(e){if(e)throw e};var S=Object.keys||function(e){var t=[];for(var r in e)m.call(e,r)&&t.push(r);return t}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"util/":362}],21:[function(e,t,r){(function(e){!function(){function r(e){var t=!1;return function(){if(t)throw new Error("Callback was already called.");t=!0,e.apply(n,arguments)}}var n,i,o={};null!=(n=this)&&(i=n.async),o.noConflict=function(){return n.async=i,o};var s=Object.prototype.toString,a=Array.isArray||function(e){return"[object Array]"===s.call(e)},c=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r+=1)t(e[r],r,e)},f=function(e,t){if(e.map)return e.map(t);var r=[];return c(e,function(e,n,i){r.push(t(e,n,i))}),r},u=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t};void 0!==e&&e.nextTick?(o.nextTick=e.nextTick,"undefined"!=typeof setImmediate?o.setImmediate=function(e){setImmediate(e)}:o.setImmediate=o.nextTick):"function"==typeof setImmediate?(o.nextTick=function(e){setImmediate(e)},o.setImmediate=o.nextTick):(o.nextTick=function(e){setTimeout(e,0)},o.setImmediate=o.nextTick),o.each=function(e,t,n){function i(t){t?(n(t),n=function(){}):(o+=1)>=e.length&&n()}if(n=n||function(){},!e.length)return n();var o=0;c(e,function(e){t(e,r(i))})},o.forEach=o.each,o.eachSeries=function(e,t,r){if(r=r||function(){},!e.length)return r();var n=0,i=function(){t(e[n],function(t){t?(r(t),r=function(){}):(n+=1)>=e.length?r():i()})};i()},o.forEachSeries=o.eachSeries,o.eachLimit=function(e,t,r,n){h(t).apply(null,[e,r,n])},o.forEachLimit=o.eachLimit;var h=function(e){return function(t,r,n){if(n=n||function(){},!t.length||e<=0)return n();var i=0,o=0,s=0;!function a(){if(i>=t.length)return n();for(;s<e&&o<t.length;)s+=1,r(t[(o+=1)-1],function(e){e?(n(e),n=function(){}):(s-=1,(i+=1)>=t.length?n():a())})}()}},l=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[o.each].concat(t))}},d=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[o.eachSeries].concat(t))}},p=function(e,t,r,n){if(t=f(t,function(e,t){return{index:t,value:e}}),n){var i=[];e(t,function(e,t){r(e.value,function(r,n){i[e.index]=n,t(r)})},function(e){n(e,i)})}else e(t,function(e,t){r(e.value,function(e){t(e)})})};o.map=l(p),o.mapSeries=d(p),o.mapLimit=function(e,t,r,n){return b(t)(e,r,n)};var b=function(e){return function(e,t){return function(){var r=Array.prototype.slice.call(arguments);return t.apply(null,[h(e)].concat(r))}}(e,p)};o.reduce=function(e,t,r,n){o.eachSeries(e,function(e,n){r(t,e,function(e,r){t=r,n(e)})},function(e){n(e,t)})},o.inject=o.reduce,o.foldl=o.reduce,o.reduceRight=function(e,t,r,n){var i=f(e,function(e){return e}).reverse();o.reduce(i,t,r,n)},o.foldr=o.reduceRight;var y=function(e,t,r,n){var i=[];e(t=f(t,function(e,t){return{index:t,value:e}}),function(e,t){r(e.value,function(r){r&&i.push(e),t()})},function(e){n(f(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};o.filter=l(y),o.filterSeries=d(y),o.select=o.filter,o.selectSeries=o.filterSeries;var v=function(e,t,r,n){var i=[];e(t=f(t,function(e,t){return{index:t,value:e}}),function(e,t){r(e.value,function(r){r||i.push(e),t()})},function(e){n(f(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};o.reject=l(v),o.rejectSeries=d(v);var m=function(e,t,r,n){e(t,function(e,t){r(e,function(r){r?(n(e),n=function(){}):t()})},function(e){n()})};o.detect=l(m),o.detectSeries=d(m),o.some=function(e,t,r){o.each(e,function(e,n){t(e,function(e){e&&(r(!0),r=function(){}),n()})},function(e){r(!1)})},o.any=o.some,o.every=function(e,t,r){o.each(e,function(e,n){t(e,function(e){e||(r(!1),r=function(){}),n()})},function(e){r(!0)})},o.all=o.every,o.sortBy=function(e,t,r){o.map(e,function(e,r){t(e,function(t,n){t?r(t):r(null,{value:e,criteria:n})})},function(e,t){if(e)return r(e);r(null,f(t.sort(function(e,t){var r=e.criteria,n=t.criteria;return r<n?-1:r>n?1:0}),function(e){return e.value}))})},o.auto=function(e,t){t=t||function(){};var r=u(e),n=r.length;if(!n)return t();var i={},s=[],f=function(e){s.unshift(e)},h=function(){n--,c(s.slice(0),function(e){e()})};f(function(){if(!n){var e=t;t=function(){},e(null,i)}}),c(r,function(r){var n=a(e[r])?e[r]:[e[r]],l=function(e){var n=Array.prototype.slice.call(arguments,1);if(n.length<=1&&(n=n[0]),e){var s={};c(u(i),function(e){s[e]=i[e]}),s[r]=n,t(e,s),t=function(){}}else i[r]=n,o.setImmediate(h)},d=n.slice(0,Math.abs(n.length-1))||[],p=function(){return function(e,t,r){return e.reduce?e.reduce(t,r):(c(e,function(e,n,i){r=t(r,e,n,i)}),r)}(d,function(e,t){return e&&i.hasOwnProperty(t)},!0)&&!i.hasOwnProperty(r)};if(p())n[n.length-1](l,i);else{var b=function(){p()&&(!function(e){for(var t=0;t<s.length;t+=1)if(s[t]===e)return void s.splice(t,1)}(b),n[n.length-1](l,i))};f(b)}})},o.retry=function(e,t,r){var n=[];"function"==typeof e&&(r=t,t=e,e=5),e=parseInt(e,10)||5;var i=function(i,s){for(var a=function(e,t){return function(r){e(function(e,n){r(!e||t,{err:e,result:n})},s)}};e;)n.push(a(t,!(e-=1)));o.series(n,function(e,t){t=t[t.length-1],(i||r)(t.err,t.result)})};return r?i():i},o.waterfall=function(e,t){if(t=t||function(){},!a(e)){var r=new Error("First argument to waterfall must be an array of functions");return t(r)}if(!e.length)return t();var n=function(e){return function(r){if(r)t.apply(null,arguments),t=function(){};else{var i=Array.prototype.slice.call(arguments,1),s=e.next();s?i.push(n(s)):i.push(t),o.setImmediate(function(){e.apply(null,i)})}}};n(o.iterator(e))()};var g=function(e,t,r){if(r=r||function(){},a(t))e.map(t,function(e,t){e&&e(function(e){var r=Array.prototype.slice.call(arguments,1);r.length<=1&&(r=r[0]),t.call(null,e,r)})},r);else{var n={};e.each(u(t),function(e,r){t[e](function(t){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),n[e]=i,r(t)})},function(e){r(e,n)})}};o.parallel=function(e,t){g({map:o.map,each:o.each},e,t)},o.parallelLimit=function(e,t,r){g({map:b(t),each:h(t)},e,r)},o.series=function(e,t){if(t=t||function(){},a(e))o.mapSeries(e,function(e,t){e&&e(function(e){var r=Array.prototype.slice.call(arguments,1);r.length<=1&&(r=r[0]),t.call(null,e,r)})},t);else{var r={};o.eachSeries(u(e),function(t,n){e[t](function(e){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),r[t]=i,n(e)})},function(e){t(e,r)})}},o.iterator=function(e){var t=function(r){var n=function(){return e.length&&e[r].apply(null,arguments),n.next()};return n.next=function(){return r<e.length-1?t(r+1):null},n};return t(0)},o.apply=function(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t.concat(Array.prototype.slice.call(arguments)))}};var w=function(e,t,r,n){var i=[];e(t,function(e,t){r(e,function(e,r){i=i.concat(r||[]),t(e)})},function(e){n(e,i)})};o.concat=l(w),o.concatSeries=d(w),o.whilst=function(e,t,r){e()?t(function(n){if(n)return r(n);o.whilst(e,t,r)}):r()},o.doWhilst=function(e,t,r){e(function(n){if(n)return r(n);var i=Array.prototype.slice.call(arguments,1);t.apply(null,i)?o.doWhilst(e,t,r):r()})},o.until=function(e,t,r){e()?r():t(function(n){if(n)return r(n);o.until(e,t,r)})},o.doUntil=function(e,t,r){e(function(n){if(n)return r(n);var i=Array.prototype.slice.call(arguments,1);t.apply(null,i)?r():o.doUntil(e,t,r)})},o.queue=function(e,t){function n(e,t,r,n){if(e.started||(e.started=!0),a(t)||(t=[t]),0==t.length)return o.setImmediate(function(){e.drain&&e.drain()});c(t,function(t){var i={data:t,callback:"function"==typeof n?n:null};r?e.tasks.unshift(i):e.tasks.push(i),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),o.setImmediate(e.process)})}void 0===t&&(t=1);var i=0,s={tasks:[],concurrency:t,saturated:null,empty:null,drain:null,started:!1,paused:!1,push:function(e,t){n(s,e,!1,t)},kill:function(){s.drain=null,s.tasks=[]},unshift:function(e,t){n(s,e,!0,t)},process:function(){if(!s.paused&&i<s.concurrency&&s.tasks.length){var t=s.tasks.shift();s.empty&&0===s.tasks.length&&s.empty(),i+=1;var n=r(function(){i-=1,t.callback&&t.callback.apply(t,arguments),s.drain&&s.tasks.length+i===0&&s.drain(),s.process()});e(t.data,n)}},length:function(){return s.tasks.length},running:function(){return i},idle:function(){return s.tasks.length+i===0},pause:function(){!0!==s.paused&&(s.paused=!0,s.process())},resume:function(){!1!==s.paused&&(s.paused=!1,s.process())}};return s},o.priorityQueue=function(e,t){function r(e,t){return e.priority-t.priority}var n=o.queue(e,t);return n.push=function(e,t,i){!function(e,t,n,i){if(e.started||(e.started=!0),a(t)||(t=[t]),0==t.length)return o.setImmediate(function(){e.drain&&e.drain()});c(t,function(t){var s={data:t,priority:n,callback:"function"==typeof i?i:null};e.tasks.splice(function(e,t,r){for(var n=-1,i=e.length-1;n<i;){var o=n+(i-n+1>>>1);r(t,e[o])>=0?n=o:i=o-1}return n}(e.tasks,s,r)+1,0,s),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),o.setImmediate(e.process)})}(n,e,t,i)},delete n.unshift,n},o.cargo=function(e,t){var r=!1,n=[],i={tasks:n,payload:t,saturated:null,empty:null,drain:null,drained:!0,push:function(e,r){a(e)||(e=[e]),c(e,function(e){n.push({data:e,callback:"function"==typeof r?r:null}),i.drained=!1,i.saturated&&n.length===t&&i.saturated()}),o.setImmediate(i.process)},process:function o(){if(!r){if(0===n.length)return i.drain&&!i.drained&&i.drain(),void(i.drained=!0);var s="number"==typeof t?n.splice(0,t):n.splice(0,n.length),a=f(s,function(e){return e.data});i.empty&&i.empty(),r=!0,e(a,function(){r=!1;var e=arguments;c(s,function(t){t.callback&&t.callback.apply(null,e)}),o()})}},length:function(){return n.length},running:function(){return r}};return i};var _=function(e){return function(t){var r=Array.prototype.slice.call(arguments,1);t.apply(null,r.concat([function(t){var r=Array.prototype.slice.call(arguments,1);"undefined"!=typeof console&&(t?console.error&&console.error(t):console[e]&&c(r,function(t){console[e](t)}))}]))}};o.log=_("log"),o.dir=_("dir"),o.memoize=function(e,t){var r={},n={};t=t||function(e){return e};var i=function(){var i=Array.prototype.slice.call(arguments),s=i.pop(),a=t.apply(null,i);a in r?o.nextTick(function(){s.apply(null,r[a])}):a in n?n[a].push(s):(n[a]=[s],e.apply(null,i.concat([function(){r[a]=arguments;var e=n[a];delete n[a];for(var t=0,i=e.length;t<i;t++)e[t].apply(null,arguments)}])))};return i.memo=r,i.unmemoized=e,i},o.unmemoize=function(e){return function(){return(e.unmemoized||e).apply(null,arguments)}},o.times=function(e,t,r){for(var n=[],i=0;i<e;i++)n.push(i);return o.map(n,t,r)},o.timesSeries=function(e,t,r){for(var n=[],i=0;i<e;i++)n.push(i);return o.mapSeries(n,t,r)},o.seq=function(){var e=arguments;return function(){var t=this,r=Array.prototype.slice.call(arguments),n=r.pop();o.reduce(e,r,function(e,r,n){r.apply(t,e.concat([function(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);n(e,t)}]))},function(e,r){n.apply(t,[e].concat(r))})}},o.compose=function(){return o.seq.apply(null,Array.prototype.reverse.call(arguments))};var E=function(e,t){var r=function(){var r=this,n=Array.prototype.slice.call(arguments),i=n.pop();return e(t,function(e,t){e.apply(r,n.concat([t]))},i)};if(arguments.length>2){var n=Array.prototype.slice.call(arguments,2);return r.apply(this,n)}return r};o.applyEach=l(E),o.applyEachSeries=d(E),o.forever=function(e,t){function r(n){if(n){if(t)return t(n);throw n}e(r)}r()},void 0!==t&&t.exports?t.exports=o:void 0!==define&&define.amd?define([],function(){return o}):n.async=o}()}).call(this,e("_process"))},{_process:265}],22:[function(e,t,r){var Buffer=e("safe-buffer").Buffer;t.exports=function(e){function t(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return Buffer.allocUnsafe(0);for(var t=[0],o=0;o<e.length;o++){var s=r[e[o]];if(void 0===s)return;for(var a=0,c=s;a<t.length;++a)c+=t[a]*n,t[a]=255&c,c>>=8;for(;c>0;)t.push(255&c),c>>=8}for(var f=0;e[f]===i&&f<e.length-1;++f)t.push(0);return Buffer.from(t.reverse())}for(var r={},n=e.length,i=e.charAt(0),o=0;o<e.length;o++){var s=e.charAt(o);if(void 0!==r[s])throw new TypeError(s+" is ambiguous");r[s]=o}return{encode:function(t){if(0===t.length)return"";for(var r=[0],o=0;o<t.length;++o){for(var s=0,a=t[o];s<r.length;++s)a+=r[s]<<8,r[s]=a%n,a=a/n|0;for(;a>0;)r.push(a%n),a=a/n|0}for(var c="",f=0;0===t[f]&&f<t.length-1;++f)c+=i;for(var u=r.length-1;u>=0;--u)c+=e[r[u]];return c},decodeUnsafe:t,decode:function(e){var r=t(e);if(r)return r;throw new Error("Non-base"+n+" character")}}}},{"safe-buffer":313}],23:[function(e,t,r){"use strict";function n(e){var t=e>>25;return(33554431&e)<<5^996825010&-(t>>0&1)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function i(e){for(var t=1,r=0;r<e.length;++r){var i=e.charCodeAt(r);if(i<33||i>126)throw new Error("Invalid prefix ("+e+")");t=n(t)^i>>5}t=n(t);for(var o=0;o<e.length;++o){var s=e.charCodeAt(o);t=n(t)^31&s}return t}function o(e,t,r,n){for(var i=0,o=0,s=(1<<r)-1,a=[],c=0;c<e.length;++c)for(i=i<<t|e[c],o+=t;o>=r;)o-=r,a.push(i>>o&s);if(n)o>0&&a.push(i<<r-o&s);else{if(o>=t)throw new Error("Excess padding");if(i<<r-o&s)throw new Error("Non-zero padding")}return a}for(var s="qpzry9x8gf2tvdw0s3jn54khce6mua7l",a={},c=0;c<s.length;c++){var f=s.charAt(c);if(void 0!==a[f])throw new TypeError(f+" is ambiguous");a[f]=c}t.exports={decode:function(e){if(e.length<8)throw new TypeError(e+" too short");if(e.length>90)throw new TypeError(e+" too long");var t=e.toLowerCase(),r=e.toUpperCase();if(e!==t&&e!==r)throw new Error("Mixed-case string "+e);var o=(e=t).lastIndexOf("1");if(0===o)throw new Error("Missing prefix for "+e);var s=e.slice(0,o),c=e.slice(o+1);if(c.length<6)throw new Error("Data too short");for(var f=i(s),u=[],h=0;h<c.length;++h){var l=c.charAt(h),d=a[l];if(void 0===d)throw new Error("Unknown character "+l);f=n(f)^d,h+6>=c.length||u.push(d)}if(1!==f)throw new Error("Invalid checksum for "+e);return{prefix:s,words:u}},encode:function(e,t){if(e.length+7+t.length>90)throw new TypeError("Exceeds Bech32 maximum length");for(var r=i(e=e.toLowerCase()),o=e+"1",a=0;a<t.length;++a){var c=t[a];if(c>>5!=0)throw new Error("Non 5-bit word");r=n(r)^c,o+=s.charAt(c)}for(var f=0;f<6;++f)r=n(r);r^=1;for(var u=0;u<6;++u){var h=r>>5*(5-u)&31;o+=s.charAt(h)}return o},toWords:function(e){return o(e,8,5,!0)},fromWords:function(e){return o(e,5,8,!1)}}},{}],24:[function(e,t,r){function BigInteger(e,t,r){if(!(this instanceof BigInteger))return new BigInteger(e,t,r);null!=e&&("number"==typeof e?this.fromNumber(e,t,r):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function n(e){return E.charAt(e)}function i(e,t){var r=S[e.charCodeAt(t)];return null==r?-1:r}function o(e){var t=new BigInteger;return t.fromInt(e),t}function s(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}function a(e){this.m=e}function c(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function f(e,t){return e&t}function u(e,t){return e|t}function h(e,t){return e^t}function l(e,t){return e&~t}function d(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function p(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function b(){}function y(e){return e}function v(e){this.r2=new BigInteger,this.q3=new BigInteger,BigInteger.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}var m=BigInteger.prototype;m.__bigi=e("../package.json").version,BigInteger.isBigInteger=function(e,t){return e&&e.__bigi&&(!t||e.__bigi===m.__bigi)};BigInteger.prototype.am=function(e,t,r,n,i,o){for(;--o>=0;){var s=t*this[e++]+r[n]+i;i=Math.floor(s/67108864),r[n++]=67108863&s}return i},BigInteger.prototype.DB=26,BigInteger.prototype.DM=67108863;var g=BigInteger.prototype.DV=1<<26;BigInteger.prototype.FV=Math.pow(2,52),BigInteger.prototype.F1=26,BigInteger.prototype.F2=0;var w,_,E="0123456789abcdefghijklmnopqrstuvwxyz",S=new Array;for(w="0".charCodeAt(0),_=0;_<=9;++_)S[w++]=_;for(w="a".charCodeAt(0),_=10;_<36;++_)S[w++]=_;for(w="A".charCodeAt(0),_=10;_<36;++_)S[w++]=_;a.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},a.prototype.revert=function(e){return e},a.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},a.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},a.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},c.prototype.convert=function(e){var t=new BigInteger;return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(BigInteger.ZERO)>0&&this.m.subTo(t,t),t},c.prototype.revert=function(e){var t=new BigInteger;return e.copyTo(t),this.reduce(t),t},c.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var r=32767&e[t],n=r*this.mpl+((r*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[r=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},c.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},c.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},m.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},m.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+g:this.t=0},m.fromString=function(e,t){var r;if(16==t)r=4;else if(8==t)r=3;else if(256==t)r=8;else if(2==t)r=1;else if(32==t)r=5;else{if(4!=t)return void this.fromRadix(e,t);r=2}this.t=0,this.s=0;for(var n=e.length,o=!1,s=0;--n>=0;){var a=8==r?255&e[n]:i(e,n);a<0?"-"==e.charAt(n)&&(o=!0):(o=!1,0==s?this[this.t++]=a:s+r>this.DB?(this[this.t-1]|=(a&(1<<this.DB-s)-1)<<s,this[this.t++]=a>>this.DB-s):this[this.t-1]|=a<<s,(s+=r)>=this.DB&&(s-=this.DB))}8==r&&0!=(128&e[0])&&(this.s=-1,s>0&&(this[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),o&&BigInteger.ZERO.subTo(this,this)},m.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},m.dlShiftTo=function(e,t){var r;for(r=this.t-1;r>=0;--r)t[r+e]=this[r];for(r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s},m.drShiftTo=function(e,t){for(var r=e;r<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s},m.lShiftTo=function(e,t){var r,n=e%this.DB,i=this.DB-n,o=(1<<i)-1,s=Math.floor(e/this.DB),a=this.s<<n&this.DM;for(r=this.t-1;r>=0;--r)t[r+s+1]=this[r]>>i|a,a=(this[r]&o)<<n;for(r=s-1;r>=0;--r)t[r]=0;t[s]=a,t.t=this.t+s+1,t.s=this.s,t.clamp()},m.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)t.t=0;else{var n=e%this.DB,i=this.DB-n,o=(1<<n)-1;t[0]=this[r]>>n;for(var s=r+1;s<this.t;++s)t[s-r-1]|=(this[s]&o)<<i,t[s-r]=this[s]>>n;n>0&&(t[this.t-r-1]|=(this.s&o)<<i),t.t=this.t-r,t.clamp()}},m.subTo=function(e,t){for(var r=0,n=0,i=Math.min(e.t,this.t);r<i;)n+=this[r]-e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n-=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n-=e[r],t[r++]=n&this.DM,n>>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:n>0&&(t[r++]=n),t.t=r,t.clamp()},m.multiplyTo=function(e,t){var r=this.abs(),n=e.abs(),i=r.t;for(t.t=i+n.t;--i>=0;)t[i]=0;for(i=0;i<n.t;++i)t[i+r.t]=r.am(0,n[i],t,i,0,r.t);t.s=0,t.clamp(),this.s!=e.s&&BigInteger.ZERO.subTo(t,t)},m.squareTo=function(e){for(var t=this.abs(),r=e.t=2*t.t;--r>=0;)e[r]=0;for(r=0;r<t.t-1;++r){var n=t.am(r,t[r],e,2*r,0,1);(e[r+t.t]+=t.am(r+1,2*t[r],e,2*r+1,n,t.t-r-1))>=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},m.divRemTo=function(e,t,r){var n=e.abs();if(!(n.t<=0)){var i=this.abs();if(i.t<n.t)return null!=t&&t.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=new BigInteger);var o=new BigInteger,a=this.s,c=e.s,f=this.DB-s(n[n.t-1]);f>0?(n.lShiftTo(f,o),i.lShiftTo(f,r)):(n.copyTo(o),i.copyTo(r));var u=o.t,h=o[u-1];if(0!=h){var l=h*(1<<this.F1)+(u>1?o[u-2]>>this.F2:0),d=this.FV/l,p=(1<<this.F1)/l,b=1<<this.F2,y=r.t,v=y-u,m=null==t?new BigInteger:t;for(o.dlShiftTo(v,m),r.compareTo(m)>=0&&(r[r.t++]=1,r.subTo(m,r)),BigInteger.ONE.dlShiftTo(u,m),m.subTo(o,o);o.t<u;)o[o.t++]=0;for(;--v>=0;){var g=r[--y]==h?this.DM:Math.floor(r[y]*d+(r[y-1]+b)*p);if((r[y]+=o.am(0,g,r,v,0,u))<g)for(o.dlShiftTo(v,m),r.subTo(m,r);r[y]<--g;)r.subTo(m,r)}null!=t&&(r.drShiftTo(u,t),a!=c&&BigInteger.ZERO.subTo(t,t)),r.t=u,r.clamp(),f>0&&r.rShiftTo(f,r),a<0&&BigInteger.ZERO.subTo(r,r)}}},m.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return t=t*(2-(15&e)*t)&15,t=t*(2-(255&e)*t)&255,t=t*(2-((65535&e)*t&65535))&65535,(t=t*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},m.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},m.exp=function(e,t){if(e>4294967295||e<1)return BigInteger.ONE;var r=new BigInteger,n=new BigInteger,i=t.convert(this),o=s(e)-1;for(i.copyTo(r);--o>=0;)if(t.sqrTo(r,n),(e&1<<o)>0)t.mulTo(n,i,r);else{var a=r;r=n,n=a}return t.revert(r)},m.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var r,i=(1<<t)-1,o=!1,s="",a=this.t,c=this.DB-a*this.DB%t;if(a-- >0)for(c<this.DB&&(r=this[a]>>c)>0&&(o=!0,s=n(r));a>=0;)c<t?(r=(this[a]&(1<<c)-1)<<t-c,r|=this[--a]>>(c+=this.DB-t)):(r=this[a]>>(c-=t)&i,c<=0&&(c+=this.DB,--a)),r>0&&(o=!0),o&&(s+=n(r));return o?s:"0"},m.negate=function(){var e=new BigInteger;return BigInteger.ZERO.subTo(this,e),e},m.abs=function(){return this.s<0?this.negate():this},m.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this[r]-e[r]))return t;return 0},m.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+s(this[this.t-1]^this.s&this.DM)},m.byteLength=function(){return this.bitLength()>>3},m.mod=function(e){var t=new BigInteger;return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(BigInteger.ZERO)>0&&e.subTo(t,t),t},m.modPowInt=function(e,t){var r;return r=e<256||t.isEven()?new a(t):new c(t),this.exp(e,r)},b.prototype.convert=y,b.prototype.revert=y,b.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r)},b.prototype.sqrTo=function(e,t){e.squareTo(t)},v.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=new BigInteger;return e.copyTo(t),this.reduce(t),t},v.prototype.revert=function(e){return e},v.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},v.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},v.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var k=[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],A=(1<<26)/k[k.length-1];m.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},m.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),r=Math.pow(e,t),n=o(r),i=new BigInteger,s=new BigInteger,a="";for(this.divRemTo(n,i,s);i.signum()>0;)a=(r+s.intValue()).toString(e).substr(1)+a,i.divRemTo(n,i,s);return s.intValue().toString(e)+a},m.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var r=this.chunkSize(t),n=Math.pow(t,r),o=!1,s=0,a=0,c=0;c<e.length;++c){var f=i(e,c);f<0?"-"==e.charAt(c)&&0==this.signum()&&(o=!0):(a=t*a+f,++s>=r&&(this.dMultiply(n),this.dAddOffset(a,0),s=0,a=0))}s>0&&(this.dMultiply(Math.pow(t,s)),this.dAddOffset(a,0)),o&&BigInteger.ZERO.subTo(this,this)},m.fromNumber=function(e,t,r){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(BigInteger.ONE.shiftLeft(e-1),u,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(BigInteger.ONE.shiftLeft(e-1),this);else{var n=new Array,i=7&e;n.length=1+(e>>3),t.nextBytes(n),i>0?n[0]&=(1<<i)-1:n[0]=0,this.fromString(n,256)}},m.bitwiseTo=function(e,t,r){var n,i,o=Math.min(e.t,this.t);for(n=0;n<o;++n)r[n]=t(this[n],e[n]);if(e.t<this.t){for(i=e.s&this.DM,n=o;n<this.t;++n)r[n]=t(this[n],i);r.t=this.t}else{for(i=this.s&this.DM,n=o;n<e.t;++n)r[n]=t(i,e[n]);r.t=e.t}r.s=t(this.s,e.s),r.clamp()},m.changeBit=function(e,t){var r=BigInteger.ONE.shiftLeft(e);return this.bitwiseTo(r,t,r),r},m.addTo=function(e,t){for(var r=0,n=0,i=Math.min(e.t,this.t);r<i;)n+=this[r]+e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n+=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n+=e[r],t[r++]=n&this.DM,n>>=this.DB;n+=e.s}t.s=n<0?-1:0,n>0?t[r++]=n:n<-1&&(t[r++]=this.DV+n),t.t=r,t.clamp()},m.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},m.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},m.multiplyLowerTo=function(e,t,r){var n=Math.min(this.t+e.t,t);for(r.s=0,r.t=n;n>0;)r[--n]=0;var i;for(i=r.t-this.t;n<i;++n)r[n+this.t]=this.am(0,e[n],r,n,0,this.t);for(i=Math.min(e.t,t);n<i;++n)this.am(0,e[n],r,n,0,t-n);r.clamp()},m.multiplyUpperTo=function(e,t,r){--t;var n=r.t=this.t+e.t-t;for(r.s=0;--n>=0;)r[n]=0;for(n=Math.max(t-this.t,0);n<e.t;++n)r[this.t+n-t]=this.am(t-n,e[n],r,0,0,this.t+n-t);r.clamp(),r.drShiftTo(1,r)},m.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,r=this.s<0?e-1:0;if(this.t>0)if(0==t)r=this[0]%e;else for(var n=this.t-1;n>=0;--n)r=(t*r+this[n])%e;return r},m.millerRabin=function(e){var t=this.subtract(BigInteger.ONE),r=t.getLowestSetBit();if(r<=0)return!1;var n=t.shiftRight(r);(e=e+1>>1)>k.length&&(e=k.length);for(var i=new BigInteger(null),o=[],s=0;s<e;++s){for(;c=k[Math.floor(Math.random()*k.length)],-1!=o.indexOf(c););o.push(c),i.fromInt(c);var a=i.modPow(n,this);if(0!=a.compareTo(BigInteger.ONE)&&0!=a.compareTo(t)){for(var c=1;c++<r&&0!=a.compareTo(t);)if(0==(a=a.modPowInt(2,this)).compareTo(BigInteger.ONE))return!1;if(0!=a.compareTo(t))return!1}}return!0},m.clone=function(){var e=new BigInteger;return this.copyTo(e),e},m.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]},m.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},m.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},m.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},m.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var r,n=this.DB-e*this.DB%8,i=0;if(e-- >0)for(n<this.DB&&(r=this[e]>>n)!=(this.s&this.DM)>>n&&(t[i++]=r|this.s<<this.DB-n);e>=0;)n<8?(r=(this[e]&(1<<n)-1)<<8-n,r|=this[--e]>>(n+=this.DB-8)):(r=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),0!=(128&r)&&(r|=-256),0===i&&(128&this.s)!=(128&r)&&++i,(i>0||r!=this.s)&&(t[i++]=r);return t},m.equals=function(e){return 0==this.compareTo(e)},m.min=function(e){return this.compareTo(e)<0?this:e},m.max=function(e){return this.compareTo(e)>0?this:e},m.and=function(e){var t=new BigInteger;return this.bitwiseTo(e,f,t),t},m.or=function(e){var t=new BigInteger;return this.bitwiseTo(e,u,t),t},m.xor=function(e){var t=new BigInteger;return this.bitwiseTo(e,h,t),t},m.andNot=function(e){var t=new BigInteger;return this.bitwiseTo(e,l,t),t},m.not=function(){for(var e=new BigInteger,t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},m.shiftLeft=function(e){var t=new BigInteger;return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},m.shiftRight=function(e){var t=new BigInteger;return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},m.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+d(this[e]);return this.s<0?this.t*this.DB:-1},m.bitCount=function(){for(var e=0,t=this.s&this.DM,r=0;r<this.t;++r)e+=p(this[r]^t);return e},m.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},m.setBit=function(e){return this.changeBit(e,u)},m.clearBit=function(e){return this.changeBit(e,l)},m.flipBit=function(e){return this.changeBit(e,h)},m.add=function(e){var t=new BigInteger;return this.addTo(e,t),t},m.subtract=function(e){var t=new BigInteger;return this.subTo(e,t),t},m.multiply=function(e){var t=new BigInteger;return this.multiplyTo(e,t),t},m.divide=function(e){var t=new BigInteger;return this.divRemTo(e,t,null),t},m.remainder=function(e){var t=new BigInteger;return this.divRemTo(e,null,t),t},m.divideAndRemainder=function(e){var t=new BigInteger,r=new BigInteger;return this.divRemTo(e,t,r),new Array(t,r)},m.modPow=function(e,t){var r,n,i=e.bitLength(),f=o(1);if(i<=0)return f;r=i<18?1:i<48?3:i<144?4:i<768?5:6,n=i<8?new a(t):t.isEven()?new v(t):new c(t);var u=new Array,h=3,l=r-1,d=(1<<r)-1;if(u[1]=n.convert(this),r>1){var p=new BigInteger;for(n.sqrTo(u[1],p);h<=d;)u[h]=new BigInteger,n.mulTo(p,u[h-2],u[h]),h+=2}var b,y,m=e.t-1,g=!0,w=new BigInteger;for(i=s(e[m])-1;m>=0;){for(i>=l?b=e[m]>>i-l&d:(b=(e[m]&(1<<i+1)-1)<<l-i,m>0&&(b|=e[m-1]>>this.DB+i-l)),h=r;0==(1&b);)b>>=1,--h;if((i-=h)<0&&(i+=this.DB,--m),g)u[b].copyTo(f),g=!1;else{for(;h>1;)n.sqrTo(f,w),n.sqrTo(w,f),h-=2;h>0?n.sqrTo(f,w):(y=f,f=w,w=y),n.mulTo(w,u[b],f)}for(;m>=0&&0==(e[m]&1<<i);)n.sqrTo(f,w),y=f,f=w,w=y,--i<0&&(i=this.DB-1,--m)}return n.revert(f)},m.modInverse=function(e){var t=e.isEven();if(0===this.signum())throw new Error("division by zero");if(this.isEven()&&t||0==e.signum())return BigInteger.ZERO;for(var r=e.clone(),n=this.clone(),i=o(1),s=o(0),a=o(0),c=o(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),t?(i.isEven()&&s.isEven()||(i.addTo(this,i),s.subTo(e,s)),i.rShiftTo(1,i)):s.isEven()||s.subTo(e,s),s.rShiftTo(1,s);for(;n.isEven();)n.rShiftTo(1,n),t?(a.isEven()&&c.isEven()||(a.addTo(this,a),c.subTo(e,c)),a.rShiftTo(1,a)):c.isEven()||c.subTo(e,c),c.rShiftTo(1,c);r.compareTo(n)>=0?(r.subTo(n,r),t&&i.subTo(a,i),s.subTo(c,s)):(n.subTo(r,n),t&&a.subTo(i,a),c.subTo(s,c))}if(0!=n.compareTo(BigInteger.ONE))return BigInteger.ZERO;for(;c.compareTo(e)>=0;)c.subTo(e,c);for(;c.signum()<0;)c.addTo(e,c);return c},m.pow=function(e){return this.exp(e,new b)},m.gcd=function(e){var t=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone();if(t.compareTo(r)<0){var n=t;t=r,r=n}var i=t.getLowestSetBit(),o=r.getLowestSetBit();if(o<0)return t;for(i<o&&(o=i),o>0&&(t.rShiftTo(o,t),r.rShiftTo(o,r));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=r.getLowestSetBit())>0&&r.rShiftTo(i,r),t.compareTo(r)>=0?(t.subTo(r,t),t.rShiftTo(1,t)):(r.subTo(t,r),r.rShiftTo(1,r));return o>0&&r.lShiftTo(o,r),r},m.isProbablePrime=function(e){var t,r=this.abs();if(1==r.t&&r[0]<=k[k.length-1]){for(t=0;t<k.length;++t)if(r[0]==k[t])return!0;return!1}if(r.isEven())return!1;for(t=1;t<k.length;){for(var n=k[t],i=t+1;i<k.length&&n<A;)n*=k[i++];for(n=r.modInt(n);t<i;)if(n%k[t++]==0)return!1}return r.millerRabin(e)},m.square=function(){var e=new BigInteger;return this.squareTo(e),e},BigInteger.ZERO=o(0),BigInteger.ONE=o(1),BigInteger.valueOf=o,t.exports=BigInteger},{"../package.json":27}],25:[function(e,t,r){(function(Buffer){var t=e("assert"),BigInteger=e("./bigi");BigInteger.fromByteArrayUnsigned=function(e){return new BigInteger(128&e[0]?[0].concat(e):e)},BigInteger.prototype.toByteArrayUnsigned=function(){var e=this.toByteArray();return 0===e[0]?e.slice(1):e},BigInteger.fromDERInteger=function(e){return new BigInteger(e)},BigInteger.prototype.toDERInteger=BigInteger.prototype.toByteArray,BigInteger.fromBuffer=function(e){if(128&e[0]){var t=Array.prototype.slice.call(e);return new BigInteger([0].concat(t))}return new BigInteger(e)},BigInteger.fromHex=function(e){return""===e?BigInteger.ZERO:(t.equal(e,e.match(/^[A-Fa-f0-9]+/),"Invalid hex string"),t.equal(e.length%2,0,"Incomplete hex"),new BigInteger(e,16))},BigInteger.prototype.toBuffer=function(e){for(var t=this.toByteArrayUnsigned(),r=[],n=e-t.length;r.length<n;)r.push(0);return new Buffer(r.concat(t))},BigInteger.prototype.toHex=function(e){return this.toBuffer(e).toString("hex")}}).call(this,e("buffer").Buffer)},{"./bigi":24,assert:20,buffer:105}],26:[function(e,t,r){var BigInteger=e("./bigi");e("./convert"),t.exports=BigInteger},{"./bigi":24,"./convert":25}],27:[function(e,t,r){t.exports={_args:[[{raw:"bigi@^1.4.0",scope:null,escapedName:"bigi",name:"bigi",rawSpec:"^1.4.0",spec:">=1.4.0 <2.0.0",type:"range"},"/work/blocktrail-sdk-nodejs/node_modules/bitcoinjs-lib"]],_from:"bigi@>=1.4.0 <2.0.0",_id:"[email protected]",_inCache:!0,_location:"/bigi",_nodeVersion:"6.1.0",_npmOperationalInternal:{host:"packages-12-west.internal.npmjs.com",tmp:"tmp/bigi-1.4.2.tgz_1469584192413_0.6801238611806184"},_npmUser:{name:"jprichardson",email:"[email protected]"},_npmVersion:"3.8.6",_phantomChildren:{},_requested:{raw:"bigi@^1.4.0",scope:null,escapedName:"bigi",name:"bigi",rawSpec:"^1.4.0",spec:">=1.4.0 <2.0.0",type:"range"},_requiredBy:["/bitcoinjs-lib","/ecurve"],_resolved:"https://registry.npmjs.org/bigi/-/bigi-1.4.2.tgz",_shasum:"9c665a95f88b8b08fc05cfd731f561859d725825",_shrinkwrap:null,_spec:"bigi@^1.4.0",_where:"/work/blocktrail-sdk-nodejs/node_modules/bitcoinjs-lib",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"},directories:{},dist:{shasum:"9c665a95f88b8b08fc05cfd731f561859d725825",tarball:"https://registry.npmjs.org/bigi/-/bigi-1.4.2.tgz"},gitHead:"c25308081c896ff84702303722bf5ecd8b3f78e3",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",maintainers:[{name:"midnightlightning",email:"[email protected]"},{name:"sidazhang",email:"[email protected]"},{name:"nadav",email:"[email protected]"},{name:"jprichardson",email:"[email protected]"}],name:"bigi",optionalDependencies:{},readme:"ERROR: No README data found!",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"}},{}],28:[function(e,t,r){(function(Buffer){var r=e("./lib/index"),n=e("./sjcl");e("assert")("function"==typeof n.hash.sha512);var i=function(e){var t=new n.misc.hmac(e,n.hash.sha512);this.encrypt=function(){return t.encrypt.apply(t,arguments)}};r.setPbkdf2(function(e,t,r,o,s){var a;switch(s){case"sha512":a=i;break;default:throw new Error("Digest ["+s+"] not implemented")}var c=n.misc.pbkdf2(n.codec.utf8String.toBits(e),n.codec.utf8String.toBits(t),r,8*o,a);return new Buffer(n.codec.hex.fromBits(c),"hex")}),t.exports={salt:r.salt,mnemonicToSeed:r.mnemonicToSeed,mnemonicToSeedHex:r.mnemonicToSeedHex,mnemonicToEntropy:r.mnemonicToEntropy,entropyToMnemonic:r.entropyToMnemonic,generateMnemonic:r.generateMnemonic,validateMnemonic:r.validateMnemonic}}).call(this,e("buffer").Buffer)},{"./lib/index":29,"./sjcl":30,assert:20,buffer:105}],29:[function(e,t,r){(function(Buffer){function r(e,t){return f(e,s(t),2048,64,"sha512")}function n(e,t){t=t||p;var r=e.split(" ");u(r.length%3==0,"Invalid mnemonic");var n=r.every(function(e){return t.indexOf(e)>-1});u(n,"Invalid mnemonic");var i=r.map(function(e){return c(t.indexOf(e).toString(2),"0",11)}).join(""),s=32*Math.floor(i.length/33),a=i.slice(0,s),f=i.slice(s),h=a.match(/(.{1,8})/g).map(function(e){return parseInt(e,2)}),l=new Buffer(h),d=o(l);return u(d===f,"Invalid mnemonic checksum"),l.toString("hex")}function i(e,t){t=t||p;var r=new Buffer(e,"hex");return(a([].slice.call(r))+o(r)).match(/(.{1,11})/g).map(function(e){var r=parseInt(e,2);return t[r]}).join(" ")}function o(e){var t=h("sha256").update(e).digest(),r=8*e.length/32;return a([].slice.call(t)).slice(0,r)}function s(e){return"mnemonic"+(d.nfkd(e)||"")}function a(e){return e.map(function(e){return c(e.toString(2),"0",8)}).join("")}function c(e,t,r){for(;e.length<r;)e=t+e;return e}var f,u=e("assert"),h=e("create-hash"),l=e("randombytes"),d=e("unorm"),p=e("../wordlists/en.json");t.exports={setPbkdf2:function(e){f=e},salt:s,mnemonicToSeed:r,mnemonicToSeedHex:function(e,t){return r(e,t).toString("hex")},mnemonicToEntropy:n,entropyToMnemonic:i,generateMnemonic:function(e,t,r){return e=e||128,i((t=t||l)(e/8).toString("hex"),r)},validateMnemonic:function(e,t){try{n(e,t)}catch(e){return!1}return!0}}}).call(this,e("buffer").Buffer)},{"../wordlists/en.json":31,assert:20,buffer:105,"create-hash":130,randombytes:299,unorm:356}],30:[function(e,t,r){"use strict";function n(e){throw e}function i(e,t,r){4!==t.length&&n(new h.exception.invalid("invalid aes block size"));var i=e.b[r],o=t[0]^i[0],s=t[r?3:1]^i[1],a=t[2]^i[2];t=t[r?1:3]^i[3];var c,f,u,l,d=i.length/4-2,p=4,b=[0,0,0,0];e=(c=e.o[r])[0];var y=c[1],v=c[2],m=c[3],g=c[4];for(l=0;l<d;l++)c=e[o>>>24]^y[s>>16&255]^v[a>>8&255]^m[255&t]^i[p],f=e[s>>>24]^y[a>>16&255]^v[t>>8&255]^m[255&o]^i[p+1],u=e[a>>>24]^y[t>>16&255]^v[o>>8&255]^m[255&s]^i[p+2],t=e[t>>>24]^y[o>>16&255]^v[s>>8&255]^m[255&a]^i[p+3],p+=4,o=c,s=f,a=u;for(l=0;4>l;l++)b[r?3&-l:l]=g[o>>>24]<<24^g[s>>16&255]<<16^g[a>>8&255]<<8^g[255&t]^i[p++],c=o,o=s,s=a,a=t,t=c;return b}function o(e,t){var r,n=h.random.D[e],i=[];for(r in n)n.hasOwnProperty(r)&&i.push(n[r]);for(r=0;r<i.length;r++)i[r](t)}function s(e){"undefined"!=typeof window&&window.performance&&"function"==typeof window.performance.now?h.random.addEntropy(window.performance.now(),e,"loadtime"):h.random.addEntropy((new Date).valueOf(),e,"loadtime")}function a(e){e.b=c(e).concat(c(e)),e.F=new h.cipher.aes(e.b)}function c(e){for(var t=0;4>t&&(e.i[t]=e.i[t]+1|0,!e.i[t]);t++);return e.F.encrypt(e.i)}function f(e,t){return function(){t.apply(e,arguments)}}var u=void 0,h={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(e){this.toString=function(){return"CORRUPT: "+this.message},this.message=e},invalid:function(e){this.toString=function(){return"INVALID: "+this.message},this.message=e},bug:function(e){this.toString=function(){return"BUG: "+this.message},this.message=e},notReady:function(e){this.toString=function(){return"NOT READY: "+this.message},this.message=e}}};void 0!==t&&t.exports&&(t.exports=h),"function"==typeof define&&define([],function(){return h}),h.cipher.aes=function(e){this.o[0][0][0]||this.t();var t,r,i,o,s=this.o[0][4],a=this.o[1],c=1;for(4!==(t=e.length)&&6!==t&&8!==t&&n(new h.exception.invalid("invalid aes key size")),this.b=[i=e.slice(0),o=[]],e=t;e<4*t+28;e++)r=i[e-1],(0==e%t||8===t&&4==e%t)&&(r=s[r>>>24]<<24^s[r>>16&255]<<16^s[r>>8&255]<<8^s[255&r],0==e%t&&(r=r<<8^r>>>24^c<<24,c=c<<1^283*(c>>7))),i[e]=i[e-t]^r;for(t=0;e;t++,e--)r=i[3&t?e:e-4],o[t]=4>=e||4>t?r:a[0][s[r>>>24]]^a[1][s[r>>16&255]]^a[2][s[r>>8&255]]^a[3][s[255&r]]},h.cipher.aes.prototype={encrypt:function(e){return i(this,e,0)},decrypt:function(e){return i(this,e,1)},o:[[[],[],[],[],[]],[[],[],[],[],[]]],t:function(){var e,t,r,n,i,o,s,a=this.o[0],c=this.o[1],f=a[4],u=c[4],h=[],l=[];for(e=0;256>e;e++)l[(h[e]=e<<1^283*(e>>7))^e]=e;for(t=r=0;!f[t];t^=n||1,r=l[r]||1)for(o=(o=r^r<<1^r<<2^r<<3^r<<4)>>8^255&o^99,f[t]=o,u[o]=t,s=16843009*(i=h[e=h[n=h[t]]])^65537*e^257*n^16843008*t,i=257*h[o]^16843008*o,e=0;4>e;e++)a[e][t]=i=i<<24^i>>>8,c[e][o]=s=s<<24^s>>>8;for(e=0;5>e;e++)a[e]=a[e].slice(0),c[e]=c[e].slice(0)}},h.bitArray={bitSlice:function(e,t,r){return e=h.bitArray.R(e.slice(t/32),32-(31&t)).slice(1),r===u?e:h.bitArray.clamp(e,r-t)},extract:function(e,t,r){var n=Math.floor(-t-r&31);return(-32&(t+r-1^t)?e[t/32|0]<<32-n^e[t/32+1|0]>>>n:e[t/32|0]>>>n)&(1<<r)-1},concat:function(e,t){if(0===e.length||0===t.length)return e.concat(t);var r=e[e.length-1],n=h.bitArray.getPartial(r);return 32===n?e.concat(t):h.bitArray.R(t,n,0|r,e.slice(0,e.length-1))},bitLength:function(e){var t=e.length;return 0===t?0:32*(t-1)+h.bitArray.getPartial(e[t-1])},clamp:function(e,t){if(32*e.length<t)return e;var r=(e=e.slice(0,Math.ceil(t/32))).length;return t&=31,0<r&&t&&(e[r-1]=h.bitArray.partial(t,e[r-1]&2147483648>>t-1,1)),e},partial:function(e,t,r){return 32===e?t:(r?0|t:t<<32-e)+1099511627776*e},getPartial:function(e){return Math.round(e/1099511627776)||32},equal:function(e,t){if(h.bitArray.bitLength(e)!==h.bitArray.bitLength(t))return!1;var r,n=0;for(r=0;r<e.length;r++)n|=e[r]^t[r];return 0===n},R:function(e,t,r,n){var i;for(i=0,n===u&&(n=[]);32<=t;t-=32)n.push(r),r=0;if(0===t)return n.concat(e);for(i=0;i<e.length;i++)n.push(r|e[i]>>>t),r=e[i]<<32-t;return i=e.length?e[e.length-1]:0,e=h.bitArray.getPartial(i),n.push(h.bitArray.partial(t+e&31,32<t+e?r:n.pop(),1)),n},j:function(e,t){return[e[0]^t[0],e[1]^t[1],e[2]^t[2],e[3]^t[3]]},byteswapM:function(e){var t,r;for(t=0;t<e.length;++t)r=e[t],e[t]=r>>>24|r>>>8&65280|(65280&r)<<8|r<<24;return e}},h.codec.utf8String={fromBits:function(e){var t,r,n="",i=h.bitArray.bitLength(e);for(t=0;t<i/8;t++)0==(3&t)&&(r=e[t/4]),n+=String.fromCharCode(r>>>24),r<<=8;return decodeURIComponent(escape(n))},toBits:function(e){e=unescape(encodeURIComponent(e));var t,r=[],n=0;for(t=0;t<e.length;t++)n=n<<8|e.charCodeAt(t),3==(3&t)&&(r.push(n),n=0);return 3&t&&r.push(h.bitArray.partial(8*(3&t),n)),r}},h.codec.hex={fromBits:function(e){var t,r="";for(t=0;t<e.length;t++)r+=(0xf00000000000+(0|e[t])).toString(16).substr(4);return r.substr(0,h.bitArray.bitLength(e)/4)},toBits:function(e){var t,r,n=[];for(r=(e=e.replace(/\s|0x/g,"")).length,e+="00000000",t=0;t<e.length;t+=8)n.push(0^parseInt(e.substr(t,8),16));return h.bitArray.clamp(n,4*r)}},h.codec.base64={M:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fromBits:function(e,t,r){var n="",i=0,o=h.codec.base64.M,s=0,a=h.bitArray.bitLength(e);for(r&&(o=o.substr(0,62)+"-_"),r=0;6*n.length<a;)n+=o.charAt((s^e[r]>>>i)>>>26),6>i?(s=e[r]<<6-i,i+=26,r++):(s<<=6,i-=6);for(;3&n.length&&!t;)n+="=";return n},toBits:function(e,t){e=e.replace(/\s|=/g,"");var r,i,o=[],s=0,a=h.codec.base64.M,c=0;for(t&&(a=a.substr(0,62)+"-_"),r=0;r<e.length;r++)0>(i=a.indexOf(e.charAt(r)))&&n(new h.exception.invalid("this isn't base64!")),26<s?(s-=26,o.push(c^i>>>s),c=i<<32-s):(s+=6,c^=i<<32-s);return 56&s&&o.push(h.bitArray.partial(56&s,c,1)),o}},h.codec.base64url={fromBits:function(e){return h.codec.base64.fromBits(e,1,1)},toBits:function(e){return h.codec.base64.toBits(e,1)}},h.hash.sha256=function(e){this.b[0]||this.t(),e?(this.e=e.e.slice(0),this.d=e.d.slice(0),this.c=e.c):this.reset()},h.hash.sha256.hash=function(e){return(new h.hash.sha256).update(e).finalize()},h.hash.sha256.prototype={blockSize:512,reset:function(){return this.e=this.l.slice(0),this.d=[],this.c=0,this},update:function(e){"string"==typeof e&&(e=h.codec.utf8String.toBits(e));var t,r=this.d=h.bitArray.concat(this.d,e);for(t=this.c,e=this.c=t+h.bitArray.bitLength(e),t=512+t&-512;t<=e;t+=512)this.r(r.splice(0,16));return this},finalize:function(){var e,t=this.d,r=this.e;for(e=(t=h.bitArray.concat(t,[h.bitArray.partial(1,1)])).length+2;15&e;e++)t.push(0);for(t.push(Math.floor(this.c/4294967296)),t.push(0|this.c);t.length;)this.r(t.splice(0,16));return this.reset(),r},l:[],b:[],t:function(){function e(e){return 4294967296*(e-Math.floor(e))|0}var t,r=0,n=2;e:for(;64>r;n++){for(t=2;t*t<=n;t++)if(0==n%t)continue e;8>r&&(this.l[r]=e(Math.pow(n,.5))),this.b[r]=e(Math.pow(n,1/3)),r++}},r:function(e){var t,r,n=e.slice(0),i=this.e,o=this.b,s=i[0],a=i[1],c=i[2],f=i[3],u=i[4],h=i[5],l=i[6],d=i[7];for(e=0;64>e;e++)16>e?t=n[e]:(t=n[e+1&15],r=n[e+14&15],t=n[15&e]=(t>>>7^t>>>18^t>>>3^t<<25^t<<14)+(r>>>17^r>>>19^r>>>10^r<<15^r<<13)+n[15&e]+n[e+9&15]|0),t=t+d+(u>>>6^u>>>11^u>>>25^u<<26^u<<21^u<<7)+(l^u&(h^l))+o[e],d=l,l=h,h=u,u=f+t|0,f=c,c=a,a=s,s=t+(a&c^f&(a^c))+(a>>>2^a>>>13^a>>>22^a<<30^a<<19^a<<10)|0;i[0]=i[0]+s|0,i[1]=i[1]+a|0,i[2]=i[2]+c|0,i[3]=i[3]+f|0,i[4]=i[4]+u|0,i[5]=i[5]+h|0,i[6]=i[6]+l|0,i[7]=i[7]+d|0}},h.hash.sha512=function(e){this.b[0]||this.t(),e?(this.e=e.e.slice(0),this.d=e.d.slice(0),this.c=e.c):this.reset()},h.hash.sha512.hash=function(e){return(new h.hash.sha512).update(e).finalize()},h.hash.sha512.prototype={blockSize:1024,reset:function(){return this.e=this.l.slice(0),this.d=[],this.c=0,this},update:function(e){"string"==typeof e&&(e=h.codec.utf8String.toBits(e));var t,r=this.d=h.bitArray.concat(this.d,e);for(t=this.c,e=this.c=t+h.bitArray.bitLength(e),t=1024+t&-1024;t<=e;t+=1024)this.r(r.splice(0,32));return this},finalize:function(){var e,t=this.d,r=this.e;for(e=(t=h.bitArray.concat(t,[h.bitArray.partial(1,1)])).length+4;31&e;e++)t.push(0);for(t.push(0),t.push(0),t.push(Math.floor(this.c/4294967296)),t.push(0|this.c);t.length;)this.r(t.splice(0,32));return this.reset(),r},l:[],ca:[12372232,13281083,9762859,1914609,15106769,4090911,4308331,8266105],b:[],ea:[2666018,15689165,5061423,9034684,4764984,380953,1658779,7176472,197186,7368638,14987916,16757986,8096111,1480369,13046325,6891156,15813330,5187043,9229749,11312229,2818677,10937475,4324308,1135541,6741931,11809296,16458047,15666916,11046850,698149,229999,945776,13774844,2541862,12856045,9810911,11494366,7844520,15576806,8533307,15795044,4337665,16291729,5553712,15684120,6662416,7413802,12308920,13816008,4303699,9366425,10176680,13195875,4295371,6546291,11712675,15708924,1519456,15772530,6568428,6495784,8568297,13007125,7492395,2515356,12632583,14740254,7262584,1535930,13146278,16321966,1853211,294276,13051027,13221564,1051980,4080310,6651434,14088940,4675607],t:function(){function e(e){return 4294967296*(e-Math.floor(e))|0}function t(e){return 1099511627776*(e-Math.floor(e))&255}var r,n=0,i=2;e:for(;80>n;i++){for(r=2;r*r<=i;r++)if(0==i%r)continue e;8>n&&(this.l[2*n]=e(Math.pow(i,.5)),this.l[2*n+1]=t(Math.pow(i,.5))<<24|this.ca[n]),this.b[2*n]=e(Math.pow(i,1/3)),this.b[2*n+1]=t(Math.pow(i,1/3))<<24|this.ea[n],n++}},r:function(e){var t,r,n=e.slice(0),i=this.e,o=this.b,s=i[0],a=i[1],c=i[2],f=i[3],u=i[4],h=i[5],l=i[6],d=i[7],p=i[8],b=i[9],y=i[10],v=i[11],m=i[12],g=i[13],w=i[14],_=i[15],E=s,S=a,k=c,A=f,x=u,I=h,T=l,B=d,P=p,M=b,C=y,R=v,O=m,L=g,j=w,N=_;for(e=0;80>e;e++){if(16>e)t=n[2*e],r=n[2*e+1];else{r=n[2*(e-15)];t=((D=n[2*(e-15)+1])<<31|r>>>1)^(D<<24|r>>>8)^r>>>7;G=(r<<31|D>>>1)^(r<<24|D>>>8)^(r<<25|D>>>7);r=n[2*(e-2)];var D=((U=n[2*(e-2)+1])<<13|r>>>19)^(r<<3|U>>>29)^r>>>6,U=(r<<13|U>>>19)^(U<<3|r>>>29)^(r<<26|U>>>6),K=n[2*(e-7)],H=n[2*(e-16)],z=n[2*(e-16)+1];t=t+K+((r=G+n[2*(e-7)+1])>>>0<G>>>0?1:0),t+=D+((r+=U)>>>0<U>>>0?1:0),t+=H+((r+=z)>>>0<z>>>0?1:0)}n[2*e]=t|=0,n[2*e+1]=r|=0;var K=P&C^~P&O,q=M&R^~M&L,U=E&k^E&x^k&x,F=S&A^S&I^A&I,H=(S<<4|E>>>28)^(E<<30|S>>>2)^(E<<25|S>>>7),z=(E<<4|S>>>28)^(S<<30|E>>>2)^(S<<25|E>>>7),W=o[2*e],V=o[2*e+1],G=(G=(G=(G=j+((M<<18|P>>>14)^(M<<14|P>>>18)^(P<<23|M>>>9))+((D=N+((P<<18|M>>>14)^(P<<14|M>>>18)^(M<<23|P>>>9)))>>>0<N>>>0?1:0))+(K+((D=D+q)>>>0<q>>>0?1:0)))+(W+((D=D+V)>>>0<V>>>0?1:0)))+(t+((D=D+r|0)>>>0<r>>>0?1:0));t=H+U+((r=z+F)>>>0<z>>>0?1:0),j=O,N=L,O=C,L=R,C=P,R=M,P=T+G+((M=B+D|0)>>>0<B>>>0?1:0)|0,T=x,B=I,x=k,I=A,k=E,A=S,E=G+t+((S=D+r|0)>>>0<D>>>0?1:0)|0}a=i[1]=a+S|0,i[0]=s+E+(a>>>0<S>>>0?1:0)|0,f=i[3]=f+A|0,i[2]=c+k+(f>>>0<A>>>0?1:0)|0,h=i[5]=h+I|0,i[4]=u+x+(h>>>0<I>>>0?1:0)|0,d=i[7]=d+B|0,i[6]=l+T+(d>>>0<B>>>0?1:0)|0,b=i[9]=b+M|0,i[8]=p+P+(b>>>0<M>>>0?1:0)|0,v=i[11]=v+R|0,i[10]=y+C+(v>>>0<R>>>0?1:0)|0,g=i[13]=g+L|0,i[12]=m+O+(g>>>0<L>>>0?1:0)|0,_=i[15]=_+N|0,i[14]=w+j+(_>>>0<N>>>0?1:0)|0}},h.mode.ccm={name:"ccm",w:[],listenProgress:function(e){h.mode.ccm.w.push(e)},unListenProgress:function(e){-1<(e=h.mode.ccm.w.indexOf(e))&&h.mode.ccm.w.splice(e,1)},X:function(e){var t,r=h.mode.ccm.w.slice();for(t=0;t<r.length;t+=1)r[t](e)},encrypt:function(e,t,r,i,o){var s,a=t.slice(0),c=h.bitArray,f=c.bitLength(r)/8,u=c.bitLength(a)/8;for(o=o||64,i=i||[],7>f&&n(new h.exception.invalid("ccm: iv must be at least 7 bytes")),s=2;4>s&&u>>>8*s;s++);return s<15-f&&(s=15-f),r=c.clamp(r,8*(15-s)),t=h.mode.ccm.O(e,t,r,i,o,s),a=h.mode.ccm.s(e,a,r,t,o,s),c.concat(a.data,a.tag)},decrypt:function(e,t,r,i,o){o=o||64,i=i||[];var s=h.bitArray,a=s.bitLength(r)/8,c=s.bitLength(t),f=s.clamp(t,c-o),u=s.bitSlice(t,c-o),c=(c-o)/8;for(7>a&&n(new h.exception.invalid("ccm: iv must be at least 7 bytes")),t=2;4>t&&c>>>8*t;t++);return t<15-a&&(t=15-a),r=s.clamp(r,8*(15-t)),f=h.mode.ccm.s(e,f,r,u,o,t),e=h.mode.ccm.O(e,f.data,r,i,o,t),s.equal(f.tag,e)||n(new h.exception.corrupt("ccm: tag doesn't match")),f.data},ga:function(e,t,r,n,i,o){var s=[],a=h.bitArray,c=a.j;if(n=[a.partial(8,(t.length?64:0)|n-2<<2|o-1)],n=a.concat(n,r),n[3]|=i,n=e.encrypt(n),t.length)for(65279>=(r=a.bitLength(t)/8)?s=[a.partial(16,r)]:4294967295>=r&&(s=a.concat([a.partial(16,65534)],[r])),s=a.concat(s,t),t=0;t<s.length;t+=4)n=e.encrypt(c(n,s.slice(t,t+4).concat([0,0,0])));return n},O:function(e,t,r,i,o,s){var a=h.bitArray,c=a.j;for(((o/=8)%2||4>o||16<o)&&n(new h.exception.invalid("ccm: invalid tag length")),(4294967295<i.length||4294967295<t.length)&&n(new h.exception.bug("ccm: can't deal with 4GiB or more data")),r=h.mode.ccm.ga(e,i,r,o,a.bitLength(t)/8,s),i=0;i<t.length;i+=4)r=e.encrypt(c(r,t.slice(i,i+4).concat([0,0,0])));return a.clamp(r,8*o)},s:function(e,t,r,n,i,o){var s,a=h.bitArray;s=a.j;var c=t.length,f=a.bitLength(t),u=c/50,l=u;if(r=a.concat([a.partial(8,o-1)],r).concat([0,0,0]).slice(0,4),n=a.bitSlice(s(n,e.encrypt(r)),0,i),!c)return{tag:n,data:[]};for(s=0;s<c;s+=4)s>u&&(h.mode.ccm.X(s/c),u+=l),r[3]++,i=e.encrypt(r),t[s]^=i[0],t[s+1]^=i[1],t[s+2]^=i[2],t[s+3]^=i[3];return{tag:n,data:a.clamp(t,f)}}},h.mode.ocb2={name:"ocb2",encrypt:function(e,t,r,i,o,s){128!==h.bitArray.bitLength(r)&&n(new h.exception.invalid("ocb iv must be 128 bits"));var a,c=h.mode.ocb2.K,f=h.bitArray,u=f.j,l=[0,0,0,0];r=c(e.encrypt(r));var d,p=[];for(i=i||[],o=o||64,a=0;a+4<t.length;a+=4)d=t.slice(a,a+4),l=u(l,d),p=p.concat(u(r,e.encrypt(u(r,d)))),r=c(r);return d=t.slice(a),t=f.bitLength(d),a=e.encrypt(u(r,[0,0,0,t])),d=f.clamp(u(d.concat([0,0,0]),a),t),l=u(l,u(d.concat([0,0,0]),a)),l=e.encrypt(u(l,u(r,c(r)))),i.length&&(l=u(l,s?i:h.mode.ocb2.pmac(e,i))),p.concat(f.concat(d,f.clamp(l,o)))},decrypt:function(e,t,r,i,o,s){128!==h.bitArray.bitLength(r)&&n(new h.exception.invalid("ocb iv must be 128 bits")),o=o||64;var a,c,f=h.mode.ocb2.K,u=h.bitArray,l=u.j,d=[0,0,0,0],p=f(e.encrypt(r)),b=h.bitArray.bitLength(t)-o,y=[];for(i=i||[],r=0;r+4<b/32;r+=4)a=l(p,e.decrypt(l(p,t.slice(r,r+4)))),d=l(d,a),y=y.concat(a),p=f(p);return c=b-32*r,a=e.encrypt(l(p,[0,0,0,c])),a=l(a,u.clamp(t.slice(r),c).concat([0,0,0])),d=l(d,a),d=e.encrypt(l(d,l(p,f(p)))),i.length&&(d=l(d,s?i:h.mode.ocb2.pmac(e,i))),u.equal(u.clamp(d,o),u.bitSlice(t,b))||n(new h.exception.corrupt("ocb: tag doesn't match")),y.concat(u.clamp(a,c))},pmac:function(e,t){var r,n=h.mode.ocb2.K,i=h.bitArray,o=i.j,s=[0,0,0,0],a=o(a=e.encrypt([0,0,0,0]),n(n(a)));for(r=0;r+4<t.length;r+=4)a=n(a),s=o(s,e.encrypt(o(a,t.slice(r,r+4))));return r=t.slice(r),128>i.bitLength(r)&&(a=o(a,n(a)),r=i.concat(r,[-2147483648,0,0,0])),s=o(s,r),e.encrypt(o(n(o(a,n(a))),s))},K:function(e){return[e[0]<<1^e[1]>>>31,e[1]<<1^e[2]>>>31,e[2]<<1^e[3]>>>31,e[3]<<1^135*(e[0]>>>31)]}},h.mode.gcm={name:"gcm",encrypt:function(e,t,r,n,i){var o=t.slice(0);return t=h.bitArray,n=n||[],e=h.mode.gcm.s(!0,e,o,n,r,i||128),t.concat(e.data,e.tag)},decrypt:function(e,t,r,i,o){var s=t.slice(0),a=h.bitArray,c=a.bitLength(s);return o=o||128,i=i||[],o<=c?(t=a.bitSlice(s,c-o),s=a.bitSlice(s,0,c-o)):(t=s,s=[]),e=h.mode.gcm.s(!1,e,s,i,r,o),a.equal(e.tag,t)||n(new h.exception.corrupt("gcm: tag doesn't match")),e.data},ba:function(e,t){var r,n,i,o,s,a=h.bitArray.j;for(i=[0,0,0,0],o=t.slice(0),r=0;128>r;r++){for((n=0!=(e[Math.floor(r/32)]&1<<31-r%32))&&(i=a(i,o)),s=0!=(1&o[3]),n=3;0<n;n--)o[n]=o[n]>>>1|(1&o[n-1])<<31;o[0]>>>=1,s&&(o[0]^=-520093696)}return i},k:function(e,t,r){var n,i=r.length;for(t=t.slice(0),n=0;n<i;n+=4)t[0]^=4294967295&r[n],t[1]^=4294967295&r[n+1],t[2]^=4294967295&r[n+2],t[3]^=4294967295&r[n+3],t=h.mode.gcm.ba(t,e);return t},s:function(e,t,r,n,i,o){var s,a,c,f,u,l,d,p,b=h.bitArray;for(l=r.length,d=b.bitLength(r),p=b.bitLength(n),a=b.bitLength(i),s=t.encrypt([0,0,0,0]),96===a?(i=i.slice(0),i=b.concat(i,[1])):(i=h.mode.gcm.k(s,[0,0,0,0],i),i=h.mode.gcm.k(s,i,[0,0,Math.floor(a/4294967296),4294967295&a])),a=h.mode.gcm.k(s,[0,0,0,0],n),u=i.slice(0),n=a.slice(0),e||(n=h.mode.gcm.k(s,a,r)),f=0;f<l;f+=4)u[3]++,c=t.encrypt(u),r[f]^=c[0],r[f+1]^=c[1],r[f+2]^=c[2],r[f+3]^=c[3];return r=b.clamp(r,d),e&&(n=h.mode.gcm.k(s,a,r)),e=[Math.floor(p/4294967296),4294967295&p,Math.floor(d/4294967296),4294967295&d],n=h.mode.gcm.k(s,n,e),c=t.encrypt(i),n[0]^=c[0],n[1]^=c[1],n[2]^=c[2],n[3]^=c[3],{tag:b.bitSlice(n,0,o),data:r}}},h.misc.hmac=function(e,t){this.P=t=t||h.hash.sha256;var r,n=[[],[]],i=t.prototype.blockSize/32;for(this.q=[new t,new t],e.length>i&&(e=t.hash(e)),r=0;r<i;r++)n[0][r]=909522486^e[r],n[1][r]=1549556828^e[r];this.q[0].update(n[0]),this.q[1].update(n[1]),this.J=new t(this.q[0])},h.misc.hmac.prototype.encrypt=h.misc.hmac.prototype.mac=function(e){return this.S&&n(new h.exception.invalid("encrypt on already updated hmac called!")),this.update(e),this.digest(e)},h.misc.hmac.prototype.reset=function(){this.J=new this.P(this.q[0]),this.S=!1},h.misc.hmac.prototype.update=function(e){this.S=!0,this.J.update(e)},h.misc.hmac.prototype.digest=function(){var e=this.J.finalize(),e=new this.P(this.q[1]).update(e).finalize();return this.reset(),e},h.misc.pbkdf2=function(e,t,r,i,o){r=r||1e3,(0>i||0>r)&&n(h.exception.invalid("invalid params to pbkdf2")),"string"==typeof e&&(e=h.codec.utf8String.toBits(e)),"string"==typeof t&&(t=h.codec.utf8String.toBits(t)),e=new(o=o||h.misc.hmac)(e);var s,a,c,f,u=[],l=h.bitArray;for(f=1;32*u.length<(i||1);f++){for(o=s=e.encrypt(l.concat(t,[f])),a=1;a<r;a++)for(s=e.encrypt(s),c=0;c<s.length;c++)o[c]^=s[c];u=u.concat(o)}return i&&(u=l.clamp(u,i)),u},h.prng=function(e){this.f=[new h.hash.sha256],this.m=[0],this.I=0,this.A={},this.H=0,this.N={},this.Q=this.g=this.n=this.Z=0,this.b=[0,0,0,0,0,0,0,0],this.i=[0,0,0,0],this.F=u,this.G=e,this.u=!1,this.D={progress:{},seeded:{}},this.p=this.Y=0,this.B=1,this.C=2,this.U=65536,this.L=[0,48,64,96,128,192,256,384,512,768,1024],this.V=3e4,this.T=80},h.prng.prototype={randomWords:function(e,t){var r,i,o=[];if((r=this.isReady(t))===this.p&&n(new h.exception.notReady("generator isn't seeded")),r&this.C){r=!(r&this.B),i=[];var s,f=0;for(this.Q=i[0]=(new Date).valueOf()+this.V,s=0;16>s;s++)i.push(4294967296*Math.random()|0);for(s=0;s<this.f.length&&(i=i.concat(this.f[s].finalize()),f+=this.m[s],this.m[s]=0,!(!r&&this.I&1<<s));s++);for(this.I>=1<<this.f.length&&(this.f.push(new h.hash.sha256),this.m.push(0)),this.g-=f,f>this.n&&(this.n=f),this.I++,this.b=h.hash.sha256.hash(this.b.concat(i)),this.F=new h.cipher.aes(this.b),r=0;4>r&&(this.i[r]=this.i[r]+1|0,!this.i[r]);r++);}for(r=0;r<e;r+=4)0==(r+1)%this.U&&a(this),i=c(this),o.push(i[0],i[1],i[2],i[3]);return a(this),o.slice(0,e)},setDefaultParanoia:function(e,t){0===e&&"Setting paranoia=0 will ruin your security; use it only for testing"!==t&&n("Setting paranoia=0 will ruin your security; use it only for testing"),this.G=e},addEntropy:function(e,t,r){r=r||"user";var i,s,a=(new Date).valueOf(),c=this.A[r],f=this.isReady(),l=0;switch((i=this.N[r])===u&&(i=this.N[r]=this.Z++),c===u&&(c=this.A[r]=0),this.A[r]=(this.A[r]+1)%this.f.length,typeof e){case"number":t===u&&(t=1),this.f[c].update([i,this.H++,1,t,a,1,0|e]);break;case"object":if("[object Uint32Array]"===(r=Object.prototype.toString.call(e))){for(s=[],r=0;r<e.length;r++)s.push(e[r]);e=s}else for("[object Array]"!==r&&(l=1),r=0;r<e.length&&!l;r++)"number"!=typeof e[r]&&(l=1);if(!l){if(t===u)for(r=t=0;r<e.length;r++)for(s=e[r];0<s;)t++,s>>>=1;this.f[c].update([i,this.H++,2,t,a,e.length].concat(e))}break;case"string":t===u&&(t=e.length),this.f[c].update([i,this.H++,3,t,a,e.length]),this.f[c].update(e);break;default:l=1}l&&n(new h.exception.bug("random: addEntropy only supports number, array of numbers or string")),this.m[c]+=t,this.g+=t,f===this.p&&(this.isReady()!==this.p&&o("seeded",Math.max(this.n,this.g)),o("progress",this.getProgress()))},isReady:function(e){return e=this.L[e!==u?e:this.G],this.n&&this.n>=e?this.m[0]>this.T&&(new Date).valueOf()>this.Q?this.C|this.B:this.B:this.g>=e?this.C|this.p:this.p},getProgress:function(e){return e=this.L[e||this.G],this.n>=e?1:this.g>e?1:this.g/e},startCollectors:function(){this.u||(this.a={loadTimeCollector:f(this,this.fa),mouseCollector:f(this,this.ha),keyboardCollector:f(this,this.da),accelerometerCollector:f(this,this.W),touchCollector:f(this,this.ja)},window.addEventListener?(window.addEventListener("load",this.a.loadTimeCollector,!1),window.addEventListener("mousemove",this.a.mouseCollector,!1),window.addEventListener("keypress",this.a.keyboardCollector,!1),window.addEventListener("devicemotion",this.a.accelerometerCollector,!1),window.addEventListener("touchmove",this.a.touchCollector,!1)):document.attachEvent?(document.attachEvent("onload",this.a.loadTimeCollector),document.attachEvent("onmousemove",this.a.mouseCollector),document.attachEvent("keypress",this.a.keyboardCollector)):n(new h.exception.bug("can't attach event")),this.u=!0)},stopCollectors:function(){this.u&&(window.removeEventListener?(window.removeEventListener("load",this.a.loadTimeCollector,!1),window.removeEventListener("mousemove",this.a.mouseCollector,!1),window.removeEventListener("keypress",this.a.keyboardCollector,!1),window.removeEventListener("devicemotion",this.a.accelerometerCollector,!1),window.removeEventListener("touchmove",this.a.touchCollector,!1)):document.detachEvent&&(document.detachEvent("onload",this.a.loadTimeCollector),document.detachEvent("onmousemove",this.a.mouseCollector),document.detachEvent("keypress",this.a.keyboardCollector)),this.u=!1)},addEventListener:function(e,t){this.D[e][this.Y++]=t},removeEventListener:function(e,t){var r,n,i=this.D[e],o=[];for(n in i)i.hasOwnProperty(n)&&i[n]===t&&o.push(n);for(r=0;r<o.length;r++)n=o[r],delete i[n]},da:function(){s(1)},ha:function(e){var t,r;try{t=e.x||e.clientX||e.offsetX||0,r=e.y||e.clientY||e.offsetY||0}catch(e){r=t=0}0!=t&&0!=r&&h.random.addEntropy([t,r],2,"mouse"),s(0)},ja:function(e){e=e.touches[0]||e.changedTouches[0],h.random.addEntropy([e.pageX||e.clientX,e.pageY||e.clientY],1,"touch"),s(0)},fa:function(){s(2)},W:function(e){if(e=e.accelerationIncludingGravity.x||e.accelerationIncludingGravity.y||e.accelerationIncludingGravity.z,window.orientation){var t=window.orientation;"number"==typeof t&&h.random.addEntropy(t,1,"accelerometer")}e&&h.random.addEntropy(e,2,"accelerometer"),s(0)}},h.random=new h.prng(6);e:try{var l,d,p,b;if(b=void 0!==t){var y;if(y=t.exports){var v;try{v=e("crypto")}catch(e){v=null}y=(d=v)&&d.randomBytes}b=y}if(b)l=d.randomBytes(128),l=new Uint32Array(new Uint8Array(l).buffer),h.random.addEntropy(l,1024,"crypto['randomBytes']");else if("undefined"!=typeof window&&"undefined"!=typeof Uint32Array){if(p=new Uint32Array(32),window.crypto&&window.crypto.getRandomValues)window.crypto.getRandomValues(p);else{if(!window.msCrypto||!window.msCrypto.getRandomValues)break e;window.msCrypto.getRandomValues(p)}h.random.addEntropy(p,1024,"crypto['getRandomValues']")}}catch(e){"undefined"!=typeof window&&window.console&&(console.log("There was an error collecting entropy from the browser:"),console.log(e))}h.json={defaults:{v:1,iter:1e3,ks:128,ts:64,mode:"ccm",adata:"",cipher:"aes"},aa:function(e,t,r,i){r=r||{},i=i||{};var o,s=h.json,a=s.h({iv:h.random.randomWords(4,0)},s.defaults);return s.h(a,r),r=a.adata,"string"==typeof a.salt&&(a.salt=h.codec.base64.toBits(a.salt)),"string"==typeof a.iv&&(a.iv=h.codec.base64.toBits(a.iv)),(!h.mode[a.mode]||!h.cipher[a.cipher]||"string"==typeof e&&100>=a.iter||64!==a.ts&&96!==a.ts&&128!==a.ts||128!==a.ks&&192!==a.ks&&256!==a.ks||2>a.iv.length||4<a.iv.length)&&n(new h.exception.invalid("json encrypt: invalid parameters")),"string"==typeof e?(o=h.misc.cachedPbkdf2(e,a),e=o.key.slice(0,a.ks/32),a.salt=o.salt):h.ecc&&e instanceof h.ecc.elGamal.publicKey&&(o=e.kem(),a.kemtag=o.tag,e=o.key.slice(0,a.ks/32)),"string"==typeof t&&(t=h.codec.utf8String.toBits(t)),"string"==typeof r&&(a.adata=r=h.codec.utf8String.toBits(r)),o=new h.cipher[a.cipher](e),s.h(i,a),i.key=e,a.ct="ccm"===a.mode&&h.arrayBuffer&&h.arrayBuffer.ccm&&t instanceof ArrayBuffer?h.arrayBuffer.ccm.encrypt(o,t,a.iv,r,a.ts):h.mode[a.mode].encrypt(o,t,a.iv,r,a.ts),a},encrypt:function(e,t,r,n){var i=h.json,o=i.aa.apply(i,arguments);return i.encode(o)},$:function(e,t,r,i){r=r||{},i=i||{};var o,s,a=h.json;return o=(t=a.h(a.h(a.h({},a.defaults),t),r,!0)).adata,"string"==typeof t.salt&&(t.salt=h.codec.base64.toBits(t.salt)),"string"==typeof t.iv&&(t.iv=h.codec.base64.toBits(t.iv)),(!h.mode[t.mode]||!h.cipher[t.cipher]||"string"==typeof e&&100>=t.iter||64!==t.ts&&96!==t.ts&&128!==t.ts||128!==t.ks&&192!==t.ks&&256!==t.ks||!t.iv||2>t.iv.length||4<t.iv.length)&&n(new h.exception.invalid("json decrypt: invalid parameters")),"string"==typeof e?(s=h.misc.cachedPbkdf2(e,t),e=s.key.slice(0,t.ks/32),t.salt=s.salt):h.ecc&&e instanceof h.ecc.elGamal.secretKey&&(e=e.unkem(h.codec.base64.toBits(t.kemtag)).slice(0,t.ks/32)),"string"==typeof o&&(o=h.codec.utf8String.toBits(o)),s=new h.cipher[t.cipher](e),o="ccm"===t.mode&&h.arrayBuffer&&h.arrayBuffer.ccm&&t.ct instanceof ArrayBuffer?h.arrayBuffer.ccm.decrypt(s,t.ct,t.iv,t.tag,o,t.ts):h.mode[t.mode].decrypt(s,t.ct,t.iv,o,t.ts),a.h(i,t),i.key=e,1===r.raw?o:h.codec.utf8String.fromBits(o)},decrypt:function(e,t,r,n){var i=h.json;return i.$(e,i.decode(t),r,n)},encode:function(e){var t,r="{",i="";for(t in e)if(e.hasOwnProperty(t))switch(t.match(/^[a-z0-9]+$/i)||n(new h.exception.invalid("json encode: invalid property name")),r+=i+'"'+t+'":',i=",",typeof e[t]){case"number":case"boolean":r+=e[t];break;case"string":r+='"'+escape(e[t])+'"';break;case"object":r+='"'+h.codec.base64.fromBits(e[t],0)+'"';break;default:n(new h.exception.bug("json encode: unsupported type"))}return r+"}"},decode:function(e){(e=e.replace(/\s/g,"")).match(/^\{.*\}$/)||n(new h.exception.invalid("json decode: this isn't json!")),e=e.replace(/^\{|\}$/g,"").split(/,/);var t,r,i={};for(t=0;t<e.length;t++)(r=e[t].match(/^\s*(?:(["']?)([a-z][a-z0-9]*)\1)\s*:\s*(?:(-?\d+)|"([a-z0-9+\/%*_.@=\-]*)"|(true|false))$/i))||n(new h.exception.invalid("json decode: this isn't json!")),null!=r[3]?i[r[2]]=parseInt(r[3],10):null!=r[4]?i[r[2]]=r[2].match(/^(ct|adata|salt|iv)$/)?h.codec.base64.toBits(r[4]):unescape(r[4]):null!=r[5]&&(i[r[2]]="true"===r[5]);return i},h:function(e,t,r){if(e===u&&(e={}),t===u)return e;for(var i in t)t.hasOwnProperty(i)&&(r&&e[i]!==u&&e[i]!==t[i]&&n(new h.exception.invalid("required parameter overridden")),e[i]=t[i]);return e},la:function(e,t){var r,n={};for(r in e)e.hasOwnProperty(r)&&e[r]!==t[r]&&(n[r]=e[r]);return n},ka:function(e,t){var r,n={};for(r=0;r<t.length;r++)e[t[r]]!==u&&(n[t[r]]=e[t[r]]);return n}},h.encrypt=h.json.encrypt,h.decrypt=h.json.decrypt,h.misc.ia={},h.misc.cachedPbkdf2=function(e,t){var r,n=h.misc.ia;return t=t||{},r=t.iter||1e3,n=n[e]=n[e]||{},r=n[r]=n[r]||{firstSalt:t.salt&&t.salt.length?t.salt.slice(0):h.random.randomWords(2,0)},n=t.salt===u?r.firstSalt:t.salt,r[n]=r[n]||h.misc.pbkdf2(e,n,t.iter),{key:r[n].slice(0),salt:n.slice(0)}}},{crypto:135}],31:[function(e,t,r){t.exports=["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"]},{}],32:[function(e,t,r){var Buffer=e("safe-buffer").Buffer;t.exports={check:function(e){if(e.length<8)return!1;if(e.length>72)return!1;if(48!==e[0])return!1;if(e[1]!==e.length-2)return!1;if(2!==e[2])return!1;var t=e[3];if(0===t)return!1;if(5+t>=e.length)return!1;if(2!==e[4+t])return!1;var r=e[5+t];return!(0===r||6+t+r!==e.length||128&e[4]||t>1&&0===e[4]&&!(128&e[5])||128&e[t+6]||r>1&&0===e[t+6]&&!(128&e[t+7]))},decode:function(e){if(e.length<8)throw new Error("DER sequence length is too short");if(e.length>72)throw new Error("DER sequence length is too long");if(48!==e[0])throw new Error("Expected DER sequence");if(e[1]!==e.length-2)throw new Error("DER sequence length is invalid");if(2!==e[2])throw new Error("Expected DER integer");var t=e[3];if(0===t)throw new Error("R length is zero");if(5+t>=e.length)throw new Error("R length is too long");if(2!==e[4+t])throw new Error("Expected DER integer (2)");var r=e[5+t];if(0===r)throw new Error("S length is zero");if(6+t+r!==e.length)throw new Error("S length is invalid");if(128&e[4])throw new Error("R value is negative");if(t>1&&0===e[4]&&!(128&e[5]))throw new Error("R value excessively padded");if(128&e[t+6])throw new Error("S value is negative");if(r>1&&0===e[t+6]&&!(128&e[t+7]))throw new Error("S value excessively padded");return{r:e.slice(4,4+t),s:e.slice(6+t)}},encode:function(e,t){var r=e.length,n=t.length;if(0===r)throw new Error("R length is zero");if(0===n)throw new Error("S length is zero");if(r>33)throw new Error("R length is too long");if(n>33)throw new Error("S length is too long");if(128&e[0])throw new Error("R value is negative");if(128&t[0])throw new Error("S value is negative");if(r>1&&0===e[0]&&!(128&e[1]))throw new Error("R value excessively padded");if(n>1&&0===t[0]&&!(128&t[1]))throw new Error("S value excessively padded");var i=Buffer.allocUnsafe(6+r+n);return i[0]=48,i[1]=i.length-2,i[2]=2,i[3]=e.length,e.copy(i,4),i[4+r]=2,i[5+r]=t.length,t.copy(i,6+r),i}}},{"safe-buffer":313}],33:[function(e,t,r){t.exports={OP_FALSE:0,OP_0:0,OP_PUSHDATA1:76,OP_PUSHDATA2:77,OP_PUSHDATA4:78,OP_1NEGATE:79,OP_RESERVED:80,OP_TRUE:81,OP_1:81,OP_2:82,OP_3:83,OP_4:84,OP_5:85,OP_6:86,OP_7:87,OP_8:88,OP_9:89,OP_10:90,OP_11:91,OP_12:92,OP_13:93,OP_14:94,OP_15:95,OP_16:96,OP_NOP:97,OP_VER:98,OP_IF:99,OP_NOTIF:100,OP_VERIF:101,OP_VERNOTIF:102,OP_ELSE:103,OP_ENDIF:104,OP_VERIFY:105,OP_RETURN:106,OP_TOALTSTACK:107,OP_FROMALTSTACK:108,OP_2DROP:109,OP_2DUP:110,OP_3DUP:111,OP_2OVER:112,OP_2ROT:113,OP_2SWAP:114,OP_IFDUP:115,OP_DEPTH:116,OP_DROP:117,OP_DUP:118,OP_NIP:119,OP_OVER:120,OP_PICK:121,OP_ROLL:122,OP_ROT:123,OP_SWAP:124,OP_TUCK:125,OP_CAT:126,OP_SUBSTR:127,OP_LEFT:128,OP_RIGHT:129,OP_SIZE:130,OP_INVERT:131,OP_AND:132,OP_OR:133,OP_XOR:134,OP_EQUAL:135,OP_EQUALVERIFY:136,OP_RESERVED1:137,OP_RESERVED2:138,OP_1ADD:139,OP_1SUB:140,OP_2MUL:141,OP_2DIV:142,OP_NEGATE:143,OP_ABS:144,OP_NOT:145,OP_0NOTEQUAL:146,OP_ADD:147,OP_SUB:148,OP_MUL:149,OP_DIV:150,OP_MOD:151,OP_LSHIFT:152,OP_RSHIFT:153,OP_BOOLAND:154,OP_BOOLOR:155,OP_NUMEQUAL:156,OP_NUMEQUALVERIFY:157,OP_NUMNOTEQUAL:158,OP_LESSTHAN:159,OP_GREATERTHAN:160,OP_LESSTHANOREQUAL:161,OP_GREATERTHANOREQUAL:162,OP_MIN:163,OP_MAX:164,OP_WITHIN:165,OP_RIPEMD160:166,OP_SHA1:167,OP_SHA256:168,OP_HASH160:169,OP_HASH256:170,OP_CODESEPARATOR:171,OP_CHECKSIG:172,OP_CHECKSIGVERIFY:173,OP_CHECKMULTISIG:174,OP_CHECKMULTISIGVERIFY:175,OP_NOP1:176,OP_NOP2:177,OP_CHECKLOCKTIMEVERIFY:177,OP_NOP3:178,OP_CHECKSEQUENCEVERIFY:178,OP_NOP4:179,OP_NOP5:180,OP_NOP6:181,OP_NOP7:182,OP_NOP8:183,OP_NOP9:184,OP_NOP10:185,OP_PUBKEYHASH:253,OP_PUBKEY:254,OP_INVALIDOPCODE:255}},{}],34:[function(e,t,r){var n=e("./index.json"),i={};for(var o in n){i[n[o]]=o}t.exports=i},{"./index.json":33}],35:[function(e,t,r){function n(e){var t=h.decode(e);if(t.length<21)throw new TypeError(e+" is too short");if(t.length>21)throw new TypeError(e+" is too long");return{version:t.readUInt8(0),hash:t.slice(1)}}function i(e){var t=f.decode(e),r=f.fromWords(t.words.slice(1));return{version:t.words[0],prefix:t.prefix,data:Buffer.from(r)}}function o(e){return u.decode(e)}function s(e,t){b(y.tuple(y.Hash160bit,y.UInt8),arguments);var r=Buffer.allocUnsafe(21);return r.writeUInt8(t,0),e.copy(r,1),h.encode(r)}function a(e,t,r){var n=f.toWords(e);return n.unshift(t),f.encode(r,n)}function c(e,t,r){return u.encode(r,t,e)}var Buffer=e("safe-buffer").Buffer,f=e("bech32"),u=e("cashaddress"),h=e("bs58check"),l=e("./script"),d=e("./templates"),p=e("./networks"),b=e("typeforce"),y=e("./types");t.exports={fromBase58Check:n,fromBech32:i,fromCashAddress:o,fromOutputScript:function(e,t,r){if(t=t||p.bitcoin,r=r||!1,"cashAddrPrefix"in t&&r){if(l.pubKeyHash.output.check(e))return c(l.compile(e).slice(3,23),d.types.P2PKH,t.cashAddrPrefix);if(l.scriptHash.output.check(e))return c(l.compile(e).slice(2,22),d.types.P2SH,t.cashAddrPrefix)}else{if(l.pubKeyHash.output.check(e))return s(l.compile(e).slice(3,23),t.pubKeyHash);if(l.scriptHash.output.check(e))return s(l.compile(e).slice(2,22),t.scriptHash)}if(l.witnessPubKeyHash.output.check(e))return a(l.compile(e).slice(2,22),0,t.bech32);if(l.witnessScriptHash.output.check(e))return a(l.compile(e).slice(2,34),0,t.bech32);throw new Error(l.toASM(e)+" has no matching Address")},toBase58Check:s,toBech32:a,toCashAddress:c,toOutputScript:function(e,t,r){var s;if("cashAddrPrefix"in(t=t||p.bitcoin)&&r){try{if("pubkeyhash"===(s=o(e)).version)return l.pubKeyHash.output.encode(s.hash);if("scripthash"===s.version)return l.scriptHash.output.encode(s.hash)}catch(e){}if(s&&s.prefix!==t.cashAddrPrefix)throw new Error(e+" has an invalid prefix")}try{if((s=n(e)).version===t.pubKeyHash)return l.pubKeyHash.output.encode(s.hash);if(s.version===t.scriptHash)return l.scriptHash.output.encode(s.hash)}catch(e){}if(!s&&"bech32"in t){try{s=i(e)}catch(e){}if(s){if(s.prefix!==t.bech32)throw new Error(e+" has an invalid prefix");if(0===s.version){if(20===s.data.length)return l.witnessPubKeyHash.output.encode(s.data);if(32===s.data.length)return l.witnessScriptHash.output.encode(s.data)}}}throw new Error(e+" has no matching Script")}}},{"./networks":44,"./script":45,"./templates":47,"./types":71,bech32:23,bs58check:101,cashaddress:108,"safe-buffer":313,typeforce:354}],36:[function(e,t,r){function n(){this.version=1,this.prevHash=null,this.merkleRoot=null,this.timestamp=0,this.bits=0,this.nonce=0}var Buffer=e("safe-buffer").Buffer,i=e("buffer-reverse"),o=e("./crypto"),s=e("merkle-lib/fastRoot"),a=e("typeforce"),c=e("./types"),f=e("varuint-bitcoin"),u=e("./transaction");n.fromBuffer=function(e){function t(t){return o+=t,e.slice(o-t,o)}function r(){var t=e.readUInt32LE(o);return o+=4,t}function i(){var t=u.fromBuffer(e.slice(o),!0);return o+=t.byteLength(),t}if(e.length<80)throw new Error("Buffer too small (< 80 bytes)");var o=0,s=new n;if(s.version=function(){var t=e.readInt32LE(o);return o+=4,t}(),s.prevHash=t(32),s.merkleRoot=t(32),s.timestamp=r(),s.bits=r(),s.nonce=r(),80===e.length)return s;var a=function(){var t=f.decode(e,o);return o+=f.decode.bytes,t}();s.transactions=[];for(var c=0;c<a;++c){var h=i();s.transactions.push(h)}return s},n.prototype.byteLength=function(e){return e||!this.transactions?80:80+f.encodingLength(this.transactions.length)+this.transactions.reduce(function(e,t){return e+t.byteLength()},0)},n.fromHex=function(e){return n.fromBuffer(Buffer.from(e,"hex"))},n.prototype.getHash=function(){return o.hash256(this.toBuffer(!0))},n.prototype.getId=function(){return i(this.getHash()).toString("hex")},n.prototype.getUTCDate=function(){var e=new Date(0);return e.setUTCSeconds(this.timestamp),e},n.prototype.toBuffer=function(e){function t(e){e.copy(n,i),i+=e.length}function r(e){n.writeUInt32LE(e,i),i+=4}var n=Buffer.allocUnsafe(this.byteLength(e)),i=0;return function(e){n.writeInt32LE(e,i),i+=4}(this.version),t(this.prevHash),t(this.merkleRoot),r(this.timestamp),r(this.bits),r(this.nonce),e||!this.transactions?n:(f.encode(this.transactions.length,n,i),i+=f.encode.bytes,this.transactions.forEach(function(e){var t=e.byteLength();e.toBuffer(n,i),i+=t}),n)},n.prototype.toHex=function(e){return this.toBuffer(e).toString("hex")},n.calculateTarget=function(e){var t=((4278190080&e)>>24)-3,r=8388607&e,n=Buffer.alloc(32,0);return n.writeUInt32BE(r,28-t),n},n.calculateMerkleRoot=function(e){if(a([{getHash:c.Function}],e),0===e.length)throw TypeError("Cannot compute merkle root for zero transactions");var t=e.map(function(e){return e.getHash()});return s(t,o.hash256)},n.prototype.checkMerkleRoot=function(){if(!this.transactions)return!1;var e=n.calculateMerkleRoot(this.transactions);return 0===this.merkleRoot.compare(e)},n.prototype.checkProofOfWork=function(){var e=i(this.getHash()),t=n.calculateTarget(this.bits);return e.compare(t)<=0},t.exports=n},{"./crypto":38,"./transaction":69,"./types":71,"buffer-reverse":103,"merkle-lib/fastRoot":254,"safe-buffer":313,typeforce:354,"varuint-bitcoin":363}],37:[function(e,t,r){function n(e,t){if("number"!=typeof e)throw new Error("cannot write a non-number as a number");if(e<0)throw new Error("specified a negative value for writing an unsigned value");if(e>t)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}var i=e("pushdata-bitcoin"),o=e("varuint-bitcoin");t.exports={pushDataSize:i.encodingLength,readPushDataInt:i.decode,readUInt64LE:function(e,t){var r=e.readUInt32LE(t),i=e.readUInt32LE(t+4);return i*=4294967296,n(i+r,9007199254740991),i+r},readVarInt:function(e,t){return{number:o.decode(e,t),size:o.decode.bytes}},varIntBuffer:o.encode,varIntSize:o.encodingLength,writePushDataInt:i.encode,writeUInt64LE:function(e,t,r){return n(t,9007199254740991),e.writeInt32LE(-1&t,r),e.writeUInt32LE(Math.floor(t/4294967296),r+4),r+8},writeVarInt:function(e,t,r){return o.encode(t,e,r),o.encode.bytes}}},{"pushdata-bitcoin":294,"varuint-bitcoin":363}],38:[function(e,t,r){function n(e){return o("rmd160").update(e).digest()}function i(e){return o("sha256").update(e).digest()}var o=e("create-hash");t.exports={hash160:function(e){return n(i(e))},hash256:function(e){return i(i(e))},ripemd160:n,sha1:function(e){return o("sha1").update(e).digest()},sha256:i}},{"create-hash":130}],39:[function(e,t,r){function n(e,t,r){o(s.tuple(s.Hash256bit,s.Buffer256bit,s.Function),arguments);var n=Buffer.alloc(32,0),a=Buffer.alloc(32,1);n=i("sha256",n).update(a).update(c).update(t).update(e).digest(),a=i("sha256",n).update(a).digest(),n=i("sha256",n).update(a).update(f).update(t).update(e).digest(),a=i("sha256",n).update(a).digest(),a=i("sha256",n).update(a).digest();for(var h=BigInteger.fromBuffer(a);h.signum()<=0||h.compareTo(u.n)>=0||!r(h);)n=i("sha256",n).update(a).update(c).digest(),a=i("sha256",n).update(a).digest(),a=i("sha256",n).update(a).digest(),h=BigInteger.fromBuffer(a);return h}var Buffer=e("safe-buffer").Buffer,i=e("create-hmac"),o=e("typeforce"),s=e("./types"),BigInteger=e("bigi"),a=e("./ecsignature"),c=Buffer.alloc(1,0),f=Buffer.alloc(1,1),u=e("ecurve").getCurveByName("secp256k1"),h=u.n.shiftRight(1);t.exports={deterministicGenerateK:n,sign:function(e,t){o(s.tuple(s.Hash256bit,s.BigInt),arguments);var r,i,c=t.toBuffer(32),f=BigInteger.fromBuffer(e),l=u.n,d=u.G;return n(e,c,function(e){var n=d.multiply(e);return!u.isInfinity(n)&&0!==(r=n.affineX.mod(l)).signum()&&0!==(i=e.modInverse(l).multiply(f.add(t.multiply(r))).mod(l)).signum()}),i.compareTo(h)>0&&(i=l.subtract(i)),new a(r,i)},verify:function(e,t,r){o(s.tuple(s.Hash256bit,s.ECSignature,s.ECPoint),arguments);var n=u.n,i=u.G,a=t.r,c=t.s;if(a.signum()<=0||a.compareTo(n)>=0)return!1;if(c.signum()<=0||c.compareTo(n)>=0)return!1;var f=BigInteger.fromBuffer(e),h=c.modInverse(n),l=f.multiply(h).mod(n),d=a.multiply(h).mod(n),p=i.multiplyTwo(l,r,d);return!u.isInfinity(p)&&p.affineX.mod(n).equals(a)},__curve:u}},{"./ecsignature":41,"./types":71,bigi:26,"create-hmac":133,ecurve:227,"safe-buffer":313,typeforce:354}],40:[function(e,t,r){function ECPair(e,t,r){if(r&&a({compressed:c.maybe(c.Boolean),network:c.maybe(c.Network)},r),r=r||{},e){if(e.signum()<=0)throw new Error("Private key must be greater than 0");if(e.compareTo(l.n)>=0)throw new Error("Private key must be less than the curve order");if(t)throw new TypeError("Unexpected publicKey parameter");this.d=e}else a(c.ECPoint,t),this.__Q=t;this.compressed=void 0===r.compressed||r.compressed,this.network=r.network||u.bitcoin}var n=e("./address"),i=e("./crypto"),o=e("./ecdsa"),s=e("randombytes"),a=e("typeforce"),c=e("./types"),f=e("wif"),u=e("./networks"),BigInteger=e("bigi"),h=e("ecurve"),l=o.__curve;Object.defineProperty(ECPair.prototype,"Q",{get:function(){return!this.__Q&&this.d&&(this.__Q=l.G.multiply(this.d)),this.__Q}}),ECPair.fromPublicKeyBuffer=function(e,t){var r=h.Point.decodeFrom(l,e);return new ECPair(null,r,{compressed:r.compressed,network:t})},ECPair.fromWIF=function(e,t){var r=f.decode(e),n=r.version;if(c.Array(t)){if(!(t=t.filter(function(e){return n===e.wif}).pop()))throw new Error("Unknown network version")}else if(t=t||u.bitcoin,n!==t.wif)throw new Error("Invalid network version");return new ECPair(BigInteger.fromBuffer(r.privateKey),null,{compressed:r.compressed,network:t})},ECPair.makeRandom=function(e){var t,r=(e=e||{}).rng||s;do{var n=r(32);a(c.Buffer256bit,n),t=BigInteger.fromBuffer(n)}while(t.signum()<=0||t.compareTo(l.n)>=0);return new ECPair(t,null,e)},ECPair.prototype.getAddress=function(){return n.toBase58Check(i.hash160(this.getPublicKeyBuffer()),this.getNetwork().pubKeyHash)},ECPair.prototype.getNetwork=function(){return this.network},ECPair.prototype.getPublicKeyBuffer=function(){return this.Q.getEncoded(this.compressed)},ECPair.prototype.sign=function(e){if(!this.d)throw new Error("Missing private key");return o.sign(e,this.d)},ECPair.prototype.toWIF=function(){if(!this.d)throw new Error("Missing private key");return f.encode(this.network.wif,this.d.toBuffer(32),this.compressed)},ECPair.prototype.verify=function(e,t){return o.verify(e,t,this.Q)},t.exports=ECPair},{"./address":35,"./crypto":38,"./ecdsa":39,"./networks":44,"./types":71,bigi:26,ecurve:227,randombytes:299,typeforce:354,wif:366}],41:[function(e,t,r){(function(Buffer){function r(e,t){i(o.tuple(o.BigInt,o.BigInt),arguments),this.r=e,this.s=t}var n=e("bip66"),i=e("typeforce"),o=e("./types"),BigInteger=e("bigi");r.parseCompact=function(e){if(65!==e.length)throw new Error("Invalid signature length");var t=e.readUInt8(0)-27;if(t!==(7&t))throw new Error("Invalid signature parameter");return{compressed:!!(4&t),i:3&t,signature:new r(BigInteger.fromBuffer(e.slice(1,33)),BigInteger.fromBuffer(e.slice(33)))}},r.fromDER=function(e){var t=n.decode(e);return new r(BigInteger.fromDERInteger(t.r),BigInteger.fromDERInteger(t.s))},r.parseScriptSignature=function(e){var t=e.readUInt8(e.length-1),n=-193&t;if(n<=0||n>=4)throw new Error("Invalid hashType "+t);return{signature:r.fromDER(e.slice(0,-1)),hashType:t}},r.prototype.toCompact=function(e,t){t&&(e+=4),e+=27;var r=Buffer.alloc(65);return r.writeUInt8(e,0),this.r.toBuffer(32).copy(r,1),this.s.toBuffer(32).copy(r,33),r},r.prototype.toDER=function(){var e=Buffer.from(this.r.toDERInteger()),t=Buffer.from(this.s.toDERInteger());return n.encode(e,t)},r.prototype.toScriptSignature=function(e){var t=-193&e;if(t<=0||t>=4)throw new Error("Invalid hashType "+e);var r=Buffer.alloc(1);return r.writeUInt8(e,0),Buffer.concat([this.toDER(),r])},t.exports=r}).call(this,e("buffer").Buffer)},{"./types":71,bigi:26,bip66:32,buffer:105,typeforce:354}],42:[function(e,t,r){function HDNode(e,t){if(s(a.tuple("ECPair",a.Buffer256bit),arguments),!e.compressed)throw new TypeError("BIP32 only allows compressed keyPairs");this.keyPair=e,this.chainCode=t,this.depth=0,this.index=0,this.parentFingerprint=0}var Buffer=e("safe-buffer").Buffer,n=e("bs58check"),i=e("./crypto"),o=e("create-hmac"),s=e("typeforce"),a=e("./types"),c=e("./networks"),BigInteger=e("bigi"),ECPair=e("./ecpair"),f=e("ecurve"),u=f.getCurveByName("secp256k1");HDNode.HIGHEST_BIT=2147483648,HDNode.LENGTH=78,HDNode.MASTER_SECRET=Buffer.from("Bitcoin seed","utf8"),HDNode.fromSeedBuffer=function(e,t){if(s(a.tuple(a.Buffer,a.maybe(a.Network)),arguments),e.length<16)throw new TypeError("Seed should be at least 128 bits");if(e.length>64)throw new TypeError("Seed should be at most 512 bits");var r=o("sha512",HDNode.MASTER_SECRET).update(e).digest(),n=r.slice(0,32),i=r.slice(32),c=BigInteger.fromBuffer(n);return new HDNode(new ECPair(c,null,{network:t}),i)},HDNode.fromSeedHex=function(e,t){return HDNode.fromSeedBuffer(Buffer.from(e,"hex"),t)},HDNode.fromBase58=function(e,t){var r=n.decode(e);if(78!==r.length)throw new Error("Invalid buffer length");var i,o=r.readUInt32BE(0);if(Array.isArray(t)){if(!(i=t.filter(function(e){return o===e.bip32.private||o===e.bip32.public}).pop()))throw new Error("Unknown network version")}else i=t||c.bitcoin;if(o!==i.bip32.private&&o!==i.bip32.public)throw new Error("Invalid network version");var s=r[4],a=r.readUInt32BE(5);if(0===s&&0!==a)throw new Error("Invalid parent fingerprint");var h=r.readUInt32BE(9);if(0===s&&0!==h)throw new Error("Invalid index");var l,d=r.slice(13,45);if(o===i.bip32.private){if(0!==r.readUInt8(45))throw new Error("Invalid private key");var p=BigInteger.fromBuffer(r.slice(46,78));l=new ECPair(p,null,{network:i})}else{var b=f.Point.decodeFrom(u,r.slice(45,78));u.validate(b),l=new ECPair(null,b,{network:i})}var y=new HDNode(l,d);return y.depth=s,y.index=h,y.parentFingerprint=a,y},HDNode.prototype.getAddress=function(){return this.keyPair.getAddress()},HDNode.prototype.getIdentifier=function(){return i.hash160(this.keyPair.getPublicKeyBuffer())},HDNode.prototype.getFingerprint=function(){return this.getIdentifier().slice(0,4)},HDNode.prototype.getNetwork=function(){return this.keyPair.getNetwork()},HDNode.prototype.getPublicKeyBuffer=function(){return this.keyPair.getPublicKeyBuffer()},HDNode.prototype.neutered=function(){var e=new HDNode(new ECPair(null,this.keyPair.Q,{network:this.keyPair.network}),this.chainCode);return e.depth=this.depth,e.index=this.index,e.parentFingerprint=this.parentFingerprint,e},HDNode.prototype.sign=function(e){return this.keyPair.sign(e)},HDNode.prototype.verify=function(e,t){return this.keyPair.verify(e,t)},HDNode.prototype.toBase58=function(e){if(void 0!==e)throw new TypeError("Unsupported argument in 2.0.0");var t=this.keyPair.network,r=this.isNeutered()?t.bip32.public:t.bip32.private,i=Buffer.allocUnsafe(78);return i.writeUInt32BE(r,0),i.writeUInt8(this.depth,4),i.writeUInt32BE(this.parentFingerprint,5),i.writeUInt32BE(this.index,9),this.chainCode.copy(i,13),this.isNeutered()?this.keyPair.getPublicKeyBuffer().copy(i,45):(i.writeUInt8(0,45),this.keyPair.d.toBuffer(32).copy(i,46)),n.encode(i)},HDNode.prototype.derive=function(e){s(a.UInt32,e);var t=e>=HDNode.HIGHEST_BIT,r=Buffer.allocUnsafe(37);if(t){if(this.isNeutered())throw new TypeError("Could not derive hardened child key");r[0]=0,this.keyPair.d.toBuffer(32).copy(r,1),r.writeUInt32BE(e,33)}else this.keyPair.getPublicKeyBuffer().copy(r,0),r.writeUInt32BE(e,33);var n=o("sha512",this.chainCode).update(r).digest(),i=n.slice(0,32),c=n.slice(32),f=BigInteger.fromBuffer(i);if(f.compareTo(u.n)>=0)return this.derive(e+1);var h;if(this.isNeutered()){var l=u.G.multiply(f).add(this.keyPair.Q);if(u.isInfinity(l))return this.derive(e+1);h=new ECPair(null,l,{network:this.keyPair.network})}else{var d=f.add(this.keyPair.d).mod(u.n);if(0===d.signum())return this.derive(e+1);h=new ECPair(d,null,{network:this.keyPair.network})}var p=new HDNode(h,c);return p.depth=this.depth+1,p.index=e,p.parentFingerprint=this.getFingerprint().readUInt32BE(0),p},HDNode.prototype.deriveHardened=function(e){return s(a.UInt31,e),this.derive(e+HDNode.HIGHEST_BIT)},HDNode.prototype.isNeutered=function(){return!this.keyPair.d},HDNode.prototype.derivePath=function(e){s(a.BIP32Path,e);var t=e.split("/");if("m"===t[0]){if(this.parentFingerprint)throw new Error("Not a master node");t=t.slice(1)}return t.reduce(function(e,t){var r;return"'"===t.slice(-1)?(r=parseInt(t.slice(0,-1),10),e.deriveHardened(r)):(r=parseInt(t,10),e.derive(r))},this)},t.exports=HDNode},{"./crypto":38,"./ecpair":40,"./networks":44,"./types":71,bigi:26,bs58check:101,"create-hmac":133,ecurve:227,"safe-buffer":313,typeforce:354}],43:[function(e,t,r){t.exports={Block:e("./block"),ECPair:e("./ecpair"),ECSignature:e("./ecsignature"),HDNode:e("./hdnode"),Transaction:e("./transaction"),TransactionBuilder:e("./transaction_builder"),address:e("./address"),bufferutils:e("./bufferutils"),crypto:e("./crypto"),networks:e("./networks"),opcodes:e("bitcoin-ops"),script:e("./script")}},{"./address":35,"./block":36,"./bufferutils":37,"./crypto":38,"./ecpair":40,"./ecsignature":41,"./hdnode":42,"./networks":44,"./script":45,"./transaction":69,"./transaction_builder":70,"bitcoin-ops":33}],44:[function(e,t,r){t.exports={bitcoincash:{messagePrefix:"Bitcoin Signed Message:\n",bip32:{public:76067358,private:76066276},cashAddrPrefix:"bitcoincash",cashAddrTypes:{pubkeyhash:0,scripthash:1},pubKeyHash:0,scriptHash:5,wif:128},bitcoincashtestnet:{messagePrefix:"Bitcoin Signed Message:\n",bip32:{public:70617039,private:70615956},cashAddrPrefix:"bchtest",cashAddrTypes:{pubkeyhash:0,scripthash:1},pubKeyHash:111,scriptHash:196,wif:239},bitcoingold:{messagePrefix:"Bitcoin Gold Signed Message:\n",bip32:{public:76067358,private:76066276},pubKeyHash:38,scriptHash:23,wif:128},bitcoin:{messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},testnet:{messagePrefix:"Bitcoin Signed Message:\n",bech32:"tb",bip32:{public:70617039,private:70615956},pubKeyHash:111,scriptHash:196,wif:239},litecoin:{messagePrefix:"Litecoin Signed Message:\n",bip32:{public:27108450,private:27106558},pubKeyHash:48,scriptHash:50,wif:176}}},{}],45:[function(e,t,r){function n(e){return l.Buffer(e)||function(e){return l.Number(e)&&(e===p.OP_0||e>=p.OP_1&&e<=p.OP_16||e===p.OP_1NEGATE)}(e)}function i(e){return l.Array(e)&&e.every(n)}function o(e){if(0===e.length)return p.OP_0;if(1===e.length)return e[0]>=1&&e[0]<=16?y+e[0]:129===e[0]?p.OP_1NEGATE:void 0}function s(e){if(Buffer.isBuffer(e))return e;h(l.Array,e);var t=e.reduce(function(e,t){return Buffer.isBuffer(t)?1===t.length&&void 0!==o(t)?e+1:e+u.encodingLength(t.length)+t.length:e+1},0),r=Buffer.allocUnsafe(t),n=0;if(e.forEach(function(e){if(Buffer.isBuffer(e)){var t=o(e);if(void 0!==t)return r.writeUInt8(t,n),void(n+=1);n+=u.encode(r,e.length,n),e.copy(r,n),n+=e.length}else r.writeUInt8(e,n),n+=1}),n!==r.length)throw new Error("Could not decode chunks");return r}function a(e){if(l.Array(e))return e;h(l.Buffer,e);for(var t=[],r=0;r<e.length;){var n=e[r];if(n>p.OP_0&&n<=p.OP_PUSHDATA4){var i=u.decode(e,r);if(null===i)return[];if((r+=i.size)+i.number>e.length)return[];var s=e.slice(r,r+i.number);r+=i.number;var a=o(s);void 0!==a?t.push(a):t.push(s)}else t.push(n),r+=1}return t}function c(e){var t=-193&e;return t>0&&t<4}var Buffer=e("safe-buffer").Buffer,f=e("bip66"),u=e("pushdata-bitcoin"),h=e("typeforce"),l=e("./types"),d=e("./script_number"),p=e("bitcoin-ops"),b=e("bitcoin-ops/map"),y=p.OP_RESERVED;t.exports={compile:s,decompile:a,fromASM:function(asm){return h(l.String,asm),s(asm.split(" ").map(function(e){return void 0!==p[e]?p[e]:(h(l.Hex,e),Buffer.from(e,"hex"))}))},toASM:function(e){return Buffer.isBuffer(e)&&(e=a(e)),e.map(function(e){if(Buffer.isBuffer(e)){var t=o(e);if(void 0===t)return e.toString("hex");e=t}return b[e]}).join(" ")},toStack:function(e){return e=a(e),h(i,e),e.map(function(e){return Buffer.isBuffer(e)?e:e===p.OP_0?Buffer.allocUnsafe(0):d.encode(e-y)})},number:e("./script_number"),isCanonicalPubKey:function(e){if(!Buffer.isBuffer(e))return!1;if(e.length<33)return!1;switch(e[0]){case 2:case 3:return 33===e.length;case 4:return 65===e.length}return!1},isCanonicalSignature:function(e){return!!Buffer.isBuffer(e)&&!!c(e[e.length-1])&&f.check(e.slice(0,-1))},isPushOnly:i,isDefinedHashType:c};var v=e("./templates");for(var m in v)t.exports[m]=v[m]},{"./script_number":46,"./templates":47,"./types":71,bip66:32,"bitcoin-ops":33,"bitcoin-ops/map":34,"pushdata-bitcoin":294,"safe-buffer":313,typeforce:354}],46:[function(e,t,r){var Buffer=e("safe-buffer").Buffer;t.exports={decode:function(e,t,r){t=t||4,r=void 0===r||r;var n=e.length;if(0===n)return 0;if(n>t)throw new TypeError("Script number overflow");if(r&&0==(127&e[n-1])&&(n<=1||0==(128&e[n-2])))throw new Error("Non-minimally encoded script number");if(5===n){var i=e.readUInt32LE(0),o=e.readUInt8(4);return 128&o?-(4294967296*(-129&o)+i):4294967296*o+i}for(var s=0,a=0;a<n;++a)s|=e[a]<<8*a;return 128&e[n-1]?-(s&~(128<<8*(n-1))):s},encode:function(e){for(var t=Math.abs(e),r=t>2147483647?5:t>8388607?4:t>32767?3:t>127?2:t>0?1:0,n=Buffer.allocUnsafe(r),i=e<0,o=0;o<r;++o)n.writeUInt8(255&t,o),t>>=8;return 128&n[r-1]?n.writeUInt8(i?128:0,r-1):i&&(n[r-1]|=128),n}}},{"safe-buffer":313}],47:[function(e,t,r){var n=e("../script").decompile,i=e("./multisig"),o=e("./nulldata"),s=e("./pubkey"),a=e("./pubkeyhash"),c=e("./scripthash"),f=e("./witnesspubkeyhash"),u=e("./witnessscripthash"),h=e("./witnesscommitment"),l={MULTISIG:"multisig",NONSTANDARD:"nonstandard",NULLDATA:"nulldata",P2PK:"pubkey",P2PKH:"pubkeyhash",P2SH:"scripthash",P2WPKH:"witnesspubkeyhash",P2WSH:"witnessscripthash",WITNESS_COMMITMENT:"witnesscommitment"};t.exports={classifyInput:function(e,t){var r=n(e);return a.input.check(r)?l.P2PKH:i.input.check(r,t)?l.MULTISIG:c.input.check(r,t)?l.P2SH:s.input.check(r)?l.P2PK:l.NONSTANDARD},classifyOutput:function(e){if(f.output.check(e))return l.P2WPKH;if(u.output.check(e))return l.P2WSH;if(a.output.check(e))return l.P2PKH;if(c.output.check(e))return l.P2SH;var t=n(e);return i.output.check(t)?l.MULTISIG:s.output.check(t)?l.P2PK:h.output.check(t)?l.WITNESS_COMMITMENT:o.output.check(t)?l.NULLDATA:l.NONSTANDARD},classifyWitness:function(e,t){var r=n(e);return f.input.check(r)?l.P2WPKH:u.input.check(r,t)?l.P2WSH:l.NONSTANDARD},multisig:i,nullData:o,pubKey:s,pubKeyHash:a,scriptHash:c,witnessPubKeyHash:f,witnessScriptHash:u,witnessCommitment:h,types:l}},{"../script":45,"./multisig":48,"./nulldata":51,"./pubkey":52,"./pubkeyhash":55,"./scripthash":58,"./witnesscommitment":61,"./witnesspubkeyhash":63,"./witnessscripthash":66}],48:[function(e,t,r){t.exports={input:e("./input"),output:e("./output")}},{"./input":49,"./output":50}],49:[function(e,t,r){function n(e){return e===f.OP_0||a.isCanonicalSignature(e)}function i(e,t){var r=a.decompile(e);return!(r.length<2)&&(r[0]===f.OP_0&&(t?r.slice(1).every(n):r.slice(1).every(a.isCanonicalSignature)))}function o(e,t){if(c([n],e),t){var r=a.multisig.output.decode(t);if(e.length<r.m)throw new TypeError("Not enough signatures provided");if(e.length>r.pubKeys.length)throw new TypeError("Too many signatures provided")}return[].concat(u,e.map(function(e){return e===f.OP_0?u:e}))}function s(e,t){return c(i,e,t),e.slice(1)}var Buffer=e("safe-buffer").Buffer,a=e("../../script"),c=e("typeforce"),f=e("bitcoin-ops");i.toJSON=function(){return"multisig input"};var u=Buffer.allocUnsafe(0);t.exports={check:i,decode:function(e,t){return s(a.decompile(e),t)},decodeStack:s,encode:function(e,t){return a.compile(o(e,t))},encodeStack:o}},{"../../script":45,"bitcoin-ops":33,"safe-buffer":313,typeforce:354}],50:[function(e,t,r){function n(e,t){var r=i.decompile(e);if(r.length<4)return!1;if(r[r.length-1]!==a.OP_CHECKMULTISIG)return!1;if(!o.Number(r[0]))return!1;if(!o.Number(r[r.length-2]))return!1;var n=r[0]-c,s=r[r.length-2]-c;if(n<=0)return!1;if(s>16)return!1;if(n>s)return!1;if(s!==r.length-3)return!1;if(t)return!0;return r.slice(1,-2).every(i.isCanonicalPubKey)}var i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops"),c=a.OP_RESERVED;n.toJSON=function(){return"multi-sig output"},t.exports={check:n,decode:function(e,t){var r=i.decompile(e);return s(n,r,t),{m:r[0]-c,pubKeys:r.slice(1,-2)}},encode:function(e,t){s({m:o.Number,pubKeys:[i.isCanonicalPubKey]},{m:e,pubKeys:t});var r=t.length;if(r<e)throw new TypeError("Not enough pubKeys provided");return i.compile([].concat(c+e,t,c+r,a.OP_CHECKMULTISIG))}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,typeforce:354}],51:[function(e,t,r){function n(e){var t=i.compile(e);return t.length>1&&t[0]===a.OP_RETURN}var i=e("../script"),o=e("../types"),s=e("typeforce"),a=e("bitcoin-ops");n.toJSON=function(){return"null data output"},t.exports={output:{check:n,decode:function(e){return s(n,e),e.slice(2)},encode:function(e){return s(o.Buffer,e),i.compile([a.OP_RETURN,e])}}}},{"../script":45,"../types":71,"bitcoin-ops":33,typeforce:354}],52:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./input":53,"./output":54,dup:48}],53:[function(e,t,r){function n(e){var t=s.decompile(e);return 1===t.length&&s.isCanonicalSignature(t[0])}function i(e){return a(s.isCanonicalSignature,e),[e]}function o(e){return a(n,e),e[0]}var s=e("../../script"),a=e("typeforce");n.toJSON=function(){return"pubKey input"},t.exports={check:n,decode:function(e){return o(s.decompile(e))},decodeStack:o,encode:function(e){return s.compile(i(e))},encodeStack:i}},{"../../script":45,typeforce:354}],54:[function(e,t,r){function n(e){var t=i.decompile(e);return 2===t.length&&i.isCanonicalPubKey(t[0])&&t[1]===s.OP_CHECKSIG}var i=e("../../script"),o=e("typeforce"),s=e("bitcoin-ops");n.toJSON=function(){return"pubKey output"},t.exports={check:n,decode:function(e){var t=i.decompile(e);return o(n,t),t[0]},encode:function(e){return o(i.isCanonicalPubKey,e),i.compile([e,s.OP_CHECKSIG])}}},{"../../script":45,"bitcoin-ops":33,typeforce:354}],55:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./input":56,"./output":57,dup:48}],56:[function(e,t,r){function n(e){var t=s.decompile(e);return 2===t.length&&s.isCanonicalSignature(t[0])&&s.isCanonicalPubKey(t[1])}function i(e,t){return a({signature:s.isCanonicalSignature,pubKey:s.isCanonicalPubKey},{signature:e,pubKey:t}),[e,t]}function o(e){return a(n,e),{signature:e[0],pubKey:e[1]}}var s=e("../../script"),a=e("typeforce");n.toJSON=function(){return"pubKeyHash input"},t.exports={check:n,decode:function(e){return o(s.decompile(e))},decodeStack:o,encode:function(e,t){return s.compile(i(e,t))},encodeStack:i}},{"../../script":45,typeforce:354}],57:[function(e,t,r){function n(e){var t=i.compile(e);return 25===t.length&&t[0]===a.OP_DUP&&t[1]===a.OP_HASH160&&20===t[2]&&t[23]===a.OP_EQUALVERIFY&&t[24]===a.OP_CHECKSIG}var i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops");n.toJSON=function(){return"pubKeyHash output"},t.exports={check:n,decode:function(e){return s(n,e),e.slice(3,23)},encode:function(e){return s(o.Hash160bit,e),i.compile([a.OP_DUP,a.OP_HASH160,e,a.OP_EQUALVERIFY,a.OP_CHECKSIG])}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,typeforce:354}],58:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./input":59,"./output":60,dup:48}],59:[function(e,t,r){function n(e,t){var r=s.decompile(e);if(r.length<1)return!1;var n=r[r.length-1];if(!Buffer.isBuffer(n))return!1;var i=s.decompile(s.compile(r.slice(0,-1))),o=s.decompile(n);if(0===o.length)return!1;if(!s.isPushOnly(i))return!1;var a=s.classifyInput(i,t),c=s.classifyOutput(o);return 1===r.length?c===s.types.P2WSH||c===s.types.P2WPKH:a===c}function i(e,t){var r=s.compile(t);return[].concat(e,r)}function o(e){return a(n,e),{redeemScriptStack:e.slice(0,-1),redeemScript:e[e.length-1]}}var Buffer=e("safe-buffer").Buffer,s=e("../../script"),a=e("typeforce");n.toJSON=function(){return"scriptHash input"},t.exports={check:n,decode:function(e){var t=o(s.decompile(e));return t.redeemScriptSig=s.compile(t.redeemScriptStack),delete t.redeemScriptStack,t},decodeStack:o,encode:function(e,t){var r=s.decompile(e);return s.compile(i(r,t))},encodeStack:i}},{"../../script":45,"safe-buffer":313,typeforce:354}],60:[function(e,t,r){function n(e){var t=i.compile(e);return 23===t.length&&t[0]===a.OP_HASH160&&20===t[1]&&t[22]===a.OP_EQUAL}var i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops");n.toJSON=function(){return"scriptHash output"},t.exports={check:n,decode:function(e){return s(n,e),e.slice(2,22)},encode:function(e){return s(o.Hash160bit,e),i.compile([a.OP_HASH160,e,a.OP_EQUAL])}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,typeforce:354}],61:[function(e,t,r){t.exports={output:e("./output")}},{"./output":62}],62:[function(e,t,r){function n(e){var t=i.compile(e);return t.length>37&&t[0]===a.OP_RETURN&&36===t[1]&&t.slice(2,6).equals(c)}var Buffer=e("safe-buffer").Buffer,i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops"),c=Buffer.from("aa21a9ed","hex");n.toJSON=function(){return"Witness commitment output"},t.exports={check:n,decode:function(e){return s(n,e),i.decompile(e)[1].slice(4,36)},encode:function(e){s(o.Hash256bit,e);var t=Buffer.allocUnsafe(36);return c.copy(t,0),e.copy(t,4),i.compile([a.OP_RETURN,t])}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,"safe-buffer":313,typeforce:354}],63:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./input":64,"./output":65,dup:48}],64:[function(e,t,r){function n(e){return o.isCanonicalPubKey(e)&&33===e.length}function i(e){var t=o.decompile(e);return 2===t.length&&o.isCanonicalSignature(t[0])&&n(t[1])}var o=e("../../script"),s=e("typeforce");i.toJSON=function(){return"witnessPubKeyHash input"},t.exports={check:i,decodeStack:function(e){return s(i,e),{signature:e[0],pubKey:e[1]}},encodeStack:function(e,t){return s({signature:o.isCanonicalSignature,pubKey:n},{signature:e,pubKey:t}),[e,t]}}},{"../../script":45,typeforce:354}],65:[function(e,t,r){function n(e){var t=i.compile(e);return 22===t.length&&t[0]===a.OP_0&&20===t[1]}var i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops");n.toJSON=function(){return"Witness pubKeyHash output"},t.exports={check:n,decode:function(e){return s(n,e),e.slice(2)},encode:function(e){return s(o.Hash160bit,e),i.compile([a.OP_0,e])}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,typeforce:354}],66:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./input":67,"./output":68,dup:48}],67:[function(e,t,r){var n=e("../scripthash/input");t.exports={check:n.check,decodeStack:n.decodeStack,encodeStack:n.encodeStack}},{"../scripthash/input":59}],68:[function(e,t,r){function n(e){var t=i.compile(e);return 34===t.length&&t[0]===a.OP_0&&32===t[1]}var i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops");n.toJSON=function(){return"Witness scriptHash output"},t.exports={check:n,decode:function(e){return s(n,e),e.slice(2)},encode:function(e){return s(o.Hash256bit,e),i.compile([a.OP_0,e])}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,typeforce:354}],69:[function(e,t,r){function n(e){var t=e.length;return l.encodingLength(t)+t}function i(){this.version=1,this.locktime=0,this.ins=[],this.outs=[]}var Buffer=e("safe-buffer").Buffer,o=e("buffer-reverse"),s=e("./crypto"),a=e("./script"),c=e("./bufferutils"),f=e("bitcoin-ops"),u=e("typeforce"),h=e("./types"),l=e("varuint-bitcoin");i.DEFAULT_SEQUENCE=4294967295,i.SIGHASH_ALL=1,i.SIGHASH_NONE=2,i.SIGHASH_SINGLE=3,i.SIGHASH_ANYONECANPAY=128,i.SIGHASH_BITCOINCASHBIP143=64,i.ADVANCED_TRANSACTION_MARKER=0,i.ADVANCED_TRANSACTION_FLAG=1,i.FORKID_BTG=79,i.FORKID_BCH=0;var d=Buffer.allocUnsafe(0),p=[],b=Buffer.from("0000000000000000000000000000000000000000000000000000000000000000","hex"),y=Buffer.from("0000000000000000000000000000000000000000000000000000000000000001","hex"),v=Buffer.from("ffffffffffffffff","hex"),m={script:d,valueBuffer:v};i.fromBuffer=function(e,t){function r(t){return u+=t,e.slice(u-t,u)}function n(){var t=e.readUInt32LE(u);return u+=4,t}function o(){var t=c.readUInt64LE(e,u);return u+=8,t}function s(){var t=l.decode(e,u);return u+=l.decode.bytes,t}function a(){return r(s())}function f(){for(var e=s(),t=[],r=0;r<e;r++)t.push(a());return t}var u=0,h=new i;h.version=function(){var t=e.readInt32LE(u);return u+=4,t}();var d=e.readUInt8(u),b=e.readUInt8(u+1),y=!1;d===i.ADVANCED_TRANSACTION_MARKER&&b===i.ADVANCED_TRANSACTION_FLAG&&(u+=2,y=!0);for(var v=s(),m=0;m<v;++m)h.ins.push({hash:r(32),index:n(),script:a(),sequence:n(),witness:p});var g=s();for(m=0;m<g;++m)h.outs.push({value:o(),script:a()});if(y){for(m=0;m<v;++m)h.ins[m].witness=f();if(!h.hasWitnesses())throw new Error("Transaction has superfluous witness data")}if(h.locktime=n(),t)return h;if(u!==e.length)throw new Error("Transaction has unexpected data");return h},i.fromHex=function(e){return i.fromBuffer(Buffer.from(e,"hex"))},i.isCoinbaseHash=function(e){u(h.Hash256bit,e);for(var t=0;t<32;++t)if(0!==e[t])return!1;return!0},i.prototype.isCoinbase=function(){return 1===this.ins.length&&i.isCoinbaseHash(this.ins[0].hash)},i.prototype.addInput=function(e,t,r,n){return u(h.tuple(h.Hash256bit,h.UInt32,h.maybe(h.UInt32),h.maybe(h.Buffer)),arguments),h.Null(r)&&(r=i.DEFAULT_SEQUENCE),this.ins.push({hash:e,index:t,script:n||d,sequence:r,witness:p})-1},i.prototype.addOutput=function(e,t){return u(h.tuple(h.Buffer,h.Satoshi),arguments),this.outs.push({script:e,value:t})-1},i.prototype.hasWitnesses=function(){return this.ins.some(function(e){return 0!==e.witness.length})},i.prototype.weight=function(){return 3*this.__byteLength(!1)+this.__byteLength(!0)},i.prototype.virtualSize=function(){return Math.ceil(this.weight()/4)},i.prototype.byteLength=function(){return this.__byteLength(!0)},i.prototype.__byteLength=function(e){var t=e&&this.hasWitnesses();return(t?10:8)+l.encodingLength(this.ins.length)+l.encodingLength(this.outs.length)+this.ins.reduce(function(e,t){return e+40+n(t.script)},0)+this.outs.reduce(function(e,t){return e+8+n(t.script)},0)+(t?this.ins.reduce(function(e,t){return e+function(e){var t=e.length;return l.encodingLength(t)+e.reduce(function(e,t){return e+n(t)},0)}(t.witness)},0):0)},i.prototype.clone=function(){var e=new i;return e.version=this.version,e.locktime=this.locktime,e.ins=this.ins.map(function(e){return{hash:e.hash,index:e.index,script:e.script,sequence:e.sequence,witness:e.witness}}),e.outs=this.outs.map(function(e){return{script:e.script,value:e.value}}),e},i.prototype.hashForSignature=function(e,t,r){if(u(h.tuple(h.UInt32,h.Buffer,h.Number),arguments),e>=this.ins.length)return y;var n=a.compile(a.decompile(t).filter(function(e){return e!==f.OP_CODESEPARATOR})),o=this.clone();if((31&r)===i.SIGHASH_NONE)o.outs=[],o.ins.forEach(function(t,r){r!==e&&(t.sequence=0)});else if((31&r)===i.SIGHASH_SINGLE){if(e>=this.outs.length)return y;o.outs.length=e+1;for(var c=0;c<e;c++)o.outs[c]=m;o.ins.forEach(function(t,r){r!==e&&(t.sequence=0)})}r&i.SIGHASH_ANYONECANPAY?(o.ins=[o.ins[e]],o.ins[0].script=n):(o.ins.forEach(function(e){e.script=d}),o.ins[e].script=n);var l=Buffer.allocUnsafe(o.__byteLength(!1)+4);return l.writeInt32LE(r,l.length-4),o.__toBuffer(l,0,!1),s.hash256(l)},i.prototype.hashForWitnessV0=function(e,t,r,o){function a(e){v+=e.copy(y,v)}function f(e){v=y.writeUInt32LE(e,v)}function d(e){v=c.writeUInt64LE(y,e,v)}function p(e){!function(e){l.encode(e,y,v),v+=l.encode.bytes}(e.length),a(e)}u(h.tuple(h.UInt32,h.Buffer,h.Satoshi,h.UInt32),arguments);var y,v,m=b,g=b,w=b;if(o&i.SIGHASH_ANYONECANPAY||(y=Buffer.allocUnsafe(36*this.ins.length),v=0,this.ins.forEach(function(e){a(e.hash),f(e.index)}),g=s.hash256(y)),o&i.SIGHASH_ANYONECANPAY||(31&o)===i.SIGHASH_SINGLE||(31&o)===i.SIGHASH_NONE||(y=Buffer.allocUnsafe(4*this.ins.length),v=0,this.ins.forEach(function(e){f(e.sequence)}),w=s.hash256(y)),(31&o)!==i.SIGHASH_SINGLE&&(31&o)!==i.SIGHASH_NONE){var _=this.outs.reduce(function(e,t){return e+8+n(t.script)},0);y=Buffer.allocUnsafe(_),v=0,this.outs.forEach(function(e){d(e.value),p(e.script)}),m=s.hash256(y)}else if((31&o)===i.SIGHASH_SINGLE&&e<this.outs.length){var E=this.outs[e];y=Buffer.allocUnsafe(8+n(E.script)),v=0,d(E.value),p(E.script),m=s.hash256(y)}y=Buffer.allocUnsafe(156+n(t)),v=0;var S=this.ins[e];return f(this.version),a(g),a(w),a(S.hash),f(S.index),p(t),d(r),f(S.sequence),a(m),f(this.locktime),f(o),s.hash256(y)},i.prototype.hashForCashSignature=function(e,t,r,n){if(u(h.tuple(h.UInt32,h.Buffer,h.Number,h.maybe(h.UInt53)),arguments),n&i.SIGHASH_BITCOINCASHBIP143){if(h.Null(r))throw new Error("Bitcoin Cash sighash requires value of input to be signed.");return this.hashForWitnessV0(e,t,r,n)}return this.hashForSignature(e,t,n)},i.prototype.hashForGoldSignature=function(e,t,r,n,o){u(h.tuple(h.UInt32,h.Buffer,h.Number,h.maybe(h.UInt53)),arguments);var s=n,a=(n&i.SIGHASH_BITCOINCASHBIP143)>0;if(a&&(s|=i.FORKID_BTG<<8),o||a){if(h.Null(r))throw new Error("Bitcoin Cash sighash requires value of input to be signed.");return this.hashForWitnessV0(e,t,r,s)}return this.hashForSignature(e,t,s)},i.prototype.getHash=function(){return s.hash256(this.__toBuffer(void 0,void 0,!1))},i.prototype.getId=function(){return o(this.getHash()).toString("hex")},i.prototype.toBuffer=function(e,t){return this.__toBuffer(e,t,!0)},i.prototype.__toBuffer=function(e,t,r){function n(t){u+=t.copy(e,u)}function o(t){u=e.writeUInt8(t,u)}function s(t){u=e.writeUInt32LE(t,u)}function a(t){l.encode(t,e,u),u+=l.encode.bytes}function f(e){a(e.length),n(e)}e||(e=Buffer.allocUnsafe(this.__byteLength(r)));var u=t||0;!function(t){u=e.writeInt32LE(t,u)}(this.version);var h=r&&this.hasWitnesses();return h&&(o(i.ADVANCED_TRANSACTION_MARKER),o(i.ADVANCED_TRANSACTION_FLAG)),a(this.ins.length),this.ins.forEach(function(e){n(e.hash),s(e.index),f(e.script),s(e.sequence)}),a(this.outs.length),this.outs.forEach(function(t){t.valueBuffer?n(t.valueBuffer):function(t){u=c.writeUInt64LE(e,t,u)}(t.value),f(t.script)}),h&&this.ins.forEach(function(e){!function(e){a(e.length),e.forEach(f)}(e.witness)}),s(this.locktime),void 0!==t?e.slice(t,u):e},i.prototype.toHex=function(){return this.toBuffer().toString("hex")},i.prototype.setInputScript=function(e,t){u(h.tuple(h.Number,h.Buffer),arguments),this.ins[e].script=t},i.prototype.setWitness=function(e,t){u(h.tuple(h.Number,[h.Buffer]),arguments),this.ins[e].witness=t},t.exports=i},{"./bufferutils":37,"./crypto":38,"./script":45,"./types":71,"bitcoin-ops":33,"buffer-reverse":103,"safe-buffer":313,typeforce:354,"varuint-bitcoin":363}],70:[function(e,t,r){function n(e){return-1!==E.indexOf(e)}function i(e){return-1!==S.indexOf(e)}function o(e,t){if(0===e.length&&0===t.length)return{};var r,o,s,a,c,f,u,h,l,d,p=!1,v=!1,m=!1,g=y.decompile(e);y.classifyInput(g,!0)===_.P2SH&&(m=!0,c=g[g.length-1],h=y.classifyOutput(c),r=y.scriptHash.output.encode(b.hash160(c)),o=_.P2SH,a=c);var w=y.classifyWitness(t,!0);if(w===_.P2WSH){if(f=t[t.length-1],u=y.classifyOutput(f),v=!0,p=!0,0===e.length){if(r=y.witnessScriptHash.output.encode(b.sha256(f)),o=_.P2WSH,void 0!==c)throw new Error("Redeem script given when unnecessary")}else{if(!c)throw new Error("No redeemScript provided for P2WSH, but scriptSig non-empty");if(l=y.witnessScriptHash.output.encode(b.sha256(f)),!c.equals(l))throw new Error("Redeem script didn't match witnessScript")}if(!n(y.classifyOutput(f)))throw new Error("unsupported witness script");a=f,s=u,d=t.slice(0,-1)}else if(w===_.P2WPKH){p=!0;var E=t[t.length-1],S=b.hash160(E);if(0===e.length){if(r=y.witnessPubKeyHash.output.encode(S),o=_.P2WPKH,void 0!==c)throw new Error("Redeem script given when unnecessary")}else{if(!c)throw new Error("No redeemScript provided for P2WPKH, but scriptSig wasn't empty");if(l=y.witnessPubKeyHash.output.encode(S),!c.equals(l))throw new Error("Redeem script did not have the right witness program")}s=_.P2PKH,d=t}else if(c){if(!i(h))throw new Error("Bad redeemscript!");a=c,s=h,d=g.slice(0,-1)}else o=s=y.classifyInput(e),d=g;var k=function(e,t,r){var n=[],i=[];switch(e){case _.P2PKH:n=t.slice(1),i=t.slice(0,1);break;case _.P2PK:n[0]=r?y.pubKey.output.decode(r):void 0,i=t.slice(0,1);break;case _.MULTISIG:r&&(n=y.multisig.output.decode(r).pubKeys),i=t.slice(1).map(function(e){return 0===e.length?void 0:e})}return{pubKeys:n,signatures:i}}(s,d,a),A={pubKeys:k.pubKeys,signatures:k.signatures,prevOutScript:r,prevOutType:o,signType:s,signScript:a,witness:Boolean(p)};return m&&(A.redeemScript=c,A.redeemScriptType=h),v&&(A.witnessScript=f,A.witnessScriptType=u),A}function s(e,t,r){g(w.Buffer,e);var n=y.decompile(e);t||(t=y.classifyOutput(e));var i=[];switch(t){case _.P2PKH:if(!r)break;var o=n[2],s=b.hash160(r);o.equals(s)&&(i=[r]);break;case _.P2WPKH:if(!r)break;var a=n[1],c=b.hash160(r);a.equals(c)&&(i=[r]);break;case _.P2PK:i=n.slice(0,1);break;case _.MULTISIG:i=n.slice(1,-2);break;default:return{scriptType:t}}return{pubKeys:i,scriptType:t,signatures:i.map(function(){})}}function a(e,t){if(e.prevOutType){if(e.prevOutType!==_.P2SH)throw new Error("PrevOutScript must be P2SH");if(!y.decompile(e.prevOutScript)[1].equals(t))throw new Error("Inconsistent hash160(RedeemScript)")}}function c(e,t,r,n,i){var o,c,f,u,h,l,d,p,v,m=!1,E=!1,S=!1;if(r&&i){if(h=b.hash160(r),d=b.sha256(i),a(e,h),!r.equals(y.witnessScriptHash.output.encode(d)))throw new Error("Witness script inconsistent with redeem script");if(!(o=s(i,void 0,t)).pubKeys)throw new Error('WitnessScript not supported "'+y.toASM(r)+'"');c=y.types.P2SH,f=y.scriptHash.output.encode(h),m=E=S=!0,u=y.types.P2WSH,p=l=o.scriptType,v=i}else if(r){if(h=b.hash160(r),a(e,h),!(o=s(r,void 0,t)).pubKeys)throw new Error('RedeemScript not supported "'+y.toASM(r)+'"');c=y.types.P2SH,f=y.scriptHash.output.encode(h),m=!0,v=r,E=(p=u=o.scriptType)===y.types.P2WPKH}else if(i){if(d=b.sha256(i),function(e,t){if(e.prevOutType){if(e.prevOutType!==_.P2WSH)throw new Error("PrevOutScript must be P2WSH");if(!y.decompile(e.prevOutScript)[1].equals(t))throw new Error("Inconsistent sha25(WitnessScript)")}}(e,d),!(o=s(i,void 0,t)).pubKeys)throw new Error('WitnessScript not supported "'+y.toASM(r)+'"');c=y.types.P2WSH,f=y.witnessScriptHash.output.encode(d),E=S=!0,p=l=o.scriptType,v=i}else if(e.prevOutType){if(e.prevOutType===_.P2SH||e.prevOutType===_.P2WSH)throw new Error("PrevOutScript is "+e.prevOutType+", requires redeemScript");if(c=e.prevOutType,f=e.prevOutScript,!(o=s(e.prevOutScript,e.prevOutType,t)).pubKeys)return;E=e.prevOutType===_.P2WPKH,p=c,v=f}else o=s(f=y.pubKeyHash.output.encode(b.hash160(t)),_.P2PKH,t),E=!1,p=c=_.P2PKH,v=f;if(void 0!==n||E){if(g(w.Satoshi,n),void 0!==e.value&&e.value!==n)throw new Error("Input didn't match witnessValue");e.value=n}p===_.P2WPKH&&(v=y.pubKeyHash.output.encode(y.witnessPubKeyHash.output.decode(v))),m&&(e.redeemScript=r,e.redeemScriptType=u),S&&(e.witnessScript=i,e.witnessScriptType=l),e.pubKeys=o.pubKeys,e.signatures=o.signatures,e.signScript=v,e.signType=p,e.prevOutScript=f,e.prevOutType=c,e.witness=E}function f(e,t,r,n){if(e===_.P2PKH){if(1===t.length&&Buffer.isBuffer(t[0])&&1===r.length)return y.pubKeyHash.input.encodeStack(t[0],r[0])}else if(e===_.P2PK){if(1===t.length&&Buffer.isBuffer(t[0]))return y.pubKey.input.encodeStack(t[0])}else{if(e!==_.MULTISIG)throw new Error("Not yet supported");if(t.length>0)return t=t.map(function(e){return e||m.OP_0}),n||(t=t.filter(function(e){return e!==m.OP_0})),y.multisig.input.encodeStack(t)}if(!n)throw new Error("Not enough signatures provided");return[]}function u(e,t){this.prevTxMap={},this.network=e||v.bitcoin,this.maximumFeeRate=t||1e3,this.inputs=[],this.bitcoinCash=!1,this.bitcoinGold=!1,this.tx=new A}function h(e){return void 0!==e.prevOutScript&&void 0!==e.signScript&&void 0!==e.pubKeys&&void 0!==e.signatures&&e.signatures.length===e.pubKeys.length&&e.pubKeys.length>0&&void 0!==e.witness}function l(e){return e.readUInt8(e.length-1)}var Buffer=e("safe-buffer").Buffer,d=e("buffer-reverse"),p=e("./address"),b=e("./crypto"),y=e("./script"),v=e("./networks"),m=e("bitcoin-ops"),g=e("typeforce"),w=e("./types"),_=y.types,E=[y.types.P2PKH,y.types.P2PK,y.types.MULTISIG],S=E.concat([y.types.P2WPKH,y.types.P2WSH]),ECPair=e("./ecpair"),k=e("./ecsignature"),A=e("./transaction");u.prototype.enableBitcoinCash=function(e){void 0===e&&(e=!0),this.bitcoinCash=e},u.prototype.enableBitcoinGold=function(e){void 0===e&&(e=!0),this.bitcoinGold=e},u.prototype.setLockTime=function(e){if(g(w.UInt32,e),this.inputs.some(function(e){return!!e.signatures&&e.signatures.some(function(e){return e})}))throw new Error("No, this would invalidate signatures");this.tx.locktime=e},u.prototype.setVersion=function(e){g(w.UInt32,e),this.tx.version=e},u.fromTransaction=function(e,t,r){var n=new u(t);return"number"==typeof r&&(r===A.FORKID_BTG?n.enableBitcoinGold(!0):r===A.FORKID_BCH&&n.enableBitcoinCash(!0)),n.setVersion(e.version),n.setLockTime(e.locktime),e.outs.forEach(function(e){n.addOutput(e.script,e.value)}),e.ins.forEach(function(e){n.__addInputUnsafe(e.hash,e.index,{sequence:e.sequence,script:e.script,witness:e.witness,value:e.value})}),n.inputs.forEach(function(t,n){!function(e,t,r,n,i){if(e.signType===_.MULTISIG&&e.signScript&&e.pubKeys.length!==e.signatures.length){var o=e.signatures.concat();e.signatures=e.pubKeys.map(function(s){var a,c=ECPair.fromPublicKeyBuffer(s);return o.some(function(s,f){if(!s)return!1;var u,h=k.parseScriptSignature(s);switch(i){case A.FORKID_BCH:u=t.hashForCashSignature(r,e.signScript,n,h.hashType);break;case A.FORKID_BTG:u=t.hashForGoldSignature(r,e.signScript,n,h.hashType);break;default:u=e.witness?t.hashForWitnessV0(r,e.signScript,n,h.hashType):t.hashForSignature(r,e.signScript,h.hashType)}return!!c.verify(u,h.signature)&&(o[f]=void 0,a=s,!0)}),a})}}(t,e,n,t.value,r)}),n},u.prototype.addInput=function(e,t,r,n){if(!this.__canModifyInputs())throw new Error("No, this would invalidate signatures");var i;if("string"==typeof e)e=d(Buffer.from(e,"hex"));else if(e instanceof A){var o=e.outs[t];n=o.script,i=o.value,e=e.getHash()}return this.__addInputUnsafe(e,t,{sequence:r,prevOutScript:n,value:i})},u.prototype.__addInputUnsafe=function(e,t,r){if(A.isCoinbaseHash(e))throw new Error("coinbase inputs not supported");var n=e.toString("hex")+":"+t;if(void 0!==this.prevTxMap[n])throw new Error("Duplicate TxOut: "+n);var i={};if(void 0!==r.script&&(i=o(r.script,r.witness||[])),void 0!==r.value&&(i.value=r.value),!i.prevOutScript&&r.prevOutScript){var a;if(!i.pubKeys&&!i.signatures){var c=s(r.prevOutScript);c.pubKeys&&(i.pubKeys=c.pubKeys,i.signatures=c.signatures),a=c.scriptType}i.prevOutScript=r.prevOutScript,i.prevOutType=a||y.classifyOutput(r.prevOutScript)}var f=this.tx.addInput(e,t,r.sequence,r.scriptSig);return this.inputs[f]=i,this.prevTxMap[n]=f,f},u.prototype.addOutput=function(e,t){if(!this.__canModifyOutputs())throw new Error("No, this would invalidate signatures");return"string"==typeof e&&(e=p.toOutputScript(e,this.network)),this.tx.addOutput(e,t)},u.prototype.build=function(){return this.__build(!1)},u.prototype.buildIncomplete=function(){return this.__build(!0)},u.prototype.__build=function(e){if(!e){if(!this.tx.ins.length)throw new Error("Transaction has no inputs");if(!this.tx.outs.length)throw new Error("Transaction has no outputs")}var t=this.tx.clone();if(this.inputs.forEach(function(r,o){if(!(r.witnessScriptType||r.redeemScriptType||r.prevOutType)&&!e)throw new Error("Transaction is not complete");var s=function(e,t){var r=e.prevOutType,o=[],s=[];n(r)&&(o=f(r,e.signatures,e.pubKeys,t));var a=!1;if(r===y.types.P2SH){if(!t&&!i(e.redeemScriptType))throw new Error("Impossible to sign this type");n(e.redeemScriptType)&&(o=f(e.redeemScriptType,e.signatures,e.pubKeys,t)),e.redeemScriptType&&(a=!0,r=e.redeemScriptType)}switch(r){case y.types.P2WPKH:s=f(y.types.P2PKH,e.signatures,e.pubKeys,t);break;case y.types.P2WSH:if(!t&&!n(e.witnessScriptType))throw new Error("Impossible to sign this type");n(e.witnessScriptType)&&((s=f(e.witnessScriptType,e.signatures,e.pubKeys,t)).push(e.witnessScript),r=e.witnessScriptType)}return a&&o.push(e.redeemScript),{type:r,script:y.compile(o),witness:s}}(r,e);if(!e&&!n(s.type)&&s.type!==y.types.P2WPKH)throw new Error(s.type+" not supported");t.setInputScript(o,s.script),t.setWitness(o,s.witness)}),!e&&this.__overMaximumFees(t.virtualSize()))throw new Error("Transaction has absurd fees");return t},u.prototype.sign=function(e,t,r,n,i,o){if(t.network!==this.network)throw new Error("Inconsistent network");if(!this.inputs[e])throw new Error("No input at index: "+e);n=n||A.SIGHASH_ALL;var s=this.inputs[e];if(void 0!==s.redeemScript&&r&&!s.redeemScript.equals(r))throw new Error("Inconsistent redeemScript");var a=t.getPublicKeyBuffer();if(!h(s)&&(c(s,a,r,i,o),!h(s)))throw Error(s.prevOutType+" not supported");var f;f=this.bitcoinGold?this.tx.hashForGoldSignature(e,s.signScript,i,n,s.witness):this.bitcoinCash?this.tx.hashForCashSignature(e,s.signScript,i,n):s.witness?this.tx.hashForWitnessV0(e,s.signScript,i,n):this.tx.hashForSignature(e,s.signScript,n);if(!s.pubKeys.some(function(e,r){if(!a.equals(e))return!1;if(s.signatures[r])throw new Error("Signature already exists");if(!t.compressed&&s.signType===_.P2WPKH)throw new Error("BIP143 rejects uncompressed public keys in P2WPKH or P2WSH");return s.signatures[r]=t.sign(f).toScriptSignature(n),!0}))throw new Error("Key pair cannot sign for this input")},u.prototype.__canModifyInputs=function(){return this.inputs.every(function(e){return void 0===e.signatures||e.signatures.every(function(e){if(!e)return!0;return l(e)&A.SIGHASH_ANYONECANPAY})})},u.prototype.__canModifyOutputs=function(){var e=this.tx.ins.length,t=this.tx.outs.length;return this.inputs.every(function(r){return void 0===r.signatures||r.signatures.every(function(r){if(!r)return!0;var n=31&l(r);return n===A.SIGHASH_NONE||(n===A.SIGHASH_SINGLE?e<=t:void 0)})})},u.prototype.__overMaximumFees=function(e){return(this.inputs.reduce(function(e,t){return e+(t.value>>>0)},0)-this.tx.outs.reduce(function(e,t){return e+t.value},0))/e>this.maximumFeeRate},t.exports=u},{"./address":35,"./crypto":38,"./ecpair":40,"./ecsignature":41,"./networks":44,"./script":45,"./transaction":69,"./types":71,"bitcoin-ops":33,"buffer-reverse":103,"safe-buffer":313,typeforce:354}],71:[function(e,t,r){function n(e){return i.String(e)&&e.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}var i=e("typeforce"),o=Math.pow(2,31)-1;n.toJSON=function(){return"BIP32 derivation path"};var s=21e14,a=i.quacksLike("BigInteger"),c=i.quacksLike("Point"),f=i.compile({r:a,s:a}),u=i.compile({messagePrefix:i.oneOf(i.Buffer,i.String),bip32:{public:i.UInt32,private:i.UInt32},pubKeyHash:i.UInt8,scriptHash:i.UInt8,wif:i.UInt8}),h={BigInt:a,BIP32Path:n,Buffer256bit:i.BufferN(32),ECPoint:c,ECSignature:f,Hash160bit:i.BufferN(20),Hash256bit:i.BufferN(32),Network:u,Satoshi:function(e){return i.UInt53(e)&&e<=s},UInt31:function(e){return i.UInt32(e)&&e<=o}};for(var l in i)h[l]=i[l];t.exports=h},{typeforce:354}],72:[function(e,t,r){(function(Buffer){function r(e,t){var r=a.encodingLength(e.length),n=new Buffer(t.length+r+e.length);return n.write(t,0),a.encode(e.length,n,t.length),n.write(e,t.length+r),function(e){var t=o("sha256").update(e).digest();return o("sha256").update(t).digest()}(n)}var n=e("bs58check"),i=e("buffer-equals"),o=e("create-hash"),s=e("secp256k1"),a=e("varuint-bitcoin");t.exports={magicHash:r,sign:function(e,t,n,i){var o=r(e,t),a=s.sign(o,n);return function(e,t,r){return i&&(t+=4),Buffer.concat([new Buffer([t+27]),e])}(a.signature,a.recovery)},verify:function(e,t,a,c){Buffer.isBuffer(c)||(c=new Buffer(c,"base64"));var f=function(e){if(65!==e.length)throw new Error("Invalid signature length");var t=e.readUInt8(0)-27;if(t>7)throw new Error("Invalid signature parameter");return{compressed:!!(4&t),recovery:3&t,signature:e.slice(1)}}(c),u=r(e,t),h=function(e){var t=o("sha256").update(e).digest();return o("ripemd160").update(t).digest()}(s.recover(u,f.signature,f.recovery,f.compressed)),l=n.decode(a).slice(1);return i(h,l)}}}).call(this,e("buffer").Buffer)},{bs58check:75,buffer:105,"buffer-equals":102,"create-hash":130,secp256k1:314,"varuint-bitcoin":363}],73:[function(e,t,r){t.exports=function(e){function t(e){if(0===e.length)return[];for(var t=[0],o=0;o<e.length;o++){var s=r[e[o]];if(void 0===s)return;for(var a=0,c=s;a<t.length;++a)c+=t[a]*n,t[a]=255&c,c>>=8;for(;c>0;)t.push(255&c),c>>=8}for(var f=0;e[f]===i&&f<e.length-1;++f)t.push(0);return t.reverse()}for(var r={},n=e.length,i=e.charAt(0),o=0;o<e.length;o++)r[e.charAt(o)]=o;return{encode:function(t){if(0===t.length)return"";for(var r=[0],i=0;i<t.length;++i){for(var o=0,s=t[i];o<r.length;++o)s+=r[o]<<8,r[o]=s%n,s=s/n|0;for(;s>0;)r.push(s%n),s=s/n|0}for(var a="",c=0;0===t[c]&&c<t.length-1;++c)a+=e[0];for(var f=r.length-1;f>=0;--f)a+=e[r[f]];return a},decodeUnsafe:t,decode:function(e){var r=t(e);if(r)return r;throw new Error("Non-base"+n+" character")}}}},{}],74:[function(e,t,r){var n=e("base-x");t.exports=n("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},{"base-x":73}],75:[function(e,t,r){(function(Buffer){"use strict";function r(e){var t=s("sha256").update(e).digest();return s("sha256").update(t).digest()}function n(e){var t=e.slice(0,-4),n=e.slice(-4),i=r(t);if(!(n[0]^i[0]|n[1]^i[1]|n[2]^i[2]|n[3]^i[3]))return t}function i(e){var t=o.decodeUnsafe(e);if(t){return n(new Buffer(t))}}var o=e("bs58"),s=e("create-hash");t.exports={encode:function(e){var t=r(e);return o.encode(Buffer.concat([e,t],e.length+4))},decode:function(e){var t=o.decode(e),r=n(new Buffer(t));if(!r)throw new Error("Invalid checksum");return r},decodeUnsafe:i,decodeRaw:i}}).call(this,e("buffer").Buffer)},{bs58:74,buffer:105,"create-hash":130}],76:[function(e,t,r){function n(e){this.rand=e}var i;if(t.exports=function(e){return i||(i=new n(null)),i.generate(e)},t.exports.Rand=n,n.prototype.generate=function(e){return this._rand(e)},n.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?n.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?n.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(n.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=e("crypto");if("function"!=typeof o.randomBytes)throw new Error("Not supported");n.prototype._rand=function(e){return o.randomBytes(e)}}catch(e){}},{crypto:77}],77:[function(e,t,r){},{}],78:[function(e,t,r){function n(e){Buffer.isBuffer(e)||(e=Buffer.from(e));for(var t=e.length/4|0,r=new Array(t),n=0;n<t;n++)r[n]=e.readUInt32BE(4*n);return r}function i(e){for(;0<e.length;e++)e[0]=0}function o(e,t,r,n,i){for(var o,s,a,c,f=r[0],u=r[1],h=r[2],l=r[3],d=e[0]^t[0],p=e[1]^t[1],b=e[2]^t[2],y=e[3]^t[3],v=4,m=1;m<i;m++)o=f[d>>>24]^u[p>>>16&255]^h[b>>>8&255]^l[255&y]^t[v++],s=f[p>>>24]^u[b>>>16&255]^h[y>>>8&255]^l[255&d]^t[v++],a=f[b>>>24]^u[y>>>16&255]^h[d>>>8&255]^l[255&p]^t[v++],c=f[y>>>24]^u[d>>>16&255]^h[p>>>8&255]^l[255&b]^t[v++],d=o,p=s,b=a,y=c;return o=(n[d>>>24]<<24|n[p>>>16&255]<<16|n[b>>>8&255]<<8|n[255&y])^t[v++],s=(n[p>>>24]<<24|n[b>>>16&255]<<16|n[y>>>8&255]<<8|n[255&d])^t[v++],a=(n[b>>>24]<<24|n[y>>>16&255]<<16|n[d>>>8&255]<<8|n[255&p])^t[v++],c=(n[y>>>24]<<24|n[d>>>16&255]<<16|n[p>>>8&255]<<8|n[255&b])^t[v++],o>>>=0,s>>>=0,a>>>=0,c>>>=0,[o,s,a,c]}function s(e){this._key=n(e),this._reset()}var Buffer=e("safe-buffer").Buffer,a=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],s=0,a=0,c=0;c<256;++c){var f=a^a<<1^a<<2^a<<3^a<<4;f=f>>>8^255&f^99,r[s]=f,n[f]=s;var u=e[s],h=e[u],l=e[h],d=257*e[f]^16843008*f;i[0][s]=d<<24|d>>>8,i[1][s]=d<<16|d>>>16,i[2][s]=d<<8|d>>>24,i[3][s]=d,d=16843009*l^65537*h^257*u^16843008*s,o[0][f]=d<<24|d>>>8,o[1][f]=d<<16|d>>>16,o[2][f]=d<<8|d>>>24,o[3][f]=d,0===s?s=a=1:(s=u^e[e[e[l^u]]],a^=e[e[a]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();s.blockSize=16,s.keySize=32,s.prototype.blockSize=s.blockSize,s.prototype.keySize=s.keySize,s.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),i=[],o=0;o<t;o++)i[o]=e[o];for(o=t;o<n;o++){var s=i[o-1];o%t==0?(s=s<<8|s>>>24,s=c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s],s^=a[o/t|0]<<24):t>6&&o%t==4&&(s=c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s]),i[o]=i[o-t]^s}for(var f=[],u=0;u<n;u++){var h=n-u,l=i[h-(u%4?0:4)];f[u]=u<4||h<=4?l:c.INV_SUB_MIX[0][c.SBOX[l>>>24]]^c.INV_SUB_MIX[1][c.SBOX[l>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[l>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&l]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=f},s.prototype.encryptBlockRaw=function(e){return e=n(e),o(e,this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},s.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=Buffer.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},s.prototype.decryptBlock=function(e){var t=(e=n(e))[1];e[1]=e[3],e[3]=t;var r=o(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),i=Buffer.allocUnsafe(16);return i.writeUInt32BE(r[0],0),i.writeUInt32BE(r[3],4),i.writeUInt32BE(r[2],8),i.writeUInt32BE(r[1],12),i},s.prototype.scrub=function(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},t.exports.AES=s},{"safe-buffer":313}],79:[function(e,t,r){function n(e,t,r,n){o.call(this);var s=Buffer.alloc(4,0);this._cipher=new i.AES(t);var c=this._cipher.encryptBlock(s);this._ghash=new a(c),r=function(e,t,r){if(12===t.length)return e._finID=Buffer.concat([t,Buffer.from([0,0,0,1])]),Buffer.concat([t,Buffer.from([0,0,0,2])]);var n=new a(r),i=t.length,o=i%16;n.update(t),o&&(o=16-o,n.update(Buffer.alloc(o,0))),n.update(Buffer.alloc(8,0));var s=8*i,c=Buffer.alloc(8);c.writeUIntBE(s,0,8),n.update(c),e._finID=n.state;var u=Buffer.from(e._finID);return f(u),u}(this,r,c),this._prev=Buffer.from(r),this._cache=Buffer.allocUnsafe(0),this._secCache=Buffer.allocUnsafe(0),this._decrypt=n,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}var i=e("./aes"),Buffer=e("safe-buffer").Buffer,o=e("cipher-base"),s=e("inherits"),a=e("./ghash"),c=e("buffer-xor"),f=e("./incr32");s(n,o),n.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=Buffer.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},n.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),i=0;i<n;++i)r+=e[i]^t[i];return r}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},n.prototype.getAuthTag=function(){if(this._decrypt||!Buffer.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},n.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},n.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},t.exports=n},{"./aes":78,"./ghash":83,"./incr32":84,"buffer-xor":104,"cipher-base":109,inherits:248,"safe-buffer":313}],80:[function(e,t,r){var n=e("./encrypter"),i=e("./decrypter"),o=e("./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(o)}},{"./decrypter":81,"./encrypter":82,"./modes/list.json":92}],81:[function(e,t,r){function n(e,t,r){f.call(this),this._cache=new i,this._last=void 0,this._cipher=new u.AES(t),this._prev=Buffer.from(r),this._mode=e,this._autopadding=!0}function i(){this.cache=Buffer.allocUnsafe(0)}function o(e,t,r){var i=a[e.toLowerCase()];if(!i)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=Buffer.from(r)),"GCM"!==i.mode&&r.length!==i.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=Buffer.from(t)),t.length!==i.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===i.type?new c(i.module,t,r,!0):"auth"===i.type?new s(i.module,t,r,!0):new n(i.module,t,r)}var s=e("./authCipher"),Buffer=e("safe-buffer").Buffer,a=e("./modes"),c=e("./streamCipher"),f=e("cipher-base"),u=e("./aes"),h=e("evp_bytestokey");e("inherits")(n,f),n.prototype._update=function(e){this._cache.add(e);for(var t,r,n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return Buffer.concat(n)},n.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){for(var t=e[15],r=-1;++r<t;)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},n.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},i.prototype.add=function(e){this.cache=Buffer.concat([this.cache,e])},i.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},i.prototype.flush=function(){if(this.cache.length)return this.cache},r.createDecipher=function(e,t){var r=a[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=h(t,!1,r.key,r.iv);return o(e,n.key,n.iv)},r.createDecipheriv=o},{"./aes":78,"./authCipher":79,"./modes":91,"./streamCipher":94,"cipher-base":109,evp_bytestokey:231,inherits:248,"safe-buffer":313}],82:[function(e,t,r){function n(e,t,r){f.call(this),this._cache=new i,this._cipher=new u.AES(t),this._prev=Buffer.from(r),this._mode=e,this._autopadding=!0}function i(){this.cache=Buffer.allocUnsafe(0)}function o(e,t,r){var i=s[e.toLowerCase()];if(!i)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=Buffer.from(t)),t.length!==i.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof r&&(r=Buffer.from(r)),"GCM"!==i.mode&&r.length!==i.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===i.type?new c(i.module,t,r):"auth"===i.type?new a(i.module,t,r):new n(i.module,t,r)}var s=e("./modes"),a=e("./authCipher"),Buffer=e("safe-buffer").Buffer,c=e("./streamCipher"),f=e("cipher-base"),u=e("./aes"),h=e("evp_bytestokey");e("inherits")(n,f),n.prototype._update=function(e){this._cache.add(e);for(var t,r,n=[];t=this._cache.get();)r=this._mode.encrypt(this,t),n.push(r);return Buffer.concat(n)};var l=Buffer.alloc(16,16);n.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(l))throw this._cipher.scrub(),new Error("data not multiple of block length")},n.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},i.prototype.add=function(e){this.cache=Buffer.concat([this.cache,e])},i.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},i.prototype.flush=function(){for(var e=16-this.cache.length,t=Buffer.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return Buffer.concat([this.cache,t])},r.createCipheriv=o,r.createCipher=function(e,t){var r=s[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=h(t,!1,r.key,r.iv);return o(e,n.key,n.iv)}},{"./aes":78,"./authCipher":79,"./modes":91,"./streamCipher":94,"cipher-base":109,evp_bytestokey:231,inherits:248,"safe-buffer":313}],83:[function(e,t,r){function n(e){var t=Buffer.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function i(e){this.h=e,this.state=Buffer.alloc(16,0),this.cache=Buffer.allocUnsafe(0)}var Buffer=e("safe-buffer").Buffer,o=Buffer.alloc(16,0);i.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},i.prototype._multiply=function(){for(var e,t,r=function(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}(this.h),i=[0,0,0,0],o=-1;++o<128;){for(0!=(this.state[~~(o/8)]&1<<7-o%8)&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),t=0!=(1&r[3]),e=3;e>0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,t&&(r[0]=r[0]^225<<24)}this.state=n(i)},i.prototype.update=function(e){this.cache=Buffer.concat([this.cache,e]);for(var t;this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},i.prototype.final=function(e,t){return this.cache.length&&this.ghash(Buffer.concat([this.cache,o],16)),this.ghash(n([0,e,0,t])),this.state},t.exports=i},{"safe-buffer":313}],84:[function(e,t,r){t.exports=function(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}},{}],85:[function(e,t,r){var n=e("buffer-xor");r.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},r.decrypt=function(e,t){var r=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return n(i,r)}},{"buffer-xor":104}],86:[function(e,t,r){function n(e,t,r){var n=t.length,o=i(t,e._cache);return e._cache=e._cache.slice(n),e._prev=Buffer.concat([e._prev,r?t:o]),o}var Buffer=e("safe-buffer").Buffer,i=e("buffer-xor");r.encrypt=function(e,t,r){for(var i,o=Buffer.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=Buffer.allocUnsafe(0)),!(e._cache.length<=t.length)){o=Buffer.concat([o,n(e,t,r)]);break}i=e._cache.length,o=Buffer.concat([o,n(e,t.slice(0,i),r)]),t=t.slice(i)}return o}},{"buffer-xor":104,"safe-buffer":313}],87:[function(e,t,r){function n(e,t,r){for(var n,i,o,s=-1,a=0;++s<8;)n=e._cipher.encryptBlock(e._prev),i=t&1<<7-s?128:0,a+=(128&(o=n[0]^i))>>s%8,e._prev=function(e,t){var r=e.length,n=-1,i=Buffer.allocUnsafe(e.length);e=Buffer.concat([e,Buffer.from([t])]);for(;++n<r;)i[n]=e[n]<<1|e[n+1]>>7;return i}(e._prev,r?i:o);return a}var Buffer=e("safe-buffer").Buffer;r.encrypt=function(e,t,r){for(var i=t.length,o=Buffer.allocUnsafe(i),s=-1;++s<i;)o[s]=n(e,t[s],r);return o}},{"safe-buffer":313}],88:[function(e,t,r){function n(e,t,r){var n=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=Buffer.concat([e._prev.slice(1),Buffer.from([r?t:n])]),n}var Buffer=e("safe-buffer").Buffer;r.encrypt=function(e,t,r){for(var i=t.length,o=Buffer.allocUnsafe(i),s=-1;++s<i;)o[s]=n(e,t[s],r);return o}},{"safe-buffer":313}],89:[function(e,t,r){function n(e){var t=e._cipher.encryptBlockRaw(e._prev);return o(e._prev),t}var i=e("buffer-xor"),Buffer=e("safe-buffer").Buffer,o=e("../incr32");r.encrypt=function(e,t){var r=Math.ceil(t.length/16),o=e._cache.length;e._cache=Buffer.concat([e._cache,Buffer.allocUnsafe(16*r)]);for(var s=0;s<r;s++){var a=n(e),c=o+16*s;e._cache.writeUInt32BE(a[0],c+0),e._cache.writeUInt32BE(a[1],c+4),e._cache.writeUInt32BE(a[2],c+8),e._cache.writeUInt32BE(a[3],c+12)}var f=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),i(t,f)}},{"../incr32":84,"buffer-xor":104,"safe-buffer":313}],90:[function(e,t,r){r.encrypt=function(e,t){return e._cipher.encryptBlock(t)},r.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},{}],91:[function(e,t,r){var n={ECB:e("./ecb"),CBC:e("./cbc"),CFB:e("./cfb"),CFB8:e("./cfb8"),CFB1:e("./cfb1"),OFB:e("./ofb"),CTR:e("./ctr"),GCM:e("./ctr")},i=e("./list.json");for(var o in i)i[o].module=n[i[o].mode];t.exports=i},{"./cbc":85,"./cfb":86,"./cfb1":87,"./cfb8":88,"./ctr":89,"./ecb":90,"./list.json":92,"./ofb":93}],92:[function(e,t,r){t.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"}}},{}],93:[function(e,t,r){(function(Buffer){function t(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}var n=e("buffer-xor");r.encrypt=function(e,r){for(;e._cache.length<r.length;)e._cache=Buffer.concat([e._cache,t(e)]);var i=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),n(r,i)}}).call(this,e("buffer").Buffer)},{buffer:105,"buffer-xor":104}],94:[function(e,t,r){function n(e,t,r,n){o.call(this),this._cipher=new i.AES(t),this._prev=Buffer.from(r),this._cache=Buffer.allocUnsafe(0),this._secCache=Buffer.allocUnsafe(0),this._decrypt=n,this._mode=e}var i=e("./aes"),Buffer=e("safe-buffer").Buffer,o=e("cipher-base");e("inherits")(n,o),n.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},n.prototype._final=function(){this._cipher.scrub()},t.exports=n},{"./aes":78,"cipher-base":109,inherits:248,"safe-buffer":313}],95:[function(e,t,r){function n(e,t,r){if(e=e.toLowerCase(),f[e])return s.createCipheriv(e,t,r);if(c[e])return new a({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function i(e,t,r){if(e=e.toLowerCase(),f[e])return s.createDecipheriv(e,t,r);if(c[e])return new a({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}var o=e("evp_bytestokey"),s=e("browserify-aes/browser"),a=e("browserify-des"),c=e("browserify-des/modes"),f=e("browserify-aes/modes");r.createCipher=r.Cipher=function(e,t){var r,i;if(e=e.toLowerCase(),f[e])r=f[e].key,i=f[e].iv;else{if(!c[e])throw new TypeError("invalid suite type");r=8*c[e].key,i=c[e].iv}var s=o(t,!1,r,i);return n(e,s.key,s.iv)},r.createCipheriv=r.Cipheriv=n,r.createDecipher=r.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),f[e])r=f[e].key,n=f[e].iv;else{if(!c[e])throw new TypeError("invalid suite type");r=8*c[e].key,n=c[e].iv}var s=o(t,!1,r,n);return i(e,s.key,s.iv)},r.createDecipheriv=r.Decipheriv=i,r.listCiphers=r.getCiphers=function(){return Object.keys(c).concat(s.getCiphers())}},{"browserify-aes/browser":80,"browserify-aes/modes":91,"browserify-des":96,"browserify-des/modes":97,evp_bytestokey:231}],96:[function(e,t,r){(function(Buffer){function r(e){n.call(this);var t,r=e.mode.toLowerCase(),i=s[r];t=e.decrypt?"decrypt":"encrypt";var o=e.key;"des-ede"!==r&&"des-ede-cbc"!==r||(o=Buffer.concat([o,o.slice(0,8)]));var a=e.iv;this._des=i.create({key:o,iv:a,type:t})}var n=e("cipher-base"),i=e("des.js"),o=e("inherits"),s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],t.exports=r,o(r,n),r.prototype._update=function(e){return new Buffer(this._des.update(e))},r.prototype._final=function(){return new Buffer(this._des.final())}}).call(this,e("buffer").Buffer)},{buffer:105,"cipher-base":109,"des.js":214,inherits:248}],97:[function(e,t,r){r["des-ecb"]={key:8,iv:0},r["des-cbc"]=r.des={key:8,iv:8},r["des-ede3-cbc"]=r.des3={key:24,iv:8},r["des-ede3"]={key:24,iv:0},r["des-ede-cbc"]={key:16,iv:8},r["des-ede"]={key:16,iv:0}},{}],98:[function(e,t,r){"use strict";function n(e){this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(Buffer.isEncoding===l||!l(e)))throw new Error("Unknown encoding: "+e);return t||e}(e);var t;switch(this.encoding){case"utf16le":this.text=s,this.end=a,t=4;break;case"utf8":this.fillLast=o,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=u,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=Buffer.allocUnsafe(t)}function i(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function o(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(r);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�".repeat(r+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�".repeat(r+2)}}(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function s(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function a(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function u(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}var Buffer=e("safe-buffer").Buffer,l=Buffer.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};r.StringDecoder=n,n.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},n.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�".repeat(this.lastTotal-this.lastNeed):t},n.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var o=i(t[n]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--n<r?0:(o=i(t[n]))>=0?(o>0&&(e.lastNeed=o-2),o):--n<r?0:(o=i(t[n]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":313}],99:[function(e,t,r){arguments[4][74][0].apply(r,arguments)},{"base-x":22,dup:74}],100:[function(e,t,r){"use strict";var n=e("bs58"),Buffer=e("safe-buffer").Buffer;t.exports=function(e){function t(t){var r=t.slice(0,-4),n=t.slice(-4),i=e(r);if(!(n[0]^i[0]|n[1]^i[1]|n[2]^i[2]|n[3]^i[3]))return r}return{encode:function(t){var r=e(t);return n.encode(Buffer.concat([t,r],t.length+4))},decode:function(e){var r=t(n.decode(e));if(!r)throw new Error("Invalid checksum");return r},decodeUnsafe:function(e){var r=n.decodeUnsafe(e);if(r)return t(r)}}}},{bs58:99,"safe-buffer":313}],101:[function(e,t,r){"use strict";var n=e("create-hash"),i=e("./base");t.exports=i(function(e){var t=n("sha256").update(e).digest();return n("sha256").update(t).digest()})},{"./base":100,"create-hash":130}],102:[function(e,t,r){(function(Buffer){"use strict";t.exports=function(e,t){if(!Buffer.isBuffer(e)||!Buffer.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return!0;if("function"==typeof e.equals)return e.equals(t);if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}}).call(this,{isBuffer:e("../is-buffer/index.js")})},{"../is-buffer/index.js":249}],103:[function(e,t,r){(function(Buffer){t.exports=function(e){for(var t=new Buffer(e.length),r=0,n=e.length-1;r<=n;++r,--n)t[r]=e[n],t[n]=e[r];return t}}).call(this,e("buffer").Buffer)},{buffer:105}],104:[function(e,t,r){(function(Buffer){t.exports=function(e,t){for(var r=Math.min(e.length,t.length),n=new Buffer(r),i=0;i<r;++i)n[i]=e[i]^t[i];return n}}).call(this,e("buffer").Buffer)},{buffer:105}],105:[function(e,t,r){"use strict";function n(e){if(e>O)throw new RangeError("Invalid typed array length");var t=new Uint8Array(e);return t.__proto__=Buffer.prototype,t}function Buffer(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return s(e)}return i(e,t,r)}function i(e,t,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return B(e)?function(e,t,r){if(t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(r||0))throw new RangeError("'length' is out of bounds");var n;n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r);return n.__proto__=Buffer.prototype,n}(e,t,r):"string"==typeof e?function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!Buffer.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var r=0|f(e,t),i=n(r),o=i.write(e,t);o!==r&&(i=i.slice(0,o));return i}(e,t):function(e){if(Buffer.isBuffer(e)){var t=0|c(e.length),r=n(t);return 0===r.length?r:(e.copy(r,0,0,t),r)}if(e){if(P(e)||"length"in e)return"number"!=typeof e.length||M(e.length)?n(0):a(e);if("Buffer"===e.type&&Array.isArray(e.data))return a(e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e)}function o(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function s(e){return o(e),n(e<0?0:0|c(e))}function a(e){for(var t=e.length<0?0:0|c(e.length),r=n(t),i=0;i<t;i+=1)r[i]=255&e[i];return r}function c(e){if(e>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return 0|e}function f(e,t){if(Buffer.isBuffer(e))return e.length;if(P(e)||B(e))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return x(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return I(e).length;default:if(n)return x(e).length;t=(""+t).toLowerCase(),n=!0}}function u(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0);(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=function(e){return e<16?"0"+e.toString(16):e.toString(16)}(e[o]);return i}(this,t,r);case"utf8":case"utf-8":return w(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return function(e,t,r){return 0===t&&r===e.length?C.fromByteArray(e):C.fromByteArray(e.slice(t,r))}(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function h(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function l(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,M(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=Buffer.from(t,n)),Buffer.isBuffer(t))return 0===t.length?-1:d(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):d(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function d(e,t,r,n,i){function o(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}var s=1,a=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,c/=2,r/=2}var f;if(i){var u=-1;for(f=r;f<a;f++)if(o(e,f)===o(t,-1===u?0:f-u)){if(-1===u&&(u=f),f-u+1===c)return u*s}else-1!==u&&(f-=f-u),u=-1}else for(r+c>a&&(r=a-c),f=r;f>=0;f--){for(var h=!0,l=0;l<c;l++)if(o(e,f+l)!==o(t,l)){h=!1;break}if(h)return f}return-1}function p(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(t.substr(2*s,2),16);if(M(a))return s;e[r+s]=a}return s}function b(e,t,r,n){return T(x(t,e.length-r),e,r,n)}function y(e,t,r,n){return T(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function v(e,t,r,n){return y(e,t,r,n)}function m(e,t,r,n){return T(I(t),e,r,n)}function g(e,t,r,n){return T(function(e,t){for(var r,n,i,o=[],s=0;s<e.length&&!((t-=2)<0);++s)r=e.charCodeAt(s),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function w(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o=e[i],s=null,a=o>239?4:o>223?3:o>191?2:1;if(i+a<=r){var c,f,u,h;switch(a){case 1:o<128&&(s=o);break;case 2:128==(192&(c=e[i+1]))&&(h=(31&o)<<6|63&c)>127&&(s=h);break;case 3:c=e[i+1],f=e[i+2],128==(192&c)&&128==(192&f)&&(h=(15&o)<<12|(63&c)<<6|63&f)>2047&&(h<55296||h>57343)&&(s=h);break;case 4:c=e[i+1],f=e[i+2],u=e[i+3],128==(192&c)&&128==(192&f)&&128==(192&u)&&(h=(15&o)<<18|(63&c)<<12|(63&f)<<6|63&u)>65535&&h<1114112&&(s=h)}}null===s?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=a}return function(e){var t=e.length;if(t<=L)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=L));return r}(n)}function _(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function E(e,t,r,n,i,o){if(!Buffer.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function S(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function k(e,t,r,n,i){return t=+t,r>>>=0,i||S(e,0,r,4),R.write(e,t,r,n,23,4),r+4}function A(e,t,r,n,i){return t=+t,r>>>=0,i||S(e,0,r,8),R.write(e,t,r,n,52,8),r+8}function x(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function I(e){return C.toByteArray(function(e){if((e=e.trim().replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function B(e){return e instanceof ArrayBuffer||null!=e&&null!=e.constructor&&"ArrayBuffer"===e.constructor.name&&"number"==typeof e.byteLength}function P(e){return"function"==typeof ArrayBuffer.isView&&ArrayBuffer.isView(e)}function M(e){return e!=e}var C=e("base64-js"),R=e("ieee754");r.Buffer=Buffer,r.SlowBuffer=function(e){return+e!=e&&(e=0),Buffer.alloc(+e)},r.INSPECT_MAX_BYTES=50;var O=2147483647;r.kMaxLength=O,(Buffer.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}())||"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&&Buffer[Symbol.species]===Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),Buffer.poolSize=8192,Buffer.from=function(e,t,r){return i(e,t,r)},Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array,Buffer.alloc=function(e,t,r){return function(e,t,r){return o(e),e<=0?n(e):void 0!==t?"string"==typeof r?n(e).fill(t,r):n(e).fill(t):n(e)}(e,t,r)},Buffer.allocUnsafe=function(e){return s(e)},Buffer.allocUnsafeSlow=function(e){return s(e)},Buffer.isBuffer=function(e){return null!=e&&!0===e._isBuffer},Buffer.compare=function(e,t){if(!Buffer.isBuffer(e)||!Buffer.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},Buffer.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Buffer.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Buffer.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=Buffer.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(!Buffer.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},Buffer.byteLength=f,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},Buffer.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},Buffer.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},Buffer.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?w(this,0,e):u.apply(this,arguments)},Buffer.prototype.equals=function(e){if(!Buffer.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Buffer.compare(this,e)},Buffer.prototype.inspect=function(){var e="",t=r.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},Buffer.prototype.compare=function(e,t,r,n,i){if(!Buffer.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,s=r-t,a=Math.min(o,s),c=this.slice(n,i),f=e.slice(t,r),u=0;u<a;++u)if(c[u]!==f[u]){o=c[u],s=f[u];break}return o<s?-1:s<o?1:0},Buffer.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},Buffer.prototype.indexOf=function(e,t,r){return l(this,e,t,r,!0)},Buffer.prototype.lastIndexOf=function(e,t,r){return l(this,e,t,r,!1)},Buffer.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return p(this,e,t,r);case"utf8":case"utf-8":return b(this,e,t,r);case"ascii":return y(this,e,t,r);case"latin1":case"binary":return v(this,e,t,r);case"base64":return m(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return g(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},Buffer.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;Buffer.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return n.__proto__=Buffer.prototype,n},Buffer.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},Buffer.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},Buffer.prototype.readUInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),this[e]},Buffer.prototype.readUInt16LE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]|this[e+1]<<8},Buffer.prototype.readUInt16BE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]<<8|this[e+1]},Buffer.prototype.readUInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Buffer.prototype.readUInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Buffer.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},Buffer.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},Buffer.prototype.readInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Buffer.prototype.readInt16LE=function(e,t){e>>>=0,t||_(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt16BE=function(e,t){e>>>=0,t||_(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Buffer.prototype.readInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Buffer.prototype.readFloatLE=function(e,t){return e>>>=0,t||_(e,4,this.length),R.read(this,e,!0,23,4)},Buffer.prototype.readFloatBE=function(e,t){return e>>>=0,t||_(e,4,this.length),R.read(this,e,!1,23,4)},Buffer.prototype.readDoubleLE=function(e,t){return e>>>=0,t||_(e,8,this.length),R.read(this,e,!0,52,8)},Buffer.prototype.readDoubleBE=function(e,t){return e>>>=0,t||_(e,8,this.length),R.read(this,e,!1,52,8)},Buffer.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){E(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},Buffer.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){E(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},Buffer.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,255,0),this[t]=255&e,t+1},Buffer.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},Buffer.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},Buffer.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},Buffer.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Buffer.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},Buffer.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},Buffer.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},Buffer.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},Buffer.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},Buffer.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},Buffer.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Buffer.prototype.writeFloatLE=function(e,t,r){return k(this,e,t,!0,r)},Buffer.prototype.writeFloatBE=function(e,t,r){return k(this,e,t,!1,r)},Buffer.prototype.writeDoubleLE=function(e,t,r){return A(this,e,t,!0,r)},Buffer.prototype.writeDoubleBE=function(e,t,r){return A(this,e,t,!1,r)},Buffer.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},Buffer.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!Buffer.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var s=Buffer.isBuffer(e)?e:new Buffer(e,n),a=s.length;for(o=0;o<r-t;++o)this[o+t]=s[o%a]}return this};var j=/[^+/0-9A-Za-z-_]/g},{"base64-js":106,ieee754:246}],106:[function(e,t,r){"use strict";function n(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function i(e){return s[e>>18&63]+s[e>>12&63]+s[e>>6&63]+s[63&e]}function o(e,t,r){for(var n,o=[],s=t;s<r;s+=3)n=(e[s]<<16)+(e[s+1]<<8)+e[s+2],o.push(i(n));return o.join("")}r.byteLength=function(e){return 3*e.length/4-n(e)},r.toByteArray=function(e){var t,r,i,o,s,f=e.length;o=n(e),s=new c(3*f/4-o),r=o>0?f-4:f;var u=0;for(t=0;t<r;t+=4)i=a[e.charCodeAt(t)]<<18|a[e.charCodeAt(t+1)]<<12|a[e.charCodeAt(t+2)]<<6|a[e.charCodeAt(t+3)],s[u++]=i>>16&255,s[u++]=i>>8&255,s[u++]=255&i;return 2===o?(i=a[e.charCodeAt(t)]<<2|a[e.charCodeAt(t+1)]>>4,s[u++]=255&i):1===o&&(i=a[e.charCodeAt(t)]<<10|a[e.charCodeAt(t+1)]<<4|a[e.charCodeAt(t+2)]>>2,s[u++]=i>>8&255,s[u++]=255&i),s},r.fromByteArray=function(e){for(var t,r=e.length,n=r%3,i="",a=[],c=0,f=r-n;c<f;c+=16383)a.push(o(e,c,c+16383>f?f:c+16383));return 1===n?(t=e[r-1],i+=s[t>>2],i+=s[t<<4&63],i+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],i+=s[t>>10],i+=s[t>>4&63],i+=s[t<<2&63],i+="="),a.push(i),a.join("")};for(var s=[],a=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,h=f.length;u<h;++u)s[u]=f[u],a[f.charCodeAt(u)]=u;a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63},{}],107:[function(e,t,r){"use strict";function n(e){var t=e.shiftRight(35),r=BigInteger.fromHex("07ffffffff"),n=e.and(r).shiftLeft(new BigInteger("5"));return t.and(new BigInteger("1")).intValue()>0&&(n=n.xor(BigInteger.fromHex("98f2bc8e61"))),t.and(new BigInteger("2")).intValue()&&(n=n.xor(BigInteger.fromHex("79b76d99e2"))),t.and(new BigInteger("4")).intValue()&&(n=n.xor(BigInteger.fromHex("f33e5fb3c4"))),t.and(new BigInteger("8")).intValue()&&(n=n.xor(BigInteger.fromHex("ae2eabe2a8"))),t.and(new BigInteger("16")).intValue()&&(n=n.xor(BigInteger.fromHex("1e4f43e470"))),n}function i(e){for(var t=new BigInteger("1"),r=0;r<e.length;++r){var i=e.charCodeAt(r),o=new BigInteger(""+(31&i));t=n(t).xor(o)}return t=n(t)}function o(e,t,r,n){for(var i=0,o=0,s=(1<<r)-1,a=[],c=0;c<e.length;++c)for(i=i<<t|e[c],o+=t;o>=r;)o-=r,a.push(i>>>o&s);if(n)o>0&&a.push(i<<r-o&s);else{if(o>=t)throw new Error("Excess padding");if(i<<r-o&s)throw new Error("Non-zero padding")}return a}for(var BigInteger=e("bigi"),s="qpzry9x8gf2tvdw0s3jn54khce6mua7l",a=":",c=8,f={},u=0;u<s.length;u++){var h=s.charAt(u);if(void 0!==f[h])throw new TypeError(h+" is ambiguous");f[h]=u}t.exports={decode:function(e){if(e.length<8)throw new TypeError(e+" too short");if(e.length>90)throw new TypeError(e+" too long");var t=e.toLowerCase(),r=e.toUpperCase();if(e!==t&&e!==r)throw new Error("Mixed-case string "+e);var o=(e=t).lastIndexOf(a);if(-1===o)throw new Error("No separator character for "+e);if(0===o)throw new Error("Missing prefix for "+e);var s=e.slice(0,o),u=e.slice(o+1);if(u.length<6)throw new Error("Data too short");for(var h=i(s),l=[],d=0;d<u.length;++d){var p=u.charAt(d),b=f[p];if(void 0===b)throw new Error("Unknown character "+p);h=n(h).xor(new BigInteger(""+b)),d+c>=u.length||l.push(b)}if("1"!==h.toString(10))throw new Error("Invalid checksum for "+e);return{prefix:s,words:l}},encode:function(e,t){if(e.length+c+1+t.length>90)throw new TypeError("Exceeds Base32 maximum length");for(var r=i(e=e.toLowerCase()),o=e+a,f=0;f<t.length;++f){var u=t[f];if(u>>>5!=0)throw new Error("Non 5-bit word");r=n(r).xor(new BigInteger(""+u)),o+=s.charAt(u)}for(var h=0;h<c;++h)r=n(r);r=r.xor(new BigInteger("1"));for(var l=0;l<c;++l){var d=5*(c-1-l),p=r.shiftRight(new BigInteger(""+d)).and(BigInteger.fromHex("1f"));o+=s.charAt(p.toString(10))}return o},toWords:function(e){return o(e,8,5,!0)},fromWords:function(e){return o(e,5,8,!1)}}},{bigi:26}],108:[function(e,t,r){(function(Buffer){"use strict";function r(e,t){for(var r=Object.keys(e),n=0;n<r.length;n++)if(e[r[n]]===t)return r[n];return null}function n(e,t){var r=function(e,t){if((e===s||e===o)&&160!==t)throw new Error("Invalid hash length for scriptType");return c[e]<<3|a[t]}(e,8*t.length),n=Buffer.allocUnsafe(1+t.length);return n.writeUInt8(r,0),t.copy(n,1),n}var i=e("./base32"),o="scripthash",s="pubkeyhash",a={};a[160]=0,a[192]=1,a[224]=2,a[256]=3,a[320]=4,a[384]=5,a[448]=6,a[512]=7;var c={};c[s]=0,c[o]=1,t.exports={decode:function(e){var t=i.decode(e),n=i.fromWords(t.words);if(n.length<1)throw new Error("Empty payload in address");var f=function(e){var t=e>>>7;if(1&t||t>0)throw new Error("Invalid version, most significant bit is reserved");var n=r(c,e>>3&15);if(null===n)throw new Error("Invalid script type");var i=parseInt(r(a,7&e),10);if((n===s||n===o)&&160!==i)throw new Error("Mismatch between script type and hash length");return{scriptType:n,hashSize:i}}(n[0]);if(1+f.hashSize/8!==n.length)throw new Error("Hash length does not match version");return{version:f.scriptType,prefix:t.prefix,hash:Buffer.from(n.slice(1))}},encode:function(e,t,r){if(!(r instanceof Buffer))throw new Error("Hash should be passed as a Buffer");if(!(t in c))throw new Error("Unsupported script type");return i.encode(e,i.toWords(n(t,r)))}}}).call(this,e("buffer").Buffer)},{"./base32":107,buffer:105}],109:[function(e,t,r){function n(e){i.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}var Buffer=e("safe-buffer").Buffer,i=e("stream").Transform,o=e("string_decoder").StringDecoder;e("inherits")(n,i),n.prototype.update=function(e,t,r){"string"==typeof e&&(e=Buffer.from(e,t));var n=this._update(e);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(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},n.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},n.prototype._finalOrDigest=function(e){var t=this.__final()||Buffer.alloc(0);return e&&(t=this._toString(t,e,!0)),t},n.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},t.exports=n},{inherits:248,"safe-buffer":313,stream:346,string_decoder:98}],110:[function(e,t,r){function n(e){if(e)return function(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}(e)}t.exports=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks[e]=this._callbacks[e]||[]).push(t),this},n.prototype.once=function(e,t){function r(){n.off(e,r),t.apply(this,arguments)}var n=this;return this._callbacks=this._callbacks||{},r.fn=t,this.on(e,r),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r=this._callbacks[e];if(!r)return this;if(1==arguments.length)return delete this._callbacks[e],this;for(var n,i=0;i<r.length;i++)if((n=r[i])===t||n.fn===t){r.splice(i,1);break}return this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),r=this._callbacks[e];if(r)for(var n=0,i=(r=r.slice(0)).length;n<i;++n)r[n].apply(this,t);return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks[e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},{}],111:[function(e,t,r){(function(Buffer){function e(e){return Object.prototype.toString.call(e)}r.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===e(t)},r.isBoolean=function(e){return"boolean"==typeof e},r.isNull=function(e){return null===e},r.isNullOrUndefined=function(e){return null==e},r.isNumber=function(e){return"number"==typeof e},r.isString=function(e){return"string"==typeof e},r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=function(e){return void 0===e},r.isRegExp=function(t){return"[object RegExp]"===e(t)},r.isObject=function(e){return"object"==typeof e&&null!==e},r.isDate=function(t){return"[object Date]"===e(t)},r.isError=function(t){return"[object Error]"===e(t)||t instanceof Error},r.isFunction=function(e){return"function"==typeof e},r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=Buffer.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":249}],112:[function(e,t,r){(function(Buffer){function r(e){this.curveType=s[e],this.curveType||(this.curveType={name:e}),this.curve=new i.ec(this.curveType.name),this.keys=void 0}function n(e,t,r){Array.isArray(e)||(e=e.toArray());var n=new Buffer(e);if(r&&n.length<r){var i=new Buffer(r-n.length);i.fill(0),n=Buffer.concat([i,n])}return t?n.toString(t):n}var i=e("elliptic"),o=e("bn.js");t.exports=function(e){return new r(e)};var s={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};s.p224=s.secp224r1,s.p256=s.secp256r1=s.prime256v1,s.p192=s.secp192r1=s.prime192v1,s.p384=s.secp384r1,s.p521=s.secp521r1,r.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},r.prototype.computeSecret=function(e,t,r){t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t));return n(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},r.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),n(r,e)},r.prototype.getPrivateKey=function(e){return n(this.keys.getPrivate(),e)},r.prototype.setPublicKey=function(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this.keys._importPublic(e),this},r.prototype.setPrivateKey=function(e,t){t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t));var r=new o(e);return r=r.toString(16),this.keys._importPrivate(r),this}}).call(this,e("buffer").Buffer)},{"bn.js":113,buffer:105,elliptic:114}],113:[function(e,t,r){!function(t,r){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}function s(e,t,r){for(var n=0,i=Math.min(e.length,r),o=t;o<i;o++){var s=e.charCodeAt(o)-48;n<<=4,n|=s>=49&&s<=54?s-49+10:s>=17&&s<=22?s-17+10:15&s}return n}function a(e,t,r,n){for(var i=0,o=Math.min(e.length,r),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=n,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}function c(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var f=1;f<n;f++){for(var u=c>>>26,h=67108863&c,l=Math.min(f,t.length-1),d=Math.max(0,f-e.length+1);d<=l;d++){var p=f-d|0;u+=(s=(i=0|e.words[p])*(o=0|t.words[d])+h)/67108864|0,h=67108863&s}r.words[f]=0|h,c=0|u}return 0!==c?r.words[f]=0|c:r.length--,r.strip()}function f(e,t,r){return(new u).mulp(e,t,r)}function u(e,t){this.x=e,this.y=t}function h(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function l(){h.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function d(){h.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function p(){h.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function b(){h.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function y(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function v(e){y.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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)}"object"==typeof t?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;var Buffer;try{Buffer=e("buffer").Buffer}catch(e){}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,s,a=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=e.length-6,n=0;r>=t;r-=6)i=s(e,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==t&&(i=s(e,t,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,s=o%n,c=Math.min(o,o-s)+r,f=0,u=r;u<c;u+=n)f=a(e,u,u+n,t),this.imuln(i),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if(0!==s){var h=1;for(f=a(e,u,e.length,t),u=0;u<s;u++)h*=t;this.imuln(h),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f)}},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var m=["","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"],g=[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];o.prototype.toString=function(e,t){e=e||10,t=0|t||1;var r;if(16===e||"hex"===e){r="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],c=(16777215&(a<<i|o)).toString(16);r=0!==(o=a>>>24-i&16777215)||s!==this.length-1?m[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,s--)}for(0!==o&&(r=o.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var f=g[e],u=w[e];r="";var h=this.clone();for(h.negative=0;!h.isZero();){var l=h.modn(u).toString(e);r=(h=h.idivn(u)).isZero()?l+r:m[f-l.length]+l+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return n(void 0!==Buffer),this.toArrayLike(Buffer,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var s,a,c="le"===t,f=new e(o),u=this.clone();if(c){for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),f[a]=s;for(;a<o;a++)f[a]=0}else{for(a=0;a<o-i;a++)f[a]=0;for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),f[o-a-1]=s}return f},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();var r,n;this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;var n,i;r>0?(n=this,i=e):(n=e,i=this);for(var o=0,s=0;s<i.length;s++)o=(t=(0|n.words[s])-(0|i.words[s])+o)>>26,this.words[s]=67108863&t;for(;0!==o&&s<n.length;s++)o=(t=(0|n.words[s])+o)>>26,this.words[s]=67108863&t;if(0===o&&s<n.length&&n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this.length=Math.max(this.length,s),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var _=function(e,t,r){var n,i,o,s=e.words,a=t.words,c=r.words,f=0,u=0|s[0],h=8191&u,l=u>>>13,d=0|s[1],p=8191&d,b=d>>>13,y=0|s[2],v=8191&y,m=y>>>13,g=0|s[3],w=8191&g,_=g>>>13,E=0|s[4],S=8191&E,k=E>>>13,A=0|s[5],x=8191&A,I=A>>>13,T=0|s[6],B=8191&T,P=T>>>13,M=0|s[7],C=8191&M,R=M>>>13,O=0|s[8],L=8191&O,j=O>>>13,N=0|s[9],D=8191&N,U=N>>>13,K=0|a[0],H=8191&K,z=K>>>13,q=0|a[1],F=8191&q,W=q>>>13,V=0|a[2],G=8191&V,Y=V>>>13,J=0|a[3],X=8191&J,Z=J>>>13,$=0|a[4],Q=8191&$,ee=$>>>13,te=0|a[5],re=8191&te,ne=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ce=8191&ae,fe=ae>>>13,ue=0|a[8],he=8191&ue,le=ue>>>13,de=0|a[9],pe=8191&de,be=de>>>13;r.negative=e.negative^t.negative,r.length=19;var ye=(f+(n=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(l,H)|0))<<13)|0;f=((o=Math.imul(l,z))+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(b,H)|0,o=Math.imul(b,z);var ve=(f+(n=n+Math.imul(h,F)|0)|0)+((8191&(i=(i=i+Math.imul(h,W)|0)+Math.imul(l,F)|0))<<13)|0;f=((o=o+Math.imul(l,W)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(m,H)|0,o=Math.imul(m,z),n=n+Math.imul(p,F)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(b,F)|0,o=o+Math.imul(b,W)|0;var me=(f+(n=n+Math.imul(h,G)|0)|0)+((8191&(i=(i=i+Math.imul(h,Y)|0)+Math.imul(l,G)|0))<<13)|0;f=((o=o+Math.imul(l,Y)|0)+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,z))+Math.imul(_,H)|0,o=Math.imul(_,z),n=n+Math.imul(v,F)|0,i=(i=i+Math.imul(v,W)|0)+Math.imul(m,F)|0,o=o+Math.imul(m,W)|0,n=n+Math.imul(p,G)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(b,G)|0,o=o+Math.imul(b,Y)|0;var ge=(f+(n=n+Math.imul(h,X)|0)|0)+((8191&(i=(i=i+Math.imul(h,Z)|0)+Math.imul(l,X)|0))<<13)|0;f=((o=o+Math.imul(l,Z)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(S,H),i=(i=Math.imul(S,z))+Math.imul(k,H)|0,o=Math.imul(k,z),n=n+Math.imul(w,F)|0,i=(i=i+Math.imul(w,W)|0)+Math.imul(_,F)|0,o=o+Math.imul(_,W)|0,n=n+Math.imul(v,G)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,Y)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,Z)|0;var we=(f+(n=n+Math.imul(h,Q)|0)|0)+((8191&(i=(i=i+Math.imul(h,ee)|0)+Math.imul(l,Q)|0))<<13)|0;f=((o=o+Math.imul(l,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(I,H)|0,o=Math.imul(I,z),n=n+Math.imul(S,F)|0,i=(i=i+Math.imul(S,W)|0)+Math.imul(k,F)|0,o=o+Math.imul(k,W)|0,n=n+Math.imul(w,G)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(_,G)|0,o=o+Math.imul(_,Y)|0,n=n+Math.imul(v,X)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(b,Q)|0,o=o+Math.imul(b,ee)|0;var _e=(f+(n=n+Math.imul(h,re)|0)|0)+((8191&(i=(i=i+Math.imul(h,ne)|0)+Math.imul(l,re)|0))<<13)|0;f=((o=o+Math.imul(l,ne)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(P,H)|0,o=Math.imul(P,z),n=n+Math.imul(x,F)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(I,F)|0,o=o+Math.imul(I,W)|0,n=n+Math.imul(S,G)|0,i=(i=i+Math.imul(S,Y)|0)+Math.imul(k,G)|0,o=o+Math.imul(k,Y)|0,n=n+Math.imul(w,X)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(b,re)|0,o=o+Math.imul(b,ne)|0;var Ee=(f+(n=n+Math.imul(h,oe)|0)|0)+((8191&(i=(i=i+Math.imul(h,se)|0)+Math.imul(l,oe)|0))<<13)|0;f=((o=o+Math.imul(l,se)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(R,H)|0,o=Math.imul(R,z),n=n+Math.imul(B,F)|0,i=(i=i+Math.imul(B,W)|0)+Math.imul(P,F)|0,o=o+Math.imul(P,W)|0,n=n+Math.imul(x,G)|0,i=(i=i+Math.imul(x,Y)|0)+Math.imul(I,G)|0,o=o+Math.imul(I,Y)|0,n=n+Math.imul(S,X)|0,i=(i=i+Math.imul(S,Z)|0)+Math.imul(k,X)|0,o=o+Math.imul(k,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(m,re)|0,o=o+Math.imul(m,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,se)|0;var Se=(f+(n=n+Math.imul(h,ce)|0)|0)+((8191&(i=(i=i+Math.imul(h,fe)|0)+Math.imul(l,ce)|0))<<13)|0;f=((o=o+Math.imul(l,fe)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(j,H)|0,o=Math.imul(j,z),n=n+Math.imul(C,F)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(R,F)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(B,G)|0,i=(i=i+Math.imul(B,Y)|0)+Math.imul(P,G)|0,o=o+Math.imul(P,Y)|0,n=n+Math.imul(x,X)|0,i=(i=i+Math.imul(x,Z)|0)+Math.imul(I,X)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,ee)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(_,re)|0,o=o+Math.imul(_,ne)|0,n=n+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,se)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,n=n+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,fe)|0)+Math.imul(b,ce)|0,o=o+Math.imul(b,fe)|0;var ke=(f+(n=n+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,le)|0)+Math.imul(l,he)|0))<<13)|0;f=((o=o+Math.imul(l,le)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(D,H),i=(i=Math.imul(D,z))+Math.imul(U,H)|0,o=Math.imul(U,z),n=n+Math.imul(L,F)|0,i=(i=i+Math.imul(L,W)|0)+Math.imul(j,F)|0,o=o+Math.imul(j,W)|0,n=n+Math.imul(C,G)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(R,G)|0,o=o+Math.imul(R,Y)|0,n=n+Math.imul(B,X)|0,i=(i=i+Math.imul(B,Z)|0)+Math.imul(P,X)|0,o=o+Math.imul(P,Z)|0,n=n+Math.imul(x,Q)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,n=n+Math.imul(S,re)|0,i=(i=i+Math.imul(S,ne)|0)+Math.imul(k,re)|0,o=o+Math.imul(k,ne)|0,n=n+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,se)|0)+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,n=n+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,fe)|0)+Math.imul(m,ce)|0,o=o+Math.imul(m,fe)|0,n=n+Math.imul(p,he)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(b,he)|0,o=o+Math.imul(b,le)|0;var Ae=(f+(n=n+Math.imul(h,pe)|0)|0)+((8191&(i=(i=i+Math.imul(h,be)|0)+Math.imul(l,pe)|0))<<13)|0;f=((o=o+Math.imul(l,be)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(D,F),i=(i=Math.imul(D,W))+Math.imul(U,F)|0,o=Math.imul(U,W),n=n+Math.imul(L,G)|0,i=(i=i+Math.imul(L,Y)|0)+Math.imul(j,G)|0,o=o+Math.imul(j,Y)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,Z)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,Z)|0,n=n+Math.imul(B,Q)|0,i=(i=i+Math.imul(B,ee)|0)+Math.imul(P,Q)|0,o=o+Math.imul(P,ee)|0,n=n+Math.imul(x,re)|0,i=(i=i+Math.imul(x,ne)|0)+Math.imul(I,re)|0,o=o+Math.imul(I,ne)|0,n=n+Math.imul(S,oe)|0,i=(i=i+Math.imul(S,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,n=n+Math.imul(w,ce)|0,i=(i=i+Math.imul(w,fe)|0)+Math.imul(_,ce)|0,o=o+Math.imul(_,fe)|0,n=n+Math.imul(v,he)|0,i=(i=i+Math.imul(v,le)|0)+Math.imul(m,he)|0,o=o+Math.imul(m,le)|0;var xe=(f+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,be)|0)+Math.imul(b,pe)|0))<<13)|0;f=((o=o+Math.imul(b,be)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(D,G),i=(i=Math.imul(D,Y))+Math.imul(U,G)|0,o=Math.imul(U,Y),n=n+Math.imul(L,X)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(j,X)|0,o=o+Math.imul(j,Z)|0,n=n+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,n=n+Math.imul(B,re)|0,i=(i=i+Math.imul(B,ne)|0)+Math.imul(P,re)|0,o=o+Math.imul(P,ne)|0,n=n+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,se)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,se)|0,n=n+Math.imul(S,ce)|0,i=(i=i+Math.imul(S,fe)|0)+Math.imul(k,ce)|0,o=o+Math.imul(k,fe)|0,n=n+Math.imul(w,he)|0,i=(i=i+Math.imul(w,le)|0)+Math.imul(_,he)|0,o=o+Math.imul(_,le)|0;var Ie=(f+(n=n+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,be)|0)+Math.imul(m,pe)|0))<<13)|0;f=((o=o+Math.imul(m,be)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(D,X),i=(i=Math.imul(D,Z))+Math.imul(U,X)|0,o=Math.imul(U,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,ee)|0)+Math.imul(j,Q)|0,o=o+Math.imul(j,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(R,re)|0,o=o+Math.imul(R,ne)|0,n=n+Math.imul(B,oe)|0,i=(i=i+Math.imul(B,se)|0)+Math.imul(P,oe)|0,o=o+Math.imul(P,se)|0,n=n+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,fe)|0)+Math.imul(I,ce)|0,o=o+Math.imul(I,fe)|0,n=n+Math.imul(S,he)|0,i=(i=i+Math.imul(S,le)|0)+Math.imul(k,he)|0,o=o+Math.imul(k,le)|0;var Te=(f+(n=n+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,be)|0)+Math.imul(_,pe)|0))<<13)|0;f=((o=o+Math.imul(_,be)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(D,Q),i=(i=Math.imul(D,ee))+Math.imul(U,Q)|0,o=Math.imul(U,ee),n=n+Math.imul(L,re)|0,i=(i=i+Math.imul(L,ne)|0)+Math.imul(j,re)|0,o=o+Math.imul(j,ne)|0,n=n+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,se)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,se)|0,n=n+Math.imul(B,ce)|0,i=(i=i+Math.imul(B,fe)|0)+Math.imul(P,ce)|0,o=o+Math.imul(P,fe)|0,n=n+Math.imul(x,he)|0,i=(i=i+Math.imul(x,le)|0)+Math.imul(I,he)|0,o=o+Math.imul(I,le)|0;var Be=(f+(n=n+Math.imul(S,pe)|0)|0)+((8191&(i=(i=i+Math.imul(S,be)|0)+Math.imul(k,pe)|0))<<13)|0;f=((o=o+Math.imul(k,be)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(D,re),i=(i=Math.imul(D,ne))+Math.imul(U,re)|0,o=Math.imul(U,ne),n=n+Math.imul(L,oe)|0,i=(i=i+Math.imul(L,se)|0)+Math.imul(j,oe)|0,o=o+Math.imul(j,se)|0,n=n+Math.imul(C,ce)|0,i=(i=i+Math.imul(C,fe)|0)+Math.imul(R,ce)|0,o=o+Math.imul(R,fe)|0,n=n+Math.imul(B,he)|0,i=(i=i+Math.imul(B,le)|0)+Math.imul(P,he)|0,o=o+Math.imul(P,le)|0;var Pe=(f+(n=n+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,be)|0)+Math.imul(I,pe)|0))<<13)|0;f=((o=o+Math.imul(I,be)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(D,oe),i=(i=Math.imul(D,se))+Math.imul(U,oe)|0,o=Math.imul(U,se),n=n+Math.imul(L,ce)|0,i=(i=i+Math.imul(L,fe)|0)+Math.imul(j,ce)|0,o=o+Math.imul(j,fe)|0,n=n+Math.imul(C,he)|0,i=(i=i+Math.imul(C,le)|0)+Math.imul(R,he)|0,o=o+Math.imul(R,le)|0;var Me=(f+(n=n+Math.imul(B,pe)|0)|0)+((8191&(i=(i=i+Math.imul(B,be)|0)+Math.imul(P,pe)|0))<<13)|0;f=((o=o+Math.imul(P,be)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(D,ce),i=(i=Math.imul(D,fe))+Math.imul(U,ce)|0,o=Math.imul(U,fe),n=n+Math.imul(L,he)|0,i=(i=i+Math.imul(L,le)|0)+Math.imul(j,he)|0,o=o+Math.imul(j,le)|0;var Ce=(f+(n=n+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,be)|0)+Math.imul(R,pe)|0))<<13)|0;f=((o=o+Math.imul(R,be)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(D,he),i=(i=Math.imul(D,le))+Math.imul(U,he)|0,o=Math.imul(U,le);var Re=(f+(n=n+Math.imul(L,pe)|0)|0)+((8191&(i=(i=i+Math.imul(L,be)|0)+Math.imul(j,pe)|0))<<13)|0;f=((o=o+Math.imul(j,be)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863;var Oe=(f+(n=Math.imul(D,pe))|0)+((8191&(i=(i=Math.imul(D,be))+Math.imul(U,pe)|0))<<13)|0;return f=((o=Math.imul(U,be))+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,c[0]=ye,c[1]=ve,c[2]=me,c[3]=ge,c[4]=we,c[5]=_e,c[6]=Ee,c[7]=Se,c[8]=ke,c[9]=Ae,c[10]=xe,c[11]=Ie,c[12]=Te,c[13]=Be,c[14]=Pe,c[15]=Me,c[16]=Ce,c[17]=Re,c[18]=Oe,0!==f&&(c[19]=f,r.length++),r};Math.imul||(_=c),o.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?_(this,e,t):r<63?c(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var s=i;i=0;for(var a=67108863&n,c=Math.min(o,t.length-1),f=Math.max(0,o-e.length+1);f<=c;f++){var u=o-f,h=(0|e.words[u])*(0|t.words[f]),l=67108863&h;a=67108863&(l=l+a|0),i+=(s=(s=s+(h/67108864|0)|0)+(l>>>26)|0)>>>26,s&=67108863}r.words[o]=a,n=s,s=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):f(this,e,t)},u.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},u.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},u.prototype.permute=function(e,t,r,n,i,o){for(var s=0;s<o;s++)n[s]=t[e[s]],i[s]=r[e[s]]},u.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,c=Math.cos(2*Math.PI/a),f=Math.sin(2*Math.PI/a),u=0;u<i;u+=a)for(var h=c,l=f,d=0;d<s;d++){var p=r[u+d],b=n[u+d],y=r[u+d+s],v=n[u+d+s],m=h*y-l*v;v=h*v+l*y,y=m,r[u+d]=p+y,n[u+d]=b+v,r[u+d+s]=p-y,n[u+d+s]=b-v,d!==a&&(m=c*h-f*l,l=c*l+f*h,h=m)}},u.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},u.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},u.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},u.prototype.convert13b=function(e,t,r,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],r[2*s]=8191&o,o>>>=13,r[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)r[s]=0;n(0===o),n(0==(-8192&o))},u.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},u.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),s=new Array(n),a=new Array(n),c=new Array(n),f=new Array(n),u=new Array(n),h=new Array(n),l=r.words;l.length=n,this.convert13b(e.words,e.length,s,n),this.convert13b(t.words,t.length,f,n),this.transform(s,o,a,c,n,i),this.transform(f,o,u,h,n,i);for(var d=0;d<n;d++){var p=a[d]*u[d]-c[d]*h[d];c[d]=a[d]*h[d]+c[d]*u[d],a[d]=p}return this.conjugate(a,c,n),this.transform(a,c,l,o,n,i),this.conjugate(l,o,n),this.normalize13b(l,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),f(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[r]=67108863&o}return 0!==t&&(this.words[r]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,c=(0|this.words[t])-a<<r;this.words[t]=c|s,s=a>>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){n("number"==typeof e&&e>=0);var i;i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,c=r;if(i-=s,i=Math.max(0,i),c){for(var f=0;f<s;f++)c.words[f]=this.words[f];c.length=s}if(0===s);else if(this.length>s)for(this.length-=s,f=0;f<this.length;f++)this.words[f]=this.words[f+s];else this.words[0]=0,this.length=1;var u=0;for(f=this.length-1;f>=0&&(0!==u||f>=i);f--){var h=0|this.words[f];this.words[f]=u<<26-o|h>>>o,u=h&a}return c&&0!==u&&(c.words[c.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return!1;return!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o=e.length+r;this._expand(o);var s,a=0;for(i=0;i<e.length;i++){s=(0|this.words[i+r])+a;var c=(0|e.words[i])*t;a=((s-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&s}for(;i<this.length-r;i++)a=(s=(0|this.words[i+r])+a)>>26,this.words[i+r]=67108863&s;if(0===a)return this.strip();for(n(-1===a),a=0,i=0;i<this.length;i++)a=(s=-(0|this.words[i])+a)>>26,this.words[i]=67108863&s;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,s=0|i.words[i.length-1];0!==(r=26-this._countBits(s))&&(i=i.ushln(r),n.iushln(r),s=0|i.words[i.length-1]);var a,c=n.length-i.length;if("mod"!==t){(a=new o(null)).length=c+1,a.words=new Array(a.length);for(var f=0;f<a.length;f++)a.words[f]=0}var u=n.clone()._ishlnsubmul(i,1,c);0===u.negative&&(n=u,a&&(a.words[c]=1));for(var h=c-1;h>=0;h--){var l=67108864*(0|n.words[i.length+h])+(0|n.words[i.length+h-1]);for(l=Math.min(l/s|0,67108863),n._ishlnsubmul(i,l,h);0!==n.negative;)l--,n.negative=0,n._ishlnsubmul(i,1,h),n.isZero()||(n.negative^=1);a&&(a.words[h]=l)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},o.prototype.divmod=function(e,t,r){if(n(!e.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var i,s,a;return 0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t)},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},o.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),s=new o(0),a=new o(0),c=new o(1),f=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++f;for(var u=r.clone(),h=t.clone();!t.isZero();){for(var l=0,d=1;0==(t.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(t.iushrn(l);l-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(u),s.isub(h)),i.iushrn(1),s.iushrn(1);for(var p=0,b=1;0==(r.words[0]&b)&&p<26;++p,b<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(u),c.isub(h)),a.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(a),s.isub(c)):(r.isub(t),a.isub(i),c.isub(s))}return{a:a,b:c,gcd:r.iushln(f)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),s=new o(0),a=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,f=1;0==(t.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(t.iushrn(c);c-- >0;)i.isOdd()&&i.iadd(a),i.iushrn(1);for(var u=0,h=1;0==(r.words[0]&h)&&u<26;++u,h<<=1);if(u>0)for(r.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(a),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s)):(r.isub(t),s.isub(i))}var l;return(l=0===t.cmpn(1)?i:s).cmpn(0)<0&&l.iadd(e),l},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,s=r;0!==o&&s<this.length;s++){var a=0|this.words[s];o=(a+=o)>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t=e<0;if(0!==this.negative&&!t)return-1;if(0===this.negative&&t)return 1;this.strip();var r;if(this.length>1)r=1;else{t&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];r=i===e?0:i<e?-1:1}return 0!==this.negative?0|-r:r},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new y(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var E={k256:null,p224:null,p192:null,p25519:null};h.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},h.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):r.strip(),r},h.prototype.split=function(e,t){e.iushrn(this.n,0,t)},h.prototype.imulK=function(e){return e.imul(this.k)},i(l,h),l.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(t.words[t.length++]=4194303&i,n=10;n<e.length;n++){var o=0|e.words[n];e.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,e.words[n-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},l.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(d,h),i(p,h),i(b,h),b.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(E[e])return E[e];var t;if("k256"===e)t=new l;else if("p224"===e)t=new d;else if("p192"===e)t=new p;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new b}return E[e]=t,t},y.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},y.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},y.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},y.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},y.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},y.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},y.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},y.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},y.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},y.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},y.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},y.prototype.isqr=function(e){return this.imul(e,e.clone())},y.prototype.sqr=function(e){return this.mul(e,e)},y.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);n(!i.isZero());var a=new o(1).toRed(this),c=a.redNeg(),f=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,f).cmp(c);)u.redIAdd(c);for(var h=this.pow(u,i),l=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=s;0!==d.cmp(a);){for(var b=d,y=0;0!==b.cmp(a);y++)b=b.redSqr();n(y<p);var v=this.pow(h,new o(1).iushln(p-y-1));l=l.redMul(v),h=v.redSqr(),d=d.redMul(h),p=y}return l},y.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},y.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],s=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var f=t.words[n],u=c-1;u>=0;u--){var h=f>>u&1;i!==r[0]&&(i=this.sqr(i)),0!==h||0!==s?(s<<=1,s|=h,(4===++a||0===n&&0===u)&&(i=this.mul(i,r[s]),a=0,s=0)):a=0}c=26}return i},y.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},y.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new v(e)},i(v,y),v.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},v.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},v.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},v.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},v.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t,this)},{buffer:77}],114:[function(e,t,r){"use strict";var n=r;n.version=e("../package.json").version,n.utils=e("./elliptic/utils"),n.rand=e("brorand"),n.curve=e("./elliptic/curve"),n.curves=e("./elliptic/curves"),n.ec=e("./elliptic/ec"),n.eddsa=e("./elliptic/eddsa")},{"../package.json":129,"./elliptic/curve":117,"./elliptic/curves":120,"./elliptic/ec":121,"./elliptic/eddsa":124,"./elliptic/utils":128,brorand:76}],115:[function(e,t,r){"use strict";function n(e,t){this.type=e,this.p=new o(t.p,16),this.red=t.prime?o.red(t.prime):o.mont(this.p),this.zero=new o(0).toRed(this.red),this.one=new o(1).toRed(this.red),this.two=new o(2).toRed(this.red),this.n=t.n&&new o(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function i(e,t){this.curve=e,this.type=t,this.precomputed=null}var o=e("bn.js"),s=e("../../elliptic").utils,a=s.getNAF,c=s.getJSF,f=s.assert;t.exports=n,n.prototype.point=function(){throw new Error("Not implemented")},n.prototype.validate=function(){throw new Error("Not implemented")},n.prototype._fixedNafMul=function(e,t){f(e.precomputed);var r=e._getDoubles(),n=a(t,1),i=(1<<r.step+1)-(r.step%2==0?2:1);i/=3;for(var o=[],s=0;s<n.length;s+=r.step){for(var c=0,t=s+r.step-1;t>=s;t--)c=(c<<1)+n[t];o.push(c)}for(var u=this.jpoint(null,null,null),h=this.jpoint(null,null,null),l=i;l>0;l--){for(s=0;s<o.length;s++){(c=o[s])===l?h=h.mixedAdd(r.points[s]):c===-l&&(h=h.mixedAdd(r.points[s].neg()))}u=u.add(h)}return u.toP()},n.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var i=n.points,o=a(t,r),s=this.jpoint(null,null,null),c=o.length-1;c>=0;c--){for(t=0;c>=0&&0===o[c];c--)t++;if(c>=0&&t++,s=s.dblp(t),c<0)break;var u=o[c];f(0!==u),s="affine"===e.type?u>0?s.mixedAdd(i[u-1>>1]):s.mixedAdd(i[-u-1>>1].neg()):u>0?s.add(i[u-1>>1]):s.add(i[-u-1>>1].neg())}return"affine"===e.type?s.toP():s},n.prototype._wnafMulAdd=function(e,t,r,n,i){for(var o=this._wnafT1,s=this._wnafT2,f=this._wnafT3,u=0,h=0;h<n;h++){var l=(A=t[h])._getNAFPoints(e);o[h]=l.wnd,s[h]=l.points}for(h=n-1;h>=1;h-=2){var d=h-1,p=h;if(1===o[d]&&1===o[p]){var b=[t[d],null,null,t[p]];0===t[d].y.cmp(t[p].y)?(b[1]=t[d].add(t[p]),b[2]=t[d].toJ().mixedAdd(t[p].neg())):0===t[d].y.cmp(t[p].y.redNeg())?(b[1]=t[d].toJ().mixedAdd(t[p]),b[2]=t[d].add(t[p].neg())):(b[1]=t[d].toJ().mixedAdd(t[p]),b[2]=t[d].toJ().mixedAdd(t[p].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],v=c(r[d],r[p]);u=Math.max(v[0].length,u),f[d]=new Array(u),f[p]=new Array(u);for(k=0;k<u;k++){var m=0|v[0][k],g=0|v[1][k];f[d][k]=y[3*(m+1)+(g+1)],f[p][k]=0,s[d]=b}}else f[d]=a(r[d],o[d]),f[p]=a(r[p],o[p]),u=Math.max(f[d].length,u),u=Math.max(f[p].length,u)}for(var w=this.jpoint(null,null,null),_=this._wnafT4,h=u;h>=0;h--){for(var E=0;h>=0;){for(var S=!0,k=0;k<n;k++)_[k]=0|f[k][h],0!==_[k]&&(S=!1);if(!S)break;E++,h--}if(h>=0&&E++,w=w.dblp(E),h<0)break;for(k=0;k<n;k++){var A,x=_[k];0!==x&&(x>0?A=s[k][x-1>>1]:x<0&&(A=s[k][-x-1>>1].neg()),w="affine"===A.type?w.mixedAdd(A):w.add(A))}}for(h=0;h<n;h++)s[h]=null;return i?w:w.toP()},n.BasePoint=i,i.prototype.eq=function(){throw new Error("Not implemented")},i.prototype.validate=function(){return this.curve.validate(this)},n.prototype.decodePoint=function(e,t){e=s.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r){6===e[0]?f(e[e.length-1]%2==0):7===e[0]&&f(e[e.length-1]%2==1);return this.point(e.slice(1,1+r),e.slice(1+r,1+2*r))}if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},i.prototype.encodeCompressed=function(e){return this.encode(e,!0)},i.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},i.prototype.encode=function(e,t){return s.encode(this._encode(t),e)},i.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},i.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},i.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<t;i+=e){for(var o=0;o<e;o++)n=n.dbl();r.push(n)}return{step:e,points:r}},i.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)t[i]=t[i-1].add(n);return{wnd:e,points:t}},i.prototype._getBeta=function(){return null},i.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},{"../../elliptic":114,"bn.js":113}],116:[function(e,t,r){"use strict";function n(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,c.call(this,"edwards",e),this.a=new s(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new s(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new s(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),f(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function Point(e,t,r,n,i){c.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new s(t,16),this.y=new s(r,16),this.z=n?new s(n,16):this.curve.one,this.t=i&&new s(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}var i=e("../curve"),o=e("../../elliptic"),s=e("bn.js"),a=e("inherits"),c=i.base,f=o.utils.assert;a(n,c),t.exports=n,n.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},n.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},n.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},n.prototype.pointFromX=function(e,t){(e=new s(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),i=this.one.redSub(this.c2.redMul(this.d).redMul(r)),o=n.redMul(i.redInvm()),a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var c=a.fromRed().isOdd();return(t&&!c||!t&&c)&&(a=a.redNeg()),this.point(e,a)},n.prototype.pointFromY=function(e,t){(e=new s(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.one),i=r.redMul(this.d).redAdd(this.one),o=n.redMul(i.redInvm());if(0===o.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return a.isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},n.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(i)},a(Point,c.BasePoint),n.prototype.pointFromJSON=function(e){return Point.fromJSON(this,e)},n.prototype.point=function(e,t,r,n){return new Point(this,e,t,r,n)},Point.fromJSON=function(e,t){return new Point(e,t[0],t[1],t[2])},Point.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},Point.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&0===this.y.cmp(this.z)},Point.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=n.redAdd(t),s=o.redSub(r),a=n.redSub(t),c=i.redMul(s),f=o.redMul(a),u=i.redMul(a),h=s.redMul(o);return this.curve.point(c,f,h,u)},Point.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),o=this.y.redSqr();if(this.curve.twisted){var s=(f=this.curve._mulA(i)).redAdd(o);if(this.zOne)e=n.redSub(i).redSub(o).redMul(s.redSub(this.curve.two)),t=s.redMul(f.redSub(o)),r=s.redSqr().redSub(s).redSub(s);else{var a=this.z.redSqr(),c=s.redSub(a).redISub(a);e=n.redSub(i).redISub(o).redMul(c),t=s.redMul(f.redSub(o)),r=s.redMul(c)}}else{var f=i.redAdd(o),a=this.curve._mulC(this.c.redMul(this.z)).redSqr(),c=f.redSub(a).redSub(a);e=this.curve._mulC(n.redISub(f)).redMul(c),t=this.curve._mulC(f).redMul(i.redISub(o)),r=f.redMul(c)}return this.curve.point(e,t,r)},Point.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},Point.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=r.redSub(t),s=i.redSub(n),a=i.redAdd(n),c=r.redAdd(t),f=o.redMul(s),u=a.redMul(c),h=o.redMul(c),l=s.redMul(a);return this.curve.point(f,u,l,h)},Point.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),i=n.redSqr(),o=this.x.redMul(e.x),s=this.y.redMul(e.y),a=this.curve.d.redMul(o).redMul(s),c=i.redSub(a),f=i.redAdd(a),u=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(s),h=n.redMul(c).redMul(u);return this.curve.twisted?(t=n.redMul(f).redMul(s.redSub(this.curve._mulA(o))),r=c.redMul(f)):(t=n.redMul(f).redMul(s.redSub(o)),r=this.curve._mulC(c).redMul(f)),this.curve.point(h,t,r)},Point.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},Point.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},Point.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},Point.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},Point.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},Point.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},Point.prototype.getX=function(){return this.normalize(),this.x.fromRed()},Point.prototype.getY=function(){return this.normalize(),this.y.fromRed()},Point.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},Point.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}return!1},Point.prototype.toP=Point.prototype.normalize,Point.prototype.mixedAdd=Point.prototype.add},{"../../elliptic":114,"../curve":117,"bn.js":113,inherits:248}],117:[function(e,t,r){"use strict";var n=r;n.base=e("./base"),n.short=e("./short"),n.mont=e("./mont"),n.edwards=e("./edwards")},{"./base":115,"./edwards":116,"./mont":118,"./short":119}],118:[function(e,t,r){"use strict";function n(e){a.call(this,"mont",e),this.a=new o(e.a,16).toRed(this.red),this.b=new o(e.b,16).toRed(this.red),this.i4=new o(4).toRed(this.red).redInvm(),this.two=new o(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function Point(e,t,r){a.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new o(t,16),this.z=new o(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}var i=e("../curve"),o=e("bn.js"),s=e("inherits"),a=i.base,c=e("../../elliptic").utils;s(n,a),t.exports=n,n.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},s(Point,a.BasePoint),n.prototype.decodePoint=function(e,t){return this.point(c.toArray(e,t),1)},n.prototype.point=function(e,t){return new Point(this,e,t)},n.prototype.pointFromJSON=function(e){return Point.fromJSON(this,e)},Point.prototype.precompute=function(){},Point.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},Point.fromJSON=function(e,t){return new Point(e,t[0],t[1]||e.one)},Point.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},Point.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},Point.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),i=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},Point.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},Point.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(r),s=i.redMul(n),a=t.z.redMul(o.redAdd(s).redSqr()),c=t.x.redMul(o.redISub(s).redSqr());return this.curve.point(a,c)},Point.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},Point.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},Point.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},Point.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},Point.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},Point.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../../elliptic":114,"../curve":117,"bn.js":113,inherits:248}],119:[function(e,t,r){"use strict";function n(e){f.call(this,"short",e),this.a=new a(e.a,16).toRed(this.red),this.b=new a(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function Point(e,t,r,n){f.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(t,16),this.y=new a(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function i(e,t,r,n){f.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(t,16),this.y=new a(r,16),this.z=new a(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}var o=e("../curve"),s=e("../../elliptic"),a=e("bn.js"),c=e("inherits"),f=o.base,u=s.utils.assert;c(n,f),t.exports=n,n.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new a(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new a(e.lambda,16);else{var i=this._getEndoRoots(this.n);0===this.g.mul(i[0]).x.cmp(this.g.x.redMul(t))?r=i[0]:(r=i[1],u(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}var o;return o=e.basis?e.basis.map(function(e){return{a:new a(e.a,16),b:new a(e.b,16)}}):this._getEndoBasis(r),{beta:t,lambda:r,basis:o}}},n.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:a.mont(e),r=new a(2).toRed(t).redInvm(),n=r.redNeg(),i=new a(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(i).fromRed(),n.redSub(i).fromRed()]},n.prototype._getEndoBasis=function(e){for(var t,r,n,i,o,s,c,f,u,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),l=e,d=this.n.clone(),p=new a(1),b=new a(0),y=new a(0),v=new a(1),m=0;0!==l.cmpn(0);){var g=d.div(l);f=d.sub(g.mul(l)),u=y.sub(g.mul(p));var w=v.sub(g.mul(b));if(!n&&f.cmp(h)<0)t=c.neg(),r=p,n=f.neg(),i=u;else if(n&&2==++m)break;c=f,d=l,l=f,y=p,p=u,v=b,b=w}o=f.neg(),s=u;var _=n.sqr().add(i.sqr());return o.sqr().add(s.sqr()).cmp(_)>=0&&(o=t,s=r),n.negative&&(n=n.neg(),i=i.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:n,b:i},{a:o,b:s}]},n.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),o=r.b.neg().mul(e).divRound(this.n),s=i.mul(r.a),a=o.mul(n.a),c=i.mul(r.b),f=o.mul(n.b);return{k1:e.sub(s).sub(a),k2:c.add(f).neg()}},n.prototype.pointFromX=function(e,t){(e=new a(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(t&&!i||!t&&i)&&(n=n.redNeg()),this.point(e,n)},n.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},n.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<e.length;o++){var s=this._endoSplit(t[o]),a=e[o],c=a._getBeta();s.k1.negative&&(s.k1.ineg(),a=a.neg(!0)),s.k2.negative&&(s.k2.ineg(),c=c.neg(!0)),n[2*o]=a,n[2*o+1]=c,i[2*o]=s.k1,i[2*o+1]=s.k2}for(var f=this._wnafMulAdd(1,n,i,2*o,r),u=0;u<2*o;u++)n[u]=null,i[u]=null;return f},c(Point,f.BasePoint),n.prototype.point=function(e,t,r){return new Point(this,e,t,r)},n.prototype.pointFromJSON=function(e,t){return Point.fromJSON(this,e,t)},Point.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},Point.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},Point.fromJSON=function(e,t,r){function n(t){return e.point(t[0],t[1],r)}"string"==typeof t&&(t=JSON.parse(t));var i=e.point(t[0],t[1],r);if(!t[2])return i;var o=t[2];return i.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[i].concat(o.doubles.points.map(n))},naf:o.naf&&{wnd:o.naf.wnd,points:[i].concat(o.naf.points.map(n))}},i},Point.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},Point.prototype.isInfinity=function(){return this.inf},Point.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},Point.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},Point.prototype.getX=function(){return this.x.fromRed()},Point.prototype.getY=function(){return this.y.fromRed()},Point.prototype.mul=function(e){return e=new a(e,16),this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},Point.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},Point.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},Point.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},Point.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},Point.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);return this.curve.jpoint(this.x,this.y,this.curve.one)},c(i,f.BasePoint),n.prototype.jpoint=function(e,t,r){return new i(this,e,t,r)},i.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},i.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},i.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),o=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(r.redMul(this.z)),a=n.redSub(i),c=o.redSub(s);if(0===a.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var f=a.redSqr(),u=f.redMul(a),h=n.redMul(f),l=c.redSqr().redIAdd(u).redISub(h).redISub(h),d=c.redMul(h.redISub(l)).redISub(o.redMul(u)),p=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(l,d,p)},i.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),s=r.redSub(n),a=i.redSub(o);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),f=c.redMul(s),u=r.redMul(c),h=a.redSqr().redIAdd(f).redISub(u).redISub(u),l=a.redMul(u.redISub(h)).redISub(i.redMul(f)),d=this.z.redMul(s);return this.curve.jpoint(h,l,d)},i.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}for(var n=this.curve.a,i=this.curve.tinv,o=this.x,s=this.y,a=this.z,c=a.redSqr().redSqr(),f=s.redAdd(s),r=0;r<e;r++){var u=o.redSqr(),h=f.redSqr(),l=h.redSqr(),d=u.redAdd(u).redIAdd(u).redIAdd(n.redMul(c)),p=o.redMul(h),b=d.redSqr().redISub(p.redAdd(p)),y=p.redISub(b),v=d.redMul(y);v=v.redIAdd(v).redISub(l);var m=f.redMul(a);r+1<e&&(c=c.redMul(l)),o=b,a=m,f=v}return this.curve.jpoint(o,f.redMul(i),a)},i.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},i.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(n).redISub(o);s=s.redIAdd(s);var a=n.redAdd(n).redIAdd(n),c=a.redSqr().redISub(s).redISub(s),f=o.redIAdd(o);f=(f=f.redIAdd(f)).redIAdd(f),e=c,t=a.redMul(s.redISub(c)).redISub(f),r=this.y.redAdd(this.y)}else{var u=this.x.redSqr(),h=this.y.redSqr(),l=h.redSqr(),d=this.x.redAdd(h).redSqr().redISub(u).redISub(l);d=d.redIAdd(d);var p=u.redAdd(u).redIAdd(u),b=p.redSqr(),y=l.redIAdd(l);y=(y=y.redIAdd(y)).redIAdd(y),e=b.redISub(d).redISub(d),t=p.redMul(d.redISub(e)).redISub(y),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},i.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(n).redISub(o);s=s.redIAdd(s);var a=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),c=a.redSqr().redISub(s).redISub(s);e=c;var f=o.redIAdd(o);f=(f=f.redIAdd(f)).redIAdd(f),t=a.redMul(s.redISub(c)).redISub(f),r=this.y.redAdd(this.y)}else{var u=this.z.redSqr(),h=this.y.redSqr(),l=this.x.redMul(h),d=this.x.redSub(u).redMul(this.x.redAdd(u));d=d.redAdd(d).redIAdd(d);var p=l.redIAdd(l),b=(p=p.redIAdd(p)).redAdd(p);e=d.redSqr().redISub(b),r=this.y.redAdd(this.z).redSqr().redISub(h).redISub(u);var y=h.redSqr();y=(y=(y=y.redIAdd(y)).redIAdd(y)).redIAdd(y),t=d.redMul(p.redISub(e)).redISub(y)}return this.curve.jpoint(e,t,r)},i.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=t.redSqr(),s=r.redSqr(),a=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)),c=t.redAdd(t),f=(c=c.redIAdd(c)).redMul(s),u=a.redSqr().redISub(f.redAdd(f)),h=f.redISub(u),l=s.redSqr();l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var d=a.redMul(h).redISub(l),p=r.redAdd(r).redMul(n);return this.curve.jpoint(u,d,p)},i.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),i=e.redAdd(e).redIAdd(e),o=i.redSqr(),s=this.x.redAdd(t).redSqr().redISub(e).redISub(n),a=(s=(s=(s=s.redIAdd(s)).redAdd(s).redIAdd(s)).redISub(o)).redSqr(),c=n.redIAdd(n);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var f=i.redIAdd(s).redSqr().redISub(o).redISub(a).redISub(c),u=t.redMul(f);u=(u=u.redIAdd(u)).redIAdd(u);var h=this.x.redMul(a).redISub(u);h=(h=h.redIAdd(h)).redIAdd(h);var l=this.y.redMul(f.redMul(c.redISub(f)).redISub(s.redMul(a)));l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var d=this.z.redAdd(s).redSqr().redISub(r).redISub(a);return this.curve.jpoint(h,l,d)},i.prototype.mul=function(e,t){return e=new a(e,t),this.curve._wnafMul(this,e)},i.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),i=r.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(n)).cmpn(0)},i.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),i=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}return!1},i.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},i.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../../elliptic":114,"../curve":117,"bn.js":113,inherits:248}],120:[function(e,t,r){"use strict";function n(e){"short"===e.type?this.curve=new a.curve.short(e):"edwards"===e.type?this.curve=new a.curve.edwards(e):this.curve=new a.curve.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,c(this.g.validate(),"Invalid curve"),c(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function i(e,t){Object.defineProperty(o,e,{configurable:!0,enumerable:!0,get:function(){var r=new n(t);return Object.defineProperty(o,e,{configurable:!0,enumerable:!0,value:r}),r}})}var o=r,s=e("hash.js"),a=e("../elliptic"),c=a.utils.assert;o.PresetCurve=n,i("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:s.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),i("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:s.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),i("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:s.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),i("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:s.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),i("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:s.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),i("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["9"]}),i("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var f;try{f=e("./precomputed/secp256k1")}catch(e){f=void 0}i("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:s.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",f]})},{"../elliptic":114,"./precomputed/secp256k1":127,"hash.js":233}],121:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);"string"==typeof e&&(a(s.curves.hasOwnProperty(e),"Unknown curve "+e),e=s.curves[e]),e instanceof s.curves.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var i=e("bn.js"),o=e("hmac-drbg"),s=e("../../elliptic"),a=s.utils.assert,c=e("./key"),f=e("./signature");t.exports=n,n.prototype.keyPair=function(e){return new c(this,e)},n.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},n.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},n.prototype.genKeyPair=function(e){e||(e={});for(var t=new o({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s.rand(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new i(2));;){var a=new i(t.generate(r));if(!(a.cmp(n)>0))return a.iaddn(1),this.keyFromPrivate(a)}},n.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},n.prototype.sign=function(e,t,r,n){"object"==typeof r&&(n=r,r=null),n||(n={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new i(e,16));for(var s=this.n.byteLength(),a=t.getPrivate().toArray("be",s),c=e.toArray("be",s),u=new o({hash:this.hash,entropy:a,nonce:c,pers:n.pers,persEnc:n.persEnc||"utf8"}),h=this.n.sub(new i(1)),l=0;!0;l++){var d=n.k?n.k(l):new i(u.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||d.cmp(h)>=0)){var p=this.g.mul(d);if(!p.isInfinity()){var b=p.getX(),y=b.umod(this.n);if(0!==y.cmpn(0)){var v=d.invm(this.n).mul(y.mul(t.getPrivate()).iadd(e));if(0!==(v=v.umod(this.n)).cmpn(0)){var m=(p.getY().isOdd()?1:0)|(0!==b.cmp(y)?2:0);return n.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),m^=1),new f({r:y,s:v,recoveryParam:m})}}}}}},n.prototype.verify=function(e,t,r,n){e=this._truncateToN(new i(e,16)),r=this.keyFromPublic(r,n);var o=(t=new f(t,"hex")).r,s=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var a=s.invm(this.n),c=a.mul(e).umod(this.n),u=a.mul(o).umod(this.n);if(!this.curve._maxwellTrick){return!(h=this.g.mulAdd(c,r.getPublic(),u)).isInfinity()&&0===h.getX().umod(this.n).cmp(o)}var h=this.g.jmulAdd(c,r.getPublic(),u);return!h.isInfinity()&&h.eqXToP(o)},n.prototype.recoverPubKey=function(e,t,r,n){a((3&r)===r,"The recovery param is more than two bits"),t=new f(t,n);var o=this.n,s=new i(e),c=t.r,u=t.s,h=1&r,l=r>>1;if(c.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");c=l?this.curve.pointFromX(c.add(this.curve.n),h):this.curve.pointFromX(c,h);var d=t.r.invm(o),p=o.sub(s).mul(d).umod(o),b=u.mul(d).umod(o);return this.g.mulAdd(p,c,b)},n.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new f(t,n)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},{"../../elliptic":114,"./key":122,"./signature":123,"bn.js":113,"hmac-drbg":245}],122:[function(e,t,r){"use strict";function n(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}var i=e("bn.js"),o=e("../../elliptic").utils.assert;t.exports=n,n.fromPublic=function(e,t,r){return t instanceof n?t:new n(e,{pub:t,pubEnc:r})},n.fromPrivate=function(e,t,r){return t instanceof n?t:new n(e,{priv:t,privEnc:r})},n.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},n.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},n.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},n.prototype._importPrivate=function(e,t){this.priv=new i(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},n.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?o(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||o(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},n.prototype.derive=function(e){return e.mul(this.priv).getX()},n.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},n.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},n.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../../elliptic":114,"bn.js":113}],123:[function(e,t,r){"use strict";function n(e,t){if(e instanceof n)return e;this._importDER(e,t)||(f(e.r&&e.s,"Signature without r or s"),this.r=new a(e.r,16),this.s=new a(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function i(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,i=0,o=0,s=t.place;o<n;o++,s++)i<<=8,i|=e[s];return t.place=s,i}function o(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function s(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}var a=e("bn.js"),c=e("../../elliptic").utils,f=c.assert;t.exports=n,n.prototype._importDER=function(e,t){e=c.toArray(e,t);var r=new function(){this.place=0};if(48!==e[r.place++])return!1;if(i(e,r)+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var n=i(e,r),o=e.slice(r.place,n+r.place);if(r.place+=n,2!==e[r.place++])return!1;var s=i(e,r);if(e.length!==s+r.place)return!1;var f=e.slice(r.place,s+r.place);return 0===o[0]&&128&o[1]&&(o=o.slice(1)),0===f[0]&&128&f[1]&&(f=f.slice(1)),this.r=new a(o),this.s=new a(f),this.recoveryParam=null,!0},n.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=o(t),r=o(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];s(n,t.length),(n=n.concat(t)).push(2),s(n,r.length);var i=n.concat(r),a=[48];return s(a,i.length),a=a.concat(i),c.encode(a,e)}},{"../../elliptic":114,"bn.js":113}],124:[function(e,t,r){"use strict";function n(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof n))return new n(e);e=o.curves[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=i.sha512}var i=e("hash.js"),o=e("../../elliptic"),s=o.utils,a=s.assert,c=s.parseBytes,f=e("./key"),u=e("./signature");t.exports=n,n.prototype.sign=function(e,t){e=c(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),i=this.g.mul(n),o=this.encodePoint(i),s=this.hashInt(o,r.pubBytes(),e).mul(r.priv()),a=n.add(s).umod(this.curve.n);return this.makeSignature({R:i,S:a,Rencoded:o})},n.prototype.verify=function(e,t,r){e=c(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),i=this.hashInt(t.Rencoded(),n.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(n.pub().mul(i)).eq(o)},n.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return s.intFromLE(e.digest()).umod(this.curve.n)},n.prototype.keyFromPublic=function(e){return f.fromPublic(this,e)},n.prototype.keyFromSecret=function(e){return f.fromSecret(this,e)},n.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},n.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},n.prototype.decodePoint=function(e){var t=(e=s.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!=(128&e[t]),i=s.intFromLE(r);return this.curve.pointFromY(i,n)},n.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},n.prototype.decodeInt=function(e){return s.intFromLE(e)},n.prototype.isPoint=function(e){return e instanceof this.pointClass}},{"../../elliptic":114,"./key":125,"./signature":126,"hash.js":233}],125:[function(e,t,r){"use strict";function n(e,t){this.eddsa=e,this._secret=s(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=s(t.pub)}var i=e("../../elliptic").utils,o=i.assert,s=i.parseBytes,a=i.cachedProperty;n.fromPublic=function(e,t){return t instanceof n?t:new n(e,{pub:t})},n.fromSecret=function(e,t){return t instanceof n?t:new n(e,{secret:t})},n.prototype.secret=function(){return this._secret},a(n,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),a(n,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),a(n,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n}),a(n,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),a(n,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),a(n,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),n.prototype.sign=function(e){return o(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},n.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},n.prototype.getSecret=function(e){return o(this._secret,"KeyPair is public only"),i.encode(this.secret(),e)},n.prototype.getPublic=function(e){return i.encode(this.pubBytes(),e)},t.exports=n},{"../../elliptic":114}],126:[function(e,t,r){"use strict";function n(e,t){this.eddsa=e,"object"!=typeof t&&(t=c(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),s(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof i&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}var i=e("bn.js"),o=e("../../elliptic").utils,s=o.assert,a=o.cachedProperty,c=o.parseBytes;a(n,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),a(n,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),a(n,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),a(n,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),n.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},n.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},t.exports=n},{"../../elliptic":114,"bn.js":113}],127:[function(e,t,r){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},{}],128:[function(e,t,r){"use strict";var n=r,i=e("bn.js"),o=e("minimalistic-assert"),s=e("minimalistic-crypto-utils");n.assert=o,n.toArray=s.toArray,n.zero2=s.zero2,n.toHex=s.toHex,n.encode=s.encode,n.getNAF=function(e,t){for(var r=[],n=1<<t+1,i=e.clone();i.cmpn(1)>=0;){var o;if(i.isOdd()){var s=i.andln(n-1);o=s>(n>>1)-1?(n>>1)-s:s,i.isubn(o)}else o=0;r.push(o);for(var a=0!==i.cmpn(0)&&0===i.andln(n-1)?t+1:1,c=1;c<a;c++)r.push(0);i.iushrn(a)}return r},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,i=0;e.cmpn(-n)>0||t.cmpn(-i)>0;){var o=e.andln(3)+n&3,s=t.andln(3)+i&3;3===o&&(o=-1),3===s&&(s=-1);var a;a=0==(1&o)?0:3!=(f=e.andln(7)+n&7)&&5!==f||2!==s?o:-o,r[0].push(a);var c;if(0==(1&s))c=0;else{var f=t.andln(7)+i&7;c=3!==f&&5!==f||2!==o?s:-s}r[1].push(c),2*n===a+1&&(n=1-n),2*i===c+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new i(e,"hex","le")}},{"bn.js":113,"minimalistic-assert":257,"minimalistic-crypto-utils":258}],129:[function(e,t,r){t.exports={_args:[[{raw:"elliptic@^6.0.0",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.0.0",spec:">=6.0.0 <7.0.0",type:"range"},"/work/blocktrail-sdk-nodejs/node_modules/create-ecdh"]],_from:"elliptic@>=6.0.0 <7.0.0",_id:"[email protected]",_inCache:!0,_location:"/create-ecdh/elliptic",_nodeVersion:"7.0.0",_npmOperationalInternal:{host:"packages-18-east.internal.npmjs.com",tmp:"tmp/elliptic-6.4.0.tgz_1487798866428_0.30510620190761983"},_npmUser:{name:"indutny",email:"[email protected]"},_npmVersion:"3.10.8",_phantomChildren:{},_requested:{raw:"elliptic@^6.0.0",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.0.0",spec:">=6.0.0 <7.0.0",type:"range"},_requiredBy:["/create-ecdh"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz",_shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",_shrinkwrap:null,_spec:"elliptic@^6.0.0",_where:"/work/blocktrail-sdk-nodejs/node_modules/create-ecdh",author:{name:"Fedor Indutny",email:"[email protected]"},bugs:{url:"https://github.com/indutny/elliptic/issues"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},directories:{},dist:{shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",tarball:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz"},files:["lib"],gitHead:"6b0d2b76caae91471649c8e21f0b1d3ba0f96090",homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",maintainers:[{name:"indutny",email:"[email protected]"}],name:"elliptic",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git+ssh://[email protected]/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.4.0"}},{}],130:[function(e,t,r){(function(Buffer){"use strict";function r(e){c.call(this,"digest"),this._hash=e,this.buffers=[]}function n(e){c.call(this,"digest"),this._hash=e}var i=e("inherits"),o=e("./md5"),s=e("ripemd160"),a=e("sha.js"),c=e("cipher-base");i(r,c),r.prototype._update=function(e){this.buffers.push(e)},r.prototype._final=function(){var e=Buffer.concat(this.buffers),t=this._hash(e);return this.buffers=null,t},i(n,c),n.prototype._update=function(e){this._hash.update(e)},n.prototype._final=function(){return this._hash.digest()},t.exports=function(e){return"md5"===(e=e.toLowerCase())?new r(o):new n("rmd160"===e||"ripemd160"===e?new s:a(e))}}).call(this,e("buffer").Buffer)},{"./md5":132,buffer:105,"cipher-base":109,inherits:248,ripemd160:312,"sha.js":338}],131:[function(e,t,r){(function(Buffer){"use strict";var e=4,r=new Buffer(e);r.fill(0);t.exports=function(t,n){var i=n(function(t){if(t.length%e!=0){var n=t.length+(e-t.length%e);t=Buffer.concat([t,r],n)}for(var i=new Array(t.length>>>2),o=0,s=0;o<t.length;o+=e,s++)i[s]=t.readInt32LE(o);return i}(t),8*t.length);t=new Buffer(16);for(var o=0;o<i.length;o++)t.writeInt32LE(i[o],o<<2,!0);return t}}).call(this,e("buffer").Buffer)},{buffer:105}],132:[function(e,t,r){"use strict";function n(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var r=1732584193,n=-271733879,i=-1732584194,u=271733878,h=0;h<e.length;h+=16){var l=r,d=n,p=i,b=u;n=c(n=c(n=c(n=c(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,i=o(i,u=o(u,r=o(r,n,i,u,e[h+0],7,-680876936),n,i,e[h+1],12,-389564586),r,n,e[h+2],17,606105819),u,r,e[h+3],22,-1044525330),i=o(i,u=o(u,r=o(r,n,i,u,e[h+4],7,-176418897),n,i,e[h+5],12,1200080426),r,n,e[h+6],17,-1473231341),u,r,e[h+7],22,-45705983),i=o(i,u=o(u,r=o(r,n,i,u,e[h+8],7,1770035416),n,i,e[h+9],12,-1958414417),r,n,e[h+10],17,-42063),u,r,e[h+11],22,-1990404162),i=o(i,u=o(u,r=o(r,n,i,u,e[h+12],7,1804603682),n,i,e[h+13],12,-40341101),r,n,e[h+14],17,-1502002290),u,r,e[h+15],22,1236535329),i=s(i,u=s(u,r=s(r,n,i,u,e[h+1],5,-165796510),n,i,e[h+6],9,-1069501632),r,n,e[h+11],14,643717713),u,r,e[h+0],20,-373897302),i=s(i,u=s(u,r=s(r,n,i,u,e[h+5],5,-701558691),n,i,e[h+10],9,38016083),r,n,e[h+15],14,-660478335),u,r,e[h+4],20,-405537848),i=s(i,u=s(u,r=s(r,n,i,u,e[h+9],5,568446438),n,i,e[h+14],9,-1019803690),r,n,e[h+3],14,-187363961),u,r,e[h+8],20,1163531501),i=s(i,u=s(u,r=s(r,n,i,u,e[h+13],5,-1444681467),n,i,e[h+2],9,-51403784),r,n,e[h+7],14,1735328473),u,r,e[h+12],20,-1926607734),i=a(i,u=a(u,r=a(r,n,i,u,e[h+5],4,-378558),n,i,e[h+8],11,-2022574463),r,n,e[h+11],16,1839030562),u,r,e[h+14],23,-35309556),i=a(i,u=a(u,r=a(r,n,i,u,e[h+1],4,-1530992060),n,i,e[h+4],11,1272893353),r,n,e[h+7],16,-155497632),u,r,e[h+10],23,-1094730640),i=a(i,u=a(u,r=a(r,n,i,u,e[h+13],4,681279174),n,i,e[h+0],11,-358537222),r,n,e[h+3],16,-722521979),u,r,e[h+6],23,76029189),i=a(i,u=a(u,r=a(r,n,i,u,e[h+9],4,-640364487),n,i,e[h+12],11,-421815835),r,n,e[h+15],16,530742520),u,r,e[h+2],23,-995338651),i=c(i,u=c(u,r=c(r,n,i,u,e[h+0],6,-198630844),n,i,e[h+7],10,1126891415),r,n,e[h+14],15,-1416354905),u,r,e[h+5],21,-57434055),i=c(i,u=c(u,r=c(r,n,i,u,e[h+12],6,1700485571),n,i,e[h+3],10,-1894986606),r,n,e[h+10],15,-1051523),u,r,e[h+1],21,-2054922799),i=c(i,u=c(u,r=c(r,n,i,u,e[h+8],6,1873313359),n,i,e[h+15],10,-30611744),r,n,e[h+6],15,-1560198380),u,r,e[h+13],21,1309151649),i=c(i,u=c(u,r=c(r,n,i,u,e[h+4],6,-145523070),n,i,e[h+11],10,-1120210379),r,n,e[h+2],15,718787259),u,r,e[h+9],21,-343485551),r=f(r,l),n=f(n,d),i=f(i,p),u=f(u,b)}return[r,n,i,u]}function i(e,t,r,n,i,o){return f(function(e,t){return e<<t|e>>>32-t}(f(f(t,e),f(n,o)),i),r)}function o(e,t,r,n,o,s,a){return i(t&r|~t&n,e,t,o,s,a)}function s(e,t,r,n,o,s,a){return i(t&n|r&~n,e,t,o,s,a)}function a(e,t,r,n,o,s,a){return i(t^r^n,e,t,o,s,a)}function c(e,t,r,n,o,s,a){return i(r^(t|~n),e,t,o,s,a)}function f(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}var u=e("./make-hash");t.exports=function(e){return u(e,n)}},{"./make-hash":131}],133:[function(e,t,r){"use strict";function n(e,t){s.call(this,"digest"),"string"==typeof t&&(t=Buffer.from(t));var r="sha512"===e||"sha384"===e?128:64;if(this._alg=e,this._key=t,t.length>r){t=("rmd160"===e?new c:f(e)).update(t).digest()}else t.length<r&&(t=Buffer.concat([t,u],r));for(var n=this._ipad=Buffer.allocUnsafe(r),i=this._opad=Buffer.allocUnsafe(r),o=0;o<r;o++)n[o]=54^t[o],i[o]=92^t[o];this._hash="rmd160"===e?new c:f(e),this._hash.update(n)}var i=e("inherits"),o=e("./legacy"),s=e("cipher-base"),Buffer=e("safe-buffer").Buffer,a=e("create-hash/md5"),c=e("ripemd160"),f=e("sha.js"),u=Buffer.alloc(128);i(n,s),n.prototype._update=function(e){this._hash.update(e)},n.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new c:f(this._alg)).update(this._opad).update(e).digest()},t.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new n("rmd160",t):"md5"===e?new o(a,t):new n(e,t)}},{"./legacy":134,"cipher-base":109,"create-hash/md5":132,inherits:248,ripemd160:312,"safe-buffer":313,"sha.js":338}],134:[function(e,t,r){"use strict";function n(e,t){o.call(this,"digest"),"string"==typeof t&&(t=Buffer.from(t)),this._alg=e,this._key=t,t.length>a?t=e(t):t.length<a&&(t=Buffer.concat([t,s],a));for(var r=this._ipad=Buffer.allocUnsafe(a),n=this._opad=Buffer.allocUnsafe(a),i=0;i<a;i++)r[i]=54^t[i],n[i]=92^t[i];this._hash=[r]}var i=e("inherits"),Buffer=e("safe-buffer").Buffer,o=e("cipher-base"),s=Buffer.alloc(128),a=64;i(n,o),n.prototype._update=function(e){this._hash.push(e)},n.prototype._final=function(){var e=this._alg(Buffer.concat(this._hash));return this._alg(Buffer.concat([this._opad,e]))},t.exports=n},{"cipher-base":109,inherits:248,"safe-buffer":313}],135:[function(e,t,r){"use strict";r.randomBytes=r.rng=r.pseudoRandomBytes=r.prng=e("randombytes"),r.createHash=r.Hash=e("create-hash"),r.createHmac=r.Hmac=e("create-hmac");var n=e("browserify-sign/algos"),i=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);r.getHashes=function(){return o};var s=e("pbkdf2");r.pbkdf2=s.pbkdf2,r.pbkdf2Sync=s.pbkdf2Sync;var a=e("browserify-cipher");r.Cipher=a.Cipher,r.createCipher=a.createCipher,r.Cipheriv=a.Cipheriv,r.createCipheriv=a.createCipheriv,r.Decipher=a.Decipher,r.createDecipher=a.createDecipher,r.Decipheriv=a.Decipheriv,r.createDecipheriv=a.createDecipheriv,r.getCiphers=a.getCiphers,r.listCiphers=a.listCiphers;var c=e("diffie-hellman");r.DiffieHellmanGroup=c.DiffieHellmanGroup,r.createDiffieHellmanGroup=c.createDiffieHellmanGroup,r.getDiffieHellman=c.getDiffieHellman,r.createDiffieHellman=c.createDiffieHellman,r.DiffieHellman=c.DiffieHellman;var f=e("browserify-sign");r.createSign=f.createSign,r.Sign=f.Sign,r.createVerify=f.createVerify,r.Verify=f.Verify,r.createECDH=e("create-ecdh");var u=e("public-encrypt");r.publicEncrypt=u.publicEncrypt,r.privateEncrypt=u.privateEncrypt,r.publicDecrypt=u.publicDecrypt,r.privateDecrypt=u.privateDecrypt;var h=e("randomfill");r.randomFill=h.randomFill,r.randomFillSync=h.randomFillSync,r.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},r.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":95,"browserify-sign":155,"browserify-sign/algos":152,"create-ecdh":112,"create-hash":130,"create-hmac":133,"diffie-hellman":220,pbkdf2:259,"public-encrypt":266,randombytes:299,randomfill:300}],136:[function(e,t,r){var n=r;n.bignum=e("bn.js"),n.define=e("./asn1/api").define,n.base=e("./asn1/base"),n.constants=e("./asn1/constants"),n.decoders=e("./asn1/decoders"),n.encoders=e("./asn1/encoders")},{"./asn1/api":137,"./asn1/base":139,"./asn1/constants":143,"./asn1/decoders":145,"./asn1/encoders":148,"bn.js":150}],137:[function(e,t,r){function n(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}var i=e("../asn1"),o=e("inherits");r.define=function(e,t){return new n(e,t)},n.prototype._createNamed=function(t){var r;try{r=e("vm").runInThisContext("(function "+this.name+"(entity) {\n  this._initNamed(entity);\n})")}catch(e){r=function(e){this._initNamed(e)}}return o(r,t),r.prototype._initNamed=function(e){t.call(this,e)},new r(this)},n.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(i.decoders[e])),this.decoders[e]},n.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},n.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(i.encoders[e])),this.encoders[e]},n.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},{"../asn1":136,inherits:248,vm:364}],138:[function(e,t,r){function n(e,t){s.call(this,t),Buffer.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function i(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof i||(e=new i(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=Buffer.byteLength(e);else{if(!Buffer.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}var o=e("inherits"),s=e("../base").Reporter,Buffer=e("buffer").Buffer;o(n,s),r.DecoderBuffer=n,n.prototype.save=function(){return{offset:this.offset,reporter:s.prototype.save.call(this)}},n.prototype.restore=function(e){var t=new n(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,s.prototype.restore.call(this,e.reporter),t},n.prototype.isEmpty=function(){return this.offset===this.length},n.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},n.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new n(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},n.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},r.EncoderBuffer=i,i.prototype.join=function(e,t){return e||(e=new Buffer(this.length)),t||(t=0),0===this.length?e:(Array.isArray(this.value)?this.value.forEach(function(r){r.join(e,t),t+=r.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):Buffer.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length),e)}},{"../base":139,buffer:105,inherits:248}],139:[function(e,t,r){var n=r;n.Reporter=e("./reporter").Reporter,n.DecoderBuffer=e("./buffer").DecoderBuffer,n.EncoderBuffer=e("./buffer").EncoderBuffer,n.Node=e("./node")},{"./buffer":138,"./node":140,"./reporter":141}],140:[function(e,t,r){function n(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}var i=e("../base").Reporter,o=e("../base").EncoderBuffer,s=e("../base").DecoderBuffer,a=e("minimalistic-assert"),c=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],f=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(c);t.exports=n;var u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];n.prototype.clone=function(){var e=this._baseState,t={};u.forEach(function(r){t[r]=e[r]});var r=new this.constructor(t.parent);return r._baseState=t,r},n.prototype._wrap=function(){var e=this._baseState;f.forEach(function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}},this)},n.prototype._init=function(e){var t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),a.equal(t.children.length,1,"Root node can have only one child")},n.prototype._useArgs=function(e){var t=this._baseState,r=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==r.length&&(a(null===t.children),t.children=r,r.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(r){r==(0|r)&&(r|=0);var n=e[r];t[n]=r}),t}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(e){n.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}}),c.forEach(function(e){n.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(r),this}}),n.prototype.use=function(e){a(e);var t=this._baseState;return a(null===t.use),t.use=e,this},n.prototype.optional=function(){return this._baseState.optional=!0,this},n.prototype.def=function(e){var t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},n.prototype.explicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},n.prototype.implicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},n.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},n.prototype.key=function(e){var t=this._baseState;return a(null===t.key),t.key=e,this},n.prototype.any=function(){return this._baseState.any=!0,this},n.prototype.choice=function(e){var t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},n.prototype.contains=function(e){var t=this._baseState;return a(null===t.use),t.contains=e,this},n.prototype._decode=function(e,t){var r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var n=r.default,i=!0,o=null;if(null!==r.key&&(o=e.enterKey(r.key)),r.optional){var a=null;if(null!==r.explicit?a=r.explicit:null!==r.implicit?a=r.implicit:null!==r.tag&&(a=r.tag),null!==a||r.any){if(i=this._peekTag(e,a,r.any),e.isError(i))return i}else{h=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),i=!0}catch(e){i=!1}e.restore(h)}}var c;if(r.obj&&i&&(c=e.enterObject()),i){if(null!==r.explicit){var f=this._decodeTag(e,r.explicit);if(e.isError(f))return f;e=f}var u=e.offset;if(null===r.use&&null===r.choice){if(r.any)var h=e.save();var l=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(l))return l;r.any?n=e.raw(h):e=l}if(t&&t.track&&null!==r.tag&&t.track(e.path(),u,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),n=r.any?n:null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),e.isError(n))return n;if(r.any||null!==r.choice||null===r.children||r.children.forEach(function(r){r._decode(e,t)}),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var d=new s(n);n=this._getUse(r.contains,e._reporterState.obj)._decode(d,t)}}return r.obj&&i&&(n=e.leaveObject(c)),null===r.key||null===n&&!0!==i?null!==o&&e.exitKey(o):e.leaveKey(o,r.key,n),n},n.prototype._decodeGeneric=function(e,t,r){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},n.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),a(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},n.prototype._decodeChoice=function(e,t){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some(function(o){var s=e.save(),a=r.choice[o];try{var c=a._decode(e,t);if(e.isError(c))return!1;n={type:o,value:c},i=!0}catch(t){return e.restore(s),!1}return!0},this),i?n:e.error("Choice not matched")},n.prototype._createEncoderBuffer=function(e){return new o(e,this.reporter)},n.prototype._encode=function(e,t,r){var n=this._baseState;if(null===n.default||n.default!==e){var i=this._encodeValue(e,t,r);if(void 0!==i&&!this._skipDefault(i,t,r))return i}},n.prototype._encodeValue=function(e,t,r){var n=this._baseState;if(null===n.parent)return n.children[0]._encode(e,t||new i);c=null;if(this.reporter=t,n.optional&&void 0===e){if(null===n.default)return;e=n.default}var o=null,s=!1;if(n.any)c=this._createEncoderBuffer(e);else if(n.choice)c=this._encodeChoice(e,t);else if(n.contains)o=this._getUse(n.contains,r)._encode(e,t),s=!0;else if(n.children)o=n.children.map(function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var n=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var i=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),i},this).filter(function(e){return e}),o=this._createEncoderBuffer(o);else if("seqof"===n.tag||"setof"===n.tag){if(!n.args||1!==n.args.length)return t.error("Too many args for : "+n.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var a=this.clone();a._baseState.implicit=null,o=this._createEncoderBuffer(e.map(function(r){var n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)},a))}else null!==n.use?c=this._getUse(n.use,r)._encode(e,t):(o=this._encodePrimitive(n.tag,e),s=!0);var c;if(!n.any&&null===n.choice){var f=null!==n.implicit?n.implicit:n.tag,u=null===n.implicit?"universal":"context";null===f?null===n.use&&t.error("Tag could be omitted only for .use()"):null===n.use&&(c=this._encodeComposite(f,s,u,o))}return null!==n.explicit&&(c=this._encodeComposite(n.explicit,!1,"context",c)),c},n.prototype._encodeChoice=function(e,t){var r=this._baseState,n=r.choice[e.type];return n||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},n.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},n.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},n.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},{"../base":139,"minimalistic-assert":257}],141:[function(e,t,r){function n(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function i(e,t){this.path=e,this.rethrow(t)}var o=e("inherits");r.Reporter=n,n.prototype.isError=function(e){return e instanceof i},n.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},n.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},n.prototype.enterKey=function(e){return this._reporterState.path.push(e)},n.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},n.prototype.leaveKey=function(e,t,r){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},n.prototype.path=function(){return this._reporterState.path.join("/")},n.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},n.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},n.prototype.error=function(e){var t,r=this._reporterState,n=e instanceof i;if(t=n?e:new i(r.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},n.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},o(i,Error),i.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,i),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},{inherits:248}],142:[function(e,t,r){var n=e("../constants");r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=n._reverse(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=n._reverse(r.tag)},{"../constants":143}],143:[function(e,t,r){var n=r;n._reverse=function(e){var t={};return Object.keys(e).forEach(function(r){(0|r)==r&&(r|=0);var n=e[r];t[n]=r}),t},n.der=e("./der")},{"./der":142}],144:[function(e,t,r){function n(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new i,this.tree._init(e.body)}function i(e){f.Node.call(this,"der",e)}function o(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=h.tagClass[r>>6],i=0==(32&r);if(31==(31&r)){var o=r;for(r=0;128==(128&o);){if(o=e.readUInt8(t),e.isError(o))return o;r<<=7,r|=127&o}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:h.tag[r]}}function s(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;var i=127&n;if(i>4)return e.error("length octect is too long");n=0;for(var o=0;o<i;o++){n<<=8;var s=e.readUInt8(r);if(e.isError(s))return s;n|=s}return n}var a=e("inherits"),c=e("../../asn1"),f=c.base,u=c.bignum,h=c.constants.der;t.exports=n,n.prototype.decode=function(e,t){return e instanceof f.DecoderBuffer||(e=new f.DecoderBuffer(e,t)),this.tree._decode(e,t)},a(i,f.Node),i.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var n=e.save(),i=o(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(n),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||r)},i.prototype._decodeTag=function(e,t,r){var n=o(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;var i=s(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var a=e.save(),c=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(c)?c:(i=e.offset-a.offset,e.restore(a),e.skip(i,'Failed to match body of: "'+t+'"'))},i.prototype._skipUntilEnd=function(e,t){for(;;){var r=o(e,t);if(e.isError(r))return r;var n=s(e,r.primitive,t);if(e.isError(n))return n;var i;if(i=r.primitive||null!==n?e.skip(n):this._skipUntilEnd(e,t),e.isError(i))return i;if("end"===r.tagStr)break}},i.prototype._decodeList=function(e,t,r,n){for(var i=[];!e.isEmpty();){var o=this._peekTag(e,"end");if(e.isError(o))return o;var s=r.decode(e,"der",n);if(e.isError(s)&&o)break;i.push(s)}return i},i.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var n=e.raw();if(n.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<n.length/2;o++)i+=String.fromCharCode(n.readUInt16BE(2*o));return i}if("numstr"===t){var s=e.raw().toString("ascii");return this._isNumstr(s)?s:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var a=e.raw().toString("ascii");return this._isPrintstr(a)?a:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},i.prototype._decodeObjid=function(e,t,r){for(var n,i=[],o=0;!e.isEmpty();){var s=e.readUInt8();o<<=7,o|=127&s,0==(128&s)&&(i.push(o),o=0)}128&s&&i.push(o);var a=i[0]/40|0,c=i[0]%40;if(n=r?i:[a,c].concat(i.slice(1)),t){var f=t[n.join(" ")];void 0===f&&(f=t[n.join(".")]),void 0!==f&&(n=f)}return n},i.prototype._decodeTime=function(e,t){var r=e.raw().toString();if("gentime"===t)var n=0|r.slice(0,4),i=0|r.slice(4,6),o=0|r.slice(6,8),s=0|r.slice(8,10),a=0|r.slice(10,12),c=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");var n=0|r.slice(0,2),i=0|r.slice(2,4),o=0|r.slice(4,6),s=0|r.slice(6,8),a=0|r.slice(8,10),c=0|r.slice(10,12);n=n<70?2e3+n:1900+n}return Date.UTC(n,i-1,o,s,a,c,0)},i.prototype._decodeNull=function(e){return null},i.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},i.prototype._decodeInt=function(e,t){var r=e.raw(),n=new u(r);return t&&(n=t[n.toString(10)]||n),n},i.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},{"../../asn1":136,inherits:248}],145:[function(e,t,r){var n=r;n.der=e("./der"),n.pem=e("./pem")},{"./der":144,"./pem":146}],146:[function(e,t,r){function n(e){o.call(this,e),this.enc="pem"}var i=e("inherits"),Buffer=e("buffer").Buffer,o=e("./der");i(n,o),t.exports=n,n.prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),i=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,a=-1,c=0;c<r.length;c++){var f=r[c].match(i);if(null!==f&&f[2]===n){if(-1!==s){if("END"!==f[1])break;a=c;break}if("BEGIN"!==f[1])break;s=c}}if(-1===s||-1===a)throw new Error("PEM section not found for: "+n);var u=r.slice(s+1,a).join("");u.replace(/[^a-z0-9\+\/=]+/gi,"");var h=new Buffer(u,"base64");return o.prototype.decode.call(this,h,t)}},{"./der":144,buffer:105,inherits:248}],147:[function(e,t,r){function n(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new i,this.tree._init(e.body)}function i(e){c.Node.call(this,"der",e)}function o(e){return e<10?"0"+e:e}var s=e("inherits"),Buffer=e("buffer").Buffer,a=e("../../asn1"),c=a.base,f=a.constants.der;t.exports=n,n.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},s(i,c.Node),i.prototype._encodeComposite=function(e,t,r,n){var i=function(e,t,r,n){var i;if("seqof"===e?e="seq":"setof"===e&&(e="set"),f.tagByName.hasOwnProperty(e))i=f.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);i=e}return i>=31?n.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=f.tagClassByName[r||"universal"]<<6)}(e,t,r,this.reporter);if(n.length<128){return(a=new Buffer(2))[0]=i,a[1]=n.length,this._createEncoderBuffer([a,n])}for(var o=1,s=n.length;s>=256;s>>=8)o++;var a=new Buffer(2+o);a[0]=i,a[1]=128|o;for(var s=1+o,c=n.length;c>0;s--,c>>=8)a[s]=255&c;return this._createEncoderBuffer([a,n])},i.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new Buffer(2*e.length),n=0;n<e.length;n++)r.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)?this._createEncoderBuffer(e):"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},i.prototype._encodeObjid=function(e,t,r){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(i=0;i<e.length;i++)e[i]|=0}else if(Array.isArray(e)){e=e.slice();for(i=0;i<e.length;i++)e[i]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}for(var n=0,i=0;i<e.length;i++){a=e[i];for(n++;a>=128;a>>=7)n++}for(var o=new Buffer(n),s=o.length-1,i=e.length-1;i>=0;i--){var a=e[i];for(o[s--]=127&a;(a>>=7)>0;)o[s--]=128|127&a}return this._createEncoderBuffer(o)},i.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[o(n.getFullYear()),o(n.getUTCMonth()+1),o(n.getUTCDate()),o(n.getUTCHours()),o(n.getUTCMinutes()),o(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[o(n.getFullYear()%100),o(n.getUTCMonth()+1),o(n.getUTCDate()),o(n.getUTCHours()),o(n.getUTCMinutes()),o(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},i.prototype._encodeNull=function(){return this._createEncoderBuffer("")},i.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!Buffer.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new Buffer(r)}if(Buffer.isBuffer(e)){n=e.length;0===e.length&&n++;o=new Buffer(n);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var n=1,i=e;i>=256;i>>=8)n++;for(var o,i=(o=new Array(n)).length-1;i>=0;i--)o[i]=255&e,e>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new Buffer(o))},i.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},i.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},i.prototype._skipDefault=function(e,t,r){var n,i=this._baseState;if(null===i.default)return!1;var o=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,r).join()),o.length!==i.defaultBuffer.length)return!1;for(n=0;n<o.length;n++)if(o[n]!==i.defaultBuffer[n])return!1;return!0}},{"../../asn1":136,buffer:105,inherits:248}],148:[function(e,t,r){var n=r;n.der=e("./der"),n.pem=e("./pem")},{"./der":147,"./pem":149}],149:[function(e,t,r){function n(e){o.call(this,e),this.enc="pem"}var i=e("inherits"),o=e("./der");i(n,o),t.exports=n,n.prototype.encode=function(e,t){for(var r=o.prototype.encode.call(this,e).toString("base64"),n=["-----BEGIN "+t.label+"-----"],i=0;i<r.length;i+=64)n.push(r.slice(i,i+64));return n.push("-----END "+t.label+"-----"),n.join("\n")}},{"./der":147,inherits:248}],150:[function(e,t,r){arguments[4][113][0].apply(r,arguments)},{buffer:77,dup:113}],151:[function(e,t,r){(function(Buffer){function r(e,t){var r=function(e){var t=n(e);return{blinder:t.toRed(i.mont(e.modulus)).redPow(new i(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),o=t.modulus.byteLength(),s=(i.mont(t.modulus),new i(e).mul(r.blinder).umod(t.modulus)),a=s.toRed(i.mont(t.prime1)),c=s.toRed(i.mont(t.prime2)),f=t.coefficient,u=t.prime1,h=t.prime2,l=a.redPow(t.exponent1),d=c.redPow(t.exponent2);l=l.fromRed(),d=d.fromRed();var p=l.isub(d).imul(f).umod(u);return p.imul(h),d.iadd(p),new Buffer(d.imul(r.unblinder).umod(t.modulus).toArray(!1,o))}function n(e){for(var t=e.modulus.byteLength(),r=new i(o(t));r.cmp(e.modulus)>=0||!r.umod(e.prime1)||!r.umod(e.prime2);)r=new i(o(t));return r}var i=e("bn.js"),o=e("randombytes");t.exports=r,r.getr=n}).call(this,e("buffer").Buffer)},{"bn.js":150,buffer:105,randombytes:299}],152:[function(e,t,r){t.exports=e("./browser/algorithms.json")},{"./browser/algorithms.json":153}],153:[function(e,t,r){t.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],154:[function(e,t,r){t.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],155:[function(e,t,r){(function(Buffer){function r(e){a.Writable.call(this);var t=h[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=s(t.hash),this._tag=t.id,this._signType=t.sign}function n(e){a.Writable.call(this);var t=h[e];if(!t)throw new Error("Unknown message digest");this._hash=s(t.hash),this._tag=t.id,this._signType=t.sign}function i(e){return new r(e)}function o(e){return new n(e)}var s=e("create-hash"),a=e("stream"),c=e("inherits"),f=e("./sign"),u=e("./verify"),h=e("./algorithms.json");Object.keys(h).forEach(function(e){h[e].id=new Buffer(h[e].id,"hex"),h[e.toLowerCase()]=h[e]}),c(r,a.Writable),r.prototype._write=function(e,t,r){this._hash.update(e),r()},r.prototype.update=function(e,t){return"string"==typeof e&&(e=new Buffer(e,t)),this._hash.update(e),this},r.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=f(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},c(n,a.Writable),n.prototype._write=function(e,t,r){this._hash.update(e),r()},n.prototype.update=function(e,t){return"string"==typeof e&&(e=new Buffer(e,t)),this._hash.update(e),this},n.prototype.verify=function(e,t,r){"string"==typeof t&&(t=new Buffer(t,r)),this.end();var n=this._hash.digest();return u(t,n,e,this._signType,this._tag)},t.exports={Sign:i,Verify:o,createSign:i,createVerify:o}}).call(this,e("buffer").Buffer)},{"./algorithms.json":153,"./sign":156,"./verify":157,buffer:105,"create-hash":130,inherits:248,stream:346}],156:[function(e,t,r){(function(Buffer){function r(e,t,r,i){if((e=new Buffer(e.toArray())).length<t.byteLength()){var s=new Buffer(t.byteLength()-e.length);s.fill(0),e=Buffer.concat([s,e])}var a=r.length,c=function(e,t){e=(e=n(e,t)).mod(t);var r=new Buffer(e.toArray());if(r.length<t.byteLength()){var i=new Buffer(t.byteLength()-r.length);i.fill(0),r=Buffer.concat([i,r])}return r}(r,t),f=new Buffer(a);f.fill(1);var u=new Buffer(a);return u.fill(0),u=o(i,u).update(f).update(new Buffer([0])).update(e).update(c).digest(),f=o(i,u).update(f).digest(),u=o(i,u).update(f).update(new Buffer([1])).update(e).update(c).digest(),f=o(i,u).update(f).digest(),{k:u,v:f}}function n(e,t){var r=new c(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function i(e,t,r){var i,s;do{for(i=new Buffer(0);8*i.length<e.bitLength();)t.v=o(r,t.k).update(t.v).digest(),i=Buffer.concat([i,t.v]);s=n(i,e),t.k=o(r,t.k).update(t.v).update(new Buffer([0])).digest(),t.v=o(r,t.k).update(t.v).digest()}while(-1!==s.cmp(e));return s}var o=e("create-hmac"),s=e("browserify-rsa"),a=e("elliptic").ec,c=e("bn.js"),f=e("parse-asn1"),u=e("./curves.json");t.exports=function(e,t,o,h,l){var d=f(t);if(d.curve){if("ecdsa"!==h&&"ecdsa/rsa"!==h)throw new Error("wrong private key type");return function(e,t){var r=u[t.curve.join(".")];if(!r)throw new Error("unknown curve "+t.curve.join("."));var n=new a(r).keyFromPrivate(t.privateKey).sign(e);return new Buffer(n.toDER())}(e,d)}if("dsa"===d.type){if("dsa"!==h)throw new Error("wrong private key type");return function(e,t,o){for(var s,a=t.params.priv_key,f=t.params.p,u=t.params.q,h=t.params.g,l=new c(0),d=n(e,u).mod(u),p=!1,b=r(a,u,e,o);!1===p;)s=i(u,b,o),l=function(e,t,r,n){return h.toRed(c.mont(r)).redPow(t).fromRed().mod(n)}(0,s,f,u),0===(p=s.invm(u).imul(d.add(a.mul(l))).mod(u)).cmpn(0)&&(p=!1,l=new c(0));return function(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var r=[48,e.length+t.length+4,2,e.length];return r=r.concat(e,[2,t.length],t),new Buffer(r)}(l,p)}(e,d,o)}if("rsa"!==h&&"ecdsa/rsa"!==h)throw new Error("wrong private key type");e=Buffer.concat([l,e]);for(var p=d.modulus.byteLength(),b=[0,1];e.length+b.length+1<p;)b.push(255);b.push(0);for(var y=-1;++y<e.length;)b.push(e[y]);return s(b,d)},t.exports.getKey=r,t.exports.makeKey=i}).call(this,e("buffer").Buffer)},{"./curves.json":154,"bn.js":150,"browserify-rsa":151,buffer:105,"create-hmac":133,elliptic:158,"parse-asn1":178}],157:[function(e,t,r){(function(Buffer){function r(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}var n=e("bn.js"),i=e("elliptic").ec,o=e("parse-asn1"),s=e("./curves.json");t.exports=function(e,t,a,c,f){var u=o(a);if("ec"===u.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(e,t,r){var n=s[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var o=new i(n),a=r.data.subjectPrivateKey.data;return o.verify(t,e,a)}(e,t,u)}if("dsa"===u.type){if("dsa"!==c)throw new Error("wrong public key type");return function(e,t,i){var s=i.data.p,a=i.data.q,c=i.data.g,f=i.data.pub_key,u=o.signature.decode(e,"der"),h=u.s,l=u.r;r(h,a),r(l,a);var d=n.mont(s),p=h.invm(a);return 0===c.toRed(d).redPow(new n(t).mul(p).mod(a)).fromRed().mul(f.toRed(d).redPow(l.mul(p).mod(a)).fromRed()).mod(s).mod(a).cmp(l)}(e,t,u)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");t=Buffer.concat([f,t]);for(var h=u.modulus.byteLength(),l=[1],d=0;t.length+l.length+2<h;)l.push(255),d++;l.push(0);for(var p=-1;++p<t.length;)l.push(t[p]);l=new Buffer(l);var b=n.mont(u.modulus);e=(e=new n(e).toRed(b)).redPow(new n(u.publicExponent)),e=new Buffer(e.fromRed().toArray());var y=d<8?1:0;for(h=Math.min(e.length,l.length),e.length!==l.length&&(y=1),p=-1;++p<h;)y|=e[p]^l[p];return 0===y}}).call(this,e("buffer").Buffer)},{"./curves.json":154,"bn.js":150,buffer:105,elliptic:158,"parse-asn1":178}],158:[function(e,t,r){arguments[4][114][0].apply(r,arguments)},{"../package.json":173,"./elliptic/curve":161,"./elliptic/curves":164,"./elliptic/ec":165,"./elliptic/eddsa":168,"./elliptic/utils":172,brorand:76,dup:114}],159:[function(e,t,r){arguments[4][115][0].apply(r,arguments)},{"../../elliptic":158,"bn.js":150,dup:115}],160:[function(e,t,r){arguments[4][116][0].apply(r,arguments)},{"../../elliptic":158,"../curve":161,"bn.js":150,dup:116,inherits:248}],161:[function(e,t,r){arguments[4][117][0].apply(r,arguments)},{"./base":159,"./edwards":160,"./mont":162,"./short":163,dup:117}],162:[function(e,t,r){arguments[4][118][0].apply(r,arguments)},{"../../elliptic":158,"../curve":161,"bn.js":150,dup:118,inherits:248}],163:[function(e,t,r){arguments[4][119][0].apply(r,arguments)},{"../../elliptic":158,"../curve":161,"bn.js":150,dup:119,inherits:248}],164:[function(e,t,r){arguments[4][120][0].apply(r,arguments)},{"../elliptic":158,"./precomputed/secp256k1":171,dup:120,"hash.js":233}],165:[function(e,t,r){arguments[4][121][0].apply(r,arguments)},{"../../elliptic":158,"./key":166,"./signature":167,"bn.js":150,dup:121,"hmac-drbg":245}],166:[function(e,t,r){arguments[4][122][0].apply(r,arguments)},{"../../elliptic":158,"bn.js":150,dup:122}],167:[function(e,t,r){arguments[4][123][0].apply(r,arguments)},{"../../elliptic":158,"bn.js":150,dup:123}],168:[function(e,t,r){arguments[4][124][0].apply(r,arguments)},{"../../elliptic":158,"./key":169,"./signature":170,dup:124,"hash.js":233}],169:[function(e,t,r){arguments[4][125][0].apply(r,arguments)},{"../../elliptic":158,dup:125}],170:[function(e,t,r){arguments[4][126][0].apply(r,arguments)},{"../../elliptic":158,"bn.js":150,dup:126}],171:[function(e,t,r){arguments[4][127][0].apply(r,arguments)},{dup:127}],172:[function(e,t,r){arguments[4][128][0].apply(r,arguments)},{"bn.js":150,dup:128,"minimalistic-assert":257,"minimalistic-crypto-utils":258}],173:[function(e,t,r){t.exports={_args:[[{raw:"elliptic@^6.0.0",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.0.0",spec:">=6.0.0 <7.0.0",type:"range"},"/work/blocktrail-sdk-nodejs/node_modules/crypto-browserify/node_modules/browserify-sign"]],_from:"elliptic@>=6.0.0 <7.0.0",_id:"[email protected]",_inCache:!0,_location:"/crypto-browserify/elliptic",_nodeVersion:"7.0.0",_npmOperationalInternal:{host:"packages-18-east.internal.npmjs.com",tmp:"tmp/elliptic-6.4.0.tgz_1487798866428_0.30510620190761983"},_npmUser:{name:"indutny",email:"[email protected]"},_npmVersion:"3.10.8",_phantomChildren:{},_requested:{raw:"elliptic@^6.0.0",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.0.0",spec:">=6.0.0 <7.0.0",type:"range"},_requiredBy:["/crypto-browserify/browserify-sign"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz",_shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",_shrinkwrap:null,_spec:"elliptic@^6.0.0",_where:"/work/blocktrail-sdk-nodejs/node_modules/crypto-browserify/node_modules/browserify-sign",author:{name:"Fedor Indutny",email:"[email protected]"},bugs:{url:"https://github.com/indutny/elliptic/issues"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},directories:{},dist:{shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",tarball:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz"},files:["lib"],gitHead:"6b0d2b76caae91471649c8e21f0b1d3ba0f96090",homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",maintainers:[{name:"indutny",email:"[email protected]"}],name:"elliptic",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git+ssh://[email protected]/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.4.0"}},{}],174:[function(e,t,r){t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],175:[function(e,t,r){"use strict";var n=e("asn1.js");r.certificate=e("./certificate");var i=n.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});r.RSAPrivateKey=i;var o=n.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});r.RSAPublicKey=o;var s=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())});r.PublicKey=s;var a=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),c=n.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())});r.PrivateKey=c;var f=n.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});r.EncryptedPrivateKey=f;var u=n.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});r.DSAPrivateKey=u,r.DSAparam=n.define("DSAparam",function(){this.int()});var h=n.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(l),this.key("publicKey").optional().explicit(1).bitstr())});r.ECPrivateKey=h;var l=n.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});r.signature=n.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},{"./certificate":176,"asn1.js":136}],176:[function(e,t,r){"use strict";var n=e("asn1.js"),i=n.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),o=n.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),s=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional())}),a=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}),c=n.define("RelativeDistinguishedName",function(){this.setof(o)}),f=n.define("RDNSequence",function(){this.seqof(c)}),u=n.define("Name",function(){this.choice({rdnSequence:this.use(f)})}),h=n.define("Validity",function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))}),l=n.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),d=n.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int(),this.key("serialNumber").int(),this.key("signature").use(s),this.key("issuer").use(u),this.key("validity").use(h),this.key("subject").use(u),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(l).optional())}),p=n.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(s),this.key("signatureValue").bitstr())});t.exports=p},{"asn1.js":136}],177:[function(e,t,r){(function(Buffer){var r=/Proc-Type: 4,ENCRYPTED\n\r?DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)\n\r?\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?/m,n=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n/m,i=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?-----END \1-----$/m,o=e("evp_bytestokey"),s=e("browserify-aes");t.exports=function(e,t){var a,c=e.toString(),f=c.match(r);if(f){var u="aes"+f[1],h=new Buffer(f[2],"hex"),l=new Buffer(f[3].replace(/\r?\n/g,""),"base64"),d=o(t,h.slice(0,8),parseInt(f[1],10)).key,p=[],b=s.createDecipheriv(u,d,h);p.push(b.update(l)),p.push(b.final()),a=Buffer.concat(p)}else{var y=c.match(i);a=new Buffer(y[2].replace(/\r?\n/g,""),"base64")}return{tag:c.match(n)[1],data:a}}}).call(this,e("buffer").Buffer)},{"browserify-aes":80,buffer:105,evp_bytestokey:231}],178:[function(e,t,r){(function(Buffer){function r(e){var t;"object"!=typeof e||Buffer.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=new Buffer(e));var r,c,f=o(e,t),u=f.tag,h=f.data;switch(u){case"CERTIFICATE":c=n.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(c||(c=n.PublicKey.decode(h,"der")),r=c.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(c.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return c.subjectPrivateKey=c.subjectPublicKey,{type:"ec",data:c};case"1.2.840.10040.4.1":return c.algorithm.params.pub_key=n.DSAparam.decode(c.subjectPublicKey.data,"der"),{type:"dsa",data:c.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+u);case"ENCRYPTED PRIVATE KEY":h=function(e,t){var r=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],c=e.algorithm.decrypt.cipher.iv,f=e.subjectPrivateKey,u=parseInt(o.split("-")[1],10)/8,h=a.pbkdf2Sync(t,r,n,u),l=s.createDecipheriv(o,h,c),d=[];return d.push(l.update(f)),d.push(l.final()),Buffer.concat(d)}(h=n.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(c=n.PrivateKey.decode(h,"der"),r=c.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(c.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:c.algorithm.curve,privateKey:n.ECPrivateKey.decode(c.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return c.algorithm.params.priv_key=n.DSAparam.decode(c.subjectPrivateKey,"der"),{type:"dsa",params:c.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+u);case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return h=n.ECPrivateKey.decode(h,"der"),{curve:h.parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+u)}}var n=e("./asn1"),i=e("./aesid.json"),o=e("./fixProc"),s=e("browserify-aes"),a=e("pbkdf2");t.exports=r,r.signature=n.signature}).call(this,e("buffer").Buffer)},{"./aesid.json":174,"./asn1":175,"./fixProc":177,"browserify-aes":80,buffer:105,pbkdf2:259}],179:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./enc-base64"),e("./md5"),e("./evpkdf"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib.BlockCipher,n=t.algo,i=[],o=[],s=[],a=[],c=[],f=[],u=[],h=[],l=[],d=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=0,n=0,t=0;t<256;t++){var p=n^n<<1^n<<2^n<<3^n<<4;p=p>>>8^255&p^99,i[r]=p,o[p]=r;var b=e[r],y=e[b],v=e[y],m=257*e[p]^16843008*p;s[r]=m<<24|m>>>8,a[r]=m<<16|m>>>16,c[r]=m<<8|m>>>24,f[r]=m;m=16843009*v^65537*y^257*b^16843008*r;u[p]=m<<24|m>>>8,h[p]=m<<16|m>>>16,l[p]=m<<8|m>>>24,d[p]=m,r?(r=b^e[e[e[v^b]]],n^=e[e[n]]):r=n=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],b=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),o=this._keySchedule=[],s=0;s<n;s++)if(s<r)o[s]=t[s];else{f=o[s-1];s%r?r>6&&s%r==4&&(f=i[f>>>24]<<24|i[f>>>16&255]<<16|i[f>>>8&255]<<8|i[255&f]):(f=i[(f=f<<8|f>>>24)>>>24]<<24|i[f>>>16&255]<<16|i[f>>>8&255]<<8|i[255&f],f^=p[s/r|0]<<24),o[s]=o[s-r]^f}for(var a=this._invKeySchedule=[],c=0;c<n;c++){s=n-c;if(c%4)f=o[s];else var f=o[s-4];a[c]=c<4||s<=4?f:u[i[f>>>24]]^h[i[f>>>16&255]]^l[i[f>>>8&255]]^d[i[255&f]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,a,c,f,i)},decryptBlock:function(e,t){r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,u,h,l,d,o);var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,i,o,s,a){for(var c=this._nRounds,f=e[t]^r[0],u=e[t+1]^r[1],h=e[t+2]^r[2],l=e[t+3]^r[3],d=4,p=1;p<c;p++){var b=n[f>>>24]^i[u>>>16&255]^o[h>>>8&255]^s[255&l]^r[d++],y=n[u>>>24]^i[h>>>16&255]^o[l>>>8&255]^s[255&f]^r[d++],v=n[h>>>24]^i[l>>>16&255]^o[f>>>8&255]^s[255&u]^r[d++],m=n[l>>>24]^i[f>>>16&255]^o[u>>>8&255]^s[255&h]^r[d++];f=b,u=y,h=v,l=m}var b=(a[f>>>24]<<24|a[u>>>16&255]<<16|a[h>>>8&255]<<8|a[255&l])^r[d++],y=(a[u>>>24]<<24|a[h>>>16&255]<<16|a[l>>>8&255]<<8|a[255&f])^r[d++],v=(a[h>>>24]<<24|a[l>>>16&255]<<16|a[f>>>8&255]<<8|a[255&u])^r[d++],m=(a[l>>>24]<<24|a[f>>>16&255]<<16|a[u>>>8&255]<<8|a[255&h])^r[d++];e[t]=b,e[t+1]=y,e[t+2]=v,e[t+3]=m},keySize:8});t.AES=r._createHelper(b)}(),e.AES})},{"./cipher-core":180,"./core":181,"./enc-base64":182,"./evpkdf":184,"./md5":189}],180:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){e.lib.Cipher||function(t){var r=e,n=r.lib,i=n.Base,o=n.WordArray,s=n.BufferedBlockAlgorithm,a=r.enc,c=(a.Utf8,a.Base64),f=r.algo.EvpKDF,u=n.Cipher=s.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){e&&this._append(e);return this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?g:v}return function(t){return{encrypt:function(r,n,i){return e(n).encrypt(t,r,n,i)},decrypt:function(r,n,i){return e(n).decrypt(t,r,n,i)}}}}()}),h=(n.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),r.mode={}),l=n.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),d=h.CBC=function(){function e(e,r,n){var i=this._iv;if(i){o=i;this._iv=t}else var o=this._prevBlock;for(var s=0;s<n;s++)e[r+s]^=o[s]}var r=l.extend();return r.Encryptor=r.extend({processBlock:function(t,r){var n=this._cipher,i=n.blockSize;e.call(this,t,r,i),n.encryptBlock(t,r),this._prevBlock=t.slice(r,r+i)}}),r.Decryptor=r.extend({processBlock:function(t,r){var n=this._cipher,i=n.blockSize,o=t.slice(r,r+i);n.decryptBlock(t,r),e.call(this,t,r,i),this._prevBlock=o}}),r}(),p=(r.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,i=n<<24|n<<16|n<<8|n,s=[],a=0;a<n;a+=4)s.push(i);var c=o.create(s,n);e.concat(c)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},b=(n.BlockCipher=u.extend({cfg:u.cfg.extend({mode:d,padding:p}),reset:function(){u.reset.call(this);var e=this.cfg,t=e.iv,r=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)n=r.createEncryptor;else{var n=r.createDecryptor;this._minBufferSize=1}this._mode=n.call(r,this,t&&t.words)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);t=this._process(!0)}else{var t=this._process(!0);e.unpad(t)}return t},blockSize:4}),n.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),y=(r.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;if(r)n=o.create([1398893684,1701076831]).concat(r).concat(t);else var n=t;return n.toString(c)},parse:function(e){var t=c.parse(e),r=t.words;if(1398893684==r[0]&&1701076831==r[1]){var n=o.create(r.slice(2,4));r.splice(0,4),t.sigBytes-=16}return b.create({ciphertext:t,salt:n})}},v=n.SerializableCipher=i.extend({cfg:i.extend({format:y}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var i=e.createEncryptor(r,n),o=i.finalize(t),s=i.cfg;return b.create({ciphertext:o,key:r,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);return e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),m=(r.kdf={}).OpenSSL={execute:function(e,t,r,n){n||(n=o.random(8));var i=f.create({keySize:t+r}).compute(e,n),s=o.create(i.words.slice(t),4*r);return i.sigBytes=4*t,b.create({key:i,iv:s,salt:n})}},g=n.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:m}),encrypt:function(e,t,r,n){var i=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize);n.iv=i.iv;var o=v.encrypt.call(this,e,t,i.key,n);return o.mixIn(i),o},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=n.kdf.execute(r,e.keySize,e.ivSize,t.salt);n.iv=i.iv;return v.decrypt.call(this,e,t,i.key,n)}})}()})},{"./core":181}],181:[function(e,t,r){!function(e,n){"object"==typeof r?t.exports=r=n():"function"==typeof define&&define.amd?define([],n):e.CryptoJS=n()}(this,function(){var e=e||function(e,t){var r=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),n={},i=n.lib={},o=i.Base={extend:function(e){var t=r(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},s=i.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=void 0!=t?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(s=0;s<i;s++){var o=r[s>>>2]>>>24-s%4*8&255;t[n+s>>>2]|=o<<24-(n+s)%4*8}else for(var s=0;s<i;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var r,n=[],i=function(t){var t=t,r=987654321;return function(){var n=((r=36969*(65535&r)+(r>>16)&4294967295)<<16)+(t=18e3*(65535&t)+(t>>16)&4294967295)&4294967295;return n/=4294967296,(n+=.5)*(e.random()>.5?1:-1)}},o=0;o<t;o+=4){var a=i(4294967296*(r||e.random()));r=987654071*a(),n.push(4294967296*a()|0)}return new s.init(n,t)}}),a=n.enc={},c=a.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new s.init(r,t/2)}},f=a.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new s.init(r,t)}},u=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},h=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r=this._data,n=r.words,i=r.sigBytes,o=this.blockSize,a=i/(4*o),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*o,f=e.min(4*c,i);if(c){for(var u=0;u<c;u+=o)this._doProcessBlock(n,u);var h=n.splice(0,c);r.sigBytes-=f}return new s.init(h,f)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),l=(i.Hasher=h.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){e&&this._append(e);return this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new l.HMAC.init(e,r).finalize(t)}}}),n.algo={});return n}(Math);return e})},{}],182:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib.WordArray;t.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],o=0;o<r;o+=3)for(var s=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,a=0;a<4&&o+.75*a<r;a++)i.push(n.charAt(s>>>6*(3-a)&63));var c=n.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<n.length;o++)i[n.charCodeAt(o)]=o}var s=n.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return function(e,t,n){for(var i=[],o=0,s=0;s<t;s++)if(s%4){var a=n[e.charCodeAt(s-1)]<<s%4*2,c=n[e.charCodeAt(s)]>>>6-s%4*2;i[o>>>2]|=(a|c)<<24-o%4*8,o++}return r.create(i,o)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64})},{"./core":181}],183:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(e){return e<<8&4278255360|e>>>8&16711935}var r=e,n=r.lib.WordArray,i=r.enc;i.Utf16=i.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var o=t[i>>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,r=[],i=0;i<t;i++)r[i>>>1]|=e.charCodeAt(i)<<16-i%2*16;return n.create(r,2*t)}};i.Utf16LE={stringify:function(e){for(var r=e.words,n=e.sigBytes,i=[],o=0;o<n;o+=2){var s=t(r[o>>>2]>>>16-o%4*8&65535);i.push(String.fromCharCode(s))}return i.join("")},parse:function(e){for(var r=e.length,i=[],o=0;o<r;o++)i[o>>>1]|=t(e.charCodeAt(o)<<16-o%2*16);return n.create(i,2*r)}}}(),e.enc.Utf16})},{"./core":181}],184:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./sha1"),e("./hmac")):"function"==typeof define&&define.amd?define(["./core","./sha1","./hmac"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib,n=r.Base,i=r.WordArray,o=t.algo,s=o.MD5,a=o.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=r.hasher.create(),o=i.create(),s=o.words,a=r.keySize,c=r.iterations;s.length<a;){f&&n.update(f);var f=n.update(e).finalize(t);n.reset();for(var u=1;u<c;u++)f=n.finalize(f),n.reset();o.concat(f)}return o.sigBytes=4*a,o}});t.EvpKDF=function(e,t,r){return a.create(r).compute(e,t)}}(),e.EvpKDF})},{"./core":181,"./hmac":186,"./sha1":205}],185:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(t){var r=e,n=r.lib.CipherParams,i=r.enc.Hex;r.format.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return n.create({ciphertext:t})}}}(),e.format.Hex})},{"./cipher-core":180,"./core":181}],186:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){!function(){var t=e,r=t.lib.Base,n=t.enc.Utf8;t.algo.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var r=e.blockSize,i=4*r;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),s=this._iKey=t.clone(),a=o.words,c=s.words,f=0;f<r;f++)a[f]^=1549556828,c[f]^=909522486;o.sigBytes=s.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);t.reset();return t.finalize(this._oKey.clone().concat(r))}})}()})},{"./core":181}],187:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./x64-core"),e("./lib-typedarrays"),e("./enc-utf16"),e("./enc-base64"),e("./md5"),e("./sha1"),e("./sha256"),e("./sha224"),e("./sha512"),e("./sha384"),e("./sha3"),e("./ripemd160"),e("./hmac"),e("./pbkdf2"),e("./evpkdf"),e("./cipher-core"),e("./mode-cfb"),e("./mode-ctr"),e("./mode-ctr-gladman"),e("./mode-ofb"),e("./mode-ecb"),e("./pad-ansix923"),e("./pad-iso10126"),e("./pad-iso97971"),e("./pad-zeropadding"),e("./pad-nopadding"),e("./format-hex"),e("./aes"),e("./tripledes"),e("./rc4"),e("./rabbit"),e("./rabbit-legacy")):"function"==typeof define&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy"],i):n.CryptoJS=i(n.CryptoJS)}(this,function(e){return e})},{"./aes":179,"./cipher-core":180,"./core":181,"./enc-base64":182,"./enc-utf16":183,"./evpkdf":184,"./format-hex":185,"./hmac":186,"./lib-typedarrays":188,"./md5":189,"./mode-cfb":190,"./mode-ctr":192,"./mode-ctr-gladman":191,"./mode-ecb":193,"./mode-ofb":194,"./pad-ansix923":195,"./pad-iso10126":196,"./pad-iso97971":197,"./pad-nopadding":198,"./pad-zeropadding":199,"./pbkdf2":200,"./rabbit":202,"./rabbit-legacy":201,"./rc4":203,"./ripemd160":204,"./sha1":205,"./sha224":206,"./sha256":207,"./sha3":208,"./sha384":209,"./sha512":210,"./tripledes":211,"./x64-core":212}],188:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,r=t.init;(t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],i=0;i<t;i++)n[i>>>2]|=e[i]<<24-i%4*8;r.call(this,n,t)}else r.apply(this,arguments)}).prototype=t}}(),e.lib.WordArray})},{"./core":181}],189:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(t){function r(e,t,r,n,i,o,s){var a=e+(t&r|~t&n)+i+s;return(a<<o|a>>>32-o)+t}function n(e,t,r,n,i,o,s){var a=e+(t&n|r&~n)+i+s;return(a<<o|a>>>32-o)+t}function i(e,t,r,n,i,o,s){var a=e+(t^r^n)+i+s;return(a<<o|a>>>32-o)+t}function o(e,t,r,n,i,o,s){var a=e+(r^(t|~n))+i+s;return(a<<o|a>>>32-o)+t}var s=e,a=s.lib,c=a.WordArray,f=a.Hasher,u=s.algo,h=[];!function(){for(var e=0;e<64;e++)h[e]=4294967296*t.abs(t.sin(e+1))|0}();var l=u.MD5=f.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var s=0;s<16;s++){var a=t+s,c=e[a];e[a]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}var f=this._hash.words,u=e[t+0],l=e[t+1],d=e[t+2],p=e[t+3],b=e[t+4],y=e[t+5],v=e[t+6],m=e[t+7],g=e[t+8],w=e[t+9],_=e[t+10],E=e[t+11],S=e[t+12],k=e[t+13],A=e[t+14],x=e[t+15],I=f[0],T=f[1],B=f[2],P=f[3];T=o(T=o(T=o(T=o(T=i(T=i(T=i(T=i(T=n(T=n(T=n(T=n(T=r(T=r(T=r(T=r(T,B=r(B,P=r(P,I=r(I,T,B,P,u,7,h[0]),T,B,l,12,h[1]),I,T,d,17,h[2]),P,I,p,22,h[3]),B=r(B,P=r(P,I=r(I,T,B,P,b,7,h[4]),T,B,y,12,h[5]),I,T,v,17,h[6]),P,I,m,22,h[7]),B=r(B,P=r(P,I=r(I,T,B,P,g,7,h[8]),T,B,w,12,h[9]),I,T,_,17,h[10]),P,I,E,22,h[11]),B=r(B,P=r(P,I=r(I,T,B,P,S,7,h[12]),T,B,k,12,h[13]),I,T,A,17,h[14]),P,I,x,22,h[15]),B=n(B,P=n(P,I=n(I,T,B,P,l,5,h[16]),T,B,v,9,h[17]),I,T,E,14,h[18]),P,I,u,20,h[19]),B=n(B,P=n(P,I=n(I,T,B,P,y,5,h[20]),T,B,_,9,h[21]),I,T,x,14,h[22]),P,I,b,20,h[23]),B=n(B,P=n(P,I=n(I,T,B,P,w,5,h[24]),T,B,A,9,h[25]),I,T,p,14,h[26]),P,I,g,20,h[27]),B=n(B,P=n(P,I=n(I,T,B,P,k,5,h[28]),T,B,d,9,h[29]),I,T,m,14,h[30]),P,I,S,20,h[31]),B=i(B,P=i(P,I=i(I,T,B,P,y,4,h[32]),T,B,g,11,h[33]),I,T,E,16,h[34]),P,I,A,23,h[35]),B=i(B,P=i(P,I=i(I,T,B,P,l,4,h[36]),T,B,b,11,h[37]),I,T,m,16,h[38]),P,I,_,23,h[39]),B=i(B,P=i(P,I=i(I,T,B,P,k,4,h[40]),T,B,u,11,h[41]),I,T,p,16,h[42]),P,I,v,23,h[43]),B=i(B,P=i(P,I=i(I,T,B,P,w,4,h[44]),T,B,S,11,h[45]),I,T,x,16,h[46]),P,I,d,23,h[47]),B=o(B,P=o(P,I=o(I,T,B,P,u,6,h[48]),T,B,m,10,h[49]),I,T,A,15,h[50]),P,I,y,21,h[51]),B=o(B,P=o(P,I=o(I,T,B,P,S,6,h[52]),T,B,p,10,h[53]),I,T,_,15,h[54]),P,I,l,21,h[55]),B=o(B,P=o(P,I=o(I,T,B,P,g,6,h[56]),T,B,x,10,h[57]),I,T,v,15,h[58]),P,I,k,21,h[59]),B=o(B,P=o(P,I=o(I,T,B,P,b,6,h[60]),T,B,E,10,h[61]),I,T,d,15,h[62]),P,I,w,21,h[63]),f[0]=f[0]+I|0,f[1]=f[1]+T|0,f[2]=f[2]+B|0,f[3]=f[3]+P|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;r[i>>>5]|=128<<24-i%32;var o=t.floor(n/4294967296),s=n;r[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),r[14+(i+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(r.length+1),this._process();for(var a=this._hash,c=a.words,f=0;f<4;f++){var u=c[f];c[f]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return a},clone:function(){var e=f.clone.call(this);return e._hash=this._hash.clone(),e}});s.MD5=f._createHelper(l),s.HmacMD5=f._createHmacHelper(l)}(Math),e.MD5})},{"./core":181}],190:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.mode.CFB=function(){function t(e,t,r,n){var i=this._iv;if(i){o=i.slice(0);this._iv=void 0}else var o=this._prevBlock;n.encryptBlock(o,0);for(var s=0;s<r;s++)e[t+s]^=o[s]}var r=e.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize;t.call(this,e,r,i,n),this._prevBlock=e.slice(r,r+i)}}),r.Decryptor=r.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize,o=e.slice(r,r+i);t.call(this,e,r,i,n),this._prevBlock=o}}),r}(),e.mode.CFB})},{"./cipher-core":180,"./core":181}],191:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.mode.CTRGladman=function(){function t(e){if(255==(e>>24&255)){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}else e+=1<<24;return e}var r=e.lib.BlockCipherMode.extend(),n=r.Encryptor=r.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(s);var a=s.slice(0);n.encryptBlock(a,0);for(var c=0;c<i;c++)e[r+c]^=a[c]}});return r.Decryptor=n,r}(),e.mode.CTRGladman})},{"./cipher-core":180,"./core":181}],192:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.mode.CTR=function(){var t=e.lib.BlockCipherMode.extend(),r=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var s=o.slice(0);r.encryptBlock(s,0),o[n-1]=o[n-1]+1|0;for(var a=0;a<n;a++)e[t+a]^=s[a]}});return t.Decryptor=r,t}(),e.mode.CTR})},{"./cipher-core":180,"./core":181}],193:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.mode.ECB=function(){var t=e.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),t.Decryptor=t.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),t}(),e.mode.ECB})},{"./cipher-core":180,"./core":181}],194:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.mode.OFB=function(){var t=e.lib.BlockCipherMode.extend(),r=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),r.encryptBlock(o,0);for(var s=0;s<n;s++)e[t+s]^=o[s]}});return t.Decryptor=r,t}(),e.mode.OFB})},{"./cipher-core":180,"./core":181}],195:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,i=n-r%n,o=r+i-1;e.clamp(),e.words[o>>>2]|=i<<24-o%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923})},{"./cipher-core":180,"./core":181}],196:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.pad.Iso10126={pad:function(t,r){var n=4*r,i=n-t.sigBytes%n;t.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126})},{"./cipher-core":180,"./core":181}],197:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.pad.Iso97971={pad:function(t,r){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,r)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971})},{"./cipher-core":180,"./core":181}],198:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding})},{"./cipher-core":180,"./core":181}],199:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){for(var t=e.words,r=e.sigBytes-1;!(t[r>>>2]>>>24-r%4*8&255);)r--;e.sigBytes=r+1}},e.pad.ZeroPadding})},{"./cipher-core":180,"./core":181}],200:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./sha1"),e("./hmac")):"function"==typeof define&&define.amd?define(["./core","./sha1","./hmac"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib,n=r.Base,i=r.WordArray,o=t.algo,s=o.SHA1,a=o.HMAC,c=o.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=a.create(r.hasher,e),o=i.create(),s=i.create([1]),c=o.words,f=s.words,u=r.keySize,h=r.iterations;c.length<u;){var l=n.update(t).finalize(s);n.reset();for(var d=l.words,p=d.length,b=l,y=1;y<h;y++){b=n.finalize(b),n.reset();for(var v=b.words,m=0;m<p;m++)d[m]^=v[m]}o.concat(l),f[0]++}return o.sigBytes=4*u,o}});t.PBKDF2=function(e,t,r){return c.create(r).compute(e,t)}}(),e.PBKDF2})},{"./core":181,"./hmac":186,"./sha1":205}],201:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./enc-base64"),e("./md5"),e("./evpkdf"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(){for(var e=this._X,t=this._C,r=0;r<8;r++)o[r]=t[r];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0,this._b=t[7]>>>0<o[7]>>>0?1:0;for(r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,a=n>>>16,c=((i*i>>>17)+i*a>>>15)+a*a,f=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=c^f}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}var r=e,n=r.lib.StreamCipher,i=[],o=[],s=[],a=r.algo.RabbitLegacy=n.extend({_doReset:function(){var e=this._key.words,r=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(l=0;l<4;l++)t.call(this);for(l=0;l<8;l++)i[l]^=n[l+4&7];if(r){var o=r.words,s=o[0],a=o[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),f=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=c>>>16|4294901760&f,h=f<<16|65535&c;i[0]^=c,i[1]^=u,i[2]^=f,i[3]^=h,i[4]^=c,i[5]^=u,i[6]^=f,i[7]^=h;for(var l=0;l<4;l++)t.call(this)}},_doProcessBlock:function(e,r){var n=this._X;t.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)i[o]=16711935&(i[o]<<8|i[o]>>>24)|4278255360&(i[o]<<24|i[o]>>>8),e[r+o]^=i[o]},blockSize:4,ivSize:2});r.RabbitLegacy=n._createHelper(a)}(),e.RabbitLegacy})},{"./cipher-core":180,"./core":181,"./enc-base64":182,"./evpkdf":184,"./md5":189}],202:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./enc-base64"),e("./md5"),e("./evpkdf"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(){for(var e=this._X,t=this._C,r=0;r<8;r++)o[r]=t[r];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0,this._b=t[7]>>>0<o[7]>>>0?1:0;for(r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,a=n>>>16,c=((i*i>>>17)+i*a>>>15)+a*a,f=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=c^f}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}var r=e,n=r.lib.StreamCipher,i=[],o=[],s=[],a=r.algo.Rabbit=n.extend({_doReset:function(){for(var e=this._key.words,r=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(n=0;n<4;n++)t.call(this);for(n=0;n<8;n++)o[n]^=i[n+4&7];if(r){var s=r.words,a=s[0],c=s[1],f=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),h=f>>>16|4294901760&u,l=u<<16|65535&f;o[0]^=f,o[1]^=h,o[2]^=u,o[3]^=l,o[4]^=f,o[5]^=h,o[6]^=u,o[7]^=l;for(n=0;n<4;n++)t.call(this)}},_doProcessBlock:function(e,r){var n=this._X;t.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)i[o]=16711935&(i[o]<<8|i[o]>>>24)|4278255360&(i[o]<<24|i[o]>>>8),e[r+o]^=i[o]},blockSize:4,ivSize:2});r.Rabbit=n._createHelper(a)}(),e.Rabbit})},{"./cipher-core":180,"./core":181,"./enc-base64":182,"./evpkdf":184,"./md5":189}],203:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./enc-base64"),e("./md5"),e("./evpkdf"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(){for(var e=this._S,t=this._i,r=this._j,n=0,i=0;i<4;i++){r=(r+e[t=(t+1)%256])%256;var o=e[t];e[t]=e[r],e[r]=o,n|=e[(e[t]+e[r])%256]<<24-8*i}return this._i=t,this._j=r,n}var r=e,n=r.lib.StreamCipher,i=r.algo,o=i.RC4=n.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;for(var i=0,o=0;i<256;i++){var s=i%r,a=t[s>>>2]>>>24-s%4*8&255;o=(o+n[i]+a)%256;var c=n[i];n[i]=n[o],n[o]=c}this._i=this._j=0},_doProcessBlock:function(e,r){e[r]^=t.call(this)},keySize:8,ivSize:0});r.RC4=n._createHelper(o);var s=i.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)t.call(this)}});r.RC4Drop=n._createHelper(s)}(),e.RC4})},{"./cipher-core":180,"./core":181,"./enc-base64":182,"./evpkdf":184,"./md5":189}],204:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(t){function r(e,t,r){return e^t^r}function n(e,t,r){return e&t|~e&r}function i(e,t,r){return(e|~t)^r}function o(e,t,r){return e&r|t&~r}function s(e,t,r){return e^(t|~r)}function a(e,t){return e<<t|e>>>32-t}var c=e,f=c.lib,u=f.WordArray,h=f.Hasher,l=c.algo,d=u.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),p=u.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),b=u.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),y=u.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),v=u.create([0,1518500249,1859775393,2400959708,2840853838]),m=u.create([1352829926,1548603684,1836072691,2053994217,0]),g=l.RIPEMD160=h.extend({_doReset:function(){this._hash=u.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(O=0;O<16;O++){var c=t+O,f=e[c];e[c]=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)}var u,h,l,g,w,_,E,S,k,A,x=this._hash.words,I=v.words,T=m.words,B=d.words,P=p.words,M=b.words,C=y.words;_=u=x[0],E=h=x[1],S=l=x[2],k=g=x[3],A=w=x[4];for(var R,O=0;O<80;O+=1)R=u+e[t+B[O]]|0,R+=O<16?r(h,l,g)+I[0]:O<32?n(h,l,g)+I[1]:O<48?i(h,l,g)+I[2]:O<64?o(h,l,g)+I[3]:s(h,l,g)+I[4],R=(R=a(R|=0,M[O]))+w|0,u=w,w=g,g=a(l,10),l=h,h=R,R=_+e[t+P[O]]|0,R+=O<16?s(E,S,k)+T[0]:O<32?o(E,S,k)+T[1]:O<48?i(E,S,k)+T[2]:O<64?n(E,S,k)+T[3]:r(E,S,k)+T[4],R=(R=a(R|=0,C[O]))+A|0,_=A,A=k,k=a(S,10),S=E,E=R;R=x[1]+l+k|0,x[1]=x[2]+g+A|0,x[2]=x[3]+w+_|0,x[3]=x[4]+u+E|0,x[4]=x[0]+h+S|0,x[0]=R},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return i},clone:function(){var e=h.clone.call(this);return e._hash=this._hash.clone(),e}});c.RIPEMD160=h._createHelper(g),c.HmacRIPEMD160=h._createHmacHelper(g)}(Math),e.RIPEMD160})},{"./core":181}],205:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib,n=r.WordArray,i=r.Hasher,o=[],s=t.algo.SHA1=i.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],s=r[2],a=r[3],c=r[4],f=0;f<80;f++){if(f<16)o[f]=0|e[t+f];else{var u=o[f-3]^o[f-8]^o[f-14]^o[f-16];o[f]=u<<1|u>>>31}var h=(n<<5|n>>>27)+c+o[f];h+=f<20?1518500249+(i&s|~i&a):f<40?1859775393+(i^s^a):f<60?(i&s|i&a|s&a)-1894007588:(i^s^a)-899497514,c=a,a=s,s=i<<30|i>>>2,i=n,n=h}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+s|0,r[3]=r[3]+a|0,r[4]=r[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=i._createHelper(s),t.HmacSHA1=i._createHmacHelper(s)}(),e.SHA1})},{"./core":181}],206:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./sha256")):"function"==typeof define&&define.amd?define(["./core","./sha256"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib.WordArray,n=t.algo,i=n.SHA256,o=n.SHA224=i.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=i._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=i._createHelper(o),t.HmacSHA224=i._createHmacHelper(o)}(),e.SHA224})},{"./core":181,"./sha256":207}],207:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(t){var r=e,n=r.lib,i=n.WordArray,o=n.Hasher,s=r.algo,a=[],c=[];!function(){function e(e){for(var r=t.sqrt(e),n=2;n<=r;n++)if(!(e%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,i=0;i<64;)e(n)&&(i<8&&(a[i]=r(t.pow(n,.5))),c[i]=r(t.pow(n,1/3)),i++),n++}();var f=[],u=s.SHA256=o.extend({_doReset:function(){this._hash=new i.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],s=r[3],a=r[4],u=r[5],h=r[6],l=r[7],d=0;d<64;d++){if(d<16)f[d]=0|e[t+d];else{var p=f[d-15],b=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,y=f[d-2],v=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;f[d]=b+f[d-7]+v+f[d-16]}var m=n&i^n&o^i&o,g=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),w=l+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&u^~a&h)+c[d]+f[d];l=h,h=u,u=a,a=s+w|0,s=o,o=i,i=n,n=w+(g+m)|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+u|0,r[6]=r[6]+h|0,r[7]=r[7]+l|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=t.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});r.SHA256=o._createHelper(u),r.HmacSHA256=o._createHmacHelper(u)}(Math),e.SHA256})},{"./core":181}],208:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./x64-core")):"function"==typeof define&&define.amd?define(["./core","./x64-core"],i):i(n.CryptoJS)}(this,function(e){return function(t){var r=e,n=r.lib,i=n.WordArray,o=n.Hasher,s=r.x64.Word,a=r.algo,c=[],f=[],u=[];!function(){for(var e=1,t=0,r=0;r<24;r++){c[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)f[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,o=0;o<24;o++){for(var a=0,h=0,l=0;l<7;l++){if(1&i){var d=(1<<l)-1;d<32?h^=1<<d:a^=1<<d-32}128&i?i=i<<1^113:i<<=1}u[o]=s.create(a,h)}}();var h=[];!function(){for(var e=0;e<25;e++)h[e]=s.create()}();var l=a.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,i=0;i<n;i++){var o=e[t+2*i],s=e[t+2*i+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8);(T=r[i]).high^=s,T.low^=o}for(var a=0;a<24;a++){for(x=0;x<5;x++){for(var l=0,d=0,p=0;p<5;p++){l^=(T=r[x+5*p]).high,d^=T.low}var b=h[x];b.high=l,b.low=d}for(x=0;x<5;x++)for(var y=h[(x+4)%5],v=h[(x+1)%5],m=v.high,g=v.low,l=y.high^(m<<1|g>>>31),d=y.low^(g<<1|m>>>31),p=0;p<5;p++){(T=r[x+5*p]).high^=l,T.low^=d}for(I=1;I<25;I++){var w=(T=r[I]).high,_=T.low,E=c[I];if(E<32)var l=w<<E|_>>>32-E,d=_<<E|w>>>32-E;else var l=_<<E-32|w>>>64-E,d=w<<E-32|_>>>64-E;var S=h[f[I]];S.high=l,S.low=d}var k=h[0],A=r[0];k.high=A.high,k.low=A.low;for(var x=0;x<5;x++)for(p=0;p<5;p++){var I,T=r[I=x+5*p],B=h[I],P=h[(x+1)%5+5*p],M=h[(x+2)%5+5*p];T.high=B.high^~P.high&M.high,T.low=B.low^~P.low&M.low}var T=r[0],C=u[a];T.high^=C.high,T.low^=C.low}},_doFinalize:function(){var e=this._data,r=e.words,n=(this._nDataBytes,8*e.sigBytes),o=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(t.ceil((n+1)/o)*o>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,f=[],u=0;u<c;u++){var h=s[u],l=h.high,d=h.low;l=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),f.push(d),f.push(l)}return new i.init(f,a)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});r.SHA3=o._createHelper(l),r.HmacSHA3=o._createHmacHelper(l)}(Math),e.SHA3})},{"./core":181,"./x64-core":212}],209:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./x64-core"),e("./sha512")):"function"==typeof define&&define.amd?define(["./core","./x64-core","./sha512"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.x64,n=r.Word,i=r.WordArray,o=t.algo,s=o.SHA512,a=o.SHA384=s.extend({_doReset:function(){this._hash=new i.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=s._createHelper(a),t.HmacSHA384=s._createHmacHelper(a)}(),e.SHA384})},{"./core":181,"./sha512":210,"./x64-core":212}],210:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./x64-core")):"function"==typeof define&&define.amd?define(["./core","./x64-core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(){return o.create.apply(o,arguments)}var r=e,n=r.lib.Hasher,i=r.x64,o=i.Word,s=i.WordArray,a=r.algo,c=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],f=[];!function(){for(var e=0;e<80;e++)f[e]=t()}();var u=a.SHA512=n.extend({_doReset:function(){this._hash=new s.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],s=r[3],a=r[4],u=r[5],h=r[6],l=r[7],d=n.high,p=n.low,b=i.high,y=i.low,v=o.high,m=o.low,g=s.high,w=s.low,_=a.high,E=a.low,S=u.high,k=u.low,A=h.high,x=h.low,I=l.high,T=l.low,B=d,P=p,M=b,C=y,R=v,O=m,L=g,j=w,N=_,D=E,U=S,K=k,H=A,z=x,q=I,F=T,W=0;W<80;W++){var V=f[W];if(W<16)var G=V.high=0|e[t+2*W],Y=V.low=0|e[t+2*W+1];else{var J=f[W-15],X=J.high,Z=J.low,$=(X>>>1|Z<<31)^(X>>>8|Z<<24)^X>>>7,Q=(Z>>>1|X<<31)^(Z>>>8|X<<24)^(Z>>>7|X<<25),ee=f[W-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,ie=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),oe=f[W-7],se=oe.high,ae=oe.low,ce=f[W-16],fe=ce.high,ue=ce.low,G=(G=(G=$+se+((Y=Q+ae)>>>0<Q>>>0?1:0))+ne+((Y=Y+ie)>>>0<ie>>>0?1:0))+fe+((Y=Y+ue)>>>0<ue>>>0?1:0);V.high=G,V.low=Y}var he=N&U^~N&H,le=D&K^~D&z,de=B&M^B&R^M&R,pe=P&C^P&O^C&O,be=(B>>>28|P<<4)^(B<<30|P>>>2)^(B<<25|P>>>7),ye=(P>>>28|B<<4)^(P<<30|B>>>2)^(P<<25|B>>>7),ve=(N>>>14|D<<18)^(N>>>18|D<<14)^(N<<23|D>>>9),me=(D>>>14|N<<18)^(D>>>18|N<<14)^(D<<23|N>>>9),ge=c[W],we=ge.high,_e=ge.low,Ee=F+me,Se=q+ve+(Ee>>>0<F>>>0?1:0),ke=ye+pe;q=H,F=z,H=U,z=K,U=N,K=D,N=L+(Se=(Se=(Se=Se+he+((Ee=Ee+le)>>>0<le>>>0?1:0))+we+((Ee=Ee+_e)>>>0<_e>>>0?1:0))+G+((Ee=Ee+Y)>>>0<Y>>>0?1:0))+((D=j+Ee|0)>>>0<j>>>0?1:0)|0,L=R,j=O,R=M,O=C,M=B,C=P,B=Se+(be+de+(ke>>>0<ye>>>0?1:0))+((P=Ee+ke|0)>>>0<Ee>>>0?1:0)|0}p=n.low=p+P,n.high=d+B+(p>>>0<P>>>0?1:0),y=i.low=y+C,i.high=b+M+(y>>>0<C>>>0?1:0),m=o.low=m+O,o.high=v+R+(m>>>0<O>>>0?1:0),w=s.low=w+j,s.high=g+L+(w>>>0<j>>>0?1:0),E=a.low=E+D,a.high=_+N+(E>>>0<D>>>0?1:0),k=u.low=k+K,u.high=S+U+(k>>>0<K>>>0?1:0),x=h.low=x+z,h.high=A+H+(x>>>0<z>>>0?1:0),T=l.low=T+F,l.high=I+q+(T>>>0<F>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process();return this._hash.toX32()},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});r.SHA512=n._createHelper(u),r.HmacSHA512=n._createHmacHelper(u)}(),e.SHA512})},{"./core":181,"./x64-core":212}],211:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./enc-base64"),e("./md5"),e("./evpkdf"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function r(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}var n=e,i=n.lib,o=i.WordArray,s=i.BlockCipher,a=n.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],f=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=a.DES=s.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=c[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],o=0;o<16;o++){for(var s=i[o]=[],a=u[o],r=0;r<24;r++)s[r/6|0]|=t[(f[r]-1+a)%28]<<31-r%6,s[4+(r/6|0)]|=t[28+(f[r+24]-1+a)%28]<<31-r%6;s[0]=s[0]<<1|s[0]>>>31;for(r=1;r<7;r++)s[r]=s[r]>>>4*(r-1)+3;s[7]=s[7]<<5|s[7]>>>27}for(var h=this._invSubKeys=[],r=0;r<16;r++)h[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,n,i){this._lBlock=e[n],this._rBlock=e[n+1],t.call(this,4,252645135),t.call(this,16,65535),r.call(this,2,858993459),r.call(this,8,16711935),t.call(this,1,1431655765);for(var o=0;o<16;o++){for(var s=i[o],a=this._lBlock,c=this._rBlock,f=0,u=0;u<8;u++)f|=h[u][((c^s[u])&l[u])>>>0];this._lBlock=c,this._rBlock=a^f}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,t.call(this,1,1431655765),r.call(this,8,16711935),r.call(this,2,858993459),t.call(this,16,65535),t.call(this,4,252645135),e[n]=this._lBlock,e[n+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});n.DES=s._createHelper(d);var p=a.TripleDES=s.extend({_doReset:function(){var e=this._key.words;this._des1=d.createEncryptor(o.create(e.slice(0,2))),this._des2=d.createEncryptor(o.create(e.slice(2,4))),this._des3=d.createEncryptor(o.create(e.slice(4,6)))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});n.TripleDES=s._createHelper(p)}(),e.TripleDES})},{"./cipher-core":180,"./core":181,"./enc-base64":182,"./evpkdf":184,"./md5":189}],212:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(t){var r=e,n=r.lib,i=n.Base,o=n.WordArray,s=r.x64={};s.Word=i.extend({init:function(e,t){this.high=e,this.low=t}}),s.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=void 0!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var i=e[n];r.push(i.high),r.push(i.low)}return o.create(r,this.sigBytes)},clone:function(){for(var e=i.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}})}(),e})},{"./core":181}],213:[function(e,t,r){function n(e){return n.enabled(e)?function(t){t=function(e){return e instanceof Error?e.stack||e.message:e}(t);var r=new Date,i=r-(n[e]||r);n[e]=r,t=e+" "+t+" +"+n.humanize(i),window.console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}:function(){}}t.exports=n,n.names=[],n.skips=[],n.enable=function(e){try{localStorage.debug=e}catch(e){}for(var t=(e||"").split(/[\s,]+/),r=t.length,i=0;i<r;i++)"-"===(e=t[i].replace("*",".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$"))},n.disable=function(){n.enable("")},n.humanize=function(e){return e>=36e5?(e/36e5).toFixed(1)+"h":e>=6e4?(e/6e4).toFixed(1)+"m":e>=1e3?(e/1e3|0)+"s":e+"ms"},n.enabled=function(e){for(var t=0,r=n.skips.length;t<r;t++)if(n.skips[t].test(e))return!1;for(var t=0,r=n.names.length;t<r;t++)if(n.names[t].test(e))return!0;return!1};try{window.localStorage&&n.enable(localStorage.debug)}catch(e){}},{}],214:[function(e,t,r){"use strict";r.utils=e("./des/utils"),r.Cipher=e("./des/cipher"),r.DES=e("./des/des"),r.CBC=e("./des/cbc"),r.EDE=e("./des/ede")},{"./des/cbc":215,"./des/cipher":216,"./des/des":217,"./des/ede":218,"./des/utils":219}],215:[function(e,t,r){"use strict";var n=e("minimalistic-assert"),i=e("inherits"),o={};r.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var r=Object.keys(o),n=0;n<r.length;n++){var s=r[n];t.prototype[s]=o[s]}return t.create=function(e){return new t(e)},t},o._cbcInit=function(){var e=new function(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}(this.options.iv);this._cbcState=e},o._update=function(e,t,r,n){var i=this._cbcState,o=this.constructor.super_.prototype,s=i.iv;if("encrypt"===this.type){for(a=0;a<this.blockSize;a++)s[a]^=e[t+a];o._update.call(this,s,0,r,n);for(a=0;a<this.blockSize;a++)s[a]=r[n+a]}else{o._update.call(this,e,t,r,n);for(a=0;a<this.blockSize;a++)r[n+a]^=s[a];for(var a=0;a<this.blockSize;a++)s[a]=e[t+a]}}},{inherits:248,"minimalistic-assert":257}],216:[function(e,t,r){"use strict";function n(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}var i=e("minimalistic-assert");t.exports=n,n.prototype._init=function(){},n.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},n.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},n.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},n.prototype._updateEncrypt=function(e){var t=0,r=0,n=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var o=e.length-(e.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(e,t,i,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},n.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},n.prototype.final=function(e){var t;e&&(t=this.update(e));var r;return r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},n.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},n.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},n.prototype._unpad=function(e){return e},n.prototype._finalDecrypt=function(){i.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},{"minimalistic-assert":257}],217:[function(e,t,r){"use strict";function n(e){c.call(this,e);var t=new function(){this.tmp=new Array(2),this.keys=null};this._desState=t,this.deriveKeys(t,e.key)}var i=e("minimalistic-assert"),o=e("inherits"),s=e("../des"),a=s.utils,c=s.Cipher;o(n,c),t.exports=n,n.create=function(e){return new n(e)};var f=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];n.prototype.deriveKeys=function(e,t){e.keys=new Array(32),i.equal(t.length,this.blockSize,"Invalid key length");var r=a.readUInt32BE(t,0),n=a.readUInt32BE(t,4);a.pc1(r,n,e.tmp,0),r=e.tmp[0],n=e.tmp[1];for(var o=0;o<e.keys.length;o+=2){var s=f[o>>>1];r=a.r28shl(r,s),n=a.r28shl(n,s),a.pc2(r,n,e.keys,o)}},n.prototype._update=function(e,t,r,n){var i=this._desState,o=a.readUInt32BE(e,t),s=a.readUInt32BE(e,t+4);a.ip(o,s,i.tmp,0),o=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,o,s,i.tmp,0):this._decrypt(i,o,s,i.tmp,0),o=i.tmp[0],s=i.tmp[1],a.writeUInt32BE(r,o,n),a.writeUInt32BE(r,s,n+4)},n.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},n.prototype._unpad=function(e){for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)i.equal(e[r],t);return e.slice(0,e.length-t)},n.prototype._encrypt=function(e,t,r,n,i){for(var o=t,s=r,c=0;c<e.keys.length;c+=2){var f=e.keys[c],u=e.keys[c+1];a.expand(s,e.tmp,0),f^=e.tmp[0],u^=e.tmp[1];var h=a.substitute(f,u),l=s;s=(o^a.permute(h))>>>0,o=l}a.rip(s,o,n,i)},n.prototype._decrypt=function(e,t,r,n,i){for(var o=r,s=t,c=e.keys.length-2;c>=0;c-=2){var f=e.keys[c],u=e.keys[c+1];a.expand(o,e.tmp,0),f^=e.tmp[0],u^=e.tmp[1];var h=a.substitute(f,u),l=o;o=(s^a.permute(h))>>>0,s=l}a.rip(o,s,n,i)}},{"../des":214,inherits:248,"minimalistic-assert":257}],218:[function(e,t,r){"use strict";function n(e){a.call(this,e);var t=new function(e,t){i.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),n=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[c.create({type:"encrypt",key:r}),c.create({type:"decrypt",key:n}),c.create({type:"encrypt",key:o})]:[c.create({type:"decrypt",key:o}),c.create({type:"encrypt",key:n}),c.create({type:"decrypt",key:r})]}(this.type,this.options.key);this._edeState=t}var i=e("minimalistic-assert"),o=e("inherits"),s=e("../des"),a=s.Cipher,c=s.DES;o(n,a),t.exports=n,n.create=function(e){return new n(e)},n.prototype._update=function(e,t,r,n){var i=this._edeState;i.ciphers[0]._update(e,t,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},n.prototype._pad=c.prototype._pad,n.prototype._unpad=c.prototype._unpad},{"../des":214,inherits:248,"minimalistic-assert":257}],219:[function(e,t,r){"use strict";r.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},r.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},r.ip=function(e,t,r,n){for(var i=0,o=0,s=6;s>=0;s-=2){for(a=0;a<=24;a+=8)i<<=1,i|=t>>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>>a+s&1}for(s=6;s>=0;s-=2){for(a=1;a<=25;a+=8)o<<=1,o|=t>>>a+s&1;for(var a=1;a<=25;a+=8)o<<=1,o|=e>>>a+s&1}r[n+0]=i>>>0,r[n+1]=o>>>0},r.rip=function(e,t,r,n){for(var i=0,o=0,s=0;s<4;s++)for(a=24;a>=0;a-=8)i<<=1,i|=t>>>a+s&1,i<<=1,i|=e>>>a+s&1;for(s=4;s<8;s++)for(var a=24;a>=0;a-=8)o<<=1,o|=t>>>a+s&1,o<<=1,o|=e>>>a+s&1;r[n+0]=i>>>0,r[n+1]=o>>>0},r.pc1=function(e,t,r,n){for(var i=0,o=0,s=7;s>=5;s--){for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1}for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(s=1;s<=3;s++){for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1}for(var a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1;r[n+0]=i>>>0,r[n+1]=o>>>0},r.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];r.pc2=function(e,t,r,i){for(var o=0,s=0,a=n.length>>>1,c=0;c<a;c++)o<<=1,o|=e>>>n[c]&1;for(c=a;c<n.length;c++)s<<=1,s|=t>>>n[c]&1;r[i+0]=o>>>0,r[i+1]=s>>>0},r.expand=function(e,t,r){var n=0,i=0;n=(1&e)<<5|e>>>27;for(o=23;o>=15;o-=4)n<<=6,n|=e>>>o&63;for(var o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];r.substitute=function(e,t){for(var r=0,n=0;n<4;n++){r<<=4,r|=s=i[64*n+(o=e>>>18-6*n&63)]}for(n=0;n<4;n++){var o=t>>>18-6*n&63,s=i[256+64*n+o];r<<=4,r|=s}return r>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];r.permute=function(e){for(var t=0,r=0;r<o.length;r++)t<<=1,t|=e>>>o[r]&1;return t>>>0},r.padSplit=function(e,t,r){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var i=[],o=0;o<t;o+=r)i.push(n.slice(o,o+r));return i.join(" ")}},{}],220:[function(e,t,r){(function(Buffer){function t(e,r,i,a){return Buffer.isBuffer(r)||void 0===s[r]?t(e,"binary",r,i):(r=r||"binary",a=a||"binary",i=i||new Buffer([2]),Buffer.isBuffer(i)||(i=new Buffer(i,a)),"number"==typeof e?new o(n(e,i),i,!0):(Buffer.isBuffer(e)||(e=new Buffer(e,r)),new o(e,i,!0)))}var n=e("./lib/generatePrime"),i=e("./lib/primes.json"),o=e("./lib/dh"),s={binary:!0,hex:!0,base64:!0};r.DiffieHellmanGroup=r.createDiffieHellmanGroup=r.getDiffieHellman=function(e){var t=new Buffer(i[e].prime,"hex"),r=new Buffer(i[e].gen,"hex");return new o(t,r)},r.createDiffieHellman=r.DiffieHellman=t}).call(this,e("buffer").Buffer)},{"./lib/dh":221,"./lib/generatePrime":222,"./lib/primes.json":223,buffer:105}],221:[function(e,t,r){(function(Buffer){function r(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this._pub=new s(e),this}function n(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this._priv=new s(e),this}function i(e,t,i){this.setGenerator(t),this.__prime=new s(e),this._prime=s.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,i?(this.setPublicKey=r,this.setPrivateKey=n):this._primeCode=8}function o(e,t){var r=new Buffer(e.toArray());return t?r.toString(t):r}var s=e("bn.js"),a=new(e("miller-rabin")),c=new s(24),f=new s(11),u=new s(10),h=new s(3),l=new s(7),d=e("./generatePrime"),p=e("randombytes");t.exports=i;var b={};Object.defineProperty(i.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in b)return b[n];var i=0;if(e.isEven()||!d.simpleSieve||!d.fermatTest(e)||!a.test(e))return i+=1,i+="02"===r||"05"===r?8:4,b[n]=i,i;a.test(e.shrn(1))||(i+=2);var o;switch(r){case"02":e.mod(c).cmp(f)&&(i+=8);break;case"05":(o=e.mod(u)).cmp(h)&&o.cmp(l)&&(i+=8);break;default:i+=4}return b[n]=i,i}(this.__prime,this.__gen)),this._primeCode}}),i.prototype.generateKeys=function(){return this._priv||(this._priv=new s(p(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},i.prototype.computeSecret=function(e){var t=(e=(e=new s(e)).toRed(this._prime)).redPow(this._priv).fromRed(),r=new Buffer(t.toArray()),n=this.getPrime();if(r.length<n.length){var i=new Buffer(n.length-r.length);i.fill(0),r=Buffer.concat([i,r])}return r},i.prototype.getPublicKey=function(e){return o(this._pub,e)},i.prototype.getPrivateKey=function(e){return o(this._priv,e)},i.prototype.getPrime=function(e){return o(this.__prime,e)},i.prototype.getGenerator=function(e){return o(this._gen,e)},i.prototype.setGenerator=function(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this.__gen=e,this._gen=new s(e),this}}).call(this,e("buffer").Buffer)},{"./generatePrime":222,"bn.js":224,buffer:105,"miller-rabin":255,randombytes:299}],222:[function(e,t,r){function n(e){for(var t=function(){if(null!==v)return v;var e=[];e[0]=2;for(var t=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<t&&e[i]<=n&&r%e[i]!=0;i++);t!==i&&e[i]<=n||(e[t++]=r)}return v=e,e}(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function i(e){var t=a.mont(e);return 0===h.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function o(e,t){if(e<16)return new a(2===t||5===t?[140,123]:[140,39]);t=new a(t);for(var r,o;;){for(r=new a(s(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(u),r.testn(1)||r.iadd(h),t.cmp(h)){if(!t.cmp(l))for(;r.mod(d).cmp(p);)r.iadd(y)}else for(;r.mod(c).cmp(b);)r.iadd(y);if(o=r.shrn(1),n(o)&&n(r)&&i(o)&&i(r)&&f.test(o)&&f.test(r))return r}}var s=e("randombytes");t.exports=o,o.simpleSieve=n,o.fermatTest=i;var a=e("bn.js"),c=new a(24),f=new(e("miller-rabin")),u=new a(1),h=new a(2),l=new a(5),d=(new a(16),new a(8),new a(10)),p=new a(3),b=(new a(7),new a(11)),y=new a(4),v=(new a(12),null)},{"bn.js":224,"miller-rabin":255,randombytes:299}],223:[function(e,t,r){t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],224:[function(e,t,r){arguments[4][113][0].apply(r,arguments)},{buffer:77,dup:113}],225:[function(e,t,r){function n(e,t,r,n,i,o,s){this.p=e,this.a=t,this.b=r,this.G=Point.fromAffine(this,n,i),this.n=o,this.h=s,this.infinity=new Point(this,null,null,BigInteger.ZERO),this.pOverFour=e.add(BigInteger.ONE).shiftRight(2),this.pLength=Math.floor((this.p.bitLength()+7)/8)}var i=e("assert"),BigInteger=e("bigi"),Point=e("./point");n.prototype.pointFromX=function(e,t){var r=t.pow(3).add(this.a.multiply(t)).add(this.b).mod(this.p).modPow(this.pOverFour,this.p),n=r;return r.isEven()^!e&&(n=this.p.subtract(n)),Point.fromAffine(this,t,n)},n.prototype.isInfinity=function(e){return e===this.infinity||0===e.z.signum()&&0!==e.y.signum()},n.prototype.isOnCurve=function(e){if(this.isInfinity(e))return!0;var t=e.affineX,r=e.affineY,n=this.a,i=this.b,o=this.p;if(t.signum()<0||t.compareTo(o)>=0)return!1;if(r.signum()<0||r.compareTo(o)>=0)return!1;var s=r.square().mod(o),a=t.pow(3).add(n.multiply(t)).add(i).mod(o);return s.equals(a)},n.prototype.validate=function(e){i(!this.isInfinity(e),"Point is at infinity"),i(this.isOnCurve(e),"Point is not on the curve");var t=e.multiply(this.n);return i(this.isInfinity(t),"Point is not a scalar multiple of G"),!0},t.exports=n},{"./point":229,assert:20,bigi:26}],226:[function(e,t,r){t.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"}}},{}],227:[function(e,t,r){var Point=e("./point"),n=e("./curve"),i=e("./names");t.exports={Curve:n,Point:Point,getCurveByName:i}},{"./curve":225,"./names":228,"./point":229}],228:[function(e,t,r){var BigInteger=e("bigi"),n=e("./curves.json"),i=e("./curve");t.exports=function(e){var t=n[e];if(!t)return null;var r=new BigInteger(t.p,16),o=new BigInteger(t.a,16),s=new BigInteger(t.b,16),a=new BigInteger(t.n,16),c=new BigInteger(t.h,16),f=new BigInteger(t.Gx,16),u=new BigInteger(t.Gy,16);return new i(r,o,s,f,u,a,c)}},{"./curve":225,"./curves.json":226,bigi:26}],229:[function(e,t,r){function Point(e,t,r,i){n.notStrictEqual(i,void 0,"Missing Z coordinate"),this.curve=e,this.x=t,this.y=r,this.z=i,this._zInv=null,this.compressed=!0}var n=e("assert"),Buffer=e("safe-buffer").Buffer,BigInteger=e("bigi"),i=BigInteger.valueOf(3);Object.defineProperty(Point.prototype,"zInv",{get:function(){return null===this._zInv&&(this._zInv=this.z.modInverse(this.curve.p)),this._zInv}}),Object.defineProperty(Point.prototype,"affineX",{get:function(){return this.x.multiply(this.zInv).mod(this.curve.p)}}),Object.defineProperty(Point.prototype,"affineY",{get:function(){return this.y.multiply(this.zInv).mod(this.curve.p)}}),Point.fromAffine=function(e,t,r){return new Point(e,t,r,BigInteger.ONE)},Point.prototype.equals=function(e){if(e===this)return!0;if(this.curve.isInfinity(this))return this.curve.isInfinity(e);if(this.curve.isInfinity(e))return this.curve.isInfinity(this);if(0!==e.y.multiply(this.z).subtract(this.y.multiply(e.z)).mod(this.curve.p).signum())return!1;return 0===e.x.multiply(this.z).subtract(this.x.multiply(e.z)).mod(this.curve.p).signum()},Point.prototype.negate=function(){var e=this.curve.p.subtract(this.y);return new Point(this.curve,this.x,e,this.z)},Point.prototype.add=function(e){if(this.curve.isInfinity(this))return e;if(this.curve.isInfinity(e))return this;var t=this.x,r=this.y,n=e.x,o=e.y.multiply(this.z).subtract(r.multiply(e.z)).mod(this.curve.p),s=n.multiply(this.z).subtract(t.multiply(e.z)).mod(this.curve.p);if(0===s.signum())return 0===o.signum()?this.twice():this.curve.infinity;var a=s.square(),c=a.multiply(s),f=t.multiply(a),u=o.square().multiply(this.z),h=u.subtract(f.shiftLeft(1)).multiply(e.z).subtract(c).multiply(s).mod(this.curve.p),l=f.multiply(i).multiply(o).subtract(r.multiply(c)).subtract(u.multiply(o)).multiply(e.z).add(o.multiply(c)).mod(this.curve.p),d=c.multiply(this.z).multiply(e.z).mod(this.curve.p);return new Point(this.curve,h,l,d)},Point.prototype.twice=function(){if(this.curve.isInfinity(this))return this;if(0===this.y.signum())return this.curve.infinity;var e=this.x,t=this.y,r=t.multiply(this.z).mod(this.curve.p),n=r.multiply(t).mod(this.curve.p),o=this.curve.a,s=e.square().multiply(i);0!==o.signum()&&(s=s.add(this.z.square().multiply(o)));var a=(s=s.mod(this.curve.p)).square().subtract(e.shiftLeft(3).multiply(n)).shiftLeft(1).multiply(r).mod(this.curve.p),c=s.multiply(i).multiply(e).subtract(n.shiftLeft(1)).shiftLeft(2).multiply(n).subtract(s.pow(3)).mod(this.curve.p),f=r.pow(3).shiftLeft(3).mod(this.curve.p);return new Point(this.curve,a,c,f)},Point.prototype.multiply=function(e){if(this.curve.isInfinity(this))return this;if(0===e.signum())return this.curve.infinity;for(var t=e,r=t.multiply(i),n=this.negate(),o=this,s=r.bitLength()-2;s>0;--s){var a=r.testBit(s),c=t.testBit(s);o=o.twice(),a!==c&&(o=o.add(a?this:n))}return o},Point.prototype.multiplyTwo=function(e,t,r){for(var n=Math.max(e.bitLength(),r.bitLength())-1,i=this.curve.infinity,o=this.add(t);n>=0;){var s=e.testBit(n),a=r.testBit(n);i=i.twice(),s?i=a?i.add(o):i.add(this):a&&(i=i.add(t)),--n}return i},Point.prototype.getEncoded=function(e){if(null==e&&(e=this.compressed),this.curve.isInfinity(this))return Buffer.alloc(1,0);var t,r=this.affineX,n=this.affineY,i=this.curve.pLength;return e?(t=Buffer.allocUnsafe(1+i)).writeUInt8(n.isEven()?2:3,0):((t=Buffer.allocUnsafe(1+i+i)).writeUInt8(4,0),n.toBuffer(i).copy(t,1+i)),r.toBuffer(i).copy(t,1),t},Point.decodeFrom=function(e,t){var r,i=t.readUInt8(0),o=4!==i,s=Math.floor((e.p.bitLength()+7)/8),a=BigInteger.fromBuffer(t.slice(1,1+s));if(o){n.equal(t.length,s+1,"Invalid sequence length"),n(2===i||3===i,"Invalid sequence tag");var c=3===i;r=e.pointFromX(c,a)}else{n.equal(t.length,1+s+s,"Invalid sequence length");var f=BigInteger.fromBuffer(t.slice(1+s));r=Point.fromAffine(e,a,f)}return r.compressed=o,r},Point.prototype.toString=function(){return this.curve.isInfinity(this)?"(INFINITY)":"("+this.affineX.toString()+","+this.affineY.toString()+")"},t.exports=Point},{assert:20,bigi:26,"safe-buffer":313}],230:[function(e,t,r){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(e){return"function"==typeof e}function o(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!function(e){return"number"==typeof e}(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,r,n,a,c,f;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var u=new Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}if(r=this._events[e],s(r))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:a=Array.prototype.slice.call(arguments,1),r.apply(this,a)}else if(o(r))for(a=Array.prototype.slice.call(arguments,1),n=(f=r.slice()).length,c=0;c<n;c++)f[c].apply(this,a);return!0},n.prototype.addListener=function(e,t){var r;if(!i(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,i(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned&&(r=s(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}if(!i(t))throw TypeError("listener must be a function");var n=!1;return r.listener=t,this.on(e,r),this},n.prototype.removeListener=function(e,t){var r,n,s,a;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],s=r.length,n=-1,r===t||i(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(r)){for(a=s;a-- >0;)if(r[a]===t||r[a].listener&&r[a].listener===t){n=a;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],i(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},{}],231:[function(e,t,r){var Buffer=e("safe-buffer").Buffer,n=e("md5.js");t.exports=function(e,t,r,i){if(Buffer.isBuffer(e)||(e=Buffer.from(e,"binary")),t&&(Buffer.isBuffer(t)||(t=Buffer.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var o=r/8,s=Buffer.alloc(o),a=Buffer.alloc(i||0),c=Buffer.alloc(0);o>0||i>0;){var f=new n;f.update(c),f.update(e),t&&f.update(t),c=f.digest();var u=0;if(o>0){var h=s.length-o;u=Math.min(o,c.length),c.copy(s,h,0,u),o-=u}if(u<c.length&&i>0){var l=a.length-i,d=Math.min(i,c.length-u);c.copy(a,l,u,u+d),i-=d}}return c.fill(0),{key:s,iv:a}}},{"md5.js":252,"safe-buffer":313}],232:[function(e,t,r){(function(Buffer){"use strict";function r(e){n.call(this),this._block=new Buffer(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}var n=e("stream").Transform;e("inherits")(r,n),r.prototype._transform=function(e,t,r){var n=null;try{"buffer"!==t&&(e=new Buffer(e,t)),this.update(e)}catch(e){n=e}r(n)},r.prototype._flush=function(e){var t=null;try{this.push(this._digest())}catch(e){t=e}e(t)},r.prototype.update=function(e,t){if(!Buffer.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");Buffer.isBuffer(e)||(e=new Buffer(e,t||"binary"));for(var r=this._block,n=0;this._blockOffset+e.length-n>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)r[i++]=e[n++];this._update(),this._blockOffset=0}for(;n<e.length;)r[this._blockOffset++]=e[n++];for(var o=0,s=8*e.length;s>0;++o)this._length[o]+=s,(s=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*s);return this},r.prototype._update=function(e){throw new Error("_update is not implemented")},r.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();return void 0!==e&&(t=t.toString(e)),t},r.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=r}).call(this,e("buffer").Buffer)},{buffer:105,inherits:248,stream:346}],233:[function(e,t,r){var n=r;n.utils=e("./hash/utils"),n.common=e("./hash/common"),n.sha=e("./hash/sha"),n.ripemd=e("./hash/ripemd"),n.hmac=e("./hash/hmac"),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},{"./hash/common":234,"./hash/hmac":235,"./hash/ripemd":236,"./hash/sha":237,"./hash/utils":244}],234:[function(e,t,r){"use strict";function n(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}var i=e("./utils"),o=e("minimalistic-assert");r.BlockHash=n,n.prototype.update=function(e,t){if(e=i.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=i.join32(e,0,e.length-r,this.endian);for(var n=0;n<e.length;n+=this._delta32)this._update(e,n,n+this._delta32)}return this},n.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},n.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}},{"./utils":244,"minimalistic-assert":257}],235:[function(e,t,r){"use strict";function n(e,t,r){if(!(this instanceof n))return new n(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(t,r))}var i=e("./utils"),o=e("minimalistic-assert");t.exports=n,n.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),o(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},n.prototype.update=function(e,t){return this.inner.update(e,t),this},n.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},{"./utils":244,"minimalistic-assert":257}],236:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function i(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}var o=e("./utils"),s=e("./common"),a=o.rotl32,c=o.sum32,f=o.sum32_3,u=o.sum32_4,h=s.BlockHash;o.inherits(n,h),r.ripemd160=n,n.blockSize=512,n.outSize=160,n.hmacStrength=192,n.padLength=64,n.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],o=this.h[2],s=this.h[3],h=this.h[4],y=r,v=n,m=o,g=s,w=h,_=0;_<80;_++){var E=c(a(u(r,i(_,n,o,s),e[l[_]+t],function(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}(_)),p[_]),h);r=h,h=s,s=a(o,10),o=n,n=E,E=c(a(u(y,i(79-_,v,m,g),e[d[_]+t],function(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}(_)),b[_]),w),y=w,w=g,g=a(m,10),m=v,v=E}E=f(this.h[1],o,g),this.h[1]=f(this.h[2],s,w),this.h[2]=f(this.h[3],h,y),this.h[3]=f(this.h[4],r,v),this.h[4]=f(this.h[0],n,m),this.h[0]=E},n.prototype._digest=function(e){return"hex"===e?o.toHex32(this.h,"little"):o.split32(this.h,"little")};var l=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],d=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],p=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],b=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":234,"./utils":244}],237:[function(e,t,r){"use strict";r.sha1=e("./sha/1"),r.sha224=e("./sha/224"),r.sha256=e("./sha/256"),r.sha384=e("./sha/384"),r.sha512=e("./sha/512")},{"./sha/1":238,"./sha/224":239,"./sha/256":240,"./sha/384":241,"./sha/512":242}],238:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}var i=e("../utils"),o=e("../common"),s=e("./common"),a=i.rotl32,c=i.sum32,f=i.sum32_5,u=s.ft_1,h=o.BlockHash,l=[1518500249,1859775393,2400959708,3395469782];i.inherits(n,h),t.exports=n,n.blockSize=512,n.outSize=160,n.hmacStrength=80,n.padLength=64,n.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],s=this.h[2],h=this.h[3],d=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),b=f(a(i,5),u(p,o,s,h),d,r[n],l[p]);d=h,h=s,s=a(o,30),o=i,i=b}this.h[0]=c(this.h[0],i),this.h[1]=c(this.h[1],o),this.h[2]=c(this.h[2],s),this.h[3]=c(this.h[3],h),this.h[4]=c(this.h[4],d)},n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},{"../common":234,"../utils":244,"./common":243}],239:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;o.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}var i=e("../utils"),o=e("./256");i.inherits(n,o),t.exports=n,n.blockSize=512,n.outSize=224,n.hmacStrength=192,n.padLength=64,n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h.slice(0,7),"big"):i.split32(this.h.slice(0,7),"big")}},{"../utils":244,"./256":240}],240:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;v.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=m,this.W=new Array(64)}var i=e("../utils"),o=e("../common"),s=e("./common"),a=e("minimalistic-assert"),c=i.sum32,f=i.sum32_4,u=i.sum32_5,h=s.ch32,l=s.maj32,d=s.s0_256,p=s.s1_256,b=s.g0_256,y=s.g1_256,v=o.BlockHash,m=[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];i.inherits(n,v),t.exports=n,n.blockSize=512,n.outSize=256,n.hmacStrength=192,n.padLength=64,n.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=f(y(r[n-2]),r[n-7],b(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],s=this.h[2],v=this.h[3],m=this.h[4],g=this.h[5],w=this.h[6],_=this.h[7];for(a(this.k.length===r.length),n=0;n<r.length;n++){var E=u(_,p(m),h(m,g,w),this.k[n],r[n]),S=c(d(i),l(i,o,s));_=w,w=g,g=m,m=c(v,E),v=s,s=o,o=i,i=c(E,S)}this.h[0]=c(this.h[0],i),this.h[1]=c(this.h[1],o),this.h[2]=c(this.h[2],s),this.h[3]=c(this.h[3],v),this.h[4]=c(this.h[4],m),this.h[5]=c(this.h[5],g),this.h[6]=c(this.h[6],w),this.h[7]=c(this.h[7],_)},n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},{"../common":234,"../utils":244,"./common":243,"minimalistic-assert":257}],241:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;o.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}var i=e("../utils"),o=e("./512");i.inherits(n,o),t.exports=n,n.blockSize=1024,n.outSize=384,n.hmacStrength=192,n.padLength=128,n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h.slice(0,12),"big"):i.split32(this.h.slice(0,12),"big")}},{"../utils":244,"./512":242}],242:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;m.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}var i=e("../utils"),o=e("../common"),s=e("minimalistic-assert"),a=i.rotr64_hi,c=i.rotr64_lo,f=i.shr64_hi,u=i.shr64_lo,h=i.sum64,l=i.sum64_hi,d=i.sum64_lo,p=i.sum64_4_hi,b=i.sum64_4_lo,y=i.sum64_5_hi,v=i.sum64_5_lo,m=o.BlockHash,g=[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];i.inherits(n,m),t.exports=n,n.blockSize=1024,n.outSize=512,n.hmacStrength=192,n.padLength=128,n.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var i=function(e,t){var r=a(e,t,19)^a(t,e,29)^f(e,t,6);return r<0&&(r+=4294967296),r}(r[n-4],r[n-3]),o=function(e,t){var r=c(e,t,19)^c(t,e,29)^u(e,t,6);return r<0&&(r+=4294967296),r}(r[n-4],r[n-3]),s=r[n-14],h=r[n-13],l=function(e,t){var r=a(e,t,1)^a(e,t,8)^f(e,t,7);return r<0&&(r+=4294967296),r}(r[n-30],r[n-29]),d=function(e,t){var r=c(e,t,1)^c(e,t,8)^u(e,t,7);return r<0&&(r+=4294967296),r}(r[n-30],r[n-29]),y=r[n-32],v=r[n-31];r[n]=p(i,o,s,h,l,d,y,v),r[n+1]=b(i,o,s,h,l,d,y,v)}},n.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],i=this.h[1],o=this.h[2],f=this.h[3],u=this.h[4],p=this.h[5],b=this.h[6],m=this.h[7],g=this.h[8],w=this.h[9],_=this.h[10],E=this.h[11],S=this.h[12],k=this.h[13],A=this.h[14],x=this.h[15];s(this.k.length===r.length);for(var I=0;I<r.length;I+=2){var T=A,B=x,P=function(e,t){var r=a(e,t,14)^a(e,t,18)^a(t,e,9);return r<0&&(r+=4294967296),r}(g,w),M=function(e,t){var r=c(e,t,14)^c(e,t,18)^c(t,e,9);return r<0&&(r+=4294967296),r}(g,w),C=function(e,t,r,n,i){var o=e&r^~e&i;return o<0&&(o+=4294967296),o}(g,0,_,0,S),R=function(e,t,r,n,i,o){var s=t&n^~t&o;return s<0&&(s+=4294967296),s}(0,w,0,E,0,k),O=this.k[I],L=this.k[I+1],j=r[I],N=r[I+1],D=y(T,B,P,M,C,R,O,L,j,N),U=v(T,B,P,M,C,R,O,L,j,N);T=function(e,t){var r=a(e,t,28)^a(t,e,2)^a(t,e,7);return r<0&&(r+=4294967296),r}(n,i),B=function(e,t){var r=c(e,t,28)^c(t,e,2)^c(t,e,7);return r<0&&(r+=4294967296),r}(n,i),P=function(e,t,r,n,i){var o=e&r^e&i^r&i;return o<0&&(o+=4294967296),o}(n,0,o,0,u),M=function(e,t,r,n,i,o){var s=t&n^t&o^n&o;return s<0&&(s+=4294967296),s}(0,i,0,f,0,p);var K=l(T,B,P,M),H=d(T,B,P,M);A=S,x=k,S=_,k=E,_=g,E=w,g=l(b,m,D,U),w=d(m,m,D,U),b=u,m=p,u=o,p=f,o=n,f=i,n=l(D,U,K,H),i=d(D,U,K,H)}h(this.h,0,n,i),h(this.h,2,o,f),h(this.h,4,u,p),h(this.h,6,b,m),h(this.h,8,g,w),h(this.h,10,_,E),h(this.h,12,S,k),h(this.h,14,A,x)},n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},{"../common":234,"../utils":244,"minimalistic-assert":257}],243:[function(e,t,r){"use strict";function n(e,t,r){return e&t^~e&r}function i(e,t,r){return e&t^e&r^t&r}function o(e,t,r){return e^t^r}var s=e("../utils").rotr32;r.ft_1=function(e,t,r,s){return 0===e?n(t,r,s):1===e||3===e?o(t,r,s):2===e?i(t,r,s):void 0},r.ch32=n,r.maj32=i,r.p32=o,r.s0_256=function(e){return s(e,2)^s(e,13)^s(e,22)},r.s1_256=function(e){return s(e,6)^s(e,11)^s(e,25)},r.g0_256=function(e){return s(e,7)^s(e,18)^e>>>3},r.g1_256=function(e){return s(e,17)^s(e,19)^e>>>10}},{"../utils":244}],244:[function(e,t,r){"use strict";function n(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function i(e){return 1===e.length?"0"+e:e}function o(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}var s=e("minimalistic-assert"),a=e("inherits");r.inherits=a,r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(var n=0;n<e.length;n++){var i=e.charCodeAt(n),o=i>>8,s=255&i;o?r.push(o,s):r.push(s)}else for(n=0;n<e.length;n++)r[n]=0|e[n];return r},r.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=i(e[r].toString(16));return t},r.htonl=n,r.toHex32=function(e,t){for(var r="",i=0;i<e.length;i++){var s=e[i];"little"===t&&(s=n(s)),r+=o(s.toString(16))}return r},r.zero2=i,r.zero8=o,r.join32=function(e,t,r,n){var i=r-t;s(i%4==0);for(var o=new Array(i/4),a=0,c=t;a<o.length;a++,c+=4){var f;f="big"===n?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],o[a]=f>>>0}return o},r.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n<e.length;n++,i+=4){var o=e[n];"big"===t?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},r.rotr32=function(e,t){return e>>>t|e<<32-t},r.rotl32=function(e,t){return e<<t|e>>>32-t},r.sum32=function(e,t){return e+t>>>0},r.sum32_3=function(e,t,r){return e+t+r>>>0},r.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},r.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},r.sum64=function(e,t,r,n){var i=e[t],o=n+e[t+1]>>>0,s=(o<n?1:0)+r+i;e[t]=s>>>0,e[t+1]=o},r.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},r.sum64_lo=function(e,t,r,n){return t+n>>>0},r.sum64_4_hi=function(e,t,r,n,i,o,s,a){var c=0,f=t;return c+=(f=f+n>>>0)<t?1:0,c+=(f=f+o>>>0)<o?1:0,e+r+i+s+(c+=(f=f+a>>>0)<a?1:0)>>>0},r.sum64_4_lo=function(e,t,r,n,i,o,s,a){return t+n+o+a>>>0},r.sum64_5_hi=function(e,t,r,n,i,o,s,a,c,f){var u=0,h=t;return u+=(h=h+n>>>0)<t?1:0,u+=(h=h+o>>>0)<o?1:0,u+=(h=h+a>>>0)<a?1:0,e+r+i+s+c+(u+=(h=h+f>>>0)<f?1:0)>>>0},r.sum64_5_lo=function(e,t,r,n,i,o,s,a,c,f){return t+n+o+a+f>>>0},r.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},r.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},r.shr64_hi=function(e,t,r){return e>>>r},r.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},{inherits:248,"minimalistic-assert":257}],245:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=o.toArray(e.entropy,e.entropyEnc||"hex"),r=o.toArray(e.nonce,e.nonceEnc||"hex"),i=o.toArray(e.pers,e.persEnc||"hex");s(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,i)}var i=e("hash.js"),o=e("minimalistic-crypto-utils"),s=e("minimalistic-assert");t.exports=n,n.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},n.prototype._hmac=function(){return new i.hmac(this.hash,this.K)},n.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},n.prototype.reseed=function(e,t,r,n){"string"!=typeof t&&(n=r,r=t,t=null),e=o.toArray(e,t),r=o.toArray(r,n),s(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},n.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=o.toArray(r,n||"hex"),this._update(r));for(var i=[];i.length<e;)this.V=this._hmac().update(this.V).digest(),i=i.concat(this.V);var s=i.slice(0,e);return this._update(r),this._reseed++,o.encode(s,t)}},{"hash.js":233,"minimalistic-assert":257,"minimalistic-crypto-utils":258}],246:[function(e,t,r){r.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,c=(1<<a)-1,f=c>>1,u=-7,h=r?i-1:0,l=r?-1:1,d=e[t+h];for(h+=l,o=d&(1<<-u)-1,d>>=-u,u+=a;u>0;o=256*o+e[t+h],h+=l,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=n;u>0;s=256*s+e[t+h],h+=l,u-=8);if(0===o)o=1-f;else{if(o===c)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),o-=f}return(d?-1:1)*s*Math.pow(2,o-n)},r.write=function(e,t,r,n,i,o){var s,a,c,f=8*o-i-1,u=(1<<f)-1,h=u>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+h>=1?l/c:l*Math.pow(2,1-h))*c>=2&&(s++,c/=2),s+h>=u?(a=0,s=u):s+h>=1?(a=(t*c-1)*Math.pow(2,i),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;e[r+d]=255&a,d+=p,a/=256,i-=8);for(s=s<<i|a,f+=i;f>0;e[r+d]=255&s,d+=p,s/=256,f-=8);e[r+d-p]|=128*b}},{}],247:[function(e,t,r){var n=[].indexOf;t.exports=function(e,t){if(n)return e.indexOf(t);for(var r=0;r<e.length;++r)if(e[r]===t)return r;return-1}},{}],248:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],249:[function(e,t,r){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}t.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},{}],250:[function(e,t,r){var n={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},{}],251:[function(e,t,r){(function(e){(function(){function n(e,t){return e.set(t[0],t[1]),e}function i(e,t){return e.add(t),e}function o(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function s(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}function a(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}function c(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var s=e[r];t(s,r,e)&&(o[i++]=s)}return o}function f(e,t){return!!(null==e?0:e.length)&&v(e,t,0)>-1}function u(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}function h(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}function l(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}function d(e,t,r,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++i]);++i<o;)r=t(r,e[i],i,e);return r}function p(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function b(e,t,r){var n;return r(e,function(e,r,i){if(t(e,r,i))return n=r,!1}),n}function y(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function v(e,t,r){return t==t?function(e,t,r){var n=r-1,i=e.length;for(;++n<i;)if(e[n]===t)return n;return-1}(e,t,r):y(e,m,r)}function m(e){return e!=e}function g(e,t){var r=null==e?0:e.length;return r?S(e,t)/r:be}function w(e){return function(t){return null==t?D:t[e]}}function _(e){return function(t){return null==e?D:e[t]}}function E(e,t,r,n,i){return i(e,function(e,i,o){r=n?(n=!1,e):t(r,e,i,o)}),r}function S(e,t){for(var r,n=-1,i=e.length;++n<i;){var o=t(e[n]);o!==D&&(r=r===D?o:r+o)}return r}function k(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function A(e){return function(t){return e(t)}}function x(e,t){return h(t,function(t){return e[t]})}function I(e,t){return e.has(t)}function T(e,t){for(var r=-1,n=e.length;++r<n&&v(t,e[r],0)>-1;);return r}function B(e,t){for(var r=e.length;r--&&v(t,e[r],0)>-1;);return r}function P(e){return"\\"+dr[e]}function M(e){return ar.test(e)}function C(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function R(e,t){return function(r){return e(t(r))}}function O(e,t){for(var r=-1,n=e.length,i=0,o=[];++r<n;){var s=e[r];s!==t&&s!==F||(e[r]=F,o[i++]=r)}return o}function L(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}function j(e){return M(e)?function(e){var t=or.lastIndex=0;for(;or.test(e);)++t;return t}(e):Pr(e)}function N(e){return M(e)?function(e){return e.match(or)||[]}(e):function(e){return e.split("")}(e)}var D,U=200,K="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",H="Expected a function",z="__lodash_hash_undefined__",q=500,F="__lodash_placeholder__",W=1,V=2,G=4,Y=1,J=2,X=1,Z=2,$=4,Q=8,ee=16,te=32,re=64,ne=128,ie=256,oe=512,se=30,ae="...",ce=800,fe=16,ue=1,he=2,le=1/0,de=9007199254740991,pe=1.7976931348623157e308,be=NaN,ye=4294967295,ve=ye-1,me=ye>>>1,ge=[["ary",ne],["bind",X],["bindKey",Z],["curry",Q],["curryRight",ee],["flip",oe],["partial",te],["partialRight",re],["rearg",ie]],we="[object Arguments]",_e="[object Array]",Ee="[object AsyncFunction]",Se="[object Boolean]",ke="[object Date]",Ae="[object DOMException]",xe="[object Error]",Ie="[object Function]",Te="[object GeneratorFunction]",Be="[object Map]",Pe="[object Number]",Me="[object Null]",Ce="[object Object]",Re="[object Proxy]",Oe="[object RegExp]",Le="[object Set]",je="[object String]",Ne="[object Symbol]",De="[object Undefined]",Ue="[object WeakMap]",Ke="[object WeakSet]",He="[object ArrayBuffer]",ze="[object DataView]",qe="[object Float32Array]",Fe="[object Float64Array]",We="[object Int8Array]",Ve="[object Int16Array]",Ge="[object Int32Array]",Ye="[object Uint8Array]",Je="[object Uint8ClampedArray]",Xe="[object Uint16Array]",Ze="[object Uint32Array]",$e=/\b__p \+= '';/g,Qe=/\b(__p \+=) '' \+/g,et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,tt=/&(?:amp|lt|gt|quot|#39);/g,rt=/[&<>"']/g,nt=RegExp(tt.source),it=RegExp(rt.source),ot=/<%-([\s\S]+?)%>/g,st=/<%([\s\S]+?)%>/g,at=/<%=([\s\S]+?)%>/g,ct=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ft=/^\w*$/,ut=/^\./,ht=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,lt=/[\\^$.*+?()[\]{}|]/g,dt=RegExp(lt.source),pt=/^\s+|\s+$/g,bt=/^\s+/,yt=/\s+$/,vt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,mt=/\{\n\/\* \[wrapped with (.+)\] \*/,gt=/,? & /,wt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,_t=/\\(\\)?/g,Et=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,St=/\w*$/,kt=/^[-+]0x[0-9a-f]+$/i,At=/^0b[01]+$/i,xt=/^\[object .+?Constructor\]$/,It=/^0o[0-7]+$/i,Tt=/^(?:0|[1-9]\d*)$/,Bt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Pt=/($^)/,Mt=/['\n\r\u2028\u2029\\]/g,Ct="\\ud800-\\udfff",Rt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ot="a-z\\xdf-\\xf6\\xf8-\\xff",Lt="A-Z\\xc0-\\xd6\\xd8-\\xde",jt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Nt="["+Ct+"]",Dt="["+jt+"]",Ut="["+Rt+"]",Kt="\\d+",Ht="[\\u2700-\\u27bf]",zt="["+Ot+"]",qt="[^"+Ct+jt+Kt+"\\u2700-\\u27bf"+Ot+Lt+"]",Ft="\\ud83c[\\udffb-\\udfff]",Wt="[^"+Ct+"]",Vt="(?:\\ud83c[\\udde6-\\uddff]){2}",Gt="[\\ud800-\\udbff][\\udc00-\\udfff]",Yt="["+Lt+"]",Jt="(?:"+zt+"|"+qt+")",Xt="(?:"+Yt+"|"+qt+")",Zt="(?:['’](?:d|ll|m|re|s|t|ve))?",$t="(?:['’](?:D|LL|M|RE|S|T|VE))?",Qt="(?:"+Ut+"|"+Ft+")"+"?",er="[\\ufe0e\\ufe0f]?"+Qt+("(?:\\u200d(?:"+[Wt,Vt,Gt].join("|")+")[\\ufe0e\\ufe0f]?"+Qt+")*"),tr="(?:"+[Ht,Vt,Gt].join("|")+")"+er,rr="(?:"+[Wt+Ut+"?",Ut,Vt,Gt,Nt].join("|")+")",nr=RegExp("['’]","g"),ir=RegExp(Ut,"g"),or=RegExp(Ft+"(?="+Ft+")|"+rr+er,"g"),sr=RegExp([Yt+"?"+zt+"+"+Zt+"(?="+[Dt,Yt,"$"].join("|")+")",Xt+"+"+$t+"(?="+[Dt,Yt+Jt,"$"].join("|")+")",Yt+"?"+Jt+"+"+Zt,Yt+"+"+$t,"\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Kt,tr].join("|"),"g"),ar=RegExp("[\\u200d"+Ct+Rt+"\\ufe0e\\ufe0f]"),cr=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ur=-1,hr={};hr[qe]=hr[Fe]=hr[We]=hr[Ve]=hr[Ge]=hr[Ye]=hr[Je]=hr[Xe]=hr[Ze]=!0,hr[we]=hr[_e]=hr[He]=hr[Se]=hr[ze]=hr[ke]=hr[xe]=hr[Ie]=hr[Be]=hr[Pe]=hr[Ce]=hr[Oe]=hr[Le]=hr[je]=hr[Ue]=!1;var lr={};lr[we]=lr[_e]=lr[He]=lr[ze]=lr[Se]=lr[ke]=lr[qe]=lr[Fe]=lr[We]=lr[Ve]=lr[Ge]=lr[Be]=lr[Pe]=lr[Ce]=lr[Oe]=lr[Le]=lr[je]=lr[Ne]=lr[Ye]=lr[Je]=lr[Xe]=lr[Ze]=!0,lr[xe]=lr[Ie]=lr[Ue]=!1;var dr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},pr=parseFloat,br=parseInt,yr="object"==typeof e&&e&&e.Object===Object&&e,vr="object"==typeof self&&self&&self.Object===Object&&self,mr=yr||vr||Function("return this")(),gr="object"==typeof r&&r&&!r.nodeType&&r,wr=gr&&"object"==typeof t&&t&&!t.nodeType&&t,_r=wr&&wr.exports===gr,Er=_r&&yr.process,Sr=function(){try{return Er&&Er.binding&&Er.binding("util")}catch(e){}}(),kr=Sr&&Sr.isArrayBuffer,Ar=Sr&&Sr.isDate,xr=Sr&&Sr.isMap,Ir=Sr&&Sr.isRegExp,Tr=Sr&&Sr.isSet,Br=Sr&&Sr.isTypedArray,Pr=w("length"),Mr=_({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Cr=_({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),Rr=_({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Or=function e(t){function r(e){if(Qi(e)&&!za(e)&&!(e instanceof Rt)){if(e instanceof Ct)return e;if(qo.call(e,"__wrapped__"))return Si(e)}return new Ct(e)}function _(){}function Ct(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=D}function Rt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ye,this.__views__=[]}function Ot(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Lt(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function jt(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Nt(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new jt;++t<r;)this.add(e[t])}function Dt(e){var t=this.__data__=new Lt(e);this.size=t.size}function Ut(e,t){var r=za(e),n=!r&&Ha(e),i=!r&&!n&&Fa(e),o=!r&&!n&&!i&&Ja(e),s=r||n||i||o,a=s?k(e.length,jo):[],c=a.length;for(var f in e)!t&&!qo.call(e,f)||s&&("length"==f||i&&("offset"==f||"parent"==f)||o&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||fi(f,c))||a.push(f);return a}function Kt(e){var t=e.length;return t?e[Zr(0,t-1)]:D}function Ht(e,t,r){(r===D||Wi(e[t],r))&&(r!==D||t in e)||Wt(e,t,r)}function zt(e,t,r){var n=e[t];qo.call(e,t)&&Wi(n,r)&&(r!==D||t in e)||Wt(e,t,r)}function qt(e,t){for(var r=e.length;r--;)if(Wi(e[r][0],t))return r;return-1}function Ft(e,t){return e&&xn(t,po(t),e)}function Wt(e,t,r){"__proto__"==t&&ss?ss(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Vt(e,t){for(var r=-1,n=t.length,i=Bo(n),o=null==e;++r<n;)i[r]=o?D:ho(e,t[r]);return i}function Gt(e,t,r){return e==e&&(r!==D&&(e=e<=r?e:r),t!==D&&(e=e>=t?e:t)),e}function Yt(e,t,r,o,a,c){var f,u=t&W,h=t&V,l=t&G;if(r&&(f=a?r(e,o,a,c):r(e)),f!==D)return f;if(!$i(e))return e;var p=za(e);if(p){if(f=function(e){var t=e.length,r=e.constructor(t);return t&&"string"==typeof e[0]&&qo.call(e,"index")&&(r.index=e.index,r.input=e.input),r}(e),!u)return An(e,f)}else{var b=$s(e),y=b==Ie||b==Te;if(Fa(e))return gn(e,u);if(b==Ce||b==we||y&&!a){if(f=h||y?{}:ai(e),!u)return h?function(e,t){return xn(e,Zs(e),t)}(e,function(t,r){return t&&xn(e,bo(e),t)}(f)):function(e,t){return xn(e,Xs(e),t)}(e,Ft(f,e))}else{if(!lr[b])return a?e:{};f=function(e,t,r,o){var s=e.constructor;switch(t){case He:return wn(e);case Se:case ke:return new s(+e);case ze:return function(e,t){var r=o?wn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e);case qe:case Fe:case We:case Ve:case Ge:case Ye:case Je:case Xe:case Ze:return _n(e,o);case Be:return function(e,t,i){return d(o?r(C(e),W):C(e),n,new e.constructor)}(e);case Pe:case je:return new s(e);case Oe:return function(e){var t=new e.constructor(e.source,St.exec(e));return t.lastIndex=e.lastIndex,t}(e);case Le:return function(e,t,n){return d(o?r(L(e),W):L(e),i,new e.constructor)}(e);case Ne:return function(e){return Ns?Oo(Ns.call(e)):{}}(e)}}(e,b,Yt,u)}}c||(c=new Dt);var v=c.get(e);if(v)return v;c.set(e,f);var m=p?D:(l?h?Qn:$n:h?bo:po)(e);return s(m||e,function(n,i){m&&(n=e[i=n]),zt(f,i,Yt(n,t,r,i,e,c))}),f}function Jt(e,t,r){var n=r.length;if(null==e)return!n;for(e=Oo(e);n--;){var i=r[n],o=t[i],s=e[i];if(s===D&&!(i in e)||!o(s))return!1}return!0}function Xt(e,t,r){if("function"!=typeof e)throw new No(H);return ta(function(){e.apply(D,r)},t)}function Zt(e,t,r,n){var i=-1,o=f,s=!0,a=e.length,c=[],l=t.length;if(!a)return c;r&&(t=h(t,A(r))),n?(o=u,s=!1):t.length>=U&&(o=I,s=!1,t=new Nt(t));e:for(;++i<a;){var d=e[i],p=null==r?d:r(d);if(d=n||0!==d?d:0,s&&p==p){for(var b=l;b--;)if(t[b]===p)continue e;c.push(d)}else o(t,p,n)||c.push(d)}return c}function $t(e,t,r){for(var n=-1,i=e.length;++n<i;){var o=e[n],s=t(o);if(null!=s&&(a===D?s==s&&!no(s):r(s,a)))var a=s,c=o}return c}function Qt(e,t){var r=[];return Ks(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r}function er(e,t,r,n,i){var o=-1,s=e.length;for(r||(r=ci),i||(i=[]);++o<s;){var a=e[o];t>0&&r(a)?t>1?er(a,t-1,r,n,i):l(i,a):n||(i[i.length]=a)}return i}function tr(e,t){return e&&zs(e,t,po)}function rr(e,t){return e&&qs(e,t,po)}function or(e,t){return c(t,function(t){return Ji(e[t])})}function ar(e,t){for(var r=0,n=(t=vn(t,e)).length;null!=e&&r<n;)e=e[_i(t[r++])];return r&&r==n?e:D}function dr(e,t,r){var n=t(e);return za(e)?n:l(n,r(e))}function yr(e){return null==e?e===D?De:Me:os&&os in Oo(e)?function(e){var t=qo.call(e,os),r=e[os];try{e[os]=D;var n=!0}catch(e){}var i=Vo.call(e);return n&&(t?e[os]=r:delete e[os]),i}(e):function(e){return Vo.call(e)}(e)}function vr(e,t){return e>t}function gr(e,t){return null!=e&&qo.call(e,t)}function wr(e,t){return null!=e&&t in Oo(e)}function Er(e,t,r){for(var n=r?u:f,i=e[0].length,o=e.length,s=o,a=Bo(o),c=1/0,l=[];s--;){var d=e[s];s&&t&&(d=h(d,A(t))),c=ms(d.length,c),a[s]=!r&&(t||i>=120&&d.length>=120)?new Nt(s&&d):D}d=e[0];var p=-1,b=a[0];e:for(;++p<i&&l.length<c;){var y=d[p],v=t?t(y):y;if(y=r||0!==y?y:0,!(b?I(b,v):n(l,v,r))){for(s=o;--s;){var m=a[s];if(!(m?I(m,v):n(e[s],v,r)))continue e}b&&b.push(v),l.push(y)}}return l}function Sr(e,t,r){var n=null==(e=vi(e,t=vn(t,e)))?e:e[_i(Ti(t))];return null==n?D:o(n,e,r)}function Pr(e){return Qi(e)&&yr(e)==we}function Lr(e,t,r,n,i){return e===t||(null==e||null==t||!Qi(e)&&!Qi(t)?e!=e&&t!=t:function(e,t,r,n,i,o){var s=za(e),a=za(t),c=s?_e:$s(e),f=a?_e:$s(t),u=(c=c==we?Ce:c)==Ce,h=(f=f==we?Ce:f)==Ce,l=c==f;if(l&&Fa(e)){if(!Fa(t))return!1;s=!0,u=!1}if(l&&!u)return o||(o=new Dt),s||Ja(e)?Xn(e,t,r,n,i,o):function(e,t,r,n,i,o,s){switch(c){case ze:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case He:return!(e.byteLength!=t.byteLength||!o(new Zo(e),new Zo(t)));case Se:case ke:case Pe:return Wi(+e,+t);case xe:return e.name==t.name&&e.message==t.message;case Oe:case je:return e==t+"";case Be:var a=C;case Le:var f=n&Y;if(a||(a=L),e.size!=t.size&&!f)return!1;var u=s.get(e);if(u)return u==t;n|=J,s.set(e,t);var h=Xn(a(e),a(t),n,i,o,s);return s.delete(e),h;case Ne:if(Ns)return Ns.call(e)==Ns.call(t)}return!1}(e,t,0,r,n,i,o);if(!(r&Y)){var d=u&&qo.call(e,"__wrapped__"),p=h&&qo.call(t,"__wrapped__");if(d||p){var b=d?e.value():e,y=p?t.value():t;return o||(o=new Dt),i(b,y,r,n,o)}}return!!l&&(o||(o=new Dt),function(e,t,r,n,i,o){var s=r&Y,a=$n(e),c=a.length,f=$n(t).length;if(c!=f&&!s)return!1;for(var u=c;u--;){var h=a[u];if(!(s?h in t:qo.call(t,h)))return!1}var l=o.get(e);if(l&&o.get(t))return l==t;var d=!0;o.set(e,t),o.set(t,e);for(var p=s;++u<c;){h=a[u];var b=e[h],y=t[h];if(n)var v=s?n(y,b,h,t,e,o):n(b,y,h,e,t,o);if(!(v===D?b===y||i(b,y,r,n,o):v)){d=!1;break}p||(p="constructor"==h)}if(d&&!p){var m=e.constructor,g=t.constructor;m!=g&&"constructor"in e&&"constructor"in t&&!("function"==typeof m&&m instanceof m&&"function"==typeof g&&g instanceof g)&&(d=!1)}return o.delete(e),o.delete(t),d}(e,t,r,n,i,o))}(e,t,r,n,Lr,i))}function jr(e,t,r,n){var i=r.length,o=i,s=!n;if(null==e)return!o;for(e=Oo(e);i--;){var a=r[i];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var c=(a=r[i])[0],f=e[c],u=a[1];if(s&&a[2]){if(f===D&&!(c in e))return!1}else{var h=new Dt;if(n)var l=n(f,u,c,e,t,h);if(!(l===D?Lr(u,f,Y|J,n,h):l))return!1}}return!0}function Nr(e){return!(!$i(e)||!!Wo&&Wo in e)&&(Ji(e)?Jo:xt).test(Ei(e))}function Dr(e){return"function"==typeof e?e:null==e?Eo:"object"==typeof e?za(e)?Fr(e[0],e[1]):qr(e):xo(e)}function Ur(e){if(!di(e))return ys(e);var t=[];for(var r in Oo(e))qo.call(e,r)&&"constructor"!=r&&t.push(r);return t}function Kr(e){if(!$i(e))return function(e){var t=[];if(null!=e)for(var r in Oo(e))t.push(r);return t}(e);var t=di(e),r=[];for(var n in e)("constructor"!=n||!t&&qo.call(e,n))&&r.push(n);return r}function Hr(e,t){return e<t}function zr(e,t){var r=-1,n=Vi(e)?Bo(e.length):[];return Ks(e,function(e,i,o){n[++r]=t(e,i,o)}),n}function qr(e){var t=ii(e);return 1==t.length&&t[0][2]?bi(t[0][0],t[0][1]):function(r){return r===e||jr(r,e,t)}}function Fr(e,t){return hi(e)&&pi(t)?bi(_i(e),t):function(r){var n=ho(r,e);return n===D&&n===t?lo(r,e):Lr(t,n,Y|J)}}function Wr(e,t,r,n,i){e!==t&&zs(t,function(o,s){if($i(o))i||(i=new Dt),function(e,t,r,n,i,o,s){var a=e[r],c=t[r],f=s.get(c);if(f)Ht(e,r,f);else{var u=o?o(a,c,r+"",e,t,s):D,h=u===D;if(h){var l=za(c),d=!l&&Fa(c),p=!l&&!d&&Ja(c);u=c,l||d||p?za(a)?u=a:Gi(a)?u=An(a):d?(h=!1,u=gn(c,!0)):p?(h=!1,u=_n(c,!0)):u=[]:to(c)||Ha(c)?(u=a,Ha(a)?u=fo(a):(!$i(a)||n&&Ji(a))&&(u=ai(c))):h=!1}h&&(s.set(c,u),i(u,c,n,o,s),s.delete(c)),Ht(e,r,u)}}(e,t,s,r,Wr,n,i);else{var a=n?n(e[s],o,s+"",e,t,i):D;a===D&&(a=o),Ht(e,s,a)}},bo)}function Vr(e,t){var r=e.length;if(r)return t+=t<0?r:0,fi(t,r)?e[t]:D}function Gr(e,t,r){var n=-1;return t=h(t.length?t:[Eo],A(ri())),function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}(zr(e,function(e,r,i){return{criteria:h(t,function(t){return t(e)}),index:++n,value:e}}),function(e,t){return function(e,t,r){for(var n=-1,i=e.criteria,o=t.criteria,s=i.length,a=r.length;++n<s;){var c=En(i[n],o[n]);if(c){if(n>=a)return c;var f=r[n];return c*("desc"==f?-1:1)}}return e.index-t.index}(e,t,r)})}function Yr(e,t,r){for(var n=-1,i=t.length,o={};++n<i;){var s=t[n],a=ar(e,s);r(a,s)&&en(o,vn(s,e),a)}return o}function Jr(e,t,r,n){var i=n?function(e,t,r,n){for(var i=r-1,o=e.length;++i<o;)if(n(e[i],t))return i;return-1}:v,o=-1,s=t.length,a=e;for(e===t&&(t=An(t)),r&&(a=h(e,A(r)));++o<s;)for(var c=0,f=t[o],u=r?r(f):f;(c=i(a,u,c,n))>-1;)a!==e&&rs.call(a,c,1),rs.call(e,c,1);return e}function Xr(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==o){var o=i;fi(i)?rs.call(e,i,1):fn(e,i)}}return e}function Zr(e,t){return e+hs(_s()*(t-e+1))}function $r(e,t){var r="";if(!e||t<1||t>de)return r;do{t%2&&(r+=e),(t=hs(t/2))&&(e+=e)}while(t);return r}function Qr(e,t){return ra(yi(e,t,Eo),e+"")}function en(e,t,r,n){if(!$i(e))return e;for(var i=-1,o=(t=vn(t,e)).length,s=o-1,a=e;null!=a&&++i<o;){var c=_i(t[i]),f=r;if(i!=s){var u=a[c];(f=n?n(u,c,a):D)===D&&(f=$i(u)?u:fi(t[i+1])?[]:{})}zt(a,c,f),a=a[c]}return e}function tn(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Bo(i);++n<i;)o[n]=e[n+t];return o}function rn(e,t,r){var n=0,i=null==e?n:e.length;if("number"==typeof t&&t==t&&i<=me){for(;n<i;){var o=n+i>>>1,s=e[o];null!==s&&!no(s)&&(r?s<=t:s<t)?n=o+1:i=o}return i}return nn(e,t,Eo,r)}function nn(e,t,r,n){t=r(t);for(var i=0,o=null==e?0:e.length,s=t!=t,a=null===t,c=no(t),f=t===D;i<o;){var u=hs((i+o)/2),h=r(e[u]),l=h!==D,d=null===h,p=h==h,b=no(h);if(s)var y=n||p;else y=f?p&&(n||l):a?p&&l&&(n||!d):c?p&&l&&!d&&(n||!b):!d&&!b&&(n?h<=t:h<t);y?i=u+1:o=u}return ms(o,ve)}function on(e,t){for(var r=-1,n=e.length,i=0,o=[];++r<n;){var s=e[r],a=t?t(s):s;if(!r||!Wi(a,c)){var c=a;o[i++]=0===s?0:s}}return o}function sn(e){return"number"==typeof e?e:no(e)?be:+e}function an(e){if("string"==typeof e)return e;if(za(e))return h(e,an)+"";if(no(e))return Ds?Ds.call(e):"";var t=e+"";return"0"==t&&1/e==-le?"-0":t}function cn(e,t,r){var n=-1,i=f,o=e.length,s=!0,a=[],c=a;if(r)s=!1,i=u;else if(o>=U){var h=t?null:Ys(e);if(h)return L(h);s=!1,i=I,c=new Nt}else c=t?[]:a;e:for(;++n<o;){var l=e[n],d=t?t(l):l;if(l=r||0!==l?l:0,s&&d==d){for(var p=c.length;p--;)if(c[p]===d)continue e;t&&c.push(d),a.push(l)}else i(c,d,r)||(c!==a&&c.push(d),a.push(l))}return a}function fn(e,t){return t=vn(t,e),null==(e=vi(e,t))||delete e[_i(Ti(t))]}function un(e,t,r,n){return en(e,t,r(ar(e,t)),n)}function hn(e,t,r,n){for(var i=e.length,o=n?i:-1;(n?o--:++o<i)&&t(e[o],o,e););return r?tn(e,n?0:o,n?o+1:i):tn(e,n?o+1:0,n?i:o)}function ln(e,t){var r=e;return r instanceof Rt&&(r=r.value()),d(t,function(e,t){return t.func.apply(t.thisArg,l([e],t.args))},r)}function dn(e,t,r){var n=e.length;if(n<2)return n?cn(e[0]):[];for(var i=-1,o=Bo(n);++i<n;)for(var s=e[i],a=-1;++a<n;)a!=i&&(o[i]=Zt(o[i]||s,e[a],t,r));return cn(er(o,1),t,r)}function pn(e,t,r){for(var n=-1,i=e.length,o=t.length,s={};++n<i;){var a=n<o?t[n]:D;r(s,e[n],a)}return s}function bn(e){return Gi(e)?e:[]}function yn(e){return"function"==typeof e?e:Eo}function vn(e,t){return za(e)?e:hi(e,t)?[e]:na(uo(e))}function mn(e,t,r){var n=e.length;return r=r===D?n:r,!t&&r>=n?e:tn(e,t,r)}function gn(e,t){if(t)return e.slice();var r=e.length,n=$o?$o(r):new e.constructor(r);return e.copy(n),n}function wn(e){var t=new e.constructor(e.byteLength);return new Zo(t).set(new Zo(e)),t}function _n(e,t){var r=t?wn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function En(e,t){if(e!==t){var r=e!==D,n=null===e,i=e==e,o=no(e),s=t!==D,a=null===t,c=t==t,f=no(t);if(!a&&!f&&!o&&e>t||o&&s&&c&&!a&&!f||n&&s&&c||!r&&c||!i)return 1;if(!n&&!o&&!f&&e<t||f&&r&&i&&!n&&!o||a&&r&&i||!s&&i||!c)return-1}return 0}function Sn(e,t,r,n){for(var i=-1,o=e.length,s=r.length,a=-1,c=t.length,f=vs(o-s,0),u=Bo(c+f),h=!n;++a<c;)u[a]=t[a];for(;++i<s;)(h||i<o)&&(u[r[i]]=e[i]);for(;f--;)u[a++]=e[i++];return u}function kn(e,t,r,n){for(var i=-1,o=e.length,s=-1,a=r.length,c=-1,f=t.length,u=vs(o-a,0),h=Bo(u+f),l=!n;++i<u;)h[i]=e[i];for(var d=i;++c<f;)h[d+c]=t[c];for(;++s<a;)(l||i<o)&&(h[d+r[s]]=e[i++]);return h}function An(e,t){var r=-1,n=e.length;for(t||(t=Bo(n));++r<n;)t[r]=e[r];return t}function xn(e,t,r,n){var i=!r;r||(r={});for(var o=-1,s=t.length;++o<s;){var a=t[o],c=n?n(r[a],e[a],a,r,e):D;c===D&&(c=e[a]),i?Wt(r,a,c):zt(r,a,c)}return r}function In(e,t){return function(r,n){var i=za(r)?function(e,t,r,n){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(n,s,r(s),e)}return n}:function(e,t,r,n){return Ks(e,function(e,i,o){t(n,e,r(e),o)}),n},o=t?t():{};return i(r,e,ri(n,2),o)}}function Tn(e){return Qr(function(t,r){var n=-1,i=r.length,o=i>1?r[i-1]:D,s=i>2?r[2]:D;for(o=e.length>3&&"function"==typeof o?(i--,o):D,s&&ui(r[0],r[1],s)&&(o=i<3?D:o,i=1),t=Oo(t);++n<i;){var a=r[n];a&&e(t,a,n,o)}return t})}function Bn(e,t){return function(r,n){if(null==r)return r;if(!Vi(r))return e(r,n);for(var i=r.length,o=t?i:-1,s=Oo(r);(t?o--:++o<i)&&!1!==n(s[o],o,s););return r}}function Pn(e){return function(t,r,n){for(var i=-1,o=Oo(t),s=n(t),a=s.length;a--;){var c=s[e?a:++i];if(!1===r(o[c],c,o))break}return t}}function Mn(e){return function(t){var r=M(t=uo(t))?N(t):D,n=r?r[0]:t.charAt(0),i=r?mn(r,1).join(""):t.slice(1);return n[e]()+i}}function Cn(e){return function(t){return d(wo(go(t).replace(nr,"")),e,"")}}function Rn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Us(e.prototype),n=e.apply(r,t);return $i(n)?n:r}}function On(e){return function(t,r,n){var i=Oo(t);if(!Vi(t)){var o=ri(r,3);t=po(t),r=function(e){return o(i[e],e,i)}}var s=e(t,r,n);return s>-1?i[o?t[s]:s]:D}}function Ln(e){return Zn(function(t){var r=t.length,n=r,i=Ct.prototype.thru;for(e&&t.reverse();n--;){var o=t[n];if("function"!=typeof o)throw new No(H);if(i&&!s&&"wrapper"==ei(o))var s=new Ct([],!0)}for(n=s?n:r;++n<r;){var a=ei(o=t[n]),c="wrapper"==a?Js(o):D;s=c&&li(c[0])&&c[1]==(ne|Q|te|ie)&&!c[4].length&&1==c[9]?s[ei(c[0])].apply(s,c[3]):1==o.length&&li(o)?s[a]():s.thru(o)}return function(){var e=arguments,n=e[0];if(s&&1==e.length&&za(n))return s.plant(n).value();for(var i=0,o=r?t[i].apply(this,e):n;++i<r;)o=t[i].call(this,o);return o}})}function jn(e,t,r,n,i,o,s,a,c,f){function u(){for(var v=arguments.length,m=Bo(v),g=v;g--;)m[g]=arguments[g];if(p)var w=ti(u),_=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}(m,w);if(n&&(m=Sn(m,n,i,p)),o&&(m=kn(m,o,s,p)),v-=_,p&&v<f){var E=O(m,w);return qn(e,t,jn,u.placeholder,r,m,E,a,c,f-v)}var S=l?r:this,k=d?S[e]:e;return v=m.length,a?m=function(e,t){for(var r=e.length,n=ms(t.length,r),i=An(e);n--;){var o=t[n];e[n]=fi(o,r)?i[o]:D}return e}(m,a):b&&v>1&&m.reverse(),h&&c<v&&(m.length=c),this&&this!==mr&&this instanceof u&&(k=y||Rn(k)),k.apply(S,m)}var h=t&ne,l=t&X,d=t&Z,p=t&(Q|ee),b=t&oe,y=d?D:Rn(e);return u}function Nn(e,t){return function(r,n){return function(e,t,r,n){return tr(e,function(e,i,o){t(n,r(e),i,o)}),n}(r,e,t(n),{})}}function Dn(e,t){return function(r,n){var i;if(r===D&&n===D)return t;if(r!==D&&(i=r),n!==D){if(i===D)return n;"string"==typeof r||"string"==typeof n?(r=an(r),n=an(n)):(r=sn(r),n=sn(n)),i=e(r,n)}return i}}function Un(e){return Zn(function(t){return t=h(t,A(ri())),Qr(function(r){var n=this;return e(t,function(e){return o(e,n,r)})})})}function Kn(e,t){var r=(t=t===D?" ":an(t)).length;if(r<2)return r?$r(t,e):t;var n=$r(t,us(e/j(t)));return M(t)?mn(N(n),0,e).join(""):n.slice(0,e)}function Hn(e){return function(t,r,n){return n&&"number"!=typeof n&&ui(t,r,n)&&(r=n=D),t=oo(t),r===D?(r=t,t=0):r=oo(r),n=n===D?t<r?1:-1:oo(n),function(e,t,n,i){for(var o=-1,s=vs(us((r-e)/(n||1)),0),a=Bo(s);s--;)a[i?s:++o]=e,e+=n;return a}(t,0,n,e)}}function zn(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=co(t),r=co(r)),e(t,r)}}function qn(e,t,r,n,i,o,s,a,c,f){var u=t&Q;t|=u?te:re,(t&=~(u?re:te))&$||(t&=~(X|Z));var h=[e,t,i,u?o:D,u?s:D,u?D:o,u?D:s,a,c,f],l=r.apply(D,h);return li(e)&&ea(l,h),l.placeholder=n,mi(l,e,t)}function Fn(e){var t=Ro[e];return function(e,r){if(e=co(e),r=null==r?0:ms(so(r),292)){var n=(uo(e)+"e").split("e");return+((n=(uo(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}function Wn(e){return function(t){var r=$s(t);return r==Be?C(t):r==Le?function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=[e,e]}),r}(t):function(r,n){return h(e(t),function(e){return[e,r[e]]})}(t)}}function Vn(e,t,r,n,i,s,a,c){var f=t&Z;if(!f&&"function"!=typeof e)throw new No(H);var u=n?n.length:0;if(u||(t&=~(te|re),n=i=D),a=a===D?a:vs(so(a),0),c=c===D?c:so(c),u-=i?i.length:0,t&re){var h=n,l=i;n=i=D}var d=f?D:Js(e),p=[e,t,r,n,i,h,l,s,a,c];if(d&&function(e,t){var r=e[1],n=t[1],i=r|n,o=i<(X|Z|ne),s=n==ne&&r==Q||n==ne&&r==ie&&e[7].length<=t[8]||n==(ne|ie)&&t[7].length<=t[8]&&r==Q;if(!o&&!s)return e;n&X&&(e[2]=t[2],i|=r&X?0:$);var a=t[3];if(a){var c=e[3];e[3]=c?Sn(c,a,t[4]):a,e[4]=c?O(e[3],F):t[4]}(a=t[5])&&(c=e[5],e[5]=c?kn(c,a,t[6]):a,e[6]=c?O(e[5],F):t[6]),(a=t[7])&&(e[7]=a),n&ne&&(e[8]=null==e[8]?t[8]:ms(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(p,d),e=p[0],t=p[1],r=p[2],n=p[3],i=p[4],!(c=p[9]=p[9]===D?f?0:e.length:vs(p[9]-u,0))&&t&(Q|ee)&&(t&=~(Q|ee)),t&&t!=X)b=t==Q||t==ee?function(e,t,r){function n(){for(var s=arguments.length,a=Bo(s),c=s,f=ti(n);c--;)a[c]=arguments[c];var u=s<3&&a[0]!==f&&a[s-1]!==f?[]:O(a,f);return(s-=u.length)<r?qn(e,t,jn,n.placeholder,D,a,u,D,D,r-s):o(this&&this!==mr&&this instanceof n?i:e,this,a)}var i=Rn(e);return n}(e,t,c):t!=te&&t!=(X|te)||i.length?jn.apply(D,p):function(e,r,n,i){function s(){for(var t=-1,r=arguments.length,f=-1,u=i.length,h=Bo(u+r),l=this&&this!==mr&&this instanceof s?c:e;++f<u;)h[f]=i[f];for(;r--;)h[f++]=arguments[++t];return o(l,a?n:this,h)}var a=t&X,c=Rn(e);return s}(e,0,r,n);else var b=function(e,r,n){function i(){return(this&&this!==mr&&this instanceof i?s:e).apply(o?n:this,arguments)}var o=t&X,s=Rn(e);return i}(e,0,r);return mi((d?Fs:ea)(b,p),e,t)}function Gn(e,t,r,n){return e===D||Wi(e,Ko[r])&&!qo.call(n,r)?t:e}function Yn(e,t,r,n,i,o){return $i(e)&&$i(t)&&(o.set(t,e),Wr(e,t,D,Yn,o),o.delete(t)),e}function Jn(e){return to(e)?D:e}function Xn(e,t,r,n,i,o){var s=r&Y,a=e.length,c=t.length;if(a!=c&&!(s&&c>a))return!1;var f=o.get(e);if(f&&o.get(t))return f==t;var u=-1,h=!0,l=r&J?new Nt:D;for(o.set(e,t),o.set(t,e);++u<a;){var d=e[u],b=t[u];if(n)var y=s?n(b,d,u,t,e,o):n(d,b,u,e,t,o);if(y!==D){if(y)continue;h=!1;break}if(l){if(!p(t,function(e,t){if(!I(l,t)&&(d===e||i(d,e,r,n,o)))return l.push(t)})){h=!1;break}}else if(d!==b&&!i(d,b,r,n,o)){h=!1;break}}return o.delete(e),o.delete(t),h}function Zn(e){return ra(yi(e,D,xi),e+"")}function $n(e){return dr(e,po,Xs)}function Qn(e){return dr(e,bo,Zs)}function ei(e){for(var t=e.name+"",r=Ps[t],n=qo.call(Ps,t)?r.length:0;n--;){var i=r[n],o=i.func;if(null==o||o==e)return i.name}return t}function ti(e){return(qo.call(r,"placeholder")?r:e).placeholder}function ri(){var e=r.iteratee||So;return e=e===So?Dr:e,arguments.length?e(arguments[0],arguments[1]):e}function ni(e,t){var r=e.__data__;return function(e){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}()?r["string"==typeof t?"string":"hash"]:r.map}function ii(e){for(var t=po(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,pi(i)]}return t}function oi(e,t){var r=null==e?D:e[t];return Nr(r)?r:D}function si(e,t,r){for(var n=-1,i=(t=vn(t,e)).length,o=!1;++n<i;){var s=_i(t[n]);if(!(o=null!=e&&r(e,s)))break;e=e[s]}return o||++n!=i?o:!!(i=null==e?0:e.length)&&Zi(i)&&fi(s,i)&&(za(e)||Ha(e))}function ai(e){return"function"!=typeof e.constructor||di(e)?{}:Us(Qo(e))}function ci(e){return za(e)||Ha(e)||!!(ns&&e&&e[ns])}function fi(e,t){return!!(t=null==t?de:t)&&("number"==typeof e||Tt.test(e))&&e>-1&&e%1==0&&e<t}function ui(e,t,r){if(!$i(r))return!1;var n=typeof t;return!!("number"==n?Vi(r)&&fi(t,r.length):"string"==n&&t in r)&&Wi(r[t],e)}function hi(e,t){if(za(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!no(e))||ft.test(e)||!ct.test(e)||null!=t&&e in Oo(t)}function li(e){var t=ei(e),n=r[t];if("function"!=typeof n||!(t in Rt.prototype))return!1;if(e===n)return!0;var i=Js(n);return!!i&&e===i[0]}function di(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ko)}function pi(e){return e==e&&!$i(e)}function bi(e,t){return function(r){return null!=r&&r[e]===t&&(t!==D||e in Oo(r))}}function yi(e,t,r){return t=vs(t===D?e.length-1:t,0),function(){for(var n=arguments,i=-1,s=vs(n.length-t,0),a=Bo(s);++i<s;)a[i]=n[t+i];i=-1;for(var c=Bo(t+1);++i<t;)c[i]=n[i];return c[t]=r(a),o(e,this,c)}}function vi(e,t){return t.length<2?e:ar(e,tn(t,0,-1))}function mi(e,t,r){var n=t+"";return ra(e,function(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(vt,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return s(ge,function(r){var n="_."+r[0];t&r[1]&&!f(e,n)&&e.push(n)}),e.sort()}(function(e){var t=n.match(mt);return t?t[1].split(gt):[]}(),r)))}function gi(e){var t=0,r=0;return function(){var n=gs(),i=fe-(n-r);if(r=n,i>0){if(++t>=ce)return arguments[0]}else t=0;return e.apply(D,arguments)}}function wi(e,t){var r=-1,n=e.length,i=n-1;for(t=t===D?n:t;++r<t;){var o=Zr(r,i),s=e[o];e[o]=e[r],e[r]=s}return e.length=t,e}function _i(e){if("string"==typeof e||no(e))return e;var t=e+"";return"0"==t&&1/e==-le?"-0":t}function Ei(e){if(null!=e){try{return zo.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Si(e){if(e instanceof Rt)return e.clone();var t=new Ct(e.__wrapped__,e.__chain__);return t.__actions__=An(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function ki(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:so(r);return i<0&&(i=vs(n+i,0)),y(e,ri(t,3),i)}function Ai(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n-1;return r!==D&&(i=so(r),i=r<0?vs(n+i,0):ms(i,n-1)),y(e,ri(t,3),i,!0)}function xi(e){return(null==e?0:e.length)?er(e,1):[]}function Ii(e){return e&&e.length?e[0]:D}function Ti(e){var t=null==e?0:e.length;return t?e[t-1]:D}function Bi(e,t){return e&&e.length&&t&&t.length?Jr(e,t):e}function Pi(e){return null==e?e:Es.call(e)}function Mi(e){if(!e||!e.length)return[];var t=0;return e=c(e,function(e){if(Gi(e))return t=vs(e.length,t),!0}),k(t,function(t){return h(e,w(t))})}function Ci(e,t){if(!e||!e.length)return[];var r=Mi(e);return null==t?r:h(r,function(e){return o(t,D,e)})}function Ri(e){var t=r(e);return t.__chain__=!0,t}function Oi(e,t){return t(e)}function Li(e,t){return(za(e)?s:Ks)(e,ri(t,3))}function ji(e,t){return(za(e)?function(e,t){for(var r=null==e?0:e.length;r--&&!1!==t(e[r],r,e););return e}:Hs)(e,ri(t,3))}function Ni(e,t){return(za(e)?h:zr)(e,ri(t,3))}function Di(e,t,r){return t=r?D:t,t=e&&null==t?e.length:t,Vn(e,ne,D,D,D,D,t)}function Ui(e,t){var r;if("function"!=typeof t)throw new No(H);return e=so(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=D),r}}function Ki(e,t,r){var n=Vn(e,Q,D,D,D,D,D,t=r?D:t);return n.placeholder=Ki.placeholder,n}function Hi(e,t,r){var n=Vn(e,ee,D,D,D,D,D,t=r?D:t);return n.placeholder=Hi.placeholder,n}function zi(e,t,r){function n(t){var r=c,n=f;return c=f=D,p=t,h=e.apply(n,r)}function i(e){var r=e-d;return d===D||r>=t||r<0||y&&e-p>=u}function o(){var e=Pa();if(i(e))return s(e);l=ta(o,function(r){var n=t-(e-d);return y?ms(n,u-(e-p)):n}())}function s(e){return l=D,v&&c?n(e):(c=f=D,h)}function a(){var e=Pa(),r=i(e);if(c=arguments,f=this,d=e,r){if(l===D)return function(e){return p=e,l=ta(o,t),b?n(e):h}(d);if(y)return l=ta(o,t),n(d)}return l===D&&(l=ta(o,t)),h}var c,f,u,h,l,d,p=0,b=!1,y=!1,v=!0;if("function"!=typeof e)throw new No(H);return t=co(t)||0,$i(r)&&(b=!!r.leading,u=(y="maxWait"in r)?vs(co(r.maxWait)||0,t):u,v="trailing"in r?!!r.trailing:v),a.cancel=function(){l!==D&&Gs(l),p=0,c=d=f=l=D},a.flush=function(){return l===D?h:s(Pa())},a}function qi(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new No(H);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=e.apply(this,n);return r.cache=o.set(i,s)||o,s};return r.cache=new(qi.Cache||jt),r}function Fi(e){if("function"!=typeof e)throw new No(H);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Wi(e,t){return e===t||e!=e&&t!=t}function Vi(e){return null!=e&&Zi(e.length)&&!Ji(e)}function Gi(e){return Qi(e)&&Vi(e)}function Yi(e){if(!Qi(e))return!1;var t=yr(e);return t==xe||t==Ae||"string"==typeof e.message&&"string"==typeof e.name&&!to(e)}function Ji(e){if(!$i(e))return!1;var t=yr(e);return t==Ie||t==Te||t==Ee||t==Re}function Xi(e){return"number"==typeof e&&e==so(e)}function Zi(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=de}function $i(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Qi(e){return null!=e&&"object"==typeof e}function eo(e){return"number"==typeof e||Qi(e)&&yr(e)==Pe}function to(e){if(!Qi(e)||yr(e)!=Ce)return!1;var t=Qo(e);if(null===t)return!0;var r=qo.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&zo.call(r)==Go}function ro(e){return"string"==typeof e||!za(e)&&Qi(e)&&yr(e)==je}function no(e){return"symbol"==typeof e||Qi(e)&&yr(e)==Ne}function io(e){if(!e)return[];if(Vi(e))return ro(e)?N(e):An(e);if(is&&e[is])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[is]());var t=$s(e);return(t==Be?C:t==Le?L:vo)(e)}function oo(e){return e?(e=co(e))===le||e===-le?(e<0?-1:1)*pe:e==e?e:0:0===e?e:0}function so(e){var t=oo(e),r=t%1;return t==t?r?t-r:t:0}function ao(e){return e?Gt(so(e),0,ye):0}function co(e){if("number"==typeof e)return e;if(no(e))return be;if($i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=$i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(pt,"");var r=At.test(e);return r||It.test(e)?br(e.slice(2),r?2:8):kt.test(e)?be:+e}function fo(e){return xn(e,bo(e))}function uo(e){return null==e?"":an(e)}function ho(e,t,r){var n=null==e?D:ar(e,t);return n===D?r:n}function lo(e,t){return null!=e&&si(e,t,wr)}function po(e){return Vi(e)?Ut(e):Ur(e)}function bo(e){return Vi(e)?Ut(e,!0):Kr(e)}function yo(e,t){if(null==e)return{};var r=h(Qn(e),function(e){return[e]});return t=ri(t),Yr(e,r,function(e,r){return t(e,r[0])})}function vo(e){return null==e?[]:x(e,po(e))}function mo(e){return _c(uo(e).toLowerCase())}function go(e){return(e=uo(e))&&e.replace(Bt,Mr).replace(ir,"")}function wo(e,t,r){return e=uo(e),(t=r?D:t)===D?function(e){return cr.test(e)}(e)?e.match(sr)||[]:e.match(wt)||[]:e.match(t)||[]}function _o(e){return function(){return e}}function Eo(e){return e}function So(e){return Dr("function"==typeof e?e:Yt(e,W))}function ko(e,t,r){var n=po(t),i=or(t,n);null!=r||$i(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=or(t,po(t)));var o=!($i(r)&&"chain"in r&&!r.chain),a=Ji(e);return s(i,function(r){var n=t[r];e[r]=n,a&&(e.prototype[r]=function(){var t=this.__chain__;if(o||t){var r=e(this.__wrapped__);return(r.__actions__=An(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,l([this.value()],arguments))})}),e}function Ao(){}function xo(e){return hi(e)?w(_i(e)):function(e){return function(t){return ar(t,e)}}(e)}function Io(){return[]}function To(){return!1}var Bo=(t=null==t?mr:Or.defaults(mr.Object(),t,Or.pick(mr,fr))).Array,Po=t.Date,Mo=t.Error,Co=t.Function,Ro=t.Math,Oo=t.Object,Lo=t.RegExp,jo=t.String,No=t.TypeError,Do=Bo.prototype,Uo=Co.prototype,Ko=Oo.prototype,Ho=t["__core-js_shared__"],zo=Uo.toString,qo=Ko.hasOwnProperty,Fo=0,Wo=function(){var e=/[^.]+$/.exec(Ho&&Ho.keys&&Ho.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Vo=Ko.toString,Go=zo.call(Oo),Yo=mr._,Jo=Lo("^"+zo.call(qo).replace(lt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Buffer=_r?t.Buffer:D,Xo=t.Symbol,Zo=t.Uint8Array,$o=Buffer?Buffer.allocUnsafe:D,Qo=R(Oo.getPrototypeOf,Oo),es=Oo.create,ts=Ko.propertyIsEnumerable,rs=Do.splice,ns=Xo?Xo.isConcatSpreadable:D,is=Xo?Xo.iterator:D,os=Xo?Xo.toStringTag:D,ss=function(){try{var e=oi(Oo,"defineProperty");return e({},"",{}),e}catch(e){}}(),as=t.clearTimeout!==mr.clearTimeout&&t.clearTimeout,cs=Po&&Po.now!==mr.Date.now&&Po.now,fs=t.setTimeout!==mr.setTimeout&&t.setTimeout,us=Ro.ceil,hs=Ro.floor,ls=Oo.getOwnPropertySymbols,ds=Buffer?Buffer.isBuffer:D,ps=t.isFinite,bs=Do.join,ys=R(Oo.keys,Oo),vs=Ro.max,ms=Ro.min,gs=Po.now,ws=t.parseInt,_s=Ro.random,Es=Do.reverse,Ss=oi(t,"DataView"),ks=oi(t,"Map"),As=oi(t,"Promise"),xs=oi(t,"Set"),Is=oi(t,"WeakMap"),Ts=oi(Oo,"create"),Bs=Is&&new Is,Ps={},Ms=Ei(Ss),Cs=Ei(ks),Rs=Ei(As),Os=Ei(xs),Ls=Ei(Is),js=Xo?Xo.prototype:D,Ns=js?js.valueOf:D,Ds=js?js.toString:D,Us=function(){function e(){}return function(t){if(!$i(t))return{};if(es)return es(t);e.prototype=t;var r=new e;return e.prototype=D,r}}();r.templateSettings={escape:ot,evaluate:st,interpolate:at,variable:"",imports:{_:r}},(r.prototype=_.prototype).constructor=r,(Ct.prototype=Us(_.prototype)).constructor=Ct,(Rt.prototype=Us(_.prototype)).constructor=Rt,Ot.prototype.clear=function(){this.__data__=Ts?Ts(null):{},this.size=0},Ot.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ot.prototype.get=function(e){var t=this.__data__;if(Ts){var r=t[e];return r===z?D:r}return qo.call(t,e)?t[e]:D},Ot.prototype.has=function(e){var t=this.__data__;return Ts?t[e]!==D:qo.call(t,e)},Ot.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ts&&t===D?z:t,this},Lt.prototype.clear=function(){this.__data__=[],this.size=0},Lt.prototype.delete=function(e){var t=this.__data__,r=qt(t,e);return!(r<0||(r==t.length-1?t.pop():rs.call(t,r,1),--this.size,0))},Lt.prototype.get=function(e){var t=this.__data__,r=qt(t,e);return r<0?D:t[r][1]},Lt.prototype.has=function(e){return qt(this.__data__,e)>-1},Lt.prototype.set=function(e,t){var r=this.__data__,n=qt(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},jt.prototype.clear=function(){this.size=0,this.__data__={hash:new Ot,map:new(ks||Lt),string:new Ot}},jt.prototype.delete=function(e){var t=ni(this,e).delete(e);return this.size-=t?1:0,t},jt.prototype.get=function(e){return ni(this,e).get(e)},jt.prototype.has=function(e){return ni(this,e).has(e)},jt.prototype.set=function(e,t){var r=ni(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Nt.prototype.add=Nt.prototype.push=function(e){return this.__data__.set(e,z),this},Nt.prototype.has=function(e){return this.__data__.has(e)},Dt.prototype.clear=function(){this.__data__=new Lt,this.size=0},Dt.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Dt.prototype.get=function(e){return this.__data__.get(e)},Dt.prototype.has=function(e){return this.__data__.has(e)},Dt.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Lt){var n=r.__data__;if(!ks||n.length<U-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new jt(n)}return r.set(e,t),this.size=r.size,this};var Ks=Bn(tr),Hs=Bn(rr,!0),zs=Pn(),qs=Pn(!0),Fs=Bs?function(e,t){return Bs.set(e,t),e}:Eo,Ws=ss?function(e,t){return ss(e,"toString",{configurable:!0,enumerable:!1,value:_o(t),writable:!0})}:Eo,Vs=Qr,Gs=as||function(e){return mr.clearTimeout(e)},Ys=xs&&1/L(new xs([,-0]))[1]==le?function(e){return new xs(e)}:Ao,Js=Bs?function(e){return Bs.get(e)}:Ao,Xs=ls?function(e){return null==e?[]:(e=Oo(e),c(ls(e),function(t){return ts.call(e,t)}))}:Io,Zs=ls?function(e){for(var t=[];e;)l(t,Xs(e)),e=Qo(e);return t}:Io,$s=yr;(Ss&&$s(new Ss(new ArrayBuffer(1)))!=ze||ks&&$s(new ks)!=Be||As&&"[object Promise]"!=$s(As.resolve())||xs&&$s(new xs)!=Le||Is&&$s(new Is)!=Ue)&&($s=function(e){var t=yr(e),r=t==Ce?e.constructor:D,n=r?Ei(r):"";if(n)switch(n){case Ms:return ze;case Cs:return Be;case Rs:return"[object Promise]";case Os:return Le;case Ls:return Ue}return t});var Qs=Ho?Ji:To,ea=gi(Fs),ta=fs||function(e,t){return mr.setTimeout(e,t)},ra=gi(Ws),na=function(e){var t=qi(function(e){var t=[];return ut.test(e)&&t.push(""),e.replace(ht,function(e,r,n,i){t.push(n?i.replace(_t,"$1"):r||e)}),t},function(e){return r.size===q&&r.clear(),e}),r=t.cache;return t}(),ia=Qr(function(e,t){return Gi(e)?Zt(e,er(t,1,Gi,!0)):[]}),oa=Qr(function(e,t){var r=Ti(t);return Gi(r)&&(r=D),Gi(e)?Zt(e,er(t,1,Gi,!0),ri(r,2)):[]}),sa=Qr(function(e,t){var r=Ti(t);return Gi(r)&&(r=D),Gi(e)?Zt(e,er(t,1,Gi,!0),D,r):[]}),aa=Qr(function(e){var t=h(e,bn);return t.length&&t[0]===e[0]?Er(t):[]}),ca=Qr(function(e){var t=Ti(e),r=h(e,bn);return t===Ti(r)?t=D:r.pop(),r.length&&r[0]===e[0]?Er(r,ri(t,2)):[]}),fa=Qr(function(e){var t=Ti(e),r=h(e,bn);return(t="function"==typeof t?t:D)&&r.pop(),r.length&&r[0]===e[0]?Er(r,D,t):[]}),ua=Qr(Bi),ha=Zn(function(e,t){var r=null==e?0:e.length,n=Vt(e,t);return Xr(e,h(t,function(e){return fi(e,r)?+e:e}).sort(En)),n}),la=Qr(function(e){return cn(er(e,1,Gi,!0))}),da=Qr(function(e){var t=Ti(e);return Gi(t)&&(t=D),cn(er(e,1,Gi,!0),ri(t,2))}),pa=Qr(function(e){var t=Ti(e);return t="function"==typeof t?t:D,cn(er(e,1,Gi,!0),D,t)}),ba=Qr(function(e,t){return Gi(e)?Zt(e,t):[]}),ya=Qr(function(e){return dn(c(e,Gi))}),va=Qr(function(e){var t=Ti(e);return Gi(t)&&(t=D),dn(c(e,Gi),ri(t,2))}),ma=Qr(function(e){var t=Ti(e);return t="function"==typeof t?t:D,dn(c(e,Gi),D,t)}),ga=Qr(Mi),wa=Qr(function(e){var t=e.length,r=t>1?e[t-1]:D;return r="function"==typeof r?(e.pop(),r):D,Ci(e,r)}),_a=Zn(function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,i=function(t){return Vt(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Rt&&fi(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:Oi,args:[i],thisArg:D}),new Ct(n,this.__chain__).thru(function(e){return t&&!e.length&&e.push(D),e})):this.thru(i)}),Ea=In(function(e,t,r){qo.call(e,r)?++e[r]:Wt(e,r,1)}),Sa=On(ki),ka=On(Ai),Aa=In(function(e,t,r){qo.call(e,r)?e[r].push(t):Wt(e,r,[t])}),xa=Qr(function(e,t,r){var n=-1,i="function"==typeof t,s=Vi(e)?Bo(e.length):[];return Ks(e,function(e){s[++n]=i?o(t,e,r):Sr(e,t,r)}),s}),Ia=In(function(e,t,r){Wt(e,r,t)}),Ta=In(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]}),Ba=Qr(function(e,t){if(null==e)return[];var r=t.length;return r>1&&ui(e,t[0],t[1])?t=[]:r>2&&ui(t[0],t[1],t[2])&&(t=[t[0]]),Gr(e,er(t,1),[])}),Pa=cs||function(){return mr.Date.now()},Ma=Qr(function(e,t,r){var n=X;if(r.length){var i=O(r,ti(Ma));n|=te}return Vn(e,n,t,r,i)}),Ca=Qr(function(e,t,r){var n=X|Z;if(r.length){var i=O(r,ti(Ca));n|=te}return Vn(t,n,e,r,i)}),Ra=Qr(function(e,t){return Xt(e,1,t)}),Oa=Qr(function(e,t,r){return Xt(e,co(t)||0,r)});qi.Cache=jt;var La=Vs(function(e,t){var r=(t=1==t.length&&za(t[0])?h(t[0],A(ri())):h(er(t,1),A(ri()))).length;return Qr(function(n){for(var i=-1,s=ms(n.length,r);++i<s;)n[i]=t[i].call(this,n[i]);return o(e,this,n)})}),ja=Qr(function(e,t){var r=O(t,ti(ja));return Vn(e,te,D,t,r)}),Na=Qr(function(e,t){var r=O(t,ti(Na));return Vn(e,re,D,t,r)}),Da=Zn(function(e,t){return Vn(e,ie,D,D,D,t)}),Ua=zn(vr),Ka=zn(function(e,t){return e>=t}),Ha=Pr(function(){return arguments}())?Pr:function(e){return Qi(e)&&qo.call(e,"callee")&&!ts.call(e,"callee")},za=Bo.isArray,qa=kr?A(kr):function(e){return Qi(e)&&yr(e)==He},Fa=ds||To,Wa=Ar?A(Ar):function(e){return Qi(e)&&yr(e)==ke},Va=xr?A(xr):function(e){return Qi(e)&&$s(e)==Be},Ga=Ir?A(Ir):function(e){return Qi(e)&&yr(e)==Oe},Ya=Tr?A(Tr):function(e){return Qi(e)&&$s(e)==Le},Ja=Br?A(Br):function(e){return Qi(e)&&Zi(e.length)&&!!hr[yr(e)]},Xa=zn(Hr),Za=zn(function(e,t){return e<=t}),$a=Tn(function(e,t){if(di(t)||Vi(t))xn(t,po(t),e);else for(var r in t)qo.call(t,r)&&zt(e,r,t[r])}),Qa=Tn(function(e,t){xn(t,bo(t),e)}),ec=Tn(function(e,t,r,n){xn(t,bo(t),e,n)}),tc=Tn(function(e,t,r,n){xn(t,po(t),e,n)}),rc=Zn(Vt),nc=Qr(function(e){return e.push(D,Gn),o(ec,D,e)}),ic=Qr(function(e){return e.push(D,Yn),o(fc,D,e)}),oc=Nn(function(e,t,r){e[t]=r},_o(Eo)),sc=Nn(function(e,t,r){qo.call(e,t)?e[t].push(r):e[t]=[r]},ri),ac=Qr(Sr),cc=Tn(function(e,t,r){Wr(e,t,r)}),fc=Tn(function(e,t,r,n){Wr(e,t,r,n)}),uc=Zn(function(e,t){var r={};if(null==e)return r;var n=!1;t=h(t,function(t){return t=vn(t,e),n||(n=t.length>1),t}),xn(e,Qn(e),r),n&&(r=Yt(r,W|V|G,Jn));for(var i=t.length;i--;)fn(r,t[i]);return r}),hc=Zn(function(e,t){return null==e?{}:function(e,r){return Yr(e,t,function(t,r){return lo(e,r)})}(e)}),lc=Wn(po),dc=Wn(bo),pc=Cn(function(e,t,r){return t=t.toLowerCase(),e+(r?mo(t):t)}),bc=Cn(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),yc=Cn(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),vc=Mn("toLowerCase"),mc=Cn(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}),gc=Cn(function(e,t,r){return e+(r?" ":"")+_c(t)}),wc=Cn(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),_c=Mn("toUpperCase"),Ec=Qr(function(e,t){try{return o(e,D,t)}catch(e){return Yi(e)?e:new Mo(e)}}),Sc=Zn(function(e,t){return s(t,function(t){t=_i(t),Wt(e,t,Ma(e[t],e))}),e}),kc=Ln(),Ac=Ln(!0),xc=Qr(function(e,t){return function(r){return Sr(r,e,t)}}),Ic=Qr(function(e,t){return function(r){return Sr(e,r,t)}}),Tc=Un(h),Bc=Un(a),Pc=Un(p),Mc=Hn(),Cc=Hn(!0),Rc=Dn(function(e,t){return e+t},0),Oc=Fn("ceil"),Lc=Dn(function(e,t){return e/t},1),jc=Fn("floor"),Nc=Dn(function(e,t){return e*t},1),Dc=Fn("round"),Uc=Dn(function(e,t){return e-t},0);return r.after=function(e,t){if("function"!=typeof t)throw new No(H);return e=so(e),function(){if(--e<1)return t.apply(this,arguments)}},r.ary=Di,r.assign=$a,r.assignIn=Qa,r.assignInWith=ec,r.assignWith=tc,r.at=rc,r.before=Ui,r.bind=Ma,r.bindAll=Sc,r.bindKey=Ca,r.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return za(e)?e:[e]},r.chain=Ri,r.chunk=function(e,t,r){t=(r?ui(e,t,r):t===D)?1:vs(so(t),0);var n=null==e?0:e.length;if(!n||t<1)return[];for(var i=0,o=0,s=Bo(us(n/t));i<n;)s[o++]=tn(e,i,i+=t);return s},r.compact=function(e){for(var t=-1,r=null==e?0:e.length,n=0,i=[];++t<r;){var o=e[t];o&&(i[n++]=o)}return i},r.concat=function(){var e=arguments.length;if(!e)return[];for(var t=Bo(e-1),r=arguments[0],n=e;n--;)t[n-1]=arguments[n];return l(za(r)?An(r):[r],er(t,1))},r.cond=function(e){var t=null==e?0:e.length,r=ri();return e=t?h(e,function(e){if("function"!=typeof e[1])throw new No(H);return[r(e[0]),e[1]]}):[],Qr(function(r){for(var n=-1;++n<t;){var i=e[n];if(o(i[0],this,r))return o(i[1],this,r)}})},r.conforms=function(e){return function(e){var t=po(e);return function(r){return Jt(r,e,t)}}(Yt(e,W))},r.constant=_o,r.countBy=Ea,r.create=function(e,t){var r=Us(e);return null==t?r:Ft(r,t)},r.curry=Ki,r.curryRight=Hi,r.debounce=zi,r.defaults=nc,r.defaultsDeep=ic,r.defer=Ra,r.delay=Oa,r.difference=ia,r.differenceBy=oa,r.differenceWith=sa,r.drop=function(e,t,r){var n=null==e?0:e.length;return n?(t=r||t===D?1:so(t),tn(e,t<0?0:t,n)):[]},r.dropRight=function(e,t,r){var n=null==e?0:e.length;return n?(t=r||t===D?1:so(t),t=n-t,tn(e,0,t<0?0:t)):[]},r.dropRightWhile=function(e,t){return e&&e.length?hn(e,ri(t,3),!0,!0):[]},r.dropWhile=function(e,t){return e&&e.length?hn(e,ri(t,3),!0):[]},r.fill=function(e,t,r,n){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&ui(e,t,r)&&(r=0,n=i),function(e,t,r,n){var i=e.length;for((r=so(r))<0&&(r=-r>i?0:i+r),(n=n===D||n>i?i:so(n))<0&&(n+=i),n=r>n?0:ao(n);r<n;)e[r++]=t;return e}(e,t,r,n)):[]},r.filter=function(e,t){return(za(e)?c:Qt)(e,ri(t,3))},r.flatMap=function(e,t){return er(Ni(e,t),1)},r.flatMapDeep=function(e,t){return er(Ni(e,t),le)},r.flatMapDepth=function(e,t,r){return r=r===D?1:so(r),er(Ni(e,t),r)},r.flatten=xi,r.flattenDeep=function(e){return(null==e?0:e.length)?er(e,le):[]},r.flattenDepth=function(e,t){return(null==e?0:e.length)?(t=t===D?1:so(t),er(e,t)):[]},r.flip=function(e){return Vn(e,oe)},r.flow=kc,r.flowRight=Ac,r.fromPairs=function(e){for(var t=-1,r=null==e?0:e.length,n={};++t<r;){var i=e[t];n[i[0]]=i[1]}return n},r.functions=function(e){return null==e?[]:or(e,po(e))},r.functionsIn=function(e){return null==e?[]:or(e,bo(e))},r.groupBy=Aa,r.initial=function(e){return(null==e?0:e.length)?tn(e,0,-1):[]},r.intersection=aa,r.intersectionBy=ca,r.intersectionWith=fa,r.invert=oc,r.invertBy=sc,r.invokeMap=xa,r.iteratee=So,r.keyBy=Ia,r.keys=po,r.keysIn=bo,r.map=Ni,r.mapKeys=function(e,t){var r={};return t=ri(t,3),tr(e,function(e,n,i){Wt(r,t(e,n,i),e)}),r},r.mapValues=function(e,t){var r={};return t=ri(t,3),tr(e,function(e,n,i){Wt(r,n,t(e,n,i))}),r},r.matches=function(e){return qr(Yt(e,W))},r.matchesProperty=function(e,t){return Fr(e,Yt(t,W))},r.memoize=qi,r.merge=cc,r.mergeWith=fc,r.method=xc,r.methodOf=Ic,r.mixin=ko,r.negate=Fi,r.nthArg=function(e){return e=so(e),Qr(function(t){return Vr(t,e)})},r.omit=uc,r.omitBy=function(e,t){return yo(e,Fi(ri(t)))},r.once=function(e){return Ui(2,e)},r.orderBy=function(e,t,r,n){return null==e?[]:(za(t)||(t=null==t?[]:[t]),r=n?D:r,za(r)||(r=null==r?[]:[r]),Gr(e,t,r))},r.over=Tc,r.overArgs=La,r.overEvery=Bc,r.overSome=Pc,r.partial=ja,r.partialRight=Na,r.partition=Ta,r.pick=hc,r.pickBy=yo,r.property=xo,r.propertyOf=function(e){return function(t){return null==e?D:ar(e,t)}},r.pull=ua,r.pullAll=Bi,r.pullAllBy=function(e,t,r){return e&&e.length&&t&&t.length?Jr(e,t,ri(r,2)):e},r.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Jr(e,t,D,r):e},r.pullAt=ha,r.range=Mc,r.rangeRight=Cc,r.rearg=Da,r.reject=function(e,t){return(za(e)?c:Qt)(e,Fi(ri(t,3)))},r.remove=function(e,t){var r=[];if(!e||!e.length)return r;var n=-1,i=[],o=e.length;for(t=ri(t,3);++n<o;){var s=e[n];t(s,n,e)&&(r.push(s),i.push(n))}return Xr(e,i),r},r.rest=function(e,t){if("function"!=typeof e)throw new No(H);return t=t===D?t:so(t),Qr(e,t)},r.reverse=Pi,r.sampleSize=function(e,t,r){return t=(r?ui(e,t,r):t===D)?1:so(t),(za(e)?function(e,t){return wi(An(e),Gt(t,0,e.length))}:function(e,t){var r=vo(e);return wi(r,Gt(t,0,r.length))})(e,t)},r.set=function(e,t,r){return null==e?e:en(e,t,r)},r.setWith=function(e,t,r,n){return n="function"==typeof n?n:D,null==e?e:en(e,t,r,n)},r.shuffle=function(e){return(za(e)?function(e){return wi(An(e))}:function(e){return wi(vo(e))})(e)},r.slice=function(e,t,r){var n=null==e?0:e.length;return n?(r&&"number"!=typeof r&&ui(e,t,r)?(t=0,r=n):(t=null==t?0:so(t),r=r===D?n:so(r)),tn(e,t,r)):[]},r.sortBy=Ba,r.sortedUniq=function(e){return e&&e.length?on(e):[]},r.sortedUniqBy=function(e,t){return e&&e.length?on(e,ri(t,2)):[]},r.split=function(e,t,r){return r&&"number"!=typeof r&&ui(e,t,r)&&(t=r=D),(r=r===D?ye:r>>>0)?(e=uo(e))&&("string"==typeof t||null!=t&&!Ga(t))&&!(t=an(t))&&M(e)?mn(N(e),0,r):e.split(t,r):[]},r.spread=function(e,t){if("function"!=typeof e)throw new No(H);return t=null==t?0:vs(so(t),0),Qr(function(r){var n=r[t],i=mn(r,0,t);return n&&l(i,n),o(e,this,i)})},r.tail=function(e){var t=null==e?0:e.length;return t?tn(e,1,t):[]},r.take=function(e,t,r){return e&&e.length?(t=r||t===D?1:so(t),tn(e,0,t<0?0:t)):[]},r.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?(t=r||t===D?1:so(t),t=n-t,tn(e,t<0?0:t,n)):[]},r.takeRightWhile=function(e,t){return e&&e.length?hn(e,ri(t,3),!1,!0):[]},r.takeWhile=function(e,t){return e&&e.length?hn(e,ri(t,3)):[]},r.tap=function(e,t){return t(e),e},r.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new No(H);return $i(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),zi(e,t,{leading:n,maxWait:t,trailing:i})},r.thru=Oi,r.toArray=io,r.toPairs=lc,r.toPairsIn=dc,r.toPath=function(e){return za(e)?h(e,_i):no(e)?[e]:An(na(uo(e)))},r.toPlainObject=fo,r.transform=function(e,t,r){var n=za(e),i=n||Fa(e)||Ja(e);if(t=ri(t,4),null==r){var o=e&&e.constructor;r=i?n?new o:[]:$i(e)&&Ji(o)?Us(Qo(e)):{}}return(i?s:tr)(e,function(e,n,i){return t(r,e,n,i)}),r},r.unary=function(e){return Di(e,1)},r.union=la,r.unionBy=da,r.unionWith=pa,r.uniq=function(e){return e&&e.length?cn(e):[]},r.uniqBy=function(e,t){return e&&e.length?cn(e,ri(t,2)):[]},r.uniqWith=function(e,t){return t="function"==typeof t?t:D,e&&e.length?cn(e,D,t):[]},r.unset=function(e,t){return null==e||fn(e,t)},r.unzip=Mi,r.unzipWith=Ci,r.update=function(e,t,r){return null==e?e:un(e,t,yn(r))},r.updateWith=function(e,t,r,n){return n="function"==typeof n?n:D,null==e?e:un(e,t,yn(r),n)},r.values=vo,r.valuesIn=function(e){return null==e?[]:x(e,bo(e))},r.without=ba,r.words=wo,r.wrap=function(e,t){return ja(yn(t),e)},r.xor=ya,r.xorBy=va,r.xorWith=ma,r.zip=ga,r.zipObject=function(e,t){return pn(e||[],t||[],zt)},r.zipObjectDeep=function(e,t){return pn(e||[],t||[],en)},r.zipWith=wa,r.entries=lc,r.entriesIn=dc,r.extend=Qa,r.extendWith=ec,ko(r,r),r.add=Rc,r.attempt=Ec,r.camelCase=pc,r.capitalize=mo,r.ceil=Oc,r.clamp=function(e,t,r){return r===D&&(r=t,t=D),r!==D&&(r=(r=co(r))==r?r:0),t!==D&&(t=(t=co(t))==t?t:0),Gt(co(e),t,r)},r.clone=function(e){return Yt(e,G)},r.cloneDeep=function(e){return Yt(e,W|G)},r.cloneDeepWith=function(e,t){return t="function"==typeof t?t:D,Yt(e,W|G,t)},r.cloneWith=function(e,t){return t="function"==typeof t?t:D,Yt(e,G,t)},r.conformsTo=function(e,t){return null==t||Jt(e,t,po(t))},r.deburr=go,r.defaultTo=function(e,t){return null==e||e!=e?t:e},r.divide=Lc,r.endsWith=function(e,t,r){e=uo(e),t=an(t);var n=e.length,i=r=r===D?n:Gt(so(r),0,n);return(r-=t.length)>=0&&e.slice(r,i)==t},r.eq=Wi,r.escape=function(e){return(e=uo(e))&&it.test(e)?e.replace(rt,Cr):e},r.escapeRegExp=function(e){return(e=uo(e))&&dt.test(e)?e.replace(lt,"\\$&"):e},r.every=function(e,t,r){var n=za(e)?a:function(e,t){var r=!0;return Ks(e,function(e,n,i){return r=!!t(e,n,i)}),r};return r&&ui(e,t,r)&&(t=D),n(e,ri(t,3))},r.find=Sa,r.findIndex=ki,r.findKey=function(e,t){return b(e,ri(t,3),tr)},r.findLast=ka,r.findLastIndex=Ai,r.findLastKey=function(e,t){return b(e,ri(t,3),rr)},r.floor=jc,r.forEach=Li,r.forEachRight=ji,r.forIn=function(e,t){return null==e?e:zs(e,ri(t,3),bo)},r.forInRight=function(e,t){return null==e?e:qs(e,ri(t,3),bo)},r.forOwn=function(e,t){return e&&tr(e,ri(t,3))},r.forOwnRight=function(e,t){return e&&rr(e,ri(t,3))},r.get=ho,r.gt=Ua,r.gte=Ka,r.has=function(e,t){return null!=e&&si(e,t,gr)},r.hasIn=lo,r.head=Ii,r.identity=Eo,r.includes=function(e,t,r,n){e=Vi(e)?e:vo(e),r=r&&!n?so(r):0;var i=e.length;return r<0&&(r=vs(i+r,0)),ro(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&v(e,t,r)>-1},r.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:so(r);return i<0&&(i=vs(n+i,0)),v(e,t,i)},r.inRange=function(e,t,r){return t=oo(t),r===D?(r=t,t=0):r=oo(r),e=co(e),function(e,t,r){return e>=ms(t,r)&&e<vs(t,r)}(e,t,r)},r.invoke=ac,r.isArguments=Ha,r.isArray=za,r.isArrayBuffer=qa,r.isArrayLike=Vi,r.isArrayLikeObject=Gi,r.isBoolean=function(e){return!0===e||!1===e||Qi(e)&&yr(e)==Se},r.isBuffer=Fa,r.isDate=Wa,r.isElement=function(e){return Qi(e)&&1===e.nodeType&&!to(e)},r.isEmpty=function(e){if(null==e)return!0;if(Vi(e)&&(za(e)||"string"==typeof e||"function"==typeof e.splice||Fa(e)||Ja(e)||Ha(e)))return!e.length;var t=$s(e);if(t==Be||t==Le)return!e.size;if(di(e))return!Ur(e).length;for(var r in e)if(qo.call(e,r))return!1;return!0},r.isEqual=function(e,t){return Lr(e,t)},r.isEqualWith=function(e,t,r){var n=(r="function"==typeof r?r:D)?r(e,t):D;return n===D?Lr(e,t,D,r):!!n},r.isError=Yi,r.isFinite=function(e){return"number"==typeof e&&ps(e)},r.isFunction=Ji,r.isInteger=Xi,r.isLength=Zi,r.isMap=Va,r.isMatch=function(e,t){return e===t||jr(e,t,ii(t))},r.isMatchWith=function(e,t,r){return r="function"==typeof r?r:D,jr(e,t,ii(t),r)},r.isNaN=function(e){return eo(e)&&e!=+e},r.isNative=function(e){if(Qs(e))throw new Mo(K);return Nr(e)},r.isNil=function(e){return null==e},r.isNull=function(e){return null===e},r.isNumber=eo,r.isObject=$i,r.isObjectLike=Qi,r.isPlainObject=to,r.isRegExp=Ga,r.isSafeInteger=function(e){return Xi(e)&&e>=-de&&e<=de},r.isSet=Ya,r.isString=ro,r.isSymbol=no,r.isTypedArray=Ja,r.isUndefined=function(e){return e===D},r.isWeakMap=function(e){return Qi(e)&&$s(e)==Ue},r.isWeakSet=function(e){return Qi(e)&&yr(e)==Ke},r.join=function(e,t){return null==e?"":bs.call(e,t)},r.kebabCase=bc,r.last=Ti,r.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n;return r!==D&&(i=(i=so(r))<0?vs(n+i,0):ms(i,n-1)),t==t?function(e,t,r){for(var n=i+1;n--;)if(e[n]===t)return n;return n}(e,t):y(e,m,i,!0)},r.lowerCase=yc,r.lowerFirst=vc,r.lt=Xa,r.lte=Za,r.max=function(e){return e&&e.length?$t(e,Eo,vr):D},r.maxBy=function(e,t){return e&&e.length?$t(e,ri(t,2),vr):D},r.mean=function(e){return g(e,Eo)},r.meanBy=function(e,t){return g(e,ri(t,2))},r.min=function(e){return e&&e.length?$t(e,Eo,Hr):D},r.minBy=function(e,t){return e&&e.length?$t(e,ri(t,2),Hr):D},r.stubArray=Io,r.stubFalse=To,r.stubObject=function(){return{}},r.stubString=function(){return""},r.stubTrue=function(){return!0},r.multiply=Nc,r.nth=function(e,t){return e&&e.length?Vr(e,so(t)):D},r.noConflict=function(){return mr._===this&&(mr._=Yo),this},r.noop=Ao,r.now=Pa,r.pad=function(e,t,r){e=uo(e);var n=(t=so(t))?j(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return Kn(hs(i),r)+e+Kn(us(i),r)},r.padEnd=function(e,t,r){e=uo(e);var n=(t=so(t))?j(e):0;return t&&n<t?e+Kn(t-n,r):e},r.padStart=function(e,t,r){e=uo(e);var n=(t=so(t))?j(e):0;return t&&n<t?Kn(t-n,r)+e:e},r.parseInt=function(e,t,r){return r||null==t?t=0:t&&(t=+t),ws(uo(e).replace(bt,""),t||0)},r.random=function(e,t,r){if(r&&"boolean"!=typeof r&&ui(e,t,r)&&(t=r=D),r===D&&("boolean"==typeof t?(r=t,t=D):"boolean"==typeof e&&(r=e,e=D)),e===D&&t===D?(e=0,t=1):(e=oo(e),t===D?(t=e,e=0):t=oo(t)),e>t){var n=e;e=t,t=n}if(r||e%1||t%1){var i=_s();return ms(e+i*(t-e+pr("1e-"+((i+"").length-1))),t)}return Zr(e,t)},r.reduce=function(e,t,r){var n=za(e)?d:E,i=arguments.length<3;return n(e,ri(t,4),r,i,Ks)},r.reduceRight=function(e,t,r){var n=za(e)?function(e,t,r,n){var i=null==e?0:e.length;for(n&&i&&(r=e[--i]);i--;)r=t(r,e[i],i,e);return r}:E,i=arguments.length<3;return n(e,ri(t,4),r,i,Hs)},r.repeat=function(e,t,r){return t=(r?ui(e,t,r):t===D)?1:so(t),$r(uo(e),t)},r.replace=function(){var e=arguments,t=uo(e[0]);return e.length<3?t:t.replace(e[1],e[2])},r.result=function(e,t,r){var n=-1,i=(t=vn(t,e)).length;for(i||(i=1,e=D);++n<i;){var o=null==e?D:e[_i(t[n])];o===D&&(n=i,o=r),e=Ji(o)?o.call(e):o}return e},r.round=Dc,r.runInContext=e,r.sample=function(e){return(za(e)?Kt:function(e){return Kt(vo(e))})(e)},r.size=function(e){if(null==e)return 0;if(Vi(e))return ro(e)?j(e):e.length;var t=$s(e);return t==Be||t==Le?e.size:Ur(e).length},r.snakeCase=mc,r.some=function(e,t,r){var n=za(e)?p:function(e,t){var r;return Ks(e,function(e,n,i){return!(r=t(e,n,i))}),!!r};return r&&ui(e,t,r)&&(t=D),n(e,ri(t,3))},r.sortedIndex=function(e,t){return rn(e,t)},r.sortedIndexBy=function(e,t,r){return nn(e,t,ri(r,2))},r.sortedIndexOf=function(e,t){var r=null==e?0:e.length;if(r){var n=rn(e,t);if(n<r&&Wi(e[n],t))return n}return-1},r.sortedLastIndex=function(e,t){return rn(e,t,!0)},r.sortedLastIndexBy=function(e,t,r){return nn(e,t,ri(r,2),!0)},r.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var r=rn(e,t,!0)-1;if(Wi(e[r],t))return r}return-1},r.startCase=gc,r.startsWith=function(e,t,r){return e=uo(e),r=null==r?0:Gt(so(r),0,e.length),t=an(t),e.slice(r,r+t.length)==t},r.subtract=Uc,r.sum=function(e){return e&&e.length?S(e,Eo):0},r.sumBy=function(e,t){return e&&e.length?S(e,ri(t,2)):0},r.template=function(e,t,n){var i=r.templateSettings;n&&ui(e,t,n)&&(t=D),e=uo(e),t=ec({},t,i,Gn);var o,s,a=ec({},t.imports,i.imports,Gn),c=po(a),f=x(a,c),u=0,h=t.interpolate||Pt,l="__p += '",d=Lo((t.escape||Pt).source+"|"+h.source+"|"+(h===at?Et:Pt).source+"|"+(t.evaluate||Pt).source+"|$","g"),p="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++ur+"]")+"\n";e.replace(d,function(t,r,n,i,a,c){return n||(n=i),l+=e.slice(u,c).replace(Mt,P),r&&(o=!0,l+="' +\n__e("+r+") +\n'"),a&&(s=!0,l+="';\n"+a+";\n__p += '"),n&&(l+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=c+t.length,t}),l+="';\n";var b=t.variable;b||(l="with (obj) {\n"+l+"\n}\n"),l=(s?l.replace($e,""):l).replace(Qe,"$1").replace(et,"$1;"),l="function("+(b||"obj")+") {\n"+(b?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+l+"return __p\n}";var y=Ec(function(){return Co(c,p+"return "+l).apply(D,f)});if(y.source=l,Yi(y))throw y;return y},r.times=function(e,t){if((e=so(e))<1||e>de)return[];var r=ye,n=ms(e,ye);t=ri(t),e-=ye;for(var i=k(n,t);++r<e;)t(r);return i},r.toFinite=oo,r.toInteger=so,r.toLength=ao,r.toLower=function(e){return uo(e).toLowerCase()},r.toNumber=co,r.toSafeInteger=function(e){return e?Gt(so(e),-de,de):0===e?e:0},r.toString=uo,r.toUpper=function(e){return uo(e).toUpperCase()},r.trim=function(e,t,r){if((e=uo(e))&&(r||t===D))return e.replace(pt,"");if(!e||!(t=an(t)))return e;var n=N(e),i=N(t);return mn(n,T(n,i),B(n,i)+1).join("")},r.trimEnd=function(e,t,r){if((e=uo(e))&&(r||t===D))return e.replace(yt,"");if(!e||!(t=an(t)))return e;var n=N(e);return mn(n,0,B(n,N(t))+1).join("")},r.trimStart=function(e,t,r){if((e=uo(e))&&(r||t===D))return e.replace(bt,"");if(!e||!(t=an(t)))return e;var n=N(e);return mn(n,T(n,N(t))).join("")},r.truncate=function(e,t){var r=se,n=ae;if($i(t)){var i="separator"in t?t.separator:i;r="length"in t?so(t.length):r,n="omission"in t?an(t.omission):n}var o=(e=uo(e)).length;if(M(e)){var s=N(e);o=s.length}if(r>=o)return e;var a=r-j(n);if(a<1)return n;var c=s?mn(s,0,a).join(""):e.slice(0,a);if(i===D)return c+n;if(s&&(a+=c.length-a),Ga(i)){if(e.slice(a).search(i)){var f,u=c;for(i.global||(i=Lo(i.source,uo(St.exec(i))+"g")),i.lastIndex=0;f=i.exec(u);)var h=f.index;c=c.slice(0,h===D?a:h)}}else if(e.indexOf(an(i),a)!=a){var l=c.lastIndexOf(i);l>-1&&(c=c.slice(0,l))}return c+n},r.unescape=function(e){return(e=uo(e))&&nt.test(e)?e.replace(tt,Rr):e},r.uniqueId=function(e){var t=++Fo;return uo(e)+t},r.upperCase=wc,r.upperFirst=_c,r.each=Li,r.eachRight=ji,r.first=Ii,ko(r,function(){var e={};return tr(r,function(t,n){qo.call(r.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),r.VERSION="4.17.4",s(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){r[e].placeholder=r}),s(["drop","take"],function(e,t){Rt.prototype[e]=function(r){r=r===D?1:vs(so(r),0);var n=this.__filtered__&&!t?new Rt(this):this.clone();return n.__filtered__?n.__takeCount__=ms(r,n.__takeCount__):n.__views__.push({size:ms(r,ye),type:e+(n.__dir__<0?"Right":"")}),n},Rt.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),s(["filter","map","takeWhile"],function(e,t){var r=t+1,n=r==ue||3==r;Rt.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ri(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}}),s(["head","last"],function(e,t){var r="take"+(t?"Right":"");Rt.prototype[e]=function(){return this[r](1).value()[0]}}),s(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");Rt.prototype[e]=function(){return this.__filtered__?new Rt(this):this[r](1)}}),Rt.prototype.compact=function(){return this.filter(Eo)},Rt.prototype.find=function(e){return this.filter(e).head()},Rt.prototype.findLast=function(e){return this.reverse().find(e)},Rt.prototype.invokeMap=Qr(function(e,t){return"function"==typeof e?new Rt(this):this.map(function(r){return Sr(r,e,t)})}),Rt.prototype.reject=function(e){return this.filter(Fi(ri(e)))},Rt.prototype.slice=function(e,t){e=so(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Rt(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==D&&(r=(t=so(t))<0?r.dropRight(-t):r.take(t-e)),r)},Rt.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Rt.prototype.toArray=function(){return this.take(ye)},tr(Rt.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=r[i?"take"+("last"==t?"Right":""):t],s=i||/^find/.test(t);o&&(r.prototype[t]=function(){var t=this.__wrapped__,a=i?[1]:arguments,c=t instanceof Rt,f=a[0],u=c||za(t),h=function(e){var t=o.apply(r,l([e],a));return i&&d?t[0]:t};u&&n&&"function"==typeof f&&1!=f.length&&(c=u=!1);var d=this.__chain__,p=!!this.__actions__.length,b=s&&!d,y=c&&!p;if(!s&&u){t=y?t:new Rt(this);var v=e.apply(t,a);return v.__actions__.push({func:Oi,args:[h],thisArg:D}),new Ct(v,d)}return b&&y?e.apply(this,a):(v=this.thru(h),b?i?v.value()[0]:v.value():v)})}),s(["pop","push","shift","sort","splice","unshift"],function(e){var t=Do[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);r.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(za(r)?r:[],e)}return this[n](function(r){return t.apply(za(r)?r:[],e)})}}),tr(Rt.prototype,function(e,t){var n=r[t];if(n){var i=n.name+"";(Ps[i]||(Ps[i]=[])).push({name:t,func:n})}}),Ps[jn(D,Z).name]=[{name:"wrapper",func:D}],Rt.prototype.clone=function(){var e=new Rt(this.__wrapped__);return e.__actions__=An(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=An(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=An(this.__views__),e},Rt.prototype.reverse=function(){if(this.__filtered__){var e=new Rt(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Rt.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=za(e),n=t<0,i=r?e.length:0,o=function(e,t,r){for(var n=-1,i=r.length;++n<i;){var o=r[n],s=o.size;switch(o.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=ms(t,e+s);break;case"takeRight":e=vs(e,t-s)}}return{start:e,end:t}}(0,i,this.__views__),s=o.start,a=o.end,c=a-s,f=n?a:s-1,u=this.__iteratees__,h=u.length,l=0,d=ms(c,this.__takeCount__);if(!r||!n&&i==c&&d==c)return ln(e,this.__actions__);var p=[];e:for(;c--&&l<d;){for(var b=-1,y=e[f+=t];++b<h;){var v=u[b],m=v.iteratee,g=v.type,w=m(y);if(g==he)y=w;else if(!w){if(g==ue)continue e;break e}}p[l++]=y}return p},r.prototype.at=_a,r.prototype.chain=function(){return Ri(this)},r.prototype.commit=function(){return new Ct(this.value(),this.__chain__)},r.prototype.next=function(){this.__values__===D&&(this.__values__=io(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?D:this.__values__[this.__index__++]}},r.prototype.plant=function(e){for(var t,r=this;r instanceof _;){var n=Si(r);n.__index__=0,n.__values__=D,t?i.__wrapped__=n:t=n;var i=n;r=r.__wrapped__}return i.__wrapped__=e,t},r.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Rt){var t=e;return this.__actions__.length&&(t=new Rt(this)),(t=t.reverse()).__actions__.push({func:Oi,args:[Pi],thisArg:D}),new Ct(t,this.__chain__)}return this.thru(Pi)},r.prototype.toJSON=r.prototype.valueOf=r.prototype.value=function(){return ln(this.__wrapped__,this.__actions__)},r.prototype.first=r.prototype.head,is&&(r.prototype[is]=function(){return this}),r}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(mr._=Or,define(function(){return Or})):wr?((wr.exports=Or)._=Or,gr._=Or):mr._=Or}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],252:[function(e,t,r){(function(Buffer){"use strict";function r(){f.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function n(e,t){return e<<t|e>>>32-t}function i(e,t,r,i,o,s,a){return n(e+(t&r|~t&i)+o+s|0,a)+t|0}function o(e,t,r,i,o,s,a){return n(e+(t&i|r&~i)+o+s|0,a)+t|0}function s(e,t,r,i,o,s,a){return n(e+(t^r^i)+o+s|0,a)+t|0}function a(e,t,r,i,o,s,a){return n(e+(r^(t|~i))+o+s|0,a)+t|0}var c=e("inherits"),f=e("hash-base"),u=new Array(16);c(r,f),r.prototype._update=function(){for(var e=u,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,c=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=i(n=i(n=i(n=i(n,c=i(c,f=i(f,r=i(r,n,c,f,e[0],3614090360,7),n,c,e[1],3905402710,12),r,n,e[2],606105819,17),f,r,e[3],3250441966,22),c=i(c,f=i(f,r=i(r,n,c,f,e[4],4118548399,7),n,c,e[5],1200080426,12),r,n,e[6],2821735955,17),f,r,e[7],4249261313,22),c=i(c,f=i(f,r=i(r,n,c,f,e[8],1770035416,7),n,c,e[9],2336552879,12),r,n,e[10],4294925233,17),f,r,e[11],2304563134,22),c=i(c,f=i(f,r=i(r,n,c,f,e[12],1804603682,7),n,c,e[13],4254626195,12),r,n,e[14],2792965006,17),f,r,e[15],1236535329,22),c=o(c,f=o(f,r=o(r,n,c,f,e[1],4129170786,5),n,c,e[6],3225465664,9),r,n,e[11],643717713,14),f,r,e[0],3921069994,20),c=o(c,f=o(f,r=o(r,n,c,f,e[5],3593408605,5),n,c,e[10],38016083,9),r,n,e[15],3634488961,14),f,r,e[4],3889429448,20),c=o(c,f=o(f,r=o(r,n,c,f,e[9],568446438,5),n,c,e[14],3275163606,9),r,n,e[3],4107603335,14),f,r,e[8],1163531501,20),c=o(c,f=o(f,r=o(r,n,c,f,e[13],2850285829,5),n,c,e[2],4243563512,9),r,n,e[7],1735328473,14),f,r,e[12],2368359562,20),c=s(c,f=s(f,r=s(r,n,c,f,e[5],4294588738,4),n,c,e[8],2272392833,11),r,n,e[11],1839030562,16),f,r,e[14],4259657740,23),c=s(c,f=s(f,r=s(r,n,c,f,e[1],2763975236,4),n,c,e[4],1272893353,11),r,n,e[7],4139469664,16),f,r,e[10],3200236656,23),c=s(c,f=s(f,r=s(r,n,c,f,e[13],681279174,4),n,c,e[0],3936430074,11),r,n,e[3],3572445317,16),f,r,e[6],76029189,23),c=s(c,f=s(f,r=s(r,n,c,f,e[9],3654602809,4),n,c,e[12],3873151461,11),r,n,e[15],530742520,16),f,r,e[2],3299628645,23),c=a(c,f=a(f,r=a(r,n,c,f,e[0],4096336452,6),n,c,e[7],1126891415,10),r,n,e[14],2878612391,15),f,r,e[5],4237533241,21),c=a(c,f=a(f,r=a(r,n,c,f,e[12],1700485571,6),n,c,e[3],2399980690,10),r,n,e[10],4293915773,15),f,r,e[1],2240044497,21),c=a(c,f=a(f,r=a(r,n,c,f,e[8],1873313359,6),n,c,e[15],4264355552,10),r,n,e[6],2734768916,15),f,r,e[13],1309151649,21),c=a(c,f=a(f,r=a(r,n,c,f,e[4],4149444226,6),n,c,e[11],3174756917,10),r,n,e[2],718787259,15),f,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+c|0,this._d=this._d+f|0},r.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new Buffer(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},t.exports=r}).call(this,e("buffer").Buffer)},{buffer:105,"hash-base":253,inherits:248}],253:[function(e,t,r){"use strict";function n(e){i.call(this),this._block=Buffer.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}var Buffer=e("safe-buffer").Buffer,i=e("stream").Transform;e("inherits")(n,i),n.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},n.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},n.prototype.update=function(e,t){if(function(e,t){if(!Buffer.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");Buffer.isBuffer(e)||(e=Buffer.from(e,t));for(var r=this._block,n=0;this._blockOffset+e.length-n>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)r[i++]=e[n++];this._update(),this._blockOffset=0}for(;n<e.length;)r[this._blockOffset++]=e[n++];for(var o=0,s=8*e.length;s>0;++o)this._length[o]+=s,(s=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*s);return this},n.prototype._update=function(){throw new Error("_update is not implemented")},n.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},n.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=n},{inherits:248,"safe-buffer":313,stream:346}],254:[function(e,t,r){(function(Buffer){t.exports=function(e,t){if(!Array.isArray(e))throw TypeError("Expected values Array");if("function"!=typeof t)throw TypeError("Expected digest Function");for(var r=e.length,n=e.concat();r>1;){for(var i=0,o=0;o<r;o+=2,++i){var s=n[o],a=o+1===r?s:n[o+1],c=Buffer.concat([s,a]);n[i]=t(c)}r=i}return n[0]}}).call(this,e("buffer").Buffer)},{buffer:105}],255:[function(e,t,r){function n(e){this.rand=e||new o.Rand}var i=e("bn.js"),o=e("brorand");t.exports=n,n.create=function(e){return new n(e)},n.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var n=new i(this.rand.generate(r))}while(n.cmp(e)>=0);return n},n.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},n.prototype.test=function(e,t,r){var n=e.bitLength(),o=i.mont(e),s=new i(1).toRed(o);t||(t=Math.max(1,n/48|0));for(var a=e.subn(1),c=0;!a.testn(c);c++);for(var f=e.shrn(c),u=a.toRed(o);t>0;t--){var h=this._randrange(new i(2),a);r&&r(h);var l=h.toRed(o).redPow(f);if(0!==l.cmp(s)&&0!==l.cmp(u)){for(var d=1;d<c;d++){if(0===(l=l.redSqr()).cmp(s))return!1;if(0===l.cmp(u))break}if(d===c)return!1}}return!0},n.prototype.getDivisor=function(e,t){var r=e.bitLength(),n=i.mont(e),o=new i(1).toRed(n);t||(t=Math.max(1,r/48|0));for(var s=e.subn(1),a=0;!s.testn(a);a++);for(var c=e.shrn(a),f=s.toRed(n);t>0;t--){var u=this._randrange(new i(2),s),h=e.gcd(u);if(0!==h.cmpn(1))return h;var l=u.toRed(n).redPow(c);if(0!==l.cmp(o)&&0!==l.cmp(f)){for(var d=1;d<a;d++){if(0===(l=l.redSqr()).cmp(o))return l.fromRed().subn(1).gcd(e);if(0===l.cmp(f))break}if(d===a)return(l=l.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},{"bn.js":256,brorand:76}],256:[function(e,t,r){arguments[4][113][0].apply(r,arguments)},{buffer:77,dup:113}],257:[function(e,t,r){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}t.exports=n,n.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},{}],258:[function(e,t,r){"use strict";function n(e){return 1===e.length?"0"+e:e}function i(e){for(var t="",r=0;r<e.length;r++)t+=n(e[r].toString(16));return t}var o=r;o.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!=typeof e){for(n=0;n<e.length;n++)r[n]=0|e[n];return r}if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16));else for(var n=0;n<e.length;n++){var i=e.charCodeAt(n),o=i>>8,s=255&i;o?r.push(o,s):r.push(s)}return r},o.zero2=n,o.toHex=i,o.encode=function(e,t){return"hex"===t?i(e):e}},{}],259:[function(e,t,r){r.pbkdf2=e("./lib/async"),r.pbkdf2Sync=e("./lib/sync")},{"./lib/async":260,"./lib/sync":263}],260:[function(e,t,r){(function(r,n){function i(e,t,r,n,i){return f.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return f.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)}).then(function(e){return Buffer.from(e)})}var o,s=e("./precondition"),a=e("./default-encoding"),c=e("./sync"),Buffer=e("safe-buffer").Buffer,f=n.crypto&&n.crypto.subtle,u={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];t.exports=function(e,t,l,d,p,b){if(Buffer.isBuffer(e)||(e=Buffer.from(e,a)),Buffer.isBuffer(t)||(t=Buffer.from(t,a)),s(l,d),"function"==typeof p&&(b=p,p=void 0),"function"!=typeof b)throw new Error("No callback provided to pbkdf2");var y=u[(p=p||"sha1").toLowerCase()];if(!y||"function"!=typeof n.Promise)return r.nextTick(function(){var r;try{r=c(e,t,l,d,p)}catch(e){return b(e)}b(null,r)});!function(e,t){e.then(function(e){r.nextTick(function(){t(null,e)})},function(e){r.nextTick(function(){t(e)})})}(function(e){if(n.process&&!n.process.browser)return Promise.resolve(!1);if(!f||!f.importKey||!f.deriveBits)return Promise.resolve(!1);if(void 0!==h[e])return h[e];var t=i(o=o||Buffer.alloc(8),o,10,128,e).then(function(){return!0}).catch(function(){return!1});return h[e]=t,t}(y).then(function(r){return r?i(e,t,l,d,y):c(e,t,l,d,p)}),b)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./default-encoding":261,"./precondition":262,"./sync":263,_process:265,"safe-buffer":313}],261:[function(e,t,r){(function(e){var r;if(e.browser)r="utf-8";else{r=parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}t.exports=r}).call(this,e("_process"))},{_process:265}],262:[function(e,t,r){var n=Math.pow(2,30)-1;t.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>n||t!=t)throw new TypeError("Bad key length")}},{}],263:[function(e,t,r){function n(e,t,r){var n=function(e){return"rmd160"===e||"ripemd160"===e?o:"md5"===e?i:function(t){return s(e).update(t).digest()}}(e),a="sha512"===e||"sha384"===e?128:64;t.length>a?t=n(t):t.length<a&&(t=Buffer.concat([t,f],a));for(var c=Buffer.allocUnsafe(a+u[e]),h=Buffer.allocUnsafe(a+u[e]),l=0;l<a;l++)c[l]=54^t[l],h[l]=92^t[l];var d=Buffer.allocUnsafe(a+r+4);c.copy(d,0,0,a),this.ipad1=d,this.ipad2=c,this.opad=h,this.alg=e,this.blocksize=a,this.hash=n,this.size=u[e]}var i=e("create-hash/md5"),o=e("ripemd160"),s=e("sha.js"),a=e("./precondition"),c=e("./default-encoding"),Buffer=e("safe-buffer").Buffer,f=Buffer.alloc(128),u={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};n.prototype.run=function(e,t){e.copy(t,this.blocksize);return this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(e,t,r,i,o){Buffer.isBuffer(e)||(e=Buffer.from(e,c)),Buffer.isBuffer(t)||(t=Buffer.from(t,c)),a(r,i);var s=new n(o=o||"sha1",e,t.length),f=Buffer.allocUnsafe(i),h=Buffer.allocUnsafe(t.length+4);t.copy(h,0,0,t.length);for(var l=0,d=u[o],p=Math.ceil(i/d),b=1;b<=p;b++){h.writeUInt32BE(b,t.length);for(var y=s.run(h,s.ipad1),v=y,m=1;m<r;m++){v=s.run(v,s.ipad2);for(var g=0;g<d;g++)y[g]^=v[g]}y.copy(f,l),l+=d}return f}},{"./default-encoding":261,"./precondition":262,"create-hash/md5":132,ripemd160:312,"safe-buffer":313,"sha.js":338}],264:[function(e,t,r){(function(e){"use strict";!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports=function(t,r,n,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,r)});case 3:return e.nextTick(function(){t.call(null,r,n)});case 4:return e.nextTick(function(){t.call(null,r,n,i)});default:for(o=new Array(a-1),s=0;s<o.length;)o[s++]=arguments[s];return e.nextTick(function(){t.apply(null,o)})}}:t.exports=e.nextTick}).call(this,e("_process"))},{_process:265}],265:[function(e,t,r){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function s(){b&&d&&(b=!1,d.length?p=d.concat(p):y=-1,p.length&&a())}function a(){if(!b){var e=o(s);b=!0;for(var t=p.length;t;){for(d=p,p=[];++y<t;)d&&d[y].run();y=-1,t=p.length}d=null,b=!1,function(e){if(h===clearTimeout)return clearTimeout(e);if((h===i||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(e);try{h(e)}catch(t){try{return h.call(null,e)}catch(t){return h.call(this,e)}}}(e)}}function c(e,t){this.fun=e,this.array=t}function f(){}var u,h,l=t.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(e){u=n}try{h="function"==typeof clearTimeout?clearTimeout:i}catch(e){h=i}}();var d,p=[],b=!1,y=-1;l.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];p.push(new c(e,t)),1!==p.length||b||o(a)},c.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(e){return[]},l.binding=function(e){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(e){throw new Error("process.chdir is not supported")},l.umask=function(){return 0}},{}],266:[function(e,t,r){r.publicEncrypt=e("./publicEncrypt"),r.privateDecrypt=e("./privateDecrypt"),r.privateEncrypt=function(e,t){return r.publicEncrypt(e,t,!0)},r.publicDecrypt=function(e,t){return r.privateDecrypt(e,t,!0)}},{"./privateDecrypt":289,"./publicEncrypt":290}],267:[function(e,t,r){(function(Buffer){var r=e("create-hash");t.exports=function(e,t){for(var n,i=new Buffer(""),o=0;i.length<t;)n=function(e){var t=new Buffer(4);return t.writeUInt32BE(e,0),t}(o++),i=Buffer.concat([i,r("sha1").update(e).update(n).digest()]);return i.slice(0,t)}}).call(this,e("buffer").Buffer)},{buffer:105,"create-hash":130}],268:[function(e,t,r){arguments[4][136][0].apply(r,arguments)},{"./asn1/api":269,"./asn1/base":271,"./asn1/constants":275,"./asn1/decoders":277,"./asn1/encoders":280,"bn.js":282,dup:136}],269:[function(e,t,r){arguments[4][137][0].apply(r,arguments)},{"../asn1":268,dup:137,inherits:248,vm:364}],270:[function(e,t,r){arguments[4][138][0].apply(r,arguments)},{"../base":271,buffer:105,dup:138,inherits:248}],271:[function(e,t,r){arguments[4][139][0].apply(r,arguments)},{"./buffer":270,"./node":272,"./reporter":273,dup:139}],272:[function(e,t,r){arguments[4][140][0].apply(r,arguments)},{"../base":271,dup:140,"minimalistic-assert":257}],273:[function(e,t,r){arguments[4][141][0].apply(r,arguments)},{dup:141,inherits:248}],274:[function(e,t,r){arguments[4][142][0].apply(r,arguments)},{"../constants":275,dup:142}],275:[function(e,t,r){arguments[4][143][0].apply(r,arguments)},{"./der":274,dup:143}],276:[function(e,t,r){arguments[4][144][0].apply(r,arguments)},{"../../asn1":268,dup:144,inherits:248}],277:[function(e,t,r){arguments[4][145][0].apply(r,arguments)},{"./der":276,"./pem":278,dup:145}],278:[function(e,t,r){arguments[4][146][0].apply(r,arguments)},{"./der":276,buffer:105,dup:146,inherits:248}],279:[function(e,t,r){arguments[4][147][0].apply(r,arguments)},{"../../asn1":268,buffer:105,dup:147,inherits:248}],280:[function(e,t,r){arguments[4][148][0].apply(r,arguments)},{"./der":279,"./pem":281,dup:148}],281:[function(e,t,r){arguments[4][149][0].apply(r,arguments)},{"./der":279,dup:149,inherits:248}],282:[function(e,t,r){arguments[4][113][0].apply(r,arguments)},{buffer:77,dup:113}],283:[function(e,t,r){arguments[4][151][0].apply(r,arguments)},{"bn.js":282,buffer:105,dup:151,randombytes:299}],284:[function(e,t,r){arguments[4][174][0].apply(r,arguments)},{dup:174}],285:[function(e,t,r){arguments[4][175][0].apply(r,arguments)},{"./certificate":286,"asn1.js":268,dup:175}],286:[function(e,t,r){arguments[4][176][0].apply(r,arguments)},{"asn1.js":268,dup:176}],287:[function(e,t,r){arguments[4][177][0].apply(r,arguments)},{"browserify-aes":80,buffer:105,dup:177,evp_bytestokey:231}],288:[function(e,t,r){arguments[4][178][0].apply(r,arguments)},{"./aesid.json":284,"./asn1":285,"./fixProc":287,"browserify-aes":80,buffer:105,dup:178,pbkdf2:259}],289:[function(e,t,r){(function(Buffer){function r(e,t){e.modulus;var r=e.modulus.byteLength(),n=(t.length,c("sha1").update(new Buffer("")).digest()),s=n.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,s+1),f=t.slice(s+1),u=o(a,i(f,s)),h=o(f,i(u,r-s-1));if(function(e,t){e=new Buffer(e),t=new Buffer(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var i=-1;for(;++i<n;)r+=e[i]^t[i];return r}(n,h.slice(0,s)))throw new Error("decryption error");for(var l=s;0===h[l];)l++;if(1!==h[l++])throw new Error("decryption error");return h.slice(l)}var n=e("parse-asn1"),i=e("./mgf"),o=e("./xor"),s=e("bn.js"),a=e("browserify-rsa"),c=e("create-hash"),f=e("./withPublic");t.exports=function(e,t,i){var o;o=e.padding?e.padding:i?1:4;var c=n(e),u=c.modulus.byteLength();if(t.length>u||new s(t).cmp(c.modulus)>=0)throw new Error("decryption error");var h;h=i?f(new s(t),c):a(t,c);var l=new Buffer(u-h.length);if(l.fill(0),h=Buffer.concat([l,h],u),4===o)return r(c,h);if(1===o)return function(e,t,r){for(var n=t.slice(0,2),i=2,o=0;0!==t[i++];)if(i>=t.length){o++;break}var s=t.slice(2,i-1);if(t.slice(i-1,i),("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++,s.length<8&&o++,o)throw new Error("decryption error");return t.slice(i)}(0,h,i);if(3===o)return h;throw new Error("unknown padding")}}).call(this,e("buffer").Buffer)},{"./mgf":267,"./withPublic":291,"./xor":292,"bn.js":282,"browserify-rsa":283,buffer:105,"create-hash":130,"parse-asn1":288}],290:[function(e,t,r){(function(Buffer){function r(e,t,r){var n=t.length,o=e.modulus.byteLength();if(n>o-11)throw new Error("message too long");var s;return r?(s=new Buffer(o-n-3)).fill(255):s=function(e,t){var r,n=new Buffer(e),o=0,s=i(2*e),a=0;for(;o<e;)a===s.length&&(s=i(2*e),a=0),(r=s[a++])&&(n[o++]=r);return n}(o-n-3),new c(Buffer.concat([new Buffer([0,r?1:2]),s,new Buffer([0]),t],o))}var n=e("parse-asn1"),i=e("randombytes"),o=e("create-hash"),s=e("./mgf"),a=e("./xor"),c=e("bn.js"),f=e("./withPublic"),u=e("browserify-rsa");t.exports=function(e,t,h){var l;l=e.padding?e.padding:h?1:4;var d,p=n(e);if(4===l)d=function(e,t){var r=e.modulus.byteLength(),n=t.length,f=o("sha1").update(new Buffer("")).digest(),u=f.length,h=2*u;if(n>r-h-2)throw new Error("message too long");var l=new Buffer(r-n-h-2);l.fill(0);var d=r-u-1,p=i(u),b=a(Buffer.concat([f,l,new Buffer([1]),t],d),s(p,d)),y=a(p,s(b,u));return new c(Buffer.concat([new Buffer([0]),y,b],r))}(p,t);else if(1===l)d=r(p,t,h);else{if(3!==l)throw new Error("unknown padding");if((d=new c(t)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return h?u(d,p):f(d,p)}}).call(this,e("buffer").Buffer)},{"./mgf":267,"./withPublic":291,"./xor":292,"bn.js":282,"browserify-rsa":283,buffer:105,"create-hash":130,"parse-asn1":288,randombytes:299}],291:[function(e,t,r){(function(Buffer){var r=e("bn.js");t.exports=function(e,t){return new Buffer(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}}).call(this,e("buffer").Buffer)},{"bn.js":282,buffer:105}],292:[function(e,t,r){t.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}},{}],293:[function(e,t,r){(function(e){!function(n){function i(e){throw new RangeError(M[e])}function o(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function s(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]);return n+o((e=e.replace(P,".")).split("."),t).join(".")}function a(e){for(var t,r,n=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function c(e){return o(e,function(e){var t="";return e>65535&&(t+=O((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=O(e)}).join("")}function f(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function u(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function h(e,t,r){var n=0;for(e=r?R(e/k):e>>1,e+=R(e/t);e>C*E>>1;n+=w)e=R(e/C);return R(n+(C+1)*e/(e+S))}function l(e){var t,r,n,o,s,a,u,l,d,p,b=[],y=e.length,v=0,m=x,S=A;for((r=e.lastIndexOf(I))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&i("not-basic"),b.push(e.charCodeAt(n));for(o=r>0?r+1:0;o<y;){for(s=v,a=1,u=w;o>=y&&i("invalid-input"),((l=f(e.charCodeAt(o++)))>=w||l>R((g-v)/a))&&i("overflow"),v+=l*a,d=u<=S?_:u>=S+E?E:u-S,!(l<d);u+=w)a>R(g/(p=w-d))&&i("overflow"),a*=p;S=h(v-s,t=b.length+1,0==s),R(v/t)>g-m&&i("overflow"),m+=R(v/t),v%=t,b.splice(v++,0,m)}return c(b)}function d(e){var t,r,n,o,s,c,f,l,d,p,b,y,v,m,S,k=[];for(y=(e=a(e)).length,t=x,r=0,s=A,c=0;c<y;++c)(b=e[c])<128&&k.push(O(b));for(n=o=k.length,o&&k.push(I);n<y;){for(f=g,c=0;c<y;++c)(b=e[c])>=t&&b<f&&(f=b);for(f-t>R((g-r)/(v=n+1))&&i("overflow"),r+=(f-t)*v,t=f,c=0;c<y;++c)if((b=e[c])<t&&++r>g&&i("overflow"),b==t){for(l=r,d=w;p=d<=s?_:d>=s+E?E:d-s,!(l<p);d+=w)S=l-p,m=w-p,k.push(O(u(p+S%m,0))),l=R(S/m);k.push(O(u(l,0))),s=h(r,v,n==o),r=0,++n}++r,++t}return k.join("")}var p="object"==typeof r&&r&&!r.nodeType&&r,b="object"==typeof t&&t&&!t.nodeType&&t,y="object"==typeof e&&e;y.global!==y&&y.window!==y&&y.self!==y||(n=y);var v,m,g=2147483647,w=36,_=1,E=26,S=38,k=700,A=72,x=128,I="-",T=/^xn--/,B=/[^\x20-\x7E]/,P=/[\x2E\u3002\uFF0E\uFF61]/g,M={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C=w-_,R=Math.floor,O=String.fromCharCode;if(v={version:"1.4.1",ucs2:{decode:a,encode:c},decode:l,encode:d,toASCII:function(e){return s(e,function(e){return B.test(e)?"xn--"+d(e):e})},toUnicode:function(e){return s(e,function(e){return T.test(e)?l(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return v});else if(p&&b)if(t.exports==p)b.exports=v;else for(m in v)v.hasOwnProperty(m)&&(p[m]=v[m]);else n.punycode=v}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],294:[function(e,t,r){function n(e){return e<i.OP_PUSHDATA1?1:e<=255?2:e<=65535?3:5}var i=e("bitcoin-ops");t.exports={encodingLength:n,encode:function(e,t,r){var o=n(t);return 1===o?e.writeUInt8(t,r):2===o?(e.writeUInt8(i.OP_PUSHDATA1,r),e.writeUInt8(t,r+1)):3===o?(e.writeUInt8(i.OP_PUSHDATA2,r),e.writeUInt16LE(t,r+1)):(e.writeUInt8(i.OP_PUSHDATA4,r),e.writeUInt32LE(t,r+1)),o},decode:function(e,t){var r,n,o=e.readUInt8(t);if(o<i.OP_PUSHDATA1)r=o,n=1;else if(o===i.OP_PUSHDATA1){if(t+2>e.length)return null;r=e.readUInt8(t+1),n=2}else if(o===i.OP_PUSHDATA2){if(t+3>e.length)return null;r=e.readUInt16LE(t+1),n=3}else{if(t+5>e.length)return null;if(o!==i.OP_PUSHDATA4)throw new Error("Unexpected opcode");r=e.readUInt32LE(t+1),n=5}return{opcode:o,number:r,size:n}}}},{"bitcoin-ops":33}],295:[function(e,t,r){(function(e){!function(e){if("function"==typeof bootstrap)bootstrap("promise",e);else if("object"==typeof r)t.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeQ=e}else Q=e()}(function(){"use strict";function t(e){return function(){return T.apply(e,arguments)}}function r(e){return e===Object(e)}function n(e,t){if(E&&t.stack&&"object"==typeof e&&null!==e&&e.stack&&-1===e.stack.indexOf(N)){for(var r=[],n=t;n;n=n.source)n.stack&&r.unshift(n.stack);r.unshift(e.stack);var o=r.join("\n"+N+"\n");e.stack=function(e){for(var t=e.split("\n"),r=[],n=0;n<t.length;++n){var o=t[n];(function(e){var t=i(e);if(!t)return!1;var r=t[0],n=t[1];return r===S&&n>=A&&n<=H})(o)||function(e){return-1!==e.indexOf("(module.js:")||-1!==e.indexOf("(node.js:")}(o)||!o||r.push(o)}return r.join("\n")}(o)}}function i(e){var t=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(e);if(t)return[t[1],Number(t[2])];var r=/at ([^ ]+):(\d+):(?:\d+)$/.exec(e);if(r)return[r[1],Number(r[2])];var n=/.*@(.+):(\d+)$/.exec(e);return n?[n[1],Number(n[2])]:void 0}function o(){if(E)try{throw new Error}catch(r){var e=r.stack.split("\n"),t=i(e[0].indexOf("@")>0?e[1]:e[2]);if(!t)return;return S=t[0],t[1]}}function s(e){return d(e)?e:p(e)?function(e){var t=a();return I(function(){try{e.then(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}}),t.promise}(e):v(e)}function a(){function e(e){t=e,o.source=e,P(r,function(t,r){I(function(){e.promiseDispatch.apply(e,r)})},void 0),r=void 0,n=void 0}var t,r=[],n=[],i=R(a.prototype),o=R(u.prototype);if(o.promiseDispatch=function(e,i,o){var s=B(arguments);r?(r.push(s),"when"===i&&o[1]&&n.push(o[1])):I(function(){t.promiseDispatch.apply(t,s)})},o.valueOf=function(){if(r)return o;var e=l(t);return d(e)&&(t=e),e},o.inspect=function(){return t?t.inspect():{state:"pending"}},s.longStackSupport&&E)try{throw new Error}catch(e){o.stack=e.stack.substring(e.stack.indexOf("\n")+1)}return i.promise=o,i.resolve=function(r){t||e(s(r))},i.fulfill=function(r){t||e(v(r))},i.reject=function(r){t||e(y(r))},i.notify=function(e){t||P(n,function(t,r){I(function(){r(e)})},void 0)},i}function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function.");var t=a();try{e(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}return t.promise}function f(e){return c(function(t,r){for(var n=0,i=e.length;n<i;n++)s(e[n]).then(t,r)})}function u(e,t,r){void 0===t&&(t=function(e){return y(new Error("Promise does not support operation: "+e))}),void 0===r&&(r=function(){return{state:"unknown"}});var n=R(u.prototype);if(n.promiseDispatch=function(r,i,o){var s;try{s=e[i]?e[i].apply(n,o):t.call(n,i,o)}catch(e){s=y(e)}r&&r(s)},n.inspect=r,r){var i=r();"rejected"===i.state&&(n.exception=i.reason),n.valueOf=function(){var e=r();return"pending"===e.state||"rejected"===e.state?n:e.value}}return n}function h(e,t,r,n){return s(e).then(t,r,n)}function l(e){if(d(e)){var t=e.inspect();if("fulfilled"===t.state)return t.value}return e}function d(e){return r(e)&&"function"==typeof e.promiseDispatch&&"function"==typeof e.inspect}function p(e){return r(e)&&"function"==typeof e.then}function b(){D.length=0,U.length=0,K||(K=!0)}function y(e){var t=u({when:function(t){return t&&function(e){if(K){var t=M(U,e);-1!==t&&(U.splice(t,1),D.splice(t,1))}}(this),t?t(e):this}},function(){return this},function(){return{state:"rejected",reason:e}});return function(e,t){K&&(U.push(e),t&&void 0!==t.stack?D.push(t.stack):D.push("(no stack) "+t))}(t,e),t}function v(e){return u({when:function(){return e},get:function(t){return e[t]},set:function(t,r){e[t]=r},delete:function(t){delete e[t]},post:function(t,r){return null===t||void 0===t?e.apply(void 0,r):e[t].apply(e,r)},apply:function(t,r){return e.apply(t,r)},keys:function(){return L(e)}},void 0,function(){return{state:"fulfilled",value:e}})}function m(e,t,r){return s(e).spread(t,r)}function g(e,t,r){return s(e).dispatch(t,r)}function w(e){return h(e,function(e){var t=0,r=a();return P(e,function(n,i,o){var s;d(i)&&"fulfilled"===(s=i.inspect()).state?e[o]=s.value:(++t,h(i,function(n){e[o]=n,0==--t&&r.resolve(e)},r.reject,function(e){r.notify({index:o,value:e})}))},void 0),0===t&&r.resolve(e),r.promise})}function _(e){return h(e,function(e){return e=C(e,s),h(w(C(e,function(e){return h(e,x,x)})),function(){return e})})}var E=!1;try{throw new Error}catch(e){E=!!e.stack}var S,k,A=o(),x=function(){},I=function(){function t(){for(;r.next;){var e=(r=r.next).task;r.task=void 0;var n=r.domain;n&&(r.domain=void 0,n.enter());try{e()}catch(e){if(s)throw n&&n.exit(),setTimeout(t,0),n&&n.enter(),e;setTimeout(function(){throw e},0)}n&&n.exit()}i=!1}var r={task:void 0,next:null},n=r,i=!1,o=void 0,s=!1;if(I=function(t){n=n.next={task:t,domain:s&&e.domain,next:null},i||(i=!0,o())},void 0!==e&&e.nextTick)s=!0,o=function(){e.nextTick(t)};else if("function"==typeof setImmediate)o="undefined"!=typeof window?setImmediate.bind(window,t):function(){setImmediate(t)};else if("undefined"!=typeof MessageChannel){var a=new MessageChannel;a.port1.onmessage=function(){o=c,a.port1.onmessage=t,t()};var c=function(){a.port2.postMessage(0)};o=function(){setTimeout(t,0),c()}}else o=function(){setTimeout(t,0)};return I}(),T=Function.call,B=t(Array.prototype.slice),P=t(Array.prototype.reduce||function(e,t){var r=0,n=this.length;if(1===arguments.length)for(;;){if(r in this){t=this[r++];break}if(++r>=n)throw new TypeError}for(;r<n;r++)r in this&&(t=e(t,this[r],r));return t}),M=t(Array.prototype.indexOf||function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return t;return-1}),C=t(Array.prototype.map||function(e,t){var r=this,n=[];return P(r,function(i,o,s){n.push(e.call(t,o,s,r))},void 0),n}),R=Object.create||function(e){function t(){}return t.prototype=e,new t},O=t(Object.prototype.hasOwnProperty),L=Object.keys||function(e){var t=[];for(var r in e)O(e,r)&&t.push(r);return t},j=t(Object.prototype.toString);k="undefined"!=typeof ReturnValue?ReturnValue:function(e){this.value=e};var N="From previous event:";s.resolve=s,s.nextTick=I,s.longStackSupport=!1,s.defer=a,a.prototype.makeNodeResolver=function(){var e=this;return function(t,r){t?e.reject(t):arguments.length>2?e.resolve(B(arguments,1)):e.resolve(r)}},s.Promise=c,s.promise=c,c.race=f,c.all=w,c.reject=y,c.resolve=s,s.passByCopy=function(e){return e},u.prototype.passByCopy=function(){return this},s.join=function(e,t){return s(e).join(t)},u.prototype.join=function(e){return s([this,e]).spread(function(e,t){if(e===t)return e;throw new Error("Can't join: not the same: "+e+" "+t)})},s.race=f,u.prototype.race=function(){return this.then(s.race)},s.makePromise=u,u.prototype.toString=function(){return"[object Promise]"},u.prototype.then=function(e,t,r){var i=this,o=a(),c=!1;return I(function(){i.promiseDispatch(function(t){c||(c=!0,o.resolve(function(t){try{return"function"==typeof e?e(t):t}catch(e){return y(e)}}(t)))},"when",[function(e){c||(c=!0,o.resolve(function(e){if("function"==typeof t){n(e,i);try{return t(e)}catch(e){return y(e)}}return y(e)}(e)))}])}),i.promiseDispatch(void 0,"when",[void 0,function(e){var t,n=!1;try{t=function(e){return"function"==typeof r?r(e):e}(e)}catch(e){if(n=!0,!s.onerror)throw e;s.onerror(e)}n||o.notify(t)}]),o.promise},s.when=h,u.prototype.thenResolve=function(e){return this.then(function(){return e})},s.thenResolve=function(e,t){return s(e).thenResolve(t)},u.prototype.thenReject=function(e){return this.then(function(){throw e})},s.thenReject=function(e,t){return s(e).thenReject(t)},s.nearer=l,s.isPromise=d,s.isPromiseAlike=p,s.isPending=function(e){return d(e)&&"pending"===e.inspect().state},u.prototype.isPending=function(){return"pending"===this.inspect().state},s.isFulfilled=function(e){return!d(e)||"fulfilled"===e.inspect().state},u.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},s.isRejected=function(e){return d(e)&&"rejected"===e.inspect().state},u.prototype.isRejected=function(){return"rejected"===this.inspect().state};var D=[],U=[],K=!0;s.resetUnhandledRejections=b,s.getUnhandledReasons=function(){return D.slice()},s.stopUnhandledRejectionTracking=function(){b(),K=!1},b(),s.reject=y,s.fulfill=v,s.master=function(e){return u({isDef:function(){}},function(t,r){return g(e,t,r)},function(){return s(e).inspect()})},s.spread=m,u.prototype.spread=function(e,t){return this.all().then(function(t){return e.apply(void 0,t)},t)},s.async=function(e){return function(){function t(e,t){var o;if("undefined"==typeof StopIteration){try{o=r[e](t)}catch(e){return y(e)}return o.done?o.value:h(o.value,n,i)}try{o=r[e](t)}catch(e){return function(e){return"[object StopIteration]"===j(e)||e instanceof k}(e)?e.value:y(e)}return h(o,n,i)}var r=e.apply(this,arguments),n=t.bind(t,"next"),i=t.bind(t,"throw");return n()}},s.spawn=function(e){s.done(s.async(e)())},s.return=function(e){throw new k(e)},s.promised=function(e){return function(){return m([this,w(arguments)],function(t,r){return e.apply(t,r)})}},s.dispatch=g,u.prototype.dispatch=function(e,t){var r=this,n=a();return I(function(){r.promiseDispatch(n.resolve,e,t)}),n.promise},s.get=function(e,t){return s(e).dispatch("get",[t])},u.prototype.get=function(e){return this.dispatch("get",[e])},s.set=function(e,t,r){return s(e).dispatch("set",[t,r])},u.prototype.set=function(e,t){return this.dispatch("set",[e,t])},s.del=s.delete=function(e,t){return s(e).dispatch("delete",[t])},u.prototype.del=u.prototype.delete=function(e){return this.dispatch("delete",[e])},s.mapply=s.post=function(e,t,r){return s(e).dispatch("post",[t,r])},u.prototype.mapply=u.prototype.post=function(e,t){return this.dispatch("post",[e,t])},s.send=s.mcall=s.invoke=function(e,t){return s(e).dispatch("post",[t,B(arguments,2)])},u.prototype.send=u.prototype.mcall=u.prototype.invoke=function(e){return this.dispatch("post",[e,B(arguments,1)])},s.fapply=function(e,t){return s(e).dispatch("apply",[void 0,t])},u.prototype.fapply=function(e){return this.dispatch("apply",[void 0,e])},s.try=s.fcall=function(e){return s(e).dispatch("apply",[void 0,B(arguments,1)])},u.prototype.fcall=function(){return this.dispatch("apply",[void 0,B(arguments)])},s.fbind=function(e){var t=s(e),r=B(arguments,1);return function(){return t.dispatch("apply",[this,r.concat(B(arguments))])}},u.prototype.fbind=function(){var e=this,t=B(arguments);return function(){return e.dispatch("apply",[this,t.concat(B(arguments))])}},s.keys=function(e){return s(e).dispatch("keys",[])},u.prototype.keys=function(){return this.dispatch("keys",[])},s.all=w,u.prototype.all=function(){return w(this)},s.allResolved=function(e,t,r){return function(){return"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(t+" is deprecated, use "+r+" instead.",new Error("").stack),e.apply(e,arguments)}}(_,"allResolved","allSettled"),u.prototype.allResolved=function(){return _(this)},s.allSettled=function(e){return s(e).allSettled()},u.prototype.allSettled=function(){return this.then(function(e){return w(C(e,function(e){function t(){return e.inspect()}return(e=s(e)).then(t,t)}))})},s.fail=s.catch=function(e,t){return s(e).then(void 0,t)},u.prototype.fail=u.prototype.catch=function(e){return this.then(void 0,e)},s.progress=function(e,t){return s(e).then(void 0,void 0,t)},u.prototype.progress=function(e){return this.then(void 0,void 0,e)},s.fin=s.finally=function(e,t){return s(e).finally(t)},u.prototype.fin=u.prototype.finally=function(e){return e=s(e),this.then(function(t){return e.fcall().then(function(){return t})},function(t){return e.fcall().then(function(){throw t})})},s.done=function(e,t,r,n){return s(e).done(t,r,n)},u.prototype.done=function(t,r,i){var o=function(e){I(function(){if(n(e,a),!s.onerror)throw e;s.onerror(e)})},a=t||r||i?this.then(t,r,i):this;"object"==typeof e&&e&&e.domain&&(o=e.domain.bind(o)),a.then(void 0,o)},s.timeout=function(e,t,r){return s(e).timeout(t,r)},u.prototype.timeout=function(e,t){var r=a(),n=setTimeout(function(){r.reject(new Error(t||"Timed out after "+e+" ms"))},e);return this.then(function(e){clearTimeout(n),r.resolve(e)},function(e){clearTimeout(n),r.reject(e)},r.notify),r.promise},s.delay=function(e,t){return void 0===t&&(t=e,e=void 0),s(e).delay(t)},u.prototype.delay=function(e){return this.then(function(t){var r=a();return setTimeout(function(){r.resolve(t)},e),r.promise})},s.nfapply=function(e,t){return s(e).nfapply(t)},u.prototype.nfapply=function(e){var t=a(),r=B(e);return r.push(t.makeNodeResolver()),this.fapply(r).fail(t.reject),t.promise},s.nfcall=function(e){var t=B(arguments,1);return s(e).nfapply(t)},u.prototype.nfcall=function(){var e=B(arguments),t=a();return e.push(t.makeNodeResolver()),this.fapply(e).fail(t.reject),t.promise},s.nfbind=s.denodeify=function(e){var t=B(arguments,1);return function(){var r=t.concat(B(arguments)),n=a();return r.push(n.makeNodeResolver()),s(e).fapply(r).fail(n.reject),n.promise}},u.prototype.nfbind=u.prototype.denodeify=function(){var e=B(arguments);return e.unshift(this),s.denodeify.apply(void 0,e)},s.nbind=function(e,t){var r=B(arguments,2);return function(){var n=r.concat(B(arguments)),i=a();return n.push(i.makeNodeResolver()),s(function(){return e.apply(t,arguments)}).fapply(n).fail(i.reject),i.promise}},u.prototype.nbind=function(){var e=B(arguments,0);return e.unshift(this),s.nbind.apply(void 0,e)},s.nmapply=s.npost=function(e,t,r){return s(e).npost(t,r)},u.prototype.nmapply=u.prototype.npost=function(e,t){var r=B(t||[]),n=a();return r.push(n.makeNodeResolver()),this.dispatch("post",[e,r]).fail(n.reject),n.promise},s.nsend=s.nmcall=s.ninvoke=function(e,t){var r=B(arguments,2),n=a();return r.push(n.makeNodeResolver()),s(e).dispatch("post",[t,r]).fail(n.reject),n.promise},u.prototype.nsend=u.prototype.nmcall=u.prototype.ninvoke=function(e){var t=B(arguments,1),r=a();return t.push(r.makeNodeResolver()),this.dispatch("post",[e,t]).fail(r.reject),r.promise},s.nodeify=function(e,t){return s(e).nodeify(t)},u.prototype.nodeify=function(e){if(!e)return this;this.then(function(t){I(function(){e(null,t)})},function(t){I(function(){e(t)})})};var H=o();return s})}).call(this,e("_process"))},{_process:265}],296:[function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,o){t=t||"&",r=r||"=";var s={};if("string"!=typeof e||0===e.length)return s;var a=/\+/g;e=e.split(t);var c=1e3;o&&"number"==typeof o.maxKeys&&(c=o.maxKeys);var f=e.length;c>0&&f>c&&(f=c);for(var u=0;u<f;++u){var h,l,d,p,b=e[u].replace(a,"%20"),y=b.indexOf(r);y>=0?(h=b.substr(0,y),l=b.substr(y+1)):(h=b,l=""),d=decodeURIComponent(h),p=decodeURIComponent(l),n(s,d)?i(s[d])?s[d].push(p):s[d]=[s[d],p]:s[d]=p}return s};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],297:[function(e,t,r){"use strict";function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,r,a){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?n(s(e),function(s){var a=encodeURIComponent(i(s))+r;return o(e[s])?n(e[s],function(e){return a+encodeURIComponent(i(e))}).join(t):a+encodeURIComponent(i(e[s]))}).join(t):a?encodeURIComponent(i(a))+r+encodeURIComponent(i(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},s=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},{}],298:[function(e,t,r){"use strict";r.decode=r.parse=e("./decode"),r.encode=r.stringify=e("./encode")},{"./decode":296,"./encode":297}],299:[function(e,t,r){(function(r,n){"use strict";var Buffer=e("safe-buffer").Buffer,i=n.crypto||n.msCrypto;i&&i.getRandomValues?t.exports=function(e,t){if(e>65536)throw new Error("requested too many random bytes");var o=new n.Uint8Array(e);e>0&&i.getRandomValues(o);var s=Buffer.from(o.buffer);return"function"==typeof t?r.nextTick(function(){t(null,s)}):s}:t.exports=function(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:265,"safe-buffer":313}],300:[function(e,t,r){(function(t,n){"use strict";function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}function o(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>l||e<0)throw new TypeError("offset must be a uint32");if(e>u||e>t)throw new RangeError("offset out of range")}function s(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>l||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>u)throw new RangeError("buffer too small")}function a(e,r,n,i){if(t.browser){var o=e.buffer,s=new Uint8Array(o,r,n);return h.getRandomValues(s),i?void t.nextTick(function(){i(null,e)}):e}{if(!i){return f(n).copy(e,r),e}f(n,function(t,n){if(t)return i(t);n.copy(e,r),i(null,e)})}}var c=e("safe-buffer"),f=e("randombytes"),Buffer=c.Buffer,u=c.kMaxLength,h=n.crypto||n.msCrypto,l=Math.pow(2,32)-1;h&&h.getRandomValues||!t.browser?(r.randomFill=function(e,t,r,i){if(!(Buffer.isBuffer(e)||e instanceof n.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)i=t,t=0,r=e.length;else if("function"==typeof r)i=r,r=e.length-t;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return o(t,e.length),s(r,t,e.length),a(e,t,r,i)},r.randomFillSync=function(e,t,r){if(void 0===t&&(t=0),!(Buffer.isBuffer(e)||e instanceof n.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return o(t,e.length),void 0===r&&(r=e.length-t),s(r,t,e.length),a(e,t,r)}):(r.randomFill=i,r.randomFillSync=i)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:265,randombytes:299,"safe-buffer":313}],301:[function(e,t,r){t.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":302}],302:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);f.call(this,e),u.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",i)}function i(){this.allowHalfOpen||this._writableState.ended||a(o,this)}function o(e){e.end()}var s=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=n;var a=e("process-nextick-args"),c=e("core-util-is");c.inherits=e("inherits");var f=e("./_stream_readable"),u=e("./_stream_writable");c.inherits(n,f);for(var h=s(u.prototype),l=0;l<h.length;l++){var d=h[l];n.prototype[d]||(n.prototype[d]=u.prototype[d])}},{"./_stream_readable":304,"./_stream_writable":306,"core-util-is":111,inherits:248,"process-nextick-args":264}],303:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);i.call(this,e)}t.exports=n;var i=e("./_stream_transform"),o=e("core-util-is");o.inherits=e("inherits"),o.inherits(n,i),n.prototype._transform=function(e,t,r){r(null,e)}},{"./_stream_transform":305,"core-util-is":111,inherits:248}],304:[function(e,t,r){(function(r){"use strict";function n(t,r){k=k||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,r instanceof k&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var n=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:i,this.highWaterMark=~~this.highWaterMark,this.buffer=[],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.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(S||(S=e("string_decoder/").StringDecoder),this.decoder=new S(t.encoding),this.encoding=t.encoding)}function i(t){if(k=k||e("./_stream_duplex"),!(this instanceof i))return new i(t);this._readableState=new n(t,this),this.readable=!0,t&&"function"==typeof t.read&&(this._read=t.read),m.call(this)}function o(e,t,r,n,i){var o=function(e,t){var r=null;Buffer.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));return r}(t,r);if(o)e.emit("error",o);else if(null===r)t.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,a(e)}(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!i){s=new Error("stream.push() after EOF");e.emit("error",s)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var c;!t.decoder||i||n||(r=t.decoder.write(r),c=!t.objectMode&&0===r.length),i||(t.reading=!1),c||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&a(e))),function(e,t){t.readingMore||(t.readingMore=!0,y(f,e,t))}(e,t)}else i||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(t)}function s(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:e<=0?0:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=A?e=A:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function a(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(E("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?y(c,e):c(e))}function c(e){E("emit readable"),e.emit("readable"),l(e)}function f(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(E("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function u(e){E("readable nexttick read 0"),e.read(0)}function h(e,t){t.reading||(E("resume read 0"),e.read(0)),t.resumeScheduled=!1,e.emit("resume"),l(e),t.flowing&&!t.reading&&e.read(0)}function l(e){var t=e._readableState;if(E("flow",t.flowing),t.flowing)do{var r=e.read()}while(null!==r&&t.flowing)}function d(e,t){var r,n=t.buffer,i=t.length,o=!!t.decoder,s=!!t.objectMode;if(0===n.length)return null;if(0===i)r=null;else if(s)r=n.shift();else if(!e||e>=i)r=o?n.join(""):1===n.length?n[0]:Buffer.concat(n,i),n.length=0;else if(e<n[0].length){r=(u=n[0]).slice(0,e),n[0]=u.slice(e)}else if(e===n[0].length)r=n.shift();else{r=o?"":new Buffer(e);for(var a=0,c=0,f=n.length;c<f&&a<e;c++){var u=n[0],h=Math.min(e-a,u.length);o?r+=u.slice(0,h):u.copy(r,a,0,h),h<u.length?n[0]=u.slice(h):n.shift(),a+=h}}return r}function p(e){var t=e._readableState;if(t.length>0)throw new Error("endReadable called on non-empty stream");t.endEmitted||(t.ended=!0,y(b,t,e))}function b(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}t.exports=i;var y=e("process-nextick-args"),v=e("isarray"),Buffer=e("buffer").Buffer;i.ReadableState=n;e("events");var m,g=function(e,t){return e.listeners(t).length};!function(){try{m=e("stream")}catch(e){}finally{m||(m=e("events").EventEmitter)}}();var Buffer=e("buffer").Buffer,w=e("core-util-is");w.inherits=e("inherits");var _=e("util"),E=void 0;E=_&&_.debuglog?_.debuglog("stream"):function(){};var S;w.inherits(i,m);var k;i.prototype.push=function(e,t){var r=this._readableState;return r.objectMode||"string"!=typeof e||(t=t||r.defaultEncoding)!==r.encoding&&(e=new Buffer(e,t),t=""),o(this,r,e,t,!1)},i.prototype.unshift=function(e){return o(this,this._readableState,e,"",!0)},i.prototype.isPaused=function(){return!1===this._readableState.flowing},i.prototype.setEncoding=function(t){return S||(S=e("string_decoder/").StringDecoder),this._readableState.decoder=new S(t),this._readableState.encoding=t,this};var A=8388608;i.prototype.read=function(e){E("read",e);var t=this._readableState,r=e;if(("number"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return E("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?p(this):a(this),null;if(0===(e=s(e,t))&&t.ended)return 0===t.length&&p(this),null;var n=t.needReadable;E("need readable",n),(0===t.length||t.length-e<t.highWaterMark)&&E("length less than watermark",n=!0),(t.ended||t.reading)&&E("reading or ended",n=!1),n&&(E("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),n&&!t.reading&&(e=s(r,t));var i;return null===(i=e>0?d(e,t):null)&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),r!==e&&t.ended&&0===t.length&&p(this),null!==i&&this.emit("data",i),i},i.prototype._read=function(e){this.emit("error",new Error("not implemented"))},i.prototype.pipe=function(e,t){function n(e){E("onunpipe"),e===h&&o()}function i(){E("onend"),e.end()}function o(){E("cleanup"),e.removeListener("close",c),e.removeListener("finish",f),e.removeListener("drain",b),e.removeListener("error",a),e.removeListener("unpipe",n),h.removeListener("end",i),h.removeListener("end",o),h.removeListener("data",s),m=!0,!d.awaitDrain||e._writableState&&!e._writableState.needDrain||b()}function s(t){E("ondata");!1===e.write(t)&&(1!==d.pipesCount||d.pipes[0]!==e||1!==h.listenerCount("data")||m||(E("false write response, pause",h._readableState.awaitDrain),h._readableState.awaitDrain++),h.pause())}function a(t){E("onerror",t),u(),e.removeListener("error",a),0===g(e,"error")&&e.emit("error",t)}function c(){e.removeListener("finish",f),u()}function f(){E("onfinish"),e.removeListener("close",c),u()}function u(){E("unpipe"),h.unpipe(e)}var h=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=e;break;case 1:d.pipes=[d.pipes,e];break;default:d.pipes.push(e)}d.pipesCount+=1,E("pipe count=%d opts=%j",d.pipesCount,t);var p=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?i:o;d.endEmitted?y(p):h.once("end",p),e.on("unpipe",n);var b=function(e){return function(){var t=e._readableState;E("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&g(e,"data")&&(t.flowing=!0,l(e))}}(h);e.on("drain",b);var m=!1;return h.on("data",s),e._events&&e._events.error?v(e._events.error)?e._events.error.unshift(a):e._events.error=[a,e._events.error]:e.on("error",a),e.once("close",c),e.once("finish",f),e.emit("pipe",h),d.flowing||(E("pipe resume"),h.resume()),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<n;i++)r[i].emit("unpipe",this);return this}var o=function(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}(t.pipes,e);return-1===o?this:(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},i.prototype.on=function(e,t){var r=m.prototype.on.call(this,e,t);if("data"===e&&!1!==this._readableState.flowing&&this.resume(),"readable"===e&&!this._readableState.endEmitted){var n=this._readableState;n.readableListening||(n.readableListening=!0,n.emittedReadable=!1,n.needReadable=!0,n.reading?n.length&&a(this):y(u,this))}return r},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){var e=this._readableState;return e.flowing||(E("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,y(h,e,t))}(this,e)),this},i.prototype.pause=function(){return E("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(E("pause"),this._readableState.flowing=!1,this.emit("pause")),this},i.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;e.on("end",function(){if(E("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(i){if(E("wrapped data"),t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)){n.push(i)||(r=!0,e.pause())}});for(var i in e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return function(e,t){for(var r=0,n=e.length;r<n;r++)t(e[r],r)}(["error","close","destroy","pause","resume"],function(t){e.on(t,n.emit.bind(n,t))}),n._read=function(t){E("wrapped _read",t),r&&(r=!1,e.resume())},n},i._fromList=d}).call(this,e("_process"))},{"./_stream_duplex":302,_process:265,buffer:105,"core-util-is":111,events:230,inherits:248,isarray:250,"process-nextick-args":264,"string_decoder/":347,util:77}],305:[function(e,t,r){"use strict";function n(e){this.afterTransform=function(t,r){return function(e,t,r){var n=e._transformState;n.transforming=!1;var i=n.writecb;if(!i)return e.emit("error",new Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,null!==r&&void 0!==r&&e.push(r);i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}(e,t,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function i(e){if(!(this instanceof i))return new i(e);s.call(this,e),this._transformState=new n(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e){o(t,e)}):o(t)})}function o(e,t){if(t)return e.emit("error",t);var r=e._writableState,n=e._transformState;if(r.length)throw new Error("calling transform done when ws.length != 0");if(n.transforming)throw new Error("calling transform done when still transforming");return e.push(null)}t.exports=i;var s=e("./_stream_duplex"),a=e("core-util-is");a.inherits=e("inherits"),a.inherits(i,s),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},i.prototype._transform=function(e,t,r){throw new Error("not implemented")},i.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},i.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0}},{"./_stream_duplex":302,"core-util-is":111,inherits:248}],306:[function(e,t,r){(function(r){"use strict";function n(){}function i(t,r){g=g||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,r instanceof g&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var n=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:i,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=!1===t.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?p(i,n):i(n);e._writableState.errorEmitted=!0,e.emit("error",n)}(e,r,n,t,i);else{var o=u(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||f(e,r),n?b(c,e,r,o,i):c(e,r,o,i)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new d(this),this.corkedRequestsFree.next=new d(this)}function o(t){if(g=g||e("./_stream_duplex"),!(this instanceof o||this instanceof g))return new o(t);this._writableState=new i(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev)),v.call(this)}function s(e,t,r,n,i){r=function(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=new Buffer(t,r)),t}(t,r,n),Buffer.isBuffer(r)&&(n="buffer");var o=t.objectMode?1:r.length;t.length+=o;var s=t.length<t.highWaterMark;if(s||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest=new function(e,t,r){this.chunk=e,this.encoding=t,this.callback=r,this.next=null}(r,n,i),c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else a(e,t,!1,o,r,n,i);return s}function a(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function c(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),l(e,t)}function f(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var s=0;r;)i[s]=r,r=r.next,s+=1;a(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,t.corkedRequestsFree=o.next,o.next=null}else{for(;r;){var c=r.chunk,f=r.encoding,u=r.callback;if(a(e,t,!1,t.objectMode?1:c.length,c,f,u),r=r.next,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=r,t.bufferProcessing=!1}function u(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function h(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function l(e,t){var r=u(t);return r&&(0===t.pendingcb?(h(e,t),t.finished=!0,e.emit("finish")):h(e,t)),r}function d(e){var t=this;this.next=null,this.entry=null,this.finish=function(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}}t.exports=o;var p=e("process-nextick-args"),b=!r.browser&&["v0.10","v0.9."].indexOf(r.version.slice(0,5))>-1?setImmediate:p,Buffer=e("buffer").Buffer;o.WritableState=i;var y=e("core-util-is");y.inherits=e("inherits");var v,m={deprecate:e("util-deprecate")};!function(){try{v=e("stream")}catch(e){}finally{v||(v=e("events").EventEmitter)}}();Buffer=e("buffer").Buffer;y.inherits(o,v);i.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(i.prototype,"buffer",{get:m.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(e){}}();var g;o.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},o.prototype.write=function(e,t,r){var i=this._writableState,o=!1;return"function"==typeof t&&(r=t,t=null),Buffer.isBuffer(e)?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=n),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),p(t,r)}(this,r):function(e,t,r,n){var i=!0;if(!Buffer.isBuffer(r)&&"string"!=typeof r&&null!==r&&void 0!==r&&!t.objectMode){var o=new TypeError("Invalid non-string/buffer chunk");e.emit("error",o),p(n,o),i=!1}return i}(this,i,e,r)&&(i.pendingcb++,o=s(this,i,e,t,r)),o},o.prototype.cork=function(){this._writableState.corked++},o.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||f(this,e))},o.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);this._writableState.defaultEncoding=e},o.prototype._write=function(e,t,r){r(new Error("not implemented"))},o.prototype._writev=null,o.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,l(e,t),r&&(t.finished?p(r):e.once("finish",r)),t.ended=!0,e.writable=!1}(this,n,r)}}).call(this,e("_process"))},{"./_stream_duplex":302,_process:265,buffer:105,"core-util-is":111,events:230,inherits:248,"process-nextick-args":264,"util-deprecate":359}],307:[function(e,t,r){t.exports=e("./lib/_stream_passthrough.js")},{"./lib/_stream_passthrough.js":303}],308:[function(e,t,r){var n=function(){try{return e("stream")}catch(e){}}();(r=t.exports=e("./lib/_stream_readable.js")).Stream=n||r,r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":302,"./lib/_stream_passthrough.js":303,"./lib/_stream_readable.js":304,"./lib/_stream_transform.js":305,"./lib/_stream_writable.js":306}],309:[function(e,t,r){t.exports=e("./lib/_stream_transform.js")},{"./lib/_stream_transform.js":305}],310:[function(e,t,r){t.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":306}],311:[function(e,t,r){t.exports=function(e,t,r){for(var n=0,i=e.length,o=3==arguments.length?r:e[n++];n<i;)o=t.call(null,o,e[n],++n,e);return o}},{}],312:[function(e,t,r){(function(Buffer){"use strict";function r(){u.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function n(e,t){return e<<t|e>>>32-t}function i(e,t,r,i,o,s,a,c){return n(e+(t^r^i)+s+a|0,c)+o|0}function o(e,t,r,i,o,s,a,c){return n(e+(t&r|~t&i)+s+a|0,c)+o|0}function s(e,t,r,i,o,s,a,c){return n(e+((t|~r)^i)+s+a|0,c)+o|0}function a(e,t,r,i,o,s,a,c){return n(e+(t&i|r&~i)+s+a|0,c)+o|0}function c(e,t,r,i,o,s,a,c){return n(e+(t^(r|~i))+s+a|0,c)+o|0}var f=e("inherits"),u=e("hash-base");f(r,u),r.prototype._update=function(){for(var e=new Array(16),t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,f=this._b,u=this._c,h=this._d,l=this._e;l=i(l,r=i(r,f,u,h,l,e[0],0,11),f,u=n(u,10),h,e[1],0,14),f=i(f=n(f,10),u=i(u,h=i(h,l,r,f,u,e[2],0,15),l,r=n(r,10),f,e[3],0,12),h,l=n(l,10),r,e[4],0,5),h=i(h=n(h,10),l=i(l,r=i(r,f,u,h,l,e[5],0,8),f,u=n(u,10),h,e[6],0,7),r,f=n(f,10),u,e[7],0,9),r=i(r=n(r,10),f=i(f,u=i(u,h,l,r,f,e[8],0,11),h,l=n(l,10),r,e[9],0,13),u,h=n(h,10),l,e[10],0,14),u=i(u=n(u,10),h=i(h,l=i(l,r,f,u,h,e[11],0,15),r,f=n(f,10),u,e[12],0,6),l,r=n(r,10),f,e[13],0,7),l=o(l=n(l,10),r=i(r,f=i(f,u,h,l,r,e[14],0,9),u,h=n(h,10),l,e[15],0,8),f,u=n(u,10),h,e[7],1518500249,7),f=o(f=n(f,10),u=o(u,h=o(h,l,r,f,u,e[4],1518500249,6),l,r=n(r,10),f,e[13],1518500249,8),h,l=n(l,10),r,e[1],1518500249,13),h=o(h=n(h,10),l=o(l,r=o(r,f,u,h,l,e[10],1518500249,11),f,u=n(u,10),h,e[6],1518500249,9),r,f=n(f,10),u,e[15],1518500249,7),r=o(r=n(r,10),f=o(f,u=o(u,h,l,r,f,e[3],1518500249,15),h,l=n(l,10),r,e[12],1518500249,7),u,h=n(h,10),l,e[0],1518500249,12),u=o(u=n(u,10),h=o(h,l=o(l,r,f,u,h,e[9],1518500249,15),r,f=n(f,10),u,e[5],1518500249,9),l,r=n(r,10),f,e[2],1518500249,11),l=o(l=n(l,10),r=o(r,f=o(f,u,h,l,r,e[14],1518500249,7),u,h=n(h,10),l,e[11],1518500249,13),f,u=n(u,10),h,e[8],1518500249,12),f=s(f=n(f,10),u=s(u,h=s(h,l,r,f,u,e[3],1859775393,11),l,r=n(r,10),f,e[10],1859775393,13),h,l=n(l,10),r,e[14],1859775393,6),h=s(h=n(h,10),l=s(l,r=s(r,f,u,h,l,e[4],1859775393,7),f,u=n(u,10),h,e[9],1859775393,14),r,f=n(f,10),u,e[15],1859775393,9),r=s(r=n(r,10),f=s(f,u=s(u,h,l,r,f,e[8],1859775393,13),h,l=n(l,10),r,e[1],1859775393,15),u,h=n(h,10),l,e[2],1859775393,14),u=s(u=n(u,10),h=s(h,l=s(l,r,f,u,h,e[7],1859775393,8),r,f=n(f,10),u,e[0],1859775393,13),l,r=n(r,10),f,e[6],1859775393,6),l=s(l=n(l,10),r=s(r,f=s(f,u,h,l,r,e[13],1859775393,5),u,h=n(h,10),l,e[11],1859775393,12),f,u=n(u,10),h,e[5],1859775393,7),f=a(f=n(f,10),u=a(u,h=s(h,l,r,f,u,e[12],1859775393,5),l,r=n(r,10),f,e[1],2400959708,11),h,l=n(l,10),r,e[9],2400959708,12),h=a(h=n(h,10),l=a(l,r=a(r,f,u,h,l,e[11],2400959708,14),f,u=n(u,10),h,e[10],2400959708,15),r,f=n(f,10),u,e[0],2400959708,14),r=a(r=n(r,10),f=a(f,u=a(u,h,l,r,f,e[8],2400959708,15),h,l=n(l,10),r,e[12],2400959708,9),u,h=n(h,10),l,e[4],2400959708,8),u=a(u=n(u,10),h=a(h,l=a(l,r,f,u,h,e[13],2400959708,9),r,f=n(f,10),u,e[3],2400959708,14),l,r=n(r,10),f,e[7],2400959708,5),l=a(l=n(l,10),r=a(r,f=a(f,u,h,l,r,e[15],2400959708,6),u,h=n(h,10),l,e[14],2400959708,8),f,u=n(u,10),h,e[5],2400959708,6),f=c(f=n(f,10),u=a(u,h=a(h,l,r,f,u,e[6],2400959708,5),l,r=n(r,10),f,e[2],2400959708,12),h,l=n(l,10),r,e[4],2840853838,9),h=c(h=n(h,10),l=c(l,r=c(r,f,u,h,l,e[0],2840853838,15),f,u=n(u,10),h,e[5],2840853838,5),r,f=n(f,10),u,e[9],2840853838,11),r=c(r=n(r,10),f=c(f,u=c(u,h,l,r,f,e[7],2840853838,6),h,l=n(l,10),r,e[12],2840853838,8),u,h=n(h,10),l,e[2],2840853838,13),u=c(u=n(u,10),h=c(h,l=c(l,r,f,u,h,e[10],2840853838,12),r,f=n(f,10),u,e[14],2840853838,5),l,r=n(r,10),f,e[1],2840853838,12),l=c(l=n(l,10),r=c(r,f=c(f,u,h,l,r,e[3],2840853838,13),u,h=n(h,10),l,e[8],2840853838,14),f,u=n(u,10),h,e[11],2840853838,11),f=c(f=n(f,10),u=c(u,h=c(h,l,r,f,u,e[6],2840853838,8),l,r=n(r,10),f,e[15],2840853838,5),h,l=n(l,10),r,e[13],2840853838,6),h=n(h,10);var d=this._a,p=this._b,b=this._c,y=this._d,v=this._e;v=c(v,d=c(d,p,b,y,v,e[5],1352829926,8),p,b=n(b,10),y,e[14],1352829926,9),p=c(p=n(p,10),b=c(b,y=c(y,v,d,p,b,e[7],1352829926,9),v,d=n(d,10),p,e[0],1352829926,11),y,v=n(v,10),d,e[9],1352829926,13),y=c(y=n(y,10),v=c(v,d=c(d,p,b,y,v,e[2],1352829926,15),p,b=n(b,10),y,e[11],1352829926,15),d,p=n(p,10),b,e[4],1352829926,5),d=c(d=n(d,10),p=c(p,b=c(b,y,v,d,p,e[13],1352829926,7),y,v=n(v,10),d,e[6],1352829926,7),b,y=n(y,10),v,e[15],1352829926,8),b=c(b=n(b,10),y=c(y,v=c(v,d,p,b,y,e[8],1352829926,11),d,p=n(p,10),b,e[1],1352829926,14),v,d=n(d,10),p,e[10],1352829926,14),v=a(v=n(v,10),d=c(d,p=c(p,b,y,v,d,e[3],1352829926,12),b,y=n(y,10),v,e[12],1352829926,6),p,b=n(b,10),y,e[6],1548603684,9),p=a(p=n(p,10),b=a(b,y=a(y,v,d,p,b,e[11],1548603684,13),v,d=n(d,10),p,e[3],1548603684,15),y,v=n(v,10),d,e[7],1548603684,7),y=a(y=n(y,10),v=a(v,d=a(d,p,b,y,v,e[0],1548603684,12),p,b=n(b,10),y,e[13],1548603684,8),d,p=n(p,10),b,e[5],1548603684,9),d=a(d=n(d,10),p=a(p,b=a(b,y,v,d,p,e[10],1548603684,11),y,v=n(v,10),d,e[14],1548603684,7),b,y=n(y,10),v,e[15],1548603684,7),b=a(b=n(b,10),y=a(y,v=a(v,d,p,b,y,e[8],1548603684,12),d,p=n(p,10),b,e[12],1548603684,7),v,d=n(d,10),p,e[4],1548603684,6),v=a(v=n(v,10),d=a(d,p=a(p,b,y,v,d,e[9],1548603684,15),b,y=n(y,10),v,e[1],1548603684,13),p,b=n(b,10),y,e[2],1548603684,11),p=s(p=n(p,10),b=s(b,y=s(y,v,d,p,b,e[15],1836072691,9),v,d=n(d,10),p,e[5],1836072691,7),y,v=n(v,10),d,e[1],1836072691,15),y=s(y=n(y,10),v=s(v,d=s(d,p,b,y,v,e[3],1836072691,11),p,b=n(b,10),y,e[7],1836072691,8),d,p=n(p,10),b,e[14],1836072691,6),d=s(d=n(d,10),p=s(p,b=s(b,y,v,d,p,e[6],1836072691,6),y,v=n(v,10),d,e[9],1836072691,14),b,y=n(y,10),v,e[11],1836072691,12),b=s(b=n(b,10),y=s(y,v=s(v,d,p,b,y,e[8],1836072691,13),d,p=n(p,10),b,e[12],1836072691,5),v,d=n(d,10),p,e[2],1836072691,14),v=s(v=n(v,10),d=s(d,p=s(p,b,y,v,d,e[10],1836072691,13),b,y=n(y,10),v,e[0],1836072691,13),p,b=n(b,10),y,e[4],1836072691,7),p=o(p=n(p,10),b=o(b,y=s(y,v,d,p,b,e[13],1836072691,5),v,d=n(d,10),p,e[8],2053994217,15),y,v=n(v,10),d,e[6],2053994217,5),y=o(y=n(y,10),v=o(v,d=o(d,p,b,y,v,e[4],2053994217,8),p,b=n(b,10),y,e[1],2053994217,11),d,p=n(p,10),b,e[3],2053994217,14),d=o(d=n(d,10),p=o(p,b=o(b,y,v,d,p,e[11],2053994217,14),y,v=n(v,10),d,e[15],2053994217,6),b,y=n(y,10),v,e[0],2053994217,14),b=o(b=n(b,10),y=o(y,v=o(v,d,p,b,y,e[5],2053994217,6),d,p=n(p,10),b,e[12],2053994217,9),v,d=n(d,10),p,e[2],2053994217,12),v=o(v=n(v,10),d=o(d,p=o(p,b,y,v,d,e[13],2053994217,9),b,y=n(y,10),v,e[9],2053994217,12),p,b=n(b,10),y,e[7],2053994217,5),p=i(p=n(p,10),b=o(b,y=o(y,v,d,p,b,e[10],2053994217,15),v,d=n(d,10),p,e[14],2053994217,8),y,v=n(v,10),d,e[12],0,8),y=i(y=n(y,10),v=i(v,d=i(d,p,b,y,v,e[15],0,5),p,b=n(b,10),y,e[10],0,12),d,p=n(p,10),b,e[4],0,9),d=i(d=n(d,10),p=i(p,b=i(b,y,v,d,p,e[1],0,12),y,v=n(v,10),d,e[5],0,5),b,y=n(y,10),v,e[8],0,14),b=i(b=n(b,10),y=i(y,v=i(v,d,p,b,y,e[7],0,6),d,p=n(p,10),b,e[6],0,8),v,d=n(d,10),p,e[2],0,13),v=i(v=n(v,10),d=i(d,p=i(p,b,y,v,d,e[13],0,6),b,y=n(y,10),v,e[14],0,5),p,b=n(b,10),y,e[0],0,15),p=i(p=n(p,10),b=i(b,y=i(y,v,d,p,b,e[3],0,13),v,d=n(d,10),p,e[9],0,11),y,v=n(v,10),d,e[11],0,11),y=n(y,10);var m=this._b+u+y|0;this._b=this._c+h+v|0,this._c=this._d+l+d|0,this._d=this._e+r+p|0,this._e=this._a+f+b|0,this._a=m},r.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new Buffer(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},t.exports=r}).call(this,e("buffer").Buffer)},{buffer:105,"hash-base":232,inherits:248}],313:[function(e,t,r){function n(e,t){for(var r in e)t[r]=e[r]}function i(e,t,r){return Buffer(e,t,r)}var o=e("buffer"),Buffer=o.Buffer;Buffer.from&&Buffer.alloc&&Buffer.allocUnsafe&&Buffer.allocUnsafeSlow?t.exports=o:(n(o,r),r.Buffer=i),n(Buffer,i),i.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return Buffer(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=Buffer(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return Buffer(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o.SlowBuffer(e)}},{buffer:105}],314:[function(e,t,r){"use strict";t.exports=e("./lib")(e("./lib/elliptic"))},{"./lib":318,"./lib/elliptic":317}],315:[function(e,t,r){(function(Buffer){"use strict";var e=Object.prototype.toString;r.isArray=function(e,t){if(!Array.isArray(e))throw TypeError(t)},r.isBoolean=function(t,r){if("[object Boolean]"!==e.call(t))throw TypeError(r)},r.isBuffer=function(e,t){if(!Buffer.isBuffer(e))throw TypeError(t)},r.isFunction=function(t,r){if("[object Function]"!==e.call(t))throw TypeError(r)},r.isNumber=function(t,r){if("[object Number]"!==e.call(t))throw TypeError(r)},r.isObject=function(t,r){if("[object Object]"!==e.call(t))throw TypeError(r)},r.isBufferLength=function(e,t,r){if(e.length!==t)throw RangeError(r)},r.isBufferLength2=function(e,t,r,n){if(e.length!==t&&e.length!==r)throw RangeError(n)},r.isLengthGTZero=function(e,t){if(0===e.length)throw RangeError(t)},r.isNumberInInterval=function(e,t,r,n){if(e<=t||e>=r)throw RangeError(n)}}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":249}],316:[function(e,t,r){"use strict";var Buffer=e("safe-buffer").Buffer,n=e("bip66"),i=Buffer.from([48,129,211,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,133,48,129,130,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,33,2,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,36,3,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),o=Buffer.from([48,130,1,19,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,165,48,129,162,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,65,4,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,72,58,218,119,38,163,196,101,93,164,251,252,14,17,8,168,253,23,180,72,166,133,84,25,156,71,208,143,251,16,212,184,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,68,3,66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),s=Buffer.from([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);r.privateKeyExport=function(e,t,r){var n=Buffer.from(r?i:o);return e.copy(n,r?8:9),t.copy(n,r?181:214),n},r.privateKeyImport=function(e){var t=e.length,r=0;if(!(t<r+1||48!==e[r])&&(r+=1,!(t<r+1)&&128&e[r])){var n=127&e[r];if(r+=1,!(n<1||n>2||t<r+n)){var i=e[r+n-1]|(n>1?e[r+n-2]<<8:0);if(r+=n,!(t<r+i||t<r+3||2!==e[r]||1!==e[r+1]||1!==e[r+2]||(r+=3,t<r+2||4!==e[r]||e[r+1]>32||t<r+2+e[r+1])))return e.slice(r+2,r+2+e[r+1])}}},r.signatureExport=function(e){for(var t=Buffer.concat([Buffer.from([0]),e.r]),r=33,i=0;r>1&&0===t[i]&&!(128&t[i+1]);--r,++i);for(var o=Buffer.concat([Buffer.from([0]),e.s]),s=33,a=0;s>1&&0===o[a]&&!(128&o[a+1]);--s,++a);return n.encode(t.slice(i),o.slice(a))},r.signatureImport=function(e){var t=Buffer.from(s),r=Buffer.from(s);try{var i=n.decode(e);if(33===i.r.length&&0===i.r[0]&&(i.r=i.r.slice(1)),i.r.length>32)throw new Error("R length is too long");if(33===i.s.length&&0===i.s[0]&&(i.s=i.s.slice(1)),i.s.length>32)throw new Error("S length is too long")}catch(e){return}return i.r.copy(t,32-i.r.length),i.s.copy(r,32-i.s.length),{r:t,s:r}},r.signatureImportLax=function(e){var t=Buffer.from(s),r=Buffer.from(s),n=e.length,i=0;if(48===e[i++]){var o=e[i++];if(!(128&o&&(i+=o-128)>n)&&2===e[i++]){var a=e[i++];if(128&a){if(o=a-128,i+o>n)return;for(;o>0&&0===e[i];i+=1,o-=1);for(a=0;o>0;i+=1,o-=1)a=(a<<8)+e[i]}if(!(a>n-i)){var c=i;if(i+=a,2===e[i++]){var f=e[i++];if(128&f){if(o=f-128,i+o>n)return;for(;o>0&&0===e[i];i+=1,o-=1);for(f=0;o>0;i+=1,o-=1)f=(f<<8)+e[i]}if(!(f>n-i)){var u=i;for(i+=f;a>0&&0===e[c];a-=1,c+=1);if(!(a>32)){var h=e.slice(c,c+a);for(h.copy(t,32-h.length);f>0&&0===e[u];f-=1,u+=1);if(!(f>32)){var l=e.slice(u,u+f);return l.copy(r,32-l.length),{r:t,s:r}}}}}}}}}},{bip66:32,"safe-buffer":313}],317:[function(e,t,r){"use strict";function n(e){var t=e[0];switch(t){case 2:case 3:return 33!==e.length?null:function(e,t){var r=new o(t);if(r.cmp(f.p)>=0)return null;var n=(r=r.toRed(f.red)).redSqr().redIMul(r).redIAdd(f.b).redSqrt();return 3===e!==n.isOdd()&&(n=n.redNeg()),c.keyPair({pub:{x:r,y:n}})}(t,e.slice(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,r){var n=new o(t),i=new o(r);if(n.cmp(f.p)>=0||i.cmp(f.p)>=0)return null;if(n=n.toRed(f.red),i=i.toRed(f.red),(6===e||7===e)&&i.isOdd()!==(7===e))return null;var s=n.redSqr().redIMul(n);return i.redSqr().redISub(s.redIAdd(f.b)).isZero()?c.keyPair({pub:{x:n,y:i}}):null}(t,e.slice(1,33),e.slice(33,65));default:return null}}var Buffer=e("safe-buffer").Buffer,i=e("create-hash"),o=e("bn.js"),s=e("elliptic").ec,a=e("../messages.json"),c=new s("secp256k1"),f=c.curve;r.privateKeyVerify=function(e){var t=new o(e);return t.cmp(f.n)<0&&!t.isZero()},r.privateKeyExport=function(e,t){var r=new o(e);if(r.cmp(f.n)>=0||r.isZero())throw new Error(a.EC_PRIVATE_KEY_EXPORT_DER_FAIL);return Buffer.from(c.keyFromPrivate(e).getPublic(t,!0))},r.privateKeyTweakAdd=function(e,t){var r=new o(t);if(r.cmp(f.n)>=0)throw new Error(a.EC_PRIVATE_KEY_TWEAK_ADD_FAIL);if(r.iadd(new o(e)),r.cmp(f.n)>=0&&r.isub(f.n),r.isZero())throw new Error(a.EC_PRIVATE_KEY_TWEAK_ADD_FAIL);return r.toArrayLike(Buffer,"be",32)},r.privateKeyTweakMul=function(e,t){var r=new o(t);if(r.cmp(f.n)>=0||r.isZero())throw new Error(a.EC_PRIVATE_KEY_TWEAK_MUL_FAIL);return r.imul(new o(e)),r.cmp(f.n)&&(r=r.umod(f.n)),r.toArrayLike(Buffer,"be",32)},r.publicKeyCreate=function(e,t){var r=new o(e);if(r.cmp(f.n)>=0||r.isZero())throw new Error(a.EC_PUBLIC_KEY_CREATE_FAIL);return Buffer.from(c.keyFromPrivate(e).getPublic(t,!0))},r.publicKeyConvert=function(e,t){var r=n(e);if(null===r)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);return Buffer.from(r.getPublic(t,!0))},r.publicKeyVerify=function(e){return null!==n(e)},r.publicKeyTweakAdd=function(e,t,r){var i=n(e);if(null===i)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);if((t=new o(t)).cmp(f.n)>=0)throw new Error(a.EC_PUBLIC_KEY_TWEAK_ADD_FAIL);return Buffer.from(f.g.mul(t).add(i.pub).encode(!0,r))},r.publicKeyTweakMul=function(e,t,r){var i=n(e);if(null===i)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);if((t=new o(t)).cmp(f.n)>=0||t.isZero())throw new Error(a.EC_PUBLIC_KEY_TWEAK_MUL_FAIL);return Buffer.from(i.pub.mul(t).encode(!0,r))},r.publicKeyCombine=function(e,t){for(var r=new Array(e.length),i=0;i<e.length;++i)if(r[i]=n(e[i]),null===r[i])throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);for(var o=r[0].pub,s=1;s<r.length;++s)o=o.add(r[s].pub);if(o.isInfinity())throw new Error(a.EC_PUBLIC_KEY_COMBINE_FAIL);return Buffer.from(o.encode(!0,t))},r.signatureNormalize=function(e){var t=new o(e.slice(0,32)),r=new o(e.slice(32,64));if(t.cmp(f.n)>=0||r.cmp(f.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);var n=Buffer.from(e);return 1===r.cmp(c.nh)&&f.n.sub(r).toArrayLike(Buffer,"be",32).copy(n,32),n},r.signatureExport=function(e){var t=e.slice(0,32),r=e.slice(32,64);if(new o(t).cmp(f.n)>=0||new o(r).cmp(f.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);return{r:t,s:r}},r.signatureImport=function(e){var t=new o(e.r);t.cmp(f.n)>=0&&(t=new o(0));var r=new o(e.s);return r.cmp(f.n)>=0&&(r=new o(0)),Buffer.concat([t.toArrayLike(Buffer,"be",32),r.toArrayLike(Buffer,"be",32)])},r.sign=function(e,t,r,n){if("function"==typeof r){var i=r;r=function(r){var s=i(e,t,null,n,r);if(!Buffer.isBuffer(s)||32!==s.length)throw new Error(a.ECDSA_SIGN_FAIL);return new o(s)}}var s=new o(t);if(s.cmp(f.n)>=0||s.isZero())throw new Error(a.ECDSA_SIGN_FAIL);var u=c.sign(e,t,{canonical:!0,k:r,pers:n});return{signature:Buffer.concat([u.r.toArrayLike(Buffer,"be",32),u.s.toArrayLike(Buffer,"be",32)]),recovery:u.recoveryParam}},r.verify=function(e,t,r){var i={r:t.slice(0,32),s:t.slice(32,64)},s=new o(i.r),u=new o(i.s);if(s.cmp(f.n)>=0||u.cmp(f.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);if(1===u.cmp(c.nh)||s.isZero()||u.isZero())return!1;var h=n(r);if(null===h)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);return c.verify(e,i,{x:h.pub.x,y:h.pub.y})},r.recover=function(e,t,r,n){var i={r:t.slice(0,32),s:t.slice(32,64)},s=new o(i.r),u=new o(i.s);if(s.cmp(f.n)>=0||u.cmp(f.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);try{if(s.isZero()||u.isZero())throw new Error;var h=c.recoverPubKey(e,i,r);return Buffer.from(h.encode(!0,n))}catch(e){throw new Error(a.ECDSA_RECOVER_FAIL)}},r.ecdh=function(e,t){var n=r.ecdhUnsafe(e,t,!0);return i("sha256").update(n).digest()},r.ecdhUnsafe=function(e,t,r){var i=n(e);if(null===i)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);var s=new o(t);if(s.cmp(f.n)>=0||s.isZero())throw new Error(a.ECDH_FAIL);return Buffer.from(i.pub.mul(s).encode(!0,r))}},{"../messages.json":319,"bn.js":320,"create-hash":130,elliptic:321,"safe-buffer":313}],318:[function(e,t,r){"use strict";function n(e,t){return void 0===e?t:(i.isBoolean(e,s.COMPRESSED_TYPE_INVALID),e)}var i=e("./assert"),o=e("./der"),s=e("./messages.json");t.exports=function(e){return{privateKeyVerify:function(t){return i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),32===t.length&&e.privateKeyVerify(t)},privateKeyExport:function(t,r){i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),r=n(r,!0);var a=e.privateKeyExport(t,r);return o.privateKeyExport(t,a,r)},privateKeyImport:function(t){if(i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),(t=o.privateKeyImport(t))&&32===t.length&&e.privateKeyVerify(t))return t;throw new Error(s.EC_PRIVATE_KEY_IMPORT_DER_FAIL)},privateKeyTweakAdd:function(t,r){return i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),i.isBuffer(r,s.TWEAK_TYPE_INVALID),i.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),e.privateKeyTweakAdd(t,r)},privateKeyTweakMul:function(t,r){return i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),i.isBuffer(r,s.TWEAK_TYPE_INVALID),i.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),e.privateKeyTweakMul(t,r)},publicKeyCreate:function(t,r){return i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),r=n(r,!0),e.publicKeyCreate(t,r)},publicKeyConvert:function(t,r){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),r=n(r,!0),e.publicKeyConvert(t,r)},publicKeyVerify:function(t){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),e.publicKeyVerify(t)},publicKeyTweakAdd:function(t,r,o){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),i.isBuffer(r,s.TWEAK_TYPE_INVALID),i.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),o=n(o,!0),e.publicKeyTweakAdd(t,r,o)},publicKeyTweakMul:function(t,r,o){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),i.isBuffer(r,s.TWEAK_TYPE_INVALID),i.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),o=n(o,!0),e.publicKeyTweakMul(t,r,o)},publicKeyCombine:function(t,r){i.isArray(t,s.EC_PUBLIC_KEYS_TYPE_INVALID),i.isLengthGTZero(t,s.EC_PUBLIC_KEYS_LENGTH_INVALID);for(var o=0;o<t.length;++o)i.isBuffer(t[o],s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t[o],33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID);return r=n(r,!0),e.publicKeyCombine(t,r)},signatureNormalize:function(t){return i.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isBufferLength(t,64,s.ECDSA_SIGNATURE_LENGTH_INVALID),e.signatureNormalize(t)},signatureExport:function(t){i.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isBufferLength(t,64,s.ECDSA_SIGNATURE_LENGTH_INVALID);var r=e.signatureExport(t);return o.signatureExport(r)},signatureImport:function(t){i.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isLengthGTZero(t,s.ECDSA_SIGNATURE_LENGTH_INVALID);var r=o.signatureImport(t);if(r)return e.signatureImport(r);throw new Error(s.ECDSA_SIGNATURE_PARSE_DER_FAIL)},signatureImportLax:function(t){i.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isLengthGTZero(t,s.ECDSA_SIGNATURE_LENGTH_INVALID);var r=o.signatureImportLax(t);if(r)return e.signatureImport(r);throw new Error(s.ECDSA_SIGNATURE_PARSE_DER_FAIL)},sign:function(t,r,n){i.isBuffer(t,s.MSG32_TYPE_INVALID),i.isBufferLength(t,32,s.MSG32_LENGTH_INVALID),i.isBuffer(r,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(r,32,s.EC_PRIVATE_KEY_LENGTH_INVALID);var o=null,a=null;return void 0!==n&&(i.isObject(n,s.OPTIONS_TYPE_INVALID),void 0!==n.data&&(i.isBuffer(n.data,s.OPTIONS_DATA_TYPE_INVALID),i.isBufferLength(n.data,32,s.OPTIONS_DATA_LENGTH_INVALID),o=n.data),void 0!==n.noncefn&&(i.isFunction(n.noncefn,s.OPTIONS_NONCEFN_TYPE_INVALID),a=n.noncefn)),e.sign(t,r,a,o)},verify:function(t,r,n){return i.isBuffer(t,s.MSG32_TYPE_INVALID),i.isBufferLength(t,32,s.MSG32_LENGTH_INVALID),i.isBuffer(r,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isBufferLength(r,64,s.ECDSA_SIGNATURE_LENGTH_INVALID),i.isBuffer(n,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(n,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),e.verify(t,r,n)},recover:function(t,r,o,a){return i.isBuffer(t,s.MSG32_TYPE_INVALID),i.isBufferLength(t,32,s.MSG32_LENGTH_INVALID),i.isBuffer(r,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isBufferLength(r,64,s.ECDSA_SIGNATURE_LENGTH_INVALID),i.isNumber(o,s.RECOVERY_ID_TYPE_INVALID),i.isNumberInInterval(o,-1,4,s.RECOVERY_ID_VALUE_INVALID),a=n(a,!0),e.recover(t,r,o,a)},ecdh:function(t,r){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),i.isBuffer(r,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(r,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),e.ecdh(t,r)},ecdhUnsafe:function(t,r,o){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),i.isBuffer(r,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(r,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),o=n(o,!0),e.ecdhUnsafe(t,r,o)}}}},{"./assert":315,"./der":316,"./messages.json":319}],319:[function(e,t,r){t.exports={COMPRESSED_TYPE_INVALID:"compressed should be a boolean",EC_PRIVATE_KEY_TYPE_INVALID:"private key should be a Buffer",EC_PRIVATE_KEY_LENGTH_INVALID:"private key length is invalid",EC_PRIVATE_KEY_TWEAK_ADD_FAIL:"tweak out of range or resulting private key is invalid",EC_PRIVATE_KEY_TWEAK_MUL_FAIL:"tweak out of range",EC_PRIVATE_KEY_EXPORT_DER_FAIL:"couldn't export to DER format",EC_PRIVATE_KEY_IMPORT_DER_FAIL:"couldn't import from DER format",EC_PUBLIC_KEYS_TYPE_INVALID:"public keys should be an Array",EC_PUBLIC_KEYS_LENGTH_INVALID:"public keys Array should have at least 1 element",EC_PUBLIC_KEY_TYPE_INVALID:"public key should be a Buffer",EC_PUBLIC_KEY_LENGTH_INVALID:"public key length is invalid",EC_PUBLIC_KEY_PARSE_FAIL:"the public key could not be parsed or is invalid",EC_PUBLIC_KEY_CREATE_FAIL:"private was invalid, try again",EC_PUBLIC_KEY_TWEAK_ADD_FAIL:"tweak out of range or resulting public key is invalid",EC_PUBLIC_KEY_TWEAK_MUL_FAIL:"tweak out of range",EC_PUBLIC_KEY_COMBINE_FAIL:"the sum of the public keys is not valid",ECDH_FAIL:"scalar was invalid (zero or overflow)",ECDSA_SIGNATURE_TYPE_INVALID:"signature should be a Buffer",ECDSA_SIGNATURE_LENGTH_INVALID:"signature length is invalid",ECDSA_SIGNATURE_PARSE_FAIL:"couldn't parse signature",ECDSA_SIGNATURE_PARSE_DER_FAIL:"couldn't parse DER signature",ECDSA_SIGNATURE_SERIALIZE_DER_FAIL:"couldn't serialize signature to DER format",ECDSA_SIGN_FAIL:"nonce generation function failed or private key is invalid",ECDSA_RECOVER_FAIL:"couldn't recover public key from signature",MSG32_TYPE_INVALID:"message should be a Buffer",MSG32_LENGTH_INVALID:"message length is invalid",OPTIONS_TYPE_INVALID:"options should be an Object",OPTIONS_DATA_TYPE_INVALID:"options.data should be a Buffer",OPTIONS_DATA_LENGTH_INVALID:"options.data length is invalid",OPTIONS_NONCEFN_TYPE_INVALID:"options.noncefn should be a Function",RECOVERY_ID_TYPE_INVALID:"recovery should be a Number",RECOVERY_ID_VALUE_INVALID:"recovery should have value between -1 and 4",TWEAK_TYPE_INVALID:"tweak should be a Buffer",TWEAK_LENGTH_INVALID:"tweak length is invalid"}},{}],320:[function(e,t,r){arguments[4][113][0].apply(r,arguments)},{buffer:77,dup:113}],321:[function(e,t,r){arguments[4][114][0].apply(r,arguments)},{"../package.json":336,"./elliptic/curve":324,"./elliptic/curves":327,"./elliptic/ec":328,"./elliptic/eddsa":331,"./elliptic/utils":335,brorand:76,dup:114}],322:[function(e,t,r){arguments[4][115][0].apply(r,arguments)},{"../../elliptic":321,"bn.js":320,dup:115}],323:[function(e,t,r){arguments[4][116][0].apply(r,arguments)},{"../../elliptic":321,"../curve":324,"bn.js":320,dup:116,inherits:248}],324:[function(e,t,r){arguments[4][117][0].apply(r,arguments)},{"./base":322,"./edwards":323,"./mont":325,"./short":326,dup:117}],325:[function(e,t,r){arguments[4][118][0].apply(r,arguments)},{"../../elliptic":321,"../curve":324,"bn.js":320,dup:118,inherits:248}],326:[function(e,t,r){arguments[4][119][0].apply(r,arguments)},{"../../elliptic":321,"../curve":324,"bn.js":320,dup:119,inherits:248}],327:[function(e,t,r){arguments[4][120][0].apply(r,arguments)},{"../elliptic":321,"./precomputed/secp256k1":334,dup:120,"hash.js":233}],328:[function(e,t,r){arguments[4][121][0].apply(r,arguments)},{"../../elliptic":321,"./key":329,"./signature":330,"bn.js":320,dup:121,"hmac-drbg":245}],329:[function(e,t,r){arguments[4][122][0].apply(r,arguments)},{"../../elliptic":321,"bn.js":320,dup:122}],330:[function(e,t,r){arguments[4][123][0].apply(r,arguments)},{"../../elliptic":321,"bn.js":320,dup:123}],331:[function(e,t,r){arguments[4][124][0].apply(r,arguments)},{"../../elliptic":321,"./key":332,"./signature":333,dup:124,"hash.js":233}],332:[function(e,t,r){arguments[4][125][0].apply(r,arguments)},{"../../elliptic":321,dup:125}],333:[function(e,t,r){arguments[4][126][0].apply(r,arguments)},{"../../elliptic":321,"bn.js":320,dup:126}],334:[function(e,t,r){arguments[4][127][0].apply(r,arguments)},{dup:127}],335:[function(e,t,r){arguments[4][128][0].apply(r,arguments)},{"bn.js":320,dup:128,"minimalistic-assert":257,"minimalistic-crypto-utils":258}],336:[function(e,t,r){t.exports={_args:[[{raw:"elliptic@^6.2.3",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.2.3",spec:">=6.2.3 <7.0.0",type:"range"},"/work/blocktrail-sdk-nodejs/node_modules/secp256k1"]],_from:"elliptic@>=6.2.3 <7.0.0",_id:"[email protected]",_inCache:!0,_location:"/secp256k1/elliptic",_nodeVersion:"7.0.0",_npmOperationalInternal:{host:"packages-18-east.internal.npmjs.com",tmp:"tmp/elliptic-6.4.0.tgz_1487798866428_0.30510620190761983"},_npmUser:{name:"indutny",email:"[email protected]"},_npmVersion:"3.10.8",_phantomChildren:{},_requested:{raw:"elliptic@^6.2.3",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.2.3",spec:">=6.2.3 <7.0.0",type:"range"},_requiredBy:["/secp256k1"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz",_shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",_shrinkwrap:null,_spec:"elliptic@^6.2.3",_where:"/work/blocktrail-sdk-nodejs/node_modules/secp256k1",author:{name:"Fedor Indutny",email:"[email protected]"},bugs:{url:"https://github.com/indutny/elliptic/issues"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},directories:{},dist:{shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",tarball:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz"},files:["lib"],gitHead:"6b0d2b76caae91471649c8e21f0b1d3ba0f96090",homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",maintainers:[{name:"indutny",email:"[email protected]"}],name:"elliptic",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git+ssh://[email protected]/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.4.0"}},{}],337:[function(e,t,r){function n(e,t){this._block=Buffer.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}var Buffer=e("safe-buffer").Buffer;n.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=Buffer.from(e,t));for(var r=this._block,n=this._blockSize,i=e.length,o=this._len,s=0;s<i;){for(var a=o%n,c=Math.min(i-s,n-a),f=0;f<c;f++)r[a+f]=e[s+f];s+=c,(o+=c)%n==0&&this._update(r)}return this._len+=i,this},n.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=4294967295&r,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},n.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=n},{"safe-buffer":313}],338:[function(e,t,r){(r=t.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t}).sha=e("./sha"),r.sha1=e("./sha1"),r.sha224=e("./sha224"),r.sha256=e("./sha256"),r.sha384=e("./sha384"),r.sha512=e("./sha512")},{"./sha":339,"./sha1":340,"./sha224":341,"./sha256":342,"./sha384":343,"./sha512":344}],339:[function(e,t,r){function n(){this.init(),this._w=u,c.call(this,64,56)}function i(e){return e<<5|e>>>27}function o(e){return e<<30|e>>>2}function s(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}var a=e("inherits"),c=e("./hash"),Buffer=e("safe-buffer").Buffer,f=[1518500249,1859775393,-1894007588,-899497514],u=new Array(80);a(n,c),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(e){for(var t=this._w,r=0|this._a,n=0|this._b,a=0|this._c,c=0|this._d,u=0|this._e,h=0;h<16;++h)t[h]=e.readInt32BE(4*h);for(;h<80;++h)t[h]=t[h-3]^t[h-8]^t[h-14]^t[h-16];for(var l=0;l<80;++l){var d=~~(l/20),p=i(r)+s(d,n,a,c)+u+t[l]+f[d]|0;u=c,c=a,a=o(n),n=r,r=p}this._a=r+this._a|0,this._b=n+this._b|0,this._c=a+this._c|0,this._d=c+this._d|0,this._e=u+this._e|0},n.prototype._hash=function(){var e=Buffer.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=n},{"./hash":337,inherits:248,"safe-buffer":313}],340:[function(e,t,r){function n(){this.init(),this._w=h,f.call(this,64,56)}function i(e){return e<<1|e>>>31}function o(e){return e<<5|e>>>27}function s(e){return e<<30|e>>>2}function a(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}var c=e("inherits"),f=e("./hash"),Buffer=e("safe-buffer").Buffer,u=[1518500249,1859775393,-1894007588,-899497514],h=new Array(80);c(n,f),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(e){for(var t=this._w,r=0|this._a,n=0|this._b,c=0|this._c,f=0|this._d,h=0|this._e,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=i(t[l-3]^t[l-8]^t[l-14]^t[l-16]);for(var d=0;d<80;++d){var p=~~(d/20),b=o(r)+a(p,n,c,f)+h+t[d]+u[p]|0;h=f,f=c,c=s(n),n=r,r=b}this._a=r+this._a|0,this._b=n+this._b|0,this._c=c+this._c|0,this._d=f+this._d|0,this._e=h+this._e|0},n.prototype._hash=function(){var e=Buffer.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=n},{"./hash":337,inherits:248,"safe-buffer":313}],341:[function(e,t,r){function n(){this.init(),this._w=a,s.call(this,64,56)}var i=e("inherits"),o=e("./sha256"),s=e("./hash"),Buffer=e("safe-buffer").Buffer,a=new Array(64);i(n,o),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 e=Buffer.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=n},{"./hash":337,"./sha256":342,inherits:248,"safe-buffer":313}],342:[function(e,t,r){function n(){this.init(),this._w=d,h.call(this,64,56)}function i(e,t,r){return r^e&(t^r)}function o(e,t,r){return e&t|r&(e|t)}function s(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function a(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function c(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function f(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}var u=e("inherits"),h=e("./hash"),Buffer=e("safe-buffer").Buffer,l=[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],d=new Array(64);u(n,h),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(e){for(var t=this._w,r=0|this._a,n=0|this._b,u=0|this._c,h=0|this._d,d=0|this._e,p=0|this._f,b=0|this._g,y=0|this._h,v=0;v<16;++v)t[v]=e.readInt32BE(4*v);for(;v<64;++v)t[v]=f(t[v-2])+t[v-7]+c(t[v-15])+t[v-16]|0;for(var m=0;m<64;++m){var g=y+a(d)+i(d,p,b)+l[m]+t[m]|0,w=s(r)+o(r,n,u)|0;y=b,b=p,p=d,d=h+g|0,h=u,u=n,n=r,r=g+w|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=u+this._c|0,this._d=h+this._d|0,this._e=d+this._e|0,this._f=p+this._f|0,this._g=b+this._g|0,this._h=y+this._h|0},n.prototype._hash=function(){var e=Buffer.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=n},{"./hash":337,inherits:248,"safe-buffer":313}],343:[function(e,t,r){function n(){this.init(),this._w=a,s.call(this,128,112)}var i=e("inherits"),o=e("./sha512"),s=e("./hash"),Buffer=e("safe-buffer").Buffer,a=new Array(160);i(n,o),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 e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}var t=Buffer.allocUnsafe(48);return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=n},{"./hash":337,"./sha512":344,inherits:248,"safe-buffer":313}],344:[function(e,t,r){function n(){this.init(),this._w=y,p.call(this,128,112)}function i(e,t,r){return r^e&(t^r)}function o(e,t,r){return e&t|r&(e|t)}function s(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function a(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function c(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function u(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function h(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function l(e,t){return e>>>0<t>>>0?1:0}var d=e("inherits"),p=e("./hash"),Buffer=e("safe-buffer").Buffer,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],y=new Array(160);d(n,p),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(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,d=0|this._ch,p=0|this._dh,y=0|this._eh,v=0|this._fh,m=0|this._gh,g=0|this._hh,w=0|this._al,_=0|this._bl,E=0|this._cl,S=0|this._dl,k=0|this._el,A=0|this._fl,x=0|this._gl,I=0|this._hl,T=0;T<32;T+=2)t[T]=e.readInt32BE(4*T),t[T+1]=e.readInt32BE(4*T+4);for(;T<160;T+=2){var B=t[T-30],P=t[T-30+1],M=c(B,P),C=f(P,B),R=u(B=t[T-4],P=t[T-4+1]),O=h(P,B),L=t[T-14],j=t[T-14+1],N=t[T-32],D=t[T-32+1],U=C+j|0,K=M+L+l(U,C)|0;K=(K=K+R+l(U=U+O|0,O)|0)+N+l(U=U+D|0,D)|0,t[T]=K,t[T+1]=U}for(var H=0;H<160;H+=2){K=t[H],U=t[H+1];var z=o(r,n,d),q=o(w,_,E),F=s(r,w),W=s(w,r),V=a(y,k),G=a(k,y),Y=b[H],J=b[H+1],X=i(y,v,m),Z=i(k,A,x),$=I+G|0,Q=g+V+l($,I)|0;Q=(Q=(Q=Q+X+l($=$+Z|0,Z)|0)+Y+l($=$+J|0,J)|0)+K+l($=$+U|0,U)|0;var ee=W+q|0,te=F+z+l(ee,W)|0;g=m,I=x,m=v,x=A,v=y,A=k,y=p+Q+l(k=S+$|0,S)|0,p=d,S=E,d=n,E=_,n=r,_=w,r=Q+te+l(w=$+ee|0,$)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+E|0,this._dl=this._dl+S|0,this._el=this._el+k|0,this._fl=this._fl+A|0,this._gl=this._gl+x|0,this._hl=this._hl+I|0,this._ah=this._ah+r+l(this._al,w)|0,this._bh=this._bh+n+l(this._bl,_)|0,this._ch=this._ch+d+l(this._cl,E)|0,this._dh=this._dh+p+l(this._dl,S)|0,this._eh=this._eh+y+l(this._el,k)|0,this._fh=this._fh+v+l(this._fl,A)|0,this._gh=this._gh+m+l(this._gl,x)|0,this._hh=this._hh+g+l(this._hl,I)|0},n.prototype._hash=function(){function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}var t=Buffer.allocUnsafe(64);return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=n},{"./hash":337,inherits:248,"safe-buffer":313}],345:[function(e,t,r){"use strict";function n(e,t,r){if(4!==t.length)throw new i.exception.invalid("invalid aes block size");var n=e.c[r],o=t[0]^n[0],s=t[r?3:1]^n[1],a=t[2]^n[2];t=t[r?1:3]^n[3];var c,f,u,h,l=n.length/4-2,d=4,p=[0,0,0,0];e=(c=e.j[r])[0];var b=c[1],y=c[2],v=c[3],m=c[4];for(h=0;h<l;h++)c=e[o>>>24]^b[s>>16&255]^y[a>>8&255]^v[255&t]^n[d],f=e[s>>>24]^b[a>>16&255]^y[t>>8&255]^v[255&o]^n[d+1],u=e[a>>>24]^b[t>>16&255]^y[o>>8&255]^v[255&s]^n[d+2],t=e[t>>>24]^b[o>>16&255]^y[s>>8&255]^v[255&a]^n[d+3],d+=4,o=c,s=f,a=u;for(h=0;4>h;h++)p[r?3&-h:h]=m[o>>>24]<<24^m[s>>16&255]<<16^m[a>>8&255]<<8^m[255&t]^n[d++],c=o,o=s,s=a,a=t,t=c;return p}var i={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(e){this.toString=function(){return"CORRUPT: "+this.message},this.message=e},invalid:function(e){this.toString=function(){return"INVALID: "+this.message},this.message=e},bug:function(e){this.toString=function(){return"BUG: "+this.message},this.message=e},notReady:function(e){this.toString=function(){return"NOT READY: "+this.message},this.message=e}}};i.cipher.aes=function(e){this.j[0][0][0]||this.m();var t,r,n,o,s=this.j[0][4],a=this.j[1],c=1;if(4!==(t=e.length)&&6!==t&&8!==t)throw new i.exception.invalid("invalid aes key size");for(this.c=[n=e.slice(0),o=[]],e=t;e<4*t+28;e++)r=n[e-1],(0==e%t||8===t&&4==e%t)&&(r=s[r>>>24]<<24^s[r>>16&255]<<16^s[r>>8&255]<<8^s[255&r],0==e%t&&(r=r<<8^r>>>24^c<<24,c=c<<1^283*(c>>7))),n[e]=n[e-t]^r;for(t=0;e;t++,e--)r=n[3&t?e:e-4],o[t]=4>=e||4>t?r:a[0][s[r>>>24]]^a[1][s[r>>16&255]]^a[2][s[r>>8&255]]^a[3][s[255&r]]},i.cipher.aes.prototype={encrypt:function(e){return n(this,e,0)},decrypt:function(e){return n(this,e,1)},j:[[[],[],[],[],[]],[[],[],[],[],[]]],m:function(){var e,t,r,n,i,o,s,a=this.j[0],c=this.j[1],f=a[4],u=c[4],h=[],l=[];for(e=0;256>e;e++)l[(h[e]=e<<1^283*(e>>7))^e]=e;for(t=r=0;!f[t];t^=n||1,r=l[r]||1)for(o=r^r<<1^r<<2^r<<3^r<<4,o=o>>8^255&o^99,f[t]=o,u[o]=t,i=h[e=h[n=h[t]]],s=16843009*i^65537*e^257*n^16843008*t,i=257*h[o]^16843008*o,e=0;4>e;e++)a[e][t]=i=i<<24^i>>>8,c[e][o]=s=s<<24^s>>>8;for(e=0;5>e;e++)a[e]=a[e].slice(0),c[e]=c[e].slice(0)}},i.bitArray={bitSlice:function(e,t,r){return e=i.bitArray.v(e.slice(t/32),32-(31&t)).slice(1),void 0===r?e:i.bitArray.clamp(e,r-t)},extract:function(e,t,r){var n=Math.floor(-t-r&31);return(-32&(t+r-1^t)?e[t/32|0]<<32-n^e[t/32+1|0]>>>n:e[t/32|0]>>>n)&(1<<r)-1},concat:function(e,t){if(0===e.length||0===t.length)return e.concat(t);var r=e[e.length-1],n=i.bitArray.getPartial(r);return 32===n?e.concat(t):i.bitArray.v(t,n,0|r,e.slice(0,e.length-1))},bitLength:function(e){var t=e.length;return 0===t?0:32*(t-1)+i.bitArray.getPartial(e[t-1])},clamp:function(e,t){if(32*e.length<t)return e;var r=(e=e.slice(0,Math.ceil(t/32))).length;return t&=31,0<r&&t&&(e[r-1]=i.bitArray.partial(t,e[r-1]&2147483648>>t-1,1)),e},partial:function(e,t,r){return 32===e?t:(r?0|t:t<<32-e)+1099511627776*e},getPartial:function(e){return Math.round(e/1099511627776)||32},equal:function(e,t){if(i.bitArray.bitLength(e)!==i.bitArray.bitLength(t))return!1;var r,n=0;for(r=0;r<e.length;r++)n|=e[r]^t[r];return 0===n},v:function(e,t,r,n){var o;for(o=0,void 0===n&&(n=[]);32<=t;t-=32)n.push(r),r=0;if(0===t)return n.concat(e);for(o=0;o<e.length;o++)n.push(r|e[o]>>>t),r=e[o]<<32-t;return o=e.length?e[e.length-1]:0,e=i.bitArray.getPartial(o),n.push(i.bitArray.partial(t+e&31,32<t+e?r:n.pop(),1)),n},D:function(e,t){return[e[0]^t[0],e[1]^t[1],e[2]^t[2],e[3]^t[3]]},byteswapM:function(e){var t,r;for(t=0;t<e.length;++t)r=e[t],e[t]=r>>>24|r>>>8&65280|(65280&r)<<8|r<<24;return e}},i.codec.utf8String={fromBits:function(e){var t,r,n="",o=i.bitArray.bitLength(e);for(t=0;t<o/8;t++)0==(3&t)&&(r=e[t/4]),n+=String.fromCharCode(r>>>24),r<<=8;return decodeURIComponent(escape(n))},toBits:function(e){e=unescape(encodeURIComponent(e));var t,r=[],n=0;for(t=0;t<e.length;t++)n=n<<8|e.charCodeAt(t),3==(3&t)&&(r.push(n),n=0);return 3&t&&r.push(i.bitArray.partial(8*(3&t),n)),r}},i.codec.hex={fromBits:function(e){var t,r="";for(t=0;t<e.length;t++)r+=(0xf00000000000+(0|e[t])).toString(16).substr(4);return r.substr(0,i.bitArray.bitLength(e)/4)},toBits:function(e){var t,r,n=[];for(r=(e=e.replace(/\s|0x/g,"")).length,e+="00000000",t=0;t<e.length;t+=8)n.push(0^parseInt(e.substr(t,8),16));return i.bitArray.clamp(n,4*r)}},i.hash.sha256=function(e){this.c[0]||this.m(),e?(this.f=e.f.slice(0),this.b=e.b.slice(0),this.a=e.a):this.reset()},i.hash.sha256.hash=function(e){return(new i.hash.sha256).update(e).finalize()},i.hash.sha256.prototype={blockSize:512,reset:function(){return this.f=this.i.slice(0),this.b=[],this.a=0,this},update:function(e){"string"==typeof e&&(e=i.codec.utf8String.toBits(e));var t,r=this.b=i.bitArray.concat(this.b,e);if(t=this.a,9007199254740991<(e=this.a=t+i.bitArray.bitLength(e)))throw new i.exception.invalid("Cannot hash more than 2^53 - 1 bits");if("undefined"!=typeof Uint32Array){var n=new Uint32Array(r),o=0;for(t=512+t-(512+t&511);t<=e;t+=512)this.g(n.subarray(16*o,16*(o+1))),o+=1;r.splice(0,16*o)}else for(t=512+t-(512+t&511);t<=e;t+=512)this.g(r.splice(0,16));return this},finalize:function(){var e,t=this.b,r=this.f;for(e=(t=i.bitArray.concat(t,[i.bitArray.partial(1,1)])).length+2;15&e;e++)t.push(0);for(t.push(Math.floor(this.a/4294967296)),t.push(0|this.a);t.length;)this.g(t.splice(0,16));return this.reset(),r},i:[],c:[],m:function(){function e(e){return 4294967296*(e-Math.floor(e))|0}for(var t,r,n=0,i=2;64>n;i++){for(r=!0,t=2;t*t<=i;t++)if(0==i%t){r=!1;break}r&&(8>n&&(this.i[n]=e(Math.pow(i,.5))),this.c[n]=e(Math.pow(i,1/3)),n++)}},g:function(e){var t,r,n,i=this.f,o=this.c,s=i[0],a=i[1],c=i[2],f=i[3],u=i[4],h=i[5],l=i[6],d=i[7];for(t=0;64>t;t++)16>t?r=e[t]:(r=e[t+1&15],n=e[t+14&15],r=e[15&t]=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(n>>>17^n>>>19^n>>>10^n<<15^n<<13)+e[15&t]+e[t+9&15]|0),r=r+d+(u>>>6^u>>>11^u>>>25^u<<26^u<<21^u<<7)+(l^u&(h^l))+o[t],d=l,l=h,h=u,u=f+r|0,f=c,c=a,a=s,s=r+(a&c^f&(a^c))+(a>>>2^a>>>13^a>>>22^a<<30^a<<19^a<<10)|0;i[0]=i[0]+s|0,i[1]=i[1]+a|0,i[2]=i[2]+c|0,i[3]=i[3]+f|0,i[4]=i[4]+u|0,i[5]=i[5]+h|0,i[6]=i[6]+l|0,i[7]=i[7]+d|0}},i.hash.sha512=function(e){this.c[0]||this.m(),e?(this.f=e.f.slice(0),this.b=e.b.slice(0),this.a=e.a):this.reset()},i.hash.sha512.hash=function(e){return(new i.hash.sha512).update(e).finalize()},i.hash.sha512.prototype={blockSize:1024,reset:function(){return this.f=this.i.slice(0),this.b=[],this.a=0,this},update:function(e){"string"==typeof e&&(e=i.codec.utf8String.toBits(e));var t,r=this.b=i.bitArray.concat(this.b,e);if(t=this.a,9007199254740991<(e=this.a=t+i.bitArray.bitLength(e)))throw new i.exception.invalid("Cannot hash more than 2^53 - 1 bits");if("undefined"!=typeof Uint32Array){var n=new Uint32Array(r),o=0;for(t=1024+t-(1024+t&1023);t<=e;t+=1024)this.g(n.subarray(32*o,32*(o+1))),o+=1;r.splice(0,32*o)}else for(t=1024+t-(1024+t&1023);t<=e;t+=1024)this.g(r.splice(0,32));return this},finalize:function(){var e,t=this.b,r=this.f;for(e=(t=i.bitArray.concat(t,[i.bitArray.partial(1,1)])).length+4;31&e;e++)t.push(0);for(t.push(0),t.push(0),t.push(Math.floor(this.a/4294967296)),t.push(0|this.a);t.length;)this.g(t.splice(0,32));return this.reset(),r},i:[],B:[12372232,13281083,9762859,1914609,15106769,4090911,4308331,8266105],c:[],C:[2666018,15689165,5061423,9034684,4764984,380953,1658779,7176472,197186,7368638,14987916,16757986,8096111,1480369,13046325,6891156,15813330,5187043,9229749,11312229,2818677,10937475,4324308,1135541,6741931,11809296,16458047,15666916,11046850,698149,229999,945776,13774844,2541862,12856045,9810911,11494366,7844520,15576806,8533307,15795044,4337665,16291729,5553712,15684120,6662416,7413802,12308920,13816008,4303699,9366425,10176680,13195875,4295371,6546291,11712675,15708924,1519456,15772530,6568428,6495784,8568297,13007125,7492395,2515356,12632583,14740254,7262584,1535930,13146278,16321966,1853211,294276,13051027,13221564,1051980,4080310,6651434,14088940,4675607],m:function(){function e(e){return 4294967296*(e-Math.floor(e))|0}function t(e){return 1099511627776*(e-Math.floor(e))&255}for(var r,n,i=0,o=2;80>i;o++){for(n=!0,r=2;r*r<=o;r++)if(0==o%r){n=!1;break}n&&(8>i&&(this.i[2*i]=e(Math.pow(o,.5)),this.i[2*i+1]=t(Math.pow(o,.5))<<24|this.B[i]),this.c[2*i]=e(Math.pow(o,1/3)),this.c[2*i+1]=t(Math.pow(o,1/3))<<24|this.C[i],i++)}},g:function(e){var t,r,n,i=this.f,o=this.c,s=i[0],a=i[1],c=i[2],f=i[3],u=i[4],h=i[5],l=i[6],d=i[7],p=i[8],b=i[9],y=i[10],v=i[11],m=i[12],g=i[13],w=i[14],_=i[15];if("undefined"!=typeof Uint32Array){n=Array(160);for(E=0;32>E;E++)n[E]=e[E]}else n=e;var E=s,S=a,k=c,A=f,x=u,I=h,T=l,B=d,P=p,M=b,C=y,R=v,O=m,L=g,j=w,N=_;for(e=0;80>e;e++){if(16>e)t=n[2*e],r=n[2*e+1];else{r=n[2*(e-15)];t=((D=n[2*(e-15)+1])<<31|r>>>1)^(D<<24|r>>>8)^r>>>7;G=(r<<31|D>>>1)^(r<<24|D>>>8)^(r<<25|D>>>7);r=n[2*(e-2)];var D=((U=n[2*(e-2)+1])<<13|r>>>19)^(r<<3|U>>>29)^r>>>6,U=(r<<13|U>>>19)^(U<<3|r>>>29)^(r<<26|U>>>6),K=n[2*(e-7)],H=n[2*(e-16)],z=n[2*(e-16)+1];t=t+K+((r=G+n[2*(e-7)+1])>>>0<G>>>0?1:0),t+=D+((r+=U)>>>0<U>>>0?1:0),t+=H+((r+=z)>>>0<z>>>0?1:0)}n[2*e]=t|=0,n[2*e+1]=r|=0;var K=P&C^~P&O,q=M&R^~M&L,U=E&k^E&x^k&x,F=S&A^S&I^A&I,H=(S<<4|E>>>28)^(E<<30|S>>>2)^(E<<25|S>>>7),z=(E<<4|S>>>28)^(S<<30|E>>>2)^(S<<25|E>>>7),W=o[2*e],V=o[2*e+1],G=(G=(G=(G=j+((M<<18|P>>>14)^(M<<14|P>>>18)^(P<<23|M>>>9))+((D=N+((P<<18|M>>>14)^(P<<14|M>>>18)^(M<<23|P>>>9)))>>>0<N>>>0?1:0))+(K+((D=D+q)>>>0<q>>>0?1:0)))+(W+((D=D+V)>>>0<V>>>0?1:0)))+(t+((D=D+r|0)>>>0<r>>>0?1:0));t=H+U+((r=z+F)>>>0<z>>>0?1:0),j=O,N=L,O=C,L=R,C=P,R=M,P=T+G+((M=B+D|0)>>>0<B>>>0?1:0)|0,T=x,B=I,x=k,I=A,k=E,A=S,E=G+t+((S=D+r|0)>>>0<D>>>0?1:0)|0}a=i[1]=a+S|0,i[0]=s+E+(a>>>0<S>>>0?1:0)|0,f=i[3]=f+A|0,i[2]=c+k+(f>>>0<A>>>0?1:0)|0,h=i[5]=h+I|0,i[4]=u+x+(h>>>0<I>>>0?1:0)|0,d=i[7]=d+B|0,i[6]=l+T+(d>>>0<B>>>0?1:0)|0,b=i[9]=b+M|0,i[8]=p+P+(b>>>0<M>>>0?1:0)|0,v=i[11]=v+R|0,i[10]=y+C+(v>>>0<R>>>0?1:0)|0,g=i[13]=g+L|0,i[12]=m+O+(g>>>0<L>>>0?1:0)|0,_=i[15]=_+N|0,i[14]=w+j+(_>>>0<N>>>0?1:0)|0}},i.mode.gcm={name:"gcm",encrypt:function(e,t,r,n,o){var s=t.slice(0);return t=i.bitArray,n=n||[],e=i.mode.gcm.s(!0,e,s,n,r,o||128),t.concat(e.data,e.tag)},decrypt:function(e,t,r,n,o){var s=t.slice(0),a=i.bitArray,c=a.bitLength(s);if(o=o||128,n=n||[],o<=c?(t=a.bitSlice(s,c-o),s=a.bitSlice(s,0,c-o)):(t=s,s=[]),e=i.mode.gcm.s(!1,e,s,n,r,o),!a.equal(e.tag,t))throw new i.exception.corrupt("gcm: tag doesn't match");return e.data},A:function(e,t){var r,n,o,s,a,c=i.bitArray.D;for(o=[0,0,0,0],s=t.slice(0),r=0;128>r;r++){for((n=0!=(e[Math.floor(r/32)]&1<<31-r%32))&&(o=c(o,s)),a=0!=(1&s[3]),n=3;0<n;n--)s[n]=s[n]>>>1|(1&s[n-1])<<31;s[0]>>>=1,a&&(s[0]^=-520093696)}return o},h:function(e,t,r){var n,o=r.length;for(t=t.slice(0),n=0;n<o;n+=4)t[0]^=4294967295&r[n],t[1]^=4294967295&r[n+1],t[2]^=4294967295&r[n+2],t[3]^=4294967295&r[n+3],t=i.mode.gcm.A(t,e);return t},s:function(e,t,r,n,o,s){var a,c,f,u,h,l,d,p,b=i.bitArray;for(l=r.length,d=b.bitLength(r),p=b.bitLength(n),c=b.bitLength(o),a=t.encrypt([0,0,0,0]),96===c?(o=o.slice(0),o=b.concat(o,[1])):(o=i.mode.gcm.h(a,[0,0,0,0],o),o=i.mode.gcm.h(a,o,[0,0,Math.floor(c/4294967296),4294967295&c])),c=i.mode.gcm.h(a,[0,0,0,0],n),h=o.slice(0),n=c.slice(0),e||(n=i.mode.gcm.h(a,c,r)),u=0;u<l;u+=4)h[3]++,f=t.encrypt(h),r[u]^=f[0],r[u+1]^=f[1],r[u+2]^=f[2],r[u+3]^=f[3];return r=b.clamp(r,d),e&&(n=i.mode.gcm.h(a,c,r)),e=[Math.floor(p/4294967296),4294967295&p,Math.floor(d/4294967296),4294967295&d],n=i.mode.gcm.h(a,n,e),f=t.encrypt(o),n[0]^=f[0],n[1]^=f[1],n[2]^=f[2],n[3]^=f[3],{tag:b.bitSlice(n,0,s),data:r}}},i.misc.hmac=function(e,t){this.u=t=t||i.hash.sha256;var r,n=[[],[]],o=t.prototype.blockSize/32;for(this.l=[new t,new t],e.length>o&&(e=t.hash(e)),r=0;r<o;r++)n[0][r]=909522486^e[r],n[1][r]=1549556828^e[r];this.l[0].update(n[0]),this.l[1].update(n[1]),this.o=new t(this.l[0])},i.misc.hmac.prototype.encrypt=i.misc.hmac.prototype.mac=function(e){if(this.w)throw new i.exception.invalid("encrypt on already updated hmac called!");return this.update(e),this.digest(e)},i.misc.hmac.prototype.reset=function(){this.o=new this.u(this.l[0]),this.w=!1},i.misc.hmac.prototype.update=function(e){this.w=!0,this.o.update(e)},i.misc.hmac.prototype.digest=function(){var e=this.o.finalize(),e=new this.u(this.l[1]).update(e).finalize();return this.reset(),e},i.misc.pbkdf2=function(e,t,r,n,o){if(r=r||1e4,0>n||0>r)throw new i.exception.invalid("invalid params to pbkdf2");"string"==typeof e&&(e=i.codec.utf8String.toBits(e)),"string"==typeof t&&(t=i.codec.utf8String.toBits(t)),e=new(o=o||i.misc.hmac)(e);var s,a,c,f,u=[],h=i.bitArray;for(f=1;32*u.length<(n||1);f++){for(o=s=e.encrypt(h.concat(t,[f])),a=1;a<r;a++)for(s=e.encrypt(s),c=0;c<s.length;c++)o[c]^=s[c];u=u.concat(o)}return n&&(u=h.clamp(u,n)),u},void 0!==t&&t.exports&&(t.exports=i),"function"==typeof define&&define([],function(){return i})},{}],346:[function(e,t,r){function n(){i.call(this)}t.exports=n;var i=e("events").EventEmitter;e("inherits")(n,i),n.Readable=e("readable-stream/readable.js"),n.Writable=e("readable-stream/writable.js"),n.Duplex=e("readable-stream/duplex.js"),n.Transform=e("readable-stream/transform.js"),n.PassThrough=e("readable-stream/passthrough.js"),n.Stream=n,n.prototype.pipe=function(e,t){function r(t){e.writable&&!1===e.write(t)&&f.pause&&f.pause()}function n(){f.readable&&f.resume&&f.resume()}function o(){u||(u=!0,e.end())}function s(){u||(u=!0,"function"==typeof e.destroy&&e.destroy())}function a(e){if(c(),0===i.listenerCount(this,"error"))throw e}function c(){f.removeListener("data",r),e.removeListener("drain",n),f.removeListener("end",o),f.removeListener("close",s),f.removeListener("error",a),e.removeListener("error",a),f.removeListener("end",c),f.removeListener("close",c),e.removeListener("close",c)}var f=this;f.on("data",r),e.on("drain",n),e._isStdio||t&&!1===t.end||(f.on("end",o),f.on("close",s));var u=!1;return f.on("error",a),e.on("error",a),f.on("end",c),f.on("close",c),e.on("close",c),e.emit("pipe",f),e}},{events:230,inherits:248,"readable-stream/duplex.js":301,"readable-stream/passthrough.js":307,"readable-stream/readable.js":308,"readable-stream/transform.js":309,"readable-stream/writable.js":310}],347:[function(e,t,r){function n(e){return e.toString(this.encoding)}function i(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function o(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var Buffer=e("buffer").Buffer,s=Buffer.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},a=r.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!s(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=i;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=o;break;default:return void(this.write=n)}this.charBuffer=new Buffer(6),this.charReceived=0,this.charLength=0};a.prototype.write=function(e){for(var t="";this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";e=e.slice(r,e.length);if(!((i=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))>=55296&&i<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);n=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,n),n-=this.charReceived);var n=(t+=e.toString(this.encoding,0,n)).length-1,i=t.charCodeAt(n);if(i>=55296&&i<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,n)}return t},a.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(t<=2&&r>>4==14){this.charLength=3;break}if(t<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=t},a.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;t+=n.slice(0,r).toString(i)}return t}},{buffer:105}],348:[function(e,t,r){t.exports=function(t){return t.signer=t.signer||e("./lib/signer-hmac-only"),e("./lib/index")(t)}},{"./lib/index":349,"./lib/signer-hmac-only":350}],349:[function(e,t,r){function n(e,t){return e.get?e.get(t):e.getHeader(t)}function i(e){this.name="MissingHeaderError",this.message=e,this.stack=(new Error).stack}function o(e){this.name="InvalidAlgorithmError",this.message=e,this.stack=(new Error).stack}function s(e){var t=e.match(/^(?:(.*?):\/\/?)?\/?(?:[^\/\.]+\.)*?([^\/\.]+)\.?([^\/]*)(?:([^?]*)?(?:\?(‌​[^#]*))?)?(.*)?/);return!!t&&t[4]+(t[6]||"")}function a(e){return parseInt(e,10)<10&&(e="0"+e),e}function c(e,t){if(t.headers||(t.headers=["date"]),n(e,"Date")||-1===t.headers.indexOf("date")||e.set("Date",function(){var e=new Date;return["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][e.getUTCDay()]+", "+a(e.getUTCDate())+" "+["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][e.getUTCMonth()]+" "+e.getUTCFullYear()+" "+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+" GMT"}()),t.algorithm||(t.algorithm="rsa-sha256"),t.httpVersion||(t.httpVersion="1.1"),t.algorithm=t.algorithm.toLowerCase(),!u[t.algorithm])throw new o(t.algorithm+" is not supported");var r,c,l="";for(r=0;r<t.headers.length;r++){if("string"!=typeof t.headers[r])throw new TypeError("options.headers must be an array of Strings");var d=t.headers[r].toLowerCase();if("request-line"===d)c=l+=e.method+" "+s(e.url)+" HTTP/"+t.httpVersion;else if("(request-target)"===d)c=l+="(request-target): "+e.method.toLowerCase()+" "+s(e.url);else{if(!(c=n(e,d)))throw new i(d+" was not in the request");l+=d+": "+c}r+1<t.headers.length&&(l+="\n")}var p=t.signer(l,t);return e.set("Authorization",f(h,t.keyId,t.algorithm,t.headers.join(" "),p)),!0}var f=e("util").format;i.prototype=new Error,o.prototype=new Error;var u={"rsa-sha1":!0,"rsa-sha256":!0,"rsa-sha512":!0,"dsa-sha1":!0,"hmac-sha1":!0,"hmac-sha256":!0,"hmac-sha512":!0},h='Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"';t.exports=function(e){return function(t){return c(t,e),t}}},{util:362}],350:[function(e,t,r){var n=e("create-hmac");t.exports=function(e,t){var r=t.algorithm.match(/(hmac|rsa)-(\w+)/);if("hmac"!==r[1])throw new Error("Only HMAC is supported!");var i=n(r[2].toUpperCase(),t.key);return i.update(e),i.digest("base64")}},{"create-hmac":133}],351:[function(e,t,r){function n(e){return e===Object(e)}function i(e){if(!n(e))return e;var t=[];for(var r in e)null!=e[r]&&t.push(encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t.join("&")}function o(e){for(var t,r={},n=e.split("&"),i=0,o=n.length;i<o;++i)t=n[i].split("="),r[decodeURIComponent(t[0])]=decodeURIComponent(t[1]);return r}function s(e,t){t=t||{},this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method?this.xhr.responseText:null,this.setStatusProperties(this.xhr.status),this.header=this.headers=function(e){var t,r,n,i,o=e.split(/\r?\n/),s={};o.pop();for(var a=0,c=o.length;a<c;++a)t=(r=o[a]).indexOf(":"),n=r.slice(0,t).toLowerCase(),i=l(r.slice(t+1)),s[n]=i;return s}(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this.setHeaderProperties(this.header),this.body="HEAD"!=this.req.method?this.parseBody(this.text):null}function a(e,t){var r=this;f.call(this),this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",function(){var e=null,t=null;try{t=new s(r)}catch(t){(e=new Error("Parser is unable to parse the response")).parse=!0,e.original=t}r.callback(e,t)})}function c(e,t){return"function"==typeof t?new a("GET",e).end(t):1==arguments.length?new a("GET",e):new a(e,t)}var f=e("emitter"),u=e("reduce"),h="undefined"==typeof window?this:window,l="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};c.serializeObject=i,c.parseString=o,c.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},c.serialize={"application/x-www-form-urlencoded":i,"application/json":JSON.stringify},c.parse={"application/x-www-form-urlencoded":o,"application/json":JSON.parse},s.prototype.get=function(e){return this.header[e.toLowerCase()]},s.prototype.setHeaderProperties=function(e){var t=this.header["content-type"]||"";this.type=function(e){return e.split(/ *; */).shift()}(t);var r=function(e){return u(e.split(/ *; */),function(e,t){var r=t.split(/ *= */),n=r.shift(),i=r.shift();return n&&i&&(e[n]=i),e},{})}(t);for(var n in r)this[n]=r[n]},s.prototype.parseBody=function(e){var t=c.parse[this.type];return t&&e&&e.length?t(e):null},s.prototype.setStatusProperties=function(e){var t=e/100|0;this.status=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e||1223==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.notFound=404==e,this.forbidden=403==e},s.prototype.toError=function(){var e=this.req,t=e.method,r=e.url,n="cannot "+t+" "+r+" ("+this.status+")",i=new Error(n);return i.status=this.status,i.method=t,i.url=r,i},c.Response=s,f(a.prototype),a.prototype.use=function(e){return e(this),this},a.prototype.timeout=function(e){return this._timeout=e,this},a.prototype.clearTimeout=function(){return this._timeout=0,clearTimeout(this._timer),this},a.prototype.abort=function(){if(!this.aborted)return this.aborted=!0,this.xhr.abort(),this.clearTimeout(),this.emit("abort"),this},a.prototype.set=function(e,t){if(n(e)){for(var r in e)this.set(r,e[r]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},a.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},a.prototype.getHeader=function(e){return this._header[e.toLowerCase()]},a.prototype.type=function(e){return this.set("Content-Type",c.types[e]||e),this},a.prototype.accept=function(e){return this.set("Accept",c.types[e]||e),this},a.prototype.auth=function(e,t){var r=btoa(e+":"+t);return this.set("Authorization","Basic "+r),this},a.prototype.query=function(e){return"string"!=typeof e&&(e=i(e)),e&&this._query.push(e),this},a.prototype.field=function(e,t){return this._formData||(this._formData=new FormData),this._formData.append(e,t),this},a.prototype.attach=function(e,t,r){return this._formData||(this._formData=new FormData),this._formData.append(e,t,r),this},a.prototype.send=function(e){var t=n(e),r=this.getHeader("Content-Type");if(t&&n(this._data))for(var i in e)this._data[i]=e[i];else"string"==typeof e?(r||this.type("form"),r=this.getHeader("Content-Type"),this._data="application/x-www-form-urlencoded"==r?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return t?(r||this.type("json"),this):this},a.prototype.callback=function(e,t){var r=this._callback;return this.clearTimeout(),2==r.length?r(e,t):e?this.emit("error",e):void r(t)},a.prototype.crossDomainError=function(){var e=new Error("Origin is not allowed by Access-Control-Allow-Origin");e.crossDomain=!0,this.callback(e)},a.prototype.timeoutError=function(){var e=this._timeout,t=new Error("timeout of "+e+"ms exceeded");t.timeout=e,this.callback(t)},a.prototype.withCredentials=function(){return this._withCredentials=!0,this},a.prototype.end=function(e){var t=this,r=this.xhr=function(){if(h.XMLHttpRequest&&("file:"!=h.location.protocol||!h.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}return!1}(),n=this._query.join("&"),i=this._timeout,o=this._formData||this._data;if(this._callback=e||function(){},r.onreadystatechange=function(){if(4==r.readyState)return 0==r.status?t.aborted?t.timeoutError():t.crossDomainError():void t.emit("end")},r.upload&&(r.upload.onprogress=function(e){e.percent=e.loaded/e.total*100,t.emit("progress",e)}),i&&!this._timer&&(this._timer=setTimeout(function(){t.abort()},i)),n&&(n=c.serializeObject(n),this.url+=~this.url.indexOf("?")?"&"+n:"?"+n),r.open(this.method,this.url,!0),this._withCredentials&&(r.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof o&&!function(e){switch({}.toString.call(e)){case"[object File]":case"[object Blob]":case"[object FormData]":return!0;default:return!1}}(o)){var s=c.serialize[this.getHeader("Content-Type")];s&&(o=s(o))}for(var a in this.header)null!=this.header[a]&&r.setRequestHeader(a,this.header[a]);return this.emit("request",this),r.send(o),this},c.Request=a,c.get=function(e,t,r){var n=c("GET",e);return"function"==typeof t&&(r=t,t=null),t&&n.query(t),r&&n.end(r),n},c.head=function(e,t,r){var n=c("HEAD",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},c.del=function(e,t){var r=c("DELETE",e);return t&&r.end(t),r},c.patch=function(e,t,r){var n=c("PATCH",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},c.post=function(e,t,r){var n=c("POST",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},c.put=function(e,t,r){var n=c("PUT",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},t.exports=c},{emitter:110,reduce:311}],352:[function(e,t,r){function n(e){return e.name||e.toString().match(/function (.*?)\s*\(/)[1]}function i(e){return f.Nil(e)?"":n(e.constructor)}function o(e){return f.Function(e)?e.toJSON?e.toJSON():n(e):f.Array(e)?"Array":e&&f.Object(e)?"Object":void 0!==e?e:""}function s(e,t,r){var n=function(e){return f.Function(e)?"":f.String(e)?JSON.stringify(e):e&&f.Object(e)?"":e}(t);return"Expected "+o(e)+", got"+(""!==r?" "+r:"")+(""!==n?" "+n:"")}function a(e,t,r){r=r||i(t),this.message=s(e,t,r),Error.captureStackTrace(this,a),this.__type=e,this.__value=t,this.__valueTypeName=r}function c(e,t,r,n,c){e?(c=c||i(n),this.message=function(e,t,r,n,i){var a='" of type ';return"key"===t&&(a='" with key type '),s('property "'+o(r)+a+o(e),n,i)}(e,r,t,n,c)):this.message='Unexpected property "'+t+'"',Error.captureStackTrace(this,a),this.__label=r,this.__property=t,this.__type=e,this.__value=n,this.__valueTypeName=c}var f=e("./native");(a.prototype=Object.create(Error.prototype)).constructor=a,(c.prototype=Object.create(Error.prototype)).constructor=a,t.exports={TfTypeError:a,TfPropertyTypeError:c,tfCustomError:function(e,t){return new a(e,{},t)},tfSubError:function(e,t,r){return e instanceof c?(t=t+"."+e.__property,e=new c(e.__type,t,e.__label,e.__value,e.__valueTypeName)):e instanceof a&&(e=new c(e.__type,t,r,e.__value,e.__valueTypeName)),Error.captureStackTrace(e),e},tfJSON:o,getValueTypeName:i}},{"./native":355}],353:[function(e,t,r){(function(Buffer){function r(e){return Buffer.isBuffer(e)}function n(e){return"string"==typeof e&&/^([0-9a-f]{2})+$/i.test(e)}function i(e,t){function r(r){if(!e(r))return!1;if(r.length===t)return!0;throw s.tfCustomError(n+"(Length: "+t+")",n+"(Length: "+r.length+")")}var n=e.toJSON();return r.toJSON=function(){return n},r}var o=e("./native"),s=e("./errors"),a=i.bind(null,o.Array),c=i.bind(null,r),f=i.bind(null,n),u=i.bind(null,o.String),h=Math.pow(2,53)-1,l={ArrayN:a,Buffer:r,BufferN:c,Finite:function(e){return"number"==typeof e&&isFinite(e)},Hex:n,HexN:f,Int8:function(e){return e<<24>>24===e},Int16:function(e){return e<<16>>16===e},Int32:function(e){return(0|e)===e},StringN:u,UInt8:function(e){return(255&e)===e},UInt16:function(e){return(65535&e)===e},UInt32:function(e){return e>>>0===e},UInt53:function(e){return"number"==typeof e&&e>=0&&e<=h&&Math.floor(e)===e}};for(var d in l)l[d].toJSON=function(e){return e}.bind(null,d);t.exports=l}).call(this,{isBuffer:e("../is-buffer/index.js")})},{"../is-buffer/index.js":249,"./errors":352,"./native":355}],354:[function(e,t,r){function n(e){return a.String(e)?"?"===e[0]?d.maybe(e.slice(1)):a[e]||d.quacksLike(e):e&&a.Object(e)?a.Array(e)?d.arrayOf(e[0]):d.object(e):a.Function(e)?e:d.value(e)}function i(e,t,r,o){if(a.Function(e)){if(e(t,r))return!0;throw new f(o||e,t)}return i(n(e),t,r)}function o(e,t,r,n){if("function"==typeof r)return o(e,t,!1,r);try{i(e,t,r)}catch(e){return n(e)}n()}var s=e("./errors"),a=e("./native"),c=s.tfJSON,f=s.TfTypeError,u=s.TfPropertyTypeError,h=s.tfSubError,l=s.getValueTypeName,d={arrayOf:function(e){function t(t,r){return!!a.Array(t)&&(!a.Nil(t)&&t.every(function(t,n){try{return i(e,t,r)}catch(e){throw h(e,n)}}))}return e=n(e),t.toJSON=function(){return"["+c(e)+"]"},t},maybe:function e(t){function r(r,n){return a.Nil(r)||t(r,n,e)}return t=n(t),r.toJSON=function(){return"?"+c(t)},r},map:function(e,t){function r(r,n){if(!a.Object(r))return!1;if(a.Nil(r))return!1;for(var o in r){try{t&&i(t,o,n)}catch(e){throw h(e,o,"key")}try{var s=r[o];i(e,s,n)}catch(e){throw h(e,o)}}return!0}return e=n(e),t&&(t=n(t)),r.toJSON=t?function(){return"{"+c(t)+": "+c(e)+"}"}:function(){return"{"+c(e)+"}"},r},object:function(e){function t(e,t){if(!a.Object(e))return!1;if(a.Nil(e))return!1;var n;try{for(n in r){i(r[n],e[n],t)}}catch(e){throw h(e,n)}if(t)for(n in e)if(!r[n])throw new u(void 0,n);return!0}var r={};for(var o in e)r[o]=n(e[o]);return t.toJSON=function(){return c(r)},t},oneOf:function(){function e(e,r){return t.some(function(t){try{return i(t,e,r)}catch(e){return!1}})}var t=[].slice.call(arguments).map(n);return e.toJSON=function(){return t.map(c).join("|")},e},quacksLike:function(e){function t(t){return e===l(t)}return t.toJSON=function(){return e},t},tuple:function(){function e(e,r){return!a.Nil(e)&&(!a.Nil(e.length)&&((!r||e.length===t.length)&&t.every(function(t,n){try{return i(t,e[n],r)}catch(e){throw h(e,n)}})))}var t=[].slice.call(arguments).map(n);return e.toJSON=function(){return"("+t.map(c).join(", ")+")"},e},value:function(e){function t(t){return t===e}return t.toJSON=function(){return e},t}};for(var p in a)i[p]=a[p];for(p in d)i[p]=d[p];var b=e("./extra");for(p in b)i[p]=b[p];i.async=o,i.compile=n,i.TfTypeError=f,i.TfPropertyTypeError=u,t.exports=i},{"./errors":352,"./extra":353,"./native":355}],355:[function(e,t,r){var n={Array:function(e){return null!==e&&void 0!==e&&e.constructor===Array},Boolean:function(e){return"boolean"==typeof e},Function:function(e){return"function"==typeof e},Nil:function(e){return void 0===e||null===e},Number:function(e){return"number"==typeof e},Object:function(e){return"object"==typeof e},String:function(e){return"string"==typeof e},"":function(){return!0}};n.Null=n.Nil;for(var i in n)n[i].toJSON=function(e){return e}.bind(null,i);t.exports=n},{}],356:[function(e,t,r){!function(e){"use strict";for(var r=[null,0,{}],n=10,i=44032,o=4352,s=4449,a=4519,c=19,f=21,u=28,h=f*u,l=c*h,d=function(e,t){this.codepoint=e,this.feature=t},p={},b=[],y=0;y<=255;++y)b[y]=0;var v=[function(e,t,n){return t<60||13311<t&&t<42607?new d(t,r):e(t,n)},function(e,t,r){var i=p[t];return i||(i=e(t,r)).feature&&++b[t>>8&255]>n&&(p[t]=i),i},function(e,t,r){return r?e(t,r):new d(t,null)},function(e,t,r){var n;if(t<o||o+c<=t&&t<i||i+l<t)return e(t,r);if(o<=t&&t<o+c){var p={},b=(t-o)*f;for(n=0;n<f;++n)p[s+n]=i+u*(n+b);return new d(t,[,,p])}var y=t-i,v=y%u,m=[];if(0!==v)m[0]=[i+y-v,a+v];else for(m[0]=[o+Math.floor(y/h),s+Math.floor(y%h/u)],m[2]={},n=1;n<u;++n)m[2][a+n]=t+n;return new d(t,m)},function(e,t,n){var i=65280&t,o=(d.udata[i]||{})[t];return o?new d(t,o):new d(t,r)}];d.fromCharCode=v.reduceRight(function(e,t){return function(r,n){return t(e,r,n)}},null),d.isHighSurrogate=function(e){return e>=55296&&e<=56319},d.isLowSurrogate=function(e){return e>=56320&&e<=57343},d.prototype.prepFeature=function(){this.feature||(this.feature=d.fromCharCode(this.codepoint,!0).feature)},d.prototype.toString=function(){if(this.codepoint<65536)return String.fromCharCode(this.codepoint);var e=this.codepoint-65536;return String.fromCharCode(Math.floor(e/1024)+55296,e%1024+56320)},d.prototype.getDecomp=function(){return this.prepFeature(),this.feature[0]||null},d.prototype.isCompatibility=function(){return this.prepFeature(),!!this.feature[1]&&256&this.feature[1]},d.prototype.isExclude=function(){return this.prepFeature(),!!this.feature[1]&&512&this.feature[1]},d.prototype.getCanonicalClass=function(){return this.prepFeature(),this.feature[1]?255&this.feature[1]:0},d.prototype.getComposite=function(e){if(this.prepFeature(),!this.feature[2])return null;var t=this.feature[2][e.codepoint];return t?d.fromCharCode(t):null};var m=function(e){this.str=e,this.cursor=0};m.prototype.next=function(){if(this.str&&this.cursor<this.str.length){var e,t=this.str.charCodeAt(this.cursor++);return d.isHighSurrogate(t)&&this.cursor<this.str.length&&d.isLowSurrogate(e=this.str.charCodeAt(this.cursor))&&(t=1024*(t-55296)+(e-56320)+65536,++this.cursor),d.fromCharCode(t)}return this.str=null,null};var g=function(e,t){this.it=e,this.canonical=t,this.resBuf=[]};g.prototype.next=function(){function e(t,r){var n=r.getDecomp();if(!n||t&&r.isCompatibility())return[r];for(var i=[],o=0;o<n.length;++o){var s=e(t,d.fromCharCode(n[o]));i=i.concat(s)}return i}if(0===this.resBuf.length){var t=this.it.next();if(!t)return null;this.resBuf=e(this.canonical,t)}return this.resBuf.shift()};var w=function(e){this.it=e,this.resBuf=[]};w.prototype.next=function(){var e;if(0===this.resBuf.length)do{var t=this.it.next();if(!t)break;e=t.getCanonicalClass();var r=this.resBuf.length;if(0!==e)for(;r>0;--r){if(this.resBuf[r-1].getCanonicalClass()<=e)break}this.resBuf.splice(r,0,t)}while(0!==e);return this.resBuf.shift()};var _=function(e){this.it=e,this.procBuf=[],this.resBuf=[],this.lastClass=null};_.prototype.next=function(){for(;0===this.resBuf.length;){var e=this.it.next();if(!e){this.resBuf=this.procBuf,this.procBuf=[];break}if(0===this.procBuf.length)this.lastClass=e.getCanonicalClass(),this.procBuf.push(e);else{var t=this.procBuf[0].getComposite(e),r=e.getCanonicalClass();t&&(this.lastClass<r||0===this.lastClass)?this.procBuf[0]=t:(0===r&&(this.resBuf=this.procBuf,this.procBuf=[]),this.lastClass=r,this.procBuf.push(e))}}return this.resBuf.shift()};var E=function(e,t){for(var r,n=function(e,t){switch(e){case"NFD":return new w(new g(new m(t),!0));case"NFKD":return new w(new g(new m(t),!1));case"NFC":return new _(new w(new g(new m(t),!0)));case"NFKC":return new _(new w(new g(new m(t),!1)))}throw e+" is invalid"}(e,t),i="";r=n.next();)i+=r.toString();return i};d.udata={0:{60:[,,{824:8814}],61:[,,{824:8800}],62:[,,{824:8815}],65:[,,{768:192,769:193,770:194,771:195,772:256,774:258,775:550,776:196,777:7842,778:197,780:461,783:512,785:514,803:7840,805:7680,808:260}],66:[,,{775:7682,803:7684,817:7686}],67:[,,{769:262,770:264,775:266,780:268,807:199}],68:[,,{775:7690,780:270,803:7692,807:7696,813:7698,817:7694}],69:[,,{768:200,769:201,770:202,771:7868,772:274,774:276,775:278,776:203,777:7866,780:282,783:516,785:518,803:7864,807:552,808:280,813:7704,816:7706}],70:[,,{775:7710}],71:[,,{769:500,770:284,772:7712,774:286,775:288,780:486,807:290}],72:[,,{770:292,775:7714,776:7718,780:542,803:7716,807:7720,814:7722}],73:[,,{768:204,769:205,770:206,771:296,772:298,774:300,775:304,776:207,777:7880,780:463,783:520,785:522,803:7882,808:302,816:7724}],74:[,,{770:308}],75:[,,{769:7728,780:488,803:7730,807:310,817:7732}],76:[,,{769:313,780:317,803:7734,807:315,813:7740,817:7738}],77:[,,{769:7742,775:7744,803:7746}],78:[,,{768:504,769:323,771:209,775:7748,780:327,803:7750,807:325,813:7754,817:7752}],79:[,,{768:210,769:211,770:212,771:213,772:332,774:334,775:558,776:214,777:7886,779:336,780:465,783:524,785:526,795:416,803:7884,808:490}],80:[,,{769:7764,775:7766}],82:[,,{769:340,775:7768,780:344,783:528,785:530,803:7770,807:342,817:7774}],83:[,,{769:346,770:348,775:7776,780:352,803:7778,806:536,807:350}],84:[,,{775:7786,780:356,803:7788,806:538,807:354,813:7792,817:7790}],85:[,,{768:217,769:218,770:219,771:360,772:362,774:364,776:220,777:7910,778:366,779:368,780:467,783:532,785:534,795:431,803:7908,804:7794,808:370,813:7798,816:7796}],86:[,,{771:7804,803:7806}],87:[,,{768:7808,769:7810,770:372,775:7814,776:7812,803:7816}],88:[,,{775:7818,776:7820}],89:[,,{768:7922,769:221,770:374,771:7928,772:562,775:7822,776:376,777:7926,803:7924}],90:[,,{769:377,770:7824,775:379,780:381,803:7826,817:7828}],97:[,,{768:224,769:225,770:226,771:227,772:257,774:259,775:551,776:228,777:7843,778:229,780:462,783:513,785:515,803:7841,805:7681,808:261}],98:[,,{775:7683,803:7685,817:7687}],99:[,,{769:263,770:265,775:267,780:269,807:231}],100:[,,{775:7691,780:271,803:7693,807:7697,813:7699,817:7695}],101:[,,{768:232,769:233,770:234,771:7869,772:275,774:277,775:279,776:235,777:7867,780:283,783:517,785:519,803:7865,807:553,808:281,813:7705,816:7707}],102:[,,{775:7711}],103:[,,{769:501,770:285,772:7713,774:287,775:289,780:487,807:291}],104:[,,{770:293,775:7715,776:7719,780:543,803:7717,807:7721,814:7723,817:7830}],105:[,,{768:236,769:237,770:238,771:297,772:299,774:301,776:239,777:7881,780:464,783:521,785:523,803:7883,808:303,816:7725}],106:[,,{770:309,780:496}],107:[,,{769:7729,780:489,803:7731,807:311,817:7733}],108:[,,{769:314,780:318,803:7735,807:316,813:7741,817:7739}],109:[,,{769:7743,775:7745,803:7747}],110:[,,{768:505,769:324,771:241,775:7749,780:328,803:7751,807:326,813:7755,817:7753}],111:[,,{768:242,769:243,770:244,771:245,772:333,774:335,775:559,776:246,777:7887,779:337,780:466,783:525,785:527,795:417,803:7885,808:491}],112:[,,{769:7765,775:7767}],114:[,,{769:341,775:7769,780:345,783:529,785:531,803:7771,807:343,817:7775}],115:[,,{769:347,770:349,775:7777,780:353,803:7779,806:537,807:351}],116:[,,{775:7787,776:7831,780:357,803:7789,806:539,807:355,813:7793,817:7791}],117:[,,{768:249,769:250,770:251,771:361,772:363,774:365,776:252,777:7911,778:367,779:369,780:468,783:533,785:535,795:432,803:7909,804:7795,808:371,813:7799,816:7797}],118:[,,{771:7805,803:7807}],119:[,,{768:7809,769:7811,770:373,775:7815,776:7813,778:7832,803:7817}],120:[,,{775:7819,776:7821}],121:[,,{768:7923,769:253,770:375,771:7929,772:563,775:7823,776:255,777:7927,778:7833,803:7925}],122:[,,{769:378,770:7825,775:380,780:382,803:7827,817:7829}],160:[[32],256],168:[[32,776],256,{768:8173,769:901,834:8129}],170:[[97],256],175:[[32,772],256],178:[[50],256],179:[[51],256],180:[[32,769],256],181:[[956],256],184:[[32,807],256],185:[[49],256],186:[[111],256],188:[[49,8260,52],256],189:[[49,8260,50],256],190:[[51,8260,52],256],192:[[65,768]],193:[[65,769]],194:[[65,770],,{768:7846,769:7844,771:7850,777:7848}],195:[[65,771]],196:[[65,776],,{772:478}],197:[[65,778],,{769:506}],198:[,,{769:508,772:482}],199:[[67,807],,{769:7688}],200:[[69,768]],201:[[69,769]],202:[[69,770],,{768:7872,769:7870,771:7876,777:7874}],203:[[69,776]],204:[[73,768]],205:[[73,769]],206:[[73,770]],207:[[73,776],,{769:7726}],209:[[78,771]],210:[[79,768]],211:[[79,769]],212:[[79,770],,{768:7890,769:7888,771:7894,777:7892}],213:[[79,771],,{769:7756,772:556,776:7758}],214:[[79,776],,{772:554}],216:[,,{769:510}],217:[[85,768]],218:[[85,769]],219:[[85,770]],220:[[85,776],,{768:475,769:471,772:469,780:473}],221:[[89,769]],224:[[97,768]],225:[[97,769]],226:[[97,770],,{768:7847,769:7845,771:7851,777:7849}],227:[[97,771]],228:[[97,776],,{772:479}],229:[[97,778],,{769:507}],230:[,,{769:509,772:483}],231:[[99,807],,{769:7689}],232:[[101,768]],233:[[101,769]],234:[[101,770],,{768:7873,769:7871,771:7877,777:7875}],235:[[101,776]],236:[[105,768]],237:[[105,769]],238:[[105,770]],239:[[105,776],,{769:7727}],241:[[110,771]],242:[[111,768]],243:[[111,769]],244:[[111,770],,{768:7891,769:7889,771:7895,777:7893}],245:[[111,771],,{769:7757,772:557,776:7759}],246:[[111,776],,{772:555}],248:[,,{769:511}],249:[[117,768]],250:[[117,769]],251:[[117,770]],252:[[117,776],,{768:476,769:472,772:470,780:474}],253:[[121,769]],255:[[121,776]]},256:{256:[[65,772]],257:[[97,772]],258:[[65,774],,{768:7856,769:7854,771:7860,777:7858}],259:[[97,774],,{768:7857,769:7855,771:7861,777:7859}],260:[[65,808]],261:[[97,808]],262:[[67,769]],263:[[99,769]],264:[[67,770]],265:[[99,770]],266:[[67,775]],267:[[99,775]],268:[[67,780]],269:[[99,780]],270:[[68,780]],271:[[100,780]],274:[[69,772],,{768:7700,769:7702}],275:[[101,772],,{768:7701,769:7703}],276:[[69,774]],277:[[101,774]],278:[[69,775]],279:[[101,775]],280:[[69,808]],281:[[101,808]],282:[[69,780]],283:[[101,780]],284:[[71,770]],285:[[103,770]],286:[[71,774]],287:[[103,774]],288:[[71,775]],289:[[103,775]],290:[[71,807]],291:[[103,807]],292:[[72,770]],293:[[104,770]],296:[[73,771]],297:[[105,771]],298:[[73,772]],299:[[105,772]],300:[[73,774]],301:[[105,774]],302:[[73,808]],303:[[105,808]],304:[[73,775]],306:[[73,74],256],307:[[105,106],256],308:[[74,770]],309:[[106,770]],310:[[75,807]],311:[[107,807]],313:[[76,769]],314:[[108,769]],315:[[76,807]],316:[[108,807]],317:[[76,780]],318:[[108,780]],319:[[76,183],256],320:[[108,183],256],323:[[78,769]],324:[[110,769]],325:[[78,807]],326:[[110,807]],327:[[78,780]],328:[[110,780]],329:[[700,110],256],332:[[79,772],,{768:7760,769:7762}],333:[[111,772],,{768:7761,769:7763}],334:[[79,774]],335:[[111,774]],336:[[79,779]],337:[[111,779]],340:[[82,769]],341:[[114,769]],342:[[82,807]],343:[[114,807]],344:[[82,780]],345:[[114,780]],346:[[83,769],,{775:7780}],347:[[115,769],,{775:7781}],348:[[83,770]],349:[[115,770]],350:[[83,807]],351:[[115,807]],352:[[83,780],,{775:7782}],353:[[115,780],,{775:7783}],354:[[84,807]],355:[[116,807]],356:[[84,780]],357:[[116,780]],360:[[85,771],,{769:7800}],361:[[117,771],,{769:7801}],362:[[85,772],,{776:7802}],363:[[117,772],,{776:7803}],364:[[85,774]],365:[[117,774]],366:[[85,778]],367:[[117,778]],368:[[85,779]],369:[[117,779]],370:[[85,808]],371:[[117,808]],372:[[87,770]],373:[[119,770]],374:[[89,770]],375:[[121,770]],376:[[89,776]],377:[[90,769]],378:[[122,769]],379:[[90,775]],380:[[122,775]],381:[[90,780]],382:[[122,780]],383:[[115],256,{775:7835}],416:[[79,795],,{768:7900,769:7898,771:7904,777:7902,803:7906}],417:[[111,795],,{768:7901,769:7899,771:7905,777:7903,803:7907}],431:[[85,795],,{768:7914,769:7912,771:7918,777:7916,803:7920}],432:[[117,795],,{768:7915,769:7913,771:7919,777:7917,803:7921}],439:[,,{780:494}],452:[[68,381],256],453:[[68,382],256],454:[[100,382],256],455:[[76,74],256],456:[[76,106],256],457:[[108,106],256],458:[[78,74],256],459:[[78,106],256],460:[[110,106],256],461:[[65,780]],462:[[97,780]],463:[[73,780]],464:[[105,780]],465:[[79,780]],466:[[111,780]],467:[[85,780]],468:[[117,780]],469:[[220,772]],470:[[252,772]],471:[[220,769]],472:[[252,769]],473:[[220,780]],474:[[252,780]],475:[[220,768]],476:[[252,768]],478:[[196,772]],479:[[228,772]],480:[[550,772]],481:[[551,772]],482:[[198,772]],483:[[230,772]],486:[[71,780]],487:[[103,780]],488:[[75,780]],489:[[107,780]],490:[[79,808],,{772:492}],491:[[111,808],,{772:493}],492:[[490,772]],493:[[491,772]],494:[[439,780]],495:[[658,780]],496:[[106,780]],497:[[68,90],256],498:[[68,122],256],499:[[100,122],256],500:[[71,769]],501:[[103,769]],504:[[78,768]],505:[[110,768]],506:[[197,769]],507:[[229,769]],508:[[198,769]],509:[[230,769]],510:[[216,769]],511:[[248,769]],66045:[,220]},512:{512:[[65,783]],513:[[97,783]],514:[[65,785]],515:[[97,785]],516:[[69,783]],517:[[101,783]],518:[[69,785]],519:[[101,785]],520:[[73,783]],521:[[105,783]],522:[[73,785]],523:[[105,785]],524:[[79,783]],525:[[111,783]],526:[[79,785]],527:[[111,785]],528:[[82,783]],529:[[114,783]],530:[[82,785]],531:[[114,785]],532:[[85,783]],533:[[117,783]],534:[[85,785]],535:[[117,785]],536:[[83,806]],537:[[115,806]],538:[[84,806]],539:[[116,806]],542:[[72,780]],543:[[104,780]],550:[[65,775],,{772:480}],551:[[97,775],,{772:481}],552:[[69,807],,{774:7708}],553:[[101,807],,{774:7709}],554:[[214,772]],555:[[246,772]],556:[[213,772]],557:[[245,772]],558:[[79,775],,{772:560}],559:[[111,775],,{772:561}],560:[[558,772]],561:[[559,772]],562:[[89,772]],563:[[121,772]],658:[,,{780:495}],688:[[104],256],689:[[614],256],690:[[106],256],691:[[114],256],692:[[633],256],693:[[635],256],694:[[641],256],695:[[119],256],696:[[121],256],728:[[32,774],256],729:[[32,775],256],730:[[32,778],256],731:[[32,808],256],732:[[32,771],256],733:[[32,779],256],736:[[611],256],737:[[108],256],738:[[115],256],739:[[120],256],740:[[661],256],66272:[,220]},768:{768:[,230],769:[,230],770:[,230],771:[,230],772:[,230],773:[,230],774:[,230],775:[,230],776:[,230,{769:836}],777:[,230],778:[,230],779:[,230],780:[,230],781:[,230],782:[,230],783:[,230],784:[,230],785:[,230],786:[,230],787:[,230],788:[,230],789:[,232],790:[,220],791:[,220],792:[,220],793:[,220],794:[,232],795:[,216],796:[,220],797:[,220],798:[,220],799:[,220],800:[,220],801:[,202],802:[,202],803:[,220],804:[,220],805:[,220],806:[,220],807:[,202],808:[,202],809:[,220],810:[,220],811:[,220],812:[,220],813:[,220],814:[,220],815:[,220],816:[,220],817:[,220],818:[,220],819:[,220],820:[,1],821:[,1],822:[,1],823:[,1],824:[,1],825:[,220],826:[,220],827:[,220],828:[,220],829:[,230],830:[,230],831:[,230],832:[[768],230],833:[[769],230],834:[,230],835:[[787],230],836:[[776,769],230],837:[,240],838:[,230],839:[,220],840:[,220],841:[,220],842:[,230],843:[,230],844:[,230],845:[,220],846:[,220],848:[,230],849:[,230],850:[,230],851:[,220],852:[,220],853:[,220],854:[,220],855:[,230],856:[,232],857:[,220],858:[,220],859:[,230],860:[,233],861:[,234],862:[,234],863:[,233],864:[,234],865:[,234],866:[,233],867:[,230],868:[,230],869:[,230],870:[,230],871:[,230],872:[,230],873:[,230],874:[,230],875:[,230],876:[,230],877:[,230],878:[,230],879:[,230],884:[[697]],890:[[32,837],256],894:[[59]],900:[[32,769],256],901:[[168,769]],902:[[913,769]],903:[[183]],904:[[917,769]],905:[[919,769]],906:[[921,769]],908:[[927,769]],910:[[933,769]],911:[[937,769]],912:[[970,769]],913:[,,{768:8122,769:902,772:8121,774:8120,787:7944,788:7945,837:8124}],917:[,,{768:8136,769:904,787:7960,788:7961}],919:[,,{768:8138,769:905,787:7976,788:7977,837:8140}],921:[,,{768:8154,769:906,772:8153,774:8152,776:938,787:7992,788:7993}],927:[,,{768:8184,769:908,787:8008,788:8009}],929:[,,{788:8172}],933:[,,{768:8170,769:910,772:8169,774:8168,776:939,788:8025}],937:[,,{768:8186,769:911,787:8040,788:8041,837:8188}],938:[[921,776]],939:[[933,776]],940:[[945,769],,{837:8116}],941:[[949,769]],942:[[951,769],,{837:8132}],943:[[953,769]],944:[[971,769]],945:[,,{768:8048,769:940,772:8113,774:8112,787:7936,788:7937,834:8118,837:8115}],949:[,,{768:8050,769:941,787:7952,788:7953}],951:[,,{768:8052,769:942,787:7968,788:7969,834:8134,837:8131}],953:[,,{768:8054,769:943,772:8145,774:8144,776:970,787:7984,788:7985,834:8150}],959:[,,{768:8056,769:972,787:8e3,788:8001}],961:[,,{787:8164,788:8165}],965:[,,{768:8058,769:973,772:8161,774:8160,776:971,787:8016,788:8017,834:8166}],969:[,,{768:8060,769:974,787:8032,788:8033,834:8182,837:8179}],970:[[953,776],,{768:8146,769:912,834:8151}],971:[[965,776],,{768:8162,769:944,834:8167}],972:[[959,769]],973:[[965,769]],974:[[969,769],,{837:8180}],976:[[946],256],977:[[952],256],978:[[933],256,{769:979,776:980}],979:[[978,769]],980:[[978,776]],981:[[966],256],982:[[960],256],1008:[[954],256],1009:[[961],256],1010:[[962],256],1012:[[920],256],1013:[[949],256],1017:[[931],256],66422:[,230],66423:[,230],66424:[,230],66425:[,230],66426:[,230]},1024:{1024:[[1045,768]],1025:[[1045,776]],1027:[[1043,769]],1030:[,,{776:1031}],1031:[[1030,776]],1036:[[1050,769]],1037:[[1048,768]],1038:[[1059,774]],1040:[,,{774:1232,776:1234}],1043:[,,{769:1027}],1045:[,,{768:1024,774:1238,776:1025}],1046:[,,{774:1217,776:1244}],1047:[,,{776:1246}],1048:[,,{768:1037,772:1250,774:1049,776:1252}],1049:[[1048,774]],1050:[,,{769:1036}],1054:[,,{776:1254}],1059:[,,{772:1262,774:1038,776:1264,779:1266}],1063:[,,{776:1268}],1067:[,,{776:1272}],1069:[,,{776:1260}],1072:[,,{774:1233,776:1235}],1075:[,,{769:1107}],1077:[,,{768:1104,774:1239,776:1105}],1078:[,,{774:1218,776:1245}],1079:[,,{776:1247}],1080:[,,{768:1117,772:1251,774:1081,776:1253}],1081:[[1080,774]],1082:[,,{769:1116}],1086:[,,{776:1255}],1091:[,,{772:1263,774:1118,776:1265,779:1267}],1095:[,,{776:1269}],1099:[,,{776:1273}],1101:[,,{776:1261}],1104:[[1077,768]],1105:[[1077,776]],1107:[[1075,769]],1110:[,,{776:1111}],1111:[[1110,776]],1116:[[1082,769]],1117:[[1080,768]],1118:[[1091,774]],1140:[,,{783:1142}],1141:[,,{783:1143}],1142:[[1140,783]],1143:[[1141,783]],1155:[,230],1156:[,230],1157:[,230],1158:[,230],1159:[,230],1217:[[1046,774]],1218:[[1078,774]],1232:[[1040,774]],1233:[[1072,774]],1234:[[1040,776]],1235:[[1072,776]],1238:[[1045,774]],1239:[[1077,774]],1240:[,,{776:1242}],1241:[,,{776:1243}],1242:[[1240,776]],1243:[[1241,776]],1244:[[1046,776]],1245:[[1078,776]],1246:[[1047,776]],1247:[[1079,776]],1250:[[1048,772]],1251:[[1080,772]],1252:[[1048,776]],1253:[[1080,776]],1254:[[1054,776]],1255:[[1086,776]],1256:[,,{776:1258}],1257:[,,{776:1259}],1258:[[1256,776]],1259:[[1257,776]],1260:[[1069,776]],1261:[[1101,776]],1262:[[1059,772]],1263:[[1091,772]],1264:[[1059,776]],1265:[[1091,776]],1266:[[1059,779]],1267:[[1091,779]],1268:[[1063,776]],1269:[[1095,776]],1272:[[1067,776]],1273:[[1099,776]]},1280:{1415:[[1381,1410],256],1425:[,220],1426:[,230],1427:[,230],1428:[,230],1429:[,230],1430:[,220],1431:[,230],1432:[,230],1433:[,230],1434:[,222],1435:[,220],1436:[,230],1437:[,230],1438:[,230],1439:[,230],1440:[,230],1441:[,230],1442:[,220],1443:[,220],1444:[,220],1445:[,220],1446:[,220],1447:[,220],1448:[,230],1449:[,230],1450:[,220],1451:[,230],1452:[,230],1453:[,222],1454:[,228],1455:[,230],1456:[,10],1457:[,11],1458:[,12],1459:[,13],1460:[,14],1461:[,15],1462:[,16],1463:[,17],1464:[,18],1465:[,19],1466:[,19],1467:[,20],1468:[,21],1469:[,22],1471:[,23],1473:[,24],1474:[,25],1476:[,230],1477:[,220],1479:[,18]},1536:{1552:[,230],1553:[,230],1554:[,230],1555:[,230],1556:[,230],1557:[,230],1558:[,230],1559:[,230],1560:[,30],1561:[,31],1562:[,32],1570:[[1575,1619]],1571:[[1575,1620]],1572:[[1608,1620]],1573:[[1575,1621]],1574:[[1610,1620]],1575:[,,{1619:1570,1620:1571,1621:1573}],1608:[,,{1620:1572}],1610:[,,{1620:1574}],1611:[,27],1612:[,28],1613:[,29],1614:[,30],1615:[,31],1616:[,32],1617:[,33],1618:[,34],1619:[,230],1620:[,230],1621:[,220],1622:[,220],1623:[,230],1624:[,230],1625:[,230],1626:[,230],1627:[,230],1628:[,220],1629:[,230],1630:[,230],1631:[,220],1648:[,35],1653:[[1575,1652],256],1654:[[1608,1652],256],1655:[[1735,1652],256],1656:[[1610,1652],256],1728:[[1749,1620]],1729:[,,{1620:1730}],1730:[[1729,1620]],1746:[,,{1620:1747}],1747:[[1746,1620]],1749:[,,{1620:1728}],1750:[,230],1751:[,230],1752:[,230],1753:[,230],1754:[,230],1755:[,230],1756:[,230],1759:[,230],1760:[,230],1761:[,230],1762:[,230],1763:[,220],1764:[,230],1767:[,230],1768:[,230],1770:[,220],1771:[,230],1772:[,230],1773:[,220]},1792:{1809:[,36],1840:[,230],1841:[,220],1842:[,230],1843:[,230],1844:[,220],1845:[,230],1846:[,230],1847:[,220],1848:[,220],1849:[,220],1850:[,230],1851:[,220],1852:[,220],1853:[,230],1854:[,220],1855:[,230],1856:[,230],1857:[,230],1858:[,220],1859:[,230],1860:[,220],1861:[,230],1862:[,220],1863:[,230],1864:[,220],1865:[,230],1866:[,230],2027:[,230],2028:[,230],2029:[,230],2030:[,230],2031:[,230],2032:[,230],2033:[,230],2034:[,220],2035:[,230]},2048:{2070:[,230],2071:[,230],2072:[,230],2073:[,230],2075:[,230],2076:[,230],2077:[,230],2078:[,230],2079:[,230],2080:[,230],2081:[,230],2082:[,230],2083:[,230],2085:[,230],2086:[,230],2087:[,230],2089:[,230],2090:[,230],2091:[,230],2092:[,230],2093:[,230],2137:[,220],2138:[,220],2139:[,220],2276:[,230],2277:[,230],2278:[,220],2279:[,230],2280:[,230],2281:[,220],2282:[,230],2283:[,230],2284:[,230],2285:[,220],2286:[,220],2287:[,220],2288:[,27],2289:[,28],2290:[,29],2291:[,230],2292:[,230],2293:[,230],2294:[,220],2295:[,230],2296:[,230],2297:[,220],2298:[,220],2299:[,230],2300:[,230],2301:[,230],2302:[,230],2303:[,230]},2304:{2344:[,,{2364:2345}],2345:[[2344,2364]],2352:[,,{2364:2353}],2353:[[2352,2364]],2355:[,,{2364:2356}],2356:[[2355,2364]],2364:[,7],2381:[,9],2385:[,230],2386:[,220],2387:[,230],2388:[,230],2392:[[2325,2364],512],2393:[[2326,2364],512],2394:[[2327,2364],512],2395:[[2332,2364],512],2396:[[2337,2364],512],2397:[[2338,2364],512],2398:[[2347,2364],512],2399:[[2351,2364],512],2492:[,7],2503:[,,{2494:2507,2519:2508}],2507:[[2503,2494]],2508:[[2503,2519]],2509:[,9],2524:[[2465,2492],512],2525:[[2466,2492],512],2527:[[2479,2492],512]},2560:{2611:[[2610,2620],512],2614:[[2616,2620],512],2620:[,7],2637:[,9],2649:[[2582,2620],512],2650:[[2583,2620],512],2651:[[2588,2620],512],2654:[[2603,2620],512],2748:[,7],2765:[,9],68109:[,220],68111:[,230],68152:[,230],68153:[,1],68154:[,220],68159:[,9],68325:[,230],68326:[,220]},2816:{2876:[,7],2887:[,,{2878:2891,2902:2888,2903:2892}],2888:[[2887,2902]],2891:[[2887,2878]],2892:[[2887,2903]],2893:[,9],2908:[[2849,2876],512],2909:[[2850,2876],512],2962:[,,{3031:2964}],2964:[[2962,3031]],3014:[,,{3006:3018,3031:3020}],3015:[,,{3006:3019}],3018:[[3014,3006]],3019:[[3015,3006]],3020:[[3014,3031]],3021:[,9]},3072:{3142:[,,{3158:3144}],3144:[[3142,3158]],3149:[,9],3157:[,84],3158:[,91],3260:[,7],3263:[,,{3285:3264}],3264:[[3263,3285]],3270:[,,{3266:3274,3285:3271,3286:3272}],3271:[[3270,3285]],3272:[[3270,3286]],3274:[[3270,3266],,{3285:3275}],3275:[[3274,3285]],3277:[,9]},3328:{3398:[,,{3390:3402,3415:3404}],3399:[,,{3390:3403}],3402:[[3398,3390]],3403:[[3399,3390]],3404:[[3398,3415]],3405:[,9],3530:[,9],3545:[,,{3530:3546,3535:3548,3551:3550}],3546:[[3545,3530]],3548:[[3545,3535],,{3530:3549}],3549:[[3548,3530]],3550:[[3545,3551]]},3584:{3635:[[3661,3634],256],3640:[,103],3641:[,103],3642:[,9],3656:[,107],3657:[,107],3658:[,107],3659:[,107],3763:[[3789,3762],256],3768:[,118],3769:[,118],3784:[,122],3785:[,122],3786:[,122],3787:[,122],3804:[[3755,3737],256],3805:[[3755,3745],256]},3840:{3852:[[3851],256],3864:[,220],3865:[,220],3893:[,220],3895:[,220],3897:[,216],3907:[[3906,4023],512],3917:[[3916,4023],512],3922:[[3921,4023],512],3927:[[3926,4023],512],3932:[[3931,4023],512],3945:[[3904,4021],512],3953:[,129],3954:[,130],3955:[[3953,3954],512],3956:[,132],3957:[[3953,3956],512],3958:[[4018,3968],512],3959:[[4018,3969],256],3960:[[4019,3968],512],3961:[[4019,3969],256],3962:[,130],3963:[,130],3964:[,130],3965:[,130],3968:[,130],3969:[[3953,3968],512],3970:[,230],3971:[,230],3972:[,9],3974:[,230],3975:[,230],3987:[[3986,4023],512],3997:[[3996,4023],512],4002:[[4001,4023],512],4007:[[4006,4023],512],4012:[[4011,4023],512],4025:[[3984,4021],512],4038:[,220]},4096:{4133:[,,{4142:4134}],4134:[[4133,4142]],4151:[,7],4153:[,9],4154:[,9],4237:[,220],4348:[[4316],256],69702:[,9],69759:[,9],69785:[,,{69818:69786}],69786:[[69785,69818]],69787:[,,{69818:69788}],69788:[[69787,69818]],69797:[,,{69818:69803}],69803:[[69797,69818]],69817:[,9],69818:[,7]},4352:{69888:[,230],69889:[,230],69890:[,230],69934:[[69937,69927]],69935:[[69938,69927]],69937:[,,{69927:69934}],69938:[,,{69927:69935}],69939:[,9],69940:[,9],70003:[,7],70080:[,9]},4608:{70197:[,9],70198:[,7],70377:[,7],70378:[,9]},4864:{4957:[,230],4958:[,230],4959:[,230],70460:[,7],70471:[,,{70462:70475,70487:70476}],70475:[[70471,70462]],70476:[[70471,70487]],70477:[,9],70502:[,230],70503:[,230],70504:[,230],70505:[,230],70506:[,230],70507:[,230],70508:[,230],70512:[,230],70513:[,230],70514:[,230],70515:[,230],70516:[,230]},5120:{70841:[,,{70832:70844,70842:70843,70845:70846}],70843:[[70841,70842]],70844:[[70841,70832]],70846:[[70841,70845]],70850:[,9],70851:[,7]},5376:{71096:[,,{71087:71098}],71097:[,,{71087:71099}],71098:[[71096,71087]],71099:[[71097,71087]],71103:[,9],71104:[,7]},5632:{71231:[,9],71350:[,9],71351:[,7]},5888:{5908:[,9],5940:[,9],6098:[,9],6109:[,230]},6144:{6313:[,228]},6400:{6457:[,222],6458:[,230],6459:[,220]},6656:{6679:[,230],6680:[,220],6752:[,9],6773:[,230],6774:[,230],6775:[,230],6776:[,230],6777:[,230],6778:[,230],6779:[,230],6780:[,230],6783:[,220],6832:[,230],6833:[,230],6834:[,230],6835:[,230],6836:[,230],6837:[,220],6838:[,220],6839:[,220],6840:[,220],6841:[,220],6842:[,220],6843:[,230],6844:[,230],6845:[,220]},6912:{6917:[,,{6965:6918}],6918:[[6917,6965]],6919:[,,{6965:6920}],6920:[[6919,6965]],6921:[,,{6965:6922}],6922:[[6921,6965]],6923:[,,{6965:6924}],6924:[[6923,6965]],6925:[,,{6965:6926}],6926:[[6925,6965]],6929:[,,{6965:6930}],6930:[[6929,6965]],6964:[,7],6970:[,,{6965:6971}],6971:[[6970,6965]],6972:[,,{6965:6973}],6973:[[6972,6965]],6974:[,,{6965:6976}],6975:[,,{6965:6977}],6976:[[6974,6965]],6977:[[6975,6965]],6978:[,,{6965:6979}],6979:[[6978,6965]],6980:[,9],7019:[,230],7020:[,220],7021:[,230],7022:[,230],7023:[,230],7024:[,230],7025:[,230],7026:[,230],7027:[,230],7082:[,9],7083:[,9],7142:[,7],7154:[,9],7155:[,9]},7168:{7223:[,7],7376:[,230],7377:[,230],7378:[,230],7380:[,1],7381:[,220],7382:[,220],7383:[,220],7384:[,220],7385:[,220],7386:[,230],7387:[,230],7388:[,220],7389:[,220],7390:[,220],7391:[,220],7392:[,230],7394:[,1],7395:[,1],7396:[,1],7397:[,1],7398:[,1],7399:[,1],7400:[,1],7405:[,220],7412:[,230],7416:[,230],7417:[,230]},7424:{7468:[[65],256],7469:[[198],256],7470:[[66],256],7472:[[68],256],7473:[[69],256],7474:[[398],256],7475:[[71],256],7476:[[72],256],7477:[[73],256],7478:[[74],256],7479:[[75],256],7480:[[76],256],7481:[[77],256],7482:[[78],256],7484:[[79],256],7485:[[546],256],7486:[[80],256],7487:[[82],256],7488:[[84],256],7489:[[85],256],7490:[[87],256],7491:[[97],256],7492:[[592],256],7493:[[593],256],7494:[[7426],256],7495:[[98],256],7496:[[100],256],7497:[[101],256],7498:[[601],256],7499:[[603],256],7500:[[604],256],7501:[[103],256],7503:[[107],256],7504:[[109],256],7505:[[331],256],7506:[[111],256],7507:[[596],256],7508:[[7446],256],7509:[[7447],256],7510:[[112],256],7511:[[116],256],7512:[[117],256],7513:[[7453],256],7514:[[623],256],7515:[[118],256],7516:[[7461],256],7517:[[946],256],7518:[[947],256],7519:[[948],256],7520:[[966],256],7521:[[967],256],7522:[[105],256],7523:[[114],256],7524:[[117],256],7525:[[118],256],7526:[[946],256],7527:[[947],256],7528:[[961],256],7529:[[966],256],7530:[[967],256],7544:[[1085],256],7579:[[594],256],7580:[[99],256],7581:[[597],256],7582:[[240],256],7583:[[604],256],7584:[[102],256],7585:[[607],256],7586:[[609],256],7587:[[613],256],7588:[[616],256],7589:[[617],256],7590:[[618],256],7591:[[7547],256],7592:[[669],256],7593:[[621],256],7594:[[7557],256],7595:[[671],256],7596:[[625],256],7597:[[624],256],7598:[[626],256],7599:[[627],256],7600:[[628],256],7601:[[629],256],7602:[[632],256],7603:[[642],256],7604:[[643],256],7605:[[427],256],7606:[[649],256],7607:[[650],256],7608:[[7452],256],7609:[[651],256],7610:[[652],256],7611:[[122],256],7612:[[656],256],7613:[[657],256],7614:[[658],256],7615:[[952],256],7616:[,230],7617:[,230],7618:[,220],7619:[,230],7620:[,230],7621:[,230],7622:[,230],7623:[,230],7624:[,230],7625:[,230],7626:[,220],7627:[,230],7628:[,230],7629:[,234],7630:[,214],7631:[,220],7632:[,202],7633:[,230],7634:[,230],7635:[,230],7636:[,230],7637:[,230],7638:[,230],7639:[,230],7640:[,230],7641:[,230],7642:[,230],7643:[,230],7644:[,230],7645:[,230],7646:[,230],7647:[,230],7648:[,230],7649:[,230],7650:[,230],7651:[,230],7652:[,230],7653:[,230],7654:[,230],7655:[,230],7656:[,230],7657:[,230],7658:[,230],7659:[,230],7660:[,230],7661:[,230],7662:[,230],7663:[,230],7664:[,230],7665:[,230],7666:[,230],7667:[,230],7668:[,230],7669:[,230],7676:[,233],7677:[,220],7678:[,230],7679:[,220]},7680:{7680:[[65,805]],7681:[[97,805]],7682:[[66,775]],7683:[[98,775]],7684:[[66,803]],7685:[[98,803]],7686:[[66,817]],7687:[[98,817]],7688:[[199,769]],7689:[[231,769]],7690:[[68,775]],7691:[[100,775]],7692:[[68,803]],7693:[[100,803]],7694:[[68,817]],7695:[[100,817]],7696:[[68,807]],7697:[[100,807]],7698:[[68,813]],7699:[[100,813]],7700:[[274,768]],7701:[[275,768]],7702:[[274,769]],7703:[[275,769]],7704:[[69,813]],7705:[[101,813]],7706:[[69,816]],7707:[[101,816]],7708:[[552,774]],7709:[[553,774]],7710:[[70,775]],7711:[[102,775]],7712:[[71,772]],7713:[[103,772]],7714:[[72,775]],7715:[[104,775]],7716:[[72,803]],7717:[[104,803]],7718:[[72,776]],7719:[[104,776]],7720:[[72,807]],7721:[[104,807]],7722:[[72,814]],7723:[[104,814]],7724:[[73,816]],7725:[[105,816]],7726:[[207,769]],7727:[[239,769]],7728:[[75,769]],7729:[[107,769]],7730:[[75,803]],7731:[[107,803]],7732:[[75,817]],7733:[[107,817]],7734:[[76,803],,{772:7736}],7735:[[108,803],,{772:7737}],7736:[[7734,772]],7737:[[7735,772]],7738:[[76,817]],7739:[[108,817]],7740:[[76,813]],7741:[[108,813]],7742:[[77,769]],7743:[[109,769]],7744:[[77,775]],7745:[[109,775]],7746:[[77,803]],7747:[[109,803]],7748:[[78,775]],7749:[[110,775]],7750:[[78,803]],7751:[[110,803]],7752:[[78,817]],7753:[[110,817]],7754:[[78,813]],7755:[[110,813]],7756:[[213,769]],7757:[[245,769]],7758:[[213,776]],7759:[[245,776]],7760:[[332,768]],7761:[[333,768]],7762:[[332,769]],7763:[[333,769]],7764:[[80,769]],7765:[[112,769]],7766:[[80,775]],7767:[[112,775]],7768:[[82,775]],7769:[[114,775]],7770:[[82,803],,{772:7772}],7771:[[114,803],,{772:7773}],7772:[[7770,772]],7773:[[7771,772]],7774:[[82,817]],7775:[[114,817]],7776:[[83,775]],7777:[[115,775]],7778:[[83,803],,{775:7784}],7779:[[115,803],,{775:7785}],7780:[[346,775]],7781:[[347,775]],7782:[[352,775]],7783:[[353,775]],7784:[[7778,775]],7785:[[7779,775]],7786:[[84,775]],7787:[[116,775]],7788:[[84,803]],7789:[[116,803]],7790:[[84,817]],7791:[[116,817]],7792:[[84,813]],7793:[[116,813]],7794:[[85,804]],7795:[[117,804]],7796:[[85,816]],7797:[[117,816]],7798:[[85,813]],7799:[[117,813]],7800:[[360,769]],7801:[[361,769]],7802:[[362,776]],7803:[[363,776]],7804:[[86,771]],7805:[[118,771]],7806:[[86,803]],7807:[[118,803]],7808:[[87,768]],7809:[[119,768]],7810:[[87,769]],7811:[[119,769]],7812:[[87,776]],7813:[[119,776]],7814:[[87,775]],7815:[[119,775]],7816:[[87,803]],7817:[[119,803]],7818:[[88,775]],7819:[[120,775]],7820:[[88,776]],7821:[[120,776]],7822:[[89,775]],7823:[[121,775]],7824:[[90,770]],7825:[[122,770]],7826:[[90,803]],7827:[[122,803]],7828:[[90,817]],7829:[[122,817]],7830:[[104,817]],7831:[[116,776]],7832:[[119,778]],7833:[[121,778]],7834:[[97,702],256],7835:[[383,775]],7840:[[65,803],,{770:7852,774:7862}],7841:[[97,803],,{770:7853,774:7863}],7842:[[65,777]],7843:[[97,777]],7844:[[194,769]],7845:[[226,769]],7846:[[194,768]],7847:[[226,768]],7848:[[194,777]],7849:[[226,777]],7850:[[194,771]],7851:[[226,771]],7852:[[7840,770]],7853:[[7841,770]],7854:[[258,769]],7855:[[259,769]],7856:[[258,768]],7857:[[259,768]],7858:[[258,777]],7859:[[259,777]],7860:[[258,771]],7861:[[259,771]],7862:[[7840,774]],7863:[[7841,774]],7864:[[69,803],,{770:7878}],7865:[[101,803],,{770:7879}],7866:[[69,777]],7867:[[101,777]],7868:[[69,771]],7869:[[101,771]],7870:[[202,769]],7871:[[234,769]],7872:[[202,768]],7873:[[234,768]],7874:[[202,777]],7875:[[234,777]],7876:[[202,771]],7877:[[234,771]],7878:[[7864,770]],7879:[[7865,770]],7880:[[73,777]],7881:[[105,777]],7882:[[73,803]],7883:[[105,803]],7884:[[79,803],,{770:7896}],7885:[[111,803],,{770:7897}],7886:[[79,777]],7887:[[111,777]],7888:[[212,769]],7889:[[244,769]],7890:[[212,768]],7891:[[244,768]],7892:[[212,777]],7893:[[244,777]],7894:[[212,771]],7895:[[244,771]],7896:[[7884,770]],7897:[[7885,770]],7898:[[416,769]],7899:[[417,769]],7900:[[416,768]],7901:[[417,768]],7902:[[416,777]],7903:[[417,777]],7904:[[416,771]],7905:[[417,771]],7906:[[416,803]],7907:[[417,803]],7908:[[85,803]],7909:[[117,803]],7910:[[85,777]],7911:[[117,777]],7912:[[431,769]],7913:[[432,769]],7914:[[431,768]],7915:[[432,768]],7916:[[431,777]],7917:[[432,777]],7918:[[431,771]],7919:[[432,771]],7920:[[431,803]],7921:[[432,803]],7922:[[89,768]],7923:[[121,768]],7924:[[89,803]],7925:[[121,803]],7926:[[89,777]],7927:[[121,777]],7928:[[89,771]],7929:[[121,771]]},7936:{7936:[[945,787],,{768:7938,769:7940,834:7942,837:8064}],7937:[[945,788],,{768:7939,769:7941,834:7943,837:8065}],7938:[[7936,768],,{837:8066}],7939:[[7937,768],,{837:8067}],7940:[[7936,769],,{837:8068}],7941:[[7937,769],,{837:8069}],7942:[[7936,834],,{837:8070}],7943:[[7937,834],,{837:8071}],7944:[[913,787],,{768:7946,769:7948,834:7950,837:8072}],7945:[[913,788],,{768:7947,769:7949,834:7951,837:8073}],7946:[[7944,768],,{837:8074}],7947:[[7945,768],,{837:8075}],7948:[[7944,769],,{837:8076}],7949:[[7945,769],,{837:8077}],7950:[[7944,834],,{837:8078}],7951:[[7945,834],,{837:8079}],7952:[[949,787],,{768:7954,769:7956}],7953:[[949,788],,{768:7955,769:7957}],7954:[[7952,768]],7955:[[7953,768]],7956:[[7952,769]],7957:[[7953,769]],7960:[[917,787],,{768:7962,769:7964}],7961:[[917,788],,{768:7963,769:7965}],7962:[[7960,768]],7963:[[7961,768]],7964:[[7960,769]],7965:[[7961,769]],7968:[[951,787],,{768:7970,769:7972,834:7974,837:8080}],7969:[[951,788],,{768:7971,769:7973,834:7975,837:8081}],7970:[[7968,768],,{837:8082}],7971:[[7969,768],,{837:8083}],7972:[[7968,769],,{837:8084}],7973:[[7969,769],,{837:8085}],7974:[[7968,834],,{837:8086}],7975:[[7969,834],,{837:8087}],7976:[[919,787],,{768:7978,769:7980,834:7982,837:8088}],7977:[[919,788],,{768:7979,769:7981,834:7983,837:8089}],7978:[[7976,768],,{837:8090}],7979:[[7977,768],,{837:8091}],7980:[[7976,769],,{837:8092}],7981:[[7977,769],,{837:8093}],7982:[[7976,834],,{837:8094}],7983:[[7977,834],,{837:8095}],7984:[[953,787],,{768:7986,769:7988,834:7990}],7985:[[953,788],,{768:7987,769:7989,834:7991}],7986:[[7984,768]],7987:[[7985,768]],7988:[[7984,769]],7989:[[7985,769]],7990:[[7984,834]],7991:[[7985,834]],7992:[[921,787],,{768:7994,769:7996,834:7998}],7993:[[921,788],,{768:7995,769:7997,834:7999}],7994:[[7992,768]],7995:[[7993,768]],7996:[[7992,769]],7997:[[7993,769]],7998:[[7992,834]],7999:[[7993,834]],8e3:[[959,787],,{768:8002,769:8004}],8001:[[959,788],,{768:8003,769:8005}],8002:[[8e3,768]],8003:[[8001,768]],8004:[[8e3,769]],8005:[[8001,769]],8008:[[927,787],,{768:8010,769:8012}],8009:[[927,788],,{768:8011,769:8013}],8010:[[8008,768]],8011:[[8009,768]],8012:[[8008,769]],8013:[[8009,769]],8016:[[965,787],,{768:8018,769:8020,834:8022}],8017:[[965,788],,{768:8019,769:8021,834:8023}],8018:[[8016,768]],8019:[[8017,768]],8020:[[8016,769]],8021:[[8017,769]],8022:[[8016,834]],8023:[[8017,834]],8025:[[933,788],,{768:8027,769:8029,834:8031}],8027:[[8025,768]],8029:[[8025,769]],8031:[[8025,834]],8032:[[969,787],,{768:8034,769:8036,834:8038,837:8096}],8033:[[969,788],,{768:8035,769:8037,834:8039,837:8097}],8034:[[8032,768],,{837:8098}],8035:[[8033,768],,{837:8099}],8036:[[8032,769],,{837:8100}],8037:[[8033,769],,{837:8101}],8038:[[8032,834],,{837:8102}],8039:[[8033,834],,{837:8103}],8040:[[937,787],,{768:8042,769:8044,834:8046,837:8104}],8041:[[937,788],,{768:8043,769:8045,834:8047,837:8105}],8042:[[8040,768],,{837:8106}],8043:[[8041,768],,{837:8107}],8044:[[8040,769],,{837:8108}],8045:[[8041,769],,{837:8109}],8046:[[8040,834],,{837:8110}],8047:[[8041,834],,{837:8111}],8048:[[945,768],,{837:8114}],8049:[[940]],8050:[[949,768]],8051:[[941]],8052:[[951,768],,{837:8130}],8053:[[942]],8054:[[953,768]],8055:[[943]],8056:[[959,768]],8057:[[972]],8058:[[965,768]],8059:[[973]],8060:[[969,768],,{837:8178}],8061:[[974]],8064:[[7936,837]],8065:[[7937,837]],8066:[[7938,837]],8067:[[7939,837]],8068:[[7940,837]],8069:[[7941,837]],8070:[[7942,837]],8071:[[7943,837]],8072:[[7944,837]],8073:[[7945,837]],8074:[[7946,837]],8075:[[7947,837]],8076:[[7948,837]],8077:[[7949,837]],8078:[[7950,837]],8079:[[7951,837]],8080:[[7968,837]],8081:[[7969,837]],8082:[[7970,837]],8083:[[7971,837]],8084:[[7972,837]],8085:[[7973,837]],8086:[[7974,837]],8087:[[7975,837]],8088:[[7976,837]],8089:[[7977,837]],8090:[[7978,837]],8091:[[7979,837]],8092:[[7980,837]],8093:[[7981,837]],8094:[[7982,837]],8095:[[7983,837]],8096:[[8032,837]],8097:[[8033,837]],8098:[[8034,837]],8099:[[8035,837]],8100:[[8036,837]],8101:[[8037,837]],8102:[[8038,837]],8103:[[8039,837]],8104:[[8040,837]],8105:[[8041,837]],8106:[[8042,837]],8107:[[8043,837]],8108:[[8044,837]],8109:[[8045,837]],8110:[[8046,837]],8111:[[8047,837]],8112:[[945,774]],8113:[[945,772]],8114:[[8048,837]],8115:[[945,837]],8116:[[940,837]],8118:[[945,834],,{837:8119}],8119:[[8118,837]],8120:[[913,774]],8121:[[913,772]],8122:[[913,768]],8123:[[902]],8124:[[913,837]],8125:[[32,787],256],8126:[[953]],8127:[[32,787],256,{768:8141,769:8142,834:8143}],8128:[[32,834],256],8129:[[168,834]],8130:[[8052,837]],8131:[[951,837]],8132:[[942,837]],8134:[[951,834],,{837:8135}],8135:[[8134,837]],8136:[[917,768]],8137:[[904]],8138:[[919,768]],8139:[[905]],8140:[[919,837]],8141:[[8127,768]],8142:[[8127,769]],8143:[[8127,834]],8144:[[953,774]],8145:[[953,772]],8146:[[970,768]],8147:[[912]],8150:[[953,834]],8151:[[970,834]],8152:[[921,774]],8153:[[921,772]],8154:[[921,768]],8155:[[906]],8157:[[8190,768]],8158:[[8190,769]],8159:[[8190,834]],8160:[[965,774]],8161:[[965,772]],8162:[[971,768]],8163:[[944]],8164:[[961,787]],8165:[[961,788]],8166:[[965,834]],8167:[[971,834]],8168:[[933,774]],8169:[[933,772]],8170:[[933,768]],8171:[[910]],8172:[[929,788]],8173:[[168,768]],8174:[[901]],8175:[[96]],8178:[[8060,837]],8179:[[969,837]],8180:[[974,837]],8182:[[969,834],,{837:8183}],8183:[[8182,837]],8184:[[927,768]],8185:[[908]],8186:[[937,768]],8187:[[911]],8188:[[937,837]],8189:[[180]],8190:[[32,788],256,{768:8157,769:8158,834:8159}]},8192:{8192:[[8194]],8193:[[8195]],8194:[[32],256],8195:[[32],256],8196:[[32],256],8197:[[32],256],8198:[[32],256],8199:[[32],256],8200:[[32],256],8201:[[32],256],8202:[[32],256],8209:[[8208],256],8215:[[32,819],256],8228:[[46],256],8229:[[46,46],256],8230:[[46,46,46],256],8239:[[32],256],8243:[[8242,8242],256],8244:[[8242,8242,8242],256],8246:[[8245,8245],256],8247:[[8245,8245,8245],256],8252:[[33,33],256],8254:[[32,773],256],8263:[[63,63],256],8264:[[63,33],256],8265:[[33,63],256],8279:[[8242,8242,8242,8242],256],8287:[[32],256],8304:[[48],256],8305:[[105],256],8308:[[52],256],8309:[[53],256],8310:[[54],256],8311:[[55],256],8312:[[56],256],8313:[[57],256],8314:[[43],256],8315:[[8722],256],8316:[[61],256],8317:[[40],256],8318:[[41],256],8319:[[110],256],8320:[[48],256],8321:[[49],256],8322:[[50],256],8323:[[51],256],8324:[[52],256],8325:[[53],256],8326:[[54],256],8327:[[55],256],8328:[[56],256],8329:[[57],256],8330:[[43],256],8331:[[8722],256],8332:[[61],256],8333:[[40],256],8334:[[41],256],8336:[[97],256],8337:[[101],256],8338:[[111],256],8339:[[120],256],8340:[[601],256],8341:[[104],256],8342:[[107],256],8343:[[108],256],8344:[[109],256],8345:[[110],256],8346:[[112],256],8347:[[115],256],8348:[[116],256],8360:[[82,115],256],8400:[,230],8401:[,230],8402:[,1],8403:[,1],8404:[,230],8405:[,230],8406:[,230],8407:[,230],8408:[,1],8409:[,1],8410:[,1],8411:[,230],8412:[,230],8417:[,230],8421:[,1],8422:[,1],8423:[,230],8424:[,220],8425:[,230],8426:[,1],8427:[,1],8428:[,220],8429:[,220],8430:[,220],8431:[,220],8432:[,230]},8448:{8448:[[97,47,99],256],8449:[[97,47,115],256],8450:[[67],256],8451:[[176,67],256],8453:[[99,47,111],256],8454:[[99,47,117],256],8455:[[400],256],8457:[[176,70],256],8458:[[103],256],8459:[[72],256],8460:[[72],256],8461:[[72],256],8462:[[104],256],8463:[[295],256],8464:[[73],256],8465:[[73],256],8466:[[76],256],8467:[[108],256],8469:[[78],256],8470:[[78,111],256],8473:[[80],256],8474:[[81],256],8475:[[82],256],8476:[[82],256],8477:[[82],256],8480:[[83,77],256],8481:[[84,69,76],256],8482:[[84,77],256],8484:[[90],256],8486:[[937]],8488:[[90],256],8490:[[75]],8491:[[197]],8492:[[66],256],8493:[[67],256],8495:[[101],256],8496:[[69],256],8497:[[70],256],8499:[[77],256],8500:[[111],256],8501:[[1488],256],8502:[[1489],256],8503:[[1490],256],8504:[[1491],256],8505:[[105],256],8507:[[70,65,88],256],8508:[[960],256],8509:[[947],256],8510:[[915],256],8511:[[928],256],8512:[[8721],256],8517:[[68],256],8518:[[100],256],8519:[[101],256],8520:[[105],256],8521:[[106],256],8528:[[49,8260,55],256],8529:[[49,8260,57],256],8530:[[49,8260,49,48],256],8531:[[49,8260,51],256],8532:[[50,8260,51],256],8533:[[49,8260,53],256],8534:[[50,8260,53],256],8535:[[51,8260,53],256],8536:[[52,8260,53],256],8537:[[49,8260,54],256],8538:[[53,8260,54],256],8539:[[49,8260,56],256],8540:[[51,8260,56],256],8541:[[53,8260,56],256],8542:[[55,8260,56],256],8543:[[49,8260],256],8544:[[73],256],8545:[[73,73],256],8546:[[73,73,73],256],8547:[[73,86],256],8548:[[86],256],8549:[[86,73],256],8550:[[86,73,73],256],8551:[[86,73,73,73],256],8552:[[73,88],256],8553:[[88],256],8554:[[88,73],256],8555:[[88,73,73],256],8556:[[76],256],8557:[[67],256],8558:[[68],256],8559:[[77],256],8560:[[105],256],8561:[[105,105],256],8562:[[105,105,105],256],8563:[[105,118],256],8564:[[118],256],8565:[[118,105],256],8566:[[118,105,105],256],8567:[[118,105,105,105],256],8568:[[105,120],256],8569:[[120],256],8570:[[120,105],256],8571:[[120,105,105],256],8572:[[108],256],8573:[[99],256],8574:[[100],256],8575:[[109],256],8585:[[48,8260,51],256],8592:[,,{824:8602}],8594:[,,{824:8603}],8596:[,,{824:8622}],8602:[[8592,824]],8603:[[8594,824]],8622:[[8596,824]],8653:[[8656,824]],8654:[[8660,824]],8655:[[8658,824]],8656:[,,{824:8653}],8658:[,,{824:8655}],8660:[,,{824:8654}]},8704:{8707:[,,{824:8708}],8708:[[8707,824]],8712:[,,{824:8713}],8713:[[8712,824]],8715:[,,{824:8716}],8716:[[8715,824]],8739:[,,{824:8740}],8740:[[8739,824]],8741:[,,{824:8742}],8742:[[8741,824]],8748:[[8747,8747],256],8749:[[8747,8747,8747],256],8751:[[8750,8750],256],8752:[[8750,8750,8750],256],8764:[,,{824:8769}],8769:[[8764,824]],8771:[,,{824:8772}],8772:[[8771,824]],8773:[,,{824:8775}],8775:[[8773,824]],8776:[,,{824:8777}],8777:[[8776,824]],8781:[,,{824:8813}],8800:[[61,824]],8801:[,,{824:8802}],8802:[[8801,824]],8804:[,,{824:8816}],8805:[,,{824:8817}],8813:[[8781,824]],8814:[[60,824]],8815:[[62,824]],8816:[[8804,824]],8817:[[8805,824]],8818:[,,{824:8820}],8819:[,,{824:8821}],8820:[[8818,824]],8821:[[8819,824]],8822:[,,{824:8824}],8823:[,,{824:8825}],8824:[[8822,824]],8825:[[8823,824]],8826:[,,{824:8832}],8827:[,,{824:8833}],8828:[,,{824:8928}],8829:[,,{824:8929}],8832:[[8826,824]],8833:[[8827,824]],8834:[,,{824:8836}],8835:[,,{824:8837}],8836:[[8834,824]],8837:[[8835,824]],8838:[,,{824:8840}],8839:[,,{824:8841}],8840:[[8838,824]],8841:[[8839,824]],8849:[,,{824:8930}],8850:[,,{824:8931}],8866:[,,{824:8876}],8872:[,,{824:8877}],8873:[,,{824:8878}],8875:[,,{824:8879}],8876:[[8866,824]],8877:[[8872,824]],8878:[[8873,824]],8879:[[8875,824]],8882:[,,{824:8938}],8883:[,,{824:8939}],8884:[,,{824:8940}],8885:[,,{824:8941}],8928:[[8828,824]],8929:[[8829,824]],8930:[[8849,824]],8931:[[8850,824]],8938:[[8882,824]],8939:[[8883,824]],8940:[[8884,824]],8941:[[8885,824]]},8960:{9001:[[12296]],9002:[[12297]]},9216:{9312:[[49],256],9313:[[50],256],9314:[[51],256],9315:[[52],256],9316:[[53],256],9317:[[54],256],9318:[[55],256],9319:[[56],256],9320:[[57],256],9321:[[49,48],256],9322:[[49,49],256],9323:[[49,50],256],9324:[[49,51],256],9325:[[49,52],256],9326:[[49,53],256],9327:[[49,54],256],9328:[[49,55],256],9329:[[49,56],256],9330:[[49,57],256],9331:[[50,48],256],9332:[[40,49,41],256],9333:[[40,50,41],256],9334:[[40,51,41],256],9335:[[40,52,41],256],9336:[[40,53,41],256],9337:[[40,54,41],256],9338:[[40,55,41],256],9339:[[40,56,41],256],9340:[[40,57,41],256],9341:[[40,49,48,41],256],9342:[[40,49,49,41],256],9343:[[40,49,50,41],256],9344:[[40,49,51,41],256],9345:[[40,49,52,41],256],9346:[[40,49,53,41],256],9347:[[40,49,54,41],256],9348:[[40,49,55,41],256],9349:[[40,49,56,41],256],9350:[[40,49,57,41],256],9351:[[40,50,48,41],256],9352:[[49,46],256],9353:[[50,46],256],9354:[[51,46],256],9355:[[52,46],256],9356:[[53,46],256],9357:[[54,46],256],9358:[[55,46],256],9359:[[56,46],256],9360:[[57,46],256],9361:[[49,48,46],256],9362:[[49,49,46],256],9363:[[49,50,46],256],9364:[[49,51,46],256],9365:[[49,52,46],256],9366:[[49,53,46],256],9367:[[49,54,46],256],9368:[[49,55,46],256],9369:[[49,56,46],256],9370:[[49,57,46],256],9371:[[50,48,46],256],9372:[[40,97,41],256],9373:[[40,98,41],256],9374:[[40,99,41],256],9375:[[40,100,41],256],9376:[[40,101,41],256],9377:[[40,102,41],256],9378:[[40,103,41],256],9379:[[40,104,41],256],9380:[[40,105,41],256],9381:[[40,106,41],256],9382:[[40,107,41],256],9383:[[40,108,41],256],9384:[[40,109,41],256],9385:[[40,110,41],256],9386:[[40,111,41],256],9387:[[40,112,41],256],9388:[[40,113,41],256],9389:[[40,114,41],256],9390:[[40,115,41],256],9391:[[40,116,41],256],9392:[[40,117,41],256],9393:[[40,118,41],256],9394:[[40,119,41],256],9395:[[40,120,41],256],9396:[[40,121,41],256],9397:[[40,122,41],256],9398:[[65],256],9399:[[66],256],9400:[[67],256],9401:[[68],256],9402:[[69],256],9403:[[70],256],9404:[[71],256],9405:[[72],256],9406:[[73],256],9407:[[74],256],9408:[[75],256],9409:[[76],256],9410:[[77],256],9411:[[78],256],9412:[[79],256],9413:[[80],256],9414:[[81],256],9415:[[82],256],9416:[[83],256],9417:[[84],256],9418:[[85],256],9419:[[86],256],9420:[[87],256],9421:[[88],256],9422:[[89],256],9423:[[90],256],9424:[[97],256],9425:[[98],256],9426:[[99],256],9427:[[100],256],9428:[[101],256],9429:[[102],256],9430:[[103],256],9431:[[104],256],9432:[[105],256],9433:[[106],256],9434:[[107],256],9435:[[108],256],9436:[[109],256],9437:[[110],256],9438:[[111],256],9439:[[112],256],9440:[[113],256],9441:[[114],256],9442:[[115],256],9443:[[116],256],9444:[[117],256],9445:[[118],256],9446:[[119],256],9447:[[120],256],9448:[[121],256],9449:[[122],256],9450:[[48],256]},10752:{10764:[[8747,8747,8747,8747],256],10868:[[58,58,61],256],10869:[[61,61],256],10870:[[61,61,61],256],10972:[[10973,824],512]},11264:{11388:[[106],256],11389:[[86],256],11503:[,230],11504:[,230],11505:[,230]},11520:{11631:[[11617],256],11647:[,9],11744:[,230],11745:[,230],11746:[,230],11747:[,230],11748:[,230],11749:[,230],11750:[,230],11751:[,230],11752:[,230],11753:[,230],11754:[,230],11755:[,230],11756:[,230],11757:[,230],11758:[,230],11759:[,230],11760:[,230],11761:[,230],11762:[,230],11763:[,230],11764:[,230],11765:[,230],11766:[,230],11767:[,230],11768:[,230],11769:[,230],11770:[,230],11771:[,230],11772:[,230],11773:[,230],11774:[,230],11775:[,230]},11776:{11935:[[27597],256],12019:[[40863],256]},12032:{12032:[[19968],256],12033:[[20008],256],12034:[[20022],256],12035:[[20031],256],12036:[[20057],256],12037:[[20101],256],12038:[[20108],256],12039:[[20128],256],12040:[[20154],256],12041:[[20799],256],12042:[[20837],256],12043:[[20843],256],12044:[[20866],256],12045:[[20886],256],12046:[[20907],256],12047:[[20960],256],12048:[[20981],256],12049:[[20992],256],12050:[[21147],256],12051:[[21241],256],12052:[[21269],256],12053:[[21274],256],12054:[[21304],256],12055:[[21313],256],12056:[[21340],256],12057:[[21353],256],12058:[[21378],256],12059:[[21430],256],12060:[[21448],256],12061:[[21475],256],12062:[[22231],256],12063:[[22303],256],12064:[[22763],256],12065:[[22786],256],12066:[[22794],256],12067:[[22805],256],12068:[[22823],256],12069:[[22899],256],12070:[[23376],256],12071:[[23424],256],12072:[[23544],256],12073:[[23567],256],12074:[[23586],256],12075:[[23608],256],12076:[[23662],256],12077:[[23665],256],12078:[[24027],256],12079:[[24037],256],12080:[[24049],256],12081:[[24062],256],12082:[[24178],256],12083:[[24186],256],12084:[[24191],256],12085:[[24308],256],12086:[[24318],256],12087:[[24331],256],12088:[[24339],256],12089:[[24400],256],12090:[[24417],256],12091:[[24435],256],12092:[[24515],256],12093:[[25096],256],12094:[[25142],256],12095:[[25163],256],12096:[[25903],256],12097:[[25908],256],12098:[[25991],256],12099:[[26007],256],12100:[[26020],256],12101:[[26041],256],12102:[[26080],256],12103:[[26085],256],12104:[[26352],256],12105:[[26376],256],12106:[[26408],256],12107:[[27424],256],12108:[[27490],256],12109:[[27513],256],12110:[[27571],256],12111:[[27595],256],12112:[[27604],256],12113:[[27611],256],12114:[[27663],256],12115:[[27668],256],12116:[[27700],256],12117:[[28779],256],12118:[[29226],256],12119:[[29238],256],12120:[[29243],256],12121:[[29247],256],12122:[[29255],256],12123:[[29273],256],12124:[[29275],256],12125:[[29356],256],12126:[[29572],256],12127:[[29577],256],12128:[[29916],256],12129:[[29926],256],12130:[[29976],256],12131:[[29983],256],12132:[[29992],256],12133:[[3e4],256],12134:[[30091],256],12135:[[30098],256],12136:[[30326],256],12137:[[30333],256],12138:[[30382],256],12139:[[30399],256],12140:[[30446],256],12141:[[30683],256],12142:[[30690],256],12143:[[30707],256],12144:[[31034],256],12145:[[31160],256],12146:[[31166],256],12147:[[31348],256],12148:[[31435],256],12149:[[31481],256],12150:[[31859],256],12151:[[31992],256],12152:[[32566],256],12153:[[32593],256],12154:[[32650],256],12155:[[32701],256],12156:[[32769],256],12157:[[32780],256],12158:[[32786],256],12159:[[32819],256],12160:[[32895],256],12161:[[32905],256],12162:[[33251],256],12163:[[33258],256],12164:[[33267],256],12165:[[33276],256],12166:[[33292],256],12167:[[33307],256],12168:[[33311],256],12169:[[33390],256],12170:[[33394],256],12171:[[33400],256],12172:[[34381],256],12173:[[34411],256],12174:[[34880],256],12175:[[34892],256],12176:[[34915],256],12177:[[35198],256],12178:[[35211],256],12179:[[35282],256],12180:[[35328],256],12181:[[35895],256],12182:[[35910],256],12183:[[35925],256],12184:[[35960],256],12185:[[35997],256],12186:[[36196],256],12187:[[36208],256],12188:[[36275],256],12189:[[36523],256],12190:[[36554],256],12191:[[36763],256],12192:[[36784],256],12193:[[36789],256],12194:[[37009],256],12195:[[37193],256],12196:[[37318],256],12197:[[37324],256],12198:[[37329],256],12199:[[38263],256],12200:[[38272],256],12201:[[38428],256],12202:[[38582],256],12203:[[38585],256],12204:[[38632],256],12205:[[38737],256],12206:[[38750],256],12207:[[38754],256],12208:[[38761],256],12209:[[38859],256],12210:[[38893],256],12211:[[38899],256],12212:[[38913],256],12213:[[39080],256],12214:[[39131],256],12215:[[39135],256],12216:[[39318],256],12217:[[39321],256],12218:[[39340],256],12219:[[39592],256],12220:[[39640],256],12221:[[39647],256],12222:[[39717],256],12223:[[39727],256],12224:[[39730],256],12225:[[39740],256],12226:[[39770],256],12227:[[40165],256],12228:[[40565],256],12229:[[40575],256],12230:[[40613],256],12231:[[40635],256],12232:[[40643],256],12233:[[40653],256],12234:[[40657],256],12235:[[40697],256],12236:[[40701],256],12237:[[40718],256],12238:[[40723],256],12239:[[40736],256],12240:[[40763],256],12241:[[40778],256],12242:[[40786],256],12243:[[40845],256],12244:[[40860],256],12245:[[40864],256]},12288:{12288:[[32],256],12330:[,218],12331:[,228],12332:[,232],12333:[,222],12334:[,224],12335:[,224],12342:[[12306],256],12344:[[21313],256],12345:[[21316],256],12346:[[21317],256],12358:[,,{12441:12436}],12363:[,,{12441:12364}],12364:[[12363,12441]],12365:[,,{12441:12366}],12366:[[12365,12441]],12367:[,,{12441:12368}],12368:[[12367,12441]],12369:[,,{12441:12370}],12370:[[12369,12441]],12371:[,,{12441:12372}],12372:[[12371,12441]],12373:[,,{12441:12374}],12374:[[12373,12441]],12375:[,,{12441:12376}],12376:[[12375,12441]],12377:[,,{12441:12378}],12378:[[12377,12441]],12379:[,,{12441:12380}],12380:[[12379,12441]],12381:[,,{12441:12382}],12382:[[12381,12441]],12383:[,,{12441:12384}],12384:[[12383,12441]],12385:[,,{12441:12386}],12386:[[12385,12441]],12388:[,,{12441:12389}],12389:[[12388,12441]],12390:[,,{12441:12391}],12391:[[12390,12441]],12392:[,,{12441:12393}],12393:[[12392,12441]],12399:[,,{12441:12400,12442:12401}],12400:[[12399,12441]],12401:[[12399,12442]],12402:[,,{12441:12403,12442:12404}],12403:[[12402,12441]],12404:[[12402,12442]],12405:[,,{12441:12406,12442:12407}],12406:[[12405,12441]],12407:[[12405,12442]],12408:[,,{12441:12409,12442:12410}],12409:[[12408,12441]],12410:[[12408,12442]],12411:[,,{12441:12412,12442:12413}],12412:[[12411,12441]],12413:[[12411,12442]],12436:[[12358,12441]],12441:[,8],12442:[,8],12443:[[32,12441],256],12444:[[32,12442],256],12445:[,,{12441:12446}],12446:[[12445,12441]],12447:[[12424,12426],256],12454:[,,{12441:12532}],12459:[,,{12441:12460}],12460:[[12459,12441]],12461:[,,{12441:12462}],12462:[[12461,12441]],12463:[,,{12441:12464}],12464:[[12463,12441]],12465:[,,{12441:12466}],12466:[[12465,12441]],12467:[,,{12441:12468}],12468:[[12467,12441]],12469:[,,{12441:12470}],12470:[[12469,12441]],12471:[,,{12441:12472}],12472:[[12471,12441]],12473:[,,{12441:12474}],12474:[[12473,12441]],12475:[,,{12441:12476}],12476:[[12475,12441]],12477:[,,{12441:12478}],12478:[[12477,12441]],12479:[,,{12441:12480}],12480:[[12479,12441]],12481:[,,{12441:12482}],12482:[[12481,12441]],12484:[,,{12441:12485}],12485:[[12484,12441]],12486:[,,{12441:12487}],12487:[[12486,12441]],12488:[,,{12441:12489}],12489:[[12488,12441]],12495:[,,{12441:12496,12442:12497}],12496:[[12495,12441]],12497:[[12495,12442]],12498:[,,{12441:12499,12442:12500}],12499:[[12498,12441]],12500:[[12498,12442]],12501:[,,{12441:12502,12442:12503}],12502:[[12501,12441]],12503:[[12501,12442]],12504:[,,{12441:12505,12442:12506}],12505:[[12504,12441]],12506:[[12504,12442]],12507:[,,{12441:12508,12442:12509}],12508:[[12507,12441]],12509:[[12507,12442]],12527:[,,{12441:12535}],12528:[,,{12441:12536}],12529:[,,{12441:12537}],12530:[,,{12441:12538}],12532:[[12454,12441]],12535:[[12527,12441]],12536:[[12528,12441]],12537:[[12529,12441]],12538:[[12530,12441]],12541:[,,{12441:12542}],12542:[[12541,12441]],12543:[[12467,12488],256]},12544:{12593:[[4352],256],12594:[[4353],256],12595:[[4522],256],12596:[[4354],256],12597:[[4524],256],12598:[[4525],256],12599:[[4355],256],12600:[[4356],256],12601:[[4357],256],12602:[[4528],256],12603:[[4529],256],12604:[[4530],256],12605:[[4531],256],12606:[[4532],256],12607:[[4533],256],12608:[[4378],256],12609:[[4358],256],12610:[[4359],256],12611:[[4360],256],12612:[[4385],256],12613:[[4361],256],12614:[[4362],256],12615:[[4363],256],12616:[[4364],256],12617:[[4365],256],12618:[[4366],256],12619:[[4367],256],12620:[[4368],256],12621:[[4369],256],12622:[[4370],256],12623:[[4449],256],12624:[[4450],256],12625:[[4451],256],12626:[[4452],256],12627:[[4453],256],12628:[[4454],256],12629:[[4455],256],12630:[[4456],256],12631:[[4457],256],12632:[[4458],256],12633:[[4459],256],12634:[[4460],256],12635:[[4461],256],12636:[[4462],256],12637:[[4463],256],12638:[[4464],256],12639:[[4465],256],12640:[[4466],256],12641:[[4467],256],12642:[[4468],256],12643:[[4469],256],12644:[[4448],256],12645:[[4372],256],12646:[[4373],256],12647:[[4551],256],12648:[[4552],256],12649:[[4556],256],12650:[[4558],256],12651:[[4563],256],12652:[[4567],256],12653:[[4569],256],12654:[[4380],256],12655:[[4573],256],12656:[[4575],256],12657:[[4381],256],12658:[[4382],256],12659:[[4384],256],12660:[[4386],256],12661:[[4387],256],12662:[[4391],256],12663:[[4393],256],12664:[[4395],256],12665:[[4396],256],12666:[[4397],256],12667:[[4398],256],12668:[[4399],256],12669:[[4402],256],12670:[[4406],256],12671:[[4416],256],12672:[[4423],256],12673:[[4428],256],12674:[[4593],256],12675:[[4594],256],12676:[[4439],256],12677:[[4440],256],12678:[[4441],256],12679:[[4484],256],12680:[[4485],256],12681:[[4488],256],12682:[[4497],256],12683:[[4498],256],12684:[[4500],256],12685:[[4510],256],12686:[[4513],256],12690:[[19968],256],12691:[[20108],256],12692:[[19977],256],12693:[[22235],256],12694:[[19978],256],12695:[[20013],256],12696:[[19979],256],12697:[[30002],256],12698:[[20057],256],12699:[[19993],256],12700:[[19969],256],12701:[[22825],256],12702:[[22320],256],12703:[[20154],256]},12800:{12800:[[40,4352,41],256],12801:[[40,4354,41],256],12802:[[40,4355,41],256],12803:[[40,4357,41],256],12804:[[40,4358,41],256],12805:[[40,4359,41],256],12806:[[40,4361,41],256],12807:[[40,4363,41],256],12808:[[40,4364,41],256],12809:[[40,4366,41],256],12810:[[40,4367,41],256],12811:[[40,4368,41],256],12812:[[40,4369,41],256],12813:[[40,4370,41],256],12814:[[40,4352,4449,41],256],12815:[[40,4354,4449,41],256],12816:[[40,4355,4449,41],256],12817:[[40,4357,4449,41],256],12818:[[40,4358,4449,41],256],12819:[[40,4359,4449,41],256],12820:[[40,4361,4449,41],256],12821:[[40,4363,4449,41],256],12822:[[40,4364,4449,41],256],12823:[[40,4366,4449,41],256],12824:[[40,4367,4449,41],256],12825:[[40,4368,4449,41],256],12826:[[40,4369,4449,41],256],12827:[[40,4370,4449,41],256],12828:[[40,4364,4462,41],256],12829:[[40,4363,4457,4364,4453,4523,41],256],12830:[[40,4363,4457,4370,4462,41],256],12832:[[40,19968,41],256],12833:[[40,20108,41],256],12834:[[40,19977,41],256],12835:[[40,22235,41],256],12836:[[40,20116,41],256],12837:[[40,20845,41],256],12838:[[40,19971,41],256],12839:[[40,20843,41],256],12840:[[40,20061,41],256],12841:[[40,21313,41],256],12842:[[40,26376,41],256],12843:[[40,28779,41],256],12844:[[40,27700,41],256],12845:[[40,26408,41],256],12846:[[40,37329,41],256],12847:[[40,22303,41],256],12848:[[40,26085,41],256],12849:[[40,26666,41],256],12850:[[40,26377,41],256],12851:[[40,31038,41],256],12852:[[40,21517,41],256],12853:[[40,29305,41],256],12854:[[40,36001,41],256],12855:[[40,31069,41],256],12856:[[40,21172,41],256],12857:[[40,20195,41],256],12858:[[40,21628,41],256],12859:[[40,23398,41],256],12860:[[40,30435,41],256],12861:[[40,20225,41],256],12862:[[40,36039,41],256],12863:[[40,21332,41],256],12864:[[40,31085,41],256],12865:[[40,20241,41],256],12866:[[40,33258,41],256],12867:[[40,33267,41],256],12868:[[21839],256],12869:[[24188],256],12870:[[25991],256],12871:[[31631],256],12880:[[80,84,69],256],12881:[[50,49],256],12882:[[50,50],256],12883:[[50,51],256],12884:[[50,52],256],12885:[[50,53],256],12886:[[50,54],256],12887:[[50,55],256],12888:[[50,56],256],12889:[[50,57],256],12890:[[51,48],256],12891:[[51,49],256],12892:[[51,50],256],12893:[[51,51],256],12894:[[51,52],256],12895:[[51,53],256],12896:[[4352],256],12897:[[4354],256],12898:[[4355],256],12899:[[4357],256],12900:[[4358],256],12901:[[4359],256],12902:[[4361],256],12903:[[4363],256],12904:[[4364],256],12905:[[4366],256],12906:[[4367],256],12907:[[4368],256],12908:[[4369],256],12909:[[4370],256],12910:[[4352,4449],256],12911:[[4354,4449],256],12912:[[4355,4449],256],12913:[[4357,4449],256],12914:[[4358,4449],256],12915:[[4359,4449],256],12916:[[4361,4449],256],12917:[[4363,4449],256],12918:[[4364,4449],256],12919:[[4366,4449],256],12920:[[4367,4449],256],12921:[[4368,4449],256],12922:[[4369,4449],256],12923:[[4370,4449],256],12924:[[4366,4449,4535,4352,4457],256],12925:[[4364,4462,4363,4468],256],12926:[[4363,4462],256],12928:[[19968],256],12929:[[20108],256],12930:[[19977],256],12931:[[22235],256],12932:[[20116],256],12933:[[20845],256],12934:[[19971],256],12935:[[20843],256],12936:[[20061],256],12937:[[21313],256],12938:[[26376],256],12939:[[28779],256],12940:[[27700],256],12941:[[26408],256],12942:[[37329],256],12943:[[22303],256],12944:[[26085],256],12945:[[26666],256],12946:[[26377],256],12947:[[31038],256],12948:[[21517],256],12949:[[29305],256],12950:[[36001],256],12951:[[31069],256],12952:[[21172],256],12953:[[31192],256],12954:[[30007],256],12955:[[22899],256],12956:[[36969],256],12957:[[20778],256],12958:[[21360],256],12959:[[27880],256],12960:[[38917],256],12961:[[20241],256],12962:[[20889],256],12963:[[27491],256],12964:[[19978],256],12965:[[20013],256],12966:[[19979],256],12967:[[24038],256],12968:[[21491],256],12969:[[21307],256],12970:[[23447],256],12971:[[23398],256],12972:[[30435],256],12973:[[20225],256],12974:[[36039],256],12975:[[21332],256],12976:[[22812],256],12977:[[51,54],256],12978:[[51,55],256],12979:[[51,56],256],12980:[[51,57],256],12981:[[52,48],256],12982:[[52,49],256],12983:[[52,50],256],12984:[[52,51],256],12985:[[52,52],256],12986:[[52,53],256],12987:[[52,54],256],12988:[[52,55],256],12989:[[52,56],256],12990:[[52,57],256],12991:[[53,48],256],12992:[[49,26376],256],12993:[[50,26376],256],12994:[[51,26376],256],12995:[[52,26376],256],12996:[[53,26376],256],12997:[[54,26376],256],12998:[[55,26376],256],12999:[[56,26376],256],13e3:[[57,26376],256],13001:[[49,48,26376],256],13002:[[49,49,26376],256],13003:[[49,50,26376],256],13004:[[72,103],256],13005:[[101,114,103],256],13006:[[101,86],256],13007:[[76,84,68],256],13008:[[12450],256],13009:[[12452],256],13010:[[12454],256],13011:[[12456],256],13012:[[12458],256],13013:[[12459],256],13014:[[12461],256],13015:[[12463],256],13016:[[12465],256],13017:[[12467],256],13018:[[12469],256],13019:[[12471],256],13020:[[12473],256],13021:[[12475],256],13022:[[12477],256],13023:[[12479],256],13024:[[12481],256],13025:[[12484],256],13026:[[12486],256],13027:[[12488],256],13028:[[12490],256],13029:[[12491],256],13030:[[12492],256],13031:[[12493],256],13032:[[12494],256],13033:[[12495],256],13034:[[12498],256],13035:[[12501],256],13036:[[12504],256],13037:[[12507],256],13038:[[12510],256],13039:[[12511],256],13040:[[12512],256],13041:[[12513],256],13042:[[12514],256],13043:[[12516],256],13044:[[12518],256],13045:[[12520],256],13046:[[12521],256],13047:[[12522],256],13048:[[12523],256],13049:[[12524],256],13050:[[12525],256],13051:[[12527],256],13052:[[12528],256],13053:[[12529],256],13054:[[12530],256]},13056:{13056:[[12450,12497,12540,12488],256],13057:[[12450,12523,12501,12449],256],13058:[[12450,12531,12506,12450],256],13059:[[12450,12540,12523],256],13060:[[12452,12491,12531,12464],256],13061:[[12452,12531,12481],256],13062:[[12454,12457,12531],256],13063:[[12456,12473,12463,12540,12489],256],13064:[[12456,12540,12459,12540],256],13065:[[12458,12531,12473],256],13066:[[12458,12540,12512],256],13067:[[12459,12452,12522],256],13068:[[12459,12521,12483,12488],256],13069:[[12459,12525,12522,12540],256],13070:[[12460,12525,12531],256],13071:[[12460,12531,12510],256],13072:[[12462,12460],256],13073:[[12462,12491,12540],256],13074:[[12461,12517,12522,12540],256],13075:[[12462,12523,12480,12540],256],13076:[[12461,12525],256],13077:[[12461,12525,12464,12521,12512],256],13078:[[12461,12525,12513,12540,12488,12523],256],13079:[[12461,12525,12527,12483,12488],256],13080:[[12464,12521,12512],256],13081:[[12464,12521,12512,12488,12531],256],13082:[[12463,12523,12476,12452,12525],256],13083:[[12463,12525,12540,12493],256],13084:[[12465,12540,12473],256],13085:[[12467,12523,12490],256],13086:[[12467,12540,12509],256],13087:[[12469,12452,12463,12523],256],13088:[[12469,12531,12481,12540,12512],256],13089:[[12471,12522,12531,12464],256],13090:[[12475,12531,12481],256],13091:[[12475,12531,12488],256],13092:[[12480,12540,12473],256],13093:[[12487,12471],256],13094:[[12489,12523],256],13095:[[12488,12531],256],13096:[[12490,12494],256],13097:[[12494,12483,12488],256],13098:[[12495,12452,12484],256],13099:[[12497,12540,12475,12531,12488],256],13100:[[12497,12540,12484],256],13101:[[12496,12540,12524,12523],256],13102:[[12500,12450,12473,12488,12523],256],13103:[[12500,12463,12523],256],13104:[[12500,12467],256],13105:[[12499,12523],256],13106:[[12501,12449,12521,12483,12489],256],13107:[[12501,12451,12540,12488],256],13108:[[12502,12483,12471,12455,12523],256],13109:[[12501,12521,12531],256],13110:[[12504,12463,12479,12540,12523],256],13111:[[12506,12477],256],13112:[[12506,12491,12498],256],13113:[[12504,12523,12484],256],13114:[[12506,12531,12473],256],13115:[[12506,12540,12472],256],13116:[[12505,12540,12479],256],13117:[[12509,12452,12531,12488],256],13118:[[12508,12523,12488],256],13119:[[12507,12531],256],13120:[[12509,12531,12489],256],13121:[[12507,12540,12523],256],13122:[[12507,12540,12531],256],13123:[[12510,12452,12463,12525],256],13124:[[12510,12452,12523],256],13125:[[12510,12483,12495],256],13126:[[12510,12523,12463],256],13127:[[12510,12531,12471,12519,12531],256],13128:[[12511,12463,12525,12531],256],13129:[[12511,12522],256],13130:[[12511,12522,12496,12540,12523],256],13131:[[12513,12460],256],13132:[[12513,12460,12488,12531],256],13133:[[12513,12540,12488,12523],256],13134:[[12516,12540,12489],256],13135:[[12516,12540,12523],256],13136:[[12518,12450,12531],256],13137:[[12522,12483,12488,12523],256],13138:[[12522,12521],256],13139:[[12523,12500,12540],256],13140:[[12523,12540,12502,12523],256],13141:[[12524,12512],256],13142:[[12524,12531,12488,12466,12531],256],13143:[[12527,12483,12488],256],13144:[[48,28857],256],13145:[[49,28857],256],13146:[[50,28857],256],13147:[[51,28857],256],13148:[[52,28857],256],13149:[[53,28857],256],13150:[[54,28857],256],13151:[[55,28857],256],13152:[[56,28857],256],13153:[[57,28857],256],13154:[[49,48,28857],256],13155:[[49,49,28857],256],13156:[[49,50,28857],256],13157:[[49,51,28857],256],13158:[[49,52,28857],256],13159:[[49,53,28857],256],13160:[[49,54,28857],256],13161:[[49,55,28857],256],13162:[[49,56,28857],256],13163:[[49,57,28857],256],13164:[[50,48,28857],256],13165:[[50,49,28857],256],13166:[[50,50,28857],256],13167:[[50,51,28857],256],13168:[[50,52,28857],256],13169:[[104,80,97],256],13170:[[100,97],256],13171:[[65,85],256],13172:[[98,97,114],256],13173:[[111,86],256],13174:[[112,99],256],13175:[[100,109],256],13176:[[100,109,178],256],13177:[[100,109,179],256],13178:[[73,85],256],13179:[[24179,25104],256],13180:[[26157,21644],256],13181:[[22823,27491],256],13182:[[26126,27835],256],13183:[[26666,24335,20250,31038],256],13184:[[112,65],256],13185:[[110,65],256],13186:[[956,65],256],13187:[[109,65],256],13188:[[107,65],256],13189:[[75,66],256],13190:[[77,66],256],13191:[[71,66],256],13192:[[99,97,108],256],13193:[[107,99,97,108],256],13194:[[112,70],256],13195:[[110,70],256],13196:[[956,70],256],13197:[[956,103],256],13198:[[109,103],256],13199:[[107,103],256],13200:[[72,122],256],13201:[[107,72,122],256],13202:[[77,72,122],256],13203:[[71,72,122],256],13204:[[84,72,122],256],13205:[[956,8467],256],13206:[[109,8467],256],13207:[[100,8467],256],13208:[[107,8467],256],13209:[[102,109],256],13210:[[110,109],256],13211:[[956,109],256],13212:[[109,109],256],13213:[[99,109],256],13214:[[107,109],256],13215:[[109,109,178],256],13216:[[99,109,178],256],13217:[[109,178],256],13218:[[107,109,178],256],13219:[[109,109,179],256],13220:[[99,109,179],256],13221:[[109,179],256],13222:[[107,109,179],256],13223:[[109,8725,115],256],13224:[[109,8725,115,178],256],13225:[[80,97],256],13226:[[107,80,97],256],13227:[[77,80,97],256],13228:[[71,80,97],256],13229:[[114,97,100],256],13230:[[114,97,100,8725,115],256],13231:[[114,97,100,8725,115,178],256],13232:[[112,115],256],13233:[[110,115],256],13234:[[956,115],256],13235:[[109,115],256],13236:[[112,86],256],13237:[[110,86],256],13238:[[956,86],256],13239:[[109,86],256],13240:[[107,86],256],13241:[[77,86],256],13242:[[112,87],256],13243:[[110,87],256],13244:[[956,87],256],13245:[[109,87],256],13246:[[107,87],256],13247:[[77,87],256],13248:[[107,937],256],13249:[[77,937],256],13250:[[97,46,109,46],256],13251:[[66,113],256],13252:[[99,99],256],13253:[[99,100],256],13254:[[67,8725,107,103],256],13255:[[67,111,46],256],13256:[[100,66],256],13257:[[71,121],256],13258:[[104,97],256],13259:[[72,80],256],13260:[[105,110],256],13261:[[75,75],256],13262:[[75,77],256],13263:[[107,116],256],13264:[[108,109],256],13265:[[108,110],256],13266:[[108,111,103],256],13267:[[108,120],256],13268:[[109,98],256],13269:[[109,105,108],256],13270:[[109,111,108],256],13271:[[80,72],256],13272:[[112,46,109,46],256],13273:[[80,80,77],256],13274:[[80,82],256],13275:[[115,114],256],13276:[[83,118],256],13277:[[87,98],256],13278:[[86,8725,109],256],13279:[[65,8725,109],256],13280:[[49,26085],256],13281:[[50,26085],256],13282:[[51,26085],256],13283:[[52,26085],256],13284:[[53,26085],256],13285:[[54,26085],256],13286:[[55,26085],256],13287:[[56,26085],256],13288:[[57,26085],256],13289:[[49,48,26085],256],13290:[[49,49,26085],256],13291:[[49,50,26085],256],13292:[[49,51,26085],256],13293:[[49,52,26085],256],13294:[[49,53,26085],256],13295:[[49,54,26085],256],13296:[[49,55,26085],256],13297:[[49,56,26085],256],13298:[[49,57,26085],256],13299:[[50,48,26085],256],13300:[[50,49,26085],256],13301:[[50,50,26085],256],13302:[[50,51,26085],256],13303:[[50,52,26085],256],13304:[[50,53,26085],256],13305:[[50,54,26085],256],13306:[[50,55,26085],256],13307:[[50,56,26085],256],13308:[[50,57,26085],256],13309:[[51,48,26085],256],13310:[[51,49,26085],256],13311:[[103,97,108],256]},27136:{92912:[,1],92913:[,1],92914:[,1],92915:[,1],92916:[,1]},27392:{92976:[,230],92977:[,230],92978:[,230],92979:[,230],92980:[,230],92981:[,230],92982:[,230]},42496:{42607:[,230],42612:[,230],42613:[,230],42614:[,230],42615:[,230],42616:[,230],42617:[,230],42618:[,230],42619:[,230],42620:[,230],42621:[,230],42652:[[1098],256],42653:[[1100],256],42655:[,230],42736:[,230],42737:[,230]},42752:{42864:[[42863],256],43e3:[[294],256],43001:[[339],256]},43008:{43014:[,9],43204:[,9],43232:[,230],43233:[,230],43234:[,230],43235:[,230],43236:[,230],43237:[,230],43238:[,230],43239:[,230],43240:[,230],43241:[,230],43242:[,230],43243:[,230],43244:[,230],43245:[,230],43246:[,230],43247:[,230],43248:[,230],43249:[,230]},43264:{43307:[,220],43308:[,220],43309:[,220],43347:[,9],43443:[,7],43456:[,9]},43520:{43696:[,230],43698:[,230],43699:[,230],43700:[,220],43703:[,230],43704:[,230],43710:[,230],43711:[,230],43713:[,230],43766:[,9]},43776:{43868:[[42791],256],43869:[[43831],256],43870:[[619],256],43871:[[43858],256],44013:[,9]},48128:{113822:[,1]},53504:{119134:[[119127,119141],512],119135:[[119128,119141],512],119136:[[119135,119150],512],119137:[[119135,119151],512],119138:[[119135,119152],512],119139:[[119135,119153],512],119140:[[119135,119154],512],119141:[,216],119142:[,216],119143:[,1],119144:[,1],119145:[,1],119149:[,226],119150:[,216],119151:[,216],119152:[,216],119153:[,216],119154:[,216],119163:[,220],119164:[,220],119165:[,220],119166:[,220],119167:[,220],119168:[,220],119169:[,220],119170:[,220],119173:[,230],119174:[,230],119175:[,230],119176:[,230],119177:[,230],119178:[,220],119179:[,220],119210:[,230],119211:[,230],119212:[,230],119213:[,230],119227:[[119225,119141],512],119228:[[119226,119141],512],119229:[[119227,119150],512],119230:[[119228,119150],512],119231:[[119227,119151],512],119232:[[119228,119151],512]},53760:{119362:[,230],119363:[,230],119364:[,230]},54272:{119808:[[65],256],119809:[[66],256],119810:[[67],256],119811:[[68],256],119812:[[69],256],119813:[[70],256],119814:[[71],256],119815:[[72],256],119816:[[73],256],119817:[[74],256],119818:[[75],256],119819:[[76],256],119820:[[77],256],119821:[[78],256],119822:[[79],256],119823:[[80],256],119824:[[81],256],119825:[[82],256],119826:[[83],256],119827:[[84],256],119828:[[85],256],119829:[[86],256],119830:[[87],256],119831:[[88],256],119832:[[89],256],119833:[[90],256],119834:[[97],256],119835:[[98],256],119836:[[99],256],119837:[[100],256],119838:[[101],256],119839:[[102],256],119840:[[103],256],119841:[[104],256],119842:[[105],256],119843:[[106],256],119844:[[107],256],119845:[[108],256],119846:[[109],256],119847:[[110],256],119848:[[111],256],119849:[[112],256],119850:[[113],256],119851:[[114],256],119852:[[115],256],119853:[[116],256],119854:[[117],256],119855:[[118],256],119856:[[119],256],119857:[[120],256],119858:[[121],256],119859:[[122],256],119860:[[65],256],119861:[[66],256],119862:[[67],256],119863:[[68],256],119864:[[69],256],119865:[[70],256],119866:[[71],256],119867:[[72],256],119868:[[73],256],119869:[[74],256],119870:[[75],256],119871:[[76],256],119872:[[77],256],119873:[[78],256],119874:[[79],256],119875:[[80],256],119876:[[81],256],119877:[[82],256],119878:[[83],256],119879:[[84],256],119880:[[85],256],119881:[[86],256],119882:[[87],256],119883:[[88],256],119884:[[89],256],119885:[[90],256],119886:[[97],256],119887:[[98],256],119888:[[99],256],119889:[[100],256],119890:[[101],256],119891:[[102],256],119892:[[103],256],119894:[[105],256],119895:[[106],256],119896:[[107],256],119897:[[108],256],119898:[[109],256],119899:[[110],256],119900:[[111],256],119901:[[112],256],119902:[[113],256],119903:[[114],256],119904:[[115],256],119905:[[116],256],119906:[[117],256],119907:[[118],256],119908:[[119],256],119909:[[120],256],119910:[[121],256],119911:[[122],256],119912:[[65],256],119913:[[66],256],119914:[[67],256],119915:[[68],256],119916:[[69],256],119917:[[70],256],119918:[[71],256],119919:[[72],256],119920:[[73],256],119921:[[74],256],119922:[[75],256],119923:[[76],256],119924:[[77],256],119925:[[78],256],119926:[[79],256],119927:[[80],256],119928:[[81],256],119929:[[82],256],119930:[[83],256],119931:[[84],256],119932:[[85],256],119933:[[86],256],119934:[[87],256],119935:[[88],256],119936:[[89],256],119937:[[90],256],119938:[[97],256],119939:[[98],256],119940:[[99],256],119941:[[100],256],119942:[[101],256],119943:[[102],256],119944:[[103],256],119945:[[104],256],119946:[[105],256],119947:[[106],256],119948:[[107],256],119949:[[108],256],119950:[[109],256],119951:[[110],256],119952:[[111],256],119953:[[112],256],119954:[[113],256],119955:[[114],256],119956:[[115],256],119957:[[116],256],119958:[[117],256],119959:[[118],256],119960:[[119],256],119961:[[120],256],119962:[[121],256],119963:[[122],256],119964:[[65],256],119966:[[67],256],119967:[[68],256],119970:[[71],256],119973:[[74],256],119974:[[75],256],119977:[[78],256],119978:[[79],256],119979:[[80],256],119980:[[81],256],119982:[[83],256],119983:[[84],256],119984:[[85],256],119985:[[86],256],119986:[[87],256],119987:[[88],256],119988:[[89],256],119989:[[90],256],119990:[[97],256],119991:[[98],256],119992:[[99],256],119993:[[100],256],119995:[[102],256],119997:[[104],256],119998:[[105],256],119999:[[106],256],12e4:[[107],256],120001:[[108],256],120002:[[109],256],120003:[[110],256],120005:[[112],256],120006:[[113],256],120007:[[114],256],120008:[[115],256],120009:[[116],256],120010:[[117],256],120011:[[118],256],120012:[[119],256],120013:[[120],256],120014:[[121],256],120015:[[122],256],120016:[[65],256],120017:[[66],256],120018:[[67],256],120019:[[68],256],120020:[[69],256],120021:[[70],256],120022:[[71],256],120023:[[72],256],120024:[[73],256],120025:[[74],256],120026:[[75],256],120027:[[76],256],120028:[[77],256],120029:[[78],256],120030:[[79],256],120031:[[80],256],120032:[[81],256],120033:[[82],256],120034:[[83],256],120035:[[84],256],120036:[[85],256],120037:[[86],256],120038:[[87],256],120039:[[88],256],120040:[[89],256],120041:[[90],256],120042:[[97],256],120043:[[98],256],120044:[[99],256],120045:[[100],256],120046:[[101],256],120047:[[102],256],120048:[[103],256],120049:[[104],256],120050:[[105],256],120051:[[106],256],120052:[[107],256],120053:[[108],256],120054:[[109],256],120055:[[110],256],120056:[[111],256],120057:[[112],256],120058:[[113],256],120059:[[114],256],120060:[[115],256],120061:[[116],256],120062:[[117],256],120063:[[118],256]},54528:{120064:[[119],256],120065:[[120],256],120066:[[121],256],120067:[[122],256],120068:[[65],256],120069:[[66],256],120071:[[68],256],120072:[[69],256],120073:[[70],256],120074:[[71],256],120077:[[74],256],120078:[[75],256],120079:[[76],256],120080:[[77],256],120081:[[78],256],120082:[[79],256],120083:[[80],256],120084:[[81],256],120086:[[83],256],120087:[[84],256],120088:[[85],256],120089:[[86],256],120090:[[87],256],120091:[[88],256],120092:[[89],256],120094:[[97],256],120095:[[98],256],120096:[[99],256],120097:[[100],256],120098:[[101],256],120099:[[102],256],120100:[[103],256],120101:[[104],256],120102:[[105],256],120103:[[106],256],120104:[[107],256],120105:[[108],256],120106:[[109],256],120107:[[110],256],120108:[[111],256],120109:[[112],256],120110:[[113],256],120111:[[114],256],120112:[[115],256],120113:[[116],256],120114:[[117],256],120115:[[118],256],120116:[[119],256],120117:[[120],256],120118:[[121],256],120119:[[122],256],120120:[[65],256],120121:[[66],256],120123:[[68],256],120124:[[69],256],120125:[[70],256],120126:[[71],256],120128:[[73],256],120129:[[74],256],120130:[[75],256],120131:[[76],256],120132:[[77],256],120134:[[79],256],120138:[[83],256],120139:[[84],256],120140:[[85],256],120141:[[86],256],120142:[[87],256],120143:[[88],256],120144:[[89],256],120146:[[97],256],120147:[[98],256],120148:[[99],256],120149:[[100],256],120150:[[101],256],120151:[[102],256],120152:[[103],256],120153:[[104],256],120154:[[105],256],120155:[[106],256],120156:[[107],256],120157:[[108],256],120158:[[109],256],120159:[[110],256],120160:[[111],256],120161:[[112],256],120162:[[113],256],120163:[[114],256],120164:[[115],256],120165:[[116],256],120166:[[117],256],120167:[[118],256],120168:[[119],256],120169:[[120],256],120170:[[121],256],120171:[[122],256],120172:[[65],256],120173:[[66],256],120174:[[67],256],120175:[[68],256],120176:[[69],256],120177:[[70],256],120178:[[71],256],120179:[[72],256],120180:[[73],256],120181:[[74],256],120182:[[75],256],120183:[[76],256],120184:[[77],256],120185:[[78],256],120186:[[79],256],120187:[[80],256],120188:[[81],256],120189:[[82],256],120190:[[83],256],120191:[[84],256],120192:[[85],256],120193:[[86],256],120194:[[87],256],120195:[[88],256],120196:[[89],256],120197:[[90],256],120198:[[97],256],120199:[[98],256],120200:[[99],256],120201:[[100],256],120202:[[101],256],120203:[[102],256],120204:[[103],256],120205:[[104],256],120206:[[105],256],120207:[[106],256],120208:[[107],256],120209:[[108],256],120210:[[109],256],120211:[[110],256],120212:[[111],256],120213:[[112],256],120214:[[113],256],120215:[[114],256],120216:[[115],256],120217:[[116],256],120218:[[117],256],120219:[[118],256],120220:[[119],256],120221:[[120],256],120222:[[121],256],120223:[[122],256],120224:[[65],256],120225:[[66],256],120226:[[67],256],120227:[[68],256],120228:[[69],256],120229:[[70],256],120230:[[71],256],120231:[[72],256],120232:[[73],256],120233:[[74],256],120234:[[75],256],120235:[[76],256],120236:[[77],256],120237:[[78],256],120238:[[79],256],120239:[[80],256],120240:[[81],256],120241:[[82],256],120242:[[83],256],120243:[[84],256],120244:[[85],256],120245:[[86],256],120246:[[87],256],120247:[[88],256],120248:[[89],256],120249:[[90],256],120250:[[97],256],120251:[[98],256],120252:[[99],256],120253:[[100],256],120254:[[101],256],120255:[[102],256],120256:[[103],256],120257:[[104],256],120258:[[105],256],120259:[[106],256],120260:[[107],256],120261:[[108],256],120262:[[109],256],120263:[[110],256],120264:[[111],256],120265:[[112],256],120266:[[113],256],120267:[[114],256],120268:[[115],256],120269:[[116],256],120270:[[117],256],120271:[[118],256],120272:[[119],256],120273:[[120],256],120274:[[121],256],120275:[[122],256],120276:[[65],256],120277:[[66],256],120278:[[67],256],120279:[[68],256],120280:[[69],256],120281:[[70],256],120282:[[71],256],120283:[[72],256],120284:[[73],256],120285:[[74],256],120286:[[75],256],120287:[[76],256],120288:[[77],256],120289:[[78],256],120290:[[79],256],120291:[[80],256],120292:[[81],256],120293:[[82],256],120294:[[83],256],120295:[[84],256],120296:[[85],256],120297:[[86],256],120298:[[87],256],120299:[[88],256],120300:[[89],256],120301:[[90],256],120302:[[97],256],120303:[[98],256],120304:[[99],256],120305:[[100],256],120306:[[101],256],120307:[[102],256],120308:[[103],256],120309:[[104],256],120310:[[105],256],120311:[[106],256],120312:[[107],256],120313:[[108],256],120314:[[109],256],120315:[[110],256],120316:[[111],256],120317:[[112],256],120318:[[113],256],120319:[[114],256]},54784:{120320:[[115],256],120321:[[116],256],120322:[[117],256],120323:[[118],256],120324:[[119],256],120325:[[120],256],120326:[[121],256],120327:[[122],256],120328:[[65],256],120329:[[66],256],120330:[[67],256],120331:[[68],256],120332:[[69],256],120333:[[70],256],120334:[[71],256],120335:[[72],256],120336:[[73],256],120337:[[74],256],120338:[[75],256],120339:[[76],256],120340:[[77],256],120341:[[78],256],120342:[[79],256],120343:[[80],256],120344:[[81],256],120345:[[82],256],120346:[[83],256],120347:[[84],256],120348:[[85],256],120349:[[86],256],120350:[[87],256],120351:[[88],256],120352:[[89],256],120353:[[90],256],120354:[[97],256],120355:[[98],256],120356:[[99],256],120357:[[100],256],120358:[[101],256],120359:[[102],256],120360:[[103],256],120361:[[104],256],120362:[[105],256],120363:[[106],256],120364:[[107],256],120365:[[108],256],120366:[[109],256],120367:[[110],256],120368:[[111],256],120369:[[112],256],120370:[[113],256],120371:[[114],256],120372:[[115],256],120373:[[116],256],120374:[[117],256],120375:[[118],256],120376:[[119],256],120377:[[120],256],120378:[[121],256],120379:[[122],256],120380:[[65],256],120381:[[66],256],120382:[[67],256],120383:[[68],256],120384:[[69],256],120385:[[70],256],120386:[[71],256],120387:[[72],256],120388:[[73],256],120389:[[74],256],120390:[[75],256],120391:[[76],256],120392:[[77],256],120393:[[78],256],120394:[[79],256],120395:[[80],256],120396:[[81],256],120397:[[82],256],120398:[[83],256],120399:[[84],256],120400:[[85],256],120401:[[86],256],120402:[[87],256],120403:[[88],256],120404:[[89],256],120405:[[90],256],120406:[[97],256],120407:[[98],256],120408:[[99],256],120409:[[100],256],120410:[[101],256],120411:[[102],256],120412:[[103],256],120413:[[104],256],120414:[[105],256],120415:[[106],256],120416:[[107],256],120417:[[108],256],120418:[[109],256],120419:[[110],256],120420:[[111],256],120421:[[112],256],120422:[[113],256],120423:[[114],256],120424:[[115],256],120425:[[116],256],120426:[[117],256],120427:[[118],256],120428:[[119],256],120429:[[120],256],120430:[[121],256],120431:[[122],256],120432:[[65],256],120433:[[66],256],120434:[[67],256],120435:[[68],256],120436:[[69],256],120437:[[70],256],120438:[[71],256],120439:[[72],256],120440:[[73],256],120441:[[74],256],120442:[[75],256],120443:[[76],256],120444:[[77],256],120445:[[78],256],120446:[[79],256],120447:[[80],256],120448:[[81],256],120449:[[82],256],120450:[[83],256],120451:[[84],256],120452:[[85],256],120453:[[86],256],120454:[[87],256],120455:[[88],256],120456:[[89],256],120457:[[90],256],120458:[[97],256],120459:[[98],256],120460:[[99],256],120461:[[100],256],120462:[[101],256],120463:[[102],256],120464:[[103],256],120465:[[104],256],120466:[[105],256],120467:[[106],256],120468:[[107],256],120469:[[108],256],120470:[[109],256],120471:[[110],256],120472:[[111],256],120473:[[112],256],120474:[[113],256],120475:[[114],256],120476:[[115],256],120477:[[116],256],120478:[[117],256],120479:[[118],256],120480:[[119],256],120481:[[120],256],120482:[[121],256],120483:[[122],256],120484:[[305],256],120485:[[567],256],120488:[[913],256],120489:[[914],256],120490:[[915],256],120491:[[916],256],120492:[[917],256],120493:[[918],256],120494:[[919],256],120495:[[920],256],120496:[[921],256],120497:[[922],256],120498:[[923],256],120499:[[924],256],120500:[[925],256],120501:[[926],256],120502:[[927],256],120503:[[928],256],120504:[[929],256],120505:[[1012],256],120506:[[931],256],120507:[[932],256],120508:[[933],256],120509:[[934],256],120510:[[935],256],120511:[[936],256],120512:[[937],256],120513:[[8711],256],120514:[[945],256],120515:[[946],256],120516:[[947],256],120517:[[948],256],120518:[[949],256],120519:[[950],256],120520:[[951],256],120521:[[952],256],120522:[[953],256],120523:[[954],256],120524:[[955],256],120525:[[956],256],120526:[[957],256],120527:[[958],256],120528:[[959],256],120529:[[960],256],120530:[[961],256],120531:[[962],256],120532:[[963],256],120533:[[964],256],120534:[[965],256],120535:[[966],256],120536:[[967],256],120537:[[968],256],120538:[[969],256],120539:[[8706],256],120540:[[1013],256],120541:[[977],256],120542:[[1008],256],120543:[[981],256],120544:[[1009],256],120545:[[982],256],120546:[[913],256],120547:[[914],256],120548:[[915],256],120549:[[916],256],120550:[[917],256],120551:[[918],256],120552:[[919],256],120553:[[920],256],120554:[[921],256],120555:[[922],256],120556:[[923],256],120557:[[924],256],120558:[[925],256],120559:[[926],256],120560:[[927],256],120561:[[928],256],120562:[[929],256],120563:[[1012],256],120564:[[931],256],120565:[[932],256],120566:[[933],256],120567:[[934],256],120568:[[935],256],120569:[[936],256],120570:[[937],256],120571:[[8711],256],120572:[[945],256],120573:[[946],256],120574:[[947],256],120575:[[948],256]},55040:{120576:[[949],256],120577:[[950],256],120578:[[951],256],120579:[[952],256],120580:[[953],256],120581:[[954],256],120582:[[955],256],120583:[[956],256],120584:[[957],256],120585:[[958],256],120586:[[959],256],120587:[[960],256],120588:[[961],256],120589:[[962],256],120590:[[963],256],120591:[[964],256],120592:[[965],256],120593:[[966],256],120594:[[967],256],120595:[[968],256],120596:[[969],256],120597:[[8706],256],120598:[[1013],256],120599:[[977],256],120600:[[1008],256],120601:[[981],256],120602:[[1009],256],120603:[[982],256],120604:[[913],256],120605:[[914],256],120606:[[915],256],120607:[[916],256],120608:[[917],256],120609:[[918],256],120610:[[919],256],120611:[[920],256],120612:[[921],256],120613:[[922],256],120614:[[923],256],120615:[[924],256],120616:[[925],256],120617:[[926],256],120618:[[927],256],120619:[[928],256],120620:[[929],256],120621:[[1012],256],120622:[[931],256],120623:[[932],256],120624:[[933],256],120625:[[934],256],120626:[[935],256],120627:[[936],256],120628:[[937],256],120629:[[8711],256],120630:[[945],256],120631:[[946],256],120632:[[947],256],120633:[[948],256],120634:[[949],256],120635:[[950],256],120636:[[951],256],120637:[[952],256],120638:[[953],256],120639:[[954],256],120640:[[955],256],120641:[[956],256],120642:[[957],256],120643:[[958],256],120644:[[959],256],120645:[[960],256],120646:[[961],256],120647:[[962],256],120648:[[963],256],120649:[[964],256],120650:[[965],256],120651:[[966],256],120652:[[967],256],120653:[[968],256],120654:[[969],256],120655:[[8706],256],120656:[[1013],256],120657:[[977],256],120658:[[1008],256],120659:[[981],256],120660:[[1009],256],120661:[[982],256],120662:[[913],256],120663:[[914],256],120664:[[915],256],120665:[[916],256],120666:[[917],256],120667:[[918],256],120668:[[919],256],120669:[[920],256],120670:[[921],256],120671:[[922],256],120672:[[923],256],120673:[[924],256],120674:[[925],256],120675:[[926],256],120676:[[927],256],120677:[[928],256],120678:[[929],256],120679:[[1012],256],120680:[[931],256],120681:[[932],256],120682:[[933],256],120683:[[934],256],120684:[[935],256],120685:[[936],256],120686:[[937],256],120687:[[8711],256],120688:[[945],256],120689:[[946],256],120690:[[947],256],120691:[[948],256],120692:[[949],256],120693:[[950],256],120694:[[951],256],120695:[[952],256],120696:[[953],256],120697:[[954],256],120698:[[955],256],120699:[[956],256],120700:[[957],256],120701:[[958],256],120702:[[959],256],120703:[[960],256],120704:[[961],256],120705:[[962],256],120706:[[963],256],120707:[[964],256],120708:[[965],256],120709:[[966],256],120710:[[967],256],120711:[[968],256],120712:[[969],256],120713:[[8706],256],120714:[[1013],256],120715:[[977],256],120716:[[1008],256],120717:[[981],256],120718:[[1009],256],120719:[[982],256],120720:[[913],256],120721:[[914],256],120722:[[915],256],120723:[[916],256],120724:[[917],256],120725:[[918],256],120726:[[919],256],120727:[[920],256],120728:[[921],256],120729:[[922],256],120730:[[923],256],120731:[[924],256],120732:[[925],256],120733:[[926],256],120734:[[927],256],120735:[[928],256],120736:[[929],256],120737:[[1012],256],120738:[[931],256],120739:[[932],256],120740:[[933],256],120741:[[934],256],120742:[[935],256],120743:[[936],256],120744:[[937],256],120745:[[8711],256],120746:[[945],256],120747:[[946],256],120748:[[947],256],120749:[[948],256],120750:[[949],256],120751:[[950],256],120752:[[951],256],120753:[[952],256],120754:[[953],256],120755:[[954],256],120756:[[955],256],120757:[[956],256],120758:[[957],256],120759:[[958],256],120760:[[959],256],120761:[[960],256],120762:[[961],256],120763:[[962],256],120764:[[963],256],120765:[[964],256],120766:[[965],256],120767:[[966],256],120768:[[967],256],120769:[[968],256],120770:[[969],256],120771:[[8706],256],120772:[[1013],256],120773:[[977],256],120774:[[1008],256],120775:[[981],256],120776:[[1009],256],120777:[[982],256],120778:[[988],256],120779:[[989],256],120782:[[48],256],120783:[[49],256],120784:[[50],256],120785:[[51],256],120786:[[52],256],120787:[[53],256],120788:[[54],256],120789:[[55],256],120790:[[56],256],120791:[[57],256],120792:[[48],256],120793:[[49],256],120794:[[50],256],120795:[[51],256],120796:[[52],256],120797:[[53],256],120798:[[54],256],120799:[[55],256],120800:[[56],256],120801:[[57],256],120802:[[48],256],120803:[[49],256],120804:[[50],256],120805:[[51],256],120806:[[52],256],120807:[[53],256],120808:[[54],256],120809:[[55],256],120810:[[56],256],120811:[[57],256],120812:[[48],256],120813:[[49],256],120814:[[50],256],120815:[[51],256],120816:[[52],256],120817:[[53],256],120818:[[54],256],120819:[[55],256],120820:[[56],256],120821:[[57],256],120822:[[48],256],120823:[[49],256],120824:[[50],256],120825:[[51],256],120826:[[52],256],120827:[[53],256],120828:[[54],256],120829:[[55],256],120830:[[56],256],120831:[[57],256]},59392:{125136:[,220],125137:[,220],125138:[,220],125139:[,220],125140:[,220],125141:[,220],125142:[,220]},60928:{126464:[[1575],256],126465:[[1576],256],126466:[[1580],256],126467:[[1583],256],126469:[[1608],256],126470:[[1586],256],126471:[[1581],256],126472:[[1591],256],126473:[[1610],256],126474:[[1603],256],126475:[[1604],256],126476:[[1605],256],126477:[[1606],256],126478:[[1587],256],126479:[[1593],256],126480:[[1601],256],126481:[[1589],256],126482:[[1602],256],126483:[[1585],256],126484:[[1588],256],126485:[[1578],256],126486:[[1579],256],126487:[[1582],256],126488:[[1584],256],126489:[[1590],256],126490:[[1592],256],126491:[[1594],256],126492:[[1646],256],126493:[[1722],256],126494:[[1697],256],126495:[[1647],256],126497:[[1576],256],126498:[[1580],256],126500:[[1607],256],126503:[[1581],256],126505:[[1610],256],126506:[[1603],256],126507:[[1604],256],126508:[[1605],256],126509:[[1606],256],126510:[[1587],256],126511:[[1593],256],126512:[[1601],256],126513:[[1589],256],126514:[[1602],256],126516:[[1588],256],126517:[[1578],256],126518:[[1579],256],126519:[[1582],256],126521:[[1590],256],126523:[[1594],256],126530:[[1580],256],126535:[[1581],256],126537:[[1610],256],126539:[[1604],256],126541:[[1606],256],126542:[[1587],256],126543:[[1593],256],126545:[[1589],256],126546:[[1602],256],126548:[[1588],256],126551:[[1582],256],126553:[[1590],256],126555:[[1594],256],126557:[[1722],256],126559:[[1647],256],126561:[[1576],256],126562:[[1580],256],126564:[[1607],256],126567:[[1581],256],126568:[[1591],256],126569:[[1610],256],126570:[[1603],256],126572:[[1605],256],126573:[[1606],256],126574:[[1587],256],126575:[[1593],256],126576:[[1601],256],126577:[[1589],256],126578:[[1602],256],126580:[[1588],256],126581:[[1578],256],126582:[[1579],256],126583:[[1582],256],126585:[[1590],256],126586:[[1592],256],126587:[[1594],256],126588:[[1646],256],126590:[[1697],256],126592:[[1575],256],126593:[[1576],256],126594:[[1580],256],126595:[[1583],256],126596:[[1607],256],126597:[[1608],256],126598:[[1586],256],126599:[[1581],256],126600:[[1591],256],126601:[[1610],256],126603:[[1604],256],126604:[[1605],256],126605:[[1606],256],126606:[[1587],256],126607:[[1593],256],126608:[[1601],256],126609:[[1589],256],126610:[[1602],256],126611:[[1585],256],126612:[[1588],256],126613:[[1578],256],126614:[[1579],256],126615:[[1582],256],126616:[[1584],256],126617:[[1590],256],126618:[[1592],256],126619:[[1594],256],126625:[[1576],256],126626:[[1580],256],126627:[[1583],256],126629:[[1608],256],126630:[[1586],256],126631:[[1581],256],126632:[[1591],256],126633:[[1610],256],126635:[[1604],256],126636:[[1605],256],126637:[[1606],256],126638:[[1587],256],126639:[[1593],256],126640:[[1601],256],126641:[[1589],256],126642:[[1602],256],126643:[[1585],256],126644:[[1588],256],126645:[[1578],256],126646:[[1579],256],126647:[[1582],256],126648:[[1584],256],126649:[[1590],256],126650:[[1592],256],126651:[[1594],256]},61696:{127232:[[48,46],256],127233:[[48,44],256],127234:[[49,44],256],127235:[[50,44],256],127236:[[51,44],256],127237:[[52,44],256],127238:[[53,44],256],127239:[[54,44],256],127240:[[55,44],256],127241:[[56,44],256],127242:[[57,44],256],127248:[[40,65,41],256],127249:[[40,66,41],256],127250:[[40,67,41],256],127251:[[40,68,41],256],127252:[[40,69,41],256],127253:[[40,70,41],256],127254:[[40,71,41],256],127255:[[40,72,41],256],127256:[[40,73,41],256],127257:[[40,74,41],256],127258:[[40,75,41],256],127259:[[40,76,41],256],127260:[[40,77,41],256],127261:[[40,78,41],256],127262:[[40,79,41],256],127263:[[40,80,41],256],127264:[[40,81,41],256],127265:[[40,82,41],256],127266:[[40,83,41],256],127267:[[40,84,41],256],127268:[[40,85,41],256],127269:[[40,86,41],256],127270:[[40,87,41],256],127271:[[40,88,41],256],127272:[[40,89,41],256],127273:[[40,90,41],256],127274:[[12308,83,12309],256],127275:[[67],256],127276:[[82],256],127277:[[67,68],256],127278:[[87,90],256],127280:[[65],256],127281:[[66],256],127282:[[67],256],127283:[[68],256],127284:[[69],256],127285:[[70],256],127286:[[71],256],127287:[[72],256],127288:[[73],256],127289:[[74],256],127290:[[75],256],127291:[[76],256],127292:[[77],256],127293:[[78],256],127294:[[79],256],127295:[[80],256],127296:[[81],256],127297:[[82],256],127298:[[83],256],127299:[[84],256],127300:[[85],256],127301:[[86],256],127302:[[87],256],127303:[[88],256],127304:[[89],256],127305:[[90],256],127306:[[72,86],256],127307:[[77,86],256],127308:[[83,68],256],127309:[[83,83],256],127310:[[80,80,86],256],127311:[[87,67],256],127338:[[77,67],256],127339:[[77,68],256],127376:[[68,74],256]},61952:{127488:[[12411,12363],256],127489:[[12467,12467],256],127490:[[12469],256],127504:[[25163],256],127505:[[23383],256],127506:[[21452],256],127507:[[12487],256],127508:[[20108],256],127509:[[22810],256],127510:[[35299],256],127511:[[22825],256],127512:[[20132],256],127513:[[26144],256],127514:[[28961],256],127515:[[26009],256],127516:[[21069],256],127517:[[24460],256],127518:[[20877],256],127519:[[26032],256],127520:[[21021],256],127521:[[32066],256],127522:[[29983],256],127523:[[36009],256],127524:[[22768],256],127525:[[21561],256],127526:[[28436],256],127527:[[25237],256],127528:[[25429],256],127529:[[19968],256],127530:[[19977],256],127531:[[36938],256],127532:[[24038],256],127533:[[20013],256],127534:[[21491],256],127535:[[25351],256],127536:[[36208],256],127537:[[25171],256],127538:[[31105],256],127539:[[31354],256],127540:[[21512],256],127541:[[28288],256],127542:[[26377],256],127543:[[26376],256],127544:[[30003],256],127545:[[21106],256],127546:[[21942],256],127552:[[12308,26412,12309],256],127553:[[12308,19977,12309],256],127554:[[12308,20108,12309],256],127555:[[12308,23433,12309],256],127556:[[12308,28857,12309],256],127557:[[12308,25171,12309],256],127558:[[12308,30423,12309],256],127559:[[12308,21213,12309],256],127560:[[12308,25943,12309],256],127568:[[24471],256],127569:[[21487],256]},63488:{194560:[[20029]],194561:[[20024]],194562:[[20033]],194563:[[131362]],194564:[[20320]],194565:[[20398]],194566:[[20411]],194567:[[20482]],194568:[[20602]],194569:[[20633]],194570:[[20711]],194571:[[20687]],194572:[[13470]],194573:[[132666]],194574:[[20813]],194575:[[20820]],194576:[[20836]],194577:[[20855]],194578:[[132380]],194579:[[13497]],194580:[[20839]],194581:[[20877]],194582:[[132427]],194583:[[20887]],194584:[[20900]],194585:[[20172]],194586:[[20908]],194587:[[20917]],194588:[[168415]],194589:[[20981]],194590:[[20995]],194591:[[13535]],194592:[[21051]],194593:[[21062]],194594:[[21106]],194595:[[21111]],194596:[[13589]],194597:[[21191]],194598:[[21193]],194599:[[21220]],194600:[[21242]],194601:[[21253]],194602:[[21254]],194603:[[21271]],194604:[[21321]],194605:[[21329]],194606:[[21338]],194607:[[21363]],194608:[[21373]],194609:[[21375]],194610:[[21375]],194611:[[21375]],194612:[[133676]],194613:[[28784]],194614:[[21450]],194615:[[21471]],194616:[[133987]],194617:[[21483]],194618:[[21489]],194619:[[21510]],194620:[[21662]],194621:[[21560]],194622:[[21576]],194623:[[21608]],194624:[[21666]],194625:[[21750]],194626:[[21776]],194627:[[21843]],194628:[[21859]],194629:[[21892]],194630:[[21892]],194631:[[21913]],194632:[[21931]],194633:[[21939]],194634:[[21954]],194635:[[22294]],194636:[[22022]],194637:[[22295]],194638:[[22097]],194639:[[22132]],194640:[[20999]],194641:[[22766]],194642:[[22478]],194643:[[22516]],194644:[[22541]],194645:[[22411]],194646:[[22578]],194647:[[22577]],194648:[[22700]],194649:[[136420]],194650:[[22770]],194651:[[22775]],194652:[[22790]],194653:[[22810]],194654:[[22818]],194655:[[22882]],194656:[[136872]],194657:[[136938]],194658:[[23020]],194659:[[23067]],194660:[[23079]],194661:[[23e3]],194662:[[23142]],194663:[[14062]],194664:[[14076]],194665:[[23304]],194666:[[23358]],194667:[[23358]],194668:[[137672]],194669:[[23491]],194670:[[23512]],194671:[[23527]],194672:[[23539]],194673:[[138008]],194674:[[23551]],194675:[[23558]],194676:[[24403]],194677:[[23586]],194678:[[14209]],194679:[[23648]],194680:[[23662]],194681:[[23744]],194682:[[23693]],194683:[[138724]],194684:[[23875]],194685:[[138726]],194686:[[23918]],194687:[[23915]],194688:[[23932]],194689:[[24033]],194690:[[24034]],194691:[[14383]],194692:[[24061]],194693:[[24104]],194694:[[24125]],194695:[[24169]],194696:[[14434]],194697:[[139651]],194698:[[14460]],194699:[[24240]],194700:[[24243]],194701:[[24246]],194702:[[24266]],194703:[[172946]],194704:[[24318]],194705:[[140081]],194706:[[140081]],194707:[[33281]],194708:[[24354]],194709:[[24354]],194710:[[14535]],194711:[[144056]],194712:[[156122]],194713:[[24418]],194714:[[24427]],194715:[[14563]],194716:[[24474]],194717:[[24525]],194718:[[24535]],194719:[[24569]],194720:[[24705]],194721:[[14650]],194722:[[14620]],194723:[[24724]],194724:[[141012]],194725:[[24775]],194726:[[24904]],194727:[[24908]],194728:[[24910]],194729:[[24908]],194730:[[24954]],194731:[[24974]],194732:[[25010]],194733:[[24996]],194734:[[25007]],194735:[[25054]],194736:[[25074]],194737:[[25078]],194738:[[25104]],194739:[[25115]],194740:[[25181]],194741:[[25265]],194742:[[25300]],194743:[[25424]],194744:[[142092]],194745:[[25405]],194746:[[25340]],194747:[[25448]],194748:[[25475]],194749:[[25572]],194750:[[142321]],194751:[[25634]],194752:[[25541]],194753:[[25513]],194754:[[14894]],194755:[[25705]],194756:[[25726]],194757:[[25757]],194758:[[25719]],194759:[[14956]],194760:[[25935]],194761:[[25964]],194762:[[143370]],194763:[[26083]],194764:[[26360]],194765:[[26185]],194766:[[15129]],194767:[[26257]],194768:[[15112]],194769:[[15076]],194770:[[20882]],194771:[[20885]],194772:[[26368]],194773:[[26268]],194774:[[32941]],194775:[[17369]],194776:[[26391]],194777:[[26395]],194778:[[26401]],194779:[[26462]],194780:[[26451]],194781:[[144323]],194782:[[15177]],194783:[[26618]],194784:[[26501]],194785:[[26706]],194786:[[26757]],194787:[[144493]],194788:[[26766]],194789:[[26655]],194790:[[26900]],194791:[[15261]],194792:[[26946]],194793:[[27043]],194794:[[27114]],194795:[[27304]],194796:[[145059]],194797:[[27355]],194798:[[15384]],194799:[[27425]],194800:[[145575]],194801:[[27476]],194802:[[15438]],194803:[[27506]],194804:[[27551]],194805:[[27578]],194806:[[27579]],194807:[[146061]],194808:[[138507]],194809:[[146170]],194810:[[27726]],194811:[[146620]],194812:[[27839]],194813:[[27853]],194814:[[27751]],194815:[[27926]]},63744:{63744:[[35912]],63745:[[26356]],63746:[[36554]],63747:[[36040]],63748:[[28369]],63749:[[20018]],63750:[[21477]],63751:[[40860]],63752:[[40860]],63753:[[22865]],63754:[[37329]],63755:[[21895]],63756:[[22856]],63757:[[25078]],63758:[[30313]],63759:[[32645]],63760:[[34367]],63761:[[34746]],63762:[[35064]],63763:[[37007]],63764:[[27138]],63765:[[27931]],63766:[[28889]],63767:[[29662]],63768:[[33853]],63769:[[37226]],63770:[[39409]],63771:[[20098]],63772:[[21365]],63773:[[27396]],63774:[[29211]],63775:[[34349]],63776:[[40478]],63777:[[23888]],63778:[[28651]],63779:[[34253]],63780:[[35172]],63781:[[25289]],63782:[[33240]],63783:[[34847]],63784:[[24266]],63785:[[26391]],63786:[[28010]],63787:[[29436]],63788:[[37070]],63789:[[20358]],63790:[[20919]],63791:[[21214]],63792:[[25796]],63793:[[27347]],63794:[[29200]],63795:[[30439]],63796:[[32769]],63797:[[34310]],63798:[[34396]],63799:[[36335]],63800:[[38706]],63801:[[39791]],63802:[[40442]],63803:[[30860]],63804:[[31103]],63805:[[32160]],63806:[[33737]],63807:[[37636]],63808:[[40575]],63809:[[35542]],63810:[[22751]],63811:[[24324]],63812:[[31840]],63813:[[32894]],63814:[[29282]],63815:[[30922]],63816:[[36034]],63817:[[38647]],63818:[[22744]],63819:[[23650]],63820:[[27155]],63821:[[28122]],63822:[[28431]],63823:[[32047]],63824:[[32311]],63825:[[38475]],63826:[[21202]],63827:[[32907]],63828:[[20956]],63829:[[20940]],63830:[[31260]],63831:[[32190]],63832:[[33777]],63833:[[38517]],63834:[[35712]],63835:[[25295]],63836:[[27138]],63837:[[35582]],63838:[[20025]],63839:[[23527]],63840:[[24594]],63841:[[29575]],63842:[[30064]],63843:[[21271]],63844:[[30971]],63845:[[20415]],63846:[[24489]],63847:[[19981]],63848:[[27852]],63849:[[25976]],63850:[[32034]],63851:[[21443]],63852:[[22622]],63853:[[30465]],63854:[[33865]],63855:[[35498]],63856:[[27578]],63857:[[36784]],63858:[[27784]],63859:[[25342]],63860:[[33509]],63861:[[25504]],63862:[[30053]],63863:[[20142]],63864:[[20841]],63865:[[20937]],63866:[[26753]],63867:[[31975]],63868:[[33391]],63869:[[35538]],63870:[[37327]],63871:[[21237]],63872:[[21570]],63873:[[22899]],63874:[[24300]],63875:[[26053]],63876:[[28670]],63877:[[31018]],63878:[[38317]],63879:[[39530]],63880:[[40599]],63881:[[40654]],63882:[[21147]],63883:[[26310]],63884:[[27511]],63885:[[36706]],63886:[[24180]],63887:[[24976]],63888:[[25088]],63889:[[25754]],63890:[[28451]],63891:[[29001]],63892:[[29833]],63893:[[31178]],63894:[[32244]],63895:[[32879]],63896:[[36646]],63897:[[34030]],63898:[[36899]],63899:[[37706]],63900:[[21015]],63901:[[21155]],63902:[[21693]],63903:[[28872]],63904:[[35010]],63905:[[35498]],63906:[[24265]],63907:[[24565]],63908:[[25467]],63909:[[27566]],63910:[[31806]],63911:[[29557]],63912:[[20196]],63913:[[22265]],63914:[[23527]],63915:[[23994]],63916:[[24604]],63917:[[29618]],63918:[[29801]],63919:[[32666]],63920:[[32838]],63921:[[37428]],63922:[[38646]],63923:[[38728]],63924:[[38936]],63925:[[20363]],63926:[[31150]],63927:[[37300]],63928:[[38584]],63929:[[24801]],63930:[[20102]],63931:[[20698]],63932:[[23534]],63933:[[23615]],63934:[[26009]],63935:[[27138]],63936:[[29134]],63937:[[30274]],63938:[[34044]],63939:[[36988]],63940:[[40845]],63941:[[26248]],63942:[[38446]],63943:[[21129]],63944:[[26491]],63945:[[26611]],63946:[[27969]],63947:[[28316]],63948:[[29705]],63949:[[30041]],63950:[[30827]],63951:[[32016]],63952:[[39006]],63953:[[20845]],63954:[[25134]],63955:[[38520]],63956:[[20523]],63957:[[23833]],63958:[[28138]],63959:[[36650]],63960:[[24459]],63961:[[24900]],63962:[[26647]],63963:[[29575]],63964:[[38534]],63965:[[21033]],63966:[[21519]],63967:[[23653]],63968:[[26131]],63969:[[26446]],63970:[[26792]],63971:[[27877]],63972:[[29702]],63973:[[30178]],63974:[[32633]],63975:[[35023]],63976:[[35041]],63977:[[37324]],63978:[[38626]],63979:[[21311]],63980:[[28346]],63981:[[21533]],63982:[[29136]],63983:[[29848]],63984:[[34298]],63985:[[38563]],63986:[[40023]],63987:[[40607]],63988:[[26519]],63989:[[28107]],63990:[[33256]],63991:[[31435]],63992:[[31520]],63993:[[31890]],63994:[[29376]],63995:[[28825]],63996:[[35672]],63997:[[20160]],63998:[[33590]],63999:[[21050]],194816:[[27966]],194817:[[28023]],194818:[[27969]],194819:[[28009]],194820:[[28024]],194821:[[28037]],194822:[[146718]],194823:[[27956]],194824:[[28207]],194825:[[28270]],194826:[[15667]],194827:[[28363]],194828:[[28359]],194829:[[147153]],194830:[[28153]],194831:[[28526]],194832:[[147294]],194833:[[147342]],194834:[[28614]],194835:[[28729]],194836:[[28702]],194837:[[28699]],194838:[[15766]],194839:[[28746]],194840:[[28797]],194841:[[28791]],194842:[[28845]],194843:[[132389]],194844:[[28997]],194845:[[148067]],194846:[[29084]],194847:[[148395]],194848:[[29224]],194849:[[29237]],194850:[[29264]],194851:[[149e3]],194852:[[29312]],194853:[[29333]],194854:[[149301]],194855:[[149524]],194856:[[29562]],194857:[[29579]],194858:[[16044]],194859:[[29605]],194860:[[16056]],194861:[[16056]],194862:[[29767]],194863:[[29788]],194864:[[29809]],194865:[[29829]],194866:[[29898]],194867:[[16155]],194868:[[29988]],194869:[[150582]],194870:[[30014]],194871:[[150674]],194872:[[30064]],194873:[[139679]],194874:[[30224]],194875:[[151457]],194876:[[151480]],194877:[[151620]],194878:[[16380]],194879:[[16392]],194880:[[30452]],194881:[[151795]],194882:[[151794]],194883:[[151833]],194884:[[151859]],194885:[[30494]],194886:[[30495]],194887:[[30495]],194888:[[30538]],194889:[[16441]],194890:[[30603]],194891:[[16454]],194892:[[16534]],194893:[[152605]],194894:[[30798]],194895:[[30860]],194896:[[30924]],194897:[[16611]],194898:[[153126]],194899:[[31062]],194900:[[153242]],194901:[[153285]],194902:[[31119]],194903:[[31211]],194904:[[16687]],194905:[[31296]],194906:[[31306]],194907:[[31311]],194908:[[153980]],194909:[[154279]],194910:[[154279]],194911:[[31470]],194912:[[16898]],194913:[[154539]],194914:[[31686]],194915:[[31689]],194916:[[16935]],194917:[[154752]],194918:[[31954]],194919:[[17056]],194920:[[31976]],194921:[[31971]],194922:[[32e3]],194923:[[155526]],194924:[[32099]],194925:[[17153]],194926:[[32199]],194927:[[32258]],194928:[[32325]],194929:[[17204]],194930:[[156200]],194931:[[156231]],194932:[[17241]],194933:[[156377]],194934:[[32634]],194935:[[156478]],194936:[[32661]],194937:[[32762]],194938:[[32773]],194939:[[156890]],194940:[[156963]],194941:[[32864]],194942:[[157096]],194943:[[32880]],194944:[[144223]],194945:[[17365]],194946:[[32946]],194947:[[33027]],194948:[[17419]],194949:[[33086]],194950:[[23221]],194951:[[157607]],194952:[[157621]],194953:[[144275]],194954:[[144284]],194955:[[33281]],194956:[[33284]],194957:[[36766]],194958:[[17515]],194959:[[33425]],194960:[[33419]],194961:[[33437]],194962:[[21171]],194963:[[33457]],194964:[[33459]],194965:[[33469]],194966:[[33510]],194967:[[158524]],194968:[[33509]],194969:[[33565]],194970:[[33635]],194971:[[33709]],194972:[[33571]],194973:[[33725]],194974:[[33767]],194975:[[33879]],194976:[[33619]],194977:[[33738]],194978:[[33740]],194979:[[33756]],194980:[[158774]],194981:[[159083]],194982:[[158933]],194983:[[17707]],194984:[[34033]],194985:[[34035]],194986:[[34070]],194987:[[160714]],194988:[[34148]],194989:[[159532]],194990:[[17757]],194991:[[17761]],194992:[[159665]],194993:[[159954]],194994:[[17771]],194995:[[34384]],194996:[[34396]],194997:[[34407]],194998:[[34409]],194999:[[34473]],195e3:[[34440]],195001:[[34574]],195002:[[34530]],195003:[[34681]],195004:[[34600]],195005:[[34667]],195006:[[34694]],195007:[[17879]],195008:[[34785]],195009:[[34817]],195010:[[17913]],195011:[[34912]],195012:[[34915]],195013:[[161383]],195014:[[35031]],195015:[[35038]],195016:[[17973]],195017:[[35066]],195018:[[13499]],195019:[[161966]],195020:[[162150]],195021:[[18110]],195022:[[18119]],195023:[[35488]],195024:[[35565]],195025:[[35722]],195026:[[35925]],195027:[[162984]],195028:[[36011]],195029:[[36033]],195030:[[36123]],195031:[[36215]],195032:[[163631]],195033:[[133124]],195034:[[36299]],195035:[[36284]],195036:[[36336]],195037:[[133342]],195038:[[36564]],195039:[[36664]],195040:[[165330]],195041:[[165357]],195042:[[37012]],195043:[[37105]],195044:[[37137]],195045:[[165678]],195046:[[37147]],195047:[[37432]],195048:[[37591]],195049:[[37592]],195050:[[37500]],195051:[[37881]],195052:[[37909]],195053:[[166906]],195054:[[38283]],195055:[[18837]],195056:[[38327]],195057:[[167287]],195058:[[18918]],195059:[[38595]],195060:[[23986]],195061:[[38691]],195062:[[168261]],195063:[[168474]],195064:[[19054]],195065:[[19062]],195066:[[38880]],195067:[[168970]],195068:[[19122]],195069:[[169110]],195070:[[38923]],195071:[[38923]]},64e3:{64e3:[[20999]],64001:[[24230]],64002:[[25299]],64003:[[31958]],64004:[[23429]],64005:[[27934]],64006:[[26292]],64007:[[36667]],64008:[[34892]],64009:[[38477]],64010:[[35211]],64011:[[24275]],64012:[[20800]],64013:[[21952]],64016:[[22618]],64018:[[26228]],64021:[[20958]],64022:[[29482]],64023:[[30410]],64024:[[31036]],64025:[[31070]],64026:[[31077]],64027:[[31119]],64028:[[38742]],64029:[[31934]],64030:[[32701]],64032:[[34322]],64034:[[35576]],64037:[[36920]],64038:[[37117]],64042:[[39151]],64043:[[39164]],64044:[[39208]],64045:[[40372]],64046:[[37086]],64047:[[38583]],64048:[[20398]],64049:[[20711]],64050:[[20813]],64051:[[21193]],64052:[[21220]],64053:[[21329]],64054:[[21917]],64055:[[22022]],64056:[[22120]],64057:[[22592]],64058:[[22696]],64059:[[23652]],64060:[[23662]],64061:[[24724]],64062:[[24936]],64063:[[24974]],64064:[[25074]],64065:[[25935]],64066:[[26082]],64067:[[26257]],64068:[[26757]],64069:[[28023]],64070:[[28186]],64071:[[28450]],64072:[[29038]],64073:[[29227]],64074:[[29730]],64075:[[30865]],64076:[[31038]],64077:[[31049]],64078:[[31048]],64079:[[31056]],64080:[[31062]],64081:[[31069]],64082:[[31117]],64083:[[31118]],64084:[[31296]],64085:[[31361]],64086:[[31680]],64087:[[32244]],64088:[[32265]],64089:[[32321]],64090:[[32626]],64091:[[32773]],64092:[[33261]],64093:[[33401]],64094:[[33401]],64095:[[33879]],64096:[[35088]],64097:[[35222]],64098:[[35585]],64099:[[35641]],64100:[[36051]],64101:[[36104]],64102:[[36790]],64103:[[36920]],64104:[[38627]],64105:[[38911]],64106:[[38971]],64107:[[24693]],64108:[[148206]],64109:[[33304]],64112:[[20006]],64113:[[20917]],64114:[[20840]],64115:[[20352]],64116:[[20805]],64117:[[20864]],64118:[[21191]],64119:[[21242]],64120:[[21917]],64121:[[21845]],64122:[[21913]],64123:[[21986]],64124:[[22618]],64125:[[22707]],64126:[[22852]],64127:[[22868]],64128:[[23138]],64129:[[23336]],64130:[[24274]],64131:[[24281]],64132:[[24425]],64133:[[24493]],64134:[[24792]],64135:[[24910]],64136:[[24840]],64137:[[24974]],64138:[[24928]],64139:[[25074]],64140:[[25140]],64141:[[25540]],64142:[[25628]],64143:[[25682]],64144:[[25942]],64145:[[26228]],64146:[[26391]],64147:[[26395]],64148:[[26454]],64149:[[27513]],64150:[[27578]],64151:[[27969]],64152:[[28379]],64153:[[28363]],64154:[[28450]],64155:[[28702]],64156:[[29038]],64157:[[30631]],64158:[[29237]],64159:[[29359]],64160:[[29482]],64161:[[29809]],64162:[[29958]],64163:[[30011]],64164:[[30237]],64165:[[30239]],64166:[[30410]],64167:[[30427]],64168:[[30452]],64169:[[30538]],64170:[[30528]],64171:[[30924]],64172:[[31409]],64173:[[31680]],64174:[[31867]],64175:[[32091]],64176:[[32244]],64177:[[32574]],64178:[[32773]],64179:[[33618]],64180:[[33775]],64181:[[34681]],64182:[[35137]],64183:[[35206]],64184:[[35222]],64185:[[35519]],64186:[[35576]],64187:[[35531]],64188:[[35585]],64189:[[35582]],64190:[[35565]],64191:[[35641]],64192:[[35722]],64193:[[36104]],64194:[[36664]],64195:[[36978]],64196:[[37273]],64197:[[37494]],64198:[[38524]],64199:[[38627]],64200:[[38742]],64201:[[38875]],64202:[[38911]],64203:[[38923]],64204:[[38971]],64205:[[39698]],64206:[[40860]],64207:[[141386]],64208:[[141380]],64209:[[144341]],64210:[[15261]],64211:[[16408]],64212:[[16441]],64213:[[152137]],64214:[[154832]],64215:[[163539]],64216:[[40771]],64217:[[40846]],195072:[[38953]],195073:[[169398]],195074:[[39138]],195075:[[19251]],195076:[[39209]],195077:[[39335]],195078:[[39362]],195079:[[39422]],195080:[[19406]],195081:[[170800]],195082:[[39698]],195083:[[4e4]],195084:[[40189]],195085:[[19662]],195086:[[19693]],195087:[[40295]],195088:[[172238]],195089:[[19704]],195090:[[172293]],195091:[[172558]],195092:[[172689]],195093:[[40635]],195094:[[19798]],195095:[[40697]],195096:[[40702]],195097:[[40709]],195098:[[40719]],195099:[[40726]],195100:[[40763]],195101:[[173568]]},64256:{64256:[[102,102],256],64257:[[102,105],256],64258:[[102,108],256],64259:[[102,102,105],256],64260:[[102,102,108],256],64261:[[383,116],256],64262:[[115,116],256],64275:[[1396,1398],256],64276:[[1396,1381],256],64277:[[1396,1387],256],64278:[[1406,1398],256],64279:[[1396,1389],256],64285:[[1497,1460],512],64286:[,26],64287:[[1522,1463],512],64288:[[1506],256],64289:[[1488],256],64290:[[1491],256],64291:[[1492],256],64292:[[1499],256],64293:[[1500],256],64294:[[1501],256],64295:[[1512],256],64296:[[1514],256],64297:[[43],256],64298:[[1513,1473],512],64299:[[1513,1474],512],64300:[[64329,1473],512],64301:[[64329,1474],512],64302:[[1488,1463],512],64303:[[1488,1464],512],64304:[[1488,1468],512],64305:[[1489,1468],512],64306:[[1490,1468],512],64307:[[1491,1468],512],64308:[[1492,1468],512],64309:[[1493,1468],512],64310:[[1494,1468],512],64312:[[1496,1468],512],64313:[[1497,1468],512],64314:[[1498,1468],512],64315:[[1499,1468],512],64316:[[1500,1468],512],64318:[[1502,1468],512],64320:[[1504,1468],512],64321:[[1505,1468],512],64323:[[1507,1468],512],64324:[[1508,1468],512],64326:[[1510,1468],512],64327:[[1511,1468],512],64328:[[1512,1468],512],64329:[[1513,1468],512],64330:[[1514,1468],512],64331:[[1493,1465],512],64332:[[1489,1471],512],64333:[[1499,1471],512],64334:[[1508,1471],512],64335:[[1488,1500],256],64336:[[1649],256],64337:[[1649],256],64338:[[1659],256],64339:[[1659],256],64340:[[1659],256],64341:[[1659],256],64342:[[1662],256],64343:[[1662],256],64344:[[1662],256],64345:[[1662],256],64346:[[1664],256],64347:[[1664],256],64348:[[1664],256],64349:[[1664],256],64350:[[1658],256],64351:[[1658],256],64352:[[1658],256],64353:[[1658],256],64354:[[1663],256],64355:[[1663],256],64356:[[1663],256],64357:[[1663],256],64358:[[1657],256],64359:[[1657],256],64360:[[1657],256],64361:[[1657],256],64362:[[1700],256],64363:[[1700],256],64364:[[1700],256],64365:[[1700],256],64366:[[1702],256],64367:[[1702],256],64368:[[1702],256],64369:[[1702],256],64370:[[1668],256],64371:[[1668],256],64372:[[1668],256],64373:[[1668],256],64374:[[1667],256],64375:[[1667],256],64376:[[1667],256],64377:[[1667],256],64378:[[1670],256],64379:[[1670],256],64380:[[1670],256],64381:[[1670],256],64382:[[1671],256],64383:[[1671],256],64384:[[1671],256],64385:[[1671],256],64386:[[1677],256],64387:[[1677],256],64388:[[1676],256],64389:[[1676],256],64390:[[1678],256],64391:[[1678],256],64392:[[1672],256],64393:[[1672],256],64394:[[1688],256],64395:[[1688],256],64396:[[1681],256],64397:[[1681],256],64398:[[1705],256],64399:[[1705],256],64400:[[1705],256],64401:[[1705],256],64402:[[1711],256],64403:[[1711],256],64404:[[1711],256],64405:[[1711],256],64406:[[1715],256],64407:[[1715],256],64408:[[1715],256],64409:[[1715],256],64410:[[1713],256],64411:[[1713],256],64412:[[1713],256],64413:[[1713],256],64414:[[1722],256],64415:[[1722],256],64416:[[1723],256],64417:[[1723],256],64418:[[1723],256],64419:[[1723],256],64420:[[1728],256],64421:[[1728],256],64422:[[1729],256],64423:[[1729],256],64424:[[1729],256],64425:[[1729],256],64426:[[1726],256],64427:[[1726],256],64428:[[1726],256],64429:[[1726],256],64430:[[1746],256],64431:[[1746],256],64432:[[1747],256],64433:[[1747],256],64467:[[1709],256],64468:[[1709],256],64469:[[1709],256],64470:[[1709],256],64471:[[1735],256],64472:[[1735],256],64473:[[1734],256],64474:[[1734],256],64475:[[1736],256],64476:[[1736],256],64477:[[1655],256],64478:[[1739],256],64479:[[1739],256],64480:[[1733],256],64481:[[1733],256],64482:[[1737],256],64483:[[1737],256],64484:[[1744],256],64485:[[1744],256],64486:[[1744],256],64487:[[1744],256],64488:[[1609],256],64489:[[1609],256],64490:[[1574,1575],256],64491:[[1574,1575],256],64492:[[1574,1749],256],64493:[[1574,1749],256],64494:[[1574,1608],256],64495:[[1574,1608],256],64496:[[1574,1735],256],64497:[[1574,1735],256],64498:[[1574,1734],256],64499:[[1574,1734],256],64500:[[1574,1736],256],64501:[[1574,1736],256],64502:[[1574,1744],256],64503:[[1574,1744],256],64504:[[1574,1744],256],64505:[[1574,1609],256],64506:[[1574,1609],256],64507:[[1574,1609],256],64508:[[1740],256],64509:[[1740],256],64510:[[1740],256],64511:[[1740],256]},64512:{64512:[[1574,1580],256],64513:[[1574,1581],256],64514:[[1574,1605],256],64515:[[1574,1609],256],64516:[[1574,1610],256],64517:[[1576,1580],256],64518:[[1576,1581],256],64519:[[1576,1582],256],64520:[[1576,1605],256],64521:[[1576,1609],256],64522:[[1576,1610],256],64523:[[1578,1580],256],64524:[[1578,1581],256],64525:[[1578,1582],256],64526:[[1578,1605],256],64527:[[1578,1609],256],64528:[[1578,1610],256],64529:[[1579,1580],256],64530:[[1579,1605],256],64531:[[1579,1609],256],64532:[[1579,1610],256],64533:[[1580,1581],256],64534:[[1580,1605],256],64535:[[1581,1580],256],64536:[[1581,1605],256],64537:[[1582,1580],256],64538:[[1582,1581],256],64539:[[1582,1605],256],64540:[[1587,1580],256],64541:[[1587,1581],256],64542:[[1587,1582],256],64543:[[1587,1605],256],64544:[[1589,1581],256],64545:[[1589,1605],256],64546:[[1590,1580],256],64547:[[1590,1581],256],64548:[[1590,1582],256],64549:[[1590,1605],256],64550:[[1591,1581],256],64551:[[1591,1605],256],64552:[[1592,1605],256],64553:[[1593,1580],256],64554:[[1593,1605],256],64555:[[1594,1580],256],64556:[[1594,1605],256],64557:[[1601,1580],256],64558:[[1601,1581],256],64559:[[1601,1582],256],64560:[[1601,1605],256],64561:[[1601,1609],256],64562:[[1601,1610],256],64563:[[1602,1581],256],64564:[[1602,1605],256],64565:[[1602,1609],256],64566:[[1602,1610],256],64567:[[1603,1575],256],64568:[[1603,1580],256],64569:[[1603,1581],256],64570:[[1603,1582],256],64571:[[1603,1604],256],64572:[[1603,1605],256],64573:[[1603,1609],256],64574:[[1603,1610],256],64575:[[1604,1580],256],64576:[[1604,1581],256],64577:[[1604,1582],256],64578:[[1604,1605],256],64579:[[1604,1609],256],64580:[[1604,1610],256],64581:[[1605,1580],256],64582:[[1605,1581],256],64583:[[1605,1582],256],64584:[[1605,1605],256],64585:[[1605,1609],256],64586:[[1605,1610],256],64587:[[1606,1580],256],64588:[[1606,1581],256],64589:[[1606,1582],256],64590:[[1606,1605],256],64591:[[1606,1609],256],64592:[[1606,1610],256],64593:[[1607,1580],256],64594:[[1607,1605],256],64595:[[1607,1609],256],64596:[[1607,1610],256],64597:[[1610,1580],256],64598:[[1610,1581],256],64599:[[1610,1582],256],64600:[[1610,1605],256],64601:[[1610,1609],256],64602:[[1610,1610],256],64603:[[1584,1648],256],64604:[[1585,1648],256],64605:[[1609,1648],256],64606:[[32,1612,1617],256],64607:[[32,1613,1617],256],64608:[[32,1614,1617],256],64609:[[32,1615,1617],256],64610:[[32,1616,1617],256],64611:[[32,1617,1648],256],64612:[[1574,1585],256],64613:[[1574,1586],256],64614:[[1574,1605],256],64615:[[1574,1606],256],64616:[[1574,1609],256],64617:[[1574,1610],256],64618:[[1576,1585],256],64619:[[1576,1586],256],64620:[[1576,1605],256],64621:[[1576,1606],256],64622:[[1576,1609],256],64623:[[1576,1610],256],64624:[[1578,1585],256],64625:[[1578,1586],256],64626:[[1578,1605],256],64627:[[1578,1606],256],64628:[[1578,1609],256],64629:[[1578,1610],256],64630:[[1579,1585],256],64631:[[1579,1586],256],64632:[[1579,1605],256],64633:[[1579,1606],256],64634:[[1579,1609],256],64635:[[1579,1610],256],64636:[[1601,1609],256],64637:[[1601,1610],256],64638:[[1602,1609],256],64639:[[1602,1610],256],64640:[[1603,1575],256],64641:[[1603,1604],256],64642:[[1603,1605],256],64643:[[1603,1609],256],64644:[[1603,1610],256],64645:[[1604,1605],256],64646:[[1604,1609],256],64647:[[1604,1610],256],64648:[[1605,1575],256],64649:[[1605,1605],256],64650:[[1606,1585],256],64651:[[1606,1586],256],64652:[[1606,1605],256],64653:[[1606,1606],256],64654:[[1606,1609],256],64655:[[1606,1610],256],64656:[[1609,1648],256],64657:[[1610,1585],256],64658:[[1610,1586],256],64659:[[1610,1605],256],64660:[[1610,1606],256],64661:[[1610,1609],256],64662:[[1610,1610],256],64663:[[1574,1580],256],64664:[[1574,1581],256],64665:[[1574,1582],256],64666:[[1574,1605],256],64667:[[1574,1607],256],64668:[[1576,1580],256],64669:[[1576,1581],256],64670:[[1576,1582],256],64671:[[1576,1605],256],64672:[[1576,1607],256],64673:[[1578,1580],256],64674:[[1578,1581],256],64675:[[1578,1582],256],64676:[[1578,1605],256],64677:[[1578,1607],256],64678:[[1579,1605],256],64679:[[1580,1581],256],64680:[[1580,1605],256],64681:[[1581,1580],256],64682:[[1581,1605],256],64683:[[1582,1580],256],64684:[[1582,1605],256],64685:[[1587,1580],256],64686:[[1587,1581],256],64687:[[1587,1582],256],64688:[[1587,1605],256],64689:[[1589,1581],256],64690:[[1589,1582],256],64691:[[1589,1605],256],64692:[[1590,1580],256],64693:[[1590,1581],256],64694:[[1590,1582],256],64695:[[1590,1605],256],64696:[[1591,1581],256],64697:[[1592,1605],256],64698:[[1593,1580],256],64699:[[1593,1605],256],64700:[[1594,1580],256],64701:[[1594,1605],256],64702:[[1601,1580],256],64703:[[1601,1581],256],64704:[[1601,1582],256],64705:[[1601,1605],256],64706:[[1602,1581],256],64707:[[1602,1605],256],64708:[[1603,1580],256],64709:[[1603,1581],256],64710:[[1603,1582],256],64711:[[1603,1604],256],64712:[[1603,1605],256],64713:[[1604,1580],256],64714:[[1604,1581],256],64715:[[1604,1582],256],64716:[[1604,1605],256],64717:[[1604,1607],256],64718:[[1605,1580],256],64719:[[1605,1581],256],64720:[[1605,1582],256],64721:[[1605,1605],256],64722:[[1606,1580],256],64723:[[1606,1581],256],64724:[[1606,1582],256],64725:[[1606,1605],256],64726:[[1606,1607],256],64727:[[1607,1580],256],64728:[[1607,1605],256],64729:[[1607,1648],256],64730:[[1610,1580],256],64731:[[1610,1581],256],64732:[[1610,1582],256],64733:[[1610,1605],256],64734:[[1610,1607],256],64735:[[1574,1605],256],64736:[[1574,1607],256],64737:[[1576,1605],256],64738:[[1576,1607],256],64739:[[1578,1605],256],64740:[[1578,1607],256],64741:[[1579,1605],256],64742:[[1579,1607],256],64743:[[1587,1605],256],64744:[[1587,1607],256],64745:[[1588,1605],256],64746:[[1588,1607],256],64747:[[1603,1604],256],64748:[[1603,1605],256],64749:[[1604,1605],256],64750:[[1606,1605],256],64751:[[1606,1607],256],64752:[[1610,1605],256],64753:[[1610,1607],256],64754:[[1600,1614,1617],256],64755:[[1600,1615,1617],256],64756:[[1600,1616,1617],256],64757:[[1591,1609],256],64758:[[1591,1610],256],64759:[[1593,1609],256],64760:[[1593,1610],256],64761:[[1594,1609],256],64762:[[1594,1610],256],64763:[[1587,1609],256],64764:[[1587,1610],256],64765:[[1588,1609],256],64766:[[1588,1610],256],64767:[[1581,1609],256]},64768:{64768:[[1581,1610],256],64769:[[1580,1609],256],64770:[[1580,1610],256],64771:[[1582,1609],256],64772:[[1582,1610],256],64773:[[1589,1609],256],64774:[[1589,1610],256],64775:[[1590,1609],256],64776:[[1590,1610],256],64777:[[1588,1580],256],64778:[[1588,1581],256],64779:[[1588,1582],256],64780:[[1588,1605],256],64781:[[1588,1585],256],64782:[[1587,1585],256],64783:[[1589,1585],256],64784:[[1590,1585],256],64785:[[1591,1609],256],64786:[[1591,1610],256],64787:[[1593,1609],256],64788:[[1593,1610],256],64789:[[1594,1609],256],64790:[[1594,1610],256],64791:[[1587,1609],256],64792:[[1587,1610],256],64793:[[1588,1609],256],64794:[[1588,1610],256],64795:[[1581,1609],256],64796:[[1581,1610],256],64797:[[1580,1609],256],64798:[[1580,1610],256],64799:[[1582,1609],256],64800:[[1582,1610],256],64801:[[1589,1609],256],64802:[[1589,1610],256],64803:[[1590,1609],256],64804:[[1590,1610],256],64805:[[1588,1580],256],64806:[[1588,1581],256],64807:[[1588,1582],256],64808:[[1588,1605],256],64809:[[1588,1585],256],64810:[[1587,1585],256],64811:[[1589,1585],256],64812:[[1590,1585],256],64813:[[1588,1580],256],64814:[[1588,1581],256],64815:[[1588,1582],256],64816:[[1588,1605],256],64817:[[1587,1607],256],64818:[[1588,1607],256],64819:[[1591,1605],256],64820:[[1587,1580],256],64821:[[1587,1581],256],64822:[[1587,1582],256],64823:[[1588,1580],256],64824:[[1588,1581],256],64825:[[1588,1582],256],64826:[[1591,1605],256],64827:[[1592,1605],256],64828:[[1575,1611],256],64829:[[1575,1611],256],64848:[[1578,1580,1605],256],64849:[[1578,1581,1580],256],64850:[[1578,1581,1580],256],64851:[[1578,1581,1605],256],64852:[[1578,1582,1605],256],64853:[[1578,1605,1580],256],64854:[[1578,1605,1581],256],64855:[[1578,1605,1582],256],64856:[[1580,1605,1581],256],64857:[[1580,1605,1581],256],64858:[[1581,1605,1610],256],64859:[[1581,1605,1609],256],64860:[[1587,1581,1580],256],64861:[[1587,1580,1581],256],64862:[[1587,1580,1609],256],64863:[[1587,1605,1581],256],64864:[[1587,1605,1581],256],64865:[[1587,1605,1580],256],64866:[[1587,1605,1605],256],64867:[[1587,1605,1605],256],64868:[[1589,1581,1581],256],64869:[[1589,1581,1581],256],64870:[[1589,1605,1605],256],64871:[[1588,1581,1605],256],64872:[[1588,1581,1605],256],64873:[[1588,1580,1610],256],64874:[[1588,1605,1582],256],64875:[[1588,1605,1582],256],64876:[[1588,1605,1605],256],64877:[[1588,1605,1605],256],64878:[[1590,1581,1609],256],64879:[[1590,1582,1605],256],64880:[[1590,1582,1605],256],64881:[[1591,1605,1581],256],64882:[[1591,1605,1581],256],64883:[[1591,1605,1605],256],64884:[[1591,1605,1610],256],64885:[[1593,1580,1605],256],64886:[[1593,1605,1605],256],64887:[[1593,1605,1605],256],64888:[[1593,1605,1609],256],64889:[[1594,1605,1605],256],64890:[[1594,1605,1610],256],64891:[[1594,1605,1609],256],64892:[[1601,1582,1605],256],64893:[[1601,1582,1605],256],64894:[[1602,1605,1581],256],64895:[[1602,1605,1605],256],64896:[[1604,1581,1605],256],64897:[[1604,1581,1610],256],64898:[[1604,1581,1609],256],64899:[[1604,1580,1580],256],64900:[[1604,1580,1580],256],64901:[[1604,1582,1605],256],64902:[[1604,1582,1605],256],64903:[[1604,1605,1581],256],64904:[[1604,1605,1581],256],64905:[[1605,1581,1580],256],64906:[[1605,1581,1605],256],64907:[[1605,1581,1610],256],64908:[[1605,1580,1581],256],64909:[[1605,1580,1605],256],64910:[[1605,1582,1580],256],64911:[[1605,1582,1605],256],64914:[[1605,1580,1582],256],64915:[[1607,1605,1580],256],64916:[[1607,1605,1605],256],64917:[[1606,1581,1605],256],64918:[[1606,1581,1609],256],64919:[[1606,1580,1605],256],64920:[[1606,1580,1605],256],64921:[[1606,1580,1609],256],64922:[[1606,1605,1610],256],64923:[[1606,1605,1609],256],64924:[[1610,1605,1605],256],64925:[[1610,1605,1605],256],64926:[[1576,1582,1610],256],64927:[[1578,1580,1610],256],64928:[[1578,1580,1609],256],64929:[[1578,1582,1610],256],64930:[[1578,1582,1609],256],64931:[[1578,1605,1610],256],64932:[[1578,1605,1609],256],64933:[[1580,1605,1610],256],64934:[[1580,1581,1609],256],64935:[[1580,1605,1609],256],64936:[[1587,1582,1609],256],64937:[[1589,1581,1610],256],64938:[[1588,1581,1610],256],64939:[[1590,1581,1610],256],64940:[[1604,1580,1610],256],64941:[[1604,1605,1610],256],64942:[[1610,1581,1610],256],64943:[[1610,1580,1610],256],64944:[[1610,1605,1610],256],64945:[[1605,1605,1610],256],64946:[[1602,1605,1610],256],64947:[[1606,1581,1610],256],64948:[[1602,1605,1581],256],64949:[[1604,1581,1605],256],64950:[[1593,1605,1610],256],64951:[[1603,1605,1610],256],64952:[[1606,1580,1581],256],64953:[[1605,1582,1610],256],64954:[[1604,1580,1605],256],64955:[[1603,1605,1605],256],64956:[[1604,1580,1605],256],64957:[[1606,1580,1581],256],64958:[[1580,1581,1610],256],64959:[[1581,1580,1610],256],64960:[[1605,1580,1610],256],64961:[[1601,1605,1610],256],64962:[[1576,1581,1610],256],64963:[[1603,1605,1605],256],64964:[[1593,1580,1605],256],64965:[[1589,1605,1605],256],64966:[[1587,1582,1610],256],64967:[[1606,1580,1610],256],65008:[[1589,1604,1746],256],65009:[[1602,1604,1746],256],65010:[[1575,1604,1604,1607],256],65011:[[1575,1603,1576,1585],256],65012:[[1605,1581,1605,1583],256],65013:[[1589,1604,1593,1605],256],65014:[[1585,1587,1608,1604],256],65015:[[1593,1604,1610,1607],256],65016:[[1608,1587,1604,1605],256],65017:[[1589,1604,1609],256],65018:[[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605],256],65019:[[1580,1604,32,1580,1604,1575,1604,1607],256],65020:[[1585,1740,1575,1604],256]},65024:{65040:[[44],256],65041:[[12289],256],65042:[[12290],256],65043:[[58],256],65044:[[59],256],65045:[[33],256],65046:[[63],256],65047:[[12310],256],65048:[[12311],256],65049:[[8230],256],65056:[,230],65057:[,230],65058:[,230],65059:[,230],65060:[,230],65061:[,230],65062:[,230],65063:[,220],65064:[,220],65065:[,220],65066:[,220],65067:[,220],65068:[,220],65069:[,220],65072:[[8229],256],65073:[[8212],256],65074:[[8211],256],65075:[[95],256],65076:[[95],256],65077:[[40],256],65078:[[41],256],65079:[[123],256],65080:[[125],256],65081:[[12308],256],65082:[[12309],256],65083:[[12304],256],65084:[[12305],256],65085:[[12298],256],65086:[[12299],256],65087:[[12296],256],65088:[[12297],256],65089:[[12300],256],65090:[[12301],256],65091:[[12302],256],65092:[[12303],256],65095:[[91],256],65096:[[93],256],65097:[[8254],256],65098:[[8254],256],65099:[[8254],256],65100:[[8254],256],65101:[[95],256],65102:[[95],256],65103:[[95],256],65104:[[44],256],65105:[[12289],256],65106:[[46],256],65108:[[59],256],65109:[[58],256],65110:[[63],256],65111:[[33],256],65112:[[8212],256],65113:[[40],256],65114:[[41],256],65115:[[123],256],65116:[[125],256],65117:[[12308],256],65118:[[12309],256],65119:[[35],256],65120:[[38],256],65121:[[42],256],65122:[[43],256],65123:[[45],256],65124:[[60],256],65125:[[62],256],65126:[[61],256],65128:[[92],256],65129:[[36],256],65130:[[37],256],65131:[[64],256],65136:[[32,1611],256],65137:[[1600,1611],256],65138:[[32,1612],256],65140:[[32,1613],256],65142:[[32,1614],256],65143:[[1600,1614],256],65144:[[32,1615],256],65145:[[1600,1615],256],65146:[[32,1616],256],65147:[[1600,1616],256],65148:[[32,1617],256],65149:[[1600,1617],256],65150:[[32,1618],256],65151:[[1600,1618],256],65152:[[1569],256],65153:[[1570],256],65154:[[1570],256],65155:[[1571],256],65156:[[1571],256],65157:[[1572],256],65158:[[1572],256],65159:[[1573],256],65160:[[1573],256],65161:[[1574],256],65162:[[1574],256],65163:[[1574],256],65164:[[1574],256],65165:[[1575],256],65166:[[1575],256],65167:[[1576],256],65168:[[1576],256],65169:[[1576],256],65170:[[1576],256],65171:[[1577],256],65172:[[1577],256],65173:[[1578],256],65174:[[1578],256],65175:[[1578],256],65176:[[1578],256],65177:[[1579],256],65178:[[1579],256],65179:[[1579],256],65180:[[1579],256],65181:[[1580],256],65182:[[1580],256],65183:[[1580],256],65184:[[1580],256],65185:[[1581],256],65186:[[1581],256],65187:[[1581],256],65188:[[1581],256],65189:[[1582],256],65190:[[1582],256],65191:[[1582],256],65192:[[1582],256],65193:[[1583],256],65194:[[1583],256],65195:[[1584],256],65196:[[1584],256],65197:[[1585],256],65198:[[1585],256],65199:[[1586],256],65200:[[1586],256],65201:[[1587],256],65202:[[1587],256],65203:[[1587],256],65204:[[1587],256],65205:[[1588],256],65206:[[1588],256],65207:[[1588],256],65208:[[1588],256],65209:[[1589],256],65210:[[1589],256],65211:[[1589],256],65212:[[1589],256],65213:[[1590],256],65214:[[1590],256],65215:[[1590],256],65216:[[1590],256],65217:[[1591],256],65218:[[1591],256],65219:[[1591],256],65220:[[1591],256],65221:[[1592],256],65222:[[1592],256],65223:[[1592],256],65224:[[1592],256],65225:[[1593],256],65226:[[1593],256],65227:[[1593],256],65228:[[1593],256],65229:[[1594],256],65230:[[1594],256],65231:[[1594],256],65232:[[1594],256],65233:[[1601],256],65234:[[1601],256],65235:[[1601],256],65236:[[1601],256],65237:[[1602],256],65238:[[1602],256],65239:[[1602],256],65240:[[1602],256],65241:[[1603],256],65242:[[1603],256],65243:[[1603],256],65244:[[1603],256],65245:[[1604],256],65246:[[1604],256],65247:[[1604],256],65248:[[1604],256],65249:[[1605],256],65250:[[1605],256],65251:[[1605],256],65252:[[1605],256],65253:[[1606],256],65254:[[1606],256],65255:[[1606],256],65256:[[1606],256],65257:[[1607],256],65258:[[1607],256],65259:[[1607],256],65260:[[1607],256],65261:[[1608],256],65262:[[1608],256],65263:[[1609],256],65264:[[1609],256],65265:[[1610],256],65266:[[1610],256],65267:[[1610],256],65268:[[1610],256],65269:[[1604,1570],256],65270:[[1604,1570],256],65271:[[1604,1571],256],65272:[[1604,1571],256],65273:[[1604,1573],256],65274:[[1604,1573],256],65275:[[1604,1575],256],65276:[[1604,1575],256]},65280:{65281:[[33],256],65282:[[34],256],65283:[[35],256],65284:[[36],256],65285:[[37],256],65286:[[38],256],65287:[[39],256],65288:[[40],256],65289:[[41],256],65290:[[42],256],65291:[[43],256],65292:[[44],256],65293:[[45],256],65294:[[46],256],65295:[[47],256],65296:[[48],256],65297:[[49],256],65298:[[50],256],65299:[[51],256],65300:[[52],256],65301:[[53],256],65302:[[54],256],65303:[[55],256],65304:[[56],256],65305:[[57],256],65306:[[58],256],65307:[[59],256],65308:[[60],256],65309:[[61],256],65310:[[62],256],65311:[[63],256],65312:[[64],256],65313:[[65],256],65314:[[66],256],65315:[[67],256],65316:[[68],256],65317:[[69],256],65318:[[70],256],65319:[[71],256],65320:[[72],256],65321:[[73],256],65322:[[74],256],65323:[[75],256],65324:[[76],256],65325:[[77],256],65326:[[78],256],65327:[[79],256],65328:[[80],256],65329:[[81],256],65330:[[82],256],65331:[[83],256],65332:[[84],256],65333:[[85],256],65334:[[86],256],65335:[[87],256],65336:[[88],256],65337:[[89],256],65338:[[90],256],65339:[[91],256],65340:[[92],256],65341:[[93],256],65342:[[94],256],65343:[[95],256],65344:[[96],256],65345:[[97],256],65346:[[98],256],65347:[[99],256],65348:[[100],256],65349:[[101],256],65350:[[102],256],65351:[[103],256],65352:[[104],256],65353:[[105],256],65354:[[106],256],65355:[[107],256],65356:[[108],256],65357:[[109],256],65358:[[110],256],65359:[[111],256],65360:[[112],256],65361:[[113],256],65362:[[114],256],65363:[[115],256],65364:[[116],256],65365:[[117],256],65366:[[118],256],65367:[[119],256],65368:[[120],256],65369:[[121],256],65370:[[122],256],65371:[[123],256],65372:[[124],256],65373:[[125],256],65374:[[126],256],65375:[[10629],256],65376:[[10630],256],65377:[[12290],256],65378:[[12300],256],65379:[[12301],256],65380:[[12289],256],65381:[[12539],256],65382:[[12530],256],65383:[[12449],256],65384:[[12451],256],65385:[[12453],256],65386:[[12455],256],65387:[[12457],256],65388:[[12515],256],65389:[[12517],256],65390:[[12519],256],65391:[[12483],256],65392:[[12540],256],65393:[[12450],256],65394:[[12452],256],65395:[[12454],256],65396:[[12456],256],65397:[[12458],256],65398:[[12459],256],65399:[[12461],256],65400:[[12463],256],65401:[[12465],256],65402:[[12467],256],65403:[[12469],256],65404:[[12471],256],65405:[[12473],256],65406:[[12475],256],65407:[[12477],256],65408:[[12479],256],65409:[[12481],256],65410:[[12484],256],65411:[[12486],256],65412:[[12488],256],65413:[[12490],256],65414:[[12491],256],65415:[[12492],256],65416:[[12493],256],65417:[[12494],256],65418:[[12495],256],65419:[[12498],256],65420:[[12501],256],65421:[[12504],256],65422:[[12507],256],65423:[[12510],256],65424:[[12511],256],65425:[[12512],256],65426:[[12513],256],65427:[[12514],256],65428:[[12516],256],65429:[[12518],256],65430:[[12520],256],65431:[[12521],256],65432:[[12522],256],65433:[[12523],256],65434:[[12524],256],65435:[[12525],256],65436:[[12527],256],65437:[[12531],256],65438:[[12441],256],65439:[[12442],256],65440:[[12644],256],65441:[[12593],256],65442:[[12594],256],65443:[[12595],256],65444:[[12596],256],65445:[[12597],256],65446:[[12598],256],65447:[[12599],256],65448:[[12600],256],65449:[[12601],256],65450:[[12602],256],65451:[[12603],256],65452:[[12604],256],65453:[[12605],256],65454:[[12606],256],65455:[[12607],256],65456:[[12608],256],65457:[[12609],256],65458:[[12610],256],65459:[[12611],256],65460:[[12612],256],65461:[[12613],256],65462:[[12614],256],65463:[[12615],256],65464:[[12616],256],65465:[[12617],256],65466:[[12618],256],65467:[[12619],256],65468:[[12620],256],65469:[[12621],256],65470:[[12622],256],65474:[[12623],256],65475:[[12624],256],65476:[[12625],256],65477:[[12626],256],65478:[[12627],256],65479:[[12628],256],65482:[[12629],256],65483:[[12630],256],65484:[[12631],256],65485:[[12632],256],65486:[[12633],256],65487:[[12634],256],65490:[[12635],256],65491:[[12636],256],65492:[[12637],256],65493:[[12638],256],65494:[[12639],256],65495:[[12640],256],65498:[[12641],256],65499:[[12642],256],65500:[[12643],256],65504:[[162],256],65505:[[163],256],65506:[[172],256],65507:[[175],256],65508:[[166],256],65509:[[165],256],65510:[[8361],256],65512:[[9474],256],65513:[[8592],256],65514:[[8593],256],65515:[[8594],256],65516:[[8595],256],65517:[[9632],256],65518:[[9675],256]}};var S={nfc:function(e){return E("NFC",e)},nfd:function(e){return E("NFD",e)},nfkc:function(e){return E("NFKC",e)},nfkd:function(e){return E("NFKD",e)}};"object"==typeof t?t.exports=S:"function"==typeof define&&define.amd?define("unorm",function(){return S}):e.unorm=S,S.shimApplied=!1,String.prototype.normalize||(String.prototype.normalize=function(e){var t=""+this;if("NFC"===(e=void 0===e?"NFC":e))return S.nfc(t);if("NFD"===e)return S.nfd(t);if("NFKC"===e)return S.nfkc(t);if("NFKD"===e)return S.nfkd(t);throw new RangeError("Invalid normalization form: "+e)},S.shimApplied=!0)}(this)},{}],357:[function(e,t,r){"use strict";function n(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function i(e,t,r){if(e&&s.isObject(e)&&e instanceof n)return e;var i=new n;return i.parse(e,t,r),i}var o=e("punycode"),s=e("./util");r.parse=i,r.resolve=function(e,t){return i(e,!1,!0).resolve(t)},r.resolveObject=function(e,t){return e?i(e,!1,!0).resolveObject(t):t},r.format=function(e){return s.isString(e)&&(e=i(e)),e instanceof n?e.format():n.prototype.format.call(e)},r.Url=n;var a=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),h=["'"].concat(u),l=["%","/","?",";","#"].concat(h),d=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,y={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=e("querystring");n.prototype.parse=function(e,t,r){if(!s.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e.indexOf("?"),i=-1!==n&&n<e.indexOf("#")?"?":"#",c=e.split(i);c[0]=c[0].replace(/\\/g,"/");var u=e=c.join(i);if(u=u.trim(),!r&&1===e.split("#").length){var w=f.exec(u);if(w)return this.path=u,this.href=u,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?g.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=a.exec(u);if(_){var E=(_=_[0]).toLowerCase();this.protocol=E,u=u.substr(_.length)}if(r||_||u.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===u.substr(0,2);!S||_&&v[_]||(u=u.substr(2),this.slashes=!0)}if(!v[_]&&(S||_&&!m[_])){for(var k=-1,A=0;A<d.length;A++){-1!==(T=u.indexOf(d[A]))&&(-1===k||T<k)&&(k=T)}var x,I;-1!==(I=-1===k?u.lastIndexOf("@"):u.lastIndexOf("@",k))&&(x=u.slice(0,I),u=u.slice(I+1),this.auth=decodeURIComponent(x)),k=-1;for(A=0;A<l.length;A++){var T=u.indexOf(l[A]);-1!==T&&(-1===k||T<k)&&(k=T)}-1===k&&(k=u.length),this.host=u.slice(0,k),u=u.slice(k),this.parseHost(),this.hostname=this.hostname||"";var B="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!B)for(var P=this.hostname.split(/\./),A=0,M=P.length;A<M;A++){var C=P[A];if(C&&!C.match(p)){for(var R="",O=0,L=C.length;O<L;O++)C.charCodeAt(O)>127?R+="x":R+=C[O];if(!R.match(p)){var j=P.slice(0,A),N=P.slice(A+1),D=C.match(b);D&&(j.push(D[1]),N.unshift(D[2])),N.length&&(u="/"+N.join(".")+u),this.hostname=j.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),B||(this.hostname=o.toASCII(this.hostname));var U=this.port?":"+this.port:"",K=this.hostname||"";this.host=K+U,this.href+=this.host,B&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==u[0]&&(u="/"+u))}if(!y[E])for(var A=0,M=h.length;A<M;A++){var H=h[A];if(-1!==u.indexOf(H)){var z=encodeURIComponent(H);z===H&&(z=escape(H)),u=u.split(H).join(z)}}var q=u.indexOf("#");-1!==q&&(this.hash=u.substr(q),u=u.slice(0,q));var F=u.indexOf("?");if(-1!==F?(this.search=u.substr(F),this.query=u.substr(F+1),t&&(this.query=g.parse(this.query)),u=u.slice(0,F)):t&&(this.search="",this.query={}),u&&(this.pathname=u),m[E]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var U=this.pathname||"",W=this.search||"";this.path=U+W}return this.href=this.format(),this},n.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&s.isObject(this.query)&&Object.keys(this.query).length&&(o=g.stringify(this.query));var a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||m[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),a=a.replace("#","%23"),t+i+r+a+n},n.prototype.resolve=function(e){return this.resolveObject(i(e,!1,!0)).format()},n.prototype.resolveObject=function(e){if(s.isString(e)){var t=new n;t.parse(e,!1,!0),e=t}for(var r=new n,i=Object.keys(this),o=0;o<i.length;o++){var a=i[o];r[a]=this[a]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),f=0;f<c.length;f++){var u=c[f];"protocol"!==u&&(r[u]=e[u])}return m[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!m[e.protocol]){for(var h=Object.keys(e),l=0;l<h.length;l++){var d=h[l];r[d]=e[d]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||v[e.protocol])r.pathname=e.pathname;else{for(S=(e.pathname||"").split("/");S.length&&!(e.host=S.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==S[0]&&S.unshift(""),S.length<2&&S.unshift(""),r.pathname=S.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var p=r.pathname||"",b=r.search||"";r.path=p+b}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var y=r.pathname&&"/"===r.pathname.charAt(0),g=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=g||y||r.host&&e.pathname,_=w,E=r.pathname&&r.pathname.split("/")||[],S=e.pathname&&e.pathname.split("/")||[],k=r.protocol&&!m[r.protocol];if(k&&(r.hostname="",r.port=null,r.host&&(""===E[0]?E[0]=r.host:E.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===S[0]?S[0]=e.host:S.unshift(e.host)),e.host=null),w=w&&(""===S[0]||""===E[0])),g)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,E=S;else if(S.length)E||(E=[]),E.pop(),E=E.concat(S),r.search=e.search,r.query=e.query;else if(!s.isNullOrUndefined(e.search)){if(k){r.hostname=r.host=E.shift();(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift())}return r.search=e.search,r.query=e.query,s.isNull(r.pathname)&&s.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!E.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var A=E.slice(-1)[0],x=(r.host||e.host||E.length>1)&&("."===A||".."===A)||""===A,I=0,T=E.length;T>=0;T--)"."===(A=E[T])?E.splice(T,1):".."===A?(E.splice(T,1),I++):I&&(E.splice(T,1),I--);if(!w&&!_)for(;I--;I)E.unshift("..");!w||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),x&&"/"!==E.join("/").substr(-1)&&E.push("");var B=""===E[0]||E[0]&&"/"===E[0].charAt(0);if(k){r.hostname=r.host=B?"":E.length?E.shift():"";var P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");P&&(r.auth=P.shift(),r.host=r.hostname=P.shift())}return(w=w||r.host&&E.length)&&!B&&E.unshift(""),E.length?r.pathname=E.join("/"):(r.pathname=null,r.path=null),s.isNull(r.pathname)&&s.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var e=this.host,t=c.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{"./util":358,punycode:293,querystring:298}],358:[function(e,t,r){"use strict";t.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},{}],359:[function(e,t,r){(function(e){function r(t){try{if(!e.localStorage)return!1}catch(e){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],360:[function(e,t,r){arguments[4][248][0].apply(r,arguments)},{dup:248}],361:[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],362:[function(e,t,r){(function(t,n){function i(e,t){var n={seen:[],stylize:s};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),h(t)?n.showHidden=t:t&&r._extend(n,t),b(n.showHidden)&&(n.showHidden=!1),b(n.depth)&&(n.depth=2),b(n.colors)&&(n.colors=!1),b(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=o),a(n,e,n.depth)}function o(e,t){var r=i.styles[t];return r?"["+i.colors[r][0]+"m"+e+"["+i.colors[r][1]+"m":e}function s(e,t){return e}function a(e,t,n){if(e.customInspect&&t&&w(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return p(i)||(i=a(e,i,n)),i}var o=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(p(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(d(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(l(t))return e.stylize("null","null")}(e,t);if(o)return o;var s=Object.keys(t),v=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),g(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return c(t);if(0===s.length){if(w(t)){var _=t.name?": "+t.name:"";return e.stylize("[Function"+_+"]","special")}if(y(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(m(t))return e.stylize(Date.prototype.toString.call(t),"date");if(g(t))return c(t)}var E="",k=!1,A=["{","}"];if(u(t)&&(k=!0,A=["[","]"]),w(t)){E=" [Function"+(t.name?": "+t.name:"")+"]"}if(y(t)&&(E=" "+RegExp.prototype.toString.call(t)),m(t)&&(E=" "+Date.prototype.toUTCString.call(t)),g(t)&&(E=" "+c(t)),0===s.length&&(!k||0==t.length))return A[0]+E+A[1];if(n<0)return y(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var x;return x=k?function(e,t,r,n,i){for(var o=[],s=0,a=t.length;s<a;++s)S(t,String(s))?o.push(f(e,t,r,n,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(f(e,t,r,n,i,!0))}),o}(e,t,n,v,s):s.map(function(r){return f(e,t,n,v,r,k)}),e.seen.pop(),function(e,t,r){var n=0;if(e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(x,E,A)}function c(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i,o){var s,c,f;if((f=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?c=f.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):f.set&&(c=e.stylize("[Setter]","special")),S(n,i)||(s="["+i+"]"),c||(e.seen.indexOf(f.value)<0?(c=l(r)?a(e,f.value,null):a(e,f.value,r-1)).indexOf("\n")>-1&&(c=o?c.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+c.split("\n").map(function(e){return"   "+e}).join("\n")):c=e.stylize("[Circular]","special")),b(s)){if(o&&i.match(/^\d+$/))return c;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+c}function u(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function l(e){return null===e}function d(e){return"number"==typeof e}function p(e){return"string"==typeof e}function b(e){return void 0===e}function y(e){return v(e)&&"[object RegExp]"===_(e)}function v(e){return"object"==typeof e&&null!==e}function m(e){return v(e)&&"[object Date]"===_(e)}function g(e){return v(e)&&("[object Error]"===_(e)||e instanceof Error)}function w(e){return"function"==typeof e}function _(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}function S(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var k=/%[sdj%]/g;r.format=function(e){if(!p(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(i(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,o=n.length,s=String(e).replace(k,function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),a=n[r];r<o;a=n[++r])l(a)||!v(a)?s+=" "+a:s+=" "+i(a);return s},r.deprecate=function(e,i){if(b(n.process))return function(){return r.deprecate(e,i).apply(this,arguments)};if(!0===t.noDeprecation)return e;var o=!1;return function(){if(!o){if(t.throwDeprecation)throw new Error(i);t.traceDeprecation?console.trace(i):console.error(i),o=!0}return e.apply(this,arguments)}};var A,x={};r.debuglog=function(e){if(b(A)&&(A=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!x[e])if(new RegExp("\\b"+e+"\\b","i").test(A)){var n=t.pid;x[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else x[e]=function(){};return x[e]},r.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=u,r.isBoolean=h,r.isNull=l,r.isNullOrUndefined=function(e){return null==e},r.isNumber=d,r.isString=p,r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=b,r.isRegExp=y,r.isObject=v,r.isDate=m,r.isError=g,r.isFunction=w,r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e("./support/isBuffer");var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];r.log=function(){console.log("%s - %s",function(){var e=new Date,t=[E(e.getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":");return[e.getDate(),I[e.getMonth()],t].join(" ")}(),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!v(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":361,_process:265,inherits:360}],363:[function(e,t,r){(function(Buffer){"use strict";function e(e){if(e<0||e>o||e%1!=0)throw new RangeError("value out of range")}function r(t,n,o){if(e(t),n||(n=new Buffer(i(t))),!Buffer.isBuffer(n))throw new TypeError("buffer must be a Buffer instance");return o||(o=0),t<253?(n.writeUInt8(t,o),r.bytes=1):t<=65535?(n.writeUInt8(253,o),n.writeUInt16LE(t,o+1),r.bytes=3):t<=4294967295?(n.writeUInt8(254,o),n.writeUInt32LE(t,o+1),r.bytes=5):(n.writeUInt8(255,o),n.writeUInt32LE(t>>>0,o+1),n.writeUInt32LE(t/4294967296|0,o+5),r.bytes=9),n}function n(t,r){if(!Buffer.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");r||(r=0);var i=t.readUInt8(r);if(i<253)return n.bytes=1,i;if(253===i)return n.bytes=3,t.readUInt16LE(r+1);if(254===i)return n.bytes=5,t.readUInt32LE(r+1);n.bytes=9;var o=t.readUInt32LE(r+1),s=4294967296*t.readUInt32LE(r+5)+o;return e(s),s}function i(t){return e(t),t<253?1:t<=65535?3:t<=4294967295?5:9}var o=9007199254740991;t.exports={encode:r,decode:n,encodingLength:i}}).call(this,e("buffer").Buffer)},{buffer:105}],364:[function(require,module,exports){function Context(){}var indexOf=require("indexof"),Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,n=r.eval,i=r.execScript;!n&&i&&(i.call(r,"null"),n=r.eval),forEach(Object_keys(e),function(t){r[t]=e[t]}),forEach(globals,function(t){e[t]&&(r[t]=e[t])});var o=Object_keys(r),s=n.call(r,this.code);return forEach(Object_keys(r),function(t){(t in e||-1===indexOf(o,t))&&(e[t]=r[t])}),forEach(globals,function(t){t in e||defineProp(e,t,r[t])}),document.body.removeChild(t),s},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return forEach(Object_keys(t),function(r){e[r]=t[r]}),r},forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}}),exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),function(r){t[r]=e[r]}),t}},{indexof:247}],365:[function(e,t,r){var n=arguments[3],i=arguments[4],o=arguments[5],s=JSON.stringify;t.exports=function(e,t){function r(e){y[e]=!0;for(var t in i[e][1]){var n=i[e][1][t];y[n]||r(n)}}for(var a,c=Object.keys(o),f=0,u=c.length;f<u;f++){var h=c[f],l=o[h].exports;if(l===e||l&&l.default===e){a=h;break}}if(!a){a=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var d={},f=0,u=c.length;f<u;f++){d[h=c[f]]=h}i[a]=[Function(["require","module","exports"],"("+e+")(self)"),d]}var p=Math.floor(Math.pow(16,8)*Math.random()).toString(16),b={};b[a]=a,i[p]=[Function(["require"],"var f = require("+s(a)+");(f.default ? f.default : f)(self);"),b];var y={};r(p);var v="("+n+")({"+Object.keys(y).map(function(e){return s(e)+":["+i[e][0]+","+s(i[e][1])+"]"}).join(",")+"},{},["+s(p)+"])",m=window.URL||window.webkitURL||window.mozURL||window.msURL,g=new Blob([v],{type:"text/javascript"});if(t&&t.bare)return g;var w=m.createObjectURL(g),_=new Worker(w);return _.objectURL=w,_}},{}],366:[function(e,t,r){(function(Buffer){function r(e,t){if(void 0!==t&&e[0]!==t)throw new Error("Invalid network version");if(33===e.length)return{version:e[0],privateKey:e.slice(1,33),compressed:!1};if(34!==e.length)throw new Error("Invalid WIF length");if(1!==e[33])throw new Error("Invalid compression flag");return{version:e[0],privateKey:e.slice(1,33),compressed:!0}}function n(e,t,r){var n=new Buffer(r?34:33);return n.writeUInt8(e,0),t.copy(n,1),r&&(n[33]=1),n}var i=e("bs58check");t.exports={decode:function(e,t){return r(i.decode(e),t)},decodeRaw:r,encode:function(e,t,r){return"number"==typeof e?i.encode(n(e,t,r)):i.encode(n(e.version,e.privateKey,e.compressed))},encodeRaw:n}}).call(this,e("buffer").Buffer)},{bs58check:101,buffer:105}]},{},[19])(19)});
@@ 2-2 (lines=1) @@
1
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).blocktrailSDK=e()}}(function(){var define,module,exports;return function e(t,r,n){function i(s,a){if(!r[s]){if(!t[s]){var c="function"==typeof require&&require;if(!a&&c)return c(s,!0);if(o)return o(s,!0);var f=new Error("Cannot find module '"+s+"'");throw f.code="MODULE_NOT_FOUND",f}var u=r[s]={exports:{}};t[s][0].call(u.exports,function(e){var r=t[s][1][e];return i(r||e)},u,u.exports,e,t,r,n)}return r[s].exports}for(var o="function"==typeof require&&require,s=0;s<n.length;s++)i(n[s]);return i}({1:[function(e,t,r){(function(r,Buffer){function n(e,t){if(void 0!==a.HDNode.fromBase58(e[0],t).keyPair.d)throw new Error("BIP32Key contained private key material - abort");if("M"!==e[1].slice(0,1))throw new Error("BIP32Key contained non-public path - abort")}function i(e,t){n(e.primary_public_key,t),n(e.backup_public_key,t)}var o=e("lodash"),s=e("q"),a=e("bitcoinjs-lib"),c=e("bitcoinjs-message"),f=e("bip39"),u=e("./wallet"),h=e("./rest_client"),l=e("./encryption"),d=e("./keyderivation"),p=e("./encryption_mnemonic"),b=e("./blocktrail"),y=e("randombytes"),v=e("crypto-js"),m=e("./webworkifier"),g=e("./use-webworker")(),w=function(e){var t=this;if(!(this instanceof w))return new w(e);t.bitcoinCash=e.network&&"BCC"===e.network,t.testnet=e.testnet=e.testnet||!1,t.bitcoinCash?t.testnet?t.network=a.networks.bitcoincashtestnet:t.network=a.networks.bitcoincash:t.testnet?t.network=a.networks.testnet:t.network=a.networks.bitcoin,t.feeSanityCheck=void 0===e.feeSanityCheck||e.feeSanityCheck,t.feeSanityCheckBaseFeeMultiplier=e.feeSanityCheckBaseFeeMultiplier||200,e.apiNetwork=e.apiNetwork||(t.testnet?"t":"")+(e.network||"BTC").toUpperCase(),t.client=w.initRestClient(e)};w.initRestClient=function(e){return r.env.BLOCKTRAIL_SDK_API_ENDPOINT&&(e.host=r.env.BLOCKTRAIL_SDK_API_ENDPOINT),e.host&&0===e.host.indexOf("https://")?(e.https=!0,e.host=e.host.substr(8)):e.host&&0===e.host.indexOf("http://")&&(e.https=!1,e.host=e.host.substr(7)),void 0===e.https&&(e.https=!0),e.host||(e.host="api.blocktrail.com"),e.port||(e.port=e.https?443:80),e.endpoint||(e.endpoint="/"+(e.apiVersion||"v1")+(e.apiNetwork?"/"+e.apiNetwork:"")),new h(e)};var _=function(e){return s.when(e).then(function(e){return e.storePrimaryMnemonic&&(e.storeDataOnServer=e.storePrimaryMnemonic),void 0===e.storeDataOnServer&&(e.storeDataOnServer=!e.primarySeed),e})};w.prototype.promisedEncrypt=function(t,r,n){if(g&&"function"==typeof onLoadWorkerLoadAsmCrypto){var i=l.generateSalt(),o=l.generateIV();return m.workify(w.prototype.promisedEncrypt,function(){return e("./webworker")},onLoadWorkerLoadAsmCrypto,{method:"Encryption.encryptWithSaltAndIV",pt:t,pw:r,saltBuf:i,iv:o,iterations:n}).then(function(e){return Buffer.from(e.cipherText.buffer)})}try{return s.when(l.encrypt(t,r,n))}catch(e){return s.reject(e)}},w.prototype.promisedDecrypt=function(t,r){if(g&&"function"==typeof onLoadWorkerLoadAsmCrypto)return m.workify(w.prototype.promisedDecrypt,function(){return e("./webworker")},onLoadWorkerLoadAsmCrypto,{method:"Encryption.decrypt",ct:t,pw:r}).then(function(e){return Buffer.from(e.plainText.buffer)});try{return s.when(l.decrypt(t,r))}catch(e){return s.reject(e)}},w.prototype.produceEncryptedDataV3=function(e,t){var r=this;return s.when(e).then(function(e){return e.storeDataOnServer?s.when().then(function(){if(!e.secret){if(!e.passphrase)throw new b.WalletCreateError("Can't encrypt data without a passphrase");return t(w.CREATE_WALLET_PROGRESS_ENCRYPT_SECRET),e.secret=y(u.WALLET_ENTROPY_BITS/8),r.promisedEncrypt(e.secret,new Buffer(e.passphrase),d.defaultIterations).then(function(t){e.encryptedSecret=t})}if(!(e.secret instanceof Buffer))throw new Error("Secret must be a buffer")}).then(function(){return t(w.CREATE_WALLET_PROGRESS_ENCRYPT_PRIMARY),r.promisedEncrypt(e.primarySeed,e.secret,d.subkeyIterations).then(function(t){e.encryptedPrimarySeed=t})}).then(function(){if(!1!==e.recoverySecret)return t(w.CREATE_WALLET_PROGRESS_ENCRYPT_RECOVERY),e.recoverySecret||(e.recoverySecret=y(u.WALLET_ENTROPY_BITS/8)),r.promisedEncrypt(e.secret,e.recoverySecret,d.defaultIterations).then(function(t){e.recoveryEncryptedSecret=t})}).then(function(){return e}):e})};var E=function(e,t,r){return s.when(e).then(function(e){return e.backupPublicKey||(e.backupSeed=e.backupSeed||y(u.WALLET_ENTROPY_BITS/8)),r(w.CREATE_WALLET_PROGRESS_PRIMARY),e.primaryPrivateKey=a.HDNode.fromSeedBuffer(e.primarySeed,t),r(w.CREATE_WALLET_PROGRESS_BACKUP),e.backupPublicKey||(e.backupPrivateKey=a.HDNode.fromSeedBuffer(e.backupSeed,t),e.backupPublicKey=e.backupPrivateKey.neutered()),e.primaryPublicKey=e.primaryPrivateKey.deriveHardened(e.keyIndex).neutered(),r(w.CREATE_WALLET_PROGRESS_SUBMIT),e})};w.prototype.mnemonicToPrivateKey=function(e,t,r){var n=this,i=s.defer();return i.promise.spreadNodeify(r),i.resolve(s.fcall(function(){return n.mnemonicToSeedHex(e,t).then(function(e){return a.HDNode.fromSeedHex(e,n.network)})})),i.promise},w.prototype.mnemonicToSeedHex=function(t,r){if(g)return m.workify(this.mnemonicToSeedHex,function(){return e("./webworker")},{method:"mnemonicToSeedHex",mnemonic:t,passphrase:r}).then(function(e){return e.seed});try{return s.when(f.mnemonicToSeedHex(t,r))}catch(e){return s.reject(e)}},w.prototype.resolvePrimaryPrivateKeyFromOptions=function(e,t){var r=this,n=s.defer();n.promise.nodeify(t);try{if(e.passphrase&&e.password)throw new b.WalletCreateError("Can't specify passphrase and password");if(e.passphrase=e.passphrase||e.password,delete e.password,e.primaryMnemonic&&e.primarySeed)throw new b.WalletInitError("Can only specify one of; Primary Mnemonic or Primary Seed");if(e.primaryPrivateKey)throw new b.WalletInitError("Can't specify; Primary PrivateKey");if(!e.primaryMnemonic&&!e.primarySeed)throw new b.WalletInitError("Need to specify at least one of; Primary Mnemonic or Primary Seed");if(e.primarySeed)r.primarySeed=e.primarySeed,e.primaryPrivateKey=a.HDNode.fromSeedBuffer(r.primarySeed,r.network),n.resolve(e);else{if(!e.passphrase)throw new b.WalletInitError("Can't init wallet with Primary Mnemonic without a passphrase");r.mnemonicToSeedHex(e.primaryMnemonic,e.passphrase).then(function(t){try{e.primarySeed=new Buffer(t,"hex"),e.primaryPrivateKey=a.HDNode.fromSeedBuffer(e.primarySeed,r.network),n.resolve(e)}catch(e){n.reject(e)}},function(e){n.reject(e)})}}catch(e){n.reject(e)}return n.promise},w.prototype.resolveBackupPublicKeyFromOptions=function(e,t){var r=s.defer();r.promise.nodeify(t);try{if(e.backupMnemonic&&e.backupPublicKey)throw new b.WalletInitError("Can only specify one of; Backup Mnemonic or Backup PublicKey");if(!e.backupMnemonic&&!e.backupPublicKey)throw new b.WalletInitError("Need to specify at least one of; Backup Mnemonic or Backup PublicKey");e.backupPublicKey?e.backupPublicKey instanceof a.HDNode?r.resolve(e):(e.backupPublicKey=a.HDNode.fromBase58(e.backupPublicKey,this.network),r.resolve(e)):this.mnemonicToPrivateKey(e.backupMnemonic,"").then(function(t){e.backupPublicKey=t.neutered(),r.resolve(e)},function(e){r.reject(e)})}catch(e){r.reject(e)}return r.promise},w.prototype.debugAuth=function(e){return this.client.get("/debug/http-signature",null,!0,e)},w.prototype.address=function(e,t){return this.client.get("/address/"+e,null,t)},w.prototype.addresses=function(e,t){return this.client.post("/address",null,{addresses:e},t)},w.prototype.addressTransactions=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/address/"+e+"/transactions",t,r)},w.prototype.batchAddressHasTransactions=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.post("/address/has-transactions",t,{addresses:e},r)},w.prototype.addressUnconfirmedTransactions=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/address/"+e+"/unconfirmed-transactions",t,r)},w.prototype.addressUnspentOutputs=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/address/"+e+"/unspent-outputs",t,r)},w.prototype.batchAddressUnspentOutputs=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.post("/address/unspent-outputs",t,{addresses:e},r)},w.prototype.verifyAddress=function(e,t,r){return this.client.post("/address/"+e+"/verify",null,{signature:t},r)},w.prototype.allBlocks=function(e,t){return"function"==typeof e&&(t=e,e=null),this.client.get("/all-blocks",e,t)},w.prototype.block=function(e,t){return this.client.get("/block/"+e,null,t)},w.prototype.blockLatest=function(e){return this.client.get("/block/latest",null,e)},w.prototype.blockTransactions=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/block/"+e+"/transactions",t,r)},w.prototype.transaction=function(e,t){return this.client.get("/transaction/"+e,null,t)},w.prototype.transactions=function(e,t){return this.client.post("/transactions",null,e,t,!1)},w.prototype.allWebhooks=function(e,t){return"function"==typeof e&&(t=e,e=null),this.client.get("/webhooks",e,t)},w.prototype.setupWebhook=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.post("/webhook",null,{url:e,identifier:t},r)},w.prototype.getLegacyBitcoinCashAddress=function(e){if(this.network===a.networks.bitcoincash||this.network===a.networks.bitcoincashtestnet){var t;try{return a.address.fromBase58Check(e,this.network),e}catch(e){}var r;if((t=a.address.fromCashAddress(e,this.network)).version===a.script.types.P2PKH)r=this.network.pubKeyHash;else{if(t.version!==a.script.types.P2SH)throw new Error("Unsupported address type");r=this.network.scriptHash}return a.address.toBase58Check(t.hash,r)}throw new Error("Cash addresses only work on bitcoin cash")},w.prototype.getCashAddressFromLegacyAddress=function(e){if(this.network===a.networks.bitcoincash||this.network===a.networks.bitcoincashtestnet){var t;try{return a.address.fromCashAddress(e,this.network),e}catch(e){}var r;if((t=a.address.fromBase58Check(e,this.network)).version===this.network.pubKeyHash)r=a.script.types.P2PKH;else{if(t.version!==this.network.scriptHash)throw new Error("Unsupported address type");r=a.script.types.P2SH}return a.address.toCashAddress(t.hash,r,this.network.cashAddrPrefix)}throw new Error("Cash addresses only work on bitcoin cash")},w.prototype.getWebhook=function(e,t){return this.client.get("/webhook/"+e,null,t)},w.prototype.updateWebhook=function(e,t,r){return this.client.put("/webhook/"+e,null,t,r)},w.prototype.deleteWebhook=function(e,t){return this.client.delete("/webhook/"+e,null,null,t)},w.prototype.getWebhookEvents=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/webhook/"+e+"/events",t,r)},w.prototype.subscribeTransaction=function(e,t,r,n){var i={event_type:"transaction",transaction:t,confirmations:r};return this.client.post("/webhook/"+e+"/events",null,i,n)},w.prototype.subscribeAddressTransactions=function(e,t,r,n){var i={event_type:"address-transactions",address:t,confirmations:r};return this.client.post("/webhook/"+e+"/events",null,i,n)},w.prototype.batchSubscribeAddressTransactions=function(e,t,r){return t.forEach(function(e){e.event_type="address-transactions"}),this.client.post("/webhook/"+e+"/events/batch",null,t,r)},w.prototype.subscribeNewBlocks=function(e,t){return this.client.post("/webhook/"+e+"/events",null,{event_type:"block"},t)},w.prototype.unsubscribeAddressTransactions=function(e,t,r){return this.client.delete("/webhook/"+e+"/address-transactions/"+t,null,null,r)},w.prototype.unsubscribeTransaction=function(e,t,r){return this.client.delete("/webhook/"+e+"/transaction/"+t,null,null,r)},w.prototype.unsubscribeNewBlocks=function(e,t){return this.client.delete("/webhook/"+e+"/block",null,null,t)},w.prototype.initWallet=function(e,t){var r=this;if("object"!=typeof e&&(e={identifier:arguments[0],passphrase:arguments[1]},t=arguments[2]),e.check_backup_key&&"string"!=typeof e.check_backup_key)throw new Error("Invalid input, must provide the backup key as a string (the xpub)");var n=s.defer();n.promise.spreadNodeify(t);var i=e.identifier;return i?(n.resolve(r.client.get("/wallet/"+i,null,!0).then(function(t){var n=e.keyIndex||t.key_index;if(e.walletVersion=t.wallet_version,e.check_backup_key&&e.check_backup_key!==t.backup_public_key[0])throw new Error("Backup key returned from server didn't match our own copy");var s=a.HDNode.fromBase58(t.backup_public_key[0],r.network),c=o.mapValues(t.blocktrail_public_keys,function(e){return a.HDNode.fromBase58(e[0],r.network)}),f=o.mapValues(t.primary_public_keys,function(e){return a.HDNode.fromBase58(e[0],r.network)}),h=new u(r,i,e.walletVersion,t.primary_mnemonic,t.encrypted_primary_seed,t.encrypted_secret,f,s,c,n,t.segwit||0,r.testnet,t.checksum,t.upgrade_key_index,e.useCashAddress,e.bypassNewAddressCheck);return h.recoverySecret=t.recovery_secret,e.readOnly?h:h.unlock(e).then(function(){return h})})),n.promise):(n.reject(new b.WalletInitError("Identifier is required")),n.promise)},w.CREATE_WALLET_PROGRESS_START=0,w.CREATE_WALLET_PROGRESS_ENCRYPT_SECRET=4,w.CREATE_WALLET_PROGRESS_ENCRYPT_PRIMARY=5,w.CREATE_WALLET_PROGRESS_ENCRYPT_RECOVERY=6,w.CREATE_WALLET_PROGRESS_PRIMARY=10,w.CREATE_WALLET_PROGRESS_BACKUP=20,w.CREATE_WALLET_PROGRESS_SUBMIT=30,w.CREATE_WALLET_PROGRESS_INIT=40,w.CREATE_WALLET_PROGRESS_DONE=100,w.prototype.createNewWallet=function(e,t){var r=this;if("object"!=typeof e){var n=arguments[0],i=arguments[1],o=arguments[2];t=arguments[3],"function"==typeof o&&(t=o,o=null),e={identifier:n,passphrase:i,keyIndex:o}}e.walletVersion=e.walletVersion||u.WALLET_VERSION_V3;var a=s.defer();return a.promise.spreadNodeify(t),s.nextTick(function(){if(a.notify(w.CREATE_WALLET_PROGRESS_START),e.keyIndex=e.keyIndex||0,e.passphrase=e.passphrase||e.password,delete e.password,!e.identifier)return a.reject(new b.WalletCreateError("Identifier is required")),a.promise;e.walletVersion===u.WALLET_VERSION_V1?r._createNewWalletV1(e).progress(function(e){a.notify(e)}).then(function(e){a.resolve(e)},function(e){a.reject(e)}):e.walletVersion===u.WALLET_VERSION_V2?r._createNewWalletV2(e).progress(function(e){a.notify(e)}).then(function(e){a.resolve(e)},function(e){a.reject(e)}):e.walletVersion===u.WALLET_VERSION_V3?r._createNewWalletV3(e).progress(function(e){a.notify(e)}).then(function(e){a.resolve(e)},function(e){a.reject(e)}):a.reject(new b.WalletCreateError("Invalid wallet version!"))}),a.promise},w.prototype._createNewWalletV1=function(e){var t=this,r=s.defer();return s.nextTick(function(){if(!e.primaryMnemonic&&!e.primarySeed){if(!e.passphrase&&!e.password)return r.reject(new b.WalletCreateError("Can't generate Primary Mnemonic without a passphrase")),r.promise;e.primaryMnemonic=f.generateMnemonic(u.WALLET_ENTROPY_BITS),!1!==e.storePrimaryMnemonic&&(e.storePrimaryMnemonic=!0)}e.backupMnemonic||e.backupPublicKey||(e.backupMnemonic=f.generateMnemonic(u.WALLET_ENTROPY_BITS)),r.notify(w.CREATE_WALLET_PROGRESS_PRIMARY),t.resolvePrimaryPrivateKeyFromOptions(e).then(function(e){return r.notify(w.CREATE_WALLET_PROGRESS_BACKUP),t.resolveBackupPublicKeyFromOptions(e).then(function(e){r.notify(w.CREATE_WALLET_PROGRESS_SUBMIT);var n=a.crypto.hash160(e.primaryPrivateKey.getPublicKeyBuffer()),i=a.address.toBase58Check(n,t.network.pubKeyHash),s=e.keyIndex,c=e.primaryPrivateKey.deriveHardened(s).neutered();return t.storeNewWalletV1(e.identifier,[c.toBase58(),"M/"+s+"'"],[e.backupPublicKey.toBase58(),"M"],!!e.storePrimaryMnemonic&&e.primaryMnemonic,i,s,e.segwit||null).then(function(n){r.notify(w.CREATE_WALLET_PROGRESS_INIT);var f=o.mapValues(n.blocktrail_public_keys,function(e){return a.HDNode.fromBase58(e[0],t.network)}),h=new u(t,e.identifier,u.WALLET_VERSION_V1,e.primaryMnemonic,null,null,{keyIndex:c},e.backupPublicKey,f,s,n.segwit||0,t.testnet,i,n.upgrade_key_index,e.useCashAddress,e.bypassNewAddressCheck);return h.unlock({walletVersion:u.WALLET_VERSION_V1,passphrase:e.passphrase,primarySeed:e.primarySeed,primaryMnemonic:null}).then(function(){return r.notify(w.CREATE_WALLET_PROGRESS_DONE),[h,{walletVersion:h.walletVersion,primaryMnemonic:e.primaryMnemonic,backupMnemonic:e.backupMnemonic,blocktrailPublicKeys:f}]})})})}).then(function(e){r.resolve(e)},function(e){r.reject(e)})}),r.promise},w.prototype._createNewWalletV2=function(e){var t=this,r=s.defer();return e=o.merge({},e),_(e).then(function(e){if(e.passphrase=e.passphrase||e.password,delete e.password,e.primaryPrivateKey)throw new b.WalletInitError("Can't specify; Primary PrivateKey");return e.primarySeed=e.primarySeed||y(u.WALLET_ENTROPY_BITS/8),e}).then(function(e){return function(e,t){return s.when(e).then(function(e){if(e.storeDataOnServer){if(!e.secret){if(!e.passphrase)throw new b.WalletCreateError("Can't encrypt data without a passphrase");t(w.CREATE_WALLET_PROGRESS_ENCRYPT_SECRET),e.secret=y(u.WALLET_ENTROPY_BITS/8).toString("hex"),e.encryptedSecret=v.AES.encrypt(e.secret,e.passphrase).toString(v.format.OpenSSL)}t(w.CREATE_WALLET_PROGRESS_ENCRYPT_PRIMARY),e.encryptedPrimarySeed=v.AES.encrypt(e.primarySeed.toString("base64"),e.secret).toString(v.format.OpenSSL),e.recoverySecret=y(u.WALLET_ENTROPY_BITS/8).toString("hex"),t(w.CREATE_WALLET_PROGRESS_ENCRYPT_RECOVERY),e.recoveryEncryptedSecret=v.AES.encrypt(e.secret,e.recoverySecret).toString(v.format.OpenSSL)}return e})}(e,r.notify.bind(r))}).then(function(e){return E(e,t.network,r.notify.bind(r))}).then(function(e){var n=a.crypto.hash160(e.primaryPrivateKey.getPublicKeyBuffer()),i=a.address.toBase58Check(n,t.network.pubKeyHash),s=e.keyIndex;return t.storeNewWalletV2(e.identifier,[e.primaryPublicKey.toBase58(),"M/"+s+"'"],[e.backupPublicKey.toBase58(),"M"],!!e.storeDataOnServer&&e.encryptedPrimarySeed,!!e.storeDataOnServer&&e.encryptedSecret,!!e.storeDataOnServer&&e.recoverySecret,i,s,e.support_secret||null,e.segwit||null).then(function(n){r.notify(w.CREATE_WALLET_PROGRESS_INIT);var c=o.mapValues(n.blocktrail_public_keys,function(e){return a.HDNode.fromBase58(e[0],t.network)}),h=new u(t,e.identifier,u.WALLET_VERSION_V2,null,e.storeDataOnServer?e.encryptedPrimarySeed:null,e.storeDataOnServer?e.encryptedSecret:null,{keyIndex:e.primaryPublicKey},e.backupPublicKey,c,s,n.segwit||0,t.testnet,i,n.upgrade_key_index,e.useCashAddress,e.bypassNewAddressCheck);return h.unlock({walletVersion:u.WALLET_VERSION_V2,passphrase:e.passphrase,primarySeed:e.primarySeed,secret:e.secret}).then(function(){return r.notify(w.CREATE_WALLET_PROGRESS_DONE),[h,{walletVersion:h.walletVersion,encryptedPrimarySeed:e.encryptedPrimarySeed?f.entropyToMnemonic(b.convert(e.encryptedPrimarySeed,"base64","hex")):null,backupSeed:e.backupSeed?f.entropyToMnemonic(e.backupSeed.toString("hex")):null,recoveryEncryptedSecret:e.recoveryEncryptedSecret?f.entropyToMnemonic(b.convert(e.recoveryEncryptedSecret,"base64","hex")):null,encryptedSecret:e.encryptedSecret?f.entropyToMnemonic(b.convert(e.encryptedSecret,"base64","hex")):null,blocktrailPublicKeys:c}]})})}).then(function(e){r.resolve(e)},function(e){r.reject(e)}),r.promise},w.prototype._createNewWalletV3=function(e){var t=this,r=s.defer();return e=o.merge({},e),_(e).then(function(e){if(e.passphrase=e.passphrase||e.password,delete e.password,e.primaryPrivateKey)throw new b.WalletInitError("Can't specify; Primary PrivateKey");return e.primarySeed=e.primarySeed||y(u.WALLET_ENTROPY_BITS/8),e}).then(function(e){return t.produceEncryptedDataV3(e,r.notify.bind(r))}).then(function(e){return E(e,t.network,r.notify.bind(r))}).then(function(e){var n=a.crypto.hash160(e.primaryPrivateKey.getPublicKeyBuffer()),i=a.address.toBase58Check(n,t.network.pubKeyHash),s=e.keyIndex;return t.storeNewWalletV3(e.identifier,[e.primaryPublicKey.toBase58(),"M/"+s+"'"],[e.backupPublicKey.toBase58(),"M"],!!e.storeDataOnServer&&e.encryptedPrimarySeed,!!e.storeDataOnServer&&e.encryptedSecret,!!e.storeDataOnServer&&e.recoverySecret,i,s,e.support_secret||null,e.segwit||null).then(function(n){r.notify(w.CREATE_WALLET_PROGRESS_INIT);var c=o.mapValues(n.blocktrail_public_keys,function(e){return a.HDNode.fromBase58(e[0],t.network)}),h=new u(t,e.identifier,u.WALLET_VERSION_V3,null,e.storeDataOnServer?e.encryptedPrimarySeed:null,e.storeDataOnServer?e.encryptedSecret:null,{keyIndex:e.primaryPublicKey},e.backupPublicKey,c,s,n.segwit||0,t.testnet,i,n.upgrade_key_index,e.useCashAddress,e.bypassNewAddressCheck);return h.unlock({walletVersion:u.WALLET_VERSION_V3,passphrase:e.passphrase,primarySeed:e.primarySeed,secret:e.secret}).then(function(){return r.notify(w.CREATE_WALLET_PROGRESS_DONE),[h,{walletVersion:h.walletVersion,encryptedPrimarySeed:e.encryptedPrimarySeed?p.encode(e.encryptedPrimarySeed):null,backupSeed:e.backupSeed?f.entropyToMnemonic(e.backupSeed):null,recoveryEncryptedSecret:e.recoveryEncryptedSecret?p.encode(e.recoveryEncryptedSecret):null,encryptedSecret:e.encryptedSecret?p.encode(e.encryptedSecret):null,blocktrailPublicKeys:c}]})})}).then(function(e){r.resolve(e)},function(e){r.reject(e)}),r.promise},w.prototype.storeNewWalletV1=function(e,t,r,n,o,s,a){var c={identifier:e,wallet_version:u.WALLET_VERSION_V1,primary_public_key:t,backup_public_key:r,primary_mnemonic:n,checksum:o,key_index:s,segwit:a};return i(c,this.network),this.client.post("/wallet",null,c)},w.prototype.storeNewWalletV2=function(e,t,r,n,o,s,a,c,f,h){var l={identifier:e,wallet_version:u.WALLET_VERSION_V2,primary_public_key:t,backup_public_key:r,encrypted_primary_seed:n,encrypted_secret:o,recovery_secret:s,checksum:a,key_index:c,support_secret:f||null,segwit:h};return i(l,this.network),this.client.post("/wallet",null,l)},w.prototype.storeNewWalletV3=function(e,t,r,n,o,s,a,c,f,h){var l={identifier:e,wallet_version:u.WALLET_VERSION_V3,primary_public_key:t,backup_public_key:r,encrypted_primary_seed:n.toString("base64"),encrypted_secret:o.toString("base64"),recovery_secret:s.toString("hex"),checksum:a,key_index:c,support_secret:f||null,segwit:h};return i(l,this.network),this.client.post("/wallet",null,l)},w.prototype.updateWallet=function(e,t,r){return this.client.post("/wallet/"+e,null,t,r)},w.prototype.upgradeKeyIndex=function(e,t,r,n){return this.client.post("/wallet/"+e+"/upgrade",null,{key_index:t,primary_public_key:r},n)},w.prototype.getWalletBalance=function(e,t){return this.client.get("/wallet/"+e+"/balance",null,!0,t)},w.prototype.doWalletDiscovery=function(e,t,r){return this.client.get("/wallet/"+e+"/discovery",{gap:t},!0,r)},w.prototype.getNewDerivation=function(e,t,r){return this.client.post("/wallet/"+e+"/path",null,{path:t},r)},w.prototype.deleteWallet=function(e,t,r,n,i){return"function"==typeof n&&(i=n,n=!1),this.client.delete("/wallet/"+e,{force:n},{checksum:t,signature:r},i)},w.prototype.coinSelection=function(e,t,r,n,i,o,a){"function"==typeof i?(a=i,i=null,o={}):"function"==typeof o&&(a=o,o={}),i=i||u.FEE_STRATEGY_OPTIMAL,o=o||{};var c=s.defer();c.promise.spreadNodeify(a);var f={lock:r,zeroconf:n?1:0,zeroconfself:void 0===o.allowZeroConfSelf||o.allowZeroConfSelf?1:0,fee_strategy:i};return o.forcefee&&(f.forcefee=o.forcefee),c.resolve(this.client.post("/wallet/"+e+"/coin-selection",f,t).then(function(e){return[e.utxos,e.fee,e.change,e]},function(e){if(e.message.match(/too low to pay the fee/))throw b.WalletFeeError(e);throw e})),c.promise},w.prototype.feePerKB=function(e){var t=s.defer();return t.promise.spreadNodeify(e),t.resolve(this.client.get("/fee-per-kb")),t.promise},w.prototype.sendTransaction=function(e,t,r,n,i,o,s){"function"==typeof i?(s=i,i=null,o=!1):"function"==typeof o&&(s=o,o=!1);var a={paths:r,two_factor_token:i};return"string"==typeof t?a.raw_transaction=t:"object"==typeof t&&Object.keys(t).map(function(e){a[e]=t[e]}),this.client.post("/wallet/"+e+"/send",{check_fee:n?1:0,prioboost:o?1:0},a,s)},w.prototype.setupWalletWebhook=function(e,t,r,n){return this.client.post("/wallet/"+e+"/webhook",null,{url:r,identifier:t},n)},w.prototype.deleteWalletWebhook=function(e,t,r){return this.client.delete("/wallet/"+e+"/webhook/"+t,null,null,r)},w.prototype.walletTransactions=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/wallet/"+e+"/transactions",t,!0,r)},w.prototype.walletAddresses=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/wallet/"+e+"/addresses",t,!0,r)},w.prototype.labelWalletAddress=function(e,t,r,n){return this.client.post("/wallet/"+e+"/address/"+t+"/label",null,{label:r},n)},w.prototype.walletMaxSpendable=function(e,t,r,n,i){"function"==typeof r?(i=r,r=null):"function"==typeof n&&(i=n,n={}),r=r||u.FEE_STRATEGY_OPTIMAL;var o={outputs:(n=n||{}).outputs?n.outputs:1,zeroconf:t?1:0,zeroconfself:void 0===n.allowZeroConfSelf||n.allowZeroConfSelf?1:0,fee_strategy:r};return n.forcefee&&(o.forcefee=n.forcefee),this.client.get("/wallet/"+e+"/max-spendable",o,!0,i)},w.prototype.walletUTXOs=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/wallet/"+e+"/utxos",t,!0,r)},w.prototype.allWallets=function(e,t){return"function"==typeof e&&(t=e,e=null),this.client.get("/wallets",e,!0,t)},w.prototype.verifyMessage=function(e,t,r,n){var i=s.defer();i.promise.nodeify(n);try{var o=c.verify(t,this.network.messagePrefix,e,new Buffer(r,"base64"));i.resolve(o)}catch(e){i.reject(e)}return i.promise},w.prototype.faucetWithdrawl=function(e,t,r){return this.client.post("/faucet/withdrawl",null,{address:e,amount:t},r)},w.prototype.sendRawTransaction=function(e,t){return this.client.post("/send-raw-tx",null,e,t)},w.prototype.price=function(e){return this.client.get("/price",null,!1,e)},t.exports=w}).call(this,e("_process"),e("buffer").Buffer)},{"./blocktrail":2,"./encryption":3,"./encryption_mnemonic":4,"./keyderivation":5,"./rest_client":9,"./use-webworker":14,"./wallet":15,"./webworker":17,"./webworkifier":18,_process:265,bip39:28,"bitcoinjs-lib":43,"bitcoinjs-message":72,buffer:105,"crypto-js":187,lodash:251,q:295,randombytes:299}],2:[function(e,t,r){(function(Buffer){var r=e("util"),n=e("assert"),i=e("crypto-js"),o=e("bip39"),s={COIN:1e8,PRECISION:8,DUST:2730,BASE_FEE:1e4},a=function(e,t,r){return new Buffer(e,t).toString(r)},c=function(e,t){return function(e,t){var r=o.mnemonicToEntropy(e),n=a(r,"hex","base64"),c=i.AES.decrypt(n,t).toString(i.enc.Utf8);if(!c.length)throw new s.WalletDecryptError;return c}(e,t).toString(i.enc.Utf8)},f=function(e,t){return a(c(e,t),"base64","hex")},u=function(e,t){var r=i.AES.encrypt(e,t).toString(i.format.OpenSSL),n=a(r,"base64","hex");return o.entropyToMnemonic(n)};s.convert=a,s.aesDecryptMnemonicToSeed=c,s.aesDecryptMnemonicToSeedBuffer=function(e,t){return new Buffer(f(e,t),"hex")},s.aesDecryptMnemonicToSeedHex=f,s.aesEncryptSeedToMnemonic=u,s.aesEncryptSeedHexToMnemonic=function(e,t){return u(a(e,"hex","base64"),t)},s.aesEncryptSeedBufferToMnemonic=function(e,t){return u(e.toString("base64"),t)},s.V3Crypt={KeyDerivation:e("./keyderivation"),Encryption:e("./encryption"),EncryptionMnemonic:e("./encryption_mnemonic")},s.toSatoshi=function(e){return parseInt((e*s.COIN).toFixed(0),10)},s.toBTC=function(e){return(e/s.COIN).toFixed(s.PRECISION)},s.patchQ=function(e){e.spreadNodeify&&e.spreadDone||(e.spreadDone=function(t,r,n){return e(t).spreadDone(r,n)},e.makePromise.prototype.spreadDone=function(e,t){return this.all().done(function(t){return e.apply(void 0,t)},t)},e.spreadNodeify=function(t,r){return e(t).spreadNodeify(r)},e.makePromise.prototype.spreadNodeify=function(t){if(!t)return this;this.then(function(r){e.nextTick(function(){t.apply(void 0,[null].concat(r))})},function(r){e.nextTick(function(){t(r)})})})},Error.extend=function(e,t){n(e,"subTypeName is required");var i=function(r){if(!(this instanceof i))return new i(r);this.name=e,this.code=t,this.message=r?r.message||r||"":"",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return r.inherits(i,this),i.prototype.toString=function(){return this.name+": "+r.inspect(this.message)},i.extend=this.extend,i},"function"!=typeof Uint8Array.prototype.reverse&&(Buffer.prototype.reverse=function(){for(var e,t=0,r=this.length-1;t<=r;++t,--r)e=this[t],this[t]=this[r],this[r]=e;return this}),s.WalletInitError=Error.extend("WalletInitError",400),s.WalletCreateError=Error.extend("WalletCreateError",400),s.WalletUpgradeError=Error.extend("WalletUpgradeError",400),s.WalletChecksumError=Error.extend("WalletChecksumError",400),s.WalletDeleteError=Error.extend("WalletDeleteError",400),s.WalletDecryptError=Error.extend("WalletDecryptError",400),s.WalletAddressError=Error.extend("WalletAddressError",500),s.WalletSendError=Error.extend("WalletSendError",400),s.WalletLockedError=Error.extend("WalletLockedError",500),s.WalletFeeError=Error.extend("WalletFeeError",500),s.WalletInvalid2FAError=Error.extend("WalletInvalid2FAError",401),s.WalletMissing2FAError=Error.extend("WalletMissing2FAError",401),s.TransactionSignError=Error.extend("TransactionSignError",500),s.TransactionInputError=Error.extend("TransactionInputError",400),s.TransactionOutputError=Error.extend("TransactionOutputError",400),s.KeyPathError=Error.extend("KeyPathError",400),s.InvalidAddressError=Error.extend("InvalidAddressError",400),s.Error=Error.extend("Error",500),s.FEE_STRATEGY_FORCE_FEE="force_fee",s.FEE_STRATEGY_BASE_FEE="base_fee",s.FEE_STRATEGY_HIGH_PRIORITY="high_priority",s.FEE_STRATEGY_OPTIMAL="optimal",s.FEE_STRATEGY_LOW_PRIORITY="low_priority",s.FEE_STRATEGY_MIN_RELAY_FEE="min_relay_fee",s.patchQ(e("q")),t.exports=s}).call(this,e("buffer").Buffer)},{"./encryption":3,"./encryption_mnemonic":4,"./keyderivation":5,assert:20,bip39:28,buffer:105,"crypto-js":187,q:295,util:362}],3:[function(e,t,r){(function(Buffer){var r=e("assert"),n=e("sjcl"),i=e("./keyderivation"),o=e("randombytes"),s={defaultSaltLen:10,tagLenBits:128,ivLenBits:128,ivLenWords:4};s.generateSalt=function(){return o(this.defaultSaltLen)},s.generateIV=function(){return o(this.ivLenBits/8)},s.encrypt=function(e,t,r){var n=this.generateSalt(),o=this.generateIV();return r=void 0===r?i.defaultIterations:r,this.encryptWithSaltAndIV(e,t,n,o,r)},s.encryptWithSaltAndIV=function(e,t,o,s,a){r(e instanceof Buffer,"pt must be provided as a buffer"),r(t instanceof Buffer,"pw must be provided as a buffer"),r(s instanceof Buffer,"IV must be provided as a buffer"),r(o instanceof Buffer,"saltBuff must be provided as a buffer"),r(16===s.length,"IV must be exactly 16 bytes");var c=new Buffer(1),f=o,u=new Buffer(4);c.writeUInt8(o.length),u.writeUInt32LE(a);var h=c.toString("hex")+f.toString("hex")+u.toString("hex"),l=n.codec.hex.toBits(i.compute(t,o,a).toString("hex")),d=n.mode.gcm.encrypt(new n.cipher.aes(l),n.codec.hex.toBits(e.toString("hex")),n.codec.hex.toBits(s.toString("hex")),n.codec.hex.toBits(h),this.tagLenBits);return new Buffer([h,s.toString("hex"),n.codec.hex.fromBits(d)].join(""),"hex")},s.decrypt=function(e,t){r(e instanceof Buffer,"cipherText must be provided as a Buffer"),r(t instanceof Buffer,"password must be provided as a Buffer");var o=new Buffer(e,"hex"),s=0,a=o.readUInt8(s);s+=1;var c=o.slice(1,s+a);s+=a;var f=o.readUInt32LE(s);s+=4;var u=o.slice(0,s),h=o.slice(s,16+s);s+=16;var l=o.slice(s),d=i.compute(t,c,f),p=n.mode.gcm.decrypt(new n.cipher.aes(n.codec.hex.toBits(d.toString("hex"))),n.codec.hex.toBits(l.toString("hex")),n.codec.hex.toBits(h.toString("hex")),n.codec.hex.toBits(u.toString("hex")),this.tagLenBits);return new Buffer(n.codec.hex.fromBits(p),"hex")},t.exports=s}).call(this,e("buffer").Buffer)},{"./keyderivation":5,assert:20,buffer:105,randombytes:299,sjcl:345}],4:[function(e,t,r){(function(Buffer){var r=e("assert"),n=e("bip39");String.prototype.repeat||(String.prototype.repeat=function(e){"use strict";if(null===this)throw new TypeError("can't convert "+this+" to object");var t=""+this;if((e=+e)!=e&&(e=0),e<0)throw new RangeError("repeat count must be non-negative");if(e===1/0)throw new RangeError("repeat count must be less than infinity");if(e=Math.floor(e),0===t.length||0===e)return"";if(t.length*e>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");for(var r="";1==(1&e)&&(r+=t),0!==(e>>>=1);)t+=t;return r});var i={chunkSize:4,paddingDummy:129},o=function(e){if(e[0]>128)throw new Error("Mnemonic sanity check - first byte can never be above 0x80");return i.paddingDummy.toString(16).repeat(i.chunkSize-e.length%i.chunkSize)};i.encode=function(e){r(e instanceof Buffer,"Data must be provided as a Buffer");var t=o(e),i=n.entropyToMnemonic(t+e.toString("hex"));try{n.mnemonicToEntropy(i)}catch(e){throw new Error("BIP39 library produced an invalid mnemonic")}return i},i.decode=function(e){r("string"==typeof e,"Mnemonic must be provided as a string");for(var t=new Buffer(n.mnemonicToEntropy(e),"hex"),i=0;t[i]===this.paddingDummy;)i++;var s=t.slice(i,t.length);if(o(s)!==t.slice(0,i).toString("hex"))throw new Error("There is only one way to pad a string");return s},t.exports=i}).call(this,e("buffer").Buffer)},{assert:20,bip39:28,buffer:105}],5:[function(e,t,r){(function(Buffer){var r=e("assert"),n=e("./pbkdf2_sha512"),i={defaultIterations:35e3,subkeyIterations:1,keySizeBits:256};i.compute=function(e,t,i){if(i=i||this.defaultIterations,r(e instanceof Buffer,"Password must be provided as a Buffer"),r(t instanceof Buffer,"Salt must be provided as a Buffer"),r(t.length>0,"Salt must not be empty"),r("number"==typeof i,"Iterations must be a number"),r(i>0,"Iteration count should be at least 1"),t.length>128)throw new Error("Sanity check: Invalid salt, length can never be greater than 128");return n.digest(e,t,i,this.keySizeBits/8)},t.exports=i}).call(this,e("buffer").Buffer)},{"./pbkdf2_sha512":6,assert:20,buffer:105}],6:[function(e,t,r){(function(Buffer){t.exports={digest:function(e,t,r,n){var i="undefined"!=typeof window?window.asmCrypto:self.asmCrypto;return new Buffer(new i.PBKDF2_HMAC_SHA512.bytes(e,t,r,n).buffer)}}}).call(this,e("buffer").Buffer)},{buffer:105}],7:[function(e,t,r){t.exports={VERSION:"3.6.8"}},{}],8:[function(e,t,r){(function(r){function n(e){this.https=e.https,this.host=e.host,this.endpoint=e.endpoint,this.auth=e.auth,this.port=e.port,this.apiKey=e.apiKey,this.apiSecret=e.apiSecret,this.contentMd5=void 0===e.contentMd5||e.contentMd5,this.params=o.defaults({},e.params),this.headers=o.defaults({},e.headers)}var i=e("./blocktrail"),o=e("lodash"),s=e("url"),a=e("querystring"),c=e("q"),f=e("create-hash"),u=e("superagent"),h=e("superagent-http-signature/index-hmac-only"),l=e("debug")("blocktrail-sdk:request"),d=!r.browser;n.qs=function(e){var t=[],r=Object.keys(e);return r.sort(),r.forEach(function(r){var n={};n[r]=e[r],t.push(a.stringify(n))}),t.join("&")},n.prototype.request=function(e,t,r,i,a){this.deferred=c.defer(),this.callback=a||function(){};var u=s.parse(t,!0),h=n.qs(o.defaults({},r||{},u.query||{},this.params||{}));this.path="".concat(this.endpoint,u.pathname),h&&(this.path=this.path.concat("?",h)),i?(this.payload=JSON.stringify(i),this.headers["Content-Type"]="application/json"):this.payload="",d&&(this.headers["Content-Length"]=this.payload?this.payload.length:0),!0===this.contentMd5&&(this.headers["Content-MD5"]="GET"===e||"DELETE"===e?f("md5").update(this.path).digest().toString("hex"):f("md5").update(this.payload).digest().toString("hex")),l("%s %s %s",e,this.host,this.path);var p={hostname:this.host,path:this.path,port:this.port,method:e,headers:this.headers,auth:this.auth,agent:!1,withCredentials:!1};return this.performRequest(p),this.deferred.promise},n.prototype.performRequest=function(e){var t=this,r=e.method,i=!1;"http-signature"===e.auth&&(i=!0,delete e.auth);var s=(t.https?"https://":"http://")+e.hostname+e.path,a=u(r,s);if(!t.payload||"DELETE"!==r&&"POST"!==r&&"PUT"!==r&&"PATCH"!==r||a.send(t.payload),o.forEach(e.headers,function(e,t){a.set(t,e)}),i){if(!t.apiSecret){var c=new Error("Missing apiSecret! required to sign POST requests!");return t.deferred.reject(c),t.callback(c)}a.use(h({headers:["(request-target)","content-md5"],algorithm:"hmac-sha256",key:t.apiSecret,keyId:t.apiKey}))}return a.end(function(e,r){var i;if(e)return t.deferred.reject(e),t.callback(e);if(l("response status code: %s content type: %s",r.status,r.headers["content-type"]),!e&&r.headers["content-type"].indexOf("application/json")>=0)try{i=JSON.parse(r.text)}catch(t){e=t}return e||200===r.status||(e=n.handleFailure(r.text,r.statusCode)),e?t.deferred.reject(e):t.deferred.resolve(i),t.callback(e,i)}),t.deferred},n.handleFailure=function(e,t){var r,i;if("object"==typeof e)r=e;else try{r=JSON.parse(e)}catch(e){}return r?(i=new Error(r.msg?r.msg:null),Object.keys(r).forEach(function(e){"msg"!==e&&(i[e]=r[e])})):i=e?new Error(e):new Error("Unknown Server Error"),t&&(i.statusCode=t),n.convertError(i)},n.convertError=function(e){return e.requires_2fa?new i.WalletMissing2FAError:e.message.match(/Invalid two_factor_token/)?new i.WalletInvalid2FAError:e},t.exports=n}).call(this,e("_process"))},{"./blocktrail":2,_process:265,"create-hash":130,debug:213,lodash:251,q:295,querystring:298,superagent:351,"superagent-http-signature/index-hmac-only":348,url:357}],9:[function(e,t,r){var n=e("lodash"),i=e("./request"),o=function(t){this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.https=t.https,this.host=t.host,this.port=t.port,this.endpoint=t.endpoint,this.defaultParams={},this.apiKey&&(this.defaultParams.api_key=this.apiKey),this.defaultHeaders=n.defaults({},{"X-SDK-Version":"blocktrail-sdk-nodejs/"+e("./pkginfo").VERSION},t.defaultHeaders)};o.prototype.create_request=function(e){return e=n.defaults({},e,{https:this.https,host:this.host,port:this.port,endpoint:this.endpoint,apiKey:this.apiKey,apiSecret:this.apiSecret,params:n.defaults({},this.defaultParams),headers:n.defaults({},this.defaultHeaders)}),new i(e)},o.prototype.post=function(e,t,r,n,i){var o={};return(i=void 0===i||i)&&(o.auth="http-signature"),this.create_request(o).request("POST",e,t,r,n)},o.prototype.put=function(e,t,r,n,i){var o={};return(i=void 0===i||i)&&(o.auth="http-signature"),this.create_request(o).request("PUT",e,t,r,n)},o.prototype.get=function(e,t,r,n){"function"==typeof r&&(n=r,r=!1);var i={};return r&&(i.auth="http-signature"),this.create_request(i).request("GET",e,t,null,n)},o.prototype.delete=function(e,t,r,n,i){var o={};return(i=void 0===i||i)&&(o.auth="http-signature"),this.create_request(o).request("DELETE",e,t,r,n)},t.exports=function(e){return new o(e)}},{"./pkginfo":7,"./request":8,lodash:251}],10:[function(e,t,r){var n=e("../api_client"),i=e("lodash"),o=e("q"),s=e("async"),a=function(e){this.defaultSettings={apiKey:null,apiSecret:null,network:"BTC",testnet:!1,apiVersion:"v1",apiEndpoint:null,retryLimit:5,retryDelay:20,paginationLimit:200},this.settings=i.merge({},this.defaultSettings,e);var t=this.normaliseNetwork(this.settings.network,this.settings.testnet);this.settings.network=t.network,this.settings.testnet=t.testnet,this.client=new n(this.settings)};a.prototype.normaliseNetwork=function(e,t){switch(e.toLowerCase()){case"btc":case"bitcoin":return t?{network:"BTC",testnet:!0}:{network:"BTC",testnet:!1};case"tbtc":case"bitcoin-testnet":return{network:"BTC",testnet:!0};case"bcc":return t?{network:"BCC",testnet:!0}:{network:"BCC",testnet:!1};case"tbcc":return{network:"BCC",testnet:!0};default:throw new Error("Unknown network "+e)}},a.prototype.setPaginationLimit=function(e){this.settings.paginationLimit=e},a.prototype.estimateFee=function(){return this.client.feePerKB().then(function(e){return Math.max(e.optimal,e.min_relay_fee)})},a.prototype.getBatchUnspentOutputs=function(e){var t=this,r=o.defer(),n=1,i=[];return s.doWhilst(function(r){var o={page:n,limit:t.settings.paginationLimit};t.client.batchAddressUnspentOutputs(e,o).then(function(e){i=i.concat(e.data),n++,r()},function(e){console.log("error happened:",e),r(e)})},function(){return null},function(e){e&&console.log("complete, but with errors",e.message);var t={};i.forEach(function(e){var r=e.address;void 0===t[r]&&(t[r]=[]),t[r].push({hash:e.hash,index:e.index,value:e.value,script_hex:e.script_hex})}),r.resolve(t)}),r.promise},a.prototype.batchAddressHasTransactions=function(e){return this.client.batchAddressHasTransactions(e).then(function(e){return e.has_transactions})},t.exports=a},{"../api_client":1,async:21,lodash:251,q:295}],11:[function(e,t,r){var n=e("../blocktrail"),i=e("superagent"),o=e("lodash"),s=e("q"),a="https://insight.bitpay.com/api",c="https://test-insight.bitpay.com/api",f=function(e){this.defaultSettings={host:a,testnet:!1,retryLimit:5,retryDelay:20},void 0===e.host&&e.testnet&&(this.defaultSettings.host=c),this.settings=o.merge({},this.defaultSettings,e),this.DEFAULT_ENDPOINT_MAINNET=a,this.DEFAULT_ENDPOINT_TESTNET=c};f.prototype.getBatchUnspentOutputs=function(e){var t=s.defer(),r={addrs:e.join(",")};return this.postEndpoint("addrs/utxo",r).then(function(e){var r={};e.forEach(function(e){var t=e.address;void 0===r[t]&&(r[t]=[]),r[t].push({hash:e.txid,index:e.vout,value:n.toSatoshi(e.amount),script_hex:e.scriptPubKey})}),t.resolve(r)},function(e){t.reject(e)}),t.promise},f.prototype.batchAddressHasTransactions=function(e){var t={addrs:e.join(",")};return this.postEndpoint("addrs/txs",t).then(function(e){return e.items.length>0})},f.prototype.estimateFee=function(){return this.getEndpoint("utils/estimatefee?nbBlocks=4").then(function(e){return-1===e[4]?1e5:parseInt(1e8*e[4],10)})},f.prototype.sendTx=function(e){return this.postEndpoint("tx/send",{rawtx:e})},f.prototype.getEndpoint=function(e){return this.getRequest(this.settings.host+"/"+e)},f.prototype.postEndpoint=function(e,t){return this.postRequest(this.settings.host+"/"+e,t)},f.prototype.getRequest=function(e){var t=s.defer();return i.get(e).end(function(e,r){if(e)t.reject(e);else{if(!r.ok)return t.reject(r.text);if(!(r.headers["content-type"].indexOf("application/json")>=0))return t.resolve(r.body);try{var n=JSON.parse(r.text);return t.resolve(n)}catch(r){return t.reject(e)}}}),t.promise},f.prototype.postRequest=function(e,t){var r=s.defer();return i.post(e).send(t).set("Content-Type","application/json").end(function(e,t){if(e)r.reject(e);else{if(!t.ok)return r.reject(t.text);if(!(t.headers["content-type"].indexOf("application/json")>=0))return r.resolve(t.body);try{var n=JSON.parse(t.text);return r.resolve(n)}catch(t){return r.reject(e)}}}),r.promise},t.exports=f},{"../blocktrail":2,lodash:251,q:295,superagent:351}],12:[function(e,t,r){(function(Buffer){var r=e("assert"),n=e("bitcoinjs-lib"),i={SIZE_DER_SIGNATURE:72,SIZE_V0_P2WSH:36};i.getPublicKeySize=function(e){return e?33:65},i.getLengthForScriptPush=function(e){if(e<75)return 1;if(e<=255)return 2;if(e<=65535)return 3;if(e<=4294967295)return 5;throw new Error("Size of pushdata too large")},i.getLengthForVarInt=function(e){if(e<253)return 1;var t;if(e<65535)t=2;else if(e<4294967295)t=4;else{if(!(e<0x10000000000000000))throw new Error("Size of varint too large");t=8}return 1+t},i.estimateMultisigStackSize=function(e,t){var r,n=[0];for(r=0;r<e;r++)n.push(i.SIZE_DER_SIGNATURE);var o=1;for(r=0;r<t.length;r++)o+=this.getLengthForScriptPush(t[r].length)+t[r].length;return o+=2,[n,o]},i.estimateP2PKStackSize=function(e){return[[i.SIZE_DER_SIGNATURE],this.getLengthForScriptPush(e.length)+e.length+1]},i.estimateP2PKHStackSize=function(e){void 0===e&&(e=!0);return[[this.SIZE_DER_SIGNATURE,this.getPublicKeySize(e)],2+this.getLengthForScriptPush(20)+20+2]},i.estimateStackSignatureSize=function(e,t,n,i){r(null===i||t);var o=[],s=[];t?(s=e,i instanceof Buffer&&s.push(i.length)):o=e,n instanceof Buffer&&o.push(n.length);var a=this,c=0;o.map(function(e){c+=a.getLengthForScriptPush(e)+e}),c+=a.getLengthForVarInt(c);var f=0;return s.length>0&&(s.map(function(e){f+=a.getLengthForVarInt(e)+e}),f+=a.getLengthForVarInt(s.length)),[c,f]},i.estimateInputFromScripts=function(e,t,i,o,s){r(null===i||o);var a;if(n.script.multisig.output.check(e)){var c=n.script.multisig.output.decode(e);a=this.estimateMultisigStackSize(c.m,c.pubKeys)[0]}else if(n.script.pubKey.output.check(e)){var f=n.script.pubKey.output.decode(e);a=this.estimateP2PKStackSize(f)[0]}else{if(!n.script.pubKeyHash.output.check(e))throw new Error("Unsupported script type");a=this.estimateP2PKHStackSize(s)[0]}return this.estimateStackSignatureSize(a,o,t,i)},i.estimateUtxo=function(e,t){var r=Buffer.from(e.scriptpubkey_hex,"hex"),i="string"==typeof e.redeem_script?Buffer.from(e.redeem_script,"hex"):null,o="string"==typeof e.witness_script?Buffer.from(e.witness_script,"hex"):null,s=!1,a=r;if(n.script.scriptHash.output.check(a)){if(null===i)throw new Error("Cant estimate, missing redeem script");a=i}if(n.script.witnessPubKeyHash.output.check(a)){var c=n.script.witnessPubKeyHash.output.decode(a);a=n.script.pubKeyHash.output.encode(c),s=!0}else if(n.script.witnessScriptHash.output.check(a)){if(null===o)throw new Error("Can't estimate, missing witness script");a=o,s=!0}var f=n.script.types,u=[f.MULTISIG,f.P2PKH,f.P2PK],h=n.script.classifyOutput(a);if(-1===u.indexOf(h))throw new Error("Unsupported script type");var l=this.estimateInputFromScripts(a,i,o,s,t);return{scriptSig:l[0],witness:l[1]}},i.estimateInputsSize=function(e,t){var r=0,n=0;return e.map(function(e){var o=i.estimateUtxo(e);r+=40+o.scriptSig,t&&(n+=o.witness)}),t&&n>0&&(r+=2+n),r},i.calculateOutputsSize=function(e){var t=0;return e.map(function(e){var r=i.getLengthForVarInt(e.script.length);t+=8+r+e.script.length}),t},i.estimateTxWeight=function(e,t){var r=i.calculateOutputsSize(e.outs);return 3*(4+i.getLengthForVarInt(t.length)+this.estimateInputsSize(t,!1)+i.getLengthForVarInt(e.outs.length)+r+4)+(4+i.getLengthForVarInt(t.length)+this.estimateInputsSize(t,!0)+i.getLengthForVarInt(e.outs.length)+r+4)},i.estimateTxVsize=function(e,t){return parseInt(Math.ceil(i.estimateTxWeight(e,t)/4),10)},t.exports=i}).call(this,e("buffer").Buffer)},{assert:20,"bitcoinjs-lib":43,buffer:105}],13:[function(e,t,r){var n=e("lodash"),i=e("q"),o=e("async"),s=function(e,t){this.defaultSettings={logging:!1,batchChunkSize:200},this.settings=n.merge({},this.defaultSettings,t),this.client=e};s.prototype.getUTXOs=function(e){var t=this,r={},s=i.defer();return o.eachSeries(n.chunk(e,t.settings.batchChunkSize),function(e,i){t.settings.logging&&console.log("checking batch of "+e.length+" addresses for UTXOs",e.join(",")),t.client.getBatchUnspentOutputs(e).done(function(e){n.each(e,function(e,t){e.length>0&&(r[t]=e)}),i()},function(e){i(e)})},function(e){e&&console.log("error encountered",e),s.resolve(r)}),s.promise},t.exports=s},{async:21,lodash:251,q:295}],14:[function(e,t,r){(function(e){var n=!!e.browser&&"undefined"!=typeof window&&void 0!==window.Worker,i=("undefined"!=typeof navigator&&navigator.userAgent||"").match(/Android (\d)\.(\d)(\.(\d))/);i&&i[1]<=4&&(n=!1),t.exports=r=function(){return n}}).call(this,e("_process"))},{_process:265}],15:[function(e,t,r){(function(Buffer){function r(e,t){var r,n;try{r=f.address.fromBech32(e,t),n=null}catch(e){n=e}if(!n&&r.prefix!==t.bech32)throw new h.InvalidAddressError("Address invalid on this network");return[n,r]}function n(e,t){var r,n;try{r=f.address.fromCashAddress(e),n=null}catch(e){n=e}if(!n&&r.prefix!==t.cashAddrPrefix)throw new Error(e+" has an invalid prefix");return[n,r]}function i(e,t){var r,n;try{r=f.address.fromBase58Check(e),n=null}catch(e){n=e}if(!n&&r.version!==t.pubKeyHash&&r.version!==t.scriptHash)throw new h.InvalidAddressError("Address invalid on this network");return[n,r]}var o=e("lodash"),s=e("assert"),a=e("q"),c=e("async"),f=e("bitcoinjs-lib"),u=e("bitcoinjs-message"),h=e("./blocktrail"),l=e("crypto-js"),d=e("./encryption"),p=e("./encryption_mnemonic"),b=e("./size_estimation"),y=e("bip39"),v="sign",m=function(e,t,r,n,i,a,c,u,h,l,d,p,b,y,v,g){this.sdk=e,this.identifier=t,this.walletVersion=r,this.locked=!0,this.bypassNewAddressCheck=!!g,this.bitcoinCash=this.sdk.bitcoinCash,this.segwit=!!d,this.useNewCashAddr=!!v,s(!this.segwit||!this.bitcoinCash),this.testnet=p,this.bitcoinCash?this.testnet?this.network=f.networks.bitcoincashtestnet:this.network=f.networks.bitcoincash:this.testnet?this.network=f.networks.testnet:this.network=f.networks.bitcoin,s(u instanceof f.HDNode),s(o.every(c,function(e){return e instanceof f.HDNode})),s(o.every(h,function(e){return e instanceof f.HDNode})),this.primaryMnemonic=n,this.encryptedPrimarySeed=i,this.encryptedSecret=a,this.primaryPrivateKey=null,this.backupPrivateKey=null,this.backupPublicKey=u,this.blocktrailPublicKeys=h,this.primaryPublicKeys=c,this.keyIndex=l,this.bitcoinCash?(this.chain=m.CHAIN_BCC_DEFAULT,this.changeChain=m.CHAIN_BCC_DEFAULT):this.segwit?(this.chain=m.CHAIN_BTC_DEFAULT,this.changeChain=m.CHAIN_BTC_SEGWIT):(this.chain=m.CHAIN_BTC_DEFAULT,this.changeChain=m.CHAIN_BTC_DEFAULT),this.checksum=b,this.upgradeToKeyIndex=y,this.secret=null,this.seedHex=null};m.WALLET_VERSION_V1="v1",m.WALLET_VERSION_V2="v2",m.WALLET_VERSION_V3="v3",m.WALLET_ENTROPY_BITS=256,m.OP_RETURN="opreturn",m.DATA=m.OP_RETURN,m.PAY_PROGRESS_START=0,m.PAY_PROGRESS_COIN_SELECTION=10,m.PAY_PROGRESS_CHANGE_ADDRESS=20,m.PAY_PROGRESS_SIGN=30,m.PAY_PROGRESS_SEND=40,m.PAY_PROGRESS_DONE=100,m.CHAIN_BTC_DEFAULT=0,m.CHAIN_BTC_SEGWIT=2,m.CHAIN_BCC_DEFAULT=1,m.FEE_STRATEGY_FORCE_FEE=h.FEE_STRATEGY_FORCE_FEE,m.FEE_STRATEGY_BASE_FEE=h.FEE_STRATEGY_BASE_FEE,m.FEE_STRATEGY_HIGH_PRIORITY=h.FEE_STRATEGY_HIGH_PRIORITY,m.FEE_STRATEGY_OPTIMAL=h.FEE_STRATEGY_OPTIMAL,m.FEE_STRATEGY_LOW_PRIORITY=h.FEE_STRATEGY_LOW_PRIORITY,m.FEE_STRATEGY_MIN_RELAY_FEE=h.FEE_STRATEGY_MIN_RELAY_FEE,m.prototype.isSegwit=function(){return!!this.segwit},m.prototype.unlock=function(e,t){var r=this,n=a.defer();return n.promise.nodeify(t),e=o.merge({},e),a.fcall(function(){switch(r.walletVersion){case m.WALLET_VERSION_V1:return r.unlockV1(e);case m.WALLET_VERSION_V2:return r.unlockV2(e);case m.WALLET_VERSION_V3:return r.unlockV3(e);default:return a.reject(new h.WalletInitError("Invalid wallet version"))}}).then(function(e){r.primaryPrivateKey=e;var t=r.primaryPrivateKey.getAddress();if(t!==r.checksum)throw new h.WalletChecksumError("Generated checksum ["+t+"] does not match ["+r.checksum+"], most likely due to incorrect password");if(r.locked=!1,void 0!==r.upgradeToKeyIndex&&null!==r.upgradeToKeyIndex)return r.upgradeKeyIndex(r.upgradeToKeyIndex)}).then(function(e){n.resolve(e)},function(e){n.reject(e)}),n.promise},m.prototype.unlockV1=function(e){var t=this;return e.primaryMnemonic=void 0!==e.primaryMnemonic?e.primaryMnemonic:t.primaryMnemonic,e.secretMnemonic=void 0!==e.secretMnemonic?e.secretMnemonic:t.secretMnemonic,t.sdk.resolvePrimaryPrivateKeyFromOptions(e).then(function(e){return t.primarySeed=e.primarySeed,e.primaryPrivateKey})},m.prototype.unlockV2=function(e,t){var r=this,n=a.defer();return n.promise.nodeify(t),n.resolve(a.fcall(function(){if(e.encryptedPrimarySeed=void 0!==e.encryptedPrimarySeed?e.encryptedPrimarySeed:r.encryptedPrimarySeed,e.encryptedSecret=void 0!==e.encryptedSecret?e.encryptedSecret:r.encryptedSecret,e.secret&&(r.secret=e.secret),e.primaryPrivateKey)throw new h.WalletDecryptError("specifying primaryPrivateKey has been deprecated");if(e.primarySeed)r.primarySeed=e.primarySeed;else if(e.secret)try{if(r.primarySeed=new Buffer(l.AES.decrypt(l.format.OpenSSL.parse(e.encryptedPrimarySeed),r.secret).toString(l.enc.Utf8),"base64"),!r.primarySeed.length)throw new Error}catch(e){throw new h.WalletDecryptError("Failed to decrypt primarySeed")}else{if(e.passphrase&&e.password)throw new h.WalletCreateError("Can't specify passphrase and password");e.passphrase=e.passphrase||e.password;try{if(r.secret=l.AES.decrypt(l.format.OpenSSL.parse(e.encryptedSecret),e.passphrase).toString(l.enc.Utf8),!r.secret.length)throw new Error}catch(e){throw new h.WalletDecryptError("Failed to decrypt secret")}try{if(r.primarySeed=new Buffer(l.AES.decrypt(l.format.OpenSSL.parse(e.encryptedPrimarySeed),r.secret).toString(l.enc.Utf8),"base64"),!r.primarySeed.length)throw new Error}catch(e){throw new h.WalletDecryptError("Failed to decrypt primarySeed")}}return f.HDNode.fromSeedBuffer(r.primarySeed,r.network)})),n.promise},m.prototype.unlockV3=function(e,t){var r=this,n=a.defer();return n.promise.nodeify(t),n.resolve(a.fcall(function(){return a.when().then(function(){if(e.encryptedPrimarySeed=void 0!==e.encryptedPrimarySeed?e.encryptedPrimarySeed:r.encryptedPrimarySeed,e.encryptedSecret=void 0!==e.encryptedSecret?e.encryptedSecret:r.encryptedSecret,e.secret&&(r.secret=e.secret),e.primaryPrivateKey)throw new h.WalletInitError("specifying primaryPrivateKey has been deprecated");if(!e.primarySeed){if(e.secret)return r.sdk.promisedDecrypt(new Buffer(e.encryptedPrimarySeed,"base64"),r.secret).then(function(e){r.primarySeed=e},function(){throw new h.WalletDecryptError("Failed to decrypt primarySeed")});if(e.passphrase&&e.password)throw new h.WalletCreateError("Can't specify passphrase and password");return e.passphrase=e.passphrase||e.password,delete e.password,r.sdk.promisedDecrypt(new Buffer(e.encryptedSecret,"base64"),new Buffer(e.passphrase)).then(function(e){r.secret=e},function(){throw new h.WalletDecryptError("Failed to decrypt secret")}).then(function(){return r.sdk.promisedDecrypt(new Buffer(e.encryptedPrimarySeed,"base64"),r.secret).then(function(e){r.primarySeed=e},function(){throw new h.WalletDecryptError("Failed to decrypt primarySeed")})})}r.primarySeed=e.primarySeed}).then(function(){return f.HDNode.fromSeedBuffer(r.primarySeed,r.network)})})),n.promise},m.prototype.lock=function(){this.secret=null,this.primarySeed=null,this.primaryPrivateKey=null,this.backupPrivateKey=null,this.locked=!0},m.prototype.upgradeToV3=function(e,t){var r=this,n=a.defer();return n.promise.nodeify(t),a.when(!0).then(function(){if(r.locked)throw new h.WalletLockedError("Wallet needs to be unlocked to upgrade");if(r.walletVersion===m.WALLET_VERSION_V3)throw new h.WalletUpgradeError("Wallet is already V3");return r.walletVersion===m.WALLET_VERSION_V2?r._upgradeV2ToV3(e,n.notify.bind(n)):r.walletVersion===m.WALLET_VERSION_V1?r._upgradeV1ToV3(e,n.notify.bind(n)):void 0}).then(function(e){n.resolve(e)},function(e){n.reject(e)}),n.promise},m.prototype._upgradeV2ToV3=function(e,t){var r=this;return a.when(!0).then(function(){var n={storeDataOnServer:!0,passphrase:e,primarySeed:r.primarySeed,recoverySecret:!1};return r.sdk.produceEncryptedDataV3(n,t||function(){}).then(function(e){return r.sdk.updateWallet(r.identifier,{encrypted_primary_seed:e.encryptedPrimarySeed.toString("base64"),encrypted_secret:e.encryptedSecret.toString("base64"),wallet_version:m.WALLET_VERSION_V3}).then(function(){return r.secret=e.secret,r.encryptedPrimarySeed=e.encryptedPrimarySeed,r.encryptedSecret=e.encryptedSecret,r.walletVersion=m.WALLET_VERSION_V3,r})})})},m.prototype._upgradeV1ToV3=function(e,t){var r=this;return a.when(!0).then(function(){var n={storeDataOnServer:!0,passphrase:e,primarySeed:r.primarySeed};return r.sdk.produceEncryptedDataV3(n,t||function(){}).then(function(e){return r.recoveryEncryptedSecret=e.recoveryEncryptedSecret,r.sdk.updateWallet(r.identifier,{primary_mnemonic:"",encrypted_primary_seed:e.encryptedPrimarySeed.toString("base64"),encrypted_secret:e.encryptedSecret.toString("base64"),recovery_secret:e.recoverySecret.toString("hex"),wallet_version:m.WALLET_VERSION_V3}).then(function(){return r.secret=e.secret,r.encryptedPrimarySeed=e.encryptedPrimarySeed,r.encryptedSecret=e.encryptedSecret,r.walletVersion=m.WALLET_VERSION_V3,r})})})},m.prototype.doPasswordChange=function(e){var t=this;return a.when(null).then(function(){if(t.walletVersion===m.WALLET_VERSION_V1)throw new h.WalletLockedError("Wallet version does not support password change!");if(t.locked)throw new h.WalletLockedError("Wallet needs to be unlocked to change password");if(!t.secret)throw new h.WalletLockedError("No secret");var r,n;if(t.walletVersion===m.WALLET_VERSION_V2)r=l.AES.encrypt(t.secret,e).toString(l.format.OpenSSL),n=y.entropyToMnemonic(h.convert(r,"base64","hex"));else{if("string"==typeof e)e=new Buffer(e);else if(!(e instanceof Buffer))throw new Error("New password must be provided as a string or a Buffer");r=d.encrypt(t.secret,e),n=p.encode(r),r=r.toString("base64")}return[r,n]})},m.prototype.passwordChange=function(e,t){var r=this,n=a.defer();return n.promise.nodeify(t),a.fcall(function(){return r.doPasswordChange(e).then(function(e){var t=e[0],n=e[1];return r.sdk.updateWallet(r.identifier,{encrypted_secret:t}).then(function(){return r.encryptedSecret=t,{encryptedSecret:n}})}).then(function(e){n.resolve(e)},function(e){n.reject(e)})}),n.promise},m.prototype.getAddressByPath=function(e){return this.getWalletScriptByPath(e).address},m.prototype.getRedeemScriptByPath=function(e){return this.getWalletScriptByPath(e).redeemScript},m.prototype.getWalletScriptByPath=function(e){var t,r,n=this.getPrimaryPublicKey(e),i=this.getBlocktrailPublicKey(e),o=m.deriveByPath(this.backupPublicKey,e.replace("'",""),"M"),s=m.sortMultiSigKeys([n.keyPair.getPublicKeyBuffer(),o.keyPair.getPublicKeyBuffer(),i.keyPair.getPublicKeyBuffer()]),a=f.script.multisig.output.encode(2,s),c=parseInt(e.split("/")[2]);"bitcoincash"!==this.network&&c===m.CHAIN_BTC_SEGWIT?(t=a,r=f.script.witnessScriptHash.output.encode(f.crypto.sha256(t))):(t=null,r=a);var u=f.script.scriptHash.output.encode(f.crypto.hash160(r));return{witnessScript:t,redeemScript:r,scriptPubKey:u,address:f.address.fromOutputScript(u,this.network,this.useNewCashAddr)}},m.prototype.getPrimaryPublicKey=function(e){var t=(e=e.replace("m","M")).split("/")[1].replace("'","");if(!this.primaryPublicKeys[t]){if(!this.primaryPrivateKey)throw new h.KeyPathError("Wallet.getPrimaryPublicKey keyIndex ("+t+") is unknown to us");this.primaryPublicKeys[t]=m.deriveByPath(this.primaryPrivateKey,"M/"+t+"'","m")}var r=this.primaryPublicKeys[t];return m.deriveByPath(r,e,"M/"+t+"'")},m.prototype.getBlocktrailPublicKey=function(e){var t=(e=e.replace("m","M")).split("/")[1].replace("'","");if(!this.blocktrailPublicKeys[t])throw new h.KeyPathError("Wallet.getBlocktrailPublicKey keyIndex ("+t+") is unknown to us");var r=this.blocktrailPublicKeys[t];return m.deriveByPath(r,e,"M/"+t+"'")},m.prototype.upgradeKeyIndex=function(e,t){var r=this,n=a.defer();if(n.promise.nodeify(t),r.locked)return n.reject(new h.WalletLockedError("Wallet needs to be unlocked to upgrade key index")),n.promise;var i=r.primaryPrivateKey.deriveHardened(e).neutered();return n.resolve(r.sdk.upgradeKeyIndex(r.identifier,e,[i.toBase58(),"M/"+e+"'"]).then(function(t){return r.keyIndex=e,o.forEach(t.blocktrail_public_keys,function(e,t){r.blocktrailPublicKeys[t]=f.HDNode.fromBase58(e[0],r.network)}),r.primaryPublicKeys[e]=i,!0})),n.promise},m.prototype.getNewAddress=function(e,t){var r=this;"function"==typeof e&&(t=e,e=null);var n=a.defer();if(n.promise.spreadNodeify(t),e!==parseInt(e,10)){if(void 0!==e&&null!==e)return n.reject(new Error("Invalid chain index")),n.promise;e=r.chain}return n.resolve(r.sdk.getNewDerivation(r.identifier,"M/"+r.keyIndex+"'/"+e).then(function(e){var t,n=e.path,i=e.address;try{t=r.decodeAddress(i),"cashAddrPrefix"in r.network&&r.useNewCashAddr&&"base58"===t.type&&(r.bypassNewAddressCheck=!1)}catch(t){throw new h.WalletAddressError("Failed to decode address ["+e.address+"]")}if(!r.bypassNewAddressCheck){var o=r.getAddressByPath(e.path);if("cashAddrPrefix"in r.network&&r.useNewCashAddr&&"base58"===t.type){var s;try{s=r.decodeAddress(o)}catch(e){throw new h.WalletAddressError("Error while verifying address from server ["+e.message+"]")}if(s.decoded.hash.toString("hex")!==t.decoded.hash.toString("hex"))throw new h.WalletAddressError("Failed to verify legacy address [hash mismatch]");var a=s.decoded.version===f.script.types.P2PKH&&t.decoded.version===r.network.pubKeyHash,c=s.decoded.version===f.script.types.P2SH&&t.decoded.version===r.network.scriptHash;if(!a&&!c)throw new h.WalletAddressError("Failed to verify legacy address [prefix mismatch]");i=s.address}if(o!==i)throw new h.WalletAddressError("Failed to verify address ["+e.address+"] !== ["+i+"]")}return[i,n]})),n.promise},m.prototype.getBalance=function(e){var t=a.defer();return t.promise.spreadNodeify(e),t.resolve(this.sdk.getWalletBalance(this.identifier).then(function(e){return[e.confirmed,e.unconfirmed]})),t.promise},m.prototype.getInfo=function(e){var t=a.defer();return t.promise.spreadNodeify(e),t.resolve(this.sdk.getWalletBalance(this.identifier)),t.promise},m.prototype.doDiscovery=function(e,t){"function"==typeof e&&(t=e,e=null);var r=a.defer();return r.promise.spreadNodeify(t),r.resolve(this.sdk.doWalletDiscovery(this.identifier,e).then(function(e){return[e.confirmed,e.unconfirmed]})),r.promise},m.prototype.deleteWallet=function(e,t){"function"==typeof e&&(t=e,e=!1);var r=a.defer();if(r.promise.nodeify(t),this.locked)return r.reject(new h.WalletDeleteError("Wallet needs to be unlocked to delete wallet")),r.promise;var n=this.primaryPrivateKey.getAddress(),i=this.primaryPrivateKey.keyPair.d.toBuffer(32),o=u.sign(n,this.network.messagePrefix,i,!0).toString("base64");return r.resolve(this.sdk.deleteWallet(this.identifier,n,o,e).then(function(e){return e.deleted})),r.promise},m.prototype.pay=function(e,t,r,n,i,o,s,c){var f=this;"function"==typeof t?(c=t,t=null):"function"==typeof r?(c=r,r=!1):"function"==typeof n?(c=n,n=!0):"function"==typeof i?(c=i,i=null):"function"==typeof o?(c=o,o=null):"function"==typeof s&&(c=s,s={}),n=void 0===n||n,i=i||m.FEE_STRATEGY_OPTIMAL;var u=void 0===(s=s||{}).checkFee||s.checkFee,l=a.defer();return l.promise.nodeify(c),f.locked?(l.reject(new h.WalletLockedError("Wallet needs to be unlocked to send coins")),l.promise):(a.nextTick(function(){l.notify(m.PAY_PROGRESS_START),f.buildTransaction(e,t,r,n,i,s).then(function(e){return e},function(e){l.reject(e)},function(e){l.notify(e)}).spread(function(e,t){l.notify(m.PAY_PROGRESS_SEND);var r={signed_transaction:e.toHex(),base_transaction:e.__toBuffer(null,null,!1).toString("hex")};return f.sendTransaction(r,t.map(function(e){return e.path}),u,o,s.prioboost).then(function(e){if(l.notify(m.PAY_PROGRESS_DONE),e&&e.complete&&"false"!==e.complete)return e.txid;l.reject(new h.TransactionSignError("Failed to completely sign transaction"))})},function(e){throw e}).then(function(e){l.resolve(e)},function(e){l.reject(e)})}),l.promise)},m.prototype.decodeAddress=function(e){return m.getAddressAndType(e,this.network,this.useNewCashAddr)},m.getAddressAndType=function(e,t,o){function s(r,n){var i=r(e,t);null===i[0]?(a=i[1],c=n):u=i[0]}var a,c,u;if(t!==f.networks.bitcoin&&t!==f.networks.testnet||s(r,"bech32"),!a&&"cashAddrPrefix"in t&&o&&s(n,"cashaddr"),a||s(i,"base58"),a)return{address:e,decoded:a,type:c};throw new h.InvalidAddressError(u.message)},m.convertPayToOutputs=function(e,t,r){var n,i=[];if(Array.isArray(e))n=function(e,t,r){if("object"!=typeof t)throw new Error("Invalid transaction output for numerically indexed list [1]");var n=Object.keys(t);if(-1!==n.indexOf("scriptPubKey")&&-1!==n.indexOf("value"))r.scriptPubKey=t.scriptPubKey,r.value=t.value;else if(-1!==n.indexOf("address")&&-1!==n.indexOf("value"))r.address=t.address,r.value=t.value;else{if(2!==n.length||2!==t.length||"0"!==n[0]||"1"!==n[1])throw new Error("Invalid transaction output for numerically indexed list [2]");r.address=t[0],r.value=t[1]}};else{if("object"!=typeof e)throw new Error("Invalid input");n=function(e,t,r){if(r.address=e.trim(),r.value=t,r.address===m.OP_RETURN){var n=Buffer.isBuffer(t)?t:new Buffer(t,"utf-8");r.scriptPubKey=f.script.nullData.output.encode(n).toString("hex"),r.value=0,r.address=null}}}return Object.keys(e).forEach(function(o){var s={};if(n(o,e[o],s),parseInt(s.value,10).toString()!==s.value.toString())throw new h.WalletSendError("Values should be in Satoshis");if("string"==typeof s.address)try{var a=m.getAddressAndType(s.address,t,r);s.scriptPubKey=f.address.toOutputScript(a.address,t,r).toString("hex"),delete s.address}catch(e){throw new h.InvalidAddressError("Invalid address ["+s.address+"] ("+e.message+")")}if("6a"!==s.scriptPubKey.slice(0,2)){if(!(s.value=parseInt(s.value,10)))throw new h.WalletSendError("Values should be non zero");if(s.value<=h.DUST)throw new h.WalletSendError("Values should be more than dust ("+h.DUST+")")}s.value=parseInt(s.value,10),i.push(s)}),i},m.prototype.buildTransaction=function(e,t,r,n,i,s,u){var l=this;"function"==typeof t?(u=t,t=null):"function"==typeof r?(u=r,r=!1):"function"==typeof n?(u=n,n=!0):"function"==typeof i?(u=i,i=null):"function"==typeof s&&(u=s,s={}),n=void 0===n||n,i=i||m.FEE_STRATEGY_OPTIMAL,s=s||{};var d=a.defer();return d.promise.spreadNodeify(u),a.nextTick(function(){var u;try{u=m.convertPayToOutputs(e,l.network,l.useNewCashAddr)}catch(e){return d.reject(e),d.promise}if(!u.length)return d.reject(new h.WalletSendError("Need at least one recipient")),d.promise;d.notify(m.PAY_PROGRESS_COIN_SELECTION),d.resolve(l.coinSelection(u,!0,r,i,s).spread(function(e,r,s){var d,p,b=[],y=a.defer();return c.waterfall([function(t){var n=e.map(function(e){return e.value}).reduce(function(e,t){return e+t})-u.map(function(e){return e.value}).reduce(function(e,t){return e+t})-r;if(n>2*h.DUST&&n!==s)return t(new h.WalletFeeError("the amount of change ("+s+") suggested by the coin selection seems incorrect ("+n+")"));t()},function(e){p=new f.TransactionBuilder(l.network),l.bitcoinCash&&p.enableBitcoinCash(),e()},function(t){var r;for(r=0;r<e.length;r++)p.addInput(e[r].hash,e[r].idx);t()},function(e){u.forEach(function(e){if(!e.scriptPubKey)throw new Error("Invalid send");b.push({scriptPubKey:new Buffer(e.scriptPubKey,"hex"),value:e.value})}),e()},function(e){if(s>0)if(s<=h.DUST)s=0;else if(!t)return y.notify(m.PAY_PROGRESS_CHANGE_ADDRESS),l.getNewAddress(l.changeChain,function(r,n){if(r)return e(r);t=n,e()});e()},function(e){if(s>0){var r={scriptPubKey:f.address.toOutputScript(t,l.network,l.useNewCashAddr),value:s};n?b.splice(o.random(0,b.length),0,r):b.push(r)}e()},function(e){b.forEach(function(e){p.addOutput(e.scriptPubKey,e.value)}),e()},function(t){var r,n,i,o,s;for(y.notify(m.PAY_PROGRESS_SIGN),r=0;r<e.length;r++){var a=v;if(e[r].sign_mode&&(a=e[r].sign_mode),o=null,s=null,a===v){if(i=e[r].path.replace("M","m"),l.primaryPrivateKey)n=m.deriveByPath(l.primaryPrivateKey,i,"m").keyPair;else{if(!l.backupPrivateKey)throw new Error("No master privateKey present");n=m.deriveByPath(l.backupPrivateKey,i.replace(/^m\/(\d+)\'/,"m/$1"),"m").keyPair}o=new Buffer(e[r].redeem_script,"hex"),"string"==typeof e[r].witness_script&&(s=new Buffer(e[r].witness_script,"hex"));var c=f.Transaction.SIGHASH_ALL;l.bitcoinCash&&(c|=f.Transaction.SIGHASH_BITCOINCASHBIP143),p.sign(r,n,o,c,e[r].value,s)}}d=p.buildIncomplete(),t()},function(t){var n=m.estimateVsizeFee(d,e);if(l.sdk.feeSanityCheck)switch(i){case m.FEE_STRATEGY_BASE_FEE:if(Math.abs(n-r)>h.BASE_FEE)return t(new h.WalletFeeError("the fee suggested by the coin selection ("+r+") seems incorrect ("+n+") for FEE_STRATEGY_BASE_FEE"));break;case m.FEE_STRATEGY_HIGH_PRIORITY:case m.FEE_STRATEGY_OPTIMAL:case m.FEE_STRATEGY_LOW_PRIORITY:if(r>n*l.feeSanityCheckBaseFeeMultiplier)return t(new h.WalletFeeError("the fee suggested by the coin selection ("+r+") seems awefully high ("+n+") for FEE_STRATEGY_OPTIMAL"))}t()}],function(t){t?y.reject(new h.WalletSendError(t)):y.resolve([d,e])}),y.promise}))}),d.promise},m.prototype.coinSelection=function(e,t,r,n,i,o){"function"==typeof t?(o=t,t=!0):"function"==typeof r?(o=r,r=!1):"function"==typeof n?(o=n,n=null):"function"==typeof i&&(o=i,i={}),t=void 0===t||t,n=n||m.FEE_STRATEGY_OPTIMAL,i=i||{};var s;try{s=m.convertPayToOutputs(e,this.network,this.useNewCashAddr)}catch(e){var c=a.defer();return c.promise.nodeify(o),c.reject(e),c.promise}return this.sdk.coinSelection(this.identifier,s,t,r,n,i,o)},m.prototype.sendTransaction=function(e,t,r,n,i,o){"function"==typeof n?(o=n,n=null,i=!1):"function"==typeof i&&(o=n,i=!1);var s=a.defer();return s.promise.nodeify(o),this.sdk.sendTransaction(this.identifier,e,t,r,n,i).then(function(e){s.resolve(e)},function(e){e.requires_2fa?s.reject(new h.WalletMissing2FAError):e.message.match(/Invalid two_factor_token/)?s.reject(new h.WalletInvalid2FAError):s.reject(e)}),s.promise},m.prototype.setupWebhook=function(e,t,r){return"function"==typeof t&&(r=t,t=null),t=t||"WALLET-"+this.identifier,this.sdk.setupWalletWebhook(this.identifier,t,e,r)},m.prototype.deleteWebhook=function(e,t){return"function"==typeof e&&(t=e,e=null),e=e||"WALLET-"+this.identifier,this.sdk.deleteWalletWebhook(this.identifier,e,t)},m.prototype.transactions=function(e,t){return this.sdk.walletTransactions(this.identifier,e,t)},m.prototype.maxSpendable=function(e,t,r,n){return"function"==typeof e?(n=e,e=!1):"function"==typeof t?(n=t,t=null):"function"==typeof r&&(n=r,r={}),"object"==typeof e?(r=e,e=!1):"object"==typeof t&&(r=t,t=null),void 0!==(r=r||{}).allowZeroConf&&(e=r.allowZeroConf),void 0!==r.feeStrategy&&(t=r.feeStrategy),t=t||m.FEE_STRATEGY_OPTIMAL,this.sdk.walletMaxSpendable(this.identifier,e,t,r,n)},m.prototype.addresses=function(e,t){return this.sdk.walletAddresses(this.identifier,e,t)},m.prototype.labelAddress=function(e,t,r){return this.sdk.labelWalletAddress(this.identifier,e,t,r)},m.prototype.utxos=function(e,t){return this.sdk.walletUTXOs(this.identifier,e,t)},m.prototype.unspentOutputs=m.prototype.utxos,m.sortMultiSigKeys=function(e){return e.sort(function(e,t){return e.toString("hex").localeCompare(t.toString("hex"))}),e},m.estimateIncompleteTxFee=function(e,t){var r=m.estimateIncompleteTxSize(e),n=r/1e3,i=Math.ceil(r/1e3);return t?parseInt(n*t,10):parseInt(i*h.BASE_FEE,10)},m.estimateVsizeFee=function(e,t,r){var n=b.estimateTxVsize(e,t),i=n/1e3,o=Math.ceil(n/1e3);return r?parseInt(i*r,10):parseInt(o*h.BASE_FEE,10)},m.estimateIncompleteTxSize=function(e){var t=16;return t+=34*e.outs.length,e.ins.forEach(function(e){var r=e.script,n=f.script.classifyInput(r),i=[2,3];if(!i&&"scripthash"===n){var o=f.script.decompile(r),s=o.slice(-1)[0];if(r=f.script.compile(o.slice(0,-1)),n=f.script.classifyInput(r),f.script.classifyOutput(s)!==n)throw new h.TransactionInputError("Non-matching scriptSig and scriptPubKey in input");if("multisig"===n){var a=f.script.decompile(s),c=a[0];if(c===f.opcodes.OP_0||c<f.opcodes.OP_1||c>f.opcodes.OP_16)throw new h.TransactionInputError("Invalid multisig redeemScript");var u=a[s.chunks.length-2];if(c===f.opcodes.OP_0||c<f.opcodes.OP_1||c>f.opcodes.OP_16)throw new h.TransactionInputError("Invalid multisig redeemScript");var l=c-(f.opcodes.OP_1-1),d=u-(f.opcodes.OP_1-1);if(d<l)throw new h.TransactionInputError("Invalid multisig redeemScript");i=[l,d]}}t+=i?40+73*i[0]+107+4:147}),t},m.estimateFee=function(e,t){var r=16;r+=34*t,r+=297*e;return Math.ceil(r/1e3)*h.BASE_FEE},m.deriveByPath=function(e,t,r){if(r=r||(e.keyPair.d?"m":"M"),"m"!==t[0].toLowerCase()||"m"!==r[0].toLowerCase())throw new h.KeyPathError("Wallet.deriveByPath only works with absolute paths. ("+t+", "+r+")");if("m"===t[0]&&"M"===r[0])throw new h.KeyPathError("Wallet.deriveByPath can't derive private path from public parent. ("+t+", "+r+")");var n="M"===t[0]&&"m"===r[0];if(n&&(t[0]="m"),0!==t.toLowerCase().indexOf(r.toLowerCase()))throw new h.KeyPathError("Wallet.derivePath requires path ("+t+") to be a child of keyPath ("+r+")");var i=e;return(t=t.substr(r.length)).replace(/^\//,"").split("/").forEach(function(e){e&&(-1!==e.indexOf("'")&&(e=parseInt(e.replace("'",""),10)+f.HDNode.HIGHEST_BIT),i=i.derive(parseInt(e,10)))}),n?i.neutered():i},t.exports=m}).call(this,e("buffer").Buffer)},{"./blocktrail":2,"./encryption":3,"./encryption_mnemonic":4,"./size_estimation":12,assert:20,async:21,bip39:28,"bitcoinjs-lib":43,"bitcoinjs-message":72,buffer:105,"crypto-js":187,lodash:251,q:295}],16:[function(e,t,r){(function(Buffer){var r=e("./unspent_output_finder"),n=e("bitcoinjs-lib"),i=e("bip39"),o=e("crypto-js"),s=e("./blocktrail"),a=e("./encryption_mnemonic"),c=e("./encryption"),f=e("./wallet"),u=e("lodash"),h=e("q"),l=e("async"),d=function(e,t,f){var h=this;this.defaultSettings={network:"btc",testnet:!1,logging:!1,bitcoinCash:!1,sweepBatchSize:200},this.settings=u.merge({},this.defaultSettings,f),this.bitcoinDataClient=t,this.utxoFinder=new r(t,this.settings),this.sweepData=null,"object"==typeof f.network?this.network=f.network:this.network=this.getBitcoinNetwork(this.settings.network,this.settings.testnet),e.walletVersion=e.walletVersion||2;var l=!1;if(!Array.isArray(e.blocktrailKeys))throw new Error("blocktrail pub keys are required (must be type Array)");switch(e.walletVersion){case 1:if(void 0===e.primaryMnemonic||!e.primaryMnemonic)throw new Error("missing primary mnemonic for version 1 wallet");if(void 0===e.backupMnemonic||!e.backupMnemonic)throw new Error("missing backup mnemonic for version 1 wallet");if(void 0===e.primaryPassphrase)throw new Error("missing primary passphrase for version 1 wallet");e.primaryMnemonic=e.primaryMnemonic.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," "),e.backupMnemonic=e.backupMnemonic.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," ");break;case 2:case 3:if(void 0===e.encryptedPrimaryMnemonic||!e.encryptedPrimaryMnemonic)throw new Error("missing encrypted primary seed for version 2 wallet");if(void 0===e.backupMnemonic||!e.backupMnemonic&&!1!==e.backupMnemonic)throw new Error("missing backup seed for version 2 wallet");if(l=void 0!==e.password&&null!==e.password){if(void 0===e.passwordEncryptedSecretMnemonic||!e.passwordEncryptedSecretMnemonic)throw new Error("missing password encrypted secret for version 2 wallet");if(void 0===e.password)throw new Error("missing primary passphrase for version 2 wallet")}else{if(void 0===e.encryptedRecoverySecretMnemonic||!e.encryptedRecoverySecretMnemonic)throw new Error("missing encrypted recovery secret for version 2 wallet (recovery without password)");if(!e.recoverySecretDecryptionKey)throw new Error("missing recovery secret decryption key for version 2 wallet (recovery without password)")}e.encryptedPrimaryMnemonic=e.encryptedPrimaryMnemonic.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," "),e.backupMnemonic=(e.backupMnemonic||"").trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," "),e.recoverySecretDecryptionKey&&(e.recoverySecretDecryptionKey=e.recoverySecretDecryptionKey.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," ")),l?e.passwordEncryptedSecretMnemonic=e.passwordEncryptedSecretMnemonic.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," "):e.encryptedRecoverySecretMnemonic=e.encryptedRecoverySecretMnemonic.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," ");break;default:throw new Error("Wrong version ["+e.walletVersion+"]")}this.blocktrailPublicKeys={},u.each(e.blocktrailKeys,function(e){h.blocktrailPublicKeys[e.keyIndex]=n.HDNode.fromBase58(e.pubkey,h.network)});var d,p,b;switch(e.walletVersion){case 1:d=i.mnemonicToSeed(e.primaryMnemonic,e.primaryPassphrase),p=i.mnemonicToSeed(e.backupMnemonic,"");break;case 2:if(e.encryptedPrimaryMnemonic=s.convert(i.mnemonicToEntropy(e.encryptedPrimaryMnemonic),"hex","base64"),l?e.passwordEncryptedSecretMnemonic=s.convert(i.mnemonicToEntropy(e.passwordEncryptedSecretMnemonic),"hex","base64"):e.encryptedRecoverySecretMnemonic=s.convert(i.mnemonicToEntropy(e.encryptedRecoverySecretMnemonic),"hex","base64"),!(b=l?o.AES.decrypt(e.passwordEncryptedSecretMnemonic,e.password).toString(o.enc.Utf8):o.AES.decrypt(e.encryptedRecoverySecretMnemonic,e.recoverySecretDecryptionKey).toString(o.enc.Utf8)))throw new Error("Could not decrypt secret with "+(l?"password":"decryption key"));d=new Buffer(o.AES.decrypt(e.encryptedPrimaryMnemonic,b).toString(o.enc.Utf8),"base64"),e.backupMnemonic&&(p=new Buffer(i.mnemonicToEntropy(e.backupMnemonic),"hex"));break;case 3:if(e.encryptedPrimaryMnemonic=a.decode(e.encryptedPrimaryMnemonic),l?e.passwordEncryptedSecretMnemonic=a.decode(e.passwordEncryptedSecretMnemonic):e.encryptedRecoverySecretMnemonic=a.decode(e.encryptedRecoverySecretMnemonic),!(b=l?c.decrypt(e.passwordEncryptedSecretMnemonic,new Buffer(e.password)):c.decrypt(e.encryptedRecoverySecretMnemonic,new Buffer(e.recoverySecretDecryptionKey,"hex"))))throw new Error("Could not decrypt secret with "+(l?"password":"decryption key"));d=c.decrypt(e.encryptedPrimaryMnemonic,b),e.backupMnemonic&&(p=new Buffer(i.mnemonicToEntropy(e.backupMnemonic),"hex"));break;default:throw new Error("Wrong version ["+e.walletVersion+"]")}this.primaryPrivateKey=n.HDNode.fromSeedBuffer(d,this.network),p?(this.backupPrivateKey=n.HDNode.fromSeedBuffer(p,this.network),this.backupPublicKey=this.backupPrivateKey.neutered()):(this.backupPrivateKey=!1,this.backupPublicKey=n.HDNode.fromBase58(e.backupPublicKey,this.network)),this.settings.logging&&(console.log("using password method: "+l),console.log("Primary Prv Key: "+this.primaryPrivateKey.toBase58()),console.log("Primary Pub Key: "+this.primaryPrivateKey.neutered().toBase58()),console.log("Backup Prv Key: "+(this.backupPrivateKey?this.backupPrivateKey.toBase58():null)),console.log("Backup Pub Key: "+this.backupPublicKey.toBase58()))};d.prototype.getBitcoinNetwork=function(e,t){switch(e.toLowerCase()){case"btc":case"bitcoin":return t?n.networks.testnet:n.networks.bitcoin;case"tbtc":case"bitcoin-testnet":return n.networks.testnet;default:throw new Error("Unknown network "+e)}},d.prototype.getBlocktrailPublicKey=function(e){var t=(e=e.replace("m","M")).split("/")[1].replace("'","");if(!this.blocktrailPublicKeys[t])throw new Error("Wallet.getBlocktrailPublicKey keyIndex ("+t+") is unknown to us");return this.blocktrailPublicKeys[t]},d.prototype.createAddress=function(e){var t,r,i=(e=e.replace("m","M")).split("/")[1].replace("'",""),o=parseInt(e.split("/")[2]),s=f.deriveByPath(this.primaryPrivateKey,e,"m"),a=f.deriveByPath(this.backupPublicKey,e.replace("'",""),"M"),c=f.deriveByPath(this.getBlocktrailPublicKey(e),e,"M/"+i+"'"),u=f.sortMultiSigKeys([s.keyPair.getPublicKeyBuffer(),a.keyPair.getPublicKeyBuffer(),c.keyPair.getPublicKeyBuffer()]),h=n.script.multisig.output.encode(2,u);"bitcoincash"!==this.network&&o===f.CHAIN_BTC_SEGWIT?(r=h,t=n.script.witnessScriptHash.output.encode(n.crypto.sha256(r))):(r=null,t=h);var l=n.crypto.hash160(t),d=n.script.scriptHash.output.encode(l),p=this.network;void 0!==this.network&&(p=this.network);return{address:n.address.fromOutputScript(d,p).toString(),redeem:t,witness:r}},d.prototype.createBatchAddresses=function(e,t,r,n){var i=this,o={};return h.all(u.range(0,t).map(function(t){var s="M/"+r+"'/"+n+"/"+(e+t),a=i.createAddress(s);o[a.address]={redeem:a.redeem,witness:a.witness,path:s}})).then(function(){return o})},d.prototype.discoverWalletFunds=function(e,t){var r=this,n=0,i=0,o=0,s={};void 0===e&&(e=this.settings.sweepBatchSize);var a=h.defer();a.promise.nodeify(t);var c;return c="bitcoincash"===this.network?[0,1]:[0,1,2],l.nextTick(function(){l.eachSeries(Object.keys(r.blocktrailPublicKeys),function(t,f){l.eachSeries(c,function(c,f){var d=0,p=!1;l.doWhilst(function(f){r.settings.logging&&console.log("generating addresses "+d+" -> "+(d+e)+" using blocktrail key index: "+t+", chain: "+c),a.notify({message:"generating addresses "+d+" -> "+(d+e),increment:e,btPubKeyIndex:t,chain:c,totalAddresses:o,addressUTXOs:s,totalUTXOs:i,totalBalance:n}),l.nextTick(function(){r.createBatchAddresses(d,e,t,c).then(function(c){return o+=Object.keys(c).length,r.settings.logging&&console.log("starting fund discovery for "+e+" addresses..."),a.notify({message:"starting fund discovery for "+e+" addresses",increment:e,btPubKeyIndex:t,totalAddresses:o,addressUTXOs:s,totalUTXOs:i,totalBalance:n}),r.bitcoinDataClient.batchAddressHasTransactions(u.keys(c)).then(function(f){return p=f,r.settings.logging&&console.log("batch "+(p?"has":"does not have")+" transactions..."),h.when(p).then(function(f){if(f)return r.utxoFinder.getUTXOs(u.keys(c)).then(function(f){u.each(f,function(e,t){var o=null;void 0!==c[t].witness&&(o=c[t].witness),s[t]={path:c[t].path,redeem:c[t].redeem,witness:o,utxos:e},i+=e.length,n=u.reduce(e,function(e,t){return e+t.value},n),r.settings.logging&&console.log("found "+e.length+" unspent outputs for address: "+t)}),a.notify({message:"discovering funds",increment:e,btPubKeyIndex:t,totalAddresses:o,addressUTXOs:s,totalUTXOs:i,totalBalance:n})})})})}).then(function(){d+=e,l.nextTick(f)},function(e){f(e)})})},function(){return p},function(r){r&&(console.log("batch complete, but with errors",r.message),a.notify({message:"batch complete, but with errors: "+r.message,error:r,increment:e,btPubKeyIndex:t,totalAddresses:o,addressUTXOs:s,totalUTXOs:i,totalBalance:n})),l.nextTick(f)})},function(e){f(e)})},function(e){e&&r.settings.logging&&console.log("error encountered when discovering funds",e),r.settings.logging&&console.log("finished fund discovery: "+n+" Satoshi (in "+i+" outputs) found when searching "+o+" addresses"),r.sweepData={utxos:s,count:i,balance:n,addressesSearched:o},a.resolve(r.sweepData)})}),a.promise},d.prototype.sweepWallet=function(e,t){var r=this,n=h.defer();return n.promise.nodeify(t),r.settings.logging&&console.log("starting wallet sweeping to address "+e),h.when(!0).then(function(){if(!r.sweepData)return r.discoverWalletFunds().progress(function(e){n.notify(e)})}).then(function(){return r.bitcoinDataClient.estimateFee()}).then(function(t){return 0===r.sweepData.balance?(n.reject("No funds found after searching through "+r.sweepData.addressesSearched+" addresses"),n.promise):r.createTransaction(e,null,t,n)}).then(function(e){n.resolve(e)},function(e){n.reject(e)}),n.promise},d.prototype.createTransaction=function(e,t,r,i){this.settings.logging&&console.log("Creating transaction to address destinationAddress"),i&&i.notify({message:"creating raw transaction to "+e});var o=new n.TransactionBuilder(this.network);this.settings.bitcoinCash&&o.enableBitcoinCash();var a=[];if(u.each(this.sweepData.utxos,function(e,t){u.each(e.utxos,function(r){o.addInput(r.hash,r.index),a.push({txid:r.hash,vout:r.index,scriptPubKey:r.script_hex,value:r.value,address:t,path:e.path,redeemScript:e.redeem,witnessScript:e.witness})})}),!o)throw new Error("Failed to create raw transaction");var c=this.sweepData.balance,h=o.addOutput(e,c);if(void 0===t||null===t){i&&i.notify({message:"estimating transaction fee, based on "+s.toBTC(r)+" BTC/kb"});var l=a.map(function(e){return{txid:e.txid,vout:e.vout,address:e.vout,scriptpubkey_hex:e.vout,redeem_script:e.redeemScript,witness_script:e.witnessScript,path:e.path,value:e.value}});t=f.estimateVsizeFee(o.tx,l,r)}return o.tx.outs[h].value-=t,i&&i.notify({message:"signing transaction"}),this.signTransaction(o,a)},d.prototype.signTransaction=function(e,t){var r=this;this.settings.logging&&console.log("Signing transaction");var i=n.Transaction.SIGHASH_ALL;return this.settings.bitcoinCash&&(i|=n.Transaction.SIGHASH_BITCOINCASHBIP143),u.each(t,function(t,n){var o=f.deriveByPath(r.primaryPrivateKey,t.path.replace("M","m"),"m").keyPair;if(e.sign(n,o,t.redeemScript,i,t.value,t.witnessScript),r.backupPrivateKey){var s=f.deriveByPath(r.backupPrivateKey,t.path.replace("'","").replace("M","m"),"m").keyPair;e.sign(n,s,t.redeemScript,i,t.value,t.witnessScript)}}),r.backupPrivateKey?e.build().toHex():e.buildIncomplete().toHex()},t.exports=d}).call(this,e("buffer").Buffer)},{"./blocktrail":2,"./encryption":3,"./encryption_mnemonic":4,"./unspent_output_finder":13,"./wallet":15,async:21,bip39:28,"bitcoinjs-lib":43,buffer:105,"crypto-js":187,lodash:251,q:295}],17:[function(e,t,r){(function(Buffer){var r=e("bip39"),n=e("./encryption");t.exports=function(e){e.addEventListener("message",function(t){var i=t.data||{};switch(i.method){case"importScripts":importScripts(i.script);break;case"mnemonicToSeedHex":!function(){try{var n=i.mnemonic,o=i.passphrase;if(!r.validateMnemonic(n))throw t=new Error("Invalid passphrase"),t.id=i.id,t;var s=r.mnemonicToSeedHex(n,o);e.postMessage({id:i.id,seed:s,mnemonic:n})}catch(e){throw e.id=i.id,e}}();break;case"Encryption.encryptWithSaltAndIV":!function(){try{if(!(i.pt&&i.pw&&i.saltBuf&&i.iv&&i.iterations))throw new Error("Invalid input");var t=Buffer.from(i.pt.buffer),r=Buffer.from(i.pw.buffer),o=Buffer.from(i.saltBuf.buffer),s=Buffer.from(i.iv.buffer),a=i.iterations,c=n.encryptWithSaltAndIV(t,r,o,s,a);e.postMessage({id:i.id,cipherText:c})}catch(e){throw e.id=i.id,e}}();break;case"Encryption.decrypt":!function(){try{if(!i.ct||!i.pw)throw new Error("Invalid input");var t=Buffer.from(i.ct.buffer),r=Buffer.from(i.pw.buffer),o=n.decrypt(t,r);e.postMessage({id:i.id,plainText:o})}catch(e){throw e.id=i.id,e}}();break;default:throw t=new Error("Invalid method ["+t.method+"]"),t.id=i.id,t}},!1)}}).call(this,e("buffer").Buffer)},{"./encryption":3,bip39:28,buffer:105}],18:[function(e,t,r){var n=e("q"),i=e("webworkify");t.exports={workify:function(e,t,r,o){void 0===o&&void 0!==r&&(o=r,r=function(){});var s=n.defer();try{void 0===e.worker&&(e.worker=i(t()),e.first=!0,e.id=0,r(e.worker));var a=e.worker,c=e.id++,f=function(t){e.first&&(e.first=!1,URL.revokeObjectURL(a.objectURL)),t.data.id===c&&s.resolve(t.data)},u=function(e){s.reject(new Error(e.message.replace("Uncaught Error: ","")))},h=function(){a.removeEventListener("message",f),a.removeEventListener("error",u)};return a.addEventListener("message",f,!1),a.addEventListener("error",u,!1),o.id=c,a.postMessage(o),s.promise.then(function(e){return h(),e},function(e){throw h(),e})}catch(e){return s.reject(e),s.promise}}}},{q:295,webworkify:365}],19:[function(e,t,r){(function(Buffer){var n=e("./lib/api_client"),i=e("./lib/blocktrail");Object.keys(i).forEach(function(e){n[e]=i[e]}),n.q=e("q"),n.BlocktrailSDK=n,n.Wallet=e("./lib/wallet"),n.Request=e("./lib/request"),n.Encryption=e("./lib/encryption"),n.KeyDerivation=e("./lib/keyderivation"),n.EncryptionMnemonic=e("./lib/encryption_mnemonic"),n.useWebworker=e("./lib/use-webworker"),n.WalletSweeper=e("./lib/wallet_sweeper"),n.UnspentOutputFinder=e("./lib/unspent_output_finder"),n.BlocktrailBitcoinService=e("./lib/services/blocktrail_bitcoin_service"),n.InsightBitcoinService=e("./lib/services/insight_bitcoin_service"),n.randomBytes=e("randombytes"),n.lodash=e("lodash"),n.CryptoJS=e("crypto-js"),n.debug=e("debug"),n.bip39=e("bip39"),n.bip39wordlist=e("bip39/wordlists/en.json"),n.bitcoin=e("bitcoinjs-lib"),n.superagent=e("superagent"),n.Buffer=Buffer,n.VERSION=e("./lib/pkginfo").VERSION,r=t.exports=n}).call(this,e("buffer").Buffer)},{"./lib/api_client":1,"./lib/blocktrail":2,"./lib/encryption":3,"./lib/encryption_mnemonic":4,"./lib/keyderivation":5,"./lib/pkginfo":7,"./lib/request":8,"./lib/services/blocktrail_bitcoin_service":10,"./lib/services/insight_bitcoin_service":11,"./lib/unspent_output_finder":13,"./lib/use-webworker":14,"./lib/wallet":15,"./lib/wallet_sweeper":16,bip39:28,"bip39/wordlists/en.json":31,"bitcoinjs-lib":43,buffer:105,"crypto-js":187,debug:213,lodash:251,q:295,randombytes:299,superagent:351}],20:[function(e,t,r){(function(r){"use strict";function n(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0}function i(e){return r.Buffer&&"function"==typeof r.Buffer.isBuffer?r.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}function o(e){return Object.prototype.toString.call(e)}function s(e){return!i(e)&&("function"==typeof r.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}function a(e){if(v.isFunction(e)){if(w)return e.name;var t=e.toString().match(E);return t&&t[1]}}function c(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function f(e){if(w||!v.isFunction(e))return v.inspect(e);var t=a(e);return"[Function"+(t?": "+t:"")+"]"}function u(e,t,r,n,i){throw new _.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:i})}function h(e,t){e||u(e,!0,t,"==",_.ok)}function l(e,t,r,a){if(e===t)return!0;if(i(e)&&i(t))return 0===n(e,t);if(v.isDate(e)&&v.isDate(t))return e.getTime()===t.getTime();if(v.isRegExp(e)&&v.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(s(e)&&s(t)&&o(e)===o(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===n(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(i(e)!==i(t))return!1;var c=(a=a||{actual:[],expected:[]}).actual.indexOf(e);return-1!==c&&c===a.expected.indexOf(t)||(a.actual.push(e),a.expected.push(t),function(e,t,r,n){if(null===e||void 0===e||null===t||void 0===t)return!1;if(v.isPrimitive(e)||v.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=d(e),o=d(t);if(i&&!o||!i&&o)return!1;if(i)return e=g.call(e),t=g.call(t),l(e,t,r);var s,a,c=S(e),f=S(t);if(c.length!==f.length)return!1;for(c.sort(),f.sort(),a=c.length-1;a>=0;a--)if(c[a]!==f[a])return!1;for(a=c.length-1;a>=0;a--)if(s=c[a],!l(e[s],t[s],r,n))return!1;return!0}(e,t,r,a))}return r?e===t:e==t}function d(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function p(e,t,r){l(e,t,!0)&&u(e,t,r,"notDeepStrictEqual",p)}function b(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function y(e,t,r,n){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=function(e){var t;try{e()}catch(e){t=e}return t}(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&u(i,r,"Missing expected exception"+n);var o="string"==typeof n,s=!e&&v.isError(i),a=!e&&i&&!r;if((s&&o&&b(i,r)||a)&&u(i,r,"Got unwanted exception"+n),e&&i&&r&&!b(i,r)||!e&&i)throw i}var v=e("util/"),m=Object.prototype.hasOwnProperty,g=Array.prototype.slice,w="foo"===function(){}.name,_=t.exports=h,E=/\s*function\s+([^\(\s]*)\s*/;_.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return c(f(e.actual),128)+" "+e.operator+" "+c(f(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||u;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,i=a(t),o=n.indexOf("\n"+i);if(o>=0){var s=n.indexOf("\n",o+1);n=n.substring(s+1)}this.stack=n}}},v.inherits(_.AssertionError,Error),_.fail=u,_.ok=h,_.equal=function(e,t,r){e!=t&&u(e,t,r,"==",_.equal)},_.notEqual=function(e,t,r){e==t&&u(e,t,r,"!=",_.notEqual)},_.deepEqual=function(e,t,r){l(e,t,!1)||u(e,t,r,"deepEqual",_.deepEqual)},_.deepStrictEqual=function(e,t,r){l(e,t,!0)||u(e,t,r,"deepStrictEqual",_.deepStrictEqual)},_.notDeepEqual=function(e,t,r){l(e,t,!1)&&u(e,t,r,"notDeepEqual",_.notDeepEqual)},_.notDeepStrictEqual=p,_.strictEqual=function(e,t,r){e!==t&&u(e,t,r,"===",_.strictEqual)},_.notStrictEqual=function(e,t,r){e===t&&u(e,t,r,"!==",_.notStrictEqual)},_.throws=function(e,t,r){y(!0,e,t,r)},_.doesNotThrow=function(e,t,r){y(!1,e,t,r)},_.ifError=function(e){if(e)throw e};var S=Object.keys||function(e){var t=[];for(var r in e)m.call(e,r)&&t.push(r);return t}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"util/":362}],21:[function(e,t,r){(function(e){!function(){function r(e){var t=!1;return function(){if(t)throw new Error("Callback was already called.");t=!0,e.apply(n,arguments)}}var n,i,o={};null!=(n=this)&&(i=n.async),o.noConflict=function(){return n.async=i,o};var s=Object.prototype.toString,a=Array.isArray||function(e){return"[object Array]"===s.call(e)},c=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r+=1)t(e[r],r,e)},f=function(e,t){if(e.map)return e.map(t);var r=[];return c(e,function(e,n,i){r.push(t(e,n,i))}),r},u=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t};void 0!==e&&e.nextTick?(o.nextTick=e.nextTick,"undefined"!=typeof setImmediate?o.setImmediate=function(e){setImmediate(e)}:o.setImmediate=o.nextTick):"function"==typeof setImmediate?(o.nextTick=function(e){setImmediate(e)},o.setImmediate=o.nextTick):(o.nextTick=function(e){setTimeout(e,0)},o.setImmediate=o.nextTick),o.each=function(e,t,n){function i(t){t?(n(t),n=function(){}):(o+=1)>=e.length&&n()}if(n=n||function(){},!e.length)return n();var o=0;c(e,function(e){t(e,r(i))})},o.forEach=o.each,o.eachSeries=function(e,t,r){if(r=r||function(){},!e.length)return r();var n=0,i=function(){t(e[n],function(t){t?(r(t),r=function(){}):(n+=1)>=e.length?r():i()})};i()},o.forEachSeries=o.eachSeries,o.eachLimit=function(e,t,r,n){h(t).apply(null,[e,r,n])},o.forEachLimit=o.eachLimit;var h=function(e){return function(t,r,n){if(n=n||function(){},!t.length||e<=0)return n();var i=0,o=0,s=0;!function a(){if(i>=t.length)return n();for(;s<e&&o<t.length;)s+=1,r(t[(o+=1)-1],function(e){e?(n(e),n=function(){}):(s-=1,(i+=1)>=t.length?n():a())})}()}},l=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[o.each].concat(t))}},d=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[o.eachSeries].concat(t))}},p=function(e,t,r,n){if(t=f(t,function(e,t){return{index:t,value:e}}),n){var i=[];e(t,function(e,t){r(e.value,function(r,n){i[e.index]=n,t(r)})},function(e){n(e,i)})}else e(t,function(e,t){r(e.value,function(e){t(e)})})};o.map=l(p),o.mapSeries=d(p),o.mapLimit=function(e,t,r,n){return b(t)(e,r,n)};var b=function(e){return function(e,t){return function(){var r=Array.prototype.slice.call(arguments);return t.apply(null,[h(e)].concat(r))}}(e,p)};o.reduce=function(e,t,r,n){o.eachSeries(e,function(e,n){r(t,e,function(e,r){t=r,n(e)})},function(e){n(e,t)})},o.inject=o.reduce,o.foldl=o.reduce,o.reduceRight=function(e,t,r,n){var i=f(e,function(e){return e}).reverse();o.reduce(i,t,r,n)},o.foldr=o.reduceRight;var y=function(e,t,r,n){var i=[];e(t=f(t,function(e,t){return{index:t,value:e}}),function(e,t){r(e.value,function(r){r&&i.push(e),t()})},function(e){n(f(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};o.filter=l(y),o.filterSeries=d(y),o.select=o.filter,o.selectSeries=o.filterSeries;var v=function(e,t,r,n){var i=[];e(t=f(t,function(e,t){return{index:t,value:e}}),function(e,t){r(e.value,function(r){r||i.push(e),t()})},function(e){n(f(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};o.reject=l(v),o.rejectSeries=d(v);var m=function(e,t,r,n){e(t,function(e,t){r(e,function(r){r?(n(e),n=function(){}):t()})},function(e){n()})};o.detect=l(m),o.detectSeries=d(m),o.some=function(e,t,r){o.each(e,function(e,n){t(e,function(e){e&&(r(!0),r=function(){}),n()})},function(e){r(!1)})},o.any=o.some,o.every=function(e,t,r){o.each(e,function(e,n){t(e,function(e){e||(r(!1),r=function(){}),n()})},function(e){r(!0)})},o.all=o.every,o.sortBy=function(e,t,r){o.map(e,function(e,r){t(e,function(t,n){t?r(t):r(null,{value:e,criteria:n})})},function(e,t){if(e)return r(e);r(null,f(t.sort(function(e,t){var r=e.criteria,n=t.criteria;return r<n?-1:r>n?1:0}),function(e){return e.value}))})},o.auto=function(e,t){t=t||function(){};var r=u(e),n=r.length;if(!n)return t();var i={},s=[],f=function(e){s.unshift(e)},h=function(){n--,c(s.slice(0),function(e){e()})};f(function(){if(!n){var e=t;t=function(){},e(null,i)}}),c(r,function(r){var n=a(e[r])?e[r]:[e[r]],l=function(e){var n=Array.prototype.slice.call(arguments,1);if(n.length<=1&&(n=n[0]),e){var s={};c(u(i),function(e){s[e]=i[e]}),s[r]=n,t(e,s),t=function(){}}else i[r]=n,o.setImmediate(h)},d=n.slice(0,Math.abs(n.length-1))||[],p=function(){return function(e,t,r){return e.reduce?e.reduce(t,r):(c(e,function(e,n,i){r=t(r,e,n,i)}),r)}(d,function(e,t){return e&&i.hasOwnProperty(t)},!0)&&!i.hasOwnProperty(r)};if(p())n[n.length-1](l,i);else{var b=function(){p()&&(!function(e){for(var t=0;t<s.length;t+=1)if(s[t]===e)return void s.splice(t,1)}(b),n[n.length-1](l,i))};f(b)}})},o.retry=function(e,t,r){var n=[];"function"==typeof e&&(r=t,t=e,e=5),e=parseInt(e,10)||5;var i=function(i,s){for(var a=function(e,t){return function(r){e(function(e,n){r(!e||t,{err:e,result:n})},s)}};e;)n.push(a(t,!(e-=1)));o.series(n,function(e,t){t=t[t.length-1],(i||r)(t.err,t.result)})};return r?i():i},o.waterfall=function(e,t){if(t=t||function(){},!a(e)){var r=new Error("First argument to waterfall must be an array of functions");return t(r)}if(!e.length)return t();var n=function(e){return function(r){if(r)t.apply(null,arguments),t=function(){};else{var i=Array.prototype.slice.call(arguments,1),s=e.next();s?i.push(n(s)):i.push(t),o.setImmediate(function(){e.apply(null,i)})}}};n(o.iterator(e))()};var g=function(e,t,r){if(r=r||function(){},a(t))e.map(t,function(e,t){e&&e(function(e){var r=Array.prototype.slice.call(arguments,1);r.length<=1&&(r=r[0]),t.call(null,e,r)})},r);else{var n={};e.each(u(t),function(e,r){t[e](function(t){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),n[e]=i,r(t)})},function(e){r(e,n)})}};o.parallel=function(e,t){g({map:o.map,each:o.each},e,t)},o.parallelLimit=function(e,t,r){g({map:b(t),each:h(t)},e,r)},o.series=function(e,t){if(t=t||function(){},a(e))o.mapSeries(e,function(e,t){e&&e(function(e){var r=Array.prototype.slice.call(arguments,1);r.length<=1&&(r=r[0]),t.call(null,e,r)})},t);else{var r={};o.eachSeries(u(e),function(t,n){e[t](function(e){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),r[t]=i,n(e)})},function(e){t(e,r)})}},o.iterator=function(e){var t=function(r){var n=function(){return e.length&&e[r].apply(null,arguments),n.next()};return n.next=function(){return r<e.length-1?t(r+1):null},n};return t(0)},o.apply=function(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t.concat(Array.prototype.slice.call(arguments)))}};var w=function(e,t,r,n){var i=[];e(t,function(e,t){r(e,function(e,r){i=i.concat(r||[]),t(e)})},function(e){n(e,i)})};o.concat=l(w),o.concatSeries=d(w),o.whilst=function(e,t,r){e()?t(function(n){if(n)return r(n);o.whilst(e,t,r)}):r()},o.doWhilst=function(e,t,r){e(function(n){if(n)return r(n);var i=Array.prototype.slice.call(arguments,1);t.apply(null,i)?o.doWhilst(e,t,r):r()})},o.until=function(e,t,r){e()?r():t(function(n){if(n)return r(n);o.until(e,t,r)})},o.doUntil=function(e,t,r){e(function(n){if(n)return r(n);var i=Array.prototype.slice.call(arguments,1);t.apply(null,i)?r():o.doUntil(e,t,r)})},o.queue=function(e,t){function n(e,t,r,n){if(e.started||(e.started=!0),a(t)||(t=[t]),0==t.length)return o.setImmediate(function(){e.drain&&e.drain()});c(t,function(t){var i={data:t,callback:"function"==typeof n?n:null};r?e.tasks.unshift(i):e.tasks.push(i),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),o.setImmediate(e.process)})}void 0===t&&(t=1);var i=0,s={tasks:[],concurrency:t,saturated:null,empty:null,drain:null,started:!1,paused:!1,push:function(e,t){n(s,e,!1,t)},kill:function(){s.drain=null,s.tasks=[]},unshift:function(e,t){n(s,e,!0,t)},process:function(){if(!s.paused&&i<s.concurrency&&s.tasks.length){var t=s.tasks.shift();s.empty&&0===s.tasks.length&&s.empty(),i+=1;var n=r(function(){i-=1,t.callback&&t.callback.apply(t,arguments),s.drain&&s.tasks.length+i===0&&s.drain(),s.process()});e(t.data,n)}},length:function(){return s.tasks.length},running:function(){return i},idle:function(){return s.tasks.length+i===0},pause:function(){!0!==s.paused&&(s.paused=!0,s.process())},resume:function(){!1!==s.paused&&(s.paused=!1,s.process())}};return s},o.priorityQueue=function(e,t){function r(e,t){return e.priority-t.priority}var n=o.queue(e,t);return n.push=function(e,t,i){!function(e,t,n,i){if(e.started||(e.started=!0),a(t)||(t=[t]),0==t.length)return o.setImmediate(function(){e.drain&&e.drain()});c(t,function(t){var s={data:t,priority:n,callback:"function"==typeof i?i:null};e.tasks.splice(function(e,t,r){for(var n=-1,i=e.length-1;n<i;){var o=n+(i-n+1>>>1);r(t,e[o])>=0?n=o:i=o-1}return n}(e.tasks,s,r)+1,0,s),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),o.setImmediate(e.process)})}(n,e,t,i)},delete n.unshift,n},o.cargo=function(e,t){var r=!1,n=[],i={tasks:n,payload:t,saturated:null,empty:null,drain:null,drained:!0,push:function(e,r){a(e)||(e=[e]),c(e,function(e){n.push({data:e,callback:"function"==typeof r?r:null}),i.drained=!1,i.saturated&&n.length===t&&i.saturated()}),o.setImmediate(i.process)},process:function o(){if(!r){if(0===n.length)return i.drain&&!i.drained&&i.drain(),void(i.drained=!0);var s="number"==typeof t?n.splice(0,t):n.splice(0,n.length),a=f(s,function(e){return e.data});i.empty&&i.empty(),r=!0,e(a,function(){r=!1;var e=arguments;c(s,function(t){t.callback&&t.callback.apply(null,e)}),o()})}},length:function(){return n.length},running:function(){return r}};return i};var _=function(e){return function(t){var r=Array.prototype.slice.call(arguments,1);t.apply(null,r.concat([function(t){var r=Array.prototype.slice.call(arguments,1);"undefined"!=typeof console&&(t?console.error&&console.error(t):console[e]&&c(r,function(t){console[e](t)}))}]))}};o.log=_("log"),o.dir=_("dir"),o.memoize=function(e,t){var r={},n={};t=t||function(e){return e};var i=function(){var i=Array.prototype.slice.call(arguments),s=i.pop(),a=t.apply(null,i);a in r?o.nextTick(function(){s.apply(null,r[a])}):a in n?n[a].push(s):(n[a]=[s],e.apply(null,i.concat([function(){r[a]=arguments;var e=n[a];delete n[a];for(var t=0,i=e.length;t<i;t++)e[t].apply(null,arguments)}])))};return i.memo=r,i.unmemoized=e,i},o.unmemoize=function(e){return function(){return(e.unmemoized||e).apply(null,arguments)}},o.times=function(e,t,r){for(var n=[],i=0;i<e;i++)n.push(i);return o.map(n,t,r)},o.timesSeries=function(e,t,r){for(var n=[],i=0;i<e;i++)n.push(i);return o.mapSeries(n,t,r)},o.seq=function(){var e=arguments;return function(){var t=this,r=Array.prototype.slice.call(arguments),n=r.pop();o.reduce(e,r,function(e,r,n){r.apply(t,e.concat([function(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);n(e,t)}]))},function(e,r){n.apply(t,[e].concat(r))})}},o.compose=function(){return o.seq.apply(null,Array.prototype.reverse.call(arguments))};var E=function(e,t){var r=function(){var r=this,n=Array.prototype.slice.call(arguments),i=n.pop();return e(t,function(e,t){e.apply(r,n.concat([t]))},i)};if(arguments.length>2){var n=Array.prototype.slice.call(arguments,2);return r.apply(this,n)}return r};o.applyEach=l(E),o.applyEachSeries=d(E),o.forever=function(e,t){function r(n){if(n){if(t)return t(n);throw n}e(r)}r()},void 0!==t&&t.exports?t.exports=o:void 0!==define&&define.amd?define([],function(){return o}):n.async=o}()}).call(this,e("_process"))},{_process:265}],22:[function(e,t,r){var Buffer=e("safe-buffer").Buffer;t.exports=function(e){function t(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return Buffer.allocUnsafe(0);for(var t=[0],o=0;o<e.length;o++){var s=r[e[o]];if(void 0===s)return;for(var a=0,c=s;a<t.length;++a)c+=t[a]*n,t[a]=255&c,c>>=8;for(;c>0;)t.push(255&c),c>>=8}for(var f=0;e[f]===i&&f<e.length-1;++f)t.push(0);return Buffer.from(t.reverse())}for(var r={},n=e.length,i=e.charAt(0),o=0;o<e.length;o++){var s=e.charAt(o);if(void 0!==r[s])throw new TypeError(s+" is ambiguous");r[s]=o}return{encode:function(t){if(0===t.length)return"";for(var r=[0],o=0;o<t.length;++o){for(var s=0,a=t[o];s<r.length;++s)a+=r[s]<<8,r[s]=a%n,a=a/n|0;for(;a>0;)r.push(a%n),a=a/n|0}for(var c="",f=0;0===t[f]&&f<t.length-1;++f)c+=i;for(var u=r.length-1;u>=0;--u)c+=e[r[u]];return c},decodeUnsafe:t,decode:function(e){var r=t(e);if(r)return r;throw new Error("Non-base"+n+" character")}}}},{"safe-buffer":313}],23:[function(e,t,r){"use strict";function n(e){var t=e>>25;return(33554431&e)<<5^996825010&-(t>>0&1)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function i(e){for(var t=1,r=0;r<e.length;++r){var i=e.charCodeAt(r);if(i<33||i>126)throw new Error("Invalid prefix ("+e+")");t=n(t)^i>>5}t=n(t);for(var o=0;o<e.length;++o){var s=e.charCodeAt(o);t=n(t)^31&s}return t}function o(e,t,r,n){for(var i=0,o=0,s=(1<<r)-1,a=[],c=0;c<e.length;++c)for(i=i<<t|e[c],o+=t;o>=r;)o-=r,a.push(i>>o&s);if(n)o>0&&a.push(i<<r-o&s);else{if(o>=t)throw new Error("Excess padding");if(i<<r-o&s)throw new Error("Non-zero padding")}return a}for(var s="qpzry9x8gf2tvdw0s3jn54khce6mua7l",a={},c=0;c<s.length;c++){var f=s.charAt(c);if(void 0!==a[f])throw new TypeError(f+" is ambiguous");a[f]=c}t.exports={decode:function(e){if(e.length<8)throw new TypeError(e+" too short");if(e.length>90)throw new TypeError(e+" too long");var t=e.toLowerCase(),r=e.toUpperCase();if(e!==t&&e!==r)throw new Error("Mixed-case string "+e);var o=(e=t).lastIndexOf("1");if(0===o)throw new Error("Missing prefix for "+e);var s=e.slice(0,o),c=e.slice(o+1);if(c.length<6)throw new Error("Data too short");for(var f=i(s),u=[],h=0;h<c.length;++h){var l=c.charAt(h),d=a[l];if(void 0===d)throw new Error("Unknown character "+l);f=n(f)^d,h+6>=c.length||u.push(d)}if(1!==f)throw new Error("Invalid checksum for "+e);return{prefix:s,words:u}},encode:function(e,t){if(e.length+7+t.length>90)throw new TypeError("Exceeds Bech32 maximum length");for(var r=i(e=e.toLowerCase()),o=e+"1",a=0;a<t.length;++a){var c=t[a];if(c>>5!=0)throw new Error("Non 5-bit word");r=n(r)^c,o+=s.charAt(c)}for(var f=0;f<6;++f)r=n(r);r^=1;for(var u=0;u<6;++u){var h=r>>5*(5-u)&31;o+=s.charAt(h)}return o},toWords:function(e){return o(e,8,5,!0)},fromWords:function(e){return o(e,5,8,!1)}}},{}],24:[function(e,t,r){function BigInteger(e,t,r){if(!(this instanceof BigInteger))return new BigInteger(e,t,r);null!=e&&("number"==typeof e?this.fromNumber(e,t,r):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function n(e){return E.charAt(e)}function i(e,t){var r=S[e.charCodeAt(t)];return null==r?-1:r}function o(e){var t=new BigInteger;return t.fromInt(e),t}function s(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}function a(e){this.m=e}function c(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function f(e,t){return e&t}function u(e,t){return e|t}function h(e,t){return e^t}function l(e,t){return e&~t}function d(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function p(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function b(){}function y(e){return e}function v(e){this.r2=new BigInteger,this.q3=new BigInteger,BigInteger.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}var m=BigInteger.prototype;m.__bigi=e("../package.json").version,BigInteger.isBigInteger=function(e,t){return e&&e.__bigi&&(!t||e.__bigi===m.__bigi)};BigInteger.prototype.am=function(e,t,r,n,i,o){for(;--o>=0;){var s=t*this[e++]+r[n]+i;i=Math.floor(s/67108864),r[n++]=67108863&s}return i},BigInteger.prototype.DB=26,BigInteger.prototype.DM=67108863;var g=BigInteger.prototype.DV=1<<26;BigInteger.prototype.FV=Math.pow(2,52),BigInteger.prototype.F1=26,BigInteger.prototype.F2=0;var w,_,E="0123456789abcdefghijklmnopqrstuvwxyz",S=new Array;for(w="0".charCodeAt(0),_=0;_<=9;++_)S[w++]=_;for(w="a".charCodeAt(0),_=10;_<36;++_)S[w++]=_;for(w="A".charCodeAt(0),_=10;_<36;++_)S[w++]=_;a.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},a.prototype.revert=function(e){return e},a.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},a.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},a.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},c.prototype.convert=function(e){var t=new BigInteger;return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(BigInteger.ZERO)>0&&this.m.subTo(t,t),t},c.prototype.revert=function(e){var t=new BigInteger;return e.copyTo(t),this.reduce(t),t},c.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var r=32767&e[t],n=r*this.mpl+((r*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[r=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},c.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},c.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},m.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},m.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+g:this.t=0},m.fromString=function(e,t){var r;if(16==t)r=4;else if(8==t)r=3;else if(256==t)r=8;else if(2==t)r=1;else if(32==t)r=5;else{if(4!=t)return void this.fromRadix(e,t);r=2}this.t=0,this.s=0;for(var n=e.length,o=!1,s=0;--n>=0;){var a=8==r?255&e[n]:i(e,n);a<0?"-"==e.charAt(n)&&(o=!0):(o=!1,0==s?this[this.t++]=a:s+r>this.DB?(this[this.t-1]|=(a&(1<<this.DB-s)-1)<<s,this[this.t++]=a>>this.DB-s):this[this.t-1]|=a<<s,(s+=r)>=this.DB&&(s-=this.DB))}8==r&&0!=(128&e[0])&&(this.s=-1,s>0&&(this[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),o&&BigInteger.ZERO.subTo(this,this)},m.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},m.dlShiftTo=function(e,t){var r;for(r=this.t-1;r>=0;--r)t[r+e]=this[r];for(r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s},m.drShiftTo=function(e,t){for(var r=e;r<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s},m.lShiftTo=function(e,t){var r,n=e%this.DB,i=this.DB-n,o=(1<<i)-1,s=Math.floor(e/this.DB),a=this.s<<n&this.DM;for(r=this.t-1;r>=0;--r)t[r+s+1]=this[r]>>i|a,a=(this[r]&o)<<n;for(r=s-1;r>=0;--r)t[r]=0;t[s]=a,t.t=this.t+s+1,t.s=this.s,t.clamp()},m.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)t.t=0;else{var n=e%this.DB,i=this.DB-n,o=(1<<n)-1;t[0]=this[r]>>n;for(var s=r+1;s<this.t;++s)t[s-r-1]|=(this[s]&o)<<i,t[s-r]=this[s]>>n;n>0&&(t[this.t-r-1]|=(this.s&o)<<i),t.t=this.t-r,t.clamp()}},m.subTo=function(e,t){for(var r=0,n=0,i=Math.min(e.t,this.t);r<i;)n+=this[r]-e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n-=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n-=e[r],t[r++]=n&this.DM,n>>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:n>0&&(t[r++]=n),t.t=r,t.clamp()},m.multiplyTo=function(e,t){var r=this.abs(),n=e.abs(),i=r.t;for(t.t=i+n.t;--i>=0;)t[i]=0;for(i=0;i<n.t;++i)t[i+r.t]=r.am(0,n[i],t,i,0,r.t);t.s=0,t.clamp(),this.s!=e.s&&BigInteger.ZERO.subTo(t,t)},m.squareTo=function(e){for(var t=this.abs(),r=e.t=2*t.t;--r>=0;)e[r]=0;for(r=0;r<t.t-1;++r){var n=t.am(r,t[r],e,2*r,0,1);(e[r+t.t]+=t.am(r+1,2*t[r],e,2*r+1,n,t.t-r-1))>=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},m.divRemTo=function(e,t,r){var n=e.abs();if(!(n.t<=0)){var i=this.abs();if(i.t<n.t)return null!=t&&t.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=new BigInteger);var o=new BigInteger,a=this.s,c=e.s,f=this.DB-s(n[n.t-1]);f>0?(n.lShiftTo(f,o),i.lShiftTo(f,r)):(n.copyTo(o),i.copyTo(r));var u=o.t,h=o[u-1];if(0!=h){var l=h*(1<<this.F1)+(u>1?o[u-2]>>this.F2:0),d=this.FV/l,p=(1<<this.F1)/l,b=1<<this.F2,y=r.t,v=y-u,m=null==t?new BigInteger:t;for(o.dlShiftTo(v,m),r.compareTo(m)>=0&&(r[r.t++]=1,r.subTo(m,r)),BigInteger.ONE.dlShiftTo(u,m),m.subTo(o,o);o.t<u;)o[o.t++]=0;for(;--v>=0;){var g=r[--y]==h?this.DM:Math.floor(r[y]*d+(r[y-1]+b)*p);if((r[y]+=o.am(0,g,r,v,0,u))<g)for(o.dlShiftTo(v,m),r.subTo(m,r);r[y]<--g;)r.subTo(m,r)}null!=t&&(r.drShiftTo(u,t),a!=c&&BigInteger.ZERO.subTo(t,t)),r.t=u,r.clamp(),f>0&&r.rShiftTo(f,r),a<0&&BigInteger.ZERO.subTo(r,r)}}},m.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return t=t*(2-(15&e)*t)&15,t=t*(2-(255&e)*t)&255,t=t*(2-((65535&e)*t&65535))&65535,(t=t*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},m.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},m.exp=function(e,t){if(e>4294967295||e<1)return BigInteger.ONE;var r=new BigInteger,n=new BigInteger,i=t.convert(this),o=s(e)-1;for(i.copyTo(r);--o>=0;)if(t.sqrTo(r,n),(e&1<<o)>0)t.mulTo(n,i,r);else{var a=r;r=n,n=a}return t.revert(r)},m.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var r,i=(1<<t)-1,o=!1,s="",a=this.t,c=this.DB-a*this.DB%t;if(a-- >0)for(c<this.DB&&(r=this[a]>>c)>0&&(o=!0,s=n(r));a>=0;)c<t?(r=(this[a]&(1<<c)-1)<<t-c,r|=this[--a]>>(c+=this.DB-t)):(r=this[a]>>(c-=t)&i,c<=0&&(c+=this.DB,--a)),r>0&&(o=!0),o&&(s+=n(r));return o?s:"0"},m.negate=function(){var e=new BigInteger;return BigInteger.ZERO.subTo(this,e),e},m.abs=function(){return this.s<0?this.negate():this},m.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this[r]-e[r]))return t;return 0},m.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+s(this[this.t-1]^this.s&this.DM)},m.byteLength=function(){return this.bitLength()>>3},m.mod=function(e){var t=new BigInteger;return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(BigInteger.ZERO)>0&&e.subTo(t,t),t},m.modPowInt=function(e,t){var r;return r=e<256||t.isEven()?new a(t):new c(t),this.exp(e,r)},b.prototype.convert=y,b.prototype.revert=y,b.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r)},b.prototype.sqrTo=function(e,t){e.squareTo(t)},v.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=new BigInteger;return e.copyTo(t),this.reduce(t),t},v.prototype.revert=function(e){return e},v.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},v.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},v.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var k=[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],A=(1<<26)/k[k.length-1];m.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},m.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),r=Math.pow(e,t),n=o(r),i=new BigInteger,s=new BigInteger,a="";for(this.divRemTo(n,i,s);i.signum()>0;)a=(r+s.intValue()).toString(e).substr(1)+a,i.divRemTo(n,i,s);return s.intValue().toString(e)+a},m.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var r=this.chunkSize(t),n=Math.pow(t,r),o=!1,s=0,a=0,c=0;c<e.length;++c){var f=i(e,c);f<0?"-"==e.charAt(c)&&0==this.signum()&&(o=!0):(a=t*a+f,++s>=r&&(this.dMultiply(n),this.dAddOffset(a,0),s=0,a=0))}s>0&&(this.dMultiply(Math.pow(t,s)),this.dAddOffset(a,0)),o&&BigInteger.ZERO.subTo(this,this)},m.fromNumber=function(e,t,r){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(BigInteger.ONE.shiftLeft(e-1),u,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(BigInteger.ONE.shiftLeft(e-1),this);else{var n=new Array,i=7&e;n.length=1+(e>>3),t.nextBytes(n),i>0?n[0]&=(1<<i)-1:n[0]=0,this.fromString(n,256)}},m.bitwiseTo=function(e,t,r){var n,i,o=Math.min(e.t,this.t);for(n=0;n<o;++n)r[n]=t(this[n],e[n]);if(e.t<this.t){for(i=e.s&this.DM,n=o;n<this.t;++n)r[n]=t(this[n],i);r.t=this.t}else{for(i=this.s&this.DM,n=o;n<e.t;++n)r[n]=t(i,e[n]);r.t=e.t}r.s=t(this.s,e.s),r.clamp()},m.changeBit=function(e,t){var r=BigInteger.ONE.shiftLeft(e);return this.bitwiseTo(r,t,r),r},m.addTo=function(e,t){for(var r=0,n=0,i=Math.min(e.t,this.t);r<i;)n+=this[r]+e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n+=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n+=e[r],t[r++]=n&this.DM,n>>=this.DB;n+=e.s}t.s=n<0?-1:0,n>0?t[r++]=n:n<-1&&(t[r++]=this.DV+n),t.t=r,t.clamp()},m.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},m.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},m.multiplyLowerTo=function(e,t,r){var n=Math.min(this.t+e.t,t);for(r.s=0,r.t=n;n>0;)r[--n]=0;var i;for(i=r.t-this.t;n<i;++n)r[n+this.t]=this.am(0,e[n],r,n,0,this.t);for(i=Math.min(e.t,t);n<i;++n)this.am(0,e[n],r,n,0,t-n);r.clamp()},m.multiplyUpperTo=function(e,t,r){--t;var n=r.t=this.t+e.t-t;for(r.s=0;--n>=0;)r[n]=0;for(n=Math.max(t-this.t,0);n<e.t;++n)r[this.t+n-t]=this.am(t-n,e[n],r,0,0,this.t+n-t);r.clamp(),r.drShiftTo(1,r)},m.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,r=this.s<0?e-1:0;if(this.t>0)if(0==t)r=this[0]%e;else for(var n=this.t-1;n>=0;--n)r=(t*r+this[n])%e;return r},m.millerRabin=function(e){var t=this.subtract(BigInteger.ONE),r=t.getLowestSetBit();if(r<=0)return!1;var n=t.shiftRight(r);(e=e+1>>1)>k.length&&(e=k.length);for(var i=new BigInteger(null),o=[],s=0;s<e;++s){for(;c=k[Math.floor(Math.random()*k.length)],-1!=o.indexOf(c););o.push(c),i.fromInt(c);var a=i.modPow(n,this);if(0!=a.compareTo(BigInteger.ONE)&&0!=a.compareTo(t)){for(var c=1;c++<r&&0!=a.compareTo(t);)if(0==(a=a.modPowInt(2,this)).compareTo(BigInteger.ONE))return!1;if(0!=a.compareTo(t))return!1}}return!0},m.clone=function(){var e=new BigInteger;return this.copyTo(e),e},m.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]},m.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},m.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},m.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},m.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var r,n=this.DB-e*this.DB%8,i=0;if(e-- >0)for(n<this.DB&&(r=this[e]>>n)!=(this.s&this.DM)>>n&&(t[i++]=r|this.s<<this.DB-n);e>=0;)n<8?(r=(this[e]&(1<<n)-1)<<8-n,r|=this[--e]>>(n+=this.DB-8)):(r=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),0!=(128&r)&&(r|=-256),0===i&&(128&this.s)!=(128&r)&&++i,(i>0||r!=this.s)&&(t[i++]=r);return t},m.equals=function(e){return 0==this.compareTo(e)},m.min=function(e){return this.compareTo(e)<0?this:e},m.max=function(e){return this.compareTo(e)>0?this:e},m.and=function(e){var t=new BigInteger;return this.bitwiseTo(e,f,t),t},m.or=function(e){var t=new BigInteger;return this.bitwiseTo(e,u,t),t},m.xor=function(e){var t=new BigInteger;return this.bitwiseTo(e,h,t),t},m.andNot=function(e){var t=new BigInteger;return this.bitwiseTo(e,l,t),t},m.not=function(){for(var e=new BigInteger,t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},m.shiftLeft=function(e){var t=new BigInteger;return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},m.shiftRight=function(e){var t=new BigInteger;return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},m.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+d(this[e]);return this.s<0?this.t*this.DB:-1},m.bitCount=function(){for(var e=0,t=this.s&this.DM,r=0;r<this.t;++r)e+=p(this[r]^t);return e},m.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},m.setBit=function(e){return this.changeBit(e,u)},m.clearBit=function(e){return this.changeBit(e,l)},m.flipBit=function(e){return this.changeBit(e,h)},m.add=function(e){var t=new BigInteger;return this.addTo(e,t),t},m.subtract=function(e){var t=new BigInteger;return this.subTo(e,t),t},m.multiply=function(e){var t=new BigInteger;return this.multiplyTo(e,t),t},m.divide=function(e){var t=new BigInteger;return this.divRemTo(e,t,null),t},m.remainder=function(e){var t=new BigInteger;return this.divRemTo(e,null,t),t},m.divideAndRemainder=function(e){var t=new BigInteger,r=new BigInteger;return this.divRemTo(e,t,r),new Array(t,r)},m.modPow=function(e,t){var r,n,i=e.bitLength(),f=o(1);if(i<=0)return f;r=i<18?1:i<48?3:i<144?4:i<768?5:6,n=i<8?new a(t):t.isEven()?new v(t):new c(t);var u=new Array,h=3,l=r-1,d=(1<<r)-1;if(u[1]=n.convert(this),r>1){var p=new BigInteger;for(n.sqrTo(u[1],p);h<=d;)u[h]=new BigInteger,n.mulTo(p,u[h-2],u[h]),h+=2}var b,y,m=e.t-1,g=!0,w=new BigInteger;for(i=s(e[m])-1;m>=0;){for(i>=l?b=e[m]>>i-l&d:(b=(e[m]&(1<<i+1)-1)<<l-i,m>0&&(b|=e[m-1]>>this.DB+i-l)),h=r;0==(1&b);)b>>=1,--h;if((i-=h)<0&&(i+=this.DB,--m),g)u[b].copyTo(f),g=!1;else{for(;h>1;)n.sqrTo(f,w),n.sqrTo(w,f),h-=2;h>0?n.sqrTo(f,w):(y=f,f=w,w=y),n.mulTo(w,u[b],f)}for(;m>=0&&0==(e[m]&1<<i);)n.sqrTo(f,w),y=f,f=w,w=y,--i<0&&(i=this.DB-1,--m)}return n.revert(f)},m.modInverse=function(e){var t=e.isEven();if(0===this.signum())throw new Error("division by zero");if(this.isEven()&&t||0==e.signum())return BigInteger.ZERO;for(var r=e.clone(),n=this.clone(),i=o(1),s=o(0),a=o(0),c=o(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),t?(i.isEven()&&s.isEven()||(i.addTo(this,i),s.subTo(e,s)),i.rShiftTo(1,i)):s.isEven()||s.subTo(e,s),s.rShiftTo(1,s);for(;n.isEven();)n.rShiftTo(1,n),t?(a.isEven()&&c.isEven()||(a.addTo(this,a),c.subTo(e,c)),a.rShiftTo(1,a)):c.isEven()||c.subTo(e,c),c.rShiftTo(1,c);r.compareTo(n)>=0?(r.subTo(n,r),t&&i.subTo(a,i),s.subTo(c,s)):(n.subTo(r,n),t&&a.subTo(i,a),c.subTo(s,c))}if(0!=n.compareTo(BigInteger.ONE))return BigInteger.ZERO;for(;c.compareTo(e)>=0;)c.subTo(e,c);for(;c.signum()<0;)c.addTo(e,c);return c},m.pow=function(e){return this.exp(e,new b)},m.gcd=function(e){var t=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone();if(t.compareTo(r)<0){var n=t;t=r,r=n}var i=t.getLowestSetBit(),o=r.getLowestSetBit();if(o<0)return t;for(i<o&&(o=i),o>0&&(t.rShiftTo(o,t),r.rShiftTo(o,r));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=r.getLowestSetBit())>0&&r.rShiftTo(i,r),t.compareTo(r)>=0?(t.subTo(r,t),t.rShiftTo(1,t)):(r.subTo(t,r),r.rShiftTo(1,r));return o>0&&r.lShiftTo(o,r),r},m.isProbablePrime=function(e){var t,r=this.abs();if(1==r.t&&r[0]<=k[k.length-1]){for(t=0;t<k.length;++t)if(r[0]==k[t])return!0;return!1}if(r.isEven())return!1;for(t=1;t<k.length;){for(var n=k[t],i=t+1;i<k.length&&n<A;)n*=k[i++];for(n=r.modInt(n);t<i;)if(n%k[t++]==0)return!1}return r.millerRabin(e)},m.square=function(){var e=new BigInteger;return this.squareTo(e),e},BigInteger.ZERO=o(0),BigInteger.ONE=o(1),BigInteger.valueOf=o,t.exports=BigInteger},{"../package.json":27}],25:[function(e,t,r){(function(Buffer){var t=e("assert"),BigInteger=e("./bigi");BigInteger.fromByteArrayUnsigned=function(e){return new BigInteger(128&e[0]?[0].concat(e):e)},BigInteger.prototype.toByteArrayUnsigned=function(){var e=this.toByteArray();return 0===e[0]?e.slice(1):e},BigInteger.fromDERInteger=function(e){return new BigInteger(e)},BigInteger.prototype.toDERInteger=BigInteger.prototype.toByteArray,BigInteger.fromBuffer=function(e){if(128&e[0]){var t=Array.prototype.slice.call(e);return new BigInteger([0].concat(t))}return new BigInteger(e)},BigInteger.fromHex=function(e){return""===e?BigInteger.ZERO:(t.equal(e,e.match(/^[A-Fa-f0-9]+/),"Invalid hex string"),t.equal(e.length%2,0,"Incomplete hex"),new BigInteger(e,16))},BigInteger.prototype.toBuffer=function(e){for(var t=this.toByteArrayUnsigned(),r=[],n=e-t.length;r.length<n;)r.push(0);return new Buffer(r.concat(t))},BigInteger.prototype.toHex=function(e){return this.toBuffer(e).toString("hex")}}).call(this,e("buffer").Buffer)},{"./bigi":24,assert:20,buffer:105}],26:[function(e,t,r){var BigInteger=e("./bigi");e("./convert"),t.exports=BigInteger},{"./bigi":24,"./convert":25}],27:[function(e,t,r){t.exports={_args:[[{raw:"bigi@^1.4.0",scope:null,escapedName:"bigi",name:"bigi",rawSpec:"^1.4.0",spec:">=1.4.0 <2.0.0",type:"range"},"/work/blocktrail-sdk-nodejs/node_modules/bitcoinjs-lib"]],_from:"bigi@>=1.4.0 <2.0.0",_id:"[email protected]",_inCache:!0,_location:"/bigi",_nodeVersion:"6.1.0",_npmOperationalInternal:{host:"packages-12-west.internal.npmjs.com",tmp:"tmp/bigi-1.4.2.tgz_1469584192413_0.6801238611806184"},_npmUser:{name:"jprichardson",email:"[email protected]"},_npmVersion:"3.8.6",_phantomChildren:{},_requested:{raw:"bigi@^1.4.0",scope:null,escapedName:"bigi",name:"bigi",rawSpec:"^1.4.0",spec:">=1.4.0 <2.0.0",type:"range"},_requiredBy:["/bitcoinjs-lib","/ecurve"],_resolved:"https://registry.npmjs.org/bigi/-/bigi-1.4.2.tgz",_shasum:"9c665a95f88b8b08fc05cfd731f561859d725825",_shrinkwrap:null,_spec:"bigi@^1.4.0",_where:"/work/blocktrail-sdk-nodejs/node_modules/bitcoinjs-lib",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"},directories:{},dist:{shasum:"9c665a95f88b8b08fc05cfd731f561859d725825",tarball:"https://registry.npmjs.org/bigi/-/bigi-1.4.2.tgz"},gitHead:"c25308081c896ff84702303722bf5ecd8b3f78e3",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",maintainers:[{name:"midnightlightning",email:"[email protected]"},{name:"sidazhang",email:"[email protected]"},{name:"nadav",email:"[email protected]"},{name:"jprichardson",email:"[email protected]"}],name:"bigi",optionalDependencies:{},readme:"ERROR: No README data found!",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"}},{}],28:[function(e,t,r){(function(Buffer){var r=e("./lib/index"),n=e("./sjcl");e("assert")("function"==typeof n.hash.sha512);var i=function(e){var t=new n.misc.hmac(e,n.hash.sha512);this.encrypt=function(){return t.encrypt.apply(t,arguments)}};r.setPbkdf2(function(e,t,r,o,s){var a;switch(s){case"sha512":a=i;break;default:throw new Error("Digest ["+s+"] not implemented")}var c=n.misc.pbkdf2(n.codec.utf8String.toBits(e),n.codec.utf8String.toBits(t),r,8*o,a);return new Buffer(n.codec.hex.fromBits(c),"hex")}),t.exports={salt:r.salt,mnemonicToSeed:r.mnemonicToSeed,mnemonicToSeedHex:r.mnemonicToSeedHex,mnemonicToEntropy:r.mnemonicToEntropy,entropyToMnemonic:r.entropyToMnemonic,generateMnemonic:r.generateMnemonic,validateMnemonic:r.validateMnemonic}}).call(this,e("buffer").Buffer)},{"./lib/index":29,"./sjcl":30,assert:20,buffer:105}],29:[function(e,t,r){(function(Buffer){function r(e,t){return f(e,s(t),2048,64,"sha512")}function n(e,t){t=t||p;var r=e.split(" ");u(r.length%3==0,"Invalid mnemonic");var n=r.every(function(e){return t.indexOf(e)>-1});u(n,"Invalid mnemonic");var i=r.map(function(e){return c(t.indexOf(e).toString(2),"0",11)}).join(""),s=32*Math.floor(i.length/33),a=i.slice(0,s),f=i.slice(s),h=a.match(/(.{1,8})/g).map(function(e){return parseInt(e,2)}),l=new Buffer(h),d=o(l);return u(d===f,"Invalid mnemonic checksum"),l.toString("hex")}function i(e,t){t=t||p;var r=new Buffer(e,"hex");return(a([].slice.call(r))+o(r)).match(/(.{1,11})/g).map(function(e){var r=parseInt(e,2);return t[r]}).join(" ")}function o(e){var t=h("sha256").update(e).digest(),r=8*e.length/32;return a([].slice.call(t)).slice(0,r)}function s(e){return"mnemonic"+(d.nfkd(e)||"")}function a(e){return e.map(function(e){return c(e.toString(2),"0",8)}).join("")}function c(e,t,r){for(;e.length<r;)e=t+e;return e}var f,u=e("assert"),h=e("create-hash"),l=e("randombytes"),d=e("unorm"),p=e("../wordlists/en.json");t.exports={setPbkdf2:function(e){f=e},salt:s,mnemonicToSeed:r,mnemonicToSeedHex:function(e,t){return r(e,t).toString("hex")},mnemonicToEntropy:n,entropyToMnemonic:i,generateMnemonic:function(e,t,r){return e=e||128,i((t=t||l)(e/8).toString("hex"),r)},validateMnemonic:function(e,t){try{n(e,t)}catch(e){return!1}return!0}}}).call(this,e("buffer").Buffer)},{"../wordlists/en.json":31,assert:20,buffer:105,"create-hash":130,randombytes:299,unorm:356}],30:[function(e,t,r){"use strict";function n(e){throw e}function i(e,t,r){4!==t.length&&n(new h.exception.invalid("invalid aes block size"));var i=e.b[r],o=t[0]^i[0],s=t[r?3:1]^i[1],a=t[2]^i[2];t=t[r?1:3]^i[3];var c,f,u,l,d=i.length/4-2,p=4,b=[0,0,0,0];e=(c=e.o[r])[0];var y=c[1],v=c[2],m=c[3],g=c[4];for(l=0;l<d;l++)c=e[o>>>24]^y[s>>16&255]^v[a>>8&255]^m[255&t]^i[p],f=e[s>>>24]^y[a>>16&255]^v[t>>8&255]^m[255&o]^i[p+1],u=e[a>>>24]^y[t>>16&255]^v[o>>8&255]^m[255&s]^i[p+2],t=e[t>>>24]^y[o>>16&255]^v[s>>8&255]^m[255&a]^i[p+3],p+=4,o=c,s=f,a=u;for(l=0;4>l;l++)b[r?3&-l:l]=g[o>>>24]<<24^g[s>>16&255]<<16^g[a>>8&255]<<8^g[255&t]^i[p++],c=o,o=s,s=a,a=t,t=c;return b}function o(e,t){var r,n=h.random.D[e],i=[];for(r in n)n.hasOwnProperty(r)&&i.push(n[r]);for(r=0;r<i.length;r++)i[r](t)}function s(e){"undefined"!=typeof window&&window.performance&&"function"==typeof window.performance.now?h.random.addEntropy(window.performance.now(),e,"loadtime"):h.random.addEntropy((new Date).valueOf(),e,"loadtime")}function a(e){e.b=c(e).concat(c(e)),e.F=new h.cipher.aes(e.b)}function c(e){for(var t=0;4>t&&(e.i[t]=e.i[t]+1|0,!e.i[t]);t++);return e.F.encrypt(e.i)}function f(e,t){return function(){t.apply(e,arguments)}}var u=void 0,h={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(e){this.toString=function(){return"CORRUPT: "+this.message},this.message=e},invalid:function(e){this.toString=function(){return"INVALID: "+this.message},this.message=e},bug:function(e){this.toString=function(){return"BUG: "+this.message},this.message=e},notReady:function(e){this.toString=function(){return"NOT READY: "+this.message},this.message=e}}};void 0!==t&&t.exports&&(t.exports=h),"function"==typeof define&&define([],function(){return h}),h.cipher.aes=function(e){this.o[0][0][0]||this.t();var t,r,i,o,s=this.o[0][4],a=this.o[1],c=1;for(4!==(t=e.length)&&6!==t&&8!==t&&n(new h.exception.invalid("invalid aes key size")),this.b=[i=e.slice(0),o=[]],e=t;e<4*t+28;e++)r=i[e-1],(0==e%t||8===t&&4==e%t)&&(r=s[r>>>24]<<24^s[r>>16&255]<<16^s[r>>8&255]<<8^s[255&r],0==e%t&&(r=r<<8^r>>>24^c<<24,c=c<<1^283*(c>>7))),i[e]=i[e-t]^r;for(t=0;e;t++,e--)r=i[3&t?e:e-4],o[t]=4>=e||4>t?r:a[0][s[r>>>24]]^a[1][s[r>>16&255]]^a[2][s[r>>8&255]]^a[3][s[255&r]]},h.cipher.aes.prototype={encrypt:function(e){return i(this,e,0)},decrypt:function(e){return i(this,e,1)},o:[[[],[],[],[],[]],[[],[],[],[],[]]],t:function(){var e,t,r,n,i,o,s,a=this.o[0],c=this.o[1],f=a[4],u=c[4],h=[],l=[];for(e=0;256>e;e++)l[(h[e]=e<<1^283*(e>>7))^e]=e;for(t=r=0;!f[t];t^=n||1,r=l[r]||1)for(o=(o=r^r<<1^r<<2^r<<3^r<<4)>>8^255&o^99,f[t]=o,u[o]=t,s=16843009*(i=h[e=h[n=h[t]]])^65537*e^257*n^16843008*t,i=257*h[o]^16843008*o,e=0;4>e;e++)a[e][t]=i=i<<24^i>>>8,c[e][o]=s=s<<24^s>>>8;for(e=0;5>e;e++)a[e]=a[e].slice(0),c[e]=c[e].slice(0)}},h.bitArray={bitSlice:function(e,t,r){return e=h.bitArray.R(e.slice(t/32),32-(31&t)).slice(1),r===u?e:h.bitArray.clamp(e,r-t)},extract:function(e,t,r){var n=Math.floor(-t-r&31);return(-32&(t+r-1^t)?e[t/32|0]<<32-n^e[t/32+1|0]>>>n:e[t/32|0]>>>n)&(1<<r)-1},concat:function(e,t){if(0===e.length||0===t.length)return e.concat(t);var r=e[e.length-1],n=h.bitArray.getPartial(r);return 32===n?e.concat(t):h.bitArray.R(t,n,0|r,e.slice(0,e.length-1))},bitLength:function(e){var t=e.length;return 0===t?0:32*(t-1)+h.bitArray.getPartial(e[t-1])},clamp:function(e,t){if(32*e.length<t)return e;var r=(e=e.slice(0,Math.ceil(t/32))).length;return t&=31,0<r&&t&&(e[r-1]=h.bitArray.partial(t,e[r-1]&2147483648>>t-1,1)),e},partial:function(e,t,r){return 32===e?t:(r?0|t:t<<32-e)+1099511627776*e},getPartial:function(e){return Math.round(e/1099511627776)||32},equal:function(e,t){if(h.bitArray.bitLength(e)!==h.bitArray.bitLength(t))return!1;var r,n=0;for(r=0;r<e.length;r++)n|=e[r]^t[r];return 0===n},R:function(e,t,r,n){var i;for(i=0,n===u&&(n=[]);32<=t;t-=32)n.push(r),r=0;if(0===t)return n.concat(e);for(i=0;i<e.length;i++)n.push(r|e[i]>>>t),r=e[i]<<32-t;return i=e.length?e[e.length-1]:0,e=h.bitArray.getPartial(i),n.push(h.bitArray.partial(t+e&31,32<t+e?r:n.pop(),1)),n},j:function(e,t){return[e[0]^t[0],e[1]^t[1],e[2]^t[2],e[3]^t[3]]},byteswapM:function(e){var t,r;for(t=0;t<e.length;++t)r=e[t],e[t]=r>>>24|r>>>8&65280|(65280&r)<<8|r<<24;return e}},h.codec.utf8String={fromBits:function(e){var t,r,n="",i=h.bitArray.bitLength(e);for(t=0;t<i/8;t++)0==(3&t)&&(r=e[t/4]),n+=String.fromCharCode(r>>>24),r<<=8;return decodeURIComponent(escape(n))},toBits:function(e){e=unescape(encodeURIComponent(e));var t,r=[],n=0;for(t=0;t<e.length;t++)n=n<<8|e.charCodeAt(t),3==(3&t)&&(r.push(n),n=0);return 3&t&&r.push(h.bitArray.partial(8*(3&t),n)),r}},h.codec.hex={fromBits:function(e){var t,r="";for(t=0;t<e.length;t++)r+=(0xf00000000000+(0|e[t])).toString(16).substr(4);return r.substr(0,h.bitArray.bitLength(e)/4)},toBits:function(e){var t,r,n=[];for(r=(e=e.replace(/\s|0x/g,"")).length,e+="00000000",t=0;t<e.length;t+=8)n.push(0^parseInt(e.substr(t,8),16));return h.bitArray.clamp(n,4*r)}},h.codec.base64={M:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fromBits:function(e,t,r){var n="",i=0,o=h.codec.base64.M,s=0,a=h.bitArray.bitLength(e);for(r&&(o=o.substr(0,62)+"-_"),r=0;6*n.length<a;)n+=o.charAt((s^e[r]>>>i)>>>26),6>i?(s=e[r]<<6-i,i+=26,r++):(s<<=6,i-=6);for(;3&n.length&&!t;)n+="=";return n},toBits:function(e,t){e=e.replace(/\s|=/g,"");var r,i,o=[],s=0,a=h.codec.base64.M,c=0;for(t&&(a=a.substr(0,62)+"-_"),r=0;r<e.length;r++)0>(i=a.indexOf(e.charAt(r)))&&n(new h.exception.invalid("this isn't base64!")),26<s?(s-=26,o.push(c^i>>>s),c=i<<32-s):(s+=6,c^=i<<32-s);return 56&s&&o.push(h.bitArray.partial(56&s,c,1)),o}},h.codec.base64url={fromBits:function(e){return h.codec.base64.fromBits(e,1,1)},toBits:function(e){return h.codec.base64.toBits(e,1)}},h.hash.sha256=function(e){this.b[0]||this.t(),e?(this.e=e.e.slice(0),this.d=e.d.slice(0),this.c=e.c):this.reset()},h.hash.sha256.hash=function(e){return(new h.hash.sha256).update(e).finalize()},h.hash.sha256.prototype={blockSize:512,reset:function(){return this.e=this.l.slice(0),this.d=[],this.c=0,this},update:function(e){"string"==typeof e&&(e=h.codec.utf8String.toBits(e));var t,r=this.d=h.bitArray.concat(this.d,e);for(t=this.c,e=this.c=t+h.bitArray.bitLength(e),t=512+t&-512;t<=e;t+=512)this.r(r.splice(0,16));return this},finalize:function(){var e,t=this.d,r=this.e;for(e=(t=h.bitArray.concat(t,[h.bitArray.partial(1,1)])).length+2;15&e;e++)t.push(0);for(t.push(Math.floor(this.c/4294967296)),t.push(0|this.c);t.length;)this.r(t.splice(0,16));return this.reset(),r},l:[],b:[],t:function(){function e(e){return 4294967296*(e-Math.floor(e))|0}var t,r=0,n=2;e:for(;64>r;n++){for(t=2;t*t<=n;t++)if(0==n%t)continue e;8>r&&(this.l[r]=e(Math.pow(n,.5))),this.b[r]=e(Math.pow(n,1/3)),r++}},r:function(e){var t,r,n=e.slice(0),i=this.e,o=this.b,s=i[0],a=i[1],c=i[2],f=i[3],u=i[4],h=i[5],l=i[6],d=i[7];for(e=0;64>e;e++)16>e?t=n[e]:(t=n[e+1&15],r=n[e+14&15],t=n[15&e]=(t>>>7^t>>>18^t>>>3^t<<25^t<<14)+(r>>>17^r>>>19^r>>>10^r<<15^r<<13)+n[15&e]+n[e+9&15]|0),t=t+d+(u>>>6^u>>>11^u>>>25^u<<26^u<<21^u<<7)+(l^u&(h^l))+o[e],d=l,l=h,h=u,u=f+t|0,f=c,c=a,a=s,s=t+(a&c^f&(a^c))+(a>>>2^a>>>13^a>>>22^a<<30^a<<19^a<<10)|0;i[0]=i[0]+s|0,i[1]=i[1]+a|0,i[2]=i[2]+c|0,i[3]=i[3]+f|0,i[4]=i[4]+u|0,i[5]=i[5]+h|0,i[6]=i[6]+l|0,i[7]=i[7]+d|0}},h.hash.sha512=function(e){this.b[0]||this.t(),e?(this.e=e.e.slice(0),this.d=e.d.slice(0),this.c=e.c):this.reset()},h.hash.sha512.hash=function(e){return(new h.hash.sha512).update(e).finalize()},h.hash.sha512.prototype={blockSize:1024,reset:function(){return this.e=this.l.slice(0),this.d=[],this.c=0,this},update:function(e){"string"==typeof e&&(e=h.codec.utf8String.toBits(e));var t,r=this.d=h.bitArray.concat(this.d,e);for(t=this.c,e=this.c=t+h.bitArray.bitLength(e),t=1024+t&-1024;t<=e;t+=1024)this.r(r.splice(0,32));return this},finalize:function(){var e,t=this.d,r=this.e;for(e=(t=h.bitArray.concat(t,[h.bitArray.partial(1,1)])).length+4;31&e;e++)t.push(0);for(t.push(0),t.push(0),t.push(Math.floor(this.c/4294967296)),t.push(0|this.c);t.length;)this.r(t.splice(0,32));return this.reset(),r},l:[],ca:[12372232,13281083,9762859,1914609,15106769,4090911,4308331,8266105],b:[],ea:[2666018,15689165,5061423,9034684,4764984,380953,1658779,7176472,197186,7368638,14987916,16757986,8096111,1480369,13046325,6891156,15813330,5187043,9229749,11312229,2818677,10937475,4324308,1135541,6741931,11809296,16458047,15666916,11046850,698149,229999,945776,13774844,2541862,12856045,9810911,11494366,7844520,15576806,8533307,15795044,4337665,16291729,5553712,15684120,6662416,7413802,12308920,13816008,4303699,9366425,10176680,13195875,4295371,6546291,11712675,15708924,1519456,15772530,6568428,6495784,8568297,13007125,7492395,2515356,12632583,14740254,7262584,1535930,13146278,16321966,1853211,294276,13051027,13221564,1051980,4080310,6651434,14088940,4675607],t:function(){function e(e){return 4294967296*(e-Math.floor(e))|0}function t(e){return 1099511627776*(e-Math.floor(e))&255}var r,n=0,i=2;e:for(;80>n;i++){for(r=2;r*r<=i;r++)if(0==i%r)continue e;8>n&&(this.l[2*n]=e(Math.pow(i,.5)),this.l[2*n+1]=t(Math.pow(i,.5))<<24|this.ca[n]),this.b[2*n]=e(Math.pow(i,1/3)),this.b[2*n+1]=t(Math.pow(i,1/3))<<24|this.ea[n],n++}},r:function(e){var t,r,n=e.slice(0),i=this.e,o=this.b,s=i[0],a=i[1],c=i[2],f=i[3],u=i[4],h=i[5],l=i[6],d=i[7],p=i[8],b=i[9],y=i[10],v=i[11],m=i[12],g=i[13],w=i[14],_=i[15],E=s,S=a,k=c,A=f,x=u,I=h,T=l,B=d,P=p,M=b,C=y,R=v,O=m,L=g,j=w,N=_;for(e=0;80>e;e++){if(16>e)t=n[2*e],r=n[2*e+1];else{r=n[2*(e-15)];t=((D=n[2*(e-15)+1])<<31|r>>>1)^(D<<24|r>>>8)^r>>>7;G=(r<<31|D>>>1)^(r<<24|D>>>8)^(r<<25|D>>>7);r=n[2*(e-2)];var D=((U=n[2*(e-2)+1])<<13|r>>>19)^(r<<3|U>>>29)^r>>>6,U=(r<<13|U>>>19)^(U<<3|r>>>29)^(r<<26|U>>>6),K=n[2*(e-7)],H=n[2*(e-16)],z=n[2*(e-16)+1];t=t+K+((r=G+n[2*(e-7)+1])>>>0<G>>>0?1:0),t+=D+((r+=U)>>>0<U>>>0?1:0),t+=H+((r+=z)>>>0<z>>>0?1:0)}n[2*e]=t|=0,n[2*e+1]=r|=0;var K=P&C^~P&O,q=M&R^~M&L,U=E&k^E&x^k&x,F=S&A^S&I^A&I,H=(S<<4|E>>>28)^(E<<30|S>>>2)^(E<<25|S>>>7),z=(E<<4|S>>>28)^(S<<30|E>>>2)^(S<<25|E>>>7),W=o[2*e],V=o[2*e+1],G=(G=(G=(G=j+((M<<18|P>>>14)^(M<<14|P>>>18)^(P<<23|M>>>9))+((D=N+((P<<18|M>>>14)^(P<<14|M>>>18)^(M<<23|P>>>9)))>>>0<N>>>0?1:0))+(K+((D=D+q)>>>0<q>>>0?1:0)))+(W+((D=D+V)>>>0<V>>>0?1:0)))+(t+((D=D+r|0)>>>0<r>>>0?1:0));t=H+U+((r=z+F)>>>0<z>>>0?1:0),j=O,N=L,O=C,L=R,C=P,R=M,P=T+G+((M=B+D|0)>>>0<B>>>0?1:0)|0,T=x,B=I,x=k,I=A,k=E,A=S,E=G+t+((S=D+r|0)>>>0<D>>>0?1:0)|0}a=i[1]=a+S|0,i[0]=s+E+(a>>>0<S>>>0?1:0)|0,f=i[3]=f+A|0,i[2]=c+k+(f>>>0<A>>>0?1:0)|0,h=i[5]=h+I|0,i[4]=u+x+(h>>>0<I>>>0?1:0)|0,d=i[7]=d+B|0,i[6]=l+T+(d>>>0<B>>>0?1:0)|0,b=i[9]=b+M|0,i[8]=p+P+(b>>>0<M>>>0?1:0)|0,v=i[11]=v+R|0,i[10]=y+C+(v>>>0<R>>>0?1:0)|0,g=i[13]=g+L|0,i[12]=m+O+(g>>>0<L>>>0?1:0)|0,_=i[15]=_+N|0,i[14]=w+j+(_>>>0<N>>>0?1:0)|0}},h.mode.ccm={name:"ccm",w:[],listenProgress:function(e){h.mode.ccm.w.push(e)},unListenProgress:function(e){-1<(e=h.mode.ccm.w.indexOf(e))&&h.mode.ccm.w.splice(e,1)},X:function(e){var t,r=h.mode.ccm.w.slice();for(t=0;t<r.length;t+=1)r[t](e)},encrypt:function(e,t,r,i,o){var s,a=t.slice(0),c=h.bitArray,f=c.bitLength(r)/8,u=c.bitLength(a)/8;for(o=o||64,i=i||[],7>f&&n(new h.exception.invalid("ccm: iv must be at least 7 bytes")),s=2;4>s&&u>>>8*s;s++);return s<15-f&&(s=15-f),r=c.clamp(r,8*(15-s)),t=h.mode.ccm.O(e,t,r,i,o,s),a=h.mode.ccm.s(e,a,r,t,o,s),c.concat(a.data,a.tag)},decrypt:function(e,t,r,i,o){o=o||64,i=i||[];var s=h.bitArray,a=s.bitLength(r)/8,c=s.bitLength(t),f=s.clamp(t,c-o),u=s.bitSlice(t,c-o),c=(c-o)/8;for(7>a&&n(new h.exception.invalid("ccm: iv must be at least 7 bytes")),t=2;4>t&&c>>>8*t;t++);return t<15-a&&(t=15-a),r=s.clamp(r,8*(15-t)),f=h.mode.ccm.s(e,f,r,u,o,t),e=h.mode.ccm.O(e,f.data,r,i,o,t),s.equal(f.tag,e)||n(new h.exception.corrupt("ccm: tag doesn't match")),f.data},ga:function(e,t,r,n,i,o){var s=[],a=h.bitArray,c=a.j;if(n=[a.partial(8,(t.length?64:0)|n-2<<2|o-1)],n=a.concat(n,r),n[3]|=i,n=e.encrypt(n),t.length)for(65279>=(r=a.bitLength(t)/8)?s=[a.partial(16,r)]:4294967295>=r&&(s=a.concat([a.partial(16,65534)],[r])),s=a.concat(s,t),t=0;t<s.length;t+=4)n=e.encrypt(c(n,s.slice(t,t+4).concat([0,0,0])));return n},O:function(e,t,r,i,o,s){var a=h.bitArray,c=a.j;for(((o/=8)%2||4>o||16<o)&&n(new h.exception.invalid("ccm: invalid tag length")),(4294967295<i.length||4294967295<t.length)&&n(new h.exception.bug("ccm: can't deal with 4GiB or more data")),r=h.mode.ccm.ga(e,i,r,o,a.bitLength(t)/8,s),i=0;i<t.length;i+=4)r=e.encrypt(c(r,t.slice(i,i+4).concat([0,0,0])));return a.clamp(r,8*o)},s:function(e,t,r,n,i,o){var s,a=h.bitArray;s=a.j;var c=t.length,f=a.bitLength(t),u=c/50,l=u;if(r=a.concat([a.partial(8,o-1)],r).concat([0,0,0]).slice(0,4),n=a.bitSlice(s(n,e.encrypt(r)),0,i),!c)return{tag:n,data:[]};for(s=0;s<c;s+=4)s>u&&(h.mode.ccm.X(s/c),u+=l),r[3]++,i=e.encrypt(r),t[s]^=i[0],t[s+1]^=i[1],t[s+2]^=i[2],t[s+3]^=i[3];return{tag:n,data:a.clamp(t,f)}}},h.mode.ocb2={name:"ocb2",encrypt:function(e,t,r,i,o,s){128!==h.bitArray.bitLength(r)&&n(new h.exception.invalid("ocb iv must be 128 bits"));var a,c=h.mode.ocb2.K,f=h.bitArray,u=f.j,l=[0,0,0,0];r=c(e.encrypt(r));var d,p=[];for(i=i||[],o=o||64,a=0;a+4<t.length;a+=4)d=t.slice(a,a+4),l=u(l,d),p=p.concat(u(r,e.encrypt(u(r,d)))),r=c(r);return d=t.slice(a),t=f.bitLength(d),a=e.encrypt(u(r,[0,0,0,t])),d=f.clamp(u(d.concat([0,0,0]),a),t),l=u(l,u(d.concat([0,0,0]),a)),l=e.encrypt(u(l,u(r,c(r)))),i.length&&(l=u(l,s?i:h.mode.ocb2.pmac(e,i))),p.concat(f.concat(d,f.clamp(l,o)))},decrypt:function(e,t,r,i,o,s){128!==h.bitArray.bitLength(r)&&n(new h.exception.invalid("ocb iv must be 128 bits")),o=o||64;var a,c,f=h.mode.ocb2.K,u=h.bitArray,l=u.j,d=[0,0,0,0],p=f(e.encrypt(r)),b=h.bitArray.bitLength(t)-o,y=[];for(i=i||[],r=0;r+4<b/32;r+=4)a=l(p,e.decrypt(l(p,t.slice(r,r+4)))),d=l(d,a),y=y.concat(a),p=f(p);return c=b-32*r,a=e.encrypt(l(p,[0,0,0,c])),a=l(a,u.clamp(t.slice(r),c).concat([0,0,0])),d=l(d,a),d=e.encrypt(l(d,l(p,f(p)))),i.length&&(d=l(d,s?i:h.mode.ocb2.pmac(e,i))),u.equal(u.clamp(d,o),u.bitSlice(t,b))||n(new h.exception.corrupt("ocb: tag doesn't match")),y.concat(u.clamp(a,c))},pmac:function(e,t){var r,n=h.mode.ocb2.K,i=h.bitArray,o=i.j,s=[0,0,0,0],a=o(a=e.encrypt([0,0,0,0]),n(n(a)));for(r=0;r+4<t.length;r+=4)a=n(a),s=o(s,e.encrypt(o(a,t.slice(r,r+4))));return r=t.slice(r),128>i.bitLength(r)&&(a=o(a,n(a)),r=i.concat(r,[-2147483648,0,0,0])),s=o(s,r),e.encrypt(o(n(o(a,n(a))),s))},K:function(e){return[e[0]<<1^e[1]>>>31,e[1]<<1^e[2]>>>31,e[2]<<1^e[3]>>>31,e[3]<<1^135*(e[0]>>>31)]}},h.mode.gcm={name:"gcm",encrypt:function(e,t,r,n,i){var o=t.slice(0);return t=h.bitArray,n=n||[],e=h.mode.gcm.s(!0,e,o,n,r,i||128),t.concat(e.data,e.tag)},decrypt:function(e,t,r,i,o){var s=t.slice(0),a=h.bitArray,c=a.bitLength(s);return o=o||128,i=i||[],o<=c?(t=a.bitSlice(s,c-o),s=a.bitSlice(s,0,c-o)):(t=s,s=[]),e=h.mode.gcm.s(!1,e,s,i,r,o),a.equal(e.tag,t)||n(new h.exception.corrupt("gcm: tag doesn't match")),e.data},ba:function(e,t){var r,n,i,o,s,a=h.bitArray.j;for(i=[0,0,0,0],o=t.slice(0),r=0;128>r;r++){for((n=0!=(e[Math.floor(r/32)]&1<<31-r%32))&&(i=a(i,o)),s=0!=(1&o[3]),n=3;0<n;n--)o[n]=o[n]>>>1|(1&o[n-1])<<31;o[0]>>>=1,s&&(o[0]^=-520093696)}return i},k:function(e,t,r){var n,i=r.length;for(t=t.slice(0),n=0;n<i;n+=4)t[0]^=4294967295&r[n],t[1]^=4294967295&r[n+1],t[2]^=4294967295&r[n+2],t[3]^=4294967295&r[n+3],t=h.mode.gcm.ba(t,e);return t},s:function(e,t,r,n,i,o){var s,a,c,f,u,l,d,p,b=h.bitArray;for(l=r.length,d=b.bitLength(r),p=b.bitLength(n),a=b.bitLength(i),s=t.encrypt([0,0,0,0]),96===a?(i=i.slice(0),i=b.concat(i,[1])):(i=h.mode.gcm.k(s,[0,0,0,0],i),i=h.mode.gcm.k(s,i,[0,0,Math.floor(a/4294967296),4294967295&a])),a=h.mode.gcm.k(s,[0,0,0,0],n),u=i.slice(0),n=a.slice(0),e||(n=h.mode.gcm.k(s,a,r)),f=0;f<l;f+=4)u[3]++,c=t.encrypt(u),r[f]^=c[0],r[f+1]^=c[1],r[f+2]^=c[2],r[f+3]^=c[3];return r=b.clamp(r,d),e&&(n=h.mode.gcm.k(s,a,r)),e=[Math.floor(p/4294967296),4294967295&p,Math.floor(d/4294967296),4294967295&d],n=h.mode.gcm.k(s,n,e),c=t.encrypt(i),n[0]^=c[0],n[1]^=c[1],n[2]^=c[2],n[3]^=c[3],{tag:b.bitSlice(n,0,o),data:r}}},h.misc.hmac=function(e,t){this.P=t=t||h.hash.sha256;var r,n=[[],[]],i=t.prototype.blockSize/32;for(this.q=[new t,new t],e.length>i&&(e=t.hash(e)),r=0;r<i;r++)n[0][r]=909522486^e[r],n[1][r]=1549556828^e[r];this.q[0].update(n[0]),this.q[1].update(n[1]),this.J=new t(this.q[0])},h.misc.hmac.prototype.encrypt=h.misc.hmac.prototype.mac=function(e){return this.S&&n(new h.exception.invalid("encrypt on already updated hmac called!")),this.update(e),this.digest(e)},h.misc.hmac.prototype.reset=function(){this.J=new this.P(this.q[0]),this.S=!1},h.misc.hmac.prototype.update=function(e){this.S=!0,this.J.update(e)},h.misc.hmac.prototype.digest=function(){var e=this.J.finalize(),e=new this.P(this.q[1]).update(e).finalize();return this.reset(),e},h.misc.pbkdf2=function(e,t,r,i,o){r=r||1e3,(0>i||0>r)&&n(h.exception.invalid("invalid params to pbkdf2")),"string"==typeof e&&(e=h.codec.utf8String.toBits(e)),"string"==typeof t&&(t=h.codec.utf8String.toBits(t)),e=new(o=o||h.misc.hmac)(e);var s,a,c,f,u=[],l=h.bitArray;for(f=1;32*u.length<(i||1);f++){for(o=s=e.encrypt(l.concat(t,[f])),a=1;a<r;a++)for(s=e.encrypt(s),c=0;c<s.length;c++)o[c]^=s[c];u=u.concat(o)}return i&&(u=l.clamp(u,i)),u},h.prng=function(e){this.f=[new h.hash.sha256],this.m=[0],this.I=0,this.A={},this.H=0,this.N={},this.Q=this.g=this.n=this.Z=0,this.b=[0,0,0,0,0,0,0,0],this.i=[0,0,0,0],this.F=u,this.G=e,this.u=!1,this.D={progress:{},seeded:{}},this.p=this.Y=0,this.B=1,this.C=2,this.U=65536,this.L=[0,48,64,96,128,192,256,384,512,768,1024],this.V=3e4,this.T=80},h.prng.prototype={randomWords:function(e,t){var r,i,o=[];if((r=this.isReady(t))===this.p&&n(new h.exception.notReady("generator isn't seeded")),r&this.C){r=!(r&this.B),i=[];var s,f=0;for(this.Q=i[0]=(new Date).valueOf()+this.V,s=0;16>s;s++)i.push(4294967296*Math.random()|0);for(s=0;s<this.f.length&&(i=i.concat(this.f[s].finalize()),f+=this.m[s],this.m[s]=0,!(!r&&this.I&1<<s));s++);for(this.I>=1<<this.f.length&&(this.f.push(new h.hash.sha256),this.m.push(0)),this.g-=f,f>this.n&&(this.n=f),this.I++,this.b=h.hash.sha256.hash(this.b.concat(i)),this.F=new h.cipher.aes(this.b),r=0;4>r&&(this.i[r]=this.i[r]+1|0,!this.i[r]);r++);}for(r=0;r<e;r+=4)0==(r+1)%this.U&&a(this),i=c(this),o.push(i[0],i[1],i[2],i[3]);return a(this),o.slice(0,e)},setDefaultParanoia:function(e,t){0===e&&"Setting paranoia=0 will ruin your security; use it only for testing"!==t&&n("Setting paranoia=0 will ruin your security; use it only for testing"),this.G=e},addEntropy:function(e,t,r){r=r||"user";var i,s,a=(new Date).valueOf(),c=this.A[r],f=this.isReady(),l=0;switch((i=this.N[r])===u&&(i=this.N[r]=this.Z++),c===u&&(c=this.A[r]=0),this.A[r]=(this.A[r]+1)%this.f.length,typeof e){case"number":t===u&&(t=1),this.f[c].update([i,this.H++,1,t,a,1,0|e]);break;case"object":if("[object Uint32Array]"===(r=Object.prototype.toString.call(e))){for(s=[],r=0;r<e.length;r++)s.push(e[r]);e=s}else for("[object Array]"!==r&&(l=1),r=0;r<e.length&&!l;r++)"number"!=typeof e[r]&&(l=1);if(!l){if(t===u)for(r=t=0;r<e.length;r++)for(s=e[r];0<s;)t++,s>>>=1;this.f[c].update([i,this.H++,2,t,a,e.length].concat(e))}break;case"string":t===u&&(t=e.length),this.f[c].update([i,this.H++,3,t,a,e.length]),this.f[c].update(e);break;default:l=1}l&&n(new h.exception.bug("random: addEntropy only supports number, array of numbers or string")),this.m[c]+=t,this.g+=t,f===this.p&&(this.isReady()!==this.p&&o("seeded",Math.max(this.n,this.g)),o("progress",this.getProgress()))},isReady:function(e){return e=this.L[e!==u?e:this.G],this.n&&this.n>=e?this.m[0]>this.T&&(new Date).valueOf()>this.Q?this.C|this.B:this.B:this.g>=e?this.C|this.p:this.p},getProgress:function(e){return e=this.L[e||this.G],this.n>=e?1:this.g>e?1:this.g/e},startCollectors:function(){this.u||(this.a={loadTimeCollector:f(this,this.fa),mouseCollector:f(this,this.ha),keyboardCollector:f(this,this.da),accelerometerCollector:f(this,this.W),touchCollector:f(this,this.ja)},window.addEventListener?(window.addEventListener("load",this.a.loadTimeCollector,!1),window.addEventListener("mousemove",this.a.mouseCollector,!1),window.addEventListener("keypress",this.a.keyboardCollector,!1),window.addEventListener("devicemotion",this.a.accelerometerCollector,!1),window.addEventListener("touchmove",this.a.touchCollector,!1)):document.attachEvent?(document.attachEvent("onload",this.a.loadTimeCollector),document.attachEvent("onmousemove",this.a.mouseCollector),document.attachEvent("keypress",this.a.keyboardCollector)):n(new h.exception.bug("can't attach event")),this.u=!0)},stopCollectors:function(){this.u&&(window.removeEventListener?(window.removeEventListener("load",this.a.loadTimeCollector,!1),window.removeEventListener("mousemove",this.a.mouseCollector,!1),window.removeEventListener("keypress",this.a.keyboardCollector,!1),window.removeEventListener("devicemotion",this.a.accelerometerCollector,!1),window.removeEventListener("touchmove",this.a.touchCollector,!1)):document.detachEvent&&(document.detachEvent("onload",this.a.loadTimeCollector),document.detachEvent("onmousemove",this.a.mouseCollector),document.detachEvent("keypress",this.a.keyboardCollector)),this.u=!1)},addEventListener:function(e,t){this.D[e][this.Y++]=t},removeEventListener:function(e,t){var r,n,i=this.D[e],o=[];for(n in i)i.hasOwnProperty(n)&&i[n]===t&&o.push(n);for(r=0;r<o.length;r++)n=o[r],delete i[n]},da:function(){s(1)},ha:function(e){var t,r;try{t=e.x||e.clientX||e.offsetX||0,r=e.y||e.clientY||e.offsetY||0}catch(e){r=t=0}0!=t&&0!=r&&h.random.addEntropy([t,r],2,"mouse"),s(0)},ja:function(e){e=e.touches[0]||e.changedTouches[0],h.random.addEntropy([e.pageX||e.clientX,e.pageY||e.clientY],1,"touch"),s(0)},fa:function(){s(2)},W:function(e){if(e=e.accelerationIncludingGravity.x||e.accelerationIncludingGravity.y||e.accelerationIncludingGravity.z,window.orientation){var t=window.orientation;"number"==typeof t&&h.random.addEntropy(t,1,"accelerometer")}e&&h.random.addEntropy(e,2,"accelerometer"),s(0)}},h.random=new h.prng(6);e:try{var l,d,p,b;if(b=void 0!==t){var y;if(y=t.exports){var v;try{v=e("crypto")}catch(e){v=null}y=(d=v)&&d.randomBytes}b=y}if(b)l=d.randomBytes(128),l=new Uint32Array(new Uint8Array(l).buffer),h.random.addEntropy(l,1024,"crypto['randomBytes']");else if("undefined"!=typeof window&&"undefined"!=typeof Uint32Array){if(p=new Uint32Array(32),window.crypto&&window.crypto.getRandomValues)window.crypto.getRandomValues(p);else{if(!window.msCrypto||!window.msCrypto.getRandomValues)break e;window.msCrypto.getRandomValues(p)}h.random.addEntropy(p,1024,"crypto['getRandomValues']")}}catch(e){"undefined"!=typeof window&&window.console&&(console.log("There was an error collecting entropy from the browser:"),console.log(e))}h.json={defaults:{v:1,iter:1e3,ks:128,ts:64,mode:"ccm",adata:"",cipher:"aes"},aa:function(e,t,r,i){r=r||{},i=i||{};var o,s=h.json,a=s.h({iv:h.random.randomWords(4,0)},s.defaults);return s.h(a,r),r=a.adata,"string"==typeof a.salt&&(a.salt=h.codec.base64.toBits(a.salt)),"string"==typeof a.iv&&(a.iv=h.codec.base64.toBits(a.iv)),(!h.mode[a.mode]||!h.cipher[a.cipher]||"string"==typeof e&&100>=a.iter||64!==a.ts&&96!==a.ts&&128!==a.ts||128!==a.ks&&192!==a.ks&&256!==a.ks||2>a.iv.length||4<a.iv.length)&&n(new h.exception.invalid("json encrypt: invalid parameters")),"string"==typeof e?(o=h.misc.cachedPbkdf2(e,a),e=o.key.slice(0,a.ks/32),a.salt=o.salt):h.ecc&&e instanceof h.ecc.elGamal.publicKey&&(o=e.kem(),a.kemtag=o.tag,e=o.key.slice(0,a.ks/32)),"string"==typeof t&&(t=h.codec.utf8String.toBits(t)),"string"==typeof r&&(a.adata=r=h.codec.utf8String.toBits(r)),o=new h.cipher[a.cipher](e),s.h(i,a),i.key=e,a.ct="ccm"===a.mode&&h.arrayBuffer&&h.arrayBuffer.ccm&&t instanceof ArrayBuffer?h.arrayBuffer.ccm.encrypt(o,t,a.iv,r,a.ts):h.mode[a.mode].encrypt(o,t,a.iv,r,a.ts),a},encrypt:function(e,t,r,n){var i=h.json,o=i.aa.apply(i,arguments);return i.encode(o)},$:function(e,t,r,i){r=r||{},i=i||{};var o,s,a=h.json;return o=(t=a.h(a.h(a.h({},a.defaults),t),r,!0)).adata,"string"==typeof t.salt&&(t.salt=h.codec.base64.toBits(t.salt)),"string"==typeof t.iv&&(t.iv=h.codec.base64.toBits(t.iv)),(!h.mode[t.mode]||!h.cipher[t.cipher]||"string"==typeof e&&100>=t.iter||64!==t.ts&&96!==t.ts&&128!==t.ts||128!==t.ks&&192!==t.ks&&256!==t.ks||!t.iv||2>t.iv.length||4<t.iv.length)&&n(new h.exception.invalid("json decrypt: invalid parameters")),"string"==typeof e?(s=h.misc.cachedPbkdf2(e,t),e=s.key.slice(0,t.ks/32),t.salt=s.salt):h.ecc&&e instanceof h.ecc.elGamal.secretKey&&(e=e.unkem(h.codec.base64.toBits(t.kemtag)).slice(0,t.ks/32)),"string"==typeof o&&(o=h.codec.utf8String.toBits(o)),s=new h.cipher[t.cipher](e),o="ccm"===t.mode&&h.arrayBuffer&&h.arrayBuffer.ccm&&t.ct instanceof ArrayBuffer?h.arrayBuffer.ccm.decrypt(s,t.ct,t.iv,t.tag,o,t.ts):h.mode[t.mode].decrypt(s,t.ct,t.iv,o,t.ts),a.h(i,t),i.key=e,1===r.raw?o:h.codec.utf8String.fromBits(o)},decrypt:function(e,t,r,n){var i=h.json;return i.$(e,i.decode(t),r,n)},encode:function(e){var t,r="{",i="";for(t in e)if(e.hasOwnProperty(t))switch(t.match(/^[a-z0-9]+$/i)||n(new h.exception.invalid("json encode: invalid property name")),r+=i+'"'+t+'":',i=",",typeof e[t]){case"number":case"boolean":r+=e[t];break;case"string":r+='"'+escape(e[t])+'"';break;case"object":r+='"'+h.codec.base64.fromBits(e[t],0)+'"';break;default:n(new h.exception.bug("json encode: unsupported type"))}return r+"}"},decode:function(e){(e=e.replace(/\s/g,"")).match(/^\{.*\}$/)||n(new h.exception.invalid("json decode: this isn't json!")),e=e.replace(/^\{|\}$/g,"").split(/,/);var t,r,i={};for(t=0;t<e.length;t++)(r=e[t].match(/^\s*(?:(["']?)([a-z][a-z0-9]*)\1)\s*:\s*(?:(-?\d+)|"([a-z0-9+\/%*_.@=\-]*)"|(true|false))$/i))||n(new h.exception.invalid("json decode: this isn't json!")),null!=r[3]?i[r[2]]=parseInt(r[3],10):null!=r[4]?i[r[2]]=r[2].match(/^(ct|adata|salt|iv)$/)?h.codec.base64.toBits(r[4]):unescape(r[4]):null!=r[5]&&(i[r[2]]="true"===r[5]);return i},h:function(e,t,r){if(e===u&&(e={}),t===u)return e;for(var i in t)t.hasOwnProperty(i)&&(r&&e[i]!==u&&e[i]!==t[i]&&n(new h.exception.invalid("required parameter overridden")),e[i]=t[i]);return e},la:function(e,t){var r,n={};for(r in e)e.hasOwnProperty(r)&&e[r]!==t[r]&&(n[r]=e[r]);return n},ka:function(e,t){var r,n={};for(r=0;r<t.length;r++)e[t[r]]!==u&&(n[t[r]]=e[t[r]]);return n}},h.encrypt=h.json.encrypt,h.decrypt=h.json.decrypt,h.misc.ia={},h.misc.cachedPbkdf2=function(e,t){var r,n=h.misc.ia;return t=t||{},r=t.iter||1e3,n=n[e]=n[e]||{},r=n[r]=n[r]||{firstSalt:t.salt&&t.salt.length?t.salt.slice(0):h.random.randomWords(2,0)},n=t.salt===u?r.firstSalt:t.salt,r[n]=r[n]||h.misc.pbkdf2(e,n,t.iter),{key:r[n].slice(0),salt:n.slice(0)}}},{crypto:135}],31:[function(e,t,r){t.exports=["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"]},{}],32:[function(e,t,r){var Buffer=e("safe-buffer").Buffer;t.exports={check:function(e){if(e.length<8)return!1;if(e.length>72)return!1;if(48!==e[0])return!1;if(e[1]!==e.length-2)return!1;if(2!==e[2])return!1;var t=e[3];if(0===t)return!1;if(5+t>=e.length)return!1;if(2!==e[4+t])return!1;var r=e[5+t];return!(0===r||6+t+r!==e.length||128&e[4]||t>1&&0===e[4]&&!(128&e[5])||128&e[t+6]||r>1&&0===e[t+6]&&!(128&e[t+7]))},decode:function(e){if(e.length<8)throw new Error("DER sequence length is too short");if(e.length>72)throw new Error("DER sequence length is too long");if(48!==e[0])throw new Error("Expected DER sequence");if(e[1]!==e.length-2)throw new Error("DER sequence length is invalid");if(2!==e[2])throw new Error("Expected DER integer");var t=e[3];if(0===t)throw new Error("R length is zero");if(5+t>=e.length)throw new Error("R length is too long");if(2!==e[4+t])throw new Error("Expected DER integer (2)");var r=e[5+t];if(0===r)throw new Error("S length is zero");if(6+t+r!==e.length)throw new Error("S length is invalid");if(128&e[4])throw new Error("R value is negative");if(t>1&&0===e[4]&&!(128&e[5]))throw new Error("R value excessively padded");if(128&e[t+6])throw new Error("S value is negative");if(r>1&&0===e[t+6]&&!(128&e[t+7]))throw new Error("S value excessively padded");return{r:e.slice(4,4+t),s:e.slice(6+t)}},encode:function(e,t){var r=e.length,n=t.length;if(0===r)throw new Error("R length is zero");if(0===n)throw new Error("S length is zero");if(r>33)throw new Error("R length is too long");if(n>33)throw new Error("S length is too long");if(128&e[0])throw new Error("R value is negative");if(128&t[0])throw new Error("S value is negative");if(r>1&&0===e[0]&&!(128&e[1]))throw new Error("R value excessively padded");if(n>1&&0===t[0]&&!(128&t[1]))throw new Error("S value excessively padded");var i=Buffer.allocUnsafe(6+r+n);return i[0]=48,i[1]=i.length-2,i[2]=2,i[3]=e.length,e.copy(i,4),i[4+r]=2,i[5+r]=t.length,t.copy(i,6+r),i}}},{"safe-buffer":313}],33:[function(e,t,r){t.exports={OP_FALSE:0,OP_0:0,OP_PUSHDATA1:76,OP_PUSHDATA2:77,OP_PUSHDATA4:78,OP_1NEGATE:79,OP_RESERVED:80,OP_TRUE:81,OP_1:81,OP_2:82,OP_3:83,OP_4:84,OP_5:85,OP_6:86,OP_7:87,OP_8:88,OP_9:89,OP_10:90,OP_11:91,OP_12:92,OP_13:93,OP_14:94,OP_15:95,OP_16:96,OP_NOP:97,OP_VER:98,OP_IF:99,OP_NOTIF:100,OP_VERIF:101,OP_VERNOTIF:102,OP_ELSE:103,OP_ENDIF:104,OP_VERIFY:105,OP_RETURN:106,OP_TOALTSTACK:107,OP_FROMALTSTACK:108,OP_2DROP:109,OP_2DUP:110,OP_3DUP:111,OP_2OVER:112,OP_2ROT:113,OP_2SWAP:114,OP_IFDUP:115,OP_DEPTH:116,OP_DROP:117,OP_DUP:118,OP_NIP:119,OP_OVER:120,OP_PICK:121,OP_ROLL:122,OP_ROT:123,OP_SWAP:124,OP_TUCK:125,OP_CAT:126,OP_SUBSTR:127,OP_LEFT:128,OP_RIGHT:129,OP_SIZE:130,OP_INVERT:131,OP_AND:132,OP_OR:133,OP_XOR:134,OP_EQUAL:135,OP_EQUALVERIFY:136,OP_RESERVED1:137,OP_RESERVED2:138,OP_1ADD:139,OP_1SUB:140,OP_2MUL:141,OP_2DIV:142,OP_NEGATE:143,OP_ABS:144,OP_NOT:145,OP_0NOTEQUAL:146,OP_ADD:147,OP_SUB:148,OP_MUL:149,OP_DIV:150,OP_MOD:151,OP_LSHIFT:152,OP_RSHIFT:153,OP_BOOLAND:154,OP_BOOLOR:155,OP_NUMEQUAL:156,OP_NUMEQUALVERIFY:157,OP_NUMNOTEQUAL:158,OP_LESSTHAN:159,OP_GREATERTHAN:160,OP_LESSTHANOREQUAL:161,OP_GREATERTHANOREQUAL:162,OP_MIN:163,OP_MAX:164,OP_WITHIN:165,OP_RIPEMD160:166,OP_SHA1:167,OP_SHA256:168,OP_HASH160:169,OP_HASH256:170,OP_CODESEPARATOR:171,OP_CHECKSIG:172,OP_CHECKSIGVERIFY:173,OP_CHECKMULTISIG:174,OP_CHECKMULTISIGVERIFY:175,OP_NOP1:176,OP_NOP2:177,OP_CHECKLOCKTIMEVERIFY:177,OP_NOP3:178,OP_CHECKSEQUENCEVERIFY:178,OP_NOP4:179,OP_NOP5:180,OP_NOP6:181,OP_NOP7:182,OP_NOP8:183,OP_NOP9:184,OP_NOP10:185,OP_PUBKEYHASH:253,OP_PUBKEY:254,OP_INVALIDOPCODE:255}},{}],34:[function(e,t,r){var n=e("./index.json"),i={};for(var o in n){i[n[o]]=o}t.exports=i},{"./index.json":33}],35:[function(e,t,r){function n(e){var t=h.decode(e);if(t.length<21)throw new TypeError(e+" is too short");if(t.length>21)throw new TypeError(e+" is too long");return{version:t.readUInt8(0),hash:t.slice(1)}}function i(e){var t=f.decode(e),r=f.fromWords(t.words.slice(1));return{version:t.words[0],prefix:t.prefix,data:Buffer.from(r)}}function o(e){return u.decode(e)}function s(e,t){b(y.tuple(y.Hash160bit,y.UInt8),arguments);var r=Buffer.allocUnsafe(21);return r.writeUInt8(t,0),e.copy(r,1),h.encode(r)}function a(e,t,r){var n=f.toWords(e);return n.unshift(t),f.encode(r,n)}function c(e,t,r){return u.encode(r,t,e)}var Buffer=e("safe-buffer").Buffer,f=e("bech32"),u=e("cashaddress"),h=e("bs58check"),l=e("./script"),d=e("./templates"),p=e("./networks"),b=e("typeforce"),y=e("./types");t.exports={fromBase58Check:n,fromBech32:i,fromCashAddress:o,fromOutputScript:function(e,t,r){if(t=t||p.bitcoin,r=r||!1,"cashAddrPrefix"in t&&r){if(l.pubKeyHash.output.check(e))return c(l.compile(e).slice(3,23),d.types.P2PKH,t.cashAddrPrefix);if(l.scriptHash.output.check(e))return c(l.compile(e).slice(2,22),d.types.P2SH,t.cashAddrPrefix)}else{if(l.pubKeyHash.output.check(e))return s(l.compile(e).slice(3,23),t.pubKeyHash);if(l.scriptHash.output.check(e))return s(l.compile(e).slice(2,22),t.scriptHash)}if(l.witnessPubKeyHash.output.check(e))return a(l.compile(e).slice(2,22),0,t.bech32);if(l.witnessScriptHash.output.check(e))return a(l.compile(e).slice(2,34),0,t.bech32);throw new Error(l.toASM(e)+" has no matching Address")},toBase58Check:s,toBech32:a,toCashAddress:c,toOutputScript:function(e,t,r){var s;if("cashAddrPrefix"in(t=t||p.bitcoin)&&r){try{if("pubkeyhash"===(s=o(e)).version)return l.pubKeyHash.output.encode(s.hash);if("scripthash"===s.version)return l.scriptHash.output.encode(s.hash)}catch(e){}if(s&&s.prefix!==t.cashAddrPrefix)throw new Error(e+" has an invalid prefix")}try{if((s=n(e)).version===t.pubKeyHash)return l.pubKeyHash.output.encode(s.hash);if(s.version===t.scriptHash)return l.scriptHash.output.encode(s.hash)}catch(e){}if(!s&&"bech32"in t){try{s=i(e)}catch(e){}if(s){if(s.prefix!==t.bech32)throw new Error(e+" has an invalid prefix");if(0===s.version){if(20===s.data.length)return l.witnessPubKeyHash.output.encode(s.data);if(32===s.data.length)return l.witnessScriptHash.output.encode(s.data)}}}throw new Error(e+" has no matching Script")}}},{"./networks":44,"./script":45,"./templates":47,"./types":71,bech32:23,bs58check:101,cashaddress:108,"safe-buffer":313,typeforce:354}],36:[function(e,t,r){function n(){this.version=1,this.prevHash=null,this.merkleRoot=null,this.timestamp=0,this.bits=0,this.nonce=0}var Buffer=e("safe-buffer").Buffer,i=e("buffer-reverse"),o=e("./crypto"),s=e("merkle-lib/fastRoot"),a=e("typeforce"),c=e("./types"),f=e("varuint-bitcoin"),u=e("./transaction");n.fromBuffer=function(e){function t(t){return o+=t,e.slice(o-t,o)}function r(){var t=e.readUInt32LE(o);return o+=4,t}function i(){var t=u.fromBuffer(e.slice(o),!0);return o+=t.byteLength(),t}if(e.length<80)throw new Error("Buffer too small (< 80 bytes)");var o=0,s=new n;if(s.version=function(){var t=e.readInt32LE(o);return o+=4,t}(),s.prevHash=t(32),s.merkleRoot=t(32),s.timestamp=r(),s.bits=r(),s.nonce=r(),80===e.length)return s;var a=function(){var t=f.decode(e,o);return o+=f.decode.bytes,t}();s.transactions=[];for(var c=0;c<a;++c){var h=i();s.transactions.push(h)}return s},n.prototype.byteLength=function(e){return e||!this.transactions?80:80+f.encodingLength(this.transactions.length)+this.transactions.reduce(function(e,t){return e+t.byteLength()},0)},n.fromHex=function(e){return n.fromBuffer(Buffer.from(e,"hex"))},n.prototype.getHash=function(){return o.hash256(this.toBuffer(!0))},n.prototype.getId=function(){return i(this.getHash()).toString("hex")},n.prototype.getUTCDate=function(){var e=new Date(0);return e.setUTCSeconds(this.timestamp),e},n.prototype.toBuffer=function(e){function t(e){e.copy(n,i),i+=e.length}function r(e){n.writeUInt32LE(e,i),i+=4}var n=Buffer.allocUnsafe(this.byteLength(e)),i=0;return function(e){n.writeInt32LE(e,i),i+=4}(this.version),t(this.prevHash),t(this.merkleRoot),r(this.timestamp),r(this.bits),r(this.nonce),e||!this.transactions?n:(f.encode(this.transactions.length,n,i),i+=f.encode.bytes,this.transactions.forEach(function(e){var t=e.byteLength();e.toBuffer(n,i),i+=t}),n)},n.prototype.toHex=function(e){return this.toBuffer(e).toString("hex")},n.calculateTarget=function(e){var t=((4278190080&e)>>24)-3,r=8388607&e,n=Buffer.alloc(32,0);return n.writeUInt32BE(r,28-t),n},n.calculateMerkleRoot=function(e){if(a([{getHash:c.Function}],e),0===e.length)throw TypeError("Cannot compute merkle root for zero transactions");var t=e.map(function(e){return e.getHash()});return s(t,o.hash256)},n.prototype.checkMerkleRoot=function(){if(!this.transactions)return!1;var e=n.calculateMerkleRoot(this.transactions);return 0===this.merkleRoot.compare(e)},n.prototype.checkProofOfWork=function(){var e=i(this.getHash()),t=n.calculateTarget(this.bits);return e.compare(t)<=0},t.exports=n},{"./crypto":38,"./transaction":69,"./types":71,"buffer-reverse":103,"merkle-lib/fastRoot":254,"safe-buffer":313,typeforce:354,"varuint-bitcoin":363}],37:[function(e,t,r){function n(e,t){if("number"!=typeof e)throw new Error("cannot write a non-number as a number");if(e<0)throw new Error("specified a negative value for writing an unsigned value");if(e>t)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}var i=e("pushdata-bitcoin"),o=e("varuint-bitcoin");t.exports={pushDataSize:i.encodingLength,readPushDataInt:i.decode,readUInt64LE:function(e,t){var r=e.readUInt32LE(t),i=e.readUInt32LE(t+4);return i*=4294967296,n(i+r,9007199254740991),i+r},readVarInt:function(e,t){return{number:o.decode(e,t),size:o.decode.bytes}},varIntBuffer:o.encode,varIntSize:o.encodingLength,writePushDataInt:i.encode,writeUInt64LE:function(e,t,r){return n(t,9007199254740991),e.writeInt32LE(-1&t,r),e.writeUInt32LE(Math.floor(t/4294967296),r+4),r+8},writeVarInt:function(e,t,r){return o.encode(t,e,r),o.encode.bytes}}},{"pushdata-bitcoin":294,"varuint-bitcoin":363}],38:[function(e,t,r){function n(e){return o("rmd160").update(e).digest()}function i(e){return o("sha256").update(e).digest()}var o=e("create-hash");t.exports={hash160:function(e){return n(i(e))},hash256:function(e){return i(i(e))},ripemd160:n,sha1:function(e){return o("sha1").update(e).digest()},sha256:i}},{"create-hash":130}],39:[function(e,t,r){function n(e,t,r){o(s.tuple(s.Hash256bit,s.Buffer256bit,s.Function),arguments);var n=Buffer.alloc(32,0),a=Buffer.alloc(32,1);n=i("sha256",n).update(a).update(c).update(t).update(e).digest(),a=i("sha256",n).update(a).digest(),n=i("sha256",n).update(a).update(f).update(t).update(e).digest(),a=i("sha256",n).update(a).digest(),a=i("sha256",n).update(a).digest();for(var h=BigInteger.fromBuffer(a);h.signum()<=0||h.compareTo(u.n)>=0||!r(h);)n=i("sha256",n).update(a).update(c).digest(),a=i("sha256",n).update(a).digest(),a=i("sha256",n).update(a).digest(),h=BigInteger.fromBuffer(a);return h}var Buffer=e("safe-buffer").Buffer,i=e("create-hmac"),o=e("typeforce"),s=e("./types"),BigInteger=e("bigi"),a=e("./ecsignature"),c=Buffer.alloc(1,0),f=Buffer.alloc(1,1),u=e("ecurve").getCurveByName("secp256k1"),h=u.n.shiftRight(1);t.exports={deterministicGenerateK:n,sign:function(e,t){o(s.tuple(s.Hash256bit,s.BigInt),arguments);var r,i,c=t.toBuffer(32),f=BigInteger.fromBuffer(e),l=u.n,d=u.G;return n(e,c,function(e){var n=d.multiply(e);return!u.isInfinity(n)&&0!==(r=n.affineX.mod(l)).signum()&&0!==(i=e.modInverse(l).multiply(f.add(t.multiply(r))).mod(l)).signum()}),i.compareTo(h)>0&&(i=l.subtract(i)),new a(r,i)},verify:function(e,t,r){o(s.tuple(s.Hash256bit,s.ECSignature,s.ECPoint),arguments);var n=u.n,i=u.G,a=t.r,c=t.s;if(a.signum()<=0||a.compareTo(n)>=0)return!1;if(c.signum()<=0||c.compareTo(n)>=0)return!1;var f=BigInteger.fromBuffer(e),h=c.modInverse(n),l=f.multiply(h).mod(n),d=a.multiply(h).mod(n),p=i.multiplyTwo(l,r,d);return!u.isInfinity(p)&&p.affineX.mod(n).equals(a)},__curve:u}},{"./ecsignature":41,"./types":71,bigi:26,"create-hmac":133,ecurve:227,"safe-buffer":313,typeforce:354}],40:[function(e,t,r){function ECPair(e,t,r){if(r&&a({compressed:c.maybe(c.Boolean),network:c.maybe(c.Network)},r),r=r||{},e){if(e.signum()<=0)throw new Error("Private key must be greater than 0");if(e.compareTo(l.n)>=0)throw new Error("Private key must be less than the curve order");if(t)throw new TypeError("Unexpected publicKey parameter");this.d=e}else a(c.ECPoint,t),this.__Q=t;this.compressed=void 0===r.compressed||r.compressed,this.network=r.network||u.bitcoin}var n=e("./address"),i=e("./crypto"),o=e("./ecdsa"),s=e("randombytes"),a=e("typeforce"),c=e("./types"),f=e("wif"),u=e("./networks"),BigInteger=e("bigi"),h=e("ecurve"),l=o.__curve;Object.defineProperty(ECPair.prototype,"Q",{get:function(){return!this.__Q&&this.d&&(this.__Q=l.G.multiply(this.d)),this.__Q}}),ECPair.fromPublicKeyBuffer=function(e,t){var r=h.Point.decodeFrom(l,e);return new ECPair(null,r,{compressed:r.compressed,network:t})},ECPair.fromWIF=function(e,t){var r=f.decode(e),n=r.version;if(c.Array(t)){if(!(t=t.filter(function(e){return n===e.wif}).pop()))throw new Error("Unknown network version")}else if(t=t||u.bitcoin,n!==t.wif)throw new Error("Invalid network version");return new ECPair(BigInteger.fromBuffer(r.privateKey),null,{compressed:r.compressed,network:t})},ECPair.makeRandom=function(e){var t,r=(e=e||{}).rng||s;do{var n=r(32);a(c.Buffer256bit,n),t=BigInteger.fromBuffer(n)}while(t.signum()<=0||t.compareTo(l.n)>=0);return new ECPair(t,null,e)},ECPair.prototype.getAddress=function(){return n.toBase58Check(i.hash160(this.getPublicKeyBuffer()),this.getNetwork().pubKeyHash)},ECPair.prototype.getNetwork=function(){return this.network},ECPair.prototype.getPublicKeyBuffer=function(){return this.Q.getEncoded(this.compressed)},ECPair.prototype.sign=function(e){if(!this.d)throw new Error("Missing private key");return o.sign(e,this.d)},ECPair.prototype.toWIF=function(){if(!this.d)throw new Error("Missing private key");return f.encode(this.network.wif,this.d.toBuffer(32),this.compressed)},ECPair.prototype.verify=function(e,t){return o.verify(e,t,this.Q)},t.exports=ECPair},{"./address":35,"./crypto":38,"./ecdsa":39,"./networks":44,"./types":71,bigi:26,ecurve:227,randombytes:299,typeforce:354,wif:366}],41:[function(e,t,r){(function(Buffer){function r(e,t){i(o.tuple(o.BigInt,o.BigInt),arguments),this.r=e,this.s=t}var n=e("bip66"),i=e("typeforce"),o=e("./types"),BigInteger=e("bigi");r.parseCompact=function(e){if(65!==e.length)throw new Error("Invalid signature length");var t=e.readUInt8(0)-27;if(t!==(7&t))throw new Error("Invalid signature parameter");return{compressed:!!(4&t),i:3&t,signature:new r(BigInteger.fromBuffer(e.slice(1,33)),BigInteger.fromBuffer(e.slice(33)))}},r.fromDER=function(e){var t=n.decode(e);return new r(BigInteger.fromDERInteger(t.r),BigInteger.fromDERInteger(t.s))},r.parseScriptSignature=function(e){var t=e.readUInt8(e.length-1),n=-193&t;if(n<=0||n>=4)throw new Error("Invalid hashType "+t);return{signature:r.fromDER(e.slice(0,-1)),hashType:t}},r.prototype.toCompact=function(e,t){t&&(e+=4),e+=27;var r=Buffer.alloc(65);return r.writeUInt8(e,0),this.r.toBuffer(32).copy(r,1),this.s.toBuffer(32).copy(r,33),r},r.prototype.toDER=function(){var e=Buffer.from(this.r.toDERInteger()),t=Buffer.from(this.s.toDERInteger());return n.encode(e,t)},r.prototype.toScriptSignature=function(e){var t=-193&e;if(t<=0||t>=4)throw new Error("Invalid hashType "+e);var r=Buffer.alloc(1);return r.writeUInt8(e,0),Buffer.concat([this.toDER(),r])},t.exports=r}).call(this,e("buffer").Buffer)},{"./types":71,bigi:26,bip66:32,buffer:105,typeforce:354}],42:[function(e,t,r){function HDNode(e,t){if(s(a.tuple("ECPair",a.Buffer256bit),arguments),!e.compressed)throw new TypeError("BIP32 only allows compressed keyPairs");this.keyPair=e,this.chainCode=t,this.depth=0,this.index=0,this.parentFingerprint=0}var Buffer=e("safe-buffer").Buffer,n=e("bs58check"),i=e("./crypto"),o=e("create-hmac"),s=e("typeforce"),a=e("./types"),c=e("./networks"),BigInteger=e("bigi"),ECPair=e("./ecpair"),f=e("ecurve"),u=f.getCurveByName("secp256k1");HDNode.HIGHEST_BIT=2147483648,HDNode.LENGTH=78,HDNode.MASTER_SECRET=Buffer.from("Bitcoin seed","utf8"),HDNode.fromSeedBuffer=function(e,t){if(s(a.tuple(a.Buffer,a.maybe(a.Network)),arguments),e.length<16)throw new TypeError("Seed should be at least 128 bits");if(e.length>64)throw new TypeError("Seed should be at most 512 bits");var r=o("sha512",HDNode.MASTER_SECRET).update(e).digest(),n=r.slice(0,32),i=r.slice(32),c=BigInteger.fromBuffer(n);return new HDNode(new ECPair(c,null,{network:t}),i)},HDNode.fromSeedHex=function(e,t){return HDNode.fromSeedBuffer(Buffer.from(e,"hex"),t)},HDNode.fromBase58=function(e,t){var r=n.decode(e);if(78!==r.length)throw new Error("Invalid buffer length");var i,o=r.readUInt32BE(0);if(Array.isArray(t)){if(!(i=t.filter(function(e){return o===e.bip32.private||o===e.bip32.public}).pop()))throw new Error("Unknown network version")}else i=t||c.bitcoin;if(o!==i.bip32.private&&o!==i.bip32.public)throw new Error("Invalid network version");var s=r[4],a=r.readUInt32BE(5);if(0===s&&0!==a)throw new Error("Invalid parent fingerprint");var h=r.readUInt32BE(9);if(0===s&&0!==h)throw new Error("Invalid index");var l,d=r.slice(13,45);if(o===i.bip32.private){if(0!==r.readUInt8(45))throw new Error("Invalid private key");var p=BigInteger.fromBuffer(r.slice(46,78));l=new ECPair(p,null,{network:i})}else{var b=f.Point.decodeFrom(u,r.slice(45,78));u.validate(b),l=new ECPair(null,b,{network:i})}var y=new HDNode(l,d);return y.depth=s,y.index=h,y.parentFingerprint=a,y},HDNode.prototype.getAddress=function(){return this.keyPair.getAddress()},HDNode.prototype.getIdentifier=function(){return i.hash160(this.keyPair.getPublicKeyBuffer())},HDNode.prototype.getFingerprint=function(){return this.getIdentifier().slice(0,4)},HDNode.prototype.getNetwork=function(){return this.keyPair.getNetwork()},HDNode.prototype.getPublicKeyBuffer=function(){return this.keyPair.getPublicKeyBuffer()},HDNode.prototype.neutered=function(){var e=new HDNode(new ECPair(null,this.keyPair.Q,{network:this.keyPair.network}),this.chainCode);return e.depth=this.depth,e.index=this.index,e.parentFingerprint=this.parentFingerprint,e},HDNode.prototype.sign=function(e){return this.keyPair.sign(e)},HDNode.prototype.verify=function(e,t){return this.keyPair.verify(e,t)},HDNode.prototype.toBase58=function(e){if(void 0!==e)throw new TypeError("Unsupported argument in 2.0.0");var t=this.keyPair.network,r=this.isNeutered()?t.bip32.public:t.bip32.private,i=Buffer.allocUnsafe(78);return i.writeUInt32BE(r,0),i.writeUInt8(this.depth,4),i.writeUInt32BE(this.parentFingerprint,5),i.writeUInt32BE(this.index,9),this.chainCode.copy(i,13),this.isNeutered()?this.keyPair.getPublicKeyBuffer().copy(i,45):(i.writeUInt8(0,45),this.keyPair.d.toBuffer(32).copy(i,46)),n.encode(i)},HDNode.prototype.derive=function(e){s(a.UInt32,e);var t=e>=HDNode.HIGHEST_BIT,r=Buffer.allocUnsafe(37);if(t){if(this.isNeutered())throw new TypeError("Could not derive hardened child key");r[0]=0,this.keyPair.d.toBuffer(32).copy(r,1),r.writeUInt32BE(e,33)}else this.keyPair.getPublicKeyBuffer().copy(r,0),r.writeUInt32BE(e,33);var n=o("sha512",this.chainCode).update(r).digest(),i=n.slice(0,32),c=n.slice(32),f=BigInteger.fromBuffer(i);if(f.compareTo(u.n)>=0)return this.derive(e+1);var h;if(this.isNeutered()){var l=u.G.multiply(f).add(this.keyPair.Q);if(u.isInfinity(l))return this.derive(e+1);h=new ECPair(null,l,{network:this.keyPair.network})}else{var d=f.add(this.keyPair.d).mod(u.n);if(0===d.signum())return this.derive(e+1);h=new ECPair(d,null,{network:this.keyPair.network})}var p=new HDNode(h,c);return p.depth=this.depth+1,p.index=e,p.parentFingerprint=this.getFingerprint().readUInt32BE(0),p},HDNode.prototype.deriveHardened=function(e){return s(a.UInt31,e),this.derive(e+HDNode.HIGHEST_BIT)},HDNode.prototype.isNeutered=function(){return!this.keyPair.d},HDNode.prototype.derivePath=function(e){s(a.BIP32Path,e);var t=e.split("/");if("m"===t[0]){if(this.parentFingerprint)throw new Error("Not a master node");t=t.slice(1)}return t.reduce(function(e,t){var r;return"'"===t.slice(-1)?(r=parseInt(t.slice(0,-1),10),e.deriveHardened(r)):(r=parseInt(t,10),e.derive(r))},this)},t.exports=HDNode},{"./crypto":38,"./ecpair":40,"./networks":44,"./types":71,bigi:26,bs58check:101,"create-hmac":133,ecurve:227,"safe-buffer":313,typeforce:354}],43:[function(e,t,r){t.exports={Block:e("./block"),ECPair:e("./ecpair"),ECSignature:e("./ecsignature"),HDNode:e("./hdnode"),Transaction:e("./transaction"),TransactionBuilder:e("./transaction_builder"),address:e("./address"),bufferutils:e("./bufferutils"),crypto:e("./crypto"),networks:e("./networks"),opcodes:e("bitcoin-ops"),script:e("./script")}},{"./address":35,"./block":36,"./bufferutils":37,"./crypto":38,"./ecpair":40,"./ecsignature":41,"./hdnode":42,"./networks":44,"./script":45,"./transaction":69,"./transaction_builder":70,"bitcoin-ops":33}],44:[function(e,t,r){t.exports={bitcoincash:{messagePrefix:"Bitcoin Signed Message:\n",bip32:{public:76067358,private:76066276},cashAddrPrefix:"bitcoincash",cashAddrTypes:{pubkeyhash:0,scripthash:1},pubKeyHash:0,scriptHash:5,wif:128},bitcoincashtestnet:{messagePrefix:"Bitcoin Signed Message:\n",bip32:{public:70617039,private:70615956},cashAddrPrefix:"bchtest",cashAddrTypes:{pubkeyhash:0,scripthash:1},pubKeyHash:111,scriptHash:196,wif:239},bitcoingold:{messagePrefix:"Bitcoin Gold Signed Message:\n",bip32:{public:76067358,private:76066276},pubKeyHash:38,scriptHash:23,wif:128},bitcoin:{messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},testnet:{messagePrefix:"Bitcoin Signed Message:\n",bech32:"tb",bip32:{public:70617039,private:70615956},pubKeyHash:111,scriptHash:196,wif:239},litecoin:{messagePrefix:"Litecoin Signed Message:\n",bip32:{public:27108450,private:27106558},pubKeyHash:48,scriptHash:50,wif:176}}},{}],45:[function(e,t,r){function n(e){return l.Buffer(e)||function(e){return l.Number(e)&&(e===p.OP_0||e>=p.OP_1&&e<=p.OP_16||e===p.OP_1NEGATE)}(e)}function i(e){return l.Array(e)&&e.every(n)}function o(e){if(0===e.length)return p.OP_0;if(1===e.length)return e[0]>=1&&e[0]<=16?y+e[0]:129===e[0]?p.OP_1NEGATE:void 0}function s(e){if(Buffer.isBuffer(e))return e;h(l.Array,e);var t=e.reduce(function(e,t){return Buffer.isBuffer(t)?1===t.length&&void 0!==o(t)?e+1:e+u.encodingLength(t.length)+t.length:e+1},0),r=Buffer.allocUnsafe(t),n=0;if(e.forEach(function(e){if(Buffer.isBuffer(e)){var t=o(e);if(void 0!==t)return r.writeUInt8(t,n),void(n+=1);n+=u.encode(r,e.length,n),e.copy(r,n),n+=e.length}else r.writeUInt8(e,n),n+=1}),n!==r.length)throw new Error("Could not decode chunks");return r}function a(e){if(l.Array(e))return e;h(l.Buffer,e);for(var t=[],r=0;r<e.length;){var n=e[r];if(n>p.OP_0&&n<=p.OP_PUSHDATA4){var i=u.decode(e,r);if(null===i)return[];if((r+=i.size)+i.number>e.length)return[];var s=e.slice(r,r+i.number);r+=i.number;var a=o(s);void 0!==a?t.push(a):t.push(s)}else t.push(n),r+=1}return t}function c(e){var t=-193&e;return t>0&&t<4}var Buffer=e("safe-buffer").Buffer,f=e("bip66"),u=e("pushdata-bitcoin"),h=e("typeforce"),l=e("./types"),d=e("./script_number"),p=e("bitcoin-ops"),b=e("bitcoin-ops/map"),y=p.OP_RESERVED;t.exports={compile:s,decompile:a,fromASM:function(asm){return h(l.String,asm),s(asm.split(" ").map(function(e){return void 0!==p[e]?p[e]:(h(l.Hex,e),Buffer.from(e,"hex"))}))},toASM:function(e){return Buffer.isBuffer(e)&&(e=a(e)),e.map(function(e){if(Buffer.isBuffer(e)){var t=o(e);if(void 0===t)return e.toString("hex");e=t}return b[e]}).join(" ")},toStack:function(e){return e=a(e),h(i,e),e.map(function(e){return Buffer.isBuffer(e)?e:e===p.OP_0?Buffer.allocUnsafe(0):d.encode(e-y)})},number:e("./script_number"),isCanonicalPubKey:function(e){if(!Buffer.isBuffer(e))return!1;if(e.length<33)return!1;switch(e[0]){case 2:case 3:return 33===e.length;case 4:return 65===e.length}return!1},isCanonicalSignature:function(e){return!!Buffer.isBuffer(e)&&!!c(e[e.length-1])&&f.check(e.slice(0,-1))},isPushOnly:i,isDefinedHashType:c};var v=e("./templates");for(var m in v)t.exports[m]=v[m]},{"./script_number":46,"./templates":47,"./types":71,bip66:32,"bitcoin-ops":33,"bitcoin-ops/map":34,"pushdata-bitcoin":294,"safe-buffer":313,typeforce:354}],46:[function(e,t,r){var Buffer=e("safe-buffer").Buffer;t.exports={decode:function(e,t,r){t=t||4,r=void 0===r||r;var n=e.length;if(0===n)return 0;if(n>t)throw new TypeError("Script number overflow");if(r&&0==(127&e[n-1])&&(n<=1||0==(128&e[n-2])))throw new Error("Non-minimally encoded script number");if(5===n){var i=e.readUInt32LE(0),o=e.readUInt8(4);return 128&o?-(4294967296*(-129&o)+i):4294967296*o+i}for(var s=0,a=0;a<n;++a)s|=e[a]<<8*a;return 128&e[n-1]?-(s&~(128<<8*(n-1))):s},encode:function(e){for(var t=Math.abs(e),r=t>2147483647?5:t>8388607?4:t>32767?3:t>127?2:t>0?1:0,n=Buffer.allocUnsafe(r),i=e<0,o=0;o<r;++o)n.writeUInt8(255&t,o),t>>=8;return 128&n[r-1]?n.writeUInt8(i?128:0,r-1):i&&(n[r-1]|=128),n}}},{"safe-buffer":313}],47:[function(e,t,r){var n=e("../script").decompile,i=e("./multisig"),o=e("./nulldata"),s=e("./pubkey"),a=e("./pubkeyhash"),c=e("./scripthash"),f=e("./witnesspubkeyhash"),u=e("./witnessscripthash"),h=e("./witnesscommitment"),l={MULTISIG:"multisig",NONSTANDARD:"nonstandard",NULLDATA:"nulldata",P2PK:"pubkey",P2PKH:"pubkeyhash",P2SH:"scripthash",P2WPKH:"witnesspubkeyhash",P2WSH:"witnessscripthash",WITNESS_COMMITMENT:"witnesscommitment"};t.exports={classifyInput:function(e,t){var r=n(e);return a.input.check(r)?l.P2PKH:i.input.check(r,t)?l.MULTISIG:c.input.check(r,t)?l.P2SH:s.input.check(r)?l.P2PK:l.NONSTANDARD},classifyOutput:function(e){if(f.output.check(e))return l.P2WPKH;if(u.output.check(e))return l.P2WSH;if(a.output.check(e))return l.P2PKH;if(c.output.check(e))return l.P2SH;var t=n(e);return i.output.check(t)?l.MULTISIG:s.output.check(t)?l.P2PK:h.output.check(t)?l.WITNESS_COMMITMENT:o.output.check(t)?l.NULLDATA:l.NONSTANDARD},classifyWitness:function(e,t){var r=n(e);return f.input.check(r)?l.P2WPKH:u.input.check(r,t)?l.P2WSH:l.NONSTANDARD},multisig:i,nullData:o,pubKey:s,pubKeyHash:a,scriptHash:c,witnessPubKeyHash:f,witnessScriptHash:u,witnessCommitment:h,types:l}},{"../script":45,"./multisig":48,"./nulldata":51,"./pubkey":52,"./pubkeyhash":55,"./scripthash":58,"./witnesscommitment":61,"./witnesspubkeyhash":63,"./witnessscripthash":66}],48:[function(e,t,r){t.exports={input:e("./input"),output:e("./output")}},{"./input":49,"./output":50}],49:[function(e,t,r){function n(e){return e===f.OP_0||a.isCanonicalSignature(e)}function i(e,t){var r=a.decompile(e);return!(r.length<2)&&(r[0]===f.OP_0&&(t?r.slice(1).every(n):r.slice(1).every(a.isCanonicalSignature)))}function o(e,t){if(c([n],e),t){var r=a.multisig.output.decode(t);if(e.length<r.m)throw new TypeError("Not enough signatures provided");if(e.length>r.pubKeys.length)throw new TypeError("Too many signatures provided")}return[].concat(u,e.map(function(e){return e===f.OP_0?u:e}))}function s(e,t){return c(i,e,t),e.slice(1)}var Buffer=e("safe-buffer").Buffer,a=e("../../script"),c=e("typeforce"),f=e("bitcoin-ops");i.toJSON=function(){return"multisig input"};var u=Buffer.allocUnsafe(0);t.exports={check:i,decode:function(e,t){return s(a.decompile(e),t)},decodeStack:s,encode:function(e,t){return a.compile(o(e,t))},encodeStack:o}},{"../../script":45,"bitcoin-ops":33,"safe-buffer":313,typeforce:354}],50:[function(e,t,r){function n(e,t){var r=i.decompile(e);if(r.length<4)return!1;if(r[r.length-1]!==a.OP_CHECKMULTISIG)return!1;if(!o.Number(r[0]))return!1;if(!o.Number(r[r.length-2]))return!1;var n=r[0]-c,s=r[r.length-2]-c;if(n<=0)return!1;if(s>16)return!1;if(n>s)return!1;if(s!==r.length-3)return!1;if(t)return!0;return r.slice(1,-2).every(i.isCanonicalPubKey)}var i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops"),c=a.OP_RESERVED;n.toJSON=function(){return"multi-sig output"},t.exports={check:n,decode:function(e,t){var r=i.decompile(e);return s(n,r,t),{m:r[0]-c,pubKeys:r.slice(1,-2)}},encode:function(e,t){s({m:o.Number,pubKeys:[i.isCanonicalPubKey]},{m:e,pubKeys:t});var r=t.length;if(r<e)throw new TypeError("Not enough pubKeys provided");return i.compile([].concat(c+e,t,c+r,a.OP_CHECKMULTISIG))}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,typeforce:354}],51:[function(e,t,r){function n(e){var t=i.compile(e);return t.length>1&&t[0]===a.OP_RETURN}var i=e("../script"),o=e("../types"),s=e("typeforce"),a=e("bitcoin-ops");n.toJSON=function(){return"null data output"},t.exports={output:{check:n,decode:function(e){return s(n,e),e.slice(2)},encode:function(e){return s(o.Buffer,e),i.compile([a.OP_RETURN,e])}}}},{"../script":45,"../types":71,"bitcoin-ops":33,typeforce:354}],52:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./input":53,"./output":54,dup:48}],53:[function(e,t,r){function n(e){var t=s.decompile(e);return 1===t.length&&s.isCanonicalSignature(t[0])}function i(e){return a(s.isCanonicalSignature,e),[e]}function o(e){return a(n,e),e[0]}var s=e("../../script"),a=e("typeforce");n.toJSON=function(){return"pubKey input"},t.exports={check:n,decode:function(e){return o(s.decompile(e))},decodeStack:o,encode:function(e){return s.compile(i(e))},encodeStack:i}},{"../../script":45,typeforce:354}],54:[function(e,t,r){function n(e){var t=i.decompile(e);return 2===t.length&&i.isCanonicalPubKey(t[0])&&t[1]===s.OP_CHECKSIG}var i=e("../../script"),o=e("typeforce"),s=e("bitcoin-ops");n.toJSON=function(){return"pubKey output"},t.exports={check:n,decode:function(e){var t=i.decompile(e);return o(n,t),t[0]},encode:function(e){return o(i.isCanonicalPubKey,e),i.compile([e,s.OP_CHECKSIG])}}},{"../../script":45,"bitcoin-ops":33,typeforce:354}],55:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./input":56,"./output":57,dup:48}],56:[function(e,t,r){function n(e){var t=s.decompile(e);return 2===t.length&&s.isCanonicalSignature(t[0])&&s.isCanonicalPubKey(t[1])}function i(e,t){return a({signature:s.isCanonicalSignature,pubKey:s.isCanonicalPubKey},{signature:e,pubKey:t}),[e,t]}function o(e){return a(n,e),{signature:e[0],pubKey:e[1]}}var s=e("../../script"),a=e("typeforce");n.toJSON=function(){return"pubKeyHash input"},t.exports={check:n,decode:function(e){return o(s.decompile(e))},decodeStack:o,encode:function(e,t){return s.compile(i(e,t))},encodeStack:i}},{"../../script":45,typeforce:354}],57:[function(e,t,r){function n(e){var t=i.compile(e);return 25===t.length&&t[0]===a.OP_DUP&&t[1]===a.OP_HASH160&&20===t[2]&&t[23]===a.OP_EQUALVERIFY&&t[24]===a.OP_CHECKSIG}var i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops");n.toJSON=function(){return"pubKeyHash output"},t.exports={check:n,decode:function(e){return s(n,e),e.slice(3,23)},encode:function(e){return s(o.Hash160bit,e),i.compile([a.OP_DUP,a.OP_HASH160,e,a.OP_EQUALVERIFY,a.OP_CHECKSIG])}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,typeforce:354}],58:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./input":59,"./output":60,dup:48}],59:[function(e,t,r){function n(e,t){var r=s.decompile(e);if(r.length<1)return!1;var n=r[r.length-1];if(!Buffer.isBuffer(n))return!1;var i=s.decompile(s.compile(r.slice(0,-1))),o=s.decompile(n);if(0===o.length)return!1;if(!s.isPushOnly(i))return!1;var a=s.classifyInput(i,t),c=s.classifyOutput(o);return 1===r.length?c===s.types.P2WSH||c===s.types.P2WPKH:a===c}function i(e,t){var r=s.compile(t);return[].concat(e,r)}function o(e){return a(n,e),{redeemScriptStack:e.slice(0,-1),redeemScript:e[e.length-1]}}var Buffer=e("safe-buffer").Buffer,s=e("../../script"),a=e("typeforce");n.toJSON=function(){return"scriptHash input"},t.exports={check:n,decode:function(e){var t=o(s.decompile(e));return t.redeemScriptSig=s.compile(t.redeemScriptStack),delete t.redeemScriptStack,t},decodeStack:o,encode:function(e,t){var r=s.decompile(e);return s.compile(i(r,t))},encodeStack:i}},{"../../script":45,"safe-buffer":313,typeforce:354}],60:[function(e,t,r){function n(e){var t=i.compile(e);return 23===t.length&&t[0]===a.OP_HASH160&&20===t[1]&&t[22]===a.OP_EQUAL}var i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops");n.toJSON=function(){return"scriptHash output"},t.exports={check:n,decode:function(e){return s(n,e),e.slice(2,22)},encode:function(e){return s(o.Hash160bit,e),i.compile([a.OP_HASH160,e,a.OP_EQUAL])}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,typeforce:354}],61:[function(e,t,r){t.exports={output:e("./output")}},{"./output":62}],62:[function(e,t,r){function n(e){var t=i.compile(e);return t.length>37&&t[0]===a.OP_RETURN&&36===t[1]&&t.slice(2,6).equals(c)}var Buffer=e("safe-buffer").Buffer,i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops"),c=Buffer.from("aa21a9ed","hex");n.toJSON=function(){return"Witness commitment output"},t.exports={check:n,decode:function(e){return s(n,e),i.decompile(e)[1].slice(4,36)},encode:function(e){s(o.Hash256bit,e);var t=Buffer.allocUnsafe(36);return c.copy(t,0),e.copy(t,4),i.compile([a.OP_RETURN,t])}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,"safe-buffer":313,typeforce:354}],63:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./input":64,"./output":65,dup:48}],64:[function(e,t,r){function n(e){return o.isCanonicalPubKey(e)&&33===e.length}function i(e){var t=o.decompile(e);return 2===t.length&&o.isCanonicalSignature(t[0])&&n(t[1])}var o=e("../../script"),s=e("typeforce");i.toJSON=function(){return"witnessPubKeyHash input"},t.exports={check:i,decodeStack:function(e){return s(i,e),{signature:e[0],pubKey:e[1]}},encodeStack:function(e,t){return s({signature:o.isCanonicalSignature,pubKey:n},{signature:e,pubKey:t}),[e,t]}}},{"../../script":45,typeforce:354}],65:[function(e,t,r){function n(e){var t=i.compile(e);return 22===t.length&&t[0]===a.OP_0&&20===t[1]}var i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops");n.toJSON=function(){return"Witness pubKeyHash output"},t.exports={check:n,decode:function(e){return s(n,e),e.slice(2)},encode:function(e){return s(o.Hash160bit,e),i.compile([a.OP_0,e])}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,typeforce:354}],66:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./input":67,"./output":68,dup:48}],67:[function(e,t,r){var n=e("../scripthash/input");t.exports={check:n.check,decodeStack:n.decodeStack,encodeStack:n.encodeStack}},{"../scripthash/input":59}],68:[function(e,t,r){function n(e){var t=i.compile(e);return 34===t.length&&t[0]===a.OP_0&&32===t[1]}var i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops");n.toJSON=function(){return"Witness scriptHash output"},t.exports={check:n,decode:function(e){return s(n,e),e.slice(2)},encode:function(e){return s(o.Hash256bit,e),i.compile([a.OP_0,e])}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,typeforce:354}],69:[function(e,t,r){function n(e){var t=e.length;return l.encodingLength(t)+t}function i(){this.version=1,this.locktime=0,this.ins=[],this.outs=[]}var Buffer=e("safe-buffer").Buffer,o=e("buffer-reverse"),s=e("./crypto"),a=e("./script"),c=e("./bufferutils"),f=e("bitcoin-ops"),u=e("typeforce"),h=e("./types"),l=e("varuint-bitcoin");i.DEFAULT_SEQUENCE=4294967295,i.SIGHASH_ALL=1,i.SIGHASH_NONE=2,i.SIGHASH_SINGLE=3,i.SIGHASH_ANYONECANPAY=128,i.SIGHASH_BITCOINCASHBIP143=64,i.ADVANCED_TRANSACTION_MARKER=0,i.ADVANCED_TRANSACTION_FLAG=1,i.FORKID_BTG=79,i.FORKID_BCH=0;var d=Buffer.allocUnsafe(0),p=[],b=Buffer.from("0000000000000000000000000000000000000000000000000000000000000000","hex"),y=Buffer.from("0000000000000000000000000000000000000000000000000000000000000001","hex"),v=Buffer.from("ffffffffffffffff","hex"),m={script:d,valueBuffer:v};i.fromBuffer=function(e,t){function r(t){return u+=t,e.slice(u-t,u)}function n(){var t=e.readUInt32LE(u);return u+=4,t}function o(){var t=c.readUInt64LE(e,u);return u+=8,t}function s(){var t=l.decode(e,u);return u+=l.decode.bytes,t}function a(){return r(s())}function f(){for(var e=s(),t=[],r=0;r<e;r++)t.push(a());return t}var u=0,h=new i;h.version=function(){var t=e.readInt32LE(u);return u+=4,t}();var d=e.readUInt8(u),b=e.readUInt8(u+1),y=!1;d===i.ADVANCED_TRANSACTION_MARKER&&b===i.ADVANCED_TRANSACTION_FLAG&&(u+=2,y=!0);for(var v=s(),m=0;m<v;++m)h.ins.push({hash:r(32),index:n(),script:a(),sequence:n(),witness:p});var g=s();for(m=0;m<g;++m)h.outs.push({value:o(),script:a()});if(y){for(m=0;m<v;++m)h.ins[m].witness=f();if(!h.hasWitnesses())throw new Error("Transaction has superfluous witness data")}if(h.locktime=n(),t)return h;if(u!==e.length)throw new Error("Transaction has unexpected data");return h},i.fromHex=function(e){return i.fromBuffer(Buffer.from(e,"hex"))},i.isCoinbaseHash=function(e){u(h.Hash256bit,e);for(var t=0;t<32;++t)if(0!==e[t])return!1;return!0},i.prototype.isCoinbase=function(){return 1===this.ins.length&&i.isCoinbaseHash(this.ins[0].hash)},i.prototype.addInput=function(e,t,r,n){return u(h.tuple(h.Hash256bit,h.UInt32,h.maybe(h.UInt32),h.maybe(h.Buffer)),arguments),h.Null(r)&&(r=i.DEFAULT_SEQUENCE),this.ins.push({hash:e,index:t,script:n||d,sequence:r,witness:p})-1},i.prototype.addOutput=function(e,t){return u(h.tuple(h.Buffer,h.Satoshi),arguments),this.outs.push({script:e,value:t})-1},i.prototype.hasWitnesses=function(){return this.ins.some(function(e){return 0!==e.witness.length})},i.prototype.weight=function(){return 3*this.__byteLength(!1)+this.__byteLength(!0)},i.prototype.virtualSize=function(){return Math.ceil(this.weight()/4)},i.prototype.byteLength=function(){return this.__byteLength(!0)},i.prototype.__byteLength=function(e){var t=e&&this.hasWitnesses();return(t?10:8)+l.encodingLength(this.ins.length)+l.encodingLength(this.outs.length)+this.ins.reduce(function(e,t){return e+40+n(t.script)},0)+this.outs.reduce(function(e,t){return e+8+n(t.script)},0)+(t?this.ins.reduce(function(e,t){return e+function(e){var t=e.length;return l.encodingLength(t)+e.reduce(function(e,t){return e+n(t)},0)}(t.witness)},0):0)},i.prototype.clone=function(){var e=new i;return e.version=this.version,e.locktime=this.locktime,e.ins=this.ins.map(function(e){return{hash:e.hash,index:e.index,script:e.script,sequence:e.sequence,witness:e.witness}}),e.outs=this.outs.map(function(e){return{script:e.script,value:e.value}}),e},i.prototype.hashForSignature=function(e,t,r){if(u(h.tuple(h.UInt32,h.Buffer,h.Number),arguments),e>=this.ins.length)return y;var n=a.compile(a.decompile(t).filter(function(e){return e!==f.OP_CODESEPARATOR})),o=this.clone();if((31&r)===i.SIGHASH_NONE)o.outs=[],o.ins.forEach(function(t,r){r!==e&&(t.sequence=0)});else if((31&r)===i.SIGHASH_SINGLE){if(e>=this.outs.length)return y;o.outs.length=e+1;for(var c=0;c<e;c++)o.outs[c]=m;o.ins.forEach(function(t,r){r!==e&&(t.sequence=0)})}r&i.SIGHASH_ANYONECANPAY?(o.ins=[o.ins[e]],o.ins[0].script=n):(o.ins.forEach(function(e){e.script=d}),o.ins[e].script=n);var l=Buffer.allocUnsafe(o.__byteLength(!1)+4);return l.writeInt32LE(r,l.length-4),o.__toBuffer(l,0,!1),s.hash256(l)},i.prototype.hashForWitnessV0=function(e,t,r,o){function a(e){v+=e.copy(y,v)}function f(e){v=y.writeUInt32LE(e,v)}function d(e){v=c.writeUInt64LE(y,e,v)}function p(e){!function(e){l.encode(e,y,v),v+=l.encode.bytes}(e.length),a(e)}u(h.tuple(h.UInt32,h.Buffer,h.Satoshi,h.UInt32),arguments);var y,v,m=b,g=b,w=b;if(o&i.SIGHASH_ANYONECANPAY||(y=Buffer.allocUnsafe(36*this.ins.length),v=0,this.ins.forEach(function(e){a(e.hash),f(e.index)}),g=s.hash256(y)),o&i.SIGHASH_ANYONECANPAY||(31&o)===i.SIGHASH_SINGLE||(31&o)===i.SIGHASH_NONE||(y=Buffer.allocUnsafe(4*this.ins.length),v=0,this.ins.forEach(function(e){f(e.sequence)}),w=s.hash256(y)),(31&o)!==i.SIGHASH_SINGLE&&(31&o)!==i.SIGHASH_NONE){var _=this.outs.reduce(function(e,t){return e+8+n(t.script)},0);y=Buffer.allocUnsafe(_),v=0,this.outs.forEach(function(e){d(e.value),p(e.script)}),m=s.hash256(y)}else if((31&o)===i.SIGHASH_SINGLE&&e<this.outs.length){var E=this.outs[e];y=Buffer.allocUnsafe(8+n(E.script)),v=0,d(E.value),p(E.script),m=s.hash256(y)}y=Buffer.allocUnsafe(156+n(t)),v=0;var S=this.ins[e];return f(this.version),a(g),a(w),a(S.hash),f(S.index),p(t),d(r),f(S.sequence),a(m),f(this.locktime),f(o),s.hash256(y)},i.prototype.hashForCashSignature=function(e,t,r,n){if(u(h.tuple(h.UInt32,h.Buffer,h.Number,h.maybe(h.UInt53)),arguments),n&i.SIGHASH_BITCOINCASHBIP143){if(h.Null(r))throw new Error("Bitcoin Cash sighash requires value of input to be signed.");return this.hashForWitnessV0(e,t,r,n)}return this.hashForSignature(e,t,n)},i.prototype.hashForGoldSignature=function(e,t,r,n,o){u(h.tuple(h.UInt32,h.Buffer,h.Number,h.maybe(h.UInt53)),arguments);var s=n,a=(n&i.SIGHASH_BITCOINCASHBIP143)>0;if(a&&(s|=i.FORKID_BTG<<8),o||a){if(h.Null(r))throw new Error("Bitcoin Cash sighash requires value of input to be signed.");return this.hashForWitnessV0(e,t,r,s)}return this.hashForSignature(e,t,s)},i.prototype.getHash=function(){return s.hash256(this.__toBuffer(void 0,void 0,!1))},i.prototype.getId=function(){return o(this.getHash()).toString("hex")},i.prototype.toBuffer=function(e,t){return this.__toBuffer(e,t,!0)},i.prototype.__toBuffer=function(e,t,r){function n(t){u+=t.copy(e,u)}function o(t){u=e.writeUInt8(t,u)}function s(t){u=e.writeUInt32LE(t,u)}function a(t){l.encode(t,e,u),u+=l.encode.bytes}function f(e){a(e.length),n(e)}e||(e=Buffer.allocUnsafe(this.__byteLength(r)));var u=t||0;!function(t){u=e.writeInt32LE(t,u)}(this.version);var h=r&&this.hasWitnesses();return h&&(o(i.ADVANCED_TRANSACTION_MARKER),o(i.ADVANCED_TRANSACTION_FLAG)),a(this.ins.length),this.ins.forEach(function(e){n(e.hash),s(e.index),f(e.script),s(e.sequence)}),a(this.outs.length),this.outs.forEach(function(t){t.valueBuffer?n(t.valueBuffer):function(t){u=c.writeUInt64LE(e,t,u)}(t.value),f(t.script)}),h&&this.ins.forEach(function(e){!function(e){a(e.length),e.forEach(f)}(e.witness)}),s(this.locktime),void 0!==t?e.slice(t,u):e},i.prototype.toHex=function(){return this.toBuffer().toString("hex")},i.prototype.setInputScript=function(e,t){u(h.tuple(h.Number,h.Buffer),arguments),this.ins[e].script=t},i.prototype.setWitness=function(e,t){u(h.tuple(h.Number,[h.Buffer]),arguments),this.ins[e].witness=t},t.exports=i},{"./bufferutils":37,"./crypto":38,"./script":45,"./types":71,"bitcoin-ops":33,"buffer-reverse":103,"safe-buffer":313,typeforce:354,"varuint-bitcoin":363}],70:[function(e,t,r){function n(e){return-1!==E.indexOf(e)}function i(e){return-1!==S.indexOf(e)}function o(e,t){if(0===e.length&&0===t.length)return{};var r,o,s,a,c,f,u,h,l,d,p=!1,v=!1,m=!1,g=y.decompile(e);y.classifyInput(g,!0)===_.P2SH&&(m=!0,c=g[g.length-1],h=y.classifyOutput(c),r=y.scriptHash.output.encode(b.hash160(c)),o=_.P2SH,a=c);var w=y.classifyWitness(t,!0);if(w===_.P2WSH){if(f=t[t.length-1],u=y.classifyOutput(f),v=!0,p=!0,0===e.length){if(r=y.witnessScriptHash.output.encode(b.sha256(f)),o=_.P2WSH,void 0!==c)throw new Error("Redeem script given when unnecessary")}else{if(!c)throw new Error("No redeemScript provided for P2WSH, but scriptSig non-empty");if(l=y.witnessScriptHash.output.encode(b.sha256(f)),!c.equals(l))throw new Error("Redeem script didn't match witnessScript")}if(!n(y.classifyOutput(f)))throw new Error("unsupported witness script");a=f,s=u,d=t.slice(0,-1)}else if(w===_.P2WPKH){p=!0;var E=t[t.length-1],S=b.hash160(E);if(0===e.length){if(r=y.witnessPubKeyHash.output.encode(S),o=_.P2WPKH,void 0!==c)throw new Error("Redeem script given when unnecessary")}else{if(!c)throw new Error("No redeemScript provided for P2WPKH, but scriptSig wasn't empty");if(l=y.witnessPubKeyHash.output.encode(S),!c.equals(l))throw new Error("Redeem script did not have the right witness program")}s=_.P2PKH,d=t}else if(c){if(!i(h))throw new Error("Bad redeemscript!");a=c,s=h,d=g.slice(0,-1)}else o=s=y.classifyInput(e),d=g;var k=function(e,t,r){var n=[],i=[];switch(e){case _.P2PKH:n=t.slice(1),i=t.slice(0,1);break;case _.P2PK:n[0]=r?y.pubKey.output.decode(r):void 0,i=t.slice(0,1);break;case _.MULTISIG:r&&(n=y.multisig.output.decode(r).pubKeys),i=t.slice(1).map(function(e){return 0===e.length?void 0:e})}return{pubKeys:n,signatures:i}}(s,d,a),A={pubKeys:k.pubKeys,signatures:k.signatures,prevOutScript:r,prevOutType:o,signType:s,signScript:a,witness:Boolean(p)};return m&&(A.redeemScript=c,A.redeemScriptType=h),v&&(A.witnessScript=f,A.witnessScriptType=u),A}function s(e,t,r){g(w.Buffer,e);var n=y.decompile(e);t||(t=y.classifyOutput(e));var i=[];switch(t){case _.P2PKH:if(!r)break;var o=n[2],s=b.hash160(r);o.equals(s)&&(i=[r]);break;case _.P2WPKH:if(!r)break;var a=n[1],c=b.hash160(r);a.equals(c)&&(i=[r]);break;case _.P2PK:i=n.slice(0,1);break;case _.MULTISIG:i=n.slice(1,-2);break;default:return{scriptType:t}}return{pubKeys:i,scriptType:t,signatures:i.map(function(){})}}function a(e,t){if(e.prevOutType){if(e.prevOutType!==_.P2SH)throw new Error("PrevOutScript must be P2SH");if(!y.decompile(e.prevOutScript)[1].equals(t))throw new Error("Inconsistent hash160(RedeemScript)")}}function c(e,t,r,n,i){var o,c,f,u,h,l,d,p,v,m=!1,E=!1,S=!1;if(r&&i){if(h=b.hash160(r),d=b.sha256(i),a(e,h),!r.equals(y.witnessScriptHash.output.encode(d)))throw new Error("Witness script inconsistent with redeem script");if(!(o=s(i,void 0,t)).pubKeys)throw new Error('WitnessScript not supported "'+y.toASM(r)+'"');c=y.types.P2SH,f=y.scriptHash.output.encode(h),m=E=S=!0,u=y.types.P2WSH,p=l=o.scriptType,v=i}else if(r){if(h=b.hash160(r),a(e,h),!(o=s(r,void 0,t)).pubKeys)throw new Error('RedeemScript not supported "'+y.toASM(r)+'"');c=y.types.P2SH,f=y.scriptHash.output.encode(h),m=!0,v=r,E=(p=u=o.scriptType)===y.types.P2WPKH}else if(i){if(d=b.sha256(i),function(e,t){if(e.prevOutType){if(e.prevOutType!==_.P2WSH)throw new Error("PrevOutScript must be P2WSH");if(!y.decompile(e.prevOutScript)[1].equals(t))throw new Error("Inconsistent sha25(WitnessScript)")}}(e,d),!(o=s(i,void 0,t)).pubKeys)throw new Error('WitnessScript not supported "'+y.toASM(r)+'"');c=y.types.P2WSH,f=y.witnessScriptHash.output.encode(d),E=S=!0,p=l=o.scriptType,v=i}else if(e.prevOutType){if(e.prevOutType===_.P2SH||e.prevOutType===_.P2WSH)throw new Error("PrevOutScript is "+e.prevOutType+", requires redeemScript");if(c=e.prevOutType,f=e.prevOutScript,!(o=s(e.prevOutScript,e.prevOutType,t)).pubKeys)return;E=e.prevOutType===_.P2WPKH,p=c,v=f}else o=s(f=y.pubKeyHash.output.encode(b.hash160(t)),_.P2PKH,t),E=!1,p=c=_.P2PKH,v=f;if(void 0!==n||E){if(g(w.Satoshi,n),void 0!==e.value&&e.value!==n)throw new Error("Input didn't match witnessValue");e.value=n}p===_.P2WPKH&&(v=y.pubKeyHash.output.encode(y.witnessPubKeyHash.output.decode(v))),m&&(e.redeemScript=r,e.redeemScriptType=u),S&&(e.witnessScript=i,e.witnessScriptType=l),e.pubKeys=o.pubKeys,e.signatures=o.signatures,e.signScript=v,e.signType=p,e.prevOutScript=f,e.prevOutType=c,e.witness=E}function f(e,t,r,n){if(e===_.P2PKH){if(1===t.length&&Buffer.isBuffer(t[0])&&1===r.length)return y.pubKeyHash.input.encodeStack(t[0],r[0])}else if(e===_.P2PK){if(1===t.length&&Buffer.isBuffer(t[0]))return y.pubKey.input.encodeStack(t[0])}else{if(e!==_.MULTISIG)throw new Error("Not yet supported");if(t.length>0)return t=t.map(function(e){return e||m.OP_0}),n||(t=t.filter(function(e){return e!==m.OP_0})),y.multisig.input.encodeStack(t)}if(!n)throw new Error("Not enough signatures provided");return[]}function u(e,t){this.prevTxMap={},this.network=e||v.bitcoin,this.maximumFeeRate=t||1e3,this.inputs=[],this.bitcoinCash=!1,this.bitcoinGold=!1,this.tx=new A}function h(e){return void 0!==e.prevOutScript&&void 0!==e.signScript&&void 0!==e.pubKeys&&void 0!==e.signatures&&e.signatures.length===e.pubKeys.length&&e.pubKeys.length>0&&void 0!==e.witness}function l(e){return e.readUInt8(e.length-1)}var Buffer=e("safe-buffer").Buffer,d=e("buffer-reverse"),p=e("./address"),b=e("./crypto"),y=e("./script"),v=e("./networks"),m=e("bitcoin-ops"),g=e("typeforce"),w=e("./types"),_=y.types,E=[y.types.P2PKH,y.types.P2PK,y.types.MULTISIG],S=E.concat([y.types.P2WPKH,y.types.P2WSH]),ECPair=e("./ecpair"),k=e("./ecsignature"),A=e("./transaction");u.prototype.enableBitcoinCash=function(e){void 0===e&&(e=!0),this.bitcoinCash=e},u.prototype.enableBitcoinGold=function(e){void 0===e&&(e=!0),this.bitcoinGold=e},u.prototype.setLockTime=function(e){if(g(w.UInt32,e),this.inputs.some(function(e){return!!e.signatures&&e.signatures.some(function(e){return e})}))throw new Error("No, this would invalidate signatures");this.tx.locktime=e},u.prototype.setVersion=function(e){g(w.UInt32,e),this.tx.version=e},u.fromTransaction=function(e,t,r){var n=new u(t);return"number"==typeof r&&(r===A.FORKID_BTG?n.enableBitcoinGold(!0):r===A.FORKID_BCH&&n.enableBitcoinCash(!0)),n.setVersion(e.version),n.setLockTime(e.locktime),e.outs.forEach(function(e){n.addOutput(e.script,e.value)}),e.ins.forEach(function(e){n.__addInputUnsafe(e.hash,e.index,{sequence:e.sequence,script:e.script,witness:e.witness,value:e.value})}),n.inputs.forEach(function(t,n){!function(e,t,r,n,i){if(e.signType===_.MULTISIG&&e.signScript&&e.pubKeys.length!==e.signatures.length){var o=e.signatures.concat();e.signatures=e.pubKeys.map(function(s){var a,c=ECPair.fromPublicKeyBuffer(s);return o.some(function(s,f){if(!s)return!1;var u,h=k.parseScriptSignature(s);switch(i){case A.FORKID_BCH:u=t.hashForCashSignature(r,e.signScript,n,h.hashType);break;case A.FORKID_BTG:u=t.hashForGoldSignature(r,e.signScript,n,h.hashType);break;default:u=e.witness?t.hashForWitnessV0(r,e.signScript,n,h.hashType):t.hashForSignature(r,e.signScript,h.hashType)}return!!c.verify(u,h.signature)&&(o[f]=void 0,a=s,!0)}),a})}}(t,e,n,t.value,r)}),n},u.prototype.addInput=function(e,t,r,n){if(!this.__canModifyInputs())throw new Error("No, this would invalidate signatures");var i;if("string"==typeof e)e=d(Buffer.from(e,"hex"));else if(e instanceof A){var o=e.outs[t];n=o.script,i=o.value,e=e.getHash()}return this.__addInputUnsafe(e,t,{sequence:r,prevOutScript:n,value:i})},u.prototype.__addInputUnsafe=function(e,t,r){if(A.isCoinbaseHash(e))throw new Error("coinbase inputs not supported");var n=e.toString("hex")+":"+t;if(void 0!==this.prevTxMap[n])throw new Error("Duplicate TxOut: "+n);var i={};if(void 0!==r.script&&(i=o(r.script,r.witness||[])),void 0!==r.value&&(i.value=r.value),!i.prevOutScript&&r.prevOutScript){var a;if(!i.pubKeys&&!i.signatures){var c=s(r.prevOutScript);c.pubKeys&&(i.pubKeys=c.pubKeys,i.signatures=c.signatures),a=c.scriptType}i.prevOutScript=r.prevOutScript,i.prevOutType=a||y.classifyOutput(r.prevOutScript)}var f=this.tx.addInput(e,t,r.sequence,r.scriptSig);return this.inputs[f]=i,this.prevTxMap[n]=f,f},u.prototype.addOutput=function(e,t){if(!this.__canModifyOutputs())throw new Error("No, this would invalidate signatures");return"string"==typeof e&&(e=p.toOutputScript(e,this.network)),this.tx.addOutput(e,t)},u.prototype.build=function(){return this.__build(!1)},u.prototype.buildIncomplete=function(){return this.__build(!0)},u.prototype.__build=function(e){if(!e){if(!this.tx.ins.length)throw new Error("Transaction has no inputs");if(!this.tx.outs.length)throw new Error("Transaction has no outputs")}var t=this.tx.clone();if(this.inputs.forEach(function(r,o){if(!(r.witnessScriptType||r.redeemScriptType||r.prevOutType)&&!e)throw new Error("Transaction is not complete");var s=function(e,t){var r=e.prevOutType,o=[],s=[];n(r)&&(o=f(r,e.signatures,e.pubKeys,t));var a=!1;if(r===y.types.P2SH){if(!t&&!i(e.redeemScriptType))throw new Error("Impossible to sign this type");n(e.redeemScriptType)&&(o=f(e.redeemScriptType,e.signatures,e.pubKeys,t)),e.redeemScriptType&&(a=!0,r=e.redeemScriptType)}switch(r){case y.types.P2WPKH:s=f(y.types.P2PKH,e.signatures,e.pubKeys,t);break;case y.types.P2WSH:if(!t&&!n(e.witnessScriptType))throw new Error("Impossible to sign this type");n(e.witnessScriptType)&&((s=f(e.witnessScriptType,e.signatures,e.pubKeys,t)).push(e.witnessScript),r=e.witnessScriptType)}return a&&o.push(e.redeemScript),{type:r,script:y.compile(o),witness:s}}(r,e);if(!e&&!n(s.type)&&s.type!==y.types.P2WPKH)throw new Error(s.type+" not supported");t.setInputScript(o,s.script),t.setWitness(o,s.witness)}),!e&&this.__overMaximumFees(t.virtualSize()))throw new Error("Transaction has absurd fees");return t},u.prototype.sign=function(e,t,r,n,i,o){if(t.network!==this.network)throw new Error("Inconsistent network");if(!this.inputs[e])throw new Error("No input at index: "+e);n=n||A.SIGHASH_ALL;var s=this.inputs[e];if(void 0!==s.redeemScript&&r&&!s.redeemScript.equals(r))throw new Error("Inconsistent redeemScript");var a=t.getPublicKeyBuffer();if(!h(s)&&(c(s,a,r,i,o),!h(s)))throw Error(s.prevOutType+" not supported");var f;f=this.bitcoinGold?this.tx.hashForGoldSignature(e,s.signScript,i,n,s.witness):this.bitcoinCash?this.tx.hashForCashSignature(e,s.signScript,i,n):s.witness?this.tx.hashForWitnessV0(e,s.signScript,i,n):this.tx.hashForSignature(e,s.signScript,n);if(!s.pubKeys.some(function(e,r){if(!a.equals(e))return!1;if(s.signatures[r])throw new Error("Signature already exists");if(!t.compressed&&s.signType===_.P2WPKH)throw new Error("BIP143 rejects uncompressed public keys in P2WPKH or P2WSH");return s.signatures[r]=t.sign(f).toScriptSignature(n),!0}))throw new Error("Key pair cannot sign for this input")},u.prototype.__canModifyInputs=function(){return this.inputs.every(function(e){return void 0===e.signatures||e.signatures.every(function(e){if(!e)return!0;return l(e)&A.SIGHASH_ANYONECANPAY})})},u.prototype.__canModifyOutputs=function(){var e=this.tx.ins.length,t=this.tx.outs.length;return this.inputs.every(function(r){return void 0===r.signatures||r.signatures.every(function(r){if(!r)return!0;var n=31&l(r);return n===A.SIGHASH_NONE||(n===A.SIGHASH_SINGLE?e<=t:void 0)})})},u.prototype.__overMaximumFees=function(e){return(this.inputs.reduce(function(e,t){return e+(t.value>>>0)},0)-this.tx.outs.reduce(function(e,t){return e+t.value},0))/e>this.maximumFeeRate},t.exports=u},{"./address":35,"./crypto":38,"./ecpair":40,"./ecsignature":41,"./networks":44,"./script":45,"./transaction":69,"./types":71,"bitcoin-ops":33,"buffer-reverse":103,"safe-buffer":313,typeforce:354}],71:[function(e,t,r){function n(e){return i.String(e)&&e.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}var i=e("typeforce"),o=Math.pow(2,31)-1;n.toJSON=function(){return"BIP32 derivation path"};var s=21e14,a=i.quacksLike("BigInteger"),c=i.quacksLike("Point"),f=i.compile({r:a,s:a}),u=i.compile({messagePrefix:i.oneOf(i.Buffer,i.String),bip32:{public:i.UInt32,private:i.UInt32},pubKeyHash:i.UInt8,scriptHash:i.UInt8,wif:i.UInt8}),h={BigInt:a,BIP32Path:n,Buffer256bit:i.BufferN(32),ECPoint:c,ECSignature:f,Hash160bit:i.BufferN(20),Hash256bit:i.BufferN(32),Network:u,Satoshi:function(e){return i.UInt53(e)&&e<=s},UInt31:function(e){return i.UInt32(e)&&e<=o}};for(var l in i)h[l]=i[l];t.exports=h},{typeforce:354}],72:[function(e,t,r){(function(Buffer){function r(e,t){var r=a.encodingLength(e.length),n=new Buffer(t.length+r+e.length);return n.write(t,0),a.encode(e.length,n,t.length),n.write(e,t.length+r),function(e){var t=o("sha256").update(e).digest();return o("sha256").update(t).digest()}(n)}var n=e("bs58check"),i=e("buffer-equals"),o=e("create-hash"),s=e("secp256k1"),a=e("varuint-bitcoin");t.exports={magicHash:r,sign:function(e,t,n,i){var o=r(e,t),a=s.sign(o,n);return function(e,t,r){return i&&(t+=4),Buffer.concat([new Buffer([t+27]),e])}(a.signature,a.recovery)},verify:function(e,t,a,c){Buffer.isBuffer(c)||(c=new Buffer(c,"base64"));var f=function(e){if(65!==e.length)throw new Error("Invalid signature length");var t=e.readUInt8(0)-27;if(t>7)throw new Error("Invalid signature parameter");return{compressed:!!(4&t),recovery:3&t,signature:e.slice(1)}}(c),u=r(e,t),h=function(e){var t=o("sha256").update(e).digest();return o("ripemd160").update(t).digest()}(s.recover(u,f.signature,f.recovery,f.compressed)),l=n.decode(a).slice(1);return i(h,l)}}}).call(this,e("buffer").Buffer)},{bs58check:75,buffer:105,"buffer-equals":102,"create-hash":130,secp256k1:314,"varuint-bitcoin":363}],73:[function(e,t,r){t.exports=function(e){function t(e){if(0===e.length)return[];for(var t=[0],o=0;o<e.length;o++){var s=r[e[o]];if(void 0===s)return;for(var a=0,c=s;a<t.length;++a)c+=t[a]*n,t[a]=255&c,c>>=8;for(;c>0;)t.push(255&c),c>>=8}for(var f=0;e[f]===i&&f<e.length-1;++f)t.push(0);return t.reverse()}for(var r={},n=e.length,i=e.charAt(0),o=0;o<e.length;o++)r[e.charAt(o)]=o;return{encode:function(t){if(0===t.length)return"";for(var r=[0],i=0;i<t.length;++i){for(var o=0,s=t[i];o<r.length;++o)s+=r[o]<<8,r[o]=s%n,s=s/n|0;for(;s>0;)r.push(s%n),s=s/n|0}for(var a="",c=0;0===t[c]&&c<t.length-1;++c)a+=e[0];for(var f=r.length-1;f>=0;--f)a+=e[r[f]];return a},decodeUnsafe:t,decode:function(e){var r=t(e);if(r)return r;throw new Error("Non-base"+n+" character")}}}},{}],74:[function(e,t,r){var n=e("base-x");t.exports=n("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},{"base-x":73}],75:[function(e,t,r){(function(Buffer){"use strict";function r(e){var t=s("sha256").update(e).digest();return s("sha256").update(t).digest()}function n(e){var t=e.slice(0,-4),n=e.slice(-4),i=r(t);if(!(n[0]^i[0]|n[1]^i[1]|n[2]^i[2]|n[3]^i[3]))return t}function i(e){var t=o.decodeUnsafe(e);if(t){return n(new Buffer(t))}}var o=e("bs58"),s=e("create-hash");t.exports={encode:function(e){var t=r(e);return o.encode(Buffer.concat([e,t],e.length+4))},decode:function(e){var t=o.decode(e),r=n(new Buffer(t));if(!r)throw new Error("Invalid checksum");return r},decodeUnsafe:i,decodeRaw:i}}).call(this,e("buffer").Buffer)},{bs58:74,buffer:105,"create-hash":130}],76:[function(e,t,r){function n(e){this.rand=e}var i;if(t.exports=function(e){return i||(i=new n(null)),i.generate(e)},t.exports.Rand=n,n.prototype.generate=function(e){return this._rand(e)},n.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?n.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?n.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(n.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=e("crypto");if("function"!=typeof o.randomBytes)throw new Error("Not supported");n.prototype._rand=function(e){return o.randomBytes(e)}}catch(e){}},{crypto:77}],77:[function(e,t,r){},{}],78:[function(e,t,r){function n(e){Buffer.isBuffer(e)||(e=Buffer.from(e));for(var t=e.length/4|0,r=new Array(t),n=0;n<t;n++)r[n]=e.readUInt32BE(4*n);return r}function i(e){for(;0<e.length;e++)e[0]=0}function o(e,t,r,n,i){for(var o,s,a,c,f=r[0],u=r[1],h=r[2],l=r[3],d=e[0]^t[0],p=e[1]^t[1],b=e[2]^t[2],y=e[3]^t[3],v=4,m=1;m<i;m++)o=f[d>>>24]^u[p>>>16&255]^h[b>>>8&255]^l[255&y]^t[v++],s=f[p>>>24]^u[b>>>16&255]^h[y>>>8&255]^l[255&d]^t[v++],a=f[b>>>24]^u[y>>>16&255]^h[d>>>8&255]^l[255&p]^t[v++],c=f[y>>>24]^u[d>>>16&255]^h[p>>>8&255]^l[255&b]^t[v++],d=o,p=s,b=a,y=c;return o=(n[d>>>24]<<24|n[p>>>16&255]<<16|n[b>>>8&255]<<8|n[255&y])^t[v++],s=(n[p>>>24]<<24|n[b>>>16&255]<<16|n[y>>>8&255]<<8|n[255&d])^t[v++],a=(n[b>>>24]<<24|n[y>>>16&255]<<16|n[d>>>8&255]<<8|n[255&p])^t[v++],c=(n[y>>>24]<<24|n[d>>>16&255]<<16|n[p>>>8&255]<<8|n[255&b])^t[v++],o>>>=0,s>>>=0,a>>>=0,c>>>=0,[o,s,a,c]}function s(e){this._key=n(e),this._reset()}var Buffer=e("safe-buffer").Buffer,a=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],s=0,a=0,c=0;c<256;++c){var f=a^a<<1^a<<2^a<<3^a<<4;f=f>>>8^255&f^99,r[s]=f,n[f]=s;var u=e[s],h=e[u],l=e[h],d=257*e[f]^16843008*f;i[0][s]=d<<24|d>>>8,i[1][s]=d<<16|d>>>16,i[2][s]=d<<8|d>>>24,i[3][s]=d,d=16843009*l^65537*h^257*u^16843008*s,o[0][f]=d<<24|d>>>8,o[1][f]=d<<16|d>>>16,o[2][f]=d<<8|d>>>24,o[3][f]=d,0===s?s=a=1:(s=u^e[e[e[l^u]]],a^=e[e[a]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();s.blockSize=16,s.keySize=32,s.prototype.blockSize=s.blockSize,s.prototype.keySize=s.keySize,s.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),i=[],o=0;o<t;o++)i[o]=e[o];for(o=t;o<n;o++){var s=i[o-1];o%t==0?(s=s<<8|s>>>24,s=c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s],s^=a[o/t|0]<<24):t>6&&o%t==4&&(s=c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s]),i[o]=i[o-t]^s}for(var f=[],u=0;u<n;u++){var h=n-u,l=i[h-(u%4?0:4)];f[u]=u<4||h<=4?l:c.INV_SUB_MIX[0][c.SBOX[l>>>24]]^c.INV_SUB_MIX[1][c.SBOX[l>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[l>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&l]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=f},s.prototype.encryptBlockRaw=function(e){return e=n(e),o(e,this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},s.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=Buffer.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},s.prototype.decryptBlock=function(e){var t=(e=n(e))[1];e[1]=e[3],e[3]=t;var r=o(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),i=Buffer.allocUnsafe(16);return i.writeUInt32BE(r[0],0),i.writeUInt32BE(r[3],4),i.writeUInt32BE(r[2],8),i.writeUInt32BE(r[1],12),i},s.prototype.scrub=function(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},t.exports.AES=s},{"safe-buffer":313}],79:[function(e,t,r){function n(e,t,r,n){o.call(this);var s=Buffer.alloc(4,0);this._cipher=new i.AES(t);var c=this._cipher.encryptBlock(s);this._ghash=new a(c),r=function(e,t,r){if(12===t.length)return e._finID=Buffer.concat([t,Buffer.from([0,0,0,1])]),Buffer.concat([t,Buffer.from([0,0,0,2])]);var n=new a(r),i=t.length,o=i%16;n.update(t),o&&(o=16-o,n.update(Buffer.alloc(o,0))),n.update(Buffer.alloc(8,0));var s=8*i,c=Buffer.alloc(8);c.writeUIntBE(s,0,8),n.update(c),e._finID=n.state;var u=Buffer.from(e._finID);return f(u),u}(this,r,c),this._prev=Buffer.from(r),this._cache=Buffer.allocUnsafe(0),this._secCache=Buffer.allocUnsafe(0),this._decrypt=n,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}var i=e("./aes"),Buffer=e("safe-buffer").Buffer,o=e("cipher-base"),s=e("inherits"),a=e("./ghash"),c=e("buffer-xor"),f=e("./incr32");s(n,o),n.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=Buffer.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},n.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),i=0;i<n;++i)r+=e[i]^t[i];return r}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},n.prototype.getAuthTag=function(){if(this._decrypt||!Buffer.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},n.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},n.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},t.exports=n},{"./aes":78,"./ghash":83,"./incr32":84,"buffer-xor":104,"cipher-base":109,inherits:248,"safe-buffer":313}],80:[function(e,t,r){var n=e("./encrypter"),i=e("./decrypter"),o=e("./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(o)}},{"./decrypter":81,"./encrypter":82,"./modes/list.json":92}],81:[function(e,t,r){function n(e,t,r){f.call(this),this._cache=new i,this._last=void 0,this._cipher=new u.AES(t),this._prev=Buffer.from(r),this._mode=e,this._autopadding=!0}function i(){this.cache=Buffer.allocUnsafe(0)}function o(e,t,r){var i=a[e.toLowerCase()];if(!i)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=Buffer.from(r)),"GCM"!==i.mode&&r.length!==i.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=Buffer.from(t)),t.length!==i.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===i.type?new c(i.module,t,r,!0):"auth"===i.type?new s(i.module,t,r,!0):new n(i.module,t,r)}var s=e("./authCipher"),Buffer=e("safe-buffer").Buffer,a=e("./modes"),c=e("./streamCipher"),f=e("cipher-base"),u=e("./aes"),h=e("evp_bytestokey");e("inherits")(n,f),n.prototype._update=function(e){this._cache.add(e);for(var t,r,n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return Buffer.concat(n)},n.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){for(var t=e[15],r=-1;++r<t;)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},n.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},i.prototype.add=function(e){this.cache=Buffer.concat([this.cache,e])},i.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},i.prototype.flush=function(){if(this.cache.length)return this.cache},r.createDecipher=function(e,t){var r=a[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=h(t,!1,r.key,r.iv);return o(e,n.key,n.iv)},r.createDecipheriv=o},{"./aes":78,"./authCipher":79,"./modes":91,"./streamCipher":94,"cipher-base":109,evp_bytestokey:231,inherits:248,"safe-buffer":313}],82:[function(e,t,r){function n(e,t,r){f.call(this),this._cache=new i,this._cipher=new u.AES(t),this._prev=Buffer.from(r),this._mode=e,this._autopadding=!0}function i(){this.cache=Buffer.allocUnsafe(0)}function o(e,t,r){var i=s[e.toLowerCase()];if(!i)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=Buffer.from(t)),t.length!==i.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof r&&(r=Buffer.from(r)),"GCM"!==i.mode&&r.length!==i.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===i.type?new c(i.module,t,r):"auth"===i.type?new a(i.module,t,r):new n(i.module,t,r)}var s=e("./modes"),a=e("./authCipher"),Buffer=e("safe-buffer").Buffer,c=e("./streamCipher"),f=e("cipher-base"),u=e("./aes"),h=e("evp_bytestokey");e("inherits")(n,f),n.prototype._update=function(e){this._cache.add(e);for(var t,r,n=[];t=this._cache.get();)r=this._mode.encrypt(this,t),n.push(r);return Buffer.concat(n)};var l=Buffer.alloc(16,16);n.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(l))throw this._cipher.scrub(),new Error("data not multiple of block length")},n.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},i.prototype.add=function(e){this.cache=Buffer.concat([this.cache,e])},i.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},i.prototype.flush=function(){for(var e=16-this.cache.length,t=Buffer.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return Buffer.concat([this.cache,t])},r.createCipheriv=o,r.createCipher=function(e,t){var r=s[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=h(t,!1,r.key,r.iv);return o(e,n.key,n.iv)}},{"./aes":78,"./authCipher":79,"./modes":91,"./streamCipher":94,"cipher-base":109,evp_bytestokey:231,inherits:248,"safe-buffer":313}],83:[function(e,t,r){function n(e){var t=Buffer.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function i(e){this.h=e,this.state=Buffer.alloc(16,0),this.cache=Buffer.allocUnsafe(0)}var Buffer=e("safe-buffer").Buffer,o=Buffer.alloc(16,0);i.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},i.prototype._multiply=function(){for(var e,t,r=function(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}(this.h),i=[0,0,0,0],o=-1;++o<128;){for(0!=(this.state[~~(o/8)]&1<<7-o%8)&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),t=0!=(1&r[3]),e=3;e>0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,t&&(r[0]=r[0]^225<<24)}this.state=n(i)},i.prototype.update=function(e){this.cache=Buffer.concat([this.cache,e]);for(var t;this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},i.prototype.final=function(e,t){return this.cache.length&&this.ghash(Buffer.concat([this.cache,o],16)),this.ghash(n([0,e,0,t])),this.state},t.exports=i},{"safe-buffer":313}],84:[function(e,t,r){t.exports=function(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}},{}],85:[function(e,t,r){var n=e("buffer-xor");r.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},r.decrypt=function(e,t){var r=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return n(i,r)}},{"buffer-xor":104}],86:[function(e,t,r){function n(e,t,r){var n=t.length,o=i(t,e._cache);return e._cache=e._cache.slice(n),e._prev=Buffer.concat([e._prev,r?t:o]),o}var Buffer=e("safe-buffer").Buffer,i=e("buffer-xor");r.encrypt=function(e,t,r){for(var i,o=Buffer.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=Buffer.allocUnsafe(0)),!(e._cache.length<=t.length)){o=Buffer.concat([o,n(e,t,r)]);break}i=e._cache.length,o=Buffer.concat([o,n(e,t.slice(0,i),r)]),t=t.slice(i)}return o}},{"buffer-xor":104,"safe-buffer":313}],87:[function(e,t,r){function n(e,t,r){for(var n,i,o,s=-1,a=0;++s<8;)n=e._cipher.encryptBlock(e._prev),i=t&1<<7-s?128:0,a+=(128&(o=n[0]^i))>>s%8,e._prev=function(e,t){var r=e.length,n=-1,i=Buffer.allocUnsafe(e.length);e=Buffer.concat([e,Buffer.from([t])]);for(;++n<r;)i[n]=e[n]<<1|e[n+1]>>7;return i}(e._prev,r?i:o);return a}var Buffer=e("safe-buffer").Buffer;r.encrypt=function(e,t,r){for(var i=t.length,o=Buffer.allocUnsafe(i),s=-1;++s<i;)o[s]=n(e,t[s],r);return o}},{"safe-buffer":313}],88:[function(e,t,r){function n(e,t,r){var n=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=Buffer.concat([e._prev.slice(1),Buffer.from([r?t:n])]),n}var Buffer=e("safe-buffer").Buffer;r.encrypt=function(e,t,r){for(var i=t.length,o=Buffer.allocUnsafe(i),s=-1;++s<i;)o[s]=n(e,t[s],r);return o}},{"safe-buffer":313}],89:[function(e,t,r){function n(e){var t=e._cipher.encryptBlockRaw(e._prev);return o(e._prev),t}var i=e("buffer-xor"),Buffer=e("safe-buffer").Buffer,o=e("../incr32");r.encrypt=function(e,t){var r=Math.ceil(t.length/16),o=e._cache.length;e._cache=Buffer.concat([e._cache,Buffer.allocUnsafe(16*r)]);for(var s=0;s<r;s++){var a=n(e),c=o+16*s;e._cache.writeUInt32BE(a[0],c+0),e._cache.writeUInt32BE(a[1],c+4),e._cache.writeUInt32BE(a[2],c+8),e._cache.writeUInt32BE(a[3],c+12)}var f=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),i(t,f)}},{"../incr32":84,"buffer-xor":104,"safe-buffer":313}],90:[function(e,t,r){r.encrypt=function(e,t){return e._cipher.encryptBlock(t)},r.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},{}],91:[function(e,t,r){var n={ECB:e("./ecb"),CBC:e("./cbc"),CFB:e("./cfb"),CFB8:e("./cfb8"),CFB1:e("./cfb1"),OFB:e("./ofb"),CTR:e("./ctr"),GCM:e("./ctr")},i=e("./list.json");for(var o in i)i[o].module=n[i[o].mode];t.exports=i},{"./cbc":85,"./cfb":86,"./cfb1":87,"./cfb8":88,"./ctr":89,"./ecb":90,"./list.json":92,"./ofb":93}],92:[function(e,t,r){t.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"}}},{}],93:[function(e,t,r){(function(Buffer){function t(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}var n=e("buffer-xor");r.encrypt=function(e,r){for(;e._cache.length<r.length;)e._cache=Buffer.concat([e._cache,t(e)]);var i=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),n(r,i)}}).call(this,e("buffer").Buffer)},{buffer:105,"buffer-xor":104}],94:[function(e,t,r){function n(e,t,r,n){o.call(this),this._cipher=new i.AES(t),this._prev=Buffer.from(r),this._cache=Buffer.allocUnsafe(0),this._secCache=Buffer.allocUnsafe(0),this._decrypt=n,this._mode=e}var i=e("./aes"),Buffer=e("safe-buffer").Buffer,o=e("cipher-base");e("inherits")(n,o),n.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},n.prototype._final=function(){this._cipher.scrub()},t.exports=n},{"./aes":78,"cipher-base":109,inherits:248,"safe-buffer":313}],95:[function(e,t,r){function n(e,t,r){if(e=e.toLowerCase(),f[e])return s.createCipheriv(e,t,r);if(c[e])return new a({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function i(e,t,r){if(e=e.toLowerCase(),f[e])return s.createDecipheriv(e,t,r);if(c[e])return new a({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}var o=e("evp_bytestokey"),s=e("browserify-aes/browser"),a=e("browserify-des"),c=e("browserify-des/modes"),f=e("browserify-aes/modes");r.createCipher=r.Cipher=function(e,t){var r,i;if(e=e.toLowerCase(),f[e])r=f[e].key,i=f[e].iv;else{if(!c[e])throw new TypeError("invalid suite type");r=8*c[e].key,i=c[e].iv}var s=o(t,!1,r,i);return n(e,s.key,s.iv)},r.createCipheriv=r.Cipheriv=n,r.createDecipher=r.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),f[e])r=f[e].key,n=f[e].iv;else{if(!c[e])throw new TypeError("invalid suite type");r=8*c[e].key,n=c[e].iv}var s=o(t,!1,r,n);return i(e,s.key,s.iv)},r.createDecipheriv=r.Decipheriv=i,r.listCiphers=r.getCiphers=function(){return Object.keys(c).concat(s.getCiphers())}},{"browserify-aes/browser":80,"browserify-aes/modes":91,"browserify-des":96,"browserify-des/modes":97,evp_bytestokey:231}],96:[function(e,t,r){(function(Buffer){function r(e){n.call(this);var t,r=e.mode.toLowerCase(),i=s[r];t=e.decrypt?"decrypt":"encrypt";var o=e.key;"des-ede"!==r&&"des-ede-cbc"!==r||(o=Buffer.concat([o,o.slice(0,8)]));var a=e.iv;this._des=i.create({key:o,iv:a,type:t})}var n=e("cipher-base"),i=e("des.js"),o=e("inherits"),s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],t.exports=r,o(r,n),r.prototype._update=function(e){return new Buffer(this._des.update(e))},r.prototype._final=function(){return new Buffer(this._des.final())}}).call(this,e("buffer").Buffer)},{buffer:105,"cipher-base":109,"des.js":214,inherits:248}],97:[function(e,t,r){r["des-ecb"]={key:8,iv:0},r["des-cbc"]=r.des={key:8,iv:8},r["des-ede3-cbc"]=r.des3={key:24,iv:8},r["des-ede3"]={key:24,iv:0},r["des-ede-cbc"]={key:16,iv:8},r["des-ede"]={key:16,iv:0}},{}],98:[function(e,t,r){"use strict";function n(e){this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(Buffer.isEncoding===l||!l(e)))throw new Error("Unknown encoding: "+e);return t||e}(e);var t;switch(this.encoding){case"utf16le":this.text=s,this.end=a,t=4;break;case"utf8":this.fillLast=o,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=u,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=Buffer.allocUnsafe(t)}function i(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function o(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(r);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�".repeat(r+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�".repeat(r+2)}}(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function s(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function a(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function u(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}var Buffer=e("safe-buffer").Buffer,l=Buffer.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};r.StringDecoder=n,n.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},n.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�".repeat(this.lastTotal-this.lastNeed):t},n.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var o=i(t[n]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--n<r?0:(o=i(t[n]))>=0?(o>0&&(e.lastNeed=o-2),o):--n<r?0:(o=i(t[n]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":313}],99:[function(e,t,r){arguments[4][74][0].apply(r,arguments)},{"base-x":22,dup:74}],100:[function(e,t,r){"use strict";var n=e("bs58"),Buffer=e("safe-buffer").Buffer;t.exports=function(e){function t(t){var r=t.slice(0,-4),n=t.slice(-4),i=e(r);if(!(n[0]^i[0]|n[1]^i[1]|n[2]^i[2]|n[3]^i[3]))return r}return{encode:function(t){var r=e(t);return n.encode(Buffer.concat([t,r],t.length+4))},decode:function(e){var r=t(n.decode(e));if(!r)throw new Error("Invalid checksum");return r},decodeUnsafe:function(e){var r=n.decodeUnsafe(e);if(r)return t(r)}}}},{bs58:99,"safe-buffer":313}],101:[function(e,t,r){"use strict";var n=e("create-hash"),i=e("./base");t.exports=i(function(e){var t=n("sha256").update(e).digest();return n("sha256").update(t).digest()})},{"./base":100,"create-hash":130}],102:[function(e,t,r){(function(Buffer){"use strict";t.exports=function(e,t){if(!Buffer.isBuffer(e)||!Buffer.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return!0;if("function"==typeof e.equals)return e.equals(t);if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}}).call(this,{isBuffer:e("../is-buffer/index.js")})},{"../is-buffer/index.js":249}],103:[function(e,t,r){(function(Buffer){t.exports=function(e){for(var t=new Buffer(e.length),r=0,n=e.length-1;r<=n;++r,--n)t[r]=e[n],t[n]=e[r];return t}}).call(this,e("buffer").Buffer)},{buffer:105}],104:[function(e,t,r){(function(Buffer){t.exports=function(e,t){for(var r=Math.min(e.length,t.length),n=new Buffer(r),i=0;i<r;++i)n[i]=e[i]^t[i];return n}}).call(this,e("buffer").Buffer)},{buffer:105}],105:[function(e,t,r){"use strict";function n(e){if(e>O)throw new RangeError("Invalid typed array length");var t=new Uint8Array(e);return t.__proto__=Buffer.prototype,t}function Buffer(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return s(e)}return i(e,t,r)}function i(e,t,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return B(e)?function(e,t,r){if(t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(r||0))throw new RangeError("'length' is out of bounds");var n;n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r);return n.__proto__=Buffer.prototype,n}(e,t,r):"string"==typeof e?function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!Buffer.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var r=0|f(e,t),i=n(r),o=i.write(e,t);o!==r&&(i=i.slice(0,o));return i}(e,t):function(e){if(Buffer.isBuffer(e)){var t=0|c(e.length),r=n(t);return 0===r.length?r:(e.copy(r,0,0,t),r)}if(e){if(P(e)||"length"in e)return"number"!=typeof e.length||M(e.length)?n(0):a(e);if("Buffer"===e.type&&Array.isArray(e.data))return a(e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e)}function o(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function s(e){return o(e),n(e<0?0:0|c(e))}function a(e){for(var t=e.length<0?0:0|c(e.length),r=n(t),i=0;i<t;i+=1)r[i]=255&e[i];return r}function c(e){if(e>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return 0|e}function f(e,t){if(Buffer.isBuffer(e))return e.length;if(P(e)||B(e))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return x(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return I(e).length;default:if(n)return x(e).length;t=(""+t).toLowerCase(),n=!0}}function u(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0);(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=function(e){return e<16?"0"+e.toString(16):e.toString(16)}(e[o]);return i}(this,t,r);case"utf8":case"utf-8":return w(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return function(e,t,r){return 0===t&&r===e.length?C.fromByteArray(e):C.fromByteArray(e.slice(t,r))}(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function h(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function l(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,M(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=Buffer.from(t,n)),Buffer.isBuffer(t))return 0===t.length?-1:d(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):d(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function d(e,t,r,n,i){function o(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}var s=1,a=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,c/=2,r/=2}var f;if(i){var u=-1;for(f=r;f<a;f++)if(o(e,f)===o(t,-1===u?0:f-u)){if(-1===u&&(u=f),f-u+1===c)return u*s}else-1!==u&&(f-=f-u),u=-1}else for(r+c>a&&(r=a-c),f=r;f>=0;f--){for(var h=!0,l=0;l<c;l++)if(o(e,f+l)!==o(t,l)){h=!1;break}if(h)return f}return-1}function p(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(t.substr(2*s,2),16);if(M(a))return s;e[r+s]=a}return s}function b(e,t,r,n){return T(x(t,e.length-r),e,r,n)}function y(e,t,r,n){return T(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function v(e,t,r,n){return y(e,t,r,n)}function m(e,t,r,n){return T(I(t),e,r,n)}function g(e,t,r,n){return T(function(e,t){for(var r,n,i,o=[],s=0;s<e.length&&!((t-=2)<0);++s)r=e.charCodeAt(s),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function w(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o=e[i],s=null,a=o>239?4:o>223?3:o>191?2:1;if(i+a<=r){var c,f,u,h;switch(a){case 1:o<128&&(s=o);break;case 2:128==(192&(c=e[i+1]))&&(h=(31&o)<<6|63&c)>127&&(s=h);break;case 3:c=e[i+1],f=e[i+2],128==(192&c)&&128==(192&f)&&(h=(15&o)<<12|(63&c)<<6|63&f)>2047&&(h<55296||h>57343)&&(s=h);break;case 4:c=e[i+1],f=e[i+2],u=e[i+3],128==(192&c)&&128==(192&f)&&128==(192&u)&&(h=(15&o)<<18|(63&c)<<12|(63&f)<<6|63&u)>65535&&h<1114112&&(s=h)}}null===s?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=a}return function(e){var t=e.length;if(t<=L)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=L));return r}(n)}function _(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function E(e,t,r,n,i,o){if(!Buffer.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function S(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function k(e,t,r,n,i){return t=+t,r>>>=0,i||S(e,0,r,4),R.write(e,t,r,n,23,4),r+4}function A(e,t,r,n,i){return t=+t,r>>>=0,i||S(e,0,r,8),R.write(e,t,r,n,52,8),r+8}function x(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function I(e){return C.toByteArray(function(e){if((e=e.trim().replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function B(e){return e instanceof ArrayBuffer||null!=e&&null!=e.constructor&&"ArrayBuffer"===e.constructor.name&&"number"==typeof e.byteLength}function P(e){return"function"==typeof ArrayBuffer.isView&&ArrayBuffer.isView(e)}function M(e){return e!=e}var C=e("base64-js"),R=e("ieee754");r.Buffer=Buffer,r.SlowBuffer=function(e){return+e!=e&&(e=0),Buffer.alloc(+e)},r.INSPECT_MAX_BYTES=50;var O=2147483647;r.kMaxLength=O,(Buffer.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}())||"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&&Buffer[Symbol.species]===Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),Buffer.poolSize=8192,Buffer.from=function(e,t,r){return i(e,t,r)},Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array,Buffer.alloc=function(e,t,r){return function(e,t,r){return o(e),e<=0?n(e):void 0!==t?"string"==typeof r?n(e).fill(t,r):n(e).fill(t):n(e)}(e,t,r)},Buffer.allocUnsafe=function(e){return s(e)},Buffer.allocUnsafeSlow=function(e){return s(e)},Buffer.isBuffer=function(e){return null!=e&&!0===e._isBuffer},Buffer.compare=function(e,t){if(!Buffer.isBuffer(e)||!Buffer.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},Buffer.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Buffer.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Buffer.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=Buffer.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(!Buffer.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},Buffer.byteLength=f,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},Buffer.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},Buffer.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},Buffer.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?w(this,0,e):u.apply(this,arguments)},Buffer.prototype.equals=function(e){if(!Buffer.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Buffer.compare(this,e)},Buffer.prototype.inspect=function(){var e="",t=r.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},Buffer.prototype.compare=function(e,t,r,n,i){if(!Buffer.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,s=r-t,a=Math.min(o,s),c=this.slice(n,i),f=e.slice(t,r),u=0;u<a;++u)if(c[u]!==f[u]){o=c[u],s=f[u];break}return o<s?-1:s<o?1:0},Buffer.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},Buffer.prototype.indexOf=function(e,t,r){return l(this,e,t,r,!0)},Buffer.prototype.lastIndexOf=function(e,t,r){return l(this,e,t,r,!1)},Buffer.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return p(this,e,t,r);case"utf8":case"utf-8":return b(this,e,t,r);case"ascii":return y(this,e,t,r);case"latin1":case"binary":return v(this,e,t,r);case"base64":return m(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return g(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},Buffer.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;Buffer.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return n.__proto__=Buffer.prototype,n},Buffer.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},Buffer.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},Buffer.prototype.readUInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),this[e]},Buffer.prototype.readUInt16LE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]|this[e+1]<<8},Buffer.prototype.readUInt16BE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]<<8|this[e+1]},Buffer.prototype.readUInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Buffer.prototype.readUInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Buffer.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},Buffer.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},Buffer.prototype.readInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Buffer.prototype.readInt16LE=function(e,t){e>>>=0,t||_(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt16BE=function(e,t){e>>>=0,t||_(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Buffer.prototype.readInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Buffer.prototype.readFloatLE=function(e,t){return e>>>=0,t||_(e,4,this.length),R.read(this,e,!0,23,4)},Buffer.prototype.readFloatBE=function(e,t){return e>>>=0,t||_(e,4,this.length),R.read(this,e,!1,23,4)},Buffer.prototype.readDoubleLE=function(e,t){return e>>>=0,t||_(e,8,this.length),R.read(this,e,!0,52,8)},Buffer.prototype.readDoubleBE=function(e,t){return e>>>=0,t||_(e,8,this.length),R.read(this,e,!1,52,8)},Buffer.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){E(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},Buffer.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){E(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},Buffer.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,255,0),this[t]=255&e,t+1},Buffer.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},Buffer.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},Buffer.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},Buffer.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Buffer.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},Buffer.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},Buffer.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},Buffer.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},Buffer.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},Buffer.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},Buffer.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Buffer.prototype.writeFloatLE=function(e,t,r){return k(this,e,t,!0,r)},Buffer.prototype.writeFloatBE=function(e,t,r){return k(this,e,t,!1,r)},Buffer.prototype.writeDoubleLE=function(e,t,r){return A(this,e,t,!0,r)},Buffer.prototype.writeDoubleBE=function(e,t,r){return A(this,e,t,!1,r)},Buffer.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},Buffer.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!Buffer.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var s=Buffer.isBuffer(e)?e:new Buffer(e,n),a=s.length;for(o=0;o<r-t;++o)this[o+t]=s[o%a]}return this};var j=/[^+/0-9A-Za-z-_]/g},{"base64-js":106,ieee754:246}],106:[function(e,t,r){"use strict";function n(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function i(e){return s[e>>18&63]+s[e>>12&63]+s[e>>6&63]+s[63&e]}function o(e,t,r){for(var n,o=[],s=t;s<r;s+=3)n=(e[s]<<16)+(e[s+1]<<8)+e[s+2],o.push(i(n));return o.join("")}r.byteLength=function(e){return 3*e.length/4-n(e)},r.toByteArray=function(e){var t,r,i,o,s,f=e.length;o=n(e),s=new c(3*f/4-o),r=o>0?f-4:f;var u=0;for(t=0;t<r;t+=4)i=a[e.charCodeAt(t)]<<18|a[e.charCodeAt(t+1)]<<12|a[e.charCodeAt(t+2)]<<6|a[e.charCodeAt(t+3)],s[u++]=i>>16&255,s[u++]=i>>8&255,s[u++]=255&i;return 2===o?(i=a[e.charCodeAt(t)]<<2|a[e.charCodeAt(t+1)]>>4,s[u++]=255&i):1===o&&(i=a[e.charCodeAt(t)]<<10|a[e.charCodeAt(t+1)]<<4|a[e.charCodeAt(t+2)]>>2,s[u++]=i>>8&255,s[u++]=255&i),s},r.fromByteArray=function(e){for(var t,r=e.length,n=r%3,i="",a=[],c=0,f=r-n;c<f;c+=16383)a.push(o(e,c,c+16383>f?f:c+16383));return 1===n?(t=e[r-1],i+=s[t>>2],i+=s[t<<4&63],i+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],i+=s[t>>10],i+=s[t>>4&63],i+=s[t<<2&63],i+="="),a.push(i),a.join("")};for(var s=[],a=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,h=f.length;u<h;++u)s[u]=f[u],a[f.charCodeAt(u)]=u;a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63},{}],107:[function(e,t,r){"use strict";function n(e){var t=e.shiftRight(35),r=BigInteger.fromHex("07ffffffff"),n=e.and(r).shiftLeft(new BigInteger("5"));return t.and(new BigInteger("1")).intValue()>0&&(n=n.xor(BigInteger.fromHex("98f2bc8e61"))),t.and(new BigInteger("2")).intValue()&&(n=n.xor(BigInteger.fromHex("79b76d99e2"))),t.and(new BigInteger("4")).intValue()&&(n=n.xor(BigInteger.fromHex("f33e5fb3c4"))),t.and(new BigInteger("8")).intValue()&&(n=n.xor(BigInteger.fromHex("ae2eabe2a8"))),t.and(new BigInteger("16")).intValue()&&(n=n.xor(BigInteger.fromHex("1e4f43e470"))),n}function i(e){for(var t=new BigInteger("1"),r=0;r<e.length;++r){var i=e.charCodeAt(r),o=new BigInteger(""+(31&i));t=n(t).xor(o)}return t=n(t)}function o(e,t,r,n){for(var i=0,o=0,s=(1<<r)-1,a=[],c=0;c<e.length;++c)for(i=i<<t|e[c],o+=t;o>=r;)o-=r,a.push(i>>>o&s);if(n)o>0&&a.push(i<<r-o&s);else{if(o>=t)throw new Error("Excess padding");if(i<<r-o&s)throw new Error("Non-zero padding")}return a}for(var BigInteger=e("bigi"),s="qpzry9x8gf2tvdw0s3jn54khce6mua7l",a=":",c=8,f={},u=0;u<s.length;u++){var h=s.charAt(u);if(void 0!==f[h])throw new TypeError(h+" is ambiguous");f[h]=u}t.exports={decode:function(e){if(e.length<8)throw new TypeError(e+" too short");if(e.length>90)throw new TypeError(e+" too long");var t=e.toLowerCase(),r=e.toUpperCase();if(e!==t&&e!==r)throw new Error("Mixed-case string "+e);var o=(e=t).lastIndexOf(a);if(-1===o)throw new Error("No separator character for "+e);if(0===o)throw new Error("Missing prefix for "+e);var s=e.slice(0,o),u=e.slice(o+1);if(u.length<6)throw new Error("Data too short");for(var h=i(s),l=[],d=0;d<u.length;++d){var p=u.charAt(d),b=f[p];if(void 0===b)throw new Error("Unknown character "+p);h=n(h).xor(new BigInteger(""+b)),d+c>=u.length||l.push(b)}if("1"!==h.toString(10))throw new Error("Invalid checksum for "+e);return{prefix:s,words:l}},encode:function(e,t){if(e.length+c+1+t.length>90)throw new TypeError("Exceeds Base32 maximum length");for(var r=i(e=e.toLowerCase()),o=e+a,f=0;f<t.length;++f){var u=t[f];if(u>>>5!=0)throw new Error("Non 5-bit word");r=n(r).xor(new BigInteger(""+u)),o+=s.charAt(u)}for(var h=0;h<c;++h)r=n(r);r=r.xor(new BigInteger("1"));for(var l=0;l<c;++l){var d=5*(c-1-l),p=r.shiftRight(new BigInteger(""+d)).and(BigInteger.fromHex("1f"));o+=s.charAt(p.toString(10))}return o},toWords:function(e){return o(e,8,5,!0)},fromWords:function(e){return o(e,5,8,!1)}}},{bigi:26}],108:[function(e,t,r){(function(Buffer){"use strict";function r(e,t){for(var r=Object.keys(e),n=0;n<r.length;n++)if(e[r[n]]===t)return r[n];return null}function n(e,t){var r=function(e,t){if((e===s||e===o)&&160!==t)throw new Error("Invalid hash length for scriptType");return c[e]<<3|a[t]}(e,8*t.length),n=Buffer.allocUnsafe(1+t.length);return n.writeUInt8(r,0),t.copy(n,1),n}var i=e("./base32"),o="scripthash",s="pubkeyhash",a={};a[160]=0,a[192]=1,a[224]=2,a[256]=3,a[320]=4,a[384]=5,a[448]=6,a[512]=7;var c={};c[s]=0,c[o]=1,t.exports={decode:function(e){var t=i.decode(e),n=i.fromWords(t.words);if(n.length<1)throw new Error("Empty payload in address");var f=function(e){var t=e>>>7;if(1&t||t>0)throw new Error("Invalid version, most significant bit is reserved");var n=r(c,e>>3&15);if(null===n)throw new Error("Invalid script type");var i=parseInt(r(a,7&e),10);if((n===s||n===o)&&160!==i)throw new Error("Mismatch between script type and hash length");return{scriptType:n,hashSize:i}}(n[0]);if(1+f.hashSize/8!==n.length)throw new Error("Hash length does not match version");return{version:f.scriptType,prefix:t.prefix,hash:Buffer.from(n.slice(1))}},encode:function(e,t,r){if(!(r instanceof Buffer))throw new Error("Hash should be passed as a Buffer");if(!(t in c))throw new Error("Unsupported script type");return i.encode(e,i.toWords(n(t,r)))}}}).call(this,e("buffer").Buffer)},{"./base32":107,buffer:105}],109:[function(e,t,r){function n(e){i.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}var Buffer=e("safe-buffer").Buffer,i=e("stream").Transform,o=e("string_decoder").StringDecoder;e("inherits")(n,i),n.prototype.update=function(e,t,r){"string"==typeof e&&(e=Buffer.from(e,t));var n=this._update(e);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(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},n.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},n.prototype._finalOrDigest=function(e){var t=this.__final()||Buffer.alloc(0);return e&&(t=this._toString(t,e,!0)),t},n.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},t.exports=n},{inherits:248,"safe-buffer":313,stream:346,string_decoder:98}],110:[function(e,t,r){function n(e){if(e)return function(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}(e)}t.exports=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks[e]=this._callbacks[e]||[]).push(t),this},n.prototype.once=function(e,t){function r(){n.off(e,r),t.apply(this,arguments)}var n=this;return this._callbacks=this._callbacks||{},r.fn=t,this.on(e,r),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r=this._callbacks[e];if(!r)return this;if(1==arguments.length)return delete this._callbacks[e],this;for(var n,i=0;i<r.length;i++)if((n=r[i])===t||n.fn===t){r.splice(i,1);break}return this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),r=this._callbacks[e];if(r)for(var n=0,i=(r=r.slice(0)).length;n<i;++n)r[n].apply(this,t);return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks[e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},{}],111:[function(e,t,r){(function(Buffer){function e(e){return Object.prototype.toString.call(e)}r.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===e(t)},r.isBoolean=function(e){return"boolean"==typeof e},r.isNull=function(e){return null===e},r.isNullOrUndefined=function(e){return null==e},r.isNumber=function(e){return"number"==typeof e},r.isString=function(e){return"string"==typeof e},r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=function(e){return void 0===e},r.isRegExp=function(t){return"[object RegExp]"===e(t)},r.isObject=function(e){return"object"==typeof e&&null!==e},r.isDate=function(t){return"[object Date]"===e(t)},r.isError=function(t){return"[object Error]"===e(t)||t instanceof Error},r.isFunction=function(e){return"function"==typeof e},r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=Buffer.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":249}],112:[function(e,t,r){(function(Buffer){function r(e){this.curveType=s[e],this.curveType||(this.curveType={name:e}),this.curve=new i.ec(this.curveType.name),this.keys=void 0}function n(e,t,r){Array.isArray(e)||(e=e.toArray());var n=new Buffer(e);if(r&&n.length<r){var i=new Buffer(r-n.length);i.fill(0),n=Buffer.concat([i,n])}return t?n.toString(t):n}var i=e("elliptic"),o=e("bn.js");t.exports=function(e){return new r(e)};var s={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};s.p224=s.secp224r1,s.p256=s.secp256r1=s.prime256v1,s.p192=s.secp192r1=s.prime192v1,s.p384=s.secp384r1,s.p521=s.secp521r1,r.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},r.prototype.computeSecret=function(e,t,r){t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t));return n(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},r.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),n(r,e)},r.prototype.getPrivateKey=function(e){return n(this.keys.getPrivate(),e)},r.prototype.setPublicKey=function(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this.keys._importPublic(e),this},r.prototype.setPrivateKey=function(e,t){t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t));var r=new o(e);return r=r.toString(16),this.keys._importPrivate(r),this}}).call(this,e("buffer").Buffer)},{"bn.js":113,buffer:105,elliptic:114}],113:[function(e,t,r){!function(t,r){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}function s(e,t,r){for(var n=0,i=Math.min(e.length,r),o=t;o<i;o++){var s=e.charCodeAt(o)-48;n<<=4,n|=s>=49&&s<=54?s-49+10:s>=17&&s<=22?s-17+10:15&s}return n}function a(e,t,r,n){for(var i=0,o=Math.min(e.length,r),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=n,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}function c(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var f=1;f<n;f++){for(var u=c>>>26,h=67108863&c,l=Math.min(f,t.length-1),d=Math.max(0,f-e.length+1);d<=l;d++){var p=f-d|0;u+=(s=(i=0|e.words[p])*(o=0|t.words[d])+h)/67108864|0,h=67108863&s}r.words[f]=0|h,c=0|u}return 0!==c?r.words[f]=0|c:r.length--,r.strip()}function f(e,t,r){return(new u).mulp(e,t,r)}function u(e,t){this.x=e,this.y=t}function h(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function l(){h.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function d(){h.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function p(){h.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function b(){h.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function y(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function v(e){y.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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)}"object"==typeof t?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;var Buffer;try{Buffer=e("buffer").Buffer}catch(e){}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,s,a=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=e.length-6,n=0;r>=t;r-=6)i=s(e,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==t&&(i=s(e,t,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,s=o%n,c=Math.min(o,o-s)+r,f=0,u=r;u<c;u+=n)f=a(e,u,u+n,t),this.imuln(i),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if(0!==s){var h=1;for(f=a(e,u,e.length,t),u=0;u<s;u++)h*=t;this.imuln(h),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f)}},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var m=["","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"],g=[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];o.prototype.toString=function(e,t){e=e||10,t=0|t||1;var r;if(16===e||"hex"===e){r="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],c=(16777215&(a<<i|o)).toString(16);r=0!==(o=a>>>24-i&16777215)||s!==this.length-1?m[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,s--)}for(0!==o&&(r=o.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var f=g[e],u=w[e];r="";var h=this.clone();for(h.negative=0;!h.isZero();){var l=h.modn(u).toString(e);r=(h=h.idivn(u)).isZero()?l+r:m[f-l.length]+l+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return n(void 0!==Buffer),this.toArrayLike(Buffer,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var s,a,c="le"===t,f=new e(o),u=this.clone();if(c){for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),f[a]=s;for(;a<o;a++)f[a]=0}else{for(a=0;a<o-i;a++)f[a]=0;for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),f[o-a-1]=s}return f},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();var r,n;this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;var n,i;r>0?(n=this,i=e):(n=e,i=this);for(var o=0,s=0;s<i.length;s++)o=(t=(0|n.words[s])-(0|i.words[s])+o)>>26,this.words[s]=67108863&t;for(;0!==o&&s<n.length;s++)o=(t=(0|n.words[s])+o)>>26,this.words[s]=67108863&t;if(0===o&&s<n.length&&n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this.length=Math.max(this.length,s),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var _=function(e,t,r){var n,i,o,s=e.words,a=t.words,c=r.words,f=0,u=0|s[0],h=8191&u,l=u>>>13,d=0|s[1],p=8191&d,b=d>>>13,y=0|s[2],v=8191&y,m=y>>>13,g=0|s[3],w=8191&g,_=g>>>13,E=0|s[4],S=8191&E,k=E>>>13,A=0|s[5],x=8191&A,I=A>>>13,T=0|s[6],B=8191&T,P=T>>>13,M=0|s[7],C=8191&M,R=M>>>13,O=0|s[8],L=8191&O,j=O>>>13,N=0|s[9],D=8191&N,U=N>>>13,K=0|a[0],H=8191&K,z=K>>>13,q=0|a[1],F=8191&q,W=q>>>13,V=0|a[2],G=8191&V,Y=V>>>13,J=0|a[3],X=8191&J,Z=J>>>13,$=0|a[4],Q=8191&$,ee=$>>>13,te=0|a[5],re=8191&te,ne=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ce=8191&ae,fe=ae>>>13,ue=0|a[8],he=8191&ue,le=ue>>>13,de=0|a[9],pe=8191&de,be=de>>>13;r.negative=e.negative^t.negative,r.length=19;var ye=(f+(n=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(l,H)|0))<<13)|0;f=((o=Math.imul(l,z))+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(b,H)|0,o=Math.imul(b,z);var ve=(f+(n=n+Math.imul(h,F)|0)|0)+((8191&(i=(i=i+Math.imul(h,W)|0)+Math.imul(l,F)|0))<<13)|0;f=((o=o+Math.imul(l,W)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(m,H)|0,o=Math.imul(m,z),n=n+Math.imul(p,F)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(b,F)|0,o=o+Math.imul(b,W)|0;var me=(f+(n=n+Math.imul(h,G)|0)|0)+((8191&(i=(i=i+Math.imul(h,Y)|0)+Math.imul(l,G)|0))<<13)|0;f=((o=o+Math.imul(l,Y)|0)+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,z))+Math.imul(_,H)|0,o=Math.imul(_,z),n=n+Math.imul(v,F)|0,i=(i=i+Math.imul(v,W)|0)+Math.imul(m,F)|0,o=o+Math.imul(m,W)|0,n=n+Math.imul(p,G)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(b,G)|0,o=o+Math.imul(b,Y)|0;var ge=(f+(n=n+Math.imul(h,X)|0)|0)+((8191&(i=(i=i+Math.imul(h,Z)|0)+Math.imul(l,X)|0))<<13)|0;f=((o=o+Math.imul(l,Z)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(S,H),i=(i=Math.imul(S,z))+Math.imul(k,H)|0,o=Math.imul(k,z),n=n+Math.imul(w,F)|0,i=(i=i+Math.imul(w,W)|0)+Math.imul(_,F)|0,o=o+Math.imul(_,W)|0,n=n+Math.imul(v,G)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,Y)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,Z)|0;var we=(f+(n=n+Math.imul(h,Q)|0)|0)+((8191&(i=(i=i+Math.imul(h,ee)|0)+Math.imul(l,Q)|0))<<13)|0;f=((o=o+Math.imul(l,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(I,H)|0,o=Math.imul(I,z),n=n+Math.imul(S,F)|0,i=(i=i+Math.imul(S,W)|0)+Math.imul(k,F)|0,o=o+Math.imul(k,W)|0,n=n+Math.imul(w,G)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(_,G)|0,o=o+Math.imul(_,Y)|0,n=n+Math.imul(v,X)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(b,Q)|0,o=o+Math.imul(b,ee)|0;var _e=(f+(n=n+Math.imul(h,re)|0)|0)+((8191&(i=(i=i+Math.imul(h,ne)|0)+Math.imul(l,re)|0))<<13)|0;f=((o=o+Math.imul(l,ne)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(P,H)|0,o=Math.imul(P,z),n=n+Math.imul(x,F)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(I,F)|0,o=o+Math.imul(I,W)|0,n=n+Math.imul(S,G)|0,i=(i=i+Math.imul(S,Y)|0)+Math.imul(k,G)|0,o=o+Math.imul(k,Y)|0,n=n+Math.imul(w,X)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(b,re)|0,o=o+Math.imul(b,ne)|0;var Ee=(f+(n=n+Math.imul(h,oe)|0)|0)+((8191&(i=(i=i+Math.imul(h,se)|0)+Math.imul(l,oe)|0))<<13)|0;f=((o=o+Math.imul(l,se)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(R,H)|0,o=Math.imul(R,z),n=n+Math.imul(B,F)|0,i=(i=i+Math.imul(B,W)|0)+Math.imul(P,F)|0,o=o+Math.imul(P,W)|0,n=n+Math.imul(x,G)|0,i=(i=i+Math.imul(x,Y)|0)+Math.imul(I,G)|0,o=o+Math.imul(I,Y)|0,n=n+Math.imul(S,X)|0,i=(i=i+Math.imul(S,Z)|0)+Math.imul(k,X)|0,o=o+Math.imul(k,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(m,re)|0,o=o+Math.imul(m,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,se)|0;var Se=(f+(n=n+Math.imul(h,ce)|0)|0)+((8191&(i=(i=i+Math.imul(h,fe)|0)+Math.imul(l,ce)|0))<<13)|0;f=((o=o+Math.imul(l,fe)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(j,H)|0,o=Math.imul(j,z),n=n+Math.imul(C,F)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(R,F)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(B,G)|0,i=(i=i+Math.imul(B,Y)|0)+Math.imul(P,G)|0,o=o+Math.imul(P,Y)|0,n=n+Math.imul(x,X)|0,i=(i=i+Math.imul(x,Z)|0)+Math.imul(I,X)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,ee)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(_,re)|0,o=o+Math.imul(_,ne)|0,n=n+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,se)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,n=n+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,fe)|0)+Math.imul(b,ce)|0,o=o+Math.imul(b,fe)|0;var ke=(f+(n=n+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,le)|0)+Math.imul(l,he)|0))<<13)|0;f=((o=o+Math.imul(l,le)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(D,H),i=(i=Math.imul(D,z))+Math.imul(U,H)|0,o=Math.imul(U,z),n=n+Math.imul(L,F)|0,i=(i=i+Math.imul(L,W)|0)+Math.imul(j,F)|0,o=o+Math.imul(j,W)|0,n=n+Math.imul(C,G)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(R,G)|0,o=o+Math.imul(R,Y)|0,n=n+Math.imul(B,X)|0,i=(i=i+Math.imul(B,Z)|0)+Math.imul(P,X)|0,o=o+Math.imul(P,Z)|0,n=n+Math.imul(x,Q)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,n=n+Math.imul(S,re)|0,i=(i=i+Math.imul(S,ne)|0)+Math.imul(k,re)|0,o=o+Math.imul(k,ne)|0,n=n+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,se)|0)+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,n=n+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,fe)|0)+Math.imul(m,ce)|0,o=o+Math.imul(m,fe)|0,n=n+Math.imul(p,he)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(b,he)|0,o=o+Math.imul(b,le)|0;var Ae=(f+(n=n+Math.imul(h,pe)|0)|0)+((8191&(i=(i=i+Math.imul(h,be)|0)+Math.imul(l,pe)|0))<<13)|0;f=((o=o+Math.imul(l,be)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(D,F),i=(i=Math.imul(D,W))+Math.imul(U,F)|0,o=Math.imul(U,W),n=n+Math.imul(L,G)|0,i=(i=i+Math.imul(L,Y)|0)+Math.imul(j,G)|0,o=o+Math.imul(j,Y)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,Z)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,Z)|0,n=n+Math.imul(B,Q)|0,i=(i=i+Math.imul(B,ee)|0)+Math.imul(P,Q)|0,o=o+Math.imul(P,ee)|0,n=n+Math.imul(x,re)|0,i=(i=i+Math.imul(x,ne)|0)+Math.imul(I,re)|0,o=o+Math.imul(I,ne)|0,n=n+Math.imul(S,oe)|0,i=(i=i+Math.imul(S,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,n=n+Math.imul(w,ce)|0,i=(i=i+Math.imul(w,fe)|0)+Math.imul(_,ce)|0,o=o+Math.imul(_,fe)|0,n=n+Math.imul(v,he)|0,i=(i=i+Math.imul(v,le)|0)+Math.imul(m,he)|0,o=o+Math.imul(m,le)|0;var xe=(f+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,be)|0)+Math.imul(b,pe)|0))<<13)|0;f=((o=o+Math.imul(b,be)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(D,G),i=(i=Math.imul(D,Y))+Math.imul(U,G)|0,o=Math.imul(U,Y),n=n+Math.imul(L,X)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(j,X)|0,o=o+Math.imul(j,Z)|0,n=n+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,n=n+Math.imul(B,re)|0,i=(i=i+Math.imul(B,ne)|0)+Math.imul(P,re)|0,o=o+Math.imul(P,ne)|0,n=n+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,se)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,se)|0,n=n+Math.imul(S,ce)|0,i=(i=i+Math.imul(S,fe)|0)+Math.imul(k,ce)|0,o=o+Math.imul(k,fe)|0,n=n+Math.imul(w,he)|0,i=(i=i+Math.imul(w,le)|0)+Math.imul(_,he)|0,o=o+Math.imul(_,le)|0;var Ie=(f+(n=n+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,be)|0)+Math.imul(m,pe)|0))<<13)|0;f=((o=o+Math.imul(m,be)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(D,X),i=(i=Math.imul(D,Z))+Math.imul(U,X)|0,o=Math.imul(U,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,ee)|0)+Math.imul(j,Q)|0,o=o+Math.imul(j,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(R,re)|0,o=o+Math.imul(R,ne)|0,n=n+Math.imul(B,oe)|0,i=(i=i+Math.imul(B,se)|0)+Math.imul(P,oe)|0,o=o+Math.imul(P,se)|0,n=n+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,fe)|0)+Math.imul(I,ce)|0,o=o+Math.imul(I,fe)|0,n=n+Math.imul(S,he)|0,i=(i=i+Math.imul(S,le)|0)+Math.imul(k,he)|0,o=o+Math.imul(k,le)|0;var Te=(f+(n=n+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,be)|0)+Math.imul(_,pe)|0))<<13)|0;f=((o=o+Math.imul(_,be)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(D,Q),i=(i=Math.imul(D,ee))+Math.imul(U,Q)|0,o=Math.imul(U,ee),n=n+Math.imul(L,re)|0,i=(i=i+Math.imul(L,ne)|0)+Math.imul(j,re)|0,o=o+Math.imul(j,ne)|0,n=n+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,se)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,se)|0,n=n+Math.imul(B,ce)|0,i=(i=i+Math.imul(B,fe)|0)+Math.imul(P,ce)|0,o=o+Math.imul(P,fe)|0,n=n+Math.imul(x,he)|0,i=(i=i+Math.imul(x,le)|0)+Math.imul(I,he)|0,o=o+Math.imul(I,le)|0;var Be=(f+(n=n+Math.imul(S,pe)|0)|0)+((8191&(i=(i=i+Math.imul(S,be)|0)+Math.imul(k,pe)|0))<<13)|0;f=((o=o+Math.imul(k,be)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(D,re),i=(i=Math.imul(D,ne))+Math.imul(U,re)|0,o=Math.imul(U,ne),n=n+Math.imul(L,oe)|0,i=(i=i+Math.imul(L,se)|0)+Math.imul(j,oe)|0,o=o+Math.imul(j,se)|0,n=n+Math.imul(C,ce)|0,i=(i=i+Math.imul(C,fe)|0)+Math.imul(R,ce)|0,o=o+Math.imul(R,fe)|0,n=n+Math.imul(B,he)|0,i=(i=i+Math.imul(B,le)|0)+Math.imul(P,he)|0,o=o+Math.imul(P,le)|0;var Pe=(f+(n=n+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,be)|0)+Math.imul(I,pe)|0))<<13)|0;f=((o=o+Math.imul(I,be)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(D,oe),i=(i=Math.imul(D,se))+Math.imul(U,oe)|0,o=Math.imul(U,se),n=n+Math.imul(L,ce)|0,i=(i=i+Math.imul(L,fe)|0)+Math.imul(j,ce)|0,o=o+Math.imul(j,fe)|0,n=n+Math.imul(C,he)|0,i=(i=i+Math.imul(C,le)|0)+Math.imul(R,he)|0,o=o+Math.imul(R,le)|0;var Me=(f+(n=n+Math.imul(B,pe)|0)|0)+((8191&(i=(i=i+Math.imul(B,be)|0)+Math.imul(P,pe)|0))<<13)|0;f=((o=o+Math.imul(P,be)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(D,ce),i=(i=Math.imul(D,fe))+Math.imul(U,ce)|0,o=Math.imul(U,fe),n=n+Math.imul(L,he)|0,i=(i=i+Math.imul(L,le)|0)+Math.imul(j,he)|0,o=o+Math.imul(j,le)|0;var Ce=(f+(n=n+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,be)|0)+Math.imul(R,pe)|0))<<13)|0;f=((o=o+Math.imul(R,be)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(D,he),i=(i=Math.imul(D,le))+Math.imul(U,he)|0,o=Math.imul(U,le);var Re=(f+(n=n+Math.imul(L,pe)|0)|0)+((8191&(i=(i=i+Math.imul(L,be)|0)+Math.imul(j,pe)|0))<<13)|0;f=((o=o+Math.imul(j,be)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863;var Oe=(f+(n=Math.imul(D,pe))|0)+((8191&(i=(i=Math.imul(D,be))+Math.imul(U,pe)|0))<<13)|0;return f=((o=Math.imul(U,be))+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,c[0]=ye,c[1]=ve,c[2]=me,c[3]=ge,c[4]=we,c[5]=_e,c[6]=Ee,c[7]=Se,c[8]=ke,c[9]=Ae,c[10]=xe,c[11]=Ie,c[12]=Te,c[13]=Be,c[14]=Pe,c[15]=Me,c[16]=Ce,c[17]=Re,c[18]=Oe,0!==f&&(c[19]=f,r.length++),r};Math.imul||(_=c),o.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?_(this,e,t):r<63?c(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var s=i;i=0;for(var a=67108863&n,c=Math.min(o,t.length-1),f=Math.max(0,o-e.length+1);f<=c;f++){var u=o-f,h=(0|e.words[u])*(0|t.words[f]),l=67108863&h;a=67108863&(l=l+a|0),i+=(s=(s=s+(h/67108864|0)|0)+(l>>>26)|0)>>>26,s&=67108863}r.words[o]=a,n=s,s=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):f(this,e,t)},u.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},u.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},u.prototype.permute=function(e,t,r,n,i,o){for(var s=0;s<o;s++)n[s]=t[e[s]],i[s]=r[e[s]]},u.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,c=Math.cos(2*Math.PI/a),f=Math.sin(2*Math.PI/a),u=0;u<i;u+=a)for(var h=c,l=f,d=0;d<s;d++){var p=r[u+d],b=n[u+d],y=r[u+d+s],v=n[u+d+s],m=h*y-l*v;v=h*v+l*y,y=m,r[u+d]=p+y,n[u+d]=b+v,r[u+d+s]=p-y,n[u+d+s]=b-v,d!==a&&(m=c*h-f*l,l=c*l+f*h,h=m)}},u.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},u.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},u.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},u.prototype.convert13b=function(e,t,r,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],r[2*s]=8191&o,o>>>=13,r[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)r[s]=0;n(0===o),n(0==(-8192&o))},u.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},u.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),s=new Array(n),a=new Array(n),c=new Array(n),f=new Array(n),u=new Array(n),h=new Array(n),l=r.words;l.length=n,this.convert13b(e.words,e.length,s,n),this.convert13b(t.words,t.length,f,n),this.transform(s,o,a,c,n,i),this.transform(f,o,u,h,n,i);for(var d=0;d<n;d++){var p=a[d]*u[d]-c[d]*h[d];c[d]=a[d]*h[d]+c[d]*u[d],a[d]=p}return this.conjugate(a,c,n),this.transform(a,c,l,o,n,i),this.conjugate(l,o,n),this.normalize13b(l,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),f(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[r]=67108863&o}return 0!==t&&(this.words[r]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,c=(0|this.words[t])-a<<r;this.words[t]=c|s,s=a>>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){n("number"==typeof e&&e>=0);var i;i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,c=r;if(i-=s,i=Math.max(0,i),c){for(var f=0;f<s;f++)c.words[f]=this.words[f];c.length=s}if(0===s);else if(this.length>s)for(this.length-=s,f=0;f<this.length;f++)this.words[f]=this.words[f+s];else this.words[0]=0,this.length=1;var u=0;for(f=this.length-1;f>=0&&(0!==u||f>=i);f--){var h=0|this.words[f];this.words[f]=u<<26-o|h>>>o,u=h&a}return c&&0!==u&&(c.words[c.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return!1;return!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o=e.length+r;this._expand(o);var s,a=0;for(i=0;i<e.length;i++){s=(0|this.words[i+r])+a;var c=(0|e.words[i])*t;a=((s-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&s}for(;i<this.length-r;i++)a=(s=(0|this.words[i+r])+a)>>26,this.words[i+r]=67108863&s;if(0===a)return this.strip();for(n(-1===a),a=0,i=0;i<this.length;i++)a=(s=-(0|this.words[i])+a)>>26,this.words[i]=67108863&s;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,s=0|i.words[i.length-1];0!==(r=26-this._countBits(s))&&(i=i.ushln(r),n.iushln(r),s=0|i.words[i.length-1]);var a,c=n.length-i.length;if("mod"!==t){(a=new o(null)).length=c+1,a.words=new Array(a.length);for(var f=0;f<a.length;f++)a.words[f]=0}var u=n.clone()._ishlnsubmul(i,1,c);0===u.negative&&(n=u,a&&(a.words[c]=1));for(var h=c-1;h>=0;h--){var l=67108864*(0|n.words[i.length+h])+(0|n.words[i.length+h-1]);for(l=Math.min(l/s|0,67108863),n._ishlnsubmul(i,l,h);0!==n.negative;)l--,n.negative=0,n._ishlnsubmul(i,1,h),n.isZero()||(n.negative^=1);a&&(a.words[h]=l)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},o.prototype.divmod=function(e,t,r){if(n(!e.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var i,s,a;return 0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t)},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},o.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),s=new o(0),a=new o(0),c=new o(1),f=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++f;for(var u=r.clone(),h=t.clone();!t.isZero();){for(var l=0,d=1;0==(t.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(t.iushrn(l);l-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(u),s.isub(h)),i.iushrn(1),s.iushrn(1);for(var p=0,b=1;0==(r.words[0]&b)&&p<26;++p,b<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(u),c.isub(h)),a.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(a),s.isub(c)):(r.isub(t),a.isub(i),c.isub(s))}return{a:a,b:c,gcd:r.iushln(f)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),s=new o(0),a=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,f=1;0==(t.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(t.iushrn(c);c-- >0;)i.isOdd()&&i.iadd(a),i.iushrn(1);for(var u=0,h=1;0==(r.words[0]&h)&&u<26;++u,h<<=1);if(u>0)for(r.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(a),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s)):(r.isub(t),s.isub(i))}var l;return(l=0===t.cmpn(1)?i:s).cmpn(0)<0&&l.iadd(e),l},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,s=r;0!==o&&s<this.length;s++){var a=0|this.words[s];o=(a+=o)>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t=e<0;if(0!==this.negative&&!t)return-1;if(0===this.negative&&t)return 1;this.strip();var r;if(this.length>1)r=1;else{t&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];r=i===e?0:i<e?-1:1}return 0!==this.negative?0|-r:r},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new y(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var E={k256:null,p224:null,p192:null,p25519:null};h.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},h.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):r.strip(),r},h.prototype.split=function(e,t){e.iushrn(this.n,0,t)},h.prototype.imulK=function(e){return e.imul(this.k)},i(l,h),l.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(t.words[t.length++]=4194303&i,n=10;n<e.length;n++){var o=0|e.words[n];e.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,e.words[n-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},l.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(d,h),i(p,h),i(b,h),b.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(E[e])return E[e];var t;if("k256"===e)t=new l;else if("p224"===e)t=new d;else if("p192"===e)t=new p;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new b}return E[e]=t,t},y.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},y.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},y.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},y.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},y.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},y.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},y.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},y.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},y.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},y.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},y.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},y.prototype.isqr=function(e){return this.imul(e,e.clone())},y.prototype.sqr=function(e){return this.mul(e,e)},y.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);n(!i.isZero());var a=new o(1).toRed(this),c=a.redNeg(),f=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,f).cmp(c);)u.redIAdd(c);for(var h=this.pow(u,i),l=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=s;0!==d.cmp(a);){for(var b=d,y=0;0!==b.cmp(a);y++)b=b.redSqr();n(y<p);var v=this.pow(h,new o(1).iushln(p-y-1));l=l.redMul(v),h=v.redSqr(),d=d.redMul(h),p=y}return l},y.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},y.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],s=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var f=t.words[n],u=c-1;u>=0;u--){var h=f>>u&1;i!==r[0]&&(i=this.sqr(i)),0!==h||0!==s?(s<<=1,s|=h,(4===++a||0===n&&0===u)&&(i=this.mul(i,r[s]),a=0,s=0)):a=0}c=26}return i},y.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},y.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new v(e)},i(v,y),v.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},v.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},v.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},v.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},v.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t,this)},{buffer:77}],114:[function(e,t,r){"use strict";var n=r;n.version=e("../package.json").version,n.utils=e("./elliptic/utils"),n.rand=e("brorand"),n.curve=e("./elliptic/curve"),n.curves=e("./elliptic/curves"),n.ec=e("./elliptic/ec"),n.eddsa=e("./elliptic/eddsa")},{"../package.json":129,"./elliptic/curve":117,"./elliptic/curves":120,"./elliptic/ec":121,"./elliptic/eddsa":124,"./elliptic/utils":128,brorand:76}],115:[function(e,t,r){"use strict";function n(e,t){this.type=e,this.p=new o(t.p,16),this.red=t.prime?o.red(t.prime):o.mont(this.p),this.zero=new o(0).toRed(this.red),this.one=new o(1).toRed(this.red),this.two=new o(2).toRed(this.red),this.n=t.n&&new o(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function i(e,t){this.curve=e,this.type=t,this.precomputed=null}var o=e("bn.js"),s=e("../../elliptic").utils,a=s.getNAF,c=s.getJSF,f=s.assert;t.exports=n,n.prototype.point=function(){throw new Error("Not implemented")},n.prototype.validate=function(){throw new Error("Not implemented")},n.prototype._fixedNafMul=function(e,t){f(e.precomputed);var r=e._getDoubles(),n=a(t,1),i=(1<<r.step+1)-(r.step%2==0?2:1);i/=3;for(var o=[],s=0;s<n.length;s+=r.step){for(var c=0,t=s+r.step-1;t>=s;t--)c=(c<<1)+n[t];o.push(c)}for(var u=this.jpoint(null,null,null),h=this.jpoint(null,null,null),l=i;l>0;l--){for(s=0;s<o.length;s++){(c=o[s])===l?h=h.mixedAdd(r.points[s]):c===-l&&(h=h.mixedAdd(r.points[s].neg()))}u=u.add(h)}return u.toP()},n.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var i=n.points,o=a(t,r),s=this.jpoint(null,null,null),c=o.length-1;c>=0;c--){for(t=0;c>=0&&0===o[c];c--)t++;if(c>=0&&t++,s=s.dblp(t),c<0)break;var u=o[c];f(0!==u),s="affine"===e.type?u>0?s.mixedAdd(i[u-1>>1]):s.mixedAdd(i[-u-1>>1].neg()):u>0?s.add(i[u-1>>1]):s.add(i[-u-1>>1].neg())}return"affine"===e.type?s.toP():s},n.prototype._wnafMulAdd=function(e,t,r,n,i){for(var o=this._wnafT1,s=this._wnafT2,f=this._wnafT3,u=0,h=0;h<n;h++){var l=(A=t[h])._getNAFPoints(e);o[h]=l.wnd,s[h]=l.points}for(h=n-1;h>=1;h-=2){var d=h-1,p=h;if(1===o[d]&&1===o[p]){var b=[t[d],null,null,t[p]];0===t[d].y.cmp(t[p].y)?(b[1]=t[d].add(t[p]),b[2]=t[d].toJ().mixedAdd(t[p].neg())):0===t[d].y.cmp(t[p].y.redNeg())?(b[1]=t[d].toJ().mixedAdd(t[p]),b[2]=t[d].add(t[p].neg())):(b[1]=t[d].toJ().mixedAdd(t[p]),b[2]=t[d].toJ().mixedAdd(t[p].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],v=c(r[d],r[p]);u=Math.max(v[0].length,u),f[d]=new Array(u),f[p]=new Array(u);for(k=0;k<u;k++){var m=0|v[0][k],g=0|v[1][k];f[d][k]=y[3*(m+1)+(g+1)],f[p][k]=0,s[d]=b}}else f[d]=a(r[d],o[d]),f[p]=a(r[p],o[p]),u=Math.max(f[d].length,u),u=Math.max(f[p].length,u)}for(var w=this.jpoint(null,null,null),_=this._wnafT4,h=u;h>=0;h--){for(var E=0;h>=0;){for(var S=!0,k=0;k<n;k++)_[k]=0|f[k][h],0!==_[k]&&(S=!1);if(!S)break;E++,h--}if(h>=0&&E++,w=w.dblp(E),h<0)break;for(k=0;k<n;k++){var A,x=_[k];0!==x&&(x>0?A=s[k][x-1>>1]:x<0&&(A=s[k][-x-1>>1].neg()),w="affine"===A.type?w.mixedAdd(A):w.add(A))}}for(h=0;h<n;h++)s[h]=null;return i?w:w.toP()},n.BasePoint=i,i.prototype.eq=function(){throw new Error("Not implemented")},i.prototype.validate=function(){return this.curve.validate(this)},n.prototype.decodePoint=function(e,t){e=s.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r){6===e[0]?f(e[e.length-1]%2==0):7===e[0]&&f(e[e.length-1]%2==1);return this.point(e.slice(1,1+r),e.slice(1+r,1+2*r))}if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},i.prototype.encodeCompressed=function(e){return this.encode(e,!0)},i.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},i.prototype.encode=function(e,t){return s.encode(this._encode(t),e)},i.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},i.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},i.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<t;i+=e){for(var o=0;o<e;o++)n=n.dbl();r.push(n)}return{step:e,points:r}},i.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)t[i]=t[i-1].add(n);return{wnd:e,points:t}},i.prototype._getBeta=function(){return null},i.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},{"../../elliptic":114,"bn.js":113}],116:[function(e,t,r){"use strict";function n(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,c.call(this,"edwards",e),this.a=new s(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new s(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new s(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),f(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function Point(e,t,r,n,i){c.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new s(t,16),this.y=new s(r,16),this.z=n?new s(n,16):this.curve.one,this.t=i&&new s(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}var i=e("../curve"),o=e("../../elliptic"),s=e("bn.js"),a=e("inherits"),c=i.base,f=o.utils.assert;a(n,c),t.exports=n,n.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},n.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},n.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},n.prototype.pointFromX=function(e,t){(e=new s(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),i=this.one.redSub(this.c2.redMul(this.d).redMul(r)),o=n.redMul(i.redInvm()),a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var c=a.fromRed().isOdd();return(t&&!c||!t&&c)&&(a=a.redNeg()),this.point(e,a)},n.prototype.pointFromY=function(e,t){(e=new s(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.one),i=r.redMul(this.d).redAdd(this.one),o=n.redMul(i.redInvm());if(0===o.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return a.isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},n.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(i)},a(Point,c.BasePoint),n.prototype.pointFromJSON=function(e){return Point.fromJSON(this,e)},n.prototype.point=function(e,t,r,n){return new Point(this,e,t,r,n)},Point.fromJSON=function(e,t){return new Point(e,t[0],t[1],t[2])},Point.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},Point.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&0===this.y.cmp(this.z)},Point.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=n.redAdd(t),s=o.redSub(r),a=n.redSub(t),c=i.redMul(s),f=o.redMul(a),u=i.redMul(a),h=s.redMul(o);return this.curve.point(c,f,h,u)},Point.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),o=this.y.redSqr();if(this.curve.twisted){var s=(f=this.curve._mulA(i)).redAdd(o);if(this.zOne)e=n.redSub(i).redSub(o).redMul(s.redSub(this.curve.two)),t=s.redMul(f.redSub(o)),r=s.redSqr().redSub(s).redSub(s);else{var a=this.z.redSqr(),c=s.redSub(a).redISub(a);e=n.redSub(i).redISub(o).redMul(c),t=s.redMul(f.redSub(o)),r=s.redMul(c)}}else{var f=i.redAdd(o),a=this.curve._mulC(this.c.redMul(this.z)).redSqr(),c=f.redSub(a).redSub(a);e=this.curve._mulC(n.redISub(f)).redMul(c),t=this.curve._mulC(f).redMul(i.redISub(o)),r=f.redMul(c)}return this.curve.point(e,t,r)},Point.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},Point.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=r.redSub(t),s=i.redSub(n),a=i.redAdd(n),c=r.redAdd(t),f=o.redMul(s),u=a.redMul(c),h=o.redMul(c),l=s.redMul(a);return this.curve.point(f,u,l,h)},Point.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),i=n.redSqr(),o=this.x.redMul(e.x),s=this.y.redMul(e.y),a=this.curve.d.redMul(o).redMul(s),c=i.redSub(a),f=i.redAdd(a),u=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(s),h=n.redMul(c).redMul(u);return this.curve.twisted?(t=n.redMul(f).redMul(s.redSub(this.curve._mulA(o))),r=c.redMul(f)):(t=n.redMul(f).redMul(s.redSub(o)),r=this.curve._mulC(c).redMul(f)),this.curve.point(h,t,r)},Point.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},Point.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},Point.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},Point.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},Point.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},Point.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},Point.prototype.getX=function(){return this.normalize(),this.x.fromRed()},Point.prototype.getY=function(){return this.normalize(),this.y.fromRed()},Point.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},Point.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}return!1},Point.prototype.toP=Point.prototype.normalize,Point.prototype.mixedAdd=Point.prototype.add},{"../../elliptic":114,"../curve":117,"bn.js":113,inherits:248}],117:[function(e,t,r){"use strict";var n=r;n.base=e("./base"),n.short=e("./short"),n.mont=e("./mont"),n.edwards=e("./edwards")},{"./base":115,"./edwards":116,"./mont":118,"./short":119}],118:[function(e,t,r){"use strict";function n(e){a.call(this,"mont",e),this.a=new o(e.a,16).toRed(this.red),this.b=new o(e.b,16).toRed(this.red),this.i4=new o(4).toRed(this.red).redInvm(),this.two=new o(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function Point(e,t,r){a.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new o(t,16),this.z=new o(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}var i=e("../curve"),o=e("bn.js"),s=e("inherits"),a=i.base,c=e("../../elliptic").utils;s(n,a),t.exports=n,n.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},s(Point,a.BasePoint),n.prototype.decodePoint=function(e,t){return this.point(c.toArray(e,t),1)},n.prototype.point=function(e,t){return new Point(this,e,t)},n.prototype.pointFromJSON=function(e){return Point.fromJSON(this,e)},Point.prototype.precompute=function(){},Point.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},Point.fromJSON=function(e,t){return new Point(e,t[0],t[1]||e.one)},Point.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},Point.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},Point.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),i=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},Point.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},Point.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(r),s=i.redMul(n),a=t.z.redMul(o.redAdd(s).redSqr()),c=t.x.redMul(o.redISub(s).redSqr());return this.curve.point(a,c)},Point.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},Point.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},Point.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},Point.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},Point.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},Point.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../../elliptic":114,"../curve":117,"bn.js":113,inherits:248}],119:[function(e,t,r){"use strict";function n(e){f.call(this,"short",e),this.a=new a(e.a,16).toRed(this.red),this.b=new a(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function Point(e,t,r,n){f.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(t,16),this.y=new a(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function i(e,t,r,n){f.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(t,16),this.y=new a(r,16),this.z=new a(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}var o=e("../curve"),s=e("../../elliptic"),a=e("bn.js"),c=e("inherits"),f=o.base,u=s.utils.assert;c(n,f),t.exports=n,n.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new a(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new a(e.lambda,16);else{var i=this._getEndoRoots(this.n);0===this.g.mul(i[0]).x.cmp(this.g.x.redMul(t))?r=i[0]:(r=i[1],u(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}var o;return o=e.basis?e.basis.map(function(e){return{a:new a(e.a,16),b:new a(e.b,16)}}):this._getEndoBasis(r),{beta:t,lambda:r,basis:o}}},n.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:a.mont(e),r=new a(2).toRed(t).redInvm(),n=r.redNeg(),i=new a(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(i).fromRed(),n.redSub(i).fromRed()]},n.prototype._getEndoBasis=function(e){for(var t,r,n,i,o,s,c,f,u,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),l=e,d=this.n.clone(),p=new a(1),b=new a(0),y=new a(0),v=new a(1),m=0;0!==l.cmpn(0);){var g=d.div(l);f=d.sub(g.mul(l)),u=y.sub(g.mul(p));var w=v.sub(g.mul(b));if(!n&&f.cmp(h)<0)t=c.neg(),r=p,n=f.neg(),i=u;else if(n&&2==++m)break;c=f,d=l,l=f,y=p,p=u,v=b,b=w}o=f.neg(),s=u;var _=n.sqr().add(i.sqr());return o.sqr().add(s.sqr()).cmp(_)>=0&&(o=t,s=r),n.negative&&(n=n.neg(),i=i.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:n,b:i},{a:o,b:s}]},n.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),o=r.b.neg().mul(e).divRound(this.n),s=i.mul(r.a),a=o.mul(n.a),c=i.mul(r.b),f=o.mul(n.b);return{k1:e.sub(s).sub(a),k2:c.add(f).neg()}},n.prototype.pointFromX=function(e,t){(e=new a(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(t&&!i||!t&&i)&&(n=n.redNeg()),this.point(e,n)},n.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},n.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<e.length;o++){var s=this._endoSplit(t[o]),a=e[o],c=a._getBeta();s.k1.negative&&(s.k1.ineg(),a=a.neg(!0)),s.k2.negative&&(s.k2.ineg(),c=c.neg(!0)),n[2*o]=a,n[2*o+1]=c,i[2*o]=s.k1,i[2*o+1]=s.k2}for(var f=this._wnafMulAdd(1,n,i,2*o,r),u=0;u<2*o;u++)n[u]=null,i[u]=null;return f},c(Point,f.BasePoint),n.prototype.point=function(e,t,r){return new Point(this,e,t,r)},n.prototype.pointFromJSON=function(e,t){return Point.fromJSON(this,e,t)},Point.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},Point.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},Point.fromJSON=function(e,t,r){function n(t){return e.point(t[0],t[1],r)}"string"==typeof t&&(t=JSON.parse(t));var i=e.point(t[0],t[1],r);if(!t[2])return i;var o=t[2];return i.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[i].concat(o.doubles.points.map(n))},naf:o.naf&&{wnd:o.naf.wnd,points:[i].concat(o.naf.points.map(n))}},i},Point.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},Point.prototype.isInfinity=function(){return this.inf},Point.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},Point.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},Point.prototype.getX=function(){return this.x.fromRed()},Point.prototype.getY=function(){return this.y.fromRed()},Point.prototype.mul=function(e){return e=new a(e,16),this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},Point.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},Point.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},Point.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},Point.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},Point.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);return this.curve.jpoint(this.x,this.y,this.curve.one)},c(i,f.BasePoint),n.prototype.jpoint=function(e,t,r){return new i(this,e,t,r)},i.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},i.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},i.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),o=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(r.redMul(this.z)),a=n.redSub(i),c=o.redSub(s);if(0===a.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var f=a.redSqr(),u=f.redMul(a),h=n.redMul(f),l=c.redSqr().redIAdd(u).redISub(h).redISub(h),d=c.redMul(h.redISub(l)).redISub(o.redMul(u)),p=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(l,d,p)},i.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),s=r.redSub(n),a=i.redSub(o);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),f=c.redMul(s),u=r.redMul(c),h=a.redSqr().redIAdd(f).redISub(u).redISub(u),l=a.redMul(u.redISub(h)).redISub(i.redMul(f)),d=this.z.redMul(s);return this.curve.jpoint(h,l,d)},i.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}for(var n=this.curve.a,i=this.curve.tinv,o=this.x,s=this.y,a=this.z,c=a.redSqr().redSqr(),f=s.redAdd(s),r=0;r<e;r++){var u=o.redSqr(),h=f.redSqr(),l=h.redSqr(),d=u.redAdd(u).redIAdd(u).redIAdd(n.redMul(c)),p=o.redMul(h),b=d.redSqr().redISub(p.redAdd(p)),y=p.redISub(b),v=d.redMul(y);v=v.redIAdd(v).redISub(l);var m=f.redMul(a);r+1<e&&(c=c.redMul(l)),o=b,a=m,f=v}return this.curve.jpoint(o,f.redMul(i),a)},i.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},i.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(n).redISub(o);s=s.redIAdd(s);var a=n.redAdd(n).redIAdd(n),c=a.redSqr().redISub(s).redISub(s),f=o.redIAdd(o);f=(f=f.redIAdd(f)).redIAdd(f),e=c,t=a.redMul(s.redISub(c)).redISub(f),r=this.y.redAdd(this.y)}else{var u=this.x.redSqr(),h=this.y.redSqr(),l=h.redSqr(),d=this.x.redAdd(h).redSqr().redISub(u).redISub(l);d=d.redIAdd(d);var p=u.redAdd(u).redIAdd(u),b=p.redSqr(),y=l.redIAdd(l);y=(y=y.redIAdd(y)).redIAdd(y),e=b.redISub(d).redISub(d),t=p.redMul(d.redISub(e)).redISub(y),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},i.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(n).redISub(o);s=s.redIAdd(s);var a=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),c=a.redSqr().redISub(s).redISub(s);e=c;var f=o.redIAdd(o);f=(f=f.redIAdd(f)).redIAdd(f),t=a.redMul(s.redISub(c)).redISub(f),r=this.y.redAdd(this.y)}else{var u=this.z.redSqr(),h=this.y.redSqr(),l=this.x.redMul(h),d=this.x.redSub(u).redMul(this.x.redAdd(u));d=d.redAdd(d).redIAdd(d);var p=l.redIAdd(l),b=(p=p.redIAdd(p)).redAdd(p);e=d.redSqr().redISub(b),r=this.y.redAdd(this.z).redSqr().redISub(h).redISub(u);var y=h.redSqr();y=(y=(y=y.redIAdd(y)).redIAdd(y)).redIAdd(y),t=d.redMul(p.redISub(e)).redISub(y)}return this.curve.jpoint(e,t,r)},i.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=t.redSqr(),s=r.redSqr(),a=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)),c=t.redAdd(t),f=(c=c.redIAdd(c)).redMul(s),u=a.redSqr().redISub(f.redAdd(f)),h=f.redISub(u),l=s.redSqr();l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var d=a.redMul(h).redISub(l),p=r.redAdd(r).redMul(n);return this.curve.jpoint(u,d,p)},i.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),i=e.redAdd(e).redIAdd(e),o=i.redSqr(),s=this.x.redAdd(t).redSqr().redISub(e).redISub(n),a=(s=(s=(s=s.redIAdd(s)).redAdd(s).redIAdd(s)).redISub(o)).redSqr(),c=n.redIAdd(n);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var f=i.redIAdd(s).redSqr().redISub(o).redISub(a).redISub(c),u=t.redMul(f);u=(u=u.redIAdd(u)).redIAdd(u);var h=this.x.redMul(a).redISub(u);h=(h=h.redIAdd(h)).redIAdd(h);var l=this.y.redMul(f.redMul(c.redISub(f)).redISub(s.redMul(a)));l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var d=this.z.redAdd(s).redSqr().redISub(r).redISub(a);return this.curve.jpoint(h,l,d)},i.prototype.mul=function(e,t){return e=new a(e,t),this.curve._wnafMul(this,e)},i.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),i=r.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(n)).cmpn(0)},i.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),i=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}return!1},i.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},i.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../../elliptic":114,"../curve":117,"bn.js":113,inherits:248}],120:[function(e,t,r){"use strict";function n(e){"short"===e.type?this.curve=new a.curve.short(e):"edwards"===e.type?this.curve=new a.curve.edwards(e):this.curve=new a.curve.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,c(this.g.validate(),"Invalid curve"),c(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function i(e,t){Object.defineProperty(o,e,{configurable:!0,enumerable:!0,get:function(){var r=new n(t);return Object.defineProperty(o,e,{configurable:!0,enumerable:!0,value:r}),r}})}var o=r,s=e("hash.js"),a=e("../elliptic"),c=a.utils.assert;o.PresetCurve=n,i("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:s.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),i("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:s.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),i("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:s.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),i("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:s.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),i("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:s.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),i("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["9"]}),i("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var f;try{f=e("./precomputed/secp256k1")}catch(e){f=void 0}i("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:s.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",f]})},{"../elliptic":114,"./precomputed/secp256k1":127,"hash.js":233}],121:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);"string"==typeof e&&(a(s.curves.hasOwnProperty(e),"Unknown curve "+e),e=s.curves[e]),e instanceof s.curves.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var i=e("bn.js"),o=e("hmac-drbg"),s=e("../../elliptic"),a=s.utils.assert,c=e("./key"),f=e("./signature");t.exports=n,n.prototype.keyPair=function(e){return new c(this,e)},n.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},n.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},n.prototype.genKeyPair=function(e){e||(e={});for(var t=new o({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s.rand(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new i(2));;){var a=new i(t.generate(r));if(!(a.cmp(n)>0))return a.iaddn(1),this.keyFromPrivate(a)}},n.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},n.prototype.sign=function(e,t,r,n){"object"==typeof r&&(n=r,r=null),n||(n={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new i(e,16));for(var s=this.n.byteLength(),a=t.getPrivate().toArray("be",s),c=e.toArray("be",s),u=new o({hash:this.hash,entropy:a,nonce:c,pers:n.pers,persEnc:n.persEnc||"utf8"}),h=this.n.sub(new i(1)),l=0;!0;l++){var d=n.k?n.k(l):new i(u.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||d.cmp(h)>=0)){var p=this.g.mul(d);if(!p.isInfinity()){var b=p.getX(),y=b.umod(this.n);if(0!==y.cmpn(0)){var v=d.invm(this.n).mul(y.mul(t.getPrivate()).iadd(e));if(0!==(v=v.umod(this.n)).cmpn(0)){var m=(p.getY().isOdd()?1:0)|(0!==b.cmp(y)?2:0);return n.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),m^=1),new f({r:y,s:v,recoveryParam:m})}}}}}},n.prototype.verify=function(e,t,r,n){e=this._truncateToN(new i(e,16)),r=this.keyFromPublic(r,n);var o=(t=new f(t,"hex")).r,s=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var a=s.invm(this.n),c=a.mul(e).umod(this.n),u=a.mul(o).umod(this.n);if(!this.curve._maxwellTrick){return!(h=this.g.mulAdd(c,r.getPublic(),u)).isInfinity()&&0===h.getX().umod(this.n).cmp(o)}var h=this.g.jmulAdd(c,r.getPublic(),u);return!h.isInfinity()&&h.eqXToP(o)},n.prototype.recoverPubKey=function(e,t,r,n){a((3&r)===r,"The recovery param is more than two bits"),t=new f(t,n);var o=this.n,s=new i(e),c=t.r,u=t.s,h=1&r,l=r>>1;if(c.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");c=l?this.curve.pointFromX(c.add(this.curve.n),h):this.curve.pointFromX(c,h);var d=t.r.invm(o),p=o.sub(s).mul(d).umod(o),b=u.mul(d).umod(o);return this.g.mulAdd(p,c,b)},n.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new f(t,n)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},{"../../elliptic":114,"./key":122,"./signature":123,"bn.js":113,"hmac-drbg":245}],122:[function(e,t,r){"use strict";function n(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}var i=e("bn.js"),o=e("../../elliptic").utils.assert;t.exports=n,n.fromPublic=function(e,t,r){return t instanceof n?t:new n(e,{pub:t,pubEnc:r})},n.fromPrivate=function(e,t,r){return t instanceof n?t:new n(e,{priv:t,privEnc:r})},n.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},n.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},n.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},n.prototype._importPrivate=function(e,t){this.priv=new i(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},n.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?o(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||o(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},n.prototype.derive=function(e){return e.mul(this.priv).getX()},n.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},n.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},n.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../../elliptic":114,"bn.js":113}],123:[function(e,t,r){"use strict";function n(e,t){if(e instanceof n)return e;this._importDER(e,t)||(f(e.r&&e.s,"Signature without r or s"),this.r=new a(e.r,16),this.s=new a(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function i(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,i=0,o=0,s=t.place;o<n;o++,s++)i<<=8,i|=e[s];return t.place=s,i}function o(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function s(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}var a=e("bn.js"),c=e("../../elliptic").utils,f=c.assert;t.exports=n,n.prototype._importDER=function(e,t){e=c.toArray(e,t);var r=new function(){this.place=0};if(48!==e[r.place++])return!1;if(i(e,r)+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var n=i(e,r),o=e.slice(r.place,n+r.place);if(r.place+=n,2!==e[r.place++])return!1;var s=i(e,r);if(e.length!==s+r.place)return!1;var f=e.slice(r.place,s+r.place);return 0===o[0]&&128&o[1]&&(o=o.slice(1)),0===f[0]&&128&f[1]&&(f=f.slice(1)),this.r=new a(o),this.s=new a(f),this.recoveryParam=null,!0},n.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=o(t),r=o(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];s(n,t.length),(n=n.concat(t)).push(2),s(n,r.length);var i=n.concat(r),a=[48];return s(a,i.length),a=a.concat(i),c.encode(a,e)}},{"../../elliptic":114,"bn.js":113}],124:[function(e,t,r){"use strict";function n(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof n))return new n(e);e=o.curves[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=i.sha512}var i=e("hash.js"),o=e("../../elliptic"),s=o.utils,a=s.assert,c=s.parseBytes,f=e("./key"),u=e("./signature");t.exports=n,n.prototype.sign=function(e,t){e=c(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),i=this.g.mul(n),o=this.encodePoint(i),s=this.hashInt(o,r.pubBytes(),e).mul(r.priv()),a=n.add(s).umod(this.curve.n);return this.makeSignature({R:i,S:a,Rencoded:o})},n.prototype.verify=function(e,t,r){e=c(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),i=this.hashInt(t.Rencoded(),n.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(n.pub().mul(i)).eq(o)},n.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return s.intFromLE(e.digest()).umod(this.curve.n)},n.prototype.keyFromPublic=function(e){return f.fromPublic(this,e)},n.prototype.keyFromSecret=function(e){return f.fromSecret(this,e)},n.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},n.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},n.prototype.decodePoint=function(e){var t=(e=s.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!=(128&e[t]),i=s.intFromLE(r);return this.curve.pointFromY(i,n)},n.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},n.prototype.decodeInt=function(e){return s.intFromLE(e)},n.prototype.isPoint=function(e){return e instanceof this.pointClass}},{"../../elliptic":114,"./key":125,"./signature":126,"hash.js":233}],125:[function(e,t,r){"use strict";function n(e,t){this.eddsa=e,this._secret=s(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=s(t.pub)}var i=e("../../elliptic").utils,o=i.assert,s=i.parseBytes,a=i.cachedProperty;n.fromPublic=function(e,t){return t instanceof n?t:new n(e,{pub:t})},n.fromSecret=function(e,t){return t instanceof n?t:new n(e,{secret:t})},n.prototype.secret=function(){return this._secret},a(n,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),a(n,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),a(n,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n}),a(n,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),a(n,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),a(n,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),n.prototype.sign=function(e){return o(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},n.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},n.prototype.getSecret=function(e){return o(this._secret,"KeyPair is public only"),i.encode(this.secret(),e)},n.prototype.getPublic=function(e){return i.encode(this.pubBytes(),e)},t.exports=n},{"../../elliptic":114}],126:[function(e,t,r){"use strict";function n(e,t){this.eddsa=e,"object"!=typeof t&&(t=c(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),s(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof i&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}var i=e("bn.js"),o=e("../../elliptic").utils,s=o.assert,a=o.cachedProperty,c=o.parseBytes;a(n,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),a(n,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),a(n,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),a(n,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),n.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},n.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},t.exports=n},{"../../elliptic":114,"bn.js":113}],127:[function(e,t,r){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},{}],128:[function(e,t,r){"use strict";var n=r,i=e("bn.js"),o=e("minimalistic-assert"),s=e("minimalistic-crypto-utils");n.assert=o,n.toArray=s.toArray,n.zero2=s.zero2,n.toHex=s.toHex,n.encode=s.encode,n.getNAF=function(e,t){for(var r=[],n=1<<t+1,i=e.clone();i.cmpn(1)>=0;){var o;if(i.isOdd()){var s=i.andln(n-1);o=s>(n>>1)-1?(n>>1)-s:s,i.isubn(o)}else o=0;r.push(o);for(var a=0!==i.cmpn(0)&&0===i.andln(n-1)?t+1:1,c=1;c<a;c++)r.push(0);i.iushrn(a)}return r},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,i=0;e.cmpn(-n)>0||t.cmpn(-i)>0;){var o=e.andln(3)+n&3,s=t.andln(3)+i&3;3===o&&(o=-1),3===s&&(s=-1);var a;a=0==(1&o)?0:3!=(f=e.andln(7)+n&7)&&5!==f||2!==s?o:-o,r[0].push(a);var c;if(0==(1&s))c=0;else{var f=t.andln(7)+i&7;c=3!==f&&5!==f||2!==o?s:-s}r[1].push(c),2*n===a+1&&(n=1-n),2*i===c+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new i(e,"hex","le")}},{"bn.js":113,"minimalistic-assert":257,"minimalistic-crypto-utils":258}],129:[function(e,t,r){t.exports={_args:[[{raw:"elliptic@^6.0.0",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.0.0",spec:">=6.0.0 <7.0.0",type:"range"},"/work/blocktrail-sdk-nodejs/node_modules/create-ecdh"]],_from:"elliptic@>=6.0.0 <7.0.0",_id:"[email protected]",_inCache:!0,_location:"/create-ecdh/elliptic",_nodeVersion:"7.0.0",_npmOperationalInternal:{host:"packages-18-east.internal.npmjs.com",tmp:"tmp/elliptic-6.4.0.tgz_1487798866428_0.30510620190761983"},_npmUser:{name:"indutny",email:"[email protected]"},_npmVersion:"3.10.8",_phantomChildren:{},_requested:{raw:"elliptic@^6.0.0",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.0.0",spec:">=6.0.0 <7.0.0",type:"range"},_requiredBy:["/create-ecdh"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz",_shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",_shrinkwrap:null,_spec:"elliptic@^6.0.0",_where:"/work/blocktrail-sdk-nodejs/node_modules/create-ecdh",author:{name:"Fedor Indutny",email:"[email protected]"},bugs:{url:"https://github.com/indutny/elliptic/issues"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},directories:{},dist:{shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",tarball:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz"},files:["lib"],gitHead:"6b0d2b76caae91471649c8e21f0b1d3ba0f96090",homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",maintainers:[{name:"indutny",email:"[email protected]"}],name:"elliptic",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git+ssh://[email protected]/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.4.0"}},{}],130:[function(e,t,r){(function(Buffer){"use strict";function r(e){c.call(this,"digest"),this._hash=e,this.buffers=[]}function n(e){c.call(this,"digest"),this._hash=e}var i=e("inherits"),o=e("./md5"),s=e("ripemd160"),a=e("sha.js"),c=e("cipher-base");i(r,c),r.prototype._update=function(e){this.buffers.push(e)},r.prototype._final=function(){var e=Buffer.concat(this.buffers),t=this._hash(e);return this.buffers=null,t},i(n,c),n.prototype._update=function(e){this._hash.update(e)},n.prototype._final=function(){return this._hash.digest()},t.exports=function(e){return"md5"===(e=e.toLowerCase())?new r(o):new n("rmd160"===e||"ripemd160"===e?new s:a(e))}}).call(this,e("buffer").Buffer)},{"./md5":132,buffer:105,"cipher-base":109,inherits:248,ripemd160:312,"sha.js":338}],131:[function(e,t,r){(function(Buffer){"use strict";var e=4,r=new Buffer(e);r.fill(0);t.exports=function(t,n){var i=n(function(t){if(t.length%e!=0){var n=t.length+(e-t.length%e);t=Buffer.concat([t,r],n)}for(var i=new Array(t.length>>>2),o=0,s=0;o<t.length;o+=e,s++)i[s]=t.readInt32LE(o);return i}(t),8*t.length);t=new Buffer(16);for(var o=0;o<i.length;o++)t.writeInt32LE(i[o],o<<2,!0);return t}}).call(this,e("buffer").Buffer)},{buffer:105}],132:[function(e,t,r){"use strict";function n(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var r=1732584193,n=-271733879,i=-1732584194,u=271733878,h=0;h<e.length;h+=16){var l=r,d=n,p=i,b=u;n=c(n=c(n=c(n=c(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,i=o(i,u=o(u,r=o(r,n,i,u,e[h+0],7,-680876936),n,i,e[h+1],12,-389564586),r,n,e[h+2],17,606105819),u,r,e[h+3],22,-1044525330),i=o(i,u=o(u,r=o(r,n,i,u,e[h+4],7,-176418897),n,i,e[h+5],12,1200080426),r,n,e[h+6],17,-1473231341),u,r,e[h+7],22,-45705983),i=o(i,u=o(u,r=o(r,n,i,u,e[h+8],7,1770035416),n,i,e[h+9],12,-1958414417),r,n,e[h+10],17,-42063),u,r,e[h+11],22,-1990404162),i=o(i,u=o(u,r=o(r,n,i,u,e[h+12],7,1804603682),n,i,e[h+13],12,-40341101),r,n,e[h+14],17,-1502002290),u,r,e[h+15],22,1236535329),i=s(i,u=s(u,r=s(r,n,i,u,e[h+1],5,-165796510),n,i,e[h+6],9,-1069501632),r,n,e[h+11],14,643717713),u,r,e[h+0],20,-373897302),i=s(i,u=s(u,r=s(r,n,i,u,e[h+5],5,-701558691),n,i,e[h+10],9,38016083),r,n,e[h+15],14,-660478335),u,r,e[h+4],20,-405537848),i=s(i,u=s(u,r=s(r,n,i,u,e[h+9],5,568446438),n,i,e[h+14],9,-1019803690),r,n,e[h+3],14,-187363961),u,r,e[h+8],20,1163531501),i=s(i,u=s(u,r=s(r,n,i,u,e[h+13],5,-1444681467),n,i,e[h+2],9,-51403784),r,n,e[h+7],14,1735328473),u,r,e[h+12],20,-1926607734),i=a(i,u=a(u,r=a(r,n,i,u,e[h+5],4,-378558),n,i,e[h+8],11,-2022574463),r,n,e[h+11],16,1839030562),u,r,e[h+14],23,-35309556),i=a(i,u=a(u,r=a(r,n,i,u,e[h+1],4,-1530992060),n,i,e[h+4],11,1272893353),r,n,e[h+7],16,-155497632),u,r,e[h+10],23,-1094730640),i=a(i,u=a(u,r=a(r,n,i,u,e[h+13],4,681279174),n,i,e[h+0],11,-358537222),r,n,e[h+3],16,-722521979),u,r,e[h+6],23,76029189),i=a(i,u=a(u,r=a(r,n,i,u,e[h+9],4,-640364487),n,i,e[h+12],11,-421815835),r,n,e[h+15],16,530742520),u,r,e[h+2],23,-995338651),i=c(i,u=c(u,r=c(r,n,i,u,e[h+0],6,-198630844),n,i,e[h+7],10,1126891415),r,n,e[h+14],15,-1416354905),u,r,e[h+5],21,-57434055),i=c(i,u=c(u,r=c(r,n,i,u,e[h+12],6,1700485571),n,i,e[h+3],10,-1894986606),r,n,e[h+10],15,-1051523),u,r,e[h+1],21,-2054922799),i=c(i,u=c(u,r=c(r,n,i,u,e[h+8],6,1873313359),n,i,e[h+15],10,-30611744),r,n,e[h+6],15,-1560198380),u,r,e[h+13],21,1309151649),i=c(i,u=c(u,r=c(r,n,i,u,e[h+4],6,-145523070),n,i,e[h+11],10,-1120210379),r,n,e[h+2],15,718787259),u,r,e[h+9],21,-343485551),r=f(r,l),n=f(n,d),i=f(i,p),u=f(u,b)}return[r,n,i,u]}function i(e,t,r,n,i,o){return f(function(e,t){return e<<t|e>>>32-t}(f(f(t,e),f(n,o)),i),r)}function o(e,t,r,n,o,s,a){return i(t&r|~t&n,e,t,o,s,a)}function s(e,t,r,n,o,s,a){return i(t&n|r&~n,e,t,o,s,a)}function a(e,t,r,n,o,s,a){return i(t^r^n,e,t,o,s,a)}function c(e,t,r,n,o,s,a){return i(r^(t|~n),e,t,o,s,a)}function f(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}var u=e("./make-hash");t.exports=function(e){return u(e,n)}},{"./make-hash":131}],133:[function(e,t,r){"use strict";function n(e,t){s.call(this,"digest"),"string"==typeof t&&(t=Buffer.from(t));var r="sha512"===e||"sha384"===e?128:64;if(this._alg=e,this._key=t,t.length>r){t=("rmd160"===e?new c:f(e)).update(t).digest()}else t.length<r&&(t=Buffer.concat([t,u],r));for(var n=this._ipad=Buffer.allocUnsafe(r),i=this._opad=Buffer.allocUnsafe(r),o=0;o<r;o++)n[o]=54^t[o],i[o]=92^t[o];this._hash="rmd160"===e?new c:f(e),this._hash.update(n)}var i=e("inherits"),o=e("./legacy"),s=e("cipher-base"),Buffer=e("safe-buffer").Buffer,a=e("create-hash/md5"),c=e("ripemd160"),f=e("sha.js"),u=Buffer.alloc(128);i(n,s),n.prototype._update=function(e){this._hash.update(e)},n.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new c:f(this._alg)).update(this._opad).update(e).digest()},t.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new n("rmd160",t):"md5"===e?new o(a,t):new n(e,t)}},{"./legacy":134,"cipher-base":109,"create-hash/md5":132,inherits:248,ripemd160:312,"safe-buffer":313,"sha.js":338}],134:[function(e,t,r){"use strict";function n(e,t){o.call(this,"digest"),"string"==typeof t&&(t=Buffer.from(t)),this._alg=e,this._key=t,t.length>a?t=e(t):t.length<a&&(t=Buffer.concat([t,s],a));for(var r=this._ipad=Buffer.allocUnsafe(a),n=this._opad=Buffer.allocUnsafe(a),i=0;i<a;i++)r[i]=54^t[i],n[i]=92^t[i];this._hash=[r]}var i=e("inherits"),Buffer=e("safe-buffer").Buffer,o=e("cipher-base"),s=Buffer.alloc(128),a=64;i(n,o),n.prototype._update=function(e){this._hash.push(e)},n.prototype._final=function(){var e=this._alg(Buffer.concat(this._hash));return this._alg(Buffer.concat([this._opad,e]))},t.exports=n},{"cipher-base":109,inherits:248,"safe-buffer":313}],135:[function(e,t,r){"use strict";r.randomBytes=r.rng=r.pseudoRandomBytes=r.prng=e("randombytes"),r.createHash=r.Hash=e("create-hash"),r.createHmac=r.Hmac=e("create-hmac");var n=e("browserify-sign/algos"),i=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);r.getHashes=function(){return o};var s=e("pbkdf2");r.pbkdf2=s.pbkdf2,r.pbkdf2Sync=s.pbkdf2Sync;var a=e("browserify-cipher");r.Cipher=a.Cipher,r.createCipher=a.createCipher,r.Cipheriv=a.Cipheriv,r.createCipheriv=a.createCipheriv,r.Decipher=a.Decipher,r.createDecipher=a.createDecipher,r.Decipheriv=a.Decipheriv,r.createDecipheriv=a.createDecipheriv,r.getCiphers=a.getCiphers,r.listCiphers=a.listCiphers;var c=e("diffie-hellman");r.DiffieHellmanGroup=c.DiffieHellmanGroup,r.createDiffieHellmanGroup=c.createDiffieHellmanGroup,r.getDiffieHellman=c.getDiffieHellman,r.createDiffieHellman=c.createDiffieHellman,r.DiffieHellman=c.DiffieHellman;var f=e("browserify-sign");r.createSign=f.createSign,r.Sign=f.Sign,r.createVerify=f.createVerify,r.Verify=f.Verify,r.createECDH=e("create-ecdh");var u=e("public-encrypt");r.publicEncrypt=u.publicEncrypt,r.privateEncrypt=u.privateEncrypt,r.publicDecrypt=u.publicDecrypt,r.privateDecrypt=u.privateDecrypt;var h=e("randomfill");r.randomFill=h.randomFill,r.randomFillSync=h.randomFillSync,r.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},r.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":95,"browserify-sign":155,"browserify-sign/algos":152,"create-ecdh":112,"create-hash":130,"create-hmac":133,"diffie-hellman":220,pbkdf2:259,"public-encrypt":266,randombytes:299,randomfill:300}],136:[function(e,t,r){var n=r;n.bignum=e("bn.js"),n.define=e("./asn1/api").define,n.base=e("./asn1/base"),n.constants=e("./asn1/constants"),n.decoders=e("./asn1/decoders"),n.encoders=e("./asn1/encoders")},{"./asn1/api":137,"./asn1/base":139,"./asn1/constants":143,"./asn1/decoders":145,"./asn1/encoders":148,"bn.js":150}],137:[function(e,t,r){function n(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}var i=e("../asn1"),o=e("inherits");r.define=function(e,t){return new n(e,t)},n.prototype._createNamed=function(t){var r;try{r=e("vm").runInThisContext("(function "+this.name+"(entity) {\n  this._initNamed(entity);\n})")}catch(e){r=function(e){this._initNamed(e)}}return o(r,t),r.prototype._initNamed=function(e){t.call(this,e)},new r(this)},n.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(i.decoders[e])),this.decoders[e]},n.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},n.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(i.encoders[e])),this.encoders[e]},n.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},{"../asn1":136,inherits:248,vm:364}],138:[function(e,t,r){function n(e,t){s.call(this,t),Buffer.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function i(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof i||(e=new i(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=Buffer.byteLength(e);else{if(!Buffer.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}var o=e("inherits"),s=e("../base").Reporter,Buffer=e("buffer").Buffer;o(n,s),r.DecoderBuffer=n,n.prototype.save=function(){return{offset:this.offset,reporter:s.prototype.save.call(this)}},n.prototype.restore=function(e){var t=new n(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,s.prototype.restore.call(this,e.reporter),t},n.prototype.isEmpty=function(){return this.offset===this.length},n.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},n.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new n(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},n.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},r.EncoderBuffer=i,i.prototype.join=function(e,t){return e||(e=new Buffer(this.length)),t||(t=0),0===this.length?e:(Array.isArray(this.value)?this.value.forEach(function(r){r.join(e,t),t+=r.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):Buffer.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length),e)}},{"../base":139,buffer:105,inherits:248}],139:[function(e,t,r){var n=r;n.Reporter=e("./reporter").Reporter,n.DecoderBuffer=e("./buffer").DecoderBuffer,n.EncoderBuffer=e("./buffer").EncoderBuffer,n.Node=e("./node")},{"./buffer":138,"./node":140,"./reporter":141}],140:[function(e,t,r){function n(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}var i=e("../base").Reporter,o=e("../base").EncoderBuffer,s=e("../base").DecoderBuffer,a=e("minimalistic-assert"),c=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],f=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(c);t.exports=n;var u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];n.prototype.clone=function(){var e=this._baseState,t={};u.forEach(function(r){t[r]=e[r]});var r=new this.constructor(t.parent);return r._baseState=t,r},n.prototype._wrap=function(){var e=this._baseState;f.forEach(function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}},this)},n.prototype._init=function(e){var t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),a.equal(t.children.length,1,"Root node can have only one child")},n.prototype._useArgs=function(e){var t=this._baseState,r=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==r.length&&(a(null===t.children),t.children=r,r.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(r){r==(0|r)&&(r|=0);var n=e[r];t[n]=r}),t}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(e){n.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}}),c.forEach(function(e){n.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(r),this}}),n.prototype.use=function(e){a(e);var t=this._baseState;return a(null===t.use),t.use=e,this},n.prototype.optional=function(){return this._baseState.optional=!0,this},n.prototype.def=function(e){var t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},n.prototype.explicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},n.prototype.implicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},n.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},n.prototype.key=function(e){var t=this._baseState;return a(null===t.key),t.key=e,this},n.prototype.any=function(){return this._baseState.any=!0,this},n.prototype.choice=function(e){var t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},n.prototype.contains=function(e){var t=this._baseState;return a(null===t.use),t.contains=e,this},n.prototype._decode=function(e,t){var r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var n=r.default,i=!0,o=null;if(null!==r.key&&(o=e.enterKey(r.key)),r.optional){var a=null;if(null!==r.explicit?a=r.explicit:null!==r.implicit?a=r.implicit:null!==r.tag&&(a=r.tag),null!==a||r.any){if(i=this._peekTag(e,a,r.any),e.isError(i))return i}else{h=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),i=!0}catch(e){i=!1}e.restore(h)}}var c;if(r.obj&&i&&(c=e.enterObject()),i){if(null!==r.explicit){var f=this._decodeTag(e,r.explicit);if(e.isError(f))return f;e=f}var u=e.offset;if(null===r.use&&null===r.choice){if(r.any)var h=e.save();var l=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(l))return l;r.any?n=e.raw(h):e=l}if(t&&t.track&&null!==r.tag&&t.track(e.path(),u,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),n=r.any?n:null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),e.isError(n))return n;if(r.any||null!==r.choice||null===r.children||r.children.forEach(function(r){r._decode(e,t)}),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var d=new s(n);n=this._getUse(r.contains,e._reporterState.obj)._decode(d,t)}}return r.obj&&i&&(n=e.leaveObject(c)),null===r.key||null===n&&!0!==i?null!==o&&e.exitKey(o):e.leaveKey(o,r.key,n),n},n.prototype._decodeGeneric=function(e,t,r){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},n.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),a(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},n.prototype._decodeChoice=function(e,t){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some(function(o){var s=e.save(),a=r.choice[o];try{var c=a._decode(e,t);if(e.isError(c))return!1;n={type:o,value:c},i=!0}catch(t){return e.restore(s),!1}return!0},this),i?n:e.error("Choice not matched")},n.prototype._createEncoderBuffer=function(e){return new o(e,this.reporter)},n.prototype._encode=function(e,t,r){var n=this._baseState;if(null===n.default||n.default!==e){var i=this._encodeValue(e,t,r);if(void 0!==i&&!this._skipDefault(i,t,r))return i}},n.prototype._encodeValue=function(e,t,r){var n=this._baseState;if(null===n.parent)return n.children[0]._encode(e,t||new i);c=null;if(this.reporter=t,n.optional&&void 0===e){if(null===n.default)return;e=n.default}var o=null,s=!1;if(n.any)c=this._createEncoderBuffer(e);else if(n.choice)c=this._encodeChoice(e,t);else if(n.contains)o=this._getUse(n.contains,r)._encode(e,t),s=!0;else if(n.children)o=n.children.map(function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var n=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var i=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),i},this).filter(function(e){return e}),o=this._createEncoderBuffer(o);else if("seqof"===n.tag||"setof"===n.tag){if(!n.args||1!==n.args.length)return t.error("Too many args for : "+n.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var a=this.clone();a._baseState.implicit=null,o=this._createEncoderBuffer(e.map(function(r){var n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)},a))}else null!==n.use?c=this._getUse(n.use,r)._encode(e,t):(o=this._encodePrimitive(n.tag,e),s=!0);var c;if(!n.any&&null===n.choice){var f=null!==n.implicit?n.implicit:n.tag,u=null===n.implicit?"universal":"context";null===f?null===n.use&&t.error("Tag could be omitted only for .use()"):null===n.use&&(c=this._encodeComposite(f,s,u,o))}return null!==n.explicit&&(c=this._encodeComposite(n.explicit,!1,"context",c)),c},n.prototype._encodeChoice=function(e,t){var r=this._baseState,n=r.choice[e.type];return n||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},n.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},n.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},n.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},{"../base":139,"minimalistic-assert":257}],141:[function(e,t,r){function n(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function i(e,t){this.path=e,this.rethrow(t)}var o=e("inherits");r.Reporter=n,n.prototype.isError=function(e){return e instanceof i},n.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},n.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},n.prototype.enterKey=function(e){return this._reporterState.path.push(e)},n.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},n.prototype.leaveKey=function(e,t,r){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},n.prototype.path=function(){return this._reporterState.path.join("/")},n.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},n.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},n.prototype.error=function(e){var t,r=this._reporterState,n=e instanceof i;if(t=n?e:new i(r.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},n.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},o(i,Error),i.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,i),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},{inherits:248}],142:[function(e,t,r){var n=e("../constants");r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=n._reverse(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=n._reverse(r.tag)},{"../constants":143}],143:[function(e,t,r){var n=r;n._reverse=function(e){var t={};return Object.keys(e).forEach(function(r){(0|r)==r&&(r|=0);var n=e[r];t[n]=r}),t},n.der=e("./der")},{"./der":142}],144:[function(e,t,r){function n(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new i,this.tree._init(e.body)}function i(e){f.Node.call(this,"der",e)}function o(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=h.tagClass[r>>6],i=0==(32&r);if(31==(31&r)){var o=r;for(r=0;128==(128&o);){if(o=e.readUInt8(t),e.isError(o))return o;r<<=7,r|=127&o}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:h.tag[r]}}function s(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;var i=127&n;if(i>4)return e.error("length octect is too long");n=0;for(var o=0;o<i;o++){n<<=8;var s=e.readUInt8(r);if(e.isError(s))return s;n|=s}return n}var a=e("inherits"),c=e("../../asn1"),f=c.base,u=c.bignum,h=c.constants.der;t.exports=n,n.prototype.decode=function(e,t){return e instanceof f.DecoderBuffer||(e=new f.DecoderBuffer(e,t)),this.tree._decode(e,t)},a(i,f.Node),i.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var n=e.save(),i=o(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(n),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||r)},i.prototype._decodeTag=function(e,t,r){var n=o(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;var i=s(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var a=e.save(),c=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(c)?c:(i=e.offset-a.offset,e.restore(a),e.skip(i,'Failed to match body of: "'+t+'"'))},i.prototype._skipUntilEnd=function(e,t){for(;;){var r=o(e,t);if(e.isError(r))return r;var n=s(e,r.primitive,t);if(e.isError(n))return n;var i;if(i=r.primitive||null!==n?e.skip(n):this._skipUntilEnd(e,t),e.isError(i))return i;if("end"===r.tagStr)break}},i.prototype._decodeList=function(e,t,r,n){for(var i=[];!e.isEmpty();){var o=this._peekTag(e,"end");if(e.isError(o))return o;var s=r.decode(e,"der",n);if(e.isError(s)&&o)break;i.push(s)}return i},i.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var n=e.raw();if(n.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<n.length/2;o++)i+=String.fromCharCode(n.readUInt16BE(2*o));return i}if("numstr"===t){var s=e.raw().toString("ascii");return this._isNumstr(s)?s:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var a=e.raw().toString("ascii");return this._isPrintstr(a)?a:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},i.prototype._decodeObjid=function(e,t,r){for(var n,i=[],o=0;!e.isEmpty();){var s=e.readUInt8();o<<=7,o|=127&s,0==(128&s)&&(i.push(o),o=0)}128&s&&i.push(o);var a=i[0]/40|0,c=i[0]%40;if(n=r?i:[a,c].concat(i.slice(1)),t){var f=t[n.join(" ")];void 0===f&&(f=t[n.join(".")]),void 0!==f&&(n=f)}return n},i.prototype._decodeTime=function(e,t){var r=e.raw().toString();if("gentime"===t)var n=0|r.slice(0,4),i=0|r.slice(4,6),o=0|r.slice(6,8),s=0|r.slice(8,10),a=0|r.slice(10,12),c=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");var n=0|r.slice(0,2),i=0|r.slice(2,4),o=0|r.slice(4,6),s=0|r.slice(6,8),a=0|r.slice(8,10),c=0|r.slice(10,12);n=n<70?2e3+n:1900+n}return Date.UTC(n,i-1,o,s,a,c,0)},i.prototype._decodeNull=function(e){return null},i.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},i.prototype._decodeInt=function(e,t){var r=e.raw(),n=new u(r);return t&&(n=t[n.toString(10)]||n),n},i.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},{"../../asn1":136,inherits:248}],145:[function(e,t,r){var n=r;n.der=e("./der"),n.pem=e("./pem")},{"./der":144,"./pem":146}],146:[function(e,t,r){function n(e){o.call(this,e),this.enc="pem"}var i=e("inherits"),Buffer=e("buffer").Buffer,o=e("./der");i(n,o),t.exports=n,n.prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),i=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,a=-1,c=0;c<r.length;c++){var f=r[c].match(i);if(null!==f&&f[2]===n){if(-1!==s){if("END"!==f[1])break;a=c;break}if("BEGIN"!==f[1])break;s=c}}if(-1===s||-1===a)throw new Error("PEM section not found for: "+n);var u=r.slice(s+1,a).join("");u.replace(/[^a-z0-9\+\/=]+/gi,"");var h=new Buffer(u,"base64");return o.prototype.decode.call(this,h,t)}},{"./der":144,buffer:105,inherits:248}],147:[function(e,t,r){function n(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new i,this.tree._init(e.body)}function i(e){c.Node.call(this,"der",e)}function o(e){return e<10?"0"+e:e}var s=e("inherits"),Buffer=e("buffer").Buffer,a=e("../../asn1"),c=a.base,f=a.constants.der;t.exports=n,n.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},s(i,c.Node),i.prototype._encodeComposite=function(e,t,r,n){var i=function(e,t,r,n){var i;if("seqof"===e?e="seq":"setof"===e&&(e="set"),f.tagByName.hasOwnProperty(e))i=f.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);i=e}return i>=31?n.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=f.tagClassByName[r||"universal"]<<6)}(e,t,r,this.reporter);if(n.length<128){return(a=new Buffer(2))[0]=i,a[1]=n.length,this._createEncoderBuffer([a,n])}for(var o=1,s=n.length;s>=256;s>>=8)o++;var a=new Buffer(2+o);a[0]=i,a[1]=128|o;for(var s=1+o,c=n.length;c>0;s--,c>>=8)a[s]=255&c;return this._createEncoderBuffer([a,n])},i.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new Buffer(2*e.length),n=0;n<e.length;n++)r.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)?this._createEncoderBuffer(e):"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},i.prototype._encodeObjid=function(e,t,r){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(i=0;i<e.length;i++)e[i]|=0}else if(Array.isArray(e)){e=e.slice();for(i=0;i<e.length;i++)e[i]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}for(var n=0,i=0;i<e.length;i++){a=e[i];for(n++;a>=128;a>>=7)n++}for(var o=new Buffer(n),s=o.length-1,i=e.length-1;i>=0;i--){var a=e[i];for(o[s--]=127&a;(a>>=7)>0;)o[s--]=128|127&a}return this._createEncoderBuffer(o)},i.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[o(n.getFullYear()),o(n.getUTCMonth()+1),o(n.getUTCDate()),o(n.getUTCHours()),o(n.getUTCMinutes()),o(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[o(n.getFullYear()%100),o(n.getUTCMonth()+1),o(n.getUTCDate()),o(n.getUTCHours()),o(n.getUTCMinutes()),o(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},i.prototype._encodeNull=function(){return this._createEncoderBuffer("")},i.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!Buffer.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new Buffer(r)}if(Buffer.isBuffer(e)){n=e.length;0===e.length&&n++;o=new Buffer(n);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var n=1,i=e;i>=256;i>>=8)n++;for(var o,i=(o=new Array(n)).length-1;i>=0;i--)o[i]=255&e,e>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new Buffer(o))},i.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},i.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},i.prototype._skipDefault=function(e,t,r){var n,i=this._baseState;if(null===i.default)return!1;var o=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,r).join()),o.length!==i.defaultBuffer.length)return!1;for(n=0;n<o.length;n++)if(o[n]!==i.defaultBuffer[n])return!1;return!0}},{"../../asn1":136,buffer:105,inherits:248}],148:[function(e,t,r){var n=r;n.der=e("./der"),n.pem=e("./pem")},{"./der":147,"./pem":149}],149:[function(e,t,r){function n(e){o.call(this,e),this.enc="pem"}var i=e("inherits"),o=e("./der");i(n,o),t.exports=n,n.prototype.encode=function(e,t){for(var r=o.prototype.encode.call(this,e).toString("base64"),n=["-----BEGIN "+t.label+"-----"],i=0;i<r.length;i+=64)n.push(r.slice(i,i+64));return n.push("-----END "+t.label+"-----"),n.join("\n")}},{"./der":147,inherits:248}],150:[function(e,t,r){arguments[4][113][0].apply(r,arguments)},{buffer:77,dup:113}],151:[function(e,t,r){(function(Buffer){function r(e,t){var r=function(e){var t=n(e);return{blinder:t.toRed(i.mont(e.modulus)).redPow(new i(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),o=t.modulus.byteLength(),s=(i.mont(t.modulus),new i(e).mul(r.blinder).umod(t.modulus)),a=s.toRed(i.mont(t.prime1)),c=s.toRed(i.mont(t.prime2)),f=t.coefficient,u=t.prime1,h=t.prime2,l=a.redPow(t.exponent1),d=c.redPow(t.exponent2);l=l.fromRed(),d=d.fromRed();var p=l.isub(d).imul(f).umod(u);return p.imul(h),d.iadd(p),new Buffer(d.imul(r.unblinder).umod(t.modulus).toArray(!1,o))}function n(e){for(var t=e.modulus.byteLength(),r=new i(o(t));r.cmp(e.modulus)>=0||!r.umod(e.prime1)||!r.umod(e.prime2);)r=new i(o(t));return r}var i=e("bn.js"),o=e("randombytes");t.exports=r,r.getr=n}).call(this,e("buffer").Buffer)},{"bn.js":150,buffer:105,randombytes:299}],152:[function(e,t,r){t.exports=e("./browser/algorithms.json")},{"./browser/algorithms.json":153}],153:[function(e,t,r){t.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],154:[function(e,t,r){t.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],155:[function(e,t,r){(function(Buffer){function r(e){a.Writable.call(this);var t=h[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=s(t.hash),this._tag=t.id,this._signType=t.sign}function n(e){a.Writable.call(this);var t=h[e];if(!t)throw new Error("Unknown message digest");this._hash=s(t.hash),this._tag=t.id,this._signType=t.sign}function i(e){return new r(e)}function o(e){return new n(e)}var s=e("create-hash"),a=e("stream"),c=e("inherits"),f=e("./sign"),u=e("./verify"),h=e("./algorithms.json");Object.keys(h).forEach(function(e){h[e].id=new Buffer(h[e].id,"hex"),h[e.toLowerCase()]=h[e]}),c(r,a.Writable),r.prototype._write=function(e,t,r){this._hash.update(e),r()},r.prototype.update=function(e,t){return"string"==typeof e&&(e=new Buffer(e,t)),this._hash.update(e),this},r.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=f(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},c(n,a.Writable),n.prototype._write=function(e,t,r){this._hash.update(e),r()},n.prototype.update=function(e,t){return"string"==typeof e&&(e=new Buffer(e,t)),this._hash.update(e),this},n.prototype.verify=function(e,t,r){"string"==typeof t&&(t=new Buffer(t,r)),this.end();var n=this._hash.digest();return u(t,n,e,this._signType,this._tag)},t.exports={Sign:i,Verify:o,createSign:i,createVerify:o}}).call(this,e("buffer").Buffer)},{"./algorithms.json":153,"./sign":156,"./verify":157,buffer:105,"create-hash":130,inherits:248,stream:346}],156:[function(e,t,r){(function(Buffer){function r(e,t,r,i){if((e=new Buffer(e.toArray())).length<t.byteLength()){var s=new Buffer(t.byteLength()-e.length);s.fill(0),e=Buffer.concat([s,e])}var a=r.length,c=function(e,t){e=(e=n(e,t)).mod(t);var r=new Buffer(e.toArray());if(r.length<t.byteLength()){var i=new Buffer(t.byteLength()-r.length);i.fill(0),r=Buffer.concat([i,r])}return r}(r,t),f=new Buffer(a);f.fill(1);var u=new Buffer(a);return u.fill(0),u=o(i,u).update(f).update(new Buffer([0])).update(e).update(c).digest(),f=o(i,u).update(f).digest(),u=o(i,u).update(f).update(new Buffer([1])).update(e).update(c).digest(),f=o(i,u).update(f).digest(),{k:u,v:f}}function n(e,t){var r=new c(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function i(e,t,r){var i,s;do{for(i=new Buffer(0);8*i.length<e.bitLength();)t.v=o(r,t.k).update(t.v).digest(),i=Buffer.concat([i,t.v]);s=n(i,e),t.k=o(r,t.k).update(t.v).update(new Buffer([0])).digest(),t.v=o(r,t.k).update(t.v).digest()}while(-1!==s.cmp(e));return s}var o=e("create-hmac"),s=e("browserify-rsa"),a=e("elliptic").ec,c=e("bn.js"),f=e("parse-asn1"),u=e("./curves.json");t.exports=function(e,t,o,h,l){var d=f(t);if(d.curve){if("ecdsa"!==h&&"ecdsa/rsa"!==h)throw new Error("wrong private key type");return function(e,t){var r=u[t.curve.join(".")];if(!r)throw new Error("unknown curve "+t.curve.join("."));var n=new a(r).keyFromPrivate(t.privateKey).sign(e);return new Buffer(n.toDER())}(e,d)}if("dsa"===d.type){if("dsa"!==h)throw new Error("wrong private key type");return function(e,t,o){for(var s,a=t.params.priv_key,f=t.params.p,u=t.params.q,h=t.params.g,l=new c(0),d=n(e,u).mod(u),p=!1,b=r(a,u,e,o);!1===p;)s=i(u,b,o),l=function(e,t,r,n){return h.toRed(c.mont(r)).redPow(t).fromRed().mod(n)}(0,s,f,u),0===(p=s.invm(u).imul(d.add(a.mul(l))).mod(u)).cmpn(0)&&(p=!1,l=new c(0));return function(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var r=[48,e.length+t.length+4,2,e.length];return r=r.concat(e,[2,t.length],t),new Buffer(r)}(l,p)}(e,d,o)}if("rsa"!==h&&"ecdsa/rsa"!==h)throw new Error("wrong private key type");e=Buffer.concat([l,e]);for(var p=d.modulus.byteLength(),b=[0,1];e.length+b.length+1<p;)b.push(255);b.push(0);for(var y=-1;++y<e.length;)b.push(e[y]);return s(b,d)},t.exports.getKey=r,t.exports.makeKey=i}).call(this,e("buffer").Buffer)},{"./curves.json":154,"bn.js":150,"browserify-rsa":151,buffer:105,"create-hmac":133,elliptic:158,"parse-asn1":178}],157:[function(e,t,r){(function(Buffer){function r(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}var n=e("bn.js"),i=e("elliptic").ec,o=e("parse-asn1"),s=e("./curves.json");t.exports=function(e,t,a,c,f){var u=o(a);if("ec"===u.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(e,t,r){var n=s[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var o=new i(n),a=r.data.subjectPrivateKey.data;return o.verify(t,e,a)}(e,t,u)}if("dsa"===u.type){if("dsa"!==c)throw new Error("wrong public key type");return function(e,t,i){var s=i.data.p,a=i.data.q,c=i.data.g,f=i.data.pub_key,u=o.signature.decode(e,"der"),h=u.s,l=u.r;r(h,a),r(l,a);var d=n.mont(s),p=h.invm(a);return 0===c.toRed(d).redPow(new n(t).mul(p).mod(a)).fromRed().mul(f.toRed(d).redPow(l.mul(p).mod(a)).fromRed()).mod(s).mod(a).cmp(l)}(e,t,u)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");t=Buffer.concat([f,t]);for(var h=u.modulus.byteLength(),l=[1],d=0;t.length+l.length+2<h;)l.push(255),d++;l.push(0);for(var p=-1;++p<t.length;)l.push(t[p]);l=new Buffer(l);var b=n.mont(u.modulus);e=(e=new n(e).toRed(b)).redPow(new n(u.publicExponent)),e=new Buffer(e.fromRed().toArray());var y=d<8?1:0;for(h=Math.min(e.length,l.length),e.length!==l.length&&(y=1),p=-1;++p<h;)y|=e[p]^l[p];return 0===y}}).call(this,e("buffer").Buffer)},{"./curves.json":154,"bn.js":150,buffer:105,elliptic:158,"parse-asn1":178}],158:[function(e,t,r){arguments[4][114][0].apply(r,arguments)},{"../package.json":173,"./elliptic/curve":161,"./elliptic/curves":164,"./elliptic/ec":165,"./elliptic/eddsa":168,"./elliptic/utils":172,brorand:76,dup:114}],159:[function(e,t,r){arguments[4][115][0].apply(r,arguments)},{"../../elliptic":158,"bn.js":150,dup:115}],160:[function(e,t,r){arguments[4][116][0].apply(r,arguments)},{"../../elliptic":158,"../curve":161,"bn.js":150,dup:116,inherits:248}],161:[function(e,t,r){arguments[4][117][0].apply(r,arguments)},{"./base":159,"./edwards":160,"./mont":162,"./short":163,dup:117}],162:[function(e,t,r){arguments[4][118][0].apply(r,arguments)},{"../../elliptic":158,"../curve":161,"bn.js":150,dup:118,inherits:248}],163:[function(e,t,r){arguments[4][119][0].apply(r,arguments)},{"../../elliptic":158,"../curve":161,"bn.js":150,dup:119,inherits:248}],164:[function(e,t,r){arguments[4][120][0].apply(r,arguments)},{"../elliptic":158,"./precomputed/secp256k1":171,dup:120,"hash.js":233}],165:[function(e,t,r){arguments[4][121][0].apply(r,arguments)},{"../../elliptic":158,"./key":166,"./signature":167,"bn.js":150,dup:121,"hmac-drbg":245}],166:[function(e,t,r){arguments[4][122][0].apply(r,arguments)},{"../../elliptic":158,"bn.js":150,dup:122}],167:[function(e,t,r){arguments[4][123][0].apply(r,arguments)},{"../../elliptic":158,"bn.js":150,dup:123}],168:[function(e,t,r){arguments[4][124][0].apply(r,arguments)},{"../../elliptic":158,"./key":169,"./signature":170,dup:124,"hash.js":233}],169:[function(e,t,r){arguments[4][125][0].apply(r,arguments)},{"../../elliptic":158,dup:125}],170:[function(e,t,r){arguments[4][126][0].apply(r,arguments)},{"../../elliptic":158,"bn.js":150,dup:126}],171:[function(e,t,r){arguments[4][127][0].apply(r,arguments)},{dup:127}],172:[function(e,t,r){arguments[4][128][0].apply(r,arguments)},{"bn.js":150,dup:128,"minimalistic-assert":257,"minimalistic-crypto-utils":258}],173:[function(e,t,r){t.exports={_args:[[{raw:"elliptic@^6.0.0",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.0.0",spec:">=6.0.0 <7.0.0",type:"range"},"/work/blocktrail-sdk-nodejs/node_modules/crypto-browserify/node_modules/browserify-sign"]],_from:"elliptic@>=6.0.0 <7.0.0",_id:"[email protected]",_inCache:!0,_location:"/crypto-browserify/elliptic",_nodeVersion:"7.0.0",_npmOperationalInternal:{host:"packages-18-east.internal.npmjs.com",tmp:"tmp/elliptic-6.4.0.tgz_1487798866428_0.30510620190761983"},_npmUser:{name:"indutny",email:"[email protected]"},_npmVersion:"3.10.8",_phantomChildren:{},_requested:{raw:"elliptic@^6.0.0",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.0.0",spec:">=6.0.0 <7.0.0",type:"range"},_requiredBy:["/crypto-browserify/browserify-sign"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz",_shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",_shrinkwrap:null,_spec:"elliptic@^6.0.0",_where:"/work/blocktrail-sdk-nodejs/node_modules/crypto-browserify/node_modules/browserify-sign",author:{name:"Fedor Indutny",email:"[email protected]"},bugs:{url:"https://github.com/indutny/elliptic/issues"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},directories:{},dist:{shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",tarball:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz"},files:["lib"],gitHead:"6b0d2b76caae91471649c8e21f0b1d3ba0f96090",homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",maintainers:[{name:"indutny",email:"[email protected]"}],name:"elliptic",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git+ssh://[email protected]/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.4.0"}},{}],174:[function(e,t,r){t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],175:[function(e,t,r){"use strict";var n=e("asn1.js");r.certificate=e("./certificate");var i=n.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});r.RSAPrivateKey=i;var o=n.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});r.RSAPublicKey=o;var s=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())});r.PublicKey=s;var a=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),c=n.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())});r.PrivateKey=c;var f=n.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});r.EncryptedPrivateKey=f;var u=n.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});r.DSAPrivateKey=u,r.DSAparam=n.define("DSAparam",function(){this.int()});var h=n.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(l),this.key("publicKey").optional().explicit(1).bitstr())});r.ECPrivateKey=h;var l=n.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});r.signature=n.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},{"./certificate":176,"asn1.js":136}],176:[function(e,t,r){"use strict";var n=e("asn1.js"),i=n.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),o=n.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),s=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional())}),a=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}),c=n.define("RelativeDistinguishedName",function(){this.setof(o)}),f=n.define("RDNSequence",function(){this.seqof(c)}),u=n.define("Name",function(){this.choice({rdnSequence:this.use(f)})}),h=n.define("Validity",function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))}),l=n.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),d=n.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int(),this.key("serialNumber").int(),this.key("signature").use(s),this.key("issuer").use(u),this.key("validity").use(h),this.key("subject").use(u),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(l).optional())}),p=n.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(s),this.key("signatureValue").bitstr())});t.exports=p},{"asn1.js":136}],177:[function(e,t,r){(function(Buffer){var r=/Proc-Type: 4,ENCRYPTED\n\r?DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)\n\r?\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?/m,n=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n/m,i=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?-----END \1-----$/m,o=e("evp_bytestokey"),s=e("browserify-aes");t.exports=function(e,t){var a,c=e.toString(),f=c.match(r);if(f){var u="aes"+f[1],h=new Buffer(f[2],"hex"),l=new Buffer(f[3].replace(/\r?\n/g,""),"base64"),d=o(t,h.slice(0,8),parseInt(f[1],10)).key,p=[],b=s.createDecipheriv(u,d,h);p.push(b.update(l)),p.push(b.final()),a=Buffer.concat(p)}else{var y=c.match(i);a=new Buffer(y[2].replace(/\r?\n/g,""),"base64")}return{tag:c.match(n)[1],data:a}}}).call(this,e("buffer").Buffer)},{"browserify-aes":80,buffer:105,evp_bytestokey:231}],178:[function(e,t,r){(function(Buffer){function r(e){var t;"object"!=typeof e||Buffer.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=new Buffer(e));var r,c,f=o(e,t),u=f.tag,h=f.data;switch(u){case"CERTIFICATE":c=n.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(c||(c=n.PublicKey.decode(h,"der")),r=c.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(c.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return c.subjectPrivateKey=c.subjectPublicKey,{type:"ec",data:c};case"1.2.840.10040.4.1":return c.algorithm.params.pub_key=n.DSAparam.decode(c.subjectPublicKey.data,"der"),{type:"dsa",data:c.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+u);case"ENCRYPTED PRIVATE KEY":h=function(e,t){var r=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],c=e.algorithm.decrypt.cipher.iv,f=e.subjectPrivateKey,u=parseInt(o.split("-")[1],10)/8,h=a.pbkdf2Sync(t,r,n,u),l=s.createDecipheriv(o,h,c),d=[];return d.push(l.update(f)),d.push(l.final()),Buffer.concat(d)}(h=n.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(c=n.PrivateKey.decode(h,"der"),r=c.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(c.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:c.algorithm.curve,privateKey:n.ECPrivateKey.decode(c.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return c.algorithm.params.priv_key=n.DSAparam.decode(c.subjectPrivateKey,"der"),{type:"dsa",params:c.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+u);case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return h=n.ECPrivateKey.decode(h,"der"),{curve:h.parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+u)}}var n=e("./asn1"),i=e("./aesid.json"),o=e("./fixProc"),s=e("browserify-aes"),a=e("pbkdf2");t.exports=r,r.signature=n.signature}).call(this,e("buffer").Buffer)},{"./aesid.json":174,"./asn1":175,"./fixProc":177,"browserify-aes":80,buffer:105,pbkdf2:259}],179:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./enc-base64"),e("./md5"),e("./evpkdf"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib.BlockCipher,n=t.algo,i=[],o=[],s=[],a=[],c=[],f=[],u=[],h=[],l=[],d=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=0,n=0,t=0;t<256;t++){var p=n^n<<1^n<<2^n<<3^n<<4;p=p>>>8^255&p^99,i[r]=p,o[p]=r;var b=e[r],y=e[b],v=e[y],m=257*e[p]^16843008*p;s[r]=m<<24|m>>>8,a[r]=m<<16|m>>>16,c[r]=m<<8|m>>>24,f[r]=m;m=16843009*v^65537*y^257*b^16843008*r;u[p]=m<<24|m>>>8,h[p]=m<<16|m>>>16,l[p]=m<<8|m>>>24,d[p]=m,r?(r=b^e[e[e[v^b]]],n^=e[e[n]]):r=n=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],b=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),o=this._keySchedule=[],s=0;s<n;s++)if(s<r)o[s]=t[s];else{f=o[s-1];s%r?r>6&&s%r==4&&(f=i[f>>>24]<<24|i[f>>>16&255]<<16|i[f>>>8&255]<<8|i[255&f]):(f=i[(f=f<<8|f>>>24)>>>24]<<24|i[f>>>16&255]<<16|i[f>>>8&255]<<8|i[255&f],f^=p[s/r|0]<<24),o[s]=o[s-r]^f}for(var a=this._invKeySchedule=[],c=0;c<n;c++){s=n-c;if(c%4)f=o[s];else var f=o[s-4];a[c]=c<4||s<=4?f:u[i[f>>>24]]^h[i[f>>>16&255]]^l[i[f>>>8&255]]^d[i[255&f]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,a,c,f,i)},decryptBlock:function(e,t){r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,u,h,l,d,o);var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,i,o,s,a){for(var c=this._nRounds,f=e[t]^r[0],u=e[t+1]^r[1],h=e[t+2]^r[2],l=e[t+3]^r[3],d=4,p=1;p<c;p++){var b=n[f>>>24]^i[u>>>16&255]^o[h>>>8&255]^s[255&l]^r[d++],y=n[u>>>24]^i[h>>>16&255]^o[l>>>8&255]^s[255&f]^r[d++],v=n[h>>>24]^i[l>>>16&255]^o[f>>>8&255]^s[255&u]^r[d++],m=n[l>>>24]^i[f>>>16&255]^o[u>>>8&255]^s[255&h]^r[d++];f=b,u=y,h=v,l=m}var b=(a[f>>>24]<<24|a[u>>>16&255]<<16|a[h>>>8&255]<<8|a[255&l])^r[d++],y=(a[u>>>24]<<24|a[h>>>16&255]<<16|a[l>>>8&255]<<8|a[255&f])^r[d++],v=(a[h>>>24]<<24|a[l>>>16&255]<<16|a[f>>>8&255]<<8|a[255&u])^r[d++],m=(a[l>>>24]<<24|a[f>>>16&255]<<16|a[u>>>8&255]<<8|a[255&h])^r[d++];e[t]=b,e[t+1]=y,e[t+2]=v,e[t+3]=m},keySize:8});t.AES=r._createHelper(b)}(),e.AES})},{"./cipher-core":180,"./core":181,"./enc-base64":182,"./evpkdf":184,"./md5":189}],180:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){e.lib.Cipher||function(t){var r=e,n=r.lib,i=n.Base,o=n.WordArray,s=n.BufferedBlockAlgorithm,a=r.enc,c=(a.Utf8,a.Base64),f=r.algo.EvpKDF,u=n.Cipher=s.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){e&&this._append(e);return this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?g:v}return function(t){return{encrypt:function(r,n,i){return e(n).encrypt(t,r,n,i)},decrypt:function(r,n,i){return e(n).decrypt(t,r,n,i)}}}}()}),h=(n.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),r.mode={}),l=n.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),d=h.CBC=function(){function e(e,r,n){var i=this._iv;if(i){o=i;this._iv=t}else var o=this._prevBlock;for(var s=0;s<n;s++)e[r+s]^=o[s]}var r=l.extend();return r.Encryptor=r.extend({processBlock:function(t,r){var n=this._cipher,i=n.blockSize;e.call(this,t,r,i),n.encryptBlock(t,r),this._prevBlock=t.slice(r,r+i)}}),r.Decryptor=r.extend({processBlock:function(t,r){var n=this._cipher,i=n.blockSize,o=t.slice(r,r+i);n.decryptBlock(t,r),e.call(this,t,r,i),this._prevBlock=o}}),r}(),p=(r.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,i=n<<24|n<<16|n<<8|n,s=[],a=0;a<n;a+=4)s.push(i);var c=o.create(s,n);e.concat(c)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},b=(n.BlockCipher=u.extend({cfg:u.cfg.extend({mode:d,padding:p}),reset:function(){u.reset.call(this);var e=this.cfg,t=e.iv,r=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)n=r.createEncryptor;else{var n=r.createDecryptor;this._minBufferSize=1}this._mode=n.call(r,this,t&&t.words)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);t=this._process(!0)}else{var t=this._process(!0);e.unpad(t)}return t},blockSize:4}),n.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),y=(r.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;if(r)n=o.create([1398893684,1701076831]).concat(r).concat(t);else var n=t;return n.toString(c)},parse:function(e){var t=c.parse(e),r=t.words;if(1398893684==r[0]&&1701076831==r[1]){var n=o.create(r.slice(2,4));r.splice(0,4),t.sigBytes-=16}return b.create({ciphertext:t,salt:n})}},v=n.SerializableCipher=i.extend({cfg:i.extend({format:y}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var i=e.createEncryptor(r,n),o=i.finalize(t),s=i.cfg;return b.create({ciphertext:o,key:r,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);return e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),m=(r.kdf={}).OpenSSL={execute:function(e,t,r,n){n||(n=o.random(8));var i=f.create({keySize:t+r}).compute(e,n),s=o.create(i.words.slice(t),4*r);return i.sigBytes=4*t,b.create({key:i,iv:s,salt:n})}},g=n.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:m}),encrypt:function(e,t,r,n){var i=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize);n.iv=i.iv;var o=v.encrypt.call(this,e,t,i.key,n);return o.mixIn(i),o},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=n.kdf.execute(r,e.keySize,e.ivSize,t.salt);n.iv=i.iv;return v.decrypt.call(this,e,t,i.key,n)}})}()})},{"./core":181}],181:[function(e,t,r){!function(e,n){"object"==typeof r?t.exports=r=n():"function"==typeof define&&define.amd?define([],n):e.CryptoJS=n()}(this,function(){var e=e||function(e,t){var r=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),n={},i=n.lib={},o=i.Base={extend:function(e){var t=r(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},s=i.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=void 0!=t?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(s=0;s<i;s++){var o=r[s>>>2]>>>24-s%4*8&255;t[n+s>>>2]|=o<<24-(n+s)%4*8}else for(var s=0;s<i;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var r,n=[],i=function(t){var t=t,r=987654321;return function(){var n=((r=36969*(65535&r)+(r>>16)&4294967295)<<16)+(t=18e3*(65535&t)+(t>>16)&4294967295)&4294967295;return n/=4294967296,(n+=.5)*(e.random()>.5?1:-1)}},o=0;o<t;o+=4){var a=i(4294967296*(r||e.random()));r=987654071*a(),n.push(4294967296*a()|0)}return new s.init(n,t)}}),a=n.enc={},c=a.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new s.init(r,t/2)}},f=a.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new s.init(r,t)}},u=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},h=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r=this._data,n=r.words,i=r.sigBytes,o=this.blockSize,a=i/(4*o),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*o,f=e.min(4*c,i);if(c){for(var u=0;u<c;u+=o)this._doProcessBlock(n,u);var h=n.splice(0,c);r.sigBytes-=f}return new s.init(h,f)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),l=(i.Hasher=h.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){e&&this._append(e);return this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new l.HMAC.init(e,r).finalize(t)}}}),n.algo={});return n}(Math);return e})},{}],182:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib.WordArray;t.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],o=0;o<r;o+=3)for(var s=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,a=0;a<4&&o+.75*a<r;a++)i.push(n.charAt(s>>>6*(3-a)&63));var c=n.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<n.length;o++)i[n.charCodeAt(o)]=o}var s=n.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return function(e,t,n){for(var i=[],o=0,s=0;s<t;s++)if(s%4){var a=n[e.charCodeAt(s-1)]<<s%4*2,c=n[e.charCodeAt(s)]>>>6-s%4*2;i[o>>>2]|=(a|c)<<24-o%4*8,o++}return r.create(i,o)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64})},{"./core":181}],183:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(e){return e<<8&4278255360|e>>>8&16711935}var r=e,n=r.lib.WordArray,i=r.enc;i.Utf16=i.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var o=t[i>>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,r=[],i=0;i<t;i++)r[i>>>1]|=e.charCodeAt(i)<<16-i%2*16;return n.create(r,2*t)}};i.Utf16LE={stringify:function(e){for(var r=e.words,n=e.sigBytes,i=[],o=0;o<n;o+=2){var s=t(r[o>>>2]>>>16-o%4*8&65535);i.push(String.fromCharCode(s))}return i.join("")},parse:function(e){for(var r=e.length,i=[],o=0;o<r;o++)i[o>>>1]|=t(e.charCodeAt(o)<<16-o%2*16);return n.create(i,2*r)}}}(),e.enc.Utf16})},{"./core":181}],184:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./sha1"),e("./hmac")):"function"==typeof define&&define.amd?define(["./core","./sha1","./hmac"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib,n=r.Base,i=r.WordArray,o=t.algo,s=o.MD5,a=o.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=r.hasher.create(),o=i.create(),s=o.words,a=r.keySize,c=r.iterations;s.length<a;){f&&n.update(f);var f=n.update(e).finalize(t);n.reset();for(var u=1;u<c;u++)f=n.finalize(f),n.reset();o.concat(f)}return o.sigBytes=4*a,o}});t.EvpKDF=function(e,t,r){return a.create(r).compute(e,t)}}(),e.EvpKDF})},{"./core":181,"./hmac":186,"./sha1":205}],185:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(t){var r=e,n=r.lib.CipherParams,i=r.enc.Hex;r.format.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return n.create({ciphertext:t})}}}(),e.format.Hex})},{"./cipher-core":180,"./core":181}],186:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){!function(){var t=e,r=t.lib.Base,n=t.enc.Utf8;t.algo.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var r=e.blockSize,i=4*r;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),s=this._iKey=t.clone(),a=o.words,c=s.words,f=0;f<r;f++)a[f]^=1549556828,c[f]^=909522486;o.sigBytes=s.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);t.reset();return t.finalize(this._oKey.clone().concat(r))}})}()})},{"./core":181}],187:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./x64-core"),e("./lib-typedarrays"),e("./enc-utf16"),e("./enc-base64"),e("./md5"),e("./sha1"),e("./sha256"),e("./sha224"),e("./sha512"),e("./sha384"),e("./sha3"),e("./ripemd160"),e("./hmac"),e("./pbkdf2"),e("./evpkdf"),e("./cipher-core"),e("./mode-cfb"),e("./mode-ctr"),e("./mode-ctr-gladman"),e("./mode-ofb"),e("./mode-ecb"),e("./pad-ansix923"),e("./pad-iso10126"),e("./pad-iso97971"),e("./pad-zeropadding"),e("./pad-nopadding"),e("./format-hex"),e("./aes"),e("./tripledes"),e("./rc4"),e("./rabbit"),e("./rabbit-legacy")):"function"==typeof define&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy"],i):n.CryptoJS=i(n.CryptoJS)}(this,function(e){return e})},{"./aes":179,"./cipher-core":180,"./core":181,"./enc-base64":182,"./enc-utf16":183,"./evpkdf":184,"./format-hex":185,"./hmac":186,"./lib-typedarrays":188,"./md5":189,"./mode-cfb":190,"./mode-ctr":192,"./mode-ctr-gladman":191,"./mode-ecb":193,"./mode-ofb":194,"./pad-ansix923":195,"./pad-iso10126":196,"./pad-iso97971":197,"./pad-nopadding":198,"./pad-zeropadding":199,"./pbkdf2":200,"./rabbit":202,"./rabbit-legacy":201,"./rc4":203,"./ripemd160":204,"./sha1":205,"./sha224":206,"./sha256":207,"./sha3":208,"./sha384":209,"./sha512":210,"./tripledes":211,"./x64-core":212}],188:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,r=t.init;(t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],i=0;i<t;i++)n[i>>>2]|=e[i]<<24-i%4*8;r.call(this,n,t)}else r.apply(this,arguments)}).prototype=t}}(),e.lib.WordArray})},{"./core":181}],189:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(t){function r(e,t,r,n,i,o,s){var a=e+(t&r|~t&n)+i+s;return(a<<o|a>>>32-o)+t}function n(e,t,r,n,i,o,s){var a=e+(t&n|r&~n)+i+s;return(a<<o|a>>>32-o)+t}function i(e,t,r,n,i,o,s){var a=e+(t^r^n)+i+s;return(a<<o|a>>>32-o)+t}function o(e,t,r,n,i,o,s){var a=e+(r^(t|~n))+i+s;return(a<<o|a>>>32-o)+t}var s=e,a=s.lib,c=a.WordArray,f=a.Hasher,u=s.algo,h=[];!function(){for(var e=0;e<64;e++)h[e]=4294967296*t.abs(t.sin(e+1))|0}();var l=u.MD5=f.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var s=0;s<16;s++){var a=t+s,c=e[a];e[a]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}var f=this._hash.words,u=e[t+0],l=e[t+1],d=e[t+2],p=e[t+3],b=e[t+4],y=e[t+5],v=e[t+6],m=e[t+7],g=e[t+8],w=e[t+9],_=e[t+10],E=e[t+11],S=e[t+12],k=e[t+13],A=e[t+14],x=e[t+15],I=f[0],T=f[1],B=f[2],P=f[3];T=o(T=o(T=o(T=o(T=i(T=i(T=i(T=i(T=n(T=n(T=n(T=n(T=r(T=r(T=r(T=r(T,B=r(B,P=r(P,I=r(I,T,B,P,u,7,h[0]),T,B,l,12,h[1]),I,T,d,17,h[2]),P,I,p,22,h[3]),B=r(B,P=r(P,I=r(I,T,B,P,b,7,h[4]),T,B,y,12,h[5]),I,T,v,17,h[6]),P,I,m,22,h[7]),B=r(B,P=r(P,I=r(I,T,B,P,g,7,h[8]),T,B,w,12,h[9]),I,T,_,17,h[10]),P,I,E,22,h[11]),B=r(B,P=r(P,I=r(I,T,B,P,S,7,h[12]),T,B,k,12,h[13]),I,T,A,17,h[14]),P,I,x,22,h[15]),B=n(B,P=n(P,I=n(I,T,B,P,l,5,h[16]),T,B,v,9,h[17]),I,T,E,14,h[18]),P,I,u,20,h[19]),B=n(B,P=n(P,I=n(I,T,B,P,y,5,h[20]),T,B,_,9,h[21]),I,T,x,14,h[22]),P,I,b,20,h[23]),B=n(B,P=n(P,I=n(I,T,B,P,w,5,h[24]),T,B,A,9,h[25]),I,T,p,14,h[26]),P,I,g,20,h[27]),B=n(B,P=n(P,I=n(I,T,B,P,k,5,h[28]),T,B,d,9,h[29]),I,T,m,14,h[30]),P,I,S,20,h[31]),B=i(B,P=i(P,I=i(I,T,B,P,y,4,h[32]),T,B,g,11,h[33]),I,T,E,16,h[34]),P,I,A,23,h[35]),B=i(B,P=i(P,I=i(I,T,B,P,l,4,h[36]),T,B,b,11,h[37]),I,T,m,16,h[38]),P,I,_,23,h[39]),B=i(B,P=i(P,I=i(I,T,B,P,k,4,h[40]),T,B,u,11,h[41]),I,T,p,16,h[42]),P,I,v,23,h[43]),B=i(B,P=i(P,I=i(I,T,B,P,w,4,h[44]),T,B,S,11,h[45]),I,T,x,16,h[46]),P,I,d,23,h[47]),B=o(B,P=o(P,I=o(I,T,B,P,u,6,h[48]),T,B,m,10,h[49]),I,T,A,15,h[50]),P,I,y,21,h[51]),B=o(B,P=o(P,I=o(I,T,B,P,S,6,h[52]),T,B,p,10,h[53]),I,T,_,15,h[54]),P,I,l,21,h[55]),B=o(B,P=o(P,I=o(I,T,B,P,g,6,h[56]),T,B,x,10,h[57]),I,T,v,15,h[58]),P,I,k,21,h[59]),B=o(B,P=o(P,I=o(I,T,B,P,b,6,h[60]),T,B,E,10,h[61]),I,T,d,15,h[62]),P,I,w,21,h[63]),f[0]=f[0]+I|0,f[1]=f[1]+T|0,f[2]=f[2]+B|0,f[3]=f[3]+P|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;r[i>>>5]|=128<<24-i%32;var o=t.floor(n/4294967296),s=n;r[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),r[14+(i+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(r.length+1),this._process();for(var a=this._hash,c=a.words,f=0;f<4;f++){var u=c[f];c[f]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return a},clone:function(){var e=f.clone.call(this);return e._hash=this._hash.clone(),e}});s.MD5=f._createHelper(l),s.HmacMD5=f._createHmacHelper(l)}(Math),e.MD5})},{"./core":181}],190:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.mode.CFB=function(){function t(e,t,r,n){var i=this._iv;if(i){o=i.slice(0);this._iv=void 0}else var o=this._prevBlock;n.encryptBlock(o,0);for(var s=0;s<r;s++)e[t+s]^=o[s]}var r=e.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize;t.call(this,e,r,i,n),this._prevBlock=e.slice(r,r+i)}}),r.Decryptor=r.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize,o=e.slice(r,r+i);t.call(this,e,r,i,n),this._prevBlock=o}}),r}(),e.mode.CFB})},{"./cipher-core":180,"./core":181}],191:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.mode.CTRGladman=function(){function t(e){if(255==(e>>24&255)){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}else e+=1<<24;return e}var r=e.lib.BlockCipherMode.extend(),n=r.Encryptor=r.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(s);var a=s.slice(0);n.encryptBlock(a,0);for(var c=0;c<i;c++)e[r+c]^=a[c]}});return r.Decryptor=n,r}(),e.mode.CTRGladman})},{"./cipher-core":180,"./core":181}],192:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.mode.CTR=function(){var t=e.lib.BlockCipherMode.extend(),r=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var s=o.slice(0);r.encryptBlock(s,0),o[n-1]=o[n-1]+1|0;for(var a=0;a<n;a++)e[t+a]^=s[a]}});return t.Decryptor=r,t}(),e.mode.CTR})},{"./cipher-core":180,"./core":181}],193:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.mode.ECB=function(){var t=e.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),t.Decryptor=t.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),t}(),e.mode.ECB})},{"./cipher-core":180,"./core":181}],194:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.mode.OFB=function(){var t=e.lib.BlockCipherMode.extend(),r=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),r.encryptBlock(o,0);for(var s=0;s<n;s++)e[t+s]^=o[s]}});return t.Decryptor=r,t}(),e.mode.OFB})},{"./cipher-core":180,"./core":181}],195:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,i=n-r%n,o=r+i-1;e.clamp(),e.words[o>>>2]|=i<<24-o%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923})},{"./cipher-core":180,"./core":181}],196:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.pad.Iso10126={pad:function(t,r){var n=4*r,i=n-t.sigBytes%n;t.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126})},{"./cipher-core":180,"./core":181}],197:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.pad.Iso97971={pad:function(t,r){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,r)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971})},{"./cipher-core":180,"./core":181}],198:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding})},{"./cipher-core":180,"./core":181}],199:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){for(var t=e.words,r=e.sigBytes-1;!(t[r>>>2]>>>24-r%4*8&255);)r--;e.sigBytes=r+1}},e.pad.ZeroPadding})},{"./cipher-core":180,"./core":181}],200:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./sha1"),e("./hmac")):"function"==typeof define&&define.amd?define(["./core","./sha1","./hmac"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib,n=r.Base,i=r.WordArray,o=t.algo,s=o.SHA1,a=o.HMAC,c=o.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=a.create(r.hasher,e),o=i.create(),s=i.create([1]),c=o.words,f=s.words,u=r.keySize,h=r.iterations;c.length<u;){var l=n.update(t).finalize(s);n.reset();for(var d=l.words,p=d.length,b=l,y=1;y<h;y++){b=n.finalize(b),n.reset();for(var v=b.words,m=0;m<p;m++)d[m]^=v[m]}o.concat(l),f[0]++}return o.sigBytes=4*u,o}});t.PBKDF2=function(e,t,r){return c.create(r).compute(e,t)}}(),e.PBKDF2})},{"./core":181,"./hmac":186,"./sha1":205}],201:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./enc-base64"),e("./md5"),e("./evpkdf"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(){for(var e=this._X,t=this._C,r=0;r<8;r++)o[r]=t[r];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0,this._b=t[7]>>>0<o[7]>>>0?1:0;for(r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,a=n>>>16,c=((i*i>>>17)+i*a>>>15)+a*a,f=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=c^f}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}var r=e,n=r.lib.StreamCipher,i=[],o=[],s=[],a=r.algo.RabbitLegacy=n.extend({_doReset:function(){var e=this._key.words,r=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(l=0;l<4;l++)t.call(this);for(l=0;l<8;l++)i[l]^=n[l+4&7];if(r){var o=r.words,s=o[0],a=o[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),f=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=c>>>16|4294901760&f,h=f<<16|65535&c;i[0]^=c,i[1]^=u,i[2]^=f,i[3]^=h,i[4]^=c,i[5]^=u,i[6]^=f,i[7]^=h;for(var l=0;l<4;l++)t.call(this)}},_doProcessBlock:function(e,r){var n=this._X;t.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)i[o]=16711935&(i[o]<<8|i[o]>>>24)|4278255360&(i[o]<<24|i[o]>>>8),e[r+o]^=i[o]},blockSize:4,ivSize:2});r.RabbitLegacy=n._createHelper(a)}(),e.RabbitLegacy})},{"./cipher-core":180,"./core":181,"./enc-base64":182,"./evpkdf":184,"./md5":189}],202:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./enc-base64"),e("./md5"),e("./evpkdf"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(){for(var e=this._X,t=this._C,r=0;r<8;r++)o[r]=t[r];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0,this._b=t[7]>>>0<o[7]>>>0?1:0;for(r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,a=n>>>16,c=((i*i>>>17)+i*a>>>15)+a*a,f=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=c^f}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}var r=e,n=r.lib.StreamCipher,i=[],o=[],s=[],a=r.algo.Rabbit=n.extend({_doReset:function(){for(var e=this._key.words,r=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(n=0;n<4;n++)t.call(this);for(n=0;n<8;n++)o[n]^=i[n+4&7];if(r){var s=r.words,a=s[0],c=s[1],f=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),h=f>>>16|4294901760&u,l=u<<16|65535&f;o[0]^=f,o[1]^=h,o[2]^=u,o[3]^=l,o[4]^=f,o[5]^=h,o[6]^=u,o[7]^=l;for(n=0;n<4;n++)t.call(this)}},_doProcessBlock:function(e,r){var n=this._X;t.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)i[o]=16711935&(i[o]<<8|i[o]>>>24)|4278255360&(i[o]<<24|i[o]>>>8),e[r+o]^=i[o]},blockSize:4,ivSize:2});r.Rabbit=n._createHelper(a)}(),e.Rabbit})},{"./cipher-core":180,"./core":181,"./enc-base64":182,"./evpkdf":184,"./md5":189}],203:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./enc-base64"),e("./md5"),e("./evpkdf"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(){for(var e=this._S,t=this._i,r=this._j,n=0,i=0;i<4;i++){r=(r+e[t=(t+1)%256])%256;var o=e[t];e[t]=e[r],e[r]=o,n|=e[(e[t]+e[r])%256]<<24-8*i}return this._i=t,this._j=r,n}var r=e,n=r.lib.StreamCipher,i=r.algo,o=i.RC4=n.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;for(var i=0,o=0;i<256;i++){var s=i%r,a=t[s>>>2]>>>24-s%4*8&255;o=(o+n[i]+a)%256;var c=n[i];n[i]=n[o],n[o]=c}this._i=this._j=0},_doProcessBlock:function(e,r){e[r]^=t.call(this)},keySize:8,ivSize:0});r.RC4=n._createHelper(o);var s=i.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)t.call(this)}});r.RC4Drop=n._createHelper(s)}(),e.RC4})},{"./cipher-core":180,"./core":181,"./enc-base64":182,"./evpkdf":184,"./md5":189}],204:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(t){function r(e,t,r){return e^t^r}function n(e,t,r){return e&t|~e&r}function i(e,t,r){return(e|~t)^r}function o(e,t,r){return e&r|t&~r}function s(e,t,r){return e^(t|~r)}function a(e,t){return e<<t|e>>>32-t}var c=e,f=c.lib,u=f.WordArray,h=f.Hasher,l=c.algo,d=u.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),p=u.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),b=u.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),y=u.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),v=u.create([0,1518500249,1859775393,2400959708,2840853838]),m=u.create([1352829926,1548603684,1836072691,2053994217,0]),g=l.RIPEMD160=h.extend({_doReset:function(){this._hash=u.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(O=0;O<16;O++){var c=t+O,f=e[c];e[c]=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)}var u,h,l,g,w,_,E,S,k,A,x=this._hash.words,I=v.words,T=m.words,B=d.words,P=p.words,M=b.words,C=y.words;_=u=x[0],E=h=x[1],S=l=x[2],k=g=x[3],A=w=x[4];for(var R,O=0;O<80;O+=1)R=u+e[t+B[O]]|0,R+=O<16?r(h,l,g)+I[0]:O<32?n(h,l,g)+I[1]:O<48?i(h,l,g)+I[2]:O<64?o(h,l,g)+I[3]:s(h,l,g)+I[4],R=(R=a(R|=0,M[O]))+w|0,u=w,w=g,g=a(l,10),l=h,h=R,R=_+e[t+P[O]]|0,R+=O<16?s(E,S,k)+T[0]:O<32?o(E,S,k)+T[1]:O<48?i(E,S,k)+T[2]:O<64?n(E,S,k)+T[3]:r(E,S,k)+T[4],R=(R=a(R|=0,C[O]))+A|0,_=A,A=k,k=a(S,10),S=E,E=R;R=x[1]+l+k|0,x[1]=x[2]+g+A|0,x[2]=x[3]+w+_|0,x[3]=x[4]+u+E|0,x[4]=x[0]+h+S|0,x[0]=R},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return i},clone:function(){var e=h.clone.call(this);return e._hash=this._hash.clone(),e}});c.RIPEMD160=h._createHelper(g),c.HmacRIPEMD160=h._createHmacHelper(g)}(Math),e.RIPEMD160})},{"./core":181}],205:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib,n=r.WordArray,i=r.Hasher,o=[],s=t.algo.SHA1=i.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],s=r[2],a=r[3],c=r[4],f=0;f<80;f++){if(f<16)o[f]=0|e[t+f];else{var u=o[f-3]^o[f-8]^o[f-14]^o[f-16];o[f]=u<<1|u>>>31}var h=(n<<5|n>>>27)+c+o[f];h+=f<20?1518500249+(i&s|~i&a):f<40?1859775393+(i^s^a):f<60?(i&s|i&a|s&a)-1894007588:(i^s^a)-899497514,c=a,a=s,s=i<<30|i>>>2,i=n,n=h}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+s|0,r[3]=r[3]+a|0,r[4]=r[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=i._createHelper(s),t.HmacSHA1=i._createHmacHelper(s)}(),e.SHA1})},{"./core":181}],206:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./sha256")):"function"==typeof define&&define.amd?define(["./core","./sha256"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib.WordArray,n=t.algo,i=n.SHA256,o=n.SHA224=i.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=i._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=i._createHelper(o),t.HmacSHA224=i._createHmacHelper(o)}(),e.SHA224})},{"./core":181,"./sha256":207}],207:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(t){var r=e,n=r.lib,i=n.WordArray,o=n.Hasher,s=r.algo,a=[],c=[];!function(){function e(e){for(var r=t.sqrt(e),n=2;n<=r;n++)if(!(e%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,i=0;i<64;)e(n)&&(i<8&&(a[i]=r(t.pow(n,.5))),c[i]=r(t.pow(n,1/3)),i++),n++}();var f=[],u=s.SHA256=o.extend({_doReset:function(){this._hash=new i.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],s=r[3],a=r[4],u=r[5],h=r[6],l=r[7],d=0;d<64;d++){if(d<16)f[d]=0|e[t+d];else{var p=f[d-15],b=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,y=f[d-2],v=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;f[d]=b+f[d-7]+v+f[d-16]}var m=n&i^n&o^i&o,g=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),w=l+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&u^~a&h)+c[d]+f[d];l=h,h=u,u=a,a=s+w|0,s=o,o=i,i=n,n=w+(g+m)|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+u|0,r[6]=r[6]+h|0,r[7]=r[7]+l|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=t.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});r.SHA256=o._createHelper(u),r.HmacSHA256=o._createHmacHelper(u)}(Math),e.SHA256})},{"./core":181}],208:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./x64-core")):"function"==typeof define&&define.amd?define(["./core","./x64-core"],i):i(n.CryptoJS)}(this,function(e){return function(t){var r=e,n=r.lib,i=n.WordArray,o=n.Hasher,s=r.x64.Word,a=r.algo,c=[],f=[],u=[];!function(){for(var e=1,t=0,r=0;r<24;r++){c[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)f[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,o=0;o<24;o++){for(var a=0,h=0,l=0;l<7;l++){if(1&i){var d=(1<<l)-1;d<32?h^=1<<d:a^=1<<d-32}128&i?i=i<<1^113:i<<=1}u[o]=s.create(a,h)}}();var h=[];!function(){for(var e=0;e<25;e++)h[e]=s.create()}();var l=a.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,i=0;i<n;i++){var o=e[t+2*i],s=e[t+2*i+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8);(T=r[i]).high^=s,T.low^=o}for(var a=0;a<24;a++){for(x=0;x<5;x++){for(var l=0,d=0,p=0;p<5;p++){l^=(T=r[x+5*p]).high,d^=T.low}var b=h[x];b.high=l,b.low=d}for(x=0;x<5;x++)for(var y=h[(x+4)%5],v=h[(x+1)%5],m=v.high,g=v.low,l=y.high^(m<<1|g>>>31),d=y.low^(g<<1|m>>>31),p=0;p<5;p++){(T=r[x+5*p]).high^=l,T.low^=d}for(I=1;I<25;I++){var w=(T=r[I]).high,_=T.low,E=c[I];if(E<32)var l=w<<E|_>>>32-E,d=_<<E|w>>>32-E;else var l=_<<E-32|w>>>64-E,d=w<<E-32|_>>>64-E;var S=h[f[I]];S.high=l,S.low=d}var k=h[0],A=r[0];k.high=A.high,k.low=A.low;for(var x=0;x<5;x++)for(p=0;p<5;p++){var I,T=r[I=x+5*p],B=h[I],P=h[(x+1)%5+5*p],M=h[(x+2)%5+5*p];T.high=B.high^~P.high&M.high,T.low=B.low^~P.low&M.low}var T=r[0],C=u[a];T.high^=C.high,T.low^=C.low}},_doFinalize:function(){var e=this._data,r=e.words,n=(this._nDataBytes,8*e.sigBytes),o=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(t.ceil((n+1)/o)*o>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,f=[],u=0;u<c;u++){var h=s[u],l=h.high,d=h.low;l=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),f.push(d),f.push(l)}return new i.init(f,a)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});r.SHA3=o._createHelper(l),r.HmacSHA3=o._createHmacHelper(l)}(Math),e.SHA3})},{"./core":181,"./x64-core":212}],209:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./x64-core"),e("./sha512")):"function"==typeof define&&define.amd?define(["./core","./x64-core","./sha512"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.x64,n=r.Word,i=r.WordArray,o=t.algo,s=o.SHA512,a=o.SHA384=s.extend({_doReset:function(){this._hash=new i.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=s._createHelper(a),t.HmacSHA384=s._createHmacHelper(a)}(),e.SHA384})},{"./core":181,"./sha512":210,"./x64-core":212}],210:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./x64-core")):"function"==typeof define&&define.amd?define(["./core","./x64-core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(){return o.create.apply(o,arguments)}var r=e,n=r.lib.Hasher,i=r.x64,o=i.Word,s=i.WordArray,a=r.algo,c=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],f=[];!function(){for(var e=0;e<80;e++)f[e]=t()}();var u=a.SHA512=n.extend({_doReset:function(){this._hash=new s.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],s=r[3],a=r[4],u=r[5],h=r[6],l=r[7],d=n.high,p=n.low,b=i.high,y=i.low,v=o.high,m=o.low,g=s.high,w=s.low,_=a.high,E=a.low,S=u.high,k=u.low,A=h.high,x=h.low,I=l.high,T=l.low,B=d,P=p,M=b,C=y,R=v,O=m,L=g,j=w,N=_,D=E,U=S,K=k,H=A,z=x,q=I,F=T,W=0;W<80;W++){var V=f[W];if(W<16)var G=V.high=0|e[t+2*W],Y=V.low=0|e[t+2*W+1];else{var J=f[W-15],X=J.high,Z=J.low,$=(X>>>1|Z<<31)^(X>>>8|Z<<24)^X>>>7,Q=(Z>>>1|X<<31)^(Z>>>8|X<<24)^(Z>>>7|X<<25),ee=f[W-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,ie=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),oe=f[W-7],se=oe.high,ae=oe.low,ce=f[W-16],fe=ce.high,ue=ce.low,G=(G=(G=$+se+((Y=Q+ae)>>>0<Q>>>0?1:0))+ne+((Y=Y+ie)>>>0<ie>>>0?1:0))+fe+((Y=Y+ue)>>>0<ue>>>0?1:0);V.high=G,V.low=Y}var he=N&U^~N&H,le=D&K^~D&z,de=B&M^B&R^M&R,pe=P&C^P&O^C&O,be=(B>>>28|P<<4)^(B<<30|P>>>2)^(B<<25|P>>>7),ye=(P>>>28|B<<4)^(P<<30|B>>>2)^(P<<25|B>>>7),ve=(N>>>14|D<<18)^(N>>>18|D<<14)^(N<<23|D>>>9),me=(D>>>14|N<<18)^(D>>>18|N<<14)^(D<<23|N>>>9),ge=c[W],we=ge.high,_e=ge.low,Ee=F+me,Se=q+ve+(Ee>>>0<F>>>0?1:0),ke=ye+pe;q=H,F=z,H=U,z=K,U=N,K=D,N=L+(Se=(Se=(Se=Se+he+((Ee=Ee+le)>>>0<le>>>0?1:0))+we+((Ee=Ee+_e)>>>0<_e>>>0?1:0))+G+((Ee=Ee+Y)>>>0<Y>>>0?1:0))+((D=j+Ee|0)>>>0<j>>>0?1:0)|0,L=R,j=O,R=M,O=C,M=B,C=P,B=Se+(be+de+(ke>>>0<ye>>>0?1:0))+((P=Ee+ke|0)>>>0<Ee>>>0?1:0)|0}p=n.low=p+P,n.high=d+B+(p>>>0<P>>>0?1:0),y=i.low=y+C,i.high=b+M+(y>>>0<C>>>0?1:0),m=o.low=m+O,o.high=v+R+(m>>>0<O>>>0?1:0),w=s.low=w+j,s.high=g+L+(w>>>0<j>>>0?1:0),E=a.low=E+D,a.high=_+N+(E>>>0<D>>>0?1:0),k=u.low=k+K,u.high=S+U+(k>>>0<K>>>0?1:0),x=h.low=x+z,h.high=A+H+(x>>>0<z>>>0?1:0),T=l.low=T+F,l.high=I+q+(T>>>0<F>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process();return this._hash.toX32()},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});r.SHA512=n._createHelper(u),r.HmacSHA512=n._createHmacHelper(u)}(),e.SHA512})},{"./core":181,"./x64-core":212}],211:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./enc-base64"),e("./md5"),e("./evpkdf"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function r(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}var n=e,i=n.lib,o=i.WordArray,s=i.BlockCipher,a=n.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],f=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=a.DES=s.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=c[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],o=0;o<16;o++){for(var s=i[o]=[],a=u[o],r=0;r<24;r++)s[r/6|0]|=t[(f[r]-1+a)%28]<<31-r%6,s[4+(r/6|0)]|=t[28+(f[r+24]-1+a)%28]<<31-r%6;s[0]=s[0]<<1|s[0]>>>31;for(r=1;r<7;r++)s[r]=s[r]>>>4*(r-1)+3;s[7]=s[7]<<5|s[7]>>>27}for(var h=this._invSubKeys=[],r=0;r<16;r++)h[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,n,i){this._lBlock=e[n],this._rBlock=e[n+1],t.call(this,4,252645135),t.call(this,16,65535),r.call(this,2,858993459),r.call(this,8,16711935),t.call(this,1,1431655765);for(var o=0;o<16;o++){for(var s=i[o],a=this._lBlock,c=this._rBlock,f=0,u=0;u<8;u++)f|=h[u][((c^s[u])&l[u])>>>0];this._lBlock=c,this._rBlock=a^f}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,t.call(this,1,1431655765),r.call(this,8,16711935),r.call(this,2,858993459),t.call(this,16,65535),t.call(this,4,252645135),e[n]=this._lBlock,e[n+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});n.DES=s._createHelper(d);var p=a.TripleDES=s.extend({_doReset:function(){var e=this._key.words;this._des1=d.createEncryptor(o.create(e.slice(0,2))),this._des2=d.createEncryptor(o.create(e.slice(2,4))),this._des3=d.createEncryptor(o.create(e.slice(4,6)))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});n.TripleDES=s._createHelper(p)}(),e.TripleDES})},{"./cipher-core":180,"./core":181,"./enc-base64":182,"./evpkdf":184,"./md5":189}],212:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(t){var r=e,n=r.lib,i=n.Base,o=n.WordArray,s=r.x64={};s.Word=i.extend({init:function(e,t){this.high=e,this.low=t}}),s.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=void 0!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var i=e[n];r.push(i.high),r.push(i.low)}return o.create(r,this.sigBytes)},clone:function(){for(var e=i.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}})}(),e})},{"./core":181}],213:[function(e,t,r){function n(e){return n.enabled(e)?function(t){t=function(e){return e instanceof Error?e.stack||e.message:e}(t);var r=new Date,i=r-(n[e]||r);n[e]=r,t=e+" "+t+" +"+n.humanize(i),window.console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}:function(){}}t.exports=n,n.names=[],n.skips=[],n.enable=function(e){try{localStorage.debug=e}catch(e){}for(var t=(e||"").split(/[\s,]+/),r=t.length,i=0;i<r;i++)"-"===(e=t[i].replace("*",".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$"))},n.disable=function(){n.enable("")},n.humanize=function(e){return e>=36e5?(e/36e5).toFixed(1)+"h":e>=6e4?(e/6e4).toFixed(1)+"m":e>=1e3?(e/1e3|0)+"s":e+"ms"},n.enabled=function(e){for(var t=0,r=n.skips.length;t<r;t++)if(n.skips[t].test(e))return!1;for(var t=0,r=n.names.length;t<r;t++)if(n.names[t].test(e))return!0;return!1};try{window.localStorage&&n.enable(localStorage.debug)}catch(e){}},{}],214:[function(e,t,r){"use strict";r.utils=e("./des/utils"),r.Cipher=e("./des/cipher"),r.DES=e("./des/des"),r.CBC=e("./des/cbc"),r.EDE=e("./des/ede")},{"./des/cbc":215,"./des/cipher":216,"./des/des":217,"./des/ede":218,"./des/utils":219}],215:[function(e,t,r){"use strict";var n=e("minimalistic-assert"),i=e("inherits"),o={};r.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var r=Object.keys(o),n=0;n<r.length;n++){var s=r[n];t.prototype[s]=o[s]}return t.create=function(e){return new t(e)},t},o._cbcInit=function(){var e=new function(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}(this.options.iv);this._cbcState=e},o._update=function(e,t,r,n){var i=this._cbcState,o=this.constructor.super_.prototype,s=i.iv;if("encrypt"===this.type){for(a=0;a<this.blockSize;a++)s[a]^=e[t+a];o._update.call(this,s,0,r,n);for(a=0;a<this.blockSize;a++)s[a]=r[n+a]}else{o._update.call(this,e,t,r,n);for(a=0;a<this.blockSize;a++)r[n+a]^=s[a];for(var a=0;a<this.blockSize;a++)s[a]=e[t+a]}}},{inherits:248,"minimalistic-assert":257}],216:[function(e,t,r){"use strict";function n(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}var i=e("minimalistic-assert");t.exports=n,n.prototype._init=function(){},n.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},n.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},n.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},n.prototype._updateEncrypt=function(e){var t=0,r=0,n=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var o=e.length-(e.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(e,t,i,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},n.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},n.prototype.final=function(e){var t;e&&(t=this.update(e));var r;return r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},n.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},n.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},n.prototype._unpad=function(e){return e},n.prototype._finalDecrypt=function(){i.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},{"minimalistic-assert":257}],217:[function(e,t,r){"use strict";function n(e){c.call(this,e);var t=new function(){this.tmp=new Array(2),this.keys=null};this._desState=t,this.deriveKeys(t,e.key)}var i=e("minimalistic-assert"),o=e("inherits"),s=e("../des"),a=s.utils,c=s.Cipher;o(n,c),t.exports=n,n.create=function(e){return new n(e)};var f=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];n.prototype.deriveKeys=function(e,t){e.keys=new Array(32),i.equal(t.length,this.blockSize,"Invalid key length");var r=a.readUInt32BE(t,0),n=a.readUInt32BE(t,4);a.pc1(r,n,e.tmp,0),r=e.tmp[0],n=e.tmp[1];for(var o=0;o<e.keys.length;o+=2){var s=f[o>>>1];r=a.r28shl(r,s),n=a.r28shl(n,s),a.pc2(r,n,e.keys,o)}},n.prototype._update=function(e,t,r,n){var i=this._desState,o=a.readUInt32BE(e,t),s=a.readUInt32BE(e,t+4);a.ip(o,s,i.tmp,0),o=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,o,s,i.tmp,0):this._decrypt(i,o,s,i.tmp,0),o=i.tmp[0],s=i.tmp[1],a.writeUInt32BE(r,o,n),a.writeUInt32BE(r,s,n+4)},n.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},n.prototype._unpad=function(e){for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)i.equal(e[r],t);return e.slice(0,e.length-t)},n.prototype._encrypt=function(e,t,r,n,i){for(var o=t,s=r,c=0;c<e.keys.length;c+=2){var f=e.keys[c],u=e.keys[c+1];a.expand(s,e.tmp,0),f^=e.tmp[0],u^=e.tmp[1];var h=a.substitute(f,u),l=s;s=(o^a.permute(h))>>>0,o=l}a.rip(s,o,n,i)},n.prototype._decrypt=function(e,t,r,n,i){for(var o=r,s=t,c=e.keys.length-2;c>=0;c-=2){var f=e.keys[c],u=e.keys[c+1];a.expand(o,e.tmp,0),f^=e.tmp[0],u^=e.tmp[1];var h=a.substitute(f,u),l=o;o=(s^a.permute(h))>>>0,s=l}a.rip(o,s,n,i)}},{"../des":214,inherits:248,"minimalistic-assert":257}],218:[function(e,t,r){"use strict";function n(e){a.call(this,e);var t=new function(e,t){i.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),n=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[c.create({type:"encrypt",key:r}),c.create({type:"decrypt",key:n}),c.create({type:"encrypt",key:o})]:[c.create({type:"decrypt",key:o}),c.create({type:"encrypt",key:n}),c.create({type:"decrypt",key:r})]}(this.type,this.options.key);this._edeState=t}var i=e("minimalistic-assert"),o=e("inherits"),s=e("../des"),a=s.Cipher,c=s.DES;o(n,a),t.exports=n,n.create=function(e){return new n(e)},n.prototype._update=function(e,t,r,n){var i=this._edeState;i.ciphers[0]._update(e,t,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},n.prototype._pad=c.prototype._pad,n.prototype._unpad=c.prototype._unpad},{"../des":214,inherits:248,"minimalistic-assert":257}],219:[function(e,t,r){"use strict";r.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},r.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},r.ip=function(e,t,r,n){for(var i=0,o=0,s=6;s>=0;s-=2){for(a=0;a<=24;a+=8)i<<=1,i|=t>>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>>a+s&1}for(s=6;s>=0;s-=2){for(a=1;a<=25;a+=8)o<<=1,o|=t>>>a+s&1;for(var a=1;a<=25;a+=8)o<<=1,o|=e>>>a+s&1}r[n+0]=i>>>0,r[n+1]=o>>>0},r.rip=function(e,t,r,n){for(var i=0,o=0,s=0;s<4;s++)for(a=24;a>=0;a-=8)i<<=1,i|=t>>>a+s&1,i<<=1,i|=e>>>a+s&1;for(s=4;s<8;s++)for(var a=24;a>=0;a-=8)o<<=1,o|=t>>>a+s&1,o<<=1,o|=e>>>a+s&1;r[n+0]=i>>>0,r[n+1]=o>>>0},r.pc1=function(e,t,r,n){for(var i=0,o=0,s=7;s>=5;s--){for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1}for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(s=1;s<=3;s++){for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1}for(var a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1;r[n+0]=i>>>0,r[n+1]=o>>>0},r.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];r.pc2=function(e,t,r,i){for(var o=0,s=0,a=n.length>>>1,c=0;c<a;c++)o<<=1,o|=e>>>n[c]&1;for(c=a;c<n.length;c++)s<<=1,s|=t>>>n[c]&1;r[i+0]=o>>>0,r[i+1]=s>>>0},r.expand=function(e,t,r){var n=0,i=0;n=(1&e)<<5|e>>>27;for(o=23;o>=15;o-=4)n<<=6,n|=e>>>o&63;for(var o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];r.substitute=function(e,t){for(var r=0,n=0;n<4;n++){r<<=4,r|=s=i[64*n+(o=e>>>18-6*n&63)]}for(n=0;n<4;n++){var o=t>>>18-6*n&63,s=i[256+64*n+o];r<<=4,r|=s}return r>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];r.permute=function(e){for(var t=0,r=0;r<o.length;r++)t<<=1,t|=e>>>o[r]&1;return t>>>0},r.padSplit=function(e,t,r){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var i=[],o=0;o<t;o+=r)i.push(n.slice(o,o+r));return i.join(" ")}},{}],220:[function(e,t,r){(function(Buffer){function t(e,r,i,a){return Buffer.isBuffer(r)||void 0===s[r]?t(e,"binary",r,i):(r=r||"binary",a=a||"binary",i=i||new Buffer([2]),Buffer.isBuffer(i)||(i=new Buffer(i,a)),"number"==typeof e?new o(n(e,i),i,!0):(Buffer.isBuffer(e)||(e=new Buffer(e,r)),new o(e,i,!0)))}var n=e("./lib/generatePrime"),i=e("./lib/primes.json"),o=e("./lib/dh"),s={binary:!0,hex:!0,base64:!0};r.DiffieHellmanGroup=r.createDiffieHellmanGroup=r.getDiffieHellman=function(e){var t=new Buffer(i[e].prime,"hex"),r=new Buffer(i[e].gen,"hex");return new o(t,r)},r.createDiffieHellman=r.DiffieHellman=t}).call(this,e("buffer").Buffer)},{"./lib/dh":221,"./lib/generatePrime":222,"./lib/primes.json":223,buffer:105}],221:[function(e,t,r){(function(Buffer){function r(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this._pub=new s(e),this}function n(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this._priv=new s(e),this}function i(e,t,i){this.setGenerator(t),this.__prime=new s(e),this._prime=s.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,i?(this.setPublicKey=r,this.setPrivateKey=n):this._primeCode=8}function o(e,t){var r=new Buffer(e.toArray());return t?r.toString(t):r}var s=e("bn.js"),a=new(e("miller-rabin")),c=new s(24),f=new s(11),u=new s(10),h=new s(3),l=new s(7),d=e("./generatePrime"),p=e("randombytes");t.exports=i;var b={};Object.defineProperty(i.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in b)return b[n];var i=0;if(e.isEven()||!d.simpleSieve||!d.fermatTest(e)||!a.test(e))return i+=1,i+="02"===r||"05"===r?8:4,b[n]=i,i;a.test(e.shrn(1))||(i+=2);var o;switch(r){case"02":e.mod(c).cmp(f)&&(i+=8);break;case"05":(o=e.mod(u)).cmp(h)&&o.cmp(l)&&(i+=8);break;default:i+=4}return b[n]=i,i}(this.__prime,this.__gen)),this._primeCode}}),i.prototype.generateKeys=function(){return this._priv||(this._priv=new s(p(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},i.prototype.computeSecret=function(e){var t=(e=(e=new s(e)).toRed(this._prime)).redPow(this._priv).fromRed(),r=new Buffer(t.toArray()),n=this.getPrime();if(r.length<n.length){var i=new Buffer(n.length-r.length);i.fill(0),r=Buffer.concat([i,r])}return r},i.prototype.getPublicKey=function(e){return o(this._pub,e)},i.prototype.getPrivateKey=function(e){return o(this._priv,e)},i.prototype.getPrime=function(e){return o(this.__prime,e)},i.prototype.getGenerator=function(e){return o(this._gen,e)},i.prototype.setGenerator=function(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this.__gen=e,this._gen=new s(e),this}}).call(this,e("buffer").Buffer)},{"./generatePrime":222,"bn.js":224,buffer:105,"miller-rabin":255,randombytes:299}],222:[function(e,t,r){function n(e){for(var t=function(){if(null!==v)return v;var e=[];e[0]=2;for(var t=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<t&&e[i]<=n&&r%e[i]!=0;i++);t!==i&&e[i]<=n||(e[t++]=r)}return v=e,e}(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function i(e){var t=a.mont(e);return 0===h.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function o(e,t){if(e<16)return new a(2===t||5===t?[140,123]:[140,39]);t=new a(t);for(var r,o;;){for(r=new a(s(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(u),r.testn(1)||r.iadd(h),t.cmp(h)){if(!t.cmp(l))for(;r.mod(d).cmp(p);)r.iadd(y)}else for(;r.mod(c).cmp(b);)r.iadd(y);if(o=r.shrn(1),n(o)&&n(r)&&i(o)&&i(r)&&f.test(o)&&f.test(r))return r}}var s=e("randombytes");t.exports=o,o.simpleSieve=n,o.fermatTest=i;var a=e("bn.js"),c=new a(24),f=new(e("miller-rabin")),u=new a(1),h=new a(2),l=new a(5),d=(new a(16),new a(8),new a(10)),p=new a(3),b=(new a(7),new a(11)),y=new a(4),v=(new a(12),null)},{"bn.js":224,"miller-rabin":255,randombytes:299}],223:[function(e,t,r){t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],224:[function(e,t,r){arguments[4][113][0].apply(r,arguments)},{buffer:77,dup:113}],225:[function(e,t,r){function n(e,t,r,n,i,o,s){this.p=e,this.a=t,this.b=r,this.G=Point.fromAffine(this,n,i),this.n=o,this.h=s,this.infinity=new Point(this,null,null,BigInteger.ZERO),this.pOverFour=e.add(BigInteger.ONE).shiftRight(2),this.pLength=Math.floor((this.p.bitLength()+7)/8)}var i=e("assert"),BigInteger=e("bigi"),Point=e("./point");n.prototype.pointFromX=function(e,t){var r=t.pow(3).add(this.a.multiply(t)).add(this.b).mod(this.p).modPow(this.pOverFour,this.p),n=r;return r.isEven()^!e&&(n=this.p.subtract(n)),Point.fromAffine(this,t,n)},n.prototype.isInfinity=function(e){return e===this.infinity||0===e.z.signum()&&0!==e.y.signum()},n.prototype.isOnCurve=function(e){if(this.isInfinity(e))return!0;var t=e.affineX,r=e.affineY,n=this.a,i=this.b,o=this.p;if(t.signum()<0||t.compareTo(o)>=0)return!1;if(r.signum()<0||r.compareTo(o)>=0)return!1;var s=r.square().mod(o),a=t.pow(3).add(n.multiply(t)).add(i).mod(o);return s.equals(a)},n.prototype.validate=function(e){i(!this.isInfinity(e),"Point is at infinity"),i(this.isOnCurve(e),"Point is not on the curve");var t=e.multiply(this.n);return i(this.isInfinity(t),"Point is not a scalar multiple of G"),!0},t.exports=n},{"./point":229,assert:20,bigi:26}],226:[function(e,t,r){t.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"}}},{}],227:[function(e,t,r){var Point=e("./point"),n=e("./curve"),i=e("./names");t.exports={Curve:n,Point:Point,getCurveByName:i}},{"./curve":225,"./names":228,"./point":229}],228:[function(e,t,r){var BigInteger=e("bigi"),n=e("./curves.json"),i=e("./curve");t.exports=function(e){var t=n[e];if(!t)return null;var r=new BigInteger(t.p,16),o=new BigInteger(t.a,16),s=new BigInteger(t.b,16),a=new BigInteger(t.n,16),c=new BigInteger(t.h,16),f=new BigInteger(t.Gx,16),u=new BigInteger(t.Gy,16);return new i(r,o,s,f,u,a,c)}},{"./curve":225,"./curves.json":226,bigi:26}],229:[function(e,t,r){function Point(e,t,r,i){n.notStrictEqual(i,void 0,"Missing Z coordinate"),this.curve=e,this.x=t,this.y=r,this.z=i,this._zInv=null,this.compressed=!0}var n=e("assert"),Buffer=e("safe-buffer").Buffer,BigInteger=e("bigi"),i=BigInteger.valueOf(3);Object.defineProperty(Point.prototype,"zInv",{get:function(){return null===this._zInv&&(this._zInv=this.z.modInverse(this.curve.p)),this._zInv}}),Object.defineProperty(Point.prototype,"affineX",{get:function(){return this.x.multiply(this.zInv).mod(this.curve.p)}}),Object.defineProperty(Point.prototype,"affineY",{get:function(){return this.y.multiply(this.zInv).mod(this.curve.p)}}),Point.fromAffine=function(e,t,r){return new Point(e,t,r,BigInteger.ONE)},Point.prototype.equals=function(e){if(e===this)return!0;if(this.curve.isInfinity(this))return this.curve.isInfinity(e);if(this.curve.isInfinity(e))return this.curve.isInfinity(this);if(0!==e.y.multiply(this.z).subtract(this.y.multiply(e.z)).mod(this.curve.p).signum())return!1;return 0===e.x.multiply(this.z).subtract(this.x.multiply(e.z)).mod(this.curve.p).signum()},Point.prototype.negate=function(){var e=this.curve.p.subtract(this.y);return new Point(this.curve,this.x,e,this.z)},Point.prototype.add=function(e){if(this.curve.isInfinity(this))return e;if(this.curve.isInfinity(e))return this;var t=this.x,r=this.y,n=e.x,o=e.y.multiply(this.z).subtract(r.multiply(e.z)).mod(this.curve.p),s=n.multiply(this.z).subtract(t.multiply(e.z)).mod(this.curve.p);if(0===s.signum())return 0===o.signum()?this.twice():this.curve.infinity;var a=s.square(),c=a.multiply(s),f=t.multiply(a),u=o.square().multiply(this.z),h=u.subtract(f.shiftLeft(1)).multiply(e.z).subtract(c).multiply(s).mod(this.curve.p),l=f.multiply(i).multiply(o).subtract(r.multiply(c)).subtract(u.multiply(o)).multiply(e.z).add(o.multiply(c)).mod(this.curve.p),d=c.multiply(this.z).multiply(e.z).mod(this.curve.p);return new Point(this.curve,h,l,d)},Point.prototype.twice=function(){if(this.curve.isInfinity(this))return this;if(0===this.y.signum())return this.curve.infinity;var e=this.x,t=this.y,r=t.multiply(this.z).mod(this.curve.p),n=r.multiply(t).mod(this.curve.p),o=this.curve.a,s=e.square().multiply(i);0!==o.signum()&&(s=s.add(this.z.square().multiply(o)));var a=(s=s.mod(this.curve.p)).square().subtract(e.shiftLeft(3).multiply(n)).shiftLeft(1).multiply(r).mod(this.curve.p),c=s.multiply(i).multiply(e).subtract(n.shiftLeft(1)).shiftLeft(2).multiply(n).subtract(s.pow(3)).mod(this.curve.p),f=r.pow(3).shiftLeft(3).mod(this.curve.p);return new Point(this.curve,a,c,f)},Point.prototype.multiply=function(e){if(this.curve.isInfinity(this))return this;if(0===e.signum())return this.curve.infinity;for(var t=e,r=t.multiply(i),n=this.negate(),o=this,s=r.bitLength()-2;s>0;--s){var a=r.testBit(s),c=t.testBit(s);o=o.twice(),a!==c&&(o=o.add(a?this:n))}return o},Point.prototype.multiplyTwo=function(e,t,r){for(var n=Math.max(e.bitLength(),r.bitLength())-1,i=this.curve.infinity,o=this.add(t);n>=0;){var s=e.testBit(n),a=r.testBit(n);i=i.twice(),s?i=a?i.add(o):i.add(this):a&&(i=i.add(t)),--n}return i},Point.prototype.getEncoded=function(e){if(null==e&&(e=this.compressed),this.curve.isInfinity(this))return Buffer.alloc(1,0);var t,r=this.affineX,n=this.affineY,i=this.curve.pLength;return e?(t=Buffer.allocUnsafe(1+i)).writeUInt8(n.isEven()?2:3,0):((t=Buffer.allocUnsafe(1+i+i)).writeUInt8(4,0),n.toBuffer(i).copy(t,1+i)),r.toBuffer(i).copy(t,1),t},Point.decodeFrom=function(e,t){var r,i=t.readUInt8(0),o=4!==i,s=Math.floor((e.p.bitLength()+7)/8),a=BigInteger.fromBuffer(t.slice(1,1+s));if(o){n.equal(t.length,s+1,"Invalid sequence length"),n(2===i||3===i,"Invalid sequence tag");var c=3===i;r=e.pointFromX(c,a)}else{n.equal(t.length,1+s+s,"Invalid sequence length");var f=BigInteger.fromBuffer(t.slice(1+s));r=Point.fromAffine(e,a,f)}return r.compressed=o,r},Point.prototype.toString=function(){return this.curve.isInfinity(this)?"(INFINITY)":"("+this.affineX.toString()+","+this.affineY.toString()+")"},t.exports=Point},{assert:20,bigi:26,"safe-buffer":313}],230:[function(e,t,r){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(e){return"function"==typeof e}function o(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!function(e){return"number"==typeof e}(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,r,n,a,c,f;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var u=new Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}if(r=this._events[e],s(r))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:a=Array.prototype.slice.call(arguments,1),r.apply(this,a)}else if(o(r))for(a=Array.prototype.slice.call(arguments,1),n=(f=r.slice()).length,c=0;c<n;c++)f[c].apply(this,a);return!0},n.prototype.addListener=function(e,t){var r;if(!i(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,i(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned&&(r=s(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}if(!i(t))throw TypeError("listener must be a function");var n=!1;return r.listener=t,this.on(e,r),this},n.prototype.removeListener=function(e,t){var r,n,s,a;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],s=r.length,n=-1,r===t||i(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(r)){for(a=s;a-- >0;)if(r[a]===t||r[a].listener&&r[a].listener===t){n=a;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],i(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},{}],231:[function(e,t,r){var Buffer=e("safe-buffer").Buffer,n=e("md5.js");t.exports=function(e,t,r,i){if(Buffer.isBuffer(e)||(e=Buffer.from(e,"binary")),t&&(Buffer.isBuffer(t)||(t=Buffer.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var o=r/8,s=Buffer.alloc(o),a=Buffer.alloc(i||0),c=Buffer.alloc(0);o>0||i>0;){var f=new n;f.update(c),f.update(e),t&&f.update(t),c=f.digest();var u=0;if(o>0){var h=s.length-o;u=Math.min(o,c.length),c.copy(s,h,0,u),o-=u}if(u<c.length&&i>0){var l=a.length-i,d=Math.min(i,c.length-u);c.copy(a,l,u,u+d),i-=d}}return c.fill(0),{key:s,iv:a}}},{"md5.js":252,"safe-buffer":313}],232:[function(e,t,r){(function(Buffer){"use strict";function r(e){n.call(this),this._block=new Buffer(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}var n=e("stream").Transform;e("inherits")(r,n),r.prototype._transform=function(e,t,r){var n=null;try{"buffer"!==t&&(e=new Buffer(e,t)),this.update(e)}catch(e){n=e}r(n)},r.prototype._flush=function(e){var t=null;try{this.push(this._digest())}catch(e){t=e}e(t)},r.prototype.update=function(e,t){if(!Buffer.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");Buffer.isBuffer(e)||(e=new Buffer(e,t||"binary"));for(var r=this._block,n=0;this._blockOffset+e.length-n>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)r[i++]=e[n++];this._update(),this._blockOffset=0}for(;n<e.length;)r[this._blockOffset++]=e[n++];for(var o=0,s=8*e.length;s>0;++o)this._length[o]+=s,(s=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*s);return this},r.prototype._update=function(e){throw new Error("_update is not implemented")},r.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();return void 0!==e&&(t=t.toString(e)),t},r.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=r}).call(this,e("buffer").Buffer)},{buffer:105,inherits:248,stream:346}],233:[function(e,t,r){var n=r;n.utils=e("./hash/utils"),n.common=e("./hash/common"),n.sha=e("./hash/sha"),n.ripemd=e("./hash/ripemd"),n.hmac=e("./hash/hmac"),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},{"./hash/common":234,"./hash/hmac":235,"./hash/ripemd":236,"./hash/sha":237,"./hash/utils":244}],234:[function(e,t,r){"use strict";function n(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}var i=e("./utils"),o=e("minimalistic-assert");r.BlockHash=n,n.prototype.update=function(e,t){if(e=i.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=i.join32(e,0,e.length-r,this.endian);for(var n=0;n<e.length;n+=this._delta32)this._update(e,n,n+this._delta32)}return this},n.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},n.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}},{"./utils":244,"minimalistic-assert":257}],235:[function(e,t,r){"use strict";function n(e,t,r){if(!(this instanceof n))return new n(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(t,r))}var i=e("./utils"),o=e("minimalistic-assert");t.exports=n,n.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),o(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},n.prototype.update=function(e,t){return this.inner.update(e,t),this},n.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},{"./utils":244,"minimalistic-assert":257}],236:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function i(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}var o=e("./utils"),s=e("./common"),a=o.rotl32,c=o.sum32,f=o.sum32_3,u=o.sum32_4,h=s.BlockHash;o.inherits(n,h),r.ripemd160=n,n.blockSize=512,n.outSize=160,n.hmacStrength=192,n.padLength=64,n.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],o=this.h[2],s=this.h[3],h=this.h[4],y=r,v=n,m=o,g=s,w=h,_=0;_<80;_++){var E=c(a(u(r,i(_,n,o,s),e[l[_]+t],function(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}(_)),p[_]),h);r=h,h=s,s=a(o,10),o=n,n=E,E=c(a(u(y,i(79-_,v,m,g),e[d[_]+t],function(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}(_)),b[_]),w),y=w,w=g,g=a(m,10),m=v,v=E}E=f(this.h[1],o,g),this.h[1]=f(this.h[2],s,w),this.h[2]=f(this.h[3],h,y),this.h[3]=f(this.h[4],r,v),this.h[4]=f(this.h[0],n,m),this.h[0]=E},n.prototype._digest=function(e){return"hex"===e?o.toHex32(this.h,"little"):o.split32(this.h,"little")};var l=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],d=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],p=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],b=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":234,"./utils":244}],237:[function(e,t,r){"use strict";r.sha1=e("./sha/1"),r.sha224=e("./sha/224"),r.sha256=e("./sha/256"),r.sha384=e("./sha/384"),r.sha512=e("./sha/512")},{"./sha/1":238,"./sha/224":239,"./sha/256":240,"./sha/384":241,"./sha/512":242}],238:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}var i=e("../utils"),o=e("../common"),s=e("./common"),a=i.rotl32,c=i.sum32,f=i.sum32_5,u=s.ft_1,h=o.BlockHash,l=[1518500249,1859775393,2400959708,3395469782];i.inherits(n,h),t.exports=n,n.blockSize=512,n.outSize=160,n.hmacStrength=80,n.padLength=64,n.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],s=this.h[2],h=this.h[3],d=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),b=f(a(i,5),u(p,o,s,h),d,r[n],l[p]);d=h,h=s,s=a(o,30),o=i,i=b}this.h[0]=c(this.h[0],i),this.h[1]=c(this.h[1],o),this.h[2]=c(this.h[2],s),this.h[3]=c(this.h[3],h),this.h[4]=c(this.h[4],d)},n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},{"../common":234,"../utils":244,"./common":243}],239:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;o.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}var i=e("../utils"),o=e("./256");i.inherits(n,o),t.exports=n,n.blockSize=512,n.outSize=224,n.hmacStrength=192,n.padLength=64,n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h.slice(0,7),"big"):i.split32(this.h.slice(0,7),"big")}},{"../utils":244,"./256":240}],240:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;v.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=m,this.W=new Array(64)}var i=e("../utils"),o=e("../common"),s=e("./common"),a=e("minimalistic-assert"),c=i.sum32,f=i.sum32_4,u=i.sum32_5,h=s.ch32,l=s.maj32,d=s.s0_256,p=s.s1_256,b=s.g0_256,y=s.g1_256,v=o.BlockHash,m=[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];i.inherits(n,v),t.exports=n,n.blockSize=512,n.outSize=256,n.hmacStrength=192,n.padLength=64,n.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=f(y(r[n-2]),r[n-7],b(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],s=this.h[2],v=this.h[3],m=this.h[4],g=this.h[5],w=this.h[6],_=this.h[7];for(a(this.k.length===r.length),n=0;n<r.length;n++){var E=u(_,p(m),h(m,g,w),this.k[n],r[n]),S=c(d(i),l(i,o,s));_=w,w=g,g=m,m=c(v,E),v=s,s=o,o=i,i=c(E,S)}this.h[0]=c(this.h[0],i),this.h[1]=c(this.h[1],o),this.h[2]=c(this.h[2],s),this.h[3]=c(this.h[3],v),this.h[4]=c(this.h[4],m),this.h[5]=c(this.h[5],g),this.h[6]=c(this.h[6],w),this.h[7]=c(this.h[7],_)},n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},{"../common":234,"../utils":244,"./common":243,"minimalistic-assert":257}],241:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;o.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}var i=e("../utils"),o=e("./512");i.inherits(n,o),t.exports=n,n.blockSize=1024,n.outSize=384,n.hmacStrength=192,n.padLength=128,n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h.slice(0,12),"big"):i.split32(this.h.slice(0,12),"big")}},{"../utils":244,"./512":242}],242:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;m.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}var i=e("../utils"),o=e("../common"),s=e("minimalistic-assert"),a=i.rotr64_hi,c=i.rotr64_lo,f=i.shr64_hi,u=i.shr64_lo,h=i.sum64,l=i.sum64_hi,d=i.sum64_lo,p=i.sum64_4_hi,b=i.sum64_4_lo,y=i.sum64_5_hi,v=i.sum64_5_lo,m=o.BlockHash,g=[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];i.inherits(n,m),t.exports=n,n.blockSize=1024,n.outSize=512,n.hmacStrength=192,n.padLength=128,n.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var i=function(e,t){var r=a(e,t,19)^a(t,e,29)^f(e,t,6);return r<0&&(r+=4294967296),r}(r[n-4],r[n-3]),o=function(e,t){var r=c(e,t,19)^c(t,e,29)^u(e,t,6);return r<0&&(r+=4294967296),r}(r[n-4],r[n-3]),s=r[n-14],h=r[n-13],l=function(e,t){var r=a(e,t,1)^a(e,t,8)^f(e,t,7);return r<0&&(r+=4294967296),r}(r[n-30],r[n-29]),d=function(e,t){var r=c(e,t,1)^c(e,t,8)^u(e,t,7);return r<0&&(r+=4294967296),r}(r[n-30],r[n-29]),y=r[n-32],v=r[n-31];r[n]=p(i,o,s,h,l,d,y,v),r[n+1]=b(i,o,s,h,l,d,y,v)}},n.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],i=this.h[1],o=this.h[2],f=this.h[3],u=this.h[4],p=this.h[5],b=this.h[6],m=this.h[7],g=this.h[8],w=this.h[9],_=this.h[10],E=this.h[11],S=this.h[12],k=this.h[13],A=this.h[14],x=this.h[15];s(this.k.length===r.length);for(var I=0;I<r.length;I+=2){var T=A,B=x,P=function(e,t){var r=a(e,t,14)^a(e,t,18)^a(t,e,9);return r<0&&(r+=4294967296),r}(g,w),M=function(e,t){var r=c(e,t,14)^c(e,t,18)^c(t,e,9);return r<0&&(r+=4294967296),r}(g,w),C=function(e,t,r,n,i){var o=e&r^~e&i;return o<0&&(o+=4294967296),o}(g,0,_,0,S),R=function(e,t,r,n,i,o){var s=t&n^~t&o;return s<0&&(s+=4294967296),s}(0,w,0,E,0,k),O=this.k[I],L=this.k[I+1],j=r[I],N=r[I+1],D=y(T,B,P,M,C,R,O,L,j,N),U=v(T,B,P,M,C,R,O,L,j,N);T=function(e,t){var r=a(e,t,28)^a(t,e,2)^a(t,e,7);return r<0&&(r+=4294967296),r}(n,i),B=function(e,t){var r=c(e,t,28)^c(t,e,2)^c(t,e,7);return r<0&&(r+=4294967296),r}(n,i),P=function(e,t,r,n,i){var o=e&r^e&i^r&i;return o<0&&(o+=4294967296),o}(n,0,o,0,u),M=function(e,t,r,n,i,o){var s=t&n^t&o^n&o;return s<0&&(s+=4294967296),s}(0,i,0,f,0,p);var K=l(T,B,P,M),H=d(T,B,P,M);A=S,x=k,S=_,k=E,_=g,E=w,g=l(b,m,D,U),w=d(m,m,D,U),b=u,m=p,u=o,p=f,o=n,f=i,n=l(D,U,K,H),i=d(D,U,K,H)}h(this.h,0,n,i),h(this.h,2,o,f),h(this.h,4,u,p),h(this.h,6,b,m),h(this.h,8,g,w),h(this.h,10,_,E),h(this.h,12,S,k),h(this.h,14,A,x)},n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},{"../common":234,"../utils":244,"minimalistic-assert":257}],243:[function(e,t,r){"use strict";function n(e,t,r){return e&t^~e&r}function i(e,t,r){return e&t^e&r^t&r}function o(e,t,r){return e^t^r}var s=e("../utils").rotr32;r.ft_1=function(e,t,r,s){return 0===e?n(t,r,s):1===e||3===e?o(t,r,s):2===e?i(t,r,s):void 0},r.ch32=n,r.maj32=i,r.p32=o,r.s0_256=function(e){return s(e,2)^s(e,13)^s(e,22)},r.s1_256=function(e){return s(e,6)^s(e,11)^s(e,25)},r.g0_256=function(e){return s(e,7)^s(e,18)^e>>>3},r.g1_256=function(e){return s(e,17)^s(e,19)^e>>>10}},{"../utils":244}],244:[function(e,t,r){"use strict";function n(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function i(e){return 1===e.length?"0"+e:e}function o(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}var s=e("minimalistic-assert"),a=e("inherits");r.inherits=a,r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(var n=0;n<e.length;n++){var i=e.charCodeAt(n),o=i>>8,s=255&i;o?r.push(o,s):r.push(s)}else for(n=0;n<e.length;n++)r[n]=0|e[n];return r},r.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=i(e[r].toString(16));return t},r.htonl=n,r.toHex32=function(e,t){for(var r="",i=0;i<e.length;i++){var s=e[i];"little"===t&&(s=n(s)),r+=o(s.toString(16))}return r},r.zero2=i,r.zero8=o,r.join32=function(e,t,r,n){var i=r-t;s(i%4==0);for(var o=new Array(i/4),a=0,c=t;a<o.length;a++,c+=4){var f;f="big"===n?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],o[a]=f>>>0}return o},r.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n<e.length;n++,i+=4){var o=e[n];"big"===t?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},r.rotr32=function(e,t){return e>>>t|e<<32-t},r.rotl32=function(e,t){return e<<t|e>>>32-t},r.sum32=function(e,t){return e+t>>>0},r.sum32_3=function(e,t,r){return e+t+r>>>0},r.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},r.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},r.sum64=function(e,t,r,n){var i=e[t],o=n+e[t+1]>>>0,s=(o<n?1:0)+r+i;e[t]=s>>>0,e[t+1]=o},r.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},r.sum64_lo=function(e,t,r,n){return t+n>>>0},r.sum64_4_hi=function(e,t,r,n,i,o,s,a){var c=0,f=t;return c+=(f=f+n>>>0)<t?1:0,c+=(f=f+o>>>0)<o?1:0,e+r+i+s+(c+=(f=f+a>>>0)<a?1:0)>>>0},r.sum64_4_lo=function(e,t,r,n,i,o,s,a){return t+n+o+a>>>0},r.sum64_5_hi=function(e,t,r,n,i,o,s,a,c,f){var u=0,h=t;return u+=(h=h+n>>>0)<t?1:0,u+=(h=h+o>>>0)<o?1:0,u+=(h=h+a>>>0)<a?1:0,e+r+i+s+c+(u+=(h=h+f>>>0)<f?1:0)>>>0},r.sum64_5_lo=function(e,t,r,n,i,o,s,a,c,f){return t+n+o+a+f>>>0},r.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},r.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},r.shr64_hi=function(e,t,r){return e>>>r},r.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},{inherits:248,"minimalistic-assert":257}],245:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=o.toArray(e.entropy,e.entropyEnc||"hex"),r=o.toArray(e.nonce,e.nonceEnc||"hex"),i=o.toArray(e.pers,e.persEnc||"hex");s(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,i)}var i=e("hash.js"),o=e("minimalistic-crypto-utils"),s=e("minimalistic-assert");t.exports=n,n.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},n.prototype._hmac=function(){return new i.hmac(this.hash,this.K)},n.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},n.prototype.reseed=function(e,t,r,n){"string"!=typeof t&&(n=r,r=t,t=null),e=o.toArray(e,t),r=o.toArray(r,n),s(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},n.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=o.toArray(r,n||"hex"),this._update(r));for(var i=[];i.length<e;)this.V=this._hmac().update(this.V).digest(),i=i.concat(this.V);var s=i.slice(0,e);return this._update(r),this._reseed++,o.encode(s,t)}},{"hash.js":233,"minimalistic-assert":257,"minimalistic-crypto-utils":258}],246:[function(e,t,r){r.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,c=(1<<a)-1,f=c>>1,u=-7,h=r?i-1:0,l=r?-1:1,d=e[t+h];for(h+=l,o=d&(1<<-u)-1,d>>=-u,u+=a;u>0;o=256*o+e[t+h],h+=l,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=n;u>0;s=256*s+e[t+h],h+=l,u-=8);if(0===o)o=1-f;else{if(o===c)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),o-=f}return(d?-1:1)*s*Math.pow(2,o-n)},r.write=function(e,t,r,n,i,o){var s,a,c,f=8*o-i-1,u=(1<<f)-1,h=u>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+h>=1?l/c:l*Math.pow(2,1-h))*c>=2&&(s++,c/=2),s+h>=u?(a=0,s=u):s+h>=1?(a=(t*c-1)*Math.pow(2,i),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;e[r+d]=255&a,d+=p,a/=256,i-=8);for(s=s<<i|a,f+=i;f>0;e[r+d]=255&s,d+=p,s/=256,f-=8);e[r+d-p]|=128*b}},{}],247:[function(e,t,r){var n=[].indexOf;t.exports=function(e,t){if(n)return e.indexOf(t);for(var r=0;r<e.length;++r)if(e[r]===t)return r;return-1}},{}],248:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],249:[function(e,t,r){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}t.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},{}],250:[function(e,t,r){var n={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},{}],251:[function(e,t,r){(function(e){(function(){function n(e,t){return e.set(t[0],t[1]),e}function i(e,t){return e.add(t),e}function o(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function s(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}function a(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}function c(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var s=e[r];t(s,r,e)&&(o[i++]=s)}return o}function f(e,t){return!!(null==e?0:e.length)&&v(e,t,0)>-1}function u(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}function h(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}function l(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}function d(e,t,r,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++i]);++i<o;)r=t(r,e[i],i,e);return r}function p(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function b(e,t,r){var n;return r(e,function(e,r,i){if(t(e,r,i))return n=r,!1}),n}function y(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function v(e,t,r){return t==t?function(e,t,r){var n=r-1,i=e.length;for(;++n<i;)if(e[n]===t)return n;return-1}(e,t,r):y(e,m,r)}function m(e){return e!=e}function g(e,t){var r=null==e?0:e.length;return r?S(e,t)/r:be}function w(e){return function(t){return null==t?D:t[e]}}function _(e){return function(t){return null==e?D:e[t]}}function E(e,t,r,n,i){return i(e,function(e,i,o){r=n?(n=!1,e):t(r,e,i,o)}),r}function S(e,t){for(var r,n=-1,i=e.length;++n<i;){var o=t(e[n]);o!==D&&(r=r===D?o:r+o)}return r}function k(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function A(e){return function(t){return e(t)}}function x(e,t){return h(t,function(t){return e[t]})}function I(e,t){return e.has(t)}function T(e,t){for(var r=-1,n=e.length;++r<n&&v(t,e[r],0)>-1;);return r}function B(e,t){for(var r=e.length;r--&&v(t,e[r],0)>-1;);return r}function P(e){return"\\"+dr[e]}function M(e){return ar.test(e)}function C(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function R(e,t){return function(r){return e(t(r))}}function O(e,t){for(var r=-1,n=e.length,i=0,o=[];++r<n;){var s=e[r];s!==t&&s!==F||(e[r]=F,o[i++]=r)}return o}function L(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}function j(e){return M(e)?function(e){var t=or.lastIndex=0;for(;or.test(e);)++t;return t}(e):Pr(e)}function N(e){return M(e)?function(e){return e.match(or)||[]}(e):function(e){return e.split("")}(e)}var D,U=200,K="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",H="Expected a function",z="__lodash_hash_undefined__",q=500,F="__lodash_placeholder__",W=1,V=2,G=4,Y=1,J=2,X=1,Z=2,$=4,Q=8,ee=16,te=32,re=64,ne=128,ie=256,oe=512,se=30,ae="...",ce=800,fe=16,ue=1,he=2,le=1/0,de=9007199254740991,pe=1.7976931348623157e308,be=NaN,ye=4294967295,ve=ye-1,me=ye>>>1,ge=[["ary",ne],["bind",X],["bindKey",Z],["curry",Q],["curryRight",ee],["flip",oe],["partial",te],["partialRight",re],["rearg",ie]],we="[object Arguments]",_e="[object Array]",Ee="[object AsyncFunction]",Se="[object Boolean]",ke="[object Date]",Ae="[object DOMException]",xe="[object Error]",Ie="[object Function]",Te="[object GeneratorFunction]",Be="[object Map]",Pe="[object Number]",Me="[object Null]",Ce="[object Object]",Re="[object Proxy]",Oe="[object RegExp]",Le="[object Set]",je="[object String]",Ne="[object Symbol]",De="[object Undefined]",Ue="[object WeakMap]",Ke="[object WeakSet]",He="[object ArrayBuffer]",ze="[object DataView]",qe="[object Float32Array]",Fe="[object Float64Array]",We="[object Int8Array]",Ve="[object Int16Array]",Ge="[object Int32Array]",Ye="[object Uint8Array]",Je="[object Uint8ClampedArray]",Xe="[object Uint16Array]",Ze="[object Uint32Array]",$e=/\b__p \+= '';/g,Qe=/\b(__p \+=) '' \+/g,et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,tt=/&(?:amp|lt|gt|quot|#39);/g,rt=/[&<>"']/g,nt=RegExp(tt.source),it=RegExp(rt.source),ot=/<%-([\s\S]+?)%>/g,st=/<%([\s\S]+?)%>/g,at=/<%=([\s\S]+?)%>/g,ct=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ft=/^\w*$/,ut=/^\./,ht=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,lt=/[\\^$.*+?()[\]{}|]/g,dt=RegExp(lt.source),pt=/^\s+|\s+$/g,bt=/^\s+/,yt=/\s+$/,vt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,mt=/\{\n\/\* \[wrapped with (.+)\] \*/,gt=/,? & /,wt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,_t=/\\(\\)?/g,Et=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,St=/\w*$/,kt=/^[-+]0x[0-9a-f]+$/i,At=/^0b[01]+$/i,xt=/^\[object .+?Constructor\]$/,It=/^0o[0-7]+$/i,Tt=/^(?:0|[1-9]\d*)$/,Bt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Pt=/($^)/,Mt=/['\n\r\u2028\u2029\\]/g,Ct="\\ud800-\\udfff",Rt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ot="a-z\\xdf-\\xf6\\xf8-\\xff",Lt="A-Z\\xc0-\\xd6\\xd8-\\xde",jt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Nt="["+Ct+"]",Dt="["+jt+"]",Ut="["+Rt+"]",Kt="\\d+",Ht="[\\u2700-\\u27bf]",zt="["+Ot+"]",qt="[^"+Ct+jt+Kt+"\\u2700-\\u27bf"+Ot+Lt+"]",Ft="\\ud83c[\\udffb-\\udfff]",Wt="[^"+Ct+"]",Vt="(?:\\ud83c[\\udde6-\\uddff]){2}",Gt="[\\ud800-\\udbff][\\udc00-\\udfff]",Yt="["+Lt+"]",Jt="(?:"+zt+"|"+qt+")",Xt="(?:"+Yt+"|"+qt+")",Zt="(?:['’](?:d|ll|m|re|s|t|ve))?",$t="(?:['’](?:D|LL|M|RE|S|T|VE))?",Qt="(?:"+Ut+"|"+Ft+")"+"?",er="[\\ufe0e\\ufe0f]?"+Qt+("(?:\\u200d(?:"+[Wt,Vt,Gt].join("|")+")[\\ufe0e\\ufe0f]?"+Qt+")*"),tr="(?:"+[Ht,Vt,Gt].join("|")+")"+er,rr="(?:"+[Wt+Ut+"?",Ut,Vt,Gt,Nt].join("|")+")",nr=RegExp("['’]","g"),ir=RegExp(Ut,"g"),or=RegExp(Ft+"(?="+Ft+")|"+rr+er,"g"),sr=RegExp([Yt+"?"+zt+"+"+Zt+"(?="+[Dt,Yt,"$"].join("|")+")",Xt+"+"+$t+"(?="+[Dt,Yt+Jt,"$"].join("|")+")",Yt+"?"+Jt+"+"+Zt,Yt+"+"+$t,"\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Kt,tr].join("|"),"g"),ar=RegExp("[\\u200d"+Ct+Rt+"\\ufe0e\\ufe0f]"),cr=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ur=-1,hr={};hr[qe]=hr[Fe]=hr[We]=hr[Ve]=hr[Ge]=hr[Ye]=hr[Je]=hr[Xe]=hr[Ze]=!0,hr[we]=hr[_e]=hr[He]=hr[Se]=hr[ze]=hr[ke]=hr[xe]=hr[Ie]=hr[Be]=hr[Pe]=hr[Ce]=hr[Oe]=hr[Le]=hr[je]=hr[Ue]=!1;var lr={};lr[we]=lr[_e]=lr[He]=lr[ze]=lr[Se]=lr[ke]=lr[qe]=lr[Fe]=lr[We]=lr[Ve]=lr[Ge]=lr[Be]=lr[Pe]=lr[Ce]=lr[Oe]=lr[Le]=lr[je]=lr[Ne]=lr[Ye]=lr[Je]=lr[Xe]=lr[Ze]=!0,lr[xe]=lr[Ie]=lr[Ue]=!1;var dr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},pr=parseFloat,br=parseInt,yr="object"==typeof e&&e&&e.Object===Object&&e,vr="object"==typeof self&&self&&self.Object===Object&&self,mr=yr||vr||Function("return this")(),gr="object"==typeof r&&r&&!r.nodeType&&r,wr=gr&&"object"==typeof t&&t&&!t.nodeType&&t,_r=wr&&wr.exports===gr,Er=_r&&yr.process,Sr=function(){try{return Er&&Er.binding&&Er.binding("util")}catch(e){}}(),kr=Sr&&Sr.isArrayBuffer,Ar=Sr&&Sr.isDate,xr=Sr&&Sr.isMap,Ir=Sr&&Sr.isRegExp,Tr=Sr&&Sr.isSet,Br=Sr&&Sr.isTypedArray,Pr=w("length"),Mr=_({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Cr=_({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),Rr=_({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Or=function e(t){function r(e){if(Qi(e)&&!za(e)&&!(e instanceof Rt)){if(e instanceof Ct)return e;if(qo.call(e,"__wrapped__"))return Si(e)}return new Ct(e)}function _(){}function Ct(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=D}function Rt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ye,this.__views__=[]}function Ot(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Lt(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function jt(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Nt(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new jt;++t<r;)this.add(e[t])}function Dt(e){var t=this.__data__=new Lt(e);this.size=t.size}function Ut(e,t){var r=za(e),n=!r&&Ha(e),i=!r&&!n&&Fa(e),o=!r&&!n&&!i&&Ja(e),s=r||n||i||o,a=s?k(e.length,jo):[],c=a.length;for(var f in e)!t&&!qo.call(e,f)||s&&("length"==f||i&&("offset"==f||"parent"==f)||o&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||fi(f,c))||a.push(f);return a}function Kt(e){var t=e.length;return t?e[Zr(0,t-1)]:D}function Ht(e,t,r){(r===D||Wi(e[t],r))&&(r!==D||t in e)||Wt(e,t,r)}function zt(e,t,r){var n=e[t];qo.call(e,t)&&Wi(n,r)&&(r!==D||t in e)||Wt(e,t,r)}function qt(e,t){for(var r=e.length;r--;)if(Wi(e[r][0],t))return r;return-1}function Ft(e,t){return e&&xn(t,po(t),e)}function Wt(e,t,r){"__proto__"==t&&ss?ss(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Vt(e,t){for(var r=-1,n=t.length,i=Bo(n),o=null==e;++r<n;)i[r]=o?D:ho(e,t[r]);return i}function Gt(e,t,r){return e==e&&(r!==D&&(e=e<=r?e:r),t!==D&&(e=e>=t?e:t)),e}function Yt(e,t,r,o,a,c){var f,u=t&W,h=t&V,l=t&G;if(r&&(f=a?r(e,o,a,c):r(e)),f!==D)return f;if(!$i(e))return e;var p=za(e);if(p){if(f=function(e){var t=e.length,r=e.constructor(t);return t&&"string"==typeof e[0]&&qo.call(e,"index")&&(r.index=e.index,r.input=e.input),r}(e),!u)return An(e,f)}else{var b=$s(e),y=b==Ie||b==Te;if(Fa(e))return gn(e,u);if(b==Ce||b==we||y&&!a){if(f=h||y?{}:ai(e),!u)return h?function(e,t){return xn(e,Zs(e),t)}(e,function(t,r){return t&&xn(e,bo(e),t)}(f)):function(e,t){return xn(e,Xs(e),t)}(e,Ft(f,e))}else{if(!lr[b])return a?e:{};f=function(e,t,r,o){var s=e.constructor;switch(t){case He:return wn(e);case Se:case ke:return new s(+e);case ze:return function(e,t){var r=o?wn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e);case qe:case Fe:case We:case Ve:case Ge:case Ye:case Je:case Xe:case Ze:return _n(e,o);case Be:return function(e,t,i){return d(o?r(C(e),W):C(e),n,new e.constructor)}(e);case Pe:case je:return new s(e);case Oe:return function(e){var t=new e.constructor(e.source,St.exec(e));return t.lastIndex=e.lastIndex,t}(e);case Le:return function(e,t,n){return d(o?r(L(e),W):L(e),i,new e.constructor)}(e);case Ne:return function(e){return Ns?Oo(Ns.call(e)):{}}(e)}}(e,b,Yt,u)}}c||(c=new Dt);var v=c.get(e);if(v)return v;c.set(e,f);var m=p?D:(l?h?Qn:$n:h?bo:po)(e);return s(m||e,function(n,i){m&&(n=e[i=n]),zt(f,i,Yt(n,t,r,i,e,c))}),f}function Jt(e,t,r){var n=r.length;if(null==e)return!n;for(e=Oo(e);n--;){var i=r[n],o=t[i],s=e[i];if(s===D&&!(i in e)||!o(s))return!1}return!0}function Xt(e,t,r){if("function"!=typeof e)throw new No(H);return ta(function(){e.apply(D,r)},t)}function Zt(e,t,r,n){var i=-1,o=f,s=!0,a=e.length,c=[],l=t.length;if(!a)return c;r&&(t=h(t,A(r))),n?(o=u,s=!1):t.length>=U&&(o=I,s=!1,t=new Nt(t));e:for(;++i<a;){var d=e[i],p=null==r?d:r(d);if(d=n||0!==d?d:0,s&&p==p){for(var b=l;b--;)if(t[b]===p)continue e;c.push(d)}else o(t,p,n)||c.push(d)}return c}function $t(e,t,r){for(var n=-1,i=e.length;++n<i;){var o=e[n],s=t(o);if(null!=s&&(a===D?s==s&&!no(s):r(s,a)))var a=s,c=o}return c}function Qt(e,t){var r=[];return Ks(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r}function er(e,t,r,n,i){var o=-1,s=e.length;for(r||(r=ci),i||(i=[]);++o<s;){var a=e[o];t>0&&r(a)?t>1?er(a,t-1,r,n,i):l(i,a):n||(i[i.length]=a)}return i}function tr(e,t){return e&&zs(e,t,po)}function rr(e,t){return e&&qs(e,t,po)}function or(e,t){return c(t,function(t){return Ji(e[t])})}function ar(e,t){for(var r=0,n=(t=vn(t,e)).length;null!=e&&r<n;)e=e[_i(t[r++])];return r&&r==n?e:D}function dr(e,t,r){var n=t(e);return za(e)?n:l(n,r(e))}function yr(e){return null==e?e===D?De:Me:os&&os in Oo(e)?function(e){var t=qo.call(e,os),r=e[os];try{e[os]=D;var n=!0}catch(e){}var i=Vo.call(e);return n&&(t?e[os]=r:delete e[os]),i}(e):function(e){return Vo.call(e)}(e)}function vr(e,t){return e>t}function gr(e,t){return null!=e&&qo.call(e,t)}function wr(e,t){return null!=e&&t in Oo(e)}function Er(e,t,r){for(var n=r?u:f,i=e[0].length,o=e.length,s=o,a=Bo(o),c=1/0,l=[];s--;){var d=e[s];s&&t&&(d=h(d,A(t))),c=ms(d.length,c),a[s]=!r&&(t||i>=120&&d.length>=120)?new Nt(s&&d):D}d=e[0];var p=-1,b=a[0];e:for(;++p<i&&l.length<c;){var y=d[p],v=t?t(y):y;if(y=r||0!==y?y:0,!(b?I(b,v):n(l,v,r))){for(s=o;--s;){var m=a[s];if(!(m?I(m,v):n(e[s],v,r)))continue e}b&&b.push(v),l.push(y)}}return l}function Sr(e,t,r){var n=null==(e=vi(e,t=vn(t,e)))?e:e[_i(Ti(t))];return null==n?D:o(n,e,r)}function Pr(e){return Qi(e)&&yr(e)==we}function Lr(e,t,r,n,i){return e===t||(null==e||null==t||!Qi(e)&&!Qi(t)?e!=e&&t!=t:function(e,t,r,n,i,o){var s=za(e),a=za(t),c=s?_e:$s(e),f=a?_e:$s(t),u=(c=c==we?Ce:c)==Ce,h=(f=f==we?Ce:f)==Ce,l=c==f;if(l&&Fa(e)){if(!Fa(t))return!1;s=!0,u=!1}if(l&&!u)return o||(o=new Dt),s||Ja(e)?Xn(e,t,r,n,i,o):function(e,t,r,n,i,o,s){switch(c){case ze:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case He:return!(e.byteLength!=t.byteLength||!o(new Zo(e),new Zo(t)));case Se:case ke:case Pe:return Wi(+e,+t);case xe:return e.name==t.name&&e.message==t.message;case Oe:case je:return e==t+"";case Be:var a=C;case Le:var f=n&Y;if(a||(a=L),e.size!=t.size&&!f)return!1;var u=s.get(e);if(u)return u==t;n|=J,s.set(e,t);var h=Xn(a(e),a(t),n,i,o,s);return s.delete(e),h;case Ne:if(Ns)return Ns.call(e)==Ns.call(t)}return!1}(e,t,0,r,n,i,o);if(!(r&Y)){var d=u&&qo.call(e,"__wrapped__"),p=h&&qo.call(t,"__wrapped__");if(d||p){var b=d?e.value():e,y=p?t.value():t;return o||(o=new Dt),i(b,y,r,n,o)}}return!!l&&(o||(o=new Dt),function(e,t,r,n,i,o){var s=r&Y,a=$n(e),c=a.length,f=$n(t).length;if(c!=f&&!s)return!1;for(var u=c;u--;){var h=a[u];if(!(s?h in t:qo.call(t,h)))return!1}var l=o.get(e);if(l&&o.get(t))return l==t;var d=!0;o.set(e,t),o.set(t,e);for(var p=s;++u<c;){h=a[u];var b=e[h],y=t[h];if(n)var v=s?n(y,b,h,t,e,o):n(b,y,h,e,t,o);if(!(v===D?b===y||i(b,y,r,n,o):v)){d=!1;break}p||(p="constructor"==h)}if(d&&!p){var m=e.constructor,g=t.constructor;m!=g&&"constructor"in e&&"constructor"in t&&!("function"==typeof m&&m instanceof m&&"function"==typeof g&&g instanceof g)&&(d=!1)}return o.delete(e),o.delete(t),d}(e,t,r,n,i,o))}(e,t,r,n,Lr,i))}function jr(e,t,r,n){var i=r.length,o=i,s=!n;if(null==e)return!o;for(e=Oo(e);i--;){var a=r[i];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var c=(a=r[i])[0],f=e[c],u=a[1];if(s&&a[2]){if(f===D&&!(c in e))return!1}else{var h=new Dt;if(n)var l=n(f,u,c,e,t,h);if(!(l===D?Lr(u,f,Y|J,n,h):l))return!1}}return!0}function Nr(e){return!(!$i(e)||!!Wo&&Wo in e)&&(Ji(e)?Jo:xt).test(Ei(e))}function Dr(e){return"function"==typeof e?e:null==e?Eo:"object"==typeof e?za(e)?Fr(e[0],e[1]):qr(e):xo(e)}function Ur(e){if(!di(e))return ys(e);var t=[];for(var r in Oo(e))qo.call(e,r)&&"constructor"!=r&&t.push(r);return t}function Kr(e){if(!$i(e))return function(e){var t=[];if(null!=e)for(var r in Oo(e))t.push(r);return t}(e);var t=di(e),r=[];for(var n in e)("constructor"!=n||!t&&qo.call(e,n))&&r.push(n);return r}function Hr(e,t){return e<t}function zr(e,t){var r=-1,n=Vi(e)?Bo(e.length):[];return Ks(e,function(e,i,o){n[++r]=t(e,i,o)}),n}function qr(e){var t=ii(e);return 1==t.length&&t[0][2]?bi(t[0][0],t[0][1]):function(r){return r===e||jr(r,e,t)}}function Fr(e,t){return hi(e)&&pi(t)?bi(_i(e),t):function(r){var n=ho(r,e);return n===D&&n===t?lo(r,e):Lr(t,n,Y|J)}}function Wr(e,t,r,n,i){e!==t&&zs(t,function(o,s){if($i(o))i||(i=new Dt),function(e,t,r,n,i,o,s){var a=e[r],c=t[r],f=s.get(c);if(f)Ht(e,r,f);else{var u=o?o(a,c,r+"",e,t,s):D,h=u===D;if(h){var l=za(c),d=!l&&Fa(c),p=!l&&!d&&Ja(c);u=c,l||d||p?za(a)?u=a:Gi(a)?u=An(a):d?(h=!1,u=gn(c,!0)):p?(h=!1,u=_n(c,!0)):u=[]:to(c)||Ha(c)?(u=a,Ha(a)?u=fo(a):(!$i(a)||n&&Ji(a))&&(u=ai(c))):h=!1}h&&(s.set(c,u),i(u,c,n,o,s),s.delete(c)),Ht(e,r,u)}}(e,t,s,r,Wr,n,i);else{var a=n?n(e[s],o,s+"",e,t,i):D;a===D&&(a=o),Ht(e,s,a)}},bo)}function Vr(e,t){var r=e.length;if(r)return t+=t<0?r:0,fi(t,r)?e[t]:D}function Gr(e,t,r){var n=-1;return t=h(t.length?t:[Eo],A(ri())),function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}(zr(e,function(e,r,i){return{criteria:h(t,function(t){return t(e)}),index:++n,value:e}}),function(e,t){return function(e,t,r){for(var n=-1,i=e.criteria,o=t.criteria,s=i.length,a=r.length;++n<s;){var c=En(i[n],o[n]);if(c){if(n>=a)return c;var f=r[n];return c*("desc"==f?-1:1)}}return e.index-t.index}(e,t,r)})}function Yr(e,t,r){for(var n=-1,i=t.length,o={};++n<i;){var s=t[n],a=ar(e,s);r(a,s)&&en(o,vn(s,e),a)}return o}function Jr(e,t,r,n){var i=n?function(e,t,r,n){for(var i=r-1,o=e.length;++i<o;)if(n(e[i],t))return i;return-1}:v,o=-1,s=t.length,a=e;for(e===t&&(t=An(t)),r&&(a=h(e,A(r)));++o<s;)for(var c=0,f=t[o],u=r?r(f):f;(c=i(a,u,c,n))>-1;)a!==e&&rs.call(a,c,1),rs.call(e,c,1);return e}function Xr(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==o){var o=i;fi(i)?rs.call(e,i,1):fn(e,i)}}return e}function Zr(e,t){return e+hs(_s()*(t-e+1))}function $r(e,t){var r="";if(!e||t<1||t>de)return r;do{t%2&&(r+=e),(t=hs(t/2))&&(e+=e)}while(t);return r}function Qr(e,t){return ra(yi(e,t,Eo),e+"")}function en(e,t,r,n){if(!$i(e))return e;for(var i=-1,o=(t=vn(t,e)).length,s=o-1,a=e;null!=a&&++i<o;){var c=_i(t[i]),f=r;if(i!=s){var u=a[c];(f=n?n(u,c,a):D)===D&&(f=$i(u)?u:fi(t[i+1])?[]:{})}zt(a,c,f),a=a[c]}return e}function tn(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Bo(i);++n<i;)o[n]=e[n+t];return o}function rn(e,t,r){var n=0,i=null==e?n:e.length;if("number"==typeof t&&t==t&&i<=me){for(;n<i;){var o=n+i>>>1,s=e[o];null!==s&&!no(s)&&(r?s<=t:s<t)?n=o+1:i=o}return i}return nn(e,t,Eo,r)}function nn(e,t,r,n){t=r(t);for(var i=0,o=null==e?0:e.length,s=t!=t,a=null===t,c=no(t),f=t===D;i<o;){var u=hs((i+o)/2),h=r(e[u]),l=h!==D,d=null===h,p=h==h,b=no(h);if(s)var y=n||p;else y=f?p&&(n||l):a?p&&l&&(n||!d):c?p&&l&&!d&&(n||!b):!d&&!b&&(n?h<=t:h<t);y?i=u+1:o=u}return ms(o,ve)}function on(e,t){for(var r=-1,n=e.length,i=0,o=[];++r<n;){var s=e[r],a=t?t(s):s;if(!r||!Wi(a,c)){var c=a;o[i++]=0===s?0:s}}return o}function sn(e){return"number"==typeof e?e:no(e)?be:+e}function an(e){if("string"==typeof e)return e;if(za(e))return h(e,an)+"";if(no(e))return Ds?Ds.call(e):"";var t=e+"";return"0"==t&&1/e==-le?"-0":t}function cn(e,t,r){var n=-1,i=f,o=e.length,s=!0,a=[],c=a;if(r)s=!1,i=u;else if(o>=U){var h=t?null:Ys(e);if(h)return L(h);s=!1,i=I,c=new Nt}else c=t?[]:a;e:for(;++n<o;){var l=e[n],d=t?t(l):l;if(l=r||0!==l?l:0,s&&d==d){for(var p=c.length;p--;)if(c[p]===d)continue e;t&&c.push(d),a.push(l)}else i(c,d,r)||(c!==a&&c.push(d),a.push(l))}return a}function fn(e,t){return t=vn(t,e),null==(e=vi(e,t))||delete e[_i(Ti(t))]}function un(e,t,r,n){return en(e,t,r(ar(e,t)),n)}function hn(e,t,r,n){for(var i=e.length,o=n?i:-1;(n?o--:++o<i)&&t(e[o],o,e););return r?tn(e,n?0:o,n?o+1:i):tn(e,n?o+1:0,n?i:o)}function ln(e,t){var r=e;return r instanceof Rt&&(r=r.value()),d(t,function(e,t){return t.func.apply(t.thisArg,l([e],t.args))},r)}function dn(e,t,r){var n=e.length;if(n<2)return n?cn(e[0]):[];for(var i=-1,o=Bo(n);++i<n;)for(var s=e[i],a=-1;++a<n;)a!=i&&(o[i]=Zt(o[i]||s,e[a],t,r));return cn(er(o,1),t,r)}function pn(e,t,r){for(var n=-1,i=e.length,o=t.length,s={};++n<i;){var a=n<o?t[n]:D;r(s,e[n],a)}return s}function bn(e){return Gi(e)?e:[]}function yn(e){return"function"==typeof e?e:Eo}function vn(e,t){return za(e)?e:hi(e,t)?[e]:na(uo(e))}function mn(e,t,r){var n=e.length;return r=r===D?n:r,!t&&r>=n?e:tn(e,t,r)}function gn(e,t){if(t)return e.slice();var r=e.length,n=$o?$o(r):new e.constructor(r);return e.copy(n),n}function wn(e){var t=new e.constructor(e.byteLength);return new Zo(t).set(new Zo(e)),t}function _n(e,t){var r=t?wn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function En(e,t){if(e!==t){var r=e!==D,n=null===e,i=e==e,o=no(e),s=t!==D,a=null===t,c=t==t,f=no(t);if(!a&&!f&&!o&&e>t||o&&s&&c&&!a&&!f||n&&s&&c||!r&&c||!i)return 1;if(!n&&!o&&!f&&e<t||f&&r&&i&&!n&&!o||a&&r&&i||!s&&i||!c)return-1}return 0}function Sn(e,t,r,n){for(var i=-1,o=e.length,s=r.length,a=-1,c=t.length,f=vs(o-s,0),u=Bo(c+f),h=!n;++a<c;)u[a]=t[a];for(;++i<s;)(h||i<o)&&(u[r[i]]=e[i]);for(;f--;)u[a++]=e[i++];return u}function kn(e,t,r,n){for(var i=-1,o=e.length,s=-1,a=r.length,c=-1,f=t.length,u=vs(o-a,0),h=Bo(u+f),l=!n;++i<u;)h[i]=e[i];for(var d=i;++c<f;)h[d+c]=t[c];for(;++s<a;)(l||i<o)&&(h[d+r[s]]=e[i++]);return h}function An(e,t){var r=-1,n=e.length;for(t||(t=Bo(n));++r<n;)t[r]=e[r];return t}function xn(e,t,r,n){var i=!r;r||(r={});for(var o=-1,s=t.length;++o<s;){var a=t[o],c=n?n(r[a],e[a],a,r,e):D;c===D&&(c=e[a]),i?Wt(r,a,c):zt(r,a,c)}return r}function In(e,t){return function(r,n){var i=za(r)?function(e,t,r,n){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(n,s,r(s),e)}return n}:function(e,t,r,n){return Ks(e,function(e,i,o){t(n,e,r(e),o)}),n},o=t?t():{};return i(r,e,ri(n,2),o)}}function Tn(e){return Qr(function(t,r){var n=-1,i=r.length,o=i>1?r[i-1]:D,s=i>2?r[2]:D;for(o=e.length>3&&"function"==typeof o?(i--,o):D,s&&ui(r[0],r[1],s)&&(o=i<3?D:o,i=1),t=Oo(t);++n<i;){var a=r[n];a&&e(t,a,n,o)}return t})}function Bn(e,t){return function(r,n){if(null==r)return r;if(!Vi(r))return e(r,n);for(var i=r.length,o=t?i:-1,s=Oo(r);(t?o--:++o<i)&&!1!==n(s[o],o,s););return r}}function Pn(e){return function(t,r,n){for(var i=-1,o=Oo(t),s=n(t),a=s.length;a--;){var c=s[e?a:++i];if(!1===r(o[c],c,o))break}return t}}function Mn(e){return function(t){var r=M(t=uo(t))?N(t):D,n=r?r[0]:t.charAt(0),i=r?mn(r,1).join(""):t.slice(1);return n[e]()+i}}function Cn(e){return function(t){return d(wo(go(t).replace(nr,"")),e,"")}}function Rn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Us(e.prototype),n=e.apply(r,t);return $i(n)?n:r}}function On(e){return function(t,r,n){var i=Oo(t);if(!Vi(t)){var o=ri(r,3);t=po(t),r=function(e){return o(i[e],e,i)}}var s=e(t,r,n);return s>-1?i[o?t[s]:s]:D}}function Ln(e){return Zn(function(t){var r=t.length,n=r,i=Ct.prototype.thru;for(e&&t.reverse();n--;){var o=t[n];if("function"!=typeof o)throw new No(H);if(i&&!s&&"wrapper"==ei(o))var s=new Ct([],!0)}for(n=s?n:r;++n<r;){var a=ei(o=t[n]),c="wrapper"==a?Js(o):D;s=c&&li(c[0])&&c[1]==(ne|Q|te|ie)&&!c[4].length&&1==c[9]?s[ei(c[0])].apply(s,c[3]):1==o.length&&li(o)?s[a]():s.thru(o)}return function(){var e=arguments,n=e[0];if(s&&1==e.length&&za(n))return s.plant(n).value();for(var i=0,o=r?t[i].apply(this,e):n;++i<r;)o=t[i].call(this,o);return o}})}function jn(e,t,r,n,i,o,s,a,c,f){function u(){for(var v=arguments.length,m=Bo(v),g=v;g--;)m[g]=arguments[g];if(p)var w=ti(u),_=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}(m,w);if(n&&(m=Sn(m,n,i,p)),o&&(m=kn(m,o,s,p)),v-=_,p&&v<f){var E=O(m,w);return qn(e,t,jn,u.placeholder,r,m,E,a,c,f-v)}var S=l?r:this,k=d?S[e]:e;return v=m.length,a?m=function(e,t){for(var r=e.length,n=ms(t.length,r),i=An(e);n--;){var o=t[n];e[n]=fi(o,r)?i[o]:D}return e}(m,a):b&&v>1&&m.reverse(),h&&c<v&&(m.length=c),this&&this!==mr&&this instanceof u&&(k=y||Rn(k)),k.apply(S,m)}var h=t&ne,l=t&X,d=t&Z,p=t&(Q|ee),b=t&oe,y=d?D:Rn(e);return u}function Nn(e,t){return function(r,n){return function(e,t,r,n){return tr(e,function(e,i,o){t(n,r(e),i,o)}),n}(r,e,t(n),{})}}function Dn(e,t){return function(r,n){var i;if(r===D&&n===D)return t;if(r!==D&&(i=r),n!==D){if(i===D)return n;"string"==typeof r||"string"==typeof n?(r=an(r),n=an(n)):(r=sn(r),n=sn(n)),i=e(r,n)}return i}}function Un(e){return Zn(function(t){return t=h(t,A(ri())),Qr(function(r){var n=this;return e(t,function(e){return o(e,n,r)})})})}function Kn(e,t){var r=(t=t===D?" ":an(t)).length;if(r<2)return r?$r(t,e):t;var n=$r(t,us(e/j(t)));return M(t)?mn(N(n),0,e).join(""):n.slice(0,e)}function Hn(e){return function(t,r,n){return n&&"number"!=typeof n&&ui(t,r,n)&&(r=n=D),t=oo(t),r===D?(r=t,t=0):r=oo(r),n=n===D?t<r?1:-1:oo(n),function(e,t,n,i){for(var o=-1,s=vs(us((r-e)/(n||1)),0),a=Bo(s);s--;)a[i?s:++o]=e,e+=n;return a}(t,0,n,e)}}function zn(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=co(t),r=co(r)),e(t,r)}}function qn(e,t,r,n,i,o,s,a,c,f){var u=t&Q;t|=u?te:re,(t&=~(u?re:te))&$||(t&=~(X|Z));var h=[e,t,i,u?o:D,u?s:D,u?D:o,u?D:s,a,c,f],l=r.apply(D,h);return li(e)&&ea(l,h),l.placeholder=n,mi(l,e,t)}function Fn(e){var t=Ro[e];return function(e,r){if(e=co(e),r=null==r?0:ms(so(r),292)){var n=(uo(e)+"e").split("e");return+((n=(uo(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}function Wn(e){return function(t){var r=$s(t);return r==Be?C(t):r==Le?function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=[e,e]}),r}(t):function(r,n){return h(e(t),function(e){return[e,r[e]]})}(t)}}function Vn(e,t,r,n,i,s,a,c){var f=t&Z;if(!f&&"function"!=typeof e)throw new No(H);var u=n?n.length:0;if(u||(t&=~(te|re),n=i=D),a=a===D?a:vs(so(a),0),c=c===D?c:so(c),u-=i?i.length:0,t&re){var h=n,l=i;n=i=D}var d=f?D:Js(e),p=[e,t,r,n,i,h,l,s,a,c];if(d&&function(e,t){var r=e[1],n=t[1],i=r|n,o=i<(X|Z|ne),s=n==ne&&r==Q||n==ne&&r==ie&&e[7].length<=t[8]||n==(ne|ie)&&t[7].length<=t[8]&&r==Q;if(!o&&!s)return e;n&X&&(e[2]=t[2],i|=r&X?0:$);var a=t[3];if(a){var c=e[3];e[3]=c?Sn(c,a,t[4]):a,e[4]=c?O(e[3],F):t[4]}(a=t[5])&&(c=e[5],e[5]=c?kn(c,a,t[6]):a,e[6]=c?O(e[5],F):t[6]),(a=t[7])&&(e[7]=a),n&ne&&(e[8]=null==e[8]?t[8]:ms(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(p,d),e=p[0],t=p[1],r=p[2],n=p[3],i=p[4],!(c=p[9]=p[9]===D?f?0:e.length:vs(p[9]-u,0))&&t&(Q|ee)&&(t&=~(Q|ee)),t&&t!=X)b=t==Q||t==ee?function(e,t,r){function n(){for(var s=arguments.length,a=Bo(s),c=s,f=ti(n);c--;)a[c]=arguments[c];var u=s<3&&a[0]!==f&&a[s-1]!==f?[]:O(a,f);return(s-=u.length)<r?qn(e,t,jn,n.placeholder,D,a,u,D,D,r-s):o(this&&this!==mr&&this instanceof n?i:e,this,a)}var i=Rn(e);return n}(e,t,c):t!=te&&t!=(X|te)||i.length?jn.apply(D,p):function(e,r,n,i){function s(){for(var t=-1,r=arguments.length,f=-1,u=i.length,h=Bo(u+r),l=this&&this!==mr&&this instanceof s?c:e;++f<u;)h[f]=i[f];for(;r--;)h[f++]=arguments[++t];return o(l,a?n:this,h)}var a=t&X,c=Rn(e);return s}(e,0,r,n);else var b=function(e,r,n){function i(){return(this&&this!==mr&&this instanceof i?s:e).apply(o?n:this,arguments)}var o=t&X,s=Rn(e);return i}(e,0,r);return mi((d?Fs:ea)(b,p),e,t)}function Gn(e,t,r,n){return e===D||Wi(e,Ko[r])&&!qo.call(n,r)?t:e}function Yn(e,t,r,n,i,o){return $i(e)&&$i(t)&&(o.set(t,e),Wr(e,t,D,Yn,o),o.delete(t)),e}function Jn(e){return to(e)?D:e}function Xn(e,t,r,n,i,o){var s=r&Y,a=e.length,c=t.length;if(a!=c&&!(s&&c>a))return!1;var f=o.get(e);if(f&&o.get(t))return f==t;var u=-1,h=!0,l=r&J?new Nt:D;for(o.set(e,t),o.set(t,e);++u<a;){var d=e[u],b=t[u];if(n)var y=s?n(b,d,u,t,e,o):n(d,b,u,e,t,o);if(y!==D){if(y)continue;h=!1;break}if(l){if(!p(t,function(e,t){if(!I(l,t)&&(d===e||i(d,e,r,n,o)))return l.push(t)})){h=!1;break}}else if(d!==b&&!i(d,b,r,n,o)){h=!1;break}}return o.delete(e),o.delete(t),h}function Zn(e){return ra(yi(e,D,xi),e+"")}function $n(e){return dr(e,po,Xs)}function Qn(e){return dr(e,bo,Zs)}function ei(e){for(var t=e.name+"",r=Ps[t],n=qo.call(Ps,t)?r.length:0;n--;){var i=r[n],o=i.func;if(null==o||o==e)return i.name}return t}function ti(e){return(qo.call(r,"placeholder")?r:e).placeholder}function ri(){var e=r.iteratee||So;return e=e===So?Dr:e,arguments.length?e(arguments[0],arguments[1]):e}function ni(e,t){var r=e.__data__;return function(e){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}()?r["string"==typeof t?"string":"hash"]:r.map}function ii(e){for(var t=po(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,pi(i)]}return t}function oi(e,t){var r=null==e?D:e[t];return Nr(r)?r:D}function si(e,t,r){for(var n=-1,i=(t=vn(t,e)).length,o=!1;++n<i;){var s=_i(t[n]);if(!(o=null!=e&&r(e,s)))break;e=e[s]}return o||++n!=i?o:!!(i=null==e?0:e.length)&&Zi(i)&&fi(s,i)&&(za(e)||Ha(e))}function ai(e){return"function"!=typeof e.constructor||di(e)?{}:Us(Qo(e))}function ci(e){return za(e)||Ha(e)||!!(ns&&e&&e[ns])}function fi(e,t){return!!(t=null==t?de:t)&&("number"==typeof e||Tt.test(e))&&e>-1&&e%1==0&&e<t}function ui(e,t,r){if(!$i(r))return!1;var n=typeof t;return!!("number"==n?Vi(r)&&fi(t,r.length):"string"==n&&t in r)&&Wi(r[t],e)}function hi(e,t){if(za(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!no(e))||ft.test(e)||!ct.test(e)||null!=t&&e in Oo(t)}function li(e){var t=ei(e),n=r[t];if("function"!=typeof n||!(t in Rt.prototype))return!1;if(e===n)return!0;var i=Js(n);return!!i&&e===i[0]}function di(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ko)}function pi(e){return e==e&&!$i(e)}function bi(e,t){return function(r){return null!=r&&r[e]===t&&(t!==D||e in Oo(r))}}function yi(e,t,r){return t=vs(t===D?e.length-1:t,0),function(){for(var n=arguments,i=-1,s=vs(n.length-t,0),a=Bo(s);++i<s;)a[i]=n[t+i];i=-1;for(var c=Bo(t+1);++i<t;)c[i]=n[i];return c[t]=r(a),o(e,this,c)}}function vi(e,t){return t.length<2?e:ar(e,tn(t,0,-1))}function mi(e,t,r){var n=t+"";return ra(e,function(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(vt,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return s(ge,function(r){var n="_."+r[0];t&r[1]&&!f(e,n)&&e.push(n)}),e.sort()}(function(e){var t=n.match(mt);return t?t[1].split(gt):[]}(),r)))}function gi(e){var t=0,r=0;return function(){var n=gs(),i=fe-(n-r);if(r=n,i>0){if(++t>=ce)return arguments[0]}else t=0;return e.apply(D,arguments)}}function wi(e,t){var r=-1,n=e.length,i=n-1;for(t=t===D?n:t;++r<t;){var o=Zr(r,i),s=e[o];e[o]=e[r],e[r]=s}return e.length=t,e}function _i(e){if("string"==typeof e||no(e))return e;var t=e+"";return"0"==t&&1/e==-le?"-0":t}function Ei(e){if(null!=e){try{return zo.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Si(e){if(e instanceof Rt)return e.clone();var t=new Ct(e.__wrapped__,e.__chain__);return t.__actions__=An(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function ki(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:so(r);return i<0&&(i=vs(n+i,0)),y(e,ri(t,3),i)}function Ai(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n-1;return r!==D&&(i=so(r),i=r<0?vs(n+i,0):ms(i,n-1)),y(e,ri(t,3),i,!0)}function xi(e){return(null==e?0:e.length)?er(e,1):[]}function Ii(e){return e&&e.length?e[0]:D}function Ti(e){var t=null==e?0:e.length;return t?e[t-1]:D}function Bi(e,t){return e&&e.length&&t&&t.length?Jr(e,t):e}function Pi(e){return null==e?e:Es.call(e)}function Mi(e){if(!e||!e.length)return[];var t=0;return e=c(e,function(e){if(Gi(e))return t=vs(e.length,t),!0}),k(t,function(t){return h(e,w(t))})}function Ci(e,t){if(!e||!e.length)return[];var r=Mi(e);return null==t?r:h(r,function(e){return o(t,D,e)})}function Ri(e){var t=r(e);return t.__chain__=!0,t}function Oi(e,t){return t(e)}function Li(e,t){return(za(e)?s:Ks)(e,ri(t,3))}function ji(e,t){return(za(e)?function(e,t){for(var r=null==e?0:e.length;r--&&!1!==t(e[r],r,e););return e}:Hs)(e,ri(t,3))}function Ni(e,t){return(za(e)?h:zr)(e,ri(t,3))}function Di(e,t,r){return t=r?D:t,t=e&&null==t?e.length:t,Vn(e,ne,D,D,D,D,t)}function Ui(e,t){var r;if("function"!=typeof t)throw new No(H);return e=so(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=D),r}}function Ki(e,t,r){var n=Vn(e,Q,D,D,D,D,D,t=r?D:t);return n.placeholder=Ki.placeholder,n}function Hi(e,t,r){var n=Vn(e,ee,D,D,D,D,D,t=r?D:t);return n.placeholder=Hi.placeholder,n}function zi(e,t,r){function n(t){var r=c,n=f;return c=f=D,p=t,h=e.apply(n,r)}function i(e){var r=e-d;return d===D||r>=t||r<0||y&&e-p>=u}function o(){var e=Pa();if(i(e))return s(e);l=ta(o,function(r){var n=t-(e-d);return y?ms(n,u-(e-p)):n}())}function s(e){return l=D,v&&c?n(e):(c=f=D,h)}function a(){var e=Pa(),r=i(e);if(c=arguments,f=this,d=e,r){if(l===D)return function(e){return p=e,l=ta(o,t),b?n(e):h}(d);if(y)return l=ta(o,t),n(d)}return l===D&&(l=ta(o,t)),h}var c,f,u,h,l,d,p=0,b=!1,y=!1,v=!0;if("function"!=typeof e)throw new No(H);return t=co(t)||0,$i(r)&&(b=!!r.leading,u=(y="maxWait"in r)?vs(co(r.maxWait)||0,t):u,v="trailing"in r?!!r.trailing:v),a.cancel=function(){l!==D&&Gs(l),p=0,c=d=f=l=D},a.flush=function(){return l===D?h:s(Pa())},a}function qi(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new No(H);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=e.apply(this,n);return r.cache=o.set(i,s)||o,s};return r.cache=new(qi.Cache||jt),r}function Fi(e){if("function"!=typeof e)throw new No(H);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Wi(e,t){return e===t||e!=e&&t!=t}function Vi(e){return null!=e&&Zi(e.length)&&!Ji(e)}function Gi(e){return Qi(e)&&Vi(e)}function Yi(e){if(!Qi(e))return!1;var t=yr(e);return t==xe||t==Ae||"string"==typeof e.message&&"string"==typeof e.name&&!to(e)}function Ji(e){if(!$i(e))return!1;var t=yr(e);return t==Ie||t==Te||t==Ee||t==Re}function Xi(e){return"number"==typeof e&&e==so(e)}function Zi(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=de}function $i(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Qi(e){return null!=e&&"object"==typeof e}function eo(e){return"number"==typeof e||Qi(e)&&yr(e)==Pe}function to(e){if(!Qi(e)||yr(e)!=Ce)return!1;var t=Qo(e);if(null===t)return!0;var r=qo.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&zo.call(r)==Go}function ro(e){return"string"==typeof e||!za(e)&&Qi(e)&&yr(e)==je}function no(e){return"symbol"==typeof e||Qi(e)&&yr(e)==Ne}function io(e){if(!e)return[];if(Vi(e))return ro(e)?N(e):An(e);if(is&&e[is])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[is]());var t=$s(e);return(t==Be?C:t==Le?L:vo)(e)}function oo(e){return e?(e=co(e))===le||e===-le?(e<0?-1:1)*pe:e==e?e:0:0===e?e:0}function so(e){var t=oo(e),r=t%1;return t==t?r?t-r:t:0}function ao(e){return e?Gt(so(e),0,ye):0}function co(e){if("number"==typeof e)return e;if(no(e))return be;if($i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=$i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(pt,"");var r=At.test(e);return r||It.test(e)?br(e.slice(2),r?2:8):kt.test(e)?be:+e}function fo(e){return xn(e,bo(e))}function uo(e){return null==e?"":an(e)}function ho(e,t,r){var n=null==e?D:ar(e,t);return n===D?r:n}function lo(e,t){return null!=e&&si(e,t,wr)}function po(e){return Vi(e)?Ut(e):Ur(e)}function bo(e){return Vi(e)?Ut(e,!0):Kr(e)}function yo(e,t){if(null==e)return{};var r=h(Qn(e),function(e){return[e]});return t=ri(t),Yr(e,r,function(e,r){return t(e,r[0])})}function vo(e){return null==e?[]:x(e,po(e))}function mo(e){return _c(uo(e).toLowerCase())}function go(e){return(e=uo(e))&&e.replace(Bt,Mr).replace(ir,"")}function wo(e,t,r){return e=uo(e),(t=r?D:t)===D?function(e){return cr.test(e)}(e)?e.match(sr)||[]:e.match(wt)||[]:e.match(t)||[]}function _o(e){return function(){return e}}function Eo(e){return e}function So(e){return Dr("function"==typeof e?e:Yt(e,W))}function ko(e,t,r){var n=po(t),i=or(t,n);null!=r||$i(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=or(t,po(t)));var o=!($i(r)&&"chain"in r&&!r.chain),a=Ji(e);return s(i,function(r){var n=t[r];e[r]=n,a&&(e.prototype[r]=function(){var t=this.__chain__;if(o||t){var r=e(this.__wrapped__);return(r.__actions__=An(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,l([this.value()],arguments))})}),e}function Ao(){}function xo(e){return hi(e)?w(_i(e)):function(e){return function(t){return ar(t,e)}}(e)}function Io(){return[]}function To(){return!1}var Bo=(t=null==t?mr:Or.defaults(mr.Object(),t,Or.pick(mr,fr))).Array,Po=t.Date,Mo=t.Error,Co=t.Function,Ro=t.Math,Oo=t.Object,Lo=t.RegExp,jo=t.String,No=t.TypeError,Do=Bo.prototype,Uo=Co.prototype,Ko=Oo.prototype,Ho=t["__core-js_shared__"],zo=Uo.toString,qo=Ko.hasOwnProperty,Fo=0,Wo=function(){var e=/[^.]+$/.exec(Ho&&Ho.keys&&Ho.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Vo=Ko.toString,Go=zo.call(Oo),Yo=mr._,Jo=Lo("^"+zo.call(qo).replace(lt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Buffer=_r?t.Buffer:D,Xo=t.Symbol,Zo=t.Uint8Array,$o=Buffer?Buffer.allocUnsafe:D,Qo=R(Oo.getPrototypeOf,Oo),es=Oo.create,ts=Ko.propertyIsEnumerable,rs=Do.splice,ns=Xo?Xo.isConcatSpreadable:D,is=Xo?Xo.iterator:D,os=Xo?Xo.toStringTag:D,ss=function(){try{var e=oi(Oo,"defineProperty");return e({},"",{}),e}catch(e){}}(),as=t.clearTimeout!==mr.clearTimeout&&t.clearTimeout,cs=Po&&Po.now!==mr.Date.now&&Po.now,fs=t.setTimeout!==mr.setTimeout&&t.setTimeout,us=Ro.ceil,hs=Ro.floor,ls=Oo.getOwnPropertySymbols,ds=Buffer?Buffer.isBuffer:D,ps=t.isFinite,bs=Do.join,ys=R(Oo.keys,Oo),vs=Ro.max,ms=Ro.min,gs=Po.now,ws=t.parseInt,_s=Ro.random,Es=Do.reverse,Ss=oi(t,"DataView"),ks=oi(t,"Map"),As=oi(t,"Promise"),xs=oi(t,"Set"),Is=oi(t,"WeakMap"),Ts=oi(Oo,"create"),Bs=Is&&new Is,Ps={},Ms=Ei(Ss),Cs=Ei(ks),Rs=Ei(As),Os=Ei(xs),Ls=Ei(Is),js=Xo?Xo.prototype:D,Ns=js?js.valueOf:D,Ds=js?js.toString:D,Us=function(){function e(){}return function(t){if(!$i(t))return{};if(es)return es(t);e.prototype=t;var r=new e;return e.prototype=D,r}}();r.templateSettings={escape:ot,evaluate:st,interpolate:at,variable:"",imports:{_:r}},(r.prototype=_.prototype).constructor=r,(Ct.prototype=Us(_.prototype)).constructor=Ct,(Rt.prototype=Us(_.prototype)).constructor=Rt,Ot.prototype.clear=function(){this.__data__=Ts?Ts(null):{},this.size=0},Ot.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ot.prototype.get=function(e){var t=this.__data__;if(Ts){var r=t[e];return r===z?D:r}return qo.call(t,e)?t[e]:D},Ot.prototype.has=function(e){var t=this.__data__;return Ts?t[e]!==D:qo.call(t,e)},Ot.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ts&&t===D?z:t,this},Lt.prototype.clear=function(){this.__data__=[],this.size=0},Lt.prototype.delete=function(e){var t=this.__data__,r=qt(t,e);return!(r<0||(r==t.length-1?t.pop():rs.call(t,r,1),--this.size,0))},Lt.prototype.get=function(e){var t=this.__data__,r=qt(t,e);return r<0?D:t[r][1]},Lt.prototype.has=function(e){return qt(this.__data__,e)>-1},Lt.prototype.set=function(e,t){var r=this.__data__,n=qt(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},jt.prototype.clear=function(){this.size=0,this.__data__={hash:new Ot,map:new(ks||Lt),string:new Ot}},jt.prototype.delete=function(e){var t=ni(this,e).delete(e);return this.size-=t?1:0,t},jt.prototype.get=function(e){return ni(this,e).get(e)},jt.prototype.has=function(e){return ni(this,e).has(e)},jt.prototype.set=function(e,t){var r=ni(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Nt.prototype.add=Nt.prototype.push=function(e){return this.__data__.set(e,z),this},Nt.prototype.has=function(e){return this.__data__.has(e)},Dt.prototype.clear=function(){this.__data__=new Lt,this.size=0},Dt.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Dt.prototype.get=function(e){return this.__data__.get(e)},Dt.prototype.has=function(e){return this.__data__.has(e)},Dt.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Lt){var n=r.__data__;if(!ks||n.length<U-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new jt(n)}return r.set(e,t),this.size=r.size,this};var Ks=Bn(tr),Hs=Bn(rr,!0),zs=Pn(),qs=Pn(!0),Fs=Bs?function(e,t){return Bs.set(e,t),e}:Eo,Ws=ss?function(e,t){return ss(e,"toString",{configurable:!0,enumerable:!1,value:_o(t),writable:!0})}:Eo,Vs=Qr,Gs=as||function(e){return mr.clearTimeout(e)},Ys=xs&&1/L(new xs([,-0]))[1]==le?function(e){return new xs(e)}:Ao,Js=Bs?function(e){return Bs.get(e)}:Ao,Xs=ls?function(e){return null==e?[]:(e=Oo(e),c(ls(e),function(t){return ts.call(e,t)}))}:Io,Zs=ls?function(e){for(var t=[];e;)l(t,Xs(e)),e=Qo(e);return t}:Io,$s=yr;(Ss&&$s(new Ss(new ArrayBuffer(1)))!=ze||ks&&$s(new ks)!=Be||As&&"[object Promise]"!=$s(As.resolve())||xs&&$s(new xs)!=Le||Is&&$s(new Is)!=Ue)&&($s=function(e){var t=yr(e),r=t==Ce?e.constructor:D,n=r?Ei(r):"";if(n)switch(n){case Ms:return ze;case Cs:return Be;case Rs:return"[object Promise]";case Os:return Le;case Ls:return Ue}return t});var Qs=Ho?Ji:To,ea=gi(Fs),ta=fs||function(e,t){return mr.setTimeout(e,t)},ra=gi(Ws),na=function(e){var t=qi(function(e){var t=[];return ut.test(e)&&t.push(""),e.replace(ht,function(e,r,n,i){t.push(n?i.replace(_t,"$1"):r||e)}),t},function(e){return r.size===q&&r.clear(),e}),r=t.cache;return t}(),ia=Qr(function(e,t){return Gi(e)?Zt(e,er(t,1,Gi,!0)):[]}),oa=Qr(function(e,t){var r=Ti(t);return Gi(r)&&(r=D),Gi(e)?Zt(e,er(t,1,Gi,!0),ri(r,2)):[]}),sa=Qr(function(e,t){var r=Ti(t);return Gi(r)&&(r=D),Gi(e)?Zt(e,er(t,1,Gi,!0),D,r):[]}),aa=Qr(function(e){var t=h(e,bn);return t.length&&t[0]===e[0]?Er(t):[]}),ca=Qr(function(e){var t=Ti(e),r=h(e,bn);return t===Ti(r)?t=D:r.pop(),r.length&&r[0]===e[0]?Er(r,ri(t,2)):[]}),fa=Qr(function(e){var t=Ti(e),r=h(e,bn);return(t="function"==typeof t?t:D)&&r.pop(),r.length&&r[0]===e[0]?Er(r,D,t):[]}),ua=Qr(Bi),ha=Zn(function(e,t){var r=null==e?0:e.length,n=Vt(e,t);return Xr(e,h(t,function(e){return fi(e,r)?+e:e}).sort(En)),n}),la=Qr(function(e){return cn(er(e,1,Gi,!0))}),da=Qr(function(e){var t=Ti(e);return Gi(t)&&(t=D),cn(er(e,1,Gi,!0),ri(t,2))}),pa=Qr(function(e){var t=Ti(e);return t="function"==typeof t?t:D,cn(er(e,1,Gi,!0),D,t)}),ba=Qr(function(e,t){return Gi(e)?Zt(e,t):[]}),ya=Qr(function(e){return dn(c(e,Gi))}),va=Qr(function(e){var t=Ti(e);return Gi(t)&&(t=D),dn(c(e,Gi),ri(t,2))}),ma=Qr(function(e){var t=Ti(e);return t="function"==typeof t?t:D,dn(c(e,Gi),D,t)}),ga=Qr(Mi),wa=Qr(function(e){var t=e.length,r=t>1?e[t-1]:D;return r="function"==typeof r?(e.pop(),r):D,Ci(e,r)}),_a=Zn(function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,i=function(t){return Vt(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Rt&&fi(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:Oi,args:[i],thisArg:D}),new Ct(n,this.__chain__).thru(function(e){return t&&!e.length&&e.push(D),e})):this.thru(i)}),Ea=In(function(e,t,r){qo.call(e,r)?++e[r]:Wt(e,r,1)}),Sa=On(ki),ka=On(Ai),Aa=In(function(e,t,r){qo.call(e,r)?e[r].push(t):Wt(e,r,[t])}),xa=Qr(function(e,t,r){var n=-1,i="function"==typeof t,s=Vi(e)?Bo(e.length):[];return Ks(e,function(e){s[++n]=i?o(t,e,r):Sr(e,t,r)}),s}),Ia=In(function(e,t,r){Wt(e,r,t)}),Ta=In(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]}),Ba=Qr(function(e,t){if(null==e)return[];var r=t.length;return r>1&&ui(e,t[0],t[1])?t=[]:r>2&&ui(t[0],t[1],t[2])&&(t=[t[0]]),Gr(e,er(t,1),[])}),Pa=cs||function(){return mr.Date.now()},Ma=Qr(function(e,t,r){var n=X;if(r.length){var i=O(r,ti(Ma));n|=te}return Vn(e,n,t,r,i)}),Ca=Qr(function(e,t,r){var n=X|Z;if(r.length){var i=O(r,ti(Ca));n|=te}return Vn(t,n,e,r,i)}),Ra=Qr(function(e,t){return Xt(e,1,t)}),Oa=Qr(function(e,t,r){return Xt(e,co(t)||0,r)});qi.Cache=jt;var La=Vs(function(e,t){var r=(t=1==t.length&&za(t[0])?h(t[0],A(ri())):h(er(t,1),A(ri()))).length;return Qr(function(n){for(var i=-1,s=ms(n.length,r);++i<s;)n[i]=t[i].call(this,n[i]);return o(e,this,n)})}),ja=Qr(function(e,t){var r=O(t,ti(ja));return Vn(e,te,D,t,r)}),Na=Qr(function(e,t){var r=O(t,ti(Na));return Vn(e,re,D,t,r)}),Da=Zn(function(e,t){return Vn(e,ie,D,D,D,t)}),Ua=zn(vr),Ka=zn(function(e,t){return e>=t}),Ha=Pr(function(){return arguments}())?Pr:function(e){return Qi(e)&&qo.call(e,"callee")&&!ts.call(e,"callee")},za=Bo.isArray,qa=kr?A(kr):function(e){return Qi(e)&&yr(e)==He},Fa=ds||To,Wa=Ar?A(Ar):function(e){return Qi(e)&&yr(e)==ke},Va=xr?A(xr):function(e){return Qi(e)&&$s(e)==Be},Ga=Ir?A(Ir):function(e){return Qi(e)&&yr(e)==Oe},Ya=Tr?A(Tr):function(e){return Qi(e)&&$s(e)==Le},Ja=Br?A(Br):function(e){return Qi(e)&&Zi(e.length)&&!!hr[yr(e)]},Xa=zn(Hr),Za=zn(function(e,t){return e<=t}),$a=Tn(function(e,t){if(di(t)||Vi(t))xn(t,po(t),e);else for(var r in t)qo.call(t,r)&&zt(e,r,t[r])}),Qa=Tn(function(e,t){xn(t,bo(t),e)}),ec=Tn(function(e,t,r,n){xn(t,bo(t),e,n)}),tc=Tn(function(e,t,r,n){xn(t,po(t),e,n)}),rc=Zn(Vt),nc=Qr(function(e){return e.push(D,Gn),o(ec,D,e)}),ic=Qr(function(e){return e.push(D,Yn),o(fc,D,e)}),oc=Nn(function(e,t,r){e[t]=r},_o(Eo)),sc=Nn(function(e,t,r){qo.call(e,t)?e[t].push(r):e[t]=[r]},ri),ac=Qr(Sr),cc=Tn(function(e,t,r){Wr(e,t,r)}),fc=Tn(function(e,t,r,n){Wr(e,t,r,n)}),uc=Zn(function(e,t){var r={};if(null==e)return r;var n=!1;t=h(t,function(t){return t=vn(t,e),n||(n=t.length>1),t}),xn(e,Qn(e),r),n&&(r=Yt(r,W|V|G,Jn));for(var i=t.length;i--;)fn(r,t[i]);return r}),hc=Zn(function(e,t){return null==e?{}:function(e,r){return Yr(e,t,function(t,r){return lo(e,r)})}(e)}),lc=Wn(po),dc=Wn(bo),pc=Cn(function(e,t,r){return t=t.toLowerCase(),e+(r?mo(t):t)}),bc=Cn(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),yc=Cn(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),vc=Mn("toLowerCase"),mc=Cn(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}),gc=Cn(function(e,t,r){return e+(r?" ":"")+_c(t)}),wc=Cn(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),_c=Mn("toUpperCase"),Ec=Qr(function(e,t){try{return o(e,D,t)}catch(e){return Yi(e)?e:new Mo(e)}}),Sc=Zn(function(e,t){return s(t,function(t){t=_i(t),Wt(e,t,Ma(e[t],e))}),e}),kc=Ln(),Ac=Ln(!0),xc=Qr(function(e,t){return function(r){return Sr(r,e,t)}}),Ic=Qr(function(e,t){return function(r){return Sr(e,r,t)}}),Tc=Un(h),Bc=Un(a),Pc=Un(p),Mc=Hn(),Cc=Hn(!0),Rc=Dn(function(e,t){return e+t},0),Oc=Fn("ceil"),Lc=Dn(function(e,t){return e/t},1),jc=Fn("floor"),Nc=Dn(function(e,t){return e*t},1),Dc=Fn("round"),Uc=Dn(function(e,t){return e-t},0);return r.after=function(e,t){if("function"!=typeof t)throw new No(H);return e=so(e),function(){if(--e<1)return t.apply(this,arguments)}},r.ary=Di,r.assign=$a,r.assignIn=Qa,r.assignInWith=ec,r.assignWith=tc,r.at=rc,r.before=Ui,r.bind=Ma,r.bindAll=Sc,r.bindKey=Ca,r.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return za(e)?e:[e]},r.chain=Ri,r.chunk=function(e,t,r){t=(r?ui(e,t,r):t===D)?1:vs(so(t),0);var n=null==e?0:e.length;if(!n||t<1)return[];for(var i=0,o=0,s=Bo(us(n/t));i<n;)s[o++]=tn(e,i,i+=t);return s},r.compact=function(e){for(var t=-1,r=null==e?0:e.length,n=0,i=[];++t<r;){var o=e[t];o&&(i[n++]=o)}return i},r.concat=function(){var e=arguments.length;if(!e)return[];for(var t=Bo(e-1),r=arguments[0],n=e;n--;)t[n-1]=arguments[n];return l(za(r)?An(r):[r],er(t,1))},r.cond=function(e){var t=null==e?0:e.length,r=ri();return e=t?h(e,function(e){if("function"!=typeof e[1])throw new No(H);return[r(e[0]),e[1]]}):[],Qr(function(r){for(var n=-1;++n<t;){var i=e[n];if(o(i[0],this,r))return o(i[1],this,r)}})},r.conforms=function(e){return function(e){var t=po(e);return function(r){return Jt(r,e,t)}}(Yt(e,W))},r.constant=_o,r.countBy=Ea,r.create=function(e,t){var r=Us(e);return null==t?r:Ft(r,t)},r.curry=Ki,r.curryRight=Hi,r.debounce=zi,r.defaults=nc,r.defaultsDeep=ic,r.defer=Ra,r.delay=Oa,r.difference=ia,r.differenceBy=oa,r.differenceWith=sa,r.drop=function(e,t,r){var n=null==e?0:e.length;return n?(t=r||t===D?1:so(t),tn(e,t<0?0:t,n)):[]},r.dropRight=function(e,t,r){var n=null==e?0:e.length;return n?(t=r||t===D?1:so(t),t=n-t,tn(e,0,t<0?0:t)):[]},r.dropRightWhile=function(e,t){return e&&e.length?hn(e,ri(t,3),!0,!0):[]},r.dropWhile=function(e,t){return e&&e.length?hn(e,ri(t,3),!0):[]},r.fill=function(e,t,r,n){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&ui(e,t,r)&&(r=0,n=i),function(e,t,r,n){var i=e.length;for((r=so(r))<0&&(r=-r>i?0:i+r),(n=n===D||n>i?i:so(n))<0&&(n+=i),n=r>n?0:ao(n);r<n;)e[r++]=t;return e}(e,t,r,n)):[]},r.filter=function(e,t){return(za(e)?c:Qt)(e,ri(t,3))},r.flatMap=function(e,t){return er(Ni(e,t),1)},r.flatMapDeep=function(e,t){return er(Ni(e,t),le)},r.flatMapDepth=function(e,t,r){return r=r===D?1:so(r),er(Ni(e,t),r)},r.flatten=xi,r.flattenDeep=function(e){return(null==e?0:e.length)?er(e,le):[]},r.flattenDepth=function(e,t){return(null==e?0:e.length)?(t=t===D?1:so(t),er(e,t)):[]},r.flip=function(e){return Vn(e,oe)},r.flow=kc,r.flowRight=Ac,r.fromPairs=function(e){for(var t=-1,r=null==e?0:e.length,n={};++t<r;){var i=e[t];n[i[0]]=i[1]}return n},r.functions=function(e){return null==e?[]:or(e,po(e))},r.functionsIn=function(e){return null==e?[]:or(e,bo(e))},r.groupBy=Aa,r.initial=function(e){return(null==e?0:e.length)?tn(e,0,-1):[]},r.intersection=aa,r.intersectionBy=ca,r.intersectionWith=fa,r.invert=oc,r.invertBy=sc,r.invokeMap=xa,r.iteratee=So,r.keyBy=Ia,r.keys=po,r.keysIn=bo,r.map=Ni,r.mapKeys=function(e,t){var r={};return t=ri(t,3),tr(e,function(e,n,i){Wt(r,t(e,n,i),e)}),r},r.mapValues=function(e,t){var r={};return t=ri(t,3),tr(e,function(e,n,i){Wt(r,n,t(e,n,i))}),r},r.matches=function(e){return qr(Yt(e,W))},r.matchesProperty=function(e,t){return Fr(e,Yt(t,W))},r.memoize=qi,r.merge=cc,r.mergeWith=fc,r.method=xc,r.methodOf=Ic,r.mixin=ko,r.negate=Fi,r.nthArg=function(e){return e=so(e),Qr(function(t){return Vr(t,e)})},r.omit=uc,r.omitBy=function(e,t){return yo(e,Fi(ri(t)))},r.once=function(e){return Ui(2,e)},r.orderBy=function(e,t,r,n){return null==e?[]:(za(t)||(t=null==t?[]:[t]),r=n?D:r,za(r)||(r=null==r?[]:[r]),Gr(e,t,r))},r.over=Tc,r.overArgs=La,r.overEvery=Bc,r.overSome=Pc,r.partial=ja,r.partialRight=Na,r.partition=Ta,r.pick=hc,r.pickBy=yo,r.property=xo,r.propertyOf=function(e){return function(t){return null==e?D:ar(e,t)}},r.pull=ua,r.pullAll=Bi,r.pullAllBy=function(e,t,r){return e&&e.length&&t&&t.length?Jr(e,t,ri(r,2)):e},r.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Jr(e,t,D,r):e},r.pullAt=ha,r.range=Mc,r.rangeRight=Cc,r.rearg=Da,r.reject=function(e,t){return(za(e)?c:Qt)(e,Fi(ri(t,3)))},r.remove=function(e,t){var r=[];if(!e||!e.length)return r;var n=-1,i=[],o=e.length;for(t=ri(t,3);++n<o;){var s=e[n];t(s,n,e)&&(r.push(s),i.push(n))}return Xr(e,i),r},r.rest=function(e,t){if("function"!=typeof e)throw new No(H);return t=t===D?t:so(t),Qr(e,t)},r.reverse=Pi,r.sampleSize=function(e,t,r){return t=(r?ui(e,t,r):t===D)?1:so(t),(za(e)?function(e,t){return wi(An(e),Gt(t,0,e.length))}:function(e,t){var r=vo(e);return wi(r,Gt(t,0,r.length))})(e,t)},r.set=function(e,t,r){return null==e?e:en(e,t,r)},r.setWith=function(e,t,r,n){return n="function"==typeof n?n:D,null==e?e:en(e,t,r,n)},r.shuffle=function(e){return(za(e)?function(e){return wi(An(e))}:function(e){return wi(vo(e))})(e)},r.slice=function(e,t,r){var n=null==e?0:e.length;return n?(r&&"number"!=typeof r&&ui(e,t,r)?(t=0,r=n):(t=null==t?0:so(t),r=r===D?n:so(r)),tn(e,t,r)):[]},r.sortBy=Ba,r.sortedUniq=function(e){return e&&e.length?on(e):[]},r.sortedUniqBy=function(e,t){return e&&e.length?on(e,ri(t,2)):[]},r.split=function(e,t,r){return r&&"number"!=typeof r&&ui(e,t,r)&&(t=r=D),(r=r===D?ye:r>>>0)?(e=uo(e))&&("string"==typeof t||null!=t&&!Ga(t))&&!(t=an(t))&&M(e)?mn(N(e),0,r):e.split(t,r):[]},r.spread=function(e,t){if("function"!=typeof e)throw new No(H);return t=null==t?0:vs(so(t),0),Qr(function(r){var n=r[t],i=mn(r,0,t);return n&&l(i,n),o(e,this,i)})},r.tail=function(e){var t=null==e?0:e.length;return t?tn(e,1,t):[]},r.take=function(e,t,r){return e&&e.length?(t=r||t===D?1:so(t),tn(e,0,t<0?0:t)):[]},r.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?(t=r||t===D?1:so(t),t=n-t,tn(e,t<0?0:t,n)):[]},r.takeRightWhile=function(e,t){return e&&e.length?hn(e,ri(t,3),!1,!0):[]},r.takeWhile=function(e,t){return e&&e.length?hn(e,ri(t,3)):[]},r.tap=function(e,t){return t(e),e},r.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new No(H);return $i(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),zi(e,t,{leading:n,maxWait:t,trailing:i})},r.thru=Oi,r.toArray=io,r.toPairs=lc,r.toPairsIn=dc,r.toPath=function(e){return za(e)?h(e,_i):no(e)?[e]:An(na(uo(e)))},r.toPlainObject=fo,r.transform=function(e,t,r){var n=za(e),i=n||Fa(e)||Ja(e);if(t=ri(t,4),null==r){var o=e&&e.constructor;r=i?n?new o:[]:$i(e)&&Ji(o)?Us(Qo(e)):{}}return(i?s:tr)(e,function(e,n,i){return t(r,e,n,i)}),r},r.unary=function(e){return Di(e,1)},r.union=la,r.unionBy=da,r.unionWith=pa,r.uniq=function(e){return e&&e.length?cn(e):[]},r.uniqBy=function(e,t){return e&&e.length?cn(e,ri(t,2)):[]},r.uniqWith=function(e,t){return t="function"==typeof t?t:D,e&&e.length?cn(e,D,t):[]},r.unset=function(e,t){return null==e||fn(e,t)},r.unzip=Mi,r.unzipWith=Ci,r.update=function(e,t,r){return null==e?e:un(e,t,yn(r))},r.updateWith=function(e,t,r,n){return n="function"==typeof n?n:D,null==e?e:un(e,t,yn(r),n)},r.values=vo,r.valuesIn=function(e){return null==e?[]:x(e,bo(e))},r.without=ba,r.words=wo,r.wrap=function(e,t){return ja(yn(t),e)},r.xor=ya,r.xorBy=va,r.xorWith=ma,r.zip=ga,r.zipObject=function(e,t){return pn(e||[],t||[],zt)},r.zipObjectDeep=function(e,t){return pn(e||[],t||[],en)},r.zipWith=wa,r.entries=lc,r.entriesIn=dc,r.extend=Qa,r.extendWith=ec,ko(r,r),r.add=Rc,r.attempt=Ec,r.camelCase=pc,r.capitalize=mo,r.ceil=Oc,r.clamp=function(e,t,r){return r===D&&(r=t,t=D),r!==D&&(r=(r=co(r))==r?r:0),t!==D&&(t=(t=co(t))==t?t:0),Gt(co(e),t,r)},r.clone=function(e){return Yt(e,G)},r.cloneDeep=function(e){return Yt(e,W|G)},r.cloneDeepWith=function(e,t){return t="function"==typeof t?t:D,Yt(e,W|G,t)},r.cloneWith=function(e,t){return t="function"==typeof t?t:D,Yt(e,G,t)},r.conformsTo=function(e,t){return null==t||Jt(e,t,po(t))},r.deburr=go,r.defaultTo=function(e,t){return null==e||e!=e?t:e},r.divide=Lc,r.endsWith=function(e,t,r){e=uo(e),t=an(t);var n=e.length,i=r=r===D?n:Gt(so(r),0,n);return(r-=t.length)>=0&&e.slice(r,i)==t},r.eq=Wi,r.escape=function(e){return(e=uo(e))&&it.test(e)?e.replace(rt,Cr):e},r.escapeRegExp=function(e){return(e=uo(e))&&dt.test(e)?e.replace(lt,"\\$&"):e},r.every=function(e,t,r){var n=za(e)?a:function(e,t){var r=!0;return Ks(e,function(e,n,i){return r=!!t(e,n,i)}),r};return r&&ui(e,t,r)&&(t=D),n(e,ri(t,3))},r.find=Sa,r.findIndex=ki,r.findKey=function(e,t){return b(e,ri(t,3),tr)},r.findLast=ka,r.findLastIndex=Ai,r.findLastKey=function(e,t){return b(e,ri(t,3),rr)},r.floor=jc,r.forEach=Li,r.forEachRight=ji,r.forIn=function(e,t){return null==e?e:zs(e,ri(t,3),bo)},r.forInRight=function(e,t){return null==e?e:qs(e,ri(t,3),bo)},r.forOwn=function(e,t){return e&&tr(e,ri(t,3))},r.forOwnRight=function(e,t){return e&&rr(e,ri(t,3))},r.get=ho,r.gt=Ua,r.gte=Ka,r.has=function(e,t){return null!=e&&si(e,t,gr)},r.hasIn=lo,r.head=Ii,r.identity=Eo,r.includes=function(e,t,r,n){e=Vi(e)?e:vo(e),r=r&&!n?so(r):0;var i=e.length;return r<0&&(r=vs(i+r,0)),ro(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&v(e,t,r)>-1},r.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:so(r);return i<0&&(i=vs(n+i,0)),v(e,t,i)},r.inRange=function(e,t,r){return t=oo(t),r===D?(r=t,t=0):r=oo(r),e=co(e),function(e,t,r){return e>=ms(t,r)&&e<vs(t,r)}(e,t,r)},r.invoke=ac,r.isArguments=Ha,r.isArray=za,r.isArrayBuffer=qa,r.isArrayLike=Vi,r.isArrayLikeObject=Gi,r.isBoolean=function(e){return!0===e||!1===e||Qi(e)&&yr(e)==Se},r.isBuffer=Fa,r.isDate=Wa,r.isElement=function(e){return Qi(e)&&1===e.nodeType&&!to(e)},r.isEmpty=function(e){if(null==e)return!0;if(Vi(e)&&(za(e)||"string"==typeof e||"function"==typeof e.splice||Fa(e)||Ja(e)||Ha(e)))return!e.length;var t=$s(e);if(t==Be||t==Le)return!e.size;if(di(e))return!Ur(e).length;for(var r in e)if(qo.call(e,r))return!1;return!0},r.isEqual=function(e,t){return Lr(e,t)},r.isEqualWith=function(e,t,r){var n=(r="function"==typeof r?r:D)?r(e,t):D;return n===D?Lr(e,t,D,r):!!n},r.isError=Yi,r.isFinite=function(e){return"number"==typeof e&&ps(e)},r.isFunction=Ji,r.isInteger=Xi,r.isLength=Zi,r.isMap=Va,r.isMatch=function(e,t){return e===t||jr(e,t,ii(t))},r.isMatchWith=function(e,t,r){return r="function"==typeof r?r:D,jr(e,t,ii(t),r)},r.isNaN=function(e){return eo(e)&&e!=+e},r.isNative=function(e){if(Qs(e))throw new Mo(K);return Nr(e)},r.isNil=function(e){return null==e},r.isNull=function(e){return null===e},r.isNumber=eo,r.isObject=$i,r.isObjectLike=Qi,r.isPlainObject=to,r.isRegExp=Ga,r.isSafeInteger=function(e){return Xi(e)&&e>=-de&&e<=de},r.isSet=Ya,r.isString=ro,r.isSymbol=no,r.isTypedArray=Ja,r.isUndefined=function(e){return e===D},r.isWeakMap=function(e){return Qi(e)&&$s(e)==Ue},r.isWeakSet=function(e){return Qi(e)&&yr(e)==Ke},r.join=function(e,t){return null==e?"":bs.call(e,t)},r.kebabCase=bc,r.last=Ti,r.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n;return r!==D&&(i=(i=so(r))<0?vs(n+i,0):ms(i,n-1)),t==t?function(e,t,r){for(var n=i+1;n--;)if(e[n]===t)return n;return n}(e,t):y(e,m,i,!0)},r.lowerCase=yc,r.lowerFirst=vc,r.lt=Xa,r.lte=Za,r.max=function(e){return e&&e.length?$t(e,Eo,vr):D},r.maxBy=function(e,t){return e&&e.length?$t(e,ri(t,2),vr):D},r.mean=function(e){return g(e,Eo)},r.meanBy=function(e,t){return g(e,ri(t,2))},r.min=function(e){return e&&e.length?$t(e,Eo,Hr):D},r.minBy=function(e,t){return e&&e.length?$t(e,ri(t,2),Hr):D},r.stubArray=Io,r.stubFalse=To,r.stubObject=function(){return{}},r.stubString=function(){return""},r.stubTrue=function(){return!0},r.multiply=Nc,r.nth=function(e,t){return e&&e.length?Vr(e,so(t)):D},r.noConflict=function(){return mr._===this&&(mr._=Yo),this},r.noop=Ao,r.now=Pa,r.pad=function(e,t,r){e=uo(e);var n=(t=so(t))?j(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return Kn(hs(i),r)+e+Kn(us(i),r)},r.padEnd=function(e,t,r){e=uo(e);var n=(t=so(t))?j(e):0;return t&&n<t?e+Kn(t-n,r):e},r.padStart=function(e,t,r){e=uo(e);var n=(t=so(t))?j(e):0;return t&&n<t?Kn(t-n,r)+e:e},r.parseInt=function(e,t,r){return r||null==t?t=0:t&&(t=+t),ws(uo(e).replace(bt,""),t||0)},r.random=function(e,t,r){if(r&&"boolean"!=typeof r&&ui(e,t,r)&&(t=r=D),r===D&&("boolean"==typeof t?(r=t,t=D):"boolean"==typeof e&&(r=e,e=D)),e===D&&t===D?(e=0,t=1):(e=oo(e),t===D?(t=e,e=0):t=oo(t)),e>t){var n=e;e=t,t=n}if(r||e%1||t%1){var i=_s();return ms(e+i*(t-e+pr("1e-"+((i+"").length-1))),t)}return Zr(e,t)},r.reduce=function(e,t,r){var n=za(e)?d:E,i=arguments.length<3;return n(e,ri(t,4),r,i,Ks)},r.reduceRight=function(e,t,r){var n=za(e)?function(e,t,r,n){var i=null==e?0:e.length;for(n&&i&&(r=e[--i]);i--;)r=t(r,e[i],i,e);return r}:E,i=arguments.length<3;return n(e,ri(t,4),r,i,Hs)},r.repeat=function(e,t,r){return t=(r?ui(e,t,r):t===D)?1:so(t),$r(uo(e),t)},r.replace=function(){var e=arguments,t=uo(e[0]);return e.length<3?t:t.replace(e[1],e[2])},r.result=function(e,t,r){var n=-1,i=(t=vn(t,e)).length;for(i||(i=1,e=D);++n<i;){var o=null==e?D:e[_i(t[n])];o===D&&(n=i,o=r),e=Ji(o)?o.call(e):o}return e},r.round=Dc,r.runInContext=e,r.sample=function(e){return(za(e)?Kt:function(e){return Kt(vo(e))})(e)},r.size=function(e){if(null==e)return 0;if(Vi(e))return ro(e)?j(e):e.length;var t=$s(e);return t==Be||t==Le?e.size:Ur(e).length},r.snakeCase=mc,r.some=function(e,t,r){var n=za(e)?p:function(e,t){var r;return Ks(e,function(e,n,i){return!(r=t(e,n,i))}),!!r};return r&&ui(e,t,r)&&(t=D),n(e,ri(t,3))},r.sortedIndex=function(e,t){return rn(e,t)},r.sortedIndexBy=function(e,t,r){return nn(e,t,ri(r,2))},r.sortedIndexOf=function(e,t){var r=null==e?0:e.length;if(r){var n=rn(e,t);if(n<r&&Wi(e[n],t))return n}return-1},r.sortedLastIndex=function(e,t){return rn(e,t,!0)},r.sortedLastIndexBy=function(e,t,r){return nn(e,t,ri(r,2),!0)},r.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var r=rn(e,t,!0)-1;if(Wi(e[r],t))return r}return-1},r.startCase=gc,r.startsWith=function(e,t,r){return e=uo(e),r=null==r?0:Gt(so(r),0,e.length),t=an(t),e.slice(r,r+t.length)==t},r.subtract=Uc,r.sum=function(e){return e&&e.length?S(e,Eo):0},r.sumBy=function(e,t){return e&&e.length?S(e,ri(t,2)):0},r.template=function(e,t,n){var i=r.templateSettings;n&&ui(e,t,n)&&(t=D),e=uo(e),t=ec({},t,i,Gn);var o,s,a=ec({},t.imports,i.imports,Gn),c=po(a),f=x(a,c),u=0,h=t.interpolate||Pt,l="__p += '",d=Lo((t.escape||Pt).source+"|"+h.source+"|"+(h===at?Et:Pt).source+"|"+(t.evaluate||Pt).source+"|$","g"),p="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++ur+"]")+"\n";e.replace(d,function(t,r,n,i,a,c){return n||(n=i),l+=e.slice(u,c).replace(Mt,P),r&&(o=!0,l+="' +\n__e("+r+") +\n'"),a&&(s=!0,l+="';\n"+a+";\n__p += '"),n&&(l+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=c+t.length,t}),l+="';\n";var b=t.variable;b||(l="with (obj) {\n"+l+"\n}\n"),l=(s?l.replace($e,""):l).replace(Qe,"$1").replace(et,"$1;"),l="function("+(b||"obj")+") {\n"+(b?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+l+"return __p\n}";var y=Ec(function(){return Co(c,p+"return "+l).apply(D,f)});if(y.source=l,Yi(y))throw y;return y},r.times=function(e,t){if((e=so(e))<1||e>de)return[];var r=ye,n=ms(e,ye);t=ri(t),e-=ye;for(var i=k(n,t);++r<e;)t(r);return i},r.toFinite=oo,r.toInteger=so,r.toLength=ao,r.toLower=function(e){return uo(e).toLowerCase()},r.toNumber=co,r.toSafeInteger=function(e){return e?Gt(so(e),-de,de):0===e?e:0},r.toString=uo,r.toUpper=function(e){return uo(e).toUpperCase()},r.trim=function(e,t,r){if((e=uo(e))&&(r||t===D))return e.replace(pt,"");if(!e||!(t=an(t)))return e;var n=N(e),i=N(t);return mn(n,T(n,i),B(n,i)+1).join("")},r.trimEnd=function(e,t,r){if((e=uo(e))&&(r||t===D))return e.replace(yt,"");if(!e||!(t=an(t)))return e;var n=N(e);return mn(n,0,B(n,N(t))+1).join("")},r.trimStart=function(e,t,r){if((e=uo(e))&&(r||t===D))return e.replace(bt,"");if(!e||!(t=an(t)))return e;var n=N(e);return mn(n,T(n,N(t))).join("")},r.truncate=function(e,t){var r=se,n=ae;if($i(t)){var i="separator"in t?t.separator:i;r="length"in t?so(t.length):r,n="omission"in t?an(t.omission):n}var o=(e=uo(e)).length;if(M(e)){var s=N(e);o=s.length}if(r>=o)return e;var a=r-j(n);if(a<1)return n;var c=s?mn(s,0,a).join(""):e.slice(0,a);if(i===D)return c+n;if(s&&(a+=c.length-a),Ga(i)){if(e.slice(a).search(i)){var f,u=c;for(i.global||(i=Lo(i.source,uo(St.exec(i))+"g")),i.lastIndex=0;f=i.exec(u);)var h=f.index;c=c.slice(0,h===D?a:h)}}else if(e.indexOf(an(i),a)!=a){var l=c.lastIndexOf(i);l>-1&&(c=c.slice(0,l))}return c+n},r.unescape=function(e){return(e=uo(e))&&nt.test(e)?e.replace(tt,Rr):e},r.uniqueId=function(e){var t=++Fo;return uo(e)+t},r.upperCase=wc,r.upperFirst=_c,r.each=Li,r.eachRight=ji,r.first=Ii,ko(r,function(){var e={};return tr(r,function(t,n){qo.call(r.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),r.VERSION="4.17.4",s(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){r[e].placeholder=r}),s(["drop","take"],function(e,t){Rt.prototype[e]=function(r){r=r===D?1:vs(so(r),0);var n=this.__filtered__&&!t?new Rt(this):this.clone();return n.__filtered__?n.__takeCount__=ms(r,n.__takeCount__):n.__views__.push({size:ms(r,ye),type:e+(n.__dir__<0?"Right":"")}),n},Rt.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),s(["filter","map","takeWhile"],function(e,t){var r=t+1,n=r==ue||3==r;Rt.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ri(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}}),s(["head","last"],function(e,t){var r="take"+(t?"Right":"");Rt.prototype[e]=function(){return this[r](1).value()[0]}}),s(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");Rt.prototype[e]=function(){return this.__filtered__?new Rt(this):this[r](1)}}),Rt.prototype.compact=function(){return this.filter(Eo)},Rt.prototype.find=function(e){return this.filter(e).head()},Rt.prototype.findLast=function(e){return this.reverse().find(e)},Rt.prototype.invokeMap=Qr(function(e,t){return"function"==typeof e?new Rt(this):this.map(function(r){return Sr(r,e,t)})}),Rt.prototype.reject=function(e){return this.filter(Fi(ri(e)))},Rt.prototype.slice=function(e,t){e=so(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Rt(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==D&&(r=(t=so(t))<0?r.dropRight(-t):r.take(t-e)),r)},Rt.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Rt.prototype.toArray=function(){return this.take(ye)},tr(Rt.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=r[i?"take"+("last"==t?"Right":""):t],s=i||/^find/.test(t);o&&(r.prototype[t]=function(){var t=this.__wrapped__,a=i?[1]:arguments,c=t instanceof Rt,f=a[0],u=c||za(t),h=function(e){var t=o.apply(r,l([e],a));return i&&d?t[0]:t};u&&n&&"function"==typeof f&&1!=f.length&&(c=u=!1);var d=this.__chain__,p=!!this.__actions__.length,b=s&&!d,y=c&&!p;if(!s&&u){t=y?t:new Rt(this);var v=e.apply(t,a);return v.__actions__.push({func:Oi,args:[h],thisArg:D}),new Ct(v,d)}return b&&y?e.apply(this,a):(v=this.thru(h),b?i?v.value()[0]:v.value():v)})}),s(["pop","push","shift","sort","splice","unshift"],function(e){var t=Do[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);r.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(za(r)?r:[],e)}return this[n](function(r){return t.apply(za(r)?r:[],e)})}}),tr(Rt.prototype,function(e,t){var n=r[t];if(n){var i=n.name+"";(Ps[i]||(Ps[i]=[])).push({name:t,func:n})}}),Ps[jn(D,Z).name]=[{name:"wrapper",func:D}],Rt.prototype.clone=function(){var e=new Rt(this.__wrapped__);return e.__actions__=An(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=An(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=An(this.__views__),e},Rt.prototype.reverse=function(){if(this.__filtered__){var e=new Rt(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Rt.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=za(e),n=t<0,i=r?e.length:0,o=function(e,t,r){for(var n=-1,i=r.length;++n<i;){var o=r[n],s=o.size;switch(o.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=ms(t,e+s);break;case"takeRight":e=vs(e,t-s)}}return{start:e,end:t}}(0,i,this.__views__),s=o.start,a=o.end,c=a-s,f=n?a:s-1,u=this.__iteratees__,h=u.length,l=0,d=ms(c,this.__takeCount__);if(!r||!n&&i==c&&d==c)return ln(e,this.__actions__);var p=[];e:for(;c--&&l<d;){for(var b=-1,y=e[f+=t];++b<h;){var v=u[b],m=v.iteratee,g=v.type,w=m(y);if(g==he)y=w;else if(!w){if(g==ue)continue e;break e}}p[l++]=y}return p},r.prototype.at=_a,r.prototype.chain=function(){return Ri(this)},r.prototype.commit=function(){return new Ct(this.value(),this.__chain__)},r.prototype.next=function(){this.__values__===D&&(this.__values__=io(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?D:this.__values__[this.__index__++]}},r.prototype.plant=function(e){for(var t,r=this;r instanceof _;){var n=Si(r);n.__index__=0,n.__values__=D,t?i.__wrapped__=n:t=n;var i=n;r=r.__wrapped__}return i.__wrapped__=e,t},r.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Rt){var t=e;return this.__actions__.length&&(t=new Rt(this)),(t=t.reverse()).__actions__.push({func:Oi,args:[Pi],thisArg:D}),new Ct(t,this.__chain__)}return this.thru(Pi)},r.prototype.toJSON=r.prototype.valueOf=r.prototype.value=function(){return ln(this.__wrapped__,this.__actions__)},r.prototype.first=r.prototype.head,is&&(r.prototype[is]=function(){return this}),r}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(mr._=Or,define(function(){return Or})):wr?((wr.exports=Or)._=Or,gr._=Or):mr._=Or}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],252:[function(e,t,r){(function(Buffer){"use strict";function r(){f.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function n(e,t){return e<<t|e>>>32-t}function i(e,t,r,i,o,s,a){return n(e+(t&r|~t&i)+o+s|0,a)+t|0}function o(e,t,r,i,o,s,a){return n(e+(t&i|r&~i)+o+s|0,a)+t|0}function s(e,t,r,i,o,s,a){return n(e+(t^r^i)+o+s|0,a)+t|0}function a(e,t,r,i,o,s,a){return n(e+(r^(t|~i))+o+s|0,a)+t|0}var c=e("inherits"),f=e("hash-base"),u=new Array(16);c(r,f),r.prototype._update=function(){for(var e=u,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,c=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=i(n=i(n=i(n=i(n,c=i(c,f=i(f,r=i(r,n,c,f,e[0],3614090360,7),n,c,e[1],3905402710,12),r,n,e[2],606105819,17),f,r,e[3],3250441966,22),c=i(c,f=i(f,r=i(r,n,c,f,e[4],4118548399,7),n,c,e[5],1200080426,12),r,n,e[6],2821735955,17),f,r,e[7],4249261313,22),c=i(c,f=i(f,r=i(r,n,c,f,e[8],1770035416,7),n,c,e[9],2336552879,12),r,n,e[10],4294925233,17),f,r,e[11],2304563134,22),c=i(c,f=i(f,r=i(r,n,c,f,e[12],1804603682,7),n,c,e[13],4254626195,12),r,n,e[14],2792965006,17),f,r,e[15],1236535329,22),c=o(c,f=o(f,r=o(r,n,c,f,e[1],4129170786,5),n,c,e[6],3225465664,9),r,n,e[11],643717713,14),f,r,e[0],3921069994,20),c=o(c,f=o(f,r=o(r,n,c,f,e[5],3593408605,5),n,c,e[10],38016083,9),r,n,e[15],3634488961,14),f,r,e[4],3889429448,20),c=o(c,f=o(f,r=o(r,n,c,f,e[9],568446438,5),n,c,e[14],3275163606,9),r,n,e[3],4107603335,14),f,r,e[8],1163531501,20),c=o(c,f=o(f,r=o(r,n,c,f,e[13],2850285829,5),n,c,e[2],4243563512,9),r,n,e[7],1735328473,14),f,r,e[12],2368359562,20),c=s(c,f=s(f,r=s(r,n,c,f,e[5],4294588738,4),n,c,e[8],2272392833,11),r,n,e[11],1839030562,16),f,r,e[14],4259657740,23),c=s(c,f=s(f,r=s(r,n,c,f,e[1],2763975236,4),n,c,e[4],1272893353,11),r,n,e[7],4139469664,16),f,r,e[10],3200236656,23),c=s(c,f=s(f,r=s(r,n,c,f,e[13],681279174,4),n,c,e[0],3936430074,11),r,n,e[3],3572445317,16),f,r,e[6],76029189,23),c=s(c,f=s(f,r=s(r,n,c,f,e[9],3654602809,4),n,c,e[12],3873151461,11),r,n,e[15],530742520,16),f,r,e[2],3299628645,23),c=a(c,f=a(f,r=a(r,n,c,f,e[0],4096336452,6),n,c,e[7],1126891415,10),r,n,e[14],2878612391,15),f,r,e[5],4237533241,21),c=a(c,f=a(f,r=a(r,n,c,f,e[12],1700485571,6),n,c,e[3],2399980690,10),r,n,e[10],4293915773,15),f,r,e[1],2240044497,21),c=a(c,f=a(f,r=a(r,n,c,f,e[8],1873313359,6),n,c,e[15],4264355552,10),r,n,e[6],2734768916,15),f,r,e[13],1309151649,21),c=a(c,f=a(f,r=a(r,n,c,f,e[4],4149444226,6),n,c,e[11],3174756917,10),r,n,e[2],718787259,15),f,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+c|0,this._d=this._d+f|0},r.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new Buffer(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},t.exports=r}).call(this,e("buffer").Buffer)},{buffer:105,"hash-base":253,inherits:248}],253:[function(e,t,r){"use strict";function n(e){i.call(this),this._block=Buffer.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}var Buffer=e("safe-buffer").Buffer,i=e("stream").Transform;e("inherits")(n,i),n.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},n.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},n.prototype.update=function(e,t){if(function(e,t){if(!Buffer.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");Buffer.isBuffer(e)||(e=Buffer.from(e,t));for(var r=this._block,n=0;this._blockOffset+e.length-n>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)r[i++]=e[n++];this._update(),this._blockOffset=0}for(;n<e.length;)r[this._blockOffset++]=e[n++];for(var o=0,s=8*e.length;s>0;++o)this._length[o]+=s,(s=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*s);return this},n.prototype._update=function(){throw new Error("_update is not implemented")},n.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},n.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=n},{inherits:248,"safe-buffer":313,stream:346}],254:[function(e,t,r){(function(Buffer){t.exports=function(e,t){if(!Array.isArray(e))throw TypeError("Expected values Array");if("function"!=typeof t)throw TypeError("Expected digest Function");for(var r=e.length,n=e.concat();r>1;){for(var i=0,o=0;o<r;o+=2,++i){var s=n[o],a=o+1===r?s:n[o+1],c=Buffer.concat([s,a]);n[i]=t(c)}r=i}return n[0]}}).call(this,e("buffer").Buffer)},{buffer:105}],255:[function(e,t,r){function n(e){this.rand=e||new o.Rand}var i=e("bn.js"),o=e("brorand");t.exports=n,n.create=function(e){return new n(e)},n.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var n=new i(this.rand.generate(r))}while(n.cmp(e)>=0);return n},n.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},n.prototype.test=function(e,t,r){var n=e.bitLength(),o=i.mont(e),s=new i(1).toRed(o);t||(t=Math.max(1,n/48|0));for(var a=e.subn(1),c=0;!a.testn(c);c++);for(var f=e.shrn(c),u=a.toRed(o);t>0;t--){var h=this._randrange(new i(2),a);r&&r(h);var l=h.toRed(o).redPow(f);if(0!==l.cmp(s)&&0!==l.cmp(u)){for(var d=1;d<c;d++){if(0===(l=l.redSqr()).cmp(s))return!1;if(0===l.cmp(u))break}if(d===c)return!1}}return!0},n.prototype.getDivisor=function(e,t){var r=e.bitLength(),n=i.mont(e),o=new i(1).toRed(n);t||(t=Math.max(1,r/48|0));for(var s=e.subn(1),a=0;!s.testn(a);a++);for(var c=e.shrn(a),f=s.toRed(n);t>0;t--){var u=this._randrange(new i(2),s),h=e.gcd(u);if(0!==h.cmpn(1))return h;var l=u.toRed(n).redPow(c);if(0!==l.cmp(o)&&0!==l.cmp(f)){for(var d=1;d<a;d++){if(0===(l=l.redSqr()).cmp(o))return l.fromRed().subn(1).gcd(e);if(0===l.cmp(f))break}if(d===a)return(l=l.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},{"bn.js":256,brorand:76}],256:[function(e,t,r){arguments[4][113][0].apply(r,arguments)},{buffer:77,dup:113}],257:[function(e,t,r){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}t.exports=n,n.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},{}],258:[function(e,t,r){"use strict";function n(e){return 1===e.length?"0"+e:e}function i(e){for(var t="",r=0;r<e.length;r++)t+=n(e[r].toString(16));return t}var o=r;o.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!=typeof e){for(n=0;n<e.length;n++)r[n]=0|e[n];return r}if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16));else for(var n=0;n<e.length;n++){var i=e.charCodeAt(n),o=i>>8,s=255&i;o?r.push(o,s):r.push(s)}return r},o.zero2=n,o.toHex=i,o.encode=function(e,t){return"hex"===t?i(e):e}},{}],259:[function(e,t,r){r.pbkdf2=e("./lib/async"),r.pbkdf2Sync=e("./lib/sync")},{"./lib/async":260,"./lib/sync":263}],260:[function(e,t,r){(function(r,n){function i(e,t,r,n,i){return f.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return f.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)}).then(function(e){return Buffer.from(e)})}var o,s=e("./precondition"),a=e("./default-encoding"),c=e("./sync"),Buffer=e("safe-buffer").Buffer,f=n.crypto&&n.crypto.subtle,u={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];t.exports=function(e,t,l,d,p,b){if(Buffer.isBuffer(e)||(e=Buffer.from(e,a)),Buffer.isBuffer(t)||(t=Buffer.from(t,a)),s(l,d),"function"==typeof p&&(b=p,p=void 0),"function"!=typeof b)throw new Error("No callback provided to pbkdf2");var y=u[(p=p||"sha1").toLowerCase()];if(!y||"function"!=typeof n.Promise)return r.nextTick(function(){var r;try{r=c(e,t,l,d,p)}catch(e){return b(e)}b(null,r)});!function(e,t){e.then(function(e){r.nextTick(function(){t(null,e)})},function(e){r.nextTick(function(){t(e)})})}(function(e){if(n.process&&!n.process.browser)return Promise.resolve(!1);if(!f||!f.importKey||!f.deriveBits)return Promise.resolve(!1);if(void 0!==h[e])return h[e];var t=i(o=o||Buffer.alloc(8),o,10,128,e).then(function(){return!0}).catch(function(){return!1});return h[e]=t,t}(y).then(function(r){return r?i(e,t,l,d,y):c(e,t,l,d,p)}),b)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./default-encoding":261,"./precondition":262,"./sync":263,_process:265,"safe-buffer":313}],261:[function(e,t,r){(function(e){var r;if(e.browser)r="utf-8";else{r=parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}t.exports=r}).call(this,e("_process"))},{_process:265}],262:[function(e,t,r){var n=Math.pow(2,30)-1;t.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>n||t!=t)throw new TypeError("Bad key length")}},{}],263:[function(e,t,r){function n(e,t,r){var n=function(e){return"rmd160"===e||"ripemd160"===e?o:"md5"===e?i:function(t){return s(e).update(t).digest()}}(e),a="sha512"===e||"sha384"===e?128:64;t.length>a?t=n(t):t.length<a&&(t=Buffer.concat([t,f],a));for(var c=Buffer.allocUnsafe(a+u[e]),h=Buffer.allocUnsafe(a+u[e]),l=0;l<a;l++)c[l]=54^t[l],h[l]=92^t[l];var d=Buffer.allocUnsafe(a+r+4);c.copy(d,0,0,a),this.ipad1=d,this.ipad2=c,this.opad=h,this.alg=e,this.blocksize=a,this.hash=n,this.size=u[e]}var i=e("create-hash/md5"),o=e("ripemd160"),s=e("sha.js"),a=e("./precondition"),c=e("./default-encoding"),Buffer=e("safe-buffer").Buffer,f=Buffer.alloc(128),u={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};n.prototype.run=function(e,t){e.copy(t,this.blocksize);return this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(e,t,r,i,o){Buffer.isBuffer(e)||(e=Buffer.from(e,c)),Buffer.isBuffer(t)||(t=Buffer.from(t,c)),a(r,i);var s=new n(o=o||"sha1",e,t.length),f=Buffer.allocUnsafe(i),h=Buffer.allocUnsafe(t.length+4);t.copy(h,0,0,t.length);for(var l=0,d=u[o],p=Math.ceil(i/d),b=1;b<=p;b++){h.writeUInt32BE(b,t.length);for(var y=s.run(h,s.ipad1),v=y,m=1;m<r;m++){v=s.run(v,s.ipad2);for(var g=0;g<d;g++)y[g]^=v[g]}y.copy(f,l),l+=d}return f}},{"./default-encoding":261,"./precondition":262,"create-hash/md5":132,ripemd160:312,"safe-buffer":313,"sha.js":338}],264:[function(e,t,r){(function(e){"use strict";!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports=function(t,r,n,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,r)});case 3:return e.nextTick(function(){t.call(null,r,n)});case 4:return e.nextTick(function(){t.call(null,r,n,i)});default:for(o=new Array(a-1),s=0;s<o.length;)o[s++]=arguments[s];return e.nextTick(function(){t.apply(null,o)})}}:t.exports=e.nextTick}).call(this,e("_process"))},{_process:265}],265:[function(e,t,r){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function s(){b&&d&&(b=!1,d.length?p=d.concat(p):y=-1,p.length&&a())}function a(){if(!b){var e=o(s);b=!0;for(var t=p.length;t;){for(d=p,p=[];++y<t;)d&&d[y].run();y=-1,t=p.length}d=null,b=!1,function(e){if(h===clearTimeout)return clearTimeout(e);if((h===i||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(e);try{h(e)}catch(t){try{return h.call(null,e)}catch(t){return h.call(this,e)}}}(e)}}function c(e,t){this.fun=e,this.array=t}function f(){}var u,h,l=t.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(e){u=n}try{h="function"==typeof clearTimeout?clearTimeout:i}catch(e){h=i}}();var d,p=[],b=!1,y=-1;l.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];p.push(new c(e,t)),1!==p.length||b||o(a)},c.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(e){return[]},l.binding=function(e){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(e){throw new Error("process.chdir is not supported")},l.umask=function(){return 0}},{}],266:[function(e,t,r){r.publicEncrypt=e("./publicEncrypt"),r.privateDecrypt=e("./privateDecrypt"),r.privateEncrypt=function(e,t){return r.publicEncrypt(e,t,!0)},r.publicDecrypt=function(e,t){return r.privateDecrypt(e,t,!0)}},{"./privateDecrypt":289,"./publicEncrypt":290}],267:[function(e,t,r){(function(Buffer){var r=e("create-hash");t.exports=function(e,t){for(var n,i=new Buffer(""),o=0;i.length<t;)n=function(e){var t=new Buffer(4);return t.writeUInt32BE(e,0),t}(o++),i=Buffer.concat([i,r("sha1").update(e).update(n).digest()]);return i.slice(0,t)}}).call(this,e("buffer").Buffer)},{buffer:105,"create-hash":130}],268:[function(e,t,r){arguments[4][136][0].apply(r,arguments)},{"./asn1/api":269,"./asn1/base":271,"./asn1/constants":275,"./asn1/decoders":277,"./asn1/encoders":280,"bn.js":282,dup:136}],269:[function(e,t,r){arguments[4][137][0].apply(r,arguments)},{"../asn1":268,dup:137,inherits:248,vm:364}],270:[function(e,t,r){arguments[4][138][0].apply(r,arguments)},{"../base":271,buffer:105,dup:138,inherits:248}],271:[function(e,t,r){arguments[4][139][0].apply(r,arguments)},{"./buffer":270,"./node":272,"./reporter":273,dup:139}],272:[function(e,t,r){arguments[4][140][0].apply(r,arguments)},{"../base":271,dup:140,"minimalistic-assert":257}],273:[function(e,t,r){arguments[4][141][0].apply(r,arguments)},{dup:141,inherits:248}],274:[function(e,t,r){arguments[4][142][0].apply(r,arguments)},{"../constants":275,dup:142}],275:[function(e,t,r){arguments[4][143][0].apply(r,arguments)},{"./der":274,dup:143}],276:[function(e,t,r){arguments[4][144][0].apply(r,arguments)},{"../../asn1":268,dup:144,inherits:248}],277:[function(e,t,r){arguments[4][145][0].apply(r,arguments)},{"./der":276,"./pem":278,dup:145}],278:[function(e,t,r){arguments[4][146][0].apply(r,arguments)},{"./der":276,buffer:105,dup:146,inherits:248}],279:[function(e,t,r){arguments[4][147][0].apply(r,arguments)},{"../../asn1":268,buffer:105,dup:147,inherits:248}],280:[function(e,t,r){arguments[4][148][0].apply(r,arguments)},{"./der":279,"./pem":281,dup:148}],281:[function(e,t,r){arguments[4][149][0].apply(r,arguments)},{"./der":279,dup:149,inherits:248}],282:[function(e,t,r){arguments[4][113][0].apply(r,arguments)},{buffer:77,dup:113}],283:[function(e,t,r){arguments[4][151][0].apply(r,arguments)},{"bn.js":282,buffer:105,dup:151,randombytes:299}],284:[function(e,t,r){arguments[4][174][0].apply(r,arguments)},{dup:174}],285:[function(e,t,r){arguments[4][175][0].apply(r,arguments)},{"./certificate":286,"asn1.js":268,dup:175}],286:[function(e,t,r){arguments[4][176][0].apply(r,arguments)},{"asn1.js":268,dup:176}],287:[function(e,t,r){arguments[4][177][0].apply(r,arguments)},{"browserify-aes":80,buffer:105,dup:177,evp_bytestokey:231}],288:[function(e,t,r){arguments[4][178][0].apply(r,arguments)},{"./aesid.json":284,"./asn1":285,"./fixProc":287,"browserify-aes":80,buffer:105,dup:178,pbkdf2:259}],289:[function(e,t,r){(function(Buffer){function r(e,t){e.modulus;var r=e.modulus.byteLength(),n=(t.length,c("sha1").update(new Buffer("")).digest()),s=n.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,s+1),f=t.slice(s+1),u=o(a,i(f,s)),h=o(f,i(u,r-s-1));if(function(e,t){e=new Buffer(e),t=new Buffer(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var i=-1;for(;++i<n;)r+=e[i]^t[i];return r}(n,h.slice(0,s)))throw new Error("decryption error");for(var l=s;0===h[l];)l++;if(1!==h[l++])throw new Error("decryption error");return h.slice(l)}var n=e("parse-asn1"),i=e("./mgf"),o=e("./xor"),s=e("bn.js"),a=e("browserify-rsa"),c=e("create-hash"),f=e("./withPublic");t.exports=function(e,t,i){var o;o=e.padding?e.padding:i?1:4;var c=n(e),u=c.modulus.byteLength();if(t.length>u||new s(t).cmp(c.modulus)>=0)throw new Error("decryption error");var h;h=i?f(new s(t),c):a(t,c);var l=new Buffer(u-h.length);if(l.fill(0),h=Buffer.concat([l,h],u),4===o)return r(c,h);if(1===o)return function(e,t,r){for(var n=t.slice(0,2),i=2,o=0;0!==t[i++];)if(i>=t.length){o++;break}var s=t.slice(2,i-1);if(t.slice(i-1,i),("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++,s.length<8&&o++,o)throw new Error("decryption error");return t.slice(i)}(0,h,i);if(3===o)return h;throw new Error("unknown padding")}}).call(this,e("buffer").Buffer)},{"./mgf":267,"./withPublic":291,"./xor":292,"bn.js":282,"browserify-rsa":283,buffer:105,"create-hash":130,"parse-asn1":288}],290:[function(e,t,r){(function(Buffer){function r(e,t,r){var n=t.length,o=e.modulus.byteLength();if(n>o-11)throw new Error("message too long");var s;return r?(s=new Buffer(o-n-3)).fill(255):s=function(e,t){var r,n=new Buffer(e),o=0,s=i(2*e),a=0;for(;o<e;)a===s.length&&(s=i(2*e),a=0),(r=s[a++])&&(n[o++]=r);return n}(o-n-3),new c(Buffer.concat([new Buffer([0,r?1:2]),s,new Buffer([0]),t],o))}var n=e("parse-asn1"),i=e("randombytes"),o=e("create-hash"),s=e("./mgf"),a=e("./xor"),c=e("bn.js"),f=e("./withPublic"),u=e("browserify-rsa");t.exports=function(e,t,h){var l;l=e.padding?e.padding:h?1:4;var d,p=n(e);if(4===l)d=function(e,t){var r=e.modulus.byteLength(),n=t.length,f=o("sha1").update(new Buffer("")).digest(),u=f.length,h=2*u;if(n>r-h-2)throw new Error("message too long");var l=new Buffer(r-n-h-2);l.fill(0);var d=r-u-1,p=i(u),b=a(Buffer.concat([f,l,new Buffer([1]),t],d),s(p,d)),y=a(p,s(b,u));return new c(Buffer.concat([new Buffer([0]),y,b],r))}(p,t);else if(1===l)d=r(p,t,h);else{if(3!==l)throw new Error("unknown padding");if((d=new c(t)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return h?u(d,p):f(d,p)}}).call(this,e("buffer").Buffer)},{"./mgf":267,"./withPublic":291,"./xor":292,"bn.js":282,"browserify-rsa":283,buffer:105,"create-hash":130,"parse-asn1":288,randombytes:299}],291:[function(e,t,r){(function(Buffer){var r=e("bn.js");t.exports=function(e,t){return new Buffer(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}}).call(this,e("buffer").Buffer)},{"bn.js":282,buffer:105}],292:[function(e,t,r){t.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}},{}],293:[function(e,t,r){(function(e){!function(n){function i(e){throw new RangeError(M[e])}function o(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function s(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]);return n+o((e=e.replace(P,".")).split("."),t).join(".")}function a(e){for(var t,r,n=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function c(e){return o(e,function(e){var t="";return e>65535&&(t+=O((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=O(e)}).join("")}function f(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function u(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function h(e,t,r){var n=0;for(e=r?R(e/k):e>>1,e+=R(e/t);e>C*E>>1;n+=w)e=R(e/C);return R(n+(C+1)*e/(e+S))}function l(e){var t,r,n,o,s,a,u,l,d,p,b=[],y=e.length,v=0,m=x,S=A;for((r=e.lastIndexOf(I))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&i("not-basic"),b.push(e.charCodeAt(n));for(o=r>0?r+1:0;o<y;){for(s=v,a=1,u=w;o>=y&&i("invalid-input"),((l=f(e.charCodeAt(o++)))>=w||l>R((g-v)/a))&&i("overflow"),v+=l*a,d=u<=S?_:u>=S+E?E:u-S,!(l<d);u+=w)a>R(g/(p=w-d))&&i("overflow"),a*=p;S=h(v-s,t=b.length+1,0==s),R(v/t)>g-m&&i("overflow"),m+=R(v/t),v%=t,b.splice(v++,0,m)}return c(b)}function d(e){var t,r,n,o,s,c,f,l,d,p,b,y,v,m,S,k=[];for(y=(e=a(e)).length,t=x,r=0,s=A,c=0;c<y;++c)(b=e[c])<128&&k.push(O(b));for(n=o=k.length,o&&k.push(I);n<y;){for(f=g,c=0;c<y;++c)(b=e[c])>=t&&b<f&&(f=b);for(f-t>R((g-r)/(v=n+1))&&i("overflow"),r+=(f-t)*v,t=f,c=0;c<y;++c)if((b=e[c])<t&&++r>g&&i("overflow"),b==t){for(l=r,d=w;p=d<=s?_:d>=s+E?E:d-s,!(l<p);d+=w)S=l-p,m=w-p,k.push(O(u(p+S%m,0))),l=R(S/m);k.push(O(u(l,0))),s=h(r,v,n==o),r=0,++n}++r,++t}return k.join("")}var p="object"==typeof r&&r&&!r.nodeType&&r,b="object"==typeof t&&t&&!t.nodeType&&t,y="object"==typeof e&&e;y.global!==y&&y.window!==y&&y.self!==y||(n=y);var v,m,g=2147483647,w=36,_=1,E=26,S=38,k=700,A=72,x=128,I="-",T=/^xn--/,B=/[^\x20-\x7E]/,P=/[\x2E\u3002\uFF0E\uFF61]/g,M={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C=w-_,R=Math.floor,O=String.fromCharCode;if(v={version:"1.4.1",ucs2:{decode:a,encode:c},decode:l,encode:d,toASCII:function(e){return s(e,function(e){return B.test(e)?"xn--"+d(e):e})},toUnicode:function(e){return s(e,function(e){return T.test(e)?l(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return v});else if(p&&b)if(t.exports==p)b.exports=v;else for(m in v)v.hasOwnProperty(m)&&(p[m]=v[m]);else n.punycode=v}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],294:[function(e,t,r){function n(e){return e<i.OP_PUSHDATA1?1:e<=255?2:e<=65535?3:5}var i=e("bitcoin-ops");t.exports={encodingLength:n,encode:function(e,t,r){var o=n(t);return 1===o?e.writeUInt8(t,r):2===o?(e.writeUInt8(i.OP_PUSHDATA1,r),e.writeUInt8(t,r+1)):3===o?(e.writeUInt8(i.OP_PUSHDATA2,r),e.writeUInt16LE(t,r+1)):(e.writeUInt8(i.OP_PUSHDATA4,r),e.writeUInt32LE(t,r+1)),o},decode:function(e,t){var r,n,o=e.readUInt8(t);if(o<i.OP_PUSHDATA1)r=o,n=1;else if(o===i.OP_PUSHDATA1){if(t+2>e.length)return null;r=e.readUInt8(t+1),n=2}else if(o===i.OP_PUSHDATA2){if(t+3>e.length)return null;r=e.readUInt16LE(t+1),n=3}else{if(t+5>e.length)return null;if(o!==i.OP_PUSHDATA4)throw new Error("Unexpected opcode");r=e.readUInt32LE(t+1),n=5}return{opcode:o,number:r,size:n}}}},{"bitcoin-ops":33}],295:[function(e,t,r){(function(e){!function(e){if("function"==typeof bootstrap)bootstrap("promise",e);else if("object"==typeof r)t.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeQ=e}else Q=e()}(function(){"use strict";function t(e){return function(){return T.apply(e,arguments)}}function r(e){return e===Object(e)}function n(e,t){if(E&&t.stack&&"object"==typeof e&&null!==e&&e.stack&&-1===e.stack.indexOf(N)){for(var r=[],n=t;n;n=n.source)n.stack&&r.unshift(n.stack);r.unshift(e.stack);var o=r.join("\n"+N+"\n");e.stack=function(e){for(var t=e.split("\n"),r=[],n=0;n<t.length;++n){var o=t[n];(function(e){var t=i(e);if(!t)return!1;var r=t[0],n=t[1];return r===S&&n>=A&&n<=H})(o)||function(e){return-1!==e.indexOf("(module.js:")||-1!==e.indexOf("(node.js:")}(o)||!o||r.push(o)}return r.join("\n")}(o)}}function i(e){var t=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(e);if(t)return[t[1],Number(t[2])];var r=/at ([^ ]+):(\d+):(?:\d+)$/.exec(e);if(r)return[r[1],Number(r[2])];var n=/.*@(.+):(\d+)$/.exec(e);return n?[n[1],Number(n[2])]:void 0}function o(){if(E)try{throw new Error}catch(r){var e=r.stack.split("\n"),t=i(e[0].indexOf("@")>0?e[1]:e[2]);if(!t)return;return S=t[0],t[1]}}function s(e){return d(e)?e:p(e)?function(e){var t=a();return I(function(){try{e.then(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}}),t.promise}(e):v(e)}function a(){function e(e){t=e,o.source=e,P(r,function(t,r){I(function(){e.promiseDispatch.apply(e,r)})},void 0),r=void 0,n=void 0}var t,r=[],n=[],i=R(a.prototype),o=R(u.prototype);if(o.promiseDispatch=function(e,i,o){var s=B(arguments);r?(r.push(s),"when"===i&&o[1]&&n.push(o[1])):I(function(){t.promiseDispatch.apply(t,s)})},o.valueOf=function(){if(r)return o;var e=l(t);return d(e)&&(t=e),e},o.inspect=function(){return t?t.inspect():{state:"pending"}},s.longStackSupport&&E)try{throw new Error}catch(e){o.stack=e.stack.substring(e.stack.indexOf("\n")+1)}return i.promise=o,i.resolve=function(r){t||e(s(r))},i.fulfill=function(r){t||e(v(r))},i.reject=function(r){t||e(y(r))},i.notify=function(e){t||P(n,function(t,r){I(function(){r(e)})},void 0)},i}function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function.");var t=a();try{e(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}return t.promise}function f(e){return c(function(t,r){for(var n=0,i=e.length;n<i;n++)s(e[n]).then(t,r)})}function u(e,t,r){void 0===t&&(t=function(e){return y(new Error("Promise does not support operation: "+e))}),void 0===r&&(r=function(){return{state:"unknown"}});var n=R(u.prototype);if(n.promiseDispatch=function(r,i,o){var s;try{s=e[i]?e[i].apply(n,o):t.call(n,i,o)}catch(e){s=y(e)}r&&r(s)},n.inspect=r,r){var i=r();"rejected"===i.state&&(n.exception=i.reason),n.valueOf=function(){var e=r();return"pending"===e.state||"rejected"===e.state?n:e.value}}return n}function h(e,t,r,n){return s(e).then(t,r,n)}function l(e){if(d(e)){var t=e.inspect();if("fulfilled"===t.state)return t.value}return e}function d(e){return r(e)&&"function"==typeof e.promiseDispatch&&"function"==typeof e.inspect}function p(e){return r(e)&&"function"==typeof e.then}function b(){D.length=0,U.length=0,K||(K=!0)}function y(e){var t=u({when:function(t){return t&&function(e){if(K){var t=M(U,e);-1!==t&&(U.splice(t,1),D.splice(t,1))}}(this),t?t(e):this}},function(){return this},function(){return{state:"rejected",reason:e}});return function(e,t){K&&(U.push(e),t&&void 0!==t.stack?D.push(t.stack):D.push("(no stack) "+t))}(t,e),t}function v(e){return u({when:function(){return e},get:function(t){return e[t]},set:function(t,r){e[t]=r},delete:function(t){delete e[t]},post:function(t,r){return null===t||void 0===t?e.apply(void 0,r):e[t].apply(e,r)},apply:function(t,r){return e.apply(t,r)},keys:function(){return L(e)}},void 0,function(){return{state:"fulfilled",value:e}})}function m(e,t,r){return s(e).spread(t,r)}function g(e,t,r){return s(e).dispatch(t,r)}function w(e){return h(e,function(e){var t=0,r=a();return P(e,function(n,i,o){var s;d(i)&&"fulfilled"===(s=i.inspect()).state?e[o]=s.value:(++t,h(i,function(n){e[o]=n,0==--t&&r.resolve(e)},r.reject,function(e){r.notify({index:o,value:e})}))},void 0),0===t&&r.resolve(e),r.promise})}function _(e){return h(e,function(e){return e=C(e,s),h(w(C(e,function(e){return h(e,x,x)})),function(){return e})})}var E=!1;try{throw new Error}catch(e){E=!!e.stack}var S,k,A=o(),x=function(){},I=function(){function t(){for(;r.next;){var e=(r=r.next).task;r.task=void 0;var n=r.domain;n&&(r.domain=void 0,n.enter());try{e()}catch(e){if(s)throw n&&n.exit(),setTimeout(t,0),n&&n.enter(),e;setTimeout(function(){throw e},0)}n&&n.exit()}i=!1}var r={task:void 0,next:null},n=r,i=!1,o=void 0,s=!1;if(I=function(t){n=n.next={task:t,domain:s&&e.domain,next:null},i||(i=!0,o())},void 0!==e&&e.nextTick)s=!0,o=function(){e.nextTick(t)};else if("function"==typeof setImmediate)o="undefined"!=typeof window?setImmediate.bind(window,t):function(){setImmediate(t)};else if("undefined"!=typeof MessageChannel){var a=new MessageChannel;a.port1.onmessage=function(){o=c,a.port1.onmessage=t,t()};var c=function(){a.port2.postMessage(0)};o=function(){setTimeout(t,0),c()}}else o=function(){setTimeout(t,0)};return I}(),T=Function.call,B=t(Array.prototype.slice),P=t(Array.prototype.reduce||function(e,t){var r=0,n=this.length;if(1===arguments.length)for(;;){if(r in this){t=this[r++];break}if(++r>=n)throw new TypeError}for(;r<n;r++)r in this&&(t=e(t,this[r],r));return t}),M=t(Array.prototype.indexOf||function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return t;return-1}),C=t(Array.prototype.map||function(e,t){var r=this,n=[];return P(r,function(i,o,s){n.push(e.call(t,o,s,r))},void 0),n}),R=Object.create||function(e){function t(){}return t.prototype=e,new t},O=t(Object.prototype.hasOwnProperty),L=Object.keys||function(e){var t=[];for(var r in e)O(e,r)&&t.push(r);return t},j=t(Object.prototype.toString);k="undefined"!=typeof ReturnValue?ReturnValue:function(e){this.value=e};var N="From previous event:";s.resolve=s,s.nextTick=I,s.longStackSupport=!1,s.defer=a,a.prototype.makeNodeResolver=function(){var e=this;return function(t,r){t?e.reject(t):arguments.length>2?e.resolve(B(arguments,1)):e.resolve(r)}},s.Promise=c,s.promise=c,c.race=f,c.all=w,c.reject=y,c.resolve=s,s.passByCopy=function(e){return e},u.prototype.passByCopy=function(){return this},s.join=function(e,t){return s(e).join(t)},u.prototype.join=function(e){return s([this,e]).spread(function(e,t){if(e===t)return e;throw new Error("Can't join: not the same: "+e+" "+t)})},s.race=f,u.prototype.race=function(){return this.then(s.race)},s.makePromise=u,u.prototype.toString=function(){return"[object Promise]"},u.prototype.then=function(e,t,r){var i=this,o=a(),c=!1;return I(function(){i.promiseDispatch(function(t){c||(c=!0,o.resolve(function(t){try{return"function"==typeof e?e(t):t}catch(e){return y(e)}}(t)))},"when",[function(e){c||(c=!0,o.resolve(function(e){if("function"==typeof t){n(e,i);try{return t(e)}catch(e){return y(e)}}return y(e)}(e)))}])}),i.promiseDispatch(void 0,"when",[void 0,function(e){var t,n=!1;try{t=function(e){return"function"==typeof r?r(e):e}(e)}catch(e){if(n=!0,!s.onerror)throw e;s.onerror(e)}n||o.notify(t)}]),o.promise},s.when=h,u.prototype.thenResolve=function(e){return this.then(function(){return e})},s.thenResolve=function(e,t){return s(e).thenResolve(t)},u.prototype.thenReject=function(e){return this.then(function(){throw e})},s.thenReject=function(e,t){return s(e).thenReject(t)},s.nearer=l,s.isPromise=d,s.isPromiseAlike=p,s.isPending=function(e){return d(e)&&"pending"===e.inspect().state},u.prototype.isPending=function(){return"pending"===this.inspect().state},s.isFulfilled=function(e){return!d(e)||"fulfilled"===e.inspect().state},u.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},s.isRejected=function(e){return d(e)&&"rejected"===e.inspect().state},u.prototype.isRejected=function(){return"rejected"===this.inspect().state};var D=[],U=[],K=!0;s.resetUnhandledRejections=b,s.getUnhandledReasons=function(){return D.slice()},s.stopUnhandledRejectionTracking=function(){b(),K=!1},b(),s.reject=y,s.fulfill=v,s.master=function(e){return u({isDef:function(){}},function(t,r){return g(e,t,r)},function(){return s(e).inspect()})},s.spread=m,u.prototype.spread=function(e,t){return this.all().then(function(t){return e.apply(void 0,t)},t)},s.async=function(e){return function(){function t(e,t){var o;if("undefined"==typeof StopIteration){try{o=r[e](t)}catch(e){return y(e)}return o.done?o.value:h(o.value,n,i)}try{o=r[e](t)}catch(e){return function(e){return"[object StopIteration]"===j(e)||e instanceof k}(e)?e.value:y(e)}return h(o,n,i)}var r=e.apply(this,arguments),n=t.bind(t,"next"),i=t.bind(t,"throw");return n()}},s.spawn=function(e){s.done(s.async(e)())},s.return=function(e){throw new k(e)},s.promised=function(e){return function(){return m([this,w(arguments)],function(t,r){return e.apply(t,r)})}},s.dispatch=g,u.prototype.dispatch=function(e,t){var r=this,n=a();return I(function(){r.promiseDispatch(n.resolve,e,t)}),n.promise},s.get=function(e,t){return s(e).dispatch("get",[t])},u.prototype.get=function(e){return this.dispatch("get",[e])},s.set=function(e,t,r){return s(e).dispatch("set",[t,r])},u.prototype.set=function(e,t){return this.dispatch("set",[e,t])},s.del=s.delete=function(e,t){return s(e).dispatch("delete",[t])},u.prototype.del=u.prototype.delete=function(e){return this.dispatch("delete",[e])},s.mapply=s.post=function(e,t,r){return s(e).dispatch("post",[t,r])},u.prototype.mapply=u.prototype.post=function(e,t){return this.dispatch("post",[e,t])},s.send=s.mcall=s.invoke=function(e,t){return s(e).dispatch("post",[t,B(arguments,2)])},u.prototype.send=u.prototype.mcall=u.prototype.invoke=function(e){return this.dispatch("post",[e,B(arguments,1)])},s.fapply=function(e,t){return s(e).dispatch("apply",[void 0,t])},u.prototype.fapply=function(e){return this.dispatch("apply",[void 0,e])},s.try=s.fcall=function(e){return s(e).dispatch("apply",[void 0,B(arguments,1)])},u.prototype.fcall=function(){return this.dispatch("apply",[void 0,B(arguments)])},s.fbind=function(e){var t=s(e),r=B(arguments,1);return function(){return t.dispatch("apply",[this,r.concat(B(arguments))])}},u.prototype.fbind=function(){var e=this,t=B(arguments);return function(){return e.dispatch("apply",[this,t.concat(B(arguments))])}},s.keys=function(e){return s(e).dispatch("keys",[])},u.prototype.keys=function(){return this.dispatch("keys",[])},s.all=w,u.prototype.all=function(){return w(this)},s.allResolved=function(e,t,r){return function(){return"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(t+" is deprecated, use "+r+" instead.",new Error("").stack),e.apply(e,arguments)}}(_,"allResolved","allSettled"),u.prototype.allResolved=function(){return _(this)},s.allSettled=function(e){return s(e).allSettled()},u.prototype.allSettled=function(){return this.then(function(e){return w(C(e,function(e){function t(){return e.inspect()}return(e=s(e)).then(t,t)}))})},s.fail=s.catch=function(e,t){return s(e).then(void 0,t)},u.prototype.fail=u.prototype.catch=function(e){return this.then(void 0,e)},s.progress=function(e,t){return s(e).then(void 0,void 0,t)},u.prototype.progress=function(e){return this.then(void 0,void 0,e)},s.fin=s.finally=function(e,t){return s(e).finally(t)},u.prototype.fin=u.prototype.finally=function(e){return e=s(e),this.then(function(t){return e.fcall().then(function(){return t})},function(t){return e.fcall().then(function(){throw t})})},s.done=function(e,t,r,n){return s(e).done(t,r,n)},u.prototype.done=function(t,r,i){var o=function(e){I(function(){if(n(e,a),!s.onerror)throw e;s.onerror(e)})},a=t||r||i?this.then(t,r,i):this;"object"==typeof e&&e&&e.domain&&(o=e.domain.bind(o)),a.then(void 0,o)},s.timeout=function(e,t,r){return s(e).timeout(t,r)},u.prototype.timeout=function(e,t){var r=a(),n=setTimeout(function(){r.reject(new Error(t||"Timed out after "+e+" ms"))},e);return this.then(function(e){clearTimeout(n),r.resolve(e)},function(e){clearTimeout(n),r.reject(e)},r.notify),r.promise},s.delay=function(e,t){return void 0===t&&(t=e,e=void 0),s(e).delay(t)},u.prototype.delay=function(e){return this.then(function(t){var r=a();return setTimeout(function(){r.resolve(t)},e),r.promise})},s.nfapply=function(e,t){return s(e).nfapply(t)},u.prototype.nfapply=function(e){var t=a(),r=B(e);return r.push(t.makeNodeResolver()),this.fapply(r).fail(t.reject),t.promise},s.nfcall=function(e){var t=B(arguments,1);return s(e).nfapply(t)},u.prototype.nfcall=function(){var e=B(arguments),t=a();return e.push(t.makeNodeResolver()),this.fapply(e).fail(t.reject),t.promise},s.nfbind=s.denodeify=function(e){var t=B(arguments,1);return function(){var r=t.concat(B(arguments)),n=a();return r.push(n.makeNodeResolver()),s(e).fapply(r).fail(n.reject),n.promise}},u.prototype.nfbind=u.prototype.denodeify=function(){var e=B(arguments);return e.unshift(this),s.denodeify.apply(void 0,e)},s.nbind=function(e,t){var r=B(arguments,2);return function(){var n=r.concat(B(arguments)),i=a();return n.push(i.makeNodeResolver()),s(function(){return e.apply(t,arguments)}).fapply(n).fail(i.reject),i.promise}},u.prototype.nbind=function(){var e=B(arguments,0);return e.unshift(this),s.nbind.apply(void 0,e)},s.nmapply=s.npost=function(e,t,r){return s(e).npost(t,r)},u.prototype.nmapply=u.prototype.npost=function(e,t){var r=B(t||[]),n=a();return r.push(n.makeNodeResolver()),this.dispatch("post",[e,r]).fail(n.reject),n.promise},s.nsend=s.nmcall=s.ninvoke=function(e,t){var r=B(arguments,2),n=a();return r.push(n.makeNodeResolver()),s(e).dispatch("post",[t,r]).fail(n.reject),n.promise},u.prototype.nsend=u.prototype.nmcall=u.prototype.ninvoke=function(e){var t=B(arguments,1),r=a();return t.push(r.makeNodeResolver()),this.dispatch("post",[e,t]).fail(r.reject),r.promise},s.nodeify=function(e,t){return s(e).nodeify(t)},u.prototype.nodeify=function(e){if(!e)return this;this.then(function(t){I(function(){e(null,t)})},function(t){I(function(){e(t)})})};var H=o();return s})}).call(this,e("_process"))},{_process:265}],296:[function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,o){t=t||"&",r=r||"=";var s={};if("string"!=typeof e||0===e.length)return s;var a=/\+/g;e=e.split(t);var c=1e3;o&&"number"==typeof o.maxKeys&&(c=o.maxKeys);var f=e.length;c>0&&f>c&&(f=c);for(var u=0;u<f;++u){var h,l,d,p,b=e[u].replace(a,"%20"),y=b.indexOf(r);y>=0?(h=b.substr(0,y),l=b.substr(y+1)):(h=b,l=""),d=decodeURIComponent(h),p=decodeURIComponent(l),n(s,d)?i(s[d])?s[d].push(p):s[d]=[s[d],p]:s[d]=p}return s};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],297:[function(e,t,r){"use strict";function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,r,a){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?n(s(e),function(s){var a=encodeURIComponent(i(s))+r;return o(e[s])?n(e[s],function(e){return a+encodeURIComponent(i(e))}).join(t):a+encodeURIComponent(i(e[s]))}).join(t):a?encodeURIComponent(i(a))+r+encodeURIComponent(i(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},s=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},{}],298:[function(e,t,r){"use strict";r.decode=r.parse=e("./decode"),r.encode=r.stringify=e("./encode")},{"./decode":296,"./encode":297}],299:[function(e,t,r){(function(r,n){"use strict";var Buffer=e("safe-buffer").Buffer,i=n.crypto||n.msCrypto;i&&i.getRandomValues?t.exports=function(e,t){if(e>65536)throw new Error("requested too many random bytes");var o=new n.Uint8Array(e);e>0&&i.getRandomValues(o);var s=Buffer.from(o.buffer);return"function"==typeof t?r.nextTick(function(){t(null,s)}):s}:t.exports=function(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:265,"safe-buffer":313}],300:[function(e,t,r){(function(t,n){"use strict";function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}function o(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>l||e<0)throw new TypeError("offset must be a uint32");if(e>u||e>t)throw new RangeError("offset out of range")}function s(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>l||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>u)throw new RangeError("buffer too small")}function a(e,r,n,i){if(t.browser){var o=e.buffer,s=new Uint8Array(o,r,n);return h.getRandomValues(s),i?void t.nextTick(function(){i(null,e)}):e}{if(!i){return f(n).copy(e,r),e}f(n,function(t,n){if(t)return i(t);n.copy(e,r),i(null,e)})}}var c=e("safe-buffer"),f=e("randombytes"),Buffer=c.Buffer,u=c.kMaxLength,h=n.crypto||n.msCrypto,l=Math.pow(2,32)-1;h&&h.getRandomValues||!t.browser?(r.randomFill=function(e,t,r,i){if(!(Buffer.isBuffer(e)||e instanceof n.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)i=t,t=0,r=e.length;else if("function"==typeof r)i=r,r=e.length-t;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return o(t,e.length),s(r,t,e.length),a(e,t,r,i)},r.randomFillSync=function(e,t,r){if(void 0===t&&(t=0),!(Buffer.isBuffer(e)||e instanceof n.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return o(t,e.length),void 0===r&&(r=e.length-t),s(r,t,e.length),a(e,t,r)}):(r.randomFill=i,r.randomFillSync=i)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:265,randombytes:299,"safe-buffer":313}],301:[function(e,t,r){t.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":302}],302:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);f.call(this,e),u.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",i)}function i(){this.allowHalfOpen||this._writableState.ended||a(o,this)}function o(e){e.end()}var s=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=n;var a=e("process-nextick-args"),c=e("core-util-is");c.inherits=e("inherits");var f=e("./_stream_readable"),u=e("./_stream_writable");c.inherits(n,f);for(var h=s(u.prototype),l=0;l<h.length;l++){var d=h[l];n.prototype[d]||(n.prototype[d]=u.prototype[d])}},{"./_stream_readable":304,"./_stream_writable":306,"core-util-is":111,inherits:248,"process-nextick-args":264}],303:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);i.call(this,e)}t.exports=n;var i=e("./_stream_transform"),o=e("core-util-is");o.inherits=e("inherits"),o.inherits(n,i),n.prototype._transform=function(e,t,r){r(null,e)}},{"./_stream_transform":305,"core-util-is":111,inherits:248}],304:[function(e,t,r){(function(r){"use strict";function n(t,r){k=k||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,r instanceof k&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var n=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:i,this.highWaterMark=~~this.highWaterMark,this.buffer=[],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.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(S||(S=e("string_decoder/").StringDecoder),this.decoder=new S(t.encoding),this.encoding=t.encoding)}function i(t){if(k=k||e("./_stream_duplex"),!(this instanceof i))return new i(t);this._readableState=new n(t,this),this.readable=!0,t&&"function"==typeof t.read&&(this._read=t.read),m.call(this)}function o(e,t,r,n,i){var o=function(e,t){var r=null;Buffer.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));return r}(t,r);if(o)e.emit("error",o);else if(null===r)t.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,a(e)}(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!i){s=new Error("stream.push() after EOF");e.emit("error",s)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var c;!t.decoder||i||n||(r=t.decoder.write(r),c=!t.objectMode&&0===r.length),i||(t.reading=!1),c||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&a(e))),function(e,t){t.readingMore||(t.readingMore=!0,y(f,e,t))}(e,t)}else i||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(t)}function s(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:e<=0?0:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=A?e=A:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function a(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(E("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?y(c,e):c(e))}function c(e){E("emit readable"),e.emit("readable"),l(e)}function f(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(E("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function u(e){E("readable nexttick read 0"),e.read(0)}function h(e,t){t.reading||(E("resume read 0"),e.read(0)),t.resumeScheduled=!1,e.emit("resume"),l(e),t.flowing&&!t.reading&&e.read(0)}function l(e){var t=e._readableState;if(E("flow",t.flowing),t.flowing)do{var r=e.read()}while(null!==r&&t.flowing)}function d(e,t){var r,n=t.buffer,i=t.length,o=!!t.decoder,s=!!t.objectMode;if(0===n.length)return null;if(0===i)r=null;else if(s)r=n.shift();else if(!e||e>=i)r=o?n.join(""):1===n.length?n[0]:Buffer.concat(n,i),n.length=0;else if(e<n[0].length){r=(u=n[0]).slice(0,e),n[0]=u.slice(e)}else if(e===n[0].length)r=n.shift();else{r=o?"":new Buffer(e);for(var a=0,c=0,f=n.length;c<f&&a<e;c++){var u=n[0],h=Math.min(e-a,u.length);o?r+=u.slice(0,h):u.copy(r,a,0,h),h<u.length?n[0]=u.slice(h):n.shift(),a+=h}}return r}function p(e){var t=e._readableState;if(t.length>0)throw new Error("endReadable called on non-empty stream");t.endEmitted||(t.ended=!0,y(b,t,e))}function b(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}t.exports=i;var y=e("process-nextick-args"),v=e("isarray"),Buffer=e("buffer").Buffer;i.ReadableState=n;e("events");var m,g=function(e,t){return e.listeners(t).length};!function(){try{m=e("stream")}catch(e){}finally{m||(m=e("events").EventEmitter)}}();var Buffer=e("buffer").Buffer,w=e("core-util-is");w.inherits=e("inherits");var _=e("util"),E=void 0;E=_&&_.debuglog?_.debuglog("stream"):function(){};var S;w.inherits(i,m);var k;i.prototype.push=function(e,t){var r=this._readableState;return r.objectMode||"string"!=typeof e||(t=t||r.defaultEncoding)!==r.encoding&&(e=new Buffer(e,t),t=""),o(this,r,e,t,!1)},i.prototype.unshift=function(e){return o(this,this._readableState,e,"",!0)},i.prototype.isPaused=function(){return!1===this._readableState.flowing},i.prototype.setEncoding=function(t){return S||(S=e("string_decoder/").StringDecoder),this._readableState.decoder=new S(t),this._readableState.encoding=t,this};var A=8388608;i.prototype.read=function(e){E("read",e);var t=this._readableState,r=e;if(("number"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return E("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?p(this):a(this),null;if(0===(e=s(e,t))&&t.ended)return 0===t.length&&p(this),null;var n=t.needReadable;E("need readable",n),(0===t.length||t.length-e<t.highWaterMark)&&E("length less than watermark",n=!0),(t.ended||t.reading)&&E("reading or ended",n=!1),n&&(E("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),n&&!t.reading&&(e=s(r,t));var i;return null===(i=e>0?d(e,t):null)&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),r!==e&&t.ended&&0===t.length&&p(this),null!==i&&this.emit("data",i),i},i.prototype._read=function(e){this.emit("error",new Error("not implemented"))},i.prototype.pipe=function(e,t){function n(e){E("onunpipe"),e===h&&o()}function i(){E("onend"),e.end()}function o(){E("cleanup"),e.removeListener("close",c),e.removeListener("finish",f),e.removeListener("drain",b),e.removeListener("error",a),e.removeListener("unpipe",n),h.removeListener("end",i),h.removeListener("end",o),h.removeListener("data",s),m=!0,!d.awaitDrain||e._writableState&&!e._writableState.needDrain||b()}function s(t){E("ondata");!1===e.write(t)&&(1!==d.pipesCount||d.pipes[0]!==e||1!==h.listenerCount("data")||m||(E("false write response, pause",h._readableState.awaitDrain),h._readableState.awaitDrain++),h.pause())}function a(t){E("onerror",t),u(),e.removeListener("error",a),0===g(e,"error")&&e.emit("error",t)}function c(){e.removeListener("finish",f),u()}function f(){E("onfinish"),e.removeListener("close",c),u()}function u(){E("unpipe"),h.unpipe(e)}var h=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=e;break;case 1:d.pipes=[d.pipes,e];break;default:d.pipes.push(e)}d.pipesCount+=1,E("pipe count=%d opts=%j",d.pipesCount,t);var p=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?i:o;d.endEmitted?y(p):h.once("end",p),e.on("unpipe",n);var b=function(e){return function(){var t=e._readableState;E("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&g(e,"data")&&(t.flowing=!0,l(e))}}(h);e.on("drain",b);var m=!1;return h.on("data",s),e._events&&e._events.error?v(e._events.error)?e._events.error.unshift(a):e._events.error=[a,e._events.error]:e.on("error",a),e.once("close",c),e.once("finish",f),e.emit("pipe",h),d.flowing||(E("pipe resume"),h.resume()),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<n;i++)r[i].emit("unpipe",this);return this}var o=function(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}(t.pipes,e);return-1===o?this:(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},i.prototype.on=function(e,t){var r=m.prototype.on.call(this,e,t);if("data"===e&&!1!==this._readableState.flowing&&this.resume(),"readable"===e&&!this._readableState.endEmitted){var n=this._readableState;n.readableListening||(n.readableListening=!0,n.emittedReadable=!1,n.needReadable=!0,n.reading?n.length&&a(this):y(u,this))}return r},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){var e=this._readableState;return e.flowing||(E("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,y(h,e,t))}(this,e)),this},i.prototype.pause=function(){return E("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(E("pause"),this._readableState.flowing=!1,this.emit("pause")),this},i.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;e.on("end",function(){if(E("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(i){if(E("wrapped data"),t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)){n.push(i)||(r=!0,e.pause())}});for(var i in e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return function(e,t){for(var r=0,n=e.length;r<n;r++)t(e[r],r)}(["error","close","destroy","pause","resume"],function(t){e.on(t,n.emit.bind(n,t))}),n._read=function(t){E("wrapped _read",t),r&&(r=!1,e.resume())},n},i._fromList=d}).call(this,e("_process"))},{"./_stream_duplex":302,_process:265,buffer:105,"core-util-is":111,events:230,inherits:248,isarray:250,"process-nextick-args":264,"string_decoder/":347,util:77}],305:[function(e,t,r){"use strict";function n(e){this.afterTransform=function(t,r){return function(e,t,r){var n=e._transformState;n.transforming=!1;var i=n.writecb;if(!i)return e.emit("error",new Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,null!==r&&void 0!==r&&e.push(r);i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}(e,t,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function i(e){if(!(this instanceof i))return new i(e);s.call(this,e),this._transformState=new n(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e){o(t,e)}):o(t)})}function o(e,t){if(t)return e.emit("error",t);var r=e._writableState,n=e._transformState;if(r.length)throw new Error("calling transform done when ws.length != 0");if(n.transforming)throw new Error("calling transform done when still transforming");return e.push(null)}t.exports=i;var s=e("./_stream_duplex"),a=e("core-util-is");a.inherits=e("inherits"),a.inherits(i,s),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},i.prototype._transform=function(e,t,r){throw new Error("not implemented")},i.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},i.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0}},{"./_stream_duplex":302,"core-util-is":111,inherits:248}],306:[function(e,t,r){(function(r){"use strict";function n(){}function i(t,r){g=g||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,r instanceof g&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var n=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:i,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=!1===t.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?p(i,n):i(n);e._writableState.errorEmitted=!0,e.emit("error",n)}(e,r,n,t,i);else{var o=u(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||f(e,r),n?b(c,e,r,o,i):c(e,r,o,i)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new d(this),this.corkedRequestsFree.next=new d(this)}function o(t){if(g=g||e("./_stream_duplex"),!(this instanceof o||this instanceof g))return new o(t);this._writableState=new i(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev)),v.call(this)}function s(e,t,r,n,i){r=function(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=new Buffer(t,r)),t}(t,r,n),Buffer.isBuffer(r)&&(n="buffer");var o=t.objectMode?1:r.length;t.length+=o;var s=t.length<t.highWaterMark;if(s||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest=new function(e,t,r){this.chunk=e,this.encoding=t,this.callback=r,this.next=null}(r,n,i),c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else a(e,t,!1,o,r,n,i);return s}function a(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function c(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),l(e,t)}function f(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var s=0;r;)i[s]=r,r=r.next,s+=1;a(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,t.corkedRequestsFree=o.next,o.next=null}else{for(;r;){var c=r.chunk,f=r.encoding,u=r.callback;if(a(e,t,!1,t.objectMode?1:c.length,c,f,u),r=r.next,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=r,t.bufferProcessing=!1}function u(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function h(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function l(e,t){var r=u(t);return r&&(0===t.pendingcb?(h(e,t),t.finished=!0,e.emit("finish")):h(e,t)),r}function d(e){var t=this;this.next=null,this.entry=null,this.finish=function(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}}t.exports=o;var p=e("process-nextick-args"),b=!r.browser&&["v0.10","v0.9."].indexOf(r.version.slice(0,5))>-1?setImmediate:p,Buffer=e("buffer").Buffer;o.WritableState=i;var y=e("core-util-is");y.inherits=e("inherits");var v,m={deprecate:e("util-deprecate")};!function(){try{v=e("stream")}catch(e){}finally{v||(v=e("events").EventEmitter)}}();Buffer=e("buffer").Buffer;y.inherits(o,v);i.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(i.prototype,"buffer",{get:m.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(e){}}();var g;o.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},o.prototype.write=function(e,t,r){var i=this._writableState,o=!1;return"function"==typeof t&&(r=t,t=null),Buffer.isBuffer(e)?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=n),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),p(t,r)}(this,r):function(e,t,r,n){var i=!0;if(!Buffer.isBuffer(r)&&"string"!=typeof r&&null!==r&&void 0!==r&&!t.objectMode){var o=new TypeError("Invalid non-string/buffer chunk");e.emit("error",o),p(n,o),i=!1}return i}(this,i,e,r)&&(i.pendingcb++,o=s(this,i,e,t,r)),o},o.prototype.cork=function(){this._writableState.corked++},o.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||f(this,e))},o.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);this._writableState.defaultEncoding=e},o.prototype._write=function(e,t,r){r(new Error("not implemented"))},o.prototype._writev=null,o.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,l(e,t),r&&(t.finished?p(r):e.once("finish",r)),t.ended=!0,e.writable=!1}(this,n,r)}}).call(this,e("_process"))},{"./_stream_duplex":302,_process:265,buffer:105,"core-util-is":111,events:230,inherits:248,"process-nextick-args":264,"util-deprecate":359}],307:[function(e,t,r){t.exports=e("./lib/_stream_passthrough.js")},{"./lib/_stream_passthrough.js":303}],308:[function(e,t,r){var n=function(){try{return e("stream")}catch(e){}}();(r=t.exports=e("./lib/_stream_readable.js")).Stream=n||r,r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":302,"./lib/_stream_passthrough.js":303,"./lib/_stream_readable.js":304,"./lib/_stream_transform.js":305,"./lib/_stream_writable.js":306}],309:[function(e,t,r){t.exports=e("./lib/_stream_transform.js")},{"./lib/_stream_transform.js":305}],310:[function(e,t,r){t.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":306}],311:[function(e,t,r){t.exports=function(e,t,r){for(var n=0,i=e.length,o=3==arguments.length?r:e[n++];n<i;)o=t.call(null,o,e[n],++n,e);return o}},{}],312:[function(e,t,r){(function(Buffer){"use strict";function r(){u.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function n(e,t){return e<<t|e>>>32-t}function i(e,t,r,i,o,s,a,c){return n(e+(t^r^i)+s+a|0,c)+o|0}function o(e,t,r,i,o,s,a,c){return n(e+(t&r|~t&i)+s+a|0,c)+o|0}function s(e,t,r,i,o,s,a,c){return n(e+((t|~r)^i)+s+a|0,c)+o|0}function a(e,t,r,i,o,s,a,c){return n(e+(t&i|r&~i)+s+a|0,c)+o|0}function c(e,t,r,i,o,s,a,c){return n(e+(t^(r|~i))+s+a|0,c)+o|0}var f=e("inherits"),u=e("hash-base");f(r,u),r.prototype._update=function(){for(var e=new Array(16),t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,f=this._b,u=this._c,h=this._d,l=this._e;l=i(l,r=i(r,f,u,h,l,e[0],0,11),f,u=n(u,10),h,e[1],0,14),f=i(f=n(f,10),u=i(u,h=i(h,l,r,f,u,e[2],0,15),l,r=n(r,10),f,e[3],0,12),h,l=n(l,10),r,e[4],0,5),h=i(h=n(h,10),l=i(l,r=i(r,f,u,h,l,e[5],0,8),f,u=n(u,10),h,e[6],0,7),r,f=n(f,10),u,e[7],0,9),r=i(r=n(r,10),f=i(f,u=i(u,h,l,r,f,e[8],0,11),h,l=n(l,10),r,e[9],0,13),u,h=n(h,10),l,e[10],0,14),u=i(u=n(u,10),h=i(h,l=i(l,r,f,u,h,e[11],0,15),r,f=n(f,10),u,e[12],0,6),l,r=n(r,10),f,e[13],0,7),l=o(l=n(l,10),r=i(r,f=i(f,u,h,l,r,e[14],0,9),u,h=n(h,10),l,e[15],0,8),f,u=n(u,10),h,e[7],1518500249,7),f=o(f=n(f,10),u=o(u,h=o(h,l,r,f,u,e[4],1518500249,6),l,r=n(r,10),f,e[13],1518500249,8),h,l=n(l,10),r,e[1],1518500249,13),h=o(h=n(h,10),l=o(l,r=o(r,f,u,h,l,e[10],1518500249,11),f,u=n(u,10),h,e[6],1518500249,9),r,f=n(f,10),u,e[15],1518500249,7),r=o(r=n(r,10),f=o(f,u=o(u,h,l,r,f,e[3],1518500249,15),h,l=n(l,10),r,e[12],1518500249,7),u,h=n(h,10),l,e[0],1518500249,12),u=o(u=n(u,10),h=o(h,l=o(l,r,f,u,h,e[9],1518500249,15),r,f=n(f,10),u,e[5],1518500249,9),l,r=n(r,10),f,e[2],1518500249,11),l=o(l=n(l,10),r=o(r,f=o(f,u,h,l,r,e[14],1518500249,7),u,h=n(h,10),l,e[11],1518500249,13),f,u=n(u,10),h,e[8],1518500249,12),f=s(f=n(f,10),u=s(u,h=s(h,l,r,f,u,e[3],1859775393,11),l,r=n(r,10),f,e[10],1859775393,13),h,l=n(l,10),r,e[14],1859775393,6),h=s(h=n(h,10),l=s(l,r=s(r,f,u,h,l,e[4],1859775393,7),f,u=n(u,10),h,e[9],1859775393,14),r,f=n(f,10),u,e[15],1859775393,9),r=s(r=n(r,10),f=s(f,u=s(u,h,l,r,f,e[8],1859775393,13),h,l=n(l,10),r,e[1],1859775393,15),u,h=n(h,10),l,e[2],1859775393,14),u=s(u=n(u,10),h=s(h,l=s(l,r,f,u,h,e[7],1859775393,8),r,f=n(f,10),u,e[0],1859775393,13),l,r=n(r,10),f,e[6],1859775393,6),l=s(l=n(l,10),r=s(r,f=s(f,u,h,l,r,e[13],1859775393,5),u,h=n(h,10),l,e[11],1859775393,12),f,u=n(u,10),h,e[5],1859775393,7),f=a(f=n(f,10),u=a(u,h=s(h,l,r,f,u,e[12],1859775393,5),l,r=n(r,10),f,e[1],2400959708,11),h,l=n(l,10),r,e[9],2400959708,12),h=a(h=n(h,10),l=a(l,r=a(r,f,u,h,l,e[11],2400959708,14),f,u=n(u,10),h,e[10],2400959708,15),r,f=n(f,10),u,e[0],2400959708,14),r=a(r=n(r,10),f=a(f,u=a(u,h,l,r,f,e[8],2400959708,15),h,l=n(l,10),r,e[12],2400959708,9),u,h=n(h,10),l,e[4],2400959708,8),u=a(u=n(u,10),h=a(h,l=a(l,r,f,u,h,e[13],2400959708,9),r,f=n(f,10),u,e[3],2400959708,14),l,r=n(r,10),f,e[7],2400959708,5),l=a(l=n(l,10),r=a(r,f=a(f,u,h,l,r,e[15],2400959708,6),u,h=n(h,10),l,e[14],2400959708,8),f,u=n(u,10),h,e[5],2400959708,6),f=c(f=n(f,10),u=a(u,h=a(h,l,r,f,u,e[6],2400959708,5),l,r=n(r,10),f,e[2],2400959708,12),h,l=n(l,10),r,e[4],2840853838,9),h=c(h=n(h,10),l=c(l,r=c(r,f,u,h,l,e[0],2840853838,15),f,u=n(u,10),h,e[5],2840853838,5),r,f=n(f,10),u,e[9],2840853838,11),r=c(r=n(r,10),f=c(f,u=c(u,h,l,r,f,e[7],2840853838,6),h,l=n(l,10),r,e[12],2840853838,8),u,h=n(h,10),l,e[2],2840853838,13),u=c(u=n(u,10),h=c(h,l=c(l,r,f,u,h,e[10],2840853838,12),r,f=n(f,10),u,e[14],2840853838,5),l,r=n(r,10),f,e[1],2840853838,12),l=c(l=n(l,10),r=c(r,f=c(f,u,h,l,r,e[3],2840853838,13),u,h=n(h,10),l,e[8],2840853838,14),f,u=n(u,10),h,e[11],2840853838,11),f=c(f=n(f,10),u=c(u,h=c(h,l,r,f,u,e[6],2840853838,8),l,r=n(r,10),f,e[15],2840853838,5),h,l=n(l,10),r,e[13],2840853838,6),h=n(h,10);var d=this._a,p=this._b,b=this._c,y=this._d,v=this._e;v=c(v,d=c(d,p,b,y,v,e[5],1352829926,8),p,b=n(b,10),y,e[14],1352829926,9),p=c(p=n(p,10),b=c(b,y=c(y,v,d,p,b,e[7],1352829926,9),v,d=n(d,10),p,e[0],1352829926,11),y,v=n(v,10),d,e[9],1352829926,13),y=c(y=n(y,10),v=c(v,d=c(d,p,b,y,v,e[2],1352829926,15),p,b=n(b,10),y,e[11],1352829926,15),d,p=n(p,10),b,e[4],1352829926,5),d=c(d=n(d,10),p=c(p,b=c(b,y,v,d,p,e[13],1352829926,7),y,v=n(v,10),d,e[6],1352829926,7),b,y=n(y,10),v,e[15],1352829926,8),b=c(b=n(b,10),y=c(y,v=c(v,d,p,b,y,e[8],1352829926,11),d,p=n(p,10),b,e[1],1352829926,14),v,d=n(d,10),p,e[10],1352829926,14),v=a(v=n(v,10),d=c(d,p=c(p,b,y,v,d,e[3],1352829926,12),b,y=n(y,10),v,e[12],1352829926,6),p,b=n(b,10),y,e[6],1548603684,9),p=a(p=n(p,10),b=a(b,y=a(y,v,d,p,b,e[11],1548603684,13),v,d=n(d,10),p,e[3],1548603684,15),y,v=n(v,10),d,e[7],1548603684,7),y=a(y=n(y,10),v=a(v,d=a(d,p,b,y,v,e[0],1548603684,12),p,b=n(b,10),y,e[13],1548603684,8),d,p=n(p,10),b,e[5],1548603684,9),d=a(d=n(d,10),p=a(p,b=a(b,y,v,d,p,e[10],1548603684,11),y,v=n(v,10),d,e[14],1548603684,7),b,y=n(y,10),v,e[15],1548603684,7),b=a(b=n(b,10),y=a(y,v=a(v,d,p,b,y,e[8],1548603684,12),d,p=n(p,10),b,e[12],1548603684,7),v,d=n(d,10),p,e[4],1548603684,6),v=a(v=n(v,10),d=a(d,p=a(p,b,y,v,d,e[9],1548603684,15),b,y=n(y,10),v,e[1],1548603684,13),p,b=n(b,10),y,e[2],1548603684,11),p=s(p=n(p,10),b=s(b,y=s(y,v,d,p,b,e[15],1836072691,9),v,d=n(d,10),p,e[5],1836072691,7),y,v=n(v,10),d,e[1],1836072691,15),y=s(y=n(y,10),v=s(v,d=s(d,p,b,y,v,e[3],1836072691,11),p,b=n(b,10),y,e[7],1836072691,8),d,p=n(p,10),b,e[14],1836072691,6),d=s(d=n(d,10),p=s(p,b=s(b,y,v,d,p,e[6],1836072691,6),y,v=n(v,10),d,e[9],1836072691,14),b,y=n(y,10),v,e[11],1836072691,12),b=s(b=n(b,10),y=s(y,v=s(v,d,p,b,y,e[8],1836072691,13),d,p=n(p,10),b,e[12],1836072691,5),v,d=n(d,10),p,e[2],1836072691,14),v=s(v=n(v,10),d=s(d,p=s(p,b,y,v,d,e[10],1836072691,13),b,y=n(y,10),v,e[0],1836072691,13),p,b=n(b,10),y,e[4],1836072691,7),p=o(p=n(p,10),b=o(b,y=s(y,v,d,p,b,e[13],1836072691,5),v,d=n(d,10),p,e[8],2053994217,15),y,v=n(v,10),d,e[6],2053994217,5),y=o(y=n(y,10),v=o(v,d=o(d,p,b,y,v,e[4],2053994217,8),p,b=n(b,10),y,e[1],2053994217,11),d,p=n(p,10),b,e[3],2053994217,14),d=o(d=n(d,10),p=o(p,b=o(b,y,v,d,p,e[11],2053994217,14),y,v=n(v,10),d,e[15],2053994217,6),b,y=n(y,10),v,e[0],2053994217,14),b=o(b=n(b,10),y=o(y,v=o(v,d,p,b,y,e[5],2053994217,6),d,p=n(p,10),b,e[12],2053994217,9),v,d=n(d,10),p,e[2],2053994217,12),v=o(v=n(v,10),d=o(d,p=o(p,b,y,v,d,e[13],2053994217,9),b,y=n(y,10),v,e[9],2053994217,12),p,b=n(b,10),y,e[7],2053994217,5),p=i(p=n(p,10),b=o(b,y=o(y,v,d,p,b,e[10],2053994217,15),v,d=n(d,10),p,e[14],2053994217,8),y,v=n(v,10),d,e[12],0,8),y=i(y=n(y,10),v=i(v,d=i(d,p,b,y,v,e[15],0,5),p,b=n(b,10),y,e[10],0,12),d,p=n(p,10),b,e[4],0,9),d=i(d=n(d,10),p=i(p,b=i(b,y,v,d,p,e[1],0,12),y,v=n(v,10),d,e[5],0,5),b,y=n(y,10),v,e[8],0,14),b=i(b=n(b,10),y=i(y,v=i(v,d,p,b,y,e[7],0,6),d,p=n(p,10),b,e[6],0,8),v,d=n(d,10),p,e[2],0,13),v=i(v=n(v,10),d=i(d,p=i(p,b,y,v,d,e[13],0,6),b,y=n(y,10),v,e[14],0,5),p,b=n(b,10),y,e[0],0,15),p=i(p=n(p,10),b=i(b,y=i(y,v,d,p,b,e[3],0,13),v,d=n(d,10),p,e[9],0,11),y,v=n(v,10),d,e[11],0,11),y=n(y,10);var m=this._b+u+y|0;this._b=this._c+h+v|0,this._c=this._d+l+d|0,this._d=this._e+r+p|0,this._e=this._a+f+b|0,this._a=m},r.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new Buffer(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},t.exports=r}).call(this,e("buffer").Buffer)},{buffer:105,"hash-base":232,inherits:248}],313:[function(e,t,r){function n(e,t){for(var r in e)t[r]=e[r]}function i(e,t,r){return Buffer(e,t,r)}var o=e("buffer"),Buffer=o.Buffer;Buffer.from&&Buffer.alloc&&Buffer.allocUnsafe&&Buffer.allocUnsafeSlow?t.exports=o:(n(o,r),r.Buffer=i),n(Buffer,i),i.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return Buffer(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=Buffer(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return Buffer(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o.SlowBuffer(e)}},{buffer:105}],314:[function(e,t,r){"use strict";t.exports=e("./lib")(e("./lib/elliptic"))},{"./lib":318,"./lib/elliptic":317}],315:[function(e,t,r){(function(Buffer){"use strict";var e=Object.prototype.toString;r.isArray=function(e,t){if(!Array.isArray(e))throw TypeError(t)},r.isBoolean=function(t,r){if("[object Boolean]"!==e.call(t))throw TypeError(r)},r.isBuffer=function(e,t){if(!Buffer.isBuffer(e))throw TypeError(t)},r.isFunction=function(t,r){if("[object Function]"!==e.call(t))throw TypeError(r)},r.isNumber=function(t,r){if("[object Number]"!==e.call(t))throw TypeError(r)},r.isObject=function(t,r){if("[object Object]"!==e.call(t))throw TypeError(r)},r.isBufferLength=function(e,t,r){if(e.length!==t)throw RangeError(r)},r.isBufferLength2=function(e,t,r,n){if(e.length!==t&&e.length!==r)throw RangeError(n)},r.isLengthGTZero=function(e,t){if(0===e.length)throw RangeError(t)},r.isNumberInInterval=function(e,t,r,n){if(e<=t||e>=r)throw RangeError(n)}}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":249}],316:[function(e,t,r){"use strict";var Buffer=e("safe-buffer").Buffer,n=e("bip66"),i=Buffer.from([48,129,211,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,133,48,129,130,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,33,2,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,36,3,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),o=Buffer.from([48,130,1,19,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,165,48,129,162,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,65,4,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,72,58,218,119,38,163,196,101,93,164,251,252,14,17,8,168,253,23,180,72,166,133,84,25,156,71,208,143,251,16,212,184,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,68,3,66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),s=Buffer.from([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);r.privateKeyExport=function(e,t,r){var n=Buffer.from(r?i:o);return e.copy(n,r?8:9),t.copy(n,r?181:214),n},r.privateKeyImport=function(e){var t=e.length,r=0;if(!(t<r+1||48!==e[r])&&(r+=1,!(t<r+1)&&128&e[r])){var n=127&e[r];if(r+=1,!(n<1||n>2||t<r+n)){var i=e[r+n-1]|(n>1?e[r+n-2]<<8:0);if(r+=n,!(t<r+i||t<r+3||2!==e[r]||1!==e[r+1]||1!==e[r+2]||(r+=3,t<r+2||4!==e[r]||e[r+1]>32||t<r+2+e[r+1])))return e.slice(r+2,r+2+e[r+1])}}},r.signatureExport=function(e){for(var t=Buffer.concat([Buffer.from([0]),e.r]),r=33,i=0;r>1&&0===t[i]&&!(128&t[i+1]);--r,++i);for(var o=Buffer.concat([Buffer.from([0]),e.s]),s=33,a=0;s>1&&0===o[a]&&!(128&o[a+1]);--s,++a);return n.encode(t.slice(i),o.slice(a))},r.signatureImport=function(e){var t=Buffer.from(s),r=Buffer.from(s);try{var i=n.decode(e);if(33===i.r.length&&0===i.r[0]&&(i.r=i.r.slice(1)),i.r.length>32)throw new Error("R length is too long");if(33===i.s.length&&0===i.s[0]&&(i.s=i.s.slice(1)),i.s.length>32)throw new Error("S length is too long")}catch(e){return}return i.r.copy(t,32-i.r.length),i.s.copy(r,32-i.s.length),{r:t,s:r}},r.signatureImportLax=function(e){var t=Buffer.from(s),r=Buffer.from(s),n=e.length,i=0;if(48===e[i++]){var o=e[i++];if(!(128&o&&(i+=o-128)>n)&&2===e[i++]){var a=e[i++];if(128&a){if(o=a-128,i+o>n)return;for(;o>0&&0===e[i];i+=1,o-=1);for(a=0;o>0;i+=1,o-=1)a=(a<<8)+e[i]}if(!(a>n-i)){var c=i;if(i+=a,2===e[i++]){var f=e[i++];if(128&f){if(o=f-128,i+o>n)return;for(;o>0&&0===e[i];i+=1,o-=1);for(f=0;o>0;i+=1,o-=1)f=(f<<8)+e[i]}if(!(f>n-i)){var u=i;for(i+=f;a>0&&0===e[c];a-=1,c+=1);if(!(a>32)){var h=e.slice(c,c+a);for(h.copy(t,32-h.length);f>0&&0===e[u];f-=1,u+=1);if(!(f>32)){var l=e.slice(u,u+f);return l.copy(r,32-l.length),{r:t,s:r}}}}}}}}}},{bip66:32,"safe-buffer":313}],317:[function(e,t,r){"use strict";function n(e){var t=e[0];switch(t){case 2:case 3:return 33!==e.length?null:function(e,t){var r=new o(t);if(r.cmp(f.p)>=0)return null;var n=(r=r.toRed(f.red)).redSqr().redIMul(r).redIAdd(f.b).redSqrt();return 3===e!==n.isOdd()&&(n=n.redNeg()),c.keyPair({pub:{x:r,y:n}})}(t,e.slice(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,r){var n=new o(t),i=new o(r);if(n.cmp(f.p)>=0||i.cmp(f.p)>=0)return null;if(n=n.toRed(f.red),i=i.toRed(f.red),(6===e||7===e)&&i.isOdd()!==(7===e))return null;var s=n.redSqr().redIMul(n);return i.redSqr().redISub(s.redIAdd(f.b)).isZero()?c.keyPair({pub:{x:n,y:i}}):null}(t,e.slice(1,33),e.slice(33,65));default:return null}}var Buffer=e("safe-buffer").Buffer,i=e("create-hash"),o=e("bn.js"),s=e("elliptic").ec,a=e("../messages.json"),c=new s("secp256k1"),f=c.curve;r.privateKeyVerify=function(e){var t=new o(e);return t.cmp(f.n)<0&&!t.isZero()},r.privateKeyExport=function(e,t){var r=new o(e);if(r.cmp(f.n)>=0||r.isZero())throw new Error(a.EC_PRIVATE_KEY_EXPORT_DER_FAIL);return Buffer.from(c.keyFromPrivate(e).getPublic(t,!0))},r.privateKeyTweakAdd=function(e,t){var r=new o(t);if(r.cmp(f.n)>=0)throw new Error(a.EC_PRIVATE_KEY_TWEAK_ADD_FAIL);if(r.iadd(new o(e)),r.cmp(f.n)>=0&&r.isub(f.n),r.isZero())throw new Error(a.EC_PRIVATE_KEY_TWEAK_ADD_FAIL);return r.toArrayLike(Buffer,"be",32)},r.privateKeyTweakMul=function(e,t){var r=new o(t);if(r.cmp(f.n)>=0||r.isZero())throw new Error(a.EC_PRIVATE_KEY_TWEAK_MUL_FAIL);return r.imul(new o(e)),r.cmp(f.n)&&(r=r.umod(f.n)),r.toArrayLike(Buffer,"be",32)},r.publicKeyCreate=function(e,t){var r=new o(e);if(r.cmp(f.n)>=0||r.isZero())throw new Error(a.EC_PUBLIC_KEY_CREATE_FAIL);return Buffer.from(c.keyFromPrivate(e).getPublic(t,!0))},r.publicKeyConvert=function(e,t){var r=n(e);if(null===r)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);return Buffer.from(r.getPublic(t,!0))},r.publicKeyVerify=function(e){return null!==n(e)},r.publicKeyTweakAdd=function(e,t,r){var i=n(e);if(null===i)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);if((t=new o(t)).cmp(f.n)>=0)throw new Error(a.EC_PUBLIC_KEY_TWEAK_ADD_FAIL);return Buffer.from(f.g.mul(t).add(i.pub).encode(!0,r))},r.publicKeyTweakMul=function(e,t,r){var i=n(e);if(null===i)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);if((t=new o(t)).cmp(f.n)>=0||t.isZero())throw new Error(a.EC_PUBLIC_KEY_TWEAK_MUL_FAIL);return Buffer.from(i.pub.mul(t).encode(!0,r))},r.publicKeyCombine=function(e,t){for(var r=new Array(e.length),i=0;i<e.length;++i)if(r[i]=n(e[i]),null===r[i])throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);for(var o=r[0].pub,s=1;s<r.length;++s)o=o.add(r[s].pub);if(o.isInfinity())throw new Error(a.EC_PUBLIC_KEY_COMBINE_FAIL);return Buffer.from(o.encode(!0,t))},r.signatureNormalize=function(e){var t=new o(e.slice(0,32)),r=new o(e.slice(32,64));if(t.cmp(f.n)>=0||r.cmp(f.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);var n=Buffer.from(e);return 1===r.cmp(c.nh)&&f.n.sub(r).toArrayLike(Buffer,"be",32).copy(n,32),n},r.signatureExport=function(e){var t=e.slice(0,32),r=e.slice(32,64);if(new o(t).cmp(f.n)>=0||new o(r).cmp(f.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);return{r:t,s:r}},r.signatureImport=function(e){var t=new o(e.r);t.cmp(f.n)>=0&&(t=new o(0));var r=new o(e.s);return r.cmp(f.n)>=0&&(r=new o(0)),Buffer.concat([t.toArrayLike(Buffer,"be",32),r.toArrayLike(Buffer,"be",32)])},r.sign=function(e,t,r,n){if("function"==typeof r){var i=r;r=function(r){var s=i(e,t,null,n,r);if(!Buffer.isBuffer(s)||32!==s.length)throw new Error(a.ECDSA_SIGN_FAIL);return new o(s)}}var s=new o(t);if(s.cmp(f.n)>=0||s.isZero())throw new Error(a.ECDSA_SIGN_FAIL);var u=c.sign(e,t,{canonical:!0,k:r,pers:n});return{signature:Buffer.concat([u.r.toArrayLike(Buffer,"be",32),u.s.toArrayLike(Buffer,"be",32)]),recovery:u.recoveryParam}},r.verify=function(e,t,r){var i={r:t.slice(0,32),s:t.slice(32,64)},s=new o(i.r),u=new o(i.s);if(s.cmp(f.n)>=0||u.cmp(f.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);if(1===u.cmp(c.nh)||s.isZero()||u.isZero())return!1;var h=n(r);if(null===h)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);return c.verify(e,i,{x:h.pub.x,y:h.pub.y})},r.recover=function(e,t,r,n){var i={r:t.slice(0,32),s:t.slice(32,64)},s=new o(i.r),u=new o(i.s);if(s.cmp(f.n)>=0||u.cmp(f.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);try{if(s.isZero()||u.isZero())throw new Error;var h=c.recoverPubKey(e,i,r);return Buffer.from(h.encode(!0,n))}catch(e){throw new Error(a.ECDSA_RECOVER_FAIL)}},r.ecdh=function(e,t){var n=r.ecdhUnsafe(e,t,!0);return i("sha256").update(n).digest()},r.ecdhUnsafe=function(e,t,r){var i=n(e);if(null===i)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);var s=new o(t);if(s.cmp(f.n)>=0||s.isZero())throw new Error(a.ECDH_FAIL);return Buffer.from(i.pub.mul(s).encode(!0,r))}},{"../messages.json":319,"bn.js":320,"create-hash":130,elliptic:321,"safe-buffer":313}],318:[function(e,t,r){"use strict";function n(e,t){return void 0===e?t:(i.isBoolean(e,s.COMPRESSED_TYPE_INVALID),e)}var i=e("./assert"),o=e("./der"),s=e("./messages.json");t.exports=function(e){return{privateKeyVerify:function(t){return i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),32===t.length&&e.privateKeyVerify(t)},privateKeyExport:function(t,r){i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),r=n(r,!0);var a=e.privateKeyExport(t,r);return o.privateKeyExport(t,a,r)},privateKeyImport:function(t){if(i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),(t=o.privateKeyImport(t))&&32===t.length&&e.privateKeyVerify(t))return t;throw new Error(s.EC_PRIVATE_KEY_IMPORT_DER_FAIL)},privateKeyTweakAdd:function(t,r){return i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),i.isBuffer(r,s.TWEAK_TYPE_INVALID),i.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),e.privateKeyTweakAdd(t,r)},privateKeyTweakMul:function(t,r){return i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),i.isBuffer(r,s.TWEAK_TYPE_INVALID),i.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),e.privateKeyTweakMul(t,r)},publicKeyCreate:function(t,r){return i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),r=n(r,!0),e.publicKeyCreate(t,r)},publicKeyConvert:function(t,r){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),r=n(r,!0),e.publicKeyConvert(t,r)},publicKeyVerify:function(t){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),e.publicKeyVerify(t)},publicKeyTweakAdd:function(t,r,o){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),i.isBuffer(r,s.TWEAK_TYPE_INVALID),i.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),o=n(o,!0),e.publicKeyTweakAdd(t,r,o)},publicKeyTweakMul:function(t,r,o){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),i.isBuffer(r,s.TWEAK_TYPE_INVALID),i.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),o=n(o,!0),e.publicKeyTweakMul(t,r,o)},publicKeyCombine:function(t,r){i.isArray(t,s.EC_PUBLIC_KEYS_TYPE_INVALID),i.isLengthGTZero(t,s.EC_PUBLIC_KEYS_LENGTH_INVALID);for(var o=0;o<t.length;++o)i.isBuffer(t[o],s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t[o],33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID);return r=n(r,!0),e.publicKeyCombine(t,r)},signatureNormalize:function(t){return i.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isBufferLength(t,64,s.ECDSA_SIGNATURE_LENGTH_INVALID),e.signatureNormalize(t)},signatureExport:function(t){i.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isBufferLength(t,64,s.ECDSA_SIGNATURE_LENGTH_INVALID);var r=e.signatureExport(t);return o.signatureExport(r)},signatureImport:function(t){i.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isLengthGTZero(t,s.ECDSA_SIGNATURE_LENGTH_INVALID);var r=o.signatureImport(t);if(r)return e.signatureImport(r);throw new Error(s.ECDSA_SIGNATURE_PARSE_DER_FAIL)},signatureImportLax:function(t){i.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isLengthGTZero(t,s.ECDSA_SIGNATURE_LENGTH_INVALID);var r=o.signatureImportLax(t);if(r)return e.signatureImport(r);throw new Error(s.ECDSA_SIGNATURE_PARSE_DER_FAIL)},sign:function(t,r,n){i.isBuffer(t,s.MSG32_TYPE_INVALID),i.isBufferLength(t,32,s.MSG32_LENGTH_INVALID),i.isBuffer(r,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(r,32,s.EC_PRIVATE_KEY_LENGTH_INVALID);var o=null,a=null;return void 0!==n&&(i.isObject(n,s.OPTIONS_TYPE_INVALID),void 0!==n.data&&(i.isBuffer(n.data,s.OPTIONS_DATA_TYPE_INVALID),i.isBufferLength(n.data,32,s.OPTIONS_DATA_LENGTH_INVALID),o=n.data),void 0!==n.noncefn&&(i.isFunction(n.noncefn,s.OPTIONS_NONCEFN_TYPE_INVALID),a=n.noncefn)),e.sign(t,r,a,o)},verify:function(t,r,n){return i.isBuffer(t,s.MSG32_TYPE_INVALID),i.isBufferLength(t,32,s.MSG32_LENGTH_INVALID),i.isBuffer(r,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isBufferLength(r,64,s.ECDSA_SIGNATURE_LENGTH_INVALID),i.isBuffer(n,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(n,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),e.verify(t,r,n)},recover:function(t,r,o,a){return i.isBuffer(t,s.MSG32_TYPE_INVALID),i.isBufferLength(t,32,s.MSG32_LENGTH_INVALID),i.isBuffer(r,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isBufferLength(r,64,s.ECDSA_SIGNATURE_LENGTH_INVALID),i.isNumber(o,s.RECOVERY_ID_TYPE_INVALID),i.isNumberInInterval(o,-1,4,s.RECOVERY_ID_VALUE_INVALID),a=n(a,!0),e.recover(t,r,o,a)},ecdh:function(t,r){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),i.isBuffer(r,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(r,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),e.ecdh(t,r)},ecdhUnsafe:function(t,r,o){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),i.isBuffer(r,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(r,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),o=n(o,!0),e.ecdhUnsafe(t,r,o)}}}},{"./assert":315,"./der":316,"./messages.json":319}],319:[function(e,t,r){t.exports={COMPRESSED_TYPE_INVALID:"compressed should be a boolean",EC_PRIVATE_KEY_TYPE_INVALID:"private key should be a Buffer",EC_PRIVATE_KEY_LENGTH_INVALID:"private key length is invalid",EC_PRIVATE_KEY_TWEAK_ADD_FAIL:"tweak out of range or resulting private key is invalid",EC_PRIVATE_KEY_TWEAK_MUL_FAIL:"tweak out of range",EC_PRIVATE_KEY_EXPORT_DER_FAIL:"couldn't export to DER format",EC_PRIVATE_KEY_IMPORT_DER_FAIL:"couldn't import from DER format",EC_PUBLIC_KEYS_TYPE_INVALID:"public keys should be an Array",EC_PUBLIC_KEYS_LENGTH_INVALID:"public keys Array should have at least 1 element",EC_PUBLIC_KEY_TYPE_INVALID:"public key should be a Buffer",EC_PUBLIC_KEY_LENGTH_INVALID:"public key length is invalid",EC_PUBLIC_KEY_PARSE_FAIL:"the public key could not be parsed or is invalid",EC_PUBLIC_KEY_CREATE_FAIL:"private was invalid, try again",EC_PUBLIC_KEY_TWEAK_ADD_FAIL:"tweak out of range or resulting public key is invalid",EC_PUBLIC_KEY_TWEAK_MUL_FAIL:"tweak out of range",EC_PUBLIC_KEY_COMBINE_FAIL:"the sum of the public keys is not valid",ECDH_FAIL:"scalar was invalid (zero or overflow)",ECDSA_SIGNATURE_TYPE_INVALID:"signature should be a Buffer",ECDSA_SIGNATURE_LENGTH_INVALID:"signature length is invalid",ECDSA_SIGNATURE_PARSE_FAIL:"couldn't parse signature",ECDSA_SIGNATURE_PARSE_DER_FAIL:"couldn't parse DER signature",ECDSA_SIGNATURE_SERIALIZE_DER_FAIL:"couldn't serialize signature to DER format",ECDSA_SIGN_FAIL:"nonce generation function failed or private key is invalid",ECDSA_RECOVER_FAIL:"couldn't recover public key from signature",MSG32_TYPE_INVALID:"message should be a Buffer",MSG32_LENGTH_INVALID:"message length is invalid",OPTIONS_TYPE_INVALID:"options should be an Object",OPTIONS_DATA_TYPE_INVALID:"options.data should be a Buffer",OPTIONS_DATA_LENGTH_INVALID:"options.data length is invalid",OPTIONS_NONCEFN_TYPE_INVALID:"options.noncefn should be a Function",RECOVERY_ID_TYPE_INVALID:"recovery should be a Number",RECOVERY_ID_VALUE_INVALID:"recovery should have value between -1 and 4",TWEAK_TYPE_INVALID:"tweak should be a Buffer",TWEAK_LENGTH_INVALID:"tweak length is invalid"}},{}],320:[function(e,t,r){arguments[4][113][0].apply(r,arguments)},{buffer:77,dup:113}],321:[function(e,t,r){arguments[4][114][0].apply(r,arguments)},{"../package.json":336,"./elliptic/curve":324,"./elliptic/curves":327,"./elliptic/ec":328,"./elliptic/eddsa":331,"./elliptic/utils":335,brorand:76,dup:114}],322:[function(e,t,r){arguments[4][115][0].apply(r,arguments)},{"../../elliptic":321,"bn.js":320,dup:115}],323:[function(e,t,r){arguments[4][116][0].apply(r,arguments)},{"../../elliptic":321,"../curve":324,"bn.js":320,dup:116,inherits:248}],324:[function(e,t,r){arguments[4][117][0].apply(r,arguments)},{"./base":322,"./edwards":323,"./mont":325,"./short":326,dup:117}],325:[function(e,t,r){arguments[4][118][0].apply(r,arguments)},{"../../elliptic":321,"../curve":324,"bn.js":320,dup:118,inherits:248}],326:[function(e,t,r){arguments[4][119][0].apply(r,arguments)},{"../../elliptic":321,"../curve":324,"bn.js":320,dup:119,inherits:248}],327:[function(e,t,r){arguments[4][120][0].apply(r,arguments)},{"../elliptic":321,"./precomputed/secp256k1":334,dup:120,"hash.js":233}],328:[function(e,t,r){arguments[4][121][0].apply(r,arguments)},{"../../elliptic":321,"./key":329,"./signature":330,"bn.js":320,dup:121,"hmac-drbg":245}],329:[function(e,t,r){arguments[4][122][0].apply(r,arguments)},{"../../elliptic":321,"bn.js":320,dup:122}],330:[function(e,t,r){arguments[4][123][0].apply(r,arguments)},{"../../elliptic":321,"bn.js":320,dup:123}],331:[function(e,t,r){arguments[4][124][0].apply(r,arguments)},{"../../elliptic":321,"./key":332,"./signature":333,dup:124,"hash.js":233}],332:[function(e,t,r){arguments[4][125][0].apply(r,arguments)},{"../../elliptic":321,dup:125}],333:[function(e,t,r){arguments[4][126][0].apply(r,arguments)},{"../../elliptic":321,"bn.js":320,dup:126}],334:[function(e,t,r){arguments[4][127][0].apply(r,arguments)},{dup:127}],335:[function(e,t,r){arguments[4][128][0].apply(r,arguments)},{"bn.js":320,dup:128,"minimalistic-assert":257,"minimalistic-crypto-utils":258}],336:[function(e,t,r){t.exports={_args:[[{raw:"elliptic@^6.2.3",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.2.3",spec:">=6.2.3 <7.0.0",type:"range"},"/work/blocktrail-sdk-nodejs/node_modules/secp256k1"]],_from:"elliptic@>=6.2.3 <7.0.0",_id:"[email protected]",_inCache:!0,_location:"/secp256k1/elliptic",_nodeVersion:"7.0.0",_npmOperationalInternal:{host:"packages-18-east.internal.npmjs.com",tmp:"tmp/elliptic-6.4.0.tgz_1487798866428_0.30510620190761983"},_npmUser:{name:"indutny",email:"[email protected]"},_npmVersion:"3.10.8",_phantomChildren:{},_requested:{raw:"elliptic@^6.2.3",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.2.3",spec:">=6.2.3 <7.0.0",type:"range"},_requiredBy:["/secp256k1"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz",_shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",_shrinkwrap:null,_spec:"elliptic@^6.2.3",_where:"/work/blocktrail-sdk-nodejs/node_modules/secp256k1",author:{name:"Fedor Indutny",email:"[email protected]"},bugs:{url:"https://github.com/indutny/elliptic/issues"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},directories:{},dist:{shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",tarball:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz"},files:["lib"],gitHead:"6b0d2b76caae91471649c8e21f0b1d3ba0f96090",homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",maintainers:[{name:"indutny",email:"[email protected]"}],name:"elliptic",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git+ssh://[email protected]/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.4.0"}},{}],337:[function(e,t,r){function n(e,t){this._block=Buffer.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}var Buffer=e("safe-buffer").Buffer;n.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=Buffer.from(e,t));for(var r=this._block,n=this._blockSize,i=e.length,o=this._len,s=0;s<i;){for(var a=o%n,c=Math.min(i-s,n-a),f=0;f<c;f++)r[a+f]=e[s+f];s+=c,(o+=c)%n==0&&this._update(r)}return this._len+=i,this},n.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=4294967295&r,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},n.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=n},{"safe-buffer":313}],338:[function(e,t,r){(r=t.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t}).sha=e("./sha"),r.sha1=e("./sha1"),r.sha224=e("./sha224"),r.sha256=e("./sha256"),r.sha384=e("./sha384"),r.sha512=e("./sha512")},{"./sha":339,"./sha1":340,"./sha224":341,"./sha256":342,"./sha384":343,"./sha512":344}],339:[function(e,t,r){function n(){this.init(),this._w=u,c.call(this,64,56)}function i(e){return e<<5|e>>>27}function o(e){return e<<30|e>>>2}function s(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}var a=e("inherits"),c=e("./hash"),Buffer=e("safe-buffer").Buffer,f=[1518500249,1859775393,-1894007588,-899497514],u=new Array(80);a(n,c),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(e){for(var t=this._w,r=0|this._a,n=0|this._b,a=0|this._c,c=0|this._d,u=0|this._e,h=0;h<16;++h)t[h]=e.readInt32BE(4*h);for(;h<80;++h)t[h]=t[h-3]^t[h-8]^t[h-14]^t[h-16];for(var l=0;l<80;++l){var d=~~(l/20),p=i(r)+s(d,n,a,c)+u+t[l]+f[d]|0;u=c,c=a,a=o(n),n=r,r=p}this._a=r+this._a|0,this._b=n+this._b|0,this._c=a+this._c|0,this._d=c+this._d|0,this._e=u+this._e|0},n.prototype._hash=function(){var e=Buffer.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=n},{"./hash":337,inherits:248,"safe-buffer":313}],340:[function(e,t,r){function n(){this.init(),this._w=h,f.call(this,64,56)}function i(e){return e<<1|e>>>31}function o(e){return e<<5|e>>>27}function s(e){return e<<30|e>>>2}function a(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}var c=e("inherits"),f=e("./hash"),Buffer=e("safe-buffer").Buffer,u=[1518500249,1859775393,-1894007588,-899497514],h=new Array(80);c(n,f),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(e){for(var t=this._w,r=0|this._a,n=0|this._b,c=0|this._c,f=0|this._d,h=0|this._e,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=i(t[l-3]^t[l-8]^t[l-14]^t[l-16]);for(var d=0;d<80;++d){var p=~~(d/20),b=o(r)+a(p,n,c,f)+h+t[d]+u[p]|0;h=f,f=c,c=s(n),n=r,r=b}this._a=r+this._a|0,this._b=n+this._b|0,this._c=c+this._c|0,this._d=f+this._d|0,this._e=h+this._e|0},n.prototype._hash=function(){var e=Buffer.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=n},{"./hash":337,inherits:248,"safe-buffer":313}],341:[function(e,t,r){function n(){this.init(),this._w=a,s.call(this,64,56)}var i=e("inherits"),o=e("./sha256"),s=e("./hash"),Buffer=e("safe-buffer").Buffer,a=new Array(64);i(n,o),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 e=Buffer.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=n},{"./hash":337,"./sha256":342,inherits:248,"safe-buffer":313}],342:[function(e,t,r){function n(){this.init(),this._w=d,h.call(this,64,56)}function i(e,t,r){return r^e&(t^r)}function o(e,t,r){return e&t|r&(e|t)}function s(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function a(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function c(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function f(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}var u=e("inherits"),h=e("./hash"),Buffer=e("safe-buffer").Buffer,l=[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],d=new Array(64);u(n,h),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(e){for(var t=this._w,r=0|this._a,n=0|this._b,u=0|this._c,h=0|this._d,d=0|this._e,p=0|this._f,b=0|this._g,y=0|this._h,v=0;v<16;++v)t[v]=e.readInt32BE(4*v);for(;v<64;++v)t[v]=f(t[v-2])+t[v-7]+c(t[v-15])+t[v-16]|0;for(var m=0;m<64;++m){var g=y+a(d)+i(d,p,b)+l[m]+t[m]|0,w=s(r)+o(r,n,u)|0;y=b,b=p,p=d,d=h+g|0,h=u,u=n,n=r,r=g+w|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=u+this._c|0,this._d=h+this._d|0,this._e=d+this._e|0,this._f=p+this._f|0,this._g=b+this._g|0,this._h=y+this._h|0},n.prototype._hash=function(){var e=Buffer.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=n},{"./hash":337,inherits:248,"safe-buffer":313}],343:[function(e,t,r){function n(){this.init(),this._w=a,s.call(this,128,112)}var i=e("inherits"),o=e("./sha512"),s=e("./hash"),Buffer=e("safe-buffer").Buffer,a=new Array(160);i(n,o),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 e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}var t=Buffer.allocUnsafe(48);return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=n},{"./hash":337,"./sha512":344,inherits:248,"safe-buffer":313}],344:[function(e,t,r){function n(){this.init(),this._w=y,p.call(this,128,112)}function i(e,t,r){return r^e&(t^r)}function o(e,t,r){return e&t|r&(e|t)}function s(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function a(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function c(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function u(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function h(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function l(e,t){return e>>>0<t>>>0?1:0}var d=e("inherits"),p=e("./hash"),Buffer=e("safe-buffer").Buffer,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],y=new Array(160);d(n,p),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(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,d=0|this._ch,p=0|this._dh,y=0|this._eh,v=0|this._fh,m=0|this._gh,g=0|this._hh,w=0|this._al,_=0|this._bl,E=0|this._cl,S=0|this._dl,k=0|this._el,A=0|this._fl,x=0|this._gl,I=0|this._hl,T=0;T<32;T+=2)t[T]=e.readInt32BE(4*T),t[T+1]=e.readInt32BE(4*T+4);for(;T<160;T+=2){var B=t[T-30],P=t[T-30+1],M=c(B,P),C=f(P,B),R=u(B=t[T-4],P=t[T-4+1]),O=h(P,B),L=t[T-14],j=t[T-14+1],N=t[T-32],D=t[T-32+1],U=C+j|0,K=M+L+l(U,C)|0;K=(K=K+R+l(U=U+O|0,O)|0)+N+l(U=U+D|0,D)|0,t[T]=K,t[T+1]=U}for(var H=0;H<160;H+=2){K=t[H],U=t[H+1];var z=o(r,n,d),q=o(w,_,E),F=s(r,w),W=s(w,r),V=a(y,k),G=a(k,y),Y=b[H],J=b[H+1],X=i(y,v,m),Z=i(k,A,x),$=I+G|0,Q=g+V+l($,I)|0;Q=(Q=(Q=Q+X+l($=$+Z|0,Z)|0)+Y+l($=$+J|0,J)|0)+K+l($=$+U|0,U)|0;var ee=W+q|0,te=F+z+l(ee,W)|0;g=m,I=x,m=v,x=A,v=y,A=k,y=p+Q+l(k=S+$|0,S)|0,p=d,S=E,d=n,E=_,n=r,_=w,r=Q+te+l(w=$+ee|0,$)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+E|0,this._dl=this._dl+S|0,this._el=this._el+k|0,this._fl=this._fl+A|0,this._gl=this._gl+x|0,this._hl=this._hl+I|0,this._ah=this._ah+r+l(this._al,w)|0,this._bh=this._bh+n+l(this._bl,_)|0,this._ch=this._ch+d+l(this._cl,E)|0,this._dh=this._dh+p+l(this._dl,S)|0,this._eh=this._eh+y+l(this._el,k)|0,this._fh=this._fh+v+l(this._fl,A)|0,this._gh=this._gh+m+l(this._gl,x)|0,this._hh=this._hh+g+l(this._hl,I)|0},n.prototype._hash=function(){function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}var t=Buffer.allocUnsafe(64);return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=n},{"./hash":337,inherits:248,"safe-buffer":313}],345:[function(e,t,r){"use strict";function n(e,t,r){if(4!==t.length)throw new i.exception.invalid("invalid aes block size");var n=e.c[r],o=t[0]^n[0],s=t[r?3:1]^n[1],a=t[2]^n[2];t=t[r?1:3]^n[3];var c,f,u,h,l=n.length/4-2,d=4,p=[0,0,0,0];e=(c=e.j[r])[0];var b=c[1],y=c[2],v=c[3],m=c[4];for(h=0;h<l;h++)c=e[o>>>24]^b[s>>16&255]^y[a>>8&255]^v[255&t]^n[d],f=e[s>>>24]^b[a>>16&255]^y[t>>8&255]^v[255&o]^n[d+1],u=e[a>>>24]^b[t>>16&255]^y[o>>8&255]^v[255&s]^n[d+2],t=e[t>>>24]^b[o>>16&255]^y[s>>8&255]^v[255&a]^n[d+3],d+=4,o=c,s=f,a=u;for(h=0;4>h;h++)p[r?3&-h:h]=m[o>>>24]<<24^m[s>>16&255]<<16^m[a>>8&255]<<8^m[255&t]^n[d++],c=o,o=s,s=a,a=t,t=c;return p}var i={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(e){this.toString=function(){return"CORRUPT: "+this.message},this.message=e},invalid:function(e){this.toString=function(){return"INVALID: "+this.message},this.message=e},bug:function(e){this.toString=function(){return"BUG: "+this.message},this.message=e},notReady:function(e){this.toString=function(){return"NOT READY: "+this.message},this.message=e}}};i.cipher.aes=function(e){this.j[0][0][0]||this.m();var t,r,n,o,s=this.j[0][4],a=this.j[1],c=1;if(4!==(t=e.length)&&6!==t&&8!==t)throw new i.exception.invalid("invalid aes key size");for(this.c=[n=e.slice(0),o=[]],e=t;e<4*t+28;e++)r=n[e-1],(0==e%t||8===t&&4==e%t)&&(r=s[r>>>24]<<24^s[r>>16&255]<<16^s[r>>8&255]<<8^s[255&r],0==e%t&&(r=r<<8^r>>>24^c<<24,c=c<<1^283*(c>>7))),n[e]=n[e-t]^r;for(t=0;e;t++,e--)r=n[3&t?e:e-4],o[t]=4>=e||4>t?r:a[0][s[r>>>24]]^a[1][s[r>>16&255]]^a[2][s[r>>8&255]]^a[3][s[255&r]]},i.cipher.aes.prototype={encrypt:function(e){return n(this,e,0)},decrypt:function(e){return n(this,e,1)},j:[[[],[],[],[],[]],[[],[],[],[],[]]],m:function(){var e,t,r,n,i,o,s,a=this.j[0],c=this.j[1],f=a[4],u=c[4],h=[],l=[];for(e=0;256>e;e++)l[(h[e]=e<<1^283*(e>>7))^e]=e;for(t=r=0;!f[t];t^=n||1,r=l[r]||1)for(o=r^r<<1^r<<2^r<<3^r<<4,o=o>>8^255&o^99,f[t]=o,u[o]=t,i=h[e=h[n=h[t]]],s=16843009*i^65537*e^257*n^16843008*t,i=257*h[o]^16843008*o,e=0;4>e;e++)a[e][t]=i=i<<24^i>>>8,c[e][o]=s=s<<24^s>>>8;for(e=0;5>e;e++)a[e]=a[e].slice(0),c[e]=c[e].slice(0)}},i.bitArray={bitSlice:function(e,t,r){return e=i.bitArray.v(e.slice(t/32),32-(31&t)).slice(1),void 0===r?e:i.bitArray.clamp(e,r-t)},extract:function(e,t,r){var n=Math.floor(-t-r&31);return(-32&(t+r-1^t)?e[t/32|0]<<32-n^e[t/32+1|0]>>>n:e[t/32|0]>>>n)&(1<<r)-1},concat:function(e,t){if(0===e.length||0===t.length)return e.concat(t);var r=e[e.length-1],n=i.bitArray.getPartial(r);return 32===n?e.concat(t):i.bitArray.v(t,n,0|r,e.slice(0,e.length-1))},bitLength:function(e){var t=e.length;return 0===t?0:32*(t-1)+i.bitArray.getPartial(e[t-1])},clamp:function(e,t){if(32*e.length<t)return e;var r=(e=e.slice(0,Math.ceil(t/32))).length;return t&=31,0<r&&t&&(e[r-1]=i.bitArray.partial(t,e[r-1]&2147483648>>t-1,1)),e},partial:function(e,t,r){return 32===e?t:(r?0|t:t<<32-e)+1099511627776*e},getPartial:function(e){return Math.round(e/1099511627776)||32},equal:function(e,t){if(i.bitArray.bitLength(e)!==i.bitArray.bitLength(t))return!1;var r,n=0;for(r=0;r<e.length;r++)n|=e[r]^t[r];return 0===n},v:function(e,t,r,n){var o;for(o=0,void 0===n&&(n=[]);32<=t;t-=32)n.push(r),r=0;if(0===t)return n.concat(e);for(o=0;o<e.length;o++)n.push(r|e[o]>>>t),r=e[o]<<32-t;return o=e.length?e[e.length-1]:0,e=i.bitArray.getPartial(o),n.push(i.bitArray.partial(t+e&31,32<t+e?r:n.pop(),1)),n},D:function(e,t){return[e[0]^t[0],e[1]^t[1],e[2]^t[2],e[3]^t[3]]},byteswapM:function(e){var t,r;for(t=0;t<e.length;++t)r=e[t],e[t]=r>>>24|r>>>8&65280|(65280&r)<<8|r<<24;return e}},i.codec.utf8String={fromBits:function(e){var t,r,n="",o=i.bitArray.bitLength(e);for(t=0;t<o/8;t++)0==(3&t)&&(r=e[t/4]),n+=String.fromCharCode(r>>>24),r<<=8;return decodeURIComponent(escape(n))},toBits:function(e){e=unescape(encodeURIComponent(e));var t,r=[],n=0;for(t=0;t<e.length;t++)n=n<<8|e.charCodeAt(t),3==(3&t)&&(r.push(n),n=0);return 3&t&&r.push(i.bitArray.partial(8*(3&t),n)),r}},i.codec.hex={fromBits:function(e){var t,r="";for(t=0;t<e.length;t++)r+=(0xf00000000000+(0|e[t])).toString(16).substr(4);return r.substr(0,i.bitArray.bitLength(e)/4)},toBits:function(e){var t,r,n=[];for(r=(e=e.replace(/\s|0x/g,"")).length,e+="00000000",t=0;t<e.length;t+=8)n.push(0^parseInt(e.substr(t,8),16));return i.bitArray.clamp(n,4*r)}},i.hash.sha256=function(e){this.c[0]||this.m(),e?(this.f=e.f.slice(0),this.b=e.b.slice(0),this.a=e.a):this.reset()},i.hash.sha256.hash=function(e){return(new i.hash.sha256).update(e).finalize()},i.hash.sha256.prototype={blockSize:512,reset:function(){return this.f=this.i.slice(0),this.b=[],this.a=0,this},update:function(e){"string"==typeof e&&(e=i.codec.utf8String.toBits(e));var t,r=this.b=i.bitArray.concat(this.b,e);if(t=this.a,9007199254740991<(e=this.a=t+i.bitArray.bitLength(e)))throw new i.exception.invalid("Cannot hash more than 2^53 - 1 bits");if("undefined"!=typeof Uint32Array){var n=new Uint32Array(r),o=0;for(t=512+t-(512+t&511);t<=e;t+=512)this.g(n.subarray(16*o,16*(o+1))),o+=1;r.splice(0,16*o)}else for(t=512+t-(512+t&511);t<=e;t+=512)this.g(r.splice(0,16));return this},finalize:function(){var e,t=this.b,r=this.f;for(e=(t=i.bitArray.concat(t,[i.bitArray.partial(1,1)])).length+2;15&e;e++)t.push(0);for(t.push(Math.floor(this.a/4294967296)),t.push(0|this.a);t.length;)this.g(t.splice(0,16));return this.reset(),r},i:[],c:[],m:function(){function e(e){return 4294967296*(e-Math.floor(e))|0}for(var t,r,n=0,i=2;64>n;i++){for(r=!0,t=2;t*t<=i;t++)if(0==i%t){r=!1;break}r&&(8>n&&(this.i[n]=e(Math.pow(i,.5))),this.c[n]=e(Math.pow(i,1/3)),n++)}},g:function(e){var t,r,n,i=this.f,o=this.c,s=i[0],a=i[1],c=i[2],f=i[3],u=i[4],h=i[5],l=i[6],d=i[7];for(t=0;64>t;t++)16>t?r=e[t]:(r=e[t+1&15],n=e[t+14&15],r=e[15&t]=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(n>>>17^n>>>19^n>>>10^n<<15^n<<13)+e[15&t]+e[t+9&15]|0),r=r+d+(u>>>6^u>>>11^u>>>25^u<<26^u<<21^u<<7)+(l^u&(h^l))+o[t],d=l,l=h,h=u,u=f+r|0,f=c,c=a,a=s,s=r+(a&c^f&(a^c))+(a>>>2^a>>>13^a>>>22^a<<30^a<<19^a<<10)|0;i[0]=i[0]+s|0,i[1]=i[1]+a|0,i[2]=i[2]+c|0,i[3]=i[3]+f|0,i[4]=i[4]+u|0,i[5]=i[5]+h|0,i[6]=i[6]+l|0,i[7]=i[7]+d|0}},i.hash.sha512=function(e){this.c[0]||this.m(),e?(this.f=e.f.slice(0),this.b=e.b.slice(0),this.a=e.a):this.reset()},i.hash.sha512.hash=function(e){return(new i.hash.sha512).update(e).finalize()},i.hash.sha512.prototype={blockSize:1024,reset:function(){return this.f=this.i.slice(0),this.b=[],this.a=0,this},update:function(e){"string"==typeof e&&(e=i.codec.utf8String.toBits(e));var t,r=this.b=i.bitArray.concat(this.b,e);if(t=this.a,9007199254740991<(e=this.a=t+i.bitArray.bitLength(e)))throw new i.exception.invalid("Cannot hash more than 2^53 - 1 bits");if("undefined"!=typeof Uint32Array){var n=new Uint32Array(r),o=0;for(t=1024+t-(1024+t&1023);t<=e;t+=1024)this.g(n.subarray(32*o,32*(o+1))),o+=1;r.splice(0,32*o)}else for(t=1024+t-(1024+t&1023);t<=e;t+=1024)this.g(r.splice(0,32));return this},finalize:function(){var e,t=this.b,r=this.f;for(e=(t=i.bitArray.concat(t,[i.bitArray.partial(1,1)])).length+4;31&e;e++)t.push(0);for(t.push(0),t.push(0),t.push(Math.floor(this.a/4294967296)),t.push(0|this.a);t.length;)this.g(t.splice(0,32));return this.reset(),r},i:[],B:[12372232,13281083,9762859,1914609,15106769,4090911,4308331,8266105],c:[],C:[2666018,15689165,5061423,9034684,4764984,380953,1658779,7176472,197186,7368638,14987916,16757986,8096111,1480369,13046325,6891156,15813330,5187043,9229749,11312229,2818677,10937475,4324308,1135541,6741931,11809296,16458047,15666916,11046850,698149,229999,945776,13774844,2541862,12856045,9810911,11494366,7844520,15576806,8533307,15795044,4337665,16291729,5553712,15684120,6662416,7413802,12308920,13816008,4303699,9366425,10176680,13195875,4295371,6546291,11712675,15708924,1519456,15772530,6568428,6495784,8568297,13007125,7492395,2515356,12632583,14740254,7262584,1535930,13146278,16321966,1853211,294276,13051027,13221564,1051980,4080310,6651434,14088940,4675607],m:function(){function e(e){return 4294967296*(e-Math.floor(e))|0}function t(e){return 1099511627776*(e-Math.floor(e))&255}for(var r,n,i=0,o=2;80>i;o++){for(n=!0,r=2;r*r<=o;r++)if(0==o%r){n=!1;break}n&&(8>i&&(this.i[2*i]=e(Math.pow(o,.5)),this.i[2*i+1]=t(Math.pow(o,.5))<<24|this.B[i]),this.c[2*i]=e(Math.pow(o,1/3)),this.c[2*i+1]=t(Math.pow(o,1/3))<<24|this.C[i],i++)}},g:function(e){var t,r,n,i=this.f,o=this.c,s=i[0],a=i[1],c=i[2],f=i[3],u=i[4],h=i[5],l=i[6],d=i[7],p=i[8],b=i[9],y=i[10],v=i[11],m=i[12],g=i[13],w=i[14],_=i[15];if("undefined"!=typeof Uint32Array){n=Array(160);for(E=0;32>E;E++)n[E]=e[E]}else n=e;var E=s,S=a,k=c,A=f,x=u,I=h,T=l,B=d,P=p,M=b,C=y,R=v,O=m,L=g,j=w,N=_;for(e=0;80>e;e++){if(16>e)t=n[2*e],r=n[2*e+1];else{r=n[2*(e-15)];t=((D=n[2*(e-15)+1])<<31|r>>>1)^(D<<24|r>>>8)^r>>>7;G=(r<<31|D>>>1)^(r<<24|D>>>8)^(r<<25|D>>>7);r=n[2*(e-2)];var D=((U=n[2*(e-2)+1])<<13|r>>>19)^(r<<3|U>>>29)^r>>>6,U=(r<<13|U>>>19)^(U<<3|r>>>29)^(r<<26|U>>>6),K=n[2*(e-7)],H=n[2*(e-16)],z=n[2*(e-16)+1];t=t+K+((r=G+n[2*(e-7)+1])>>>0<G>>>0?1:0),t+=D+((r+=U)>>>0<U>>>0?1:0),t+=H+((r+=z)>>>0<z>>>0?1:0)}n[2*e]=t|=0,n[2*e+1]=r|=0;var K=P&C^~P&O,q=M&R^~M&L,U=E&k^E&x^k&x,F=S&A^S&I^A&I,H=(S<<4|E>>>28)^(E<<30|S>>>2)^(E<<25|S>>>7),z=(E<<4|S>>>28)^(S<<30|E>>>2)^(S<<25|E>>>7),W=o[2*e],V=o[2*e+1],G=(G=(G=(G=j+((M<<18|P>>>14)^(M<<14|P>>>18)^(P<<23|M>>>9))+((D=N+((P<<18|M>>>14)^(P<<14|M>>>18)^(M<<23|P>>>9)))>>>0<N>>>0?1:0))+(K+((D=D+q)>>>0<q>>>0?1:0)))+(W+((D=D+V)>>>0<V>>>0?1:0)))+(t+((D=D+r|0)>>>0<r>>>0?1:0));t=H+U+((r=z+F)>>>0<z>>>0?1:0),j=O,N=L,O=C,L=R,C=P,R=M,P=T+G+((M=B+D|0)>>>0<B>>>0?1:0)|0,T=x,B=I,x=k,I=A,k=E,A=S,E=G+t+((S=D+r|0)>>>0<D>>>0?1:0)|0}a=i[1]=a+S|0,i[0]=s+E+(a>>>0<S>>>0?1:0)|0,f=i[3]=f+A|0,i[2]=c+k+(f>>>0<A>>>0?1:0)|0,h=i[5]=h+I|0,i[4]=u+x+(h>>>0<I>>>0?1:0)|0,d=i[7]=d+B|0,i[6]=l+T+(d>>>0<B>>>0?1:0)|0,b=i[9]=b+M|0,i[8]=p+P+(b>>>0<M>>>0?1:0)|0,v=i[11]=v+R|0,i[10]=y+C+(v>>>0<R>>>0?1:0)|0,g=i[13]=g+L|0,i[12]=m+O+(g>>>0<L>>>0?1:0)|0,_=i[15]=_+N|0,i[14]=w+j+(_>>>0<N>>>0?1:0)|0}},i.mode.gcm={name:"gcm",encrypt:function(e,t,r,n,o){var s=t.slice(0);return t=i.bitArray,n=n||[],e=i.mode.gcm.s(!0,e,s,n,r,o||128),t.concat(e.data,e.tag)},decrypt:function(e,t,r,n,o){var s=t.slice(0),a=i.bitArray,c=a.bitLength(s);if(o=o||128,n=n||[],o<=c?(t=a.bitSlice(s,c-o),s=a.bitSlice(s,0,c-o)):(t=s,s=[]),e=i.mode.gcm.s(!1,e,s,n,r,o),!a.equal(e.tag,t))throw new i.exception.corrupt("gcm: tag doesn't match");return e.data},A:function(e,t){var r,n,o,s,a,c=i.bitArray.D;for(o=[0,0,0,0],s=t.slice(0),r=0;128>r;r++){for((n=0!=(e[Math.floor(r/32)]&1<<31-r%32))&&(o=c(o,s)),a=0!=(1&s[3]),n=3;0<n;n--)s[n]=s[n]>>>1|(1&s[n-1])<<31;s[0]>>>=1,a&&(s[0]^=-520093696)}return o},h:function(e,t,r){var n,o=r.length;for(t=t.slice(0),n=0;n<o;n+=4)t[0]^=4294967295&r[n],t[1]^=4294967295&r[n+1],t[2]^=4294967295&r[n+2],t[3]^=4294967295&r[n+3],t=i.mode.gcm.A(t,e);return t},s:function(e,t,r,n,o,s){var a,c,f,u,h,l,d,p,b=i.bitArray;for(l=r.length,d=b.bitLength(r),p=b.bitLength(n),c=b.bitLength(o),a=t.encrypt([0,0,0,0]),96===c?(o=o.slice(0),o=b.concat(o,[1])):(o=i.mode.gcm.h(a,[0,0,0,0],o),o=i.mode.gcm.h(a,o,[0,0,Math.floor(c/4294967296),4294967295&c])),c=i.mode.gcm.h(a,[0,0,0,0],n),h=o.slice(0),n=c.slice(0),e||(n=i.mode.gcm.h(a,c,r)),u=0;u<l;u+=4)h[3]++,f=t.encrypt(h),r[u]^=f[0],r[u+1]^=f[1],r[u+2]^=f[2],r[u+3]^=f[3];return r=b.clamp(r,d),e&&(n=i.mode.gcm.h(a,c,r)),e=[Math.floor(p/4294967296),4294967295&p,Math.floor(d/4294967296),4294967295&d],n=i.mode.gcm.h(a,n,e),f=t.encrypt(o),n[0]^=f[0],n[1]^=f[1],n[2]^=f[2],n[3]^=f[3],{tag:b.bitSlice(n,0,s),data:r}}},i.misc.hmac=function(e,t){this.u=t=t||i.hash.sha256;var r,n=[[],[]],o=t.prototype.blockSize/32;for(this.l=[new t,new t],e.length>o&&(e=t.hash(e)),r=0;r<o;r++)n[0][r]=909522486^e[r],n[1][r]=1549556828^e[r];this.l[0].update(n[0]),this.l[1].update(n[1]),this.o=new t(this.l[0])},i.misc.hmac.prototype.encrypt=i.misc.hmac.prototype.mac=function(e){if(this.w)throw new i.exception.invalid("encrypt on already updated hmac called!");return this.update(e),this.digest(e)},i.misc.hmac.prototype.reset=function(){this.o=new this.u(this.l[0]),this.w=!1},i.misc.hmac.prototype.update=function(e){this.w=!0,this.o.update(e)},i.misc.hmac.prototype.digest=function(){var e=this.o.finalize(),e=new this.u(this.l[1]).update(e).finalize();return this.reset(),e},i.misc.pbkdf2=function(e,t,r,n,o){if(r=r||1e4,0>n||0>r)throw new i.exception.invalid("invalid params to pbkdf2");"string"==typeof e&&(e=i.codec.utf8String.toBits(e)),"string"==typeof t&&(t=i.codec.utf8String.toBits(t)),e=new(o=o||i.misc.hmac)(e);var s,a,c,f,u=[],h=i.bitArray;for(f=1;32*u.length<(n||1);f++){for(o=s=e.encrypt(h.concat(t,[f])),a=1;a<r;a++)for(s=e.encrypt(s),c=0;c<s.length;c++)o[c]^=s[c];u=u.concat(o)}return n&&(u=h.clamp(u,n)),u},void 0!==t&&t.exports&&(t.exports=i),"function"==typeof define&&define([],function(){return i})},{}],346:[function(e,t,r){function n(){i.call(this)}t.exports=n;var i=e("events").EventEmitter;e("inherits")(n,i),n.Readable=e("readable-stream/readable.js"),n.Writable=e("readable-stream/writable.js"),n.Duplex=e("readable-stream/duplex.js"),n.Transform=e("readable-stream/transform.js"),n.PassThrough=e("readable-stream/passthrough.js"),n.Stream=n,n.prototype.pipe=function(e,t){function r(t){e.writable&&!1===e.write(t)&&f.pause&&f.pause()}function n(){f.readable&&f.resume&&f.resume()}function o(){u||(u=!0,e.end())}function s(){u||(u=!0,"function"==typeof e.destroy&&e.destroy())}function a(e){if(c(),0===i.listenerCount(this,"error"))throw e}function c(){f.removeListener("data",r),e.removeListener("drain",n),f.removeListener("end",o),f.removeListener("close",s),f.removeListener("error",a),e.removeListener("error",a),f.removeListener("end",c),f.removeListener("close",c),e.removeListener("close",c)}var f=this;f.on("data",r),e.on("drain",n),e._isStdio||t&&!1===t.end||(f.on("end",o),f.on("close",s));var u=!1;return f.on("error",a),e.on("error",a),f.on("end",c),f.on("close",c),e.on("close",c),e.emit("pipe",f),e}},{events:230,inherits:248,"readable-stream/duplex.js":301,"readable-stream/passthrough.js":307,"readable-stream/readable.js":308,"readable-stream/transform.js":309,"readable-stream/writable.js":310}],347:[function(e,t,r){function n(e){return e.toString(this.encoding)}function i(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function o(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var Buffer=e("buffer").Buffer,s=Buffer.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},a=r.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!s(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=i;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=o;break;default:return void(this.write=n)}this.charBuffer=new Buffer(6),this.charReceived=0,this.charLength=0};a.prototype.write=function(e){for(var t="";this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";e=e.slice(r,e.length);if(!((i=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))>=55296&&i<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);n=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,n),n-=this.charReceived);var n=(t+=e.toString(this.encoding,0,n)).length-1,i=t.charCodeAt(n);if(i>=55296&&i<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,n)}return t},a.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(t<=2&&r>>4==14){this.charLength=3;break}if(t<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=t},a.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;t+=n.slice(0,r).toString(i)}return t}},{buffer:105}],348:[function(e,t,r){t.exports=function(t){return t.signer=t.signer||e("./lib/signer-hmac-only"),e("./lib/index")(t)}},{"./lib/index":349,"./lib/signer-hmac-only":350}],349:[function(e,t,r){function n(e,t){return e.get?e.get(t):e.getHeader(t)}function i(e){this.name="MissingHeaderError",this.message=e,this.stack=(new Error).stack}function o(e){this.name="InvalidAlgorithmError",this.message=e,this.stack=(new Error).stack}function s(e){var t=e.match(/^(?:(.*?):\/\/?)?\/?(?:[^\/\.]+\.)*?([^\/\.]+)\.?([^\/]*)(?:([^?]*)?(?:\?(‌​[^#]*))?)?(.*)?/);return!!t&&t[4]+(t[6]||"")}function a(e){return parseInt(e,10)<10&&(e="0"+e),e}function c(e,t){if(t.headers||(t.headers=["date"]),n(e,"Date")||-1===t.headers.indexOf("date")||e.set("Date",function(){var e=new Date;return["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][e.getUTCDay()]+", "+a(e.getUTCDate())+" "+["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][e.getUTCMonth()]+" "+e.getUTCFullYear()+" "+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+" GMT"}()),t.algorithm||(t.algorithm="rsa-sha256"),t.httpVersion||(t.httpVersion="1.1"),t.algorithm=t.algorithm.toLowerCase(),!u[t.algorithm])throw new o(t.algorithm+" is not supported");var r,c,l="";for(r=0;r<t.headers.length;r++){if("string"!=typeof t.headers[r])throw new TypeError("options.headers must be an array of Strings");var d=t.headers[r].toLowerCase();if("request-line"===d)c=l+=e.method+" "+s(e.url)+" HTTP/"+t.httpVersion;else if("(request-target)"===d)c=l+="(request-target): "+e.method.toLowerCase()+" "+s(e.url);else{if(!(c=n(e,d)))throw new i(d+" was not in the request");l+=d+": "+c}r+1<t.headers.length&&(l+="\n")}var p=t.signer(l,t);return e.set("Authorization",f(h,t.keyId,t.algorithm,t.headers.join(" "),p)),!0}var f=e("util").format;i.prototype=new Error,o.prototype=new Error;var u={"rsa-sha1":!0,"rsa-sha256":!0,"rsa-sha512":!0,"dsa-sha1":!0,"hmac-sha1":!0,"hmac-sha256":!0,"hmac-sha512":!0},h='Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"';t.exports=function(e){return function(t){return c(t,e),t}}},{util:362}],350:[function(e,t,r){var n=e("create-hmac");t.exports=function(e,t){var r=t.algorithm.match(/(hmac|rsa)-(\w+)/);if("hmac"!==r[1])throw new Error("Only HMAC is supported!");var i=n(r[2].toUpperCase(),t.key);return i.update(e),i.digest("base64")}},{"create-hmac":133}],351:[function(e,t,r){function n(e){return e===Object(e)}function i(e){if(!n(e))return e;var t=[];for(var r in e)null!=e[r]&&t.push(encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t.join("&")}function o(e){for(var t,r={},n=e.split("&"),i=0,o=n.length;i<o;++i)t=n[i].split("="),r[decodeURIComponent(t[0])]=decodeURIComponent(t[1]);return r}function s(e,t){t=t||{},this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method?this.xhr.responseText:null,this.setStatusProperties(this.xhr.status),this.header=this.headers=function(e){var t,r,n,i,o=e.split(/\r?\n/),s={};o.pop();for(var a=0,c=o.length;a<c;++a)t=(r=o[a]).indexOf(":"),n=r.slice(0,t).toLowerCase(),i=l(r.slice(t+1)),s[n]=i;return s}(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this.setHeaderProperties(this.header),this.body="HEAD"!=this.req.method?this.parseBody(this.text):null}function a(e,t){var r=this;f.call(this),this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",function(){var e=null,t=null;try{t=new s(r)}catch(t){(e=new Error("Parser is unable to parse the response")).parse=!0,e.original=t}r.callback(e,t)})}function c(e,t){return"function"==typeof t?new a("GET",e).end(t):1==arguments.length?new a("GET",e):new a(e,t)}var f=e("emitter"),u=e("reduce"),h="undefined"==typeof window?this:window,l="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};c.serializeObject=i,c.parseString=o,c.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},c.serialize={"application/x-www-form-urlencoded":i,"application/json":JSON.stringify},c.parse={"application/x-www-form-urlencoded":o,"application/json":JSON.parse},s.prototype.get=function(e){return this.header[e.toLowerCase()]},s.prototype.setHeaderProperties=function(e){var t=this.header["content-type"]||"";this.type=function(e){return e.split(/ *; */).shift()}(t);var r=function(e){return u(e.split(/ *; */),function(e,t){var r=t.split(/ *= */),n=r.shift(),i=r.shift();return n&&i&&(e[n]=i),e},{})}(t);for(var n in r)this[n]=r[n]},s.prototype.parseBody=function(e){var t=c.parse[this.type];return t&&e&&e.length?t(e):null},s.prototype.setStatusProperties=function(e){var t=e/100|0;this.status=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e||1223==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.notFound=404==e,this.forbidden=403==e},s.prototype.toError=function(){var e=this.req,t=e.method,r=e.url,n="cannot "+t+" "+r+" ("+this.status+")",i=new Error(n);return i.status=this.status,i.method=t,i.url=r,i},c.Response=s,f(a.prototype),a.prototype.use=function(e){return e(this),this},a.prototype.timeout=function(e){return this._timeout=e,this},a.prototype.clearTimeout=function(){return this._timeout=0,clearTimeout(this._timer),this},a.prototype.abort=function(){if(!this.aborted)return this.aborted=!0,this.xhr.abort(),this.clearTimeout(),this.emit("abort"),this},a.prototype.set=function(e,t){if(n(e)){for(var r in e)this.set(r,e[r]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},a.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},a.prototype.getHeader=function(e){return this._header[e.toLowerCase()]},a.prototype.type=function(e){return this.set("Content-Type",c.types[e]||e),this},a.prototype.accept=function(e){return this.set("Accept",c.types[e]||e),this},a.prototype.auth=function(e,t){var r=btoa(e+":"+t);return this.set("Authorization","Basic "+r),this},a.prototype.query=function(e){return"string"!=typeof e&&(e=i(e)),e&&this._query.push(e),this},a.prototype.field=function(e,t){return this._formData||(this._formData=new FormData),this._formData.append(e,t),this},a.prototype.attach=function(e,t,r){return this._formData||(this._formData=new FormData),this._formData.append(e,t,r),this},a.prototype.send=function(e){var t=n(e),r=this.getHeader("Content-Type");if(t&&n(this._data))for(var i in e)this._data[i]=e[i];else"string"==typeof e?(r||this.type("form"),r=this.getHeader("Content-Type"),this._data="application/x-www-form-urlencoded"==r?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return t?(r||this.type("json"),this):this},a.prototype.callback=function(e,t){var r=this._callback;return this.clearTimeout(),2==r.length?r(e,t):e?this.emit("error",e):void r(t)},a.prototype.crossDomainError=function(){var e=new Error("Origin is not allowed by Access-Control-Allow-Origin");e.crossDomain=!0,this.callback(e)},a.prototype.timeoutError=function(){var e=this._timeout,t=new Error("timeout of "+e+"ms exceeded");t.timeout=e,this.callback(t)},a.prototype.withCredentials=function(){return this._withCredentials=!0,this},a.prototype.end=function(e){var t=this,r=this.xhr=function(){if(h.XMLHttpRequest&&("file:"!=h.location.protocol||!h.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}return!1}(),n=this._query.join("&"),i=this._timeout,o=this._formData||this._data;if(this._callback=e||function(){},r.onreadystatechange=function(){if(4==r.readyState)return 0==r.status?t.aborted?t.timeoutError():t.crossDomainError():void t.emit("end")},r.upload&&(r.upload.onprogress=function(e){e.percent=e.loaded/e.total*100,t.emit("progress",e)}),i&&!this._timer&&(this._timer=setTimeout(function(){t.abort()},i)),n&&(n=c.serializeObject(n),this.url+=~this.url.indexOf("?")?"&"+n:"?"+n),r.open(this.method,this.url,!0),this._withCredentials&&(r.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof o&&!function(e){switch({}.toString.call(e)){case"[object File]":case"[object Blob]":case"[object FormData]":return!0;default:return!1}}(o)){var s=c.serialize[this.getHeader("Content-Type")];s&&(o=s(o))}for(var a in this.header)null!=this.header[a]&&r.setRequestHeader(a,this.header[a]);return this.emit("request",this),r.send(o),this},c.Request=a,c.get=function(e,t,r){var n=c("GET",e);return"function"==typeof t&&(r=t,t=null),t&&n.query(t),r&&n.end(r),n},c.head=function(e,t,r){var n=c("HEAD",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},c.del=function(e,t){var r=c("DELETE",e);return t&&r.end(t),r},c.patch=function(e,t,r){var n=c("PATCH",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},c.post=function(e,t,r){var n=c("POST",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},c.put=function(e,t,r){var n=c("PUT",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},t.exports=c},{emitter:110,reduce:311}],352:[function(e,t,r){function n(e){return e.name||e.toString().match(/function (.*?)\s*\(/)[1]}function i(e){return f.Nil(e)?"":n(e.constructor)}function o(e){return f.Function(e)?e.toJSON?e.toJSON():n(e):f.Array(e)?"Array":e&&f.Object(e)?"Object":void 0!==e?e:""}function s(e,t,r){var n=function(e){return f.Function(e)?"":f.String(e)?JSON.stringify(e):e&&f.Object(e)?"":e}(t);return"Expected "+o(e)+", got"+(""!==r?" "+r:"")+(""!==n?" "+n:"")}function a(e,t,r){r=r||i(t),this.message=s(e,t,r),Error.captureStackTrace(this,a),this.__type=e,this.__value=t,this.__valueTypeName=r}function c(e,t,r,n,c){e?(c=c||i(n),this.message=function(e,t,r,n,i){var a='" of type ';return"key"===t&&(a='" with key type '),s('property "'+o(r)+a+o(e),n,i)}(e,r,t,n,c)):this.message='Unexpected property "'+t+'"',Error.captureStackTrace(this,a),this.__label=r,this.__property=t,this.__type=e,this.__value=n,this.__valueTypeName=c}var f=e("./native");(a.prototype=Object.create(Error.prototype)).constructor=a,(c.prototype=Object.create(Error.prototype)).constructor=a,t.exports={TfTypeError:a,TfPropertyTypeError:c,tfCustomError:function(e,t){return new a(e,{},t)},tfSubError:function(e,t,r){return e instanceof c?(t=t+"."+e.__property,e=new c(e.__type,t,e.__label,e.__value,e.__valueTypeName)):e instanceof a&&(e=new c(e.__type,t,r,e.__value,e.__valueTypeName)),Error.captureStackTrace(e),e},tfJSON:o,getValueTypeName:i}},{"./native":355}],353:[function(e,t,r){(function(Buffer){function r(e){return Buffer.isBuffer(e)}function n(e){return"string"==typeof e&&/^([0-9a-f]{2})+$/i.test(e)}function i(e,t){function r(r){if(!e(r))return!1;if(r.length===t)return!0;throw s.tfCustomError(n+"(Length: "+t+")",n+"(Length: "+r.length+")")}var n=e.toJSON();return r.toJSON=function(){return n},r}var o=e("./native"),s=e("./errors"),a=i.bind(null,o.Array),c=i.bind(null,r),f=i.bind(null,n),u=i.bind(null,o.String),h=Math.pow(2,53)-1,l={ArrayN:a,Buffer:r,BufferN:c,Finite:function(e){return"number"==typeof e&&isFinite(e)},Hex:n,HexN:f,Int8:function(e){return e<<24>>24===e},Int16:function(e){return e<<16>>16===e},Int32:function(e){return(0|e)===e},StringN:u,UInt8:function(e){return(255&e)===e},UInt16:function(e){return(65535&e)===e},UInt32:function(e){return e>>>0===e},UInt53:function(e){return"number"==typeof e&&e>=0&&e<=h&&Math.floor(e)===e}};for(var d in l)l[d].toJSON=function(e){return e}.bind(null,d);t.exports=l}).call(this,{isBuffer:e("../is-buffer/index.js")})},{"../is-buffer/index.js":249,"./errors":352,"./native":355}],354:[function(e,t,r){function n(e){return a.String(e)?"?"===e[0]?d.maybe(e.slice(1)):a[e]||d.quacksLike(e):e&&a.Object(e)?a.Array(e)?d.arrayOf(e[0]):d.object(e):a.Function(e)?e:d.value(e)}function i(e,t,r,o){if(a.Function(e)){if(e(t,r))return!0;throw new f(o||e,t)}return i(n(e),t,r)}function o(e,t,r,n){if("function"==typeof r)return o(e,t,!1,r);try{i(e,t,r)}catch(e){return n(e)}n()}var s=e("./errors"),a=e("./native"),c=s.tfJSON,f=s.TfTypeError,u=s.TfPropertyTypeError,h=s.tfSubError,l=s.getValueTypeName,d={arrayOf:function(e){function t(t,r){return!!a.Array(t)&&(!a.Nil(t)&&t.every(function(t,n){try{return i(e,t,r)}catch(e){throw h(e,n)}}))}return e=n(e),t.toJSON=function(){return"["+c(e)+"]"},t},maybe:function e(t){function r(r,n){return a.Nil(r)||t(r,n,e)}return t=n(t),r.toJSON=function(){return"?"+c(t)},r},map:function(e,t){function r(r,n){if(!a.Object(r))return!1;if(a.Nil(r))return!1;for(var o in r){try{t&&i(t,o,n)}catch(e){throw h(e,o,"key")}try{var s=r[o];i(e,s,n)}catch(e){throw h(e,o)}}return!0}return e=n(e),t&&(t=n(t)),r.toJSON=t?function(){return"{"+c(t)+": "+c(e)+"}"}:function(){return"{"+c(e)+"}"},r},object:function(e){function t(e,t){if(!a.Object(e))return!1;if(a.Nil(e))return!1;var n;try{for(n in r){i(r[n],e[n],t)}}catch(e){throw h(e,n)}if(t)for(n in e)if(!r[n])throw new u(void 0,n);return!0}var r={};for(var o in e)r[o]=n(e[o]);return t.toJSON=function(){return c(r)},t},oneOf:function(){function e(e,r){return t.some(function(t){try{return i(t,e,r)}catch(e){return!1}})}var t=[].slice.call(arguments).map(n);return e.toJSON=function(){return t.map(c).join("|")},e},quacksLike:function(e){function t(t){return e===l(t)}return t.toJSON=function(){return e},t},tuple:function(){function e(e,r){return!a.Nil(e)&&(!a.Nil(e.length)&&((!r||e.length===t.length)&&t.every(function(t,n){try{return i(t,e[n],r)}catch(e){throw h(e,n)}})))}var t=[].slice.call(arguments).map(n);return e.toJSON=function(){return"("+t.map(c).join(", ")+")"},e},value:function(e){function t(t){return t===e}return t.toJSON=function(){return e},t}};for(var p in a)i[p]=a[p];for(p in d)i[p]=d[p];var b=e("./extra");for(p in b)i[p]=b[p];i.async=o,i.compile=n,i.TfTypeError=f,i.TfPropertyTypeError=u,t.exports=i},{"./errors":352,"./extra":353,"./native":355}],355:[function(e,t,r){var n={Array:function(e){return null!==e&&void 0!==e&&e.constructor===Array},Boolean:function(e){return"boolean"==typeof e},Function:function(e){return"function"==typeof e},Nil:function(e){return void 0===e||null===e},Number:function(e){return"number"==typeof e},Object:function(e){return"object"==typeof e},String:function(e){return"string"==typeof e},"":function(){return!0}};n.Null=n.Nil;for(var i in n)n[i].toJSON=function(e){return e}.bind(null,i);t.exports=n},{}],356:[function(e,t,r){!function(e){"use strict";for(var r=[null,0,{}],n=10,i=44032,o=4352,s=4449,a=4519,c=19,f=21,u=28,h=f*u,l=c*h,d=function(e,t){this.codepoint=e,this.feature=t},p={},b=[],y=0;y<=255;++y)b[y]=0;var v=[function(e,t,n){return t<60||13311<t&&t<42607?new d(t,r):e(t,n)},function(e,t,r){var i=p[t];return i||(i=e(t,r)).feature&&++b[t>>8&255]>n&&(p[t]=i),i},function(e,t,r){return r?e(t,r):new d(t,null)},function(e,t,r){var n;if(t<o||o+c<=t&&t<i||i+l<t)return e(t,r);if(o<=t&&t<o+c){var p={},b=(t-o)*f;for(n=0;n<f;++n)p[s+n]=i+u*(n+b);return new d(t,[,,p])}var y=t-i,v=y%u,m=[];if(0!==v)m[0]=[i+y-v,a+v];else for(m[0]=[o+Math.floor(y/h),s+Math.floor(y%h/u)],m[2]={},n=1;n<u;++n)m[2][a+n]=t+n;return new d(t,m)},function(e,t,n){var i=65280&t,o=(d.udata[i]||{})[t];return o?new d(t,o):new d(t,r)}];d.fromCharCode=v.reduceRight(function(e,t){return function(r,n){return t(e,r,n)}},null),d.isHighSurrogate=function(e){return e>=55296&&e<=56319},d.isLowSurrogate=function(e){return e>=56320&&e<=57343},d.prototype.prepFeature=function(){this.feature||(this.feature=d.fromCharCode(this.codepoint,!0).feature)},d.prototype.toString=function(){if(this.codepoint<65536)return String.fromCharCode(this.codepoint);var e=this.codepoint-65536;return String.fromCharCode(Math.floor(e/1024)+55296,e%1024+56320)},d.prototype.getDecomp=function(){return this.prepFeature(),this.feature[0]||null},d.prototype.isCompatibility=function(){return this.prepFeature(),!!this.feature[1]&&256&this.feature[1]},d.prototype.isExclude=function(){return this.prepFeature(),!!this.feature[1]&&512&this.feature[1]},d.prototype.getCanonicalClass=function(){return this.prepFeature(),this.feature[1]?255&this.feature[1]:0},d.prototype.getComposite=function(e){if(this.prepFeature(),!this.feature[2])return null;var t=this.feature[2][e.codepoint];return t?d.fromCharCode(t):null};var m=function(e){this.str=e,this.cursor=0};m.prototype.next=function(){if(this.str&&this.cursor<this.str.length){var e,t=this.str.charCodeAt(this.cursor++);return d.isHighSurrogate(t)&&this.cursor<this.str.length&&d.isLowSurrogate(e=this.str.charCodeAt(this.cursor))&&(t=1024*(t-55296)+(e-56320)+65536,++this.cursor),d.fromCharCode(t)}return this.str=null,null};var g=function(e,t){this.it=e,this.canonical=t,this.resBuf=[]};g.prototype.next=function(){function e(t,r){var n=r.getDecomp();if(!n||t&&r.isCompatibility())return[r];for(var i=[],o=0;o<n.length;++o){var s=e(t,d.fromCharCode(n[o]));i=i.concat(s)}return i}if(0===this.resBuf.length){var t=this.it.next();if(!t)return null;this.resBuf=e(this.canonical,t)}return this.resBuf.shift()};var w=function(e){this.it=e,this.resBuf=[]};w.prototype.next=function(){var e;if(0===this.resBuf.length)do{var t=this.it.next();if(!t)break;e=t.getCanonicalClass();var r=this.resBuf.length;if(0!==e)for(;r>0;--r){if(this.resBuf[r-1].getCanonicalClass()<=e)break}this.resBuf.splice(r,0,t)}while(0!==e);return this.resBuf.shift()};var _=function(e){this.it=e,this.procBuf=[],this.resBuf=[],this.lastClass=null};_.prototype.next=function(){for(;0===this.resBuf.length;){var e=this.it.next();if(!e){this.resBuf=this.procBuf,this.procBuf=[];break}if(0===this.procBuf.length)this.lastClass=e.getCanonicalClass(),this.procBuf.push(e);else{var t=this.procBuf[0].getComposite(e),r=e.getCanonicalClass();t&&(this.lastClass<r||0===this.lastClass)?this.procBuf[0]=t:(0===r&&(this.resBuf=this.procBuf,this.procBuf=[]),this.lastClass=r,this.procBuf.push(e))}}return this.resBuf.shift()};var E=function(e,t){for(var r,n=function(e,t){switch(e){case"NFD":return new w(new g(new m(t),!0));case"NFKD":return new w(new g(new m(t),!1));case"NFC":return new _(new w(new g(new m(t),!0)));case"NFKC":return new _(new w(new g(new m(t),!1)))}throw e+" is invalid"}(e,t),i="";r=n.next();)i+=r.toString();return i};d.udata={0:{60:[,,{824:8814}],61:[,,{824:8800}],62:[,,{824:8815}],65:[,,{768:192,769:193,770:194,771:195,772:256,774:258,775:550,776:196,777:7842,778:197,780:461,783:512,785:514,803:7840,805:7680,808:260}],66:[,,{775:7682,803:7684,817:7686}],67:[,,{769:262,770:264,775:266,780:268,807:199}],68:[,,{775:7690,780:270,803:7692,807:7696,813:7698,817:7694}],69:[,,{768:200,769:201,770:202,771:7868,772:274,774:276,775:278,776:203,777:7866,780:282,783:516,785:518,803:7864,807:552,808:280,813:7704,816:7706}],70:[,,{775:7710}],71:[,,{769:500,770:284,772:7712,774:286,775:288,780:486,807:290}],72:[,,{770:292,775:7714,776:7718,780:542,803:7716,807:7720,814:7722}],73:[,,{768:204,769:205,770:206,771:296,772:298,774:300,775:304,776:207,777:7880,780:463,783:520,785:522,803:7882,808:302,816:7724}],74:[,,{770:308}],75:[,,{769:7728,780:488,803:7730,807:310,817:7732}],76:[,,{769:313,780:317,803:7734,807:315,813:7740,817:7738}],77:[,,{769:7742,775:7744,803:7746}],78:[,,{768:504,769:323,771:209,775:7748,780:327,803:7750,807:325,813:7754,817:7752}],79:[,,{768:210,769:211,770:212,771:213,772:332,774:334,775:558,776:214,777:7886,779:336,780:465,783:524,785:526,795:416,803:7884,808:490}],80:[,,{769:7764,775:7766}],82:[,,{769:340,775:7768,780:344,783:528,785:530,803:7770,807:342,817:7774}],83:[,,{769:346,770:348,775:7776,780:352,803:7778,806:536,807:350}],84:[,,{775:7786,780:356,803:7788,806:538,807:354,813:7792,817:7790}],85:[,,{768:217,769:218,770:219,771:360,772:362,774:364,776:220,777:7910,778:366,779:368,780:467,783:532,785:534,795:431,803:7908,804:7794,808:370,813:7798,816:7796}],86:[,,{771:7804,803:7806}],87:[,,{768:7808,769:7810,770:372,775:7814,776:7812,803:7816}],88:[,,{775:7818,776:7820}],89:[,,{768:7922,769:221,770:374,771:7928,772:562,775:7822,776:376,777:7926,803:7924}],90:[,,{769:377,770:7824,775:379,780:381,803:7826,817:7828}],97:[,,{768:224,769:225,770:226,771:227,772:257,774:259,775:551,776:228,777:7843,778:229,780:462,783:513,785:515,803:7841,805:7681,808:261}],98:[,,{775:7683,803:7685,817:7687}],99:[,,{769:263,770:265,775:267,780:269,807:231}],100:[,,{775:7691,780:271,803:7693,807:7697,813:7699,817:7695}],101:[,,{768:232,769:233,770:234,771:7869,772:275,774:277,775:279,776:235,777:7867,780:283,783:517,785:519,803:7865,807:553,808:281,813:7705,816:7707}],102:[,,{775:7711}],103:[,,{769:501,770:285,772:7713,774:287,775:289,780:487,807:291}],104:[,,{770:293,775:7715,776:7719,780:543,803:7717,807:7721,814:7723,817:7830}],105:[,,{768:236,769:237,770:238,771:297,772:299,774:301,776:239,777:7881,780:464,783:521,785:523,803:7883,808:303,816:7725}],106:[,,{770:309,780:496}],107:[,,{769:7729,780:489,803:7731,807:311,817:7733}],108:[,,{769:314,780:318,803:7735,807:316,813:7741,817:7739}],109:[,,{769:7743,775:7745,803:7747}],110:[,,{768:505,769:324,771:241,775:7749,780:328,803:7751,807:326,813:7755,817:7753}],111:[,,{768:242,769:243,770:244,771:245,772:333,774:335,775:559,776:246,777:7887,779:337,780:466,783:525,785:527,795:417,803:7885,808:491}],112:[,,{769:7765,775:7767}],114:[,,{769:341,775:7769,780:345,783:529,785:531,803:7771,807:343,817:7775}],115:[,,{769:347,770:349,775:7777,780:353,803:7779,806:537,807:351}],116:[,,{775:7787,776:7831,780:357,803:7789,806:539,807:355,813:7793,817:7791}],117:[,,{768:249,769:250,770:251,771:361,772:363,774:365,776:252,777:7911,778:367,779:369,780:468,783:533,785:535,795:432,803:7909,804:7795,808:371,813:7799,816:7797}],118:[,,{771:7805,803:7807}],119:[,,{768:7809,769:7811,770:373,775:7815,776:7813,778:7832,803:7817}],120:[,,{775:7819,776:7821}],121:[,,{768:7923,769:253,770:375,771:7929,772:563,775:7823,776:255,777:7927,778:7833,803:7925}],122:[,,{769:378,770:7825,775:380,780:382,803:7827,817:7829}],160:[[32],256],168:[[32,776],256,{768:8173,769:901,834:8129}],170:[[97],256],175:[[32,772],256],178:[[50],256],179:[[51],256],180:[[32,769],256],181:[[956],256],184:[[32,807],256],185:[[49],256],186:[[111],256],188:[[49,8260,52],256],189:[[49,8260,50],256],190:[[51,8260,52],256],192:[[65,768]],193:[[65,769]],194:[[65,770],,{768:7846,769:7844,771:7850,777:7848}],195:[[65,771]],196:[[65,776],,{772:478}],197:[[65,778],,{769:506}],198:[,,{769:508,772:482}],199:[[67,807],,{769:7688}],200:[[69,768]],201:[[69,769]],202:[[69,770],,{768:7872,769:7870,771:7876,777:7874}],203:[[69,776]],204:[[73,768]],205:[[73,769]],206:[[73,770]],207:[[73,776],,{769:7726}],209:[[78,771]],210:[[79,768]],211:[[79,769]],212:[[79,770],,{768:7890,769:7888,771:7894,777:7892}],213:[[79,771],,{769:7756,772:556,776:7758}],214:[[79,776],,{772:554}],216:[,,{769:510}],217:[[85,768]],218:[[85,769]],219:[[85,770]],220:[[85,776],,{768:475,769:471,772:469,780:473}],221:[[89,769]],224:[[97,768]],225:[[97,769]],226:[[97,770],,{768:7847,769:7845,771:7851,777:7849}],227:[[97,771]],228:[[97,776],,{772:479}],229:[[97,778],,{769:507}],230:[,,{769:509,772:483}],231:[[99,807],,{769:7689}],232:[[101,768]],233:[[101,769]],234:[[101,770],,{768:7873,769:7871,771:7877,777:7875}],235:[[101,776]],236:[[105,768]],237:[[105,769]],238:[[105,770]],239:[[105,776],,{769:7727}],241:[[110,771]],242:[[111,768]],243:[[111,769]],244:[[111,770],,{768:7891,769:7889,771:7895,777:7893}],245:[[111,771],,{769:7757,772:557,776:7759}],246:[[111,776],,{772:555}],248:[,,{769:511}],249:[[117,768]],250:[[117,769]],251:[[117,770]],252:[[117,776],,{768:476,769:472,772:470,780:474}],253:[[121,769]],255:[[121,776]]},256:{256:[[65,772]],257:[[97,772]],258:[[65,774],,{768:7856,769:7854,771:7860,777:7858}],259:[[97,774],,{768:7857,769:7855,771:7861,777:7859}],260:[[65,808]],261:[[97,808]],262:[[67,769]],263:[[99,769]],264:[[67,770]],265:[[99,770]],266:[[67,775]],267:[[99,775]],268:[[67,780]],269:[[99,780]],270:[[68,780]],271:[[100,780]],274:[[69,772],,{768:7700,769:7702}],275:[[101,772],,{768:7701,769:7703}],276:[[69,774]],277:[[101,774]],278:[[69,775]],279:[[101,775]],280:[[69,808]],281:[[101,808]],282:[[69,780]],283:[[101,780]],284:[[71,770]],285:[[103,770]],286:[[71,774]],287:[[103,774]],288:[[71,775]],289:[[103,775]],290:[[71,807]],291:[[103,807]],292:[[72,770]],293:[[104,770]],296:[[73,771]],297:[[105,771]],298:[[73,772]],299:[[105,772]],300:[[73,774]],301:[[105,774]],302:[[73,808]],303:[[105,808]],304:[[73,775]],306:[[73,74],256],307:[[105,106],256],308:[[74,770]],309:[[106,770]],310:[[75,807]],311:[[107,807]],313:[[76,769]],314:[[108,769]],315:[[76,807]],316:[[108,807]],317:[[76,780]],318:[[108,780]],319:[[76,183],256],320:[[108,183],256],323:[[78,769]],324:[[110,769]],325:[[78,807]],326:[[110,807]],327:[[78,780]],328:[[110,780]],329:[[700,110],256],332:[[79,772],,{768:7760,769:7762}],333:[[111,772],,{768:7761,769:7763}],334:[[79,774]],335:[[111,774]],336:[[79,779]],337:[[111,779]],340:[[82,769]],341:[[114,769]],342:[[82,807]],343:[[114,807]],344:[[82,780]],345:[[114,780]],346:[[83,769],,{775:7780}],347:[[115,769],,{775:7781}],348:[[83,770]],349:[[115,770]],350:[[83,807]],351:[[115,807]],352:[[83,780],,{775:7782}],353:[[115,780],,{775:7783}],354:[[84,807]],355:[[116,807]],356:[[84,780]],357:[[116,780]],360:[[85,771],,{769:7800}],361:[[117,771],,{769:7801}],362:[[85,772],,{776:7802}],363:[[117,772],,{776:7803}],364:[[85,774]],365:[[117,774]],366:[[85,778]],367:[[117,778]],368:[[85,779]],369:[[117,779]],370:[[85,808]],371:[[117,808]],372:[[87,770]],373:[[119,770]],374:[[89,770]],375:[[121,770]],376:[[89,776]],377:[[90,769]],378:[[122,769]],379:[[90,775]],380:[[122,775]],381:[[90,780]],382:[[122,780]],383:[[115],256,{775:7835}],416:[[79,795],,{768:7900,769:7898,771:7904,777:7902,803:7906}],417:[[111,795],,{768:7901,769:7899,771:7905,777:7903,803:7907}],431:[[85,795],,{768:7914,769:7912,771:7918,777:7916,803:7920}],432:[[117,795],,{768:7915,769:7913,771:7919,777:7917,803:7921}],439:[,,{780:494}],452:[[68,381],256],453:[[68,382],256],454:[[100,382],256],455:[[76,74],256],456:[[76,106],256],457:[[108,106],256],458:[[78,74],256],459:[[78,106],256],460:[[110,106],256],461:[[65,780]],462:[[97,780]],463:[[73,780]],464:[[105,780]],465:[[79,780]],466:[[111,780]],467:[[85,780]],468:[[117,780]],469:[[220,772]],470:[[252,772]],471:[[220,769]],472:[[252,769]],473:[[220,780]],474:[[252,780]],475:[[220,768]],476:[[252,768]],478:[[196,772]],479:[[228,772]],480:[[550,772]],481:[[551,772]],482:[[198,772]],483:[[230,772]],486:[[71,780]],487:[[103,780]],488:[[75,780]],489:[[107,780]],490:[[79,808],,{772:492}],491:[[111,808],,{772:493}],492:[[490,772]],493:[[491,772]],494:[[439,780]],495:[[658,780]],496:[[106,780]],497:[[68,90],256],498:[[68,122],256],499:[[100,122],256],500:[[71,769]],501:[[103,769]],504:[[78,768]],505:[[110,768]],506:[[197,769]],507:[[229,769]],508:[[198,769]],509:[[230,769]],510:[[216,769]],511:[[248,769]],66045:[,220]},512:{512:[[65,783]],513:[[97,783]],514:[[65,785]],515:[[97,785]],516:[[69,783]],517:[[101,783]],518:[[69,785]],519:[[101,785]],520:[[73,783]],521:[[105,783]],522:[[73,785]],523:[[105,785]],524:[[79,783]],525:[[111,783]],526:[[79,785]],527:[[111,785]],528:[[82,783]],529:[[114,783]],530:[[82,785]],531:[[114,785]],532:[[85,783]],533:[[117,783]],534:[[85,785]],535:[[117,785]],536:[[83,806]],537:[[115,806]],538:[[84,806]],539:[[116,806]],542:[[72,780]],543:[[104,780]],550:[[65,775],,{772:480}],551:[[97,775],,{772:481}],552:[[69,807],,{774:7708}],553:[[101,807],,{774:7709}],554:[[214,772]],555:[[246,772]],556:[[213,772]],557:[[245,772]],558:[[79,775],,{772:560}],559:[[111,775],,{772:561}],560:[[558,772]],561:[[559,772]],562:[[89,772]],563:[[121,772]],658:[,,{780:495}],688:[[104],256],689:[[614],256],690:[[106],256],691:[[114],256],692:[[633],256],693:[[635],256],694:[[641],256],695:[[119],256],696:[[121],256],728:[[32,774],256],729:[[32,775],256],730:[[32,778],256],731:[[32,808],256],732:[[32,771],256],733:[[32,779],256],736:[[611],256],737:[[108],256],738:[[115],256],739:[[120],256],740:[[661],256],66272:[,220]},768:{768:[,230],769:[,230],770:[,230],771:[,230],772:[,230],773:[,230],774:[,230],775:[,230],776:[,230,{769:836}],777:[,230],778:[,230],779:[,230],780:[,230],781:[,230],782:[,230],783:[,230],784:[,230],785:[,230],786:[,230],787:[,230],788:[,230],789:[,232],790:[,220],791:[,220],792:[,220],793:[,220],794:[,232],795:[,216],796:[,220],797:[,220],798:[,220],799:[,220],800:[,220],801:[,202],802:[,202],803:[,220],804:[,220],805:[,220],806:[,220],807:[,202],808:[,202],809:[,220],810:[,220],811:[,220],812:[,220],813:[,220],814:[,220],815:[,220],816:[,220],817:[,220],818:[,220],819:[,220],820:[,1],821:[,1],822:[,1],823:[,1],824:[,1],825:[,220],826:[,220],827:[,220],828:[,220],829:[,230],830:[,230],831:[,230],832:[[768],230],833:[[769],230],834:[,230],835:[[787],230],836:[[776,769],230],837:[,240],838:[,230],839:[,220],840:[,220],841:[,220],842:[,230],843:[,230],844:[,230],845:[,220],846:[,220],848:[,230],849:[,230],850:[,230],851:[,220],852:[,220],853:[,220],854:[,220],855:[,230],856:[,232],857:[,220],858:[,220],859:[,230],860:[,233],861:[,234],862:[,234],863:[,233],864:[,234],865:[,234],866:[,233],867:[,230],868:[,230],869:[,230],870:[,230],871:[,230],872:[,230],873:[,230],874:[,230],875:[,230],876:[,230],877:[,230],878:[,230],879:[,230],884:[[697]],890:[[32,837],256],894:[[59]],900:[[32,769],256],901:[[168,769]],902:[[913,769]],903:[[183]],904:[[917,769]],905:[[919,769]],906:[[921,769]],908:[[927,769]],910:[[933,769]],911:[[937,769]],912:[[970,769]],913:[,,{768:8122,769:902,772:8121,774:8120,787:7944,788:7945,837:8124}],917:[,,{768:8136,769:904,787:7960,788:7961}],919:[,,{768:8138,769:905,787:7976,788:7977,837:8140}],921:[,,{768:8154,769:906,772:8153,774:8152,776:938,787:7992,788:7993}],927:[,,{768:8184,769:908,787:8008,788:8009}],929:[,,{788:8172}],933:[,,{768:8170,769:910,772:8169,774:8168,776:939,788:8025}],937:[,,{768:8186,769:911,787:8040,788:8041,837:8188}],938:[[921,776]],939:[[933,776]],940:[[945,769],,{837:8116}],941:[[949,769]],942:[[951,769],,{837:8132}],943:[[953,769]],944:[[971,769]],945:[,,{768:8048,769:940,772:8113,774:8112,787:7936,788:7937,834:8118,837:8115}],949:[,,{768:8050,769:941,787:7952,788:7953}],951:[,,{768:8052,769:942,787:7968,788:7969,834:8134,837:8131}],953:[,,{768:8054,769:943,772:8145,774:8144,776:970,787:7984,788:7985,834:8150}],959:[,,{768:8056,769:972,787:8e3,788:8001}],961:[,,{787:8164,788:8165}],965:[,,{768:8058,769:973,772:8161,774:8160,776:971,787:8016,788:8017,834:8166}],969:[,,{768:8060,769:974,787:8032,788:8033,834:8182,837:8179}],970:[[953,776],,{768:8146,769:912,834:8151}],971:[[965,776],,{768:8162,769:944,834:8167}],972:[[959,769]],973:[[965,769]],974:[[969,769],,{837:8180}],976:[[946],256],977:[[952],256],978:[[933],256,{769:979,776:980}],979:[[978,769]],980:[[978,776]],981:[[966],256],982:[[960],256],1008:[[954],256],1009:[[961],256],1010:[[962],256],1012:[[920],256],1013:[[949],256],1017:[[931],256],66422:[,230],66423:[,230],66424:[,230],66425:[,230],66426:[,230]},1024:{1024:[[1045,768]],1025:[[1045,776]],1027:[[1043,769]],1030:[,,{776:1031}],1031:[[1030,776]],1036:[[1050,769]],1037:[[1048,768]],1038:[[1059,774]],1040:[,,{774:1232,776:1234}],1043:[,,{769:1027}],1045:[,,{768:1024,774:1238,776:1025}],1046:[,,{774:1217,776:1244}],1047:[,,{776:1246}],1048:[,,{768:1037,772:1250,774:1049,776:1252}],1049:[[1048,774]],1050:[,,{769:1036}],1054:[,,{776:1254}],1059:[,,{772:1262,774:1038,776:1264,779:1266}],1063:[,,{776:1268}],1067:[,,{776:1272}],1069:[,,{776:1260}],1072:[,,{774:1233,776:1235}],1075:[,,{769:1107}],1077:[,,{768:1104,774:1239,776:1105}],1078:[,,{774:1218,776:1245}],1079:[,,{776:1247}],1080:[,,{768:1117,772:1251,774:1081,776:1253}],1081:[[1080,774]],1082:[,,{769:1116}],1086:[,,{776:1255}],1091:[,,{772:1263,774:1118,776:1265,779:1267}],1095:[,,{776:1269}],1099:[,,{776:1273}],1101:[,,{776:1261}],1104:[[1077,768]],1105:[[1077,776]],1107:[[1075,769]],1110:[,,{776:1111}],1111:[[1110,776]],1116:[[1082,769]],1117:[[1080,768]],1118:[[1091,774]],1140:[,,{783:1142}],1141:[,,{783:1143}],1142:[[1140,783]],1143:[[1141,783]],1155:[,230],1156:[,230],1157:[,230],1158:[,230],1159:[,230],1217:[[1046,774]],1218:[[1078,774]],1232:[[1040,774]],1233:[[1072,774]],1234:[[1040,776]],1235:[[1072,776]],1238:[[1045,774]],1239:[[1077,774]],1240:[,,{776:1242}],1241:[,,{776:1243}],1242:[[1240,776]],1243:[[1241,776]],1244:[[1046,776]],1245:[[1078,776]],1246:[[1047,776]],1247:[[1079,776]],1250:[[1048,772]],1251:[[1080,772]],1252:[[1048,776]],1253:[[1080,776]],1254:[[1054,776]],1255:[[1086,776]],1256:[,,{776:1258}],1257:[,,{776:1259}],1258:[[1256,776]],1259:[[1257,776]],1260:[[1069,776]],1261:[[1101,776]],1262:[[1059,772]],1263:[[1091,772]],1264:[[1059,776]],1265:[[1091,776]],1266:[[1059,779]],1267:[[1091,779]],1268:[[1063,776]],1269:[[1095,776]],1272:[[1067,776]],1273:[[1099,776]]},1280:{1415:[[1381,1410],256],1425:[,220],1426:[,230],1427:[,230],1428:[,230],1429:[,230],1430:[,220],1431:[,230],1432:[,230],1433:[,230],1434:[,222],1435:[,220],1436:[,230],1437:[,230],1438:[,230],1439:[,230],1440:[,230],1441:[,230],1442:[,220],1443:[,220],1444:[,220],1445:[,220],1446:[,220],1447:[,220],1448:[,230],1449:[,230],1450:[,220],1451:[,230],1452:[,230],1453:[,222],1454:[,228],1455:[,230],1456:[,10],1457:[,11],1458:[,12],1459:[,13],1460:[,14],1461:[,15],1462:[,16],1463:[,17],1464:[,18],1465:[,19],1466:[,19],1467:[,20],1468:[,21],1469:[,22],1471:[,23],1473:[,24],1474:[,25],1476:[,230],1477:[,220],1479:[,18]},1536:{1552:[,230],1553:[,230],1554:[,230],1555:[,230],1556:[,230],1557:[,230],1558:[,230],1559:[,230],1560:[,30],1561:[,31],1562:[,32],1570:[[1575,1619]],1571:[[1575,1620]],1572:[[1608,1620]],1573:[[1575,1621]],1574:[[1610,1620]],1575:[,,{1619:1570,1620:1571,1621:1573}],1608:[,,{1620:1572}],1610:[,,{1620:1574}],1611:[,27],1612:[,28],1613:[,29],1614:[,30],1615:[,31],1616:[,32],1617:[,33],1618:[,34],1619:[,230],1620:[,230],1621:[,220],1622:[,220],1623:[,230],1624:[,230],1625:[,230],1626:[,230],1627:[,230],1628:[,220],1629:[,230],1630:[,230],1631:[,220],1648:[,35],1653:[[1575,1652],256],1654:[[1608,1652],256],1655:[[1735,1652],256],1656:[[1610,1652],256],1728:[[1749,1620]],1729:[,,{1620:1730}],1730:[[1729,1620]],1746:[,,{1620:1747}],1747:[[1746,1620]],1749:[,,{1620:1728}],1750:[,230],1751:[,230],1752:[,230],1753:[,230],1754:[,230],1755:[,230],1756:[,230],1759:[,230],1760:[,230],1761:[,230],1762:[,230],1763:[,220],1764:[,230],1767:[,230],1768:[,230],1770:[,220],1771:[,230],1772:[,230],1773:[,220]},1792:{1809:[,36],1840:[,230],1841:[,220],1842:[,230],1843:[,230],1844:[,220],1845:[,230],1846:[,230],1847:[,220],1848:[,220],1849:[,220],1850:[,230],1851:[,220],1852:[,220],1853:[,230],1854:[,220],1855:[,230],1856:[,230],1857:[,230],1858:[,220],1859:[,230],1860:[,220],1861:[,230],1862:[,220],1863:[,230],1864:[,220],1865:[,230],1866:[,230],2027:[,230],2028:[,230],2029:[,230],2030:[,230],2031:[,230],2032:[,230],2033:[,230],2034:[,220],2035:[,230]},2048:{2070:[,230],2071:[,230],2072:[,230],2073:[,230],2075:[,230],2076:[,230],2077:[,230],2078:[,230],2079:[,230],2080:[,230],2081:[,230],2082:[,230],2083:[,230],2085:[,230],2086:[,230],2087:[,230],2089:[,230],2090:[,230],2091:[,230],2092:[,230],2093:[,230],2137:[,220],2138:[,220],2139:[,220],2276:[,230],2277:[,230],2278:[,220],2279:[,230],2280:[,230],2281:[,220],2282:[,230],2283:[,230],2284:[,230],2285:[,220],2286:[,220],2287:[,220],2288:[,27],2289:[,28],2290:[,29],2291:[,230],2292:[,230],2293:[,230],2294:[,220],2295:[,230],2296:[,230],2297:[,220],2298:[,220],2299:[,230],2300:[,230],2301:[,230],2302:[,230],2303:[,230]},2304:{2344:[,,{2364:2345}],2345:[[2344,2364]],2352:[,,{2364:2353}],2353:[[2352,2364]],2355:[,,{2364:2356}],2356:[[2355,2364]],2364:[,7],2381:[,9],2385:[,230],2386:[,220],2387:[,230],2388:[,230],2392:[[2325,2364],512],2393:[[2326,2364],512],2394:[[2327,2364],512],2395:[[2332,2364],512],2396:[[2337,2364],512],2397:[[2338,2364],512],2398:[[2347,2364],512],2399:[[2351,2364],512],2492:[,7],2503:[,,{2494:2507,2519:2508}],2507:[[2503,2494]],2508:[[2503,2519]],2509:[,9],2524:[[2465,2492],512],2525:[[2466,2492],512],2527:[[2479,2492],512]},2560:{2611:[[2610,2620],512],2614:[[2616,2620],512],2620:[,7],2637:[,9],2649:[[2582,2620],512],2650:[[2583,2620],512],2651:[[2588,2620],512],2654:[[2603,2620],512],2748:[,7],2765:[,9],68109:[,220],68111:[,230],68152:[,230],68153:[,1],68154:[,220],68159:[,9],68325:[,230],68326:[,220]},2816:{2876:[,7],2887:[,,{2878:2891,2902:2888,2903:2892}],2888:[[2887,2902]],2891:[[2887,2878]],2892:[[2887,2903]],2893:[,9],2908:[[2849,2876],512],2909:[[2850,2876],512],2962:[,,{3031:2964}],2964:[[2962,3031]],3014:[,,{3006:3018,3031:3020}],3015:[,,{3006:3019}],3018:[[3014,3006]],3019:[[3015,3006]],3020:[[3014,3031]],3021:[,9]},3072:{3142:[,,{3158:3144}],3144:[[3142,3158]],3149:[,9],3157:[,84],3158:[,91],3260:[,7],3263:[,,{3285:3264}],3264:[[3263,3285]],3270:[,,{3266:3274,3285:3271,3286:3272}],3271:[[3270,3285]],3272:[[3270,3286]],3274:[[3270,3266],,{3285:3275}],3275:[[3274,3285]],3277:[,9]},3328:{3398:[,,{3390:3402,3415:3404}],3399:[,,{3390:3403}],3402:[[3398,3390]],3403:[[3399,3390]],3404:[[3398,3415]],3405:[,9],3530:[,9],3545:[,,{3530:3546,3535:3548,3551:3550}],3546:[[3545,3530]],3548:[[3545,3535],,{3530:3549}],3549:[[3548,3530]],3550:[[3545,3551]]},3584:{3635:[[3661,3634],256],3640:[,103],3641:[,103],3642:[,9],3656:[,107],3657:[,107],3658:[,107],3659:[,107],3763:[[3789,3762],256],3768:[,118],3769:[,118],3784:[,122],3785:[,122],3786:[,122],3787:[,122],3804:[[3755,3737],256],3805:[[3755,3745],256]},3840:{3852:[[3851],256],3864:[,220],3865:[,220],3893:[,220],3895:[,220],3897:[,216],3907:[[3906,4023],512],3917:[[3916,4023],512],3922:[[3921,4023],512],3927:[[3926,4023],512],3932:[[3931,4023],512],3945:[[3904,4021],512],3953:[,129],3954:[,130],3955:[[3953,3954],512],3956:[,132],3957:[[3953,3956],512],3958:[[4018,3968],512],3959:[[4018,3969],256],3960:[[4019,3968],512],3961:[[4019,3969],256],3962:[,130],3963:[,130],3964:[,130],3965:[,130],3968:[,130],3969:[[3953,3968],512],3970:[,230],3971:[,230],3972:[,9],3974:[,230],3975:[,230],3987:[[3986,4023],512],3997:[[3996,4023],512],4002:[[4001,4023],512],4007:[[4006,4023],512],4012:[[4011,4023],512],4025:[[3984,4021],512],4038:[,220]},4096:{4133:[,,{4142:4134}],4134:[[4133,4142]],4151:[,7],4153:[,9],4154:[,9],4237:[,220],4348:[[4316],256],69702:[,9],69759:[,9],69785:[,,{69818:69786}],69786:[[69785,69818]],69787:[,,{69818:69788}],69788:[[69787,69818]],69797:[,,{69818:69803}],69803:[[69797,69818]],69817:[,9],69818:[,7]},4352:{69888:[,230],69889:[,230],69890:[,230],69934:[[69937,69927]],69935:[[69938,69927]],69937:[,,{69927:69934}],69938:[,,{69927:69935}],69939:[,9],69940:[,9],70003:[,7],70080:[,9]},4608:{70197:[,9],70198:[,7],70377:[,7],70378:[,9]},4864:{4957:[,230],4958:[,230],4959:[,230],70460:[,7],70471:[,,{70462:70475,70487:70476}],70475:[[70471,70462]],70476:[[70471,70487]],70477:[,9],70502:[,230],70503:[,230],70504:[,230],70505:[,230],70506:[,230],70507:[,230],70508:[,230],70512:[,230],70513:[,230],70514:[,230],70515:[,230],70516:[,230]},5120:{70841:[,,{70832:70844,70842:70843,70845:70846}],70843:[[70841,70842]],70844:[[70841,70832]],70846:[[70841,70845]],70850:[,9],70851:[,7]},5376:{71096:[,,{71087:71098}],71097:[,,{71087:71099}],71098:[[71096,71087]],71099:[[71097,71087]],71103:[,9],71104:[,7]},5632:{71231:[,9],71350:[,9],71351:[,7]},5888:{5908:[,9],5940:[,9],6098:[,9],6109:[,230]},6144:{6313:[,228]},6400:{6457:[,222],6458:[,230],6459:[,220]},6656:{6679:[,230],6680:[,220],6752:[,9],6773:[,230],6774:[,230],6775:[,230],6776:[,230],6777:[,230],6778:[,230],6779:[,230],6780:[,230],6783:[,220],6832:[,230],6833:[,230],6834:[,230],6835:[,230],6836:[,230],6837:[,220],6838:[,220],6839:[,220],6840:[,220],6841:[,220],6842:[,220],6843:[,230],6844:[,230],6845:[,220]},6912:{6917:[,,{6965:6918}],6918:[[6917,6965]],6919:[,,{6965:6920}],6920:[[6919,6965]],6921:[,,{6965:6922}],6922:[[6921,6965]],6923:[,,{6965:6924}],6924:[[6923,6965]],6925:[,,{6965:6926}],6926:[[6925,6965]],6929:[,,{6965:6930}],6930:[[6929,6965]],6964:[,7],6970:[,,{6965:6971}],6971:[[6970,6965]],6972:[,,{6965:6973}],6973:[[6972,6965]],6974:[,,{6965:6976}],6975:[,,{6965:6977}],6976:[[6974,6965]],6977:[[6975,6965]],6978:[,,{6965:6979}],6979:[[6978,6965]],6980:[,9],7019:[,230],7020:[,220],7021:[,230],7022:[,230],7023:[,230],7024:[,230],7025:[,230],7026:[,230],7027:[,230],7082:[,9],7083:[,9],7142:[,7],7154:[,9],7155:[,9]},7168:{7223:[,7],7376:[,230],7377:[,230],7378:[,230],7380:[,1],7381:[,220],7382:[,220],7383:[,220],7384:[,220],7385:[,220],7386:[,230],7387:[,230],7388:[,220],7389:[,220],7390:[,220],7391:[,220],7392:[,230],7394:[,1],7395:[,1],7396:[,1],7397:[,1],7398:[,1],7399:[,1],7400:[,1],7405:[,220],7412:[,230],7416:[,230],7417:[,230]},7424:{7468:[[65],256],7469:[[198],256],7470:[[66],256],7472:[[68],256],7473:[[69],256],7474:[[398],256],7475:[[71],256],7476:[[72],256],7477:[[73],256],7478:[[74],256],7479:[[75],256],7480:[[76],256],7481:[[77],256],7482:[[78],256],7484:[[79],256],7485:[[546],256],7486:[[80],256],7487:[[82],256],7488:[[84],256],7489:[[85],256],7490:[[87],256],7491:[[97],256],7492:[[592],256],7493:[[593],256],7494:[[7426],256],7495:[[98],256],7496:[[100],256],7497:[[101],256],7498:[[601],256],7499:[[603],256],7500:[[604],256],7501:[[103],256],7503:[[107],256],7504:[[109],256],7505:[[331],256],7506:[[111],256],7507:[[596],256],7508:[[7446],256],7509:[[7447],256],7510:[[112],256],7511:[[116],256],7512:[[117],256],7513:[[7453],256],7514:[[623],256],7515:[[118],256],7516:[[7461],256],7517:[[946],256],7518:[[947],256],7519:[[948],256],7520:[[966],256],7521:[[967],256],7522:[[105],256],7523:[[114],256],7524:[[117],256],7525:[[118],256],7526:[[946],256],7527:[[947],256],7528:[[961],256],7529:[[966],256],7530:[[967],256],7544:[[1085],256],7579:[[594],256],7580:[[99],256],7581:[[597],256],7582:[[240],256],7583:[[604],256],7584:[[102],256],7585:[[607],256],7586:[[609],256],7587:[[613],256],7588:[[616],256],7589:[[617],256],7590:[[618],256],7591:[[7547],256],7592:[[669],256],7593:[[621],256],7594:[[7557],256],7595:[[671],256],7596:[[625],256],7597:[[624],256],7598:[[626],256],7599:[[627],256],7600:[[628],256],7601:[[629],256],7602:[[632],256],7603:[[642],256],7604:[[643],256],7605:[[427],256],7606:[[649],256],7607:[[650],256],7608:[[7452],256],7609:[[651],256],7610:[[652],256],7611:[[122],256],7612:[[656],256],7613:[[657],256],7614:[[658],256],7615:[[952],256],7616:[,230],7617:[,230],7618:[,220],7619:[,230],7620:[,230],7621:[,230],7622:[,230],7623:[,230],7624:[,230],7625:[,230],7626:[,220],7627:[,230],7628:[,230],7629:[,234],7630:[,214],7631:[,220],7632:[,202],7633:[,230],7634:[,230],7635:[,230],7636:[,230],7637:[,230],7638:[,230],7639:[,230],7640:[,230],7641:[,230],7642:[,230],7643:[,230],7644:[,230],7645:[,230],7646:[,230],7647:[,230],7648:[,230],7649:[,230],7650:[,230],7651:[,230],7652:[,230],7653:[,230],7654:[,230],7655:[,230],7656:[,230],7657:[,230],7658:[,230],7659:[,230],7660:[,230],7661:[,230],7662:[,230],7663:[,230],7664:[,230],7665:[,230],7666:[,230],7667:[,230],7668:[,230],7669:[,230],7676:[,233],7677:[,220],7678:[,230],7679:[,220]},7680:{7680:[[65,805]],7681:[[97,805]],7682:[[66,775]],7683:[[98,775]],7684:[[66,803]],7685:[[98,803]],7686:[[66,817]],7687:[[98,817]],7688:[[199,769]],7689:[[231,769]],7690:[[68,775]],7691:[[100,775]],7692:[[68,803]],7693:[[100,803]],7694:[[68,817]],7695:[[100,817]],7696:[[68,807]],7697:[[100,807]],7698:[[68,813]],7699:[[100,813]],7700:[[274,768]],7701:[[275,768]],7702:[[274,769]],7703:[[275,769]],7704:[[69,813]],7705:[[101,813]],7706:[[69,816]],7707:[[101,816]],7708:[[552,774]],7709:[[553,774]],7710:[[70,775]],7711:[[102,775]],7712:[[71,772]],7713:[[103,772]],7714:[[72,775]],7715:[[104,775]],7716:[[72,803]],7717:[[104,803]],7718:[[72,776]],7719:[[104,776]],7720:[[72,807]],7721:[[104,807]],7722:[[72,814]],7723:[[104,814]],7724:[[73,816]],7725:[[105,816]],7726:[[207,769]],7727:[[239,769]],7728:[[75,769]],7729:[[107,769]],7730:[[75,803]],7731:[[107,803]],7732:[[75,817]],7733:[[107,817]],7734:[[76,803],,{772:7736}],7735:[[108,803],,{772:7737}],7736:[[7734,772]],7737:[[7735,772]],7738:[[76,817]],7739:[[108,817]],7740:[[76,813]],7741:[[108,813]],7742:[[77,769]],7743:[[109,769]],7744:[[77,775]],7745:[[109,775]],7746:[[77,803]],7747:[[109,803]],7748:[[78,775]],7749:[[110,775]],7750:[[78,803]],7751:[[110,803]],7752:[[78,817]],7753:[[110,817]],7754:[[78,813]],7755:[[110,813]],7756:[[213,769]],7757:[[245,769]],7758:[[213,776]],7759:[[245,776]],7760:[[332,768]],7761:[[333,768]],7762:[[332,769]],7763:[[333,769]],7764:[[80,769]],7765:[[112,769]],7766:[[80,775]],7767:[[112,775]],7768:[[82,775]],7769:[[114,775]],7770:[[82,803],,{772:7772}],7771:[[114,803],,{772:7773}],7772:[[7770,772]],7773:[[7771,772]],7774:[[82,817]],7775:[[114,817]],7776:[[83,775]],7777:[[115,775]],7778:[[83,803],,{775:7784}],7779:[[115,803],,{775:7785}],7780:[[346,775]],7781:[[347,775]],7782:[[352,775]],7783:[[353,775]],7784:[[7778,775]],7785:[[7779,775]],7786:[[84,775]],7787:[[116,775]],7788:[[84,803]],7789:[[116,803]],7790:[[84,817]],7791:[[116,817]],7792:[[84,813]],7793:[[116,813]],7794:[[85,804]],7795:[[117,804]],7796:[[85,816]],7797:[[117,816]],7798:[[85,813]],7799:[[117,813]],7800:[[360,769]],7801:[[361,769]],7802:[[362,776]],7803:[[363,776]],7804:[[86,771]],7805:[[118,771]],7806:[[86,803]],7807:[[118,803]],7808:[[87,768]],7809:[[119,768]],7810:[[87,769]],7811:[[119,769]],7812:[[87,776]],7813:[[119,776]],7814:[[87,775]],7815:[[119,775]],7816:[[87,803]],7817:[[119,803]],7818:[[88,775]],7819:[[120,775]],7820:[[88,776]],7821:[[120,776]],7822:[[89,775]],7823:[[121,775]],7824:[[90,770]],7825:[[122,770]],7826:[[90,803]],7827:[[122,803]],7828:[[90,817]],7829:[[122,817]],7830:[[104,817]],7831:[[116,776]],7832:[[119,778]],7833:[[121,778]],7834:[[97,702],256],7835:[[383,775]],7840:[[65,803],,{770:7852,774:7862}],7841:[[97,803],,{770:7853,774:7863}],7842:[[65,777]],7843:[[97,777]],7844:[[194,769]],7845:[[226,769]],7846:[[194,768]],7847:[[226,768]],7848:[[194,777]],7849:[[226,777]],7850:[[194,771]],7851:[[226,771]],7852:[[7840,770]],7853:[[7841,770]],7854:[[258,769]],7855:[[259,769]],7856:[[258,768]],7857:[[259,768]],7858:[[258,777]],7859:[[259,777]],7860:[[258,771]],7861:[[259,771]],7862:[[7840,774]],7863:[[7841,774]],7864:[[69,803],,{770:7878}],7865:[[101,803],,{770:7879}],7866:[[69,777]],7867:[[101,777]],7868:[[69,771]],7869:[[101,771]],7870:[[202,769]],7871:[[234,769]],7872:[[202,768]],7873:[[234,768]],7874:[[202,777]],7875:[[234,777]],7876:[[202,771]],7877:[[234,771]],7878:[[7864,770]],7879:[[7865,770]],7880:[[73,777]],7881:[[105,777]],7882:[[73,803]],7883:[[105,803]],7884:[[79,803],,{770:7896}],7885:[[111,803],,{770:7897}],7886:[[79,777]],7887:[[111,777]],7888:[[212,769]],7889:[[244,769]],7890:[[212,768]],7891:[[244,768]],7892:[[212,777]],7893:[[244,777]],7894:[[212,771]],7895:[[244,771]],7896:[[7884,770]],7897:[[7885,770]],7898:[[416,769]],7899:[[417,769]],7900:[[416,768]],7901:[[417,768]],7902:[[416,777]],7903:[[417,777]],7904:[[416,771]],7905:[[417,771]],7906:[[416,803]],7907:[[417,803]],7908:[[85,803]],7909:[[117,803]],7910:[[85,777]],7911:[[117,777]],7912:[[431,769]],7913:[[432,769]],7914:[[431,768]],7915:[[432,768]],7916:[[431,777]],7917:[[432,777]],7918:[[431,771]],7919:[[432,771]],7920:[[431,803]],7921:[[432,803]],7922:[[89,768]],7923:[[121,768]],7924:[[89,803]],7925:[[121,803]],7926:[[89,777]],7927:[[121,777]],7928:[[89,771]],7929:[[121,771]]},7936:{7936:[[945,787],,{768:7938,769:7940,834:7942,837:8064}],7937:[[945,788],,{768:7939,769:7941,834:7943,837:8065}],7938:[[7936,768],,{837:8066}],7939:[[7937,768],,{837:8067}],7940:[[7936,769],,{837:8068}],7941:[[7937,769],,{837:8069}],7942:[[7936,834],,{837:8070}],7943:[[7937,834],,{837:8071}],7944:[[913,787],,{768:7946,769:7948,834:7950,837:8072}],7945:[[913,788],,{768:7947,769:7949,834:7951,837:8073}],7946:[[7944,768],,{837:8074}],7947:[[7945,768],,{837:8075}],7948:[[7944,769],,{837:8076}],7949:[[7945,769],,{837:8077}],7950:[[7944,834],,{837:8078}],7951:[[7945,834],,{837:8079}],7952:[[949,787],,{768:7954,769:7956}],7953:[[949,788],,{768:7955,769:7957}],7954:[[7952,768]],7955:[[7953,768]],7956:[[7952,769]],7957:[[7953,769]],7960:[[917,787],,{768:7962,769:7964}],7961:[[917,788],,{768:7963,769:7965}],7962:[[7960,768]],7963:[[7961,768]],7964:[[7960,769]],7965:[[7961,769]],7968:[[951,787],,{768:7970,769:7972,834:7974,837:8080}],7969:[[951,788],,{768:7971,769:7973,834:7975,837:8081}],7970:[[7968,768],,{837:8082}],7971:[[7969,768],,{837:8083}],7972:[[7968,769],,{837:8084}],7973:[[7969,769],,{837:8085}],7974:[[7968,834],,{837:8086}],7975:[[7969,834],,{837:8087}],7976:[[919,787],,{768:7978,769:7980,834:7982,837:8088}],7977:[[919,788],,{768:7979,769:7981,834:7983,837:8089}],7978:[[7976,768],,{837:8090}],7979:[[7977,768],,{837:8091}],7980:[[7976,769],,{837:8092}],7981:[[7977,769],,{837:8093}],7982:[[7976,834],,{837:8094}],7983:[[7977,834],,{837:8095}],7984:[[953,787],,{768:7986,769:7988,834:7990}],7985:[[953,788],,{768:7987,769:7989,834:7991}],7986:[[7984,768]],7987:[[7985,768]],7988:[[7984,769]],7989:[[7985,769]],7990:[[7984,834]],7991:[[7985,834]],7992:[[921,787],,{768:7994,769:7996,834:7998}],7993:[[921,788],,{768:7995,769:7997,834:7999}],7994:[[7992,768]],7995:[[7993,768]],7996:[[7992,769]],7997:[[7993,769]],7998:[[7992,834]],7999:[[7993,834]],8e3:[[959,787],,{768:8002,769:8004}],8001:[[959,788],,{768:8003,769:8005}],8002:[[8e3,768]],8003:[[8001,768]],8004:[[8e3,769]],8005:[[8001,769]],8008:[[927,787],,{768:8010,769:8012}],8009:[[927,788],,{768:8011,769:8013}],8010:[[8008,768]],8011:[[8009,768]],8012:[[8008,769]],8013:[[8009,769]],8016:[[965,787],,{768:8018,769:8020,834:8022}],8017:[[965,788],,{768:8019,769:8021,834:8023}],8018:[[8016,768]],8019:[[8017,768]],8020:[[8016,769]],8021:[[8017,769]],8022:[[8016,834]],8023:[[8017,834]],8025:[[933,788],,{768:8027,769:8029,834:8031}],8027:[[8025,768]],8029:[[8025,769]],8031:[[8025,834]],8032:[[969,787],,{768:8034,769:8036,834:8038,837:8096}],8033:[[969,788],,{768:8035,769:8037,834:8039,837:8097}],8034:[[8032,768],,{837:8098}],8035:[[8033,768],,{837:8099}],8036:[[8032,769],,{837:8100}],8037:[[8033,769],,{837:8101}],8038:[[8032,834],,{837:8102}],8039:[[8033,834],,{837:8103}],8040:[[937,787],,{768:8042,769:8044,834:8046,837:8104}],8041:[[937,788],,{768:8043,769:8045,834:8047,837:8105}],8042:[[8040,768],,{837:8106}],8043:[[8041,768],,{837:8107}],8044:[[8040,769],,{837:8108}],8045:[[8041,769],,{837:8109}],8046:[[8040,834],,{837:8110}],8047:[[8041,834],,{837:8111}],8048:[[945,768],,{837:8114}],8049:[[940]],8050:[[949,768]],8051:[[941]],8052:[[951,768],,{837:8130}],8053:[[942]],8054:[[953,768]],8055:[[943]],8056:[[959,768]],8057:[[972]],8058:[[965,768]],8059:[[973]],8060:[[969,768],,{837:8178}],8061:[[974]],8064:[[7936,837]],8065:[[7937,837]],8066:[[7938,837]],8067:[[7939,837]],8068:[[7940,837]],8069:[[7941,837]],8070:[[7942,837]],8071:[[7943,837]],8072:[[7944,837]],8073:[[7945,837]],8074:[[7946,837]],8075:[[7947,837]],8076:[[7948,837]],8077:[[7949,837]],8078:[[7950,837]],8079:[[7951,837]],8080:[[7968,837]],8081:[[7969,837]],8082:[[7970,837]],8083:[[7971,837]],8084:[[7972,837]],8085:[[7973,837]],8086:[[7974,837]],8087:[[7975,837]],8088:[[7976,837]],8089:[[7977,837]],8090:[[7978,837]],8091:[[7979,837]],8092:[[7980,837]],8093:[[7981,837]],8094:[[7982,837]],8095:[[7983,837]],8096:[[8032,837]],8097:[[8033,837]],8098:[[8034,837]],8099:[[8035,837]],8100:[[8036,837]],8101:[[8037,837]],8102:[[8038,837]],8103:[[8039,837]],8104:[[8040,837]],8105:[[8041,837]],8106:[[8042,837]],8107:[[8043,837]],8108:[[8044,837]],8109:[[8045,837]],8110:[[8046,837]],8111:[[8047,837]],8112:[[945,774]],8113:[[945,772]],8114:[[8048,837]],8115:[[945,837]],8116:[[940,837]],8118:[[945,834],,{837:8119}],8119:[[8118,837]],8120:[[913,774]],8121:[[913,772]],8122:[[913,768]],8123:[[902]],8124:[[913,837]],8125:[[32,787],256],8126:[[953]],8127:[[32,787],256,{768:8141,769:8142,834:8143}],8128:[[32,834],256],8129:[[168,834]],8130:[[8052,837]],8131:[[951,837]],8132:[[942,837]],8134:[[951,834],,{837:8135}],8135:[[8134,837]],8136:[[917,768]],8137:[[904]],8138:[[919,768]],8139:[[905]],8140:[[919,837]],8141:[[8127,768]],8142:[[8127,769]],8143:[[8127,834]],8144:[[953,774]],8145:[[953,772]],8146:[[970,768]],8147:[[912]],8150:[[953,834]],8151:[[970,834]],8152:[[921,774]],8153:[[921,772]],8154:[[921,768]],8155:[[906]],8157:[[8190,768]],8158:[[8190,769]],8159:[[8190,834]],8160:[[965,774]],8161:[[965,772]],8162:[[971,768]],8163:[[944]],8164:[[961,787]],8165:[[961,788]],8166:[[965,834]],8167:[[971,834]],8168:[[933,774]],8169:[[933,772]],8170:[[933,768]],8171:[[910]],8172:[[929,788]],8173:[[168,768]],8174:[[901]],8175:[[96]],8178:[[8060,837]],8179:[[969,837]],8180:[[974,837]],8182:[[969,834],,{837:8183}],8183:[[8182,837]],8184:[[927,768]],8185:[[908]],8186:[[937,768]],8187:[[911]],8188:[[937,837]],8189:[[180]],8190:[[32,788],256,{768:8157,769:8158,834:8159}]},8192:{8192:[[8194]],8193:[[8195]],8194:[[32],256],8195:[[32],256],8196:[[32],256],8197:[[32],256],8198:[[32],256],8199:[[32],256],8200:[[32],256],8201:[[32],256],8202:[[32],256],8209:[[8208],256],8215:[[32,819],256],8228:[[46],256],8229:[[46,46],256],8230:[[46,46,46],256],8239:[[32],256],8243:[[8242,8242],256],8244:[[8242,8242,8242],256],8246:[[8245,8245],256],8247:[[8245,8245,8245],256],8252:[[33,33],256],8254:[[32,773],256],8263:[[63,63],256],8264:[[63,33],256],8265:[[33,63],256],8279:[[8242,8242,8242,8242],256],8287:[[32],256],8304:[[48],256],8305:[[105],256],8308:[[52],256],8309:[[53],256],8310:[[54],256],8311:[[55],256],8312:[[56],256],8313:[[57],256],8314:[[43],256],8315:[[8722],256],8316:[[61],256],8317:[[40],256],8318:[[41],256],8319:[[110],256],8320:[[48],256],8321:[[49],256],8322:[[50],256],8323:[[51],256],8324:[[52],256],8325:[[53],256],8326:[[54],256],8327:[[55],256],8328:[[56],256],8329:[[57],256],8330:[[43],256],8331:[[8722],256],8332:[[61],256],8333:[[40],256],8334:[[41],256],8336:[[97],256],8337:[[101],256],8338:[[111],256],8339:[[120],256],8340:[[601],256],8341:[[104],256],8342:[[107],256],8343:[[108],256],8344:[[109],256],8345:[[110],256],8346:[[112],256],8347:[[115],256],8348:[[116],256],8360:[[82,115],256],8400:[,230],8401:[,230],8402:[,1],8403:[,1],8404:[,230],8405:[,230],8406:[,230],8407:[,230],8408:[,1],8409:[,1],8410:[,1],8411:[,230],8412:[,230],8417:[,230],8421:[,1],8422:[,1],8423:[,230],8424:[,220],8425:[,230],8426:[,1],8427:[,1],8428:[,220],8429:[,220],8430:[,220],8431:[,220],8432:[,230]},8448:{8448:[[97,47,99],256],8449:[[97,47,115],256],8450:[[67],256],8451:[[176,67],256],8453:[[99,47,111],256],8454:[[99,47,117],256],8455:[[400],256],8457:[[176,70],256],8458:[[103],256],8459:[[72],256],8460:[[72],256],8461:[[72],256],8462:[[104],256],8463:[[295],256],8464:[[73],256],8465:[[73],256],8466:[[76],256],8467:[[108],256],8469:[[78],256],8470:[[78,111],256],8473:[[80],256],8474:[[81],256],8475:[[82],256],8476:[[82],256],8477:[[82],256],8480:[[83,77],256],8481:[[84,69,76],256],8482:[[84,77],256],8484:[[90],256],8486:[[937]],8488:[[90],256],8490:[[75]],8491:[[197]],8492:[[66],256],8493:[[67],256],8495:[[101],256],8496:[[69],256],8497:[[70],256],8499:[[77],256],8500:[[111],256],8501:[[1488],256],8502:[[1489],256],8503:[[1490],256],8504:[[1491],256],8505:[[105],256],8507:[[70,65,88],256],8508:[[960],256],8509:[[947],256],8510:[[915],256],8511:[[928],256],8512:[[8721],256],8517:[[68],256],8518:[[100],256],8519:[[101],256],8520:[[105],256],8521:[[106],256],8528:[[49,8260,55],256],8529:[[49,8260,57],256],8530:[[49,8260,49,48],256],8531:[[49,8260,51],256],8532:[[50,8260,51],256],8533:[[49,8260,53],256],8534:[[50,8260,53],256],8535:[[51,8260,53],256],8536:[[52,8260,53],256],8537:[[49,8260,54],256],8538:[[53,8260,54],256],8539:[[49,8260,56],256],8540:[[51,8260,56],256],8541:[[53,8260,56],256],8542:[[55,8260,56],256],8543:[[49,8260],256],8544:[[73],256],8545:[[73,73],256],8546:[[73,73,73],256],8547:[[73,86],256],8548:[[86],256],8549:[[86,73],256],8550:[[86,73,73],256],8551:[[86,73,73,73],256],8552:[[73,88],256],8553:[[88],256],8554:[[88,73],256],8555:[[88,73,73],256],8556:[[76],256],8557:[[67],256],8558:[[68],256],8559:[[77],256],8560:[[105],256],8561:[[105,105],256],8562:[[105,105,105],256],8563:[[105,118],256],8564:[[118],256],8565:[[118,105],256],8566:[[118,105,105],256],8567:[[118,105,105,105],256],8568:[[105,120],256],8569:[[120],256],8570:[[120,105],256],8571:[[120,105,105],256],8572:[[108],256],8573:[[99],256],8574:[[100],256],8575:[[109],256],8585:[[48,8260,51],256],8592:[,,{824:8602}],8594:[,,{824:8603}],8596:[,,{824:8622}],8602:[[8592,824]],8603:[[8594,824]],8622:[[8596,824]],8653:[[8656,824]],8654:[[8660,824]],8655:[[8658,824]],8656:[,,{824:8653}],8658:[,,{824:8655}],8660:[,,{824:8654}]},8704:{8707:[,,{824:8708}],8708:[[8707,824]],8712:[,,{824:8713}],8713:[[8712,824]],8715:[,,{824:8716}],8716:[[8715,824]],8739:[,,{824:8740}],8740:[[8739,824]],8741:[,,{824:8742}],8742:[[8741,824]],8748:[[8747,8747],256],8749:[[8747,8747,8747],256],8751:[[8750,8750],256],8752:[[8750,8750,8750],256],8764:[,,{824:8769}],8769:[[8764,824]],8771:[,,{824:8772}],8772:[[8771,824]],8773:[,,{824:8775}],8775:[[8773,824]],8776:[,,{824:8777}],8777:[[8776,824]],8781:[,,{824:8813}],8800:[[61,824]],8801:[,,{824:8802}],8802:[[8801,824]],8804:[,,{824:8816}],8805:[,,{824:8817}],8813:[[8781,824]],8814:[[60,824]],8815:[[62,824]],8816:[[8804,824]],8817:[[8805,824]],8818:[,,{824:8820}],8819:[,,{824:8821}],8820:[[8818,824]],8821:[[8819,824]],8822:[,,{824:8824}],8823:[,,{824:8825}],8824:[[8822,824]],8825:[[8823,824]],8826:[,,{824:8832}],8827:[,,{824:8833}],8828:[,,{824:8928}],8829:[,,{824:8929}],8832:[[8826,824]],8833:[[8827,824]],8834:[,,{824:8836}],8835:[,,{824:8837}],8836:[[8834,824]],8837:[[8835,824]],8838:[,,{824:8840}],8839:[,,{824:8841}],8840:[[8838,824]],8841:[[8839,824]],8849:[,,{824:8930}],8850:[,,{824:8931}],8866:[,,{824:8876}],8872:[,,{824:8877}],8873:[,,{824:8878}],8875:[,,{824:8879}],8876:[[8866,824]],8877:[[8872,824]],8878:[[8873,824]],8879:[[8875,824]],8882:[,,{824:8938}],8883:[,,{824:8939}],8884:[,,{824:8940}],8885:[,,{824:8941}],8928:[[8828,824]],8929:[[8829,824]],8930:[[8849,824]],8931:[[8850,824]],8938:[[8882,824]],8939:[[8883,824]],8940:[[8884,824]],8941:[[8885,824]]},8960:{9001:[[12296]],9002:[[12297]]},9216:{9312:[[49],256],9313:[[50],256],9314:[[51],256],9315:[[52],256],9316:[[53],256],9317:[[54],256],9318:[[55],256],9319:[[56],256],9320:[[57],256],9321:[[49,48],256],9322:[[49,49],256],9323:[[49,50],256],9324:[[49,51],256],9325:[[49,52],256],9326:[[49,53],256],9327:[[49,54],256],9328:[[49,55],256],9329:[[49,56],256],9330:[[49,57],256],9331:[[50,48],256],9332:[[40,49,41],256],9333:[[40,50,41],256],9334:[[40,51,41],256],9335:[[40,52,41],256],9336:[[40,53,41],256],9337:[[40,54,41],256],9338:[[40,55,41],256],9339:[[40,56,41],256],9340:[[40,57,41],256],9341:[[40,49,48,41],256],9342:[[40,49,49,41],256],9343:[[40,49,50,41],256],9344:[[40,49,51,41],256],9345:[[40,49,52,41],256],9346:[[40,49,53,41],256],9347:[[40,49,54,41],256],9348:[[40,49,55,41],256],9349:[[40,49,56,41],256],9350:[[40,49,57,41],256],9351:[[40,50,48,41],256],9352:[[49,46],256],9353:[[50,46],256],9354:[[51,46],256],9355:[[52,46],256],9356:[[53,46],256],9357:[[54,46],256],9358:[[55,46],256],9359:[[56,46],256],9360:[[57,46],256],9361:[[49,48,46],256],9362:[[49,49,46],256],9363:[[49,50,46],256],9364:[[49,51,46],256],9365:[[49,52,46],256],9366:[[49,53,46],256],9367:[[49,54,46],256],9368:[[49,55,46],256],9369:[[49,56,46],256],9370:[[49,57,46],256],9371:[[50,48,46],256],9372:[[40,97,41],256],9373:[[40,98,41],256],9374:[[40,99,41],256],9375:[[40,100,41],256],9376:[[40,101,41],256],9377:[[40,102,41],256],9378:[[40,103,41],256],9379:[[40,104,41],256],9380:[[40,105,41],256],9381:[[40,106,41],256],9382:[[40,107,41],256],9383:[[40,108,41],256],9384:[[40,109,41],256],9385:[[40,110,41],256],9386:[[40,111,41],256],9387:[[40,112,41],256],9388:[[40,113,41],256],9389:[[40,114,41],256],9390:[[40,115,41],256],9391:[[40,116,41],256],9392:[[40,117,41],256],9393:[[40,118,41],256],9394:[[40,119,41],256],9395:[[40,120,41],256],9396:[[40,121,41],256],9397:[[40,122,41],256],9398:[[65],256],9399:[[66],256],9400:[[67],256],9401:[[68],256],9402:[[69],256],9403:[[70],256],9404:[[71],256],9405:[[72],256],9406:[[73],256],9407:[[74],256],9408:[[75],256],9409:[[76],256],9410:[[77],256],9411:[[78],256],9412:[[79],256],9413:[[80],256],9414:[[81],256],9415:[[82],256],9416:[[83],256],9417:[[84],256],9418:[[85],256],9419:[[86],256],9420:[[87],256],9421:[[88],256],9422:[[89],256],9423:[[90],256],9424:[[97],256],9425:[[98],256],9426:[[99],256],9427:[[100],256],9428:[[101],256],9429:[[102],256],9430:[[103],256],9431:[[104],256],9432:[[105],256],9433:[[106],256],9434:[[107],256],9435:[[108],256],9436:[[109],256],9437:[[110],256],9438:[[111],256],9439:[[112],256],9440:[[113],256],9441:[[114],256],9442:[[115],256],9443:[[116],256],9444:[[117],256],9445:[[118],256],9446:[[119],256],9447:[[120],256],9448:[[121],256],9449:[[122],256],9450:[[48],256]},10752:{10764:[[8747,8747,8747,8747],256],10868:[[58,58,61],256],10869:[[61,61],256],10870:[[61,61,61],256],10972:[[10973,824],512]},11264:{11388:[[106],256],11389:[[86],256],11503:[,230],11504:[,230],11505:[,230]},11520:{11631:[[11617],256],11647:[,9],11744:[,230],11745:[,230],11746:[,230],11747:[,230],11748:[,230],11749:[,230],11750:[,230],11751:[,230],11752:[,230],11753:[,230],11754:[,230],11755:[,230],11756:[,230],11757:[,230],11758:[,230],11759:[,230],11760:[,230],11761:[,230],11762:[,230],11763:[,230],11764:[,230],11765:[,230],11766:[,230],11767:[,230],11768:[,230],11769:[,230],11770:[,230],11771:[,230],11772:[,230],11773:[,230],11774:[,230],11775:[,230]},11776:{11935:[[27597],256],12019:[[40863],256]},12032:{12032:[[19968],256],12033:[[20008],256],12034:[[20022],256],12035:[[20031],256],12036:[[20057],256],12037:[[20101],256],12038:[[20108],256],12039:[[20128],256],12040:[[20154],256],12041:[[20799],256],12042:[[20837],256],12043:[[20843],256],12044:[[20866],256],12045:[[20886],256],12046:[[20907],256],12047:[[20960],256],12048:[[20981],256],12049:[[20992],256],12050:[[21147],256],12051:[[21241],256],12052:[[21269],256],12053:[[21274],256],12054:[[21304],256],12055:[[21313],256],12056:[[21340],256],12057:[[21353],256],12058:[[21378],256],12059:[[21430],256],12060:[[21448],256],12061:[[21475],256],12062:[[22231],256],12063:[[22303],256],12064:[[22763],256],12065:[[22786],256],12066:[[22794],256],12067:[[22805],256],12068:[[22823],256],12069:[[22899],256],12070:[[23376],256],12071:[[23424],256],12072:[[23544],256],12073:[[23567],256],12074:[[23586],256],12075:[[23608],256],12076:[[23662],256],12077:[[23665],256],12078:[[24027],256],12079:[[24037],256],12080:[[24049],256],12081:[[24062],256],12082:[[24178],256],12083:[[24186],256],12084:[[24191],256],12085:[[24308],256],12086:[[24318],256],12087:[[24331],256],12088:[[24339],256],12089:[[24400],256],12090:[[24417],256],12091:[[24435],256],12092:[[24515],256],12093:[[25096],256],12094:[[25142],256],12095:[[25163],256],12096:[[25903],256],12097:[[25908],256],12098:[[25991],256],12099:[[26007],256],12100:[[26020],256],12101:[[26041],256],12102:[[26080],256],12103:[[26085],256],12104:[[26352],256],12105:[[26376],256],12106:[[26408],256],12107:[[27424],256],12108:[[27490],256],12109:[[27513],256],12110:[[27571],256],12111:[[27595],256],12112:[[27604],256],12113:[[27611],256],12114:[[27663],256],12115:[[27668],256],12116:[[27700],256],12117:[[28779],256],12118:[[29226],256],12119:[[29238],256],12120:[[29243],256],12121:[[29247],256],12122:[[29255],256],12123:[[29273],256],12124:[[29275],256],12125:[[29356],256],12126:[[29572],256],12127:[[29577],256],12128:[[29916],256],12129:[[29926],256],12130:[[29976],256],12131:[[29983],256],12132:[[29992],256],12133:[[3e4],256],12134:[[30091],256],12135:[[30098],256],12136:[[30326],256],12137:[[30333],256],12138:[[30382],256],12139:[[30399],256],12140:[[30446],256],12141:[[30683],256],12142:[[30690],256],12143:[[30707],256],12144:[[31034],256],12145:[[31160],256],12146:[[31166],256],12147:[[31348],256],12148:[[31435],256],12149:[[31481],256],12150:[[31859],256],12151:[[31992],256],12152:[[32566],256],12153:[[32593],256],12154:[[32650],256],12155:[[32701],256],12156:[[32769],256],12157:[[32780],256],12158:[[32786],256],12159:[[32819],256],12160:[[32895],256],12161:[[32905],256],12162:[[33251],256],12163:[[33258],256],12164:[[33267],256],12165:[[33276],256],12166:[[33292],256],12167:[[33307],256],12168:[[33311],256],12169:[[33390],256],12170:[[33394],256],12171:[[33400],256],12172:[[34381],256],12173:[[34411],256],12174:[[34880],256],12175:[[34892],256],12176:[[34915],256],12177:[[35198],256],12178:[[35211],256],12179:[[35282],256],12180:[[35328],256],12181:[[35895],256],12182:[[35910],256],12183:[[35925],256],12184:[[35960],256],12185:[[35997],256],12186:[[36196],256],12187:[[36208],256],12188:[[36275],256],12189:[[36523],256],12190:[[36554],256],12191:[[36763],256],12192:[[36784],256],12193:[[36789],256],12194:[[37009],256],12195:[[37193],256],12196:[[37318],256],12197:[[37324],256],12198:[[37329],256],12199:[[38263],256],12200:[[38272],256],12201:[[38428],256],12202:[[38582],256],12203:[[38585],256],12204:[[38632],256],12205:[[38737],256],12206:[[38750],256],12207:[[38754],256],12208:[[38761],256],12209:[[38859],256],12210:[[38893],256],12211:[[38899],256],12212:[[38913],256],12213:[[39080],256],12214:[[39131],256],12215:[[39135],256],12216:[[39318],256],12217:[[39321],256],12218:[[39340],256],12219:[[39592],256],12220:[[39640],256],12221:[[39647],256],12222:[[39717],256],12223:[[39727],256],12224:[[39730],256],12225:[[39740],256],12226:[[39770],256],12227:[[40165],256],12228:[[40565],256],12229:[[40575],256],12230:[[40613],256],12231:[[40635],256],12232:[[40643],256],12233:[[40653],256],12234:[[40657],256],12235:[[40697],256],12236:[[40701],256],12237:[[40718],256],12238:[[40723],256],12239:[[40736],256],12240:[[40763],256],12241:[[40778],256],12242:[[40786],256],12243:[[40845],256],12244:[[40860],256],12245:[[40864],256]},12288:{12288:[[32],256],12330:[,218],12331:[,228],12332:[,232],12333:[,222],12334:[,224],12335:[,224],12342:[[12306],256],12344:[[21313],256],12345:[[21316],256],12346:[[21317],256],12358:[,,{12441:12436}],12363:[,,{12441:12364}],12364:[[12363,12441]],12365:[,,{12441:12366}],12366:[[12365,12441]],12367:[,,{12441:12368}],12368:[[12367,12441]],12369:[,,{12441:12370}],12370:[[12369,12441]],12371:[,,{12441:12372}],12372:[[12371,12441]],12373:[,,{12441:12374}],12374:[[12373,12441]],12375:[,,{12441:12376}],12376:[[12375,12441]],12377:[,,{12441:12378}],12378:[[12377,12441]],12379:[,,{12441:12380}],12380:[[12379,12441]],12381:[,,{12441:12382}],12382:[[12381,12441]],12383:[,,{12441:12384}],12384:[[12383,12441]],12385:[,,{12441:12386}],12386:[[12385,12441]],12388:[,,{12441:12389}],12389:[[12388,12441]],12390:[,,{12441:12391}],12391:[[12390,12441]],12392:[,,{12441:12393}],12393:[[12392,12441]],12399:[,,{12441:12400,12442:12401}],12400:[[12399,12441]],12401:[[12399,12442]],12402:[,,{12441:12403,12442:12404}],12403:[[12402,12441]],12404:[[12402,12442]],12405:[,,{12441:12406,12442:12407}],12406:[[12405,12441]],12407:[[12405,12442]],12408:[,,{12441:12409,12442:12410}],12409:[[12408,12441]],12410:[[12408,12442]],12411:[,,{12441:12412,12442:12413}],12412:[[12411,12441]],12413:[[12411,12442]],12436:[[12358,12441]],12441:[,8],12442:[,8],12443:[[32,12441],256],12444:[[32,12442],256],12445:[,,{12441:12446}],12446:[[12445,12441]],12447:[[12424,12426],256],12454:[,,{12441:12532}],12459:[,,{12441:12460}],12460:[[12459,12441]],12461:[,,{12441:12462}],12462:[[12461,12441]],12463:[,,{12441:12464}],12464:[[12463,12441]],12465:[,,{12441:12466}],12466:[[12465,12441]],12467:[,,{12441:12468}],12468:[[12467,12441]],12469:[,,{12441:12470}],12470:[[12469,12441]],12471:[,,{12441:12472}],12472:[[12471,12441]],12473:[,,{12441:12474}],12474:[[12473,12441]],12475:[,,{12441:12476}],12476:[[12475,12441]],12477:[,,{12441:12478}],12478:[[12477,12441]],12479:[,,{12441:12480}],12480:[[12479,12441]],12481:[,,{12441:12482}],12482:[[12481,12441]],12484:[,,{12441:12485}],12485:[[12484,12441]],12486:[,,{12441:12487}],12487:[[12486,12441]],12488:[,,{12441:12489}],12489:[[12488,12441]],12495:[,,{12441:12496,12442:12497}],12496:[[12495,12441]],12497:[[12495,12442]],12498:[,,{12441:12499,12442:12500}],12499:[[12498,12441]],12500:[[12498,12442]],12501:[,,{12441:12502,12442:12503}],12502:[[12501,12441]],12503:[[12501,12442]],12504:[,,{12441:12505,12442:12506}],12505:[[12504,12441]],12506:[[12504,12442]],12507:[,,{12441:12508,12442:12509}],12508:[[12507,12441]],12509:[[12507,12442]],12527:[,,{12441:12535}],12528:[,,{12441:12536}],12529:[,,{12441:12537}],12530:[,,{12441:12538}],12532:[[12454,12441]],12535:[[12527,12441]],12536:[[12528,12441]],12537:[[12529,12441]],12538:[[12530,12441]],12541:[,,{12441:12542}],12542:[[12541,12441]],12543:[[12467,12488],256]},12544:{12593:[[4352],256],12594:[[4353],256],12595:[[4522],256],12596:[[4354],256],12597:[[4524],256],12598:[[4525],256],12599:[[4355],256],12600:[[4356],256],12601:[[4357],256],12602:[[4528],256],12603:[[4529],256],12604:[[4530],256],12605:[[4531],256],12606:[[4532],256],12607:[[4533],256],12608:[[4378],256],12609:[[4358],256],12610:[[4359],256],12611:[[4360],256],12612:[[4385],256],12613:[[4361],256],12614:[[4362],256],12615:[[4363],256],12616:[[4364],256],12617:[[4365],256],12618:[[4366],256],12619:[[4367],256],12620:[[4368],256],12621:[[4369],256],12622:[[4370],256],12623:[[4449],256],12624:[[4450],256],12625:[[4451],256],12626:[[4452],256],12627:[[4453],256],12628:[[4454],256],12629:[[4455],256],12630:[[4456],256],12631:[[4457],256],12632:[[4458],256],12633:[[4459],256],12634:[[4460],256],12635:[[4461],256],12636:[[4462],256],12637:[[4463],256],12638:[[4464],256],12639:[[4465],256],12640:[[4466],256],12641:[[4467],256],12642:[[4468],256],12643:[[4469],256],12644:[[4448],256],12645:[[4372],256],12646:[[4373],256],12647:[[4551],256],12648:[[4552],256],12649:[[4556],256],12650:[[4558],256],12651:[[4563],256],12652:[[4567],256],12653:[[4569],256],12654:[[4380],256],12655:[[4573],256],12656:[[4575],256],12657:[[4381],256],12658:[[4382],256],12659:[[4384],256],12660:[[4386],256],12661:[[4387],256],12662:[[4391],256],12663:[[4393],256],12664:[[4395],256],12665:[[4396],256],12666:[[4397],256],12667:[[4398],256],12668:[[4399],256],12669:[[4402],256],12670:[[4406],256],12671:[[4416],256],12672:[[4423],256],12673:[[4428],256],12674:[[4593],256],12675:[[4594],256],12676:[[4439],256],12677:[[4440],256],12678:[[4441],256],12679:[[4484],256],12680:[[4485],256],12681:[[4488],256],12682:[[4497],256],12683:[[4498],256],12684:[[4500],256],12685:[[4510],256],12686:[[4513],256],12690:[[19968],256],12691:[[20108],256],12692:[[19977],256],12693:[[22235],256],12694:[[19978],256],12695:[[20013],256],12696:[[19979],256],12697:[[30002],256],12698:[[20057],256],12699:[[19993],256],12700:[[19969],256],12701:[[22825],256],12702:[[22320],256],12703:[[20154],256]},12800:{12800:[[40,4352,41],256],12801:[[40,4354,41],256],12802:[[40,4355,41],256],12803:[[40,4357,41],256],12804:[[40,4358,41],256],12805:[[40,4359,41],256],12806:[[40,4361,41],256],12807:[[40,4363,41],256],12808:[[40,4364,41],256],12809:[[40,4366,41],256],12810:[[40,4367,41],256],12811:[[40,4368,41],256],12812:[[40,4369,41],256],12813:[[40,4370,41],256],12814:[[40,4352,4449,41],256],12815:[[40,4354,4449,41],256],12816:[[40,4355,4449,41],256],12817:[[40,4357,4449,41],256],12818:[[40,4358,4449,41],256],12819:[[40,4359,4449,41],256],12820:[[40,4361,4449,41],256],12821:[[40,4363,4449,41],256],12822:[[40,4364,4449,41],256],12823:[[40,4366,4449,41],256],12824:[[40,4367,4449,41],256],12825:[[40,4368,4449,41],256],12826:[[40,4369,4449,41],256],12827:[[40,4370,4449,41],256],12828:[[40,4364,4462,41],256],12829:[[40,4363,4457,4364,4453,4523,41],256],12830:[[40,4363,4457,4370,4462,41],256],12832:[[40,19968,41],256],12833:[[40,20108,41],256],12834:[[40,19977,41],256],12835:[[40,22235,41],256],12836:[[40,20116,41],256],12837:[[40,20845,41],256],12838:[[40,19971,41],256],12839:[[40,20843,41],256],12840:[[40,20061,41],256],12841:[[40,21313,41],256],12842:[[40,26376,41],256],12843:[[40,28779,41],256],12844:[[40,27700,41],256],12845:[[40,26408,41],256],12846:[[40,37329,41],256],12847:[[40,22303,41],256],12848:[[40,26085,41],256],12849:[[40,26666,41],256],12850:[[40,26377,41],256],12851:[[40,31038,41],256],12852:[[40,21517,41],256],12853:[[40,29305,41],256],12854:[[40,36001,41],256],12855:[[40,31069,41],256],12856:[[40,21172,41],256],12857:[[40,20195,41],256],12858:[[40,21628,41],256],12859:[[40,23398,41],256],12860:[[40,30435,41],256],12861:[[40,20225,41],256],12862:[[40,36039,41],256],12863:[[40,21332,41],256],12864:[[40,31085,41],256],12865:[[40,20241,41],256],12866:[[40,33258,41],256],12867:[[40,33267,41],256],12868:[[21839],256],12869:[[24188],256],12870:[[25991],256],12871:[[31631],256],12880:[[80,84,69],256],12881:[[50,49],256],12882:[[50,50],256],12883:[[50,51],256],12884:[[50,52],256],12885:[[50,53],256],12886:[[50,54],256],12887:[[50,55],256],12888:[[50,56],256],12889:[[50,57],256],12890:[[51,48],256],12891:[[51,49],256],12892:[[51,50],256],12893:[[51,51],256],12894:[[51,52],256],12895:[[51,53],256],12896:[[4352],256],12897:[[4354],256],12898:[[4355],256],12899:[[4357],256],12900:[[4358],256],12901:[[4359],256],12902:[[4361],256],12903:[[4363],256],12904:[[4364],256],12905:[[4366],256],12906:[[4367],256],12907:[[4368],256],12908:[[4369],256],12909:[[4370],256],12910:[[4352,4449],256],12911:[[4354,4449],256],12912:[[4355,4449],256],12913:[[4357,4449],256],12914:[[4358,4449],256],12915:[[4359,4449],256],12916:[[4361,4449],256],12917:[[4363,4449],256],12918:[[4364,4449],256],12919:[[4366,4449],256],12920:[[4367,4449],256],12921:[[4368,4449],256],12922:[[4369,4449],256],12923:[[4370,4449],256],12924:[[4366,4449,4535,4352,4457],256],12925:[[4364,4462,4363,4468],256],12926:[[4363,4462],256],12928:[[19968],256],12929:[[20108],256],12930:[[19977],256],12931:[[22235],256],12932:[[20116],256],12933:[[20845],256],12934:[[19971],256],12935:[[20843],256],12936:[[20061],256],12937:[[21313],256],12938:[[26376],256],12939:[[28779],256],12940:[[27700],256],12941:[[26408],256],12942:[[37329],256],12943:[[22303],256],12944:[[26085],256],12945:[[26666],256],12946:[[26377],256],12947:[[31038],256],12948:[[21517],256],12949:[[29305],256],12950:[[36001],256],12951:[[31069],256],12952:[[21172],256],12953:[[31192],256],12954:[[30007],256],12955:[[22899],256],12956:[[36969],256],12957:[[20778],256],12958:[[21360],256],12959:[[27880],256],12960:[[38917],256],12961:[[20241],256],12962:[[20889],256],12963:[[27491],256],12964:[[19978],256],12965:[[20013],256],12966:[[19979],256],12967:[[24038],256],12968:[[21491],256],12969:[[21307],256],12970:[[23447],256],12971:[[23398],256],12972:[[30435],256],12973:[[20225],256],12974:[[36039],256],12975:[[21332],256],12976:[[22812],256],12977:[[51,54],256],12978:[[51,55],256],12979:[[51,56],256],12980:[[51,57],256],12981:[[52,48],256],12982:[[52,49],256],12983:[[52,50],256],12984:[[52,51],256],12985:[[52,52],256],12986:[[52,53],256],12987:[[52,54],256],12988:[[52,55],256],12989:[[52,56],256],12990:[[52,57],256],12991:[[53,48],256],12992:[[49,26376],256],12993:[[50,26376],256],12994:[[51,26376],256],12995:[[52,26376],256],12996:[[53,26376],256],12997:[[54,26376],256],12998:[[55,26376],256],12999:[[56,26376],256],13e3:[[57,26376],256],13001:[[49,48,26376],256],13002:[[49,49,26376],256],13003:[[49,50,26376],256],13004:[[72,103],256],13005:[[101,114,103],256],13006:[[101,86],256],13007:[[76,84,68],256],13008:[[12450],256],13009:[[12452],256],13010:[[12454],256],13011:[[12456],256],13012:[[12458],256],13013:[[12459],256],13014:[[12461],256],13015:[[12463],256],13016:[[12465],256],13017:[[12467],256],13018:[[12469],256],13019:[[12471],256],13020:[[12473],256],13021:[[12475],256],13022:[[12477],256],13023:[[12479],256],13024:[[12481],256],13025:[[12484],256],13026:[[12486],256],13027:[[12488],256],13028:[[12490],256],13029:[[12491],256],13030:[[12492],256],13031:[[12493],256],13032:[[12494],256],13033:[[12495],256],13034:[[12498],256],13035:[[12501],256],13036:[[12504],256],13037:[[12507],256],13038:[[12510],256],13039:[[12511],256],13040:[[12512],256],13041:[[12513],256],13042:[[12514],256],13043:[[12516],256],13044:[[12518],256],13045:[[12520],256],13046:[[12521],256],13047:[[12522],256],13048:[[12523],256],13049:[[12524],256],13050:[[12525],256],13051:[[12527],256],13052:[[12528],256],13053:[[12529],256],13054:[[12530],256]},13056:{13056:[[12450,12497,12540,12488],256],13057:[[12450,12523,12501,12449],256],13058:[[12450,12531,12506,12450],256],13059:[[12450,12540,12523],256],13060:[[12452,12491,12531,12464],256],13061:[[12452,12531,12481],256],13062:[[12454,12457,12531],256],13063:[[12456,12473,12463,12540,12489],256],13064:[[12456,12540,12459,12540],256],13065:[[12458,12531,12473],256],13066:[[12458,12540,12512],256],13067:[[12459,12452,12522],256],13068:[[12459,12521,12483,12488],256],13069:[[12459,12525,12522,12540],256],13070:[[12460,12525,12531],256],13071:[[12460,12531,12510],256],13072:[[12462,12460],256],13073:[[12462,12491,12540],256],13074:[[12461,12517,12522,12540],256],13075:[[12462,12523,12480,12540],256],13076:[[12461,12525],256],13077:[[12461,12525,12464,12521,12512],256],13078:[[12461,12525,12513,12540,12488,12523],256],13079:[[12461,12525,12527,12483,12488],256],13080:[[12464,12521,12512],256],13081:[[12464,12521,12512,12488,12531],256],13082:[[12463,12523,12476,12452,12525],256],13083:[[12463,12525,12540,12493],256],13084:[[12465,12540,12473],256],13085:[[12467,12523,12490],256],13086:[[12467,12540,12509],256],13087:[[12469,12452,12463,12523],256],13088:[[12469,12531,12481,12540,12512],256],13089:[[12471,12522,12531,12464],256],13090:[[12475,12531,12481],256],13091:[[12475,12531,12488],256],13092:[[12480,12540,12473],256],13093:[[12487,12471],256],13094:[[12489,12523],256],13095:[[12488,12531],256],13096:[[12490,12494],256],13097:[[12494,12483,12488],256],13098:[[12495,12452,12484],256],13099:[[12497,12540,12475,12531,12488],256],13100:[[12497,12540,12484],256],13101:[[12496,12540,12524,12523],256],13102:[[12500,12450,12473,12488,12523],256],13103:[[12500,12463,12523],256],13104:[[12500,12467],256],13105:[[12499,12523],256],13106:[[12501,12449,12521,12483,12489],256],13107:[[12501,12451,12540,12488],256],13108:[[12502,12483,12471,12455,12523],256],13109:[[12501,12521,12531],256],13110:[[12504,12463,12479,12540,12523],256],13111:[[12506,12477],256],13112:[[12506,12491,12498],256],13113:[[12504,12523,12484],256],13114:[[12506,12531,12473],256],13115:[[12506,12540,12472],256],13116:[[12505,12540,12479],256],13117:[[12509,12452,12531,12488],256],13118:[[12508,12523,12488],256],13119:[[12507,12531],256],13120:[[12509,12531,12489],256],13121:[[12507,12540,12523],256],13122:[[12507,12540,12531],256],13123:[[12510,12452,12463,12525],256],13124:[[12510,12452,12523],256],13125:[[12510,12483,12495],256],13126:[[12510,12523,12463],256],13127:[[12510,12531,12471,12519,12531],256],13128:[[12511,12463,12525,12531],256],13129:[[12511,12522],256],13130:[[12511,12522,12496,12540,12523],256],13131:[[12513,12460],256],13132:[[12513,12460,12488,12531],256],13133:[[12513,12540,12488,12523],256],13134:[[12516,12540,12489],256],13135:[[12516,12540,12523],256],13136:[[12518,12450,12531],256],13137:[[12522,12483,12488,12523],256],13138:[[12522,12521],256],13139:[[12523,12500,12540],256],13140:[[12523,12540,12502,12523],256],13141:[[12524,12512],256],13142:[[12524,12531,12488,12466,12531],256],13143:[[12527,12483,12488],256],13144:[[48,28857],256],13145:[[49,28857],256],13146:[[50,28857],256],13147:[[51,28857],256],13148:[[52,28857],256],13149:[[53,28857],256],13150:[[54,28857],256],13151:[[55,28857],256],13152:[[56,28857],256],13153:[[57,28857],256],13154:[[49,48,28857],256],13155:[[49,49,28857],256],13156:[[49,50,28857],256],13157:[[49,51,28857],256],13158:[[49,52,28857],256],13159:[[49,53,28857],256],13160:[[49,54,28857],256],13161:[[49,55,28857],256],13162:[[49,56,28857],256],13163:[[49,57,28857],256],13164:[[50,48,28857],256],13165:[[50,49,28857],256],13166:[[50,50,28857],256],13167:[[50,51,28857],256],13168:[[50,52,28857],256],13169:[[104,80,97],256],13170:[[100,97],256],13171:[[65,85],256],13172:[[98,97,114],256],13173:[[111,86],256],13174:[[112,99],256],13175:[[100,109],256],13176:[[100,109,178],256],13177:[[100,109,179],256],13178:[[73,85],256],13179:[[24179,25104],256],13180:[[26157,21644],256],13181:[[22823,27491],256],13182:[[26126,27835],256],13183:[[26666,24335,20250,31038],256],13184:[[112,65],256],13185:[[110,65],256],13186:[[956,65],256],13187:[[109,65],256],13188:[[107,65],256],13189:[[75,66],256],13190:[[77,66],256],13191:[[71,66],256],13192:[[99,97,108],256],13193:[[107,99,97,108],256],13194:[[112,70],256],13195:[[110,70],256],13196:[[956,70],256],13197:[[956,103],256],13198:[[109,103],256],13199:[[107,103],256],13200:[[72,122],256],13201:[[107,72,122],256],13202:[[77,72,122],256],13203:[[71,72,122],256],13204:[[84,72,122],256],13205:[[956,8467],256],13206:[[109,8467],256],13207:[[100,8467],256],13208:[[107,8467],256],13209:[[102,109],256],13210:[[110,109],256],13211:[[956,109],256],13212:[[109,109],256],13213:[[99,109],256],13214:[[107,109],256],13215:[[109,109,178],256],13216:[[99,109,178],256],13217:[[109,178],256],13218:[[107,109,178],256],13219:[[109,109,179],256],13220:[[99,109,179],256],13221:[[109,179],256],13222:[[107,109,179],256],13223:[[109,8725,115],256],13224:[[109,8725,115,178],256],13225:[[80,97],256],13226:[[107,80,97],256],13227:[[77,80,97],256],13228:[[71,80,97],256],13229:[[114,97,100],256],13230:[[114,97,100,8725,115],256],13231:[[114,97,100,8725,115,178],256],13232:[[112,115],256],13233:[[110,115],256],13234:[[956,115],256],13235:[[109,115],256],13236:[[112,86],256],13237:[[110,86],256],13238:[[956,86],256],13239:[[109,86],256],13240:[[107,86],256],13241:[[77,86],256],13242:[[112,87],256],13243:[[110,87],256],13244:[[956,87],256],13245:[[109,87],256],13246:[[107,87],256],13247:[[77,87],256],13248:[[107,937],256],13249:[[77,937],256],13250:[[97,46,109,46],256],13251:[[66,113],256],13252:[[99,99],256],13253:[[99,100],256],13254:[[67,8725,107,103],256],13255:[[67,111,46],256],13256:[[100,66],256],13257:[[71,121],256],13258:[[104,97],256],13259:[[72,80],256],13260:[[105,110],256],13261:[[75,75],256],13262:[[75,77],256],13263:[[107,116],256],13264:[[108,109],256],13265:[[108,110],256],13266:[[108,111,103],256],13267:[[108,120],256],13268:[[109,98],256],13269:[[109,105,108],256],13270:[[109,111,108],256],13271:[[80,72],256],13272:[[112,46,109,46],256],13273:[[80,80,77],256],13274:[[80,82],256],13275:[[115,114],256],13276:[[83,118],256],13277:[[87,98],256],13278:[[86,8725,109],256],13279:[[65,8725,109],256],13280:[[49,26085],256],13281:[[50,26085],256],13282:[[51,26085],256],13283:[[52,26085],256],13284:[[53,26085],256],13285:[[54,26085],256],13286:[[55,26085],256],13287:[[56,26085],256],13288:[[57,26085],256],13289:[[49,48,26085],256],13290:[[49,49,26085],256],13291:[[49,50,26085],256],13292:[[49,51,26085],256],13293:[[49,52,26085],256],13294:[[49,53,26085],256],13295:[[49,54,26085],256],13296:[[49,55,26085],256],13297:[[49,56,26085],256],13298:[[49,57,26085],256],13299:[[50,48,26085],256],13300:[[50,49,26085],256],13301:[[50,50,26085],256],13302:[[50,51,26085],256],13303:[[50,52,26085],256],13304:[[50,53,26085],256],13305:[[50,54,26085],256],13306:[[50,55,26085],256],13307:[[50,56,26085],256],13308:[[50,57,26085],256],13309:[[51,48,26085],256],13310:[[51,49,26085],256],13311:[[103,97,108],256]},27136:{92912:[,1],92913:[,1],92914:[,1],92915:[,1],92916:[,1]},27392:{92976:[,230],92977:[,230],92978:[,230],92979:[,230],92980:[,230],92981:[,230],92982:[,230]},42496:{42607:[,230],42612:[,230],42613:[,230],42614:[,230],42615:[,230],42616:[,230],42617:[,230],42618:[,230],42619:[,230],42620:[,230],42621:[,230],42652:[[1098],256],42653:[[1100],256],42655:[,230],42736:[,230],42737:[,230]},42752:{42864:[[42863],256],43e3:[[294],256],43001:[[339],256]},43008:{43014:[,9],43204:[,9],43232:[,230],43233:[,230],43234:[,230],43235:[,230],43236:[,230],43237:[,230],43238:[,230],43239:[,230],43240:[,230],43241:[,230],43242:[,230],43243:[,230],43244:[,230],43245:[,230],43246:[,230],43247:[,230],43248:[,230],43249:[,230]},43264:{43307:[,220],43308:[,220],43309:[,220],43347:[,9],43443:[,7],43456:[,9]},43520:{43696:[,230],43698:[,230],43699:[,230],43700:[,220],43703:[,230],43704:[,230],43710:[,230],43711:[,230],43713:[,230],43766:[,9]},43776:{43868:[[42791],256],43869:[[43831],256],43870:[[619],256],43871:[[43858],256],44013:[,9]},48128:{113822:[,1]},53504:{119134:[[119127,119141],512],119135:[[119128,119141],512],119136:[[119135,119150],512],119137:[[119135,119151],512],119138:[[119135,119152],512],119139:[[119135,119153],512],119140:[[119135,119154],512],119141:[,216],119142:[,216],119143:[,1],119144:[,1],119145:[,1],119149:[,226],119150:[,216],119151:[,216],119152:[,216],119153:[,216],119154:[,216],119163:[,220],119164:[,220],119165:[,220],119166:[,220],119167:[,220],119168:[,220],119169:[,220],119170:[,220],119173:[,230],119174:[,230],119175:[,230],119176:[,230],119177:[,230],119178:[,220],119179:[,220],119210:[,230],119211:[,230],119212:[,230],119213:[,230],119227:[[119225,119141],512],119228:[[119226,119141],512],119229:[[119227,119150],512],119230:[[119228,119150],512],119231:[[119227,119151],512],119232:[[119228,119151],512]},53760:{119362:[,230],119363:[,230],119364:[,230]},54272:{119808:[[65],256],119809:[[66],256],119810:[[67],256],119811:[[68],256],119812:[[69],256],119813:[[70],256],119814:[[71],256],119815:[[72],256],119816:[[73],256],119817:[[74],256],119818:[[75],256],119819:[[76],256],119820:[[77],256],119821:[[78],256],119822:[[79],256],119823:[[80],256],119824:[[81],256],119825:[[82],256],119826:[[83],256],119827:[[84],256],119828:[[85],256],119829:[[86],256],119830:[[87],256],119831:[[88],256],119832:[[89],256],119833:[[90],256],119834:[[97],256],119835:[[98],256],119836:[[99],256],119837:[[100],256],119838:[[101],256],119839:[[102],256],119840:[[103],256],119841:[[104],256],119842:[[105],256],119843:[[106],256],119844:[[107],256],119845:[[108],256],119846:[[109],256],119847:[[110],256],119848:[[111],256],119849:[[112],256],119850:[[113],256],119851:[[114],256],119852:[[115],256],119853:[[116],256],119854:[[117],256],119855:[[118],256],119856:[[119],256],119857:[[120],256],119858:[[121],256],119859:[[122],256],119860:[[65],256],119861:[[66],256],119862:[[67],256],119863:[[68],256],119864:[[69],256],119865:[[70],256],119866:[[71],256],119867:[[72],256],119868:[[73],256],119869:[[74],256],119870:[[75],256],119871:[[76],256],119872:[[77],256],119873:[[78],256],119874:[[79],256],119875:[[80],256],119876:[[81],256],119877:[[82],256],119878:[[83],256],119879:[[84],256],119880:[[85],256],119881:[[86],256],119882:[[87],256],119883:[[88],256],119884:[[89],256],119885:[[90],256],119886:[[97],256],119887:[[98],256],119888:[[99],256],119889:[[100],256],119890:[[101],256],119891:[[102],256],119892:[[103],256],119894:[[105],256],119895:[[106],256],119896:[[107],256],119897:[[108],256],119898:[[109],256],119899:[[110],256],119900:[[111],256],119901:[[112],256],119902:[[113],256],119903:[[114],256],119904:[[115],256],119905:[[116],256],119906:[[117],256],119907:[[118],256],119908:[[119],256],119909:[[120],256],119910:[[121],256],119911:[[122],256],119912:[[65],256],119913:[[66],256],119914:[[67],256],119915:[[68],256],119916:[[69],256],119917:[[70],256],119918:[[71],256],119919:[[72],256],119920:[[73],256],119921:[[74],256],119922:[[75],256],119923:[[76],256],119924:[[77],256],119925:[[78],256],119926:[[79],256],119927:[[80],256],119928:[[81],256],119929:[[82],256],119930:[[83],256],119931:[[84],256],119932:[[85],256],119933:[[86],256],119934:[[87],256],119935:[[88],256],119936:[[89],256],119937:[[90],256],119938:[[97],256],119939:[[98],256],119940:[[99],256],119941:[[100],256],119942:[[101],256],119943:[[102],256],119944:[[103],256],119945:[[104],256],119946:[[105],256],119947:[[106],256],119948:[[107],256],119949:[[108],256],119950:[[109],256],119951:[[110],256],119952:[[111],256],119953:[[112],256],119954:[[113],256],119955:[[114],256],119956:[[115],256],119957:[[116],256],119958:[[117],256],119959:[[118],256],119960:[[119],256],119961:[[120],256],119962:[[121],256],119963:[[122],256],119964:[[65],256],119966:[[67],256],119967:[[68],256],119970:[[71],256],119973:[[74],256],119974:[[75],256],119977:[[78],256],119978:[[79],256],119979:[[80],256],119980:[[81],256],119982:[[83],256],119983:[[84],256],119984:[[85],256],119985:[[86],256],119986:[[87],256],119987:[[88],256],119988:[[89],256],119989:[[90],256],119990:[[97],256],119991:[[98],256],119992:[[99],256],119993:[[100],256],119995:[[102],256],119997:[[104],256],119998:[[105],256],119999:[[106],256],12e4:[[107],256],120001:[[108],256],120002:[[109],256],120003:[[110],256],120005:[[112],256],120006:[[113],256],120007:[[114],256],120008:[[115],256],120009:[[116],256],120010:[[117],256],120011:[[118],256],120012:[[119],256],120013:[[120],256],120014:[[121],256],120015:[[122],256],120016:[[65],256],120017:[[66],256],120018:[[67],256],120019:[[68],256],120020:[[69],256],120021:[[70],256],120022:[[71],256],120023:[[72],256],120024:[[73],256],120025:[[74],256],120026:[[75],256],120027:[[76],256],120028:[[77],256],120029:[[78],256],120030:[[79],256],120031:[[80],256],120032:[[81],256],120033:[[82],256],120034:[[83],256],120035:[[84],256],120036:[[85],256],120037:[[86],256],120038:[[87],256],120039:[[88],256],120040:[[89],256],120041:[[90],256],120042:[[97],256],120043:[[98],256],120044:[[99],256],120045:[[100],256],120046:[[101],256],120047:[[102],256],120048:[[103],256],120049:[[104],256],120050:[[105],256],120051:[[106],256],120052:[[107],256],120053:[[108],256],120054:[[109],256],120055:[[110],256],120056:[[111],256],120057:[[112],256],120058:[[113],256],120059:[[114],256],120060:[[115],256],120061:[[116],256],120062:[[117],256],120063:[[118],256]},54528:{120064:[[119],256],120065:[[120],256],120066:[[121],256],120067:[[122],256],120068:[[65],256],120069:[[66],256],120071:[[68],256],120072:[[69],256],120073:[[70],256],120074:[[71],256],120077:[[74],256],120078:[[75],256],120079:[[76],256],120080:[[77],256],120081:[[78],256],120082:[[79],256],120083:[[80],256],120084:[[81],256],120086:[[83],256],120087:[[84],256],120088:[[85],256],120089:[[86],256],120090:[[87],256],120091:[[88],256],120092:[[89],256],120094:[[97],256],120095:[[98],256],120096:[[99],256],120097:[[100],256],120098:[[101],256],120099:[[102],256],120100:[[103],256],120101:[[104],256],120102:[[105],256],120103:[[106],256],120104:[[107],256],120105:[[108],256],120106:[[109],256],120107:[[110],256],120108:[[111],256],120109:[[112],256],120110:[[113],256],120111:[[114],256],120112:[[115],256],120113:[[116],256],120114:[[117],256],120115:[[118],256],120116:[[119],256],120117:[[120],256],120118:[[121],256],120119:[[122],256],120120:[[65],256],120121:[[66],256],120123:[[68],256],120124:[[69],256],120125:[[70],256],120126:[[71],256],120128:[[73],256],120129:[[74],256],120130:[[75],256],120131:[[76],256],120132:[[77],256],120134:[[79],256],120138:[[83],256],120139:[[84],256],120140:[[85],256],120141:[[86],256],120142:[[87],256],120143:[[88],256],120144:[[89],256],120146:[[97],256],120147:[[98],256],120148:[[99],256],120149:[[100],256],120150:[[101],256],120151:[[102],256],120152:[[103],256],120153:[[104],256],120154:[[105],256],120155:[[106],256],120156:[[107],256],120157:[[108],256],120158:[[109],256],120159:[[110],256],120160:[[111],256],120161:[[112],256],120162:[[113],256],120163:[[114],256],120164:[[115],256],120165:[[116],256],120166:[[117],256],120167:[[118],256],120168:[[119],256],120169:[[120],256],120170:[[121],256],120171:[[122],256],120172:[[65],256],120173:[[66],256],120174:[[67],256],120175:[[68],256],120176:[[69],256],120177:[[70],256],120178:[[71],256],120179:[[72],256],120180:[[73],256],120181:[[74],256],120182:[[75],256],120183:[[76],256],120184:[[77],256],120185:[[78],256],120186:[[79],256],120187:[[80],256],120188:[[81],256],120189:[[82],256],120190:[[83],256],120191:[[84],256],120192:[[85],256],120193:[[86],256],120194:[[87],256],120195:[[88],256],120196:[[89],256],120197:[[90],256],120198:[[97],256],120199:[[98],256],120200:[[99],256],120201:[[100],256],120202:[[101],256],120203:[[102],256],120204:[[103],256],120205:[[104],256],120206:[[105],256],120207:[[106],256],120208:[[107],256],120209:[[108],256],120210:[[109],256],120211:[[110],256],120212:[[111],256],120213:[[112],256],120214:[[113],256],120215:[[114],256],120216:[[115],256],120217:[[116],256],120218:[[117],256],120219:[[118],256],120220:[[119],256],120221:[[120],256],120222:[[121],256],120223:[[122],256],120224:[[65],256],120225:[[66],256],120226:[[67],256],120227:[[68],256],120228:[[69],256],120229:[[70],256],120230:[[71],256],120231:[[72],256],120232:[[73],256],120233:[[74],256],120234:[[75],256],120235:[[76],256],120236:[[77],256],120237:[[78],256],120238:[[79],256],120239:[[80],256],120240:[[81],256],120241:[[82],256],120242:[[83],256],120243:[[84],256],120244:[[85],256],120245:[[86],256],120246:[[87],256],120247:[[88],256],120248:[[89],256],120249:[[90],256],120250:[[97],256],120251:[[98],256],120252:[[99],256],120253:[[100],256],120254:[[101],256],120255:[[102],256],120256:[[103],256],120257:[[104],256],120258:[[105],256],120259:[[106],256],120260:[[107],256],120261:[[108],256],120262:[[109],256],120263:[[110],256],120264:[[111],256],120265:[[112],256],120266:[[113],256],120267:[[114],256],120268:[[115],256],120269:[[116],256],120270:[[117],256],120271:[[118],256],120272:[[119],256],120273:[[120],256],120274:[[121],256],120275:[[122],256],120276:[[65],256],120277:[[66],256],120278:[[67],256],120279:[[68],256],120280:[[69],256],120281:[[70],256],120282:[[71],256],120283:[[72],256],120284:[[73],256],120285:[[74],256],120286:[[75],256],120287:[[76],256],120288:[[77],256],120289:[[78],256],120290:[[79],256],120291:[[80],256],120292:[[81],256],120293:[[82],256],120294:[[83],256],120295:[[84],256],120296:[[85],256],120297:[[86],256],120298:[[87],256],120299:[[88],256],120300:[[89],256],120301:[[90],256],120302:[[97],256],120303:[[98],256],120304:[[99],256],120305:[[100],256],120306:[[101],256],120307:[[102],256],120308:[[103],256],120309:[[104],256],120310:[[105],256],120311:[[106],256],120312:[[107],256],120313:[[108],256],120314:[[109],256],120315:[[110],256],120316:[[111],256],120317:[[112],256],120318:[[113],256],120319:[[114],256]},54784:{120320:[[115],256],120321:[[116],256],120322:[[117],256],120323:[[118],256],120324:[[119],256],120325:[[120],256],120326:[[121],256],120327:[[122],256],120328:[[65],256],120329:[[66],256],120330:[[67],256],120331:[[68],256],120332:[[69],256],120333:[[70],256],120334:[[71],256],120335:[[72],256],120336:[[73],256],120337:[[74],256],120338:[[75],256],120339:[[76],256],120340:[[77],256],120341:[[78],256],120342:[[79],256],120343:[[80],256],120344:[[81],256],120345:[[82],256],120346:[[83],256],120347:[[84],256],120348:[[85],256],120349:[[86],256],120350:[[87],256],120351:[[88],256],120352:[[89],256],120353:[[90],256],120354:[[97],256],120355:[[98],256],120356:[[99],256],120357:[[100],256],120358:[[101],256],120359:[[102],256],120360:[[103],256],120361:[[104],256],120362:[[105],256],120363:[[106],256],120364:[[107],256],120365:[[108],256],120366:[[109],256],120367:[[110],256],120368:[[111],256],120369:[[112],256],120370:[[113],256],120371:[[114],256],120372:[[115],256],120373:[[116],256],120374:[[117],256],120375:[[118],256],120376:[[119],256],120377:[[120],256],120378:[[121],256],120379:[[122],256],120380:[[65],256],120381:[[66],256],120382:[[67],256],120383:[[68],256],120384:[[69],256],120385:[[70],256],120386:[[71],256],120387:[[72],256],120388:[[73],256],120389:[[74],256],120390:[[75],256],120391:[[76],256],120392:[[77],256],120393:[[78],256],120394:[[79],256],120395:[[80],256],120396:[[81],256],120397:[[82],256],120398:[[83],256],120399:[[84],256],120400:[[85],256],120401:[[86],256],120402:[[87],256],120403:[[88],256],120404:[[89],256],120405:[[90],256],120406:[[97],256],120407:[[98],256],120408:[[99],256],120409:[[100],256],120410:[[101],256],120411:[[102],256],120412:[[103],256],120413:[[104],256],120414:[[105],256],120415:[[106],256],120416:[[107],256],120417:[[108],256],120418:[[109],256],120419:[[110],256],120420:[[111],256],120421:[[112],256],120422:[[113],256],120423:[[114],256],120424:[[115],256],120425:[[116],256],120426:[[117],256],120427:[[118],256],120428:[[119],256],120429:[[120],256],120430:[[121],256],120431:[[122],256],120432:[[65],256],120433:[[66],256],120434:[[67],256],120435:[[68],256],120436:[[69],256],120437:[[70],256],120438:[[71],256],120439:[[72],256],120440:[[73],256],120441:[[74],256],120442:[[75],256],120443:[[76],256],120444:[[77],256],120445:[[78],256],120446:[[79],256],120447:[[80],256],120448:[[81],256],120449:[[82],256],120450:[[83],256],120451:[[84],256],120452:[[85],256],120453:[[86],256],120454:[[87],256],120455:[[88],256],120456:[[89],256],120457:[[90],256],120458:[[97],256],120459:[[98],256],120460:[[99],256],120461:[[100],256],120462:[[101],256],120463:[[102],256],120464:[[103],256],120465:[[104],256],120466:[[105],256],120467:[[106],256],120468:[[107],256],120469:[[108],256],120470:[[109],256],120471:[[110],256],120472:[[111],256],120473:[[112],256],120474:[[113],256],120475:[[114],256],120476:[[115],256],120477:[[116],256],120478:[[117],256],120479:[[118],256],120480:[[119],256],120481:[[120],256],120482:[[121],256],120483:[[122],256],120484:[[305],256],120485:[[567],256],120488:[[913],256],120489:[[914],256],120490:[[915],256],120491:[[916],256],120492:[[917],256],120493:[[918],256],120494:[[919],256],120495:[[920],256],120496:[[921],256],120497:[[922],256],120498:[[923],256],120499:[[924],256],120500:[[925],256],120501:[[926],256],120502:[[927],256],120503:[[928],256],120504:[[929],256],120505:[[1012],256],120506:[[931],256],120507:[[932],256],120508:[[933],256],120509:[[934],256],120510:[[935],256],120511:[[936],256],120512:[[937],256],120513:[[8711],256],120514:[[945],256],120515:[[946],256],120516:[[947],256],120517:[[948],256],120518:[[949],256],120519:[[950],256],120520:[[951],256],120521:[[952],256],120522:[[953],256],120523:[[954],256],120524:[[955],256],120525:[[956],256],120526:[[957],256],120527:[[958],256],120528:[[959],256],120529:[[960],256],120530:[[961],256],120531:[[962],256],120532:[[963],256],120533:[[964],256],120534:[[965],256],120535:[[966],256],120536:[[967],256],120537:[[968],256],120538:[[969],256],120539:[[8706],256],120540:[[1013],256],120541:[[977],256],120542:[[1008],256],120543:[[981],256],120544:[[1009],256],120545:[[982],256],120546:[[913],256],120547:[[914],256],120548:[[915],256],120549:[[916],256],120550:[[917],256],120551:[[918],256],120552:[[919],256],120553:[[920],256],120554:[[921],256],120555:[[922],256],120556:[[923],256],120557:[[924],256],120558:[[925],256],120559:[[926],256],120560:[[927],256],120561:[[928],256],120562:[[929],256],120563:[[1012],256],120564:[[931],256],120565:[[932],256],120566:[[933],256],120567:[[934],256],120568:[[935],256],120569:[[936],256],120570:[[937],256],120571:[[8711],256],120572:[[945],256],120573:[[946],256],120574:[[947],256],120575:[[948],256]},55040:{120576:[[949],256],120577:[[950],256],120578:[[951],256],120579:[[952],256],120580:[[953],256],120581:[[954],256],120582:[[955],256],120583:[[956],256],120584:[[957],256],120585:[[958],256],120586:[[959],256],120587:[[960],256],120588:[[961],256],120589:[[962],256],120590:[[963],256],120591:[[964],256],120592:[[965],256],120593:[[966],256],120594:[[967],256],120595:[[968],256],120596:[[969],256],120597:[[8706],256],120598:[[1013],256],120599:[[977],256],120600:[[1008],256],120601:[[981],256],120602:[[1009],256],120603:[[982],256],120604:[[913],256],120605:[[914],256],120606:[[915],256],120607:[[916],256],120608:[[917],256],120609:[[918],256],120610:[[919],256],120611:[[920],256],120612:[[921],256],120613:[[922],256],120614:[[923],256],120615:[[924],256],120616:[[925],256],120617:[[926],256],120618:[[927],256],120619:[[928],256],120620:[[929],256],120621:[[1012],256],120622:[[931],256],120623:[[932],256],120624:[[933],256],120625:[[934],256],120626:[[935],256],120627:[[936],256],120628:[[937],256],120629:[[8711],256],120630:[[945],256],120631:[[946],256],120632:[[947],256],120633:[[948],256],120634:[[949],256],120635:[[950],256],120636:[[951],256],120637:[[952],256],120638:[[953],256],120639:[[954],256],120640:[[955],256],120641:[[956],256],120642:[[957],256],120643:[[958],256],120644:[[959],256],120645:[[960],256],120646:[[961],256],120647:[[962],256],120648:[[963],256],120649:[[964],256],120650:[[965],256],120651:[[966],256],120652:[[967],256],120653:[[968],256],120654:[[969],256],120655:[[8706],256],120656:[[1013],256],120657:[[977],256],120658:[[1008],256],120659:[[981],256],120660:[[1009],256],120661:[[982],256],120662:[[913],256],120663:[[914],256],120664:[[915],256],120665:[[916],256],120666:[[917],256],120667:[[918],256],120668:[[919],256],120669:[[920],256],120670:[[921],256],120671:[[922],256],120672:[[923],256],120673:[[924],256],120674:[[925],256],120675:[[926],256],120676:[[927],256],120677:[[928],256],120678:[[929],256],120679:[[1012],256],120680:[[931],256],120681:[[932],256],120682:[[933],256],120683:[[934],256],120684:[[935],256],120685:[[936],256],120686:[[937],256],120687:[[8711],256],120688:[[945],256],120689:[[946],256],120690:[[947],256],120691:[[948],256],120692:[[949],256],120693:[[950],256],120694:[[951],256],120695:[[952],256],120696:[[953],256],120697:[[954],256],120698:[[955],256],120699:[[956],256],120700:[[957],256],120701:[[958],256],120702:[[959],256],120703:[[960],256],120704:[[961],256],120705:[[962],256],120706:[[963],256],120707:[[964],256],120708:[[965],256],120709:[[966],256],120710:[[967],256],120711:[[968],256],120712:[[969],256],120713:[[8706],256],120714:[[1013],256],120715:[[977],256],120716:[[1008],256],120717:[[981],256],120718:[[1009],256],120719:[[982],256],120720:[[913],256],120721:[[914],256],120722:[[915],256],120723:[[916],256],120724:[[917],256],120725:[[918],256],120726:[[919],256],120727:[[920],256],120728:[[921],256],120729:[[922],256],120730:[[923],256],120731:[[924],256],120732:[[925],256],120733:[[926],256],120734:[[927],256],120735:[[928],256],120736:[[929],256],120737:[[1012],256],120738:[[931],256],120739:[[932],256],120740:[[933],256],120741:[[934],256],120742:[[935],256],120743:[[936],256],120744:[[937],256],120745:[[8711],256],120746:[[945],256],120747:[[946],256],120748:[[947],256],120749:[[948],256],120750:[[949],256],120751:[[950],256],120752:[[951],256],120753:[[952],256],120754:[[953],256],120755:[[954],256],120756:[[955],256],120757:[[956],256],120758:[[957],256],120759:[[958],256],120760:[[959],256],120761:[[960],256],120762:[[961],256],120763:[[962],256],120764:[[963],256],120765:[[964],256],120766:[[965],256],120767:[[966],256],120768:[[967],256],120769:[[968],256],120770:[[969],256],120771:[[8706],256],120772:[[1013],256],120773:[[977],256],120774:[[1008],256],120775:[[981],256],120776:[[1009],256],120777:[[982],256],120778:[[988],256],120779:[[989],256],120782:[[48],256],120783:[[49],256],120784:[[50],256],120785:[[51],256],120786:[[52],256],120787:[[53],256],120788:[[54],256],120789:[[55],256],120790:[[56],256],120791:[[57],256],120792:[[48],256],120793:[[49],256],120794:[[50],256],120795:[[51],256],120796:[[52],256],120797:[[53],256],120798:[[54],256],120799:[[55],256],120800:[[56],256],120801:[[57],256],120802:[[48],256],120803:[[49],256],120804:[[50],256],120805:[[51],256],120806:[[52],256],120807:[[53],256],120808:[[54],256],120809:[[55],256],120810:[[56],256],120811:[[57],256],120812:[[48],256],120813:[[49],256],120814:[[50],256],120815:[[51],256],120816:[[52],256],120817:[[53],256],120818:[[54],256],120819:[[55],256],120820:[[56],256],120821:[[57],256],120822:[[48],256],120823:[[49],256],120824:[[50],256],120825:[[51],256],120826:[[52],256],120827:[[53],256],120828:[[54],256],120829:[[55],256],120830:[[56],256],120831:[[57],256]},59392:{125136:[,220],125137:[,220],125138:[,220],125139:[,220],125140:[,220],125141:[,220],125142:[,220]},60928:{126464:[[1575],256],126465:[[1576],256],126466:[[1580],256],126467:[[1583],256],126469:[[1608],256],126470:[[1586],256],126471:[[1581],256],126472:[[1591],256],126473:[[1610],256],126474:[[1603],256],126475:[[1604],256],126476:[[1605],256],126477:[[1606],256],126478:[[1587],256],126479:[[1593],256],126480:[[1601],256],126481:[[1589],256],126482:[[1602],256],126483:[[1585],256],126484:[[1588],256],126485:[[1578],256],126486:[[1579],256],126487:[[1582],256],126488:[[1584],256],126489:[[1590],256],126490:[[1592],256],126491:[[1594],256],126492:[[1646],256],126493:[[1722],256],126494:[[1697],256],126495:[[1647],256],126497:[[1576],256],126498:[[1580],256],126500:[[1607],256],126503:[[1581],256],126505:[[1610],256],126506:[[1603],256],126507:[[1604],256],126508:[[1605],256],126509:[[1606],256],126510:[[1587],256],126511:[[1593],256],126512:[[1601],256],126513:[[1589],256],126514:[[1602],256],126516:[[1588],256],126517:[[1578],256],126518:[[1579],256],126519:[[1582],256],126521:[[1590],256],126523:[[1594],256],126530:[[1580],256],126535:[[1581],256],126537:[[1610],256],126539:[[1604],256],126541:[[1606],256],126542:[[1587],256],126543:[[1593],256],126545:[[1589],256],126546:[[1602],256],126548:[[1588],256],126551:[[1582],256],126553:[[1590],256],126555:[[1594],256],126557:[[1722],256],126559:[[1647],256],126561:[[1576],256],126562:[[1580],256],126564:[[1607],256],126567:[[1581],256],126568:[[1591],256],126569:[[1610],256],126570:[[1603],256],126572:[[1605],256],126573:[[1606],256],126574:[[1587],256],126575:[[1593],256],126576:[[1601],256],126577:[[1589],256],126578:[[1602],256],126580:[[1588],256],126581:[[1578],256],126582:[[1579],256],126583:[[1582],256],126585:[[1590],256],126586:[[1592],256],126587:[[1594],256],126588:[[1646],256],126590:[[1697],256],126592:[[1575],256],126593:[[1576],256],126594:[[1580],256],126595:[[1583],256],126596:[[1607],256],126597:[[1608],256],126598:[[1586],256],126599:[[1581],256],126600:[[1591],256],126601:[[1610],256],126603:[[1604],256],126604:[[1605],256],126605:[[1606],256],126606:[[1587],256],126607:[[1593],256],126608:[[1601],256],126609:[[1589],256],126610:[[1602],256],126611:[[1585],256],126612:[[1588],256],126613:[[1578],256],126614:[[1579],256],126615:[[1582],256],126616:[[1584],256],126617:[[1590],256],126618:[[1592],256],126619:[[1594],256],126625:[[1576],256],126626:[[1580],256],126627:[[1583],256],126629:[[1608],256],126630:[[1586],256],126631:[[1581],256],126632:[[1591],256],126633:[[1610],256],126635:[[1604],256],126636:[[1605],256],126637:[[1606],256],126638:[[1587],256],126639:[[1593],256],126640:[[1601],256],126641:[[1589],256],126642:[[1602],256],126643:[[1585],256],126644:[[1588],256],126645:[[1578],256],126646:[[1579],256],126647:[[1582],256],126648:[[1584],256],126649:[[1590],256],126650:[[1592],256],126651:[[1594],256]},61696:{127232:[[48,46],256],127233:[[48,44],256],127234:[[49,44],256],127235:[[50,44],256],127236:[[51,44],256],127237:[[52,44],256],127238:[[53,44],256],127239:[[54,44],256],127240:[[55,44],256],127241:[[56,44],256],127242:[[57,44],256],127248:[[40,65,41],256],127249:[[40,66,41],256],127250:[[40,67,41],256],127251:[[40,68,41],256],127252:[[40,69,41],256],127253:[[40,70,41],256],127254:[[40,71,41],256],127255:[[40,72,41],256],127256:[[40,73,41],256],127257:[[40,74,41],256],127258:[[40,75,41],256],127259:[[40,76,41],256],127260:[[40,77,41],256],127261:[[40,78,41],256],127262:[[40,79,41],256],127263:[[40,80,41],256],127264:[[40,81,41],256],127265:[[40,82,41],256],127266:[[40,83,41],256],127267:[[40,84,41],256],127268:[[40,85,41],256],127269:[[40,86,41],256],127270:[[40,87,41],256],127271:[[40,88,41],256],127272:[[40,89,41],256],127273:[[40,90,41],256],127274:[[12308,83,12309],256],127275:[[67],256],127276:[[82],256],127277:[[67,68],256],127278:[[87,90],256],127280:[[65],256],127281:[[66],256],127282:[[67],256],127283:[[68],256],127284:[[69],256],127285:[[70],256],127286:[[71],256],127287:[[72],256],127288:[[73],256],127289:[[74],256],127290:[[75],256],127291:[[76],256],127292:[[77],256],127293:[[78],256],127294:[[79],256],127295:[[80],256],127296:[[81],256],127297:[[82],256],127298:[[83],256],127299:[[84],256],127300:[[85],256],127301:[[86],256],127302:[[87],256],127303:[[88],256],127304:[[89],256],127305:[[90],256],127306:[[72,86],256],127307:[[77,86],256],127308:[[83,68],256],127309:[[83,83],256],127310:[[80,80,86],256],127311:[[87,67],256],127338:[[77,67],256],127339:[[77,68],256],127376:[[68,74],256]},61952:{127488:[[12411,12363],256],127489:[[12467,12467],256],127490:[[12469],256],127504:[[25163],256],127505:[[23383],256],127506:[[21452],256],127507:[[12487],256],127508:[[20108],256],127509:[[22810],256],127510:[[35299],256],127511:[[22825],256],127512:[[20132],256],127513:[[26144],256],127514:[[28961],256],127515:[[26009],256],127516:[[21069],256],127517:[[24460],256],127518:[[20877],256],127519:[[26032],256],127520:[[21021],256],127521:[[32066],256],127522:[[29983],256],127523:[[36009],256],127524:[[22768],256],127525:[[21561],256],127526:[[28436],256],127527:[[25237],256],127528:[[25429],256],127529:[[19968],256],127530:[[19977],256],127531:[[36938],256],127532:[[24038],256],127533:[[20013],256],127534:[[21491],256],127535:[[25351],256],127536:[[36208],256],127537:[[25171],256],127538:[[31105],256],127539:[[31354],256],127540:[[21512],256],127541:[[28288],256],127542:[[26377],256],127543:[[26376],256],127544:[[30003],256],127545:[[21106],256],127546:[[21942],256],127552:[[12308,26412,12309],256],127553:[[12308,19977,12309],256],127554:[[12308,20108,12309],256],127555:[[12308,23433,12309],256],127556:[[12308,28857,12309],256],127557:[[12308,25171,12309],256],127558:[[12308,30423,12309],256],127559:[[12308,21213,12309],256],127560:[[12308,25943,12309],256],127568:[[24471],256],127569:[[21487],256]},63488:{194560:[[20029]],194561:[[20024]],194562:[[20033]],194563:[[131362]],194564:[[20320]],194565:[[20398]],194566:[[20411]],194567:[[20482]],194568:[[20602]],194569:[[20633]],194570:[[20711]],194571:[[20687]],194572:[[13470]],194573:[[132666]],194574:[[20813]],194575:[[20820]],194576:[[20836]],194577:[[20855]],194578:[[132380]],194579:[[13497]],194580:[[20839]],194581:[[20877]],194582:[[132427]],194583:[[20887]],194584:[[20900]],194585:[[20172]],194586:[[20908]],194587:[[20917]],194588:[[168415]],194589:[[20981]],194590:[[20995]],194591:[[13535]],194592:[[21051]],194593:[[21062]],194594:[[21106]],194595:[[21111]],194596:[[13589]],194597:[[21191]],194598:[[21193]],194599:[[21220]],194600:[[21242]],194601:[[21253]],194602:[[21254]],194603:[[21271]],194604:[[21321]],194605:[[21329]],194606:[[21338]],194607:[[21363]],194608:[[21373]],194609:[[21375]],194610:[[21375]],194611:[[21375]],194612:[[133676]],194613:[[28784]],194614:[[21450]],194615:[[21471]],194616:[[133987]],194617:[[21483]],194618:[[21489]],194619:[[21510]],194620:[[21662]],194621:[[21560]],194622:[[21576]],194623:[[21608]],194624:[[21666]],194625:[[21750]],194626:[[21776]],194627:[[21843]],194628:[[21859]],194629:[[21892]],194630:[[21892]],194631:[[21913]],194632:[[21931]],194633:[[21939]],194634:[[21954]],194635:[[22294]],194636:[[22022]],194637:[[22295]],194638:[[22097]],194639:[[22132]],194640:[[20999]],194641:[[22766]],194642:[[22478]],194643:[[22516]],194644:[[22541]],194645:[[22411]],194646:[[22578]],194647:[[22577]],194648:[[22700]],194649:[[136420]],194650:[[22770]],194651:[[22775]],194652:[[22790]],194653:[[22810]],194654:[[22818]],194655:[[22882]],194656:[[136872]],194657:[[136938]],194658:[[23020]],194659:[[23067]],194660:[[23079]],194661:[[23e3]],194662:[[23142]],194663:[[14062]],194664:[[14076]],194665:[[23304]],194666:[[23358]],194667:[[23358]],194668:[[137672]],194669:[[23491]],194670:[[23512]],194671:[[23527]],194672:[[23539]],194673:[[138008]],194674:[[23551]],194675:[[23558]],194676:[[24403]],194677:[[23586]],194678:[[14209]],194679:[[23648]],194680:[[23662]],194681:[[23744]],194682:[[23693]],194683:[[138724]],194684:[[23875]],194685:[[138726]],194686:[[23918]],194687:[[23915]],194688:[[23932]],194689:[[24033]],194690:[[24034]],194691:[[14383]],194692:[[24061]],194693:[[24104]],194694:[[24125]],194695:[[24169]],194696:[[14434]],194697:[[139651]],194698:[[14460]],194699:[[24240]],194700:[[24243]],194701:[[24246]],194702:[[24266]],194703:[[172946]],194704:[[24318]],194705:[[140081]],194706:[[140081]],194707:[[33281]],194708:[[24354]],194709:[[24354]],194710:[[14535]],194711:[[144056]],194712:[[156122]],194713:[[24418]],194714:[[24427]],194715:[[14563]],194716:[[24474]],194717:[[24525]],194718:[[24535]],194719:[[24569]],194720:[[24705]],194721:[[14650]],194722:[[14620]],194723:[[24724]],194724:[[141012]],194725:[[24775]],194726:[[24904]],194727:[[24908]],194728:[[24910]],194729:[[24908]],194730:[[24954]],194731:[[24974]],194732:[[25010]],194733:[[24996]],194734:[[25007]],194735:[[25054]],194736:[[25074]],194737:[[25078]],194738:[[25104]],194739:[[25115]],194740:[[25181]],194741:[[25265]],194742:[[25300]],194743:[[25424]],194744:[[142092]],194745:[[25405]],194746:[[25340]],194747:[[25448]],194748:[[25475]],194749:[[25572]],194750:[[142321]],194751:[[25634]],194752:[[25541]],194753:[[25513]],194754:[[14894]],194755:[[25705]],194756:[[25726]],194757:[[25757]],194758:[[25719]],194759:[[14956]],194760:[[25935]],194761:[[25964]],194762:[[143370]],194763:[[26083]],194764:[[26360]],194765:[[26185]],194766:[[15129]],194767:[[26257]],194768:[[15112]],194769:[[15076]],194770:[[20882]],194771:[[20885]],194772:[[26368]],194773:[[26268]],194774:[[32941]],194775:[[17369]],194776:[[26391]],194777:[[26395]],194778:[[26401]],194779:[[26462]],194780:[[26451]],194781:[[144323]],194782:[[15177]],194783:[[26618]],194784:[[26501]],194785:[[26706]],194786:[[26757]],194787:[[144493]],194788:[[26766]],194789:[[26655]],194790:[[26900]],194791:[[15261]],194792:[[26946]],194793:[[27043]],194794:[[27114]],194795:[[27304]],194796:[[145059]],194797:[[27355]],194798:[[15384]],194799:[[27425]],194800:[[145575]],194801:[[27476]],194802:[[15438]],194803:[[27506]],194804:[[27551]],194805:[[27578]],194806:[[27579]],194807:[[146061]],194808:[[138507]],194809:[[146170]],194810:[[27726]],194811:[[146620]],194812:[[27839]],194813:[[27853]],194814:[[27751]],194815:[[27926]]},63744:{63744:[[35912]],63745:[[26356]],63746:[[36554]],63747:[[36040]],63748:[[28369]],63749:[[20018]],63750:[[21477]],63751:[[40860]],63752:[[40860]],63753:[[22865]],63754:[[37329]],63755:[[21895]],63756:[[22856]],63757:[[25078]],63758:[[30313]],63759:[[32645]],63760:[[34367]],63761:[[34746]],63762:[[35064]],63763:[[37007]],63764:[[27138]],63765:[[27931]],63766:[[28889]],63767:[[29662]],63768:[[33853]],63769:[[37226]],63770:[[39409]],63771:[[20098]],63772:[[21365]],63773:[[27396]],63774:[[29211]],63775:[[34349]],63776:[[40478]],63777:[[23888]],63778:[[28651]],63779:[[34253]],63780:[[35172]],63781:[[25289]],63782:[[33240]],63783:[[34847]],63784:[[24266]],63785:[[26391]],63786:[[28010]],63787:[[29436]],63788:[[37070]],63789:[[20358]],63790:[[20919]],63791:[[21214]],63792:[[25796]],63793:[[27347]],63794:[[29200]],63795:[[30439]],63796:[[32769]],63797:[[34310]],63798:[[34396]],63799:[[36335]],63800:[[38706]],63801:[[39791]],63802:[[40442]],63803:[[30860]],63804:[[31103]],63805:[[32160]],63806:[[33737]],63807:[[37636]],63808:[[40575]],63809:[[35542]],63810:[[22751]],63811:[[24324]],63812:[[31840]],63813:[[32894]],63814:[[29282]],63815:[[30922]],63816:[[36034]],63817:[[38647]],63818:[[22744]],63819:[[23650]],63820:[[27155]],63821:[[28122]],63822:[[28431]],63823:[[32047]],63824:[[32311]],63825:[[38475]],63826:[[21202]],63827:[[32907]],63828:[[20956]],63829:[[20940]],63830:[[31260]],63831:[[32190]],63832:[[33777]],63833:[[38517]],63834:[[35712]],63835:[[25295]],63836:[[27138]],63837:[[35582]],63838:[[20025]],63839:[[23527]],63840:[[24594]],63841:[[29575]],63842:[[30064]],63843:[[21271]],63844:[[30971]],63845:[[20415]],63846:[[24489]],63847:[[19981]],63848:[[27852]],63849:[[25976]],63850:[[32034]],63851:[[21443]],63852:[[22622]],63853:[[30465]],63854:[[33865]],63855:[[35498]],63856:[[27578]],63857:[[36784]],63858:[[27784]],63859:[[25342]],63860:[[33509]],63861:[[25504]],63862:[[30053]],63863:[[20142]],63864:[[20841]],63865:[[20937]],63866:[[26753]],63867:[[31975]],63868:[[33391]],63869:[[35538]],63870:[[37327]],63871:[[21237]],63872:[[21570]],63873:[[22899]],63874:[[24300]],63875:[[26053]],63876:[[28670]],63877:[[31018]],63878:[[38317]],63879:[[39530]],63880:[[40599]],63881:[[40654]],63882:[[21147]],63883:[[26310]],63884:[[27511]],63885:[[36706]],63886:[[24180]],63887:[[24976]],63888:[[25088]],63889:[[25754]],63890:[[28451]],63891:[[29001]],63892:[[29833]],63893:[[31178]],63894:[[32244]],63895:[[32879]],63896:[[36646]],63897:[[34030]],63898:[[36899]],63899:[[37706]],63900:[[21015]],63901:[[21155]],63902:[[21693]],63903:[[28872]],63904:[[35010]],63905:[[35498]],63906:[[24265]],63907:[[24565]],63908:[[25467]],63909:[[27566]],63910:[[31806]],63911:[[29557]],63912:[[20196]],63913:[[22265]],63914:[[23527]],63915:[[23994]],63916:[[24604]],63917:[[29618]],63918:[[29801]],63919:[[32666]],63920:[[32838]],63921:[[37428]],63922:[[38646]],63923:[[38728]],63924:[[38936]],63925:[[20363]],63926:[[31150]],63927:[[37300]],63928:[[38584]],63929:[[24801]],63930:[[20102]],63931:[[20698]],63932:[[23534]],63933:[[23615]],63934:[[26009]],63935:[[27138]],63936:[[29134]],63937:[[30274]],63938:[[34044]],63939:[[36988]],63940:[[40845]],63941:[[26248]],63942:[[38446]],63943:[[21129]],63944:[[26491]],63945:[[26611]],63946:[[27969]],63947:[[28316]],63948:[[29705]],63949:[[30041]],63950:[[30827]],63951:[[32016]],63952:[[39006]],63953:[[20845]],63954:[[25134]],63955:[[38520]],63956:[[20523]],63957:[[23833]],63958:[[28138]],63959:[[36650]],63960:[[24459]],63961:[[24900]],63962:[[26647]],63963:[[29575]],63964:[[38534]],63965:[[21033]],63966:[[21519]],63967:[[23653]],63968:[[26131]],63969:[[26446]],63970:[[26792]],63971:[[27877]],63972:[[29702]],63973:[[30178]],63974:[[32633]],63975:[[35023]],63976:[[35041]],63977:[[37324]],63978:[[38626]],63979:[[21311]],63980:[[28346]],63981:[[21533]],63982:[[29136]],63983:[[29848]],63984:[[34298]],63985:[[38563]],63986:[[40023]],63987:[[40607]],63988:[[26519]],63989:[[28107]],63990:[[33256]],63991:[[31435]],63992:[[31520]],63993:[[31890]],63994:[[29376]],63995:[[28825]],63996:[[35672]],63997:[[20160]],63998:[[33590]],63999:[[21050]],194816:[[27966]],194817:[[28023]],194818:[[27969]],194819:[[28009]],194820:[[28024]],194821:[[28037]],194822:[[146718]],194823:[[27956]],194824:[[28207]],194825:[[28270]],194826:[[15667]],194827:[[28363]],194828:[[28359]],194829:[[147153]],194830:[[28153]],194831:[[28526]],194832:[[147294]],194833:[[147342]],194834:[[28614]],194835:[[28729]],194836:[[28702]],194837:[[28699]],194838:[[15766]],194839:[[28746]],194840:[[28797]],194841:[[28791]],194842:[[28845]],194843:[[132389]],194844:[[28997]],194845:[[148067]],194846:[[29084]],194847:[[148395]],194848:[[29224]],194849:[[29237]],194850:[[29264]],194851:[[149e3]],194852:[[29312]],194853:[[29333]],194854:[[149301]],194855:[[149524]],194856:[[29562]],194857:[[29579]],194858:[[16044]],194859:[[29605]],194860:[[16056]],194861:[[16056]],194862:[[29767]],194863:[[29788]],194864:[[29809]],194865:[[29829]],194866:[[29898]],194867:[[16155]],194868:[[29988]],194869:[[150582]],194870:[[30014]],194871:[[150674]],194872:[[30064]],194873:[[139679]],194874:[[30224]],194875:[[151457]],194876:[[151480]],194877:[[151620]],194878:[[16380]],194879:[[16392]],194880:[[30452]],194881:[[151795]],194882:[[151794]],194883:[[151833]],194884:[[151859]],194885:[[30494]],194886:[[30495]],194887:[[30495]],194888:[[30538]],194889:[[16441]],194890:[[30603]],194891:[[16454]],194892:[[16534]],194893:[[152605]],194894:[[30798]],194895:[[30860]],194896:[[30924]],194897:[[16611]],194898:[[153126]],194899:[[31062]],194900:[[153242]],194901:[[153285]],194902:[[31119]],194903:[[31211]],194904:[[16687]],194905:[[31296]],194906:[[31306]],194907:[[31311]],194908:[[153980]],194909:[[154279]],194910:[[154279]],194911:[[31470]],194912:[[16898]],194913:[[154539]],194914:[[31686]],194915:[[31689]],194916:[[16935]],194917:[[154752]],194918:[[31954]],194919:[[17056]],194920:[[31976]],194921:[[31971]],194922:[[32e3]],194923:[[155526]],194924:[[32099]],194925:[[17153]],194926:[[32199]],194927:[[32258]],194928:[[32325]],194929:[[17204]],194930:[[156200]],194931:[[156231]],194932:[[17241]],194933:[[156377]],194934:[[32634]],194935:[[156478]],194936:[[32661]],194937:[[32762]],194938:[[32773]],194939:[[156890]],194940:[[156963]],194941:[[32864]],194942:[[157096]],194943:[[32880]],194944:[[144223]],194945:[[17365]],194946:[[32946]],194947:[[33027]],194948:[[17419]],194949:[[33086]],194950:[[23221]],194951:[[157607]],194952:[[157621]],194953:[[144275]],194954:[[144284]],194955:[[33281]],194956:[[33284]],194957:[[36766]],194958:[[17515]],194959:[[33425]],194960:[[33419]],194961:[[33437]],194962:[[21171]],194963:[[33457]],194964:[[33459]],194965:[[33469]],194966:[[33510]],194967:[[158524]],194968:[[33509]],194969:[[33565]],194970:[[33635]],194971:[[33709]],194972:[[33571]],194973:[[33725]],194974:[[33767]],194975:[[33879]],194976:[[33619]],194977:[[33738]],194978:[[33740]],194979:[[33756]],194980:[[158774]],194981:[[159083]],194982:[[158933]],194983:[[17707]],194984:[[34033]],194985:[[34035]],194986:[[34070]],194987:[[160714]],194988:[[34148]],194989:[[159532]],194990:[[17757]],194991:[[17761]],194992:[[159665]],194993:[[159954]],194994:[[17771]],194995:[[34384]],194996:[[34396]],194997:[[34407]],194998:[[34409]],194999:[[34473]],195e3:[[34440]],195001:[[34574]],195002:[[34530]],195003:[[34681]],195004:[[34600]],195005:[[34667]],195006:[[34694]],195007:[[17879]],195008:[[34785]],195009:[[34817]],195010:[[17913]],195011:[[34912]],195012:[[34915]],195013:[[161383]],195014:[[35031]],195015:[[35038]],195016:[[17973]],195017:[[35066]],195018:[[13499]],195019:[[161966]],195020:[[162150]],195021:[[18110]],195022:[[18119]],195023:[[35488]],195024:[[35565]],195025:[[35722]],195026:[[35925]],195027:[[162984]],195028:[[36011]],195029:[[36033]],195030:[[36123]],195031:[[36215]],195032:[[163631]],195033:[[133124]],195034:[[36299]],195035:[[36284]],195036:[[36336]],195037:[[133342]],195038:[[36564]],195039:[[36664]],195040:[[165330]],195041:[[165357]],195042:[[37012]],195043:[[37105]],195044:[[37137]],195045:[[165678]],195046:[[37147]],195047:[[37432]],195048:[[37591]],195049:[[37592]],195050:[[37500]],195051:[[37881]],195052:[[37909]],195053:[[166906]],195054:[[38283]],195055:[[18837]],195056:[[38327]],195057:[[167287]],195058:[[18918]],195059:[[38595]],195060:[[23986]],195061:[[38691]],195062:[[168261]],195063:[[168474]],195064:[[19054]],195065:[[19062]],195066:[[38880]],195067:[[168970]],195068:[[19122]],195069:[[169110]],195070:[[38923]],195071:[[38923]]},64e3:{64e3:[[20999]],64001:[[24230]],64002:[[25299]],64003:[[31958]],64004:[[23429]],64005:[[27934]],64006:[[26292]],64007:[[36667]],64008:[[34892]],64009:[[38477]],64010:[[35211]],64011:[[24275]],64012:[[20800]],64013:[[21952]],64016:[[22618]],64018:[[26228]],64021:[[20958]],64022:[[29482]],64023:[[30410]],64024:[[31036]],64025:[[31070]],64026:[[31077]],64027:[[31119]],64028:[[38742]],64029:[[31934]],64030:[[32701]],64032:[[34322]],64034:[[35576]],64037:[[36920]],64038:[[37117]],64042:[[39151]],64043:[[39164]],64044:[[39208]],64045:[[40372]],64046:[[37086]],64047:[[38583]],64048:[[20398]],64049:[[20711]],64050:[[20813]],64051:[[21193]],64052:[[21220]],64053:[[21329]],64054:[[21917]],64055:[[22022]],64056:[[22120]],64057:[[22592]],64058:[[22696]],64059:[[23652]],64060:[[23662]],64061:[[24724]],64062:[[24936]],64063:[[24974]],64064:[[25074]],64065:[[25935]],64066:[[26082]],64067:[[26257]],64068:[[26757]],64069:[[28023]],64070:[[28186]],64071:[[28450]],64072:[[29038]],64073:[[29227]],64074:[[29730]],64075:[[30865]],64076:[[31038]],64077:[[31049]],64078:[[31048]],64079:[[31056]],64080:[[31062]],64081:[[31069]],64082:[[31117]],64083:[[31118]],64084:[[31296]],64085:[[31361]],64086:[[31680]],64087:[[32244]],64088:[[32265]],64089:[[32321]],64090:[[32626]],64091:[[32773]],64092:[[33261]],64093:[[33401]],64094:[[33401]],64095:[[33879]],64096:[[35088]],64097:[[35222]],64098:[[35585]],64099:[[35641]],64100:[[36051]],64101:[[36104]],64102:[[36790]],64103:[[36920]],64104:[[38627]],64105:[[38911]],64106:[[38971]],64107:[[24693]],64108:[[148206]],64109:[[33304]],64112:[[20006]],64113:[[20917]],64114:[[20840]],64115:[[20352]],64116:[[20805]],64117:[[20864]],64118:[[21191]],64119:[[21242]],64120:[[21917]],64121:[[21845]],64122:[[21913]],64123:[[21986]],64124:[[22618]],64125:[[22707]],64126:[[22852]],64127:[[22868]],64128:[[23138]],64129:[[23336]],64130:[[24274]],64131:[[24281]],64132:[[24425]],64133:[[24493]],64134:[[24792]],64135:[[24910]],64136:[[24840]],64137:[[24974]],64138:[[24928]],64139:[[25074]],64140:[[25140]],64141:[[25540]],64142:[[25628]],64143:[[25682]],64144:[[25942]],64145:[[26228]],64146:[[26391]],64147:[[26395]],64148:[[26454]],64149:[[27513]],64150:[[27578]],64151:[[27969]],64152:[[28379]],64153:[[28363]],64154:[[28450]],64155:[[28702]],64156:[[29038]],64157:[[30631]],64158:[[29237]],64159:[[29359]],64160:[[29482]],64161:[[29809]],64162:[[29958]],64163:[[30011]],64164:[[30237]],64165:[[30239]],64166:[[30410]],64167:[[30427]],64168:[[30452]],64169:[[30538]],64170:[[30528]],64171:[[30924]],64172:[[31409]],64173:[[31680]],64174:[[31867]],64175:[[32091]],64176:[[32244]],64177:[[32574]],64178:[[32773]],64179:[[33618]],64180:[[33775]],64181:[[34681]],64182:[[35137]],64183:[[35206]],64184:[[35222]],64185:[[35519]],64186:[[35576]],64187:[[35531]],64188:[[35585]],64189:[[35582]],64190:[[35565]],64191:[[35641]],64192:[[35722]],64193:[[36104]],64194:[[36664]],64195:[[36978]],64196:[[37273]],64197:[[37494]],64198:[[38524]],64199:[[38627]],64200:[[38742]],64201:[[38875]],64202:[[38911]],64203:[[38923]],64204:[[38971]],64205:[[39698]],64206:[[40860]],64207:[[141386]],64208:[[141380]],64209:[[144341]],64210:[[15261]],64211:[[16408]],64212:[[16441]],64213:[[152137]],64214:[[154832]],64215:[[163539]],64216:[[40771]],64217:[[40846]],195072:[[38953]],195073:[[169398]],195074:[[39138]],195075:[[19251]],195076:[[39209]],195077:[[39335]],195078:[[39362]],195079:[[39422]],195080:[[19406]],195081:[[170800]],195082:[[39698]],195083:[[4e4]],195084:[[40189]],195085:[[19662]],195086:[[19693]],195087:[[40295]],195088:[[172238]],195089:[[19704]],195090:[[172293]],195091:[[172558]],195092:[[172689]],195093:[[40635]],195094:[[19798]],195095:[[40697]],195096:[[40702]],195097:[[40709]],195098:[[40719]],195099:[[40726]],195100:[[40763]],195101:[[173568]]},64256:{64256:[[102,102],256],64257:[[102,105],256],64258:[[102,108],256],64259:[[102,102,105],256],64260:[[102,102,108],256],64261:[[383,116],256],64262:[[115,116],256],64275:[[1396,1398],256],64276:[[1396,1381],256],64277:[[1396,1387],256],64278:[[1406,1398],256],64279:[[1396,1389],256],64285:[[1497,1460],512],64286:[,26],64287:[[1522,1463],512],64288:[[1506],256],64289:[[1488],256],64290:[[1491],256],64291:[[1492],256],64292:[[1499],256],64293:[[1500],256],64294:[[1501],256],64295:[[1512],256],64296:[[1514],256],64297:[[43],256],64298:[[1513,1473],512],64299:[[1513,1474],512],64300:[[64329,1473],512],64301:[[64329,1474],512],64302:[[1488,1463],512],64303:[[1488,1464],512],64304:[[1488,1468],512],64305:[[1489,1468],512],64306:[[1490,1468],512],64307:[[1491,1468],512],64308:[[1492,1468],512],64309:[[1493,1468],512],64310:[[1494,1468],512],64312:[[1496,1468],512],64313:[[1497,1468],512],64314:[[1498,1468],512],64315:[[1499,1468],512],64316:[[1500,1468],512],64318:[[1502,1468],512],64320:[[1504,1468],512],64321:[[1505,1468],512],64323:[[1507,1468],512],64324:[[1508,1468],512],64326:[[1510,1468],512],64327:[[1511,1468],512],64328:[[1512,1468],512],64329:[[1513,1468],512],64330:[[1514,1468],512],64331:[[1493,1465],512],64332:[[1489,1471],512],64333:[[1499,1471],512],64334:[[1508,1471],512],64335:[[1488,1500],256],64336:[[1649],256],64337:[[1649],256],64338:[[1659],256],64339:[[1659],256],64340:[[1659],256],64341:[[1659],256],64342:[[1662],256],64343:[[1662],256],64344:[[1662],256],64345:[[1662],256],64346:[[1664],256],64347:[[1664],256],64348:[[1664],256],64349:[[1664],256],64350:[[1658],256],64351:[[1658],256],64352:[[1658],256],64353:[[1658],256],64354:[[1663],256],64355:[[1663],256],64356:[[1663],256],64357:[[1663],256],64358:[[1657],256],64359:[[1657],256],64360:[[1657],256],64361:[[1657],256],64362:[[1700],256],64363:[[1700],256],64364:[[1700],256],64365:[[1700],256],64366:[[1702],256],64367:[[1702],256],64368:[[1702],256],64369:[[1702],256],64370:[[1668],256],64371:[[1668],256],64372:[[1668],256],64373:[[1668],256],64374:[[1667],256],64375:[[1667],256],64376:[[1667],256],64377:[[1667],256],64378:[[1670],256],64379:[[1670],256],64380:[[1670],256],64381:[[1670],256],64382:[[1671],256],64383:[[1671],256],64384:[[1671],256],64385:[[1671],256],64386:[[1677],256],64387:[[1677],256],64388:[[1676],256],64389:[[1676],256],64390:[[1678],256],64391:[[1678],256],64392:[[1672],256],64393:[[1672],256],64394:[[1688],256],64395:[[1688],256],64396:[[1681],256],64397:[[1681],256],64398:[[1705],256],64399:[[1705],256],64400:[[1705],256],64401:[[1705],256],64402:[[1711],256],64403:[[1711],256],64404:[[1711],256],64405:[[1711],256],64406:[[1715],256],64407:[[1715],256],64408:[[1715],256],64409:[[1715],256],64410:[[1713],256],64411:[[1713],256],64412:[[1713],256],64413:[[1713],256],64414:[[1722],256],64415:[[1722],256],64416:[[1723],256],64417:[[1723],256],64418:[[1723],256],64419:[[1723],256],64420:[[1728],256],64421:[[1728],256],64422:[[1729],256],64423:[[1729],256],64424:[[1729],256],64425:[[1729],256],64426:[[1726],256],64427:[[1726],256],64428:[[1726],256],64429:[[1726],256],64430:[[1746],256],64431:[[1746],256],64432:[[1747],256],64433:[[1747],256],64467:[[1709],256],64468:[[1709],256],64469:[[1709],256],64470:[[1709],256],64471:[[1735],256],64472:[[1735],256],64473:[[1734],256],64474:[[1734],256],64475:[[1736],256],64476:[[1736],256],64477:[[1655],256],64478:[[1739],256],64479:[[1739],256],64480:[[1733],256],64481:[[1733],256],64482:[[1737],256],64483:[[1737],256],64484:[[1744],256],64485:[[1744],256],64486:[[1744],256],64487:[[1744],256],64488:[[1609],256],64489:[[1609],256],64490:[[1574,1575],256],64491:[[1574,1575],256],64492:[[1574,1749],256],64493:[[1574,1749],256],64494:[[1574,1608],256],64495:[[1574,1608],256],64496:[[1574,1735],256],64497:[[1574,1735],256],64498:[[1574,1734],256],64499:[[1574,1734],256],64500:[[1574,1736],256],64501:[[1574,1736],256],64502:[[1574,1744],256],64503:[[1574,1744],256],64504:[[1574,1744],256],64505:[[1574,1609],256],64506:[[1574,1609],256],64507:[[1574,1609],256],64508:[[1740],256],64509:[[1740],256],64510:[[1740],256],64511:[[1740],256]},64512:{64512:[[1574,1580],256],64513:[[1574,1581],256],64514:[[1574,1605],256],64515:[[1574,1609],256],64516:[[1574,1610],256],64517:[[1576,1580],256],64518:[[1576,1581],256],64519:[[1576,1582],256],64520:[[1576,1605],256],64521:[[1576,1609],256],64522:[[1576,1610],256],64523:[[1578,1580],256],64524:[[1578,1581],256],64525:[[1578,1582],256],64526:[[1578,1605],256],64527:[[1578,1609],256],64528:[[1578,1610],256],64529:[[1579,1580],256],64530:[[1579,1605],256],64531:[[1579,1609],256],64532:[[1579,1610],256],64533:[[1580,1581],256],64534:[[1580,1605],256],64535:[[1581,1580],256],64536:[[1581,1605],256],64537:[[1582,1580],256],64538:[[1582,1581],256],64539:[[1582,1605],256],64540:[[1587,1580],256],64541:[[1587,1581],256],64542:[[1587,1582],256],64543:[[1587,1605],256],64544:[[1589,1581],256],64545:[[1589,1605],256],64546:[[1590,1580],256],64547:[[1590,1581],256],64548:[[1590,1582],256],64549:[[1590,1605],256],64550:[[1591,1581],256],64551:[[1591,1605],256],64552:[[1592,1605],256],64553:[[1593,1580],256],64554:[[1593,1605],256],64555:[[1594,1580],256],64556:[[1594,1605],256],64557:[[1601,1580],256],64558:[[1601,1581],256],64559:[[1601,1582],256],64560:[[1601,1605],256],64561:[[1601,1609],256],64562:[[1601,1610],256],64563:[[1602,1581],256],64564:[[1602,1605],256],64565:[[1602,1609],256],64566:[[1602,1610],256],64567:[[1603,1575],256],64568:[[1603,1580],256],64569:[[1603,1581],256],64570:[[1603,1582],256],64571:[[1603,1604],256],64572:[[1603,1605],256],64573:[[1603,1609],256],64574:[[1603,1610],256],64575:[[1604,1580],256],64576:[[1604,1581],256],64577:[[1604,1582],256],64578:[[1604,1605],256],64579:[[1604,1609],256],64580:[[1604,1610],256],64581:[[1605,1580],256],64582:[[1605,1581],256],64583:[[1605,1582],256],64584:[[1605,1605],256],64585:[[1605,1609],256],64586:[[1605,1610],256],64587:[[1606,1580],256],64588:[[1606,1581],256],64589:[[1606,1582],256],64590:[[1606,1605],256],64591:[[1606,1609],256],64592:[[1606,1610],256],64593:[[1607,1580],256],64594:[[1607,1605],256],64595:[[1607,1609],256],64596:[[1607,1610],256],64597:[[1610,1580],256],64598:[[1610,1581],256],64599:[[1610,1582],256],64600:[[1610,1605],256],64601:[[1610,1609],256],64602:[[1610,1610],256],64603:[[1584,1648],256],64604:[[1585,1648],256],64605:[[1609,1648],256],64606:[[32,1612,1617],256],64607:[[32,1613,1617],256],64608:[[32,1614,1617],256],64609:[[32,1615,1617],256],64610:[[32,1616,1617],256],64611:[[32,1617,1648],256],64612:[[1574,1585],256],64613:[[1574,1586],256],64614:[[1574,1605],256],64615:[[1574,1606],256],64616:[[1574,1609],256],64617:[[1574,1610],256],64618:[[1576,1585],256],64619:[[1576,1586],256],64620:[[1576,1605],256],64621:[[1576,1606],256],64622:[[1576,1609],256],64623:[[1576,1610],256],64624:[[1578,1585],256],64625:[[1578,1586],256],64626:[[1578,1605],256],64627:[[1578,1606],256],64628:[[1578,1609],256],64629:[[1578,1610],256],64630:[[1579,1585],256],64631:[[1579,1586],256],64632:[[1579,1605],256],64633:[[1579,1606],256],64634:[[1579,1609],256],64635:[[1579,1610],256],64636:[[1601,1609],256],64637:[[1601,1610],256],64638:[[1602,1609],256],64639:[[1602,1610],256],64640:[[1603,1575],256],64641:[[1603,1604],256],64642:[[1603,1605],256],64643:[[1603,1609],256],64644:[[1603,1610],256],64645:[[1604,1605],256],64646:[[1604,1609],256],64647:[[1604,1610],256],64648:[[1605,1575],256],64649:[[1605,1605],256],64650:[[1606,1585],256],64651:[[1606,1586],256],64652:[[1606,1605],256],64653:[[1606,1606],256],64654:[[1606,1609],256],64655:[[1606,1610],256],64656:[[1609,1648],256],64657:[[1610,1585],256],64658:[[1610,1586],256],64659:[[1610,1605],256],64660:[[1610,1606],256],64661:[[1610,1609],256],64662:[[1610,1610],256],64663:[[1574,1580],256],64664:[[1574,1581],256],64665:[[1574,1582],256],64666:[[1574,1605],256],64667:[[1574,1607],256],64668:[[1576,1580],256],64669:[[1576,1581],256],64670:[[1576,1582],256],64671:[[1576,1605],256],64672:[[1576,1607],256],64673:[[1578,1580],256],64674:[[1578,1581],256],64675:[[1578,1582],256],64676:[[1578,1605],256],64677:[[1578,1607],256],64678:[[1579,1605],256],64679:[[1580,1581],256],64680:[[1580,1605],256],64681:[[1581,1580],256],64682:[[1581,1605],256],64683:[[1582,1580],256],64684:[[1582,1605],256],64685:[[1587,1580],256],64686:[[1587,1581],256],64687:[[1587,1582],256],64688:[[1587,1605],256],64689:[[1589,1581],256],64690:[[1589,1582],256],64691:[[1589,1605],256],64692:[[1590,1580],256],64693:[[1590,1581],256],64694:[[1590,1582],256],64695:[[1590,1605],256],64696:[[1591,1581],256],64697:[[1592,1605],256],64698:[[1593,1580],256],64699:[[1593,1605],256],64700:[[1594,1580],256],64701:[[1594,1605],256],64702:[[1601,1580],256],64703:[[1601,1581],256],64704:[[1601,1582],256],64705:[[1601,1605],256],64706:[[1602,1581],256],64707:[[1602,1605],256],64708:[[1603,1580],256],64709:[[1603,1581],256],64710:[[1603,1582],256],64711:[[1603,1604],256],64712:[[1603,1605],256],64713:[[1604,1580],256],64714:[[1604,1581],256],64715:[[1604,1582],256],64716:[[1604,1605],256],64717:[[1604,1607],256],64718:[[1605,1580],256],64719:[[1605,1581],256],64720:[[1605,1582],256],64721:[[1605,1605],256],64722:[[1606,1580],256],64723:[[1606,1581],256],64724:[[1606,1582],256],64725:[[1606,1605],256],64726:[[1606,1607],256],64727:[[1607,1580],256],64728:[[1607,1605],256],64729:[[1607,1648],256],64730:[[1610,1580],256],64731:[[1610,1581],256],64732:[[1610,1582],256],64733:[[1610,1605],256],64734:[[1610,1607],256],64735:[[1574,1605],256],64736:[[1574,1607],256],64737:[[1576,1605],256],64738:[[1576,1607],256],64739:[[1578,1605],256],64740:[[1578,1607],256],64741:[[1579,1605],256],64742:[[1579,1607],256],64743:[[1587,1605],256],64744:[[1587,1607],256],64745:[[1588,1605],256],64746:[[1588,1607],256],64747:[[1603,1604],256],64748:[[1603,1605],256],64749:[[1604,1605],256],64750:[[1606,1605],256],64751:[[1606,1607],256],64752:[[1610,1605],256],64753:[[1610,1607],256],64754:[[1600,1614,1617],256],64755:[[1600,1615,1617],256],64756:[[1600,1616,1617],256],64757:[[1591,1609],256],64758:[[1591,1610],256],64759:[[1593,1609],256],64760:[[1593,1610],256],64761:[[1594,1609],256],64762:[[1594,1610],256],64763:[[1587,1609],256],64764:[[1587,1610],256],64765:[[1588,1609],256],64766:[[1588,1610],256],64767:[[1581,1609],256]},64768:{64768:[[1581,1610],256],64769:[[1580,1609],256],64770:[[1580,1610],256],64771:[[1582,1609],256],64772:[[1582,1610],256],64773:[[1589,1609],256],64774:[[1589,1610],256],64775:[[1590,1609],256],64776:[[1590,1610],256],64777:[[1588,1580],256],64778:[[1588,1581],256],64779:[[1588,1582],256],64780:[[1588,1605],256],64781:[[1588,1585],256],64782:[[1587,1585],256],64783:[[1589,1585],256],64784:[[1590,1585],256],64785:[[1591,1609],256],64786:[[1591,1610],256],64787:[[1593,1609],256],64788:[[1593,1610],256],64789:[[1594,1609],256],64790:[[1594,1610],256],64791:[[1587,1609],256],64792:[[1587,1610],256],64793:[[1588,1609],256],64794:[[1588,1610],256],64795:[[1581,1609],256],64796:[[1581,1610],256],64797:[[1580,1609],256],64798:[[1580,1610],256],64799:[[1582,1609],256],64800:[[1582,1610],256],64801:[[1589,1609],256],64802:[[1589,1610],256],64803:[[1590,1609],256],64804:[[1590,1610],256],64805:[[1588,1580],256],64806:[[1588,1581],256],64807:[[1588,1582],256],64808:[[1588,1605],256],64809:[[1588,1585],256],64810:[[1587,1585],256],64811:[[1589,1585],256],64812:[[1590,1585],256],64813:[[1588,1580],256],64814:[[1588,1581],256],64815:[[1588,1582],256],64816:[[1588,1605],256],64817:[[1587,1607],256],64818:[[1588,1607],256],64819:[[1591,1605],256],64820:[[1587,1580],256],64821:[[1587,1581],256],64822:[[1587,1582],256],64823:[[1588,1580],256],64824:[[1588,1581],256],64825:[[1588,1582],256],64826:[[1591,1605],256],64827:[[1592,1605],256],64828:[[1575,1611],256],64829:[[1575,1611],256],64848:[[1578,1580,1605],256],64849:[[1578,1581,1580],256],64850:[[1578,1581,1580],256],64851:[[1578,1581,1605],256],64852:[[1578,1582,1605],256],64853:[[1578,1605,1580],256],64854:[[1578,1605,1581],256],64855:[[1578,1605,1582],256],64856:[[1580,1605,1581],256],64857:[[1580,1605,1581],256],64858:[[1581,1605,1610],256],64859:[[1581,1605,1609],256],64860:[[1587,1581,1580],256],64861:[[1587,1580,1581],256],64862:[[1587,1580,1609],256],64863:[[1587,1605,1581],256],64864:[[1587,1605,1581],256],64865:[[1587,1605,1580],256],64866:[[1587,1605,1605],256],64867:[[1587,1605,1605],256],64868:[[1589,1581,1581],256],64869:[[1589,1581,1581],256],64870:[[1589,1605,1605],256],64871:[[1588,1581,1605],256],64872:[[1588,1581,1605],256],64873:[[1588,1580,1610],256],64874:[[1588,1605,1582],256],64875:[[1588,1605,1582],256],64876:[[1588,1605,1605],256],64877:[[1588,1605,1605],256],64878:[[1590,1581,1609],256],64879:[[1590,1582,1605],256],64880:[[1590,1582,1605],256],64881:[[1591,1605,1581],256],64882:[[1591,1605,1581],256],64883:[[1591,1605,1605],256],64884:[[1591,1605,1610],256],64885:[[1593,1580,1605],256],64886:[[1593,1605,1605],256],64887:[[1593,1605,1605],256],64888:[[1593,1605,1609],256],64889:[[1594,1605,1605],256],64890:[[1594,1605,1610],256],64891:[[1594,1605,1609],256],64892:[[1601,1582,1605],256],64893:[[1601,1582,1605],256],64894:[[1602,1605,1581],256],64895:[[1602,1605,1605],256],64896:[[1604,1581,1605],256],64897:[[1604,1581,1610],256],64898:[[1604,1581,1609],256],64899:[[1604,1580,1580],256],64900:[[1604,1580,1580],256],64901:[[1604,1582,1605],256],64902:[[1604,1582,1605],256],64903:[[1604,1605,1581],256],64904:[[1604,1605,1581],256],64905:[[1605,1581,1580],256],64906:[[1605,1581,1605],256],64907:[[1605,1581,1610],256],64908:[[1605,1580,1581],256],64909:[[1605,1580,1605],256],64910:[[1605,1582,1580],256],64911:[[1605,1582,1605],256],64914:[[1605,1580,1582],256],64915:[[1607,1605,1580],256],64916:[[1607,1605,1605],256],64917:[[1606,1581,1605],256],64918:[[1606,1581,1609],256],64919:[[1606,1580,1605],256],64920:[[1606,1580,1605],256],64921:[[1606,1580,1609],256],64922:[[1606,1605,1610],256],64923:[[1606,1605,1609],256],64924:[[1610,1605,1605],256],64925:[[1610,1605,1605],256],64926:[[1576,1582,1610],256],64927:[[1578,1580,1610],256],64928:[[1578,1580,1609],256],64929:[[1578,1582,1610],256],64930:[[1578,1582,1609],256],64931:[[1578,1605,1610],256],64932:[[1578,1605,1609],256],64933:[[1580,1605,1610],256],64934:[[1580,1581,1609],256],64935:[[1580,1605,1609],256],64936:[[1587,1582,1609],256],64937:[[1589,1581,1610],256],64938:[[1588,1581,1610],256],64939:[[1590,1581,1610],256],64940:[[1604,1580,1610],256],64941:[[1604,1605,1610],256],64942:[[1610,1581,1610],256],64943:[[1610,1580,1610],256],64944:[[1610,1605,1610],256],64945:[[1605,1605,1610],256],64946:[[1602,1605,1610],256],64947:[[1606,1581,1610],256],64948:[[1602,1605,1581],256],64949:[[1604,1581,1605],256],64950:[[1593,1605,1610],256],64951:[[1603,1605,1610],256],64952:[[1606,1580,1581],256],64953:[[1605,1582,1610],256],64954:[[1604,1580,1605],256],64955:[[1603,1605,1605],256],64956:[[1604,1580,1605],256],64957:[[1606,1580,1581],256],64958:[[1580,1581,1610],256],64959:[[1581,1580,1610],256],64960:[[1605,1580,1610],256],64961:[[1601,1605,1610],256],64962:[[1576,1581,1610],256],64963:[[1603,1605,1605],256],64964:[[1593,1580,1605],256],64965:[[1589,1605,1605],256],64966:[[1587,1582,1610],256],64967:[[1606,1580,1610],256],65008:[[1589,1604,1746],256],65009:[[1602,1604,1746],256],65010:[[1575,1604,1604,1607],256],65011:[[1575,1603,1576,1585],256],65012:[[1605,1581,1605,1583],256],65013:[[1589,1604,1593,1605],256],65014:[[1585,1587,1608,1604],256],65015:[[1593,1604,1610,1607],256],65016:[[1608,1587,1604,1605],256],65017:[[1589,1604,1609],256],65018:[[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605],256],65019:[[1580,1604,32,1580,1604,1575,1604,1607],256],65020:[[1585,1740,1575,1604],256]},65024:{65040:[[44],256],65041:[[12289],256],65042:[[12290],256],65043:[[58],256],65044:[[59],256],65045:[[33],256],65046:[[63],256],65047:[[12310],256],65048:[[12311],256],65049:[[8230],256],65056:[,230],65057:[,230],65058:[,230],65059:[,230],65060:[,230],65061:[,230],65062:[,230],65063:[,220],65064:[,220],65065:[,220],65066:[,220],65067:[,220],65068:[,220],65069:[,220],65072:[[8229],256],65073:[[8212],256],65074:[[8211],256],65075:[[95],256],65076:[[95],256],65077:[[40],256],65078:[[41],256],65079:[[123],256],65080:[[125],256],65081:[[12308],256],65082:[[12309],256],65083:[[12304],256],65084:[[12305],256],65085:[[12298],256],65086:[[12299],256],65087:[[12296],256],65088:[[12297],256],65089:[[12300],256],65090:[[12301],256],65091:[[12302],256],65092:[[12303],256],65095:[[91],256],65096:[[93],256],65097:[[8254],256],65098:[[8254],256],65099:[[8254],256],65100:[[8254],256],65101:[[95],256],65102:[[95],256],65103:[[95],256],65104:[[44],256],65105:[[12289],256],65106:[[46],256],65108:[[59],256],65109:[[58],256],65110:[[63],256],65111:[[33],256],65112:[[8212],256],65113:[[40],256],65114:[[41],256],65115:[[123],256],65116:[[125],256],65117:[[12308],256],65118:[[12309],256],65119:[[35],256],65120:[[38],256],65121:[[42],256],65122:[[43],256],65123:[[45],256],65124:[[60],256],65125:[[62],256],65126:[[61],256],65128:[[92],256],65129:[[36],256],65130:[[37],256],65131:[[64],256],65136:[[32,1611],256],65137:[[1600,1611],256],65138:[[32,1612],256],65140:[[32,1613],256],65142:[[32,1614],256],65143:[[1600,1614],256],65144:[[32,1615],256],65145:[[1600,1615],256],65146:[[32,1616],256],65147:[[1600,1616],256],65148:[[32,1617],256],65149:[[1600,1617],256],65150:[[32,1618],256],65151:[[1600,1618],256],65152:[[1569],256],65153:[[1570],256],65154:[[1570],256],65155:[[1571],256],65156:[[1571],256],65157:[[1572],256],65158:[[1572],256],65159:[[1573],256],65160:[[1573],256],65161:[[1574],256],65162:[[1574],256],65163:[[1574],256],65164:[[1574],256],65165:[[1575],256],65166:[[1575],256],65167:[[1576],256],65168:[[1576],256],65169:[[1576],256],65170:[[1576],256],65171:[[1577],256],65172:[[1577],256],65173:[[1578],256],65174:[[1578],256],65175:[[1578],256],65176:[[1578],256],65177:[[1579],256],65178:[[1579],256],65179:[[1579],256],65180:[[1579],256],65181:[[1580],256],65182:[[1580],256],65183:[[1580],256],65184:[[1580],256],65185:[[1581],256],65186:[[1581],256],65187:[[1581],256],65188:[[1581],256],65189:[[1582],256],65190:[[1582],256],65191:[[1582],256],65192:[[1582],256],65193:[[1583],256],65194:[[1583],256],65195:[[1584],256],65196:[[1584],256],65197:[[1585],256],65198:[[1585],256],65199:[[1586],256],65200:[[1586],256],65201:[[1587],256],65202:[[1587],256],65203:[[1587],256],65204:[[1587],256],65205:[[1588],256],65206:[[1588],256],65207:[[1588],256],65208:[[1588],256],65209:[[1589],256],65210:[[1589],256],65211:[[1589],256],65212:[[1589],256],65213:[[1590],256],65214:[[1590],256],65215:[[1590],256],65216:[[1590],256],65217:[[1591],256],65218:[[1591],256],65219:[[1591],256],65220:[[1591],256],65221:[[1592],256],65222:[[1592],256],65223:[[1592],256],65224:[[1592],256],65225:[[1593],256],65226:[[1593],256],65227:[[1593],256],65228:[[1593],256],65229:[[1594],256],65230:[[1594],256],65231:[[1594],256],65232:[[1594],256],65233:[[1601],256],65234:[[1601],256],65235:[[1601],256],65236:[[1601],256],65237:[[1602],256],65238:[[1602],256],65239:[[1602],256],65240:[[1602],256],65241:[[1603],256],65242:[[1603],256],65243:[[1603],256],65244:[[1603],256],65245:[[1604],256],65246:[[1604],256],65247:[[1604],256],65248:[[1604],256],65249:[[1605],256],65250:[[1605],256],65251:[[1605],256],65252:[[1605],256],65253:[[1606],256],65254:[[1606],256],65255:[[1606],256],65256:[[1606],256],65257:[[1607],256],65258:[[1607],256],65259:[[1607],256],65260:[[1607],256],65261:[[1608],256],65262:[[1608],256],65263:[[1609],256],65264:[[1609],256],65265:[[1610],256],65266:[[1610],256],65267:[[1610],256],65268:[[1610],256],65269:[[1604,1570],256],65270:[[1604,1570],256],65271:[[1604,1571],256],65272:[[1604,1571],256],65273:[[1604,1573],256],65274:[[1604,1573],256],65275:[[1604,1575],256],65276:[[1604,1575],256]},65280:{65281:[[33],256],65282:[[34],256],65283:[[35],256],65284:[[36],256],65285:[[37],256],65286:[[38],256],65287:[[39],256],65288:[[40],256],65289:[[41],256],65290:[[42],256],65291:[[43],256],65292:[[44],256],65293:[[45],256],65294:[[46],256],65295:[[47],256],65296:[[48],256],65297:[[49],256],65298:[[50],256],65299:[[51],256],65300:[[52],256],65301:[[53],256],65302:[[54],256],65303:[[55],256],65304:[[56],256],65305:[[57],256],65306:[[58],256],65307:[[59],256],65308:[[60],256],65309:[[61],256],65310:[[62],256],65311:[[63],256],65312:[[64],256],65313:[[65],256],65314:[[66],256],65315:[[67],256],65316:[[68],256],65317:[[69],256],65318:[[70],256],65319:[[71],256],65320:[[72],256],65321:[[73],256],65322:[[74],256],65323:[[75],256],65324:[[76],256],65325:[[77],256],65326:[[78],256],65327:[[79],256],65328:[[80],256],65329:[[81],256],65330:[[82],256],65331:[[83],256],65332:[[84],256],65333:[[85],256],65334:[[86],256],65335:[[87],256],65336:[[88],256],65337:[[89],256],65338:[[90],256],65339:[[91],256],65340:[[92],256],65341:[[93],256],65342:[[94],256],65343:[[95],256],65344:[[96],256],65345:[[97],256],65346:[[98],256],65347:[[99],256],65348:[[100],256],65349:[[101],256],65350:[[102],256],65351:[[103],256],65352:[[104],256],65353:[[105],256],65354:[[106],256],65355:[[107],256],65356:[[108],256],65357:[[109],256],65358:[[110],256],65359:[[111],256],65360:[[112],256],65361:[[113],256],65362:[[114],256],65363:[[115],256],65364:[[116],256],65365:[[117],256],65366:[[118],256],65367:[[119],256],65368:[[120],256],65369:[[121],256],65370:[[122],256],65371:[[123],256],65372:[[124],256],65373:[[125],256],65374:[[126],256],65375:[[10629],256],65376:[[10630],256],65377:[[12290],256],65378:[[12300],256],65379:[[12301],256],65380:[[12289],256],65381:[[12539],256],65382:[[12530],256],65383:[[12449],256],65384:[[12451],256],65385:[[12453],256],65386:[[12455],256],65387:[[12457],256],65388:[[12515],256],65389:[[12517],256],65390:[[12519],256],65391:[[12483],256],65392:[[12540],256],65393:[[12450],256],65394:[[12452],256],65395:[[12454],256],65396:[[12456],256],65397:[[12458],256],65398:[[12459],256],65399:[[12461],256],65400:[[12463],256],65401:[[12465],256],65402:[[12467],256],65403:[[12469],256],65404:[[12471],256],65405:[[12473],256],65406:[[12475],256],65407:[[12477],256],65408:[[12479],256],65409:[[12481],256],65410:[[12484],256],65411:[[12486],256],65412:[[12488],256],65413:[[12490],256],65414:[[12491],256],65415:[[12492],256],65416:[[12493],256],65417:[[12494],256],65418:[[12495],256],65419:[[12498],256],65420:[[12501],256],65421:[[12504],256],65422:[[12507],256],65423:[[12510],256],65424:[[12511],256],65425:[[12512],256],65426:[[12513],256],65427:[[12514],256],65428:[[12516],256],65429:[[12518],256],65430:[[12520],256],65431:[[12521],256],65432:[[12522],256],65433:[[12523],256],65434:[[12524],256],65435:[[12525],256],65436:[[12527],256],65437:[[12531],256],65438:[[12441],256],65439:[[12442],256],65440:[[12644],256],65441:[[12593],256],65442:[[12594],256],65443:[[12595],256],65444:[[12596],256],65445:[[12597],256],65446:[[12598],256],65447:[[12599],256],65448:[[12600],256],65449:[[12601],256],65450:[[12602],256],65451:[[12603],256],65452:[[12604],256],65453:[[12605],256],65454:[[12606],256],65455:[[12607],256],65456:[[12608],256],65457:[[12609],256],65458:[[12610],256],65459:[[12611],256],65460:[[12612],256],65461:[[12613],256],65462:[[12614],256],65463:[[12615],256],65464:[[12616],256],65465:[[12617],256],65466:[[12618],256],65467:[[12619],256],65468:[[12620],256],65469:[[12621],256],65470:[[12622],256],65474:[[12623],256],65475:[[12624],256],65476:[[12625],256],65477:[[12626],256],65478:[[12627],256],65479:[[12628],256],65482:[[12629],256],65483:[[12630],256],65484:[[12631],256],65485:[[12632],256],65486:[[12633],256],65487:[[12634],256],65490:[[12635],256],65491:[[12636],256],65492:[[12637],256],65493:[[12638],256],65494:[[12639],256],65495:[[12640],256],65498:[[12641],256],65499:[[12642],256],65500:[[12643],256],65504:[[162],256],65505:[[163],256],65506:[[172],256],65507:[[175],256],65508:[[166],256],65509:[[165],256],65510:[[8361],256],65512:[[9474],256],65513:[[8592],256],65514:[[8593],256],65515:[[8594],256],65516:[[8595],256],65517:[[9632],256],65518:[[9675],256]}};var S={nfc:function(e){return E("NFC",e)},nfd:function(e){return E("NFD",e)},nfkc:function(e){return E("NFKC",e)},nfkd:function(e){return E("NFKD",e)}};"object"==typeof t?t.exports=S:"function"==typeof define&&define.amd?define("unorm",function(){return S}):e.unorm=S,S.shimApplied=!1,String.prototype.normalize||(String.prototype.normalize=function(e){var t=""+this;if("NFC"===(e=void 0===e?"NFC":e))return S.nfc(t);if("NFD"===e)return S.nfd(t);if("NFKC"===e)return S.nfkc(t);if("NFKD"===e)return S.nfkd(t);throw new RangeError("Invalid normalization form: "+e)},S.shimApplied=!0)}(this)},{}],357:[function(e,t,r){"use strict";function n(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function i(e,t,r){if(e&&s.isObject(e)&&e instanceof n)return e;var i=new n;return i.parse(e,t,r),i}var o=e("punycode"),s=e("./util");r.parse=i,r.resolve=function(e,t){return i(e,!1,!0).resolve(t)},r.resolveObject=function(e,t){return e?i(e,!1,!0).resolveObject(t):t},r.format=function(e){return s.isString(e)&&(e=i(e)),e instanceof n?e.format():n.prototype.format.call(e)},r.Url=n;var a=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),h=["'"].concat(u),l=["%","/","?",";","#"].concat(h),d=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,y={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=e("querystring");n.prototype.parse=function(e,t,r){if(!s.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e.indexOf("?"),i=-1!==n&&n<e.indexOf("#")?"?":"#",c=e.split(i);c[0]=c[0].replace(/\\/g,"/");var u=e=c.join(i);if(u=u.trim(),!r&&1===e.split("#").length){var w=f.exec(u);if(w)return this.path=u,this.href=u,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?g.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=a.exec(u);if(_){var E=(_=_[0]).toLowerCase();this.protocol=E,u=u.substr(_.length)}if(r||_||u.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===u.substr(0,2);!S||_&&v[_]||(u=u.substr(2),this.slashes=!0)}if(!v[_]&&(S||_&&!m[_])){for(var k=-1,A=0;A<d.length;A++){-1!==(T=u.indexOf(d[A]))&&(-1===k||T<k)&&(k=T)}var x,I;-1!==(I=-1===k?u.lastIndexOf("@"):u.lastIndexOf("@",k))&&(x=u.slice(0,I),u=u.slice(I+1),this.auth=decodeURIComponent(x)),k=-1;for(A=0;A<l.length;A++){var T=u.indexOf(l[A]);-1!==T&&(-1===k||T<k)&&(k=T)}-1===k&&(k=u.length),this.host=u.slice(0,k),u=u.slice(k),this.parseHost(),this.hostname=this.hostname||"";var B="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!B)for(var P=this.hostname.split(/\./),A=0,M=P.length;A<M;A++){var C=P[A];if(C&&!C.match(p)){for(var R="",O=0,L=C.length;O<L;O++)C.charCodeAt(O)>127?R+="x":R+=C[O];if(!R.match(p)){var j=P.slice(0,A),N=P.slice(A+1),D=C.match(b);D&&(j.push(D[1]),N.unshift(D[2])),N.length&&(u="/"+N.join(".")+u),this.hostname=j.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),B||(this.hostname=o.toASCII(this.hostname));var U=this.port?":"+this.port:"",K=this.hostname||"";this.host=K+U,this.href+=this.host,B&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==u[0]&&(u="/"+u))}if(!y[E])for(var A=0,M=h.length;A<M;A++){var H=h[A];if(-1!==u.indexOf(H)){var z=encodeURIComponent(H);z===H&&(z=escape(H)),u=u.split(H).join(z)}}var q=u.indexOf("#");-1!==q&&(this.hash=u.substr(q),u=u.slice(0,q));var F=u.indexOf("?");if(-1!==F?(this.search=u.substr(F),this.query=u.substr(F+1),t&&(this.query=g.parse(this.query)),u=u.slice(0,F)):t&&(this.search="",this.query={}),u&&(this.pathname=u),m[E]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var U=this.pathname||"",W=this.search||"";this.path=U+W}return this.href=this.format(),this},n.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&s.isObject(this.query)&&Object.keys(this.query).length&&(o=g.stringify(this.query));var a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||m[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),a=a.replace("#","%23"),t+i+r+a+n},n.prototype.resolve=function(e){return this.resolveObject(i(e,!1,!0)).format()},n.prototype.resolveObject=function(e){if(s.isString(e)){var t=new n;t.parse(e,!1,!0),e=t}for(var r=new n,i=Object.keys(this),o=0;o<i.length;o++){var a=i[o];r[a]=this[a]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),f=0;f<c.length;f++){var u=c[f];"protocol"!==u&&(r[u]=e[u])}return m[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!m[e.protocol]){for(var h=Object.keys(e),l=0;l<h.length;l++){var d=h[l];r[d]=e[d]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||v[e.protocol])r.pathname=e.pathname;else{for(S=(e.pathname||"").split("/");S.length&&!(e.host=S.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==S[0]&&S.unshift(""),S.length<2&&S.unshift(""),r.pathname=S.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var p=r.pathname||"",b=r.search||"";r.path=p+b}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var y=r.pathname&&"/"===r.pathname.charAt(0),g=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=g||y||r.host&&e.pathname,_=w,E=r.pathname&&r.pathname.split("/")||[],S=e.pathname&&e.pathname.split("/")||[],k=r.protocol&&!m[r.protocol];if(k&&(r.hostname="",r.port=null,r.host&&(""===E[0]?E[0]=r.host:E.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===S[0]?S[0]=e.host:S.unshift(e.host)),e.host=null),w=w&&(""===S[0]||""===E[0])),g)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,E=S;else if(S.length)E||(E=[]),E.pop(),E=E.concat(S),r.search=e.search,r.query=e.query;else if(!s.isNullOrUndefined(e.search)){if(k){r.hostname=r.host=E.shift();(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift())}return r.search=e.search,r.query=e.query,s.isNull(r.pathname)&&s.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!E.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var A=E.slice(-1)[0],x=(r.host||e.host||E.length>1)&&("."===A||".."===A)||""===A,I=0,T=E.length;T>=0;T--)"."===(A=E[T])?E.splice(T,1):".."===A?(E.splice(T,1),I++):I&&(E.splice(T,1),I--);if(!w&&!_)for(;I--;I)E.unshift("..");!w||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),x&&"/"!==E.join("/").substr(-1)&&E.push("");var B=""===E[0]||E[0]&&"/"===E[0].charAt(0);if(k){r.hostname=r.host=B?"":E.length?E.shift():"";var P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");P&&(r.auth=P.shift(),r.host=r.hostname=P.shift())}return(w=w||r.host&&E.length)&&!B&&E.unshift(""),E.length?r.pathname=E.join("/"):(r.pathname=null,r.path=null),s.isNull(r.pathname)&&s.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var e=this.host,t=c.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{"./util":358,punycode:293,querystring:298}],358:[function(e,t,r){"use strict";t.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},{}],359:[function(e,t,r){(function(e){function r(t){try{if(!e.localStorage)return!1}catch(e){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],360:[function(e,t,r){arguments[4][248][0].apply(r,arguments)},{dup:248}],361:[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],362:[function(e,t,r){(function(t,n){function i(e,t){var n={seen:[],stylize:s};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),h(t)?n.showHidden=t:t&&r._extend(n,t),b(n.showHidden)&&(n.showHidden=!1),b(n.depth)&&(n.depth=2),b(n.colors)&&(n.colors=!1),b(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=o),a(n,e,n.depth)}function o(e,t){var r=i.styles[t];return r?"["+i.colors[r][0]+"m"+e+"["+i.colors[r][1]+"m":e}function s(e,t){return e}function a(e,t,n){if(e.customInspect&&t&&w(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return p(i)||(i=a(e,i,n)),i}var o=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(p(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(d(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(l(t))return e.stylize("null","null")}(e,t);if(o)return o;var s=Object.keys(t),v=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),g(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return c(t);if(0===s.length){if(w(t)){var _=t.name?": "+t.name:"";return e.stylize("[Function"+_+"]","special")}if(y(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(m(t))return e.stylize(Date.prototype.toString.call(t),"date");if(g(t))return c(t)}var E="",k=!1,A=["{","}"];if(u(t)&&(k=!0,A=["[","]"]),w(t)){E=" [Function"+(t.name?": "+t.name:"")+"]"}if(y(t)&&(E=" "+RegExp.prototype.toString.call(t)),m(t)&&(E=" "+Date.prototype.toUTCString.call(t)),g(t)&&(E=" "+c(t)),0===s.length&&(!k||0==t.length))return A[0]+E+A[1];if(n<0)return y(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var x;return x=k?function(e,t,r,n,i){for(var o=[],s=0,a=t.length;s<a;++s)S(t,String(s))?o.push(f(e,t,r,n,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(f(e,t,r,n,i,!0))}),o}(e,t,n,v,s):s.map(function(r){return f(e,t,n,v,r,k)}),e.seen.pop(),function(e,t,r){var n=0;if(e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(x,E,A)}function c(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i,o){var s,c,f;if((f=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?c=f.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):f.set&&(c=e.stylize("[Setter]","special")),S(n,i)||(s="["+i+"]"),c||(e.seen.indexOf(f.value)<0?(c=l(r)?a(e,f.value,null):a(e,f.value,r-1)).indexOf("\n")>-1&&(c=o?c.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+c.split("\n").map(function(e){return"   "+e}).join("\n")):c=e.stylize("[Circular]","special")),b(s)){if(o&&i.match(/^\d+$/))return c;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+c}function u(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function l(e){return null===e}function d(e){return"number"==typeof e}function p(e){return"string"==typeof e}function b(e){return void 0===e}function y(e){return v(e)&&"[object RegExp]"===_(e)}function v(e){return"object"==typeof e&&null!==e}function m(e){return v(e)&&"[object Date]"===_(e)}function g(e){return v(e)&&("[object Error]"===_(e)||e instanceof Error)}function w(e){return"function"==typeof e}function _(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}function S(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var k=/%[sdj%]/g;r.format=function(e){if(!p(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(i(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,o=n.length,s=String(e).replace(k,function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),a=n[r];r<o;a=n[++r])l(a)||!v(a)?s+=" "+a:s+=" "+i(a);return s},r.deprecate=function(e,i){if(b(n.process))return function(){return r.deprecate(e,i).apply(this,arguments)};if(!0===t.noDeprecation)return e;var o=!1;return function(){if(!o){if(t.throwDeprecation)throw new Error(i);t.traceDeprecation?console.trace(i):console.error(i),o=!0}return e.apply(this,arguments)}};var A,x={};r.debuglog=function(e){if(b(A)&&(A=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!x[e])if(new RegExp("\\b"+e+"\\b","i").test(A)){var n=t.pid;x[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else x[e]=function(){};return x[e]},r.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=u,r.isBoolean=h,r.isNull=l,r.isNullOrUndefined=function(e){return null==e},r.isNumber=d,r.isString=p,r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=b,r.isRegExp=y,r.isObject=v,r.isDate=m,r.isError=g,r.isFunction=w,r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e("./support/isBuffer");var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];r.log=function(){console.log("%s - %s",function(){var e=new Date,t=[E(e.getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":");return[e.getDate(),I[e.getMonth()],t].join(" ")}(),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!v(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":361,_process:265,inherits:360}],363:[function(e,t,r){(function(Buffer){"use strict";function e(e){if(e<0||e>o||e%1!=0)throw new RangeError("value out of range")}function r(t,n,o){if(e(t),n||(n=new Buffer(i(t))),!Buffer.isBuffer(n))throw new TypeError("buffer must be a Buffer instance");return o||(o=0),t<253?(n.writeUInt8(t,o),r.bytes=1):t<=65535?(n.writeUInt8(253,o),n.writeUInt16LE(t,o+1),r.bytes=3):t<=4294967295?(n.writeUInt8(254,o),n.writeUInt32LE(t,o+1),r.bytes=5):(n.writeUInt8(255,o),n.writeUInt32LE(t>>>0,o+1),n.writeUInt32LE(t/4294967296|0,o+5),r.bytes=9),n}function n(t,r){if(!Buffer.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");r||(r=0);var i=t.readUInt8(r);if(i<253)return n.bytes=1,i;if(253===i)return n.bytes=3,t.readUInt16LE(r+1);if(254===i)return n.bytes=5,t.readUInt32LE(r+1);n.bytes=9;var o=t.readUInt32LE(r+1),s=4294967296*t.readUInt32LE(r+5)+o;return e(s),s}function i(t){return e(t),t<253?1:t<=65535?3:t<=4294967295?5:9}var o=9007199254740991;t.exports={encode:r,decode:n,encodingLength:i}}).call(this,e("buffer").Buffer)},{buffer:105}],364:[function(require,module,exports){function Context(){}var indexOf=require("indexof"),Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,n=r.eval,i=r.execScript;!n&&i&&(i.call(r,"null"),n=r.eval),forEach(Object_keys(e),function(t){r[t]=e[t]}),forEach(globals,function(t){e[t]&&(r[t]=e[t])});var o=Object_keys(r),s=n.call(r,this.code);return forEach(Object_keys(r),function(t){(t in e||-1===indexOf(o,t))&&(e[t]=r[t])}),forEach(globals,function(t){t in e||defineProp(e,t,r[t])}),document.body.removeChild(t),s},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return forEach(Object_keys(t),function(r){e[r]=t[r]}),r},forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}}),exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),function(r){t[r]=e[r]}),t}},{indexof:247}],365:[function(e,t,r){var n=arguments[3],i=arguments[4],o=arguments[5],s=JSON.stringify;t.exports=function(e,t){function r(e){y[e]=!0;for(var t in i[e][1]){var n=i[e][1][t];y[n]||r(n)}}for(var a,c=Object.keys(o),f=0,u=c.length;f<u;f++){var h=c[f],l=o[h].exports;if(l===e||l&&l.default===e){a=h;break}}if(!a){a=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var d={},f=0,u=c.length;f<u;f++){d[h=c[f]]=h}i[a]=[Function(["require","module","exports"],"("+e+")(self)"),d]}var p=Math.floor(Math.pow(16,8)*Math.random()).toString(16),b={};b[a]=a,i[p]=[Function(["require"],"var f = require("+s(a)+");(f.default ? f.default : f)(self);"),b];var y={};r(p);var v="("+n+")({"+Object.keys(y).map(function(e){return s(e)+":["+i[e][0]+","+s(i[e][1])+"]"}).join(",")+"},{},["+s(p)+"])",m=window.URL||window.webkitURL||window.mozURL||window.msURL,g=new Blob([v],{type:"text/javascript"});if(t&&t.bare)return g;var w=m.createObjectURL(g),_=new Worker(w);return _.objectURL=w,_}},{}],366:[function(e,t,r){(function(Buffer){function r(e,t){if(void 0!==t&&e[0]!==t)throw new Error("Invalid network version");if(33===e.length)return{version:e[0],privateKey:e.slice(1,33),compressed:!1};if(34!==e.length)throw new Error("Invalid WIF length");if(1!==e[33])throw new Error("Invalid compression flag");return{version:e[0],privateKey:e.slice(1,33),compressed:!0}}function n(e,t,r){var n=new Buffer(r?34:33);return n.writeUInt8(e,0),t.copy(n,1),r&&(n[33]=1),n}var i=e("bs58check");t.exports={decode:function(e,t){return r(i.decode(e),t)},decodeRaw:r,encode:function(e,t,r){return"number"==typeof e?i.encode(n(e,t,r)):i.encode(n(e.version,e.privateKey,e.compressed))},encodeRaw:n}}).call(this,e("buffer").Buffer)},{bs58check:101,buffer:105}]},{},[19])(19)});
@@ 2-2 (lines=1) @@
1
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).blocktrailSDK=e()}}(function(){var define,module,exports;return function e(t,r,n){function i(s,a){if(!r[s]){if(!t[s]){var c="function"==typeof require&&require;if(!a&&c)return c(s,!0);if(o)return o(s,!0);var f=new Error("Cannot find module '"+s+"'");throw f.code="MODULE_NOT_FOUND",f}var u=r[s]={exports:{}};t[s][0].call(u.exports,function(e){var r=t[s][1][e];return i(r||e)},u,u.exports,e,t,r,n)}return r[s].exports}for(var o="function"==typeof require&&require,s=0;s<n.length;s++)i(n[s]);return i}({1:[function(e,t,r){(function(r,Buffer){function n(e,t){if(void 0!==a.HDNode.fromBase58(e[0],t).keyPair.d)throw new Error("BIP32Key contained private key material - abort");if("M"!==e[1].slice(0,1))throw new Error("BIP32Key contained non-public path - abort")}function i(e,t){n(e.primary_public_key,t),n(e.backup_public_key,t)}var o=e("lodash"),s=e("q"),a=e("bitcoinjs-lib"),c=e("bitcoinjs-message"),f=e("bip39"),u=e("./wallet"),h=e("./rest_client"),l=e("./encryption"),d=e("./keyderivation"),p=e("./encryption_mnemonic"),b=e("./blocktrail"),y=e("randombytes"),v=e("crypto-js"),m=e("./webworkifier"),g=e("./use-webworker")(),w=function(e){var t=this;if(!(this instanceof w))return new w(e);t.bitcoinCash=e.network&&"BCC"===e.network,t.testnet=e.testnet=e.testnet||!1,t.bitcoinCash?t.testnet?t.network=a.networks.bitcoincashtestnet:t.network=a.networks.bitcoincash:t.testnet?t.network=a.networks.testnet:t.network=a.networks.bitcoin,t.feeSanityCheck=void 0===e.feeSanityCheck||e.feeSanityCheck,t.feeSanityCheckBaseFeeMultiplier=e.feeSanityCheckBaseFeeMultiplier||200,e.apiNetwork=e.apiNetwork||(t.testnet?"t":"")+(e.network||"BTC").toUpperCase(),t.client=w.initRestClient(e)};w.initRestClient=function(e){return r.env.BLOCKTRAIL_SDK_API_ENDPOINT&&(e.host=r.env.BLOCKTRAIL_SDK_API_ENDPOINT),e.host&&0===e.host.indexOf("https://")?(e.https=!0,e.host=e.host.substr(8)):e.host&&0===e.host.indexOf("http://")&&(e.https=!1,e.host=e.host.substr(7)),void 0===e.https&&(e.https=!0),e.host||(e.host="api.blocktrail.com"),e.port||(e.port=e.https?443:80),e.endpoint||(e.endpoint="/"+(e.apiVersion||"v1")+(e.apiNetwork?"/"+e.apiNetwork:"")),new h(e)};var _=function(e){return s.when(e).then(function(e){return e.storePrimaryMnemonic&&(e.storeDataOnServer=e.storePrimaryMnemonic),void 0===e.storeDataOnServer&&(e.storeDataOnServer=!e.primarySeed),e})};w.prototype.promisedEncrypt=function(t,r,n){if(g&&"function"==typeof onLoadWorkerLoadAsmCrypto){var i=l.generateSalt(),o=l.generateIV();return m.workify(w.prototype.promisedEncrypt,function(){return e("./webworker")},onLoadWorkerLoadAsmCrypto,{method:"Encryption.encryptWithSaltAndIV",pt:t,pw:r,saltBuf:i,iv:o,iterations:n}).then(function(e){return Buffer.from(e.cipherText.buffer)})}try{return s.when(l.encrypt(t,r,n))}catch(e){return s.reject(e)}},w.prototype.promisedDecrypt=function(t,r){if(g&&"function"==typeof onLoadWorkerLoadAsmCrypto)return m.workify(w.prototype.promisedDecrypt,function(){return e("./webworker")},onLoadWorkerLoadAsmCrypto,{method:"Encryption.decrypt",ct:t,pw:r}).then(function(e){return Buffer.from(e.plainText.buffer)});try{return s.when(l.decrypt(t,r))}catch(e){return s.reject(e)}},w.prototype.produceEncryptedDataV3=function(e,t){var r=this;return s.when(e).then(function(e){return e.storeDataOnServer?s.when().then(function(){if(!e.secret){if(!e.passphrase)throw new b.WalletCreateError("Can't encrypt data without a passphrase");return t(w.CREATE_WALLET_PROGRESS_ENCRYPT_SECRET),e.secret=y(u.WALLET_ENTROPY_BITS/8),r.promisedEncrypt(e.secret,new Buffer(e.passphrase),d.defaultIterations).then(function(t){e.encryptedSecret=t})}if(!(e.secret instanceof Buffer))throw new Error("Secret must be a buffer")}).then(function(){return t(w.CREATE_WALLET_PROGRESS_ENCRYPT_PRIMARY),r.promisedEncrypt(e.primarySeed,e.secret,d.subkeyIterations).then(function(t){e.encryptedPrimarySeed=t})}).then(function(){if(!1!==e.recoverySecret)return t(w.CREATE_WALLET_PROGRESS_ENCRYPT_RECOVERY),e.recoverySecret||(e.recoverySecret=y(u.WALLET_ENTROPY_BITS/8)),r.promisedEncrypt(e.secret,e.recoverySecret,d.defaultIterations).then(function(t){e.recoveryEncryptedSecret=t})}).then(function(){return e}):e})};var E=function(e,t,r){return s.when(e).then(function(e){return e.backupPublicKey||(e.backupSeed=e.backupSeed||y(u.WALLET_ENTROPY_BITS/8)),r(w.CREATE_WALLET_PROGRESS_PRIMARY),e.primaryPrivateKey=a.HDNode.fromSeedBuffer(e.primarySeed,t),r(w.CREATE_WALLET_PROGRESS_BACKUP),e.backupPublicKey||(e.backupPrivateKey=a.HDNode.fromSeedBuffer(e.backupSeed,t),e.backupPublicKey=e.backupPrivateKey.neutered()),e.primaryPublicKey=e.primaryPrivateKey.deriveHardened(e.keyIndex).neutered(),r(w.CREATE_WALLET_PROGRESS_SUBMIT),e})};w.prototype.mnemonicToPrivateKey=function(e,t,r){var n=this,i=s.defer();return i.promise.spreadNodeify(r),i.resolve(s.fcall(function(){return n.mnemonicToSeedHex(e,t).then(function(e){return a.HDNode.fromSeedHex(e,n.network)})})),i.promise},w.prototype.mnemonicToSeedHex=function(t,r){if(g)return m.workify(this.mnemonicToSeedHex,function(){return e("./webworker")},{method:"mnemonicToSeedHex",mnemonic:t,passphrase:r}).then(function(e){return e.seed});try{return s.when(f.mnemonicToSeedHex(t,r))}catch(e){return s.reject(e)}},w.prototype.resolvePrimaryPrivateKeyFromOptions=function(e,t){var r=this,n=s.defer();n.promise.nodeify(t);try{if(e.passphrase&&e.password)throw new b.WalletCreateError("Can't specify passphrase and password");if(e.passphrase=e.passphrase||e.password,delete e.password,e.primaryMnemonic&&e.primarySeed)throw new b.WalletInitError("Can only specify one of; Primary Mnemonic or Primary Seed");if(e.primaryPrivateKey)throw new b.WalletInitError("Can't specify; Primary PrivateKey");if(!e.primaryMnemonic&&!e.primarySeed)throw new b.WalletInitError("Need to specify at least one of; Primary Mnemonic or Primary Seed");if(e.primarySeed)r.primarySeed=e.primarySeed,e.primaryPrivateKey=a.HDNode.fromSeedBuffer(r.primarySeed,r.network),n.resolve(e);else{if(!e.passphrase)throw new b.WalletInitError("Can't init wallet with Primary Mnemonic without a passphrase");r.mnemonicToSeedHex(e.primaryMnemonic,e.passphrase).then(function(t){try{e.primarySeed=new Buffer(t,"hex"),e.primaryPrivateKey=a.HDNode.fromSeedBuffer(e.primarySeed,r.network),n.resolve(e)}catch(e){n.reject(e)}},function(e){n.reject(e)})}}catch(e){n.reject(e)}return n.promise},w.prototype.resolveBackupPublicKeyFromOptions=function(e,t){var r=s.defer();r.promise.nodeify(t);try{if(e.backupMnemonic&&e.backupPublicKey)throw new b.WalletInitError("Can only specify one of; Backup Mnemonic or Backup PublicKey");if(!e.backupMnemonic&&!e.backupPublicKey)throw new b.WalletInitError("Need to specify at least one of; Backup Mnemonic or Backup PublicKey");e.backupPublicKey?e.backupPublicKey instanceof a.HDNode?r.resolve(e):(e.backupPublicKey=a.HDNode.fromBase58(e.backupPublicKey,this.network),r.resolve(e)):this.mnemonicToPrivateKey(e.backupMnemonic,"").then(function(t){e.backupPublicKey=t.neutered(),r.resolve(e)},function(e){r.reject(e)})}catch(e){r.reject(e)}return r.promise},w.prototype.debugAuth=function(e){return this.client.get("/debug/http-signature",null,!0,e)},w.prototype.address=function(e,t){return this.client.get("/address/"+e,null,t)},w.prototype.addresses=function(e,t){return this.client.post("/address",null,{addresses:e},t)},w.prototype.addressTransactions=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/address/"+e+"/transactions",t,r)},w.prototype.batchAddressHasTransactions=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.post("/address/has-transactions",t,{addresses:e},r)},w.prototype.addressUnconfirmedTransactions=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/address/"+e+"/unconfirmed-transactions",t,r)},w.prototype.addressUnspentOutputs=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/address/"+e+"/unspent-outputs",t,r)},w.prototype.batchAddressUnspentOutputs=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.post("/address/unspent-outputs",t,{addresses:e},r)},w.prototype.verifyAddress=function(e,t,r){return this.client.post("/address/"+e+"/verify",null,{signature:t},r)},w.prototype.allBlocks=function(e,t){return"function"==typeof e&&(t=e,e=null),this.client.get("/all-blocks",e,t)},w.prototype.block=function(e,t){return this.client.get("/block/"+e,null,t)},w.prototype.blockLatest=function(e){return this.client.get("/block/latest",null,e)},w.prototype.blockTransactions=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/block/"+e+"/transactions",t,r)},w.prototype.transaction=function(e,t){return this.client.get("/transaction/"+e,null,t)},w.prototype.transactions=function(e,t){return this.client.post("/transactions",null,e,t,!1)},w.prototype.allWebhooks=function(e,t){return"function"==typeof e&&(t=e,e=null),this.client.get("/webhooks",e,t)},w.prototype.setupWebhook=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.post("/webhook",null,{url:e,identifier:t},r)},w.prototype.getLegacyBitcoinCashAddress=function(e){if(this.network===a.networks.bitcoincash||this.network===a.networks.bitcoincashtestnet){var t;try{return a.address.fromBase58Check(e,this.network),e}catch(e){}var r;if((t=a.address.fromCashAddress(e,this.network)).version===a.script.types.P2PKH)r=this.network.pubKeyHash;else{if(t.version!==a.script.types.P2SH)throw new Error("Unsupported address type");r=this.network.scriptHash}return a.address.toBase58Check(t.hash,r)}throw new Error("Cash addresses only work on bitcoin cash")},w.prototype.getCashAddressFromLegacyAddress=function(e){if(this.network===a.networks.bitcoincash||this.network===a.networks.bitcoincashtestnet){var t;try{return a.address.fromCashAddress(e,this.network),e}catch(e){}var r;if((t=a.address.fromBase58Check(e,this.network)).version===this.network.pubKeyHash)r=a.script.types.P2PKH;else{if(t.version!==this.network.scriptHash)throw new Error("Unsupported address type");r=a.script.types.P2SH}return a.address.toCashAddress(t.hash,r,this.network.cashAddrPrefix)}throw new Error("Cash addresses only work on bitcoin cash")},w.prototype.getWebhook=function(e,t){return this.client.get("/webhook/"+e,null,t)},w.prototype.updateWebhook=function(e,t,r){return this.client.put("/webhook/"+e,null,t,r)},w.prototype.deleteWebhook=function(e,t){return this.client.delete("/webhook/"+e,null,null,t)},w.prototype.getWebhookEvents=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/webhook/"+e+"/events",t,r)},w.prototype.subscribeTransaction=function(e,t,r,n){var i={event_type:"transaction",transaction:t,confirmations:r};return this.client.post("/webhook/"+e+"/events",null,i,n)},w.prototype.subscribeAddressTransactions=function(e,t,r,n){var i={event_type:"address-transactions",address:t,confirmations:r};return this.client.post("/webhook/"+e+"/events",null,i,n)},w.prototype.batchSubscribeAddressTransactions=function(e,t,r){return t.forEach(function(e){e.event_type="address-transactions"}),this.client.post("/webhook/"+e+"/events/batch",null,t,r)},w.prototype.subscribeNewBlocks=function(e,t){return this.client.post("/webhook/"+e+"/events",null,{event_type:"block"},t)},w.prototype.unsubscribeAddressTransactions=function(e,t,r){return this.client.delete("/webhook/"+e+"/address-transactions/"+t,null,null,r)},w.prototype.unsubscribeTransaction=function(e,t,r){return this.client.delete("/webhook/"+e+"/transaction/"+t,null,null,r)},w.prototype.unsubscribeNewBlocks=function(e,t){return this.client.delete("/webhook/"+e+"/block",null,null,t)},w.prototype.initWallet=function(e,t){var r=this;if("object"!=typeof e&&(e={identifier:arguments[0],passphrase:arguments[1]},t=arguments[2]),e.check_backup_key&&"string"!=typeof e.check_backup_key)throw new Error("Invalid input, must provide the backup key as a string (the xpub)");var n=s.defer();n.promise.spreadNodeify(t);var i=e.identifier;return i?(n.resolve(r.client.get("/wallet/"+i,null,!0).then(function(t){var n=e.keyIndex||t.key_index;if(e.walletVersion=t.wallet_version,e.check_backup_key&&e.check_backup_key!==t.backup_public_key[0])throw new Error("Backup key returned from server didn't match our own copy");var s=a.HDNode.fromBase58(t.backup_public_key[0],r.network),c=o.mapValues(t.blocktrail_public_keys,function(e){return a.HDNode.fromBase58(e[0],r.network)}),f=o.mapValues(t.primary_public_keys,function(e){return a.HDNode.fromBase58(e[0],r.network)}),h=new u(r,i,e.walletVersion,t.primary_mnemonic,t.encrypted_primary_seed,t.encrypted_secret,f,s,c,n,t.segwit||0,r.testnet,t.checksum,t.upgrade_key_index,e.useCashAddress,e.bypassNewAddressCheck);return h.recoverySecret=t.recovery_secret,e.readOnly?h:h.unlock(e).then(function(){return h})})),n.promise):(n.reject(new b.WalletInitError("Identifier is required")),n.promise)},w.CREATE_WALLET_PROGRESS_START=0,w.CREATE_WALLET_PROGRESS_ENCRYPT_SECRET=4,w.CREATE_WALLET_PROGRESS_ENCRYPT_PRIMARY=5,w.CREATE_WALLET_PROGRESS_ENCRYPT_RECOVERY=6,w.CREATE_WALLET_PROGRESS_PRIMARY=10,w.CREATE_WALLET_PROGRESS_BACKUP=20,w.CREATE_WALLET_PROGRESS_SUBMIT=30,w.CREATE_WALLET_PROGRESS_INIT=40,w.CREATE_WALLET_PROGRESS_DONE=100,w.prototype.createNewWallet=function(e,t){var r=this;if("object"!=typeof e){var n=arguments[0],i=arguments[1],o=arguments[2];t=arguments[3],"function"==typeof o&&(t=o,o=null),e={identifier:n,passphrase:i,keyIndex:o}}e.walletVersion=e.walletVersion||u.WALLET_VERSION_V3;var a=s.defer();return a.promise.spreadNodeify(t),s.nextTick(function(){if(a.notify(w.CREATE_WALLET_PROGRESS_START),e.keyIndex=e.keyIndex||0,e.passphrase=e.passphrase||e.password,delete e.password,!e.identifier)return a.reject(new b.WalletCreateError("Identifier is required")),a.promise;e.walletVersion===u.WALLET_VERSION_V1?r._createNewWalletV1(e).progress(function(e){a.notify(e)}).then(function(e){a.resolve(e)},function(e){a.reject(e)}):e.walletVersion===u.WALLET_VERSION_V2?r._createNewWalletV2(e).progress(function(e){a.notify(e)}).then(function(e){a.resolve(e)},function(e){a.reject(e)}):e.walletVersion===u.WALLET_VERSION_V3?r._createNewWalletV3(e).progress(function(e){a.notify(e)}).then(function(e){a.resolve(e)},function(e){a.reject(e)}):a.reject(new b.WalletCreateError("Invalid wallet version!"))}),a.promise},w.prototype._createNewWalletV1=function(e){var t=this,r=s.defer();return s.nextTick(function(){if(!e.primaryMnemonic&&!e.primarySeed){if(!e.passphrase&&!e.password)return r.reject(new b.WalletCreateError("Can't generate Primary Mnemonic without a passphrase")),r.promise;e.primaryMnemonic=f.generateMnemonic(u.WALLET_ENTROPY_BITS),!1!==e.storePrimaryMnemonic&&(e.storePrimaryMnemonic=!0)}e.backupMnemonic||e.backupPublicKey||(e.backupMnemonic=f.generateMnemonic(u.WALLET_ENTROPY_BITS)),r.notify(w.CREATE_WALLET_PROGRESS_PRIMARY),t.resolvePrimaryPrivateKeyFromOptions(e).then(function(e){return r.notify(w.CREATE_WALLET_PROGRESS_BACKUP),t.resolveBackupPublicKeyFromOptions(e).then(function(e){r.notify(w.CREATE_WALLET_PROGRESS_SUBMIT);var n=a.crypto.hash160(e.primaryPrivateKey.getPublicKeyBuffer()),i=a.address.toBase58Check(n,t.network.pubKeyHash),s=e.keyIndex,c=e.primaryPrivateKey.deriveHardened(s).neutered();return t.storeNewWalletV1(e.identifier,[c.toBase58(),"M/"+s+"'"],[e.backupPublicKey.toBase58(),"M"],!!e.storePrimaryMnemonic&&e.primaryMnemonic,i,s,e.segwit||null).then(function(n){r.notify(w.CREATE_WALLET_PROGRESS_INIT);var f=o.mapValues(n.blocktrail_public_keys,function(e){return a.HDNode.fromBase58(e[0],t.network)}),h=new u(t,e.identifier,u.WALLET_VERSION_V1,e.primaryMnemonic,null,null,{keyIndex:c},e.backupPublicKey,f,s,n.segwit||0,t.testnet,i,n.upgrade_key_index,e.useCashAddress,e.bypassNewAddressCheck);return h.unlock({walletVersion:u.WALLET_VERSION_V1,passphrase:e.passphrase,primarySeed:e.primarySeed,primaryMnemonic:null}).then(function(){return r.notify(w.CREATE_WALLET_PROGRESS_DONE),[h,{walletVersion:h.walletVersion,primaryMnemonic:e.primaryMnemonic,backupMnemonic:e.backupMnemonic,blocktrailPublicKeys:f}]})})})}).then(function(e){r.resolve(e)},function(e){r.reject(e)})}),r.promise},w.prototype._createNewWalletV2=function(e){var t=this,r=s.defer();return e=o.merge({},e),_(e).then(function(e){if(e.passphrase=e.passphrase||e.password,delete e.password,e.primaryPrivateKey)throw new b.WalletInitError("Can't specify; Primary PrivateKey");return e.primarySeed=e.primarySeed||y(u.WALLET_ENTROPY_BITS/8),e}).then(function(e){return function(e,t){return s.when(e).then(function(e){if(e.storeDataOnServer){if(!e.secret){if(!e.passphrase)throw new b.WalletCreateError("Can't encrypt data without a passphrase");t(w.CREATE_WALLET_PROGRESS_ENCRYPT_SECRET),e.secret=y(u.WALLET_ENTROPY_BITS/8).toString("hex"),e.encryptedSecret=v.AES.encrypt(e.secret,e.passphrase).toString(v.format.OpenSSL)}t(w.CREATE_WALLET_PROGRESS_ENCRYPT_PRIMARY),e.encryptedPrimarySeed=v.AES.encrypt(e.primarySeed.toString("base64"),e.secret).toString(v.format.OpenSSL),e.recoverySecret=y(u.WALLET_ENTROPY_BITS/8).toString("hex"),t(w.CREATE_WALLET_PROGRESS_ENCRYPT_RECOVERY),e.recoveryEncryptedSecret=v.AES.encrypt(e.secret,e.recoverySecret).toString(v.format.OpenSSL)}return e})}(e,r.notify.bind(r))}).then(function(e){return E(e,t.network,r.notify.bind(r))}).then(function(e){var n=a.crypto.hash160(e.primaryPrivateKey.getPublicKeyBuffer()),i=a.address.toBase58Check(n,t.network.pubKeyHash),s=e.keyIndex;return t.storeNewWalletV2(e.identifier,[e.primaryPublicKey.toBase58(),"M/"+s+"'"],[e.backupPublicKey.toBase58(),"M"],!!e.storeDataOnServer&&e.encryptedPrimarySeed,!!e.storeDataOnServer&&e.encryptedSecret,!!e.storeDataOnServer&&e.recoverySecret,i,s,e.support_secret||null,e.segwit||null).then(function(n){r.notify(w.CREATE_WALLET_PROGRESS_INIT);var c=o.mapValues(n.blocktrail_public_keys,function(e){return a.HDNode.fromBase58(e[0],t.network)}),h=new u(t,e.identifier,u.WALLET_VERSION_V2,null,e.storeDataOnServer?e.encryptedPrimarySeed:null,e.storeDataOnServer?e.encryptedSecret:null,{keyIndex:e.primaryPublicKey},e.backupPublicKey,c,s,n.segwit||0,t.testnet,i,n.upgrade_key_index,e.useCashAddress,e.bypassNewAddressCheck);return h.unlock({walletVersion:u.WALLET_VERSION_V2,passphrase:e.passphrase,primarySeed:e.primarySeed,secret:e.secret}).then(function(){return r.notify(w.CREATE_WALLET_PROGRESS_DONE),[h,{walletVersion:h.walletVersion,encryptedPrimarySeed:e.encryptedPrimarySeed?f.entropyToMnemonic(b.convert(e.encryptedPrimarySeed,"base64","hex")):null,backupSeed:e.backupSeed?f.entropyToMnemonic(e.backupSeed.toString("hex")):null,recoveryEncryptedSecret:e.recoveryEncryptedSecret?f.entropyToMnemonic(b.convert(e.recoveryEncryptedSecret,"base64","hex")):null,encryptedSecret:e.encryptedSecret?f.entropyToMnemonic(b.convert(e.encryptedSecret,"base64","hex")):null,blocktrailPublicKeys:c}]})})}).then(function(e){r.resolve(e)},function(e){r.reject(e)}),r.promise},w.prototype._createNewWalletV3=function(e){var t=this,r=s.defer();return e=o.merge({},e),_(e).then(function(e){if(e.passphrase=e.passphrase||e.password,delete e.password,e.primaryPrivateKey)throw new b.WalletInitError("Can't specify; Primary PrivateKey");return e.primarySeed=e.primarySeed||y(u.WALLET_ENTROPY_BITS/8),e}).then(function(e){return t.produceEncryptedDataV3(e,r.notify.bind(r))}).then(function(e){return E(e,t.network,r.notify.bind(r))}).then(function(e){var n=a.crypto.hash160(e.primaryPrivateKey.getPublicKeyBuffer()),i=a.address.toBase58Check(n,t.network.pubKeyHash),s=e.keyIndex;return t.storeNewWalletV3(e.identifier,[e.primaryPublicKey.toBase58(),"M/"+s+"'"],[e.backupPublicKey.toBase58(),"M"],!!e.storeDataOnServer&&e.encryptedPrimarySeed,!!e.storeDataOnServer&&e.encryptedSecret,!!e.storeDataOnServer&&e.recoverySecret,i,s,e.support_secret||null,e.segwit||null).then(function(n){r.notify(w.CREATE_WALLET_PROGRESS_INIT);var c=o.mapValues(n.blocktrail_public_keys,function(e){return a.HDNode.fromBase58(e[0],t.network)}),h=new u(t,e.identifier,u.WALLET_VERSION_V3,null,e.storeDataOnServer?e.encryptedPrimarySeed:null,e.storeDataOnServer?e.encryptedSecret:null,{keyIndex:e.primaryPublicKey},e.backupPublicKey,c,s,n.segwit||0,t.testnet,i,n.upgrade_key_index,e.useCashAddress,e.bypassNewAddressCheck);return h.unlock({walletVersion:u.WALLET_VERSION_V3,passphrase:e.passphrase,primarySeed:e.primarySeed,secret:e.secret}).then(function(){return r.notify(w.CREATE_WALLET_PROGRESS_DONE),[h,{walletVersion:h.walletVersion,encryptedPrimarySeed:e.encryptedPrimarySeed?p.encode(e.encryptedPrimarySeed):null,backupSeed:e.backupSeed?f.entropyToMnemonic(e.backupSeed):null,recoveryEncryptedSecret:e.recoveryEncryptedSecret?p.encode(e.recoveryEncryptedSecret):null,encryptedSecret:e.encryptedSecret?p.encode(e.encryptedSecret):null,blocktrailPublicKeys:c}]})})}).then(function(e){r.resolve(e)},function(e){r.reject(e)}),r.promise},w.prototype.storeNewWalletV1=function(e,t,r,n,o,s,a){var c={identifier:e,wallet_version:u.WALLET_VERSION_V1,primary_public_key:t,backup_public_key:r,primary_mnemonic:n,checksum:o,key_index:s,segwit:a};return i(c,this.network),this.client.post("/wallet",null,c)},w.prototype.storeNewWalletV2=function(e,t,r,n,o,s,a,c,f,h){var l={identifier:e,wallet_version:u.WALLET_VERSION_V2,primary_public_key:t,backup_public_key:r,encrypted_primary_seed:n,encrypted_secret:o,recovery_secret:s,checksum:a,key_index:c,support_secret:f||null,segwit:h};return i(l,this.network),this.client.post("/wallet",null,l)},w.prototype.storeNewWalletV3=function(e,t,r,n,o,s,a,c,f,h){var l={identifier:e,wallet_version:u.WALLET_VERSION_V3,primary_public_key:t,backup_public_key:r,encrypted_primary_seed:n.toString("base64"),encrypted_secret:o.toString("base64"),recovery_secret:s.toString("hex"),checksum:a,key_index:c,support_secret:f||null,segwit:h};return i(l,this.network),this.client.post("/wallet",null,l)},w.prototype.updateWallet=function(e,t,r){return this.client.post("/wallet/"+e,null,t,r)},w.prototype.upgradeKeyIndex=function(e,t,r,n){return this.client.post("/wallet/"+e+"/upgrade",null,{key_index:t,primary_public_key:r},n)},w.prototype.getWalletBalance=function(e,t){return this.client.get("/wallet/"+e+"/balance",null,!0,t)},w.prototype.doWalletDiscovery=function(e,t,r){return this.client.get("/wallet/"+e+"/discovery",{gap:t},!0,r)},w.prototype.getNewDerivation=function(e,t,r){return this.client.post("/wallet/"+e+"/path",null,{path:t},r)},w.prototype.deleteWallet=function(e,t,r,n,i){return"function"==typeof n&&(i=n,n=!1),this.client.delete("/wallet/"+e,{force:n},{checksum:t,signature:r},i)},w.prototype.coinSelection=function(e,t,r,n,i,o,a){"function"==typeof i?(a=i,i=null,o={}):"function"==typeof o&&(a=o,o={}),i=i||u.FEE_STRATEGY_OPTIMAL,o=o||{};var c=s.defer();c.promise.spreadNodeify(a);var f={lock:r,zeroconf:n?1:0,zeroconfself:void 0===o.allowZeroConfSelf||o.allowZeroConfSelf?1:0,fee_strategy:i};return o.forcefee&&(f.forcefee=o.forcefee),c.resolve(this.client.post("/wallet/"+e+"/coin-selection",f,t).then(function(e){return[e.utxos,e.fee,e.change,e]},function(e){if(e.message.match(/too low to pay the fee/))throw b.WalletFeeError(e);throw e})),c.promise},w.prototype.feePerKB=function(e){var t=s.defer();return t.promise.spreadNodeify(e),t.resolve(this.client.get("/fee-per-kb")),t.promise},w.prototype.sendTransaction=function(e,t,r,n,i,o,s){"function"==typeof i?(s=i,i=null,o=!1):"function"==typeof o&&(s=o,o=!1);var a={paths:r,two_factor_token:i};return"string"==typeof t?a.raw_transaction=t:"object"==typeof t&&Object.keys(t).map(function(e){a[e]=t[e]}),this.client.post("/wallet/"+e+"/send",{check_fee:n?1:0,prioboost:o?1:0},a,s)},w.prototype.setupWalletWebhook=function(e,t,r,n){return this.client.post("/wallet/"+e+"/webhook",null,{url:r,identifier:t},n)},w.prototype.deleteWalletWebhook=function(e,t,r){return this.client.delete("/wallet/"+e+"/webhook/"+t,null,null,r)},w.prototype.walletTransactions=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/wallet/"+e+"/transactions",t,!0,r)},w.prototype.walletAddresses=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/wallet/"+e+"/addresses",t,!0,r)},w.prototype.labelWalletAddress=function(e,t,r,n){return this.client.post("/wallet/"+e+"/address/"+t+"/label",null,{label:r},n)},w.prototype.walletMaxSpendable=function(e,t,r,n,i){"function"==typeof r?(i=r,r=null):"function"==typeof n&&(i=n,n={}),r=r||u.FEE_STRATEGY_OPTIMAL;var o={outputs:(n=n||{}).outputs?n.outputs:1,zeroconf:t?1:0,zeroconfself:void 0===n.allowZeroConfSelf||n.allowZeroConfSelf?1:0,fee_strategy:r};return n.forcefee&&(o.forcefee=n.forcefee),this.client.get("/wallet/"+e+"/max-spendable",o,!0,i)},w.prototype.walletUTXOs=function(e,t,r){return"function"==typeof t&&(r=t,t=null),this.client.get("/wallet/"+e+"/utxos",t,!0,r)},w.prototype.allWallets=function(e,t){return"function"==typeof e&&(t=e,e=null),this.client.get("/wallets",e,!0,t)},w.prototype.verifyMessage=function(e,t,r,n){var i=s.defer();i.promise.nodeify(n);try{var o=c.verify(t,this.network.messagePrefix,e,new Buffer(r,"base64"));i.resolve(o)}catch(e){i.reject(e)}return i.promise},w.prototype.faucetWithdrawl=function(e,t,r){return this.client.post("/faucet/withdrawl",null,{address:e,amount:t},r)},w.prototype.sendRawTransaction=function(e,t){return this.client.post("/send-raw-tx",null,e,t)},w.prototype.price=function(e){return this.client.get("/price",null,!1,e)},t.exports=w}).call(this,e("_process"),e("buffer").Buffer)},{"./blocktrail":2,"./encryption":3,"./encryption_mnemonic":4,"./keyderivation":5,"./rest_client":9,"./use-webworker":14,"./wallet":15,"./webworker":17,"./webworkifier":18,_process:265,bip39:28,"bitcoinjs-lib":43,"bitcoinjs-message":72,buffer:105,"crypto-js":187,lodash:251,q:295,randombytes:299}],2:[function(e,t,r){(function(Buffer){var r=e("util"),n=e("assert"),i=e("crypto-js"),o=e("bip39"),s={COIN:1e8,PRECISION:8,DUST:2730,BASE_FEE:1e4},a=function(e,t,r){return new Buffer(e,t).toString(r)},c=function(e,t){return function(e,t){var r=o.mnemonicToEntropy(e),n=a(r,"hex","base64"),c=i.AES.decrypt(n,t).toString(i.enc.Utf8);if(!c.length)throw new s.WalletDecryptError;return c}(e,t).toString(i.enc.Utf8)},f=function(e,t){return a(c(e,t),"base64","hex")},u=function(e,t){var r=i.AES.encrypt(e,t).toString(i.format.OpenSSL),n=a(r,"base64","hex");return o.entropyToMnemonic(n)};s.convert=a,s.aesDecryptMnemonicToSeed=c,s.aesDecryptMnemonicToSeedBuffer=function(e,t){return new Buffer(f(e,t),"hex")},s.aesDecryptMnemonicToSeedHex=f,s.aesEncryptSeedToMnemonic=u,s.aesEncryptSeedHexToMnemonic=function(e,t){return u(a(e,"hex","base64"),t)},s.aesEncryptSeedBufferToMnemonic=function(e,t){return u(e.toString("base64"),t)},s.V3Crypt={KeyDerivation:e("./keyderivation"),Encryption:e("./encryption"),EncryptionMnemonic:e("./encryption_mnemonic")},s.toSatoshi=function(e){return parseInt((e*s.COIN).toFixed(0),10)},s.toBTC=function(e){return(e/s.COIN).toFixed(s.PRECISION)},s.patchQ=function(e){e.spreadNodeify&&e.spreadDone||(e.spreadDone=function(t,r,n){return e(t).spreadDone(r,n)},e.makePromise.prototype.spreadDone=function(e,t){return this.all().done(function(t){return e.apply(void 0,t)},t)},e.spreadNodeify=function(t,r){return e(t).spreadNodeify(r)},e.makePromise.prototype.spreadNodeify=function(t){if(!t)return this;this.then(function(r){e.nextTick(function(){t.apply(void 0,[null].concat(r))})},function(r){e.nextTick(function(){t(r)})})})},Error.extend=function(e,t){n(e,"subTypeName is required");var i=function(r){if(!(this instanceof i))return new i(r);this.name=e,this.code=t,this.message=r?r.message||r||"":"",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return r.inherits(i,this),i.prototype.toString=function(){return this.name+": "+r.inspect(this.message)},i.extend=this.extend,i},"function"!=typeof Uint8Array.prototype.reverse&&(Buffer.prototype.reverse=function(){for(var e,t=0,r=this.length-1;t<=r;++t,--r)e=this[t],this[t]=this[r],this[r]=e;return this}),s.WalletInitError=Error.extend("WalletInitError",400),s.WalletCreateError=Error.extend("WalletCreateError",400),s.WalletUpgradeError=Error.extend("WalletUpgradeError",400),s.WalletChecksumError=Error.extend("WalletChecksumError",400),s.WalletDeleteError=Error.extend("WalletDeleteError",400),s.WalletDecryptError=Error.extend("WalletDecryptError",400),s.WalletAddressError=Error.extend("WalletAddressError",500),s.WalletSendError=Error.extend("WalletSendError",400),s.WalletLockedError=Error.extend("WalletLockedError",500),s.WalletFeeError=Error.extend("WalletFeeError",500),s.WalletInvalid2FAError=Error.extend("WalletInvalid2FAError",401),s.WalletMissing2FAError=Error.extend("WalletMissing2FAError",401),s.TransactionSignError=Error.extend("TransactionSignError",500),s.TransactionInputError=Error.extend("TransactionInputError",400),s.TransactionOutputError=Error.extend("TransactionOutputError",400),s.KeyPathError=Error.extend("KeyPathError",400),s.InvalidAddressError=Error.extend("InvalidAddressError",400),s.Error=Error.extend("Error",500),s.FEE_STRATEGY_FORCE_FEE="force_fee",s.FEE_STRATEGY_BASE_FEE="base_fee",s.FEE_STRATEGY_HIGH_PRIORITY="high_priority",s.FEE_STRATEGY_OPTIMAL="optimal",s.FEE_STRATEGY_LOW_PRIORITY="low_priority",s.FEE_STRATEGY_MIN_RELAY_FEE="min_relay_fee",s.patchQ(e("q")),t.exports=s}).call(this,e("buffer").Buffer)},{"./encryption":3,"./encryption_mnemonic":4,"./keyderivation":5,assert:20,bip39:28,buffer:105,"crypto-js":187,q:295,util:362}],3:[function(e,t,r){(function(Buffer){var r=e("assert"),n=e("sjcl"),i=e("./keyderivation"),o=e("randombytes"),s={defaultSaltLen:10,tagLenBits:128,ivLenBits:128,ivLenWords:4};s.generateSalt=function(){return o(this.defaultSaltLen)},s.generateIV=function(){return o(this.ivLenBits/8)},s.encrypt=function(e,t,r){var n=this.generateSalt(),o=this.generateIV();return r=void 0===r?i.defaultIterations:r,this.encryptWithSaltAndIV(e,t,n,o,r)},s.encryptWithSaltAndIV=function(e,t,o,s,a){r(e instanceof Buffer,"pt must be provided as a buffer"),r(t instanceof Buffer,"pw must be provided as a buffer"),r(s instanceof Buffer,"IV must be provided as a buffer"),r(o instanceof Buffer,"saltBuff must be provided as a buffer"),r(16===s.length,"IV must be exactly 16 bytes");var c=new Buffer(1),f=o,u=new Buffer(4);c.writeUInt8(o.length),u.writeUInt32LE(a);var h=c.toString("hex")+f.toString("hex")+u.toString("hex"),l=n.codec.hex.toBits(i.compute(t,o,a).toString("hex")),d=n.mode.gcm.encrypt(new n.cipher.aes(l),n.codec.hex.toBits(e.toString("hex")),n.codec.hex.toBits(s.toString("hex")),n.codec.hex.toBits(h),this.tagLenBits);return new Buffer([h,s.toString("hex"),n.codec.hex.fromBits(d)].join(""),"hex")},s.decrypt=function(e,t){r(e instanceof Buffer,"cipherText must be provided as a Buffer"),r(t instanceof Buffer,"password must be provided as a Buffer");var o=new Buffer(e,"hex"),s=0,a=o.readUInt8(s);s+=1;var c=o.slice(1,s+a);s+=a;var f=o.readUInt32LE(s);s+=4;var u=o.slice(0,s),h=o.slice(s,16+s);s+=16;var l=o.slice(s),d=i.compute(t,c,f),p=n.mode.gcm.decrypt(new n.cipher.aes(n.codec.hex.toBits(d.toString("hex"))),n.codec.hex.toBits(l.toString("hex")),n.codec.hex.toBits(h.toString("hex")),n.codec.hex.toBits(u.toString("hex")),this.tagLenBits);return new Buffer(n.codec.hex.fromBits(p),"hex")},t.exports=s}).call(this,e("buffer").Buffer)},{"./keyderivation":5,assert:20,buffer:105,randombytes:299,sjcl:345}],4:[function(e,t,r){(function(Buffer){var r=e("assert"),n=e("bip39");String.prototype.repeat||(String.prototype.repeat=function(e){"use strict";if(null===this)throw new TypeError("can't convert "+this+" to object");var t=""+this;if((e=+e)!=e&&(e=0),e<0)throw new RangeError("repeat count must be non-negative");if(e===1/0)throw new RangeError("repeat count must be less than infinity");if(e=Math.floor(e),0===t.length||0===e)return"";if(t.length*e>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");for(var r="";1==(1&e)&&(r+=t),0!==(e>>>=1);)t+=t;return r});var i={chunkSize:4,paddingDummy:129},o=function(e){if(e[0]>128)throw new Error("Mnemonic sanity check - first byte can never be above 0x80");return i.paddingDummy.toString(16).repeat(i.chunkSize-e.length%i.chunkSize)};i.encode=function(e){r(e instanceof Buffer,"Data must be provided as a Buffer");var t=o(e),i=n.entropyToMnemonic(t+e.toString("hex"));try{n.mnemonicToEntropy(i)}catch(e){throw new Error("BIP39 library produced an invalid mnemonic")}return i},i.decode=function(e){r("string"==typeof e,"Mnemonic must be provided as a string");for(var t=new Buffer(n.mnemonicToEntropy(e),"hex"),i=0;t[i]===this.paddingDummy;)i++;var s=t.slice(i,t.length);if(o(s)!==t.slice(0,i).toString("hex"))throw new Error("There is only one way to pad a string");return s},t.exports=i}).call(this,e("buffer").Buffer)},{assert:20,bip39:28,buffer:105}],5:[function(e,t,r){(function(Buffer){var r=e("assert"),n=e("./pbkdf2_sha512"),i={defaultIterations:35e3,subkeyIterations:1,keySizeBits:256};i.compute=function(e,t,i){if(i=i||this.defaultIterations,r(e instanceof Buffer,"Password must be provided as a Buffer"),r(t instanceof Buffer,"Salt must be provided as a Buffer"),r(t.length>0,"Salt must not be empty"),r("number"==typeof i,"Iterations must be a number"),r(i>0,"Iteration count should be at least 1"),t.length>128)throw new Error("Sanity check: Invalid salt, length can never be greater than 128");return n.digest(e,t,i,this.keySizeBits/8)},t.exports=i}).call(this,e("buffer").Buffer)},{"./pbkdf2_sha512":6,assert:20,buffer:105}],6:[function(e,t,r){(function(Buffer){t.exports={digest:function(e,t,r,n){var i="undefined"!=typeof window?window.asmCrypto:self.asmCrypto;return new Buffer(new i.PBKDF2_HMAC_SHA512.bytes(e,t,r,n).buffer)}}}).call(this,e("buffer").Buffer)},{buffer:105}],7:[function(e,t,r){t.exports={VERSION:"3.6.8"}},{}],8:[function(e,t,r){(function(r){function n(e){this.https=e.https,this.host=e.host,this.endpoint=e.endpoint,this.auth=e.auth,this.port=e.port,this.apiKey=e.apiKey,this.apiSecret=e.apiSecret,this.contentMd5=void 0===e.contentMd5||e.contentMd5,this.params=o.defaults({},e.params),this.headers=o.defaults({},e.headers)}var i=e("./blocktrail"),o=e("lodash"),s=e("url"),a=e("querystring"),c=e("q"),f=e("create-hash"),u=e("superagent"),h=e("superagent-http-signature/index-hmac-only"),l=e("debug")("blocktrail-sdk:request"),d=!r.browser;n.qs=function(e){var t=[],r=Object.keys(e);return r.sort(),r.forEach(function(r){var n={};n[r]=e[r],t.push(a.stringify(n))}),t.join("&")},n.prototype.request=function(e,t,r,i,a){this.deferred=c.defer(),this.callback=a||function(){};var u=s.parse(t,!0),h=n.qs(o.defaults({},r||{},u.query||{},this.params||{}));this.path="".concat(this.endpoint,u.pathname),h&&(this.path=this.path.concat("?",h)),i?(this.payload=JSON.stringify(i),this.headers["Content-Type"]="application/json"):this.payload="",d&&(this.headers["Content-Length"]=this.payload?this.payload.length:0),!0===this.contentMd5&&(this.headers["Content-MD5"]="GET"===e||"DELETE"===e?f("md5").update(this.path).digest().toString("hex"):f("md5").update(this.payload).digest().toString("hex")),l("%s %s %s",e,this.host,this.path);var p={hostname:this.host,path:this.path,port:this.port,method:e,headers:this.headers,auth:this.auth,agent:!1,withCredentials:!1};return this.performRequest(p),this.deferred.promise},n.prototype.performRequest=function(e){var t=this,r=e.method,i=!1;"http-signature"===e.auth&&(i=!0,delete e.auth);var s=(t.https?"https://":"http://")+e.hostname+e.path,a=u(r,s);if(!t.payload||"DELETE"!==r&&"POST"!==r&&"PUT"!==r&&"PATCH"!==r||a.send(t.payload),o.forEach(e.headers,function(e,t){a.set(t,e)}),i){if(!t.apiSecret){var c=new Error("Missing apiSecret! required to sign POST requests!");return t.deferred.reject(c),t.callback(c)}a.use(h({headers:["(request-target)","content-md5"],algorithm:"hmac-sha256",key:t.apiSecret,keyId:t.apiKey}))}return a.end(function(e,r){var i;if(e)return t.deferred.reject(e),t.callback(e);if(l("response status code: %s content type: %s",r.status,r.headers["content-type"]),!e&&r.headers["content-type"].indexOf("application/json")>=0)try{i=JSON.parse(r.text)}catch(t){e=t}return e||200===r.status||(e=n.handleFailure(r.text,r.statusCode)),e?t.deferred.reject(e):t.deferred.resolve(i),t.callback(e,i)}),t.deferred},n.handleFailure=function(e,t){var r,i;if("object"==typeof e)r=e;else try{r=JSON.parse(e)}catch(e){}return r?(i=new Error(r.msg?r.msg:null),Object.keys(r).forEach(function(e){"msg"!==e&&(i[e]=r[e])})):i=e?new Error(e):new Error("Unknown Server Error"),t&&(i.statusCode=t),n.convertError(i)},n.convertError=function(e){return e.requires_2fa?new i.WalletMissing2FAError:e.message.match(/Invalid two_factor_token/)?new i.WalletInvalid2FAError:e},t.exports=n}).call(this,e("_process"))},{"./blocktrail":2,_process:265,"create-hash":130,debug:213,lodash:251,q:295,querystring:298,superagent:351,"superagent-http-signature/index-hmac-only":348,url:357}],9:[function(e,t,r){var n=e("lodash"),i=e("./request"),o=function(t){this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.https=t.https,this.host=t.host,this.port=t.port,this.endpoint=t.endpoint,this.defaultParams={},this.apiKey&&(this.defaultParams.api_key=this.apiKey),this.defaultHeaders=n.defaults({},{"X-SDK-Version":"blocktrail-sdk-nodejs/"+e("./pkginfo").VERSION},t.defaultHeaders)};o.prototype.create_request=function(e){return e=n.defaults({},e,{https:this.https,host:this.host,port:this.port,endpoint:this.endpoint,apiKey:this.apiKey,apiSecret:this.apiSecret,params:n.defaults({},this.defaultParams),headers:n.defaults({},this.defaultHeaders)}),new i(e)},o.prototype.post=function(e,t,r,n,i){var o={};return(i=void 0===i||i)&&(o.auth="http-signature"),this.create_request(o).request("POST",e,t,r,n)},o.prototype.put=function(e,t,r,n,i){var o={};return(i=void 0===i||i)&&(o.auth="http-signature"),this.create_request(o).request("PUT",e,t,r,n)},o.prototype.get=function(e,t,r,n){"function"==typeof r&&(n=r,r=!1);var i={};return r&&(i.auth="http-signature"),this.create_request(i).request("GET",e,t,null,n)},o.prototype.delete=function(e,t,r,n,i){var o={};return(i=void 0===i||i)&&(o.auth="http-signature"),this.create_request(o).request("DELETE",e,t,r,n)},t.exports=function(e){return new o(e)}},{"./pkginfo":7,"./request":8,lodash:251}],10:[function(e,t,r){var n=e("../api_client"),i=e("lodash"),o=e("q"),s=e("async"),a=function(e){this.defaultSettings={apiKey:null,apiSecret:null,network:"BTC",testnet:!1,apiVersion:"v1",apiEndpoint:null,retryLimit:5,retryDelay:20,paginationLimit:200},this.settings=i.merge({},this.defaultSettings,e);var t=this.normaliseNetwork(this.settings.network,this.settings.testnet);this.settings.network=t.network,this.settings.testnet=t.testnet,this.client=new n(this.settings)};a.prototype.normaliseNetwork=function(e,t){switch(e.toLowerCase()){case"btc":case"bitcoin":return t?{network:"BTC",testnet:!0}:{network:"BTC",testnet:!1};case"tbtc":case"bitcoin-testnet":return{network:"BTC",testnet:!0};case"bcc":return t?{network:"BCC",testnet:!0}:{network:"BCC",testnet:!1};case"tbcc":return{network:"BCC",testnet:!0};default:throw new Error("Unknown network "+e)}},a.prototype.setPaginationLimit=function(e){this.settings.paginationLimit=e},a.prototype.estimateFee=function(){return this.client.feePerKB().then(function(e){return Math.max(e.optimal,e.min_relay_fee)})},a.prototype.getBatchUnspentOutputs=function(e){var t=this,r=o.defer(),n=1,i=[];return s.doWhilst(function(r){var o={page:n,limit:t.settings.paginationLimit};t.client.batchAddressUnspentOutputs(e,o).then(function(e){i=i.concat(e.data),n++,r()},function(e){console.log("error happened:",e),r(e)})},function(){return null},function(e){e&&console.log("complete, but with errors",e.message);var t={};i.forEach(function(e){var r=e.address;void 0===t[r]&&(t[r]=[]),t[r].push({hash:e.hash,index:e.index,value:e.value,script_hex:e.script_hex})}),r.resolve(t)}),r.promise},a.prototype.batchAddressHasTransactions=function(e){return this.client.batchAddressHasTransactions(e).then(function(e){return e.has_transactions})},t.exports=a},{"../api_client":1,async:21,lodash:251,q:295}],11:[function(e,t,r){var n=e("../blocktrail"),i=e("superagent"),o=e("lodash"),s=e("q"),a="https://insight.bitpay.com/api",c="https://test-insight.bitpay.com/api",f=function(e){this.defaultSettings={host:a,testnet:!1,retryLimit:5,retryDelay:20},void 0===e.host&&e.testnet&&(this.defaultSettings.host=c),this.settings=o.merge({},this.defaultSettings,e),this.DEFAULT_ENDPOINT_MAINNET=a,this.DEFAULT_ENDPOINT_TESTNET=c};f.prototype.getBatchUnspentOutputs=function(e){var t=s.defer(),r={addrs:e.join(",")};return this.postEndpoint("addrs/utxo",r).then(function(e){var r={};e.forEach(function(e){var t=e.address;void 0===r[t]&&(r[t]=[]),r[t].push({hash:e.txid,index:e.vout,value:n.toSatoshi(e.amount),script_hex:e.scriptPubKey})}),t.resolve(r)},function(e){t.reject(e)}),t.promise},f.prototype.batchAddressHasTransactions=function(e){var t={addrs:e.join(",")};return this.postEndpoint("addrs/txs",t).then(function(e){return e.items.length>0})},f.prototype.estimateFee=function(){return this.getEndpoint("utils/estimatefee?nbBlocks=4").then(function(e){return-1===e[4]?1e5:parseInt(1e8*e[4],10)})},f.prototype.sendTx=function(e){return this.postEndpoint("tx/send",{rawtx:e})},f.prototype.getEndpoint=function(e){return this.getRequest(this.settings.host+"/"+e)},f.prototype.postEndpoint=function(e,t){return this.postRequest(this.settings.host+"/"+e,t)},f.prototype.getRequest=function(e){var t=s.defer();return i.get(e).end(function(e,r){if(e)t.reject(e);else{if(!r.ok)return t.reject(r.text);if(!(r.headers["content-type"].indexOf("application/json")>=0))return t.resolve(r.body);try{var n=JSON.parse(r.text);return t.resolve(n)}catch(r){return t.reject(e)}}}),t.promise},f.prototype.postRequest=function(e,t){var r=s.defer();return i.post(e).send(t).set("Content-Type","application/json").end(function(e,t){if(e)r.reject(e);else{if(!t.ok)return r.reject(t.text);if(!(t.headers["content-type"].indexOf("application/json")>=0))return r.resolve(t.body);try{var n=JSON.parse(t.text);return r.resolve(n)}catch(t){return r.reject(e)}}}),r.promise},t.exports=f},{"../blocktrail":2,lodash:251,q:295,superagent:351}],12:[function(e,t,r){(function(Buffer){var r=e("assert"),n=e("bitcoinjs-lib"),i={SIZE_DER_SIGNATURE:72,SIZE_V0_P2WSH:36};i.getPublicKeySize=function(e){return e?33:65},i.getLengthForScriptPush=function(e){if(e<75)return 1;if(e<=255)return 2;if(e<=65535)return 3;if(e<=4294967295)return 5;throw new Error("Size of pushdata too large")},i.getLengthForVarInt=function(e){if(e<253)return 1;var t;if(e<65535)t=2;else if(e<4294967295)t=4;else{if(!(e<0x10000000000000000))throw new Error("Size of varint too large");t=8}return 1+t},i.estimateMultisigStackSize=function(e,t){var r,n=[0];for(r=0;r<e;r++)n.push(i.SIZE_DER_SIGNATURE);var o=1;for(r=0;r<t.length;r++)o+=this.getLengthForScriptPush(t[r].length)+t[r].length;return o+=2,[n,o]},i.estimateP2PKStackSize=function(e){return[[i.SIZE_DER_SIGNATURE],this.getLengthForScriptPush(e.length)+e.length+1]},i.estimateP2PKHStackSize=function(e){void 0===e&&(e=!0);return[[this.SIZE_DER_SIGNATURE,this.getPublicKeySize(e)],2+this.getLengthForScriptPush(20)+20+2]},i.estimateStackSignatureSize=function(e,t,n,i){r(null===i||t);var o=[],s=[];t?(s=e,i instanceof Buffer&&s.push(i.length)):o=e,n instanceof Buffer&&o.push(n.length);var a=this,c=0;o.map(function(e){c+=a.getLengthForScriptPush(e)+e}),c+=a.getLengthForVarInt(c);var f=0;return s.length>0&&(s.map(function(e){f+=a.getLengthForVarInt(e)+e}),f+=a.getLengthForVarInt(s.length)),[c,f]},i.estimateInputFromScripts=function(e,t,i,o,s){r(null===i||o);var a;if(n.script.multisig.output.check(e)){var c=n.script.multisig.output.decode(e);a=this.estimateMultisigStackSize(c.m,c.pubKeys)[0]}else if(n.script.pubKey.output.check(e)){var f=n.script.pubKey.output.decode(e);a=this.estimateP2PKStackSize(f)[0]}else{if(!n.script.pubKeyHash.output.check(e))throw new Error("Unsupported script type");a=this.estimateP2PKHStackSize(s)[0]}return this.estimateStackSignatureSize(a,o,t,i)},i.estimateUtxo=function(e,t){var r=Buffer.from(e.scriptpubkey_hex,"hex"),i="string"==typeof e.redeem_script?Buffer.from(e.redeem_script,"hex"):null,o="string"==typeof e.witness_script?Buffer.from(e.witness_script,"hex"):null,s=!1,a=r;if(n.script.scriptHash.output.check(a)){if(null===i)throw new Error("Cant estimate, missing redeem script");a=i}if(n.script.witnessPubKeyHash.output.check(a)){var c=n.script.witnessPubKeyHash.output.decode(a);a=n.script.pubKeyHash.output.encode(c),s=!0}else if(n.script.witnessScriptHash.output.check(a)){if(null===o)throw new Error("Can't estimate, missing witness script");a=o,s=!0}var f=n.script.types,u=[f.MULTISIG,f.P2PKH,f.P2PK],h=n.script.classifyOutput(a);if(-1===u.indexOf(h))throw new Error("Unsupported script type");var l=this.estimateInputFromScripts(a,i,o,s,t);return{scriptSig:l[0],witness:l[1]}},i.estimateInputsSize=function(e,t){var r=0,n=0;return e.map(function(e){var o=i.estimateUtxo(e);r+=40+o.scriptSig,t&&(n+=o.witness)}),t&&n>0&&(r+=2+n),r},i.calculateOutputsSize=function(e){var t=0;return e.map(function(e){var r=i.getLengthForVarInt(e.script.length);t+=8+r+e.script.length}),t},i.estimateTxWeight=function(e,t){var r=i.calculateOutputsSize(e.outs);return 3*(4+i.getLengthForVarInt(t.length)+this.estimateInputsSize(t,!1)+i.getLengthForVarInt(e.outs.length)+r+4)+(4+i.getLengthForVarInt(t.length)+this.estimateInputsSize(t,!0)+i.getLengthForVarInt(e.outs.length)+r+4)},i.estimateTxVsize=function(e,t){return parseInt(Math.ceil(i.estimateTxWeight(e,t)/4),10)},t.exports=i}).call(this,e("buffer").Buffer)},{assert:20,"bitcoinjs-lib":43,buffer:105}],13:[function(e,t,r){var n=e("lodash"),i=e("q"),o=e("async"),s=function(e,t){this.defaultSettings={logging:!1,batchChunkSize:200},this.settings=n.merge({},this.defaultSettings,t),this.client=e};s.prototype.getUTXOs=function(e){var t=this,r={},s=i.defer();return o.eachSeries(n.chunk(e,t.settings.batchChunkSize),function(e,i){t.settings.logging&&console.log("checking batch of "+e.length+" addresses for UTXOs",e.join(",")),t.client.getBatchUnspentOutputs(e).done(function(e){n.each(e,function(e,t){e.length>0&&(r[t]=e)}),i()},function(e){i(e)})},function(e){e&&console.log("error encountered",e),s.resolve(r)}),s.promise},t.exports=s},{async:21,lodash:251,q:295}],14:[function(e,t,r){(function(e){var n=!!e.browser&&"undefined"!=typeof window&&void 0!==window.Worker,i=("undefined"!=typeof navigator&&navigator.userAgent||"").match(/Android (\d)\.(\d)(\.(\d))/);i&&i[1]<=4&&(n=!1),t.exports=r=function(){return n}}).call(this,e("_process"))},{_process:265}],15:[function(e,t,r){(function(Buffer){function r(e,t){var r,n;try{r=f.address.fromBech32(e,t),n=null}catch(e){n=e}if(!n&&r.prefix!==t.bech32)throw new h.InvalidAddressError("Address invalid on this network");return[n,r]}function n(e,t){var r,n;try{r=f.address.fromCashAddress(e),n=null}catch(e){n=e}if(!n&&r.prefix!==t.cashAddrPrefix)throw new Error(e+" has an invalid prefix");return[n,r]}function i(e,t){var r,n;try{r=f.address.fromBase58Check(e),n=null}catch(e){n=e}if(!n&&r.version!==t.pubKeyHash&&r.version!==t.scriptHash)throw new h.InvalidAddressError("Address invalid on this network");return[n,r]}var o=e("lodash"),s=e("assert"),a=e("q"),c=e("async"),f=e("bitcoinjs-lib"),u=e("bitcoinjs-message"),h=e("./blocktrail"),l=e("crypto-js"),d=e("./encryption"),p=e("./encryption_mnemonic"),b=e("./size_estimation"),y=e("bip39"),v="sign",m=function(e,t,r,n,i,a,c,u,h,l,d,p,b,y,v,g){this.sdk=e,this.identifier=t,this.walletVersion=r,this.locked=!0,this.bypassNewAddressCheck=!!g,this.bitcoinCash=this.sdk.bitcoinCash,this.segwit=!!d,this.useNewCashAddr=!!v,s(!this.segwit||!this.bitcoinCash),this.testnet=p,this.bitcoinCash?this.testnet?this.network=f.networks.bitcoincashtestnet:this.network=f.networks.bitcoincash:this.testnet?this.network=f.networks.testnet:this.network=f.networks.bitcoin,s(u instanceof f.HDNode),s(o.every(c,function(e){return e instanceof f.HDNode})),s(o.every(h,function(e){return e instanceof f.HDNode})),this.primaryMnemonic=n,this.encryptedPrimarySeed=i,this.encryptedSecret=a,this.primaryPrivateKey=null,this.backupPrivateKey=null,this.backupPublicKey=u,this.blocktrailPublicKeys=h,this.primaryPublicKeys=c,this.keyIndex=l,this.bitcoinCash?(this.chain=m.CHAIN_BCC_DEFAULT,this.changeChain=m.CHAIN_BCC_DEFAULT):this.segwit?(this.chain=m.CHAIN_BTC_DEFAULT,this.changeChain=m.CHAIN_BTC_SEGWIT):(this.chain=m.CHAIN_BTC_DEFAULT,this.changeChain=m.CHAIN_BTC_DEFAULT),this.checksum=b,this.upgradeToKeyIndex=y,this.secret=null,this.seedHex=null};m.WALLET_VERSION_V1="v1",m.WALLET_VERSION_V2="v2",m.WALLET_VERSION_V3="v3",m.WALLET_ENTROPY_BITS=256,m.OP_RETURN="opreturn",m.DATA=m.OP_RETURN,m.PAY_PROGRESS_START=0,m.PAY_PROGRESS_COIN_SELECTION=10,m.PAY_PROGRESS_CHANGE_ADDRESS=20,m.PAY_PROGRESS_SIGN=30,m.PAY_PROGRESS_SEND=40,m.PAY_PROGRESS_DONE=100,m.CHAIN_BTC_DEFAULT=0,m.CHAIN_BTC_SEGWIT=2,m.CHAIN_BCC_DEFAULT=1,m.FEE_STRATEGY_FORCE_FEE=h.FEE_STRATEGY_FORCE_FEE,m.FEE_STRATEGY_BASE_FEE=h.FEE_STRATEGY_BASE_FEE,m.FEE_STRATEGY_HIGH_PRIORITY=h.FEE_STRATEGY_HIGH_PRIORITY,m.FEE_STRATEGY_OPTIMAL=h.FEE_STRATEGY_OPTIMAL,m.FEE_STRATEGY_LOW_PRIORITY=h.FEE_STRATEGY_LOW_PRIORITY,m.FEE_STRATEGY_MIN_RELAY_FEE=h.FEE_STRATEGY_MIN_RELAY_FEE,m.prototype.isSegwit=function(){return!!this.segwit},m.prototype.unlock=function(e,t){var r=this,n=a.defer();return n.promise.nodeify(t),e=o.merge({},e),a.fcall(function(){switch(r.walletVersion){case m.WALLET_VERSION_V1:return r.unlockV1(e);case m.WALLET_VERSION_V2:return r.unlockV2(e);case m.WALLET_VERSION_V3:return r.unlockV3(e);default:return a.reject(new h.WalletInitError("Invalid wallet version"))}}).then(function(e){r.primaryPrivateKey=e;var t=r.primaryPrivateKey.getAddress();if(t!==r.checksum)throw new h.WalletChecksumError("Generated checksum ["+t+"] does not match ["+r.checksum+"], most likely due to incorrect password");if(r.locked=!1,void 0!==r.upgradeToKeyIndex&&null!==r.upgradeToKeyIndex)return r.upgradeKeyIndex(r.upgradeToKeyIndex)}).then(function(e){n.resolve(e)},function(e){n.reject(e)}),n.promise},m.prototype.unlockV1=function(e){var t=this;return e.primaryMnemonic=void 0!==e.primaryMnemonic?e.primaryMnemonic:t.primaryMnemonic,e.secretMnemonic=void 0!==e.secretMnemonic?e.secretMnemonic:t.secretMnemonic,t.sdk.resolvePrimaryPrivateKeyFromOptions(e).then(function(e){return t.primarySeed=e.primarySeed,e.primaryPrivateKey})},m.prototype.unlockV2=function(e,t){var r=this,n=a.defer();return n.promise.nodeify(t),n.resolve(a.fcall(function(){if(e.encryptedPrimarySeed=void 0!==e.encryptedPrimarySeed?e.encryptedPrimarySeed:r.encryptedPrimarySeed,e.encryptedSecret=void 0!==e.encryptedSecret?e.encryptedSecret:r.encryptedSecret,e.secret&&(r.secret=e.secret),e.primaryPrivateKey)throw new h.WalletDecryptError("specifying primaryPrivateKey has been deprecated");if(e.primarySeed)r.primarySeed=e.primarySeed;else if(e.secret)try{if(r.primarySeed=new Buffer(l.AES.decrypt(l.format.OpenSSL.parse(e.encryptedPrimarySeed),r.secret).toString(l.enc.Utf8),"base64"),!r.primarySeed.length)throw new Error}catch(e){throw new h.WalletDecryptError("Failed to decrypt primarySeed")}else{if(e.passphrase&&e.password)throw new h.WalletCreateError("Can't specify passphrase and password");e.passphrase=e.passphrase||e.password;try{if(r.secret=l.AES.decrypt(l.format.OpenSSL.parse(e.encryptedSecret),e.passphrase).toString(l.enc.Utf8),!r.secret.length)throw new Error}catch(e){throw new h.WalletDecryptError("Failed to decrypt secret")}try{if(r.primarySeed=new Buffer(l.AES.decrypt(l.format.OpenSSL.parse(e.encryptedPrimarySeed),r.secret).toString(l.enc.Utf8),"base64"),!r.primarySeed.length)throw new Error}catch(e){throw new h.WalletDecryptError("Failed to decrypt primarySeed")}}return f.HDNode.fromSeedBuffer(r.primarySeed,r.network)})),n.promise},m.prototype.unlockV3=function(e,t){var r=this,n=a.defer();return n.promise.nodeify(t),n.resolve(a.fcall(function(){return a.when().then(function(){if(e.encryptedPrimarySeed=void 0!==e.encryptedPrimarySeed?e.encryptedPrimarySeed:r.encryptedPrimarySeed,e.encryptedSecret=void 0!==e.encryptedSecret?e.encryptedSecret:r.encryptedSecret,e.secret&&(r.secret=e.secret),e.primaryPrivateKey)throw new h.WalletInitError("specifying primaryPrivateKey has been deprecated");if(!e.primarySeed){if(e.secret)return r.sdk.promisedDecrypt(new Buffer(e.encryptedPrimarySeed,"base64"),r.secret).then(function(e){r.primarySeed=e},function(){throw new h.WalletDecryptError("Failed to decrypt primarySeed")});if(e.passphrase&&e.password)throw new h.WalletCreateError("Can't specify passphrase and password");return e.passphrase=e.passphrase||e.password,delete e.password,r.sdk.promisedDecrypt(new Buffer(e.encryptedSecret,"base64"),new Buffer(e.passphrase)).then(function(e){r.secret=e},function(){throw new h.WalletDecryptError("Failed to decrypt secret")}).then(function(){return r.sdk.promisedDecrypt(new Buffer(e.encryptedPrimarySeed,"base64"),r.secret).then(function(e){r.primarySeed=e},function(){throw new h.WalletDecryptError("Failed to decrypt primarySeed")})})}r.primarySeed=e.primarySeed}).then(function(){return f.HDNode.fromSeedBuffer(r.primarySeed,r.network)})})),n.promise},m.prototype.lock=function(){this.secret=null,this.primarySeed=null,this.primaryPrivateKey=null,this.backupPrivateKey=null,this.locked=!0},m.prototype.upgradeToV3=function(e,t){var r=this,n=a.defer();return n.promise.nodeify(t),a.when(!0).then(function(){if(r.locked)throw new h.WalletLockedError("Wallet needs to be unlocked to upgrade");if(r.walletVersion===m.WALLET_VERSION_V3)throw new h.WalletUpgradeError("Wallet is already V3");return r.walletVersion===m.WALLET_VERSION_V2?r._upgradeV2ToV3(e,n.notify.bind(n)):r.walletVersion===m.WALLET_VERSION_V1?r._upgradeV1ToV3(e,n.notify.bind(n)):void 0}).then(function(e){n.resolve(e)},function(e){n.reject(e)}),n.promise},m.prototype._upgradeV2ToV3=function(e,t){var r=this;return a.when(!0).then(function(){var n={storeDataOnServer:!0,passphrase:e,primarySeed:r.primarySeed,recoverySecret:!1};return r.sdk.produceEncryptedDataV3(n,t||function(){}).then(function(e){return r.sdk.updateWallet(r.identifier,{encrypted_primary_seed:e.encryptedPrimarySeed.toString("base64"),encrypted_secret:e.encryptedSecret.toString("base64"),wallet_version:m.WALLET_VERSION_V3}).then(function(){return r.secret=e.secret,r.encryptedPrimarySeed=e.encryptedPrimarySeed,r.encryptedSecret=e.encryptedSecret,r.walletVersion=m.WALLET_VERSION_V3,r})})})},m.prototype._upgradeV1ToV3=function(e,t){var r=this;return a.when(!0).then(function(){var n={storeDataOnServer:!0,passphrase:e,primarySeed:r.primarySeed};return r.sdk.produceEncryptedDataV3(n,t||function(){}).then(function(e){return r.recoveryEncryptedSecret=e.recoveryEncryptedSecret,r.sdk.updateWallet(r.identifier,{primary_mnemonic:"",encrypted_primary_seed:e.encryptedPrimarySeed.toString("base64"),encrypted_secret:e.encryptedSecret.toString("base64"),recovery_secret:e.recoverySecret.toString("hex"),wallet_version:m.WALLET_VERSION_V3}).then(function(){return r.secret=e.secret,r.encryptedPrimarySeed=e.encryptedPrimarySeed,r.encryptedSecret=e.encryptedSecret,r.walletVersion=m.WALLET_VERSION_V3,r})})})},m.prototype.doPasswordChange=function(e){var t=this;return a.when(null).then(function(){if(t.walletVersion===m.WALLET_VERSION_V1)throw new h.WalletLockedError("Wallet version does not support password change!");if(t.locked)throw new h.WalletLockedError("Wallet needs to be unlocked to change password");if(!t.secret)throw new h.WalletLockedError("No secret");var r,n;if(t.walletVersion===m.WALLET_VERSION_V2)r=l.AES.encrypt(t.secret,e).toString(l.format.OpenSSL),n=y.entropyToMnemonic(h.convert(r,"base64","hex"));else{if("string"==typeof e)e=new Buffer(e);else if(!(e instanceof Buffer))throw new Error("New password must be provided as a string or a Buffer");r=d.encrypt(t.secret,e),n=p.encode(r),r=r.toString("base64")}return[r,n]})},m.prototype.passwordChange=function(e,t){var r=this,n=a.defer();return n.promise.nodeify(t),a.fcall(function(){return r.doPasswordChange(e).then(function(e){var t=e[0],n=e[1];return r.sdk.updateWallet(r.identifier,{encrypted_secret:t}).then(function(){return r.encryptedSecret=t,{encryptedSecret:n}})}).then(function(e){n.resolve(e)},function(e){n.reject(e)})}),n.promise},m.prototype.getAddressByPath=function(e){return this.getWalletScriptByPath(e).address},m.prototype.getRedeemScriptByPath=function(e){return this.getWalletScriptByPath(e).redeemScript},m.prototype.getWalletScriptByPath=function(e){var t,r,n=this.getPrimaryPublicKey(e),i=this.getBlocktrailPublicKey(e),o=m.deriveByPath(this.backupPublicKey,e.replace("'",""),"M"),s=m.sortMultiSigKeys([n.keyPair.getPublicKeyBuffer(),o.keyPair.getPublicKeyBuffer(),i.keyPair.getPublicKeyBuffer()]),a=f.script.multisig.output.encode(2,s),c=parseInt(e.split("/")[2]);"bitcoincash"!==this.network&&c===m.CHAIN_BTC_SEGWIT?(t=a,r=f.script.witnessScriptHash.output.encode(f.crypto.sha256(t))):(t=null,r=a);var u=f.script.scriptHash.output.encode(f.crypto.hash160(r));return{witnessScript:t,redeemScript:r,scriptPubKey:u,address:f.address.fromOutputScript(u,this.network,this.useNewCashAddr)}},m.prototype.getPrimaryPublicKey=function(e){var t=(e=e.replace("m","M")).split("/")[1].replace("'","");if(!this.primaryPublicKeys[t]){if(!this.primaryPrivateKey)throw new h.KeyPathError("Wallet.getPrimaryPublicKey keyIndex ("+t+") is unknown to us");this.primaryPublicKeys[t]=m.deriveByPath(this.primaryPrivateKey,"M/"+t+"'","m")}var r=this.primaryPublicKeys[t];return m.deriveByPath(r,e,"M/"+t+"'")},m.prototype.getBlocktrailPublicKey=function(e){var t=(e=e.replace("m","M")).split("/")[1].replace("'","");if(!this.blocktrailPublicKeys[t])throw new h.KeyPathError("Wallet.getBlocktrailPublicKey keyIndex ("+t+") is unknown to us");var r=this.blocktrailPublicKeys[t];return m.deriveByPath(r,e,"M/"+t+"'")},m.prototype.upgradeKeyIndex=function(e,t){var r=this,n=a.defer();if(n.promise.nodeify(t),r.locked)return n.reject(new h.WalletLockedError("Wallet needs to be unlocked to upgrade key index")),n.promise;var i=r.primaryPrivateKey.deriveHardened(e).neutered();return n.resolve(r.sdk.upgradeKeyIndex(r.identifier,e,[i.toBase58(),"M/"+e+"'"]).then(function(t){return r.keyIndex=e,o.forEach(t.blocktrail_public_keys,function(e,t){r.blocktrailPublicKeys[t]=f.HDNode.fromBase58(e[0],r.network)}),r.primaryPublicKeys[e]=i,!0})),n.promise},m.prototype.getNewAddress=function(e,t){var r=this;"function"==typeof e&&(t=e,e=null);var n=a.defer();if(n.promise.spreadNodeify(t),e!==parseInt(e,10)){if(void 0!==e&&null!==e)return n.reject(new Error("Invalid chain index")),n.promise;e=r.chain}return n.resolve(r.sdk.getNewDerivation(r.identifier,"M/"+r.keyIndex+"'/"+e).then(function(e){var t,n=e.path,i=e.address;try{t=r.decodeAddress(i),"cashAddrPrefix"in r.network&&r.useNewCashAddr&&"base58"===t.type&&(r.bypassNewAddressCheck=!1)}catch(t){throw new h.WalletAddressError("Failed to decode address ["+e.address+"]")}if(!r.bypassNewAddressCheck){var o=r.getAddressByPath(e.path);if("cashAddrPrefix"in r.network&&r.useNewCashAddr&&"base58"===t.type){var s;try{s=r.decodeAddress(o)}catch(e){throw new h.WalletAddressError("Error while verifying address from server ["+e.message+"]")}if(s.decoded.hash.toString("hex")!==t.decoded.hash.toString("hex"))throw new h.WalletAddressError("Failed to verify legacy address [hash mismatch]");var a=s.decoded.version===f.script.types.P2PKH&&t.decoded.version===r.network.pubKeyHash,c=s.decoded.version===f.script.types.P2SH&&t.decoded.version===r.network.scriptHash;if(!a&&!c)throw new h.WalletAddressError("Failed to verify legacy address [prefix mismatch]");i=s.address}if(o!==i)throw new h.WalletAddressError("Failed to verify address ["+e.address+"] !== ["+i+"]")}return[i,n]})),n.promise},m.prototype.getBalance=function(e){var t=a.defer();return t.promise.spreadNodeify(e),t.resolve(this.sdk.getWalletBalance(this.identifier).then(function(e){return[e.confirmed,e.unconfirmed]})),t.promise},m.prototype.getInfo=function(e){var t=a.defer();return t.promise.spreadNodeify(e),t.resolve(this.sdk.getWalletBalance(this.identifier)),t.promise},m.prototype.doDiscovery=function(e,t){"function"==typeof e&&(t=e,e=null);var r=a.defer();return r.promise.spreadNodeify(t),r.resolve(this.sdk.doWalletDiscovery(this.identifier,e).then(function(e){return[e.confirmed,e.unconfirmed]})),r.promise},m.prototype.deleteWallet=function(e,t){"function"==typeof e&&(t=e,e=!1);var r=a.defer();if(r.promise.nodeify(t),this.locked)return r.reject(new h.WalletDeleteError("Wallet needs to be unlocked to delete wallet")),r.promise;var n=this.primaryPrivateKey.getAddress(),i=this.primaryPrivateKey.keyPair.d.toBuffer(32),o=u.sign(n,this.network.messagePrefix,i,!0).toString("base64");return r.resolve(this.sdk.deleteWallet(this.identifier,n,o,e).then(function(e){return e.deleted})),r.promise},m.prototype.pay=function(e,t,r,n,i,o,s,c){var f=this;"function"==typeof t?(c=t,t=null):"function"==typeof r?(c=r,r=!1):"function"==typeof n?(c=n,n=!0):"function"==typeof i?(c=i,i=null):"function"==typeof o?(c=o,o=null):"function"==typeof s&&(c=s,s={}),n=void 0===n||n,i=i||m.FEE_STRATEGY_OPTIMAL;var u=void 0===(s=s||{}).checkFee||s.checkFee,l=a.defer();return l.promise.nodeify(c),f.locked?(l.reject(new h.WalletLockedError("Wallet needs to be unlocked to send coins")),l.promise):(a.nextTick(function(){l.notify(m.PAY_PROGRESS_START),f.buildTransaction(e,t,r,n,i,s).then(function(e){return e},function(e){l.reject(e)},function(e){l.notify(e)}).spread(function(e,t){l.notify(m.PAY_PROGRESS_SEND);var r={signed_transaction:e.toHex(),base_transaction:e.__toBuffer(null,null,!1).toString("hex")};return f.sendTransaction(r,t.map(function(e){return e.path}),u,o,s.prioboost).then(function(e){if(l.notify(m.PAY_PROGRESS_DONE),e&&e.complete&&"false"!==e.complete)return e.txid;l.reject(new h.TransactionSignError("Failed to completely sign transaction"))})},function(e){throw e}).then(function(e){l.resolve(e)},function(e){l.reject(e)})}),l.promise)},m.prototype.decodeAddress=function(e){return m.getAddressAndType(e,this.network,this.useNewCashAddr)},m.getAddressAndType=function(e,t,o){function s(r,n){var i=r(e,t);null===i[0]?(a=i[1],c=n):u=i[0]}var a,c,u;if(t!==f.networks.bitcoin&&t!==f.networks.testnet||s(r,"bech32"),!a&&"cashAddrPrefix"in t&&o&&s(n,"cashaddr"),a||s(i,"base58"),a)return{address:e,decoded:a,type:c};throw new h.InvalidAddressError(u.message)},m.convertPayToOutputs=function(e,t,r){var n,i=[];if(Array.isArray(e))n=function(e,t,r){if("object"!=typeof t)throw new Error("Invalid transaction output for numerically indexed list [1]");var n=Object.keys(t);if(-1!==n.indexOf("scriptPubKey")&&-1!==n.indexOf("value"))r.scriptPubKey=t.scriptPubKey,r.value=t.value;else if(-1!==n.indexOf("address")&&-1!==n.indexOf("value"))r.address=t.address,r.value=t.value;else{if(2!==n.length||2!==t.length||"0"!==n[0]||"1"!==n[1])throw new Error("Invalid transaction output for numerically indexed list [2]");r.address=t[0],r.value=t[1]}};else{if("object"!=typeof e)throw new Error("Invalid input");n=function(e,t,r){if(r.address=e.trim(),r.value=t,r.address===m.OP_RETURN){var n=Buffer.isBuffer(t)?t:new Buffer(t,"utf-8");r.scriptPubKey=f.script.nullData.output.encode(n).toString("hex"),r.value=0,r.address=null}}}return Object.keys(e).forEach(function(o){var s={};if(n(o,e[o],s),parseInt(s.value,10).toString()!==s.value.toString())throw new h.WalletSendError("Values should be in Satoshis");if("string"==typeof s.address)try{var a=m.getAddressAndType(s.address,t,r);s.scriptPubKey=f.address.toOutputScript(a.address,t,r).toString("hex"),delete s.address}catch(e){throw new h.InvalidAddressError("Invalid address ["+s.address+"] ("+e.message+")")}if("6a"!==s.scriptPubKey.slice(0,2)){if(!(s.value=parseInt(s.value,10)))throw new h.WalletSendError("Values should be non zero");if(s.value<=h.DUST)throw new h.WalletSendError("Values should be more than dust ("+h.DUST+")")}s.value=parseInt(s.value,10),i.push(s)}),i},m.prototype.buildTransaction=function(e,t,r,n,i,s,u){var l=this;"function"==typeof t?(u=t,t=null):"function"==typeof r?(u=r,r=!1):"function"==typeof n?(u=n,n=!0):"function"==typeof i?(u=i,i=null):"function"==typeof s&&(u=s,s={}),n=void 0===n||n,i=i||m.FEE_STRATEGY_OPTIMAL,s=s||{};var d=a.defer();return d.promise.spreadNodeify(u),a.nextTick(function(){var u;try{u=m.convertPayToOutputs(e,l.network,l.useNewCashAddr)}catch(e){return d.reject(e),d.promise}if(!u.length)return d.reject(new h.WalletSendError("Need at least one recipient")),d.promise;d.notify(m.PAY_PROGRESS_COIN_SELECTION),d.resolve(l.coinSelection(u,!0,r,i,s).spread(function(e,r,s){var d,p,b=[],y=a.defer();return c.waterfall([function(t){var n=e.map(function(e){return e.value}).reduce(function(e,t){return e+t})-u.map(function(e){return e.value}).reduce(function(e,t){return e+t})-r;if(n>2*h.DUST&&n!==s)return t(new h.WalletFeeError("the amount of change ("+s+") suggested by the coin selection seems incorrect ("+n+")"));t()},function(e){p=new f.TransactionBuilder(l.network),l.bitcoinCash&&p.enableBitcoinCash(),e()},function(t){var r;for(r=0;r<e.length;r++)p.addInput(e[r].hash,e[r].idx);t()},function(e){u.forEach(function(e){if(!e.scriptPubKey)throw new Error("Invalid send");b.push({scriptPubKey:new Buffer(e.scriptPubKey,"hex"),value:e.value})}),e()},function(e){if(s>0)if(s<=h.DUST)s=0;else if(!t)return y.notify(m.PAY_PROGRESS_CHANGE_ADDRESS),l.getNewAddress(l.changeChain,function(r,n){if(r)return e(r);t=n,e()});e()},function(e){if(s>0){var r={scriptPubKey:f.address.toOutputScript(t,l.network,l.useNewCashAddr),value:s};n?b.splice(o.random(0,b.length),0,r):b.push(r)}e()},function(e){b.forEach(function(e){p.addOutput(e.scriptPubKey,e.value)}),e()},function(t){var r,n,i,o,s;for(y.notify(m.PAY_PROGRESS_SIGN),r=0;r<e.length;r++){var a=v;if(e[r].sign_mode&&(a=e[r].sign_mode),o=null,s=null,a===v){if(i=e[r].path.replace("M","m"),l.primaryPrivateKey)n=m.deriveByPath(l.primaryPrivateKey,i,"m").keyPair;else{if(!l.backupPrivateKey)throw new Error("No master privateKey present");n=m.deriveByPath(l.backupPrivateKey,i.replace(/^m\/(\d+)\'/,"m/$1"),"m").keyPair}o=new Buffer(e[r].redeem_script,"hex"),"string"==typeof e[r].witness_script&&(s=new Buffer(e[r].witness_script,"hex"));var c=f.Transaction.SIGHASH_ALL;l.bitcoinCash&&(c|=f.Transaction.SIGHASH_BITCOINCASHBIP143),p.sign(r,n,o,c,e[r].value,s)}}d=p.buildIncomplete(),t()},function(t){var n=m.estimateVsizeFee(d,e);if(l.sdk.feeSanityCheck)switch(i){case m.FEE_STRATEGY_BASE_FEE:if(Math.abs(n-r)>h.BASE_FEE)return t(new h.WalletFeeError("the fee suggested by the coin selection ("+r+") seems incorrect ("+n+") for FEE_STRATEGY_BASE_FEE"));break;case m.FEE_STRATEGY_HIGH_PRIORITY:case m.FEE_STRATEGY_OPTIMAL:case m.FEE_STRATEGY_LOW_PRIORITY:if(r>n*l.feeSanityCheckBaseFeeMultiplier)return t(new h.WalletFeeError("the fee suggested by the coin selection ("+r+") seems awefully high ("+n+") for FEE_STRATEGY_OPTIMAL"))}t()}],function(t){t?y.reject(new h.WalletSendError(t)):y.resolve([d,e])}),y.promise}))}),d.promise},m.prototype.coinSelection=function(e,t,r,n,i,o){"function"==typeof t?(o=t,t=!0):"function"==typeof r?(o=r,r=!1):"function"==typeof n?(o=n,n=null):"function"==typeof i&&(o=i,i={}),t=void 0===t||t,n=n||m.FEE_STRATEGY_OPTIMAL,i=i||{};var s;try{s=m.convertPayToOutputs(e,this.network,this.useNewCashAddr)}catch(e){var c=a.defer();return c.promise.nodeify(o),c.reject(e),c.promise}return this.sdk.coinSelection(this.identifier,s,t,r,n,i,o)},m.prototype.sendTransaction=function(e,t,r,n,i,o){"function"==typeof n?(o=n,n=null,i=!1):"function"==typeof i&&(o=n,i=!1);var s=a.defer();return s.promise.nodeify(o),this.sdk.sendTransaction(this.identifier,e,t,r,n,i).then(function(e){s.resolve(e)},function(e){e.requires_2fa?s.reject(new h.WalletMissing2FAError):e.message.match(/Invalid two_factor_token/)?s.reject(new h.WalletInvalid2FAError):s.reject(e)}),s.promise},m.prototype.setupWebhook=function(e,t,r){return"function"==typeof t&&(r=t,t=null),t=t||"WALLET-"+this.identifier,this.sdk.setupWalletWebhook(this.identifier,t,e,r)},m.prototype.deleteWebhook=function(e,t){return"function"==typeof e&&(t=e,e=null),e=e||"WALLET-"+this.identifier,this.sdk.deleteWalletWebhook(this.identifier,e,t)},m.prototype.transactions=function(e,t){return this.sdk.walletTransactions(this.identifier,e,t)},m.prototype.maxSpendable=function(e,t,r,n){return"function"==typeof e?(n=e,e=!1):"function"==typeof t?(n=t,t=null):"function"==typeof r&&(n=r,r={}),"object"==typeof e?(r=e,e=!1):"object"==typeof t&&(r=t,t=null),void 0!==(r=r||{}).allowZeroConf&&(e=r.allowZeroConf),void 0!==r.feeStrategy&&(t=r.feeStrategy),t=t||m.FEE_STRATEGY_OPTIMAL,this.sdk.walletMaxSpendable(this.identifier,e,t,r,n)},m.prototype.addresses=function(e,t){return this.sdk.walletAddresses(this.identifier,e,t)},m.prototype.labelAddress=function(e,t,r){return this.sdk.labelWalletAddress(this.identifier,e,t,r)},m.prototype.utxos=function(e,t){return this.sdk.walletUTXOs(this.identifier,e,t)},m.prototype.unspentOutputs=m.prototype.utxos,m.sortMultiSigKeys=function(e){return e.sort(function(e,t){return e.toString("hex").localeCompare(t.toString("hex"))}),e},m.estimateIncompleteTxFee=function(e,t){var r=m.estimateIncompleteTxSize(e),n=r/1e3,i=Math.ceil(r/1e3);return t?parseInt(n*t,10):parseInt(i*h.BASE_FEE,10)},m.estimateVsizeFee=function(e,t,r){var n=b.estimateTxVsize(e,t),i=n/1e3,o=Math.ceil(n/1e3);return r?parseInt(i*r,10):parseInt(o*h.BASE_FEE,10)},m.estimateIncompleteTxSize=function(e){var t=16;return t+=34*e.outs.length,e.ins.forEach(function(e){var r=e.script,n=f.script.classifyInput(r),i=[2,3];if(!i&&"scripthash"===n){var o=f.script.decompile(r),s=o.slice(-1)[0];if(r=f.script.compile(o.slice(0,-1)),n=f.script.classifyInput(r),f.script.classifyOutput(s)!==n)throw new h.TransactionInputError("Non-matching scriptSig and scriptPubKey in input");if("multisig"===n){var a=f.script.decompile(s),c=a[0];if(c===f.opcodes.OP_0||c<f.opcodes.OP_1||c>f.opcodes.OP_16)throw new h.TransactionInputError("Invalid multisig redeemScript");var u=a[s.chunks.length-2];if(c===f.opcodes.OP_0||c<f.opcodes.OP_1||c>f.opcodes.OP_16)throw new h.TransactionInputError("Invalid multisig redeemScript");var l=c-(f.opcodes.OP_1-1),d=u-(f.opcodes.OP_1-1);if(d<l)throw new h.TransactionInputError("Invalid multisig redeemScript");i=[l,d]}}t+=i?40+73*i[0]+107+4:147}),t},m.estimateFee=function(e,t){var r=16;r+=34*t,r+=297*e;return Math.ceil(r/1e3)*h.BASE_FEE},m.deriveByPath=function(e,t,r){if(r=r||(e.keyPair.d?"m":"M"),"m"!==t[0].toLowerCase()||"m"!==r[0].toLowerCase())throw new h.KeyPathError("Wallet.deriveByPath only works with absolute paths. ("+t+", "+r+")");if("m"===t[0]&&"M"===r[0])throw new h.KeyPathError("Wallet.deriveByPath can't derive private path from public parent. ("+t+", "+r+")");var n="M"===t[0]&&"m"===r[0];if(n&&(t[0]="m"),0!==t.toLowerCase().indexOf(r.toLowerCase()))throw new h.KeyPathError("Wallet.derivePath requires path ("+t+") to be a child of keyPath ("+r+")");var i=e;return(t=t.substr(r.length)).replace(/^\//,"").split("/").forEach(function(e){e&&(-1!==e.indexOf("'")&&(e=parseInt(e.replace("'",""),10)+f.HDNode.HIGHEST_BIT),i=i.derive(parseInt(e,10)))}),n?i.neutered():i},t.exports=m}).call(this,e("buffer").Buffer)},{"./blocktrail":2,"./encryption":3,"./encryption_mnemonic":4,"./size_estimation":12,assert:20,async:21,bip39:28,"bitcoinjs-lib":43,"bitcoinjs-message":72,buffer:105,"crypto-js":187,lodash:251,q:295}],16:[function(e,t,r){(function(Buffer){var r=e("./unspent_output_finder"),n=e("bitcoinjs-lib"),i=e("bip39"),o=e("crypto-js"),s=e("./blocktrail"),a=e("./encryption_mnemonic"),c=e("./encryption"),f=e("./wallet"),u=e("lodash"),h=e("q"),l=e("async"),d=function(e,t,f){var h=this;this.defaultSettings={network:"btc",testnet:!1,logging:!1,bitcoinCash:!1,sweepBatchSize:200},this.settings=u.merge({},this.defaultSettings,f),this.bitcoinDataClient=t,this.utxoFinder=new r(t,this.settings),this.sweepData=null,"object"==typeof f.network?this.network=f.network:this.network=this.getBitcoinNetwork(this.settings.network,this.settings.testnet),e.walletVersion=e.walletVersion||2;var l=!1;if(!Array.isArray(e.blocktrailKeys))throw new Error("blocktrail pub keys are required (must be type Array)");switch(e.walletVersion){case 1:if(void 0===e.primaryMnemonic||!e.primaryMnemonic)throw new Error("missing primary mnemonic for version 1 wallet");if(void 0===e.backupMnemonic||!e.backupMnemonic)throw new Error("missing backup mnemonic for version 1 wallet");if(void 0===e.primaryPassphrase)throw new Error("missing primary passphrase for version 1 wallet");e.primaryMnemonic=e.primaryMnemonic.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," "),e.backupMnemonic=e.backupMnemonic.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," ");break;case 2:case 3:if(void 0===e.encryptedPrimaryMnemonic||!e.encryptedPrimaryMnemonic)throw new Error("missing encrypted primary seed for version 2 wallet");if(void 0===e.backupMnemonic||!e.backupMnemonic&&!1!==e.backupMnemonic)throw new Error("missing backup seed for version 2 wallet");if(l=void 0!==e.password&&null!==e.password){if(void 0===e.passwordEncryptedSecretMnemonic||!e.passwordEncryptedSecretMnemonic)throw new Error("missing password encrypted secret for version 2 wallet");if(void 0===e.password)throw new Error("missing primary passphrase for version 2 wallet")}else{if(void 0===e.encryptedRecoverySecretMnemonic||!e.encryptedRecoverySecretMnemonic)throw new Error("missing encrypted recovery secret for version 2 wallet (recovery without password)");if(!e.recoverySecretDecryptionKey)throw new Error("missing recovery secret decryption key for version 2 wallet (recovery without password)")}e.encryptedPrimaryMnemonic=e.encryptedPrimaryMnemonic.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," "),e.backupMnemonic=(e.backupMnemonic||"").trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," "),e.recoverySecretDecryptionKey&&(e.recoverySecretDecryptionKey=e.recoverySecretDecryptionKey.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," ")),l?e.passwordEncryptedSecretMnemonic=e.passwordEncryptedSecretMnemonic.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," "):e.encryptedRecoverySecretMnemonic=e.encryptedRecoverySecretMnemonic.trim().replace(new RegExp("\r\n","g")," ").replace(new RegExp("\n","g")," ").replace(/\s+/g," ");break;default:throw new Error("Wrong version ["+e.walletVersion+"]")}this.blocktrailPublicKeys={},u.each(e.blocktrailKeys,function(e){h.blocktrailPublicKeys[e.keyIndex]=n.HDNode.fromBase58(e.pubkey,h.network)});var d,p,b;switch(e.walletVersion){case 1:d=i.mnemonicToSeed(e.primaryMnemonic,e.primaryPassphrase),p=i.mnemonicToSeed(e.backupMnemonic,"");break;case 2:if(e.encryptedPrimaryMnemonic=s.convert(i.mnemonicToEntropy(e.encryptedPrimaryMnemonic),"hex","base64"),l?e.passwordEncryptedSecretMnemonic=s.convert(i.mnemonicToEntropy(e.passwordEncryptedSecretMnemonic),"hex","base64"):e.encryptedRecoverySecretMnemonic=s.convert(i.mnemonicToEntropy(e.encryptedRecoverySecretMnemonic),"hex","base64"),!(b=l?o.AES.decrypt(e.passwordEncryptedSecretMnemonic,e.password).toString(o.enc.Utf8):o.AES.decrypt(e.encryptedRecoverySecretMnemonic,e.recoverySecretDecryptionKey).toString(o.enc.Utf8)))throw new Error("Could not decrypt secret with "+(l?"password":"decryption key"));d=new Buffer(o.AES.decrypt(e.encryptedPrimaryMnemonic,b).toString(o.enc.Utf8),"base64"),e.backupMnemonic&&(p=new Buffer(i.mnemonicToEntropy(e.backupMnemonic),"hex"));break;case 3:if(e.encryptedPrimaryMnemonic=a.decode(e.encryptedPrimaryMnemonic),l?e.passwordEncryptedSecretMnemonic=a.decode(e.passwordEncryptedSecretMnemonic):e.encryptedRecoverySecretMnemonic=a.decode(e.encryptedRecoverySecretMnemonic),!(b=l?c.decrypt(e.passwordEncryptedSecretMnemonic,new Buffer(e.password)):c.decrypt(e.encryptedRecoverySecretMnemonic,new Buffer(e.recoverySecretDecryptionKey,"hex"))))throw new Error("Could not decrypt secret with "+(l?"password":"decryption key"));d=c.decrypt(e.encryptedPrimaryMnemonic,b),e.backupMnemonic&&(p=new Buffer(i.mnemonicToEntropy(e.backupMnemonic),"hex"));break;default:throw new Error("Wrong version ["+e.walletVersion+"]")}this.primaryPrivateKey=n.HDNode.fromSeedBuffer(d,this.network),p?(this.backupPrivateKey=n.HDNode.fromSeedBuffer(p,this.network),this.backupPublicKey=this.backupPrivateKey.neutered()):(this.backupPrivateKey=!1,this.backupPublicKey=n.HDNode.fromBase58(e.backupPublicKey,this.network)),this.settings.logging&&(console.log("using password method: "+l),console.log("Primary Prv Key: "+this.primaryPrivateKey.toBase58()),console.log("Primary Pub Key: "+this.primaryPrivateKey.neutered().toBase58()),console.log("Backup Prv Key: "+(this.backupPrivateKey?this.backupPrivateKey.toBase58():null)),console.log("Backup Pub Key: "+this.backupPublicKey.toBase58()))};d.prototype.getBitcoinNetwork=function(e,t){switch(e.toLowerCase()){case"btc":case"bitcoin":return t?n.networks.testnet:n.networks.bitcoin;case"tbtc":case"bitcoin-testnet":return n.networks.testnet;default:throw new Error("Unknown network "+e)}},d.prototype.getBlocktrailPublicKey=function(e){var t=(e=e.replace("m","M")).split("/")[1].replace("'","");if(!this.blocktrailPublicKeys[t])throw new Error("Wallet.getBlocktrailPublicKey keyIndex ("+t+") is unknown to us");return this.blocktrailPublicKeys[t]},d.prototype.createAddress=function(e){var t,r,i=(e=e.replace("m","M")).split("/")[1].replace("'",""),o=parseInt(e.split("/")[2]),s=f.deriveByPath(this.primaryPrivateKey,e,"m"),a=f.deriveByPath(this.backupPublicKey,e.replace("'",""),"M"),c=f.deriveByPath(this.getBlocktrailPublicKey(e),e,"M/"+i+"'"),u=f.sortMultiSigKeys([s.keyPair.getPublicKeyBuffer(),a.keyPair.getPublicKeyBuffer(),c.keyPair.getPublicKeyBuffer()]),h=n.script.multisig.output.encode(2,u);"bitcoincash"!==this.network&&o===f.CHAIN_BTC_SEGWIT?(r=h,t=n.script.witnessScriptHash.output.encode(n.crypto.sha256(r))):(r=null,t=h);var l=n.crypto.hash160(t),d=n.script.scriptHash.output.encode(l),p=this.network;void 0!==this.network&&(p=this.network);return{address:n.address.fromOutputScript(d,p).toString(),redeem:t,witness:r}},d.prototype.createBatchAddresses=function(e,t,r,n){var i=this,o={};return h.all(u.range(0,t).map(function(t){var s="M/"+r+"'/"+n+"/"+(e+t),a=i.createAddress(s);o[a.address]={redeem:a.redeem,witness:a.witness,path:s}})).then(function(){return o})},d.prototype.discoverWalletFunds=function(e,t){var r=this,n=0,i=0,o=0,s={};void 0===e&&(e=this.settings.sweepBatchSize);var a=h.defer();a.promise.nodeify(t);var c;return c="bitcoincash"===this.network?[0,1]:[0,1,2],l.nextTick(function(){l.eachSeries(Object.keys(r.blocktrailPublicKeys),function(t,f){l.eachSeries(c,function(c,f){var d=0,p=!1;l.doWhilst(function(f){r.settings.logging&&console.log("generating addresses "+d+" -> "+(d+e)+" using blocktrail key index: "+t+", chain: "+c),a.notify({message:"generating addresses "+d+" -> "+(d+e),increment:e,btPubKeyIndex:t,chain:c,totalAddresses:o,addressUTXOs:s,totalUTXOs:i,totalBalance:n}),l.nextTick(function(){r.createBatchAddresses(d,e,t,c).then(function(c){return o+=Object.keys(c).length,r.settings.logging&&console.log("starting fund discovery for "+e+" addresses..."),a.notify({message:"starting fund discovery for "+e+" addresses",increment:e,btPubKeyIndex:t,totalAddresses:o,addressUTXOs:s,totalUTXOs:i,totalBalance:n}),r.bitcoinDataClient.batchAddressHasTransactions(u.keys(c)).then(function(f){return p=f,r.settings.logging&&console.log("batch "+(p?"has":"does not have")+" transactions..."),h.when(p).then(function(f){if(f)return r.utxoFinder.getUTXOs(u.keys(c)).then(function(f){u.each(f,function(e,t){var o=null;void 0!==c[t].witness&&(o=c[t].witness),s[t]={path:c[t].path,redeem:c[t].redeem,witness:o,utxos:e},i+=e.length,n=u.reduce(e,function(e,t){return e+t.value},n),r.settings.logging&&console.log("found "+e.length+" unspent outputs for address: "+t)}),a.notify({message:"discovering funds",increment:e,btPubKeyIndex:t,totalAddresses:o,addressUTXOs:s,totalUTXOs:i,totalBalance:n})})})})}).then(function(){d+=e,l.nextTick(f)},function(e){f(e)})})},function(){return p},function(r){r&&(console.log("batch complete, but with errors",r.message),a.notify({message:"batch complete, but with errors: "+r.message,error:r,increment:e,btPubKeyIndex:t,totalAddresses:o,addressUTXOs:s,totalUTXOs:i,totalBalance:n})),l.nextTick(f)})},function(e){f(e)})},function(e){e&&r.settings.logging&&console.log("error encountered when discovering funds",e),r.settings.logging&&console.log("finished fund discovery: "+n+" Satoshi (in "+i+" outputs) found when searching "+o+" addresses"),r.sweepData={utxos:s,count:i,balance:n,addressesSearched:o},a.resolve(r.sweepData)})}),a.promise},d.prototype.sweepWallet=function(e,t){var r=this,n=h.defer();return n.promise.nodeify(t),r.settings.logging&&console.log("starting wallet sweeping to address "+e),h.when(!0).then(function(){if(!r.sweepData)return r.discoverWalletFunds().progress(function(e){n.notify(e)})}).then(function(){return r.bitcoinDataClient.estimateFee()}).then(function(t){return 0===r.sweepData.balance?(n.reject("No funds found after searching through "+r.sweepData.addressesSearched+" addresses"),n.promise):r.createTransaction(e,null,t,n)}).then(function(e){n.resolve(e)},function(e){n.reject(e)}),n.promise},d.prototype.createTransaction=function(e,t,r,i){this.settings.logging&&console.log("Creating transaction to address destinationAddress"),i&&i.notify({message:"creating raw transaction to "+e});var o=new n.TransactionBuilder(this.network);this.settings.bitcoinCash&&o.enableBitcoinCash();var a=[];if(u.each(this.sweepData.utxos,function(e,t){u.each(e.utxos,function(r){o.addInput(r.hash,r.index),a.push({txid:r.hash,vout:r.index,scriptPubKey:r.script_hex,value:r.value,address:t,path:e.path,redeemScript:e.redeem,witnessScript:e.witness})})}),!o)throw new Error("Failed to create raw transaction");var c=this.sweepData.balance,h=o.addOutput(e,c);if(void 0===t||null===t){i&&i.notify({message:"estimating transaction fee, based on "+s.toBTC(r)+" BTC/kb"});var l=a.map(function(e){return{txid:e.txid,vout:e.vout,address:e.vout,scriptpubkey_hex:e.vout,redeem_script:e.redeemScript,witness_script:e.witnessScript,path:e.path,value:e.value}});t=f.estimateVsizeFee(o.tx,l,r)}return o.tx.outs[h].value-=t,i&&i.notify({message:"signing transaction"}),this.signTransaction(o,a)},d.prototype.signTransaction=function(e,t){var r=this;this.settings.logging&&console.log("Signing transaction");var i=n.Transaction.SIGHASH_ALL;return this.settings.bitcoinCash&&(i|=n.Transaction.SIGHASH_BITCOINCASHBIP143),u.each(t,function(t,n){var o=f.deriveByPath(r.primaryPrivateKey,t.path.replace("M","m"),"m").keyPair;if(e.sign(n,o,t.redeemScript,i,t.value,t.witnessScript),r.backupPrivateKey){var s=f.deriveByPath(r.backupPrivateKey,t.path.replace("'","").replace("M","m"),"m").keyPair;e.sign(n,s,t.redeemScript,i,t.value,t.witnessScript)}}),r.backupPrivateKey?e.build().toHex():e.buildIncomplete().toHex()},t.exports=d}).call(this,e("buffer").Buffer)},{"./blocktrail":2,"./encryption":3,"./encryption_mnemonic":4,"./unspent_output_finder":13,"./wallet":15,async:21,bip39:28,"bitcoinjs-lib":43,buffer:105,"crypto-js":187,lodash:251,q:295}],17:[function(e,t,r){(function(Buffer){var r=e("bip39"),n=e("./encryption");t.exports=function(e){e.addEventListener("message",function(t){var i=t.data||{};switch(i.method){case"importScripts":importScripts(i.script);break;case"mnemonicToSeedHex":!function(){try{var n=i.mnemonic,o=i.passphrase;if(!r.validateMnemonic(n))throw t=new Error("Invalid passphrase"),t.id=i.id,t;var s=r.mnemonicToSeedHex(n,o);e.postMessage({id:i.id,seed:s,mnemonic:n})}catch(e){throw e.id=i.id,e}}();break;case"Encryption.encryptWithSaltAndIV":!function(){try{if(!(i.pt&&i.pw&&i.saltBuf&&i.iv&&i.iterations))throw new Error("Invalid input");var t=Buffer.from(i.pt.buffer),r=Buffer.from(i.pw.buffer),o=Buffer.from(i.saltBuf.buffer),s=Buffer.from(i.iv.buffer),a=i.iterations,c=n.encryptWithSaltAndIV(t,r,o,s,a);e.postMessage({id:i.id,cipherText:c})}catch(e){throw e.id=i.id,e}}();break;case"Encryption.decrypt":!function(){try{if(!i.ct||!i.pw)throw new Error("Invalid input");var t=Buffer.from(i.ct.buffer),r=Buffer.from(i.pw.buffer),o=n.decrypt(t,r);e.postMessage({id:i.id,plainText:o})}catch(e){throw e.id=i.id,e}}();break;default:throw t=new Error("Invalid method ["+t.method+"]"),t.id=i.id,t}},!1)}}).call(this,e("buffer").Buffer)},{"./encryption":3,bip39:28,buffer:105}],18:[function(e,t,r){var n=e("q"),i=e("webworkify");t.exports={workify:function(e,t,r,o){void 0===o&&void 0!==r&&(o=r,r=function(){});var s=n.defer();try{void 0===e.worker&&(e.worker=i(t()),e.first=!0,e.id=0,r(e.worker));var a=e.worker,c=e.id++,f=function(t){e.first&&(e.first=!1,URL.revokeObjectURL(a.objectURL)),t.data.id===c&&s.resolve(t.data)},u=function(e){s.reject(new Error(e.message.replace("Uncaught Error: ","")))},h=function(){a.removeEventListener("message",f),a.removeEventListener("error",u)};return a.addEventListener("message",f,!1),a.addEventListener("error",u,!1),o.id=c,a.postMessage(o),s.promise.then(function(e){return h(),e},function(e){throw h(),e})}catch(e){return s.reject(e),s.promise}}}},{q:295,webworkify:365}],19:[function(e,t,r){(function(Buffer){var n=e("./lib/api_client"),i=e("./lib/blocktrail");Object.keys(i).forEach(function(e){n[e]=i[e]}),n.q=e("q"),n.BlocktrailSDK=n,n.Wallet=e("./lib/wallet"),n.Request=e("./lib/request"),n.Encryption=e("./lib/encryption"),n.KeyDerivation=e("./lib/keyderivation"),n.EncryptionMnemonic=e("./lib/encryption_mnemonic"),n.useWebworker=e("./lib/use-webworker"),n.WalletSweeper=e("./lib/wallet_sweeper"),n.UnspentOutputFinder=e("./lib/unspent_output_finder"),n.BlocktrailBitcoinService=e("./lib/services/blocktrail_bitcoin_service"),n.InsightBitcoinService=e("./lib/services/insight_bitcoin_service"),n.randomBytes=e("randombytes"),n.lodash=e("lodash"),n.CryptoJS=e("crypto-js"),n.debug=e("debug"),n.bip39=e("bip39"),n.bip39wordlist=e("bip39/wordlists/en.json"),n.bitcoin=e("bitcoinjs-lib"),n.superagent=e("superagent"),n.Buffer=Buffer,n.VERSION=e("./lib/pkginfo").VERSION,r=t.exports=n}).call(this,e("buffer").Buffer)},{"./lib/api_client":1,"./lib/blocktrail":2,"./lib/encryption":3,"./lib/encryption_mnemonic":4,"./lib/keyderivation":5,"./lib/pkginfo":7,"./lib/request":8,"./lib/services/blocktrail_bitcoin_service":10,"./lib/services/insight_bitcoin_service":11,"./lib/unspent_output_finder":13,"./lib/use-webworker":14,"./lib/wallet":15,"./lib/wallet_sweeper":16,bip39:28,"bip39/wordlists/en.json":31,"bitcoinjs-lib":43,buffer:105,"crypto-js":187,debug:213,lodash:251,q:295,randombytes:299,superagent:351}],20:[function(e,t,r){(function(r){"use strict";function n(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0}function i(e){return r.Buffer&&"function"==typeof r.Buffer.isBuffer?r.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}function o(e){return Object.prototype.toString.call(e)}function s(e){return!i(e)&&("function"==typeof r.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}function a(e){if(v.isFunction(e)){if(w)return e.name;var t=e.toString().match(E);return t&&t[1]}}function c(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function f(e){if(w||!v.isFunction(e))return v.inspect(e);var t=a(e);return"[Function"+(t?": "+t:"")+"]"}function u(e,t,r,n,i){throw new _.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:i})}function h(e,t){e||u(e,!0,t,"==",_.ok)}function l(e,t,r,a){if(e===t)return!0;if(i(e)&&i(t))return 0===n(e,t);if(v.isDate(e)&&v.isDate(t))return e.getTime()===t.getTime();if(v.isRegExp(e)&&v.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(s(e)&&s(t)&&o(e)===o(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===n(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(i(e)!==i(t))return!1;var c=(a=a||{actual:[],expected:[]}).actual.indexOf(e);return-1!==c&&c===a.expected.indexOf(t)||(a.actual.push(e),a.expected.push(t),function(e,t,r,n){if(null===e||void 0===e||null===t||void 0===t)return!1;if(v.isPrimitive(e)||v.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=d(e),o=d(t);if(i&&!o||!i&&o)return!1;if(i)return e=g.call(e),t=g.call(t),l(e,t,r);var s,a,c=S(e),f=S(t);if(c.length!==f.length)return!1;for(c.sort(),f.sort(),a=c.length-1;a>=0;a--)if(c[a]!==f[a])return!1;for(a=c.length-1;a>=0;a--)if(s=c[a],!l(e[s],t[s],r,n))return!1;return!0}(e,t,r,a))}return r?e===t:e==t}function d(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function p(e,t,r){l(e,t,!0)&&u(e,t,r,"notDeepStrictEqual",p)}function b(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function y(e,t,r,n){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=function(e){var t;try{e()}catch(e){t=e}return t}(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&u(i,r,"Missing expected exception"+n);var o="string"==typeof n,s=!e&&v.isError(i),a=!e&&i&&!r;if((s&&o&&b(i,r)||a)&&u(i,r,"Got unwanted exception"+n),e&&i&&r&&!b(i,r)||!e&&i)throw i}var v=e("util/"),m=Object.prototype.hasOwnProperty,g=Array.prototype.slice,w="foo"===function(){}.name,_=t.exports=h,E=/\s*function\s+([^\(\s]*)\s*/;_.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return c(f(e.actual),128)+" "+e.operator+" "+c(f(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||u;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,i=a(t),o=n.indexOf("\n"+i);if(o>=0){var s=n.indexOf("\n",o+1);n=n.substring(s+1)}this.stack=n}}},v.inherits(_.AssertionError,Error),_.fail=u,_.ok=h,_.equal=function(e,t,r){e!=t&&u(e,t,r,"==",_.equal)},_.notEqual=function(e,t,r){e==t&&u(e,t,r,"!=",_.notEqual)},_.deepEqual=function(e,t,r){l(e,t,!1)||u(e,t,r,"deepEqual",_.deepEqual)},_.deepStrictEqual=function(e,t,r){l(e,t,!0)||u(e,t,r,"deepStrictEqual",_.deepStrictEqual)},_.notDeepEqual=function(e,t,r){l(e,t,!1)&&u(e,t,r,"notDeepEqual",_.notDeepEqual)},_.notDeepStrictEqual=p,_.strictEqual=function(e,t,r){e!==t&&u(e,t,r,"===",_.strictEqual)},_.notStrictEqual=function(e,t,r){e===t&&u(e,t,r,"!==",_.notStrictEqual)},_.throws=function(e,t,r){y(!0,e,t,r)},_.doesNotThrow=function(e,t,r){y(!1,e,t,r)},_.ifError=function(e){if(e)throw e};var S=Object.keys||function(e){var t=[];for(var r in e)m.call(e,r)&&t.push(r);return t}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"util/":362}],21:[function(e,t,r){(function(e){!function(){function r(e){var t=!1;return function(){if(t)throw new Error("Callback was already called.");t=!0,e.apply(n,arguments)}}var n,i,o={};null!=(n=this)&&(i=n.async),o.noConflict=function(){return n.async=i,o};var s=Object.prototype.toString,a=Array.isArray||function(e){return"[object Array]"===s.call(e)},c=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r+=1)t(e[r],r,e)},f=function(e,t){if(e.map)return e.map(t);var r=[];return c(e,function(e,n,i){r.push(t(e,n,i))}),r},u=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t};void 0!==e&&e.nextTick?(o.nextTick=e.nextTick,"undefined"!=typeof setImmediate?o.setImmediate=function(e){setImmediate(e)}:o.setImmediate=o.nextTick):"function"==typeof setImmediate?(o.nextTick=function(e){setImmediate(e)},o.setImmediate=o.nextTick):(o.nextTick=function(e){setTimeout(e,0)},o.setImmediate=o.nextTick),o.each=function(e,t,n){function i(t){t?(n(t),n=function(){}):(o+=1)>=e.length&&n()}if(n=n||function(){},!e.length)return n();var o=0;c(e,function(e){t(e,r(i))})},o.forEach=o.each,o.eachSeries=function(e,t,r){if(r=r||function(){},!e.length)return r();var n=0,i=function(){t(e[n],function(t){t?(r(t),r=function(){}):(n+=1)>=e.length?r():i()})};i()},o.forEachSeries=o.eachSeries,o.eachLimit=function(e,t,r,n){h(t).apply(null,[e,r,n])},o.forEachLimit=o.eachLimit;var h=function(e){return function(t,r,n){if(n=n||function(){},!t.length||e<=0)return n();var i=0,o=0,s=0;!function a(){if(i>=t.length)return n();for(;s<e&&o<t.length;)s+=1,r(t[(o+=1)-1],function(e){e?(n(e),n=function(){}):(s-=1,(i+=1)>=t.length?n():a())})}()}},l=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[o.each].concat(t))}},d=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[o.eachSeries].concat(t))}},p=function(e,t,r,n){if(t=f(t,function(e,t){return{index:t,value:e}}),n){var i=[];e(t,function(e,t){r(e.value,function(r,n){i[e.index]=n,t(r)})},function(e){n(e,i)})}else e(t,function(e,t){r(e.value,function(e){t(e)})})};o.map=l(p),o.mapSeries=d(p),o.mapLimit=function(e,t,r,n){return b(t)(e,r,n)};var b=function(e){return function(e,t){return function(){var r=Array.prototype.slice.call(arguments);return t.apply(null,[h(e)].concat(r))}}(e,p)};o.reduce=function(e,t,r,n){o.eachSeries(e,function(e,n){r(t,e,function(e,r){t=r,n(e)})},function(e){n(e,t)})},o.inject=o.reduce,o.foldl=o.reduce,o.reduceRight=function(e,t,r,n){var i=f(e,function(e){return e}).reverse();o.reduce(i,t,r,n)},o.foldr=o.reduceRight;var y=function(e,t,r,n){var i=[];e(t=f(t,function(e,t){return{index:t,value:e}}),function(e,t){r(e.value,function(r){r&&i.push(e),t()})},function(e){n(f(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};o.filter=l(y),o.filterSeries=d(y),o.select=o.filter,o.selectSeries=o.filterSeries;var v=function(e,t,r,n){var i=[];e(t=f(t,function(e,t){return{index:t,value:e}}),function(e,t){r(e.value,function(r){r||i.push(e),t()})},function(e){n(f(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};o.reject=l(v),o.rejectSeries=d(v);var m=function(e,t,r,n){e(t,function(e,t){r(e,function(r){r?(n(e),n=function(){}):t()})},function(e){n()})};o.detect=l(m),o.detectSeries=d(m),o.some=function(e,t,r){o.each(e,function(e,n){t(e,function(e){e&&(r(!0),r=function(){}),n()})},function(e){r(!1)})},o.any=o.some,o.every=function(e,t,r){o.each(e,function(e,n){t(e,function(e){e||(r(!1),r=function(){}),n()})},function(e){r(!0)})},o.all=o.every,o.sortBy=function(e,t,r){o.map(e,function(e,r){t(e,function(t,n){t?r(t):r(null,{value:e,criteria:n})})},function(e,t){if(e)return r(e);r(null,f(t.sort(function(e,t){var r=e.criteria,n=t.criteria;return r<n?-1:r>n?1:0}),function(e){return e.value}))})},o.auto=function(e,t){t=t||function(){};var r=u(e),n=r.length;if(!n)return t();var i={},s=[],f=function(e){s.unshift(e)},h=function(){n--,c(s.slice(0),function(e){e()})};f(function(){if(!n){var e=t;t=function(){},e(null,i)}}),c(r,function(r){var n=a(e[r])?e[r]:[e[r]],l=function(e){var n=Array.prototype.slice.call(arguments,1);if(n.length<=1&&(n=n[0]),e){var s={};c(u(i),function(e){s[e]=i[e]}),s[r]=n,t(e,s),t=function(){}}else i[r]=n,o.setImmediate(h)},d=n.slice(0,Math.abs(n.length-1))||[],p=function(){return function(e,t,r){return e.reduce?e.reduce(t,r):(c(e,function(e,n,i){r=t(r,e,n,i)}),r)}(d,function(e,t){return e&&i.hasOwnProperty(t)},!0)&&!i.hasOwnProperty(r)};if(p())n[n.length-1](l,i);else{var b=function(){p()&&(!function(e){for(var t=0;t<s.length;t+=1)if(s[t]===e)return void s.splice(t,1)}(b),n[n.length-1](l,i))};f(b)}})},o.retry=function(e,t,r){var n=[];"function"==typeof e&&(r=t,t=e,e=5),e=parseInt(e,10)||5;var i=function(i,s){for(var a=function(e,t){return function(r){e(function(e,n){r(!e||t,{err:e,result:n})},s)}};e;)n.push(a(t,!(e-=1)));o.series(n,function(e,t){t=t[t.length-1],(i||r)(t.err,t.result)})};return r?i():i},o.waterfall=function(e,t){if(t=t||function(){},!a(e)){var r=new Error("First argument to waterfall must be an array of functions");return t(r)}if(!e.length)return t();var n=function(e){return function(r){if(r)t.apply(null,arguments),t=function(){};else{var i=Array.prototype.slice.call(arguments,1),s=e.next();s?i.push(n(s)):i.push(t),o.setImmediate(function(){e.apply(null,i)})}}};n(o.iterator(e))()};var g=function(e,t,r){if(r=r||function(){},a(t))e.map(t,function(e,t){e&&e(function(e){var r=Array.prototype.slice.call(arguments,1);r.length<=1&&(r=r[0]),t.call(null,e,r)})},r);else{var n={};e.each(u(t),function(e,r){t[e](function(t){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),n[e]=i,r(t)})},function(e){r(e,n)})}};o.parallel=function(e,t){g({map:o.map,each:o.each},e,t)},o.parallelLimit=function(e,t,r){g({map:b(t),each:h(t)},e,r)},o.series=function(e,t){if(t=t||function(){},a(e))o.mapSeries(e,function(e,t){e&&e(function(e){var r=Array.prototype.slice.call(arguments,1);r.length<=1&&(r=r[0]),t.call(null,e,r)})},t);else{var r={};o.eachSeries(u(e),function(t,n){e[t](function(e){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),r[t]=i,n(e)})},function(e){t(e,r)})}},o.iterator=function(e){var t=function(r){var n=function(){return e.length&&e[r].apply(null,arguments),n.next()};return n.next=function(){return r<e.length-1?t(r+1):null},n};return t(0)},o.apply=function(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t.concat(Array.prototype.slice.call(arguments)))}};var w=function(e,t,r,n){var i=[];e(t,function(e,t){r(e,function(e,r){i=i.concat(r||[]),t(e)})},function(e){n(e,i)})};o.concat=l(w),o.concatSeries=d(w),o.whilst=function(e,t,r){e()?t(function(n){if(n)return r(n);o.whilst(e,t,r)}):r()},o.doWhilst=function(e,t,r){e(function(n){if(n)return r(n);var i=Array.prototype.slice.call(arguments,1);t.apply(null,i)?o.doWhilst(e,t,r):r()})},o.until=function(e,t,r){e()?r():t(function(n){if(n)return r(n);o.until(e,t,r)})},o.doUntil=function(e,t,r){e(function(n){if(n)return r(n);var i=Array.prototype.slice.call(arguments,1);t.apply(null,i)?r():o.doUntil(e,t,r)})},o.queue=function(e,t){function n(e,t,r,n){if(e.started||(e.started=!0),a(t)||(t=[t]),0==t.length)return o.setImmediate(function(){e.drain&&e.drain()});c(t,function(t){var i={data:t,callback:"function"==typeof n?n:null};r?e.tasks.unshift(i):e.tasks.push(i),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),o.setImmediate(e.process)})}void 0===t&&(t=1);var i=0,s={tasks:[],concurrency:t,saturated:null,empty:null,drain:null,started:!1,paused:!1,push:function(e,t){n(s,e,!1,t)},kill:function(){s.drain=null,s.tasks=[]},unshift:function(e,t){n(s,e,!0,t)},process:function(){if(!s.paused&&i<s.concurrency&&s.tasks.length){var t=s.tasks.shift();s.empty&&0===s.tasks.length&&s.empty(),i+=1;var n=r(function(){i-=1,t.callback&&t.callback.apply(t,arguments),s.drain&&s.tasks.length+i===0&&s.drain(),s.process()});e(t.data,n)}},length:function(){return s.tasks.length},running:function(){return i},idle:function(){return s.tasks.length+i===0},pause:function(){!0!==s.paused&&(s.paused=!0,s.process())},resume:function(){!1!==s.paused&&(s.paused=!1,s.process())}};return s},o.priorityQueue=function(e,t){function r(e,t){return e.priority-t.priority}var n=o.queue(e,t);return n.push=function(e,t,i){!function(e,t,n,i){if(e.started||(e.started=!0),a(t)||(t=[t]),0==t.length)return o.setImmediate(function(){e.drain&&e.drain()});c(t,function(t){var s={data:t,priority:n,callback:"function"==typeof i?i:null};e.tasks.splice(function(e,t,r){for(var n=-1,i=e.length-1;n<i;){var o=n+(i-n+1>>>1);r(t,e[o])>=0?n=o:i=o-1}return n}(e.tasks,s,r)+1,0,s),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),o.setImmediate(e.process)})}(n,e,t,i)},delete n.unshift,n},o.cargo=function(e,t){var r=!1,n=[],i={tasks:n,payload:t,saturated:null,empty:null,drain:null,drained:!0,push:function(e,r){a(e)||(e=[e]),c(e,function(e){n.push({data:e,callback:"function"==typeof r?r:null}),i.drained=!1,i.saturated&&n.length===t&&i.saturated()}),o.setImmediate(i.process)},process:function o(){if(!r){if(0===n.length)return i.drain&&!i.drained&&i.drain(),void(i.drained=!0);var s="number"==typeof t?n.splice(0,t):n.splice(0,n.length),a=f(s,function(e){return e.data});i.empty&&i.empty(),r=!0,e(a,function(){r=!1;var e=arguments;c(s,function(t){t.callback&&t.callback.apply(null,e)}),o()})}},length:function(){return n.length},running:function(){return r}};return i};var _=function(e){return function(t){var r=Array.prototype.slice.call(arguments,1);t.apply(null,r.concat([function(t){var r=Array.prototype.slice.call(arguments,1);"undefined"!=typeof console&&(t?console.error&&console.error(t):console[e]&&c(r,function(t){console[e](t)}))}]))}};o.log=_("log"),o.dir=_("dir"),o.memoize=function(e,t){var r={},n={};t=t||function(e){return e};var i=function(){var i=Array.prototype.slice.call(arguments),s=i.pop(),a=t.apply(null,i);a in r?o.nextTick(function(){s.apply(null,r[a])}):a in n?n[a].push(s):(n[a]=[s],e.apply(null,i.concat([function(){r[a]=arguments;var e=n[a];delete n[a];for(var t=0,i=e.length;t<i;t++)e[t].apply(null,arguments)}])))};return i.memo=r,i.unmemoized=e,i},o.unmemoize=function(e){return function(){return(e.unmemoized||e).apply(null,arguments)}},o.times=function(e,t,r){for(var n=[],i=0;i<e;i++)n.push(i);return o.map(n,t,r)},o.timesSeries=function(e,t,r){for(var n=[],i=0;i<e;i++)n.push(i);return o.mapSeries(n,t,r)},o.seq=function(){var e=arguments;return function(){var t=this,r=Array.prototype.slice.call(arguments),n=r.pop();o.reduce(e,r,function(e,r,n){r.apply(t,e.concat([function(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);n(e,t)}]))},function(e,r){n.apply(t,[e].concat(r))})}},o.compose=function(){return o.seq.apply(null,Array.prototype.reverse.call(arguments))};var E=function(e,t){var r=function(){var r=this,n=Array.prototype.slice.call(arguments),i=n.pop();return e(t,function(e,t){e.apply(r,n.concat([t]))},i)};if(arguments.length>2){var n=Array.prototype.slice.call(arguments,2);return r.apply(this,n)}return r};o.applyEach=l(E),o.applyEachSeries=d(E),o.forever=function(e,t){function r(n){if(n){if(t)return t(n);throw n}e(r)}r()},void 0!==t&&t.exports?t.exports=o:void 0!==define&&define.amd?define([],function(){return o}):n.async=o}()}).call(this,e("_process"))},{_process:265}],22:[function(e,t,r){var Buffer=e("safe-buffer").Buffer;t.exports=function(e){function t(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return Buffer.allocUnsafe(0);for(var t=[0],o=0;o<e.length;o++){var s=r[e[o]];if(void 0===s)return;for(var a=0,c=s;a<t.length;++a)c+=t[a]*n,t[a]=255&c,c>>=8;for(;c>0;)t.push(255&c),c>>=8}for(var f=0;e[f]===i&&f<e.length-1;++f)t.push(0);return Buffer.from(t.reverse())}for(var r={},n=e.length,i=e.charAt(0),o=0;o<e.length;o++){var s=e.charAt(o);if(void 0!==r[s])throw new TypeError(s+" is ambiguous");r[s]=o}return{encode:function(t){if(0===t.length)return"";for(var r=[0],o=0;o<t.length;++o){for(var s=0,a=t[o];s<r.length;++s)a+=r[s]<<8,r[s]=a%n,a=a/n|0;for(;a>0;)r.push(a%n),a=a/n|0}for(var c="",f=0;0===t[f]&&f<t.length-1;++f)c+=i;for(var u=r.length-1;u>=0;--u)c+=e[r[u]];return c},decodeUnsafe:t,decode:function(e){var r=t(e);if(r)return r;throw new Error("Non-base"+n+" character")}}}},{"safe-buffer":313}],23:[function(e,t,r){"use strict";function n(e){var t=e>>25;return(33554431&e)<<5^996825010&-(t>>0&1)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function i(e){for(var t=1,r=0;r<e.length;++r){var i=e.charCodeAt(r);if(i<33||i>126)throw new Error("Invalid prefix ("+e+")");t=n(t)^i>>5}t=n(t);for(var o=0;o<e.length;++o){var s=e.charCodeAt(o);t=n(t)^31&s}return t}function o(e,t,r,n){for(var i=0,o=0,s=(1<<r)-1,a=[],c=0;c<e.length;++c)for(i=i<<t|e[c],o+=t;o>=r;)o-=r,a.push(i>>o&s);if(n)o>0&&a.push(i<<r-o&s);else{if(o>=t)throw new Error("Excess padding");if(i<<r-o&s)throw new Error("Non-zero padding")}return a}for(var s="qpzry9x8gf2tvdw0s3jn54khce6mua7l",a={},c=0;c<s.length;c++){var f=s.charAt(c);if(void 0!==a[f])throw new TypeError(f+" is ambiguous");a[f]=c}t.exports={decode:function(e){if(e.length<8)throw new TypeError(e+" too short");if(e.length>90)throw new TypeError(e+" too long");var t=e.toLowerCase(),r=e.toUpperCase();if(e!==t&&e!==r)throw new Error("Mixed-case string "+e);var o=(e=t).lastIndexOf("1");if(0===o)throw new Error("Missing prefix for "+e);var s=e.slice(0,o),c=e.slice(o+1);if(c.length<6)throw new Error("Data too short");for(var f=i(s),u=[],h=0;h<c.length;++h){var l=c.charAt(h),d=a[l];if(void 0===d)throw new Error("Unknown character "+l);f=n(f)^d,h+6>=c.length||u.push(d)}if(1!==f)throw new Error("Invalid checksum for "+e);return{prefix:s,words:u}},encode:function(e,t){if(e.length+7+t.length>90)throw new TypeError("Exceeds Bech32 maximum length");for(var r=i(e=e.toLowerCase()),o=e+"1",a=0;a<t.length;++a){var c=t[a];if(c>>5!=0)throw new Error("Non 5-bit word");r=n(r)^c,o+=s.charAt(c)}for(var f=0;f<6;++f)r=n(r);r^=1;for(var u=0;u<6;++u){var h=r>>5*(5-u)&31;o+=s.charAt(h)}return o},toWords:function(e){return o(e,8,5,!0)},fromWords:function(e){return o(e,5,8,!1)}}},{}],24:[function(e,t,r){function BigInteger(e,t,r){if(!(this instanceof BigInteger))return new BigInteger(e,t,r);null!=e&&("number"==typeof e?this.fromNumber(e,t,r):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function n(e){return E.charAt(e)}function i(e,t){var r=S[e.charCodeAt(t)];return null==r?-1:r}function o(e){var t=new BigInteger;return t.fromInt(e),t}function s(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}function a(e){this.m=e}function c(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function f(e,t){return e&t}function u(e,t){return e|t}function h(e,t){return e^t}function l(e,t){return e&~t}function d(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function p(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function b(){}function y(e){return e}function v(e){this.r2=new BigInteger,this.q3=new BigInteger,BigInteger.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}var m=BigInteger.prototype;m.__bigi=e("../package.json").version,BigInteger.isBigInteger=function(e,t){return e&&e.__bigi&&(!t||e.__bigi===m.__bigi)};BigInteger.prototype.am=function(e,t,r,n,i,o){for(;--o>=0;){var s=t*this[e++]+r[n]+i;i=Math.floor(s/67108864),r[n++]=67108863&s}return i},BigInteger.prototype.DB=26,BigInteger.prototype.DM=67108863;var g=BigInteger.prototype.DV=1<<26;BigInteger.prototype.FV=Math.pow(2,52),BigInteger.prototype.F1=26,BigInteger.prototype.F2=0;var w,_,E="0123456789abcdefghijklmnopqrstuvwxyz",S=new Array;for(w="0".charCodeAt(0),_=0;_<=9;++_)S[w++]=_;for(w="a".charCodeAt(0),_=10;_<36;++_)S[w++]=_;for(w="A".charCodeAt(0),_=10;_<36;++_)S[w++]=_;a.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},a.prototype.revert=function(e){return e},a.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},a.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},a.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},c.prototype.convert=function(e){var t=new BigInteger;return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(BigInteger.ZERO)>0&&this.m.subTo(t,t),t},c.prototype.revert=function(e){var t=new BigInteger;return e.copyTo(t),this.reduce(t),t},c.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var r=32767&e[t],n=r*this.mpl+((r*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[r=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},c.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},c.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},m.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},m.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+g:this.t=0},m.fromString=function(e,t){var r;if(16==t)r=4;else if(8==t)r=3;else if(256==t)r=8;else if(2==t)r=1;else if(32==t)r=5;else{if(4!=t)return void this.fromRadix(e,t);r=2}this.t=0,this.s=0;for(var n=e.length,o=!1,s=0;--n>=0;){var a=8==r?255&e[n]:i(e,n);a<0?"-"==e.charAt(n)&&(o=!0):(o=!1,0==s?this[this.t++]=a:s+r>this.DB?(this[this.t-1]|=(a&(1<<this.DB-s)-1)<<s,this[this.t++]=a>>this.DB-s):this[this.t-1]|=a<<s,(s+=r)>=this.DB&&(s-=this.DB))}8==r&&0!=(128&e[0])&&(this.s=-1,s>0&&(this[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),o&&BigInteger.ZERO.subTo(this,this)},m.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},m.dlShiftTo=function(e,t){var r;for(r=this.t-1;r>=0;--r)t[r+e]=this[r];for(r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s},m.drShiftTo=function(e,t){for(var r=e;r<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s},m.lShiftTo=function(e,t){var r,n=e%this.DB,i=this.DB-n,o=(1<<i)-1,s=Math.floor(e/this.DB),a=this.s<<n&this.DM;for(r=this.t-1;r>=0;--r)t[r+s+1]=this[r]>>i|a,a=(this[r]&o)<<n;for(r=s-1;r>=0;--r)t[r]=0;t[s]=a,t.t=this.t+s+1,t.s=this.s,t.clamp()},m.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)t.t=0;else{var n=e%this.DB,i=this.DB-n,o=(1<<n)-1;t[0]=this[r]>>n;for(var s=r+1;s<this.t;++s)t[s-r-1]|=(this[s]&o)<<i,t[s-r]=this[s]>>n;n>0&&(t[this.t-r-1]|=(this.s&o)<<i),t.t=this.t-r,t.clamp()}},m.subTo=function(e,t){for(var r=0,n=0,i=Math.min(e.t,this.t);r<i;)n+=this[r]-e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n-=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n-=e[r],t[r++]=n&this.DM,n>>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:n>0&&(t[r++]=n),t.t=r,t.clamp()},m.multiplyTo=function(e,t){var r=this.abs(),n=e.abs(),i=r.t;for(t.t=i+n.t;--i>=0;)t[i]=0;for(i=0;i<n.t;++i)t[i+r.t]=r.am(0,n[i],t,i,0,r.t);t.s=0,t.clamp(),this.s!=e.s&&BigInteger.ZERO.subTo(t,t)},m.squareTo=function(e){for(var t=this.abs(),r=e.t=2*t.t;--r>=0;)e[r]=0;for(r=0;r<t.t-1;++r){var n=t.am(r,t[r],e,2*r,0,1);(e[r+t.t]+=t.am(r+1,2*t[r],e,2*r+1,n,t.t-r-1))>=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},m.divRemTo=function(e,t,r){var n=e.abs();if(!(n.t<=0)){var i=this.abs();if(i.t<n.t)return null!=t&&t.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=new BigInteger);var o=new BigInteger,a=this.s,c=e.s,f=this.DB-s(n[n.t-1]);f>0?(n.lShiftTo(f,o),i.lShiftTo(f,r)):(n.copyTo(o),i.copyTo(r));var u=o.t,h=o[u-1];if(0!=h){var l=h*(1<<this.F1)+(u>1?o[u-2]>>this.F2:0),d=this.FV/l,p=(1<<this.F1)/l,b=1<<this.F2,y=r.t,v=y-u,m=null==t?new BigInteger:t;for(o.dlShiftTo(v,m),r.compareTo(m)>=0&&(r[r.t++]=1,r.subTo(m,r)),BigInteger.ONE.dlShiftTo(u,m),m.subTo(o,o);o.t<u;)o[o.t++]=0;for(;--v>=0;){var g=r[--y]==h?this.DM:Math.floor(r[y]*d+(r[y-1]+b)*p);if((r[y]+=o.am(0,g,r,v,0,u))<g)for(o.dlShiftTo(v,m),r.subTo(m,r);r[y]<--g;)r.subTo(m,r)}null!=t&&(r.drShiftTo(u,t),a!=c&&BigInteger.ZERO.subTo(t,t)),r.t=u,r.clamp(),f>0&&r.rShiftTo(f,r),a<0&&BigInteger.ZERO.subTo(r,r)}}},m.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return t=t*(2-(15&e)*t)&15,t=t*(2-(255&e)*t)&255,t=t*(2-((65535&e)*t&65535))&65535,(t=t*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},m.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},m.exp=function(e,t){if(e>4294967295||e<1)return BigInteger.ONE;var r=new BigInteger,n=new BigInteger,i=t.convert(this),o=s(e)-1;for(i.copyTo(r);--o>=0;)if(t.sqrTo(r,n),(e&1<<o)>0)t.mulTo(n,i,r);else{var a=r;r=n,n=a}return t.revert(r)},m.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var r,i=(1<<t)-1,o=!1,s="",a=this.t,c=this.DB-a*this.DB%t;if(a-- >0)for(c<this.DB&&(r=this[a]>>c)>0&&(o=!0,s=n(r));a>=0;)c<t?(r=(this[a]&(1<<c)-1)<<t-c,r|=this[--a]>>(c+=this.DB-t)):(r=this[a]>>(c-=t)&i,c<=0&&(c+=this.DB,--a)),r>0&&(o=!0),o&&(s+=n(r));return o?s:"0"},m.negate=function(){var e=new BigInteger;return BigInteger.ZERO.subTo(this,e),e},m.abs=function(){return this.s<0?this.negate():this},m.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this[r]-e[r]))return t;return 0},m.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+s(this[this.t-1]^this.s&this.DM)},m.byteLength=function(){return this.bitLength()>>3},m.mod=function(e){var t=new BigInteger;return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(BigInteger.ZERO)>0&&e.subTo(t,t),t},m.modPowInt=function(e,t){var r;return r=e<256||t.isEven()?new a(t):new c(t),this.exp(e,r)},b.prototype.convert=y,b.prototype.revert=y,b.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r)},b.prototype.sqrTo=function(e,t){e.squareTo(t)},v.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=new BigInteger;return e.copyTo(t),this.reduce(t),t},v.prototype.revert=function(e){return e},v.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},v.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},v.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var k=[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],A=(1<<26)/k[k.length-1];m.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},m.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),r=Math.pow(e,t),n=o(r),i=new BigInteger,s=new BigInteger,a="";for(this.divRemTo(n,i,s);i.signum()>0;)a=(r+s.intValue()).toString(e).substr(1)+a,i.divRemTo(n,i,s);return s.intValue().toString(e)+a},m.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var r=this.chunkSize(t),n=Math.pow(t,r),o=!1,s=0,a=0,c=0;c<e.length;++c){var f=i(e,c);f<0?"-"==e.charAt(c)&&0==this.signum()&&(o=!0):(a=t*a+f,++s>=r&&(this.dMultiply(n),this.dAddOffset(a,0),s=0,a=0))}s>0&&(this.dMultiply(Math.pow(t,s)),this.dAddOffset(a,0)),o&&BigInteger.ZERO.subTo(this,this)},m.fromNumber=function(e,t,r){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(BigInteger.ONE.shiftLeft(e-1),u,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(BigInteger.ONE.shiftLeft(e-1),this);else{var n=new Array,i=7&e;n.length=1+(e>>3),t.nextBytes(n),i>0?n[0]&=(1<<i)-1:n[0]=0,this.fromString(n,256)}},m.bitwiseTo=function(e,t,r){var n,i,o=Math.min(e.t,this.t);for(n=0;n<o;++n)r[n]=t(this[n],e[n]);if(e.t<this.t){for(i=e.s&this.DM,n=o;n<this.t;++n)r[n]=t(this[n],i);r.t=this.t}else{for(i=this.s&this.DM,n=o;n<e.t;++n)r[n]=t(i,e[n]);r.t=e.t}r.s=t(this.s,e.s),r.clamp()},m.changeBit=function(e,t){var r=BigInteger.ONE.shiftLeft(e);return this.bitwiseTo(r,t,r),r},m.addTo=function(e,t){for(var r=0,n=0,i=Math.min(e.t,this.t);r<i;)n+=this[r]+e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n+=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n+=e[r],t[r++]=n&this.DM,n>>=this.DB;n+=e.s}t.s=n<0?-1:0,n>0?t[r++]=n:n<-1&&(t[r++]=this.DV+n),t.t=r,t.clamp()},m.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},m.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},m.multiplyLowerTo=function(e,t,r){var n=Math.min(this.t+e.t,t);for(r.s=0,r.t=n;n>0;)r[--n]=0;var i;for(i=r.t-this.t;n<i;++n)r[n+this.t]=this.am(0,e[n],r,n,0,this.t);for(i=Math.min(e.t,t);n<i;++n)this.am(0,e[n],r,n,0,t-n);r.clamp()},m.multiplyUpperTo=function(e,t,r){--t;var n=r.t=this.t+e.t-t;for(r.s=0;--n>=0;)r[n]=0;for(n=Math.max(t-this.t,0);n<e.t;++n)r[this.t+n-t]=this.am(t-n,e[n],r,0,0,this.t+n-t);r.clamp(),r.drShiftTo(1,r)},m.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,r=this.s<0?e-1:0;if(this.t>0)if(0==t)r=this[0]%e;else for(var n=this.t-1;n>=0;--n)r=(t*r+this[n])%e;return r},m.millerRabin=function(e){var t=this.subtract(BigInteger.ONE),r=t.getLowestSetBit();if(r<=0)return!1;var n=t.shiftRight(r);(e=e+1>>1)>k.length&&(e=k.length);for(var i=new BigInteger(null),o=[],s=0;s<e;++s){for(;c=k[Math.floor(Math.random()*k.length)],-1!=o.indexOf(c););o.push(c),i.fromInt(c);var a=i.modPow(n,this);if(0!=a.compareTo(BigInteger.ONE)&&0!=a.compareTo(t)){for(var c=1;c++<r&&0!=a.compareTo(t);)if(0==(a=a.modPowInt(2,this)).compareTo(BigInteger.ONE))return!1;if(0!=a.compareTo(t))return!1}}return!0},m.clone=function(){var e=new BigInteger;return this.copyTo(e),e},m.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]},m.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},m.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},m.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},m.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var r,n=this.DB-e*this.DB%8,i=0;if(e-- >0)for(n<this.DB&&(r=this[e]>>n)!=(this.s&this.DM)>>n&&(t[i++]=r|this.s<<this.DB-n);e>=0;)n<8?(r=(this[e]&(1<<n)-1)<<8-n,r|=this[--e]>>(n+=this.DB-8)):(r=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),0!=(128&r)&&(r|=-256),0===i&&(128&this.s)!=(128&r)&&++i,(i>0||r!=this.s)&&(t[i++]=r);return t},m.equals=function(e){return 0==this.compareTo(e)},m.min=function(e){return this.compareTo(e)<0?this:e},m.max=function(e){return this.compareTo(e)>0?this:e},m.and=function(e){var t=new BigInteger;return this.bitwiseTo(e,f,t),t},m.or=function(e){var t=new BigInteger;return this.bitwiseTo(e,u,t),t},m.xor=function(e){var t=new BigInteger;return this.bitwiseTo(e,h,t),t},m.andNot=function(e){var t=new BigInteger;return this.bitwiseTo(e,l,t),t},m.not=function(){for(var e=new BigInteger,t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},m.shiftLeft=function(e){var t=new BigInteger;return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},m.shiftRight=function(e){var t=new BigInteger;return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},m.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+d(this[e]);return this.s<0?this.t*this.DB:-1},m.bitCount=function(){for(var e=0,t=this.s&this.DM,r=0;r<this.t;++r)e+=p(this[r]^t);return e},m.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},m.setBit=function(e){return this.changeBit(e,u)},m.clearBit=function(e){return this.changeBit(e,l)},m.flipBit=function(e){return this.changeBit(e,h)},m.add=function(e){var t=new BigInteger;return this.addTo(e,t),t},m.subtract=function(e){var t=new BigInteger;return this.subTo(e,t),t},m.multiply=function(e){var t=new BigInteger;return this.multiplyTo(e,t),t},m.divide=function(e){var t=new BigInteger;return this.divRemTo(e,t,null),t},m.remainder=function(e){var t=new BigInteger;return this.divRemTo(e,null,t),t},m.divideAndRemainder=function(e){var t=new BigInteger,r=new BigInteger;return this.divRemTo(e,t,r),new Array(t,r)},m.modPow=function(e,t){var r,n,i=e.bitLength(),f=o(1);if(i<=0)return f;r=i<18?1:i<48?3:i<144?4:i<768?5:6,n=i<8?new a(t):t.isEven()?new v(t):new c(t);var u=new Array,h=3,l=r-1,d=(1<<r)-1;if(u[1]=n.convert(this),r>1){var p=new BigInteger;for(n.sqrTo(u[1],p);h<=d;)u[h]=new BigInteger,n.mulTo(p,u[h-2],u[h]),h+=2}var b,y,m=e.t-1,g=!0,w=new BigInteger;for(i=s(e[m])-1;m>=0;){for(i>=l?b=e[m]>>i-l&d:(b=(e[m]&(1<<i+1)-1)<<l-i,m>0&&(b|=e[m-1]>>this.DB+i-l)),h=r;0==(1&b);)b>>=1,--h;if((i-=h)<0&&(i+=this.DB,--m),g)u[b].copyTo(f),g=!1;else{for(;h>1;)n.sqrTo(f,w),n.sqrTo(w,f),h-=2;h>0?n.sqrTo(f,w):(y=f,f=w,w=y),n.mulTo(w,u[b],f)}for(;m>=0&&0==(e[m]&1<<i);)n.sqrTo(f,w),y=f,f=w,w=y,--i<0&&(i=this.DB-1,--m)}return n.revert(f)},m.modInverse=function(e){var t=e.isEven();if(0===this.signum())throw new Error("division by zero");if(this.isEven()&&t||0==e.signum())return BigInteger.ZERO;for(var r=e.clone(),n=this.clone(),i=o(1),s=o(0),a=o(0),c=o(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),t?(i.isEven()&&s.isEven()||(i.addTo(this,i),s.subTo(e,s)),i.rShiftTo(1,i)):s.isEven()||s.subTo(e,s),s.rShiftTo(1,s);for(;n.isEven();)n.rShiftTo(1,n),t?(a.isEven()&&c.isEven()||(a.addTo(this,a),c.subTo(e,c)),a.rShiftTo(1,a)):c.isEven()||c.subTo(e,c),c.rShiftTo(1,c);r.compareTo(n)>=0?(r.subTo(n,r),t&&i.subTo(a,i),s.subTo(c,s)):(n.subTo(r,n),t&&a.subTo(i,a),c.subTo(s,c))}if(0!=n.compareTo(BigInteger.ONE))return BigInteger.ZERO;for(;c.compareTo(e)>=0;)c.subTo(e,c);for(;c.signum()<0;)c.addTo(e,c);return c},m.pow=function(e){return this.exp(e,new b)},m.gcd=function(e){var t=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone();if(t.compareTo(r)<0){var n=t;t=r,r=n}var i=t.getLowestSetBit(),o=r.getLowestSetBit();if(o<0)return t;for(i<o&&(o=i),o>0&&(t.rShiftTo(o,t),r.rShiftTo(o,r));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=r.getLowestSetBit())>0&&r.rShiftTo(i,r),t.compareTo(r)>=0?(t.subTo(r,t),t.rShiftTo(1,t)):(r.subTo(t,r),r.rShiftTo(1,r));return o>0&&r.lShiftTo(o,r),r},m.isProbablePrime=function(e){var t,r=this.abs();if(1==r.t&&r[0]<=k[k.length-1]){for(t=0;t<k.length;++t)if(r[0]==k[t])return!0;return!1}if(r.isEven())return!1;for(t=1;t<k.length;){for(var n=k[t],i=t+1;i<k.length&&n<A;)n*=k[i++];for(n=r.modInt(n);t<i;)if(n%k[t++]==0)return!1}return r.millerRabin(e)},m.square=function(){var e=new BigInteger;return this.squareTo(e),e},BigInteger.ZERO=o(0),BigInteger.ONE=o(1),BigInteger.valueOf=o,t.exports=BigInteger},{"../package.json":27}],25:[function(e,t,r){(function(Buffer){var t=e("assert"),BigInteger=e("./bigi");BigInteger.fromByteArrayUnsigned=function(e){return new BigInteger(128&e[0]?[0].concat(e):e)},BigInteger.prototype.toByteArrayUnsigned=function(){var e=this.toByteArray();return 0===e[0]?e.slice(1):e},BigInteger.fromDERInteger=function(e){return new BigInteger(e)},BigInteger.prototype.toDERInteger=BigInteger.prototype.toByteArray,BigInteger.fromBuffer=function(e){if(128&e[0]){var t=Array.prototype.slice.call(e);return new BigInteger([0].concat(t))}return new BigInteger(e)},BigInteger.fromHex=function(e){return""===e?BigInteger.ZERO:(t.equal(e,e.match(/^[A-Fa-f0-9]+/),"Invalid hex string"),t.equal(e.length%2,0,"Incomplete hex"),new BigInteger(e,16))},BigInteger.prototype.toBuffer=function(e){for(var t=this.toByteArrayUnsigned(),r=[],n=e-t.length;r.length<n;)r.push(0);return new Buffer(r.concat(t))},BigInteger.prototype.toHex=function(e){return this.toBuffer(e).toString("hex")}}).call(this,e("buffer").Buffer)},{"./bigi":24,assert:20,buffer:105}],26:[function(e,t,r){var BigInteger=e("./bigi");e("./convert"),t.exports=BigInteger},{"./bigi":24,"./convert":25}],27:[function(e,t,r){t.exports={_args:[[{raw:"bigi@^1.4.0",scope:null,escapedName:"bigi",name:"bigi",rawSpec:"^1.4.0",spec:">=1.4.0 <2.0.0",type:"range"},"/work/blocktrail-sdk-nodejs/node_modules/bitcoinjs-lib"]],_from:"bigi@>=1.4.0 <2.0.0",_id:"[email protected]",_inCache:!0,_location:"/bigi",_nodeVersion:"6.1.0",_npmOperationalInternal:{host:"packages-12-west.internal.npmjs.com",tmp:"tmp/bigi-1.4.2.tgz_1469584192413_0.6801238611806184"},_npmUser:{name:"jprichardson",email:"[email protected]"},_npmVersion:"3.8.6",_phantomChildren:{},_requested:{raw:"bigi@^1.4.0",scope:null,escapedName:"bigi",name:"bigi",rawSpec:"^1.4.0",spec:">=1.4.0 <2.0.0",type:"range"},_requiredBy:["/bitcoinjs-lib","/ecurve"],_resolved:"https://registry.npmjs.org/bigi/-/bigi-1.4.2.tgz",_shasum:"9c665a95f88b8b08fc05cfd731f561859d725825",_shrinkwrap:null,_spec:"bigi@^1.4.0",_where:"/work/blocktrail-sdk-nodejs/node_modules/bitcoinjs-lib",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"},directories:{},dist:{shasum:"9c665a95f88b8b08fc05cfd731f561859d725825",tarball:"https://registry.npmjs.org/bigi/-/bigi-1.4.2.tgz"},gitHead:"c25308081c896ff84702303722bf5ecd8b3f78e3",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",maintainers:[{name:"midnightlightning",email:"[email protected]"},{name:"sidazhang",email:"[email protected]"},{name:"nadav",email:"[email protected]"},{name:"jprichardson",email:"[email protected]"}],name:"bigi",optionalDependencies:{},readme:"ERROR: No README data found!",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"}},{}],28:[function(e,t,r){(function(Buffer){var r=e("./lib/index"),n=e("./sjcl");e("assert")("function"==typeof n.hash.sha512);var i=function(e){var t=new n.misc.hmac(e,n.hash.sha512);this.encrypt=function(){return t.encrypt.apply(t,arguments)}};r.setPbkdf2(function(e,t,r,o,s){var a;switch(s){case"sha512":a=i;break;default:throw new Error("Digest ["+s+"] not implemented")}var c=n.misc.pbkdf2(n.codec.utf8String.toBits(e),n.codec.utf8String.toBits(t),r,8*o,a);return new Buffer(n.codec.hex.fromBits(c),"hex")}),t.exports={salt:r.salt,mnemonicToSeed:r.mnemonicToSeed,mnemonicToSeedHex:r.mnemonicToSeedHex,mnemonicToEntropy:r.mnemonicToEntropy,entropyToMnemonic:r.entropyToMnemonic,generateMnemonic:r.generateMnemonic,validateMnemonic:r.validateMnemonic}}).call(this,e("buffer").Buffer)},{"./lib/index":29,"./sjcl":30,assert:20,buffer:105}],29:[function(e,t,r){(function(Buffer){function r(e,t){return f(e,s(t),2048,64,"sha512")}function n(e,t){t=t||p;var r=e.split(" ");u(r.length%3==0,"Invalid mnemonic");var n=r.every(function(e){return t.indexOf(e)>-1});u(n,"Invalid mnemonic");var i=r.map(function(e){return c(t.indexOf(e).toString(2),"0",11)}).join(""),s=32*Math.floor(i.length/33),a=i.slice(0,s),f=i.slice(s),h=a.match(/(.{1,8})/g).map(function(e){return parseInt(e,2)}),l=new Buffer(h),d=o(l);return u(d===f,"Invalid mnemonic checksum"),l.toString("hex")}function i(e,t){t=t||p;var r=new Buffer(e,"hex");return(a([].slice.call(r))+o(r)).match(/(.{1,11})/g).map(function(e){var r=parseInt(e,2);return t[r]}).join(" ")}function o(e){var t=h("sha256").update(e).digest(),r=8*e.length/32;return a([].slice.call(t)).slice(0,r)}function s(e){return"mnemonic"+(d.nfkd(e)||"")}function a(e){return e.map(function(e){return c(e.toString(2),"0",8)}).join("")}function c(e,t,r){for(;e.length<r;)e=t+e;return e}var f,u=e("assert"),h=e("create-hash"),l=e("randombytes"),d=e("unorm"),p=e("../wordlists/en.json");t.exports={setPbkdf2:function(e){f=e},salt:s,mnemonicToSeed:r,mnemonicToSeedHex:function(e,t){return r(e,t).toString("hex")},mnemonicToEntropy:n,entropyToMnemonic:i,generateMnemonic:function(e,t,r){return e=e||128,i((t=t||l)(e/8).toString("hex"),r)},validateMnemonic:function(e,t){try{n(e,t)}catch(e){return!1}return!0}}}).call(this,e("buffer").Buffer)},{"../wordlists/en.json":31,assert:20,buffer:105,"create-hash":130,randombytes:299,unorm:356}],30:[function(e,t,r){"use strict";function n(e){throw e}function i(e,t,r){4!==t.length&&n(new h.exception.invalid("invalid aes block size"));var i=e.b[r],o=t[0]^i[0],s=t[r?3:1]^i[1],a=t[2]^i[2];t=t[r?1:3]^i[3];var c,f,u,l,d=i.length/4-2,p=4,b=[0,0,0,0];e=(c=e.o[r])[0];var y=c[1],v=c[2],m=c[3],g=c[4];for(l=0;l<d;l++)c=e[o>>>24]^y[s>>16&255]^v[a>>8&255]^m[255&t]^i[p],f=e[s>>>24]^y[a>>16&255]^v[t>>8&255]^m[255&o]^i[p+1],u=e[a>>>24]^y[t>>16&255]^v[o>>8&255]^m[255&s]^i[p+2],t=e[t>>>24]^y[o>>16&255]^v[s>>8&255]^m[255&a]^i[p+3],p+=4,o=c,s=f,a=u;for(l=0;4>l;l++)b[r?3&-l:l]=g[o>>>24]<<24^g[s>>16&255]<<16^g[a>>8&255]<<8^g[255&t]^i[p++],c=o,o=s,s=a,a=t,t=c;return b}function o(e,t){var r,n=h.random.D[e],i=[];for(r in n)n.hasOwnProperty(r)&&i.push(n[r]);for(r=0;r<i.length;r++)i[r](t)}function s(e){"undefined"!=typeof window&&window.performance&&"function"==typeof window.performance.now?h.random.addEntropy(window.performance.now(),e,"loadtime"):h.random.addEntropy((new Date).valueOf(),e,"loadtime")}function a(e){e.b=c(e).concat(c(e)),e.F=new h.cipher.aes(e.b)}function c(e){for(var t=0;4>t&&(e.i[t]=e.i[t]+1|0,!e.i[t]);t++);return e.F.encrypt(e.i)}function f(e,t){return function(){t.apply(e,arguments)}}var u=void 0,h={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(e){this.toString=function(){return"CORRUPT: "+this.message},this.message=e},invalid:function(e){this.toString=function(){return"INVALID: "+this.message},this.message=e},bug:function(e){this.toString=function(){return"BUG: "+this.message},this.message=e},notReady:function(e){this.toString=function(){return"NOT READY: "+this.message},this.message=e}}};void 0!==t&&t.exports&&(t.exports=h),"function"==typeof define&&define([],function(){return h}),h.cipher.aes=function(e){this.o[0][0][0]||this.t();var t,r,i,o,s=this.o[0][4],a=this.o[1],c=1;for(4!==(t=e.length)&&6!==t&&8!==t&&n(new h.exception.invalid("invalid aes key size")),this.b=[i=e.slice(0),o=[]],e=t;e<4*t+28;e++)r=i[e-1],(0==e%t||8===t&&4==e%t)&&(r=s[r>>>24]<<24^s[r>>16&255]<<16^s[r>>8&255]<<8^s[255&r],0==e%t&&(r=r<<8^r>>>24^c<<24,c=c<<1^283*(c>>7))),i[e]=i[e-t]^r;for(t=0;e;t++,e--)r=i[3&t?e:e-4],o[t]=4>=e||4>t?r:a[0][s[r>>>24]]^a[1][s[r>>16&255]]^a[2][s[r>>8&255]]^a[3][s[255&r]]},h.cipher.aes.prototype={encrypt:function(e){return i(this,e,0)},decrypt:function(e){return i(this,e,1)},o:[[[],[],[],[],[]],[[],[],[],[],[]]],t:function(){var e,t,r,n,i,o,s,a=this.o[0],c=this.o[1],f=a[4],u=c[4],h=[],l=[];for(e=0;256>e;e++)l[(h[e]=e<<1^283*(e>>7))^e]=e;for(t=r=0;!f[t];t^=n||1,r=l[r]||1)for(o=(o=r^r<<1^r<<2^r<<3^r<<4)>>8^255&o^99,f[t]=o,u[o]=t,s=16843009*(i=h[e=h[n=h[t]]])^65537*e^257*n^16843008*t,i=257*h[o]^16843008*o,e=0;4>e;e++)a[e][t]=i=i<<24^i>>>8,c[e][o]=s=s<<24^s>>>8;for(e=0;5>e;e++)a[e]=a[e].slice(0),c[e]=c[e].slice(0)}},h.bitArray={bitSlice:function(e,t,r){return e=h.bitArray.R(e.slice(t/32),32-(31&t)).slice(1),r===u?e:h.bitArray.clamp(e,r-t)},extract:function(e,t,r){var n=Math.floor(-t-r&31);return(-32&(t+r-1^t)?e[t/32|0]<<32-n^e[t/32+1|0]>>>n:e[t/32|0]>>>n)&(1<<r)-1},concat:function(e,t){if(0===e.length||0===t.length)return e.concat(t);var r=e[e.length-1],n=h.bitArray.getPartial(r);return 32===n?e.concat(t):h.bitArray.R(t,n,0|r,e.slice(0,e.length-1))},bitLength:function(e){var t=e.length;return 0===t?0:32*(t-1)+h.bitArray.getPartial(e[t-1])},clamp:function(e,t){if(32*e.length<t)return e;var r=(e=e.slice(0,Math.ceil(t/32))).length;return t&=31,0<r&&t&&(e[r-1]=h.bitArray.partial(t,e[r-1]&2147483648>>t-1,1)),e},partial:function(e,t,r){return 32===e?t:(r?0|t:t<<32-e)+1099511627776*e},getPartial:function(e){return Math.round(e/1099511627776)||32},equal:function(e,t){if(h.bitArray.bitLength(e)!==h.bitArray.bitLength(t))return!1;var r,n=0;for(r=0;r<e.length;r++)n|=e[r]^t[r];return 0===n},R:function(e,t,r,n){var i;for(i=0,n===u&&(n=[]);32<=t;t-=32)n.push(r),r=0;if(0===t)return n.concat(e);for(i=0;i<e.length;i++)n.push(r|e[i]>>>t),r=e[i]<<32-t;return i=e.length?e[e.length-1]:0,e=h.bitArray.getPartial(i),n.push(h.bitArray.partial(t+e&31,32<t+e?r:n.pop(),1)),n},j:function(e,t){return[e[0]^t[0],e[1]^t[1],e[2]^t[2],e[3]^t[3]]},byteswapM:function(e){var t,r;for(t=0;t<e.length;++t)r=e[t],e[t]=r>>>24|r>>>8&65280|(65280&r)<<8|r<<24;return e}},h.codec.utf8String={fromBits:function(e){var t,r,n="",i=h.bitArray.bitLength(e);for(t=0;t<i/8;t++)0==(3&t)&&(r=e[t/4]),n+=String.fromCharCode(r>>>24),r<<=8;return decodeURIComponent(escape(n))},toBits:function(e){e=unescape(encodeURIComponent(e));var t,r=[],n=0;for(t=0;t<e.length;t++)n=n<<8|e.charCodeAt(t),3==(3&t)&&(r.push(n),n=0);return 3&t&&r.push(h.bitArray.partial(8*(3&t),n)),r}},h.codec.hex={fromBits:function(e){var t,r="";for(t=0;t<e.length;t++)r+=(0xf00000000000+(0|e[t])).toString(16).substr(4);return r.substr(0,h.bitArray.bitLength(e)/4)},toBits:function(e){var t,r,n=[];for(r=(e=e.replace(/\s|0x/g,"")).length,e+="00000000",t=0;t<e.length;t+=8)n.push(0^parseInt(e.substr(t,8),16));return h.bitArray.clamp(n,4*r)}},h.codec.base64={M:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fromBits:function(e,t,r){var n="",i=0,o=h.codec.base64.M,s=0,a=h.bitArray.bitLength(e);for(r&&(o=o.substr(0,62)+"-_"),r=0;6*n.length<a;)n+=o.charAt((s^e[r]>>>i)>>>26),6>i?(s=e[r]<<6-i,i+=26,r++):(s<<=6,i-=6);for(;3&n.length&&!t;)n+="=";return n},toBits:function(e,t){e=e.replace(/\s|=/g,"");var r,i,o=[],s=0,a=h.codec.base64.M,c=0;for(t&&(a=a.substr(0,62)+"-_"),r=0;r<e.length;r++)0>(i=a.indexOf(e.charAt(r)))&&n(new h.exception.invalid("this isn't base64!")),26<s?(s-=26,o.push(c^i>>>s),c=i<<32-s):(s+=6,c^=i<<32-s);return 56&s&&o.push(h.bitArray.partial(56&s,c,1)),o}},h.codec.base64url={fromBits:function(e){return h.codec.base64.fromBits(e,1,1)},toBits:function(e){return h.codec.base64.toBits(e,1)}},h.hash.sha256=function(e){this.b[0]||this.t(),e?(this.e=e.e.slice(0),this.d=e.d.slice(0),this.c=e.c):this.reset()},h.hash.sha256.hash=function(e){return(new h.hash.sha256).update(e).finalize()},h.hash.sha256.prototype={blockSize:512,reset:function(){return this.e=this.l.slice(0),this.d=[],this.c=0,this},update:function(e){"string"==typeof e&&(e=h.codec.utf8String.toBits(e));var t,r=this.d=h.bitArray.concat(this.d,e);for(t=this.c,e=this.c=t+h.bitArray.bitLength(e),t=512+t&-512;t<=e;t+=512)this.r(r.splice(0,16));return this},finalize:function(){var e,t=this.d,r=this.e;for(e=(t=h.bitArray.concat(t,[h.bitArray.partial(1,1)])).length+2;15&e;e++)t.push(0);for(t.push(Math.floor(this.c/4294967296)),t.push(0|this.c);t.length;)this.r(t.splice(0,16));return this.reset(),r},l:[],b:[],t:function(){function e(e){return 4294967296*(e-Math.floor(e))|0}var t,r=0,n=2;e:for(;64>r;n++){for(t=2;t*t<=n;t++)if(0==n%t)continue e;8>r&&(this.l[r]=e(Math.pow(n,.5))),this.b[r]=e(Math.pow(n,1/3)),r++}},r:function(e){var t,r,n=e.slice(0),i=this.e,o=this.b,s=i[0],a=i[1],c=i[2],f=i[3],u=i[4],h=i[5],l=i[6],d=i[7];for(e=0;64>e;e++)16>e?t=n[e]:(t=n[e+1&15],r=n[e+14&15],t=n[15&e]=(t>>>7^t>>>18^t>>>3^t<<25^t<<14)+(r>>>17^r>>>19^r>>>10^r<<15^r<<13)+n[15&e]+n[e+9&15]|0),t=t+d+(u>>>6^u>>>11^u>>>25^u<<26^u<<21^u<<7)+(l^u&(h^l))+o[e],d=l,l=h,h=u,u=f+t|0,f=c,c=a,a=s,s=t+(a&c^f&(a^c))+(a>>>2^a>>>13^a>>>22^a<<30^a<<19^a<<10)|0;i[0]=i[0]+s|0,i[1]=i[1]+a|0,i[2]=i[2]+c|0,i[3]=i[3]+f|0,i[4]=i[4]+u|0,i[5]=i[5]+h|0,i[6]=i[6]+l|0,i[7]=i[7]+d|0}},h.hash.sha512=function(e){this.b[0]||this.t(),e?(this.e=e.e.slice(0),this.d=e.d.slice(0),this.c=e.c):this.reset()},h.hash.sha512.hash=function(e){return(new h.hash.sha512).update(e).finalize()},h.hash.sha512.prototype={blockSize:1024,reset:function(){return this.e=this.l.slice(0),this.d=[],this.c=0,this},update:function(e){"string"==typeof e&&(e=h.codec.utf8String.toBits(e));var t,r=this.d=h.bitArray.concat(this.d,e);for(t=this.c,e=this.c=t+h.bitArray.bitLength(e),t=1024+t&-1024;t<=e;t+=1024)this.r(r.splice(0,32));return this},finalize:function(){var e,t=this.d,r=this.e;for(e=(t=h.bitArray.concat(t,[h.bitArray.partial(1,1)])).length+4;31&e;e++)t.push(0);for(t.push(0),t.push(0),t.push(Math.floor(this.c/4294967296)),t.push(0|this.c);t.length;)this.r(t.splice(0,32));return this.reset(),r},l:[],ca:[12372232,13281083,9762859,1914609,15106769,4090911,4308331,8266105],b:[],ea:[2666018,15689165,5061423,9034684,4764984,380953,1658779,7176472,197186,7368638,14987916,16757986,8096111,1480369,13046325,6891156,15813330,5187043,9229749,11312229,2818677,10937475,4324308,1135541,6741931,11809296,16458047,15666916,11046850,698149,229999,945776,13774844,2541862,12856045,9810911,11494366,7844520,15576806,8533307,15795044,4337665,16291729,5553712,15684120,6662416,7413802,12308920,13816008,4303699,9366425,10176680,13195875,4295371,6546291,11712675,15708924,1519456,15772530,6568428,6495784,8568297,13007125,7492395,2515356,12632583,14740254,7262584,1535930,13146278,16321966,1853211,294276,13051027,13221564,1051980,4080310,6651434,14088940,4675607],t:function(){function e(e){return 4294967296*(e-Math.floor(e))|0}function t(e){return 1099511627776*(e-Math.floor(e))&255}var r,n=0,i=2;e:for(;80>n;i++){for(r=2;r*r<=i;r++)if(0==i%r)continue e;8>n&&(this.l[2*n]=e(Math.pow(i,.5)),this.l[2*n+1]=t(Math.pow(i,.5))<<24|this.ca[n]),this.b[2*n]=e(Math.pow(i,1/3)),this.b[2*n+1]=t(Math.pow(i,1/3))<<24|this.ea[n],n++}},r:function(e){var t,r,n=e.slice(0),i=this.e,o=this.b,s=i[0],a=i[1],c=i[2],f=i[3],u=i[4],h=i[5],l=i[6],d=i[7],p=i[8],b=i[9],y=i[10],v=i[11],m=i[12],g=i[13],w=i[14],_=i[15],E=s,S=a,k=c,A=f,x=u,I=h,T=l,B=d,P=p,M=b,C=y,R=v,O=m,L=g,j=w,N=_;for(e=0;80>e;e++){if(16>e)t=n[2*e],r=n[2*e+1];else{r=n[2*(e-15)];t=((D=n[2*(e-15)+1])<<31|r>>>1)^(D<<24|r>>>8)^r>>>7;G=(r<<31|D>>>1)^(r<<24|D>>>8)^(r<<25|D>>>7);r=n[2*(e-2)];var D=((U=n[2*(e-2)+1])<<13|r>>>19)^(r<<3|U>>>29)^r>>>6,U=(r<<13|U>>>19)^(U<<3|r>>>29)^(r<<26|U>>>6),K=n[2*(e-7)],H=n[2*(e-16)],z=n[2*(e-16)+1];t=t+K+((r=G+n[2*(e-7)+1])>>>0<G>>>0?1:0),t+=D+((r+=U)>>>0<U>>>0?1:0),t+=H+((r+=z)>>>0<z>>>0?1:0)}n[2*e]=t|=0,n[2*e+1]=r|=0;var K=P&C^~P&O,q=M&R^~M&L,U=E&k^E&x^k&x,F=S&A^S&I^A&I,H=(S<<4|E>>>28)^(E<<30|S>>>2)^(E<<25|S>>>7),z=(E<<4|S>>>28)^(S<<30|E>>>2)^(S<<25|E>>>7),W=o[2*e],V=o[2*e+1],G=(G=(G=(G=j+((M<<18|P>>>14)^(M<<14|P>>>18)^(P<<23|M>>>9))+((D=N+((P<<18|M>>>14)^(P<<14|M>>>18)^(M<<23|P>>>9)))>>>0<N>>>0?1:0))+(K+((D=D+q)>>>0<q>>>0?1:0)))+(W+((D=D+V)>>>0<V>>>0?1:0)))+(t+((D=D+r|0)>>>0<r>>>0?1:0));t=H+U+((r=z+F)>>>0<z>>>0?1:0),j=O,N=L,O=C,L=R,C=P,R=M,P=T+G+((M=B+D|0)>>>0<B>>>0?1:0)|0,T=x,B=I,x=k,I=A,k=E,A=S,E=G+t+((S=D+r|0)>>>0<D>>>0?1:0)|0}a=i[1]=a+S|0,i[0]=s+E+(a>>>0<S>>>0?1:0)|0,f=i[3]=f+A|0,i[2]=c+k+(f>>>0<A>>>0?1:0)|0,h=i[5]=h+I|0,i[4]=u+x+(h>>>0<I>>>0?1:0)|0,d=i[7]=d+B|0,i[6]=l+T+(d>>>0<B>>>0?1:0)|0,b=i[9]=b+M|0,i[8]=p+P+(b>>>0<M>>>0?1:0)|0,v=i[11]=v+R|0,i[10]=y+C+(v>>>0<R>>>0?1:0)|0,g=i[13]=g+L|0,i[12]=m+O+(g>>>0<L>>>0?1:0)|0,_=i[15]=_+N|0,i[14]=w+j+(_>>>0<N>>>0?1:0)|0}},h.mode.ccm={name:"ccm",w:[],listenProgress:function(e){h.mode.ccm.w.push(e)},unListenProgress:function(e){-1<(e=h.mode.ccm.w.indexOf(e))&&h.mode.ccm.w.splice(e,1)},X:function(e){var t,r=h.mode.ccm.w.slice();for(t=0;t<r.length;t+=1)r[t](e)},encrypt:function(e,t,r,i,o){var s,a=t.slice(0),c=h.bitArray,f=c.bitLength(r)/8,u=c.bitLength(a)/8;for(o=o||64,i=i||[],7>f&&n(new h.exception.invalid("ccm: iv must be at least 7 bytes")),s=2;4>s&&u>>>8*s;s++);return s<15-f&&(s=15-f),r=c.clamp(r,8*(15-s)),t=h.mode.ccm.O(e,t,r,i,o,s),a=h.mode.ccm.s(e,a,r,t,o,s),c.concat(a.data,a.tag)},decrypt:function(e,t,r,i,o){o=o||64,i=i||[];var s=h.bitArray,a=s.bitLength(r)/8,c=s.bitLength(t),f=s.clamp(t,c-o),u=s.bitSlice(t,c-o),c=(c-o)/8;for(7>a&&n(new h.exception.invalid("ccm: iv must be at least 7 bytes")),t=2;4>t&&c>>>8*t;t++);return t<15-a&&(t=15-a),r=s.clamp(r,8*(15-t)),f=h.mode.ccm.s(e,f,r,u,o,t),e=h.mode.ccm.O(e,f.data,r,i,o,t),s.equal(f.tag,e)||n(new h.exception.corrupt("ccm: tag doesn't match")),f.data},ga:function(e,t,r,n,i,o){var s=[],a=h.bitArray,c=a.j;if(n=[a.partial(8,(t.length?64:0)|n-2<<2|o-1)],n=a.concat(n,r),n[3]|=i,n=e.encrypt(n),t.length)for(65279>=(r=a.bitLength(t)/8)?s=[a.partial(16,r)]:4294967295>=r&&(s=a.concat([a.partial(16,65534)],[r])),s=a.concat(s,t),t=0;t<s.length;t+=4)n=e.encrypt(c(n,s.slice(t,t+4).concat([0,0,0])));return n},O:function(e,t,r,i,o,s){var a=h.bitArray,c=a.j;for(((o/=8)%2||4>o||16<o)&&n(new h.exception.invalid("ccm: invalid tag length")),(4294967295<i.length||4294967295<t.length)&&n(new h.exception.bug("ccm: can't deal with 4GiB or more data")),r=h.mode.ccm.ga(e,i,r,o,a.bitLength(t)/8,s),i=0;i<t.length;i+=4)r=e.encrypt(c(r,t.slice(i,i+4).concat([0,0,0])));return a.clamp(r,8*o)},s:function(e,t,r,n,i,o){var s,a=h.bitArray;s=a.j;var c=t.length,f=a.bitLength(t),u=c/50,l=u;if(r=a.concat([a.partial(8,o-1)],r).concat([0,0,0]).slice(0,4),n=a.bitSlice(s(n,e.encrypt(r)),0,i),!c)return{tag:n,data:[]};for(s=0;s<c;s+=4)s>u&&(h.mode.ccm.X(s/c),u+=l),r[3]++,i=e.encrypt(r),t[s]^=i[0],t[s+1]^=i[1],t[s+2]^=i[2],t[s+3]^=i[3];return{tag:n,data:a.clamp(t,f)}}},h.mode.ocb2={name:"ocb2",encrypt:function(e,t,r,i,o,s){128!==h.bitArray.bitLength(r)&&n(new h.exception.invalid("ocb iv must be 128 bits"));var a,c=h.mode.ocb2.K,f=h.bitArray,u=f.j,l=[0,0,0,0];r=c(e.encrypt(r));var d,p=[];for(i=i||[],o=o||64,a=0;a+4<t.length;a+=4)d=t.slice(a,a+4),l=u(l,d),p=p.concat(u(r,e.encrypt(u(r,d)))),r=c(r);return d=t.slice(a),t=f.bitLength(d),a=e.encrypt(u(r,[0,0,0,t])),d=f.clamp(u(d.concat([0,0,0]),a),t),l=u(l,u(d.concat([0,0,0]),a)),l=e.encrypt(u(l,u(r,c(r)))),i.length&&(l=u(l,s?i:h.mode.ocb2.pmac(e,i))),p.concat(f.concat(d,f.clamp(l,o)))},decrypt:function(e,t,r,i,o,s){128!==h.bitArray.bitLength(r)&&n(new h.exception.invalid("ocb iv must be 128 bits")),o=o||64;var a,c,f=h.mode.ocb2.K,u=h.bitArray,l=u.j,d=[0,0,0,0],p=f(e.encrypt(r)),b=h.bitArray.bitLength(t)-o,y=[];for(i=i||[],r=0;r+4<b/32;r+=4)a=l(p,e.decrypt(l(p,t.slice(r,r+4)))),d=l(d,a),y=y.concat(a),p=f(p);return c=b-32*r,a=e.encrypt(l(p,[0,0,0,c])),a=l(a,u.clamp(t.slice(r),c).concat([0,0,0])),d=l(d,a),d=e.encrypt(l(d,l(p,f(p)))),i.length&&(d=l(d,s?i:h.mode.ocb2.pmac(e,i))),u.equal(u.clamp(d,o),u.bitSlice(t,b))||n(new h.exception.corrupt("ocb: tag doesn't match")),y.concat(u.clamp(a,c))},pmac:function(e,t){var r,n=h.mode.ocb2.K,i=h.bitArray,o=i.j,s=[0,0,0,0],a=o(a=e.encrypt([0,0,0,0]),n(n(a)));for(r=0;r+4<t.length;r+=4)a=n(a),s=o(s,e.encrypt(o(a,t.slice(r,r+4))));return r=t.slice(r),128>i.bitLength(r)&&(a=o(a,n(a)),r=i.concat(r,[-2147483648,0,0,0])),s=o(s,r),e.encrypt(o(n(o(a,n(a))),s))},K:function(e){return[e[0]<<1^e[1]>>>31,e[1]<<1^e[2]>>>31,e[2]<<1^e[3]>>>31,e[3]<<1^135*(e[0]>>>31)]}},h.mode.gcm={name:"gcm",encrypt:function(e,t,r,n,i){var o=t.slice(0);return t=h.bitArray,n=n||[],e=h.mode.gcm.s(!0,e,o,n,r,i||128),t.concat(e.data,e.tag)},decrypt:function(e,t,r,i,o){var s=t.slice(0),a=h.bitArray,c=a.bitLength(s);return o=o||128,i=i||[],o<=c?(t=a.bitSlice(s,c-o),s=a.bitSlice(s,0,c-o)):(t=s,s=[]),e=h.mode.gcm.s(!1,e,s,i,r,o),a.equal(e.tag,t)||n(new h.exception.corrupt("gcm: tag doesn't match")),e.data},ba:function(e,t){var r,n,i,o,s,a=h.bitArray.j;for(i=[0,0,0,0],o=t.slice(0),r=0;128>r;r++){for((n=0!=(e[Math.floor(r/32)]&1<<31-r%32))&&(i=a(i,o)),s=0!=(1&o[3]),n=3;0<n;n--)o[n]=o[n]>>>1|(1&o[n-1])<<31;o[0]>>>=1,s&&(o[0]^=-520093696)}return i},k:function(e,t,r){var n,i=r.length;for(t=t.slice(0),n=0;n<i;n+=4)t[0]^=4294967295&r[n],t[1]^=4294967295&r[n+1],t[2]^=4294967295&r[n+2],t[3]^=4294967295&r[n+3],t=h.mode.gcm.ba(t,e);return t},s:function(e,t,r,n,i,o){var s,a,c,f,u,l,d,p,b=h.bitArray;for(l=r.length,d=b.bitLength(r),p=b.bitLength(n),a=b.bitLength(i),s=t.encrypt([0,0,0,0]),96===a?(i=i.slice(0),i=b.concat(i,[1])):(i=h.mode.gcm.k(s,[0,0,0,0],i),i=h.mode.gcm.k(s,i,[0,0,Math.floor(a/4294967296),4294967295&a])),a=h.mode.gcm.k(s,[0,0,0,0],n),u=i.slice(0),n=a.slice(0),e||(n=h.mode.gcm.k(s,a,r)),f=0;f<l;f+=4)u[3]++,c=t.encrypt(u),r[f]^=c[0],r[f+1]^=c[1],r[f+2]^=c[2],r[f+3]^=c[3];return r=b.clamp(r,d),e&&(n=h.mode.gcm.k(s,a,r)),e=[Math.floor(p/4294967296),4294967295&p,Math.floor(d/4294967296),4294967295&d],n=h.mode.gcm.k(s,n,e),c=t.encrypt(i),n[0]^=c[0],n[1]^=c[1],n[2]^=c[2],n[3]^=c[3],{tag:b.bitSlice(n,0,o),data:r}}},h.misc.hmac=function(e,t){this.P=t=t||h.hash.sha256;var r,n=[[],[]],i=t.prototype.blockSize/32;for(this.q=[new t,new t],e.length>i&&(e=t.hash(e)),r=0;r<i;r++)n[0][r]=909522486^e[r],n[1][r]=1549556828^e[r];this.q[0].update(n[0]),this.q[1].update(n[1]),this.J=new t(this.q[0])},h.misc.hmac.prototype.encrypt=h.misc.hmac.prototype.mac=function(e){return this.S&&n(new h.exception.invalid("encrypt on already updated hmac called!")),this.update(e),this.digest(e)},h.misc.hmac.prototype.reset=function(){this.J=new this.P(this.q[0]),this.S=!1},h.misc.hmac.prototype.update=function(e){this.S=!0,this.J.update(e)},h.misc.hmac.prototype.digest=function(){var e=this.J.finalize(),e=new this.P(this.q[1]).update(e).finalize();return this.reset(),e},h.misc.pbkdf2=function(e,t,r,i,o){r=r||1e3,(0>i||0>r)&&n(h.exception.invalid("invalid params to pbkdf2")),"string"==typeof e&&(e=h.codec.utf8String.toBits(e)),"string"==typeof t&&(t=h.codec.utf8String.toBits(t)),e=new(o=o||h.misc.hmac)(e);var s,a,c,f,u=[],l=h.bitArray;for(f=1;32*u.length<(i||1);f++){for(o=s=e.encrypt(l.concat(t,[f])),a=1;a<r;a++)for(s=e.encrypt(s),c=0;c<s.length;c++)o[c]^=s[c];u=u.concat(o)}return i&&(u=l.clamp(u,i)),u},h.prng=function(e){this.f=[new h.hash.sha256],this.m=[0],this.I=0,this.A={},this.H=0,this.N={},this.Q=this.g=this.n=this.Z=0,this.b=[0,0,0,0,0,0,0,0],this.i=[0,0,0,0],this.F=u,this.G=e,this.u=!1,this.D={progress:{},seeded:{}},this.p=this.Y=0,this.B=1,this.C=2,this.U=65536,this.L=[0,48,64,96,128,192,256,384,512,768,1024],this.V=3e4,this.T=80},h.prng.prototype={randomWords:function(e,t){var r,i,o=[];if((r=this.isReady(t))===this.p&&n(new h.exception.notReady("generator isn't seeded")),r&this.C){r=!(r&this.B),i=[];var s,f=0;for(this.Q=i[0]=(new Date).valueOf()+this.V,s=0;16>s;s++)i.push(4294967296*Math.random()|0);for(s=0;s<this.f.length&&(i=i.concat(this.f[s].finalize()),f+=this.m[s],this.m[s]=0,!(!r&&this.I&1<<s));s++);for(this.I>=1<<this.f.length&&(this.f.push(new h.hash.sha256),this.m.push(0)),this.g-=f,f>this.n&&(this.n=f),this.I++,this.b=h.hash.sha256.hash(this.b.concat(i)),this.F=new h.cipher.aes(this.b),r=0;4>r&&(this.i[r]=this.i[r]+1|0,!this.i[r]);r++);}for(r=0;r<e;r+=4)0==(r+1)%this.U&&a(this),i=c(this),o.push(i[0],i[1],i[2],i[3]);return a(this),o.slice(0,e)},setDefaultParanoia:function(e,t){0===e&&"Setting paranoia=0 will ruin your security; use it only for testing"!==t&&n("Setting paranoia=0 will ruin your security; use it only for testing"),this.G=e},addEntropy:function(e,t,r){r=r||"user";var i,s,a=(new Date).valueOf(),c=this.A[r],f=this.isReady(),l=0;switch((i=this.N[r])===u&&(i=this.N[r]=this.Z++),c===u&&(c=this.A[r]=0),this.A[r]=(this.A[r]+1)%this.f.length,typeof e){case"number":t===u&&(t=1),this.f[c].update([i,this.H++,1,t,a,1,0|e]);break;case"object":if("[object Uint32Array]"===(r=Object.prototype.toString.call(e))){for(s=[],r=0;r<e.length;r++)s.push(e[r]);e=s}else for("[object Array]"!==r&&(l=1),r=0;r<e.length&&!l;r++)"number"!=typeof e[r]&&(l=1);if(!l){if(t===u)for(r=t=0;r<e.length;r++)for(s=e[r];0<s;)t++,s>>>=1;this.f[c].update([i,this.H++,2,t,a,e.length].concat(e))}break;case"string":t===u&&(t=e.length),this.f[c].update([i,this.H++,3,t,a,e.length]),this.f[c].update(e);break;default:l=1}l&&n(new h.exception.bug("random: addEntropy only supports number, array of numbers or string")),this.m[c]+=t,this.g+=t,f===this.p&&(this.isReady()!==this.p&&o("seeded",Math.max(this.n,this.g)),o("progress",this.getProgress()))},isReady:function(e){return e=this.L[e!==u?e:this.G],this.n&&this.n>=e?this.m[0]>this.T&&(new Date).valueOf()>this.Q?this.C|this.B:this.B:this.g>=e?this.C|this.p:this.p},getProgress:function(e){return e=this.L[e||this.G],this.n>=e?1:this.g>e?1:this.g/e},startCollectors:function(){this.u||(this.a={loadTimeCollector:f(this,this.fa),mouseCollector:f(this,this.ha),keyboardCollector:f(this,this.da),accelerometerCollector:f(this,this.W),touchCollector:f(this,this.ja)},window.addEventListener?(window.addEventListener("load",this.a.loadTimeCollector,!1),window.addEventListener("mousemove",this.a.mouseCollector,!1),window.addEventListener("keypress",this.a.keyboardCollector,!1),window.addEventListener("devicemotion",this.a.accelerometerCollector,!1),window.addEventListener("touchmove",this.a.touchCollector,!1)):document.attachEvent?(document.attachEvent("onload",this.a.loadTimeCollector),document.attachEvent("onmousemove",this.a.mouseCollector),document.attachEvent("keypress",this.a.keyboardCollector)):n(new h.exception.bug("can't attach event")),this.u=!0)},stopCollectors:function(){this.u&&(window.removeEventListener?(window.removeEventListener("load",this.a.loadTimeCollector,!1),window.removeEventListener("mousemove",this.a.mouseCollector,!1),window.removeEventListener("keypress",this.a.keyboardCollector,!1),window.removeEventListener("devicemotion",this.a.accelerometerCollector,!1),window.removeEventListener("touchmove",this.a.touchCollector,!1)):document.detachEvent&&(document.detachEvent("onload",this.a.loadTimeCollector),document.detachEvent("onmousemove",this.a.mouseCollector),document.detachEvent("keypress",this.a.keyboardCollector)),this.u=!1)},addEventListener:function(e,t){this.D[e][this.Y++]=t},removeEventListener:function(e,t){var r,n,i=this.D[e],o=[];for(n in i)i.hasOwnProperty(n)&&i[n]===t&&o.push(n);for(r=0;r<o.length;r++)n=o[r],delete i[n]},da:function(){s(1)},ha:function(e){var t,r;try{t=e.x||e.clientX||e.offsetX||0,r=e.y||e.clientY||e.offsetY||0}catch(e){r=t=0}0!=t&&0!=r&&h.random.addEntropy([t,r],2,"mouse"),s(0)},ja:function(e){e=e.touches[0]||e.changedTouches[0],h.random.addEntropy([e.pageX||e.clientX,e.pageY||e.clientY],1,"touch"),s(0)},fa:function(){s(2)},W:function(e){if(e=e.accelerationIncludingGravity.x||e.accelerationIncludingGravity.y||e.accelerationIncludingGravity.z,window.orientation){var t=window.orientation;"number"==typeof t&&h.random.addEntropy(t,1,"accelerometer")}e&&h.random.addEntropy(e,2,"accelerometer"),s(0)}},h.random=new h.prng(6);e:try{var l,d,p,b;if(b=void 0!==t){var y;if(y=t.exports){var v;try{v=e("crypto")}catch(e){v=null}y=(d=v)&&d.randomBytes}b=y}if(b)l=d.randomBytes(128),l=new Uint32Array(new Uint8Array(l).buffer),h.random.addEntropy(l,1024,"crypto['randomBytes']");else if("undefined"!=typeof window&&"undefined"!=typeof Uint32Array){if(p=new Uint32Array(32),window.crypto&&window.crypto.getRandomValues)window.crypto.getRandomValues(p);else{if(!window.msCrypto||!window.msCrypto.getRandomValues)break e;window.msCrypto.getRandomValues(p)}h.random.addEntropy(p,1024,"crypto['getRandomValues']")}}catch(e){"undefined"!=typeof window&&window.console&&(console.log("There was an error collecting entropy from the browser:"),console.log(e))}h.json={defaults:{v:1,iter:1e3,ks:128,ts:64,mode:"ccm",adata:"",cipher:"aes"},aa:function(e,t,r,i){r=r||{},i=i||{};var o,s=h.json,a=s.h({iv:h.random.randomWords(4,0)},s.defaults);return s.h(a,r),r=a.adata,"string"==typeof a.salt&&(a.salt=h.codec.base64.toBits(a.salt)),"string"==typeof a.iv&&(a.iv=h.codec.base64.toBits(a.iv)),(!h.mode[a.mode]||!h.cipher[a.cipher]||"string"==typeof e&&100>=a.iter||64!==a.ts&&96!==a.ts&&128!==a.ts||128!==a.ks&&192!==a.ks&&256!==a.ks||2>a.iv.length||4<a.iv.length)&&n(new h.exception.invalid("json encrypt: invalid parameters")),"string"==typeof e?(o=h.misc.cachedPbkdf2(e,a),e=o.key.slice(0,a.ks/32),a.salt=o.salt):h.ecc&&e instanceof h.ecc.elGamal.publicKey&&(o=e.kem(),a.kemtag=o.tag,e=o.key.slice(0,a.ks/32)),"string"==typeof t&&(t=h.codec.utf8String.toBits(t)),"string"==typeof r&&(a.adata=r=h.codec.utf8String.toBits(r)),o=new h.cipher[a.cipher](e),s.h(i,a),i.key=e,a.ct="ccm"===a.mode&&h.arrayBuffer&&h.arrayBuffer.ccm&&t instanceof ArrayBuffer?h.arrayBuffer.ccm.encrypt(o,t,a.iv,r,a.ts):h.mode[a.mode].encrypt(o,t,a.iv,r,a.ts),a},encrypt:function(e,t,r,n){var i=h.json,o=i.aa.apply(i,arguments);return i.encode(o)},$:function(e,t,r,i){r=r||{},i=i||{};var o,s,a=h.json;return o=(t=a.h(a.h(a.h({},a.defaults),t),r,!0)).adata,"string"==typeof t.salt&&(t.salt=h.codec.base64.toBits(t.salt)),"string"==typeof t.iv&&(t.iv=h.codec.base64.toBits(t.iv)),(!h.mode[t.mode]||!h.cipher[t.cipher]||"string"==typeof e&&100>=t.iter||64!==t.ts&&96!==t.ts&&128!==t.ts||128!==t.ks&&192!==t.ks&&256!==t.ks||!t.iv||2>t.iv.length||4<t.iv.length)&&n(new h.exception.invalid("json decrypt: invalid parameters")),"string"==typeof e?(s=h.misc.cachedPbkdf2(e,t),e=s.key.slice(0,t.ks/32),t.salt=s.salt):h.ecc&&e instanceof h.ecc.elGamal.secretKey&&(e=e.unkem(h.codec.base64.toBits(t.kemtag)).slice(0,t.ks/32)),"string"==typeof o&&(o=h.codec.utf8String.toBits(o)),s=new h.cipher[t.cipher](e),o="ccm"===t.mode&&h.arrayBuffer&&h.arrayBuffer.ccm&&t.ct instanceof ArrayBuffer?h.arrayBuffer.ccm.decrypt(s,t.ct,t.iv,t.tag,o,t.ts):h.mode[t.mode].decrypt(s,t.ct,t.iv,o,t.ts),a.h(i,t),i.key=e,1===r.raw?o:h.codec.utf8String.fromBits(o)},decrypt:function(e,t,r,n){var i=h.json;return i.$(e,i.decode(t),r,n)},encode:function(e){var t,r="{",i="";for(t in e)if(e.hasOwnProperty(t))switch(t.match(/^[a-z0-9]+$/i)||n(new h.exception.invalid("json encode: invalid property name")),r+=i+'"'+t+'":',i=",",typeof e[t]){case"number":case"boolean":r+=e[t];break;case"string":r+='"'+escape(e[t])+'"';break;case"object":r+='"'+h.codec.base64.fromBits(e[t],0)+'"';break;default:n(new h.exception.bug("json encode: unsupported type"))}return r+"}"},decode:function(e){(e=e.replace(/\s/g,"")).match(/^\{.*\}$/)||n(new h.exception.invalid("json decode: this isn't json!")),e=e.replace(/^\{|\}$/g,"").split(/,/);var t,r,i={};for(t=0;t<e.length;t++)(r=e[t].match(/^\s*(?:(["']?)([a-z][a-z0-9]*)\1)\s*:\s*(?:(-?\d+)|"([a-z0-9+\/%*_.@=\-]*)"|(true|false))$/i))||n(new h.exception.invalid("json decode: this isn't json!")),null!=r[3]?i[r[2]]=parseInt(r[3],10):null!=r[4]?i[r[2]]=r[2].match(/^(ct|adata|salt|iv)$/)?h.codec.base64.toBits(r[4]):unescape(r[4]):null!=r[5]&&(i[r[2]]="true"===r[5]);return i},h:function(e,t,r){if(e===u&&(e={}),t===u)return e;for(var i in t)t.hasOwnProperty(i)&&(r&&e[i]!==u&&e[i]!==t[i]&&n(new h.exception.invalid("required parameter overridden")),e[i]=t[i]);return e},la:function(e,t){var r,n={};for(r in e)e.hasOwnProperty(r)&&e[r]!==t[r]&&(n[r]=e[r]);return n},ka:function(e,t){var r,n={};for(r=0;r<t.length;r++)e[t[r]]!==u&&(n[t[r]]=e[t[r]]);return n}},h.encrypt=h.json.encrypt,h.decrypt=h.json.decrypt,h.misc.ia={},h.misc.cachedPbkdf2=function(e,t){var r,n=h.misc.ia;return t=t||{},r=t.iter||1e3,n=n[e]=n[e]||{},r=n[r]=n[r]||{firstSalt:t.salt&&t.salt.length?t.salt.slice(0):h.random.randomWords(2,0)},n=t.salt===u?r.firstSalt:t.salt,r[n]=r[n]||h.misc.pbkdf2(e,n,t.iter),{key:r[n].slice(0),salt:n.slice(0)}}},{crypto:135}],31:[function(e,t,r){t.exports=["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"]},{}],32:[function(e,t,r){var Buffer=e("safe-buffer").Buffer;t.exports={check:function(e){if(e.length<8)return!1;if(e.length>72)return!1;if(48!==e[0])return!1;if(e[1]!==e.length-2)return!1;if(2!==e[2])return!1;var t=e[3];if(0===t)return!1;if(5+t>=e.length)return!1;if(2!==e[4+t])return!1;var r=e[5+t];return!(0===r||6+t+r!==e.length||128&e[4]||t>1&&0===e[4]&&!(128&e[5])||128&e[t+6]||r>1&&0===e[t+6]&&!(128&e[t+7]))},decode:function(e){if(e.length<8)throw new Error("DER sequence length is too short");if(e.length>72)throw new Error("DER sequence length is too long");if(48!==e[0])throw new Error("Expected DER sequence");if(e[1]!==e.length-2)throw new Error("DER sequence length is invalid");if(2!==e[2])throw new Error("Expected DER integer");var t=e[3];if(0===t)throw new Error("R length is zero");if(5+t>=e.length)throw new Error("R length is too long");if(2!==e[4+t])throw new Error("Expected DER integer (2)");var r=e[5+t];if(0===r)throw new Error("S length is zero");if(6+t+r!==e.length)throw new Error("S length is invalid");if(128&e[4])throw new Error("R value is negative");if(t>1&&0===e[4]&&!(128&e[5]))throw new Error("R value excessively padded");if(128&e[t+6])throw new Error("S value is negative");if(r>1&&0===e[t+6]&&!(128&e[t+7]))throw new Error("S value excessively padded");return{r:e.slice(4,4+t),s:e.slice(6+t)}},encode:function(e,t){var r=e.length,n=t.length;if(0===r)throw new Error("R length is zero");if(0===n)throw new Error("S length is zero");if(r>33)throw new Error("R length is too long");if(n>33)throw new Error("S length is too long");if(128&e[0])throw new Error("R value is negative");if(128&t[0])throw new Error("S value is negative");if(r>1&&0===e[0]&&!(128&e[1]))throw new Error("R value excessively padded");if(n>1&&0===t[0]&&!(128&t[1]))throw new Error("S value excessively padded");var i=Buffer.allocUnsafe(6+r+n);return i[0]=48,i[1]=i.length-2,i[2]=2,i[3]=e.length,e.copy(i,4),i[4+r]=2,i[5+r]=t.length,t.copy(i,6+r),i}}},{"safe-buffer":313}],33:[function(e,t,r){t.exports={OP_FALSE:0,OP_0:0,OP_PUSHDATA1:76,OP_PUSHDATA2:77,OP_PUSHDATA4:78,OP_1NEGATE:79,OP_RESERVED:80,OP_TRUE:81,OP_1:81,OP_2:82,OP_3:83,OP_4:84,OP_5:85,OP_6:86,OP_7:87,OP_8:88,OP_9:89,OP_10:90,OP_11:91,OP_12:92,OP_13:93,OP_14:94,OP_15:95,OP_16:96,OP_NOP:97,OP_VER:98,OP_IF:99,OP_NOTIF:100,OP_VERIF:101,OP_VERNOTIF:102,OP_ELSE:103,OP_ENDIF:104,OP_VERIFY:105,OP_RETURN:106,OP_TOALTSTACK:107,OP_FROMALTSTACK:108,OP_2DROP:109,OP_2DUP:110,OP_3DUP:111,OP_2OVER:112,OP_2ROT:113,OP_2SWAP:114,OP_IFDUP:115,OP_DEPTH:116,OP_DROP:117,OP_DUP:118,OP_NIP:119,OP_OVER:120,OP_PICK:121,OP_ROLL:122,OP_ROT:123,OP_SWAP:124,OP_TUCK:125,OP_CAT:126,OP_SUBSTR:127,OP_LEFT:128,OP_RIGHT:129,OP_SIZE:130,OP_INVERT:131,OP_AND:132,OP_OR:133,OP_XOR:134,OP_EQUAL:135,OP_EQUALVERIFY:136,OP_RESERVED1:137,OP_RESERVED2:138,OP_1ADD:139,OP_1SUB:140,OP_2MUL:141,OP_2DIV:142,OP_NEGATE:143,OP_ABS:144,OP_NOT:145,OP_0NOTEQUAL:146,OP_ADD:147,OP_SUB:148,OP_MUL:149,OP_DIV:150,OP_MOD:151,OP_LSHIFT:152,OP_RSHIFT:153,OP_BOOLAND:154,OP_BOOLOR:155,OP_NUMEQUAL:156,OP_NUMEQUALVERIFY:157,OP_NUMNOTEQUAL:158,OP_LESSTHAN:159,OP_GREATERTHAN:160,OP_LESSTHANOREQUAL:161,OP_GREATERTHANOREQUAL:162,OP_MIN:163,OP_MAX:164,OP_WITHIN:165,OP_RIPEMD160:166,OP_SHA1:167,OP_SHA256:168,OP_HASH160:169,OP_HASH256:170,OP_CODESEPARATOR:171,OP_CHECKSIG:172,OP_CHECKSIGVERIFY:173,OP_CHECKMULTISIG:174,OP_CHECKMULTISIGVERIFY:175,OP_NOP1:176,OP_NOP2:177,OP_CHECKLOCKTIMEVERIFY:177,OP_NOP3:178,OP_CHECKSEQUENCEVERIFY:178,OP_NOP4:179,OP_NOP5:180,OP_NOP6:181,OP_NOP7:182,OP_NOP8:183,OP_NOP9:184,OP_NOP10:185,OP_PUBKEYHASH:253,OP_PUBKEY:254,OP_INVALIDOPCODE:255}},{}],34:[function(e,t,r){var n=e("./index.json"),i={};for(var o in n){i[n[o]]=o}t.exports=i},{"./index.json":33}],35:[function(e,t,r){function n(e){var t=h.decode(e);if(t.length<21)throw new TypeError(e+" is too short");if(t.length>21)throw new TypeError(e+" is too long");return{version:t.readUInt8(0),hash:t.slice(1)}}function i(e){var t=f.decode(e),r=f.fromWords(t.words.slice(1));return{version:t.words[0],prefix:t.prefix,data:Buffer.from(r)}}function o(e){return u.decode(e)}function s(e,t){b(y.tuple(y.Hash160bit,y.UInt8),arguments);var r=Buffer.allocUnsafe(21);return r.writeUInt8(t,0),e.copy(r,1),h.encode(r)}function a(e,t,r){var n=f.toWords(e);return n.unshift(t),f.encode(r,n)}function c(e,t,r){return u.encode(r,t,e)}var Buffer=e("safe-buffer").Buffer,f=e("bech32"),u=e("cashaddress"),h=e("bs58check"),l=e("./script"),d=e("./templates"),p=e("./networks"),b=e("typeforce"),y=e("./types");t.exports={fromBase58Check:n,fromBech32:i,fromCashAddress:o,fromOutputScript:function(e,t,r){if(t=t||p.bitcoin,r=r||!1,"cashAddrPrefix"in t&&r){if(l.pubKeyHash.output.check(e))return c(l.compile(e).slice(3,23),d.types.P2PKH,t.cashAddrPrefix);if(l.scriptHash.output.check(e))return c(l.compile(e).slice(2,22),d.types.P2SH,t.cashAddrPrefix)}else{if(l.pubKeyHash.output.check(e))return s(l.compile(e).slice(3,23),t.pubKeyHash);if(l.scriptHash.output.check(e))return s(l.compile(e).slice(2,22),t.scriptHash)}if(l.witnessPubKeyHash.output.check(e))return a(l.compile(e).slice(2,22),0,t.bech32);if(l.witnessScriptHash.output.check(e))return a(l.compile(e).slice(2,34),0,t.bech32);throw new Error(l.toASM(e)+" has no matching Address")},toBase58Check:s,toBech32:a,toCashAddress:c,toOutputScript:function(e,t,r){var s;if("cashAddrPrefix"in(t=t||p.bitcoin)&&r){try{if("pubkeyhash"===(s=o(e)).version)return l.pubKeyHash.output.encode(s.hash);if("scripthash"===s.version)return l.scriptHash.output.encode(s.hash)}catch(e){}if(s&&s.prefix!==t.cashAddrPrefix)throw new Error(e+" has an invalid prefix")}try{if((s=n(e)).version===t.pubKeyHash)return l.pubKeyHash.output.encode(s.hash);if(s.version===t.scriptHash)return l.scriptHash.output.encode(s.hash)}catch(e){}if(!s&&"bech32"in t){try{s=i(e)}catch(e){}if(s){if(s.prefix!==t.bech32)throw new Error(e+" has an invalid prefix");if(0===s.version){if(20===s.data.length)return l.witnessPubKeyHash.output.encode(s.data);if(32===s.data.length)return l.witnessScriptHash.output.encode(s.data)}}}throw new Error(e+" has no matching Script")}}},{"./networks":44,"./script":45,"./templates":47,"./types":71,bech32:23,bs58check:101,cashaddress:108,"safe-buffer":313,typeforce:354}],36:[function(e,t,r){function n(){this.version=1,this.prevHash=null,this.merkleRoot=null,this.timestamp=0,this.bits=0,this.nonce=0}var Buffer=e("safe-buffer").Buffer,i=e("buffer-reverse"),o=e("./crypto"),s=e("merkle-lib/fastRoot"),a=e("typeforce"),c=e("./types"),f=e("varuint-bitcoin"),u=e("./transaction");n.fromBuffer=function(e){function t(t){return o+=t,e.slice(o-t,o)}function r(){var t=e.readUInt32LE(o);return o+=4,t}function i(){var t=u.fromBuffer(e.slice(o),!0);return o+=t.byteLength(),t}if(e.length<80)throw new Error("Buffer too small (< 80 bytes)");var o=0,s=new n;if(s.version=function(){var t=e.readInt32LE(o);return o+=4,t}(),s.prevHash=t(32),s.merkleRoot=t(32),s.timestamp=r(),s.bits=r(),s.nonce=r(),80===e.length)return s;var a=function(){var t=f.decode(e,o);return o+=f.decode.bytes,t}();s.transactions=[];for(var c=0;c<a;++c){var h=i();s.transactions.push(h)}return s},n.prototype.byteLength=function(e){return e||!this.transactions?80:80+f.encodingLength(this.transactions.length)+this.transactions.reduce(function(e,t){return e+t.byteLength()},0)},n.fromHex=function(e){return n.fromBuffer(Buffer.from(e,"hex"))},n.prototype.getHash=function(){return o.hash256(this.toBuffer(!0))},n.prototype.getId=function(){return i(this.getHash()).toString("hex")},n.prototype.getUTCDate=function(){var e=new Date(0);return e.setUTCSeconds(this.timestamp),e},n.prototype.toBuffer=function(e){function t(e){e.copy(n,i),i+=e.length}function r(e){n.writeUInt32LE(e,i),i+=4}var n=Buffer.allocUnsafe(this.byteLength(e)),i=0;return function(e){n.writeInt32LE(e,i),i+=4}(this.version),t(this.prevHash),t(this.merkleRoot),r(this.timestamp),r(this.bits),r(this.nonce),e||!this.transactions?n:(f.encode(this.transactions.length,n,i),i+=f.encode.bytes,this.transactions.forEach(function(e){var t=e.byteLength();e.toBuffer(n,i),i+=t}),n)},n.prototype.toHex=function(e){return this.toBuffer(e).toString("hex")},n.calculateTarget=function(e){var t=((4278190080&e)>>24)-3,r=8388607&e,n=Buffer.alloc(32,0);return n.writeUInt32BE(r,28-t),n},n.calculateMerkleRoot=function(e){if(a([{getHash:c.Function}],e),0===e.length)throw TypeError("Cannot compute merkle root for zero transactions");var t=e.map(function(e){return e.getHash()});return s(t,o.hash256)},n.prototype.checkMerkleRoot=function(){if(!this.transactions)return!1;var e=n.calculateMerkleRoot(this.transactions);return 0===this.merkleRoot.compare(e)},n.prototype.checkProofOfWork=function(){var e=i(this.getHash()),t=n.calculateTarget(this.bits);return e.compare(t)<=0},t.exports=n},{"./crypto":38,"./transaction":69,"./types":71,"buffer-reverse":103,"merkle-lib/fastRoot":254,"safe-buffer":313,typeforce:354,"varuint-bitcoin":363}],37:[function(e,t,r){function n(e,t){if("number"!=typeof e)throw new Error("cannot write a non-number as a number");if(e<0)throw new Error("specified a negative value for writing an unsigned value");if(e>t)throw new Error("RangeError: value out of range");if(Math.floor(e)!==e)throw new Error("value has a fractional component")}var i=e("pushdata-bitcoin"),o=e("varuint-bitcoin");t.exports={pushDataSize:i.encodingLength,readPushDataInt:i.decode,readUInt64LE:function(e,t){var r=e.readUInt32LE(t),i=e.readUInt32LE(t+4);return i*=4294967296,n(i+r,9007199254740991),i+r},readVarInt:function(e,t){return{number:o.decode(e,t),size:o.decode.bytes}},varIntBuffer:o.encode,varIntSize:o.encodingLength,writePushDataInt:i.encode,writeUInt64LE:function(e,t,r){return n(t,9007199254740991),e.writeInt32LE(-1&t,r),e.writeUInt32LE(Math.floor(t/4294967296),r+4),r+8},writeVarInt:function(e,t,r){return o.encode(t,e,r),o.encode.bytes}}},{"pushdata-bitcoin":294,"varuint-bitcoin":363}],38:[function(e,t,r){function n(e){return o("rmd160").update(e).digest()}function i(e){return o("sha256").update(e).digest()}var o=e("create-hash");t.exports={hash160:function(e){return n(i(e))},hash256:function(e){return i(i(e))},ripemd160:n,sha1:function(e){return o("sha1").update(e).digest()},sha256:i}},{"create-hash":130}],39:[function(e,t,r){function n(e,t,r){o(s.tuple(s.Hash256bit,s.Buffer256bit,s.Function),arguments);var n=Buffer.alloc(32,0),a=Buffer.alloc(32,1);n=i("sha256",n).update(a).update(c).update(t).update(e).digest(),a=i("sha256",n).update(a).digest(),n=i("sha256",n).update(a).update(f).update(t).update(e).digest(),a=i("sha256",n).update(a).digest(),a=i("sha256",n).update(a).digest();for(var h=BigInteger.fromBuffer(a);h.signum()<=0||h.compareTo(u.n)>=0||!r(h);)n=i("sha256",n).update(a).update(c).digest(),a=i("sha256",n).update(a).digest(),a=i("sha256",n).update(a).digest(),h=BigInteger.fromBuffer(a);return h}var Buffer=e("safe-buffer").Buffer,i=e("create-hmac"),o=e("typeforce"),s=e("./types"),BigInteger=e("bigi"),a=e("./ecsignature"),c=Buffer.alloc(1,0),f=Buffer.alloc(1,1),u=e("ecurve").getCurveByName("secp256k1"),h=u.n.shiftRight(1);t.exports={deterministicGenerateK:n,sign:function(e,t){o(s.tuple(s.Hash256bit,s.BigInt),arguments);var r,i,c=t.toBuffer(32),f=BigInteger.fromBuffer(e),l=u.n,d=u.G;return n(e,c,function(e){var n=d.multiply(e);return!u.isInfinity(n)&&0!==(r=n.affineX.mod(l)).signum()&&0!==(i=e.modInverse(l).multiply(f.add(t.multiply(r))).mod(l)).signum()}),i.compareTo(h)>0&&(i=l.subtract(i)),new a(r,i)},verify:function(e,t,r){o(s.tuple(s.Hash256bit,s.ECSignature,s.ECPoint),arguments);var n=u.n,i=u.G,a=t.r,c=t.s;if(a.signum()<=0||a.compareTo(n)>=0)return!1;if(c.signum()<=0||c.compareTo(n)>=0)return!1;var f=BigInteger.fromBuffer(e),h=c.modInverse(n),l=f.multiply(h).mod(n),d=a.multiply(h).mod(n),p=i.multiplyTwo(l,r,d);return!u.isInfinity(p)&&p.affineX.mod(n).equals(a)},__curve:u}},{"./ecsignature":41,"./types":71,bigi:26,"create-hmac":133,ecurve:227,"safe-buffer":313,typeforce:354}],40:[function(e,t,r){function ECPair(e,t,r){if(r&&a({compressed:c.maybe(c.Boolean),network:c.maybe(c.Network)},r),r=r||{},e){if(e.signum()<=0)throw new Error("Private key must be greater than 0");if(e.compareTo(l.n)>=0)throw new Error("Private key must be less than the curve order");if(t)throw new TypeError("Unexpected publicKey parameter");this.d=e}else a(c.ECPoint,t),this.__Q=t;this.compressed=void 0===r.compressed||r.compressed,this.network=r.network||u.bitcoin}var n=e("./address"),i=e("./crypto"),o=e("./ecdsa"),s=e("randombytes"),a=e("typeforce"),c=e("./types"),f=e("wif"),u=e("./networks"),BigInteger=e("bigi"),h=e("ecurve"),l=o.__curve;Object.defineProperty(ECPair.prototype,"Q",{get:function(){return!this.__Q&&this.d&&(this.__Q=l.G.multiply(this.d)),this.__Q}}),ECPair.fromPublicKeyBuffer=function(e,t){var r=h.Point.decodeFrom(l,e);return new ECPair(null,r,{compressed:r.compressed,network:t})},ECPair.fromWIF=function(e,t){var r=f.decode(e),n=r.version;if(c.Array(t)){if(!(t=t.filter(function(e){return n===e.wif}).pop()))throw new Error("Unknown network version")}else if(t=t||u.bitcoin,n!==t.wif)throw new Error("Invalid network version");return new ECPair(BigInteger.fromBuffer(r.privateKey),null,{compressed:r.compressed,network:t})},ECPair.makeRandom=function(e){var t,r=(e=e||{}).rng||s;do{var n=r(32);a(c.Buffer256bit,n),t=BigInteger.fromBuffer(n)}while(t.signum()<=0||t.compareTo(l.n)>=0);return new ECPair(t,null,e)},ECPair.prototype.getAddress=function(){return n.toBase58Check(i.hash160(this.getPublicKeyBuffer()),this.getNetwork().pubKeyHash)},ECPair.prototype.getNetwork=function(){return this.network},ECPair.prototype.getPublicKeyBuffer=function(){return this.Q.getEncoded(this.compressed)},ECPair.prototype.sign=function(e){if(!this.d)throw new Error("Missing private key");return o.sign(e,this.d)},ECPair.prototype.toWIF=function(){if(!this.d)throw new Error("Missing private key");return f.encode(this.network.wif,this.d.toBuffer(32),this.compressed)},ECPair.prototype.verify=function(e,t){return o.verify(e,t,this.Q)},t.exports=ECPair},{"./address":35,"./crypto":38,"./ecdsa":39,"./networks":44,"./types":71,bigi:26,ecurve:227,randombytes:299,typeforce:354,wif:366}],41:[function(e,t,r){(function(Buffer){function r(e,t){i(o.tuple(o.BigInt,o.BigInt),arguments),this.r=e,this.s=t}var n=e("bip66"),i=e("typeforce"),o=e("./types"),BigInteger=e("bigi");r.parseCompact=function(e){if(65!==e.length)throw new Error("Invalid signature length");var t=e.readUInt8(0)-27;if(t!==(7&t))throw new Error("Invalid signature parameter");return{compressed:!!(4&t),i:3&t,signature:new r(BigInteger.fromBuffer(e.slice(1,33)),BigInteger.fromBuffer(e.slice(33)))}},r.fromDER=function(e){var t=n.decode(e);return new r(BigInteger.fromDERInteger(t.r),BigInteger.fromDERInteger(t.s))},r.parseScriptSignature=function(e){var t=e.readUInt8(e.length-1),n=-193&t;if(n<=0||n>=4)throw new Error("Invalid hashType "+t);return{signature:r.fromDER(e.slice(0,-1)),hashType:t}},r.prototype.toCompact=function(e,t){t&&(e+=4),e+=27;var r=Buffer.alloc(65);return r.writeUInt8(e,0),this.r.toBuffer(32).copy(r,1),this.s.toBuffer(32).copy(r,33),r},r.prototype.toDER=function(){var e=Buffer.from(this.r.toDERInteger()),t=Buffer.from(this.s.toDERInteger());return n.encode(e,t)},r.prototype.toScriptSignature=function(e){var t=-193&e;if(t<=0||t>=4)throw new Error("Invalid hashType "+e);var r=Buffer.alloc(1);return r.writeUInt8(e,0),Buffer.concat([this.toDER(),r])},t.exports=r}).call(this,e("buffer").Buffer)},{"./types":71,bigi:26,bip66:32,buffer:105,typeforce:354}],42:[function(e,t,r){function HDNode(e,t){if(s(a.tuple("ECPair",a.Buffer256bit),arguments),!e.compressed)throw new TypeError("BIP32 only allows compressed keyPairs");this.keyPair=e,this.chainCode=t,this.depth=0,this.index=0,this.parentFingerprint=0}var Buffer=e("safe-buffer").Buffer,n=e("bs58check"),i=e("./crypto"),o=e("create-hmac"),s=e("typeforce"),a=e("./types"),c=e("./networks"),BigInteger=e("bigi"),ECPair=e("./ecpair"),f=e("ecurve"),u=f.getCurveByName("secp256k1");HDNode.HIGHEST_BIT=2147483648,HDNode.LENGTH=78,HDNode.MASTER_SECRET=Buffer.from("Bitcoin seed","utf8"),HDNode.fromSeedBuffer=function(e,t){if(s(a.tuple(a.Buffer,a.maybe(a.Network)),arguments),e.length<16)throw new TypeError("Seed should be at least 128 bits");if(e.length>64)throw new TypeError("Seed should be at most 512 bits");var r=o("sha512",HDNode.MASTER_SECRET).update(e).digest(),n=r.slice(0,32),i=r.slice(32),c=BigInteger.fromBuffer(n);return new HDNode(new ECPair(c,null,{network:t}),i)},HDNode.fromSeedHex=function(e,t){return HDNode.fromSeedBuffer(Buffer.from(e,"hex"),t)},HDNode.fromBase58=function(e,t){var r=n.decode(e);if(78!==r.length)throw new Error("Invalid buffer length");var i,o=r.readUInt32BE(0);if(Array.isArray(t)){if(!(i=t.filter(function(e){return o===e.bip32.private||o===e.bip32.public}).pop()))throw new Error("Unknown network version")}else i=t||c.bitcoin;if(o!==i.bip32.private&&o!==i.bip32.public)throw new Error("Invalid network version");var s=r[4],a=r.readUInt32BE(5);if(0===s&&0!==a)throw new Error("Invalid parent fingerprint");var h=r.readUInt32BE(9);if(0===s&&0!==h)throw new Error("Invalid index");var l,d=r.slice(13,45);if(o===i.bip32.private){if(0!==r.readUInt8(45))throw new Error("Invalid private key");var p=BigInteger.fromBuffer(r.slice(46,78));l=new ECPair(p,null,{network:i})}else{var b=f.Point.decodeFrom(u,r.slice(45,78));u.validate(b),l=new ECPair(null,b,{network:i})}var y=new HDNode(l,d);return y.depth=s,y.index=h,y.parentFingerprint=a,y},HDNode.prototype.getAddress=function(){return this.keyPair.getAddress()},HDNode.prototype.getIdentifier=function(){return i.hash160(this.keyPair.getPublicKeyBuffer())},HDNode.prototype.getFingerprint=function(){return this.getIdentifier().slice(0,4)},HDNode.prototype.getNetwork=function(){return this.keyPair.getNetwork()},HDNode.prototype.getPublicKeyBuffer=function(){return this.keyPair.getPublicKeyBuffer()},HDNode.prototype.neutered=function(){var e=new HDNode(new ECPair(null,this.keyPair.Q,{network:this.keyPair.network}),this.chainCode);return e.depth=this.depth,e.index=this.index,e.parentFingerprint=this.parentFingerprint,e},HDNode.prototype.sign=function(e){return this.keyPair.sign(e)},HDNode.prototype.verify=function(e,t){return this.keyPair.verify(e,t)},HDNode.prototype.toBase58=function(e){if(void 0!==e)throw new TypeError("Unsupported argument in 2.0.0");var t=this.keyPair.network,r=this.isNeutered()?t.bip32.public:t.bip32.private,i=Buffer.allocUnsafe(78);return i.writeUInt32BE(r,0),i.writeUInt8(this.depth,4),i.writeUInt32BE(this.parentFingerprint,5),i.writeUInt32BE(this.index,9),this.chainCode.copy(i,13),this.isNeutered()?this.keyPair.getPublicKeyBuffer().copy(i,45):(i.writeUInt8(0,45),this.keyPair.d.toBuffer(32).copy(i,46)),n.encode(i)},HDNode.prototype.derive=function(e){s(a.UInt32,e);var t=e>=HDNode.HIGHEST_BIT,r=Buffer.allocUnsafe(37);if(t){if(this.isNeutered())throw new TypeError("Could not derive hardened child key");r[0]=0,this.keyPair.d.toBuffer(32).copy(r,1),r.writeUInt32BE(e,33)}else this.keyPair.getPublicKeyBuffer().copy(r,0),r.writeUInt32BE(e,33);var n=o("sha512",this.chainCode).update(r).digest(),i=n.slice(0,32),c=n.slice(32),f=BigInteger.fromBuffer(i);if(f.compareTo(u.n)>=0)return this.derive(e+1);var h;if(this.isNeutered()){var l=u.G.multiply(f).add(this.keyPair.Q);if(u.isInfinity(l))return this.derive(e+1);h=new ECPair(null,l,{network:this.keyPair.network})}else{var d=f.add(this.keyPair.d).mod(u.n);if(0===d.signum())return this.derive(e+1);h=new ECPair(d,null,{network:this.keyPair.network})}var p=new HDNode(h,c);return p.depth=this.depth+1,p.index=e,p.parentFingerprint=this.getFingerprint().readUInt32BE(0),p},HDNode.prototype.deriveHardened=function(e){return s(a.UInt31,e),this.derive(e+HDNode.HIGHEST_BIT)},HDNode.prototype.isNeutered=function(){return!this.keyPair.d},HDNode.prototype.derivePath=function(e){s(a.BIP32Path,e);var t=e.split("/");if("m"===t[0]){if(this.parentFingerprint)throw new Error("Not a master node");t=t.slice(1)}return t.reduce(function(e,t){var r;return"'"===t.slice(-1)?(r=parseInt(t.slice(0,-1),10),e.deriveHardened(r)):(r=parseInt(t,10),e.derive(r))},this)},t.exports=HDNode},{"./crypto":38,"./ecpair":40,"./networks":44,"./types":71,bigi:26,bs58check:101,"create-hmac":133,ecurve:227,"safe-buffer":313,typeforce:354}],43:[function(e,t,r){t.exports={Block:e("./block"),ECPair:e("./ecpair"),ECSignature:e("./ecsignature"),HDNode:e("./hdnode"),Transaction:e("./transaction"),TransactionBuilder:e("./transaction_builder"),address:e("./address"),bufferutils:e("./bufferutils"),crypto:e("./crypto"),networks:e("./networks"),opcodes:e("bitcoin-ops"),script:e("./script")}},{"./address":35,"./block":36,"./bufferutils":37,"./crypto":38,"./ecpair":40,"./ecsignature":41,"./hdnode":42,"./networks":44,"./script":45,"./transaction":69,"./transaction_builder":70,"bitcoin-ops":33}],44:[function(e,t,r){t.exports={bitcoincash:{messagePrefix:"Bitcoin Signed Message:\n",bip32:{public:76067358,private:76066276},cashAddrPrefix:"bitcoincash",cashAddrTypes:{pubkeyhash:0,scripthash:1},pubKeyHash:0,scriptHash:5,wif:128},bitcoincashtestnet:{messagePrefix:"Bitcoin Signed Message:\n",bip32:{public:70617039,private:70615956},cashAddrPrefix:"bchtest",cashAddrTypes:{pubkeyhash:0,scripthash:1},pubKeyHash:111,scriptHash:196,wif:239},bitcoingold:{messagePrefix:"Bitcoin Gold Signed Message:\n",bip32:{public:76067358,private:76066276},pubKeyHash:38,scriptHash:23,wif:128},bitcoin:{messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},testnet:{messagePrefix:"Bitcoin Signed Message:\n",bech32:"tb",bip32:{public:70617039,private:70615956},pubKeyHash:111,scriptHash:196,wif:239},litecoin:{messagePrefix:"Litecoin Signed Message:\n",bip32:{public:27108450,private:27106558},pubKeyHash:48,scriptHash:50,wif:176}}},{}],45:[function(e,t,r){function n(e){return l.Buffer(e)||function(e){return l.Number(e)&&(e===p.OP_0||e>=p.OP_1&&e<=p.OP_16||e===p.OP_1NEGATE)}(e)}function i(e){return l.Array(e)&&e.every(n)}function o(e){if(0===e.length)return p.OP_0;if(1===e.length)return e[0]>=1&&e[0]<=16?y+e[0]:129===e[0]?p.OP_1NEGATE:void 0}function s(e){if(Buffer.isBuffer(e))return e;h(l.Array,e);var t=e.reduce(function(e,t){return Buffer.isBuffer(t)?1===t.length&&void 0!==o(t)?e+1:e+u.encodingLength(t.length)+t.length:e+1},0),r=Buffer.allocUnsafe(t),n=0;if(e.forEach(function(e){if(Buffer.isBuffer(e)){var t=o(e);if(void 0!==t)return r.writeUInt8(t,n),void(n+=1);n+=u.encode(r,e.length,n),e.copy(r,n),n+=e.length}else r.writeUInt8(e,n),n+=1}),n!==r.length)throw new Error("Could not decode chunks");return r}function a(e){if(l.Array(e))return e;h(l.Buffer,e);for(var t=[],r=0;r<e.length;){var n=e[r];if(n>p.OP_0&&n<=p.OP_PUSHDATA4){var i=u.decode(e,r);if(null===i)return[];if((r+=i.size)+i.number>e.length)return[];var s=e.slice(r,r+i.number);r+=i.number;var a=o(s);void 0!==a?t.push(a):t.push(s)}else t.push(n),r+=1}return t}function c(e){var t=-193&e;return t>0&&t<4}var Buffer=e("safe-buffer").Buffer,f=e("bip66"),u=e("pushdata-bitcoin"),h=e("typeforce"),l=e("./types"),d=e("./script_number"),p=e("bitcoin-ops"),b=e("bitcoin-ops/map"),y=p.OP_RESERVED;t.exports={compile:s,decompile:a,fromASM:function(asm){return h(l.String,asm),s(asm.split(" ").map(function(e){return void 0!==p[e]?p[e]:(h(l.Hex,e),Buffer.from(e,"hex"))}))},toASM:function(e){return Buffer.isBuffer(e)&&(e=a(e)),e.map(function(e){if(Buffer.isBuffer(e)){var t=o(e);if(void 0===t)return e.toString("hex");e=t}return b[e]}).join(" ")},toStack:function(e){return e=a(e),h(i,e),e.map(function(e){return Buffer.isBuffer(e)?e:e===p.OP_0?Buffer.allocUnsafe(0):d.encode(e-y)})},number:e("./script_number"),isCanonicalPubKey:function(e){if(!Buffer.isBuffer(e))return!1;if(e.length<33)return!1;switch(e[0]){case 2:case 3:return 33===e.length;case 4:return 65===e.length}return!1},isCanonicalSignature:function(e){return!!Buffer.isBuffer(e)&&!!c(e[e.length-1])&&f.check(e.slice(0,-1))},isPushOnly:i,isDefinedHashType:c};var v=e("./templates");for(var m in v)t.exports[m]=v[m]},{"./script_number":46,"./templates":47,"./types":71,bip66:32,"bitcoin-ops":33,"bitcoin-ops/map":34,"pushdata-bitcoin":294,"safe-buffer":313,typeforce:354}],46:[function(e,t,r){var Buffer=e("safe-buffer").Buffer;t.exports={decode:function(e,t,r){t=t||4,r=void 0===r||r;var n=e.length;if(0===n)return 0;if(n>t)throw new TypeError("Script number overflow");if(r&&0==(127&e[n-1])&&(n<=1||0==(128&e[n-2])))throw new Error("Non-minimally encoded script number");if(5===n){var i=e.readUInt32LE(0),o=e.readUInt8(4);return 128&o?-(4294967296*(-129&o)+i):4294967296*o+i}for(var s=0,a=0;a<n;++a)s|=e[a]<<8*a;return 128&e[n-1]?-(s&~(128<<8*(n-1))):s},encode:function(e){for(var t=Math.abs(e),r=t>2147483647?5:t>8388607?4:t>32767?3:t>127?2:t>0?1:0,n=Buffer.allocUnsafe(r),i=e<0,o=0;o<r;++o)n.writeUInt8(255&t,o),t>>=8;return 128&n[r-1]?n.writeUInt8(i?128:0,r-1):i&&(n[r-1]|=128),n}}},{"safe-buffer":313}],47:[function(e,t,r){var n=e("../script").decompile,i=e("./multisig"),o=e("./nulldata"),s=e("./pubkey"),a=e("./pubkeyhash"),c=e("./scripthash"),f=e("./witnesspubkeyhash"),u=e("./witnessscripthash"),h=e("./witnesscommitment"),l={MULTISIG:"multisig",NONSTANDARD:"nonstandard",NULLDATA:"nulldata",P2PK:"pubkey",P2PKH:"pubkeyhash",P2SH:"scripthash",P2WPKH:"witnesspubkeyhash",P2WSH:"witnessscripthash",WITNESS_COMMITMENT:"witnesscommitment"};t.exports={classifyInput:function(e,t){var r=n(e);return a.input.check(r)?l.P2PKH:i.input.check(r,t)?l.MULTISIG:c.input.check(r,t)?l.P2SH:s.input.check(r)?l.P2PK:l.NONSTANDARD},classifyOutput:function(e){if(f.output.check(e))return l.P2WPKH;if(u.output.check(e))return l.P2WSH;if(a.output.check(e))return l.P2PKH;if(c.output.check(e))return l.P2SH;var t=n(e);return i.output.check(t)?l.MULTISIG:s.output.check(t)?l.P2PK:h.output.check(t)?l.WITNESS_COMMITMENT:o.output.check(t)?l.NULLDATA:l.NONSTANDARD},classifyWitness:function(e,t){var r=n(e);return f.input.check(r)?l.P2WPKH:u.input.check(r,t)?l.P2WSH:l.NONSTANDARD},multisig:i,nullData:o,pubKey:s,pubKeyHash:a,scriptHash:c,witnessPubKeyHash:f,witnessScriptHash:u,witnessCommitment:h,types:l}},{"../script":45,"./multisig":48,"./nulldata":51,"./pubkey":52,"./pubkeyhash":55,"./scripthash":58,"./witnesscommitment":61,"./witnesspubkeyhash":63,"./witnessscripthash":66}],48:[function(e,t,r){t.exports={input:e("./input"),output:e("./output")}},{"./input":49,"./output":50}],49:[function(e,t,r){function n(e){return e===f.OP_0||a.isCanonicalSignature(e)}function i(e,t){var r=a.decompile(e);return!(r.length<2)&&(r[0]===f.OP_0&&(t?r.slice(1).every(n):r.slice(1).every(a.isCanonicalSignature)))}function o(e,t){if(c([n],e),t){var r=a.multisig.output.decode(t);if(e.length<r.m)throw new TypeError("Not enough signatures provided");if(e.length>r.pubKeys.length)throw new TypeError("Too many signatures provided")}return[].concat(u,e.map(function(e){return e===f.OP_0?u:e}))}function s(e,t){return c(i,e,t),e.slice(1)}var Buffer=e("safe-buffer").Buffer,a=e("../../script"),c=e("typeforce"),f=e("bitcoin-ops");i.toJSON=function(){return"multisig input"};var u=Buffer.allocUnsafe(0);t.exports={check:i,decode:function(e,t){return s(a.decompile(e),t)},decodeStack:s,encode:function(e,t){return a.compile(o(e,t))},encodeStack:o}},{"../../script":45,"bitcoin-ops":33,"safe-buffer":313,typeforce:354}],50:[function(e,t,r){function n(e,t){var r=i.decompile(e);if(r.length<4)return!1;if(r[r.length-1]!==a.OP_CHECKMULTISIG)return!1;if(!o.Number(r[0]))return!1;if(!o.Number(r[r.length-2]))return!1;var n=r[0]-c,s=r[r.length-2]-c;if(n<=0)return!1;if(s>16)return!1;if(n>s)return!1;if(s!==r.length-3)return!1;if(t)return!0;return r.slice(1,-2).every(i.isCanonicalPubKey)}var i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops"),c=a.OP_RESERVED;n.toJSON=function(){return"multi-sig output"},t.exports={check:n,decode:function(e,t){var r=i.decompile(e);return s(n,r,t),{m:r[0]-c,pubKeys:r.slice(1,-2)}},encode:function(e,t){s({m:o.Number,pubKeys:[i.isCanonicalPubKey]},{m:e,pubKeys:t});var r=t.length;if(r<e)throw new TypeError("Not enough pubKeys provided");return i.compile([].concat(c+e,t,c+r,a.OP_CHECKMULTISIG))}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,typeforce:354}],51:[function(e,t,r){function n(e){var t=i.compile(e);return t.length>1&&t[0]===a.OP_RETURN}var i=e("../script"),o=e("../types"),s=e("typeforce"),a=e("bitcoin-ops");n.toJSON=function(){return"null data output"},t.exports={output:{check:n,decode:function(e){return s(n,e),e.slice(2)},encode:function(e){return s(o.Buffer,e),i.compile([a.OP_RETURN,e])}}}},{"../script":45,"../types":71,"bitcoin-ops":33,typeforce:354}],52:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./input":53,"./output":54,dup:48}],53:[function(e,t,r){function n(e){var t=s.decompile(e);return 1===t.length&&s.isCanonicalSignature(t[0])}function i(e){return a(s.isCanonicalSignature,e),[e]}function o(e){return a(n,e),e[0]}var s=e("../../script"),a=e("typeforce");n.toJSON=function(){return"pubKey input"},t.exports={check:n,decode:function(e){return o(s.decompile(e))},decodeStack:o,encode:function(e){return s.compile(i(e))},encodeStack:i}},{"../../script":45,typeforce:354}],54:[function(e,t,r){function n(e){var t=i.decompile(e);return 2===t.length&&i.isCanonicalPubKey(t[0])&&t[1]===s.OP_CHECKSIG}var i=e("../../script"),o=e("typeforce"),s=e("bitcoin-ops");n.toJSON=function(){return"pubKey output"},t.exports={check:n,decode:function(e){var t=i.decompile(e);return o(n,t),t[0]},encode:function(e){return o(i.isCanonicalPubKey,e),i.compile([e,s.OP_CHECKSIG])}}},{"../../script":45,"bitcoin-ops":33,typeforce:354}],55:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./input":56,"./output":57,dup:48}],56:[function(e,t,r){function n(e){var t=s.decompile(e);return 2===t.length&&s.isCanonicalSignature(t[0])&&s.isCanonicalPubKey(t[1])}function i(e,t){return a({signature:s.isCanonicalSignature,pubKey:s.isCanonicalPubKey},{signature:e,pubKey:t}),[e,t]}function o(e){return a(n,e),{signature:e[0],pubKey:e[1]}}var s=e("../../script"),a=e("typeforce");n.toJSON=function(){return"pubKeyHash input"},t.exports={check:n,decode:function(e){return o(s.decompile(e))},decodeStack:o,encode:function(e,t){return s.compile(i(e,t))},encodeStack:i}},{"../../script":45,typeforce:354}],57:[function(e,t,r){function n(e){var t=i.compile(e);return 25===t.length&&t[0]===a.OP_DUP&&t[1]===a.OP_HASH160&&20===t[2]&&t[23]===a.OP_EQUALVERIFY&&t[24]===a.OP_CHECKSIG}var i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops");n.toJSON=function(){return"pubKeyHash output"},t.exports={check:n,decode:function(e){return s(n,e),e.slice(3,23)},encode:function(e){return s(o.Hash160bit,e),i.compile([a.OP_DUP,a.OP_HASH160,e,a.OP_EQUALVERIFY,a.OP_CHECKSIG])}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,typeforce:354}],58:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./input":59,"./output":60,dup:48}],59:[function(e,t,r){function n(e,t){var r=s.decompile(e);if(r.length<1)return!1;var n=r[r.length-1];if(!Buffer.isBuffer(n))return!1;var i=s.decompile(s.compile(r.slice(0,-1))),o=s.decompile(n);if(0===o.length)return!1;if(!s.isPushOnly(i))return!1;var a=s.classifyInput(i,t),c=s.classifyOutput(o);return 1===r.length?c===s.types.P2WSH||c===s.types.P2WPKH:a===c}function i(e,t){var r=s.compile(t);return[].concat(e,r)}function o(e){return a(n,e),{redeemScriptStack:e.slice(0,-1),redeemScript:e[e.length-1]}}var Buffer=e("safe-buffer").Buffer,s=e("../../script"),a=e("typeforce");n.toJSON=function(){return"scriptHash input"},t.exports={check:n,decode:function(e){var t=o(s.decompile(e));return t.redeemScriptSig=s.compile(t.redeemScriptStack),delete t.redeemScriptStack,t},decodeStack:o,encode:function(e,t){var r=s.decompile(e);return s.compile(i(r,t))},encodeStack:i}},{"../../script":45,"safe-buffer":313,typeforce:354}],60:[function(e,t,r){function n(e){var t=i.compile(e);return 23===t.length&&t[0]===a.OP_HASH160&&20===t[1]&&t[22]===a.OP_EQUAL}var i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops");n.toJSON=function(){return"scriptHash output"},t.exports={check:n,decode:function(e){return s(n,e),e.slice(2,22)},encode:function(e){return s(o.Hash160bit,e),i.compile([a.OP_HASH160,e,a.OP_EQUAL])}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,typeforce:354}],61:[function(e,t,r){t.exports={output:e("./output")}},{"./output":62}],62:[function(e,t,r){function n(e){var t=i.compile(e);return t.length>37&&t[0]===a.OP_RETURN&&36===t[1]&&t.slice(2,6).equals(c)}var Buffer=e("safe-buffer").Buffer,i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops"),c=Buffer.from("aa21a9ed","hex");n.toJSON=function(){return"Witness commitment output"},t.exports={check:n,decode:function(e){return s(n,e),i.decompile(e)[1].slice(4,36)},encode:function(e){s(o.Hash256bit,e);var t=Buffer.allocUnsafe(36);return c.copy(t,0),e.copy(t,4),i.compile([a.OP_RETURN,t])}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,"safe-buffer":313,typeforce:354}],63:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./input":64,"./output":65,dup:48}],64:[function(e,t,r){function n(e){return o.isCanonicalPubKey(e)&&33===e.length}function i(e){var t=o.decompile(e);return 2===t.length&&o.isCanonicalSignature(t[0])&&n(t[1])}var o=e("../../script"),s=e("typeforce");i.toJSON=function(){return"witnessPubKeyHash input"},t.exports={check:i,decodeStack:function(e){return s(i,e),{signature:e[0],pubKey:e[1]}},encodeStack:function(e,t){return s({signature:o.isCanonicalSignature,pubKey:n},{signature:e,pubKey:t}),[e,t]}}},{"../../script":45,typeforce:354}],65:[function(e,t,r){function n(e){var t=i.compile(e);return 22===t.length&&t[0]===a.OP_0&&20===t[1]}var i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops");n.toJSON=function(){return"Witness pubKeyHash output"},t.exports={check:n,decode:function(e){return s(n,e),e.slice(2)},encode:function(e){return s(o.Hash160bit,e),i.compile([a.OP_0,e])}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,typeforce:354}],66:[function(e,t,r){arguments[4][48][0].apply(r,arguments)},{"./input":67,"./output":68,dup:48}],67:[function(e,t,r){var n=e("../scripthash/input");t.exports={check:n.check,decodeStack:n.decodeStack,encodeStack:n.encodeStack}},{"../scripthash/input":59}],68:[function(e,t,r){function n(e){var t=i.compile(e);return 34===t.length&&t[0]===a.OP_0&&32===t[1]}var i=e("../../script"),o=e("../../types"),s=e("typeforce"),a=e("bitcoin-ops");n.toJSON=function(){return"Witness scriptHash output"},t.exports={check:n,decode:function(e){return s(n,e),e.slice(2)},encode:function(e){return s(o.Hash256bit,e),i.compile([a.OP_0,e])}}},{"../../script":45,"../../types":71,"bitcoin-ops":33,typeforce:354}],69:[function(e,t,r){function n(e){var t=e.length;return l.encodingLength(t)+t}function i(){this.version=1,this.locktime=0,this.ins=[],this.outs=[]}var Buffer=e("safe-buffer").Buffer,o=e("buffer-reverse"),s=e("./crypto"),a=e("./script"),c=e("./bufferutils"),f=e("bitcoin-ops"),u=e("typeforce"),h=e("./types"),l=e("varuint-bitcoin");i.DEFAULT_SEQUENCE=4294967295,i.SIGHASH_ALL=1,i.SIGHASH_NONE=2,i.SIGHASH_SINGLE=3,i.SIGHASH_ANYONECANPAY=128,i.SIGHASH_BITCOINCASHBIP143=64,i.ADVANCED_TRANSACTION_MARKER=0,i.ADVANCED_TRANSACTION_FLAG=1,i.FORKID_BTG=79,i.FORKID_BCH=0;var d=Buffer.allocUnsafe(0),p=[],b=Buffer.from("0000000000000000000000000000000000000000000000000000000000000000","hex"),y=Buffer.from("0000000000000000000000000000000000000000000000000000000000000001","hex"),v=Buffer.from("ffffffffffffffff","hex"),m={script:d,valueBuffer:v};i.fromBuffer=function(e,t){function r(t){return u+=t,e.slice(u-t,u)}function n(){var t=e.readUInt32LE(u);return u+=4,t}function o(){var t=c.readUInt64LE(e,u);return u+=8,t}function s(){var t=l.decode(e,u);return u+=l.decode.bytes,t}function a(){return r(s())}function f(){for(var e=s(),t=[],r=0;r<e;r++)t.push(a());return t}var u=0,h=new i;h.version=function(){var t=e.readInt32LE(u);return u+=4,t}();var d=e.readUInt8(u),b=e.readUInt8(u+1),y=!1;d===i.ADVANCED_TRANSACTION_MARKER&&b===i.ADVANCED_TRANSACTION_FLAG&&(u+=2,y=!0);for(var v=s(),m=0;m<v;++m)h.ins.push({hash:r(32),index:n(),script:a(),sequence:n(),witness:p});var g=s();for(m=0;m<g;++m)h.outs.push({value:o(),script:a()});if(y){for(m=0;m<v;++m)h.ins[m].witness=f();if(!h.hasWitnesses())throw new Error("Transaction has superfluous witness data")}if(h.locktime=n(),t)return h;if(u!==e.length)throw new Error("Transaction has unexpected data");return h},i.fromHex=function(e){return i.fromBuffer(Buffer.from(e,"hex"))},i.isCoinbaseHash=function(e){u(h.Hash256bit,e);for(var t=0;t<32;++t)if(0!==e[t])return!1;return!0},i.prototype.isCoinbase=function(){return 1===this.ins.length&&i.isCoinbaseHash(this.ins[0].hash)},i.prototype.addInput=function(e,t,r,n){return u(h.tuple(h.Hash256bit,h.UInt32,h.maybe(h.UInt32),h.maybe(h.Buffer)),arguments),h.Null(r)&&(r=i.DEFAULT_SEQUENCE),this.ins.push({hash:e,index:t,script:n||d,sequence:r,witness:p})-1},i.prototype.addOutput=function(e,t){return u(h.tuple(h.Buffer,h.Satoshi),arguments),this.outs.push({script:e,value:t})-1},i.prototype.hasWitnesses=function(){return this.ins.some(function(e){return 0!==e.witness.length})},i.prototype.weight=function(){return 3*this.__byteLength(!1)+this.__byteLength(!0)},i.prototype.virtualSize=function(){return Math.ceil(this.weight()/4)},i.prototype.byteLength=function(){return this.__byteLength(!0)},i.prototype.__byteLength=function(e){var t=e&&this.hasWitnesses();return(t?10:8)+l.encodingLength(this.ins.length)+l.encodingLength(this.outs.length)+this.ins.reduce(function(e,t){return e+40+n(t.script)},0)+this.outs.reduce(function(e,t){return e+8+n(t.script)},0)+(t?this.ins.reduce(function(e,t){return e+function(e){var t=e.length;return l.encodingLength(t)+e.reduce(function(e,t){return e+n(t)},0)}(t.witness)},0):0)},i.prototype.clone=function(){var e=new i;return e.version=this.version,e.locktime=this.locktime,e.ins=this.ins.map(function(e){return{hash:e.hash,index:e.index,script:e.script,sequence:e.sequence,witness:e.witness}}),e.outs=this.outs.map(function(e){return{script:e.script,value:e.value}}),e},i.prototype.hashForSignature=function(e,t,r){if(u(h.tuple(h.UInt32,h.Buffer,h.Number),arguments),e>=this.ins.length)return y;var n=a.compile(a.decompile(t).filter(function(e){return e!==f.OP_CODESEPARATOR})),o=this.clone();if((31&r)===i.SIGHASH_NONE)o.outs=[],o.ins.forEach(function(t,r){r!==e&&(t.sequence=0)});else if((31&r)===i.SIGHASH_SINGLE){if(e>=this.outs.length)return y;o.outs.length=e+1;for(var c=0;c<e;c++)o.outs[c]=m;o.ins.forEach(function(t,r){r!==e&&(t.sequence=0)})}r&i.SIGHASH_ANYONECANPAY?(o.ins=[o.ins[e]],o.ins[0].script=n):(o.ins.forEach(function(e){e.script=d}),o.ins[e].script=n);var l=Buffer.allocUnsafe(o.__byteLength(!1)+4);return l.writeInt32LE(r,l.length-4),o.__toBuffer(l,0,!1),s.hash256(l)},i.prototype.hashForWitnessV0=function(e,t,r,o){function a(e){v+=e.copy(y,v)}function f(e){v=y.writeUInt32LE(e,v)}function d(e){v=c.writeUInt64LE(y,e,v)}function p(e){!function(e){l.encode(e,y,v),v+=l.encode.bytes}(e.length),a(e)}u(h.tuple(h.UInt32,h.Buffer,h.Satoshi,h.UInt32),arguments);var y,v,m=b,g=b,w=b;if(o&i.SIGHASH_ANYONECANPAY||(y=Buffer.allocUnsafe(36*this.ins.length),v=0,this.ins.forEach(function(e){a(e.hash),f(e.index)}),g=s.hash256(y)),o&i.SIGHASH_ANYONECANPAY||(31&o)===i.SIGHASH_SINGLE||(31&o)===i.SIGHASH_NONE||(y=Buffer.allocUnsafe(4*this.ins.length),v=0,this.ins.forEach(function(e){f(e.sequence)}),w=s.hash256(y)),(31&o)!==i.SIGHASH_SINGLE&&(31&o)!==i.SIGHASH_NONE){var _=this.outs.reduce(function(e,t){return e+8+n(t.script)},0);y=Buffer.allocUnsafe(_),v=0,this.outs.forEach(function(e){d(e.value),p(e.script)}),m=s.hash256(y)}else if((31&o)===i.SIGHASH_SINGLE&&e<this.outs.length){var E=this.outs[e];y=Buffer.allocUnsafe(8+n(E.script)),v=0,d(E.value),p(E.script),m=s.hash256(y)}y=Buffer.allocUnsafe(156+n(t)),v=0;var S=this.ins[e];return f(this.version),a(g),a(w),a(S.hash),f(S.index),p(t),d(r),f(S.sequence),a(m),f(this.locktime),f(o),s.hash256(y)},i.prototype.hashForCashSignature=function(e,t,r,n){if(u(h.tuple(h.UInt32,h.Buffer,h.Number,h.maybe(h.UInt53)),arguments),n&i.SIGHASH_BITCOINCASHBIP143){if(h.Null(r))throw new Error("Bitcoin Cash sighash requires value of input to be signed.");return this.hashForWitnessV0(e,t,r,n)}return this.hashForSignature(e,t,n)},i.prototype.hashForGoldSignature=function(e,t,r,n,o){u(h.tuple(h.UInt32,h.Buffer,h.Number,h.maybe(h.UInt53)),arguments);var s=n,a=(n&i.SIGHASH_BITCOINCASHBIP143)>0;if(a&&(s|=i.FORKID_BTG<<8),o||a){if(h.Null(r))throw new Error("Bitcoin Cash sighash requires value of input to be signed.");return this.hashForWitnessV0(e,t,r,s)}return this.hashForSignature(e,t,s)},i.prototype.getHash=function(){return s.hash256(this.__toBuffer(void 0,void 0,!1))},i.prototype.getId=function(){return o(this.getHash()).toString("hex")},i.prototype.toBuffer=function(e,t){return this.__toBuffer(e,t,!0)},i.prototype.__toBuffer=function(e,t,r){function n(t){u+=t.copy(e,u)}function o(t){u=e.writeUInt8(t,u)}function s(t){u=e.writeUInt32LE(t,u)}function a(t){l.encode(t,e,u),u+=l.encode.bytes}function f(e){a(e.length),n(e)}e||(e=Buffer.allocUnsafe(this.__byteLength(r)));var u=t||0;!function(t){u=e.writeInt32LE(t,u)}(this.version);var h=r&&this.hasWitnesses();return h&&(o(i.ADVANCED_TRANSACTION_MARKER),o(i.ADVANCED_TRANSACTION_FLAG)),a(this.ins.length),this.ins.forEach(function(e){n(e.hash),s(e.index),f(e.script),s(e.sequence)}),a(this.outs.length),this.outs.forEach(function(t){t.valueBuffer?n(t.valueBuffer):function(t){u=c.writeUInt64LE(e,t,u)}(t.value),f(t.script)}),h&&this.ins.forEach(function(e){!function(e){a(e.length),e.forEach(f)}(e.witness)}),s(this.locktime),void 0!==t?e.slice(t,u):e},i.prototype.toHex=function(){return this.toBuffer().toString("hex")},i.prototype.setInputScript=function(e,t){u(h.tuple(h.Number,h.Buffer),arguments),this.ins[e].script=t},i.prototype.setWitness=function(e,t){u(h.tuple(h.Number,[h.Buffer]),arguments),this.ins[e].witness=t},t.exports=i},{"./bufferutils":37,"./crypto":38,"./script":45,"./types":71,"bitcoin-ops":33,"buffer-reverse":103,"safe-buffer":313,typeforce:354,"varuint-bitcoin":363}],70:[function(e,t,r){function n(e){return-1!==E.indexOf(e)}function i(e){return-1!==S.indexOf(e)}function o(e,t){if(0===e.length&&0===t.length)return{};var r,o,s,a,c,f,u,h,l,d,p=!1,v=!1,m=!1,g=y.decompile(e);y.classifyInput(g,!0)===_.P2SH&&(m=!0,c=g[g.length-1],h=y.classifyOutput(c),r=y.scriptHash.output.encode(b.hash160(c)),o=_.P2SH,a=c);var w=y.classifyWitness(t,!0);if(w===_.P2WSH){if(f=t[t.length-1],u=y.classifyOutput(f),v=!0,p=!0,0===e.length){if(r=y.witnessScriptHash.output.encode(b.sha256(f)),o=_.P2WSH,void 0!==c)throw new Error("Redeem script given when unnecessary")}else{if(!c)throw new Error("No redeemScript provided for P2WSH, but scriptSig non-empty");if(l=y.witnessScriptHash.output.encode(b.sha256(f)),!c.equals(l))throw new Error("Redeem script didn't match witnessScript")}if(!n(y.classifyOutput(f)))throw new Error("unsupported witness script");a=f,s=u,d=t.slice(0,-1)}else if(w===_.P2WPKH){p=!0;var E=t[t.length-1],S=b.hash160(E);if(0===e.length){if(r=y.witnessPubKeyHash.output.encode(S),o=_.P2WPKH,void 0!==c)throw new Error("Redeem script given when unnecessary")}else{if(!c)throw new Error("No redeemScript provided for P2WPKH, but scriptSig wasn't empty");if(l=y.witnessPubKeyHash.output.encode(S),!c.equals(l))throw new Error("Redeem script did not have the right witness program")}s=_.P2PKH,d=t}else if(c){if(!i(h))throw new Error("Bad redeemscript!");a=c,s=h,d=g.slice(0,-1)}else o=s=y.classifyInput(e),d=g;var k=function(e,t,r){var n=[],i=[];switch(e){case _.P2PKH:n=t.slice(1),i=t.slice(0,1);break;case _.P2PK:n[0]=r?y.pubKey.output.decode(r):void 0,i=t.slice(0,1);break;case _.MULTISIG:r&&(n=y.multisig.output.decode(r).pubKeys),i=t.slice(1).map(function(e){return 0===e.length?void 0:e})}return{pubKeys:n,signatures:i}}(s,d,a),A={pubKeys:k.pubKeys,signatures:k.signatures,prevOutScript:r,prevOutType:o,signType:s,signScript:a,witness:Boolean(p)};return m&&(A.redeemScript=c,A.redeemScriptType=h),v&&(A.witnessScript=f,A.witnessScriptType=u),A}function s(e,t,r){g(w.Buffer,e);var n=y.decompile(e);t||(t=y.classifyOutput(e));var i=[];switch(t){case _.P2PKH:if(!r)break;var o=n[2],s=b.hash160(r);o.equals(s)&&(i=[r]);break;case _.P2WPKH:if(!r)break;var a=n[1],c=b.hash160(r);a.equals(c)&&(i=[r]);break;case _.P2PK:i=n.slice(0,1);break;case _.MULTISIG:i=n.slice(1,-2);break;default:return{scriptType:t}}return{pubKeys:i,scriptType:t,signatures:i.map(function(){})}}function a(e,t){if(e.prevOutType){if(e.prevOutType!==_.P2SH)throw new Error("PrevOutScript must be P2SH");if(!y.decompile(e.prevOutScript)[1].equals(t))throw new Error("Inconsistent hash160(RedeemScript)")}}function c(e,t,r,n,i){var o,c,f,u,h,l,d,p,v,m=!1,E=!1,S=!1;if(r&&i){if(h=b.hash160(r),d=b.sha256(i),a(e,h),!r.equals(y.witnessScriptHash.output.encode(d)))throw new Error("Witness script inconsistent with redeem script");if(!(o=s(i,void 0,t)).pubKeys)throw new Error('WitnessScript not supported "'+y.toASM(r)+'"');c=y.types.P2SH,f=y.scriptHash.output.encode(h),m=E=S=!0,u=y.types.P2WSH,p=l=o.scriptType,v=i}else if(r){if(h=b.hash160(r),a(e,h),!(o=s(r,void 0,t)).pubKeys)throw new Error('RedeemScript not supported "'+y.toASM(r)+'"');c=y.types.P2SH,f=y.scriptHash.output.encode(h),m=!0,v=r,E=(p=u=o.scriptType)===y.types.P2WPKH}else if(i){if(d=b.sha256(i),function(e,t){if(e.prevOutType){if(e.prevOutType!==_.P2WSH)throw new Error("PrevOutScript must be P2WSH");if(!y.decompile(e.prevOutScript)[1].equals(t))throw new Error("Inconsistent sha25(WitnessScript)")}}(e,d),!(o=s(i,void 0,t)).pubKeys)throw new Error('WitnessScript not supported "'+y.toASM(r)+'"');c=y.types.P2WSH,f=y.witnessScriptHash.output.encode(d),E=S=!0,p=l=o.scriptType,v=i}else if(e.prevOutType){if(e.prevOutType===_.P2SH||e.prevOutType===_.P2WSH)throw new Error("PrevOutScript is "+e.prevOutType+", requires redeemScript");if(c=e.prevOutType,f=e.prevOutScript,!(o=s(e.prevOutScript,e.prevOutType,t)).pubKeys)return;E=e.prevOutType===_.P2WPKH,p=c,v=f}else o=s(f=y.pubKeyHash.output.encode(b.hash160(t)),_.P2PKH,t),E=!1,p=c=_.P2PKH,v=f;if(void 0!==n||E){if(g(w.Satoshi,n),void 0!==e.value&&e.value!==n)throw new Error("Input didn't match witnessValue");e.value=n}p===_.P2WPKH&&(v=y.pubKeyHash.output.encode(y.witnessPubKeyHash.output.decode(v))),m&&(e.redeemScript=r,e.redeemScriptType=u),S&&(e.witnessScript=i,e.witnessScriptType=l),e.pubKeys=o.pubKeys,e.signatures=o.signatures,e.signScript=v,e.signType=p,e.prevOutScript=f,e.prevOutType=c,e.witness=E}function f(e,t,r,n){if(e===_.P2PKH){if(1===t.length&&Buffer.isBuffer(t[0])&&1===r.length)return y.pubKeyHash.input.encodeStack(t[0],r[0])}else if(e===_.P2PK){if(1===t.length&&Buffer.isBuffer(t[0]))return y.pubKey.input.encodeStack(t[0])}else{if(e!==_.MULTISIG)throw new Error("Not yet supported");if(t.length>0)return t=t.map(function(e){return e||m.OP_0}),n||(t=t.filter(function(e){return e!==m.OP_0})),y.multisig.input.encodeStack(t)}if(!n)throw new Error("Not enough signatures provided");return[]}function u(e,t){this.prevTxMap={},this.network=e||v.bitcoin,this.maximumFeeRate=t||1e3,this.inputs=[],this.bitcoinCash=!1,this.bitcoinGold=!1,this.tx=new A}function h(e){return void 0!==e.prevOutScript&&void 0!==e.signScript&&void 0!==e.pubKeys&&void 0!==e.signatures&&e.signatures.length===e.pubKeys.length&&e.pubKeys.length>0&&void 0!==e.witness}function l(e){return e.readUInt8(e.length-1)}var Buffer=e("safe-buffer").Buffer,d=e("buffer-reverse"),p=e("./address"),b=e("./crypto"),y=e("./script"),v=e("./networks"),m=e("bitcoin-ops"),g=e("typeforce"),w=e("./types"),_=y.types,E=[y.types.P2PKH,y.types.P2PK,y.types.MULTISIG],S=E.concat([y.types.P2WPKH,y.types.P2WSH]),ECPair=e("./ecpair"),k=e("./ecsignature"),A=e("./transaction");u.prototype.enableBitcoinCash=function(e){void 0===e&&(e=!0),this.bitcoinCash=e},u.prototype.enableBitcoinGold=function(e){void 0===e&&(e=!0),this.bitcoinGold=e},u.prototype.setLockTime=function(e){if(g(w.UInt32,e),this.inputs.some(function(e){return!!e.signatures&&e.signatures.some(function(e){return e})}))throw new Error("No, this would invalidate signatures");this.tx.locktime=e},u.prototype.setVersion=function(e){g(w.UInt32,e),this.tx.version=e},u.fromTransaction=function(e,t,r){var n=new u(t);return"number"==typeof r&&(r===A.FORKID_BTG?n.enableBitcoinGold(!0):r===A.FORKID_BCH&&n.enableBitcoinCash(!0)),n.setVersion(e.version),n.setLockTime(e.locktime),e.outs.forEach(function(e){n.addOutput(e.script,e.value)}),e.ins.forEach(function(e){n.__addInputUnsafe(e.hash,e.index,{sequence:e.sequence,script:e.script,witness:e.witness,value:e.value})}),n.inputs.forEach(function(t,n){!function(e,t,r,n,i){if(e.signType===_.MULTISIG&&e.signScript&&e.pubKeys.length!==e.signatures.length){var o=e.signatures.concat();e.signatures=e.pubKeys.map(function(s){var a,c=ECPair.fromPublicKeyBuffer(s);return o.some(function(s,f){if(!s)return!1;var u,h=k.parseScriptSignature(s);switch(i){case A.FORKID_BCH:u=t.hashForCashSignature(r,e.signScript,n,h.hashType);break;case A.FORKID_BTG:u=t.hashForGoldSignature(r,e.signScript,n,h.hashType);break;default:u=e.witness?t.hashForWitnessV0(r,e.signScript,n,h.hashType):t.hashForSignature(r,e.signScript,h.hashType)}return!!c.verify(u,h.signature)&&(o[f]=void 0,a=s,!0)}),a})}}(t,e,n,t.value,r)}),n},u.prototype.addInput=function(e,t,r,n){if(!this.__canModifyInputs())throw new Error("No, this would invalidate signatures");var i;if("string"==typeof e)e=d(Buffer.from(e,"hex"));else if(e instanceof A){var o=e.outs[t];n=o.script,i=o.value,e=e.getHash()}return this.__addInputUnsafe(e,t,{sequence:r,prevOutScript:n,value:i})},u.prototype.__addInputUnsafe=function(e,t,r){if(A.isCoinbaseHash(e))throw new Error("coinbase inputs not supported");var n=e.toString("hex")+":"+t;if(void 0!==this.prevTxMap[n])throw new Error("Duplicate TxOut: "+n);var i={};if(void 0!==r.script&&(i=o(r.script,r.witness||[])),void 0!==r.value&&(i.value=r.value),!i.prevOutScript&&r.prevOutScript){var a;if(!i.pubKeys&&!i.signatures){var c=s(r.prevOutScript);c.pubKeys&&(i.pubKeys=c.pubKeys,i.signatures=c.signatures),a=c.scriptType}i.prevOutScript=r.prevOutScript,i.prevOutType=a||y.classifyOutput(r.prevOutScript)}var f=this.tx.addInput(e,t,r.sequence,r.scriptSig);return this.inputs[f]=i,this.prevTxMap[n]=f,f},u.prototype.addOutput=function(e,t){if(!this.__canModifyOutputs())throw new Error("No, this would invalidate signatures");return"string"==typeof e&&(e=p.toOutputScript(e,this.network)),this.tx.addOutput(e,t)},u.prototype.build=function(){return this.__build(!1)},u.prototype.buildIncomplete=function(){return this.__build(!0)},u.prototype.__build=function(e){if(!e){if(!this.tx.ins.length)throw new Error("Transaction has no inputs");if(!this.tx.outs.length)throw new Error("Transaction has no outputs")}var t=this.tx.clone();if(this.inputs.forEach(function(r,o){if(!(r.witnessScriptType||r.redeemScriptType||r.prevOutType)&&!e)throw new Error("Transaction is not complete");var s=function(e,t){var r=e.prevOutType,o=[],s=[];n(r)&&(o=f(r,e.signatures,e.pubKeys,t));var a=!1;if(r===y.types.P2SH){if(!t&&!i(e.redeemScriptType))throw new Error("Impossible to sign this type");n(e.redeemScriptType)&&(o=f(e.redeemScriptType,e.signatures,e.pubKeys,t)),e.redeemScriptType&&(a=!0,r=e.redeemScriptType)}switch(r){case y.types.P2WPKH:s=f(y.types.P2PKH,e.signatures,e.pubKeys,t);break;case y.types.P2WSH:if(!t&&!n(e.witnessScriptType))throw new Error("Impossible to sign this type");n(e.witnessScriptType)&&((s=f(e.witnessScriptType,e.signatures,e.pubKeys,t)).push(e.witnessScript),r=e.witnessScriptType)}return a&&o.push(e.redeemScript),{type:r,script:y.compile(o),witness:s}}(r,e);if(!e&&!n(s.type)&&s.type!==y.types.P2WPKH)throw new Error(s.type+" not supported");t.setInputScript(o,s.script),t.setWitness(o,s.witness)}),!e&&this.__overMaximumFees(t.virtualSize()))throw new Error("Transaction has absurd fees");return t},u.prototype.sign=function(e,t,r,n,i,o){if(t.network!==this.network)throw new Error("Inconsistent network");if(!this.inputs[e])throw new Error("No input at index: "+e);n=n||A.SIGHASH_ALL;var s=this.inputs[e];if(void 0!==s.redeemScript&&r&&!s.redeemScript.equals(r))throw new Error("Inconsistent redeemScript");var a=t.getPublicKeyBuffer();if(!h(s)&&(c(s,a,r,i,o),!h(s)))throw Error(s.prevOutType+" not supported");var f;f=this.bitcoinGold?this.tx.hashForGoldSignature(e,s.signScript,i,n,s.witness):this.bitcoinCash?this.tx.hashForCashSignature(e,s.signScript,i,n):s.witness?this.tx.hashForWitnessV0(e,s.signScript,i,n):this.tx.hashForSignature(e,s.signScript,n);if(!s.pubKeys.some(function(e,r){if(!a.equals(e))return!1;if(s.signatures[r])throw new Error("Signature already exists");if(!t.compressed&&s.signType===_.P2WPKH)throw new Error("BIP143 rejects uncompressed public keys in P2WPKH or P2WSH");return s.signatures[r]=t.sign(f).toScriptSignature(n),!0}))throw new Error("Key pair cannot sign for this input")},u.prototype.__canModifyInputs=function(){return this.inputs.every(function(e){return void 0===e.signatures||e.signatures.every(function(e){if(!e)return!0;return l(e)&A.SIGHASH_ANYONECANPAY})})},u.prototype.__canModifyOutputs=function(){var e=this.tx.ins.length,t=this.tx.outs.length;return this.inputs.every(function(r){return void 0===r.signatures||r.signatures.every(function(r){if(!r)return!0;var n=31&l(r);return n===A.SIGHASH_NONE||(n===A.SIGHASH_SINGLE?e<=t:void 0)})})},u.prototype.__overMaximumFees=function(e){return(this.inputs.reduce(function(e,t){return e+(t.value>>>0)},0)-this.tx.outs.reduce(function(e,t){return e+t.value},0))/e>this.maximumFeeRate},t.exports=u},{"./address":35,"./crypto":38,"./ecpair":40,"./ecsignature":41,"./networks":44,"./script":45,"./transaction":69,"./types":71,"bitcoin-ops":33,"buffer-reverse":103,"safe-buffer":313,typeforce:354}],71:[function(e,t,r){function n(e){return i.String(e)&&e.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}var i=e("typeforce"),o=Math.pow(2,31)-1;n.toJSON=function(){return"BIP32 derivation path"};var s=21e14,a=i.quacksLike("BigInteger"),c=i.quacksLike("Point"),f=i.compile({r:a,s:a}),u=i.compile({messagePrefix:i.oneOf(i.Buffer,i.String),bip32:{public:i.UInt32,private:i.UInt32},pubKeyHash:i.UInt8,scriptHash:i.UInt8,wif:i.UInt8}),h={BigInt:a,BIP32Path:n,Buffer256bit:i.BufferN(32),ECPoint:c,ECSignature:f,Hash160bit:i.BufferN(20),Hash256bit:i.BufferN(32),Network:u,Satoshi:function(e){return i.UInt53(e)&&e<=s},UInt31:function(e){return i.UInt32(e)&&e<=o}};for(var l in i)h[l]=i[l];t.exports=h},{typeforce:354}],72:[function(e,t,r){(function(Buffer){function r(e,t){var r=a.encodingLength(e.length),n=new Buffer(t.length+r+e.length);return n.write(t,0),a.encode(e.length,n,t.length),n.write(e,t.length+r),function(e){var t=o("sha256").update(e).digest();return o("sha256").update(t).digest()}(n)}var n=e("bs58check"),i=e("buffer-equals"),o=e("create-hash"),s=e("secp256k1"),a=e("varuint-bitcoin");t.exports={magicHash:r,sign:function(e,t,n,i){var o=r(e,t),a=s.sign(o,n);return function(e,t,r){return i&&(t+=4),Buffer.concat([new Buffer([t+27]),e])}(a.signature,a.recovery)},verify:function(e,t,a,c){Buffer.isBuffer(c)||(c=new Buffer(c,"base64"));var f=function(e){if(65!==e.length)throw new Error("Invalid signature length");var t=e.readUInt8(0)-27;if(t>7)throw new Error("Invalid signature parameter");return{compressed:!!(4&t),recovery:3&t,signature:e.slice(1)}}(c),u=r(e,t),h=function(e){var t=o("sha256").update(e).digest();return o("ripemd160").update(t).digest()}(s.recover(u,f.signature,f.recovery,f.compressed)),l=n.decode(a).slice(1);return i(h,l)}}}).call(this,e("buffer").Buffer)},{bs58check:75,buffer:105,"buffer-equals":102,"create-hash":130,secp256k1:314,"varuint-bitcoin":363}],73:[function(e,t,r){t.exports=function(e){function t(e){if(0===e.length)return[];for(var t=[0],o=0;o<e.length;o++){var s=r[e[o]];if(void 0===s)return;for(var a=0,c=s;a<t.length;++a)c+=t[a]*n,t[a]=255&c,c>>=8;for(;c>0;)t.push(255&c),c>>=8}for(var f=0;e[f]===i&&f<e.length-1;++f)t.push(0);return t.reverse()}for(var r={},n=e.length,i=e.charAt(0),o=0;o<e.length;o++)r[e.charAt(o)]=o;return{encode:function(t){if(0===t.length)return"";for(var r=[0],i=0;i<t.length;++i){for(var o=0,s=t[i];o<r.length;++o)s+=r[o]<<8,r[o]=s%n,s=s/n|0;for(;s>0;)r.push(s%n),s=s/n|0}for(var a="",c=0;0===t[c]&&c<t.length-1;++c)a+=e[0];for(var f=r.length-1;f>=0;--f)a+=e[r[f]];return a},decodeUnsafe:t,decode:function(e){var r=t(e);if(r)return r;throw new Error("Non-base"+n+" character")}}}},{}],74:[function(e,t,r){var n=e("base-x");t.exports=n("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},{"base-x":73}],75:[function(e,t,r){(function(Buffer){"use strict";function r(e){var t=s("sha256").update(e).digest();return s("sha256").update(t).digest()}function n(e){var t=e.slice(0,-4),n=e.slice(-4),i=r(t);if(!(n[0]^i[0]|n[1]^i[1]|n[2]^i[2]|n[3]^i[3]))return t}function i(e){var t=o.decodeUnsafe(e);if(t){return n(new Buffer(t))}}var o=e("bs58"),s=e("create-hash");t.exports={encode:function(e){var t=r(e);return o.encode(Buffer.concat([e,t],e.length+4))},decode:function(e){var t=o.decode(e),r=n(new Buffer(t));if(!r)throw new Error("Invalid checksum");return r},decodeUnsafe:i,decodeRaw:i}}).call(this,e("buffer").Buffer)},{bs58:74,buffer:105,"create-hash":130}],76:[function(e,t,r){function n(e){this.rand=e}var i;if(t.exports=function(e){return i||(i=new n(null)),i.generate(e)},t.exports.Rand=n,n.prototype.generate=function(e){return this._rand(e)},n.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?n.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?n.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(n.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=e("crypto");if("function"!=typeof o.randomBytes)throw new Error("Not supported");n.prototype._rand=function(e){return o.randomBytes(e)}}catch(e){}},{crypto:77}],77:[function(e,t,r){},{}],78:[function(e,t,r){function n(e){Buffer.isBuffer(e)||(e=Buffer.from(e));for(var t=e.length/4|0,r=new Array(t),n=0;n<t;n++)r[n]=e.readUInt32BE(4*n);return r}function i(e){for(;0<e.length;e++)e[0]=0}function o(e,t,r,n,i){for(var o,s,a,c,f=r[0],u=r[1],h=r[2],l=r[3],d=e[0]^t[0],p=e[1]^t[1],b=e[2]^t[2],y=e[3]^t[3],v=4,m=1;m<i;m++)o=f[d>>>24]^u[p>>>16&255]^h[b>>>8&255]^l[255&y]^t[v++],s=f[p>>>24]^u[b>>>16&255]^h[y>>>8&255]^l[255&d]^t[v++],a=f[b>>>24]^u[y>>>16&255]^h[d>>>8&255]^l[255&p]^t[v++],c=f[y>>>24]^u[d>>>16&255]^h[p>>>8&255]^l[255&b]^t[v++],d=o,p=s,b=a,y=c;return o=(n[d>>>24]<<24|n[p>>>16&255]<<16|n[b>>>8&255]<<8|n[255&y])^t[v++],s=(n[p>>>24]<<24|n[b>>>16&255]<<16|n[y>>>8&255]<<8|n[255&d])^t[v++],a=(n[b>>>24]<<24|n[y>>>16&255]<<16|n[d>>>8&255]<<8|n[255&p])^t[v++],c=(n[y>>>24]<<24|n[d>>>16&255]<<16|n[p>>>8&255]<<8|n[255&b])^t[v++],o>>>=0,s>>>=0,a>>>=0,c>>>=0,[o,s,a,c]}function s(e){this._key=n(e),this._reset()}var Buffer=e("safe-buffer").Buffer,a=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],s=0,a=0,c=0;c<256;++c){var f=a^a<<1^a<<2^a<<3^a<<4;f=f>>>8^255&f^99,r[s]=f,n[f]=s;var u=e[s],h=e[u],l=e[h],d=257*e[f]^16843008*f;i[0][s]=d<<24|d>>>8,i[1][s]=d<<16|d>>>16,i[2][s]=d<<8|d>>>24,i[3][s]=d,d=16843009*l^65537*h^257*u^16843008*s,o[0][f]=d<<24|d>>>8,o[1][f]=d<<16|d>>>16,o[2][f]=d<<8|d>>>24,o[3][f]=d,0===s?s=a=1:(s=u^e[e[e[l^u]]],a^=e[e[a]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();s.blockSize=16,s.keySize=32,s.prototype.blockSize=s.blockSize,s.prototype.keySize=s.keySize,s.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),i=[],o=0;o<t;o++)i[o]=e[o];for(o=t;o<n;o++){var s=i[o-1];o%t==0?(s=s<<8|s>>>24,s=c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s],s^=a[o/t|0]<<24):t>6&&o%t==4&&(s=c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s]),i[o]=i[o-t]^s}for(var f=[],u=0;u<n;u++){var h=n-u,l=i[h-(u%4?0:4)];f[u]=u<4||h<=4?l:c.INV_SUB_MIX[0][c.SBOX[l>>>24]]^c.INV_SUB_MIX[1][c.SBOX[l>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[l>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&l]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=f},s.prototype.encryptBlockRaw=function(e){return e=n(e),o(e,this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},s.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=Buffer.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},s.prototype.decryptBlock=function(e){var t=(e=n(e))[1];e[1]=e[3],e[3]=t;var r=o(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),i=Buffer.allocUnsafe(16);return i.writeUInt32BE(r[0],0),i.writeUInt32BE(r[3],4),i.writeUInt32BE(r[2],8),i.writeUInt32BE(r[1],12),i},s.prototype.scrub=function(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},t.exports.AES=s},{"safe-buffer":313}],79:[function(e,t,r){function n(e,t,r,n){o.call(this);var s=Buffer.alloc(4,0);this._cipher=new i.AES(t);var c=this._cipher.encryptBlock(s);this._ghash=new a(c),r=function(e,t,r){if(12===t.length)return e._finID=Buffer.concat([t,Buffer.from([0,0,0,1])]),Buffer.concat([t,Buffer.from([0,0,0,2])]);var n=new a(r),i=t.length,o=i%16;n.update(t),o&&(o=16-o,n.update(Buffer.alloc(o,0))),n.update(Buffer.alloc(8,0));var s=8*i,c=Buffer.alloc(8);c.writeUIntBE(s,0,8),n.update(c),e._finID=n.state;var u=Buffer.from(e._finID);return f(u),u}(this,r,c),this._prev=Buffer.from(r),this._cache=Buffer.allocUnsafe(0),this._secCache=Buffer.allocUnsafe(0),this._decrypt=n,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}var i=e("./aes"),Buffer=e("safe-buffer").Buffer,o=e("cipher-base"),s=e("inherits"),a=e("./ghash"),c=e("buffer-xor"),f=e("./incr32");s(n,o),n.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=Buffer.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},n.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),i=0;i<n;++i)r+=e[i]^t[i];return r}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},n.prototype.getAuthTag=function(){if(this._decrypt||!Buffer.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},n.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},n.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},t.exports=n},{"./aes":78,"./ghash":83,"./incr32":84,"buffer-xor":104,"cipher-base":109,inherits:248,"safe-buffer":313}],80:[function(e,t,r){var n=e("./encrypter"),i=e("./decrypter"),o=e("./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(o)}},{"./decrypter":81,"./encrypter":82,"./modes/list.json":92}],81:[function(e,t,r){function n(e,t,r){f.call(this),this._cache=new i,this._last=void 0,this._cipher=new u.AES(t),this._prev=Buffer.from(r),this._mode=e,this._autopadding=!0}function i(){this.cache=Buffer.allocUnsafe(0)}function o(e,t,r){var i=a[e.toLowerCase()];if(!i)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=Buffer.from(r)),"GCM"!==i.mode&&r.length!==i.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=Buffer.from(t)),t.length!==i.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===i.type?new c(i.module,t,r,!0):"auth"===i.type?new s(i.module,t,r,!0):new n(i.module,t,r)}var s=e("./authCipher"),Buffer=e("safe-buffer").Buffer,a=e("./modes"),c=e("./streamCipher"),f=e("cipher-base"),u=e("./aes"),h=e("evp_bytestokey");e("inherits")(n,f),n.prototype._update=function(e){this._cache.add(e);for(var t,r,n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return Buffer.concat(n)},n.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){for(var t=e[15],r=-1;++r<t;)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},n.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},i.prototype.add=function(e){this.cache=Buffer.concat([this.cache,e])},i.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},i.prototype.flush=function(){if(this.cache.length)return this.cache},r.createDecipher=function(e,t){var r=a[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=h(t,!1,r.key,r.iv);return o(e,n.key,n.iv)},r.createDecipheriv=o},{"./aes":78,"./authCipher":79,"./modes":91,"./streamCipher":94,"cipher-base":109,evp_bytestokey:231,inherits:248,"safe-buffer":313}],82:[function(e,t,r){function n(e,t,r){f.call(this),this._cache=new i,this._cipher=new u.AES(t),this._prev=Buffer.from(r),this._mode=e,this._autopadding=!0}function i(){this.cache=Buffer.allocUnsafe(0)}function o(e,t,r){var i=s[e.toLowerCase()];if(!i)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=Buffer.from(t)),t.length!==i.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof r&&(r=Buffer.from(r)),"GCM"!==i.mode&&r.length!==i.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===i.type?new c(i.module,t,r):"auth"===i.type?new a(i.module,t,r):new n(i.module,t,r)}var s=e("./modes"),a=e("./authCipher"),Buffer=e("safe-buffer").Buffer,c=e("./streamCipher"),f=e("cipher-base"),u=e("./aes"),h=e("evp_bytestokey");e("inherits")(n,f),n.prototype._update=function(e){this._cache.add(e);for(var t,r,n=[];t=this._cache.get();)r=this._mode.encrypt(this,t),n.push(r);return Buffer.concat(n)};var l=Buffer.alloc(16,16);n.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(l))throw this._cipher.scrub(),new Error("data not multiple of block length")},n.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},i.prototype.add=function(e){this.cache=Buffer.concat([this.cache,e])},i.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},i.prototype.flush=function(){for(var e=16-this.cache.length,t=Buffer.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return Buffer.concat([this.cache,t])},r.createCipheriv=o,r.createCipher=function(e,t){var r=s[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=h(t,!1,r.key,r.iv);return o(e,n.key,n.iv)}},{"./aes":78,"./authCipher":79,"./modes":91,"./streamCipher":94,"cipher-base":109,evp_bytestokey:231,inherits:248,"safe-buffer":313}],83:[function(e,t,r){function n(e){var t=Buffer.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function i(e){this.h=e,this.state=Buffer.alloc(16,0),this.cache=Buffer.allocUnsafe(0)}var Buffer=e("safe-buffer").Buffer,o=Buffer.alloc(16,0);i.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},i.prototype._multiply=function(){for(var e,t,r=function(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}(this.h),i=[0,0,0,0],o=-1;++o<128;){for(0!=(this.state[~~(o/8)]&1<<7-o%8)&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),t=0!=(1&r[3]),e=3;e>0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,t&&(r[0]=r[0]^225<<24)}this.state=n(i)},i.prototype.update=function(e){this.cache=Buffer.concat([this.cache,e]);for(var t;this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},i.prototype.final=function(e,t){return this.cache.length&&this.ghash(Buffer.concat([this.cache,o],16)),this.ghash(n([0,e,0,t])),this.state},t.exports=i},{"safe-buffer":313}],84:[function(e,t,r){t.exports=function(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}},{}],85:[function(e,t,r){var n=e("buffer-xor");r.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},r.decrypt=function(e,t){var r=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return n(i,r)}},{"buffer-xor":104}],86:[function(e,t,r){function n(e,t,r){var n=t.length,o=i(t,e._cache);return e._cache=e._cache.slice(n),e._prev=Buffer.concat([e._prev,r?t:o]),o}var Buffer=e("safe-buffer").Buffer,i=e("buffer-xor");r.encrypt=function(e,t,r){for(var i,o=Buffer.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=Buffer.allocUnsafe(0)),!(e._cache.length<=t.length)){o=Buffer.concat([o,n(e,t,r)]);break}i=e._cache.length,o=Buffer.concat([o,n(e,t.slice(0,i),r)]),t=t.slice(i)}return o}},{"buffer-xor":104,"safe-buffer":313}],87:[function(e,t,r){function n(e,t,r){for(var n,i,o,s=-1,a=0;++s<8;)n=e._cipher.encryptBlock(e._prev),i=t&1<<7-s?128:0,a+=(128&(o=n[0]^i))>>s%8,e._prev=function(e,t){var r=e.length,n=-1,i=Buffer.allocUnsafe(e.length);e=Buffer.concat([e,Buffer.from([t])]);for(;++n<r;)i[n]=e[n]<<1|e[n+1]>>7;return i}(e._prev,r?i:o);return a}var Buffer=e("safe-buffer").Buffer;r.encrypt=function(e,t,r){for(var i=t.length,o=Buffer.allocUnsafe(i),s=-1;++s<i;)o[s]=n(e,t[s],r);return o}},{"safe-buffer":313}],88:[function(e,t,r){function n(e,t,r){var n=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=Buffer.concat([e._prev.slice(1),Buffer.from([r?t:n])]),n}var Buffer=e("safe-buffer").Buffer;r.encrypt=function(e,t,r){for(var i=t.length,o=Buffer.allocUnsafe(i),s=-1;++s<i;)o[s]=n(e,t[s],r);return o}},{"safe-buffer":313}],89:[function(e,t,r){function n(e){var t=e._cipher.encryptBlockRaw(e._prev);return o(e._prev),t}var i=e("buffer-xor"),Buffer=e("safe-buffer").Buffer,o=e("../incr32");r.encrypt=function(e,t){var r=Math.ceil(t.length/16),o=e._cache.length;e._cache=Buffer.concat([e._cache,Buffer.allocUnsafe(16*r)]);for(var s=0;s<r;s++){var a=n(e),c=o+16*s;e._cache.writeUInt32BE(a[0],c+0),e._cache.writeUInt32BE(a[1],c+4),e._cache.writeUInt32BE(a[2],c+8),e._cache.writeUInt32BE(a[3],c+12)}var f=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),i(t,f)}},{"../incr32":84,"buffer-xor":104,"safe-buffer":313}],90:[function(e,t,r){r.encrypt=function(e,t){return e._cipher.encryptBlock(t)},r.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},{}],91:[function(e,t,r){var n={ECB:e("./ecb"),CBC:e("./cbc"),CFB:e("./cfb"),CFB8:e("./cfb8"),CFB1:e("./cfb1"),OFB:e("./ofb"),CTR:e("./ctr"),GCM:e("./ctr")},i=e("./list.json");for(var o in i)i[o].module=n[i[o].mode];t.exports=i},{"./cbc":85,"./cfb":86,"./cfb1":87,"./cfb8":88,"./ctr":89,"./ecb":90,"./list.json":92,"./ofb":93}],92:[function(e,t,r){t.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"}}},{}],93:[function(e,t,r){(function(Buffer){function t(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}var n=e("buffer-xor");r.encrypt=function(e,r){for(;e._cache.length<r.length;)e._cache=Buffer.concat([e._cache,t(e)]);var i=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),n(r,i)}}).call(this,e("buffer").Buffer)},{buffer:105,"buffer-xor":104}],94:[function(e,t,r){function n(e,t,r,n){o.call(this),this._cipher=new i.AES(t),this._prev=Buffer.from(r),this._cache=Buffer.allocUnsafe(0),this._secCache=Buffer.allocUnsafe(0),this._decrypt=n,this._mode=e}var i=e("./aes"),Buffer=e("safe-buffer").Buffer,o=e("cipher-base");e("inherits")(n,o),n.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},n.prototype._final=function(){this._cipher.scrub()},t.exports=n},{"./aes":78,"cipher-base":109,inherits:248,"safe-buffer":313}],95:[function(e,t,r){function n(e,t,r){if(e=e.toLowerCase(),f[e])return s.createCipheriv(e,t,r);if(c[e])return new a({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function i(e,t,r){if(e=e.toLowerCase(),f[e])return s.createDecipheriv(e,t,r);if(c[e])return new a({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}var o=e("evp_bytestokey"),s=e("browserify-aes/browser"),a=e("browserify-des"),c=e("browserify-des/modes"),f=e("browserify-aes/modes");r.createCipher=r.Cipher=function(e,t){var r,i;if(e=e.toLowerCase(),f[e])r=f[e].key,i=f[e].iv;else{if(!c[e])throw new TypeError("invalid suite type");r=8*c[e].key,i=c[e].iv}var s=o(t,!1,r,i);return n(e,s.key,s.iv)},r.createCipheriv=r.Cipheriv=n,r.createDecipher=r.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),f[e])r=f[e].key,n=f[e].iv;else{if(!c[e])throw new TypeError("invalid suite type");r=8*c[e].key,n=c[e].iv}var s=o(t,!1,r,n);return i(e,s.key,s.iv)},r.createDecipheriv=r.Decipheriv=i,r.listCiphers=r.getCiphers=function(){return Object.keys(c).concat(s.getCiphers())}},{"browserify-aes/browser":80,"browserify-aes/modes":91,"browserify-des":96,"browserify-des/modes":97,evp_bytestokey:231}],96:[function(e,t,r){(function(Buffer){function r(e){n.call(this);var t,r=e.mode.toLowerCase(),i=s[r];t=e.decrypt?"decrypt":"encrypt";var o=e.key;"des-ede"!==r&&"des-ede-cbc"!==r||(o=Buffer.concat([o,o.slice(0,8)]));var a=e.iv;this._des=i.create({key:o,iv:a,type:t})}var n=e("cipher-base"),i=e("des.js"),o=e("inherits"),s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],t.exports=r,o(r,n),r.prototype._update=function(e){return new Buffer(this._des.update(e))},r.prototype._final=function(){return new Buffer(this._des.final())}}).call(this,e("buffer").Buffer)},{buffer:105,"cipher-base":109,"des.js":214,inherits:248}],97:[function(e,t,r){r["des-ecb"]={key:8,iv:0},r["des-cbc"]=r.des={key:8,iv:8},r["des-ede3-cbc"]=r.des3={key:24,iv:8},r["des-ede3"]={key:24,iv:0},r["des-ede-cbc"]={key:16,iv:8},r["des-ede"]={key:16,iv:0}},{}],98:[function(e,t,r){"use strict";function n(e){this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(Buffer.isEncoding===l||!l(e)))throw new Error("Unknown encoding: "+e);return t||e}(e);var t;switch(this.encoding){case"utf16le":this.text=s,this.end=a,t=4;break;case"utf8":this.fillLast=o,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=u,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=Buffer.allocUnsafe(t)}function i(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function o(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(r);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�".repeat(r+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�".repeat(r+2)}}(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function s(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function a(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function u(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}var Buffer=e("safe-buffer").Buffer,l=Buffer.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};r.StringDecoder=n,n.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},n.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�".repeat(this.lastTotal-this.lastNeed):t},n.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var o=i(t[n]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--n<r?0:(o=i(t[n]))>=0?(o>0&&(e.lastNeed=o-2),o):--n<r?0:(o=i(t[n]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":313}],99:[function(e,t,r){arguments[4][74][0].apply(r,arguments)},{"base-x":22,dup:74}],100:[function(e,t,r){"use strict";var n=e("bs58"),Buffer=e("safe-buffer").Buffer;t.exports=function(e){function t(t){var r=t.slice(0,-4),n=t.slice(-4),i=e(r);if(!(n[0]^i[0]|n[1]^i[1]|n[2]^i[2]|n[3]^i[3]))return r}return{encode:function(t){var r=e(t);return n.encode(Buffer.concat([t,r],t.length+4))},decode:function(e){var r=t(n.decode(e));if(!r)throw new Error("Invalid checksum");return r},decodeUnsafe:function(e){var r=n.decodeUnsafe(e);if(r)return t(r)}}}},{bs58:99,"safe-buffer":313}],101:[function(e,t,r){"use strict";var n=e("create-hash"),i=e("./base");t.exports=i(function(e){var t=n("sha256").update(e).digest();return n("sha256").update(t).digest()})},{"./base":100,"create-hash":130}],102:[function(e,t,r){(function(Buffer){"use strict";t.exports=function(e,t){if(!Buffer.isBuffer(e)||!Buffer.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return!0;if("function"==typeof e.equals)return e.equals(t);if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}}).call(this,{isBuffer:e("../is-buffer/index.js")})},{"../is-buffer/index.js":249}],103:[function(e,t,r){(function(Buffer){t.exports=function(e){for(var t=new Buffer(e.length),r=0,n=e.length-1;r<=n;++r,--n)t[r]=e[n],t[n]=e[r];return t}}).call(this,e("buffer").Buffer)},{buffer:105}],104:[function(e,t,r){(function(Buffer){t.exports=function(e,t){for(var r=Math.min(e.length,t.length),n=new Buffer(r),i=0;i<r;++i)n[i]=e[i]^t[i];return n}}).call(this,e("buffer").Buffer)},{buffer:105}],105:[function(e,t,r){"use strict";function n(e){if(e>O)throw new RangeError("Invalid typed array length");var t=new Uint8Array(e);return t.__proto__=Buffer.prototype,t}function Buffer(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return s(e)}return i(e,t,r)}function i(e,t,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return B(e)?function(e,t,r){if(t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(r||0))throw new RangeError("'length' is out of bounds");var n;n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r);return n.__proto__=Buffer.prototype,n}(e,t,r):"string"==typeof e?function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!Buffer.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var r=0|f(e,t),i=n(r),o=i.write(e,t);o!==r&&(i=i.slice(0,o));return i}(e,t):function(e){if(Buffer.isBuffer(e)){var t=0|c(e.length),r=n(t);return 0===r.length?r:(e.copy(r,0,0,t),r)}if(e){if(P(e)||"length"in e)return"number"!=typeof e.length||M(e.length)?n(0):a(e);if("Buffer"===e.type&&Array.isArray(e.data))return a(e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e)}function o(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function s(e){return o(e),n(e<0?0:0|c(e))}function a(e){for(var t=e.length<0?0:0|c(e.length),r=n(t),i=0;i<t;i+=1)r[i]=255&e[i];return r}function c(e){if(e>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return 0|e}function f(e,t){if(Buffer.isBuffer(e))return e.length;if(P(e)||B(e))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return x(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return I(e).length;default:if(n)return x(e).length;t=(""+t).toLowerCase(),n=!0}}function u(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0);(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=function(e){return e<16?"0"+e.toString(16):e.toString(16)}(e[o]);return i}(this,t,r);case"utf8":case"utf-8":return w(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return function(e,t,r){return 0===t&&r===e.length?C.fromByteArray(e):C.fromByteArray(e.slice(t,r))}(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function h(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function l(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,M(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=Buffer.from(t,n)),Buffer.isBuffer(t))return 0===t.length?-1:d(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):d(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function d(e,t,r,n,i){function o(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}var s=1,a=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,c/=2,r/=2}var f;if(i){var u=-1;for(f=r;f<a;f++)if(o(e,f)===o(t,-1===u?0:f-u)){if(-1===u&&(u=f),f-u+1===c)return u*s}else-1!==u&&(f-=f-u),u=-1}else for(r+c>a&&(r=a-c),f=r;f>=0;f--){for(var h=!0,l=0;l<c;l++)if(o(e,f+l)!==o(t,l)){h=!1;break}if(h)return f}return-1}function p(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(t.substr(2*s,2),16);if(M(a))return s;e[r+s]=a}return s}function b(e,t,r,n){return T(x(t,e.length-r),e,r,n)}function y(e,t,r,n){return T(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function v(e,t,r,n){return y(e,t,r,n)}function m(e,t,r,n){return T(I(t),e,r,n)}function g(e,t,r,n){return T(function(e,t){for(var r,n,i,o=[],s=0;s<e.length&&!((t-=2)<0);++s)r=e.charCodeAt(s),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function w(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o=e[i],s=null,a=o>239?4:o>223?3:o>191?2:1;if(i+a<=r){var c,f,u,h;switch(a){case 1:o<128&&(s=o);break;case 2:128==(192&(c=e[i+1]))&&(h=(31&o)<<6|63&c)>127&&(s=h);break;case 3:c=e[i+1],f=e[i+2],128==(192&c)&&128==(192&f)&&(h=(15&o)<<12|(63&c)<<6|63&f)>2047&&(h<55296||h>57343)&&(s=h);break;case 4:c=e[i+1],f=e[i+2],u=e[i+3],128==(192&c)&&128==(192&f)&&128==(192&u)&&(h=(15&o)<<18|(63&c)<<12|(63&f)<<6|63&u)>65535&&h<1114112&&(s=h)}}null===s?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=a}return function(e){var t=e.length;if(t<=L)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=L));return r}(n)}function _(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function E(e,t,r,n,i,o){if(!Buffer.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function S(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function k(e,t,r,n,i){return t=+t,r>>>=0,i||S(e,0,r,4),R.write(e,t,r,n,23,4),r+4}function A(e,t,r,n,i){return t=+t,r>>>=0,i||S(e,0,r,8),R.write(e,t,r,n,52,8),r+8}function x(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function I(e){return C.toByteArray(function(e){if((e=e.trim().replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function B(e){return e instanceof ArrayBuffer||null!=e&&null!=e.constructor&&"ArrayBuffer"===e.constructor.name&&"number"==typeof e.byteLength}function P(e){return"function"==typeof ArrayBuffer.isView&&ArrayBuffer.isView(e)}function M(e){return e!=e}var C=e("base64-js"),R=e("ieee754");r.Buffer=Buffer,r.SlowBuffer=function(e){return+e!=e&&(e=0),Buffer.alloc(+e)},r.INSPECT_MAX_BYTES=50;var O=2147483647;r.kMaxLength=O,(Buffer.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}())||"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&&Buffer[Symbol.species]===Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),Buffer.poolSize=8192,Buffer.from=function(e,t,r){return i(e,t,r)},Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array,Buffer.alloc=function(e,t,r){return function(e,t,r){return o(e),e<=0?n(e):void 0!==t?"string"==typeof r?n(e).fill(t,r):n(e).fill(t):n(e)}(e,t,r)},Buffer.allocUnsafe=function(e){return s(e)},Buffer.allocUnsafeSlow=function(e){return s(e)},Buffer.isBuffer=function(e){return null!=e&&!0===e._isBuffer},Buffer.compare=function(e,t){if(!Buffer.isBuffer(e)||!Buffer.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},Buffer.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Buffer.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Buffer.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=Buffer.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(!Buffer.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},Buffer.byteLength=f,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},Buffer.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},Buffer.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},Buffer.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?w(this,0,e):u.apply(this,arguments)},Buffer.prototype.equals=function(e){if(!Buffer.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Buffer.compare(this,e)},Buffer.prototype.inspect=function(){var e="",t=r.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},Buffer.prototype.compare=function(e,t,r,n,i){if(!Buffer.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,s=r-t,a=Math.min(o,s),c=this.slice(n,i),f=e.slice(t,r),u=0;u<a;++u)if(c[u]!==f[u]){o=c[u],s=f[u];break}return o<s?-1:s<o?1:0},Buffer.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},Buffer.prototype.indexOf=function(e,t,r){return l(this,e,t,r,!0)},Buffer.prototype.lastIndexOf=function(e,t,r){return l(this,e,t,r,!1)},Buffer.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return p(this,e,t,r);case"utf8":case"utf-8":return b(this,e,t,r);case"ascii":return y(this,e,t,r);case"latin1":case"binary":return v(this,e,t,r);case"base64":return m(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return g(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},Buffer.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;Buffer.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return n.__proto__=Buffer.prototype,n},Buffer.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},Buffer.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},Buffer.prototype.readUInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),this[e]},Buffer.prototype.readUInt16LE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]|this[e+1]<<8},Buffer.prototype.readUInt16BE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]<<8|this[e+1]},Buffer.prototype.readUInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Buffer.prototype.readUInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Buffer.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},Buffer.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||_(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},Buffer.prototype.readInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Buffer.prototype.readInt16LE=function(e,t){e>>>=0,t||_(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt16BE=function(e,t){e>>>=0,t||_(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Buffer.prototype.readInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Buffer.prototype.readFloatLE=function(e,t){return e>>>=0,t||_(e,4,this.length),R.read(this,e,!0,23,4)},Buffer.prototype.readFloatBE=function(e,t){return e>>>=0,t||_(e,4,this.length),R.read(this,e,!1,23,4)},Buffer.prototype.readDoubleLE=function(e,t){return e>>>=0,t||_(e,8,this.length),R.read(this,e,!0,52,8)},Buffer.prototype.readDoubleBE=function(e,t){return e>>>=0,t||_(e,8,this.length),R.read(this,e,!1,52,8)},Buffer.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){E(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},Buffer.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){E(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},Buffer.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,255,0),this[t]=255&e,t+1},Buffer.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},Buffer.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},Buffer.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},Buffer.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Buffer.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},Buffer.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},Buffer.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},Buffer.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},Buffer.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},Buffer.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},Buffer.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Buffer.prototype.writeFloatLE=function(e,t,r){return k(this,e,t,!0,r)},Buffer.prototype.writeFloatBE=function(e,t,r){return k(this,e,t,!1,r)},Buffer.prototype.writeDoubleLE=function(e,t,r){return A(this,e,t,!0,r)},Buffer.prototype.writeDoubleBE=function(e,t,r){return A(this,e,t,!1,r)},Buffer.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},Buffer.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!Buffer.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var s=Buffer.isBuffer(e)?e:new Buffer(e,n),a=s.length;for(o=0;o<r-t;++o)this[o+t]=s[o%a]}return this};var j=/[^+/0-9A-Za-z-_]/g},{"base64-js":106,ieee754:246}],106:[function(e,t,r){"use strict";function n(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function i(e){return s[e>>18&63]+s[e>>12&63]+s[e>>6&63]+s[63&e]}function o(e,t,r){for(var n,o=[],s=t;s<r;s+=3)n=(e[s]<<16)+(e[s+1]<<8)+e[s+2],o.push(i(n));return o.join("")}r.byteLength=function(e){return 3*e.length/4-n(e)},r.toByteArray=function(e){var t,r,i,o,s,f=e.length;o=n(e),s=new c(3*f/4-o),r=o>0?f-4:f;var u=0;for(t=0;t<r;t+=4)i=a[e.charCodeAt(t)]<<18|a[e.charCodeAt(t+1)]<<12|a[e.charCodeAt(t+2)]<<6|a[e.charCodeAt(t+3)],s[u++]=i>>16&255,s[u++]=i>>8&255,s[u++]=255&i;return 2===o?(i=a[e.charCodeAt(t)]<<2|a[e.charCodeAt(t+1)]>>4,s[u++]=255&i):1===o&&(i=a[e.charCodeAt(t)]<<10|a[e.charCodeAt(t+1)]<<4|a[e.charCodeAt(t+2)]>>2,s[u++]=i>>8&255,s[u++]=255&i),s},r.fromByteArray=function(e){for(var t,r=e.length,n=r%3,i="",a=[],c=0,f=r-n;c<f;c+=16383)a.push(o(e,c,c+16383>f?f:c+16383));return 1===n?(t=e[r-1],i+=s[t>>2],i+=s[t<<4&63],i+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],i+=s[t>>10],i+=s[t>>4&63],i+=s[t<<2&63],i+="="),a.push(i),a.join("")};for(var s=[],a=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,h=f.length;u<h;++u)s[u]=f[u],a[f.charCodeAt(u)]=u;a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63},{}],107:[function(e,t,r){"use strict";function n(e){var t=e.shiftRight(35),r=BigInteger.fromHex("07ffffffff"),n=e.and(r).shiftLeft(new BigInteger("5"));return t.and(new BigInteger("1")).intValue()>0&&(n=n.xor(BigInteger.fromHex("98f2bc8e61"))),t.and(new BigInteger("2")).intValue()&&(n=n.xor(BigInteger.fromHex("79b76d99e2"))),t.and(new BigInteger("4")).intValue()&&(n=n.xor(BigInteger.fromHex("f33e5fb3c4"))),t.and(new BigInteger("8")).intValue()&&(n=n.xor(BigInteger.fromHex("ae2eabe2a8"))),t.and(new BigInteger("16")).intValue()&&(n=n.xor(BigInteger.fromHex("1e4f43e470"))),n}function i(e){for(var t=new BigInteger("1"),r=0;r<e.length;++r){var i=e.charCodeAt(r),o=new BigInteger(""+(31&i));t=n(t).xor(o)}return t=n(t)}function o(e,t,r,n){for(var i=0,o=0,s=(1<<r)-1,a=[],c=0;c<e.length;++c)for(i=i<<t|e[c],o+=t;o>=r;)o-=r,a.push(i>>>o&s);if(n)o>0&&a.push(i<<r-o&s);else{if(o>=t)throw new Error("Excess padding");if(i<<r-o&s)throw new Error("Non-zero padding")}return a}for(var BigInteger=e("bigi"),s="qpzry9x8gf2tvdw0s3jn54khce6mua7l",a=":",c=8,f={},u=0;u<s.length;u++){var h=s.charAt(u);if(void 0!==f[h])throw new TypeError(h+" is ambiguous");f[h]=u}t.exports={decode:function(e){if(e.length<8)throw new TypeError(e+" too short");if(e.length>90)throw new TypeError(e+" too long");var t=e.toLowerCase(),r=e.toUpperCase();if(e!==t&&e!==r)throw new Error("Mixed-case string "+e);var o=(e=t).lastIndexOf(a);if(-1===o)throw new Error("No separator character for "+e);if(0===o)throw new Error("Missing prefix for "+e);var s=e.slice(0,o),u=e.slice(o+1);if(u.length<6)throw new Error("Data too short");for(var h=i(s),l=[],d=0;d<u.length;++d){var p=u.charAt(d),b=f[p];if(void 0===b)throw new Error("Unknown character "+p);h=n(h).xor(new BigInteger(""+b)),d+c>=u.length||l.push(b)}if("1"!==h.toString(10))throw new Error("Invalid checksum for "+e);return{prefix:s,words:l}},encode:function(e,t){if(e.length+c+1+t.length>90)throw new TypeError("Exceeds Base32 maximum length");for(var r=i(e=e.toLowerCase()),o=e+a,f=0;f<t.length;++f){var u=t[f];if(u>>>5!=0)throw new Error("Non 5-bit word");r=n(r).xor(new BigInteger(""+u)),o+=s.charAt(u)}for(var h=0;h<c;++h)r=n(r);r=r.xor(new BigInteger("1"));for(var l=0;l<c;++l){var d=5*(c-1-l),p=r.shiftRight(new BigInteger(""+d)).and(BigInteger.fromHex("1f"));o+=s.charAt(p.toString(10))}return o},toWords:function(e){return o(e,8,5,!0)},fromWords:function(e){return o(e,5,8,!1)}}},{bigi:26}],108:[function(e,t,r){(function(Buffer){"use strict";function r(e,t){for(var r=Object.keys(e),n=0;n<r.length;n++)if(e[r[n]]===t)return r[n];return null}function n(e,t){var r=function(e,t){if((e===s||e===o)&&160!==t)throw new Error("Invalid hash length for scriptType");return c[e]<<3|a[t]}(e,8*t.length),n=Buffer.allocUnsafe(1+t.length);return n.writeUInt8(r,0),t.copy(n,1),n}var i=e("./base32"),o="scripthash",s="pubkeyhash",a={};a[160]=0,a[192]=1,a[224]=2,a[256]=3,a[320]=4,a[384]=5,a[448]=6,a[512]=7;var c={};c[s]=0,c[o]=1,t.exports={decode:function(e){var t=i.decode(e),n=i.fromWords(t.words);if(n.length<1)throw new Error("Empty payload in address");var f=function(e){var t=e>>>7;if(1&t||t>0)throw new Error("Invalid version, most significant bit is reserved");var n=r(c,e>>3&15);if(null===n)throw new Error("Invalid script type");var i=parseInt(r(a,7&e),10);if((n===s||n===o)&&160!==i)throw new Error("Mismatch between script type and hash length");return{scriptType:n,hashSize:i}}(n[0]);if(1+f.hashSize/8!==n.length)throw new Error("Hash length does not match version");return{version:f.scriptType,prefix:t.prefix,hash:Buffer.from(n.slice(1))}},encode:function(e,t,r){if(!(r instanceof Buffer))throw new Error("Hash should be passed as a Buffer");if(!(t in c))throw new Error("Unsupported script type");return i.encode(e,i.toWords(n(t,r)))}}}).call(this,e("buffer").Buffer)},{"./base32":107,buffer:105}],109:[function(e,t,r){function n(e){i.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}var Buffer=e("safe-buffer").Buffer,i=e("stream").Transform,o=e("string_decoder").StringDecoder;e("inherits")(n,i),n.prototype.update=function(e,t,r){"string"==typeof e&&(e=Buffer.from(e,t));var n=this._update(e);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(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},n.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},n.prototype._finalOrDigest=function(e){var t=this.__final()||Buffer.alloc(0);return e&&(t=this._toString(t,e,!0)),t},n.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},t.exports=n},{inherits:248,"safe-buffer":313,stream:346,string_decoder:98}],110:[function(e,t,r){function n(e){if(e)return function(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}(e)}t.exports=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks[e]=this._callbacks[e]||[]).push(t),this},n.prototype.once=function(e,t){function r(){n.off(e,r),t.apply(this,arguments)}var n=this;return this._callbacks=this._callbacks||{},r.fn=t,this.on(e,r),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r=this._callbacks[e];if(!r)return this;if(1==arguments.length)return delete this._callbacks[e],this;for(var n,i=0;i<r.length;i++)if((n=r[i])===t||n.fn===t){r.splice(i,1);break}return this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),r=this._callbacks[e];if(r)for(var n=0,i=(r=r.slice(0)).length;n<i;++n)r[n].apply(this,t);return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks[e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},{}],111:[function(e,t,r){(function(Buffer){function e(e){return Object.prototype.toString.call(e)}r.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===e(t)},r.isBoolean=function(e){return"boolean"==typeof e},r.isNull=function(e){return null===e},r.isNullOrUndefined=function(e){return null==e},r.isNumber=function(e){return"number"==typeof e},r.isString=function(e){return"string"==typeof e},r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=function(e){return void 0===e},r.isRegExp=function(t){return"[object RegExp]"===e(t)},r.isObject=function(e){return"object"==typeof e&&null!==e},r.isDate=function(t){return"[object Date]"===e(t)},r.isError=function(t){return"[object Error]"===e(t)||t instanceof Error},r.isFunction=function(e){return"function"==typeof e},r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=Buffer.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":249}],112:[function(e,t,r){(function(Buffer){function r(e){this.curveType=s[e],this.curveType||(this.curveType={name:e}),this.curve=new i.ec(this.curveType.name),this.keys=void 0}function n(e,t,r){Array.isArray(e)||(e=e.toArray());var n=new Buffer(e);if(r&&n.length<r){var i=new Buffer(r-n.length);i.fill(0),n=Buffer.concat([i,n])}return t?n.toString(t):n}var i=e("elliptic"),o=e("bn.js");t.exports=function(e){return new r(e)};var s={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};s.p224=s.secp224r1,s.p256=s.secp256r1=s.prime256v1,s.p192=s.secp192r1=s.prime192v1,s.p384=s.secp384r1,s.p521=s.secp521r1,r.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},r.prototype.computeSecret=function(e,t,r){t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t));return n(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},r.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),n(r,e)},r.prototype.getPrivateKey=function(e){return n(this.keys.getPrivate(),e)},r.prototype.setPublicKey=function(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this.keys._importPublic(e),this},r.prototype.setPrivateKey=function(e,t){t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t));var r=new o(e);return r=r.toString(16),this.keys._importPrivate(r),this}}).call(this,e("buffer").Buffer)},{"bn.js":113,buffer:105,elliptic:114}],113:[function(e,t,r){!function(t,r){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}function s(e,t,r){for(var n=0,i=Math.min(e.length,r),o=t;o<i;o++){var s=e.charCodeAt(o)-48;n<<=4,n|=s>=49&&s<=54?s-49+10:s>=17&&s<=22?s-17+10:15&s}return n}function a(e,t,r,n){for(var i=0,o=Math.min(e.length,r),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=n,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}function c(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var f=1;f<n;f++){for(var u=c>>>26,h=67108863&c,l=Math.min(f,t.length-1),d=Math.max(0,f-e.length+1);d<=l;d++){var p=f-d|0;u+=(s=(i=0|e.words[p])*(o=0|t.words[d])+h)/67108864|0,h=67108863&s}r.words[f]=0|h,c=0|u}return 0!==c?r.words[f]=0|c:r.length--,r.strip()}function f(e,t,r){return(new u).mulp(e,t,r)}function u(e,t){this.x=e,this.y=t}function h(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function l(){h.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function d(){h.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function p(){h.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function b(){h.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function y(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function v(e){y.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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)}"object"==typeof t?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;var Buffer;try{Buffer=e("buffer").Buffer}catch(e){}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,s,a=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=e.length-6,n=0;r>=t;r-=6)i=s(e,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==t&&(i=s(e,t,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,s=o%n,c=Math.min(o,o-s)+r,f=0,u=r;u<c;u+=n)f=a(e,u,u+n,t),this.imuln(i),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if(0!==s){var h=1;for(f=a(e,u,e.length,t),u=0;u<s;u++)h*=t;this.imuln(h),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f)}},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var m=["","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"],g=[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];o.prototype.toString=function(e,t){e=e||10,t=0|t||1;var r;if(16===e||"hex"===e){r="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],c=(16777215&(a<<i|o)).toString(16);r=0!==(o=a>>>24-i&16777215)||s!==this.length-1?m[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,s--)}for(0!==o&&(r=o.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var f=g[e],u=w[e];r="";var h=this.clone();for(h.negative=0;!h.isZero();){var l=h.modn(u).toString(e);r=(h=h.idivn(u)).isZero()?l+r:m[f-l.length]+l+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return n(void 0!==Buffer),this.toArrayLike(Buffer,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var s,a,c="le"===t,f=new e(o),u=this.clone();if(c){for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),f[a]=s;for(;a<o;a++)f[a]=0}else{for(a=0;a<o-i;a++)f[a]=0;for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),f[o-a-1]=s}return f},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();var r,n;this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;var n,i;r>0?(n=this,i=e):(n=e,i=this);for(var o=0,s=0;s<i.length;s++)o=(t=(0|n.words[s])-(0|i.words[s])+o)>>26,this.words[s]=67108863&t;for(;0!==o&&s<n.length;s++)o=(t=(0|n.words[s])+o)>>26,this.words[s]=67108863&t;if(0===o&&s<n.length&&n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this.length=Math.max(this.length,s),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var _=function(e,t,r){var n,i,o,s=e.words,a=t.words,c=r.words,f=0,u=0|s[0],h=8191&u,l=u>>>13,d=0|s[1],p=8191&d,b=d>>>13,y=0|s[2],v=8191&y,m=y>>>13,g=0|s[3],w=8191&g,_=g>>>13,E=0|s[4],S=8191&E,k=E>>>13,A=0|s[5],x=8191&A,I=A>>>13,T=0|s[6],B=8191&T,P=T>>>13,M=0|s[7],C=8191&M,R=M>>>13,O=0|s[8],L=8191&O,j=O>>>13,N=0|s[9],D=8191&N,U=N>>>13,K=0|a[0],H=8191&K,z=K>>>13,q=0|a[1],F=8191&q,W=q>>>13,V=0|a[2],G=8191&V,Y=V>>>13,J=0|a[3],X=8191&J,Z=J>>>13,$=0|a[4],Q=8191&$,ee=$>>>13,te=0|a[5],re=8191&te,ne=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ce=8191&ae,fe=ae>>>13,ue=0|a[8],he=8191&ue,le=ue>>>13,de=0|a[9],pe=8191&de,be=de>>>13;r.negative=e.negative^t.negative,r.length=19;var ye=(f+(n=Math.imul(h,H))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(l,H)|0))<<13)|0;f=((o=Math.imul(l,z))+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,z))+Math.imul(b,H)|0,o=Math.imul(b,z);var ve=(f+(n=n+Math.imul(h,F)|0)|0)+((8191&(i=(i=i+Math.imul(h,W)|0)+Math.imul(l,F)|0))<<13)|0;f=((o=o+Math.imul(l,W)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,z))+Math.imul(m,H)|0,o=Math.imul(m,z),n=n+Math.imul(p,F)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(b,F)|0,o=o+Math.imul(b,W)|0;var me=(f+(n=n+Math.imul(h,G)|0)|0)+((8191&(i=(i=i+Math.imul(h,Y)|0)+Math.imul(l,G)|0))<<13)|0;f=((o=o+Math.imul(l,Y)|0)+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,z))+Math.imul(_,H)|0,o=Math.imul(_,z),n=n+Math.imul(v,F)|0,i=(i=i+Math.imul(v,W)|0)+Math.imul(m,F)|0,o=o+Math.imul(m,W)|0,n=n+Math.imul(p,G)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(b,G)|0,o=o+Math.imul(b,Y)|0;var ge=(f+(n=n+Math.imul(h,X)|0)|0)+((8191&(i=(i=i+Math.imul(h,Z)|0)+Math.imul(l,X)|0))<<13)|0;f=((o=o+Math.imul(l,Z)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(S,H),i=(i=Math.imul(S,z))+Math.imul(k,H)|0,o=Math.imul(k,z),n=n+Math.imul(w,F)|0,i=(i=i+Math.imul(w,W)|0)+Math.imul(_,F)|0,o=o+Math.imul(_,W)|0,n=n+Math.imul(v,G)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,Y)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,Z)|0;var we=(f+(n=n+Math.imul(h,Q)|0)|0)+((8191&(i=(i=i+Math.imul(h,ee)|0)+Math.imul(l,Q)|0))<<13)|0;f=((o=o+Math.imul(l,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(x,H),i=(i=Math.imul(x,z))+Math.imul(I,H)|0,o=Math.imul(I,z),n=n+Math.imul(S,F)|0,i=(i=i+Math.imul(S,W)|0)+Math.imul(k,F)|0,o=o+Math.imul(k,W)|0,n=n+Math.imul(w,G)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(_,G)|0,o=o+Math.imul(_,Y)|0,n=n+Math.imul(v,X)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(b,Q)|0,o=o+Math.imul(b,ee)|0;var _e=(f+(n=n+Math.imul(h,re)|0)|0)+((8191&(i=(i=i+Math.imul(h,ne)|0)+Math.imul(l,re)|0))<<13)|0;f=((o=o+Math.imul(l,ne)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(B,H),i=(i=Math.imul(B,z))+Math.imul(P,H)|0,o=Math.imul(P,z),n=n+Math.imul(x,F)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(I,F)|0,o=o+Math.imul(I,W)|0,n=n+Math.imul(S,G)|0,i=(i=i+Math.imul(S,Y)|0)+Math.imul(k,G)|0,o=o+Math.imul(k,Y)|0,n=n+Math.imul(w,X)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(b,re)|0,o=o+Math.imul(b,ne)|0;var Ee=(f+(n=n+Math.imul(h,oe)|0)|0)+((8191&(i=(i=i+Math.imul(h,se)|0)+Math.imul(l,oe)|0))<<13)|0;f=((o=o+Math.imul(l,se)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(C,H),i=(i=Math.imul(C,z))+Math.imul(R,H)|0,o=Math.imul(R,z),n=n+Math.imul(B,F)|0,i=(i=i+Math.imul(B,W)|0)+Math.imul(P,F)|0,o=o+Math.imul(P,W)|0,n=n+Math.imul(x,G)|0,i=(i=i+Math.imul(x,Y)|0)+Math.imul(I,G)|0,o=o+Math.imul(I,Y)|0,n=n+Math.imul(S,X)|0,i=(i=i+Math.imul(S,Z)|0)+Math.imul(k,X)|0,o=o+Math.imul(k,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(m,re)|0,o=o+Math.imul(m,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,se)|0;var Se=(f+(n=n+Math.imul(h,ce)|0)|0)+((8191&(i=(i=i+Math.imul(h,fe)|0)+Math.imul(l,ce)|0))<<13)|0;f=((o=o+Math.imul(l,fe)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,z))+Math.imul(j,H)|0,o=Math.imul(j,z),n=n+Math.imul(C,F)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(R,F)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(B,G)|0,i=(i=i+Math.imul(B,Y)|0)+Math.imul(P,G)|0,o=o+Math.imul(P,Y)|0,n=n+Math.imul(x,X)|0,i=(i=i+Math.imul(x,Z)|0)+Math.imul(I,X)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,ee)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(_,re)|0,o=o+Math.imul(_,ne)|0,n=n+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,se)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,n=n+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,fe)|0)+Math.imul(b,ce)|0,o=o+Math.imul(b,fe)|0;var ke=(f+(n=n+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,le)|0)+Math.imul(l,he)|0))<<13)|0;f=((o=o+Math.imul(l,le)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(D,H),i=(i=Math.imul(D,z))+Math.imul(U,H)|0,o=Math.imul(U,z),n=n+Math.imul(L,F)|0,i=(i=i+Math.imul(L,W)|0)+Math.imul(j,F)|0,o=o+Math.imul(j,W)|0,n=n+Math.imul(C,G)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(R,G)|0,o=o+Math.imul(R,Y)|0,n=n+Math.imul(B,X)|0,i=(i=i+Math.imul(B,Z)|0)+Math.imul(P,X)|0,o=o+Math.imul(P,Z)|0,n=n+Math.imul(x,Q)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,n=n+Math.imul(S,re)|0,i=(i=i+Math.imul(S,ne)|0)+Math.imul(k,re)|0,o=o+Math.imul(k,ne)|0,n=n+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,se)|0)+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,n=n+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,fe)|0)+Math.imul(m,ce)|0,o=o+Math.imul(m,fe)|0,n=n+Math.imul(p,he)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(b,he)|0,o=o+Math.imul(b,le)|0;var Ae=(f+(n=n+Math.imul(h,pe)|0)|0)+((8191&(i=(i=i+Math.imul(h,be)|0)+Math.imul(l,pe)|0))<<13)|0;f=((o=o+Math.imul(l,be)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(D,F),i=(i=Math.imul(D,W))+Math.imul(U,F)|0,o=Math.imul(U,W),n=n+Math.imul(L,G)|0,i=(i=i+Math.imul(L,Y)|0)+Math.imul(j,G)|0,o=o+Math.imul(j,Y)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,Z)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,Z)|0,n=n+Math.imul(B,Q)|0,i=(i=i+Math.imul(B,ee)|0)+Math.imul(P,Q)|0,o=o+Math.imul(P,ee)|0,n=n+Math.imul(x,re)|0,i=(i=i+Math.imul(x,ne)|0)+Math.imul(I,re)|0,o=o+Math.imul(I,ne)|0,n=n+Math.imul(S,oe)|0,i=(i=i+Math.imul(S,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,n=n+Math.imul(w,ce)|0,i=(i=i+Math.imul(w,fe)|0)+Math.imul(_,ce)|0,o=o+Math.imul(_,fe)|0,n=n+Math.imul(v,he)|0,i=(i=i+Math.imul(v,le)|0)+Math.imul(m,he)|0,o=o+Math.imul(m,le)|0;var xe=(f+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,be)|0)+Math.imul(b,pe)|0))<<13)|0;f=((o=o+Math.imul(b,be)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(D,G),i=(i=Math.imul(D,Y))+Math.imul(U,G)|0,o=Math.imul(U,Y),n=n+Math.imul(L,X)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(j,X)|0,o=o+Math.imul(j,Z)|0,n=n+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,n=n+Math.imul(B,re)|0,i=(i=i+Math.imul(B,ne)|0)+Math.imul(P,re)|0,o=o+Math.imul(P,ne)|0,n=n+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,se)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,se)|0,n=n+Math.imul(S,ce)|0,i=(i=i+Math.imul(S,fe)|0)+Math.imul(k,ce)|0,o=o+Math.imul(k,fe)|0,n=n+Math.imul(w,he)|0,i=(i=i+Math.imul(w,le)|0)+Math.imul(_,he)|0,o=o+Math.imul(_,le)|0;var Ie=(f+(n=n+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,be)|0)+Math.imul(m,pe)|0))<<13)|0;f=((o=o+Math.imul(m,be)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(D,X),i=(i=Math.imul(D,Z))+Math.imul(U,X)|0,o=Math.imul(U,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,ee)|0)+Math.imul(j,Q)|0,o=o+Math.imul(j,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(R,re)|0,o=o+Math.imul(R,ne)|0,n=n+Math.imul(B,oe)|0,i=(i=i+Math.imul(B,se)|0)+Math.imul(P,oe)|0,o=o+Math.imul(P,se)|0,n=n+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,fe)|0)+Math.imul(I,ce)|0,o=o+Math.imul(I,fe)|0,n=n+Math.imul(S,he)|0,i=(i=i+Math.imul(S,le)|0)+Math.imul(k,he)|0,o=o+Math.imul(k,le)|0;var Te=(f+(n=n+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,be)|0)+Math.imul(_,pe)|0))<<13)|0;f=((o=o+Math.imul(_,be)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(D,Q),i=(i=Math.imul(D,ee))+Math.imul(U,Q)|0,o=Math.imul(U,ee),n=n+Math.imul(L,re)|0,i=(i=i+Math.imul(L,ne)|0)+Math.imul(j,re)|0,o=o+Math.imul(j,ne)|0,n=n+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,se)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,se)|0,n=n+Math.imul(B,ce)|0,i=(i=i+Math.imul(B,fe)|0)+Math.imul(P,ce)|0,o=o+Math.imul(P,fe)|0,n=n+Math.imul(x,he)|0,i=(i=i+Math.imul(x,le)|0)+Math.imul(I,he)|0,o=o+Math.imul(I,le)|0;var Be=(f+(n=n+Math.imul(S,pe)|0)|0)+((8191&(i=(i=i+Math.imul(S,be)|0)+Math.imul(k,pe)|0))<<13)|0;f=((o=o+Math.imul(k,be)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(D,re),i=(i=Math.imul(D,ne))+Math.imul(U,re)|0,o=Math.imul(U,ne),n=n+Math.imul(L,oe)|0,i=(i=i+Math.imul(L,se)|0)+Math.imul(j,oe)|0,o=o+Math.imul(j,se)|0,n=n+Math.imul(C,ce)|0,i=(i=i+Math.imul(C,fe)|0)+Math.imul(R,ce)|0,o=o+Math.imul(R,fe)|0,n=n+Math.imul(B,he)|0,i=(i=i+Math.imul(B,le)|0)+Math.imul(P,he)|0,o=o+Math.imul(P,le)|0;var Pe=(f+(n=n+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,be)|0)+Math.imul(I,pe)|0))<<13)|0;f=((o=o+Math.imul(I,be)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(D,oe),i=(i=Math.imul(D,se))+Math.imul(U,oe)|0,o=Math.imul(U,se),n=n+Math.imul(L,ce)|0,i=(i=i+Math.imul(L,fe)|0)+Math.imul(j,ce)|0,o=o+Math.imul(j,fe)|0,n=n+Math.imul(C,he)|0,i=(i=i+Math.imul(C,le)|0)+Math.imul(R,he)|0,o=o+Math.imul(R,le)|0;var Me=(f+(n=n+Math.imul(B,pe)|0)|0)+((8191&(i=(i=i+Math.imul(B,be)|0)+Math.imul(P,pe)|0))<<13)|0;f=((o=o+Math.imul(P,be)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(D,ce),i=(i=Math.imul(D,fe))+Math.imul(U,ce)|0,o=Math.imul(U,fe),n=n+Math.imul(L,he)|0,i=(i=i+Math.imul(L,le)|0)+Math.imul(j,he)|0,o=o+Math.imul(j,le)|0;var Ce=(f+(n=n+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,be)|0)+Math.imul(R,pe)|0))<<13)|0;f=((o=o+Math.imul(R,be)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(D,he),i=(i=Math.imul(D,le))+Math.imul(U,he)|0,o=Math.imul(U,le);var Re=(f+(n=n+Math.imul(L,pe)|0)|0)+((8191&(i=(i=i+Math.imul(L,be)|0)+Math.imul(j,pe)|0))<<13)|0;f=((o=o+Math.imul(j,be)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863;var Oe=(f+(n=Math.imul(D,pe))|0)+((8191&(i=(i=Math.imul(D,be))+Math.imul(U,pe)|0))<<13)|0;return f=((o=Math.imul(U,be))+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,c[0]=ye,c[1]=ve,c[2]=me,c[3]=ge,c[4]=we,c[5]=_e,c[6]=Ee,c[7]=Se,c[8]=ke,c[9]=Ae,c[10]=xe,c[11]=Ie,c[12]=Te,c[13]=Be,c[14]=Pe,c[15]=Me,c[16]=Ce,c[17]=Re,c[18]=Oe,0!==f&&(c[19]=f,r.length++),r};Math.imul||(_=c),o.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?_(this,e,t):r<63?c(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var s=i;i=0;for(var a=67108863&n,c=Math.min(o,t.length-1),f=Math.max(0,o-e.length+1);f<=c;f++){var u=o-f,h=(0|e.words[u])*(0|t.words[f]),l=67108863&h;a=67108863&(l=l+a|0),i+=(s=(s=s+(h/67108864|0)|0)+(l>>>26)|0)>>>26,s&=67108863}r.words[o]=a,n=s,s=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):f(this,e,t)},u.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},u.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},u.prototype.permute=function(e,t,r,n,i,o){for(var s=0;s<o;s++)n[s]=t[e[s]],i[s]=r[e[s]]},u.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,c=Math.cos(2*Math.PI/a),f=Math.sin(2*Math.PI/a),u=0;u<i;u+=a)for(var h=c,l=f,d=0;d<s;d++){var p=r[u+d],b=n[u+d],y=r[u+d+s],v=n[u+d+s],m=h*y-l*v;v=h*v+l*y,y=m,r[u+d]=p+y,n[u+d]=b+v,r[u+d+s]=p-y,n[u+d+s]=b-v,d!==a&&(m=c*h-f*l,l=c*l+f*h,h=m)}},u.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},u.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},u.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},u.prototype.convert13b=function(e,t,r,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],r[2*s]=8191&o,o>>>=13,r[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)r[s]=0;n(0===o),n(0==(-8192&o))},u.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},u.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),s=new Array(n),a=new Array(n),c=new Array(n),f=new Array(n),u=new Array(n),h=new Array(n),l=r.words;l.length=n,this.convert13b(e.words,e.length,s,n),this.convert13b(t.words,t.length,f,n),this.transform(s,o,a,c,n,i),this.transform(f,o,u,h,n,i);for(var d=0;d<n;d++){var p=a[d]*u[d]-c[d]*h[d];c[d]=a[d]*h[d]+c[d]*u[d],a[d]=p}return this.conjugate(a,c,n),this.transform(a,c,l,o,n,i),this.conjugate(l,o,n),this.normalize13b(l,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),f(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[r]=67108863&o}return 0!==t&&(this.words[r]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,c=(0|this.words[t])-a<<r;this.words[t]=c|s,s=a>>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){n("number"==typeof e&&e>=0);var i;i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,c=r;if(i-=s,i=Math.max(0,i),c){for(var f=0;f<s;f++)c.words[f]=this.words[f];c.length=s}if(0===s);else if(this.length>s)for(this.length-=s,f=0;f<this.length;f++)this.words[f]=this.words[f+s];else this.words[0]=0,this.length=1;var u=0;for(f=this.length-1;f>=0&&(0!==u||f>=i);f--){var h=0|this.words[f];this.words[f]=u<<26-o|h>>>o,u=h&a}return c&&0!==u&&(c.words[c.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return!1;return!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o=e.length+r;this._expand(o);var s,a=0;for(i=0;i<e.length;i++){s=(0|this.words[i+r])+a;var c=(0|e.words[i])*t;a=((s-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&s}for(;i<this.length-r;i++)a=(s=(0|this.words[i+r])+a)>>26,this.words[i+r]=67108863&s;if(0===a)return this.strip();for(n(-1===a),a=0,i=0;i<this.length;i++)a=(s=-(0|this.words[i])+a)>>26,this.words[i]=67108863&s;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,s=0|i.words[i.length-1];0!==(r=26-this._countBits(s))&&(i=i.ushln(r),n.iushln(r),s=0|i.words[i.length-1]);var a,c=n.length-i.length;if("mod"!==t){(a=new o(null)).length=c+1,a.words=new Array(a.length);for(var f=0;f<a.length;f++)a.words[f]=0}var u=n.clone()._ishlnsubmul(i,1,c);0===u.negative&&(n=u,a&&(a.words[c]=1));for(var h=c-1;h>=0;h--){var l=67108864*(0|n.words[i.length+h])+(0|n.words[i.length+h-1]);for(l=Math.min(l/s|0,67108863),n._ishlnsubmul(i,l,h);0!==n.negative;)l--,n.negative=0,n._ishlnsubmul(i,1,h),n.isZero()||(n.negative^=1);a&&(a.words[h]=l)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},o.prototype.divmod=function(e,t,r){if(n(!e.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var i,s,a;return 0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t)},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},o.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),s=new o(0),a=new o(0),c=new o(1),f=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++f;for(var u=r.clone(),h=t.clone();!t.isZero();){for(var l=0,d=1;0==(t.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(t.iushrn(l);l-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(u),s.isub(h)),i.iushrn(1),s.iushrn(1);for(var p=0,b=1;0==(r.words[0]&b)&&p<26;++p,b<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(u),c.isub(h)),a.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(a),s.isub(c)):(r.isub(t),a.isub(i),c.isub(s))}return{a:a,b:c,gcd:r.iushln(f)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),s=new o(0),a=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,f=1;0==(t.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(t.iushrn(c);c-- >0;)i.isOdd()&&i.iadd(a),i.iushrn(1);for(var u=0,h=1;0==(r.words[0]&h)&&u<26;++u,h<<=1);if(u>0)for(r.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(a),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s)):(r.isub(t),s.isub(i))}var l;return(l=0===t.cmpn(1)?i:s).cmpn(0)<0&&l.iadd(e),l},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,s=r;0!==o&&s<this.length;s++){var a=0|this.words[s];o=(a+=o)>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t=e<0;if(0!==this.negative&&!t)return-1;if(0===this.negative&&t)return 1;this.strip();var r;if(this.length>1)r=1;else{t&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];r=i===e?0:i<e?-1:1}return 0!==this.negative?0|-r:r},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new y(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var E={k256:null,p224:null,p192:null,p25519:null};h.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},h.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):r.strip(),r},h.prototype.split=function(e,t){e.iushrn(this.n,0,t)},h.prototype.imulK=function(e){return e.imul(this.k)},i(l,h),l.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(t.words[t.length++]=4194303&i,n=10;n<e.length;n++){var o=0|e.words[n];e.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,e.words[n-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},l.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(d,h),i(p,h),i(b,h),b.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(E[e])return E[e];var t;if("k256"===e)t=new l;else if("p224"===e)t=new d;else if("p192"===e)t=new p;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new b}return E[e]=t,t},y.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},y.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},y.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},y.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},y.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},y.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},y.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},y.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},y.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},y.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},y.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},y.prototype.isqr=function(e){return this.imul(e,e.clone())},y.prototype.sqr=function(e){return this.mul(e,e)},y.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);n(!i.isZero());var a=new o(1).toRed(this),c=a.redNeg(),f=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,f).cmp(c);)u.redIAdd(c);for(var h=this.pow(u,i),l=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=s;0!==d.cmp(a);){for(var b=d,y=0;0!==b.cmp(a);y++)b=b.redSqr();n(y<p);var v=this.pow(h,new o(1).iushln(p-y-1));l=l.redMul(v),h=v.redSqr(),d=d.redMul(h),p=y}return l},y.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},y.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],s=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var f=t.words[n],u=c-1;u>=0;u--){var h=f>>u&1;i!==r[0]&&(i=this.sqr(i)),0!==h||0!==s?(s<<=1,s|=h,(4===++a||0===n&&0===u)&&(i=this.mul(i,r[s]),a=0,s=0)):a=0}c=26}return i},y.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},y.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new v(e)},i(v,y),v.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},v.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},v.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},v.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},v.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t,this)},{buffer:77}],114:[function(e,t,r){"use strict";var n=r;n.version=e("../package.json").version,n.utils=e("./elliptic/utils"),n.rand=e("brorand"),n.curve=e("./elliptic/curve"),n.curves=e("./elliptic/curves"),n.ec=e("./elliptic/ec"),n.eddsa=e("./elliptic/eddsa")},{"../package.json":129,"./elliptic/curve":117,"./elliptic/curves":120,"./elliptic/ec":121,"./elliptic/eddsa":124,"./elliptic/utils":128,brorand:76}],115:[function(e,t,r){"use strict";function n(e,t){this.type=e,this.p=new o(t.p,16),this.red=t.prime?o.red(t.prime):o.mont(this.p),this.zero=new o(0).toRed(this.red),this.one=new o(1).toRed(this.red),this.two=new o(2).toRed(this.red),this.n=t.n&&new o(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function i(e,t){this.curve=e,this.type=t,this.precomputed=null}var o=e("bn.js"),s=e("../../elliptic").utils,a=s.getNAF,c=s.getJSF,f=s.assert;t.exports=n,n.prototype.point=function(){throw new Error("Not implemented")},n.prototype.validate=function(){throw new Error("Not implemented")},n.prototype._fixedNafMul=function(e,t){f(e.precomputed);var r=e._getDoubles(),n=a(t,1),i=(1<<r.step+1)-(r.step%2==0?2:1);i/=3;for(var o=[],s=0;s<n.length;s+=r.step){for(var c=0,t=s+r.step-1;t>=s;t--)c=(c<<1)+n[t];o.push(c)}for(var u=this.jpoint(null,null,null),h=this.jpoint(null,null,null),l=i;l>0;l--){for(s=0;s<o.length;s++){(c=o[s])===l?h=h.mixedAdd(r.points[s]):c===-l&&(h=h.mixedAdd(r.points[s].neg()))}u=u.add(h)}return u.toP()},n.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var i=n.points,o=a(t,r),s=this.jpoint(null,null,null),c=o.length-1;c>=0;c--){for(t=0;c>=0&&0===o[c];c--)t++;if(c>=0&&t++,s=s.dblp(t),c<0)break;var u=o[c];f(0!==u),s="affine"===e.type?u>0?s.mixedAdd(i[u-1>>1]):s.mixedAdd(i[-u-1>>1].neg()):u>0?s.add(i[u-1>>1]):s.add(i[-u-1>>1].neg())}return"affine"===e.type?s.toP():s},n.prototype._wnafMulAdd=function(e,t,r,n,i){for(var o=this._wnafT1,s=this._wnafT2,f=this._wnafT3,u=0,h=0;h<n;h++){var l=(A=t[h])._getNAFPoints(e);o[h]=l.wnd,s[h]=l.points}for(h=n-1;h>=1;h-=2){var d=h-1,p=h;if(1===o[d]&&1===o[p]){var b=[t[d],null,null,t[p]];0===t[d].y.cmp(t[p].y)?(b[1]=t[d].add(t[p]),b[2]=t[d].toJ().mixedAdd(t[p].neg())):0===t[d].y.cmp(t[p].y.redNeg())?(b[1]=t[d].toJ().mixedAdd(t[p]),b[2]=t[d].add(t[p].neg())):(b[1]=t[d].toJ().mixedAdd(t[p]),b[2]=t[d].toJ().mixedAdd(t[p].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],v=c(r[d],r[p]);u=Math.max(v[0].length,u),f[d]=new Array(u),f[p]=new Array(u);for(k=0;k<u;k++){var m=0|v[0][k],g=0|v[1][k];f[d][k]=y[3*(m+1)+(g+1)],f[p][k]=0,s[d]=b}}else f[d]=a(r[d],o[d]),f[p]=a(r[p],o[p]),u=Math.max(f[d].length,u),u=Math.max(f[p].length,u)}for(var w=this.jpoint(null,null,null),_=this._wnafT4,h=u;h>=0;h--){for(var E=0;h>=0;){for(var S=!0,k=0;k<n;k++)_[k]=0|f[k][h],0!==_[k]&&(S=!1);if(!S)break;E++,h--}if(h>=0&&E++,w=w.dblp(E),h<0)break;for(k=0;k<n;k++){var A,x=_[k];0!==x&&(x>0?A=s[k][x-1>>1]:x<0&&(A=s[k][-x-1>>1].neg()),w="affine"===A.type?w.mixedAdd(A):w.add(A))}}for(h=0;h<n;h++)s[h]=null;return i?w:w.toP()},n.BasePoint=i,i.prototype.eq=function(){throw new Error("Not implemented")},i.prototype.validate=function(){return this.curve.validate(this)},n.prototype.decodePoint=function(e,t){e=s.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r){6===e[0]?f(e[e.length-1]%2==0):7===e[0]&&f(e[e.length-1]%2==1);return this.point(e.slice(1,1+r),e.slice(1+r,1+2*r))}if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},i.prototype.encodeCompressed=function(e){return this.encode(e,!0)},i.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},i.prototype.encode=function(e,t){return s.encode(this._encode(t),e)},i.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},i.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},i.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<t;i+=e){for(var o=0;o<e;o++)n=n.dbl();r.push(n)}return{step:e,points:r}},i.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)t[i]=t[i-1].add(n);return{wnd:e,points:t}},i.prototype._getBeta=function(){return null},i.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},{"../../elliptic":114,"bn.js":113}],116:[function(e,t,r){"use strict";function n(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,c.call(this,"edwards",e),this.a=new s(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new s(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new s(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),f(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function Point(e,t,r,n,i){c.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new s(t,16),this.y=new s(r,16),this.z=n?new s(n,16):this.curve.one,this.t=i&&new s(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}var i=e("../curve"),o=e("../../elliptic"),s=e("bn.js"),a=e("inherits"),c=i.base,f=o.utils.assert;a(n,c),t.exports=n,n.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},n.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},n.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},n.prototype.pointFromX=function(e,t){(e=new s(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),i=this.one.redSub(this.c2.redMul(this.d).redMul(r)),o=n.redMul(i.redInvm()),a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var c=a.fromRed().isOdd();return(t&&!c||!t&&c)&&(a=a.redNeg()),this.point(e,a)},n.prototype.pointFromY=function(e,t){(e=new s(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.one),i=r.redMul(this.d).redAdd(this.one),o=n.redMul(i.redInvm());if(0===o.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return a.isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},n.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(i)},a(Point,c.BasePoint),n.prototype.pointFromJSON=function(e){return Point.fromJSON(this,e)},n.prototype.point=function(e,t,r,n){return new Point(this,e,t,r,n)},Point.fromJSON=function(e,t){return new Point(e,t[0],t[1],t[2])},Point.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},Point.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&0===this.y.cmp(this.z)},Point.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=n.redAdd(t),s=o.redSub(r),a=n.redSub(t),c=i.redMul(s),f=o.redMul(a),u=i.redMul(a),h=s.redMul(o);return this.curve.point(c,f,h,u)},Point.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),o=this.y.redSqr();if(this.curve.twisted){var s=(f=this.curve._mulA(i)).redAdd(o);if(this.zOne)e=n.redSub(i).redSub(o).redMul(s.redSub(this.curve.two)),t=s.redMul(f.redSub(o)),r=s.redSqr().redSub(s).redSub(s);else{var a=this.z.redSqr(),c=s.redSub(a).redISub(a);e=n.redSub(i).redISub(o).redMul(c),t=s.redMul(f.redSub(o)),r=s.redMul(c)}}else{var f=i.redAdd(o),a=this.curve._mulC(this.c.redMul(this.z)).redSqr(),c=f.redSub(a).redSub(a);e=this.curve._mulC(n.redISub(f)).redMul(c),t=this.curve._mulC(f).redMul(i.redISub(o)),r=f.redMul(c)}return this.curve.point(e,t,r)},Point.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},Point.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=r.redSub(t),s=i.redSub(n),a=i.redAdd(n),c=r.redAdd(t),f=o.redMul(s),u=a.redMul(c),h=o.redMul(c),l=s.redMul(a);return this.curve.point(f,u,l,h)},Point.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),i=n.redSqr(),o=this.x.redMul(e.x),s=this.y.redMul(e.y),a=this.curve.d.redMul(o).redMul(s),c=i.redSub(a),f=i.redAdd(a),u=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(s),h=n.redMul(c).redMul(u);return this.curve.twisted?(t=n.redMul(f).redMul(s.redSub(this.curve._mulA(o))),r=c.redMul(f)):(t=n.redMul(f).redMul(s.redSub(o)),r=this.curve._mulC(c).redMul(f)),this.curve.point(h,t,r)},Point.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},Point.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},Point.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},Point.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},Point.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},Point.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},Point.prototype.getX=function(){return this.normalize(),this.x.fromRed()},Point.prototype.getY=function(){return this.normalize(),this.y.fromRed()},Point.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},Point.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}return!1},Point.prototype.toP=Point.prototype.normalize,Point.prototype.mixedAdd=Point.prototype.add},{"../../elliptic":114,"../curve":117,"bn.js":113,inherits:248}],117:[function(e,t,r){"use strict";var n=r;n.base=e("./base"),n.short=e("./short"),n.mont=e("./mont"),n.edwards=e("./edwards")},{"./base":115,"./edwards":116,"./mont":118,"./short":119}],118:[function(e,t,r){"use strict";function n(e){a.call(this,"mont",e),this.a=new o(e.a,16).toRed(this.red),this.b=new o(e.b,16).toRed(this.red),this.i4=new o(4).toRed(this.red).redInvm(),this.two=new o(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function Point(e,t,r){a.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new o(t,16),this.z=new o(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}var i=e("../curve"),o=e("bn.js"),s=e("inherits"),a=i.base,c=e("../../elliptic").utils;s(n,a),t.exports=n,n.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},s(Point,a.BasePoint),n.prototype.decodePoint=function(e,t){return this.point(c.toArray(e,t),1)},n.prototype.point=function(e,t){return new Point(this,e,t)},n.prototype.pointFromJSON=function(e){return Point.fromJSON(this,e)},Point.prototype.precompute=function(){},Point.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},Point.fromJSON=function(e,t){return new Point(e,t[0],t[1]||e.one)},Point.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},Point.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},Point.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),i=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},Point.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},Point.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(r),s=i.redMul(n),a=t.z.redMul(o.redAdd(s).redSqr()),c=t.x.redMul(o.redISub(s).redSqr());return this.curve.point(a,c)},Point.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},Point.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},Point.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},Point.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},Point.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},Point.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../../elliptic":114,"../curve":117,"bn.js":113,inherits:248}],119:[function(e,t,r){"use strict";function n(e){f.call(this,"short",e),this.a=new a(e.a,16).toRed(this.red),this.b=new a(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function Point(e,t,r,n){f.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(t,16),this.y=new a(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function i(e,t,r,n){f.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(t,16),this.y=new a(r,16),this.z=new a(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}var o=e("../curve"),s=e("../../elliptic"),a=e("bn.js"),c=e("inherits"),f=o.base,u=s.utils.assert;c(n,f),t.exports=n,n.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new a(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new a(e.lambda,16);else{var i=this._getEndoRoots(this.n);0===this.g.mul(i[0]).x.cmp(this.g.x.redMul(t))?r=i[0]:(r=i[1],u(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}var o;return o=e.basis?e.basis.map(function(e){return{a:new a(e.a,16),b:new a(e.b,16)}}):this._getEndoBasis(r),{beta:t,lambda:r,basis:o}}},n.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:a.mont(e),r=new a(2).toRed(t).redInvm(),n=r.redNeg(),i=new a(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(i).fromRed(),n.redSub(i).fromRed()]},n.prototype._getEndoBasis=function(e){for(var t,r,n,i,o,s,c,f,u,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),l=e,d=this.n.clone(),p=new a(1),b=new a(0),y=new a(0),v=new a(1),m=0;0!==l.cmpn(0);){var g=d.div(l);f=d.sub(g.mul(l)),u=y.sub(g.mul(p));var w=v.sub(g.mul(b));if(!n&&f.cmp(h)<0)t=c.neg(),r=p,n=f.neg(),i=u;else if(n&&2==++m)break;c=f,d=l,l=f,y=p,p=u,v=b,b=w}o=f.neg(),s=u;var _=n.sqr().add(i.sqr());return o.sqr().add(s.sqr()).cmp(_)>=0&&(o=t,s=r),n.negative&&(n=n.neg(),i=i.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:n,b:i},{a:o,b:s}]},n.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),o=r.b.neg().mul(e).divRound(this.n),s=i.mul(r.a),a=o.mul(n.a),c=i.mul(r.b),f=o.mul(n.b);return{k1:e.sub(s).sub(a),k2:c.add(f).neg()}},n.prototype.pointFromX=function(e,t){(e=new a(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(t&&!i||!t&&i)&&(n=n.redNeg()),this.point(e,n)},n.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},n.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<e.length;o++){var s=this._endoSplit(t[o]),a=e[o],c=a._getBeta();s.k1.negative&&(s.k1.ineg(),a=a.neg(!0)),s.k2.negative&&(s.k2.ineg(),c=c.neg(!0)),n[2*o]=a,n[2*o+1]=c,i[2*o]=s.k1,i[2*o+1]=s.k2}for(var f=this._wnafMulAdd(1,n,i,2*o,r),u=0;u<2*o;u++)n[u]=null,i[u]=null;return f},c(Point,f.BasePoint),n.prototype.point=function(e,t,r){return new Point(this,e,t,r)},n.prototype.pointFromJSON=function(e,t){return Point.fromJSON(this,e,t)},Point.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},Point.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},Point.fromJSON=function(e,t,r){function n(t){return e.point(t[0],t[1],r)}"string"==typeof t&&(t=JSON.parse(t));var i=e.point(t[0],t[1],r);if(!t[2])return i;var o=t[2];return i.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[i].concat(o.doubles.points.map(n))},naf:o.naf&&{wnd:o.naf.wnd,points:[i].concat(o.naf.points.map(n))}},i},Point.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},Point.prototype.isInfinity=function(){return this.inf},Point.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},Point.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},Point.prototype.getX=function(){return this.x.fromRed()},Point.prototype.getY=function(){return this.y.fromRed()},Point.prototype.mul=function(e){return e=new a(e,16),this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},Point.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},Point.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},Point.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},Point.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},Point.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);return this.curve.jpoint(this.x,this.y,this.curve.one)},c(i,f.BasePoint),n.prototype.jpoint=function(e,t,r){return new i(this,e,t,r)},i.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},i.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},i.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),o=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(r.redMul(this.z)),a=n.redSub(i),c=o.redSub(s);if(0===a.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var f=a.redSqr(),u=f.redMul(a),h=n.redMul(f),l=c.redSqr().redIAdd(u).redISub(h).redISub(h),d=c.redMul(h.redISub(l)).redISub(o.redMul(u)),p=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(l,d,p)},i.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),s=r.redSub(n),a=i.redSub(o);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),f=c.redMul(s),u=r.redMul(c),h=a.redSqr().redIAdd(f).redISub(u).redISub(u),l=a.redMul(u.redISub(h)).redISub(i.redMul(f)),d=this.z.redMul(s);return this.curve.jpoint(h,l,d)},i.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}for(var n=this.curve.a,i=this.curve.tinv,o=this.x,s=this.y,a=this.z,c=a.redSqr().redSqr(),f=s.redAdd(s),r=0;r<e;r++){var u=o.redSqr(),h=f.redSqr(),l=h.redSqr(),d=u.redAdd(u).redIAdd(u).redIAdd(n.redMul(c)),p=o.redMul(h),b=d.redSqr().redISub(p.redAdd(p)),y=p.redISub(b),v=d.redMul(y);v=v.redIAdd(v).redISub(l);var m=f.redMul(a);r+1<e&&(c=c.redMul(l)),o=b,a=m,f=v}return this.curve.jpoint(o,f.redMul(i),a)},i.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},i.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(n).redISub(o);s=s.redIAdd(s);var a=n.redAdd(n).redIAdd(n),c=a.redSqr().redISub(s).redISub(s),f=o.redIAdd(o);f=(f=f.redIAdd(f)).redIAdd(f),e=c,t=a.redMul(s.redISub(c)).redISub(f),r=this.y.redAdd(this.y)}else{var u=this.x.redSqr(),h=this.y.redSqr(),l=h.redSqr(),d=this.x.redAdd(h).redSqr().redISub(u).redISub(l);d=d.redIAdd(d);var p=u.redAdd(u).redIAdd(u),b=p.redSqr(),y=l.redIAdd(l);y=(y=y.redIAdd(y)).redIAdd(y),e=b.redISub(d).redISub(d),t=p.redMul(d.redISub(e)).redISub(y),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},i.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(n).redISub(o);s=s.redIAdd(s);var a=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),c=a.redSqr().redISub(s).redISub(s);e=c;var f=o.redIAdd(o);f=(f=f.redIAdd(f)).redIAdd(f),t=a.redMul(s.redISub(c)).redISub(f),r=this.y.redAdd(this.y)}else{var u=this.z.redSqr(),h=this.y.redSqr(),l=this.x.redMul(h),d=this.x.redSub(u).redMul(this.x.redAdd(u));d=d.redAdd(d).redIAdd(d);var p=l.redIAdd(l),b=(p=p.redIAdd(p)).redAdd(p);e=d.redSqr().redISub(b),r=this.y.redAdd(this.z).redSqr().redISub(h).redISub(u);var y=h.redSqr();y=(y=(y=y.redIAdd(y)).redIAdd(y)).redIAdd(y),t=d.redMul(p.redISub(e)).redISub(y)}return this.curve.jpoint(e,t,r)},i.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=t.redSqr(),s=r.redSqr(),a=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)),c=t.redAdd(t),f=(c=c.redIAdd(c)).redMul(s),u=a.redSqr().redISub(f.redAdd(f)),h=f.redISub(u),l=s.redSqr();l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var d=a.redMul(h).redISub(l),p=r.redAdd(r).redMul(n);return this.curve.jpoint(u,d,p)},i.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),i=e.redAdd(e).redIAdd(e),o=i.redSqr(),s=this.x.redAdd(t).redSqr().redISub(e).redISub(n),a=(s=(s=(s=s.redIAdd(s)).redAdd(s).redIAdd(s)).redISub(o)).redSqr(),c=n.redIAdd(n);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var f=i.redIAdd(s).redSqr().redISub(o).redISub(a).redISub(c),u=t.redMul(f);u=(u=u.redIAdd(u)).redIAdd(u);var h=this.x.redMul(a).redISub(u);h=(h=h.redIAdd(h)).redIAdd(h);var l=this.y.redMul(f.redMul(c.redISub(f)).redISub(s.redMul(a)));l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var d=this.z.redAdd(s).redSqr().redISub(r).redISub(a);return this.curve.jpoint(h,l,d)},i.prototype.mul=function(e,t){return e=new a(e,t),this.curve._wnafMul(this,e)},i.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),i=r.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(n)).cmpn(0)},i.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),i=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}return!1},i.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},i.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../../elliptic":114,"../curve":117,"bn.js":113,inherits:248}],120:[function(e,t,r){"use strict";function n(e){"short"===e.type?this.curve=new a.curve.short(e):"edwards"===e.type?this.curve=new a.curve.edwards(e):this.curve=new a.curve.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,c(this.g.validate(),"Invalid curve"),c(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function i(e,t){Object.defineProperty(o,e,{configurable:!0,enumerable:!0,get:function(){var r=new n(t);return Object.defineProperty(o,e,{configurable:!0,enumerable:!0,value:r}),r}})}var o=r,s=e("hash.js"),a=e("../elliptic"),c=a.utils.assert;o.PresetCurve=n,i("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:s.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),i("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:s.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),i("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:s.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),i("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:s.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),i("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:s.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),i("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["9"]}),i("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var f;try{f=e("./precomputed/secp256k1")}catch(e){f=void 0}i("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:s.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",f]})},{"../elliptic":114,"./precomputed/secp256k1":127,"hash.js":233}],121:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);"string"==typeof e&&(a(s.curves.hasOwnProperty(e),"Unknown curve "+e),e=s.curves[e]),e instanceof s.curves.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var i=e("bn.js"),o=e("hmac-drbg"),s=e("../../elliptic"),a=s.utils.assert,c=e("./key"),f=e("./signature");t.exports=n,n.prototype.keyPair=function(e){return new c(this,e)},n.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},n.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},n.prototype.genKeyPair=function(e){e||(e={});for(var t=new o({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s.rand(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new i(2));;){var a=new i(t.generate(r));if(!(a.cmp(n)>0))return a.iaddn(1),this.keyFromPrivate(a)}},n.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},n.prototype.sign=function(e,t,r,n){"object"==typeof r&&(n=r,r=null),n||(n={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new i(e,16));for(var s=this.n.byteLength(),a=t.getPrivate().toArray("be",s),c=e.toArray("be",s),u=new o({hash:this.hash,entropy:a,nonce:c,pers:n.pers,persEnc:n.persEnc||"utf8"}),h=this.n.sub(new i(1)),l=0;!0;l++){var d=n.k?n.k(l):new i(u.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||d.cmp(h)>=0)){var p=this.g.mul(d);if(!p.isInfinity()){var b=p.getX(),y=b.umod(this.n);if(0!==y.cmpn(0)){var v=d.invm(this.n).mul(y.mul(t.getPrivate()).iadd(e));if(0!==(v=v.umod(this.n)).cmpn(0)){var m=(p.getY().isOdd()?1:0)|(0!==b.cmp(y)?2:0);return n.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),m^=1),new f({r:y,s:v,recoveryParam:m})}}}}}},n.prototype.verify=function(e,t,r,n){e=this._truncateToN(new i(e,16)),r=this.keyFromPublic(r,n);var o=(t=new f(t,"hex")).r,s=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var a=s.invm(this.n),c=a.mul(e).umod(this.n),u=a.mul(o).umod(this.n);if(!this.curve._maxwellTrick){return!(h=this.g.mulAdd(c,r.getPublic(),u)).isInfinity()&&0===h.getX().umod(this.n).cmp(o)}var h=this.g.jmulAdd(c,r.getPublic(),u);return!h.isInfinity()&&h.eqXToP(o)},n.prototype.recoverPubKey=function(e,t,r,n){a((3&r)===r,"The recovery param is more than two bits"),t=new f(t,n);var o=this.n,s=new i(e),c=t.r,u=t.s,h=1&r,l=r>>1;if(c.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");c=l?this.curve.pointFromX(c.add(this.curve.n),h):this.curve.pointFromX(c,h);var d=t.r.invm(o),p=o.sub(s).mul(d).umod(o),b=u.mul(d).umod(o);return this.g.mulAdd(p,c,b)},n.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new f(t,n)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},{"../../elliptic":114,"./key":122,"./signature":123,"bn.js":113,"hmac-drbg":245}],122:[function(e,t,r){"use strict";function n(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}var i=e("bn.js"),o=e("../../elliptic").utils.assert;t.exports=n,n.fromPublic=function(e,t,r){return t instanceof n?t:new n(e,{pub:t,pubEnc:r})},n.fromPrivate=function(e,t,r){return t instanceof n?t:new n(e,{priv:t,privEnc:r})},n.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},n.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},n.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},n.prototype._importPrivate=function(e,t){this.priv=new i(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},n.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?o(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||o(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},n.prototype.derive=function(e){return e.mul(this.priv).getX()},n.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},n.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},n.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../../elliptic":114,"bn.js":113}],123:[function(e,t,r){"use strict";function n(e,t){if(e instanceof n)return e;this._importDER(e,t)||(f(e.r&&e.s,"Signature without r or s"),this.r=new a(e.r,16),this.s=new a(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function i(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,i=0,o=0,s=t.place;o<n;o++,s++)i<<=8,i|=e[s];return t.place=s,i}function o(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function s(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}var a=e("bn.js"),c=e("../../elliptic").utils,f=c.assert;t.exports=n,n.prototype._importDER=function(e,t){e=c.toArray(e,t);var r=new function(){this.place=0};if(48!==e[r.place++])return!1;if(i(e,r)+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var n=i(e,r),o=e.slice(r.place,n+r.place);if(r.place+=n,2!==e[r.place++])return!1;var s=i(e,r);if(e.length!==s+r.place)return!1;var f=e.slice(r.place,s+r.place);return 0===o[0]&&128&o[1]&&(o=o.slice(1)),0===f[0]&&128&f[1]&&(f=f.slice(1)),this.r=new a(o),this.s=new a(f),this.recoveryParam=null,!0},n.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=o(t),r=o(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];s(n,t.length),(n=n.concat(t)).push(2),s(n,r.length);var i=n.concat(r),a=[48];return s(a,i.length),a=a.concat(i),c.encode(a,e)}},{"../../elliptic":114,"bn.js":113}],124:[function(e,t,r){"use strict";function n(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof n))return new n(e);e=o.curves[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=i.sha512}var i=e("hash.js"),o=e("../../elliptic"),s=o.utils,a=s.assert,c=s.parseBytes,f=e("./key"),u=e("./signature");t.exports=n,n.prototype.sign=function(e,t){e=c(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),i=this.g.mul(n),o=this.encodePoint(i),s=this.hashInt(o,r.pubBytes(),e).mul(r.priv()),a=n.add(s).umod(this.curve.n);return this.makeSignature({R:i,S:a,Rencoded:o})},n.prototype.verify=function(e,t,r){e=c(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),i=this.hashInt(t.Rencoded(),n.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(n.pub().mul(i)).eq(o)},n.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return s.intFromLE(e.digest()).umod(this.curve.n)},n.prototype.keyFromPublic=function(e){return f.fromPublic(this,e)},n.prototype.keyFromSecret=function(e){return f.fromSecret(this,e)},n.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},n.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},n.prototype.decodePoint=function(e){var t=(e=s.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!=(128&e[t]),i=s.intFromLE(r);return this.curve.pointFromY(i,n)},n.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},n.prototype.decodeInt=function(e){return s.intFromLE(e)},n.prototype.isPoint=function(e){return e instanceof this.pointClass}},{"../../elliptic":114,"./key":125,"./signature":126,"hash.js":233}],125:[function(e,t,r){"use strict";function n(e,t){this.eddsa=e,this._secret=s(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=s(t.pub)}var i=e("../../elliptic").utils,o=i.assert,s=i.parseBytes,a=i.cachedProperty;n.fromPublic=function(e,t){return t instanceof n?t:new n(e,{pub:t})},n.fromSecret=function(e,t){return t instanceof n?t:new n(e,{secret:t})},n.prototype.secret=function(){return this._secret},a(n,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),a(n,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),a(n,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n}),a(n,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),a(n,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),a(n,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),n.prototype.sign=function(e){return o(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},n.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},n.prototype.getSecret=function(e){return o(this._secret,"KeyPair is public only"),i.encode(this.secret(),e)},n.prototype.getPublic=function(e){return i.encode(this.pubBytes(),e)},t.exports=n},{"../../elliptic":114}],126:[function(e,t,r){"use strict";function n(e,t){this.eddsa=e,"object"!=typeof t&&(t=c(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),s(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof i&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}var i=e("bn.js"),o=e("../../elliptic").utils,s=o.assert,a=o.cachedProperty,c=o.parseBytes;a(n,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),a(n,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),a(n,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),a(n,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),n.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},n.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},t.exports=n},{"../../elliptic":114,"bn.js":113}],127:[function(e,t,r){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},{}],128:[function(e,t,r){"use strict";var n=r,i=e("bn.js"),o=e("minimalistic-assert"),s=e("minimalistic-crypto-utils");n.assert=o,n.toArray=s.toArray,n.zero2=s.zero2,n.toHex=s.toHex,n.encode=s.encode,n.getNAF=function(e,t){for(var r=[],n=1<<t+1,i=e.clone();i.cmpn(1)>=0;){var o;if(i.isOdd()){var s=i.andln(n-1);o=s>(n>>1)-1?(n>>1)-s:s,i.isubn(o)}else o=0;r.push(o);for(var a=0!==i.cmpn(0)&&0===i.andln(n-1)?t+1:1,c=1;c<a;c++)r.push(0);i.iushrn(a)}return r},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,i=0;e.cmpn(-n)>0||t.cmpn(-i)>0;){var o=e.andln(3)+n&3,s=t.andln(3)+i&3;3===o&&(o=-1),3===s&&(s=-1);var a;a=0==(1&o)?0:3!=(f=e.andln(7)+n&7)&&5!==f||2!==s?o:-o,r[0].push(a);var c;if(0==(1&s))c=0;else{var f=t.andln(7)+i&7;c=3!==f&&5!==f||2!==o?s:-s}r[1].push(c),2*n===a+1&&(n=1-n),2*i===c+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new i(e,"hex","le")}},{"bn.js":113,"minimalistic-assert":257,"minimalistic-crypto-utils":258}],129:[function(e,t,r){t.exports={_args:[[{raw:"elliptic@^6.0.0",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.0.0",spec:">=6.0.0 <7.0.0",type:"range"},"/work/blocktrail-sdk-nodejs/node_modules/create-ecdh"]],_from:"elliptic@>=6.0.0 <7.0.0",_id:"[email protected]",_inCache:!0,_location:"/create-ecdh/elliptic",_nodeVersion:"7.0.0",_npmOperationalInternal:{host:"packages-18-east.internal.npmjs.com",tmp:"tmp/elliptic-6.4.0.tgz_1487798866428_0.30510620190761983"},_npmUser:{name:"indutny",email:"[email protected]"},_npmVersion:"3.10.8",_phantomChildren:{},_requested:{raw:"elliptic@^6.0.0",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.0.0",spec:">=6.0.0 <7.0.0",type:"range"},_requiredBy:["/create-ecdh"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz",_shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",_shrinkwrap:null,_spec:"elliptic@^6.0.0",_where:"/work/blocktrail-sdk-nodejs/node_modules/create-ecdh",author:{name:"Fedor Indutny",email:"[email protected]"},bugs:{url:"https://github.com/indutny/elliptic/issues"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},directories:{},dist:{shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",tarball:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz"},files:["lib"],gitHead:"6b0d2b76caae91471649c8e21f0b1d3ba0f96090",homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",maintainers:[{name:"indutny",email:"[email protected]"}],name:"elliptic",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git+ssh://[email protected]/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.4.0"}},{}],130:[function(e,t,r){(function(Buffer){"use strict";function r(e){c.call(this,"digest"),this._hash=e,this.buffers=[]}function n(e){c.call(this,"digest"),this._hash=e}var i=e("inherits"),o=e("./md5"),s=e("ripemd160"),a=e("sha.js"),c=e("cipher-base");i(r,c),r.prototype._update=function(e){this.buffers.push(e)},r.prototype._final=function(){var e=Buffer.concat(this.buffers),t=this._hash(e);return this.buffers=null,t},i(n,c),n.prototype._update=function(e){this._hash.update(e)},n.prototype._final=function(){return this._hash.digest()},t.exports=function(e){return"md5"===(e=e.toLowerCase())?new r(o):new n("rmd160"===e||"ripemd160"===e?new s:a(e))}}).call(this,e("buffer").Buffer)},{"./md5":132,buffer:105,"cipher-base":109,inherits:248,ripemd160:312,"sha.js":338}],131:[function(e,t,r){(function(Buffer){"use strict";var e=4,r=new Buffer(e);r.fill(0);t.exports=function(t,n){var i=n(function(t){if(t.length%e!=0){var n=t.length+(e-t.length%e);t=Buffer.concat([t,r],n)}for(var i=new Array(t.length>>>2),o=0,s=0;o<t.length;o+=e,s++)i[s]=t.readInt32LE(o);return i}(t),8*t.length);t=new Buffer(16);for(var o=0;o<i.length;o++)t.writeInt32LE(i[o],o<<2,!0);return t}}).call(this,e("buffer").Buffer)},{buffer:105}],132:[function(e,t,r){"use strict";function n(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var r=1732584193,n=-271733879,i=-1732584194,u=271733878,h=0;h<e.length;h+=16){var l=r,d=n,p=i,b=u;n=c(n=c(n=c(n=c(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,i=o(i,u=o(u,r=o(r,n,i,u,e[h+0],7,-680876936),n,i,e[h+1],12,-389564586),r,n,e[h+2],17,606105819),u,r,e[h+3],22,-1044525330),i=o(i,u=o(u,r=o(r,n,i,u,e[h+4],7,-176418897),n,i,e[h+5],12,1200080426),r,n,e[h+6],17,-1473231341),u,r,e[h+7],22,-45705983),i=o(i,u=o(u,r=o(r,n,i,u,e[h+8],7,1770035416),n,i,e[h+9],12,-1958414417),r,n,e[h+10],17,-42063),u,r,e[h+11],22,-1990404162),i=o(i,u=o(u,r=o(r,n,i,u,e[h+12],7,1804603682),n,i,e[h+13],12,-40341101),r,n,e[h+14],17,-1502002290),u,r,e[h+15],22,1236535329),i=s(i,u=s(u,r=s(r,n,i,u,e[h+1],5,-165796510),n,i,e[h+6],9,-1069501632),r,n,e[h+11],14,643717713),u,r,e[h+0],20,-373897302),i=s(i,u=s(u,r=s(r,n,i,u,e[h+5],5,-701558691),n,i,e[h+10],9,38016083),r,n,e[h+15],14,-660478335),u,r,e[h+4],20,-405537848),i=s(i,u=s(u,r=s(r,n,i,u,e[h+9],5,568446438),n,i,e[h+14],9,-1019803690),r,n,e[h+3],14,-187363961),u,r,e[h+8],20,1163531501),i=s(i,u=s(u,r=s(r,n,i,u,e[h+13],5,-1444681467),n,i,e[h+2],9,-51403784),r,n,e[h+7],14,1735328473),u,r,e[h+12],20,-1926607734),i=a(i,u=a(u,r=a(r,n,i,u,e[h+5],4,-378558),n,i,e[h+8],11,-2022574463),r,n,e[h+11],16,1839030562),u,r,e[h+14],23,-35309556),i=a(i,u=a(u,r=a(r,n,i,u,e[h+1],4,-1530992060),n,i,e[h+4],11,1272893353),r,n,e[h+7],16,-155497632),u,r,e[h+10],23,-1094730640),i=a(i,u=a(u,r=a(r,n,i,u,e[h+13],4,681279174),n,i,e[h+0],11,-358537222),r,n,e[h+3],16,-722521979),u,r,e[h+6],23,76029189),i=a(i,u=a(u,r=a(r,n,i,u,e[h+9],4,-640364487),n,i,e[h+12],11,-421815835),r,n,e[h+15],16,530742520),u,r,e[h+2],23,-995338651),i=c(i,u=c(u,r=c(r,n,i,u,e[h+0],6,-198630844),n,i,e[h+7],10,1126891415),r,n,e[h+14],15,-1416354905),u,r,e[h+5],21,-57434055),i=c(i,u=c(u,r=c(r,n,i,u,e[h+12],6,1700485571),n,i,e[h+3],10,-1894986606),r,n,e[h+10],15,-1051523),u,r,e[h+1],21,-2054922799),i=c(i,u=c(u,r=c(r,n,i,u,e[h+8],6,1873313359),n,i,e[h+15],10,-30611744),r,n,e[h+6],15,-1560198380),u,r,e[h+13],21,1309151649),i=c(i,u=c(u,r=c(r,n,i,u,e[h+4],6,-145523070),n,i,e[h+11],10,-1120210379),r,n,e[h+2],15,718787259),u,r,e[h+9],21,-343485551),r=f(r,l),n=f(n,d),i=f(i,p),u=f(u,b)}return[r,n,i,u]}function i(e,t,r,n,i,o){return f(function(e,t){return e<<t|e>>>32-t}(f(f(t,e),f(n,o)),i),r)}function o(e,t,r,n,o,s,a){return i(t&r|~t&n,e,t,o,s,a)}function s(e,t,r,n,o,s,a){return i(t&n|r&~n,e,t,o,s,a)}function a(e,t,r,n,o,s,a){return i(t^r^n,e,t,o,s,a)}function c(e,t,r,n,o,s,a){return i(r^(t|~n),e,t,o,s,a)}function f(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}var u=e("./make-hash");t.exports=function(e){return u(e,n)}},{"./make-hash":131}],133:[function(e,t,r){"use strict";function n(e,t){s.call(this,"digest"),"string"==typeof t&&(t=Buffer.from(t));var r="sha512"===e||"sha384"===e?128:64;if(this._alg=e,this._key=t,t.length>r){t=("rmd160"===e?new c:f(e)).update(t).digest()}else t.length<r&&(t=Buffer.concat([t,u],r));for(var n=this._ipad=Buffer.allocUnsafe(r),i=this._opad=Buffer.allocUnsafe(r),o=0;o<r;o++)n[o]=54^t[o],i[o]=92^t[o];this._hash="rmd160"===e?new c:f(e),this._hash.update(n)}var i=e("inherits"),o=e("./legacy"),s=e("cipher-base"),Buffer=e("safe-buffer").Buffer,a=e("create-hash/md5"),c=e("ripemd160"),f=e("sha.js"),u=Buffer.alloc(128);i(n,s),n.prototype._update=function(e){this._hash.update(e)},n.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new c:f(this._alg)).update(this._opad).update(e).digest()},t.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new n("rmd160",t):"md5"===e?new o(a,t):new n(e,t)}},{"./legacy":134,"cipher-base":109,"create-hash/md5":132,inherits:248,ripemd160:312,"safe-buffer":313,"sha.js":338}],134:[function(e,t,r){"use strict";function n(e,t){o.call(this,"digest"),"string"==typeof t&&(t=Buffer.from(t)),this._alg=e,this._key=t,t.length>a?t=e(t):t.length<a&&(t=Buffer.concat([t,s],a));for(var r=this._ipad=Buffer.allocUnsafe(a),n=this._opad=Buffer.allocUnsafe(a),i=0;i<a;i++)r[i]=54^t[i],n[i]=92^t[i];this._hash=[r]}var i=e("inherits"),Buffer=e("safe-buffer").Buffer,o=e("cipher-base"),s=Buffer.alloc(128),a=64;i(n,o),n.prototype._update=function(e){this._hash.push(e)},n.prototype._final=function(){var e=this._alg(Buffer.concat(this._hash));return this._alg(Buffer.concat([this._opad,e]))},t.exports=n},{"cipher-base":109,inherits:248,"safe-buffer":313}],135:[function(e,t,r){"use strict";r.randomBytes=r.rng=r.pseudoRandomBytes=r.prng=e("randombytes"),r.createHash=r.Hash=e("create-hash"),r.createHmac=r.Hmac=e("create-hmac");var n=e("browserify-sign/algos"),i=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);r.getHashes=function(){return o};var s=e("pbkdf2");r.pbkdf2=s.pbkdf2,r.pbkdf2Sync=s.pbkdf2Sync;var a=e("browserify-cipher");r.Cipher=a.Cipher,r.createCipher=a.createCipher,r.Cipheriv=a.Cipheriv,r.createCipheriv=a.createCipheriv,r.Decipher=a.Decipher,r.createDecipher=a.createDecipher,r.Decipheriv=a.Decipheriv,r.createDecipheriv=a.createDecipheriv,r.getCiphers=a.getCiphers,r.listCiphers=a.listCiphers;var c=e("diffie-hellman");r.DiffieHellmanGroup=c.DiffieHellmanGroup,r.createDiffieHellmanGroup=c.createDiffieHellmanGroup,r.getDiffieHellman=c.getDiffieHellman,r.createDiffieHellman=c.createDiffieHellman,r.DiffieHellman=c.DiffieHellman;var f=e("browserify-sign");r.createSign=f.createSign,r.Sign=f.Sign,r.createVerify=f.createVerify,r.Verify=f.Verify,r.createECDH=e("create-ecdh");var u=e("public-encrypt");r.publicEncrypt=u.publicEncrypt,r.privateEncrypt=u.privateEncrypt,r.publicDecrypt=u.publicDecrypt,r.privateDecrypt=u.privateDecrypt;var h=e("randomfill");r.randomFill=h.randomFill,r.randomFillSync=h.randomFillSync,r.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},r.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":95,"browserify-sign":155,"browserify-sign/algos":152,"create-ecdh":112,"create-hash":130,"create-hmac":133,"diffie-hellman":220,pbkdf2:259,"public-encrypt":266,randombytes:299,randomfill:300}],136:[function(e,t,r){var n=r;n.bignum=e("bn.js"),n.define=e("./asn1/api").define,n.base=e("./asn1/base"),n.constants=e("./asn1/constants"),n.decoders=e("./asn1/decoders"),n.encoders=e("./asn1/encoders")},{"./asn1/api":137,"./asn1/base":139,"./asn1/constants":143,"./asn1/decoders":145,"./asn1/encoders":148,"bn.js":150}],137:[function(e,t,r){function n(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}var i=e("../asn1"),o=e("inherits");r.define=function(e,t){return new n(e,t)},n.prototype._createNamed=function(t){var r;try{r=e("vm").runInThisContext("(function "+this.name+"(entity) {\n  this._initNamed(entity);\n})")}catch(e){r=function(e){this._initNamed(e)}}return o(r,t),r.prototype._initNamed=function(e){t.call(this,e)},new r(this)},n.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(i.decoders[e])),this.decoders[e]},n.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},n.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(i.encoders[e])),this.encoders[e]},n.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},{"../asn1":136,inherits:248,vm:364}],138:[function(e,t,r){function n(e,t){s.call(this,t),Buffer.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function i(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof i||(e=new i(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=Buffer.byteLength(e);else{if(!Buffer.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}var o=e("inherits"),s=e("../base").Reporter,Buffer=e("buffer").Buffer;o(n,s),r.DecoderBuffer=n,n.prototype.save=function(){return{offset:this.offset,reporter:s.prototype.save.call(this)}},n.prototype.restore=function(e){var t=new n(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,s.prototype.restore.call(this,e.reporter),t},n.prototype.isEmpty=function(){return this.offset===this.length},n.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},n.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new n(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},n.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},r.EncoderBuffer=i,i.prototype.join=function(e,t){return e||(e=new Buffer(this.length)),t||(t=0),0===this.length?e:(Array.isArray(this.value)?this.value.forEach(function(r){r.join(e,t),t+=r.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):Buffer.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length),e)}},{"../base":139,buffer:105,inherits:248}],139:[function(e,t,r){var n=r;n.Reporter=e("./reporter").Reporter,n.DecoderBuffer=e("./buffer").DecoderBuffer,n.EncoderBuffer=e("./buffer").EncoderBuffer,n.Node=e("./node")},{"./buffer":138,"./node":140,"./reporter":141}],140:[function(e,t,r){function n(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}var i=e("../base").Reporter,o=e("../base").EncoderBuffer,s=e("../base").DecoderBuffer,a=e("minimalistic-assert"),c=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],f=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(c);t.exports=n;var u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];n.prototype.clone=function(){var e=this._baseState,t={};u.forEach(function(r){t[r]=e[r]});var r=new this.constructor(t.parent);return r._baseState=t,r},n.prototype._wrap=function(){var e=this._baseState;f.forEach(function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}},this)},n.prototype._init=function(e){var t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),a.equal(t.children.length,1,"Root node can have only one child")},n.prototype._useArgs=function(e){var t=this._baseState,r=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==r.length&&(a(null===t.children),t.children=r,r.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(r){r==(0|r)&&(r|=0);var n=e[r];t[n]=r}),t}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(e){n.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}}),c.forEach(function(e){n.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(r),this}}),n.prototype.use=function(e){a(e);var t=this._baseState;return a(null===t.use),t.use=e,this},n.prototype.optional=function(){return this._baseState.optional=!0,this},n.prototype.def=function(e){var t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},n.prototype.explicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},n.prototype.implicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},n.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},n.prototype.key=function(e){var t=this._baseState;return a(null===t.key),t.key=e,this},n.prototype.any=function(){return this._baseState.any=!0,this},n.prototype.choice=function(e){var t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},n.prototype.contains=function(e){var t=this._baseState;return a(null===t.use),t.contains=e,this},n.prototype._decode=function(e,t){var r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var n=r.default,i=!0,o=null;if(null!==r.key&&(o=e.enterKey(r.key)),r.optional){var a=null;if(null!==r.explicit?a=r.explicit:null!==r.implicit?a=r.implicit:null!==r.tag&&(a=r.tag),null!==a||r.any){if(i=this._peekTag(e,a,r.any),e.isError(i))return i}else{h=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),i=!0}catch(e){i=!1}e.restore(h)}}var c;if(r.obj&&i&&(c=e.enterObject()),i){if(null!==r.explicit){var f=this._decodeTag(e,r.explicit);if(e.isError(f))return f;e=f}var u=e.offset;if(null===r.use&&null===r.choice){if(r.any)var h=e.save();var l=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(l))return l;r.any?n=e.raw(h):e=l}if(t&&t.track&&null!==r.tag&&t.track(e.path(),u,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),n=r.any?n:null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),e.isError(n))return n;if(r.any||null!==r.choice||null===r.children||r.children.forEach(function(r){r._decode(e,t)}),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var d=new s(n);n=this._getUse(r.contains,e._reporterState.obj)._decode(d,t)}}return r.obj&&i&&(n=e.leaveObject(c)),null===r.key||null===n&&!0!==i?null!==o&&e.exitKey(o):e.leaveKey(o,r.key,n),n},n.prototype._decodeGeneric=function(e,t,r){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},n.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),a(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},n.prototype._decodeChoice=function(e,t){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some(function(o){var s=e.save(),a=r.choice[o];try{var c=a._decode(e,t);if(e.isError(c))return!1;n={type:o,value:c},i=!0}catch(t){return e.restore(s),!1}return!0},this),i?n:e.error("Choice not matched")},n.prototype._createEncoderBuffer=function(e){return new o(e,this.reporter)},n.prototype._encode=function(e,t,r){var n=this._baseState;if(null===n.default||n.default!==e){var i=this._encodeValue(e,t,r);if(void 0!==i&&!this._skipDefault(i,t,r))return i}},n.prototype._encodeValue=function(e,t,r){var n=this._baseState;if(null===n.parent)return n.children[0]._encode(e,t||new i);c=null;if(this.reporter=t,n.optional&&void 0===e){if(null===n.default)return;e=n.default}var o=null,s=!1;if(n.any)c=this._createEncoderBuffer(e);else if(n.choice)c=this._encodeChoice(e,t);else if(n.contains)o=this._getUse(n.contains,r)._encode(e,t),s=!0;else if(n.children)o=n.children.map(function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var n=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var i=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),i},this).filter(function(e){return e}),o=this._createEncoderBuffer(o);else if("seqof"===n.tag||"setof"===n.tag){if(!n.args||1!==n.args.length)return t.error("Too many args for : "+n.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var a=this.clone();a._baseState.implicit=null,o=this._createEncoderBuffer(e.map(function(r){var n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)},a))}else null!==n.use?c=this._getUse(n.use,r)._encode(e,t):(o=this._encodePrimitive(n.tag,e),s=!0);var c;if(!n.any&&null===n.choice){var f=null!==n.implicit?n.implicit:n.tag,u=null===n.implicit?"universal":"context";null===f?null===n.use&&t.error("Tag could be omitted only for .use()"):null===n.use&&(c=this._encodeComposite(f,s,u,o))}return null!==n.explicit&&(c=this._encodeComposite(n.explicit,!1,"context",c)),c},n.prototype._encodeChoice=function(e,t){var r=this._baseState,n=r.choice[e.type];return n||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},n.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},n.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},n.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},{"../base":139,"minimalistic-assert":257}],141:[function(e,t,r){function n(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function i(e,t){this.path=e,this.rethrow(t)}var o=e("inherits");r.Reporter=n,n.prototype.isError=function(e){return e instanceof i},n.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},n.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},n.prototype.enterKey=function(e){return this._reporterState.path.push(e)},n.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},n.prototype.leaveKey=function(e,t,r){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},n.prototype.path=function(){return this._reporterState.path.join("/")},n.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},n.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},n.prototype.error=function(e){var t,r=this._reporterState,n=e instanceof i;if(t=n?e:new i(r.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},n.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},o(i,Error),i.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,i),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},{inherits:248}],142:[function(e,t,r){var n=e("../constants");r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=n._reverse(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=n._reverse(r.tag)},{"../constants":143}],143:[function(e,t,r){var n=r;n._reverse=function(e){var t={};return Object.keys(e).forEach(function(r){(0|r)==r&&(r|=0);var n=e[r];t[n]=r}),t},n.der=e("./der")},{"./der":142}],144:[function(e,t,r){function n(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new i,this.tree._init(e.body)}function i(e){f.Node.call(this,"der",e)}function o(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=h.tagClass[r>>6],i=0==(32&r);if(31==(31&r)){var o=r;for(r=0;128==(128&o);){if(o=e.readUInt8(t),e.isError(o))return o;r<<=7,r|=127&o}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:h.tag[r]}}function s(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;var i=127&n;if(i>4)return e.error("length octect is too long");n=0;for(var o=0;o<i;o++){n<<=8;var s=e.readUInt8(r);if(e.isError(s))return s;n|=s}return n}var a=e("inherits"),c=e("../../asn1"),f=c.base,u=c.bignum,h=c.constants.der;t.exports=n,n.prototype.decode=function(e,t){return e instanceof f.DecoderBuffer||(e=new f.DecoderBuffer(e,t)),this.tree._decode(e,t)},a(i,f.Node),i.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var n=e.save(),i=o(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(n),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||r)},i.prototype._decodeTag=function(e,t,r){var n=o(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;var i=s(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var a=e.save(),c=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(c)?c:(i=e.offset-a.offset,e.restore(a),e.skip(i,'Failed to match body of: "'+t+'"'))},i.prototype._skipUntilEnd=function(e,t){for(;;){var r=o(e,t);if(e.isError(r))return r;var n=s(e,r.primitive,t);if(e.isError(n))return n;var i;if(i=r.primitive||null!==n?e.skip(n):this._skipUntilEnd(e,t),e.isError(i))return i;if("end"===r.tagStr)break}},i.prototype._decodeList=function(e,t,r,n){for(var i=[];!e.isEmpty();){var o=this._peekTag(e,"end");if(e.isError(o))return o;var s=r.decode(e,"der",n);if(e.isError(s)&&o)break;i.push(s)}return i},i.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var n=e.raw();if(n.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<n.length/2;o++)i+=String.fromCharCode(n.readUInt16BE(2*o));return i}if("numstr"===t){var s=e.raw().toString("ascii");return this._isNumstr(s)?s:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var a=e.raw().toString("ascii");return this._isPrintstr(a)?a:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},i.prototype._decodeObjid=function(e,t,r){for(var n,i=[],o=0;!e.isEmpty();){var s=e.readUInt8();o<<=7,o|=127&s,0==(128&s)&&(i.push(o),o=0)}128&s&&i.push(o);var a=i[0]/40|0,c=i[0]%40;if(n=r?i:[a,c].concat(i.slice(1)),t){var f=t[n.join(" ")];void 0===f&&(f=t[n.join(".")]),void 0!==f&&(n=f)}return n},i.prototype._decodeTime=function(e,t){var r=e.raw().toString();if("gentime"===t)var n=0|r.slice(0,4),i=0|r.slice(4,6),o=0|r.slice(6,8),s=0|r.slice(8,10),a=0|r.slice(10,12),c=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");var n=0|r.slice(0,2),i=0|r.slice(2,4),o=0|r.slice(4,6),s=0|r.slice(6,8),a=0|r.slice(8,10),c=0|r.slice(10,12);n=n<70?2e3+n:1900+n}return Date.UTC(n,i-1,o,s,a,c,0)},i.prototype._decodeNull=function(e){return null},i.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},i.prototype._decodeInt=function(e,t){var r=e.raw(),n=new u(r);return t&&(n=t[n.toString(10)]||n),n},i.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},{"../../asn1":136,inherits:248}],145:[function(e,t,r){var n=r;n.der=e("./der"),n.pem=e("./pem")},{"./der":144,"./pem":146}],146:[function(e,t,r){function n(e){o.call(this,e),this.enc="pem"}var i=e("inherits"),Buffer=e("buffer").Buffer,o=e("./der");i(n,o),t.exports=n,n.prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),i=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,a=-1,c=0;c<r.length;c++){var f=r[c].match(i);if(null!==f&&f[2]===n){if(-1!==s){if("END"!==f[1])break;a=c;break}if("BEGIN"!==f[1])break;s=c}}if(-1===s||-1===a)throw new Error("PEM section not found for: "+n);var u=r.slice(s+1,a).join("");u.replace(/[^a-z0-9\+\/=]+/gi,"");var h=new Buffer(u,"base64");return o.prototype.decode.call(this,h,t)}},{"./der":144,buffer:105,inherits:248}],147:[function(e,t,r){function n(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new i,this.tree._init(e.body)}function i(e){c.Node.call(this,"der",e)}function o(e){return e<10?"0"+e:e}var s=e("inherits"),Buffer=e("buffer").Buffer,a=e("../../asn1"),c=a.base,f=a.constants.der;t.exports=n,n.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},s(i,c.Node),i.prototype._encodeComposite=function(e,t,r,n){var i=function(e,t,r,n){var i;if("seqof"===e?e="seq":"setof"===e&&(e="set"),f.tagByName.hasOwnProperty(e))i=f.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);i=e}return i>=31?n.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=f.tagClassByName[r||"universal"]<<6)}(e,t,r,this.reporter);if(n.length<128){return(a=new Buffer(2))[0]=i,a[1]=n.length,this._createEncoderBuffer([a,n])}for(var o=1,s=n.length;s>=256;s>>=8)o++;var a=new Buffer(2+o);a[0]=i,a[1]=128|o;for(var s=1+o,c=n.length;c>0;s--,c>>=8)a[s]=255&c;return this._createEncoderBuffer([a,n])},i.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new Buffer(2*e.length),n=0;n<e.length;n++)r.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)?this._createEncoderBuffer(e):"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},i.prototype._encodeObjid=function(e,t,r){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(i=0;i<e.length;i++)e[i]|=0}else if(Array.isArray(e)){e=e.slice();for(i=0;i<e.length;i++)e[i]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}for(var n=0,i=0;i<e.length;i++){a=e[i];for(n++;a>=128;a>>=7)n++}for(var o=new Buffer(n),s=o.length-1,i=e.length-1;i>=0;i--){var a=e[i];for(o[s--]=127&a;(a>>=7)>0;)o[s--]=128|127&a}return this._createEncoderBuffer(o)},i.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[o(n.getFullYear()),o(n.getUTCMonth()+1),o(n.getUTCDate()),o(n.getUTCHours()),o(n.getUTCMinutes()),o(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[o(n.getFullYear()%100),o(n.getUTCMonth()+1),o(n.getUTCDate()),o(n.getUTCHours()),o(n.getUTCMinutes()),o(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},i.prototype._encodeNull=function(){return this._createEncoderBuffer("")},i.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!Buffer.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new Buffer(r)}if(Buffer.isBuffer(e)){n=e.length;0===e.length&&n++;o=new Buffer(n);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var n=1,i=e;i>=256;i>>=8)n++;for(var o,i=(o=new Array(n)).length-1;i>=0;i--)o[i]=255&e,e>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new Buffer(o))},i.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},i.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},i.prototype._skipDefault=function(e,t,r){var n,i=this._baseState;if(null===i.default)return!1;var o=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,r).join()),o.length!==i.defaultBuffer.length)return!1;for(n=0;n<o.length;n++)if(o[n]!==i.defaultBuffer[n])return!1;return!0}},{"../../asn1":136,buffer:105,inherits:248}],148:[function(e,t,r){var n=r;n.der=e("./der"),n.pem=e("./pem")},{"./der":147,"./pem":149}],149:[function(e,t,r){function n(e){o.call(this,e),this.enc="pem"}var i=e("inherits"),o=e("./der");i(n,o),t.exports=n,n.prototype.encode=function(e,t){for(var r=o.prototype.encode.call(this,e).toString("base64"),n=["-----BEGIN "+t.label+"-----"],i=0;i<r.length;i+=64)n.push(r.slice(i,i+64));return n.push("-----END "+t.label+"-----"),n.join("\n")}},{"./der":147,inherits:248}],150:[function(e,t,r){arguments[4][113][0].apply(r,arguments)},{buffer:77,dup:113}],151:[function(e,t,r){(function(Buffer){function r(e,t){var r=function(e){var t=n(e);return{blinder:t.toRed(i.mont(e.modulus)).redPow(new i(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),o=t.modulus.byteLength(),s=(i.mont(t.modulus),new i(e).mul(r.blinder).umod(t.modulus)),a=s.toRed(i.mont(t.prime1)),c=s.toRed(i.mont(t.prime2)),f=t.coefficient,u=t.prime1,h=t.prime2,l=a.redPow(t.exponent1),d=c.redPow(t.exponent2);l=l.fromRed(),d=d.fromRed();var p=l.isub(d).imul(f).umod(u);return p.imul(h),d.iadd(p),new Buffer(d.imul(r.unblinder).umod(t.modulus).toArray(!1,o))}function n(e){for(var t=e.modulus.byteLength(),r=new i(o(t));r.cmp(e.modulus)>=0||!r.umod(e.prime1)||!r.umod(e.prime2);)r=new i(o(t));return r}var i=e("bn.js"),o=e("randombytes");t.exports=r,r.getr=n}).call(this,e("buffer").Buffer)},{"bn.js":150,buffer:105,randombytes:299}],152:[function(e,t,r){t.exports=e("./browser/algorithms.json")},{"./browser/algorithms.json":153}],153:[function(e,t,r){t.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],154:[function(e,t,r){t.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],155:[function(e,t,r){(function(Buffer){function r(e){a.Writable.call(this);var t=h[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=s(t.hash),this._tag=t.id,this._signType=t.sign}function n(e){a.Writable.call(this);var t=h[e];if(!t)throw new Error("Unknown message digest");this._hash=s(t.hash),this._tag=t.id,this._signType=t.sign}function i(e){return new r(e)}function o(e){return new n(e)}var s=e("create-hash"),a=e("stream"),c=e("inherits"),f=e("./sign"),u=e("./verify"),h=e("./algorithms.json");Object.keys(h).forEach(function(e){h[e].id=new Buffer(h[e].id,"hex"),h[e.toLowerCase()]=h[e]}),c(r,a.Writable),r.prototype._write=function(e,t,r){this._hash.update(e),r()},r.prototype.update=function(e,t){return"string"==typeof e&&(e=new Buffer(e,t)),this._hash.update(e),this},r.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=f(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},c(n,a.Writable),n.prototype._write=function(e,t,r){this._hash.update(e),r()},n.prototype.update=function(e,t){return"string"==typeof e&&(e=new Buffer(e,t)),this._hash.update(e),this},n.prototype.verify=function(e,t,r){"string"==typeof t&&(t=new Buffer(t,r)),this.end();var n=this._hash.digest();return u(t,n,e,this._signType,this._tag)},t.exports={Sign:i,Verify:o,createSign:i,createVerify:o}}).call(this,e("buffer").Buffer)},{"./algorithms.json":153,"./sign":156,"./verify":157,buffer:105,"create-hash":130,inherits:248,stream:346}],156:[function(e,t,r){(function(Buffer){function r(e,t,r,i){if((e=new Buffer(e.toArray())).length<t.byteLength()){var s=new Buffer(t.byteLength()-e.length);s.fill(0),e=Buffer.concat([s,e])}var a=r.length,c=function(e,t){e=(e=n(e,t)).mod(t);var r=new Buffer(e.toArray());if(r.length<t.byteLength()){var i=new Buffer(t.byteLength()-r.length);i.fill(0),r=Buffer.concat([i,r])}return r}(r,t),f=new Buffer(a);f.fill(1);var u=new Buffer(a);return u.fill(0),u=o(i,u).update(f).update(new Buffer([0])).update(e).update(c).digest(),f=o(i,u).update(f).digest(),u=o(i,u).update(f).update(new Buffer([1])).update(e).update(c).digest(),f=o(i,u).update(f).digest(),{k:u,v:f}}function n(e,t){var r=new c(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function i(e,t,r){var i,s;do{for(i=new Buffer(0);8*i.length<e.bitLength();)t.v=o(r,t.k).update(t.v).digest(),i=Buffer.concat([i,t.v]);s=n(i,e),t.k=o(r,t.k).update(t.v).update(new Buffer([0])).digest(),t.v=o(r,t.k).update(t.v).digest()}while(-1!==s.cmp(e));return s}var o=e("create-hmac"),s=e("browserify-rsa"),a=e("elliptic").ec,c=e("bn.js"),f=e("parse-asn1"),u=e("./curves.json");t.exports=function(e,t,o,h,l){var d=f(t);if(d.curve){if("ecdsa"!==h&&"ecdsa/rsa"!==h)throw new Error("wrong private key type");return function(e,t){var r=u[t.curve.join(".")];if(!r)throw new Error("unknown curve "+t.curve.join("."));var n=new a(r).keyFromPrivate(t.privateKey).sign(e);return new Buffer(n.toDER())}(e,d)}if("dsa"===d.type){if("dsa"!==h)throw new Error("wrong private key type");return function(e,t,o){for(var s,a=t.params.priv_key,f=t.params.p,u=t.params.q,h=t.params.g,l=new c(0),d=n(e,u).mod(u),p=!1,b=r(a,u,e,o);!1===p;)s=i(u,b,o),l=function(e,t,r,n){return h.toRed(c.mont(r)).redPow(t).fromRed().mod(n)}(0,s,f,u),0===(p=s.invm(u).imul(d.add(a.mul(l))).mod(u)).cmpn(0)&&(p=!1,l=new c(0));return function(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var r=[48,e.length+t.length+4,2,e.length];return r=r.concat(e,[2,t.length],t),new Buffer(r)}(l,p)}(e,d,o)}if("rsa"!==h&&"ecdsa/rsa"!==h)throw new Error("wrong private key type");e=Buffer.concat([l,e]);for(var p=d.modulus.byteLength(),b=[0,1];e.length+b.length+1<p;)b.push(255);b.push(0);for(var y=-1;++y<e.length;)b.push(e[y]);return s(b,d)},t.exports.getKey=r,t.exports.makeKey=i}).call(this,e("buffer").Buffer)},{"./curves.json":154,"bn.js":150,"browserify-rsa":151,buffer:105,"create-hmac":133,elliptic:158,"parse-asn1":178}],157:[function(e,t,r){(function(Buffer){function r(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}var n=e("bn.js"),i=e("elliptic").ec,o=e("parse-asn1"),s=e("./curves.json");t.exports=function(e,t,a,c,f){var u=o(a);if("ec"===u.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(e,t,r){var n=s[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var o=new i(n),a=r.data.subjectPrivateKey.data;return o.verify(t,e,a)}(e,t,u)}if("dsa"===u.type){if("dsa"!==c)throw new Error("wrong public key type");return function(e,t,i){var s=i.data.p,a=i.data.q,c=i.data.g,f=i.data.pub_key,u=o.signature.decode(e,"der"),h=u.s,l=u.r;r(h,a),r(l,a);var d=n.mont(s),p=h.invm(a);return 0===c.toRed(d).redPow(new n(t).mul(p).mod(a)).fromRed().mul(f.toRed(d).redPow(l.mul(p).mod(a)).fromRed()).mod(s).mod(a).cmp(l)}(e,t,u)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");t=Buffer.concat([f,t]);for(var h=u.modulus.byteLength(),l=[1],d=0;t.length+l.length+2<h;)l.push(255),d++;l.push(0);for(var p=-1;++p<t.length;)l.push(t[p]);l=new Buffer(l);var b=n.mont(u.modulus);e=(e=new n(e).toRed(b)).redPow(new n(u.publicExponent)),e=new Buffer(e.fromRed().toArray());var y=d<8?1:0;for(h=Math.min(e.length,l.length),e.length!==l.length&&(y=1),p=-1;++p<h;)y|=e[p]^l[p];return 0===y}}).call(this,e("buffer").Buffer)},{"./curves.json":154,"bn.js":150,buffer:105,elliptic:158,"parse-asn1":178}],158:[function(e,t,r){arguments[4][114][0].apply(r,arguments)},{"../package.json":173,"./elliptic/curve":161,"./elliptic/curves":164,"./elliptic/ec":165,"./elliptic/eddsa":168,"./elliptic/utils":172,brorand:76,dup:114}],159:[function(e,t,r){arguments[4][115][0].apply(r,arguments)},{"../../elliptic":158,"bn.js":150,dup:115}],160:[function(e,t,r){arguments[4][116][0].apply(r,arguments)},{"../../elliptic":158,"../curve":161,"bn.js":150,dup:116,inherits:248}],161:[function(e,t,r){arguments[4][117][0].apply(r,arguments)},{"./base":159,"./edwards":160,"./mont":162,"./short":163,dup:117}],162:[function(e,t,r){arguments[4][118][0].apply(r,arguments)},{"../../elliptic":158,"../curve":161,"bn.js":150,dup:118,inherits:248}],163:[function(e,t,r){arguments[4][119][0].apply(r,arguments)},{"../../elliptic":158,"../curve":161,"bn.js":150,dup:119,inherits:248}],164:[function(e,t,r){arguments[4][120][0].apply(r,arguments)},{"../elliptic":158,"./precomputed/secp256k1":171,dup:120,"hash.js":233}],165:[function(e,t,r){arguments[4][121][0].apply(r,arguments)},{"../../elliptic":158,"./key":166,"./signature":167,"bn.js":150,dup:121,"hmac-drbg":245}],166:[function(e,t,r){arguments[4][122][0].apply(r,arguments)},{"../../elliptic":158,"bn.js":150,dup:122}],167:[function(e,t,r){arguments[4][123][0].apply(r,arguments)},{"../../elliptic":158,"bn.js":150,dup:123}],168:[function(e,t,r){arguments[4][124][0].apply(r,arguments)},{"../../elliptic":158,"./key":169,"./signature":170,dup:124,"hash.js":233}],169:[function(e,t,r){arguments[4][125][0].apply(r,arguments)},{"../../elliptic":158,dup:125}],170:[function(e,t,r){arguments[4][126][0].apply(r,arguments)},{"../../elliptic":158,"bn.js":150,dup:126}],171:[function(e,t,r){arguments[4][127][0].apply(r,arguments)},{dup:127}],172:[function(e,t,r){arguments[4][128][0].apply(r,arguments)},{"bn.js":150,dup:128,"minimalistic-assert":257,"minimalistic-crypto-utils":258}],173:[function(e,t,r){t.exports={_args:[[{raw:"elliptic@^6.0.0",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.0.0",spec:">=6.0.0 <7.0.0",type:"range"},"/work/blocktrail-sdk-nodejs/node_modules/crypto-browserify/node_modules/browserify-sign"]],_from:"elliptic@>=6.0.0 <7.0.0",_id:"[email protected]",_inCache:!0,_location:"/crypto-browserify/elliptic",_nodeVersion:"7.0.0",_npmOperationalInternal:{host:"packages-18-east.internal.npmjs.com",tmp:"tmp/elliptic-6.4.0.tgz_1487798866428_0.30510620190761983"},_npmUser:{name:"indutny",email:"[email protected]"},_npmVersion:"3.10.8",_phantomChildren:{},_requested:{raw:"elliptic@^6.0.0",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.0.0",spec:">=6.0.0 <7.0.0",type:"range"},_requiredBy:["/crypto-browserify/browserify-sign"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz",_shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",_shrinkwrap:null,_spec:"elliptic@^6.0.0",_where:"/work/blocktrail-sdk-nodejs/node_modules/crypto-browserify/node_modules/browserify-sign",author:{name:"Fedor Indutny",email:"[email protected]"},bugs:{url:"https://github.com/indutny/elliptic/issues"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},directories:{},dist:{shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",tarball:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz"},files:["lib"],gitHead:"6b0d2b76caae91471649c8e21f0b1d3ba0f96090",homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",maintainers:[{name:"indutny",email:"[email protected]"}],name:"elliptic",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git+ssh://[email protected]/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.4.0"}},{}],174:[function(e,t,r){t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],175:[function(e,t,r){"use strict";var n=e("asn1.js");r.certificate=e("./certificate");var i=n.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});r.RSAPrivateKey=i;var o=n.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});r.RSAPublicKey=o;var s=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())});r.PublicKey=s;var a=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),c=n.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())});r.PrivateKey=c;var f=n.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});r.EncryptedPrivateKey=f;var u=n.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});r.DSAPrivateKey=u,r.DSAparam=n.define("DSAparam",function(){this.int()});var h=n.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(l),this.key("publicKey").optional().explicit(1).bitstr())});r.ECPrivateKey=h;var l=n.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});r.signature=n.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},{"./certificate":176,"asn1.js":136}],176:[function(e,t,r){"use strict";var n=e("asn1.js"),i=n.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),o=n.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),s=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional())}),a=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}),c=n.define("RelativeDistinguishedName",function(){this.setof(o)}),f=n.define("RDNSequence",function(){this.seqof(c)}),u=n.define("Name",function(){this.choice({rdnSequence:this.use(f)})}),h=n.define("Validity",function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))}),l=n.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),d=n.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int(),this.key("serialNumber").int(),this.key("signature").use(s),this.key("issuer").use(u),this.key("validity").use(h),this.key("subject").use(u),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(l).optional())}),p=n.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(s),this.key("signatureValue").bitstr())});t.exports=p},{"asn1.js":136}],177:[function(e,t,r){(function(Buffer){var r=/Proc-Type: 4,ENCRYPTED\n\r?DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)\n\r?\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?/m,n=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n/m,i=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?-----END \1-----$/m,o=e("evp_bytestokey"),s=e("browserify-aes");t.exports=function(e,t){var a,c=e.toString(),f=c.match(r);if(f){var u="aes"+f[1],h=new Buffer(f[2],"hex"),l=new Buffer(f[3].replace(/\r?\n/g,""),"base64"),d=o(t,h.slice(0,8),parseInt(f[1],10)).key,p=[],b=s.createDecipheriv(u,d,h);p.push(b.update(l)),p.push(b.final()),a=Buffer.concat(p)}else{var y=c.match(i);a=new Buffer(y[2].replace(/\r?\n/g,""),"base64")}return{tag:c.match(n)[1],data:a}}}).call(this,e("buffer").Buffer)},{"browserify-aes":80,buffer:105,evp_bytestokey:231}],178:[function(e,t,r){(function(Buffer){function r(e){var t;"object"!=typeof e||Buffer.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=new Buffer(e));var r,c,f=o(e,t),u=f.tag,h=f.data;switch(u){case"CERTIFICATE":c=n.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(c||(c=n.PublicKey.decode(h,"der")),r=c.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(c.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return c.subjectPrivateKey=c.subjectPublicKey,{type:"ec",data:c};case"1.2.840.10040.4.1":return c.algorithm.params.pub_key=n.DSAparam.decode(c.subjectPublicKey.data,"der"),{type:"dsa",data:c.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+u);case"ENCRYPTED PRIVATE KEY":h=function(e,t){var r=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],c=e.algorithm.decrypt.cipher.iv,f=e.subjectPrivateKey,u=parseInt(o.split("-")[1],10)/8,h=a.pbkdf2Sync(t,r,n,u),l=s.createDecipheriv(o,h,c),d=[];return d.push(l.update(f)),d.push(l.final()),Buffer.concat(d)}(h=n.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(c=n.PrivateKey.decode(h,"der"),r=c.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(c.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:c.algorithm.curve,privateKey:n.ECPrivateKey.decode(c.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return c.algorithm.params.priv_key=n.DSAparam.decode(c.subjectPrivateKey,"der"),{type:"dsa",params:c.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+u);case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return h=n.ECPrivateKey.decode(h,"der"),{curve:h.parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+u)}}var n=e("./asn1"),i=e("./aesid.json"),o=e("./fixProc"),s=e("browserify-aes"),a=e("pbkdf2");t.exports=r,r.signature=n.signature}).call(this,e("buffer").Buffer)},{"./aesid.json":174,"./asn1":175,"./fixProc":177,"browserify-aes":80,buffer:105,pbkdf2:259}],179:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./enc-base64"),e("./md5"),e("./evpkdf"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib.BlockCipher,n=t.algo,i=[],o=[],s=[],a=[],c=[],f=[],u=[],h=[],l=[],d=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=0,n=0,t=0;t<256;t++){var p=n^n<<1^n<<2^n<<3^n<<4;p=p>>>8^255&p^99,i[r]=p,o[p]=r;var b=e[r],y=e[b],v=e[y],m=257*e[p]^16843008*p;s[r]=m<<24|m>>>8,a[r]=m<<16|m>>>16,c[r]=m<<8|m>>>24,f[r]=m;m=16843009*v^65537*y^257*b^16843008*r;u[p]=m<<24|m>>>8,h[p]=m<<16|m>>>16,l[p]=m<<8|m>>>24,d[p]=m,r?(r=b^e[e[e[v^b]]],n^=e[e[n]]):r=n=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],b=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),o=this._keySchedule=[],s=0;s<n;s++)if(s<r)o[s]=t[s];else{f=o[s-1];s%r?r>6&&s%r==4&&(f=i[f>>>24]<<24|i[f>>>16&255]<<16|i[f>>>8&255]<<8|i[255&f]):(f=i[(f=f<<8|f>>>24)>>>24]<<24|i[f>>>16&255]<<16|i[f>>>8&255]<<8|i[255&f],f^=p[s/r|0]<<24),o[s]=o[s-r]^f}for(var a=this._invKeySchedule=[],c=0;c<n;c++){s=n-c;if(c%4)f=o[s];else var f=o[s-4];a[c]=c<4||s<=4?f:u[i[f>>>24]]^h[i[f>>>16&255]]^l[i[f>>>8&255]]^d[i[255&f]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,a,c,f,i)},decryptBlock:function(e,t){r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,u,h,l,d,o);var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,i,o,s,a){for(var c=this._nRounds,f=e[t]^r[0],u=e[t+1]^r[1],h=e[t+2]^r[2],l=e[t+3]^r[3],d=4,p=1;p<c;p++){var b=n[f>>>24]^i[u>>>16&255]^o[h>>>8&255]^s[255&l]^r[d++],y=n[u>>>24]^i[h>>>16&255]^o[l>>>8&255]^s[255&f]^r[d++],v=n[h>>>24]^i[l>>>16&255]^o[f>>>8&255]^s[255&u]^r[d++],m=n[l>>>24]^i[f>>>16&255]^o[u>>>8&255]^s[255&h]^r[d++];f=b,u=y,h=v,l=m}var b=(a[f>>>24]<<24|a[u>>>16&255]<<16|a[h>>>8&255]<<8|a[255&l])^r[d++],y=(a[u>>>24]<<24|a[h>>>16&255]<<16|a[l>>>8&255]<<8|a[255&f])^r[d++],v=(a[h>>>24]<<24|a[l>>>16&255]<<16|a[f>>>8&255]<<8|a[255&u])^r[d++],m=(a[l>>>24]<<24|a[f>>>16&255]<<16|a[u>>>8&255]<<8|a[255&h])^r[d++];e[t]=b,e[t+1]=y,e[t+2]=v,e[t+3]=m},keySize:8});t.AES=r._createHelper(b)}(),e.AES})},{"./cipher-core":180,"./core":181,"./enc-base64":182,"./evpkdf":184,"./md5":189}],180:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){e.lib.Cipher||function(t){var r=e,n=r.lib,i=n.Base,o=n.WordArray,s=n.BufferedBlockAlgorithm,a=r.enc,c=(a.Utf8,a.Base64),f=r.algo.EvpKDF,u=n.Cipher=s.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){e&&this._append(e);return this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?g:v}return function(t){return{encrypt:function(r,n,i){return e(n).encrypt(t,r,n,i)},decrypt:function(r,n,i){return e(n).decrypt(t,r,n,i)}}}}()}),h=(n.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),r.mode={}),l=n.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),d=h.CBC=function(){function e(e,r,n){var i=this._iv;if(i){o=i;this._iv=t}else var o=this._prevBlock;for(var s=0;s<n;s++)e[r+s]^=o[s]}var r=l.extend();return r.Encryptor=r.extend({processBlock:function(t,r){var n=this._cipher,i=n.blockSize;e.call(this,t,r,i),n.encryptBlock(t,r),this._prevBlock=t.slice(r,r+i)}}),r.Decryptor=r.extend({processBlock:function(t,r){var n=this._cipher,i=n.blockSize,o=t.slice(r,r+i);n.decryptBlock(t,r),e.call(this,t,r,i),this._prevBlock=o}}),r}(),p=(r.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,i=n<<24|n<<16|n<<8|n,s=[],a=0;a<n;a+=4)s.push(i);var c=o.create(s,n);e.concat(c)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},b=(n.BlockCipher=u.extend({cfg:u.cfg.extend({mode:d,padding:p}),reset:function(){u.reset.call(this);var e=this.cfg,t=e.iv,r=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)n=r.createEncryptor;else{var n=r.createDecryptor;this._minBufferSize=1}this._mode=n.call(r,this,t&&t.words)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);t=this._process(!0)}else{var t=this._process(!0);e.unpad(t)}return t},blockSize:4}),n.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),y=(r.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;if(r)n=o.create([1398893684,1701076831]).concat(r).concat(t);else var n=t;return n.toString(c)},parse:function(e){var t=c.parse(e),r=t.words;if(1398893684==r[0]&&1701076831==r[1]){var n=o.create(r.slice(2,4));r.splice(0,4),t.sigBytes-=16}return b.create({ciphertext:t,salt:n})}},v=n.SerializableCipher=i.extend({cfg:i.extend({format:y}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var i=e.createEncryptor(r,n),o=i.finalize(t),s=i.cfg;return b.create({ciphertext:o,key:r,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);return e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),m=(r.kdf={}).OpenSSL={execute:function(e,t,r,n){n||(n=o.random(8));var i=f.create({keySize:t+r}).compute(e,n),s=o.create(i.words.slice(t),4*r);return i.sigBytes=4*t,b.create({key:i,iv:s,salt:n})}},g=n.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:m}),encrypt:function(e,t,r,n){var i=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize);n.iv=i.iv;var o=v.encrypt.call(this,e,t,i.key,n);return o.mixIn(i),o},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=n.kdf.execute(r,e.keySize,e.ivSize,t.salt);n.iv=i.iv;return v.decrypt.call(this,e,t,i.key,n)}})}()})},{"./core":181}],181:[function(e,t,r){!function(e,n){"object"==typeof r?t.exports=r=n():"function"==typeof define&&define.amd?define([],n):e.CryptoJS=n()}(this,function(){var e=e||function(e,t){var r=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),n={},i=n.lib={},o=i.Base={extend:function(e){var t=r(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},s=i.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=void 0!=t?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(s=0;s<i;s++){var o=r[s>>>2]>>>24-s%4*8&255;t[n+s>>>2]|=o<<24-(n+s)%4*8}else for(var s=0;s<i;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var r,n=[],i=function(t){var t=t,r=987654321;return function(){var n=((r=36969*(65535&r)+(r>>16)&4294967295)<<16)+(t=18e3*(65535&t)+(t>>16)&4294967295)&4294967295;return n/=4294967296,(n+=.5)*(e.random()>.5?1:-1)}},o=0;o<t;o+=4){var a=i(4294967296*(r||e.random()));r=987654071*a(),n.push(4294967296*a()|0)}return new s.init(n,t)}}),a=n.enc={},c=a.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new s.init(r,t/2)}},f=a.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new s.init(r,t)}},u=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},h=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r=this._data,n=r.words,i=r.sigBytes,o=this.blockSize,a=i/(4*o),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*o,f=e.min(4*c,i);if(c){for(var u=0;u<c;u+=o)this._doProcessBlock(n,u);var h=n.splice(0,c);r.sigBytes-=f}return new s.init(h,f)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),l=(i.Hasher=h.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){e&&this._append(e);return this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new l.HMAC.init(e,r).finalize(t)}}}),n.algo={});return n}(Math);return e})},{}],182:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib.WordArray;t.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],o=0;o<r;o+=3)for(var s=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,a=0;a<4&&o+.75*a<r;a++)i.push(n.charAt(s>>>6*(3-a)&63));var c=n.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<n.length;o++)i[n.charCodeAt(o)]=o}var s=n.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return function(e,t,n){for(var i=[],o=0,s=0;s<t;s++)if(s%4){var a=n[e.charCodeAt(s-1)]<<s%4*2,c=n[e.charCodeAt(s)]>>>6-s%4*2;i[o>>>2]|=(a|c)<<24-o%4*8,o++}return r.create(i,o)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64})},{"./core":181}],183:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(e){return e<<8&4278255360|e>>>8&16711935}var r=e,n=r.lib.WordArray,i=r.enc;i.Utf16=i.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var o=t[i>>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,r=[],i=0;i<t;i++)r[i>>>1]|=e.charCodeAt(i)<<16-i%2*16;return n.create(r,2*t)}};i.Utf16LE={stringify:function(e){for(var r=e.words,n=e.sigBytes,i=[],o=0;o<n;o+=2){var s=t(r[o>>>2]>>>16-o%4*8&65535);i.push(String.fromCharCode(s))}return i.join("")},parse:function(e){for(var r=e.length,i=[],o=0;o<r;o++)i[o>>>1]|=t(e.charCodeAt(o)<<16-o%2*16);return n.create(i,2*r)}}}(),e.enc.Utf16})},{"./core":181}],184:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./sha1"),e("./hmac")):"function"==typeof define&&define.amd?define(["./core","./sha1","./hmac"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib,n=r.Base,i=r.WordArray,o=t.algo,s=o.MD5,a=o.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=r.hasher.create(),o=i.create(),s=o.words,a=r.keySize,c=r.iterations;s.length<a;){f&&n.update(f);var f=n.update(e).finalize(t);n.reset();for(var u=1;u<c;u++)f=n.finalize(f),n.reset();o.concat(f)}return o.sigBytes=4*a,o}});t.EvpKDF=function(e,t,r){return a.create(r).compute(e,t)}}(),e.EvpKDF})},{"./core":181,"./hmac":186,"./sha1":205}],185:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(t){var r=e,n=r.lib.CipherParams,i=r.enc.Hex;r.format.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return n.create({ciphertext:t})}}}(),e.format.Hex})},{"./cipher-core":180,"./core":181}],186:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){!function(){var t=e,r=t.lib.Base,n=t.enc.Utf8;t.algo.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var r=e.blockSize,i=4*r;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),s=this._iKey=t.clone(),a=o.words,c=s.words,f=0;f<r;f++)a[f]^=1549556828,c[f]^=909522486;o.sigBytes=s.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);t.reset();return t.finalize(this._oKey.clone().concat(r))}})}()})},{"./core":181}],187:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./x64-core"),e("./lib-typedarrays"),e("./enc-utf16"),e("./enc-base64"),e("./md5"),e("./sha1"),e("./sha256"),e("./sha224"),e("./sha512"),e("./sha384"),e("./sha3"),e("./ripemd160"),e("./hmac"),e("./pbkdf2"),e("./evpkdf"),e("./cipher-core"),e("./mode-cfb"),e("./mode-ctr"),e("./mode-ctr-gladman"),e("./mode-ofb"),e("./mode-ecb"),e("./pad-ansix923"),e("./pad-iso10126"),e("./pad-iso97971"),e("./pad-zeropadding"),e("./pad-nopadding"),e("./format-hex"),e("./aes"),e("./tripledes"),e("./rc4"),e("./rabbit"),e("./rabbit-legacy")):"function"==typeof define&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy"],i):n.CryptoJS=i(n.CryptoJS)}(this,function(e){return e})},{"./aes":179,"./cipher-core":180,"./core":181,"./enc-base64":182,"./enc-utf16":183,"./evpkdf":184,"./format-hex":185,"./hmac":186,"./lib-typedarrays":188,"./md5":189,"./mode-cfb":190,"./mode-ctr":192,"./mode-ctr-gladman":191,"./mode-ecb":193,"./mode-ofb":194,"./pad-ansix923":195,"./pad-iso10126":196,"./pad-iso97971":197,"./pad-nopadding":198,"./pad-zeropadding":199,"./pbkdf2":200,"./rabbit":202,"./rabbit-legacy":201,"./rc4":203,"./ripemd160":204,"./sha1":205,"./sha224":206,"./sha256":207,"./sha3":208,"./sha384":209,"./sha512":210,"./tripledes":211,"./x64-core":212}],188:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,r=t.init;(t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],i=0;i<t;i++)n[i>>>2]|=e[i]<<24-i%4*8;r.call(this,n,t)}else r.apply(this,arguments)}).prototype=t}}(),e.lib.WordArray})},{"./core":181}],189:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(t){function r(e,t,r,n,i,o,s){var a=e+(t&r|~t&n)+i+s;return(a<<o|a>>>32-o)+t}function n(e,t,r,n,i,o,s){var a=e+(t&n|r&~n)+i+s;return(a<<o|a>>>32-o)+t}function i(e,t,r,n,i,o,s){var a=e+(t^r^n)+i+s;return(a<<o|a>>>32-o)+t}function o(e,t,r,n,i,o,s){var a=e+(r^(t|~n))+i+s;return(a<<o|a>>>32-o)+t}var s=e,a=s.lib,c=a.WordArray,f=a.Hasher,u=s.algo,h=[];!function(){for(var e=0;e<64;e++)h[e]=4294967296*t.abs(t.sin(e+1))|0}();var l=u.MD5=f.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var s=0;s<16;s++){var a=t+s,c=e[a];e[a]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}var f=this._hash.words,u=e[t+0],l=e[t+1],d=e[t+2],p=e[t+3],b=e[t+4],y=e[t+5],v=e[t+6],m=e[t+7],g=e[t+8],w=e[t+9],_=e[t+10],E=e[t+11],S=e[t+12],k=e[t+13],A=e[t+14],x=e[t+15],I=f[0],T=f[1],B=f[2],P=f[3];T=o(T=o(T=o(T=o(T=i(T=i(T=i(T=i(T=n(T=n(T=n(T=n(T=r(T=r(T=r(T=r(T,B=r(B,P=r(P,I=r(I,T,B,P,u,7,h[0]),T,B,l,12,h[1]),I,T,d,17,h[2]),P,I,p,22,h[3]),B=r(B,P=r(P,I=r(I,T,B,P,b,7,h[4]),T,B,y,12,h[5]),I,T,v,17,h[6]),P,I,m,22,h[7]),B=r(B,P=r(P,I=r(I,T,B,P,g,7,h[8]),T,B,w,12,h[9]),I,T,_,17,h[10]),P,I,E,22,h[11]),B=r(B,P=r(P,I=r(I,T,B,P,S,7,h[12]),T,B,k,12,h[13]),I,T,A,17,h[14]),P,I,x,22,h[15]),B=n(B,P=n(P,I=n(I,T,B,P,l,5,h[16]),T,B,v,9,h[17]),I,T,E,14,h[18]),P,I,u,20,h[19]),B=n(B,P=n(P,I=n(I,T,B,P,y,5,h[20]),T,B,_,9,h[21]),I,T,x,14,h[22]),P,I,b,20,h[23]),B=n(B,P=n(P,I=n(I,T,B,P,w,5,h[24]),T,B,A,9,h[25]),I,T,p,14,h[26]),P,I,g,20,h[27]),B=n(B,P=n(P,I=n(I,T,B,P,k,5,h[28]),T,B,d,9,h[29]),I,T,m,14,h[30]),P,I,S,20,h[31]),B=i(B,P=i(P,I=i(I,T,B,P,y,4,h[32]),T,B,g,11,h[33]),I,T,E,16,h[34]),P,I,A,23,h[35]),B=i(B,P=i(P,I=i(I,T,B,P,l,4,h[36]),T,B,b,11,h[37]),I,T,m,16,h[38]),P,I,_,23,h[39]),B=i(B,P=i(P,I=i(I,T,B,P,k,4,h[40]),T,B,u,11,h[41]),I,T,p,16,h[42]),P,I,v,23,h[43]),B=i(B,P=i(P,I=i(I,T,B,P,w,4,h[44]),T,B,S,11,h[45]),I,T,x,16,h[46]),P,I,d,23,h[47]),B=o(B,P=o(P,I=o(I,T,B,P,u,6,h[48]),T,B,m,10,h[49]),I,T,A,15,h[50]),P,I,y,21,h[51]),B=o(B,P=o(P,I=o(I,T,B,P,S,6,h[52]),T,B,p,10,h[53]),I,T,_,15,h[54]),P,I,l,21,h[55]),B=o(B,P=o(P,I=o(I,T,B,P,g,6,h[56]),T,B,x,10,h[57]),I,T,v,15,h[58]),P,I,k,21,h[59]),B=o(B,P=o(P,I=o(I,T,B,P,b,6,h[60]),T,B,E,10,h[61]),I,T,d,15,h[62]),P,I,w,21,h[63]),f[0]=f[0]+I|0,f[1]=f[1]+T|0,f[2]=f[2]+B|0,f[3]=f[3]+P|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;r[i>>>5]|=128<<24-i%32;var o=t.floor(n/4294967296),s=n;r[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),r[14+(i+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(r.length+1),this._process();for(var a=this._hash,c=a.words,f=0;f<4;f++){var u=c[f];c[f]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return a},clone:function(){var e=f.clone.call(this);return e._hash=this._hash.clone(),e}});s.MD5=f._createHelper(l),s.HmacMD5=f._createHmacHelper(l)}(Math),e.MD5})},{"./core":181}],190:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.mode.CFB=function(){function t(e,t,r,n){var i=this._iv;if(i){o=i.slice(0);this._iv=void 0}else var o=this._prevBlock;n.encryptBlock(o,0);for(var s=0;s<r;s++)e[t+s]^=o[s]}var r=e.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize;t.call(this,e,r,i,n),this._prevBlock=e.slice(r,r+i)}}),r.Decryptor=r.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize,o=e.slice(r,r+i);t.call(this,e,r,i,n),this._prevBlock=o}}),r}(),e.mode.CFB})},{"./cipher-core":180,"./core":181}],191:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.mode.CTRGladman=function(){function t(e){if(255==(e>>24&255)){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}else e+=1<<24;return e}var r=e.lib.BlockCipherMode.extend(),n=r.Encryptor=r.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(s);var a=s.slice(0);n.encryptBlock(a,0);for(var c=0;c<i;c++)e[r+c]^=a[c]}});return r.Decryptor=n,r}(),e.mode.CTRGladman})},{"./cipher-core":180,"./core":181}],192:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.mode.CTR=function(){var t=e.lib.BlockCipherMode.extend(),r=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var s=o.slice(0);r.encryptBlock(s,0),o[n-1]=o[n-1]+1|0;for(var a=0;a<n;a++)e[t+a]^=s[a]}});return t.Decryptor=r,t}(),e.mode.CTR})},{"./cipher-core":180,"./core":181}],193:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.mode.ECB=function(){var t=e.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),t.Decryptor=t.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),t}(),e.mode.ECB})},{"./cipher-core":180,"./core":181}],194:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.mode.OFB=function(){var t=e.lib.BlockCipherMode.extend(),r=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),r.encryptBlock(o,0);for(var s=0;s<n;s++)e[t+s]^=o[s]}});return t.Decryptor=r,t}(),e.mode.OFB})},{"./cipher-core":180,"./core":181}],195:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,i=n-r%n,o=r+i-1;e.clamp(),e.words[o>>>2]|=i<<24-o%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923})},{"./cipher-core":180,"./core":181}],196:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.pad.Iso10126={pad:function(t,r){var n=4*r,i=n-t.sigBytes%n;t.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126})},{"./cipher-core":180,"./core":181}],197:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.pad.Iso97971={pad:function(t,r){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,r)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971})},{"./cipher-core":180,"./core":181}],198:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding})},{"./cipher-core":180,"./core":181}],199:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return e.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){for(var t=e.words,r=e.sigBytes-1;!(t[r>>>2]>>>24-r%4*8&255);)r--;e.sigBytes=r+1}},e.pad.ZeroPadding})},{"./cipher-core":180,"./core":181}],200:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./sha1"),e("./hmac")):"function"==typeof define&&define.amd?define(["./core","./sha1","./hmac"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib,n=r.Base,i=r.WordArray,o=t.algo,s=o.SHA1,a=o.HMAC,c=o.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=a.create(r.hasher,e),o=i.create(),s=i.create([1]),c=o.words,f=s.words,u=r.keySize,h=r.iterations;c.length<u;){var l=n.update(t).finalize(s);n.reset();for(var d=l.words,p=d.length,b=l,y=1;y<h;y++){b=n.finalize(b),n.reset();for(var v=b.words,m=0;m<p;m++)d[m]^=v[m]}o.concat(l),f[0]++}return o.sigBytes=4*u,o}});t.PBKDF2=function(e,t,r){return c.create(r).compute(e,t)}}(),e.PBKDF2})},{"./core":181,"./hmac":186,"./sha1":205}],201:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./enc-base64"),e("./md5"),e("./evpkdf"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(){for(var e=this._X,t=this._C,r=0;r<8;r++)o[r]=t[r];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0,this._b=t[7]>>>0<o[7]>>>0?1:0;for(r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,a=n>>>16,c=((i*i>>>17)+i*a>>>15)+a*a,f=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=c^f}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}var r=e,n=r.lib.StreamCipher,i=[],o=[],s=[],a=r.algo.RabbitLegacy=n.extend({_doReset:function(){var e=this._key.words,r=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(l=0;l<4;l++)t.call(this);for(l=0;l<8;l++)i[l]^=n[l+4&7];if(r){var o=r.words,s=o[0],a=o[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),f=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=c>>>16|4294901760&f,h=f<<16|65535&c;i[0]^=c,i[1]^=u,i[2]^=f,i[3]^=h,i[4]^=c,i[5]^=u,i[6]^=f,i[7]^=h;for(var l=0;l<4;l++)t.call(this)}},_doProcessBlock:function(e,r){var n=this._X;t.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)i[o]=16711935&(i[o]<<8|i[o]>>>24)|4278255360&(i[o]<<24|i[o]>>>8),e[r+o]^=i[o]},blockSize:4,ivSize:2});r.RabbitLegacy=n._createHelper(a)}(),e.RabbitLegacy})},{"./cipher-core":180,"./core":181,"./enc-base64":182,"./evpkdf":184,"./md5":189}],202:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./enc-base64"),e("./md5"),e("./evpkdf"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(){for(var e=this._X,t=this._C,r=0;r<8;r++)o[r]=t[r];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0,this._b=t[7]>>>0<o[7]>>>0?1:0;for(r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,a=n>>>16,c=((i*i>>>17)+i*a>>>15)+a*a,f=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=c^f}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}var r=e,n=r.lib.StreamCipher,i=[],o=[],s=[],a=r.algo.Rabbit=n.extend({_doReset:function(){for(var e=this._key.words,r=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(n=0;n<4;n++)t.call(this);for(n=0;n<8;n++)o[n]^=i[n+4&7];if(r){var s=r.words,a=s[0],c=s[1],f=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),h=f>>>16|4294901760&u,l=u<<16|65535&f;o[0]^=f,o[1]^=h,o[2]^=u,o[3]^=l,o[4]^=f,o[5]^=h,o[6]^=u,o[7]^=l;for(n=0;n<4;n++)t.call(this)}},_doProcessBlock:function(e,r){var n=this._X;t.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)i[o]=16711935&(i[o]<<8|i[o]>>>24)|4278255360&(i[o]<<24|i[o]>>>8),e[r+o]^=i[o]},blockSize:4,ivSize:2});r.Rabbit=n._createHelper(a)}(),e.Rabbit})},{"./cipher-core":180,"./core":181,"./enc-base64":182,"./evpkdf":184,"./md5":189}],203:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./enc-base64"),e("./md5"),e("./evpkdf"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(){for(var e=this._S,t=this._i,r=this._j,n=0,i=0;i<4;i++){r=(r+e[t=(t+1)%256])%256;var o=e[t];e[t]=e[r],e[r]=o,n|=e[(e[t]+e[r])%256]<<24-8*i}return this._i=t,this._j=r,n}var r=e,n=r.lib.StreamCipher,i=r.algo,o=i.RC4=n.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;for(var i=0,o=0;i<256;i++){var s=i%r,a=t[s>>>2]>>>24-s%4*8&255;o=(o+n[i]+a)%256;var c=n[i];n[i]=n[o],n[o]=c}this._i=this._j=0},_doProcessBlock:function(e,r){e[r]^=t.call(this)},keySize:8,ivSize:0});r.RC4=n._createHelper(o);var s=i.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)t.call(this)}});r.RC4Drop=n._createHelper(s)}(),e.RC4})},{"./cipher-core":180,"./core":181,"./enc-base64":182,"./evpkdf":184,"./md5":189}],204:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(t){function r(e,t,r){return e^t^r}function n(e,t,r){return e&t|~e&r}function i(e,t,r){return(e|~t)^r}function o(e,t,r){return e&r|t&~r}function s(e,t,r){return e^(t|~r)}function a(e,t){return e<<t|e>>>32-t}var c=e,f=c.lib,u=f.WordArray,h=f.Hasher,l=c.algo,d=u.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),p=u.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),b=u.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),y=u.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),v=u.create([0,1518500249,1859775393,2400959708,2840853838]),m=u.create([1352829926,1548603684,1836072691,2053994217,0]),g=l.RIPEMD160=h.extend({_doReset:function(){this._hash=u.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(O=0;O<16;O++){var c=t+O,f=e[c];e[c]=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)}var u,h,l,g,w,_,E,S,k,A,x=this._hash.words,I=v.words,T=m.words,B=d.words,P=p.words,M=b.words,C=y.words;_=u=x[0],E=h=x[1],S=l=x[2],k=g=x[3],A=w=x[4];for(var R,O=0;O<80;O+=1)R=u+e[t+B[O]]|0,R+=O<16?r(h,l,g)+I[0]:O<32?n(h,l,g)+I[1]:O<48?i(h,l,g)+I[2]:O<64?o(h,l,g)+I[3]:s(h,l,g)+I[4],R=(R=a(R|=0,M[O]))+w|0,u=w,w=g,g=a(l,10),l=h,h=R,R=_+e[t+P[O]]|0,R+=O<16?s(E,S,k)+T[0]:O<32?o(E,S,k)+T[1]:O<48?i(E,S,k)+T[2]:O<64?n(E,S,k)+T[3]:r(E,S,k)+T[4],R=(R=a(R|=0,C[O]))+A|0,_=A,A=k,k=a(S,10),S=E,E=R;R=x[1]+l+k|0,x[1]=x[2]+g+A|0,x[2]=x[3]+w+_|0,x[3]=x[4]+u+E|0,x[4]=x[0]+h+S|0,x[0]=R},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return i},clone:function(){var e=h.clone.call(this);return e._hash=this._hash.clone(),e}});c.RIPEMD160=h._createHelper(g),c.HmacRIPEMD160=h._createHmacHelper(g)}(Math),e.RIPEMD160})},{"./core":181}],205:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib,n=r.WordArray,i=r.Hasher,o=[],s=t.algo.SHA1=i.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],s=r[2],a=r[3],c=r[4],f=0;f<80;f++){if(f<16)o[f]=0|e[t+f];else{var u=o[f-3]^o[f-8]^o[f-14]^o[f-16];o[f]=u<<1|u>>>31}var h=(n<<5|n>>>27)+c+o[f];h+=f<20?1518500249+(i&s|~i&a):f<40?1859775393+(i^s^a):f<60?(i&s|i&a|s&a)-1894007588:(i^s^a)-899497514,c=a,a=s,s=i<<30|i>>>2,i=n,n=h}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+s|0,r[3]=r[3]+a|0,r[4]=r[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=i._createHelper(s),t.HmacSHA1=i._createHmacHelper(s)}(),e.SHA1})},{"./core":181}],206:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./sha256")):"function"==typeof define&&define.amd?define(["./core","./sha256"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.lib.WordArray,n=t.algo,i=n.SHA256,o=n.SHA224=i.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=i._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=i._createHelper(o),t.HmacSHA224=i._createHmacHelper(o)}(),e.SHA224})},{"./core":181,"./sha256":207}],207:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(t){var r=e,n=r.lib,i=n.WordArray,o=n.Hasher,s=r.algo,a=[],c=[];!function(){function e(e){for(var r=t.sqrt(e),n=2;n<=r;n++)if(!(e%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,i=0;i<64;)e(n)&&(i<8&&(a[i]=r(t.pow(n,.5))),c[i]=r(t.pow(n,1/3)),i++),n++}();var f=[],u=s.SHA256=o.extend({_doReset:function(){this._hash=new i.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],s=r[3],a=r[4],u=r[5],h=r[6],l=r[7],d=0;d<64;d++){if(d<16)f[d]=0|e[t+d];else{var p=f[d-15],b=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,y=f[d-2],v=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;f[d]=b+f[d-7]+v+f[d-16]}var m=n&i^n&o^i&o,g=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),w=l+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&u^~a&h)+c[d]+f[d];l=h,h=u,u=a,a=s+w|0,s=o,o=i,i=n,n=w+(g+m)|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+u|0,r[6]=r[6]+h|0,r[7]=r[7]+l|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=t.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});r.SHA256=o._createHelper(u),r.HmacSHA256=o._createHmacHelper(u)}(Math),e.SHA256})},{"./core":181}],208:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./x64-core")):"function"==typeof define&&define.amd?define(["./core","./x64-core"],i):i(n.CryptoJS)}(this,function(e){return function(t){var r=e,n=r.lib,i=n.WordArray,o=n.Hasher,s=r.x64.Word,a=r.algo,c=[],f=[],u=[];!function(){for(var e=1,t=0,r=0;r<24;r++){c[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)f[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,o=0;o<24;o++){for(var a=0,h=0,l=0;l<7;l++){if(1&i){var d=(1<<l)-1;d<32?h^=1<<d:a^=1<<d-32}128&i?i=i<<1^113:i<<=1}u[o]=s.create(a,h)}}();var h=[];!function(){for(var e=0;e<25;e++)h[e]=s.create()}();var l=a.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,i=0;i<n;i++){var o=e[t+2*i],s=e[t+2*i+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8);(T=r[i]).high^=s,T.low^=o}for(var a=0;a<24;a++){for(x=0;x<5;x++){for(var l=0,d=0,p=0;p<5;p++){l^=(T=r[x+5*p]).high,d^=T.low}var b=h[x];b.high=l,b.low=d}for(x=0;x<5;x++)for(var y=h[(x+4)%5],v=h[(x+1)%5],m=v.high,g=v.low,l=y.high^(m<<1|g>>>31),d=y.low^(g<<1|m>>>31),p=0;p<5;p++){(T=r[x+5*p]).high^=l,T.low^=d}for(I=1;I<25;I++){var w=(T=r[I]).high,_=T.low,E=c[I];if(E<32)var l=w<<E|_>>>32-E,d=_<<E|w>>>32-E;else var l=_<<E-32|w>>>64-E,d=w<<E-32|_>>>64-E;var S=h[f[I]];S.high=l,S.low=d}var k=h[0],A=r[0];k.high=A.high,k.low=A.low;for(var x=0;x<5;x++)for(p=0;p<5;p++){var I,T=r[I=x+5*p],B=h[I],P=h[(x+1)%5+5*p],M=h[(x+2)%5+5*p];T.high=B.high^~P.high&M.high,T.low=B.low^~P.low&M.low}var T=r[0],C=u[a];T.high^=C.high,T.low^=C.low}},_doFinalize:function(){var e=this._data,r=e.words,n=(this._nDataBytes,8*e.sigBytes),o=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(t.ceil((n+1)/o)*o>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,f=[],u=0;u<c;u++){var h=s[u],l=h.high,d=h.low;l=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),f.push(d),f.push(l)}return new i.init(f,a)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});r.SHA3=o._createHelper(l),r.HmacSHA3=o._createHmacHelper(l)}(Math),e.SHA3})},{"./core":181,"./x64-core":212}],209:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./x64-core"),e("./sha512")):"function"==typeof define&&define.amd?define(["./core","./x64-core","./sha512"],i):i(n.CryptoJS)}(this,function(e){return function(){var t=e,r=t.x64,n=r.Word,i=r.WordArray,o=t.algo,s=o.SHA512,a=o.SHA384=s.extend({_doReset:function(){this._hash=new i.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=s._createHelper(a),t.HmacSHA384=s._createHmacHelper(a)}(),e.SHA384})},{"./core":181,"./sha512":210,"./x64-core":212}],210:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./x64-core")):"function"==typeof define&&define.amd?define(["./core","./x64-core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(){return o.create.apply(o,arguments)}var r=e,n=r.lib.Hasher,i=r.x64,o=i.Word,s=i.WordArray,a=r.algo,c=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],f=[];!function(){for(var e=0;e<80;e++)f[e]=t()}();var u=a.SHA512=n.extend({_doReset:function(){this._hash=new s.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],s=r[3],a=r[4],u=r[5],h=r[6],l=r[7],d=n.high,p=n.low,b=i.high,y=i.low,v=o.high,m=o.low,g=s.high,w=s.low,_=a.high,E=a.low,S=u.high,k=u.low,A=h.high,x=h.low,I=l.high,T=l.low,B=d,P=p,M=b,C=y,R=v,O=m,L=g,j=w,N=_,D=E,U=S,K=k,H=A,z=x,q=I,F=T,W=0;W<80;W++){var V=f[W];if(W<16)var G=V.high=0|e[t+2*W],Y=V.low=0|e[t+2*W+1];else{var J=f[W-15],X=J.high,Z=J.low,$=(X>>>1|Z<<31)^(X>>>8|Z<<24)^X>>>7,Q=(Z>>>1|X<<31)^(Z>>>8|X<<24)^(Z>>>7|X<<25),ee=f[W-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,ie=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),oe=f[W-7],se=oe.high,ae=oe.low,ce=f[W-16],fe=ce.high,ue=ce.low,G=(G=(G=$+se+((Y=Q+ae)>>>0<Q>>>0?1:0))+ne+((Y=Y+ie)>>>0<ie>>>0?1:0))+fe+((Y=Y+ue)>>>0<ue>>>0?1:0);V.high=G,V.low=Y}var he=N&U^~N&H,le=D&K^~D&z,de=B&M^B&R^M&R,pe=P&C^P&O^C&O,be=(B>>>28|P<<4)^(B<<30|P>>>2)^(B<<25|P>>>7),ye=(P>>>28|B<<4)^(P<<30|B>>>2)^(P<<25|B>>>7),ve=(N>>>14|D<<18)^(N>>>18|D<<14)^(N<<23|D>>>9),me=(D>>>14|N<<18)^(D>>>18|N<<14)^(D<<23|N>>>9),ge=c[W],we=ge.high,_e=ge.low,Ee=F+me,Se=q+ve+(Ee>>>0<F>>>0?1:0),ke=ye+pe;q=H,F=z,H=U,z=K,U=N,K=D,N=L+(Se=(Se=(Se=Se+he+((Ee=Ee+le)>>>0<le>>>0?1:0))+we+((Ee=Ee+_e)>>>0<_e>>>0?1:0))+G+((Ee=Ee+Y)>>>0<Y>>>0?1:0))+((D=j+Ee|0)>>>0<j>>>0?1:0)|0,L=R,j=O,R=M,O=C,M=B,C=P,B=Se+(be+de+(ke>>>0<ye>>>0?1:0))+((P=Ee+ke|0)>>>0<Ee>>>0?1:0)|0}p=n.low=p+P,n.high=d+B+(p>>>0<P>>>0?1:0),y=i.low=y+C,i.high=b+M+(y>>>0<C>>>0?1:0),m=o.low=m+O,o.high=v+R+(m>>>0<O>>>0?1:0),w=s.low=w+j,s.high=g+L+(w>>>0<j>>>0?1:0),E=a.low=E+D,a.high=_+N+(E>>>0<D>>>0?1:0),k=u.low=k+K,u.high=S+U+(k>>>0<K>>>0?1:0),x=h.low=x+z,h.high=A+H+(x>>>0<z>>>0?1:0),T=l.low=T+F,l.high=I+q+(T>>>0<F>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process();return this._hash.toX32()},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});r.SHA512=n._createHelper(u),r.HmacSHA512=n._createHmacHelper(u)}(),e.SHA512})},{"./core":181,"./x64-core":212}],211:[function(e,t,r){!function(n,i,o){"object"==typeof r?t.exports=r=i(e("./core"),e("./enc-base64"),e("./md5"),e("./evpkdf"),e("./cipher-core")):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],i):i(n.CryptoJS)}(this,function(e){return function(){function t(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function r(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}var n=e,i=n.lib,o=i.WordArray,s=i.BlockCipher,a=n.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],f=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=a.DES=s.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=c[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],o=0;o<16;o++){for(var s=i[o]=[],a=u[o],r=0;r<24;r++)s[r/6|0]|=t[(f[r]-1+a)%28]<<31-r%6,s[4+(r/6|0)]|=t[28+(f[r+24]-1+a)%28]<<31-r%6;s[0]=s[0]<<1|s[0]>>>31;for(r=1;r<7;r++)s[r]=s[r]>>>4*(r-1)+3;s[7]=s[7]<<5|s[7]>>>27}for(var h=this._invSubKeys=[],r=0;r<16;r++)h[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,n,i){this._lBlock=e[n],this._rBlock=e[n+1],t.call(this,4,252645135),t.call(this,16,65535),r.call(this,2,858993459),r.call(this,8,16711935),t.call(this,1,1431655765);for(var o=0;o<16;o++){for(var s=i[o],a=this._lBlock,c=this._rBlock,f=0,u=0;u<8;u++)f|=h[u][((c^s[u])&l[u])>>>0];this._lBlock=c,this._rBlock=a^f}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,t.call(this,1,1431655765),r.call(this,8,16711935),r.call(this,2,858993459),t.call(this,16,65535),t.call(this,4,252645135),e[n]=this._lBlock,e[n+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});n.DES=s._createHelper(d);var p=a.TripleDES=s.extend({_doReset:function(){var e=this._key.words;this._des1=d.createEncryptor(o.create(e.slice(0,2))),this._des2=d.createEncryptor(o.create(e.slice(2,4))),this._des3=d.createEncryptor(o.create(e.slice(4,6)))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});n.TripleDES=s._createHelper(p)}(),e.TripleDES})},{"./cipher-core":180,"./core":181,"./enc-base64":182,"./evpkdf":184,"./md5":189}],212:[function(e,t,r){!function(n,i){"object"==typeof r?t.exports=r=i(e("./core")):"function"==typeof define&&define.amd?define(["./core"],i):i(n.CryptoJS)}(this,function(e){return function(t){var r=e,n=r.lib,i=n.Base,o=n.WordArray,s=r.x64={};s.Word=i.extend({init:function(e,t){this.high=e,this.low=t}}),s.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=void 0!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var i=e[n];r.push(i.high),r.push(i.low)}return o.create(r,this.sigBytes)},clone:function(){for(var e=i.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}})}(),e})},{"./core":181}],213:[function(e,t,r){function n(e){return n.enabled(e)?function(t){t=function(e){return e instanceof Error?e.stack||e.message:e}(t);var r=new Date,i=r-(n[e]||r);n[e]=r,t=e+" "+t+" +"+n.humanize(i),window.console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}:function(){}}t.exports=n,n.names=[],n.skips=[],n.enable=function(e){try{localStorage.debug=e}catch(e){}for(var t=(e||"").split(/[\s,]+/),r=t.length,i=0;i<r;i++)"-"===(e=t[i].replace("*",".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$"))},n.disable=function(){n.enable("")},n.humanize=function(e){return e>=36e5?(e/36e5).toFixed(1)+"h":e>=6e4?(e/6e4).toFixed(1)+"m":e>=1e3?(e/1e3|0)+"s":e+"ms"},n.enabled=function(e){for(var t=0,r=n.skips.length;t<r;t++)if(n.skips[t].test(e))return!1;for(var t=0,r=n.names.length;t<r;t++)if(n.names[t].test(e))return!0;return!1};try{window.localStorage&&n.enable(localStorage.debug)}catch(e){}},{}],214:[function(e,t,r){"use strict";r.utils=e("./des/utils"),r.Cipher=e("./des/cipher"),r.DES=e("./des/des"),r.CBC=e("./des/cbc"),r.EDE=e("./des/ede")},{"./des/cbc":215,"./des/cipher":216,"./des/des":217,"./des/ede":218,"./des/utils":219}],215:[function(e,t,r){"use strict";var n=e("minimalistic-assert"),i=e("inherits"),o={};r.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var r=Object.keys(o),n=0;n<r.length;n++){var s=r[n];t.prototype[s]=o[s]}return t.create=function(e){return new t(e)},t},o._cbcInit=function(){var e=new function(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}(this.options.iv);this._cbcState=e},o._update=function(e,t,r,n){var i=this._cbcState,o=this.constructor.super_.prototype,s=i.iv;if("encrypt"===this.type){for(a=0;a<this.blockSize;a++)s[a]^=e[t+a];o._update.call(this,s,0,r,n);for(a=0;a<this.blockSize;a++)s[a]=r[n+a]}else{o._update.call(this,e,t,r,n);for(a=0;a<this.blockSize;a++)r[n+a]^=s[a];for(var a=0;a<this.blockSize;a++)s[a]=e[t+a]}}},{inherits:248,"minimalistic-assert":257}],216:[function(e,t,r){"use strict";function n(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}var i=e("minimalistic-assert");t.exports=n,n.prototype._init=function(){},n.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},n.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},n.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},n.prototype._updateEncrypt=function(e){var t=0,r=0,n=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var o=e.length-(e.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(e,t,i,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},n.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},n.prototype.final=function(e){var t;e&&(t=this.update(e));var r;return r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},n.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},n.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},n.prototype._unpad=function(e){return e},n.prototype._finalDecrypt=function(){i.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},{"minimalistic-assert":257}],217:[function(e,t,r){"use strict";function n(e){c.call(this,e);var t=new function(){this.tmp=new Array(2),this.keys=null};this._desState=t,this.deriveKeys(t,e.key)}var i=e("minimalistic-assert"),o=e("inherits"),s=e("../des"),a=s.utils,c=s.Cipher;o(n,c),t.exports=n,n.create=function(e){return new n(e)};var f=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];n.prototype.deriveKeys=function(e,t){e.keys=new Array(32),i.equal(t.length,this.blockSize,"Invalid key length");var r=a.readUInt32BE(t,0),n=a.readUInt32BE(t,4);a.pc1(r,n,e.tmp,0),r=e.tmp[0],n=e.tmp[1];for(var o=0;o<e.keys.length;o+=2){var s=f[o>>>1];r=a.r28shl(r,s),n=a.r28shl(n,s),a.pc2(r,n,e.keys,o)}},n.prototype._update=function(e,t,r,n){var i=this._desState,o=a.readUInt32BE(e,t),s=a.readUInt32BE(e,t+4);a.ip(o,s,i.tmp,0),o=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,o,s,i.tmp,0):this._decrypt(i,o,s,i.tmp,0),o=i.tmp[0],s=i.tmp[1],a.writeUInt32BE(r,o,n),a.writeUInt32BE(r,s,n+4)},n.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},n.prototype._unpad=function(e){for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)i.equal(e[r],t);return e.slice(0,e.length-t)},n.prototype._encrypt=function(e,t,r,n,i){for(var o=t,s=r,c=0;c<e.keys.length;c+=2){var f=e.keys[c],u=e.keys[c+1];a.expand(s,e.tmp,0),f^=e.tmp[0],u^=e.tmp[1];var h=a.substitute(f,u),l=s;s=(o^a.permute(h))>>>0,o=l}a.rip(s,o,n,i)},n.prototype._decrypt=function(e,t,r,n,i){for(var o=r,s=t,c=e.keys.length-2;c>=0;c-=2){var f=e.keys[c],u=e.keys[c+1];a.expand(o,e.tmp,0),f^=e.tmp[0],u^=e.tmp[1];var h=a.substitute(f,u),l=o;o=(s^a.permute(h))>>>0,s=l}a.rip(o,s,n,i)}},{"../des":214,inherits:248,"minimalistic-assert":257}],218:[function(e,t,r){"use strict";function n(e){a.call(this,e);var t=new function(e,t){i.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),n=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[c.create({type:"encrypt",key:r}),c.create({type:"decrypt",key:n}),c.create({type:"encrypt",key:o})]:[c.create({type:"decrypt",key:o}),c.create({type:"encrypt",key:n}),c.create({type:"decrypt",key:r})]}(this.type,this.options.key);this._edeState=t}var i=e("minimalistic-assert"),o=e("inherits"),s=e("../des"),a=s.Cipher,c=s.DES;o(n,a),t.exports=n,n.create=function(e){return new n(e)},n.prototype._update=function(e,t,r,n){var i=this._edeState;i.ciphers[0]._update(e,t,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},n.prototype._pad=c.prototype._pad,n.prototype._unpad=c.prototype._unpad},{"../des":214,inherits:248,"minimalistic-assert":257}],219:[function(e,t,r){"use strict";r.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},r.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},r.ip=function(e,t,r,n){for(var i=0,o=0,s=6;s>=0;s-=2){for(a=0;a<=24;a+=8)i<<=1,i|=t>>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>>a+s&1}for(s=6;s>=0;s-=2){for(a=1;a<=25;a+=8)o<<=1,o|=t>>>a+s&1;for(var a=1;a<=25;a+=8)o<<=1,o|=e>>>a+s&1}r[n+0]=i>>>0,r[n+1]=o>>>0},r.rip=function(e,t,r,n){for(var i=0,o=0,s=0;s<4;s++)for(a=24;a>=0;a-=8)i<<=1,i|=t>>>a+s&1,i<<=1,i|=e>>>a+s&1;for(s=4;s<8;s++)for(var a=24;a>=0;a-=8)o<<=1,o|=t>>>a+s&1,o<<=1,o|=e>>>a+s&1;r[n+0]=i>>>0,r[n+1]=o>>>0},r.pc1=function(e,t,r,n){for(var i=0,o=0,s=7;s>=5;s--){for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1}for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(s=1;s<=3;s++){for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1}for(var a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1;r[n+0]=i>>>0,r[n+1]=o>>>0},r.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];r.pc2=function(e,t,r,i){for(var o=0,s=0,a=n.length>>>1,c=0;c<a;c++)o<<=1,o|=e>>>n[c]&1;for(c=a;c<n.length;c++)s<<=1,s|=t>>>n[c]&1;r[i+0]=o>>>0,r[i+1]=s>>>0},r.expand=function(e,t,r){var n=0,i=0;n=(1&e)<<5|e>>>27;for(o=23;o>=15;o-=4)n<<=6,n|=e>>>o&63;for(var o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];r.substitute=function(e,t){for(var r=0,n=0;n<4;n++){r<<=4,r|=s=i[64*n+(o=e>>>18-6*n&63)]}for(n=0;n<4;n++){var o=t>>>18-6*n&63,s=i[256+64*n+o];r<<=4,r|=s}return r>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];r.permute=function(e){for(var t=0,r=0;r<o.length;r++)t<<=1,t|=e>>>o[r]&1;return t>>>0},r.padSplit=function(e,t,r){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var i=[],o=0;o<t;o+=r)i.push(n.slice(o,o+r));return i.join(" ")}},{}],220:[function(e,t,r){(function(Buffer){function t(e,r,i,a){return Buffer.isBuffer(r)||void 0===s[r]?t(e,"binary",r,i):(r=r||"binary",a=a||"binary",i=i||new Buffer([2]),Buffer.isBuffer(i)||(i=new Buffer(i,a)),"number"==typeof e?new o(n(e,i),i,!0):(Buffer.isBuffer(e)||(e=new Buffer(e,r)),new o(e,i,!0)))}var n=e("./lib/generatePrime"),i=e("./lib/primes.json"),o=e("./lib/dh"),s={binary:!0,hex:!0,base64:!0};r.DiffieHellmanGroup=r.createDiffieHellmanGroup=r.getDiffieHellman=function(e){var t=new Buffer(i[e].prime,"hex"),r=new Buffer(i[e].gen,"hex");return new o(t,r)},r.createDiffieHellman=r.DiffieHellman=t}).call(this,e("buffer").Buffer)},{"./lib/dh":221,"./lib/generatePrime":222,"./lib/primes.json":223,buffer:105}],221:[function(e,t,r){(function(Buffer){function r(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this._pub=new s(e),this}function n(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this._priv=new s(e),this}function i(e,t,i){this.setGenerator(t),this.__prime=new s(e),this._prime=s.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,i?(this.setPublicKey=r,this.setPrivateKey=n):this._primeCode=8}function o(e,t){var r=new Buffer(e.toArray());return t?r.toString(t):r}var s=e("bn.js"),a=new(e("miller-rabin")),c=new s(24),f=new s(11),u=new s(10),h=new s(3),l=new s(7),d=e("./generatePrime"),p=e("randombytes");t.exports=i;var b={};Object.defineProperty(i.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in b)return b[n];var i=0;if(e.isEven()||!d.simpleSieve||!d.fermatTest(e)||!a.test(e))return i+=1,i+="02"===r||"05"===r?8:4,b[n]=i,i;a.test(e.shrn(1))||(i+=2);var o;switch(r){case"02":e.mod(c).cmp(f)&&(i+=8);break;case"05":(o=e.mod(u)).cmp(h)&&o.cmp(l)&&(i+=8);break;default:i+=4}return b[n]=i,i}(this.__prime,this.__gen)),this._primeCode}}),i.prototype.generateKeys=function(){return this._priv||(this._priv=new s(p(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},i.prototype.computeSecret=function(e){var t=(e=(e=new s(e)).toRed(this._prime)).redPow(this._priv).fromRed(),r=new Buffer(t.toArray()),n=this.getPrime();if(r.length<n.length){var i=new Buffer(n.length-r.length);i.fill(0),r=Buffer.concat([i,r])}return r},i.prototype.getPublicKey=function(e){return o(this._pub,e)},i.prototype.getPrivateKey=function(e){return o(this._priv,e)},i.prototype.getPrime=function(e){return o(this.__prime,e)},i.prototype.getGenerator=function(e){return o(this._gen,e)},i.prototype.setGenerator=function(e,t){return t=t||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,t)),this.__gen=e,this._gen=new s(e),this}}).call(this,e("buffer").Buffer)},{"./generatePrime":222,"bn.js":224,buffer:105,"miller-rabin":255,randombytes:299}],222:[function(e,t,r){function n(e){for(var t=function(){if(null!==v)return v;var e=[];e[0]=2;for(var t=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<t&&e[i]<=n&&r%e[i]!=0;i++);t!==i&&e[i]<=n||(e[t++]=r)}return v=e,e}(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function i(e){var t=a.mont(e);return 0===h.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function o(e,t){if(e<16)return new a(2===t||5===t?[140,123]:[140,39]);t=new a(t);for(var r,o;;){for(r=new a(s(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(u),r.testn(1)||r.iadd(h),t.cmp(h)){if(!t.cmp(l))for(;r.mod(d).cmp(p);)r.iadd(y)}else for(;r.mod(c).cmp(b);)r.iadd(y);if(o=r.shrn(1),n(o)&&n(r)&&i(o)&&i(r)&&f.test(o)&&f.test(r))return r}}var s=e("randombytes");t.exports=o,o.simpleSieve=n,o.fermatTest=i;var a=e("bn.js"),c=new a(24),f=new(e("miller-rabin")),u=new a(1),h=new a(2),l=new a(5),d=(new a(16),new a(8),new a(10)),p=new a(3),b=(new a(7),new a(11)),y=new a(4),v=(new a(12),null)},{"bn.js":224,"miller-rabin":255,randombytes:299}],223:[function(e,t,r){t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],224:[function(e,t,r){arguments[4][113][0].apply(r,arguments)},{buffer:77,dup:113}],225:[function(e,t,r){function n(e,t,r,n,i,o,s){this.p=e,this.a=t,this.b=r,this.G=Point.fromAffine(this,n,i),this.n=o,this.h=s,this.infinity=new Point(this,null,null,BigInteger.ZERO),this.pOverFour=e.add(BigInteger.ONE).shiftRight(2),this.pLength=Math.floor((this.p.bitLength()+7)/8)}var i=e("assert"),BigInteger=e("bigi"),Point=e("./point");n.prototype.pointFromX=function(e,t){var r=t.pow(3).add(this.a.multiply(t)).add(this.b).mod(this.p).modPow(this.pOverFour,this.p),n=r;return r.isEven()^!e&&(n=this.p.subtract(n)),Point.fromAffine(this,t,n)},n.prototype.isInfinity=function(e){return e===this.infinity||0===e.z.signum()&&0!==e.y.signum()},n.prototype.isOnCurve=function(e){if(this.isInfinity(e))return!0;var t=e.affineX,r=e.affineY,n=this.a,i=this.b,o=this.p;if(t.signum()<0||t.compareTo(o)>=0)return!1;if(r.signum()<0||r.compareTo(o)>=0)return!1;var s=r.square().mod(o),a=t.pow(3).add(n.multiply(t)).add(i).mod(o);return s.equals(a)},n.prototype.validate=function(e){i(!this.isInfinity(e),"Point is at infinity"),i(this.isOnCurve(e),"Point is not on the curve");var t=e.multiply(this.n);return i(this.isInfinity(t),"Point is not a scalar multiple of G"),!0},t.exports=n},{"./point":229,assert:20,bigi:26}],226:[function(e,t,r){t.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"}}},{}],227:[function(e,t,r){var Point=e("./point"),n=e("./curve"),i=e("./names");t.exports={Curve:n,Point:Point,getCurveByName:i}},{"./curve":225,"./names":228,"./point":229}],228:[function(e,t,r){var BigInteger=e("bigi"),n=e("./curves.json"),i=e("./curve");t.exports=function(e){var t=n[e];if(!t)return null;var r=new BigInteger(t.p,16),o=new BigInteger(t.a,16),s=new BigInteger(t.b,16),a=new BigInteger(t.n,16),c=new BigInteger(t.h,16),f=new BigInteger(t.Gx,16),u=new BigInteger(t.Gy,16);return new i(r,o,s,f,u,a,c)}},{"./curve":225,"./curves.json":226,bigi:26}],229:[function(e,t,r){function Point(e,t,r,i){n.notStrictEqual(i,void 0,"Missing Z coordinate"),this.curve=e,this.x=t,this.y=r,this.z=i,this._zInv=null,this.compressed=!0}var n=e("assert"),Buffer=e("safe-buffer").Buffer,BigInteger=e("bigi"),i=BigInteger.valueOf(3);Object.defineProperty(Point.prototype,"zInv",{get:function(){return null===this._zInv&&(this._zInv=this.z.modInverse(this.curve.p)),this._zInv}}),Object.defineProperty(Point.prototype,"affineX",{get:function(){return this.x.multiply(this.zInv).mod(this.curve.p)}}),Object.defineProperty(Point.prototype,"affineY",{get:function(){return this.y.multiply(this.zInv).mod(this.curve.p)}}),Point.fromAffine=function(e,t,r){return new Point(e,t,r,BigInteger.ONE)},Point.prototype.equals=function(e){if(e===this)return!0;if(this.curve.isInfinity(this))return this.curve.isInfinity(e);if(this.curve.isInfinity(e))return this.curve.isInfinity(this);if(0!==e.y.multiply(this.z).subtract(this.y.multiply(e.z)).mod(this.curve.p).signum())return!1;return 0===e.x.multiply(this.z).subtract(this.x.multiply(e.z)).mod(this.curve.p).signum()},Point.prototype.negate=function(){var e=this.curve.p.subtract(this.y);return new Point(this.curve,this.x,e,this.z)},Point.prototype.add=function(e){if(this.curve.isInfinity(this))return e;if(this.curve.isInfinity(e))return this;var t=this.x,r=this.y,n=e.x,o=e.y.multiply(this.z).subtract(r.multiply(e.z)).mod(this.curve.p),s=n.multiply(this.z).subtract(t.multiply(e.z)).mod(this.curve.p);if(0===s.signum())return 0===o.signum()?this.twice():this.curve.infinity;var a=s.square(),c=a.multiply(s),f=t.multiply(a),u=o.square().multiply(this.z),h=u.subtract(f.shiftLeft(1)).multiply(e.z).subtract(c).multiply(s).mod(this.curve.p),l=f.multiply(i).multiply(o).subtract(r.multiply(c)).subtract(u.multiply(o)).multiply(e.z).add(o.multiply(c)).mod(this.curve.p),d=c.multiply(this.z).multiply(e.z).mod(this.curve.p);return new Point(this.curve,h,l,d)},Point.prototype.twice=function(){if(this.curve.isInfinity(this))return this;if(0===this.y.signum())return this.curve.infinity;var e=this.x,t=this.y,r=t.multiply(this.z).mod(this.curve.p),n=r.multiply(t).mod(this.curve.p),o=this.curve.a,s=e.square().multiply(i);0!==o.signum()&&(s=s.add(this.z.square().multiply(o)));var a=(s=s.mod(this.curve.p)).square().subtract(e.shiftLeft(3).multiply(n)).shiftLeft(1).multiply(r).mod(this.curve.p),c=s.multiply(i).multiply(e).subtract(n.shiftLeft(1)).shiftLeft(2).multiply(n).subtract(s.pow(3)).mod(this.curve.p),f=r.pow(3).shiftLeft(3).mod(this.curve.p);return new Point(this.curve,a,c,f)},Point.prototype.multiply=function(e){if(this.curve.isInfinity(this))return this;if(0===e.signum())return this.curve.infinity;for(var t=e,r=t.multiply(i),n=this.negate(),o=this,s=r.bitLength()-2;s>0;--s){var a=r.testBit(s),c=t.testBit(s);o=o.twice(),a!==c&&(o=o.add(a?this:n))}return o},Point.prototype.multiplyTwo=function(e,t,r){for(var n=Math.max(e.bitLength(),r.bitLength())-1,i=this.curve.infinity,o=this.add(t);n>=0;){var s=e.testBit(n),a=r.testBit(n);i=i.twice(),s?i=a?i.add(o):i.add(this):a&&(i=i.add(t)),--n}return i},Point.prototype.getEncoded=function(e){if(null==e&&(e=this.compressed),this.curve.isInfinity(this))return Buffer.alloc(1,0);var t,r=this.affineX,n=this.affineY,i=this.curve.pLength;return e?(t=Buffer.allocUnsafe(1+i)).writeUInt8(n.isEven()?2:3,0):((t=Buffer.allocUnsafe(1+i+i)).writeUInt8(4,0),n.toBuffer(i).copy(t,1+i)),r.toBuffer(i).copy(t,1),t},Point.decodeFrom=function(e,t){var r,i=t.readUInt8(0),o=4!==i,s=Math.floor((e.p.bitLength()+7)/8),a=BigInteger.fromBuffer(t.slice(1,1+s));if(o){n.equal(t.length,s+1,"Invalid sequence length"),n(2===i||3===i,"Invalid sequence tag");var c=3===i;r=e.pointFromX(c,a)}else{n.equal(t.length,1+s+s,"Invalid sequence length");var f=BigInteger.fromBuffer(t.slice(1+s));r=Point.fromAffine(e,a,f)}return r.compressed=o,r},Point.prototype.toString=function(){return this.curve.isInfinity(this)?"(INFINITY)":"("+this.affineX.toString()+","+this.affineY.toString()+")"},t.exports=Point},{assert:20,bigi:26,"safe-buffer":313}],230:[function(e,t,r){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(e){return"function"==typeof e}function o(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!function(e){return"number"==typeof e}(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,r,n,a,c,f;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var u=new Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}if(r=this._events[e],s(r))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:a=Array.prototype.slice.call(arguments,1),r.apply(this,a)}else if(o(r))for(a=Array.prototype.slice.call(arguments,1),n=(f=r.slice()).length,c=0;c<n;c++)f[c].apply(this,a);return!0},n.prototype.addListener=function(e,t){var r;if(!i(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,i(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned&&(r=s(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}if(!i(t))throw TypeError("listener must be a function");var n=!1;return r.listener=t,this.on(e,r),this},n.prototype.removeListener=function(e,t){var r,n,s,a;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],s=r.length,n=-1,r===t||i(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(r)){for(a=s;a-- >0;)if(r[a]===t||r[a].listener&&r[a].listener===t){n=a;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],i(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},{}],231:[function(e,t,r){var Buffer=e("safe-buffer").Buffer,n=e("md5.js");t.exports=function(e,t,r,i){if(Buffer.isBuffer(e)||(e=Buffer.from(e,"binary")),t&&(Buffer.isBuffer(t)||(t=Buffer.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var o=r/8,s=Buffer.alloc(o),a=Buffer.alloc(i||0),c=Buffer.alloc(0);o>0||i>0;){var f=new n;f.update(c),f.update(e),t&&f.update(t),c=f.digest();var u=0;if(o>0){var h=s.length-o;u=Math.min(o,c.length),c.copy(s,h,0,u),o-=u}if(u<c.length&&i>0){var l=a.length-i,d=Math.min(i,c.length-u);c.copy(a,l,u,u+d),i-=d}}return c.fill(0),{key:s,iv:a}}},{"md5.js":252,"safe-buffer":313}],232:[function(e,t,r){(function(Buffer){"use strict";function r(e){n.call(this),this._block=new Buffer(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}var n=e("stream").Transform;e("inherits")(r,n),r.prototype._transform=function(e,t,r){var n=null;try{"buffer"!==t&&(e=new Buffer(e,t)),this.update(e)}catch(e){n=e}r(n)},r.prototype._flush=function(e){var t=null;try{this.push(this._digest())}catch(e){t=e}e(t)},r.prototype.update=function(e,t){if(!Buffer.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");Buffer.isBuffer(e)||(e=new Buffer(e,t||"binary"));for(var r=this._block,n=0;this._blockOffset+e.length-n>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)r[i++]=e[n++];this._update(),this._blockOffset=0}for(;n<e.length;)r[this._blockOffset++]=e[n++];for(var o=0,s=8*e.length;s>0;++o)this._length[o]+=s,(s=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*s);return this},r.prototype._update=function(e){throw new Error("_update is not implemented")},r.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();return void 0!==e&&(t=t.toString(e)),t},r.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=r}).call(this,e("buffer").Buffer)},{buffer:105,inherits:248,stream:346}],233:[function(e,t,r){var n=r;n.utils=e("./hash/utils"),n.common=e("./hash/common"),n.sha=e("./hash/sha"),n.ripemd=e("./hash/ripemd"),n.hmac=e("./hash/hmac"),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},{"./hash/common":234,"./hash/hmac":235,"./hash/ripemd":236,"./hash/sha":237,"./hash/utils":244}],234:[function(e,t,r){"use strict";function n(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}var i=e("./utils"),o=e("minimalistic-assert");r.BlockHash=n,n.prototype.update=function(e,t){if(e=i.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=i.join32(e,0,e.length-r,this.endian);for(var n=0;n<e.length;n+=this._delta32)this._update(e,n,n+this._delta32)}return this},n.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},n.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}},{"./utils":244,"minimalistic-assert":257}],235:[function(e,t,r){"use strict";function n(e,t,r){if(!(this instanceof n))return new n(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(t,r))}var i=e("./utils"),o=e("minimalistic-assert");t.exports=n,n.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),o(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},n.prototype.update=function(e,t){return this.inner.update(e,t),this},n.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},{"./utils":244,"minimalistic-assert":257}],236:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function i(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}var o=e("./utils"),s=e("./common"),a=o.rotl32,c=o.sum32,f=o.sum32_3,u=o.sum32_4,h=s.BlockHash;o.inherits(n,h),r.ripemd160=n,n.blockSize=512,n.outSize=160,n.hmacStrength=192,n.padLength=64,n.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],o=this.h[2],s=this.h[3],h=this.h[4],y=r,v=n,m=o,g=s,w=h,_=0;_<80;_++){var E=c(a(u(r,i(_,n,o,s),e[l[_]+t],function(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}(_)),p[_]),h);r=h,h=s,s=a(o,10),o=n,n=E,E=c(a(u(y,i(79-_,v,m,g),e[d[_]+t],function(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}(_)),b[_]),w),y=w,w=g,g=a(m,10),m=v,v=E}E=f(this.h[1],o,g),this.h[1]=f(this.h[2],s,w),this.h[2]=f(this.h[3],h,y),this.h[3]=f(this.h[4],r,v),this.h[4]=f(this.h[0],n,m),this.h[0]=E},n.prototype._digest=function(e){return"hex"===e?o.toHex32(this.h,"little"):o.split32(this.h,"little")};var l=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],d=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],p=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],b=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":234,"./utils":244}],237:[function(e,t,r){"use strict";r.sha1=e("./sha/1"),r.sha224=e("./sha/224"),r.sha256=e("./sha/256"),r.sha384=e("./sha/384"),r.sha512=e("./sha/512")},{"./sha/1":238,"./sha/224":239,"./sha/256":240,"./sha/384":241,"./sha/512":242}],238:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}var i=e("../utils"),o=e("../common"),s=e("./common"),a=i.rotl32,c=i.sum32,f=i.sum32_5,u=s.ft_1,h=o.BlockHash,l=[1518500249,1859775393,2400959708,3395469782];i.inherits(n,h),t.exports=n,n.blockSize=512,n.outSize=160,n.hmacStrength=80,n.padLength=64,n.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],s=this.h[2],h=this.h[3],d=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),b=f(a(i,5),u(p,o,s,h),d,r[n],l[p]);d=h,h=s,s=a(o,30),o=i,i=b}this.h[0]=c(this.h[0],i),this.h[1]=c(this.h[1],o),this.h[2]=c(this.h[2],s),this.h[3]=c(this.h[3],h),this.h[4]=c(this.h[4],d)},n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},{"../common":234,"../utils":244,"./common":243}],239:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;o.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}var i=e("../utils"),o=e("./256");i.inherits(n,o),t.exports=n,n.blockSize=512,n.outSize=224,n.hmacStrength=192,n.padLength=64,n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h.slice(0,7),"big"):i.split32(this.h.slice(0,7),"big")}},{"../utils":244,"./256":240}],240:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;v.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=m,this.W=new Array(64)}var i=e("../utils"),o=e("../common"),s=e("./common"),a=e("minimalistic-assert"),c=i.sum32,f=i.sum32_4,u=i.sum32_5,h=s.ch32,l=s.maj32,d=s.s0_256,p=s.s1_256,b=s.g0_256,y=s.g1_256,v=o.BlockHash,m=[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];i.inherits(n,v),t.exports=n,n.blockSize=512,n.outSize=256,n.hmacStrength=192,n.padLength=64,n.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=f(y(r[n-2]),r[n-7],b(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],s=this.h[2],v=this.h[3],m=this.h[4],g=this.h[5],w=this.h[6],_=this.h[7];for(a(this.k.length===r.length),n=0;n<r.length;n++){var E=u(_,p(m),h(m,g,w),this.k[n],r[n]),S=c(d(i),l(i,o,s));_=w,w=g,g=m,m=c(v,E),v=s,s=o,o=i,i=c(E,S)}this.h[0]=c(this.h[0],i),this.h[1]=c(this.h[1],o),this.h[2]=c(this.h[2],s),this.h[3]=c(this.h[3],v),this.h[4]=c(this.h[4],m),this.h[5]=c(this.h[5],g),this.h[6]=c(this.h[6],w),this.h[7]=c(this.h[7],_)},n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},{"../common":234,"../utils":244,"./common":243,"minimalistic-assert":257}],241:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;o.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}var i=e("../utils"),o=e("./512");i.inherits(n,o),t.exports=n,n.blockSize=1024,n.outSize=384,n.hmacStrength=192,n.padLength=128,n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h.slice(0,12),"big"):i.split32(this.h.slice(0,12),"big")}},{"../utils":244,"./512":242}],242:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;m.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}var i=e("../utils"),o=e("../common"),s=e("minimalistic-assert"),a=i.rotr64_hi,c=i.rotr64_lo,f=i.shr64_hi,u=i.shr64_lo,h=i.sum64,l=i.sum64_hi,d=i.sum64_lo,p=i.sum64_4_hi,b=i.sum64_4_lo,y=i.sum64_5_hi,v=i.sum64_5_lo,m=o.BlockHash,g=[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];i.inherits(n,m),t.exports=n,n.blockSize=1024,n.outSize=512,n.hmacStrength=192,n.padLength=128,n.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var i=function(e,t){var r=a(e,t,19)^a(t,e,29)^f(e,t,6);return r<0&&(r+=4294967296),r}(r[n-4],r[n-3]),o=function(e,t){var r=c(e,t,19)^c(t,e,29)^u(e,t,6);return r<0&&(r+=4294967296),r}(r[n-4],r[n-3]),s=r[n-14],h=r[n-13],l=function(e,t){var r=a(e,t,1)^a(e,t,8)^f(e,t,7);return r<0&&(r+=4294967296),r}(r[n-30],r[n-29]),d=function(e,t){var r=c(e,t,1)^c(e,t,8)^u(e,t,7);return r<0&&(r+=4294967296),r}(r[n-30],r[n-29]),y=r[n-32],v=r[n-31];r[n]=p(i,o,s,h,l,d,y,v),r[n+1]=b(i,o,s,h,l,d,y,v)}},n.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],i=this.h[1],o=this.h[2],f=this.h[3],u=this.h[4],p=this.h[5],b=this.h[6],m=this.h[7],g=this.h[8],w=this.h[9],_=this.h[10],E=this.h[11],S=this.h[12],k=this.h[13],A=this.h[14],x=this.h[15];s(this.k.length===r.length);for(var I=0;I<r.length;I+=2){var T=A,B=x,P=function(e,t){var r=a(e,t,14)^a(e,t,18)^a(t,e,9);return r<0&&(r+=4294967296),r}(g,w),M=function(e,t){var r=c(e,t,14)^c(e,t,18)^c(t,e,9);return r<0&&(r+=4294967296),r}(g,w),C=function(e,t,r,n,i){var o=e&r^~e&i;return o<0&&(o+=4294967296),o}(g,0,_,0,S),R=function(e,t,r,n,i,o){var s=t&n^~t&o;return s<0&&(s+=4294967296),s}(0,w,0,E,0,k),O=this.k[I],L=this.k[I+1],j=r[I],N=r[I+1],D=y(T,B,P,M,C,R,O,L,j,N),U=v(T,B,P,M,C,R,O,L,j,N);T=function(e,t){var r=a(e,t,28)^a(t,e,2)^a(t,e,7);return r<0&&(r+=4294967296),r}(n,i),B=function(e,t){var r=c(e,t,28)^c(t,e,2)^c(t,e,7);return r<0&&(r+=4294967296),r}(n,i),P=function(e,t,r,n,i){var o=e&r^e&i^r&i;return o<0&&(o+=4294967296),o}(n,0,o,0,u),M=function(e,t,r,n,i,o){var s=t&n^t&o^n&o;return s<0&&(s+=4294967296),s}(0,i,0,f,0,p);var K=l(T,B,P,M),H=d(T,B,P,M);A=S,x=k,S=_,k=E,_=g,E=w,g=l(b,m,D,U),w=d(m,m,D,U),b=u,m=p,u=o,p=f,o=n,f=i,n=l(D,U,K,H),i=d(D,U,K,H)}h(this.h,0,n,i),h(this.h,2,o,f),h(this.h,4,u,p),h(this.h,6,b,m),h(this.h,8,g,w),h(this.h,10,_,E),h(this.h,12,S,k),h(this.h,14,A,x)},n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},{"../common":234,"../utils":244,"minimalistic-assert":257}],243:[function(e,t,r){"use strict";function n(e,t,r){return e&t^~e&r}function i(e,t,r){return e&t^e&r^t&r}function o(e,t,r){return e^t^r}var s=e("../utils").rotr32;r.ft_1=function(e,t,r,s){return 0===e?n(t,r,s):1===e||3===e?o(t,r,s):2===e?i(t,r,s):void 0},r.ch32=n,r.maj32=i,r.p32=o,r.s0_256=function(e){return s(e,2)^s(e,13)^s(e,22)},r.s1_256=function(e){return s(e,6)^s(e,11)^s(e,25)},r.g0_256=function(e){return s(e,7)^s(e,18)^e>>>3},r.g1_256=function(e){return s(e,17)^s(e,19)^e>>>10}},{"../utils":244}],244:[function(e,t,r){"use strict";function n(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function i(e){return 1===e.length?"0"+e:e}function o(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}var s=e("minimalistic-assert"),a=e("inherits");r.inherits=a,r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(var n=0;n<e.length;n++){var i=e.charCodeAt(n),o=i>>8,s=255&i;o?r.push(o,s):r.push(s)}else for(n=0;n<e.length;n++)r[n]=0|e[n];return r},r.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=i(e[r].toString(16));return t},r.htonl=n,r.toHex32=function(e,t){for(var r="",i=0;i<e.length;i++){var s=e[i];"little"===t&&(s=n(s)),r+=o(s.toString(16))}return r},r.zero2=i,r.zero8=o,r.join32=function(e,t,r,n){var i=r-t;s(i%4==0);for(var o=new Array(i/4),a=0,c=t;a<o.length;a++,c+=4){var f;f="big"===n?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],o[a]=f>>>0}return o},r.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n<e.length;n++,i+=4){var o=e[n];"big"===t?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},r.rotr32=function(e,t){return e>>>t|e<<32-t},r.rotl32=function(e,t){return e<<t|e>>>32-t},r.sum32=function(e,t){return e+t>>>0},r.sum32_3=function(e,t,r){return e+t+r>>>0},r.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},r.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},r.sum64=function(e,t,r,n){var i=e[t],o=n+e[t+1]>>>0,s=(o<n?1:0)+r+i;e[t]=s>>>0,e[t+1]=o},r.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},r.sum64_lo=function(e,t,r,n){return t+n>>>0},r.sum64_4_hi=function(e,t,r,n,i,o,s,a){var c=0,f=t;return c+=(f=f+n>>>0)<t?1:0,c+=(f=f+o>>>0)<o?1:0,e+r+i+s+(c+=(f=f+a>>>0)<a?1:0)>>>0},r.sum64_4_lo=function(e,t,r,n,i,o,s,a){return t+n+o+a>>>0},r.sum64_5_hi=function(e,t,r,n,i,o,s,a,c,f){var u=0,h=t;return u+=(h=h+n>>>0)<t?1:0,u+=(h=h+o>>>0)<o?1:0,u+=(h=h+a>>>0)<a?1:0,e+r+i+s+c+(u+=(h=h+f>>>0)<f?1:0)>>>0},r.sum64_5_lo=function(e,t,r,n,i,o,s,a,c,f){return t+n+o+a+f>>>0},r.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},r.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},r.shr64_hi=function(e,t,r){return e>>>r},r.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},{inherits:248,"minimalistic-assert":257}],245:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=o.toArray(e.entropy,e.entropyEnc||"hex"),r=o.toArray(e.nonce,e.nonceEnc||"hex"),i=o.toArray(e.pers,e.persEnc||"hex");s(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,i)}var i=e("hash.js"),o=e("minimalistic-crypto-utils"),s=e("minimalistic-assert");t.exports=n,n.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},n.prototype._hmac=function(){return new i.hmac(this.hash,this.K)},n.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},n.prototype.reseed=function(e,t,r,n){"string"!=typeof t&&(n=r,r=t,t=null),e=o.toArray(e,t),r=o.toArray(r,n),s(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},n.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=o.toArray(r,n||"hex"),this._update(r));for(var i=[];i.length<e;)this.V=this._hmac().update(this.V).digest(),i=i.concat(this.V);var s=i.slice(0,e);return this._update(r),this._reseed++,o.encode(s,t)}},{"hash.js":233,"minimalistic-assert":257,"minimalistic-crypto-utils":258}],246:[function(e,t,r){r.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,c=(1<<a)-1,f=c>>1,u=-7,h=r?i-1:0,l=r?-1:1,d=e[t+h];for(h+=l,o=d&(1<<-u)-1,d>>=-u,u+=a;u>0;o=256*o+e[t+h],h+=l,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=n;u>0;s=256*s+e[t+h],h+=l,u-=8);if(0===o)o=1-f;else{if(o===c)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),o-=f}return(d?-1:1)*s*Math.pow(2,o-n)},r.write=function(e,t,r,n,i,o){var s,a,c,f=8*o-i-1,u=(1<<f)-1,h=u>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+h>=1?l/c:l*Math.pow(2,1-h))*c>=2&&(s++,c/=2),s+h>=u?(a=0,s=u):s+h>=1?(a=(t*c-1)*Math.pow(2,i),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;e[r+d]=255&a,d+=p,a/=256,i-=8);for(s=s<<i|a,f+=i;f>0;e[r+d]=255&s,d+=p,s/=256,f-=8);e[r+d-p]|=128*b}},{}],247:[function(e,t,r){var n=[].indexOf;t.exports=function(e,t){if(n)return e.indexOf(t);for(var r=0;r<e.length;++r)if(e[r]===t)return r;return-1}},{}],248:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],249:[function(e,t,r){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}t.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},{}],250:[function(e,t,r){var n={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},{}],251:[function(e,t,r){(function(e){(function(){function n(e,t){return e.set(t[0],t[1]),e}function i(e,t){return e.add(t),e}function o(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function s(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}function a(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}function c(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var s=e[r];t(s,r,e)&&(o[i++]=s)}return o}function f(e,t){return!!(null==e?0:e.length)&&v(e,t,0)>-1}function u(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}function h(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}function l(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}function d(e,t,r,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++i]);++i<o;)r=t(r,e[i],i,e);return r}function p(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function b(e,t,r){var n;return r(e,function(e,r,i){if(t(e,r,i))return n=r,!1}),n}function y(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function v(e,t,r){return t==t?function(e,t,r){var n=r-1,i=e.length;for(;++n<i;)if(e[n]===t)return n;return-1}(e,t,r):y(e,m,r)}function m(e){return e!=e}function g(e,t){var r=null==e?0:e.length;return r?S(e,t)/r:be}function w(e){return function(t){return null==t?D:t[e]}}function _(e){return function(t){return null==e?D:e[t]}}function E(e,t,r,n,i){return i(e,function(e,i,o){r=n?(n=!1,e):t(r,e,i,o)}),r}function S(e,t){for(var r,n=-1,i=e.length;++n<i;){var o=t(e[n]);o!==D&&(r=r===D?o:r+o)}return r}function k(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function A(e){return function(t){return e(t)}}function x(e,t){return h(t,function(t){return e[t]})}function I(e,t){return e.has(t)}function T(e,t){for(var r=-1,n=e.length;++r<n&&v(t,e[r],0)>-1;);return r}function B(e,t){for(var r=e.length;r--&&v(t,e[r],0)>-1;);return r}function P(e){return"\\"+dr[e]}function M(e){return ar.test(e)}function C(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function R(e,t){return function(r){return e(t(r))}}function O(e,t){for(var r=-1,n=e.length,i=0,o=[];++r<n;){var s=e[r];s!==t&&s!==F||(e[r]=F,o[i++]=r)}return o}function L(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}function j(e){return M(e)?function(e){var t=or.lastIndex=0;for(;or.test(e);)++t;return t}(e):Pr(e)}function N(e){return M(e)?function(e){return e.match(or)||[]}(e):function(e){return e.split("")}(e)}var D,U=200,K="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",H="Expected a function",z="__lodash_hash_undefined__",q=500,F="__lodash_placeholder__",W=1,V=2,G=4,Y=1,J=2,X=1,Z=2,$=4,Q=8,ee=16,te=32,re=64,ne=128,ie=256,oe=512,se=30,ae="...",ce=800,fe=16,ue=1,he=2,le=1/0,de=9007199254740991,pe=1.7976931348623157e308,be=NaN,ye=4294967295,ve=ye-1,me=ye>>>1,ge=[["ary",ne],["bind",X],["bindKey",Z],["curry",Q],["curryRight",ee],["flip",oe],["partial",te],["partialRight",re],["rearg",ie]],we="[object Arguments]",_e="[object Array]",Ee="[object AsyncFunction]",Se="[object Boolean]",ke="[object Date]",Ae="[object DOMException]",xe="[object Error]",Ie="[object Function]",Te="[object GeneratorFunction]",Be="[object Map]",Pe="[object Number]",Me="[object Null]",Ce="[object Object]",Re="[object Proxy]",Oe="[object RegExp]",Le="[object Set]",je="[object String]",Ne="[object Symbol]",De="[object Undefined]",Ue="[object WeakMap]",Ke="[object WeakSet]",He="[object ArrayBuffer]",ze="[object DataView]",qe="[object Float32Array]",Fe="[object Float64Array]",We="[object Int8Array]",Ve="[object Int16Array]",Ge="[object Int32Array]",Ye="[object Uint8Array]",Je="[object Uint8ClampedArray]",Xe="[object Uint16Array]",Ze="[object Uint32Array]",$e=/\b__p \+= '';/g,Qe=/\b(__p \+=) '' \+/g,et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,tt=/&(?:amp|lt|gt|quot|#39);/g,rt=/[&<>"']/g,nt=RegExp(tt.source),it=RegExp(rt.source),ot=/<%-([\s\S]+?)%>/g,st=/<%([\s\S]+?)%>/g,at=/<%=([\s\S]+?)%>/g,ct=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ft=/^\w*$/,ut=/^\./,ht=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,lt=/[\\^$.*+?()[\]{}|]/g,dt=RegExp(lt.source),pt=/^\s+|\s+$/g,bt=/^\s+/,yt=/\s+$/,vt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,mt=/\{\n\/\* \[wrapped with (.+)\] \*/,gt=/,? & /,wt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,_t=/\\(\\)?/g,Et=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,St=/\w*$/,kt=/^[-+]0x[0-9a-f]+$/i,At=/^0b[01]+$/i,xt=/^\[object .+?Constructor\]$/,It=/^0o[0-7]+$/i,Tt=/^(?:0|[1-9]\d*)$/,Bt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Pt=/($^)/,Mt=/['\n\r\u2028\u2029\\]/g,Ct="\\ud800-\\udfff",Rt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ot="a-z\\xdf-\\xf6\\xf8-\\xff",Lt="A-Z\\xc0-\\xd6\\xd8-\\xde",jt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Nt="["+Ct+"]",Dt="["+jt+"]",Ut="["+Rt+"]",Kt="\\d+",Ht="[\\u2700-\\u27bf]",zt="["+Ot+"]",qt="[^"+Ct+jt+Kt+"\\u2700-\\u27bf"+Ot+Lt+"]",Ft="\\ud83c[\\udffb-\\udfff]",Wt="[^"+Ct+"]",Vt="(?:\\ud83c[\\udde6-\\uddff]){2}",Gt="[\\ud800-\\udbff][\\udc00-\\udfff]",Yt="["+Lt+"]",Jt="(?:"+zt+"|"+qt+")",Xt="(?:"+Yt+"|"+qt+")",Zt="(?:['’](?:d|ll|m|re|s|t|ve))?",$t="(?:['’](?:D|LL|M|RE|S|T|VE))?",Qt="(?:"+Ut+"|"+Ft+")"+"?",er="[\\ufe0e\\ufe0f]?"+Qt+("(?:\\u200d(?:"+[Wt,Vt,Gt].join("|")+")[\\ufe0e\\ufe0f]?"+Qt+")*"),tr="(?:"+[Ht,Vt,Gt].join("|")+")"+er,rr="(?:"+[Wt+Ut+"?",Ut,Vt,Gt,Nt].join("|")+")",nr=RegExp("['’]","g"),ir=RegExp(Ut,"g"),or=RegExp(Ft+"(?="+Ft+")|"+rr+er,"g"),sr=RegExp([Yt+"?"+zt+"+"+Zt+"(?="+[Dt,Yt,"$"].join("|")+")",Xt+"+"+$t+"(?="+[Dt,Yt+Jt,"$"].join("|")+")",Yt+"?"+Jt+"+"+Zt,Yt+"+"+$t,"\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Kt,tr].join("|"),"g"),ar=RegExp("[\\u200d"+Ct+Rt+"\\ufe0e\\ufe0f]"),cr=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ur=-1,hr={};hr[qe]=hr[Fe]=hr[We]=hr[Ve]=hr[Ge]=hr[Ye]=hr[Je]=hr[Xe]=hr[Ze]=!0,hr[we]=hr[_e]=hr[He]=hr[Se]=hr[ze]=hr[ke]=hr[xe]=hr[Ie]=hr[Be]=hr[Pe]=hr[Ce]=hr[Oe]=hr[Le]=hr[je]=hr[Ue]=!1;var lr={};lr[we]=lr[_e]=lr[He]=lr[ze]=lr[Se]=lr[ke]=lr[qe]=lr[Fe]=lr[We]=lr[Ve]=lr[Ge]=lr[Be]=lr[Pe]=lr[Ce]=lr[Oe]=lr[Le]=lr[je]=lr[Ne]=lr[Ye]=lr[Je]=lr[Xe]=lr[Ze]=!0,lr[xe]=lr[Ie]=lr[Ue]=!1;var dr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},pr=parseFloat,br=parseInt,yr="object"==typeof e&&e&&e.Object===Object&&e,vr="object"==typeof self&&self&&self.Object===Object&&self,mr=yr||vr||Function("return this")(),gr="object"==typeof r&&r&&!r.nodeType&&r,wr=gr&&"object"==typeof t&&t&&!t.nodeType&&t,_r=wr&&wr.exports===gr,Er=_r&&yr.process,Sr=function(){try{return Er&&Er.binding&&Er.binding("util")}catch(e){}}(),kr=Sr&&Sr.isArrayBuffer,Ar=Sr&&Sr.isDate,xr=Sr&&Sr.isMap,Ir=Sr&&Sr.isRegExp,Tr=Sr&&Sr.isSet,Br=Sr&&Sr.isTypedArray,Pr=w("length"),Mr=_({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Cr=_({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),Rr=_({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Or=function e(t){function r(e){if(Qi(e)&&!za(e)&&!(e instanceof Rt)){if(e instanceof Ct)return e;if(qo.call(e,"__wrapped__"))return Si(e)}return new Ct(e)}function _(){}function Ct(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=D}function Rt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ye,this.__views__=[]}function Ot(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Lt(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function jt(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Nt(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new jt;++t<r;)this.add(e[t])}function Dt(e){var t=this.__data__=new Lt(e);this.size=t.size}function Ut(e,t){var r=za(e),n=!r&&Ha(e),i=!r&&!n&&Fa(e),o=!r&&!n&&!i&&Ja(e),s=r||n||i||o,a=s?k(e.length,jo):[],c=a.length;for(var f in e)!t&&!qo.call(e,f)||s&&("length"==f||i&&("offset"==f||"parent"==f)||o&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||fi(f,c))||a.push(f);return a}function Kt(e){var t=e.length;return t?e[Zr(0,t-1)]:D}function Ht(e,t,r){(r===D||Wi(e[t],r))&&(r!==D||t in e)||Wt(e,t,r)}function zt(e,t,r){var n=e[t];qo.call(e,t)&&Wi(n,r)&&(r!==D||t in e)||Wt(e,t,r)}function qt(e,t){for(var r=e.length;r--;)if(Wi(e[r][0],t))return r;return-1}function Ft(e,t){return e&&xn(t,po(t),e)}function Wt(e,t,r){"__proto__"==t&&ss?ss(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Vt(e,t){for(var r=-1,n=t.length,i=Bo(n),o=null==e;++r<n;)i[r]=o?D:ho(e,t[r]);return i}function Gt(e,t,r){return e==e&&(r!==D&&(e=e<=r?e:r),t!==D&&(e=e>=t?e:t)),e}function Yt(e,t,r,o,a,c){var f,u=t&W,h=t&V,l=t&G;if(r&&(f=a?r(e,o,a,c):r(e)),f!==D)return f;if(!$i(e))return e;var p=za(e);if(p){if(f=function(e){var t=e.length,r=e.constructor(t);return t&&"string"==typeof e[0]&&qo.call(e,"index")&&(r.index=e.index,r.input=e.input),r}(e),!u)return An(e,f)}else{var b=$s(e),y=b==Ie||b==Te;if(Fa(e))return gn(e,u);if(b==Ce||b==we||y&&!a){if(f=h||y?{}:ai(e),!u)return h?function(e,t){return xn(e,Zs(e),t)}(e,function(t,r){return t&&xn(e,bo(e),t)}(f)):function(e,t){return xn(e,Xs(e),t)}(e,Ft(f,e))}else{if(!lr[b])return a?e:{};f=function(e,t,r,o){var s=e.constructor;switch(t){case He:return wn(e);case Se:case ke:return new s(+e);case ze:return function(e,t){var r=o?wn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e);case qe:case Fe:case We:case Ve:case Ge:case Ye:case Je:case Xe:case Ze:return _n(e,o);case Be:return function(e,t,i){return d(o?r(C(e),W):C(e),n,new e.constructor)}(e);case Pe:case je:return new s(e);case Oe:return function(e){var t=new e.constructor(e.source,St.exec(e));return t.lastIndex=e.lastIndex,t}(e);case Le:return function(e,t,n){return d(o?r(L(e),W):L(e),i,new e.constructor)}(e);case Ne:return function(e){return Ns?Oo(Ns.call(e)):{}}(e)}}(e,b,Yt,u)}}c||(c=new Dt);var v=c.get(e);if(v)return v;c.set(e,f);var m=p?D:(l?h?Qn:$n:h?bo:po)(e);return s(m||e,function(n,i){m&&(n=e[i=n]),zt(f,i,Yt(n,t,r,i,e,c))}),f}function Jt(e,t,r){var n=r.length;if(null==e)return!n;for(e=Oo(e);n--;){var i=r[n],o=t[i],s=e[i];if(s===D&&!(i in e)||!o(s))return!1}return!0}function Xt(e,t,r){if("function"!=typeof e)throw new No(H);return ta(function(){e.apply(D,r)},t)}function Zt(e,t,r,n){var i=-1,o=f,s=!0,a=e.length,c=[],l=t.length;if(!a)return c;r&&(t=h(t,A(r))),n?(o=u,s=!1):t.length>=U&&(o=I,s=!1,t=new Nt(t));e:for(;++i<a;){var d=e[i],p=null==r?d:r(d);if(d=n||0!==d?d:0,s&&p==p){for(var b=l;b--;)if(t[b]===p)continue e;c.push(d)}else o(t,p,n)||c.push(d)}return c}function $t(e,t,r){for(var n=-1,i=e.length;++n<i;){var o=e[n],s=t(o);if(null!=s&&(a===D?s==s&&!no(s):r(s,a)))var a=s,c=o}return c}function Qt(e,t){var r=[];return Ks(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r}function er(e,t,r,n,i){var o=-1,s=e.length;for(r||(r=ci),i||(i=[]);++o<s;){var a=e[o];t>0&&r(a)?t>1?er(a,t-1,r,n,i):l(i,a):n||(i[i.length]=a)}return i}function tr(e,t){return e&&zs(e,t,po)}function rr(e,t){return e&&qs(e,t,po)}function or(e,t){return c(t,function(t){return Ji(e[t])})}function ar(e,t){for(var r=0,n=(t=vn(t,e)).length;null!=e&&r<n;)e=e[_i(t[r++])];return r&&r==n?e:D}function dr(e,t,r){var n=t(e);return za(e)?n:l(n,r(e))}function yr(e){return null==e?e===D?De:Me:os&&os in Oo(e)?function(e){var t=qo.call(e,os),r=e[os];try{e[os]=D;var n=!0}catch(e){}var i=Vo.call(e);return n&&(t?e[os]=r:delete e[os]),i}(e):function(e){return Vo.call(e)}(e)}function vr(e,t){return e>t}function gr(e,t){return null!=e&&qo.call(e,t)}function wr(e,t){return null!=e&&t in Oo(e)}function Er(e,t,r){for(var n=r?u:f,i=e[0].length,o=e.length,s=o,a=Bo(o),c=1/0,l=[];s--;){var d=e[s];s&&t&&(d=h(d,A(t))),c=ms(d.length,c),a[s]=!r&&(t||i>=120&&d.length>=120)?new Nt(s&&d):D}d=e[0];var p=-1,b=a[0];e:for(;++p<i&&l.length<c;){var y=d[p],v=t?t(y):y;if(y=r||0!==y?y:0,!(b?I(b,v):n(l,v,r))){for(s=o;--s;){var m=a[s];if(!(m?I(m,v):n(e[s],v,r)))continue e}b&&b.push(v),l.push(y)}}return l}function Sr(e,t,r){var n=null==(e=vi(e,t=vn(t,e)))?e:e[_i(Ti(t))];return null==n?D:o(n,e,r)}function Pr(e){return Qi(e)&&yr(e)==we}function Lr(e,t,r,n,i){return e===t||(null==e||null==t||!Qi(e)&&!Qi(t)?e!=e&&t!=t:function(e,t,r,n,i,o){var s=za(e),a=za(t),c=s?_e:$s(e),f=a?_e:$s(t),u=(c=c==we?Ce:c)==Ce,h=(f=f==we?Ce:f)==Ce,l=c==f;if(l&&Fa(e)){if(!Fa(t))return!1;s=!0,u=!1}if(l&&!u)return o||(o=new Dt),s||Ja(e)?Xn(e,t,r,n,i,o):function(e,t,r,n,i,o,s){switch(c){case ze:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case He:return!(e.byteLength!=t.byteLength||!o(new Zo(e),new Zo(t)));case Se:case ke:case Pe:return Wi(+e,+t);case xe:return e.name==t.name&&e.message==t.message;case Oe:case je:return e==t+"";case Be:var a=C;case Le:var f=n&Y;if(a||(a=L),e.size!=t.size&&!f)return!1;var u=s.get(e);if(u)return u==t;n|=J,s.set(e,t);var h=Xn(a(e),a(t),n,i,o,s);return s.delete(e),h;case Ne:if(Ns)return Ns.call(e)==Ns.call(t)}return!1}(e,t,0,r,n,i,o);if(!(r&Y)){var d=u&&qo.call(e,"__wrapped__"),p=h&&qo.call(t,"__wrapped__");if(d||p){var b=d?e.value():e,y=p?t.value():t;return o||(o=new Dt),i(b,y,r,n,o)}}return!!l&&(o||(o=new Dt),function(e,t,r,n,i,o){var s=r&Y,a=$n(e),c=a.length,f=$n(t).length;if(c!=f&&!s)return!1;for(var u=c;u--;){var h=a[u];if(!(s?h in t:qo.call(t,h)))return!1}var l=o.get(e);if(l&&o.get(t))return l==t;var d=!0;o.set(e,t),o.set(t,e);for(var p=s;++u<c;){h=a[u];var b=e[h],y=t[h];if(n)var v=s?n(y,b,h,t,e,o):n(b,y,h,e,t,o);if(!(v===D?b===y||i(b,y,r,n,o):v)){d=!1;break}p||(p="constructor"==h)}if(d&&!p){var m=e.constructor,g=t.constructor;m!=g&&"constructor"in e&&"constructor"in t&&!("function"==typeof m&&m instanceof m&&"function"==typeof g&&g instanceof g)&&(d=!1)}return o.delete(e),o.delete(t),d}(e,t,r,n,i,o))}(e,t,r,n,Lr,i))}function jr(e,t,r,n){var i=r.length,o=i,s=!n;if(null==e)return!o;for(e=Oo(e);i--;){var a=r[i];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var c=(a=r[i])[0],f=e[c],u=a[1];if(s&&a[2]){if(f===D&&!(c in e))return!1}else{var h=new Dt;if(n)var l=n(f,u,c,e,t,h);if(!(l===D?Lr(u,f,Y|J,n,h):l))return!1}}return!0}function Nr(e){return!(!$i(e)||!!Wo&&Wo in e)&&(Ji(e)?Jo:xt).test(Ei(e))}function Dr(e){return"function"==typeof e?e:null==e?Eo:"object"==typeof e?za(e)?Fr(e[0],e[1]):qr(e):xo(e)}function Ur(e){if(!di(e))return ys(e);var t=[];for(var r in Oo(e))qo.call(e,r)&&"constructor"!=r&&t.push(r);return t}function Kr(e){if(!$i(e))return function(e){var t=[];if(null!=e)for(var r in Oo(e))t.push(r);return t}(e);var t=di(e),r=[];for(var n in e)("constructor"!=n||!t&&qo.call(e,n))&&r.push(n);return r}function Hr(e,t){return e<t}function zr(e,t){var r=-1,n=Vi(e)?Bo(e.length):[];return Ks(e,function(e,i,o){n[++r]=t(e,i,o)}),n}function qr(e){var t=ii(e);return 1==t.length&&t[0][2]?bi(t[0][0],t[0][1]):function(r){return r===e||jr(r,e,t)}}function Fr(e,t){return hi(e)&&pi(t)?bi(_i(e),t):function(r){var n=ho(r,e);return n===D&&n===t?lo(r,e):Lr(t,n,Y|J)}}function Wr(e,t,r,n,i){e!==t&&zs(t,function(o,s){if($i(o))i||(i=new Dt),function(e,t,r,n,i,o,s){var a=e[r],c=t[r],f=s.get(c);if(f)Ht(e,r,f);else{var u=o?o(a,c,r+"",e,t,s):D,h=u===D;if(h){var l=za(c),d=!l&&Fa(c),p=!l&&!d&&Ja(c);u=c,l||d||p?za(a)?u=a:Gi(a)?u=An(a):d?(h=!1,u=gn(c,!0)):p?(h=!1,u=_n(c,!0)):u=[]:to(c)||Ha(c)?(u=a,Ha(a)?u=fo(a):(!$i(a)||n&&Ji(a))&&(u=ai(c))):h=!1}h&&(s.set(c,u),i(u,c,n,o,s),s.delete(c)),Ht(e,r,u)}}(e,t,s,r,Wr,n,i);else{var a=n?n(e[s],o,s+"",e,t,i):D;a===D&&(a=o),Ht(e,s,a)}},bo)}function Vr(e,t){var r=e.length;if(r)return t+=t<0?r:0,fi(t,r)?e[t]:D}function Gr(e,t,r){var n=-1;return t=h(t.length?t:[Eo],A(ri())),function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}(zr(e,function(e,r,i){return{criteria:h(t,function(t){return t(e)}),index:++n,value:e}}),function(e,t){return function(e,t,r){for(var n=-1,i=e.criteria,o=t.criteria,s=i.length,a=r.length;++n<s;){var c=En(i[n],o[n]);if(c){if(n>=a)return c;var f=r[n];return c*("desc"==f?-1:1)}}return e.index-t.index}(e,t,r)})}function Yr(e,t,r){for(var n=-1,i=t.length,o={};++n<i;){var s=t[n],a=ar(e,s);r(a,s)&&en(o,vn(s,e),a)}return o}function Jr(e,t,r,n){var i=n?function(e,t,r,n){for(var i=r-1,o=e.length;++i<o;)if(n(e[i],t))return i;return-1}:v,o=-1,s=t.length,a=e;for(e===t&&(t=An(t)),r&&(a=h(e,A(r)));++o<s;)for(var c=0,f=t[o],u=r?r(f):f;(c=i(a,u,c,n))>-1;)a!==e&&rs.call(a,c,1),rs.call(e,c,1);return e}function Xr(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==o){var o=i;fi(i)?rs.call(e,i,1):fn(e,i)}}return e}function Zr(e,t){return e+hs(_s()*(t-e+1))}function $r(e,t){var r="";if(!e||t<1||t>de)return r;do{t%2&&(r+=e),(t=hs(t/2))&&(e+=e)}while(t);return r}function Qr(e,t){return ra(yi(e,t,Eo),e+"")}function en(e,t,r,n){if(!$i(e))return e;for(var i=-1,o=(t=vn(t,e)).length,s=o-1,a=e;null!=a&&++i<o;){var c=_i(t[i]),f=r;if(i!=s){var u=a[c];(f=n?n(u,c,a):D)===D&&(f=$i(u)?u:fi(t[i+1])?[]:{})}zt(a,c,f),a=a[c]}return e}function tn(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Bo(i);++n<i;)o[n]=e[n+t];return o}function rn(e,t,r){var n=0,i=null==e?n:e.length;if("number"==typeof t&&t==t&&i<=me){for(;n<i;){var o=n+i>>>1,s=e[o];null!==s&&!no(s)&&(r?s<=t:s<t)?n=o+1:i=o}return i}return nn(e,t,Eo,r)}function nn(e,t,r,n){t=r(t);for(var i=0,o=null==e?0:e.length,s=t!=t,a=null===t,c=no(t),f=t===D;i<o;){var u=hs((i+o)/2),h=r(e[u]),l=h!==D,d=null===h,p=h==h,b=no(h);if(s)var y=n||p;else y=f?p&&(n||l):a?p&&l&&(n||!d):c?p&&l&&!d&&(n||!b):!d&&!b&&(n?h<=t:h<t);y?i=u+1:o=u}return ms(o,ve)}function on(e,t){for(var r=-1,n=e.length,i=0,o=[];++r<n;){var s=e[r],a=t?t(s):s;if(!r||!Wi(a,c)){var c=a;o[i++]=0===s?0:s}}return o}function sn(e){return"number"==typeof e?e:no(e)?be:+e}function an(e){if("string"==typeof e)return e;if(za(e))return h(e,an)+"";if(no(e))return Ds?Ds.call(e):"";var t=e+"";return"0"==t&&1/e==-le?"-0":t}function cn(e,t,r){var n=-1,i=f,o=e.length,s=!0,a=[],c=a;if(r)s=!1,i=u;else if(o>=U){var h=t?null:Ys(e);if(h)return L(h);s=!1,i=I,c=new Nt}else c=t?[]:a;e:for(;++n<o;){var l=e[n],d=t?t(l):l;if(l=r||0!==l?l:0,s&&d==d){for(var p=c.length;p--;)if(c[p]===d)continue e;t&&c.push(d),a.push(l)}else i(c,d,r)||(c!==a&&c.push(d),a.push(l))}return a}function fn(e,t){return t=vn(t,e),null==(e=vi(e,t))||delete e[_i(Ti(t))]}function un(e,t,r,n){return en(e,t,r(ar(e,t)),n)}function hn(e,t,r,n){for(var i=e.length,o=n?i:-1;(n?o--:++o<i)&&t(e[o],o,e););return r?tn(e,n?0:o,n?o+1:i):tn(e,n?o+1:0,n?i:o)}function ln(e,t){var r=e;return r instanceof Rt&&(r=r.value()),d(t,function(e,t){return t.func.apply(t.thisArg,l([e],t.args))},r)}function dn(e,t,r){var n=e.length;if(n<2)return n?cn(e[0]):[];for(var i=-1,o=Bo(n);++i<n;)for(var s=e[i],a=-1;++a<n;)a!=i&&(o[i]=Zt(o[i]||s,e[a],t,r));return cn(er(o,1),t,r)}function pn(e,t,r){for(var n=-1,i=e.length,o=t.length,s={};++n<i;){var a=n<o?t[n]:D;r(s,e[n],a)}return s}function bn(e){return Gi(e)?e:[]}function yn(e){return"function"==typeof e?e:Eo}function vn(e,t){return za(e)?e:hi(e,t)?[e]:na(uo(e))}function mn(e,t,r){var n=e.length;return r=r===D?n:r,!t&&r>=n?e:tn(e,t,r)}function gn(e,t){if(t)return e.slice();var r=e.length,n=$o?$o(r):new e.constructor(r);return e.copy(n),n}function wn(e){var t=new e.constructor(e.byteLength);return new Zo(t).set(new Zo(e)),t}function _n(e,t){var r=t?wn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function En(e,t){if(e!==t){var r=e!==D,n=null===e,i=e==e,o=no(e),s=t!==D,a=null===t,c=t==t,f=no(t);if(!a&&!f&&!o&&e>t||o&&s&&c&&!a&&!f||n&&s&&c||!r&&c||!i)return 1;if(!n&&!o&&!f&&e<t||f&&r&&i&&!n&&!o||a&&r&&i||!s&&i||!c)return-1}return 0}function Sn(e,t,r,n){for(var i=-1,o=e.length,s=r.length,a=-1,c=t.length,f=vs(o-s,0),u=Bo(c+f),h=!n;++a<c;)u[a]=t[a];for(;++i<s;)(h||i<o)&&(u[r[i]]=e[i]);for(;f--;)u[a++]=e[i++];return u}function kn(e,t,r,n){for(var i=-1,o=e.length,s=-1,a=r.length,c=-1,f=t.length,u=vs(o-a,0),h=Bo(u+f),l=!n;++i<u;)h[i]=e[i];for(var d=i;++c<f;)h[d+c]=t[c];for(;++s<a;)(l||i<o)&&(h[d+r[s]]=e[i++]);return h}function An(e,t){var r=-1,n=e.length;for(t||(t=Bo(n));++r<n;)t[r]=e[r];return t}function xn(e,t,r,n){var i=!r;r||(r={});for(var o=-1,s=t.length;++o<s;){var a=t[o],c=n?n(r[a],e[a],a,r,e):D;c===D&&(c=e[a]),i?Wt(r,a,c):zt(r,a,c)}return r}function In(e,t){return function(r,n){var i=za(r)?function(e,t,r,n){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(n,s,r(s),e)}return n}:function(e,t,r,n){return Ks(e,function(e,i,o){t(n,e,r(e),o)}),n},o=t?t():{};return i(r,e,ri(n,2),o)}}function Tn(e){return Qr(function(t,r){var n=-1,i=r.length,o=i>1?r[i-1]:D,s=i>2?r[2]:D;for(o=e.length>3&&"function"==typeof o?(i--,o):D,s&&ui(r[0],r[1],s)&&(o=i<3?D:o,i=1),t=Oo(t);++n<i;){var a=r[n];a&&e(t,a,n,o)}return t})}function Bn(e,t){return function(r,n){if(null==r)return r;if(!Vi(r))return e(r,n);for(var i=r.length,o=t?i:-1,s=Oo(r);(t?o--:++o<i)&&!1!==n(s[o],o,s););return r}}function Pn(e){return function(t,r,n){for(var i=-1,o=Oo(t),s=n(t),a=s.length;a--;){var c=s[e?a:++i];if(!1===r(o[c],c,o))break}return t}}function Mn(e){return function(t){var r=M(t=uo(t))?N(t):D,n=r?r[0]:t.charAt(0),i=r?mn(r,1).join(""):t.slice(1);return n[e]()+i}}function Cn(e){return function(t){return d(wo(go(t).replace(nr,"")),e,"")}}function Rn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Us(e.prototype),n=e.apply(r,t);return $i(n)?n:r}}function On(e){return function(t,r,n){var i=Oo(t);if(!Vi(t)){var o=ri(r,3);t=po(t),r=function(e){return o(i[e],e,i)}}var s=e(t,r,n);return s>-1?i[o?t[s]:s]:D}}function Ln(e){return Zn(function(t){var r=t.length,n=r,i=Ct.prototype.thru;for(e&&t.reverse();n--;){var o=t[n];if("function"!=typeof o)throw new No(H);if(i&&!s&&"wrapper"==ei(o))var s=new Ct([],!0)}for(n=s?n:r;++n<r;){var a=ei(o=t[n]),c="wrapper"==a?Js(o):D;s=c&&li(c[0])&&c[1]==(ne|Q|te|ie)&&!c[4].length&&1==c[9]?s[ei(c[0])].apply(s,c[3]):1==o.length&&li(o)?s[a]():s.thru(o)}return function(){var e=arguments,n=e[0];if(s&&1==e.length&&za(n))return s.plant(n).value();for(var i=0,o=r?t[i].apply(this,e):n;++i<r;)o=t[i].call(this,o);return o}})}function jn(e,t,r,n,i,o,s,a,c,f){function u(){for(var v=arguments.length,m=Bo(v),g=v;g--;)m[g]=arguments[g];if(p)var w=ti(u),_=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}(m,w);if(n&&(m=Sn(m,n,i,p)),o&&(m=kn(m,o,s,p)),v-=_,p&&v<f){var E=O(m,w);return qn(e,t,jn,u.placeholder,r,m,E,a,c,f-v)}var S=l?r:this,k=d?S[e]:e;return v=m.length,a?m=function(e,t){for(var r=e.length,n=ms(t.length,r),i=An(e);n--;){var o=t[n];e[n]=fi(o,r)?i[o]:D}return e}(m,a):b&&v>1&&m.reverse(),h&&c<v&&(m.length=c),this&&this!==mr&&this instanceof u&&(k=y||Rn(k)),k.apply(S,m)}var h=t&ne,l=t&X,d=t&Z,p=t&(Q|ee),b=t&oe,y=d?D:Rn(e);return u}function Nn(e,t){return function(r,n){return function(e,t,r,n){return tr(e,function(e,i,o){t(n,r(e),i,o)}),n}(r,e,t(n),{})}}function Dn(e,t){return function(r,n){var i;if(r===D&&n===D)return t;if(r!==D&&(i=r),n!==D){if(i===D)return n;"string"==typeof r||"string"==typeof n?(r=an(r),n=an(n)):(r=sn(r),n=sn(n)),i=e(r,n)}return i}}function Un(e){return Zn(function(t){return t=h(t,A(ri())),Qr(function(r){var n=this;return e(t,function(e){return o(e,n,r)})})})}function Kn(e,t){var r=(t=t===D?" ":an(t)).length;if(r<2)return r?$r(t,e):t;var n=$r(t,us(e/j(t)));return M(t)?mn(N(n),0,e).join(""):n.slice(0,e)}function Hn(e){return function(t,r,n){return n&&"number"!=typeof n&&ui(t,r,n)&&(r=n=D),t=oo(t),r===D?(r=t,t=0):r=oo(r),n=n===D?t<r?1:-1:oo(n),function(e,t,n,i){for(var o=-1,s=vs(us((r-e)/(n||1)),0),a=Bo(s);s--;)a[i?s:++o]=e,e+=n;return a}(t,0,n,e)}}function zn(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=co(t),r=co(r)),e(t,r)}}function qn(e,t,r,n,i,o,s,a,c,f){var u=t&Q;t|=u?te:re,(t&=~(u?re:te))&$||(t&=~(X|Z));var h=[e,t,i,u?o:D,u?s:D,u?D:o,u?D:s,a,c,f],l=r.apply(D,h);return li(e)&&ea(l,h),l.placeholder=n,mi(l,e,t)}function Fn(e){var t=Ro[e];return function(e,r){if(e=co(e),r=null==r?0:ms(so(r),292)){var n=(uo(e)+"e").split("e");return+((n=(uo(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}function Wn(e){return function(t){var r=$s(t);return r==Be?C(t):r==Le?function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=[e,e]}),r}(t):function(r,n){return h(e(t),function(e){return[e,r[e]]})}(t)}}function Vn(e,t,r,n,i,s,a,c){var f=t&Z;if(!f&&"function"!=typeof e)throw new No(H);var u=n?n.length:0;if(u||(t&=~(te|re),n=i=D),a=a===D?a:vs(so(a),0),c=c===D?c:so(c),u-=i?i.length:0,t&re){var h=n,l=i;n=i=D}var d=f?D:Js(e),p=[e,t,r,n,i,h,l,s,a,c];if(d&&function(e,t){var r=e[1],n=t[1],i=r|n,o=i<(X|Z|ne),s=n==ne&&r==Q||n==ne&&r==ie&&e[7].length<=t[8]||n==(ne|ie)&&t[7].length<=t[8]&&r==Q;if(!o&&!s)return e;n&X&&(e[2]=t[2],i|=r&X?0:$);var a=t[3];if(a){var c=e[3];e[3]=c?Sn(c,a,t[4]):a,e[4]=c?O(e[3],F):t[4]}(a=t[5])&&(c=e[5],e[5]=c?kn(c,a,t[6]):a,e[6]=c?O(e[5],F):t[6]),(a=t[7])&&(e[7]=a),n&ne&&(e[8]=null==e[8]?t[8]:ms(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(p,d),e=p[0],t=p[1],r=p[2],n=p[3],i=p[4],!(c=p[9]=p[9]===D?f?0:e.length:vs(p[9]-u,0))&&t&(Q|ee)&&(t&=~(Q|ee)),t&&t!=X)b=t==Q||t==ee?function(e,t,r){function n(){for(var s=arguments.length,a=Bo(s),c=s,f=ti(n);c--;)a[c]=arguments[c];var u=s<3&&a[0]!==f&&a[s-1]!==f?[]:O(a,f);return(s-=u.length)<r?qn(e,t,jn,n.placeholder,D,a,u,D,D,r-s):o(this&&this!==mr&&this instanceof n?i:e,this,a)}var i=Rn(e);return n}(e,t,c):t!=te&&t!=(X|te)||i.length?jn.apply(D,p):function(e,r,n,i){function s(){for(var t=-1,r=arguments.length,f=-1,u=i.length,h=Bo(u+r),l=this&&this!==mr&&this instanceof s?c:e;++f<u;)h[f]=i[f];for(;r--;)h[f++]=arguments[++t];return o(l,a?n:this,h)}var a=t&X,c=Rn(e);return s}(e,0,r,n);else var b=function(e,r,n){function i(){return(this&&this!==mr&&this instanceof i?s:e).apply(o?n:this,arguments)}var o=t&X,s=Rn(e);return i}(e,0,r);return mi((d?Fs:ea)(b,p),e,t)}function Gn(e,t,r,n){return e===D||Wi(e,Ko[r])&&!qo.call(n,r)?t:e}function Yn(e,t,r,n,i,o){return $i(e)&&$i(t)&&(o.set(t,e),Wr(e,t,D,Yn,o),o.delete(t)),e}function Jn(e){return to(e)?D:e}function Xn(e,t,r,n,i,o){var s=r&Y,a=e.length,c=t.length;if(a!=c&&!(s&&c>a))return!1;var f=o.get(e);if(f&&o.get(t))return f==t;var u=-1,h=!0,l=r&J?new Nt:D;for(o.set(e,t),o.set(t,e);++u<a;){var d=e[u],b=t[u];if(n)var y=s?n(b,d,u,t,e,o):n(d,b,u,e,t,o);if(y!==D){if(y)continue;h=!1;break}if(l){if(!p(t,function(e,t){if(!I(l,t)&&(d===e||i(d,e,r,n,o)))return l.push(t)})){h=!1;break}}else if(d!==b&&!i(d,b,r,n,o)){h=!1;break}}return o.delete(e),o.delete(t),h}function Zn(e){return ra(yi(e,D,xi),e+"")}function $n(e){return dr(e,po,Xs)}function Qn(e){return dr(e,bo,Zs)}function ei(e){for(var t=e.name+"",r=Ps[t],n=qo.call(Ps,t)?r.length:0;n--;){var i=r[n],o=i.func;if(null==o||o==e)return i.name}return t}function ti(e){return(qo.call(r,"placeholder")?r:e).placeholder}function ri(){var e=r.iteratee||So;return e=e===So?Dr:e,arguments.length?e(arguments[0],arguments[1]):e}function ni(e,t){var r=e.__data__;return function(e){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}()?r["string"==typeof t?"string":"hash"]:r.map}function ii(e){for(var t=po(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,pi(i)]}return t}function oi(e,t){var r=null==e?D:e[t];return Nr(r)?r:D}function si(e,t,r){for(var n=-1,i=(t=vn(t,e)).length,o=!1;++n<i;){var s=_i(t[n]);if(!(o=null!=e&&r(e,s)))break;e=e[s]}return o||++n!=i?o:!!(i=null==e?0:e.length)&&Zi(i)&&fi(s,i)&&(za(e)||Ha(e))}function ai(e){return"function"!=typeof e.constructor||di(e)?{}:Us(Qo(e))}function ci(e){return za(e)||Ha(e)||!!(ns&&e&&e[ns])}function fi(e,t){return!!(t=null==t?de:t)&&("number"==typeof e||Tt.test(e))&&e>-1&&e%1==0&&e<t}function ui(e,t,r){if(!$i(r))return!1;var n=typeof t;return!!("number"==n?Vi(r)&&fi(t,r.length):"string"==n&&t in r)&&Wi(r[t],e)}function hi(e,t){if(za(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!no(e))||ft.test(e)||!ct.test(e)||null!=t&&e in Oo(t)}function li(e){var t=ei(e),n=r[t];if("function"!=typeof n||!(t in Rt.prototype))return!1;if(e===n)return!0;var i=Js(n);return!!i&&e===i[0]}function di(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ko)}function pi(e){return e==e&&!$i(e)}function bi(e,t){return function(r){return null!=r&&r[e]===t&&(t!==D||e in Oo(r))}}function yi(e,t,r){return t=vs(t===D?e.length-1:t,0),function(){for(var n=arguments,i=-1,s=vs(n.length-t,0),a=Bo(s);++i<s;)a[i]=n[t+i];i=-1;for(var c=Bo(t+1);++i<t;)c[i]=n[i];return c[t]=r(a),o(e,this,c)}}function vi(e,t){return t.length<2?e:ar(e,tn(t,0,-1))}function mi(e,t,r){var n=t+"";return ra(e,function(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(vt,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return s(ge,function(r){var n="_."+r[0];t&r[1]&&!f(e,n)&&e.push(n)}),e.sort()}(function(e){var t=n.match(mt);return t?t[1].split(gt):[]}(),r)))}function gi(e){var t=0,r=0;return function(){var n=gs(),i=fe-(n-r);if(r=n,i>0){if(++t>=ce)return arguments[0]}else t=0;return e.apply(D,arguments)}}function wi(e,t){var r=-1,n=e.length,i=n-1;for(t=t===D?n:t;++r<t;){var o=Zr(r,i),s=e[o];e[o]=e[r],e[r]=s}return e.length=t,e}function _i(e){if("string"==typeof e||no(e))return e;var t=e+"";return"0"==t&&1/e==-le?"-0":t}function Ei(e){if(null!=e){try{return zo.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Si(e){if(e instanceof Rt)return e.clone();var t=new Ct(e.__wrapped__,e.__chain__);return t.__actions__=An(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function ki(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:so(r);return i<0&&(i=vs(n+i,0)),y(e,ri(t,3),i)}function Ai(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n-1;return r!==D&&(i=so(r),i=r<0?vs(n+i,0):ms(i,n-1)),y(e,ri(t,3),i,!0)}function xi(e){return(null==e?0:e.length)?er(e,1):[]}function Ii(e){return e&&e.length?e[0]:D}function Ti(e){var t=null==e?0:e.length;return t?e[t-1]:D}function Bi(e,t){return e&&e.length&&t&&t.length?Jr(e,t):e}function Pi(e){return null==e?e:Es.call(e)}function Mi(e){if(!e||!e.length)return[];var t=0;return e=c(e,function(e){if(Gi(e))return t=vs(e.length,t),!0}),k(t,function(t){return h(e,w(t))})}function Ci(e,t){if(!e||!e.length)return[];var r=Mi(e);return null==t?r:h(r,function(e){return o(t,D,e)})}function Ri(e){var t=r(e);return t.__chain__=!0,t}function Oi(e,t){return t(e)}function Li(e,t){return(za(e)?s:Ks)(e,ri(t,3))}function ji(e,t){return(za(e)?function(e,t){for(var r=null==e?0:e.length;r--&&!1!==t(e[r],r,e););return e}:Hs)(e,ri(t,3))}function Ni(e,t){return(za(e)?h:zr)(e,ri(t,3))}function Di(e,t,r){return t=r?D:t,t=e&&null==t?e.length:t,Vn(e,ne,D,D,D,D,t)}function Ui(e,t){var r;if("function"!=typeof t)throw new No(H);return e=so(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=D),r}}function Ki(e,t,r){var n=Vn(e,Q,D,D,D,D,D,t=r?D:t);return n.placeholder=Ki.placeholder,n}function Hi(e,t,r){var n=Vn(e,ee,D,D,D,D,D,t=r?D:t);return n.placeholder=Hi.placeholder,n}function zi(e,t,r){function n(t){var r=c,n=f;return c=f=D,p=t,h=e.apply(n,r)}function i(e){var r=e-d;return d===D||r>=t||r<0||y&&e-p>=u}function o(){var e=Pa();if(i(e))return s(e);l=ta(o,function(r){var n=t-(e-d);return y?ms(n,u-(e-p)):n}())}function s(e){return l=D,v&&c?n(e):(c=f=D,h)}function a(){var e=Pa(),r=i(e);if(c=arguments,f=this,d=e,r){if(l===D)return function(e){return p=e,l=ta(o,t),b?n(e):h}(d);if(y)return l=ta(o,t),n(d)}return l===D&&(l=ta(o,t)),h}var c,f,u,h,l,d,p=0,b=!1,y=!1,v=!0;if("function"!=typeof e)throw new No(H);return t=co(t)||0,$i(r)&&(b=!!r.leading,u=(y="maxWait"in r)?vs(co(r.maxWait)||0,t):u,v="trailing"in r?!!r.trailing:v),a.cancel=function(){l!==D&&Gs(l),p=0,c=d=f=l=D},a.flush=function(){return l===D?h:s(Pa())},a}function qi(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new No(H);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=e.apply(this,n);return r.cache=o.set(i,s)||o,s};return r.cache=new(qi.Cache||jt),r}function Fi(e){if("function"!=typeof e)throw new No(H);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Wi(e,t){return e===t||e!=e&&t!=t}function Vi(e){return null!=e&&Zi(e.length)&&!Ji(e)}function Gi(e){return Qi(e)&&Vi(e)}function Yi(e){if(!Qi(e))return!1;var t=yr(e);return t==xe||t==Ae||"string"==typeof e.message&&"string"==typeof e.name&&!to(e)}function Ji(e){if(!$i(e))return!1;var t=yr(e);return t==Ie||t==Te||t==Ee||t==Re}function Xi(e){return"number"==typeof e&&e==so(e)}function Zi(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=de}function $i(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Qi(e){return null!=e&&"object"==typeof e}function eo(e){return"number"==typeof e||Qi(e)&&yr(e)==Pe}function to(e){if(!Qi(e)||yr(e)!=Ce)return!1;var t=Qo(e);if(null===t)return!0;var r=qo.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&zo.call(r)==Go}function ro(e){return"string"==typeof e||!za(e)&&Qi(e)&&yr(e)==je}function no(e){return"symbol"==typeof e||Qi(e)&&yr(e)==Ne}function io(e){if(!e)return[];if(Vi(e))return ro(e)?N(e):An(e);if(is&&e[is])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[is]());var t=$s(e);return(t==Be?C:t==Le?L:vo)(e)}function oo(e){return e?(e=co(e))===le||e===-le?(e<0?-1:1)*pe:e==e?e:0:0===e?e:0}function so(e){var t=oo(e),r=t%1;return t==t?r?t-r:t:0}function ao(e){return e?Gt(so(e),0,ye):0}function co(e){if("number"==typeof e)return e;if(no(e))return be;if($i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=$i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(pt,"");var r=At.test(e);return r||It.test(e)?br(e.slice(2),r?2:8):kt.test(e)?be:+e}function fo(e){return xn(e,bo(e))}function uo(e){return null==e?"":an(e)}function ho(e,t,r){var n=null==e?D:ar(e,t);return n===D?r:n}function lo(e,t){return null!=e&&si(e,t,wr)}function po(e){return Vi(e)?Ut(e):Ur(e)}function bo(e){return Vi(e)?Ut(e,!0):Kr(e)}function yo(e,t){if(null==e)return{};var r=h(Qn(e),function(e){return[e]});return t=ri(t),Yr(e,r,function(e,r){return t(e,r[0])})}function vo(e){return null==e?[]:x(e,po(e))}function mo(e){return _c(uo(e).toLowerCase())}function go(e){return(e=uo(e))&&e.replace(Bt,Mr).replace(ir,"")}function wo(e,t,r){return e=uo(e),(t=r?D:t)===D?function(e){return cr.test(e)}(e)?e.match(sr)||[]:e.match(wt)||[]:e.match(t)||[]}function _o(e){return function(){return e}}function Eo(e){return e}function So(e){return Dr("function"==typeof e?e:Yt(e,W))}function ko(e,t,r){var n=po(t),i=or(t,n);null!=r||$i(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=or(t,po(t)));var o=!($i(r)&&"chain"in r&&!r.chain),a=Ji(e);return s(i,function(r){var n=t[r];e[r]=n,a&&(e.prototype[r]=function(){var t=this.__chain__;if(o||t){var r=e(this.__wrapped__);return(r.__actions__=An(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,l([this.value()],arguments))})}),e}function Ao(){}function xo(e){return hi(e)?w(_i(e)):function(e){return function(t){return ar(t,e)}}(e)}function Io(){return[]}function To(){return!1}var Bo=(t=null==t?mr:Or.defaults(mr.Object(),t,Or.pick(mr,fr))).Array,Po=t.Date,Mo=t.Error,Co=t.Function,Ro=t.Math,Oo=t.Object,Lo=t.RegExp,jo=t.String,No=t.TypeError,Do=Bo.prototype,Uo=Co.prototype,Ko=Oo.prototype,Ho=t["__core-js_shared__"],zo=Uo.toString,qo=Ko.hasOwnProperty,Fo=0,Wo=function(){var e=/[^.]+$/.exec(Ho&&Ho.keys&&Ho.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Vo=Ko.toString,Go=zo.call(Oo),Yo=mr._,Jo=Lo("^"+zo.call(qo).replace(lt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Buffer=_r?t.Buffer:D,Xo=t.Symbol,Zo=t.Uint8Array,$o=Buffer?Buffer.allocUnsafe:D,Qo=R(Oo.getPrototypeOf,Oo),es=Oo.create,ts=Ko.propertyIsEnumerable,rs=Do.splice,ns=Xo?Xo.isConcatSpreadable:D,is=Xo?Xo.iterator:D,os=Xo?Xo.toStringTag:D,ss=function(){try{var e=oi(Oo,"defineProperty");return e({},"",{}),e}catch(e){}}(),as=t.clearTimeout!==mr.clearTimeout&&t.clearTimeout,cs=Po&&Po.now!==mr.Date.now&&Po.now,fs=t.setTimeout!==mr.setTimeout&&t.setTimeout,us=Ro.ceil,hs=Ro.floor,ls=Oo.getOwnPropertySymbols,ds=Buffer?Buffer.isBuffer:D,ps=t.isFinite,bs=Do.join,ys=R(Oo.keys,Oo),vs=Ro.max,ms=Ro.min,gs=Po.now,ws=t.parseInt,_s=Ro.random,Es=Do.reverse,Ss=oi(t,"DataView"),ks=oi(t,"Map"),As=oi(t,"Promise"),xs=oi(t,"Set"),Is=oi(t,"WeakMap"),Ts=oi(Oo,"create"),Bs=Is&&new Is,Ps={},Ms=Ei(Ss),Cs=Ei(ks),Rs=Ei(As),Os=Ei(xs),Ls=Ei(Is),js=Xo?Xo.prototype:D,Ns=js?js.valueOf:D,Ds=js?js.toString:D,Us=function(){function e(){}return function(t){if(!$i(t))return{};if(es)return es(t);e.prototype=t;var r=new e;return e.prototype=D,r}}();r.templateSettings={escape:ot,evaluate:st,interpolate:at,variable:"",imports:{_:r}},(r.prototype=_.prototype).constructor=r,(Ct.prototype=Us(_.prototype)).constructor=Ct,(Rt.prototype=Us(_.prototype)).constructor=Rt,Ot.prototype.clear=function(){this.__data__=Ts?Ts(null):{},this.size=0},Ot.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ot.prototype.get=function(e){var t=this.__data__;if(Ts){var r=t[e];return r===z?D:r}return qo.call(t,e)?t[e]:D},Ot.prototype.has=function(e){var t=this.__data__;return Ts?t[e]!==D:qo.call(t,e)},Ot.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ts&&t===D?z:t,this},Lt.prototype.clear=function(){this.__data__=[],this.size=0},Lt.prototype.delete=function(e){var t=this.__data__,r=qt(t,e);return!(r<0||(r==t.length-1?t.pop():rs.call(t,r,1),--this.size,0))},Lt.prototype.get=function(e){var t=this.__data__,r=qt(t,e);return r<0?D:t[r][1]},Lt.prototype.has=function(e){return qt(this.__data__,e)>-1},Lt.prototype.set=function(e,t){var r=this.__data__,n=qt(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},jt.prototype.clear=function(){this.size=0,this.__data__={hash:new Ot,map:new(ks||Lt),string:new Ot}},jt.prototype.delete=function(e){var t=ni(this,e).delete(e);return this.size-=t?1:0,t},jt.prototype.get=function(e){return ni(this,e).get(e)},jt.prototype.has=function(e){return ni(this,e).has(e)},jt.prototype.set=function(e,t){var r=ni(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Nt.prototype.add=Nt.prototype.push=function(e){return this.__data__.set(e,z),this},Nt.prototype.has=function(e){return this.__data__.has(e)},Dt.prototype.clear=function(){this.__data__=new Lt,this.size=0},Dt.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Dt.prototype.get=function(e){return this.__data__.get(e)},Dt.prototype.has=function(e){return this.__data__.has(e)},Dt.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Lt){var n=r.__data__;if(!ks||n.length<U-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new jt(n)}return r.set(e,t),this.size=r.size,this};var Ks=Bn(tr),Hs=Bn(rr,!0),zs=Pn(),qs=Pn(!0),Fs=Bs?function(e,t){return Bs.set(e,t),e}:Eo,Ws=ss?function(e,t){return ss(e,"toString",{configurable:!0,enumerable:!1,value:_o(t),writable:!0})}:Eo,Vs=Qr,Gs=as||function(e){return mr.clearTimeout(e)},Ys=xs&&1/L(new xs([,-0]))[1]==le?function(e){return new xs(e)}:Ao,Js=Bs?function(e){return Bs.get(e)}:Ao,Xs=ls?function(e){return null==e?[]:(e=Oo(e),c(ls(e),function(t){return ts.call(e,t)}))}:Io,Zs=ls?function(e){for(var t=[];e;)l(t,Xs(e)),e=Qo(e);return t}:Io,$s=yr;(Ss&&$s(new Ss(new ArrayBuffer(1)))!=ze||ks&&$s(new ks)!=Be||As&&"[object Promise]"!=$s(As.resolve())||xs&&$s(new xs)!=Le||Is&&$s(new Is)!=Ue)&&($s=function(e){var t=yr(e),r=t==Ce?e.constructor:D,n=r?Ei(r):"";if(n)switch(n){case Ms:return ze;case Cs:return Be;case Rs:return"[object Promise]";case Os:return Le;case Ls:return Ue}return t});var Qs=Ho?Ji:To,ea=gi(Fs),ta=fs||function(e,t){return mr.setTimeout(e,t)},ra=gi(Ws),na=function(e){var t=qi(function(e){var t=[];return ut.test(e)&&t.push(""),e.replace(ht,function(e,r,n,i){t.push(n?i.replace(_t,"$1"):r||e)}),t},function(e){return r.size===q&&r.clear(),e}),r=t.cache;return t}(),ia=Qr(function(e,t){return Gi(e)?Zt(e,er(t,1,Gi,!0)):[]}),oa=Qr(function(e,t){var r=Ti(t);return Gi(r)&&(r=D),Gi(e)?Zt(e,er(t,1,Gi,!0),ri(r,2)):[]}),sa=Qr(function(e,t){var r=Ti(t);return Gi(r)&&(r=D),Gi(e)?Zt(e,er(t,1,Gi,!0),D,r):[]}),aa=Qr(function(e){var t=h(e,bn);return t.length&&t[0]===e[0]?Er(t):[]}),ca=Qr(function(e){var t=Ti(e),r=h(e,bn);return t===Ti(r)?t=D:r.pop(),r.length&&r[0]===e[0]?Er(r,ri(t,2)):[]}),fa=Qr(function(e){var t=Ti(e),r=h(e,bn);return(t="function"==typeof t?t:D)&&r.pop(),r.length&&r[0]===e[0]?Er(r,D,t):[]}),ua=Qr(Bi),ha=Zn(function(e,t){var r=null==e?0:e.length,n=Vt(e,t);return Xr(e,h(t,function(e){return fi(e,r)?+e:e}).sort(En)),n}),la=Qr(function(e){return cn(er(e,1,Gi,!0))}),da=Qr(function(e){var t=Ti(e);return Gi(t)&&(t=D),cn(er(e,1,Gi,!0),ri(t,2))}),pa=Qr(function(e){var t=Ti(e);return t="function"==typeof t?t:D,cn(er(e,1,Gi,!0),D,t)}),ba=Qr(function(e,t){return Gi(e)?Zt(e,t):[]}),ya=Qr(function(e){return dn(c(e,Gi))}),va=Qr(function(e){var t=Ti(e);return Gi(t)&&(t=D),dn(c(e,Gi),ri(t,2))}),ma=Qr(function(e){var t=Ti(e);return t="function"==typeof t?t:D,dn(c(e,Gi),D,t)}),ga=Qr(Mi),wa=Qr(function(e){var t=e.length,r=t>1?e[t-1]:D;return r="function"==typeof r?(e.pop(),r):D,Ci(e,r)}),_a=Zn(function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,i=function(t){return Vt(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Rt&&fi(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:Oi,args:[i],thisArg:D}),new Ct(n,this.__chain__).thru(function(e){return t&&!e.length&&e.push(D),e})):this.thru(i)}),Ea=In(function(e,t,r){qo.call(e,r)?++e[r]:Wt(e,r,1)}),Sa=On(ki),ka=On(Ai),Aa=In(function(e,t,r){qo.call(e,r)?e[r].push(t):Wt(e,r,[t])}),xa=Qr(function(e,t,r){var n=-1,i="function"==typeof t,s=Vi(e)?Bo(e.length):[];return Ks(e,function(e){s[++n]=i?o(t,e,r):Sr(e,t,r)}),s}),Ia=In(function(e,t,r){Wt(e,r,t)}),Ta=In(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]}),Ba=Qr(function(e,t){if(null==e)return[];var r=t.length;return r>1&&ui(e,t[0],t[1])?t=[]:r>2&&ui(t[0],t[1],t[2])&&(t=[t[0]]),Gr(e,er(t,1),[])}),Pa=cs||function(){return mr.Date.now()},Ma=Qr(function(e,t,r){var n=X;if(r.length){var i=O(r,ti(Ma));n|=te}return Vn(e,n,t,r,i)}),Ca=Qr(function(e,t,r){var n=X|Z;if(r.length){var i=O(r,ti(Ca));n|=te}return Vn(t,n,e,r,i)}),Ra=Qr(function(e,t){return Xt(e,1,t)}),Oa=Qr(function(e,t,r){return Xt(e,co(t)||0,r)});qi.Cache=jt;var La=Vs(function(e,t){var r=(t=1==t.length&&za(t[0])?h(t[0],A(ri())):h(er(t,1),A(ri()))).length;return Qr(function(n){for(var i=-1,s=ms(n.length,r);++i<s;)n[i]=t[i].call(this,n[i]);return o(e,this,n)})}),ja=Qr(function(e,t){var r=O(t,ti(ja));return Vn(e,te,D,t,r)}),Na=Qr(function(e,t){var r=O(t,ti(Na));return Vn(e,re,D,t,r)}),Da=Zn(function(e,t){return Vn(e,ie,D,D,D,t)}),Ua=zn(vr),Ka=zn(function(e,t){return e>=t}),Ha=Pr(function(){return arguments}())?Pr:function(e){return Qi(e)&&qo.call(e,"callee")&&!ts.call(e,"callee")},za=Bo.isArray,qa=kr?A(kr):function(e){return Qi(e)&&yr(e)==He},Fa=ds||To,Wa=Ar?A(Ar):function(e){return Qi(e)&&yr(e)==ke},Va=xr?A(xr):function(e){return Qi(e)&&$s(e)==Be},Ga=Ir?A(Ir):function(e){return Qi(e)&&yr(e)==Oe},Ya=Tr?A(Tr):function(e){return Qi(e)&&$s(e)==Le},Ja=Br?A(Br):function(e){return Qi(e)&&Zi(e.length)&&!!hr[yr(e)]},Xa=zn(Hr),Za=zn(function(e,t){return e<=t}),$a=Tn(function(e,t){if(di(t)||Vi(t))xn(t,po(t),e);else for(var r in t)qo.call(t,r)&&zt(e,r,t[r])}),Qa=Tn(function(e,t){xn(t,bo(t),e)}),ec=Tn(function(e,t,r,n){xn(t,bo(t),e,n)}),tc=Tn(function(e,t,r,n){xn(t,po(t),e,n)}),rc=Zn(Vt),nc=Qr(function(e){return e.push(D,Gn),o(ec,D,e)}),ic=Qr(function(e){return e.push(D,Yn),o(fc,D,e)}),oc=Nn(function(e,t,r){e[t]=r},_o(Eo)),sc=Nn(function(e,t,r){qo.call(e,t)?e[t].push(r):e[t]=[r]},ri),ac=Qr(Sr),cc=Tn(function(e,t,r){Wr(e,t,r)}),fc=Tn(function(e,t,r,n){Wr(e,t,r,n)}),uc=Zn(function(e,t){var r={};if(null==e)return r;var n=!1;t=h(t,function(t){return t=vn(t,e),n||(n=t.length>1),t}),xn(e,Qn(e),r),n&&(r=Yt(r,W|V|G,Jn));for(var i=t.length;i--;)fn(r,t[i]);return r}),hc=Zn(function(e,t){return null==e?{}:function(e,r){return Yr(e,t,function(t,r){return lo(e,r)})}(e)}),lc=Wn(po),dc=Wn(bo),pc=Cn(function(e,t,r){return t=t.toLowerCase(),e+(r?mo(t):t)}),bc=Cn(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),yc=Cn(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),vc=Mn("toLowerCase"),mc=Cn(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}),gc=Cn(function(e,t,r){return e+(r?" ":"")+_c(t)}),wc=Cn(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),_c=Mn("toUpperCase"),Ec=Qr(function(e,t){try{return o(e,D,t)}catch(e){return Yi(e)?e:new Mo(e)}}),Sc=Zn(function(e,t){return s(t,function(t){t=_i(t),Wt(e,t,Ma(e[t],e))}),e}),kc=Ln(),Ac=Ln(!0),xc=Qr(function(e,t){return function(r){return Sr(r,e,t)}}),Ic=Qr(function(e,t){return function(r){return Sr(e,r,t)}}),Tc=Un(h),Bc=Un(a),Pc=Un(p),Mc=Hn(),Cc=Hn(!0),Rc=Dn(function(e,t){return e+t},0),Oc=Fn("ceil"),Lc=Dn(function(e,t){return e/t},1),jc=Fn("floor"),Nc=Dn(function(e,t){return e*t},1),Dc=Fn("round"),Uc=Dn(function(e,t){return e-t},0);return r.after=function(e,t){if("function"!=typeof t)throw new No(H);return e=so(e),function(){if(--e<1)return t.apply(this,arguments)}},r.ary=Di,r.assign=$a,r.assignIn=Qa,r.assignInWith=ec,r.assignWith=tc,r.at=rc,r.before=Ui,r.bind=Ma,r.bindAll=Sc,r.bindKey=Ca,r.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return za(e)?e:[e]},r.chain=Ri,r.chunk=function(e,t,r){t=(r?ui(e,t,r):t===D)?1:vs(so(t),0);var n=null==e?0:e.length;if(!n||t<1)return[];for(var i=0,o=0,s=Bo(us(n/t));i<n;)s[o++]=tn(e,i,i+=t);return s},r.compact=function(e){for(var t=-1,r=null==e?0:e.length,n=0,i=[];++t<r;){var o=e[t];o&&(i[n++]=o)}return i},r.concat=function(){var e=arguments.length;if(!e)return[];for(var t=Bo(e-1),r=arguments[0],n=e;n--;)t[n-1]=arguments[n];return l(za(r)?An(r):[r],er(t,1))},r.cond=function(e){var t=null==e?0:e.length,r=ri();return e=t?h(e,function(e){if("function"!=typeof e[1])throw new No(H);return[r(e[0]),e[1]]}):[],Qr(function(r){for(var n=-1;++n<t;){var i=e[n];if(o(i[0],this,r))return o(i[1],this,r)}})},r.conforms=function(e){return function(e){var t=po(e);return function(r){return Jt(r,e,t)}}(Yt(e,W))},r.constant=_o,r.countBy=Ea,r.create=function(e,t){var r=Us(e);return null==t?r:Ft(r,t)},r.curry=Ki,r.curryRight=Hi,r.debounce=zi,r.defaults=nc,r.defaultsDeep=ic,r.defer=Ra,r.delay=Oa,r.difference=ia,r.differenceBy=oa,r.differenceWith=sa,r.drop=function(e,t,r){var n=null==e?0:e.length;return n?(t=r||t===D?1:so(t),tn(e,t<0?0:t,n)):[]},r.dropRight=function(e,t,r){var n=null==e?0:e.length;return n?(t=r||t===D?1:so(t),t=n-t,tn(e,0,t<0?0:t)):[]},r.dropRightWhile=function(e,t){return e&&e.length?hn(e,ri(t,3),!0,!0):[]},r.dropWhile=function(e,t){return e&&e.length?hn(e,ri(t,3),!0):[]},r.fill=function(e,t,r,n){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&ui(e,t,r)&&(r=0,n=i),function(e,t,r,n){var i=e.length;for((r=so(r))<0&&(r=-r>i?0:i+r),(n=n===D||n>i?i:so(n))<0&&(n+=i),n=r>n?0:ao(n);r<n;)e[r++]=t;return e}(e,t,r,n)):[]},r.filter=function(e,t){return(za(e)?c:Qt)(e,ri(t,3))},r.flatMap=function(e,t){return er(Ni(e,t),1)},r.flatMapDeep=function(e,t){return er(Ni(e,t),le)},r.flatMapDepth=function(e,t,r){return r=r===D?1:so(r),er(Ni(e,t),r)},r.flatten=xi,r.flattenDeep=function(e){return(null==e?0:e.length)?er(e,le):[]},r.flattenDepth=function(e,t){return(null==e?0:e.length)?(t=t===D?1:so(t),er(e,t)):[]},r.flip=function(e){return Vn(e,oe)},r.flow=kc,r.flowRight=Ac,r.fromPairs=function(e){for(var t=-1,r=null==e?0:e.length,n={};++t<r;){var i=e[t];n[i[0]]=i[1]}return n},r.functions=function(e){return null==e?[]:or(e,po(e))},r.functionsIn=function(e){return null==e?[]:or(e,bo(e))},r.groupBy=Aa,r.initial=function(e){return(null==e?0:e.length)?tn(e,0,-1):[]},r.intersection=aa,r.intersectionBy=ca,r.intersectionWith=fa,r.invert=oc,r.invertBy=sc,r.invokeMap=xa,r.iteratee=So,r.keyBy=Ia,r.keys=po,r.keysIn=bo,r.map=Ni,r.mapKeys=function(e,t){var r={};return t=ri(t,3),tr(e,function(e,n,i){Wt(r,t(e,n,i),e)}),r},r.mapValues=function(e,t){var r={};return t=ri(t,3),tr(e,function(e,n,i){Wt(r,n,t(e,n,i))}),r},r.matches=function(e){return qr(Yt(e,W))},r.matchesProperty=function(e,t){return Fr(e,Yt(t,W))},r.memoize=qi,r.merge=cc,r.mergeWith=fc,r.method=xc,r.methodOf=Ic,r.mixin=ko,r.negate=Fi,r.nthArg=function(e){return e=so(e),Qr(function(t){return Vr(t,e)})},r.omit=uc,r.omitBy=function(e,t){return yo(e,Fi(ri(t)))},r.once=function(e){return Ui(2,e)},r.orderBy=function(e,t,r,n){return null==e?[]:(za(t)||(t=null==t?[]:[t]),r=n?D:r,za(r)||(r=null==r?[]:[r]),Gr(e,t,r))},r.over=Tc,r.overArgs=La,r.overEvery=Bc,r.overSome=Pc,r.partial=ja,r.partialRight=Na,r.partition=Ta,r.pick=hc,r.pickBy=yo,r.property=xo,r.propertyOf=function(e){return function(t){return null==e?D:ar(e,t)}},r.pull=ua,r.pullAll=Bi,r.pullAllBy=function(e,t,r){return e&&e.length&&t&&t.length?Jr(e,t,ri(r,2)):e},r.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Jr(e,t,D,r):e},r.pullAt=ha,r.range=Mc,r.rangeRight=Cc,r.rearg=Da,r.reject=function(e,t){return(za(e)?c:Qt)(e,Fi(ri(t,3)))},r.remove=function(e,t){var r=[];if(!e||!e.length)return r;var n=-1,i=[],o=e.length;for(t=ri(t,3);++n<o;){var s=e[n];t(s,n,e)&&(r.push(s),i.push(n))}return Xr(e,i),r},r.rest=function(e,t){if("function"!=typeof e)throw new No(H);return t=t===D?t:so(t),Qr(e,t)},r.reverse=Pi,r.sampleSize=function(e,t,r){return t=(r?ui(e,t,r):t===D)?1:so(t),(za(e)?function(e,t){return wi(An(e),Gt(t,0,e.length))}:function(e,t){var r=vo(e);return wi(r,Gt(t,0,r.length))})(e,t)},r.set=function(e,t,r){return null==e?e:en(e,t,r)},r.setWith=function(e,t,r,n){return n="function"==typeof n?n:D,null==e?e:en(e,t,r,n)},r.shuffle=function(e){return(za(e)?function(e){return wi(An(e))}:function(e){return wi(vo(e))})(e)},r.slice=function(e,t,r){var n=null==e?0:e.length;return n?(r&&"number"!=typeof r&&ui(e,t,r)?(t=0,r=n):(t=null==t?0:so(t),r=r===D?n:so(r)),tn(e,t,r)):[]},r.sortBy=Ba,r.sortedUniq=function(e){return e&&e.length?on(e):[]},r.sortedUniqBy=function(e,t){return e&&e.length?on(e,ri(t,2)):[]},r.split=function(e,t,r){return r&&"number"!=typeof r&&ui(e,t,r)&&(t=r=D),(r=r===D?ye:r>>>0)?(e=uo(e))&&("string"==typeof t||null!=t&&!Ga(t))&&!(t=an(t))&&M(e)?mn(N(e),0,r):e.split(t,r):[]},r.spread=function(e,t){if("function"!=typeof e)throw new No(H);return t=null==t?0:vs(so(t),0),Qr(function(r){var n=r[t],i=mn(r,0,t);return n&&l(i,n),o(e,this,i)})},r.tail=function(e){var t=null==e?0:e.length;return t?tn(e,1,t):[]},r.take=function(e,t,r){return e&&e.length?(t=r||t===D?1:so(t),tn(e,0,t<0?0:t)):[]},r.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?(t=r||t===D?1:so(t),t=n-t,tn(e,t<0?0:t,n)):[]},r.takeRightWhile=function(e,t){return e&&e.length?hn(e,ri(t,3),!1,!0):[]},r.takeWhile=function(e,t){return e&&e.length?hn(e,ri(t,3)):[]},r.tap=function(e,t){return t(e),e},r.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new No(H);return $i(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),zi(e,t,{leading:n,maxWait:t,trailing:i})},r.thru=Oi,r.toArray=io,r.toPairs=lc,r.toPairsIn=dc,r.toPath=function(e){return za(e)?h(e,_i):no(e)?[e]:An(na(uo(e)))},r.toPlainObject=fo,r.transform=function(e,t,r){var n=za(e),i=n||Fa(e)||Ja(e);if(t=ri(t,4),null==r){var o=e&&e.constructor;r=i?n?new o:[]:$i(e)&&Ji(o)?Us(Qo(e)):{}}return(i?s:tr)(e,function(e,n,i){return t(r,e,n,i)}),r},r.unary=function(e){return Di(e,1)},r.union=la,r.unionBy=da,r.unionWith=pa,r.uniq=function(e){return e&&e.length?cn(e):[]},r.uniqBy=function(e,t){return e&&e.length?cn(e,ri(t,2)):[]},r.uniqWith=function(e,t){return t="function"==typeof t?t:D,e&&e.length?cn(e,D,t):[]},r.unset=function(e,t){return null==e||fn(e,t)},r.unzip=Mi,r.unzipWith=Ci,r.update=function(e,t,r){return null==e?e:un(e,t,yn(r))},r.updateWith=function(e,t,r,n){return n="function"==typeof n?n:D,null==e?e:un(e,t,yn(r),n)},r.values=vo,r.valuesIn=function(e){return null==e?[]:x(e,bo(e))},r.without=ba,r.words=wo,r.wrap=function(e,t){return ja(yn(t),e)},r.xor=ya,r.xorBy=va,r.xorWith=ma,r.zip=ga,r.zipObject=function(e,t){return pn(e||[],t||[],zt)},r.zipObjectDeep=function(e,t){return pn(e||[],t||[],en)},r.zipWith=wa,r.entries=lc,r.entriesIn=dc,r.extend=Qa,r.extendWith=ec,ko(r,r),r.add=Rc,r.attempt=Ec,r.camelCase=pc,r.capitalize=mo,r.ceil=Oc,r.clamp=function(e,t,r){return r===D&&(r=t,t=D),r!==D&&(r=(r=co(r))==r?r:0),t!==D&&(t=(t=co(t))==t?t:0),Gt(co(e),t,r)},r.clone=function(e){return Yt(e,G)},r.cloneDeep=function(e){return Yt(e,W|G)},r.cloneDeepWith=function(e,t){return t="function"==typeof t?t:D,Yt(e,W|G,t)},r.cloneWith=function(e,t){return t="function"==typeof t?t:D,Yt(e,G,t)},r.conformsTo=function(e,t){return null==t||Jt(e,t,po(t))},r.deburr=go,r.defaultTo=function(e,t){return null==e||e!=e?t:e},r.divide=Lc,r.endsWith=function(e,t,r){e=uo(e),t=an(t);var n=e.length,i=r=r===D?n:Gt(so(r),0,n);return(r-=t.length)>=0&&e.slice(r,i)==t},r.eq=Wi,r.escape=function(e){return(e=uo(e))&&it.test(e)?e.replace(rt,Cr):e},r.escapeRegExp=function(e){return(e=uo(e))&&dt.test(e)?e.replace(lt,"\\$&"):e},r.every=function(e,t,r){var n=za(e)?a:function(e,t){var r=!0;return Ks(e,function(e,n,i){return r=!!t(e,n,i)}),r};return r&&ui(e,t,r)&&(t=D),n(e,ri(t,3))},r.find=Sa,r.findIndex=ki,r.findKey=function(e,t){return b(e,ri(t,3),tr)},r.findLast=ka,r.findLastIndex=Ai,r.findLastKey=function(e,t){return b(e,ri(t,3),rr)},r.floor=jc,r.forEach=Li,r.forEachRight=ji,r.forIn=function(e,t){return null==e?e:zs(e,ri(t,3),bo)},r.forInRight=function(e,t){return null==e?e:qs(e,ri(t,3),bo)},r.forOwn=function(e,t){return e&&tr(e,ri(t,3))},r.forOwnRight=function(e,t){return e&&rr(e,ri(t,3))},r.get=ho,r.gt=Ua,r.gte=Ka,r.has=function(e,t){return null!=e&&si(e,t,gr)},r.hasIn=lo,r.head=Ii,r.identity=Eo,r.includes=function(e,t,r,n){e=Vi(e)?e:vo(e),r=r&&!n?so(r):0;var i=e.length;return r<0&&(r=vs(i+r,0)),ro(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&v(e,t,r)>-1},r.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:so(r);return i<0&&(i=vs(n+i,0)),v(e,t,i)},r.inRange=function(e,t,r){return t=oo(t),r===D?(r=t,t=0):r=oo(r),e=co(e),function(e,t,r){return e>=ms(t,r)&&e<vs(t,r)}(e,t,r)},r.invoke=ac,r.isArguments=Ha,r.isArray=za,r.isArrayBuffer=qa,r.isArrayLike=Vi,r.isArrayLikeObject=Gi,r.isBoolean=function(e){return!0===e||!1===e||Qi(e)&&yr(e)==Se},r.isBuffer=Fa,r.isDate=Wa,r.isElement=function(e){return Qi(e)&&1===e.nodeType&&!to(e)},r.isEmpty=function(e){if(null==e)return!0;if(Vi(e)&&(za(e)||"string"==typeof e||"function"==typeof e.splice||Fa(e)||Ja(e)||Ha(e)))return!e.length;var t=$s(e);if(t==Be||t==Le)return!e.size;if(di(e))return!Ur(e).length;for(var r in e)if(qo.call(e,r))return!1;return!0},r.isEqual=function(e,t){return Lr(e,t)},r.isEqualWith=function(e,t,r){var n=(r="function"==typeof r?r:D)?r(e,t):D;return n===D?Lr(e,t,D,r):!!n},r.isError=Yi,r.isFinite=function(e){return"number"==typeof e&&ps(e)},r.isFunction=Ji,r.isInteger=Xi,r.isLength=Zi,r.isMap=Va,r.isMatch=function(e,t){return e===t||jr(e,t,ii(t))},r.isMatchWith=function(e,t,r){return r="function"==typeof r?r:D,jr(e,t,ii(t),r)},r.isNaN=function(e){return eo(e)&&e!=+e},r.isNative=function(e){if(Qs(e))throw new Mo(K);return Nr(e)},r.isNil=function(e){return null==e},r.isNull=function(e){return null===e},r.isNumber=eo,r.isObject=$i,r.isObjectLike=Qi,r.isPlainObject=to,r.isRegExp=Ga,r.isSafeInteger=function(e){return Xi(e)&&e>=-de&&e<=de},r.isSet=Ya,r.isString=ro,r.isSymbol=no,r.isTypedArray=Ja,r.isUndefined=function(e){return e===D},r.isWeakMap=function(e){return Qi(e)&&$s(e)==Ue},r.isWeakSet=function(e){return Qi(e)&&yr(e)==Ke},r.join=function(e,t){return null==e?"":bs.call(e,t)},r.kebabCase=bc,r.last=Ti,r.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n;return r!==D&&(i=(i=so(r))<0?vs(n+i,0):ms(i,n-1)),t==t?function(e,t,r){for(var n=i+1;n--;)if(e[n]===t)return n;return n}(e,t):y(e,m,i,!0)},r.lowerCase=yc,r.lowerFirst=vc,r.lt=Xa,r.lte=Za,r.max=function(e){return e&&e.length?$t(e,Eo,vr):D},r.maxBy=function(e,t){return e&&e.length?$t(e,ri(t,2),vr):D},r.mean=function(e){return g(e,Eo)},r.meanBy=function(e,t){return g(e,ri(t,2))},r.min=function(e){return e&&e.length?$t(e,Eo,Hr):D},r.minBy=function(e,t){return e&&e.length?$t(e,ri(t,2),Hr):D},r.stubArray=Io,r.stubFalse=To,r.stubObject=function(){return{}},r.stubString=function(){return""},r.stubTrue=function(){return!0},r.multiply=Nc,r.nth=function(e,t){return e&&e.length?Vr(e,so(t)):D},r.noConflict=function(){return mr._===this&&(mr._=Yo),this},r.noop=Ao,r.now=Pa,r.pad=function(e,t,r){e=uo(e);var n=(t=so(t))?j(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return Kn(hs(i),r)+e+Kn(us(i),r)},r.padEnd=function(e,t,r){e=uo(e);var n=(t=so(t))?j(e):0;return t&&n<t?e+Kn(t-n,r):e},r.padStart=function(e,t,r){e=uo(e);var n=(t=so(t))?j(e):0;return t&&n<t?Kn(t-n,r)+e:e},r.parseInt=function(e,t,r){return r||null==t?t=0:t&&(t=+t),ws(uo(e).replace(bt,""),t||0)},r.random=function(e,t,r){if(r&&"boolean"!=typeof r&&ui(e,t,r)&&(t=r=D),r===D&&("boolean"==typeof t?(r=t,t=D):"boolean"==typeof e&&(r=e,e=D)),e===D&&t===D?(e=0,t=1):(e=oo(e),t===D?(t=e,e=0):t=oo(t)),e>t){var n=e;e=t,t=n}if(r||e%1||t%1){var i=_s();return ms(e+i*(t-e+pr("1e-"+((i+"").length-1))),t)}return Zr(e,t)},r.reduce=function(e,t,r){var n=za(e)?d:E,i=arguments.length<3;return n(e,ri(t,4),r,i,Ks)},r.reduceRight=function(e,t,r){var n=za(e)?function(e,t,r,n){var i=null==e?0:e.length;for(n&&i&&(r=e[--i]);i--;)r=t(r,e[i],i,e);return r}:E,i=arguments.length<3;return n(e,ri(t,4),r,i,Hs)},r.repeat=function(e,t,r){return t=(r?ui(e,t,r):t===D)?1:so(t),$r(uo(e),t)},r.replace=function(){var e=arguments,t=uo(e[0]);return e.length<3?t:t.replace(e[1],e[2])},r.result=function(e,t,r){var n=-1,i=(t=vn(t,e)).length;for(i||(i=1,e=D);++n<i;){var o=null==e?D:e[_i(t[n])];o===D&&(n=i,o=r),e=Ji(o)?o.call(e):o}return e},r.round=Dc,r.runInContext=e,r.sample=function(e){return(za(e)?Kt:function(e){return Kt(vo(e))})(e)},r.size=function(e){if(null==e)return 0;if(Vi(e))return ro(e)?j(e):e.length;var t=$s(e);return t==Be||t==Le?e.size:Ur(e).length},r.snakeCase=mc,r.some=function(e,t,r){var n=za(e)?p:function(e,t){var r;return Ks(e,function(e,n,i){return!(r=t(e,n,i))}),!!r};return r&&ui(e,t,r)&&(t=D),n(e,ri(t,3))},r.sortedIndex=function(e,t){return rn(e,t)},r.sortedIndexBy=function(e,t,r){return nn(e,t,ri(r,2))},r.sortedIndexOf=function(e,t){var r=null==e?0:e.length;if(r){var n=rn(e,t);if(n<r&&Wi(e[n],t))return n}return-1},r.sortedLastIndex=function(e,t){return rn(e,t,!0)},r.sortedLastIndexBy=function(e,t,r){return nn(e,t,ri(r,2),!0)},r.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var r=rn(e,t,!0)-1;if(Wi(e[r],t))return r}return-1},r.startCase=gc,r.startsWith=function(e,t,r){return e=uo(e),r=null==r?0:Gt(so(r),0,e.length),t=an(t),e.slice(r,r+t.length)==t},r.subtract=Uc,r.sum=function(e){return e&&e.length?S(e,Eo):0},r.sumBy=function(e,t){return e&&e.length?S(e,ri(t,2)):0},r.template=function(e,t,n){var i=r.templateSettings;n&&ui(e,t,n)&&(t=D),e=uo(e),t=ec({},t,i,Gn);var o,s,a=ec({},t.imports,i.imports,Gn),c=po(a),f=x(a,c),u=0,h=t.interpolate||Pt,l="__p += '",d=Lo((t.escape||Pt).source+"|"+h.source+"|"+(h===at?Et:Pt).source+"|"+(t.evaluate||Pt).source+"|$","g"),p="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++ur+"]")+"\n";e.replace(d,function(t,r,n,i,a,c){return n||(n=i),l+=e.slice(u,c).replace(Mt,P),r&&(o=!0,l+="' +\n__e("+r+") +\n'"),a&&(s=!0,l+="';\n"+a+";\n__p += '"),n&&(l+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=c+t.length,t}),l+="';\n";var b=t.variable;b||(l="with (obj) {\n"+l+"\n}\n"),l=(s?l.replace($e,""):l).replace(Qe,"$1").replace(et,"$1;"),l="function("+(b||"obj")+") {\n"+(b?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+l+"return __p\n}";var y=Ec(function(){return Co(c,p+"return "+l).apply(D,f)});if(y.source=l,Yi(y))throw y;return y},r.times=function(e,t){if((e=so(e))<1||e>de)return[];var r=ye,n=ms(e,ye);t=ri(t),e-=ye;for(var i=k(n,t);++r<e;)t(r);return i},r.toFinite=oo,r.toInteger=so,r.toLength=ao,r.toLower=function(e){return uo(e).toLowerCase()},r.toNumber=co,r.toSafeInteger=function(e){return e?Gt(so(e),-de,de):0===e?e:0},r.toString=uo,r.toUpper=function(e){return uo(e).toUpperCase()},r.trim=function(e,t,r){if((e=uo(e))&&(r||t===D))return e.replace(pt,"");if(!e||!(t=an(t)))return e;var n=N(e),i=N(t);return mn(n,T(n,i),B(n,i)+1).join("")},r.trimEnd=function(e,t,r){if((e=uo(e))&&(r||t===D))return e.replace(yt,"");if(!e||!(t=an(t)))return e;var n=N(e);return mn(n,0,B(n,N(t))+1).join("")},r.trimStart=function(e,t,r){if((e=uo(e))&&(r||t===D))return e.replace(bt,"");if(!e||!(t=an(t)))return e;var n=N(e);return mn(n,T(n,N(t))).join("")},r.truncate=function(e,t){var r=se,n=ae;if($i(t)){var i="separator"in t?t.separator:i;r="length"in t?so(t.length):r,n="omission"in t?an(t.omission):n}var o=(e=uo(e)).length;if(M(e)){var s=N(e);o=s.length}if(r>=o)return e;var a=r-j(n);if(a<1)return n;var c=s?mn(s,0,a).join(""):e.slice(0,a);if(i===D)return c+n;if(s&&(a+=c.length-a),Ga(i)){if(e.slice(a).search(i)){var f,u=c;for(i.global||(i=Lo(i.source,uo(St.exec(i))+"g")),i.lastIndex=0;f=i.exec(u);)var h=f.index;c=c.slice(0,h===D?a:h)}}else if(e.indexOf(an(i),a)!=a){var l=c.lastIndexOf(i);l>-1&&(c=c.slice(0,l))}return c+n},r.unescape=function(e){return(e=uo(e))&&nt.test(e)?e.replace(tt,Rr):e},r.uniqueId=function(e){var t=++Fo;return uo(e)+t},r.upperCase=wc,r.upperFirst=_c,r.each=Li,r.eachRight=ji,r.first=Ii,ko(r,function(){var e={};return tr(r,function(t,n){qo.call(r.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),r.VERSION="4.17.4",s(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){r[e].placeholder=r}),s(["drop","take"],function(e,t){Rt.prototype[e]=function(r){r=r===D?1:vs(so(r),0);var n=this.__filtered__&&!t?new Rt(this):this.clone();return n.__filtered__?n.__takeCount__=ms(r,n.__takeCount__):n.__views__.push({size:ms(r,ye),type:e+(n.__dir__<0?"Right":"")}),n},Rt.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),s(["filter","map","takeWhile"],function(e,t){var r=t+1,n=r==ue||3==r;Rt.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ri(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}}),s(["head","last"],function(e,t){var r="take"+(t?"Right":"");Rt.prototype[e]=function(){return this[r](1).value()[0]}}),s(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");Rt.prototype[e]=function(){return this.__filtered__?new Rt(this):this[r](1)}}),Rt.prototype.compact=function(){return this.filter(Eo)},Rt.prototype.find=function(e){return this.filter(e).head()},Rt.prototype.findLast=function(e){return this.reverse().find(e)},Rt.prototype.invokeMap=Qr(function(e,t){return"function"==typeof e?new Rt(this):this.map(function(r){return Sr(r,e,t)})}),Rt.prototype.reject=function(e){return this.filter(Fi(ri(e)))},Rt.prototype.slice=function(e,t){e=so(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Rt(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==D&&(r=(t=so(t))<0?r.dropRight(-t):r.take(t-e)),r)},Rt.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Rt.prototype.toArray=function(){return this.take(ye)},tr(Rt.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=r[i?"take"+("last"==t?"Right":""):t],s=i||/^find/.test(t);o&&(r.prototype[t]=function(){var t=this.__wrapped__,a=i?[1]:arguments,c=t instanceof Rt,f=a[0],u=c||za(t),h=function(e){var t=o.apply(r,l([e],a));return i&&d?t[0]:t};u&&n&&"function"==typeof f&&1!=f.length&&(c=u=!1);var d=this.__chain__,p=!!this.__actions__.length,b=s&&!d,y=c&&!p;if(!s&&u){t=y?t:new Rt(this);var v=e.apply(t,a);return v.__actions__.push({func:Oi,args:[h],thisArg:D}),new Ct(v,d)}return b&&y?e.apply(this,a):(v=this.thru(h),b?i?v.value()[0]:v.value():v)})}),s(["pop","push","shift","sort","splice","unshift"],function(e){var t=Do[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);r.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(za(r)?r:[],e)}return this[n](function(r){return t.apply(za(r)?r:[],e)})}}),tr(Rt.prototype,function(e,t){var n=r[t];if(n){var i=n.name+"";(Ps[i]||(Ps[i]=[])).push({name:t,func:n})}}),Ps[jn(D,Z).name]=[{name:"wrapper",func:D}],Rt.prototype.clone=function(){var e=new Rt(this.__wrapped__);return e.__actions__=An(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=An(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=An(this.__views__),e},Rt.prototype.reverse=function(){if(this.__filtered__){var e=new Rt(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Rt.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=za(e),n=t<0,i=r?e.length:0,o=function(e,t,r){for(var n=-1,i=r.length;++n<i;){var o=r[n],s=o.size;switch(o.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=ms(t,e+s);break;case"takeRight":e=vs(e,t-s)}}return{start:e,end:t}}(0,i,this.__views__),s=o.start,a=o.end,c=a-s,f=n?a:s-1,u=this.__iteratees__,h=u.length,l=0,d=ms(c,this.__takeCount__);if(!r||!n&&i==c&&d==c)return ln(e,this.__actions__);var p=[];e:for(;c--&&l<d;){for(var b=-1,y=e[f+=t];++b<h;){var v=u[b],m=v.iteratee,g=v.type,w=m(y);if(g==he)y=w;else if(!w){if(g==ue)continue e;break e}}p[l++]=y}return p},r.prototype.at=_a,r.prototype.chain=function(){return Ri(this)},r.prototype.commit=function(){return new Ct(this.value(),this.__chain__)},r.prototype.next=function(){this.__values__===D&&(this.__values__=io(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?D:this.__values__[this.__index__++]}},r.prototype.plant=function(e){for(var t,r=this;r instanceof _;){var n=Si(r);n.__index__=0,n.__values__=D,t?i.__wrapped__=n:t=n;var i=n;r=r.__wrapped__}return i.__wrapped__=e,t},r.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Rt){var t=e;return this.__actions__.length&&(t=new Rt(this)),(t=t.reverse()).__actions__.push({func:Oi,args:[Pi],thisArg:D}),new Ct(t,this.__chain__)}return this.thru(Pi)},r.prototype.toJSON=r.prototype.valueOf=r.prototype.value=function(){return ln(this.__wrapped__,this.__actions__)},r.prototype.first=r.prototype.head,is&&(r.prototype[is]=function(){return this}),r}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(mr._=Or,define(function(){return Or})):wr?((wr.exports=Or)._=Or,gr._=Or):mr._=Or}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],252:[function(e,t,r){(function(Buffer){"use strict";function r(){f.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function n(e,t){return e<<t|e>>>32-t}function i(e,t,r,i,o,s,a){return n(e+(t&r|~t&i)+o+s|0,a)+t|0}function o(e,t,r,i,o,s,a){return n(e+(t&i|r&~i)+o+s|0,a)+t|0}function s(e,t,r,i,o,s,a){return n(e+(t^r^i)+o+s|0,a)+t|0}function a(e,t,r,i,o,s,a){return n(e+(r^(t|~i))+o+s|0,a)+t|0}var c=e("inherits"),f=e("hash-base"),u=new Array(16);c(r,f),r.prototype._update=function(){for(var e=u,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,c=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=i(n=i(n=i(n=i(n,c=i(c,f=i(f,r=i(r,n,c,f,e[0],3614090360,7),n,c,e[1],3905402710,12),r,n,e[2],606105819,17),f,r,e[3],3250441966,22),c=i(c,f=i(f,r=i(r,n,c,f,e[4],4118548399,7),n,c,e[5],1200080426,12),r,n,e[6],2821735955,17),f,r,e[7],4249261313,22),c=i(c,f=i(f,r=i(r,n,c,f,e[8],1770035416,7),n,c,e[9],2336552879,12),r,n,e[10],4294925233,17),f,r,e[11],2304563134,22),c=i(c,f=i(f,r=i(r,n,c,f,e[12],1804603682,7),n,c,e[13],4254626195,12),r,n,e[14],2792965006,17),f,r,e[15],1236535329,22),c=o(c,f=o(f,r=o(r,n,c,f,e[1],4129170786,5),n,c,e[6],3225465664,9),r,n,e[11],643717713,14),f,r,e[0],3921069994,20),c=o(c,f=o(f,r=o(r,n,c,f,e[5],3593408605,5),n,c,e[10],38016083,9),r,n,e[15],3634488961,14),f,r,e[4],3889429448,20),c=o(c,f=o(f,r=o(r,n,c,f,e[9],568446438,5),n,c,e[14],3275163606,9),r,n,e[3],4107603335,14),f,r,e[8],1163531501,20),c=o(c,f=o(f,r=o(r,n,c,f,e[13],2850285829,5),n,c,e[2],4243563512,9),r,n,e[7],1735328473,14),f,r,e[12],2368359562,20),c=s(c,f=s(f,r=s(r,n,c,f,e[5],4294588738,4),n,c,e[8],2272392833,11),r,n,e[11],1839030562,16),f,r,e[14],4259657740,23),c=s(c,f=s(f,r=s(r,n,c,f,e[1],2763975236,4),n,c,e[4],1272893353,11),r,n,e[7],4139469664,16),f,r,e[10],3200236656,23),c=s(c,f=s(f,r=s(r,n,c,f,e[13],681279174,4),n,c,e[0],3936430074,11),r,n,e[3],3572445317,16),f,r,e[6],76029189,23),c=s(c,f=s(f,r=s(r,n,c,f,e[9],3654602809,4),n,c,e[12],3873151461,11),r,n,e[15],530742520,16),f,r,e[2],3299628645,23),c=a(c,f=a(f,r=a(r,n,c,f,e[0],4096336452,6),n,c,e[7],1126891415,10),r,n,e[14],2878612391,15),f,r,e[5],4237533241,21),c=a(c,f=a(f,r=a(r,n,c,f,e[12],1700485571,6),n,c,e[3],2399980690,10),r,n,e[10],4293915773,15),f,r,e[1],2240044497,21),c=a(c,f=a(f,r=a(r,n,c,f,e[8],1873313359,6),n,c,e[15],4264355552,10),r,n,e[6],2734768916,15),f,r,e[13],1309151649,21),c=a(c,f=a(f,r=a(r,n,c,f,e[4],4149444226,6),n,c,e[11],3174756917,10),r,n,e[2],718787259,15),f,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+c|0,this._d=this._d+f|0},r.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new Buffer(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},t.exports=r}).call(this,e("buffer").Buffer)},{buffer:105,"hash-base":253,inherits:248}],253:[function(e,t,r){"use strict";function n(e){i.call(this),this._block=Buffer.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}var Buffer=e("safe-buffer").Buffer,i=e("stream").Transform;e("inherits")(n,i),n.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},n.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},n.prototype.update=function(e,t){if(function(e,t){if(!Buffer.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");Buffer.isBuffer(e)||(e=Buffer.from(e,t));for(var r=this._block,n=0;this._blockOffset+e.length-n>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)r[i++]=e[n++];this._update(),this._blockOffset=0}for(;n<e.length;)r[this._blockOffset++]=e[n++];for(var o=0,s=8*e.length;s>0;++o)this._length[o]+=s,(s=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*s);return this},n.prototype._update=function(){throw new Error("_update is not implemented")},n.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},n.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=n},{inherits:248,"safe-buffer":313,stream:346}],254:[function(e,t,r){(function(Buffer){t.exports=function(e,t){if(!Array.isArray(e))throw TypeError("Expected values Array");if("function"!=typeof t)throw TypeError("Expected digest Function");for(var r=e.length,n=e.concat();r>1;){for(var i=0,o=0;o<r;o+=2,++i){var s=n[o],a=o+1===r?s:n[o+1],c=Buffer.concat([s,a]);n[i]=t(c)}r=i}return n[0]}}).call(this,e("buffer").Buffer)},{buffer:105}],255:[function(e,t,r){function n(e){this.rand=e||new o.Rand}var i=e("bn.js"),o=e("brorand");t.exports=n,n.create=function(e){return new n(e)},n.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var n=new i(this.rand.generate(r))}while(n.cmp(e)>=0);return n},n.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},n.prototype.test=function(e,t,r){var n=e.bitLength(),o=i.mont(e),s=new i(1).toRed(o);t||(t=Math.max(1,n/48|0));for(var a=e.subn(1),c=0;!a.testn(c);c++);for(var f=e.shrn(c),u=a.toRed(o);t>0;t--){var h=this._randrange(new i(2),a);r&&r(h);var l=h.toRed(o).redPow(f);if(0!==l.cmp(s)&&0!==l.cmp(u)){for(var d=1;d<c;d++){if(0===(l=l.redSqr()).cmp(s))return!1;if(0===l.cmp(u))break}if(d===c)return!1}}return!0},n.prototype.getDivisor=function(e,t){var r=e.bitLength(),n=i.mont(e),o=new i(1).toRed(n);t||(t=Math.max(1,r/48|0));for(var s=e.subn(1),a=0;!s.testn(a);a++);for(var c=e.shrn(a),f=s.toRed(n);t>0;t--){var u=this._randrange(new i(2),s),h=e.gcd(u);if(0!==h.cmpn(1))return h;var l=u.toRed(n).redPow(c);if(0!==l.cmp(o)&&0!==l.cmp(f)){for(var d=1;d<a;d++){if(0===(l=l.redSqr()).cmp(o))return l.fromRed().subn(1).gcd(e);if(0===l.cmp(f))break}if(d===a)return(l=l.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},{"bn.js":256,brorand:76}],256:[function(e,t,r){arguments[4][113][0].apply(r,arguments)},{buffer:77,dup:113}],257:[function(e,t,r){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}t.exports=n,n.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},{}],258:[function(e,t,r){"use strict";function n(e){return 1===e.length?"0"+e:e}function i(e){for(var t="",r=0;r<e.length;r++)t+=n(e[r].toString(16));return t}var o=r;o.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!=typeof e){for(n=0;n<e.length;n++)r[n]=0|e[n];return r}if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16));else for(var n=0;n<e.length;n++){var i=e.charCodeAt(n),o=i>>8,s=255&i;o?r.push(o,s):r.push(s)}return r},o.zero2=n,o.toHex=i,o.encode=function(e,t){return"hex"===t?i(e):e}},{}],259:[function(e,t,r){r.pbkdf2=e("./lib/async"),r.pbkdf2Sync=e("./lib/sync")},{"./lib/async":260,"./lib/sync":263}],260:[function(e,t,r){(function(r,n){function i(e,t,r,n,i){return f.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return f.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)}).then(function(e){return Buffer.from(e)})}var o,s=e("./precondition"),a=e("./default-encoding"),c=e("./sync"),Buffer=e("safe-buffer").Buffer,f=n.crypto&&n.crypto.subtle,u={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];t.exports=function(e,t,l,d,p,b){if(Buffer.isBuffer(e)||(e=Buffer.from(e,a)),Buffer.isBuffer(t)||(t=Buffer.from(t,a)),s(l,d),"function"==typeof p&&(b=p,p=void 0),"function"!=typeof b)throw new Error("No callback provided to pbkdf2");var y=u[(p=p||"sha1").toLowerCase()];if(!y||"function"!=typeof n.Promise)return r.nextTick(function(){var r;try{r=c(e,t,l,d,p)}catch(e){return b(e)}b(null,r)});!function(e,t){e.then(function(e){r.nextTick(function(){t(null,e)})},function(e){r.nextTick(function(){t(e)})})}(function(e){if(n.process&&!n.process.browser)return Promise.resolve(!1);if(!f||!f.importKey||!f.deriveBits)return Promise.resolve(!1);if(void 0!==h[e])return h[e];var t=i(o=o||Buffer.alloc(8),o,10,128,e).then(function(){return!0}).catch(function(){return!1});return h[e]=t,t}(y).then(function(r){return r?i(e,t,l,d,y):c(e,t,l,d,p)}),b)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./default-encoding":261,"./precondition":262,"./sync":263,_process:265,"safe-buffer":313}],261:[function(e,t,r){(function(e){var r;if(e.browser)r="utf-8";else{r=parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}t.exports=r}).call(this,e("_process"))},{_process:265}],262:[function(e,t,r){var n=Math.pow(2,30)-1;t.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>n||t!=t)throw new TypeError("Bad key length")}},{}],263:[function(e,t,r){function n(e,t,r){var n=function(e){return"rmd160"===e||"ripemd160"===e?o:"md5"===e?i:function(t){return s(e).update(t).digest()}}(e),a="sha512"===e||"sha384"===e?128:64;t.length>a?t=n(t):t.length<a&&(t=Buffer.concat([t,f],a));for(var c=Buffer.allocUnsafe(a+u[e]),h=Buffer.allocUnsafe(a+u[e]),l=0;l<a;l++)c[l]=54^t[l],h[l]=92^t[l];var d=Buffer.allocUnsafe(a+r+4);c.copy(d,0,0,a),this.ipad1=d,this.ipad2=c,this.opad=h,this.alg=e,this.blocksize=a,this.hash=n,this.size=u[e]}var i=e("create-hash/md5"),o=e("ripemd160"),s=e("sha.js"),a=e("./precondition"),c=e("./default-encoding"),Buffer=e("safe-buffer").Buffer,f=Buffer.alloc(128),u={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};n.prototype.run=function(e,t){e.copy(t,this.blocksize);return this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(e,t,r,i,o){Buffer.isBuffer(e)||(e=Buffer.from(e,c)),Buffer.isBuffer(t)||(t=Buffer.from(t,c)),a(r,i);var s=new n(o=o||"sha1",e,t.length),f=Buffer.allocUnsafe(i),h=Buffer.allocUnsafe(t.length+4);t.copy(h,0,0,t.length);for(var l=0,d=u[o],p=Math.ceil(i/d),b=1;b<=p;b++){h.writeUInt32BE(b,t.length);for(var y=s.run(h,s.ipad1),v=y,m=1;m<r;m++){v=s.run(v,s.ipad2);for(var g=0;g<d;g++)y[g]^=v[g]}y.copy(f,l),l+=d}return f}},{"./default-encoding":261,"./precondition":262,"create-hash/md5":132,ripemd160:312,"safe-buffer":313,"sha.js":338}],264:[function(e,t,r){(function(e){"use strict";!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports=function(t,r,n,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,r)});case 3:return e.nextTick(function(){t.call(null,r,n)});case 4:return e.nextTick(function(){t.call(null,r,n,i)});default:for(o=new Array(a-1),s=0;s<o.length;)o[s++]=arguments[s];return e.nextTick(function(){t.apply(null,o)})}}:t.exports=e.nextTick}).call(this,e("_process"))},{_process:265}],265:[function(e,t,r){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function s(){b&&d&&(b=!1,d.length?p=d.concat(p):y=-1,p.length&&a())}function a(){if(!b){var e=o(s);b=!0;for(var t=p.length;t;){for(d=p,p=[];++y<t;)d&&d[y].run();y=-1,t=p.length}d=null,b=!1,function(e){if(h===clearTimeout)return clearTimeout(e);if((h===i||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(e);try{h(e)}catch(t){try{return h.call(null,e)}catch(t){return h.call(this,e)}}}(e)}}function c(e,t){this.fun=e,this.array=t}function f(){}var u,h,l=t.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(e){u=n}try{h="function"==typeof clearTimeout?clearTimeout:i}catch(e){h=i}}();var d,p=[],b=!1,y=-1;l.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];p.push(new c(e,t)),1!==p.length||b||o(a)},c.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(e){return[]},l.binding=function(e){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(e){throw new Error("process.chdir is not supported")},l.umask=function(){return 0}},{}],266:[function(e,t,r){r.publicEncrypt=e("./publicEncrypt"),r.privateDecrypt=e("./privateDecrypt"),r.privateEncrypt=function(e,t){return r.publicEncrypt(e,t,!0)},r.publicDecrypt=function(e,t){return r.privateDecrypt(e,t,!0)}},{"./privateDecrypt":289,"./publicEncrypt":290}],267:[function(e,t,r){(function(Buffer){var r=e("create-hash");t.exports=function(e,t){for(var n,i=new Buffer(""),o=0;i.length<t;)n=function(e){var t=new Buffer(4);return t.writeUInt32BE(e,0),t}(o++),i=Buffer.concat([i,r("sha1").update(e).update(n).digest()]);return i.slice(0,t)}}).call(this,e("buffer").Buffer)},{buffer:105,"create-hash":130}],268:[function(e,t,r){arguments[4][136][0].apply(r,arguments)},{"./asn1/api":269,"./asn1/base":271,"./asn1/constants":275,"./asn1/decoders":277,"./asn1/encoders":280,"bn.js":282,dup:136}],269:[function(e,t,r){arguments[4][137][0].apply(r,arguments)},{"../asn1":268,dup:137,inherits:248,vm:364}],270:[function(e,t,r){arguments[4][138][0].apply(r,arguments)},{"../base":271,buffer:105,dup:138,inherits:248}],271:[function(e,t,r){arguments[4][139][0].apply(r,arguments)},{"./buffer":270,"./node":272,"./reporter":273,dup:139}],272:[function(e,t,r){arguments[4][140][0].apply(r,arguments)},{"../base":271,dup:140,"minimalistic-assert":257}],273:[function(e,t,r){arguments[4][141][0].apply(r,arguments)},{dup:141,inherits:248}],274:[function(e,t,r){arguments[4][142][0].apply(r,arguments)},{"../constants":275,dup:142}],275:[function(e,t,r){arguments[4][143][0].apply(r,arguments)},{"./der":274,dup:143}],276:[function(e,t,r){arguments[4][144][0].apply(r,arguments)},{"../../asn1":268,dup:144,inherits:248}],277:[function(e,t,r){arguments[4][145][0].apply(r,arguments)},{"./der":276,"./pem":278,dup:145}],278:[function(e,t,r){arguments[4][146][0].apply(r,arguments)},{"./der":276,buffer:105,dup:146,inherits:248}],279:[function(e,t,r){arguments[4][147][0].apply(r,arguments)},{"../../asn1":268,buffer:105,dup:147,inherits:248}],280:[function(e,t,r){arguments[4][148][0].apply(r,arguments)},{"./der":279,"./pem":281,dup:148}],281:[function(e,t,r){arguments[4][149][0].apply(r,arguments)},{"./der":279,dup:149,inherits:248}],282:[function(e,t,r){arguments[4][113][0].apply(r,arguments)},{buffer:77,dup:113}],283:[function(e,t,r){arguments[4][151][0].apply(r,arguments)},{"bn.js":282,buffer:105,dup:151,randombytes:299}],284:[function(e,t,r){arguments[4][174][0].apply(r,arguments)},{dup:174}],285:[function(e,t,r){arguments[4][175][0].apply(r,arguments)},{"./certificate":286,"asn1.js":268,dup:175}],286:[function(e,t,r){arguments[4][176][0].apply(r,arguments)},{"asn1.js":268,dup:176}],287:[function(e,t,r){arguments[4][177][0].apply(r,arguments)},{"browserify-aes":80,buffer:105,dup:177,evp_bytestokey:231}],288:[function(e,t,r){arguments[4][178][0].apply(r,arguments)},{"./aesid.json":284,"./asn1":285,"./fixProc":287,"browserify-aes":80,buffer:105,dup:178,pbkdf2:259}],289:[function(e,t,r){(function(Buffer){function r(e,t){e.modulus;var r=e.modulus.byteLength(),n=(t.length,c("sha1").update(new Buffer("")).digest()),s=n.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,s+1),f=t.slice(s+1),u=o(a,i(f,s)),h=o(f,i(u,r-s-1));if(function(e,t){e=new Buffer(e),t=new Buffer(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var i=-1;for(;++i<n;)r+=e[i]^t[i];return r}(n,h.slice(0,s)))throw new Error("decryption error");for(var l=s;0===h[l];)l++;if(1!==h[l++])throw new Error("decryption error");return h.slice(l)}var n=e("parse-asn1"),i=e("./mgf"),o=e("./xor"),s=e("bn.js"),a=e("browserify-rsa"),c=e("create-hash"),f=e("./withPublic");t.exports=function(e,t,i){var o;o=e.padding?e.padding:i?1:4;var c=n(e),u=c.modulus.byteLength();if(t.length>u||new s(t).cmp(c.modulus)>=0)throw new Error("decryption error");var h;h=i?f(new s(t),c):a(t,c);var l=new Buffer(u-h.length);if(l.fill(0),h=Buffer.concat([l,h],u),4===o)return r(c,h);if(1===o)return function(e,t,r){for(var n=t.slice(0,2),i=2,o=0;0!==t[i++];)if(i>=t.length){o++;break}var s=t.slice(2,i-1);if(t.slice(i-1,i),("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++,s.length<8&&o++,o)throw new Error("decryption error");return t.slice(i)}(0,h,i);if(3===o)return h;throw new Error("unknown padding")}}).call(this,e("buffer").Buffer)},{"./mgf":267,"./withPublic":291,"./xor":292,"bn.js":282,"browserify-rsa":283,buffer:105,"create-hash":130,"parse-asn1":288}],290:[function(e,t,r){(function(Buffer){function r(e,t,r){var n=t.length,o=e.modulus.byteLength();if(n>o-11)throw new Error("message too long");var s;return r?(s=new Buffer(o-n-3)).fill(255):s=function(e,t){var r,n=new Buffer(e),o=0,s=i(2*e),a=0;for(;o<e;)a===s.length&&(s=i(2*e),a=0),(r=s[a++])&&(n[o++]=r);return n}(o-n-3),new c(Buffer.concat([new Buffer([0,r?1:2]),s,new Buffer([0]),t],o))}var n=e("parse-asn1"),i=e("randombytes"),o=e("create-hash"),s=e("./mgf"),a=e("./xor"),c=e("bn.js"),f=e("./withPublic"),u=e("browserify-rsa");t.exports=function(e,t,h){var l;l=e.padding?e.padding:h?1:4;var d,p=n(e);if(4===l)d=function(e,t){var r=e.modulus.byteLength(),n=t.length,f=o("sha1").update(new Buffer("")).digest(),u=f.length,h=2*u;if(n>r-h-2)throw new Error("message too long");var l=new Buffer(r-n-h-2);l.fill(0);var d=r-u-1,p=i(u),b=a(Buffer.concat([f,l,new Buffer([1]),t],d),s(p,d)),y=a(p,s(b,u));return new c(Buffer.concat([new Buffer([0]),y,b],r))}(p,t);else if(1===l)d=r(p,t,h);else{if(3!==l)throw new Error("unknown padding");if((d=new c(t)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return h?u(d,p):f(d,p)}}).call(this,e("buffer").Buffer)},{"./mgf":267,"./withPublic":291,"./xor":292,"bn.js":282,"browserify-rsa":283,buffer:105,"create-hash":130,"parse-asn1":288,randombytes:299}],291:[function(e,t,r){(function(Buffer){var r=e("bn.js");t.exports=function(e,t){return new Buffer(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}}).call(this,e("buffer").Buffer)},{"bn.js":282,buffer:105}],292:[function(e,t,r){t.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}},{}],293:[function(e,t,r){(function(e){!function(n){function i(e){throw new RangeError(M[e])}function o(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function s(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]);return n+o((e=e.replace(P,".")).split("."),t).join(".")}function a(e){for(var t,r,n=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function c(e){return o(e,function(e){var t="";return e>65535&&(t+=O((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=O(e)}).join("")}function f(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function u(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function h(e,t,r){var n=0;for(e=r?R(e/k):e>>1,e+=R(e/t);e>C*E>>1;n+=w)e=R(e/C);return R(n+(C+1)*e/(e+S))}function l(e){var t,r,n,o,s,a,u,l,d,p,b=[],y=e.length,v=0,m=x,S=A;for((r=e.lastIndexOf(I))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&i("not-basic"),b.push(e.charCodeAt(n));for(o=r>0?r+1:0;o<y;){for(s=v,a=1,u=w;o>=y&&i("invalid-input"),((l=f(e.charCodeAt(o++)))>=w||l>R((g-v)/a))&&i("overflow"),v+=l*a,d=u<=S?_:u>=S+E?E:u-S,!(l<d);u+=w)a>R(g/(p=w-d))&&i("overflow"),a*=p;S=h(v-s,t=b.length+1,0==s),R(v/t)>g-m&&i("overflow"),m+=R(v/t),v%=t,b.splice(v++,0,m)}return c(b)}function d(e){var t,r,n,o,s,c,f,l,d,p,b,y,v,m,S,k=[];for(y=(e=a(e)).length,t=x,r=0,s=A,c=0;c<y;++c)(b=e[c])<128&&k.push(O(b));for(n=o=k.length,o&&k.push(I);n<y;){for(f=g,c=0;c<y;++c)(b=e[c])>=t&&b<f&&(f=b);for(f-t>R((g-r)/(v=n+1))&&i("overflow"),r+=(f-t)*v,t=f,c=0;c<y;++c)if((b=e[c])<t&&++r>g&&i("overflow"),b==t){for(l=r,d=w;p=d<=s?_:d>=s+E?E:d-s,!(l<p);d+=w)S=l-p,m=w-p,k.push(O(u(p+S%m,0))),l=R(S/m);k.push(O(u(l,0))),s=h(r,v,n==o),r=0,++n}++r,++t}return k.join("")}var p="object"==typeof r&&r&&!r.nodeType&&r,b="object"==typeof t&&t&&!t.nodeType&&t,y="object"==typeof e&&e;y.global!==y&&y.window!==y&&y.self!==y||(n=y);var v,m,g=2147483647,w=36,_=1,E=26,S=38,k=700,A=72,x=128,I="-",T=/^xn--/,B=/[^\x20-\x7E]/,P=/[\x2E\u3002\uFF0E\uFF61]/g,M={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C=w-_,R=Math.floor,O=String.fromCharCode;if(v={version:"1.4.1",ucs2:{decode:a,encode:c},decode:l,encode:d,toASCII:function(e){return s(e,function(e){return B.test(e)?"xn--"+d(e):e})},toUnicode:function(e){return s(e,function(e){return T.test(e)?l(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return v});else if(p&&b)if(t.exports==p)b.exports=v;else for(m in v)v.hasOwnProperty(m)&&(p[m]=v[m]);else n.punycode=v}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],294:[function(e,t,r){function n(e){return e<i.OP_PUSHDATA1?1:e<=255?2:e<=65535?3:5}var i=e("bitcoin-ops");t.exports={encodingLength:n,encode:function(e,t,r){var o=n(t);return 1===o?e.writeUInt8(t,r):2===o?(e.writeUInt8(i.OP_PUSHDATA1,r),e.writeUInt8(t,r+1)):3===o?(e.writeUInt8(i.OP_PUSHDATA2,r),e.writeUInt16LE(t,r+1)):(e.writeUInt8(i.OP_PUSHDATA4,r),e.writeUInt32LE(t,r+1)),o},decode:function(e,t){var r,n,o=e.readUInt8(t);if(o<i.OP_PUSHDATA1)r=o,n=1;else if(o===i.OP_PUSHDATA1){if(t+2>e.length)return null;r=e.readUInt8(t+1),n=2}else if(o===i.OP_PUSHDATA2){if(t+3>e.length)return null;r=e.readUInt16LE(t+1),n=3}else{if(t+5>e.length)return null;if(o!==i.OP_PUSHDATA4)throw new Error("Unexpected opcode");r=e.readUInt32LE(t+1),n=5}return{opcode:o,number:r,size:n}}}},{"bitcoin-ops":33}],295:[function(e,t,r){(function(e){!function(e){if("function"==typeof bootstrap)bootstrap("promise",e);else if("object"==typeof r)t.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeQ=e}else Q=e()}(function(){"use strict";function t(e){return function(){return T.apply(e,arguments)}}function r(e){return e===Object(e)}function n(e,t){if(E&&t.stack&&"object"==typeof e&&null!==e&&e.stack&&-1===e.stack.indexOf(N)){for(var r=[],n=t;n;n=n.source)n.stack&&r.unshift(n.stack);r.unshift(e.stack);var o=r.join("\n"+N+"\n");e.stack=function(e){for(var t=e.split("\n"),r=[],n=0;n<t.length;++n){var o=t[n];(function(e){var t=i(e);if(!t)return!1;var r=t[0],n=t[1];return r===S&&n>=A&&n<=H})(o)||function(e){return-1!==e.indexOf("(module.js:")||-1!==e.indexOf("(node.js:")}(o)||!o||r.push(o)}return r.join("\n")}(o)}}function i(e){var t=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(e);if(t)return[t[1],Number(t[2])];var r=/at ([^ ]+):(\d+):(?:\d+)$/.exec(e);if(r)return[r[1],Number(r[2])];var n=/.*@(.+):(\d+)$/.exec(e);return n?[n[1],Number(n[2])]:void 0}function o(){if(E)try{throw new Error}catch(r){var e=r.stack.split("\n"),t=i(e[0].indexOf("@")>0?e[1]:e[2]);if(!t)return;return S=t[0],t[1]}}function s(e){return d(e)?e:p(e)?function(e){var t=a();return I(function(){try{e.then(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}}),t.promise}(e):v(e)}function a(){function e(e){t=e,o.source=e,P(r,function(t,r){I(function(){e.promiseDispatch.apply(e,r)})},void 0),r=void 0,n=void 0}var t,r=[],n=[],i=R(a.prototype),o=R(u.prototype);if(o.promiseDispatch=function(e,i,o){var s=B(arguments);r?(r.push(s),"when"===i&&o[1]&&n.push(o[1])):I(function(){t.promiseDispatch.apply(t,s)})},o.valueOf=function(){if(r)return o;var e=l(t);return d(e)&&(t=e),e},o.inspect=function(){return t?t.inspect():{state:"pending"}},s.longStackSupport&&E)try{throw new Error}catch(e){o.stack=e.stack.substring(e.stack.indexOf("\n")+1)}return i.promise=o,i.resolve=function(r){t||e(s(r))},i.fulfill=function(r){t||e(v(r))},i.reject=function(r){t||e(y(r))},i.notify=function(e){t||P(n,function(t,r){I(function(){r(e)})},void 0)},i}function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function.");var t=a();try{e(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}return t.promise}function f(e){return c(function(t,r){for(var n=0,i=e.length;n<i;n++)s(e[n]).then(t,r)})}function u(e,t,r){void 0===t&&(t=function(e){return y(new Error("Promise does not support operation: "+e))}),void 0===r&&(r=function(){return{state:"unknown"}});var n=R(u.prototype);if(n.promiseDispatch=function(r,i,o){var s;try{s=e[i]?e[i].apply(n,o):t.call(n,i,o)}catch(e){s=y(e)}r&&r(s)},n.inspect=r,r){var i=r();"rejected"===i.state&&(n.exception=i.reason),n.valueOf=function(){var e=r();return"pending"===e.state||"rejected"===e.state?n:e.value}}return n}function h(e,t,r,n){return s(e).then(t,r,n)}function l(e){if(d(e)){var t=e.inspect();if("fulfilled"===t.state)return t.value}return e}function d(e){return r(e)&&"function"==typeof e.promiseDispatch&&"function"==typeof e.inspect}function p(e){return r(e)&&"function"==typeof e.then}function b(){D.length=0,U.length=0,K||(K=!0)}function y(e){var t=u({when:function(t){return t&&function(e){if(K){var t=M(U,e);-1!==t&&(U.splice(t,1),D.splice(t,1))}}(this),t?t(e):this}},function(){return this},function(){return{state:"rejected",reason:e}});return function(e,t){K&&(U.push(e),t&&void 0!==t.stack?D.push(t.stack):D.push("(no stack) "+t))}(t,e),t}function v(e){return u({when:function(){return e},get:function(t){return e[t]},set:function(t,r){e[t]=r},delete:function(t){delete e[t]},post:function(t,r){return null===t||void 0===t?e.apply(void 0,r):e[t].apply(e,r)},apply:function(t,r){return e.apply(t,r)},keys:function(){return L(e)}},void 0,function(){return{state:"fulfilled",value:e}})}function m(e,t,r){return s(e).spread(t,r)}function g(e,t,r){return s(e).dispatch(t,r)}function w(e){return h(e,function(e){var t=0,r=a();return P(e,function(n,i,o){var s;d(i)&&"fulfilled"===(s=i.inspect()).state?e[o]=s.value:(++t,h(i,function(n){e[o]=n,0==--t&&r.resolve(e)},r.reject,function(e){r.notify({index:o,value:e})}))},void 0),0===t&&r.resolve(e),r.promise})}function _(e){return h(e,function(e){return e=C(e,s),h(w(C(e,function(e){return h(e,x,x)})),function(){return e})})}var E=!1;try{throw new Error}catch(e){E=!!e.stack}var S,k,A=o(),x=function(){},I=function(){function t(){for(;r.next;){var e=(r=r.next).task;r.task=void 0;var n=r.domain;n&&(r.domain=void 0,n.enter());try{e()}catch(e){if(s)throw n&&n.exit(),setTimeout(t,0),n&&n.enter(),e;setTimeout(function(){throw e},0)}n&&n.exit()}i=!1}var r={task:void 0,next:null},n=r,i=!1,o=void 0,s=!1;if(I=function(t){n=n.next={task:t,domain:s&&e.domain,next:null},i||(i=!0,o())},void 0!==e&&e.nextTick)s=!0,o=function(){e.nextTick(t)};else if("function"==typeof setImmediate)o="undefined"!=typeof window?setImmediate.bind(window,t):function(){setImmediate(t)};else if("undefined"!=typeof MessageChannel){var a=new MessageChannel;a.port1.onmessage=function(){o=c,a.port1.onmessage=t,t()};var c=function(){a.port2.postMessage(0)};o=function(){setTimeout(t,0),c()}}else o=function(){setTimeout(t,0)};return I}(),T=Function.call,B=t(Array.prototype.slice),P=t(Array.prototype.reduce||function(e,t){var r=0,n=this.length;if(1===arguments.length)for(;;){if(r in this){t=this[r++];break}if(++r>=n)throw new TypeError}for(;r<n;r++)r in this&&(t=e(t,this[r],r));return t}),M=t(Array.prototype.indexOf||function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return t;return-1}),C=t(Array.prototype.map||function(e,t){var r=this,n=[];return P(r,function(i,o,s){n.push(e.call(t,o,s,r))},void 0),n}),R=Object.create||function(e){function t(){}return t.prototype=e,new t},O=t(Object.prototype.hasOwnProperty),L=Object.keys||function(e){var t=[];for(var r in e)O(e,r)&&t.push(r);return t},j=t(Object.prototype.toString);k="undefined"!=typeof ReturnValue?ReturnValue:function(e){this.value=e};var N="From previous event:";s.resolve=s,s.nextTick=I,s.longStackSupport=!1,s.defer=a,a.prototype.makeNodeResolver=function(){var e=this;return function(t,r){t?e.reject(t):arguments.length>2?e.resolve(B(arguments,1)):e.resolve(r)}},s.Promise=c,s.promise=c,c.race=f,c.all=w,c.reject=y,c.resolve=s,s.passByCopy=function(e){return e},u.prototype.passByCopy=function(){return this},s.join=function(e,t){return s(e).join(t)},u.prototype.join=function(e){return s([this,e]).spread(function(e,t){if(e===t)return e;throw new Error("Can't join: not the same: "+e+" "+t)})},s.race=f,u.prototype.race=function(){return this.then(s.race)},s.makePromise=u,u.prototype.toString=function(){return"[object Promise]"},u.prototype.then=function(e,t,r){var i=this,o=a(),c=!1;return I(function(){i.promiseDispatch(function(t){c||(c=!0,o.resolve(function(t){try{return"function"==typeof e?e(t):t}catch(e){return y(e)}}(t)))},"when",[function(e){c||(c=!0,o.resolve(function(e){if("function"==typeof t){n(e,i);try{return t(e)}catch(e){return y(e)}}return y(e)}(e)))}])}),i.promiseDispatch(void 0,"when",[void 0,function(e){var t,n=!1;try{t=function(e){return"function"==typeof r?r(e):e}(e)}catch(e){if(n=!0,!s.onerror)throw e;s.onerror(e)}n||o.notify(t)}]),o.promise},s.when=h,u.prototype.thenResolve=function(e){return this.then(function(){return e})},s.thenResolve=function(e,t){return s(e).thenResolve(t)},u.prototype.thenReject=function(e){return this.then(function(){throw e})},s.thenReject=function(e,t){return s(e).thenReject(t)},s.nearer=l,s.isPromise=d,s.isPromiseAlike=p,s.isPending=function(e){return d(e)&&"pending"===e.inspect().state},u.prototype.isPending=function(){return"pending"===this.inspect().state},s.isFulfilled=function(e){return!d(e)||"fulfilled"===e.inspect().state},u.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},s.isRejected=function(e){return d(e)&&"rejected"===e.inspect().state},u.prototype.isRejected=function(){return"rejected"===this.inspect().state};var D=[],U=[],K=!0;s.resetUnhandledRejections=b,s.getUnhandledReasons=function(){return D.slice()},s.stopUnhandledRejectionTracking=function(){b(),K=!1},b(),s.reject=y,s.fulfill=v,s.master=function(e){return u({isDef:function(){}},function(t,r){return g(e,t,r)},function(){return s(e).inspect()})},s.spread=m,u.prototype.spread=function(e,t){return this.all().then(function(t){return e.apply(void 0,t)},t)},s.async=function(e){return function(){function t(e,t){var o;if("undefined"==typeof StopIteration){try{o=r[e](t)}catch(e){return y(e)}return o.done?o.value:h(o.value,n,i)}try{o=r[e](t)}catch(e){return function(e){return"[object StopIteration]"===j(e)||e instanceof k}(e)?e.value:y(e)}return h(o,n,i)}var r=e.apply(this,arguments),n=t.bind(t,"next"),i=t.bind(t,"throw");return n()}},s.spawn=function(e){s.done(s.async(e)())},s.return=function(e){throw new k(e)},s.promised=function(e){return function(){return m([this,w(arguments)],function(t,r){return e.apply(t,r)})}},s.dispatch=g,u.prototype.dispatch=function(e,t){var r=this,n=a();return I(function(){r.promiseDispatch(n.resolve,e,t)}),n.promise},s.get=function(e,t){return s(e).dispatch("get",[t])},u.prototype.get=function(e){return this.dispatch("get",[e])},s.set=function(e,t,r){return s(e).dispatch("set",[t,r])},u.prototype.set=function(e,t){return this.dispatch("set",[e,t])},s.del=s.delete=function(e,t){return s(e).dispatch("delete",[t])},u.prototype.del=u.prototype.delete=function(e){return this.dispatch("delete",[e])},s.mapply=s.post=function(e,t,r){return s(e).dispatch("post",[t,r])},u.prototype.mapply=u.prototype.post=function(e,t){return this.dispatch("post",[e,t])},s.send=s.mcall=s.invoke=function(e,t){return s(e).dispatch("post",[t,B(arguments,2)])},u.prototype.send=u.prototype.mcall=u.prototype.invoke=function(e){return this.dispatch("post",[e,B(arguments,1)])},s.fapply=function(e,t){return s(e).dispatch("apply",[void 0,t])},u.prototype.fapply=function(e){return this.dispatch("apply",[void 0,e])},s.try=s.fcall=function(e){return s(e).dispatch("apply",[void 0,B(arguments,1)])},u.prototype.fcall=function(){return this.dispatch("apply",[void 0,B(arguments)])},s.fbind=function(e){var t=s(e),r=B(arguments,1);return function(){return t.dispatch("apply",[this,r.concat(B(arguments))])}},u.prototype.fbind=function(){var e=this,t=B(arguments);return function(){return e.dispatch("apply",[this,t.concat(B(arguments))])}},s.keys=function(e){return s(e).dispatch("keys",[])},u.prototype.keys=function(){return this.dispatch("keys",[])},s.all=w,u.prototype.all=function(){return w(this)},s.allResolved=function(e,t,r){return function(){return"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(t+" is deprecated, use "+r+" instead.",new Error("").stack),e.apply(e,arguments)}}(_,"allResolved","allSettled"),u.prototype.allResolved=function(){return _(this)},s.allSettled=function(e){return s(e).allSettled()},u.prototype.allSettled=function(){return this.then(function(e){return w(C(e,function(e){function t(){return e.inspect()}return(e=s(e)).then(t,t)}))})},s.fail=s.catch=function(e,t){return s(e).then(void 0,t)},u.prototype.fail=u.prototype.catch=function(e){return this.then(void 0,e)},s.progress=function(e,t){return s(e).then(void 0,void 0,t)},u.prototype.progress=function(e){return this.then(void 0,void 0,e)},s.fin=s.finally=function(e,t){return s(e).finally(t)},u.prototype.fin=u.prototype.finally=function(e){return e=s(e),this.then(function(t){return e.fcall().then(function(){return t})},function(t){return e.fcall().then(function(){throw t})})},s.done=function(e,t,r,n){return s(e).done(t,r,n)},u.prototype.done=function(t,r,i){var o=function(e){I(function(){if(n(e,a),!s.onerror)throw e;s.onerror(e)})},a=t||r||i?this.then(t,r,i):this;"object"==typeof e&&e&&e.domain&&(o=e.domain.bind(o)),a.then(void 0,o)},s.timeout=function(e,t,r){return s(e).timeout(t,r)},u.prototype.timeout=function(e,t){var r=a(),n=setTimeout(function(){r.reject(new Error(t||"Timed out after "+e+" ms"))},e);return this.then(function(e){clearTimeout(n),r.resolve(e)},function(e){clearTimeout(n),r.reject(e)},r.notify),r.promise},s.delay=function(e,t){return void 0===t&&(t=e,e=void 0),s(e).delay(t)},u.prototype.delay=function(e){return this.then(function(t){var r=a();return setTimeout(function(){r.resolve(t)},e),r.promise})},s.nfapply=function(e,t){return s(e).nfapply(t)},u.prototype.nfapply=function(e){var t=a(),r=B(e);return r.push(t.makeNodeResolver()),this.fapply(r).fail(t.reject),t.promise},s.nfcall=function(e){var t=B(arguments,1);return s(e).nfapply(t)},u.prototype.nfcall=function(){var e=B(arguments),t=a();return e.push(t.makeNodeResolver()),this.fapply(e).fail(t.reject),t.promise},s.nfbind=s.denodeify=function(e){var t=B(arguments,1);return function(){var r=t.concat(B(arguments)),n=a();return r.push(n.makeNodeResolver()),s(e).fapply(r).fail(n.reject),n.promise}},u.prototype.nfbind=u.prototype.denodeify=function(){var e=B(arguments);return e.unshift(this),s.denodeify.apply(void 0,e)},s.nbind=function(e,t){var r=B(arguments,2);return function(){var n=r.concat(B(arguments)),i=a();return n.push(i.makeNodeResolver()),s(function(){return e.apply(t,arguments)}).fapply(n).fail(i.reject),i.promise}},u.prototype.nbind=function(){var e=B(arguments,0);return e.unshift(this),s.nbind.apply(void 0,e)},s.nmapply=s.npost=function(e,t,r){return s(e).npost(t,r)},u.prototype.nmapply=u.prototype.npost=function(e,t){var r=B(t||[]),n=a();return r.push(n.makeNodeResolver()),this.dispatch("post",[e,r]).fail(n.reject),n.promise},s.nsend=s.nmcall=s.ninvoke=function(e,t){var r=B(arguments,2),n=a();return r.push(n.makeNodeResolver()),s(e).dispatch("post",[t,r]).fail(n.reject),n.promise},u.prototype.nsend=u.prototype.nmcall=u.prototype.ninvoke=function(e){var t=B(arguments,1),r=a();return t.push(r.makeNodeResolver()),this.dispatch("post",[e,t]).fail(r.reject),r.promise},s.nodeify=function(e,t){return s(e).nodeify(t)},u.prototype.nodeify=function(e){if(!e)return this;this.then(function(t){I(function(){e(null,t)})},function(t){I(function(){e(t)})})};var H=o();return s})}).call(this,e("_process"))},{_process:265}],296:[function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,o){t=t||"&",r=r||"=";var s={};if("string"!=typeof e||0===e.length)return s;var a=/\+/g;e=e.split(t);var c=1e3;o&&"number"==typeof o.maxKeys&&(c=o.maxKeys);var f=e.length;c>0&&f>c&&(f=c);for(var u=0;u<f;++u){var h,l,d,p,b=e[u].replace(a,"%20"),y=b.indexOf(r);y>=0?(h=b.substr(0,y),l=b.substr(y+1)):(h=b,l=""),d=decodeURIComponent(h),p=decodeURIComponent(l),n(s,d)?i(s[d])?s[d].push(p):s[d]=[s[d],p]:s[d]=p}return s};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],297:[function(e,t,r){"use strict";function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,r,a){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?n(s(e),function(s){var a=encodeURIComponent(i(s))+r;return o(e[s])?n(e[s],function(e){return a+encodeURIComponent(i(e))}).join(t):a+encodeURIComponent(i(e[s]))}).join(t):a?encodeURIComponent(i(a))+r+encodeURIComponent(i(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},s=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},{}],298:[function(e,t,r){"use strict";r.decode=r.parse=e("./decode"),r.encode=r.stringify=e("./encode")},{"./decode":296,"./encode":297}],299:[function(e,t,r){(function(r,n){"use strict";var Buffer=e("safe-buffer").Buffer,i=n.crypto||n.msCrypto;i&&i.getRandomValues?t.exports=function(e,t){if(e>65536)throw new Error("requested too many random bytes");var o=new n.Uint8Array(e);e>0&&i.getRandomValues(o);var s=Buffer.from(o.buffer);return"function"==typeof t?r.nextTick(function(){t(null,s)}):s}:t.exports=function(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:265,"safe-buffer":313}],300:[function(e,t,r){(function(t,n){"use strict";function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}function o(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>l||e<0)throw new TypeError("offset must be a uint32");if(e>u||e>t)throw new RangeError("offset out of range")}function s(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>l||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>u)throw new RangeError("buffer too small")}function a(e,r,n,i){if(t.browser){var o=e.buffer,s=new Uint8Array(o,r,n);return h.getRandomValues(s),i?void t.nextTick(function(){i(null,e)}):e}{if(!i){return f(n).copy(e,r),e}f(n,function(t,n){if(t)return i(t);n.copy(e,r),i(null,e)})}}var c=e("safe-buffer"),f=e("randombytes"),Buffer=c.Buffer,u=c.kMaxLength,h=n.crypto||n.msCrypto,l=Math.pow(2,32)-1;h&&h.getRandomValues||!t.browser?(r.randomFill=function(e,t,r,i){if(!(Buffer.isBuffer(e)||e instanceof n.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)i=t,t=0,r=e.length;else if("function"==typeof r)i=r,r=e.length-t;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return o(t,e.length),s(r,t,e.length),a(e,t,r,i)},r.randomFillSync=function(e,t,r){if(void 0===t&&(t=0),!(Buffer.isBuffer(e)||e instanceof n.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return o(t,e.length),void 0===r&&(r=e.length-t),s(r,t,e.length),a(e,t,r)}):(r.randomFill=i,r.randomFillSync=i)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:265,randombytes:299,"safe-buffer":313}],301:[function(e,t,r){t.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":302}],302:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);f.call(this,e),u.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",i)}function i(){this.allowHalfOpen||this._writableState.ended||a(o,this)}function o(e){e.end()}var s=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=n;var a=e("process-nextick-args"),c=e("core-util-is");c.inherits=e("inherits");var f=e("./_stream_readable"),u=e("./_stream_writable");c.inherits(n,f);for(var h=s(u.prototype),l=0;l<h.length;l++){var d=h[l];n.prototype[d]||(n.prototype[d]=u.prototype[d])}},{"./_stream_readable":304,"./_stream_writable":306,"core-util-is":111,inherits:248,"process-nextick-args":264}],303:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);i.call(this,e)}t.exports=n;var i=e("./_stream_transform"),o=e("core-util-is");o.inherits=e("inherits"),o.inherits(n,i),n.prototype._transform=function(e,t,r){r(null,e)}},{"./_stream_transform":305,"core-util-is":111,inherits:248}],304:[function(e,t,r){(function(r){"use strict";function n(t,r){k=k||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,r instanceof k&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var n=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:i,this.highWaterMark=~~this.highWaterMark,this.buffer=[],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.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(S||(S=e("string_decoder/").StringDecoder),this.decoder=new S(t.encoding),this.encoding=t.encoding)}function i(t){if(k=k||e("./_stream_duplex"),!(this instanceof i))return new i(t);this._readableState=new n(t,this),this.readable=!0,t&&"function"==typeof t.read&&(this._read=t.read),m.call(this)}function o(e,t,r,n,i){var o=function(e,t){var r=null;Buffer.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));return r}(t,r);if(o)e.emit("error",o);else if(null===r)t.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,a(e)}(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!i){s=new Error("stream.push() after EOF");e.emit("error",s)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var c;!t.decoder||i||n||(r=t.decoder.write(r),c=!t.objectMode&&0===r.length),i||(t.reading=!1),c||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&a(e))),function(e,t){t.readingMore||(t.readingMore=!0,y(f,e,t))}(e,t)}else i||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(t)}function s(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:e<=0?0:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=A?e=A:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function a(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(E("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?y(c,e):c(e))}function c(e){E("emit readable"),e.emit("readable"),l(e)}function f(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(E("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function u(e){E("readable nexttick read 0"),e.read(0)}function h(e,t){t.reading||(E("resume read 0"),e.read(0)),t.resumeScheduled=!1,e.emit("resume"),l(e),t.flowing&&!t.reading&&e.read(0)}function l(e){var t=e._readableState;if(E("flow",t.flowing),t.flowing)do{var r=e.read()}while(null!==r&&t.flowing)}function d(e,t){var r,n=t.buffer,i=t.length,o=!!t.decoder,s=!!t.objectMode;if(0===n.length)return null;if(0===i)r=null;else if(s)r=n.shift();else if(!e||e>=i)r=o?n.join(""):1===n.length?n[0]:Buffer.concat(n,i),n.length=0;else if(e<n[0].length){r=(u=n[0]).slice(0,e),n[0]=u.slice(e)}else if(e===n[0].length)r=n.shift();else{r=o?"":new Buffer(e);for(var a=0,c=0,f=n.length;c<f&&a<e;c++){var u=n[0],h=Math.min(e-a,u.length);o?r+=u.slice(0,h):u.copy(r,a,0,h),h<u.length?n[0]=u.slice(h):n.shift(),a+=h}}return r}function p(e){var t=e._readableState;if(t.length>0)throw new Error("endReadable called on non-empty stream");t.endEmitted||(t.ended=!0,y(b,t,e))}function b(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}t.exports=i;var y=e("process-nextick-args"),v=e("isarray"),Buffer=e("buffer").Buffer;i.ReadableState=n;e("events");var m,g=function(e,t){return e.listeners(t).length};!function(){try{m=e("stream")}catch(e){}finally{m||(m=e("events").EventEmitter)}}();var Buffer=e("buffer").Buffer,w=e("core-util-is");w.inherits=e("inherits");var _=e("util"),E=void 0;E=_&&_.debuglog?_.debuglog("stream"):function(){};var S;w.inherits(i,m);var k;i.prototype.push=function(e,t){var r=this._readableState;return r.objectMode||"string"!=typeof e||(t=t||r.defaultEncoding)!==r.encoding&&(e=new Buffer(e,t),t=""),o(this,r,e,t,!1)},i.prototype.unshift=function(e){return o(this,this._readableState,e,"",!0)},i.prototype.isPaused=function(){return!1===this._readableState.flowing},i.prototype.setEncoding=function(t){return S||(S=e("string_decoder/").StringDecoder),this._readableState.decoder=new S(t),this._readableState.encoding=t,this};var A=8388608;i.prototype.read=function(e){E("read",e);var t=this._readableState,r=e;if(("number"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return E("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?p(this):a(this),null;if(0===(e=s(e,t))&&t.ended)return 0===t.length&&p(this),null;var n=t.needReadable;E("need readable",n),(0===t.length||t.length-e<t.highWaterMark)&&E("length less than watermark",n=!0),(t.ended||t.reading)&&E("reading or ended",n=!1),n&&(E("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),n&&!t.reading&&(e=s(r,t));var i;return null===(i=e>0?d(e,t):null)&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),r!==e&&t.ended&&0===t.length&&p(this),null!==i&&this.emit("data",i),i},i.prototype._read=function(e){this.emit("error",new Error("not implemented"))},i.prototype.pipe=function(e,t){function n(e){E("onunpipe"),e===h&&o()}function i(){E("onend"),e.end()}function o(){E("cleanup"),e.removeListener("close",c),e.removeListener("finish",f),e.removeListener("drain",b),e.removeListener("error",a),e.removeListener("unpipe",n),h.removeListener("end",i),h.removeListener("end",o),h.removeListener("data",s),m=!0,!d.awaitDrain||e._writableState&&!e._writableState.needDrain||b()}function s(t){E("ondata");!1===e.write(t)&&(1!==d.pipesCount||d.pipes[0]!==e||1!==h.listenerCount("data")||m||(E("false write response, pause",h._readableState.awaitDrain),h._readableState.awaitDrain++),h.pause())}function a(t){E("onerror",t),u(),e.removeListener("error",a),0===g(e,"error")&&e.emit("error",t)}function c(){e.removeListener("finish",f),u()}function f(){E("onfinish"),e.removeListener("close",c),u()}function u(){E("unpipe"),h.unpipe(e)}var h=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=e;break;case 1:d.pipes=[d.pipes,e];break;default:d.pipes.push(e)}d.pipesCount+=1,E("pipe count=%d opts=%j",d.pipesCount,t);var p=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?i:o;d.endEmitted?y(p):h.once("end",p),e.on("unpipe",n);var b=function(e){return function(){var t=e._readableState;E("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&g(e,"data")&&(t.flowing=!0,l(e))}}(h);e.on("drain",b);var m=!1;return h.on("data",s),e._events&&e._events.error?v(e._events.error)?e._events.error.unshift(a):e._events.error=[a,e._events.error]:e.on("error",a),e.once("close",c),e.once("finish",f),e.emit("pipe",h),d.flowing||(E("pipe resume"),h.resume()),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<n;i++)r[i].emit("unpipe",this);return this}var o=function(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}(t.pipes,e);return-1===o?this:(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},i.prototype.on=function(e,t){var r=m.prototype.on.call(this,e,t);if("data"===e&&!1!==this._readableState.flowing&&this.resume(),"readable"===e&&!this._readableState.endEmitted){var n=this._readableState;n.readableListening||(n.readableListening=!0,n.emittedReadable=!1,n.needReadable=!0,n.reading?n.length&&a(this):y(u,this))}return r},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){var e=this._readableState;return e.flowing||(E("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,y(h,e,t))}(this,e)),this},i.prototype.pause=function(){return E("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(E("pause"),this._readableState.flowing=!1,this.emit("pause")),this},i.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;e.on("end",function(){if(E("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(i){if(E("wrapped data"),t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)){n.push(i)||(r=!0,e.pause())}});for(var i in e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return function(e,t){for(var r=0,n=e.length;r<n;r++)t(e[r],r)}(["error","close","destroy","pause","resume"],function(t){e.on(t,n.emit.bind(n,t))}),n._read=function(t){E("wrapped _read",t),r&&(r=!1,e.resume())},n},i._fromList=d}).call(this,e("_process"))},{"./_stream_duplex":302,_process:265,buffer:105,"core-util-is":111,events:230,inherits:248,isarray:250,"process-nextick-args":264,"string_decoder/":347,util:77}],305:[function(e,t,r){"use strict";function n(e){this.afterTransform=function(t,r){return function(e,t,r){var n=e._transformState;n.transforming=!1;var i=n.writecb;if(!i)return e.emit("error",new Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,null!==r&&void 0!==r&&e.push(r);i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}(e,t,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function i(e){if(!(this instanceof i))return new i(e);s.call(this,e),this._transformState=new n(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e){o(t,e)}):o(t)})}function o(e,t){if(t)return e.emit("error",t);var r=e._writableState,n=e._transformState;if(r.length)throw new Error("calling transform done when ws.length != 0");if(n.transforming)throw new Error("calling transform done when still transforming");return e.push(null)}t.exports=i;var s=e("./_stream_duplex"),a=e("core-util-is");a.inherits=e("inherits"),a.inherits(i,s),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},i.prototype._transform=function(e,t,r){throw new Error("not implemented")},i.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},i.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0}},{"./_stream_duplex":302,"core-util-is":111,inherits:248}],306:[function(e,t,r){(function(r){"use strict";function n(){}function i(t,r){g=g||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,r instanceof g&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var n=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:i,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=!1===t.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?p(i,n):i(n);e._writableState.errorEmitted=!0,e.emit("error",n)}(e,r,n,t,i);else{var o=u(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||f(e,r),n?b(c,e,r,o,i):c(e,r,o,i)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new d(this),this.corkedRequestsFree.next=new d(this)}function o(t){if(g=g||e("./_stream_duplex"),!(this instanceof o||this instanceof g))return new o(t);this._writableState=new i(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev)),v.call(this)}function s(e,t,r,n,i){r=function(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=new Buffer(t,r)),t}(t,r,n),Buffer.isBuffer(r)&&(n="buffer");var o=t.objectMode?1:r.length;t.length+=o;var s=t.length<t.highWaterMark;if(s||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest=new function(e,t,r){this.chunk=e,this.encoding=t,this.callback=r,this.next=null}(r,n,i),c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else a(e,t,!1,o,r,n,i);return s}function a(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function c(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),l(e,t)}function f(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var s=0;r;)i[s]=r,r=r.next,s+=1;a(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,t.corkedRequestsFree=o.next,o.next=null}else{for(;r;){var c=r.chunk,f=r.encoding,u=r.callback;if(a(e,t,!1,t.objectMode?1:c.length,c,f,u),r=r.next,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=r,t.bufferProcessing=!1}function u(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function h(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function l(e,t){var r=u(t);return r&&(0===t.pendingcb?(h(e,t),t.finished=!0,e.emit("finish")):h(e,t)),r}function d(e){var t=this;this.next=null,this.entry=null,this.finish=function(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}}t.exports=o;var p=e("process-nextick-args"),b=!r.browser&&["v0.10","v0.9."].indexOf(r.version.slice(0,5))>-1?setImmediate:p,Buffer=e("buffer").Buffer;o.WritableState=i;var y=e("core-util-is");y.inherits=e("inherits");var v,m={deprecate:e("util-deprecate")};!function(){try{v=e("stream")}catch(e){}finally{v||(v=e("events").EventEmitter)}}();Buffer=e("buffer").Buffer;y.inherits(o,v);i.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(i.prototype,"buffer",{get:m.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(e){}}();var g;o.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},o.prototype.write=function(e,t,r){var i=this._writableState,o=!1;return"function"==typeof t&&(r=t,t=null),Buffer.isBuffer(e)?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=n),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),p(t,r)}(this,r):function(e,t,r,n){var i=!0;if(!Buffer.isBuffer(r)&&"string"!=typeof r&&null!==r&&void 0!==r&&!t.objectMode){var o=new TypeError("Invalid non-string/buffer chunk");e.emit("error",o),p(n,o),i=!1}return i}(this,i,e,r)&&(i.pendingcb++,o=s(this,i,e,t,r)),o},o.prototype.cork=function(){this._writableState.corked++},o.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||f(this,e))},o.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);this._writableState.defaultEncoding=e},o.prototype._write=function(e,t,r){r(new Error("not implemented"))},o.prototype._writev=null,o.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,l(e,t),r&&(t.finished?p(r):e.once("finish",r)),t.ended=!0,e.writable=!1}(this,n,r)}}).call(this,e("_process"))},{"./_stream_duplex":302,_process:265,buffer:105,"core-util-is":111,events:230,inherits:248,"process-nextick-args":264,"util-deprecate":359}],307:[function(e,t,r){t.exports=e("./lib/_stream_passthrough.js")},{"./lib/_stream_passthrough.js":303}],308:[function(e,t,r){var n=function(){try{return e("stream")}catch(e){}}();(r=t.exports=e("./lib/_stream_readable.js")).Stream=n||r,r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":302,"./lib/_stream_passthrough.js":303,"./lib/_stream_readable.js":304,"./lib/_stream_transform.js":305,"./lib/_stream_writable.js":306}],309:[function(e,t,r){t.exports=e("./lib/_stream_transform.js")},{"./lib/_stream_transform.js":305}],310:[function(e,t,r){t.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":306}],311:[function(e,t,r){t.exports=function(e,t,r){for(var n=0,i=e.length,o=3==arguments.length?r:e[n++];n<i;)o=t.call(null,o,e[n],++n,e);return o}},{}],312:[function(e,t,r){(function(Buffer){"use strict";function r(){u.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function n(e,t){return e<<t|e>>>32-t}function i(e,t,r,i,o,s,a,c){return n(e+(t^r^i)+s+a|0,c)+o|0}function o(e,t,r,i,o,s,a,c){return n(e+(t&r|~t&i)+s+a|0,c)+o|0}function s(e,t,r,i,o,s,a,c){return n(e+((t|~r)^i)+s+a|0,c)+o|0}function a(e,t,r,i,o,s,a,c){return n(e+(t&i|r&~i)+s+a|0,c)+o|0}function c(e,t,r,i,o,s,a,c){return n(e+(t^(r|~i))+s+a|0,c)+o|0}var f=e("inherits"),u=e("hash-base");f(r,u),r.prototype._update=function(){for(var e=new Array(16),t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,f=this._b,u=this._c,h=this._d,l=this._e;l=i(l,r=i(r,f,u,h,l,e[0],0,11),f,u=n(u,10),h,e[1],0,14),f=i(f=n(f,10),u=i(u,h=i(h,l,r,f,u,e[2],0,15),l,r=n(r,10),f,e[3],0,12),h,l=n(l,10),r,e[4],0,5),h=i(h=n(h,10),l=i(l,r=i(r,f,u,h,l,e[5],0,8),f,u=n(u,10),h,e[6],0,7),r,f=n(f,10),u,e[7],0,9),r=i(r=n(r,10),f=i(f,u=i(u,h,l,r,f,e[8],0,11),h,l=n(l,10),r,e[9],0,13),u,h=n(h,10),l,e[10],0,14),u=i(u=n(u,10),h=i(h,l=i(l,r,f,u,h,e[11],0,15),r,f=n(f,10),u,e[12],0,6),l,r=n(r,10),f,e[13],0,7),l=o(l=n(l,10),r=i(r,f=i(f,u,h,l,r,e[14],0,9),u,h=n(h,10),l,e[15],0,8),f,u=n(u,10),h,e[7],1518500249,7),f=o(f=n(f,10),u=o(u,h=o(h,l,r,f,u,e[4],1518500249,6),l,r=n(r,10),f,e[13],1518500249,8),h,l=n(l,10),r,e[1],1518500249,13),h=o(h=n(h,10),l=o(l,r=o(r,f,u,h,l,e[10],1518500249,11),f,u=n(u,10),h,e[6],1518500249,9),r,f=n(f,10),u,e[15],1518500249,7),r=o(r=n(r,10),f=o(f,u=o(u,h,l,r,f,e[3],1518500249,15),h,l=n(l,10),r,e[12],1518500249,7),u,h=n(h,10),l,e[0],1518500249,12),u=o(u=n(u,10),h=o(h,l=o(l,r,f,u,h,e[9],1518500249,15),r,f=n(f,10),u,e[5],1518500249,9),l,r=n(r,10),f,e[2],1518500249,11),l=o(l=n(l,10),r=o(r,f=o(f,u,h,l,r,e[14],1518500249,7),u,h=n(h,10),l,e[11],1518500249,13),f,u=n(u,10),h,e[8],1518500249,12),f=s(f=n(f,10),u=s(u,h=s(h,l,r,f,u,e[3],1859775393,11),l,r=n(r,10),f,e[10],1859775393,13),h,l=n(l,10),r,e[14],1859775393,6),h=s(h=n(h,10),l=s(l,r=s(r,f,u,h,l,e[4],1859775393,7),f,u=n(u,10),h,e[9],1859775393,14),r,f=n(f,10),u,e[15],1859775393,9),r=s(r=n(r,10),f=s(f,u=s(u,h,l,r,f,e[8],1859775393,13),h,l=n(l,10),r,e[1],1859775393,15),u,h=n(h,10),l,e[2],1859775393,14),u=s(u=n(u,10),h=s(h,l=s(l,r,f,u,h,e[7],1859775393,8),r,f=n(f,10),u,e[0],1859775393,13),l,r=n(r,10),f,e[6],1859775393,6),l=s(l=n(l,10),r=s(r,f=s(f,u,h,l,r,e[13],1859775393,5),u,h=n(h,10),l,e[11],1859775393,12),f,u=n(u,10),h,e[5],1859775393,7),f=a(f=n(f,10),u=a(u,h=s(h,l,r,f,u,e[12],1859775393,5),l,r=n(r,10),f,e[1],2400959708,11),h,l=n(l,10),r,e[9],2400959708,12),h=a(h=n(h,10),l=a(l,r=a(r,f,u,h,l,e[11],2400959708,14),f,u=n(u,10),h,e[10],2400959708,15),r,f=n(f,10),u,e[0],2400959708,14),r=a(r=n(r,10),f=a(f,u=a(u,h,l,r,f,e[8],2400959708,15),h,l=n(l,10),r,e[12],2400959708,9),u,h=n(h,10),l,e[4],2400959708,8),u=a(u=n(u,10),h=a(h,l=a(l,r,f,u,h,e[13],2400959708,9),r,f=n(f,10),u,e[3],2400959708,14),l,r=n(r,10),f,e[7],2400959708,5),l=a(l=n(l,10),r=a(r,f=a(f,u,h,l,r,e[15],2400959708,6),u,h=n(h,10),l,e[14],2400959708,8),f,u=n(u,10),h,e[5],2400959708,6),f=c(f=n(f,10),u=a(u,h=a(h,l,r,f,u,e[6],2400959708,5),l,r=n(r,10),f,e[2],2400959708,12),h,l=n(l,10),r,e[4],2840853838,9),h=c(h=n(h,10),l=c(l,r=c(r,f,u,h,l,e[0],2840853838,15),f,u=n(u,10),h,e[5],2840853838,5),r,f=n(f,10),u,e[9],2840853838,11),r=c(r=n(r,10),f=c(f,u=c(u,h,l,r,f,e[7],2840853838,6),h,l=n(l,10),r,e[12],2840853838,8),u,h=n(h,10),l,e[2],2840853838,13),u=c(u=n(u,10),h=c(h,l=c(l,r,f,u,h,e[10],2840853838,12),r,f=n(f,10),u,e[14],2840853838,5),l,r=n(r,10),f,e[1],2840853838,12),l=c(l=n(l,10),r=c(r,f=c(f,u,h,l,r,e[3],2840853838,13),u,h=n(h,10),l,e[8],2840853838,14),f,u=n(u,10),h,e[11],2840853838,11),f=c(f=n(f,10),u=c(u,h=c(h,l,r,f,u,e[6],2840853838,8),l,r=n(r,10),f,e[15],2840853838,5),h,l=n(l,10),r,e[13],2840853838,6),h=n(h,10);var d=this._a,p=this._b,b=this._c,y=this._d,v=this._e;v=c(v,d=c(d,p,b,y,v,e[5],1352829926,8),p,b=n(b,10),y,e[14],1352829926,9),p=c(p=n(p,10),b=c(b,y=c(y,v,d,p,b,e[7],1352829926,9),v,d=n(d,10),p,e[0],1352829926,11),y,v=n(v,10),d,e[9],1352829926,13),y=c(y=n(y,10),v=c(v,d=c(d,p,b,y,v,e[2],1352829926,15),p,b=n(b,10),y,e[11],1352829926,15),d,p=n(p,10),b,e[4],1352829926,5),d=c(d=n(d,10),p=c(p,b=c(b,y,v,d,p,e[13],1352829926,7),y,v=n(v,10),d,e[6],1352829926,7),b,y=n(y,10),v,e[15],1352829926,8),b=c(b=n(b,10),y=c(y,v=c(v,d,p,b,y,e[8],1352829926,11),d,p=n(p,10),b,e[1],1352829926,14),v,d=n(d,10),p,e[10],1352829926,14),v=a(v=n(v,10),d=c(d,p=c(p,b,y,v,d,e[3],1352829926,12),b,y=n(y,10),v,e[12],1352829926,6),p,b=n(b,10),y,e[6],1548603684,9),p=a(p=n(p,10),b=a(b,y=a(y,v,d,p,b,e[11],1548603684,13),v,d=n(d,10),p,e[3],1548603684,15),y,v=n(v,10),d,e[7],1548603684,7),y=a(y=n(y,10),v=a(v,d=a(d,p,b,y,v,e[0],1548603684,12),p,b=n(b,10),y,e[13],1548603684,8),d,p=n(p,10),b,e[5],1548603684,9),d=a(d=n(d,10),p=a(p,b=a(b,y,v,d,p,e[10],1548603684,11),y,v=n(v,10),d,e[14],1548603684,7),b,y=n(y,10),v,e[15],1548603684,7),b=a(b=n(b,10),y=a(y,v=a(v,d,p,b,y,e[8],1548603684,12),d,p=n(p,10),b,e[12],1548603684,7),v,d=n(d,10),p,e[4],1548603684,6),v=a(v=n(v,10),d=a(d,p=a(p,b,y,v,d,e[9],1548603684,15),b,y=n(y,10),v,e[1],1548603684,13),p,b=n(b,10),y,e[2],1548603684,11),p=s(p=n(p,10),b=s(b,y=s(y,v,d,p,b,e[15],1836072691,9),v,d=n(d,10),p,e[5],1836072691,7),y,v=n(v,10),d,e[1],1836072691,15),y=s(y=n(y,10),v=s(v,d=s(d,p,b,y,v,e[3],1836072691,11),p,b=n(b,10),y,e[7],1836072691,8),d,p=n(p,10),b,e[14],1836072691,6),d=s(d=n(d,10),p=s(p,b=s(b,y,v,d,p,e[6],1836072691,6),y,v=n(v,10),d,e[9],1836072691,14),b,y=n(y,10),v,e[11],1836072691,12),b=s(b=n(b,10),y=s(y,v=s(v,d,p,b,y,e[8],1836072691,13),d,p=n(p,10),b,e[12],1836072691,5),v,d=n(d,10),p,e[2],1836072691,14),v=s(v=n(v,10),d=s(d,p=s(p,b,y,v,d,e[10],1836072691,13),b,y=n(y,10),v,e[0],1836072691,13),p,b=n(b,10),y,e[4],1836072691,7),p=o(p=n(p,10),b=o(b,y=s(y,v,d,p,b,e[13],1836072691,5),v,d=n(d,10),p,e[8],2053994217,15),y,v=n(v,10),d,e[6],2053994217,5),y=o(y=n(y,10),v=o(v,d=o(d,p,b,y,v,e[4],2053994217,8),p,b=n(b,10),y,e[1],2053994217,11),d,p=n(p,10),b,e[3],2053994217,14),d=o(d=n(d,10),p=o(p,b=o(b,y,v,d,p,e[11],2053994217,14),y,v=n(v,10),d,e[15],2053994217,6),b,y=n(y,10),v,e[0],2053994217,14),b=o(b=n(b,10),y=o(y,v=o(v,d,p,b,y,e[5],2053994217,6),d,p=n(p,10),b,e[12],2053994217,9),v,d=n(d,10),p,e[2],2053994217,12),v=o(v=n(v,10),d=o(d,p=o(p,b,y,v,d,e[13],2053994217,9),b,y=n(y,10),v,e[9],2053994217,12),p,b=n(b,10),y,e[7],2053994217,5),p=i(p=n(p,10),b=o(b,y=o(y,v,d,p,b,e[10],2053994217,15),v,d=n(d,10),p,e[14],2053994217,8),y,v=n(v,10),d,e[12],0,8),y=i(y=n(y,10),v=i(v,d=i(d,p,b,y,v,e[15],0,5),p,b=n(b,10),y,e[10],0,12),d,p=n(p,10),b,e[4],0,9),d=i(d=n(d,10),p=i(p,b=i(b,y,v,d,p,e[1],0,12),y,v=n(v,10),d,e[5],0,5),b,y=n(y,10),v,e[8],0,14),b=i(b=n(b,10),y=i(y,v=i(v,d,p,b,y,e[7],0,6),d,p=n(p,10),b,e[6],0,8),v,d=n(d,10),p,e[2],0,13),v=i(v=n(v,10),d=i(d,p=i(p,b,y,v,d,e[13],0,6),b,y=n(y,10),v,e[14],0,5),p,b=n(b,10),y,e[0],0,15),p=i(p=n(p,10),b=i(b,y=i(y,v,d,p,b,e[3],0,13),v,d=n(d,10),p,e[9],0,11),y,v=n(v,10),d,e[11],0,11),y=n(y,10);var m=this._b+u+y|0;this._b=this._c+h+v|0,this._c=this._d+l+d|0,this._d=this._e+r+p|0,this._e=this._a+f+b|0,this._a=m},r.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new Buffer(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},t.exports=r}).call(this,e("buffer").Buffer)},{buffer:105,"hash-base":232,inherits:248}],313:[function(e,t,r){function n(e,t){for(var r in e)t[r]=e[r]}function i(e,t,r){return Buffer(e,t,r)}var o=e("buffer"),Buffer=o.Buffer;Buffer.from&&Buffer.alloc&&Buffer.allocUnsafe&&Buffer.allocUnsafeSlow?t.exports=o:(n(o,r),r.Buffer=i),n(Buffer,i),i.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return Buffer(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=Buffer(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return Buffer(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o.SlowBuffer(e)}},{buffer:105}],314:[function(e,t,r){"use strict";t.exports=e("./lib")(e("./lib/elliptic"))},{"./lib":318,"./lib/elliptic":317}],315:[function(e,t,r){(function(Buffer){"use strict";var e=Object.prototype.toString;r.isArray=function(e,t){if(!Array.isArray(e))throw TypeError(t)},r.isBoolean=function(t,r){if("[object Boolean]"!==e.call(t))throw TypeError(r)},r.isBuffer=function(e,t){if(!Buffer.isBuffer(e))throw TypeError(t)},r.isFunction=function(t,r){if("[object Function]"!==e.call(t))throw TypeError(r)},r.isNumber=function(t,r){if("[object Number]"!==e.call(t))throw TypeError(r)},r.isObject=function(t,r){if("[object Object]"!==e.call(t))throw TypeError(r)},r.isBufferLength=function(e,t,r){if(e.length!==t)throw RangeError(r)},r.isBufferLength2=function(e,t,r,n){if(e.length!==t&&e.length!==r)throw RangeError(n)},r.isLengthGTZero=function(e,t){if(0===e.length)throw RangeError(t)},r.isNumberInInterval=function(e,t,r,n){if(e<=t||e>=r)throw RangeError(n)}}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":249}],316:[function(e,t,r){"use strict";var Buffer=e("safe-buffer").Buffer,n=e("bip66"),i=Buffer.from([48,129,211,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,133,48,129,130,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,33,2,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,36,3,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),o=Buffer.from([48,130,1,19,2,1,1,4,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,129,165,48,129,162,2,1,1,48,44,6,7,42,134,72,206,61,1,1,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,252,47,48,6,4,1,0,4,1,7,4,65,4,121,190,102,126,249,220,187,172,85,160,98,149,206,135,11,7,2,155,252,219,45,206,40,217,89,242,129,91,22,248,23,152,72,58,218,119,38,163,196,101,93,164,251,252,14,17,8,168,253,23,180,72,166,133,84,25,156,71,208,143,251,16,212,184,2,33,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,186,174,220,230,175,72,160,59,191,210,94,140,208,54,65,65,2,1,1,161,68,3,66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),s=Buffer.from([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);r.privateKeyExport=function(e,t,r){var n=Buffer.from(r?i:o);return e.copy(n,r?8:9),t.copy(n,r?181:214),n},r.privateKeyImport=function(e){var t=e.length,r=0;if(!(t<r+1||48!==e[r])&&(r+=1,!(t<r+1)&&128&e[r])){var n=127&e[r];if(r+=1,!(n<1||n>2||t<r+n)){var i=e[r+n-1]|(n>1?e[r+n-2]<<8:0);if(r+=n,!(t<r+i||t<r+3||2!==e[r]||1!==e[r+1]||1!==e[r+2]||(r+=3,t<r+2||4!==e[r]||e[r+1]>32||t<r+2+e[r+1])))return e.slice(r+2,r+2+e[r+1])}}},r.signatureExport=function(e){for(var t=Buffer.concat([Buffer.from([0]),e.r]),r=33,i=0;r>1&&0===t[i]&&!(128&t[i+1]);--r,++i);for(var o=Buffer.concat([Buffer.from([0]),e.s]),s=33,a=0;s>1&&0===o[a]&&!(128&o[a+1]);--s,++a);return n.encode(t.slice(i),o.slice(a))},r.signatureImport=function(e){var t=Buffer.from(s),r=Buffer.from(s);try{var i=n.decode(e);if(33===i.r.length&&0===i.r[0]&&(i.r=i.r.slice(1)),i.r.length>32)throw new Error("R length is too long");if(33===i.s.length&&0===i.s[0]&&(i.s=i.s.slice(1)),i.s.length>32)throw new Error("S length is too long")}catch(e){return}return i.r.copy(t,32-i.r.length),i.s.copy(r,32-i.s.length),{r:t,s:r}},r.signatureImportLax=function(e){var t=Buffer.from(s),r=Buffer.from(s),n=e.length,i=0;if(48===e[i++]){var o=e[i++];if(!(128&o&&(i+=o-128)>n)&&2===e[i++]){var a=e[i++];if(128&a){if(o=a-128,i+o>n)return;for(;o>0&&0===e[i];i+=1,o-=1);for(a=0;o>0;i+=1,o-=1)a=(a<<8)+e[i]}if(!(a>n-i)){var c=i;if(i+=a,2===e[i++]){var f=e[i++];if(128&f){if(o=f-128,i+o>n)return;for(;o>0&&0===e[i];i+=1,o-=1);for(f=0;o>0;i+=1,o-=1)f=(f<<8)+e[i]}if(!(f>n-i)){var u=i;for(i+=f;a>0&&0===e[c];a-=1,c+=1);if(!(a>32)){var h=e.slice(c,c+a);for(h.copy(t,32-h.length);f>0&&0===e[u];f-=1,u+=1);if(!(f>32)){var l=e.slice(u,u+f);return l.copy(r,32-l.length),{r:t,s:r}}}}}}}}}},{bip66:32,"safe-buffer":313}],317:[function(e,t,r){"use strict";function n(e){var t=e[0];switch(t){case 2:case 3:return 33!==e.length?null:function(e,t){var r=new o(t);if(r.cmp(f.p)>=0)return null;var n=(r=r.toRed(f.red)).redSqr().redIMul(r).redIAdd(f.b).redSqrt();return 3===e!==n.isOdd()&&(n=n.redNeg()),c.keyPair({pub:{x:r,y:n}})}(t,e.slice(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,r){var n=new o(t),i=new o(r);if(n.cmp(f.p)>=0||i.cmp(f.p)>=0)return null;if(n=n.toRed(f.red),i=i.toRed(f.red),(6===e||7===e)&&i.isOdd()!==(7===e))return null;var s=n.redSqr().redIMul(n);return i.redSqr().redISub(s.redIAdd(f.b)).isZero()?c.keyPair({pub:{x:n,y:i}}):null}(t,e.slice(1,33),e.slice(33,65));default:return null}}var Buffer=e("safe-buffer").Buffer,i=e("create-hash"),o=e("bn.js"),s=e("elliptic").ec,a=e("../messages.json"),c=new s("secp256k1"),f=c.curve;r.privateKeyVerify=function(e){var t=new o(e);return t.cmp(f.n)<0&&!t.isZero()},r.privateKeyExport=function(e,t){var r=new o(e);if(r.cmp(f.n)>=0||r.isZero())throw new Error(a.EC_PRIVATE_KEY_EXPORT_DER_FAIL);return Buffer.from(c.keyFromPrivate(e).getPublic(t,!0))},r.privateKeyTweakAdd=function(e,t){var r=new o(t);if(r.cmp(f.n)>=0)throw new Error(a.EC_PRIVATE_KEY_TWEAK_ADD_FAIL);if(r.iadd(new o(e)),r.cmp(f.n)>=0&&r.isub(f.n),r.isZero())throw new Error(a.EC_PRIVATE_KEY_TWEAK_ADD_FAIL);return r.toArrayLike(Buffer,"be",32)},r.privateKeyTweakMul=function(e,t){var r=new o(t);if(r.cmp(f.n)>=0||r.isZero())throw new Error(a.EC_PRIVATE_KEY_TWEAK_MUL_FAIL);return r.imul(new o(e)),r.cmp(f.n)&&(r=r.umod(f.n)),r.toArrayLike(Buffer,"be",32)},r.publicKeyCreate=function(e,t){var r=new o(e);if(r.cmp(f.n)>=0||r.isZero())throw new Error(a.EC_PUBLIC_KEY_CREATE_FAIL);return Buffer.from(c.keyFromPrivate(e).getPublic(t,!0))},r.publicKeyConvert=function(e,t){var r=n(e);if(null===r)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);return Buffer.from(r.getPublic(t,!0))},r.publicKeyVerify=function(e){return null!==n(e)},r.publicKeyTweakAdd=function(e,t,r){var i=n(e);if(null===i)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);if((t=new o(t)).cmp(f.n)>=0)throw new Error(a.EC_PUBLIC_KEY_TWEAK_ADD_FAIL);return Buffer.from(f.g.mul(t).add(i.pub).encode(!0,r))},r.publicKeyTweakMul=function(e,t,r){var i=n(e);if(null===i)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);if((t=new o(t)).cmp(f.n)>=0||t.isZero())throw new Error(a.EC_PUBLIC_KEY_TWEAK_MUL_FAIL);return Buffer.from(i.pub.mul(t).encode(!0,r))},r.publicKeyCombine=function(e,t){for(var r=new Array(e.length),i=0;i<e.length;++i)if(r[i]=n(e[i]),null===r[i])throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);for(var o=r[0].pub,s=1;s<r.length;++s)o=o.add(r[s].pub);if(o.isInfinity())throw new Error(a.EC_PUBLIC_KEY_COMBINE_FAIL);return Buffer.from(o.encode(!0,t))},r.signatureNormalize=function(e){var t=new o(e.slice(0,32)),r=new o(e.slice(32,64));if(t.cmp(f.n)>=0||r.cmp(f.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);var n=Buffer.from(e);return 1===r.cmp(c.nh)&&f.n.sub(r).toArrayLike(Buffer,"be",32).copy(n,32),n},r.signatureExport=function(e){var t=e.slice(0,32),r=e.slice(32,64);if(new o(t).cmp(f.n)>=0||new o(r).cmp(f.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);return{r:t,s:r}},r.signatureImport=function(e){var t=new o(e.r);t.cmp(f.n)>=0&&(t=new o(0));var r=new o(e.s);return r.cmp(f.n)>=0&&(r=new o(0)),Buffer.concat([t.toArrayLike(Buffer,"be",32),r.toArrayLike(Buffer,"be",32)])},r.sign=function(e,t,r,n){if("function"==typeof r){var i=r;r=function(r){var s=i(e,t,null,n,r);if(!Buffer.isBuffer(s)||32!==s.length)throw new Error(a.ECDSA_SIGN_FAIL);return new o(s)}}var s=new o(t);if(s.cmp(f.n)>=0||s.isZero())throw new Error(a.ECDSA_SIGN_FAIL);var u=c.sign(e,t,{canonical:!0,k:r,pers:n});return{signature:Buffer.concat([u.r.toArrayLike(Buffer,"be",32),u.s.toArrayLike(Buffer,"be",32)]),recovery:u.recoveryParam}},r.verify=function(e,t,r){var i={r:t.slice(0,32),s:t.slice(32,64)},s=new o(i.r),u=new o(i.s);if(s.cmp(f.n)>=0||u.cmp(f.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);if(1===u.cmp(c.nh)||s.isZero()||u.isZero())return!1;var h=n(r);if(null===h)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);return c.verify(e,i,{x:h.pub.x,y:h.pub.y})},r.recover=function(e,t,r,n){var i={r:t.slice(0,32),s:t.slice(32,64)},s=new o(i.r),u=new o(i.s);if(s.cmp(f.n)>=0||u.cmp(f.n)>=0)throw new Error(a.ECDSA_SIGNATURE_PARSE_FAIL);try{if(s.isZero()||u.isZero())throw new Error;var h=c.recoverPubKey(e,i,r);return Buffer.from(h.encode(!0,n))}catch(e){throw new Error(a.ECDSA_RECOVER_FAIL)}},r.ecdh=function(e,t){var n=r.ecdhUnsafe(e,t,!0);return i("sha256").update(n).digest()},r.ecdhUnsafe=function(e,t,r){var i=n(e);if(null===i)throw new Error(a.EC_PUBLIC_KEY_PARSE_FAIL);var s=new o(t);if(s.cmp(f.n)>=0||s.isZero())throw new Error(a.ECDH_FAIL);return Buffer.from(i.pub.mul(s).encode(!0,r))}},{"../messages.json":319,"bn.js":320,"create-hash":130,elliptic:321,"safe-buffer":313}],318:[function(e,t,r){"use strict";function n(e,t){return void 0===e?t:(i.isBoolean(e,s.COMPRESSED_TYPE_INVALID),e)}var i=e("./assert"),o=e("./der"),s=e("./messages.json");t.exports=function(e){return{privateKeyVerify:function(t){return i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),32===t.length&&e.privateKeyVerify(t)},privateKeyExport:function(t,r){i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),r=n(r,!0);var a=e.privateKeyExport(t,r);return o.privateKeyExport(t,a,r)},privateKeyImport:function(t){if(i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),(t=o.privateKeyImport(t))&&32===t.length&&e.privateKeyVerify(t))return t;throw new Error(s.EC_PRIVATE_KEY_IMPORT_DER_FAIL)},privateKeyTweakAdd:function(t,r){return i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),i.isBuffer(r,s.TWEAK_TYPE_INVALID),i.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),e.privateKeyTweakAdd(t,r)},privateKeyTweakMul:function(t,r){return i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),i.isBuffer(r,s.TWEAK_TYPE_INVALID),i.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),e.privateKeyTweakMul(t,r)},publicKeyCreate:function(t,r){return i.isBuffer(t,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(t,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),r=n(r,!0),e.publicKeyCreate(t,r)},publicKeyConvert:function(t,r){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),r=n(r,!0),e.publicKeyConvert(t,r)},publicKeyVerify:function(t){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),e.publicKeyVerify(t)},publicKeyTweakAdd:function(t,r,o){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),i.isBuffer(r,s.TWEAK_TYPE_INVALID),i.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),o=n(o,!0),e.publicKeyTweakAdd(t,r,o)},publicKeyTweakMul:function(t,r,o){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),i.isBuffer(r,s.TWEAK_TYPE_INVALID),i.isBufferLength(r,32,s.TWEAK_LENGTH_INVALID),o=n(o,!0),e.publicKeyTweakMul(t,r,o)},publicKeyCombine:function(t,r){i.isArray(t,s.EC_PUBLIC_KEYS_TYPE_INVALID),i.isLengthGTZero(t,s.EC_PUBLIC_KEYS_LENGTH_INVALID);for(var o=0;o<t.length;++o)i.isBuffer(t[o],s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t[o],33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID);return r=n(r,!0),e.publicKeyCombine(t,r)},signatureNormalize:function(t){return i.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isBufferLength(t,64,s.ECDSA_SIGNATURE_LENGTH_INVALID),e.signatureNormalize(t)},signatureExport:function(t){i.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isBufferLength(t,64,s.ECDSA_SIGNATURE_LENGTH_INVALID);var r=e.signatureExport(t);return o.signatureExport(r)},signatureImport:function(t){i.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isLengthGTZero(t,s.ECDSA_SIGNATURE_LENGTH_INVALID);var r=o.signatureImport(t);if(r)return e.signatureImport(r);throw new Error(s.ECDSA_SIGNATURE_PARSE_DER_FAIL)},signatureImportLax:function(t){i.isBuffer(t,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isLengthGTZero(t,s.ECDSA_SIGNATURE_LENGTH_INVALID);var r=o.signatureImportLax(t);if(r)return e.signatureImport(r);throw new Error(s.ECDSA_SIGNATURE_PARSE_DER_FAIL)},sign:function(t,r,n){i.isBuffer(t,s.MSG32_TYPE_INVALID),i.isBufferLength(t,32,s.MSG32_LENGTH_INVALID),i.isBuffer(r,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(r,32,s.EC_PRIVATE_KEY_LENGTH_INVALID);var o=null,a=null;return void 0!==n&&(i.isObject(n,s.OPTIONS_TYPE_INVALID),void 0!==n.data&&(i.isBuffer(n.data,s.OPTIONS_DATA_TYPE_INVALID),i.isBufferLength(n.data,32,s.OPTIONS_DATA_LENGTH_INVALID),o=n.data),void 0!==n.noncefn&&(i.isFunction(n.noncefn,s.OPTIONS_NONCEFN_TYPE_INVALID),a=n.noncefn)),e.sign(t,r,a,o)},verify:function(t,r,n){return i.isBuffer(t,s.MSG32_TYPE_INVALID),i.isBufferLength(t,32,s.MSG32_LENGTH_INVALID),i.isBuffer(r,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isBufferLength(r,64,s.ECDSA_SIGNATURE_LENGTH_INVALID),i.isBuffer(n,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(n,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),e.verify(t,r,n)},recover:function(t,r,o,a){return i.isBuffer(t,s.MSG32_TYPE_INVALID),i.isBufferLength(t,32,s.MSG32_LENGTH_INVALID),i.isBuffer(r,s.ECDSA_SIGNATURE_TYPE_INVALID),i.isBufferLength(r,64,s.ECDSA_SIGNATURE_LENGTH_INVALID),i.isNumber(o,s.RECOVERY_ID_TYPE_INVALID),i.isNumberInInterval(o,-1,4,s.RECOVERY_ID_VALUE_INVALID),a=n(a,!0),e.recover(t,r,o,a)},ecdh:function(t,r){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),i.isBuffer(r,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(r,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),e.ecdh(t,r)},ecdhUnsafe:function(t,r,o){return i.isBuffer(t,s.EC_PUBLIC_KEY_TYPE_INVALID),i.isBufferLength2(t,33,65,s.EC_PUBLIC_KEY_LENGTH_INVALID),i.isBuffer(r,s.EC_PRIVATE_KEY_TYPE_INVALID),i.isBufferLength(r,32,s.EC_PRIVATE_KEY_LENGTH_INVALID),o=n(o,!0),e.ecdhUnsafe(t,r,o)}}}},{"./assert":315,"./der":316,"./messages.json":319}],319:[function(e,t,r){t.exports={COMPRESSED_TYPE_INVALID:"compressed should be a boolean",EC_PRIVATE_KEY_TYPE_INVALID:"private key should be a Buffer",EC_PRIVATE_KEY_LENGTH_INVALID:"private key length is invalid",EC_PRIVATE_KEY_TWEAK_ADD_FAIL:"tweak out of range or resulting private key is invalid",EC_PRIVATE_KEY_TWEAK_MUL_FAIL:"tweak out of range",EC_PRIVATE_KEY_EXPORT_DER_FAIL:"couldn't export to DER format",EC_PRIVATE_KEY_IMPORT_DER_FAIL:"couldn't import from DER format",EC_PUBLIC_KEYS_TYPE_INVALID:"public keys should be an Array",EC_PUBLIC_KEYS_LENGTH_INVALID:"public keys Array should have at least 1 element",EC_PUBLIC_KEY_TYPE_INVALID:"public key should be a Buffer",EC_PUBLIC_KEY_LENGTH_INVALID:"public key length is invalid",EC_PUBLIC_KEY_PARSE_FAIL:"the public key could not be parsed or is invalid",EC_PUBLIC_KEY_CREATE_FAIL:"private was invalid, try again",EC_PUBLIC_KEY_TWEAK_ADD_FAIL:"tweak out of range or resulting public key is invalid",EC_PUBLIC_KEY_TWEAK_MUL_FAIL:"tweak out of range",EC_PUBLIC_KEY_COMBINE_FAIL:"the sum of the public keys is not valid",ECDH_FAIL:"scalar was invalid (zero or overflow)",ECDSA_SIGNATURE_TYPE_INVALID:"signature should be a Buffer",ECDSA_SIGNATURE_LENGTH_INVALID:"signature length is invalid",ECDSA_SIGNATURE_PARSE_FAIL:"couldn't parse signature",ECDSA_SIGNATURE_PARSE_DER_FAIL:"couldn't parse DER signature",ECDSA_SIGNATURE_SERIALIZE_DER_FAIL:"couldn't serialize signature to DER format",ECDSA_SIGN_FAIL:"nonce generation function failed or private key is invalid",ECDSA_RECOVER_FAIL:"couldn't recover public key from signature",MSG32_TYPE_INVALID:"message should be a Buffer",MSG32_LENGTH_INVALID:"message length is invalid",OPTIONS_TYPE_INVALID:"options should be an Object",OPTIONS_DATA_TYPE_INVALID:"options.data should be a Buffer",OPTIONS_DATA_LENGTH_INVALID:"options.data length is invalid",OPTIONS_NONCEFN_TYPE_INVALID:"options.noncefn should be a Function",RECOVERY_ID_TYPE_INVALID:"recovery should be a Number",RECOVERY_ID_VALUE_INVALID:"recovery should have value between -1 and 4",TWEAK_TYPE_INVALID:"tweak should be a Buffer",TWEAK_LENGTH_INVALID:"tweak length is invalid"}},{}],320:[function(e,t,r){arguments[4][113][0].apply(r,arguments)},{buffer:77,dup:113}],321:[function(e,t,r){arguments[4][114][0].apply(r,arguments)},{"../package.json":336,"./elliptic/curve":324,"./elliptic/curves":327,"./elliptic/ec":328,"./elliptic/eddsa":331,"./elliptic/utils":335,brorand:76,dup:114}],322:[function(e,t,r){arguments[4][115][0].apply(r,arguments)},{"../../elliptic":321,"bn.js":320,dup:115}],323:[function(e,t,r){arguments[4][116][0].apply(r,arguments)},{"../../elliptic":321,"../curve":324,"bn.js":320,dup:116,inherits:248}],324:[function(e,t,r){arguments[4][117][0].apply(r,arguments)},{"./base":322,"./edwards":323,"./mont":325,"./short":326,dup:117}],325:[function(e,t,r){arguments[4][118][0].apply(r,arguments)},{"../../elliptic":321,"../curve":324,"bn.js":320,dup:118,inherits:248}],326:[function(e,t,r){arguments[4][119][0].apply(r,arguments)},{"../../elliptic":321,"../curve":324,"bn.js":320,dup:119,inherits:248}],327:[function(e,t,r){arguments[4][120][0].apply(r,arguments)},{"../elliptic":321,"./precomputed/secp256k1":334,dup:120,"hash.js":233}],328:[function(e,t,r){arguments[4][121][0].apply(r,arguments)},{"../../elliptic":321,"./key":329,"./signature":330,"bn.js":320,dup:121,"hmac-drbg":245}],329:[function(e,t,r){arguments[4][122][0].apply(r,arguments)},{"../../elliptic":321,"bn.js":320,dup:122}],330:[function(e,t,r){arguments[4][123][0].apply(r,arguments)},{"../../elliptic":321,"bn.js":320,dup:123}],331:[function(e,t,r){arguments[4][124][0].apply(r,arguments)},{"../../elliptic":321,"./key":332,"./signature":333,dup:124,"hash.js":233}],332:[function(e,t,r){arguments[4][125][0].apply(r,arguments)},{"../../elliptic":321,dup:125}],333:[function(e,t,r){arguments[4][126][0].apply(r,arguments)},{"../../elliptic":321,"bn.js":320,dup:126}],334:[function(e,t,r){arguments[4][127][0].apply(r,arguments)},{dup:127}],335:[function(e,t,r){arguments[4][128][0].apply(r,arguments)},{"bn.js":320,dup:128,"minimalistic-assert":257,"minimalistic-crypto-utils":258}],336:[function(e,t,r){t.exports={_args:[[{raw:"elliptic@^6.2.3",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.2.3",spec:">=6.2.3 <7.0.0",type:"range"},"/work/blocktrail-sdk-nodejs/node_modules/secp256k1"]],_from:"elliptic@>=6.2.3 <7.0.0",_id:"[email protected]",_inCache:!0,_location:"/secp256k1/elliptic",_nodeVersion:"7.0.0",_npmOperationalInternal:{host:"packages-18-east.internal.npmjs.com",tmp:"tmp/elliptic-6.4.0.tgz_1487798866428_0.30510620190761983"},_npmUser:{name:"indutny",email:"[email protected]"},_npmVersion:"3.10.8",_phantomChildren:{},_requested:{raw:"elliptic@^6.2.3",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.2.3",spec:">=6.2.3 <7.0.0",type:"range"},_requiredBy:["/secp256k1"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz",_shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",_shrinkwrap:null,_spec:"elliptic@^6.2.3",_where:"/work/blocktrail-sdk-nodejs/node_modules/secp256k1",author:{name:"Fedor Indutny",email:"[email protected]"},bugs:{url:"https://github.com/indutny/elliptic/issues"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},directories:{},dist:{shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",tarball:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz"},files:["lib"],gitHead:"6b0d2b76caae91471649c8e21f0b1d3ba0f96090",homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",maintainers:[{name:"indutny",email:"[email protected]"}],name:"elliptic",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git+ssh://[email protected]/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.4.0"}},{}],337:[function(e,t,r){function n(e,t){this._block=Buffer.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}var Buffer=e("safe-buffer").Buffer;n.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=Buffer.from(e,t));for(var r=this._block,n=this._blockSize,i=e.length,o=this._len,s=0;s<i;){for(var a=o%n,c=Math.min(i-s,n-a),f=0;f<c;f++)r[a+f]=e[s+f];s+=c,(o+=c)%n==0&&this._update(r)}return this._len+=i,this},n.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=4294967295&r,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},n.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=n},{"safe-buffer":313}],338:[function(e,t,r){(r=t.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t}).sha=e("./sha"),r.sha1=e("./sha1"),r.sha224=e("./sha224"),r.sha256=e("./sha256"),r.sha384=e("./sha384"),r.sha512=e("./sha512")},{"./sha":339,"./sha1":340,"./sha224":341,"./sha256":342,"./sha384":343,"./sha512":344}],339:[function(e,t,r){function n(){this.init(),this._w=u,c.call(this,64,56)}function i(e){return e<<5|e>>>27}function o(e){return e<<30|e>>>2}function s(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}var a=e("inherits"),c=e("./hash"),Buffer=e("safe-buffer").Buffer,f=[1518500249,1859775393,-1894007588,-899497514],u=new Array(80);a(n,c),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(e){for(var t=this._w,r=0|this._a,n=0|this._b,a=0|this._c,c=0|this._d,u=0|this._e,h=0;h<16;++h)t[h]=e.readInt32BE(4*h);for(;h<80;++h)t[h]=t[h-3]^t[h-8]^t[h-14]^t[h-16];for(var l=0;l<80;++l){var d=~~(l/20),p=i(r)+s(d,n,a,c)+u+t[l]+f[d]|0;u=c,c=a,a=o(n),n=r,r=p}this._a=r+this._a|0,this._b=n+this._b|0,this._c=a+this._c|0,this._d=c+this._d|0,this._e=u+this._e|0},n.prototype._hash=function(){var e=Buffer.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=n},{"./hash":337,inherits:248,"safe-buffer":313}],340:[function(e,t,r){function n(){this.init(),this._w=h,f.call(this,64,56)}function i(e){return e<<1|e>>>31}function o(e){return e<<5|e>>>27}function s(e){return e<<30|e>>>2}function a(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}var c=e("inherits"),f=e("./hash"),Buffer=e("safe-buffer").Buffer,u=[1518500249,1859775393,-1894007588,-899497514],h=new Array(80);c(n,f),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(e){for(var t=this._w,r=0|this._a,n=0|this._b,c=0|this._c,f=0|this._d,h=0|this._e,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=i(t[l-3]^t[l-8]^t[l-14]^t[l-16]);for(var d=0;d<80;++d){var p=~~(d/20),b=o(r)+a(p,n,c,f)+h+t[d]+u[p]|0;h=f,f=c,c=s(n),n=r,r=b}this._a=r+this._a|0,this._b=n+this._b|0,this._c=c+this._c|0,this._d=f+this._d|0,this._e=h+this._e|0},n.prototype._hash=function(){var e=Buffer.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=n},{"./hash":337,inherits:248,"safe-buffer":313}],341:[function(e,t,r){function n(){this.init(),this._w=a,s.call(this,64,56)}var i=e("inherits"),o=e("./sha256"),s=e("./hash"),Buffer=e("safe-buffer").Buffer,a=new Array(64);i(n,o),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 e=Buffer.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=n},{"./hash":337,"./sha256":342,inherits:248,"safe-buffer":313}],342:[function(e,t,r){function n(){this.init(),this._w=d,h.call(this,64,56)}function i(e,t,r){return r^e&(t^r)}function o(e,t,r){return e&t|r&(e|t)}function s(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function a(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function c(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function f(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}var u=e("inherits"),h=e("./hash"),Buffer=e("safe-buffer").Buffer,l=[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],d=new Array(64);u(n,h),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(e){for(var t=this._w,r=0|this._a,n=0|this._b,u=0|this._c,h=0|this._d,d=0|this._e,p=0|this._f,b=0|this._g,y=0|this._h,v=0;v<16;++v)t[v]=e.readInt32BE(4*v);for(;v<64;++v)t[v]=f(t[v-2])+t[v-7]+c(t[v-15])+t[v-16]|0;for(var m=0;m<64;++m){var g=y+a(d)+i(d,p,b)+l[m]+t[m]|0,w=s(r)+o(r,n,u)|0;y=b,b=p,p=d,d=h+g|0,h=u,u=n,n=r,r=g+w|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=u+this._c|0,this._d=h+this._d|0,this._e=d+this._e|0,this._f=p+this._f|0,this._g=b+this._g|0,this._h=y+this._h|0},n.prototype._hash=function(){var e=Buffer.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=n},{"./hash":337,inherits:248,"safe-buffer":313}],343:[function(e,t,r){function n(){this.init(),this._w=a,s.call(this,128,112)}var i=e("inherits"),o=e("./sha512"),s=e("./hash"),Buffer=e("safe-buffer").Buffer,a=new Array(160);i(n,o),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 e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}var t=Buffer.allocUnsafe(48);return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=n},{"./hash":337,"./sha512":344,inherits:248,"safe-buffer":313}],344:[function(e,t,r){function n(){this.init(),this._w=y,p.call(this,128,112)}function i(e,t,r){return r^e&(t^r)}function o(e,t,r){return e&t|r&(e|t)}function s(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function a(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function c(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function u(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function h(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function l(e,t){return e>>>0<t>>>0?1:0}var d=e("inherits"),p=e("./hash"),Buffer=e("safe-buffer").Buffer,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],y=new Array(160);d(n,p),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(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,d=0|this._ch,p=0|this._dh,y=0|this._eh,v=0|this._fh,m=0|this._gh,g=0|this._hh,w=0|this._al,_=0|this._bl,E=0|this._cl,S=0|this._dl,k=0|this._el,A=0|this._fl,x=0|this._gl,I=0|this._hl,T=0;T<32;T+=2)t[T]=e.readInt32BE(4*T),t[T+1]=e.readInt32BE(4*T+4);for(;T<160;T+=2){var B=t[T-30],P=t[T-30+1],M=c(B,P),C=f(P,B),R=u(B=t[T-4],P=t[T-4+1]),O=h(P,B),L=t[T-14],j=t[T-14+1],N=t[T-32],D=t[T-32+1],U=C+j|0,K=M+L+l(U,C)|0;K=(K=K+R+l(U=U+O|0,O)|0)+N+l(U=U+D|0,D)|0,t[T]=K,t[T+1]=U}for(var H=0;H<160;H+=2){K=t[H],U=t[H+1];var z=o(r,n,d),q=o(w,_,E),F=s(r,w),W=s(w,r),V=a(y,k),G=a(k,y),Y=b[H],J=b[H+1],X=i(y,v,m),Z=i(k,A,x),$=I+G|0,Q=g+V+l($,I)|0;Q=(Q=(Q=Q+X+l($=$+Z|0,Z)|0)+Y+l($=$+J|0,J)|0)+K+l($=$+U|0,U)|0;var ee=W+q|0,te=F+z+l(ee,W)|0;g=m,I=x,m=v,x=A,v=y,A=k,y=p+Q+l(k=S+$|0,S)|0,p=d,S=E,d=n,E=_,n=r,_=w,r=Q+te+l(w=$+ee|0,$)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+E|0,this._dl=this._dl+S|0,this._el=this._el+k|0,this._fl=this._fl+A|0,this._gl=this._gl+x|0,this._hl=this._hl+I|0,this._ah=this._ah+r+l(this._al,w)|0,this._bh=this._bh+n+l(this._bl,_)|0,this._ch=this._ch+d+l(this._cl,E)|0,this._dh=this._dh+p+l(this._dl,S)|0,this._eh=this._eh+y+l(this._el,k)|0,this._fh=this._fh+v+l(this._fl,A)|0,this._gh=this._gh+m+l(this._gl,x)|0,this._hh=this._hh+g+l(this._hl,I)|0},n.prototype._hash=function(){function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}var t=Buffer.allocUnsafe(64);return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=n},{"./hash":337,inherits:248,"safe-buffer":313}],345:[function(e,t,r){"use strict";function n(e,t,r){if(4!==t.length)throw new i.exception.invalid("invalid aes block size");var n=e.c[r],o=t[0]^n[0],s=t[r?3:1]^n[1],a=t[2]^n[2];t=t[r?1:3]^n[3];var c,f,u,h,l=n.length/4-2,d=4,p=[0,0,0,0];e=(c=e.j[r])[0];var b=c[1],y=c[2],v=c[3],m=c[4];for(h=0;h<l;h++)c=e[o>>>24]^b[s>>16&255]^y[a>>8&255]^v[255&t]^n[d],f=e[s>>>24]^b[a>>16&255]^y[t>>8&255]^v[255&o]^n[d+1],u=e[a>>>24]^b[t>>16&255]^y[o>>8&255]^v[255&s]^n[d+2],t=e[t>>>24]^b[o>>16&255]^y[s>>8&255]^v[255&a]^n[d+3],d+=4,o=c,s=f,a=u;for(h=0;4>h;h++)p[r?3&-h:h]=m[o>>>24]<<24^m[s>>16&255]<<16^m[a>>8&255]<<8^m[255&t]^n[d++],c=o,o=s,s=a,a=t,t=c;return p}var i={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(e){this.toString=function(){return"CORRUPT: "+this.message},this.message=e},invalid:function(e){this.toString=function(){return"INVALID: "+this.message},this.message=e},bug:function(e){this.toString=function(){return"BUG: "+this.message},this.message=e},notReady:function(e){this.toString=function(){return"NOT READY: "+this.message},this.message=e}}};i.cipher.aes=function(e){this.j[0][0][0]||this.m();var t,r,n,o,s=this.j[0][4],a=this.j[1],c=1;if(4!==(t=e.length)&&6!==t&&8!==t)throw new i.exception.invalid("invalid aes key size");for(this.c=[n=e.slice(0),o=[]],e=t;e<4*t+28;e++)r=n[e-1],(0==e%t||8===t&&4==e%t)&&(r=s[r>>>24]<<24^s[r>>16&255]<<16^s[r>>8&255]<<8^s[255&r],0==e%t&&(r=r<<8^r>>>24^c<<24,c=c<<1^283*(c>>7))),n[e]=n[e-t]^r;for(t=0;e;t++,e--)r=n[3&t?e:e-4],o[t]=4>=e||4>t?r:a[0][s[r>>>24]]^a[1][s[r>>16&255]]^a[2][s[r>>8&255]]^a[3][s[255&r]]},i.cipher.aes.prototype={encrypt:function(e){return n(this,e,0)},decrypt:function(e){return n(this,e,1)},j:[[[],[],[],[],[]],[[],[],[],[],[]]],m:function(){var e,t,r,n,i,o,s,a=this.j[0],c=this.j[1],f=a[4],u=c[4],h=[],l=[];for(e=0;256>e;e++)l[(h[e]=e<<1^283*(e>>7))^e]=e;for(t=r=0;!f[t];t^=n||1,r=l[r]||1)for(o=r^r<<1^r<<2^r<<3^r<<4,o=o>>8^255&o^99,f[t]=o,u[o]=t,i=h[e=h[n=h[t]]],s=16843009*i^65537*e^257*n^16843008*t,i=257*h[o]^16843008*o,e=0;4>e;e++)a[e][t]=i=i<<24^i>>>8,c[e][o]=s=s<<24^s>>>8;for(e=0;5>e;e++)a[e]=a[e].slice(0),c[e]=c[e].slice(0)}},i.bitArray={bitSlice:function(e,t,r){return e=i.bitArray.v(e.slice(t/32),32-(31&t)).slice(1),void 0===r?e:i.bitArray.clamp(e,r-t)},extract:function(e,t,r){var n=Math.floor(-t-r&31);return(-32&(t+r-1^t)?e[t/32|0]<<32-n^e[t/32+1|0]>>>n:e[t/32|0]>>>n)&(1<<r)-1},concat:function(e,t){if(0===e.length||0===t.length)return e.concat(t);var r=e[e.length-1],n=i.bitArray.getPartial(r);return 32===n?e.concat(t):i.bitArray.v(t,n,0|r,e.slice(0,e.length-1))},bitLength:function(e){var t=e.length;return 0===t?0:32*(t-1)+i.bitArray.getPartial(e[t-1])},clamp:function(e,t){if(32*e.length<t)return e;var r=(e=e.slice(0,Math.ceil(t/32))).length;return t&=31,0<r&&t&&(e[r-1]=i.bitArray.partial(t,e[r-1]&2147483648>>t-1,1)),e},partial:function(e,t,r){return 32===e?t:(r?0|t:t<<32-e)+1099511627776*e},getPartial:function(e){return Math.round(e/1099511627776)||32},equal:function(e,t){if(i.bitArray.bitLength(e)!==i.bitArray.bitLength(t))return!1;var r,n=0;for(r=0;r<e.length;r++)n|=e[r]^t[r];return 0===n},v:function(e,t,r,n){var o;for(o=0,void 0===n&&(n=[]);32<=t;t-=32)n.push(r),r=0;if(0===t)return n.concat(e);for(o=0;o<e.length;o++)n.push(r|e[o]>>>t),r=e[o]<<32-t;return o=e.length?e[e.length-1]:0,e=i.bitArray.getPartial(o),n.push(i.bitArray.partial(t+e&31,32<t+e?r:n.pop(),1)),n},D:function(e,t){return[e[0]^t[0],e[1]^t[1],e[2]^t[2],e[3]^t[3]]},byteswapM:function(e){var t,r;for(t=0;t<e.length;++t)r=e[t],e[t]=r>>>24|r>>>8&65280|(65280&r)<<8|r<<24;return e}},i.codec.utf8String={fromBits:function(e){var t,r,n="",o=i.bitArray.bitLength(e);for(t=0;t<o/8;t++)0==(3&t)&&(r=e[t/4]),n+=String.fromCharCode(r>>>24),r<<=8;return decodeURIComponent(escape(n))},toBits:function(e){e=unescape(encodeURIComponent(e));var t,r=[],n=0;for(t=0;t<e.length;t++)n=n<<8|e.charCodeAt(t),3==(3&t)&&(r.push(n),n=0);return 3&t&&r.push(i.bitArray.partial(8*(3&t),n)),r}},i.codec.hex={fromBits:function(e){var t,r="";for(t=0;t<e.length;t++)r+=(0xf00000000000+(0|e[t])).toString(16).substr(4);return r.substr(0,i.bitArray.bitLength(e)/4)},toBits:function(e){var t,r,n=[];for(r=(e=e.replace(/\s|0x/g,"")).length,e+="00000000",t=0;t<e.length;t+=8)n.push(0^parseInt(e.substr(t,8),16));return i.bitArray.clamp(n,4*r)}},i.hash.sha256=function(e){this.c[0]||this.m(),e?(this.f=e.f.slice(0),this.b=e.b.slice(0),this.a=e.a):this.reset()},i.hash.sha256.hash=function(e){return(new i.hash.sha256).update(e).finalize()},i.hash.sha256.prototype={blockSize:512,reset:function(){return this.f=this.i.slice(0),this.b=[],this.a=0,this},update:function(e){"string"==typeof e&&(e=i.codec.utf8String.toBits(e));var t,r=this.b=i.bitArray.concat(this.b,e);if(t=this.a,9007199254740991<(e=this.a=t+i.bitArray.bitLength(e)))throw new i.exception.invalid("Cannot hash more than 2^53 - 1 bits");if("undefined"!=typeof Uint32Array){var n=new Uint32Array(r),o=0;for(t=512+t-(512+t&511);t<=e;t+=512)this.g(n.subarray(16*o,16*(o+1))),o+=1;r.splice(0,16*o)}else for(t=512+t-(512+t&511);t<=e;t+=512)this.g(r.splice(0,16));return this},finalize:function(){var e,t=this.b,r=this.f;for(e=(t=i.bitArray.concat(t,[i.bitArray.partial(1,1)])).length+2;15&e;e++)t.push(0);for(t.push(Math.floor(this.a/4294967296)),t.push(0|this.a);t.length;)this.g(t.splice(0,16));return this.reset(),r},i:[],c:[],m:function(){function e(e){return 4294967296*(e-Math.floor(e))|0}for(var t,r,n=0,i=2;64>n;i++){for(r=!0,t=2;t*t<=i;t++)if(0==i%t){r=!1;break}r&&(8>n&&(this.i[n]=e(Math.pow(i,.5))),this.c[n]=e(Math.pow(i,1/3)),n++)}},g:function(e){var t,r,n,i=this.f,o=this.c,s=i[0],a=i[1],c=i[2],f=i[3],u=i[4],h=i[5],l=i[6],d=i[7];for(t=0;64>t;t++)16>t?r=e[t]:(r=e[t+1&15],n=e[t+14&15],r=e[15&t]=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(n>>>17^n>>>19^n>>>10^n<<15^n<<13)+e[15&t]+e[t+9&15]|0),r=r+d+(u>>>6^u>>>11^u>>>25^u<<26^u<<21^u<<7)+(l^u&(h^l))+o[t],d=l,l=h,h=u,u=f+r|0,f=c,c=a,a=s,s=r+(a&c^f&(a^c))+(a>>>2^a>>>13^a>>>22^a<<30^a<<19^a<<10)|0;i[0]=i[0]+s|0,i[1]=i[1]+a|0,i[2]=i[2]+c|0,i[3]=i[3]+f|0,i[4]=i[4]+u|0,i[5]=i[5]+h|0,i[6]=i[6]+l|0,i[7]=i[7]+d|0}},i.hash.sha512=function(e){this.c[0]||this.m(),e?(this.f=e.f.slice(0),this.b=e.b.slice(0),this.a=e.a):this.reset()},i.hash.sha512.hash=function(e){return(new i.hash.sha512).update(e).finalize()},i.hash.sha512.prototype={blockSize:1024,reset:function(){return this.f=this.i.slice(0),this.b=[],this.a=0,this},update:function(e){"string"==typeof e&&(e=i.codec.utf8String.toBits(e));var t,r=this.b=i.bitArray.concat(this.b,e);if(t=this.a,9007199254740991<(e=this.a=t+i.bitArray.bitLength(e)))throw new i.exception.invalid("Cannot hash more than 2^53 - 1 bits");if("undefined"!=typeof Uint32Array){var n=new Uint32Array(r),o=0;for(t=1024+t-(1024+t&1023);t<=e;t+=1024)this.g(n.subarray(32*o,32*(o+1))),o+=1;r.splice(0,32*o)}else for(t=1024+t-(1024+t&1023);t<=e;t+=1024)this.g(r.splice(0,32));return this},finalize:function(){var e,t=this.b,r=this.f;for(e=(t=i.bitArray.concat(t,[i.bitArray.partial(1,1)])).length+4;31&e;e++)t.push(0);for(t.push(0),t.push(0),t.push(Math.floor(this.a/4294967296)),t.push(0|this.a);t.length;)this.g(t.splice(0,32));return this.reset(),r},i:[],B:[12372232,13281083,9762859,1914609,15106769,4090911,4308331,8266105],c:[],C:[2666018,15689165,5061423,9034684,4764984,380953,1658779,7176472,197186,7368638,14987916,16757986,8096111,1480369,13046325,6891156,15813330,5187043,9229749,11312229,2818677,10937475,4324308,1135541,6741931,11809296,16458047,15666916,11046850,698149,229999,945776,13774844,2541862,12856045,9810911,11494366,7844520,15576806,8533307,15795044,4337665,16291729,5553712,15684120,6662416,7413802,12308920,13816008,4303699,9366425,10176680,13195875,4295371,6546291,11712675,15708924,1519456,15772530,6568428,6495784,8568297,13007125,7492395,2515356,12632583,14740254,7262584,1535930,13146278,16321966,1853211,294276,13051027,13221564,1051980,4080310,6651434,14088940,4675607],m:function(){function e(e){return 4294967296*(e-Math.floor(e))|0}function t(e){return 1099511627776*(e-Math.floor(e))&255}for(var r,n,i=0,o=2;80>i;o++){for(n=!0,r=2;r*r<=o;r++)if(0==o%r){n=!1;break}n&&(8>i&&(this.i[2*i]=e(Math.pow(o,.5)),this.i[2*i+1]=t(Math.pow(o,.5))<<24|this.B[i]),this.c[2*i]=e(Math.pow(o,1/3)),this.c[2*i+1]=t(Math.pow(o,1/3))<<24|this.C[i],i++)}},g:function(e){var t,r,n,i=this.f,o=this.c,s=i[0],a=i[1],c=i[2],f=i[3],u=i[4],h=i[5],l=i[6],d=i[7],p=i[8],b=i[9],y=i[10],v=i[11],m=i[12],g=i[13],w=i[14],_=i[15];if("undefined"!=typeof Uint32Array){n=Array(160);for(E=0;32>E;E++)n[E]=e[E]}else n=e;var E=s,S=a,k=c,A=f,x=u,I=h,T=l,B=d,P=p,M=b,C=y,R=v,O=m,L=g,j=w,N=_;for(e=0;80>e;e++){if(16>e)t=n[2*e],r=n[2*e+1];else{r=n[2*(e-15)];t=((D=n[2*(e-15)+1])<<31|r>>>1)^(D<<24|r>>>8)^r>>>7;G=(r<<31|D>>>1)^(r<<24|D>>>8)^(r<<25|D>>>7);r=n[2*(e-2)];var D=((U=n[2*(e-2)+1])<<13|r>>>19)^(r<<3|U>>>29)^r>>>6,U=(r<<13|U>>>19)^(U<<3|r>>>29)^(r<<26|U>>>6),K=n[2*(e-7)],H=n[2*(e-16)],z=n[2*(e-16)+1];t=t+K+((r=G+n[2*(e-7)+1])>>>0<G>>>0?1:0),t+=D+((r+=U)>>>0<U>>>0?1:0),t+=H+((r+=z)>>>0<z>>>0?1:0)}n[2*e]=t|=0,n[2*e+1]=r|=0;var K=P&C^~P&O,q=M&R^~M&L,U=E&k^E&x^k&x,F=S&A^S&I^A&I,H=(S<<4|E>>>28)^(E<<30|S>>>2)^(E<<25|S>>>7),z=(E<<4|S>>>28)^(S<<30|E>>>2)^(S<<25|E>>>7),W=o[2*e],V=o[2*e+1],G=(G=(G=(G=j+((M<<18|P>>>14)^(M<<14|P>>>18)^(P<<23|M>>>9))+((D=N+((P<<18|M>>>14)^(P<<14|M>>>18)^(M<<23|P>>>9)))>>>0<N>>>0?1:0))+(K+((D=D+q)>>>0<q>>>0?1:0)))+(W+((D=D+V)>>>0<V>>>0?1:0)))+(t+((D=D+r|0)>>>0<r>>>0?1:0));t=H+U+((r=z+F)>>>0<z>>>0?1:0),j=O,N=L,O=C,L=R,C=P,R=M,P=T+G+((M=B+D|0)>>>0<B>>>0?1:0)|0,T=x,B=I,x=k,I=A,k=E,A=S,E=G+t+((S=D+r|0)>>>0<D>>>0?1:0)|0}a=i[1]=a+S|0,i[0]=s+E+(a>>>0<S>>>0?1:0)|0,f=i[3]=f+A|0,i[2]=c+k+(f>>>0<A>>>0?1:0)|0,h=i[5]=h+I|0,i[4]=u+x+(h>>>0<I>>>0?1:0)|0,d=i[7]=d+B|0,i[6]=l+T+(d>>>0<B>>>0?1:0)|0,b=i[9]=b+M|0,i[8]=p+P+(b>>>0<M>>>0?1:0)|0,v=i[11]=v+R|0,i[10]=y+C+(v>>>0<R>>>0?1:0)|0,g=i[13]=g+L|0,i[12]=m+O+(g>>>0<L>>>0?1:0)|0,_=i[15]=_+N|0,i[14]=w+j+(_>>>0<N>>>0?1:0)|0}},i.mode.gcm={name:"gcm",encrypt:function(e,t,r,n,o){var s=t.slice(0);return t=i.bitArray,n=n||[],e=i.mode.gcm.s(!0,e,s,n,r,o||128),t.concat(e.data,e.tag)},decrypt:function(e,t,r,n,o){var s=t.slice(0),a=i.bitArray,c=a.bitLength(s);if(o=o||128,n=n||[],o<=c?(t=a.bitSlice(s,c-o),s=a.bitSlice(s,0,c-o)):(t=s,s=[]),e=i.mode.gcm.s(!1,e,s,n,r,o),!a.equal(e.tag,t))throw new i.exception.corrupt("gcm: tag doesn't match");return e.data},A:function(e,t){var r,n,o,s,a,c=i.bitArray.D;for(o=[0,0,0,0],s=t.slice(0),r=0;128>r;r++){for((n=0!=(e[Math.floor(r/32)]&1<<31-r%32))&&(o=c(o,s)),a=0!=(1&s[3]),n=3;0<n;n--)s[n]=s[n]>>>1|(1&s[n-1])<<31;s[0]>>>=1,a&&(s[0]^=-520093696)}return o},h:function(e,t,r){var n,o=r.length;for(t=t.slice(0),n=0;n<o;n+=4)t[0]^=4294967295&r[n],t[1]^=4294967295&r[n+1],t[2]^=4294967295&r[n+2],t[3]^=4294967295&r[n+3],t=i.mode.gcm.A(t,e);return t},s:function(e,t,r,n,o,s){var a,c,f,u,h,l,d,p,b=i.bitArray;for(l=r.length,d=b.bitLength(r),p=b.bitLength(n),c=b.bitLength(o),a=t.encrypt([0,0,0,0]),96===c?(o=o.slice(0),o=b.concat(o,[1])):(o=i.mode.gcm.h(a,[0,0,0,0],o),o=i.mode.gcm.h(a,o,[0,0,Math.floor(c/4294967296),4294967295&c])),c=i.mode.gcm.h(a,[0,0,0,0],n),h=o.slice(0),n=c.slice(0),e||(n=i.mode.gcm.h(a,c,r)),u=0;u<l;u+=4)h[3]++,f=t.encrypt(h),r[u]^=f[0],r[u+1]^=f[1],r[u+2]^=f[2],r[u+3]^=f[3];return r=b.clamp(r,d),e&&(n=i.mode.gcm.h(a,c,r)),e=[Math.floor(p/4294967296),4294967295&p,Math.floor(d/4294967296),4294967295&d],n=i.mode.gcm.h(a,n,e),f=t.encrypt(o),n[0]^=f[0],n[1]^=f[1],n[2]^=f[2],n[3]^=f[3],{tag:b.bitSlice(n,0,s),data:r}}},i.misc.hmac=function(e,t){this.u=t=t||i.hash.sha256;var r,n=[[],[]],o=t.prototype.blockSize/32;for(this.l=[new t,new t],e.length>o&&(e=t.hash(e)),r=0;r<o;r++)n[0][r]=909522486^e[r],n[1][r]=1549556828^e[r];this.l[0].update(n[0]),this.l[1].update(n[1]),this.o=new t(this.l[0])},i.misc.hmac.prototype.encrypt=i.misc.hmac.prototype.mac=function(e){if(this.w)throw new i.exception.invalid("encrypt on already updated hmac called!");return this.update(e),this.digest(e)},i.misc.hmac.prototype.reset=function(){this.o=new this.u(this.l[0]),this.w=!1},i.misc.hmac.prototype.update=function(e){this.w=!0,this.o.update(e)},i.misc.hmac.prototype.digest=function(){var e=this.o.finalize(),e=new this.u(this.l[1]).update(e).finalize();return this.reset(),e},i.misc.pbkdf2=function(e,t,r,n,o){if(r=r||1e4,0>n||0>r)throw new i.exception.invalid("invalid params to pbkdf2");"string"==typeof e&&(e=i.codec.utf8String.toBits(e)),"string"==typeof t&&(t=i.codec.utf8String.toBits(t)),e=new(o=o||i.misc.hmac)(e);var s,a,c,f,u=[],h=i.bitArray;for(f=1;32*u.length<(n||1);f++){for(o=s=e.encrypt(h.concat(t,[f])),a=1;a<r;a++)for(s=e.encrypt(s),c=0;c<s.length;c++)o[c]^=s[c];u=u.concat(o)}return n&&(u=h.clamp(u,n)),u},void 0!==t&&t.exports&&(t.exports=i),"function"==typeof define&&define([],function(){return i})},{}],346:[function(e,t,r){function n(){i.call(this)}t.exports=n;var i=e("events").EventEmitter;e("inherits")(n,i),n.Readable=e("readable-stream/readable.js"),n.Writable=e("readable-stream/writable.js"),n.Duplex=e("readable-stream/duplex.js"),n.Transform=e("readable-stream/transform.js"),n.PassThrough=e("readable-stream/passthrough.js"),n.Stream=n,n.prototype.pipe=function(e,t){function r(t){e.writable&&!1===e.write(t)&&f.pause&&f.pause()}function n(){f.readable&&f.resume&&f.resume()}function o(){u||(u=!0,e.end())}function s(){u||(u=!0,"function"==typeof e.destroy&&e.destroy())}function a(e){if(c(),0===i.listenerCount(this,"error"))throw e}function c(){f.removeListener("data",r),e.removeListener("drain",n),f.removeListener("end",o),f.removeListener("close",s),f.removeListener("error",a),e.removeListener("error",a),f.removeListener("end",c),f.removeListener("close",c),e.removeListener("close",c)}var f=this;f.on("data",r),e.on("drain",n),e._isStdio||t&&!1===t.end||(f.on("end",o),f.on("close",s));var u=!1;return f.on("error",a),e.on("error",a),f.on("end",c),f.on("close",c),e.on("close",c),e.emit("pipe",f),e}},{events:230,inherits:248,"readable-stream/duplex.js":301,"readable-stream/passthrough.js":307,"readable-stream/readable.js":308,"readable-stream/transform.js":309,"readable-stream/writable.js":310}],347:[function(e,t,r){function n(e){return e.toString(this.encoding)}function i(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function o(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var Buffer=e("buffer").Buffer,s=Buffer.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},a=r.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!s(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=i;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=o;break;default:return void(this.write=n)}this.charBuffer=new Buffer(6),this.charReceived=0,this.charLength=0};a.prototype.write=function(e){for(var t="";this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";e=e.slice(r,e.length);if(!((i=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))>=55296&&i<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);n=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,n),n-=this.charReceived);var n=(t+=e.toString(this.encoding,0,n)).length-1,i=t.charCodeAt(n);if(i>=55296&&i<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,n)}return t},a.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(t<=2&&r>>4==14){this.charLength=3;break}if(t<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=t},a.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;t+=n.slice(0,r).toString(i)}return t}},{buffer:105}],348:[function(e,t,r){t.exports=function(t){return t.signer=t.signer||e("./lib/signer-hmac-only"),e("./lib/index")(t)}},{"./lib/index":349,"./lib/signer-hmac-only":350}],349:[function(e,t,r){function n(e,t){return e.get?e.get(t):e.getHeader(t)}function i(e){this.name="MissingHeaderError",this.message=e,this.stack=(new Error).stack}function o(e){this.name="InvalidAlgorithmError",this.message=e,this.stack=(new Error).stack}function s(e){var t=e.match(/^(?:(.*?):\/\/?)?\/?(?:[^\/\.]+\.)*?([^\/\.]+)\.?([^\/]*)(?:([^?]*)?(?:\?(‌​[^#]*))?)?(.*)?/);return!!t&&t[4]+(t[6]||"")}function a(e){return parseInt(e,10)<10&&(e="0"+e),e}function c(e,t){if(t.headers||(t.headers=["date"]),n(e,"Date")||-1===t.headers.indexOf("date")||e.set("Date",function(){var e=new Date;return["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][e.getUTCDay()]+", "+a(e.getUTCDate())+" "+["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][e.getUTCMonth()]+" "+e.getUTCFullYear()+" "+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+" GMT"}()),t.algorithm||(t.algorithm="rsa-sha256"),t.httpVersion||(t.httpVersion="1.1"),t.algorithm=t.algorithm.toLowerCase(),!u[t.algorithm])throw new o(t.algorithm+" is not supported");var r,c,l="";for(r=0;r<t.headers.length;r++){if("string"!=typeof t.headers[r])throw new TypeError("options.headers must be an array of Strings");var d=t.headers[r].toLowerCase();if("request-line"===d)c=l+=e.method+" "+s(e.url)+" HTTP/"+t.httpVersion;else if("(request-target)"===d)c=l+="(request-target): "+e.method.toLowerCase()+" "+s(e.url);else{if(!(c=n(e,d)))throw new i(d+" was not in the request");l+=d+": "+c}r+1<t.headers.length&&(l+="\n")}var p=t.signer(l,t);return e.set("Authorization",f(h,t.keyId,t.algorithm,t.headers.join(" "),p)),!0}var f=e("util").format;i.prototype=new Error,o.prototype=new Error;var u={"rsa-sha1":!0,"rsa-sha256":!0,"rsa-sha512":!0,"dsa-sha1":!0,"hmac-sha1":!0,"hmac-sha256":!0,"hmac-sha512":!0},h='Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"';t.exports=function(e){return function(t){return c(t,e),t}}},{util:362}],350:[function(e,t,r){var n=e("create-hmac");t.exports=function(e,t){var r=t.algorithm.match(/(hmac|rsa)-(\w+)/);if("hmac"!==r[1])throw new Error("Only HMAC is supported!");var i=n(r[2].toUpperCase(),t.key);return i.update(e),i.digest("base64")}},{"create-hmac":133}],351:[function(e,t,r){function n(e){return e===Object(e)}function i(e){if(!n(e))return e;var t=[];for(var r in e)null!=e[r]&&t.push(encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t.join("&")}function o(e){for(var t,r={},n=e.split("&"),i=0,o=n.length;i<o;++i)t=n[i].split("="),r[decodeURIComponent(t[0])]=decodeURIComponent(t[1]);return r}function s(e,t){t=t||{},this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method?this.xhr.responseText:null,this.setStatusProperties(this.xhr.status),this.header=this.headers=function(e){var t,r,n,i,o=e.split(/\r?\n/),s={};o.pop();for(var a=0,c=o.length;a<c;++a)t=(r=o[a]).indexOf(":"),n=r.slice(0,t).toLowerCase(),i=l(r.slice(t+1)),s[n]=i;return s}(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this.setHeaderProperties(this.header),this.body="HEAD"!=this.req.method?this.parseBody(this.text):null}function a(e,t){var r=this;f.call(this),this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",function(){var e=null,t=null;try{t=new s(r)}catch(t){(e=new Error("Parser is unable to parse the response")).parse=!0,e.original=t}r.callback(e,t)})}function c(e,t){return"function"==typeof t?new a("GET",e).end(t):1==arguments.length?new a("GET",e):new a(e,t)}var f=e("emitter"),u=e("reduce"),h="undefined"==typeof window?this:window,l="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};c.serializeObject=i,c.parseString=o,c.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},c.serialize={"application/x-www-form-urlencoded":i,"application/json":JSON.stringify},c.parse={"application/x-www-form-urlencoded":o,"application/json":JSON.parse},s.prototype.get=function(e){return this.header[e.toLowerCase()]},s.prototype.setHeaderProperties=function(e){var t=this.header["content-type"]||"";this.type=function(e){return e.split(/ *; */).shift()}(t);var r=function(e){return u(e.split(/ *; */),function(e,t){var r=t.split(/ *= */),n=r.shift(),i=r.shift();return n&&i&&(e[n]=i),e},{})}(t);for(var n in r)this[n]=r[n]},s.prototype.parseBody=function(e){var t=c.parse[this.type];return t&&e&&e.length?t(e):null},s.prototype.setStatusProperties=function(e){var t=e/100|0;this.status=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e||1223==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.notFound=404==e,this.forbidden=403==e},s.prototype.toError=function(){var e=this.req,t=e.method,r=e.url,n="cannot "+t+" "+r+" ("+this.status+")",i=new Error(n);return i.status=this.status,i.method=t,i.url=r,i},c.Response=s,f(a.prototype),a.prototype.use=function(e){return e(this),this},a.prototype.timeout=function(e){return this._timeout=e,this},a.prototype.clearTimeout=function(){return this._timeout=0,clearTimeout(this._timer),this},a.prototype.abort=function(){if(!this.aborted)return this.aborted=!0,this.xhr.abort(),this.clearTimeout(),this.emit("abort"),this},a.prototype.set=function(e,t){if(n(e)){for(var r in e)this.set(r,e[r]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},a.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},a.prototype.getHeader=function(e){return this._header[e.toLowerCase()]},a.prototype.type=function(e){return this.set("Content-Type",c.types[e]||e),this},a.prototype.accept=function(e){return this.set("Accept",c.types[e]||e),this},a.prototype.auth=function(e,t){var r=btoa(e+":"+t);return this.set("Authorization","Basic "+r),this},a.prototype.query=function(e){return"string"!=typeof e&&(e=i(e)),e&&this._query.push(e),this},a.prototype.field=function(e,t){return this._formData||(this._formData=new FormData),this._formData.append(e,t),this},a.prototype.attach=function(e,t,r){return this._formData||(this._formData=new FormData),this._formData.append(e,t,r),this},a.prototype.send=function(e){var t=n(e),r=this.getHeader("Content-Type");if(t&&n(this._data))for(var i in e)this._data[i]=e[i];else"string"==typeof e?(r||this.type("form"),r=this.getHeader("Content-Type"),this._data="application/x-www-form-urlencoded"==r?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return t?(r||this.type("json"),this):this},a.prototype.callback=function(e,t){var r=this._callback;return this.clearTimeout(),2==r.length?r(e,t):e?this.emit("error",e):void r(t)},a.prototype.crossDomainError=function(){var e=new Error("Origin is not allowed by Access-Control-Allow-Origin");e.crossDomain=!0,this.callback(e)},a.prototype.timeoutError=function(){var e=this._timeout,t=new Error("timeout of "+e+"ms exceeded");t.timeout=e,this.callback(t)},a.prototype.withCredentials=function(){return this._withCredentials=!0,this},a.prototype.end=function(e){var t=this,r=this.xhr=function(){if(h.XMLHttpRequest&&("file:"!=h.location.protocol||!h.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}return!1}(),n=this._query.join("&"),i=this._timeout,o=this._formData||this._data;if(this._callback=e||function(){},r.onreadystatechange=function(){if(4==r.readyState)return 0==r.status?t.aborted?t.timeoutError():t.crossDomainError():void t.emit("end")},r.upload&&(r.upload.onprogress=function(e){e.percent=e.loaded/e.total*100,t.emit("progress",e)}),i&&!this._timer&&(this._timer=setTimeout(function(){t.abort()},i)),n&&(n=c.serializeObject(n),this.url+=~this.url.indexOf("?")?"&"+n:"?"+n),r.open(this.method,this.url,!0),this._withCredentials&&(r.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof o&&!function(e){switch({}.toString.call(e)){case"[object File]":case"[object Blob]":case"[object FormData]":return!0;default:return!1}}(o)){var s=c.serialize[this.getHeader("Content-Type")];s&&(o=s(o))}for(var a in this.header)null!=this.header[a]&&r.setRequestHeader(a,this.header[a]);return this.emit("request",this),r.send(o),this},c.Request=a,c.get=function(e,t,r){var n=c("GET",e);return"function"==typeof t&&(r=t,t=null),t&&n.query(t),r&&n.end(r),n},c.head=function(e,t,r){var n=c("HEAD",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},c.del=function(e,t){var r=c("DELETE",e);return t&&r.end(t),r},c.patch=function(e,t,r){var n=c("PATCH",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},c.post=function(e,t,r){var n=c("POST",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},c.put=function(e,t,r){var n=c("PUT",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},t.exports=c},{emitter:110,reduce:311}],352:[function(e,t,r){function n(e){return e.name||e.toString().match(/function (.*?)\s*\(/)[1]}function i(e){return f.Nil(e)?"":n(e.constructor)}function o(e){return f.Function(e)?e.toJSON?e.toJSON():n(e):f.Array(e)?"Array":e&&f.Object(e)?"Object":void 0!==e?e:""}function s(e,t,r){var n=function(e){return f.Function(e)?"":f.String(e)?JSON.stringify(e):e&&f.Object(e)?"":e}(t);return"Expected "+o(e)+", got"+(""!==r?" "+r:"")+(""!==n?" "+n:"")}function a(e,t,r){r=r||i(t),this.message=s(e,t,r),Error.captureStackTrace(this,a),this.__type=e,this.__value=t,this.__valueTypeName=r}function c(e,t,r,n,c){e?(c=c||i(n),this.message=function(e,t,r,n,i){var a='" of type ';return"key"===t&&(a='" with key type '),s('property "'+o(r)+a+o(e),n,i)}(e,r,t,n,c)):this.message='Unexpected property "'+t+'"',Error.captureStackTrace(this,a),this.__label=r,this.__property=t,this.__type=e,this.__value=n,this.__valueTypeName=c}var f=e("./native");(a.prototype=Object.create(Error.prototype)).constructor=a,(c.prototype=Object.create(Error.prototype)).constructor=a,t.exports={TfTypeError:a,TfPropertyTypeError:c,tfCustomError:function(e,t){return new a(e,{},t)},tfSubError:function(e,t,r){return e instanceof c?(t=t+"."+e.__property,e=new c(e.__type,t,e.__label,e.__value,e.__valueTypeName)):e instanceof a&&(e=new c(e.__type,t,r,e.__value,e.__valueTypeName)),Error.captureStackTrace(e),e},tfJSON:o,getValueTypeName:i}},{"./native":355}],353:[function(e,t,r){(function(Buffer){function r(e){return Buffer.isBuffer(e)}function n(e){return"string"==typeof e&&/^([0-9a-f]{2})+$/i.test(e)}function i(e,t){function r(r){if(!e(r))return!1;if(r.length===t)return!0;throw s.tfCustomError(n+"(Length: "+t+")",n+"(Length: "+r.length+")")}var n=e.toJSON();return r.toJSON=function(){return n},r}var o=e("./native"),s=e("./errors"),a=i.bind(null,o.Array),c=i.bind(null,r),f=i.bind(null,n),u=i.bind(null,o.String),h=Math.pow(2,53)-1,l={ArrayN:a,Buffer:r,BufferN:c,Finite:function(e){return"number"==typeof e&&isFinite(e)},Hex:n,HexN:f,Int8:function(e){return e<<24>>24===e},Int16:function(e){return e<<16>>16===e},Int32:function(e){return(0|e)===e},StringN:u,UInt8:function(e){return(255&e)===e},UInt16:function(e){return(65535&e)===e},UInt32:function(e){return e>>>0===e},UInt53:function(e){return"number"==typeof e&&e>=0&&e<=h&&Math.floor(e)===e}};for(var d in l)l[d].toJSON=function(e){return e}.bind(null,d);t.exports=l}).call(this,{isBuffer:e("../is-buffer/index.js")})},{"../is-buffer/index.js":249,"./errors":352,"./native":355}],354:[function(e,t,r){function n(e){return a.String(e)?"?"===e[0]?d.maybe(e.slice(1)):a[e]||d.quacksLike(e):e&&a.Object(e)?a.Array(e)?d.arrayOf(e[0]):d.object(e):a.Function(e)?e:d.value(e)}function i(e,t,r,o){if(a.Function(e)){if(e(t,r))return!0;throw new f(o||e,t)}return i(n(e),t,r)}function o(e,t,r,n){if("function"==typeof r)return o(e,t,!1,r);try{i(e,t,r)}catch(e){return n(e)}n()}var s=e("./errors"),a=e("./native"),c=s.tfJSON,f=s.TfTypeError,u=s.TfPropertyTypeError,h=s.tfSubError,l=s.getValueTypeName,d={arrayOf:function(e){function t(t,r){return!!a.Array(t)&&(!a.Nil(t)&&t.every(function(t,n){try{return i(e,t,r)}catch(e){throw h(e,n)}}))}return e=n(e),t.toJSON=function(){return"["+c(e)+"]"},t},maybe:function e(t){function r(r,n){return a.Nil(r)||t(r,n,e)}return t=n(t),r.toJSON=function(){return"?"+c(t)},r},map:function(e,t){function r(r,n){if(!a.Object(r))return!1;if(a.Nil(r))return!1;for(var o in r){try{t&&i(t,o,n)}catch(e){throw h(e,o,"key")}try{var s=r[o];i(e,s,n)}catch(e){throw h(e,o)}}return!0}return e=n(e),t&&(t=n(t)),r.toJSON=t?function(){return"{"+c(t)+": "+c(e)+"}"}:function(){return"{"+c(e)+"}"},r},object:function(e){function t(e,t){if(!a.Object(e))return!1;if(a.Nil(e))return!1;var n;try{for(n in r){i(r[n],e[n],t)}}catch(e){throw h(e,n)}if(t)for(n in e)if(!r[n])throw new u(void 0,n);return!0}var r={};for(var o in e)r[o]=n(e[o]);return t.toJSON=function(){return c(r)},t},oneOf:function(){function e(e,r){return t.some(function(t){try{return i(t,e,r)}catch(e){return!1}})}var t=[].slice.call(arguments).map(n);return e.toJSON=function(){return t.map(c).join("|")},e},quacksLike:function(e){function t(t){return e===l(t)}return t.toJSON=function(){return e},t},tuple:function(){function e(e,r){return!a.Nil(e)&&(!a.Nil(e.length)&&((!r||e.length===t.length)&&t.every(function(t,n){try{return i(t,e[n],r)}catch(e){throw h(e,n)}})))}var t=[].slice.call(arguments).map(n);return e.toJSON=function(){return"("+t.map(c).join(", ")+")"},e},value:function(e){function t(t){return t===e}return t.toJSON=function(){return e},t}};for(var p in a)i[p]=a[p];for(p in d)i[p]=d[p];var b=e("./extra");for(p in b)i[p]=b[p];i.async=o,i.compile=n,i.TfTypeError=f,i.TfPropertyTypeError=u,t.exports=i},{"./errors":352,"./extra":353,"./native":355}],355:[function(e,t,r){var n={Array:function(e){return null!==e&&void 0!==e&&e.constructor===Array},Boolean:function(e){return"boolean"==typeof e},Function:function(e){return"function"==typeof e},Nil:function(e){return void 0===e||null===e},Number:function(e){return"number"==typeof e},Object:function(e){return"object"==typeof e},String:function(e){return"string"==typeof e},"":function(){return!0}};n.Null=n.Nil;for(var i in n)n[i].toJSON=function(e){return e}.bind(null,i);t.exports=n},{}],356:[function(e,t,r){!function(e){"use strict";for(var r=[null,0,{}],n=10,i=44032,o=4352,s=4449,a=4519,c=19,f=21,u=28,h=f*u,l=c*h,d=function(e,t){this.codepoint=e,this.feature=t},p={},b=[],y=0;y<=255;++y)b[y]=0;var v=[function(e,t,n){return t<60||13311<t&&t<42607?new d(t,r):e(t,n)},function(e,t,r){var i=p[t];return i||(i=e(t,r)).feature&&++b[t>>8&255]>n&&(p[t]=i),i},function(e,t,r){return r?e(t,r):new d(t,null)},function(e,t,r){var n;if(t<o||o+c<=t&&t<i||i+l<t)return e(t,r);if(o<=t&&t<o+c){var p={},b=(t-o)*f;for(n=0;n<f;++n)p[s+n]=i+u*(n+b);return new d(t,[,,p])}var y=t-i,v=y%u,m=[];if(0!==v)m[0]=[i+y-v,a+v];else for(m[0]=[o+Math.floor(y/h),s+Math.floor(y%h/u)],m[2]={},n=1;n<u;++n)m[2][a+n]=t+n;return new d(t,m)},function(e,t,n){var i=65280&t,o=(d.udata[i]||{})[t];return o?new d(t,o):new d(t,r)}];d.fromCharCode=v.reduceRight(function(e,t){return function(r,n){return t(e,r,n)}},null),d.isHighSurrogate=function(e){return e>=55296&&e<=56319},d.isLowSurrogate=function(e){return e>=56320&&e<=57343},d.prototype.prepFeature=function(){this.feature||(this.feature=d.fromCharCode(this.codepoint,!0).feature)},d.prototype.toString=function(){if(this.codepoint<65536)return String.fromCharCode(this.codepoint);var e=this.codepoint-65536;return String.fromCharCode(Math.floor(e/1024)+55296,e%1024+56320)},d.prototype.getDecomp=function(){return this.prepFeature(),this.feature[0]||null},d.prototype.isCompatibility=function(){return this.prepFeature(),!!this.feature[1]&&256&this.feature[1]},d.prototype.isExclude=function(){return this.prepFeature(),!!this.feature[1]&&512&this.feature[1]},d.prototype.getCanonicalClass=function(){return this.prepFeature(),this.feature[1]?255&this.feature[1]:0},d.prototype.getComposite=function(e){if(this.prepFeature(),!this.feature[2])return null;var t=this.feature[2][e.codepoint];return t?d.fromCharCode(t):null};var m=function(e){this.str=e,this.cursor=0};m.prototype.next=function(){if(this.str&&this.cursor<this.str.length){var e,t=this.str.charCodeAt(this.cursor++);return d.isHighSurrogate(t)&&this.cursor<this.str.length&&d.isLowSurrogate(e=this.str.charCodeAt(this.cursor))&&(t=1024*(t-55296)+(e-56320)+65536,++this.cursor),d.fromCharCode(t)}return this.str=null,null};var g=function(e,t){this.it=e,this.canonical=t,this.resBuf=[]};g.prototype.next=function(){function e(t,r){var n=r.getDecomp();if(!n||t&&r.isCompatibility())return[r];for(var i=[],o=0;o<n.length;++o){var s=e(t,d.fromCharCode(n[o]));i=i.concat(s)}return i}if(0===this.resBuf.length){var t=this.it.next();if(!t)return null;this.resBuf=e(this.canonical,t)}return this.resBuf.shift()};var w=function(e){this.it=e,this.resBuf=[]};w.prototype.next=function(){var e;if(0===this.resBuf.length)do{var t=this.it.next();if(!t)break;e=t.getCanonicalClass();var r=this.resBuf.length;if(0!==e)for(;r>0;--r){if(this.resBuf[r-1].getCanonicalClass()<=e)break}this.resBuf.splice(r,0,t)}while(0!==e);return this.resBuf.shift()};var _=function(e){this.it=e,this.procBuf=[],this.resBuf=[],this.lastClass=null};_.prototype.next=function(){for(;0===this.resBuf.length;){var e=this.it.next();if(!e){this.resBuf=this.procBuf,this.procBuf=[];break}if(0===this.procBuf.length)this.lastClass=e.getCanonicalClass(),this.procBuf.push(e);else{var t=this.procBuf[0].getComposite(e),r=e.getCanonicalClass();t&&(this.lastClass<r||0===this.lastClass)?this.procBuf[0]=t:(0===r&&(this.resBuf=this.procBuf,this.procBuf=[]),this.lastClass=r,this.procBuf.push(e))}}return this.resBuf.shift()};var E=function(e,t){for(var r,n=function(e,t){switch(e){case"NFD":return new w(new g(new m(t),!0));case"NFKD":return new w(new g(new m(t),!1));case"NFC":return new _(new w(new g(new m(t),!0)));case"NFKC":return new _(new w(new g(new m(t),!1)))}throw e+" is invalid"}(e,t),i="";r=n.next();)i+=r.toString();return i};d.udata={0:{60:[,,{824:8814}],61:[,,{824:8800}],62:[,,{824:8815}],65:[,,{768:192,769:193,770:194,771:195,772:256,774:258,775:550,776:196,777:7842,778:197,780:461,783:512,785:514,803:7840,805:7680,808:260}],66:[,,{775:7682,803:7684,817:7686}],67:[,,{769:262,770:264,775:266,780:268,807:199}],68:[,,{775:7690,780:270,803:7692,807:7696,813:7698,817:7694}],69:[,,{768:200,769:201,770:202,771:7868,772:274,774:276,775:278,776:203,777:7866,780:282,783:516,785:518,803:7864,807:552,808:280,813:7704,816:7706}],70:[,,{775:7710}],71:[,,{769:500,770:284,772:7712,774:286,775:288,780:486,807:290}],72:[,,{770:292,775:7714,776:7718,780:542,803:7716,807:7720,814:7722}],73:[,,{768:204,769:205,770:206,771:296,772:298,774:300,775:304,776:207,777:7880,780:463,783:520,785:522,803:7882,808:302,816:7724}],74:[,,{770:308}],75:[,,{769:7728,780:488,803:7730,807:310,817:7732}],76:[,,{769:313,780:317,803:7734,807:315,813:7740,817:7738}],77:[,,{769:7742,775:7744,803:7746}],78:[,,{768:504,769:323,771:209,775:7748,780:327,803:7750,807:325,813:7754,817:7752}],79:[,,{768:210,769:211,770:212,771:213,772:332,774:334,775:558,776:214,777:7886,779:336,780:465,783:524,785:526,795:416,803:7884,808:490}],80:[,,{769:7764,775:7766}],82:[,,{769:340,775:7768,780:344,783:528,785:530,803:7770,807:342,817:7774}],83:[,,{769:346,770:348,775:7776,780:352,803:7778,806:536,807:350}],84:[,,{775:7786,780:356,803:7788,806:538,807:354,813:7792,817:7790}],85:[,,{768:217,769:218,770:219,771:360,772:362,774:364,776:220,777:7910,778:366,779:368,780:467,783:532,785:534,795:431,803:7908,804:7794,808:370,813:7798,816:7796}],86:[,,{771:7804,803:7806}],87:[,,{768:7808,769:7810,770:372,775:7814,776:7812,803:7816}],88:[,,{775:7818,776:7820}],89:[,,{768:7922,769:221,770:374,771:7928,772:562,775:7822,776:376,777:7926,803:7924}],90:[,,{769:377,770:7824,775:379,780:381,803:7826,817:7828}],97:[,,{768:224,769:225,770:226,771:227,772:257,774:259,775:551,776:228,777:7843,778:229,780:462,783:513,785:515,803:7841,805:7681,808:261}],98:[,,{775:7683,803:7685,817:7687}],99:[,,{769:263,770:265,775:267,780:269,807:231}],100:[,,{775:7691,780:271,803:7693,807:7697,813:7699,817:7695}],101:[,,{768:232,769:233,770:234,771:7869,772:275,774:277,775:279,776:235,777:7867,780:283,783:517,785:519,803:7865,807:553,808:281,813:7705,816:7707}],102:[,,{775:7711}],103:[,,{769:501,770:285,772:7713,774:287,775:289,780:487,807:291}],104:[,,{770:293,775:7715,776:7719,780:543,803:7717,807:7721,814:7723,817:7830}],105:[,,{768:236,769:237,770:238,771:297,772:299,774:301,776:239,777:7881,780:464,783:521,785:523,803:7883,808:303,816:7725}],106:[,,{770:309,780:496}],107:[,,{769:7729,780:489,803:7731,807:311,817:7733}],108:[,,{769:314,780:318,803:7735,807:316,813:7741,817:7739}],109:[,,{769:7743,775:7745,803:7747}],110:[,,{768:505,769:324,771:241,775:7749,780:328,803:7751,807:326,813:7755,817:7753}],111:[,,{768:242,769:243,770:244,771:245,772:333,774:335,775:559,776:246,777:7887,779:337,780:466,783:525,785:527,795:417,803:7885,808:491}],112:[,,{769:7765,775:7767}],114:[,,{769:341,775:7769,780:345,783:529,785:531,803:7771,807:343,817:7775}],115:[,,{769:347,770:349,775:7777,780:353,803:7779,806:537,807:351}],116:[,,{775:7787,776:7831,780:357,803:7789,806:539,807:355,813:7793,817:7791}],117:[,,{768:249,769:250,770:251,771:361,772:363,774:365,776:252,777:7911,778:367,779:369,780:468,783:533,785:535,795:432,803:7909,804:7795,808:371,813:7799,816:7797}],118:[,,{771:7805,803:7807}],119:[,,{768:7809,769:7811,770:373,775:7815,776:7813,778:7832,803:7817}],120:[,,{775:7819,776:7821}],121:[,,{768:7923,769:253,770:375,771:7929,772:563,775:7823,776:255,777:7927,778:7833,803:7925}],122:[,,{769:378,770:7825,775:380,780:382,803:7827,817:7829}],160:[[32],256],168:[[32,776],256,{768:8173,769:901,834:8129}],170:[[97],256],175:[[32,772],256],178:[[50],256],179:[[51],256],180:[[32,769],256],181:[[956],256],184:[[32,807],256],185:[[49],256],186:[[111],256],188:[[49,8260,52],256],189:[[49,8260,50],256],190:[[51,8260,52],256],192:[[65,768]],193:[[65,769]],194:[[65,770],,{768:7846,769:7844,771:7850,777:7848}],195:[[65,771]],196:[[65,776],,{772:478}],197:[[65,778],,{769:506}],198:[,,{769:508,772:482}],199:[[67,807],,{769:7688}],200:[[69,768]],201:[[69,769]],202:[[69,770],,{768:7872,769:7870,771:7876,777:7874}],203:[[69,776]],204:[[73,768]],205:[[73,769]],206:[[73,770]],207:[[73,776],,{769:7726}],209:[[78,771]],210:[[79,768]],211:[[79,769]],212:[[79,770],,{768:7890,769:7888,771:7894,777:7892}],213:[[79,771],,{769:7756,772:556,776:7758}],214:[[79,776],,{772:554}],216:[,,{769:510}],217:[[85,768]],218:[[85,769]],219:[[85,770]],220:[[85,776],,{768:475,769:471,772:469,780:473}],221:[[89,769]],224:[[97,768]],225:[[97,769]],226:[[97,770],,{768:7847,769:7845,771:7851,777:7849}],227:[[97,771]],228:[[97,776],,{772:479}],229:[[97,778],,{769:507}],230:[,,{769:509,772:483}],231:[[99,807],,{769:7689}],232:[[101,768]],233:[[101,769]],234:[[101,770],,{768:7873,769:7871,771:7877,777:7875}],235:[[101,776]],236:[[105,768]],237:[[105,769]],238:[[105,770]],239:[[105,776],,{769:7727}],241:[[110,771]],242:[[111,768]],243:[[111,769]],244:[[111,770],,{768:7891,769:7889,771:7895,777:7893}],245:[[111,771],,{769:7757,772:557,776:7759}],246:[[111,776],,{772:555}],248:[,,{769:511}],249:[[117,768]],250:[[117,769]],251:[[117,770]],252:[[117,776],,{768:476,769:472,772:470,780:474}],253:[[121,769]],255:[[121,776]]},256:{256:[[65,772]],257:[[97,772]],258:[[65,774],,{768:7856,769:7854,771:7860,777:7858}],259:[[97,774],,{768:7857,769:7855,771:7861,777:7859}],260:[[65,808]],261:[[97,808]],262:[[67,769]],263:[[99,769]],264:[[67,770]],265:[[99,770]],266:[[67,775]],267:[[99,775]],268:[[67,780]],269:[[99,780]],270:[[68,780]],271:[[100,780]],274:[[69,772],,{768:7700,769:7702}],275:[[101,772],,{768:7701,769:7703}],276:[[69,774]],277:[[101,774]],278:[[69,775]],279:[[101,775]],280:[[69,808]],281:[[101,808]],282:[[69,780]],283:[[101,780]],284:[[71,770]],285:[[103,770]],286:[[71,774]],287:[[103,774]],288:[[71,775]],289:[[103,775]],290:[[71,807]],291:[[103,807]],292:[[72,770]],293:[[104,770]],296:[[73,771]],297:[[105,771]],298:[[73,772]],299:[[105,772]],300:[[73,774]],301:[[105,774]],302:[[73,808]],303:[[105,808]],304:[[73,775]],306:[[73,74],256],307:[[105,106],256],308:[[74,770]],309:[[106,770]],310:[[75,807]],311:[[107,807]],313:[[76,769]],314:[[108,769]],315:[[76,807]],316:[[108,807]],317:[[76,780]],318:[[108,780]],319:[[76,183],256],320:[[108,183],256],323:[[78,769]],324:[[110,769]],325:[[78,807]],326:[[110,807]],327:[[78,780]],328:[[110,780]],329:[[700,110],256],332:[[79,772],,{768:7760,769:7762}],333:[[111,772],,{768:7761,769:7763}],334:[[79,774]],335:[[111,774]],336:[[79,779]],337:[[111,779]],340:[[82,769]],341:[[114,769]],342:[[82,807]],343:[[114,807]],344:[[82,780]],345:[[114,780]],346:[[83,769],,{775:7780}],347:[[115,769],,{775:7781}],348:[[83,770]],349:[[115,770]],350:[[83,807]],351:[[115,807]],352:[[83,780],,{775:7782}],353:[[115,780],,{775:7783}],354:[[84,807]],355:[[116,807]],356:[[84,780]],357:[[116,780]],360:[[85,771],,{769:7800}],361:[[117,771],,{769:7801}],362:[[85,772],,{776:7802}],363:[[117,772],,{776:7803}],364:[[85,774]],365:[[117,774]],366:[[85,778]],367:[[117,778]],368:[[85,779]],369:[[117,779]],370:[[85,808]],371:[[117,808]],372:[[87,770]],373:[[119,770]],374:[[89,770]],375:[[121,770]],376:[[89,776]],377:[[90,769]],378:[[122,769]],379:[[90,775]],380:[[122,775]],381:[[90,780]],382:[[122,780]],383:[[115],256,{775:7835}],416:[[79,795],,{768:7900,769:7898,771:7904,777:7902,803:7906}],417:[[111,795],,{768:7901,769:7899,771:7905,777:7903,803:7907}],431:[[85,795],,{768:7914,769:7912,771:7918,777:7916,803:7920}],432:[[117,795],,{768:7915,769:7913,771:7919,777:7917,803:7921}],439:[,,{780:494}],452:[[68,381],256],453:[[68,382],256],454:[[100,382],256],455:[[76,74],256],456:[[76,106],256],457:[[108,106],256],458:[[78,74],256],459:[[78,106],256],460:[[110,106],256],461:[[65,780]],462:[[97,780]],463:[[73,780]],464:[[105,780]],465:[[79,780]],466:[[111,780]],467:[[85,780]],468:[[117,780]],469:[[220,772]],470:[[252,772]],471:[[220,769]],472:[[252,769]],473:[[220,780]],474:[[252,780]],475:[[220,768]],476:[[252,768]],478:[[196,772]],479:[[228,772]],480:[[550,772]],481:[[551,772]],482:[[198,772]],483:[[230,772]],486:[[71,780]],487:[[103,780]],488:[[75,780]],489:[[107,780]],490:[[79,808],,{772:492}],491:[[111,808],,{772:493}],492:[[490,772]],493:[[491,772]],494:[[439,780]],495:[[658,780]],496:[[106,780]],497:[[68,90],256],498:[[68,122],256],499:[[100,122],256],500:[[71,769]],501:[[103,769]],504:[[78,768]],505:[[110,768]],506:[[197,769]],507:[[229,769]],508:[[198,769]],509:[[230,769]],510:[[216,769]],511:[[248,769]],66045:[,220]},512:{512:[[65,783]],513:[[97,783]],514:[[65,785]],515:[[97,785]],516:[[69,783]],517:[[101,783]],518:[[69,785]],519:[[101,785]],520:[[73,783]],521:[[105,783]],522:[[73,785]],523:[[105,785]],524:[[79,783]],525:[[111,783]],526:[[79,785]],527:[[111,785]],528:[[82,783]],529:[[114,783]],530:[[82,785]],531:[[114,785]],532:[[85,783]],533:[[117,783]],534:[[85,785]],535:[[117,785]],536:[[83,806]],537:[[115,806]],538:[[84,806]],539:[[116,806]],542:[[72,780]],543:[[104,780]],550:[[65,775],,{772:480}],551:[[97,775],,{772:481}],552:[[69,807],,{774:7708}],553:[[101,807],,{774:7709}],554:[[214,772]],555:[[246,772]],556:[[213,772]],557:[[245,772]],558:[[79,775],,{772:560}],559:[[111,775],,{772:561}],560:[[558,772]],561:[[559,772]],562:[[89,772]],563:[[121,772]],658:[,,{780:495}],688:[[104],256],689:[[614],256],690:[[106],256],691:[[114],256],692:[[633],256],693:[[635],256],694:[[641],256],695:[[119],256],696:[[121],256],728:[[32,774],256],729:[[32,775],256],730:[[32,778],256],731:[[32,808],256],732:[[32,771],256],733:[[32,779],256],736:[[611],256],737:[[108],256],738:[[115],256],739:[[120],256],740:[[661],256],66272:[,220]},768:{768:[,230],769:[,230],770:[,230],771:[,230],772:[,230],773:[,230],774:[,230],775:[,230],776:[,230,{769:836}],777:[,230],778:[,230],779:[,230],780:[,230],781:[,230],782:[,230],783:[,230],784:[,230],785:[,230],786:[,230],787:[,230],788:[,230],789:[,232],790:[,220],791:[,220],792:[,220],793:[,220],794:[,232],795:[,216],796:[,220],797:[,220],798:[,220],799:[,220],800:[,220],801:[,202],802:[,202],803:[,220],804:[,220],805:[,220],806:[,220],807:[,202],808:[,202],809:[,220],810:[,220],811:[,220],812:[,220],813:[,220],814:[,220],815:[,220],816:[,220],817:[,220],818:[,220],819:[,220],820:[,1],821:[,1],822:[,1],823:[,1],824:[,1],825:[,220],826:[,220],827:[,220],828:[,220],829:[,230],830:[,230],831:[,230],832:[[768],230],833:[[769],230],834:[,230],835:[[787],230],836:[[776,769],230],837:[,240],838:[,230],839:[,220],840:[,220],841:[,220],842:[,230],843:[,230],844:[,230],845:[,220],846:[,220],848:[,230],849:[,230],850:[,230],851:[,220],852:[,220],853:[,220],854:[,220],855:[,230],856:[,232],857:[,220],858:[,220],859:[,230],860:[,233],861:[,234],862:[,234],863:[,233],864:[,234],865:[,234],866:[,233],867:[,230],868:[,230],869:[,230],870:[,230],871:[,230],872:[,230],873:[,230],874:[,230],875:[,230],876:[,230],877:[,230],878:[,230],879:[,230],884:[[697]],890:[[32,837],256],894:[[59]],900:[[32,769],256],901:[[168,769]],902:[[913,769]],903:[[183]],904:[[917,769]],905:[[919,769]],906:[[921,769]],908:[[927,769]],910:[[933,769]],911:[[937,769]],912:[[970,769]],913:[,,{768:8122,769:902,772:8121,774:8120,787:7944,788:7945,837:8124}],917:[,,{768:8136,769:904,787:7960,788:7961}],919:[,,{768:8138,769:905,787:7976,788:7977,837:8140}],921:[,,{768:8154,769:906,772:8153,774:8152,776:938,787:7992,788:7993}],927:[,,{768:8184,769:908,787:8008,788:8009}],929:[,,{788:8172}],933:[,,{768:8170,769:910,772:8169,774:8168,776:939,788:8025}],937:[,,{768:8186,769:911,787:8040,788:8041,837:8188}],938:[[921,776]],939:[[933,776]],940:[[945,769],,{837:8116}],941:[[949,769]],942:[[951,769],,{837:8132}],943:[[953,769]],944:[[971,769]],945:[,,{768:8048,769:940,772:8113,774:8112,787:7936,788:7937,834:8118,837:8115}],949:[,,{768:8050,769:941,787:7952,788:7953}],951:[,,{768:8052,769:942,787:7968,788:7969,834:8134,837:8131}],953:[,,{768:8054,769:943,772:8145,774:8144,776:970,787:7984,788:7985,834:8150}],959:[,,{768:8056,769:972,787:8e3,788:8001}],961:[,,{787:8164,788:8165}],965:[,,{768:8058,769:973,772:8161,774:8160,776:971,787:8016,788:8017,834:8166}],969:[,,{768:8060,769:974,787:8032,788:8033,834:8182,837:8179}],970:[[953,776],,{768:8146,769:912,834:8151}],971:[[965,776],,{768:8162,769:944,834:8167}],972:[[959,769]],973:[[965,769]],974:[[969,769],,{837:8180}],976:[[946],256],977:[[952],256],978:[[933],256,{769:979,776:980}],979:[[978,769]],980:[[978,776]],981:[[966],256],982:[[960],256],1008:[[954],256],1009:[[961],256],1010:[[962],256],1012:[[920],256],1013:[[949],256],1017:[[931],256],66422:[,230],66423:[,230],66424:[,230],66425:[,230],66426:[,230]},1024:{1024:[[1045,768]],1025:[[1045,776]],1027:[[1043,769]],1030:[,,{776:1031}],1031:[[1030,776]],1036:[[1050,769]],1037:[[1048,768]],1038:[[1059,774]],1040:[,,{774:1232,776:1234}],1043:[,,{769:1027}],1045:[,,{768:1024,774:1238,776:1025}],1046:[,,{774:1217,776:1244}],1047:[,,{776:1246}],1048:[,,{768:1037,772:1250,774:1049,776:1252}],1049:[[1048,774]],1050:[,,{769:1036}],1054:[,,{776:1254}],1059:[,,{772:1262,774:1038,776:1264,779:1266}],1063:[,,{776:1268}],1067:[,,{776:1272}],1069:[,,{776:1260}],1072:[,,{774:1233,776:1235}],1075:[,,{769:1107}],1077:[,,{768:1104,774:1239,776:1105}],1078:[,,{774:1218,776:1245}],1079:[,,{776:1247}],1080:[,,{768:1117,772:1251,774:1081,776:1253}],1081:[[1080,774]],1082:[,,{769:1116}],1086:[,,{776:1255}],1091:[,,{772:1263,774:1118,776:1265,779:1267}],1095:[,,{776:1269}],1099:[,,{776:1273}],1101:[,,{776:1261}],1104:[[1077,768]],1105:[[1077,776]],1107:[[1075,769]],1110:[,,{776:1111}],1111:[[1110,776]],1116:[[1082,769]],1117:[[1080,768]],1118:[[1091,774]],1140:[,,{783:1142}],1141:[,,{783:1143}],1142:[[1140,783]],1143:[[1141,783]],1155:[,230],1156:[,230],1157:[,230],1158:[,230],1159:[,230],1217:[[1046,774]],1218:[[1078,774]],1232:[[1040,774]],1233:[[1072,774]],1234:[[1040,776]],1235:[[1072,776]],1238:[[1045,774]],1239:[[1077,774]],1240:[,,{776:1242}],1241:[,,{776:1243}],1242:[[1240,776]],1243:[[1241,776]],1244:[[1046,776]],1245:[[1078,776]],1246:[[1047,776]],1247:[[1079,776]],1250:[[1048,772]],1251:[[1080,772]],1252:[[1048,776]],1253:[[1080,776]],1254:[[1054,776]],1255:[[1086,776]],1256:[,,{776:1258}],1257:[,,{776:1259}],1258:[[1256,776]],1259:[[1257,776]],1260:[[1069,776]],1261:[[1101,776]],1262:[[1059,772]],1263:[[1091,772]],1264:[[1059,776]],1265:[[1091,776]],1266:[[1059,779]],1267:[[1091,779]],1268:[[1063,776]],1269:[[1095,776]],1272:[[1067,776]],1273:[[1099,776]]},1280:{1415:[[1381,1410],256],1425:[,220],1426:[,230],1427:[,230],1428:[,230],1429:[,230],1430:[,220],1431:[,230],1432:[,230],1433:[,230],1434:[,222],1435:[,220],1436:[,230],1437:[,230],1438:[,230],1439:[,230],1440:[,230],1441:[,230],1442:[,220],1443:[,220],1444:[,220],1445:[,220],1446:[,220],1447:[,220],1448:[,230],1449:[,230],1450:[,220],1451:[,230],1452:[,230],1453:[,222],1454:[,228],1455:[,230],1456:[,10],1457:[,11],1458:[,12],1459:[,13],1460:[,14],1461:[,15],1462:[,16],1463:[,17],1464:[,18],1465:[,19],1466:[,19],1467:[,20],1468:[,21],1469:[,22],1471:[,23],1473:[,24],1474:[,25],1476:[,230],1477:[,220],1479:[,18]},1536:{1552:[,230],1553:[,230],1554:[,230],1555:[,230],1556:[,230],1557:[,230],1558:[,230],1559:[,230],1560:[,30],1561:[,31],1562:[,32],1570:[[1575,1619]],1571:[[1575,1620]],1572:[[1608,1620]],1573:[[1575,1621]],1574:[[1610,1620]],1575:[,,{1619:1570,1620:1571,1621:1573}],1608:[,,{1620:1572}],1610:[,,{1620:1574}],1611:[,27],1612:[,28],1613:[,29],1614:[,30],1615:[,31],1616:[,32],1617:[,33],1618:[,34],1619:[,230],1620:[,230],1621:[,220],1622:[,220],1623:[,230],1624:[,230],1625:[,230],1626:[,230],1627:[,230],1628:[,220],1629:[,230],1630:[,230],1631:[,220],1648:[,35],1653:[[1575,1652],256],1654:[[1608,1652],256],1655:[[1735,1652],256],1656:[[1610,1652],256],1728:[[1749,1620]],1729:[,,{1620:1730}],1730:[[1729,1620]],1746:[,,{1620:1747}],1747:[[1746,1620]],1749:[,,{1620:1728}],1750:[,230],1751:[,230],1752:[,230],1753:[,230],1754:[,230],1755:[,230],1756:[,230],1759:[,230],1760:[,230],1761:[,230],1762:[,230],1763:[,220],1764:[,230],1767:[,230],1768:[,230],1770:[,220],1771:[,230],1772:[,230],1773:[,220]},1792:{1809:[,36],1840:[,230],1841:[,220],1842:[,230],1843:[,230],1844:[,220],1845:[,230],1846:[,230],1847:[,220],1848:[,220],1849:[,220],1850:[,230],1851:[,220],1852:[,220],1853:[,230],1854:[,220],1855:[,230],1856:[,230],1857:[,230],1858:[,220],1859:[,230],1860:[,220],1861:[,230],1862:[,220],1863:[,230],1864:[,220],1865:[,230],1866:[,230],2027:[,230],2028:[,230],2029:[,230],2030:[,230],2031:[,230],2032:[,230],2033:[,230],2034:[,220],2035:[,230]},2048:{2070:[,230],2071:[,230],2072:[,230],2073:[,230],2075:[,230],2076:[,230],2077:[,230],2078:[,230],2079:[,230],2080:[,230],2081:[,230],2082:[,230],2083:[,230],2085:[,230],2086:[,230],2087:[,230],2089:[,230],2090:[,230],2091:[,230],2092:[,230],2093:[,230],2137:[,220],2138:[,220],2139:[,220],2276:[,230],2277:[,230],2278:[,220],2279:[,230],2280:[,230],2281:[,220],2282:[,230],2283:[,230],2284:[,230],2285:[,220],2286:[,220],2287:[,220],2288:[,27],2289:[,28],2290:[,29],2291:[,230],2292:[,230],2293:[,230],2294:[,220],2295:[,230],2296:[,230],2297:[,220],2298:[,220],2299:[,230],2300:[,230],2301:[,230],2302:[,230],2303:[,230]},2304:{2344:[,,{2364:2345}],2345:[[2344,2364]],2352:[,,{2364:2353}],2353:[[2352,2364]],2355:[,,{2364:2356}],2356:[[2355,2364]],2364:[,7],2381:[,9],2385:[,230],2386:[,220],2387:[,230],2388:[,230],2392:[[2325,2364],512],2393:[[2326,2364],512],2394:[[2327,2364],512],2395:[[2332,2364],512],2396:[[2337,2364],512],2397:[[2338,2364],512],2398:[[2347,2364],512],2399:[[2351,2364],512],2492:[,7],2503:[,,{2494:2507,2519:2508}],2507:[[2503,2494]],2508:[[2503,2519]],2509:[,9],2524:[[2465,2492],512],2525:[[2466,2492],512],2527:[[2479,2492],512]},2560:{2611:[[2610,2620],512],2614:[[2616,2620],512],2620:[,7],2637:[,9],2649:[[2582,2620],512],2650:[[2583,2620],512],2651:[[2588,2620],512],2654:[[2603,2620],512],2748:[,7],2765:[,9],68109:[,220],68111:[,230],68152:[,230],68153:[,1],68154:[,220],68159:[,9],68325:[,230],68326:[,220]},2816:{2876:[,7],2887:[,,{2878:2891,2902:2888,2903:2892}],2888:[[2887,2902]],2891:[[2887,2878]],2892:[[2887,2903]],2893:[,9],2908:[[2849,2876],512],2909:[[2850,2876],512],2962:[,,{3031:2964}],2964:[[2962,3031]],3014:[,,{3006:3018,3031:3020}],3015:[,,{3006:3019}],3018:[[3014,3006]],3019:[[3015,3006]],3020:[[3014,3031]],3021:[,9]},3072:{3142:[,,{3158:3144}],3144:[[3142,3158]],3149:[,9],3157:[,84],3158:[,91],3260:[,7],3263:[,,{3285:3264}],3264:[[3263,3285]],3270:[,,{3266:3274,3285:3271,3286:3272}],3271:[[3270,3285]],3272:[[3270,3286]],3274:[[3270,3266],,{3285:3275}],3275:[[3274,3285]],3277:[,9]},3328:{3398:[,,{3390:3402,3415:3404}],3399:[,,{3390:3403}],3402:[[3398,3390]],3403:[[3399,3390]],3404:[[3398,3415]],3405:[,9],3530:[,9],3545:[,,{3530:3546,3535:3548,3551:3550}],3546:[[3545,3530]],3548:[[3545,3535],,{3530:3549}],3549:[[3548,3530]],3550:[[3545,3551]]},3584:{3635:[[3661,3634],256],3640:[,103],3641:[,103],3642:[,9],3656:[,107],3657:[,107],3658:[,107],3659:[,107],3763:[[3789,3762],256],3768:[,118],3769:[,118],3784:[,122],3785:[,122],3786:[,122],3787:[,122],3804:[[3755,3737],256],3805:[[3755,3745],256]},3840:{3852:[[3851],256],3864:[,220],3865:[,220],3893:[,220],3895:[,220],3897:[,216],3907:[[3906,4023],512],3917:[[3916,4023],512],3922:[[3921,4023],512],3927:[[3926,4023],512],3932:[[3931,4023],512],3945:[[3904,4021],512],3953:[,129],3954:[,130],3955:[[3953,3954],512],3956:[,132],3957:[[3953,3956],512],3958:[[4018,3968],512],3959:[[4018,3969],256],3960:[[4019,3968],512],3961:[[4019,3969],256],3962:[,130],3963:[,130],3964:[,130],3965:[,130],3968:[,130],3969:[[3953,3968],512],3970:[,230],3971:[,230],3972:[,9],3974:[,230],3975:[,230],3987:[[3986,4023],512],3997:[[3996,4023],512],4002:[[4001,4023],512],4007:[[4006,4023],512],4012:[[4011,4023],512],4025:[[3984,4021],512],4038:[,220]},4096:{4133:[,,{4142:4134}],4134:[[4133,4142]],4151:[,7],4153:[,9],4154:[,9],4237:[,220],4348:[[4316],256],69702:[,9],69759:[,9],69785:[,,{69818:69786}],69786:[[69785,69818]],69787:[,,{69818:69788}],69788:[[69787,69818]],69797:[,,{69818:69803}],69803:[[69797,69818]],69817:[,9],69818:[,7]},4352:{69888:[,230],69889:[,230],69890:[,230],69934:[[69937,69927]],69935:[[69938,69927]],69937:[,,{69927:69934}],69938:[,,{69927:69935}],69939:[,9],69940:[,9],70003:[,7],70080:[,9]},4608:{70197:[,9],70198:[,7],70377:[,7],70378:[,9]},4864:{4957:[,230],4958:[,230],4959:[,230],70460:[,7],70471:[,,{70462:70475,70487:70476}],70475:[[70471,70462]],70476:[[70471,70487]],70477:[,9],70502:[,230],70503:[,230],70504:[,230],70505:[,230],70506:[,230],70507:[,230],70508:[,230],70512:[,230],70513:[,230],70514:[,230],70515:[,230],70516:[,230]},5120:{70841:[,,{70832:70844,70842:70843,70845:70846}],70843:[[70841,70842]],70844:[[70841,70832]],70846:[[70841,70845]],70850:[,9],70851:[,7]},5376:{71096:[,,{71087:71098}],71097:[,,{71087:71099}],71098:[[71096,71087]],71099:[[71097,71087]],71103:[,9],71104:[,7]},5632:{71231:[,9],71350:[,9],71351:[,7]},5888:{5908:[,9],5940:[,9],6098:[,9],6109:[,230]},6144:{6313:[,228]},6400:{6457:[,222],6458:[,230],6459:[,220]},6656:{6679:[,230],6680:[,220],6752:[,9],6773:[,230],6774:[,230],6775:[,230],6776:[,230],6777:[,230],6778:[,230],6779:[,230],6780:[,230],6783:[,220],6832:[,230],6833:[,230],6834:[,230],6835:[,230],6836:[,230],6837:[,220],6838:[,220],6839:[,220],6840:[,220],6841:[,220],6842:[,220],6843:[,230],6844:[,230],6845:[,220]},6912:{6917:[,,{6965:6918}],6918:[[6917,6965]],6919:[,,{6965:6920}],6920:[[6919,6965]],6921:[,,{6965:6922}],6922:[[6921,6965]],6923:[,,{6965:6924}],6924:[[6923,6965]],6925:[,,{6965:6926}],6926:[[6925,6965]],6929:[,,{6965:6930}],6930:[[6929,6965]],6964:[,7],6970:[,,{6965:6971}],6971:[[6970,6965]],6972:[,,{6965:6973}],6973:[[6972,6965]],6974:[,,{6965:6976}],6975:[,,{6965:6977}],6976:[[6974,6965]],6977:[[6975,6965]],6978:[,,{6965:6979}],6979:[[6978,6965]],6980:[,9],7019:[,230],7020:[,220],7021:[,230],7022:[,230],7023:[,230],7024:[,230],7025:[,230],7026:[,230],7027:[,230],7082:[,9],7083:[,9],7142:[,7],7154:[,9],7155:[,9]},7168:{7223:[,7],7376:[,230],7377:[,230],7378:[,230],7380:[,1],7381:[,220],7382:[,220],7383:[,220],7384:[,220],7385:[,220],7386:[,230],7387:[,230],7388:[,220],7389:[,220],7390:[,220],7391:[,220],7392:[,230],7394:[,1],7395:[,1],7396:[,1],7397:[,1],7398:[,1],7399:[,1],7400:[,1],7405:[,220],7412:[,230],7416:[,230],7417:[,230]},7424:{7468:[[65],256],7469:[[198],256],7470:[[66],256],7472:[[68],256],7473:[[69],256],7474:[[398],256],7475:[[71],256],7476:[[72],256],7477:[[73],256],7478:[[74],256],7479:[[75],256],7480:[[76],256],7481:[[77],256],7482:[[78],256],7484:[[79],256],7485:[[546],256],7486:[[80],256],7487:[[82],256],7488:[[84],256],7489:[[85],256],7490:[[87],256],7491:[[97],256],7492:[[592],256],7493:[[593],256],7494:[[7426],256],7495:[[98],256],7496:[[100],256],7497:[[101],256],7498:[[601],256],7499:[[603],256],7500:[[604],256],7501:[[103],256],7503:[[107],256],7504:[[109],256],7505:[[331],256],7506:[[111],256],7507:[[596],256],7508:[[7446],256],7509:[[7447],256],7510:[[112],256],7511:[[116],256],7512:[[117],256],7513:[[7453],256],7514:[[623],256],7515:[[118],256],7516:[[7461],256],7517:[[946],256],7518:[[947],256],7519:[[948],256],7520:[[966],256],7521:[[967],256],7522:[[105],256],7523:[[114],256],7524:[[117],256],7525:[[118],256],7526:[[946],256],7527:[[947],256],7528:[[961],256],7529:[[966],256],7530:[[967],256],7544:[[1085],256],7579:[[594],256],7580:[[99],256],7581:[[597],256],7582:[[240],256],7583:[[604],256],7584:[[102],256],7585:[[607],256],7586:[[609],256],7587:[[613],256],7588:[[616],256],7589:[[617],256],7590:[[618],256],7591:[[7547],256],7592:[[669],256],7593:[[621],256],7594:[[7557],256],7595:[[671],256],7596:[[625],256],7597:[[624],256],7598:[[626],256],7599:[[627],256],7600:[[628],256],7601:[[629],256],7602:[[632],256],7603:[[642],256],7604:[[643],256],7605:[[427],256],7606:[[649],256],7607:[[650],256],7608:[[7452],256],7609:[[651],256],7610:[[652],256],7611:[[122],256],7612:[[656],256],7613:[[657],256],7614:[[658],256],7615:[[952],256],7616:[,230],7617:[,230],7618:[,220],7619:[,230],7620:[,230],7621:[,230],7622:[,230],7623:[,230],7624:[,230],7625:[,230],7626:[,220],7627:[,230],7628:[,230],7629:[,234],7630:[,214],7631:[,220],7632:[,202],7633:[,230],7634:[,230],7635:[,230],7636:[,230],7637:[,230],7638:[,230],7639:[,230],7640:[,230],7641:[,230],7642:[,230],7643:[,230],7644:[,230],7645:[,230],7646:[,230],7647:[,230],7648:[,230],7649:[,230],7650:[,230],7651:[,230],7652:[,230],7653:[,230],7654:[,230],7655:[,230],7656:[,230],7657:[,230],7658:[,230],7659:[,230],7660:[,230],7661:[,230],7662:[,230],7663:[,230],7664:[,230],7665:[,230],7666:[,230],7667:[,230],7668:[,230],7669:[,230],7676:[,233],7677:[,220],7678:[,230],7679:[,220]},7680:{7680:[[65,805]],7681:[[97,805]],7682:[[66,775]],7683:[[98,775]],7684:[[66,803]],7685:[[98,803]],7686:[[66,817]],7687:[[98,817]],7688:[[199,769]],7689:[[231,769]],7690:[[68,775]],7691:[[100,775]],7692:[[68,803]],7693:[[100,803]],7694:[[68,817]],7695:[[100,817]],7696:[[68,807]],7697:[[100,807]],7698:[[68,813]],7699:[[100,813]],7700:[[274,768]],7701:[[275,768]],7702:[[274,769]],7703:[[275,769]],7704:[[69,813]],7705:[[101,813]],7706:[[69,816]],7707:[[101,816]],7708:[[552,774]],7709:[[553,774]],7710:[[70,775]],7711:[[102,775]],7712:[[71,772]],7713:[[103,772]],7714:[[72,775]],7715:[[104,775]],7716:[[72,803]],7717:[[104,803]],7718:[[72,776]],7719:[[104,776]],7720:[[72,807]],7721:[[104,807]],7722:[[72,814]],7723:[[104,814]],7724:[[73,816]],7725:[[105,816]],7726:[[207,769]],7727:[[239,769]],7728:[[75,769]],7729:[[107,769]],7730:[[75,803]],7731:[[107,803]],7732:[[75,817]],7733:[[107,817]],7734:[[76,803],,{772:7736}],7735:[[108,803],,{772:7737}],7736:[[7734,772]],7737:[[7735,772]],7738:[[76,817]],7739:[[108,817]],7740:[[76,813]],7741:[[108,813]],7742:[[77,769]],7743:[[109,769]],7744:[[77,775]],7745:[[109,775]],7746:[[77,803]],7747:[[109,803]],7748:[[78,775]],7749:[[110,775]],7750:[[78,803]],7751:[[110,803]],7752:[[78,817]],7753:[[110,817]],7754:[[78,813]],7755:[[110,813]],7756:[[213,769]],7757:[[245,769]],7758:[[213,776]],7759:[[245,776]],7760:[[332,768]],7761:[[333,768]],7762:[[332,769]],7763:[[333,769]],7764:[[80,769]],7765:[[112,769]],7766:[[80,775]],7767:[[112,775]],7768:[[82,775]],7769:[[114,775]],7770:[[82,803],,{772:7772}],7771:[[114,803],,{772:7773}],7772:[[7770,772]],7773:[[7771,772]],7774:[[82,817]],7775:[[114,817]],7776:[[83,775]],7777:[[115,775]],7778:[[83,803],,{775:7784}],7779:[[115,803],,{775:7785}],7780:[[346,775]],7781:[[347,775]],7782:[[352,775]],7783:[[353,775]],7784:[[7778,775]],7785:[[7779,775]],7786:[[84,775]],7787:[[116,775]],7788:[[84,803]],7789:[[116,803]],7790:[[84,817]],7791:[[116,817]],7792:[[84,813]],7793:[[116,813]],7794:[[85,804]],7795:[[117,804]],7796:[[85,816]],7797:[[117,816]],7798:[[85,813]],7799:[[117,813]],7800:[[360,769]],7801:[[361,769]],7802:[[362,776]],7803:[[363,776]],7804:[[86,771]],7805:[[118,771]],7806:[[86,803]],7807:[[118,803]],7808:[[87,768]],7809:[[119,768]],7810:[[87,769]],7811:[[119,769]],7812:[[87,776]],7813:[[119,776]],7814:[[87,775]],7815:[[119,775]],7816:[[87,803]],7817:[[119,803]],7818:[[88,775]],7819:[[120,775]],7820:[[88,776]],7821:[[120,776]],7822:[[89,775]],7823:[[121,775]],7824:[[90,770]],7825:[[122,770]],7826:[[90,803]],7827:[[122,803]],7828:[[90,817]],7829:[[122,817]],7830:[[104,817]],7831:[[116,776]],7832:[[119,778]],7833:[[121,778]],7834:[[97,702],256],7835:[[383,775]],7840:[[65,803],,{770:7852,774:7862}],7841:[[97,803],,{770:7853,774:7863}],7842:[[65,777]],7843:[[97,777]],7844:[[194,769]],7845:[[226,769]],7846:[[194,768]],7847:[[226,768]],7848:[[194,777]],7849:[[226,777]],7850:[[194,771]],7851:[[226,771]],7852:[[7840,770]],7853:[[7841,770]],7854:[[258,769]],7855:[[259,769]],7856:[[258,768]],7857:[[259,768]],7858:[[258,777]],7859:[[259,777]],7860:[[258,771]],7861:[[259,771]],7862:[[7840,774]],7863:[[7841,774]],7864:[[69,803],,{770:7878}],7865:[[101,803],,{770:7879}],7866:[[69,777]],7867:[[101,777]],7868:[[69,771]],7869:[[101,771]],7870:[[202,769]],7871:[[234,769]],7872:[[202,768]],7873:[[234,768]],7874:[[202,777]],7875:[[234,777]],7876:[[202,771]],7877:[[234,771]],7878:[[7864,770]],7879:[[7865,770]],7880:[[73,777]],7881:[[105,777]],7882:[[73,803]],7883:[[105,803]],7884:[[79,803],,{770:7896}],7885:[[111,803],,{770:7897}],7886:[[79,777]],7887:[[111,777]],7888:[[212,769]],7889:[[244,769]],7890:[[212,768]],7891:[[244,768]],7892:[[212,777]],7893:[[244,777]],7894:[[212,771]],7895:[[244,771]],7896:[[7884,770]],7897:[[7885,770]],7898:[[416,769]],7899:[[417,769]],7900:[[416,768]],7901:[[417,768]],7902:[[416,777]],7903:[[417,777]],7904:[[416,771]],7905:[[417,771]],7906:[[416,803]],7907:[[417,803]],7908:[[85,803]],7909:[[117,803]],7910:[[85,777]],7911:[[117,777]],7912:[[431,769]],7913:[[432,769]],7914:[[431,768]],7915:[[432,768]],7916:[[431,777]],7917:[[432,777]],7918:[[431,771]],7919:[[432,771]],7920:[[431,803]],7921:[[432,803]],7922:[[89,768]],7923:[[121,768]],7924:[[89,803]],7925:[[121,803]],7926:[[89,777]],7927:[[121,777]],7928:[[89,771]],7929:[[121,771]]},7936:{7936:[[945,787],,{768:7938,769:7940,834:7942,837:8064}],7937:[[945,788],,{768:7939,769:7941,834:7943,837:8065}],7938:[[7936,768],,{837:8066}],7939:[[7937,768],,{837:8067}],7940:[[7936,769],,{837:8068}],7941:[[7937,769],,{837:8069}],7942:[[7936,834],,{837:8070}],7943:[[7937,834],,{837:8071}],7944:[[913,787],,{768:7946,769:7948,834:7950,837:8072}],7945:[[913,788],,{768:7947,769:7949,834:7951,837:8073}],7946:[[7944,768],,{837:8074}],7947:[[7945,768],,{837:8075}],7948:[[7944,769],,{837:8076}],7949:[[7945,769],,{837:8077}],7950:[[7944,834],,{837:8078}],7951:[[7945,834],,{837:8079}],7952:[[949,787],,{768:7954,769:7956}],7953:[[949,788],,{768:7955,769:7957}],7954:[[7952,768]],7955:[[7953,768]],7956:[[7952,769]],7957:[[7953,769]],7960:[[917,787],,{768:7962,769:7964}],7961:[[917,788],,{768:7963,769:7965}],7962:[[7960,768]],7963:[[7961,768]],7964:[[7960,769]],7965:[[7961,769]],7968:[[951,787],,{768:7970,769:7972,834:7974,837:8080}],7969:[[951,788],,{768:7971,769:7973,834:7975,837:8081}],7970:[[7968,768],,{837:8082}],7971:[[7969,768],,{837:8083}],7972:[[7968,769],,{837:8084}],7973:[[7969,769],,{837:8085}],7974:[[7968,834],,{837:8086}],7975:[[7969,834],,{837:8087}],7976:[[919,787],,{768:7978,769:7980,834:7982,837:8088}],7977:[[919,788],,{768:7979,769:7981,834:7983,837:8089}],7978:[[7976,768],,{837:8090}],7979:[[7977,768],,{837:8091}],7980:[[7976,769],,{837:8092}],7981:[[7977,769],,{837:8093}],7982:[[7976,834],,{837:8094}],7983:[[7977,834],,{837:8095}],7984:[[953,787],,{768:7986,769:7988,834:7990}],7985:[[953,788],,{768:7987,769:7989,834:7991}],7986:[[7984,768]],7987:[[7985,768]],7988:[[7984,769]],7989:[[7985,769]],7990:[[7984,834]],7991:[[7985,834]],7992:[[921,787],,{768:7994,769:7996,834:7998}],7993:[[921,788],,{768:7995,769:7997,834:7999}],7994:[[7992,768]],7995:[[7993,768]],7996:[[7992,769]],7997:[[7993,769]],7998:[[7992,834]],7999:[[7993,834]],8e3:[[959,787],,{768:8002,769:8004}],8001:[[959,788],,{768:8003,769:8005}],8002:[[8e3,768]],8003:[[8001,768]],8004:[[8e3,769]],8005:[[8001,769]],8008:[[927,787],,{768:8010,769:8012}],8009:[[927,788],,{768:8011,769:8013}],8010:[[8008,768]],8011:[[8009,768]],8012:[[8008,769]],8013:[[8009,769]],8016:[[965,787],,{768:8018,769:8020,834:8022}],8017:[[965,788],,{768:8019,769:8021,834:8023}],8018:[[8016,768]],8019:[[8017,768]],8020:[[8016,769]],8021:[[8017,769]],8022:[[8016,834]],8023:[[8017,834]],8025:[[933,788],,{768:8027,769:8029,834:8031}],8027:[[8025,768]],8029:[[8025,769]],8031:[[8025,834]],8032:[[969,787],,{768:8034,769:8036,834:8038,837:8096}],8033:[[969,788],,{768:8035,769:8037,834:8039,837:8097}],8034:[[8032,768],,{837:8098}],8035:[[8033,768],,{837:8099}],8036:[[8032,769],,{837:8100}],8037:[[8033,769],,{837:8101}],8038:[[8032,834],,{837:8102}],8039:[[8033,834],,{837:8103}],8040:[[937,787],,{768:8042,769:8044,834:8046,837:8104}],8041:[[937,788],,{768:8043,769:8045,834:8047,837:8105}],8042:[[8040,768],,{837:8106}],8043:[[8041,768],,{837:8107}],8044:[[8040,769],,{837:8108}],8045:[[8041,769],,{837:8109}],8046:[[8040,834],,{837:8110}],8047:[[8041,834],,{837:8111}],8048:[[945,768],,{837:8114}],8049:[[940]],8050:[[949,768]],8051:[[941]],8052:[[951,768],,{837:8130}],8053:[[942]],8054:[[953,768]],8055:[[943]],8056:[[959,768]],8057:[[972]],8058:[[965,768]],8059:[[973]],8060:[[969,768],,{837:8178}],8061:[[974]],8064:[[7936,837]],8065:[[7937,837]],8066:[[7938,837]],8067:[[7939,837]],8068:[[7940,837]],8069:[[7941,837]],8070:[[7942,837]],8071:[[7943,837]],8072:[[7944,837]],8073:[[7945,837]],8074:[[7946,837]],8075:[[7947,837]],8076:[[7948,837]],8077:[[7949,837]],8078:[[7950,837]],8079:[[7951,837]],8080:[[7968,837]],8081:[[7969,837]],8082:[[7970,837]],8083:[[7971,837]],8084:[[7972,837]],8085:[[7973,837]],8086:[[7974,837]],8087:[[7975,837]],8088:[[7976,837]],8089:[[7977,837]],8090:[[7978,837]],8091:[[7979,837]],8092:[[7980,837]],8093:[[7981,837]],8094:[[7982,837]],8095:[[7983,837]],8096:[[8032,837]],8097:[[8033,837]],8098:[[8034,837]],8099:[[8035,837]],8100:[[8036,837]],8101:[[8037,837]],8102:[[8038,837]],8103:[[8039,837]],8104:[[8040,837]],8105:[[8041,837]],8106:[[8042,837]],8107:[[8043,837]],8108:[[8044,837]],8109:[[8045,837]],8110:[[8046,837]],8111:[[8047,837]],8112:[[945,774]],8113:[[945,772]],8114:[[8048,837]],8115:[[945,837]],8116:[[940,837]],8118:[[945,834],,{837:8119}],8119:[[8118,837]],8120:[[913,774]],8121:[[913,772]],8122:[[913,768]],8123:[[902]],8124:[[913,837]],8125:[[32,787],256],8126:[[953]],8127:[[32,787],256,{768:8141,769:8142,834:8143}],8128:[[32,834],256],8129:[[168,834]],8130:[[8052,837]],8131:[[951,837]],8132:[[942,837]],8134:[[951,834],,{837:8135}],8135:[[8134,837]],8136:[[917,768]],8137:[[904]],8138:[[919,768]],8139:[[905]],8140:[[919,837]],8141:[[8127,768]],8142:[[8127,769]],8143:[[8127,834]],8144:[[953,774]],8145:[[953,772]],8146:[[970,768]],8147:[[912]],8150:[[953,834]],8151:[[970,834]],8152:[[921,774]],8153:[[921,772]],8154:[[921,768]],8155:[[906]],8157:[[8190,768]],8158:[[8190,769]],8159:[[8190,834]],8160:[[965,774]],8161:[[965,772]],8162:[[971,768]],8163:[[944]],8164:[[961,787]],8165:[[961,788]],8166:[[965,834]],8167:[[971,834]],8168:[[933,774]],8169:[[933,772]],8170:[[933,768]],8171:[[910]],8172:[[929,788]],8173:[[168,768]],8174:[[901]],8175:[[96]],8178:[[8060,837]],8179:[[969,837]],8180:[[974,837]],8182:[[969,834],,{837:8183}],8183:[[8182,837]],8184:[[927,768]],8185:[[908]],8186:[[937,768]],8187:[[911]],8188:[[937,837]],8189:[[180]],8190:[[32,788],256,{768:8157,769:8158,834:8159}]},8192:{8192:[[8194]],8193:[[8195]],8194:[[32],256],8195:[[32],256],8196:[[32],256],8197:[[32],256],8198:[[32],256],8199:[[32],256],8200:[[32],256],8201:[[32],256],8202:[[32],256],8209:[[8208],256],8215:[[32,819],256],8228:[[46],256],8229:[[46,46],256],8230:[[46,46,46],256],8239:[[32],256],8243:[[8242,8242],256],8244:[[8242,8242,8242],256],8246:[[8245,8245],256],8247:[[8245,8245,8245],256],8252:[[33,33],256],8254:[[32,773],256],8263:[[63,63],256],8264:[[63,33],256],8265:[[33,63],256],8279:[[8242,8242,8242,8242],256],8287:[[32],256],8304:[[48],256],8305:[[105],256],8308:[[52],256],8309:[[53],256],8310:[[54],256],8311:[[55],256],8312:[[56],256],8313:[[57],256],8314:[[43],256],8315:[[8722],256],8316:[[61],256],8317:[[40],256],8318:[[41],256],8319:[[110],256],8320:[[48],256],8321:[[49],256],8322:[[50],256],8323:[[51],256],8324:[[52],256],8325:[[53],256],8326:[[54],256],8327:[[55],256],8328:[[56],256],8329:[[57],256],8330:[[43],256],8331:[[8722],256],8332:[[61],256],8333:[[40],256],8334:[[41],256],8336:[[97],256],8337:[[101],256],8338:[[111],256],8339:[[120],256],8340:[[601],256],8341:[[104],256],8342:[[107],256],8343:[[108],256],8344:[[109],256],8345:[[110],256],8346:[[112],256],8347:[[115],256],8348:[[116],256],8360:[[82,115],256],8400:[,230],8401:[,230],8402:[,1],8403:[,1],8404:[,230],8405:[,230],8406:[,230],8407:[,230],8408:[,1],8409:[,1],8410:[,1],8411:[,230],8412:[,230],8417:[,230],8421:[,1],8422:[,1],8423:[,230],8424:[,220],8425:[,230],8426:[,1],8427:[,1],8428:[,220],8429:[,220],8430:[,220],8431:[,220],8432:[,230]},8448:{8448:[[97,47,99],256],8449:[[97,47,115],256],8450:[[67],256],8451:[[176,67],256],8453:[[99,47,111],256],8454:[[99,47,117],256],8455:[[400],256],8457:[[176,70],256],8458:[[103],256],8459:[[72],256],8460:[[72],256],8461:[[72],256],8462:[[104],256],8463:[[295],256],8464:[[73],256],8465:[[73],256],8466:[[76],256],8467:[[108],256],8469:[[78],256],8470:[[78,111],256],8473:[[80],256],8474:[[81],256],8475:[[82],256],8476:[[82],256],8477:[[82],256],8480:[[83,77],256],8481:[[84,69,76],256],8482:[[84,77],256],8484:[[90],256],8486:[[937]],8488:[[90],256],8490:[[75]],8491:[[197]],8492:[[66],256],8493:[[67],256],8495:[[101],256],8496:[[69],256],8497:[[70],256],8499:[[77],256],8500:[[111],256],8501:[[1488],256],8502:[[1489],256],8503:[[1490],256],8504:[[1491],256],8505:[[105],256],8507:[[70,65,88],256],8508:[[960],256],8509:[[947],256],8510:[[915],256],8511:[[928],256],8512:[[8721],256],8517:[[68],256],8518:[[100],256],8519:[[101],256],8520:[[105],256],8521:[[106],256],8528:[[49,8260,55],256],8529:[[49,8260,57],256],8530:[[49,8260,49,48],256],8531:[[49,8260,51],256],8532:[[50,8260,51],256],8533:[[49,8260,53],256],8534:[[50,8260,53],256],8535:[[51,8260,53],256],8536:[[52,8260,53],256],8537:[[49,8260,54],256],8538:[[53,8260,54],256],8539:[[49,8260,56],256],8540:[[51,8260,56],256],8541:[[53,8260,56],256],8542:[[55,8260,56],256],8543:[[49,8260],256],8544:[[73],256],8545:[[73,73],256],8546:[[73,73,73],256],8547:[[73,86],256],8548:[[86],256],8549:[[86,73],256],8550:[[86,73,73],256],8551:[[86,73,73,73],256],8552:[[73,88],256],8553:[[88],256],8554:[[88,73],256],8555:[[88,73,73],256],8556:[[76],256],8557:[[67],256],8558:[[68],256],8559:[[77],256],8560:[[105],256],8561:[[105,105],256],8562:[[105,105,105],256],8563:[[105,118],256],8564:[[118],256],8565:[[118,105],256],8566:[[118,105,105],256],8567:[[118,105,105,105],256],8568:[[105,120],256],8569:[[120],256],8570:[[120,105],256],8571:[[120,105,105],256],8572:[[108],256],8573:[[99],256],8574:[[100],256],8575:[[109],256],8585:[[48,8260,51],256],8592:[,,{824:8602}],8594:[,,{824:8603}],8596:[,,{824:8622}],8602:[[8592,824]],8603:[[8594,824]],8622:[[8596,824]],8653:[[8656,824]],8654:[[8660,824]],8655:[[8658,824]],8656:[,,{824:8653}],8658:[,,{824:8655}],8660:[,,{824:8654}]},8704:{8707:[,,{824:8708}],8708:[[8707,824]],8712:[,,{824:8713}],8713:[[8712,824]],8715:[,,{824:8716}],8716:[[8715,824]],8739:[,,{824:8740}],8740:[[8739,824]],8741:[,,{824:8742}],8742:[[8741,824]],8748:[[8747,8747],256],8749:[[8747,8747,8747],256],8751:[[8750,8750],256],8752:[[8750,8750,8750],256],8764:[,,{824:8769}],8769:[[8764,824]],8771:[,,{824:8772}],8772:[[8771,824]],8773:[,,{824:8775}],8775:[[8773,824]],8776:[,,{824:8777}],8777:[[8776,824]],8781:[,,{824:8813}],8800:[[61,824]],8801:[,,{824:8802}],8802:[[8801,824]],8804:[,,{824:8816}],8805:[,,{824:8817}],8813:[[8781,824]],8814:[[60,824]],8815:[[62,824]],8816:[[8804,824]],8817:[[8805,824]],8818:[,,{824:8820}],8819:[,,{824:8821}],8820:[[8818,824]],8821:[[8819,824]],8822:[,,{824:8824}],8823:[,,{824:8825}],8824:[[8822,824]],8825:[[8823,824]],8826:[,,{824:8832}],8827:[,,{824:8833}],8828:[,,{824:8928}],8829:[,,{824:8929}],8832:[[8826,824]],8833:[[8827,824]],8834:[,,{824:8836}],8835:[,,{824:8837}],8836:[[8834,824]],8837:[[8835,824]],8838:[,,{824:8840}],8839:[,,{824:8841}],8840:[[8838,824]],8841:[[8839,824]],8849:[,,{824:8930}],8850:[,,{824:8931}],8866:[,,{824:8876}],8872:[,,{824:8877}],8873:[,,{824:8878}],8875:[,,{824:8879}],8876:[[8866,824]],8877:[[8872,824]],8878:[[8873,824]],8879:[[8875,824]],8882:[,,{824:8938}],8883:[,,{824:8939}],8884:[,,{824:8940}],8885:[,,{824:8941}],8928:[[8828,824]],8929:[[8829,824]],8930:[[8849,824]],8931:[[8850,824]],8938:[[8882,824]],8939:[[8883,824]],8940:[[8884,824]],8941:[[8885,824]]},8960:{9001:[[12296]],9002:[[12297]]},9216:{9312:[[49],256],9313:[[50],256],9314:[[51],256],9315:[[52],256],9316:[[53],256],9317:[[54],256],9318:[[55],256],9319:[[56],256],9320:[[57],256],9321:[[49,48],256],9322:[[49,49],256],9323:[[49,50],256],9324:[[49,51],256],9325:[[49,52],256],9326:[[49,53],256],9327:[[49,54],256],9328:[[49,55],256],9329:[[49,56],256],9330:[[49,57],256],9331:[[50,48],256],9332:[[40,49,41],256],9333:[[40,50,41],256],9334:[[40,51,41],256],9335:[[40,52,41],256],9336:[[40,53,41],256],9337:[[40,54,41],256],9338:[[40,55,41],256],9339:[[40,56,41],256],9340:[[40,57,41],256],9341:[[40,49,48,41],256],9342:[[40,49,49,41],256],9343:[[40,49,50,41],256],9344:[[40,49,51,41],256],9345:[[40,49,52,41],256],9346:[[40,49,53,41],256],9347:[[40,49,54,41],256],9348:[[40,49,55,41],256],9349:[[40,49,56,41],256],9350:[[40,49,57,41],256],9351:[[40,50,48,41],256],9352:[[49,46],256],9353:[[50,46],256],9354:[[51,46],256],9355:[[52,46],256],9356:[[53,46],256],9357:[[54,46],256],9358:[[55,46],256],9359:[[56,46],256],9360:[[57,46],256],9361:[[49,48,46],256],9362:[[49,49,46],256],9363:[[49,50,46],256],9364:[[49,51,46],256],9365:[[49,52,46],256],9366:[[49,53,46],256],9367:[[49,54,46],256],9368:[[49,55,46],256],9369:[[49,56,46],256],9370:[[49,57,46],256],9371:[[50,48,46],256],9372:[[40,97,41],256],9373:[[40,98,41],256],9374:[[40,99,41],256],9375:[[40,100,41],256],9376:[[40,101,41],256],9377:[[40,102,41],256],9378:[[40,103,41],256],9379:[[40,104,41],256],9380:[[40,105,41],256],9381:[[40,106,41],256],9382:[[40,107,41],256],9383:[[40,108,41],256],9384:[[40,109,41],256],9385:[[40,110,41],256],9386:[[40,111,41],256],9387:[[40,112,41],256],9388:[[40,113,41],256],9389:[[40,114,41],256],9390:[[40,115,41],256],9391:[[40,116,41],256],9392:[[40,117,41],256],9393:[[40,118,41],256],9394:[[40,119,41],256],9395:[[40,120,41],256],9396:[[40,121,41],256],9397:[[40,122,41],256],9398:[[65],256],9399:[[66],256],9400:[[67],256],9401:[[68],256],9402:[[69],256],9403:[[70],256],9404:[[71],256],9405:[[72],256],9406:[[73],256],9407:[[74],256],9408:[[75],256],9409:[[76],256],9410:[[77],256],9411:[[78],256],9412:[[79],256],9413:[[80],256],9414:[[81],256],9415:[[82],256],9416:[[83],256],9417:[[84],256],9418:[[85],256],9419:[[86],256],9420:[[87],256],9421:[[88],256],9422:[[89],256],9423:[[90],256],9424:[[97],256],9425:[[98],256],9426:[[99],256],9427:[[100],256],9428:[[101],256],9429:[[102],256],9430:[[103],256],9431:[[104],256],9432:[[105],256],9433:[[106],256],9434:[[107],256],9435:[[108],256],9436:[[109],256],9437:[[110],256],9438:[[111],256],9439:[[112],256],9440:[[113],256],9441:[[114],256],9442:[[115],256],9443:[[116],256],9444:[[117],256],9445:[[118],256],9446:[[119],256],9447:[[120],256],9448:[[121],256],9449:[[122],256],9450:[[48],256]},10752:{10764:[[8747,8747,8747,8747],256],10868:[[58,58,61],256],10869:[[61,61],256],10870:[[61,61,61],256],10972:[[10973,824],512]},11264:{11388:[[106],256],11389:[[86],256],11503:[,230],11504:[,230],11505:[,230]},11520:{11631:[[11617],256],11647:[,9],11744:[,230],11745:[,230],11746:[,230],11747:[,230],11748:[,230],11749:[,230],11750:[,230],11751:[,230],11752:[,230],11753:[,230],11754:[,230],11755:[,230],11756:[,230],11757:[,230],11758:[,230],11759:[,230],11760:[,230],11761:[,230],11762:[,230],11763:[,230],11764:[,230],11765:[,230],11766:[,230],11767:[,230],11768:[,230],11769:[,230],11770:[,230],11771:[,230],11772:[,230],11773:[,230],11774:[,230],11775:[,230]},11776:{11935:[[27597],256],12019:[[40863],256]},12032:{12032:[[19968],256],12033:[[20008],256],12034:[[20022],256],12035:[[20031],256],12036:[[20057],256],12037:[[20101],256],12038:[[20108],256],12039:[[20128],256],12040:[[20154],256],12041:[[20799],256],12042:[[20837],256],12043:[[20843],256],12044:[[20866],256],12045:[[20886],256],12046:[[20907],256],12047:[[20960],256],12048:[[20981],256],12049:[[20992],256],12050:[[21147],256],12051:[[21241],256],12052:[[21269],256],12053:[[21274],256],12054:[[21304],256],12055:[[21313],256],12056:[[21340],256],12057:[[21353],256],12058:[[21378],256],12059:[[21430],256],12060:[[21448],256],12061:[[21475],256],12062:[[22231],256],12063:[[22303],256],12064:[[22763],256],12065:[[22786],256],12066:[[22794],256],12067:[[22805],256],12068:[[22823],256],12069:[[22899],256],12070:[[23376],256],12071:[[23424],256],12072:[[23544],256],12073:[[23567],256],12074:[[23586],256],12075:[[23608],256],12076:[[23662],256],12077:[[23665],256],12078:[[24027],256],12079:[[24037],256],12080:[[24049],256],12081:[[24062],256],12082:[[24178],256],12083:[[24186],256],12084:[[24191],256],12085:[[24308],256],12086:[[24318],256],12087:[[24331],256],12088:[[24339],256],12089:[[24400],256],12090:[[24417],256],12091:[[24435],256],12092:[[24515],256],12093:[[25096],256],12094:[[25142],256],12095:[[25163],256],12096:[[25903],256],12097:[[25908],256],12098:[[25991],256],12099:[[26007],256],12100:[[26020],256],12101:[[26041],256],12102:[[26080],256],12103:[[26085],256],12104:[[26352],256],12105:[[26376],256],12106:[[26408],256],12107:[[27424],256],12108:[[27490],256],12109:[[27513],256],12110:[[27571],256],12111:[[27595],256],12112:[[27604],256],12113:[[27611],256],12114:[[27663],256],12115:[[27668],256],12116:[[27700],256],12117:[[28779],256],12118:[[29226],256],12119:[[29238],256],12120:[[29243],256],12121:[[29247],256],12122:[[29255],256],12123:[[29273],256],12124:[[29275],256],12125:[[29356],256],12126:[[29572],256],12127:[[29577],256],12128:[[29916],256],12129:[[29926],256],12130:[[29976],256],12131:[[29983],256],12132:[[29992],256],12133:[[3e4],256],12134:[[30091],256],12135:[[30098],256],12136:[[30326],256],12137:[[30333],256],12138:[[30382],256],12139:[[30399],256],12140:[[30446],256],12141:[[30683],256],12142:[[30690],256],12143:[[30707],256],12144:[[31034],256],12145:[[31160],256],12146:[[31166],256],12147:[[31348],256],12148:[[31435],256],12149:[[31481],256],12150:[[31859],256],12151:[[31992],256],12152:[[32566],256],12153:[[32593],256],12154:[[32650],256],12155:[[32701],256],12156:[[32769],256],12157:[[32780],256],12158:[[32786],256],12159:[[32819],256],12160:[[32895],256],12161:[[32905],256],12162:[[33251],256],12163:[[33258],256],12164:[[33267],256],12165:[[33276],256],12166:[[33292],256],12167:[[33307],256],12168:[[33311],256],12169:[[33390],256],12170:[[33394],256],12171:[[33400],256],12172:[[34381],256],12173:[[34411],256],12174:[[34880],256],12175:[[34892],256],12176:[[34915],256],12177:[[35198],256],12178:[[35211],256],12179:[[35282],256],12180:[[35328],256],12181:[[35895],256],12182:[[35910],256],12183:[[35925],256],12184:[[35960],256],12185:[[35997],256],12186:[[36196],256],12187:[[36208],256],12188:[[36275],256],12189:[[36523],256],12190:[[36554],256],12191:[[36763],256],12192:[[36784],256],12193:[[36789],256],12194:[[37009],256],12195:[[37193],256],12196:[[37318],256],12197:[[37324],256],12198:[[37329],256],12199:[[38263],256],12200:[[38272],256],12201:[[38428],256],12202:[[38582],256],12203:[[38585],256],12204:[[38632],256],12205:[[38737],256],12206:[[38750],256],12207:[[38754],256],12208:[[38761],256],12209:[[38859],256],12210:[[38893],256],12211:[[38899],256],12212:[[38913],256],12213:[[39080],256],12214:[[39131],256],12215:[[39135],256],12216:[[39318],256],12217:[[39321],256],12218:[[39340],256],12219:[[39592],256],12220:[[39640],256],12221:[[39647],256],12222:[[39717],256],12223:[[39727],256],12224:[[39730],256],12225:[[39740],256],12226:[[39770],256],12227:[[40165],256],12228:[[40565],256],12229:[[40575],256],12230:[[40613],256],12231:[[40635],256],12232:[[40643],256],12233:[[40653],256],12234:[[40657],256],12235:[[40697],256],12236:[[40701],256],12237:[[40718],256],12238:[[40723],256],12239:[[40736],256],12240:[[40763],256],12241:[[40778],256],12242:[[40786],256],12243:[[40845],256],12244:[[40860],256],12245:[[40864],256]},12288:{12288:[[32],256],12330:[,218],12331:[,228],12332:[,232],12333:[,222],12334:[,224],12335:[,224],12342:[[12306],256],12344:[[21313],256],12345:[[21316],256],12346:[[21317],256],12358:[,,{12441:12436}],12363:[,,{12441:12364}],12364:[[12363,12441]],12365:[,,{12441:12366}],12366:[[12365,12441]],12367:[,,{12441:12368}],12368:[[12367,12441]],12369:[,,{12441:12370}],12370:[[12369,12441]],12371:[,,{12441:12372}],12372:[[12371,12441]],12373:[,,{12441:12374}],12374:[[12373,12441]],12375:[,,{12441:12376}],12376:[[12375,12441]],12377:[,,{12441:12378}],12378:[[12377,12441]],12379:[,,{12441:12380}],12380:[[12379,12441]],12381:[,,{12441:12382}],12382:[[12381,12441]],12383:[,,{12441:12384}],12384:[[12383,12441]],12385:[,,{12441:12386}],12386:[[12385,12441]],12388:[,,{12441:12389}],12389:[[12388,12441]],12390:[,,{12441:12391}],12391:[[12390,12441]],12392:[,,{12441:12393}],12393:[[12392,12441]],12399:[,,{12441:12400,12442:12401}],12400:[[12399,12441]],12401:[[12399,12442]],12402:[,,{12441:12403,12442:12404}],12403:[[12402,12441]],12404:[[12402,12442]],12405:[,,{12441:12406,12442:12407}],12406:[[12405,12441]],12407:[[12405,12442]],12408:[,,{12441:12409,12442:12410}],12409:[[12408,12441]],12410:[[12408,12442]],12411:[,,{12441:12412,12442:12413}],12412:[[12411,12441]],12413:[[12411,12442]],12436:[[12358,12441]],12441:[,8],12442:[,8],12443:[[32,12441],256],12444:[[32,12442],256],12445:[,,{12441:12446}],12446:[[12445,12441]],12447:[[12424,12426],256],12454:[,,{12441:12532}],12459:[,,{12441:12460}],12460:[[12459,12441]],12461:[,,{12441:12462}],12462:[[12461,12441]],12463:[,,{12441:12464}],12464:[[12463,12441]],12465:[,,{12441:12466}],12466:[[12465,12441]],12467:[,,{12441:12468}],12468:[[12467,12441]],12469:[,,{12441:12470}],12470:[[12469,12441]],12471:[,,{12441:12472}],12472:[[12471,12441]],12473:[,,{12441:12474}],12474:[[12473,12441]],12475:[,,{12441:12476}],12476:[[12475,12441]],12477:[,,{12441:12478}],12478:[[12477,12441]],12479:[,,{12441:12480}],12480:[[12479,12441]],12481:[,,{12441:12482}],12482:[[12481,12441]],12484:[,,{12441:12485}],12485:[[12484,12441]],12486:[,,{12441:12487}],12487:[[12486,12441]],12488:[,,{12441:12489}],12489:[[12488,12441]],12495:[,,{12441:12496,12442:12497}],12496:[[12495,12441]],12497:[[12495,12442]],12498:[,,{12441:12499,12442:12500}],12499:[[12498,12441]],12500:[[12498,12442]],12501:[,,{12441:12502,12442:12503}],12502:[[12501,12441]],12503:[[12501,12442]],12504:[,,{12441:12505,12442:12506}],12505:[[12504,12441]],12506:[[12504,12442]],12507:[,,{12441:12508,12442:12509}],12508:[[12507,12441]],12509:[[12507,12442]],12527:[,,{12441:12535}],12528:[,,{12441:12536}],12529:[,,{12441:12537}],12530:[,,{12441:12538}],12532:[[12454,12441]],12535:[[12527,12441]],12536:[[12528,12441]],12537:[[12529,12441]],12538:[[12530,12441]],12541:[,,{12441:12542}],12542:[[12541,12441]],12543:[[12467,12488],256]},12544:{12593:[[4352],256],12594:[[4353],256],12595:[[4522],256],12596:[[4354],256],12597:[[4524],256],12598:[[4525],256],12599:[[4355],256],12600:[[4356],256],12601:[[4357],256],12602:[[4528],256],12603:[[4529],256],12604:[[4530],256],12605:[[4531],256],12606:[[4532],256],12607:[[4533],256],12608:[[4378],256],12609:[[4358],256],12610:[[4359],256],12611:[[4360],256],12612:[[4385],256],12613:[[4361],256],12614:[[4362],256],12615:[[4363],256],12616:[[4364],256],12617:[[4365],256],12618:[[4366],256],12619:[[4367],256],12620:[[4368],256],12621:[[4369],256],12622:[[4370],256],12623:[[4449],256],12624:[[4450],256],12625:[[4451],256],12626:[[4452],256],12627:[[4453],256],12628:[[4454],256],12629:[[4455],256],12630:[[4456],256],12631:[[4457],256],12632:[[4458],256],12633:[[4459],256],12634:[[4460],256],12635:[[4461],256],12636:[[4462],256],12637:[[4463],256],12638:[[4464],256],12639:[[4465],256],12640:[[4466],256],12641:[[4467],256],12642:[[4468],256],12643:[[4469],256],12644:[[4448],256],12645:[[4372],256],12646:[[4373],256],12647:[[4551],256],12648:[[4552],256],12649:[[4556],256],12650:[[4558],256],12651:[[4563],256],12652:[[4567],256],12653:[[4569],256],12654:[[4380],256],12655:[[4573],256],12656:[[4575],256],12657:[[4381],256],12658:[[4382],256],12659:[[4384],256],12660:[[4386],256],12661:[[4387],256],12662:[[4391],256],12663:[[4393],256],12664:[[4395],256],12665:[[4396],256],12666:[[4397],256],12667:[[4398],256],12668:[[4399],256],12669:[[4402],256],12670:[[4406],256],12671:[[4416],256],12672:[[4423],256],12673:[[4428],256],12674:[[4593],256],12675:[[4594],256],12676:[[4439],256],12677:[[4440],256],12678:[[4441],256],12679:[[4484],256],12680:[[4485],256],12681:[[4488],256],12682:[[4497],256],12683:[[4498],256],12684:[[4500],256],12685:[[4510],256],12686:[[4513],256],12690:[[19968],256],12691:[[20108],256],12692:[[19977],256],12693:[[22235],256],12694:[[19978],256],12695:[[20013],256],12696:[[19979],256],12697:[[30002],256],12698:[[20057],256],12699:[[19993],256],12700:[[19969],256],12701:[[22825],256],12702:[[22320],256],12703:[[20154],256]},12800:{12800:[[40,4352,41],256],12801:[[40,4354,41],256],12802:[[40,4355,41],256],12803:[[40,4357,41],256],12804:[[40,4358,41],256],12805:[[40,4359,41],256],12806:[[40,4361,41],256],12807:[[40,4363,41],256],12808:[[40,4364,41],256],12809:[[40,4366,41],256],12810:[[40,4367,41],256],12811:[[40,4368,41],256],12812:[[40,4369,41],256],12813:[[40,4370,41],256],12814:[[40,4352,4449,41],256],12815:[[40,4354,4449,41],256],12816:[[40,4355,4449,41],256],12817:[[40,4357,4449,41],256],12818:[[40,4358,4449,41],256],12819:[[40,4359,4449,41],256],12820:[[40,4361,4449,41],256],12821:[[40,4363,4449,41],256],12822:[[40,4364,4449,41],256],12823:[[40,4366,4449,41],256],12824:[[40,4367,4449,41],256],12825:[[40,4368,4449,41],256],12826:[[40,4369,4449,41],256],12827:[[40,4370,4449,41],256],12828:[[40,4364,4462,41],256],12829:[[40,4363,4457,4364,4453,4523,41],256],12830:[[40,4363,4457,4370,4462,41],256],12832:[[40,19968,41],256],12833:[[40,20108,41],256],12834:[[40,19977,41],256],12835:[[40,22235,41],256],12836:[[40,20116,41],256],12837:[[40,20845,41],256],12838:[[40,19971,41],256],12839:[[40,20843,41],256],12840:[[40,20061,41],256],12841:[[40,21313,41],256],12842:[[40,26376,41],256],12843:[[40,28779,41],256],12844:[[40,27700,41],256],12845:[[40,26408,41],256],12846:[[40,37329,41],256],12847:[[40,22303,41],256],12848:[[40,26085,41],256],12849:[[40,26666,41],256],12850:[[40,26377,41],256],12851:[[40,31038,41],256],12852:[[40,21517,41],256],12853:[[40,29305,41],256],12854:[[40,36001,41],256],12855:[[40,31069,41],256],12856:[[40,21172,41],256],12857:[[40,20195,41],256],12858:[[40,21628,41],256],12859:[[40,23398,41],256],12860:[[40,30435,41],256],12861:[[40,20225,41],256],12862:[[40,36039,41],256],12863:[[40,21332,41],256],12864:[[40,31085,41],256],12865:[[40,20241,41],256],12866:[[40,33258,41],256],12867:[[40,33267,41],256],12868:[[21839],256],12869:[[24188],256],12870:[[25991],256],12871:[[31631],256],12880:[[80,84,69],256],12881:[[50,49],256],12882:[[50,50],256],12883:[[50,51],256],12884:[[50,52],256],12885:[[50,53],256],12886:[[50,54],256],12887:[[50,55],256],12888:[[50,56],256],12889:[[50,57],256],12890:[[51,48],256],12891:[[51,49],256],12892:[[51,50],256],12893:[[51,51],256],12894:[[51,52],256],12895:[[51,53],256],12896:[[4352],256],12897:[[4354],256],12898:[[4355],256],12899:[[4357],256],12900:[[4358],256],12901:[[4359],256],12902:[[4361],256],12903:[[4363],256],12904:[[4364],256],12905:[[4366],256],12906:[[4367],256],12907:[[4368],256],12908:[[4369],256],12909:[[4370],256],12910:[[4352,4449],256],12911:[[4354,4449],256],12912:[[4355,4449],256],12913:[[4357,4449],256],12914:[[4358,4449],256],12915:[[4359,4449],256],12916:[[4361,4449],256],12917:[[4363,4449],256],12918:[[4364,4449],256],12919:[[4366,4449],256],12920:[[4367,4449],256],12921:[[4368,4449],256],12922:[[4369,4449],256],12923:[[4370,4449],256],12924:[[4366,4449,4535,4352,4457],256],12925:[[4364,4462,4363,4468],256],12926:[[4363,4462],256],12928:[[19968],256],12929:[[20108],256],12930:[[19977],256],12931:[[22235],256],12932:[[20116],256],12933:[[20845],256],12934:[[19971],256],12935:[[20843],256],12936:[[20061],256],12937:[[21313],256],12938:[[26376],256],12939:[[28779],256],12940:[[27700],256],12941:[[26408],256],12942:[[37329],256],12943:[[22303],256],12944:[[26085],256],12945:[[26666],256],12946:[[26377],256],12947:[[31038],256],12948:[[21517],256],12949:[[29305],256],12950:[[36001],256],12951:[[31069],256],12952:[[21172],256],12953:[[31192],256],12954:[[30007],256],12955:[[22899],256],12956:[[36969],256],12957:[[20778],256],12958:[[21360],256],12959:[[27880],256],12960:[[38917],256],12961:[[20241],256],12962:[[20889],256],12963:[[27491],256],12964:[[19978],256],12965:[[20013],256],12966:[[19979],256],12967:[[24038],256],12968:[[21491],256],12969:[[21307],256],12970:[[23447],256],12971:[[23398],256],12972:[[30435],256],12973:[[20225],256],12974:[[36039],256],12975:[[21332],256],12976:[[22812],256],12977:[[51,54],256],12978:[[51,55],256],12979:[[51,56],256],12980:[[51,57],256],12981:[[52,48],256],12982:[[52,49],256],12983:[[52,50],256],12984:[[52,51],256],12985:[[52,52],256],12986:[[52,53],256],12987:[[52,54],256],12988:[[52,55],256],12989:[[52,56],256],12990:[[52,57],256],12991:[[53,48],256],12992:[[49,26376],256],12993:[[50,26376],256],12994:[[51,26376],256],12995:[[52,26376],256],12996:[[53,26376],256],12997:[[54,26376],256],12998:[[55,26376],256],12999:[[56,26376],256],13e3:[[57,26376],256],13001:[[49,48,26376],256],13002:[[49,49,26376],256],13003:[[49,50,26376],256],13004:[[72,103],256],13005:[[101,114,103],256],13006:[[101,86],256],13007:[[76,84,68],256],13008:[[12450],256],13009:[[12452],256],13010:[[12454],256],13011:[[12456],256],13012:[[12458],256],13013:[[12459],256],13014:[[12461],256],13015:[[12463],256],13016:[[12465],256],13017:[[12467],256],13018:[[12469],256],13019:[[12471],256],13020:[[12473],256],13021:[[12475],256],13022:[[12477],256],13023:[[12479],256],13024:[[12481],256],13025:[[12484],256],13026:[[12486],256],13027:[[12488],256],13028:[[12490],256],13029:[[12491],256],13030:[[12492],256],13031:[[12493],256],13032:[[12494],256],13033:[[12495],256],13034:[[12498],256],13035:[[12501],256],13036:[[12504],256],13037:[[12507],256],13038:[[12510],256],13039:[[12511],256],13040:[[12512],256],13041:[[12513],256],13042:[[12514],256],13043:[[12516],256],13044:[[12518],256],13045:[[12520],256],13046:[[12521],256],13047:[[12522],256],13048:[[12523],256],13049:[[12524],256],13050:[[12525],256],13051:[[12527],256],13052:[[12528],256],13053:[[12529],256],13054:[[12530],256]},13056:{13056:[[12450,12497,12540,12488],256],13057:[[12450,12523,12501,12449],256],13058:[[12450,12531,12506,12450],256],13059:[[12450,12540,12523],256],13060:[[12452,12491,12531,12464],256],13061:[[12452,12531,12481],256],13062:[[12454,12457,12531],256],13063:[[12456,12473,12463,12540,12489],256],13064:[[12456,12540,12459,12540],256],13065:[[12458,12531,12473],256],13066:[[12458,12540,12512],256],13067:[[12459,12452,12522],256],13068:[[12459,12521,12483,12488],256],13069:[[12459,12525,12522,12540],256],13070:[[12460,12525,12531],256],13071:[[12460,12531,12510],256],13072:[[12462,12460],256],13073:[[12462,12491,12540],256],13074:[[12461,12517,12522,12540],256],13075:[[12462,12523,12480,12540],256],13076:[[12461,12525],256],13077:[[12461,12525,12464,12521,12512],256],13078:[[12461,12525,12513,12540,12488,12523],256],13079:[[12461,12525,12527,12483,12488],256],13080:[[12464,12521,12512],256],13081:[[12464,12521,12512,12488,12531],256],13082:[[12463,12523,12476,12452,12525],256],13083:[[12463,12525,12540,12493],256],13084:[[12465,12540,12473],256],13085:[[12467,12523,12490],256],13086:[[12467,12540,12509],256],13087:[[12469,12452,12463,12523],256],13088:[[12469,12531,12481,12540,12512],256],13089:[[12471,12522,12531,12464],256],13090:[[12475,12531,12481],256],13091:[[12475,12531,12488],256],13092:[[12480,12540,12473],256],13093:[[12487,12471],256],13094:[[12489,12523],256],13095:[[12488,12531],256],13096:[[12490,12494],256],13097:[[12494,12483,12488],256],13098:[[12495,12452,12484],256],13099:[[12497,12540,12475,12531,12488],256],13100:[[12497,12540,12484],256],13101:[[12496,12540,12524,12523],256],13102:[[12500,12450,12473,12488,12523],256],13103:[[12500,12463,12523],256],13104:[[12500,12467],256],13105:[[12499,12523],256],13106:[[12501,12449,12521,12483,12489],256],13107:[[12501,12451,12540,12488],256],13108:[[12502,12483,12471,12455,12523],256],13109:[[12501,12521,12531],256],13110:[[12504,12463,12479,12540,12523],256],13111:[[12506,12477],256],13112:[[12506,12491,12498],256],13113:[[12504,12523,12484],256],13114:[[12506,12531,12473],256],13115:[[12506,12540,12472],256],13116:[[12505,12540,12479],256],13117:[[12509,12452,12531,12488],256],13118:[[12508,12523,12488],256],13119:[[12507,12531],256],13120:[[12509,12531,12489],256],13121:[[12507,12540,12523],256],13122:[[12507,12540,12531],256],13123:[[12510,12452,12463,12525],256],13124:[[12510,12452,12523],256],13125:[[12510,12483,12495],256],13126:[[12510,12523,12463],256],13127:[[12510,12531,12471,12519,12531],256],13128:[[12511,12463,12525,12531],256],13129:[[12511,12522],256],13130:[[12511,12522,12496,12540,12523],256],13131:[[12513,12460],256],13132:[[12513,12460,12488,12531],256],13133:[[12513,12540,12488,12523],256],13134:[[12516,12540,12489],256],13135:[[12516,12540,12523],256],13136:[[12518,12450,12531],256],13137:[[12522,12483,12488,12523],256],13138:[[12522,12521],256],13139:[[12523,12500,12540],256],13140:[[12523,12540,12502,12523],256],13141:[[12524,12512],256],13142:[[12524,12531,12488,12466,12531],256],13143:[[12527,12483,12488],256],13144:[[48,28857],256],13145:[[49,28857],256],13146:[[50,28857],256],13147:[[51,28857],256],13148:[[52,28857],256],13149:[[53,28857],256],13150:[[54,28857],256],13151:[[55,28857],256],13152:[[56,28857],256],13153:[[57,28857],256],13154:[[49,48,28857],256],13155:[[49,49,28857],256],13156:[[49,50,28857],256],13157:[[49,51,28857],256],13158:[[49,52,28857],256],13159:[[49,53,28857],256],13160:[[49,54,28857],256],13161:[[49,55,28857],256],13162:[[49,56,28857],256],13163:[[49,57,28857],256],13164:[[50,48,28857],256],13165:[[50,49,28857],256],13166:[[50,50,28857],256],13167:[[50,51,28857],256],13168:[[50,52,28857],256],13169:[[104,80,97],256],13170:[[100,97],256],13171:[[65,85],256],13172:[[98,97,114],256],13173:[[111,86],256],13174:[[112,99],256],13175:[[100,109],256],13176:[[100,109,178],256],13177:[[100,109,179],256],13178:[[73,85],256],13179:[[24179,25104],256],13180:[[26157,21644],256],13181:[[22823,27491],256],13182:[[26126,27835],256],13183:[[26666,24335,20250,31038],256],13184:[[112,65],256],13185:[[110,65],256],13186:[[956,65],256],13187:[[109,65],256],13188:[[107,65],256],13189:[[75,66],256],13190:[[77,66],256],13191:[[71,66],256],13192:[[99,97,108],256],13193:[[107,99,97,108],256],13194:[[112,70],256],13195:[[110,70],256],13196:[[956,70],256],13197:[[956,103],256],13198:[[109,103],256],13199:[[107,103],256],13200:[[72,122],256],13201:[[107,72,122],256],13202:[[77,72,122],256],13203:[[71,72,122],256],13204:[[84,72,122],256],13205:[[956,8467],256],13206:[[109,8467],256],13207:[[100,8467],256],13208:[[107,8467],256],13209:[[102,109],256],13210:[[110,109],256],13211:[[956,109],256],13212:[[109,109],256],13213:[[99,109],256],13214:[[107,109],256],13215:[[109,109,178],256],13216:[[99,109,178],256],13217:[[109,178],256],13218:[[107,109,178],256],13219:[[109,109,179],256],13220:[[99,109,179],256],13221:[[109,179],256],13222:[[107,109,179],256],13223:[[109,8725,115],256],13224:[[109,8725,115,178],256],13225:[[80,97],256],13226:[[107,80,97],256],13227:[[77,80,97],256],13228:[[71,80,97],256],13229:[[114,97,100],256],13230:[[114,97,100,8725,115],256],13231:[[114,97,100,8725,115,178],256],13232:[[112,115],256],13233:[[110,115],256],13234:[[956,115],256],13235:[[109,115],256],13236:[[112,86],256],13237:[[110,86],256],13238:[[956,86],256],13239:[[109,86],256],13240:[[107,86],256],13241:[[77,86],256],13242:[[112,87],256],13243:[[110,87],256],13244:[[956,87],256],13245:[[109,87],256],13246:[[107,87],256],13247:[[77,87],256],13248:[[107,937],256],13249:[[77,937],256],13250:[[97,46,109,46],256],13251:[[66,113],256],13252:[[99,99],256],13253:[[99,100],256],13254:[[67,8725,107,103],256],13255:[[67,111,46],256],13256:[[100,66],256],13257:[[71,121],256],13258:[[104,97],256],13259:[[72,80],256],13260:[[105,110],256],13261:[[75,75],256],13262:[[75,77],256],13263:[[107,116],256],13264:[[108,109],256],13265:[[108,110],256],13266:[[108,111,103],256],13267:[[108,120],256],13268:[[109,98],256],13269:[[109,105,108],256],13270:[[109,111,108],256],13271:[[80,72],256],13272:[[112,46,109,46],256],13273:[[80,80,77],256],13274:[[80,82],256],13275:[[115,114],256],13276:[[83,118],256],13277:[[87,98],256],13278:[[86,8725,109],256],13279:[[65,8725,109],256],13280:[[49,26085],256],13281:[[50,26085],256],13282:[[51,26085],256],13283:[[52,26085],256],13284:[[53,26085],256],13285:[[54,26085],256],13286:[[55,26085],256],13287:[[56,26085],256],13288:[[57,26085],256],13289:[[49,48,26085],256],13290:[[49,49,26085],256],13291:[[49,50,26085],256],13292:[[49,51,26085],256],13293:[[49,52,26085],256],13294:[[49,53,26085],256],13295:[[49,54,26085],256],13296:[[49,55,26085],256],13297:[[49,56,26085],256],13298:[[49,57,26085],256],13299:[[50,48,26085],256],13300:[[50,49,26085],256],13301:[[50,50,26085],256],13302:[[50,51,26085],256],13303:[[50,52,26085],256],13304:[[50,53,26085],256],13305:[[50,54,26085],256],13306:[[50,55,26085],256],13307:[[50,56,26085],256],13308:[[50,57,26085],256],13309:[[51,48,26085],256],13310:[[51,49,26085],256],13311:[[103,97,108],256]},27136:{92912:[,1],92913:[,1],92914:[,1],92915:[,1],92916:[,1]},27392:{92976:[,230],92977:[,230],92978:[,230],92979:[,230],92980:[,230],92981:[,230],92982:[,230]},42496:{42607:[,230],42612:[,230],42613:[,230],42614:[,230],42615:[,230],42616:[,230],42617:[,230],42618:[,230],42619:[,230],42620:[,230],42621:[,230],42652:[[1098],256],42653:[[1100],256],42655:[,230],42736:[,230],42737:[,230]},42752:{42864:[[42863],256],43e3:[[294],256],43001:[[339],256]},43008:{43014:[,9],43204:[,9],43232:[,230],43233:[,230],43234:[,230],43235:[,230],43236:[,230],43237:[,230],43238:[,230],43239:[,230],43240:[,230],43241:[,230],43242:[,230],43243:[,230],43244:[,230],43245:[,230],43246:[,230],43247:[,230],43248:[,230],43249:[,230]},43264:{43307:[,220],43308:[,220],43309:[,220],43347:[,9],43443:[,7],43456:[,9]},43520:{43696:[,230],43698:[,230],43699:[,230],43700:[,220],43703:[,230],43704:[,230],43710:[,230],43711:[,230],43713:[,230],43766:[,9]},43776:{43868:[[42791],256],43869:[[43831],256],43870:[[619],256],43871:[[43858],256],44013:[,9]},48128:{113822:[,1]},53504:{119134:[[119127,119141],512],119135:[[119128,119141],512],119136:[[119135,119150],512],119137:[[119135,119151],512],119138:[[119135,119152],512],119139:[[119135,119153],512],119140:[[119135,119154],512],119141:[,216],119142:[,216],119143:[,1],119144:[,1],119145:[,1],119149:[,226],119150:[,216],119151:[,216],119152:[,216],119153:[,216],119154:[,216],119163:[,220],119164:[,220],119165:[,220],119166:[,220],119167:[,220],119168:[,220],119169:[,220],119170:[,220],119173:[,230],119174:[,230],119175:[,230],119176:[,230],119177:[,230],119178:[,220],119179:[,220],119210:[,230],119211:[,230],119212:[,230],119213:[,230],119227:[[119225,119141],512],119228:[[119226,119141],512],119229:[[119227,119150],512],119230:[[119228,119150],512],119231:[[119227,119151],512],119232:[[119228,119151],512]},53760:{119362:[,230],119363:[,230],119364:[,230]},54272:{119808:[[65],256],119809:[[66],256],119810:[[67],256],119811:[[68],256],119812:[[69],256],119813:[[70],256],119814:[[71],256],119815:[[72],256],119816:[[73],256],119817:[[74],256],119818:[[75],256],119819:[[76],256],119820:[[77],256],119821:[[78],256],119822:[[79],256],119823:[[80],256],119824:[[81],256],119825:[[82],256],119826:[[83],256],119827:[[84],256],119828:[[85],256],119829:[[86],256],119830:[[87],256],119831:[[88],256],119832:[[89],256],119833:[[90],256],119834:[[97],256],119835:[[98],256],119836:[[99],256],119837:[[100],256],119838:[[101],256],119839:[[102],256],119840:[[103],256],119841:[[104],256],119842:[[105],256],119843:[[106],256],119844:[[107],256],119845:[[108],256],119846:[[109],256],119847:[[110],256],119848:[[111],256],119849:[[112],256],119850:[[113],256],119851:[[114],256],119852:[[115],256],119853:[[116],256],119854:[[117],256],119855:[[118],256],119856:[[119],256],119857:[[120],256],119858:[[121],256],119859:[[122],256],119860:[[65],256],119861:[[66],256],119862:[[67],256],119863:[[68],256],119864:[[69],256],119865:[[70],256],119866:[[71],256],119867:[[72],256],119868:[[73],256],119869:[[74],256],119870:[[75],256],119871:[[76],256],119872:[[77],256],119873:[[78],256],119874:[[79],256],119875:[[80],256],119876:[[81],256],119877:[[82],256],119878:[[83],256],119879:[[84],256],119880:[[85],256],119881:[[86],256],119882:[[87],256],119883:[[88],256],119884:[[89],256],119885:[[90],256],119886:[[97],256],119887:[[98],256],119888:[[99],256],119889:[[100],256],119890:[[101],256],119891:[[102],256],119892:[[103],256],119894:[[105],256],119895:[[106],256],119896:[[107],256],119897:[[108],256],119898:[[109],256],119899:[[110],256],119900:[[111],256],119901:[[112],256],119902:[[113],256],119903:[[114],256],119904:[[115],256],119905:[[116],256],119906:[[117],256],119907:[[118],256],119908:[[119],256],119909:[[120],256],119910:[[121],256],119911:[[122],256],119912:[[65],256],119913:[[66],256],119914:[[67],256],119915:[[68],256],119916:[[69],256],119917:[[70],256],119918:[[71],256],119919:[[72],256],119920:[[73],256],119921:[[74],256],119922:[[75],256],119923:[[76],256],119924:[[77],256],119925:[[78],256],119926:[[79],256],119927:[[80],256],119928:[[81],256],119929:[[82],256],119930:[[83],256],119931:[[84],256],119932:[[85],256],119933:[[86],256],119934:[[87],256],119935:[[88],256],119936:[[89],256],119937:[[90],256],119938:[[97],256],119939:[[98],256],119940:[[99],256],119941:[[100],256],119942:[[101],256],119943:[[102],256],119944:[[103],256],119945:[[104],256],119946:[[105],256],119947:[[106],256],119948:[[107],256],119949:[[108],256],119950:[[109],256],119951:[[110],256],119952:[[111],256],119953:[[112],256],119954:[[113],256],119955:[[114],256],119956:[[115],256],119957:[[116],256],119958:[[117],256],119959:[[118],256],119960:[[119],256],119961:[[120],256],119962:[[121],256],119963:[[122],256],119964:[[65],256],119966:[[67],256],119967:[[68],256],119970:[[71],256],119973:[[74],256],119974:[[75],256],119977:[[78],256],119978:[[79],256],119979:[[80],256],119980:[[81],256],119982:[[83],256],119983:[[84],256],119984:[[85],256],119985:[[86],256],119986:[[87],256],119987:[[88],256],119988:[[89],256],119989:[[90],256],119990:[[97],256],119991:[[98],256],119992:[[99],256],119993:[[100],256],119995:[[102],256],119997:[[104],256],119998:[[105],256],119999:[[106],256],12e4:[[107],256],120001:[[108],256],120002:[[109],256],120003:[[110],256],120005:[[112],256],120006:[[113],256],120007:[[114],256],120008:[[115],256],120009:[[116],256],120010:[[117],256],120011:[[118],256],120012:[[119],256],120013:[[120],256],120014:[[121],256],120015:[[122],256],120016:[[65],256],120017:[[66],256],120018:[[67],256],120019:[[68],256],120020:[[69],256],120021:[[70],256],120022:[[71],256],120023:[[72],256],120024:[[73],256],120025:[[74],256],120026:[[75],256],120027:[[76],256],120028:[[77],256],120029:[[78],256],120030:[[79],256],120031:[[80],256],120032:[[81],256],120033:[[82],256],120034:[[83],256],120035:[[84],256],120036:[[85],256],120037:[[86],256],120038:[[87],256],120039:[[88],256],120040:[[89],256],120041:[[90],256],120042:[[97],256],120043:[[98],256],120044:[[99],256],120045:[[100],256],120046:[[101],256],120047:[[102],256],120048:[[103],256],120049:[[104],256],120050:[[105],256],120051:[[106],256],120052:[[107],256],120053:[[108],256],120054:[[109],256],120055:[[110],256],120056:[[111],256],120057:[[112],256],120058:[[113],256],120059:[[114],256],120060:[[115],256],120061:[[116],256],120062:[[117],256],120063:[[118],256]},54528:{120064:[[119],256],120065:[[120],256],120066:[[121],256],120067:[[122],256],120068:[[65],256],120069:[[66],256],120071:[[68],256],120072:[[69],256],120073:[[70],256],120074:[[71],256],120077:[[74],256],120078:[[75],256],120079:[[76],256],120080:[[77],256],120081:[[78],256],120082:[[79],256],120083:[[80],256],120084:[[81],256],120086:[[83],256],120087:[[84],256],120088:[[85],256],120089:[[86],256],120090:[[87],256],120091:[[88],256],120092:[[89],256],120094:[[97],256],120095:[[98],256],120096:[[99],256],120097:[[100],256],120098:[[101],256],120099:[[102],256],120100:[[103],256],120101:[[104],256],120102:[[105],256],120103:[[106],256],120104:[[107],256],120105:[[108],256],120106:[[109],256],120107:[[110],256],120108:[[111],256],120109:[[112],256],120110:[[113],256],120111:[[114],256],120112:[[115],256],120113:[[116],256],120114:[[117],256],120115:[[118],256],120116:[[119],256],120117:[[120],256],120118:[[121],256],120119:[[122],256],120120:[[65],256],120121:[[66],256],120123:[[68],256],120124:[[69],256],120125:[[70],256],120126:[[71],256],120128:[[73],256],120129:[[74],256],120130:[[75],256],120131:[[76],256],120132:[[77],256],120134:[[79],256],120138:[[83],256],120139:[[84],256],120140:[[85],256],120141:[[86],256],120142:[[87],256],120143:[[88],256],120144:[[89],256],120146:[[97],256],120147:[[98],256],120148:[[99],256],120149:[[100],256],120150:[[101],256],120151:[[102],256],120152:[[103],256],120153:[[104],256],120154:[[105],256],120155:[[106],256],120156:[[107],256],120157:[[108],256],120158:[[109],256],120159:[[110],256],120160:[[111],256],120161:[[112],256],120162:[[113],256],120163:[[114],256],120164:[[115],256],120165:[[116],256],120166:[[117],256],120167:[[118],256],120168:[[119],256],120169:[[120],256],120170:[[121],256],120171:[[122],256],120172:[[65],256],120173:[[66],256],120174:[[67],256],120175:[[68],256],120176:[[69],256],120177:[[70],256],120178:[[71],256],120179:[[72],256],120180:[[73],256],120181:[[74],256],120182:[[75],256],120183:[[76],256],120184:[[77],256],120185:[[78],256],120186:[[79],256],120187:[[80],256],120188:[[81],256],120189:[[82],256],120190:[[83],256],120191:[[84],256],120192:[[85],256],120193:[[86],256],120194:[[87],256],120195:[[88],256],120196:[[89],256],120197:[[90],256],120198:[[97],256],120199:[[98],256],120200:[[99],256],120201:[[100],256],120202:[[101],256],120203:[[102],256],120204:[[103],256],120205:[[104],256],120206:[[105],256],120207:[[106],256],120208:[[107],256],120209:[[108],256],120210:[[109],256],120211:[[110],256],120212:[[111],256],120213:[[112],256],120214:[[113],256],120215:[[114],256],120216:[[115],256],120217:[[116],256],120218:[[117],256],120219:[[118],256],120220:[[119],256],120221:[[120],256],120222:[[121],256],120223:[[122],256],120224:[[65],256],120225:[[66],256],120226:[[67],256],120227:[[68],256],120228:[[69],256],120229:[[70],256],120230:[[71],256],120231:[[72],256],120232:[[73],256],120233:[[74],256],120234:[[75],256],120235:[[76],256],120236:[[77],256],120237:[[78],256],120238:[[79],256],120239:[[80],256],120240:[[81],256],120241:[[82],256],120242:[[83],256],120243:[[84],256],120244:[[85],256],120245:[[86],256],120246:[[87],256],120247:[[88],256],120248:[[89],256],120249:[[90],256],120250:[[97],256],120251:[[98],256],120252:[[99],256],120253:[[100],256],120254:[[101],256],120255:[[102],256],120256:[[103],256],120257:[[104],256],120258:[[105],256],120259:[[106],256],120260:[[107],256],120261:[[108],256],120262:[[109],256],120263:[[110],256],120264:[[111],256],120265:[[112],256],120266:[[113],256],120267:[[114],256],120268:[[115],256],120269:[[116],256],120270:[[117],256],120271:[[118],256],120272:[[119],256],120273:[[120],256],120274:[[121],256],120275:[[122],256],120276:[[65],256],120277:[[66],256],120278:[[67],256],120279:[[68],256],120280:[[69],256],120281:[[70],256],120282:[[71],256],120283:[[72],256],120284:[[73],256],120285:[[74],256],120286:[[75],256],120287:[[76],256],120288:[[77],256],120289:[[78],256],120290:[[79],256],120291:[[80],256],120292:[[81],256],120293:[[82],256],120294:[[83],256],120295:[[84],256],120296:[[85],256],120297:[[86],256],120298:[[87],256],120299:[[88],256],120300:[[89],256],120301:[[90],256],120302:[[97],256],120303:[[98],256],120304:[[99],256],120305:[[100],256],120306:[[101],256],120307:[[102],256],120308:[[103],256],120309:[[104],256],120310:[[105],256],120311:[[106],256],120312:[[107],256],120313:[[108],256],120314:[[109],256],120315:[[110],256],120316:[[111],256],120317:[[112],256],120318:[[113],256],120319:[[114],256]},54784:{120320:[[115],256],120321:[[116],256],120322:[[117],256],120323:[[118],256],120324:[[119],256],120325:[[120],256],120326:[[121],256],120327:[[122],256],120328:[[65],256],120329:[[66],256],120330:[[67],256],120331:[[68],256],120332:[[69],256],120333:[[70],256],120334:[[71],256],120335:[[72],256],120336:[[73],256],120337:[[74],256],120338:[[75],256],120339:[[76],256],120340:[[77],256],120341:[[78],256],120342:[[79],256],120343:[[80],256],120344:[[81],256],120345:[[82],256],120346:[[83],256],120347:[[84],256],120348:[[85],256],120349:[[86],256],120350:[[87],256],120351:[[88],256],120352:[[89],256],120353:[[90],256],120354:[[97],256],120355:[[98],256],120356:[[99],256],120357:[[100],256],120358:[[101],256],120359:[[102],256],120360:[[103],256],120361:[[104],256],120362:[[105],256],120363:[[106],256],120364:[[107],256],120365:[[108],256],120366:[[109],256],120367:[[110],256],120368:[[111],256],120369:[[112],256],120370:[[113],256],120371:[[114],256],120372:[[115],256],120373:[[116],256],120374:[[117],256],120375:[[118],256],120376:[[119],256],120377:[[120],256],120378:[[121],256],120379:[[122],256],120380:[[65],256],120381:[[66],256],120382:[[67],256],120383:[[68],256],120384:[[69],256],120385:[[70],256],120386:[[71],256],120387:[[72],256],120388:[[73],256],120389:[[74],256],120390:[[75],256],120391:[[76],256],120392:[[77],256],120393:[[78],256],120394:[[79],256],120395:[[80],256],120396:[[81],256],120397:[[82],256],120398:[[83],256],120399:[[84],256],120400:[[85],256],120401:[[86],256],120402:[[87],256],120403:[[88],256],120404:[[89],256],120405:[[90],256],120406:[[97],256],120407:[[98],256],120408:[[99],256],120409:[[100],256],120410:[[101],256],120411:[[102],256],120412:[[103],256],120413:[[104],256],120414:[[105],256],120415:[[106],256],120416:[[107],256],120417:[[108],256],120418:[[109],256],120419:[[110],256],120420:[[111],256],120421:[[112],256],120422:[[113],256],120423:[[114],256],120424:[[115],256],120425:[[116],256],120426:[[117],256],120427:[[118],256],120428:[[119],256],120429:[[120],256],120430:[[121],256],120431:[[122],256],120432:[[65],256],120433:[[66],256],120434:[[67],256],120435:[[68],256],120436:[[69],256],120437:[[70],256],120438:[[71],256],120439:[[72],256],120440:[[73],256],120441:[[74],256],120442:[[75],256],120443:[[76],256],120444:[[77],256],120445:[[78],256],120446:[[79],256],120447:[[80],256],120448:[[81],256],120449:[[82],256],120450:[[83],256],120451:[[84],256],120452:[[85],256],120453:[[86],256],120454:[[87],256],120455:[[88],256],120456:[[89],256],120457:[[90],256],120458:[[97],256],120459:[[98],256],120460:[[99],256],120461:[[100],256],120462:[[101],256],120463:[[102],256],120464:[[103],256],120465:[[104],256],120466:[[105],256],120467:[[106],256],120468:[[107],256],120469:[[108],256],120470:[[109],256],120471:[[110],256],120472:[[111],256],120473:[[112],256],120474:[[113],256],120475:[[114],256],120476:[[115],256],120477:[[116],256],120478:[[117],256],120479:[[118],256],120480:[[119],256],120481:[[120],256],120482:[[121],256],120483:[[122],256],120484:[[305],256],120485:[[567],256],120488:[[913],256],120489:[[914],256],120490:[[915],256],120491:[[916],256],120492:[[917],256],120493:[[918],256],120494:[[919],256],120495:[[920],256],120496:[[921],256],120497:[[922],256],120498:[[923],256],120499:[[924],256],120500:[[925],256],120501:[[926],256],120502:[[927],256],120503:[[928],256],120504:[[929],256],120505:[[1012],256],120506:[[931],256],120507:[[932],256],120508:[[933],256],120509:[[934],256],120510:[[935],256],120511:[[936],256],120512:[[937],256],120513:[[8711],256],120514:[[945],256],120515:[[946],256],120516:[[947],256],120517:[[948],256],120518:[[949],256],120519:[[950],256],120520:[[951],256],120521:[[952],256],120522:[[953],256],120523:[[954],256],120524:[[955],256],120525:[[956],256],120526:[[957],256],120527:[[958],256],120528:[[959],256],120529:[[960],256],120530:[[961],256],120531:[[962],256],120532:[[963],256],120533:[[964],256],120534:[[965],256],120535:[[966],256],120536:[[967],256],120537:[[968],256],120538:[[969],256],120539:[[8706],256],120540:[[1013],256],120541:[[977],256],120542:[[1008],256],120543:[[981],256],120544:[[1009],256],120545:[[982],256],120546:[[913],256],120547:[[914],256],120548:[[915],256],120549:[[916],256],120550:[[917],256],120551:[[918],256],120552:[[919],256],120553:[[920],256],120554:[[921],256],120555:[[922],256],120556:[[923],256],120557:[[924],256],120558:[[925],256],120559:[[926],256],120560:[[927],256],120561:[[928],256],120562:[[929],256],120563:[[1012],256],120564:[[931],256],120565:[[932],256],120566:[[933],256],120567:[[934],256],120568:[[935],256],120569:[[936],256],120570:[[937],256],120571:[[8711],256],120572:[[945],256],120573:[[946],256],120574:[[947],256],120575:[[948],256]},55040:{120576:[[949],256],120577:[[950],256],120578:[[951],256],120579:[[952],256],120580:[[953],256],120581:[[954],256],120582:[[955],256],120583:[[956],256],120584:[[957],256],120585:[[958],256],120586:[[959],256],120587:[[960],256],120588:[[961],256],120589:[[962],256],120590:[[963],256],120591:[[964],256],120592:[[965],256],120593:[[966],256],120594:[[967],256],120595:[[968],256],120596:[[969],256],120597:[[8706],256],120598:[[1013],256],120599:[[977],256],120600:[[1008],256],120601:[[981],256],120602:[[1009],256],120603:[[982],256],120604:[[913],256],120605:[[914],256],120606:[[915],256],120607:[[916],256],120608:[[917],256],120609:[[918],256],120610:[[919],256],120611:[[920],256],120612:[[921],256],120613:[[922],256],120614:[[923],256],120615:[[924],256],120616:[[925],256],120617:[[926],256],120618:[[927],256],120619:[[928],256],120620:[[929],256],120621:[[1012],256],120622:[[931],256],120623:[[932],256],120624:[[933],256],120625:[[934],256],120626:[[935],256],120627:[[936],256],120628:[[937],256],120629:[[8711],256],120630:[[945],256],120631:[[946],256],120632:[[947],256],120633:[[948],256],120634:[[949],256],120635:[[950],256],120636:[[951],256],120637:[[952],256],120638:[[953],256],120639:[[954],256],120640:[[955],256],120641:[[956],256],120642:[[957],256],120643:[[958],256],120644:[[959],256],120645:[[960],256],120646:[[961],256],120647:[[962],256],120648:[[963],256],120649:[[964],256],120650:[[965],256],120651:[[966],256],120652:[[967],256],120653:[[968],256],120654:[[969],256],120655:[[8706],256],120656:[[1013],256],120657:[[977],256],120658:[[1008],256],120659:[[981],256],120660:[[1009],256],120661:[[982],256],120662:[[913],256],120663:[[914],256],120664:[[915],256],120665:[[916],256],120666:[[917],256],120667:[[918],256],120668:[[919],256],120669:[[920],256],120670:[[921],256],120671:[[922],256],120672:[[923],256],120673:[[924],256],120674:[[925],256],120675:[[926],256],120676:[[927],256],120677:[[928],256],120678:[[929],256],120679:[[1012],256],120680:[[931],256],120681:[[932],256],120682:[[933],256],120683:[[934],256],120684:[[935],256],120685:[[936],256],120686:[[937],256],120687:[[8711],256],120688:[[945],256],120689:[[946],256],120690:[[947],256],120691:[[948],256],120692:[[949],256],120693:[[950],256],120694:[[951],256],120695:[[952],256],120696:[[953],256],120697:[[954],256],120698:[[955],256],120699:[[956],256],120700:[[957],256],120701:[[958],256],120702:[[959],256],120703:[[960],256],120704:[[961],256],120705:[[962],256],120706:[[963],256],120707:[[964],256],120708:[[965],256],120709:[[966],256],120710:[[967],256],120711:[[968],256],120712:[[969],256],120713:[[8706],256],120714:[[1013],256],120715:[[977],256],120716:[[1008],256],120717:[[981],256],120718:[[1009],256],120719:[[982],256],120720:[[913],256],120721:[[914],256],120722:[[915],256],120723:[[916],256],120724:[[917],256],120725:[[918],256],120726:[[919],256],120727:[[920],256],120728:[[921],256],120729:[[922],256],120730:[[923],256],120731:[[924],256],120732:[[925],256],120733:[[926],256],120734:[[927],256],120735:[[928],256],120736:[[929],256],120737:[[1012],256],120738:[[931],256],120739:[[932],256],120740:[[933],256],120741:[[934],256],120742:[[935],256],120743:[[936],256],120744:[[937],256],120745:[[8711],256],120746:[[945],256],120747:[[946],256],120748:[[947],256],120749:[[948],256],120750:[[949],256],120751:[[950],256],120752:[[951],256],120753:[[952],256],120754:[[953],256],120755:[[954],256],120756:[[955],256],120757:[[956],256],120758:[[957],256],120759:[[958],256],120760:[[959],256],120761:[[960],256],120762:[[961],256],120763:[[962],256],120764:[[963],256],120765:[[964],256],120766:[[965],256],120767:[[966],256],120768:[[967],256],120769:[[968],256],120770:[[969],256],120771:[[8706],256],120772:[[1013],256],120773:[[977],256],120774:[[1008],256],120775:[[981],256],120776:[[1009],256],120777:[[982],256],120778:[[988],256],120779:[[989],256],120782:[[48],256],120783:[[49],256],120784:[[50],256],120785:[[51],256],120786:[[52],256],120787:[[53],256],120788:[[54],256],120789:[[55],256],120790:[[56],256],120791:[[57],256],120792:[[48],256],120793:[[49],256],120794:[[50],256],120795:[[51],256],120796:[[52],256],120797:[[53],256],120798:[[54],256],120799:[[55],256],120800:[[56],256],120801:[[57],256],120802:[[48],256],120803:[[49],256],120804:[[50],256],120805:[[51],256],120806:[[52],256],120807:[[53],256],120808:[[54],256],120809:[[55],256],120810:[[56],256],120811:[[57],256],120812:[[48],256],120813:[[49],256],120814:[[50],256],120815:[[51],256],120816:[[52],256],120817:[[53],256],120818:[[54],256],120819:[[55],256],120820:[[56],256],120821:[[57],256],120822:[[48],256],120823:[[49],256],120824:[[50],256],120825:[[51],256],120826:[[52],256],120827:[[53],256],120828:[[54],256],120829:[[55],256],120830:[[56],256],120831:[[57],256]},59392:{125136:[,220],125137:[,220],125138:[,220],125139:[,220],125140:[,220],125141:[,220],125142:[,220]},60928:{126464:[[1575],256],126465:[[1576],256],126466:[[1580],256],126467:[[1583],256],126469:[[1608],256],126470:[[1586],256],126471:[[1581],256],126472:[[1591],256],126473:[[1610],256],126474:[[1603],256],126475:[[1604],256],126476:[[1605],256],126477:[[1606],256],126478:[[1587],256],126479:[[1593],256],126480:[[1601],256],126481:[[1589],256],126482:[[1602],256],126483:[[1585],256],126484:[[1588],256],126485:[[1578],256],126486:[[1579],256],126487:[[1582],256],126488:[[1584],256],126489:[[1590],256],126490:[[1592],256],126491:[[1594],256],126492:[[1646],256],126493:[[1722],256],126494:[[1697],256],126495:[[1647],256],126497:[[1576],256],126498:[[1580],256],126500:[[1607],256],126503:[[1581],256],126505:[[1610],256],126506:[[1603],256],126507:[[1604],256],126508:[[1605],256],126509:[[1606],256],126510:[[1587],256],126511:[[1593],256],126512:[[1601],256],126513:[[1589],256],126514:[[1602],256],126516:[[1588],256],126517:[[1578],256],126518:[[1579],256],126519:[[1582],256],126521:[[1590],256],126523:[[1594],256],126530:[[1580],256],126535:[[1581],256],126537:[[1610],256],126539:[[1604],256],126541:[[1606],256],126542:[[1587],256],126543:[[1593],256],126545:[[1589],256],126546:[[1602],256],126548:[[1588],256],126551:[[1582],256],126553:[[1590],256],126555:[[1594],256],126557:[[1722],256],126559:[[1647],256],126561:[[1576],256],126562:[[1580],256],126564:[[1607],256],126567:[[1581],256],126568:[[1591],256],126569:[[1610],256],126570:[[1603],256],126572:[[1605],256],126573:[[1606],256],126574:[[1587],256],126575:[[1593],256],126576:[[1601],256],126577:[[1589],256],126578:[[1602],256],126580:[[1588],256],126581:[[1578],256],126582:[[1579],256],126583:[[1582],256],126585:[[1590],256],126586:[[1592],256],126587:[[1594],256],126588:[[1646],256],126590:[[1697],256],126592:[[1575],256],126593:[[1576],256],126594:[[1580],256],126595:[[1583],256],126596:[[1607],256],126597:[[1608],256],126598:[[1586],256],126599:[[1581],256],126600:[[1591],256],126601:[[1610],256],126603:[[1604],256],126604:[[1605],256],126605:[[1606],256],126606:[[1587],256],126607:[[1593],256],126608:[[1601],256],126609:[[1589],256],126610:[[1602],256],126611:[[1585],256],126612:[[1588],256],126613:[[1578],256],126614:[[1579],256],126615:[[1582],256],126616:[[1584],256],126617:[[1590],256],126618:[[1592],256],126619:[[1594],256],126625:[[1576],256],126626:[[1580],256],126627:[[1583],256],126629:[[1608],256],126630:[[1586],256],126631:[[1581],256],126632:[[1591],256],126633:[[1610],256],126635:[[1604],256],126636:[[1605],256],126637:[[1606],256],126638:[[1587],256],126639:[[1593],256],126640:[[1601],256],126641:[[1589],256],126642:[[1602],256],126643:[[1585],256],126644:[[1588],256],126645:[[1578],256],126646:[[1579],256],126647:[[1582],256],126648:[[1584],256],126649:[[1590],256],126650:[[1592],256],126651:[[1594],256]},61696:{127232:[[48,46],256],127233:[[48,44],256],127234:[[49,44],256],127235:[[50,44],256],127236:[[51,44],256],127237:[[52,44],256],127238:[[53,44],256],127239:[[54,44],256],127240:[[55,44],256],127241:[[56,44],256],127242:[[57,44],256],127248:[[40,65,41],256],127249:[[40,66,41],256],127250:[[40,67,41],256],127251:[[40,68,41],256],127252:[[40,69,41],256],127253:[[40,70,41],256],127254:[[40,71,41],256],127255:[[40,72,41],256],127256:[[40,73,41],256],127257:[[40,74,41],256],127258:[[40,75,41],256],127259:[[40,76,41],256],127260:[[40,77,41],256],127261:[[40,78,41],256],127262:[[40,79,41],256],127263:[[40,80,41],256],127264:[[40,81,41],256],127265:[[40,82,41],256],127266:[[40,83,41],256],127267:[[40,84,41],256],127268:[[40,85,41],256],127269:[[40,86,41],256],127270:[[40,87,41],256],127271:[[40,88,41],256],127272:[[40,89,41],256],127273:[[40,90,41],256],127274:[[12308,83,12309],256],127275:[[67],256],127276:[[82],256],127277:[[67,68],256],127278:[[87,90],256],127280:[[65],256],127281:[[66],256],127282:[[67],256],127283:[[68],256],127284:[[69],256],127285:[[70],256],127286:[[71],256],127287:[[72],256],127288:[[73],256],127289:[[74],256],127290:[[75],256],127291:[[76],256],127292:[[77],256],127293:[[78],256],127294:[[79],256],127295:[[80],256],127296:[[81],256],127297:[[82],256],127298:[[83],256],127299:[[84],256],127300:[[85],256],127301:[[86],256],127302:[[87],256],127303:[[88],256],127304:[[89],256],127305:[[90],256],127306:[[72,86],256],127307:[[77,86],256],127308:[[83,68],256],127309:[[83,83],256],127310:[[80,80,86],256],127311:[[87,67],256],127338:[[77,67],256],127339:[[77,68],256],127376:[[68,74],256]},61952:{127488:[[12411,12363],256],127489:[[12467,12467],256],127490:[[12469],256],127504:[[25163],256],127505:[[23383],256],127506:[[21452],256],127507:[[12487],256],127508:[[20108],256],127509:[[22810],256],127510:[[35299],256],127511:[[22825],256],127512:[[20132],256],127513:[[26144],256],127514:[[28961],256],127515:[[26009],256],127516:[[21069],256],127517:[[24460],256],127518:[[20877],256],127519:[[26032],256],127520:[[21021],256],127521:[[32066],256],127522:[[29983],256],127523:[[36009],256],127524:[[22768],256],127525:[[21561],256],127526:[[28436],256],127527:[[25237],256],127528:[[25429],256],127529:[[19968],256],127530:[[19977],256],127531:[[36938],256],127532:[[24038],256],127533:[[20013],256],127534:[[21491],256],127535:[[25351],256],127536:[[36208],256],127537:[[25171],256],127538:[[31105],256],127539:[[31354],256],127540:[[21512],256],127541:[[28288],256],127542:[[26377],256],127543:[[26376],256],127544:[[30003],256],127545:[[21106],256],127546:[[21942],256],127552:[[12308,26412,12309],256],127553:[[12308,19977,12309],256],127554:[[12308,20108,12309],256],127555:[[12308,23433,12309],256],127556:[[12308,28857,12309],256],127557:[[12308,25171,12309],256],127558:[[12308,30423,12309],256],127559:[[12308,21213,12309],256],127560:[[12308,25943,12309],256],127568:[[24471],256],127569:[[21487],256]},63488:{194560:[[20029]],194561:[[20024]],194562:[[20033]],194563:[[131362]],194564:[[20320]],194565:[[20398]],194566:[[20411]],194567:[[20482]],194568:[[20602]],194569:[[20633]],194570:[[20711]],194571:[[20687]],194572:[[13470]],194573:[[132666]],194574:[[20813]],194575:[[20820]],194576:[[20836]],194577:[[20855]],194578:[[132380]],194579:[[13497]],194580:[[20839]],194581:[[20877]],194582:[[132427]],194583:[[20887]],194584:[[20900]],194585:[[20172]],194586:[[20908]],194587:[[20917]],194588:[[168415]],194589:[[20981]],194590:[[20995]],194591:[[13535]],194592:[[21051]],194593:[[21062]],194594:[[21106]],194595:[[21111]],194596:[[13589]],194597:[[21191]],194598:[[21193]],194599:[[21220]],194600:[[21242]],194601:[[21253]],194602:[[21254]],194603:[[21271]],194604:[[21321]],194605:[[21329]],194606:[[21338]],194607:[[21363]],194608:[[21373]],194609:[[21375]],194610:[[21375]],194611:[[21375]],194612:[[133676]],194613:[[28784]],194614:[[21450]],194615:[[21471]],194616:[[133987]],194617:[[21483]],194618:[[21489]],194619:[[21510]],194620:[[21662]],194621:[[21560]],194622:[[21576]],194623:[[21608]],194624:[[21666]],194625:[[21750]],194626:[[21776]],194627:[[21843]],194628:[[21859]],194629:[[21892]],194630:[[21892]],194631:[[21913]],194632:[[21931]],194633:[[21939]],194634:[[21954]],194635:[[22294]],194636:[[22022]],194637:[[22295]],194638:[[22097]],194639:[[22132]],194640:[[20999]],194641:[[22766]],194642:[[22478]],194643:[[22516]],194644:[[22541]],194645:[[22411]],194646:[[22578]],194647:[[22577]],194648:[[22700]],194649:[[136420]],194650:[[22770]],194651:[[22775]],194652:[[22790]],194653:[[22810]],194654:[[22818]],194655:[[22882]],194656:[[136872]],194657:[[136938]],194658:[[23020]],194659:[[23067]],194660:[[23079]],194661:[[23e3]],194662:[[23142]],194663:[[14062]],194664:[[14076]],194665:[[23304]],194666:[[23358]],194667:[[23358]],194668:[[137672]],194669:[[23491]],194670:[[23512]],194671:[[23527]],194672:[[23539]],194673:[[138008]],194674:[[23551]],194675:[[23558]],194676:[[24403]],194677:[[23586]],194678:[[14209]],194679:[[23648]],194680:[[23662]],194681:[[23744]],194682:[[23693]],194683:[[138724]],194684:[[23875]],194685:[[138726]],194686:[[23918]],194687:[[23915]],194688:[[23932]],194689:[[24033]],194690:[[24034]],194691:[[14383]],194692:[[24061]],194693:[[24104]],194694:[[24125]],194695:[[24169]],194696:[[14434]],194697:[[139651]],194698:[[14460]],194699:[[24240]],194700:[[24243]],194701:[[24246]],194702:[[24266]],194703:[[172946]],194704:[[24318]],194705:[[140081]],194706:[[140081]],194707:[[33281]],194708:[[24354]],194709:[[24354]],194710:[[14535]],194711:[[144056]],194712:[[156122]],194713:[[24418]],194714:[[24427]],194715:[[14563]],194716:[[24474]],194717:[[24525]],194718:[[24535]],194719:[[24569]],194720:[[24705]],194721:[[14650]],194722:[[14620]],194723:[[24724]],194724:[[141012]],194725:[[24775]],194726:[[24904]],194727:[[24908]],194728:[[24910]],194729:[[24908]],194730:[[24954]],194731:[[24974]],194732:[[25010]],194733:[[24996]],194734:[[25007]],194735:[[25054]],194736:[[25074]],194737:[[25078]],194738:[[25104]],194739:[[25115]],194740:[[25181]],194741:[[25265]],194742:[[25300]],194743:[[25424]],194744:[[142092]],194745:[[25405]],194746:[[25340]],194747:[[25448]],194748:[[25475]],194749:[[25572]],194750:[[142321]],194751:[[25634]],194752:[[25541]],194753:[[25513]],194754:[[14894]],194755:[[25705]],194756:[[25726]],194757:[[25757]],194758:[[25719]],194759:[[14956]],194760:[[25935]],194761:[[25964]],194762:[[143370]],194763:[[26083]],194764:[[26360]],194765:[[26185]],194766:[[15129]],194767:[[26257]],194768:[[15112]],194769:[[15076]],194770:[[20882]],194771:[[20885]],194772:[[26368]],194773:[[26268]],194774:[[32941]],194775:[[17369]],194776:[[26391]],194777:[[26395]],194778:[[26401]],194779:[[26462]],194780:[[26451]],194781:[[144323]],194782:[[15177]],194783:[[26618]],194784:[[26501]],194785:[[26706]],194786:[[26757]],194787:[[144493]],194788:[[26766]],194789:[[26655]],194790:[[26900]],194791:[[15261]],194792:[[26946]],194793:[[27043]],194794:[[27114]],194795:[[27304]],194796:[[145059]],194797:[[27355]],194798:[[15384]],194799:[[27425]],194800:[[145575]],194801:[[27476]],194802:[[15438]],194803:[[27506]],194804:[[27551]],194805:[[27578]],194806:[[27579]],194807:[[146061]],194808:[[138507]],194809:[[146170]],194810:[[27726]],194811:[[146620]],194812:[[27839]],194813:[[27853]],194814:[[27751]],194815:[[27926]]},63744:{63744:[[35912]],63745:[[26356]],63746:[[36554]],63747:[[36040]],63748:[[28369]],63749:[[20018]],63750:[[21477]],63751:[[40860]],63752:[[40860]],63753:[[22865]],63754:[[37329]],63755:[[21895]],63756:[[22856]],63757:[[25078]],63758:[[30313]],63759:[[32645]],63760:[[34367]],63761:[[34746]],63762:[[35064]],63763:[[37007]],63764:[[27138]],63765:[[27931]],63766:[[28889]],63767:[[29662]],63768:[[33853]],63769:[[37226]],63770:[[39409]],63771:[[20098]],63772:[[21365]],63773:[[27396]],63774:[[29211]],63775:[[34349]],63776:[[40478]],63777:[[23888]],63778:[[28651]],63779:[[34253]],63780:[[35172]],63781:[[25289]],63782:[[33240]],63783:[[34847]],63784:[[24266]],63785:[[26391]],63786:[[28010]],63787:[[29436]],63788:[[37070]],63789:[[20358]],63790:[[20919]],63791:[[21214]],63792:[[25796]],63793:[[27347]],63794:[[29200]],63795:[[30439]],63796:[[32769]],63797:[[34310]],63798:[[34396]],63799:[[36335]],63800:[[38706]],63801:[[39791]],63802:[[40442]],63803:[[30860]],63804:[[31103]],63805:[[32160]],63806:[[33737]],63807:[[37636]],63808:[[40575]],63809:[[35542]],63810:[[22751]],63811:[[24324]],63812:[[31840]],63813:[[32894]],63814:[[29282]],63815:[[30922]],63816:[[36034]],63817:[[38647]],63818:[[22744]],63819:[[23650]],63820:[[27155]],63821:[[28122]],63822:[[28431]],63823:[[32047]],63824:[[32311]],63825:[[38475]],63826:[[21202]],63827:[[32907]],63828:[[20956]],63829:[[20940]],63830:[[31260]],63831:[[32190]],63832:[[33777]],63833:[[38517]],63834:[[35712]],63835:[[25295]],63836:[[27138]],63837:[[35582]],63838:[[20025]],63839:[[23527]],63840:[[24594]],63841:[[29575]],63842:[[30064]],63843:[[21271]],63844:[[30971]],63845:[[20415]],63846:[[24489]],63847:[[19981]],63848:[[27852]],63849:[[25976]],63850:[[32034]],63851:[[21443]],63852:[[22622]],63853:[[30465]],63854:[[33865]],63855:[[35498]],63856:[[27578]],63857:[[36784]],63858:[[27784]],63859:[[25342]],63860:[[33509]],63861:[[25504]],63862:[[30053]],63863:[[20142]],63864:[[20841]],63865:[[20937]],63866:[[26753]],63867:[[31975]],63868:[[33391]],63869:[[35538]],63870:[[37327]],63871:[[21237]],63872:[[21570]],63873:[[22899]],63874:[[24300]],63875:[[26053]],63876:[[28670]],63877:[[31018]],63878:[[38317]],63879:[[39530]],63880:[[40599]],63881:[[40654]],63882:[[21147]],63883:[[26310]],63884:[[27511]],63885:[[36706]],63886:[[24180]],63887:[[24976]],63888:[[25088]],63889:[[25754]],63890:[[28451]],63891:[[29001]],63892:[[29833]],63893:[[31178]],63894:[[32244]],63895:[[32879]],63896:[[36646]],63897:[[34030]],63898:[[36899]],63899:[[37706]],63900:[[21015]],63901:[[21155]],63902:[[21693]],63903:[[28872]],63904:[[35010]],63905:[[35498]],63906:[[24265]],63907:[[24565]],63908:[[25467]],63909:[[27566]],63910:[[31806]],63911:[[29557]],63912:[[20196]],63913:[[22265]],63914:[[23527]],63915:[[23994]],63916:[[24604]],63917:[[29618]],63918:[[29801]],63919:[[32666]],63920:[[32838]],63921:[[37428]],63922:[[38646]],63923:[[38728]],63924:[[38936]],63925:[[20363]],63926:[[31150]],63927:[[37300]],63928:[[38584]],63929:[[24801]],63930:[[20102]],63931:[[20698]],63932:[[23534]],63933:[[23615]],63934:[[26009]],63935:[[27138]],63936:[[29134]],63937:[[30274]],63938:[[34044]],63939:[[36988]],63940:[[40845]],63941:[[26248]],63942:[[38446]],63943:[[21129]],63944:[[26491]],63945:[[26611]],63946:[[27969]],63947:[[28316]],63948:[[29705]],63949:[[30041]],63950:[[30827]],63951:[[32016]],63952:[[39006]],63953:[[20845]],63954:[[25134]],63955:[[38520]],63956:[[20523]],63957:[[23833]],63958:[[28138]],63959:[[36650]],63960:[[24459]],63961:[[24900]],63962:[[26647]],63963:[[29575]],63964:[[38534]],63965:[[21033]],63966:[[21519]],63967:[[23653]],63968:[[26131]],63969:[[26446]],63970:[[26792]],63971:[[27877]],63972:[[29702]],63973:[[30178]],63974:[[32633]],63975:[[35023]],63976:[[35041]],63977:[[37324]],63978:[[38626]],63979:[[21311]],63980:[[28346]],63981:[[21533]],63982:[[29136]],63983:[[29848]],63984:[[34298]],63985:[[38563]],63986:[[40023]],63987:[[40607]],63988:[[26519]],63989:[[28107]],63990:[[33256]],63991:[[31435]],63992:[[31520]],63993:[[31890]],63994:[[29376]],63995:[[28825]],63996:[[35672]],63997:[[20160]],63998:[[33590]],63999:[[21050]],194816:[[27966]],194817:[[28023]],194818:[[27969]],194819:[[28009]],194820:[[28024]],194821:[[28037]],194822:[[146718]],194823:[[27956]],194824:[[28207]],194825:[[28270]],194826:[[15667]],194827:[[28363]],194828:[[28359]],194829:[[147153]],194830:[[28153]],194831:[[28526]],194832:[[147294]],194833:[[147342]],194834:[[28614]],194835:[[28729]],194836:[[28702]],194837:[[28699]],194838:[[15766]],194839:[[28746]],194840:[[28797]],194841:[[28791]],194842:[[28845]],194843:[[132389]],194844:[[28997]],194845:[[148067]],194846:[[29084]],194847:[[148395]],194848:[[29224]],194849:[[29237]],194850:[[29264]],194851:[[149e3]],194852:[[29312]],194853:[[29333]],194854:[[149301]],194855:[[149524]],194856:[[29562]],194857:[[29579]],194858:[[16044]],194859:[[29605]],194860:[[16056]],194861:[[16056]],194862:[[29767]],194863:[[29788]],194864:[[29809]],194865:[[29829]],194866:[[29898]],194867:[[16155]],194868:[[29988]],194869:[[150582]],194870:[[30014]],194871:[[150674]],194872:[[30064]],194873:[[139679]],194874:[[30224]],194875:[[151457]],194876:[[151480]],194877:[[151620]],194878:[[16380]],194879:[[16392]],194880:[[30452]],194881:[[151795]],194882:[[151794]],194883:[[151833]],194884:[[151859]],194885:[[30494]],194886:[[30495]],194887:[[30495]],194888:[[30538]],194889:[[16441]],194890:[[30603]],194891:[[16454]],194892:[[16534]],194893:[[152605]],194894:[[30798]],194895:[[30860]],194896:[[30924]],194897:[[16611]],194898:[[153126]],194899:[[31062]],194900:[[153242]],194901:[[153285]],194902:[[31119]],194903:[[31211]],194904:[[16687]],194905:[[31296]],194906:[[31306]],194907:[[31311]],194908:[[153980]],194909:[[154279]],194910:[[154279]],194911:[[31470]],194912:[[16898]],194913:[[154539]],194914:[[31686]],194915:[[31689]],194916:[[16935]],194917:[[154752]],194918:[[31954]],194919:[[17056]],194920:[[31976]],194921:[[31971]],194922:[[32e3]],194923:[[155526]],194924:[[32099]],194925:[[17153]],194926:[[32199]],194927:[[32258]],194928:[[32325]],194929:[[17204]],194930:[[156200]],194931:[[156231]],194932:[[17241]],194933:[[156377]],194934:[[32634]],194935:[[156478]],194936:[[32661]],194937:[[32762]],194938:[[32773]],194939:[[156890]],194940:[[156963]],194941:[[32864]],194942:[[157096]],194943:[[32880]],194944:[[144223]],194945:[[17365]],194946:[[32946]],194947:[[33027]],194948:[[17419]],194949:[[33086]],194950:[[23221]],194951:[[157607]],194952:[[157621]],194953:[[144275]],194954:[[144284]],194955:[[33281]],194956:[[33284]],194957:[[36766]],194958:[[17515]],194959:[[33425]],194960:[[33419]],194961:[[33437]],194962:[[21171]],194963:[[33457]],194964:[[33459]],194965:[[33469]],194966:[[33510]],194967:[[158524]],194968:[[33509]],194969:[[33565]],194970:[[33635]],194971:[[33709]],194972:[[33571]],194973:[[33725]],194974:[[33767]],194975:[[33879]],194976:[[33619]],194977:[[33738]],194978:[[33740]],194979:[[33756]],194980:[[158774]],194981:[[159083]],194982:[[158933]],194983:[[17707]],194984:[[34033]],194985:[[34035]],194986:[[34070]],194987:[[160714]],194988:[[34148]],194989:[[159532]],194990:[[17757]],194991:[[17761]],194992:[[159665]],194993:[[159954]],194994:[[17771]],194995:[[34384]],194996:[[34396]],194997:[[34407]],194998:[[34409]],194999:[[34473]],195e3:[[34440]],195001:[[34574]],195002:[[34530]],195003:[[34681]],195004:[[34600]],195005:[[34667]],195006:[[34694]],195007:[[17879]],195008:[[34785]],195009:[[34817]],195010:[[17913]],195011:[[34912]],195012:[[34915]],195013:[[161383]],195014:[[35031]],195015:[[35038]],195016:[[17973]],195017:[[35066]],195018:[[13499]],195019:[[161966]],195020:[[162150]],195021:[[18110]],195022:[[18119]],195023:[[35488]],195024:[[35565]],195025:[[35722]],195026:[[35925]],195027:[[162984]],195028:[[36011]],195029:[[36033]],195030:[[36123]],195031:[[36215]],195032:[[163631]],195033:[[133124]],195034:[[36299]],195035:[[36284]],195036:[[36336]],195037:[[133342]],195038:[[36564]],195039:[[36664]],195040:[[165330]],195041:[[165357]],195042:[[37012]],195043:[[37105]],195044:[[37137]],195045:[[165678]],195046:[[37147]],195047:[[37432]],195048:[[37591]],195049:[[37592]],195050:[[37500]],195051:[[37881]],195052:[[37909]],195053:[[166906]],195054:[[38283]],195055:[[18837]],195056:[[38327]],195057:[[167287]],195058:[[18918]],195059:[[38595]],195060:[[23986]],195061:[[38691]],195062:[[168261]],195063:[[168474]],195064:[[19054]],195065:[[19062]],195066:[[38880]],195067:[[168970]],195068:[[19122]],195069:[[169110]],195070:[[38923]],195071:[[38923]]},64e3:{64e3:[[20999]],64001:[[24230]],64002:[[25299]],64003:[[31958]],64004:[[23429]],64005:[[27934]],64006:[[26292]],64007:[[36667]],64008:[[34892]],64009:[[38477]],64010:[[35211]],64011:[[24275]],64012:[[20800]],64013:[[21952]],64016:[[22618]],64018:[[26228]],64021:[[20958]],64022:[[29482]],64023:[[30410]],64024:[[31036]],64025:[[31070]],64026:[[31077]],64027:[[31119]],64028:[[38742]],64029:[[31934]],64030:[[32701]],64032:[[34322]],64034:[[35576]],64037:[[36920]],64038:[[37117]],64042:[[39151]],64043:[[39164]],64044:[[39208]],64045:[[40372]],64046:[[37086]],64047:[[38583]],64048:[[20398]],64049:[[20711]],64050:[[20813]],64051:[[21193]],64052:[[21220]],64053:[[21329]],64054:[[21917]],64055:[[22022]],64056:[[22120]],64057:[[22592]],64058:[[22696]],64059:[[23652]],64060:[[23662]],64061:[[24724]],64062:[[24936]],64063:[[24974]],64064:[[25074]],64065:[[25935]],64066:[[26082]],64067:[[26257]],64068:[[26757]],64069:[[28023]],64070:[[28186]],64071:[[28450]],64072:[[29038]],64073:[[29227]],64074:[[29730]],64075:[[30865]],64076:[[31038]],64077:[[31049]],64078:[[31048]],64079:[[31056]],64080:[[31062]],64081:[[31069]],64082:[[31117]],64083:[[31118]],64084:[[31296]],64085:[[31361]],64086:[[31680]],64087:[[32244]],64088:[[32265]],64089:[[32321]],64090:[[32626]],64091:[[32773]],64092:[[33261]],64093:[[33401]],64094:[[33401]],64095:[[33879]],64096:[[35088]],64097:[[35222]],64098:[[35585]],64099:[[35641]],64100:[[36051]],64101:[[36104]],64102:[[36790]],64103:[[36920]],64104:[[38627]],64105:[[38911]],64106:[[38971]],64107:[[24693]],64108:[[148206]],64109:[[33304]],64112:[[20006]],64113:[[20917]],64114:[[20840]],64115:[[20352]],64116:[[20805]],64117:[[20864]],64118:[[21191]],64119:[[21242]],64120:[[21917]],64121:[[21845]],64122:[[21913]],64123:[[21986]],64124:[[22618]],64125:[[22707]],64126:[[22852]],64127:[[22868]],64128:[[23138]],64129:[[23336]],64130:[[24274]],64131:[[24281]],64132:[[24425]],64133:[[24493]],64134:[[24792]],64135:[[24910]],64136:[[24840]],64137:[[24974]],64138:[[24928]],64139:[[25074]],64140:[[25140]],64141:[[25540]],64142:[[25628]],64143:[[25682]],64144:[[25942]],64145:[[26228]],64146:[[26391]],64147:[[26395]],64148:[[26454]],64149:[[27513]],64150:[[27578]],64151:[[27969]],64152:[[28379]],64153:[[28363]],64154:[[28450]],64155:[[28702]],64156:[[29038]],64157:[[30631]],64158:[[29237]],64159:[[29359]],64160:[[29482]],64161:[[29809]],64162:[[29958]],64163:[[30011]],64164:[[30237]],64165:[[30239]],64166:[[30410]],64167:[[30427]],64168:[[30452]],64169:[[30538]],64170:[[30528]],64171:[[30924]],64172:[[31409]],64173:[[31680]],64174:[[31867]],64175:[[32091]],64176:[[32244]],64177:[[32574]],64178:[[32773]],64179:[[33618]],64180:[[33775]],64181:[[34681]],64182:[[35137]],64183:[[35206]],64184:[[35222]],64185:[[35519]],64186:[[35576]],64187:[[35531]],64188:[[35585]],64189:[[35582]],64190:[[35565]],64191:[[35641]],64192:[[35722]],64193:[[36104]],64194:[[36664]],64195:[[36978]],64196:[[37273]],64197:[[37494]],64198:[[38524]],64199:[[38627]],64200:[[38742]],64201:[[38875]],64202:[[38911]],64203:[[38923]],64204:[[38971]],64205:[[39698]],64206:[[40860]],64207:[[141386]],64208:[[141380]],64209:[[144341]],64210:[[15261]],64211:[[16408]],64212:[[16441]],64213:[[152137]],64214:[[154832]],64215:[[163539]],64216:[[40771]],64217:[[40846]],195072:[[38953]],195073:[[169398]],195074:[[39138]],195075:[[19251]],195076:[[39209]],195077:[[39335]],195078:[[39362]],195079:[[39422]],195080:[[19406]],195081:[[170800]],195082:[[39698]],195083:[[4e4]],195084:[[40189]],195085:[[19662]],195086:[[19693]],195087:[[40295]],195088:[[172238]],195089:[[19704]],195090:[[172293]],195091:[[172558]],195092:[[172689]],195093:[[40635]],195094:[[19798]],195095:[[40697]],195096:[[40702]],195097:[[40709]],195098:[[40719]],195099:[[40726]],195100:[[40763]],195101:[[173568]]},64256:{64256:[[102,102],256],64257:[[102,105],256],64258:[[102,108],256],64259:[[102,102,105],256],64260:[[102,102,108],256],64261:[[383,116],256],64262:[[115,116],256],64275:[[1396,1398],256],64276:[[1396,1381],256],64277:[[1396,1387],256],64278:[[1406,1398],256],64279:[[1396,1389],256],64285:[[1497,1460],512],64286:[,26],64287:[[1522,1463],512],64288:[[1506],256],64289:[[1488],256],64290:[[1491],256],64291:[[1492],256],64292:[[1499],256],64293:[[1500],256],64294:[[1501],256],64295:[[1512],256],64296:[[1514],256],64297:[[43],256],64298:[[1513,1473],512],64299:[[1513,1474],512],64300:[[64329,1473],512],64301:[[64329,1474],512],64302:[[1488,1463],512],64303:[[1488,1464],512],64304:[[1488,1468],512],64305:[[1489,1468],512],64306:[[1490,1468],512],64307:[[1491,1468],512],64308:[[1492,1468],512],64309:[[1493,1468],512],64310:[[1494,1468],512],64312:[[1496,1468],512],64313:[[1497,1468],512],64314:[[1498,1468],512],64315:[[1499,1468],512],64316:[[1500,1468],512],64318:[[1502,1468],512],64320:[[1504,1468],512],64321:[[1505,1468],512],64323:[[1507,1468],512],64324:[[1508,1468],512],64326:[[1510,1468],512],64327:[[1511,1468],512],64328:[[1512,1468],512],64329:[[1513,1468],512],64330:[[1514,1468],512],64331:[[1493,1465],512],64332:[[1489,1471],512],64333:[[1499,1471],512],64334:[[1508,1471],512],64335:[[1488,1500],256],64336:[[1649],256],64337:[[1649],256],64338:[[1659],256],64339:[[1659],256],64340:[[1659],256],64341:[[1659],256],64342:[[1662],256],64343:[[1662],256],64344:[[1662],256],64345:[[1662],256],64346:[[1664],256],64347:[[1664],256],64348:[[1664],256],64349:[[1664],256],64350:[[1658],256],64351:[[1658],256],64352:[[1658],256],64353:[[1658],256],64354:[[1663],256],64355:[[1663],256],64356:[[1663],256],64357:[[1663],256],64358:[[1657],256],64359:[[1657],256],64360:[[1657],256],64361:[[1657],256],64362:[[1700],256],64363:[[1700],256],64364:[[1700],256],64365:[[1700],256],64366:[[1702],256],64367:[[1702],256],64368:[[1702],256],64369:[[1702],256],64370:[[1668],256],64371:[[1668],256],64372:[[1668],256],64373:[[1668],256],64374:[[1667],256],64375:[[1667],256],64376:[[1667],256],64377:[[1667],256],64378:[[1670],256],64379:[[1670],256],64380:[[1670],256],64381:[[1670],256],64382:[[1671],256],64383:[[1671],256],64384:[[1671],256],64385:[[1671],256],64386:[[1677],256],64387:[[1677],256],64388:[[1676],256],64389:[[1676],256],64390:[[1678],256],64391:[[1678],256],64392:[[1672],256],64393:[[1672],256],64394:[[1688],256],64395:[[1688],256],64396:[[1681],256],64397:[[1681],256],64398:[[1705],256],64399:[[1705],256],64400:[[1705],256],64401:[[1705],256],64402:[[1711],256],64403:[[1711],256],64404:[[1711],256],64405:[[1711],256],64406:[[1715],256],64407:[[1715],256],64408:[[1715],256],64409:[[1715],256],64410:[[1713],256],64411:[[1713],256],64412:[[1713],256],64413:[[1713],256],64414:[[1722],256],64415:[[1722],256],64416:[[1723],256],64417:[[1723],256],64418:[[1723],256],64419:[[1723],256],64420:[[1728],256],64421:[[1728],256],64422:[[1729],256],64423:[[1729],256],64424:[[1729],256],64425:[[1729],256],64426:[[1726],256],64427:[[1726],256],64428:[[1726],256],64429:[[1726],256],64430:[[1746],256],64431:[[1746],256],64432:[[1747],256],64433:[[1747],256],64467:[[1709],256],64468:[[1709],256],64469:[[1709],256],64470:[[1709],256],64471:[[1735],256],64472:[[1735],256],64473:[[1734],256],64474:[[1734],256],64475:[[1736],256],64476:[[1736],256],64477:[[1655],256],64478:[[1739],256],64479:[[1739],256],64480:[[1733],256],64481:[[1733],256],64482:[[1737],256],64483:[[1737],256],64484:[[1744],256],64485:[[1744],256],64486:[[1744],256],64487:[[1744],256],64488:[[1609],256],64489:[[1609],256],64490:[[1574,1575],256],64491:[[1574,1575],256],64492:[[1574,1749],256],64493:[[1574,1749],256],64494:[[1574,1608],256],64495:[[1574,1608],256],64496:[[1574,1735],256],64497:[[1574,1735],256],64498:[[1574,1734],256],64499:[[1574,1734],256],64500:[[1574,1736],256],64501:[[1574,1736],256],64502:[[1574,1744],256],64503:[[1574,1744],256],64504:[[1574,1744],256],64505:[[1574,1609],256],64506:[[1574,1609],256],64507:[[1574,1609],256],64508:[[1740],256],64509:[[1740],256],64510:[[1740],256],64511:[[1740],256]},64512:{64512:[[1574,1580],256],64513:[[1574,1581],256],64514:[[1574,1605],256],64515:[[1574,1609],256],64516:[[1574,1610],256],64517:[[1576,1580],256],64518:[[1576,1581],256],64519:[[1576,1582],256],64520:[[1576,1605],256],64521:[[1576,1609],256],64522:[[1576,1610],256],64523:[[1578,1580],256],64524:[[1578,1581],256],64525:[[1578,1582],256],64526:[[1578,1605],256],64527:[[1578,1609],256],64528:[[1578,1610],256],64529:[[1579,1580],256],64530:[[1579,1605],256],64531:[[1579,1609],256],64532:[[1579,1610],256],64533:[[1580,1581],256],64534:[[1580,1605],256],64535:[[1581,1580],256],64536:[[1581,1605],256],64537:[[1582,1580],256],64538:[[1582,1581],256],64539:[[1582,1605],256],64540:[[1587,1580],256],64541:[[1587,1581],256],64542:[[1587,1582],256],64543:[[1587,1605],256],64544:[[1589,1581],256],64545:[[1589,1605],256],64546:[[1590,1580],256],64547:[[1590,1581],256],64548:[[1590,1582],256],64549:[[1590,1605],256],64550:[[1591,1581],256],64551:[[1591,1605],256],64552:[[1592,1605],256],64553:[[1593,1580],256],64554:[[1593,1605],256],64555:[[1594,1580],256],64556:[[1594,1605],256],64557:[[1601,1580],256],64558:[[1601,1581],256],64559:[[1601,1582],256],64560:[[1601,1605],256],64561:[[1601,1609],256],64562:[[1601,1610],256],64563:[[1602,1581],256],64564:[[1602,1605],256],64565:[[1602,1609],256],64566:[[1602,1610],256],64567:[[1603,1575],256],64568:[[1603,1580],256],64569:[[1603,1581],256],64570:[[1603,1582],256],64571:[[1603,1604],256],64572:[[1603,1605],256],64573:[[1603,1609],256],64574:[[1603,1610],256],64575:[[1604,1580],256],64576:[[1604,1581],256],64577:[[1604,1582],256],64578:[[1604,1605],256],64579:[[1604,1609],256],64580:[[1604,1610],256],64581:[[1605,1580],256],64582:[[1605,1581],256],64583:[[1605,1582],256],64584:[[1605,1605],256],64585:[[1605,1609],256],64586:[[1605,1610],256],64587:[[1606,1580],256],64588:[[1606,1581],256],64589:[[1606,1582],256],64590:[[1606,1605],256],64591:[[1606,1609],256],64592:[[1606,1610],256],64593:[[1607,1580],256],64594:[[1607,1605],256],64595:[[1607,1609],256],64596:[[1607,1610],256],64597:[[1610,1580],256],64598:[[1610,1581],256],64599:[[1610,1582],256],64600:[[1610,1605],256],64601:[[1610,1609],256],64602:[[1610,1610],256],64603:[[1584,1648],256],64604:[[1585,1648],256],64605:[[1609,1648],256],64606:[[32,1612,1617],256],64607:[[32,1613,1617],256],64608:[[32,1614,1617],256],64609:[[32,1615,1617],256],64610:[[32,1616,1617],256],64611:[[32,1617,1648],256],64612:[[1574,1585],256],64613:[[1574,1586],256],64614:[[1574,1605],256],64615:[[1574,1606],256],64616:[[1574,1609],256],64617:[[1574,1610],256],64618:[[1576,1585],256],64619:[[1576,1586],256],64620:[[1576,1605],256],64621:[[1576,1606],256],64622:[[1576,1609],256],64623:[[1576,1610],256],64624:[[1578,1585],256],64625:[[1578,1586],256],64626:[[1578,1605],256],64627:[[1578,1606],256],64628:[[1578,1609],256],64629:[[1578,1610],256],64630:[[1579,1585],256],64631:[[1579,1586],256],64632:[[1579,1605],256],64633:[[1579,1606],256],64634:[[1579,1609],256],64635:[[1579,1610],256],64636:[[1601,1609],256],64637:[[1601,1610],256],64638:[[1602,1609],256],64639:[[1602,1610],256],64640:[[1603,1575],256],64641:[[1603,1604],256],64642:[[1603,1605],256],64643:[[1603,1609],256],64644:[[1603,1610],256],64645:[[1604,1605],256],64646:[[1604,1609],256],64647:[[1604,1610],256],64648:[[1605,1575],256],64649:[[1605,1605],256],64650:[[1606,1585],256],64651:[[1606,1586],256],64652:[[1606,1605],256],64653:[[1606,1606],256],64654:[[1606,1609],256],64655:[[1606,1610],256],64656:[[1609,1648],256],64657:[[1610,1585],256],64658:[[1610,1586],256],64659:[[1610,1605],256],64660:[[1610,1606],256],64661:[[1610,1609],256],64662:[[1610,1610],256],64663:[[1574,1580],256],64664:[[1574,1581],256],64665:[[1574,1582],256],64666:[[1574,1605],256],64667:[[1574,1607],256],64668:[[1576,1580],256],64669:[[1576,1581],256],64670:[[1576,1582],256],64671:[[1576,1605],256],64672:[[1576,1607],256],64673:[[1578,1580],256],64674:[[1578,1581],256],64675:[[1578,1582],256],64676:[[1578,1605],256],64677:[[1578,1607],256],64678:[[1579,1605],256],64679:[[1580,1581],256],64680:[[1580,1605],256],64681:[[1581,1580],256],64682:[[1581,1605],256],64683:[[1582,1580],256],64684:[[1582,1605],256],64685:[[1587,1580],256],64686:[[1587,1581],256],64687:[[1587,1582],256],64688:[[1587,1605],256],64689:[[1589,1581],256],64690:[[1589,1582],256],64691:[[1589,1605],256],64692:[[1590,1580],256],64693:[[1590,1581],256],64694:[[1590,1582],256],64695:[[1590,1605],256],64696:[[1591,1581],256],64697:[[1592,1605],256],64698:[[1593,1580],256],64699:[[1593,1605],256],64700:[[1594,1580],256],64701:[[1594,1605],256],64702:[[1601,1580],256],64703:[[1601,1581],256],64704:[[1601,1582],256],64705:[[1601,1605],256],64706:[[1602,1581],256],64707:[[1602,1605],256],64708:[[1603,1580],256],64709:[[1603,1581],256],64710:[[1603,1582],256],64711:[[1603,1604],256],64712:[[1603,1605],256],64713:[[1604,1580],256],64714:[[1604,1581],256],64715:[[1604,1582],256],64716:[[1604,1605],256],64717:[[1604,1607],256],64718:[[1605,1580],256],64719:[[1605,1581],256],64720:[[1605,1582],256],64721:[[1605,1605],256],64722:[[1606,1580],256],64723:[[1606,1581],256],64724:[[1606,1582],256],64725:[[1606,1605],256],64726:[[1606,1607],256],64727:[[1607,1580],256],64728:[[1607,1605],256],64729:[[1607,1648],256],64730:[[1610,1580],256],64731:[[1610,1581],256],64732:[[1610,1582],256],64733:[[1610,1605],256],64734:[[1610,1607],256],64735:[[1574,1605],256],64736:[[1574,1607],256],64737:[[1576,1605],256],64738:[[1576,1607],256],64739:[[1578,1605],256],64740:[[1578,1607],256],64741:[[1579,1605],256],64742:[[1579,1607],256],64743:[[1587,1605],256],64744:[[1587,1607],256],64745:[[1588,1605],256],64746:[[1588,1607],256],64747:[[1603,1604],256],64748:[[1603,1605],256],64749:[[1604,1605],256],64750:[[1606,1605],256],64751:[[1606,1607],256],64752:[[1610,1605],256],64753:[[1610,1607],256],64754:[[1600,1614,1617],256],64755:[[1600,1615,1617],256],64756:[[1600,1616,1617],256],64757:[[1591,1609],256],64758:[[1591,1610],256],64759:[[1593,1609],256],64760:[[1593,1610],256],64761:[[1594,1609],256],64762:[[1594,1610],256],64763:[[1587,1609],256],64764:[[1587,1610],256],64765:[[1588,1609],256],64766:[[1588,1610],256],64767:[[1581,1609],256]},64768:{64768:[[1581,1610],256],64769:[[1580,1609],256],64770:[[1580,1610],256],64771:[[1582,1609],256],64772:[[1582,1610],256],64773:[[1589,1609],256],64774:[[1589,1610],256],64775:[[1590,1609],256],64776:[[1590,1610],256],64777:[[1588,1580],256],64778:[[1588,1581],256],64779:[[1588,1582],256],64780:[[1588,1605],256],64781:[[1588,1585],256],64782:[[1587,1585],256],64783:[[1589,1585],256],64784:[[1590,1585],256],64785:[[1591,1609],256],64786:[[1591,1610],256],64787:[[1593,1609],256],64788:[[1593,1610],256],64789:[[1594,1609],256],64790:[[1594,1610],256],64791:[[1587,1609],256],64792:[[1587,1610],256],64793:[[1588,1609],256],64794:[[1588,1610],256],64795:[[1581,1609],256],64796:[[1581,1610],256],64797:[[1580,1609],256],64798:[[1580,1610],256],64799:[[1582,1609],256],64800:[[1582,1610],256],64801:[[1589,1609],256],64802:[[1589,1610],256],64803:[[1590,1609],256],64804:[[1590,1610],256],64805:[[1588,1580],256],64806:[[1588,1581],256],64807:[[1588,1582],256],64808:[[1588,1605],256],64809:[[1588,1585],256],64810:[[1587,1585],256],64811:[[1589,1585],256],64812:[[1590,1585],256],64813:[[1588,1580],256],64814:[[1588,1581],256],64815:[[1588,1582],256],64816:[[1588,1605],256],64817:[[1587,1607],256],64818:[[1588,1607],256],64819:[[1591,1605],256],64820:[[1587,1580],256],64821:[[1587,1581],256],64822:[[1587,1582],256],64823:[[1588,1580],256],64824:[[1588,1581],256],64825:[[1588,1582],256],64826:[[1591,1605],256],64827:[[1592,1605],256],64828:[[1575,1611],256],64829:[[1575,1611],256],64848:[[1578,1580,1605],256],64849:[[1578,1581,1580],256],64850:[[1578,1581,1580],256],64851:[[1578,1581,1605],256],64852:[[1578,1582,1605],256],64853:[[1578,1605,1580],256],64854:[[1578,1605,1581],256],64855:[[1578,1605,1582],256],64856:[[1580,1605,1581],256],64857:[[1580,1605,1581],256],64858:[[1581,1605,1610],256],64859:[[1581,1605,1609],256],64860:[[1587,1581,1580],256],64861:[[1587,1580,1581],256],64862:[[1587,1580,1609],256],64863:[[1587,1605,1581],256],64864:[[1587,1605,1581],256],64865:[[1587,1605,1580],256],64866:[[1587,1605,1605],256],64867:[[1587,1605,1605],256],64868:[[1589,1581,1581],256],64869:[[1589,1581,1581],256],64870:[[1589,1605,1605],256],64871:[[1588,1581,1605],256],64872:[[1588,1581,1605],256],64873:[[1588,1580,1610],256],64874:[[1588,1605,1582],256],64875:[[1588,1605,1582],256],64876:[[1588,1605,1605],256],64877:[[1588,1605,1605],256],64878:[[1590,1581,1609],256],64879:[[1590,1582,1605],256],64880:[[1590,1582,1605],256],64881:[[1591,1605,1581],256],64882:[[1591,1605,1581],256],64883:[[1591,1605,1605],256],64884:[[1591,1605,1610],256],64885:[[1593,1580,1605],256],64886:[[1593,1605,1605],256],64887:[[1593,1605,1605],256],64888:[[1593,1605,1609],256],64889:[[1594,1605,1605],256],64890:[[1594,1605,1610],256],64891:[[1594,1605,1609],256],64892:[[1601,1582,1605],256],64893:[[1601,1582,1605],256],64894:[[1602,1605,1581],256],64895:[[1602,1605,1605],256],64896:[[1604,1581,1605],256],64897:[[1604,1581,1610],256],64898:[[1604,1581,1609],256],64899:[[1604,1580,1580],256],64900:[[1604,1580,1580],256],64901:[[1604,1582,1605],256],64902:[[1604,1582,1605],256],64903:[[1604,1605,1581],256],64904:[[1604,1605,1581],256],64905:[[1605,1581,1580],256],64906:[[1605,1581,1605],256],64907:[[1605,1581,1610],256],64908:[[1605,1580,1581],256],64909:[[1605,1580,1605],256],64910:[[1605,1582,1580],256],64911:[[1605,1582,1605],256],64914:[[1605,1580,1582],256],64915:[[1607,1605,1580],256],64916:[[1607,1605,1605],256],64917:[[1606,1581,1605],256],64918:[[1606,1581,1609],256],64919:[[1606,1580,1605],256],64920:[[1606,1580,1605],256],64921:[[1606,1580,1609],256],64922:[[1606,1605,1610],256],64923:[[1606,1605,1609],256],64924:[[1610,1605,1605],256],64925:[[1610,1605,1605],256],64926:[[1576,1582,1610],256],64927:[[1578,1580,1610],256],64928:[[1578,1580,1609],256],64929:[[1578,1582,1610],256],64930:[[1578,1582,1609],256],64931:[[1578,1605,1610],256],64932:[[1578,1605,1609],256],64933:[[1580,1605,1610],256],64934:[[1580,1581,1609],256],64935:[[1580,1605,1609],256],64936:[[1587,1582,1609],256],64937:[[1589,1581,1610],256],64938:[[1588,1581,1610],256],64939:[[1590,1581,1610],256],64940:[[1604,1580,1610],256],64941:[[1604,1605,1610],256],64942:[[1610,1581,1610],256],64943:[[1610,1580,1610],256],64944:[[1610,1605,1610],256],64945:[[1605,1605,1610],256],64946:[[1602,1605,1610],256],64947:[[1606,1581,1610],256],64948:[[1602,1605,1581],256],64949:[[1604,1581,1605],256],64950:[[1593,1605,1610],256],64951:[[1603,1605,1610],256],64952:[[1606,1580,1581],256],64953:[[1605,1582,1610],256],64954:[[1604,1580,1605],256],64955:[[1603,1605,1605],256],64956:[[1604,1580,1605],256],64957:[[1606,1580,1581],256],64958:[[1580,1581,1610],256],64959:[[1581,1580,1610],256],64960:[[1605,1580,1610],256],64961:[[1601,1605,1610],256],64962:[[1576,1581,1610],256],64963:[[1603,1605,1605],256],64964:[[1593,1580,1605],256],64965:[[1589,1605,1605],256],64966:[[1587,1582,1610],256],64967:[[1606,1580,1610],256],65008:[[1589,1604,1746],256],65009:[[1602,1604,1746],256],65010:[[1575,1604,1604,1607],256],65011:[[1575,1603,1576,1585],256],65012:[[1605,1581,1605,1583],256],65013:[[1589,1604,1593,1605],256],65014:[[1585,1587,1608,1604],256],65015:[[1593,1604,1610,1607],256],65016:[[1608,1587,1604,1605],256],65017:[[1589,1604,1609],256],65018:[[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605],256],65019:[[1580,1604,32,1580,1604,1575,1604,1607],256],65020:[[1585,1740,1575,1604],256]},65024:{65040:[[44],256],65041:[[12289],256],65042:[[12290],256],65043:[[58],256],65044:[[59],256],65045:[[33],256],65046:[[63],256],65047:[[12310],256],65048:[[12311],256],65049:[[8230],256],65056:[,230],65057:[,230],65058:[,230],65059:[,230],65060:[,230],65061:[,230],65062:[,230],65063:[,220],65064:[,220],65065:[,220],65066:[,220],65067:[,220],65068:[,220],65069:[,220],65072:[[8229],256],65073:[[8212],256],65074:[[8211],256],65075:[[95],256],65076:[[95],256],65077:[[40],256],65078:[[41],256],65079:[[123],256],65080:[[125],256],65081:[[12308],256],65082:[[12309],256],65083:[[12304],256],65084:[[12305],256],65085:[[12298],256],65086:[[12299],256],65087:[[12296],256],65088:[[12297],256],65089:[[12300],256],65090:[[12301],256],65091:[[12302],256],65092:[[12303],256],65095:[[91],256],65096:[[93],256],65097:[[8254],256],65098:[[8254],256],65099:[[8254],256],65100:[[8254],256],65101:[[95],256],65102:[[95],256],65103:[[95],256],65104:[[44],256],65105:[[12289],256],65106:[[46],256],65108:[[59],256],65109:[[58],256],65110:[[63],256],65111:[[33],256],65112:[[8212],256],65113:[[40],256],65114:[[41],256],65115:[[123],256],65116:[[125],256],65117:[[12308],256],65118:[[12309],256],65119:[[35],256],65120:[[38],256],65121:[[42],256],65122:[[43],256],65123:[[45],256],65124:[[60],256],65125:[[62],256],65126:[[61],256],65128:[[92],256],65129:[[36],256],65130:[[37],256],65131:[[64],256],65136:[[32,1611],256],65137:[[1600,1611],256],65138:[[32,1612],256],65140:[[32,1613],256],65142:[[32,1614],256],65143:[[1600,1614],256],65144:[[32,1615],256],65145:[[1600,1615],256],65146:[[32,1616],256],65147:[[1600,1616],256],65148:[[32,1617],256],65149:[[1600,1617],256],65150:[[32,1618],256],65151:[[1600,1618],256],65152:[[1569],256],65153:[[1570],256],65154:[[1570],256],65155:[[1571],256],65156:[[1571],256],65157:[[1572],256],65158:[[1572],256],65159:[[1573],256],65160:[[1573],256],65161:[[1574],256],65162:[[1574],256],65163:[[1574],256],65164:[[1574],256],65165:[[1575],256],65166:[[1575],256],65167:[[1576],256],65168:[[1576],256],65169:[[1576],256],65170:[[1576],256],65171:[[1577],256],65172:[[1577],256],65173:[[1578],256],65174:[[1578],256],65175:[[1578],256],65176:[[1578],256],65177:[[1579],256],65178:[[1579],256],65179:[[1579],256],65180:[[1579],256],65181:[[1580],256],65182:[[1580],256],65183:[[1580],256],65184:[[1580],256],65185:[[1581],256],65186:[[1581],256],65187:[[1581],256],65188:[[1581],256],65189:[[1582],256],65190:[[1582],256],65191:[[1582],256],65192:[[1582],256],65193:[[1583],256],65194:[[1583],256],65195:[[1584],256],65196:[[1584],256],65197:[[1585],256],65198:[[1585],256],65199:[[1586],256],65200:[[1586],256],65201:[[1587],256],65202:[[1587],256],65203:[[1587],256],65204:[[1587],256],65205:[[1588],256],65206:[[1588],256],65207:[[1588],256],65208:[[1588],256],65209:[[1589],256],65210:[[1589],256],65211:[[1589],256],65212:[[1589],256],65213:[[1590],256],65214:[[1590],256],65215:[[1590],256],65216:[[1590],256],65217:[[1591],256],65218:[[1591],256],65219:[[1591],256],65220:[[1591],256],65221:[[1592],256],65222:[[1592],256],65223:[[1592],256],65224:[[1592],256],65225:[[1593],256],65226:[[1593],256],65227:[[1593],256],65228:[[1593],256],65229:[[1594],256],65230:[[1594],256],65231:[[1594],256],65232:[[1594],256],65233:[[1601],256],65234:[[1601],256],65235:[[1601],256],65236:[[1601],256],65237:[[1602],256],65238:[[1602],256],65239:[[1602],256],65240:[[1602],256],65241:[[1603],256],65242:[[1603],256],65243:[[1603],256],65244:[[1603],256],65245:[[1604],256],65246:[[1604],256],65247:[[1604],256],65248:[[1604],256],65249:[[1605],256],65250:[[1605],256],65251:[[1605],256],65252:[[1605],256],65253:[[1606],256],65254:[[1606],256],65255:[[1606],256],65256:[[1606],256],65257:[[1607],256],65258:[[1607],256],65259:[[1607],256],65260:[[1607],256],65261:[[1608],256],65262:[[1608],256],65263:[[1609],256],65264:[[1609],256],65265:[[1610],256],65266:[[1610],256],65267:[[1610],256],65268:[[1610],256],65269:[[1604,1570],256],65270:[[1604,1570],256],65271:[[1604,1571],256],65272:[[1604,1571],256],65273:[[1604,1573],256],65274:[[1604,1573],256],65275:[[1604,1575],256],65276:[[1604,1575],256]},65280:{65281:[[33],256],65282:[[34],256],65283:[[35],256],65284:[[36],256],65285:[[37],256],65286:[[38],256],65287:[[39],256],65288:[[40],256],65289:[[41],256],65290:[[42],256],65291:[[43],256],65292:[[44],256],65293:[[45],256],65294:[[46],256],65295:[[47],256],65296:[[48],256],65297:[[49],256],65298:[[50],256],65299:[[51],256],65300:[[52],256],65301:[[53],256],65302:[[54],256],65303:[[55],256],65304:[[56],256],65305:[[57],256],65306:[[58],256],65307:[[59],256],65308:[[60],256],65309:[[61],256],65310:[[62],256],65311:[[63],256],65312:[[64],256],65313:[[65],256],65314:[[66],256],65315:[[67],256],65316:[[68],256],65317:[[69],256],65318:[[70],256],65319:[[71],256],65320:[[72],256],65321:[[73],256],65322:[[74],256],65323:[[75],256],65324:[[76],256],65325:[[77],256],65326:[[78],256],65327:[[79],256],65328:[[80],256],65329:[[81],256],65330:[[82],256],65331:[[83],256],65332:[[84],256],65333:[[85],256],65334:[[86],256],65335:[[87],256],65336:[[88],256],65337:[[89],256],65338:[[90],256],65339:[[91],256],65340:[[92],256],65341:[[93],256],65342:[[94],256],65343:[[95],256],65344:[[96],256],65345:[[97],256],65346:[[98],256],65347:[[99],256],65348:[[100],256],65349:[[101],256],65350:[[102],256],65351:[[103],256],65352:[[104],256],65353:[[105],256],65354:[[106],256],65355:[[107],256],65356:[[108],256],65357:[[109],256],65358:[[110],256],65359:[[111],256],65360:[[112],256],65361:[[113],256],65362:[[114],256],65363:[[115],256],65364:[[116],256],65365:[[117],256],65366:[[118],256],65367:[[119],256],65368:[[120],256],65369:[[121],256],65370:[[122],256],65371:[[123],256],65372:[[124],256],65373:[[125],256],65374:[[126],256],65375:[[10629],256],65376:[[10630],256],65377:[[12290],256],65378:[[12300],256],65379:[[12301],256],65380:[[12289],256],65381:[[12539],256],65382:[[12530],256],65383:[[12449],256],65384:[[12451],256],65385:[[12453],256],65386:[[12455],256],65387:[[12457],256],65388:[[12515],256],65389:[[12517],256],65390:[[12519],256],65391:[[12483],256],65392:[[12540],256],65393:[[12450],256],65394:[[12452],256],65395:[[12454],256],65396:[[12456],256],65397:[[12458],256],65398:[[12459],256],65399:[[12461],256],65400:[[12463],256],65401:[[12465],256],65402:[[12467],256],65403:[[12469],256],65404:[[12471],256],65405:[[12473],256],65406:[[12475],256],65407:[[12477],256],65408:[[12479],256],65409:[[12481],256],65410:[[12484],256],65411:[[12486],256],65412:[[12488],256],65413:[[12490],256],65414:[[12491],256],65415:[[12492],256],65416:[[12493],256],65417:[[12494],256],65418:[[12495],256],65419:[[12498],256],65420:[[12501],256],65421:[[12504],256],65422:[[12507],256],65423:[[12510],256],65424:[[12511],256],65425:[[12512],256],65426:[[12513],256],65427:[[12514],256],65428:[[12516],256],65429:[[12518],256],65430:[[12520],256],65431:[[12521],256],65432:[[12522],256],65433:[[12523],256],65434:[[12524],256],65435:[[12525],256],65436:[[12527],256],65437:[[12531],256],65438:[[12441],256],65439:[[12442],256],65440:[[12644],256],65441:[[12593],256],65442:[[12594],256],65443:[[12595],256],65444:[[12596],256],65445:[[12597],256],65446:[[12598],256],65447:[[12599],256],65448:[[12600],256],65449:[[12601],256],65450:[[12602],256],65451:[[12603],256],65452:[[12604],256],65453:[[12605],256],65454:[[12606],256],65455:[[12607],256],65456:[[12608],256],65457:[[12609],256],65458:[[12610],256],65459:[[12611],256],65460:[[12612],256],65461:[[12613],256],65462:[[12614],256],65463:[[12615],256],65464:[[12616],256],65465:[[12617],256],65466:[[12618],256],65467:[[12619],256],65468:[[12620],256],65469:[[12621],256],65470:[[12622],256],65474:[[12623],256],65475:[[12624],256],65476:[[12625],256],65477:[[12626],256],65478:[[12627],256],65479:[[12628],256],65482:[[12629],256],65483:[[12630],256],65484:[[12631],256],65485:[[12632],256],65486:[[12633],256],65487:[[12634],256],65490:[[12635],256],65491:[[12636],256],65492:[[12637],256],65493:[[12638],256],65494:[[12639],256],65495:[[12640],256],65498:[[12641],256],65499:[[12642],256],65500:[[12643],256],65504:[[162],256],65505:[[163],256],65506:[[172],256],65507:[[175],256],65508:[[166],256],65509:[[165],256],65510:[[8361],256],65512:[[9474],256],65513:[[8592],256],65514:[[8593],256],65515:[[8594],256],65516:[[8595],256],65517:[[9632],256],65518:[[9675],256]}};var S={nfc:function(e){return E("NFC",e)},nfd:function(e){return E("NFD",e)},nfkc:function(e){return E("NFKC",e)},nfkd:function(e){return E("NFKD",e)}};"object"==typeof t?t.exports=S:"function"==typeof define&&define.amd?define("unorm",function(){return S}):e.unorm=S,S.shimApplied=!1,String.prototype.normalize||(String.prototype.normalize=function(e){var t=""+this;if("NFC"===(e=void 0===e?"NFC":e))return S.nfc(t);if("NFD"===e)return S.nfd(t);if("NFKC"===e)return S.nfkc(t);if("NFKD"===e)return S.nfkd(t);throw new RangeError("Invalid normalization form: "+e)},S.shimApplied=!0)}(this)},{}],357:[function(e,t,r){"use strict";function n(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function i(e,t,r){if(e&&s.isObject(e)&&e instanceof n)return e;var i=new n;return i.parse(e,t,r),i}var o=e("punycode"),s=e("./util");r.parse=i,r.resolve=function(e,t){return i(e,!1,!0).resolve(t)},r.resolveObject=function(e,t){return e?i(e,!1,!0).resolveObject(t):t},r.format=function(e){return s.isString(e)&&(e=i(e)),e instanceof n?e.format():n.prototype.format.call(e)},r.Url=n;var a=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),h=["'"].concat(u),l=["%","/","?",";","#"].concat(h),d=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,y={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=e("querystring");n.prototype.parse=function(e,t,r){if(!s.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e.indexOf("?"),i=-1!==n&&n<e.indexOf("#")?"?":"#",c=e.split(i);c[0]=c[0].replace(/\\/g,"/");var u=e=c.join(i);if(u=u.trim(),!r&&1===e.split("#").length){var w=f.exec(u);if(w)return this.path=u,this.href=u,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?g.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=a.exec(u);if(_){var E=(_=_[0]).toLowerCase();this.protocol=E,u=u.substr(_.length)}if(r||_||u.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===u.substr(0,2);!S||_&&v[_]||(u=u.substr(2),this.slashes=!0)}if(!v[_]&&(S||_&&!m[_])){for(var k=-1,A=0;A<d.length;A++){-1!==(T=u.indexOf(d[A]))&&(-1===k||T<k)&&(k=T)}var x,I;-1!==(I=-1===k?u.lastIndexOf("@"):u.lastIndexOf("@",k))&&(x=u.slice(0,I),u=u.slice(I+1),this.auth=decodeURIComponent(x)),k=-1;for(A=0;A<l.length;A++){var T=u.indexOf(l[A]);-1!==T&&(-1===k||T<k)&&(k=T)}-1===k&&(k=u.length),this.host=u.slice(0,k),u=u.slice(k),this.parseHost(),this.hostname=this.hostname||"";var B="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!B)for(var P=this.hostname.split(/\./),A=0,M=P.length;A<M;A++){var C=P[A];if(C&&!C.match(p)){for(var R="",O=0,L=C.length;O<L;O++)C.charCodeAt(O)>127?R+="x":R+=C[O];if(!R.match(p)){var j=P.slice(0,A),N=P.slice(A+1),D=C.match(b);D&&(j.push(D[1]),N.unshift(D[2])),N.length&&(u="/"+N.join(".")+u),this.hostname=j.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),B||(this.hostname=o.toASCII(this.hostname));var U=this.port?":"+this.port:"",K=this.hostname||"";this.host=K+U,this.href+=this.host,B&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==u[0]&&(u="/"+u))}if(!y[E])for(var A=0,M=h.length;A<M;A++){var H=h[A];if(-1!==u.indexOf(H)){var z=encodeURIComponent(H);z===H&&(z=escape(H)),u=u.split(H).join(z)}}var q=u.indexOf("#");-1!==q&&(this.hash=u.substr(q),u=u.slice(0,q));var F=u.indexOf("?");if(-1!==F?(this.search=u.substr(F),this.query=u.substr(F+1),t&&(this.query=g.parse(this.query)),u=u.slice(0,F)):t&&(this.search="",this.query={}),u&&(this.pathname=u),m[E]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var U=this.pathname||"",W=this.search||"";this.path=U+W}return this.href=this.format(),this},n.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&s.isObject(this.query)&&Object.keys(this.query).length&&(o=g.stringify(this.query));var a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||m[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),a=a.replace("#","%23"),t+i+r+a+n},n.prototype.resolve=function(e){return this.resolveObject(i(e,!1,!0)).format()},n.prototype.resolveObject=function(e){if(s.isString(e)){var t=new n;t.parse(e,!1,!0),e=t}for(var r=new n,i=Object.keys(this),o=0;o<i.length;o++){var a=i[o];r[a]=this[a]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),f=0;f<c.length;f++){var u=c[f];"protocol"!==u&&(r[u]=e[u])}return m[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!m[e.protocol]){for(var h=Object.keys(e),l=0;l<h.length;l++){var d=h[l];r[d]=e[d]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||v[e.protocol])r.pathname=e.pathname;else{for(S=(e.pathname||"").split("/");S.length&&!(e.host=S.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==S[0]&&S.unshift(""),S.length<2&&S.unshift(""),r.pathname=S.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var p=r.pathname||"",b=r.search||"";r.path=p+b}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var y=r.pathname&&"/"===r.pathname.charAt(0),g=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=g||y||r.host&&e.pathname,_=w,E=r.pathname&&r.pathname.split("/")||[],S=e.pathname&&e.pathname.split("/")||[],k=r.protocol&&!m[r.protocol];if(k&&(r.hostname="",r.port=null,r.host&&(""===E[0]?E[0]=r.host:E.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===S[0]?S[0]=e.host:S.unshift(e.host)),e.host=null),w=w&&(""===S[0]||""===E[0])),g)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,E=S;else if(S.length)E||(E=[]),E.pop(),E=E.concat(S),r.search=e.search,r.query=e.query;else if(!s.isNullOrUndefined(e.search)){if(k){r.hostname=r.host=E.shift();(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift())}return r.search=e.search,r.query=e.query,s.isNull(r.pathname)&&s.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!E.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var A=E.slice(-1)[0],x=(r.host||e.host||E.length>1)&&("."===A||".."===A)||""===A,I=0,T=E.length;T>=0;T--)"."===(A=E[T])?E.splice(T,1):".."===A?(E.splice(T,1),I++):I&&(E.splice(T,1),I--);if(!w&&!_)for(;I--;I)E.unshift("..");!w||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),x&&"/"!==E.join("/").substr(-1)&&E.push("");var B=""===E[0]||E[0]&&"/"===E[0].charAt(0);if(k){r.hostname=r.host=B?"":E.length?E.shift():"";var P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");P&&(r.auth=P.shift(),r.host=r.hostname=P.shift())}return(w=w||r.host&&E.length)&&!B&&E.unshift(""),E.length?r.pathname=E.join("/"):(r.pathname=null,r.path=null),s.isNull(r.pathname)&&s.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var e=this.host,t=c.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{"./util":358,punycode:293,querystring:298}],358:[function(e,t,r){"use strict";t.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},{}],359:[function(e,t,r){(function(e){function r(t){try{if(!e.localStorage)return!1}catch(e){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],360:[function(e,t,r){arguments[4][248][0].apply(r,arguments)},{dup:248}],361:[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],362:[function(e,t,r){(function(t,n){function i(e,t){var n={seen:[],stylize:s};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),h(t)?n.showHidden=t:t&&r._extend(n,t),b(n.showHidden)&&(n.showHidden=!1),b(n.depth)&&(n.depth=2),b(n.colors)&&(n.colors=!1),b(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=o),a(n,e,n.depth)}function o(e,t){var r=i.styles[t];return r?"["+i.colors[r][0]+"m"+e+"["+i.colors[r][1]+"m":e}function s(e,t){return e}function a(e,t,n){if(e.customInspect&&t&&w(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return p(i)||(i=a(e,i,n)),i}var o=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(p(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(d(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(l(t))return e.stylize("null","null")}(e,t);if(o)return o;var s=Object.keys(t),v=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),g(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return c(t);if(0===s.length){if(w(t)){var _=t.name?": "+t.name:"";return e.stylize("[Function"+_+"]","special")}if(y(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(m(t))return e.stylize(Date.prototype.toString.call(t),"date");if(g(t))return c(t)}var E="",k=!1,A=["{","}"];if(u(t)&&(k=!0,A=["[","]"]),w(t)){E=" [Function"+(t.name?": "+t.name:"")+"]"}if(y(t)&&(E=" "+RegExp.prototype.toString.call(t)),m(t)&&(E=" "+Date.prototype.toUTCString.call(t)),g(t)&&(E=" "+c(t)),0===s.length&&(!k||0==t.length))return A[0]+E+A[1];if(n<0)return y(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var x;return x=k?function(e,t,r,n,i){for(var o=[],s=0,a=t.length;s<a;++s)S(t,String(s))?o.push(f(e,t,r,n,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(f(e,t,r,n,i,!0))}),o}(e,t,n,v,s):s.map(function(r){return f(e,t,n,v,r,k)}),e.seen.pop(),function(e,t,r){var n=0;if(e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(x,E,A)}function c(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i,o){var s,c,f;if((f=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?c=f.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):f.set&&(c=e.stylize("[Setter]","special")),S(n,i)||(s="["+i+"]"),c||(e.seen.indexOf(f.value)<0?(c=l(r)?a(e,f.value,null):a(e,f.value,r-1)).indexOf("\n")>-1&&(c=o?c.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+c.split("\n").map(function(e){return"   "+e}).join("\n")):c=e.stylize("[Circular]","special")),b(s)){if(o&&i.match(/^\d+$/))return c;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+c}function u(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function l(e){return null===e}function d(e){return"number"==typeof e}function p(e){return"string"==typeof e}function b(e){return void 0===e}function y(e){return v(e)&&"[object RegExp]"===_(e)}function v(e){return"object"==typeof e&&null!==e}function m(e){return v(e)&&"[object Date]"===_(e)}function g(e){return v(e)&&("[object Error]"===_(e)||e instanceof Error)}function w(e){return"function"==typeof e}function _(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}function S(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var k=/%[sdj%]/g;r.format=function(e){if(!p(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(i(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,o=n.length,s=String(e).replace(k,function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),a=n[r];r<o;a=n[++r])l(a)||!v(a)?s+=" "+a:s+=" "+i(a);return s},r.deprecate=function(e,i){if(b(n.process))return function(){return r.deprecate(e,i).apply(this,arguments)};if(!0===t.noDeprecation)return e;var o=!1;return function(){if(!o){if(t.throwDeprecation)throw new Error(i);t.traceDeprecation?console.trace(i):console.error(i),o=!0}return e.apply(this,arguments)}};var A,x={};r.debuglog=function(e){if(b(A)&&(A=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!x[e])if(new RegExp("\\b"+e+"\\b","i").test(A)){var n=t.pid;x[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else x[e]=function(){};return x[e]},r.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=u,r.isBoolean=h,r.isNull=l,r.isNullOrUndefined=function(e){return null==e},r.isNumber=d,r.isString=p,r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=b,r.isRegExp=y,r.isObject=v,r.isDate=m,r.isError=g,r.isFunction=w,r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e("./support/isBuffer");var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];r.log=function(){console.log("%s - %s",function(){var e=new Date,t=[E(e.getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":");return[e.getDate(),I[e.getMonth()],t].join(" ")}(),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!v(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":361,_process:265,inherits:360}],363:[function(e,t,r){(function(Buffer){"use strict";function e(e){if(e<0||e>o||e%1!=0)throw new RangeError("value out of range")}function r(t,n,o){if(e(t),n||(n=new Buffer(i(t))),!Buffer.isBuffer(n))throw new TypeError("buffer must be a Buffer instance");return o||(o=0),t<253?(n.writeUInt8(t,o),r.bytes=1):t<=65535?(n.writeUInt8(253,o),n.writeUInt16LE(t,o+1),r.bytes=3):t<=4294967295?(n.writeUInt8(254,o),n.writeUInt32LE(t,o+1),r.bytes=5):(n.writeUInt8(255,o),n.writeUInt32LE(t>>>0,o+1),n.writeUInt32LE(t/4294967296|0,o+5),r.bytes=9),n}function n(t,r){if(!Buffer.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");r||(r=0);var i=t.readUInt8(r);if(i<253)return n.bytes=1,i;if(253===i)return n.bytes=3,t.readUInt16LE(r+1);if(254===i)return n.bytes=5,t.readUInt32LE(r+1);n.bytes=9;var o=t.readUInt32LE(r+1),s=4294967296*t.readUInt32LE(r+5)+o;return e(s),s}function i(t){return e(t),t<253?1:t<=65535?3:t<=4294967295?5:9}var o=9007199254740991;t.exports={encode:r,decode:n,encodingLength:i}}).call(this,e("buffer").Buffer)},{buffer:105}],364:[function(require,module,exports){function Context(){}var indexOf=require("indexof"),Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,n=r.eval,i=r.execScript;!n&&i&&(i.call(r,"null"),n=r.eval),forEach(Object_keys(e),function(t){r[t]=e[t]}),forEach(globals,function(t){e[t]&&(r[t]=e[t])});var o=Object_keys(r),s=n.call(r,this.code);return forEach(Object_keys(r),function(t){(t in e||-1===indexOf(o,t))&&(e[t]=r[t])}),forEach(globals,function(t){t in e||defineProp(e,t,r[t])}),document.body.removeChild(t),s},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return forEach(Object_keys(t),function(r){e[r]=t[r]}),r},forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}}),exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),function(r){t[r]=e[r]}),t}},{indexof:247}],365:[function(e,t,r){var n=arguments[3],i=arguments[4],o=arguments[5],s=JSON.stringify;t.exports=function(e,t){function r(e){y[e]=!0;for(var t in i[e][1]){var n=i[e][1][t];y[n]||r(n)}}for(var a,c=Object.keys(o),f=0,u=c.length;f<u;f++){var h=c[f],l=o[h].exports;if(l===e||l&&l.default===e){a=h;break}}if(!a){a=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var d={},f=0,u=c.length;f<u;f++){d[h=c[f]]=h}i[a]=[Function(["require","module","exports"],"("+e+")(self)"),d]}var p=Math.floor(Math.pow(16,8)*Math.random()).toString(16),b={};b[a]=a,i[p]=[Function(["require"],"var f = require("+s(a)+");(f.default ? f.default : f)(self);"),b];var y={};r(p);var v="("+n+")({"+Object.keys(y).map(function(e){return s(e)+":["+i[e][0]+","+s(i[e][1])+"]"}).join(",")+"},{},["+s(p)+"])",m=window.URL||window.webkitURL||window.mozURL||window.msURL,g=new Blob([v],{type:"text/javascript"});if(t&&t.bare)return g;var w=m.createObjectURL(g),_=new Worker(w);return _.objectURL=w,_}},{}],366:[function(e,t,r){(function(Buffer){function r(e,t){if(void 0!==t&&e[0]!==t)throw new Error("Invalid network version");if(33===e.length)return{version:e[0],privateKey:e.slice(1,33),compressed:!1};if(34!==e.length)throw new Error("Invalid WIF length");if(1!==e[33])throw new Error("Invalid compression flag");return{version:e[0],privateKey:e.slice(1,33),compressed:!0}}function n(e,t,r){var n=new Buffer(r?34:33);return n.writeUInt8(e,0),t.copy(n,1),r&&(n[33]=1),n}var i=e("bs58check");t.exports={decode:function(e,t){return r(i.decode(e),t)},decodeRaw:r,encode:function(e,t,r){return"number"==typeof e?i.encode(n(e,t,r)):i.encode(n(e.version,e.privateKey,e.compressed))},encodeRaw:n}}).call(this,e("buffer").Buffer)},{bs58check:101,buffer:105}]},{},[19])(19)});