KR/function/krgetToken.js

14 lines
19 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*
new Env('getToken');
变量:
JD_TOKEN_INTERVAL //获取接口403延迟等待时长正整数默认延迟 30s=30000ms
JD_NEWTOKEN_INTERVAL //获取接口成功延迟等待时长(正整数),默认延迟 0s
JD_CACHE_INTERVAL //缓存TOKEN时长正整数默认缓存 25 分钟
JD_PROXY_OPEN // 代理启用变量默认不开启true/false
JD_PROXY_TUNNRL // 代理地址变量,默认不开启,仅支持代理池模式(auto-proxy-pool)格式为http://ip:port
JD_NO_PROXY // 禁止走代理,默认 127.0.0.1,*.baidu.com 需要自行修改
根据自行需要设定,缓存文件数据通用,不再区分域名
*/
var version_='jsjiami.com.v7';const iIIll1il=iill1ill;(function(lIiIII11,I1llI1Ii,l1l11il1,iIl1iiiI,IIl1I1lI,I1iIIiii,l1l1II1l){return lIiIII11=lIiIII11>>0x5,I1iIIiii='hs',l1l1II1l='hs',function(i1iIil,I1lli1I1,llIli111,l1IliliI,i1l1lIiI){const il1IiIii=iill1ill;l1IliliI='tfi',I1iIIiii=l1IliliI+I1iIIiii,i1l1lIiI='up',l1l1II1l+=i1l1lIiI,I1iIIiii=llIli111(I1iIIiii),l1l1II1l=llIli111(l1l1II1l),llIli111=0x0;const ili11Ill=i1iIil();while(!![]&&--iIl1iiiI+I1lli1I1){try{l1IliliI=parseInt(il1IiIii(0x21b,'XT16'))/0x1*(parseInt(il1IiIii(0x19b,'hwGG'))/0x2)+-parseInt(il1IiIii(0x22a,'[IS*'))/0x3+parseInt(il1IiIii(0x22e,'uC0F'))/0x4+parseInt(il1IiIii(0x243,'S6@6'))/0x5*(parseInt(il1IiIii(0x194,'G6L@'))/0x6)+-parseInt(il1IiIii(0x1ba,'DyJQ'))/0x7*(parseInt(il1IiIii(0x1b0,'MjCU'))/0x8)+-parseInt(il1IiIii(0x1ec,'i7aB'))/0x9+parseInt(il1IiIii(0x23e,'$zbq'))/0xa*(parseInt(il1IiIii(0x227,'0Qpw'))/0xb);}catch(i11ilIi){l1IliliI=llIli111;}finally{i1l1lIiI=ili11Ill[I1iIIiii]();if(lIiIII11<=iIl1iiiI)llIli111?IIl1I1lI?l1IliliI=i1l1lIiI:IIl1I1lI=i1l1lIiI:llIli111=i1l1lIiI;else{if(llIli111==IIl1I1lI['replace'](/[wBSWEbVtlqLOUYDrMhIGg=]/g,'')){if(l1IliliI===I1lli1I1){ili11Ill['un'+I1iIIiii](i1l1lIiI);break;}ili11Ill[l1l1II1l](i1l1lIiI);}}}}}(l1l11il1,I1llI1Ii,function(I1lI111i,IiIi11I1,I1I1II11,illIiiIl,l1IIlI1l,lIIlliiI,iIilI1li){return IiIi11I1='\x73\x70\x6c\x69\x74',I1lI111i=arguments[0x0],I1lI111i=I1lI111i[IiIi11I1](''),I1I1II11=`\x72\x65\x76\x65\x72\x73\x65`,I1lI111i=I1lI111i[I1I1II11]('\x76'),illIiiIl=`\x6a\x6f\x69\x6e`,(0x13ec23,I1lI111i[illIiiIl](''));});}(0x1900,0x7f9ca,iliIi11,0xca),iliIi11)&&(version_=iliIi11);const lllllIll=require('got'),lII1iI1=require(iIIll1il(0x1d4,'$zbq')),I11illII=require(iIIll1il(0x242,'^liY')),lii1iII1=process[iIIll1il(0x1b5,'OyPA')][iIIll1il(0x1c8,'UfYs')]||'25';let lilill1I=parseInt(lii1iII1)*0x3c*0x3e8;const IlIiilii=new lII1iI1(lilill1I,__dirname+'/cache/token.json'),i11lIIl1=[iIIll1il(0x219,'3S05'),iIIll1il(0x1e3,'##vC')],iliIil=i11lIIl1[IlI1lil1(0x0,i11lIIl1[iIIll1il(0x1d9,'sSo^')])],Il1Illi1=iliIil,Il1ili1l=process[iIIll1il(0x1a2,'Bj77')][iIIll1il(0x1f8,'ajhl')]||'',li11l1Ii=process[iIIll1il(0x1a0,'$7T5')][iIIll1il(0x22f,'x3Dj')]===iIIll1il(0x23b,'VpY('),lIll11I=process['env'][iIIll1il(0x21c,'XT16')]||'',iIIlilIi=process[iIIll1il(0x217,'qtdy')][iIIll1il(0x196,'Bj77')]||'127.0.0.1,*.baidu.com',I11l1iI=process[iIIll1il(0x1f4,'^liY')][iIIll1il(0x1f0,'[IS*')]||'30',liii111i=process[iIIll1il(0x21a,']cWC')][iIIll1il(0x1c0,'$zbq')]||'0';function iliIi11(){const i11iiIIi=(function(){return[...[version_,'MStVjBsbjILiSGEawmBhiVU.cOlYoWm.vq7DgbrL==','WPFcUmk6q0ldLSknWO8NW4ldRuH7Bmo3WQBdL3FcRstdIWzarSk1','4PMK77QWWQdKU6VNKQhLN5dLNipKURRVVRm','W7hNPkmhW4re5OQI5yM156+q5BYtia','4PMxd+w8JEwjNUAJJ+A2Q+wkO+w2SUw+PUwsQos4LoEtSE+8Pos/UUAFQ+wGRowhLEs4JEEsM+wCQowEMowmG+MgGq','W4eKAq','bN/cKWhcSW','q8ojW5Go','WR3cNKa','8kIlK8kcp8oLWPRcPrKOW5H9jSkkd8kY6k6j5RcJ5AEf6ls/WQu','amojWRe7jSknWPJdO01DqSkNW5S','hSopWOqBhJK','4PIC77MsnUs4NUEtSEw2Row/VEwqG+++U+w6RUIUMEISMEE/KCk2WQzDFgpNRPNLV6RMLkZPLOBKUBdcS8oNWRlNPAC','bmotjmkaW68','WQz4gcDBWQRcKSkjdI8btLRdPuZcJhS','ArddOczp','lGZdGYZdTCkDWRizj8oy','le4c','iv3dOW','xaNdUbJcVmoTESoCWQFcJq','muRdVConaa','WPXtWQj0xW','A8oIW6mKsJtdPtmNW4JcKCkjmq','WRabwCk8WRq','quPLWPvaW5JcI8kbisVdRWVdR2/cLmoZssr+ytJdH8ouW47dP2W9ymkwv8kwd8okmHvYWOVdS8oPWOuIWQldP8oCguTx','wL0BWOTF','teiEWR5rW7ZcU8kUa0hcKgK','DqtcOSkOx8khuCohW75wWR7dQmoO','8j6kSZBcLmkjiSoytCoNWQJdK8o/W7KJooISLoAWPUwLRoI0Jta','eCoEW7rP','wZFdJt7cHW','WOr5yJSl','EKldOga','8koRPIpdQCokWOvst8oxBCoHnqVcHYdLNl3LPjNNK5dORA3MSO7ML7dPGQJLIR3KUiFPL7FORjS','pComWRaObmoN','WQJdJmk8p8otwJjVrJxdNf3dSG','o8oqW7vsW6m','WQPRvW','WQJLIkhPKO98','4PIJ77UZFos7PUEtREw1MEw9VowrMo+9GEw6P+ITQ+ITMoE9RXZcNmkSWQbg566j5BYB5PEh6zwx5lUHW5pcGJZNPR0','ib3cTSk2','lX3cTq','8yglHHdcVmkMW68eW7ZcVNics8kGmJpMJOpLJi7OVlRLMPJLVjhLUy3dQEkFT8oo','WQxcTSk7h3S','4PQVtUw8OEwlQ+AJQUA2JEwlU+w0I+w/TUwqNEs6SEEsKo+/VEs8V+ADHowGK+whRos7IoEqNowER+wEG+wmVoMgLq','wCoFCa','8lM6RJNcSH/cHSooWPX6W4Pim8o2WPlcN+IUN+AXRUMxGEITMvRINRzd566j5zkx6i6m5yYW5AED6lEy','WOKmqSkOWQy','WPnDWRe','W48KASoh','hHpdIZ3dIW','oJTPW4qJWOFdKCkBnxBcMKNcJW','WP4irmktWQZdRIldOa','pYVdKG','wfWUWP0','dSoQWRJcL8kKrMytixGnfrm0fflcKCkjFmoCWOVdLmogW7/cVYnBk3W','i8otbG','WONcVmk0bCoPiCoqWPRdR8o1W65n','W7ddImoEy8koxCoBWQBdV8opW7nBWO/cRcG','c8okW7hdHCoJ','C8kFW5f7qW','4PU677UEW4G6wvSJWOBLP5VOTQxNR5RLV6lcJW'],...(function(){return[...['iCosWOpcPCoFjryZfLrTlW','DCkWe0FcQSoNiZykgmklWRi','4PInA+wpLUMfSE+/GCkQu8oYsSoiWQSCW6hdVCoPrSopAcJcJSoRmdeLxgTApwldPmkSvmoOzu3dIuFdQ13dV8oTfvmWz+s6OUwHPUEAJUI+RCkb','umkRW7VdKCkSw3eCbNTOnZi','WOXIDG','ghVdRCo1ja','lNZdJa','f8kVxdhcHdKbWPa','qSojW5ibzGhdNZKEW7y','5BAb6k625y+v5P6I5z6F57+I5A2Evmoty8oQE0a','W50lCeOGW5xdO8kWgcO+vKu','4PIf77MsWOZKUQVNK6xLNO3LNAJKUQNVV6u','BZjYWOq','qatdTsZcLa','DsVcM8kDF8oYWO7cSCo2W5TbDa','W4jJtYziWRFdJXRdJCouWQqgCa','qY1UWRFcSq','EuZdJmkplG','sSoXAG','E3SL','nuipWOmJ','W4KLzSomWRu','b3ddVmothG','WPTaoq','z3DYWOO','wwldKw8i','8jolISkic13dTmkLEY/cNKpdIcmpe+IVUEAYNowNUoI3VSoL4P6paeXGE8kzWQHziqjdm01wW4hdRa','W653BmkW','WRP0sseM','x17dTSkDlCkKvg8','W4GaW68Ha8o5tZ4BWPGcvSko','dSoPjmkFW5BdGSkgyqS7','WR1gWOnzya','WQFcH8k8zYW','AHZdVSoJdmoweCoJW559WQe','nc0UW4VdN2hcUvBdVCk/W7NcQ8oV','i8ocWRK','r3r8WQxcOG','kH7cSsf5z8kJW5FdTXZcM0Ws','mrFdHq','cSoSW6VdN8oHeCkTya','5BEh6k2l5y+b5P2R5z+E57+y5A2XD8odlKOyWQK','i8ogW4ddH8oCk8khsG','fCoQWQ3cK8oRgGODnxq','umkjW7NdNei','W5RdQCksd0bHfCkD','WRvWqKxdRwldJSkIAq','quOoWRjFW6/cTmk9c1ZcHW','WQfqgW','tuXcWQpcSWBdNM3dLmku','i1/dUSoZcSoFsmorW5b/WQhdKmkDoXpcJZO4WQaHW7eg','W5rnmcTqWOJcHa','pZn/WPJcHY3cQa','fK0WW7/dRq','4PM977QHW4RKUPZNKBFLNAtLN6BKU4xVVRa','AmooDaJcOW','EMJdJv4M','cmoNW6K','WOP/aqjw','BMaN','WQFcVCkgEq8','W5JcJCopqSkx','W5uCWR1+wCkSdt4WW4maFCok'],...(function(){return['WR7cM8kYcd4','crldGq7dTa','8ykQHh50ASkuW4CVW43dOSkzW5DPW6ZcIoIUSoAWJUMxT+ITSJJINytdU+ESSowtHUIoH+wmJUwNUoI2Kq','qvtdOG','WOVcU8kZ','dgpcIWRcHW','EMKkWQPE','r8ovzdFcGCkLwMy','8kIlK8kcp8oLWPRcPrKOW5H9jSkkd8kY6k6j5RcJ5AEf6ls/WO/INkTt6lAj5y+55PER5PE3','W4BcSCoJEmkU','xtZdJtzdWRqC','WOFcVSkp','W73dGmooCCkDxSoCWR7dP8oEW6Hb','vmo7FHpcPJWeWOW','W5BdO8oM','WQHrcG','W7T1Cmo7f8oCW7dcLZ/dJeL+','n0FdTmoLhSoakmovW4rPWQ7dG8ox','WRLqf8oyW7W','B8oPW6mNutZdSZu','b8kdiN/dL8o8eftdMq11jSoc','WQxcGCkrbvW','q8kRW5fGta','4PIItUIUVUEDU+ABS+s6QEEqJ+wCIEwFQEs6NEAvGUAmTEs5JoEqM+AYToARQow8Nvy3vSkPW6TKWQBcJSkDWPvid8kpbmkEWORdRW','jmoffmk4W7G','nmoyW4xdOmoI','WRv2WOLzCSkCkXavWQGTrmkVbvVdImoztZZdVq','wGxdNIPD','eghdImo2iG','BNyHWPnIW4tcLW','WPXaWQ5NCW','WQK1lmoJt8obW4NcLL7dGw5l','suZdS8k9dW','zUELR1dcS8kP576b5A6m5PEy6zANqG','WQPjtG8Yn1FcGCkMy8o1WOjosv5dW6a','4PUU77I9W7BKU7tNKlhLTlNLVB/LKBdVVzlLUjFOR43ORQxNVOGFymoMW65356Y05BY05Psy6zAk5lQRWPxdKCoO56AM','bv/dPmoNcmkoWQdcK8oWW5Tetq','CrKFWPSJtMdcIa','W4OFvSo6WRW','WQf+wvZcRYxdG8kHDSorW69hW6dcPCotmtK','4PUJuUw/KUwtVos4SoEtSownVUMeMo+8U8kpW7fMqmoJWOmVW7urWQVcGmkRW715WRhcHmksbmoJWPGzymozg8olW5OeumkO','8kkiLmkGB8ocWPqxW6/dGSolWQxdO8o1WQBdGUISSEAYIowLNoI2MSoA','WQrurHS2','8ysAL2CuCCkvWOpcQdOditPEW6Dt5z+L5AsZ55g86k2M5Rkt5PE66yoh5yQC5lUw6zAm6k+L','WP5znan7WO/cPmkI','WOr4kCooW4u','W5eDWRv2vmkJgNa3WOmhFSkE','jSoEWQGdcCoSabDLDCkAp8o7','ebL1W63dRG','W64blG','WRH+WPLvDSkhib4zWQGTtW','W64lj8o5W5qI','rWmtW4rP','kmoiWQO','8ksyHCokgbqGW7lcKmobWPbOW5tcMvnL6k205RoM5AE16lwyuEkDRLZMJQ7LJ5FOVjZLMkBKUAdNQQa','tJz/WPJcVa','D1BdIthdRSkjWOmxlCktCgddPW','nIRdGW','WPpcO8kP','CYldUSo3bmkPWONcQW','adLXW6FdGCkwB0BdHq'];}())];}())];}());iliIi11=function(){return i11iiIIi;};return iliIi11();};let l1ilii1I=![];li11l1Ii?(l1ilii1I=!![],require(iIIll1il(0x199,'^liY')),global[iIIll1il(0x1ca,'uC0F')][iIIll1il(0x23f,']cWC')]=lIll11I||'',global[iIIll1il(0x1fc,'Bj77')][iIIll1il(0x191,'$7T5')]=iIIll1il(0x1de,'Dhc[')+iIIlilIi,lIll11I==''?(console[iIIll1il(0x1a9,'M0cv')](iIIll1il(0x20e,'s1Of')),console[iIIll1il(0x207,'6[W5')](iIIll1il(0x1bd,'sSo^')),console[iIIll1il(0x20f,'DyJQ')]('⚠\x20变量export\x20JD_PROXY_TUNNRL=\x27http://ip:port\x27\x20不填直连\x0a')):(console[iIIll1il(0x224,'UfYs')](iIIll1il(0x1ee,'hwGG')),console[iIIll1il(0x1e0,'##vC')](iIIll1il(0x1e4,'%C3e')+global[iIIll1il(0x1b2,'XT16')]['HTTP_PROXY']+'\x0a'))):(console['log']('⚠\x20检测当前模式未开启代理默认直连运行'),console['log'](iIIll1il(0x1ce,'8xpC')));console[iIIll1il(0x226,'uC0F')](iIIll1il(0x21f,'G6L@')+I11l1iI+iIIll1il(0x1e5,'pSFl')+liii111i+iIIll1il(0x1c7,']cWC')+lii1iII1+iIIll1il(0x208,'x3Dj'));function iill1ill(_0x3fdb22,_0x59057a){const _0x163d9b=iliIi11();return iill1ill=function(_0x19ddd0,_0x17cb92){_0x19ddd0=_0x19ddd0-0x18f;let _0x445de2=_0x163d9b[_0x19ddd0];if(iill1ill['avJELd']===undefined){var _0x4a9158=function(_0x13ea61){const _0x28f419='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4b1c80='',_0xf22001='';for(let _0xe883b9=0x0,_0x36464b,_0x3b9e3f,_0x5debd0=0x0;_0x3b9e3f=_0x13ea61['charAt'](_0x5debd0++);~_0x3b9e3f&&(_0x36464b=_0xe883b9%0x4?_0x36464b*0x40+_0x3b9e3f:_0x3b9e3f,_0xe883b9++%0x4)?_0x4b1c80+=String['fromCharCode'](0xff&_0x36464b>>(-0x2*_0xe883b9&0x6)):0x0){_0x3b9e3f=_0x28f419['indexOf'](_0x3b9e3f);}for(let _0x5433c1=0x0,_0x5edd15=_0x4b1c80['length'];_0x5433c1<_0x5edd15;_0x5433c1++){_0xf22001+='%'+('00'+_0x4b1c80['charCodeAt'](_0x5433c1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xf22001);};const _0x18c135=function(_0x5d14fa,_0x518116){let _0x381edd=[],_0x30bf15=0x0,_0x199c4b,_0x3afa9a='';_0x5d14fa=_0x4a9158(_0x5d14fa);let _0x4c0004;for(_0x4c0004=0x0;_0x4c0004<0x100;_0x4c0004++){_0x381edd[_0x4c0004]=_0x4c0004;}for(_0x4c0004=0x0;_0x4c0004<0x100;_0x4c0004++){_0x30bf15=(_0x30bf15+_0x381edd[_0x4c0004]+_0x518116['charCodeAt'](_0x4c0004%_0x518116['length']))%0x100,_0x199c4b=_0x381edd[_0x4c0004],_0x381edd[_0x4c0004]=_0x381edd[_0x30bf15],_0x381edd[_0x30bf15]=_0x199c4b;}_0x4c0004=0x0,_0x30bf15=0x0;for(let _0x41f682=0x0;_0x41f682<_0x5d14fa['length'];_0x41f682++){_0x4c0004=(_0x4c0004+0x1)%0x100,_0x30bf15=(_0x30bf15+_0x381edd[_0x4c0004])%0x100,_0x199c4b=_0x381edd[_0x4c0004],_0x381edd[_0x4c0004]=_0x381edd[_0x30bf15],_0x381edd[_0x30bf15]=_0x199c4b,_0x3afa9a+=String['fromCharCode'](_0x5d14fa['charCodeAt'](_0x41f682)^_0x381edd[(_0x381edd[_0x4c0004]+_0x381edd[_0x30bf15])%0x100]);}return _0x3afa9a;};iill1ill['HWAtlf']=_0x18c135,_0x3fdb22=arguments,iill1ill['avJELd']=!![];}const _0x37e1e3=_0x163d9b[0x0],_0x4bf381=_0x19ddd0+_0x37e1e3,_0x3ca480=_0x3fdb22[_0x4bf381];return!_0x3ca480?(iill1ill['AhcAWb']===undefined&&(iill1ill['AhcAWb']=!![]),_0x445de2=iill1ill['HWAtlf'](_0x445de2,_0x17cb92),_0x3fdb22[_0x4bf381]=_0x445de2):_0x445de2=_0x3ca480,_0x445de2;},iill1ill(_0x3fdb22,_0x59057a);}function iIIl1I11(II11ii11='',l1II11Ii){const Il1ii1I1=iIIll1il,IIli1i1={'YQZwl':function(lili1Ii1,lii1iIII){return lili1Ii1>lii1iIII;},'YPnIj':function(IIlili1i,lIiiI1l1){return IIlili1i!==lIiiI1l1;},'gcZlb':'BRvJE'};let II1IliiI=l1II11Ii['exec'](II11ii11);if(II1IliiI&&IIli1i1[Il1ii1I1(0x1bf,'$7T5')](II1IliiI['length'],0x0)){if(IIli1i1['YPnIj'](Il1ii1I1(0x1a4,'vzoT'),IIli1i1['gcZlb']))return II1IliiI[0x0]['trim']();else i1I1ii[Il1ii1I1(0x244,'!JIR')](Il1ii1I1(0x1eb,'Dhc[')+(l111lliI||'')+'\x0a');}return'';}function liI11(I1ilI1II,II11liII){const iIi1IIll=iIIll1il,ilIliiIl={'dtswx':function(lIIl1lI,illl1IIl){return lIIl1lI(illl1IIl);},'tgVYo':'global-agent/bootstrap','kdvFe':function(l1lI1ll1,iIiilill){return l1lI1ll1||iIiilill;},'ucjyv':iIi1IIll(0x1e6,'122p'),'gTXDg':'⚠\x20请知晓代理地址仅支持代理池模式(auto-proxy-pool)','VQquq':iIi1IIll(0x222,'LV&5'),'fCFqB':function(il1l1i11,llII1lil){return il1l1i11+llII1lil;},'BnTOf':iIi1IIll(0x22b,'Oyp0'),'CkieK':iIi1IIll(0x23c,'UfYs')};let iiilI1li=new Date()[iIi1IIll(0x216,'m4bj')]();if(iiilI1li>=0x0&&iiilI1li<=0x17){if(ilIliiIl[iIi1IIll(0x214,'Dhc[')]===ilIliiIl[iIi1IIll(0x1dd,'hwGG')])return I1ilI1II;else IiIIlIl=!![],ilIliiIl[iIi1IIll(0x201,'UfYs')](Illl11,ilIliiIl['tgVYo']),iIii11I1[iIi1IIll(0x1d8,'$zbq')][iIi1IIll(0x198,'S6@6')]=ilIliiIl[iIi1IIll(0x1c1,'SgIn')](ilII1i1,''),I111Ili['GLOBAL_AGENT'][iIi1IIll(0x1b9,'ajhl')]=iIi1IIll(0x1a5,'$zbq')+lIil11lI,IIlIlIIi==''?(l1il11i['log'](ilIliiIl[iIi1IIll(0x234,'r4wO')]),l11l1IIl[iIi1IIll(0x1e7,'LV&5')](ilIliiIl[iIi1IIll(0x1cc,'LV&5')]),IIliIIiI[iIi1IIll(0x1ea,'pSFl')](ilIliiIl['VQquq'])):(iliIII1l['log'](iIi1IIll(0x209,'r6Cf')),iIl1ii1i[iIi1IIll(0x1df,'qtdy')](ilIliiIl[iIi1IIll(0x1a1,'[IS*')](ilIliiIl[iIi1IIll(0x1ef,']cWC')],lIlIIli1[iIi1IIll(0x220,'3S05')][iIi1IIll(0x1f5,'Oyp0')])+'\x0a'));}return I1ilI1II+'_'+II11liII;}function IlI1lil1(lIlliii1,iI1lIil){const iiIlIIi1=iIIll1il,iiIi1I={'gUbCw':function(liiIli1I,iiiiiIlI){return liiIli1I+iiiiiIlI;}};return iiIi1I['gUbCw'](Math['floor'](Math[iiIlIIi1(0x204,'!JIR')]()*(iI1lIil-lIlliii1)),lIlliii1);}async function iii1li1l(l11II1i1,lIl11l1I){const li1l11iI=iIIll1il,IIlI1ill={'ehFBw':li1l11iI(0x1d3,'OyPA'),'Ojavd':function(iII1IIl,I1lilIIi){return iII1IIl==I1lilIIi;},'crxpD':function(iIiliiII,IliiiI1I){return iIiliiII*IliiiI1I;},'YOfqI':function(liiII111,iiIII1Il){return liiII111(iiIII1Il);},'NPykj':function(il1iIil,i1ll1ili){return il1iIil!==i1ll1ili;},'TwIbl':'xuMeI','rnFbJ':function(l1iI1i1i,illII1lI){return l1iI1i1i||illII1lI;},'hkmlx':function(llI1IIl1,IIi1l1I1){return llI1IIl1+IIi1l1I1;},'MpJvb':function(IiliIIi1,lillI1li){return IiliIIi1<=lillI1li;},'SjlWD':function(IIiiliil,I1iIi1il){return IIiiliil+I1iIi1il;},'fCnRm':function(lilIl1Il,llI11IiI){return lilIl1Il+llI11IiI;},'bEIGf':function(iIIli1i,I111lllI,Iillili1){return iIIli1i(I111lllI,Iillili1);},'ZhFPm':function(i1lIi1l1,i1iil1lI,iI1l1I1I){return i1lIi1l1(i1iil1lI,iI1l1I1I);},'RZWCK':li1l11iI(0x240,'$zbq'),'cTvcA':function(liiI1,li1lili1,lIlli1Il){return liiI1(li1lili1,lIlli1Il);},'uWWmX':li1l11iI(0x1d5,'!JIR'),'GFolq':li1l11iI(0x230,'hwGG'),'dwvPM':'LmnTL','kRMVR':li1l11iI(0x1d0,'UfYs'),'hKLGb':'application/x-www-form-urlencoded','AOUvH':li1l11iI(0x1fa,'Bj77'),'NgSqM':'zh-Hans-CN;q=1','EcWvW':function(llIiiIl1,ll1IilIi){return llIiiIl1===ll1IilIi;},'RrcSk':'LatVu','TjcVt':li1l11iI(0x1f6,'uC0F'),'eybWw':li1l11iI(0x19c,'i^zn'),'BljVN':li1l11iI(0x1f9,'m4bj'),'XqHJw':function(il1IlIil,lIll1I1i){return il1IlIil===lIll1I1i;},'NouZD':li1l11iI(0x193,'womq'),'kRnay':li1l11iI(0x241,'##vC'),'BavrM':function(l1IliIi1,IIlIl1iI){return l1IliIi1===IIlIl1iI;},'apMPW':li1l11iI(0x22d,'Oyp0'),'bxdwq':li1l11iI(0x1e8,'siO3')};async function IIilIIii(lil11lII){const I1i1I1il=li1l11iI;if(IIlI1ill['ehFBw']===I1i1I1il(0x235,'LV&5'))ii1Ii1i1[I1i1I1il(0x1f3,'r4wO')](I1i1I1il(0x1d1,'[IS*')),I1IIl11l[I1i1I1il(0x1aa,'8zc6')](I1liilIl);else return new Promise(ii1I1IiI=>setTimeout(ii1I1IiI,lil11lII));}let lili1lI=0x0,l1I11lI1='',I1iIlIl=IIlI1ill[li1l11iI(0x19f,']HDI')](iIIl1I11,l11II1i1,/(?<=pt_pin=)([^;]+)/);if(I1iIlIl){let l1lI11=IIlI1ill[li1l11iI(0x225,'uC0F')](liI11,I1iIlIl,lIl11l1I);l1I11lI1=IlIiilii[li1l11iI(0x1db,'!JIR')](l1lI11)||'';if(l1I11lI1===''){if(IIlI1ill[li1l11iI(0x19e,'0Qpw')](li1l11iI(0x1da,'s1Of'),IIlI1ill[li1l11iI(0x1ac,'8r(&')])){let lil1iIi1=await IIlI1ill[li1l11iI(0x1d6,'@At%')](I11illII,IIlI1ill[li1l11iI(0x1bc,'i7aB')],{'url':lIl11l1I,'id':''});if(lil1iIi1)try{if(IIlI1ill['GFolq']===IIlI1ill['GFolq']){if(Il1ili1l){if(IIlI1ill[li1l11iI(0x1c6,'M0cv')]===IIlI1ill['kRMVR'])return I11llll1[0x0]['trim']();else body=lil1iIi1[li1l11iI(0x1ff,'%C3e')][li1l11iI(0x228,'ajhl')];}else body=lil1iIi1[li1l11iI(0x202,']HDI')];const l1ili1il=await lllllIll[li1l11iI(0x218,'8r(&')]('https://api.m.jd.com/client.action?functionId=isvObfuscator',{'headers':{'Host':li1l11iI(0x1b6,'VpY('),'Content-Type':IIlI1ill['hKLGb'],'Cookie':l11II1i1,'User-Agent':IIlI1ill[li1l11iI(0x239,']HDI')],'Accept-Language':IIlI1ill[li1l11iI(0x20d,'G6L@')],'Accept-Encoding':li1l11iI(0x1cd,'6[W5')},'body':body,'timeout':0x7530})[li1l11iI(0x1f7,'$zbq')](async I1lIiI1l=>{const liiIilll=li1l11iI;if(I1lIiI1l['response']){console[liiIilll(0x197,'OyPA')](liiIilll(0x23a,'SgIn')+(I1lIiI1l[liiIilll(0x1d2,'[IS*')][liiIilll(0x192,'3S05')]||'')+'\x20('+(I1lIiI1l['response'][liiIilll(0x1b7,'^liY')]||'')+')');if(IIlI1ill[liiIilll(0x200,'Oyp0')](I1lIiI1l[liiIilll(0x23d,'M0cv')][liiIilll(0x1f2,'Dhc[')],0x193)){let iIiiiii=IIlI1ill[liiIilll(0x1c4,'$zbq')](parseInt(I11l1iI),0x3e8);await IIlI1ill[liiIilll(0x1a6,'8zc6')](IIilIIii,iIiiiii);}}else I1lIiI1l[liiIilll(0x1b3,'0Qpw')][liiIilll(0x22c,'hwGG')]?console[liiIilll(0x20b,'8xpC')](liiIilll(0x1fe,'S6@6')+(I1lIiI1l[liiIilll(0x1ad,'DyJQ')][liiIilll(0x1e9,'ajhl')]||'')+'\x0a'):IIlI1ill[liiIilll(0x1bb,'G6L@')](IIlI1ill[liiIilll(0x231,'M0cv')],'iygQD')?console[liiIilll(0x1aa,'8zc6')](liiIilll(0x1cf,'%C3e')+IIlI1ill[liiIilll(0x1fb,'8r(&')](I1lIiI1l,'')+'\x0a'):ll1IliIi[liiIilll(0x237,'122p')](liiIilll(0x20c,'m4bj')+ii1IIIiI[liiIilll(0x1e2,'@At%')](liIi1ill));});if(l1ili1il&&IIlI1ill[li1l11iI(0x236,'uC0F')](typeof l1ili1il,'object')){if(IIlI1ill['EcWvW'](IIlI1ill[li1l11iI(0x1c2,'uC0F')],IIlI1ill[li1l11iI(0x1a7,'Dhc[')]))return new i1iii1l1(I1IlIi1I=>I11Iii11(I1IlIi1I,lIII1iI1));else{if(l1ili1il[li1l11iI(0x238,'S6@6')]){if(IIlI1ill['eybWw']===IIlI1ill[li1l11iI(0x245,'S6@6')])return IIlI1ill['hkmlx'](IIlIl1Ii['floor'](iiilIiI1[li1l11iI(0x1ed,'*uNH')]()*(iIllI11i-i111ll1I)),lllI1Ii1);else{let liiIllIi=JSON[li1l11iI(0x211,'m4bj')](l1ili1il[li1l11iI(0x213,'LV&5')]);if(liiIllIi['code']==='0'){if(IIlI1ill[li1l11iI(0x1a3,'##vC')](IIlI1ill[li1l11iI(0x206,'%C3e')],IIlI1ill[li1l11iI(0x1ab,'siO3')])){let ilI1il1=new iIIIiIiI()[li1l11iI(0x18f,'$7T5')]();if(ilI1il1>=0x0&&IIlI1ill['MpJvb'](ilI1il1,0x17))return lIIliilI;return ll11iiil+'_'+iI1l11iI;}else{l1I11lI1=liiIllIi[li1l11iI(0x1b8,'OyPA')],IlIiilii[li1l11iI(0x233,'Bj77')](l1lI11,l1I11lI1,lilill1I);let l11liII=IIlI1ill[li1l11iI(0x1af,'vzoT')](parseInt,liii111i)*0x3e8;await IIilIIii(l11liII);}}else{if(liiIllIi[li1l11iI(0x20a,'8xpC')]==='3'&&IIlI1ill[li1l11iI(0x1f1,'SgIn')](liiIllIi['errcode'],0x108))console[li1l11iI(0x212,'$zbq')](li1l11iI(0x1ae,'Dhc['));else{if(IIlI1ill['BavrM'](IIlI1ill['apMPW'],IIlI1ill[li1l11iI(0x1be,']cWC')]))return IIlI111l;else console['log']('🚫\x20getToken\x20API接口返回异常\x20➜\x20'+JSON[li1l11iI(0x195,'6[W5')](liiIllIi));}}}}else console['log'](li1l11iI(0x1dc,'*uNH'));}}}else IlI1I1i[li1l11iI(0x20b,'8xpC')](li1l11iI(0x1a8,'122p'));}catch(lIl1IIIl){IIlI1ill[li1l11iI(0x21e,'i7aB')]('pjqwL','pjqwL')?(console[li1l11iI(0x1d7,'sSo^')](li1l11iI(0x203,'@At%')),console['log'](lIl1IIIl)):(Ii1lIiII['log'](li1l11iI(0x1c9,'$zbq')),ili11il[li1l11iI(0x247,'Dhc[')](IIlI1ill['SjlWD'](IIlI1ill[li1l11iI(0x21d,'$7T5')](li1l11iI(0x19d,'*uNH'),I1iIll1I[li1l11iI(0x221,'r6Cf')]['HTTP_PROXY']),'\x0a')));}else console[li1l11iI(0x1b1,'G6L@')](li1l11iI(0x210,'VpY('));}else Il1iiIII[li1l11iI(0x232,'0Qpw')](li1l11iI(0x190,'DyJQ'));}else console[li1l11iI(0x1b4,'XT16')](li1l11iI(0x229,'@At%'));}return l1I11lI1;}module[iIIll1il(0x1c3,'Bj77')]=iii1li1l;var version_ = 'jsjiami.com.v7';