KR/function/jdCommon.js

6 lines
42 KiB
JavaScript
Raw Normal View History

2023-08-29 10:31:03 +08:00
/*
通用代码库
new Env('jdCommon');
*/
2023-10-06 11:52:55 +08:00
2023-10-18 07:49:02 +08:00
var version_='jsjiami.com.v7';const llIl1Ii=iIl1II11;(function(I1I11ill,Il1iIiI,I1l1l1ll,Il11iIil,i1lI11lI,I1ll1IiI,iliillll){return I1I11ill=I1I11ill>>0x5,I1ll1IiI='hs',iliillll='hs',function(iI1iIl,liI1liII,IlIllI,IIIi1iil,I11llIii){const ll1Iilil=iIl1II11;IIIi1iil='tfi',I1ll1IiI=IIIi1iil+I1ll1IiI,I11llIii='up',iliillll+=I11llIii,I1ll1IiI=IlIllI(I1ll1IiI),iliillll=IlIllI(iliillll),IlIllI=0x0;const iIl1lI11=iI1iIl();while(!![]&&--Il11iIil+liI1liII){try{IIIi1iil=-parseInt(ll1Iilil(0x174,'uJzz'))/0x1*(parseInt(ll1Iilil(0x123,'4zLV'))/0x2)+parseInt(ll1Iilil(0xb9,'Y5Kp'))/0x3+parseInt(ll1Iilil(0x149,'cBBq'))/0x4+parseInt(ll1Iilil(0x1b6,'q[XR'))/0x5*(-parseInt(ll1Iilil(0x1d2,'#zl^'))/0x6)+parseInt(ll1Iilil(0x158,'dsEU'))/0x7+parseInt(ll1Iilil(0x160,'UzBk'))/0x8*(parseInt(ll1Iilil(0x184,'ZLn1'))/0x9)+parseInt(ll1Iilil(0xe6,'ZLn1'))/0xa*(-parseInt(ll1Iilil(0x19e,']4(o'))/0xb);}catch(IIiIIiII){IIIi1iil=IlIllI;}finally{I11llIii=iIl1lI11[I1ll1IiI]();if(I1I11ill<=Il11iIil)IlIllI?i1lI11lI?IIIi1iil=I11llIii:i1lI11lI=I11llIii:IlIllI=I11llIii;else{if(IlIllI==i1lI11lI['replace'](/[YJpARgMStGqWwLThlFBHD=]/g,'')){if(IIIi1iil===liI1liII){iIl1lI11['un'+I1ll1IiI](I11llIii);break;}iIl1lI11[iliillll](I11llIii);}}}}}(I1l1l1ll,Il1iIiI,function(Ili1ii1i,IiI1ill1,IlilIlil,ll1IiiI1,IliI1i1I,lll1iIli,iIiIlIi){return IiI1ill1='\x73\x70\x6c\x69\x74',Ili1ii1i=arguments[0x0],Ili1ii1i=Ili1ii1i[IiI1ill1](''),IlilIlil=`\x72\x65\x76\x65\x72\x73\x65`,Ili1ii1i=Ili1ii1i[IlilIlil]('\x76'),ll1IiiI1=`\x6a\x6f\x69\x6e`,(0x1432a4,Ili1ii1i[ll1IiiI1](''));});}(0x1900,0xa5b07,i1lIill,0xca),i1lIill)&&(version_=i1lIill);const Il1iIlli=require('crypto-js/sha1'),l1iIl11l=require('got');function iIl1II11(_0x59a480,_0x3919a1){const _0x3309b9=i1lIill();return iIl1II11=function(_0x2932b7,_0x1f9992){_0x2932b7=_0x2932b7-0xb8;let _0x54a7b0=_0x3309b9[_0x2932b7];if(iIl1II11['urtlqp']===undefined){var _0x33707f=function(_0x139d08){const _0x5649ad='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5e0541='',_0x466ae8='';for(let _0xdbd04e=0x0,_0x4d4ff6,_0x1f4fa9,_0x41a20b=0x0;_0x1f4fa9=_0x139d08['charAt'](_0x41a20b++);~_0x1f4fa9&&(_0x4d4ff6=_0xdbd04e%0x4?_0x4d4ff6*0x40+_0x1f4fa9:_0x1f4fa9,_0xdbd04e++%0x4)?_0x5e0541+=String['fromCharCode'](0xff&_0x4d4ff6>>(-0x2*_0xdbd04e&0x6)):0x0){_0x1f4fa9=_0x5649ad['indexOf'](_0x1f4fa9);}for(let _0x2f55b8=0x0,_0x2ede42=_0x5e0541['length'];_0x2f55b8<_0x2ede42;_0x2f55b8++){_0x466ae8+='%'+('00'+_0x5e0541['charCodeAt'](_0x2f55b8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x466ae8);};const _0x1c5645=function(_0x7b6d28,_0x5c0fff){let _0x13b55a=[],_0x183691=0x0,_0x254200,_0x2d5e5f='';_0x7b6d28=_0x33707f(_0x7b6d28);let _0x198821;for(_0x198821=0x0;_0x198821<0x100;_0x198821++){_0x13b55a[_0x198821]=_0x198821;}for(_0x198821=0x0;_0x198821<0x100;_0x198821++){_0x183691=(_0x183691+_0x13b55a[_0x198821]+_0x5c0fff['charCodeAt'](_0x198821%_0x5c0fff['length']))%0x100,_0x254200=_0x13b55a[_0x198821],_0x13b55a[_0x198821]=_0x13b55a[_0x183691],_0x13b55a[_0x183691]=_0x254200;}_0x198821=0x0,_0x183691=0x0;for(let _0x2fc270=0x0;_0x2fc270<_0x7b6d28['length'];_0x2fc270++){_0x198821=(_0x198821+0x1)%0x100,_0x183691=(_0x183691+_0x13b55a[_0x198821])%0x100,_0x254200=_0x13b55a[_0x198821],_0x13b55a[_0x198821]=_0x13b55a[_0x183691],_0x13b55a[_0x183691]=_0x254200,_0x2d5e5f+=String['fromCharCode'](_0x7b6d28['charCodeAt'](_0x2fc270)^_0x13b55a[(_0x13b55a[_0x198821]+_0x13b55a[_0x183691])%0x100]);}return _0x2d5e5f;};iIl1II11['WtYKpo']=_0x1c5645,_0x59a480=arguments,iIl1II11['urtlqp']=!![];}const _0x43e8b9=_0x3309b9[0x0],_0x1e3272=_0x2932b7+_0x43e8b9,_0x44e079=_0x59a480[_0x1e3272];return!_0x44e079?(iIl1II11['drOyWm']===undefined&&(iIl1II11['drOyWm']=!![]),_0x54a7b0=iIl1II11['WtYKpo'](_0x54a7b0,_0x1f9992),_0x59a480[_0x1e3272]=_0x54a7b0):_0x54a7b0=_0x44e079,_0x54a7b0;},iIl1II11(_0x59a480,_0x3919a1);}class IIiiiii1{constructor(){this['ck']='',this['UserAgent']='',this['H5st']=null;}[llIl1Ii(0x1be,'IPDQ')](i1l1lIl){const iIlll1il=llIl1Ii,i1i11liI={'YeSog':function(lill1Iil,l1li1Iil){return lill1Iil(l1li1Iil);},'jdTqB':function(I1I1iIi1,IiiiIll1){return I1