UNPKG

zego-express-engine-webrtc

Version:

zego webrtc express sdk

1 lines 1.57 MB
!function(t,i){if("object"==typeof exports&&"object"==typeof module)module.exports=i(require("long"),require("protobufjs/minimal"),require("zego-express-logger"),require("localforage"));else if("function"==typeof define&&define.amd)define(["long","protobufjs/minimal","zego-express-logger","localforage"],i);else{var e="object"==typeof exports?i(require("long"),require("protobufjs/minimal"),require("zego-express-logger"),require("localforage")):i(t.long,t["protobufjs/minimal"],t["zego-express-logger"],t.localforage);for(var n in e)("object"==typeof exports?exports:t)[n]=e[n]}}("undefined"!=typeof self?self:this,(function(t,i,e,n){return function(){var r={955:function(t,i,e){var n;t.exports=(n=e(9021),e(754),e(4636),e(9506),e(7165),function(){var t=n,i=t.lib.BlockCipher,e=t.algo,r=[],s=[],o=[],u=[],a=[],c=[],h=[],f=[],l=[],d=[];!function(){for(var t=[],i=0;i<256;i++)t[i]=i<128?i<<1:i<<1^283;var e=0,n=0;for(i=0;i<256;i++){var v=n^n<<1^n<<2^n<<3^n<<4;r[e]=v=v>>>8^255&v^99,s[v]=e;var m,p=t[e],g=t[p],b=t[g];o[e]=(m=257*t[v]^16843008*v)<<24|m>>>8,u[e]=m<<16|m>>>16,a[e]=m<<8|m>>>24,c[e]=m,h[v]=(m=16843009*b^65537*g^257*p^16843008*e)<<24|m>>>8,f[v]=m<<16|m>>>16,l[v]=m<<8|m>>>24,d[v]=m,e?(e=p^t[t[t[b^p]]],n^=t[t[n]]):e=n=1}}();var v=[0,1,2,4,8,16,32,64,128,27,54],m=e.AES=i.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,i=t.words,e=t.sigBytes/4,n=4*((this._nRounds=e+6)+1),s=this._keySchedule=[],o=0;o<n;o++)o<e?s[o]=i[o]:(c=s[o-1],o%e?e>6&&o%e==4&&(c=r[c>>>24]<<24|r[c>>>16&255]<<16|r[c>>>8&255]<<8|r[255&c]):(c=r[(c=c<<8|c>>>24)>>>24]<<24|r[c>>>16&255]<<16|r[c>>>8&255]<<8|r[255&c],c^=v[o/e|0]<<24),s[o]=s[o-e]^c);for(var u=this._invKeySchedule=[],a=0;a<n;a++){if(o=n-a,a%4)var c=s[o];else c=s[o-4];u[a]=a<4||o<=4?c:h[r[c>>>24]]^f[r[c>>>16&255]]^l[r[c>>>8&255]]^d[r[255&c]]}}},encryptBlock:function(t,i){this._doCryptBlock(t,i,this._keySchedule,o,u,a,c,r)},decryptBlock:function(t,i){var e=t[i+1];t[i+1]=t[i+3],t[i+3]=e,this._doCryptBlock(t,i,this._invKeySchedule,h,f,l,d,s),e=t[i+1],t[i+1]=t[i+3],t[i+3]=e},_doCryptBlock:function(t,i,e,n,r,s,o,u){for(var a=this._nRounds,c=t[i]^e[0],h=t[i+1]^e[1],f=t[i+2]^e[2],l=t[i+3]^e[3],d=4,v=1;v<a;v++){var m=n[c>>>24]^r[h>>>16&255]^s[f>>>8&255]^o[255&l]^e[d++],p=n[h>>>24]^r[f>>>16&255]^s[l>>>8&255]^o[255&c]^e[d++],g=n[f>>>24]^r[l>>>16&255]^s[c>>>8&255]^o[255&h]^e[d++],b=n[l>>>24]^r[c>>>16&255]^s[h>>>8&255]^o[255&f]^e[d++];c=m,h=p,f=g,l=b}m=(u[c>>>24]<<24|u[h>>>16&255]<<16|u[f>>>8&255]<<8|u[255&l])^e[d++],p=(u[h>>>24]<<24|u[f>>>16&255]<<16|u[l>>>8&255]<<8|u[255&c])^e[d++],g=(u[f>>>24]<<24|u[l>>>16&255]<<16|u[c>>>8&255]<<8|u[255&h])^e[d++],b=(u[l>>>24]<<24|u[c>>>16&255]<<16|u[h>>>8&255]<<8|u[255&f])^e[d++],t[i]=m,t[i+1]=p,t[i+2]=g,t[i+3]=b},keySize:8});t.AES=i._createHelper(m)}(),n.AES)},7165:function(t,i,e){var n;t.exports=(n=e(9021),e(9506),void(n.lib.Cipher||function(t){var i=n,e=i.lib,r=e.Base,s=e.WordArray,o=e.BufferedBlockAlgorithm,u=i.enc,a=u.Base64,c=i.algo.EvpKDF,h=e.Cipher=o.extend({cfg:r.extend(),createEncryptor:function(t,i){return this.create(this._ENC_XFORM_MODE,t,i)},createDecryptor:function(t,i){return this.create(this._DEC_XFORM_MODE,t,i)},init:function(t,i,e){this.cfg=this.cfg.extend(e),this._xformMode=t,this._key=i,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){return t&&this._append(t),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function t(t){return"string"==typeof t?_:g}return function(i){return{encrypt:function(e,n,r){return t(n).encrypt(i,e,n,r)},decrypt:function(e,n,r){return t(n).decrypt(i,e,n,r)}}}}()}),f=(e.StreamCipher=h.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),i.mode={}),l=e.BlockCipherMode=r.extend({createEncryptor:function(t,i){return this.Encryptor.create(t,i)},createDecryptor:function(t,i){return this.Decryptor.create(t,i)},init:function(t,i){this._cipher=t,this._iv=i}}),d=f.CBC=function(){var i=l.extend();function e(i,e,n){var r,s=this._iv;s?(r=s,this._iv=t):r=this._prevBlock;for(var o=0;o<n;o++)i[e+o]^=r[o]}return i.Encryptor=i.extend({processBlock:function(t,i){var n=this._cipher,r=n.blockSize;e.call(this,t,i,r),n.encryptBlock(t,i),this._prevBlock=t.slice(i,i+r)}}),i.Decryptor=i.extend({processBlock:function(t,i){var n=this._cipher,r=n.blockSize,s=t.slice(i,i+r);n.decryptBlock(t,i),e.call(this,t,i,r),this._prevBlock=s}}),i}(),v=(i.pad={}).Pkcs7={pad:function(t,i){for(var e=4*i,n=e-t.sigBytes%e,r=n<<24|n<<16|n<<8|n,o=[],u=0;u<n;u+=4)o.push(r);var a=s.create(o,n);t.concat(a)},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}},m=(e.BlockCipher=h.extend({cfg:h.cfg.extend({mode:d,padding:v}),reset:function(){var t;h.reset.call(this);var i=this.cfg,e=i.iv,n=i.mode;this._xformMode==this._ENC_XFORM_MODE?t=n.createEncryptor:(t=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==t?this._mode.init(this,e&&e.words):(this._mode=t.call(n,this,e&&e.words),this._mode.__creator=t)},_doProcessBlock:function(t,i){this._mode.processBlock(t,i)},_doFinalize:function(){var t,i=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(i.pad(this._data,this.blockSize),t=this._process(!0)):(t=this._process(!0),i.unpad(t)),t},blockSize:4}),e.CipherParams=r.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),p=(i.format={}).OpenSSL={stringify:function(t){var i=t.ciphertext,e=t.salt;return(e?s.create([1398893684,1701076831]).concat(e).concat(i):i).toString(a)},parse:function(t){var i,e=a.parse(t),n=e.words;return 1398893684==n[0]&&1701076831==n[1]&&(i=s.create(n.slice(2,4)),n.splice(0,4),e.sigBytes-=16),m.create({ciphertext:e,salt:i})}},g=e.SerializableCipher=r.extend({cfg:r.extend({format:p}),encrypt:function(t,i,e,n){n=this.cfg.extend(n);var r=t.createEncryptor(e,n),s=r.finalize(i),o=r.cfg;return m.create({ciphertext:s,key:e,iv:o.iv,algorithm:t,mode:o.mode,padding:o.padding,blockSize:t.blockSize,formatter:n.format})},decrypt:function(t,i,e,n){return n=this.cfg.extend(n),i=this._parse(i,n.format),t.createDecryptor(e,n).finalize(i.ciphertext)},_parse:function(t,i){return"string"==typeof t?i.parse(t,this):t}}),b=(i.kdf={}).OpenSSL={execute:function(t,i,e,n,r){if(n||(n=s.random(8)),r)o=c.create({keySize:i+e,hasher:r}).compute(t,n);else var o=c.create({keySize:i+e}).compute(t,n);var u=s.create(o.words.slice(i),4*e);return o.sigBytes=4*i,m.create({key:o,iv:u,salt:n})}},_=e.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:b}),encrypt:function(t,i,e,n){var r=(n=this.cfg.extend(n)).kdf.execute(e,t.keySize,t.ivSize,n.salt,n.hasher);n.iv=r.iv;var s=g.encrypt.call(this,t,i,r.key,n);return s.mixIn(r),s},decrypt:function(t,i,e,n){n=this.cfg.extend(n),i=this._parse(i,n.format);var r=n.kdf.execute(e,t.keySize,t.ivSize,i.salt,n.hasher);return n.iv=r.iv,g.decrypt.call(this,t,i,r.key,n)}})}()))},9021:function(t,i,e){var n;t.exports=(n=n||function(t,i){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==e.g&&e.g.crypto&&(n=e.g.crypto),!n)try{n=e(477)}catch(t){}var r=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function t(){}return function(i){var e;return t.prototype=i,e=new t,t.prototype=null,e}}(),o={},u=o.lib={},a=u.Base={extend:function(t){var i=s(this);return t&&i.mixIn(t),i.hasOwnProperty("init")&&this.init!==i.init||(i.init=function(){i.$super.init.apply(this,arguments)}),i.init.prototype=i,i.$super=this,i},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var i in t)t.hasOwnProperty(i)&&(this[i]=t[i]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},c=u.WordArray=a.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=e!=i?e:4*t.length},toString:function(t){return(t||f).stringify(this)},concat:function(t){var i=this.words,e=t.words,n=this.sigBytes,r=t.sigBytes;if(this.clamp(),n%4)for(var s=0;s<r;s++)i[n+s>>>2]|=(e[s>>>2]>>>24-s%4*8&255)<<24-(n+s)%4*8;else for(var o=0;o<r;o+=4)i[n+o>>>2]=e[o>>>2];return this.sigBytes+=r,this},clamp:function(){var i=this.words,e=this.sigBytes;i[e>>>2]&=4294967295<<32-e%4*8,i.length=t.ceil(e/4)},clone:function(){var t=a.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var i=[],e=0;e<t;e+=4)i.push(r());return new c.init(i,t)}}),h=o.enc={},f=h.Hex={stringify:function(t){for(var i=t.words,e=t.sigBytes,n=[],r=0;r<e;r++){var s=i[r>>>2]>>>24-r%4*8&255;n.push((s>>>4).toString(16)),n.push((15&s).toString(16))}return n.join("")},parse:function(t){for(var i=t.length,e=[],n=0;n<i;n+=2)e[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new c.init(e,i/2)}},l=h.Latin1={stringify:function(t){for(var i=t.words,e=t.sigBytes,n=[],r=0;r<e;r++)n.push(String.fromCharCode(i[r>>>2]>>>24-r%4*8&255));return n.join("")},parse:function(t){for(var i=t.length,e=[],n=0;n<i;n++)e[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new c.init(e,i)}},d=h.Utf8={stringify:function(t){try{return decodeURIComponent(escape(l.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return l.parse(unescape(encodeURIComponent(t)))}},v=u.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=d.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(i){var e,n=this._data,r=n.words,s=n.sigBytes,o=this.blockSize,u=s/(4*o),a=(u=i?t.ceil(u):t.max((0|u)-this._minBufferSize,0))*o,h=t.min(4*a,s);if(a){for(var f=0;f<a;f+=o)this._doProcessBlock(r,f);e=r.splice(0,a),n.sigBytes-=h}return new c.init(e,h)},clone:function(){var t=a.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),m=(u.Hasher=v.extend({cfg:a.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(i,e){return new t.init(e).finalize(i)}},_createHmacHelper:function(t){return function(i,e){return new m.HMAC.init(t,e).finalize(i)}}}),o.algo={});return o}(Math),n)},754:function(t,i,e){var n;t.exports=(n=e(9021),function(){var t=n.lib.WordArray;function i(i,e,n){for(var r=[],s=0,o=0;o<e;o++)if(o%4){var u=n[i.charCodeAt(o-1)]<<o%4*2,a=n[i.charCodeAt(o)]>>>6-o%4*2;r[s>>>2]|=(u|a)<<24-s%4*8,s++}return t.create(r,s)}n.enc.Base64={stringify:function(t){var i=t.words,e=t.sigBytes,n=this._map;t.clamp();for(var r=[],s=0;s<e;s+=3)for(var o=(i[s>>>2]>>>24-s%4*8&255)<<16|(i[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|i[s+2>>>2]>>>24-(s+2)%4*8&255,u=0;u<4&&s+.75*u<e;u++)r.push(n.charAt(o>>>6*(3-u)&63));var a=n.charAt(64);if(a)for(;r.length%4;)r.push(a);return r.join("")},parse:function(t){var e=t.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s<n.length;s++)r[n.charCodeAt(s)]=s}var o=n.charAt(64);if(o){var u=t.indexOf(o);-1!==u&&(e=u)}return i(t,e,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),n.enc.Base64)},5178:function(t,i,e){var n;t.exports=(n=e(9021),n.enc.Utf8)},9506:function(t,i,e){var n,r,s,o,u,a,c;t.exports=(c=e(9021),e(5471),e(1025),o=(r=(n=c).lib).WordArray,a=(u=n.algo).EvpKDF=(s=r.Base).extend({cfg:s.extend({keySize:4,hasher:u.MD5,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,i){for(var e,n=this.cfg,r=n.hasher.create(),s=o.create(),u=s.words,a=n.keySize,c=n.iterations;u.length<a;){e&&r.update(e),e=r.update(t).finalize(i),r.reset();for(var h=1;h<c;h++)e=r.finalize(e),r.reset();s.concat(e)}return s.sigBytes=4*a,s}}),n.EvpKDF=function(t,i,e){return a.create(e).compute(t,i)},c.EvpKDF)},1025:function(t,i,e){var n,r;t.exports=(n=e(9021),r=n.enc.Utf8,void(n.algo.HMAC=n.lib.Base.extend({init:function(t,i){t=this._hasher=new t.init,"string"==typeof i&&(i=r.parse(i));var e=t.blockSize,n=4*e;i.sigBytes>n&&(i=t.finalize(i)),i.clamp();for(var s=this._oKey=i.clone(),o=this._iKey=i.clone(),u=s.words,a=o.words,c=0;c<e;c++)u[c]^=1549556828,a[c]^=909522486;s.sigBytes=o.sigBytes=n,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var i=this._hasher,e=i.finalize(t);return i.reset(),i.finalize(this._oKey.clone().concat(e))}})))},6440:function(t,i,e){var n;t.exports=(n=e(9021),function(){if("function"==typeof ArrayBuffer){var t=n.lib.WordArray,i=t.init,e=t.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var e=t.byteLength,n=[],r=0;r<e;r++)n[r>>>2]|=t[r]<<24-r%4*8;i.call(this,n,e)}else i.apply(this,arguments)};e.prototype=t}}(),n.lib.WordArray)},4636:function(t,i,e){var n;t.exports=(n=e(9021),function(t){var i=n,e=i.lib,r=e.WordArray,s=e.Hasher,o=i.algo,u=[];!function(){for(var i=0;i<64;i++)u[i]=4294967296*t.abs(t.sin(i+1))|0}();var a=o.MD5=s.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,i){for(var e=0;e<16;e++){var n=i+e,r=t[n];t[n]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var s=this._hash.words,o=t[i+0],a=t[i+1],d=t[i+2],v=t[i+3],m=t[i+4],p=t[i+5],g=t[i+6],b=t[i+7],_=t[i+8],y=t[i+9],w=t[i+10],S=t[i+11],E=t[i+12],O=t[i+13],T=t[i+14],k=t[i+15],R=s[0],I=s[1],C=s[2],N=s[3];R=c(R,I,C,N,o,7,u[0]),N=c(N,R,I,C,a,12,u[1]),C=c(C,N,R,I,d,17,u[2]),I=c(I,C,N,R,v,22,u[3]),R=c(R,I,C,N,m,7,u[4]),N=c(N,R,I,C,p,12,u[5]),C=c(C,N,R,I,g,17,u[6]),I=c(I,C,N,R,b,22,u[7]),R=c(R,I,C,N,_,7,u[8]),N=c(N,R,I,C,y,12,u[9]),C=c(C,N,R,I,w,17,u[10]),I=c(I,C,N,R,S,22,u[11]),R=c(R,I,C,N,E,7,u[12]),N=c(N,R,I,C,O,12,u[13]),C=c(C,N,R,I,T,17,u[14]),R=h(R,I=c(I,C,N,R,k,22,u[15]),C,N,a,5,u[16]),N=h(N,R,I,C,g,9,u[17]),C=h(C,N,R,I,S,14,u[18]),I=h(I,C,N,R,o,20,u[19]),R=h(R,I,C,N,p,5,u[20]),N=h(N,R,I,C,w,9,u[21]),C=h(C,N,R,I,k,14,u[22]),I=h(I,C,N,R,m,20,u[23]),R=h(R,I,C,N,y,5,u[24]),N=h(N,R,I,C,T,9,u[25]),C=h(C,N,R,I,v,14,u[26]),I=h(I,C,N,R,_,20,u[27]),R=h(R,I,C,N,O,5,u[28]),N=h(N,R,I,C,d,9,u[29]),C=h(C,N,R,I,b,14,u[30]),R=f(R,I=h(I,C,N,R,E,20,u[31]),C,N,p,4,u[32]),N=f(N,R,I,C,_,11,u[33]),C=f(C,N,R,I,S,16,u[34]),I=f(I,C,N,R,T,23,u[35]),R=f(R,I,C,N,a,4,u[36]),N=f(N,R,I,C,m,11,u[37]),C=f(C,N,R,I,b,16,u[38]),I=f(I,C,N,R,w,23,u[39]),R=f(R,I,C,N,O,4,u[40]),N=f(N,R,I,C,o,11,u[41]),C=f(C,N,R,I,v,16,u[42]),I=f(I,C,N,R,g,23,u[43]),R=f(R,I,C,N,y,4,u[44]),N=f(N,R,I,C,E,11,u[45]),C=f(C,N,R,I,k,16,u[46]),R=l(R,I=f(I,C,N,R,d,23,u[47]),C,N,o,6,u[48]),N=l(N,R,I,C,b,10,u[49]),C=l(C,N,R,I,T,15,u[50]),I=l(I,C,N,R,p,21,u[51]),R=l(R,I,C,N,E,6,u[52]),N=l(N,R,I,C,v,10,u[53]),C=l(C,N,R,I,w,15,u[54]),I=l(I,C,N,R,a,21,u[55]),R=l(R,I,C,N,_,6,u[56]),N=l(N,R,I,C,k,10,u[57]),C=l(C,N,R,I,g,15,u[58]),I=l(I,C,N,R,O,21,u[59]),R=l(R,I,C,N,m,6,u[60]),N=l(N,R,I,C,S,10,u[61]),C=l(C,N,R,I,d,15,u[62]),I=l(I,C,N,R,y,21,u[63]),s[0]=s[0]+R|0,s[1]=s[1]+I|0,s[2]=s[2]+C|0,s[3]=s[3]+N|0},_doFinalize:function(){var i=this._data,e=i.words,n=8*this._nDataBytes,r=8*i.sigBytes;e[r>>>5]|=128<<24-r%32;var s=t.floor(n/4294967296),o=n;e[15+(r+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e[14+(r+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),i.sigBytes=4*(e.length+1),this._process();for(var u=this._hash,a=u.words,c=0;c<4;c++){var h=a[c];a[c]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)}return u},clone:function(){var t=s.clone.call(this);return t._hash=this._hash.clone(),t}});function c(t,i,e,n,r,s,o){var u=t+(i&e|~i&n)+r+o;return(u<<s|u>>>32-s)+i}function h(t,i,e,n,r,s,o){var u=t+(i&n|e&~n)+r+o;return(u<<s|u>>>32-s)+i}function f(t,i,e,n,r,s,o){var u=t+(i^e^n)+r+o;return(u<<s|u>>>32-s)+i}function l(t,i,e,n,r,s,o){var u=t+(e^(i|~n))+r+o;return(u<<s|u>>>32-s)+i}i.MD5=s._createHelper(a),i.HmacMD5=s._createHmacHelper(a)}(Math),n.MD5)},5471:function(t,i,e){var n,r,s,o,u,a,c;t.exports=(c=e(9021),s=(r=(n=c).lib).WordArray,u=[],a=n.algo.SHA1=(o=r.Hasher).extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,i){for(var e=this._hash.words,n=e[0],r=e[1],s=e[2],o=e[3],a=e[4],c=0;c<80;c++){if(c<16)u[c]=0|t[i+c];else{var h=u[c-3]^u[c-8]^u[c-14]^u[c-16];u[c]=h<<1|h>>>31}var f=(n<<5|n>>>27)+a+u[c];f+=c<20?1518500249+(r&s|~r&o):c<40?1859775393+(r^s^o):c<60?(r&s|r&o|s&o)-1894007588:(r^s^o)-899497514,a=o,o=s,s=r<<30|r>>>2,r=n,n=f}e[0]=e[0]+n|0,e[1]=e[1]+r|0,e[2]=e[2]+s|0,e[3]=e[3]+o|0,e[4]=e[4]+a|0},_doFinalize:function(){var t=this._data,i=t.words,e=8*this._nDataBytes,n=8*t.sigBytes;return i[n>>>5]|=128<<24-n%32,i[14+(n+64>>>9<<4)]=Math.floor(e/4294967296),i[15+(n+64>>>9<<4)]=e,t.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}}),n.SHA1=o._createHelper(a),n.HmacSHA1=o._createHmacHelper(a),c.SHA1)},2799:function(t,i,e){var n,r;"undefined"!=typeof self&&self,t.exports=(n=e(3788),r=e(6994),function(t){var i={};function e(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}return e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"u",{value:!0})},e.t=function(t,i){if(1&i&&(t=e(t)),8&i)return t;if(4&i&&"object"==typeof t&&t&&t.u)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var r in t)e.d(n,r,function(i){return t[i]}.bind(null,r));return n},e.n=function(t){var i=t&&t.u?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},e.p="",e(e.s=13)}([function(t,i,e){(function(i){var n;t.exports=(n=n||function(t,n){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==i&&i.crypto&&(r=i.crypto),!r)try{r=e(7)}catch(t){}var s=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function t(){}return function(i){var e;return t.prototype=i,e=new t,t.prototype=null,e}}(),u={},a=u.lib={},c=a.Base={extend:function(t){var i=o(this);return t&&i.mixIn(t),i.hasOwnProperty("init")&&this.init!==i.init||(i.init=function(){i.$super.init.apply(this,arguments)}),i.init.prototype=i,i.$super=this,i},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var i in t)t.hasOwnProperty(i)&&(this[i]=t[i]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},h=a.WordArray=c.extend({init:function(t,i){t=this.words=t||[],this.sigBytes=i!=n?i:4*t.length},toString:function(t){return(t||l).stringify(this)},concat:function(t){var i=this.words,e=t.words,n=this.sigBytes,r=t.sigBytes;if(this.clamp(),n%4)for(var s=0;s<r;s++)i[n+s>>>2]|=(e[s>>>2]>>>24-s%4*8&255)<<24-(n+s)%4*8;else for(var o=0;o<r;o+=4)i[n+o>>>2]=e[o>>>2];return this.sigBytes+=r,this},clamp:function(){var i=this.words,e=this.sigBytes;i[e>>>2]&=4294967295<<32-e%4*8,i.length=t.ceil(e/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var i=[],e=0;e<t;e+=4)i.push(s());return new h.init(i,t)}}),f=u.enc={},l=f.Hex={stringify:function(t){for(var i=t.words,e=t.sigBytes,n=[],r=0;r<e;r++){var s=i[r>>>2]>>>24-r%4*8&255;n.push((s>>>4).toString(16)),n.push((15&s).toString(16))}return n.join("")},parse:function(t){for(var i=t.length,e=[],n=0;n<i;n+=2)e[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new h.init(e,i/2)}},d=f.Latin1={stringify:function(t){for(var i=t.words,e=t.sigBytes,n=[],r=0;r<e;r++)n.push(String.fromCharCode(i[r>>>2]>>>24-r%4*8&255));return n.join("")},parse:function(t){for(var i=t.length,e=[],n=0;n<i;n++)e[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new h.init(e,i)}},v=f.Utf8={stringify:function(t){try{return decodeURIComponent(escape(d.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return d.parse(unescape(encodeURIComponent(t)))}},m=a.BufferedBlockAlgorithm=c.extend({reset:function(){this.h=new h.init,this._=0},v:function(t){"string"==typeof t&&(t=v.parse(t)),this.h.concat(t),this._+=t.sigBytes},S:function(i){var e,n=this.h,r=n.words,s=n.sigBytes,o=this.blockSize,u=s/(4*o),a=(u=i?t.ceil(u):t.max((0|u)-this.T,0))*o,c=t.min(4*a,s);if(a){for(var f=0;f<a;f+=o)this.C(r,f);e=r.splice(0,a),n.sigBytes-=c}return new h.init(e,c)},clone:function(){var t=c.clone.call(this);return t.h=this.h.clone(),t},T:0}),p=(a.Hasher=m.extend({cfg:c.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){m.reset.call(this),this.R()},update:function(t){return this.v(t),this.S(),this},finalize:function(t){return t&&this.v(t),this.O()},blockSize:16,A:function(t){return function(i,e){return new t.init(e).finalize(i)}},P:function(t){return function(i,e){return new p.HMAC.init(t,e).finalize(i)}}}),u.algo={});return u}(Math),n)}).call(this,e(6))},function(t,i){t.exports=n},function(t,i,e){var n;t.exports=(n=e(0),e(8),e(9),e(4),e(12),function(){var t=n,i=t.lib.BlockCipher,e=t.algo,r=[],s=[],o=[],u=[],a=[],c=[],h=[],f=[],l=[],d=[];!function(){for(var t=[],i=0;i<256;i++)t[i]=i<128?i<<1:i<<1^283;var e=0,n=0;for(i=0;i<256;i++){var v=n^n<<1^n<<2^n<<3^n<<4;r[e]=v=v>>>8^255&v^99,s[v]=e;var m=t[e],p=t[m],g=t[p],b=257*t[v]^16843008*v;o[e]=b<<24|b>>>8,u[e]=b<<16|b>>>16,a[e]=b<<8|b>>>24,c[e]=b,h[v]=(b=16843009*g^65537*p^257*m^16843008*e)<<24|b>>>8,f[v]=b<<16|b>>>16,l[v]=b<<8|b>>>24,d[v]=b,e?(e=m^t[t[t[g^m]]],n^=t[t[n]]):e=n=1}}();var v=[0,1,2,4,8,16,32,64,128,27,54],m=e.AES=i.extend({R:function(){if(!this.I||this.N!==this.D){for(var t=this.N=this.D,i=t.words,e=t.sigBytes/4,n=4*((this.I=e+6)+1),s=this.M=[],o=0;o<n;o++)o<e?s[o]=i[o]:(c=s[o-1],o%e?e>6&&o%e==4&&(c=r[c>>>24]<<24|r[c>>>16&255]<<16|r[c>>>8&255]<<8|r[255&c]):(c=r[(c=c<<8|c>>>24)>>>24]<<24|r[c>>>16&255]<<16|r[c>>>8&255]<<8|r[255&c],c^=v[o/e|0]<<24),s[o]=s[o-e]^c);for(var u=this.H=[],a=0;a<n;a++){if(o=n-a,a%4)var c=s[o];else c=s[o-4];u[a]=a<4||o<=4?c:h[r[c>>>24]]^f[r[c>>>16&255]]^l[r[c>>>8&255]]^d[r[255&c]]}}},encryptBlock:function(t,i){this.U(t,i,this.M,o,u,a,c,r)},decryptBlock:function(t,i){var e=t[i+1];t[i+1]=t[i+3],t[i+3]=e,this.U(t,i,this.H,h,f,l,d,s),e=t[i+1],t[i+1]=t[i+3],t[i+3]=e},U:function(t,i,e,n,r,s,o,u){for(var a=this.I,c=t[i]^e[0],h=t[i+1]^e[1],f=t[i+2]^e[2],l=t[i+3]^e[3],d=4,v=1;v<a;v++){var m=n[c>>>24]^r[h>>>16&255]^s[f>>>8&255]^o[255&l]^e[d++],p=n[h>>>24]^r[f>>>16&255]^s[l>>>8&255]^o[255&c]^e[d++],g=n[f>>>24]^r[l>>>16&255]^s[c>>>8&255]^o[255&h]^e[d++],b=n[l>>>24]^r[c>>>16&255]^s[h>>>8&255]^o[255&f]^e[d++];c=m,h=p,f=g,l=b}m=(u[c>>>24]<<24|u[h>>>16&255]<<16|u[f>>>8&255]<<8|u[255&l])^e[d++],p=(u[h>>>24]<<24|u[f>>>16&255]<<16|u[l>>>8&255]<<8|u[255&c])^e[d++],g=(u[f>>>24]<<24|u[l>>>16&255]<<16|u[c>>>8&255]<<8|u[255&h])^e[d++],b=(u[l>>>24]<<24|u[c>>>16&255]<<16|u[h>>>8&255]<<8|u[255&f])^e[d++],t[i]=m,t[i+1]=p,t[i+2]=g,t[i+3]=b},keySize:8});t.AES=i.A(m)}(),n.AES)},function(t,i){t.exports=r},function(t,i,e){var n,r,s,o,u,a,c;t.exports=(c=e(0),e(10),e(11),r=(n=c).lib,o=r.WordArray,a=(u=n.algo).EvpKDF=(s=r.Base).extend({cfg:s.extend({keySize:4,hasher:u.MD5,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,i){for(var e,n=this.cfg,r=n.hasher.create(),s=o.create(),u=s.words,a=n.keySize,c=n.iterations;u.length<a;){e&&r.update(e),e=r.update(t).finalize(i),r.reset();for(var h=1;h<c;h++)e=r.finalize(e),r.reset();s.concat(e)}return s.sigBytes=4*a,s}}),n.EvpKDF=function(t,i,e){return a.create(e).compute(t,i)},c.EvpKDF)},function(t,i,e){t.exports=e(0).enc.Utf8},function(t,i){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,i){},function(t,i,e){var n;t.exports=(n=e(0),function(){var t=n.lib.WordArray;function i(i,e,n){for(var r=[],s=0,o=0;o<e;o++)if(o%4){var u=n[i.charCodeAt(o-1)]<<o%4*2|n[i.charCodeAt(o)]>>>6-o%4*2;r[s>>>2]|=u<<24-s%4*8,s++}return t.create(r,s)}n.enc.Base64={stringify:function(t){var i=t.words,e=t.sigBytes,n=this.G;t.clamp();for(var r=[],s=0;s<e;s+=3)for(var o=(i[s>>>2]>>>24-s%4*8&255)<<16|(i[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|i[s+2>>>2]>>>24-(s+2)%4*8&255,u=0;u<4&&s+.75*u<e;u++)r.push(n.charAt(o>>>6*(3-u)&63));var a=n.charAt(64);if(a)for(;r.length%4;)r.push(a);return r.join("")},parse:function(t){var e=t.length,n=this.G,r=this.k;if(!r){r=this.k=[];for(var s=0;s<n.length;s++)r[n.charCodeAt(s)]=s}var o=n.charAt(64);if(o){var u=t.indexOf(o);-1!==u&&(e=u)}return i(t,e,r)},G:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),n.enc.Base64)},function(t,i,e){var n;t.exports=(n=e(0),function(t){var i=n,e=i.lib,r=e.WordArray,s=e.Hasher,o=i.algo,u=[];!function(){for(var i=0;i<64;i++)u[i]=4294967296*t.abs(t.sin(i+1))|0}();var a=o.MD5=s.extend({R:function(){this.B=new r.init([1732584193,4023233417,2562383102,271733878])},C:function(t,i){for(var e=0;e<16;e++){var n=i+e,r=t[n];t[n]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var s=this.B.words,o=t[i+0],a=t[i+1],d=t[i+2],v=t[i+3],m=t[i+4],p=t[i+5],g=t[i+6],b=t[i+7],_=t[i+8],y=t[i+9],w=t[i+10],S=t[i+11],E=t[i+12],O=t[i+13],T=t[i+14],k=t[i+15],R=s[0],I=s[1],C=s[2],N=s[3];R=c(R,I,C,N,o,7,u[0]),N=c(N,R,I,C,a,12,u[1]),C=c(C,N,R,I,d,17,u[2]),I=c(I,C,N,R,v,22,u[3]),R=c(R,I,C,N,m,7,u[4]),N=c(N,R,I,C,p,12,u[5]),C=c(C,N,R,I,g,17,u[6]),I=c(I,C,N,R,b,22,u[7]),R=c(R,I,C,N,_,7,u[8]),N=c(N,R,I,C,y,12,u[9]),C=c(C,N,R,I,w,17,u[10]),I=c(I,C,N,R,S,22,u[11]),R=c(R,I,C,N,E,7,u[12]),N=c(N,R,I,C,O,12,u[13]),C=c(C,N,R,I,T,17,u[14]),R=h(R,I=c(I,C,N,R,k,22,u[15]),C,N,a,5,u[16]),N=h(N,R,I,C,g,9,u[17]),C=h(C,N,R,I,S,14,u[18]),I=h(I,C,N,R,o,20,u[19]),R=h(R,I,C,N,p,5,u[20]),N=h(N,R,I,C,w,9,u[21]),C=h(C,N,R,I,k,14,u[22]),I=h(I,C,N,R,m,20,u[23]),R=h(R,I,C,N,y,5,u[24]),N=h(N,R,I,C,T,9,u[25]),C=h(C,N,R,I,v,14,u[26]),I=h(I,C,N,R,_,20,u[27]),R=h(R,I,C,N,O,5,u[28]),N=h(N,R,I,C,d,9,u[29]),C=h(C,N,R,I,b,14,u[30]),R=f(R,I=h(I,C,N,R,E,20,u[31]),C,N,p,4,u[32]),N=f(N,R,I,C,_,11,u[33]),C=f(C,N,R,I,S,16,u[34]),I=f(I,C,N,R,T,23,u[35]),R=f(R,I,C,N,a,4,u[36]),N=f(N,R,I,C,m,11,u[37]),C=f(C,N,R,I,b,16,u[38]),I=f(I,C,N,R,w,23,u[39]),R=f(R,I,C,N,O,4,u[40]),N=f(N,R,I,C,o,11,u[41]),C=f(C,N,R,I,v,16,u[42]),I=f(I,C,N,R,g,23,u[43]),R=f(R,I,C,N,y,4,u[44]),N=f(N,R,I,C,E,11,u[45]),C=f(C,N,R,I,k,16,u[46]),R=l(R,I=f(I,C,N,R,d,23,u[47]),C,N,o,6,u[48]),N=l(N,R,I,C,b,10,u[49]),C=l(C,N,R,I,T,15,u[50]),I=l(I,C,N,R,p,21,u[51]),R=l(R,I,C,N,E,6,u[52]),N=l(N,R,I,C,v,10,u[53]),C=l(C,N,R,I,w,15,u[54]),I=l(I,C,N,R,a,21,u[55]),R=l(R,I,C,N,_,6,u[56]),N=l(N,R,I,C,k,10,u[57]),C=l(C,N,R,I,g,15,u[58]),I=l(I,C,N,R,O,21,u[59]),R=l(R,I,C,N,m,6,u[60]),N=l(N,R,I,C,S,10,u[61]),C=l(C,N,R,I,d,15,u[62]),I=l(I,C,N,R,y,21,u[63]),s[0]=s[0]+R|0,s[1]=s[1]+I|0,s[2]=s[2]+C|0,s[3]=s[3]+N|0},O:function(){var i=this.h,e=i.words,n=8*this._,r=8*i.sigBytes;e[r>>>5]|=128<<24-r%32;var s=t.floor(n/4294967296),o=n;e[15+(r+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e[14+(r+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),i.sigBytes=4*(e.length+1),this.S();for(var u=this.B,a=u.words,c=0;c<4;c++){var h=a[c];a[c]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)}return u},clone:function(){var t=s.clone.call(this);return t.B=this.B.clone(),t}});function c(t,i,e,n,r,s,o){var u=t+(i&e|~i&n)+r+o;return(u<<s|u>>>32-s)+i}function h(t,i,e,n,r,s,o){var u=t+(i&n|e&~n)+r+o;return(u<<s|u>>>32-s)+i}function f(t,i,e,n,r,s,o){var u=t+(i^e^n)+r+o;return(u<<s|u>>>32-s)+i}function l(t,i,e,n,r,s,o){var u=t+(e^(i|~n))+r+o;return(u<<s|u>>>32-s)+i}i.MD5=s.A(a),i.HmacMD5=s.P(a)}(Math),n.MD5)},function(t,i,e){var n,r,s,o,u,a,c;t.exports=(r=(n=c=e(0)).lib,s=r.WordArray,u=[],a=n.algo.SHA1=(o=r.Hasher).extend({R:function(){this.B=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},C:function(t,i){for(var e=this.B.words,n=e[0],r=e[1],s=e[2],o=e[3],a=e[4],c=0;c<80;c++){if(c<16)u[c]=0|t[i+c];else{var h=u[c-3]^u[c-8]^u[c-14]^u[c-16];u[c]=h<<1|h>>>31}var f=(n<<5|n>>>27)+a+u[c];f+=c<20?1518500249+(r&s|~r&o):c<40?1859775393+(r^s^o):c<60?(r&s|r&o|s&o)-1894007588:(r^s^o)-899497514,a=o,o=s,s=r<<30|r>>>2,r=n,n=f}e[0]=e[0]+n|0,e[1]=e[1]+r|0,e[2]=e[2]+s|0,e[3]=e[3]+o|0,e[4]=e[4]+a|0},O:function(){var t=this.h,i=t.words,e=8*this._,n=8*t.sigBytes;return i[n>>>5]|=128<<24-n%32,i[14+(n+64>>>9<<4)]=Math.floor(e/4294967296),i[15+(n+64>>>9<<4)]=e,t.sigBytes=4*i.length,this.S(),this.B},clone:function(){var t=o.clone.call(this);return t.B=this.B.clone(),t}}),n.SHA1=o.A(a),n.HmacSHA1=o.P(a),c.SHA1)},function(t,i,e){var n,r,s;t.exports=(r=(n=e(0)).lib.Base,s=n.enc.Utf8,void(n.algo.HMAC=r.extend({init:function(t,i){t=this.Y=new t.init,"string"==typeof i&&(i=s.parse(i));var e=t.blockSize,n=4*e;i.sigBytes>n&&(i=t.finalize(i)),i.clamp();for(var r=this.V=i.clone(),o=this.L=i.clone(),u=r.words,a=o.words,c=0;c<e;c++)u[c]^=1549556828,a[c]^=909522486;r.sigBytes=o.sigBytes=n,this.reset()},reset:function(){var t=this.Y;t.reset(),t.update(this.L)},update:function(t){return this.Y.update(t),this},finalize:function(t){var i=this.Y,e=i.finalize(t);return i.reset(),i.finalize(this.V.clone().concat(e))}})))},function(t,i,e){var n;t.exports=(n=e(0),e(4),void(n.lib.Cipher||function(t){var i=n,e=i.lib,r=e.Base,s=e.WordArray,o=e.BufferedBlockAlgorithm,u=i.enc,a=u.Base64,c=i.algo.EvpKDF,h=e.Cipher=o.extend({cfg:r.extend(),createEncryptor:function(t,i){return this.create(this.j,t,i)},createDecryptor:function(t,i){return this.create(this.q,t,i)},init:function(t,i,e){this.cfg=this.cfg.extend(e),this.F=t,this.D=i,this.reset()},reset:function(){o.reset.call(this),this.R()},process:function(t){return this.v(t),this.S()},finalize:function(t){return t&&this.v(t),this.O()},keySize:4,ivSize:4,j:1,q:2,A:function(){function t(t){return"string"==typeof t?_:g}return function(i){return{encrypt:function(e,n,r){return t(n).encrypt(i,e,n,r)},decrypt:function(e,n,r){return t(n).decrypt(i,e,n,r)}}}}()}),f=(e.StreamCipher=h.extend({O:function(){return this.S(!0)},blockSize:1}),i.mode={}),l=e.BlockCipherMode=r.extend({createEncryptor:function(t,i){return this.Encryptor.create(t,i)},createDecryptor:function(t,i){return this.Decryptor.create(t,i)},init:function(t,i){this.W=t,this.J=i}}),d=f.CBC=function(){var i=l.extend();function e(i,e,n){var r,s=this.J;s?(r=s,this.J=t):r=this.K;for(var o=0;o<n;o++)i[e+o]^=r[o]}return i.Encryptor=i.extend({processBlock:function(t,i){var n=this.W,r=n.blockSize;e.call(this,t,i,r),n.encryptBlock(t,i),this.K=t.slice(i,i+r)}}),i.Decryptor=i.extend({processBlock:function(t,i){var n=this.W,r=n.blockSize,s=t.slice(i,i+r);n.decryptBlock(t,i),e.call(this,t,i,r),this.K=s}}),i}(),v=(i.pad={}).Pkcs7={pad:function(t,i){for(var e=4*i,n=e-t.sigBytes%e,r=n<<24|n<<16|n<<8|n,o=[],u=0;u<n;u+=4)o.push(r);var a=s.create(o,n);t.concat(a)},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}},m=(e.BlockCipher=h.extend({cfg:h.cfg.extend({mode:d,padding:v}),reset:function(){var t;h.reset.call(this);var i=this.cfg,e=i.iv,n=i.mode;this.F==this.j?t=n.createEncryptor:(t=n.createDecryptor,this.T=1),this.Z&&this.Z.X==t?this.Z.init(this,e&&e.words):(this.Z=t.call(n,this,e&&e.words),this.Z.X=t)},C:function(t,i){this.Z.processBlock(t,i)},O:function(){var t,i=this.cfg.padding;return this.F==this.j?(i.pad(this.h,this.blockSize),t=this.S(!0)):(t=this.S(!0),i.unpad(t)),t},blockSize:4}),e.CipherParams=r.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),p=(i.format={}).OpenSSL={stringify:function(t){var i=t.ciphertext,e=t.salt;return(e?s.create([1398893684,1701076831]).concat(e).concat(i):i).toString(a)},parse:function(t){var i,e=a.parse(t),n=e.words;return 1398893684==n[0]&&1701076831==n[1]&&(i=s.create(n.slice(2,4)),n.splice(0,4),e.sigBytes-=16),m.create({ciphertext:e,salt:i})}},g=e.SerializableCipher=r.extend({cfg:r.extend({format:p}),encrypt:function(t,i,e,n){n=this.cfg.extend(n);var r=t.createEncryptor(e,n),s=r.finalize(i),o=r.cfg;return m.create({ciphertext:s,key:e,iv:o.iv,algorithm:t,mode:o.mode,padding:o.padding,blockSize:t.blockSize,formatter:n.format})},decrypt:function(t,i,e,n){return n=this.cfg.extend(n),i=this.tt(i,n.format),t.createDecryptor(e,n).finalize(i.ciphertext)},tt:function(t,i){return"string"==typeof t?i.parse(t,this):t}}),b=(i.kdf={}).OpenSSL={execute:function(t,i,e,n){n||(n=s.random(8));var r=c.create({keySize:i+e}).compute(t,n),o=s.create(r.words.slice(i),4*e);return r.sigBytes=4*i,m.create({key:r,iv:o,salt:n})}},_=e.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:b}),encrypt:function(t,i,e,n){var r=(n=this.cfg.extend(n)).kdf.execute(e,t.keySize,t.ivSize);n.iv=r.iv;var s=g.encrypt.call(this,t,i,r.key,n);return s.mixIn(r),s},decrypt:function(t,i,e,n){n=this.cfg.extend(n),i=this.tt(i,n.format);var r=n.kdf.execute(e,t.keySize,t.ivSize,i.salt);return n.iv=r.iv,g.decrypt.call(this,t,i,r.key,n)}})}()))},function(t,i,e){"use strict";var n,r,s,o,u,a,c,h,f,l,d,v;e.r(i),e.d(i,"ZegoConnectionAgent",(function(){return pi})),e.d(i,"NetAgentPCRequest",(function(){return ei})),e.d(i,"NetAgentHttpRequest",(function(){return ai})),e.d(i,"BusinessService",(function(){return h})),e.d(i,"BrokenType",(function(){return O})),e.d(i,"NET_ACCESS_CONFIG",(function(){return Tt})),e.d(i,"ConnectedType",(function(){return E})),e.d(i,"DisconnectedType",(function(){return S})),e.d(i,"Mode",(function(){return l})),e.d(i,"Method",(function(){return w})),function(t){t[t.Normal=0]="Normal",t[t.Private=1]="Private"}(n||(n={})),function(t){t[t.WebSocket=0]="WebSocket",t[t.WebTransport=1]="WebTransport"}(r||(r={})),function(t){t[t.CONNECTING=0]="CONNECTING",t[t.OPEN=1]="OPEN",t[t.CLOSING=2]="CLOSING",t[t.CLOSED=3]="CLOSED"}(s||(s={})),function(t){t[t.offline=0]="offline",t[t.online=1]="online"}(o||(o={})),function(t){t[t.PB=0]="PB",t[t.JSON=1]="JSON"}(u||(u={})),function(t){t[t.MSG_TYPE_STREAM_CLOSED=2]="MSG_TYPE_STREAM_CLOSED",t[t.MSG_TYPE_CLOSE_CONNECTION=3]="MSG_TYPE_CLOSE_CONNECTION",t[t.MSG_TYPE_HTTP_REQUEST=4]="MSG_TYPE_HTTP_REQUEST",t[t.MSG_TYPE_HTTP_RESPONSE=5]="MSG_TYPE_HTTP_RESPONSE",t[t.MSG_TYPE_HB_REQUEST=12]="MSG_TYPE_HB_REQUEST",t[t.MSG_TYPE_HB_RESPONSE=13]="MSG_TYPE_HB_RESPONSE",t[t.MSG_TYPE_GET_CONFIG_REQUEST=14]="MSG_TYPE_GET_CONFIG_REQUEST",t[t.MSG_TYPE_GET_CONFIG_RESPONSE=15]="MSG_TYPE_GET_CONFIG_RESPONSE",t[t.MSG_TYPE_HTTP_REQUEST_ACK=16]="MSG_TYPE_HTTP_REQUEST_ACK",t[t.MSG_TYPE_PC_UPWARD_MESSAGE=17]="MSG_TYPE_PC_UPWARD_MESSAGE",t[t.MSG_TYPE_PC_UPWARD_MESSAGE_ACK=18]="MSG_TYPE_PC_UPWARD_MESSAGE_ACK",t[t.MSG_TYPE_PC_ESTABLISHED=19]="MSG_TYPE_PC_ESTABLISHED",t[t.MSG_TYPE_PC_BROKEN=20]="MSG_TYPE_PC_BROKEN",t[t.MSG_TYPE_PC_DOWNWARD_MESSAGE=21]="MSG_TYPE_PC_DOWNWARD_MESSAGE",t[t.MSG_TYPE_REDIRECT=22]="MSG_TYPE_REDIRECT",t[t.MSG_TYPE_GET_APPCONFIG_REQUEST=23]="MSG_TYPE_GET_APPCONFIG_REQUEST",t[t.MSG_TYPE_GET_APPCONFIG_RESPONSE=24]="MSG_TYPE_GET_APPCONFIG_RESPONSE",t[t.MSG_TYPE_PUSH_APPCONFIG=25]="MSG_TYPE_PUSH_APPCONFIG",t[t.MSG_TYPE_ACCESSHUB_DISPATCH_REQUEST=26]="MSG_TYPE_ACCESSHUB_DISPATCH_REQUEST",t[t.MSG_TYPE_ACCESSHUB_DISPATCH_RESPONSE=27]="MSG_TYPE_ACCESSHUB_DISPATCH_RESPONSE",t[t.MSG_TYPE_PUSH_EXCEPTION=30]="MSG_TYPE_PUSH_EXCEPTION",t[t.MSG_TYPE_HTTP_REQUEST2=33]="MSG_TYPE_HTTP_REQUEST2",t[t.MSG_TYPE_REDIRECT2=34]="MSG_TYPE_REDIRECT2",t[t.MSG_TYPE_ACCESSHUB_DISPATCH_REQUEST2=35]="MSG_TYPE_ACCESSHUB_DISPATCH_REQUEST2",t[t.MSG_TYPE_ACCESSHUB_DISPATCH_RESPONSE2=36]="MSG_TYPE_ACCESSHUB_DISPATCH_RESPONSE2",t[t.MSG_TYPE_GET_SVRADDR_REQUEST=39]="MSG_TYPE_GET_SVRADDR_REQUEST",t[t.MSG_TYPE_GET_SVRADDR_RESPONSE=40]="MSG_TYPE_GET_SVRADDR_RESPONSE"}(a||(a={})),function(t){t[t.ACCESSHUB_INVALID_FRAME=2e4]="ACCESSHUB_INVALID_FRAME",t[t.ACCESSHUB_NEED_ENCRYPT=20001]="ACCESSHUB_NEED_ENCRYPT",t[t.ACCESSHUB_DECRYPT=20002]="ACCESSHUB_DECRYPT",t[t.ACCESSHUB_MSGTYPE=20003]="ACCESSHUB_MSGTYPE",t[t.ACCESSHUB_UNMARSHAL=20004]="ACCESSHUB_UNMARSHAL",t[t.ACCESSHUB_TIMEOUT=20005]="ACCESSHUB_TIMEOUT",t[t.ACCESSHUB_CONNECT=20006]="ACCESSHUB_CONNECT",t[t.ACCESSHUB_BROKEN=20007]="ACCESSHUB_BROKEN",t[t.ACCESSHUB_INTERNAL_ERROR=20008]="ACCESSHUB_INTERNAL_ERROR",t[t.ACCESSHUB_MARSHAL=20009]="ACCESSHUB_MARSHAL",t[t.ACCESSHUB_UNSUPPORTED_SERVICE=20010]="ACCESSHUB_UNSUPPORTED_SERVICE",t[t.ACCESSHUB_TOO_FREQUENTLY=20011]="ACCESSHUB_TOO_FREQUENTLY",t[t.ACCESSHUB_INVALID_APPID=20012]="ACCESSHUB_INVALID_APPID",t[t.ACCESSHUB_HB_TIMEOUT=20013]="ACCESSHUB_HB_TIMEOUT",t[t.ACCESSHUB_INVALID_SIGNATURE=20014]="ACCESSHUB_INVALID_SIGNATURE"}(c||(c={})),function(t){t[t.SERVICE_UNSET=0]="SERVICE_UNSET",t[t.SERVICE_MEDIAGW=1]="SERVICE_MEDIAGW",t[t.SERVICE_LIVEROOM=2]="SERVICE_LIVEROOM",t[t.SERVICE_MIX=3]="SERVICE_MIX",t[t.SERVICE_ZEUS=4]="SERVICE_ZEUS",t[t.SERVICE_ZPUSH=5]="SERVICE_ZPUSH",t[t.SERVICE_L3=6]="SERVICE_L3",t[t.SERVICE_TALKLINE=7]="SERVICE_TALKLINE",t[t.SERVICE_EDUSUITE=8]="SERVICE_EDUSUITE",t[t.SERVICE_ZIM=9]="SERVICE_ZIM",t[t.SERVICE_ClOUD_SETTING=10]="SERVICE_ClOUD_SETTING",t[t.SERVICE_ZEUSHB=11]="SERVICE_ZEUSHB",t[t.SERVICE_USER_LOGIC=12]="SERVICE_USER_LOGIC",t[t.SERVICE_UNIFYDISPATCH=13]="SERVICE_UNIFYDISPATCH",t[t.SERVICE_QUALITY=14]="SERVICE_QUALITY",t[t.SERVICE_SECURITY=15]="SERVICE_SECURITY",t[t.SERVICE_KTVCPR=16]="SERVICE_KTVCPR",t[t.SERVICE_SWITCH4LIVEROOM=17]="SERVICE_SWITCH4LIVEROOM",t[t.SERVICE_WEBRTC_SIGNAL=18]="SERVICE_WEBRTC_SIGNAL",t[t.SERVICE_L3_WEBRTC_SIGNAL=19]="SERVICE_L3_WEBRTC_SIGNAL",t[t.SERVICE_VIDEOCPR=20]="SERVICE_VIDEOCPR",t[t.SERVICE_CDN=21]="SERVICE_CDN",t[t.SERVICE_CLOUDRECORD=22]="SERVICE_CLOUDRECORD",t[t.SERVICE_INNER_ECHO=23]="SERVICE_INNER_ECHO",t[t.SERVICE_OUTER_ECHO=24]="SERVICE_OUTER_ECHO",t[t.SERVICE_LOCALHOST_ECHO=25]="SERVICE_LOCALHOST_ECHO",t[t.SERVICE_ECHO=26]="SERVICE_ECHO",t[t.SERVICE_DOCSERVICE=27]="SERVICE_DOCSERVICE",t[t.SERVICE_AUTHSVR=28]="SERVICE_AUTHSVR"}(h||(h={})),function(t){t[t.ZEGOCONN_RUN_ENV_UNSET=0]="ZEGOCONN_RUN_ENV_UNSET",t[t.ZEGOCONN_RUN_ENV_BROWSER=1]="ZEGOCONN_RUN_ENV_BROWSER",t[t.ZEGOCONN_RUN_ENV_APPLET=2]="ZEGOCONN_RUN_ENV_APPLET"}(f||(f={})),function(t){t[t.Mode_UNSET=0]="Mode_UNSET",t[t.MODE_ONLINE=1]="MODE_ONLINE",t[t.MODE_TEST=2]="MODE_TEST",t[t.MODE_ALPHA=3]="MODE_ALPHA"}(l||(l={})),function(t){t[t.HTTP=0]="HTTP",t[t.PC=1]="PC",t[t.OTHER=2]="OTHER"}(d||(d={})),function(t){t[t.NONE=0]="NONE",t[t.BROKEN=1]="BROKEN",t[t.DISCONNECT=2]="DISCONNECT"}(v||(v={}));var m,p=0,g=1,b=2;!function(t){t[t.CONNECTED=0]="CONNECTED",t[t.DISCONNECT=1]="DISCONNECT",t[t.BROKEN=2]="BROKEN"}(m||(m={}));var _,y,w,S,E,O,T=[c.ACCESSHUB_INVALID_APPID,c.ACCESSHUB_INVALID_SIGNATURE];!function(t){t[t.offline=0]="offline",t[t.online=1]="online"}(_||(_={})),function(t){t[t.ACTION_RESERVED=0]="ACTION_RESERVED",t[t.ACTION_DISPATCH=1]="ACTION_DISPATCH",t[t.ACTION_RETRY=2]="ACTION_RETRY",t[t.ACTION_NEXT_NODE=3]="ACTION_NEXT_NODE",t[t.ACTION_ABORT=4]="ACTION_ABORT",t[t.ACTION_NEXT_GROUP=5]="ACTION_NEXT_GROUP",t[t.ACTION_IDLE=6]="ACTION_IDLE"}(y||(y={})),function(t){t[t.METHOD_UNSET=0]="METHOD_UNSET",t[t.METHOD_GET=1]="METHOD_GET",t[t.METHOD_POST=2]="METHOD_POST",t[t.METHOD_PUT=3]="METHOD_PUT",t[t.METHOD_PATCH=4]="METHOD_PATCH",t[t.METHOD_DELETE=5]="METHOD_DELETE",t[t.METHOD_HEAD=6]="METHOD_HEAD",t[t.METHOD_OPTIONS=7]="METHOD_OPTIONS"}(w||(w={})),function(t){t[t.CLOSE=0]="CLOSE",t[t.TEMP=1]="TEMP",t[t.TIMEOUT=2]="TIMEOUT"}(S||(S={})),function(t){t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL"}(E||(E={})),function(t){t[t.EMPTY=0]="EMPTY",t[t.CLOSE=1]="CLOSE"}(O||(O={}));var k={2:"stream_closed",3:"close_connection",4:"http_request",5:"http_response",12:"hb_request",13:"hb_response",14:"get_config_request",15:"get_config_response",16:"http_request_ack",17:"pc_upward_message",18:"pc_upward_message_ack",19:"pc_established",20:"pc_broken",21:"pc_downward_message",22:"redirect",23:"get_appconfig_request",24:"get_appconfig_response",25:"push_appconfig",26:"accesshub_dispatch_request",27:"accesshub_dispatch_response",30:"push_exception",33:"http_request2",34:"redirect2",35:"accesshub_dispatch_request2",36:"accesshub_dispatch_response2",39:"get_svraddr_request",40:"get_svraddr_response"},R=e(3),I=R.default||R,C=e(1),N=e(1);const z=e(3);(N=N.default||N).util.Long=z.default||z,N.util.Long.fromBits=N.util.Long.fromBits||function(){return 0};for(var D=N.roots,A=N.types?N.types.basic:{double:1,float:5,int32:0,uint32:0,sint32:0,fixed32:5,sfixed32:5,int64:0,uint64:0,sint64:0,fixed64:1,sfixed64:1,bool:0,string:2,bytes:2},P=N.types?N.types.packed:{double:1,float:5,int32:0,uint32:0,sint32:0,fixed32:5,sfixed32:5,int64:0,uint64:0,sint64:0,fixed64:1,sfixed64:1,bool:0},M=Object.keys(A),x={$:function(t){return x[t]?x[t].call(this):D[t].decode?D[t].decode(this,this.uint32()):x.$.call(this,"int32")}},L={$:function(t,i,e){var n=A[t];return void 0===n?D[t].encode?(this.uint32(e<<3|2).fork(),D[t].encode(i,this).ldelim()):L.$.call(this,"int32",i,e):L[t].call(this.uint32(e<<3|n),i)}},j=0;j<M.length;j++)x[M[j]]=N.Reader.prototype[M[j]],L[M[j]]=N.Writer.prototype[M[j]];!function t(i,e,n,r){for(var s=0,o=Object.keys(i);s<o.length;s++){var u=o[s];i[u].$m&&Object.keys(i[u].$m).every((function(t){return Number(t)}))?n[u]=function(i,n){function r(t){for(var e in i){var n=i[e];"{"===n[1].charAt(0)?this[n[0]]={}:"["!==n[1].charAt(0)&&"<"!==n[1].charAt(0)||(this[n[0]]=[])}if(t)for(var r=Object.keys(t),s=0;s<r.length;++s)null!=t[r[s]]&&(this[r[s]]=t[r[s]])}var s={};for(var o in i){var u=i[o],a=u[1];"{"===a.charAt(0)?(r.prototype[u[0]]=N.util.emptyObject,s[a]={$m:a.substring(1).split(",").map((function(t,i){return[`$${i+1}`,t,null]})).reduce((function(t,i,e){return t[e+1]=i,t}),{})}):r.prototype[u[0]]="["===a.charAt(0)||"<"===a.charAt(0)?N.util.emptyArray:"bytes"===a?N.util.newBuffer([]):u[2]&&u[2].hasOwnProperty("low")&&u[2].hasOwnProperty("high")?N.util.Long.fromBits(u[2].low,u[2].high,u[2].unsigned):u[2]}return r.create=function(t){return new r(t)},r.decode=function(t,e){t instanceof N.Reader||(t=N.Reader.create(t));for(var n=void 0===e?t.len:t.pos+e,s=new r;t.pos<n;){var o=t.uint32(),u=o>>>3;if(u>0&&i[u]){var a=i[u][0],c=i[u][1];if("{"===c.charAt(0)){s[a]===N.util.emptyObject&&(s[a]={});var h=r.$namespace[c].decode(t,t.uint32());s[a][h.$1]=h.$2}else if("["===c.charAt(0)||"<"===c.charAt(0))if(c=c.substring(1),s[a]&&s[a].length||(s[a]=[]),void 0!==P[c=x[c]||D[c].decode?c:"int32"]&&2==(7&o))for(var f=t.uint32()+t.pos;t.pos<f;)s[a].push(x.$.call(t,c));else s[a].push(x.$.call(t,c));else s[a]=x.$.call(t,c)}else t.skipType(7&o)}return s},r.encode=function(t,e){for(var n in e||(e=N.Writer.create()),i){var s=i[n][0],o=i[n][1];if("{"===o.charAt(0)){if(null!=t[s]&&t.hasOwnProperty(s))for(var u=0,a=Object.keys(t[s]);u<a.length;++u)e.uint32(n<<3|2).fork(),r.$namespace[o].encode({$1:a[u],$2:t[s][a[u]]},e).ldelim()}else if("["===o.charAt(0)||"<"===o.charAt(0)){var c="<"===o.charAt(0);o=o.substring(1);var h=t[s];if(null!=h&&h.length)if(o=void 0!==A[o]||D[o].encode?o:"int32",c&&void 0!==P[o]){for(e.uint32(n<<3|2).fork(),u=0;u<h.length;u++)L[o].call(e,h[u]);e.ldelim()}else for(u=0;u<h.length;u++)L.$.call(e,o,h[u],n)}else null!=t[s]&&t.hasOwnProperty(s)&&L.$.call(e,o,t[s],n)}return e},Object.keys(s).length&&(r.$namespace=t(s,e+"."+n,r.$namespace||{},!0)),r}(i[u].$m,u):i[u].$s?n[u]=function(t,i){function n(t,i,e){N.rpc.Service.call(this,t,i,e)}return(n.prototype=Object.create(N.rpc.Service.prototype)).constructor=n,n.create=function(t,i,e){return new n(t,i,e)},Object.keys(t).forEach((function(r){var s=t[r];function o(t,i){return this.rpcCall(o,D[s[0]],D[s[1]],t,i)}Object.defineProperty(o,"name",{value:r}),Object.defineProperty(o,"path",{value:`${e}.${i}`}),n.prototype[r]=o})),n}(i[u].$s,u):i[u].$e&&Object.values(i[u].$e).every((function(t){return Number(t)===t}))&&(n[u]=function(t){for(var i=Object.keys(t),e={},n=0;n<i.length;n++)e[e[i[n]]=t[i[n]]]=i[n];return e}(i[u].$e)),n[u]&&!r&&(D[`${e}.${u}`]=n[u]),delete i[u].$m,delete i[u].$s,delete i[u].$e,n[u]=t(i[u],Boolean(e)?`${e}.${u}`:u,n[u]||{})}return n}({zego_connection:{proto_accesshub:{AccesshubAddr:{$m:{1:["ipv4","fixed32",0],2:["ipv6","zego_connection.proto_accesshub.IPV6Addr",null],3:["quic_port","uint32",0],4:["wss_port","uint32",0]}},AccesshubDispatchGroup:{$m:{1:["group","string",""],2:["quic_nodes","<string",null],3:["mtcp_nodes","<string",null],4:["wss_nodes","<string",null]}},AccesshubDispatchGroup2:{$m:{1:["group","string",""],2:["nodes","<zego_connection.proto_accesshub.AccesshubAddr",null],3:["nodes_dual","<zego_connection.proto_accesshub.AccesshubAddr",null],4:["weight","uint32",0],5:["gid","uint32",0]}},AccesshubDispatchRequest2:{$m:{1:["txid","uint64",{low:0,high:0,unsigned:!0}],2:["appid","uint32",0],3:["biz_type","uint32",0],4:["mode_no","zego_connection.proto_accesshub.Mode",0],5:["id_name","string",""],6:["sdk_type","zego_connection.proto_accesshub.SdkType",0],7:["zegoconn_version","uint32",0],8:["zegoconn_run_env","zego_connection.proto_accesshub.ZegoconnRunEnv",0],9:["device_id","string",""],10:["client_ip","string",""],11:["geofencing_type","uint32",0],12:["geofencings","[uint32",null],13:["addr_type","uint32",0],14:["net_mode","uint32",0],15:["dispatch_tag","uint32",0]}},AccesshubDispatchResponse2:{$m:{1:["code","int32",0],2:["message","string",""],3:["data","zego_connection.proto_accesshub.AccesshubDispatchResponseData2",null]}},AccesshubDispatchResponseData2:{$m:{1:["txid","uint64",{low:0,high:0,unsigned:!0}],2:["rand","string",""],3:["secret","string",""],4:["groups","<zego_connection.proto_accesshub.AccesshubDispatchGroup2",null],5:["wss_groups","<zego_connection.proto_accesshub.WssAccesshubDispatchGroup",null],6:["ttl","uint32",0],7:["http3_groups","<zego_connection.proto_accesshub.Http3AccesshubDispatchGroup",null],8:["wss_v6_groups","<zego_connection.proto_accesshub.WssAccesshubDispatchGroup",null],9:["http3_v6_groups","<zego_connection.proto_accesshub.Http3AccesshubDispatchGroup",null]}},BackendConnType:{$e:{BACKEND_CONN_TYPE_UNSET:0,BACKEND_CONN_TYPE_TCP:1,BACKEND_CONN_TYPE_WSS:2}},CheckServiceAreaRequest:{$m:{1:["txid","uint64",{low:0,high:0,unsigned:!0}],2:["appid","uint32",0],3:["biz_type","uint32",0],4:["mode","zego_connection.proto_accesshub.Mode",0],5:["id_name","string",""],6:["sdk_type","zego_connection.proto_accesshub.SdkType",0],7:["zegoconn_run_env","zego_connection.proto_accesshub.ZegoconnRunEnv",0],8:["zegoconn_version","uint32",0],9:["device_id","string",""],10:["user_agent","string",""],11:["language","string",""],12:["timezone","string",""],13:["carrier","string",""],14:["dns_result","zego_connection.proto_accesshub.IPAddr",null]}},CheckServiceAreaResponse:{$m:{1:["code","int32",0],2:["message","string",""],3:["data","zego_connection.proto_accesshub.CheckServiceAreaResponseData",null]}},CheckServiceAreaResponseData:{$m:{1:["txid","uint64",{low:0,high:0,unsigned:!0}]}},CloseConnection:{$m:{1:["reason","int32",0],2:["msg","string",""],3:["action","int32",0]},Action:{$e:{ACTION_RESERVED:0,ACTION_DISPATCH:1,ACTION_RETRY:2,ACTION_NEXT_NODE:3,ACTION_ABORT:4,ACTION_NEXT_GROUP:5,ACTION_IDLE:6}}},ConnectionClosed:{$m:{1:["code","int32",0],2:["msg","string",""]}},ErrorCode:{$e:{OK:0,DISPATCH_NO_AVAILABLE_NODE:1e4,DISPATCH_INTERNAL_ERROR:10001,DISPATCH_INVALID_FRAME:10002,DISPATCH_UNMARSHAL:10003,DISPATCH_MSGTYPE:10004,DISPATCH_MARSHAL:10005,DISPATCH_TOO_FREQUENTLY:10006,DISPATCH_EMPTY_GEOFENCING:10007,ACCESSHUB_INVALID_FRAME:2e4,ACCESSHUB_NEED_ENCRYPT:20001,ACCESSHUB_DECRYPT:20002,ACCESSHUB_MSGTYPE:20003,ACCESSHUB_UNMARSHAL:20004,ACCESSHUB_TIMEOUT:20005,ACCESSHUB_CONNECT:20006,ACCESSHUB_BROKEN:20007,ACCESSHUB_INTERNAL_ERROR:20008,ACCESSHUB_MARSHAL:20009,ACCESSHUB_UNSUPPORTED_SERVICE:20010,ACCESSHUB_TOO_FREQUENTLY:20011,ACCESSHUB_INVALID_APPID:20012,ACCESSHUB_HB_TIMEOUT:20013,ACCESSHUB_INVALID_SIGNATURE:20014,ACCESSHUB_AUTH_FAILED:20015,ACCESSHUB_UNSUPPORTED_INTERFACE:20016,ACCESSHUB_EMPTY_GEOFENCING:20017,ACCESSHUB_ACCESS_DENIED:20018,ACCESSHUB_SPECIAL_CUSTOMER:20019,ACCESSHUB_IDLE_CONNECTION:20020,ACCESSHUB_APPID_OFFLINE:20021,ACCESSHUB_GET_STREAM_FAILED:3e4,ACCESSHUB_GET_CONN_FAILED:30001,ACCESSHUB_DO_HTTP_REQUEST_FAILED:30002,ACCESSHUB_UNMARSHAL_HB_FAILED:30003,ACCESSHUB_DO_BACKEND_DISPATCH_FAILED:30004}},GeoFencing:{$e:{CN:2,NA:3,EU:4,AS:5,IN:6,NCN:7}},GeoFencingType:{$e:{NONE:0,UNION:1,EXCLUDE:2}},GetAppConfigRequest:{$m:{1:["txid","uint64",{low:0,high:0,unsigned:!0}],2:["appid","uint32",0],3:["biz_type","uint32",0],4:["mode_no","zego_connection.proto_accesshub.Mode",0],5:["id_name","string",""],6:["config_key","string",""],7:["ts","uint64",{low:0,high:0,unsigned:!0}],8:["signature","bytes",[]],9:["lite_sign","string",""],10:["token","string",""],11:["sdk_type","zego_connection.proto_accesshub.SdkType",0],12:["zegoconn_version","uint32",0],13:["zegoconn_run_env","zego_connection.proto_acc