filesbox/web/dist/design/designstatic/home/js/ase.min.js

2 lines
14 KiB
JavaScript
Raw Permalink Normal View History

2024-07-26 06:10:54 +00:00
(function(u,o){typeof exports=="object"?module.exports=exports=o():typeof define=="function"&&define.amd?define([],o):u.CryptoJS=o()})(this,function(){var u=u||function(o,S){var k=Object.create||function(){function r(){}return function(c){var h;return r.prototype=c,h=new r,r.prototype=null,h}}(),M={},g=M.lib={},C=g.Base=function(){return{extend:function(r){var c=k(this);return r&&c.mixIn(r),c.hasOwnProperty("init")&&this.init!==c.init||(c.init=function(){c.$super.init.apply(this,arguments)}),c.init.prototype=c,c.$super=this,c},create:function(){var r=this.extend();return r.init.apply(r,arguments),r},init:function(){},mixIn:function(r){for(var c in r)r.hasOwnProperty(c)&&(this[c]=r[c]);r.hasOwnProperty("toString")&&(this.toString=r.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),v=g.WordArray=C.extend({init:function(r,c){r=this.words=r||[],c!=S?this.sigBytes=c:this.sigBytes=4*r.length},toString:function(r){return(r||z).stringify(this)},concat:function(r){var c=this.words,h=r.words,n=this.sigBytes,f=r.sigBytes;if(this.clamp(),n%4)for(var s=0;s<f;s++){var y=h[s>>>2]>>>24-s%4*8&255;c[n+s>>>2]|=y<<24-(n+s)%4*8}else for(var s=0;s<f;s+=4)c[n+s>>>2]=h[s>>>2];return this.sigBytes+=f,this},clamp:function(){var r=this.words,c=this.sigBytes;r[c>>>2]&=4294967295<<32-c%4*8,r.length=o.ceil(c/4)},clone:function(){var r=C.clone.call(this);return r.words=this.words.slice(0),r},random:function(r){for(var c,h=[],n=function(y){var y=y,x=987654321,w=4294967295;return function(){x=36969*(65535&x)+(x>>16)&w,y=18e3*(65535&y)+(y>>16)&w;var _=(x<<16)+y&w;return _/=4294967296,_+=.5,_*(o.random()>.5?1:-1)}},f=0;f<r;f+=4){var s=n(4294967296*(c||o.random()));c=987654071*s(),h.push(4294967296*s()|0)}return new v.init(h,r)}}),d=M.enc={},z=d.Hex={stringify:function(r){for(var c=r.words,h=r.sigBytes,n=[],f=0;f<h;f++){var s=c[f>>>2]>>>24-f%4*8&255;n.push((s>>>4).toString(16)),n.push((15&s).toString(16))}return n.join("")},parse:function(r){for(var c=r.length,h=[],n=0;n<c;n+=2)h[n>>>3]|=parseInt(r.substr(n,2),16)<<24-n%8*4;return new v.init(h,c/2)}},m=d.Latin1={stringify:function(r){for(var c=r.words,h=r.sigBytes,n=[],f=0;f<h;f++){var s=c[f>>>2]>>>24-f%4*8&255;n.push(String.fromCharCode(s))}return n.join("")},parse:function(r){for(var c=r.length,h=[],n=0;n<c;n++)h[n>>>2]|=(255&r.charCodeAt(n))<<24-n%4*8;return new v.init(h,c)}},p=d.Utf8={stringify:function(r){try{return decodeURIComponent(escape(m.stringify(r)))}catch(c){throw new Error("Malformed UTF-8 data")}},parse:function(r){return m.parse(unescape(encodeURIComponent(r)))}},b=g.BufferedBlockAlgorithm=C.extend({reset:function(){this._data=new v.init,this._nDataBytes=0},_append:function(r){typeof r=="string"&&(r=p.parse(r)),this._data.concat(r),this._nDataBytes+=r.sigBytes},_process:function(r){var c=this._data,h=c.words,n=c.sigBytes,f=this.blockSize,s=4*f,y=n/s;y=r?o.ceil(y):o.max((0|y)-this._minBufferSize,0);var x=y*f,w=o.min(4*x,n);if(x){for(var _=0;_<x;_+=f)this._doProcessBlock(h,_);var e=h.splice(0,x);c.sigBytes-=w}return new v.init(e,w)},clone:function(){var r=C.clone.call(this);return r._data=this._data.clone(),r},_minBufferSize:0}),D=(g.Hasher=b.extend({cfg:C.extend(),init:function(r){this.cfg=this.cfg.extend(r),this.reset()},reset:function(){b.reset.call(this),this._doReset()},update:function(r){return this._append(r),this._process(),this},finalize:function(r){r&&this._append(r);var c=this._doFinalize();return c},blockSize:16,_createHelper:function(r){return function(c,h){return new r.init(h).finalize(c)}},_createHmacHelper:function(r){return function(c,h){return new D.HMAC.init(r,h).finalize(c)}}}),M.algo={});return M}(Math);return u}),function(u,o,S){typeof exports=="object"?module.exports=exports=o(require("./core.min"),require("./sha1.min"),require("./hmac.min")):typeof define=="function"&&define.amd?define(["./core.min","./sha1.min","./hmac.min"],o):o(u.CryptoJS)}(this,function(u){return function(){var o=u,S=o.lib,k=S.Base,M=S.WordArray,g=o.algo,C=g.MD5,v=g.EvpKDF=k.extend({cfg:k.extend({keySize:4,hasher:C,iterations:1}),init:function(d){this.cfg=this.cfg.extend(d)