var ft=(U,te)=>()=>(te||U((te={exports:{}}).exports,te),te.exports);import{$ as ae}from"./index.4144b0df.js";import{r as dt,g as ht}from"./VideoSurveillance.0066c053.js";var $t=ft((be,r0)=>{var xt={exports:{}};function vt(U){throw new Error('Could not dynamically require "'+U+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var we={exports:{}},p0;function ie(){return p0||(p0=1,function(U,te){(function(P,p){U.exports=p()})(ae,function(){var P=P||function(p,O){var H;if(typeof window<"u"&&window.crypto&&(H=window.crypto),typeof self<"u"&&self.crypto&&(H=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(H=globalThis.crypto),!H&&typeof window<"u"&&window.msCrypto&&(H=window.msCrypto),!H&&typeof ae<"u"&&ae.crypto&&(H=ae.crypto),!H&&typeof vt=="function")try{H=dt}catch{}var q=function(){if(H){if(typeof H.getRandomValues=="function")try{return H.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof H.randomBytes=="function")try{return H.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},M=Object.create||function(){function v(){}return function(y){var B;return v.prototype=y,B=new v,v.prototype=null,B}}(),S={},c=S.lib={},u=c.Base=function(){return{extend:function(v){var y=M(this);return v&&y.mixIn(v),(!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 v=this.extend();return v.init.apply(v,arguments),v},init:function(){},mixIn:function(v){for(var y in v)v.hasOwnProperty(y)&&(this[y]=v[y]);v.hasOwnProperty("toString")&&(this.toString=v.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),E=c.WordArray=u.extend({init:function(v,y){v=this.words=v||[],y!=O?this.sigBytes=y:this.sigBytes=v.length*4},toString:function(v){return(v||d).stringify(this)},concat:function(v){var y=this.words,B=v.words,g=this.sigBytes,k=v.sigBytes;if(this.clamp(),g%4)for(var w=0;w>>2]>>>24-w%4*8&255;y[g+w>>>2]|=m<<24-(g+w)%4*8}else for(var o=0;o>>2]=B[o>>>2];return this.sigBytes+=k,this},clamp:function(){var v=this.words,y=this.sigBytes;v[y>>>2]&=4294967295<<32-y%4*8,v.length=p.ceil(y/4)},clone:function(){var v=u.clone.call(this);return v.words=this.words.slice(0),v},random:function(v){for(var y=[],B=0;B>>2]>>>24-k%4*8&255;g.push((w>>>4).toString(16)),g.push((w&15).toString(16))}return g.join("")},parse:function(v){for(var y=v.length,B=[],g=0;g>>3]|=parseInt(v.substr(g,2),16)<<24-g%8*4;return new E.init(B,y/2)}},x=l.Latin1={stringify:function(v){for(var y=v.words,B=v.sigBytes,g=[],k=0;k>>2]>>>24-k%4*8&255;g.push(String.fromCharCode(w))}return g.join("")},parse:function(v){for(var y=v.length,B=[],g=0;g>>2]|=(v.charCodeAt(g)&255)<<24-g%4*8;return new E.init(B,y)}},b=l.Utf8={stringify:function(v){try{return decodeURIComponent(escape(x.stringify(v)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(v){return x.parse(unescape(encodeURIComponent(v)))}},T=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new E.init,this._nDataBytes=0},_append:function(v){typeof v=="string"&&(v=b.parse(v)),this._data.concat(v),this._nDataBytes+=v.sigBytes},_process:function(v){var y,B=this._data,g=B.words,k=B.sigBytes,w=this.blockSize,m=w*4,o=k/m;v?o=p.ceil(o):o=p.max((o|0)-this._minBufferSize,0);var e=o*w,r=p.min(e*4,k);if(e){for(var s=0;s>>2]|=S[E]<<24-E%4*8;q.call(this,u,c)}else q.apply(this,arguments)};M.prototype=H}}(),P.lib.WordArray})}(Ce)),Ce.exports}var Be={exports:{}},g0;function yt(){return g0||(g0=1,function(U,te){(function(P,p){U.exports=p(ie())})(ae,function(P){return function(){var p=P,O=p.lib,H=O.WordArray,q=p.enc;q.Utf16=q.Utf16BE={stringify:function(S){for(var c=S.words,u=S.sigBytes,E=[],l=0;l>>2]>>>16-l%4*8&65535;E.push(String.fromCharCode(d))}return E.join("")},parse:function(S){for(var c=S.length,u=[],E=0;E>>1]|=S.charCodeAt(E)<<16-E%2*16;return H.create(u,c*2)}},q.Utf16LE={stringify:function(S){for(var c=S.words,u=S.sigBytes,E=[],l=0;l>>2]>>>16-l%4*8&65535);E.push(String.fromCharCode(d))}return E.join("")},parse:function(S){for(var c=S.length,u=[],E=0;E>>1]|=M(S.charCodeAt(E)<<16-E%2*16);return H.create(u,c*2)}};function M(S){return S<<8&4278255360|S>>>8&16711935}}(),P.enc.Utf16})}(Be)),Be.exports}var Te={exports:{}},b0;function pe(){return b0||(b0=1,function(U,te){(function(P,p){U.exports=p(ie())})(ae,function(P){return function(){var p=P,O=p.lib,H=O.WordArray,q=p.enc;q.Base64={stringify:function(S){var c=S.words,u=S.sigBytes,E=this._map;S.clamp();for(var l=[],d=0;d>>2]>>>24-d%4*8&255,b=c[d+1>>>2]>>>24-(d+1)%4*8&255,T=c[d+2>>>2]>>>24-(d+2)%4*8&255,$=x<<16|b<<8|T,v=0;v<4&&d+v*.75>>6*(3-v)&63));var y=E.charAt(64);if(y)for(;l.length%4;)l.push(y);return l.join("")},parse:function(S){var c=S.length,u=this._map,E=this._reverseMap;if(!E){E=this._reverseMap=[];for(var l=0;l>>6-d%4*2,T=x|b;E[l>>>2]|=T<<24-l%4*8,l++}return H.create(E,l)}}(),P.enc.Base64})}(Te)),Te.exports}var Ee={exports:{}},_0;function mt(){return _0||(_0=1,function(U,te){(function(P,p){U.exports=p(ie())})(ae,function(P){return function(){var p=P,O=p.lib,H=O.WordArray,q=p.enc;q.Base64url={stringify:function(S,c=!0){var u=S.words,E=S.sigBytes,l=c?this._safe_map:this._map;S.clamp();for(var d=[],x=0;x>>2]>>>24-x%4*8&255,T=u[x+1>>>2]>>>24-(x+1)%4*8&255,$=u[x+2>>>2]>>>24-(x+2)%4*8&255,v=b<<16|T<<8|$,y=0;y<4&&x+y*.75>>6*(3-y)&63));var B=l.charAt(64);if(B)for(;d.length%4;)d.push(B);return d.join("")},parse:function(S,c=!0){var u=S.length,E=c?this._safe_map:this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var d=0;d>>6-d%4*2,T=x|b;E[l>>>2]|=T<<24-l%4*8,l++}return H.create(E,l)}}(),P.enc.Base64url})}(Ee)),Ee.exports}var Se={exports:{}},w0;function ye(){return w0||(w0=1,function(U,te){(function(P,p){U.exports=p(ie())})(ae,function(P){return function(p){var O=P,H=O.lib,q=H.WordArray,M=H.Hasher,S=O.algo,c=[];(function(){for(var b=0;b<64;b++)c[b]=p.abs(p.sin(b+1))*4294967296|0})();var u=S.MD5=M.extend({_doReset:function(){this._hash=new q.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(b,T){for(var $=0;$<16;$++){var v=T+$,y=b[v];b[v]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360}var B=this._hash.words,g=b[T+0],k=b[T+1],w=b[T+2],m=b[T+3],o=b[T+4],e=b[T+5],r=b[T+6],s=b[T+7],t=b[T+8],n=b[T+9],a=b[T+10],i=b[T+11],f=b[T+12],L=b[T+13],_=b[T+14],R=b[T+15],h=B[0],D=B[1],z=B[2],A=B[3];h=E(h,D,z,A,g,7,c[0]),A=E(A,h,D,z,k,12,c[1]),z=E(z,A,h,D,w,17,c[2]),D=E(D,z,A,h,m,22,c[3]),h=E(h,D,z,A,o,7,c[4]),A=E(A,h,D,z,e,12,c[5]),z=E(z,A,h,D,r,17,c[6]),D=E(D,z,A,h,s,22,c[7]),h=E(h,D,z,A,t,7,c[8]),A=E(A,h,D,z,n,12,c[9]),z=E(z,A,h,D,a,17,c[10]),D=E(D,z,A,h,i,22,c[11]),h=E(h,D,z,A,f,7,c[12]),A=E(A,h,D,z,L,12,c[13]),z=E(z,A,h,D,_,17,c[14]),D=E(D,z,A,h,R,22,c[15]),h=l(h,D,z,A,k,5,c[16]),A=l(A,h,D,z,r,9,c[17]),z=l(z,A,h,D,i,14,c[18]),D=l(D,z,A,h,g,20,c[19]),h=l(h,D,z,A,e,5,c[20]),A=l(A,h,D,z,a,9,c[21]),z=l(z,A,h,D,R,14,c[22]),D=l(D,z,A,h,o,20,c[23]),h=l(h,D,z,A,n,5,c[24]),A=l(A,h,D,z,_,9,c[25]),z=l(z,A,h,D,m,14,c[26]),D=l(D,z,A,h,t,20,c[27]),h=l(h,D,z,A,L,5,c[28]),A=l(A,h,D,z,w,9,c[29]),z=l(z,A,h,D,s,14,c[30]),D=l(D,z,A,h,f,20,c[31]),h=d(h,D,z,A,e,4,c[32]),A=d(A,h,D,z,t,11,c[33]),z=d(z,A,h,D,i,16,c[34]),D=d(D,z,A,h,_,23,c[35]),h=d(h,D,z,A,k,4,c[36]),A=d(A,h,D,z,o,11,c[37]),z=d(z,A,h,D,s,16,c[38]),D=d(D,z,A,h,a,23,c[39]),h=d(h,D,z,A,L,4,c[40]),A=d(A,h,D,z,g,11,c[41]),z=d(z,A,h,D,m,16,c[42]),D=d(D,z,A,h,r,23,c[43]),h=d(h,D,z,A,n,4,c[44]),A=d(A,h,D,z,f,11,c[45]),z=d(z,A,h,D,R,16,c[46]),D=d(D,z,A,h,w,23,c[47]),h=x(h,D,z,A,g,6,c[48]),A=x(A,h,D,z,s,10,c[49]),z=x(z,A,h,D,_,15,c[50]),D=x(D,z,A,h,e,21,c[51]),h=x(h,D,z,A,f,6,c[52]),A=x(A,h,D,z,m,10,c[53]),z=x(z,A,h,D,a,15,c[54]),D=x(D,z,A,h,k,21,c[55]),h=x(h,D,z,A,t,6,c[56]),A=x(A,h,D,z,R,10,c[57]),z=x(z,A,h,D,r,15,c[58]),D=x(D,z,A,h,L,21,c[59]),h=x(h,D,z,A,o,6,c[60]),A=x(A,h,D,z,i,10,c[61]),z=x(z,A,h,D,w,15,c[62]),D=x(D,z,A,h,n,21,c[63]),B[0]=B[0]+h|0,B[1]=B[1]+D|0,B[2]=B[2]+z|0,B[3]=B[3]+A|0},_doFinalize:function(){var b=this._data,T=b.words,$=this._nDataBytes*8,v=b.sigBytes*8;T[v>>>5]|=128<<24-v%32;var y=p.floor($/4294967296),B=$;T[(v+64>>>9<<4)+15]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,T[(v+64>>>9<<4)+14]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,b.sigBytes=(T.length+1)*4,this._process();for(var g=this._hash,k=g.words,w=0;w<4;w++){var m=k[w];k[w]=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360}return g},clone:function(){var b=M.clone.call(this);return b._hash=this._hash.clone(),b}});function E(b,T,$,v,y,B,g){var k=b+(T&$|~T&v)+y+g;return(k<>>32-B)+T}function l(b,T,$,v,y,B,g){var k=b+(T&v|$&~v)+y+g;return(k<>>32-B)+T}function d(b,T,$,v,y,B,g){var k=b+(T^$^v)+y+g;return(k<>>32-B)+T}function x(b,T,$,v,y,B,g){var k=b+($^(T|~v))+y+g;return(k<>>32-B)+T}O.MD5=M._createHelper(u),O.HmacMD5=M._createHmacHelper(u)}(Math),P.MD5})}(Se)),Se.exports}var De={exports:{}},k0;function n0(){return k0||(k0=1,function(U,te){(function(P,p){U.exports=p(ie())})(ae,function(P){return function(){var p=P,O=p.lib,H=O.WordArray,q=O.Hasher,M=p.algo,S=[],c=M.SHA1=q.extend({_doReset:function(){this._hash=new H.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,E){for(var l=this._hash.words,d=l[0],x=l[1],b=l[2],T=l[3],$=l[4],v=0;v<80;v++){if(v<16)S[v]=u[E+v]|0;else{var y=S[v-3]^S[v-8]^S[v-14]^S[v-16];S[v]=y<<1|y>>>31}var B=(d<<5|d>>>27)+$+S[v];v<20?B+=(x&b|~x&T)+1518500249:v<40?B+=(x^b^T)+1859775393:v<60?B+=(x&b|x&T|b&T)-1894007588:B+=(x^b^T)-899497514,$=T,T=b,b=x<<30|x>>>2,x=d,d=B}l[0]=l[0]+d|0,l[1]=l[1]+x|0,l[2]=l[2]+b|0,l[3]=l[3]+T|0,l[4]=l[4]+$|0},_doFinalize:function(){var u=this._data,E=u.words,l=this._nDataBytes*8,d=u.sigBytes*8;return E[d>>>5]|=128<<24-d%32,E[(d+64>>>9<<4)+14]=Math.floor(l/4294967296),E[(d+64>>>9<<4)+15]=l,u.sigBytes=E.length*4,this._process(),this._hash},clone:function(){var u=q.clone.call(this);return u._hash=this._hash.clone(),u}});p.SHA1=q._createHelper(c),p.HmacSHA1=q._createHmacHelper(c)}(),P.SHA1})}(De)),De.exports}var He={exports:{}},C0;function Z0(){return C0||(C0=1,function(U,te){(function(P,p){U.exports=p(ie())})(ae,function(P){return function(p){var O=P,H=O.lib,q=H.WordArray,M=H.Hasher,S=O.algo,c=[],u=[];(function(){function d($){for(var v=p.sqrt($),y=2;y<=v;y++)if(!($%y))return!1;return!0}function x($){return($-($|0))*4294967296|0}for(var b=2,T=0;T<64;)d(b)&&(T<8&&(c[T]=x(p.pow(b,1/2))),u[T]=x(p.pow(b,1/3)),T++),b++})();var E=[],l=S.SHA256=M.extend({_doReset:function(){this._hash=new q.init(c.slice(0))},_doProcessBlock:function(d,x){for(var b=this._hash.words,T=b[0],$=b[1],v=b[2],y=b[3],B=b[4],g=b[5],k=b[6],w=b[7],m=0;m<64;m++){if(m<16)E[m]=d[x+m]|0;else{var o=E[m-15],e=(o<<25|o>>>7)^(o<<14|o>>>18)^o>>>3,r=E[m-2],s=(r<<15|r>>>17)^(r<<13|r>>>19)^r>>>10;E[m]=e+E[m-7]+s+E[m-16]}var t=B&g^~B&k,n=T&$^T&v^$&v,a=(T<<30|T>>>2)^(T<<19|T>>>13)^(T<<10|T>>>22),i=(B<<26|B>>>6)^(B<<21|B>>>11)^(B<<7|B>>>25),f=w+i+t+u[m]+E[m],L=a+n;w=k,k=g,g=B,B=y+f|0,y=v,v=$,$=T,T=f+L|0}b[0]=b[0]+T|0,b[1]=b[1]+$|0,b[2]=b[2]+v|0,b[3]=b[3]+y|0,b[4]=b[4]+B|0,b[5]=b[5]+g|0,b[6]=b[6]+k|0,b[7]=b[7]+w|0},_doFinalize:function(){var d=this._data,x=d.words,b=this._nDataBytes*8,T=d.sigBytes*8;return x[T>>>5]|=128<<24-T%32,x[(T+64>>>9<<4)+14]=p.floor(b/4294967296),x[(T+64>>>9<<4)+15]=b,d.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var d=M.clone.call(this);return d._hash=this._hash.clone(),d}});O.SHA256=M._createHelper(l),O.HmacSHA256=M._createHmacHelper(l)}(Math),P.SHA256})}(He)),He.exports}var Le={exports:{}},B0;function gt(){return B0||(B0=1,function(U,te){(function(P,p,O){U.exports=p(ie(),Z0())})(ae,function(P){return function(){var p=P,O=p.lib,H=O.WordArray,q=p.algo,M=q.SHA256,S=q.SHA224=M.extend({_doReset:function(){this._hash=new H.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=M._doFinalize.call(this);return c.sigBytes-=4,c}});p.SHA224=M._createHelper(S),p.HmacSHA224=M._createHmacHelper(S)}(),P.SHA224})}(Le)),Le.exports}var Ae={exports:{}},T0;function V0(){return T0||(T0=1,function(U,te){(function(P,p,O){U.exports=p(ie(),_e())})(ae,function(P){return function(){var p=P,O=p.lib,H=O.Hasher,q=p.x64,M=q.Word,S=q.WordArray,c=p.algo;function u(){return M.create.apply(M,arguments)}var E=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],l=[];(function(){for(var x=0;x<80;x++)l[x]=u()})();var d=c.SHA512=H.extend({_doReset:function(){this._hash=new S.init([new M.init(1779033703,4089235720),new M.init(3144134277,2227873595),new M.init(1013904242,4271175723),new M.init(2773480762,1595750129),new M.init(1359893119,2917565137),new M.init(2600822924,725511199),new M.init(528734635,4215389547),new M.init(1541459225,327033209)])},_doProcessBlock:function(x,b){for(var T=this._hash.words,$=T[0],v=T[1],y=T[2],B=T[3],g=T[4],k=T[5],w=T[6],m=T[7],o=$.high,e=$.low,r=v.high,s=v.low,t=y.high,n=y.low,a=B.high,i=B.low,f=g.high,L=g.low,_=k.high,R=k.low,h=w.high,D=w.low,z=m.high,A=m.low,K=o,W=e,Z=r,I=s,Q=t,G=n,F=a,C=i,j=f,Y=L,N=_,X=R,V=h,J=D,ne=z,ee=A,re=0;re<80;re++){var oe,ue,de=l[re];if(re<16)ue=de.high=x[b+re*2]|0,oe=de.low=x[b+re*2+1]|0;else{var xe=l[re-15],le=xe.high,me=xe.low,Q0=(le>>>1|me<<31)^(le>>>8|me<<24)^le>>>7,i0=(me>>>1|le<<31)^(me>>>8|le<<24)^(me>>>7|le<<25),o0=l[re-2],ve=o0.high,ge=o0.low,J0=(ve>>>19|ge<<13)^(ve<<3|ge>>>29)^ve>>>6,s0=(ge>>>19|ve<<13)^(ge<<3|ve>>>29)^(ge>>>6|ve<<26),c0=l[re-7],et=c0.high,tt=c0.low,l0=l[re-16],rt=l0.high,u0=l0.low;oe=i0+tt,ue=Q0+et+(oe>>>0>>0?1:0),oe=oe+s0,ue=ue+J0+(oe>>>0>>0?1:0),oe=oe+u0,ue=ue+rt+(oe>>>0>>0?1:0),de.high=ue,de.low=oe}var nt=j&N^~j&V,f0=Y&X^~Y&J,at=K&Z^K&Q^Z&Q,it=W&I^W&G^I&G,ot=(K>>>28|W<<4)^(K<<30|W>>>2)^(K<<25|W>>>7),d0=(W>>>28|K<<4)^(W<<30|K>>>2)^(W<<25|K>>>7),st=(j>>>14|Y<<18)^(j>>>18|Y<<14)^(j<<23|Y>>>9),ct=(Y>>>14|j<<18)^(Y>>>18|j<<14)^(Y<<23|j>>>9),h0=E[re],lt=h0.high,x0=h0.low,ce=ee+ct,fe=ne+st+(ce>>>0>>0?1:0),ce=ce+f0,fe=fe+nt+(ce>>>0>>0?1:0),ce=ce+x0,fe=fe+lt+(ce>>>0>>0?1:0),ce=ce+oe,fe=fe+ue+(ce>>>0>>0?1:0),v0=d0+it,ut=ot+at+(v0>>>0>>0?1:0);ne=V,ee=J,V=N,J=X,N=j,X=Y,Y=C+ce|0,j=F+fe+(Y>>>0>>0?1:0)|0,F=Q,C=G,Q=Z,G=I,Z=K,I=W,W=ce+v0|0,K=fe+ut+(W>>>0>>0?1:0)|0}e=$.low=e+W,$.high=o+K+(e>>>0>>0?1:0),s=v.low=s+I,v.high=r+Z+(s>>>0>>0?1:0),n=y.low=n+G,y.high=t+Q+(n>>>0>>0?1:0),i=B.low=i+C,B.high=a+F+(i>>>0>>0?1:0),L=g.low=L+Y,g.high=f+j+(L>>>0>>0?1:0),R=k.low=R+X,k.high=_+N+(R>>>0>>0?1:0),D=w.low=D+J,w.high=h+V+(D>>>0>>0?1:0),A=m.low=A+ee,m.high=z+ne+(A>>>0>>0?1:0)},_doFinalize:function(){var x=this._data,b=x.words,T=this._nDataBytes*8,$=x.sigBytes*8;b[$>>>5]|=128<<24-$%32,b[($+128>>>10<<5)+30]=Math.floor(T/4294967296),b[($+128>>>10<<5)+31]=T,x.sigBytes=b.length*4,this._process();var v=this._hash.toX32();return v},clone:function(){var x=H.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:1024/32});p.SHA512=H._createHelper(d),p.HmacSHA512=H._createHmacHelper(d)}(),P.SHA512})}(Ae)),Ae.exports}var Ie={exports:{}},E0;function bt(){return E0||(E0=1,function(U,te){(function(P,p,O){U.exports=p(ie(),_e(),V0())})(ae,function(P){return function(){var p=P,O=p.x64,H=O.Word,q=O.WordArray,M=p.algo,S=M.SHA512,c=M.SHA384=S.extend({_doReset:function(){this._hash=new q.init([new H.init(3418070365,3238371032),new H.init(1654270250,914150663),new H.init(2438529370,812702999),new H.init(355462360,4144912697),new H.init(1731405415,4290775857),new H.init(2394180231,1750603025),new H.init(3675008525,1694076839),new H.init(1203062813,3204075428)])},_doFinalize:function(){var u=S._doFinalize.call(this);return u.sigBytes-=16,u}});p.SHA384=S._createHelper(c),p.HmacSHA384=S._createHmacHelper(c)}(),P.SHA384})}(Ie)),Ie.exports}var Pe={exports:{}},S0;function _t(){return S0||(S0=1,function(U,te){(function(P,p,O){U.exports=p(ie(),_e())})(ae,function(P){return function(p){var O=P,H=O.lib,q=H.WordArray,M=H.Hasher,S=O.x64,c=S.Word,u=O.algo,E=[],l=[],d=[];(function(){for(var T=1,$=0,v=0;v<24;v++){E[T+5*$]=(v+1)*(v+2)/2%64;var y=$%5,B=(2*T+3*$)%5;T=y,$=B}for(var T=0;T<5;T++)for(var $=0;$<5;$++)l[T+5*$]=$+(2*T+3*$)%5*5;for(var g=1,k=0;k<24;k++){for(var w=0,m=0,o=0;o<7;o++){if(g&1){var e=(1<>>24)&16711935|(g<<24|g>>>8)&4278255360,k=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360;var w=v[B];w.high^=k,w.low^=g}for(var m=0;m<24;m++){for(var o=0;o<5;o++){for(var e=0,r=0,s=0;s<5;s++){var w=v[o+5*s];e^=w.high,r^=w.low}var t=x[o];t.high=e,t.low=r}for(var o=0;o<5;o++)for(var n=x[(o+4)%5],a=x[(o+1)%5],i=a.high,f=a.low,e=n.high^(i<<1|f>>>31),r=n.low^(f<<1|i>>>31),s=0;s<5;s++){var w=v[o+5*s];w.high^=e,w.low^=r}for(var L=1;L<25;L++){var e,r,w=v[L],_=w.high,R=w.low,h=E[L];h<32?(e=_<>>32-h,r=R<>>32-h):(e=R<>>64-h,r=_<>>64-h);var D=x[l[L]];D.high=e,D.low=r}var z=x[0],A=v[0];z.high=A.high,z.low=A.low;for(var o=0;o<5;o++)for(var s=0;s<5;s++){var L=o+5*s,w=v[L],K=x[L],W=x[(o+1)%5+5*s],Z=x[(o+2)%5+5*s];w.high=K.high^~W.high&Z.high,w.low=K.low^~W.low&Z.low}var w=v[0],I=d[m];w.high^=I.high,w.low^=I.low}},_doFinalize:function(){var T=this._data,$=T.words;this._nDataBytes*8;var v=T.sigBytes*8,y=this.blockSize*32;$[v>>>5]|=1<<24-v%32,$[(p.ceil((v+1)/y)*y>>>5)-1]|=128,T.sigBytes=$.length*4,this._process();for(var B=this._state,g=this.cfg.outputLength/8,k=g/8,w=[],m=0;m>>24)&16711935|(e<<24|e>>>8)&4278255360,r=(r<<8|r>>>24)&16711935|(r<<24|r>>>8)&4278255360,w.push(r),w.push(e)}return new q.init(w,g)},clone:function(){for(var T=M.clone.call(this),$=T._state=this._state.slice(0),v=0;v<25;v++)$[v]=$[v].clone();return T}});O.SHA3=M._createHelper(b),O.HmacSHA3=M._createHmacHelper(b)}(Math),P.SHA3})}(Pe)),Pe.exports}var Me={exports:{}},D0;function wt(){return D0||(D0=1,function(U,te){(function(P,p){U.exports=p(ie())})(ae,function(P){/** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */return function(p){var O=P,H=O.lib,q=H.WordArray,M=H.Hasher,S=O.algo,c=q.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]),u=q.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]),E=q.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]),l=q.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]),d=q.create([0,1518500249,1859775393,2400959708,2840853838]),x=q.create([1352829926,1548603684,1836072691,2053994217,0]),b=S.RIPEMD160=M.extend({_doReset:function(){this._hash=q.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(k,w){for(var m=0;m<16;m++){var o=w+m,e=k[o];k[o]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360}var r=this._hash.words,s=d.words,t=x.words,n=c.words,a=u.words,i=E.words,f=l.words,L,_,R,h,D,z,A,K,W,Z;z=L=r[0],A=_=r[1],K=R=r[2],W=h=r[3],Z=D=r[4];for(var I,m=0;m<80;m+=1)I=L+k[w+n[m]]|0,m<16?I+=T(_,R,h)+s[0]:m<32?I+=$(_,R,h)+s[1]:m<48?I+=v(_,R,h)+s[2]:m<64?I+=y(_,R,h)+s[3]:I+=B(_,R,h)+s[4],I=I|0,I=g(I,i[m]),I=I+D|0,L=D,D=h,h=g(R,10),R=_,_=I,I=z+k[w+a[m]]|0,m<16?I+=B(A,K,W)+t[0]:m<32?I+=y(A,K,W)+t[1]:m<48?I+=v(A,K,W)+t[2]:m<64?I+=$(A,K,W)+t[3]:I+=T(A,K,W)+t[4],I=I|0,I=g(I,f[m]),I=I+Z|0,z=Z,Z=W,W=g(K,10),K=A,A=I;I=r[1]+R+W|0,r[1]=r[2]+h+Z|0,r[2]=r[3]+D+z|0,r[3]=r[4]+L+A|0,r[4]=r[0]+_+K|0,r[0]=I},_doFinalize:function(){var k=this._data,w=k.words,m=this._nDataBytes*8,o=k.sigBytes*8;w[o>>>5]|=128<<24-o%32,w[(o+64>>>9<<4)+14]=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,k.sigBytes=(w.length+1)*4,this._process();for(var e=this._hash,r=e.words,s=0;s<5;s++){var t=r[s];r[s]=(t<<8|t>>>24)&16711935|(t<<24|t>>>8)&4278255360}return e},clone:function(){var k=M.clone.call(this);return k._hash=this._hash.clone(),k}});function T(k,w,m){return k^w^m}function $(k,w,m){return k&w|~k&m}function v(k,w,m){return(k|~w)^m}function y(k,w,m){return k&m|w&~m}function B(k,w,m){return k^(w|~m)}function g(k,w){return k<>>32-w}O.RIPEMD160=M._createHelper(b),O.HmacRIPEMD160=M._createHmacHelper(b)}(),P.RIPEMD160})}(Me)),Me.exports}var Re={exports:{}},H0;function a0(){return H0||(H0=1,function(U,te){(function(P,p){U.exports=p(ie())})(ae,function(P){(function(){var p=P,O=p.lib,H=O.Base,q=p.enc,M=q.Utf8,S=p.algo;S.HMAC=H.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=M.parse(u));var E=c.blockSize,l=E*4;u.sigBytes>l&&(u=c.finalize(u)),u.clamp();for(var d=this._oKey=u.clone(),x=this._iKey=u.clone(),b=d.words,T=x.words,$=0;$>>2]&255;e.sigBytes-=r}};H.BlockCipher=d.extend({cfg:d.cfg.extend({mode:T,padding:v}),reset:function(){var e;d.reset.call(this);var r=this.cfg,s=r.iv,t=r.mode;this._xformMode==this._ENC_XFORM_MODE?e=t.createEncryptor:(e=t.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,s&&s.words):(this._mode=e.call(t,this,s&&s.words),this._mode.__creator=e)},_doProcessBlock:function(e,r){this._mode.processBlock(e,r)},_doFinalize:function(){var e,r=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(r.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),r.unpad(e)),e},blockSize:128/32});var y=H.CipherParams=q.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),B=O.format={},g=B.OpenSSL={stringify:function(e){var r,s=e.ciphertext,t=e.salt;return t?r=M.create([1398893684,1701076831]).concat(t).concat(s):r=s,r.toString(u)},parse:function(e){var r,s=u.parse(e),t=s.words;return t[0]==1398893684&&t[1]==1701076831&&(r=M.create(t.slice(2,4)),t.splice(0,4),s.sigBytes-=16),y.create({ciphertext:s,salt:r})}},k=H.SerializableCipher=q.extend({cfg:q.extend({format:g}),encrypt:function(e,r,s,t){t=this.cfg.extend(t);var n=e.createEncryptor(s,t),a=n.finalize(r),i=n.cfg;return y.create({ciphertext:a,key:s,iv:i.iv,algorithm:e,mode:i.mode,padding:i.padding,blockSize:e.blockSize,formatter:t.format})},decrypt:function(e,r,s,t){t=this.cfg.extend(t),r=this._parse(r,t.format);var n=e.createDecryptor(s,t).finalize(r.ciphertext);return n},_parse:function(e,r){return typeof e=="string"?r.parse(e,this):e}}),w=O.kdf={},m=w.OpenSSL={execute:function(e,r,s,t){t||(t=M.random(64/8));var n=l.create({keySize:r+s}).compute(e,t),a=M.create(n.words.slice(r),s*4);return n.sigBytes=r*4,y.create({key:n,iv:a,salt:t})}},o=H.PasswordBasedCipher=k.extend({cfg:k.cfg.extend({kdf:m}),encrypt:function(e,r,s,t){t=this.cfg.extend(t);var n=t.kdf.execute(s,e.keySize,e.ivSize);t.iv=n.iv;var a=k.encrypt.call(this,e,r,n.key,t);return a.mixIn(n),a},decrypt:function(e,r,s,t){t=this.cfg.extend(t),r=this._parse(r,t.format);var n=t.kdf.execute(s,e.keySize,e.ivSize,r.salt);t.iv=n.iv;var a=k.decrypt.call(this,e,r,n.key,t);return a}})}()})}(Oe)),Oe.exports}var $e={exports:{}},P0;function Ct(){return P0||(P0=1,function(U,te){(function(P,p,O){U.exports=p(ie(),se())})(ae,function(P){return P.mode.CFB=function(){var p=P.lib.BlockCipherMode.extend();p.Encryptor=p.extend({processBlock:function(H,q){var M=this._cipher,S=M.blockSize;O.call(this,H,q,S,M),this._prevBlock=H.slice(q,q+S)}}),p.Decryptor=p.extend({processBlock:function(H,q){var M=this._cipher,S=M.blockSize,c=H.slice(q,q+S);O.call(this,H,q,S,M),this._prevBlock=c}});function O(H,q,M,S){var c,u=this._iv;u?(c=u.slice(0),this._iv=void 0):c=this._prevBlock,S.encryptBlock(c,0);for(var E=0;E>24&255)===255){var S=M>>16&255,c=M>>8&255,u=M&255;S===255?(S=0,c===255?(c=0,u===255?u=0:++u):++c):++S,M=0,M+=S<<16,M+=c<<8,M+=u}else M+=1<<24;return M}function H(M){return(M[0]=O(M[0]))===0&&(M[1]=O(M[1])),M}var q=p.Encryptor=p.extend({processBlock:function(M,S){var c=this._cipher,u=c.blockSize,E=this._iv,l=this._counter;E&&(l=this._counter=E.slice(0),this._iv=void 0),H(l);var d=l.slice(0);c.encryptBlock(d,0);for(var x=0;x>>2]|=M<<24-S%4*8,p.sigBytes+=M},unpad:function(p){var O=p.words[p.sigBytes-1>>>2]&255;p.sigBytes-=O}},P.pad.Ansix923})}(Ne)),Ne.exports}var Xe={exports:{}},$0;function Ht(){return $0||($0=1,function(U,te){(function(P,p,O){U.exports=p(ie(),se())})(ae,function(P){return P.pad.Iso10126={pad:function(p,O){var H=O*4,q=H-p.sigBytes%H;p.concat(P.lib.WordArray.random(q-1)).concat(P.lib.WordArray.create([q<<24],1))},unpad:function(p){var O=p.words[p.sigBytes-1>>>2]&255;p.sigBytes-=O}},P.pad.Iso10126})}(Xe)),Xe.exports}var Ue={exports:{}},q0;function Lt(){return q0||(q0=1,function(U,te){(function(P,p,O){U.exports=p(ie(),se())})(ae,function(P){return P.pad.Iso97971={pad:function(p,O){p.concat(P.lib.WordArray.create([2147483648],1)),P.pad.ZeroPadding.pad(p,O)},unpad:function(p){P.pad.ZeroPadding.unpad(p),p.sigBytes--}},P.pad.Iso97971})}(Ue)),Ue.exports}var Ge={exports:{}},Y0;function At(){return Y0||(Y0=1,function(U,te){(function(P,p,O){U.exports=p(ie(),se())})(ae,function(P){return P.pad.ZeroPadding={pad:function(p,O){var H=O*4;p.clamp(),p.sigBytes+=H-(p.sigBytes%H||H)},unpad:function(p){for(var O=p.words,H=p.sigBytes-1,H=p.sigBytes-1;H>=0;H--)if(O[H>>>2]>>>24-H%4*8&255){p.sigBytes=H+1;break}}},P.pad.ZeroPadding})}(Ge)),Ge.exports}var Ke={exports:{}},W0;function It(){return W0||(W0=1,function(U,te){(function(P,p,O){U.exports=p(ie(),se())})(ae,function(P){return P.pad.NoPadding={pad:function(){},unpad:function(){}},P.pad.NoPadding})}(Ke)),Ke.exports}var Ze={exports:{}},j0;function Pt(){return j0||(j0=1,function(U,te){(function(P,p,O){U.exports=p(ie(),se())})(ae,function(P){return function(p){var O=P,H=O.lib,q=H.CipherParams,M=O.enc,S=M.Hex,c=O.format;c.Hex={stringify:function(u){return u.ciphertext.toString(S)},parse:function(u){var E=S.parse(u);return q.create({ciphertext:E})}}}(),P.format.Hex})}(Ze)),Ze.exports}var Ve={exports:{}},N0;function Mt(){return N0||(N0=1,function(U,te){(function(P,p,O){U.exports=p(ie(),pe(),ye(),he(),se())})(ae,function(P){return function(){var p=P,O=p.lib,H=O.BlockCipher,q=p.algo,M=[],S=[],c=[],u=[],E=[],l=[],d=[],x=[],b=[],T=[];(function(){for(var y=[],B=0;B<256;B++)B<128?y[B]=B<<1:y[B]=B<<1^283;for(var g=0,k=0,B=0;B<256;B++){var w=k^k<<1^k<<2^k<<3^k<<4;w=w>>>8^w&255^99,M[g]=w,S[w]=g;var m=y[g],o=y[m],e=y[o],r=y[w]*257^w*16843008;c[g]=r<<24|r>>>8,u[g]=r<<16|r>>>16,E[g]=r<<8|r>>>24,l[g]=r;var r=e*16843009^o*65537^m*257^g*16843008;d[w]=r<<24|r>>>8,x[w]=r<<16|r>>>16,b[w]=r<<8|r>>>24,T[w]=r,g?(g=m^y[y[y[e^m]]],k^=y[y[k]]):g=k=1}})();var $=[0,1,2,4,8,16,32,64,128,27,54],v=q.AES=H.extend({_doReset:function(){var y;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var B=this._keyPriorReset=this._key,g=B.words,k=B.sigBytes/4,w=this._nRounds=k+6,m=(w+1)*4,o=this._keySchedule=[],e=0;e6&&e%k==4&&(y=M[y>>>24]<<24|M[y>>>16&255]<<16|M[y>>>8&255]<<8|M[y&255]):(y=y<<8|y>>>24,y=M[y>>>24]<<24|M[y>>>16&255]<<16|M[y>>>8&255]<<8|M[y&255],y^=$[e/k|0]<<24),o[e]=o[e-k]^y);for(var r=this._invKeySchedule=[],s=0;s>>24]]^x[M[y>>>16&255]]^b[M[y>>>8&255]]^T[M[y&255]]}}},encryptBlock:function(y,B){this._doCryptBlock(y,B,this._keySchedule,c,u,E,l,M)},decryptBlock:function(y,B){var g=y[B+1];y[B+1]=y[B+3],y[B+3]=g,this._doCryptBlock(y,B,this._invKeySchedule,d,x,b,T,S);var g=y[B+1];y[B+1]=y[B+3],y[B+3]=g},_doCryptBlock:function(y,B,g,k,w,m,o,e){for(var r=this._nRounds,s=y[B]^g[0],t=y[B+1]^g[1],n=y[B+2]^g[2],a=y[B+3]^g[3],i=4,f=1;f>>24]^w[t>>>16&255]^m[n>>>8&255]^o[a&255]^g[i++],_=k[t>>>24]^w[n>>>16&255]^m[a>>>8&255]^o[s&255]^g[i++],R=k[n>>>24]^w[a>>>16&255]^m[s>>>8&255]^o[t&255]^g[i++],h=k[a>>>24]^w[s>>>16&255]^m[t>>>8&255]^o[n&255]^g[i++];s=L,t=_,n=R,a=h}var L=(e[s>>>24]<<24|e[t>>>16&255]<<16|e[n>>>8&255]<<8|e[a&255])^g[i++],_=(e[t>>>24]<<24|e[n>>>16&255]<<16|e[a>>>8&255]<<8|e[s&255])^g[i++],R=(e[n>>>24]<<24|e[a>>>16&255]<<16|e[s>>>8&255]<<8|e[t&255])^g[i++],h=(e[a>>>24]<<24|e[s>>>16&255]<<16|e[t>>>8&255]<<8|e[n&255])^g[i++];y[B]=L,y[B+1]=_,y[B+2]=R,y[B+3]=h},keySize:256/32});p.AES=H._createHelper(v)}(),P.AES})}(Ve)),Ve.exports}var Qe={exports:{}},X0;function Rt(){return X0||(X0=1,function(U,te){(function(P,p,O){U.exports=p(ie(),pe(),ye(),he(),se())})(ae,function(P){return function(){var p=P,O=p.lib,H=O.WordArray,q=O.BlockCipher,M=p.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],c=[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],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],E=[{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}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=M.DES=q.extend({_doReset:function(){for(var $=this._key,v=$.words,y=[],B=0;B<56;B++){var g=S[B]-1;y[B]=v[g>>>5]>>>31-g%32&1}for(var k=this._subKeys=[],w=0;w<16;w++){for(var m=k[w]=[],o=u[w],B=0;B<24;B++)m[B/6|0]|=y[(c[B]-1+o)%28]<<31-B%6,m[4+(B/6|0)]|=y[28+(c[B+24]-1+o)%28]<<31-B%6;m[0]=m[0]<<1|m[0]>>>31;for(var B=1;B<7;B++)m[B]=m[B]>>>(B-1)*4+3;m[7]=m[7]<<5|m[7]>>>27}for(var e=this._invSubKeys=[],B=0;B<16;B++)e[B]=k[15-B]},encryptBlock:function($,v){this._doCryptBlock($,v,this._subKeys)},decryptBlock:function($,v){this._doCryptBlock($,v,this._invSubKeys)},_doCryptBlock:function($,v,y){this._lBlock=$[v],this._rBlock=$[v+1],x.call(this,4,252645135),x.call(this,16,65535),b.call(this,2,858993459),b.call(this,8,16711935),x.call(this,1,1431655765);for(var B=0;B<16;B++){for(var g=y[B],k=this._lBlock,w=this._rBlock,m=0,o=0;o<8;o++)m|=E[o][((w^g[o])&l[o])>>>0];this._lBlock=w,this._rBlock=k^m}var e=this._lBlock;this._lBlock=this._rBlock,this._rBlock=e,x.call(this,1,1431655765),b.call(this,8,16711935),b.call(this,2,858993459),x.call(this,16,65535),x.call(this,4,252645135),$[v]=this._lBlock,$[v+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function x($,v){var y=(this._lBlock>>>$^this._rBlock)&v;this._rBlock^=y,this._lBlock^=y<<$}function b($,v){var y=(this._rBlock>>>$^this._lBlock)&v;this._lBlock^=y,this._rBlock^=y<<$}p.DES=q._createHelper(d);var T=M.TripleDES=q.extend({_doReset:function(){var $=this._key,v=$.words;if(v.length!==2&&v.length!==4&&v.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var y=v.slice(0,2),B=v.length<4?v.slice(0,2):v.slice(2,4),g=v.length<6?v.slice(0,2):v.slice(4,6);this._des1=d.createEncryptor(H.create(y)),this._des2=d.createEncryptor(H.create(B)),this._des3=d.createEncryptor(H.create(g))},encryptBlock:function($,v){this._des1.encryptBlock($,v),this._des2.decryptBlock($,v),this._des3.encryptBlock($,v)},decryptBlock:function($,v){this._des3.decryptBlock($,v),this._des2.encryptBlock($,v),this._des1.decryptBlock($,v)},keySize:192/32,ivSize:64/32,blockSize:64/32});p.TripleDES=q._createHelper(T)}(),P.TripleDES})}(Qe)),Qe.exports}var Je={exports:{}},U0;function zt(){return U0||(U0=1,function(U,te){(function(P,p,O){U.exports=p(ie(),pe(),ye(),he(),se())})(ae,function(P){return function(){var p=P,O=p.lib,H=O.StreamCipher,q=p.algo,M=q.RC4=H.extend({_doReset:function(){for(var u=this._key,E=u.words,l=u.sigBytes,d=this._S=[],x=0;x<256;x++)d[x]=x;for(var x=0,b=0;x<256;x++){var T=x%l,$=E[T>>>2]>>>24-T%4*8&255;b=(b+d[x]+$)%256;var v=d[x];d[x]=d[b],d[b]=v}this._i=this._j=0},_doProcessBlock:function(u,E){u[E]^=S.call(this)},keySize:256/32,ivSize:0});function S(){for(var u=this._S,E=this._i,l=this._j,d=0,x=0;x<4;x++){E=(E+1)%256,l=(l+u[E])%256;var b=u[E];u[E]=u[l],u[l]=b,d|=u[(u[E]+u[l])%256]<<24-x*8}return this._i=E,this._j=l,d}p.RC4=H._createHelper(M);var c=q.RC4Drop=M.extend({cfg:M.cfg.extend({drop:192}),_doReset:function(){M._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)S.call(this)}});p.RC4Drop=H._createHelper(c)}(),P.RC4})}(Je)),Je.exports}var e0={exports:{}},G0;function Ft(){return G0||(G0=1,function(U,te){(function(P,p,O){U.exports=p(ie(),pe(),ye(),he(),se())})(ae,function(P){return function(){var p=P,O=p.lib,H=O.StreamCipher,q=p.algo,M=[],S=[],c=[],u=q.Rabbit=H.extend({_doReset:function(){for(var l=this._key.words,d=this.cfg.iv,x=0;x<4;x++)l[x]=(l[x]<<8|l[x]>>>24)&16711935|(l[x]<<24|l[x]>>>8)&4278255360;var b=this._X=[l[0],l[3]<<16|l[2]>>>16,l[1],l[0]<<16|l[3]>>>16,l[2],l[1]<<16|l[0]>>>16,l[3],l[2]<<16|l[1]>>>16],T=this._C=[l[2]<<16|l[2]>>>16,l[0]&4294901760|l[1]&65535,l[3]<<16|l[3]>>>16,l[1]&4294901760|l[2]&65535,l[0]<<16|l[0]>>>16,l[2]&4294901760|l[3]&65535,l[1]<<16|l[1]>>>16,l[3]&4294901760|l[0]&65535];this._b=0;for(var x=0;x<4;x++)E.call(this);for(var x=0;x<8;x++)T[x]^=b[x+4&7];if(d){var $=d.words,v=$[0],y=$[1],B=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,g=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,k=B>>>16|g&4294901760,w=g<<16|B&65535;T[0]^=B,T[1]^=k,T[2]^=g,T[3]^=w,T[4]^=B,T[5]^=k,T[6]^=g,T[7]^=w;for(var x=0;x<4;x++)E.call(this)}},_doProcessBlock:function(l,d){var x=this._X;E.call(this),M[0]=x[0]^x[5]>>>16^x[3]<<16,M[1]=x[2]^x[7]>>>16^x[5]<<16,M[2]=x[4]^x[1]>>>16^x[7]<<16,M[3]=x[6]^x[3]>>>16^x[1]<<16;for(var b=0;b<4;b++)M[b]=(M[b]<<8|M[b]>>>24)&16711935|(M[b]<<24|M[b]>>>8)&4278255360,l[d+b]^=M[b]},blockSize:128/32,ivSize:64/32});function E(){for(var l=this._X,d=this._C,x=0;x<8;x++)S[x]=d[x];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0>>0?1:0)|0,this._b=d[7]>>>0>>0?1:0;for(var x=0;x<8;x++){var b=l[x]+d[x],T=b&65535,$=b>>>16,v=((T*T>>>17)+T*$>>>15)+$*$,y=((b&4294901760)*b|0)+((b&65535)*b|0);c[x]=v^y}l[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,l[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,l[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,l[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,l[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,l[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,l[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,l[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}p.Rabbit=H._createHelper(u)}(),P.Rabbit})}(e0)),e0.exports}var t0={exports:{}},K0;function Ot(){return K0||(K0=1,function(U,te){(function(P,p,O){U.exports=p(ie(),pe(),ye(),he(),se())})(ae,function(P){return function(){var p=P,O=p.lib,H=O.StreamCipher,q=p.algo,M=[],S=[],c=[],u=q.RabbitLegacy=H.extend({_doReset:function(){var l=this._key.words,d=this.cfg.iv,x=this._X=[l[0],l[3]<<16|l[2]>>>16,l[1],l[0]<<16|l[3]>>>16,l[2],l[1]<<16|l[0]>>>16,l[3],l[2]<<16|l[1]>>>16],b=this._C=[l[2]<<16|l[2]>>>16,l[0]&4294901760|l[1]&65535,l[3]<<16|l[3]>>>16,l[1]&4294901760|l[2]&65535,l[0]<<16|l[0]>>>16,l[2]&4294901760|l[3]&65535,l[1]<<16|l[1]>>>16,l[3]&4294901760|l[0]&65535];this._b=0;for(var T=0;T<4;T++)E.call(this);for(var T=0;T<8;T++)b[T]^=x[T+4&7];if(d){var $=d.words,v=$[0],y=$[1],B=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,g=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,k=B>>>16|g&4294901760,w=g<<16|B&65535;b[0]^=B,b[1]^=k,b[2]^=g,b[3]^=w,b[4]^=B,b[5]^=k,b[6]^=g,b[7]^=w;for(var T=0;T<4;T++)E.call(this)}},_doProcessBlock:function(l,d){var x=this._X;E.call(this),M[0]=x[0]^x[5]>>>16^x[3]<<16,M[1]=x[2]^x[7]>>>16^x[5]<<16,M[2]=x[4]^x[1]>>>16^x[7]<<16,M[3]=x[6]^x[3]>>>16^x[1]<<16;for(var b=0;b<4;b++)M[b]=(M[b]<<8|M[b]>>>24)&16711935|(M[b]<<24|M[b]>>>8)&4278255360,l[d+b]^=M[b]},blockSize:128/32,ivSize:64/32});function E(){for(var l=this._X,d=this._C,x=0;x<8;x++)S[x]=d[x];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0>>0?1:0)|0,this._b=d[7]>>>0>>0?1:0;for(var x=0;x<8;x++){var b=l[x]+d[x],T=b&65535,$=b>>>16,v=((T*T>>>17)+T*$>>>15)+$*$,y=((b&4294901760)*b|0)+((b&65535)*b|0);c[x]=v^y}l[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,l[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,l[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,l[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,l[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,l[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,l[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,l[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}p.RabbitLegacy=H._createHelper(u)}(),P.RabbitLegacy})}(t0)),t0.exports}(function(U,te){(function(P,p,O){U.exports=p(ie(),_e(),pt(),yt(),pe(),mt(),ye(),n0(),Z0(),gt(),V0(),bt(),_t(),wt(),a0(),kt(),he(),se(),Ct(),Bt(),Tt(),Et(),St(),Dt(),Ht(),Lt(),At(),It(),Pt(),Mt(),Rt(),zt(),Ft(),Ot())})(ae,function(P){return P})})(xt);/*! For license information please see imou-player.js.LICENSE.txt */(function(U,te){typeof be=="object"&&typeof r0=="object"?r0.exports=te():typeof define=="function"&&define.amd?define([],te):typeof be=="object"?be.library=te():U.library=te()})(self,()=>(()=>{var U={132:(O,H,q)=>{var M;function S(c){return S=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},S(c)}(function(c){var u,E=c.document,l={modules:{},status:{},timeout:10,event:{}},d=function(){this.v="2.6.7"},x=c.LAYUI_GLOBAL||{},b=(u=E.currentScript?E.currentScript.src:function(){for(var o,e=E.scripts,r=e.length-1,s=r;s>0;s--)if(e[s].readyState==="interactive"){o=e[s].src;break}return o||e[r].src}(),l.dir=x.dir||u.substring(0,u.lastIndexOf("/")+1)),T=function(o,e){e=e||"log",c.console&&console[e]&&console[e]("layui error hint: ".concat(o))},$=typeof opera<"u"&&opera.toString()==="[object Opera]",v=l.builtin={lay:"lay",layer:"layer",laydate:"laydate",laypage:"laypage",laytpl:"laytpl",layedit:"layedit",form:"form",upload:"upload",dropdown:"dropdown",transfer:"transfer",tree:"tree",table:"table",element:"element",rate:"rate",colorpicker:"colorpicker",slider:"slider",carousel:"carousel",flow:"flow",util:"util",code:"code",jquery:"jquery",all:"all","layui.all":"layui.all"};d.prototype.cache=l,d.prototype.define=function(o,e){return typeof o=="function"&&(e=o,o=[]),this.use(o,function(){var r=function(s,t){g[s]=t,l.status[s]=!0};return typeof e=="function"&&e(function(s,t){r(s,t),l.callback[s]=function(){e(r)}}),this},null,"define"),this},d.prototype.use=function(o,e,r,s){var t=this,n=l.dir=l.dir?l.dir:b,a=E.getElementsByTagName("head")[0];o=typeof o=="string"?[o]:typeof o=="function"?(e=o,["all"]):o,c.jQuery&&jQuery.fn.on&&(t.each(o,function(z,A){A==="jquery"&&o.splice(z,1)}),g.jquery=g.$=jQuery);var i=o[0],f=0;function L(z,A){var K=navigator.platform==="PLaySTATION 3"?/^complete$/:/^(complete|loaded)$/;(z.type==="load"||K.test((z.currentTarget||z.srcElement).readyState))&&(l.modules[i]=A,a.removeChild(D),function W(){if(++f>1e3*l.timeout/4)return T("".concat(i," is not a valid module"),"error");l.status[i]?_():setTimeout(W,4)}())}function _(){r.push(g[i]),o.length>1?t.use(o.slice(1),e,r,s):typeof e=="function"&&function(){if(g.jquery&&typeof g.jquery=="function"&&s!=="define")return g.jquery(function(){e.apply(g,r)});e.apply(g,r)}()}if(r=r||[],l.host=l.host||(n.match(/\/\/([\s\S]+?)\//)||["//".concat(location.host,"/")])[0],o.length===0||g["layui.all"]&&v[i])return _(),t;var R,h="".concat((v[i]?"".concat(n,"modules/"):/^\{\/\}/.test(t.modules[i])?"":l.base||"")+(t.modules[i]||i),".js");if(h=h.replace(/^\{\/\}/,""),!l.modules[i]&&g[i]&&(l.modules[i]=h),l.modules[i])(function z(){if(++f>1e3*l.timeout/4)return T("".concat(i," is not a valid module"),"error");typeof l.modules[i]=="string"&&l.status[i]?_():setTimeout(z,4)})();else{var D=E.createElement("script");D.async=!0,D.charset="utf-8",D.src=h+((R=l.version===!0?l.v||new Date().getTime():l.version||"")?"?v=".concat(R):""),a.appendChild(D),!D.attachEvent||D.attachEvent.toString&&D.attachEvent.toString().indexOf("[native code")<0||$?D.addEventListener("load",function(z){L(z,h)},!1):D.attachEvent("onreadystatechange",function(z){L(z,h)}),l.modules[i]=h}return t},d.prototype.getStyle=function(o,e){var r=o.currentStyle?o.currentStyle:c.getComputedStyle(o,null);return r[r.getPropertyValue?"getPropertyValue":"getAttribute"](e)},d.prototype.link=function(o,e,r){var s=this,t=E.getElementsByTagName("head")[0],n=E.createElement("link");typeof e=="string"&&(r=e);var a=(r||o).replace(/\.|\//g,""),i=n.id="layuicss-".concat(a),f="creating",L=0;return n.rel="stylesheet",n.href=o+(l.debug?"?v=".concat(new Date().getTime()):""),n.media="all",E.getElementById(i)||t.appendChild(n),typeof e!="function"||function _(R){var h=E.getElementById(i);if(++L>1e3*l.timeout/100)return T("".concat(o," timeout"));parseInt(s.getStyle(h,"width"))===1989?(R===f&&h.removeAttribute("lay-status"),h.getAttribute("lay-status")===f?setTimeout(_,100):e()):(h.setAttribute("lay-status",f),setTimeout(function(){_(f)},100))}(),s},d.prototype.addcss=function(o,e,r){return function(){}},l.callback={},d.prototype.factory=function(o){if(g[o])return typeof l.callback[o]=="function"?l.callback[o]:null},d.prototype.img=function(o,e,r){var s=new Image;if(s.src=o,s.complete)return e(s);s.onload=function(){s.onload=null,typeof e=="function"&&e(s)},s.onerror=function(t){s.onerror=null,typeof r=="function"&&r(t)}},d.prototype.config=function(o){for(var e in o=o||{})l[e]=o[e];return this},d.prototype.modules=function(){var o={};for(var e in v)o[e]=v[e];return o}(),d.prototype.extend=function(o){var e=this;for(var r in o=o||{})e[r]||e.modules[r]?T("".concat(r," Module already exists"),"error"):e.modules[r]=o[r];return e},d.prototype.router=function(o){var e={path:[],search:{},hash:((o=o||location.hash).match(/[^#](#.*$)/)||[])[1]||""};return/^#\//.test(o)&&(o=o.replace(/^#\//,""),e.href="/".concat(o),o=o.replace(/([^#])(#.*$)/,"$1").split("/")||[],this.each(o,function(r,s){/^\w+=/.test(s)?(s=s.split("="),e.search[s[0]]=s[1]):e.path.push(s)})),e},d.prototype.url=function(o){var e,r;return{pathname:(o?((o.match(/\.[^.]+?\/.+/)||[])[0]||"").replace(/^[^\/]+/,"").replace(/\?.+/,""):location.pathname).replace(/^\//,"").split("/"),search:(e={},r=(o?((o.match(/\?.+/)||[])[0]||"").replace(/\#.+/,""):location.search).replace(/^\?+/,"").split("&"),this.each(r,function(s,t){var n=t.indexOf("="),a=n<0?t.substr(0,t.length):n!==0&&t.substr(0,n);a&&(e[a]=n>0?t.substr(n+1):null)}),e),hash:this.router(o?(o.match(/#.+/)||[])[0]||"/":location.hash)}},d.prototype.data=function(o,e,r){if(o=o||"layui",r=r||localStorage,c.JSON&&c.JSON.parse){if(e===null)return delete r[o];e=S(e)==="object"?e:{key:e};try{var s=JSON.parse(r[o])}catch{s={}}return"value"in e&&(s[e.key]=e.value),e.remove&&delete s[e.key],r[o]=JSON.stringify(s),e.key?s[e.key]:s}},d.prototype.sessionData=function(o,e){return this.data(o,e,sessionStorage)},d.prototype.device=function(o){var e=navigator.userAgent.toLowerCase(),r=function(t){var n=new RegExp("".concat(t,"/([^\\s\\_\\-]+)"));return(t=(e.match(n)||[])[1])||!1},s={os:/windows/.test(e)?"windows":/linux/.test(e)?"linux":/iphone|ipod|ipad|ios/.test(e)?"ios":/mac/.test(e)?"mac":void 0,ie:!(!c.ActiveXObject&&!("ActiveXObject"in c))&&((e.match(/msie\s(\d+)/)||[])[1]||"11"),weixin:r("micromessenger")};return o&&!s[o]&&(s[o]=r(o)),s.android=/android/.test(e),s.ios=s.os==="ios",s.mobile=!(!s.android&&!s.ios),s},d.prototype.hint=function(){return{error:T}},d.prototype._typeof=function(o){return o===null?String(o):S(o)==="object"||typeof o=="function"?(e=(e=Object.prototype.toString.call(o).match(/\s(.+)\]$/)||[])[1]||"Object",new RegExp("\\b(".concat("Function|Array|Date|RegExp|Object|Error|Symbol",")\\b")).test(e)?e.toLowerCase():"object"):S(o);var e},d.prototype._isArray=function(o){var e,r=this._typeof(o);return!(!o||S(o)!=="object"||o===c)&&(e="length"in o&&o.length,r==="array"||e===0||typeof e=="number"&&e>0&&e-1 in o)},d.prototype.each=function(o,e){var r,s=this,t=function(n,a){return e.call(a[n],n,a[n])};if(typeof e!="function")return s;if(o=o||[],s._isArray(o))for(r=0;r(window.innerHeight||k.documentElement.clientHeight)},w.position=function(o,e,r){if(e){r=r||{},o!==k&&o!==w("body")[0]||(r.clickType="right");var s,t=r.clickType==="right"?{left:(s=r.e||window.event||{}).clientX,top:s.clientY,right:s.clientX,bottom:s.clientY}:o.getBoundingClientRect(),n=e.offsetWidth,a=e.offsetHeight,i=function(D){return D=D?"scrollLeft":"scrollTop",k.body[D]|k.documentElement[D]},f=function(D){return k.documentElement[D?"clientWidth":"clientHeight"]},L=t.left,_=t.bottom;L+n+5>f("width")&&(L=f("width")-n-5),_+a+5>f()&&(t.top>a+5?_=t.top-a-10:r.clickType==="right"&&(_=f()-a-10)<0&&(_=0));var R=r.position;if(R&&(e.style.position=R),e.style.left="".concat(L+(R==="fixed"?0:i(1)),"px"),e.style.top="".concat(_+(R==="fixed"?0:i()),"px"),!w.hasScrollbar()){var h=e.getBoundingClientRect();!r.SYSTEM_RELOAD&&h.bottom+5>f()&&(r.SYSTEM_RELOAD=!0,setTimeout(function(){w.position(o,e,r)},50))}}},w.options=function(o,e){var r=w(o),s=e||"lay-options";try{return new Function("return ".concat(r.attr(s)||"{}"))()}catch(t){return hint.error("parseerror\uFF1A".concat(t),"error"),{}}},w.isTopElem=function(o){var e=[k,w("body")[0]],r=!1;return w.each(e,function(s,t){if(t===o)return r=!0}),r},m.addStr=function(o,e){return o=o.replace(/\s+/," "),e=e.replace(/\s+/," ").split(" "),w.each(e,function(r,s){new RegExp("\\b".concat(s,"\\b")).test(o)||(o="".concat(o," ").concat(s))}),o.replace(/^\s|\s$/,"")},m.removeStr=function(o,e){return o=o.replace(/\s+/," "),e=e.replace(/\s+/," ").split(" "),w.each(e,function(r,s){var t=new RegExp("\\b".concat(s,"\\b"));t.test(o)&&(o=o.replace(t,""))}),o.replace(/\s+/," ").replace(/^\s|\s$/,"")},m.prototype.find=function(o){var e=this,r=0,s=[],t=S(o)==="object";return this.each(function(n,a){for(var i=t?a.contains(o):a.querySelectorAll(o||null);r0)return r[0].style[o]}():r.each(function(t,n){S(o)==="object"?w.each(o,function(a,i){n.style[a]=s(i)}):n.style[o]=s(e)})},m.prototype.width=function(o){var e=this;return o===void 0?function(){if(e.length>0)return e[0].offsetWidth}():e.each(function(r,s){e.css("width",o)})},m.prototype.height=function(o){var e=this;return o===void 0?function(){if(e.length>0)return e[0].offsetHeight}():e.each(function(r,s){e.css("height",o)})},m.prototype.attr=function(o,e){var r=this;return e===void 0?function(){if(r.length>0)return r[0].getAttribute(o)}():r.each(function(s,t){t.setAttribute(o,e)})},m.prototype.removeAttr=function(o){return this.each(function(e,r){r.removeAttribute(o)})},m.prototype.html=function(o){var e=this;return o===void 0?function(){if(e.length>0)return e[0].innerHTML}():this.each(function(r,s){s.innerHTML=o})},m.prototype.val=function(o){var e=this;return o===void 0?function(){if(e.length>0)return e[0].value}():this.each(function(r,s){s.value=o})},m.prototype.append=function(o){return this.each(function(e,r){S(o)==="object"?r.appendChild(o):r.innerHTML+=o})},m.prototype.remove=function(o){return this.each(function(e,r){o?r.removeChild(o):r.parentNode.removeChild(r)})},m.prototype.on=function(o,e){return this.each(function(r,s){s.attachEvent?s.attachEvent("on".concat(o),function(t){t.target=t.srcElement,e.call(s,t)}):s.addEventListener(o,e,!1)})},m.prototype.off=function(o,e){return this.each(function(r,s){s.detachEvent?s.detachEvent("on".concat(o),e):s.removeEventListener(o,e,!1)})},window.lay=w,window.layui&&g.define&&g.define(function(o){o("lay",w)})})(window),function(c,u){var E=c.layui&&layui.define,l={getPath:c.lay&&lay.getPath?lay.getPath:"",link:function(t,n,a){n()}},d=c.LAYUI_GLOBAL||{},x={v:"5.3.1",config:{},index:c.laydate&&c.laydate.v?1e5:0,path:d.laydate_dir||l.getPath,set:function(t){var n=this;return n.config=lay.extend({},n.config,t),n},ready:function(t){var n="laydate",a="".concat(E?"modules/laydate/":"theme/","default/laydate.css?v=").concat(x.v).concat("");return E?layui.addcss(a,t,n):l.link(a,t,n),this}},b=function t(){var n=this,a=n.config.id;return t.that[a]=n,{hint:function(i){n.hint.call(n,i)},config:n.config}},T="laydate",$="layui-this",v="laydate-disabled",y=[100,2e5],B="layui-laydate-static",g="layui-laydate-list",k="layui-laydate-hint",w=".laydate-btns-confirm",m="laydate-time-text",o="laydate-btns-time",e="layui-laydate-preview",r=function(t){var n=this;n.index=++x.index,n.config=lay.extend({},n.config,x.config,t),(t=n.config).id="id"in t?t.id:n.index,x.ready(function(){n.init()})},s="yyyy|y|MM|M|dd|d|HH|H|mm|m|ss|s";b.formatArr=function(t){return(t||"").match(new RegExp("".concat(s,"|."),"g"))||[]},r.isLeapYear=function(t){return t%4==0&&t%100!=0||t%400==0},r.prototype.config={type:"date",range:!1,format:"yyyy-MM-dd",value:null,isInitValue:!0,min:"1900-1-1",max:"2099-12-31",trigger:"click",show:!1,showBottom:!0,isPreview:!0,btns:["clear","now","confirm"],lang:"cn",theme:"default",position:null,calendar:!1,mark:{},zIndex:null,done:null,change:null},r.prototype.lang=function(){var t={cn:{weeks:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],time:["\u65F6","\u5206","\u79D2"],timeTips:"\u9009\u62E9\u65F6\u95F4",startTime:"\u5F00\u59CB\u65F6\u95F4",endTime:"\u7ED3\u675F\u65F6\u95F4",dateTips:"\u8FD4\u56DE\u65E5\u671F",month:["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341","\u5341\u4E00","\u5341\u4E8C"],tools:{confirm:"\u786E\u5B9A",clear:"\u6E05\u7A7A",now:"\u73B0\u5728"},timeout:"\u7ED3\u675F\u65F6\u95F4\u4E0D\u80FD\u65E9\u4E8E\u5F00\u59CB\u65F6\u95F4
\u8BF7\u91CD\u65B0\u9009\u62E9",invalidDate:"\u4E0D\u5728\u6709\u6548\u65E5\u671F\u6216\u65F6\u95F4\u8303\u56F4\u5185",formatError:["\u65E5\u671F\u683C\u5F0F\u4E0D\u5408\u6CD5
\u5FC5\u987B\u9075\u5FAA\u4E0B\u8FF0\u683C\u5F0F\uFF1A
","
\u5DF2\u4E3A\u4F60\u91CD\u7F6E"],preview:"\u5F53\u524D\u9009\u4E2D\u7684\u7ED3\u679C"},en:{weeks:["Su","Mo","Tu","We","Th","Fr","Sa"],time:["Hours","Minutes","Seconds"],timeTips:"Select Time",startTime:"Start Time",endTime:"End Time",dateTips:"Select Date",month:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],tools:{confirm:"Confirm",clear:"Clear",now:"Now"},timeout:"End time cannot be less than start Time
Please re-select",invalidDate:"Invalid date",formatError:["The date format error
Must be followed\uFF1A
","
It has been reset"],preview:"The selected result"}};return t[this.config.lang]||t.cn},r.prototype.init=function(){var t=this,n=t.config,a=n.position==="static",i={year:"yyyy",month:"yyyy-MM",date:"yyyy-MM-dd",time:"HH:mm:ss",datetime:"yyyy-MM-dd HH:mm:ss"};n.elem=lay(n.elem),n.eventElem=lay(n.eventElem),n.elem[0]&&(t.rangeStr=n.range?typeof n.range=="string"?n.range:"-":"",n.range&&n.range.constructor===Array&&(t.rangeElem=[lay(n.range[0]),lay(n.range[1])]),i[n.type]||(c.console&&console.error&&console.error("laydate type error:'".concat(n.type,"' is not supported")),n.type="date"),n.format===i.date&&(n.format=i[n.type]||i.date),t.format=b.formatArr(n.format),t.EXP_IF="",t.EXP_SPLIT="",lay.each(t.format,function(f,L){var _=new RegExp(s).test(L)?"\\d{".concat(new RegExp(s).test(t.format[f===0?f+1:f-1]||"")?/^yyyy|y$/.test(L)?4:L.length:/^yyyy$/.test(L)?"1,4":/^y$/.test(L)?"1,308":"1,2","}"):"\\".concat(L);t.EXP_IF+=_,t.EXP_SPLIT="".concat(t.EXP_SPLIT,"(").concat(_,")")}),t.EXP_IF_ONE=new RegExp("^".concat(t.EXP_IF,"$")),t.EXP_IF=new RegExp("^".concat(n.range?"".concat(t.EXP_IF,"\\s\\").concat(t.rangeStr,"\\s").concat(t.EXP_IF):t.EXP_IF,"$")),t.EXP_SPLIT=new RegExp("^".concat(t.EXP_SPLIT,"$"),""),t.isInput(n.elem[0])||n.trigger==="focus"&&(n.trigger="click"),n.elem.attr("lay-key")||(n.elem.attr("lay-key",t.index),n.eventElem.attr("lay-key",t.index)),n.mark=lay.extend({},n.calendar&&n.lang==="cn"?{"0-1-1":"\u5143\u65E6","0-2-14":"\u60C5\u4EBA","0-3-8":"\u5987\u5973","0-3-12":"\u690D\u6811","0-4-1":"\u611A\u4EBA","0-5-1":"\u52B3\u52A8","0-5-4":"\u9752\u5E74","0-6-1":"\u513F\u7AE5","0-9-10":"\u6559\u5E08","0-9-18":"\u56FD\u803B","0-10-1":"\u56FD\u5E86","0-12-25":"\u5723\u8BDE"}:{},n.mark),lay.each(["min","max"],function(f,L){var _=[],R=[];if(typeof n[L]=="number"){var h=n[L],D=new Date().getTime(),z=864e5,A=new Date(h?h0)return!0;var I=lay.elem("div",{class:"layui-laydate-header"}),Q=[function(){var Y=lay.elem("i",{class:"layui-icon laydate-icon laydate-prev-y"});return Y.innerHTML="<<",Y}(),function(){var Y=lay.elem("i",{class:"layui-icon laydate-icon laydate-prev-m"});return Y.innerHTML="<",Y}(),function(){var Y=lay.elem("div",{class:"laydate-set-ym"}),N=lay.elem("span"),X=lay.elem("span");return Y.appendChild(N),Y.appendChild(X),Y}(),function(){var Y=lay.elem("i",{class:"layui-icon laydate-icon laydate-next-m"});return Y.innerHTML=">",Y}(),function(){var Y=lay.elem("i",{class:"layui-icon laydate-icon laydate-next-y"});return Y.innerHTML=">>",Y}()],G=lay.elem("div",{class:"layui-laydate-content"}),F=lay.elem("table"),C=lay.elem("thead"),j=lay.elem("tr");lay.each(Q,function(Y,N){I.appendChild(N)}),C.appendChild(j),lay.each(new Array(6),function(Y){var N=F.insertRow(0);lay.each(new Array(7),function(X){if(Y===0){var V=lay.elem("th");V.innerHTML=f.weeks[X],j.appendChild(V)}N.insertCell(X)})}),F.insertBefore(C,F.children[0]),G.appendChild(F),R[Z]=lay.elem("div",{class:"layui-laydate-main laydate-main-list-".concat(Z)}),R[Z].appendChild(I),R[Z].appendChild(G),h.push(Q),D.push(G),z.push(F)}),lay(A).html((t=[],n=[],i.type==="datetime"&&t.push('').concat(f.timeTips,"")),(i.range||i.type!=="datetime")&&t.push('')),lay.each(i.btns,function(Z,I){var Q=f.tools[I]||"btn";i.range&&I==="now"||(L&&I==="clear"&&(Q=i.lang==="cn"?"\u91CD\u7F6E":"Reset"),n.push('').concat(Q,"")))}),t.push('")),t.join(""))),lay.each(R,function(Z,I){_.appendChild(I)}),i.showBottom&&_.appendChild(A),/^#/.test(i.theme)){var K=lay.elem("style"),W=["#{{id}} .layui-laydate-header{background-color:{{theme}};}","#{{id}} .layui-this{background-color:{{theme}} !important;}"].join("").replace(/{{id}}/g,a.elemID).replace(/{{theme}}/g,i.theme);"styleSheet"in K?(K.setAttribute("type","text/css"),K.styleSheet.cssText=W):K.innerHTML=W,lay(_).addClass("laydate-theme-molv"),_.appendChild(K)}x.thisId=i.id,a.remove(r.thisElemDate),L?i.elem.append(_):(u.body.appendChild(_),a.position()),a.checkDate().calendar(null,0,"init"),a.changeEvent(),r.thisElemDate=a.elemID,typeof i.ready=="function"&&i.ready(lay.extend({},i.dateTime,{month:i.dateTime.month+1})),a.preview()},r.prototype.remove=function(t){var n=this,a=(n.config,lay("#".concat(t||n.elemID)));return a[0]&&(a.hasClass(B)||n.checkDate(function(){a.remove()})),n},r.prototype.position=function(){var t=this,n=t.config;return lay.position(t.bindElem||n.elem[0],t.elem,{position:n.position}),t},r.prototype.hint=function(t){var n=this,a=(n.config,lay.elem("div",{class:k}));n.elem&&(a.innerHTML=t||"",lay(n.elem).find(".".concat(k)).remove(),n.elem.appendChild(a),clearTimeout(n.hinTimer),n.hinTimer=setTimeout(function(){lay(n.elem).find(".".concat(k)).remove()},3e3))},r.prototype.getAsYM=function(t,n,a){return a?n--:n++,n<0&&(n=11,t--),n>11&&(n=0,t++),[t,n]},r.prototype.systemDate=function(t){var n=t||new Date;return{year:n.getFullYear(),month:n.getMonth(),date:n.getDate(),hours:t?t.getHours():0,minutes:t?t.getMinutes():0,seconds:t?t.getSeconds():0}},r.prototype.checkDate=function(t){var n,a,i=this,f=i.config,L=i.lang(),_=f.dateTime=f.dateTime||i.systemDate(),R=i.bindElem||f.elem[0],h=(i.isInput(R),function(){if(i.rangeElem){var W=[i.rangeElem[0].val(),i.rangeElem[1].val()];if(W[0]&&W[1])return W.join(" ".concat(i.rangeStr," "))}return i.isInput(R)?R.value:f.position==="static"?"":lay(R).attr("lay-date")}()),D=function(W){W.year>y[1]&&(W.year=y[1],a=!0),W.month>11&&(W.month=11,a=!0),W.hours>23&&(W.hours=0,a=!0),W.minutes>59&&(W.minutes=0,W.hours++,a=!0),W.seconds>59&&(W.seconds=0,W.minutes++,a=!0),n=x.getEndDate(W.month+1,W.year),W.date>n&&(W.date=n,a=!0)},z=function(W,Z,I){var Q=["startTime","endTime"];Z=(Z.match(i.EXP_SPLIT)||[]).slice(1),I=I||0,f.range&&(i[Q[I]]=i[Q[I]]||{}),lay.each(i.format,function(G,F){var C=parseFloat(Z[G]);Z[G].lengthK(f.max)||K(_)K(f.max))&&(i.endDate=lay.extend({},f.max)),t&&t(),i},r.prototype.mark=function(t,n){var a,i=this.config;return lay.each(i.mark,function(f,L){var _=f.split("-");_[0]!=n[0]&&_[0]!=0||_[1]!=n[1]&&_[1]!=0||_[2]!=n[2]||(a=L||n[2])}),a&&t.html(''.concat(a,"")),this},r.prototype.limit=function(t,n,a,i){var f,L=this,_=L.config,R={},h=_[a>41?"endDate":"dateTime"],D=lay.extend({},h,n||{});return lay.each({now:D,min:_.min,max:_.max},function(z,A){var K;R[z]=L.newDate(lay.extend({year:A.year,month:A.month,date:A.date},(K={},lay.each(i,function(W,Z){K[Z]=A[Z]}),K))).getTime()}),f=R.nowR.max,t&&t[f?"addClass":"removeClass"](v),f},r.prototype.thisDateTime=function(t){var n=this.config;return t?this.endDate:n.dateTime},r.prototype.calendar=function(t,n,a){var i,f,L,_=this,R=_.config,h=(n=n?1:0,t||_.thisDateTime(n)),D=new Date,z=_.lang(),A=R.type!=="date"&&R.type!=="datetime",K=lay(_.table[n]).find("td"),W=lay(_.elemHeader[n][2]).find("span");return h.yeary[1]&&(h.year=y[1],_.hint(z.invalidDate)),_.firstDate||(_.firstDate=lay.extend({},h)),D.setFullYear(h.year,h.month,1),i=D.getDay(),f=x.getEndDate(h.month||12,h.year),L=x.getEndDate(h.month+1,h.year),lay.each(K,function(Z,I){var Q=[h.year,h.month],G=0;(I=lay(I)).removeAttr("class"),Z=i&&Z=a.firstDate.year&&(J.month=i.max.month,J.date=i.max.date),a.limit(lay(V),J,n),G++}),lay(D[K?0:1]).attr("lay-ym","".concat(G-8,"-").concat(Z[1])).html("".concat(F+W," - ").concat(G-1+W))}else if(t==="month")lay.each(new Array(12),function(X){var V=lay.elem("li",{"lay-ym":X}),J={year:Z[0],month:X};X+1==Z[1]&&lay(V).addClass($),V.innerHTML=L.month[X]+(K?"\u6708":""),R.appendChild(V),Z[0]=a.firstDate.year&&(J.date=i.max.date),a.limit(lay(V),J,n)}),lay(D[K?0:1]).attr("lay-ym","".concat(Z[0],"-").concat(Z[1])).html(Z[0]+W);else if(t==="time"){var C=function(){lay(R).find("ol").each(function(X,V){lay(V).find("li").each(function(J,ne){a.limit(lay(ne),[{hours:J},{hours:a[Q].hours,minutes:J},{hours:a[Q].hours,minutes:a[Q].minutes,seconds:J}][X],n,[["hours"],["hours","minutes"],["hours","minutes","seconds"]][X])})}),i.range||a.limit(lay(a.footer).find(w),a[Q],0,["hours","minutes","seconds"])};i.range?a[Q]||(a[Q]=Q==="startTime"?f:a.endDate):a[Q]=f,lay.each([24,60,60],function(X,V){var J=lay.elem("li"),ne=["

".concat(L.time[X],"

    ")];lay.each(new Array(V),function(ee){ne.push("").concat(lay.digit(ee,2),""))}),J.innerHTML="".concat(ne.join(""),"
"),R.appendChild(J)}),C()}if(A&&z.removeChild(A),z.appendChild(R),t==="year"||t==="month")lay(a.elemMain[n]).addClass("laydate-ym-show"),lay(R).find("li").on("click",function(){var X=0|lay(this).attr("lay-ym");lay(this).hasClass(v)||(n===0?(f[t]=X,a.limit(lay(a.footer).find(w),null,0)):a.endDate[t]=X,i.type==="year"||i.type==="month"?(lay(R).find(".".concat($)).removeClass($),lay(this).addClass($),i.type==="month"&&t==="year"&&(a.listYM[n][0]=X,_&&((n?a.endDate:f).year=X),a.list("month",n))):(a.checkDate("limit").calendar(null,n),a.closeList()),a.setBtnStatus(),i.range||(i.type==="month"&&t==="month"||i.type==="year"&&t==="year")&&a.setValue(a.parse()).remove().done(),a.done(null,"change"),lay(a.footer).find(".".concat(o)).removeClass(v))});else{var j=lay.elem("span",{class:m}),Y=function(){lay(R).find("ol").each(function(X){var V=this,J=lay(V).find("li");V.scrollTop=30*(a[Q][I[X]]-2),V.scrollTop<=0&&J.each(function(ne,ee){if(!lay(this).hasClass(v))return V.scrollTop=30*(ne-2),!0})})},N=lay(h[2]).find(".".concat(m));Y(),j.innerHTML=i.range?[L.startTime,L.endTime][n]:L.timeTips,lay(a.elemMain[n]).addClass("laydate-time-show"),N[0]&&N.remove(),h[2].appendChild(j),lay(R).find("ol").each(function(X){var V=this;lay(V).find("li").on("click",function(){var J=0|this.innerHTML;lay(this).hasClass(v)||(i.range?a[Q][I[X]]=J:f[I[X]]=J,lay(V).find(".".concat($)).removeClass($),lay(this).addClass($),C(),Y(),(a.endDate||i.type==="time")&&a.done(null,"change"),a.setBtnStatus())})})}return a},r.prototype.listYM=[],r.prototype.closeList=function(){var t=this;t.config,lay.each(t.elemCont,function(n,a){lay(this).find(".".concat(g)).remove(),lay(t.elemMain[n]).removeClass("laydate-ym-show laydate-time-show")}),lay(t.elem).find(".".concat(m)).remove()},r.prototype.setBtnStatus=function(t,n,a){var i,f=this,L=f.config,_=f.lang(),R=lay(f.footer).find(w);L.range&&L.type!=="time"&&(n=n||L.dateTime,a=a||f.endDate,i=f.newDate(n).getTime()>f.newDate(a).getTime(),f.limit(null,n)||f.limit(null,a)?R.addClass(v):R[i?"addClass":"removeClass"](v),t&&i&&f.hint(typeof t=="string"?_.timeout.replace(/日期/g,t):_.timeout))},r.prototype.parse=function(t,n){var a=this,i=a.config,f=n||(t=="end"?lay.extend({},a.endDate,a.endTime):i.range?lay.extend({},i.dateTime,a.startTime):i.dateTime),L=x.parse(f,a.format,1);return i.range&&t===void 0?"".concat(L," ").concat(a.rangeStr," ").concat(a.parse("end")):L},r.prototype.newDate=function(t){return t=t||{},new Date(t.year||1,t.month||0,t.date||1,t.hours||0,t.minutes||0,t.seconds||0)},r.prototype.setValue=function(t){var n=this,a=n.config,i=n.bindElem||a.elem[0];return a.position==="static"||(t=t||"",n.isInput(i)?lay(i).val(t):n.rangeElem?(n.rangeElem[0].val(t?n.parse("start"):""),n.rangeElem[1].val(t?n.parse("end"):"")):(lay(i).find("*").length===0&&lay(i).html(t),lay(i).attr("lay-date",t))),n},r.prototype.preview=function(){var t=this,n=t.config;if(n.isPreview){var a=lay(t.elem).find(".".concat(e)),i=n.range?t.endDate?t.parse():"":t.parse();a.html(i).css({color:"#5FB878","font-size":"14px;"}),setTimeout(function(){a.css({color:"#666","font-size":"12px;"})},300)}},r.prototype.done=function(t,n){var a=this,i=a.config,f=lay.extend({},lay.extend(i.dateTime,a.startTime)),L=lay.extend({},lay.extend(a.endDate,a.endTime));return lay.each([f,L],function(_,R){"month"in R&&lay.extend(R,{month:R.month+1})}),a.preview(),t=t||[a.parse(),f,L],typeof i[n||"done"]=="function"&&i[n||"done"].apply(i,t),a},r.prototype.choose=function(t,n){var a=this,i=a.config,f=a.thisDateTime(n),L=(lay(a.elem).find("td"),t.attr("lay-ymd").split("-"));L={year:0|L[0],month:(0|L[1])-1,date:0|L[2]},t.hasClass(v)||(lay.extend(f,L),i.range?(lay.each(["startTime","endTime"],function(_,R){a[R]=a[R]||{hours:0,minutes:0,seconds:0}}),a.calendar(null,n).done(null,"change")):i.position==="static"?a.calendar().done().done(null,"change"):i.type==="date"?a.setValue(a.parse()).remove().done():i.type==="datetime"&&a.calendar().done(null,"change"))},r.prototype.tool=function(t,n){var a=this,i=a.config,f=a.lang(),L=i.dateTime,_=i.position==="static",R={datetime:function(){lay(t).hasClass(v)||(a.list("time",0),i.range&&a.list("time",1),lay(t).attr("lay-type","date").html(a.lang().dateTips))},date:function(){a.closeList(),lay(t).attr("lay-type","datetime").html(a.lang().timeTips)},clear:function(){_&&(lay.extend(L,a.firstDate),a.calendar()),i.range&&(delete i.dateTime,delete a.endDate,delete a.startTime,delete a.endTime),a.setValue("").remove(),a.done(["",{},{}])},now:function(){var h=new Date;lay.extend(L,a.systemDate(),{hours:h.getHours(),minutes:h.getMinutes(),seconds:h.getSeconds()}),a.setValue(a.parse()).remove(),_&&a.calendar(),a.done()},confirm:function(){if(i.range){if(lay(t).hasClass(v))return a.hint(i.type==="time"?f.timeout.replace(/日期/g,"\u65F6\u95F4"):f.timeout)}else if(lay(t).hasClass(v))return a.hint(f.invalidDate);a.done(),a.setValue(a.parse()).remove()}};R[n]&&R[n]()},r.prototype.change=function(t){var n=this,a=n.config,i=n.thisDateTime(t),f=a.range&&(a.type==="year"||a.type==="month"),L=n.elemCont[t||0],_=n.listYM[t],R=function(h){var D=lay(L).find(".laydate-year-list")[0],z=lay(L).find(".laydate-month-list")[0];return D&&(_[0]=h?_[0]-15:_[0]+15,n.list("year",t)),z&&(h?_[0]--:_[0]++,n.list("month",t)),(D||z)&&(lay.extend(i,{year:_[0]}),f&&(i.year=_[0]),a.range||n.done(null,"change"),a.range||n.limit(lay(n.footer).find(w),{year:_[0]})),n.setBtnStatus(),D||z};return{prevYear:function(){R("sub")||(i.year--,n.checkDate("limit").calendar(null,t),n.done(null,"change"))},prevMonth:function(){var h=n.getAsYM(i.year,i.month,"sub");lay.extend(i,{year:h[0],month:h[1]}),n.checkDate("limit").calendar(null,t),n.done(null,"change")},nextMonth:function(){var h=n.getAsYM(i.year,i.month);lay.extend(i,{year:h[0],month:h[1]}),n.checkDate("limit").calendar(null,t),n.done(null,"change")},nextYear:function(){R()||(i.year++,n.checkDate("limit").calendar(null,t),n.done(null,"change"))}}},r.prototype.changeEvent=function(){var t=this;t.config,lay(t.elem).on("click",function(n){lay.stope(n)}).on("mousedown",function(n){lay.stope(n)}),lay.each(t.elemHeader,function(n,a){lay(a[0]).on("click",function(i){t.change(n).prevYear()}),lay(a[1]).on("click",function(i){t.change(n).prevMonth()}),lay(a[2]).find("span").on("click",function(i){var f=lay(this),L=f.attr("lay-ym"),_=f.attr("lay-type");L&&(L=L.split("-"),t.listYM[n]=[0|L[0],0|L[1]],t.list(_,n),lay(t.footer).find(".".concat(o)).addClass(v))}),lay(a[3]).on("click",function(i){t.change(n).nextMonth()}),lay(a[4]).on("click",function(i){t.change(n).nextYear()})}),lay.each(t.table,function(n,a){lay(a).find("td").on("click",function(){t.choose(lay(this),n)})}),lay(t.footer).find("span").on("click",function(){var n=lay(this).attr("lay-type");t.tool(this,n)})},r.prototype.isInput=function(t){return/input|textarea/.test(t.tagName.toLocaleLowerCase())},r.prototype.events=function(){var t=this,n=t.config,a=function(i,f){i.on(n.trigger,function(){f&&(t.bindElem=this),t.render()})};n.elem[0]&&!n.elem[0].eventHandler&&(a(n.elem,"bind"),a(n.eventElem),n.elem[0].eventHandler=!0)},b.that={},b.getThis=function(t){var n=b.that[t];return n||hint.error(t?"".concat(T," instance with ID '").concat(t,"' not found"):"ID argument required"),n},l.run=function(t){t(u).on("mousedown",function(n){if(x.thisId){var a=b.getThis(x.thisId);if(a){var i=a.config;n.target!==i.elem[0]&&n.target!==i.eventElem[0]&&n.target!==t(i.closeStop)[0]&&a.remove()}}}).on("keydown",function(n){if(x.thisId){var a=b.getThis(x.thisId);a&&n.keyCode===13&&t("#".concat(a.elemID))[0]&&a.elemID===r.thisElemDate&&(n.preventDefault(),t(a.footer).find(w)[0].click())}}),t(c).on("resize",function(){if(x.thisId){var n=b.getThis(x.thisId);if(n)return!(!n.elem||!t(".layui-laydate")[0])&&void n.position()}})},x.render=function(t){var n=new r(t);return b.call(n)},x.parse=function(t,n,a){return t=t||{},typeof n=="string"&&(n=b.formatArr(n)),n=(n||[]).concat(),lay.each(n,function(i,f){/yyyy|y/.test(f)?n[i]=lay.digit(t.year,f.length):/MM|M/.test(f)?n[i]=lay.digit(t.month+(a||0),f.length):/dd|d/.test(f)?n[i]=lay.digit(t.date,f.length):/HH|H/.test(f)?n[i]=lay.digit(t.hours,f.length):/mm|m/.test(f)?n[i]=lay.digit(t.minutes,f.length):/ss|s/.test(f)&&(n[i]=lay.digit(t.seconds,f.length))}),n.join("")},x.getEndDate=function(t,n){var a=new Date;return a.setFullYear(n||a.getFullYear(),t||a.getMonth()+1,1),new Date(a.getTime()-864e5).getDate()},E?(x.ready(),layui.define("lay",function(t){x.path=layui.cache.dir,l.run(lay),t(T,x)})):(M=function(){return l.run(lay),x}.call(H,q,H,O))===void 0||(O.exports=M)}(window,window.document)},484:function(O){O.exports=function(){var H=6e4,q=36e5,M="millisecond",S="second",c="minute",u="hour",E="day",l="week",d="month",x="quarter",b="year",T="date",$="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,B={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(a){var i=["th","st","nd","rd"],f=a%100;return"["+a+(i[(f-20)%10]||i[f]||i[0])+"]"}},g=function(a,i,f){var L=String(a);return!L||L.length>=i?a:""+Array(i+1-L.length).join(f)+a},k={s:g,z:function(a){var i=-a.utcOffset(),f=Math.abs(i),L=Math.floor(f/60),_=f%60;return(i<=0?"+":"-")+g(L,2,"0")+":"+g(_,2,"0")},m:function a(i,f){if(i.date()1)return a(h[0])}else{var D=i.name;m[D]=i,_=D}return!L&&_&&(w=_),_||!L&&w},r=function(a,i){if(o(a))return a.clone();var f=typeof i=="object"?i:{};return f.date=a,f.args=arguments,new t(f)},s=k;s.l=e,s.i=o,s.w=function(a,i){return r(a,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var t=function(){function a(f){this.$L=e(f.locale,null,!0),this.parse(f)}var i=a.prototype;return i.parse=function(f){this.$d=function(L){var _=L.date,R=L.utc;if(_===null)return new Date(NaN);if(s.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var h=_.match(v);if(h){var D=h[2]-1||0,z=(h[7]||"0").substring(0,3);return R?new Date(Date.UTC(h[1],D,h[3]||1,h[4]||0,h[5]||0,h[6]||0,z)):new Date(h[1],D,h[3]||1,h[4]||0,h[5]||0,h[6]||0,z)}}return new Date(_)}(f),this.$x=f.x||{},this.init()},i.init=function(){var f=this.$d;this.$y=f.getFullYear(),this.$M=f.getMonth(),this.$D=f.getDate(),this.$W=f.getDay(),this.$H=f.getHours(),this.$m=f.getMinutes(),this.$s=f.getSeconds(),this.$ms=f.getMilliseconds()},i.$utils=function(){return s},i.isValid=function(){return this.$d.toString()!==$},i.isSame=function(f,L){var _=r(f);return this.startOf(L)<=_&&_<=this.endOf(L)},i.isAfter=function(f,L){return r(f){var H=O&&O.__esModule?()=>O.default:()=>O;return P.d(H,{a:H}),H},P.d=(O,H)=>{for(var q in H)P.o(H,q)&&!P.o(O,q)&&Object.defineProperty(O,q,{enumerable:!0,get:H[q]})},P.o=(O,H)=>Object.prototype.hasOwnProperty.call(O,H),P.r=O=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(O,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(O,"__esModule",{value:!0})};var p={};return(()=>{P.r(p),P.d(p,{default:()=>B});var O=P(484),H=P.n(O);function q(g){var k=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],w=document.getElementById("imou_player_icon_root_".concat(g)),m=document.getElementById("imou_player_timeLine-web_".concat(g)),o=document.getElementById("imou_player_timeLine-celeContainer_".concat(g));k?(w.style.visibility="hidden",m&&(m.style.display="none",o.style.display="none")):(w.style.visibility="",m&&(m.style.display="",o.style.display=""))}var M=P(132),S=P.n(M);function c(g,k,w,m,o,e,r){g.beginPath(),g.moveTo(k,w),g.lineTo(m,o),g.strokeStyle=e,g.lineWidth=r,g.closePath(),g.stroke()}function u(g,k,w,m,o,e){g.fillStyle=e,g.fillRect(k,w,m,o)}function E(g,k){for(var w=0;w9?k:"0".concat(k),":").concat(w>9?w:"0".concat(w),":").concat(m>9?m:"0".concat(m))}var d=function(){function g(m){var o=this,e=m.elem,r=m.width,s=m.beginTime,t=m.height,n=m.Obj;(function(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")})(this,g),this.elem=e,this.ctx=e.getContext("2d"),this.width=r,this.height=t,e.width=r,e.height=t,this.record=[],this.beginTime=s,this.timestamp=s||0,this.elem.onmousedown=function(a){o.onmousedown(a)},this.elem.ondragstart=function(){return!1},this.Obj=n,this.step=10}var k,w;return k=g,w=[{key:"onmousedown",value:function(m){var o=this;this.stop(!1),this.startMoveX=m.offsetX,document.onmousemove=function(e){o.onmouseMove(e)},document.onmouseup=function(e){o.onmouseUp(e)},document.onmouseleave=function(e){o.onmouseUp(e)}}},{key:"onmouseMove",value:function(m){var o=this.startMoveX-m.offsetX;this.moveTimestamp=Math.floor(this.timestamp+o),this.moveTimestamp<0&&(this.moveTimestamp=0),this.moveTimestamp>86399&&(this.moveTimestamp=86399),this.reDrawLine(this.width/2-this.moveTimestamp*this.step,this.record)}},{key:"onmouseUp",value:function(){document.onmousemove=null,document.onmouseup=null,document.onmouseleave=null,this.timestamp=this.moveTimestamp,this.Obj.changeImouUrl("beginTime",this.timestamp)}},{key:"start",value:function(){this.loopLine()}},{key:"loopLine",value:function(){var m=this;this.reDrawLine(this.width/2-this.timestamp*this.step,this.record),this.AnimationFrameId=setTimeout(function(){m.loopLine()},200)}},{key:"stop",value:function(){var m=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this.AnimationFrameId&&clearTimeout(this.AnimationFrameId),this.timestampTimer&&clearTimeout(this.timestampTimer),this.AnimationFrameId=null,this.timestampTimer=null,m&&(this.timestamp=0,this.record=[],this.reDrawLine(this.width/2,[]))}},{key:"changeProp",value:function(m,o){if(m==="timestamp"){var e=this.record,r=this.timestamp,s=this.step;if(o<0)return void(this.timestamp=0);if(!this.AnimationFrameId)return;e.length>0&&r>=e[e.length-1].endTime&&(this.Obj.status.message="\u64AD\u653E\u7ED3\u675F",this.Obj.stop(),this.stop(),this.reDrawLine(this.width/2-e[e.length-1].endTime*s,e))}this[m]=o,m==="width"&&(this.elem.width=o)}},{key:"reDrawLine",value:function(m){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],e=this.ctx,r=this.step;e.clearRect(0,0,this.width,this.height);for(var s=0;sthis.width)break;(n>0||a>0||nthis.width)break;f%10==0?(c(e,L,0,L,50,"#808080",2),e.font="15px PingFang SC",e.fillStyle="#D8D8D8",e.fillText(l(f),L+12,20)):c(e,L,30,L,50,"#808080",2)}}c(e,this.width/2,0,this.width/2,50,"#f18d00",2)}}],w&&E(k.prototype,w),Object.defineProperty(k,"prototype",{writable:!1}),g}();function x(g){return x=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},x(g)}function b(){b=function(){return g};var g={},k=Object.prototype,w=k.hasOwnProperty,m=typeof Symbol=="function"?Symbol:{},o=m.iterator||"@@iterator",e=m.asyncIterator||"@@asyncIterator",r=m.toStringTag||"@@toStringTag";function s(F,C,j){return Object.defineProperty(F,C,{value:j,enumerable:!0,configurable:!0,writable:!0}),F[C]}try{s({},"")}catch{s=function(C,j,Y){return C[j]=Y}}function t(F,C,j,Y){var N=C&&C.prototype instanceof i?C:i,X=Object.create(N.prototype),V=new I(Y||[]);return X._invoke=function(J,ne,ee){var re="suspendedStart";return function(oe,ue){if(re==="executing")throw new Error("Generator is already running");if(re==="completed"){if(oe==="throw")throw ue;return{value:void 0,done:!0}}for(ee.method=oe,ee.arg=ue;;){var de=ee.delegate;if(de){var xe=K(de,ee);if(xe){if(xe===a)continue;return xe}}if(ee.method==="next")ee.sent=ee._sent=ee.arg;else if(ee.method==="throw"){if(re==="suspendedStart")throw re="completed",ee.arg;ee.dispatchException(ee.arg)}else ee.method==="return"&&ee.abrupt("return",ee.arg);re="executing";var le=n(J,ne,ee);if(le.type==="normal"){if(re=ee.done?"completed":"suspendedYield",le.arg===a)continue;return{value:le.arg,done:ee.done}}le.type==="throw"&&(re="completed",ee.method="throw",ee.arg=le.arg)}}}(F,j,V),X}function n(F,C,j){try{return{type:"normal",arg:F.call(C,j)}}catch(Y){return{type:"throw",arg:Y}}}g.wrap=t;var a={};function i(){}function f(){}function L(){}var _={};s(_,o,function(){return this});var R=Object.getPrototypeOf,h=R&&R(R(Q([])));h&&h!==k&&w.call(h,o)&&(_=h);var D=L.prototype=i.prototype=Object.create(_);function z(F){["next","throw","return"].forEach(function(C){s(F,C,function(j){return this._invoke(C,j)})})}function A(F,C){function j(N,X,V,J){var ne=n(F[N],F,X);if(ne.type!=="throw"){var ee=ne.arg,re=ee.value;return re&&x(re)=="object"&&w.call(re,"__await")?C.resolve(re.__await).then(function(oe){j("next",oe,V,J)},function(oe){j("throw",oe,V,J)}):C.resolve(re).then(function(oe){ee.value=oe,V(ee)},function(oe){return j("throw",oe,V,J)})}J(ne.arg)}var Y;this._invoke=function(N,X){function V(){return new C(function(J,ne){j(N,X,J,ne)})}return Y=Y?Y.then(V,V):V()}}function K(F,C){var j=F.iterator[C.method];if(j===void 0){if(C.delegate=null,C.method==="throw"){if(F.iterator.return&&(C.method="return",C.arg=void 0,K(F,C),C.method==="throw"))return a;C.method="throw",C.arg=new TypeError("The iterator does not provide a 'throw' method")}return a}var Y=n(j,F.iterator,C.arg);if(Y.type==="throw")return C.method="throw",C.arg=Y.arg,C.delegate=null,a;var N=Y.arg;return N?N.done?(C[F.resultName]=N.value,C.next=F.nextLoc,C.method!=="return"&&(C.method="next",C.arg=void 0),C.delegate=null,a):N:(C.method="throw",C.arg=new TypeError("iterator result is not an object"),C.delegate=null,a)}function W(F){var C={tryLoc:F[0]};1 in F&&(C.catchLoc=F[1]),2 in F&&(C.finallyLoc=F[2],C.afterLoc=F[3]),this.tryEntries.push(C)}function Z(F){var C=F.completion||{};C.type="normal",delete C.arg,F.completion=C}function I(F){this.tryEntries=[{tryLoc:"root"}],F.forEach(W,this),this.reset(!0)}function Q(F){if(F){var C=F[o];if(C)return C.call(F);if(typeof F.next=="function")return F;if(!isNaN(F.length)){var j=-1,Y=function N(){for(;++j=0;--Y){var N=this.tryEntries[Y],X=N.completion;if(N.tryLoc==="root")return j("end");if(N.tryLoc<=this.prev){var V=w.call(N,"catchLoc"),J=w.call(N,"finallyLoc");if(V&&J){if(this.prev=0;--j){var Y=this.tryEntries[j];if(Y.tryLoc<=this.prev&&w.call(Y,"finallyLoc")&&this.prev=0;--C){var j=this.tryEntries[C];if(j.finallyLoc===F)return this.complete(j.completion,j.afterLoc),Z(j),a}},catch:function(F){for(var C=this.tryEntries.length-1;C>=0;--C){var j=this.tryEntries[C];if(j.tryLoc===F){var Y=j.completion;if(Y.type==="throw"){var N=Y.arg;Z(j)}return N}}throw new Error("illegal catch attempt")},delegateYield:function(F,C,j){return this.delegate={iterator:Q(F),resultName:C,nextLoc:j},this.method==="next"&&(this.arg=void 0),a}},g}function T(g,k,w,m,o,e,r){try{var s=g[e](r),t=s.value}catch(n){return void w(n)}s.done?k(t):Promise.resolve(t).then(m,o)}function $(g,k){(k==null||k>g.length)&&(k=g.length);for(var w=0,m=new Array(k);w40?X>80?V>40&&V<80&&(J="right"):V<40?J="up":V>80&&(J="down"):V>40&&V<80&&(J="left"),J&&I.ptzControl(J)}),j.addEventListener("mouseup",function(){I.ptzControl("stop")}),Q.appendChild(j);var Y=document.createElement("div");return Y.style.display="none",Y.setAttribute("id","imou_player_scale_".concat(I.iframeId)),Y.setAttribute("class","player__scale"),Y.style.zIndex="99999",["add","subtract"].forEach(function(N){var X=document.createElement("div");X.setAttribute("class","scale-".concat(N)),X.addEventListener("click",function(V){let J={deviceId:I.status.deviceId,operation:N==="add"?8:9,channelId:a,duration:1e3};ht(J)}),Y.appendChild(X)}),Q.appendChild(Y),Q}(W):function(I){var Q=new DocumentFragment,G=I.iframeId,F=document.createElement("div");F.setAttribute("id","imou_player_icon_root_".concat(G)),F.style.display="none",F.style.position="absolute",F.style.width="100%",F.style.height="100%",F.style.zIndex="99999";var C=document.createElement("div");C.style.color="#f18d00",C.innerHTML="".concat(I.status.deviceId," \u901A\u9053 ").concat(I.status.channelId),C.setAttribute("class","topLeft"),F.appendChild(C),["play","voice","capture"].forEach(function(ne,ee){var re=document.createElement("div");re.setAttribute("id","imou_player_icon_".concat(ne,"_").concat(G)),re.setAttribute("class","iconfont icon-".concat(ne," record-icon position_left_").concat(ee)),F.appendChild(re)}),["fullPage","WangYeQuanPing"].forEach(function(ne,ee){var re=document.createElement("div");re.setAttribute("id","imou_player_icon_".concat(ne,"_").concat(G)),re.setAttribute("class","iconfont icon-".concat(ne," record-icon position_right_").concat(ee)),F.appendChild(re)}),["BenDiLuXiang","YunLuXiang"].forEach(function(ne,ee){var re=document.createElement("div");re.setAttribute("id","imou_player_icon_".concat(ne,"_").concat(G)),re.setAttribute("class","iconfont icon-Icon_".concat(ne," record-icon topRight position_right_").concat(ee)),I.status.recordType==="localRecord"&&ne==="BenDiLuXiang"&&(re.style.color="blue"),I.status.recordType!=="localRecord"&&ne==="YunLuXiang"&&(re.style.color="blue"),F.appendChild(re)}),Q.appendChild(F),F.addEventListener("click",function(ne){switch(ne.target.id){case"imou_player_icon_play_".concat(G):I.status.playing?I.pause():I.play();break;case"imou_player_icon_capture_".concat(G):I.capture();break;case"imou_player_icon_voice_".concat(G):I.volume(!I.status.volume);break;case"imou_player_icon_fullPage_".concat(G):I.status.fullPage=!I.status.fullPage;break;case"imou_player_icon_WangYeQuanPing_".concat(G):I.status.fullWebPage=!I.status.fullWebPage;break;case"imou_player_icon_BenDiLuXiang_".concat(G):I.status.message="\u5207\u6362\u5F55\u50CF\u81F3\u672C\u5730\u5F55\u50CF\u4E2D...",I.changeImouUrl("recordType","localRecord");break;case"imou_player_icon_YunLuXiang_".concat(G):I.status.message="\u5207\u6362\u5F55\u50CF\u81F3\u4E91\u5F55\u50CF\u4E2D...",I.changeImouUrl("recordType","cloud")}});var j=document.createElement("div");j.setAttribute("id","imou_player_message_root_".concat(G)),j.setAttribute("style","position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:1.2em;color:white;z-index:99999;"),j.style.display="none",Q.appendChild(j);var Y=document.createElement("canvas");Y.setAttribute("id","imou_player_timeLine-web_".concat(G)),Y.setAttribute("style","display:none;position:absolute;bottom:0px;z-index:99999;background-color:rgba(60, 60, 60,1);");var N=new d({elem:Y,width:I.status.width,height:50,Obj:I,beginTime:H()(I.status.beginTime).unix()-H()(I.status.beginTime).startOf("day").unix()});I.timeLine=N,Q.appendChild(Y);var X=document.createElement("div");X.setAttribute("id","imou_player_timeLine-celeContainer_".concat(G)),X.setAttribute("style","display:none;position:absolute;bottom:0px;padding-right:10px;right:0px;z-index:99999;width:35px;height:50px;background-color:rgb(60, 60, 60);");var V=document.createElement("div");V.setAttribute("class","iconfont icon-Console_icon_calendar record-icon"),V.setAttribute("style","bottom:10px;left:5px;"),V.addEventListener("click",function(){J.style.display===""?J.style.display="none":J.style.display=""});var J=document.createElement("div");return J.setAttribute("id","player_timeLine-cele_".concat(G)),J.setAttribute("style","display:none;position:absolute;top:-332px;left:-274px;width:274px;height:322px;"),setTimeout(function(){var ne=I.status.beginTime.split(" ")[0],ee=H()().format("YYYY-MM-DD");S().render({elem:"#player_timeLine-cele_".concat(G),type:"date",position:"static",value:ne,max:ee,btns:[],done:function(re){setTimeout(function(){J.style.display="none",I.changeImouUrl("beginTime x",re)},100)}})},3e3),X.appendChild(V),X.appendChild(J),Q.appendChild(X),Q}(W);this.root.appendChild(Z),h&&(this.status.volume=!1),this.crateIframe(K,t,L),this.createHandleClick(["play","pause","stop","capture","ptzControl","talk","volume"]),this.listener={play:function(){},stop:function(){},pause:function(){},audioChange:function(){},talk:function(){},capture:function(){},error:function(){},volume:function(){}},this.playStatus=!1,this.resizeObserver=new ResizeObserver(function(I){var Q,G=function(C,j){var Y=typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(!Y){if(Array.isArray(C)||(Y=function(ee,re){if(ee){if(typeof ee=="string")return $(ee,re);var oe=Object.prototype.toString.call(ee).slice(8,-1);return oe==="Object"&&ee.constructor&&(oe=ee.constructor.name),oe==="Map"||oe==="Set"?Array.from(ee):oe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(oe)?$(ee,re):void 0}}(C))||j&&C&&typeof C.length=="number"){Y&&(C=Y);var N=0,X=function(){};return{s:X,n:function(){return N>=C.length?{done:!0}:{done:!1,value:C[N++]}},e:function(ee){throw ee},f:X}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var V,J=!0,ne=!1;return{s:function(){Y=Y.call(C)},n:function(){var ee=Y.next();return J=ee.done,ee},e:function(ee){ne=!0,V=ee},f:function(){try{J||Y.return==null||Y.return()}finally{if(ne)throw V}}}}(I);try{for(G.s();!(Q=G.n()).done;){var F=Q.value;F.contentRect&&function(){var C=F.contentRect,j=C.width,Y=C.height;document.documentElement.clientWidth!==j&&(r.status.width=j,r.status.height=Y),setTimeout(function(){r.timeLine&&r.timeLine.changeProp("width",j)},50)}()}}catch(C){G.e(C)}finally{G.f()}}),this.resizeObserver.observe(this.root)}var k,w,m,o;return k=g,w=[{key:"crateIframe",value:function(e,r,s){var t=this,n="url=".concat(e,"&kitToken=").concat(r,"&code=").concat(encodeURIComponent(s)),a=encodeURI("".concat(this.domain,"?").concat(n));this.iframeUrl=a;var i=document.createElement("iframe");i.id=this.iframeId,i.src=a,i.width="100%",i.height="100%",i.style="border:0;position:absolute;",i.setAttribute("allow","autoplay;microphone;fullscreen;midi;encrypted-media;"),i.setAttribute("frameborder",0),this.root.appendChild(i),this.iframe=i,this.iframeId=i.id,this.status.message!==""&&this.status.message!=="\u64AD\u653E\u7ED3\u675F"||(this.status.message="\u52A0\u8F7D\u4E2D\xB7\xB7\xB7"),this.addMessageListen=this.addMessageListen.bind(this),window.addEventListener("message",this.addMessageListen),i.onload=function(){t.emitMessage({id:i.id,type:"init"})};var f=function(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||(t.status.fullPage=!1)};this.exitHandler=f,document.addEventListener("webkitfullscreenchange",f,!1),document.addEventListener("mozfullscreenchange",f,!1),document.addEventListener("fullscreenchange",f,!1),document.addEventListener("MSFullscreenChange",f,!1)}},{key:"addMessageListen",value:function(e){var r=this,s=e.data,t=s.id,n=s.code,a=s.msg;if(t===this.iframe.id)switch(n){case"6001":this.timeLine&&this.timeLine.changeProp("timestamp",e.data.timestamp);break;case"2000":if(this.playing)return;this.status.message="",this.playing=!0,this.status.playing=!0,this.status.type===2&&(this.timeLine&&this.timeLine.start(),this.requestRecordList()),this.listener.play(),setTimeout(function(){!/Mobi|Android|iPhone/i.test(navigator.userAgent)&&r.status.volume&&r.volume(1)},1e3),this.mouseleaveFunc=function(i){var f=this;q(this.iframeId,!1),this.buttonShowOrHiddenFlag&&clearTimeout(this.buttonShowOrHiddenFlag),this.buttonShowOrHiddenFlag=setTimeout(function(){q(f.iframeId)},3e3)},this.mouseleaveFunc=this.mouseleaveFunc.bind(this),this.root.addEventListener("mouseover",this.mouseleaveFunc),this.buttonShowOrHiddenFlag=setTimeout(function(){q(r.iframeId)},3e3);break;case"2001":this.status.playing=!0,this.listener.play&&this.listener.play(e.data);break;case"2002":this.status.playing=!1,this.listener.pause&&this.listener.pause(e.data);break;case"2003":this.status.volume=!0,this.listener.volume(e.data);break;case"4209":this.listener.volume(e.data);break;case"2004":this.status.volume=!1,this.listener.volume(e.data);break;case"2005":this.status.talk=!0,this.listener.talk(e.data);break;case"4000":case"4102":case"4104":case"4105":case"4107":q(this.iframeId,!1),this.status.message=a,this.listener.error(e.data);break;case"2006":case"4201":case"4202":case"4203":case"4204":case"4205":case"4206":case"4207":case"4208":this.status.talk=!1,this.listener.talk(e.data);break;case"6002":this.doRequestRecordList(e.data.recordList)}}},{key:"emitMessage",value:function(e){this.iframe.contentWindow.postMessage(e,this.domain)}},{key:"on",value:function(e,r){this.listener[e]&&(this.listener[e]=r)}},{key:"emit",value:(m=b().mark(function e(r,s){return b().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.listener[r]){t.next=2;break}return t.abrupt("return");case 2:this.listener[r].forEach(function(n){return n()});case 3:case"end":return t.stop()}},e,this)}),o=function(){var e=this,r=arguments;return new Promise(function(s,t){var n=m.apply(e,r);function a(f){T(n,s,t,a,i,"next",f)}function i(f){T(n,s,t,a,i,"throw",f)}a(void 0)})},function(e,r){return o.apply(this,arguments)})},{key:"createHandleClick",value:function(e){var r=this;e.forEach(function(s){r[s]=function(t){(s!=="play"||r.playing)&&r.emitMessage({id:r.iframe.id,type:"".concat(s),params:t})}})}},{key:"fullScreen",value:function(){var e=this,r=this.root;(r.requestFullScreen||r.webkitRequestFullScreen||r.mozRequestFullScreen||r.msRequestFullscreen).call(r),setTimeout(function(){e.timeLine&&e.timeLine.changeProp("width",window.screen.width)},50)}},{key:"exitFullScreen",value:function(){var e=this;(document.exitFullScreen||document.webkitCancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen).call(document),setTimeout(function(){e.timeLine&&e.timeLine.changeProp("width",e.status.fullWebPage?document.documentElement.clientWidth:e.status.width)},100)}},{key:"fullPageScreen",value:function(){var e=this;window.scroll(0,0),document.body.style.overflow="hidden";var r=document.documentElement.clientWidth,s=document.documentElement.clientHeight;this.root.style.position="fixed",this.root.style.left="0",this.root.style.top="0",this.root.style.width="".concat(r,"px"),this.root.style.height="".concat(s,"px"),this.root.style.zIndex="999999",setTimeout(function(){e.timeLine&&e.timeLine.changeProp("width",r)},100)}},{key:"exitFullPageScreen",value:function(){var e=this;this.root.style.position="relative",this.root.style.width="".concat(this.status.width,"px"),this.root.style.height="".concat(this.status.height,"px"),this.root.style.zIndex="",document.body.style.overflow="",setTimeout(function(){e.timeLine&&e.timeLine.changeProp("width",e.status.width)},0)}},{key:"changeImouUrl",value:function(e,r){switch(this.destroy(!1),e){case"beginTime":this.status.beginTime=H().unix(H()(this.status.beginTime).startOf("day").unix()+r).format("YYYY-MM-DD HH:mm:ss"),this.status.endTime=H()(this.status.beginTime).endOf("day").format("YYYY-MM-DD HH:mm:ss");break;case"beginTime x":this.status.beginTime=H()(r).format("YYYY-MM-DD HH:mm:ss"),this.status.endTime=H()(this.status.beginTime).endOf("day").format("YYYY-MM-DD HH:mm:ss"),this.record=[],this.timeLine&&this.timeLine.stop(!0),this.status.message="\u5207\u6362\u65E5\u671F\u81F3".concat(r,"\u4E2D...");break;case"recordType":this.status.beginTime=H()(this.status.beginTime).startOf("day").format("YYYY-MM-DD HH:mm:ss"),this.status.endTime=H()(this.status.beginTime).endOf("day").format("YYYY-MM-DD HH:mm:ss"),this.record=[],this.timeLine&&this.timeLine.stop(!0),this.status[e]=r;break;default:this.status[e]=r}this.status.yuntai=!1,this.status.talk=!1,this.status.volume=1,this.status.playing=!1;var s=this.status,t="imou://open.lechange.com/".concat(s.deviceId,"/").concat(s.channelId,"/").concat(s.type,"?streamId=").concat(s.clarity,"&recordType=").concat(s.recordType,"&beginTime=").concat(s.beginTime,"&endTime=").concat(s.endTime);this.crateIframe(t,s.token,s.code)}},{key:"destroy",value:function(){var e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],r=this.iframe;this.iframe.src="about:blank";try{r.contentWindow.document.write(""),r.contentWindow.document.clear()}catch{}if(r.parentNode.removeChild(r),document.removeEventListener("webkitfullscreenchange",this.exitHandler),document.removeEventListener("mozfullscreenchange",this.exitHandler),document.removeEventListener("fullscreenchange",this.exitHandler),document.removeEventListener("MSFullscreenChange",this.exitHandler),window.removeEventListener("message",this.addMessageListen),this.root.removeEventListener("mouseover",this.mouseleaveFunc),this.buttonShowOrHiddenFlag&&clearTimeout(this.buttonShowOrHiddenFlag),this.recordListTimer&&clearTimeout(this.recordListTimer),this.timestampTimer&&clearInterval(this.timestampTimer),this.requestRecordListTimer&&clearTimeout(this.requestRecordListTimer),this.timeLine&&this.timeLine.stop(),this.playing=!1,e){for(this.resizeObserver.unobserve(this.root);this.root.firstChild;)this.root.removeChild(this.root.firstChild);this.timeLine=null}}},{key:"requestRecordList",value:function(){if(this.record.length===0)this.emitMessage({type:"getRecordList",params:{beginTime:this.status.beginTime,endTime:this.status.endTime,recordType:this.status.recordType}});else{var e=H()(this.status.beginTime).startOf("day").unix();this.emitMessage({type:"getRecordList",params:{beginTime:H().unix(this.record[this.record.length-1].endTime+e).format("YYYY-MM-DD HH:mm:ss"),endTime:this.status.endTime,recordType:this.status.recordType}})}}},{key:"doRequestRecordList",value:function(e){var r=this,s=H()(this.status.beginTime).startOf("day").unix();this.record=this.record.concat(e.map(function(t){return{beginTime:H()(t.beginTime).unix()-s,endTime:H()(t.endTime).unix()-s}})),(this.status.recordType==="localRecord"&&e.length>=64||e.length>=99)&&(this.requestRecordListTimer=setTimeout(function(){r.requestRecordList()},3e3)),this.timeLine&&this.timeLine.changeProp("record",this.record)}},{key:"changeRootWidthAndHeight",value:function(e,r){var s=this;this.root.style.width="".concat(e,"px"),this.root.style.height="".concat(r,"px"),setTimeout(function(){s.timeLine&&s.timeLine.changeProp("width",e)},100)}}],w&&v(k.prototype,w),Object.defineProperty(k,"prototype",{writable:!1}),g}();window&&(window.imouPlayer=y);const B=y})(),p})())});export default $t();