mirror of https://github.com/allinssl/allinssl
2 lines
7.7 KiB
JavaScript
2 lines
7.7 KiB
JavaScript
var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function n(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if("function"==typeof e){var n=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})})),n}var r={exports:{}};var i={exports:{}};const o=n(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var s;function a(){return s||(s=1,i.exports=(e=e||function(e,n){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==t&&t.crypto&&(r=t.crypto),!r)try{r=o}catch(v){}var i=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(v){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(v){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),a={},c=a.lib={},u=c.Base=function(){return{extend:function(t){var e=s(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=c.WordArray=u.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=e!=n?e:4*t.length},toString:function(t){return(t||p).stringify(this)},concat:function(t){var e=this.words,n=t.words,r=this.sigBytes,i=t.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var s=n[o>>>2]>>>24-o%4*8&255;e[r+o>>>2]|=s<<24-(r+o)%4*8}else for(var a=0;a<i;a+=4)e[r+a>>>2]=n[a>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var t=u.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n<t;n+=4)e.push(i());return new f.init(e,t)}}),l=a.enc={},p=l.Hex={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var o=e[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new f.init(n,e/2)}},h=l.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var o=e[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r++)n[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new f.init(n,e)}},d=l.Utf8={stringify:function(t){try{return decodeURIComponent(escape(h.stringify(t)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(t){return h.parse(unescape(encodeURIComponent(t)))}},y=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=d.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,s=this.blockSize,a=o/(4*s),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,u=e.min(4*c,o);if(c){for(var l=0;l<c;l+=s)this._doProcessBlock(i,l);n=i.splice(0,c),r.sigBytes-=u}return new f.init(n,u)},clone:function(){var t=u.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});c.Hasher=y.extend({cfg:u.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){y.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,n){return new t.init(n).finalize(e)}},_createHmacHelper:function(t){return function(e,n){return new g.HMAC.init(t,n).finalize(e)}}});var g=a.algo={};return a}(Math),e)),i.exports;var e}var c,u;const f=e(c?r.exports:(c=1,r.exports=(u=a(),function(t){var e=u,n=e.lib,r=n.WordArray,i=n.Hasher,o=e.algo,s=[];!function(){for(var e=0;e<64;e++)s[e]=4294967296*t.abs(t.sin(e+1))|0}();var a=o.MD5=i.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var n=0;n<16;n++){var r=e+n,i=t[r];t[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=t[e+0],u=t[e+1],h=t[e+2],d=t[e+3],y=t[e+4],g=t[e+5],v=t[e+6],w=t[e+7],_=t[e+8],m=t[e+9],b=t[e+10],B=t[e+11],x=t[e+12],O=t[e+13],S=t[e+14],M=t[e+15],j=o[0],H=o[1],P=o[2],z=o[3];j=c(j,H,P,z,a,7,s[0]),z=c(z,j,H,P,u,12,s[1]),P=c(P,z,j,H,h,17,s[2]),H=c(H,P,z,j,d,22,s[3]),j=c(j,H,P,z,y,7,s[4]),z=c(z,j,H,P,g,12,s[5]),P=c(P,z,j,H,v,17,s[6]),H=c(H,P,z,j,w,22,s[7]),j=c(j,H,P,z,_,7,s[8]),z=c(z,j,H,P,m,12,s[9]),P=c(P,z,j,H,b,17,s[10]),H=c(H,P,z,j,B,22,s[11]),j=c(j,H,P,z,x,7,s[12]),z=c(z,j,H,P,O,12,s[13]),P=c(P,z,j,H,S,17,s[14]),j=f(j,H=c(H,P,z,j,M,22,s[15]),P,z,u,5,s[16]),z=f(z,j,H,P,v,9,s[17]),P=f(P,z,j,H,B,14,s[18]),H=f(H,P,z,j,a,20,s[19]),j=f(j,H,P,z,g,5,s[20]),z=f(z,j,H,P,b,9,s[21]),P=f(P,z,j,H,M,14,s[22]),H=f(H,P,z,j,y,20,s[23]),j=f(j,H,P,z,m,5,s[24]),z=f(z,j,H,P,S,9,s[25]),P=f(P,z,j,H,d,14,s[26]),H=f(H,P,z,j,_,20,s[27]),j=f(j,H,P,z,O,5,s[28]),z=f(z,j,H,P,h,9,s[29]),P=f(P,z,j,H,w,14,s[30]),j=l(j,H=f(H,P,z,j,x,20,s[31]),P,z,g,4,s[32]),z=l(z,j,H,P,_,11,s[33]),P=l(P,z,j,H,B,16,s[34]),H=l(H,P,z,j,S,23,s[35]),j=l(j,H,P,z,u,4,s[36]),z=l(z,j,H,P,y,11,s[37]),P=l(P,z,j,H,w,16,s[38]),H=l(H,P,z,j,b,23,s[39]),j=l(j,H,P,z,O,4,s[40]),z=l(z,j,H,P,a,11,s[41]),P=l(P,z,j,H,d,16,s[42]),H=l(H,P,z,j,v,23,s[43]),j=l(j,H,P,z,m,4,s[44]),z=l(z,j,H,P,x,11,s[45]),P=l(P,z,j,H,M,16,s[46]),j=p(j,H=l(H,P,z,j,h,23,s[47]),P,z,a,6,s[48]),z=p(z,j,H,P,w,10,s[49]),P=p(P,z,j,H,S,15,s[50]),H=p(H,P,z,j,g,21,s[51]),j=p(j,H,P,z,x,6,s[52]),z=p(z,j,H,P,d,10,s[53]),P=p(P,z,j,H,b,15,s[54]),H=p(H,P,z,j,u,21,s[55]),j=p(j,H,P,z,_,6,s[56]),z=p(z,j,H,P,M,10,s[57]),P=p(P,z,j,H,v,15,s[58]),H=p(H,P,z,j,O,21,s[59]),j=p(j,H,P,z,y,6,s[60]),z=p(z,j,H,P,B,10,s[61]),P=p(P,z,j,H,h,15,s[62]),H=p(H,P,z,j,m,21,s[63]),o[0]=o[0]+j|0,o[1]=o[1]+H|0,o[2]=o[2]+P|0,o[3]=o[3]+z|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;n[i>>>5]|=128<<24-i%32;var o=t.floor(r/4294967296),s=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,c=a.words,u=0;u<4;u++){var f=c[u];c[u]=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)}return a},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});function c(t,e,n,r,i,o,s){var a=t+(e&n|~e&r)+i+s;return(a<<o|a>>>32-o)+e}function f(t,e,n,r,i,o,s){var a=t+(e&r|n&~r)+i+s;return(a<<o|a>>>32-o)+e}function l(t,e,n,r,i,o,s){var a=t+(e^n^r)+i+s;return(a<<o|a>>>32-o)+e}function p(t,e,n,r,i,o,s){var a=t+(n^(e|~r))+i+s;return(a<<o|a>>>32-o)+e}e.MD5=i._createHelper(a),e.HmacMD5=i._createHmacHelper(a)}(Math),u.MD5)));export{f as m};
|