jdpro/function/krwxSavePrize.js

2 lines
13 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var version_='jsjiami.com.v7';function iii1II(_0x2cc09b,_0x543bfd){const _0x95cd14=Iii11l();return iii1II=function(_0x5a16e2,_0x5eecca){_0x5a16e2=_0x5a16e2-0x139;let _0x745daf=_0x95cd14[_0x5a16e2];if(iii1II['wpPusO']===undefined){var _0x30f38f=function(_0x3128a2){const _0x1882ab='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3b847c='',_0x1d27e9='';for(let _0xccec1c=0x0,_0x38a82d,_0x425828,_0x59d453=0x0;_0x425828=_0x3128a2['charAt'](_0x59d453++);~_0x425828&&(_0x38a82d=_0xccec1c%0x4?_0x38a82d*0x40+_0x425828:_0x425828,_0xccec1c++%0x4)?_0x3b847c+=String['fromCharCode'](0xff&_0x38a82d>>(-0x2*_0xccec1c&0x6)):0x0){_0x425828=_0x1882ab['indexOf'](_0x425828);}for(let _0x47e9ce=0x0,_0x215944=_0x3b847c['length'];_0x47e9ce<_0x215944;_0x47e9ce++){_0x1d27e9+='%'+('00'+_0x3b847c['charCodeAt'](_0x47e9ce)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1d27e9);};const _0x4a3c1c=function(_0x16f044,_0x5ad6c0){let _0x427d52=[],_0x452b4c=0x0,_0x583023,_0x49f971='';_0x16f044=_0x30f38f(_0x16f044);let _0x36b17b;for(_0x36b17b=0x0;_0x36b17b<0x100;_0x36b17b++){_0x427d52[_0x36b17b]=_0x36b17b;}for(_0x36b17b=0x0;_0x36b17b<0x100;_0x36b17b++){_0x452b4c=(_0x452b4c+_0x427d52[_0x36b17b]+_0x5ad6c0['charCodeAt'](_0x36b17b%_0x5ad6c0['length']))%0x100,_0x583023=_0x427d52[_0x36b17b],_0x427d52[_0x36b17b]=_0x427d52[_0x452b4c],_0x427d52[_0x452b4c]=_0x583023;}_0x36b17b=0x0,_0x452b4c=0x0;for(let _0x3eb886=0x0;_0x3eb886<_0x16f044['length'];_0x3eb886++){_0x36b17b=(_0x36b17b+0x1)%0x100,_0x452b4c=(_0x452b4c+_0x427d52[_0x36b17b])%0x100,_0x583023=_0x427d52[_0x36b17b],_0x427d52[_0x36b17b]=_0x427d52[_0x452b4c],_0x427d52[_0x452b4c]=_0x583023,_0x49f971+=String['fromCharCode'](_0x16f044['charCodeAt'](_0x3eb886)^_0x427d52[(_0x427d52[_0x36b17b]+_0x427d52[_0x452b4c])%0x100]);}return _0x49f971;};iii1II['FakbwY']=_0x4a3c1c,_0x2cc09b=arguments,iii1II['wpPusO']=!![];}const _0x274e50=_0x95cd14[0x0],_0x1c3b23=_0x5a16e2+_0x274e50,_0x25a338=_0x2cc09b[_0x1c3b23];return!_0x25a338?(iii1II['AgQaMi']===undefined&&(iii1II['AgQaMi']=!![]),_0x745daf=iii1II['FakbwY'](_0x745daf,_0x5eecca),_0x2cc09b[_0x1c3b23]=_0x745daf):_0x745daf=_0x25a338,_0x745daf;},iii1II(_0x2cc09b,_0x543bfd);}function Iii11l(){const l1iIIi=(function(){return[version_,'PjCEskjDuEiYhamOGdiN.VMcSomDD.HYvdbh7fPX==','qCoicCkogMjyaG','nHGt','uCoMWPufoq','rmk4W5pdT8kbimkuumoe','umoxWQFcHSkX','WPugWOBdJrC','WQpcJmoSW5aBW7LKWRfuWQKAWOS','dJTlW6ddQG','xMZcKbyI','obRdKXvI','WPFdNNhdNSoZB8omW6yfma','n8k0rrGoW5FcMSo4','uCoCuGS8W5hcU8oeWQHS','k8k1W6rYhIRcU8oVqte','4P64zUMBPoADNEAlMUwpV+wkPoEyL+AwHUI3UUwFP+wFUUs+NEAbSUs6LEEPTU+/ToIUSoAVSoEJIos9NEEuPmkoW57dQbSN56+66yoU566d5lMh55w05lQ15yUi5yQx5AAR5lUI5Pwy6lEJ5z2X5zYX772uW6m','W5TKrSkuW4iJCCkJBSk+W58','imkwWOBcHvOZAmkVimoW','W6vVy8kcECkfBg14','rmo2i8kOpa','8yojJqdKVl/LRQxMLOVOTipLNllLNjNLV6ZLU5hdU+kEPxlcOa','W7RdK8oou8oc','W7StW6qqEa','55Qy6k685QUY5P2677YG6ywR55Ao56YT','WPGXdmoCWP0FymkQ','yXldG3f+xh3dI8k8WOJdT3i','8kM7NftKV4JLRytML7FOTOZLNiRLN7dLVy7LURVdMUkEN8kfW4y','WQKcifJcSq','WOK6WQnRW7K','W749WR/dTXqYWRZdHG','W6zEW7hcOCo2WQOAW5tcMCoY','CJZdMJ3cKa','l8k6W6T+y3lcPCopAdxdPmow','i8kXdSk/aq','W4FdMM3dN8o3xSoQW6zD','CtZdOWZcSq','8lUPJSoX5lY55A6G5Psx6lEJ5z+q5zYC5AAJ6lsco+kDVuNdRG','W5ldR8oXC8ou','WPJdJsX6WP4','4P6bWQpPM4FMNlBMIyFLJRpLIRlNM4RMLiZOTk7LN7xLNA3KVQ/MGjFMOi3LVPxLR4JLN5/PLQpORPJVVjRLJihMLkBKU6JOT4RMIlBOVyFLPzRVVBVcPq','5Awk5PsU6lE45z2T5zYN5l6q5OcW77+C6zQs5P2f5OMj5y6477+J','WO4TWP1OW7VcGHL5WRC','jYVdKZRcGCoVW54pWPnjdha','sK4tWOpcMmojnNODWQSNgx0'].concat((function(){return['W7CwW4OVrmoIW6lcSSkwhK3cLq','yfxdJdBcMG','qNlcH1K5WRFcI8kQWOq9','W4JdK3FcN3hdMG1jj8k7wsa','W6HrhGDznSk7vdDi','WQRcKCo5','W4a2hbVdRW','W7WegHK2','ACoQW6i','jvpcLwVcRSkuWPVdSMaJW67cLW','WOOzWO0','W4lcVCkBW7fOW6JdN23dG8kncmk+vq','WRdcJmojW74+','W4WmhquB','zGddQmkHWQu','qJtdNshcVq','y8oQEW','W6zBW7hcRmo5WQaaW4xcKmol','s8oiW6pdG1O','W4tcVCkoWQxcVgxcLSkLd8ob','WReHvfJdOwxcMCktWPixW7G','W7FdLCkrWQ8ZW4BcLv0u','nSoxbCkglHVdLutdUG4W','W4ZdHeJcPfe','W5rSjdyWe8kfEbj+W63dNZ9pddG','b8k3W4y','WPFcIK/cJCkp','W4HHW5y5WQpdLH5SWOZcGf4K','tfpcJsCi','zZtcPSk/W7O','WQKiWRTgW70','WPOFo8oDWQC','W4VdG8oQqmom','WQnuWOX4aSkAWR/cLSkXbMxcPmkP','Aenbis3cKCoatCoucmow','W6xcLSk6WPpcQW','W65vdXqC','W7bagGmbjmkuuIvi','qCkiWRxcHfe','hY/dLG','WRJcRYfTemks','W5K1bZtdLa','ydmCW796','WRtcNCojW7Ki','uX0gW7LH'].concat((function(){return['iduezLC','WPJcIepcJSkiW5LbCq','W4zYxLnwECo/W6tdLmkzWOi','WPWPWP9TW7ZcHHfRWQFcUuf4z8obWOdcVa','WPlcRxtcRSk1','W6VdNSoBWPjJW57dLKrxFSopW7tdKfldJG','W6tcLCkd','8j+OUmkjWRpcISoOW7/cLSobW4vnWQhcN8kJyCoCB8o06kY+5Rk75AAn6lwWW4dIN5pdUJe','qtRdLsm+WOdcUq','W4mVW6O6wq','WQj+D8kkySkdFMOSW6bCWRuXDmoKW5jBvSo3WRmQWQ15W79VW5zeWRJcQSo8zg8t','ApgjIjVcO+IKS+woIo+/Ra','WQCwoehcVW','WPFdGmklwSkE','6icK57cd5l6G5OkZ7722','jZZdHdVcKSo0W5eyWPm9','W7S8WRS','DWNdIIm','CCoYW4FcOmkDW5y','W4hcMCktWQJcMG','8yYiQgH7WOi2W6m4x1NcT0q0hrhdM8oaWR7ORy3MSlxLPkpOT6z24P25wqG','aSkDmSkSa05yhG','WPT+WPXetW','W7KtkX3dTG','iCk0WQ/cNJRcKCkUyG','WQdcP8kUpSk5W6tcH8oPjSkxW61uWRK','A0DdjcxdTmogt8oOiSoYWOS','nHBdJxz/tLZdRCkGWP/dSYJcNG','W7HjdZZcNW','W7VLTjtOH4RLIyRMJk3KUjNMLjlOTkxLNANLNQ7dIEkFNJm','W5jStSkDW4acASkECSkqW54','WP4eWQxdPry','W7lcHSkiWQ/cOG','4P+ZxoMBVUADLUAlKUwmTowkPEEyQ+AvOEI0RowDHEwESos+QEAbJ+AGQow9IEwSSEwFIEMvRoIUK+++MUwnUUAuHEs4IUIbQEs6IEERIU++Oey','dbldMML8','yCo+zdPuWRxcJCoKWP1tW7GQf09fm8kG','WQ9Hya','W5iNcbmox8o9W6FdICkuWRpcHW','xbxcMCkpW7K','EN7cTq0M','WQldKCkvWOxcQLpcRSk3','WPG3WPK','WPFcUCktW6SG'];}()));}()));}());Iii11l=function(){return l1iIIi;};return Iii11l();};(function(l1iii,IIlli,l1iil,ii1l1,lIIill,I11iIi,I1ilII){return l1iii=l1iii>>0x1,I11iIi='hs',I1ilII='hs',function(I11iIl,l1l11l,IilIil,l1iIi,l1l11i){const l11i11=iii1II;l1iIi='tfi',I11iIi=l1iIi+I11iIi,l1l11i='up',I1ilII+=l1l11i,I11iIi=IilIil(I11iIi),I1ilII=IilIil(I1ilII),IilIil=0x0;const l1iIl=I11iIl();while(!![]&&--ii1l1+l1l11l){try{l1iIi=-parseInt(l11i11(0x192,'cqJi'))/0x1+-parseInt(l11i11(0x13b,'sg4g'))/0x2*(-parseInt(l11i11(0x1a4,'fJuM'))/0x3)+-parseInt(l11i11(0x151,'Cqao'))/0x4*(parseInt(l11i11(0x15e,'L6MW'))/0x5)+parseInt(l11i11(0x1aa,'ZOwk'))/0x6+parseInt(l11i11(0x15b,'sOFl'))/0x7*(-parseInt(l11i11(0x188,'j]]u'))/0x8)+parseInt(l11i11(0x17b,'@Jc2'))/0x9*(-parseInt(l11i11(0x16d,'Cqao'))/0xa)+-parseInt(l11i11(0x1b8,'Bo3w'))/0xb*(-parseInt(l11i11(0x19a,'@Jc2'))/0xc);}catch(illIll){l1iIi=IilIil;}finally{l1l11i=l1iIl[I11iIi]();if(l1iii<=ii1l1)IilIil?lIIill?l1iIi=l1l11i:lIIill=l1l11i:IilIil=l1l11i;else{if(IilIil==lIIill['replace'](/[YNPMGdCfHSVuDXhkOEb=]/g,'')){if(l1iIi===l1l11l){l1iIl['un'+I11iIi](l1l11i);break;}l1iIl[I1ilII](l1l11i);}}}}}(l1iil,IIlli,function(iIli1I,Iiil1,iiilli,l1iIIl,iiilll,lI11Il,lIII1i){return Iiil1='\x73\x70\x6c\x69\x74',iIli1I=arguments[0x0],iIli1I=iIli1I[Iiil1](''),iiilli='\x72\x65\x76\x65\x72\x73\x65',iIli1I=iIli1I[iiilli]('\x76'),l1iIIl='\x6a\x6f\x69\x6e',(0x1360e6,iIli1I[l1iIIl](''));});}(0x180,0x2081e,Iii11l,0xc2),Iii11l)&&(version_=Iii11l);const llIll1=require('got');async function Illl1l(Illl1i,lIIiil,l1lIii,I11iI1,l1lIil,IiiIli,iillli,I1l1Ii,I1i11i){const IilIl1=iii1II,I1i11l={'CtOKE':IilIl1(0x184,')6Qp'),'vskwS':function(I1i11I,llIliI){return I1i11I==llIliI;},'TQTGh':IilIl1(0x154,'ikI$'),'QKRzo':IilIl1(0x181,'sOFl'),'Icwoc':function(I1l1I1,I1i111){return I1l1I1+I1i111;},'CxkuY':function(ilI1li,IIliI){return ilI1li+IIliI;},'ppUXU':function(ilI1ll,Iillii){return ilI1ll!=Iillii;},'tcLjl':'QGMlV','KdGCl':function(IlI1iI,Iillil){return IlI1iI*Iillil;},'xrOAu':function(l1lIli,lIIiiI){return l1lIli===lIIiiI;},'ZTpFA':'ifGtq','POnes':function(II1lil,IIli1l){return II1lil<IIli1l;},'Ipvkv':function(II1lii,lIIii1){return II1lii!==lIIii1;},'hchae':'xnOzw','KQjhV':IilIl1(0x1a8,'Cqao'),'FDPTg':'BJZcX','EvhbJ':IilIl1(0x144,'cqJi'),'UNdvd':function(ll1i1,IIli1i){return ll1i1(IIli1i);},'HPHMi':function(I1iIi1,lliil1){return I1iIi1(lliil1);},'BOZjW':function(IIllI,lliilI){return IIllI(lliilI);},'acYKZ':function(lili1,ll1l1){return lili1(ll1l1);},'Cmxej':function(IllIIi,IllIIl){return IllIIi===IllIIl;},'WQERG':'NYpcy','aeMTR':IilIl1(0x156,'ML&@'),'SbrxV':IilIl1(0x13d,'MVSY'),'NMfwJ':function(IiiIi1,l1ii1){return IiiIi1!==l1ii1;},'uElSF':IilIl1(0x1af,')Cs$'),'kDTUO':IilIl1(0x19e,')LwP'),'gfjPA':IilIl1(0x14b,'9rgK'),'cKTLH':IilIl1(0x18f,'4AfS'),'SIOcm':function(ii1ll,IliI1l){return ii1ll+IliI1l;},'rcWFa':function(lliiil,lliiii){return lliiil!==lliiii;},'hVjcP':function(IliI1i,ll1ii){return IliI1i+ll1ii;},'qPjUL':IilIl1(0x171,'Ds!9')},llIlii=process[IilIl1(0x15c,'fJuM')][IilIl1(0x19c,'sOFl')]?process[IilIl1(0x1a2,'p2KT')][IilIl1(0x16a,'ML&@')]:'',llIlil=process[IilIl1(0x199,'ML&@')]['WX_ADDRESS_BLOCK']?process['env'][IilIl1(0x1a1,'Y4JP')]:'';let IIlil=[];if(I1i11l[IilIl1(0x180,'sqx(')](llIlii,''))I1i11l[IilIl1(0x179,'fJuM')]===I1i11l['tcLjl']?IIlil=llIlii[IilIl1(0x17c,'sqx(')]('|'):IiilII['error'](IilIl1(0x13a,'DqP9')+IliI1I[IilIl1(0x175,'Cqao')]['statusCode']+'\x20'+lI1Iii[IilIl1(0x148,'L6MW')][IilIl1(0x14e,'EP!T')]+')\x0a');else return![];var ilI1lI=Math[IilIl1(0x1a3,'Ds!9')](I1i11l[IilIl1(0x160,'5bL3')](Math[IilIl1(0x145,'DqP9')](),IIlil['length']));if(I1i11l[IilIl1(0x1ac,'sOFl')](IIlil[ilI1lI],''))return I1i11l[IilIl1(0x152,'$G@U')](I1i11l['ZTpFA'],I1i11l[IilIl1(0x1a9,'t0zg')])?(console['log'](IilIl1(0x16c,'Bo3w')),![]):(II11Il['log'](I1i11l[IilIl1(0x166,'r*m3')]),![]);else IIlil=IIlil[ilI1lI];IIlil=IIlil[IilIl1(0x163,'$G@U')]('@');if(I1i11l[IilIl1(0x1a6,'ZymF')](IIlil['length'],0x8))return console['log'](I1i11l['CtOKE']),![];for(let ii1li=0x0;I1i11l[IilIl1(0x1b3,'z^dI')](ii1li,0x7);ii1li++){if(IIlil[ii1li]=='')return console[IilIl1(0x139,'nQmJ')](I1i11l[IilIl1(0x1a7,'fJuM')]),![];}const IiiIll=IIlil[0x0],IIlii=IIlil[0x1],IlI1il=IIlil[0x2],IilliI=IIlil[0x3],IlI1ii=IIlil[0x4],lIIiii=IIlil[0x5],iI1lli=IIlil[0x6],ll1iI=IIlil[0x7];if(llIlil!=''){if(I1i11l[IilIl1(0x155,'EP!T')](I1i11l['hchae'],I1i11l[IilIl1(0x159,'ZymF')])){let IIll1=llIlil['split']('@'),ll1il=![];for(let IiiIiI of IIll1){if(I1l1Ii[IilIl1(0x1b7,'Ds!9')](IiiIiI)){if(I1i11l[IilIl1(0x149,'[!e1')](IilIl1(0x18a,'chFx'),I1i11l[IilIl1(0x13f,'oOeE')]))i1ili1=i1l1l1[IlI1I];else{console['log'](IilIl1(0x13e,'p2KT')+IiiIiI+')实物奖品自动登记收货地址屏蔽关键词,跳过~\x0a'),ll1il=!![];break;}}}if(ll1il)return![];}else{if(I1i11l[IilIl1(0x197,'n4M0')](lilIlI[iIIIIi],''))return II1Ii['log'](I1i11l[IilIl1(0x170,'WA0X')]),![];}}const iI1lll=Illl1i[IilIl1(0x17a,'cU9L')](I1i11l['EvhbJ'])?encodeURIComponent(I1i11l[IilIl1(0x183,')6Qp')](encodeURIComponent,iillli)):I1i11l['HPHMi'](encodeURIComponent,iillli),l1lIll=Illl1i[IilIl1(0x1ad,'Y4JP')](/https?:\/\/([^/]+)/)[0x1],I1l1II=IilIl1(0x17f,'R8ub')+IiiIli+IilIl1(0x15d,'6)R6')+iI1lll+IilIl1(0x158,'Bo3w')+I11iI1+IilIl1(0x161,'p2KT')+l1lIil+IilIl1(0x19f,'WA0X')+I1i11l[IilIl1(0x173,'rs3Y')](encodeURIComponent,I1l1Ii)+IilIl1(0x16e,')Cs$')+I1i11l[IilIl1(0x153,'sOFl')](encodeURIComponent,IiiIll)+'&phone='+IIlii+IilIl1(0x142,'sqx(')+encodeURIComponent(IlI1il)+IilIl1(0x1b1,'b@Pd')+encodeURIComponent(IilliI)+'&county='+I1i11l[IilIl1(0x178,'oOeE')](encodeURIComponent,IlI1ii)+IilIl1(0x168,'R8ub')+iI1lli+IilIl1(0x16f,'MVSY')+encodeURIComponent(lIIiii)+IilIl1(0x187,'sqx(')+I1i11i+IilIl1(0x176,'EP!T')+ll1iI;let IIli1I=![];try{if(I1i11l[IilIl1(0x1b2,'4AfS')](I1i11l['WQERG'],IilIl1(0x1b6,'&L*Q')))lI1IlI=lilIl1['split']('|');else{let Illl1I=await llIll1['post'](I1i11l[IilIl1(0x190,'ikI$')](Illl1i,'/wxAddress/save'),{'headers':{'Accept':IilIl1(0x1b9,'fJuM'),'Accept-Encoding':I1i11l[IilIl1(0x1a0,'Yy$R')],'Accept-Language':IilIl1(0x167,'$1F5'),'Connection':IilIl1(0x18d,'Y4JP'),'Host':l1lIll,'Origin':Illl1i,'Content-Type':I1i11l[IilIl1(0x140,'q%vO')],'Referer':Illl1i+IilIl1(0x1bb,')LwP'),'Cookie':lIIiil,'User-Agent':l1lIii},'body':I1l1II})['json']()[IilIl1(0x1b5,'z^dI')](lliiiI=>{const lIII1l=IilIl1;console[lIII1l(0x162,'fBJK')](lIII1l(0x147,')6Qp')+lliiiI['response'][lIII1l(0x1ae,'Y4JP')]+'\x20'+lliiiI[lIII1l(0x175,'Cqao')][lIII1l(0x194,'6)R6')]+')\x0a');});if(Illl1I&&Illl1I['result']){if(I1i11l[IilIl1(0x19b,'9rgK')](IilIl1(0x195,'fqlo'),I1i11l[IilIl1(0x165,'j]]u')])){const lilil=I1i11l[IilIl1(0x172,'t0zg')][IilIl1(0x196,'ikI$')]('|');let ll1ll=0x0;while(!![]){switch(lilil[ll1ll++]){case'0':IIli1I=!![];continue;case'1':console[IilIl1(0x1b0,'sg4g')]('');continue;case'2':console[IilIl1(0x157,'MVSY')](IilIl1(0x174,'[!e1')+I1i11l[IilIl1(0x146,'nQmJ')](ilI1lI,0x1)+IilIl1(0x185,'r*m3'));continue;case'3':console['log'](IilIl1(0x150,'Ds!9'));continue;case'4':console[IilIl1(0x191,'9rgK')](IilIl1(0x141,'L6MW')+IiiIll+'\x20('+IIlii['replace'](/^(\d{3})\d{4}(\d{4})$/,I1i11l[IilIl1(0x15a,'r*m3')])+'');continue;}break;}}else i1III['log'](I1i11l[IilIl1(0x1a5,'r*m3')]+Ii1iIi[IilIl1(0x164,'fqlo')]);}else Illl1I[IilIl1(0x189,'ZOwk')]?I1i11l[IilIl1(0x14a,'4AfS')]!==I1i11l[IilIl1(0x1ba,'Ds!9')]?ill11I[IilIl1(0x193,'$G@U')](I1i11l['Icwoc'](I1i11l[IilIl1(0x13c,'ZOwk')],Iliiil[IilIl1(0x186,'fJuM')](li1Il))):console['log'](I1i11l[IilIl1(0x17e,'L6MW')](I1i11l['QKRzo'],Illl1I[IilIl1(0x18c,'Yy$R')])):I1i11l[IilIl1(0x1b4,'fqlo')]('zyFfk','zyFfk')?i1illI[IilIl1(0x143,'cU9L')](I1i11l[IilIl1(0x198,'sqx(')](IilIl1(0x177,'&L*Q'),i1IIl)):console[IilIl1(0x15f,'&L*Q')](I1i11l['hVjcP']('🚫\x20保存收货地址失败\x20➜\x20\x20',JSON['stringify'](Illl1I))),console[IilIl1(0x191,'9rgK')]('');}}catch(I11iII){console[IilIl1(0x18e,'fqlo')](I1i11l[IilIl1(0x182,'t0zg')](I1i11l[IilIl1(0x14f,'j4P1')],I11iII));}return IIli1I;}module['exports']=Illl1l;var version_ = 'jsjiami.com.v7';