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-31 19:52:18 +08:00
var version_='jsjiami.com.v7';const liii11=iii1II;(function(iIiiI1,I1IIiI,ilIli1,li11lI,l1I1ll,li1il,l1I1li){return iIiiI1=iIiiI1>>0x6,li1il='hs',l1I1li='hs',function(li1ii,lI1iI1,iIIIi1,lIiIiI,ilIliI){const II1ll=iii1II;lIiIiI='tfi',li1il=lIiIiI+li1il,ilIliI='up',l1I1li+=ilIliI,li1il=iIIIi1(li1il),l1I1li=iIIIi1(l1I1li),iIIIi1=0x0;const II1li=li1ii();while(!![]&&--li11lI+lI1iI1){try{lIiIiI=parseInt(II1ll(0x23e,'g(DI'))/0x1*(-parseInt(II1ll(0x1f4,'fom^'))/0x2)+-parseInt(II1ll(0x1d1,']U8v'))/0x3+parseInt(II1ll(0xba,'&FrO'))/0x4+parseInt(II1ll(0x19b,'*Bth'))/0x5*(-parseInt(II1ll(0x1ef,'nhMW'))/0x6)+parseInt(II1ll(0xa9,'@uy9'))/0x7+-parseInt(II1ll(0x128,'jzM8'))/0x8*(parseInt(II1ll(0x1c8,'&%q2'))/0x9)+parseInt(II1ll(0x171,']fOH'))/0xa*(parseInt(II1ll(0x205,'CaJ!'))/0xb);}catch(Ii1lIi){lIiIiI=iIIIi1;}finally{ilIliI=II1li[li1il]();if(iIiiI1<=li11lI)iIIIi1?l1I1ll?lIiIiI=ilIliI:l1I1ll=ilIliI:iIIIi1=ilIliI;else{if(iIIIi1==l1I1ll['replace'](/[gYrKIkOLBSdwNUyTPWn=]/g,'')){if(lIiIiI===lI1iI1){II1li['un'+li1il](ilIliI);break;}II1li[l1I1li](ilIliI);}}}}}(ilIli1,I1IIiI,function(li11il,ll1lII,Ii1lIl,iIIIiI,li1iI,I1IIi1,ll1lI1){return ll1lII='\x73\x70\x6c\x69\x74',li11il=arguments[0x0],li11il=li11il[ll1lII](''),Ii1lIl=`\x72\x65\x76\x65\x72\x73\x65`,li11il=li11il[Ii1lIl]('\x76'),iIIIiI=`\x6a\x6f\x69\x6e`,(0x145463,li11il[iIIIiI](''));});}(0x3300,0x40c21,Iii11l,0xce),Iii11l)&&(version_=liii11(0x19d,'Au&R'));const Ili1I1=require('crypto-js/sha1'),lI1I1i=require(liii11(0xfa,'E[Dv'));function iii1II(_0x24aa45,_0x3b856c){const _0x46976d=Iii11l();return iii1II=function(_0x5071b5,_0x2c3498){_0x5071b5=_0x5071b5-0xa8;let _0x307a48=_0x46976d[_0x5071b5];if(iii1II['vqZgdP']===undefined){var _0x49282e=function(_0x40fd4e){const _0x296cda='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3947b8='',_0x427802='';for(let _0x19e54d=0x0,_0x54b34d,_0x1d1b90,_0x3aa025=0x0;_0x1d1b90=_0x40fd4e['charAt'](_0x3aa025++);~_0x1d1b90&&(_0x54b34d=_0x19e54d%0x4?_0x54b34d*0x40+_0x1d1b90:_0x1d1b90,_0x19e54d++%0x4)?_0x3947b8+=String['fromCharCode'](0xff&_0x54b34d>>(-0x2*_0x19e54d&0x6)):0x0){_0x1d1b90=_0x296cda['indexOf'](_0x1d1b90);}for(let _0x4b28c2=0x0,_0x13e640=_0x3947b8['length'];_0x4b28c2<_0x13e640;_0x4b28c2++){_0x427802+='%'+('00'+_0x3947b8['charCodeAt'](_0x4b28c2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x427802);};const _0x5e3501=function(_0x401025,_0x3fcc5a){let _0x343b0c=[],_0x36ac5a=0x0,_0x174a08,_0x1de9dc='';_0x401025=_0x49282e(_0x401025);let _0x247210;for(_0x247210=0x0;_0x247210<0x100;_0x247210++){_0x343b0c[_0x247210]=_0x247210;}for(_0x247210=0x0;_0x247210<0x100;_0x247210++){_0x36ac5a=(_0x36ac5a+_0x343b0c[_0x247210]+_0x3fcc5a['charCodeAt'](_0x247210%_0x3fcc5a['length']))%0x100,_0x174a08=_0x343b0c[_0x247210],_0x343b0c[_0x247210]=_0x343b0c[_0x36ac5a],_0x343b0c[_0x36ac5a]=_0x174a08;}_0x247210=0x0,_0x36ac5a=0x0;for(let _0x3ca283=0x0;_0x3ca283<_0x401025['length'];_0x3ca283++){_0x247210=(_0x247210+0x1)%0x100,_0x36ac5a=(_0x36ac5a+_0x343b0c[_0x247210])%0x100,_0x174a08=_0x343b0c[_0x247210],_0x343b0c[_0x247210]=_0x343b0c[_0x36ac5a],_0x343b0c[_0x36ac5a]=_0x174a08,_0x1de9dc+=String['fromCharCode'](_0x401025['charCodeAt'](_0x3ca283)^_0x343b0c[(_0x343b0c[_0x247210]+_0x343b0c[_0x36ac5a])%0x100]);}return _0x1de9dc;};iii1II['GRIAmg']=_0x5e3501,_0x24aa45=arguments,iii1II['vqZgdP']=!![];}const _0x6ba8e4=_0x46976d[0x0],_0x13640f=_0x5071b5+_0x6ba8e4,_0x27731a=_0x24aa45[_0x13640f];return!_0x27731a?(iii1II['awjorP']===undefined&&(iii1II['awjorP']=!![]),_0x307a48=iii1II['GRIAmg'](_0x307a48,_0x2c3498),_0x24aa45[_0x13640f]=_0x307a48):_0x307a48=_0x27731a,_0x307a48;},iii1II(_0x24aa45,_0x3b856c);}class liI1II{constructor(){const lIiIii=liii11;this['ck']='',this[lIiIii(0x187,'@uy9')]='',this[lIiIii(0x1ce,'df]p')]=null;}[liii11(0x257,'EXZk')](i1Iii1){try{const l1liii=new URL(i1Iii1);return l1liii;}catch(I1Ili1){return{};}}[liii11(0x129,'dS5e')](l1liil){const i1Ill=liii11,i1ll1={'UKmsM':function(lilI1I,lI1I1l){return lilI1I*lI1I1l;},'kHaSE':function(Il1Il,i1IiiI){return Il1Il!==i1IiiI;},'BPDRM':i1Ill(0x1c1,'kA*s'),'rmLWk':function(lI1I1I,l1lII){