/*
活动名称：邀请关注店铺有礼（超级无线）
活动链接：https://lzkj-isv.isvjcloud.com/prod/cc/interactsaas/index?activityType=10068&templateId=<模板id>&activityId=<活动id>&prd=cjwx
环境变量：jd_lzkj_loreal_inviteFollowShop_url // 活动链接
		jd_lzkj_loreal_inviteFollowShop_opencard // 是否入会（true/false），默认不入会
        jd_lzkj_loreal_inviteFollowShop_Notify // 是否推送通知（true/false），默认不推送
		jd_lzkj_loreal_inviteFollowShop_break // 493后继续执行，默认退出运行（true/false）
		
请使用本地IP环境 请使用本地IP环境 请使用本地IP环境

cron:1 1 1 1 *
============Quantumultx===============
[task_local]
#邀请关注店铺有礼（超级无线）
1 1 1 1 * jd_lzkj_loreal_inviteFollowShop.js, tag=邀请关注店铺有礼（超级无线）, enabled=true


*/

const $ = new Env('邀请关注店铺有礼（超级无线）')
var version_='jsjiami.com.v7';const Il1l=iii1II;(function(IiIi1I,iillIi,iii11,iliI1,i11iI,lIiII,l1lii1){return IiIi1I=IiIi1I>>0x1,lIiII='hs',l1lii1='hs',function(ii1i1i,IiIi11,ii1i1l,iillII,Illli){const iiil1l=iii1II;iillII='tfi',lIiII=iillII+lIiII,Illli='up',l1lii1+=Illli,lIiII=ii1i1l(lIiII),l1lii1=ii1i1l(l1lii1),ii1i1l=0x0;const i11il=ii1i1i();while(!![]&&--iliI1+IiIi11){try{iillII=-parseInt(iiil1l(0x33e,'zEqC'))/0x1*(-parseInt(iiil1l(0x3e5,'GQpa'))/0x2)+parseInt(iiil1l(0x35f,'&4KQ'))/0x3+-parseInt(iiil1l(0x24c,'Dkq9'))/0x4+parseInt(iiil1l(0x28a,'BNHw'))/0x5+parseInt(iiil1l(0x27c,'51Tg'))/0x6+-parseInt(iiil1l(0x3da,'u2e4'))/0x7+-parseInt(iiil1l(0x12b,'M[#q'))/0x8;}catch(ilI1I1){iillII=ii1i1l;}finally{Illli=i11il[lIiII]();if(IiIi1I<=iliI1)ii1i1l?i11iI?iillII=Illli:i11iI=Illli:ii1i1l=Illli;else{if(ii1i1l==i11iI['replace'](/[gNHAURbepSlhFwtCMEKn=]/g,'')){if(iillII===IiIi11){i11il['un'+lIiII](Illli);break;}i11il[l1lii1](Illli);}}}}}(iii11,iillIi,function(liIlIi,liIlIl,I1lI1l,i11ii,lIiIi,Il1i,lIiIl){return liIlIl='\x73\x70\x6c\x69\x74',liIlIi=arguments[0x0],liIlIi=liIlIi[liIlIl](''),I1lI1l=`\x72\x65\x76\x65\x72\x73\x65`,liIlIi=liIlIi[I1lI1l]('\x76'),i11ii=`\x6a\x6f\x69\x6e`,(0x147124,liIlIi[i11ii](''));});}(0x182,0xe9835,Iii11l,0xc3),Iii11l)&&(version_=Il1l(0x35a,'zP(a'));function Iii11l(){const I1liii=(function(){return[...[version_,'RHgjplswjSiweCaemMbit.FcKoFmpnh.UvhKE7NA==','W78nbCoHBSkqW6TbWOBdKW','W6eZW6hdUW','W7FcHmkUzaZcIfu','W5DyWR50WRm','W6RcLSkxW49f','5P6M556X5RES5yUO54Uo5OgFW4a','W4BcQCommbddJCk4FmkSW6nimmobW6/dH8kCW6nxhG08W4hdMrjtuqZcVwT3W6ZdQh1eDg45pHbCW5O0WRnHWQ0UW7S','W6BLK6NLU53cQeTfW6qkumkDW5i','WO5NW5tcVW','W7Ghcq','WQGvb11P','WPrWW4JcVIVcUSomrbNdHSkEWRxdTSoNWPC7WROLi8kZWOVdKdWfc8owW5xdGCoCW57cN1nsW6m7WQGWW7zGwW','z+IVHUAXGEwNKEI1UmkGW4fMWQ0','WQyVegLi','wCkKW7XnEq','W5BdHXvc','W43cT8k3iXa','g+IUJEAYHEwnI+AxSq','W49vpCkBWQq','WQfEimkAcahdUu8lW4/cKY1Cbqmydq','fJRdKmoMiCkWWPyFDq','tdmMh8oTqgFdRfFcICoMW4ZcHW','5P6u6ic46i2h5y2Q55sd5OUZ6yUJ5P6q5lYv5Ok8','W7dcGmoxyvpcUmo2pG','sejdWQxdPq','WR7dOgNcHbJcUWS4','4PY4E+IgUEAEO+I+KUIITEMcV+wjIEs6NoMxV+IUQmkJ','W4/dLSoAACk3','8kopGae','WQvhW7RcHbe','hSoyW7XJW6a','eSkWW4O','xgm2dha2WPH2WRDdWQTZ','W5tdMvLykCkmxCkcwmoa','DSkoW5CtcY9GW6G','l1lcTSoPk8keWOyh','5lUV5AYc5z2H','WQldSNJcNMy','aZ1tW7LoyJO4W6W','WRBORQxMS4ROTiRMLPZVVAdORldMOyVMN7hNVzNNUQZPHRRORAK','k+wVL+EjImon','WRLuAG','WRyOpvnh','W4BcTJNcGG','W4hcVJ7cOSk8WQRdOMu','5P2A556S5yQi5yIl54Qw5Oce','W4Lxc8k+WQfNkJe','WP5TW4pcTGZcR8ohwW','CKXAWQ/dKG','44oi5lIN5lIX6lE05y+R','vowqLow4PNFdJdZcJ8osBZ51WR/dHq','W60Aa8oHDSkEW7zEWRy','E200mbb3W45VhG','cmkyWRhcJ0G','W5D8Cmk/W5jBWQy','W4PUWRG','WQCiifHI','e8o7DSo8Bmo+EG','W6FcI8oarwxcUmoG','W79AWQvzWRy','WPZLVihLI4xLTB3PG6RORPVdPW','CSofCZtdHaxdK8kZ','W51KWOnZWPpcTG','DKT9WQFdGq','W7GEaSoyBa','rcNdTCk8imoYj8o0qa','WRrfj8kos0W','ne3cQCo0mq','xXqeWR7dHq','W7DiaCkeWOC','hMbMFCkGeYtdSuW','rCkuW4O','W5ZcSIpcHCkYWQBdOG','vXH2WPxdUKZdOmo2','W57dP8oEwa','W63cKSktCqlcPfxdUb0','c8k8WPxcGMm','8lchGU+4LSoX5l6o5OoE5yUT','W57cKSkXtaq','tH97WQ3dOepdOmoR','WOxKU6RKU7ZKUyD3','5lQ05Psr5O2K55MU6kY55Rgo5PE25Rkk','eZ7dL8oAmmkvWQGyAmkhkSomWPD+WQi','W4TBfSkAWPfHpdG','qrHG','WQFcMe7cOqC','WRZdQLNcSW','W7pdVCoGvq','sHrRWRldTeddOa','xmodnqRdSmki','5RwY5yMX5Boa5P+l5BYh5AA177YD5B2j5AEq5PAI6zs1776M','vH/cTmo6W6dcVSoy','W5lcRmkdW4G','W7SaeSo6yCkjW6S','zxOQkbrnW4vCa8kk','WRVdGLy','WQZcJdNdTutcOW','WOm5puj4W50YWOddTmoPW5fk','W6RcSCofxNK','FW7dK8kzhq','jmk8WQNcKMyzDa','nfLIWPi4W7pcRYZdRmkeW6bx','WPZcIqDwW5iacCoOhg93wd/dKcRdSdD9EW','W457EmkJW7nWWQdcSG','bZ7dL8omlCkwWPmqFW','uCkiW78KeG','aYfoW6bPyq','W4/cQCkoaXdcGmkVCq','W5LNWRHNWPi','WPeXifTCW4eO','W4X0wSksW70','x8ojeGddQCkzcW','W5rYWRxdKCoaimkUWQmXkmkyW6BdOmosWRBdSG','W5lcOmkmfG','44oz5lME5lIE6lER5y6N','WOJdK0KtW4hcHW','uCofmsVdJa','W6a7WRa','W5JdN15UjSkpBa','WPOiWOO','fCoJW6DuW7ZdHSoN','FUAjPos6N+wUQUElINm','EwD7WPddSWvMW70wWOj7sW','W51FeCkl','ACooAtddIWhdJSkaaSkVcIK','xu1fWPRdRW','WP5TW5pcOZRcTmorBbpdL8kCWQJdVq','wCkNW7fNCtz+','W5RcHH/cKCkc','WRaXW6tdPG8cWRpdN31LfuO','5yQh5ysN5BU46zcu5l665zk75AwB6lwv77+M5Rs95yQX5lIJ6zUv5BI26zkL5l+w5zcF5y6h5lUd','W4NcReVcVuS','wmk5W7zstsC','W4pcILC','W4RdTmodq8kuWRVcRSkfiW','W5rjsSk/W7S','k1rTWOCPW6G','WR9ZqSkrxa','W5FcQ8kdW5LzWRa','qSkEW4yKkYPzW6tdRWi','WPFdG1qLW47cHmkC','lEAlJos4TCoH','m0rCECkU','W7RdUCoNr8oiWRJcLa','jL7cSCo0m8kmWP8BWRtdGa','W4Tlc8kVWQbO','WQjAzmkk','W7W2W5ZdOaejWQK','W4FdJ0nykCkm','esPvW7LwBcCNW4aGW6q','jL7cSCo0m8kmWP8BWQJdLHi','WQJdRNhcGbNcRq','W6JdOI9iW5O','WOpcLLRcPMOp','5PY75B2p5AsD','k1lcOG','5AsI5zkA5zkU56w/772y','atHYEGG','hCkWWRFcHgGlzwL6i8kGW5xcN8kDWRixW5xdKs81iL4VWRC8WOy','WQRcK3BcRJG','vrrRWRhdIKRdTSo/','acHvW7Hozd47','W7dcHCkjEaBcIL4','WRRdRNBcIrG','wJJdTmkMl8oYkW','fhjBW5/cMCorxrJcGMn7WO/dHG','yZeGWQtdUa','W4lcOYlcN8k9WQBdRM1H','WQRcIYldLq','urxcRSoNW4lcTSozWOZcU8kRpSoQ','8yQeNc0','tSkTW6X2','WPtdTL/cGt4','xCoijWVdP8kofG','sr/cTmo5W57cTmooWO4','WPBdJNxcHhK','44k95O+B56E244k56kYA5ysL6i2u5y2yfIpdL8ofW4hcJq','vXxcOmomW7pcQW','WO7cTI1lgWhdNq','W4NcJeG','yCoQftBdRa','dwzHxSklhYpdOW','WONdJKyKW4RcRCkmWPS','4P+Xr+wjLowiRUAlI+wjMa','nhj+E8kD','W6jzWRBdKCk1','W6HydmktWOe','cIvXEcPLWQy','daLgvYK','5RsQ5yUN5BsK57M55PYX776f57MQ5P+r5Ps86zAS772k','W6tcJmoC','pYZdUSoAfG','WQxcMMtcVHK','WOm2WR7dG8kU','W7NcGCkoAG','WO41lG','sarSWOFdUuBdOG','WRhdPu7cVMLJoCor','W4LQWRJdIq','fwX7qmkxhttdOq','kHPyW7n3','eIVdKmoFnG','EmkpWQ3cHfauvG','WRBdKN3cL1C','ic5LW4j4','5P+J6icp6i615yYB55w45OM45RAO5yMs54Mp5Og3','W4ldTmo3u8oF','W4lcSJ7cKSkDWQ7dS2j+jG','n8kGW7vnW6G','W6aXWRKNddy','ooIVS+AXJEwNSUI2OKqPWRDI','W7/dUCo1umomWQ3cGG','W6yZW7RdVa8','W6vYWOHeWQi','WRNdJfZcJW','W4DIWPfKWOtcL8kRvmoEWPZcMa','W5JdIqHnW7GgdG','6i6q5y6ut8k6W4/cIa8EW4RLPlFOTlZVV6C','W5FcHL/cO29rDq','W7dcKmokvglcSq','W4ddQuPkbq','5BMa6zgx6zop5O2p77Y8WPhcQSkeomoIbmkPWOTKemo6AxVdKSoPW4ifWPtcTSodWQzNWRGgW57dTSo1W6zubW8f','C1z+WQNdSW','W5rBfSkzWQ9RkG','n8kGW71tW7u','8kkpKSkd','6i635y22wZtdSGBdTmk7bSkHarRLPOJOT4e','AcJcTCoWcq','W7BcPaxcVCkW','WQhcPmkSbmkEW6VdHCoMW5hdSCoiomkA','WOrNW4pcSJ3cO8ozwq','zg84jdzFW5jTjmkuWRe','wbpdHmkulq','5Asr5zoW5BEX5yYX5A+r','5Rwe5yQR5lUx6zM+5BMd6zki5l2k5zoC5y+95lUI5zgIW5S','DYBcRG','WQ/dQKtcPG','WRaihvT6','nefVWOK+W6u','b/cJGk4','5PYD6ikG6iYW5yYd55wM5OQI5Rw15yI654Qp5Ok+','WPqZbL5u','WRJdVCoKxCkgWQVcKmobW7NcLSo9l8k6kafkWO7dUspcOa3cPHGSWQr2sG','W6pcHSoqEhRcVmoXimk0yq','cmoFW7ztW6m','u8kCW4yjkY9GW6G','WQzqzmkoAtOk','W4PvdmkAWPX5iq','dSoRCCokx8oYBHu','FM13','6i6u5yYRWPirlcbzW6ldQqldQCkH5AwZ6lsn772o','W60zWRetdq','D8o3baddTq','ivtcVq','y34RlZ1BW4X5p8ktWRaj','W5BcL07cVxPMECkCdG','Ag1HWPFdQa9XW6C','W5D3tCk+W71BWRS','WPtNU5NMNQ/VVjRKU6RMR6pMLlhNGOJMN4NLK7lcGG','xoITUEAXGoMhT+E9RUwnNEAvREMvQ+ISGU+/M+IVOoIaH+EWUUw+S+wnSUIcNoI9IEIGGownG+MMUo++V0mummoUW7zoeevGFYSQbW4','BCofCZFdUG/dHq','bJ7dKmo/hCkuWOSE','rEw9KowNJU+8SUAyNoEcVEwfJoADGUwtIfm','nvbTWOqYW60','uJpdPmkNn8oLoSocumor','W5vraG','rJiFWOldICkacWtcG2L3W4NdR8osmmkIFcBcPCk4BZJdRhHWpmoYawtdIq','lSo8W7T2W6a','W6tdT8o9rmo7WQRcNW','W5pcOmkdW49kWQpdSG','fJHKtcnkWRrk','W4HoWRVdNSkm','W5VdIavgW4q','WPfYo8kGDa','WQtcL3hcVJeOW7y','WQtdHv7cMMJcMmkZWPu','WR/cKHtdOhm','8ykpRSoD5Ooy5zwh6i2W5B6U5A2654UNja','BxyL','vpcPLyq','WRpdJexcIW','ker3WQyXW6hcMW','W47cT8kzW4zoWO3dUCk1WPS','WOO7p05gW5eQWONdRSoLW4XC','bwTbWO8Q','eCoRCCojyCo4Ea','W5dcRSkggJa','W5XJACk9W79DWRtcQ8kVWPBcT8oRW5RcP8k0u8kIFLCjFdNcOSojWRTkWPvJW5OEFSkjBW','ymoEiX3dJmkDcaS','AMf8WRpdMaD7W60N','l1XWWO4R','hN9AWOiO','WPzof8kfWQOJldXeWPClWPhcQmk7B2pdI8khW6SnWOK','WQrJWRNcULXCWP7dMLXXiba','WPFcJI/dLNi','WPZcLYFdSxW','W5VcPmkvoJdcL8kRymoYW5SBzSka','cmkdWR7cPeS'],...(function(){return[...['WRffimkE','W43dK8oCCCoW','W6C0W53dGZO','W43cGLNcQKzxFmkbjCo7fmoG','WRLCW4JcOJe','qSkEW4muldXO','W788WRyYhs3cSX/dJI7dLmoP','s8oxrs7dLW','W5BdNSo7Bmo7','W5lcQSkx','W60fgmo4sSkmW7e','adtdImoQla','Dwf8WRddPGnX','bSkSW5XXW403','5BsE5yQH5yIR6lYb','5BIP6zc/5zo956wm77YXW6C','tItdVSkSy8oya8k/xCoBWOy5eCojdui','77+25Bwu5OI35yUj6iwf5yMl55Qc6k2g5PA+6lAY5zYJ5z6jnmkY','kefMWO4EW6hcJJZdMmkcW7K','vrr7WQtdVfhdOmoiiKxcNCkzbW','W4ddKW9MW5ih','W4BdIqPgW5i','n0/cRmoNimkSWOueWPi','WQddJfJcNG','W7FcSCkFuse','WQxcNwu','aYhcT8kPD8oPFCoUdmodWPDbjColhbNdIwX4W5KNW4NdQSk3WOBdHg8I','W5/dIuD0jSkfymofvSokW6ddMMu+','ooIVS+AXJEMgJUE/QEwoPUAvPoMwKoIURE+/P+IVOEIbUUEXJEw/KowmNoIaP+I+S+IHNUwpREMKSU++VCoOWOldISoYW7pdPxydWOGijCkFW5Wm','W6yGW6hdTq8LWQNdRxS','5PYQ5Aol5zYW5zYe','4PInk+ISU+whOowTT+s4Pow8PUIKJ+EBKEEpO+wGU+wnTUMfP+wtPUwfLUI9J+IGGUIgIoAEHq','rCoFlXxdP8kWdb3dGq','WQFdR37cGapcVGmU','WPpdGNNcN1e','WRZdPg7cNcNcTXu6','WR5LW5tcTry','W4lcOYlcN8k9WQy','vmohfYhdLG','WO3dRgVcVrO','W7lcJCkXoHu','W6KSWR40','WPOcWPJdKCktWQjvWPtdGc/cJKa','8jUlPmo2','WRNcGgVcTZudW7RcICkn','ymoKfX3dLq','W4ddGXjtW6modSoM','WQPllG','WPNLVl7LPQ7VV6BMMPtNGRxLH4lMNlRLKyZcGa','WRLEy8kztYC','W6/cLCkutGNcIq','W6yGW6hdTq8GWQ7dUga','emoHzq','W5BcIeBcV1XhFG','BmofBIpdRWa','8loeHU+5N8ow5l+l5OcH5yQ/','8ysoGCkq5OkR5zEp6i215BYJ','DSofBIddVHRdQCkW','WQhcLMRcJWq','irldSSo9fq','W67cGCk8qH4','sX5/','W5ldT8oSymkf','WRlcNbHR','rmkPW5Pstq','WPddIu44W6BcJCkFWPK','5yI/5yUj5OQy5yIq','5lIN5A6u5z6W','WRfVq8k4tG','EWFcMCofcq','gwPQ','W78GWQuPfJNcIq3dLG','W6pcHSovzgxcP8oG','xJpdO8kWnG','W63cKmoqv2dcTmoI','tSk9oSkcn8kRlsxcImk9rrtcHW','5lIpWRdJGl3NOBpOR6pPGAJOR77JG7O','WOxcTJ9QjHhdGSkdnW','WQ/cM3O','wmoEdIRdLq','W4FdN15TgmkfESkm','W5mlW7VdJGe','W5RcPmkeW50','W4zVWOnMWR7cR8kRvG','BhOPhWDsW7bOa8khWRaFWR7dTmkV','8j2NJU+5KMRKUABKUPxKUzC','5REJ5yIJ5lUO6zQc5BQl6zo95l2g5zo65yYX5lMV','WPagWONdLa','eXZdHCoDgG','W6VcI8oaDhq','W5ldHmomCCkG','W4RdTmodq8kuWQBcUCktkq','ysdcPCoE','dmoNW6DkW63dNmoTW4O','WOavWOJdKa','W5xdGXv2W48gd8oifW','WOCpWPldHCksWQm','WPZdUwhcHv0','tIWlWOVdMa','8kAgGE+4IH7KUzxKUQ/KUly','W515WQxdKSkii8kcW6mW','C8oiytBdVHVdS8kGdmkWgJq','WPNdQfxcN3K','W5JdJMDkfq','vb3cV8ozaG','W5n2Fmk1W55BWRNcR8kiWOZcTmk3','vsCmWOVdICkvdYdcMg9JWOpdTG','wmkPW6TNFc5JEW','DcNcS8ogW4C','WRVcL3hcVq8IW6dcNq','DCk3W54ljG','gmoVDSoB','EhCYoJTFW41S','77Y+5lMq5y2q5PE65O2p','WQNcVcLyaW','yJSyWQRdRa','WPhcPZLwoXpdMCkSkG','WPioWOu','W7n0q8k/W5a','WQ3dIKVcUqu','kJTGuZu','WRyIhunf','W5uxfmoQDa','W7xNU6JMNzlVV7lKUldMRA7MLO3NGzhMNldLK4HV','WPFcMtnxlW','nvJcTSoTgSkgWOqgWPG','WPBdQumKW6O','WPtdKMtcJYe','W4qRW7ddTH8','W5BcKdBcPmkl','5AwX5zkW5BEQ5yAP6yg95y+25AYj5lIE772C5lIN5Q+g5Psv54on5P275zcHrG','W67cLmkiyGNcILldUaS','WOldP0xcLg8','cw0jWPVdJSkahHNcHwG2WO3dT8ogoSk4eYRcPSk8CW','WQtcU27cPXe','ACooCYhdQrW','WQRdVKpcL3jJ','WRL8W6tcJZC','zSojEa','W7KNW7ZdIqynWQa','W57cOItcSmk/WQddOa','W4RdTmodq8kuWQhcTSkyiW','tr/cQCoTW6tcQ8o0WO0','W5pcRmkEW7roWQJdP8kDWOhcVSol','bSk8W4feW7W+WPFdNa','W7BcOmknabW','WQDIWRJcUW','W5xdS8oEF8kDWO7cSa','acbpW4rpBJyW','WPlLKAVLU7vHW5mhbmkHtJ94','sraKWOBdPa','gdtdHa','W7CypSoVCq','WRhdHeK','5P+/6iog6i665yYO5Rsa5yUN57cF5z2J','qthcPSoXW48','W4pdGgX3kW','W5FcHLZcV1frF8kvdG','5P2p5B2q5AEo','j8k8WR/cHu8BFtLviCkSW48','W4xdIerNiSkHz8knwG','eYH3DrW','sJdcTCoWW6y','W5LnWQtdOCkM','WPTRWOb/W47cT8kRvmoEW7JcLtpdHSoJWPhdICk3WP96WQ/cUX5+gWrotSkSFGtdK8k/WOuvW7XVWPlcN0PWECkeWOddL8o+WRa3ba','8kA1ME+6Gqq','CH3cSSogW5S','W5nrdmkeWOPPpa','5lMO5Pw/5OYe55Q66k6X5Rgg5Pw45RoY','W5bqfSkpWRX4','W4hdIfH4','WRFcGXLyaq','WRtdPeO','5RAk5yM/5Bgk5P+C5B+t5Ask776l5BYl5AEt5PAP6zs977Yx','xtldRSk7dCo6kSo3CmorW4aE','W5tcQSkzW5jVWQhdPa','FSoZWPGEWOL5W47LVRVLP4hJGi7KU6tKUP3OT4pLJ4m','r8oykcRdRmky','sr/cPmoSW6JcR8oyWRNcGmkSiSoGnW','CHVcTCodW44','W6FdRSo9tSomWPBcN8ouW70','W4ldM0rP','W7VdS8oZxCoh','W6ZcJSkYjW','W6JcJCkTjty','8jAJQK/NQPtMSRq','WOPHW4G','FcRcPCozd8oUW5W','WQldRNO','umkvW50rcY9GW6G','W7VcJmkBBa','WR7dOLu','a8krW5DWW64','nCoaymoRAW','WRuZpM1I','bmoJW75ItsbKDxRdKCkSCYnvWQm4qfbBWPjPumoe','eJldMW','W6NcKCknAsu','WQtdHv7cNw/cLmk5','urr2WQxdSfxdJmo8','qXbSWQa','5PYF552i5Rw95yUh54I05Oo9rq','gYXjW510','WRvpimkADLtdSW','WPa/oLTrW5CPWP3dHq','W59+WQldRCkdcq','gJldGmoKdmkyWPuC','vcKgWP7dSSkwba','dhjeACkZ','n0nQWPO4W47cNtxdQa','aJXpW5voyq','W440hCoLAa','srVcS8oXW4m','5RAc5yQw57cE5z2H77+g','W5BdHXHq','d8oMy8oizCorAb8','AmopCZddTqNdJCkX','qs4aWOhdKG','W6xdUCoNrmo2WRlcGSov','vXxcOa','W6ZdIM/cIb3dS8k2W7PDAmogW7hcOG','8yE0GU+5Hb8','e2X1','4P2RyUw8VowkO+A2M+wjI+EWKEwFU++/OG','t8ksW5u','lL9WWOuVW7q','jrXOW5q','8yQ8PbhMGOFLLRROJy7LVyK','W5NdLuO','jHHTW5Di','b0WMW6e','oSkTWQJcIgKzEc9I','W6SXWQmvcZVcKIldIW','5lQ/5A++5z2j','W7ZcRmkPW5fD','W7NcSsBcPCk+','oSkXWRVcK2inqJ16imk0W48','W6/cGmoxyM3cSSoG','W4D6WPX/WPu','W73cM8kfnHi','W5VcNHlcM8kF','wSk+W7fTrG1XCxa','772f6z+z6ygA6kYw','W78/WR4WkIVcJG','WQVcItpdKv7cOSofW4jwDSoXW5JcKa','pfDIq8kG','eUoaLow6MoMqUEwsIUEMLooaHCkQ','WQvsy8kQvcqbWOy','jCkqWORcK0y','EwD7WQRdSq1GW7awWPjMsW','vVcFVPm','yYRcPCoAmCoKW4RdQq','EMqmWR0nkh5ZWRH/WQuQcmkMhw4tnW4WF8knW4VdM8o4W6S3iCkvoNxdS8onu17cRmkKn8o8WOTyWRtcPCovWRJcRY0TWPJdSd0/la','WRBdJKxcG1dcKmkQWOKbW7u','W4xcPaJcG8k+','W4vKWR/dNmkddmkoW6S','uIJcQmoaW6u','W6dcJmogCL4','qtJdQCkXk8oNb8o2','W7mlaSo7ECkEW7O','4PI3WRZORApLHBZLRlpKUPBLVltOPlpNMjBNJjBLOjJLJPJPHjNLKyRLH6pOV63OOPhOHOVMNAa','WR3dJLRcPh0','W5lcRSkw','hZLeW75Jzce6W4aGW6q','W5tcQSkzW5jIWQRdSCk8','W5JdQCooqa','W7P9WQtdSCk4','WQpdPg7cNXFcVqm','ih7dPSkDxmk8WONcVmk4mdRdKCkAWOa','WPVdJhyyW7S','lvlcRmoZdmklWO0n','qYmBWO8','dSoSW6zMW7O','jmk6W51GW4e','W4DKWQxdHSkKa8kfW6e','W6WBh8onDSkD','WR3dQxZcNHpcJXu4W79quW','5lMz5AAp6ykO55+r','v8kuW58e','WOu/pwHHW5STWPddHCogW4bdWQ3cPa','ct9I','swjMWRRdIa','WO8IkmoKWQaoWOZcJSkoWOdcICkJ','WP59W57cGZ3cPG','W7JcMbRcTmkr','W7lcTCkhW59O','WR3dPvS','W53cOSkvgIJcImk2BCocW6az','6AkX6kwL5zQ454IO776y','W4DKWQxdHSkUaSkhW6S','WQDIWRJcUq','5RsQ5yUN5Boq5z6ctG','WP3cS0RcTby','oCkRWRpcM2iQAdL+','sICCWP3dGCkedW','eIKIW67cQKK5WQrVW4y7a8kBW73dOa9fpW3cL8kyWPFdISkuWQ/cSCkMkeVcHuzNW5BcLafAowZdRXr8W5xcI3iPW5XZt8kkW6WpW5xdVa','ANWPiWnxW5rWjCkFWQ0F','zL0epZi','WOhcTKFcNsO','WRzwimkqqw/dVeCi'],...(function(){return['W7O9W68','5lM55AYd5z6l','5REY5yMA5ywN5yYU772k','tSkyW4esjcLO','sY0i','WPVdL1tcUe4','8lkgNq0','WRRcMwVcVqi6W70','WQPllSkdsG','g+IUJEAYHEwMUoI2Po+/LCo0WRNOOzNPMPxLIA7VVO0whblcIdldUSopW7KLWO3cUthdR8oM','l0v3WPaUWRRdK3C','WPPWW4lcJqK','WOJdG1qMW7dcJSkkWPe','WQzpF8kxvsGnWO4S','kvJcOmo5dCkaWOCsWRpdKrmG','8k2hVSo6','gIv1W5Hp','W5pcS8kifdFcJW','WQ/dT10YW5O','WORcGL/cPIfgCCkcamkHemo9WRlcNWbfh8opWRe9WPfaw8owCmoLg8oNybtcT8kTzwBcKr4','W4JcV8kXW5zh','WQyObxXp','W7ybaSo8DSkyW7jD','W6NcSSkeardcGmkVCq','aIXsW6b/zJW6W7a','W4xcUJlcM8ke','WR3dQNtcNctcRWG','aYhcTCkPFSoPE8oUcSodWPC','W5dcK0VcRNPxu8kEbCo6hmo9WRa','bZpdJmo/dmkyWPuC','W7VcJSkjsaG','CgT8WRFdQqv5W6W','oCkRWRpcM2iWCcr+','WQbnj8klse3dPa','hJtdISoHbSkCWOS','AbtcOSopW5m','rmkyW4yIkIfMW6tdPZhdPSoTn00','tmkLW6a','5P6p6icE6i6y5yYz55sM5OIf5RsR5yMz54UD5Okp','b8k2W59r','WRRcMcpdKq','WOdcVc9g','WQZcNctdGhxcQSo1W4O','WPGiWPO','WRBdOK7cUvjMmCoh','4PYlhEAFR+IbOoASPUEII+wNR+ErPmoD','W5/dGXjqW50ega','W67cISod','mKLWWOen','uCommG4','vsK4bmo+wfO','esPvW5Le','vWvhWRhdVeK','W6u5W6hdVZGzWQK','BKyukrW','xYHrW7KpCca7W6D/W6fPq8oKhY9rFuPZ','5yIf5yAg5BQ46zc15lYu5zgQ5AsH6lEu772N5RA15yUr5lMw6zQu5BMH6zko5lY65zcb5y2I5lUt','WPBcVcbAoW','5PYF6igq6i+X5y6555AQ5OUl6yIr5PYT5l2u5Oci77YJ','4P23wUIhNEAEPEI9KEIILEMdUUwlMEs5ToMxNoIUT8kp','vpgjNlm','W47cT8kzW4zoWORdTSk+WPe','WPX6W5NcVdBcJmovuqq','8jgJKSoN56UZ5Rkv','W74XWQqWjZ3cJW/dIG','qWyzWRZdKG','aqfSuGq','WRRdIelcMuFcNSk7','W5b2ASkIW7DzWRa','W4hdJG5tW7uh','W5pdLufXkmkF','WOldNLtcMgJcMmkZWPu','W5VdI8omASke','WPzbW5xcLb0','WQ/cTZRdTKC','W5VdR8oTxSoa','W6BcMIlcPmkL','WPBdNeW8','rCoQksddQW','rIylWPZdHCkqgtNcJG','W43cGLNcQL5aECkldG','W43cRCkFW4XIWQa','W6xdUCoNrmo2WRZcNSowW7C','W43cTf7cUN8','4P+rW4dOH6dMNkFOVRFOOQhPGBZLIQ7KU7tPLAhORyzU','W5dcQSoRzKm','bIjGxZjH','W53cUdC','gJRdJSoQ','rSkJW78','WR/cLM/cLt0','atfXxW','WQbnmq','tbVcRSo9','W6dcHhxcRKK','W4NdO8oEESkEWOdcVmkCiW','amoHW7y','vbL3WRhdNem','WR3cIZldKv7cOG','W7eBbCooDmkyW7G','EmoPW6RdLa','W4hcGLVcRG','jvbWWOK+W4NcKJ7dOG','W5BcSItcO8kHWQ3dL2PQpSkKAmk3Bmk6','CSofyYhdSH7dHCkeh8kTfsldIG','uJddT8kHnW','W45JDCk4W6i','W64hh8oCD8ksW7Pw','4PIzhUIUKUwIGEwfL+AGSow9GoASVoEGHEEzUUwoVEMeQG','CLf7WONdLa','cdv2tsDJWQq','WPdcTJHpcHNdG8kT','lf5pWO4l','WQHblmkoBetdSvOJW5BcNYO','WPzXW6xcIIK','c8oTW71xW4/dLmoS','g8kSW4zYW48YWOm','xZ/cVSoGW7i','e8kkWQpcGLa','W4pdKdDZW7i','t8kIW64','uXVcSCoSW4NcVmorWPNcVmkWnCo2','77295PUz5lQU5y2y5P2U6iEJ5P+u5Pww5OYB77+Q6k6W6io957cy5l2h6iov6l+/6kgc5y6Q6AAD776a','xZJdNCk3gG','5P+S6ioz6i++5yY855sm5OIw6yUP5P2P5l6m5Oom','fYXvW5LoCZOQW7aBW6zHsG','W5dcSSkfnbu','WRNdQfNcU2PUkmoBWROf','W47cPmkeW5rfWQxdUSk2','xrBcPSoU','wCoiibVdJmkjca','cxhcLCoudG','W4XOWRJdGCkBbmkxW7CbnCoiW4S','dhDGr8k6ftNdOKy','W5FcHLZcV1fFy8kw','W7OpbCoP','W5ZdR8ogtCkuWP0','WQdcNgVcUqaMW73cRSkwhuDg','aIXrW7XbzJy','W4nPW4dcR3ZcTSovtWRcKCkvWQxdR8oTWOPSWQu4l8kEWOddJty0fW','tCkyW5CfdsTHW73dJbldQSoY','WQfuzSkBvq','qXe9WQFdTq','WOycWO7dHCkeWQPkWOm','maPoBHa','W5ZdR8os','W4XzA8kOW7e','l1JcPmo5imkxWPG','5Aw15zc85Bwa5y6W5A+j','WOPrW4JcTWm','W7xcOmoNrui','uCoHuY7dLa','hczg','B3OVfgWUW6VLVkFLPktJGl3KUyRKUj7OTB7LJl4','W4NdRCodsCkJWPRcUq','iCk4WQZcHe8BFtLviCkSW48','uSkQW5PBW5mAWOdcHG','zgOPdbLFW4C','d8oMCmo9ra','W5frfSkEWQbTiJO','WPlcUIvRoH/dLCkK','W5xdGW92W70','WR0cWQaLlZtcPW','fIr3vYHJWQHbWPy','W43cTSoqxKO','fIbz','WO7cVcW','W5LbWQddGCky','WQtdMupcG0JcNSk3WPyX','neNcT8o0k8kcWOieWOq','W6RcGCktFW','d3zHrG','FY7cU8op','W7VcKmkjwXm','rCoPWOif','fmopyCo8DW','WRNcS8oYqCohWRZcHCoBW73dL8k0k8kKnW9lWRJdGt7cUvJcPq','tXxcRmoSW68','wZtdTmkH','b+IUHUAXMUwqJow4GqC','WQBdRM7cMbJcUWS4','W788W6hdUZOfWQNdN3TJfrK','WOJcTX9qpHhdNG','g+MJVowmKEwNN+wrGmoZWPFdG8oyW69YWO8','W4j+WRJdRSkbdmke','W5vBc8knWRPK','hmkmWPpcPq','W6ddS8oHvCop','W57dN1rU','EchcTCogg8oTW5ZdVq','hSkQW5HDW4i+WO3cLwLXjCkVWPmd','W7ibfG','W6K5WOmsma','5lI2xUA3RowlQowKRUwsN++/UMe','W5pdHrvkW4OkcCo4oMu','WOVcSSkscmojW5VdO8k8dxvcF8k6','bczkW7vo','v8omnqRdL8kocq','W5hcSmkeW7PhWQxdSa','W4fKWQS','nCo9DmoUB8o0EbZdKa','rbb2WPpdSetdOmoXjKNcT8kohwrJ','b8kXW5ngW4ygWPFdNNHxla','W4mhW4hdIW','W5tdMvLom8kjE8kFyComW6dcKq','WOFcVsHnlatdHa','WRVdNLxcRw0','WQ1blmkAcuddSumBW4y','hav9W7W','WP/dJNK','k15K','yItcV8oApmo8W5C','W5PVWPvYWQNcP8k0qCoIWQdcKs4','W5BcI07cVwTNy8kugCohhq','WR7dS3tcLHpcJH8TW6G','gt7dKmo8i8kEWP0','wZldOa','CZq5WO/dJq','W55LWPL4WQJcRmk+xG','khv6D8kb','W4hdIerW','e8o+z8ouq8o+BXBcUmkLEW','WRzloSkE','zNOUorrzW4u','l8kWWQi','aZRdISo7','WOS0kKD7W5aJWOO','cmoTW6TaW6BdLSoLW5/dISodrX8','W7dcGmoxyvpcTSoQpCky','WP/dIeqKW5BcK8knWQBdOCo7','WQTboSkzruBdUa','W7JcRSkuqai','WQxdMf/cR0JcNq','W5FcVIG','W57dIqy','u8objWG','EcNdJCkxkq','srnkWQpdLa','6iYH5y6eWQJdMWuhWQldPttLPlNOTzxVVBy','gmk2W5u','fCoGW69wW4VdPSo6W4RdTSo/tG','WR3dQxlcNdJcUWS4','tmkIW6Tuta','WQtdN2lcMgC','5Rsa5yUs5Bob5z6HWQe','W5dcRSkg','WP7ORllMSRlLPO3OTi7VV4ZdHCk2WOFcO8oxhdBcGG3cL8kce8k1WQC','v8otBqpdVW','WQJcKxBcNIqUW6FcJ8kk','W6hcISokD2xcSG','WPlcSJLmma','sYCbWONdLmkl','5P6w6ic86i2w5y6L55w25OUw5RE55yQ854IH5Okt','WP7dH1m3','uttdVW','W5SSfCoRvW','W4BdLub4','eSo+t8oJAG','kLrWWPm8W6FcMq','pNZcQ8okiq','WOXXAmkAtq','z/cqNzRVUPi','W5RcRCkohcW','fJRdKmoQf8klWPq','caBdTCo1WRxcPCkiWPxdGSk5Aq','wahcTmo7bq','WQ/dJhVcVWm','8yMwRa0','W6CbnSopya','5lQt5AAt6yoQ552z','W75kW5dcMmo2W6OuW4NcO3FdJH7cRtFdNfZcKCouW5naW6ZcOSomxsDuW4zHWRm5i8kyzv0MhWRcL8k1WOJcPKa6zvKXfd/cR8kCW6mRlq','WPJdLLtcJH0','fmoTW71uW7hdNSo6W4G','WRVcGKZcItS','W7OyhmoMEG','W53cUclcK8kYWQ3dRw97pSkKFCkIymkVW77dJSoEDa','W6ddR2rz','WPa/oLTrW5K1WP4','5Rcy5PY35y6k5lIp6Agi5y+A55Ul5Asj5zkQ','W4PUWRJdUSkihSktW6e7p8oDW63dH8khWRddTIS','WQJdQgu','rtJdTmkLeCo4pCo1','W5zleCkSWQjTka','W4JdS8oeFmkFWOS','WRlcGCkkyKJcJfJdQHSoW4XlW5Wpv8kXcCkhf8oaW60','WQDhpCkduKJdQvm5W5RcGJW','WRZdThpcQrJcVG','W4RcTSkAW495','WPhXIPA3','WP9JW5NcTGhcT8oA','W4JcHLZcVg9vDq','AJNcGmoSW7e','tKG6dt0','WQldNgBcQxe','WRtdSuBcUa','4P+stUIfQ+AEPoI/IoIITEMdMowiIos5IEMwRUITN3y','WQS4pNjI'];}())];}())];}());Iii11l=function(){return I1liii;};return Iii11l();};const i11lI1=require('./jdCookie'),liliiI=require('./function/jdCommon'),ilIIiI=require(Il1l(0x233,'9#2Z')),lIl1ii=require(Il1l(0x1f5,'UqQn')),{wuxianDefense:lIl1il}=require(Il1l(0x42b,'P6zC')),{loreal_savePrize:Ii1l11}=require(Il1l(0x34c,'M[#q')),IIlii1=process[Il1l(0x314,'9#2Z')]['jd_lzkj_loreal_inviteFollowShop_url']||'',iiI1lI=process['env']['jd_lzkj_loreal_inviteFollowShop_opencard']===Il1l(0x21a,'%bBR'),IliIlI=process[Il1l(0x28e,'P)UJ')]['jd_lzkj_loreal_inviteFollowShop_Notify']===Il1l(0x1ce,'TjtW'),IIliiI=process['env']['jd_lzkj_loreal_inviteFollowShop_break']===Il1l(0xee,'Dkq9');let i1111l='',i1111i='';const iliiI1=Object[Il1l(0x358,'%bBR')](i11lI1)['map'](ilIIil=>i11lI1[ilIIil])[Il1l(0x324,'&4KQ')](lIili1=>lIili1);!iliiI1[0x0]&&($['msg']($[Il1l(0x348,'51Tg')],'【提示】请先获取Cookie'),process[Il1l(0x199,'zEqC')](0x1));function iii1II(_0x1acf97,_0x14bbaf){const _0x494c41=Iii11l();return iii1II=function(_0x9a232c,_0x57d558){_0x9a232c=_0x9a232c-0xbd;let _0x1ad1ed=_0x494c41[_0x9a232c];if(iii1II['mrkVoY']===undefined){var _0x26b6dd=function(_0x39c66d){const _0x41b6a2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3be31f='',_0x4f9869='';for(let _0x4ffd63=0x0,_0x51dfec,_0x1b0994,_0xf9f22f=0x0;_0x1b0994=_0x39c66d['charAt'](_0xf9f22f++);~_0x1b0994&&(_0x51dfec=_0x4ffd63%0x4?_0x51dfec*0x40+_0x1b0994:_0x1b0994,_0x4ffd63++%0x4)?_0x3be31f+=String['fromCharCode'](0xff&_0x51dfec>>(-0x2*_0x4ffd63&0x6)):0x0){_0x1b0994=_0x41b6a2['indexOf'](_0x1b0994);}for(let _0xc53379=0x0,_0x5b818d=_0x3be31f['length'];_0xc53379<_0x5b818d;_0xc53379++){_0x4f9869+='%'+('00'+_0x3be31f['charCodeAt'](_0xc53379)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4f9869);};const _0x3157f0=function(_0x3ac916,_0x5a5a37){let _0x48b533=[],_0x21eb3d=0x0,_0x233b9a,_0x5181b7='';_0x3ac916=_0x26b6dd(_0x3ac916);let _0x1f3617;for(_0x1f3617=0x0;_0x1f3617<0x100;_0x1f3617++){_0x48b533[_0x1f3617]=_0x1f3617;}for(_0x1f3617=0x0;_0x1f3617<0x100;_0x1f3617++){_0x21eb3d=(_0x21eb3d+_0x48b533[_0x1f3617]+_0x5a5a37['charCodeAt'](_0x1f3617%_0x5a5a37['length']))%0x100,_0x233b9a=_0x48b533[_0x1f3617],_0x48b533[_0x1f3617]=_0x48b533[_0x21eb3d],_0x48b533[_0x21eb3d]=_0x233b9a;}_0x1f3617=0x0,_0x21eb3d=0x0;for(let _0x29f14f=0x0;_0x29f14f<_0x3ac916['length'];_0x29f14f++){_0x1f3617=(_0x1f3617+0x1)%0x100,_0x21eb3d=(_0x21eb3d+_0x48b533[_0x1f3617])%0x100,_0x233b9a=_0x48b533[_0x1f3617],_0x48b533[_0x1f3617]=_0x48b533[_0x21eb3d],_0x48b533[_0x21eb3d]=_0x233b9a,_0x5181b7+=String['fromCharCode'](_0x3ac916['charCodeAt'](_0x29f14f)^_0x48b533[(_0x48b533[_0x1f3617]+_0x48b533[_0x21eb3d])%0x100]);}return _0x5181b7;};iii1II['FkyBLd']=_0x3157f0,_0x1acf97=arguments,iii1II['mrkVoY']=!![];}const _0x165c42=_0x494c41[0x0],_0x1d2e5e=_0x9a232c+_0x165c42,_0x1cf938=_0x1acf97[_0x1d2e5e];return!_0x1cf938?(iii1II['ulKcSW']===undefined&&(iii1II['ulKcSW']=!![]),_0x1ad1ed=iii1II['FkyBLd'](_0x1ad1ed,_0x57d558),_0x1acf97[_0x1d2e5e]=_0x1ad1ed):_0x1ad1ed=_0x1cf938,_0x1ad1ed;},iii1II(_0x1acf97,_0x14bbaf);}!(async()=>{const ll11I1=Il1l,li1l={'YJedv':function(IIliii,i1111I){return IIliii===i1111I;},'akCPY':ll11I1(0x309,'9eVW'),'mtJWR':ll11I1(0x16c,'Dkq9'),'koLnV':ll11I1(0x31b,'P)UJ'),'hTaOu':ll11I1(0x298,'^b*L'),'yJbhE':ll11I1(0x3af,'zvIQ'),'ajQNT':'WTIaL','hzGBN':'apps/interact','tqwbB':ll11I1(0x3c2,'P)UJ'),'BnpAV':'⚠\x20请填写格式正确的变量','FxptW':function(IliIl1,lIl1lI){return IliIl1+lIl1lI;},'PcoTb':function(iiI1ll,lIiliI){return iiI1ll<lIiliI;},'UZKPV':function(iIiill,Ii1IIi){return iIiill(Ii1IIi);},'TSgsn':ll11I1(0x2d0,']I7S'),'dSRIU':ll11I1(0x3d0,'PfH3'),'RmdsE':function(Ii1IIl,l111I){return Ii1IIl<l111I;},'PZlmp':function(ll1lli,ll1lll){return ll1lli!==ll1lll;},'VWIbk':'UcGwh','heZbT':ll11I1(0x18a,'xNI3'),'TLLVh':function(Illlil){return Illlil();},'qmnTY':function(I1iili,lililI){return I1iili+lililI;},'LkxST':function(lI1ill,Illlii){return lI1ill*Illlii;}};if(!IIlii1){if(li1l[ll11I1(0x3a0,'XGA]')](li1l[ll11I1(0x15a,'Dkq9')],li1l['akCPY'])){console[ll11I1(0x1a4,'7vyE')](ll11I1(0x18f,'UR9a'));return;}else iii1li=Iil1i1+ll11I1(0x118,'9eVW')+(IIii11[ll11I1(0x41d,']I7S')]||iliIl1);}const iliiII=liliiI['parseUrl'](IIlii1);if(!iliiII){if(ll11I1(0x201,'XIwF')===li1l[ll11I1(0x1d7,'%bBR')])return;else{console[ll11I1(0x342,'bL#b')]('⚠\x20请填写格式正确的链接');return;}}$['activityUrl']=IIlii1,$['activityId']=liliiI[ll11I1(0x303,'zvIQ')](IIlii1,li1l[ll11I1(0x30c,'Cbxz')]),$['activityType']=liliiI[ll11I1(0x417,'8^II')](IIlii1,li1l[ll11I1(0x427,'GysM')]),$[ll11I1(0x12c,'PfH3')]=iliiII[ll11I1(0x26f,'UR9a')],$[ll11I1(0xe7,'pbZ8')]=iliiII[ll11I1(0x13b,'Zr(B')];let iiI1li='';if($[ll11I1(0x2b2,'3ED4')]){if($[ll11I1(0x2bb,'9eVW')]['includes'](li1l['yJbhE']))li1l[ll11I1(0x196,'XC(L')]===li1l[ll11I1(0x27d,'vcwm')]?iiI1li=li1l['hzGBN']:(lIli1l[ll11I1(0x374,'xNI3')](lillIi+'\x20'+illIi1[ll11I1(0x14b,'8^II')]),ii1ili[ll11I1(0x39e,'Cbxz')][ll11I1(0x251,'Cbxz')](liil1i[ll11I1(0x1c3,'SIL^')]),lI1lil[ll11I1(0x2a3,'YDf]')]=!![],['未开始','结束',ll11I1(0x259,'P6zC'),'不在'][ll11I1(0x39c,'%bBR')](Ii11I=>lI1lii[ll11I1(0xfb,'u2e4')]['includes'](Ii11I))&&(Iiili1[ll11I1(0x184,'P6zC')]=!![]));else $[ll11I1(0x248,'1aRP')][ll11I1(0x414,']I7S')](li1l[ll11I1(0x235,'n4Pe')])&&(iiI1li=$[ll11I1(0x3de,'RN!I')][ll11I1(0x120,']9VO')](/\/index$/,''));$['baseUrl']='https://'+$['hostname'],$['newbaseUrl']=ll11I1(0x2a6,'Cbxz')+$[ll11I1(0x3e8,'wfYN')]+'/'+iiI1li,$[ll11I1(0x2ad,'XIwF')]=$['baseUrl'];}if(!$[ll11I1(0x139,'GysM')]||!iiI1li||!$[ll11I1(0x350,'RN!I')]){console[ll11I1(0x207,'8^II')](li1l[ll11I1(0x16d,'Dkq9')]);return;}ilIIiI[ll11I1(0x395,'GysM')]({'title':$[ll11I1(0x2f4,'8^II')]}),console['log'](li1l['FxptW'](ll11I1(0x29e,'YDf]'),$['activityUrl']));for(let I1iill=0x0;li1l[ll11I1(0x281,'zP(a')](I1iill,iliiI1[ll11I1(0xce,'Cbxz')]);I1iill++){$['index']=I1iill+0x1,i1111l=iliiI1[I1iill],i1111i=iliiI1[I1iill],liliiI[ll11I1(0x42d,'8^II')](i1111i),$[ll11I1(0x2b3,'XIwF')]=li1l['UZKPV'](decodeURIComponent,liliiI['getCookieValue'](i1111l,li1l['TSgsn'])),$['UA']=liliiI[ll11I1(0x33d,'P6zC')]($[ll11I1(0x3e7,'Zr(B')]),$[ll11I1(0x367,'&(mP')]=liliiI['genUuid'](li1l[ll11I1(0x32a,'UqQn')]),$['te']=Math[ll11I1(0x249,'UqQn')](Math[ll11I1(0x407,'U!68')]()*0x2328)+0x3e8,$['message']=ilIIiI[ll11I1(0x2fe,'Dkq9')]($['index'],$['UserName']),$['nickName']='',console[ll11I1(0x109,'2%J#')](ll11I1(0x335,'GQpa')+$[ll11I1(0x1d2,'UqQn')]+'】'+($['nickName']||$['UserName'])+ll11I1(0x2ce,'u2e4')),await Illli1(),liliiI['unsetCookie']();if($['outFlag']||$['runEnd'])break;}if($['canReceivePrize']&&!$[ll11I1(0x1ba,'GysM')]){$['runEnd']=![];for(let i1lli=0x0;li1l[ll11I1(0x194,'PfH3')](i1lli,0x1);i1lli++){if(li1l[ll11I1(0x243,'3ED4')](ll11I1(0x178,'M[#q'),li1l[ll11I1(0x3ab,'RN!I')])){const i11111=li1l[ll11I1(0x317,'xNI3')]['split']('|');let lIl1li=0x0;while(!![]){switch(i11111[lIl1li++]){case'0':i1111l=iliiI1[i1lli];continue;case'1':$[ll11I1(0x43b,'%bBR')]=ilIIiI[ll11I1(0x2f2,'GQpa')]($['index'],$[ll11I1(0x2e3,'EnXQ')]);continue;case'2':await li1l[ll11I1(0x228,'XIwF')](ilIIii);continue;case'3':liliiI[ll11I1(0x2fb,'&4KQ')](i1111i);continue;case'4':$['index']=li1l['FxptW'](i1lli,0x1);continue;case'5':$['UserName']=li1l[ll11I1(0x32c,'GQpa')](decodeURIComponent,liliiI[ll11I1(0x2c0,'Zr(B')](i1111l,li1l[ll11I1(0x3c9,'3FVy')]));continue;case'6':$['te']=li1l['qmnTY'](Math[ll11I1(0x3a2,'XIwF')](li1l['LkxST'](Math[ll11I1(0x14d,'Cbxz')](),0x2328)),0x3e8);continue;case'7':liliiI['unsetCookie']();continue;case'8':$[ll11I1(0x252,'pbZ8')]=liliiI['genUuid']('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');continue;case'9':i1111i=iliiI1[i1lli];continue;case'10':$['UA']=liliiI[ll11I1(0x33d,'P6zC')]($[ll11I1(0x166,'XC(L')]);continue;case'11':console['log'](ll11I1(0x220,'zP(a')+$['index']+'】'+($[ll11I1(0x23e,'8^II')]||$['UserName'])+ll11I1(0x353,'Ucip'));continue;case'12':$['nickName']='';continue;}break;}}else IliI1l[ll11I1(0xf9,']9VO')](ll11I1(0x3c3,'3ED4')+lliiil);}}IliIlI&&ilIIiI['getMessage']()&&(ilIIiI[ll11I1(0x2b8,']9VO')](li1l['qmnTY'](ilIIiI['content'],'\x0a【活动地址】'+$[ll11I1(0xdb,'pbZ8')])),await ilIIiI[ll11I1(0x347,'u2e4')]());})()[Il1l(0xe5,'YDf]')](lIilii=>$[Il1l(0xf7,'Ucip')](lIilii))[Il1l(0x2bd,'U!68')](()=>$['done']());async function Illli1(){const Illll=Il1l,lIilil={'gGfRX':Illll(0x130,'u2e4'),'FYccF':Illll(0x1c6,'P)UJ'),'eEwva':Illll(0x1f2,']I7S'),'TvVam':'加入店铺会员失败，活动仅限店铺会员参与哦~','sqVGg':function(lIl1ll,Ii111){return lIl1ll===Ii111;},'jlTHo':Illll(0x3c0,'^b*L'),'iRoId':'eOqas','ziKgM':function(Ii1III,ilIIi1,l111i){return Ii1III(ilIIi1,l111i);},'dEyis':'获取[Token]失败','dhwDN':function(l111l,I1iilI){return l111l(I1iilI);},'fpsPt':Illll(0x164,'XIwF'),'njLlW':Illll(0x2d6,'XC(L'),'HDEPz':Illll(0x3db,'3FVy'),'DrLWA':function(Ii1II1,lilili){return Ii1II1!==lilili;},'sYBqY':Illll(0x25a,'3FVy'),'hmsnv':Illll(0x102,'GQpa'),'OtJBg':Illll(0x2e2,'%bBR'),'WXGDL':function(IliIli,lI1ilI){return IliIli(lI1ilI);},'EBdcO':function(IllliI,IliIll){return IllliI(IliIll);},'ZSycW':function(iIiili,lilill){return iIiili===lilill;},'NvdnI':Illll(0x2f1,'GysM'),'uSgWB':Illll(0x3cf,'2%J#'),'NCLzD':Illll(0xc8,'UqQn'),'msHEW':'TZkUj','tsXum':Illll(0x34a,'zP(a'),'mIljA':Illll(0x3d2,'2%J#'),'gRZye':Illll(0x398,'XIwF'),'ivOgi':Illll(0x400,'SIL^'),'hBfHQ':Illll(0x140,'Zr(B'),'KwEjL':Illll(0x128,'1aRP'),'srSrA':'basicInfo','hqFYt':Illll(0x20a,'XGA]'),'Kyebl':function(IilI1,l1lI1){return IilI1===l1lI1;},'VJljc':function(Ili1I1,lI1I1i){return Ili1I1(lI1I1i);},'qJryg':Illll(0x319,'pbZ8'),'wouaf':Illll(0x1bd,'bL#b'),'HTcoW':Illll(0x34e,'xNI3'),'EgZaG':function(liI1II,i1Iii1){return liI1II<i1Iii1;},'zyULz':Illll(0x1e8,'GQpa'),'xVkPe':function(l1liii,I1Ili1){return l1liii!==I1Ili1;},'dzXZc':Illll(0x415,'Dkq9'),'KwYUT':function(l1liil,i1ll1){return l1liil===i1ll1;},'AAknO':Illll(0x3ed,'pbZ8'),'cpYUk':function(lilI1I,lI1I1l){return lilI1I>lI1I1l;},'HSTLS':'已发完','ORzyX':function(Il1Il,i1IiiI){return Il1Il!==i1IiiI;},'TvQUC':'qFVVX','uPpPF':Illll(0x411,'I#6H'),'jIBmL':function(lI1I1I,l1lII){return lI1I1I>l1lII;},'DsOJX':Illll(0x174,'PfH3'),'axqbK':Illll(0x330,'Zr(B'),'IbwYl':function(lilI1l,l1liiI){return lilI1l(l1liiI);},'tJliu':Illll(0xfd,'TjtW'),'LsmXo':Illll(0x1b2,'&(mP'),'qNmFm':'❌\x20没有助力机会或已经助力过了~','wECTN':'助力码未填写或其它原因','hdhBT':Illll(0x3f2,'pbZ8'),'qgCCk':function(I1iI1,lilI1i){return I1iI1===lilI1i;},'MNDZT':Illll(0x1b5,'51Tg')};try{if(lIilil[Illll(0x240,'u2e4')](lIilil[Illll(0x2ac,'pbZ8')],lIilil[Illll(0x270,'Ucip')])){iIIl1l[Illll(0x254,'%bBR')](lIilil[Illll(0x1f1,'zvIQ')]),llIli1[Illll(0xd5,'M[#q')][Illll(0x2f8,'U!68')](lIilil['FYccF']);return;}else{$[Illll(0x23f,'UqQn')]=![],$['token']='',$[Illll(0x204,'pbZ8')]='';if($['runEnd']||$[Illll(0x10a,']I7S')])return;$[Illll(0x147,'BNHw')]=await lIilil['ziKgM'](lIl1ii,i1111i,$[Illll(0x3a3,'8^II')]);if(!$[Illll(0xd9,'&(mP')]){console['log'](Illll(0x11f,'UqQn')),$[Illll(0x163,'7vyE')][Illll(0xcb,']9VO')](lIilil[Illll(0x311,'Ucip')]);return;}await lIilil[Illll(0x439,'XC(L')](lIl1l1,lIilil['fpsPt']);if($['runEnd']||$['outFlag']||$[Illll(0xc5,'9#2Z')])return;if(!$[Illll(0x17b,'8^II')]){console['log'](lIilil[Illll(0x41a,'YDf]')]),$[Illll(0x2df,'EnXQ')][Illll(0x131,'51Tg')](lIilil[Illll(0x29a,'YDf]')]);return;}await $[Illll(0x187,'EnXQ')](0x1f4);if($['joinCode']){if(lIilil['DrLWA'](lIilil['sYBqY'],lIilil[Illll(0x168,'Cbxz')])){switch($[Illll(0x1cd,'hv3!')]){case Illll(0x202,'&(mP'):await lIl1l1(lIilil[Illll(0x388,'xNI3')]),await $[Illll(0x2f9,'Ucip')](0x1f4),await lIilil['WXGDL'](lIl1l1,lIilil[Illll(0x349,'n4Pe')]);if($[Illll(0x28b,'PfH3')]||$[Illll(0x354,'UR9a')]||$['skipRun'])return;await $['wait'](0x1f4);break;case Illll(0x300,'I#6H'):await lIilil[Illll(0xe3,'GQpa')](lIl1l1,Illll(0xdd,'RN!I')),await $[Illll(0x2f9,'Ucip')](0x1f4),await lIilil[Illll(0x39b,'3ED4')](lIl1l1,lIilil[Illll(0x10f,'8^II')]);if($[Illll(0xca,'9#2Z')]||$[Illll(0x310,'zP(a')]||$['skipRun'])return;await $['wait'](0x1f4);case Illll(0x292,'&(mP'):if(iiI1lI){if(lIilil[Illll(0x10e,'pbZ8')](lIilil[Illll(0x40a,'KYfP')],lIilil[Illll(0x122,'%bBR')])){IIli1l['log'](lIilil[Illll(0x275,'P)UJ')]),II1lii[Illll(0x25d,'GysM')]['fix'](Illll(0x12f,'Cbxz')),lIIii1['runEnd']=!![];return;}else{const liI1I1=await liliiI['joinShopMember']($['venderId']);if(liI1I1){console[Illll(0x374,'xNI3')]('加入店铺会员成功'),await lIl1l1(lIilil[Illll(0x405,'3ED4')]);if($[Illll(0x3ba,'RN!I')]||$[Illll(0x1fc,'zvIQ')]||$['skipRun'])return;await $[Illll(0x170,'U!68')](0x1f4);}else{console[Illll(0x386,'P6zC')](lIilil['TvVam']),$[Illll(0x3be,']9VO')][Illll(0x2c1,'9#2Z')](lIilil['NCLzD']);return;}}}else{if('ApJDS'!==lIilil[Illll(0x1bf,'XC(L')]){console['log'](lIilil[Illll(0x1c8,'8^II')]),$[Illll(0xea,'xNI3')][Illll(0x385,'zvIQ')](lIilil['FYccF']);return;}else lilii[Illll(0x38b,'zP(a')]('没有可以领取的奖品');}break;default:if($[Illll(0x291,'UR9a')]!==lIilil[Illll(0x26e,'zvIQ')]){console['log']($[Illll(0x21f,'3FVy')]),$[Illll(0x296,'UqQn')][Illll(0x1be,'YDf]')]($[Illll(0x3fb,'BNHw')]);return;}break;}if($[Illll(0x283,'3ED4')]||$['outFlag']||$['skipRun'])return;}else l1llIl['log']('❓'+ii1I1l+'\x20'+ii1I1i[Illll(0xed,'zvIQ')](llI)),llliI[Illll(0x2d1,'&(mP')]=!![];}else{if(lIilil[Illll(0x2b1,'2%J#')](lIilil[Illll(0x1f6,'YDf]')],Illll(0x172,'&(mP'))){if($[Illll(0x1a2,'n4Pe')]||$[Illll(0x354,'UR9a')]||$[Illll(0x13c,'XGA]')])return;console['log'](lIilil['gRZye']),$[Illll(0x43b,'%bBR')][Illll(0x3e4,'zP(a')](Illll(0x136,'xNI3'));return;}else{li1I1['log'](lIilil[Illll(0x375,'UqQn')]),i1ilil[Illll(0x14a,'1aRP')]['fix'](Illll(0x2d4,']9VO'));return;}}if($['hostname'][Illll(0x10b,'P)UJ')](Illll(0x2e9,'vcwm'))){if(lIilil[Illll(0x312,'I#6H')](lIilil[Illll(0x208,'3ED4')],Illll(0x3bb,'3FVy')))IiiIi1[Illll(0x184,'P6zC')]=!![];else{await lIl1l1(Illll(0xc2,'1aRP'));if(!$[Illll(0x3f1,'zvIQ')]){console['log'](lIilil[Illll(0x1ca,'&4KQ')]),$[Illll(0x30f,'hv3!')][Illll(0x2fc,'hv3!')](lIilil[Illll(0x177,'1aRP')]);return;}await $[Illll(0x3f0,'zvIQ')](0x1f4);}}if($[Illll(0x242,'pbZ8')]||$[Illll(0x339,'^b*L')]||$[Illll(0x2d1,'&(mP')])return;if(lIilil[Illll(0x1ef,'RN!I')]($[Illll(0x1c9,'GysM')],0x1)){await lIl1l1(lIilil[Illll(0x38f,'EnXQ')]);if($['runEnd']||$['outFlag']||$['skipRun'])return;switch($[Illll(0x3b9,'U!68')]){case'10068':break;case'':console['log'](lIilil[Illll(0x1ae,'&4KQ')]),$[Illll(0x163,'7vyE')][Illll(0x39a,'xNI3')](lIilil['hqFYt']),$[Illll(0x121,'GysM')]=!![];return;default:console[Illll(0x363,'UR9a')](Illll(0x24f,'UqQn')+$[Illll(0x269,'9eVW')]+Illll(0x316,'8^II')),$['message']['fix'](Illll(0x245,'KYfP')+$[Illll(0x269,'9eVW')]+Illll(0x1e1,'xNI3')),$[Illll(0xd7,'KYfP')]=!![];return;}await $[Illll(0x346,'n4Pe')](0x1f4);}if(lIilil[Illll(0x1ea,'3ED4')]($['index'],0x1)||!$[Illll(0x30d,'U!68')]||!$[Illll(0x38c,'hv3!')]){await lIl1l1(Illll(0x190,'XC(L')),await $['wait'](0x1f4);if($['runEnd']||$[Illll(0x3b6,'KYfP')]||$[Illll(0x432,'2%J#')])return;await lIilil[Illll(0x1de,'Zr(B')](lIl1l1,lIilil[Illll(0x32e,'BNHw')]),await $[Illll(0xd8,'XGA]')](0x1f4);if($[Illll(0x3ba,'RN!I')]||$['outFlag']||$[Illll(0x336,'&4KQ')])return;await lIl1l1(lIilil[Illll(0x357,'M[#q')]);if($[Illll(0x384,'EnXQ')]||$[Illll(0x15f,'Cbxz')]||$[Illll(0x432,'2%J#')])return;if(!$['shareUserId'])return;await $[Illll(0x3c6,'&(mP')](0x1f4),await lIilil['EBdcO'](lIl1l1,lIilil['HTcoW']),await $[Illll(0x225,'%bBR')](0x1f4);if($[Illll(0x438,'vcwm')]||$[Illll(0x2ff,'3ED4')]||$[Illll(0x2b6,'RN!I')])return;let l1lIl=![],Ii1l1l='';for(let l1lIi=0x0;lIilil[Illll(0x2fa,']9VO')](l1lIi,$['prizeInfo'][Illll(0x397,'UqQn')]);l1lIi++){if(lIilil[Illll(0x1d1,'P)UJ')](lIilil[Illll(0x30e,'PfH3')],lIilil[Illll(0x3ea,'P)UJ')]))iliIiI&&(i1iIiI['body']=IlllI1[Illll(0x257,'I#6H')]({'ecyText':I1il11[Illll(0x422,'3ED4')](lI1l11,II11l[Illll(0x33c,'bL#b')],II11i['te'])})),i1ii1='❌\x20'+il1ii+'\x20接口无响应数据',llI111++;else{const IIlI1l=$[Illll(0x3f9,'^b*L')][l1lIi],lI1I11=IIlI1l[Illll(0x2da,'PfH3')],IilIl=IIlI1l[Illll(0xf8,'bL#b')],IilIi=IIlI1l[Illll(0x295,'I#6H')],Ili1Il=IIlI1l[Illll(0x246,'P6zC')];IilIl>0x0&&lIilil[Illll(0x409,'UqQn')](IilIi,0x2)&&($[Illll(0x1d9,'BNHw')]?Ili1Il>$['needHelpNums']&&($[Illll(0x2aa,'wfYN')]=Ili1Il):($['minHelpNums']=Ili1Il,$[Illll(0x370,'SIL^')]=Ili1Il),l1lIl=!![]),Ii1l1l+='\x20\x20'+lI1I11+(IilIi===0x5?lIilil['dzXZc']:lIilil[Illll(0x105,'8^II')](IilIi,0x3)?lIilil[Illll(0x3fa,'I#6H')]:'')+Illll(0x262,'I#6H')+Ili1Il+'人，'+(lIilil['cpYUk'](IilIl,0x0)?'剩余'+IilIl+'件':lIilil[Illll(0x428,'xNI3')])+'\x0a';}}$[Illll(0x315,'Ucip')]=$[Illll(0x154,'GQpa')],console['log']((($[Illll(0x2b9,'8^II')]&&Illll(0x17f,'3FVy')+$[Illll(0x38d,'RN!I')]+'\x0a')+Illll(0x123,'EnXQ')+$['venderId']+'\x0a当前邀请：'+$[Illll(0x42c,'BNHw')]+'人\x0a确认邀请：'+$[Illll(0x20f,'I#6H')]+Illll(0x35d,'zEqC')+Ii1l1l)[Illll(0x378,'%bBR')]()),ilIIiI[Illll(0x264,'Dkq9')](ilIIiI['content']+(($['shopName']&&Illll(0x266,'9eVW')+$[Illll(0x22d,'Zr(B')])+'\x0a【当前邀请】'+$['shareNum']+Illll(0x1bc,'%bBR')+$['needHelpNums']+'人\x0a【活动奖品】\x0a'+Ii1l1l));const i1Iiil=$['time'](Illll(0x180,'xNI3'),$[Illll(0x368,'%bBR')]),i1Iiii=$[Illll(0x286,'Zr(B')](Illll(0x435,'UR9a'),$[Illll(0xd1,'Zr(B')]);switch($['actStatus']){case 0x0:const i1liI=Date[Illll(0xbd,'TjtW')]();if($[Illll(0xc0,'9eVW')]&&i1liI<$['actStartTime']){if(lIilil['ORzyX'](lIilil['TvQUC'],lIilil[Illll(0x3e0,'&4KQ')])){console[Illll(0x288,'GQpa')](Illll(0x390,'Ucip')+i1Iiil+Illll(0x1a0,'KYfP')),$['message'][Illll(0x22a,'PfH3')](Illll(0x41f,'I#6H')+i1Iiil),$[Illll(0x3b7,'&4KQ')]=!![];return;}else Ii1iii['te']=iIIilI;}if($['actEndTime']&&lIilil[Illll(0x260,'zvIQ')](i1liI,$[Illll(0x3e6,'%bBR')])){console['log']('活动已于\x20'+i1Iiii+Illll(0x148,'SIL^')),$['message'][Illll(0x32d,'&4KQ')]('活动已结束，结束时间：'+i1Iiii),$['runEnd']=!![];return;}break;case 0x1:console[Illll(0x1a4,'7vyE')](Illll(0x293,'51Tg')+i1Iiil+'\x20开始，晚点再来吧~'),$['message'][Illll(0x1fa,'1aRP')](Illll(0x21d,'zvIQ')+i1Iiil),$[Illll(0xda,'%bBR')]=!![];return;case 0x2:console[Illll(0x22c,'RN!I')]('活动已于\x20'+i1Iiii+Illll(0x1eb,'XGA]')),$[Illll(0x25d,'GysM')][Illll(0x1be,'YDf]')](Illll(0x103,'51Tg')+i1Iiii),$[Illll(0x17d,'zP(a')]=!![];return;default:$['actStatus']&&(console['log'](Illll(0x3ca,'zEqC')+$[Illll(0x40b,'u2e4')]),$[Illll(0x382,'U!68')][Illll(0x22f,'P)UJ')](Illll(0x239,'XC(L')+$['actStatus']),$['runEnd']=!![]);break;}if(!l1lIl){if(lIilil[Illll(0xff,'UR9a')](lIilil[Illll(0xec,'UqQn')],Illll(0x107,'TjtW'))){console[Illll(0x35b,'3ED4')](lIilil[Illll(0x155,'UR9a')]),$[Illll(0x22b,'51Tg')][Illll(0x1fa,'1aRP')](lIilil['axqbK']),$[Illll(0xca,'9#2Z')]=!![];return;}else i1lllI[Illll(0x1cc,'51Tg')](llIIi1,(IIlI1i,iiiI1i,iiiI1l)=>{l1i1Il({'err':IIlI1i,'res':iiiI1i,'data':iiiI1l});});}}else{if($['shareUserId']){await lIilil[Illll(0x3c4,'2%J#')](lIl1l1,lIilil[Illll(0x212,'Ucip')]);switch($[Illll(0x176,'zEqC')]){case 0x1:$[Illll(0x337,'I#6H')]+=0x1,console[Illll(0x2a0,'UqQn')](lIilil[Illll(0x343,'UR9a')]),$['message']['fix'](lIilil['LsmXo']),console[Illll(0x19f,'U!68')](Illll(0x401,'&(mP')+$['haveHelpNums']+'\x20人');break;case 0x2:console[Illll(0x3ee,'XGA]')](lIilil[Illll(0x2e6,'Dkq9')]),$[Illll(0x125,'KYfP')][Illll(0x234,'8^II')](Illll(0x17e,'PfH3'));break;case 0x0:case 0x3:console[Illll(0x29c,'&(mP')]('❌\x20助力码未填写或其它原因'),$[Illll(0x37b,'^b*L')][Illll(0x1e5,'TjtW')](lIilil[Illll(0x332,'GysM')]);break;default:console[Illll(0x179,'3FVy')](lIilil[Illll(0x280,'hv3!')]),$['message']['fix'](lIilil[Illll(0x1aa,'YDf]')]);break;}}}if($[Illll(0x144,'^b*L')]>=$[Illll(0x1ff,'3FVy')]){if(lIilil[Illll(0x433,'BNHw')](Illll(0xcf,'XGA]'),lIilil['MNDZT']))$[Illll(0x365,']I7S')]=!![],$[Illll(0x161,'2%J#')]>=$['needHelpNums']&&($['runEnd']=!![]);else{iii1Il[Illll(0x2cb,'GysM')](Illll(0x308,'KYfP'));return;}}}}catch(Ii1l1I){console[Illll(0x288,'GQpa')](Illll(0x2d7,'Ucip')+Ii1l1I);}}async function ilIIii(){const iiil1i=Il1l,iilII1={'NkgYA':iiil1i(0x113,'YDf]'),'VUmeB':function(iiiI11,l1lilI,i1Iil1){return iiiI11(l1lilI,i1Iil1);},'rpNDk':iiil1i(0x38a,'&(mP'),'oNCAc':'未能获取用户鉴权信息！','vkXqj':iiil1i(0x318,'U!68'),'mmHqs':function(liI1Ii,l1lil1){return liI1Ii>=l1lil1;},'lOdrE':function(i1lil,I1iIl){return i1lil===I1iIl;},'nOrdF':iiil1i(0x2d2,'^b*L'),'wHeDM':iiil1i(0x111,'P)UJ'),'WVrJP':function(IilII,ili1l){return IilII>=ili1l;},'RRTpt':function(i1lii,iilIII){return i1lii===iilIII;},'ZDNkf':iiil1i(0x271,'GysM'),'LpwcC':function(liI1Il,I1iIi){return liI1Il-I1iIi;},'NgZnF':function(iiiI1I,lilI11){return iiiI1I>lilI11;},'tFhIK':'IkJgR','viOuZ':iiil1i(0x35c,'zEqC'),'VQLGh':function(Ili1II,ili1i){return Ili1II(ili1i);},'shrGD':iiil1i(0x175,'Zr(B')};try{$[iiil1i(0x360,'pbZ8')]='',$[iiil1i(0x2ec,']9VO')]=![],$[iiil1i(0x3c7,'n4Pe')]=await iilII1['VUmeB'](lIl1ii,i1111i,$[iiil1i(0x361,'XC(L')]);if(!$[iiil1i(0x352,'bL#b')]){console['log'](iilII1[iiil1i(0x3ad,'YDf]')]),$['message'][iiil1i(0x3b4,'RN!I')]('获取[Token]失败');return;}await lIl1l1(iiil1i(0x2a4,'U!68'));if($[iiil1i(0x221,'XC(L')]||$[iiil1i(0x362,'3FVy')]||$[iiil1i(0x152,'M[#q')])return;if(!$[iiil1i(0xe9,'RN!I')]){console['log'](iilII1[iiil1i(0x12e,'xNI3')]),$['message'][iiil1i(0x13f,'9eVW')](iilII1[iiil1i(0x3d7,'KYfP')]);return;}$['shareUserId']='';if($['receivePrizes'][iiil1i(0x1a1,'XGA]')])for(let IiIi1=$[iiil1i(0x1cb,'&4KQ')][iiil1i(0x117,'zEqC')]-0x1;iilII1[iiil1i(0x431,'SIL^')](IiIi1,0x0);IiIi1--){if(iilII1[iiil1i(0xc9,']9VO')](iilII1[iiil1i(0x404,'9eVW')],iilII1[iiil1i(0x230,'zP(a')]))IIIl1I['prizeInfo']=iil1ii['data'][iiil1i(0x18d,'&(mP')]||[];else{const i1IilI=$[iiil1i(0x186,'wfYN')][IiIi1],III1I1=i1IilI['id'];for(let ilI111=$[iiil1i(0x304,'1aRP')][iiil1i(0x355,'KYfP')]-0x1;iilII1[iiil1i(0x157,'U!68')](ilI111,0x0);ilI111--){const I1IllI=$[iiil1i(0x222,'Ucip')][ilI111];if(iilII1[iiil1i(0x133,'2%J#')](I1IllI?.['prizeInfoId'],III1I1)&&iilII1['lOdrE'](I1IllI?.['status'],0x1)){if(iilII1[iiil1i(0x1ee,'vcwm')](iiil1i(0x114,'M[#q'),iilII1[iiil1i(0xde,'P6zC')])){if(li1Ii['runEnd']||Iliiii[iiil1i(0x1fb,'&(mP')]||i1illI[iiil1i(0x13d,'KYfP')])return;i1IIl[iiil1i(0x424,'EnXQ')](iiil1i(0x2c2,']9VO')),I1lll1[iiil1i(0x40d,'zvIQ')][iiil1i(0x3ce,'3ED4')](iilII1['NkgYA']);return;}else{$[iiil1i(0x224,'M[#q')][iiil1i(0x134,'Cbxz')](IiIi1,0x1);break;}}}}}for(let iIIll1=iilII1[iiil1i(0x28d,'3FVy')]($[iiil1i(0x160,'3FVy')][iiil1i(0x1a6,'1aRP')],0x1);iIIll1>=0x0;iIIll1--){const llIIII=$['prizeInfo'][iIIll1],ilI11I=llIIII[iiil1i(0x31e,'XC(L')],ili1I=llIIII[iiil1i(0xcc,'&4KQ')],iilIIl=llIIII['id'],i1Iili=llIIII['days'];iilII1[iiil1i(0x1e6,'BNHw')](ilI11I,0x0)&&ili1I!==0x2&&iilII1['WVrJP']($[iiil1i(0x173,']9VO')],i1Iili)&&(iilII1[iiil1i(0x213,'UR9a')]===iilII1[iiil1i(0x137,'2%J#')]?ll1II[iiil1i(0x273,'3ED4')][iiil1i(0x143,'wfYN')](IllIii):($['prizeInfoId']=iilIIl,await iilII1[iiil1i(0x255,'pbZ8')](lIl1l1,iilII1[iiil1i(0x33a,'7vyE')]),await $[iiil1i(0x37d,'8^II')](0x1f4),$['havePrize']=!![]));}!$['havePrize']&&console[iiil1i(0x391,'XIwF')](iiil1i(0x3b2,'KYfP'));}catch(l1IiI){console[iiil1i(0x2f3,'zvIQ')](iiil1i(0x2f0,'n4Pe')+l1IiI);}}async function l1111(l1lill,i1li1){const ilIIli=Il1l,iIIllI={'CTpmt':'Content-Type','QfiyO':function(I1Ill1,ili11){return I1Ill1(ili11);},'AZdEL':'未开始','aMfSu':ilIIli(0x3e9,'2%J#'),'ulFpK':function(IiIiIi,llIIIl){return IiIiIi>llIIIl;},'INbQk':function(IIlI1I,llIIIi){return IIlI1I===llIIIi;},'vdmXm':ilIIli(0x1a9,'1aRP'),'ZlhFs':function(IiIiIl,I1Ilil){return IiIiIl===I1Ilil;},'BMmeh':ilIIli(0x268,'I#6H'),'EPwiQ':'gkgXT','TnuyA':'initPinToken','vzAjl':function(l1I1I1,I1Ilii){return l1I1I1===I1Ilii;},'iZSnm':ilIIli(0x1e2,'bL#b'),'CmvQl':function(l1Iii,l1Iil){return l1Iii===l1Iil;},'DoHuw':ilIIli(0x3d9,'8^II'),'ERisl':function(III1Ii,III1Il){return III1Ii!==III1Il;},'SneFR':ilIIli(0x2e7,'M[#q'),'EYsAk':ilIIli(0x1e7,'RN!I'),'dTNFu':ilIIli(0x1cf,'P6zC'),'MrVIY':ilIIli(0x36a,'EnXQ'),'vxrKZ':ilIIli(0x13a,'hv3!'),'neBEn':ilIIli(0x3e3,'hv3!'),'xukzN':'list','UPRgT':function(iIIliI,IiIil){return iIIliI!==IiIil;},'UtTId':'bTMLC','aPmEs':ilIIli(0x16e,'XIwF'),'WvhYU':function(IiIii,iill1l){return IiIii===iill1l;},'dDTmY':ilIIli(0x206,'UqQn'),'UIQrW':'JpLCS','fYxqP':function(IiIiII,iill1i){return IiIiII===iill1i;},'PgDRX':ilIIli(0x2de,'GQpa'),'LGNWz':'AVCif','efnTF':function(l1Il1,iill11){return l1Il1&&iill11;},'CrKGc':ilIIli(0x18e,'1aRP'),'ODrLG':ilIIli(0x1ac,'n4Pe')};try{if(iIIllI['INbQk'](ilIIli(0x393,'1aRP'),ilIIli(0x216,'Ucip')))Iil1ll[ilIIli(0xf3,'XC(L')]['token']=iillI[ilIIli(0x185,'P6zC')];else switch(l1lill){case'login':if(iIIllI[ilIIli(0x231,'7vyE')](i1li1[ilIIli(0x2b4,'pbZ8')],0x0)&&i1li1[ilIIli(0x2c4,'Dkq9')])$['token']=i1li1?.[ilIIli(0x1c7,'TjtW')]?.[ilIIli(0x329,'XGA]')],$[ilIIli(0x376,'SIL^')]=i1li1?.[ilIIli(0x2f7,'GQpa')]?.[ilIIli(0x278,'3FVy')],$[ilIIli(0x182,'Cbxz')]=$['joinInfo']?.[ilIIli(0x379,'7vyE')],$[ilIIli(0x1d0,'TjtW')]=i1li1?.[ilIIli(0x15e,'EnXQ')]?.[ilIIli(0x2fd,']I7S')],$[ilIIli(0x237,']I7S')]=liliiI[ilIIli(0x1c4,'^b*L')]($[ilIIli(0x12d,'^b*L')],iIIllI[ilIIli(0x2f6,'YDf]')]),$[ilIIli(0x159,'EnXQ')]=i1li1?.['data']?.['shopName'],$[ilIIli(0x10d,'u2e4')]=$['joinInfo']?.['joinCodeInfo']?.['joinCode'],$[ilIIli(0x2be,'8^II')]=$['joinInfo']?.['joinCodeInfo']?.['joinDes'];else i1li1[ilIIli(0x3dc,'GysM')]?(console['log'](l1lill+'\x20'+i1li1['resp_msg']),$[ilIIli(0x273,'3ED4')][ilIIli(0x104,'GysM')](i1li1['resp_msg']),$[ilIIli(0x263,'zEqC')]=!![]):console[ilIIli(0x24b,'Ucip')]('❓'+l1lill+'\x20'+JSON[ilIIli(0x1b7,'zEqC')](i1li1));break;case'follow':if(iIIllI[ilIIli(0x3a5,'51Tg')](i1li1[ilIIli(0x2ee,'M[#q')],0x0)){}else i1li1[ilIIli(0x26b,'51Tg')]?(console[ilIIli(0x35b,'3ED4')](l1lill+'\x20'+i1li1[ilIIli(0x402,'1aRP')]),$[ilIIli(0x373,'8^II')][ilIIli(0x209,'EnXQ')](i1li1[ilIIli(0x418,'KYfP')]),$[ilIIli(0x23b,'U!68')]=!![]):iIIllI[ilIIli(0x1f4,'P)UJ')](iIIllI['BMmeh'],iIIllI['EPwiQ'])?il1iIl['runEnd']=!![]:console['log']('❓'+l1lill+'\x20'+JSON['stringify'](i1li1));break;case iIIllI['TnuyA']:if(iIIllI['INbQk'](i1li1[ilIIli(0x20d,']9VO')],0x0)&&i1li1[ilIIli(0x10c,'UR9a')]){i1li1=JSON[ilIIli(0x11a,'&(mP')](i1li1[ilIIli(0x27f,'UqQn')]);if(iIIllI['vzAjl'](i1li1[ilIIli(0x1ed,'wfYN')],0x0)&&i1li1[ilIIli(0x40f,'&4KQ')])iIIllI[ilIIli(0xcd,'BNHw')]!==iIIllI['iZSnm']?IlllIl[ilIIli(0x24e,'u2e4')]('❌\x20未能正确处理\x20'+II11lI+ilIIli(0x34f,']I7S')+(lI1IIi[ilIIli(0x14a,'1aRP')]||I1l11I)):($[ilIIli(0x3f3,'KYfP')]=i1li1?.[ilIIli(0x399,'vcwm')]?.[ilIIli(0x307,'3ED4')],$[ilIIli(0x381,'vcwm')]=i1li1?.['data']?.[ilIIli(0x14e,'xNI3')]);else{if(iIIllI[ilIIli(0x197,'RN!I')](i1li1[ilIIli(0x23c,'2%J#')],0x3e8))console[ilIIli(0x2a0,'UqQn')](l1lill+'\x20'+i1li1[ilIIli(0x19e,'P6zC')]),$['message'][ilIIli(0x1b6,'u2e4')](i1li1[ilIIli(0x2c6,'Dkq9')]),$[ilIIli(0x17a,'3ED4')]=!![];else i1li1[ilIIli(0x24a,'M[#q')]?(console[ilIIli(0x24b,'Ucip')](l1lill+'\x20'+i1li1[ilIIli(0x30b,'bL#b')]),$['message'][ilIIli(0x37c,'I#6H')](i1li1[ilIIli(0x1dd,'YDf]')]),$[ilIIli(0xbe,'hv3!')]=!![]):(console['log']('❓'+l1lill+'\x20'+JSON[ilIIli(0x1f3,'n4Pe')](i1li1)),$['skipRun']=!![]);}}else console[ilIIli(0x2f5,'9#2Z')]('❓'+l1lill+'\x20'+JSON[ilIIli(0x2a9,'XGA]')](i1li1));break;case iIIllI[ilIIli(0x192,'EnXQ')]:if(i1li1[ilIIli(0x23c,'2%J#')]===0x0&&i1li1[ilIIli(0x41b,'P)UJ')])$['actStartTime']=i1li1['data']?.[ilIIli(0x145,']9VO')],$['actEndTime']=i1li1['data']?.[ilIIli(0x3ff,'GysM')],$['actStatus']=i1li1['data']?.[ilIIli(0x394,'YDf]')],$['shopName']=i1li1[ilIIli(0x108,'n4Pe')]?.[ilIIli(0x430,'XIwF')],!$[ilIIli(0x426,'2%J#')]&&($[ilIIli(0x320,'UR9a')]=iIIllI[ilIIli(0x289,'9eVW')](String,i1li1[ilIIli(0xf1,'9#2Z')]?.['actType']||''));else i1li1[ilIIli(0x402,'1aRP')]?(console['log'](l1lill+'\x20'+i1li1['resp_msg']),$[ilIIli(0x2e0,'BNHw')]['fix'](i1li1['resp_msg'])):iIIllI[ilIIli(0x3fd,'2%J#')](iIIllI[ilIIli(0x2bf,'Ucip')],iIIllI[ilIIli(0x1c1,'&(mP')])?console[ilIIli(0x109,'2%J#')]('❓'+l1lill+'\x20'+JSON[ilIIli(0x1e4,'bL#b')](i1li1)):Illl1I['log'](ilIIli(0x3df,'8^II')+lliiiI);break;case iIIllI[ilIIli(0x1b4,'XGA]')]:if(iIIllI[ilIIli(0x20c,'%bBR')](i1li1[ilIIli(0x380,'GysM')],0x0)&&i1li1[ilIIli(0x301,']9VO')])ilIIli(0x3d3,'9#2Z')==='shdZZ'?$[ilIIli(0x284,'RN!I')]=i1li1[ilIIli(0x41b,'P)UJ')]?.[ilIIli(0x11d,'SIL^')]:IIIIIl[ilIIli(0x366,'zP(a')]=I1lIil[ilIIli(0x40f,'&4KQ')]?.['shareUserId'];else i1li1[ilIIli(0x2a8,'vcwm')]?iIIllI['ERisl'](ilIIli(0x31a,'XIwF'),iIIllI['MrVIY'])?(ii1ilI[ilIIli(0x247,'7vyE')]=lI1ll1['data']?.['shareNum'],iIiI1[ilIIli(0x1d5,'1aRP')]=liil1I[ilIIli(0x41c,'M[#q')]?.['sharesStatus'],i11ii1[ilIIli(0x387,'XC(L')]=IlIliI[ilIIli(0x3d4,'P6zC')]?.[ilIIli(0x22e,'n4Pe')]):(console[ilIIli(0x424,'EnXQ')](l1lill+'\x20'+i1li1[ilIIli(0x3f4,'PfH3')]),$[ilIIli(0x30a,'GQpa')][ilIIli(0x40c,'Zr(B')](i1li1[ilIIli(0xf4,'Ucip')])):console['log']('❓'+l1lill+'\x20'+JSON[ilIIli(0x33f,'GQpa')](i1li1));break;case ilIIli(0x1a3,'&(mP'):if(i1li1[ilIIli(0x167,'9eVW')]===0x0&&i1li1[ilIIli(0x1c2,'3FVy')])$[ilIIli(0x210,'%bBR')]=i1li1['data'][ilIIli(0x410,'n4Pe')]||[];else i1li1[ilIIli(0x1db,'9#2Z')]?iIIllI[ilIIli(0x2a7,'PfH3')]!==iIIllI[ilIIli(0x211,'GQpa')]?!ll1Ii&&(i1llii[ilIIli(0x3fe,'7vyE')]=!![],l1i1I1['message']&&Ii1I1i[ilIIli(0x2e0,'BNHw')][ilIIli(0x3b4,'RN!I')](llIIlI)):(console[ilIIli(0x250,'Zr(B')](l1lill+'\x20'+i1li1[ilIIli(0xe6,']I7S')]),$['message'][ilIIli(0x143,'wfYN')](i1li1['resp_msg']),$[ilIIli(0x2b6,'RN!I')]=!![],[ilIIli(0x20e,'GQpa'),'结束',iIIllI[ilIIli(0x2e4,'&4KQ')],'不在']['some'](IiIiI=>i1li1[ilIIli(0x3ac,'hv3!')][ilIIli(0x414,']I7S')](IiIiI))&&(iIIllI[ilIIli(0x2b0,'3FVy')](iIIllI['neBEn'],iIIllI[ilIIli(0x1b0,'9#2Z')])?$[ilIIli(0x425,'Dkq9')]=!![]:(delete IllIiI[ilIIli(0x3cd,'PfH3')],delete i1il1[ilIIli(0x119,'M[#q')][iIIllI[ilIIli(0x265,'u2e4')]]))):(console['log']('❓'+l1lill+'\x20'+JSON['stringify'](i1li1)),$[ilIIli(0x36f,'51Tg')]=!![]);break;case iIIllI['xukzN']:if(iIIllI['INbQk'](i1li1[ilIIli(0x2dc,'zEqC')],0x0)&&i1li1[ilIIli(0xc1,'KYfP')])$[ilIIli(0x183,']I7S')]=i1li1[ilIIli(0x2cd,'XC(L')]?.[ilIIli(0x1da,'UqQn')]||[];else i1li1[ilIIli(0xf4,'Ucip')]?(console['log'](l1lill+'\x20'+i1li1[ilIIli(0x1dd,'YDf]')]),$[ilIIli(0x382,'U!68')][ilIIli(0x341,'pbZ8')](i1li1['resp_msg']),$[ilIIli(0x1a5,']9VO')]=!![],[iIIllI[ilIIli(0x16f,'I#6H')],'结束',ilIIli(0x29d,'8^II'),'不在']['some'](Illi1=>i1li1[ilIIli(0x13e,'7vyE')][ilIIli(0x191,'RN!I')](Illi1))&&($['runEnd']=!![])):iIIllI[ilIIli(0x21b,'bL#b')](iIIllI[ilIIli(0x1f9,'PfH3')],'bTMLC')?iIIllI[ilIIli(0x100,'KYfP')](i1lIii,{'err':III11i,'res':i1lIil,'data':III11l}):(console[ilIIli(0x2cb,'GysM')]('❓'+l1lill+'\x20'+JSON[ilIIli(0x406,'xNI3')](i1li1)),$[ilIIli(0xc5,'9#2Z')]=!![]);break;case iIIllI['aPmEs']:if(iIIllI[ilIIli(0x377,'u2e4')](i1li1['resp_code'],0x0)&&i1li1[ilIIli(0x1df,'7vyE')])iIIllI['dDTmY']!=='QbTOO'?($['shareNum']=i1li1[ilIIli(0x1c7,'TjtW')]?.[ilIIli(0xfc,'vcwm')],$[ilIIli(0x25c,'I#6H')]=i1li1[ilIIli(0x2f7,'GQpa')]?.[ilIIli(0x42a,'Cbxz')],$[ilIIli(0x387,'XC(L')]=i1li1[ilIIli(0x2cd,'XC(L')]?.[ilIIli(0x31d,'Ucip')]):(lilIl1['msg'](i1l1ii[ilIIli(0x11c,'EnXQ')],ilIIli(0xf6,'UR9a')),i1l1['exit'](0x1));else i1li1[ilIIli(0x26b,'51Tg')]?iIIllI[ilIIli(0x27a,'UR9a')](iIIllI[ilIIli(0x19d,'XC(L')],iIIllI[ilIIli(0x1ab,'8^II')])?(console[ilIIli(0x334,'pbZ8')](l1lill+'\x20'+i1li1['resp_msg']),$['message'][ilIIli(0x1f7,'1aRP')](i1li1['resp_msg']),$[ilIIli(0x3bd,'PfH3')]=!![],[ilIIli(0xe0,'51Tg'),'结束',ilIIli(0x1b3,'9#2Z'),'不在'][ilIIli(0x2c3,'zP(a')](liI11I=>i1li1[ilIIli(0x200,'zP(a')]['includes'](liI11I))&&($[ilIIli(0x23d,'UR9a')]=!![])):(iIiII[ilIIli(0x19f,'U!68')](iil1lI+'\x20'+iiiliI[ilIIli(0x322,']9VO')]),li1i1I['message']['fix'](illIii[ilIIli(0x3b5,'xNI3')]),ii1il1['skipRun']=!![],[iIIllI[ilIIli(0x25f,'XIwF')],'结束',iIIllI[ilIIli(0x141,'zEqC')],'不在']['some'](l1IIl1=>Ill1I[ilIIli(0x3b1,'2%J#')][ilIIli(0x359,'51Tg')](l1IIl1))&&(i11iiI['runEnd']=!![])):ilIIli(0x2cc,'Cbxz')!=='AzqhI'?(console[ilIIli(0x2c7,'TjtW')]('❓'+l1lill+'\x20'+JSON[ilIIli(0xed,'zvIQ')](i1li1)),$[ilIIli(0x23b,'U!68')]=!![]):ililII=lI1II1+ilIIli(0x18c,'9eVW')+i1ilII+'）';break;case'acquire':if(iIIllI[ilIIli(0x331,'PfH3')](i1li1['resp_code'],0x0)){const lIIi1l=i1li1[ilIIli(0x323,'3ED4')];if(lIIi1l){if(iIIllI['INbQk'](iIIllI[ilIIli(0x112,'pbZ8')],iIIllI[ilIIli(0xd4,'u2e4')]))lillI1['runEnd']=!![];else switch(lIIi1l[ilIIli(0x372,'RN!I')]){case 0x1:console[ilIIli(0x250,'Zr(B')](ilIIli(0x3e1,'pbZ8')+lIIi1l[ilIIli(0x261,'9#2Z')]+ilIIli(0x135,']I7S')),$['message'][ilIIli(0x219,'KYfP')](lIIi1l[ilIIli(0x241,'Cbxz')]+'🐶');break;case 0x2:console['log'](ilIIli(0x412,'BNHw')),$[ilIIli(0xd2,'vcwm')]['insert'](ilIIli(0x1a7,'zvIQ'));break;case 0x3:const illili=i1li1['data'][ilIIli(0x2eb,'UqQn')],iiiII1=lIIi1l[ilIIli(0x29b,'U!68')];console['log'](ilIIli(0x15b,'TjtW')),console[ilIIli(0x2c7,'TjtW')](ilIIli(0xe2,'8^II')+iiiII1);if(lIIi1l[ilIIli(0x236,'EnXQ')])console[ilIIli(0x189,'YDf]')](ilIIli(0x290,'XC(L')+lIIi1l['showImg']);const liI111={'baseUrl':$['baseUrl'],'newbaseUrl':$['newbaseUrl'],'cookie':i1111i,'ua':$['UA'],'token':$[ilIIli(0x329,'XGA]')],'prizeName':iiiII1,'orderCode':illili},IiIlI=await Ii1l11(liI111);iIIllI['efnTF'](!IliIlI,IiIlI)&&await ilIIiI[ilIIli(0x115,'zvIQ')]($[ilIIli(0x436,'XIwF')]+ilIIli(0x285,'zP(a'),ilIIli(0x3f6,'P)UJ')+$[ilIIli(0x156,'P6zC')]+'】'+$[ilIIli(0x2c8,'P)UJ')]+ilIIli(0xbf,'zP(a')+iiiII1+ilIIli(0x181,'vcwm')+$['activityUrl']);$['message'][ilIIli(0x403,'SIL^')](iiiII1+'('+(IiIlI?'已填地址':iIIllI[ilIIli(0x413,'n4Pe')])+ilIIli(0x26a,'u2e4'));break;case 0x4:case 0xb:console['log'](ilIIli(0x24d,'bL#b')+lIIi1l['prizeName']+'\x20🎟️'),$[ilIIli(0x153,'3FVy')]['insert'](ilIIli(0x215,'hv3!')+lIIi1l[ilIIli(0x1d4,'UR9a')]+ilIIli(0x3a1,'wfYN'));break;case 0x5:console['log'](ilIIli(0x1d3,'GQpa')),$[ilIIli(0x2ca,'P6zC')]['insert'](ilIIli(0x1c5,'^b*L'));break;case 0x6:console['log'](ilIIli(0x127,'8^II')+lIIi1l[ilIIli(0x2d9,'3FVy')]+ilIIli(0x3bc,'zvIQ')),$[ilIIli(0x429,'I#6H')][ilIIli(0xd0,'3FVy')]('🎉\x20'+lIIi1l[ilIIli(0x261,'9#2Z')]+ilIIli(0x15d,'8^II'));break;case 0x7:case 0x8:case 0x9:case 0xa:case 0xc:console['log'](ilIIli(0x253,'EnXQ')+lIIi1l[ilIIli(0x2bc,'I#6H')]+ilIIli(0x2d8,'zP(a')),$[ilIIli(0x39e,'Cbxz')][ilIIli(0x41e,'XC(L')](ilIIli(0x1a8,'PfH3')+lIIi1l['prizeName']+'\x20🎁');!IliIlI&&(iIIllI[ilIIli(0x1d8,'51Tg')](ilIIli(0x232,'2%J#'),ilIIli(0x126,'zP(a'))?await ilIIiI['sendNotify']($['name']+ilIIli(0x3a9,'3FVy'),ilIIli(0x437,'YDf]')+$[ilIIli(0x1b9,'xNI3')]+'】'+$['nickName']+ilIIli(0xd3,']I7S')+lIIi1l[ilIIli(0x1fd,'&4KQ')]+'\x0a\x0a'+$[ilIIli(0x28f,'XIwF')]):(IilIl1['log'](lIII1l+'\x20'+l1iIIi['resp_msg']),lilIi[ilIIli(0x14a,'1aRP')]['fix'](l1l11I[ilIIli(0x1c0,'%bBR')]),lilIl[ilIIli(0x2a3,'YDf]')]=!![]));break;default:console[ilIIli(0x29c,'&(mP')](lIIi1l);break;}}else iIIllI['fYxqP'](ilIIli(0x1d6,'P)UJ'),iIIllI['ODrLG'])?(i1illl[ilIIli(0x19a,'TjtW')]?iIIllI['ulFpK'](I1iIli,lI1Ill[ilIIli(0x1d9,'BNHw')])&&(i1II1[ilIIli(0x328,'Zr(B')]=iIIl11):(l1l1I1['minHelpNums']=I1iIll,I1lliI[ilIIli(0x37f,'hv3!')]=llIllI),iIIl1I=!![]):(console['log'](ilIIli(0x2db,'Ucip')),$[ilIIli(0x158,'YDf]')]['insert'](ilIIli(0x229,'UqQn')));}else{if(i1li1['resp_msg']){console['log'](l1lill+'\x20'+i1li1[ilIIli(0x32b,'TjtW')]);for(let IIIliI of[iIIllI['AZdEL'],'结束',iIIllI[ilIIli(0x3a6,'RN!I')],'不在']){if(i1li1[ilIIli(0x193,'RN!I')]['includes'](IIIliI)){$['runEnd']=!![];break;}}$[ilIIli(0x27b,'RN!I')][ilIIli(0x32d,'&4KQ')](i1li1['resp_msg']);}else console[ilIIli(0x36e,'Cbxz')]('❓'+l1lill+'\x20'+JSON[ilIIli(0x344,'EnXQ')](i1li1));}break;}}catch(iII1Ii){console[ilIIli(0x109,'2%J#')](ilIIli(0x2c9,'wfYN')+l1lill+'\x20请求响应\x20'+(iII1Ii[ilIIli(0x29f,'Zr(B')]||iII1Ii));}}async function lIl1l1(iIlI1l){const ilIIll=Il1l,llIill={'yoGGx':ilIIll(0x2b7,'xNI3'),'ZpXjz':function(I1I1Il,l1l1I){return I1I1Il||l1l1I;},'qvVPN':function(iIlI1I,I1I1Ii){return iIlI1I||I1I1Ii;},'LHQBB':ilIIll(0x227,'XIwF'),'kRqjt':ilIIll(0x226,'M[#q'),'Ryxyu':ilIIll(0x2d3,'pbZ8'),'SQUeg':'follow','jQeZF':'GET','uJxhz':ilIIll(0x302,'Cbxz'),'QASjO':ilIIll(0x3b8,'n4Pe'),'cRNbR':ilIIll(0x258,'zEqC'),'lHjLv':ilIIll(0x327,'PfH3'),'eNnKe':ilIIll(0x19c,'YDf]'),'YNYbu':ilIIll(0x2af,']9VO'),'mpPVJ':ilIIll(0x421,'3FVy'),'EIJYh':'/api/prize/receive/list','LzeRh':'getInviteInfo','oxEkK':'/api/task/inviteFollowShop/getInviteInfo','yZqyl':ilIIll(0x1b8,'GysM'),'ygcZg':function(IiIl1,IIIl){return IiIl1===IIIl;},'JsQAX':ilIIll(0x3d8,'U!68'),'ruMEW':ilIIll(0x3cb,'XIwF'),'nbRbA':ilIIll(0x150,'UqQn'),'DMcxD':'cors','uqWCW':'same-origin','zIeRN':function(IIIi,l1IIli){return IIIi===l1IIli;},'GsUKc':'Content-Type','dDvRr':function(iII1I1,iiiIIi){return iII1I1<iiiIIi;},'TxThK':function(lIi1iI,l1IIll){return lIi1iI>l1IIll;},'kehMT':function(iiiIIl,lIIi11,illiii){return iiiIIl(lIIi11,illiii);},'IOJBB':function(IIIll1,illiil){return IIIll1===illiil;},'wRoBI':ilIIll(0x2ae,'vcwm'),'npMYj':ilIIll(0x195,'zvIQ'),'pLbTp':ilIIll(0xe4,'I#6H'),'qATDG':function(liI11l,l1l1i){return liI11l!==l1l1i;},'HfvSm':ilIIll(0xc6,'zvIQ'),'dvmnb':ilIIll(0x3bf,'Ucip'),'ZOHEY':ilIIll(0x3a4,'Ucip'),'CdywT':function(I1I1II,i11ll){return I1I1II||i11ll;},'pGoOi':ilIIll(0x351,'&(mP'),'tmbmW':ilIIll(0x142,'XC(L'),'hemaF':function(Ili11I,i11li){return Ili11I(i11li);},'IarJO':ilIIll(0x2ba,'n4Pe'),'SiqVY':function(Illil,iil11i){return Illil>=iil11i;},'ZwBmH':ilIIll(0x2e8,'zvIQ'),'AiIXI':function(Ill1II,llIili){return Ill1II===llIili;},'zKaxN':'hDRfn'};if($[ilIIll(0x1f8,'P)UJ')]||$[ilIIll(0x101,'GQpa')])return;let l1IIii=$[ilIIll(0x423,'^b*L')],lIIi1I={},l1IIil={},l1iiII=llIill['LHQBB'];switch(iIlI1l){case llIill[ilIIll(0x124,'9eVW')]:l1IIii+=llIill[ilIIll(0x1f0,'&(mP')],lIIi1I={'status':'1','activityId':$[ilIIll(0x3c5,'3ED4')],'tokenPin':$[ilIIll(0x434,'XC(L')],'source':'01','shareUserId':$['shareUserId']||'','uuid':$[ilIIll(0x356,'I#6H')]};break;case llIill['SQUeg']:l1IIii+=ilIIll(0x138,'M[#q');break;case ilIIll(0x325,'YDf]'):l1iiII=llIill['jQeZF'],l1IIii+=ilIIll(0x214,'SIL^')+$[ilIIll(0x26d,'EnXQ')]+'&jdToken='+$['jdToken']+'&source=01&shareUserId='+($[ilIIll(0x38c,'hv3!')]||'')+ilIIll(0xdf,']9VO')+$[ilIIll(0x3b0,'%bBR')]+ilIIll(0xc7,'&(mP')+Date[ilIIll(0x276,'XIwF')]()+ilIIll(0x338,'zP(a')+$[ilIIll(0x42f,'pbZ8')];break;case llIill[ilIIll(0x1ec,'bL#b')]:l1IIii+=llIill[ilIIll(0x333,'1aRP')],lIIi1I={'activityId':$[ilIIll(0x35e,'P6zC')]};break;case llIill[ilIIll(0x3c8,'SIL^')]:l1IIii+=llIill['lHjLv'];break;case llIill[ilIIll(0x383,'n4Pe')]:l1IIii+=llIill[ilIIll(0x169,'Cbxz')];break;case llIill['mpPVJ']:l1IIii+=llIill[ilIIll(0xc3,'9eVW')];break;case llIill[ilIIll(0x2a1,'EnXQ')]:l1IIii+=llIill['oxEkK'],lIIi1I={'shareUserId':$[ilIIll(0x371,']9VO')]||''};break;case llIill['yZqyl']:l1IIii+='/api/prize/receive/acquire',lIIi1I={'prizeInfoId':$['prizeInfoId']};break;default:console[ilIIll(0x1ad,']I7S')]('❌\x20未知请求\x20'+iIlI1l);return;}const I1lI1I=llIill[ilIIll(0x129,'51Tg')](l1iiII,llIill['LHQBB'])&&$[ilIIll(0x31c,'3FVy')]['includes'](ilIIll(0x16a,'KYfP'))&&lIl1il['isDefenseApi'](l1IIii[ilIIll(0x326,'pbZ8')]($['newbaseUrl'],'')['split']('?')[0x0]);I1lI1I&&(lIIi1I[ilIIll(0x2cf,'pbZ8')]=$[ilIIll(0xd6,'wfYN')],l1IIil={'ecyText':lIl1il['encrypt'](lIIi1I,$[ilIIll(0x40e,']I7S')],$['te'])});const lIi1i1={'url':l1IIii,'headers':{'Accept':ilIIll(0x165,'BNHw'),'Accept-Encoding':llIill['JsQAX'],'Accept-Language':llIill[ilIIll(0x42e,'Zr(B')],'Connection':ilIIll(0x36b,'U!68'),'Content-Type':llIill[ilIIll(0x389,']I7S')],'Cookie':ilIIll(0x364,'7vyE')+$[ilIIll(0xd9,'&(mP')]+';\x20'+($['pinToken']?';pToken='+$[ilIIll(0x267,'XGA]')]:'')+($['te']?ilIIll(0x36c,']I7S')+$['te']:''),'Host':$[ilIIll(0x33b,'KYfP')],'Origin':$['origin'],'Referer':$[ilIIll(0xdc,'wfYN')],'Sec-Fetch-Dest':ilIIll(0x305,'xNI3'),'Sec-Fetch-Mode':llIill['DMcxD'],'Sec-Fetch-Site':llIill[ilIIll(0x3c1,'EnXQ')],'User-Agent':$['UA']},'body':JSON[ilIIll(0x345,'wfYN')](I1lI1I?l1IIil:lIIi1I),'timeout':0x7530};$['token']&&(lIi1i1[ilIIll(0x32f,'wfYN')]['token']=$[ilIIll(0x34d,'Ucip')]);llIill[ilIIll(0x2e5,'PfH3')](l1iiII,llIill[ilIIll(0x188,'n4Pe')])&&(delete lIi1i1[ilIIll(0x2c5,'bL#b')],delete lIi1i1['headers'][llIill[ilIIll(0x12a,'zvIQ')]]);const l1l11=0x5;let illill=0x0,IIIli1=null,I1lI11=![];while(llIill[ilIIll(0x2dd,'UqQn')](illill,l1l11)){if(ilIIll(0x3dd,'9eVW')!=='PFLfb')illIli[ilIIll(0x363,'UR9a')]('❓'+l11i1l+'\x20'+lIII11[ilIIll(0x345,'wfYN')](IiilI));else{llIill[ilIIll(0x1e9,'2%J#')](illill,0x0)&&await $[ilIIll(0x132,'P)UJ')](0x3e8);const {err:iIlI11,res:IIII,data:l1IIlI}=await llIill[ilIIll(0x23a,'pbZ8')](li1i,lIi1i1,l1iiII);if(iIlI11){if(llIill[ilIIll(0x28c,'zvIQ')](llIill['wRoBI'],ilIIll(0x2ef,']9VO')))i1iIlI[ilIIll(0x24e,'u2e4')](li111),liI1lI&&(!llIlI1&&(i1lliI[ilIIll(0x203,'&4KQ')]=!![],liI1l1[ilIIll(0x17c,'9eVW')]&&ili11I['message'][ilIIll(0x419,']I7S')](li11l)));else{if(llIill['IOJBB'](typeof iIlI11,llIill[ilIIll(0x39d,'7vyE')])&&iIlI11['includes'](llIill['pLbTp']))IIIli1=iIlI1l+ilIIll(0x3ec,'&(mP');else{const llIil1=IIII?.['statusCode'];if(llIil1){if([0x193,0x1ed][ilIIll(0x37e,'2%J#')](llIil1))IIIli1=iIlI1l+ilIIll(0x2a5,'Ucip')+llIil1+'）',I1lI11=!![];else{if([0x190,0x194]['includes'](llIil1))IIIli1=iIlI1l+ilIIll(0x149,'7vyE')+llIil1+'）';else[0x1f4]['includes'](llIil1)&&I1lI1I?llIill['qATDG'](ilIIll(0x116,'zP(a'),llIill[ilIIll(0x25b,'zvIQ')])?lIi1i1[ilIIll(0x279,'&4KQ')]=JSON[ilIIll(0x3eb,'pbZ8')]({'ecyText':lIl1il['encrypt'](lIIi1I,$['pinToken'],$['te'])}):i1i11i[ilIIll(0x29c,'&(mP')]('❓'+II11l1+'\x20'+Iil1lI[ilIIll(0x3f8,'3ED4')](IiiliI)):IIIli1=iIlI1l+'\x20请求失败（Response\x20code\x20'+llIil1+'）';}}else IIIli1=iIlI1l+ilIIll(0x3d1,'Cbxz')+(iIlI11[ilIIll(0x420,'Ucip')]||iIlI11);}illill++;}}else{const Ill1I1=liliiI[ilIIll(0x3b3,'UR9a')](IIII),lIi1ii=![];if(lIi1ii){if(llIill[ilIIll(0x3e2,'PfH3')](ilIIll(0xfa,'XC(L'),llIill[ilIIll(0x3ae,'3ED4')]))i1ilIi=lill1l+ilIIll(0x392,'3FVy')+l1l1i1+'）';else{const liI11i=llIill[ilIIll(0x171,'M[#q')][ilIIll(0x408,'wfYN')]('|');let l1l1l=0x0;while(!![]){switch(liI11i[l1l1l++]){case'0':console[ilIIll(0x24e,'u2e4')](lIi1i1);continue;case'1':console[ilIIll(0x109,'2%J#')](ilIIll(0x3aa,'TjtW'));continue;case'2':console[ilIIll(0x109,'2%J#')](ilIIll(0x3a7,'P)UJ')+iIlI1l+ilIIll(0x3cc,'U!68')+llIill[ilIIll(0x313,'P6zC')](l1IIlI,'无')+'\x0a');continue;case'3':console[ilIIll(0xe1,'wfYN')]('\x0a---------------------------------------------------\x0a');continue;case'4':console[ilIIll(0x14f,'KYfP')](ilIIll(0x2a2,'%bBR')+iIlI1l+'\x20响应Cookie\x20=>\x20'+llIill['CdywT'](Ill1I1,'无')+'\x0a');continue;case'5':console['log'](ilIIll(0xf0,'XGA]')+iIlI1l+ilIIll(0x3d6,'Ucip'));continue;}break;}}}switch(iIlI1l){case llIill[ilIIll(0x2ea,'XC(L')]:const illilI=liliiI[ilIIll(0x287,'2%J#')](Ill1I1,'te');if(illilI){if(llIill['ygcZg'](llIill[ilIIll(0x2b5,'zvIQ')],ilIIll(0x162,'Cbxz')))$['te']=illilI;else{const illil1=llIill[ilIIll(0x3a8,'3ED4')][ilIIll(0x306,'BNHw')]('|');let IIIlii=0x0;while(!![]){switch(illil1[IIIlii++]){case'0':i1iii[ilIIll(0x2f3,'zvIQ')](ilIIll(0x2ab,'I#6H')+I1llIi+ilIIll(0x3f7,'zP(a')+llIill['ZpXjz'](IIii1I,'无')+'\x0a');continue;case'1':iliIi1[ilIIll(0x363,'UR9a')](ilIIll(0x26c,'pbZ8'));continue;case'2':i1iil['log']('🔧\x20'+llI11l+ilIIll(0x205,'P6zC')+llIill[ilIIll(0x3d5,'XIwF')](I1llIl,'无')+'\x0a');continue;case'3':l1l1il[ilIIll(0x250,'Zr(B')](I11i1I);continue;case'4':lI1l1i[ilIIll(0x109,'2%J#')](ilIIll(0x297,'9eVW'));continue;case'5':llI11i[ilIIll(0x22c,'RN!I')]('🔧\x20'+i1iIi1+'\x20请求参数');continue;}break;}}}break;}if(l1IIlI)try{const iil11I=JSON[ilIIll(0x396,'bL#b')](l1IIlI);llIill[ilIIll(0x23a,'pbZ8')](l1111,iIlI1l,iil11I);break;}catch(iII1II){IIIli1='❌\x20'+iIlI1l+'\x20接口响应数据解析失败:\x20'+iII1II[ilIIll(0xe8,'n4Pe')],console[ilIIll(0xf9,']9VO')](ilIIll(0x19b,'51Tg')+iIlI1l+ilIIll(0x256,']I7S')+llIill['hemaF'](String,l1IIlI)),illill++;}else I1lI1I&&(ilIIll(0x38e,'9#2Z')===llIill[ilIIll(0x223,'Ucip')]?lIi1i1[ilIIll(0x3cd,'PfH3')]=JSON[ilIIll(0x321,'u2e4')]({'ecyText':lIl1il[ilIIll(0x369,'bL#b')](lIIi1I,$[ilIIll(0x146,'9eVW')],$['te'])}):l1iII({'err':iI1Ill,'res':lilI1,'data':IIIi1})),IIIli1='❌\x20'+iIlI1l+'\x20接口无响应数据',illill++;I1lI11=![];}}}if(llIill['SiqVY'](illill,l1l11)){if('WMrRv'===llIill[ilIIll(0xf2,'RN!I')])console['log'](IIIli1),I1lI11&&(!IIliiI&&($['outFlag']=!![],$['message']&&(llIill['AiIXI'](llIill[ilIIll(0x20b,'Ucip')],ilIIll(0xfe,'u2e4'))?i11iil['receivePrizes']=Ill1i['data']?.[ilIIll(0xc4,'PfH3')]||[]:$['message']['fix'](IIIli1))));else{const I1I1I1=ilIIll(0x416,'KYfP');return{'err':I1I1I1,'res':null,'data':null};}}}async function li1i(IIIlil,Ili111='POST'){const iIliil=Il1l,Il11={'ratxB':iIliil(0x274,'M[#q'),'QxxRC':'3|1|0|4|2|6|7|5','TAHyF':iIliil(0x272,'xNI3'),'zieLP':function(iiil11,llII1I){return iiil11!==llII1I;},'bHdze':function(ilI1II,iillI1){return ilI1II(iillI1);},'NLPIK':function(i11l1,IlllI){return i11l1===IlllI;},'mBYuG':'cAlKE','hAcFw':iIliil(0x1af,'bL#b'),'yAnWd':'KwDEe','lhfsI':iIliil(0x3ef,'2%J#'),'NEXVe':function(iliIl,ii1i11){return iliIl===ii1i11;},'IzzVK':iIliil(0x36d,'P)UJ')};if(Ili111===Il11[iIliil(0x34b,'7vyE')]){if(Il11[iIliil(0x31f,'wfYN')](Il11[iIliil(0x39f,'wfYN')],Il11[iIliil(0x106,'YDf]')])){IiilI1[iIliil(0x21c,'P)UJ')](Il11[iIliil(0x244,'Ucip')]);return;}else return new Promise(async liIlII=>{const IIiill=iIliil,Il1I={'ovBvi':Il11[IIiill(0x11b,'SIL^')],'HtuRN':Il11[IIiill(0x294,'YDf]')],'LEUyr':function(iii1i,iii1l){return Il11['zieLP'](iii1i,iii1l);},'OStOF':IIiill(0x3f5,'9eVW'),'EywDL':function(iliIi,iiil1I){return Il11['bHdze'](iliIi,iiil1I);}};if(Il11[IIiill(0x198,'XIwF')]('fqDPN',Il11[IIiill(0x299,'^b*L')])){const lIiI1=Il1I['ovBvi'][IIiill(0x25e,'SIL^')]('|');let IiIi1i=0x0;while(!![]){switch(lIiI1[IiIi1i++]){case'0':ii1l1['openCardUrl']=lIIill['joinInfo']?.[IIiill(0x277,'pbZ8')];continue;case'1':IIlli['joinInfo']=l1iil?.[IIiill(0x27f,'UqQn')]?.[IIiill(0x1b1,'vcwm')];continue;case'2':I11iIl[IIiill(0x1fe,'Ucip')]=l1l11l['getUrlParameter'](IilIil['openCardUrl'],Il1I[IIiill(0x151,'hv3!')]);continue;case'3':ll1lI[IIiill(0x17b,'8^II')]=l1iii?.[IIiill(0x2f7,'GQpa')]?.[IIiill(0x2d5,'bL#b')];continue;case'4':I11iIi[IIiill(0x2ed,'3FVy')]=I1ilII?.[IIiill(0x108,'n4Pe')]?.[IIiill(0x2e1,'P6zC')];continue;case'5':iIli1I[IIiill(0x217,'KYfP')]=Iiil1[IIiill(0x27e,'wfYN')]?.[IIiill(0x21e,'xNI3')]?.[IIiill(0x11e,'P6zC')];continue;case'6':l1iIi[IIiill(0x1e0,'^b*L')]=l1l11i?.[IIiill(0x238,']I7S')]?.['shopName'];continue;case'7':l1iIl['joinCode']=illIll[IIiill(0x282,'UR9a')]?.[IIiill(0xef,'Ucip')]?.['joinCode'];continue;}break;}}else $[IIiill(0x37a,'U!68')](IIIlil,(llII1l,iil11l,IiIi1l)=>{const liIIii=IIiill;if(Il1I['LEUyr'](Il1I[liIIii(0x1dc,'Ucip')],Il1I[liIIii(0x340,'GysM')])){llIlil[liIIii(0x43a,'zEqC')]('活动将在\x20'+IIlil+liIIii(0x14c,'GQpa')),ilI1lI['message'][liIIii(0x15c,'^b*L')]('活动尚未开始，开始时间：'+IiiIll),IIlii[liIIii(0xd7,'KYfP')]=!![];return;}else Il1I[liIIii(0x1e3,'UqQn')](liIlII,{'err':llII1l,'res':iil11l,'data':IiIi1l});});});}else{if(Il11[iIliil(0xf5,'P)UJ')](Ili111,Il11['IzzVK']))return new Promise(async illI1I=>{const Iii1lI=iIliil;$[Iii1lI(0x3fc,'UR9a')](IIIlil,(ilI1Ii,ilI1Il,illI11)=>{illI1I({'err':ilI1Ii,'res':ilI1Il,'data':illI11});});});else{const ll11Ii=iIliil(0x218,'GQpa');return{'err':ll11Ii,'res':null,'data':null};}}}var version_ = 'jsjiami.com.v7';
// prettier-ignore
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)}
