UNPKG

ylh-quick-app-ad-sdk

Version:

安装命令: 通过 `npm` 安装: ```sh npm install ylh-quick-app-ad-sdk ``` 通过 `yarn` 安装: ```sh yarn add ylh-quick-app-ad-sdk ```

3 lines 225 kB
/*! For license information please see ylh-sdk-core-v1.7.1074.min.js.LICENSE.txt */
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(global,(()=>(()=>{var t={70:function(t,e,n){var r;t.exports=(r=n(995),function(){if("function"==typeof ArrayBuffer){var t=r.lib.WordArray,e=t.init,n=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 n=t.byteLength,r=[],i=0;i<n;i++)r[i>>>2]|=t[i]<<24-i%4*8;e.call(this,r,n)}else e.apply(this,arguments)};n.prototype=t}}(),r.lib.WordArray)},255:()=>{},360:function(t,e,n){var r;t.exports=(r=n(995),function(){var t=r,e=t.lib.WordArray;function n(t,n,r){for(var i=[],s=0,o=0;o<n;o++)if(o%4){var c=r[t.charCodeAt(o-1)]<<o%4*2|r[t.charCodeAt(o)]>>>6-o%4*2;i[s>>>2]|=c<<24-s%4*8,s++}return e.create(i,s)}t.enc.Base64={stringify:function(t){var e=t.words,n=t.sigBytes,r=this._map;t.clamp();for(var i=[],s=0;s<n;s+=3)for(var o=(e[s>>>2]>>>24-s%4*8&255)<<16|(e[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|e[s+2>>>2]>>>24-(s+2)%4*8&255,c=0;c<4&&s+.75*c<n;c++)i.push(r.charAt(o>>>6*(3-c)&63));var a=r.charAt(64);if(a)for(;i.length%4;)i.push(a);return i.join("")},parse:function(t){var e=t.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var s=0;s<r.length;s++)i[r.charCodeAt(s)]=s}var o=r.charAt(64);if(o){var c=t.indexOf(o);-1!==c&&(e=c)}return n(t,e,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),r.enc.Base64)},410:function(t,e,n){var r;t.exports=(r=n(995),function(t){var e=r,n=e.lib,i=n.WordArray,s=n.Hasher,o=e.algo,c=[];!function(){for(var e=0;e<64;e++)c[e]=4294967296*t.abs(t.sin(e+1))|0}();var a=o.MD5=s.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var n=0;n<16;n++){var r=e+n,i=t[r];t[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var s=this._hash.words,o=t[e+0],a=t[e+1],p=t[e+2],l=t[e+3],g=t[e+4],m=t[e+5],y=t[e+6],v=t[e+7],b=t[e+8],w=t[e+9],_=t[e+10],x=t[e+11],A=t[e+12],O=t[e+13],C=t[e+14],I=t[e+15],S=s[0],E=s[1],P=s[2],k=s[3];S=u(S,E,P,k,o,7,c[0]),k=u(k,S,E,P,a,12,c[1]),P=u(P,k,S,E,p,17,c[2]),E=u(E,P,k,S,l,22,c[3]),S=u(S,E,P,k,g,7,c[4]),k=u(k,S,E,P,m,12,c[5]),P=u(P,k,S,E,y,17,c[6]),E=u(E,P,k,S,v,22,c[7]),S=u(S,E,P,k,b,7,c[8]),k=u(k,S,E,P,w,12,c[9]),P=u(P,k,S,E,_,17,c[10]),E=u(E,P,k,S,x,22,c[11]),S=u(S,E,P,k,A,7,c[12]),k=u(k,S,E,P,O,12,c[13]),P=u(P,k,S,E,C,17,c[14]),S=h(S,E=u(E,P,k,S,I,22,c[15]),P,k,a,5,c[16]),k=h(k,S,E,P,y,9,c[17]),P=h(P,k,S,E,x,14,c[18]),E=h(E,P,k,S,o,20,c[19]),S=h(S,E,P,k,m,5,c[20]),k=h(k,S,E,P,_,9,c[21]),P=h(P,k,S,E,I,14,c[22]),E=h(E,P,k,S,g,20,c[23]),S=h(S,E,P,k,w,5,c[24]),k=h(k,S,E,P,C,9,c[25]),P=h(P,k,S,E,l,14,c[26]),E=h(E,P,k,S,b,20,c[27]),S=h(S,E,P,k,O,5,c[28]),k=h(k,S,E,P,p,9,c[29]),P=h(P,k,S,E,v,14,c[30]),S=f(S,E=h(E,P,k,S,A,20,c[31]),P,k,m,4,c[32]),k=f(k,S,E,P,b,11,c[33]),P=f(P,k,S,E,x,16,c[34]),E=f(E,P,k,S,C,23,c[35]),S=f(S,E,P,k,a,4,c[36]),k=f(k,S,E,P,g,11,c[37]),P=f(P,k,S,E,v,16,c[38]),E=f(E,P,k,S,_,23,c[39]),S=f(S,E,P,k,O,4,c[40]),k=f(k,S,E,P,o,11,c[41]),P=f(P,k,S,E,l,16,c[42]),E=f(E,P,k,S,y,23,c[43]),S=f(S,E,P,k,w,4,c[44]),k=f(k,S,E,P,A,11,c[45]),P=f(P,k,S,E,I,16,c[46]),S=d(S,E=f(E,P,k,S,p,23,c[47]),P,k,o,6,c[48]),k=d(k,S,E,P,v,10,c[49]),P=d(P,k,S,E,C,15,c[50]),E=d(E,P,k,S,m,21,c[51]),S=d(S,E,P,k,A,6,c[52]),k=d(k,S,E,P,l,10,c[53]),P=d(P,k,S,E,_,15,c[54]),E=d(E,P,k,S,a,21,c[55]),S=d(S,E,P,k,b,6,c[56]),k=d(k,S,E,P,I,10,c[57]),P=d(P,k,S,E,y,15,c[58]),E=d(E,P,k,S,O,21,c[59]),S=d(S,E,P,k,g,6,c[60]),k=d(k,S,E,P,x,10,c[61]),P=d(P,k,S,E,p,15,c[62]),E=d(E,P,k,S,w,21,c[63]),s[0]=s[0]+S|0,s[1]=s[1]+E|0,s[2]=s[2]+P|0,s[3]=s[3]+k|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;n[i>>>5]|=128<<24-i%32;var s=t.floor(r/4294967296),o=r;n[15+(i+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),n[14+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e.sigBytes=4*(n.length+1),this._process();for(var c=this._hash,a=c.words,u=0;u<4;u++){var h=a[u];a[u]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)}return c},clone:function(){var t=s.clone.call(this);return t._hash=this._hash.clone(),t}});function u(t,e,n,r,i,s,o){var c=t+(e&n|~e&r)+i+o;return(c<<s|c>>>32-s)+e}function h(t,e,n,r,i,s,o){var c=t+(e&r|n&~r)+i+o;return(c<<s|c>>>32-s)+e}function f(t,e,n,r,i,s,o){var c=t+(e^n^r)+i+o;return(c<<s|c>>>32-s)+e}function d(t,e,n,r,i,s,o){var c=t+(n^(e|~r))+i+o;return(c<<s|c>>>32-s)+e}e.MD5=s._createHelper(a),e.HmacMD5=s._createHmacHelper(a)}(Math),r.MD5)},462:function(t,e,n){var r;t.exports=(r=n(995),n(70),n(360),n(410),r)},646:(t,e)=>{var n,r,i,s,o,c,a,u,h,f={},d={};function p(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function l(t,e){return new g(t,e)}function g(t,e,n){null!=t&&("number"==typeof t?this.fromNumber(t,e,n):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}function m(){return new g(null)}function y(t){return N.charAt(t)}function v(t,e){var n=i[t.charCodeAt(e)];return null==n?-1:n}function b(t){var e=m();return e.fromInt(t),e}function w(t){var e,n=1;return 0!=(e=t>>>16)&&(t=e,n+=16),0!=(e=t>>8)&&(t=e,n+=8),0!=(e=t>>4)&&(t=e,n+=4),0!=(e=t>>2)&&(t=e,n+=2),0!=(e=t>>1)&&(t=e,n+=1),n}function _(t){this.m=t}function x(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}function A(t,e){return t&e}function O(t,e){return t|e}function C(t,e){return t^e}function I(t,e){return t&~e}function S(t){if(0==t)return-1;var e=0;return!(65535&t)&&(t>>=16,e+=16),!(255&t)&&(t>>=8,e+=8),!(15&t)&&(t>>=4,e+=4),!(3&t)&&(t>>=2,e+=2),!(1&t)&&++e,e}function E(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function P(){}function k(t){return t}function T(t){this.r2=m(),this.q3=m(),g.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}function D(t){for(var e,n,r="",i=0,s=0;s<t.length&&t.charAt(s)!=j;++s)(n=z.indexOf(t.charAt(s)))<0||(0==i?(r+=y(n>>2),e=3&n,i=1):1==i?(r+=y(e<<2|n>>4),e=15&n,i=2):2==i?(r+=y(e),r+=y(n>>2),e=3&n,i=3):(r+=y(e<<2|n>>4),r+=y(15&n),i=0));return 1==i&&(r+=y(e<<2)),r}function L(t,e){if(-1==t.indexOf("-----BEGIN "))throw new Error("can't find PEM header");return void 0!==e?t=(t=t.replace(new RegExp("^[^]*-----BEGIN "+e+"-----"),"")).replace(new RegExp("-----END "+e+"-----[^]*$"),""):t=(t=t.replace(/^[^]*-----BEGIN [^-]+-----/,"")).replace(/-----END [^-]+-----[^]*$/,""),function(t){var e=t.replace(/[^0-9A-Za-z\/+=]*/g,"");return D(e)}(t)}void 0!==f&&f||(f={}),void 0!==f.crypto&&f.crypto||(f.crypto={}),void 0!==d&&d||(d={}),(n={}).userAgent=!1;var j="=",z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",N="0123456789abcdefghijklmnopqrstuvwxyz";const M={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"};for(p.prototype.verifyWithMessageHash=function(t,e){var n;if(e.length!=Math.ceil(this.n.bitLength()/4))return!1;if((n=l(e,16)).bitLength()>this.n.bitLength())return 0;var r=function(t){var e,n,r;for(e in M)if(r=(n=M[e]).length,t.substring(0,r)==n)return[e,t.substring(r)];return[]}(this.doPublic(n).toString(16).replace(/^1f+00/,""));return 0!=r.length&&(r[0],r[1]==t)},p.prototype.readPKCS8PubKeyHex=function(t){var e=u.getTLVbyListEx(t,0,[1,0]);this.readPKCS5PubKeyHex(e)},p.prototype.readPKCS5PubKeyHex=function(t){var e,n,r=u,i=r.getV,s=r.getChildIdx(t,0);if(2!==s.length||"02"!==t.substr(s[0],2)||"02"!==t.substr(s[1],2))throw new Error("wrong hex for PKCS#5 public key");e=i(t,s[0]),n=i(t,s[1]),this.setPublic(e,n)},p.prototype.type="RSA",p.prototype.setPublic=function(t,e){if(this.isPublic=!0,this.isPrivate=!1,"string"!=typeof t)this.n=t,this.e=e;else{if(!(null!=t&&null!=e&&t.length>0&&e.length>0))throw"Invalid RSA public key";this.n=l(t,16),this.e=parseInt(e,16)}},p.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},"Microsoft Internet Explorer"==n.appName?(g.prototype.am=function(t,e,n,r,i,s){for(var o=32767&e,c=e>>15;--s>=0;){var a=32767&this[t],u=this[t++]>>15,h=c*a+u*o;i=((a=o*a+((32767&h)<<15)+n[r]+(1073741823&i))>>>30)+(h>>>15)+c*u+(i>>>30),n[r++]=1073741823&a}return i},r=30):"Netscape"!=n.appName?(g.prototype.am=function(t,e,n,r,i,s){for(;--s>=0;){var o=e*this[t++]+n[r]+i;i=Math.floor(o/67108864),n[r++]=67108863&o}return i},r=26):(g.prototype.am=function(t,e,n,r,i,s){for(var o=16383&e,c=e>>14;--s>=0;){var a=16383&this[t],u=this[t++]>>14,h=c*a+u*o;i=((a=o*a+((16383&h)<<14)+n[r]+i)>>28)+(h>>14)+c*u,n[r++]=268435455&a}return i},r=28),g.prototype.DB=r,g.prototype.DM=(1<<r)-1,g.prototype.DV=1<<r,g.prototype.FV=Math.pow(2,52),g.prototype.F1=52-r,g.prototype.F2=2*r-52,N="0123456789abcdefghijklmnopqrstuvwxyz",i=[],s="0".charCodeAt(0),o=0;o<=9;++o)i[s++]=o;for(s="a".charCodeAt(0),o=10;o<36;++o)i[s++]=o;for(s="A".charCodeAt(0),o=10;o<36;++o)i[s++]=o;var B,R,q,K,V,H,U,W,G,$,Y;_.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},_.prototype.revert=function(t){return t},_.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},_.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},_.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},x.prototype.convert=function(t){var e=m();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(g.ZERO)>0&&this.m.subTo(e,e),e},x.prototype.revert=function(t){var e=m();return t.copyTo(e),this.reduce(e),e},x.prototype.reduce=function(t){for(var e,n,r;t.t<=this.mt2;)t[t.t++]=0;for(e=0;e<this.m.t;++e)for(r=(n=32767&t[e])*this.mpl+((n*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM,t[n=e+this.m.t]+=this.m.am(0,r,t,e,0,this.m.t);t[n]>=t.DV;)t[n]-=t.DV,t[++n]++;t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},x.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},x.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},g.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},g.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},g.prototype.fromString=function(t,e){var n,r;if(16==e)n=4;else if(8==e)n=3;else if(256==e)n=8;else if(2==e)n=1;else if(32==e)n=5;else{if(4!=e)return void this.fromRadix(t,e);n=2}this.t=0,this.s=0;for(var i=t.length,s=!1,o=0;--i>=0;)(r=8==n?255&t[i]:v(t,i))<0?"-"==t.charAt(i)&&(s=!0):(s=!1,0==o?this[this.t++]=r:o+n>this.DB?(this[this.t-1]|=(r&(1<<this.DB-o)-1)<<o,this[this.t++]=r>>this.DB-o):this[this.t-1]|=r<<o,(o+=n)>=this.DB&&(o-=this.DB));8==n&&128&t[0]&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),s&&g.ZERO.subTo(this,this)},g.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},g.prototype.dlShiftTo=function(t,e){for(var n=this.t-1;n>=0;--n)e[n+t]=this[n];for(n=t-1;n>=0;--n)e[n]=0;e.t=this.t+t,e.s=this.s},g.prototype.drShiftTo=function(t,e){for(var n=t;n<this.t;++n)e[n-t]=this[n];e.t=Math.max(this.t-t,0),e.s=this.s},g.prototype.lShiftTo=function(t,e){for(var n=t%this.DB,r=this.DB-n,i=(1<<r)-1,s=Math.floor(t/this.DB),o=this.s<<n&this.DM,c=this.t-1;c>=0;--c)e[c+s+1]=this[c]>>r|o,o=(this[c]&i)<<n;for(c=s-1;c>=0;--c)e[c]=0;e[s]=o,e.t=this.t+s+1,e.s=this.s,e.clamp()},g.prototype.rShiftTo=function(t,e){var n,r;if(e.s=this.s,(n=Math.floor(t/this.DB))>=this.t)e.t=0;else{var i=t%this.DB,s=this.DB-i,o=(1<<i)-1;for(e[0]=this[n]>>i,r=n+1;r<this.t;++r)e[r-n-1]|=(this[r]&o)<<s,e[r-n]=this[r]>>i;i>0&&(e[this.t-n-1]|=(this.s&o)<<s),e.t=this.t-n,e.clamp()}},g.prototype.subTo=function(t,e){for(var n=0,r=0,i=Math.min(t.t,this.t);n<i;)r+=this[n]-t[n],e[n++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r-=t.s;n<this.t;)r+=this[n],e[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<t.t;)r-=t[n],e[n++]=r&this.DM,r>>=this.DB;r-=t.s}e.s=r<0?-1:0,r<-1?e[n++]=this.DV+r:r>0&&(e[n++]=r),e.t=n,e.clamp()},g.prototype.multiplyTo=function(t,e){var n=this.abs(),r=t.abs(),i=n.t;for(e.t=i+r.t;--i>=0;)e[i]=0;for(i=0;i<r.t;++i)e[i+n.t]=n.am(0,r[i],e,i,0,n.t);e.s=0,e.clamp(),this.s!=t.s&&g.ZERO.subTo(e,e)},g.prototype.squareTo=function(t){for(var e,n=this.abs(),r=t.t=2*n.t;--r>=0;)t[r]=0;for(r=0;r<n.t-1;++r)e=n.am(r,n[r],t,2*r,0,1),(t[r+n.t]+=n.am(r+1,2*n[r],t,2*r+1,e,n.t-r-1))>=n.DV&&(t[r+n.t]-=n.DV,t[r+n.t+1]=1);t.t>0&&(t[t.t-1]+=n.am(r,n[r],t,2*r,0,1)),t.s=0,t.clamp()},g.prototype.divRemTo=function(t,e,n){var r,i,s,o,c=t.abs();if(!(c.t<=0)){if((r=this.abs()).t<c.t)return null!=e&&e.fromInt(0),void(null!=n&&this.copyTo(n));null==n&&(n=m());var a=m(),u=this.s,h=t.s,f=this.DB-w(c[c.t-1]);if(f>0?(c.lShiftTo(f,a),r.lShiftTo(f,n)):(c.copyTo(a),r.copyTo(n)),0!=(s=a[(i=a.t)-1])){var d=s*(1<<this.F1)+(i>1?a[i-2]>>this.F2:0),p=this.FV/d,l=(1<<this.F1)/d,y=1<<this.F2,v=n.t,b=v-i,_=null==e?m():e;for(a.dlShiftTo(b,_),n.compareTo(_)>=0&&(n[n.t++]=1,n.subTo(_,n)),g.ONE.dlShiftTo(i,_),_.subTo(a,a);a.t<i;)a[a.t++]=0;for(;--b>=0;)if(o=n[--v]==s?this.DM:Math.floor(n[v]*p+(n[v-1]+y)*l),(n[v]+=a.am(0,o,n,b,0,i))<o)for(a.dlShiftTo(b,_),n.subTo(_,n);n[v]<--o;)n.subTo(_,n);null!=e&&(n.drShiftTo(i,e),u!=h&&g.ZERO.subTo(e,e)),n.t=i,n.clamp(),f>0&&n.rShiftTo(f,n),u<0&&g.ZERO.subTo(n,n)}}},g.prototype.invDigit=function(){var t,e;return this.t<1?0:1&(t=this[0])?(e=(e=(e=(e=(e=3&t)*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e:0},g.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},g.prototype.exp=function(t,e){var n;if(t>4294967295||t<1)return g.ONE;var r=m(),i=m(),s=e.convert(this),o=w(t)-1;for(s.copyTo(r);--o>=0;)e.sqrTo(r,i),(t&1<<o)>0?e.mulTo(i,s,r):(n=r,r=i,i=n);return e.revert(r)},g.prototype.toString=function(t){var e;if(this.s<0)return"-"+this.negate().toString(t);if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var n,r=(1<<e)-1,i=!1,s="",o=this.t,c=this.DB-o*this.DB%e;if(o-- >0)for(c<this.DB&&(n=this[o]>>c)>0&&(i=!0,s=y(n));o>=0;)c<e?n=(this[o]&(1<<c)-1)<<e-c|this[--o]>>(c+=this.DB-e):(n=this[o]>>(c-=e)&r,c<=0&&(c+=this.DB,--o)),n>0&&(i=!0),i&&(s+=y(n));return i?s:"0"},g.prototype.negate=function(){var t=m();return g.ZERO.subTo(this,t),t},g.prototype.abs=function(){return this.s<0?this.negate():this},g.prototype.compareTo=function(t){var e,n=this.s-t.s;if(0!=n)return n;if(0!=(n=(e=this.t)-t.t))return this.s<0?-n:n;for(;--e>=0;)if(0!=(n=this[e]-t[e]))return n;return 0},g.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+w(this[this.t-1]^this.s&this.DM)},g.prototype.mod=function(t){var e=m();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(g.ZERO)>0&&t.subTo(e,e),e},g.prototype.modPowInt=function(t,e){var n;return n=t<256||e.isEven()?new _(e):new x(e),this.exp(t,n)},g.ZERO=b(0),g.ONE=b(1),P.prototype.convert=k,P.prototype.revert=k,P.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n)},P.prototype.sqrTo=function(t,e){t.squareTo(e)},T.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=m();return t.copyTo(e),this.reduce(e),e},T.prototype.revert=function(t){return t},T.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},T.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},T.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},a=67108864/(c=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997])[c.length-1],g.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},g.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),n=Math.pow(t,e),r=b(n),i=m(),s=m(),o="";for(this.divRemTo(r,i,s);i.signum()>0;)o=(n+s.intValue()).toString(t).substr(1)+o,i.divRemTo(r,i,s);return s.intValue().toString(t)+o},g.prototype.fromRadix=function(t,e){var n,r;this.fromInt(0),null==e&&(e=10);var i=this.chunkSize(e),s=Math.pow(e,i),o=!1,c=0,a=0;for(n=0;n<t.length;++n)(r=v(t,n))<0?"-"==t.charAt(n)&&0==this.signum()&&(o=!0):(a=e*a+r,++c>=i&&(this.dMultiply(s),this.dAddOffset(a,0),c=0,a=0));c>0&&(this.dMultiply(Math.pow(e,c)),this.dAddOffset(a,0)),o&&g.ZERO.subTo(this,this)},g.prototype.fromNumber=function(t,e,n){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,n),this.testBit(t-1)||this.bitwiseTo(g.ONE.shiftLeft(t-1),O,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(g.ONE.shiftLeft(t-1),this);else{var r=[],i=7&t;r.length=1+(t>>3),e.nextBytes(r),i>0?r[0]&=(1<<i)-1:r[0]=0,this.fromString(r,256)}},g.prototype.bitwiseTo=function(t,e,n){for(var r,i=Math.min(t.t,this.t),s=0;s<i;++s)n[s]=e(this[s],t[s]);if(t.t<this.t){for(r=t.s&this.DM,s=i;s<this.t;++s)n[s]=e(this[s],r);n.t=this.t}else{for(r=this.s&this.DM,s=i;s<t.t;++s)n[s]=e(r,t[s]);n.t=t.t}n.s=e(this.s,t.s),n.clamp()},g.prototype.changeBit=function(t,e){var n=g.ONE.shiftLeft(t);return this.bitwiseTo(n,e,n),n},g.prototype.addTo=function(t,e){for(var n=0,r=0,i=Math.min(t.t,this.t);n<i;)r+=this[n]+t[n],e[n++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r+=t.s;n<this.t;)r+=this[n],e[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<t.t;)r+=t[n],e[n++]=r&this.DM,r>>=this.DB;r+=t.s}e.s=r<0?-1:0,r>0?e[n++]=r:r<-1&&(e[n++]=this.DV+r),e.t=n,e.clamp()},g.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},g.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},g.prototype.multiplyLowerTo=function(t,e,n){var r,i=Math.min(this.t+t.t,e);for(n.s=0,n.t=i;i>0;)n[--i]=0;for(r=n.t-this.t;i<r;++i)n[i+this.t]=this.am(0,t[i],n,i,0,this.t);for(r=Math.min(t.t,e);i<r;++i)this.am(0,t[i],n,i,0,e-i);n.clamp()},g.prototype.multiplyUpperTo=function(t,e,n){--e;var r=n.t=this.t+t.t-e;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(e-this.t,0);r<t.t;++r)n[this.t+r-e]=this.am(e-r,t[r],n,0,0,this.t+r-e);n.clamp(),n.drShiftTo(1,n)},g.prototype.modInt=function(t){var e,n,r;if(t<=0)return 0;if(e=this.DV%t,n=this.s<0?t-1:0,this.t>0)if(0==e)n=this[0]%t;else for(r=this.t-1;r>=0;--r)n=(e*n+this[r])%t;return n},g.prototype.millerRabin=function(t){var e,n,r,i,s,o=this.subtract(g.ONE),a=o.getLowestSetBit();if(a<=0)return!1;for(e=o.shiftRight(a),(t=t+1>>1)>c.length&&(t=c.length),n=m(),r=0;r<t;++r)if(n.fromInt(c[Math.floor(Math.random()*c.length)]),0!=(i=n.modPow(e,this)).compareTo(g.ONE)&&0!=i.compareTo(o)){for(s=1;s++<a&&0!=i.compareTo(o);)if(0==(i=i.modPowInt(2,this)).compareTo(g.ONE))return!1;if(0!=i.compareTo(o))return!1}return!0},g.prototype.clone=function(){var t=m();return this.copyTo(t),t},g.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},g.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},g.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},g.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},g.prototype.toByteArray=function(){var t,e,n,r=this.t,i=[];if(i[0]=this.s,t=this.DB-r*this.DB%8,n=0,r-- >0)for(t<this.DB&&(e=this[r]>>t)!=(this.s&this.DM)>>t&&(i[n++]=e|this.s<<this.DB-t);r>=0;)t<8?e=(this[r]&(1<<t)-1)<<8-t|this[--r]>>(t+=this.DB-8):(e=this[r]>>(t-=8)&255,t<=0&&(t+=this.DB,--r)),!!(128&e)&&(e|=-256),0==n&&(128&this.s)!=(128&e)&&++n,(n>0||e!=this.s)&&(i[n++]=e);return i},g.prototype.equals=function(t){return 0==this.compareTo(t)},g.prototype.min=function(t){return this.compareTo(t)<0?this:t},g.prototype.max=function(t){return this.compareTo(t)>0?this:t},g.prototype.and=function(t){var e=m();return this.bitwiseTo(t,A,e),e},g.prototype.or=function(t){var e=m();return this.bitwiseTo(t,O,e),e},g.prototype.xor=function(t){var e=m();return this.bitwiseTo(t,C,e),e},g.prototype.andNot=function(t){var e=m();return this.bitwiseTo(t,I,e),e},g.prototype.not=function(){for(var t=m(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},g.prototype.shiftLeft=function(t){var e=m();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},g.prototype.shiftRight=function(t){var e=m();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},g.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+S(this[t]);return this.s<0?this.t*this.DB:-1},g.prototype.bitCount=function(){for(var t=0,e=this.s&this.DM,n=0;n<this.t;++n)t+=E(this[n]^e);return t},g.prototype.testBit=function(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:!!(this[e]&1<<t%this.DB)},g.prototype.setBit=function(t){return this.changeBit(t,O)},g.prototype.clearBit=function(t){return this.changeBit(t,I)},g.prototype.flipBit=function(t){return this.changeBit(t,C)},g.prototype.add=function(t){var e=m();return this.addTo(t,e),e},g.prototype.subtract=function(t){var e=m();return this.subTo(t,e),e},g.prototype.multiply=function(t){var e=m();return this.multiplyTo(t,e),e},g.prototype.divide=function(t){var e=m();return this.divRemTo(t,e,null),e},g.prototype.remainder=function(t){var e=m();return this.divRemTo(t,null,e),e},g.prototype.divideAndRemainder=function(t){var e=m(),n=m();return this.divRemTo(t,e,n),[e,n]},g.prototype.modPow=function(t,e){var n,r,i,s=t.bitLength(),o=b(1);if(s<=0)return o;n=s<18?1:s<48?3:s<144?4:s<768?5:6,r=s<8?new _(e):e.isEven()?new T(e):new x(e);var c=[],a=3,u=n-1,h=(1<<n)-1;if(c[1]=r.convert(this),n>1)for(i=m(),r.sqrTo(c[1],i);a<=h;)c[a]=m(),r.mulTo(i,c[a-2],c[a]),a+=2;var f,d,p=t.t-1,l=!0,g=m();for(s=w(t[p])-1;p>=0;){for(s>=u?f=t[p]>>s-u&h:(f=(t[p]&(1<<s+1)-1)<<u-s,p>0&&(f|=t[p-1]>>this.DB+s-u)),a=n;!(1&f);)f>>=1,--a;if((s-=a)<0&&(s+=this.DB,--p),l)c[f].copyTo(o),l=!1;else{for(;a>1;)r.sqrTo(o,g),r.sqrTo(g,o),a-=2;a>0?r.sqrTo(o,g):(d=o,o=g,g=d),r.mulTo(g,c[f],o)}for(;p>=0&&!(t[p]&1<<s);)r.sqrTo(o,g),d=o,o=g,g=d,--s<0&&(s=this.DB-1,--p)}return r.revert(o)},g.prototype.modInverse=function(t){var e=t.isEven();if(this.isEven()&&e||0==t.signum())return g.ZERO;for(var n=t.clone(),r=this.clone(),i=b(1),s=b(0),o=b(0),c=b(1);0!=n.signum();){for(;n.isEven();)n.rShiftTo(1,n),e?(i.isEven()&&s.isEven()||(i.addTo(this,i),s.subTo(t,s)),i.rShiftTo(1,i)):s.isEven()||s.subTo(t,s),s.rShiftTo(1,s);for(;r.isEven();)r.rShiftTo(1,r),e?(o.isEven()&&c.isEven()||(o.addTo(this,o),c.subTo(t,c)),o.rShiftTo(1,o)):c.isEven()||c.subTo(t,c),c.rShiftTo(1,c);n.compareTo(r)>=0?(n.subTo(r,n),e&&i.subTo(o,i),s.subTo(c,s)):(r.subTo(n,r),e&&o.subTo(i,o),c.subTo(s,c))}return 0!=r.compareTo(g.ONE)?g.ZERO:c.compareTo(t)>=0?c.subtract(t):c.signum()<0?(c.addTo(t,c),c.signum()<0?c.add(t):c):c},g.prototype.pow=function(t){return this.exp(t,new P)},g.prototype.gcd=function(t){var e,n,r,i=this.s<0?this.negate():this.clone(),s=t.s<0?t.negate():t.clone();if(i.compareTo(s)<0&&(e=i,i=s,s=e),n=i.getLowestSetBit(),(r=s.getLowestSetBit())<0)return i;for(n<r&&(r=n),r>0&&(i.rShiftTo(r,i),s.rShiftTo(r,s));i.signum()>0;)(n=i.getLowestSetBit())>0&&i.rShiftTo(n,i),(n=s.getLowestSetBit())>0&&s.rShiftTo(n,s),i.compareTo(s)>=0?(i.subTo(s,i),i.rShiftTo(1,i)):(s.subTo(i,s),s.rShiftTo(1,s));return r>0&&s.lShiftTo(r,s),s},g.prototype.isProbablePrime=function(t){var e,n,r,i=this.abs();if(1==i.t&&i[0]<=c[c.length-1]){for(e=0;e<c.length;++e)if(i[0]==c[e])return!0;return!1}if(i.isEven())return!1;for(e=1;e<c.length;){for(n=c[e],r=e+1;r<c.length&&n<a;)n*=c[r++];for(n=i.modInt(n);e<r;)if(n%c[e++]==0)return!1}return i.millerRabin(t)},g.prototype.square=function(){var t=m();return this.squareTo(t),t},g.prototype.sqrt=function(){for(var t,e=g.ZERO.setBit(this.bitLength()/2),n=e;;){if((t=e.add(this.divide(e)).shiftRight(1)).equals(e)||t.equals(n))return t;n=e,e=t}},(u=new function(){}).getLblen=function(t,e){if("8"!=t.substr(e+2,1))return 1;var n=parseInt(t.substr(e+3,1));return 0==n?-1:0<n&&n<10?n+1:-2},u.getL=function(t,e){var n=u.getLblen(t,e);return n<1?"":t.substr(e+2,2*n)},u.getVblen=function(t,e){var n;return""==(n=u.getL(t,e))?-1:("8"===n.substr(0,1)?new g(n.substr(2),16):new g(n,16)).intValue()},u.getVidx=function(t,e){var n=u.getLblen(t,e);return n<0?n:e+2*(n+1)},u.getV=function(t,e){var n=u.getVidx(t,e),r=u.getVblen(t,e);return t.substr(n,2*r)},u.getTLV=function(t,e){return t.substr(e,2)+u.getL(t,e)+u.getV(t,e)},u.getTLVblen=function(t,e){return 2+2*u.getLblen(t,e)+2*u.getVblen(t,e)},u.getNextSiblingIdx=function(t,e){return u.getVidx(t,e)+2*u.getVblen(t,e)},u.getChildIdx=function(t,e){var n,r,i,s,o,c=u,a=[];for(n=c.getVidx(t,e),r=2*c.getVblen(t,e),"03"==t.substr(e,2)&&(n+=2,r-=2),i=0,s=n;i<=r&&((i+=o=c.getTLVblen(t,s))<=r&&a.push(s),s+=o,!(i>=r)););return a},u.getNthChildIdx=function(t,e,n){return u.getChildIdx(t,e)[n]},u.getIdxbyList=function(t,e,n,r){var i,s,o=u;return 0==n.length?void 0!==r&&t.substr(e,2)!==r?-1:e:(i=n.shift())>=(s=o.getChildIdx(t,e)).length?-1:o.getIdxbyList(t,s[i],n,r)},u.getIdxbyListEx=function(t,e,n,r){var i,s,o,c,a,h=u;if(0==n.length)return void 0!==r&&t.substr(e,2)!==r?-1:e;for(i=n.shift(),s=h.getChildIdx(t,e),o=0,c=0;c<s.length;c++){if(a=t.substr(s[c],2),"number"==typeof i&&!h.isContextTag(a)&&o==i||"string"==typeof i&&h.isContextTag(a,i))return h.getIdxbyListEx(t,s[c],n,r);h.isContextTag(a)||o++}return-1},u.getTLVbyList=function(t,e,n,r){var i=u,s=i.getIdxbyList(t,e,n,r);return-1==s||s>=t.length?null:i.getTLV(t,s)},u.getTLVbyListEx=function(t,e,n,r){var i=u,s=i.getIdxbyListEx(t,e,n,r);return-1==s?null:i.getTLV(t,s)},u.getVbyList=function(t,e,n,r,i){var s,o,c=u;return-1==(s=c.getIdxbyList(t,e,n,r))||s>=t.length?null:(o=c.getV(t,s),!0===i&&(o=o.substr(2)),o)},u.getVbyListEx=function(t,e,n,r,i){var s,o,c=u;return-1==(s=c.getIdxbyListEx(t,e,n,r))?null:(o=c.getV(t,s),"03"==t.substr(s,2)&&!1!==i&&(o=o.substr(2)),o)},u.getInt=function(t,e,n){var r,i;null==n&&(n=-1);try{return"02"!=(r=t.substr(e,2))&&"03"!=r?n:(i=u.getV(t,e),"02"==r?parseInt(i,16):bitstrtoint(i))}catch(t){return n}},u.getOID=function(t,e,n){null==n&&(n=null);try{if("06"!=t.substr(e,2))return n;var r=u.getV(t,e);return hextooid(r)}catch(t){return n}},u.getOIDName=function(t,e,n){var r,i;null==n&&(n=null);try{return(r=u.getOID(t,e,n))==n?n:""==(i=f.asn1.x509.OID.oid2name(r))?r:i}catch(t){return n}},u.getString=function(t,e,n){null==n&&(n=null);try{var r=u.getV(t,e);return hextorstr(r)}catch(t){return n}},u.hextooidstr=function(t){var e,n,r,i,s,o,c=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},a=[],u=t.substr(0,2),h=parseInt(u,16);for(a[0]=new String(Math.floor(h/40)),a[1]=new String(h%40),e=t.substr(2),n=[],s=0;s<e.length/2;s++)n.push(parseInt(e.substr(2*s,2),16));for(r=[],i="",s=0;s<n.length;s++)128&n[s]?i+=c((127&n[s]).toString(2),7):(i+=c((127&n[s]).toString(2),7),r.push(new String(parseInt(i,2))),i="");return o=a.join("."),r.length>0&&(o=o+"."+r.join(".")),o},u.dump=function(t,e,n,r){var i,s,o,c,a,h,d,p=u,l=p.getV,g=p.dump,m=p.getChildIdx,y=t;if(t instanceof f.asn1.ASN1Object&&(y=t.tohex()),i=function(t,e){return t.length<=2*e?t:t.substr(0,e)+"..(total "+t.length/2+"bytes).."+t.substr(t.length-e,e)},void 0===e&&(e={ommit_long_octet:32}),void 0===n&&(n=0),void 0===r&&(r=""),s=e.ommit_long_octet,"01"==(c=y.substr(n,2)))return"00"==(d=l(y,n))?r+"BOOLEAN FALSE\n":r+"BOOLEAN TRUE\n";if("02"==c)return r+"INTEGER "+i(d=l(y,n),s)+"\n";if("03"==c)return d=l(y,n),p.isASN1HEX(d.substr(2))?(A=r+"BITSTRING, encapsulates\n")+g(d.substr(2),e,0,r+"  "):r+"BITSTRING "+i(d,s)+"\n";if("04"==c)return d=l(y,n),p.isASN1HEX(d)?(A=r+"OCTETSTRING, encapsulates\n")+g(d,e,0,r+"  "):r+"OCTETSTRING "+i(d,s)+"\n";if("05"==c)return r+"NULL\n";if("06"==c){var v=l(y,n),b=f.asn1.ASN1Util.oidHexToInt(v),w=f.asn1.x509.OID.oid2name(b),_=b.replace(/\./g," ");return""!=w?r+"ObjectIdentifier "+w+" ("+_+")\n":r+"ObjectIdentifier ("+_+")\n"}if("0a"==c)return r+"ENUMERATED "+parseInt(l(y,n))+"\n";if("0c"==c)return r+"UTF8String '"+hextoutf8(l(y,n))+"'\n";if("13"==c)return r+"PrintableString '"+hextoutf8(l(y,n))+"'\n";if("14"==c)return r+"TeletexString '"+hextoutf8(l(y,n))+"'\n";if("16"==c)return r+"IA5String '"+hextoutf8(l(y,n))+"'\n";if("17"==c)return r+"UTCTime "+hextoutf8(l(y,n))+"\n";if("18"==c)return r+"GeneralizedTime "+hextoutf8(l(y,n))+"\n";if("1a"==c)return r+"VisualString '"+hextoutf8(l(y,n))+"'\n";if("1e"==c)return r+"BMPString '"+ucs2hextoutf8(l(y,n))+"'\n";if("30"==c){if("3000"==y.substr(n,4))return r+"SEQUENCE {}\n";var x,A=r+"SEQUENCE\n",O=e;for((2==(x=m(y,n)).length||3==x.length)&&"06"==y.substr(x[0],2)&&"04"==y.substr(x[x.length-1],2)&&(w=p.oidname(l(y,x[0])),(o=JSON.parse(JSON.stringify(e))).x509ExtName=w,O=o),h=0;h<x.length;h++)A+=g(y,O,x[h],r+"  ");return A}if("31"==c){for(A=r+"SET\n",x=m(y,n),h=0;h<x.length;h++)A+=g(y,e,x[h],r+"  ");return A}if(128&(c=parseInt(c,16))){if(a=31&c,32&c){for(A=r+"["+a+"]\n",x=m(y,n),h=0;h<x.length;h++)A+=g(y,e,x[h],r+"  ");return A}return d=l(y,n),u.isASN1HEX(d)?(A=r+"["+a+"]\n")+g(d,e,0,r+"  "):(("68747470"==d.substr(0,8)||"subjectAltName"===e.x509ExtName&&2==a)&&(d=hextoutf8(d)),r+"["+a+"] "+d+"\n")}return r+"UNKNOWN("+c+") "+l(y,n)+"\n"},u.parse=function(t){var e,n,r,i,s,o,c=u,a=c.parse,h=c.isASN1HEX,d=c.getV,p=c.getTLV,l=c.getChildIdx,g=f.asn1,m=g.ASN1Util.oidHexToInt,y=g.x509.OID.oid2name,v=hextoutf8,b=ucs2hextoutf8,w=iso88591hextoutf8,_={"0c":"utf8str",12:"numstr",13:"prnstr",14:"telstr",16:"ia5str",17:"utctime",18:"gentime","1a":"visstr","1e":"bmpstr",30:"seq",31:"set"},x=t.substr(0,2),A={},O=d(t,0);if("01"==x)return"0101ff"==t?{bool:!0}:{bool:!1};if("02"==x)return{int:{hex:O}};if("03"==x)try{if("00"!=O.substr(0,2))throw"not encap";if(!h(e=O.substr(2)))throw"not encap";return{bitstr:{obj:a(e)}}}catch(t){return n=null,O.length<=10&&(n=bitstrtobinstr(O)),null==n?{bitstr:{hex:O}}:{bitstr:{bin:n}}}else if("04"==x)try{if(!h(O))throw"not encap";return{octstr:{obj:a(O)}}}catch(t){return{octstr:{hex:O}}}else{if("05"==x)return{null:""};if("06"==x)return""==(i=y(r=m(O)))?{oid:r}:{oid:i};if("0a"==x)return O.length>4?{enum:{hex:O}}:{enum:parseInt(O,16)};if("30"==x||"31"==x)return A[_[x]]=function(t){for(var e=[],n=l(t,0),r=0;r<n.length;r++){var i=n[r],s=p(t,i),o=a(s);e.push(o)}return e}(t),A;if("14"==x)return s=w(O),A[_[x]]={str:s},A;if("1e"==x)return s=b(O),A[_[x]]={str:s},A;if(-1!=":0c:12:13:16:17:18:1a:".indexOf(x))return s=v(O),A[_[x]]={str:s},A;if(x.match(/^8[0-9]$/))return null==(s=v(O))|""==s||null!=s.match(/[\x00-\x1F\x7F-\x9F]/)||null!=s.match(/[\u0000-\u001F\u0080–\u009F]/)?{tag:{tag:x,explicit:!1,hex:O}}:{tag:{tag:x,explicit:!1,str:s}};if(!x.match(/^a[0-9]$/))return(o=new f.asn1.ASN1Object).hV=O,{asn1:{tlv:x+o.getLengthHexFromValue()+O}};try{if(!h(O))throw new Error("not encap");return{tag:{tag:x,explicit:!0,obj:a(O)}}}catch(t){return{tag:{tag:x,explicit:!0,hex:O}}}}},u.isContextTag=function(t,e){var n,r;t=t.toLowerCase();try{n=parseInt(t,16)}catch(t){return-1}if(void 0===e)return 128==(192&n);try{return null!=e.match(/^\[[0-9]+\]$/)&&(!((r=parseInt(e.substr(1,e.length-1),10))>31)&&(128==(192&n)&&(31&n)==r))}catch(t){return!1}},u.isASN1HEX=function(t){var e=u;if(t.length%2==1)return!1;var n=e.getVblen(t,0),r=t.substr(0,2),i=e.getL(t,0);return t.length-r.length-i.length==2*n},u.checkStrictDER=function(t,e,n,r,i){var s,o,c,a,h,d,p=u;if(void 0===n){if("string"!=typeof t)throw new Error("not hex string");if(t=t.toLowerCase(),!f.lang.String.isHex(t))throw new Error("not hex string");n=t.length,i=(r=t.length/2)<128?1:Math.ceil(r.toString(16))+1}if(p.getL(t,e).length>2*i)throw new Error("L of TLV too long: idx="+e);if((s=p.getVblen(t,e))>r)throw new Error("value of L too long than hex: idx="+e);if((c=(o=p.getTLV(t,e)).length-2-p.getL(t,e).length)!==2*s)throw new Error("V string length and L's value not the same:"+c+"/"+2*s);if(0===e&&t.length!=o.length)throw new Error("total length and TLV length unmatch:"+t.length+"!="+o.length);if("02"===(a=t.substr(e,2))&&(h=p.getVidx(t,e),"00"==t.substr(h,2)&&t.charCodeAt(h+2)<56))throw new Error("not least zeros for DER INTEGER");if(32&parseInt(a,16)){var l=p.getVblen(t,e),g=0,m=p.getChildIdx(t,e);for(d=0;d<m.length;d++)g+=p.getTLV(t,m[d]).length,p.checkStrictDER(t,m[d],n,r,i);if(2*l!=g)throw new Error("sum of children's TLV length and L unmatch: "+2*l+"!="+g)}},u.oidname=function(t){var e,n=f.asn1;return f.lang.String.isHex(t)&&(t=n.ASN1Util.oidHexToInt(t)),""===(e=n.x509.OID.oid2name(t))&&(e=t),e},h=h||(B=Math,q=(R={}).lib={},K=q.Base=function(){function t(){}return{extend:function(e){t.prototype=this;var n=new t;return e&&n.mixIn(e),n.hasOwnProperty("init")||(n.init=function(){n.$super.init.apply(this,arguments)}),n.init.prototype=n,n.$super=this,n},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),V=q.WordArray=K.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||U).stringify(this)},concat:function(t){var e,n,r=this.words,i=t.words,s=this.sigBytes,o=t.sigBytes;if(this.clamp(),s%4)for(n=0;n<o;n++)e=i[n>>>2]>>>24-n%4*8&255,r[s+n>>>2]|=e<<24-(s+n)%4*8;else for(n=0;n<o;n+=4)r[s+n>>>2]=i[n>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=B.ceil(e/4)},clone:function(){var t=K.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n<t;n+=4)e.push(4294967296*B.random()|0);return new V.init(e,t)}}),H=R.enc={},U=H.Hex={stringify:function(t){for(var e,n=t.words,r=t.sigBytes,i=[],s=0;s<r;s++)e=n[s>>>2]>>>24-s%4*8&255,i.push((e>>>4).toString(16)),i.push((15&e).toString(16));return i.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new V.init(n,e/2)}},W=H.Latin1={stringify:function(t){for(var e,n=t.words,r=t.sigBytes,i=[],s=0;s<r;s++)e=n[s>>>2]>>>24-s%4*8&255,i.push(String.fromCharCode(e));return i.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r++)n[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new V.init(n,e)}},G=H.Utf8={stringify:function(t){try{return decodeURIComponent(escape(W.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return W.parse(unescape(encodeURIComponent(t)))}},$=q.BufferedBlockAlgorithm=K.extend({reset:function(){this._data=new V.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=G.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e,n,r,i,s=this._data,o=s.words,c=s.sigBytes,a=this.blockSize,u=c/(4*a);if(e=(u=t?B.ceil(u):B.max((0|u)-this._minBufferSize,0))*a,n=B.min(4*e,c),e){for(r=0;r<e;r+=a)this._doProcessBlock(o,r);i=o.splice(0,e),s.sigBytes-=n}return new V.init(i,n)},clone:function(){var t=K.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),q.Hasher=$.extend({cfg:K.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){$.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(e,n){return new t.init(n).finalize(e)}},_createHmacHelper:function(t){return function(e,n){return new Y.HMAC.init(t,n).finalize(e)}}}),Y=R.algo={},R),function(t){var e,n,r=h,i=r.lib,s=i.WordArray,o=i.Hasher,c=r.algo,a=[],u=[];!function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(t){return 4294967296*(t-(0|t))|0}for(var r=2,i=0;i<64;)e(r)&&(i<8&&(a[i]=n(t.pow(r,.5))),u[i]=n(t.pow(r,1/3)),i++),r++}(),e=[],n=c.SHA256=o.extend({_doReset:function(){this._hash=new s.init(a.slice(0))},_doProcessBlock:function(t,n){for(var r=this._hash.words,i=r[0],s=r[1],o=r[2],c=r[3],a=r[4],h=r[5],f=r[6],d=r[7],p=0;p<64;p++){if(p<16)e[p]=0|t[n+p];else{var l=e[p-15],g=(l<<25|l>>>7)^(l<<14|l>>>18)^l>>>3,m=e[p-2],y=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;e[p]=g+e[p-7]+y+e[p-16]}var v=i&s^i&o^s&o,b=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),w=d+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&h^~a&f)+u[p]+e[p];d=f,f=h,h=a,a=c+w|0,c=o,o=s,s=i,i=w+(b+v)|0}r[0]=r[0]+i|0,r[1]=r[1]+s|0,r[2]=r[2]+o|0,r[3]=r[3]+c|0,r[4]=r[4]+a|0,r[5]=r[5]+h|0,r[6]=r[6]+f|0,r[7]=r[7]+d|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=t.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}}),r.SHA256=o._createHelper(n),r.HmacSHA256=o._createHmacHelper(n)}(Math),d.getKey=function(t){if(void 0!==p&&t instanceof p)return t;var e=L(t,"PUBLIC KEY");return d._getKeyFromPublicPKCS8Hex(e)},d._getKeyFromPublicPKCS8Hex=function(t){var e;return(e=new p).readPKCS8PubKeyHex(t),e},f.crypto.Signature=function(t){var e=null;if(this._setAlgNames=function(){var t=this.algName.match(/^(.+)with(.+)$/);t&&(this.mdAlgName=t[1].toLowerCase(),this.pubkeyAlgName=t[2].toLowerCase(),"rsaandmgf1"==this.pubkeyAlgName&&"sha"==this.mdAlgName&&(this.mdAlgName="sha1"))},this._zeroPaddingOfSignature=function(t,e){for(var n="",r=e/4-t.length,i=0;i<r;i++)n+="0";return n+t},this.setAlgAndProvider=function(t,e){if(this._setAlgNames(),"cryptojs/jsrsa"!=e)throw new Error("provider not supported: "+e);if(-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(this.mdAlgName)){try{this.md=new f.crypto.MessageDigest({alg:this.mdAlgName})}catch(t){throw new Error("setAlgAndProvider hash alg set fail alg="+this.mdAlgName+"/"+t)}this.init=function(t,e){var n=null;try{n=void 0===e?d.getKey(t):d.getKey(t,e)}catch(t){throw"init failed:"+t}if(!0===n.isPrivate)this.prvKey=n,this.state="SIGN";else{if(!0!==n.isPublic)throw"init failed.:"+n;this.pubKey=n,this.state="VERIFY"}},this.updateString=function(t){this.md.updateString(t)},this.verify=function(t){if(this.sHashHex=this.md.digest(),"rsa"===this.pubkeyAlgName)return this.pubKey.verifyWithMessageHash(this.sHashHex,t);throw"Please Use RSA, Signature: unsupported public key alg: "+this.pubkeyAlgName}}},this.init=function(){throw"init(key, pass) not supported for this alg:prov="+this.algProvName},this.updateString=function(){throw"updateString(str) not supported for this alg:prov="+this.algProvName},this.updateHex=function(){throw"updateHex(hex) not supported for this alg:prov="+this.algProvName},this.sign=function(){throw"sign() not supported for this alg:prov="+this.algProvName},this.signString=function(){throw"digestString(str) not supported for this alg:prov="+this.algProvName},this.signHex=function(){throw"digestHex(hex) not supported for this alg:prov="+this.algProvName},this.verify=function(){throw"verify(hSigVal) not supported for this alg:prov="+this.algProvName},this.initParams=t,void 0!==t&&(void 0!==t.alg&&(this.algName=t.alg,this.provName=void 0===t.prov?"cryptojs/jsrsa":t.prov,this.algProvName=this.algName+":"+this.provName,this.setAlgAndProvider(this.algName,this.provName),this._setAlgNames()),void 0!==t.psssaltlen&&(this.pssSaltLen=t.psssaltlen),void 0!==t.prvkeypem)){if(void 0!==t.prvkeypas)throw"both prvkeypem and prvkeypas parameters not supported";try{e=d.getKey(t.prvkeypem),this.init(e)}catch(t){throw"fatal error to load pem private key: "+t}}},f.crypto.MessageDigest=function(t){this.setAlgAndProvider=function(t,e){if(t=f.crypto.MessageDigest.getCanonicalAlgName(t),-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(t)&&"cryptojs"==e){try{this.md=h.algo.SHA256.create()}catch(e){throw"setAlgAndProvider hash alg set fail alg="+t+"/"+e}this.updateString=function(t){this.md.update(t)},this.digest=function(){return this.md.finalize().toString(h.enc.Hex)}}},this.updateString=function(){throw"updateString(str) not supported for this alg/prov: "+this.algName+"/"+this.provName},void 0!==t&&void 0!==t.alg&&(this.algName=t.alg,void 0===t.prov&&(this.provName="cryptojs"),this.setAlgAndProvider(this.algName,this.provName))},f.crypto.MessageDigest.getCanonicalAlgName=function(t){return"string"==typeof t&&(t=(t=t.toLowerCase()).replace(/-/,"")),t},e.b64tohex=D,e.KJUR=f,e.crypto=f.crypto},995:function(t,e,n){var r;t.exports=(r=r||function(t,e){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!==n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(255)}catch(t){}var i=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.")},s=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),o={},c=o.lib={},a=c.Base={extend:function(t){var e=s(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},u=c.WordArray=a.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=e?n:4*t.length},toString:function(t){return(t||f).stringify(this)},concat:function(t){var e=this.words,n=t.words,r=this.sigBytes,i=t.sigBytes;if(this.clamp(),r%4)for(var s=0;s<i;s++){var o=n[s>>>2]>>>24-s%4*8&255;e[r+s>>>2]|=o<<24-(r+s)%4*8}else for(var c=0;c<i;c+=4)e[r+c>>>2]=n[c>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=a.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n<t;n+=4)e.push(i());return new u.init(e,t)}}),h=o.enc={},f=h.Hex={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var s=e[i>>>2]>>>24-i%4*8&255;r.push((s>>>4).toString(16)),r.push((15&s).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new u.init(n,e/2)}},d=h.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var s=e[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(s))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r++)n[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new u.init(n,e)}},p=h.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)))}},l=c.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=p.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n,r=this._data,i=r.words,s=r.sigBytes,o=this.blockSize,c=s/(4*o),a=(c=e?t.ceil(c):t.max((0|c)-this._minBufferSize,0))*o,h=t.min(4*a,s);if(a){for(var f=0;f<a;f+=o)this._doProcessBlock(i,f);n=i.splice(0,a),r.sigBytes-=h}return new u.init(n,h)},clone:function(){var t=a.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),g=(c.Hasher=l.extend({cfg:a.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){l.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(e,n){return new t.init(n).finalize(e)}},_createHmacHelper:function(t){return function(e,n){return new g.HMAC.init(t,n).finalize(e)}}}),o.algo={});return o}(Math),r)}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var s=e[r]={exports:{}};return t[r].call(s.exports,s,s.exports,n),s.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var r={};return(()=>{"use strict";n.d(r,{default:()=>gu});var t=n(462),e=n.n(t);const i="-1000",s="-999",o=["net","in","sl","ic","bl","5g","5go","bri","mf","dm","pn","das","pw","ph","dp"],c=["da","db","dx","dy","ra","rb","ex","ey","rwd","pk","pkm","si"],a=["g","sc","ec","aa","ab","ba","bb","p","x","click_area","am","sld","am"],u=["sr","mp","vol","ia","cts"],h={da:1,db:1,ra:1,rb:1,dx:1,dy:1,ex:1,ey:1,aa:1,ab:1,ba:1,bb:1,ph:1,pw:1},f="unknown",d=["os_version","model","manufacturer"],p=["placementId","count","appId"],l=0,g=1,m=4,y=8,v=16,b=12,w=5,_=7,x=6,A=9,O=10,C=245,I=246,S=247,E=248,P="request_immutable",k="request_mutable",T="anti_immutable",D="anti_mutable",L="device_info",j="app_info",z="app_manifest",N=0,M=2,B=4,R=3,q=2,K={FEED:"feed",SPLASH:"splash",REWARD_VIDEO:"reward_video",REWARD_BROWSE:"reward_browse"},V={feed:6,splash:3,reward_video:5},H="splash",U=1,W=4,G=9,$=10,Y="#3185fc",F="onClickAd",X="onReward",J="onRemainingTime",Z="onVideoStop",Q="onVideoPlay",tt={"com.baidu.appsearch":1,"com.qihoo.appstore":2,"com.xiaomi.market":3,"com.tencent.android.qqdownloader":4,"cn.goapk.market":5,"com.tencent.qqpimsecure":6,"com.oppo.market":7,"com.huawei.appmarket":8,"com.bbk.appstore":9},et=0,nt="1",rt={FETCH:1400002,FETCH_SUCCESS:1400003,FETCH_FAIL:1400004,NO_AD:1400006,HAS_AD:1400007,ON_AD_PREPARED:1400009,ON_AD_CONTENT_NO_RIGHT:1400020,ON_SPLASH_IMAGE_SUCCESS:1401008,ON_SPLASH_IMAGE_FAIL:1401009,ON_READY_NEXT_TICK:3000200,ON_YLH_AD_INIT:3000100,ON_YLH_AD_READY:3000406,ON_YLH_AD_APPEAR:1401e3,ON_YLH_AD_DESTROY:3000313,ON_READY_ERROR:3000210,ON_READY_NEXTTICK:3000211,ON_READY_SETTIMEOUT:3000212,ON_APP_STATUS_ERROR:3000213,ON_HELP_READY_NEXT_TICK:3000201,ON_CHECK_EXPOSE_APPEAR:3000300,CHECK_EXPOSE_REPEAT_FIRST:3000311,CHECK_EXPOSE_REPEAT:3000312,ON_AD_SHOW_FAIL:1401001,ON_AD_SHOW_SUCCESS:1401002,EXPOSE:1402e3,EXPOSE_SUCCESS:1402001,EXPOSE_FAIL:1402002,AD_CLICK:1402100,AD_CLICK_CGI_FAIL:4000002,AD_CLICK_CGI_SUCCESS:4000003,AD_CLICK_CGI_TOTAL:4000001,AD_CLICK_COORDINATE_INVALID:4000004,AD_TRACE_CGI_FAIL:4001006,AD_TRACE_CGI_TOTAL:4001001,HIT_AA:3000400,HIT_AB:3000401,EXP_AD_EXPOSE:3000407,EXP_INSTALL_DETECTION:3000408,EXP_OPEN_LINK_OPTIMIZATION:3000409,EXP_AD_EXPOSE_OPT_POLL_TIME:3000410,EXP_AD_EXPOSE_OPT_REVERSE:3000411,QUICK_APP_REQUEST_TIMEOUT:3000412,ANTI_P_PARAMS_COLLECT:3000413,ANTI_P_PARAMS_REPORT:3000414,ANTI_P_PARAMS_IA_COUNT:3000415,CS_ACTIVATE:3000402,CS_LAUNCH:3000403,CS_UPDATE:3000404,PV_UPDATE:3000405},it={UNKNOWN:0,SHOW:1,AD_FAIL:2,VIEW_FAIL:3,FETCH_PARAM_FAIL:4,IN_POLL:5,IN_SETTIMEOUT:6,HAS_EXPOSED:7},st=1,ot=0,ct=200,at=/ylh-sdk-[a-z]+-v\d+\.\d+\.\d+/,ut="https://sdk.e.qq.com",ht="exposure",ft="click",dt=201,pt=Math.PI;function lt(t,e){return t**e}function gt(t){return Math.sqrt(t)}function mt(t){return lt(t,2)}function yt(t){return Math.ceil(t)}function vt(){return Math.random()}function bt(t){return Math.round(t)}function wt(){return Object.getPrototypeOf(n.g)||n.g}function _t(){return wt().$YLHSDK||{}}function xt(){return Date.now()}function At(t){return e().MD5(t).toString()}function Ot(){return At(`${xt()}${t=1e3*vt(),Math.floor(t)}`);var t}function Ct(){return Ot()}function It(t,e){return Object.prototype.toString.call(t)===`[object ${e}]`}function St(t){return It(t,"Object")}function Et(t){return Array.isArray(t)}function Pt(t){return It(t,"Number")}function kt(t){return void 0===t}function Tt(){return It(wt(),"Window")}function Dt(t){return`${Number(t)}`}function Lt(t){return String(t)}function jt(t){return parseFloat(t)}function zt(t){return JSON.stringify(t)}function Nt(t){try{return JSON.parse(t)}catch(t){return{}}}function Mt(t){return Nt(zt(t))}function Bt(t,e,n){const r=e.length;let i=t;for(let t=0;t<r;t+=1){const n=e[t];if(!i)break;i=i[n]}return void 0===i?n:i}function Rt(t={}){return t.screenWidth<t.screenHeight?0:1}function qt(t=[]){const e={};return t.forEach(((t={})=>{St(t)&&Object.keys(t).forEach((n=>{e[n]=t[n]}))})),e}function Kt(t){return null==t||t.getBoundingClientRect({success:t=>{},fail:t=>{}}),new Promise(((e,n)=>{if(t)t.getBoundingClientRect({success:e,fail:(t,e)=>{const r={code:it.AD_FAIL,msg:`错误原因:${JSON.stringify(t)}, 错误代码:${e}`};n(r)}});else{const t={code:it.AD_FAIL,msg:"错误原因:dom不存在, 错误代码:AD_FAIL"};n(t)}}))}function Vt(){const t=_t();return(null==t?void 0:t.system)||{}}function Ht(t,e,n){const r=bt(t/e);return n?`${r}`:r}function Ut(t,e){const n={};return t.forEach((t=>{n[t]=e})),n}function Wt(t){return parseInt(t,10)}function Gt(t){return parseFloat(t)}function $t(t){let e="";return Object.keys(t).forEach((n=>{const r=t[n],i=St(r)?zt(r):r;e+=e?`&${n}=${i}`:`${n}=${i}`})),e}function Yt(t){return new Promise(((e,n)=>{const{storage:r}=Vt()||{};r.get({key:t,success:e,fail:n})}))}function Ft(t){const{storage:e}=Vt()||{};return e.set(t)}function Xt(t){return Promise.resolve(t)}function Jt(t){return Promise.reject(t)}function Zt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Qt(t){return encodeURIComponent(t)}function te(t){return decodeURIComponent(t)}function ee(t=""){const e={};return t.replace(/\?/g,"").replace(/;$/g,"").split(";").forEach((t=>{const[n,r]=t.split(":"),i=function(t=""){return t.trim().replace(/-([a-z])/gi,((t,e)=>e.toUpperCase()))}(n);e[i]=r})),e}function ne(t,e=0){if(Pt(t)&&Pt(e))return t.toFixed(e);throw TypeError("numberToFixed params invalid")}function re(t,e,n){let r=!0;return t.forEach((t=>{kt(e[t])&&(r=!1)})),r}function ie(t,e){if(St(t)&&!St(e))return t;if(!St(t)&&St(e))return e;const n=Mt(t),r=Mt(e);if(Et(n)&&Et(r))return n.concat(r);if(St(n)&&St(r)){const t={};return Object.keys(n).forEach((e=>{t[e]=n[e]})),Object.keys(r).forEach((e=>{Zt(t,e)&&St(t[e])&&St(r[e])?t[e]=ie(t[e],r[e]):t[e]=r[e]})),t}return r}function se(t,e=2){return parseFloat(Number(t).toFixed(e))}function oe(t,e){const{ww:n,wh:r}=t,{top:i,right:s,bottom:o,left:c,width:a,height:u}=e||{};let h=0,f=0;return c<=0&&s>0&&(h=a+c),c>0&&s<=n&&(h=a),c<n&&s>=n&&(h=n-c),i<=0&&o>0&&(f=u+i),i>0&&o<=r&&(f=u),i<=r&&o>r&&(f=r-i),{appearWidth:h||0,appearHeight:f||0}}function ce(t){const e=Pt(t);return!e||e&&t<=0?0:60*t*1e3}const ae=t=>{const e={};return Object.keys(t).forEach((n=>{const r=t[n];"id"!==n&&null!=r&&""!==r&&("object"!=typeof r||Array.isArray(r)?e[n]=r:e[n]=ae(r))})),e};const ue=new class{constructor(){this.cacheMap=new Map}set(t,e){const n=this.get(t);if(St(n)&&St(e)){const r={};Object.keys(n).concat(Object.keys(e)).forEach((t=>{const i=n[t],s=e[t];Zt(e,t)?St(i)&&St(s)?(Object.assign(i,s),r[t]=i):r[t]=s:r[t]=i})),this.cacheMap.set(t,r)}else this.cacheMap.set(t,e);return this}get(t){return this.cacheMap.get(t)}remove(t){return this.cacheMap.delete(t),this}},he="ads_data",fe="expose_timestamp",de="system_collect_data",pe="cs_cache_config",le="sdk_experiment";function ge(t,e){ue.set(t,e)}function me(t){return ue.get(t)}function ye(t,e={}){ue.set(he,{[t]:e})}function ve(t){t&&ue.set(he,{[t]:null})}function be(){return ue.get(he)||{}}function we(t){const e=be();return e&&(Object.keys(e).forEach((n=>{const r=e[n];r&&r.adType===t&&delete e[n]})),function(t){ue.get(he,t)}(e)),e}function _e(t){const e={};if(!t)return e;return(be()||e)[t]||e}function xe(t){return(ue.get(fe)||{})[t]||0}function Ae(t,e){return ue.set(de,{[t]:e}),e}function Oe(t){return(ue.get(de)||{})[t]}function Ce(){return ue.get(pe)}function Ie(t){return ue.set(pe,t)}function Se(t){return ue.set(le,t)}function Ee(){const t=Oe(j)||{},{packageName:e}=t;return e}function Pe(){const{designWidth:t=750}=function(){const{config:t={}}=Oe(z)||{};return t}();return t}function ke(){const{app:t}=Vt();if(t){const e=t.getInfo();return Ae(j,e),{app:e}}return{}}function Te(t){return Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Te(t)}function De(t){var e=function(t,e){if("object"!=Te(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Te(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Te(e)?e:e+""}function Le(t,e,n){return(e=De(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function je(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ze(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?je(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ne(t,e,n){this.events||(this.events=Object.create(null)),this.events[t]?n?this.events[t].unshift(e):this.events[t].push(e):this.events[t]=[e]}function Me(t,e){Array.isArray(this.events[t])&&(e?this.events[t]=this.events[t].filter((t=>t!==e&&t.origin!==e)):delete this.events[t])}function Be(t,e){const n=(...n)=>{e.apply(this,n),this.remove(t,e)};n.origin=e,this.on(t,n)}function Re(t,...e){Array.isArray(this.events[t])&&this.events[t].forEach((t=>{t.apply(this,e)}))}const qe={};function Ke(t){return qe[t]||(qe[t]={events:{},on:Ne,remove:Me,once:Be,emit:Re}),qe[t]}const Ve={createEmitter:Ke,getEmitter:function(t){return qe[t]},eventEmitters:qe};const He="https://qzs.gdtimg.com/union/res/union_cdn/page";function Ue(t){return function(t){return/\.[\w]+$/.test(t)}(t)?`${t}`:`${t}.png`}function We(t){const e=Ue(t);return`${He}/ams_icon/${e}`}function Ge(t){const e=Ue(t);return`${He}/temp_v2/${e}`}const $e="0",Ye="1",Fe="2",Xe="ams_logo",Je=`${Xe}_dark`,Ze=`${Je}_fb`,Qe=`${Xe}_light`,tn=`${Qe}_fb`,en=`${Xe}_transparent`,nn=`${en}_fb`,rn="normal",sn="feedback",on=(We(Je),We(Ze),We(Qe),We(tn),We(en),We(nn),{lifetimes:{onInit(){this.logo=We("ad_logo_transparent")}},onError(){this.logo=function({type:t="png",base64:e}={}){return`data:image/${t};base64,${e}`}({base64:"iVBORw0KGgoAAAANSUhEUgAAAFgAAAAgCAMAAAChOk+qAAAAtFBMVEUAAACxsbGysrKzs7Ovr6+wsLDDw8O0tLTJycmzs7Ozs7O2tra0tLSwsLC0tLSzs7Ozs7Ozs7PJycmzs7PQ0NCzs7Ozs7PQ0NC7u7vJycnR0dG0tLTOzs7T09O1tbXR0dHOzs7Q0NDR0dGzs7PS0tK0tLTT09O0tLTKysrQ0NC0tLTQ0NDR0dG4uLjR0dHS0tLNzc3Dw8PPz8/AwMC0tLTQ0NDS0tK3t7ezs7PQ0NDMzMy5ubmT16ElAAAAOHRSTlMAgOBgIEAEnwf88DDSEPTqsFALb/vAkYQaEru3SS8q9fHl3qF9dm5bIcnJs6Wllz4p9tyVhWJbSlPoQFYAAAG5SURBVEjH7dTXcuJAEAXQqxEaZRSwyMlkZ29u4f//r+0Z13olMyCKJz9wXqagVLdaPd3C1dVX1rFxILTRrOWmIR/eZrjyYGAFce1xyvg/QqNBRJRIYFWW5W9UxY6WUdd5B6VDrbOC4xER+X2Mbzi4hyqb6oQuWAjLsgqyNAfHyLVPRCPsbjl39vIp2GnVgBWBYAEJrYNjskSV0s/v9rrgwaAWrKLqXFL30dyKMOLc9lY+0du+fMhfht97J4MzsnFOsExVg9ew+Hi7G/QXZXkzOVlxiLOC83tOfJJhW9X96j2UTcGC/e+xcmz4234Rq4Ej30ZPDcZQVoIPZ/oADLyw7zlZ7qXEXIznfIGLiXydeA3v22B67ycOILvERt6fgGh/O84fZ7PnfysH0zJXOMbNUIWmgO2/D5zqx7eN3HA75tDSyLTgVOHC4KcK7GKaqItzoOv+kY/VoiygFakxuHKVxmAVGE2xJtaB56ufOzyqwfgFLbAuChZcaMhzwYFLQPLEJVPgmYNXEopD2UXBmRBb/REKljGf2yRSV7EbznsetC7FxmDrQ+DiEqKAMVh8oMuClzaaW3F1dcpfAXE6Lrthq3sAAAAASUVORK5CYII="})}});function cn(t={}){const{type:e,changedTouches:n=[]}=t;return/^touch/.test(e)&&n.length>0}function an(t){const{type:e}=t;return/^click/.test(e)}function un(t){if(!t)return{};const{timeStamp:e,clientX:n,clientY:r,changedTouches:i=[]}=t;let s=n,o=r;if(cn(t)){const[{clientX:t,clientY:e}]=i;s=t,o=e}return{timeStamp:e,clientX:s,clientY:o}}function hn(t,e){!function(t){null==t||t.stopPropagation()}(e);const{clientX:n,clientY:r}=un(e);return Kt(t).then((t=>{const e=function(t={}){const{point:e={},rect:n}=t,{clientX:r,clientY:i}=e,{left:s,right:o,top:c,bottom:a}=n;return r>=s&&r<=o&&i<=a&&i>=c}({point:{clientX:n,clientY:r},rect:t});return{isInner:e}})).catch((()=>({isInner:!0})))}function fn(t){return t.detail}const dn="1",pn="2",ln="3";function gn(t,e){const{ext:n}=t,{appid:r}=n,i=$t({type:e,id:r,title:Bt(n,["app_channel_info","app_name"],"")});return`${He}/app_info/index.html?${encodeURIComponent(i)}`}function mn(t){const e=t.ext.app_channel_info||{},n=function(t){const{producttype:e}=t;return e!==b?{}:{permissions:gn(t,dn),privacy:gn(t,pn),description:gn(t,ln)}}(t);if(t.producttype!==b)return{};const{app_name:r,author_name:i,version_name:s,icp_number:o,suitable_age:c,package_size_bytes:a}=e,{permissions:u,privacy:h,description:f}=n,d=o||"未备案",p=c||"-";return{name:`名称:${r}`,author:`开发者:${i}`,version:`版本号:${s}`,icpNum:`备案号:${d}`,suitableAge:`适用年龄:${p}`,icpNumber:d,appSuitableAge:p,appName:r,authorName:i,versionName:s,permissions:u,privacy:h,description:f,packageSize:a}}const yn={lifetimes:{onInit(){this.id=Ct();const t=_e(this.adId),e=function(t){var e;const{producttype:n,ext:r}=t;return n===b&&!(null===(e=r.app_channel_info)||void 0===e||!e.app_name)}(t);if(!e)return;this.isShow=e;const n=mn(t),r=[{id:"name",value:n.name},{id:"author",value:n.author},{id:"version",value:n.version},{id:"icpNum",value:n.icpNum},{id:"suitableAge",value:n.suitableAge}];this.showItems=r,this.webItems=[{id:"permissions",value:"权限列表"},{id:"privacy",value:"隐私协议"},{id:"description",value:"功能介绍"}],this.info=n}},onClick(t,e){const n=Vt(),r=this.info[t];if(!r||!n.webview||"render"!==this.type)return;hn(this.$element(t),e).then((({isInner:t})=>{t&&n.webview.loadUrl({url:r,showloadingdialog:!0})}))}},vn={lifetimes:{onInit(){this.$on(X,this.onReward),this.$on(J,this.onRemainingTimeChange)}},onReward(){this.rewardedTips="恭喜获得奖励",this.isRewarded=!0},onRemainingTimeChange(t){const e=fn(t),n=e<1?1:e;this.showRemainingTime=n}},bn="#ffffff",wn="background";function _n({color:t,fontSize:e}){return`color:${t};font-size:${e};`}function xn(t,e=wn){const{isLoading:n,customStyle:r,buttonSize:i,bgColor:s,progressBackColor:o}=t;let c="";return c=n&&e===wn?o:s,`${r};${i};background-color:${c}`}const An={lifetimes:{onInit(){const t=this.onCtaStatusChange.bind(this);this.$watch("status",t),this.$watch("progress",t);const e=_e(this.adId),{producttype:n}=e;this.pt=n;const r=ee(this.customStyle),{width:i="670px",height:s="80px",fontSize:o="28px",color:c=bn,backgroundColor:a=Y}=r;this.color=c,this.fontSize=o,this.bgColor=a,this.shakeIcon=Ge("shake_icon"),this.txtStyle=_n({fontSize:o,color:c}),this.bgTxtStyle=_n({fontSize:o,color:a});const u=`border-radius:${parseFloat(s)/2}px;`;this.buttonSize=`width:${i};height:${s};${u}`,this.containerStyle=xn(this),this.loadingStyle=xn(this,"foreground"),this.onCtaStatusChange()},onReady(){}},onCtaStatusChange(){const{pt:t,status:e,progress:n,color:r,bgColor:i}=this,s=function(t){let e="";const{pt:n,status:r,progress:i,prefixTxt:s="摇动/点击"}=t,o=`${s}查看详情`;switch(n){case b:switch(r){case m:e=`下载中 ${i}%`;break;case y:e=`${s}立即安装`;break;case g:e=`${s}立即打开`;break;default:e=`${s}下载或打开第三方应用`}break;case 53:e=`${s}打开快应用`;break;case 25:case 30:case 1e3:e=`${s}查看详情`;break;default:e=o}return e}({pt:t,status:e,progress:n});this.ctaTxt=s;const o=e===m;this.isLoading=o,this.bgTxtStyle=_n({fontSize:this.fontSize,color:o?i:r}),this.containerStyle=xn(this),this.loadingStyle=xn(this,"foreground")}};const On={c2:"c2",v2:"v2",ttc:"ttc",sdk:"sdk"};async function Cn(t,e){return t}async function In(t){const e=await Cn(t,On.c2);return Cn(e,On.ttc)}async function Sn(t){return Cn(t,On.v2)}async function En(t){return Cn(t,On.sdk)}const Pn={POST:"POST",GET:"GET"},kn={TEXT:"text",JSON:"json"};function Tn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Dn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Tn(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Tn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ln(t,e={}){return new Promise(((n,r)=>{const i=Vt();i&&t?i.fetch.fetch(Dn(Dn({url:t},e),{},{success:t=>{const{code:e,data:i}=t;e>=200&&e<300&&n(i),e>=400&&e<600&&r(t)},fail:(t,e)=>{const n={code:st,data:`错误原因:${JSON.stringify(t)}, 错误代码:${e}`};r(n)}})):r()}))}async function jn(t,e){return Ln(`${await Sn(t)}&${$t(e)}`)}async function zn(t,e){return Ln(`${await In(t)}&${$t(e)}`).then((t=>Nt(t).data))}function Nn(t={}){return Ln("https://v.gdt.qq.com/gdt_stats.fcg",{method:Pn.POST,responseType:kn.TEXT,data:t})}function Mn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Bn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mn(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Rn(){return new Promise(((t,e)=>{const{device:n}=Vt()||{};if(n)n.getInfo({success:e=>{Object.assign(e,{oww:e.windowWidth,owh:e.windowHeight}),!e||e.windowWidth||e.windowHeight||Object.assign(e,{windowWidth:e.screenWidth,windowHeight:e.screenHeight-e.statusBarHeight}),t(e)},fail:(t,n)=>{const r={code:it.VIEW_FAIL,msg:`错误原因:${JSON.stringify(t)}, 错误代码:${n}`};e(r)}});else{const t={code:it.VIEW_FAIL,msg:"错误原因:divice不存在, 错误代码:VIEW_FAIL"};e(t)}}))}function qn(){return new Promise(((t,e)=>{const n=Pe(),r={ww:750,wh:812};Rn().then((e=>{const r=((t,e)=>{const{windowWidth:n,windowHeight:r}=e,i=t/n;return{ww:n*i,wh:r*i}})(n,e);t(Bn(Bn({},r),e))})).catch((n=>{n?e(n):t(r)}))}))}function Kn(){const t=Oe(L),{manufacturer:e="none",vendorOsName:n="",vendorOsVersion:r=""}=t,i=/\d+\.\d+\.\d+/,s=e.toLowerCase();let o="";i.test(n)&&([o]=n.match(i)),i.test(r)&&([o]=r.match(i));const[c="0"]=o.split("."),a=/magic/i.test(n)&&/honor/i.test(s),u=a&&jt(c)>=8,h=a&&jt(c)<8;return{isHonor:u,isHuawei:/huawei/i.test(s)||h,isVivo:/vivo/i.test(s),isXiaomi:/xiaomi|redmi/i.test(s),isOppo:/oppo|realme|oneplus/i.test(s)}}function Vn({$app:t,scene:e}){const n=function({$app:t,scene:e}){return Bt(t,["$def","ylh_sdk",e,"traceId"])}({$app:t,scene:e}),r=_e(n),{placementId:i}=r;return i}function Hn(t){const{adType:e}=_e(t)||{};return e===K.REWARD_VIDEO}function Un(t){const{adType:e}=_e(t)||{};return e===K.REWARD_VIDEO||e===K.REWARD_BROWSE}function Wn(t){const{adType:e}=_e(t)||{};return e===K.FEED}function Gn(t){const{adType:e}=_e(t)||{};return e===K.SPLASH}function $n(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Yn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$n(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$n(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Fn(t,e={}){const n=function(t,e={}){const{viewId:n,duration:r=0,currentTime:i=0,pauseCount:s}=t,o=bt(r),c=bt(i);return{viewid:n,video:Yn({bt:"0",et:`${"1"===e.ef?o:c}`,bf:"1",ef:"0",pp:"3",pa:s>0?"2":"1",pb:"1",ps:"0",vt:`${o}`},e)}}(t,e);Nn(n)}const Xn={lifetimes:{onInit(){this.id=Ct(),this.$on(F,this.onAdClick),this.$on(Z,this.onVideoStop),this.$on(Q,this.onVideoPlay),this.$on("onPageShow",this.onPageShow),this.$on("onPageHide",this.onPageHide),this.$on("onShowEndCard",this.onShowEndCardChange);const t=ee(this.customStyle),e={width:"100%",height:"100%"},{adId:n}=this;Hn(n)&&Object.assign(e,{objectFit:"contain"}),Gn(n)&&Object.assign(e,{objectFit:"cover"});const r=Yn(Yn({},e),t);this.containerStyle=r,this.videoStyle=e,this.maskStyle={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(255,0,0,0.001)"};const i=_e(this.adId),{viewId:s}=i;this.viewId=s,this.errCount=0,this.pauseCount=0,this.isShowEndCard=!1},onReady(){this.$nextTick((()=>{const t=this.$element(this.id);t&&(t.setCurrentTime=()=>{})}))}},onPageShow(){this.visible=!0;const{isVivo:t}=Kn();t&&!this.isShowEndCard&&this.onPlay()},onPageHide(){this.visible=!1},onPlay(){this.$element(this.id).start()},onPrepared({duration:t}){this.duration=t,this.$emit("prepared",{duration:t})},onStart(){this.$emit("start")},onPause(){const t=xt();t-(this.prevTime||0)<500||(this.prevTime=t,this.pauseCount+=1,this.$emit("pause"),Fn(this))},onFinish(){Fn(this,{ef:"1"}),this.$emit("finish")},onTimeupdate({currenttime:t}){this.errCount=0,this.currentTime=t,this.$emit("timeupdate",{currentTime:t})},onError(){const{isHuawei:t}=Kn();t&&(this.errCount+=1,this.errCount<5)||(t&&this.$valid||!t&&this.$valid&&this.visible)&&(Fn(this,{ps:"2"}),this.$emit("error"))},onVideoPlay(){this.onPlay(),Fn(this,{pa:"2"})},onVideoStop(){this.$element(this.id).pause()},onAdClick(){Fn(this,{ps:"3"})},onShowEndCardChange(){this.isShowEndCard=!0}},Jn=Xn;var Zn=n(646);const Qn="-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCHQqMS+P3aIwKsWUqOUGy2IknA\npuyDg97H5iICPn+8dAEuX9+0CXUXVfkm+Bx4M3yGm9YyZGV0PAOeCx3+kTg0c5Cn\nzApxMRh2rvHyVM9DBYOSxAHJxZAXEMiyPNacFIOZE4hFxxUdUSs2HRpbGDofpLTN\nC92UHZzs/8gqw0DNfwIDAQAB\n-----END PUBLIC KEY-----";function tr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function er(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tr(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function nr(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(-1!==e.indexOf(r))continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(r=0;r<s.length;r++)n=s[r],-1===e.indexOf(n)&&{}.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}const rr=["traceId","enumCode"],ir=["enumCode","traceId"],sr=["traceId","errorCode","ext","enumCode"],or=["ext"],cr=["enumCode"],ar=["errorCode","ext"],ur=["errorCode","ext"],hr=["traceId"],fr=["traceId"],dr=["traceId","ext","enumCode"],pr=["traceId","enumCode"],lr=["traceId","enumCode"],gr=["traceId","enumCode"];function mr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function yr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?mr(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):mr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function vr(t){return 0===t?1:1===t?2:0}function br(t){try{const e=_t();if(!e.analysis)return;e.analysis.onUserAction(t)}catch(t){}}function wr(t){const{traceId:e,enumCode:n}=t,r=nr(t,rr);br(yr({ei:rt.EXPOSE,trace_id:e,enum_code:n},r))}function _r(t){const{enumCode:e,traceId:n}=t,r=nr(t,ir);br(yr({ei:rt.EXPOSE_SUCCESS,enum_code:e,trace_id:n},r))}function xr(t){const{traceId:e,errorCode:n,ext:r={},enumCode:i}=t,s=nr(t,sr);br(yr({ei:rt.EXPOSE_FAIL,error_code:n,ext:r,trace_id:e,enum_code:i},s))}function Ar(t){const{errorCode:e,ext:n={}}=t,r=nr(t,ur);br(yr({ei:rt.NO_AD,error_code:e,ext:n},r))}function Or(t){const{traceId:e}=t;br({ei:rt.ON_YLH_AD_INIT,trace_id:e})}function Cr(t){const{traceId:e,errorCode:n,ext:r}=t;br({ei:rt.ON_YLH_AD_READY,trace_id:e,error_code:n,ext:r})}function Ir(t){const{traceId:e,ext:n,enumCode:r}=t,i=nr(t,dr);br(yr({ei:rt.ON_YLH_AD_DESTROY,trace_id:e,enum_code:r,ext:n},i))}function Sr(t){let{traceId:e,enumCode:n=0}=t,r=nr(t,pr);br(yr({ei:rt.AD_CLICK_CGI_TOTAL,trace_id:e,enum_code:n},r))}function Er(t){let{traceId:e,enumCode:n=0}=t,r=nr(t,lr);br(yr({ei:rt.AD_CLICK_CGI_FAIL,trace_id:e,enum_code:n},r))}function Pr(t){let{traceId:e,enumCode:n=0}=t,r=nr(t,gr);br(yr({ei:rt.AD_CLICK_CGI_SUCCESS,trace_id:e,enum_code:n},r))}const kr="cs_cache_pv";const Tr="cs_cache_config",Dr="cs_seq",Lr="cs_display",jr="cs_placement",zr="cs_sdk",Nr="cs_plugin",Mr="exp_cfg",Br=1e5,Rr=t=>`${t}Settings key不存在`;function qr(t,e,n,r){let i=!0;return i=!(!e||!t)&&function(t={}){const{data:e,sign:n}=t;try{const t=new Zn.KJUR.crypto.Signature({alg:"SHA256withRSA",prvkeypem:Qn});return t.updateString(e),t.verify(Zn.b64tohex(n))}catch(t){return!1}}({sign:t,data:e,type:r,from:n}),i}function Kr(t){return!kt(t)&&""!==t}function Vr(t){const n=function(t){return e().enc.Base64.parse(t).toString(e().enc.Utf8)}(t);return Nt(n)}function Hr(t,e=!1){return t?Yt(t).then((t=>e&&t?Nt(t):t)):Jt(Rr("get"))}function Ur(t,e,n){return t?Ft({key:t,value:n?zt(e):e}):Jt(Rr("set"))}function Wr({sign:t,data:e,cacheKey:n}={}){if(!qr(t,e,n,"set"))return!1;const r=Vr(e);return!!r&&(ge(n,{sign:t,data:r}),Ur(n,{sign:t,data:e},!0),r)}async function Gr({cacheKey:t}){const e=me(t);return e||Hr(t,!0).then((e=>{const{sign:n,data:r}=e;if(!(!n||!r)&&qr(n,r,t,"get")){const t=Vr(r);if(t)return{sign:n,data:t}}return{}})).catch((t=>({data:{}})))}function $r(){return Gr({cacheKey:zr})}async function Yr(){const t={},e=Ce();return e||Hr(Tr,!0).catch((()=>t))}function Fr({plainConfig:t}){if(!t)return Jt();delete t.setting.app,delete t.sig.app;const{sig:{placement:e,sdk:n,jar:r,url:i}={},setting:{placement:s,sdk:o}={}}=t,c=Mt(t);if(e&&s){const t=function({sign:t,data:e}){return Wr({sign:t,data:e,cacheKey:jr})}({sign:e,data:s});t&&(c.setting.placement=t)}if(n&&o){const t=function({sign:t,data:e}){return Wr({sign:t,data:e,cacheKey:zr})}({sign:n,data:o});t&&(c.setting.sdk=t)}return r&&i&&function({sign:t,data:e}){at.test(e)&&(ge(Nr,{sign:t,data:e}),Ur(Nr,{sign:t,data:e},!0))}({sign:r,data:i}),Ie(c),Ur(Tr,t,!0)}async function Xr({key:t,placementId:e}){if(!t)return Jt();let n;try{if(e){const r=me(Lr)||{data:{}};0;const i=Bt(r.data,["ctrl_config",t]);if(Kr(i))n=i;else{0;const r=Bt((await Gr({cacheKey:jr})).data,[e,t]);if(Kr(r))n=r;else{0;const e=Bt((await $r()).data,[t]);Kr(e)&&(n=e)}}if(Pt(n)&&n>Br){return Bt(r.data,["cfg","playcfg",n])}}else{0;const e=Bt((await $r()).data,[t]);Kr(e)&&(n=e)}}catch(t){return n}return n}async function Jr({key:t}){return Xr({key:t})}function Zr({key:t,placementId:e}){return Xr({key:t,placementId:e})}function Qr(t={}){const{seq:e,setting:{display:n}}=t;!function(t){if(!t)return;const e=Ce();e&&(e.seq=t,Ie(e),Yr().then((e=>{e&&(e.seq=t,Ur(Dr,e,!0))})))}(e),function(t={}){ge(Lr,{data:t})}(n)}async function ti({key:t}){let e;try{const n=await Jr({key:t});if(!(Pt(n)&&n>Br))return n;const r=function(t){return(ue.get(le)||{})[t]}(t);return kt(r)?Hr(Mr).then((n=>{if(n){const e=Nt(n);return Se(e),e[t]}return e})).catch((()=>e)):r}catch(t){return e}}const ei=class{constructor(t={}){const{duration:e,timeout:n=1e3,itemTimeoutCb:r=()=>{},timeoutCb:i=()=>{}}=t;this.startTime=0,this.pauseTime=0,this.diffTime=0,this.duration=e,this.remaining=e,this.timeout=n,this.paused=!0,this.timer=null,this.timeoutCb=i,this.itemTimeoutCb=r}start(){if(this.paused=!1,clearTimeout(this.timer),this.remaining>0){const{diffTime:t}=this,e=t?this.timeout-t:this.timeout;if(this.diffTime=0,this.paused)return void clearTimeout(this.timer);const n=xt();this.startTime=n,this.timer=setTimeout((()=>{if(this.paused)return void clearTimeout(this.timer);const t=xt()-n;this.remaining-=e+t-this.timeout,this.remaining<=0?(this.timeoutCb(),clearTimeout(this.timer)):(this.itemTimeoutCb(this.remaining),this.start())}),e)}}pause(){this.paused=!0,this.pauseTime=xt();const t=this.pauseTime-this.startTime;this.diffTime=t,this.remaining-=t,clearTimeout(this.timer)}},ni=100,ri={lifetimes:{onInit(){},onReady(){this.startCountDown()},onDestroy(){this.timer.pause(),this.timer=null},onPageShow(){this.timer&&this.timer.start()},onPageHide(){this.timer&&this.timer.pause()}},async startCountDown(){if(!this.timer)try{const t=Vn({$app:this.$app,scene:H}),e=1e3*(await Zr({placementId:t,key:"qasplsst"})||5),n=40;setTimeout((()=>{let t=100;const r=new ei({duration:e,timeout:n,itemTimeoutCb:n=>{t=n/e*ni;const r=n%1e3,i=yt(n/1e3);0===r&&this.$emit("timeoutUpdate",{remainingTime:i}),this.drawCircle({progress:t})},timeoutCb:()=>{this.drawCircle({progress:0}),this.$emit("skip")}});r.start(),this.timer=r}),10)}catch(t){}},drawCircle(t={}){if(!this.timer)return;const{progress:e}=t,n=1.5*pt;let r=-.5*pt;r=e<=25?(1.5+e/ni*2)*pt:e>25&&e<ni?(e/ni*2-.5)*pt:-.5*pt;const i=this.$element("cvs").getContext("2d"),s=this.bgSize/2,o=s,c=this.circleRadius,a=this.bgSize;i.clearRect(0,0,a,a),i.beginPath(),i.arc(s,o,c,n,r),i.lineWidth=this.lineWidth||2,i.lineCap=e>=ni?"square":"round",i.strokeStyle=this.strokeStyle||"rgba(255,255,255,0.6)",i.stroke()},onSkip(){this.timer.pause(),this.$emit("skip")}},ii={lifetimes:{onInit(){this.defaultStyle="width:52px;height: 52px;border-radius:26px;background-color:rgba(0,0,0,0.5);"}},onClose(t){hn(this.$element(this.id),t).then((({isInner:t})=>{t&&this.$emit("close")}))}};function si(){return new Promise(((t,e)=>{const n=Vt();n.volume?n.volume.getMediaValue({success(e){t(e.value)},fail:e}):e()}))}const oi="mutedChange",ci={lifetimes:{onInit(){this.$watch("muted",this.onMutedChange.bind(this)),this.id=Ct(),this.defaultStyle="position:relative;background-color:rgba(0,0,0,0.5);align-items:center;justify-content:center;height:52px;border-radius:52px;",function({muted:t}={}){return new Promise(((e,n)=>{t?e({muted:!0}):si().then((t=>{e({muted:!t})})).catch(n)}))}({muted:this.muted}).then((({muted:t})=>{this.$emit(oi,{muted:t}),this.onMutedChange(t)}))}},onMutedChange(t){const e="volume_"+(t?"muted":"voice");this.volumeIcon=Ge(e)},onVolumeChange(t){hn(this.$element(this.id),t).then((({isInner:t})=>{t&&function({currentMuted:t}){return new Promise(((e,n)=>{t?si().then((t=>{e({muted:!t})})).catch(n):e({muted:!0})}))}({currentMuted:this.muted}).then((({muted:t})=>{this.onMutedChange(t),this.$emit(oi,{muted:t})}))}))}},ai="errorCode",ui="errorMsg",hi="请在真机环境调试";class fi{constructor(){this.events={}}on(t,e,n=!1){this.events[t]||(this.events[t]=[]),this.events[t].push({isOnce:n,handler:e})}emit(t,...e){this.events[t]&&this.events[t].forEach((n=>{const{handler:r,isOnce:i}=n;r(...e),i&&this.off(t,r)}))}off(t,e){this.events[t]&&(this.events[t]=this.events[t].filter((({handler:t})=>t!==e)))}once(t,e){this.on(t,e,!0)}}const di="AD_LOAD",pi="AD_CLOSE",li="AD_ERROR",gi="AD_EXPOSE",mi="AD_CLICK",yi="AD_REWARD",vi="AD_VIDEO_FINISH";function bi(t){const{x:e,y:n,z:r}=t;return`${bt(100*e)},${bt(100*n)},${bt(100*r)}`}class wi{constructor(t={}){const{bc:e,bv:n,interval:r}=t;this.bc=e||1,this.bv=n||130,this.shakeCount=0,this.miniInterval=r||3e3,this.prevTimestamp=0}subscribeShake(t){const e=Vt();null!=e&&e.sensor&&e.sensor.subscribeAccelerometer({callback:n=>{let r=!1;const{x:i,y:s,z:o}=n,c=gt(lt(i,2)+lt(s,2)+lt(o/2,2))/9.8*100>this.bv,a=xt();c&&(this.shakeCount+=1,this.shakeCount>=this.bc&&a-this.prevTimestamp>this.miniInterval&&(r=!0,this.prevTimestamp=a)),r&&null!=e&&e.vibrator&&e.vibrator.vibrate({mode:"short"}),t({isShake:r,am:bi(n)})}})}unsubscribeShake(){const t=Vt();null!=t&&t.sensor&&t.sensor.unsubscribeAccelerometer()}}function _i(t){const{ca:e,clicker:n,pkgManager:r,isShowClose:i=!0,shakeProps:s={}}=t,o=new wi(s);return o.subscribeShake((async({am:t,isShake:s})=>{if(s){const o={timeStamp:xt()};n.setDynamicAntiParams({am:t,sld:M,x:Dt(i),click_area:e}),n.executeAdClick(r,o,void 0,{isShake:s})}})),o}function xi(t){return new Promise(((e,n)=>{const{pkg:r}=Vt();r&&t?r.hasInstalled({package:t,success:({result:t})=>{e(t)},fail:n}):n()}))}function Ai(t){return new Promise(((e,n)=>{const{pkg:r}=Vt();if(r&&t)r.getSignatureDigests({package:t,success:e,fail:n});else{n("[YLH SDK ERR]: pkg or appName is undefined")}}))}function Oi(t){return[b].includes(t)}const Ci="qaaralcen",Ii="qaantipparamiams";async function Si(){const t=await ti({key:"qaantipparamsreport"})||0;return function({enumCode:t=0}){br({ei:rt.ANTI_P_PARAMS_REPORT,enum_code:t})}({enumCode:t}),t}async function Ei(){const t=await ti({key:Ii})||0;return setTimeout((()=>{!function({enumCode:t=0}){br({ei:rt.ANTI_P_PARAMS_IA_COUNT,enum_code:t})}({enumCode:t})}),100),t}!function(t){const e=334,n=247,r=224,i=100,s=314,o=74,c=222,a=335,u=215,h=72,f=2,d=24,p=728,l=472;function g(t,e,n,r){return rs(e- -l,r)}const m=t();function y(t,e,n,r){return rs(n- -p,t)}for(;;)try{if(597185===-parseInt(y(-e,0,-n))/1+parseInt(g(0,150,0,182))/2*(parseInt(g(0,r,0,i))/3)+-parseInt(y(-182,0,-s))/4+-parseInt(g(0,o,0,136))/5*(parseInt(g(0,c,0,a))/6)+parseInt(y(-367,0,-u))/7+-parseInt(y(h,0,-f))/8+parseInt(g(0,d,0,-68))/9)break;m.push(m.shift())}catch(t){m.push(m.shift())}}(Di);const Pi=[zi(156,216,453,321)];function ki(t,e){const n=32,r=28,i=111,s=1102,o=1139,c=1204,a=118,u=29,h=174,f=1108,d=1070,p=145,l=89,g=225,m=144,y=143,v=17,b=1506,w=1462,_=1334,x=1248,A=83,O=4,C=1219,I=1242,S=1615,E=1720,P=1885,k=1676,T=1658,D=1574,L=1542,j=1664,z=1297,N=1182,M=1255,B=1552,R=1604,q=1629,K=992,V=821,H=1416,U=1405,W=1191,G=1125,$=1337,Y=1377,F=1343,X=100,J=198,Z=266,Q=382,tt=845,et={yqiIJ:it(146,115,50,3)+it(-n,-r,119,i)+nt(s,1201,o,c),nCirl:function(t,e){return t(e)},eqKwt:function(t,e){return t!==e},yWaHP:it(-319,-a,-u,-h),eDmDE:"xFbXX"};function nt(t,e,n,r){return zi(t-205,e-Q,e,r-tt)}var rt=Object[nt(f,d,0,1100)](t);function it(t,e,n,r){return zi(t-J,e-Z,e,r- -345)}if(Object[it(238,17,0,p)+it(l,g,0,m)+"s"]){var st=Object[it(y,v,0,145)+nt(b,w,0,_)+"s"](t);e&&(st=st[nt(1119,1345,0,x)]((function(e){const n=161,r=288,i=1037,s=422,o=38;function c(t,e,n,r){return nt(t-s,n,0,t- -o)}function a(t,e,n,r){return nt(t-X,n,0,e-373)}const u={vEWfa:et[c(I,0,1073)],xOZcO:function(t,e){return et[(s=n,o=r,c(s- -i,0,o))](t,e);var s,o}};if(et[a(S,E,P)](et[a(k,T,D)],et[a(L,j,1774)]))return Object[c(z,0,1122)+c(N,0,M)+"ptor"](t,e)[a(B,R,q)];{const t={};t[c(K,0,V)]=_0x1d3d5a.VIEW_FAIL,t[a(H,1401,U)]=u[c(W,0,G)];const e=t;u[a($,Y,F)](_0x87027,e)}}))),rt[it(A,-O,0,92)][nt(1127,C,0,1094)](rt,st)}return rt}function Ti(t){const e=313,n=331,r=442,i=236,s=437,o=414,c=382,a=278,u=333,h=250,f=294,d=316,p=146,l=343,g=376,m=378,y=257,v=326,b=310,w=371,_=374,x=369,A=123,O=276,C=94,I=307,S=229,E=367,P=200,k=230,T=162,D=175,L=176,j=289,z=188,N=153,M=23,B=107,R=362,q=318,K=230,V=365,H=151,U=178,W=181,G=111,$=1256,Y=1281,F=1411,X=1247,J=1296,Z=1490,Q=1343,tt=353,et=1564,nt=173,rt=6,it=1453,st=1442,ot=1473,ct=1348,at=278,ut=1684,ht=61,ft=439,dt=643,pt=465,lt=643;function gt(t,e,n,r){return zi(t-pt,e-282,n,e- -lt)}function mt(t,e,n,r){return zi(t-ht,e-ft,e,n- -dt)}const yt={GLyWx:function(t,e){return t(e)},xnjHb:function(t,e){return t===e},tHGhQ:mt(-459,-402,-436),qGIpx:mt(-e,-n,-r),aOmur:function(t,e,n,r){return t(e,n,r)},xaznH:function(t,e){return t<e},SUQgt:function(t,e){return t===e},FkEgo:mt(-225,-155,-i),DQaMw:gt(-s,-o,-c),nVfaL:function(t,e){return t!=e},ajxUb:function(t,e){return t%e},iYywj:function(t,e,n){return t(e,n)}};for(var vt=1;yt.xaznH(vt,arguments[gt(-a,-u,-h)]);vt++)if(yt[gt(-f,-293,-152)](yt[gt(-d,-p,-236)],yt[gt(-203,-l,-497)])){const t={};t[mt(-g,-326,-m)+"e"]=_0x2e53eb,t.versionName=_0x511a71,yt[mt(-500,-y,-v)](_0x44bf70,t)}else{var bt=yt.nVfaL(null,arguments[vt])?arguments[vt]:{};yt[mt(-b,-w,-_)](vt,2)?yt[mt(-x,-441,-426)](ki,yt.GLyWx(Object,bt),!0)[mt(-359,-A,-O)]((function(e){function n(t,e,n,r){return mt(t-at,e,r-ut)}if(yt[n(1342,it,0,st)](yt.tHGhQ,yt[n(1335,ot,0,ct)]))return _0x16b1f2;yt.aOmur(Le,t,e,bt[e])})):Object[gt(-C,-153,-I)+"ertyDescri"+mt(-E,-P,-k)]?Object[mt(-T,-S,-D)+gt(-252,-L,-j)](t,Object[gt(-z,-N,-M)+gt(-B,-268,-R)+mt(-q,-B,-K)](bt)):yt[gt(-V,-v,-H)](ki,yt.GLyWx(Object,bt))[mt(-U,-E,-O)]((function(e){function n(t,e,n,r){return mt(t-tt,t,r-et)}var r,i;Object[(r=-W,i=-G,gt(r-nt,r- -rt,i)+n($,0,0,Y))](t,e,Object[n(1534,0,0,F)+n(X,0,0,J)+n(Z,0,0,Q)](bt,e))}))}return t}function Di(){const t=["zhvRAva","BMzVioE8K+wTMoAvSoAnRUwTMowCQa","AM9PBG","zeHdwuW","tu96B00","s2LPtfO","sNP3Dee","B2X1Bwu","tg9JA2vKios4UIdPLie","uNbuq24","6zEU6Aky77Ym6k+35Qoa5P+LoG","vNDUzgy","uMnRvvu","nJmZnJu3A1fOr2fp","ELbAzwS","tMziugS","AhPRELa","CfLYyxO","uxLfuMu","y29TlMvNlMfUza","v1Pls2q","zLrNr0q","BwLxrhm","yxbWBhK","AevlrNO","vMPfEve","y2X3CgK","y29TlMjIAY5HCa","mtG0mtq5nZjXq1PADgW","A2v5CW","BNPYu2G","qKrpDu0","EMzI","BwfUAwzLC3q","D2LUzg93sgvPzW","CgrK","C2Dwree","5Bgp54Q25Ocb","DxH5Aum","DMvYC2LVBKnVza","v3LesxG","yxbWx21HCMTLDa","y29TlM9WCg8UBq","ywP4vwi","zwrbChbnyxjRzq","nduWmdm1nKnWvfjUzq","sw5ZDgfSBgvKqq","uK9mBMS","yw1YzKe","z2v0qMf0DgvYEq","DKPHwM0","yxnZAwDU","wfrmCK4","tLjPCxO","Bwzzthi","vuDSq3a","C2nYzwvUv2LKDa","rLvUBgW","zKnbDwq","Aw5hrxq","q0HmAfe","lM1HCMTLDa","zfzTEfu","y29UBMvJDf90Eq","Dez1t0e","y2f0y2G","BMv0","y3rZ","ChaUBwfPBG","AxnlzxLNDwfYza","uhDhEvm","v2v0D0e","ENjLzvm","rKPnrNK","rffHtxC","yLrxtKK","vNvsAxq","tujet1O","nwTnAeL6uG","CwD2q2u","DM9S","CuDjChG","z2v0sw5ZDgfSBa","vhLWzq","BgvUz3rO","C2L6zq","DgHLBG","v1r2s00","A213zum","r2TmwNq","vu5Fsu5tvefmta","r0X5v3G","v2rntLm","yNjP","CwPiAuG","DgLTzq","weLyDK4","uhnvse4","zLfqAgm","ue1AwLK","BM93","rhDtu2q","y24Uz29HCgSUBq","yMvPCKW","wxrACeK","y29TlNrTCMKUyq","wMj6r0y","uNrivxO","z2v0vhLWzq","uvz3Aue","yNjPz2H0BMvZCW","EvfKA0S","vgLJA2v0","BhDJALy","CwfPBNn0ywXSzq","lcdPLjNOR6/KU6pNOihVVjO","ENvMuKG","Cwnusxy","lMfWCg1HCMTLDa","DurNtxi","yxbWu3rVCMvqAW","z2v0vMLLD3bVCG","6zsz6k+V5y6F5zUG77YAzgL2Awm","thf6q0O","u1vrz3q","rMzWBMm","BhvL","BgXLza","uKfnu0S","z2v0u2HVDen1Da","sNfLr20","vNLiB3K","wNb3C2e","77YAvKLfv19gquLm","zxj0Eq","t25ytLy","C3bSAxq","D2vTzq","DxjL","Cwf3v3i","qMXWqKS","zM9YrwfJAa","zMXVB3i","vhzeBuW","t2zUAwy","z2v0sw5MBW","te5OwNO","oIdOV5tLM55JywnOzEAvSa","y29TlNrLBMnLBG","zxj0EurLC2nYAq","z0nVB0i","sNDVAhC","ChvZAe1HBMLMzq","Dxn4Dw0","mMHXAfrmtq","AxnbChbjBNn0yq","v2vWvKu","z0TYAwO","DKvxzMe","CMvX","zw51BwvYywjSzq","u3rHDhvZ","y29TlMHPy29Yzq","vLbds28","B25LCNi","BKnPCMW","y24UEhvLEgKUyq","z2v0twvKAwfwyq","CeDmzxO","vKLfv19gquLm","EhrRzxK","tuzxs0e","tuDKCxG","wxnfzLK","wvjrzva","Eg5Qsgi","B0XXDuC","zMLSDgvY","D1fwuwy","swDMue0","CKDJz3i","s2vyy3m","z2v0tw9Kzq","DgruCuq","zgPOvfm","AgfZsw5ZDgfSBa","zMLUywXSEq","ChrVCNm","DvjOANC","ywXS","s0XdB3a","jgrLzG","AhHHzNe","tLrys3m","r1L2v00","y29TlNH1BM1LBG","ChrVCG","lML0CW","u0HhzMW","C2nYzwvUsgvPzW","v1rtt04","vunIqxe","B0fQDwO","y0zsyuO","CM9Pzc51z2mUyq","rfL3shO","DLrYuhq","veTRCwK","yuT6sMG","ExfPsuO","DfnPEMu","ChvZAa","y29TlNHPyw9TAq","C3rHDhvZqMfYsa","EvDHsfa","Aef4y1i","DhLWzq","vhHmzxa","AwnLsw5MBW","z2v0vMfSDwu","zurTreu","uePXtMe","tgHoD1O","r2nNr1m","z2v0u3LZDgvTvG","y29TlNfPAg9VlG","mZaZmJyWnfrxBgz3qG","Chn0B3jL","mtm1mZi4mK1rD3zNCG","qLLhB24","zEs4JEwTMowCQcWG6zsz6k+V5lUJ56cb","EuHJteC","DMPHse0","zeXVy2TLzfn0yq","CgTAzeO","z2v0ufbHCMfTCW","DenJD0O","zxjYB3i","zeHpsxm","BhbzENK","yw50Aq","zxj0AwvZ","zgvMAw5LuhjVCa","y29TlNnTAwXLlG","AKnSD0O","txbyvMm","CxH5Eu4","Cu94zvO","CLH4C0m","rLv5uey","yxbWr2v0sw5MBW","Aw5ZDgfSBgvKxW","v2Hwvgq","u1D3wey","B012tKK","z2v0s2v5z3vHCG","C3rYAw5NAwz5","DeXPC3q","ndG3mZa0oeTAwLf1BW","zwLNAhq","txLxD2W","yvrNANq","Cgf5Ae1HBMLMzq","zxj0Evn5BwjVBa","z2v0t3DUuhjVCa","EePyA3a","BgvtDg9YywDL","yxbWC2vHCMnO","D2LUzg93v2LKDa","BMv0D29YA1r5Ca","Bg9N","rMTfz28","Dc5HBMrYB2LKlG","r1rPt0u","z2v0qw50AurLDG","z2v0uefUDgLezq","zxflD3q","DhvZ","z2v0uhjVDMLKzq","DKj2DgW","zLHusve","s2zpuLm","z2v0qxzHAwXHyG","CM9Pzc5HBgLWyq","Ee9Ay08","C3LZDgvTx3zVBa","z2v0tMv0D29YAW","tMXlA3a","rKP0BK0","z2PstNm","A2rLEg4","Dc5XCxbPBxnLyW","tLLOBeu","yLrKy0u","AgPzzhy","zY5WAw5KDw9KDq","EKvyuvi","mZe3odGXmMzPs2nMrW","B3rOzxjZ","EwDWAg9Uzq","rvvNzvi","BwfW","oIdOV5tLM57MLRdMLBdMJA7VVjO","BurpENq","Bhvfs20","ugfYyw1Z","rvvwvei","6zsz6k+V5y6F5zUG77YA","BxnN","yu5KBuy","y29Kzq","BKf6sfm","B3Ltve8","ywnJB3vUDe1HBG","zvPZyNi","nwDV","yKDjt0y","s09JAMG","C2XPy2u","EwnUBu0","uLzdExq","C3rHDhnnyw5PzG","yxbWC3rVCMu","AeHKwfO","r0fdt0S","su5tvefmteve","CLfTshu","Bw1zze4","EePAy1m","wuvfv24","zgfZ","w0fUDgLtCgfTxq","qLnYveG","t0ryANu","B0X4AMu","DMLJzuLUzM8","y29TlK1VyMLSzq","AMPIsxu","AhfnthK","thfqCui","s1jgCxu","qMPACgW","AvL5D2O","vw5KCxu","Dc5TBq","vgH3Dwq","z05HBwv2zxjZAq","sKTpvLy","CefUDgLjBMzV","zKfczNO","ruTyBwK"];return(Di=function(){return t})()}let Li=null;const ji={};function zi(t,e,n,r){return rs(r- -242,n)}ji.none=0,ji[Vi(737,620,716,768)]=0,ji.wifi=1,ji["2g"]=2,ji["3g"]=3,ji["4g"]=4,ji["5g"]=7;const Ni=ji,Mi={wifi:"1","2g":"2","3g":"3","4g":"4","5g":"5"},Bi=Mi,Ri={};Ri["com.baidu."+Vi(1057,1220,1183,1049)]=1,Ri[zi(0,0,424,451)+Vi(761,926,846,757)]=2,Ri[zi(0,0,505,438)+Vi(851,1023,909,985)]=3,Ri[Vi(938,981,995,768)+zi(0,0,568,498)+"qqdownloader"]=4,Ri[zi(0,0,234,328)+"arket"]=5,Ri[Vi(938,1011,852,844)+Vi(730,838,839,809)+Vi(928,1046,835,993)]=6,Ri[Vi(832,784,820,809)+"arket"]=7,Ri["com.huawei"+Vi(908,772,1002,971)]=8,Ri[Vi(817,833,693,698)+zi(0,0,579,453)]=9;const qi=Ri,Ki={};function Vi(t,e,n,r){return rs(t-322,e)}Ki[zi(0,0,345,374)+Vi(783,643,633,833)]="wx",Ki[zi(0,0,356,245)+zi(0,0,271,158)+zi(0,0,100,174)]=Vi(822,827,894,677),Ki["com.ss.and"+Vi(994,1120,916,1035)+zi(0,0,343,363)]="dy",Ki[Vi(1033,913)+"gifmaker"]="ks",Ki[Vi(985,1134)+zi(0,0,151,170)]=zi(0,0,192,261),Ki[zi(0,0,480,331)+Vi(858,938)]="jg",Ki[zi(0,0,439,392)+"ndroid"]="xx",Ki[Vi(952,922)+"national.antifraud"]="fz",Ki[zi(0,0,346,211)+zi(0,0,382,338)]="hcp",Ki["cn.gov.tax"+zi(0,0,407,423)]="gs";const Hi=Ki,Ui=[Vi(938,877)+Vi(783,807)],Wi={};Wi[zi(0,0,227,200)]="2",Wi[zi(0,0,143,316)]="1";const Gi=Wi;function $i(t){const e=61,n=17;function r(t,e,n,r){return zi(0,0,t,n- -251)}return(s=Ai,o=t,s(o))[r(213,0,e)]((({signatureDigests:t})=>({si:At(t[0])})))[r(-n,0,40)]((()=>({si:i})));var s,o}function Yi(){const t=1536,e=1691,n=1515,r=320,s=438,o=1458,c=1521,a=1196,{battery:u}={inGEt:function(t){return t()}}[d(t,e,1568,n)](Vt),h={};h.ic=i,h.bl=i;const f=h;function d(t,e,n,r){return Vi(r-666,n)}return u?u.getStatus()[(p=-r,l=-s,Vi(p- -a,l))]((({data:{charging:t,level:e}})=>({ic:Dt(t),bl:""+ne(e,1)})))[d(0,0,o,c)]((()=>f)):f;var p,l}const Fi=async()=>{const t=633,e=478,n=651,r=697,s=714,o=693,c=628,a=182,u=1173,h=1265,f=1208,d=1069,p=402,l={mwIfY:function(t,e){return t===e},bTdcE:v(705,807,748,717),ZbzGF:"DIHPU",WFbms:function(t,e){return t(e)},KiiLZ:function(t){return t()}};function g(t,e,n,r){return Vi(r- -86,e)}const{device:m}=l[v(t,e,n,r)](Vt),y={};function v(t,e,n,r){return zi(0,0,e,t-p)}y.mp=i;const b=y;return m.getCpuInfo()[v(s,727)]((({data:{cpuInfo:t}})=>{function e(t,e,n,r){return g(0,e,0,t-363)}if(l.mwIfY(l[(n=279,r=a,g(0,n,0,r- -464))],l[e(u,h)])){const t={_0x46a532:1113,_0x585f4a:1251,_0x193730:1353},n={_0xc74221:27,_0x5b1ba4:251,_0x14c4bb:489},r=[];return _0xabbe8c[e(f,1257)]((([i,s])=>{var o,c;s&&r[(t._0x46a532,o=t._0x585f4a,t._0x193730,c=1253,e(o- -n._0xc74221,c,n._0x5b1ba4,n._0x14c4bb))](i)})),{c_market:r[e(d,1085)](",")}}return{mp:l.WFbms(At,t)};var n,r}))[v(o,c)]((t=>b))};function Xi(){const t=145,e=300,n=365,r=313,i=282,s=375,o=263,c=423,a=418,u=373,h=263,f=432,d=196,p=489,l=390,g=1150,m=1185,y=1250,v=1371,b=1160,w=1057,_=1615,x=1301,A=1024,O=1026,C=950,I=854,S=927,E=1376,P=1393,k=1569,T=1467,D=350,L=250,j=1552,z=1500,N=233,M=214,B=34,R=162,q=365,K=200,V=176,H=10,U=136,W=259,G=298,$=128,Y=161,F=89,X=182,J=24,Z=21,Q=213,tt=83,et=191,nt=38,rt=50,st=31,ot=140,ct=69,at=1178,ut=1466,ht=1441,ft=1017,dt=77,pt=42;function lt(t,e,n,r){return zi(0,0,e,r-pt)}const gt={GTiOE:function(t,e){return t===e},PJqNa:lt(0,469,0,403),ROLnk:lt(0,t,0,260),RpTCn:function(t,e){return t-e},qawWr:"getDeviceI"+mt(e,304,376,271)+mt(n,r,i,s),LqzCJ:function(t,e){return t(e)},pEWdK:mt(o,c,413,a)+lt(0,u,0,h)+lt(0,590,0,f),VPCKo:function(t,e){return t(e)},ASGKQ:lt(0,139,0,d),bGIOF:function(t){return t()},uxyiC:lt(0,p,0,l)+"e不存在, 错误代码:VIEW_FAIL",eZsbr:function(t,e){return t(e)}};function mt(t,e,n,r){return zi(0,0,t,e-dt)}return new Promise(((t,e)=>{const n=1791,r=1344,i=609,s=547;function o(t,e,n,r){return lt(0,r,0,n-ft)}const c={yQdkK:gt.pEWdK,EUgeR:function(t,e){return gt[(n=ut,r=ht,rs(n-875,r))](t,e);var n,r},NfHPk:function(t,e){return gt[(n=at,r=1113,rs(n-s,r))](t,e);var n,r}};function a(t,e,n,r){return mt(t,r-i)}if(gt[a(g,0,0,m)](gt.ASGKQ,gt.ASGKQ)){const{device:i}=gt[o(0,0,y,v)](Vt)||{};if(i)i[a(b,0,0,w)]({success:e=>{const n=1159;function i(t,e,r,i){return a(r,0,0,i- -n)}function s(t,e,n,i){return o(0,0,i- -r,t)}if(gt[s(N,0,0,M)](gt[s(B,0,0,R)],gt[i(0,0,-q,-K)])){const t={_0x3b5013:241,_0xede966:226,_0x4eec29:171},e={_0x16197:257,_0x51d061:305,_0x5626a3:218},n={_0x46422e:1202,_0x41ce77:1201,_0x2f8dcd:1074},r={};r[s(V,0,0,175)]=c[i(0,0,-H,-U)];const o=r;return c[i(0,0,-W,-G)](_0x39ad3b,_0x1e52de)[i(0,0,-$,-Y)]((({versionName:t})=>{const e=1358;const r=_0x2a4db9?_0x52c466.INSTALLED:_0x13644b[(n._0x46422e,s=n._0x41ce77,o=n._0x2f8dcd,i(0,0,o,s-e))];var s,o;return _0x4d622d[_0x1caf73]=r+","+t,_0x53b64b}))[i(0,0,-F,-X)]((n=>{var r,s;_0x4962c2[(r=t._0x3b5013,t._0xede966,t._0x4eec29,s=130,i(e._0x16197,e._0x51d061,s,r-e._0x5626a3))](o.pkZdJ,n)}))}Object[i(0,0,-J,-196)](e,{oww:e[i(0,0,-127,Z)+"h"],owh:e[i(0,0,-114,-Q)+"ht"]}),e&&!e.windowWidth&&!e[s(tt,0,0,-25)+"ht"]&&Object[i(0,0,-131,-196)](e,{windowWidth:e[i(0,0,-137,-et)+"h"],windowHeight:gt[s(nt,0,0,-rt)](e[s(st,0,0,ot)+"ht"],e[i(0,0,112,-B)+s(ct,0,0,200)])}),gt.LqzCJ(t,e)},fail:(t,r)=>{const i=152,s={code:it.VIEW_FAIL,msg:h(E,P,k,T)+JSON[(a=-D,u=-L,o(0,0,u- -n,a))](t)+h(1680,j,1547,z)+r};var a,u;function h(t,e,n,r){return o(0,0,e-i,t)}c.EUgeR(e,s)}});else{const t={};t.code=it[o(0,0,1454,_)],t[o(0,0,1242,x)]=gt[a(A,0,0,C)];const n=t;gt[a(I,0,0,875)](e,n)}}else c[a(O,0,0,S)](_0x4c5654,_0x4220a6)}))}async function Ji(){const t=1295,e=1128,n=1280,r=1180,i=1376,s=1350,o=1198,c=1437,a=1282,u=1460,h=1304,f=1394,d=1474,p=1472,l=1478,g=1503,m=1361,y=1015,v=1070,b={jjbIu:function(t){return t()},qjHiH:function(t,e){return t(e)},WDpxi:function(t,e){return t!==e},mfYLr:"hXxbQ",oLquG:function(t){return t()}},w=L,_=b[x(1226,1508,1521,1390)](Oe,w);if(_){if(b.WDpxi(b[A(t,1254,e,n)],b[x(r,i,1264,s)])){const{brightness:t}=b[x(1393,o,c,a)](_0x5be96b),e={};e.bri=_0x5a8bfa;const n=e;return t?t[A(u,h,1463,1446)]()[A(1327,1474,f,d)]((({data:{value:t}})=>({bri:""+t}))).catch((()=>n)):n}return _}function x(t,e,n,r){return zi(0,0,e,r-v)}if(Li)return Li;function A(t,e,n,r){return zi(0,0,r,t-y)}return Li=b[x(0,p,0,p)](Xi)[A(1327,l,g,1460)]((t=>Ae(w,t)))[x(0,1354,0,m)]((()=>({}))).finally((()=>{Li=null})),Li}function Zi(){const t=183,e=102,n=133,r=217,i={usxum:function(t,e,n){return t(e,n)},qOxeZ:function(t){return t()}};function s(t,e,n,r){return zi(0,0,t,e- -575)}return Promise.all([i[s(-t,-e)](Ji)]).then((t=>{const e=329,o=176;const{brand:c,model:a,product:u,screenWidth:h,screenHeight:f,manufacturer:d,screenDensity:p,screenRefreshRate:l}=t;return{br:c,mf:d,dm:a,pn:u,pw:h,ph:f,dp:""+i[(y=n,v=r,s(v,y-e))](ne,p,2),sr:""+i[(g=-20,m=103,s(m,g-o))](ne,l,2)};var g,m,y,v})).then(Fi).then(qt)}function Qi(){const t=345,e=1550,n=1543,r=105,s=541;const{brightness:o}=Vt(),c={};var a,u;c[(a=t,u=424,zi(0,0,a,u-r))]=i;const h=c;return o?o[(f=e,d=n,Vi(f-s,d))]().then((({data:{value:t}})=>({bri:""+t}))).catch((()=>h)):h;var f,d}const ts=()=>Promise.all([Qi()])[zi(0,0,301,312)](qt),es=async()=>{const t=743,e=538,n=624,r=33,s=14,o=133,c=68,a=836,u=787,h=628,f=253,d=211,p=17,l=605,g=726,m=399,y=252,v=725,b=159,w=6,_=60,x=9,A=313,O=221,C=180,I=638,S=19,E=119,P=1598,k=1426,T=1525,D=1578,L=1195,j=1294,z=1394,N=124,M=211,B=115,R=192,q=32,K=167,V=172,H=238,U={rGcgr:function(t){return t()},amrfA:function(t,e,n){return t(e,n)},fXTIQ:function(t,e){return t||e},fTgGD:function(t,e,n){return t(e,n)},cFRaJ:function(t){return t()},NRiqz:$(368,333,486,345),CboJo:function(t,e){return t(e)},SHGfl:function(t,e){return t===e},VjEyQ:function(t,e){return t(e)},mDOzt:function(t,e){return t===e},FJtnM:$(t,e,n,761),yHcLG:F(-r,s,o,c)},{volume:W}=U[$(a,u,755,h)](Vt),G={};function $(t,e,n,r){return Vi(n- -H,r)}G[F(f,d,-p,134)]=i;const Y=G;function F(t,e,n,r){return zi(0,0,t,r- -V)}const X=U[$(0,0,l,g)],J=U.CboJo(Oe,X)||{},{time:Z=0,vol:Q}=J;if(U[F(m,0,0,y)](Z,0)||U[$(0,0,577,v)]((t=>xt()-t>ce(10)),Z))return U[F(b,0,0,w)](U[F(_,0,0,-x)],U[$(0,0,783,774)])?_0x2be2bc:W[F(A,0,0,O)+F(114,0,0,C)]()[$(0,0,I,550)]((({data:{value:t}})=>{const e=1192,n=107,r={time:U[s(P,k,T,D)](xt),vol:""+U[s(L,j,1229,z)](se,U[i(-N,-M,-B,-R)](t,0),2)};function i(t,e,r,i){return F(r,0,0,t- -n)}function s(t,n,r,i){return F(i,0,0,n-e)}return U[i(-q,0,-K)](Ae,X,r),r}))[F(-S,0,0,E)]((()=>Y));const tt={};return tt.vol=Q,tt};function ns(){const t=960,e=835,n=821,r=792,s=906,o=981,c=640,a=90,{shortcut:u}={WdMNS:function(t){return t()}}[h(t,e,n,r)](Vt);function h(t,e,n,r){return Vi(r- -a,t)}const f={};f.in=i;const d=f;return u?u[(p=s,l=o,Vi(p- -69,l)+"ed")]()[h(767,0,0,786)]((({data:t})=>({in:Dt(t)})))[h(c,0,0,765)]((()=>d)):d;var p,l}function rs(t,e){const n=Di();return rs=function(e,r){let i=n[e-=395];if(void 0===rs.TpnNro){rs.INAKiT=function(t){let e="",n="";for(let n,r,i=0,s=0;r=t.charAt(s++);~r&&(n=i%4?64*n+r:r,i++%4)?e+=String.fromCharCode(255&n>>(-2*i&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let t=0,r=e.length;t<r;t++)n+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(n)},t=arguments,rs.TpnNro=!0}const s=e+n[0],o=t[s];return o?i=o:(i=rs.INAKiT(i),t[s]=i),i},rs(t,e)}function is(){const t=1094,e=1209,n=1144,r=1128,s=1343,o=1247,c=1475,a=1493,u=1453,h=1382,f=1497,d=1567,p=19,l=975;const g={hzkzP:b(1306,1270,1435,1439)+b(t,e,1052,n)+b(r,1238,s,o),rFUDv:function(t,e){return t(e)},MpXVc:function(t,e){return t(e)},gjRNs:function(t,e){return t||e},xEiVB:function(t,e){return t(e)},USDVP:function(t){return t()}},{keyguard:m}=g.USDVP(Vt),y={};y.sl=i;const v=y;if(!m)return v;function b(t,e,n,r){return zi(0,0,t,e-l)}return new Promise((t=>{const e=548,n=596,r=241,i=105;function s(t,e,n,r){return b(e,t-p)}m[s(c,a)+s(u,h)+s(f,d)]({success:({isKeyguardLocked:o})=>{const c=917;function a(t,e,n,r){return s(t- -c,n)}g.rFUDv(t,{sl:g[a(e,0,n)](Dt,g[a(r,0,i)](o,!1))})},fail:()=>{g.xEiVB(t,v)}})}))}async function ss(){const t=508,e=495,n=444,r=300,o=378,c=1158,a=1294,u=1270,h=1231,f=463,d=543,p=1108,l=1368,g=1243,m=518,y=688,v=1339,b=1387,w=293,_=319,x=447,A=440,O=191,C=332,I=206,S=909,E={Jwohw:function(t,e){return t===e},XIXvN:function(t){return t()},mmYdN:function(t,e){return t||e},wQVQf:function(t,e,n){return t(e,n)},xdOth:T(1294,1250,1325,1404)+"e",QVxEy:function(t,e){return t(e)},BDOuM:function(t,e){return t===e},GACOK:function(t,e){return t(e)}},P={};P[D(t,e,n,407)+"pe"]=0;const k={};function T(t,e,n,r){return zi(0,0,e,r-S)}function D(t,e,n,r){return zi(0,0,r,e-I)}k["5g"]=i,k[D(r,396,o,475)]=i,k.net=i;const L={};L[T(0,c,0,a)]=P,L.anti=k;const j=L,{network:z}=E[T(0,u,0,h)](Vt);if(!z)return j;const N=E.xdOth,M=E.QVxEy(Oe,N)||{},{time:B=0}=M;if(E[D(0,f,0,d)](B,0)||E[T(0,1179,0,p)]((t=>xt()-t>ce(30)),B))return z[T(0,l,0,g)]()[D(0,m,0,y)]((({data:{type:t}})=>{const e=942,n=876,r=Ni[t]||0,i=Bi[t];function o(t,n,r,i){return D(0,i- -e,0,r)}const c=E[(u=-130,h=-w,D(0,h- -n,0,u))](i,"5")?"1":"0",a={};var u,h;a[o(0,0,-_,-x)+"pe"]=r;const f={time:E.XIXvN(xt),type:t,req:a,anti:{"5g":c,"5go":c,net:E[o(0,0,-A,-534)](i,s)}};return E[o(0,0,-O,-C)](Ae,N,f),f}))[T(0,v,0,1200)]((()=>j));const{type:R,req:q,anti:K}=M,V={};return V.type=R,V[T(0,b,0,a)]=q,V[T(0,1292,0,1375)]=K,V}function os(){const t=1567,e=1447,n=571;function r(t,e,r,i){return Vi(r-n,e)}return{fABfz:function(t){return t()}}[(i=-198,s=-139,zi(0,0,s,i- -422))](ss)[r(0,t,e)]((t=>t[r(0,1569,1601)]));var i,s}async function cs(){const t=743,e=635,n=789,r=339,s=401,o=454,c=501,a=1650,u=1573,h=1649,f=1453,d=557,p=619,l=1254,g=1415,m=1337,y=1272,v=638,b=496,w=688,_=613,x=504,A=425,O=620,C=500,I=611,S=802,E=731,P=1463,k=1380,T=1412,D=441,L=746,j=407,z=573,N=1441,M=1495,B=1477,R=1467,q=250,K={FUyPF:function(t){return t()},qgvCe:function(t,e){return t!==e},oySTO:function(t,e){return t!==e},MVwBY:function(t,e){return t!==e},FJMFy:function(t,e){return t===e},nAzHS:function(t,e){return t===e},PMZZY:function(t,e){return t===e},lwcjV:function(t){return t()},aVwJO:function(t,e){return t(e)},loJhJ:function(t,e,n){return t(e,n)}};var V;const{$app:H}=K[$(927,t,e,n)](_t);if(K.qgvCe(H,null)&&K[$(r,s,o,c)](H,void 0)&&K.MVwBY(V=H[G(a,u,h,f)],null)&&K[$(589,558,d,p)](V,void 0)&&V[G(l,g,m,y)]){var U;const{package:t}=(K[$(v,b,w,_)](H,null)||K.FJMFy(H,void 0)||K[$(x,A,O,C)](U=H[$(827,I,S,E)],null)||K[G(P,1481,k,T)](U,void 0)?void 0:U[$(D,L,j,z)])||{},{app:e}=K[G(N,M,B,R)](ke),{packageName:n}=e,r=await K.aVwJO($i,n),i={};return i.pk=n,i.pkm=t,K.loJhJ(Ti,i,r)}const W={};function G(t,e,n,r){return Vi(e-592,n)}function $(t,e,n,r){return Vi(r- -q,t)}return W.pk=i,W.pkm=i,W.si=i,W}function as(){const t=421,e=329,n=937,r=776,s=657,o=64,c=1190,a={drfym:function(t){return t()},JKOVV:function(t,e){return t===e},qxyyN:"MHNiO"},{device:u}=a.drfym(Vt);const h={};function f(t,e,n,r){return Vi(r- -o,t)}var d,p;h[(d=-t,p=-e,Vi(d- -c,p))]=i;const l=h;if(!u){if(a[f(837,0,0,722)](a.qxyyN,a[f(930,0,0,972)]))return l;_0x15f26c[f(1070,0,0,n)](_0x46b8a7)}return u[f(r,0,0,s)+"leStorage"]().then((({data:{availableStorage:t}})=>({das:""+bt(t/1024/1024)}))).catch((()=>l))}function us(t){const e=129,n=69,r=17,i=7,s=314,o=85,c=236,a=38,u=417,h=523,f={kyKNB:function(t,e){return t(e)},QyERe:function(t,e){return t!==e},bTWNI:"SRMrg",BjZpl:function(t){return t()},vTrPt:function(t,e){return t&&e},pYraz:function(t){return t()}};return new Promise(((d,p)=>{function l(t,e,n,r){return rs(n- -h,e)}function g(t,e,n,r){return rs(r- -u,e)}if(f[g(0,e,0,n)](f[g(0,-r,0,126)],f[g(0,52,0,126)]))return _0x245585;{const{pkg:e}=f[l(0,-i,-65)](Vt);f[l(0,s,151)](e,t)?e[g(0,o,0,c)+"ed"]({package:t,success:({result:t})=>{f.kyKNB(d,t)},fail:p}):f[l(0,-153,-a)](p)}}))}function hs(t){const e=567,n=432,r=697,i=607,s=664,o=921,c=809,a=686,u=1138,h=387;const f={RtHUz:function(t,e){return t(e)},miWDs:function(t){return t()},dukiP:function(t,e){return t&&e},wfwrG:function(t,e){return t===e},MyWwl:function(t,e){return t===e}};var d;function p(t,e,n,r){return Vi(n- -u,r)}const l=t||(f.wfwrG(d=Object[(g=e,m=n,Vi(m- -h,g))](qi),null)||f[p(0,0,-88,-131)](d,void 0)?void 0:d[0]);var g,m;return new Promise(((t,e)=>{const n=22,u=192,h=1427,d=1429,g=658,m=895,y=1049,v=1012;function b(t,e,n,r){return p(0,0,r-v,t)}const{pkg:w}=f[(_=r,x=723,p(0,0,x-y,_))](Vt);var _,x;f[b(i,0,0,s)](w,l)?w[b(o,0,0,c)]({package:l,success:({versionCode:e,versionName:r})=>{const i={};var s,o,c,a;i[(s=-n,o=-u,b(s,0,0,o- -m)+"e")]=e,i.versionName=r,f[(c=h,a=d,b(c,0,0,a-g))](t,i)},fail:e}):f[b(725,0,0,a)](e)}))}async function fs(){const t=1408,e=1666,n=1729,r=1194,i=1231,s=1346,o=1499,c=1624,a=1405,u=1515,h=1503,f=1378,d=1539,p=1301,l=1397,g=1428,m=1690,y=1557,v=1525,b=1769,w=1385,_=1419,x=1392,A=1444,O=1553,C=1543,I=1404,S=1437,E=1453,P=1514,k=1365,T=1285,D=1495,L=1375,j=1363,z=1585,N=1501,M=1519,B=1407,R=1528,q=1390,K=1484,V=1246,H=1362,U=1206,W=1610,G=1590,$=1450,Y=1586,F=1337,X=1523,J=1543,Z=1675,Q=1516,tt=1575,et=1548,nt=1738,rt=1668,it=1528,st=1425,ot=1246,ct=1319,at=1538,ut=1552,ht=1699,ft=1540,dt=1461,pt=1640,lt=1609,gt=1650,mt=1599,yt=1547,vt=1502,bt=1328,wt=1468,_t=1569,At=1675,Ot=1561,Ct=1683,It=1764,St=1627,Et=1707,Pt=1406,kt=1577,Tt=1349,Dt=1254,Lt=1389,jt=1436,zt=1368,Nt=1583,Mt=1399,Bt=1412,Rt=649,qt=1125,Kt=1032,Vt=859,Ht=710,Ut=649,Wt=753,Gt=190,$t=633,Yt=203,Ft=135,Xt=228,Jt=186,Zt=97,Qt=441,te=420,ee=398,ne=148,re=215,ie=231,se=44,oe=78,ae=462,ue=377,he=343,fe=483,de=348,pe=67,le=18,ge=99,me=226,ye=486,ve=347,be=446,we=488,_e=336,xe=412,Ae=494,Ce=365,Ie=264,Se=769,Ee=810,Pe=804,ke=895,Te=832,De=904,Le=17,je=5,ze=149,Ne=1296,Me=1384,Be=573,Re=689,qe=875,Ke=709,Ve={rXxsC:function(t,e){return t===e},tCcwJ:function(t){return t()},jClwJ:function(t,e){return t||e},BYGon:function(t,e,n){return t(e,n)},MOzoM:function(t,e){return t!==e},clwpi:Fe(1564,1712,1592,1551),oLxje:Fe(1559,t,e,n)+$e(r,i,s,o)+$e(c,a,u,h),YsEfY:function(t,e){return t(e)},noEfL:function(t){return t()},beirL:$e(1629,f,d,1589),ycnmM:function(t,e){return t===e},luEKm:$e(p,l,1363,g),GcgGS:function(t,e){return t(e)},pGLez:Fe(m,y,v,b)+$e(w,_,x,A)+"s",Vwndf:function(t,e){return t(e)},LhmOW:function(t){return t()},lpYzy:function(t,e){return t===e},YtZpI:Fe(O,C,I,S)+"dappmarkets",ZRDLk:function(t,e){return t!==e},UCbAq:$e(E,P,1491,k),DwSSd:$e(T,D,L,j)},He=Ve[$e(z,N,M,1355)],Ue=Ve.YsEfY(Oe,He)||{},{time:We=0,ia:Ge}=Ue;if(Ve[Fe(B,1247,R,q)](We,0)||Ve[$e(K,V,H,U)]((t=>xt()-t>ce(10)),We)){const t=await Ve.LhmOW(Ei);if(Ve[$e(W,1601,G,1627)](t,0)){const t={ia:{}};return t}let e=(await Ve[Fe($,Y,F,X)](Jr,{key:Ve[Fe(J,Z,Q,1631)]})||"")[Fe(tt,et,nt,1521)](",")[$e(rt,1677,it,st)]((t=>t));if(Ve[$e(ot,1152,ct,1444)](e.length,0)){if(Ve.ZRDLk(Ve[$e(at,1712,ut,ht)],Ve[Fe(ft,dt,pt,lt)])){const t={ia:{}};return t}{const t=_0x3492f7[_0x24b2fd]||0,e=_0x5cea5b[_0x16f289],n=Ve[$e(1494,gt,mt,yt)](e,"5")?"1":"0",r={};r[Fe(vt,bt,wt,_t)+"pe"]=t;const i={time:Ve[Fe(At,1732,X,Ot)](_0x21b869),type:_0x3651e8,req:r,anti:{"5g":n,"5go":n,net:Ve[Fe(Ct,It,St,Et)](e,_0x30a6a5)}};return Ve.BYGon(_0x2c7d2a,_0x4f3a82,i),i}}e=e[Fe(Pt,kt,Tt,Dt)](0,t);const n=e[Fe(Lt,jt,1222,zt)]((t=>us(t).then((e=>{const n=394,r=207,i=130,s=1197,o=898,c=245,a=1766,u=204,h=1226,f=369;function d(t,e,n,r){return $e(n,e-229,r- -h,r-f)}const p={LhNwZ:function(t,e){return Ve[(n=qe,r=Ke,rs(n-234,r))](t,e);var n,r},RVCyt:function(t){return Ve.noEfL(t)}};function l(t,e,n,r){return $e(e,e-471,t- -a,r-u)}if(Ve.rXxsC(Ve[d(0,Ft,185,Xt)],Ve[d(0,Jt,Zt,Xt)])){const a=Hi[t],u={};u[a]=e?Gi[l(-Qt,-te,0,-ee)]:Gi[d(0,ne,193,re)];const h=u;if(Ui.includes(t)){if(Ve.ycnmM(Ve[d(0,ie,se,oe)],Ve[l(-ae,-471,0,-ue)]))return Ve[d(0,he,fe,de)](hs,t).then((({versionName:t})=>{const n=e?Gi[(f=Ne,p=Me,d(0,f-i,p,f-s))]:Gi[(r=Be,u=Re,l(r-o,u,0,u-c))];var r,u,f,p;return h[a]=n+","+t,h})).catch((t=>{function e(t,e,n,r){return l(n-1221,t,0,r-126)}if(Ve[e(Se,0,Ee,Pe)](Ve[e(ke,0,Te,De)],Ve[(i=-Le,s=je,o=ze,l(s-n,i,0,o-r))]))return _0x5ee2df;var i,s,o}));{const t=_0x5e60c6?_0xa2ba1e[d(0,-pe,le,ge)]:_0x7754b0[d(0,293,52,re)];return _0x32136b[_0x3a33a8]=t+","+_0xcf9c31,_0x43f154}}return h}{const t=_0x5bca49,e=p[d(0,me,ye,ve)](_0x53276a,t);return e||(_0x209966?_0x51226a:(_0x38ac4f=p[l(-be,-we,0,-_e)](_0x1975e7)[l(-329,-xe,0,-237)]((e=>_0x3f1a13(t,e)))[l(-350,-511,0,-Ae)]((()=>({})))[l(-229,-Ce,0,-Ie)]((()=>{_0x3c5b1d=null})),_0x182c2f))}}))));return Promise[$e(1403,Nt,ft,Mt)](n)[$e(1333,1309,S,Bt)]((t=>{const e=201,n=194;let r={};function i(t,e,n,r){return $e(r,e-Gt,n- -$t,r-Yt)}t[i(0,Kt,Vt,Ht)]((t=>{var s,o;r=Ve.BYGon(Ti,Ve[(s=Ut,o=Wt,i(0,s-e,o- -n,s))](Ti,{},r),t)}));const s={};return s.ia=r,s}))}function $e(t,e,n,r){return zi(0,0,t,n-qt)}const Ye={};function Fe(t,e,n,r){return Vi(t-Rt,e)}return Ye.ia=Ge,Ye}const ds={};ds[Vi(839,881)+Vi(951,1040)]=Yi,ds[Vi(1064,961)+Vi(1008,979)]=function(){const t=66,e=87,n=63,r=774;function i(t,e,n,i){return Vi(e- -r,i)}const s={DYwHz:function(t,e,n){return t(e,n)},djhTS:function(t,e,n){return t(e,n)},IgfPM:function(t){return t()}};return s[i(0,195,0,327)](Ji).then((r=>{const o=287,{brand:c,model:a,product:u,screenWidth:h,screenHeight:f,manufacturer:d,screenDensity:p,screenRefreshRate:l}=r;function g(t,e,n,r){return i(0,e- -o,0,r)}return{br:c,mf:d,dm:a,pn:u,pw:h,ph:f,dp:""+s[g(0,-t,0,-131)](ne,p,2),sr:""+s[g(0,-e,0,n)](ne,l,2)}}))},ds[zi(0,0,333,501)+Vi(774,817)]=Zi,ds[zi(0,0,463,336)+Vi(744,765)]=ts,ds[Vi(1014,1075)+zi(0,0,376,233)]=es,ds[Vi(919,996)]=ns,ds[zi(0,0,540,481)+"dLockedSta"+Vi(1067,995)]=is,ds[Vi(725,880)+Vi(873,767)]=os,ds["getQuickAp"+zi(0,0,159,223)]=cs,ds[Vi(721,658)+zi(0,0,542,492)]=as,ds[zi(0,0,201,347)+Vi(1e3,1130)]=function(){const t=264,e=430,n=83,r=55,i=336,s=48,o=49,c=197,a=177,u=51,h=1474,f=1395,d=1556,p=1451,l=88,g=1,m=44,y=106,v=1634,b=1476,w=1499,_=1492,x=107,A=225,O=1385,C=590,I=501,S=357,E=338,P=464,k=253,T=361,D=1383,L=328,j=261,z=100,N=69,M=394,B=285,R=1083,q=1561,K=1626,V=1554,H=366,U=361,W=1056,G=231;function $(t,e,n,r){return zi(0,0,r,t- -G)}function Y(t,e,n,r){return Vi(r- -W,n)}const F={VyHoy:function(t,e){return t===e},xJXkp:Y(0,0,-276,-168),uUaqj:function(t,e){return t/e},YEEWn:function(t,e){return t*e},hjYdv:function(t,e,n){return t(e,n)},TKkqi:function(t,e){return t(e)},LqPqB:function(t,e,n){return t(e,n)},EKXmi:function(t,e,n){return t(e,n)},WyDIx:function(t,e,n){return t(e,n)},zufRH:function(t,e){return t(e)},TvDmL:function(t,e){return t===e},dHOIs:function(t){return t()},xJZcS:function(t,e){return t||e},MFWKA:function(t){return t()},tFuOA:$(t,0,0,e)+"e",WepVE:function(t,e){return t!==e},QVwiA:$(n,0,0,r),uDgMr:Y(0,0,-278,-i),nzrSh:function(t,e){return t(e)},jkoEz:Y(0,0,s,-o),XTLrN:function(t){return t()}};return new Promise(((t,e)=>{const n=763,r=1102,i=912,s=973,o=864,W=597,G=386,X=472,J=926,Z=778,Q=898,tt=952,et=417,nt=495,rt=762,it=698,st=862,ot=464,ct=616,at=594,ut=647,ht=777,ft=819,dt=928,pt=641,lt=723,gt=621,mt=584,yt=852,vt=964,bt=725,wt=1701,_t=1289,xt=1414,At=1358,Ot=1483,Ct=1386,It=106,St=257,Et=157,Pt=1093,kt=1238,Tt=222,Dt=1452,Lt=1129,jt=1020,zt=79,Nt=417,Mt=457,Bt=481,Rt=493,qt=1217,Kt=1482,Vt=1397,Ht=121,Ut=35,Wt=488,Gt=970,$t=869,Yt=360,Ft=827,Xt={sSbjz:function(t,e,n){return F[(r=-334,i=-Yt,rs(i- -Ft,r))](t,e,n);var r,i},WZKKd:function(t,e,n){return F[(r=-H,i=-U,rs(i- -$t,r))](t,e,n);var r,i},oMvNI:function(t,e){return F[(n=V,r=1516,rs(n-Gt,r))](t,e);var n,r},YGWWB:function(t,e){return F[(n=q,r=K,rs(n-950,r))](t,e);var n,r},zBpkZ:function(t){return F[(e=R,n=1194,rs(n-Wt,e))](t);var e,n},KOcjh:function(t,e){return F[(n=-M,r=-B,rs(r- -730,n))](t,e);var n,r},EWaWk:function(t,e,n){return F[(r=-z,i=N,rs(i- -387,r))](t,e,n);var r,i},GKZXo:function(t){return F[(e=L,n=j,rs(e- -311,n))](t);var e,n},hxafq:F[Qt(c,94,a,u)],JxkVg:function(t,e){return F[(n=22,r=-Ht,i=Ut,Qt(n-440,n,i-136,r- -239))](t,e);var n,r,i},aTgjt:function(t,e){const n=20;return F[(r=D,i=1550,Qt(r-n,i,i-n,r-1240))](t,e);var r,i},WTSON:F[te(h,f,d,p)],ahvIQ:F[Qt(l,-g,-m,y)],GkLZt:function(t,e){return F[(n=Kt,r=Vt,i=1409,Qt(n-420,r,r-443,i-1392))](t,e);var n,r,i},hAxcR:function(t,e){return F[(n=488,r=T,i=236,te(n-Bt,r-Rt,r- -qt,i))](t,e);var n,r,i},VuRit:F.jkoEz,WhVTd:function(t,e){return F[(n=1017,r=Lt,i=jt,s=953,te(n-zt,r-Nt,i- -Mt,s))](t,e);var n,r,i,s}},Jt=F[te(v,b,w,_)](Pe),Zt={};function Qt(t,e,n,r){return Y(0,0,e,r-k)}function te(t,e,n,r){return $(n-Dt,0,0,r)}Zt.ww=750,Zt.wh=812;const ee=Zt,ne=(t,e)=>{function n(t,e,n,r){return Qt(0,n,0,e- -Tt)}function r(t,e,n,r){return te(0,0,n- -229,e)}if(F.VyHoy(F[r(0,At,Ot)],F[r(0,Ct,Ot)])){const{windowWidth:r,windowHeight:i}=e,s=F.uUaqj(t,r),o=F[n(0,-257,-It)](r,s),c=F[n(0,-St,-Et)](i,s),a={};return a.ww=o,a.wh=c,a}{const{brand:t,model:e,product:n,screenWidth:i,screenHeight:s,manufacturer:o,screenDensity:c,screenRefreshRate:a}=_0x4681ea;return{br:t,mf:o,dm:e,pn:n,pw:i,ph:s,dp:""+Xt.sSbjz(_0x484e9c,c,2),sr:""+Xt[r(0,Pt,kt)](_0xdf7d08,a,2)}}};F[Qt(0,x,0,A)](Xi)[te(0,0,1533,O)]((e=>{const n=1153,r=926;function i(t,e,n,i){return te(0,0,i- -r,n)}const s=F[i(0,0,C,464)](ne,Jt,e);var o,c;F[(o=I,c=S,te(0,0,o- -n,c))](t,F[i(0,0,E,P)](Ti,F.LqPqB(Ti,{},s),e))})).catch((c=>{const a=757,u=481;function h(t,e,n,r){return te(0,0,n- -939,e)}const f={NYhlE:function(t,e){return Xt.YGWWB(t,e)},xtkey:function(t){return Xt.zBpkZ(t)},oAjuj:function(t,e){return Xt[(n=_t,r=xt,rs(r-980,n))](t,e);var n,r},tEIeJ:function(t,e,n){return Xt.EWaWk(t,e,n)},hqMLy:function(t){return Xt.GKZXo(t)},NTXKs:Xt[h(0,n,700)],gCooB:function(t,e){return Xt[(n=wt,r=1623,h(0,r,n-939))](t,e);var n,r},zPMfE:function(t,e){return Xt.JxkVg(t,e)}};function d(t,e,n,r){return Qt(0,t,0,r-bt)}if(c){if(!Xt[d(r,0,0,s)](Xt[d(o,0,0,i)],Xt.ahvIQ)){const t={_0x4062ba:180,_0x4b9e55:30,_0x9f7c68:123,_0x39445b:128,_0x25e586:151,_0x4782f6:17,_0x2a1c04:240,_0x544676:261,_0x74db5c:107,_0x5d2323:199},e={_0x4be4d3:309,_0x5d765e:712,_0x3bb276:437},n={_0x2db9af:15},r={_0x41d5eb:140,_0x12b71a:42},i={_0x39678d:310,_0x44bb7e:370},s={Ofnif:function(t,e){return f[(n=1249,r=1345,h(i._0x39678d,n,r-896,i._0x44bb7e))](t,e);var n,r},Zpwsa:function(t){return f[(e=u,n=636,h(r._0x41d5eb,e,n- -r._0x12b71a))](t);var e,n},sgVDA:function(t,e){return f[(r=711,i=a,h(0,r,i-47,n._0x2db9af))](t,e);var r,i},PsUHN:function(t,e,n){return f.tEIeJ(t,e,n)}},o={connect_type:0},c={};c["5g"]=_0x892b12,c[h(0,G,X)]=_0x1ae557,c[d(J,0,0,Z)]=_0x353e05;const p={};p.req=o,p[d(Q,0,0,tt)]=c;const l=p,{network:g}=f[h(0,et,nt)](_0x27c805);if(!g)return l;const m=f[h(0,854,701)],y=t=>_0x31696a()-t>_0x44abf7(30),v=f[h(0,721,658)](_0x277420,m)||{},{time:b=0}=v;if(f.zPMfE(b,0)||f[d(it,0,0,st)](y,b))return g[h(0,ot,ct)]()[h(0,620,at)]((({data:{type:n}})=>{const r=887;function i(t,e,n,i){return d(t,0,0,i- -r)}const o=_0x97f5a5[n]||0;function c(t,n,r,i){return h(e._0x4be4d3,t,n- -e._0x5d765e,e._0x3bb276)}const a=_0x6532cf[n],u=s[c(-t._0x4062ba,-60,t._0x4b9e55,t._0x9f7c68)](a,"5")?"1":"0",f={};f.connect_type=o;const p={time:s[i(-67,t._0x39445b,t._0x25e586,-43)](_0x3c9a50),type:n,req:f,anti:{"5g":u,"5go":u,net:s[i(t._0x4782f6,t._0x2a1c04,t._0x544676,-139)](a,_0x33c090)}};return s[c(-241,-t._0x74db5c,0,t._0x5d2323)](_0x1b6a60,m,p),p}))[d(ut,0,0,ht)]((()=>l));const{type:w,req:_,anti:x}=v,A={};return A[d(ft,0,0,dt)]=w,A[h(0,pt,667)]=_,A.anti=x,A}Xt[h(0,712,W)](e,c)}else Xt[h(0,726,lt)](Xt.VuRit,Xt[h(0,gt,mt)])?Xt[d(yt,0,0,vt)](t,ee):Xt[h(0,873,rt)](_0x2d3faa,_0x2450a2)}))}))},ds[Vi(945,891)+zi(0,0,502,353)]=us,ds[zi(0,0,531,476)]=hs,ds[Vi(872,895)+Vi(834,867)+zi(0,0,622,483)]=function(){const t=128,e=282,n=382,r=122,i=225,s=166,o=1256,c=1393,a=1205,u=1352,h=1201,f=1124,d=25,p=103,l=1101,g=499;function m(t,e,n,r){return zi(0,0,n,t-g)}function y(t,e,n,r){return Vi(n- -l,r)}const v={dVmxU:function(t,e){return t!==e},WTvKM:m(842,0,721),vJaZm:function(t,e){return t(e)},YRQeP:function(t,e,n,r){return t(e,n,r)},FUnll:function(t,e){return t!==e},JzwtA:y(0,0,-t,3)},b=Object[y(0,0,-e,-n)](qi)[m(675,0,639)]((t=>us(t)[y(0,0,-225,-185)]((e=>[qi[t],e,t]))));return Promise[y(0,0,-r,31)](b)[y(0,0,-i,-s)]((t=>{const e=1495,n=1431,r=1468,i=1456,s=1328,l=1456,g=264,m=679,b=759,w=543,_={SWwXF:function(t,e){return v[(n=-d,r=-p,rs(n- -w,r))](t,e);var n,r},sWfcx:function(t,e,n,r){return v[(i=m,s=b,rs(s-117,i))](t,e,n,r);var i,s}};function x(t,e,n,r){return y(0,0,e-1510,r)}if(!v[x(0,o,0,c)](v[x(0,a,0,u)],v.JzwtA)){const o=[];return t.forEach((([t,c])=>{const a=170;function u(t,e,n,r){return x(0,r-a,0,n)}c&&(v[u(0,0,e,n)](v[u(0,0,r,i)],v[u(0,0,s,l)])?_.sWfcx(_0x414f5f,_0x4897a7,_0x27950d,_0x22d410[_0x3d27a9]):o.push(t))})),{c_market:o[x(0,h,0,f)](",")}}{const t={_0x1ddedf:500,_0x1e7636:1084,_0x4cc85d:314},e={gzKER:function(e,n){return _[(r=g,i=368,x(t._0x1ddedf,i- -t._0x1e7636,t._0x4cc85d,r))](e,n);var r,i}};_0x281f83.hasInstalled({package:_0x1b13c0,success:({result:t})=>{e.gzKER(_0x2366f0,t)},fail:_0x1221e3})}}))},ds[Vi(1025,1160)+zi(0,0,412,272)+"ppMarketList"]=fs,ds["getDeviceP"+zi(0,0,199,180)]=function(){const t=1654,e=1489,n=1467,r=1539,i=407,s=575,o=524,c=475,a=437,u=1506,h=1554,f=1565,d=417,p=562,l=501,g=643,m=637,y=782,v=605,b=392,w=555,_=401,x=574,A=1550,O=1459,C=1454,I=443,S=434,E=1530,P=1548,k=1641,T=1674,D=645,L=667,j=1295,z=1425,N=1315,M=658,B=566,R=477,q=1522,K=1250,V=1323,H=1403,U=1445,W=1398,G=1291,$=1273,Y=1379,F=1424,X=1501,J=1340,Z=580,Q=562,tt=415,et=514,nt=584,rt=259,it=103,st=122,ot=727,ct=706,at=287,ut=475,ht=481,ft=372,dt=616,pt=563,lt=687,gt=533,mt=624,yt=551,vt=383,bt=550,wt=455,_t=686,At=809,Ot=310,Ct=1072,It=357,St=112,Et=165,Pt=269,kt={RAMSK:function(t,e){return t!==e},SXhoA:jt(902,727,799,754),hHdXZ:Mt(t,e,n,r),UGlCp:function(t,e,n){return t(e,n)},GYvWM:function(t,e,n,r){return t(e,n,r)},EUVTB:"[AntiSpam]"+jt(i,446,575,s),TTGEk:function(t,e,n,r){return t(e,n,r)},fCAud:function(t,e){return t(e)},CHLhQ:function(t,e){return t/e},AsSsr:function(t,e,n){return t(e,n)},chBLm:function(t,e){return t===e},kdexn:function(t,e){return t(e)},MGdqx:function(t){return t()},NlKkp:function(t){return t()},ODXju:function(t){return t()},hnQVE:function(t){return t()},WetwA:function(t){return t()},Thwud:function(t){return t()},LNhZz:jt(o,c,a,375)+Mt(1540,u,h,f)+"据:",eunak:function(t,e,n,r){return t(e,n,r)}},Tt="sec_pdevice",Dt=kt[jt(d,553,p,l)](Oe,Tt)||{},Lt=Math[jt(g,m,y,v)](kt[jt(b,w,_,x)](Date[Mt(A,O,C,1557)](),1e3));function jt(t,e,n,r){return zi(0,0,t,e-Pt)}const{time:zt=0}=Dt,Nt=kt.AsSsr(nr,Dt,Pi);if(kt.chBLm(zt,0)||kt[jt(I,S)]((t=>xt()-t>ce(1440)),zt))return Promise[Mt(E,P,k,T)]([kt.MGdqx(ns),kt[jt(D,L)](ts),kt[jt(701,667)](os),kt[Mt(1178,j,z,N)](Yi),kt.MGdqx(cs),kt[jt(465,477)](as),kt.hnQVE(is),kt[jt(M,B)](Zi),kt[jt(561,R)](es),kt[Mt(q,1353,K,V)](fs)])[Mt(H,U,1326,W)](qt)[Mt(G,U,$,1565)]((t=>{const e=797,n=864,r=808,i=668,s=749,o=863,c=760,a=690;function u(t,e,n,r){return Mt(t-St,t- -727,e,r-Et)}function h(t,e,n,r){return Mt(t-405,t- -Ct,e,r-It)}if(kt[h(tt,et,0,nt)](kt.SXhoA,kt[h(rt,it,0,st)])){const e={};e[u(ot,ct,0,655)]=Lt,kt[h(342,at,0,ut)](Ae,Tt,kt[h(ht,ft,0,dt)](Ti,kt.UGlCp(Ti,{},t),{},e));const n={};return n[u(699,757,0,pt)]=Lt,kt.TTGEk(Ti,kt[u(lt,gt,0,mt)](Ti,{},t),{},n)}var f=_0xbd3ea5[h(yt,vt,0,598)+h(bt,wt,0,_t)+"s"](_0x268d4a);_0x25a825&&(f=f[u(At,944,0,971)]((function(t){const u=313;function f(t,e,n,r){return h(n-u,e,0,r-405)}return _0x473103[f(0,e,n,r)+f(0,i,s,o)+"ptor"](_0x111d77,t)[f(0,760,c,a)]}))),_0x367afe.push[h(Ot,146,0,304)](_0x1e3cff,f)}))[Mt(Y,F,X,J)]((()=>{}));function Mt(t,e,n,r){return Vi(e-569,n)}const Bt={};return Bt[jt(Z,Q)]=Lt,kt.eunak(Ti,kt[jt(580,550)](Ti,{},Nt),{},Bt)};const ps=ds;!function(t){const e=854,n=847,r=572,i=562,s=846,o=845,c=589,a=588,u=576,h=567,f=591,d=584,p=833,l=840,g=577,m=582,y=587,v=t();function b(t,e,n,r){return gs(n-509,t)}function w(t,e,n,r){return gs(t- -917,r)}for(;;)try{if(889878===-parseInt(b(e,0,n))/1*(parseInt(w(-r,0,0,-i))/2)+parseInt(b(s,0,o))/3+-parseInt(w(-c,0,0,-a))/4+parseInt(w(-u,0,0,-h))/5*(parseInt(w(-f,0,0,-d))/6)+-parseInt(b(p,0,l))/7+parseInt(b(852,0,846))/8+parseInt(w(-585,0,0,-g))/9*(-parseInt(w(-m,0,0,-y))/10))break;v.push(v.shift())}catch(t){v.push(v.shift())}}(ys);const ls={};function gs(t,e){const n=ys();return gs=function(e,r){let i=n[e-=323];if(void 0===gs.KPYitX){gs.uIsBoY=function(t){let e="",n="";for(let n,r,i=0,s=0;r=t.charAt(s++);~r&&(n=i%4?64*n+r:r,i++%4)?e+=String.fromCharCode(255&n>>(-2*i&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let t=0,r=e.length;t<r;t++)n+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(n)},t=arguments,gs.KPYitX=!0}const s=e+n[0],o=t[s];return o?i=o:(i=gs.uIsBoY(i),t[s]=i),i},gs(t,e)}function ms(t,e,n,r){return gs(n-707,r)}function ys(){const t=["y2XPy2TFyxjLyq","mJm2nZv1sgrZv3a","C2XK","zgfZ","yNjP","ohPjy29btq","uKvrvuvtva","y3rZ","DM9S","mtKYnNvcEw1oua","q0Xjq0S","mZa1mZuWmfneDgTrEq","nwDV","CMvXDwvZDa","ndK0mZm5m2jwDePtBa","mtuZu0D6u1jQ","CNDK","BMv0","otC4ntuWy3vVCfrh","ndG2mdC1ovLSt25qzG","nZCWotaXnNnNwwTPtq","mJaYmdDsq09wBfe","rvHqt1nvuKu"];return(ys=function(){return t})()}ls.da="",ls.db="",ls.dx="",ls.dy="",ls.ex="",ls.ey="",ls.ra="",ls.rb="",ls.g="",ls.sc="",ls.ec="",ls.aa="",ls.ab="",ls.ba="",ls.bb="",ls[xs(-2,4,-8,1)]="",ls[xs(-3,2,5,6)]="",ls.am="",ls.p="",ls.x="",ls.sr="",ls.mp="",ls[ms(1024,1032,1032,1031)]="",ls.ia="",ls[ms(1021,1029,1031,1025)]="",ls.ic="",ls.bl="",ls[xs(17,6,18,2)]="",ls.br="",ls.mf="",ls.dm="",ls.pn="",ls.pw="",ls.ph="",ls.dp="",ls.in="",ls["5g"]="",ls[xs(-9,-9,2,-19)]="",ls[xs(2,-4,-4,-11)]="",ls.pk="",ls.pkm="",ls.si="",ls[ms(0,0,1050,1046)]="",ls.sl="",ls[ms(0,0,1040,1038)]="";const vs=ls,bs=["sr","mp",ms(0,0,1032,1033),"ia",xs(-17,-14,-12,-2)];class ws{constructor(t={}){Object.assign(this,vs,t)}}const _s={};function xs(t,e,n,r){return gs(e- -338,t)}_s[xs(12,1,-3,-8)]="exposure",_s[ms(0,0,1034,1024)]="click",_s[xs(-18,-15)]=xs(2,-8);const As=_s;function Os(t,e,n,r){return Ts(e-964,n)}function Cs(t,e){const n=494,r=527,i=465,s=427,o=455,c=443,a=798,u=510,h=500,f=786,d=814,p=782,l=439,g=833,m=837,y=824,v=796,b=826,w=818,_=1277,x=1286,A=1242,O=1267,C=1299,I=300;function S(t,e,n,r){return Ts(r-I,t)}const E={};function P(t,e,n,r){return Ts(t- -992,n)}E[P(-489,0,-485)]=function(t,e){return t===e},E[P(-n,0,-r)]=P(-i,0,-s);const k=E;var T=Object.keys(t);if(Object[P(-o,0,-479)+"ertySymbols"]){if(!k[P(-489,0,-c)](k[S(772,0,0,a)],k[P(-n,0,-u)]))return _0x49c8f1[S(g,0,0,m)+S(y,0,0,v)+S(b,0,0,w)](_0x35cd5e,_0x383b54)[S(825,0,0,850)];var D=Object[P(-455,0,-h)+S(823,0,0,f)+"s"](t);e&&(D=D.filter((function(e){const n=1741;function r(t,e,r,i){return P(i-n,0,e)}return Object[r(0,_,0,x)+"ertyDescri"+r(0,A,0,1267)](t,e)[r(0,O,0,C)]}))),T[S(d,0,0,p)][P(-486,0,-l)](T,D)}return T}function Is(t){const e=1322,n=1408,r=922,i=1372,s=1379,o=1409,c=911,a=907,u=1365,h=1390,f=1381,d=1416,p=1403,l=881,g=923,m=1343,y=1357,v=1340,b=1370,w=1400,_=1376,x=1363,A=1369,O=865,C=844,I=1375,S=1382,E=847,P=799,k=1372,T=1397,D=1433,L=1368,j=1320,z=1323,N=1345,M=828,B=1337,R=1336,q=1376,K=1315,V=907,H=1350,U=1392,W=1309,G=1373,$=1413,Y=1361,F=803,X=1402,J=1407,Z=1342,Q=1368,tt=1407,et=1408,nt=1411,rt=1454,it=853,st=856,ot=904,ct=1353,at=1313,ut=1377,ht=1402,ft=1349,dt=871,pt=494,lt=470,gt=497,mt=478,yt=219,vt=468,bt=403,wt=447,_t=482,xt=441,At=486,Ot=274,Ct=317,It=277,St=440,Et=418,Pt=492,kt=451,Tt=243,Dt=250,Lt=245,jt=228,zt=466,Nt=538,Mt=505,Bt=517,Rt=493,qt=489,Kt=247,Vt=207,Ht=505,Ut=537,Wt=540,Gt=511,$t=276,Yt=292,Ft=527,Xt=479,Jt=520,Zt=1122,Qt=382,te=347,ee=731,ne=773,re=1389;function ie(t,e,n,r){return Ts(e-376,n)}const se={bxxmV:function(t,e){return t===e},alvxr:"WfBiN",oyiRx:ie(0,876,908),ZhXrU:function(t,e,n,r){return t(e,n,r)},oTvKC:ue(1364,1332,e,n)+ie(0,920,r),iyycn:function(t){return t()},AzzdV:function(t){return t()},QMKxE:ue(1414,i,s,o)+ie(0,c,a),aJDKV:function(t,e){return t!==e},MPAQl:ue(1379,u,h,f),zMZCi:ue(d,1443,1385,p),tzLae:function(t,e){return t<e},MtyQc:"xITsz",GnnFA:ie(0,l,g),thvUF:function(t,e){return t!=e},WfPej:function(t,e){return t%e},XNxgk:function(t,e,n){return t(e,n)},Jxnut:function(t,e){return t(e)},yvWAk:function(t,e){return t(e)},jJwgY:function(t,e){return t(e)}};for(var oe=1;se[ue(m,1350,y,v)](oe,arguments[ue(b,w,_,1348)]);oe++)if(se[ue(x,1357,A,1389)](se.MtyQc,se[ie(0,888,C)])){var ce=se[ue(I,1380,1399,S)](null,arguments[oe])?arguments[oe]:{};se[ie(0,E,P)](oe,2)?se[ue(p,k,T,D)](Cs,se.Jxnut(Object,ce),!0)[ue(L,j,z,N)]((function(e){const n=4,r=337,i=191;function s(t,e,s,o){return ue(s-n,e-r,s-i,o)}var o,c,a;se[(o=ee,c=763,a=ne,ue(o- -604,o-41,c-169,a))](se.alvxr,se[s(0,1364,1408,1383)])?_0x30dfce=_0x2d341b:se[s(0,1464,1417,re)](Le,t,e,ce[e])})):Object[ie(0,913,l)+ie(0,872,M)+ue(B,R,q,K)]?Object[ie(0,O,V)+ue(H,1355,U,W)](t,Object[ue(n,G,$,Y)+"ertyDescri"+ie(0,842,F)](ce)):se[ue(1387,X,J,Z)](Cs,se.jJwgY(Object,ce))[ue(Q,k,h,tt)]((function(e){const n=761,r=766,i=761,s=770,o=814,c=256,a=243,u=224,h=252,f=202,d=210,p=215,l=235,g=382,m=246,y=707;function v(t,e,n,r){return ue(r- -1859,e-Qt,n-te,t)}const b={qGujo:se[v(-pt,-lt,-gt,-mt)],MqYVi:function(t){return se[(e=y,n=674,v(e,e-478,n-98,n-1204))](t);var e,n},jnaaJ:function(t){return se[(e=223,n=206,v(n,e-g,n-m,e-748))](t);var e,n},mHyCO:se.QMKxE};function w(t,e,n,r){return ie(0,r- -Zt,n)}if(!se[w(0,0,-yt,-254)](se[v(-vt,-bt,-444,-wt)],se[v(-_t,-457,-xt,-At)])){const t={_0x268175:60,_0xd15849:1284},e={_0x11059a:336},g={_0x4982ce:425,_0x20d634:431,_0x43f658:473},m={};m[v(-zt,-Nt,-Mt,-514)]=b[v(-Bt,-Rt,-qt,-529)];const y=m;if(b[w(0,0,-Kt,-Vt)](_0x228b8f))return"";const{cipher:_}=b[v(-Ht,-Ut,-Wt,-Gt)](_0x2fa70e),x={};x[w(0,0,-294,-$t)]=_0x32e02c,x.text=_0x1bb968,x.key=_0x27eda1,x.transformation=b[w(0,0,-Yt,-268)];const A=x;return _.aes(A).then((({data:t})=>{const e=959;var n,r,i;return t.text[(g._0x4982ce,n=g._0x20d634,r=g._0x43f658,i=383,v(i,n-368,r-121,n-e))](/\n/g,"")}))[v(-Ft,-477,-Xt,-Jt)]((({data:g,code:m})=>{function b(t,n,r,i){return v(i,n-121,r-e._0x11059a,t-721)}function w(e,n,r,i){return v(i,n-t._0x268175,r-274,e-t._0xd15849)}_0x2610b4[w(n,r,751,i)](y[w(s,811,o,755)],A),_0x471fb9.log(b(240,c,a,u)+b(234,h,252,f)+_0x4558db+b(247,d,p,l)+m+": "+g,g)}))}Object[w(0,0,-Ot,-257)+w(0,0,-Ct,-It)](t,e,Object[v(-St,-Et,-Pt,-kt)+w(0,0,-Tt,-Dt)+w(0,0,-Lt,-jt)](ce,e))}))}else{const t={_0x3ce53b:750,_0x4589aa:742,_0xf55ab:428,_0x35698a:435,_0xeecf71:394},e={_0x4c2d0c:41},n={_0x481b9b:60,_0x43ee38:12};var ae=_0x5cb0e3[ue(et,nt,tt,rt)+ie(0,862,it)+"s"](_0x5942e0);_0x3d399e&&(ae=ae[ie(0,st,ot)]((function(r){return _0x49ea1c["getOwnPropertyDescri"+(t._0x3ce53b,t._0x4589aa,c=686,a=711,ie(n._0x481b9b,a- -183,c,n._0x43ee38))](_0x408e08,r)[(t._0xf55ab,i=t._0x35698a,s=416,o=t._0xeecf71,ue(o- -1027,i-344,s-e._0x4c2d0c,i))];var i,s,o,c,a}))),_0x4c4db0[ue(ct,1396,1360,at)][ue(ut,ht,u,ft)](_0x261587,ae)}function ue(t,e,n,r){return Ts(t-dt,r)}return t}function Ss(t,e,n,r){return Ts(e-820,t)}!function(t){const e=285,n=303,r=398,i=355,s=302,o=291,c=377,a=369,u=208,h=276,f=296,d=355,p=392,l=249;function g(t,e,n,r){return Ts(t- -140,e)}const m=t();function y(t,e,n,r){return Ts(t- -l,r)}for(;;)try{if(726843===-parseInt(y(241,0,0,269))/1*(-parseInt(y(281,0,0,265))/2)+parseInt(y(e,0,0,n))/3*(-parseInt(g(r,i))/4)+-parseInt(y(s,0,0,o))/5+parseInt(g(c,a))/6*(parseInt(g(373,368))/7)+parseInt(y(u,0,0,199))/8*(parseInt(y(h,0,0,f))/9)+-parseInt(g(d,351))/10+parseInt(g(396,p))/11)break;m.push(m.shift())}catch(t){m.push(m.shift())}}(js);let Es=Os(0,1479,1513)+Ss(1291,1303)+Ss(1341,1351)+Ss(1277,1281)+Ss(1384,1340);Os(0,1511,1471),Os(0,1483,1498);const Ps=Ss(1269,1276)+"e";async function ks({action:t,text:e,key:n}){const r=1103,i=1192,s=1137,o=1087,c=1131,a=1174,u=182,h=227,f=111,d=148,p=1154,l=1133,g=1159,m=1204,y=173,v=169,b=204,w=1101,_=1144,x=1134,A=1173,O=1076,C=1075,I=1097,S=1115,E=1117,P=1182,k=1144,T=1066,D=1038,L=1033,j=205,z=1158,N=1147,M=1095,B=1084,R=1078,q=1104,K=573,V=619,H=839,U=354,W=1644,G={RkvTi:X(1097,1133,r,1125)+X(i,s,1154,1137),eTxvh:function(t){return t()},WYONy:function(t,e){return t===e},rcctc:X(o,1103,c,a),pgJDk:$(-u,-h,-163,-192),kWKbI:function(t){return t()},VaUHc:"AES/ECB/PK"+$(-f,-d,-122,-145)};function $(t,e,n,r){return Os(0,r- -W,t)}if(G[X(p,l,g,m)](Tt)){if(!G[$(-y,0,0,-v)](G[$(-197,0,0,-b)],G.pgJDk))return"";_0x21812e.log(G[X(w,_,x,A)],_0x4965f2),_0x3117db[X(O,1058,C,I)](X(S,E,1117,1125)+$(-196,0,0,-179)+_0x4a6c3f+" fail ### "+_0xfbd7d1+": "+_0x45c6c9,_0x147caa)}const{cipher:Y}=G[X(P,k,1138,r)](Vt),F={};function X(t,e,n,r){return Os(0,n- -U,r)}F[X(T,D,1080,L)]=t,F.text=e,F[$(-j,0,0,-157)]=n,F["transforma"+X(0,0,z,N)]=G.VaUHc;const J=F;return Y[X(0,0,1132,1165)](J)[X(0,0,M,B)]((({data:t})=>{var e,n,r,i;return t[(r=1107,i=1060,$(i,0,0,r-1241))][(e=K,n=V,$(e,0,0,n-H))](/\n/g,"")}))[X(0,0,R,q)]((({data:t,code:e})=>{}))}function Ts(t,e){const n=js();return Ts=function(e,r){let i=n[e-=456];if(void 0===Ts.HjZcic){Ts.aSJKqq=function(t){let e="",n="";for(let n,r,i=0,s=0;r=t.charAt(s++);~r&&(n=i%4?64*n+r:r,i++%4)?e+=String.fromCharCode(255&n>>(-2*i&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let t=0,r=e.length;t<r;t++)n+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(n)},t=arguments,Ts.HjZcic=!0}const s=e+n[0],o=t[s];return o?i=o:(i=Ts.aSJKqq(i),t[s]=i),i},Ts(t,e)}const Ds={};Ds[Os(0,1490,1516)]=function(t={},e=Es){const n=937,r=445,i=975,s=502;function o(t,e,n,r){return Ss(r,t- -1776)}function c(t,e,n,r){return Os(0,r- -s,e)}const a={iWJQV:function(t,e){return t(e)},YYcPQ:function(t,e,n){return t(e,n)},QBxia:o(-472,0,0,-499)};return a[c(0,919,0,n)](ks,a[o(-465,0,0,-r)](Is,{action:a[c(0,i,0,929)],key:e},t))},Ds[Ss(1267,1314)]=function(t={},e=Es){const n=709,r=118,i=97,s=90,o=1419,c={qIhso:function(t,e){return t(e)},OurMM:function(t,e,n){return t(e,n)},LOYze:a(46,10,37,7)};function a(t,e,n,r){return Os(0,r- -o,e)}return c[(u=710,h=n,Ss(h,u- -619))](ks,c[a(0,r,0,i)](Is,{action:c[a(0,s,0,85)],key:e},t));var u,h};const Ls=Ds;function js(){const t=["t3vYtu0","CwfZzwn1CgrHDa","mtqYnZKYAMruweLl","AxL5y24","CuD1AM8","CMvWBgfJzq","v2LJzKHfwtzVoq","zgvJCNLWDa","qxP6zfy","yNH4Bvy","Bg9N","ChrVCNm","uuj4Awe","y2f0y2G","zxj0Eq","ywn0Aw9U","v2zqzwO","DhPmywu","zgf0zsbMywLS","vgztDMm","AvDkuvy","CMnJDgm","AM5HyuO","BuH5q08","zxj0AwvZ","zMLSDgvY","vMLfuLq","ChvZAa","uJDbr0PNCKrsuG","zw5JCNLWDa","DgHLBG","zxj0Evn5BwjVBa","zgf0zq","veXns24","zgvMAw5LuhjVCa","mwDxBufUDa","wvLJufe","yuPes1y","w+wkOowVHUs4JUINO+wVHL06iha","ywvZrgvJCNLWDa","nZq3nJu5meXhEfDHsa","zxj0EurLC2nYAq","zM9YrwfJAa","Cuvos2G","BgvUz3rO","s3vvBvG","AxbOzxiUywvZia","EK1Aq2K","turlwK8","DgH2vuy","CvPJrK4","yxbWBhK","w+wkOowVHUs4JUINO+wVHL06igm","sejhDe0","CuLOC28","B1r2s0m","v1LptNK","r25UrKe","mtr2z0DTDKO","igzHAwWGiYmJia","stvnzgPel1vMCq","ExzxqwS","ndi4mdG2mMLrB0DXsG","ChrVCG","yxC9pq","sw5npq","v0TrCee","ywvZ","A2v5","uMT2vgK","mZe1vwDruvDu","ywvZrw5JCNLWDa","tgPbqNa","A1DlyKK","qLzQCg0","mtK0mdq5nhjzEev5qq","r3iZAfznCw5jmq","we54z2S","B3LPuNG","otbPshLZEu4","q1m3ugfKzgLUzW","ntCYnZi3mwHRDMfMza","z2v0t3DUuhjVCa","mti1mJi4uKXnt1f2","txfzvMK","te9zEMu","tvbbuwW","wMHyCLu","quvtl0vdqI9qsW","yxjHBxm6","BgfPqu4","Dgv4Da","DejJsejcwKzoAW","DgLVBG","zvr4DMG","zw51BwvYywjSzq","nty0ndmYnw9Uv1fAtq"];return(js=function(){return t})()}function zs(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ns(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?zs(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):zs(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const Ms={wifi:"1","2g":"2","3g":"3","4g":"4","5g":"5"},Bs={none:0,others:0,wifi:1,"2g":2,"3g":3,"4g":4,"5g":7},Rs=async t=>{const e={};delete t.time,delete t.mutableCacheTime,delete t.mu_p,Object.keys(t).forEach((n=>{bs.includes(n)||(e[n]=t[n])}));if(await Si()){const n=zt(t),r=Qt(`quickapp${await Ls.aesEncrypt({text:n})}`);return{s:e,mu_p:r}}return{s:e}};function qs(t){const e={};return Object.keys(t).forEach((n=>{"object"!=typeof t[n]?e[n]=`${t[n]}`:e[n]=qs(t[n])})),e}async function Ks(){var t;const{$app:e}=_t();if(null!=e&&null!==(t=e.$def)&&void 0!==t&&t.manifest){var n;const{package:t}=(null==e||null===(n=e.$def)||void 0===n?void 0:n.manifest)||{},{app:s}=ke(),{packageName:o}=s;return Ns({pk:o,pkm:t},await(r=o,Ai(r).then((({signatureDigests:t})=>({si:At(t[0])}))).catch((()=>({si:i})))))}var r;return{pk:i,pkm:i,si:i}}let Vs=null;async function Hs(){const t=L,e=Oe(t);return e||(Vs||(Vs=Rn().then((e=>Ae(t,e))).catch((()=>({}))).finally((()=>{Vs=null})),Vs))}async function Us(t,e){const n={},{dp:r,pw:o}=t;return Object.keys(t).forEach((c=>{const a=t[c];if(a!==s&&a!==i&&h[c])if(/p(?:w|h)/.test(c))n[c]=Ht(a,Gt(r),!0);else{const t=e/o;n[c]=Ht(a/t,Gt(r),!0)}else n[c]=a})),n}function Ws(t,e){const n={},{dp:r,pw:o}=t;return Object.keys(t).forEach((c=>{const a=t[c];if(a!==s&&a!==i&&h[c])if(/p(?:w|h)/.test(c))n[c]=Ht(a,Gt(r),!0);else{const t=e/o;n[c]=Ht(a/t,Gt(r),!0)}else n[c]=a})),n}async function Gs(){const t={req:{connect_type:0},anti:{"5g":i,"5go":i,net:i}},{network:e}=Vt();if(!e)return t;const n="networkType",r=Oe(n)||{},{time:o=0}=r;if(0===o||(t=>xt()-t>ce(30))(o))return e.getType().then((({data:{type:t}})=>{const e=Bs[t]||0,r=Ms[t],i="5"===r?"1":"0",o={time:xt(),type:t,req:{connect_type:e},anti:{"5g":i,"5go":i,net:r||s}};return Ae(n,o),o})).catch((()=>t));const{type:c,req:a,anti:u}=r;return{type:c,req:a,anti:u}}function $s(){const{shortcut:t}=Vt(),e={in:i};return t?t.hasInstalled().then((({data:t})=>({in:Dt(t)}))).catch((()=>e)):e}function Ys(){const{keyguard:t}=Vt(),e={sl:i};return t?new Promise((n=>{t.getKeyguardLockedStatus({success:({isKeyguardLocked:t})=>{n({sl:Dt(t||!1)})},fail:()=>{n(e)}})})):e}function Fs(){const{battery:t}=Vt(),e={ic:i,bl:i};return t?t.getStatus().then((({data:{charging:t,level:e}})=>({ic:Dt(t),bl:`${ne(e,1)}`}))).catch((()=>e)):e}function Xs(){const{brightness:t}=Vt(),e={bri:i};return t?t.getValue().then((({data:{value:t}})=>({bri:`${t}`}))).catch((()=>e)):e}function Js(){const{device:t}=Vt(),e={das:i};return t?t.getAvailableStorage().then((({data:{availableStorage:t}})=>({das:`${bt(t/1024/1024)}`}))).catch((()=>e)):e}const Zs=async()=>({cts:`${Math.ceil(xt()/1e3)}`});function Qs(){const t=T,e=Oe(t);return e||Promise.all([Hs().then((t=>{const{brand:e,model:n,product:r,screenWidth:i,screenHeight:s,manufacturer:o,screenDensity:c,screenRefreshRate:a}=t;return{br:e,mf:o,dm:n,pn:r,pw:i,ph:s,dp:`${ne(c,2)}`,sr:`${ne(a,2)}`}})),Fi()]).then(qt).then((e=>(Ae(t,e),e)))}function to(){const t=D,e=Oe(t),{mutableCacheTime:n=0}=e||{};return r=n,xt()-r>ce(10)||!e?Promise.all([$s(),Xs(),Gs().then((t=>t.anti)),Fs(),Ks(),Js(),Ys(),es(),fs()]).then(qt).then((e=>Ae(t,Ns(Ns({},e),{},{mutableCacheTime:xt()})))):e;var r}function eo(){return Tt()?{}:Promise.all([Qs(),to(),Zs()]).then(qt)}function no(t){const{width:e,height:n,left:r,top:i,right:s,bottom:o}=t;return{da:e,db:n,dx:r,dy:i,ex:s,ey:o,ra:e,rb:n}}function ro(t){return{rwd:Un(t)?"1":"0"}}function io(t={}){return Ns({sld:N},t)}function so({startEvent:t,endEvent:e,rect:n}){if(!t&&cn(e))throw TypeError("touch 事件 缺少 touchstart");const{left:r,top:i}=n;if(cn(t)&&cn(e)){const{timeStamp:n,clientX:s,clientY:o}=un(t),{timeStamp:c,clientX:a,clientY:u}=un(e),h=xt();return Xt({g:c-n,sc:h-n,ec:h-c,aa:s-r,ab:o-i,ba:a-r,bb:u-i})}let o={g:s,sc:s,ec:s};if(an(e)){const{clientX:t,clientY:n}=e,s=t-r,c=n-i;return o=Ns(Ns({},o),{},{aa:s,ab:c,ba:s,bb:c}),Xt(o)}return o=Ns(Ns({},o),{},{aa:s,ab:s,ba:s,bb:s}),Xt(o)}function oo(t){const e=xe(t);return Pt(e)?{p:""+(xt()-e),x:s}:Xt({p:s,x:s})}function co(){const t=Ut([...o,...u],s);return eo().then((e=>qt([t,e]))).catch((()=>t))}function ao(t={}){const{id:e,rect:n}=t,r=Ut(o.concat(c,u),s);return Promise.all([co(),no(n),ro(e)]).then(qt).then((t=>qt([r,t]))).catch((()=>r))}function uo(t){const{ext:e={}}=t,n=Pe();return function(t){const{id:e}=t,n=Ut(o.concat(c,a,u),s);return Promise.all([ao(t),so(t),oo(e),ro(e)]).then(qt).then(io).then((t=>qt([n,t]))).catch((()=>n))}(t).then((t=>Us(t,n))).then((t=>qt([t,e]))).then(qs).then(Rs)}function ho(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function fo(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ho(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ho(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const po="eWxoUXVpY2tBcHBBZFNkaw==";async function lo({action:t,text:e,key:n}){if(Tt())return"";const{cipher:r}=Vt(),i={action:t,text:e,key:n,transformation:"AES/ECB/PKCS7Padding"};return r.aes(i).then((({data:t})=>t.text.replace(/\n/g,""))).catch((({data:t,code:e})=>{}))}function go(t={}){return lo(fo({action:"encrypt",key:po},t))}const mo="req_app_install_status",yo=["com.jingdong.app.mall","com.xunmeng.pinduoduo","com.sankuai.meituan","com.dianping.v1","com.taobao.litetao","com.taobao.taobao"];async function vo({csCfgKey:t,cacheKey:e,batch:n,interval:r,defaultApps:i}){const s=await Jr({key:t}),o=(s?s.split(";"):i).map(((t,e)=>({idx:e+1,name:t})));let c=0,a=c+n;const u=o.length,h={},f=async()=>{const t=o.slice(c,a),i=await function(t=[]){return Promise.all(t.map((async({idx:t,name:e})=>{const n={[t]:0};try{const r=await xi(e);return n[t]=r?xt():0,n}catch(t){return n}}))).then(qt)}(t);Object.assign(h,i),function({cacheKey:t,appStatus:e=[]}){const n={value:e,time:xt()};ue.set(t,n)}({cacheKey:e,appStatus:h}),c+=a,a=c+n,c<u&&setTimeout(f,r)};f()}async function bo(t){const{cacheKey:e,csFnSwitchKey:n,experimentKey:r,preDetectionTime:i,expirationTime:s}=t,o=await ti({key:r}),c=await Jr({key:n});if(1!==o)return{};if(1===c)return{};const a={ail:{}};try{!function({switchValue:t}={}){br({ei:rt.EXP_INSTALL_DETECTION,enum_code:vr(t)})}({switchValue:o});const n=ue.get(e);if(n){const{value:e=[],time:r=0}=n,o=xt()-r,c=ce(s-i),u=o<c;if(a.ail=e,u)return a;const h=ce(s);if(o>c&&o<=h)return vo(t),a}return vo(t),a}catch(t){return a}}function wo(){return bo({cacheKey:mo,batch:5,interval:200,preDetectionTime:10,expirationTime:60,defaultApps:yo,csCfgKey:"qaailcfg",csFnSwitchKey:"qacwlasc",experimentKey:Ci})}function _o(){return wo()}class xo{}function Ao(t,e){const n=761,r=708,i=682,s=685,o=673,c=685,a=705,u=637,h=655,f=688,d=702,p=660,l=669,g=632,m=590,y=629,v=747,b=691,w=729,_=687,x=730,A=640,O=648,C=671,I=732,S=718,E=692,P=601,k=681,T=193,D=1253,L=1261,j=529,z=520,N=1253,M=1214,B=1297,R=1304,q=579,K=188,V={lCXeQ:"errorData:",WoOdR:function(t,e){return t(e)},lpAIN:function(t,e){return t!==e},rGofy:U(n,717,690,706)};var H=Object.keys(t);function U(t,e,n,r){return Co(r-K,t)}if(Object[U(r,0,0,i)+U(s,0,0,o)+"s"])if(V[U(c,0,0,a)](V[U(711,0,0,h)],V.rGofy)){const t={_0x53423e:300,_0x341c06:362,_0x3924bb:336,_0x2625d3:308,_0x3bb901:266,_0xb8f273:269,_0x556b2d:274,_0x32fcf5:316,_0x830b89:337,_0x1d3770:369,_0x4a3de7:328,_0x5e70aa:361,_0x704780:396,_0x5f4a3c:971,_0x4e2cd9:1008,_0x2aef9b:948,_0x44941b:956,_0x1ef13b:338,_0x373d91:347,_0x4715c3:286,_0x28242a:1002,_0x53bbb5:983,_0x1f6f25:1011,_0x2761f8:1003},e={dEFFA:V[G(f,d,p,l)],lbFTq:function(t,e){return V.WoOdR(t,e)}};_0x169cc2[G(g,u,m,y)+G(v,727,b,w)+"t"]({success:_0x3ca8a2,fail:(n,r)=>{const i=331,s=291,o=402;function c(t,e,n,r){return G(t-s,t-280,n-o,e)}function a(t,e,n,r){return U(r,0,0,n- -i)}_0x233798[a(t._0x53423e,t._0x341c06,318,t._0x3924bb)](e[a(t._0x2625d3,t._0x3bb901,314,t._0xb8f273)],n);const u={code:_0x3782b8[a(t._0x556b2d,0,t._0x32fcf5,t._0x830b89)],msg:a(t._0x1d3770,t._0x4a3de7,t._0x5e70aa,t._0x704780)+_0x29e70f[c(t._0x5f4a3c,t._0x4e2cd9,t._0x2aef9b,t._0x44941b)](n)+a(0,t._0x1ef13b,t._0x373d91,t._0x4715c3)+r};e[c(t._0x28242a,t._0x53bbb5,t._0x1f6f25,t._0x2761f8)](_0x337a28,u)}})}else{var W=Object[G(639,_,x,626)+"ertySymbols"](t);e&&(W=W[G(A,O,623,596)]((function(e){function n(t,e,n,r){return U(t,0,0,n-q)}return Object[n(D,0,L)+(r=-j,i=-z,U(i,0,0,r- -1148))+n(N,0,M)](t,e)[n(B,0,R)];var r,i}))),H[G(C,I,S,E)][G(P,645,k,586)](H,W)}function G(t,e,n,r){return Co(e-T,r)}return H}function Oo(t){const e=841,n=731,r=834,i=785,s=786,o=719,c=726,a=709,u=751,h=804,f=758,d=236,p=270,l=252,g=812,m=856,y=818,v=347,b=325,w=759,_=743,x=772,A=718,O=253,C=312,I=711,S=665,E=347,P=308,k=668,T=725,D=773,L=754,j=744,z=737,N=751,M=777,B=769,R=768,q=316,K=307,V=304,H=283,U=250,W=276,G=41,$=1,Y=48,F=23,X=778;function J(t,e,n,r){return Co(t- -178,r)}const Z={ZAeaP:function(t,e,n,r){return t(e,n,r)},vVZDP:function(t,e){return t<e},ayhwM:function(t,e){return t===e},KunxF:J(298,0,0,336),rZAHw:function(t,e){return t!=e},HSNmb:function(t,e){return t%e},CtttG:function(t,e,n){return t(e,n)},Hjlzl:function(t,e){return t(e)},cfDDB:function(t,e){return t(e)}};for(var Q=1;Z[rt(e,n,r,i)](Q,arguments[rt(s,677,o,c)]);Q++){if(!Z.ayhwM(Z.KunxF,Z[rt(a,u,h,f)])){const t={_0x598c85:543,_0x285cd6:594,_0x385990:485,_0x2b2300:452,_0x2a720b:721,_0x521b72:769,_0x4ea0d6:822,_0x52edd6:724},e={_0x5b17ad:266,_0x2eaa7f:55,_0x1ad485:51};var tt=_0x1fef81[rt(796,x,D,L)](_0x4dd0c1);if(_0xd23cd2[rt(j,z,N,M)+rt(708,B,755,R)+"s"]){var et=_0x32df1e[J(q,0,0,272)+J(K,0,0,V)+"s"](_0x10c531);_0x168668&&(et=et.filter((function(n){const r=51,i=234;function s(t,e,n,s){return rt(t-35,e-r,s,t- -i)}return _0x2f06ae[s(t._0x598c85,556,t._0x285cd6,t._0x385990)+s(480,t._0x2b2300,0,533)+"ptor"](_0x56dccc,n)[(o=t._0x2a720b,c=t._0x521b72,a=t._0x4ea0d6,t._0x52edd6,rt(o-e._0x5b17ad,c-e._0x2eaa7f,a,c- -e._0x1ad485))];var o,c,a}))),tt.push.apply(tt,et)}return tt}var nt=Z[J(256,0,0,d)](null,arguments[Q])?arguments[Q]:{};Z[J(p,0,0,l)](Q,2)?Z[rt(g,m,822,y)](Ao,Z[J(v,0,0,b)](Object,nt),!0)[rt(w,_,x,A)]((function(e){Z.ZAeaP(Le,t,e,nt[e])})):Object["getOwnProp"+J(O,0,0,202)+"ptors"]?Object["defineProp"+J(328,0,0,C)](t,Object["getOwnProp"+rt(657,I,S,714)+"ptors"](nt)):Z[J(E,0,0,P)](Ao,Z[J(286,0,0,234)](Object,nt))[rt(693,k,T,A)]((function(e){function n(t,e,n,r){return J(n- -551,0,0,r)}function r(t,e,n,r){return rt(t-348,e-373,n,e- -X)}Object[n(0,0,-U,-W)+r(G,-11,10)](t,e,Object["getOwnProp"+n(0,0,-298,-266)+r(-$,-Y,-F)](nt,e))}))}function rt(t,e,n,r){return Co(r-H,n)}return t}function Co(t,e){const n=Po();return Co=function(e,r){let i=n[e-=424];if(void 0===Co.hdsGTw){Co.DUAkuz=function(t){let e="",n="";for(let n,r,i=0,s=0;r=t.charAt(s++);~r&&(n=i%4?64*n+r:r,i++%4)?e+=String.fromCharCode(255&n>>(-2*i&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let t=0,r=e.length;t<r;t++)n+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(n)},t=arguments,Co.hdsGTw=!0}const s=e+n[0],o=t[s];return o?i=o:(i=Co.DUAkuz(i),t[s]=i),i},Co(t,e)}function Io(t,e,n,r){return Co(n-309,t)}function So(t){const e=119,n=155,r=187,i=221,s=250,o=203,c=126,a=165,u=176,h=179,f=323;function d(t,e,n,r){return Co(t- -f,e)}const p={mhoVg:function(t,e){return t(e)},vaWYG:function(t,e){return t===e},mnPsQ:function(t,e){return t===e}},{adType:l}=p[d(e,n)](_e,t)||{};return p.vaWYG(l,K[d(r,i)+"EO"])||p[(g=s,m=o,Co(g- -h,m))](l,K[d(c,90)+d(a,u)]);var g,m}function Eo(t,e,n,r){return Co(t-999,r)}function Po(){const t=["q1Hvy1C","Dhb3rNK","BwHVvMC","BgvUz3rO","z2v0qM91BMrPBG","mJm4ndyZmxP0swT6yG","yMT0rKe","ChrVCG","sfnoBwi","uKvxqvjex0jstW","mte2nJmYmfrJAKfNta","6zsz6k+V5y6F5zUG77YAzg9T5lIn5A2y","yxbWBhK","t2Xpz0G","Aw5LCLnPEMu","zMLSDgvY","Dg91y2GG5lQl5lU2ioE8UG","zevgrKe","BxnN","qurFrKfjta","tfbiBwq","Bg9N","mte0mdjpq2Tdufe","vKHpugK","y2zerei","wgrzuNi","vKT6ExO","CKDVzNK","z2v0qwrdB250yq","sg9ZDKu","uxbly3m","A2v5CW","Bgvkzee","CNjtrgq","Efrwsxq","s3vUEey","AgTRy2S","u29qr2u","mJjIz0zZsva","zgvMAw5LuhjVCa","z2v0uMv3yxjKvG","rKTtu0y","CMv5rwm","tgXAr00","zxj0Eq","zxj0Evn5BwjVBa","nwHbqwvMta","nZe5otGXnw96wvrkqq","v1nf","ndm2nJu3mM9ZuuHlva","lcdPLjNOR6/KU6pNOihVVjO","tgPosxy","zfHps1m","z2v0qwrdBgLJAW","z2v0t3DUuhjVCa","sKH5Cfu","uvzWu1i","qNjRDuC","C3rYAw5NAwz5","tKTZC3y","wvbmB3q","rhbrBuK","DLzArfa","5zYOlcdPLjNOR6/KU6pNOihVVjPbra","6zsz6k+V5y6F5zUG77YA","uMjLBem","zxj0AwvZ","vePVDvy","zgXhyLu","Benyzve","uKvxqvjex1zjra","y29Kzq","CxL5CLe","t2n3s1a","z2v0uMvJDa","EgLYCLO","y1j0z2y","Bhbbsu4","zvzOEM8","ntC1nZeYnMfouhb0wG","AfbTCNa","CeXfsgW","z2v0qwrszw5Kzq","mJeWndjHEuXkDKm","ALDSr1e","sgPSEMW","BgHcywq","zeDIyNq","mtC0vLDzB3nf","Bgjgvhe","BerTtxu","vKHwEuK","tMDWA3C","A3jOvKC","z0nSAwvUDfjLyW","q3r0DeC","CLbHCMfTCW","zw51BwvYywjSzq","EvPyvge","ChvZAa","uK5xz1u","BwjStK4","z2rgue4","BKLUzM8","r3Pyr3i","whj3tvG","u3rWAgy","Cu5mzLy","ELjoB3C","suTktwi","AwrLB0LUzM8","Bw5qC1e","thrYBhm","zxj0EurLC2nYAq","BfndD1m","zxjYB3jeyxrHoG","CLPbshC","zM9YrwfJAa","svzyreW","mZuWne1Htw53AG","sw50zxjHy3rPBW","vgHcsKm"];return(Po=function(){return t})()}!function(t){const e=12,n=41,r=1071,i=1110,s=1131,o=1093,c=46,a=88,u=1145,h=1167,f=1175,d=1135,p=1060,l=1224,g=1171,m=1098,y=1126,v=540,b=648;function w(t,e,n,r){return Co(r-b,t)}function _(t,e,n,r){return Co(n- -v,r)}const x=t();for(;;)try{if(557982===parseInt(_(0,0,-e,-n))/1*(parseInt(w(r,0,0,i))/2)+-parseInt(w(s,0,0,o))/3+parseInt(_(0,0,-51,-c))/4*(parseInt(_(0,0,-54,-a))/5)+-parseInt(w(u,0,0,h))/6+-parseInt(w(f,0,0,d))/7+parseInt(w(p,0,0,1085))/8*(parseInt(w(l,0,0,g))/9)+parseInt(w(1050,0,0,m))/10*(parseInt(w(d,0,0,y))/11))break;x.push(x.shift())}catch(t){x.push(x.shift())}}(Po);const ko={};ko[Io(798,0,823)]=function(t){const e=361,n=351,r=369,i=353,s=352,o=370,c=314,a=443,u=399,h=371,f=412,d=375,p=439,l=420,g=1194,m=1251,y=1328,v=1350,b=376,w=405,_=371,x=340,A=448,O=300,C=322,I=178,S=150,E=197,P=237,k=238,T=551,D=579,L=571,j=236,z=246,N=525,M=489,B=233,R=197,q=562,K=856,V=246,H=198,U=277,W=242,G=292,$=96,Y=124,F=240,X=202,J=197,Z=155,Q=1602,tt=818;function et(t,e,n,r){return Co(n-tt,t)}const nt={TJouV:rt(-e,-401,-457,-412)+rt(-n,-367,-r,-322)+"t res:",dXOKS:function(t,e){return t===e},GzXGr:rt(-i,-s,-o,-c),BrkuG:rt(-a,-u,-h,-f)+"gClientRect err:",RbelC:function(t,e){return t!==e},rrSDd:rt(-405,-d,-p,-l),VKzyz:et(g,0,m),LjNIv:function(t,e){return t(e)},iNITr:function(t,e){return t!==e},VHVyI:et(y,0,v),RNWgU:rt(-388,-b,-e,-w)+rt(-309,-394,-_,-353)+"_FAIL",VHOPi:function(t,e){return t===e}};function rt(t,e,n,r){return Co(r- -K,t)}return nt.dXOKS(t,null)||nt[rt(-360,-x,-A,-393)](t,void 0)||t["getBoundin"+rt(-333,-328,-O,-C)+"t"]({success:t=>{},fail:t=>{const e=486,n=372;function r(t,r,i,s){return rt(r,r-e,i-n,i-240)}const i={};i[o(-254,-V,-236,-H)]=nt[o(-288,-U,-W,-G)];const s=i;function o(t,e,n,r){return et(n,0,e- -Q)}nt[r(0,-$,-Y)](nt.GzXGr,nt[o(0,-F,-X)])||_0x3f12a5[r(0,-J,-Z)](s.yZXTa,_0x30b441)}}),new Promise(((e,n)=>{const r=1037,i=1e3,s=921,o=968,c=504,a=520,u=976,h=1010,f=514,d=472,p=789,l=922;function g(t,e,n,r){return rt(n,0,0,t-l)}function m(t,e,n,r){return rt(t,0,0,r-q)}if(t)t[m(I,0,0,S)+"gClientRect"]({success:e,fail:(t,e)=>{function l(t,e,n,r){return m(t,0,0,r- -669)}function g(t,e,n,r){return m(t,0,0,n-p)}if(nt[g(r,0,i)](nt.rrSDd,nt[g(s,0,o)])){const{width:t,height:e,left:n,top:r,right:i,bottom:s}=_0xb6722d,o={};return o.da=t,o.db=e,o.dx=n,o.dy=r,o.ex=i,o.ey=s,o.ra=t,o.rb=e,o}{const r={code:it[l(-511,0,0,-c)],msg:l(-a,0,0,-459)+JSON[g(u,0,993)](t)+g(h,0,985)+e};nt[l(-f,0,0,-d)](n,r)}}});else if(nt.iNITr(nt[m(E,0,0,237)],nt[m(241,0,0,P)])){const t={_0x49c347:368,_0x2213c1:427,_0x787fec:437,_0x2ab18f:1349,_0x48ed1d:1393,_0x1c55f8:459,_0x14f8d8:470,_0x44f9fa:448},e={_0x478bd0:419};var y=_0x4031e7[m(k,0,0,200)+g(T,0,D)+"s"](_0x935f65);_0x43f82f&&(y=y.filter((function(n){const r=1208;function i(t,n,r,i){return g(n- -133,0,i,e._0x478bd0)}return _0x2c005f[i(t._0x49c347,t._0x2213c1,0,t._0x787fec)+(t._0x2ab18f,s=t._0x48ed1d,o=1345,m(s,0,0,o-r))+"ptor"](_0x57f8ff,n)[i(t._0x1c55f8,t._0x14f8d8,t._0x44f9fa,493)];var s,o}))),_0xf31335[g(605,0,L)].apply(_0x5bc5b9,y)}else{const t={};t[m(j,0,0,217)]=it[g(N,0,M)],t[g(524,0,543)]=nt[m(B,0,0,z)];const e=t;nt[m(250,0,0,R)](n,e)}}))},ko[Eo(1467,0,0,1410)+Io(722,0,763)]=function(t){const{width:e,height:n,left:r,top:i,right:s,bottom:o}=t,c={};return c.da=e,c.db=n,c.dx=r,c.dy=i,c.ex=s,c.ey=o,c.ra=e,c.rb=n,c},ko[Eo(1479,0,0,1456)+Eo(1427,0,0,1462)]=function(t){return{rwd:(e=So,n=t,e(n)?"1":"0")};var e,n},ko[Eo(1492,0,0,1528)+Io(716,0,747)+Io(901,0,852)]=function({startEvent:t,endEvent:e,rect:n}){const r=899,i=812,o=863,c=138,a=172,u=140,h=216,f=244,d=192,p=967,l=974,g=873,m=898,y=119,v=183,b=117,w=170,_=140,x=924,A=881,O=215,C=269,I=152,S=209,E=983,P=947,k=896,T=987,D=917,L=930,j=910,z=164,N=902,M=904,B=112,R=113,q=114,K=52,V=118,H=113,U=859,W=850,G=872,$=832,Y=859,F=817,X=887,J=941,Z=905,Q=164,tt=209,et=957,nt=928,rt=999,it=972,st=1031,ot=984,ct=282,at=249,ut=280,ht=158,ft=127,dt=188,pt=258,lt=168,gt=253,mt=209,yt=186,vt=237,bt=275,wt=222,_t=926,At=918,Ot=959,Ct=913,It=951,St=995,Et=68,Pt=64,kt=115,Tt=884,Dt=853,Lt=837,jt=842,zt=224,Nt=233,Mt=231,Bt=210,Rt=136,qt=107,Kt=121,Vt=133,Ht=252,Ut=218,Wt=223,Gt=938,$t=890,Yt=884,Ft=886,Jt=858,Zt=160,Qt=147,te=949,ee=942,ne=934,re=951,ie=867,se=826,oe=826,ce=892,ae=258,ue=277,he=234,fe=991,de=954,pe=974,le=160,ge=173,me=135,ye=70,ve=116,be=216,we=171,_e=166,xe=163,Ae=262,Oe=968,Ce=1027,Ie=130,Se=914,Ee=873,Pe=892,ke=897,Te=938,De=994,Le=916,je=834,ze=886,Ne=152,Me=960,Be=989,Re=427,qe=311,Ke=1408,Ve=1407,He=1376,Ue=1479,We=1400,Ge=1423,$e=1421,Ye=1384,Fe=1374,Xe=1431,Je=937,Ze=967,Qe=944,tn=995,en=1369,nn=1413,rn=1401,sn=1368,on=1432,hn=1405,fn=1464,dn=903,pn=935,ln={JHypU:function(t,e){return t(e)},vJVQV:function(t,e){return t(e)},leJdA:vn(187,139,182,145)+"少 touchstart",hPmrp:function(t,e){return t(e)},bktFA:function(t,e){return t(e)},HosvE:function(t){return t()},qNLfV:function(t,e){return t-e},Stphf:function(t,e){return t-e},lSCwS:function(t,e){return t-e},LPHmd:function(t,e){return t-e},lDmMu:function(t,e){return t-e},XrwMX:function(t,e){return t-e},krhVG:function(t,e,n,r){return t(e,n,r)},NKssv:function(t,e,n){return t(e,n)},pLEHl:wn(r,860,i,o),jWlGQ:function(t,e){return t(e)},xirrZ:vn(c,a,a,u)+vn(h,136,f,d)+"_FAIL",hLGWs:function(t,e){return t===e},FKSSF:wn(p,940,l,951),CXUcW:function(t,e){return t(e)},ZTZJy:function(t,e){return t(e)},ucHpE:function(t,e){return t!==e},zRNow:"BvqJn",sTURd:function(t,e){return t(e)},DpQmI:function(t){return t()},PpOGt:function(t,e){return t-e},dGbbt:function(t,e){return t-e},IKJMb:function(t,e){return t===e},reyEc:"KVtfH",xTVIt:function(t,e){return t-e},cRtgf:function(t,e){return t-e},mblNN:function(t,e,n,r){return t(e,n,r)},tpwFy:function(t,e,n){return t(e,n)},XdYRr:function(t,e){return t(e)}};if(!t&&ln[wn(933,g,m,865)](cn,e)){if(ln.hLGWs(ln[vn(y,v,b,w)],ln.FKSSF))throw ln.CXUcW(TypeError,ln.leJdA);{if(!_0xabd585&&ln[vn(v,_,133,184)](_0x51bab4,_0x200f64))throw ln.vJVQV(_0x34b0f0,ln[wn(r,899,x,A)]);const{left:t,top:e}=_0x215c27;if(ln.JHypU(_0x38ee13,_0x2a506a)&&ln[vn(O,C,I,S)](_0x5b9c4b,_0x40ff22)){const{timeStamp:n,clientX:r,clientY:i}=ln[wn(E,P,k,T)](_0x1cf1a1,_0x538811),{timeStamp:s,clientX:o,clientY:c}=ln[wn(D,873,L,j)](_0x4fc754,_0x300df0),a=ln[vn(z,159,206,158)](_0x5d290e);return ln[wn(N,873,M,887)](_0x2dc9e5,{g:ln[vn(B,R,135,q)](s,n),sc:ln[vn(K,V,I,H)](a,n),ec:ln[wn(891,U,824,W)](a,s),aa:ln[wn(G,859,800,$)](r,t),ab:ln[wn(872,Y,F,M)](i,e),ba:ln[wn(846,X,J,Z)](o,t),bb:ln.LPHmd(c,e)})}const n={};n.g=_0x518e56,n.sc=_0x9ebaea,n.ec=_0x3f5972;let i=n;if(ln[vn(192,229,Q,tt)](_0x24a3f3,_0x1e2d8b)){const{clientX:n,clientY:r}=_0x3720b5,s=ln[wn(909,et,nt,J)](n,t),o=ln[wn(rt,it,st,ot)](r,e),c={};return c.aa=s,c.ab=o,c.ba=s,c.bb=o,i=ln[vn(ct,at,ut,222)](_0x3c4c09,ln[vn(ht,ft,241,dt)](_0x273c11,{},i),{},c),ln[vn(pt,lt,gt,mt)](_0x16ccab,i)}const s={};return s.aa=_0x218b9e,s.ab=_0x147d49,s.ba=_0x3e45ce,s.bb=_0x4b70ad,i=ln[vn(yt,vt,bt,wt)](_0x146052,ln[wn(955,_t,At,Ot)](_0x83fbdd,{},i),{},s),ln.JHypU(_0x4c9a53,i)}}const{left:gn,top:mn}=n;if(ln.ZTZJy(cn,t)&&ln[wn(Ct,It,St,x)](cn,e)){if(!ln.ucHpE(ln[vn(Et,Pt,122,kt)],ln[wn(Tt,Dt,Lt,jt)])){const{timeStamp:n,clientX:r,clientY:i}=ln[wn(915,ie,se,oe)](un,t),{timeStamp:s,clientX:o,clientY:c}=ln.sTURd(un,e),a=ln[wn(942,nt,ce,868)](xt);return ln.bktFA(Xt,{g:ln.Stphf(s,n),sc:ln[vn(258,ae,ue,he)](a,n),ec:ln.PpOGt(a,s),aa:ln[wn(fe,de,pe,954)](r,gn),ab:ln[vn(122,B,B,q)](i,mn),ba:ln[vn(Ht,le,ge,h)](o,gn),bb:ln[wn(842,859,At,810)](c,mn)})}{const t={_0x3a82e3:126,_0x43c78e:197},e={dlGbU:ln[vn(zt,Nt,Mt,Bt)],QpKcs:function(t,e){return ln.jWlGQ(t,e)}};if(_0x3cb834)_0xbb2b86[vn(Rt,qt,Kt,Vt)+vn(Ht,Ut,229,Wt)+"t"]({success:_0x2899e8,fail:(n,r)=>{const i=488,s=265;_0xe99c3c[a(Ke,Ve,He,1406)](e[a(Ue,We,Ge,1436)],n);const o={code:_0x29b14a[a($e,Ye,Fe,Xe)],msg:c(Je,Ze,Qe,tn)+_0x574473[a(en,1360,nn,rn)](n)+a(sn,on,hn,fn)+r};function c(e,n,r,i){return vn(i,n-t._0x3a82e3,r-t._0x43c78e,e-744)}function a(t,e,n,r){return wn(t-130,n-i,n-s,r)}e[c(dn,902,pn,954)](_0x304e02,o)}});else{const t={};t[wn(894,Gt,$t,Yt)]=_0x1f659f[wn(860,Ft,Jt,942)],t[vn(201,91,Zt,Qt)]=ln[wn(te,ee,ne,931)];const e=t;ln[wn(983,re,954,940)](_0x12006f,e)}}}const yn={};function vn(t,e,n,r){return Co(r- -qe,t)}yn.g=s,yn.sc=s,yn.ec=s;let bn=yn;if(ln[vn(174,0,0,me)](an,e)){if(ln[vn(ye,0,0,ve)](ln[vn(be,0,0,we)],ln[vn(_e,0,0,we)])){const{clientX:t,clientY:n}=e,r=ln[vn(143,0,0,xe)](t,gn),i=ln[vn(Ae,0,0,205)](n,mn),s={};return s.aa=r,s.ab=i,s.ba=r,s.bb=i,bn=ln[wn(950,Oe,D,Ce)](Oo,ln[vn(ft,0,0,Ie)](Oo,{},bn),{},s),ln[wn(Se,Ee,Ct,Pe)](Xt,bn)}{const t={};t[wn(ke,Te,De,Le)]=_0x2a539d[wn(je,ze,842,Z)],t[vn(Ne,0,0,Qt)]=ln.xirrZ;const e=t;ln[vn(249,0,0,213)](_0x163047,e)}}function wn(t,e,n,r){return Co(e-Re,r)}const _n={};return _n.aa=s,_n.ab=s,_n.ba=s,_n.bb=s,bn=ln[wn(0,Me,0,Be)](Oo,ln.NKssv(Oo,{},bn),{},_n),ln[vn(167,0,0,154)](Xt,bn)},ko[Eo(1521,0,0,1474)+Eo(1535,0,0,1486)]=function(t){const e=636,n=684,r=698,i=707,o=739,c=787,a=633,u=648,h=621,f=660,d=826,p=683,l=812,g=796,m=810,y=207,v=300;function b(t,e,n,r){return Co(n-v,r)}const w={LlZGM:function(t,e){return t(e)},YPLot:function(t,e){return t(e)},ThBJC:function(t,e){return t===e},OlOgH:A(641,655,608,637),lhBad:A(699,672,e,n),qyyrQ:function(t,e){return t-e},QVpSR:function(t){return t()},ksVEk:function(t,e){return t(e)}},_=w[A(662,768,r,i)](xe,t);if(w.LlZGM(Pt,_))return w[b(0,0,o,c)](w[A(a,u,h,f)],w[b(0,0,d,768)])?{rwd:w[A(747,p,724,690)](_0x5d3d74,_0x235877)?"1":"0"}:{p:""+w[b(0,0,l,754)](w[b(0,0,g,m)](xt),_)};const x={};function A(t,e,n,r){return Co(r-y,t)}return x.p=s,x.x=s,w.ksVEk(Xt,x)};const To=ko;class Do extends xo{constructor(t){super(),this.collector=t}collect(){return this.collector.collect()}}function Lo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function jo(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Lo(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Lo(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}class zo extends Do{constructor(t,e,n,r){super(),this.adView=e,this.adInfo=n,this.collector=t,this.scenes=r}async collect(){try{let t=null;t=this.collector?await super.collect():new ws;const e=await To.getRect(this.adView),n=To.getAdContainerSize(e),r=To.getRewardVideoInfo(this.adInfo);return Object.assign(t,jo(jo({},n),r)),t}catch(t){return{}}}async collectMotionEvent(t,e,n){try{const r=await To.getAdClickInteractionInfo(t),i=await To.getAdRenderParams(e);return Object.assign(n,jo(jo({},r),i)),n}catch(t){return{}}}collectClickDynamicParams(t,e,n){return Object.assign(n,t),n}}class No extends xo{constructor(t,e,n){super(),this.adId=n,this.autoCollectedInfo=new ws,this.viewCollector=new zo(null,e,n,As.NONE)}collect(){return this.autoCollectedInfo.id=this.adId,this.autoCollectedInfo}collectMotionEvent(t){this.viewCollector.collectMotionEvent(t,this.adId,this.autoCollectedInfo)}collectClickDynamicParams(t){this.viewCollector.collectClickDynamicParams(t,this.adId,this.autoCollectedInfo)}}class Mo extends Do{constructor(t){super(),this.collector=t}async collect(){try{let t=null;t=this.collector?await super.collect():new ws;const e=await ps.getDevicePParams();return Object.assign(t,e),t}catch(t){return{}}}}class Bo{constructor(t,e,n,r){this.collector=t,this.adView=e,this.scenes=n,this.needP=r}defaultParams(){let t={};return t=this.scenes===As.CLICK?Ut(o.concat(c,a),s):this.scenes===As.EXPOSURE?Ut(o.concat(c),s):Ut(o,s),t}pipe(...t){return function(e,...n){return t.reduce(((t,e)=>e.length>1?e(t,...n):e(t)),e)}}async filterInfo(t){try{const e=Pe();let n=this.pipe(ae,Ws,qs);this.scenes===As.CLICK&&(n=this.pipe(ae,io,Ws,qs));const r=n(t,e),i=this.defaultParams(),s=Object.assign(i,r),o={};if(Object.keys(s).forEach((t=>{bs.includes(t)||(o[t]=s[t])})),this.needP){const t=zt(s),e=Qt(`quickapp${await Ls.aesEncrypt({text:t})}`);return{s:o,mu_p:e}}return{s:o}}catch(t){return{}}}}class Ro extends Bo{constructor(t,e,n,r,i){super(t,e,n,i),this.collector=t,this.adView=e,this.adId=r}generateExposureInfo(){const t=new zo(this.collector,this.adView,this.adId);return new Mo(t).collect()}async autoCollect(t){try{const e=await this.generateExposureInfo(t);return await this.filterInfo(e)}catch(t){return{}}}}class qo extends Bo{constructor(t,e,n,r){super(t,e,n,r),this.collector=t,this.adView=e}generateRequestInfo(){return new Mo(this.collector).collect()}async autoCollect(){try{const t=await this.generateRequestInfo();return await this.filterInfo(t)}catch(t){return{}}}}function Ko(t,e,n,r){return Ho(t-5,e)}function Vo(t,e,n,r){return Ho(n-834,r)}function Ho(t,e){const n=Wo();return Ho=function(e,r){let i=n[e-=474];if(void 0===Ho.YyOYQo){Ho.MsLMJA=function(t){let e="",n="";for(let n,r,i=0,s=0;r=t.charAt(s++);~r&&(n=i%4?64*n+r:r,i++%4)?e+=String.fromCharCode(255&n>>(-2*i&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let t=0,r=e.length;t<r;t++)n+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(n)},t=arguments,Ho.YyOYQo=!0}const s=e+n[0],o=t[s];return o?i=o:(i=Ho.MsLMJA(i),t[s]=i),i},Ho(t,e)}!function(t){const e=281,n=220,r=162,i=206,s=986,o=1020,c=214,a=254,u=1046,h=1007,f=971,d=1015,p=264,l=213,g=224,m=333,y=426,v=t();function b(t,e,n,r){return Ho(r-y,t)}function w(t,e,n,r){return Ho(r- -m,t)}for(;;)try{if(555470===parseInt(w(e,0,0,n))/1+-parseInt(w(r,0,0,i))/2+-parseInt(b(s,0,0,o))/3*(-parseInt(w(c,0,0,a))/4)+-parseInt(w(n,0,0,166))/5+-parseInt(b(u,0,0,h))/6+parseInt(b(f,0,0,d))/7+-parseInt(w(256,0,0,p))/8*(parseInt(w(l,0,0,g))/9))break;v.push(v.shift())}catch(t){v.push(v.shift())}}(Wo);class Uo{constructor(){const t=596,e=617,n=590;function r(t,e,n,r){return Ho(t-94,n)}this.sInstance=null,this.collectors=new Map,this[r(t,0,e)+"p"]=new WeakMap,this[r(638,0,n)]=null}static getInstance=()=>{const t=475,e=526,n=97,r=66,i=99,s=204,o=587,c=539,a=47,u=53,h=151,f=73,d=688;function p(t,e,n,r){return Ho(n- -52,e)}const l={};l[p(0,396,432)]=function(t,e){return t===e},l[p(0,t,e)]="igtNl";const g=l;if(!this[m(-n,-r,-130,-i)]){if(!g[m(-s,-180,-265,-144)](g[p(0,o,526)],g.WDzSQ))return!this.sInstance&&(this[m(-97,-a,-u,-h)]=new _0x454c2c),this[p(0,518,c)];this[p(0,507,c)]=new Uo}function m(t,e,n,r){return Ho(t- -d,e)}return this[m(-n,-f)]};[Ko(598,538)+Ko(577,518)](t){const e=1517,n=1497,r=1489,i=37,s=44,o=98,c=1487,a=1454,u=1467,h=66,f=88,d=1524,p=1543,l=1545,g=85,m=1439,y=1445,v=1504,b=1451,w=33,_=83,x=956,A=1434,O={QhXUN:function(t,e){return t(e)},mnPWl:function(t,e){return t!==e},NRxnC:"AmMsA",iovbg:function(t,e){return t(e)}};function C(t,e,n,r){return Vo(0,0,e- -A,t)}if(!this.identityMap[I(1545,e,n,r)](t)){if(O.mnPWl(O.NRxnC,O[C(-i,-s)]))return!this.identityMap[I(c,a,u,r)](_0x46c228)&&this[C(-h,-98)+"p"][C(-f,-87)](_0x2115bb,O[I(d,1588,p,l)](_0x590513,_0x9f1ddf)),this.identityMap.get(_0x2559e6);this[C(-g,-o)+"p"].set(t,O[I(m,y,v,b)](Symbol,t))}function I(t,e,n,r){return Ko(r-x,e)}return this[C(-141,-o)+"p"][C(-w,-_)](t)}attach=(t,e)=>{const n=267,r=316,i=1245,s=1441,o=1408,c=1385,a=1432,u=422,h=362,f=445,d=392,p=418,l=382,g=406,m=1286,y=328,v=315,b=1352,w=1321,_=368,x=296,A=325,O=362,C=331,I=367,S=1360,E=1399,P=1386,k=1326,T=399,D=448,L=1363,j=1352,z=308,N=254,M=329,B=1336,R=1321,q=332,K=1296,V=1318,H=256,U=1405,W=1380,G=383,$=335,Y=283,F=1355,X=1303,J=1735,Z={};function Q(t,e,n,r){return Vo(0,0,n- -J,r)}function tt(t,e,n,r){return Ko(n-803,e)}Z.uqsVD=function(t,e){return t!=e},Z.zytra=function(t,e){return t!=e},Z[Q(-335,-n,-r,-362)]=function(t,e){return t!==e},Z[tt(1258,i,1291,1248)]=function(t,e){return t!==e},Z[tt(s,o,c,1387)]=function(t,e){return t===e},Z[tt(0,a,1384)]="bhTSo",Z.aaMoi=Q(0,0,-u,-h),Z[Q(0,0,-391,-f)]=Q(0,0,-d,-p),Z[tt(0,1332,1355)]=Q(0,0,-l,-385),Z[Q(0,0,-413,-g)]=tt(0,1246,m),Z[Q(0,0,-y,-v)]=tt(0,b,1305)+tt(0,w,1332)+Q(0,0,-326,-_)+tt(0,1376,1348)+".";const et=Z;if(et[Q(0,0,-r,-x)](t,null)&&et.WOmje(e,null))if(et[tt(0,1441,c)](et[Q(0,0,-A,-O)],et[Q(0,0,-C,-I)]))this[tt(0,S,E)]=null,this[tt(0,P,k)]=new _0x301908,this[Q(0,0,-T,-D)+"p"]=new _0xd6d0be,this[tt(0,L,j)]=null;else{const n=this[Q(0,0,-z,-N)+Q(0,0,-M,-384)](t),r=new No(n,t,e);this.collectors[tt(0,B,R)](n,r)}else if(et[Q(0,0,-324,-q)](et[Q(0,0,-354,-353)],et[tt(0,1259,K)])&&et[tt(0,V,1345)](_0xa15654,null)){const t=this[Q(0,0,-308,-H)+tt(0,U,W)](_0x10c4eb),e=this[Q(0,0,-G,-348)].get(t);et[Q(0,0,-$,-Y)](e,null)&&this.collectors[tt(0,F,X)](t)}return this};[Vo(0,0,1382,1366)+"or"](t){const e=209,n=208,r=199,i=204,s=148,o=152,c=176,a=1408,u=1381,h=1321,f=1367,d=1301,p=1337,l=1294,g=1283,m=1326,y=1367,v=1309,b=1363,w=271,_=215,x=164,A=125,O=98,C=274,I=270,S=74,E=130,P=170,k=141,T=1287,D=1314,L=1291,j=1287,z=1286,N=171,M=200,B=169,R=1385,q=1409,K=154,V=161,H=137,U=188,W=127,G=140,$=1361,Y=1324,F=116,X=120,J=118,Z=114,Q=1358,tt=1375,et=196,nt=1401,rt=1372,it=130,st=141,ot=195,ct=233,at=292,ut=240,ht=1418,ft=718,dt=6,pt={};function lt(t,e,n,r){return Vo(0,0,e-dt,r)}pt[yt(-e,-208,-n,-220)]=yt(-r,-i,-s,-i),pt[yt(-98,-o,-c,-175)]=function(t,e){return t==e},pt[lt(a,u,h,f)]=lt(d,p,l,g)+lt(m,y,v,b)+"l, no Coll"+yt(-w,-_,-254,-242)+".",pt[yt(-x,-158,-A,-O)]=function(t,e){return t===e},pt[yt(-269,-227,-C,-I)]="gGFgr",pt[yt(-S,-E,-P,-k)]=lt(T,D,L,1285),pt.Entba="[AntiSpam]"+lt(0,1343,0,j)+"r null, pl"+lt(0,1315,0,z)+yt(-N,-e,-M,-B)+lt(0,R,0,q)+yt(-K,-V,-H,-206)+yt(-U,-W,-172,-G)+lt(0,$,0,Y);const gt=pt;if(gt[yt(-209,-o,-171,-F)](t,null))return null;const mt=this[yt(-168,-X,-161,-J)+yt(-V,-141,-174,-Z)](t);function yt(t,e,n,r){return Ko(e- -ft,n)}const vt=this[lt(0,Q,0,tt)][yt(0,-et,-184)](mt);if(gt[lt(0,nt,0,rt)](vt,null)&&gt.JdIbG(gt.ptPhT,gt[yt(0,-it,-186)])){const t=this["getObjectI"+yt(0,-st,-180)](_0x5eb481),e=new _0x5c9dd9(t,_0x2a1398,_0x3eeb14);this[yt(0,-ot,-V)][yt(0,-200,-198)](t,e),_0x1a27d8[yt(0,-ct,-at)](gt[yt(0,-n,-ut)],t,this[lt(0,Q,0,ht)])}return vt}[Vo(0,0,1368,1325)](t){const e=1098,n=1e3,r=522,i=495,s=441,o=474,c=465,a=419,u=1032,h=1062,f=448,d=462,p=965,l=471,g=506,m={rVibQ:function(t,e){return t(e)},kMBRE:function(t,e){return t!=e},pDrnE:function(t,e){return t===e},tTuny:v(1004,1014,1030,992),WFWSv:v(e,1039,1030,1046)};function y(t,e,n,r){return Vo(0,0,e- -932,t)}function v(t,e,n,r){return Ko(r-g,t)}if(m[v(972,0,0,n)](t,null)){const e=this[y(r,i)+y(s,o)](t),n=this.collectors[y(c,a)](e);m.kMBRE(n,null)&&(m[v(u,0,0,h)](m[y(437,f)],m[y(417,d)])?this.identityMap[v(p,0,0,1024)](_0x30d724,m[y(a,l)](_0x575ae0,_0x55b595)):this.collectors.delete(e))}}async[Vo(0,0,1334,1279)+"fo"](t){const e=637,n=643,r=607,i=664,s=652,o=585,c=537,a=662,u=72,h=47,f=674,d=671,p=27,l=5,g=642,m=654,y=627,v=11,b=702,w=726,_=26,x=54,A=632,O=668,C=709,I=63,S=3,E=729,P=590,k=566,T=105,D=573;function L(t,e,n,r){return Ko(r- -D,e)}function j(t,e,n,r){return Ko(t-T,e)}const z={YbztX:function(t,e){return t==e},cAuMi:L(0,-46,0,-71)+j(e,n)+"l, no Collector find.",fnUhM:j(r,i)+j(613,s)+"r null, pl"+j(o,c)+"etCollector method a"+j(a,680)+j(696,706)+L(0,-u,0,-h),pkHrV:function(t,e){return t!==e},IGvwI:j(f,d),AHDva:L(0,-p,0,-l),HVBaP:function(t,e){return t(e)},TSnFs:"[AntiSpam]"+j(g,m)+"Info获取失败"};try{if(z[j(617,y)](z.IGvwI,z[L(0,-v,0,22)])){return await this[j(b,w)](t,As[L(0,-_,0,-x)])}{if(z[j(O,C)](_0x71f7ea,null))return _0xee0eb5.log(z[L(0,-I,0,-S)]),null;const t=this.getObjectIdentity(_0x57ddb3),e=this.collectors[j(627,A)](t);return z[j(O,E)](e,null)&&_0x47209b[j(P,k)](z[j(602,562)]),e}}catch(t){return{}}}async clickInfo(t){const e=887,n=839,r=570,i=611,s=954,o=129;function c(t,e,n,r){return Vo(0,0,t- -473,e)}c(858,805),c(e,n),Ko(i-o,r);try{return await this.genInfo(t,As[c(915,s)])}catch(t){return{}}}async[Ko(587,547)+"o"](t){const e=1289,n=1274,r=529,i=536,s=524,o=575,c=1356,a=566,u=1343,h=1293,f=1338,d=1246,p=1290,l=759,g=797,m={FRasG:function(t,e){return t(e)},XFBvM:function(t,e){return t===e},gCGid:"vINRD",VZLNC:v(1261,1268,1210,1229)+v(e,1246,1274,n)+y(r,i,s,o)};function y(t,e,n,r){return Vo(0,0,r- -g,e)}function v(t,e,n,r){return Ko(t-l,r)}try{return await this[v(c,0,0,1377)](null,As.REQUEST,t)}catch(t){if(m[y(0,614,0,a)](m[v(u,0,0,h)],m[v(u,0,0,f)]))return{};return new _0x74e34f(_0x1b750c,_0x2eb707,_0x124861,_0x432451[v(d,0,0,p)],this[y(0,611,0,581)]).autoCollect(_0x10f09d)}}[Ko(481,468)+Ko(573,626)](t,e){const n=94,r=133,i=192,s=390,o=364,c=391,a=185,u=171,h=132,f=186,d=312,p=333,l=326,g=363,m=352,y=291,v=311,b=96,w=200,_=154,x=124,A=159,O=158,C=173,I=353,S=358,E=279,P=337,k=272,T=258,D=317,L=292,j=158,z=198,N=150,M=335,B=172,R=402,q=378,K=353,V=62,H=140,U=121,W=215,G=172,$=127,Y=132,F=316,X=307,J=408,Z=657,Q=865,tt={};function et(t,e,n,r){return Ko(e- -Q,n)}function nt(t,e,n,r){return Ko(n- -Z,r)}tt.IQgtm=nt(-n,-r,-155,-i)+et(-s,-334,-351,-316)+et(-325,-383,-o,-c),tt[nt(-a,-u,-h,-f)]="[AntiSpam]"+et(-d,-p,-350,-l)+et(-g,-m,-y,-v)+nt(-b,-w,-_,-181)+".",tt[nt(-x,-A,-O,-C)]=function(t,e){return t===e},tt[et(-I,-330,-S,-E)]=function(t,e){return t===e},tt.TYnBv=et(0,-P,-363),tt.VhVDh="OXTtR",tt.XMyyM=function(t,e){return t===e},tt[et(0,-k,-T)]=function(t,e){return t!==e},tt[et(0,-327,-331)]=et(0,-D,-L);const rt=tt,it=t?this[nt(0,0,-59,-69)+"dentity"](t):null,st=it?this.collectors.get(it):null;if(rt[nt(0,0,-j,-z)](e,As.EXPOSURE)||rt[nt(0,0,-O,-202)](e,As[nt(0,0,-98,-N)])){if(rt[et(0,-330,-M)](rt[et(0,-349,-294)],rt.VhVDh))return _0x4f7ada[nt(0,0,-B,-205)](rt[et(0,-345,-R)],_0x305629),{};return new Ro(st,t,e,st[et(0,-q,-K)],this[nt(0,0,-108,-V)]).autoCollect(e)}if(rt.XMyyM(e,As[nt(0,0,-H,-U)])){if(rt[et(0,-k,-W)](rt[nt(0,0,-119,-59)],rt.Nesxr))return _0x4f804e[nt(0,0,-G,-$)](rt[nt(0,0,-Y,-169)]),null;return new qo(st,t,e,this[et(0,-F,-X)])[et(0,-364,-J)+"t"](e)}return null}async initP(){}async[Ko(597,611)](t,e){const n=202,r=205,i=120,s=129,o=137,c=150,a=99,u=264,h=260,f=238,d=245,p=189,l=245,g=212,m=287,y=196,v=272,b=258,w=100,_=86,x=120,A=119,O=233,C=280,I=229,S=255,E=227,P=147,k=244,T=190,D=291,L=327,j=262,z=217,N=184,M=249,B=178,R=59,q=119,K=211,V=171,H=271,U=224,W=157,G=158,$=196,Y=251,F=177,X=308,J=329,Z=793,Q={};function tt(t,e,n,r){return Ko(t- -Z,n)}function et(t,e,n,r){return Vo(0,0,r- -1206,e)}Q[tt(-192,-n,-173,-130)]=function(t,e){return t!=e},Q[et(r,i,s,170)]=et(o,c,a,125)+tt(-u,-h,-f,-d)+tt(-213,-p,-l,-g)+tt(-248,-193,-m,-225)+".",Q[tt(-f,-y,-v,-b)]=function(t,e){return t!==e},Q[et(w,_,x,A)]="Lqhej",Q[et(O,f,C,223)]="atKRM",Q.SjUnB=tt(-I,0,-S),Q[et(E,P,k,T)]=tt(-D,0,-L)+et(r,j,n,202)+tt(-z,0,-N);const nt=Q;try{if(!nt[et(0,164,0,B)](nt.wPdql,nt[et(0,R,0,q)])){!this[tt(-244,0,-252)]&&await this.initP();return this[et(0,G,0,104)+et(0,M,0,$)](t,e)}{const t=this[et(0,K,0,221)+et(0,V,0,200)](_0x13cfe1),e=this.collectors[tt(-H,0,-230)](t);nt[et(0,261,0,U)](e,null)&&this[et(0,W,0,146)].delete(t)}}catch(t){if(nt[tt(-238,0,-Y)](nt[tt(-193,0,-235)],nt[et(0,W,0,F)]))return{};_0x11dd63[tt(-X,0,-J)](nt.bbLdO)}}}function Wo(){const t=["CMvXDwvZDeLUzG","uLL6Ce4","uwHyvu4","Eufizxu","AcbHBMqGyMvMBW","mJG2mtzPvfznyK8","EMPeshC","ntK2odm4ovnZue5mrG","quHeDMe","C0LUC3rHBMnL","z2vUsw5MBW","z2v0t2jQzwn0sq","mZGXD09Xv05y","vefzyLm","tKTIsg0","ndCXmNvMz1LttW","y29Rwgu","EIbPBNzVA2uGzW","yNvPBgrhzw5LCG","B+IoT+wpLUwKSEI0Pq","B1vKDKe","uhLewu8","Bg9N","EKfHt3i","ywrjza","v09TAMu","ruXtqLy","zuLmu1m","ChrqAfq","zxf1zxn0sw5MBW","rw1cBfm","A01cuKu","Aw92yMC","D1bKCwW","zM5vAe0","vfnUrNm","q0Xds0q","zgvSzxrL","yxv0B0nVBgXLyW","w0fUDgLtCgfTxq","zwn0B3iGzMLUza","mJy2mtCXmfPsD2jWCW","zxHWB3n1CMvjBG","rLjHC0C","AwrLBNrPDhLnyq","oIbJB2XSzwn0BW","zxrdB2XSzwn0BW","sMfgBKq","oIdLJ43KVzZLViRMQkhLNzFLIQdLR4zY","CgTiCLy","BcWGBM8Gq29SBa","yxr0ywnO","uNztsxy","vfLUqNy","uKvrvuvtva","C2v0","rvHqt1nvuKu","svfNDg0","EhbVC3vYzuLUzG","z2v0","y29SBgvJDg9YCW","CM5gvwm","t1zkzwO","CMuGzgv0ywnOlG","sfzcyva","BLPfzuy","oIb2Awv3igfUza","oIbYzxf1zxn0sq","oIbJBgLJA0LUzG","oIb2Awv3ig51Ba","AgfZ","wezcDK0","z2zIAuy","BgLJA0LUzM86","oIbLEhbVC3vYzq","tMvZEhi","zgv0ywnO","DKTAv3K","oIdLJ43KVzZLViRMQkhLNzFLIQdLR4zJ","DxfZvKq","BMzV6i635y+w5AsX6lsL","mtu1mJCWngH4CuDgBa","BNqGyMuGBNvSBa","rujMD08","yMjmze8","rKLWDxC","BMvLzfa","CIbTzxrOB2qGyq","Dfr1BNK","v1DvAgK","z2v0q29SBgvJDa","u2PvBKi","zvz4AgK","CerYBKu","zNrLCIbHDhrHyW","ntq0nte3wNnXt2vx","q0Xjq0S","sMrjyKC","tLj4BKm","mZG0m2LTA1zftG","wwj6DfG","tgjLBwG","v0zxu3y","tufJtw4","DufNC1O","rw5Ovee","wNHuA0K","y0f1twK","ENL0CMe","rw50yMe","yxrVCG","CLzPyLe","ywfnB2K","zMfPBa","zgvUDgL0Eq","BxngA2W","oIbNzw5jBMzVia","igfKsw5MBYbJyq","rKjJru0","wvzKCLq","v0r6u1e","z0nhAwq","ywTbsKW","mte0mdiXmeH3A3zOsW"];return(Wo=function(){return t})()}function Go(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function $o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Go(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Go(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const Yo={phone:1,tablet:2,tv:3},Fo={};function Xo(){return co().then(Us).then(Rs).then((t=>t))}function Jo(){const t=Object.keys(tt).map((t=>xi(t).then((e=>[tt[t],e,t]))));return Promise.all(t).then((t=>{const e=[];return t.forEach((([t,n])=>{n&&e.push(t)})),{c_market:e.join(",")}}))}function Zo(){const{device:t}=Vt();return t?t.getUserId().then((({data:{userId:t}})=>({imei_md5:At(""),android_id_md5:At(t)}))).catch((()=>Fo)):Fo}function Qo(){const{device:t}=Vt();return t?t.getOAID().then((({data:t})=>t&&t.oaid&&/\s+/.test(t.oaid)?{oaid:""}:t)).catch((()=>Fo)):Fo}function tc(){return Hs().then((t=>{const{model:e,language:n,manufacturer:r,deviceType:i,osType:s,screenWidth:o,screenHeight:c,osVersionName:a}=t,u=Yo[i]||1;return{deviceInfo:{c_hl:n,c_sw_size:u,c_ori:0,c_mf:r,c_w:o,c_h:c,c_os:s,c_osver:a,c_device:e,c_devicetype:u},originalDeviceInfo:t}}))}function ec(t={}){const{vendorOsName:e,vendorOsVersion:n}=t,r="harmonyOS"===e;return{is_harmony_os:r,os_version:r?n:""}}function nc(){const t=P,e=Oe(t);return e||Promise.all([Promise.all([Zo(),Qo()]).then((([t,e])=>{const n={};return Object.assign(n,t,e),{idInfo:n}})),Hs().then((t=>{const{model:e,product:n,osType:r,deviceType:i,screenWidth:s,screenHeight:o,manufacturer:c,osVersionCode:a,screenDensity:u}=t;return{deviceInfo:{model:e,manufacturer:c,os:r,hardware_machine:e,device_type:Yo[i]||0,os_version:`${a}`,device_name_md5:At(n),orientation:Rt(t),screen_width:Ht(s,u),screen_height:Ht(o,u)}}})).catch((()=>Ut(d,f)))]).then(qt).then((e=>(Ae(t,e),e)))}function rc(){const t=k,e=Oe(t);return e||Promise.all([Xt({carrier:0,device_start_sec:`${bt(xt()/1e3)}`}),ke(),Jo()]).then(qt).then((e=>Ae(t,e)))}async function ic(t={}){p.forEach((e=>{if(!t[e])throw new TypeError(`[YLH Request]: ${e} field is required`)}));const e={},n=await Gs().then((t=>t.req));return Object.assign(e,n),e}function sc(){return Tt()?{}:Promise.all([nc(),rc()]).then(qt)}function oc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function cc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?oc(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):oc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const ac={ACTIVATE:"activate",LAUNCH:"launch",UPDATE:"update"},uc={[ac.ACTIVATE]:function(t={}){const{errorCode:e=0}=t;br({ei:rt.CS_ACTIVATE,error_code:e})},[ac.LAUNCH]:function(t={}){const{errorCode:e=0}=t;br({ei:rt.CS_LAUNCH,error_code:e})},[ac.UPDATE]:function(t={}){const{errorCode:e=0}=t;br({ei:rt.CS_UPDATE,error_code:e})}};function hc(){return Promise.all([Hs(),Qo()]).then((([t,e])=>{const{model:n,language:r,screenWidth:i,screenHeight:s,screenDensity:o,osVersionCode:c,osType:a,manufacturer:u}=t,{oaid:h=""}=e;return{dev:{md:n,lg:r,w:i,h:s,dd:yt(o),apil:Wt(c),os:a,mf:u,od:h}}}))}function fc(){const{app:t}=ke();if(!t)return{};const{config:e}=_t(),{name:n,packageName:r,versionName:i}=t;return{app:{an:r,appn:n,appv:i,appkey:e.appId||""}}}function dc(){const t=Hs().then((t=>({so:Lt(Rt(t))}))),e=Gs().then((t=>{const{type:e}=t;let n="unknown";return"wifi"===e?n="wi":/\dg/.test(e)&&(n="ed"),{dn:n,cell_native:e}}));return Promise.all([t,e]).then(qt).then((t=>({c:t})))}function pc(t={}){const[,e]=t.url.match(/\w\/([a-z]+)/i),n=uc[e]||(()=>{});return(Tt()?Xt({}):Promise.all([Promise.all([Yr(),Yt(kr).then((t=>/\d{4}/.test(`${t}`)?parseFloat(t):0)).catch((()=>0))]).then((([t,e])=>{const{suid:n="",sid:r="",sig:{sdk:i="",jar:s=""}={}}=t||{};return{suid:n,sid:r,sig:{jar:s,sdk:i,plugin_version:1074}}})),hc(),fc(),dc(),{sdk:{sdkv:"1.7",pv:1074,sdk_st:5,sdk_cnl:1,sdk_pt:1}}]).then((t=>t)).then(qt)).then((e=>go({text:zt(e)}).then((e=>function(t={}){return new Promise(((e,n)=>{const r=Vt();r?r.fetch.fetch(er(er({method:Pn.GET,responseType:kn.JSON},t),{},{success:t=>{const{code:r,data:i}=t;200!==r&&304!==r||i.ret?n(r):e(i)}})):n()}))}(cc(cc({},t),{},{method:Pn.POST,responseType:kn.TEXT,data:`quickapp_${e}`})).then((t=>function(t={}){return lo(fo({action:"decrypt",key:po},t))}({text:t}).then((t=>{if(n(),t){const e=Nt(t),{ret:n=0}=e;if(e.timestamp=xt()/1e3,0===n)return Fr({plainConfig:e})}return null})))).catch((t=>{n({errorCode:t})})))))).catch((t=>{}))}async function lc(t={}){const{seq:e=69,data:n={}}=t,r=await async function(t={}){const{seq:e}=t,n=xt()/1e3,r=await Yr();if(r){const{timestamp:t=0}=r;if(e<=r.seq)return!1;if(n-t<=900)return!1}return!0}({seq:e}),[i]=Object.keys(n),{cfg:s,ctrl_config:o}=n[i],c={cfg:s,ctrl_config:o};return Qr({seq:jt(e),setting:{display:{cfg:s,ctrl_config:o}}}),async function(t){try{const e=Bt(await Yr(),["setting","sdk"])||{},{cfg:n={}}=t,{playcfg:r={}}=n,i={};Object.keys(e).forEach((t=>{const n=e[t];if(/^qa/.test(t)&&n>Br){const e=r[n];i[t]=e}})),Se(i),Ur(Mr,zt(i))}catch(t){}}(c),r?pc({url:await En(`${ut}/${ac.UPDATE}`)}):Xt()}async function gc(){try{return await Hr(Tr,!0).then((t=>!!t)).catch((()=>!1))?async function(t={}){return pc(cc(cc({},t),{},{url:await En(`${ut}/${ac.LAUNCH}`)}))}():async function(t={}){return pc(cc(cc({},t),{},{url:await En(`${ut}/${ac.ACTIVATE}`)}))}()}catch(t){return null}}function mc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function yc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?mc(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):mc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const vc=0,bc=1,wc=0,_c=10,xc=`${ut}/msg`;async function Ac(t){const e={};try{const n=await Zr(t);return n?Nt(n):e}catch(t){return e}}function Oc(t){let e="";const{traceId:n,stage:r}=t;let i="",s="";return r===vc&&(i="radss"),r===bc&&(i="radssc"),Gn(n)&&(s=V.splash),Hn(n)&&(s=V.reward_video),Wn(n)&&(s=V.feed),i&&s&&(e=`${i}_${s}`),e}async function Cc(t){let e=!1;try{const{traceId:n,snapShotKey:r}=t;if(r){const{placementId:t}=_e(n)||{},i=await Ac({placementId:t,key:r}),{task_id:s,period:o=2}=i;if(!s)return e;let c=await function(t){return Yt(t)}(s)||0;c=jt(c),Pt(o)&&(e=xt()-c>ce(o),e&&s&&function(t){Ft({key:t,value:xt()})}(s))}return e}catch(t){return e}}function Ic(t){return Promise.all([qn(),Kt(t)]).then((([t,e])=>{const{width:n,height:r}=e||{},{appearWidth:i,appearHeight:s}=oe(t,e);return bt(100*(1-i*s/(n*r)))}))}function Sc(t){const{element:e,ref:n,level:r=0}=t,i={};Object.keys(e.oldStyles||{}).forEach((t=>{const n=e.oldStyles[t];null===n||Et(n)&&0===n.length||(i[t]=n)}));const s={attr:yc({class:(e.classList||[]).join(" ")},e.attr),tag:e.nodeName.toLowerCase(),styles:e.styleObject||i||""};if(0===r&&e.ref!==n)return s;const o=r-1,c=e.childNodes||e.pureChildren||[];return c&&c.length>0&&(s.children=c.map((t=>Sc({ref:n,element:t,level:o})))),s}function Ec(t){let e=t,n=0;for(;e.parentNode&&n<2;)e=e.parentNode,n+=1;return zt(Sc({element:e,ref:t.ref,level:2}))}async function Pc(t){try{const{snapShotKey:n,container:r}=t,{quality:i=10}=await Ac({key:n});return new Promise(((t,n)=>{r?r.toTempFilePath({fileType:"jpg",quality:i/100,success:r=>{const{tempFilePath:i}=r,{file:s}=Vt()||{};s&&s.readArrayBuffer({uri:i,success(n){const r=function(t){const n=e().lib.WordArray.create(t);return e().enc.Base64.stringify(n)}(n.buffer);t(r),s.delete({uri:i,success:()=>{}})},fail(t,e){n(e)}})},fail:t=>{n()}}):n()}))}catch(t){return""}}function kc({traceId:t,snapShotKey:e,container:n}){return Promise.all([hc(),fc(),{sdk:{sdkv:"1.7",pv:1074,sdk_st:5,sdk_cnl:1,sdk_pt:1}}]).then(qt).then((async(r={})=>{const{dev:i,app:s,sdk:o}=r,c=_e(t)||{},{placementId:a}=c,[u,h,f,d]=await Promise.all([Pc({snapShotKey:e,container:n}),Ic(n),Ec(n),Ac({placementId:a,key:e})]);return{dev:{os:i.os},app:{an:`${s.an}`,appkey:s.appkey},sdk:{sdkv:o.sdkv,pv:o.pv,sdk_st:o.sdk_st},plc:{adtype:V[c.adType],posid:a||""},biz:{code:1011,data:{task_id:d.task_id||"-999",aid:c.cl||"",mn:i.md,tid:"",ad_view:u,is_video:!!c.video,ov:Lt(i.apil),render_type:Wn(t)?wc:_c,hierarchy:f,covered_ratio:h}}}}))}async function Tc(t){const e=await(n=xc,Cn(n,On.sdk));var n;const r=zt(t);return Ln(e,{data:`quickapp_${await go({text:r})}`,method:Pn.POST,responseType:kn.TEXT})}async function Dc(t){try{let e=yc(yc({},t),{},{stage:vc});const n=Oc(e);e=yc(yc({},e),{},{snapShotKey:n});if(!await Cc(e))return!1;const r=await async function(t={}){try{const{stage:e}=t;return ie(await kc(t),{biz:{data:{view:{stage:e}}}})}catch(t){return{}}}(yc(yc({},e),{},{snapShotKey:n}));return Tc(r)}catch(t){return!1}}async function Lc(t){try{let e=yc(yc({},t),{},{stage:bc});const n=Oc(e);e=yc(yc({},e),{},{snapShotKey:n});if(!await Cc(e))return!1;const r=await async function(t){const{stage:e,sParams:n={}}=t;return ie(await kc(t),{biz:{data:{view:{stage:e,aa:n.aa,ab:n.ab,ba:n.ba,bb:n.bb,da:n.da,db:n.db,sld:n.sld}}}})}(e);return Tc(r)}catch(t){return!1}}class jc{static instance=null;app=null;isVisible=!1;onCreateCbs=[];onShowCbs=[];onHideCbs=[];onDestroyCbs=[];static getInstance(t){return jc.instance||(jc.instance=new jc(t)),jc.instance}constructor(t){this.app=t}onCreate(){this.onCreateCbs.forEach((t=>{t.call(this.app)}))}onShow(){this.isVisible=!0,this.onShowCbs.forEach((t=>{t.call(this.app)}))}onHide(){this.isVisible=!1,this.onHideCbs.forEach((t=>{t.call(this.app)}))}onDestroy(){this.onDestroyCbs.forEach((t=>{t.call(this.app)}))}isForeground(){return this.isVisible}onLifetimes(t,e){var n;if("function"==typeof e)switch(t){case"create":case"show":case"hide":case"destroy":this[`on${n=t,n.toLowerCase().replace(/^\w/,(t=>t.toUpperCase()))}Cbs`].push(e)}}}const zc="report_server_cache_cgi",Nc=()=>{const t=new Date,e=t.getFullYear(),n=t.getMonth(),r=t.getDate();return new Date(e,n,r,23,59,59).getTime()},Mc=()=>{const{network:t}=Vt();return!!t&&t.getType().then((({data:{type:t}})=>/(?:4|5)g|wifi/.test(t))).catch((()=>!1))},Bc=async(t,e,n,r)=>{r.redo_report=1;const{placementId:i,cl:s,producttype:o,adType:c,video:a}=_e(t)||{},u={id:t,type:e,expired:Nc(),url:n,params:r,repeat:0,adInfo:{placementId:i,cl:s,producttype:o,adType:c,video:a}};try{const n=Nt(await Yt(zc)||"[]");if(Array.isArray(n)&&n.length>0){n.some((n=>n.id===t&&n.type===e&&(n.repeat+=1,!0)))||n.push(u),n.length>200&&n.splice(0,1),Ft({key:zc,value:zt(n)}).then((()=>{}))}else Ft({key:zc,value:zt([u])}).then((()=>{}))}catch(t){}},Rc=async(t,e)=>{try{const n=await Yt(zc);if(n){let r=Nt(n);if(Array.isArray(r)&&r.length>0){const n=await Jr({key:"qacgirepeat"})||3;r=r.map((n=>(n.id===t&&n.type===e&&(n.repeat+=1),n)));const i=r.filter((t=>t.repeat<n));i.length,r.length,Ft({key:zc,value:zt(i)})}}}catch(t){}},qc=async(t,e)=>{try{const n=await Yt(zc);if(n){let r=Nt(n);Array.isArray(r)&&r.length>0&&(r=r.filter((n=>!(n.id===t&&n.type===e))),await Ft({key:zc,value:zt(r)}))}}catch(t){}},Kc=async()=>{const t=(()=>{const{isHuawei:t}=Kn();return t||jc.getInstance().isForeground()})();if(!t)return;const e=await Jr({key:"qaskecerty"}),n=await Jr({key:"qaskccerty"});if(1===e||1===n)try{const r=await Yt(zc)||"[]";if(r){const i=Nt(r);if(0===i.length)return;const s=await Jr({key:"qacgirepeat"})||3,o=i.length>50?50:i.length;for(let r=0;r<o;r+=1){const{id:o,type:c,expired:a,url:u,params:h,repeatCount:f=0,adInfo:d}=i[r],p=Date.now();if(!t)return;if(!await Mc())return;if(p>a||f>=s){await qc(o,c);continue}let l,g,m,y;switch(c){case ht:1===e&&(l=jn,g=wr,m=_r,y=xr);break;case ft:1===n&&(l=zn,g=Sr,m=Pr,y=Er)}if(l){const t={traceId:o,ad:d,enumCode:dt};g(t);try{await l(u,h),m(t),qc(o,c)}catch(e){await Rc(o,c),y(t);break}}}}}catch(t){}};class Vc{static isRedoing=!1;static async redoReportCgi(){Vc.isRedoing||(Vc.isRedoing=!0,await Kc(),Vc.isRedoing=!1)}static sdkInit(){setTimeout((()=>{Vc.redoReportCgi()}),1e4)}}function Hc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Uc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hc(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}class Wc{constructor(t){this.traceId=t,this.failure=[],this.errorCode=it.UNKNOWN}addFailed(t,e){this.errorCode=t||it.UNKNOWN,this.failure.push(e),this.autoReport()}report(t){this.getTotal()>=t&&(!function(t){const{errorCode:e,traceId:n,ext:r}=t;br({ei:rt.ON_AD_SHOW_FAIL,error_code:e,ext:r,trace_id:n})}({errorCode:this.errorCode,traceId:this.traceId,ext:this.failure}),this.clear())}autoReport(){this.report(10)}forceReport(){this.report(1)}getTotal(){var t;return(null===(t=this.failure)||void 0===t?void 0:t.length)||0}clear(){this.failure=[]}}class Gc{constructor(t){this.timer=null,this.isExposed=!1,this.isVisible=!1,this.isCheckExpose=!0,this.eLink=t.eLink,this.id=t.id,this.container=t.container,this.onAdExpose=t.onAdExpose,this.threshold=t.threshold||.5,this.anti=t.antiParams||{},this.exposerAnalysis=new Wc(this.id),this.isActiveTriggerAppear=t.isActiveTriggerAppear||!1,this.experiment=t.experiment||{}}clearExposeListen(){this.timer&&clearInterval(this.timer)}onStartExposeListen(){const{container:t}=this;t&&this.checkExpose()}checkExpose(){if(this.isCheckExpose&&function(t){const{traceId:e,channel:n}=t;br({ei:rt.CHECK_EXPOSE_REPEAT_FIRST,trace_id:e,enum_code:"setTimeout"===n?1:2})}({traceId:this.id}),this.isCheckExpose=!1,!this.isExposed){const t=()=>{this.timer=setTimeout((()=>{if(this.isExposed)return this.clearExposeListen(),this.exposerAnalysis.addFailed(it.HAS_EXPOSED,{err:`错误原因:已经曝光过, 错误代码:${it.HAS_EXPOSED}`}),void this.exposerAnalysis.forceReport();Promise.all([qn(),Kt(this.container)]).then((([e,n])=>{if(this.isExposed)return this.exposerAnalysis.addFailed(it.HAS_EXPOSED,{err:`错误原因:已经曝光过, 错误代码:${it.HAS_EXPOSED}`}),void this.exposerAnalysis.forceReport();const{ww:r,wh:i}=e,{top:s,right:o,bottom:c,left:a,width:u,height:h}=n||{},f={oww:se(r),owh:se(i),w:se(u),h:se(h)};if(r<=0||i<=0?this.exposerAnalysis.addFailed(it.VIEW_FAIL,f):(u<=0||h<=0)&&this.exposerAnalysis.addFailed(it.AD_FAIL,f),h<=0)return void this.exposerAnalysis.forceReport();const{appearWidth:d,appearHeight:p}=oe(e,n),l={aw:se(d),ah:se(p),left:se(a),right:se(o),top:se(s),bottom:se(c)};if(d*p==0)return this.clearExposeListen(),this.isVisible=!1,this.exposerAnalysis.addFailed(it.SHOW,Uc(Uc(Uc({},l),f),{},{ratio:0})),this.exposerAnalysis.forceReport(),this.isActiveTriggerAppear?void t():void 0;this.isVisible=!0;const g=d*p/(u*h);!this.isExposed&&g>=this.threshold?(this.isExposed=!0,function(t={}){const{ext:e={}}=t,n=Pe();return ao(t).then((t=>Us(t,n))).then((t=>qt([t,e]))).then(qs).then(Rs)}({rect:n,id:this.id}).then((t=>{var e;this.exposerAnalysis.forceReport(),function(t){const{traceId:e}=t;br({ei:rt.ON_AD_SHOW_SUCCESS,trace_id:e})}({traceId:this.id}),e=this.id,ue.set(fe,{[e]:xt()}),wr({traceId:this.id}),(async(t,e,n)=>{if(1!==await Jr({key:"qaskecerty"}))return;const r=await Sn(e);Bc(t,ht,r,n)})(this.id,this.eLink,t),jn(this.eLink,t).then((async()=>{try{await(async t=>{await qc(t,ht)})(this.id),Vc.redoReportCgi()}catch(t){}_r({traceId:this.id})})).catch((t=>{xr({traceId:this.id,errorCode:null==t?void 0:t.code,ext:{msg:null==t?void 0:t.data}})})),this.onAdExpose&&this.onAdExpose(this.id),_o()})).catch((t=>{this.exposerAnalysis.addFailed(it.FETCH_PARAM_FAIL,{err:t}),this.exposerAnalysis.forceReport()})),this.clearExposeListen(),Dc({traceId:this.id,container:this.container})):(this.exposerAnalysis.addFailed(it.SHOW,Uc(Uc(Uc({},l),f),{},{ratio:se(g)})),t())})).catch((t=>{if(!t||null==t||!t.code)return this.exposerAnalysis.addFailed(it.UNKNOWN,{err:t}),void this.exposerAnalysis.forceReport();const{code:e,msg:n}=t;this.exposerAnalysis.addFailed(e,{err:n}),this.exposerAnalysis.forceReport(),_o()}))}),200)};t()}}}function $c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Yc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$c(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}class Fc{constructor(t){this.id=t.id,this.anti=t.antiParams||{},this.container=t.container,this.onAdClick=t.onAdClick,this.clickableElements=t.clickableElements,this.cLink=`${t.cLink}&${function(t){const e=_e(t),{producttype:n,acttype:r}=e,i={acttype:r};return n!==b&&Object.assign(i,{rsptype:1}),$t(i)}(this.id)}`,this.experiment=t.experiment||{}}setDynamicAntiParams(t={}){this.anti=Yc(Yc({},this.anti),t)}executeAdClick(t,e,n,r={}){const{isShake:i}=r;i||delete this.anti.am,Kt(this.container).then((r=>{uo({startEvent:n,endEvent:e,id:this.id,rect:r,ext:this.anti}).then((n=>{Sr({traceId:this.id}),(async(t,e,n)=>{if(1!==await Jr({key:"qaskccerty"}))return;const r=await In(e);Bc(t,ft,r,n)})(this.id,this.cLink,n,this.id),zn(this.cLink,n).then((async({clickid:e,dstlink:n}={})=>{t.productTypeDispatcher({clickId:e,dstLink:n});try{await(async t=>{await qc(t,ft)})(this.id),Vc.redoReportCgi()}catch(t){}Pr({traceId:this.id})})).catch((t=>{Er({traceId:this.id})})),function({traceId:t,params:e,event:n,rect:r}){const{s:i={},mu_p:o={}}=e,c=yr(yr({},i),o);Object.keys(c).some((t=>{const e=c[t];return/null|NaN/.test(e)||!e||/-\d/.test(e)&&e!==s}))&&br({ei:rt.AD_CLICK_COORDINATE_INVALID,trace_id:t,ext:{params:e,rect:r,event:n}})}({rect:r,traceId:this.id,event:e,params:n}),this.onAdClick&&(this.onAdClick(this.id),Lc({traceId:this.id,container:this.container,sParams:n.s}))})).catch((t=>{}))})),function(t){const{errorCode:e,enumCode:n,traceId:r,ext:i}=t;br({ei:rt.AD_CLICK,error_code:e,enum_code:n,ext:i||{},trace_id:r})}({traceId:this.id})}onStartClickListen(t,e,n){this.executeAdClick(t,e,n)}}const Xc=new class{constructor(){this.loadingStatus={},this.statusUpdates={},this.traceCGI={}}addUpdate(t,e,n){this.getUpdates(t)||(this.statusUpdates[t]={}),this.statusUpdates[t][e]=n}getUpdates(t){var e;return null===(e=this.statusUpdates)||void 0===e?void 0:e[t]}getUpdate(t,e){return this.getUpdates(t)[e]}getUpdateList(t){const e=[],n=this.getUpdates(t);return n&&Object.keys(n).forEach((t=>{const r=n[t];e.push(r)})),e}removeUpdates(t,e){e.forEach((e=>{this.statusUpdates[t][e]=null}))}removeCurrentPageUpdates(t){const{isHuawei:e}=Kn();e&&this.resetAllLoadingStatus(),Object.keys(this.statusUpdates).forEach((e=>{this.removeUpdates(e,t)}))}resetAllLoadingStatus(){this.loadingStatus={}}getDownloading(t){return this.loadingStatus[t]}setDownloading(t,e){this.loadingStatus[t]=e}};const Jc=new class{constructor(){this.cgi={}}addCGI(t,e){Xc.loadingStatus[t]||(this.cgi[t]=e)}getCGI(t){return this.cgi[t]}removeCGI(t){this.cgi[t]=null}};function Zc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Qc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Zc(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Zc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const ta="auto",ea="store";class na{constructor(t){const{adInfo:e={},onApkStatusUpdate:n=()=>{}}=t,{ext:r={}}=e,i=r.packagename||r.pkg_name;this.pkgName=i,this.id=e.traceid,this.pt=e.producttype,this.destType=e.dest_type,this.productId=e.productid,this.deepLink=e.customized_invoke_url,this.downloadTips="应用正在下载中",this.pkgSize=0,this.filePath="",this.dPkgName=function(t=""){return t.replace(/\./g,"_")}(i),this.adInfo=e,Xc.addUpdate(this.dPkgName,this.id,n)}getTraceCgiParams(t){const e={actionid:t};return Object.assign(e,Jc.getCGI(this.pkgName)),e}reportAppTraceCgi(t){const e=this.getTraceCgiParams(t);var n;e.clickid&&e.tagetid&&(n=e,Ln(`https://c.gdt.qq.com/gdt_trace_a.fcg?${$t(Object.assign(n,{targettype:6}))}`))}getDeepLinkCgiParams(t){const e=Oe(P);return{conv_type:t,click_id:this.clickId,pkg_name:Ee(),imei:e.oaid}}reportDeepLinkTraceCgi(t){const e=this.getDeepLinkCgiParams(t);var n;n=e,Xt($t(Object.assign(n,{app_type:"ANDROID",client_ip:"",conv_time:bt(xt()/1e3)})))}getAkpSize(){return new Promise((t=>{const{storage:e}=Vt()||{};e.get({key:this.dPkgName,success(e=0){const n=Gt(e);t(n)},fail(){t(0)}})}))}cacheApkSize(t){const{storage:e}=Vt()||{};e.set({key:this.dPkgName,value:t})}getApkFilePath(){const{isHuawei:t}=Kn();return`internal://mass${t?"/Download":""}/${this.dPkgName}.apk`}isApkDownloading(){return Xc.getDownloading(this.dPkgName)}isApplicationInstalled(){return xi(this.pkgName)}isDownloadedApk(){const{file:t}=Vt(),e=this.getApkFilePath();return Promise.all([this.getAkpSize(),t.get({uri:e})]).then((t=>{const[e=0,n={}]=t,{code:r,uri:i,length:s}=n.data||{};return void 0!==r?!r:!!i&&s===e})).catch((()=>!1))}installAppInStore(){return t=this.pkgName,new Promise(((e,n)=>{const{pkg:r}=Vt();r&&t?r.install({package:t,success({result:t}){e(t)},fail:n}):n()}));var t}openAppInStore(){return this.installAppInStore()}openInRouter(t){return this.installAppInRouter(t)}installAppInRouter(t){const{router:e}=Vt(),n=this.getApkFilePath(),r=e.push(t||{uri:n}),{isHuawei:i}=Kn();return i||/success|onConfirm/.test(r)?Xt():Jt(r)}startAppDeepLink({openType:t}={}){this.reportDeepLinkTraceCgi(C),this.openInRouter({uri:this.deepLink}).then((()=>{this.reportDeepLinkTraceCgi(I)})).catch((e=>{t!==ta&&this.openAppInStore()}))}openLandingPage(){return this.openInRouter({uri:this.dstLink})}deleteAppApk(){const{isVivo:t}=Kn();t||function({uri:t}){new Promise(((e,n)=>{const r=Vt();r&&r.file.delete({uri:t,success:e,fail:n})}))}({uri:this.getApkFilePath()})}checkAppStatus(){if(!Oi(this.pt))return;if(this.isApkDownloading())return;const t=Xc.getUpdate(this.dPkgName,this.id);this.isApplicationInstalled().then((e=>{e?(t({status:g,progress:100}),this.deleteAppApk()):this.isDownloadedApk().then((e=>{t(e?{status:y,progress:100}:{status:l,progress:0})}))}))}async productTypeDispatcher(t){const{clickId:e,dstLink:n}=t;this.clickId=e,this.dstLink=n,Jc.addCGI(this.pkgName,{clickid:this.clickId,tagetid:this.productId,sellerid:this.productId});const{isVivo:r}=Kn();if(this.deepLink){try{const t=await ti({key:"qaoplkopt"});if(function({traceId:t,switchValue:e}={}){br({ei:rt.EXP_OPEN_LINK_OPTIMIZATION,trace_id:t,enum_code:vr(e)})}({traceId:this.id,switchValue:t}),t&&(i=this.deepLink,/^weixin:\/\//.test(i)))return void this.openInRouter({uri:this.deepLink})}catch(t){}if(this.pkgName)this.isApplicationInstalled().then((t=>t?(this.reportDeepLinkTraceCgi(S),void this.startAppDeepLink()):r?void this.installAppInStore().then((t=>{t&&r&&(this.reportAppTraceCgi(A),this.pollCheckAppInstallStatus(ea))})):this.dstLink?(this.reportDeepLinkTraceCgi(E),void this.startDownload()):void this.installAppInStore()));else{const{isHuawei:t}=Kn();t?this.openLandingPage().then((()=>{this.openInRouter({uri:this.deepLink})})):this.openInRouter({uri:this.deepLink}).catch((()=>{this.openLandingPage()}))}}else{var i;switch(this.pt){case b:this.isApplicationInstalled().then((t=>{t?this.openAppInStore():!r&&n?this.startDownload():this.installAppInStore().then((t=>{t&&r&&(this.reportAppTraceCgi(A),this.pollCheckAppInstallStatus())}))}));break;case 53:this.openInRouter({uri:this.adInfo.quick_app_link||n});break;case 25:case 30:case 1e3:if(!this.dstLink)return;this.openInRouter({uri:n})}}}startDownload(){Oi(this.pt)&&(this.isApkDownloading()?this.showDownloadingToast():this.isDownloadedApk().then((t=>{t?(this.emitApkStatusUpdates({status:y,progress:100}),this.installAppInRouter().then((()=>{this.pollCheckAppInstallStatus()})).catch((()=>{this.installAppInStore()}))):(this.emitApkStatusUpdates({status:l,progress:0}),this.startApkDownloadTask())})).catch((t=>{})))}startApkDownloadTask(){const t=this.getApkFilePath(),{downloadTask:e}=Vt();if(function(t){let e=1;const{network:n}=Vt();n.subscribe({callback:({type:n})=>{const r=/\dg|wifi/.test(n)?1:0,i=e;e=r,t({prevOnline:i,curOnline:r})}})}((({prevOnline:t,curOnline:e})=>{if(Xc.getDownloading(this.dPkgName)){if(t&&!e&&(this.emitApkStatusUpdates({status:v,progress:0}),this.isApkDownloading())){Ve.createEmitter(this.id).emit("CHECK_APP_STATUS_ERROR",{traceId:this.id})}!t&&e&&(Xc.setDownloading(this.dPkgName,!1),this.startApkDownloadTask())}})),this.isApkDownloading())return void this.showDownloadingToast();Xc.setDownloading(this.dPkgName,!0),this.emitApkStatusUpdates({progress:0,status:m}),this.reportAppTraceCgi(w);const{isHuawei:n}=Kn(),r=function(t,e=1e3){let n=0;return function(...r){const i=+new Date;i-n>e&&(n=i,t.apply(this,r))}}((t=>{n&&Xc.setDownloading(this.dPkgName,!0);const{progress:e,totalBytesExpectedToWrite:r}=t;this.pkgSize=r,this.emitApkStatusUpdates({progress:e,status:m})}),500),i={};n?Object.assign(i,{filename:`${this.dPkgName}.apk`}):Object.assign(i,{filePath:t}),function({traceId:t}){br({ei:rt.AD_TRACE_CGI_TOTAL,trace_id:t})}({traceId:this.id});const s=e.downloadFile(Qc(Qc({},i),{},{url:this.dstLink,success:t=>{!function(){const{network:t}=Vt();t.unsubscribe()}(),this.reportAppTraceCgi(_),this.cacheApkSize(this.pkgSize),s.offProgressUpdate(r),this.emitApkStatusUpdates({status:y,progress:100}),this.installAppInRouter({uri:t.filePath}).then((()=>{this.pollCheckAppInstallStatus()})),Xc.setDownloading(this.dPkgName,!1)},fail:(t,e)=>{this.emitApkStatusUpdates({status:v,progress:0}),function({traceId:t}){br({ei:rt.AD_TRACE_CGI_FAIL,trace_id:t})}({traceId:this.id}),this.reportAppTraceCgi(A),this.installAppInStore(),this.pollCheckAppInstallStatus(ea);Ve.createEmitter(this.id).emit("CHECK_APP_STATUS_ERROR",{traceId:this.id,errorCode:e,ext:t})}}));s.onProgressUpdate(r)}emitApkStatusUpdates(t){try{Xc.getUpdateList(this.dPkgName).forEach((e=>{e&&e(t)}))}catch(t){}}showDownloadingToast(t){!function(t){const{prompt:e}=Vt();e.showToast(t)}({message:t||this.downloadTips})}pollCheckAppInstallStatus(t){this.clearInstallTimeout();const e=1e3;let n=10;let r=2e3;const i=s=>{r>=18e4||(this.installTimer=setTimeout((()=>{const s=e*n;r+=s,n=n>3?n-1:n,this.isApplicationInstalled().then((e=>{if(e){const{isVivo:e,isOppo:n}=Kn();n&&this.deepLink&&this.startAppDeepLink({openType:ta});const r=e||t===ea?O:x;this.reportAppTraceCgi(r),Jc.removeCGI(this.pkgName),this.emitApkStatusUpdates({status:g,progress:0}),this.clearInstallTimeout(),this.deleteAppApk()}else i(s)}))}),s))};i(2e3)}clearInstallTimeout(){const t=this.installTimer;t&&clearTimeout(t)}}function ra(){const t=Vt()||{},{router:e}=t;return e}function ia(t={}){const e=ra();e&&e.push(t)}function sa(t={}){const e=ra();e&&e.back(t)}const oa="qarwdclstm",ca=(t,e)=>((t,e)=>t<e)(t,e)?t:e;function aa(){return this.$app.$def.ylh_sdk.rewardVideo}function ua(t,...e){aa.call(this).emitter.emit(t,...e)}const ha={lifetimes:{async onInit(){const{traceId:t}=aa.call(this),e=_e(t),{placementId:n,muted:r=!1,video_duration:i}=e;this.adId=t,this.adData=e,this.videoMuted=r,this.detainmentTitle=(i>30?"观看满 30 秒":"完整观看")+"即可获得奖励",this.scoreIcon=Ge("end_card_stars"),this.shakeBv=await Zr({placementId:n,key:"qarwdshbv"});const s=await Zr({placementId:n,key:oa});kt(s)||(this[oa]=s),this.showCloseTime=kt(s)?i:s,Or({traceId:t})},onReady(){this.$nextTick((async()=>{const t=this.$element("rwd"),e=this.adData,{traceid:n,apurl:r,rl:i}=e;this.exposer=new Gc({container:t,eLink:r,id:n,onAdExpose:t=>{ua.call(this,gi)}}),this.exposer.onStartExposeListen();const s=new na({adInfo:e,onApkStatusUpdate:t=>{const{status:e,progress:n}=t;this.appStatus=e,this.downloadProgress=Wt(ne(n))}});s.checkAppStatus(),this.pkgManager=s,this.clicker=new Fc({container:t,pkgManager:s,id:n,cLink:i,onAdClick:t=>{ua.call(this,mi),this.$broadcast(F)}}),this.initShakeClick(),this.adData.video||this.onShowEndCard()})),Cr({traceId:this.adId})},onDestroy(){Ir({traceId:this.adId}),this.shake.unsubscribeShake(),ve(this.adId),Xc.removeCurrentPageUpdates([this.adId])},onPageShow(){this.visible=!0,this.pkgManager&&(this.pkgManager.checkAppStatus(),this.clicker&&this.initShakeClick())},onPageHide(){this.visible=!1,this.shake.unsubscribeShake()}},initShakeClick(){this.shake=_i({shakeProps:{bv:this.shakeBv},pkgManager:this.pkgManager,clicker:this.clicker,isShowClose:this.isRewarded,ca:this.isShowEndCard?q:R})},onShowEndCard(){this.isShowEndCard=!0,this.$broadcast("onShowEndCard"),this.isShowed||(this.isShowed=!0,this.$nextTick((async()=>{const t=this.$element("endCard");t&&(this.clicker=new Fc({container:t,id:this.adId,cLink:this.adData.rl,onAdClick:t=>{ua.call(this,mi),this.$broadcast(F)}}),this.initShakeClick())})))},onTouchstart(t){this.touchstartEvent=t},onTouchend(t,e){this.clicker.setDynamicAntiParams({sld:B,x:Dt(this.isRewarded),click_area:t.params.ca}),this.clicker.executeAdClick(this.pkgManager,e,this.touchstartEvent)},onAdClose(){ua.call(this,pi),sa()},onVideoPrepared(t){const{duration:e}=fn(t);this.videoDuration=e,this.isPrepared=!0,kt(this[oa])&&(this.showCloseTime=ca(e,30))},onVideoStart(){},onVideoPause(){},onVideoFinish(){this.onRewarded(),this.isFinish=!0,this.onShowEndCard(),ua.call(this,vi)},onVideoTimeupdate(t){const{currentTime:e}=fn(t);if(this.isShowClose||e>=this.showCloseTime&&(this.isShowClose=!0),this.isRewarded)this.rewardTips="恭喜获得奖励";else{const t=yt(ca(this.videoDuration,30)-e);this.$broadcast(J,t),t<=0&&this.onRewarded()}const n=e/this.videoDuration*100;this.playProgress=n,n>=100&&ua.call(this,vi)},onVideoError(){this.onShowEndCard(),ua.call(this,li,{errorCode:5003,errorMsg:"视频素材播放异常"})},onPlayPageClose(){this.isRewarded?this.onShowEndCard():this.isShowDetainmentDialog=!0,this.$broadcast(Z)},onMutedChange(t){const{muted:e}=fn(t);this.videoMuted=e},onRewarded(){this.isRewarded||(this.isRewarded=!0,this.$broadcast(X),ua.call(this,yi))},onDialogConfirm(){this.$broadcast(Q),this.isShowDetainmentDialog=!1},onDialogCancel(){this.$broadcast(Z),this.onAdClose()}},fa=0,da=360;async function pa({startEvent:t,endEvent:e,eventConfig:n={}}){const{type:r,params:i={}}=n,s=!0,{sys:o}=i;if(1===o)return s;switch(r){case"click":default:return s;case"slide":{const{as:n=[],ds:r=[]}=i;return r.some(((r,i)=>{const[s=fa,o=da]=n[i]||[],{clientX:c,clientY:a}=un(t),{clientX:u,clientY:h}=un(e),f={x:c,y:a},d={x:u,y:h},p=function(t,e){const n=e.x-t.x,r=e.y-t.y;return gt(mt(n)+mt(r))}(f,d),l=function(t,e){const n=e.x-t.x,r=e.y-t.y,i=Math.atan2(r,n)/pt*180;return i>=0?i:360+i}(f,d);return p>=r&&l>=s&&l<=o}))}}}function la(){return this.$app.$def.ylh_sdk.splash}function ga(t,...e){la.call(this).emitter.emit(t,...e)}const ma={lifetimes:{async onInit(){const{traceId:t}=la.call(this),e=_e(t);this.adId=t,this.adData=e;const{placementId:n}=this.adData;this.shakeBv=await Zr({placementId:n,key:"qasplshbv"}),Or({traceId:t})},onReady(){try{this.$nextTick((async()=>{const t=this.$element("splash"),e=this.adData,{traceid:n,apurl:r,rl:i}=e;this.exposer=new Gc({container:t,eLink:r,id:n,onAdExpose:t=>{ga.call(this,gi)}}),this.exposer.onStartExposeListen();const s=new na({adInfo:e,onApkStatusUpdate:t=>{const{status:e,progress:n}=t;this.appStatus=e,this.downloadProgress=Wt(ne(n))}});s.checkAppStatus(),this.pkgManager=s,this.clicker=new Fc({container:t,pkgManager:s,id:n,cLink:i,onAdClick:t=>{ga.call(this,mi),this.$broadcast(F)}}),this.initShakeClick();this.$element(this.adId)&&(t.setCurrentTime=()=>{})})),Cr({traceId:this.adId})}catch(t){}},onDestroy(){Ir({traceId:this.adId}),this.shake.unsubscribeShake(),ve(this.adId),Xc.removeCurrentPageUpdates([this.adId])},onPageShow(){this.pkgManager&&(this.pkgManager.checkAppStatus(),this.clicker&&this.initShakeClick())},onPageHide(){this.shake.unsubscribeShake()}},async initShakeClick(){this.shake=_i({shakeProps:{bv:this.shakeBv},pkgManager:this.pkgManager,clicker:this.clicker,isShowClose:!0,ca:R})},onTouchstart(t){this.touchstartEvent=t},async onTouchend(t,e){const{placementId:n}=this.adData,r=await Zr({placementId:n,key:"qasplmsld"});return kt(r)||(t.params.ds=[r]),pa({startEvent:this.touchstartEvent,endEvent:e,eventConfig:t}).then((n=>{if(!n)return!1;const{params:r={}}=t;return this.clicker.setDynamicAntiParams({sld:B,x:nt,click_area:r.ca}),this.clicker.executeAdClick(this.pkgManager,e,this.touchstartEvent),!0}))},onVideoFinish(){ga.call(this,vi)},onImageError(){!function({traceId:t}){br({ei:rt.ON_SPLASH_IMAGE_FAIL,trace_id:t})}({traceId:this.adId})},onImageComplete(){!function({traceId:t}){br({ei:rt.ON_SPLASH_IMAGE_SUCCESS,trace_id:t})}({traceId:this.adId})},onSkip(){ga.call(this,pi);const{entry:t}=la.call(this);if(!t)return void sa();(function(){const t=ra();return t?t.getPages():[]})().some((e=>e.path===t))?sa({path:t}):function(t={}){const e=ra();e&&e.replace(t)}({uri:t})}};const ya=function(t,e){const n={isFirstAppear:!1,hasInView:!1,timer:null,isReadyExpose:!1,startTime:xt()};t.on("ON_FIRST_APPEAR",(()=>{n.isFirstAppear=!0})),t.on("CHECK_APP_STATUS_ERROR",(t=>{!function(t){const{traceId:e,errorCode:n,ext:r}=t;br({ei:rt.ON_APP_STATUS_ERROR,trace_id:e,error_code:n,ext:r})}({traceId:e,ext:{err:t}})})),t.on("ON_DESTROY_ANALYSIS",(()=>{let t=!1;(n.isReadyExpose||n.isFirstAppear)&&(t=!0);const r=xt()-n.startTime;Ir({traceId:e,enumCode:t?1:2,ext:{duration:r}})}))},{getEmitter:va}=Ve,ba={lifetimes:{async onInit(){if(this.$on("onPageShow",this.onPageShow),this.$on("onPageHide",this.onPageHide),this.emitter=va(this.adId),this.isFirstAppear=!1,this.isAdExposed=!1,this.pollingTimeDiff=0,this.isPollingEventReport=!1,!this.adId||!this.emitter)return;this.$watch("adId",this.watchAdIdChange),ya(this.emitter,this.adId),this.emitter.on("AdClick",(({event:t,clickableElements:e})=>{this.$valid&&this.emitter.emit("AD_CLICK",{event:t,clickableElements:e,container:this.$element(`ylh-ad-${this.adId}`),onAdClick:t=>{this.$emit("AdClick",t)}})})),this.emitter.on("APP_STATUS_CHANGE",(t=>{this.$valid&&this.$emit("AppStatusChange",t)})),this.$on("onPageShow",(()=>{this.emitter.emit("ON_PAGE_SHOW")})),Or({traceId:this.adId});const t=await ti({key:"qaadminsize"});if(1===t){const t="1px";this.customStyle={minWith:t,minHeight:t}}!function({traceId:t,switchValue:e}={}){br({ei:rt.EXP_AD_EXPOSE,trace_id:t,enum_code:vr(e)})}({traceId:this.adId,switchValue:t})},async onReady(){try{this.emitter.emit("INIT_PKG_MANAGER")}catch(t){this.emitter.emit("ON_READY_ERROR",0,t)}Cr({traceId:this.adId}),this.$nextTick((()=>{this.emitter.emit("ON_READY_NEXTTICK"),this.emitter.emit("TRIGGER_READY_EVENT",this.$element(`ylh-ad-${this.adId}`))})),setTimeout((async()=>{if(this.executeAppearTimer(),this.isFirstAppear||this.isAdExposed)return;1===(await Jr({key:"qaappearbackup"})||0)&&setTimeout((()=>{this.onAppear(null,!0)}),200)}),200)},onDestroy(){this.clearAppearTimer();const t=va(this.adId);t.emit("ON_DESTROY_ANALYSIS"),t.emit("ON_DESTROY")}},onPageShow(){setTimeout((()=>{this.executeAppearTimer()}),200)},onPageHide(){this.clearAppearTimer()},async executeAppearTimer(){if(this.isFirstAppear||this.isAdExposed)return void(this.updateTimer&&this.clearAppearTimer());const t=await ti({key:"qaadonappoclose"})||0;if(1===t)return void function({traceId:t,switchValue:e}={}){br({ei:rt.EXP_AD_EXPOSE_OPT_REVERSE,trace_id:t,enum_code:e||0})}({traceId:this.adId,switchValue:t});if(1!==await Jr({key:"qaadonapcb"}))return;const e=await ti({key:"qaadonappotime"})||400,n=this.$element(`ylh-ad-${this.adId}`),r=await(async t=>{try{const[e,n]=await Promise.all([qn(),Kt(t)]),{appearWidth:r,appearHeight:i}=oe(e,n);return r>0||i>0}catch(t){return!1}})(n),i=r?e:1e3;this.pollingTimeDiff=xt()-this.pollingTimeDiff,this.pollingTimeDiff<i||(this.updateTimer=setTimeout((()=>{this.isAdExposed||(this.isShowPlaceholder=!this.isShowPlaceholder,this.executeAppearTimer(),this.isPollingEventReport||(this.isPollingEventReport=!0,function({traceId:t,switchValue:e}={}){br({ei:rt.EXP_AD_EXPOSE_OPT_POLL_TIME,trace_id:t,enum_code:e||0})}({traceId:this.adId,switchValue:i})))}),i))},clearAppearTimer(){this.isPollingEventReport=!1,this.updateTimer&&clearTimeout(this.updateTimer)},onAppear(t,e=!1){var n,r;this.isFirstAppear||(null===(r=this.emitter)||void 0===r||r.emit("ON_FIRST_APPEAR"),function(t){const{traceId:e}=t;br({ei:rt.ON_YLH_AD_APPEAR,trace_id:e})}({traceId:this.adId}),this.isFirstAppear=!0);null===(n=this.emitter)||void 0===n||n.emit("AD_EXPOSE",{container:this.$element(`ylh-ad-${this.adId}`),onAdExpose:t=>{this.$emit("AdExpose",t),this.isAdExposed=!0},isActiveTriggerAppear:e})},watchAdIdChange(t,e){}};function wa(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wa(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wa(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const{getEmitter:xa}=Ve;function Aa(t,e={}){const n=function(t,e={}){const{viewId:n,duration:r=0,currentTime:i=0,pauseCount:s}=t,o=bt(r),c=bt(i);return{viewid:n,video:_a({bt:"0",et:`${"1"===e.ef?o:c}`,bf:"1",ef:"0",pp:"1",pa:s>0?"2":"1",pb:"1",ps:"0",vt:`${o}`},e)}}(t,e);Nn(n)}const Oa={lifetimes:{onInit(){const t=_e(this.adId);this.viewId=t.viewId,this.pauseCount=0,this.src=t.video,this.poster=t.img,this.videoStyle={height:this.videoHeight||"auto",width:this.videoWidth||"auto"},this.needMask=!0,this.maskStyle={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(255,0,0,0.001)"}},onReady(){if(this.emitter=xa(this.adId),!this.emitter)return;this.emitter.on("AD_CLICK",(()=>{Aa(this,{ps:"3"})}));const t=this.$element(`ylh-ad-video-${this.adId}`),{setCurrentTime:e}=t;t.setCurrentTime=function(){},this.$emit("videoready",{$video:{start:t.start,pause:t.pause,replay:()=>{t.start(),e.call(t,{currenttime:0})}}})}},onAppear(){this.onAppearAutoplay=this.autoplay;const t=this.$element(`ylh-ad-video-${this.adId}`);this.autoplay&&t.start()},onDisAppear(){this.$element(`ylh-ad-video-${this.adId}`).pause()},onPrepared({duration:t}){this.duration=t,this.$emit("prepared",{duration:t})},onStart(){this.needMask=!0,this.$emit("start")},onPause(){this.$emit("pause"),this.pauseCount+=1,Aa(this)},onFinish(){Aa(this,{ef:"1"}),this.$emit("finish")},onTimeupdate({currenttime:t}){this.currentTime=t,this.$emit("timeupdate",{currentTime:t})},onError(){const{isHuawei:t}=Kn();t&&(this.needMask=!1,this.errCount=this.errCount?this.errCount+1:1,this.errCount<5)||(Aa(this,{ps:"2"}),this.$emit("error"))}},{getEmitter:Ca}=Ve,Ia={lifetimes:{onInit(){},onReady(){this.emitter=Ca(this.adId),this.emitter}},onClick(t){const e=[this.$element(`ylh-ad-clickable-${this.adId}`)];this.emitter.emit("AdClick",{event:t,clickableElements:e})}},Sa=["actionPrice","highestLossPrice"],Ea=["actionPrice","actionLoss","actionSeatId"];function Pa(t,e,n){const{getBiddingCipherText:r}=function(){const t=wt();return t?t.$ylhUtils:{}}();return te(t).replace(/\$\{([^{}]+)\}/g,((t,i)=>{const s=e[i],o=n[i];if(s&&r){return r(s)}return kt(o)?o||t:o}))}function ka(t){const e=_e(t);return kt(e.ecpm)?-1:e.ecpm}function Ta({url:t}){return Ln(t)}async function Da(t={}){const{adId:e,actionPrice:n,highestLossPrice:r}=t;re(Sa,t);const{nurl:i}=_e(e);return Ta({url:Pa(i,{AUCTION_PRICE:Lt(n),HIGHEST_LOSS_PRICE:Lt(r)},{})})}function La(t={}){const{adId:e,actionPrice:n,actionLoss:r,actionSeatId:i}=t;re(Ea,t);const{lurl:s}=_e(e);return Ta({url:Pa(s,{AUCTION_PRICE:Lt(n)},{AUCTION_LOSS:r,AUCTION_SEAT_ID:Lt(i)})})}function ja(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function za(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ja(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ja(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Na(){let t="",e="",n={status:!0};const r=_e(this.traceId);if(r?this.isValid()?r.is_showed&&(t=4015,e="同一条广告不允许多次展示"):(t=5012,e="广告数据过期"):(t=4014,e="广告位成功返回或广告无效时, 启动了广告展示"),t){const r={[ai]:t,[ui]:e};this.emitter.emit(li,r),n=za({status:!1},r)}return n}const Ma=class{constructor(t,e){const{config:{appId:n}}=_t();this.traceId="",this.emitter=new fi,this.isLoading=!0,this.params=za({count:1,appId:n,placementId:t.placementId,muted:t.muted||!1},t),this.ylhSdk=e}load(){}show(){}destroy(){const t=_e(this.traceId);t&&we(t.adType)}isValid(){const t=_e(this.traceId),{adExpireTimestamp:e=0}=t||{};return xt()<=e}getECPM(){return ka(this.traceId)||-1}sendWinNotification(t={}){return Da(za({adId:this.traceId},t))}sendLossNotification(t={}){return La(za({adId:this.traceId},t))}onLoad(t){return this.emitter.on(di,t),this}offLoad(t){return this.emitter.off(di,t),this}onClose(t){return this.emitter.on(pi,t),this}offClose(t){return this.emitter.off(pi,t),this}onError(t){return this.emitter.on(li,t),this}offError(t){return this.emitter.off(li,t),this}onExpose(t){return this.emitter.on(gi,t),this}offExpose(t){return this.emitter.off(gi,t),this}onClick(t){return this.emitter.on(mi,t),this}offClick(t){return this.emitter.off(mi,t),this}onVideoFinish(t){return this.emitter.on(vi,t),this}offVideoFinish(t){return this.emitter.off(vi,t),this}};function Ba(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ra(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ba(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ba(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function qa(t={},e={}){const{system:{fetch:n}={}}=_t();return new Promise(((r,i)=>{if(!function(){const t=Oe(L)||{},{platformVersionCode:e}=t;return e>=1100}()){return void i({code:2004,message:"当前快应用版本小于 1100, SDK无法发起广告请求"})}const{isCheckPkgName:s=!0}=e;if(s){const e=function(t={}){const e=Bt(t,["data","ext","req"],{}),{c_pkgname:n,c_real_time_pkg_name:r}=e;return n&&n===r}(t);if(!e){return void i({code:5006,message:"包名校验不通过"})}}(()=>{if(n){const e={method:Pn.POST,responseType:kn.JSON,success:(t={})=>{const{code:e,data:n={}}=t;if(200===e&&0===n.ret)r(n.data),lc(n);else{const t={code:n.ret,message:n.msg};i(t)}},fail:(t,e)=>{const n={code:st,message:`错误原因:${JSON.stringify(t)}, 错误代码:${e}`};i(n)}};Object.assign(e,t),n.fetch(e)}else{i({code:"100000",message:"未知异常"})}})()}))}async function Ka(t,e){const{config:{appId:n}}=_t();t.appId=n;const r=await function(t){return Promise.all([sc(),ic(t),Xo(),tc(),wo()]).then(qt).then((e=>{const{s:n,mu_p:r,app:i,ail:s,carrier:o,idInfo:c,deviceInfo:a,originalDeviceInfo:u,connect_type:h,c_market:f=""}=e,{appId:d,placementId:p,count:l=1,devExt:g={},extReq:m={},debug:y}=t,{packageName:v,versionName:b}=i,{oaid:w,imei_md5:_,android_id_md5:x}=c,A={count:l,adposcount:1,datatype:2,posid:p,support_https:1,ext:{req:$o($o({carrier:o,conn:h,ail:s,appid:d,sdk_st:1,sdk_cnl:0,s_hd:0,sdkver:"1.7.1074",hostver:b,support_app_landing_page:0,support_tpl2:2,c_market:f,c_sdfree:1024*Gt(n.das)*1024,c_pkgname:v,c_real_time_pkg_name:n.pkm,c_signature:n.si},a),{},{sdk_src:"quick_app_sdk",deep_link_version:1,support_app_store:0,tmpallpt:!0,m1:_,m3:x,oaid:w,harmony_sys_info:ec(u)},m)},s:n,dev_ext:g,r:vt()};return r&&Object.assign(A,{mu_p:r}),A}))}(t),i=await async function(){return"https://mi.gdt.qq.com/gdt_mview.fcg"}(),s={};return new Promise(((n,o)=>{const c={ad:{placementId:t.placementId}};!function(t={}){const{ext:e={}}=t,n=nr(t,or);br(yr({ei:rt.FETCH,ext:e},n))}(c),qa({header:s,url:i,data:r}).then((r=>{!function(t){const{enumCode:e}=t,n=nr(t,cr);br(yr({ei:rt.FETCH_SUCCESS,enum_code:e},n))}(Ra(Ra({},c),{},{enumCode:ct}));const[i]=Object.keys(r),{ret:s,msg:a,list:u=[]}=r[i];if(0!==s){return o({code:s,message:a}),void Ar(Ra({errorCode:s,ext:{msg:a}},c))}let h=!1;u.forEach((n=>{n.traceid||(n.traceid=Ct()),n.appId=t.appId,n.placementId=t.placementId,n.adType=e,n.traceid=n.traceid||Ct(),n.muted=t.muted||!1,n.viewId=function(t){const e=te(t);let n="";const r=/viewid=([^&]+)/;return r.test(e)&&([,n=""]=e.match(r)||{}),n}(n.apurl),n.adExpireTimestamp=xt()+ce(n.ad_expire||720);const r="customized_invoke_url";n[r]=/:\/\//.test(n[r])?n[r]:"",h||n.desc&&n.img||(!function(t){const{traceId:e}=t,n=nr(t,fr);br(yr({ei:rt.ON_AD_CONTENT_NO_RIGHT,trace_id:e},n))}(c),h=!0)})),n(u),u&&u.length?(function(t={}){br(yr({ei:rt.HAS_AD},t))}(c),function(t){const{traceId:e}=t,n=nr(t,hr);br(yr({ei:rt.ON_AD_PREPARED,trace_id:e},n))}(c)):Ar(Ra(Ra({},c),{},{errorCode:ot})),Vc.redoReportCgi()})).catch((t=>{!function(t){const{errorCode:e,ext:n={}}=t,r=nr(t,ar);br(yr({ei:rt.FETCH_FAIL,error_code:e,ext:n},r))}(Ra(Ra({},c),{},{errorCode:null==t?void 0:t.code,ext:{msg:null==t?void 0:t.message}})),o(t)}))}))}class Va extends Ma{load(){this.isLoading&&(Tt()?this.emitter.emit(li,{[ai]:2005,[ui]:hi}):async function(t){const{preload:e,aid:n}=t,r={};n&&Object.assign(r,{aid:n,debug:!0,nomatch:!0});const{config:{appId:i}}=_t(),s=Ra(Ra({},t),{},{appId:i,extReq:{support_features:65536,max_duration:61,support_reward_page:1,render_type:U,prld:e||et,placement_type:$,from_js:0}});return n&&(s.debug=r),Ka(s,K.REWARD_VIDEO).then((t=>{const[e]=t;return e}))}(this.params).then((t=>{const e=t.traceid;this.isLoading=!1,this.traceId=e,ye(e,t),this.emitter.emit(di)})).catch((t=>{this.isLoading=!1,this.emitter.emit(li,{[ai]:t.code,[ui]:""})})))}show(){const{status:t}=Na.call(this);if(t){ia({uri:"/YlhAds/RewardVideoAd"});const{traceId:t}=this,e=_e(t);e.is_showed=!0,ye(t,e)}}destroy(){super.destroy(),this.ylhSdk&&(this.ylhSdk.rewardVideo=null)}onReward(t){return this.emitter.on(yi,t),this}offReward(t){return this.emitter.off(yi,t),this}}function Ha(t){return this.$app.$def.ylh_sdk.rewardVideo=new Va(t,this.$app.$def.ylh_sdk),this.$app.$def.ylh_sdk.rewardVideo}class Ua extends Ma{constructor(t,e){super(t,e),this.setEntry(t)}setEntry(t){const{entry:e}=t;e&&(this.entry=t.entry)}load(){this.isLoading&&(Tt()?this.emitter.emit(li,{[ai]:2005,[ui]:hi}):async function(t){const{preload:e,aid:n}=t,r={},{config:{appId:i}}=_t();n&&Object.assign(r,{aid:n,debug:!0,nomatch:!0});const s=Ra(Ra({},t),{},{appId:i,extReq:{rtld:1,support_features:67584,render_type:U,prld:e||et,placement_type:W,from_js:0}});return n&&(s.debug=r),Ka(s,K.SPLASH).then((t=>{const[e]=t;return e}))}(this.params).then((t=>{const e=t.traceid;this.isLoading=!1,this.traceId=e,ye(e,t),this.emitter.emit(di)})).catch((t=>{this.isLoading=!1,this.emitter.emit(li,{[ai]:t.code,[ui]:""})})))}show(){const{status:t}=Na.call(this);if(t){ia({uri:"/YlhAds/SplashAd"});const{traceId:t}=this,e=_e(t);e.is_showed=!0,ye(t,e)}}destroy(){super.destroy(),this.ylhSdk&&(this.ylhSdk.splash=null)}}function Wa(t){return this.$app.$def.ylh_sdk.splash=new Ua(t,this.$app.$def.ylh_sdk),this.$app.$def.ylh_sdk.splash}class Ga{constructor(t){const{adInfo:e}=t,{traceid:n,txt:r,desc:i,producttype:s,img:o,img2:c,pic_width:a,pic_height:u,video:h,video_height:f,video_width:d,video_duration:p,img_list:l=[]}=e,g=mn(e);this.id=n,this.imgs=((t=[])=>{const e=[];return t.length>0?(e.length=3,t.forEach(((t,n)=>{e[n]=t})),e.fill("",t.length),e):e})(l),this.patternType=(t=>{const{img_list:e=[]}=t;return e.length>0?"NATIVE_3IMAGE":"NATIVE_NORMAL"})(e),this.adLogo=We("ad_logo_light"),this.title=r,this.desc=i,this.img=o,this.imgWidth=a,this.imgHeight=u,this.hasVideo=!!h,this.videoHeight=f,this.videoWidth=d,this.videoDuration=p,this.avatar=c,this.isApp=12===s,this.btnTxt=12===s?"立即下载":"查看详情",this.appName=g.appName,this.authorName=g.authorName,this.appVersion=g.versionName,this.icpNumber=g.icpNumber,this.appSuitableAge=g.appSuitableAge,this.pkgSizeBytes=g.packageSize,this.permissionsUrl=g.permissions,this.privacyAgreement=g.privacy,this.descriptionUrl=g.description,ye(this.id,e)}}const $a=function(t){const e=Ve.createEmitter(t.id),n=_e(t.id),r={pkgManager:void 0,adExposer:void 0};e.on("INIT_PKG_MANAGER",(()=>{r.pkgManager||(r.pkgManager=new na({id:t.id,adInfo:n,onApkStatusUpdate:t=>{e&&e.emit("APP_STATUS_CHANGE",t)}}));const{pkgManager:i}=r;i.checkAppStatus()})),e.on("AD_CLICK",(({event:e,onAdClick:i,container:s,clickableElements:o})=>{const c=new Fc({id:t.id,container:s,cLink:n.rl,onAdClick:i,clickableElements:o}),{pkgManager:a}=r;a&&c.executeAdClick(a,e)})),e.on("AD_EXPOSE",(async({onAdExpose:i,container:s,channel:o,isActiveTriggerAppear:c=!1})=>{e&&e.emit("CHECK_EXPOSE_REPEAT",{channel:o,isFirst:!r.adExposer}),r.adExposer||(r.adExposer=new Gc({id:t.id,container:s,eLink:n.apurl,onAdExpose:i,isActiveTriggerAppear:c}));const{adExposer:a}=r;a.checkExpose(o)})),e.on("ON_PAGE_SHOW",(()=>{const{pkgManager:t}=r;t&&t.checkAppStatus()})),e.on("ON_DESTROY",(()=>{e&&(e.remove("APP_STATUS_CHANGE"),e.remove("AD_CLICK")),qe[t.id]=null,ve(t.id),Xc.removeCurrentPageUpdates([t.id])}))};function Ya(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Fa(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ya(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ya(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const Xa=class extends Ga{constructor(t){super(t),$a(this),this.getECPM=()=>ka(this.id),this.sendWinNotification=(t={})=>Da(Fa({adId:this.id},t)),this.sendLossNotification=(t={})=>La(Fa({adId:this.id},t))}};const Ja=function(t){return async function(t){const{preload:e}=t,{config:{appId:n}}=_t();return Ka(Ra(Ra({},t),{},{appId:n,extReq:{support_features:65536,render_type:U,placement_type:G,prld:e||et,support_container:!0}}),K.FEED)}(t).then(((t=[])=>t.map((t=>new Xa({adInfo:t})))))};function Za(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Qa(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Za(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Za(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function tu(t,e={}){return new Promise(((n,r)=>{const{success:i,fail:s}=e;t(Qa(Qa({},e),{},{success:t=>{n(t),"function"==typeof i&&i(t)},fail:(t,e)=>{r(t,e),"function"==typeof s&&s(t,e)}}))}))}const eu=t=>{const{storage:e}=Vt();return tu(e.get,{key:t})},nu=(t,e)=>{const{storage:n}=Vt();return tu(n.set,{key:t,value:e})},ru=t=>{const{storage:e}=Vt();return tu(e.delete,{key:t})},iu=()=>{const{network:t}=Vt();return tu(t.getType)},su={FEED:{value:"feed",analysis:4},SPLASH:{value:"splash",analysis:3},REWARD_VIDEO:{value:"reward_video",analysis:5},REWARD_BROWSE:{value:"reward_browse",analysis:5}};function ou(t){const e=Object.keys(su).find((e=>su[e].value===t));return e?su[e].analysis:0}function cu(t){const e="fulfilled"===t.status?t.value:{},{type:n}=e;return Bs[n]||0}function au(t={}){const{ad:e}=t,n=t.trace_id,r=e||_e(n),{placementId:i,cl:s,producttype:o,adType:c,video:a}=r;return{pid:i||(null==e?void 0:e.placementId)||"",aid:s,traceId:n,pt:o,adt:ou(c),vdo:a?2:1,tid:"",rt:1}}class uu{constructor(t){this.storage={get:eu,set:nu,delete:ru},this.maxNum=2e3,this.STORAGE_KEY=`ylh_analysis_${t}`,this.events=[],this.seq=1,this.init()}async init(){const t=await this.storage.get(this.STORAGE_KEY)||"{}",{events:e=[],seq:n=1}=JSON.parse(t);this.events=e,this.seq=n}getNextSeq(){return this.seq+=1,this.updateToStorage(),this.seq}async updateToStorage(){const{events:t=[],seq:e=1}=this;await this.storage.set(this.STORAGE_KEY,{events:t,seq:e})}concatEvents(t=[]){const{events:e=[]}=this;this.events=[...e,...t].slice(0,this.maxNum),this.updateToStorage()}getEvents(){return this.events}clearEvents(t=[]){const{events:e=[]}=this,n=Object.fromEntries(t.map((t=>[t.seq,t])));this.events=e.filter((t=>!n[t.seq])),this.updateToStorage()}}function hu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function fu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?hu(Object(n),!0).forEach((function(e){Le(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):hu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}class du{constructor(t){t.appId&&(this.appId=t.appId,this.store=new uu(this.appId),this.init(t))}async init(t){const{app:e}=Vt();this.appInfo=e.getInfo(),this.deviceInfo=await Hs(),function(){const{$app:t}=_t(),e=Bt(t,["$def","manifest","config","network"],{});br({ei:rt.QUICK_APP_REQUEST_TIMEOUT,enum_code:e.connectTimeout||3e4})}(),this.cycleSend(t.delay?t.delay:5e3)}cycleSend(t){setTimeout((async()=>{const e=this.store.getEvents().slice(0,20);if(null!=e&&e.length)try{await this.realSend(e),this.store.clearEvents(e)}catch(t){}finally{this.cycleSend(t)}else this.cycleSend(t)}),t)}onUserAction(t={}){t.biz=au(t),delete t.ad,setTimeout((()=>{this.onReport(t,!1)}))}onDirectUserAction(t={}){t.biz=au(t),this.onReport(t,!0)}async onReport({ei:t,enum_code:e,error_code:n,ext:r={},biz:i},s=!1){if(!t)return;const o=[{ct:cu(await iu()),sv:"1.7",plv:1074,ei:t,enum_code:e,biz:i,ext:"string"==typeof r?r:JSON.stringify(r).substr(0,1e3),seq:this.store.getNextSeq(),ts:Date.now(),error_code:n}];s?await this.realSend(o,s):this.store.concatEvents(o)}async realSend(t,e=!1){const n=await iu(),r=function({appInfo:t,deviceInfo:e={},networkTypeRes:n}){const{packageName:r,versionName:i}=t,{language:s,osVersionName:o,osVersionCode:c,model:a,product:u,manufacturer:h,vendorOsVersion:f,screenWidth:d,screenHeight:p}=e;return{ct:cu(n),lg:s,ca:0,pkg:r,av:i,sv:"1.7",plv:1074,sdk_st:5,sdk_cnl:5,ov:o,al:c,os:2,md:a,pl:`${h}/${a}/${f}`,mn:u,w:d,h:p,harmony_sys_info:ec(e)}}({appInfo:this.appInfo,deviceInfo:this.deviceInfo,networkTypeRes:n}),i=fu(fu({ts:Date.now(),app:this.appId.toString()},r),{},{events:t}),s=await function(t){return Cn(t,On.sdk)}("https://sdk.e.qq.com/event");try{const t=zt(i),e=await go({text:t});await function({url:t,method:e,data:n}){const{system:{fetch:r}={}}=_t();return new Promise(((i,s)=>{null==r||r.fetch({url:t,method:e,data:n,success:t=>{const{code:e,data:n={}}=t;if(200===e&&0===n.ret)i(n.data);else{const t={code:n.ret,message:n.msg};s(t)}},fail:t=>{s(t)}})}))}({url:s,method:"POST",data:`quickapp_${e}`})}catch(n){e&&this.store.concatEvents(t)}}}function pu(t){!function(t){const e="applc:onCreate",n="applc:onShow",r="applc:onHide",i="applc:onDestroy";if(!(t._events&&t._events[e]&&t._events[n]&&t._events[r]&&t._events[i]))return;const s=jc.getInstance(t);s.onCreate.bind(s)(),s.onShow.bind(s)(),t._events[e].push(s.onCreate.bind(s)),t._events[n].push(s.onShow.bind(s)),t._events[r].push(s.onHide.bind(s)),t._events[i].push(s.onDestroy.bind(s))}(t),Vc.sdkInit()}const lu={AmsLogo:on,AppInfo:yn,CtaButton:An,RewardTips:vn,CloseButton:ii,CircleClose:ri,VolumeButton:ci,VideoPlayer:Jn,SplashAd:ma,RewardVideoAd:ha,YlhAd:ba,YlhAdVideo:Oa,YlhAdClickableArea:Ia};function gu(t){const e=wt();t&&(e.$YLHSDK=t);const{$app:n,config:{appId:r="testAppId"}={}}=_t();!function(t){const{manifest:e}=t.$def;Ae(z,e)}(n);Date.now();(wt()?(Date.now(),Promise.all([sc(),eo()]).then((()=>{})).catch((t=>{}))):{}).then((()=>{Object.assign(n.$def.ylh_sdk,{$app:n,version:"1.7.1074",components:lu,createSplashAd:Wa,createRewardVideoAd:Ha,loadFeedAd:Ja}),function(t){const e=Ke("INNER_EMITTER");t.$def.ylh_sdk=ze(ze({},t.$def.ylh_sdk),{},{onYlhReadyCallback:t.$def.ylh_sdk.onYlhReadyCallback||[],SDK_CORE_READY:!0}),e.on("SDK_CORE_READY",(()=>{t.$def.ylh_sdk.onYlhReadyCallback.forEach((t=>{t.apply()})),t.$def.ylh_sdk.onYlhReadyCallback=[]})),e.emit("SDK_CORE_READY")}(n),e.$YLHSDK.analysis=new du({appId:r})})),pu(n),gc(),_o(),async function(){const t=585,e=115,n=90,r=1583,i=686;function s(t,e,n,r){return Ss(n,e- -i)}const o={BVjpm:function(t,e){return t(e)},ViERT:"checkKeyUp"+s(0,621,670),dYkXP:"checkKeyUp"+s(0,607,t)};try{const t={};t.key=Ps;const i=await o[(c=-e,a=-n,Os(0,a- -r,c))](Jr,t);i&&(Es=i)}catch(t){}var c,a}()}})(),r=r.default})()));
//# sourceMappingURL=ylh-sdk-core-v1.7.1074.min.js.map