/* 口令转链接 10 10 10 10 * jd_code2url.js nolan服务接口 */ const $ = new Env('口令转链接'); var _0xod9='jsjiami.com.v7';const _0x525db6=_0x5f43;function _0x5f43(_0xfd7a9d,_0x4518a4){const _0xeb2435=_0x411d();return _0x5f43=function(_0x573fd8,_0x2382f2){_0x573fd8=_0x573fd8-0x1da;let _0x411d94=_0xeb2435[_0x573fd8];if(_0x5f43['xeQFQv']===undefined){var _0x5f430f=function(_0x10e92a){const _0x18229e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5b113e='',_0x4fa97d='',_0x58716c=_0x5b113e+_0x5f430f;for(let _0x30c392=0x0,_0xafbf68,_0x40f4ca,_0x2578dd=0x0;_0x40f4ca=_0x10e92a['charAt'](_0x2578dd++);~_0x40f4ca&&(_0xafbf68=_0x30c392%0x4?_0xafbf68*0x40+_0x40f4ca:_0x40f4ca,_0x30c392++%0x4)?_0x5b113e+=_0x58716c['charCodeAt'](_0x2578dd+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0xafbf68>>(-0x2*_0x30c392&0x6)):_0x30c392:0x0){_0x40f4ca=_0x18229e['indexOf'](_0x40f4ca);}for(let _0x2742d0=0x0,_0x53683a=_0x5b113e['length'];_0x2742d0<_0x53683a;_0x2742d0++){_0x4fa97d+='%'+('00'+_0x5b113e['charCodeAt'](_0x2742d0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4fa97d);};const _0x273c5e=function(_0x13455d,_0x6eda5){let _0x57c475=[],_0x5ea107=0x0,_0x49c345,_0x190527='';_0x13455d=_0x5f430f(_0x13455d);let _0x277a88;for(_0x277a88=0x0;_0x277a88<0x100;_0x277a88++){_0x57c475[_0x277a88]=_0x277a88;}for(_0x277a88=0x0;_0x277a88<0x100;_0x277a88++){_0x5ea107=(_0x5ea107+_0x57c475[_0x277a88]+_0x6eda5['charCodeAt'](_0x277a88%_0x6eda5['length']))%0x100,_0x49c345=_0x57c475[_0x277a88],_0x57c475[_0x277a88]=_0x57c475[_0x5ea107],_0x57c475[_0x5ea107]=_0x49c345;}_0x277a88=0x0,_0x5ea107=0x0;for(let _0x4d9a07=0x0;_0x4d9a07<_0x13455d['length'];_0x4d9a07++){_0x277a88=(_0x277a88+0x1)%0x100,_0x5ea107=(_0x5ea107+_0x57c475[_0x277a88])%0x100,_0x49c345=_0x57c475[_0x277a88],_0x57c475[_0x277a88]=_0x57c475[_0x5ea107],_0x57c475[_0x5ea107]=_0x49c345,_0x190527+=String['fromCharCode'](_0x13455d['charCodeAt'](_0x4d9a07)^_0x57c475[(_0x57c475[_0x277a88]+_0x57c475[_0x5ea107])%0x100]);}return _0x190527;};_0x5f43['CcQWoB']=_0x273c5e,_0xfd7a9d=arguments,_0x5f43['xeQFQv']=!![];}const _0x8ce639=_0xeb2435[0x0],_0x52c2d5=_0x573fd8+_0x8ce639,_0x40ee07=_0xfd7a9d[_0x52c2d5];if(!_0x40ee07){if(_0x5f43['fgxWzQ']===undefined){const _0x1c0baa=function(_0x1b16f5){this['laIEfr']=_0x1b16f5,this['AAVLNw']=[0x1,0x0,0x0],this['SfpkAK']=function(){return'newState';},this['AyXCSs']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['zxZxjw']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x1c0baa['prototype']['GYZoCO']=function(){const _0x292121=new RegExp(this['AyXCSs']+this['zxZxjw']),_0x11ef02=_0x292121['test'](this['SfpkAK']['toString']())?--this['AAVLNw'][0x1]:--this['AAVLNw'][0x0];return this['tQKCXU'](_0x11ef02);},_0x1c0baa['prototype']['tQKCXU']=function(_0x3e02bf){if(!Boolean(~_0x3e02bf))return _0x3e02bf;return this['cUzZYJ'](this['laIEfr']);},_0x1c0baa['prototype']['cUzZYJ']=function(_0x34c4e1){for(let _0x550d13=0x0,_0x54d269=this['AAVLNw']['length'];_0x550d13<_0x54d269;_0x550d13++){this['AAVLNw']['push'](Math['round'](Math['random']())),_0x54d269=this['AAVLNw']['length'];}return _0x34c4e1(this['AAVLNw'][0x0]);},new _0x1c0baa(_0x5f43)['GYZoCO'](),_0x5f43['fgxWzQ']=!![];}_0x411d94=_0x5f43['CcQWoB'](_0x411d94,_0x2382f2),_0xfd7a9d[_0x52c2d5]=_0x411d94;}else _0x411d94=_0x40ee07;return _0x411d94;},_0x5f43(_0xfd7a9d,_0x4518a4);}function _0x411d(){const _0x3e70e7=(function(){return[...[_0xod9,'uIjLNspwjPgiyUaJkmCiw.FcNWoJmTQ.xPDvRqB7==','WO3cTL/dPc7cIqXs','W6KZpmoepG','WQBdNmoiCCkfW5VcJG3dTCob','kCkYBmod','WRP7W7LXWOS','qHtLPQFOT51pW4xLJ4/LMiOQWQa','xahcO8k3kCkshSkSwG','W67cHCoUWPaJ','phBdISo8','CSkUDSkRwW','W6NdSmkHW7OJlmkEWQu8cfZdVa','WOPBs8kHCG','iqSUxCoS','p8o0u3JcJ8o4kCoY','cmk2xrddGa','yCkQBWRdOa','W6j3ywXb','wSkKWQBcImoX','e8knEfa','oCkYuCosWQT6W6OL','vYiOdNeQlCkFArvXWPS','WQRdM8ksW77dImksW68W','cIm7uge','W6z9qfS','W7v/W74','v3hcLwfFW6X4WOldIbT4b8kCWQ3dICoIWQ4tus8skmoFnSobgmosWPFcOmkEWRKYoW','xqK6mmksWPT6WORcGW','WR7cUmoKWQz7F8ksWOGHf1tcOur9a27cUCoNlelcMCoLWQ83nqD3W7VdV8ktoCkuW7u','xcKv','WORcVmoYW7i','W5FdImoPWR5V','WOfMxSkW','WP8zW4RcOmoiAf1hWOqUW4i3nMiSo8orfsSbWQZdRdVdKSoOvCkVyHdcMNm4WQ0MDXHZWOtcHHHrqNOLWQJcJmkOoHb4W7xdQgukW4FdQbqMAW','s8kXWRVcKCoC','w03dNCkqaCkup8koqCoQWQZdUh0AkCkW','axnVxG','aCkWxLrZ','WQ1mAq','zbuHWP/dO8kViW','W4rFwZ3dSW','gSo1sNBcNa','WOlcTKFcIJZcQbVcOsORtmoIWQXuWRm1','t8oVW6/dNuiaatK','W4qrBmklbmkHyr4','ddSvruS','W6mOgCoP','lI88q8oW','rMdcL35t','WR9qicRdMG','W7rWW6L/','W4FdNMXkWPe','chy7W48uFddcQW','ery6ufO','W4tdMKTTWRa','5yMJ5lQ56icE77YL','WRX4lmoUb23cIIG','W5RcS2a','W4hdICo2W6u','sCkFW7TmWRu','WR5XdW','W4b6W75TWPK','W7XrxejtWQVdJ30DAthcOW','i8k8B8od','Emo9W7NdIJPv'],...(function(){return[...['W4mNW7ddPmk5lmkSWPq','WPfhFa','WQj4W4LdWOaq','W7VcRSoz','WRxdLmokASkf','CazQW4K','kCk6s8otWPe','CqL9','w8ozW6pdU3q','cYy4CCkrvW','WPKmW6FcGSo9','tmkFEc7dRwNdGmkzW6mLzSo6WQtdJZzj','W69wy2HU','dZuOCG','W7v9v0O','W4JdQutdQrVcLdjd','W63cIx7cVWC','xCk9WQdcQ8oe','WQqNbMbrWQtdOLm2','WRZcHLG4buZcPW','yrKlWOhdTq','dJhdNtWcWRDTWRhdOcrKBW','WP0yW5pcOmoUib4','WROY5Asc6lskn8oZ5yYZ5zU1rIC','d8ofWOTxwG','kmkZyCouWQbJW7a','mCkSW6q+','aYO8E3q','FddcG33dM8k1','WRSWWPBcGCoe','b8oVW5/dRSkyhSkVgmkusCoEWOK','tSkqEHJdO2vEgmkpW6S','W749bSoLkghcLY19','zWj/W5OYW7m','mcvnmuO','a8koW54CdW','umkZuSkEzW','A8k2W7u','WR/cGvu','W50plq','WRr/WOnLWPW','WR9/hcJdVW','W647dCo8mMNdKYf3','W63dV8kHW70KD8k1WPC5kL8','WOHOtSk0','qmk8W7THWRu','W4pcMMhdPIu','pg3dTmkCpq','iCkmvK9J','WP17W7pdJSktlmkf','WQ5PW6VdRCkS','q8kOWPa','6zcW5O6Y7760','W6GNfW','W4lcJmk3W4VdRq','WPLMuCknvG','W5uUnCoOjW','WQJcPCohWOfw','poISJUIUK+E/SUMEJEINM+INUEACMoEASowpLEs4JU+8GgfextS6','W53dRSoBWQTi','kmo6qK7cRG','WQxdTmklW69PW7DvWOarnCo1W48','c8okWOvbCa','5lUm6Ao1776K','WQqoW6NcVmor','WQNdMSoF'],...(function(){return['jCoNWQL3tmk3W7C','cM/dN8kTWOO','iCoUnCo2fX4rW5L+WQypvW','raGwWPJdRa','W5qUgCoaja','smkxAq','mCoaW7dcUmo5WPBdVw/cUSoBg8oHv1HnWP0','W5tcIKxdRqG','hmknEW','zazSW5S0','W77cSmohWOeP','W6tcPmoFWQu4WQy','mJvDjea','c3bwWPPJFalcO0jetG','FddcGW','WRpcP8oZ','W5azg0an','WOhcGW1nWQWVyCkJWOi','W6aom8o9ia','atuIzhNcPcldQCkozMq','WQq6WOZcHSovWPZdVG3cU8oVW59lb8k/WPmHvKf2W4xdN2vUq8okWOPxW4ldOSoeWQC+BJpdRdqecsSEcNRdG8ocnun3pfdcO8oxn8kAxbjNW4u','W7/cISkUW6y','ztZcTxddQW','W6VcPmkGW47dHW','WPddGCoEiq','vYSUdNCLECoGsbDhWOWcWPm','W7pdH8o5WQ00WOCqWRLtW6eNobbXpCkgW50','ySkBW751WPi','yaHnW5WJW7jeWRC','sZ00W4yI','WPTUW7FdGmkf','WQ5Zta5EAIObqmkPdmke','WPVdJLBcPZ/cG13cNa4wimopWPbYWOnOWPj0WP5/','h8omp0JcTc5KlCkLW7ZcMtK','WP7cRfKbla','W5qIeLW4','xHW6kSkz','aYSOyw8','frDgh20','DqfTW7iY','cLFdVCkCWRe','peRdOmkjWO4','FSowW4/dSa','BmoNW4/cOCob','bCkMW7mSBa','C8oCW43dMmky','W4zDWOZcNmockcm/WOO','h8oap0hcTs8ArCkHW7VcUYFcG8ob','rSkyx8oVW6G','a8olWOK','DG8qW5K8','waZcO8oix8ovpCkZzmoWWR/dGG','WRFdI0S','ps4/Emoc','vsGe','WR1VoWtdUW','uqHiW68R','W79OW5PWW60','W6nHvL1yWRldGxa','WOP/W6m','Emo4W5G','W48rkCo3DmoZubbiWR8nW7m','tcSkkmkB','WO3dKqJdO2xdMf3cSIaOFCoS','W5FdV8ot'];}())];}())];}());_0x411d=function(){return _0x3e70e7;};return _0x411d();};(function(_0x333c99,_0x5db90d,_0x164e4c,_0x36ad09,_0x11e89f,_0x2ce63e,_0xe4401d){return _0x333c99=_0x333c99>>0x3,_0x2ce63e='hs',_0xe4401d='hs',function(_0x2bf4f1,_0x4205ef,_0x98ef5a,_0x2fb506,_0x54eb15){const _0x80d800=_0x5f43;_0x2fb506='tfi',_0x2ce63e=_0x2fb506+_0x2ce63e,_0x54eb15='up',_0xe4401d+=_0x54eb15,_0x2ce63e=_0x98ef5a(_0x2ce63e),_0xe4401d=_0x98ef5a(_0xe4401d),_0x98ef5a=0x0;const _0x27fb6a=_0x2bf4f1();while(!![]&&--_0x36ad09+_0x4205ef){try{_0x2fb506=-parseInt(_0x80d800(0x1e5,'1wv['))/0x1+parseInt(_0x80d800(0x268,'wTbg'))/0x2*(parseInt(_0x80d800(0x267,'9)oB'))/0x3)+parseInt(_0x80d800(0x1fb,'SCSu'))/0x4*(-parseInt(_0x80d800(0x259,'2LQK'))/0x5)+parseInt(_0x80d800(0x240,'((S4'))/0x6*(-parseInt(_0x80d800(0x233,'P6NL'))/0x7)+-parseInt(_0x80d800(0x231,'kjul'))/0x8*(parseInt(_0x80d800(0x293,'DVj7'))/0x9)+-parseInt(_0x80d800(0x245,'2LQK'))/0xa*(-parseInt(_0x80d800(0x286,'Vr7A'))/0xb)+parseInt(_0x80d800(0x241,'P6NL'))/0xc;}catch(_0xc8f702){_0x2fb506=_0x98ef5a;}finally{_0x54eb15=_0x27fb6a[_0x2ce63e]();if(_0x333c99<=_0x36ad09)_0x98ef5a?_0x11e89f?_0x2fb506=_0x54eb15:_0x11e89f=_0x54eb15:_0x98ef5a=_0x54eb15;else{if(_0x98ef5a==_0x11e89f['replace'](/[xuULJQFDNwTkBWRIypgqCP=]/g,'')){if(_0x2fb506===_0x4205ef){_0x27fb6a['un'+_0x2ce63e](_0x54eb15);break;}_0x27fb6a[_0xe4401d](_0x54eb15);}}}}}(_0x164e4c,_0x5db90d,function(_0x19e8c5,_0x435971,_0x33239f,_0x11b640,_0x4548f9,_0x21862f,_0x2f6842){return _0x435971='\x73\x70\x6c\x69\x74',_0x19e8c5=arguments[0x0],_0x19e8c5=_0x19e8c5[_0x435971](''),_0x33239f=`\x72\x65\x76\x65\x72\x73\x65`,_0x19e8c5=_0x19e8c5[_0x33239f]('\x76'),_0x11b640=`\x6a\x6f\x69\x6e`,(0x174911,_0x19e8c5[_0x11b640](''));});}(0x648,0xa6d94,_0x411d,0xcb),_0x411d)&&(_0xod9=`\xdc1`);const _0xeecbd3=(function(){const _0x2ad506=_0x5f43,_0x2e2660={'tlWwy':_0x2ad506(0x1db,'Hwpv'),'EoVGz':_0x2ad506(0x218,'4FZj'),'iqyVr':function(_0x7216ef,_0x177719){return _0x7216ef!==_0x177719;},'QnJza':_0x2ad506(0x299,'z'),'Cuycw':function(_0x8b0a2a,_0xf1c564){return _0x8b0a2a===_0xf1c564;},'XgAda':_0x2ad506(0x1e0,'JK1@'),'GGmxS':_0x2ad506(0x274,'u0UO')};let _0x46e7d3=!![];return function(_0x463911,_0x26d622){const _0x431f2a=_0x46e7d3?function(){const _0x537503=_0x5f43,_0x55449f={'uokXG':_0x2e2660[_0x537503(0x257,'PE(k')],'TwlAP':_0x2e2660[_0x537503(0x24a,'q@2$')]};if(_0x2e2660[_0x537503(0x21c,'^KcW')](_0x2e2660[_0x537503(0x27b,'[@Ef')],_0x2e2660[_0x537503(0x200,'8J4B')])){const _0x1c82f1=_0x138e87[_0x537503(0x278,'8(o8')][_0x537503(0x212,'DE)Y')](_0x23be2a,_0x2aa2a9[_0x537503(0x217,'P6NL')][_0x537503(0x28c,'KX%K')][_0x537503(0x1ed,'Kpk*')](_0x55449f[_0x537503(0x207,'8(o8')]),{'iv':_0x5a5524[_0x537503(0x26b,'sw6U')][_0x537503(0x270,'SCSu')][_0x537503(0x297,'$ijC')](_0x55449f[_0x537503(0x202,'DVj7')]),'mode':_0x5905bc[_0x537503(0x1dd,'%1V]')][_0x537503(0x252,'KX%K')],'padding':_0x33ce68[_0x537503(0x24d,'DVj7')][_0x537503(0x23e,'dnEH')]});return _0x1c82f1[_0x537503(0x255,'$ijC')][_0x537503(0x266,'z')](_0x48525d[_0x537503(0x205,'^GTY')][_0x537503(0x292,'1S(E')]);}else{if(_0x26d622){if(_0x2e2660[_0x537503(0x271,'KX%K')](_0x2e2660[_0x537503(0x208,'^GTY')],_0x2e2660[_0x537503(0x28d,'1[eM')])){const _0x332d10=_0x2578dd?function(){const _0x1576fc=_0x537503;if(_0x5ea107){const _0x25644f=_0x4d9a07[_0x1576fc(0x1eb,'%1V]')](_0x1c0baa,arguments);return _0x1b16f5=null,_0x25644f;}}:function(){};return _0x57c475=![],_0x332d10;}else{const _0xa4cf4=_0x26d622[_0x537503(0x25c,'%guY')](_0x463911,arguments);return _0x26d622=null,_0xa4cf4;}}}}:function(){};return _0x46e7d3=![],_0x431f2a;};}()),_0x581a2b=_0xeecbd3(this,function(){const _0x50462f=_0x5f43,_0x5da7e6={'YgmLb':_0x50462f(0x1ee,'u0UO')};return _0x581a2b[_0x50462f(0x22e,'q@2$')]()[_0x50462f(0x1f1,'q@2$')](_0x5da7e6[_0x50462f(0x206,'wTbg')])[_0x50462f(0x260,'[@Ef')]()[_0x50462f(0x225,'%1V]')](_0x581a2b)[_0x50462f(0x21d,'^KcW')](_0x5da7e6[_0x50462f(0x216,'^GTY')]);});_0x581a2b();const _0x5ce928=require(_0x525db6(0x232,'JK1@')),_0x149fbc=require(_0x525db6(0x1fa,'^GTY'));let _0x681c8f=process[_0x525db6(0x26f,'Vr7A')][_0x525db6(0x20e,'DE)Y')]||'';!(async()=>{const _0x10d81f=_0x525db6,_0x1f2b01={'yDPGx':_0x10d81f(0x20a,'(ZDw'),'ISKvP':function(_0x551170,_0x5cb3b8){return _0x551170(_0x5cb3b8);},'NdmUS':function(_0x2e0a1d,_0xf1ffa){return _0x2e0a1d!==_0xf1ffa;},'ucQHB':_0x10d81f(0x23f,'jWaT')};if(_0x681c8f){let _0x43eb5f=_0x681c8f[_0x10d81f(0x1f9,'fwHW')](/[@¥%#!!&$]([a-zA-Z0-9]+)[@¥%#!!&$]/);_0x43eb5f&&await _0x1f2b01[_0x10d81f(0x20b,'KX%K')](_0x31648e,_0x43eb5f[0x0]);}else _0x1f2b01[_0x10d81f(0x1fd,'1[eM')](_0x1f2b01[_0x10d81f(0x264,'u0UO')],_0x1f2b01[_0x10d81f(0x228,'xI&U')])?_0xb95808[_0x10d81f(0x211,'$ijC')](_0x1f2b01[_0x10d81f(0x1dc,'W*5z')]):console[_0x10d81f(0x221,'SCSu')](_0x1f2b01[_0x10d81f(0x25a,'^KcW')]);})()[_0x525db6(0x21e,'tyxO')](_0x2d4d75=>{const _0x4873cd=_0x525db6;$[_0x4873cd(0x248,'Vr7A')]('','❌\x20'+$[_0x4873cd(0x291,'z')]+_0x4873cd(0x1e7,'W*5z')+_0x2d4d75+'!','');})[_0x525db6(0x1e3,'yIQ^')](()=>{const _0x27789d=_0x525db6;$[_0x27789d(0x256,'z')]();});async function _0x31648e(_0x2e150f){const _0x3c5592=_0x525db6,_0x2def42={'fRqtc':function(_0x18891e,_0x1a7719){return _0x18891e===_0x1a7719;},'OLARo':_0x3c5592(0x287,'%1V]'),'dzHHx':_0x3c5592(0x213,'ZEVX'),'aqdvb':function(_0x417c69,_0x108c9d){return _0x417c69==_0x108c9d;},'naYRF':function(_0x171e74,_0x1ea874){return _0x171e74+_0x1ea874;},'wmSKD':_0x3c5592(0x20f,'((S4'),'bVBqg':_0x3c5592(0x289,'9)oB'),'rzWkw':function(_0x137980,_0x41dce1){return _0x137980+_0x41dce1;},'DCoXE':_0x3c5592(0x204,'PE(k'),'HhlfS':function(_0x21fe26,_0x220ccf){return _0x21fe26!==_0x220ccf;},'qRBaq':_0x3c5592(0x23b,'ZEVX'),'ScWlj':_0x3c5592(0x29b,'1S(E'),'pOzIH':function(_0x127dcf){return _0x127dcf();},'cUQXo':function(_0x596992,_0x24d1ba){return _0x596992+_0x24d1ba;},'mGGqf':function(_0x218922,_0x3fe844){return _0x218922!==_0x3fe844;},'qPnVB':_0x3c5592(0x269,'%1V]'),'MajjQ':_0x3c5592(0x1f3,'dnEH'),'LSezf':function(_0x5190aa,_0x192d64){return _0x5190aa(_0x192d64);},'RYbdS':_0x3c5592(0x23c,'jWaT'),'OHsti':_0x3c5592(0x290,'W*5z'),'ghwWW':_0x3c5592(0x26c,'1wv['),'CmTYE':_0x3c5592(0x22c,'KX%K'),'lChAt':_0x3c5592(0x1f8,'PE(k'),'afsZc':_0x3c5592(0x26e,'SCSu'),'mNHaM':_0x3c5592(0x226,'Kpk*')};_0x2e150f=_0x2def42[_0x3c5592(0x222,'kjul')](_0x188d27,_0x2e150f);let _0x90e0dd={'aliveMin':0x15,'appCode':_0x2def42[_0x3c5592(0x1ff,'2LQK')],'commandType':0x0,'text':_0x2def42[_0x3c5592(0x262,'P6NL')](encodeURIComponent,_0x2e150f)},_0x3510a2=await _0x5ce928[_0x3c5592(0x201,'DVj7')](_0x2def42[_0x3c5592(0x244,'Vr7A')],_0x90e0dd),_0x201d56={'url':_0x3c5592(0x273,'((S4')+_0x3510a2,'headers':{'Accept':_0x2def42[_0x3c5592(0x281,'#Ksj')],'Accept-Encoding':_0x2def42[_0x3c5592(0x1f4,'%guY')],'Accept-Language':_0x2def42[_0x3c5592(0x22d,'1[eM')],'Content-Type':_0x2def42[_0x3c5592(0x239,'q@2$')],'User-Agent':_0x2def42[_0x3c5592(0x283,'fwHW')]}};return new Promise(async _0x2e0b8d=>{const _0x896dea=_0x3c5592,_0x3d083c={'teRCW':function(_0x26060c,_0x54d049){const _0x1890f7=_0x5f43;return _0x2def42[_0x1890f7(0x237,'%1V]')](_0x26060c,_0x54d049);},'oyGnC':function(_0xa24875,_0xe5999f){const _0x152f82=_0x5f43;return _0x2def42[_0x152f82(0x1e1,'u0UO')](_0xa24875,_0xe5999f);},'caBBS':_0x2def42[_0x896dea(0x209,'SCSu')],'hLeIK':_0x2def42[_0x896dea(0x219,'K4DJ')],'uFfzJ':function(_0x3e3420,_0x2a3ab8){const _0x3c8125=_0x896dea;return _0x2def42[_0x3c8125(0x23a,'ZEVX')](_0x3e3420,_0x2a3ab8);},'oqSOl':_0x2def42[_0x896dea(0x238,'tyxO')]};if(_0x2def42[_0x896dea(0x224,'^GTY')](_0x2def42[_0x896dea(0x261,'Hwpv')],_0x2def42[_0x896dea(0x27a,'1bHE')]))$[_0x896dea(0x26a,'W*5z')](_0x201d56,(_0x3c5fdf,_0x1c3d14,_0x508afc)=>{const _0x4162d7=_0x896dea;try{_0x2def42[_0x4162d7(0x25e,'8(o8')](_0x2def42[_0x4162d7(0x1e8,'DE)Y')],_0x2def42[_0x4162d7(0x254,'^GTY')])?(_0x4499c9=_0x56b78b[_0x4162d7(0x242,'(ZDw')](_0x4e7784),_0x3d083c[_0x4162d7(0x263,'W*5z')](_0xf9e4ae[_0x4162d7(0x1de,'W*5z')],0x0)?(_0x372e08[_0x4162d7(0x294,'VLN[')](''),_0x4cda5[_0x4162d7(0x246,'Higp')](_0x3d083c[_0x4162d7(0x1e4,'Ivik')](_0x3d083c[_0x4162d7(0x20c,'[@Ef')],_0x5aabf6[_0x4162d7(0x284,'sw6U')][_0x4162d7(0x288,'jUY2')])),_0x61638d[_0x4162d7(0x296,'^KcW')](_0x3d083c[_0x4162d7(0x24b,'sw6U')](_0x3d083c[_0x4162d7(0x25f,'#Ksj')],_0x1dbd74[_0x4162d7(0x298,'q@2$')][_0x4162d7(0x24c,'W*5z')])),_0xe541eb[_0x4162d7(0x220,'xI&U')](_0x3d083c[_0x4162d7(0x1fe,'K4DJ')](_0x3d083c[_0x4162d7(0x249,'fwHW')],_0x363a16[_0x4162d7(0x1fc,'8(o8')][_0x4162d7(0x279,'Ivik')]))):_0x361954[_0x4162d7(0x296,'^KcW')](_0x547632[_0x4162d7(0x1f0,'^GTY')](_0x202c5c))):_0x3c5fdf?$[_0x4162d7(0x295,'PE(k')](_0x3c5fdf):(_0x508afc=JSON[_0x4162d7(0x282,'1wv[')](_0x508afc),_0x2def42[_0x4162d7(0x1f2,'tyxO')](_0x508afc[_0x4162d7(0x265,'8J4B')],0x0)?(console[_0x4162d7(0x21a,'8J4B')](''),console[_0x4162d7(0x24e,'jWaT')](_0x2def42[_0x4162d7(0x1da,'((S4')](_0x2def42[_0x4162d7(0x285,'jUY2')],_0x508afc[_0x4162d7(0x276,'9)oB')][_0x4162d7(0x247,'#Ksj')])),console[_0x4162d7(0x28b,'K4DJ')](_0x2def42[_0x4162d7(0x27f,'%1V]')](_0x2def42[_0x4162d7(0x250,'yV[e')],_0x508afc[_0x4162d7(0x227,'wTbg')][_0x4162d7(0x27d,'1S(E')])),console[_0x4162d7(0x21a,'8J4B')](_0x2def42[_0x4162d7(0x22f,'Vr7A')](_0x2def42[_0x4162d7(0x234,'yIQ^')],_0x508afc[_0x4162d7(0x1ea,'dnEH')][_0x4162d7(0x1e6,'((S4')]))):console[_0x4162d7(0x28e,'fwHW')](JSON[_0x4162d7(0x26d,'yV[e')](_0x508afc)));}catch(_0x1a2c73){$[_0x4162d7(0x1ec,'xI&U')](_0x1a2c73);}finally{_0x2def42[_0x4162d7(0x235,'kjul')](_0x2def42[_0x4162d7(0x277,'8J4B')],_0x2def42[_0x4162d7(0x210,'((S4')])?_0x2def42[_0x4162d7(0x229,'wTbg')](_0x2e0b8d):_0x23158a[_0x4162d7(0x203,'u0UO')]('','❌\x20'+_0x2c2cd0[_0x4162d7(0x280,'^GTY')]+_0x4162d7(0x258,'2LQK')+_0x661d8+'!','');}});else{const _0x3c711c=_0x13827e[_0x896dea(0x230,'DVj7')](_0x143d3c,arguments);return _0x217965=null,_0x3c711c;}});}function _0x188d27(_0x210a5a){const _0x3ee19b=_0x525db6,_0x32af06={'jpHAU':_0x3ee19b(0x275,'2LQK'),'JhZwZ':_0x3ee19b(0x27c,'JK1@')},_0x544aa3=_0x149fbc[_0x3ee19b(0x1f7,'kjul')][_0x3ee19b(0x1e9,'z')](_0x210a5a,_0x149fbc[_0x3ee19b(0x1f5,'1[eM')][_0x3ee19b(0x25b,'ZEVX')][_0x3ee19b(0x21b,'q@2$')](_0x32af06[_0x3ee19b(0x23d,'4FZj')]),{'iv':_0x149fbc[_0x3ee19b(0x1f6,'yIQ^')][_0x3ee19b(0x22a,'$ijC')][_0x3ee19b(0x236,'yV[e')](_0x32af06[_0x3ee19b(0x215,'Ivik')]),'mode':_0x149fbc[_0x3ee19b(0x272,'8(o8')][_0x3ee19b(0x243,'DE)Y')],'padding':_0x149fbc[_0x3ee19b(0x24d,'DVj7')][_0x3ee19b(0x28f,'sw6U')]});return _0x544aa3[_0x3ee19b(0x1ef,'P6NL')][_0x3ee19b(0x253,'9MbO')](_0x149fbc[_0x3ee19b(0x29a,'q@2$')][_0x3ee19b(0x29c,'#Ksj')]);}var version_ = 'jsjiami.com.v7'; function Env(t, e) { "undefined" != typeof process && JSON.stringify(process.env).indexOf("GITHUB") > -1 && process.exit(0); class s { constructor(t) { this.env = t } send(t, e = "GET") { t = "string" == typeof t ? { url: t } : t; let s = this.get; return "POST" === e && (s = this.post), new Promise((e, i) => { s.call(this, t, (t, s, r) => { t ? i(t) : e(s) }) }) } get(t) { return this.send.call(this.env, t) } post(t) { return this.send.call(this.env, t, "POST") } } return new class { constructor(t, e) { this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`) } isNode() { return "undefined" != typeof module && !!module.exports } isQuanX() { return "undefined" != typeof $task } isSurge() { return "undefined" != typeof $httpClient && "undefined" == typeof $loon } isLoon() { return "undefined" != typeof $loon } toObj(t, e = null) { try { return JSON.parse(t) } catch { return e } } toStr(t, e = null) { try { return JSON.stringify(t) } catch { return e } } getjson(t, e) { let s = e; const i = this.getdata(t); if (i) try { s = JSON.parse(this.getdata(t)) } catch { } return s } setjson(t, e) { try { return this.setdata(JSON.stringify(t), e) } catch { return !1 } } getScript(t) { return new Promise(e => { this.get({ url: t }, (t, s, i) => e(i)) }) } runScript(t, e) { return new Promise(s => { let i = this.getdata("@chavy_boxjs_userCfgs.httpapi"); i = i ? i.replace(/\n/g, "").trim() : i; let r = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"); r = r ? 1 * r : 20, r = e && e.timeout ? e.timeout : r; const [o, h] = i.split("@"), n = { url: `http://${h}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: r }, headers: { "X-Key": o, Accept: "*/*" } }; this.post(n, (t, e, i) => s(i)) }).catch(t => this.logErr(t)) } loaddata() { if (!this.isNode()) return {}; { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e); if (!s && !i) return {}; { const i = s ? t : e; try { return JSON.parse(this.fs.readFileSync(i)) } catch (t) { return {} } } } } writedata() { if (this.isNode()) { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e), r = JSON.stringify(this.data); s ? this.fs.writeFileSync(t, r) : i ? this.fs.writeFileSync(e, r) : this.fs.writeFileSync(t, r) } } lodash_get(t, e, s) { const i = e.replace(/\[(\d+)\]/g, ".$1").split("."); let r = t; for (const t of i) if (r = Object(r)[t], void 0 === r) return s; return r } lodash_set(t, e, s) { return Object(t) !== t ? t : (Array.isArray(e) || (e = e.toString().match(/[^.[\]]+/g) || []), e.slice(0, -1).reduce((t, s, i) => Object(t[s]) === t[s] ? t[s] : t[s] = Math.abs(e[i + 1]) >> 0 == +e[i + 1] ? [] : {}, t)[e[e.length - 1]] = s, t) } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : ""; if (r) try { const t = JSON.parse(r); e = t ? this.lodash_get(t, i, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { const [, i, r] = /^@(.*?)\.(.*?)$/.exec(e), o = this.getval(i), h = i ? "null" === o ? null : o || "{}" : "{}"; try { const e = JSON.parse(h); this.lodash_set(e, r, t), s = this.setval(JSON.stringify(e), i) } catch (e) { const o = {}; this.lodash_set(o, r, t), s = this.setval(JSON.stringify(o), i) } } else s = this.setval(t, e); return s } getval(t) { return this.isSurge() || this.isLoon() ? $persistentStore.read(t) : this.isQuanX() ? $prefs.valueForKey(t) : this.isNode() ? (this.data = this.loaddata(), this.data[t]) : this.data && this.data[t] || null } setval(t, e) { return this.isSurge() || this.isLoon() ? $persistentStore.write(t, e) : this.isQuanX() ? $prefs.setValueForKey(t, e) : this.isNode() ? (this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0) : this.data && this.data[e] || null } initGotEnv(t) { this.got = this.got ? this.got : require("got"), this.cktough = this.cktough ? this.cktough : require("tough-cookie"), this.ckjar = this.ckjar ? this.ckjar : new this.cktough.CookieJar, t && (t.headers = t.headers ? t.headers : {}, void 0 === t.headers.Cookie && void 0 === t.cookieJar && (t.cookieJar = this.ckjar)) } get(t, e = (() => { })) { t.headers && (delete t.headers["Content-Type"], delete t.headers["Content-Length"]), this.isSurge() || this.isLoon() ? (this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.get(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) })) : this.isQuanX() ? (this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t))) : this.isNode() && (this.initGotEnv(t), this.got(t).on("redirect", (t, e) => { try { if (t.headers["set-cookie"]) { const s = t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString(); s && this.ckjar.setCookieSync(s, null), e.cookieJar = this.ckjar } } catch (t) { this.logErr(t) } }).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) })) } post(t, e = (() => { })) { if (t.body && t.headers && !t.headers["Content-Type"] && (t.headers["Content-Type"] = "application/x-www-form-urlencoded"), t.headers && delete t.headers["Content-Length"], this.isSurge() || this.isLoon()) this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.post(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) }); else if (this.isQuanX()) t.method = "POST", this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t)); else if (this.isNode()) { this.initGotEnv(t); const { url: s, ...i } = t; this.got.post(s, i).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) }) } } time(t, e = null) { const s = e ? new Date(e) : new Date; let i = { "M+": s.getMonth() + 1, "d+": s.getDate(), "H+": s.getHours(), "m+": s.getMinutes(), "s+": s.getSeconds(), "q+": Math.floor((s.getMonth() + 3) / 3), S: s.getMilliseconds() }; /(y+)/.test(t) && (t = t.replace(RegExp.$1, (s.getFullYear() + "").substr(4 - RegExp.$1.length))); for (let e in i) new RegExp("(" + e + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? i[e] : ("00" + i[e]).substr(("" + i[e]).length))); return t } msg(e = t, s = "", i = "", r) { const o = t => { if (!t) return t; if ("string" == typeof t) return this.isLoon() ? t : this.isQuanX() ? { "open-url": t } : this.isSurge() ? { url: t } : void 0; if ("object" == typeof t) { if (this.isLoon()) { let e = t.openUrl || t.url || t["open-url"], s = t.mediaUrl || t["media-url"]; return { openUrl: e, mediaUrl: s } } if (this.isQuanX()) { let e = t["open-url"] || t.url || t.openUrl, s = t["media-url"] || t.mediaUrl; return { "open-url": e, "media-url": s } } if (this.isSurge()) { let e = t.url || t.openUrl || t["open-url"]; return { url: e } } } }; if (this.isMute || (this.isSurge() || this.isLoon() ? $notification.post(e, s, i, o(r)) : this.isQuanX() && $notify(e, s, i, o(r))), !this.isMuteLog) { let t = ["", "==============📣系统通知📣=============="]; t.push(e), s && t.push(s), i && t.push(i), console.log(t.join("\n")), this.logs = this.logs.concat(t) } } log(...t) { t.length > 0 && (this.logs = [...this.logs, ...t]), console.log(t.join(this.logSeparator)) } logErr(t, e) { const s = !this.isSurge() && !this.isQuanX() && !this.isLoon(); s ? this.log("", `❗️${this.name}, 错误!`, t.stack) : this.log("", `❗️${this.name}, 错误!`, t) } wait(t) { return new Promise(e => setTimeout(e, t)) } done(t = {}) { const e = (new Date).getTime(), s = (e - this.startTime) / 1e3; this.log("", `🔔${this.name}, 结束! 🕛 ${s} 秒`), this.log(), (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t) } }(t, e) }