2 lines
2.7 KiB
JavaScript
2 lines
2.7 KiB
JavaScript
import{A as E}from"./index-CV-n4caa.js";const z="/assets/logo-Bsvp36gZ.png";var T={exports:{}},F={exports:{}};(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a={rotl:function(r,t){return r<<t|r>>>32-t},rotr:function(r,t){return r<<32-t|r>>>t},endian:function(r){if(r.constructor==Number)return a.rotl(r,8)&16711935|a.rotl(r,24)&4278255360;for(var t=0;t<r.length;t++)r[t]=a.endian(r[t]);return r},randomBytes:function(r){for(var t=[];r>0;r--)t.push(Math.floor(Math.random()*256));return t},bytesToWords:function(r){for(var t=[],n=0,o=0;n<r.length;n++,o+=8)t[o>>>5]|=r[n]<<24-o%32;return t},wordsToBytes:function(r){for(var t=[],n=0;n<r.length*32;n+=8)t.push(r[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(r){for(var t=[],n=0;n<r.length;n++)t.push((r[n]>>>4).toString(16)),t.push((r[n]&15).toString(16));return t.join("")},hexToBytes:function(r){for(var t=[],n=0;n<r.length;n+=2)t.push(parseInt(r.substr(n,2),16));return t},bytesToBase64:function(r){for(var t=[],n=0;n<r.length;n+=3)for(var o=r[n]<<16|r[n+1]<<8|r[n+2],u=0;u<4;u++)n*8+u*6<=r.length*8?t.push(e.charAt(o>>>6*(3-u)&63)):t.push("=");return t.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/ig,"");for(var t=[],n=0,o=0;n<r.length;o=++n%4)o!=0&&t.push((e.indexOf(r.charAt(n-1))&Math.pow(2,-2*o+8)-1)<<o*2|e.indexOf(r.charAt(n))>>>6-o*2);return t}};F.exports=a})();var I=F.exports,x={utf8:{stringToBytes:function(e){return x.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(x.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var a=[],r=0;r<e.length;r++)a.push(e.charCodeAt(r)&255);return a},bytesToString:function(e){for(var a=[],r=0;r<e.length;r++)a.push(String.fromCharCode(e[r]));return a.join("")}}},B=x;(function(){var e=I,a=B.utf8,r=B.bin,t=function(o){o.constructor==String?o=a.stringToBytes(o):typeof Buffer<"u"&&typeof Buffer.isBuffer=="function"&&Buffer.isBuffer(o)?o=Array.prototype.slice.call(o,0):Array.isArray(o)||(o=o.toString());var u=e.bytesToWords(o),i=o.length*8,h=[],l=1732584193,c=-271733879,s=-1732584194,p=271733878,v=-1009589776;u[i>>5]|=128<<24-i%32,u[(i+64>>>9<<4)+15]=i;for(var g=0;g<u.length;g+=16){for(var d=l,S=c,A=s,H=p,C=v,f=0;f<80;f++){if(f<16)h[f]=u[g+f];else{var y=h[f-3]^h[f-8]^h[f-14]^h[f-16];h[f]=y<<1|y>>>31}var _=(l<<5|l>>>27)+v+(h[f]>>>0)+(f<20?(c&s|~c&p)+1518500249:f<40?(c^s^p)+1859775393:f<60?(c&s|c&p|s&p)-1894007588:(c^s^p)-899497514);v=p,p=s,s=c<<30|c>>>2,c=l,l=_}l+=d,c+=S,s+=A,p+=H,v+=C}return[l,c,s,p,v]},n=function(o,u){var i=e.wordsToBytes(t(o));return u&&u.asBytes?i:u&&u.asString?r.bytesToString(i):e.bytesToHex(i)};n._blocksize=16,n._digestsize=20,T.exports=n})();var M=T.exports;const O=E(M);export{z as _,O as s};
|