vendor: 9,270 bytes, lines 1-2
1/*! For license information please see LICENSES */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[175],{229:function(e,t,r){var n=r(38).Buffer;function o(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,r=new Array(t),i=0;i<t;i++)r[i]=e.readUInt32BE(4*i);return r}function c(e){for(;0<e.length;e++)e[0]=0}function h(e,t,r,n,o){for(var c,h,f,d,l=r[0],y=r[1],v=r[2],m=r[3],_=e[0]^t[0],w=e[1]^t[1],S=e[2]^t[2],B=e[3]^t[3],E=4,k=1;k<o;k++)c=l[_>>>24]^y[w>>>16&255]^v[S>>>8&255]^m[255&B]^t[E++],h=l[w>>>24]^y[S>>>16&255]^v[B>>>8&255]^m[255&_]^t[E++],f=l[S>>>24]^y[B>>>16&255]^v[_>>>8&255]^m[255&w]^t[E++],d=l[B>>>24]^y[_>>>16&255]^v[w>>>8&255]^m[255&S]^t[E++],_=c,w=h,S=f,B=d;return c=(n[_>>>24]<<24|n[w>>>16&255]<<16|n[S>>>8&255]<<8|n[255&B])^t[E++],h=(n[w>>>24]<<24|n[S>>>16&255]<<16|n[B>>>8&255]<<8|n[255&_])^t[E++],f=(n[S>>>24]<<24|n[B>>>16&255]<<16|n[_>>>8&255]<<8|n[255&w])^t[E++],d=(n[B>>>24]<<24|n[_>>>16&255]<<16|n[w>>>8&255]<<8|n[255&S])^t[E++],[c>>>=0,h>>>=0,f>>>=0,d>>>=0]}var f=[0,1,2,4,8,16,32,64,128,27,54],d=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=[],o=[[],[],[],[]],c=[[],[],[],[]],h=0,f=0,i=0;i<256;++i){var d=f^f<<1^f<<2^f<<3^f<<4;d=d>>>8^255&d^99,r[h]=d,n[d]=h;var l=e[h],y=e[l],v=e[y],m=257*e[d]^16843008*d;o[0][h]=m<<24|m>>>8,o[1][h]=m<<16|m>>>16,o[2][h]=m<<8|m>>>24,o[3][h]=m,m=16843009*v^65537*y^257*l^16843008*h,c[0][d]=m<<24|m>>>8,c[1][d]=m<<16|m>>>16,c[2][d]=m<<8|m>>>24,c[3][d]=m,0===h?h=f=1:(h=l^e[e[e[v^l]]],f^=e[e[f]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:o,INV_SUB_MIX:c}}();function l(e){this._key=o(e),this._reset()}l.blockSize=16,l.keySize=32,l.prototype.blockSize=l.blockSize,l.prototype.keySize=l.keySize,l.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),o=[],c=0;c<t;c++)o[c]=e[c];for(c=t;c<n;c++){var h=o[c-1];c%t==0?(h=h<<8|h>>>24,h=d.SBOX[h>>>24]<<24|d.SBOX[h>>>16&255]<<16|d.SBOX[h>>>8&255]<<8|d.SBOX[255&h],h^=f[c/t|0]<<24):t>6&&c%t==4&&(h=d.SBOX[h>>>24]<<24|d.SBOX[h>>>16&255]<<16|d.SBOX[h>>>8&255]<<8|d.SBOX[255&h]),o[c]=o[c-t]^h}for(var l=[],y=0;y<n;y++){var v=n-y,m=o[v-(y%4?0:4)];l[y]=y<4||v<=4?m:d.INV_SUB_MIX[0][d.SBOX[m>>>24]]^d.INV_SUB_MIX[1][d.SBOX[m>>>16&255]]^d.INV_SUB_MIX[2][d.SBOX[m>>>8&255]]^d.INV_SUB_MIX[3][d.SBOX[255&m]]}this._nRounds=r,this._keySchedule=o,this._invKeySchedule=l},l.prototype.encryptBlockRaw=function(e){return h(e=o(e),this._keySchedule,d.SUB_MIX,d.SBOX,this._nRounds)},l.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=n.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},l.prototype.decryptBlock=function(e){var t=(e=o(e))[1];e[1]=e[3],e[3]=t;var r=h(e,this._invKeySchedule,d.INV_SUB_MIX,d.INV_SBOX,this._nRounds),c=n.allocUnsafe(16);return c.writeUInt32BE(r[0],0),c.writeUInt32BE(r[3],4),c.writeUInt32BE(r[2],8),c.writeUInt32BE(r[1],12),c},l.prototype.scrub=function(){c(this._keySchedule),c(this._invKeySchedule),c(this._key)},e.exports.AES=l},301:function(e,t,r){var n=r(737),o=r(745),c=r(432);t.createCipher=t.Cipher=n.createCipher,t.createCipheriv=t.Cipheriv=n.createCipheriv,t.createDecipher=t.Decipher=o.createDecipher,t.createDecipheriv=t.Decipheriv=o.createDecipheriv,t.listCiphers=t.getCiphers=function(){return Object.keys(c)}},302:function(e,t,r){var n={ECB:r(738),CBC:r(739),CFB:r(740),CFB8:r(741),CFB1:r(742),OFB:r(743),CTR:r(430),GCM:r(430)},o=r(432);for(var c in o)o[c].module=n[o[c].mode];e.exports=o},303:function(e,t,r){var n;function o(e){this.rand=e}if(e.exports=function(e){return n||(n=new o(null)),n.generate(e)},e.exports.Rand=o,o.prototype.generate=function(e){return this._rand(e)},o.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),i=0;i<t.length;i++)t[i]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?o.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?o.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(o.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var c=r(751);if("function"!=typeof c.randomBytes)throw new Error("Not supported");o.prototype._rand=function(e){return c.randomBytes(e)}}catch(e){}},304:function(e,t,r){var n=r(75),o=n.Buffer;function c(e,t){for(var r in e)t[r]=e[r]}function h(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(c(n,t),t.Buffer=h),h.prototype=Object.create(o.prototype),c(o,h),h.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},h.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},h.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},h.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},305:function(e,t,r){(function(t){var n=r(306),o=r(152);function c(e){var t,r=e.modulus.byteLength();do{t=new n(o(r))}while(t.cmp(e.modulus)>=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function h(e,r){var o=function(e){var t=c(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(r),h=r.modulus.byteLength(),f=new n(e).mul(o.blinder).umod(r.modulus),d=f.toRed(n.mont(r.prime1)),l=f.toRed(n.mont(r.prime2)),y=r.coefficient,p=r.prime1,q=r.prime2,v=d.redPow(r.exponent1).fromRed(),m=l.redPow(r.exponent2).fromRed(),_=v.isub(m).imul(y).umod(p).imul(q);return m.iadd(_).imul(o.unblinder).umod(r.modulus).toArrayLike(t,"be",h)}h.getr=c,e.exports=h}).call(this,r(75).Buffer)},422:function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},430:function(e,t,r){var n=r(189),o=r(38).Buffer,c=r(431);function h(e){var t=e._cipher.encryptBlockRaw(e._prev);return c(e._prev),t}t.encrypt=function(e,t){var r=Math.ceil(t.length/16),c=e._cache.length;e._cache=o.concat([e._cache,o.allocUnsafe(16*r)]);for(var i=0;i<r;i++){var f=h(e),d=c+16*i;e._cache.writeUInt32BE(f[0],d+0),e._cache.writeUInt32BE(f[1],d+4),e._cache.writeUInt32BE(f[2],d+8),e._cache.writeUInt32BE(f[3],d+12)}var l=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),n(t,l)}},431:function(e,t){e.exports=function(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}},432:function(e){e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"}
2,"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"}}')}
vendor: 1,965 bytes, line 2
2,433:function(e,t,r){var n=r(229),o=r(38).Buffer,c=r(131),h=r(33),f=r(744),d=r(189),l=r(431);function y(e,t,r,h){c.call(this);var d=o.alloc(4,0);this._cipher=new n.AES(t);var y=this._cipher.encryptBlock(d);this._ghash=new f(y),r=function(e,t,r){if(12===t.length)return e._finID=o.concat([t,o.from([0,0,0,1])]),o.concat([t,o.from([0,0,0,2])]);var n=new f(r),c=t.length,h=c%16;n.update(t),h&&(h=16-h,n.update(o.alloc(h,0))),n.update(o.alloc(8,0));var d=8*c,y=o.alloc(8);y.writeUIntBE(d,0,8),n.update(y),e._finID=n.state;var v=o.from(e._finID);return l(v),v}(this,r,y),this._prev=o.from(r),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=h,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}h(y,c),y.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=o.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},y.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=d(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(a,b){var e=0;a.length!==b.length&&e++;for(var t=Math.min(a.length,b.length),i=0;i<t;++i)e+=a[i]^b[i];return e}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},y.prototype.getAuthTag=function(){if(this._decrypt||!o.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},y.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},y.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=y}
vendor: 6,933 bytes, line 2
2,434:function(e,t,r){var n=r(229),o=r(38).Buffer,c=r(131);function h(e,t,r,h){c.call(this),this._cipher=new n.AES(t),this._prev=o.from(r),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=h,this._mode=e}r(33)(h,c),h.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},h.prototype._final=function(){this._cipher.scrub()},e.exports=h},449:function(e){e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},730:function(e,t,r){e.exports=r(422)},732:function(e,t,r){var n=r(733),o=r(301),c=r(302),h=r(746),f=r(230);function d(e,t,r){if(e=e.toLowerCase(),c[e])return o.createCipheriv(e,t,r);if(h[e])return new n({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function l(e,t,r){if(e=e.toLowerCase(),c[e])return o.createDecipheriv(e,t,r);if(h[e])return new n({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var r,n;if(e=e.toLowerCase(),c[e])r=c[e].key,n=c[e].iv;else{if(!h[e])throw new TypeError("invalid suite type");r=8*h[e].key,n=h[e].iv}var o=f(t,!1,r,n);return d(e,o.key,o.iv)},t.createCipheriv=t.Cipheriv=d,t.createDecipher=t.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),c[e])r=c[e].key,n=c[e].iv;else{if(!h[e])throw new TypeError("invalid suite type");r=8*h[e].key,n=h[e].iv}var o=f(t,!1,r,n);return l(e,o.key,o.iv)},t.createDecipheriv=t.Decipheriv=l,t.listCiphers=t.getCiphers=function(){return Object.keys(h).concat(o.getCiphers())}},733:function(e,t,r){var n=r(131),o=r(734),c=r(33),h=r(38).Buffer,f={"des-ede3-cbc":o.CBC.instantiate(o.EDE),"des-ede3":o.EDE,"des-ede-cbc":o.CBC.instantiate(o.EDE),"des-ede":o.EDE,"des-cbc":o.CBC.instantiate(o.DES),"des-ecb":o.DES};function d(e){n.call(this);var t,r=e.mode.toLowerCase(),o=f[r];t=e.decrypt?"decrypt":"encrypt";var c=e.key;h.isBuffer(c)||(c=h.from(c)),"des-ede"!==r&&"des-ede-cbc"!==r||(c=h.concat([c,c.slice(0,8)]));var d=e.iv;h.isBuffer(d)||(d=h.from(d)),this._des=o.create({key:c,iv:d,type:t})}f.des=f["des-cbc"],f.des3=f["des-ede3-cbc"],e.exports=d,c(d,n),d.prototype._update=function(data){return h.from(this._des.update(data))},d.prototype._final=function(){return h.from(this._des.final())}},737:function(e,t,r){var n=r(302),o=r(433),c=r(38).Buffer,h=r(434),f=r(131),d=r(229),l=r(230);function y(e,t,r){f.call(this),this._cache=new m,this._cipher=new d.AES(t),this._prev=c.from(r),this._mode=e,this._autopadding=!0}r(33)(y,f),y.prototype._update=function(data){var e,t;this._cache.add(data);for(var r=[];e=this._cache.get();)t=this._mode.encrypt(this,e),r.push(t);return c.concat(r)};var v=c.alloc(16,16);function m(){this.cache=c.allocUnsafe(0)}function _(e,t,r){var f=n[e.toLowerCase()];if(!f)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=c.from(t)),t.length!==f.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof r&&(r=c.from(r)),"GCM"!==f.mode&&r.length!==f.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===f.type?new h(f.module,t,r):"auth"===f.type?new o(f.module,t,r):new y(f.module,t,r)}y.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(v))throw this._cipher.scrub(),new Error("data not multiple of block length")},y.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},m.prototype.add=function(data){this.cache=c.concat([this.cache,data])},m.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},m.prototype.flush=function(){for(var e=16-this.cache.length,t=c.allocUnsafe(e),i=-1;++i<e;)t.writeUInt8(e,i);return c.concat([this.cache,t])},t.createCipheriv=_,t.createCipher=function(e,t){var r=n[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var o=l(t,!1,r.key,r.iv);return _(e,o.key,o.iv)}},738:function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},739:function(e,t,r){var n=r(189);t.encrypt=function(e,t){var data=n(t,e._prev);return e._prev=e._cipher.encryptBlock(data),e._prev},t.decrypt=function(e,t){var r=e._prev;e._prev=t;var o=e._cipher.decryptBlock(t);return n(o,r)}},740:function(e,t,r){var n=r(38).Buffer,o=r(189);function c(e,data,t){var r=data.length,c=o(data,e._cache);return e._cache=e._cache.slice(r),e._prev=n.concat([e._prev,t?data:c]),c}t.encrypt=function(e,data,t){for(var r,o=n.allocUnsafe(0);data.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=n.allocUnsafe(0)),!(e._cache.length<=data.length)){o=n.concat([o,c(e,data,t)]);break}r=e._cache.length,o=n.concat([o,c(e,data.slice(0,r),t)]),data=data.slice(r)}return o}},741:function(e,t,r){var n=r(38).Buffer;function o(e,t,r){var o=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=n.concat([e._prev.slice(1),n.from([r?t:o])]),o}t.encrypt=function(e,t,r){for(var c=t.length,h=n.allocUnsafe(c),i=-1;++i<c;)h[i]=o(e,t[i],r);return h}},742:function(e,t,r){var n=r(38).Buffer;function o(e,t,r){for(var n,o,i=-1,h=0;++i<8;)n=t&1<<7-i?128:0,h+=(128&(o=e._cipher.encryptBlock(e._prev)[0]^n))>>i%8,e._prev=c(e._prev,r?n:o);return h}function c(e,t){var r=e.length,i=-1,o=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++i<r;)o[i]=e[i]<<1|e[i+1]>>7;return o}t.encrypt=function(e,t,r){for(var c=t.length,h=n.allocUnsafe(c),i=-1;++i<c;)h[i]=o(e,t[i],r);return h}},743:function(e,t,r){(function(e){var n=r(189);function o(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,r){for(;t._cache.length<r.length;)t._cache=e.concat([t._cache,o(t)]);var c=t._cache.slice(0,r.length);return t._cache=t._cache.slice(r.length),n(r,c)}}).call(this,r(75).Buffer)},744:function(e,t,r){var n=r(38).Buffer,o=n.alloc(16,0);function c(e){var t=n.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function h(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}h.prototype.ghash=function(e){for(var i=-1;++i<e.length;)this.state[i]^=e[i];this._multiply()},h.prototype._multiply=function(){for(var e,t,r,n=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],o=[0,0,0,0],i=-1;++i<128;){for(0!=(this.state[~~(i/8)]&1<<7-i%8)&&(o[0]^=n[0],o[1]^=n[1],o[2]^=n[2],o[3]^=n[3]),r=0!=(1&n[3]),t=3;t>0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=c(o)},h.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},h.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,o],16)),this.ghash(c([0,e,0,t])),this.state},e.exports=h}
vendor: 5,211 bytes, line 2
2,745:function(e,t,r){var n=r(433),o=r(38).Buffer,c=r(302),h=r(434),f=r(131),d=r(229),l=r(230);function y(e,t,r){f.call(this),this._cache=new v,this._last=void 0,this._cipher=new d.AES(t),this._prev=o.from(r),this._mode=e,this._autopadding=!0}function v(){this.cache=o.allocUnsafe(0)}function m(e,t,r){var f=c[e.toLowerCase()];if(!f)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=o.from(r)),"GCM"!==f.mode&&r.length!==f.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=o.from(t)),t.length!==f.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===f.type?new h(f.module,t,r,!0):"auth"===f.type?new n(f.module,t,r,!0):new y(f.module,t,r)}r(33)(y,f),y.prototype._update=function(data){var e,t;this._cache.add(data);for(var r=[];e=this._cache.get(this._autopadding);)t=this._mode.decrypt(this,e),r.push(t);return o.concat(r)},y.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var i=-1;for(;++i<t;)if(e[i+(16-t)]!==t)throw new Error("unable to decrypt data");if(16===t)return;return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},y.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},v.prototype.add=function(data){this.cache=o.concat([this.cache,data])},v.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},v.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var r=c[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=l(t,!1,r.key,r.iv);return m(e,n.key,n.iv)},t.createDecipheriv=m},746:function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},754:function(e,t,r){var n=r(304).Buffer,o=r(185),c=r(406),h=r(33),f=r(755),d=r(786),l=r(422);function y(e){c.Writable.call(this);var data=l[e];if(!data)throw new Error("Unknown message digest");this._hashType=data.hash,this._hash=o(data.hash),this._tag=data.id,this._signType=data.sign}function v(e){c.Writable.call(this);var data=l[e];if(!data)throw new Error("Unknown message digest");this._hash=o(data.hash),this._tag=data.id,this._signType=data.sign}function m(e){return new y(e)}function _(e){return new v(e)}Object.keys(l).forEach((function(e){l[e].id=n.from(l[e].id,"hex"),l[e.toLowerCase()]=l[e]})),h(y,c.Writable),y.prototype._write=function(data,e,t){this._hash.update(data),t()},y.prototype.update=function(data,e){return"string"==typeof data&&(data=n.from(data,e)),this._hash.update(data),this},y.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},h(v,c.Writable),v.prototype._write=function(data,e,t){this._hash.update(data),t()},v.prototype.update=function(data,e){return"string"==typeof data&&(data=n.from(data,e)),this._hash.update(data),this},v.prototype.verify=function(e,t,r){"string"==typeof t&&(t=n.from(t,r)),this.end();var o=this._hash.digest();return d(t,o,e,this._signType,this._tag)},e.exports={Sign:m,Verify:_,createSign:m,createVerify:_}},755:function(e,t,r){var n=r(304).Buffer,o=r(420),c=r(305),h=r(307).ec,f=r(306),d=r(232),l=r(449);function y(e,q,t,r){if((e=n.from(e.toArray())).length<q.byteLength()){var c=n.alloc(q.byteLength()-e.length);e=n.concat([c,e])}var h=t.length,f=function(e,q){e=(e=v(e,q)).mod(q);var t=n.from(e.toArray());if(t.length<q.byteLength()){var r=n.alloc(q.byteLength()-t.length);t=n.concat([r,t])}return t}(t,q),d=n.alloc(h);d.fill(1);var l=n.alloc(h);return l=o(r,l).update(d).update(n.from([0])).update(e).update(f).digest(),d=o(r,l).update(d).digest(),{k:l=o(r,l).update(d).update(n.from([1])).update(e).update(f).digest(),v:d=o(r,l).update(d).digest()}}function v(e,q){var t=new f(e),r=(e.length<<3)-q.bitLength();return r>0&&t.ishrn(r),t}function m(q,e,t){var r,c;do{for(r=n.alloc(0);8*r.length<q.bitLength();)e.v=o(t,e.k).update(e.v).digest(),r=n.concat([r,e.v]);c=v(r,q),e.k=o(t,e.k).update(e.v).update(n.from([0])).digest(),e.v=o(t,e.k).update(e.v).digest()}while(-1!==c.cmp(q));return c}function _(g,e,p,q){return g.toRed(f.mont(p)).redPow(e).fromRed().mod(q)}e.exports=function(e,t,r,o,w){var S=d(t);if(S.curve){if("ecdsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong private key type");return function(e,t){var r=l[t.curve.join(".")];if(!r)throw new Error("unknown curve "+t.curve.join("."));var o=new h(r).keyFromPrivate(t.privateKey).sign(e);return n.from(o.toDER())}(e,S)}if("dsa"===S.type){if("dsa"!==o)throw new Error("wrong private key type");return function(e,t,r){var o,c=t.params.priv_key,p=t.params.p,q=t.params.q,g=t.params.g,h=new f(0),d=v(e,q).mod(q),s=!1,l=y(c,q,e,r);for(;!1===s;)h=_(g,o=m(q,l,r),p,q),0===(s=o.invm(q).imul(d.add(c.mul(h))).mod(q)).cmpn(0)&&(s=!1,h=new f(0));return function(e,s){e=e.toArray(),s=s.toArray(),128&e[0]&&(e=[0].c
vendor: 1,786 bytes, line 2
2oncat(e));128&s[0]&&(s=[0].concat(s));var t=[48,e.length+s.length+4,2,e.length];return t=t.concat(e,[2,s.length],s),n.from(t)}(h,s)}(e,S,r)}if("rsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong private key type");e=n.concat([w,e]);for(var B=S.modulus.byteLength(),E=[0,1];e.length+E.length+1<B;)E.push(255);E.push(0);for(var i=-1;++i<e.length;)E.push(e[i]);return c(E,S)},e.exports.getKey=y,e.exports.makeKey=m},786:function(e,t,r){var n=r(304).Buffer,o=r(306),c=r(307).ec,h=r(232),f=r(449);function d(b,q){if(b.cmpn(0)<=0)throw new Error("invalid sig");if(b.cmp(q)>=q)throw new Error("invalid sig")}e.exports=function(e,t,r,l,y){var v=h(r);if("ec"===v.type){if("ecdsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");return function(e,t,r){var n=f[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var o=new c(n),h=r.data.subjectPrivateKey.data;return o.verify(t,e,h)}(e,t,v)}if("dsa"===v.type){if("dsa"!==l)throw new Error("wrong public key type");return function(e,t,r){var p=r.data.p,q=r.data.q,g=r.data.g,n=r.data.pub_key,c=h.signature.decode(e,"der"),s=c.s,f=c.r;d(s,q),d(f,q);var l=o.mont(p),y=s.invm(q);return 0===g.toRed(l).redPow(new o(t).mul(y).mod(q)).fromRed().mul(n.toRed(l).redPow(f.mul(y).mod(q)).fromRed()).mod(p).mod(q).cmp(f)}(e,t,v)}if("rsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");t=n.concat([y,t]);for(var m=v.modulus.byteLength(),_=[1],w=0;t.length+_.length+2<m;)_.push(255),w++;_.push(0);for(var i=-1;++i<t.length;)_.push(t[i]);_=n.from(_);var S=o.mont(v.modulus);e=(e=new o(e).toRed(S)).redPow(new o(v.publicExponent)),e=n.from(e.fromRed().toArray());var B=w<8?1:0;for(m=Math.min(e.length,_.length),e.length!==_.length&&(B=1),i=-1;++i<m;)B|=e[i]^_[i];return 0===B}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.