UNPKG

facezkp

Version:

Face analysis library with liveness detection, biometric template extraction, and fuzzy hashing for privacy-preserving identity verification.

1 lines 2.18 MB
"use strict";var FaceZK=(()=>{var kV=Object.create;var Nm=Object.defineProperty;var SV=Object.getOwnPropertyDescriptor;var IV=Object.getOwnPropertyNames;var CV=Object.getPrototypeOf,EV=Object.prototype.hasOwnProperty;var e8=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var qe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Kn=(e,t)=>{for(var n in t)Nm(e,n,{get:t[n],enumerable:!0})},t8=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of IV(t))!EV.call(e,a)&&a!==n&&Nm(e,a,{get:()=>t[a],enumerable:!(r=SV(t,a))||r.enumerable});return e};var _m=(e,t,n)=>(n=e!=null?kV(CV(e)):{},t8(t||!e||!e.__esModule?Nm(n,"default",{value:e,enumerable:!0}):n,e)),TV=e=>t8(Nm({},"__esModule",{value:!0}),e);var b8=qe((jPe,A8)=>{A8.exports=jt;var wa=null;try{wa=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function jt(e,t,n){this.low=e|0,this.high=t|0,this.unsigned=!!n}jt.prototype.__isLong__;Object.defineProperty(jt.prototype,"__isLong__",{value:!0});function jr(e){return(e&&e.__isLong__)===!0}jt.isLong=jr;var d8={},p8={};function el(e,t){var n,r,a;return t?(e>>>=0,(a=0<=e&&e<256)&&(r=p8[e],r)?r:(n=Kt(e,(e|0)<0?-1:0,!0),a&&(p8[e]=n),n)):(e|=0,(a=-128<=e&&e<128)&&(r=d8[e],r)?r:(n=Kt(e,e<0?-1:0,!1),a&&(d8[e]=n),n))}jt.fromInt=el;function ka(e,t){if(isNaN(e))return t?Qi:Sa;if(t){if(e<0)return Qi;if(e>=m8)return y8}else{if(e<=-h8)return qr;if(e+1>=h8)return g8}return e<0?ka(-e,t).neg():Kt(e%Ep|0,e/Ep|0,t)}jt.fromNumber=ka;function Kt(e,t,n){return new jt(e,t,n)}jt.fromBits=Kt;var Vm=Math.pow;function A5(e,t,n){if(e.length===0)throw Error("empty string");if(e==="NaN"||e==="Infinity"||e==="+Infinity"||e==="-Infinity")return Sa;if(typeof t=="number"?(n=t,t=!1):t=!!t,n=n||10,n<2||36<n)throw RangeError("radix");var r;if((r=e.indexOf("-"))>0)throw Error("interior hyphen");if(r===0)return A5(e.substring(1),t,n).neg();for(var a=ka(Vm(n,8)),s=Sa,o=0;o<e.length;o+=8){var i=Math.min(8,e.length-o),l=parseInt(e.substring(o,o+i),n);if(i<8){var u=ka(Vm(n,i));s=s.mul(u).add(ka(l))}else s=s.mul(a),s=s.add(ka(l))}return s.unsigned=t,s}jt.fromString=A5;function Ga(e,t){return typeof e=="number"?ka(e,t):typeof e=="string"?A5(e,t):Kt(e.low,e.high,typeof t=="boolean"?t:e.unsigned)}jt.fromValue=Ga;var c8=65536,bU=1<<24,Ep=c8*c8,m8=Ep*Ep,h8=m8/2,f8=el(bU),Sa=el(0);jt.ZERO=Sa;var Qi=el(0,!0);jt.UZERO=Qi;var Cp=el(1);jt.ONE=Cp;var x8=el(1,!0);jt.UONE=x8;var y5=el(-1);jt.NEG_ONE=y5;var g8=Kt(-1,2147483647,!1);jt.MAX_VALUE=g8;var y8=Kt(-1,-1,!0);jt.MAX_UNSIGNED_VALUE=y8;var qr=Kt(0,-2147483648,!1);jt.MIN_VALUE=qr;var Ae=jt.prototype;Ae.toInt=function(){return this.unsigned?this.low>>>0:this.low};Ae.toNumber=function(){return this.unsigned?(this.high>>>0)*Ep+(this.low>>>0):this.high*Ep+(this.low>>>0)};Ae.toString=function(t){if(t=t||10,t<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative())if(this.eq(qr)){var n=ka(t),r=this.div(n),a=r.mul(n).sub(this);return r.toString(t)+a.toInt().toString(t)}else return"-"+this.neg().toString(t);for(var s=ka(Vm(t,6),this.unsigned),o=this,i="";;){var l=o.div(s),u=o.sub(l.mul(s)).toInt()>>>0,d=u.toString(t);if(o=l,o.isZero())return d+i;for(;d.length<6;)d="0"+d;i=""+d+i}};Ae.getHighBits=function(){return this.high};Ae.getHighBitsUnsigned=function(){return this.high>>>0};Ae.getLowBits=function(){return this.low};Ae.getLowBitsUnsigned=function(){return this.low>>>0};Ae.getNumBitsAbs=function(){if(this.isNegative())return this.eq(qr)?64:this.neg().getNumBitsAbs();for(var t=this.high!=0?this.high:this.low,n=31;n>0&&!(t&1<<n);n--);return this.high!=0?n+33:n+1};Ae.isZero=function(){return this.high===0&&this.low===0};Ae.eqz=Ae.isZero;Ae.isNegative=function(){return!this.unsigned&&this.high<0};Ae.isPositive=function(){return this.unsigned||this.high>=0};Ae.isOdd=function(){return(this.low&1)===1};Ae.isEven=function(){return(this.low&1)===0};Ae.equals=function(t){return jr(t)||(t=Ga(t)),this.unsigned!==t.unsigned&&this.high>>>31===1&&t.high>>>31===1?!1:this.high===t.high&&this.low===t.low};Ae.eq=Ae.equals;Ae.notEquals=function(t){return!this.eq(t)};Ae.neq=Ae.notEquals;Ae.ne=Ae.notEquals;Ae.lessThan=function(t){return this.comp(t)<0};Ae.lt=Ae.lessThan;Ae.lessThanOrEqual=function(t){return this.comp(t)<=0};Ae.lte=Ae.lessThanOrEqual;Ae.le=Ae.lessThanOrEqual;Ae.greaterThan=function(t){return this.comp(t)>0};Ae.gt=Ae.greaterThan;Ae.greaterThanOrEqual=function(t){return this.comp(t)>=0};Ae.gte=Ae.greaterThanOrEqual;Ae.ge=Ae.greaterThanOrEqual;Ae.compare=function(t){if(jr(t)||(t=Ga(t)),this.eq(t))return 0;var n=this.isNegative(),r=t.isNegative();return n&&!r?-1:!n&&r?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1};Ae.comp=Ae.compare;Ae.negate=function(){return!this.unsigned&&this.eq(qr)?qr:this.not().add(Cp)};Ae.neg=Ae.negate;Ae.add=function(t){jr(t)||(t=Ga(t));var n=this.high>>>16,r=this.high&65535,a=this.low>>>16,s=this.low&65535,o=t.high>>>16,i=t.high&65535,l=t.low>>>16,u=t.low&65535,d=0,c=0,p=0,h=0;return h+=s+u,p+=h>>>16,h&=65535,p+=a+l,c+=p>>>16,p&=65535,c+=r+i,d+=c>>>16,c&=65535,d+=n+o,d&=65535,Kt(p<<16|h,d<<16|c,this.unsigned)};Ae.subtract=function(t){return jr(t)||(t=Ga(t)),this.add(t.neg())};Ae.sub=Ae.subtract;Ae.multiply=function(t){if(this.isZero())return Sa;if(jr(t)||(t=Ga(t)),wa){var n=wa.mul(this.low,this.high,t.low,t.high);return Kt(n,wa.get_high(),this.unsigned)}if(t.isZero())return Sa;if(this.eq(qr))return t.isOdd()?qr:Sa;if(t.eq(qr))return this.isOdd()?qr:Sa;if(this.isNegative())return t.isNegative()?this.neg().mul(t.neg()):this.neg().mul(t).neg();if(t.isNegative())return this.mul(t.neg()).neg();if(this.lt(f8)&&t.lt(f8))return ka(this.toNumber()*t.toNumber(),this.unsigned);var r=this.high>>>16,a=this.high&65535,s=this.low>>>16,o=this.low&65535,i=t.high>>>16,l=t.high&65535,u=t.low>>>16,d=t.low&65535,c=0,p=0,h=0,f=0;return f+=o*d,h+=f>>>16,f&=65535,h+=s*d,p+=h>>>16,h&=65535,h+=o*u,p+=h>>>16,h&=65535,p+=a*d,c+=p>>>16,p&=65535,p+=s*u,c+=p>>>16,p&=65535,p+=o*l,c+=p>>>16,p&=65535,c+=r*d+a*u+s*l+o*i,c&=65535,Kt(h<<16|f,c<<16|p,this.unsigned)};Ae.mul=Ae.multiply;Ae.divide=function(t){if(jr(t)||(t=Ga(t)),t.isZero())throw Error("division by zero");if(wa){if(!this.unsigned&&this.high===-2147483648&&t.low===-1&&t.high===-1)return this;var n=(this.unsigned?wa.div_u:wa.div_s)(this.low,this.high,t.low,t.high);return Kt(n,wa.get_high(),this.unsigned)}if(this.isZero())return this.unsigned?Qi:Sa;var r,a,s;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return Qi;if(t.gt(this.shru(1)))return x8;s=Qi}else{if(this.eq(qr)){if(t.eq(Cp)||t.eq(y5))return qr;if(t.eq(qr))return Cp;var o=this.shr(1);return r=o.div(t).shl(1),r.eq(Sa)?t.isNegative()?Cp:y5:(a=this.sub(t.mul(r)),s=r.add(a.div(t)),s)}else if(t.eq(qr))return this.unsigned?Qi:Sa;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();s=Sa}for(a=this;a.gte(t);){r=Math.max(1,Math.floor(a.toNumber()/t.toNumber()));for(var i=Math.ceil(Math.log(r)/Math.LN2),l=i<=48?1:Vm(2,i-48),u=ka(r),d=u.mul(t);d.isNegative()||d.gt(a);)r-=l,u=ka(r,this.unsigned),d=u.mul(t);u.isZero()&&(u=Cp),s=s.add(u),a=a.sub(d)}return s};Ae.div=Ae.divide;Ae.modulo=function(t){if(jr(t)||(t=Ga(t)),wa){var n=(this.unsigned?wa.rem_u:wa.rem_s)(this.low,this.high,t.low,t.high);return Kt(n,wa.get_high(),this.unsigned)}return this.sub(this.div(t).mul(t))};Ae.mod=Ae.modulo;Ae.rem=Ae.modulo;Ae.not=function(){return Kt(~this.low,~this.high,this.unsigned)};Ae.and=function(t){return jr(t)||(t=Ga(t)),Kt(this.low&t.low,this.high&t.high,this.unsigned)};Ae.or=function(t){return jr(t)||(t=Ga(t)),Kt(this.low|t.low,this.high|t.high,this.unsigned)};Ae.xor=function(t){return jr(t)||(t=Ga(t)),Kt(this.low^t.low,this.high^t.high,this.unsigned)};Ae.shiftLeft=function(t){return jr(t)&&(t=t.toInt()),(t&=63)===0?this:t<32?Kt(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):Kt(0,this.low<<t-32,this.unsigned)};Ae.shl=Ae.shiftLeft;Ae.shiftRight=function(t){return jr(t)&&(t=t.toInt()),(t&=63)===0?this:t<32?Kt(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):Kt(this.high>>t-32,this.high>=0?0:-1,this.unsigned)};Ae.shr=Ae.shiftRight;Ae.shiftRightUnsigned=function(t){if(jr(t)&&(t=t.toInt()),t&=63,t===0)return this;var n=this.high;if(t<32){var r=this.low;return Kt(r>>>t|n<<32-t,n>>>t,this.unsigned)}else return t===32?Kt(n,0,this.unsigned):Kt(n>>>t-32,0,this.unsigned)};Ae.shru=Ae.shiftRightUnsigned;Ae.shr_u=Ae.shiftRightUnsigned;Ae.toSigned=function(){return this.unsigned?Kt(this.low,this.high,!1):this};Ae.toUnsigned=function(){return this.unsigned?this:Kt(this.low,this.high,!0)};Ae.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()};Ae.toBytesLE=function(){var t=this.high,n=this.low;return[n&255,n>>>8&255,n>>>16&255,n>>>24,t&255,t>>>8&255,t>>>16&255,t>>>24]};Ae.toBytesBE=function(){var t=this.high,n=this.low;return[t>>>24,t>>>16&255,t>>>8&255,t&255,n>>>24,n>>>16&255,n>>>8&255,n&255]};jt.fromBytes=function(t,n,r){return r?jt.fromBytesLE(t,n):jt.fromBytesBE(t,n)};jt.fromBytesLE=function(t,n){return new jt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)};jt.fromBytesBE=function(t,n){return new jt(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)}});var oS=qe(()=>{});var iS=qe(()=>{});var BI=qe((OI,J5)=>{(function(e,t,n){function r(i){var l=this,u=o();l.next=function(){var d=2091639*l.s0+l.c*23283064365386963e-26;return l.s0=l.s1,l.s1=l.s2,l.s2=d-(l.c=d|0)},l.c=1,l.s0=u(" "),l.s1=u(" "),l.s2=u(" "),l.s0-=u(i),l.s0<0&&(l.s0+=1),l.s1-=u(i),l.s1<0&&(l.s1+=1),l.s2-=u(i),l.s2<0&&(l.s2+=1),u=null}function a(i,l){return l.c=i.c,l.s0=i.s0,l.s1=i.s1,l.s2=i.s2,l}function s(i,l){var u=new r(i),d=l&&l.state,c=u.next;return c.int32=function(){return u.next()*4294967296|0},c.double=function(){return c()+(c()*2097152|0)*11102230246251565e-32},c.quick=c,d&&(typeof d=="object"&&a(d,u),c.state=function(){return a(u,{})}),c}function o(){var i=4022871197,l=function(u){u=String(u);for(var d=0;d<u.length;d++){i+=u.charCodeAt(d);var c=.02519603282416938*i;i=c>>>0,c-=i,c*=i,i=c>>>0,c-=i,i+=c*4294967296}return(i>>>0)*23283064365386963e-26};return l}t&&t.exports?t.exports=s:n&&n.amd?n(function(){return s}):this.alea=s})(OI,typeof J5=="object"&&J5,typeof define=="function"&&define)});var LI=qe((zI,Q5)=>{(function(e,t,n){function r(o){var i=this,l="";i.x=0,i.y=0,i.z=0,i.w=0,i.next=function(){var d=i.x^i.x<<11;return i.x=i.y,i.y=i.z,i.z=i.w,i.w^=i.w>>>19^d^d>>>8},o===(o|0)?i.x=o:l+=o;for(var u=0;u<l.length+64;u++)i.x^=l.charCodeAt(u)|0,i.next()}function a(o,i){return i.x=o.x,i.y=o.y,i.z=o.z,i.w=o.w,i}function s(o,i){var l=new r(o),u=i&&i.state,d=function(){return(l.next()>>>0)/4294967296};return d.double=function(){do var c=l.next()>>>11,p=(l.next()>>>0)/4294967296,h=(c+p)/(1<<21);while(h===0);return h},d.int32=l.next,d.quick=d,u&&(typeof u=="object"&&a(u,l),d.state=function(){return a(l,{})}),d}t&&t.exports?t.exports=s:n&&n.amd?n(function(){return s}):this.xor128=s})(zI,typeof Q5=="object"&&Q5,typeof define=="function"&&define)});var VI=qe((WI,ew)=>{(function(e,t,n){function r(o){var i=this,l="";i.next=function(){var d=i.x^i.x>>>2;return i.x=i.y,i.y=i.z,i.z=i.w,i.w=i.v,(i.d=i.d+362437|0)+(i.v=i.v^i.v<<4^(d^d<<1))|0},i.x=0,i.y=0,i.z=0,i.w=0,i.v=0,o===(o|0)?i.x=o:l+=o;for(var u=0;u<l.length+64;u++)i.x^=l.charCodeAt(u)|0,u==l.length&&(i.d=i.x<<10^i.x>>>4),i.next()}function a(o,i){return i.x=o.x,i.y=o.y,i.z=o.z,i.w=o.w,i.v=o.v,i.d=o.d,i}function s(o,i){var l=new r(o),u=i&&i.state,d=function(){return(l.next()>>>0)/4294967296};return d.double=function(){do var c=l.next()>>>11,p=(l.next()>>>0)/4294967296,h=(c+p)/(1<<21);while(h===0);return h},d.int32=l.next,d.quick=d,u&&(typeof u=="object"&&a(u,l),d.state=function(){return a(l,{})}),d}t&&t.exports?t.exports=s:n&&n.amd?n(function(){return s}):this.xorwow=s})(WI,typeof ew=="object"&&ew,typeof define=="function"&&define)});var GI=qe((UI,tw)=>{(function(e,t,n){function r(o){var i=this;i.next=function(){var u=i.x,d=i.i,c,p,h;return c=u[d],c^=c>>>7,p=c^c<<24,c=u[d+1&7],p^=c^c>>>10,c=u[d+3&7],p^=c^c>>>3,c=u[d+4&7],p^=c^c<<7,c=u[d+7&7],c=c^c<<13,p^=c^c<<9,u[d]=p,i.i=d+1&7,p};function l(u,d){var c,p,h=[];if(d===(d|0))p=h[0]=d;else for(d=""+d,c=0;c<d.length;++c)h[c&7]=h[c&7]<<15^d.charCodeAt(c)+h[c+1&7]<<13;for(;h.length<8;)h.push(0);for(c=0;c<8&&h[c]===0;++c);for(c==8?p=h[7]=-1:p=h[c],u.x=h,u.i=0,c=256;c>0;--c)u.next()}l(i,o)}function a(o,i){return i.x=o.x.slice(),i.i=o.i,i}function s(o,i){o==null&&(o=+new Date);var l=new r(o),u=i&&i.state,d=function(){return(l.next()>>>0)/4294967296};return d.double=function(){do var c=l.next()>>>11,p=(l.next()>>>0)/4294967296,h=(c+p)/(1<<21);while(h===0);return h},d.int32=l.next,d.quick=d,u&&(u.x&&a(u,l),d.state=function(){return a(l,{})}),d}t&&t.exports?t.exports=s:n&&n.amd?n(function(){return s}):this.xorshift7=s})(UI,typeof tw=="object"&&tw,typeof define=="function"&&define)});var qI=qe((HI,nw)=>{(function(e,t,n){function r(o){var i=this;i.next=function(){var u=i.w,d=i.X,c=i.i,p,h;return i.w=u=u+1640531527|0,h=d[c+34&127],p=d[c=c+1&127],h^=h<<13,p^=p<<17,h^=h>>>15,p^=p>>>12,h=d[c]=h^p,i.i=c,h+(u^u>>>16)|0};function l(u,d){var c,p,h,f,m,x=[],g=128;for(d===(d|0)?(p=d,d=null):(d=d+"\0",p=0,g=Math.max(g,d.length)),h=0,f=-32;f<g;++f)d&&(p^=d.charCodeAt((f+32)%d.length)),f===0&&(m=p),p^=p<<10,p^=p>>>15,p^=p<<4,p^=p>>>13,f>=0&&(m=m+1640531527|0,c=x[f&127]^=p+m,h=c==0?h+1:0);for(h>=128&&(x[(d&&d.length||0)&127]=-1),h=127,f=4*128;f>0;--f)p=x[h+34&127],c=x[h=h+1&127],p^=p<<13,c^=c<<17,p^=p>>>15,c^=c>>>12,x[h]=p^c;u.w=m,u.X=x,u.i=h}l(i,o)}function a(o,i){return i.i=o.i,i.w=o.w,i.X=o.X.slice(),i}function s(o,i){o==null&&(o=+new Date);var l=new r(o),u=i&&i.state,d=function(){return(l.next()>>>0)/4294967296};return d.double=function(){do var c=l.next()>>>11,p=(l.next()>>>0)/4294967296,h=(c+p)/(1<<21);while(h===0);return h},d.int32=l.next,d.quick=d,u&&(u.X&&a(u,l),d.state=function(){return a(l,{})}),d}t&&t.exports?t.exports=s:n&&n.amd?n(function(){return s}):this.xor4096=s})(HI,typeof nw=="object"&&nw,typeof define=="function"&&define)});var KI=qe((jI,rw)=>{(function(e,t,n){function r(o){var i=this,l="";i.next=function(){var d=i.b,c=i.c,p=i.d,h=i.a;return d=d<<25^d>>>7^c,c=c-p|0,p=p<<24^p>>>8^h,h=h-d|0,i.b=d=d<<20^d>>>12^c,i.c=c=c-p|0,i.d=p<<16^c>>>16^h,i.a=h-d|0},i.a=0,i.b=0,i.c=-1640531527,i.d=1367130551,o===Math.floor(o)?(i.a=o/4294967296|0,i.b=o|0):l+=o;for(var u=0;u<l.length+20;u++)i.b^=l.charCodeAt(u)|0,i.next()}function a(o,i){return i.a=o.a,i.b=o.b,i.c=o.c,i.d=o.d,i}function s(o,i){var l=new r(o),u=i&&i.state,d=function(){return(l.next()>>>0)/4294967296};return d.double=function(){do var c=l.next()>>>11,p=(l.next()>>>0)/4294967296,h=(c+p)/(1<<21);while(h===0);return h},d.int32=l.next,d.quick=d,u&&(typeof u=="object"&&a(u,l),d.state=function(){return a(l,{})}),d}t&&t.exports?t.exports=s:n&&n.amd?n(function(){return s}):this.tychei=s})(jI,typeof rw=="object"&&rw,typeof define=="function"&&define)});var aw=qe(()=>{});var ZI=qe((XI,Nx)=>{(function(e,t,n){var r=256,a=6,s=52,o="random",i=n.pow(r,a),l=n.pow(2,s),u=l*2,d=r-1,c;function p(A,b,v){var w=[];b=b==!0?{entropy:!0}:b||{};var C=x(m(b.entropy?[A,y(t)]:A??g(),3),w),T=new h(w),$=function(){for(var M=T.g(a),N=i,k=0;M<l;)M=(M+k)*r,N*=r,k=T.g(1);for(;M>=u;)M/=2,N/=2,k>>>=1;return(M+k)/N};return $.int32=function(){return T.g(4)|0},$.quick=function(){return T.g(4)/4294967296},$.double=$,x(y(T.S),t),(b.pass||v||function(M,N,k,P){return P&&(P.S&&f(P,T),M.state=function(){return f(T,{})}),k?(n[o]=M,N):M})($,C,"global"in b?b.global:this==n,b.state)}function h(A){var b,v=A.length,w=this,C=0,T=w.i=w.j=0,$=w.S=[];for(v||(A=[v++]);C<r;)$[C]=C++;for(C=0;C<r;C++)$[C]=$[T=d&T+A[C%v]+(b=$[C])],$[T]=b;(w.g=function(M){for(var N,k=0,P=w.i,F=w.j,V=w.S;M--;)N=V[P=d&P+1],k=k*r+V[d&(V[P]=V[F=d&F+N])+(V[F]=N)];return w.i=P,w.j=F,k})(r)}function f(A,b){return b.i=A.i,b.j=A.j,b.S=A.S.slice(),b}function m(A,b){var v=[],w=typeof A,C;if(b&&w=="object")for(C in A)try{v.push(m(A[C],b-1))}catch{}return v.length?v:w=="string"?A:A+"\0"}function x(A,b){for(var v=A+"",w,C=0;C<v.length;)b[d&C]=d&(w^=b[d&C]*19)+v.charCodeAt(C++);return y(b)}function g(){try{var A;return c&&(A=c.randomBytes)?A=A(r):(A=new Uint8Array(r),(e.crypto||e.msCrypto).getRandomValues(A)),y(A)}catch{var b=e.navigator,v=b&&b.plugins;return[+new Date,e,v,e.screen,y(t)]}}function y(A){return String.fromCharCode.apply(0,A)}if(x(n.random(),t),typeof Nx=="object"&&Nx.exports){Nx.exports=p;try{c=aw()}catch{}}else typeof define=="function"&&define.amd?define(function(){return p}):n["seed"+o]=p})(typeof self<"u"?self:XI,[],Math)});var JI=qe((_Qe,YI)=>{var ij=BI(),lj=LI(),uj=VI(),dj=GI(),pj=qI(),cj=KI(),fl=ZI();fl.alea=ij;fl.xor128=lj;fl.xorwow=uj;fl.xorshift7=dj;fl.xor4096=pj;fl.tychei=cj;YI.exports=fl});var yt=qe((tg,tT)=>{(function(e,t){typeof tg=="object"?tT.exports=tg=t():typeof define=="function"&&define.amd?define([],t):e.CryptoJS=t()})(tg,function(){var e=e||function(t,n){var r;if(typeof window<"u"&&window.crypto&&(r=window.crypto),typeof self<"u"&&self.crypto&&(r=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(r=globalThis.crypto),!r&&typeof window<"u"&&window.msCrypto&&(r=window.msCrypto),!r&&typeof global<"u"&&global.crypto&&(r=global.crypto),!r&&typeof e8=="function")try{r=aw()}catch{}var a=function(){if(r){if(typeof r.getRandomValues=="function")try{return r.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof r.randomBytes=="function")try{return r.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function g(){}return function(y){var A;return g.prototype=y,A=new g,g.prototype=null,A}}(),o={},i=o.lib={},l=i.Base=function(){return{extend:function(g){var y=s(this);return g&&y.mixIn(g),(!y.hasOwnProperty("init")||this.init===y.init)&&(y.init=function(){y.$super.init.apply(this,arguments)}),y.init.prototype=y,y.$super=this,y},create:function(){var g=this.extend();return g.init.apply(g,arguments),g},init:function(){},mixIn:function(g){for(var y in g)g.hasOwnProperty(y)&&(this[y]=g[y]);g.hasOwnProperty("toString")&&(this.toString=g.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),u=i.WordArray=l.extend({init:function(g,y){g=this.words=g||[],y!=n?this.sigBytes=y:this.sigBytes=g.length*4},toString:function(g){return(g||c).stringify(this)},concat:function(g){var y=this.words,A=g.words,b=this.sigBytes,v=g.sigBytes;if(this.clamp(),b%4)for(var w=0;w<v;w++){var C=A[w>>>2]>>>24-w%4*8&255;y[b+w>>>2]|=C<<24-(b+w)%4*8}else for(var T=0;T<v;T+=4)y[b+T>>>2]=A[T>>>2];return this.sigBytes+=v,this},clamp:function(){var g=this.words,y=this.sigBytes;g[y>>>2]&=4294967295<<32-y%4*8,g.length=t.ceil(y/4)},clone:function(){var g=l.clone.call(this);return g.words=this.words.slice(0),g},random:function(g){for(var y=[],A=0;A<g;A+=4)y.push(a());return new u.init(y,g)}}),d=o.enc={},c=d.Hex={stringify:function(g){for(var y=g.words,A=g.sigBytes,b=[],v=0;v<A;v++){var w=y[v>>>2]>>>24-v%4*8&255;b.push((w>>>4).toString(16)),b.push((w&15).toString(16))}return b.join("")},parse:function(g){for(var y=g.length,A=[],b=0;b<y;b+=2)A[b>>>3]|=parseInt(g.substr(b,2),16)<<24-b%8*4;return new u.init(A,y/2)}},p=d.Latin1={stringify:function(g){for(var y=g.words,A=g.sigBytes,b=[],v=0;v<A;v++){var w=y[v>>>2]>>>24-v%4*8&255;b.push(String.fromCharCode(w))}return b.join("")},parse:function(g){for(var y=g.length,A=[],b=0;b<y;b++)A[b>>>2]|=(g.charCodeAt(b)&255)<<24-b%4*8;return new u.init(A,y)}},h=d.Utf8={stringify:function(g){try{return decodeURIComponent(escape(p.stringify(g)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(g){return p.parse(unescape(encodeURIComponent(g)))}},f=i.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(g){typeof g=="string"&&(g=h.parse(g)),this._data.concat(g),this._nDataBytes+=g.sigBytes},_process:function(g){var y,A=this._data,b=A.words,v=A.sigBytes,w=this.blockSize,C=w*4,T=v/C;g?T=t.ceil(T):T=t.max((T|0)-this._minBufferSize,0);var $=T*w,M=t.min($*4,v);if($){for(var N=0;N<$;N+=w)this._doProcessBlock(b,N);y=b.splice(0,$),A.sigBytes-=M}return new u.init(y,M)},clone:function(){var g=l.clone.call(this);return g._data=this._data.clone(),g},_minBufferSize:0}),m=i.Hasher=f.extend({cfg:l.extend(),init:function(g){this.cfg=this.cfg.extend(g),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(g){return this._append(g),this._process(),this},finalize:function(g){g&&this._append(g);var y=this._doFinalize();return y},blockSize:512/32,_createHelper:function(g){return function(y,A){return new g.init(A).finalize(y)}},_createHmacHelper:function(g){return function(y,A){return new x.HMAC.init(g,A).finalize(y)}}}),x=o.algo={};return o}(Math);return e})});var f0=qe((ng,nT)=>{(function(e,t){typeof ng=="object"?nT.exports=ng=t(yt()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(ng,function(e){return function(t){var n=e,r=n.lib,a=r.Base,s=r.WordArray,o=n.x64={},i=o.Word=a.extend({init:function(u,d){this.high=u,this.low=d}}),l=o.WordArray=a.extend({init:function(u,d){u=this.words=u||[],d!=t?this.sigBytes=d:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,d=u.length,c=[],p=0;p<d;p++){var h=u[p];c.push(h.high),c.push(h.low)}return s.create(c,this.sigBytes)},clone:function(){for(var u=a.clone.call(this),d=u.words=this.words.slice(0),c=d.length,p=0;p<c;p++)d[p]=d[p].clone();return u}})}(),e})});var aT=qe((rg,rT)=>{(function(e,t){typeof rg=="object"?rT.exports=rg=t(yt()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(rg,function(e){return function(){if(typeof ArrayBuffer=="function"){var t=e,n=t.lib,r=n.WordArray,a=r.init,s=r.init=function(o){if(o instanceof ArrayBuffer&&(o=new Uint8Array(o)),(o instanceof Int8Array||typeof Uint8ClampedArray<"u"&&o instanceof Uint8ClampedArray||o instanceof Int16Array||o instanceof Uint16Array||o instanceof Int32Array||o instanceof Uint32Array||o instanceof Float32Array||o instanceof Float64Array)&&(o=new Uint8Array(o.buffer,o.byteOffset,o.byteLength)),o instanceof Uint8Array){for(var i=o.byteLength,l=[],u=0;u<i;u++)l[u>>>2]|=o[u]<<24-u%4*8;a.call(this,l,i)}else a.apply(this,arguments)};s.prototype=r}}(),e.lib.WordArray})});var oT=qe((ag,sT)=>{(function(e,t){typeof ag=="object"?sT.exports=ag=t(yt()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(ag,function(e){return function(){var t=e,n=t.lib,r=n.WordArray,a=t.enc,s=a.Utf16=a.Utf16BE={stringify:function(i){for(var l=i.words,u=i.sigBytes,d=[],c=0;c<u;c+=2){var p=l[c>>>2]>>>16-c%4*8&65535;d.push(String.fromCharCode(p))}return d.join("")},parse:function(i){for(var l=i.length,u=[],d=0;d<l;d++)u[d>>>1]|=i.charCodeAt(d)<<16-d%2*16;return r.create(u,l*2)}};a.Utf16LE={stringify:function(i){for(var l=i.words,u=i.sigBytes,d=[],c=0;c<u;c+=2){var p=o(l[c>>>2]>>>16-c%4*8&65535);d.push(String.fromCharCode(p))}return d.join("")},parse:function(i){for(var l=i.length,u=[],d=0;d<l;d++)u[d>>>1]|=o(i.charCodeAt(d)<<16-d%2*16);return r.create(u,l*2)}};function o(i){return i<<8&4278255360|i>>>8&16711935}}(),e.enc.Utf16})});var Jo=qe((sg,iT)=>{(function(e,t){typeof sg=="object"?iT.exports=sg=t(yt()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(sg,function(e){return function(){var t=e,n=t.lib,r=n.WordArray,a=t.enc,s=a.Base64={stringify:function(i){var l=i.words,u=i.sigBytes,d=this._map;i.clamp();for(var c=[],p=0;p<u;p+=3)for(var h=l[p>>>2]>>>24-p%4*8&255,f=l[p+1>>>2]>>>24-(p+1)%4*8&255,m=l[p+2>>>2]>>>24-(p+2)%4*8&255,x=h<<16|f<<8|m,g=0;g<4&&p+g*.75<u;g++)c.push(d.charAt(x>>>6*(3-g)&63));var y=d.charAt(64);if(y)for(;c.length%4;)c.push(y);return c.join("")},parse:function(i){var l=i.length,u=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var c=0;c<u.length;c++)d[u.charCodeAt(c)]=c}var p=u.charAt(64);if(p){var h=i.indexOf(p);h!==-1&&(l=h)}return o(i,l,d)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function o(i,l,u){for(var d=[],c=0,p=0;p<l;p++)if(p%4){var h=u[i.charCodeAt(p-1)]<<p%4*2,f=u[i.charCodeAt(p)]>>>6-p%4*2,m=h|f;d[c>>>2]|=m<<24-c%4*8,c++}return r.create(d,c)}}(),e.enc.Base64})});var uT=qe((og,lT)=>{(function(e,t){typeof og=="object"?lT.exports=og=t(yt()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(og,function(e){return function(){var t=e,n=t.lib,r=n.WordArray,a=t.enc,s=a.Base64url={stringify:function(i,l){l===void 0&&(l=!0);var u=i.words,d=i.sigBytes,c=l?this._safe_map:this._map;i.clamp();for(var p=[],h=0;h<d;h+=3)for(var f=u[h>>>2]>>>24-h%4*8&255,m=u[h+1>>>2]>>>24-(h+1)%4*8&255,x=u[h+2>>>2]>>>24-(h+2)%4*8&255,g=f<<16|m<<8|x,y=0;y<4&&h+y*.75<d;y++)p.push(c.charAt(g>>>6*(3-y)&63));var A=c.charAt(64);if(A)for(;p.length%4;)p.push(A);return p.join("")},parse:function(i,l){l===void 0&&(l=!0);var u=i.length,d=l?this._safe_map:this._map,c=this._reverseMap;if(!c){c=this._reverseMap=[];for(var p=0;p<d.length;p++)c[d.charCodeAt(p)]=p}var h=d.charAt(64);if(h){var f=i.indexOf(h);f!==-1&&(u=f)}return o(i,u,c)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function o(i,l,u){for(var d=[],c=0,p=0;p<l;p++)if(p%4){var h=u[i.charCodeAt(p-1)]<<p%4*2,f=u[i.charCodeAt(p)]>>>6-p%4*2,m=h|f;d[c>>>2]|=m<<24-c%4*8,c++}return r.create(d,c)}}(),e.enc.Base64url})});var Qo=qe((ig,dT)=>{(function(e,t){typeof ig=="object"?dT.exports=ig=t(yt()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(ig,function(e){return function(t){var n=e,r=n.lib,a=r.WordArray,s=r.Hasher,o=n.algo,i=[];(function(){for(var h=0;h<64;h++)i[h]=t.abs(t.sin(h+1))*4294967296|0})();var l=o.MD5=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(h,f){for(var m=0;m<16;m++){var x=f+m,g=h[x];h[x]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}var y=this._hash.words,A=h[f+0],b=h[f+1],v=h[f+2],w=h[f+3],C=h[f+4],T=h[f+5],$=h[f+6],M=h[f+7],N=h[f+8],k=h[f+9],P=h[f+10],F=h[f+11],V=h[f+12],B=h[f+13],j=h[f+14],K=h[f+15],G=y[0],L=y[1],W=y[2],q=y[3];G=u(G,L,W,q,A,7,i[0]),q=u(q,G,L,W,b,12,i[1]),W=u(W,q,G,L,v,17,i[2]),L=u(L,W,q,G,w,22,i[3]),G=u(G,L,W,q,C,7,i[4]),q=u(q,G,L,W,T,12,i[5]),W=u(W,q,G,L,$,17,i[6]),L=u(L,W,q,G,M,22,i[7]),G=u(G,L,W,q,N,7,i[8]),q=u(q,G,L,W,k,12,i[9]),W=u(W,q,G,L,P,17,i[10]),L=u(L,W,q,G,F,22,i[11]),G=u(G,L,W,q,V,7,i[12]),q=u(q,G,L,W,B,12,i[13]),W=u(W,q,G,L,j,17,i[14]),L=u(L,W,q,G,K,22,i[15]),G=d(G,L,W,q,b,5,i[16]),q=d(q,G,L,W,$,9,i[17]),W=d(W,q,G,L,F,14,i[18]),L=d(L,W,q,G,A,20,i[19]),G=d(G,L,W,q,T,5,i[20]),q=d(q,G,L,W,P,9,i[21]),W=d(W,q,G,L,K,14,i[22]),L=d(L,W,q,G,C,20,i[23]),G=d(G,L,W,q,k,5,i[24]),q=d(q,G,L,W,j,9,i[25]),W=d(W,q,G,L,w,14,i[26]),L=d(L,W,q,G,N,20,i[27]),G=d(G,L,W,q,B,5,i[28]),q=d(q,G,L,W,v,9,i[29]),W=d(W,q,G,L,M,14,i[30]),L=d(L,W,q,G,V,20,i[31]),G=c(G,L,W,q,T,4,i[32]),q=c(q,G,L,W,N,11,i[33]),W=c(W,q,G,L,F,16,i[34]),L=c(L,W,q,G,j,23,i[35]),G=c(G,L,W,q,b,4,i[36]),q=c(q,G,L,W,C,11,i[37]),W=c(W,q,G,L,M,16,i[38]),L=c(L,W,q,G,P,23,i[39]),G=c(G,L,W,q,B,4,i[40]),q=c(q,G,L,W,A,11,i[41]),W=c(W,q,G,L,w,16,i[42]),L=c(L,W,q,G,$,23,i[43]),G=c(G,L,W,q,k,4,i[44]),q=c(q,G,L,W,V,11,i[45]),W=c(W,q,G,L,K,16,i[46]),L=c(L,W,q,G,v,23,i[47]),G=p(G,L,W,q,A,6,i[48]),q=p(q,G,L,W,M,10,i[49]),W=p(W,q,G,L,j,15,i[50]),L=p(L,W,q,G,T,21,i[51]),G=p(G,L,W,q,V,6,i[52]),q=p(q,G,L,W,w,10,i[53]),W=p(W,q,G,L,P,15,i[54]),L=p(L,W,q,G,b,21,i[55]),G=p(G,L,W,q,N,6,i[56]),q=p(q,G,L,W,K,10,i[57]),W=p(W,q,G,L,$,15,i[58]),L=p(L,W,q,G,B,21,i[59]),G=p(G,L,W,q,C,6,i[60]),q=p(q,G,L,W,F,10,i[61]),W=p(W,q,G,L,v,15,i[62]),L=p(L,W,q,G,k,21,i[63]),y[0]=y[0]+G|0,y[1]=y[1]+L|0,y[2]=y[2]+W|0,y[3]=y[3]+q|0},_doFinalize:function(){var h=this._data,f=h.words,m=this._nDataBytes*8,x=h.sigBytes*8;f[x>>>5]|=128<<24-x%32;var g=t.floor(m/4294967296),y=m;f[(x+64>>>9<<4)+15]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,f[(x+64>>>9<<4)+14]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,h.sigBytes=(f.length+1)*4,this._process();for(var A=this._hash,b=A.words,v=0;v<4;v++){var w=b[v];b[v]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}return A},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});function u(h,f,m,x,g,y,A){var b=h+(f&m|~f&x)+g+A;return(b<<y|b>>>32-y)+f}function d(h,f,m,x,g,y,A){var b=h+(f&x|m&~x)+g+A;return(b<<y|b>>>32-y)+f}function c(h,f,m,x,g,y,A){var b=h+(f^m^x)+g+A;return(b<<y|b>>>32-y)+f}function p(h,f,m,x,g,y,A){var b=h+(m^(f|~x))+g+A;return(b<<y|b>>>32-y)+f}n.MD5=s._createHelper(l),n.HmacMD5=s._createHmacHelper(l)}(Math),e.MD5})});var _w=qe((lg,pT)=>{(function(e,t){typeof lg=="object"?pT.exports=lg=t(yt()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(lg,function(e){return function(){var t=e,n=t.lib,r=n.WordArray,a=n.Hasher,s=t.algo,o=[],i=s.SHA1=a.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(l,u){for(var d=this._hash.words,c=d[0],p=d[1],h=d[2],f=d[3],m=d[4],x=0;x<80;x++){if(x<16)o[x]=l[u+x]|0;else{var g=o[x-3]^o[x-8]^o[x-14]^o[x-16];o[x]=g<<1|g>>>31}var y=(c<<5|c>>>27)+m+o[x];x<20?y+=(p&h|~p&f)+1518500249:x<40?y+=(p^h^f)+1859775393:x<60?y+=(p&h|p&f|h&f)-1894007588:y+=(p^h^f)-899497514,m=f,f=h,h=p<<30|p>>>2,p=c,c=y}d[0]=d[0]+c|0,d[1]=d[1]+p|0,d[2]=d[2]+h|0,d[3]=d[3]+f|0,d[4]=d[4]+m|0},_doFinalize:function(){var l=this._data,u=l.words,d=this._nDataBytes*8,c=l.sigBytes*8;return u[c>>>5]|=128<<24-c%32,u[(c+64>>>9<<4)+14]=Math.floor(d/4294967296),u[(c+64>>>9<<4)+15]=d,l.sigBytes=u.length*4,this._process(),this._hash},clone:function(){var l=a.clone.call(this);return l._hash=this._hash.clone(),l}});t.SHA1=a._createHelper(i),t.HmacSHA1=a._createHmacHelper(i)}(),e.SHA1})});var dg=qe((ug,cT)=>{(function(e,t){typeof ug=="object"?cT.exports=ug=t(yt()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(ug,function(e){return function(t){var n=e,r=n.lib,a=r.WordArray,s=r.Hasher,o=n.algo,i=[],l=[];(function(){function c(m){for(var x=t.sqrt(m),g=2;g<=x;g++)if(!(m%g))return!1;return!0}function p(m){return(m-(m|0))*4294967296|0}for(var h=2,f=0;f<64;)c(h)&&(f<8&&(i[f]=p(t.pow(h,1/2))),l[f]=p(t.pow(h,1/3)),f++),h++})();var u=[],d=o.SHA256=s.extend({_doReset:function(){this._hash=new a.init(i.slice(0))},_doProcessBlock:function(c,p){for(var h=this._hash.words,f=h[0],m=h[1],x=h[2],g=h[3],y=h[4],A=h[5],b=h[6],v=h[7],w=0;w<64;w++){if(w<16)u[w]=c[p+w]|0;else{var C=u[w-15],T=(C<<25|C>>>7)^(C<<14|C>>>18)^C>>>3,$=u[w-2],M=($<<15|$>>>17)^($<<13|$>>>19)^$>>>10;u[w]=T+u[w-7]+M+u[w-16]}var N=y&A^~y&b,k=f&m^f&x^m&x,P=(f<<30|f>>>2)^(f<<19|f>>>13)^(f<<10|f>>>22),F=(y<<26|y>>>6)^(y<<21|y>>>11)^(y<<7|y>>>25),V=v+F+N+l[w]+u[w],B=P+k;v=b,b=A,A=y,y=g+V|0,g=x,x=m,m=f,f=V+B|0}h[0]=h[0]+f|0,h[1]=h[1]+m|0,h[2]=h[2]+x|0,h[3]=h[3]+g|0,h[4]=h[4]+y|0,h[5]=h[5]+A|0,h[6]=h[6]+b|0,h[7]=h[7]+v|0},_doFinalize:function(){var c=this._data,p=c.words,h=this._nDataBytes*8,f=c.sigBytes*8;return p[f>>>5]|=128<<24-f%32,p[(f+64>>>9<<4)+14]=t.floor(h/4294967296),p[(f+64>>>9<<4)+15]=h,c.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var c=s.clone.call(this);return c._hash=this._hash.clone(),c}});n.SHA256=s._createHelper(d),n.HmacSHA256=s._createHmacHelper(d)}(Math),e.SHA256})});var fT=qe((pg,hT)=>{(function(e,t,n){typeof pg=="object"?hT.exports=pg=t(yt(),dg()):typeof define=="function"&&define.amd?define(["./core","./sha256"],t):t(e.CryptoJS)})(pg,function(e){return function(){var t=e,n=t.lib,r=n.WordArray,a=t.algo,s=a.SHA256,o=a.SHA224=s.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var i=s._doFinalize.call(this);return i.sigBytes-=4,i}});t.SHA224=s._createHelper(o),t.HmacSHA224=s._createHmacHelper(o)}(),e.SHA224})});var Rw=qe((cg,mT)=>{(function(e,t,n){typeof cg=="object"?mT.exports=cg=t(yt(),f0()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],t):t(e.CryptoJS)})(cg,function(e){return function(){var t=e,n=t.lib,r=n.Hasher,a=t.x64,s=a.Word,o=a.WordArray,i=t.algo;function l(){return s.create.apply(s,arguments)}var u=[l(1116352408,3609767458),l(1899447441,602891725),l(3049323471,3964484399),l(3921009573,2173295548),l(961987163,4081628472),l(1508970993,3053834265),l(2453635748,2937671579),l(2870763221,3664609560),l(3624381080,2734883394),l(310598401,1164996542),l(607225278,1323610764),l(1426881987,3590304994),l(1925078388,4068182383),l(2162078206,991336113),l(2614888103,633803317),l(3248222580,3479774868),l(3835390401,2666613458),l(4022224774,944711139),l(264347078,2341262773),l(604807628,2007800933),l(770255983,1495990901),l(1249150122,1856431235),l(1555081692,3175218132),l(1996064986,2198950837),l(2554220882,3999719339),l(2821834349,766784016),l(2952996808,2566594879),l(3210313671,3203337956),l(3336571891,1034457026),l(3584528711,2466948901),l(113926993,3758326383),l(338241895,168717936),l(666307205,1188179964),l(773529912,1546045734),l(1294757372,1522805485),l(1396182291,2643833823),l(1695183700,2343527390),l(1986661051,1014477480),l(2177026350,1206759142),l(2456956037,344077627),l(2730485921,1290863460),l(2820302411,3158454273),l(3259730800,3505952657),l(3345764771,106217008),l(3516065817,3606008344),l(3600352804,1432725776),l(4094571909,1467031594),l(275423344,851169720),l(430227734,3100823752),l(506948616,1363258195),l(659060556,3750685593),l(883997877,3785050280),l(958139571,3318307427),l(1322822218,3812723403),l(1537002063,2003034995),l(1747873779,3602036899),l(1955562222,1575990012),l(2024104815,1125592928),l(2227730452,2716904306),l(2361852424,442776044),l(2428436474,593698344),l(2756734187,3733110249),l(3204031479,2999351573),l(3329325298,3815920427),l(3391569614,3928383900),l(3515267271,566280711),l(3940187606,3454069534),l(4118630271,4000239992),l(116418474,1914138554),l(174292421,2731055270),l(289380356,3203993006),l(460393269,320620315),l(685471733,587496836),l(852142971,1086792851),l(1017036298,365543100),l(1126000580,2618297676),l(1288033470,3409855158),l(1501505948,4234509866),l(1607167915,987167468),l(1816402316,1246189591)],d=[];(function(){for(var p=0;p<80;p++)d[p]=l()})();var c=i.SHA512=r.extend({_doReset:function(){this._hash=new o.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(p,h){for(var f=this._hash.words,m=f[0],x=f[1],g=f[2],y=f[3],A=f[4],b=f[5],v=f[6],w=f[7],C=m.high,T=m.low,$=x.high,M=x.low,N=g.high,k=g.low,P=y.high,F=y.low,V=A.high,B=A.low,j=b.high,K=b.low,G=v.high,L=v.low,W=w.high,q=w.low,J=C,ne=T,re=$,oe=M,de=N,we=k,Re=P,$e=F,Be=V,ze=B,Ct=j,ht=K,ft=G,dt=L,He=W,Et=q,qt=0;qt<80;qt++){var St,dn,on=d[qt];if(qt<16)dn=on.high=p[h+qt*2]|0,St=on.low=p[h+qt*2+1]|0;else{var Hn=d[qt-15],Cn=Hn.high,xn=Hn.low,Rt=(Cn>>>1|xn<<31)^(Cn>>>8|xn<<24)^Cn>>>7,qn=(xn>>>1|Cn<<31)^(xn>>>8|Cn<<24)^(xn>>>7|Cn<<25),ar=d[qt-2],dr=ar.high,Aa=ar.low,ba=(dr>>>19|Aa<<13)^(dr<<3|Aa>>>29)^dr>>>6,To=(Aa>>>19|dr<<13)^(Aa<<3|dr>>>29)^(Aa>>>6|dr<<26),Er=d[qt-7],ps=Er.high,gn=Er.low,Gi=d[qt-16],Nh=Gi.high,cp=Gi.low;St=qn+gn,dn=Rt+ps+(St>>>0<qn>>>0?1:0),St=St+To,dn=dn+ba+(St>>>0<To>>>0?1:0),St=St+cp,dn=dn+Nh+(St>>>0<cp>>>0?1:0),on.high=dn,on.low=St}var rm=Be&Ct^~Be&ft,Wa=ze&ht^~ze&dt,No=J&re^J&de^re&de,Va=ne&oe^ne&we^oe&we,_h=(J>>>28|ne<<4)^(J<<30|ne>>>2)^(J<<25|ne>>>7),Hi=(ne>>>28|J<<4)^(ne<<30|J>>>2)^(ne<<25|J>>>7),Us=(Be>>>14|ze<<18)^(Be>>>18|ze<<14)^(Be<<23|ze>>>9),Rh=(ze>>>14|Be<<18)^(ze>>>18|Be<<14)^(ze<<23|Be>>>9),qi=u[qt],_o=qi.high,En=qi.low,jn=Et+Rh,va=He+Us+(jn>>>0<Et>>>0?1:0),jn=jn+Wa,va=va+rm+(jn>>>0<Wa>>>0?1:0),jn=jn+En,va=va+_o+(jn>>>0<En>>>0?1:0),jn=jn+St,va=va+dn+(jn>>>0<St>>>0?1:0),hp=Hi+Va,am=_h+No+(hp>>>0<Hi>>>0?1:0);He=ft,Et=dt,ft=Ct,dt=ht,Ct=Be,ht=ze,ze=$e+jn|0,Be=Re+va+(ze>>>0<$e>>>0?1:0)|0,Re=de,$e=we,de=re,we=oe,re=J,oe=ne,ne=jn+hp|0,J=va+am+(ne>>>0<jn>>>0?1:0)|0}T=m.low=T+ne,m.high=C+J+(T>>>0<ne>>>0?1:0),M=x.low=M+oe,x.high=$+re+(M>>>0<oe>>>0?1:0),k=g.low=k+we,g.high=N+de+(k>>>0<we>>>0?1:0),F=y.low=F+$e,y.high=P+Re+(F>>>0<$e>>>0?1:0),B=A.low=B+ze,A.high=V+Be+(B>>>0<ze>>>0?1:0),K=b.low=K+ht,b.high=j+Ct+(K>>>0<ht>>>0?1:0),L=v.low=L+dt,v.high=G+ft+(L>>>0<dt>>>0?1:0),q=w.low=q+Et,w.high=W+He+(q>>>0<Et>>>0?1:0)},_doFinalize:function(){var p=this._data,h=p.words,f=this._nDataBytes*8,m=p.sigBytes*8;h[m>>>5]|=128<<24-m%32,h[(m+128>>>10<<5)+30]=Math.floor(f/4294967296),h[(m+128>>>10<<5)+31]=f,p.sigBytes=h.length*4,this._process();var x=this._hash.toX32();return x},clone:function(){var p=r.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});t.SHA512=r._createHelper(c),t.HmacSHA512=r._createHmacHelper(c)}(),e.SHA512})});var gT=qe((hg,xT)=>{(function(e,t,n){typeof hg=="object"?xT.exports=hg=t(yt(),f0(),Rw()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],t):t(e.CryptoJS)})(hg,function(e){return function(){var t=e,n=t.x64,r=n.Word,a=n.WordArray,s=t.algo,o=s.SHA512,i=s.SHA384=o.extend({_doReset:function(){this._hash=new a.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 l=o._doFinalize.call(this);return l.sigBytes-=16,l}});t.SHA384=o._createHelper(i),t.HmacSHA384=o._createHmacHelper(i)}(),e.SHA384})});var AT=qe((fg,yT)=>{(function(e,t,n){typeof fg=="object"?yT.exports=fg=t(yt(),f0()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],t):t(e.CryptoJS)})(fg,function(e){return function(t){var n=e,r=n.lib,a=r.WordArray,s=r.Hasher,o=n.x64,i=o.Word,l=n.algo,u=[],d=[],c=[];(function(){for(var f=1,m=0,x=0;x<24;x++){u[f+5*m]=(x+1)*(x+2)/2%64;var g=m%5,y=(2*f+3*m)%5;f=g,m=y}for(var f=0;f<5;f++)for(var m=0;m<5;m++)d[f+5*m]=m+(2*f+3*m)%5*5;for(var A=1,b=0;b<24;b++){for(var v=0,w=0,C=0;C<7;C++){if(A&1){var T=(1<<C)-1;T<32?w^=1<<T:v^=1<<T-32}A&128?A=A<<1^113:A<<=1}c[b]=i.create(v,w)}})();var p=[];(function(){for(var f=0;f<25;f++)p[f]=i.create()})();var h=l.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var f=this._state=[],m=0;m<25;m++)f[m]=new i.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(f,m){for(var x=this._state,g=this.blockSize/2,y=0;y<g;y++){var A=f[m+2*y],b=f[m+2*y+1];A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,b=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360;var v=x[y];v.high^=b,v.low^=A}for(var w=0;w<24;w++){for(var C=0;C<5;C++){for(var T=0,$=0,M=0;M<5;M++){var v=x[C+5*M];T^=v.high,$^=v.low}var N=p[C];N.high=T,N.low=$}for(var C=0;C<5;C++)for(var k=p[(C+4)%5],P=p[(C+1)%5],F=P.high,V=P.low,T=k.high^(F<<1|V>>>31),$=k.low^(V<<1|F>>>31),M=0;M<5;M++){var v=x[C+5*M];v.high^=T,v.low^=$}for(var B=1;B<25;B++){var T,$,v=x[B],j=v.high,K=v.low,G=u[B];G<32?(T=j<<G|K>>>32-G,$=K<<G|j>>>32-G):(T=K<<G-32|j>>>64-G,$=j<<G-32|K>>>64-G);var L=p[d[B]];L.high=T,L.low=$}var W=p[0],q=x[0];W.high=q.high,W.low=q.low;for(var C=0;C<5;C++)for(var M=0;M<5;M++){var B=C+5*M,v=x[B],J=p[B],ne=p[(C+1)%5+5*M],re=p[(C+2)%5+5*M];v.high=J.high^~ne.high&re.high,v.low=J.low^~ne.low&re.low}var v=x[0],oe=c[w];v.high^=oe.high,v.low^=oe.low}},_doFinalize:function(){var f=this._data,m=f.words,x=this._nDataBytes*8,g=f.sigBytes*8,y=this.blockSize*32;m[g>>>5]|=1<<24-g%32,m[(t.ceil((g+1)/y)*y>>>5)-1]|=128,f.sigBytes=m.length*4,this._process();for(var A=this._state,b=this.cfg.outputLength/8,v=b/8,w=[],C=0;C<v;C++){var T=A[C],$=T.high,M=T.low;$=($<<8|$>>>24)&16711935|($<<24|$>>>8)&4278255360,M=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,w.push(M),w.push($)}return new a.init(w,b)},clone:function(){for(var f=s.clone.call(this),m=f._state=this._state.slice(0),x=0;x<25;x++)m[x]=m[x].clone();return f}});n.SHA3=s._createHelper(h),n.HmacSHA3=s._createHmacHelper(h)}(Math),e.SHA3})});var vT=qe((mg,bT)=>{(function(e,t){typeof mg=="object"?bT.exports=mg=t(yt()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(mg,function(e){return function(t){var n=e,r=n.lib,a=r.WordArray,s=r.Hasher,o=n.algo,i=a.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]),l=a.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=a.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]),d=a.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]),c=a.create([0,1518500249,1859775393,2400959708,2840853838]),p=a.create([1352829926,1548603684,1836072691,2053994217,0]),h=o.RIPEMD160=s.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(b,v){for(var w=0;w<16;w++){var C=v+w,T=b[C];b[C]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}var $=this._hash.words,M=c.words,N=p.words,k=i.words,P=l.words,F=u.words,V=d.words,B,j,K,G,L,W,q,J,ne,re;W=B=$[0],q=j=$[1],J=K=$[2],ne=G=$[3],re=L=$[4];for(var oe,w=0;w<80;w+=1)oe=B+b[v+k[w]]|0,w<16?oe+=f(j,K,G)+M[0]:w<32?oe+=m(j,K,G)+M[1]:w<48?oe+=x(j,K,G)+M[2]:w<64?oe+=g(j,K,G)+M[3]:oe+=y(j,K,G)+M[4],oe=oe|0,oe=A(oe,F[w]),oe=oe+L|0,B=L,L=G,G=A(K,10),K=j,j=oe,oe=W+b[v+P[w]]|0,w<16?oe+=y(q,J,ne)+N[0]:w<32?oe+=g(q,J,ne)+N[1]:w<48?oe+=x(q,J,ne)+N[2]:w<64?oe+=m(q,J,ne)+N[3]:oe+=f(q,J,ne)+N[4],oe=oe|0,oe=A(oe,V[w]),oe=oe+re|0,W=re,re=ne,ne=A(J,10),J=q,q=oe;oe=$[1]+K+ne|0,$[1]=$[2]+G+re|0,$[2]=$[3]+L+W|0,$[3]=$[4]+B+q|0,$[4]=$[0]+j+J|0,$[0]=oe},_doFinalize:function(){var b=this._data,v=b.words,w=this._nDataBytes*8,C=b.sigBytes*8;v[C>>>5]|=128<<24-C%32,v[(C+64>>>9<<4)+14]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,b.sigBytes=(v.length+1)*4,this._process();for(var T=this._hash,$=T.words,M=0;M<5;M++){var N=$[M];$[M]=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360}return T},clone:function(){var b=s.clone.call(this);return b._hash=this._hash.clone(),b}});function f(b,v,w){return b^v^w}function m(b,v,w){return b&v|~b&w}function x(b,v,w){return(b|~v)^w}function g(b,v,w){return b&w|v&~w}function y(b,v,w){return b^(v|~w)}function A(b,v){return b<<v|b>>>32-v}n.RIPEMD160=s._createHelper(h),n.HmacRIPEMD160=s._createHmacHelper(h)}(Math),e.RIPEMD160})});var gg=qe((xg,wT)=>{(function(e,t){typeof xg=="object"?wT.exports=xg=t(yt()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(xg,function(e){(function(){var t=e,n=t.lib,r=n.Base,a=t.enc,s=a.Utf8,o=t.algo,i=o.HMAC=r.extend({init:function(l,u){l=this._hasher=new l.init,typeof u=="string"&&(u=s.parse(u));var d=l.blockSize,c=d*4;u.sigBytes>c&&(u=l.finalize(u)),u.clamp();for(var p=this._oKey=u.clone(),h=this._iKey=u.clone(),f=p.words,m=h.words,x=0;x<d;x++)f[x]^=1549556828,m[x]^=909522486;p.sigBytes=h.sigBytes=c,this.reset()},reset:function(){var l=this._hasher;l.reset(),l.update(this._iKey)},update:function(l){return this._hasher.update(l),this},finalize:function(l){var u=this._hasher,d=u.finalize(l);u.reset();var c=u.finalize(this._oKey.clone().concat(d));return c}})})()})});var ST=qe((yg,kT)=>{(function(e,t,n){typeof yg=="object"?kT.exports=yg=t(yt(),dg(),gg()):typeof define=="function"&&define.amd?define(["./core","./sha256","./hmac"],t):t(e.CryptoJS)})(yg,function(e){return function(){var t=e,n=t.lib,r=n.Base,a=n.WordArray,s=t.algo,o=s.SHA256,i=s.HMAC,l=s.PBKDF2=r.extend({cfg:r.extend({keySize:128/32,hasher:o,iterations:25e4}),init:function(u){this.cfg=this.cfg.extend(u)},compute:function(u,d){for(var c=this.cfg,p=i.create(c.hasher,u),h=a.create(),f=a.create([1]),m=h.words,x=f.words,g=c.keySize,y=c.iterations;m.length<g;){var A=p.update(d).finalize(f);p.reset();for(var b=A.words,v=b.length,w=A,C=1;C<y;C++){w=p.finalize(w),p.reset();for(var T=w.words,$=0;$<v;$++)b[$]^=T[$]}h.concat(A),x[0]++}return h.sigBytes=g*4,h}});t.PBKDF2=function(u,d,c){return l.create(c).compute(u,d)}}(),e.PBKDF2})});var ro=qe((Ag,IT)=>{(function(e,t,n){typeof Ag=="object"?IT.exports=Ag=t(yt(),_w(),gg()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],t):t(e.CryptoJS)})(Ag,function(e){return function(){var t=e,n=t.lib,r=n.Base,a=n.WordArray,s=t.algo,o=s.MD5,i=s.EvpKDF=r.extend({cfg:r.extend({keySize:128/32,hasher:o,iterations:1}),init:function(l){this.cfg=this.cfg.extend(l)},compute:function(l,u){for(var d,c=this.cfg,p=c.hasher.create(),h=a.create(),f=h.words,m=c.keySize,x=c.iterations;f.length<m;){d&&p.update(d),d=p.update(l).finalize(u),p.reset();for(var g=1;g<x;g++)d=p.finalize(d),p.reset();h.concat(d)}return h.sigBytes=m*4,h}});t.EvpKDF=function(l,u,d){return i.create(d).compute(l,u)}}(),e.EvpKDF})});var Pn=qe((bg,CT)=>{(function(e,t,n){typeof bg=="object"?CT.exports=bg=t(yt(),ro()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],t):t(e.CryptoJS)})(bg,function(e){e.lib.Cipher||function(t){var n=e,r=n.lib,a=r.Base,s=r.WordArray,o=r.BufferedBlockAlgorithm,i=n.enc,l=i.Utf8,u=i.Base64,d=n.algo,c=d.EvpKDF,p=r.Cipher=o.extend({cfg:a.extend(),createEncryptor:function(N,k){return this.create(this._ENC_XFORM_MODE,N,k)},createDecryptor:function(N,k){return this.create(this._DEC_XFORM_MODE,N,k)},init:function(N,k,P){this.cfg=this.cfg.extend(P),this._xformMode=N,this._key=k,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(N){return this._append(N),this._process()},finalize:function(N){N&&this._append(N);var k=this._doFinalize();return k},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function N(k){return typeof k=="string"?M:C}return function(k){return{encrypt:function(P,F,V){return N(F).encrypt(k,P,F,V)},decrypt:function(P,F,V){return N(F).decrypt(k,P,F,V)}}}}()}),h=r.StreamCipher=p.extend({_doFinalize:function(){var N=this._process(!0);return N},blockSize:1}),f=n.mode={},m=r.BlockCipherMode=a.extend({createEncryptor:function(N,k){return this.Encryptor.create(N,k)},createDecryptor:function(N,k){return this.Decryptor.create(N,k)},init:function(N,k){this._cipher=N,this._iv=k}}),x=f.CBC=function(){var N=m.extend();N.Encryptor=N.extend({processBlock:function(P,F){var V=this._cipher,B=V.blockSize;k.call(this,P,F,B),V.encryptBlock(P,F),this._prevBlock=P.slice(F,F+B)}}),N.Decryptor=N.extend({processBlock:function(P,F){var V=this._cipher,B=V.blockSize,j=P.slice(F,F+B);V.decryptBlock(P,F),k.call(this,P,F,B),this._prevBlock=j}});function k(P,F,V){var B,j=this._iv;j?(B=j,this._iv=t):B=this._prevBlock;for(var K=0;K<V;K++)P[F+K]^=B[K]}return N}(),g=n.pad={},y=g.Pkcs7={pad:function(N,k){for(var P=k*4,F=P-N.sigBytes%P,V=F<<24|F<<16|F<<8|F,B=[],j=0;j<F;j+=4)B.push(V);var K=s.create(B,F);N.concat(K)},unpad:function(N){var k=N.words[N.sigBytes-1>>>2]&255;N.sigBytes-=k}},A=r.BlockCipher=p.extend({cfg:p.cfg.extend({mode:x,padding:y}),reset:function(){var N;p.reset.call(this);var k=this.cfg,P=k.iv,F=k.mode;this._xformMode==this._ENC_XFORM_MODE?N=F.createEncryptor:(N=F.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==N?this._mode.init(this,P&&P.words):(this._mode=N.call(F,this,P&&P.words),this._mode.__creator=N)},_doProcessBlock:function(N,k){this._mode.processBlock(N,k)},_doFinalize:function(){var N,k=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(k.pad(this._data,this.blockSize),N=this._process(!0)):(N=this._process(!0),k.unpad(N)),N},blockSize:128/32}),b=r.CipherParams=a.extend({init:function(N){this.mixIn(N)},toString:function(N){return(N||this.formatter).stringify(this)}}),v=n.format={},w=v.OpenSSL={stringify:function(N){var k,P=N.ciphertext,F=N.salt;return F?k=s.create([1398893684,1701076831]).concat(F).concat(P):k=P,k.toString(u)},parse:function(N){var k,P=u.parse(N),F=P.words;return F[0]==1398893684&&F[1]==1701076831&&(k=s.create(F.slice(2,4)),F.splice(0,4),P.sigBytes-=16),b.create({ciphertext:P,salt:k})}},C=r.SerializableCipher=a.extend({cfg:a.extend({format:w}),encrypt:function(N,k,P,F){F=this.cfg.extend(F);var V=N.createEncryptor(P,F),B=V.finalize(k),j=V.cfg;return b.create({ciphertext:B,key:P,iv:j.iv,algorithm:N,mode:j.mode,padding:j.padding,blockSize:N.blockSize,formatter:F.format})},decrypt:function(N,k,P,F){F=this.cfg.extend(F),k=this._parse(k,F.format);var V=N.createDecryptor(P,F).finalize(k.ciphertext);return V},_parse:function(N,k){retu