soocrate-core
Version:
this is the core of soocrate application
1 lines • 1.04 MB
JavaScript
!function(e){var t={};function i(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=e,i.c=t,i.d=function(e,t,a){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(a,r,function(t){return e[t]}.bind(null,r));return a},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=430)}([function(e,t){e.exports=require("util")},function(e,t,i){var a=i(41),r=i(20).Stream,n=i(0),o=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;function s(e){return e.charAt(0).toUpperCase()+e.slice(1)}function c(e,t,i,r,o){throw new a.AssertionError({message:n.format("%s (%s) is required",e,t),actual:void 0===o?typeof r:o(r),expected:t,operator:i||"===",stackStartFunction:c.caller})}function u(e){return Object.prototype.toString.call(e).slice(8,-1)}function p(){}var l={bool:{check:function(e){return"boolean"==typeof e}},func:{check:function(e){return"function"==typeof e}},string:{check:function(e){return"string"==typeof e}},object:{check:function(e){return"object"==typeof e&&null!==e}},number:{check:function(e){return"number"==typeof e&&!isNaN(e)}},finite:{check:function(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},buffer:{check:function(e){return Buffer.isBuffer(e)},operator:"Buffer.isBuffer"},array:{check:function(e){return Array.isArray(e)},operator:"Array.isArray"},stream:{check:function(e){return e instanceof r},operator:"instanceof",actual:u},date:{check:function(e){return e instanceof Date},operator:"instanceof",actual:u},regexp:{check:function(e){return e instanceof RegExp},operator:"instanceof",actual:u},uuid:{check:function(e){return"string"==typeof e&&o.test(e)},operator:"isUUID"}};e.exports=function e(t){var i,r=Object.keys(l);return i=process.env.NODE_NDEBUG?p:function(e,t){e||c(t,"true",e)},r.forEach(function(e){if(t)i[e]=p;else{var a=l[e];i[e]=function(t,i){a.check(t)||c(i,e,a.operator,t,a.actual)}}}),r.forEach(function(e){var a="optional"+s(e);if(t)i[a]=p;else{var r=l[e];i[a]=function(t,i){void 0!==t&&null!==t&&(r.check(t)||c(i,e,r.operator,t,r.actual))}}}),r.forEach(function(e){var a="arrayOf"+s(e);if(t)i[a]=p;else{var r=l[e],n="["+e+"]";i[a]=function(e,t){var i;for(Array.isArray(e)||c(t,n,r.operator,e,r.actual),i=0;i<e.length;i++)r.check(e[i])||c(t,n,r.operator,e,r.actual)}}}),r.forEach(function(e){var a="optionalArrayOf"+s(e);if(t)i[a]=p;else{var r=l[e],n="["+e+"]";i[a]=function(e,t){var i;if(void 0!==e&&null!==e)for(Array.isArray(e)||c(t,n,r.operator,e,r.actual),i=0;i<e.length;i++)r.check(e[i])||c(t,n,r.operator,e,r.actual)}}}),Object.keys(a).forEach(function(e){i[e]="AssertionError"!==e&&t?p:a[e]}),i._setExports=e,i}(process.env.NODE_NDEBUG)},function(e,t){e.exports=require("crypto")},function(e,t,i){e.exports={bufferSplit:function(e,t){o.buffer(e),o.string(t);for(var i=[],a=0,r=0,n=0;n<e.length;++n)if(e[n]===t.charCodeAt(r)?++r:r=e[n]===t.charCodeAt(0)?1:0,r>=t.length){var s=n+1;i.push(e.slice(a,s-r)),a=s,r=0}a<=e.length&&i.push(e.slice(a,e.length));return i},addRSAMissing:function(e){o.object(e),d(e,s,[1,1]);try{var t=i(18).BigInteger}catch(e){throw new Error("To write a PEM private key from this source, the node jsbn lib is required.")}var a,r=new t(e.part.d.data);if(!e.part.dmodp){var n=new t(e.part.p.data),c=r.mod(n.subtract(1));a=v(c),e.part.dmodp={name:"dmodp",data:a},e.parts.push(e.part.dmodp)}if(!e.part.dmodq){var u=new t(e.part.q.data),p=r.mod(u.subtract(1));a=v(p),e.part.dmodq={name:"dmodq",data:a},e.parts.push(e.part.dmodq)}},calculateDSAPublic:function(e,t,a){o.buffer(e),o.buffer(t),o.buffer(a);try{var r=i(18).BigInteger}catch(e){throw new Error("To load a PKCS#8 format DSA private key, the node jsbn library is required.")}return e=new r(e),t=new r(t),a=new r(a),v(e.modPow(a,t))},calculateED25519Public:function(e){o.buffer(e),void 0===n&&(n=i(14));var t=n.sign.keyPair.fromSeed(new Uint8Array(e));return new Buffer(t.publicKey)},calculateX25519Public:function(e){o.buffer(e),void 0===n&&(n=i(14));var t=n.box.keyPair.fromSeed(new Uint8Array(e));return new Buffer(t.publicKey)},mpNormalize:g,mpDenormalize:function(e){o.buffer(e);for(;e.length>1&&0===e[0];)e=e.slice(1);return e},ecNormalize:function(e,t){if(o.buffer(e),0===e[0]&&4===e[1])return t?e:e.slice(1);if(4===e[0]){if(!t)return e}else{for(;0===e[0];)e=e.slice(1);if(2===e[0]||3===e[0])throw new Error("Compressed elliptic curve points are not supported");if(4!==e[0])throw new Error("Not a valid elliptic curve point");if(!t)return e}var i=new Buffer(e.length+1);return i[0]=0,e.copy(i,1),i},countZeros:function(e){var t=0,i=8;for(;t<e.length;){var a=1<<i;if((e[t]&a)===a)break;--i<0&&(t++,i=8)}return 8*t+(8-i)-1},assertCompatible:d,isCompatible:function(e,t,i){if(null===e||"object"!=typeof e)return!1;void 0===i&&(i=t.prototype._sshpkApiVersion);if(e instanceof t&&t.prototype._sshpkApiVersion[0]==i[0])return!0;var a=Object.getPrototypeOf(e),r=0;for(;a.constructor.name!==t.name;)if(!(a=Object.getPrototypeOf(a))||++r>h)return!1;if(a.constructor.name!==t.name)return!1;var n=a._sshpkApiVersion;void 0===n&&(n=t._oldVersionDetect(e));return!(n[0]!=i[0]||n[1]<i[1])},opensslKeyDeriv:function(e,t,i,a){o.buffer(t,"salt"),o.buffer(i,"passphrase"),o.number(a,"iteration count");var r,n,s,c=f[e];o.object(c,"supported cipher"),t=t.slice(0,m);var p=new Buffer(0);for(;p.length<c.key+c.iv;){s=[],n&&s.push(n),s.push(i),s.push(t),r=Buffer.concat(s);for(var l=0;l<a;++l)r=u.createHash("md5").update(r).digest();p=Buffer.concat([p,r]),n=r}return{key:p.slice(0,c.key),iv:p.slice(c.key,c.key+c.iv)}},opensshCipherInfo:function(e){var t={};switch(e){case"3des-cbc":t.keySize=24,t.blockSize=8,t.opensslName="des-ede3-cbc";break;case"blowfish-cbc":t.keySize=16,t.blockSize=8,t.opensslName="bf-cbc";break;case"aes128-cbc":case"aes128-ctr":case"aes128-gcm@openssh.com":t.keySize=16,t.blockSize=16,t.opensslName="aes-128-"+e.slice(7,10);break;case"aes192-cbc":case"aes192-ctr":case"aes192-gcm@openssh.com":t.keySize=24,t.blockSize=16,t.opensslName="aes-192-"+e.slice(7,10);break;case"aes256-cbc":case"aes256-ctr":case"aes256-gcm@openssh.com":t.keySize=32,t.blockSize=16,t.opensslName="aes-256-"+e.slice(7,10);break;default:throw new Error('Unsupported openssl cipher "'+e+'"')}return t},publicFromPrivateECDSA:function(e,t){o.string(e,"curveName"),o.buffer(t),void 0===a&&(a=i(38));void 0===r&&(r=i(18).BigInteger);var n=p.curves[e],s=new r(n.p),u=new r(n.a),l=new r(n.b),h=new a.ECCurveFp(s,u,l),d=h.decodePointHex(n.G.toString("hex")),f=new r(g(t)),m=d.multiply(f);m=new Buffer(h.encodePointHex(m),"hex");var v=[];return v.push({name:"curve",data:new Buffer(e)}),v.push({name:"Q",data:m}),new c({type:"ecdsa",curve:h,parts:v})},zeroPadToLength:function(e,t){o.buffer(e),o.number(t);for(;e.length>t;)o.equal(e[0],0),e=e.slice(1);for(;e.length<t;){var i=new Buffer(e.length+1);i[0]=0,e.copy(i,1),e=i}return e},writeBitString:function(e,t,i){void 0===i&&(i=l.Ber.BitString);var a=new Buffer(t.length+1);a[0]=0,t.copy(a,1),e.writeBuffer(a,i)},readBitString:function(e,t){void 0===t&&(t=l.Ber.BitString);var i=e.readString(t,!0);return o.strictEqual(i[0],0,"bit strings with unused bits are not supported (0x"+i[0].toString(16)+")"),i.slice(1)}};var a,r,n,o=i(1),s=i(7),c=i(5),u=i(2),p=i(8),l=i(13),h=3;function d(e,t,i,a){if(void 0===a&&(a="object"),o.ok(e,a+" must not be null"),o.object(e,a+" must be an object"),void 0===i&&(i=t.prototype._sshpkApiVersion),!(e instanceof t&&t.prototype._sshpkApiVersion[0]==i[0])){for(var r=Object.getPrototypeOf(e),n=0;r.constructor.name!==t.name;)r=Object.getPrototypeOf(r),o.ok(r&&++n<=h,a+" must be a "+t.name+" instance");o.strictEqual(r.constructor.name,t.name,a+" must be a "+t.name+" instance");var s=r._sshpkApiVersion;void 0===s&&(s=t._oldVersionDetect(e)),o.ok(s[0]==i[0]&&s[1]>=i[1],a+" must be compatible with "+t.name+" klass version "+i[0]+"."+i[1])}}var f={"des-ede3-cbc":{key:7,iv:8},"aes-128-cbc":{key:16,iv:16}},m=8;function g(e){for(o.buffer(e);e.length>1&&0===e[0]&&0==(128&e[1]);)e=e.slice(1);if(128==(128&e[0])){var t=new Buffer(e.length+1);t[0]=0,e.copy(t,1),e=t}return e}function v(e){var t=new Buffer(e.toByteArray());return t=g(t)}},function(e,t){e.exports=require("events")},function(e,t,i){e.exports=g;var a,r=i(1),n=i(8),o=i(2),s=i(40),c=i(15),u=i(64).DiffieHellman,p=i(16),l=i(3),h=i(7);try{a=i(104)}catch(e){}var d=p.InvalidAlgorithmError,f=p.KeyParseError,m={};function g(e){r.object(e,"options"),r.arrayOfObject(e.parts,"options.parts"),r.string(e.type,"options.type"),r.optionalString(e.comment,"options.comment");var t=n.info[e.type];if("object"!=typeof t)throw new d(e.type);for(var i,a={},o=0;o<e.parts.length;++o){var s=e.parts[o];a[s.name]=s}if(this.type=e.type,this.parts=e.parts,this.part=a,this.comment=void 0,this.source=e.source,this._rfc4253Cache=e._rfc4253Cache,this._hashCache={},this.curve=void 0,"ecdsa"===this.type){var c=this.part.curve.data.toString();this.curve=c,i=n.curves[c].size}else if("ed25519"===this.type||"curve25519"===this.type)i=256,this.curve="curve25519";else{var u=this.part[t.sizePart];i=8*(i=u.data.length)-l.countZeros(u.data)}this.size=i}m.auto=i(103),m.pem=i(17),m.pkcs1=i(61),m.pkcs8=i(37),m.rfc4253=i(22),m.ssh=i(101),m["ssh-private"]=i(46),m.openssh=m["ssh-private"],m.dnssec=i(60),g.formats=m,g.prototype.toBuffer=function(e,t){return void 0===e&&(e="ssh"),r.string(e,"format"),r.object(m[e],"formats[format]"),r.optionalObject(t,"options"),"rfc4253"===e?(void 0===this._rfc4253Cache&&(this._rfc4253Cache=m.rfc4253.write(this)),this._rfc4253Cache):m[e].write(this,t)},g.prototype.toString=function(e,t){return this.toBuffer(e,t).toString()},g.prototype.hash=function(e){if(r.string(e,"algorithm"),e=e.toLowerCase(),void 0===n.hashAlgs[e])throw new d(e);if(this._hashCache[e])return this._hashCache[e];var t=o.createHash(e).update(this.toBuffer("rfc4253")).digest();return this._hashCache[e]=t,t},g.prototype.fingerprint=function(e){void 0===e&&(e="sha256"),r.string(e,"algorithm");var t={type:"key",hash:this.hash(e),algorithm:e};return new s(t)},g.prototype.defaultHashAlgorithm=function(){var e="sha1";return"rsa"===this.type&&(e="sha256"),"dsa"===this.type&&this.size>1024&&(e="sha256"),"ed25519"===this.type&&(e="sha512"),"ecdsa"===this.type&&(e=this.size<=256?"sha256":this.size<=384?"sha384":"sha512"),e},g.prototype.createVerify=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),r.string(e,"hash algorithm"),"ed25519"===this.type&&void 0!==a)return new a.Verifier(this,e);if("curve25519"===this.type)throw new Error("Curve25519 keys are not suitable for signing or verification");var t,i,n;try{i=e.toUpperCase(),t=o.createVerify(i)}catch(e){n=e}(void 0===t||n instanceof Error&&n.message.match(/Unknown message digest/))&&(i="RSA-",i+=e.toUpperCase(),t=o.createVerify(i)),r.ok(t,"failed to create verifier");var s=t.verify.bind(t),u=this.toBuffer("pkcs8"),p=this.curve,l=this;return t.verify=function(t,i){if(c.isSignature(t,[2,0]))return t.type===l.type&&((!t.hashAlgorithm||t.hashAlgorithm===e)&&((!t.curve||"ecdsa"!==l.type||t.curve===p)&&s(u,t.toBuffer("asn1"))));if("string"==typeof t||Buffer.isBuffer(t))return s(u,t,i);throw c.isSignature(t,[1,0])?new Error("signature was created by too old a version of sshpk and cannot be verified"):new TypeError("signature must be a string, Buffer, or Signature object")},t},g.prototype.createDiffieHellman=function(){if("rsa"===this.type)throw new Error("RSA keys do not support Diffie-Hellman");return new u(this)},g.prototype.createDH=g.prototype.createDiffieHellman,g.parse=function(e,t,i){"string"!=typeof e&&r.buffer(e,"data"),void 0===t&&(t="auto"),r.string(t,"format"),"string"==typeof i&&(i={filename:i}),r.optionalObject(i,"options"),void 0===i&&(i={}),r.optionalString(i.filename,"options.filename"),void 0===i.filename&&(i.filename="(unnamed)"),r.object(m[t],"formats[format]");try{var a=m[t].read(e,i);return a instanceof h&&(a=a.toPublic()),a.comment||(a.comment=i.filename),a}catch(e){if("KeyEncryptedError"===e.name)throw e;throw new f(i.filename,t,e)}},g.isKey=function(e,t){return l.isCompatible(e,g,t)},g.prototype._sshpkApiVersion=[1,6],g._oldVersionDetect=function(e){return r.func(e.toBuffer),r.func(e.fingerprint),e.createDH?[1,4]:e.defaultHashAlgorithm?[1,3]:e.formats.auto?[1,2]:e.formats.pkcs1?[1,1]:[1,0]}},function(e,t,i){(function(e){var i=200,a="__lodash_hash_undefined__",r=800,n=16,o=9007199254740991,s="[object Arguments]",c="[object AsyncFunction]",u="[object Function]",p="[object GeneratorFunction]",l="[object Null]",h="[object Object]",d="[object Proxy]",f="[object Undefined]",m=/^\[object .+?Constructor\]$/,g=/^(?:0|[1-9]\d*)$/,v={};v["[object Float32Array]"]=v["[object Float64Array]"]=v["[object Int8Array]"]=v["[object Int16Array]"]=v["[object Int32Array]"]=v["[object Uint8Array]"]=v["[object Uint8ClampedArray]"]=v["[object Uint16Array]"]=v["[object Uint32Array]"]=!0,v[s]=v["[object Array]"]=v["[object ArrayBuffer]"]=v["[object Boolean]"]=v["[object DataView]"]=v["[object Date]"]=v["[object Error]"]=v[u]=v["[object Map]"]=v["[object Number]"]=v[h]=v["[object RegExp]"]=v["[object Set]"]=v["[object String]"]=v["[object WeakMap]"]=!1;var y="object"==typeof global&&global&&global.Object===Object&&global,b="object"==typeof self&&self&&self.Object===Object&&self,k=y||b||Function("return this")(),w="object"==typeof t&&t&&!t.nodeType&&t,x=w&&"object"==typeof e&&e&&!e.nodeType&&e,_=x&&x.exports===w,j=_&&y.process,E=function(){try{return j&&j.binding&&j.binding("util")}catch(e){}}(),S=E&&E.isTypedArray;function C(e,t){return"__proto__"==t?void 0:e[t]}var F,P,A,O=Array.prototype,z=Function.prototype,B=Object.prototype,T=k["__core-js_shared__"],q=z.toString,I=B.hasOwnProperty,D=(F=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||""))?"Symbol(src)_1."+F:"",R=B.toString,N=q.call(Object),M=RegExp("^"+q.call(I).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),L=_?k.Buffer:void 0,U=k.Symbol,$=k.Uint8Array,H=L?L.allocUnsafe:void 0,V=(P=Object.getPrototypeOf,A=Object,function(e){return P(A(e))}),K=Object.create,Q=B.propertyIsEnumerable,W=O.splice,G=U?U.toStringTag:void 0,J=function(){try{var e=we(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Y=L?L.isBuffer:void 0,X=Math.max,Z=Date.now,ee=we(k,"Map"),te=we(Object,"create"),ie=function(){function e(){}return function(t){if(!ze(t))return{};if(K)return K(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}();function ae(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var a=e[t];this.set(a[0],a[1])}}function re(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var a=e[t];this.set(a[0],a[1])}}function ne(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var a=e[t];this.set(a[0],a[1])}}function oe(e){var t=this.__data__=new re(e);this.size=t.size}function se(e,t){var i=Ce(e),a=!i&&Se(e),r=!i&&!a&&Pe(e),n=!i&&!a&&!r&&Te(e),o=i||a||r||n,s=o?function(e,t){for(var i=-1,a=Array(e);++i<e;)a[i]=t(i);return a}(e.length,String):[],c=s.length;for(var u in e)!t&&!I.call(e,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||n&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||xe(u,c))||s.push(u);return s}function ce(e,t,i){(void 0===i||Ee(e[t],i))&&(void 0!==i||t in e)||le(e,t,i)}function ue(e,t,i){var a=e[t];I.call(e,t)&&Ee(a,i)&&(void 0!==i||t in e)||le(e,t,i)}function pe(e,t){for(var i=e.length;i--;)if(Ee(e[i][0],t))return i;return-1}function le(e,t,i){"__proto__"==t&&J?J(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i}ae.prototype.clear=function(){this.__data__=te?te(null):{},this.size=0},ae.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ae.prototype.get=function(e){var t=this.__data__;if(te){var i=t[e];return i===a?void 0:i}return I.call(t,e)?t[e]:void 0},ae.prototype.has=function(e){var t=this.__data__;return te?void 0!==t[e]:I.call(t,e)},ae.prototype.set=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=te&&void 0===t?a:t,this},re.prototype.clear=function(){this.__data__=[],this.size=0},re.prototype.delete=function(e){var t=this.__data__,i=pe(t,e);return!(i<0||(i==t.length-1?t.pop():W.call(t,i,1),--this.size,0))},re.prototype.get=function(e){var t=this.__data__,i=pe(t,e);return i<0?void 0:t[i][1]},re.prototype.has=function(e){return pe(this.__data__,e)>-1},re.prototype.set=function(e,t){var i=this.__data__,a=pe(i,e);return a<0?(++this.size,i.push([e,t])):i[a][1]=t,this},ne.prototype.clear=function(){this.size=0,this.__data__={hash:new ae,map:new(ee||re),string:new ae}},ne.prototype.delete=function(e){var t=ke(this,e).delete(e);return this.size-=t?1:0,t},ne.prototype.get=function(e){return ke(this,e).get(e)},ne.prototype.has=function(e){return ke(this,e).has(e)},ne.prototype.set=function(e,t){var i=ke(this,e),a=i.size;return i.set(e,t),this.size+=i.size==a?0:1,this},oe.prototype.clear=function(){this.__data__=new re,this.size=0},oe.prototype.delete=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i},oe.prototype.get=function(e){return this.__data__.get(e)},oe.prototype.has=function(e){return this.__data__.has(e)},oe.prototype.set=function(e,t){var a=this.__data__;if(a instanceof re){var r=a.__data__;if(!ee||r.length<i-1)return r.push([e,t]),this.size=++a.size,this;a=this.__data__=new ne(r)}return a.set(e,t),this.size=a.size,this};var he,de=function(e,t,i){for(var a=-1,r=Object(e),n=i(e),o=n.length;o--;){var s=n[he?o:++a];if(!1===t(r[s],s,r))break}return e};function fe(e){return null==e?void 0===e?f:l:G&&G in Object(e)?function(e){var t=I.call(e,G),i=e[G];try{e[G]=void 0;var a=!0}catch(e){}var r=R.call(e);a&&(t?e[G]=i:delete e[G]);return r}(e):function(e){return R.call(e)}(e)}function me(e){return Be(e)&&fe(e)==s}function ge(e){return!(!ze(e)||D&&D in e)&&(Ae(e)?M:m).test(function(e){if(null!=e){try{return q.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function ve(e){if(!ze(e))return function(e){var t=[];if(null!=e)for(var i in Object(e))t.push(i);return t}(e);var t=_e(e),i=[];for(var a in e)("constructor"!=a||!t&&I.call(e,a))&&i.push(a);return i}function ye(e,t,i,a,r){e!==t&&de(t,function(n,o){if(ze(n))r||(r=new oe),function(e,t,i,a,r,n,o){var s=C(e,i),c=C(t,i),u=o.get(c);if(u)return void ce(e,i,u);var p=n?n(s,c,i+"",e,t,o):void 0,l=void 0===p;if(l){var d=Ce(c),f=!d&&Pe(c),m=!d&&!f&&Te(c);p=c,d||f||m?Ce(s)?p=s:Be(k=s)&&Fe(k)?p=function(e,t){var i=-1,a=e.length;t||(t=Array(a));for(;++i<a;)t[i]=e[i];return t}(s):f?(l=!1,p=function(e,t){if(t)return e.slice();var i=e.length,a=H?H(i):new e.constructor(i);return e.copy(a),a}(c,!0)):m?(l=!1,g=c,v=!0?(y=g.buffer,b=new y.constructor(y.byteLength),new $(b).set(new $(y)),b):g.buffer,p=new g.constructor(v,g.byteOffset,g.length)):p=[]:function(e){if(!Be(e)||fe(e)!=h)return!1;var t=V(e);if(null===t)return!0;var i=I.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&q.call(i)==N}(c)||Se(c)?(p=s,Se(s)?p=function(e){return function(e,t,i,a){var r=!i;i||(i={});var n=-1,o=t.length;for(;++n<o;){var s=t[n],c=a?a(i[s],e[s],s,i,e):void 0;void 0===c&&(c=e[s]),r?le(i,s,c):ue(i,s,c)}return i}(e,qe(e))}(s):(!ze(s)||a&&Ae(s))&&(p=function(e){return"function"!=typeof e.constructor||_e(e)?{}:ie(V(e))}(c))):l=!1}var g,v,y,b;var k;l&&(o.set(c,p),r(p,c,a,n,o),o.delete(c));ce(e,i,p)}(e,t,o,i,ye,a,r);else{var s=a?a(C(e,o),n,o+"",e,t,r):void 0;void 0===s&&(s=n),ce(e,o,s)}},qe)}function be(e,t){return je(function(e,t,i){return t=X(void 0===t?e.length-1:t,0),function(){for(var a=arguments,r=-1,n=X(a.length-t,0),o=Array(n);++r<n;)o[r]=a[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=a[r];return s[t]=i(o),function(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)}(e,this,s)}}(e,t,Re),e+"")}function ke(e,t){var i,a,r=e.__data__;return("string"==(a=typeof(i=t))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==i:null===i)?r["string"==typeof t?"string":"hash"]:r.map}function we(e,t){var i=function(e,t){return null==e?void 0:e[t]}(e,t);return ge(i)?i:void 0}function xe(e,t){var i=typeof e;return!!(t=null==t?o:t)&&("number"==i||"symbol"!=i&&g.test(e))&&e>-1&&e%1==0&&e<t}function _e(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||B)}var je=function(e){var t=0,i=0;return function(){var a=Z(),o=n-(a-i);if(i=a,o>0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(J?function(e,t){return J(e,"toString",{configurable:!0,enumerable:!1,value:(i=t,function(){return i}),writable:!0});var i}:Re);function Ee(e,t){return e===t||e!=e&&t!=t}var Se=me(function(){return arguments}())?me:function(e){return Be(e)&&I.call(e,"callee")&&!Q.call(e,"callee")},Ce=Array.isArray;function Fe(e){return null!=e&&Oe(e.length)&&!Ae(e)}var Pe=Y||function(){return!1};function Ae(e){if(!ze(e))return!1;var t=fe(e);return t==u||t==p||t==c||t==d}function Oe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function ze(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Be(e){return null!=e&&"object"==typeof e}var Te=S?function(e){return function(t){return e(t)}}(S):function(e){return Be(e)&&Oe(e.length)&&!!v[fe(e)]};function qe(e){return Fe(e)?se(e,!0):ve(e)}var Ie,De=(Ie=function(e,t,i){ye(e,t,i)},be(function(e,t){var i=-1,a=t.length,r=a>1?t[a-1]:void 0,n=a>2?t[2]:void 0;for(r=Ie.length>3&&"function"==typeof r?(a--,r):void 0,n&&function(e,t,i){if(!ze(i))return!1;var a=typeof t;return!!("number"==a?Fe(i)&&xe(t,i.length):"string"==a&&t in i)&&Ee(i[t],e)}(t[0],t[1],n)&&(r=a<3?void 0:r,a=1),e=Object(e);++i<a;){var o=t[i];o&&Ie(e,o,i,r)}return e}));function Re(e){return e}e.exports=De}).call(this,i(44)(e))},function(e,t,i){e.exports=y;var a,r,n=i(1),o=i(8),s=i(2),c=(i(40),i(15)),u=i(16),p=i(0),l=i(3),h=i(64),d=h.generateECDSA,f=h.generateED25519;try{a=i(104)}catch(e){}var m=i(5),g=(u.InvalidAlgorithmError,u.KeyParseError),v=(u.KeyEncryptedError,{});function y(e){n.object(e,"options"),m.call(this,e),this._pubCache=void 0}v.auto=i(103),v.pem=i(17),v.pkcs1=i(61),v.pkcs8=i(37),v.rfc4253=i(22),v["ssh-private"]=i(46),v.openssh=v["ssh-private"],v.ssh=v["ssh-private"],v.dnssec=i(60),p.inherits(y,m),y.formats=v,y.prototype.toBuffer=function(e,t){return void 0===e&&(e="pkcs1"),n.string(e,"format"),n.object(v[e],"formats[format]"),n.optionalObject(t,"options"),v[e].write(this,t)},y.prototype.hash=function(e){return this.toPublic().hash(e)},y.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;for(var e=o.info[this.type],t=[],i=0;i<e.parts.length;++i){var a=e.parts[i];t.push(this.part[a])}return this._pubCache=new m({type:this.type,source:this,parts:t}),this.comment&&(this._pubCache.comment=this.comment),this._pubCache},y.prototype.derive=function(e){var t,a,o;if(n.string(e,"type"),"ed25519"===this.type&&"curve25519"===e)return void 0===r&&(r=i(14)),0===(t=this.part.k.data)[0]&&(t=t.slice(1)),o=r.box.keyPair.fromSecretKey(new Uint8Array(t)),a=new Buffer(o.publicKey),new y({type:"curve25519",parts:[{name:"A",data:l.mpNormalize(a)},{name:"k",data:l.mpNormalize(t)}]});if("curve25519"===this.type&&"ed25519"===e)return void 0===r&&(r=i(14)),0===(t=this.part.k.data)[0]&&(t=t.slice(1)),o=r.sign.keyPair.fromSeed(new Uint8Array(t)),a=new Buffer(o.publicKey),new y({type:"ed25519",parts:[{name:"A",data:l.mpNormalize(a)},{name:"k",data:l.mpNormalize(t)}]});throw new Error("Key derivation not supported from "+this.type+" to "+e)},y.prototype.createVerify=function(e){return this.toPublic().createVerify(e)},y.prototype.createSign=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),n.string(e,"hash algorithm"),"ed25519"===this.type&&void 0!==a)return new a.Signer(this,e);if("curve25519"===this.type)throw new Error("Curve25519 keys are not suitable for signing or verification");var t,i,r;try{i=e.toUpperCase(),t=s.createSign(i)}catch(e){r=e}(void 0===t||r instanceof Error&&r.message.match(/Unknown message digest/))&&(i="RSA-",i+=e.toUpperCase(),t=s.createSign(i)),n.ok(t,"failed to create verifier");var o=t.sign.bind(t),u=this.toBuffer("pkcs1"),p=this.type,l=this.curve;return t.sign=function(){var t=o(u);return"string"==typeof t&&(t=new Buffer(t,"binary")),(t=c.parse(t,p,"asn1")).hashAlgorithm=e,t.curve=l,t},t},y.parse=function(e,t,i){"string"!=typeof e&&n.buffer(e,"data"),void 0===t&&(t="auto"),n.string(t,"format"),"string"==typeof i&&(i={filename:i}),n.optionalObject(i,"options"),void 0===i&&(i={}),n.optionalString(i.filename,"options.filename"),void 0===i.filename&&(i.filename="(unnamed)"),n.object(v[t],"formats[format]");try{var a=v[t].read(e,i);return n.ok(a instanceof y,"key is not a private key"),a.comment||(a.comment=i.filename),a}catch(e){if("KeyEncryptedError"===e.name)throw e;throw new g(i.filename,t,e)}},y.isPrivateKey=function(e,t){return l.isCompatible(e,y,t)},y.generate=function(e,t){switch(void 0===t&&(t={}),n.object(t,"options"),e){case"ecdsa":return void 0===t.curve&&(t.curve="nistp256"),n.string(t.curve,"options.curve"),d(t.curve);case"ed25519":return f();default:throw new Error('Key generation not supported with key type "'+e+'"')}},y.prototype._sshpkApiVersion=[1,5],y._oldVersionDetect=function(e){return n.func(e.toPublic),n.func(e.createSign),e.derive?[1,3]:e.defaultHashAlgorithm?[1,2]:e.formats.auto?[1,1]:[1,0]}},function(e,t){var i={dsa:{parts:["p","q","g","y"],sizePart:"p"},rsa:{parts:["e","n"],sizePart:"n"},ecdsa:{parts:["curve","Q"],sizePart:"Q"},ed25519:{parts:["A"],sizePart:"A"}};i.curve25519=i.ed25519;var a={dsa:{parts:["p","q","g","y","x"]},rsa:{parts:["n","e","d","iqmp","p","q"]},ecdsa:{parts:["curve","Q","d"]},ed25519:{parts:["A","k"]}};a.curve25519=a.ed25519;var r={nistp256:{size:256,pkcs8oid:"1.2.840.10045.3.1.7",p:new Buffer("00ffffffff 00000001 00000000 0000000000000000 ffffffff ffffffff ffffffff".replace(/ /g,""),"hex"),a:new Buffer("00FFFFFFFF 00000001 00000000 0000000000000000 FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:new Buffer("5ac635d8 aa3a93e7 b3ebbd55 769886bc651d06b0 cc53b0f6 3bce3c3e 27d2604b".replace(/ /g,""),"hex"),s:new Buffer("00c49d3608 86e70493 6a6678e1 139d26b7819f7e90".replace(/ /g,""),"hex"),n:new Buffer("00ffffffff 00000000 ffffffff ffffffffbce6faad a7179e84 f3b9cac2 fc632551".replace(/ /g,""),"hex"),G:new Buffer("046b17d1f2 e12c4247 f8bce6e5 63a440f277037d81 2deb33a0 f4a13945 d898c2964fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e162bce3357 6b315ece cbb64068 37bf51f5".replace(/ /g,""),"hex")},nistp384:{size:384,pkcs8oid:"1.3.132.0.34",p:new Buffer("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffeffffffff 00000000 00000000 ffffffff".replace(/ /g,""),"hex"),a:new Buffer("00FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFEFFFFFFFF 00000000 00000000 FFFFFFFC".replace(/ /g,""),"hex"),b:new Buffer("b3312fa7 e23ee7e4 988e056b e3f82d19181d9c6e fe814112 0314088f 5013875ac656398d 8a2ed19d 2a85c8ed d3ec2aef".replace(/ /g,""),"hex"),s:new Buffer("00a335926a a319a27a 1d00896a 6773a4827acdac73".replace(/ /g,""),"hex"),n:new Buffer("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff c7634d81 f4372ddf581a0db2 48b0a77a ecec196a ccc52973".replace(/ /g,""),"hex"),G:new Buffer("04aa87ca22 be8b0537 8eb1c71e f320ad746e1d3b62 8ba79b98 59f741e0 82542a385502f25d bf55296c 3a545e38 72760ab73617de4a 96262c6f 5d9e98bf 9292dc29f8f41dbd 289a147c e9da3113 b5f0b8c00a60b1ce 1d7e819d 7a431d7c 90ea0e5f".replace(/ /g,""),"hex")},nistp521:{size:521,pkcs8oid:"1.3.132.0.35",p:new Buffer("01ffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffff".replace(/ /g,""),"hex"),a:new Buffer("01FFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:new Buffer("51953eb961 8e1c9a1f 929a21a0 b68540eea2da725b 99b315f3 b8b48991 8ef109e156193951 ec7e937b 1652c0bd 3bb1bf073573df88 3d2c34f1 ef451fd4 6b503f00".replace(/ /g,""),"hex"),s:new Buffer("00d09e8800 291cb853 96cc6717 393284aaa0da64ba".replace(/ /g,""),"hex"),n:new Buffer("01ffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffa51868783 bf2f966b 7fcc0148 f709a5d03bb5c9b8 899c47ae bb6fb71e 91386409".replace(/ /g,""),"hex"),G:new Buffer("0400c6 858e06b7 0404e9cd 9e3ecb66 2395b4429c648139 053fb521 f828af60 6b4d3dbaa14b5e77 efe75928 fe1dc127 a2ffa8de3348b3c1 856a429b f97e7e31 c2e5bd660118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd998f54449 579b4468 17afbd17 273e662c97ee7299 5ef42640 c550b901 3fad0761353c7086 a272c240 88be9476 9fd16650".replace(/ /g,""),"hex")}};e.exports={info:i,privInfo:a,hashAlgs:{md5:!0,sha1:!0,sha256:!0,sha384:!0,sha512:!0},curves:r}},function(e,t,i){var a=i(399),r=a.Buffer;function n(e,t){for(var i in e)t[i]=e[i]}function o(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=a:(n(a,t),t.Buffer=o),n(r,o),o.from=function(e,t,i){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,i)},o.alloc=function(e,t,i){if("number"!=typeof e)throw new TypeError("Argument must be a number");var a=r(e);return void 0!==t?"string"==typeof i?a.fill(t,i):a.fill(t):a.fill(0),a},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a.SlowBuffer(e)}},function(e,t,i){"undefined"==typeof process||"renderer"===process.type?e.exports=i(404):e.exports=i(403)},function(e,t){e.exports=require("url")},function(e,t,i){var a=i(163),r=i(162);e.exports=function(e,t,i){var n=t&&i||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[n+s]=o[s];return t||r(o)}},function(e,t,i){var a=i(266);e.exports={Ber:a,BerReader:a.Reader,BerWriter:a.Writer}},function(e,t,i){!function(e){"use strict";var t=function(e){var t,i=new Float64Array(16);if(e)for(t=0;t<e.length;t++)i[t]=e[t];return i},a=function(){throw new Error("no PRNG")},r=new Uint8Array(16),n=new Uint8Array(32);n[0]=9;var o=t(),s=t([1]),c=t([56129,1]),u=t([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),p=t([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),l=t([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),h=t([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),d=t([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function f(e,t,i,a){e[t]=i>>24&255,e[t+1]=i>>16&255,e[t+2]=i>>8&255,e[t+3]=255&i,e[t+4]=a>>24&255,e[t+5]=a>>16&255,e[t+6]=a>>8&255,e[t+7]=255&a}function m(e,t,i,a,r){var n,o=0;for(n=0;n<r;n++)o|=e[t+n]^i[a+n];return(1&o-1>>>8)-1}function g(e,t,i,a){return m(e,t,i,a,16)}function v(e,t,i,a){return m(e,t,i,a,32)}function y(e,t,i,a){!function(e,t,i,a){for(var r,n=255&a[0]|(255&a[1])<<8|(255&a[2])<<16|(255&a[3])<<24,o=255&i[0]|(255&i[1])<<8|(255&i[2])<<16|(255&i[3])<<24,s=255&i[4]|(255&i[5])<<8|(255&i[6])<<16|(255&i[7])<<24,c=255&i[8]|(255&i[9])<<8|(255&i[10])<<16|(255&i[11])<<24,u=255&i[12]|(255&i[13])<<8|(255&i[14])<<16|(255&i[15])<<24,p=255&a[4]|(255&a[5])<<8|(255&a[6])<<16|(255&a[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,h=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,f=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&a[8]|(255&a[9])<<8|(255&a[10])<<16|(255&a[11])<<24,g=255&i[16]|(255&i[17])<<8|(255&i[18])<<16|(255&i[19])<<24,v=255&i[20]|(255&i[21])<<8|(255&i[22])<<16|(255&i[23])<<24,y=255&i[24]|(255&i[25])<<8|(255&i[26])<<16|(255&i[27])<<24,b=255&i[28]|(255&i[29])<<8|(255&i[30])<<16|(255&i[31])<<24,k=255&a[12]|(255&a[13])<<8|(255&a[14])<<16|(255&a[15])<<24,w=n,x=o,_=s,j=c,E=u,S=p,C=l,F=h,P=d,A=f,O=m,z=g,B=v,T=y,q=b,I=k,D=0;D<20;D+=2)w^=(r=(B^=(r=(P^=(r=(E^=(r=w+B|0)<<7|r>>>25)+w|0)<<9|r>>>23)+E|0)<<13|r>>>19)+P|0)<<18|r>>>14,S^=(r=(x^=(r=(T^=(r=(A^=(r=S+x|0)<<7|r>>>25)+S|0)<<9|r>>>23)+A|0)<<13|r>>>19)+T|0)<<18|r>>>14,O^=(r=(C^=(r=(_^=(r=(q^=(r=O+C|0)<<7|r>>>25)+O|0)<<9|r>>>23)+q|0)<<13|r>>>19)+_|0)<<18|r>>>14,I^=(r=(z^=(r=(F^=(r=(j^=(r=I+z|0)<<7|r>>>25)+I|0)<<9|r>>>23)+j|0)<<13|r>>>19)+F|0)<<18|r>>>14,w^=(r=(j^=(r=(_^=(r=(x^=(r=w+j|0)<<7|r>>>25)+w|0)<<9|r>>>23)+x|0)<<13|r>>>19)+_|0)<<18|r>>>14,S^=(r=(E^=(r=(F^=(r=(C^=(r=S+E|0)<<7|r>>>25)+S|0)<<9|r>>>23)+C|0)<<13|r>>>19)+F|0)<<18|r>>>14,O^=(r=(A^=(r=(P^=(r=(z^=(r=O+A|0)<<7|r>>>25)+O|0)<<9|r>>>23)+z|0)<<13|r>>>19)+P|0)<<18|r>>>14,I^=(r=(q^=(r=(T^=(r=(B^=(r=I+q|0)<<7|r>>>25)+I|0)<<9|r>>>23)+B|0)<<13|r>>>19)+T|0)<<18|r>>>14;w=w+n|0,x=x+o|0,_=_+s|0,j=j+c|0,E=E+u|0,S=S+p|0,C=C+l|0,F=F+h|0,P=P+d|0,A=A+f|0,O=O+m|0,z=z+g|0,B=B+v|0,T=T+y|0,q=q+b|0,I=I+k|0,e[0]=w>>>0&255,e[1]=w>>>8&255,e[2]=w>>>16&255,e[3]=w>>>24&255,e[4]=x>>>0&255,e[5]=x>>>8&255,e[6]=x>>>16&255,e[7]=x>>>24&255,e[8]=_>>>0&255,e[9]=_>>>8&255,e[10]=_>>>16&255,e[11]=_>>>24&255,e[12]=j>>>0&255,e[13]=j>>>8&255,e[14]=j>>>16&255,e[15]=j>>>24&255,e[16]=E>>>0&255,e[17]=E>>>8&255,e[18]=E>>>16&255,e[19]=E>>>24&255,e[20]=S>>>0&255,e[21]=S>>>8&255,e[22]=S>>>16&255,e[23]=S>>>24&255,e[24]=C>>>0&255,e[25]=C>>>8&255,e[26]=C>>>16&255,e[27]=C>>>24&255,e[28]=F>>>0&255,e[29]=F>>>8&255,e[30]=F>>>16&255,e[31]=F>>>24&255,e[32]=P>>>0&255,e[33]=P>>>8&255,e[34]=P>>>16&255,e[35]=P>>>24&255,e[36]=A>>>0&255,e[37]=A>>>8&255,e[38]=A>>>16&255,e[39]=A>>>24&255,e[40]=O>>>0&255,e[41]=O>>>8&255,e[42]=O>>>16&255,e[43]=O>>>24&255,e[44]=z>>>0&255,e[45]=z>>>8&255,e[46]=z>>>16&255,e[47]=z>>>24&255,e[48]=B>>>0&255,e[49]=B>>>8&255,e[50]=B>>>16&255,e[51]=B>>>24&255,e[52]=T>>>0&255,e[53]=T>>>8&255,e[54]=T>>>16&255,e[55]=T>>>24&255,e[56]=q>>>0&255,e[57]=q>>>8&255,e[58]=q>>>16&255,e[59]=q>>>24&255,e[60]=I>>>0&255,e[61]=I>>>8&255,e[62]=I>>>16&255,e[63]=I>>>24&255}(e,t,i,a)}function b(e,t,i,a){!function(e,t,i,a){for(var r,n=255&a[0]|(255&a[1])<<8|(255&a[2])<<16|(255&a[3])<<24,o=255&i[0]|(255&i[1])<<8|(255&i[2])<<16|(255&i[3])<<24,s=255&i[4]|(255&i[5])<<8|(255&i[6])<<16|(255&i[7])<<24,c=255&i[8]|(255&i[9])<<8|(255&i[10])<<16|(255&i[11])<<24,u=255&i[12]|(255&i[13])<<8|(255&i[14])<<16|(255&i[15])<<24,p=255&a[4]|(255&a[5])<<8|(255&a[6])<<16|(255&a[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,h=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,f=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&a[8]|(255&a[9])<<8|(255&a[10])<<16|(255&a[11])<<24,g=255&i[16]|(255&i[17])<<8|(255&i[18])<<16|(255&i[19])<<24,v=255&i[20]|(255&i[21])<<8|(255&i[22])<<16|(255&i[23])<<24,y=255&i[24]|(255&i[25])<<8|(255&i[26])<<16|(255&i[27])<<24,b=255&i[28]|(255&i[29])<<8|(255&i[30])<<16|(255&i[31])<<24,k=255&a[12]|(255&a[13])<<8|(255&a[14])<<16|(255&a[15])<<24,w=0;w<20;w+=2)n^=(r=(v^=(r=(d^=(r=(u^=(r=n+v|0)<<7|r>>>25)+n|0)<<9|r>>>23)+u|0)<<13|r>>>19)+d|0)<<18|r>>>14,p^=(r=(o^=(r=(y^=(r=(f^=(r=p+o|0)<<7|r>>>25)+p|0)<<9|r>>>23)+f|0)<<13|r>>>19)+y|0)<<18|r>>>14,m^=(r=(l^=(r=(s^=(r=(b^=(r=m+l|0)<<7|r>>>25)+m|0)<<9|r>>>23)+b|0)<<13|r>>>19)+s|0)<<18|r>>>14,k^=(r=(g^=(r=(h^=(r=(c^=(r=k+g|0)<<7|r>>>25)+k|0)<<9|r>>>23)+c|0)<<13|r>>>19)+h|0)<<18|r>>>14,n^=(r=(c^=(r=(s^=(r=(o^=(r=n+c|0)<<7|r>>>25)+n|0)<<9|r>>>23)+o|0)<<13|r>>>19)+s|0)<<18|r>>>14,p^=(r=(u^=(r=(h^=(r=(l^=(r=p+u|0)<<7|r>>>25)+p|0)<<9|r>>>23)+l|0)<<13|r>>>19)+h|0)<<18|r>>>14,m^=(r=(f^=(r=(d^=(r=(g^=(r=m+f|0)<<7|r>>>25)+m|0)<<9|r>>>23)+g|0)<<13|r>>>19)+d|0)<<18|r>>>14,k^=(r=(b^=(r=(y^=(r=(v^=(r=k+b|0)<<7|r>>>25)+k|0)<<9|r>>>23)+v|0)<<13|r>>>19)+y|0)<<18|r>>>14;e[0]=n>>>0&255,e[1]=n>>>8&255,e[2]=n>>>16&255,e[3]=n>>>24&255,e[4]=p>>>0&255,e[5]=p>>>8&255,e[6]=p>>>16&255,e[7]=p>>>24&255,e[8]=m>>>0&255,e[9]=m>>>8&255,e[10]=m>>>16&255,e[11]=m>>>24&255,e[12]=k>>>0&255,e[13]=k>>>8&255,e[14]=k>>>16&255,e[15]=k>>>24&255,e[16]=l>>>0&255,e[17]=l>>>8&255,e[18]=l>>>16&255,e[19]=l>>>24&255,e[20]=h>>>0&255,e[21]=h>>>8&255,e[22]=h>>>16&255,e[23]=h>>>24&255,e[24]=d>>>0&255,e[25]=d>>>8&255,e[26]=d>>>16&255,e[27]=d>>>24&255,e[28]=f>>>0&255,e[29]=f>>>8&255,e[30]=f>>>16&255,e[31]=f>>>24&255}(e,t,i,a)}var k=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function w(e,t,i,a,r,n,o){var s,c,u=new Uint8Array(16),p=new Uint8Array(64);for(c=0;c<16;c++)u[c]=0;for(c=0;c<8;c++)u[c]=n[c];for(;r>=64;){for(y(p,u,o,k),c=0;c<64;c++)e[t+c]=i[a+c]^p[c];for(s=1,c=8;c<16;c++)s=s+(255&u[c])|0,u[c]=255&s,s>>>=8;r-=64,t+=64,a+=64}if(r>0)for(y(p,u,o,k),c=0;c<r;c++)e[t+c]=i[a+c]^p[c];return 0}function x(e,t,i,a,r){var n,o,s=new Uint8Array(16),c=new Uint8Array(64);for(o=0;o<16;o++)s[o]=0;for(o=0;o<8;o++)s[o]=a[o];for(;i>=64;){for(y(c,s,r,k),o=0;o<64;o++)e[t+o]=c[o];for(n=1,o=8;o<16;o++)n=n+(255&s[o])|0,s[o]=255&n,n>>>=8;i-=64,t+=64}if(i>0)for(y(c,s,r,k),o=0;o<i;o++)e[t+o]=c[o];return 0}function _(e,t,i,a,r){var n=new Uint8Array(32);b(n,a,r,k);for(var o=new Uint8Array(8),s=0;s<8;s++)o[s]=a[s+16];return x(e,t,i,o,n)}function j(e,t,i,a,r,n,o){var s=new Uint8Array(32);b(s,n,o,k);for(var c=new Uint8Array(8),u=0;u<8;u++)c[u]=n[u+16];return w(e,t,i,a,r,c,s)}var E=function(e){var t,i,a,r,n,o,s,c;this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0,t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,i=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|i<<3),a=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(i>>>10|a<<6),r=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(a>>>7|r<<9),n=255&e[8]|(255&e[9])<<8,this.r[4]=255&(r>>>4|n<<12),this.r[5]=n>>>1&8190,o=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(n>>>14|o<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(o>>>11|s<<5),c=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|c<<8),this.r[9]=c>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function S(e,t,i,a,r,n){var o=new E(n);return o.update(i,a,r),o.finish(e,t),0}function C(e,t,i,a,r,n){var o=new Uint8Array(16);return S(o,0,i,a,r,n),g(e,t,o,0)}function F(e,t,i,a,r){var n;if(i<32)return-1;for(j(e,0,t,0,i,a,r),S(e,16,e,32,i-32,e),n=0;n<16;n++)e[n]=0;return 0}function P(e,t,i,a,r){var n,o=new Uint8Array(32);if(i<32)return-1;if(_(o,0,32,a,r),0!==C(t,16,t,32,i-32,o))return-1;for(j(e,0,t,0,i,a,r),n=0;n<32;n++)e[n]=0;return 0}function A(e,t){var i;for(i=0;i<16;i++)e[i]=0|t[i]}function O(e){var t,i,a=1;for(t=0;t<16;t++)i=e[t]+a+65535,a=Math.floor(i/65536),e[t]=i-65536*a;e[0]+=a-1+37*(a-1)}function z(e,t,i){for(var a,r=~(i-1),n=0;n<16;n++)a=r&(e[n]^t[n]),e[n]^=a,t[n]^=a}function B(e,i){var a,r,n,o=t(),s=t();for(a=0;a<16;a++)s[a]=i[a];for(O(s),O(s),O(s),r=0;r<2;r++){for(o[0]=s[0]-65517,a=1;a<15;a++)o[a]=s[a]-65535-(o[a-1]>>16&1),o[a-1]&=65535;o[15]=s[15]-32767-(o[14]>>16&1),n=o[15]>>16&1,o[14]&=65535,z(s,o,1-n)}for(a=0;a<16;a++)e[2*a]=255&s[a],e[2*a+1]=s[a]>>8}function T(e,t){var i=new Uint8Array(32),a=new Uint8Array(32);return B(i,e),B(a,t),v(i,0,a,0)}function q(e){var t=new Uint8Array(32);return B(t,e),1&t[0]}function I(e,t){var i;for(i=0;i<16;i++)e[i]=t[2*i]+(t[2*i+1]<<8);e[15]&=32767}function D(e,t,i){for(var a=0;a<16;a++)e[a]=t[a]+i[a]}function R(e,t,i){for(var a=0;a<16;a++)e[a]=t[a]-i[a]}function N(e,t,i){var a,r,n=0,o=0,s=0,c=0,u=0,p=0,l=0,h=0,d=0,f=0,m=0,g=0,v=0,y=0,b=0,k=0,w=0,x=0,_=0,j=0,E=0,S=0,C=0,F=0,P=0,A=0,O=0,z=0,B=0,T=0,q=0,I=i[0],D=i[1],R=i[2],N=i[3],M=i[4],L=i[5],U=i[6],$=i[7],H=i[8],V=i[9],K=i[10],Q=i[11],W=i[12],G=i[13],J=i[14],Y=i[15];n+=(a=t[0])*I,o+=a*D,s+=a*R,c+=a*N,u+=a*M,p+=a*L,l+=a*U,h+=a*$,d+=a*H,f+=a*V,m+=a*K,g+=a*Q,v+=a*W,y+=a*G,b+=a*J,k+=a*Y,o+=(a=t[1])*I,s+=a*D,c+=a*R,u+=a*N,p+=a*M,l+=a*L,h+=a*U,d+=a*$,f+=a*H,m+=a*V,g+=a*K,v+=a*Q,y+=a*W,b+=a*G,k+=a*J,w+=a*Y,s+=(a=t[2])*I,c+=a*D,u+=a*R,p+=a*N,l+=a*M,h+=a*L,d+=a*U,f+=a*$,m+=a*H,g+=a*V,v+=a*K,y+=a*Q,b+=a*W,k+=a*G,w+=a*J,x+=a*Y,c+=(a=t[3])*I,u+=a*D,p+=a*R,l+=a*N,h+=a*M,d+=a*L,f+=a*U,m+=a*$,g+=a*H,v+=a*V,y+=a*K,b+=a*Q,k+=a*W,w+=a*G,x+=a*J,_+=a*Y,u+=(a=t[4])*I,p+=a*D,l+=a*R,h+=a*N,d+=a*M,f+=a*L,m+=a*U,g+=a*$,v+=a*H,y+=a*V,b+=a*K,k+=a*Q,w+=a*W,x+=a*G,_+=a*J,j+=a*Y,p+=(a=t[5])*I,l+=a*D,h+=a*R,d+=a*N,f+=a*M,m+=a*L,g+=a*U,v+=a*$,y+=a*H,b+=a*V,k+=a*K,w+=a*Q,x+=a*W,_+=a*G,j+=a*J,E+=a*Y,l+=(a=t[6])*I,h+=a*D,d+=a*R,f+=a*N,m+=a*M,g+=a*L,v+=a*U,y+=a*$,b+=a*H,k+=a*V,w+=a*K,x+=a*Q,_+=a*W,j+=a*G,E+=a*J,S+=a*Y,h+=(a=t[7])*I,d+=a*D,f+=a*R,m+=a*N,g+=a*M,v+=a*L,y+=a*U,b+=a*$,k+=a*H,w+=a*V,x+=a*K,_+=a*Q,j+=a*W,E+=a*G,S+=a*J,C+=a*Y,d+=(a=t[8])*I,f+=a*D,m+=a*R,g+=a*N,v+=a*M,y+=a*L,b+=a*U,k+=a*$,w+=a*H,x+=a*V,_+=a*K,j+=a*Q,E+=a*W,S+=a*G,C+=a*J,F+=a*Y,f+=(a=t[9])*I,m+=a*D,g+=a*R,v+=a*N,y+=a*M,b+=a*L,k+=a*U,w+=a*$,x+=a*H,_+=a*V,j+=a*K,E+=a*Q,S+=a*W,C+=a*G,F+=a*J,P+=a*Y,m+=(a=t[10])*I,g+=a*D,v+=a*R,y+=a*N,b+=a*M,k+=a*L,w+=a*U,x+=a*$,_+=a*H,j+=a*V,E+=a*K,S+=a*Q,C+=a*W,F+=a*G,P+=a*J,A+=a*Y,g+=(a=t[11])*I,v+=a*D,y+=a*R,b+=a*N,k+=a*M,w+=a*L,x+=a*U,_+=a*$,j+=a*H,E+=a*V,S+=a*K,C+=a*Q,F+=a*W,P+=a*G,A+=a*J,O+=a*Y,v+=(a=t[12])*I,y+=a*D,b+=a*R,k+=a*N,w+=a*M,x+=a*L,_+=a*U,j+=a*$,E+=a*H,S+=a*V,C+=a*K,F+=a*Q,P+=a*W,A+=a*G,O+=a*J,z+=a*Y,y+=(a=t[13])*I,b+=a*D,k+=a*R,w+=a*N,x+=a*M,_+=a*L,j+=a*U,E+=a*$,S+=a*H,C+=a*V,F+=a*K,P+=a*Q,A+=a*W,O+=a*G,z+=a*J,B+=a*Y,b+=(a=t[14])*I,k+=a*D,w+=a*R,x+=a*N,_+=a*M,j+=a*L,E+=a*U,S+=a*$,C+=a*H,F+=a*V,P+=a*K,A+=a*Q,O+=a*W,z+=a*G,B+=a*J,T+=a*Y,k+=(a=t[15])*I,o+=38*(x+=a*R),s+=38*(_+=a*N),c+=38*(j+=a*M),u+=38*(E+=a*L),p+=38*(S+=a*U),l+=38*(C+=a*$),h+=38*(F+=a*H),d+=38*(P+=a*V),f+=38*(A+=a*K),m+=38*(O+=a*Q),g+=38*(z+=a*W),v+=38*(B+=a*G),y+=38*(T+=a*J),b+=38*(q+=a*Y),n=(a=(n+=38*(w+=a*D))+(r=1)+65535)-65536*(r=Math.floor(a/65536)),o=(a=o+r+65535)-65536*(r=Math.floor(a/65536)),s=(a=s+r+65535)-65536*(r=Math.floor(a/65536)),c=(a=c+r+65535)-65536*(r=Math.floor(a/65536)),u=(a=u+r+65535)-65536*(r=Math.floor(a/65536)),p=(a=p+r+65535)-65536*(r=Math.floor(a/65536)),l=(a=l+r+65535)-65536*(r=Math.floor(a/65536)),h=(a=h+r+65535)-65536*(r=Math.floor(a/65536)),d=(a=d+r+65535)-65536*(r=Math.floor(a/65536)),f=(a=f+r+65535)-65536*(r=Math.floor(a/65536)),m=(a=m+r+65535)-65536*(r=Math.floor(a/65536)),g=(a=g+r+65535)-65536*(r=Math.floor(a/65536)),v=(a=v+r+65535)-65536*(r=Math.floor(a/65536)),y=(a=y+r+65535)-65536*(r=Math.floor(a/65536)),b=(a=b+r+65535)-65536*(r=Math.floor(a/65536)),k=(a=k+r+65535)-65536*(r=Math.floor(a/65536)),n=(a=(n+=r-1+37*(r-1))+(r=1)+65535)-65536*(r=Math.floor(a/65536)),o=(a=o+r+65535)-65536*(r=Math.floor(a/65536)),s=(a=s+r+65535)-65536*(r=Math.floor(a/65536)),c=(a=c+r+65535)-65536*(r=Math.floor(a/65536)),u=(a=u+r+65535)-65536*(r=Math.floor(a/65536)),p=(a=p+r+65535)-65536*(r=Math.floor(a/65536)),l=(a=l+r+65535)-65536*(r=Math.floor(a/65536)),h=(a=h+r+65535)-65536*(r=Math.floor(a/65536)),d=(a=d+r+65535)-65536*(r=Math.floor(a/65536)),f=(a=f+r+65535)-65536*(r=Math.floor(a/65536)),m=(a=m+r+65535)-65536*(r=Math.floor(a/65536)),g=(a=g+r+65535)-65536*(r=Math.floor(a/65536)),v=(a=v+r+65535)-65536*(r=Math.floor(a/65536)),y=(a=y+r+65535)-65536*(r=Math.floor(a/65536)),b=(a=b+r+65535)-65536*(r=Math.floor(a/65536)),k=(a=k+r+65535)-65536*(r=Math.floor(a/65536)),n+=r-1+37*(r-1),e[0]=n,e[1]=o,e[2]=s,e[3]=c,e[4]=u,e[5]=p,e[6]=l,e[7]=h,e[8]=d,e[9]=f,e[10]=m,e[11]=g,e[12]=v,e[13]=y,e[14]=b,e[15]=k}function M(e,t){N(e,t,t)}function L(e,i){var a,r=t();for(a=0;a<16;a++)r[a]=i[a];for(a=253;a>=0;a--)M(r,r),2!==a&&4!==a&&N(r,r,i);for(a=0;a<16;a++)e[a]=r[a]}function U(e,i,a){var r,n,o=new Uint8Array(32),s=new Float64Array(80),u=t(),p=t(),l=t(),h=t(),d=t(),f=t();for(n=0;n<31;n++)o[n]=i[n];for(o[31]=127&i[31]|64,o[0]&=248,I(s,a),n=0;n<16;n++)p[n]=s[n],h[n]=u[n]=l[n]=0;for(u[0]=h[0]=1,n=254;n>=0;--n)z(u,p,r=o[n>>>3]>>>(7&n)&1),z(l,h,r),D(d,u,l),R(u,u,l),D(l,p,h),R(p,p,h),M(h,d),M(f,u),N(u,l,u),N(l,p,d),D(d,u,l),R(u,u,l),M(p,u),R(l,h,f),N(u,l,c),D(u,u,h),N(l,l,u),N(u,h,f),N(h,p,s),M(p,d),z(u,p,r),z(l,h,r);for(n=0;n<16;n++)s[n+16]=u[n],s[n+32]=l[n],s[n+48]=p[n],s[n+64]=h[n];var m=s.subarray(32),g=s.subarray(16);return L(m,m),N(g,g,m),B(e,g),0}function $(e,t){return U(e,t,n)}function H(e,t){return a(t,32),$(e,t)}function V(e,t,i){var a=new Uint8Array(32);return U(a,i,t),b(e,r,a,k)}E.prototype.blocks=function(e,t,i){for(var a,r,n,o,s,c,u,p,l,h,d,f,m,g,v,y,b,k,w,x=this.fin?0:2048,_=this.h[0],j=this.h[1],E=this.h[2],S=this.h[3],C=this.h[4],F=this.h[5],P=this.h[6],A=this.h[7],O=this.h[8],z=this.h[9],B=this.r[0],T=this.r[1],q=this.r[2],I=this.r[3],D=this.r[4],R=this.r[5],N=this.r[6],M=this.r[7],L=this.r[8],U=this.r[9];i>=16;)_+=8191&(a=255&e[t+0]|(255&e[t+1])<<8),j+=8191&(a>>>13|(r=255&e[t+2]|(255&e[t+3])<<8)<<3),E+=8191&(r>>>10|(n=255&e[t+4]|(255&e[t+5])<<8)<<6),S+=8191&(n>>>7|(o=255&e[t+6]|(255&e[t+7])<<8)<<9),C+=8191&(o>>>4|(s=255&e[t+8]|(255&e[t+9])<<8)<<12),F+=s>>>1&8191,P+=8191&(s>>>14|(c=255&e[t+10]|(255&e[t+11])<<8)<<2),A+=8191&(c>>>11|(u=255&e[t+12]|(255&e[t+13])<<8)<<5),p=255&e[t+14]|(255&e[t+15])<<8,h=l=0,h+=_*B,h+=j*(5*U),h+=E*(5*L),h+=S*(5*M),l=(h+=C*(5*N))>>>13,h&=8191,h+=F*(5*R),h+=P*(5*D),h+=A*(5*I),h+=(O+=8191&(u>>>8|p<<8))*(5*q),d=l+=(h+=(z+=p>>>5|x)*(5*T))>>>13,d+=_*T,d+=j*B,d+=E*(5*U),d+=S*(5*L),l=(d+=C*(5*M))>>>13,d&=8191,d+=F*(5*N),d+=P*(5*R),d+=A*(5*D),d+=O*(5*I),l+=(d+=z*(5*q))>>>13,d&=8191,f=l,f+=_*q,f+=j*T,f+=E*B,f+=S*(5*U),l=(f+=C*(5*L))>>>13,f&=8191,f+=F*(5*M),f+=P*(5*N),f+=A*(5*R),f+=O*(5*D),m=l+=(f+=z*(5*I))>>>13,m+=_*I,m+=j*q,m+=E*T,m+=S*B,l=(m+=C*(5*U))>>>13,m&=8191,m+=F*(5*L),m+=P*(5*M),m+=A*(5*N),m+=O*(5*R),g=l+=(m+=z*(5*D))>>>13,g+=_*D,g+=j*I,g+=E*q,g+=S*T,l=(g+=C*B)>>>13,g&=8191,g+=F*(5*U),g+=P*(5*L),g+=A*(5*M),g+=O*(5*N),v=l+=(g+=z*(5*R))>>>13,v+=_*R,v+=j*D,v+=E*I,v+=S*q,l=(v+=C*T)>>>13,v&=8191,v+=F*B,v+=P*(5*U),v+=A*(5*L),v+=O*(5*M),y=l+=(v+=z*(5*N))>>>13,y+=_*N,y+=j*R,y+=E*D,y+=S*I,l=(y+=C*q)>>>13,y&=8191,y+=F*T,y+=P*B,y+=A*(5*U),y+=O*(5*L),b=l+=(y+=z*(5*M))>>>13,b+=_*M,b+=j*N,b+=E*R,b+=S*D,l=(b+=C*I)>>>13,b&=8191,b+=F*q,b+=P*T,b+=A*B,b+=O*(5*U),k=l+=(b+=z*(5*L))>>>13,k+=_*L,k+=j*M,k+=E*N,k+=S*R,l=(k+=C*D)>>>13,k&=8191,k+=F*I,k+=P*q,k+=A*T,k+=O*B,w=l+=(k+=z*(5*U))>>>13,w+=_*U,w+=j*L,w+=E*M,w+=S*N,l=(w+=C*R)>>>13,w&=8191,w+=F*D,w+=P*I,w+=A*q,w+=O*T,_=h=8191&(l=(l=((l+=(w+=z*B)>>>13)<<2)+l|0)+(h&=8191)|0),j=d+=l>>>=13,E=f&=8191,S=m&=8191,C=g&=8191,F=v&=8191,P=y&=8191,A=b&=8191,O=k&=8191,z=w&=8191,t+=16,i-=16;this.h[0]=_,this.h[1]=j,this.h[2]=E,this.h[3]=S,this.h[4]=C,this.h[5]=F,this.h[6]=P,this.h[7]=A,this.h[8]=O,this.h[9]=z},E.prototype.finish=function(e,t){var i,a,r,n,o=new Uint16Array(10);if(this.leftover){for(n=this.leftover,this.buffer[n++]=1;n<16;n++)this.buffer[n]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(i=this.h[1]>>>13,this.h[1]&=8191,n=2;n<10;n++)this.h[n]+=i,i=this.h[n]>>>13,this.h[n]&=8191;for(this.h[0]+=5*i,i=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=i,i=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=i,o[0]=this.h[0]+5,i=o[0]>>>13,o[0]&=8191,n=1;n<10;n++)o[n]=this.h[n]+i,i=o[n]>>>13,o[n]&=8191;for(o[9]-=8192,a=(1^i)-1,n=0;n<10;n++)o[n]&=a;for(a=~a,n=0;n<10;n++)this.h[n]=this.h[n]&a|o[n];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),r=this.h[0]+this.pad[0],this.h[0]=65535&r,n=1;n<8;n++)r=(this.h[n]+this.pad[n]|0)+(r>>>16)|0,this.h[n]=65535&r;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},E.prototype.update=function(e,t,i){var a,r;if(this.leftover){for((r=16-this.leftover)>i&&(r=i),a=0;a<r;a++)this.buffer[this.leftover+a]=e[t+a];if(i-=r,t+=r,this.leftover+=r,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(i>=16&&(r=i-i%16,this.blocks(e,t,r),t+=r,i-=r),i){for(a=0;a<i;a++)this.buffer[this.leftover+a]=e[t+a];this.leftover+=i}};var K=F,Q=P;var W=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,95