@hedystia/db 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +45 -44
- package/index.js +1 -1
- package/package.json +1 -1
- package/readme.md +9 -0
package/index.d.ts
CHANGED
|
@@ -1,44 +1,45 @@
|
|
|
1
|
-
interface Records {
|
|
2
|
-
[key: string]:
|
|
3
|
-
}
|
|
4
|
-
interface Table {
|
|
5
|
-
columns: string[];
|
|
6
|
-
records: Records[];
|
|
7
|
-
}
|
|
8
|
-
export default class DataBase {
|
|
9
|
-
private queue;
|
|
10
|
-
private password;
|
|
11
|
-
private filePath;
|
|
12
|
-
private tables;
|
|
13
|
-
constructor(filePath: string, password: string);
|
|
14
|
-
createTable(tableName: string, columns?: string[]): void;
|
|
15
|
-
createTableIfNotExists(tableName: string, columns: string[]): void;
|
|
16
|
-
deleteTable(tableName: string): void;
|
|
17
|
-
deleteTableIfExists(tableName: string): void;
|
|
18
|
-
addColumn(tableName: string, column: string, defaultValue
|
|
19
|
-
deleteColumn(tableName: string, column: string): void;
|
|
20
|
-
insert(tableName: string, record: {
|
|
21
|
-
[key: string]:
|
|
22
|
-
}): void;
|
|
23
|
-
update(tableName: string, query: {
|
|
24
|
-
[key: string]:
|
|
25
|
-
}, newData: {
|
|
26
|
-
[key: string]:
|
|
27
|
-
}): void;
|
|
28
|
-
select(tableName: string, query?: {
|
|
29
|
-
[key: string]:
|
|
30
|
-
}): Records[];
|
|
31
|
-
delete(tableName: string, query?: {
|
|
32
|
-
[key: string]:
|
|
33
|
-
}): void;
|
|
34
|
-
readTables(): {
|
|
35
|
-
[key: string]: Table;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
private
|
|
39
|
-
private
|
|
40
|
-
private
|
|
41
|
-
private
|
|
42
|
-
private
|
|
43
|
-
|
|
44
|
-
|
|
1
|
+
interface Records {
|
|
2
|
+
[key: string]: unknown;
|
|
3
|
+
}
|
|
4
|
+
interface Table {
|
|
5
|
+
columns: string[];
|
|
6
|
+
records: Records[];
|
|
7
|
+
}
|
|
8
|
+
export default class DataBase {
|
|
9
|
+
private queue;
|
|
10
|
+
private password;
|
|
11
|
+
private filePath;
|
|
12
|
+
private tables;
|
|
13
|
+
constructor(filePath: string, password: string);
|
|
14
|
+
createTable(tableName: string, columns?: string[]): void;
|
|
15
|
+
createTableIfNotExists(tableName: string, columns: string[]): void;
|
|
16
|
+
deleteTable(tableName: string): void;
|
|
17
|
+
deleteTableIfExists(tableName: string): void;
|
|
18
|
+
addColumn(tableName: string, column: string, defaultValue?: unknown): void;
|
|
19
|
+
deleteColumn(tableName: string, column: string): void;
|
|
20
|
+
insert(tableName: string, record: {
|
|
21
|
+
[key: string]: unknown;
|
|
22
|
+
}): void;
|
|
23
|
+
update(tableName: string, query: {
|
|
24
|
+
[key: string]: unknown;
|
|
25
|
+
}, newData: {
|
|
26
|
+
[key: string]: unknown;
|
|
27
|
+
}): void;
|
|
28
|
+
select(tableName: string, query?: {
|
|
29
|
+
[key: string]: unknown;
|
|
30
|
+
}): Records[];
|
|
31
|
+
delete(tableName: string, query?: {
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
}): void;
|
|
34
|
+
readTables(): {
|
|
35
|
+
[key: string]: Table;
|
|
36
|
+
};
|
|
37
|
+
dropAll(): void;
|
|
38
|
+
private processQueue;
|
|
39
|
+
private insertTable;
|
|
40
|
+
private updateTable;
|
|
41
|
+
private deleteFromTable;
|
|
42
|
+
private saveToFile;
|
|
43
|
+
private readFromFile;
|
|
44
|
+
}
|
|
45
|
+
export {};
|
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const{createRequire:sQ}=require("node:module");var dQ=Object.create,{defineProperty:K$,getPrototypeOf:fQ,getOwnPropertyNames:yQ}=Object,cQ=Object.prototype.hasOwnProperty,iQ=($,q,v)=>{v=null!=$?dQ(fQ($)):{};const R=!q&&$&&$.__esModule?v:K$(v,"default",{value:$,enumerable:!0});for(let I of yQ($))cQ.call(R,I)||K$(R,I,{get:()=>$[I],enumerable:!0});return R},h=($,q)=>()=>(q||$((q={exports:{}}).exports,q),q.exports),S=h((Rq,u$)=>{!function($,q){"object"==typeof Rq?u$.exports=Rq=q():"function"==typeof define&&define.amd?define([],q):$.CryptoJS=q()}(Rq,(function(){var $=$||function(q,v){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&&"undefined"!=typeof global&&global.crypto&&(R=global.crypto),!R)try{R=require("crypto")}catch(Z){}var I=function(){if(R){if("function"==typeof R.getRandomValues)try{return R.getRandomValues(new Uint32Array(1))[0]}catch(Z){}if("function"==typeof R.randomBytes)try{return R.randomBytes(4).readInt32LE()}catch(Z){}}throw new Error("Native crypto module could not be used to get secure random number.")},O=Object.create||function(){function Z(){}return function(F){var L;return Z.prototype=F,L=new Z,Z.prototype=null,L}}(),T={},Q=T.lib={},D=Q.Base={extend:function(Z){var F=O(this);return Z&&F.mixIn(Z),F.hasOwnProperty("init")&&this.init!==F.init||(F.init=function(){F.$super.init.apply(this,arguments)}),F.init.prototype=F,F.$super=this,F},create:function(){var Z=this.extend();return Z.init.apply(Z,arguments),Z},init:function(){},mixIn:function(Z){for(var F in Z)Z.hasOwnProperty(F)&&(this[F]=Z[F]);Z.hasOwnProperty("toString")&&(this.toString=Z.toString)},clone:function(){return this.init.prototype.extend(this)}},U=Q.WordArray=D.extend({init:function(Z,F){Z=this.words=Z||[],this.sigBytes=F!=v?F:4*Z.length},toString:function(Z){return(Z||P).stringify(this)},concat:function(Z){var F=this.words,L=Z.words,j=this.sigBytes,K=Z.sigBytes;if(this.clamp(),j%4)for(var u=0;u<K;u++){var M=L[u>>>2]>>>24-u%4*8&255;F[j+u>>>2]|=M<<24-(j+u)%4*8}else for(var B=0;B<K;B+=4)F[j+B>>>2]=L[B>>>2];return this.sigBytes+=K,this},clamp:function(){var Z=this.words,F=this.sigBytes;Z[F>>>2]&=4294967295<<32-F%4*8,Z.length=q.ceil(F/4)},clone:function(){var Z=D.clone.call(this);return Z.words=this.words.slice(0),Z},random:function(Z){for(var F=[],L=0;L<Z;L+=4)F.push(I());return new U.init(F,Z)}}),Y=T.enc={},P=Y.Hex={stringify:function(Z){for(var{words:F,sigBytes:L}=Z,j=[],K=0;K<L;K++){var u=F[K>>>2]>>>24-K%4*8&255;j.push((u>>>4).toString(16)),j.push((15&u).toString(16))}return j.join("")},parse:function(Z){for(var F=Z.length,L=[],j=0;j<F;j+=2)L[j>>>3]|=parseInt(Z.substr(j,2),16)<<24-j%8*4;return new U.init(L,F/2)}},E=Y.Latin1={stringify:function(Z){for(var{words:F,sigBytes:L}=Z,j=[],K=0;K<L;K++){var u=F[K>>>2]>>>24-K%4*8&255;j.push(String.fromCharCode(u))}return j.join("")},parse:function(Z){for(var F=Z.length,L=[],j=0;j<F;j++)L[j>>>2]|=(255&Z.charCodeAt(j))<<24-j%4*8;return new U.init(L,F)}},N=Y.Utf8={stringify:function(Z){try{return decodeURIComponent(escape(E.stringify(Z)))}catch(F){throw new Error("Malformed UTF-8 data")}},parse:function(Z){return E.parse(unescape(encodeURIComponent(Z)))}},V=Q.BufferedBlockAlgorithm=D.extend({reset:function(){this._data=new U.init,this._nDataBytes=0},_append:function(Z){"string"==typeof Z&&(Z=N.parse(Z)),this._data.concat(Z),this._nDataBytes+=Z.sigBytes},_process:function(Z){var F,L=this._data,j=L.words,K=L.sigBytes,u=this.blockSize,M,B=K/(4*u),b=(B=Z?q.ceil(B):q.max((0|B)-this._minBufferSize,0))*u,m=q.min(4*b,K);if(b){for(var J=0;J<b;J+=u)this._doProcessBlock(j,J);F=j.splice(0,b),L.sigBytes-=m}return new U.init(F,m)},clone:function(){var Z=D.clone.call(this);return Z._data=this._data.clone(),Z},_minBufferSize:0}),z=Q.Hasher=V.extend({cfg:D.extend(),init:function(Z){this.cfg=this.cfg.extend(Z),this.reset()},reset:function(){V.reset.call(this),this._doReset()},update:function(Z){return this._append(Z),this._process(),this},finalize:function(Z){var F;return Z&&this._append(Z),this._doFinalize()},blockSize:16,_createHelper:function(Z){return function(F,L){return new Z.init(L).finalize(F)}},_createHmacHelper:function(Z){return function(F,L){return new G.HMAC.init(Z,L).finalize(F)}}}),G=T.algo={};return T}(Math);return $}))}),Oq=h((vq,T$)=>{!function($,q){"object"==typeof vq?T$.exports=vq=q(S()):"function"==typeof define&&define.amd?define(["./core"],q):q($.CryptoJS)}(vq,(function($){return R=(v=$).lib,I=R.Base,O=R.WordArray,T=v.x64={},Q=T.Word=I.extend({init:function(U,Y){this.high=U,this.low=Y}}),D=T.WordArray=I.extend({init:function(U,Y){U=this.words=U||[],this.sigBytes=Y!=q?Y:8*U.length},toX32:function(){for(var U=this.words,Y=U.length,P=[],E=0;E<Y;E++){var N=U[E];P.push(N.high),P.push(N.low)}return O.create(P,this.sigBytes)},clone:function(){for(var U=I.clone.call(this),Y=U.words=this.words.slice(0),P=Y.length,E=0;E<P;E++)Y[E]=Y[E].clone();return U}}),$;var q,v,R,I,O,T,Q,D}))}),I$=h((Lq,J$)=>{!function($,q){"object"==typeof Lq?J$.exports=Lq=q(S()):"function"==typeof define&&define.amd?define(["./core"],q):q($.CryptoJS)}(Lq,(function($){return function(){if("function"==typeof ArrayBuffer){var q,v,R=$.lib.WordArray,I=R.init,O;(R.init=function(T){if(T instanceof ArrayBuffer&&(T=new Uint8Array(T)),(T instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&T instanceof Uint8ClampedArray||T instanceof Int16Array||T instanceof Uint16Array||T instanceof Int32Array||T instanceof Uint32Array||T instanceof Float32Array||T instanceof Float64Array)&&(T=new Uint8Array(T.buffer,T.byteOffset,T.byteLength)),T instanceof Uint8Array){for(var Q=T.byteLength,D=[],U=0;U<Q;U++)D[U>>>2]|=T[U]<<24-U%4*8;I.call(this,D,Q)}else I.apply(this,arguments)}).prototype=R}}(),$.lib.WordArray}))}),X$=h((Kq,A$)=>{!function($,q){"object"==typeof Kq?A$.exports=Kq=q(S()):"function"==typeof define&&define.amd?define(["./core"],q):q($.CryptoJS)}(Kq,(function($){return function(){var q=$,v,R=q.lib.WordArray,I=q.enc,O=I.Utf16=I.Utf16BE={stringify:function(Q){for(var{words:D,sigBytes:U}=Q,Y=[],P=0;P<U;P+=2){var E=D[P>>>2]>>>16-P%4*8&65535;Y.push(String.fromCharCode(E))}return Y.join("")},parse:function(Q){for(var D=Q.length,U=[],Y=0;Y<D;Y++)U[Y>>>1]|=Q.charCodeAt(Y)<<16-Y%2*16;return R.create(U,2*D)}};function T(Q){return Q<<8&4278255360|Q>>>8&16711935}I.Utf16LE={stringify:function(Q){for(var{words:D,sigBytes:U}=Q,Y=[],P=0;P<U;P+=2){var E=T(D[P>>>2]>>>16-P%4*8&65535);Y.push(String.fromCharCode(E))}return Y.join("")},parse:function(Q){for(var D=Q.length,U=[],Y=0;Y<D;Y++)U[Y>>>1]|=T(Q.charCodeAt(Y)<<16-Y%2*16);return R.create(U,2*D)}}}(),$.enc.Utf16}))}),qq=h((uq,w$)=>{!function($,q){"object"==typeof uq?w$.exports=uq=q(S()):"function"==typeof define&&define.amd?define(["./core"],q):q($.CryptoJS)}(uq,(function($){return function(){var q=$,v,R=q.lib.WordArray,I,O=q.enc.Base64={stringify:function(Q){var{words:D,sigBytes:U}=Q,Y=this._map;Q.clamp();for(var P=[],E=0;E<U;E+=3)for(var N,V,z,G=(D[E>>>2]>>>24-E%4*8&255)<<16|(D[E+1>>>2]>>>24-(E+1)%4*8&255)<<8|D[E+2>>>2]>>>24-(E+2)%4*8&255,Z=0;Z<4&&E+.75*Z<U;Z++)P.push(Y.charAt(G>>>6*(3-Z)&63));var F=Y.charAt(64);if(F)for(;P.length%4;)P.push(F);return P.join("")},parse:function(Q){var D=Q.length,U=this._map,Y=this._reverseMap;if(!Y){Y=this._reverseMap=[];for(var P=0;P<U.length;P++)Y[U.charCodeAt(P)]=P}var E=U.charAt(64);if(E){var N=Q.indexOf(E);-1!==N&&(D=N)}return T(Q,D,Y)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function T(Q,D,U){for(var Y=[],P=0,E=0;E<D;E++)if(E%4){var N,V,z=U[Q.charCodeAt(E-1)]<<E%4*2|U[Q.charCodeAt(E)]>>>6-E%4*2;Y[P>>>2]|=z<<24-P%4*8,P++}return R.create(Y,P)}}(),$.enc.Base64}))}),k$=h((Tq,H$)=>{!function($,q){"object"==typeof Tq?H$.exports=Tq=q(S()):"function"==typeof define&&define.amd?define(["./core"],q):q($.CryptoJS)}(Tq,(function($){return function(){var q=$,v,R=q.lib.WordArray,I,O=q.enc.Base64url={stringify:function(Q,D){void 0===D&&(D=!0);var{words:U,sigBytes:Y}=Q,P=D?this._safe_map:this._map;Q.clamp();for(var E=[],N=0;N<Y;N+=3)for(var V,z,G,Z=(U[N>>>2]>>>24-N%4*8&255)<<16|(U[N+1>>>2]>>>24-(N+1)%4*8&255)<<8|U[N+2>>>2]>>>24-(N+2)%4*8&255,F=0;F<4&&N+.75*F<Y;F++)E.push(P.charAt(Z>>>6*(3-F)&63));var L=P.charAt(64);if(L)for(;E.length%4;)E.push(L);return E.join("")},parse:function(Q,D){void 0===D&&(D=!0);var U=Q.length,Y=D?this._safe_map:this._map,P=this._reverseMap;if(!P){P=this._reverseMap=[];for(var E=0;E<Y.length;E++)P[Y.charCodeAt(E)]=E}var N=Y.charAt(64);if(N){var V=Q.indexOf(N);-1!==V&&(U=V)}return T(Q,U,P)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function T(Q,D,U){for(var Y=[],P=0,E=0;E<D;E++)if(E%4){var N,V,z=U[Q.charCodeAt(E-1)]<<E%4*2|U[Q.charCodeAt(E)]>>>6-E%4*2;Y[P>>>2]|=z<<24-P%4*8,P++}return R.create(Y,P)}}(),$.enc.Base64url}))}),$q=h((Jq,B$)=>{!function($,q){"object"==typeof Jq?B$.exports=Jq=q(S()):"function"==typeof define&&define.amd?define(["./core"],q):q($.CryptoJS)}(Jq,(function($){return function(q){var v=$,R=v.lib,I=R.WordArray,O=R.Hasher,T=v.algo,Q=[];!function(){for(var N=0;N<64;N++)Q[N]=4294967296*q.abs(q.sin(N+1))|0}();var D=T.MD5=O.extend({_doReset:function(){this._hash=new I.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(N,V){for(var z=0;z<16;z++){var G=V+z,Z=N[G];N[G]=16711935&(Z<<8|Z>>>24)|4278255360&(Z<<24|Z>>>8)}var F=this._hash.words,L=N[V+0],j=N[V+1],K=N[V+2],u=N[V+3],M=N[V+4],B=N[V+5],b=N[V+6],m=N[V+7],J=N[V+8],W=N[V+9],g=N[V+10],H=N[V+11],_=N[V+12],x=N[V+13],n=N[V+14],l=N[V+15],A=F[0],w=F[1],k=F[2],X=F[3];A=U(A,w,k,X,L,7,Q[0]),X=U(X,A,w,k,j,12,Q[1]),k=U(k,X,A,w,K,17,Q[2]),w=U(w,k,X,A,u,22,Q[3]),A=U(A,w,k,X,M,7,Q[4]),X=U(X,A,w,k,B,12,Q[5]),k=U(k,X,A,w,b,17,Q[6]),w=U(w,k,X,A,m,22,Q[7]),A=U(A,w,k,X,J,7,Q[8]),X=U(X,A,w,k,W,12,Q[9]),k=U(k,X,A,w,g,17,Q[10]),w=U(w,k,X,A,H,22,Q[11]),A=U(A,w,k,X,_,7,Q[12]),X=U(X,A,w,k,x,12,Q[13]),k=U(k,X,A,w,n,17,Q[14]),A=Y(A,w=U(w,k,X,A,l,22,Q[15]),k,X,j,5,Q[16]),X=Y(X,A,w,k,b,9,Q[17]),k=Y(k,X,A,w,H,14,Q[18]),w=Y(w,k,X,A,L,20,Q[19]),A=Y(A,w,k,X,B,5,Q[20]),X=Y(X,A,w,k,g,9,Q[21]),k=Y(k,X,A,w,l,14,Q[22]),w=Y(w,k,X,A,M,20,Q[23]),A=Y(A,w,k,X,W,5,Q[24]),X=Y(X,A,w,k,n,9,Q[25]),k=Y(k,X,A,w,u,14,Q[26]),w=Y(w,k,X,A,J,20,Q[27]),A=Y(A,w,k,X,x,5,Q[28]),X=Y(X,A,w,k,K,9,Q[29]),k=Y(k,X,A,w,m,14,Q[30]),A=P(A,w=Y(w,k,X,A,_,20,Q[31]),k,X,B,4,Q[32]),X=P(X,A,w,k,J,11,Q[33]),k=P(k,X,A,w,H,16,Q[34]),w=P(w,k,X,A,n,23,Q[35]),A=P(A,w,k,X,j,4,Q[36]),X=P(X,A,w,k,M,11,Q[37]),k=P(k,X,A,w,m,16,Q[38]),w=P(w,k,X,A,g,23,Q[39]),A=P(A,w,k,X,x,4,Q[40]),X=P(X,A,w,k,L,11,Q[41]),k=P(k,X,A,w,u,16,Q[42]),w=P(w,k,X,A,b,23,Q[43]),A=P(A,w,k,X,W,4,Q[44]),X=P(X,A,w,k,_,11,Q[45]),k=P(k,X,A,w,l,16,Q[46]),A=E(A,w=P(w,k,X,A,K,23,Q[47]),k,X,L,6,Q[48]),X=E(X,A,w,k,m,10,Q[49]),k=E(k,X,A,w,n,15,Q[50]),w=E(w,k,X,A,B,21,Q[51]),A=E(A,w,k,X,_,6,Q[52]),X=E(X,A,w,k,u,10,Q[53]),k=E(k,X,A,w,g,15,Q[54]),w=E(w,k,X,A,j,21,Q[55]),A=E(A,w,k,X,J,6,Q[56]),X=E(X,A,w,k,l,10,Q[57]),k=E(k,X,A,w,b,15,Q[58]),w=E(w,k,X,A,x,21,Q[59]),A=E(A,w,k,X,M,6,Q[60]),X=E(X,A,w,k,H,10,Q[61]),k=E(k,X,A,w,K,15,Q[62]),w=E(w,k,X,A,W,21,Q[63]),F[0]=F[0]+A|0,F[1]=F[1]+w|0,F[2]=F[2]+k|0,F[3]=F[3]+X|0},_doFinalize:function(){var N=this._data,V=N.words,z=8*this._nDataBytes,G=8*N.sigBytes;V[G>>>5]|=128<<24-G%32;var Z=q.floor(z/4294967296),F=z;V[15+(G+64>>>9<<4)]=16711935&(Z<<8|Z>>>24)|4278255360&(Z<<24|Z>>>8),V[14+(G+64>>>9<<4)]=16711935&(F<<8|F>>>24)|4278255360&(F<<24|F>>>8),N.sigBytes=4*(V.length+1),this._process();for(var L=this._hash,j=L.words,K=0;K<4;K++){var u=j[K];j[K]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return L},clone:function(){var N=O.clone.call(this);return N._hash=this._hash.clone(),N}});function U(N,V,z,G,Z,F,L){var j=N+(V&z|~V&G)+Z+L;return(j<<F|j>>>32-F)+V}function Y(N,V,z,G,Z,F,L){var j=N+(V&G|z&~G)+Z+L;return(j<<F|j>>>32-F)+V}function P(N,V,z,G,Z,F,L){var j=N+(V^z^G)+Z+L;return(j<<F|j>>>32-F)+V}function E(N,V,z,G,Z,F,L){var j=N+(z^(V|~G))+Z+L;return(j<<F|j>>>32-F)+V}v.MD5=O._createHelper(D),v.HmacMD5=O._createHmacHelper(D)}(Math),$.MD5}))}),Z$=h((Iq,W$)=>{!function($,q){"object"==typeof Iq?W$.exports=Iq=q(S()):"function"==typeof define&&define.amd?define(["./core"],q):q($.CryptoJS)}(Iq,(function($){return v=(q=$).lib,R=v.WordArray,I=v.Hasher,O=q.algo,T=[],Q=O.SHA1=I.extend({_doReset:function(){this._hash=new R.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(D,U){for(var Y=this._hash.words,P=Y[0],E=Y[1],N=Y[2],V=Y[3],z=Y[4],G=0;G<80;G++){if(G<16)T[G]=0|D[U+G];else{var Z=T[G-3]^T[G-8]^T[G-14]^T[G-16];T[G]=Z<<1|Z>>>31}var F=(P<<5|P>>>27)+z+T[G];F+=G<20?1518500249+(E&N|~E&V):G<40?1859775393+(E^N^V):G<60?(E&N|E&V|N&V)-1894007588:(E^N^V)-899497514,z=V,V=N,N=E<<30|E>>>2,E=P,P=F}Y[0]=Y[0]+P|0,Y[1]=Y[1]+E|0,Y[2]=Y[2]+N|0,Y[3]=Y[3]+V|0,Y[4]=Y[4]+z|0},_doFinalize:function(){var D=this._data,U=D.words,Y=8*this._nDataBytes,P=8*D.sigBytes;return U[P>>>5]|=128<<24-P%32,U[14+(P+64>>>9<<4)]=Math.floor(Y/4294967296),U[15+(P+64>>>9<<4)]=Y,D.sigBytes=4*U.length,this._process(),this._hash},clone:function(){var D=I.clone.call(this);return D._hash=this._hash.clone(),D}}),q.SHA1=I._createHelper(Q),q.HmacSHA1=I._createHmacHelper(Q),$.SHA1;var q,v,R,I,O,T,Q}))}),Xq=h((Aq,M$)=>{!function($,q){"object"==typeof Aq?M$.exports=Aq=q(S()):"function"==typeof define&&define.amd?define(["./core"],q):q($.CryptoJS)}(Aq,(function($){return function(q){var v=$,R=v.lib,I=R.WordArray,O=R.Hasher,T=v.algo,Q=[],D=[];!function(){function P(z){for(var G=q.sqrt(z),Z=2;Z<=G;Z++)if(!(z%Z))return!1;return!0}function E(z){return 4294967296*(z-(0|z))|0}for(var N=2,V=0;V<64;)P(N)&&(V<8&&(Q[V]=E(q.pow(N,.5))),D[V]=E(q.pow(N,.3333333333333333)),V++),N++}();var U=[],Y=T.SHA256=O.extend({_doReset:function(){this._hash=new I.init(Q.slice(0))},_doProcessBlock:function(P,E){for(var N=this._hash.words,V=N[0],z=N[1],G=N[2],Z=N[3],F=N[4],L=N[5],j=N[6],K=N[7],u=0;u<64;u++){if(u<16)U[u]=0|P[E+u];else{var M=U[u-15],B=(M<<25|M>>>7)^(M<<14|M>>>18)^M>>>3,b=U[u-2],m=(b<<15|b>>>17)^(b<<13|b>>>19)^b>>>10;U[u]=B+U[u-7]+m+U[u-16]}var J,W=V&z^V&G^z&G,g=(V<<30|V>>>2)^(V<<19|V>>>13)^(V<<10|V>>>22),H,_=K+((F<<26|F>>>6)^(F<<21|F>>>11)^(F<<7|F>>>25))+(F&L^~F&j)+D[u]+U[u],x;K=j,j=L,L=F,F=Z+_|0,Z=G,G=z,z=V,V=_+(g+W)|0}N[0]=N[0]+V|0,N[1]=N[1]+z|0,N[2]=N[2]+G|0,N[3]=N[3]+Z|0,N[4]=N[4]+F|0,N[5]=N[5]+L|0,N[6]=N[6]+j|0,N[7]=N[7]+K|0},_doFinalize:function(){var P=this._data,E=P.words,N=8*this._nDataBytes,V=8*P.sigBytes;return E[V>>>5]|=128<<24-V%32,E[14+(V+64>>>9<<4)]=q.floor(N/4294967296),E[15+(V+64>>>9<<4)]=N,P.sigBytes=4*E.length,this._process(),this._hash},clone:function(){var P=O.clone.call(this);return P._hash=this._hash.clone(),P}});v.SHA256=O._createHelper(Y),v.HmacSHA256=O._createHmacHelper(Y)}(Math),$.SHA256}))}),g$=h((wq,b$)=>{!function($,q,v){"object"==typeof wq?b$.exports=wq=q(S(),Xq()):"function"==typeof define&&define.amd?define(["./core","./sha256"],q):q($.CryptoJS)}(wq,(function($){return R=(q=$).lib.WordArray,I=q.algo,O=I.SHA256,T=I.SHA224=O.extend({_doReset:function(){this._hash=new R.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var Q=O._doFinalize.call(this);return Q.sigBytes-=4,Q}}),q.SHA224=O._createHelper(T),q.HmacSHA224=O._createHmacHelper(T),$.SHA224;var q,v,R,I,O,T}))}),Y$=h((Hq,m$)=>{!function($,q,v){"object"==typeof Hq?m$.exports=Hq=q(S(),Oq()):"function"==typeof define&&define.amd?define(["./core","./x64-core"],q):q($.CryptoJS)}(Hq,(function($){return function(){var q=$,v,R=q.lib.Hasher,I=q.x64,O=I.Word,T=I.WordArray,Q=q.algo;function D(){return O.create.apply(O,arguments)}var U=[D(1116352408,3609767458),D(1899447441,602891725),D(3049323471,3964484399),D(3921009573,2173295548),D(961987163,4081628472),D(1508970993,3053834265),D(2453635748,2937671579),D(2870763221,3664609560),D(3624381080,2734883394),D(310598401,1164996542),D(607225278,1323610764),D(1426881987,3590304994),D(1925078388,4068182383),D(2162078206,991336113),D(2614888103,633803317),D(3248222580,3479774868),D(3835390401,2666613458),D(4022224774,944711139),D(264347078,2341262773),D(604807628,2007800933),D(770255983,1495990901),D(1249150122,1856431235),D(1555081692,3175218132),D(1996064986,2198950837),D(2554220882,3999719339),D(2821834349,766784016),D(2952996808,2566594879),D(3210313671,3203337956),D(3336571891,1034457026),D(3584528711,2466948901),D(113926993,3758326383),D(338241895,168717936),D(666307205,1188179964),D(773529912,1546045734),D(1294757372,1522805485),D(1396182291,2643833823),D(1695183700,2343527390),D(1986661051,1014477480),D(2177026350,1206759142),D(2456956037,344077627),D(2730485921,1290863460),D(2820302411,3158454273),D(3259730800,3505952657),D(3345764771,106217008),D(3516065817,3606008344),D(3600352804,1432725776),D(4094571909,1467031594),D(275423344,851169720),D(430227734,3100823752),D(506948616,1363258195),D(659060556,3750685593),D(883997877,3785050280),D(958139571,3318307427),D(1322822218,3812723403),D(1537002063,2003034995),D(1747873779,3602036899),D(1955562222,1575990012),D(2024104815,1125592928),D(2227730452,2716904306),D(2361852424,442776044),D(2428436474,593698344),D(2756734187,3733110249),D(3204031479,2999351573),D(3329325298,3815920427),D(3391569614,3928383900),D(3515267271,566280711),D(3940187606,3454069534),D(4118630271,4000239992),D(116418474,1914138554),D(174292421,2731055270),D(289380356,3203993006),D(460393269,320620315),D(685471733,587496836),D(852142971,1086792851),D(1017036298,365543100),D(1126000580,2618297676),D(1288033470,3409855158),D(1501505948,4234509866),D(1607167915,987167468),D(1816402316,1246189591)],Y=[];!function(){for(var E=0;E<80;E++)Y[E]=D()}();var P=Q.SHA512=R.extend({_doReset:function(){this._hash=new T.init([new O.init(1779033703,4089235720),new O.init(3144134277,2227873595),new O.init(1013904242,4271175723),new O.init(2773480762,1595750129),new O.init(1359893119,2917565137),new O.init(2600822924,725511199),new O.init(528734635,4215389547),new O.init(1541459225,327033209)])},_doProcessBlock:function(E,N){for(var V=this._hash.words,z=V[0],G=V[1],Z=V[2],F=V[3],L=V[4],j=V[5],K=V[6],u=V[7],M=z.high,B=z.low,b=G.high,m=G.low,J=Z.high,W=Z.low,g=F.high,H=F.low,_=L.high,x=L.low,n=j.high,l=j.low,A=K.high,w=K.low,k=u.high,X=u.low,d=M,p=B,y=b,C=m,Eq=J,Qq=W,q$=g,Fq=H,o=_,c=x,jq=n,Dq=l,zq=A,Vq=w,$$=k,Nq=X,a=0;a<80;a++){var s,t,Gq=Y[a];if(a<16)t=Gq.high=0|E[N+2*a],s=Gq.low=0|E[N+2*a+1];else{var D$=Y[a-15],Zq=D$.high,Pq=D$.low,WQ=(Zq>>>1|Pq<<31)^(Zq>>>8|Pq<<24)^Zq>>>7,V$=(Pq>>>1|Zq<<31)^(Pq>>>8|Zq<<24)^(Pq>>>7|Zq<<25),N$=Y[a-2],Yq=N$.high,Uq=N$.low,MQ=(Yq>>>19|Uq<<13)^(Yq<<3|Uq>>>29)^Yq>>>6,P$=(Uq>>>19|Yq<<13)^(Uq<<3|Yq>>>29)^(Uq>>>6|Yq<<26),U$=Y[a-7],bQ=U$.high,gQ=U$.low,O$=Y[a-16],mQ=O$.high,j$=O$.low;t=(t=(t=WQ+bQ+((s=V$+gQ)>>>0<V$>>>0?1:0))+MQ+((s+=P$)>>>0<P$>>>0?1:0))+mQ+((s+=j$)>>>0<j$>>>0?1:0),Gq.high=t,Gq.low=s}var xQ=o&jq^~o&zq,z$=c&Dq^~c&Vq,_Q=d&y^d&Eq^y&Eq,nQ=p&C^p&Qq^C&Qq,CQ=(d>>>28|p<<4)^(d<<30|p>>>2)^(d<<25|p>>>7),G$=(p>>>28|d<<4)^(p<<30|d>>>2)^(p<<25|d>>>7),hQ=(o>>>14|c<<18)^(o>>>18|c<<14)^(o<<23|c>>>9),SQ=(c>>>14|o<<18)^(c>>>18|o<<14)^(c<<23|o>>>9),R$=U[a],lQ=R$.high,v$=R$.low,i,e=$$+hQ+((i=Nq+SQ)>>>0<Nq>>>0?1:0),i,e,i,e,i,e,L$=G$+nQ,pQ;$$=zq,Nq=Vq,zq=jq,Vq=Dq,jq=o,Dq=c,o=q$+(e=(e=(e=e+xQ+((i=i+z$)>>>0<z$>>>0?1:0))+lQ+((i=i+v$)>>>0<v$>>>0?1:0))+t+((i=i+s)>>>0<s>>>0?1:0))+((c=Fq+i|0)>>>0<Fq>>>0?1:0)|0,q$=Eq,Fq=Qq,Eq=y,Qq=C,y=d,C=p,d=e+(CQ+_Q+(L$>>>0<G$>>>0?1:0))+((p=i+L$|0)>>>0<i>>>0?1:0)|0}B=z.low=B+p,z.high=M+d+(B>>>0<p>>>0?1:0),m=G.low=m+C,G.high=b+y+(m>>>0<C>>>0?1:0),W=Z.low=W+Qq,Z.high=J+Eq+(W>>>0<Qq>>>0?1:0),H=F.low=H+Fq,F.high=g+q$+(H>>>0<Fq>>>0?1:0),x=L.low=x+c,L.high=_+o+(x>>>0<c>>>0?1:0),l=j.low=l+Dq,j.high=n+jq+(l>>>0<Dq>>>0?1:0),w=K.low=w+Vq,K.high=A+zq+(w>>>0<Vq>>>0?1:0),X=u.low=X+Nq,u.high=k+$$+(X>>>0<Nq>>>0?1:0)},_doFinalize:function(){var E=this._data,N=E.words,V=8*this._nDataBytes,z=8*E.sigBytes,G;return N[z>>>5]|=128<<24-z%32,N[30+(z+128>>>10<<5)]=Math.floor(V/4294967296),N[31+(z+128>>>10<<5)]=V,E.sigBytes=4*N.length,this._process(),this._hash.toX32()},clone:function(){var E=R.clone.call(this);return E._hash=this._hash.clone(),E},blockSize:32});q.SHA512=R._createHelper(P),q.HmacSHA512=R._createHmacHelper(P)}(),$.SHA512}))}),_$=h((kq,x$)=>{!function($,q,v){"object"==typeof kq?x$.exports=kq=q(S(),Oq(),Y$()):"function"==typeof define&&define.amd?define(["./core","./x64-core","./sha512"],q):q($.CryptoJS)}(kq,(function($){return v=(q=$).x64,R=v.Word,I=v.WordArray,O=q.algo,T=O.SHA512,Q=O.SHA384=T.extend({_doReset:function(){this._hash=new I.init([new R.init(3418070365,3238371032),new R.init(1654270250,914150663),new R.init(2438529370,812702999),new R.init(355462360,4144912697),new R.init(1731405415,4290775857),new R.init(2394180231,1750603025),new R.init(3675008525,1694076839),new R.init(1203062813,3204075428)])},_doFinalize:function(){var D=T._doFinalize.call(this);return D.sigBytes-=16,D}}),q.SHA384=T._createHelper(Q),q.HmacSHA384=T._createHmacHelper(Q),$.SHA384;var q,v,R,I,O,T,Q}))}),C$=h((Bq,n$)=>{!function($,q,v){"object"==typeof Bq?n$.exports=Bq=q(S(),Oq()):"function"==typeof define&&define.amd?define(["./core","./x64-core"],q):q($.CryptoJS)}(Bq,(function($){return function(q){var v=$,R=v.lib,I=R.WordArray,O=R.Hasher,T,Q=v.x64.Word,D=v.algo,U=[],Y=[],P=[];!function(){for(var V=1,z=0,G=0;G<24;G++){U[V+5*z]=(G+1)*(G+2)/2%64;var Z,F=(2*V+3*z)%5;V=z%5,z=F}for(var V=0;V<5;V++)for(var z=0;z<5;z++)Y[V+5*z]=z+(2*V+3*z)%5*5;for(var L=1,j=0;j<24;j++){for(var K=0,u=0,M=0;M<7;M++){if(1&L){var B=(1<<M)-1;B<32?u^=1<<B:K^=1<<B-32}128&L?L=L<<1^113:L<<=1}P[j]=Q.create(K,u)}}();var E=[];!function(){for(var V=0;V<25;V++)E[V]=Q.create()}();var N=D.SHA3=O.extend({cfg:O.cfg.extend({outputLength:512}),_doReset:function(){for(var V=this._state=[],z=0;z<25;z++)V[z]=new Q.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(V,z){for(var G=this._state,Z=this.blockSize/2,F=0;F<Z;F++){var L=V[z+2*F],j=V[z+2*F+1],K;L=16711935&(L<<8|L>>>24)|4278255360&(L<<24|L>>>8),j=16711935&(j<<8|j>>>24)|4278255360&(j<<24|j>>>8),(K=G[F]).high^=j,K.low^=L}for(var u=0;u<24;u++){for(var M=0;M<5;M++){for(var B=0,b=0,m=0;m<5;m++){var K;B^=(K=G[M+5*m]).high,b^=K.low}var J=E[M];J.high=B,J.low=b}for(var M=0;M<5;M++)for(var W=E[(M+4)%5],g=E[(M+1)%5],H=g.high,_=g.low,B=W.high^(H<<1|_>>>31),b=W.low^(_<<1|H>>>31),m=0;m<5;m++){var K;(K=G[M+5*m]).high^=B,K.low^=b}for(var x=1;x<25;x++){var B,b,K,n=(K=G[x]).high,l=K.low,A=U[x];A<32?(B=n<<A|l>>>32-A,b=l<<A|n>>>32-A):(B=l<<A-32|n>>>64-A,b=n<<A-32|l>>>64-A);var w=E[Y[x]];w.high=B,w.low=b}var k=E[0],X=G[0];k.high=X.high,k.low=X.low;for(var M=0;M<5;M++)for(var m=0;m<5;m++){var x,K=G[x=M+5*m],d=E[x],p=E[(M+1)%5+5*m],y=E[(M+2)%5+5*m];K.high=d.high^~p.high&y.high,K.low=d.low^~p.low&y.low}var K=G[0],C=P[u];K.high^=C.high,K.low^=C.low}},_doFinalize:function(){var V=this._data,z=V.words,G=8*this._nDataBytes,Z=8*V.sigBytes,F=32*this.blockSize;z[Z>>>5]|=1<<24-Z%32,z[(q.ceil((Z+1)/F)*F>>>5)-1]|=128,V.sigBytes=4*z.length,this._process();for(var L=this._state,j=this.cfg.outputLength/8,K=j/8,u=[],M=0;M<K;M++){var B=L[M],b=B.high,m=B.low;b=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8),m=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8),u.push(m),u.push(b)}return new I.init(u,j)},clone:function(){for(var V=O.clone.call(this),z=V._state=this._state.slice(0),G=0;G<25;G++)z[G]=z[G].clone();return V}});v.SHA3=O._createHelper(N),v.HmacSHA3=O._createHmacHelper(N)}(Math),$.SHA3}))}),S$=h((Wq,h$)=>{!function($,q){"object"==typeof Wq?h$.exports=Wq=q(S()):"function"==typeof define&&define.amd?define(["./core"],q):q($.CryptoJS)}(Wq,(function($){return function(q){var v=$,R=v.lib,I=R.WordArray,O=R.Hasher,T=v.algo,Q=I.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),D=I.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),U=I.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),Y=I.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),P=I.create([0,1518500249,1859775393,2400959708,2840853838]),E=I.create([1352829926,1548603684,1836072691,2053994217,0]),N=T.RIPEMD160=O.extend({_doReset:function(){this._hash=I.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(j,K){for(var u=0;u<16;u++){var M=K+u,B=j[M];j[M]=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8)}var b=this._hash.words,m=P.words,J=E.words,W=Q.words,g=D.words,H=U.words,_=Y.words,x,n,l,A,w,k,X,d,p,y,C;k=x=b[0],X=n=b[1],d=l=b[2],p=A=b[3],y=w=b[4];for(var u=0;u<80;u+=1)C=x+j[K+W[u]]|0,C+=u<16?V(n,l,A)+m[0]:u<32?z(n,l,A)+m[1]:u<48?G(n,l,A)+m[2]:u<64?Z(n,l,A)+m[3]:F(n,l,A)+m[4],C=(C=L(C|=0,H[u]))+w|0,x=w,w=A,A=L(l,10),l=n,n=C,C=k+j[K+g[u]]|0,C+=u<16?F(X,d,p)+J[0]:u<32?Z(X,d,p)+J[1]:u<48?G(X,d,p)+J[2]:u<64?z(X,d,p)+J[3]:V(X,d,p)+J[4],C=(C=L(C|=0,_[u]))+y|0,k=y,y=p,p=L(d,10),d=X,X=C;C=b[1]+l+p|0,b[1]=b[2]+A+y|0,b[2]=b[3]+w+k|0,b[3]=b[4]+x+X|0,b[4]=b[0]+n+d|0,b[0]=C},_doFinalize:function(){var j=this._data,K=j.words,u=8*this._nDataBytes,M=8*j.sigBytes;K[M>>>5]|=128<<24-M%32,K[14+(M+64>>>9<<4)]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),j.sigBytes=4*(K.length+1),this._process();for(var B=this._hash,b=B.words,m=0;m<5;m++){var J=b[m];b[m]=16711935&(J<<8|J>>>24)|4278255360&(J<<24|J>>>8)}return B},clone:function(){var j=O.clone.call(this);return j._hash=this._hash.clone(),j}});function V(j,K,u){return j^K^u}function z(j,K,u){return j&K|~j&u}function G(j,K,u){return(j|~K)^u}function Z(j,K,u){return j&u|K&~u}function F(j,K,u){return j^(K|~u)}function L(j,K){return j<<K|j>>>32-K}v.RIPEMD160=O._createHelper(N),v.HmacRIPEMD160=O._createHmacHelper(N)}(Math),$.RIPEMD160}))}),bq=h((Mq,l$)=>{!function($,q){"object"==typeof Mq?l$.exports=Mq=q(S()):"function"==typeof define&&define.amd?define(["./core"],q):q($.CryptoJS)}(Mq,(function($){var q,v,R,I,O,T,Q;R=(q=$).lib.Base,O=q.enc.Utf8,Q=q.algo.HMAC=R.extend({init:function(D,U){D=this._hasher=new D.init,"string"==typeof U&&(U=O.parse(U));var Y=D.blockSize,P=4*Y;U.sigBytes>P&&(U=D.finalize(U)),U.clamp();for(var E=this._oKey=U.clone(),N=this._iKey=U.clone(),V=E.words,z=N.words,G=0;G<Y;G++)V[G]^=1549556828,z[G]^=909522486;E.sigBytes=N.sigBytes=P,this.reset()},reset:function(){var D=this._hasher;D.reset(),D.update(this._iKey)},update:function(D){return this._hasher.update(D),this},finalize:function(D){var U=this._hasher,Y=U.finalize(D),P;return U.reset(),U.finalize(this._oKey.clone().concat(Y))}})}))}),d$=h((gq,p$)=>{!function($,q,v){"object"==typeof gq?p$.exports=gq=q(S(),Xq(),bq()):"function"==typeof define&&define.amd?define(["./core","./sha256","./hmac"],q):q($.CryptoJS)}(gq,(function($){return v=(q=$).lib,R=v.Base,I=v.WordArray,O=q.algo,T=O.SHA256,Q=O.HMAC,D=O.PBKDF2=R.extend({cfg:R.extend({keySize:4,hasher:T,iterations:25e4}),init:function(U){this.cfg=this.cfg.extend(U)},compute:function(U,Y){for(var P=this.cfg,E=Q.create(P.hasher,U),N=I.create(),V=I.create([1]),z=N.words,G=V.words,Z=P.keySize,F=P.iterations;z.length<Z;){var L=E.update(Y).finalize(V);E.reset();for(var j=L.words,K=j.length,u=L,M=1;M<F;M++){u=E.finalize(u),E.reset();for(var B=u.words,b=0;b<K;b++)j[b]^=B[b]}N.concat(L),G[0]++}return N.sigBytes=4*Z,N}}),q.PBKDF2=function(U,Y,P){return D.create(P).compute(U,Y)},$.PBKDF2;var q,v,R,I,O,T,Q,D}))}),r=h((mq,f$)=>{!function($,q,v){"object"==typeof mq?f$.exports=mq=q(S(),Z$(),bq()):"function"==typeof define&&define.amd?define(["./core","./sha1","./hmac"],q):q($.CryptoJS)}(mq,(function($){return v=(q=$).lib,R=v.Base,I=v.WordArray,O=q.algo,T=O.MD5,Q=O.EvpKDF=R.extend({cfg:R.extend({keySize:4,hasher:T,iterations:1}),init:function(D){this.cfg=this.cfg.extend(D)},compute:function(D,U){for(var Y,P=this.cfg,E=P.hasher.create(),N=I.create(),V=N.words,z=P.keySize,G=P.iterations;V.length<z;){Y&&E.update(Y),Y=E.update(D).finalize(U),E.reset();for(var Z=1;Z<G;Z++)Y=E.finalize(Y),E.reset();N.concat(Y)}return N.sigBytes=4*z,N}}),q.EvpKDF=function(D,U,Y){return Q.create(Y).compute(D,U)},$.EvpKDF;var q,v,R,I,O,T,Q}))}),f=h((xq,y$)=>{!function($,q,v){"object"==typeof xq?y$.exports=xq=q(S(),r()):"function"==typeof define&&define.amd?define(["./core","./evpkdf"],q):q($.CryptoJS)}(xq,(function($){var q,v,R,I,O,T,Q,D,U,Y,P,E,N,V,z,G,Z,F,L,j,K,u,M,B,b,m;$.lib.Cipher||(R=(v=$).lib,I=R.Base,O=R.WordArray,T=R.BufferedBlockAlgorithm,Q=v.enc,D=Q.Utf8,U=Q.Base64,P=v.algo.EvpKDF,E=R.Cipher=T.extend({cfg:I.extend(),createEncryptor:function(J,W){return this.create(this._ENC_XFORM_MODE,J,W)},createDecryptor:function(J,W){return this.create(this._DEC_XFORM_MODE,J,W)},init:function(J,W,g){this.cfg=this.cfg.extend(g),this._xformMode=J,this._key=W,this.reset()},reset:function(){T.reset.call(this),this._doReset()},process:function(J){return this._append(J),this._process()},finalize:function(J){var W;return J&&this._append(J),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function J(W){return"string"==typeof W?m:M}return function(W){return{encrypt:function(g,H,_){return J(H).encrypt(W,g,H,_)},decrypt:function(g,H,_){return J(H).decrypt(W,g,H,_)}}}}()}),N=R.StreamCipher=E.extend({_doFinalize:function(){var J;return this._process(!0)},blockSize:1}),V=v.mode={},z=R.BlockCipherMode=I.extend({createEncryptor:function(J,W){return this.Encryptor.create(J,W)},createDecryptor:function(J,W){return this.Decryptor.create(J,W)},init:function(J,W){this._cipher=J,this._iv=W}}),G=V.CBC=function(){var J=z.extend();function W(g,H,_){var x,n=this._iv;n?(x=n,this._iv=q):x=this._prevBlock;for(var l=0;l<_;l++)g[H+l]^=x[l]}return J.Encryptor=J.extend({processBlock:function(g,H){var _=this._cipher,x=_.blockSize;W.call(this,g,H,x),_.encryptBlock(g,H),this._prevBlock=g.slice(H,H+x)}}),J.Decryptor=J.extend({processBlock:function(g,H){var _=this._cipher,x=_.blockSize,n=g.slice(H,H+x);_.decryptBlock(g,H),W.call(this,g,H,x),this._prevBlock=n}}),J}(),F=(v.pad={}).Pkcs7={pad:function(J,W){for(var g=4*W,H=g-J.sigBytes%g,_=H<<24|H<<16|H<<8|H,x=[],n=0;n<H;n+=4)x.push(_);var l=O.create(x,H);J.concat(l)},unpad:function(J){var W=255&J.words[J.sigBytes-1>>>2];J.sigBytes-=W}},L=R.BlockCipher=E.extend({cfg:E.cfg.extend({mode:G,padding:F}),reset:function(){var J;E.reset.call(this);var W=this.cfg,g=W.iv,H=W.mode;this._xformMode==this._ENC_XFORM_MODE?J=H.createEncryptor:(J=H.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==J?this._mode.init(this,g&&g.words):(this._mode=J.call(H,this,g&&g.words),this._mode.__creator=J)},_doProcessBlock:function(J,W){this._mode.processBlock(J,W)},_doFinalize:function(){var J,W=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(W.pad(this._data,this.blockSize),J=this._process(!0)):(J=this._process(!0),W.unpad(J)),J},blockSize:4}),j=R.CipherParams=I.extend({init:function(J){this.mixIn(J)},toString:function(J){return(J||this.formatter).stringify(this)}}),u=(v.format={}).OpenSSL={stringify:function(J){var W,g=J.ciphertext,H=J.salt;return(W=H?O.create([1398893684,1701076831]).concat(H).concat(g):g).toString(U)},parse:function(J){var W,g=U.parse(J),H=g.words;return 1398893684==H[0]&&1701076831==H[1]&&(W=O.create(H.slice(2,4)),H.splice(0,4),g.sigBytes-=16),j.create({ciphertext:g,salt:W})}},M=R.SerializableCipher=I.extend({cfg:I.extend({format:u}),encrypt:function(J,W,g,H){H=this.cfg.extend(H);var _=J.createEncryptor(g,H),x=_.finalize(W),n=_.cfg;return j.create({ciphertext:x,key:g,iv:n.iv,algorithm:J,mode:n.mode,padding:n.padding,blockSize:J.blockSize,formatter:H.format})},decrypt:function(J,W,g,H){var _;return H=this.cfg.extend(H),W=this._parse(W,H.format),J.createDecryptor(g,H).finalize(W.ciphertext)},_parse:function(J,W){return"string"==typeof J?W.parse(J,this):J}}),b=(v.kdf={}).OpenSSL={execute:function(J,W,g,H,_){if(H||(H=O.random(8)),_)var x=P.create({keySize:W+g,hasher:_}).compute(J,H);else var x=P.create({keySize:W+g}).compute(J,H);var n=O.create(x.words.slice(W),4*g);return x.sigBytes=4*W,j.create({key:x,iv:n,salt:H})}},m=R.PasswordBasedCipher=M.extend({cfg:M.cfg.extend({kdf:b}),encrypt:function(J,W,g,H){var _=(H=this.cfg.extend(H)).kdf.execute(g,J.keySize,J.ivSize,H.salt,H.hasher);H.iv=_.iv;var x=M.encrypt.call(this,J,W,_.key,H);return x.mixIn(_),x},decrypt:function(J,W,g,H){H=this.cfg.extend(H),W=this._parse(W,H.format);var _=H.kdf.execute(g,J.keySize,J.ivSize,W.salt,H.hasher),x;return H.iv=_.iv,M.decrypt.call(this,J,W,_.key,H)}}))}))}),i$=h((_q,c$)=>{!function($,q,v){"object"==typeof _q?c$.exports=_q=q(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],q):q($.CryptoJS)}(_q,(function($){return $.mode.CFB=function(){var q=$.lib.BlockCipherMode.extend();function v(R,I,O,T){var Q,D=this._iv;D?(Q=D.slice(0),this._iv=void 0):Q=this._prevBlock,T.encryptBlock(Q,0);for(var U=0;U<O;U++)R[I+U]^=Q[U]}return q.Encryptor=q.extend({processBlock:function(R,I){var O=this._cipher,T=O.blockSize;v.call(this,R,I,T,O),this._prevBlock=R.slice(I,I+T)}}),q.Decryptor=q.extend({processBlock:function(R,I){var O=this._cipher,T=O.blockSize,Q=R.slice(I,I+T);v.call(this,R,I,T,O),this._prevBlock=Q}}),q}(),$.mode.CFB}))}),o$=h((nq,s$)=>{!function($,q,v){"object"==typeof nq?s$.exports=nq=q(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],q):q($.CryptoJS)}(nq,(function($){return $.mode.CTR=(q=$.lib.BlockCipherMode.extend(),v=q.Encryptor=q.extend({processBlock:function(R,I){var O=this._cipher,T=O.blockSize,Q=this._iv,D=this._counter;Q&&(D=this._counter=Q.slice(0),this._iv=void 0);var U=D.slice(0);O.encryptBlock(U,0),D[T-1]=D[T-1]+1|0;for(var Y=0;Y<T;Y++)R[I+Y]^=U[Y]}}),q.Decryptor=v,q),$.mode.CTR;var q,v}))}),r$=h((Cq,a$)=>{!function($,q,v){"object"==typeof Cq?a$.exports=Cq=q(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],q):q($.CryptoJS)}(Cq,(function($){return $.mode.CTRGladman=function(){var q=$.lib.BlockCipherMode.extend();function v(O){if(255==(O>>24&255)){var T=O>>16&255,Q=O>>8&255,D=255&O;255===T?(T=0,255===Q?(Q=0,255===D?D=0:++D):++Q):++T,O=0,O+=T<<16,O+=Q<<8,O+=D}else O+=1<<24;return O}function R(O){return 0===(O[0]=v(O[0]))&&(O[1]=v(O[1])),O}var I=q.Encryptor=q.extend({processBlock:function(O,T){var Q=this._cipher,D=Q.blockSize,U=this._iv,Y=this._counter;U&&(Y=this._counter=U.slice(0),this._iv=void 0),R(Y);var P=Y.slice(0);Q.encryptBlock(P,0);for(var E=0;E<D;E++)O[T+E]^=P[E]}});return q.Decryptor=I,q}(),$.mode.CTRGladman}))}),e$=h((hq,t$)=>{!function($,q,v){"object"==typeof hq?t$.exports=hq=q(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],q):q($.CryptoJS)}(hq,(function($){return $.mode.OFB=(q=$.lib.BlockCipherMode.extend(),v=q.Encryptor=q.extend({processBlock:function(R,I){var O=this._cipher,T=O.blockSize,Q=this._iv,D=this._keystream;Q&&(D=this._keystream=Q.slice(0),this._iv=void 0),O.encryptBlock(D,0);for(var U=0;U<T;U++)R[I+U]^=D[U]}}),q.Decryptor=v,q),$.mode.OFB;var q,v}))}),$Q=h((Sq,qQ)=>{!function($,q,v){"object"==typeof Sq?qQ.exports=Sq=q(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],q):q($.CryptoJS)}(Sq,(function($){return $.mode.ECB=((q=$.lib.BlockCipherMode.extend()).Encryptor=q.extend({processBlock:function(v,R){this._cipher.encryptBlock(v,R)}}),q.Decryptor=q.extend({processBlock:function(v,R){this._cipher.decryptBlock(v,R)}}),q),$.mode.ECB;var q}))}),ZQ=h((lq,QQ)=>{!function($,q,v){"object"==typeof lq?QQ.exports=lq=q(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],q):q($.CryptoJS)}(lq,(function($){return $.pad.AnsiX923={pad:function(q,v){var R=q.sigBytes,I=4*v,O=I-R%I,T=R+O-1;q.clamp(),q.words[T>>>2]|=O<<24-T%4*8,q.sigBytes+=O},unpad:function(q){var v=255&q.words[q.sigBytes-1>>>2];q.sigBytes-=v}},$.pad.Ansix923}))}),EQ=h((pq,YQ)=>{!function($,q,v){"object"==typeof pq?YQ.exports=pq=q(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],q):q($.CryptoJS)}(pq,(function($){return $.pad.Iso10126={pad:function(q,v){var R=4*v,I=R-q.sigBytes%R;q.concat($.lib.WordArray.random(I-1)).concat($.lib.WordArray.create([I<<24],1))},unpad:function(q){var v=255&q.words[q.sigBytes-1>>>2];q.sigBytes-=v}},$.pad.Iso10126}))}),DQ=h((dq,FQ)=>{!function($,q,v){"object"==typeof dq?FQ.exports=dq=q(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],q):q($.CryptoJS)}(dq,(function($){return $.pad.Iso97971={pad:function(q,v){q.concat($.lib.WordArray.create([2147483648],1)),$.pad.ZeroPadding.pad(q,v)},unpad:function(q){$.pad.ZeroPadding.unpad(q),q.sigBytes--}},$.pad.Iso97971}))}),NQ=h((fq,VQ)=>{!function($,q,v){"object"==typeof fq?VQ.exports=fq=q(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],q):q($.CryptoJS)}(fq,(function($){return $.pad.ZeroPadding={pad:function(q,v){var R=4*v;q.clamp(),q.sigBytes+=R-(q.sigBytes%R||R)},unpad:function(q){for(var v=q.words,R=q.sigBytes-1,R=q.sigBytes-1;R>=0;R--)if(v[R>>>2]>>>24-R%4*8&255){q.sigBytes=R+1;break}}},$.pad.ZeroPadding}))}),UQ=h((yq,PQ)=>{!function($,q,v){"object"==typeof yq?PQ.exports=yq=q(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],q):q($.CryptoJS)}(yq,(function($){return $.pad.NoPadding={pad:function(){},unpad:function(){}},$.pad.NoPadding}))}),jQ=h((cq,OQ)=>{!function($,q,v){"object"==typeof cq?OQ.exports=cq=q(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],q):q($.CryptoJS)}(cq,(function($){return I=(v=$).lib.CipherParams,T=v.enc.Hex,D=v.format.Hex={stringify:function(U){return U.ciphertext.toString(T)},parse:function(U){var Y=T.parse(U);return I.create({ciphertext:Y})}},$.format.Hex;var q,v,R,I,O,T,Q,D}))}),GQ=h((iq,zQ)=>{!function($,q,v){"object"==typeof iq?zQ.exports=iq=q(S(),qq(),$q(),r(),f()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],q):q($.CryptoJS)}(iq,(function($){return function(){var q=$,v,R=q.lib.BlockCipher,I=q.algo,O=[],T=[],Q=[],D=[],U=[],Y=[],P=[],E=[],N=[],V=[];!function(){for(var Z=[],F=0;F<256;F++)Z[F]=F<128?F<<1:F<<1^283;for(var L=0,j=0,F=0;F<256;F++){var K=j^j<<1^j<<2^j<<3^j<<4;K=K>>>8^255&K^99,O[L]=K,T[K]=L;var u=Z[L],M=Z[u],B=Z[M],b=257*Z[K]^16843008*K;Q[L]=b<<24|b>>>8,D[L]=b<<16|b>>>16,U[L]=b<<8|b>>>24,Y[L]=b;var b=16843009*B^65537*M^257*u^16843008*L;P[K]=b<<24|b>>>8,E[K]=b<<16|b>>>16,N[K]=b<<8|b>>>24,V[K]=b,L?(L=u^Z[Z[Z[B^u]]],j^=Z[Z[j]]):L=j=1}}();var z=[0,1,2,4,8,16,32,64,128,27,54],G=I.AES=R.extend({_doReset:function(){var Z;if(!this._nRounds||this._keyPriorReset!==this._key){for(var F=this._keyPriorReset=this._key,L=F.words,j=F.sigBytes/4,K,u=4*((this._nRounds=j+6)+1),M=this._keySchedule=[],B=0;B<u;B++)B<j?M[B]=L[B]:(Z=M[B-1],B%j?j>6&&B%j==4&&(Z=O[Z>>>24]<<24|O[Z>>>16&255]<<16|O[Z>>>8&255]<<8|O[255&Z]):(Z=O[(Z=Z<<8|Z>>>24)>>>24]<<24|O[Z>>>16&255]<<16|O[Z>>>8&255]<<8|O[255&Z],Z^=z[B/j|0]<<24),M[B]=M[B-j]^Z);for(var b=this._invKeySchedule=[],m=0;m<u;m++){var B=u-m;if(m%4)var Z=M[B];else var Z=M[B-4];b[m]=m<4||B<=4?Z:P[O[Z>>>24]]^E[O[Z>>>16&255]]^N[O[Z>>>8&255]]^V[O[255&Z]]}}},encryptBlock:function(Z,F){this._doCryptBlock(Z,F,this._keySchedule,Q,D,U,Y,O)},decryptBlock:function(Z,F){var L=Z[F+1];Z[F+1]=Z[F+3],Z[F+3]=L,this._doCryptBlock(Z,F,this._invKeySchedule,P,E,N,V,T);var L=Z[F+1];Z[F+1]=Z[F+3],Z[F+3]=L},_doCryptBlock:function(Z,F,L,j,K,u,M,B){for(var b=this._nRounds,m=Z[F]^L[0],J=Z[F+1]^L[1],W=Z[F+2]^L[2],g=Z[F+3]^L[3],H=4,_=1;_<b;_++){var x=j[m>>>24]^K[J>>>16&255]^u[W>>>8&255]^M[255&g]^L[H++],n=j[J>>>24]^K[W>>>16&255]^u[g>>>8&255]^M[255&m]^L[H++],l=j[W>>>24]^K[g>>>16&255]^u[m>>>8&255]^M[255&J]^L[H++],A=j[g>>>24]^K[m>>>16&255]^u[J>>>8&255]^M[255&W]^L[H++];m=x,J=n,W=l,g=A}var x=(B[m>>>24]<<24|B[J>>>16&255]<<16|B[W>>>8&255]<<8|B[255&g])^L[H++],n=(B[J>>>24]<<24|B[W>>>16&255]<<16|B[g>>>8&255]<<8|B[255&m])^L[H++],l=(B[W>>>24]<<24|B[g>>>16&255]<<16|B[m>>>8&255]<<8|B[255&J])^L[H++],A=(B[g>>>24]<<24|B[m>>>16&255]<<16|B[J>>>8&255]<<8|B[255&W])^L[H++];Z[F]=x,Z[F+1]=n,Z[F+2]=l,Z[F+3]=A},keySize:8});q.AES=R._createHelper(G)}(),$.AES}))}),vQ=h((sq,RQ)=>{!function($,q,v){"object"==typeof sq?RQ.exports=sq=q(S(),qq(),$q(),r(),f()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],q):q($.CryptoJS)}(sq,(function($){return function(){var q=$,v=q.lib,R=v.WordArray,I=v.BlockCipher,O=q.algo,T=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],Q=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],D=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],U=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],Y=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],P=O.DES=I.extend({_doReset:function(){for(var z,G=this._key.words,Z=[],F=0;F<56;F++){var L=T[F]-1;Z[F]=G[L>>>5]>>>31-L%32&1}for(var j=this._subKeys=[],K=0;K<16;K++){for(var u=j[K]=[],M=D[K],F=0;F<24;F++)u[F/6|0]|=Z[(Q[F]-1+M)%28]<<31-F%6,u[4+(F/6|0)]|=Z[28+(Q[F+24]-1+M)%28]<<31-F%6;u[0]=u[0]<<1|u[0]>>>31;for(var F=1;F<7;F++)u[F]=u[F]>>>4*(F-1)+3;u[7]=u[7]<<5|u[7]>>>27}for(var B=this._invSubKeys=[],F=0;F<16;F++)B[F]=j[15-F]},encryptBlock:function(z,G){this._doCryptBlock(z,G,this._subKeys)},decryptBlock:function(z,G){this._doCryptBlock(z,G,this._invSubKeys)},_doCryptBlock:function(z,G,Z){this._lBlock=z[G],this._rBlock=z[G+1],E.call(this,4,252645135),E.call(this,16,65535),N.call(this,2,858993459),N.call(this,8,16711935),E.call(this,1,1431655765);for(var F=0;F<16;F++){for(var L=Z[F],j=this._lBlock,K=this._rBlock,u=0,M=0;M<8;M++)u|=U[M][((K^L[M])&Y[M])>>>0];this._lBlock=K,this._rBlock=j^u}var B=this._lBlock;this._lBlock=this._rBlock,this._rBlock=B,E.call(this,1,1431655765),N.call(this,8,16711935),N.call(this,2,858993459),E.call(this,16,65535),E.call(this,4,252645135),z[G]=this._lBlock,z[G+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function E(z,G){var Z=(this._lBlock>>>z^this._rBlock)&G;this._rBlock^=Z,this._lBlock^=Z<<z}function N(z,G){var Z=(this._rBlock>>>z^this._lBlock)&G;this._lBlock^=Z,this._rBlock^=Z<<z}q.DES=I._createHelper(P);var V=O.TripleDES=I.extend({_doReset:function(){var z,G=this._key.words;if(2!==G.length&&4!==G.length&&G.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var Z=G.slice(0,2),F=G.length<4?G.slice(0,2):G.slice(2,4),L=G.length<6?G.slice(0,2):G.slice(4,6);this._des1=P.createEncryptor(R.create(Z)),this._des2=P.createEncryptor(R.create(F)),this._des3=P.createEncryptor(R.create(L))},encryptBlock:function(z,G){this._des1.encryptBlock(z,G),this._des2.decryptBlock(z,G),this._des3.encryptBlock(z,G)},decryptBlock:function(z,G){this._des3.decryptBlock(z,G),this._des2.encryptBlock(z,G),this._des1.decryptBlock(z,G)},keySize:6,ivSize:2,blockSize:2});q.TripleDES=I._createHelper(V)}(),$.TripleDES}))}),KQ=h((oq,LQ)=>{!function($,q,v){"object"==typeof oq?LQ.exports=oq=q(S(),qq(),$q(),r(),f()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],q):q($.CryptoJS)}(oq,(function($){return function(){var q=$,v,R=q.lib.StreamCipher,I=q.algo,O=I.RC4=R.extend({_doReset:function(){for(var D=this._key,U=D.words,Y=D.sigBytes,P=this._S=[],E=0;E<256;E++)P[E]=E;for(var E=0,N=0;E<256;E++){var V=E%Y,z=U[V>>>2]>>>24-V%4*8&255;N=(N+P[E]+z)%256;var G=P[E];P[E]=P[N],P[N]=G}this._i=this._j=0},_doProcessBlock:function(D,U){D[U]^=T.call(this)},keySize:8,ivSize:0});function T(){for(var D=this._S,U=this._i,Y=this._j,P=0,E=0;E<4;E++){Y=(Y+D[U=(U+1)%256])%256;var N=D[U];D[U]=D[Y],D[Y]=N,P|=D[(D[U]+D[Y])%256]<<24-8*E}return this._i=U,this._j=Y,P}q.RC4=R._createHelper(O);var Q=I.RC4Drop=O.extend({cfg:O.cfg.extend({drop:192}),_doReset:function(){O._doReset.call(this);for(var D=this.cfg.drop;D>0;D--)T.call(this)}});q.RC4Drop=R._createHelper(Q)}(),$.RC4}))}),TQ=h((aq,uQ)=>{!function($,q,v){"object"==typeof aq?uQ.exports=aq=q(S(),qq(),$q(),r(),f()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],q):q($.CryptoJS)}(aq,(function($){return function(){var q=$,v,R=q.lib.StreamCipher,I=q.algo,O=[],T=[],Q=[],D=I.Rabbit=R.extend({_doReset:function(){for(var Y=this._key.words,P=this.cfg.iv,E=0;E<4;E++)Y[E]=16711935&(Y[E]<<8|Y[E]>>>24)|4278255360&(Y[E]<<24|Y[E]>>>8);var N=this._X=[Y[0],Y[3]<<16|Y[2]>>>16,Y[1],Y[0]<<16|Y[3]>>>16,Y[2],Y[1]<<16|Y[0]>>>16,Y[3],Y[2]<<16|Y[1]>>>16],V=this._C=[Y[2]<<16|Y[2]>>>16,4294901760&Y[0]|65535&Y[1],Y[3]<<16|Y[3]>>>16,4294901760&Y[1]|65535&Y[2],Y[0]<<16|Y[0]>>>16,4294901760&Y[2]|65535&Y[3],Y[1]<<16|Y[1]>>>16,4294901760&Y[3]|65535&Y[0]];this._b=0;for(var E=0;E<4;E++)U.call(this);for(var E=0;E<8;E++)V[E]^=N[E+4&7];if(P){var z=P.words,G=z[0],Z=z[1],F=16711935&(G<<8|G>>>24)|4278255360&(G<<24|G>>>8),L=16711935&(Z<<8|Z>>>24)|4278255360&(Z<<24|Z>>>8),j=F>>>16|4294901760&L,K=L<<16|65535&F;V[0]^=F,V[1]^=j,V[2]^=L,V[3]^=K,V[4]^=F,V[5]^=j,V[6]^=L,V[7]^=K;for(var E=0;E<4;E++)U.call(this)}},_doProcessBlock:function(Y,P){var E=this._X;U.call(this),O[0]=E[0]^E[5]>>>16^E[3]<<16,O[1]=E[2]^E[7]>>>16^E[5]<<16,O[2]=E[4]^E[1]>>>16^E[7]<<16,O[3]=E[6]^E[3]>>>16^E[1]<<16;for(var N=0;N<4;N++)O[N]=16711935&(O[N]<<8|O[N]>>>24)|4278255360&(O[N]<<24|O[N]>>>8),Y[P+N]^=O[N]},blockSize:4,ivSize:2});function U(){for(var Y=this._X,P=this._C,E=0;E<8;E++)T[E]=P[E];P[0]=P[0]+1295307597+this._b|0,P[1]=P[1]+3545052371+(P[0]>>>0<T[0]>>>0?1:0)|0,P[2]=P[2]+886263092+(P[1]>>>0<T[1]>>>0?1:0)|0,P[3]=P[3]+1295307597+(P[2]>>>0<T[2]>>>0?1:0)|0,P[4]=P[4]+3545052371+(P[3]>>>0<T[3]>>>0?1:0)|0,P[5]=P[5]+886263092+(P[4]>>>0<T[4]>>>0?1:0)|0,P[6]=P[6]+1295307597+(P[5]>>>0<T[5]>>>0?1:0)|0,P[7]=P[7]+3545052371+(P[6]>>>0<T[6]>>>0?1:0)|0,this._b=P[7]>>>0<T[7]>>>0?1:0;for(var E=0;E<8;E++){var N=Y[E]+P[E],V=65535&N,z=N>>>16,G=((V*V>>>17)+V*z>>>15)+z*z,Z=((4294901760&N)*N|0)+((65535&N)*N|0);Q[E]=G^Z}Y[0]=Q[0]+(Q[7]<<16|Q[7]>>>16)+(Q[6]<<16|Q[6]>>>16)|0,Y[1]=Q[1]+(Q[0]<<8|Q[0]>>>24)+Q[7]|0,Y[2]=Q[2]+(Q[1]<<16|Q[1]>>>16)+(Q[0]<<16|Q[0]>>>16)|0,Y[3]=Q[3]+(Q[2]<<8|Q[2]>>>24)+Q[1]|0,Y[4]=Q[4]+(Q[3]<<16|Q[3]>>>16)+(Q[2]<<16|Q[2]>>>16)|0,Y[5]=Q[5]+(Q[4]<<8|Q[4]>>>24)+Q[3]|0,Y[6]=Q[6]+(Q[5]<<16|Q[5]>>>16)+(Q[4]<<16|Q[4]>>>16)|0,Y[7]=Q[7]+(Q[6]<<8|Q[6]>>>24)+Q[5]|0}q.Rabbit=R._createHelper(D)}(),$.Rabbit}))}),IQ=h((rq,JQ)=>{!function($,q,v){"object"==typeof rq?JQ.exports=rq=q(S(),qq(),$q(),r(),f()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],q):q($.CryptoJS)}(rq,(function($){return function(){var q=$,v,R=q.lib.StreamCipher,I=q.algo,O=[],T=[],Q=[],D=I.RabbitLegacy=R.extend({_doReset:function(){var Y=this._key.words,P=this.cfg.iv,E=this._X=[Y[0],Y[3]<<16|Y[2]>>>16,Y[1],Y[0]<<16|Y[3]>>>16,Y[2],Y[1]<<16|Y[0]>>>16,Y[3],Y[2]<<16|Y[1]>>>16],N=this._C=[Y[2]<<16|Y[2]>>>16,4294901760&Y[0]|65535&Y[1],Y[3]<<16|Y[3]>>>16,4294901760&Y[1]|65535&Y[2],Y[0]<<16|Y[0]>>>16,4294901760&Y[2]|65535&Y[3],Y[1]<<16|Y[1]>>>16,4294901760&Y[3]|65535&Y[0]];this._b=0;for(var V=0;V<4;V++)U.call(this);for(var V=0;V<8;V++)N[V]^=E[V+4&7];if(P){var z=P.words,G=z[0],Z=z[1],F=16711935&(G<<8|G>>>24)|4278255360&(G<<24|G>>>8),L=16711935&(Z<<8|Z>>>24)|4278255360&(Z<<24|Z>>>8),j=F>>>16|4294901760&L,K=L<<16|65535&F;N[0]^=F,N[1]^=j,N[2]^=L,N[3]^=K,N[4]^=F,N[5]^=j,N[6]^=L,N[7]^=K;for(var V=0;V<4;V++)U.call(this)}},_doProcessBlock:function(Y,P){var E=this._X;U.call(this),O[0]=E[0]^E[5]>>>16^E[3]<<16,O[1]=E[2]^E[7]>>>16^E[5]<<16,O[2]=E[4]^E[1]>>>16^E[7]<<16,O[3]=E[6]^E[3]>>>16^E[1]<<16;for(var N=0;N<4;N++)O[N]=16711935&(O[N]<<8|O[N]>>>24)|4278255360&(O[N]<<24|O[N]>>>8),Y[P+N]^=O[N]},blockSize:4,ivSize:2});function U(){for(var Y=this._X,P=this._C,E=0;E<8;E++)T[E]=P[E];P[0]=P[0]+1295307597+this._b|0,P[1]=P[1]+3545052371+(P[0]>>>0<T[0]>>>0?1:0)|0,P[2]=P[2]+886263092+(P[1]>>>0<T[1]>>>0?1:0)|0,P[3]=P[3]+1295307597+(P[2]>>>0<T[2]>>>0?1:0)|0,P[4]=P[4]+3545052371+(P[3]>>>0<T[3]>>>0?1:0)|0,P[5]=P[5]+886263092+(P[4]>>>0<T[4]>>>0?1:0)|0,P[6]=P[6]+1295307597+(P[5]>>>0<T[5]>>>0?1:0)|0,P[7]=P[7]+3545052371+(P[6]>>>0<T[6]>>>0?1:0)|0,this._b=P[7]>>>0<T[7]>>>0?1:0;for(var E=0;E<8;E++){var N=Y[E]+P[E],V=65535&N,z=N>>>16,G=((V*V>>>17)+V*z>>>15)+z*z,Z=((4294901760&N)*N|0)+((65535&N)*N|0);Q[E]=G^Z}Y[0]=Q[0]+(Q[7]<<16|Q[7]>>>16)+(Q[6]<<16|Q[6]>>>16)|0,Y[1]=Q[1]+(Q[0]<<8|Q[0]>>>24)+Q[7]|0,Y[2]=Q[2]+(Q[1]<<16|Q[1]>>>16)+(Q[0]<<16|Q[0]>>>16)|0,Y[3]=Q[3]+(Q[2]<<8|Q[2]>>>24)+Q[1]|0,Y[4]=Q[4]+(Q[3]<<16|Q[3]>>>16)+(Q[2]<<16|Q[2]>>>16)|0,Y[5]=Q[5]+(Q[4]<<8|Q[4]>>>24)+Q[3]|0,Y[6]=Q[6]+(Q[5]<<16|Q[5]>>>16)+(Q[4]<<16|Q[4]>>>16)|0,Y[7]=Q[7]+(Q[6]<<8|Q[6]>>>24)+Q[5]|0}q.RabbitLegacy=R._createHelper(D)}(),$.RabbitLegacy}))}),XQ=h((tq,AQ)=>{!function($,q,v){"object"==typeof tq?AQ.exports=tq=q(S(),qq(),$q(),r(),f()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],q):q($.CryptoJS)}(tq,(function($){return function(){var q=$,v,R=q.lib.BlockCipher,I=q.algo;const O=16,T=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],Q=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var D={pbox:[],sbox:[]};function U(V,z){let G=z>>24&255,Z=z>>16&255,F=z>>8&255,L=255&z,j=V.sbox[0][G]+V.sbox[1][Z];return j^=V.sbox[2][F],j+=V.sbox[3][L],j}function Y(V,z,G){let Z=z,F=G,L;for(let j=0;j<O;++j)Z^=V.pbox[j],F=U(V,Z)^F,L=Z,Z=F,F=L;return L=Z,Z=F,F=L,F^=V.pbox[O],Z^=V.pbox[17],{left:Z,right:F}}function P(V,z,G){let Z=z,F=G,L;for(let j=17;j>1;--j)Z^=V.pbox[j],F=U(V,Z)^F,L=Z,Z=F,F=L;return L=Z,Z=F,F=L,F^=V.pbox[1],Z^=V.pbox[0],{left:Z,right:F}}function E(V,z,G){for(let K=0;K<4;K++){V.sbox[K]=[];for(let u=0;u<256;u++)V.sbox[K][u]=Q[K][u]}let Z=0;for(let K=0;K<18;K++)V.pbox[K]=T[K]^z[Z],Z++,Z>=G&&(Z=0);let F=0,L=0,j=0;for(let K=0;K<18;K+=2)j=Y(V,F,L),F=j.left,L=j.right,V.pbox[K]=F,V.pbox[K+1]=L;for(let K=0;K<4;K++)for(let u=0;u<256;u+=2)j=Y(V,F,L),F=j.left,L=j.right,V.sbox[K][u]=F,V.sbox[K][u+1]=L;return!0}var N=I.Blowfish=R.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var V=this._keyPriorReset=this._key,z=V.words,G=V.sigBytes/4;E(D,z,G)}},encryptBlock:function(V,z){var G=Y(D,V[z],V[z+1]);V[z]=G.left,V[z+1]=G.right},decryptBlock:function(V,z){var G=P(D,V[z],V[z+1]);V[z]=G.left,V[z+1]=G.right},blockSize:2,keySize:4,ivSize:2});q.Blowfish=R._createHelper(N)}(),$.Blowfish}))}),HQ=h((eq,wQ)=>{!function($,q,v){"object"==typeof eq?wQ.exports=eq=q(S(),Oq(),I$(),X$(),qq(),k$(),$q(),Z$(),Xq(),g$(),Y$(),_$(),C$(),S$(),bq(),d$(),r(),f(),i$(),o$(),r$(),e$(),$Q(),ZQ(),EQ(),DQ(),NQ(),UQ(),jQ(),GQ(),vQ(),KQ(),TQ(),IQ(),XQ()):"function"==typeof define&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./enc-base64url","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy","./blowfish"],q):$.CryptoJS=$.CryptoJS}(eq,(function($){return $}))}),F$=iQ(HQ(),1);const E$=require("fs");var kQ=F$.default.AES,oQ=F$.default.enc;class BQ{queue=[];password;filePath;tables={};constructor($,q){this.tables={},this.filePath=$||"./database.ht",this.password=q,this.queue=[]}createTable($,q=[]){if(this.readFromFile(),this.tables[$])throw new Error(`Table "${$}" already exists.`);this.tables[$]={columns:q,records:[]},this.saveToFile()}createTableIfNotExists($,q){this.readFromFile(),this.tables[$]||(this.tables[$]={columns:q,records:[]},this.saveToFile())}deleteTable($){if(this.readFromFile(),!this.tables[$])throw new Error(`Table "${$}" does not exist.`);delete this.tables[$],this.saveToFile()}deleteTableIfExists($){this.readFromFile(),this.tables[$]&&(delete this.tables[$],this.saveToFile())}addColumn($,q,v){if(this.readFromFile(),!this.tables[$])throw new Error(`Table "${$}" does not exist.`);if(this.tables[$].columns.includes(q))throw new Error(`Column "${q}" already exists in table "${$}".`);this.tables[$].columns.push(q);for(let R of this.tables[$].records)R[q]=v??null;this.saveToFile()}deleteColumn($,q){if(this.readFromFile(),!this.tables[$])throw new Error(`Table "${$}" does not exist.`);if(!this.tables[$].columns.includes(q))throw new Error(`Column "${q}" does not exist in table "${$}".`);const v=this.tables[$].columns.indexOf(q);this.tables[$].columns.splice(v,1);for(let R of this.tables[$].records)delete R[q];this.saveToFile()}insert($,q){this.queue.push({method:"insert",table:$,record:q}),1===this.queue.length&&this.processQueue()}update($,q,v){this.queue.push({method:"update",table:$,query:q,newData:v}),1===this.queue.length&&this.processQueue()}select($,q={}){if(this.readFromFile(),!this.tables[$])throw new Error(`Table "${$}" does not exist.`);return this.tables[$].records.filter(v=>Object.entries(q).every(([R,I])=>v[R]===I))}delete($,q={}){this.queue.push({method:"delete",table:$,query:q}),1===this.queue.length&&this.processQueue()}readTables(){return this.readFromFile(),this.tables}processQueue(){const $=this.queue[0];switch($.method){case"insert":this.insertTable($.table,$.record);break;case"update":this.updateTable($.table,$.query,$.newData);break;case"delete":this.deleteFromTable($.table,$.query)}}insertTable($,q){if(this.readFromFile(),!this.tables[$])throw new Error(`Table "${$}" does not exist.`);const v=this.tables[$],R=v.columns.reduce((I,O)=>({...I,[O]:q[O]||null}),{});v.records.push(R),this.saveToFile(),this.queue.shift(),this.queue.length>0&&this.processQueue()}updateTable($,q,v){if(this.readFromFile(),!this.tables[$])throw new Error(`Table "${$}" does not exist.`);const R=this.tables[$],I=R.records.map(O=>(Object.entries(v).forEach(([T,Q])=>{R.columns.includes(T)&&Object.entries(q).every(([D,U])=>O[D]===U)&&(O[T]=Q)}),O));R.records=I,this.saveToFile(),this.queue.shift(),this.queue.length>0&&this.processQueue()}deleteFromTable($,q){if(this.readFromFile(),!this.tables[$])throw new Error(`Table "${$}" does not exist.`);this.tables[$].records=this.tables[$].records.filter(v=>!Object.entries(q).every(([R,I])=>v[R]===I)),this.saveToFile(),this.queue.shift(),this.queue.length>0&&this.processQueue()}saveToFile(){if(!this.filePath.endsWith(".ht"))throw new Error("File path must include '.ht': "+this.filePath);const $=JSON.stringify(this.tables),q=kQ.encrypt($,this.password).toString();E$.writeFileSync(this.filePath,q)}readFromFile(){if(!E$.existsSync(this.filePath))return;const $=E$.readFileSync(this.filePath,"utf8"),q=kQ.decrypt($,this.password).toString(oQ.Utf8);try{this.tables=JSON.parse(q)}catch{this.tables={}}}}module.exports=BQ;
|
|
1
|
+
const{createRequire:sQ}=require("node:module");var dQ=Object.create,{defineProperty:L$,getPrototypeOf:fQ,getOwnPropertyNames:yQ}=Object,cQ=Object.prototype.hasOwnProperty,iQ=(e,t,r)=>{r=null!=e?dQ(fQ(e)):{};const i=!t&&e&&e.__esModule?r:L$(r,"default",{value:e,enumerable:!0});for(let t of yQ(e))cQ.call(i,t)||L$(i,t,{get:()=>e[t],enumerable:!0});return i},C=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),S=C(((e,t)=>{var r,i;r=e,i=function(){var e=e||function(e,t){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&&"undefined"!=typeof global&&global.crypto&&(r=global.crypto),!r)try{r=require("crypto")}catch(e){}var i=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),n={},s=n.lib={},a=s.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=s.WordArray=a.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||h).stringify(this)},concat:function(e){var t=this.words,r=e.words,i=this.sigBytes,o=e.sigBytes;if(this.clamp(),i%4)for(var n=0;n<o;n++){var s=r[n>>>2]>>>24-n%4*8&255;t[i+n>>>2]|=s<<24-(i+n)%4*8}else for(var a=0;a<o;a+=4)t[i+a>>>2]=r[a>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(i());return new c.init(t,e)}}),f=n.enc={},h=f.Hex={stringify:function(e){for(var{words:t,sigBytes:r}=e,i=[],o=0;o<r;o++){var n=t[o>>>2]>>>24-o%4*8&255;i.push((n>>>4).toString(16)),i.push((15&n).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,r=[],i=0;i<t;i+=2)r[i>>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new c.init(r,t/2)}},l=f.Latin1={stringify:function(e){for(var{words:t,sigBytes:r}=e,i=[],o=0;o<r;o++){var n=t[o>>>2]>>>24-o%4*8&255;i.push(String.fromCharCode(n))}return i.join("")},parse:function(e){for(var t=e.length,r=[],i=0;i<t;i++)r[i>>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new c.init(r,t)}},d=f.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},u=s.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,i=this._data,o=i.words,n=i.sigBytes,s=this.blockSize,a=n/(4*s),f=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,h=e.min(4*f,n);if(f){for(var l=0;l<f;l+=s)this._doProcessBlock(o,l);r=o.splice(0,f),i.sigBytes-=h}return new c.init(r,h)},clone:function(){var e=a.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),p=(s.Hasher=u.extend({cfg:a.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){u.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new p.HMAC.init(e,r).finalize(t)}}}),n.algo={});return n}(Math);return e},"object"==typeof e?t.exports=e=i():"function"==typeof define&&define.amd?define([],i):r.CryptoJS=i()})),Oq=C(((e,t)=>{var r,i;r=e,i=function(e){return r=(t=e).lib,i=r.Base,o=r.WordArray,(n=t.x64={}).Word=i.extend({init:function(e,t){this.high=e,this.low=t}}),n.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,r=[],i=0;i<t;i++){var n=e[i];r.push(n.high),r.push(n.low)}return o.create(r,this.sigBytes)},clone:function(){for(var e=i.clone.call(this),t=e.words=this.words.slice(0),r=t.length,o=0;o<r;o++)t[o]=t[o].clone();return e}}),e;var t,r,i,o,n},"object"==typeof e?t.exports=e=i(S()):"function"==typeof define&&define.amd?define(["./core"],i):i(r.CryptoJS)})),I$=C(((e,t)=>{var r,i;r=e,i=function(e){return function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,r=t.init,i=t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,i=[],o=0;o<t;o++)i[o>>>2]|=e[o]<<24-o%4*8;r.call(this,i,t)}else r.apply(this,arguments)};i.prototype=t}}(),e.lib.WordArray},"object"==typeof e?t.exports=e=i(S()):"function"==typeof define&&define.amd?define(["./core"],i):i(r.CryptoJS)})),w$=C(((e,t)=>{var r,i;r=e,i=function(e){return function(){var t=e,r=t.lib.WordArray,i=t.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}i.Utf16=i.Utf16BE={stringify:function(e){for(var{words:t,sigBytes:r}=e,i=[],o=0;o<r;o+=2){var n=t[o>>>2]>>>16-o%4*8&65535;i.push(String.fromCharCode(n))}return i.join("")},parse:function(e){for(var t=e.length,i=[],o=0;o<t;o++)i[o>>>1]|=e.charCodeAt(o)<<16-o%2*16;return r.create(i,2*t)}},i.Utf16LE={stringify:function(e){for(var{words:t,sigBytes:r}=e,i=[],n=0;n<r;n+=2){var s=o(t[n>>>2]>>>16-n%4*8&65535);i.push(String.fromCharCode(s))}return i.join("")},parse:function(e){for(var t=e.length,i=[],n=0;n<t;n++)i[n>>>1]|=o(e.charCodeAt(n)<<16-n%2*16);return r.create(i,2*t)}}}(),e.enc.Utf16},"object"==typeof e?t.exports=e=i(S()):"function"==typeof define&&define.amd?define(["./core"],i):i(r.CryptoJS)})),qq=C(((e,t)=>{var r,i;r=e,i=function(e){return r=(t=e).lib.WordArray,t.enc.Base64={stringify:function(e){var{words:t,sigBytes:r}=e,i=this._map;e.clamp();for(var o=[],n=0;n<r;n+=3)for(var s=(t[n>>>2]>>>24-n%4*8&255)<<16|(t[n+1>>>2]>>>24-(n+1)%4*8&255)<<8|t[n+2>>>2]>>>24-(n+2)%4*8&255,a=0;a<4&&n+.75*a<r;a++)o.push(i.charAt(s>>>6*(3-a)&63));var c=i.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,i=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var n=0;n<i.length;n++)o[i.charCodeAt(n)]=n}var s=i.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return function(e,t,i){for(var o=[],n=0,s=0;s<t;s++)if(s%4){var a=i[e.charCodeAt(s-1)]<<s%4*2|i[e.charCodeAt(s)]>>>6-s%4*2;o[n>>>2]|=a<<24-n%4*8,n++}return r.create(o,n)}(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},e.enc.Base64;var t,r},"object"==typeof e?t.exports=e=i(S()):"function"==typeof define&&define.amd?define(["./core"],i):i(r.CryptoJS)})),k$=C(((e,t)=>{var r,i;r=e,i=function(e){return r=(t=e).lib.WordArray,t.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var{words:r,sigBytes:i}=e,o=t?this._safe_map:this._map;e.clamp();for(var n=[],s=0;s<i;s+=3)for(var a=(r[s>>>2]>>>24-s%4*8&255)<<16|(r[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|r[s+2>>>2]>>>24-(s+2)%4*8&255,c=0;c<4&&s+.75*c<i;c++)n.push(o.charAt(a>>>6*(3-c)&63));var f=o.charAt(64);if(f)for(;n.length%4;)n.push(f);return n.join("")},parse:function(e,t){void 0===t&&(t=!0);var i=e.length,o=t?this._safe_map:this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var s=0;s<o.length;s++)n[o.charCodeAt(s)]=s}var a=o.charAt(64);if(a){var c=e.indexOf(a);-1!==c&&(i=c)}return function(e,t,i){for(var o=[],n=0,s=0;s<t;s++)if(s%4){var a=i[e.charCodeAt(s-1)]<<s%4*2|i[e.charCodeAt(s)]>>>6-s%4*2;o[n>>>2]|=a<<24-n%4*8,n++}return r.create(o,n)}(e,i,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},e.enc.Base64url;var t,r},"object"==typeof e?t.exports=e=i(S()):"function"==typeof define&&define.amd?define(["./core"],i):i(r.CryptoJS)})),$q=C(((e,t)=>{var r,i;r=e,i=function(e){return function(t){var r=e,i=r.lib,o=i.WordArray,n=i.Hasher,s=r.algo,a=[];!function(){for(var e=0;e<64;e++)a[e]=4294967296*t.abs(t.sin(e+1))|0}();var c=s.MD5=n.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var i=t+r,o=e[i];e[i]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var n=this._hash.words,s=e[t+0],c=e[t+1],u=e[t+2],p=e[t+3],y=e[t+4],v=e[t+5],_=e[t+6],g=e[t+7],b=e[t+8],w=e[t+9],m=e[t+10],S=e[t+11],B=e[t+12],k=e[t+13],x=e[t+14],C=e[t+15],A=n[0],H=n[1],z=n[2],F=n[3];A=f(A,H,z,F,s,7,a[0]),F=f(F,A,H,z,c,12,a[1]),z=f(z,F,A,H,u,17,a[2]),H=f(H,z,F,A,p,22,a[3]),A=f(A,H,z,F,y,7,a[4]),F=f(F,A,H,z,v,12,a[5]),z=f(z,F,A,H,_,17,a[6]),H=f(H,z,F,A,g,22,a[7]),A=f(A,H,z,F,b,7,a[8]),F=f(F,A,H,z,w,12,a[9]),z=f(z,F,A,H,m,17,a[10]),H=f(H,z,F,A,S,22,a[11]),A=f(A,H,z,F,B,7,a[12]),F=f(F,A,H,z,k,12,a[13]),z=f(z,F,A,H,x,17,a[14]),A=h(A,H=f(H,z,F,A,C,22,a[15]),z,F,c,5,a[16]),F=h(F,A,H,z,_,9,a[17]),z=h(z,F,A,H,S,14,a[18]),H=h(H,z,F,A,s,20,a[19]),A=h(A,H,z,F,v,5,a[20]),F=h(F,A,H,z,m,9,a[21]),z=h(z,F,A,H,C,14,a[22]),H=h(H,z,F,A,y,20,a[23]),A=h(A,H,z,F,w,5,a[24]),F=h(F,A,H,z,x,9,a[25]),z=h(z,F,A,H,p,14,a[26]),H=h(H,z,F,A,b,20,a[27]),A=h(A,H,z,F,k,5,a[28]),F=h(F,A,H,z,u,9,a[29]),z=h(z,F,A,H,g,14,a[30]),A=l(A,H=h(H,z,F,A,B,20,a[31]),z,F,v,4,a[32]),F=l(F,A,H,z,b,11,a[33]),z=l(z,F,A,H,S,16,a[34]),H=l(H,z,F,A,x,23,a[35]),A=l(A,H,z,F,c,4,a[36]),F=l(F,A,H,z,y,11,a[37]),z=l(z,F,A,H,g,16,a[38]),H=l(H,z,F,A,m,23,a[39]),A=l(A,H,z,F,k,4,a[40]),F=l(F,A,H,z,s,11,a[41]),z=l(z,F,A,H,p,16,a[42]),H=l(H,z,F,A,_,23,a[43]),A=l(A,H,z,F,w,4,a[44]),F=l(F,A,H,z,B,11,a[45]),z=l(z,F,A,H,C,16,a[46]),A=d(A,H=l(H,z,F,A,u,23,a[47]),z,F,s,6,a[48]),F=d(F,A,H,z,g,10,a[49]),z=d(z,F,A,H,x,15,a[50]),H=d(H,z,F,A,v,21,a[51]),A=d(A,H,z,F,B,6,a[52]),F=d(F,A,H,z,p,10,a[53]),z=d(z,F,A,H,m,15,a[54]),H=d(H,z,F,A,c,21,a[55]),A=d(A,H,z,F,b,6,a[56]),F=d(F,A,H,z,C,10,a[57]),z=d(z,F,A,H,_,15,a[58]),H=d(H,z,F,A,k,21,a[59]),A=d(A,H,z,F,y,6,a[60]),F=d(F,A,H,z,S,10,a[61]),z=d(z,F,A,H,u,15,a[62]),H=d(H,z,F,A,w,21,a[63]),n[0]=n[0]+A|0,n[1]=n[1]+H|0,n[2]=n[2]+z|0,n[3]=n[3]+F|0},_doFinalize:function(){var e=this._data,r=e.words,i=8*this._nDataBytes,o=8*e.sigBytes;r[o>>>5]|=128<<24-o%32;var n=t.floor(i/4294967296),s=i;r[15+(o+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),r[14+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(r.length+1),this._process();for(var a=this._hash,c=a.words,f=0;f<4;f++){var h=c[f];c[f]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)}return a},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,r,i,o,n,s){var a=e+(t&r|~t&i)+o+s;return(a<<n|a>>>32-n)+t}function h(e,t,r,i,o,n,s){var a=e+(t&i|r&~i)+o+s;return(a<<n|a>>>32-n)+t}function l(e,t,r,i,o,n,s){var a=e+(t^r^i)+o+s;return(a<<n|a>>>32-n)+t}function d(e,t,r,i,o,n,s){var a=e+(r^(t|~i))+o+s;return(a<<n|a>>>32-n)+t}r.MD5=n._createHelper(c),r.HmacMD5=n._createHmacHelper(c)}(Math),e.MD5},"object"==typeof e?t.exports=e=i(S()):"function"==typeof define&&define.amd?define(["./core"],i):i(r.CryptoJS)})),Z$=C(((e,t)=>{var r,i;r=e,i=function(e){return r=(t=e).lib,i=r.WordArray,o=r.Hasher,n=t.algo,s=[],a=n.SHA1=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,i=r[0],o=r[1],n=r[2],a=r[3],c=r[4],f=0;f<80;f++){if(f<16)s[f]=0|e[t+f];else{var h=s[f-3]^s[f-8]^s[f-14]^s[f-16];s[f]=h<<1|h>>>31}var l=(i<<5|i>>>27)+c+s[f];l+=f<20?1518500249+(o&n|~o&a):f<40?1859775393+(o^n^a):f<60?(o&n|o&a|n&a)-1894007588:(o^n^a)-899497514,c=a,a=n,n=o<<30|o>>>2,o=i,i=l}r[0]=r[0]+i|0,r[1]=r[1]+o|0,r[2]=r[2]+n|0,r[3]=r[3]+a|0,r[4]=r[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(i+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}}),t.SHA1=o._createHelper(a),t.HmacSHA1=o._createHmacHelper(a),e.SHA1;var t,r,i,o,n,s,a},"object"==typeof e?t.exports=e=i(S()):"function"==typeof define&&define.amd?define(["./core"],i):i(r.CryptoJS)})),wq=C(((e,t)=>{var r,i;r=e,i=function(e){return function(t){var r=e,i=r.lib,o=i.WordArray,n=i.Hasher,s=r.algo,a=[],c=[];!function(){function e(e){for(var r=t.sqrt(e),i=2;i<=r;i++)if(!(e%i))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var i=2,o=0;o<64;)e(i)&&(o<8&&(a[o]=r(t.pow(i,.5))),c[o]=r(t.pow(i,.3333333333333333)),o++),i++}();var f=[],h=s.SHA256=n.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,i=r[0],o=r[1],n=r[2],s=r[3],a=r[4],h=r[5],l=r[6],d=r[7],u=0;u<64;u++){if(u<16)f[u]=0|e[t+u];else{var p=f[u-15],y=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,v=f[u-2],_=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;f[u]=y+f[u-7]+_+f[u-16]}var g=i&o^i&n^o&n,b=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),w=d+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&h^~a&l)+c[u]+f[u];d=l,l=h,h=a,a=s+w|0,s=n,n=o,o=i,i=w+(b+g)|0}r[0]=r[0]+i|0,r[1]=r[1]+o|0,r[2]=r[2]+n|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+h|0,r[6]=r[6]+l|0,r[7]=r[7]+d|0},_doFinalize:function(){var e=this._data,r=e.words,i=8*this._nDataBytes,o=8*e.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=t.floor(i/4294967296),r[15+(o+64>>>9<<4)]=i,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}});r.SHA256=n._createHelper(h),r.HmacSHA256=n._createHmacHelper(h)}(Math),e.SHA256},"object"==typeof e?t.exports=e=i(S()):"function"==typeof define&&define.amd?define(["./core"],i):i(r.CryptoJS)})),g$=C(((e,t)=>{var r,i;r=e,i=function(e){return r=(t=e).lib.WordArray,i=t.algo,o=i.SHA256,n=i.SHA224=o.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}}),t.SHA224=o._createHelper(n),t.HmacSHA224=o._createHmacHelper(n),e.SHA224;var t,r,i,o,n},"object"==typeof e?t.exports=e=i(S(),wq()):"function"==typeof define&&define.amd?define(["./core","./sha256"],i):i(r.CryptoJS)})),Y$=C(((e,t)=>{var r,i;r=e,i=function(e){return function(){var t=e,r=t.lib.Hasher,i=t.x64,o=i.Word,n=i.WordArray,s=t.algo;function a(){return o.create.apply(o,arguments)}var c=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],f=[];!function(){for(var e=0;e<80;e++)f[e]=a()}();var h=s.SHA512=r.extend({_doReset:function(){this._hash=new n.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,i=r[0],o=r[1],n=r[2],s=r[3],a=r[4],h=r[5],l=r[6],d=r[7],u=i.high,p=i.low,y=o.high,v=o.low,_=n.high,g=n.low,b=s.high,w=s.low,m=a.high,S=a.low,B=h.high,k=h.low,x=l.high,C=l.low,A=d.high,H=d.low,z=u,F=p,E=y,q=v,$=_,D=g,R=b,j=w,Q=m,M=S,P=B,T=k,O=x,J=C,W=A,I=H,U=0;U<80;U++){var L,K,X=f[U];if(U<16)K=X.high=0|e[t+2*U],L=X.low=0|e[t+2*U+1];else{var N=f[U-15],Z=N.high,G=N.low,V=(Z>>>1|G<<31)^(Z>>>8|G<<24)^Z>>>7,Y=(G>>>1|Z<<31)^(G>>>8|Z<<24)^(G>>>7|Z<<25),ee=f[U-2],te=ee.high,re=ee.low,ie=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,oe=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),ne=f[U-7],se=ne.high,ae=ne.low,ce=f[U-16],fe=ce.high,he=ce.low;K=(K=(K=V+se+((L=Y+ae)>>>0<Y>>>0?1:0))+ie+((L+=oe)>>>0<oe>>>0?1:0))+fe+((L+=he)>>>0<he>>>0?1:0),X.high=K,X.low=L}var le,de=Q&P^~Q&O,ue=M&T^~M&J,pe=z&E^z&$^E&$,ye=F&q^F&D^q&D,ve=(z>>>28|F<<4)^(z<<30|F>>>2)^(z<<25|F>>>7),_e=(F>>>28|z<<4)^(F<<30|z>>>2)^(F<<25|z>>>7),ge=(Q>>>14|M<<18)^(Q>>>18|M<<14)^(Q<<23|M>>>9),be=(M>>>14|Q<<18)^(M>>>18|Q<<14)^(M<<23|Q>>>9),we=c[U],me=we.high,Se=we.low,Be=W+ge+((le=I+be)>>>0<I>>>0?1:0),ke=_e+ye;W=O,I=J,O=P,J=T,P=Q,T=M,Q=R+(Be=(Be=(Be=Be+de+((le+=ue)>>>0<ue>>>0?1:0))+me+((le+=Se)>>>0<Se>>>0?1:0))+K+((le+=L)>>>0<L>>>0?1:0))+((M=j+le|0)>>>0<j>>>0?1:0)|0,R=$,j=D,$=E,D=q,E=z,q=F,z=Be+(ve+pe+(ke>>>0<_e>>>0?1:0))+((F=le+ke|0)>>>0<le>>>0?1:0)|0}p=i.low=p+F,i.high=u+z+(p>>>0<F>>>0?1:0),v=o.low=v+q,o.high=y+E+(v>>>0<q>>>0?1:0),g=n.low=g+D,n.high=_+$+(g>>>0<D>>>0?1:0),w=s.low=w+j,s.high=b+R+(w>>>0<j>>>0?1:0),S=a.low=S+M,a.high=m+Q+(S>>>0<M>>>0?1:0),k=h.low=k+T,h.high=B+P+(k>>>0<T>>>0?1:0),C=l.low=C+J,l.high=x+O+(C>>>0<J>>>0?1:0),H=d.low=H+I,d.high=A+W+(H>>>0<I>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[30+(i+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(i+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=r._createHelper(h),t.HmacSHA512=r._createHmacHelper(h)}(),e.SHA512},"object"==typeof e?t.exports=e=i(S(),Oq()):"function"==typeof define&&define.amd?define(["./core","./x64-core"],i):i(r.CryptoJS)})),n$=C(((e,t)=>{var r,i;r=e,i=function(e){return r=(t=e).x64,i=r.Word,o=r.WordArray,n=t.algo,s=n.SHA512,a=n.SHA384=s.extend({_doReset:function(){this._hash=new o.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=16,e}}),t.SHA384=s._createHelper(a),t.HmacSHA384=s._createHmacHelper(a),e.SHA384;var t,r,i,o,n,s,a},"object"==typeof e?t.exports=e=i(S(),Oq(),Y$()):"function"==typeof define&&define.amd?define(["./core","./x64-core","./sha512"],i):i(r.CryptoJS)})),h$=C(((e,t)=>{var r,i;r=e,i=function(e){return function(t){var r=e,i=r.lib,o=i.WordArray,n=i.Hasher,s=r.x64.Word,a=r.algo,c=[],f=[],h=[];!function(){for(var e=1,t=0,r=0;r<24;r++){c[e+5*t]=(r+1)*(r+2)/2%64;var i=(2*e+3*t)%5;e=t%5,t=i}for(e=0;e<5;e++)for(t=0;t<5;t++)f[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,n=0;n<24;n++){for(var a=0,l=0,d=0;d<7;d++){if(1&o){var u=(1<<d)-1;u<32?l^=1<<u:a^=1<<u-32}128&o?o=o<<1^113:o<<=1}h[n]=s.create(a,l)}}();var l=[];!function(){for(var e=0;e<25;e++)l[e]=s.create()}();var d=a.SHA3=n.extend({cfg:n.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,i=this.blockSize/2,o=0;o<i;o++){var n=e[t+2*o],s=e[t+2*o+1];n=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(H=r[o]).high^=s,H.low^=n}for(var a=0;a<24;a++){for(var d=0;d<5;d++){for(var u=0,p=0,y=0;y<5;y++)u^=(H=r[d+5*y]).high,p^=H.low;var v=l[d];v.high=u,v.low=p}for(d=0;d<5;d++){var _=l[(d+4)%5],g=l[(d+1)%5],b=g.high,w=g.low;for(u=_.high^(b<<1|w>>>31),p=_.low^(w<<1|b>>>31),y=0;y<5;y++)(H=r[d+5*y]).high^=u,H.low^=p}for(var m=1;m<25;m++){var S=(H=r[m]).high,B=H.low,k=c[m];k<32?(u=S<<k|B>>>32-k,p=B<<k|S>>>32-k):(u=B<<k-32|S>>>64-k,p=S<<k-32|B>>>64-k);var x=l[f[m]];x.high=u,x.low=p}var C=l[0],A=r[0];for(C.high=A.high,C.low=A.low,d=0;d<5;d++)for(y=0;y<5;y++){var H=r[m=d+5*y],z=l[m],F=l[(d+1)%5+5*y],E=l[(d+2)%5+5*y];H.high=z.high^~F.high&E.high,H.low=z.low^~F.low&E.low}H=r[0];var q=h[a];H.high^=q.high,H.low^=q.low}},_doFinalize:function(){var e=this._data,r=e.words,i=(this._nDataBytes,8*e.sigBytes),n=32*this.blockSize;r[i>>>5]|=1<<24-i%32,r[(t.ceil((i+1)/n)*n>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,f=[],h=0;h<c;h++){var l=s[h],d=l.high,u=l.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),u=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),f.push(u),f.push(d)}return new o.init(f,a)},clone:function(){for(var e=n.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});r.SHA3=n._createHelper(d),r.HmacSHA3=n._createHmacHelper(d)}(Math),e.SHA3},"object"==typeof e?t.exports=e=i(S(),Oq()):"function"==typeof define&&define.amd?define(["./core","./x64-core"],i):i(r.CryptoJS)})),S$=C(((e,t)=>{var r,i;r=e,i=function(e){return function(t){var r=e,i=r.lib,o=i.WordArray,n=i.Hasher,s=r.algo,a=o.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=o.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),f=o.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),h=o.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),l=o.create([0,1518500249,1859775393,2400959708,2840853838]),d=o.create([1352829926,1548603684,1836072691,2053994217,0]),u=s.RIPEMD160=n.extend({_doReset:function(){this._hash=o.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var i=t+r,o=e[i];e[i]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var n,s,u,w,m,S,B,k,x,C,A,H=this._hash.words,z=l.words,F=d.words,E=a.words,q=c.words,$=f.words,D=h.words;for(S=n=H[0],B=s=H[1],k=u=H[2],x=w=H[3],C=m=H[4],r=0;r<80;r+=1)A=n+e[t+E[r]]|0,A+=r<16?p(s,u,w)+z[0]:r<32?y(s,u,w)+z[1]:r<48?v(s,u,w)+z[2]:r<64?_(s,u,w)+z[3]:g(s,u,w)+z[4],A=(A=b(A|=0,$[r]))+m|0,n=m,m=w,w=b(u,10),u=s,s=A,A=S+e[t+q[r]]|0,A+=r<16?g(B,k,x)+F[0]:r<32?_(B,k,x)+F[1]:r<48?v(B,k,x)+F[2]:r<64?y(B,k,x)+F[3]:p(B,k,x)+F[4],A=(A=b(A|=0,D[r]))+C|0,S=C,C=x,x=b(k,10),k=B,B=A;A=H[1]+u+x|0,H[1]=H[2]+w+C|0,H[2]=H[3]+m+S|0,H[3]=H[4]+n+B|0,H[4]=H[0]+s+k|0,H[0]=A},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,n=o.words,s=0;s<5;s++){var a=n[s];n[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return o},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,r){return e^t^r}function y(e,t,r){return e&t|~e&r}function v(e,t,r){return(e|~t)^r}function _(e,t,r){return e&r|t&~r}function g(e,t,r){return e^(t|~r)}function b(e,t){return e<<t|e>>>32-t}r.RIPEMD160=n._createHelper(u),r.HmacRIPEMD160=n._createHmacHelper(u)}(Math),e.RIPEMD160},"object"==typeof e?t.exports=e=i(S()):"function"==typeof define&&define.amd?define(["./core"],i):i(r.CryptoJS)})),bq=C(((e,t)=>{var r,i;r=e,i=function(e){var t,r,i;r=(t=e).lib.Base,i=t.enc.Utf8,t.algo.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=i.parse(t));var r=e.blockSize,o=4*r;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var n=this._oKey=t.clone(),s=this._iKey=t.clone(),a=n.words,c=s.words,f=0;f<r;f++)a[f]^=1549556828,c[f]^=909522486;n.sigBytes=s.sigBytes=o,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})},"object"==typeof e?t.exports=e=i(S()):"function"==typeof define&&define.amd?define(["./core"],i):i(r.CryptoJS)})),d$=C(((e,t)=>{var r,i;r=e,i=function(e){return r=(t=e).lib,i=r.Base,o=r.WordArray,n=t.algo,s=n.SHA256,a=n.HMAC,c=n.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:s,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,i=a.create(r.hasher,e),n=o.create(),s=o.create([1]),c=n.words,f=s.words,h=r.keySize,l=r.iterations;c.length<h;){var d=i.update(t).finalize(s);i.reset();for(var u=d.words,p=u.length,y=d,v=1;v<l;v++){y=i.finalize(y),i.reset();for(var _=y.words,g=0;g<p;g++)u[g]^=_[g]}n.concat(d),f[0]++}return n.sigBytes=4*h,n}}),t.PBKDF2=function(e,t,r){return c.create(r).compute(e,t)},e.PBKDF2;var t,r,i,o,n,s,a,c},"object"==typeof e?t.exports=e=i(S(),wq(),bq()):"function"==typeof define&&define.amd?define(["./core","./sha256","./hmac"],i):i(r.CryptoJS)})),r=C(((e,t)=>{var r,i;r=e,i=function(e){return r=(t=e).lib,i=r.Base,o=r.WordArray,n=t.algo,s=n.MD5,a=n.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,i=this.cfg,n=i.hasher.create(),s=o.create(),a=s.words,c=i.keySize,f=i.iterations;a.length<c;){r&&n.update(r),r=n.update(e).finalize(t),n.reset();for(var h=1;h<f;h++)r=n.finalize(r),n.reset();s.concat(r)}return s.sigBytes=4*c,s}}),t.EvpKDF=function(e,t,r){return a.create(r).compute(e,t)},e.EvpKDF;var t,r,i,o,n,s,a},"object"==typeof e?t.exports=e=i(S(),Z$(),bq()):"function"==typeof define&&define.amd?define(["./core","./sha1","./hmac"],i):i(r.CryptoJS)})),f=C(((e,t)=>{var i,o;i=e,o=function(e){var t,r,i,o,n,s,a,c,f,h,l,d,u,p,y,v,_,g;e.lib.Cipher||(r=(t=e).lib,i=r.Base,o=r.WordArray,n=r.BufferedBlockAlgorithm,(s=t.enc).Utf8,a=s.Base64,c=t.algo.EvpKDF,f=r.Cipher=n.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){n.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?g:v}return function(t){return{encrypt:function(r,i,o){return e(i).encrypt(t,r,i,o)},decrypt:function(r,i,o){return e(i).decrypt(t,r,i,o)}}}}()}),r.StreamCipher=f.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),h=t.mode={},l=r.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),d=h.CBC=function(){var e=l.extend();function t(e,t,r){var i,o=this._iv;o?(i=o,this._iv=void 0):i=this._prevBlock;for(var n=0;n<r;n++)e[t+n]^=i[n]}return e.Encryptor=e.extend({processBlock:function(e,r){var i=this._cipher,o=i.blockSize;t.call(this,e,r,o),i.encryptBlock(e,r),this._prevBlock=e.slice(r,r+o)}}),e.Decryptor=e.extend({processBlock:function(e,r){var i=this._cipher,o=i.blockSize,n=e.slice(r,r+o);i.decryptBlock(e,r),t.call(this,e,r,o),this._prevBlock=n}}),e}(),u=(t.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,i=r-e.sigBytes%r,n=i<<24|i<<16|i<<8|i,s=[],a=0;a<i;a+=4)s.push(n);var c=o.create(s,i);e.concat(c)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},r.BlockCipher=f.extend({cfg:f.cfg.extend({mode:d,padding:u}),reset:function(){var e;f.reset.call(this);var t=this.cfg,r=t.iv,i=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=i.createEncryptor:(e=i.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(i,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),p=r.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),y=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?o.create([1398893684,1701076831]).concat(r).concat(t):t).toString(a)},parse:function(e){var t,r=a.parse(e),i=r.words;return 1398893684==i[0]&&1701076831==i[1]&&(t=o.create(i.slice(2,4)),i.splice(0,4),r.sigBytes-=16),p.create({ciphertext:r,salt:t})}},v=r.SerializableCipher=i.extend({cfg:i.extend({format:y}),encrypt:function(e,t,r,i){i=this.cfg.extend(i);var o=e.createEncryptor(r,i),n=o.finalize(t),s=o.cfg;return p.create({ciphertext:n,key:r,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:i.format})},decrypt:function(e,t,r,i){return i=this.cfg.extend(i),t=this._parse(t,i.format),e.createDecryptor(r,i).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),_=(t.kdf={}).OpenSSL={execute:function(e,t,r,i,n){if(i||(i=o.random(8)),n)s=c.create({keySize:t+r,hasher:n}).compute(e,i);else var s=c.create({keySize:t+r}).compute(e,i);var a=o.create(s.words.slice(t),4*r);return s.sigBytes=4*t,p.create({key:s,iv:a,salt:i})}},g=r.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:_}),encrypt:function(e,t,r,i){var o=(i=this.cfg.extend(i)).kdf.execute(r,e.keySize,e.ivSize,i.salt,i.hasher);i.iv=o.iv;var n=v.encrypt.call(this,e,t,o.key,i);return n.mixIn(o),n},decrypt:function(e,t,r,i){i=this.cfg.extend(i),t=this._parse(t,i.format);var o=i.kdf.execute(r,e.keySize,e.ivSize,t.salt,i.hasher);return i.iv=o.iv,v.decrypt.call(this,e,t,o.key,i)}}))},"object"==typeof e?t.exports=e=o(S(),r()):"function"==typeof define&&define.amd?define(["./core","./evpkdf"],o):o(i.CryptoJS)})),i$=C(((e,t)=>{var r,i;r=e,i=function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function r(e,t,r,i){var o,n=this._iv;n?(o=n.slice(0),this._iv=void 0):o=this._prevBlock,i.encryptBlock(o,0);for(var s=0;s<r;s++)e[t+s]^=o[s]}return t.Encryptor=t.extend({processBlock:function(e,t){var i=this._cipher,o=i.blockSize;r.call(this,e,t,o,i),this._prevBlock=e.slice(t,t+o)}}),t.Decryptor=t.extend({processBlock:function(e,t){var i=this._cipher,o=i.blockSize,n=e.slice(t,t+o);r.call(this,e,t,o,i),this._prevBlock=n}}),t}(),e.mode.CFB},"object"==typeof e?t.exports=e=i(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(r.CryptoJS)})),o$=C(((e,t)=>{var r,i;r=e,i=function(e){return e.mode.CTR=(t=e.lib.BlockCipherMode.extend(),r=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,o=this._iv,n=this._counter;o&&(n=this._counter=o.slice(0),this._iv=void 0);var s=n.slice(0);r.encryptBlock(s,0),n[i-1]=n[i-1]+1|0;for(var a=0;a<i;a++)e[t+a]^=s[a]}}),t.Decryptor=r,t),e.mode.CTR;var t,r},"object"==typeof e?t.exports=e=i(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(r.CryptoJS)})),r$=C(((e,t)=>{var r,i;r=e,i=function(e){return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function r(e){if(255==(e>>24&255)){var t=e>>16&255,r=e>>8&255,i=255&e;255===t?(t=0,255===r?(r=0,255===i?i=0:++i):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=i}else e+=16777216;return e}var i=t.Encryptor=t.extend({processBlock:function(e,t){var i=this._cipher,o=i.blockSize,n=this._iv,s=this._counter;n&&(s=this._counter=n.slice(0),this._iv=void 0),function(e){0===(e[0]=r(e[0]))&&(e[1]=r(e[1]))}(s);var a=s.slice(0);i.encryptBlock(a,0);for(var c=0;c<o;c++)e[t+c]^=a[c]}});return t.Decryptor=i,t}(),e.mode.CTRGladman},"object"==typeof e?t.exports=e=i(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(r.CryptoJS)})),e$=C(((e,t)=>{var r,i;r=e,i=function(e){return e.mode.OFB=(t=e.lib.BlockCipherMode.extend(),r=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,o=this._iv,n=this._keystream;o&&(n=this._keystream=o.slice(0),this._iv=void 0),r.encryptBlock(n,0);for(var s=0;s<i;s++)e[t+s]^=n[s]}}),t.Decryptor=r,t),e.mode.OFB;var t,r},"object"==typeof e?t.exports=e=i(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(r.CryptoJS)})),$Q=C(((e,t)=>{var r,i;r=e,i=function(e){return e.mode.ECB=((t=e.lib.BlockCipherMode.extend()).Encryptor=t.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),t.Decryptor=t.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),t),e.mode.ECB;var t},"object"==typeof e?t.exports=e=i(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(r.CryptoJS)})),ZQ=C(((e,t)=>{var r,i;r=e,i=function(e){return e.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,i=4*t,o=i-r%i,n=r+o-1;e.clamp(),e.words[n>>>2]|=o<<24-n%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923},"object"==typeof e?t.exports=e=i(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(r.CryptoJS)})),EQ=C(((e,t)=>{var r,i;r=e,i=function(e){return e.pad.Iso10126={pad:function(t,r){var i=4*r,o=i-t.sigBytes%i;t.concat(e.lib.WordArray.random(o-1)).concat(e.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126},"object"==typeof e?t.exports=e=i(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(r.CryptoJS)})),DQ=C(((e,t)=>{var r,i;r=e,i=function(e){return e.pad.Iso97971={pad:function(t,r){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,r)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971},"object"==typeof e?t.exports=e=i(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(r.CryptoJS)})),VQ=C(((e,t)=>{var r,i;r=e,i=function(e){return e.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},e.pad.ZeroPadding},"object"==typeof e?t.exports=e=i(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(r.CryptoJS)})),UQ=C(((e,t)=>{var r,i;r=e,i=function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding},"object"==typeof e?t.exports=e=i(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(r.CryptoJS)})),jQ=C(((e,t)=>{var r,i;r=e,i=function(e){return r=(t=e).lib.CipherParams,i=t.enc.Hex,t.format.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return r.create({ciphertext:t})}},e.format.Hex;var t,r,i},"object"==typeof e?t.exports=e=i(S(),f()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],i):i(r.CryptoJS)})),GQ=C(((e,t)=>{var i,o;i=e,o=function(e){return function(){var t=e,r=t.lib.BlockCipher,i=t.algo,o=[],n=[],s=[],a=[],c=[],f=[],h=[],l=[],d=[],u=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,i=0;for(t=0;t<256;t++){var p=i^i<<1^i<<2^i<<3^i<<4;p=p>>>8^255&p^99,o[r]=p,n[p]=r;var y=e[r],v=e[y],_=e[v],g=257*e[p]^16843008*p;s[r]=g<<24|g>>>8,a[r]=g<<16|g>>>16,c[r]=g<<8|g>>>24,f[r]=g,g=16843009*_^65537*v^257*y^16843008*r,h[p]=g<<24|g>>>8,l[p]=g<<16|g>>>16,d[p]=g<<8|g>>>24,u[p]=g,r?(r=y^e[e[e[_^y]]],i^=e[e[i]]):r=i=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],y=i.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,i=4*((this._nRounds=r+6)+1),n=this._keySchedule=[],s=0;s<i;s++)s<r?n[s]=t[s]:(f=n[s-1],s%r?r>6&&s%r==4&&(f=o[f>>>24]<<24|o[f>>>16&255]<<16|o[f>>>8&255]<<8|o[255&f]):(f=o[(f=f<<8|f>>>24)>>>24]<<24|o[f>>>16&255]<<16|o[f>>>8&255]<<8|o[255&f],f^=p[s/r|0]<<24),n[s]=n[s-r]^f);for(var a=this._invKeySchedule=[],c=0;c<i;c++){if(s=i-c,c%4)var f=n[s];else f=n[s-4];a[c]=c<4||s<=4?f:h[o[f>>>24]]^l[o[f>>>16&255]]^d[o[f>>>8&255]]^u[o[255&f]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,a,c,f,o)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,h,l,d,u,n),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,i,o,n,s,a){for(var c=this._nRounds,f=e[t]^r[0],h=e[t+1]^r[1],l=e[t+2]^r[2],d=e[t+3]^r[3],u=4,p=1;p<c;p++){var y=i[f>>>24]^o[h>>>16&255]^n[l>>>8&255]^s[255&d]^r[u++],v=i[h>>>24]^o[l>>>16&255]^n[d>>>8&255]^s[255&f]^r[u++],_=i[l>>>24]^o[d>>>16&255]^n[f>>>8&255]^s[255&h]^r[u++],g=i[d>>>24]^o[f>>>16&255]^n[h>>>8&255]^s[255&l]^r[u++];f=y,h=v,l=_,d=g}y=(a[f>>>24]<<24|a[h>>>16&255]<<16|a[l>>>8&255]<<8|a[255&d])^r[u++],v=(a[h>>>24]<<24|a[l>>>16&255]<<16|a[d>>>8&255]<<8|a[255&f])^r[u++],_=(a[l>>>24]<<24|a[d>>>16&255]<<16|a[f>>>8&255]<<8|a[255&h])^r[u++],g=(a[d>>>24]<<24|a[f>>>16&255]<<16|a[h>>>8&255]<<8|a[255&l])^r[u++],e[t]=y,e[t+1]=v,e[t+2]=_,e[t+3]=g},keySize:8});t.AES=r._createHelper(y)}(),e.AES},"object"==typeof e?t.exports=e=o(S(),qq(),$q(),r(),f()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})),vQ=C(((e,t)=>{var i,o;i=e,o=function(e){return function(){var t=e,r=t.lib,i=r.WordArray,o=r.BlockCipher,n=t.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],h=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],l=n.DES=o.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var i=s[r]-1;t[r]=e[i>>>5]>>>31-i%32&1}for(var o=this._subKeys=[],n=0;n<16;n++){var f=o[n]=[],h=c[n];for(r=0;r<24;r++)f[r/6|0]|=t[(a[r]-1+h)%28]<<31-r%6,f[4+(r/6|0)]|=t[28+(a[r+24]-1+h)%28]<<31-r%6;for(f[0]=f[0]<<1|f[0]>>>31,r=1;r<7;r++)f[r]=f[r]>>>4*(r-1)+3;f[7]=f[7]<<5|f[7]>>>27}var l=this._invSubKeys=[];for(r=0;r<16;r++)l[r]=o[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,252645135),d.call(this,16,65535),u.call(this,2,858993459),u.call(this,8,16711935),d.call(this,1,1431655765);for(var i=0;i<16;i++){for(var o=r[i],n=this._lBlock,s=this._rBlock,a=0,c=0;c<8;c++)a|=f[c][((s^o[c])&h[c])>>>0];this._lBlock=s,this._rBlock=n^a}var l=this._lBlock;this._lBlock=this._rBlock,this._rBlock=l,d.call(this,1,1431655765),u.call(this,8,16711935),u.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function u(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}t.DES=o._createHelper(l);var p=n.TripleDES=o.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),r=e.length<4?e.slice(0,2):e.slice(2,4),o=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=l.createEncryptor(i.create(t)),this._des2=l.createEncryptor(i.create(r)),this._des3=l.createEncryptor(i.create(o))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=o._createHelper(p)}(),e.TripleDES},"object"==typeof e?t.exports=e=o(S(),qq(),$q(),r(),f()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})),LQ=C(((e,t)=>{var i,o;i=e,o=function(e){return function(){var t=e,r=t.lib.StreamCipher,i=t.algo,o=i.RC4=r.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,i=this._S=[],o=0;o<256;o++)i[o]=o;o=0;for(var n=0;o<256;o++){var s=o%r,a=t[s>>>2]>>>24-s%4*8&255;n=(n+i[o]+a)%256;var c=i[o];i[o]=i[n],i[n]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=n.call(this)},keySize:8,ivSize:0});function n(){for(var e=this._S,t=this._i,r=this._j,i=0,o=0;o<4;o++){r=(r+e[t=(t+1)%256])%256;var n=e[t];e[t]=e[r],e[r]=n,i|=e[(e[t]+e[r])%256]<<24-8*o}return this._i=t,this._j=r,i}t.RC4=r._createHelper(o);var s=i.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)n.call(this)}});t.RC4Drop=r._createHelper(s)}(),e.RC4},"object"==typeof e?t.exports=e=o(S(),qq(),$q(),r(),f()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})),TQ=C(((e,t)=>{var i,o;i=e,o=function(e){return function(){var t=e,r=t.lib.StreamCipher,i=t.algo,o=[],n=[],s=[],a=i.Rabbit=r.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)o[r]^=i[r+4&7];if(t){var n=t.words,s=n[0],a=n[1],f=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),l=f>>>16|4294901760&h,d=h<<16|65535&f;for(o[0]^=f,o[1]^=l,o[2]^=h,o[3]^=d,o[4]^=f,o[5]^=l,o[6]^=h,o[7]^=d,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(e,t){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var i=0;i<4;i++)o[i]=16711935&(o[i]<<8|o[i]>>>24)|4278255360&(o[i]<<24|o[i]>>>8),e[t+i]^=o[i]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,r=0;r<8;r++)n[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<n[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<n[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<n[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<n[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<n[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<n[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<n[6]>>>0?1:0)|0,this._b=t[7]>>>0<n[7]>>>0?1:0,r=0;r<8;r++){var i=e[r]+t[r],o=65535&i,a=i>>>16,c=((o*o>>>17)+o*a>>>15)+a*a,f=((4294901760&i)*i|0)+((65535&i)*i|0);s[r]=c^f}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.Rabbit=r._createHelper(a)}(),e.Rabbit},"object"==typeof e?t.exports=e=o(S(),qq(),$q(),r(),f()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})),IQ=C(((e,t)=>{var i,o;i=e,o=function(e){return function(){var t=e,r=t.lib.StreamCipher,i=t.algo,o=[],n=[],s=[],a=i.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)c.call(this);for(o=0;o<8;o++)i[o]^=r[o+4&7];if(t){var n=t.words,s=n[0],a=n[1],f=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),l=f>>>16|4294901760&h,d=h<<16|65535&f;for(i[0]^=f,i[1]^=l,i[2]^=h,i[3]^=d,i[4]^=f,i[5]^=l,i[6]^=h,i[7]^=d,o=0;o<4;o++)c.call(this)}},_doProcessBlock:function(e,t){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var i=0;i<4;i++)o[i]=16711935&(o[i]<<8|o[i]>>>24)|4278255360&(o[i]<<24|o[i]>>>8),e[t+i]^=o[i]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,r=0;r<8;r++)n[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<n[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<n[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<n[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<n[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<n[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<n[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<n[6]>>>0?1:0)|0,this._b=t[7]>>>0<n[7]>>>0?1:0,r=0;r<8;r++){var i=e[r]+t[r],o=65535&i,a=i>>>16,c=((o*o>>>17)+o*a>>>15)+a*a,f=((4294901760&i)*i|0)+((65535&i)*i|0);s[r]=c^f}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.RabbitLegacy=r._createHelper(a)}(),e.RabbitLegacy},"object"==typeof e?t.exports=e=o(S(),qq(),$q(),r(),f()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})),wQ=C(((e,t)=>{var i,o;i=e,o=function(e){return function(){var t=e,r=t.lib.BlockCipher,i=t.algo;const o=16,n=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var a={pbox:[],sbox:[]};function c(e,t){let r=t>>24&255,i=t>>16&255,o=t>>8&255,n=255&t,s=e.sbox[0][r]+e.sbox[1][i];return s^=e.sbox[2][o],s+=e.sbox[3][n],s}function f(e,t,r){let i,n=t,s=r;for(let t=0;t<o;++t)n^=e.pbox[t],s=c(e,n)^s,i=n,n=s,s=i;return i=n,n=s,s=i,s^=e.pbox[o],n^=e.pbox[17],{left:n,right:s}}var h=i.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4;!function(e,t,r){for(let t=0;t<4;t++){e.sbox[t]=[];for(let r=0;r<256;r++)e.sbox[t][r]=s[t][r]}let i=0;for(let o=0;o<18;o++)e.pbox[o]=n[o]^t[i],i++,i>=r&&(i=0);let o=0,a=0,c=0;for(let t=0;t<18;t+=2)c=f(e,o,a),o=c.left,a=c.right,e.pbox[t]=o,e.pbox[t+1]=a;for(let t=0;t<4;t++)for(let r=0;r<256;r+=2)c=f(e,o,a),o=c.left,a=c.right,e.sbox[t][r]=o,e.sbox[t][r+1]=a}(a,t,r)}},encryptBlock:function(e,t){var r=f(a,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},decryptBlock:function(e,t){var r=function(e,t,r){let i,o=t,n=r;for(let t=17;t>1;--t)o^=e.pbox[t],n=c(e,o)^n,i=o,o=n,n=i;return i=o,o=n,n=i,n^=e.pbox[1],o^=e.pbox[0],{left:o,right:n}}(a,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=r._createHelper(h)}(),e.Blowfish},"object"==typeof e?t.exports=e=o(S(),qq(),$q(),r(),f()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],o):o(i.CryptoJS)})),HQ=C(((e,t)=>{var i,o;i=e,o=function(e){return e},"object"==typeof e?t.exports=e=o(S(),Oq(),I$(),w$(),qq(),k$(),$q(),Z$(),wq(),g$(),Y$(),n$(),h$(),S$(),bq(),d$(),r(),f(),i$(),o$(),r$(),e$(),$Q(),ZQ(),EQ(),DQ(),VQ(),UQ(),jQ(),GQ(),vQ(),LQ(),TQ(),IQ(),wQ()):"function"==typeof define&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./enc-base64url","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy","./blowfish"],o):i.CryptoJS=i.CryptoJS})),F$=iQ(HQ(),1);const E$=require("fs");var kQ=F$.default.AES,oQ=F$.default.enc;class BQ{queue=[];password;filePath;tables={};constructor(e,t){this.tables={},this.filePath=e||"./database.ht",this.password=t,this.queue=[]}createTable(e,t=[]){if(this.readFromFile(),this.tables[e])throw new Error(`Table "${e}" already exists.`);this.tables[e]={columns:t,records:[]},this.saveToFile()}createTableIfNotExists(e,t){this.readFromFile(),this.tables[e]||(this.tables[e]={columns:t,records:[]},this.saveToFile())}deleteTable(e){if(this.readFromFile(),!this.tables[e])throw new Error(`Table "${e}" does not exist.`);delete this.tables[e],this.saveToFile()}deleteTableIfExists(e){this.readFromFile(),this.tables[e]&&(delete this.tables[e],this.saveToFile())}addColumn(e,t,r){if(this.readFromFile(),!this.tables[e])throw new Error(`Table "${e}" does not exist.`);if(this.tables[e].columns.includes(t))throw new Error(`Column "${t}" already exists in table "${e}".`);this.tables[e].columns.push(t);for(let i of this.tables[e].records)i[t]=r??null;this.saveToFile()}deleteColumn(e,t){if(this.readFromFile(),!this.tables[e])throw new Error(`Table "${e}" does not exist.`);if(!this.tables[e].columns.includes(t))throw new Error(`Column "${t}" does not exist in table "${e}".`);const r=this.tables[e].columns.indexOf(t);this.tables[e].columns.splice(r,1);for(let r of this.tables[e].records)delete r[t];this.saveToFile()}insert(e,t){this.queue.push({method:"insert",table:e,record:t}),1===this.queue.length&&this.processQueue()}update(e,t,r){this.queue.push({method:"update",table:e,query:t,newData:r}),1===this.queue.length&&this.processQueue()}select(e,t={}){if(this.readFromFile(),!this.tables[e])throw new Error(`Table "${e}" does not exist.`);return this.tables[e].records.filter((e=>Object.entries(t).every((([t,r])=>e[t]===r))))}delete(e,t={}){this.queue.push({method:"delete",table:e,query:t}),1===this.queue.length&&this.processQueue()}readTables(){return this.readFromFile(),this.tables}dropAll(){this.queue.push({method:"dropAllData"}),1===this.queue.length&&this.processQueue()}processQueue(){const e=this.queue[0];switch(e.method){case"insert":if(!e.table)throw new Error("Table name is required.");this.insertTable(e.table,e.record);break;case"update":if(!e.table)throw new Error("Table name is required.");this.updateTable(e.table,e.query,e.newData);break;case"delete":if(!e.table)throw new Error("Table name is required.");this.deleteFromTable(e.table,e.query);break;case"dropAllData":this.dropAllData();break}}insertTable(e,t){if(this.readFromFile(),!this.tables[e])throw new Error(`Table "${e}" does not exist.`);const r=this.tables[e],i={};for(let e of r.columns)i[e]=t[e]||null;r.records.push(i),this.saveToFile(),this.queue.shift(),this.queue.length>0&&this.processQueue()}updateTable(e,t,r){if(this.readFromFile(),!this.tables[e])throw new Error(`Table "${e}" does not exist.`);const i=this.tables[e],o=i.records.map((e=>{const o=Object.entries(r);for(let[r,n]of o)i.columns.includes(r)&&Object.entries(t).every((([t,r])=>e[t]===r))&&(e[r]=n);return e}));i.records=o,this.saveToFile(),this.queue.shift(),this.queue.length>0&&this.processQueue()}deleteFromTable(e,t){if(this.readFromFile(),!this.tables[e])throw new Error(`Table "${e}" does not exist.`);this.tables[e].records=this.tables[e].records.filter((e=>!Object.entries(t).every((([t,r])=>e[t]===r)))),this.saveToFile(),this.queue.shift(),this.queue.length>0&&this.processQueue()}dropAllData(){this.readFromFile();for(let e in this.tables)this.tables[e].records=[];this.saveToFile(),this.queue.shift(),this.queue.length>0&&this.processQueue()}saveToFile(){if(!this.filePath.endsWith(".ht"))throw new Error(`File path must include '.ht': ${this.filePath}`);const e=JSON.stringify(this.tables),t=kQ.encrypt(e,this.password).toString();E$.writeFileSync(this.filePath,t)}readFromFile(){if(!E$.existsSync(this.filePath))return;const e=E$.readFileSync(this.filePath,"utf8"),t=kQ.decrypt(e,this.password).toString(oQ.Utf8);try{this.tables=JSON.parse(t)}catch{this.tables={}}}}module.exports=BQ;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -76,12 +76,21 @@ const users3 = database.select("users");
|
|
|
76
76
|
console.log("----------------------------------");
|
|
77
77
|
|
|
78
78
|
console.log(users3);
|
|
79
|
+
|
|
80
|
+
database.dropAll();
|
|
81
|
+
|
|
82
|
+
const users4 = database.select("users");
|
|
83
|
+
|
|
84
|
+
console.log("----------------------------------");
|
|
85
|
+
|
|
86
|
+
console.log(users4);
|
|
79
87
|
```
|
|
80
88
|
|
|
81
89
|
## Functions
|
|
82
90
|
|
|
83
91
|
| Function | Description |
|
|
84
92
|
| ------------------------ | ---------------------------------------------- |
|
|
93
|
+
| `dropAll` | To drop all data from a table |
|
|
85
94
|
| `readTables` | To read the tables from the database |
|
|
86
95
|
| `createTable` | To create a table |
|
|
87
96
|
| `deleteTable` | To delete a table |
|