mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-10 09:39:18 +08:00
23 lines
43 KiB
JavaScript
23 lines
43 KiB
JavaScript
/*
|
||
活动名称:强制入会
|
||
活动链接:https://shopmember.m.jd.com/shopcard/?venderId=<商家ID>
|
||
环境变量:jd_opencard_force_venderId // 商家ID,多个用英文逗号分割
|
||
jd_opencard_force_task_threads // 控制店铺并发线程数(正整数),默认1,最大3
|
||
jd_opencard_force_account_threads // 控制账号并发线程数(正整数),默认1,最大3
|
||
jd_opencard_force_account_interval // 自定义运行间隔时长(整数,单位毫秒),默认0
|
||
|
||
7 7 7 7 *
|
||
|
||
*/
|
||
|
||
const $ = new Env('强制入会')
|
||
const jdCookie = require('./jdCookie')
|
||
const notify = require('./function/sendJDNotify')
|
||
const common = require('./function/jdCommon')
|
||
const { H5st } = require('./function/jdCrypto')
|
||
|
||
var iil='jsjiami.com.v7';function i11iiIII(){const iI1Iiii1=(function(){return[...[iil,'xAjsjNniBQapnmiKp.KdYcTxoOmNdt.dtRv7PEGR==','WQnGWO0/da','W57dNmo6WRzZ','W6pdHCoa','DYtdKCkaW5DO','jSoiWORdO8oJW6BcRCkwWOFcN0pdNq','CcVdJ8ka','xSoeu8o/W7i','rhfTBua','W4ruva','j8o4nmkpWOG7sa','W5/dPCo6WQnNv8kW','W5ZcI8kpW57dSmk3W7JdSa','cmoQW6hcKJu','W6FcKmkcW5/dIG','W4dcMfVcVJ8','stJdTSkxW4a','5Bsa5PIi5l+H5zcb','W5pdQmolWQ17xSkNk8oBWQv5g8odWRqag8k9W6meWRe2W7ZdTSkeWPiby8oiB8khWQFcUcC','nG0BWR7dOW','W5RdPSo5WOb2','zehcKfVcSa','W7TPymo7nW','5BEM5PUt5l6O5zkp','W5VcPmk3W6XM','W4BdTh4NW4tcSSk7W7D+WQhdTmozWPO7WRpdHG5PW4bjca','W6JdVgFdH8kHlgtcPCkRBLWBW64','W4ZcTSkvW6DvFHncWOib','W5hdN8okWOvB','W4vWW5K','BmoPWPBdSsa','lNlcH8kXma','iCkvW5STWOm','5lIJ6lgm8yEIMq','i8kOje0DlG','kmoCl8kmW5C','W5dcI8kA','W7uck1VdJa','m8o1l8kWW606vCoakL0Z','qVgmQiG','W6NdJCogW5ve','WQrmqG','W6ldG8oj','WQZcH8ku','WP1xWP43jLtdUqZdOCoVc8kpW6qK','WOFcVJbiW60','W5LXamokmW','W7X4xSo8la','W6VcPqFcOLFdHCkh','FSoaF8o+W7hcL8k9D3JcNqi1p2W','W5lcKmklW6j8','u8klW5FcNCkI','zu1o','W57dN8otW5bX','sHpcGCkRwa','fmkIwfZdPq','f3ZcV3RcQq','W5VdUxq0W4BcPCk/W7z8WO3dKW','hLxdSepcTq','yColySo/W6BcKq','v0q3vCoN','bddcNLah','W6VdUCoaW4Do','WQ7WKkU4','B3KIx8oT','pmk8Av3dMq','WQtcLJLbW40','BJ/dKCkn','BmkBW5ldTcO','W4n+E8kswa','BmomySo5W7VcKmkqyLNcJt49pg4','E3FcIh7cUG','W7ldR8otWQuFu8kzqmolW6xcKmkVW57cJsldKYK','5yUV5ysR5BUM6zcm5l615zgk5OIq5yM3','x08qrSooWPO','W5xdO8oZ','W5tdQCoNWRfQxmkS','W7ZdSKSNW4W','W4ZcLSoQn8oJ','W4FcK8onn8oM','5l2l5OcK5yII8jkfGU+5La','W7PjWPRcLbK','W6VcRX3cN08','5BQe6zoV5l+d5zgt5lUu5A6/5z6bW6RWN7Uz','j8khm10J','W5LtWOq','jwNdVa','W5pcJmku','W6FdPmo0W75W','r8k9WRPykmo8WO85EYP2o27dQa','W6PWW5dcSaFdJSoSWPVdOXzoW74','WOfIybKOWQbcEmonW4BdLCkyl0NdLurufs8','W4RcICkZW5Pg','kSoUe8kFW58','WQNcHSkhpeL8WQbcveJcKmkBwSkXf8oNWRm','nKVcVSkeea','W4ZcTSo7','DsBdICkQW6e','o0xdMLNcIq','zmkEW6SlyX9moNX5emogW6NdHCoxA3rHW5JdPW','W53cJZz+WOFdK8kVj1tcOqLl','lw/dQhxcJCkXW4tcHJpcTKyNpHu','ENVcQM7cQ8kt','5yIi5ywE5BQK6zco5lYU5zkn5OI/5yQy772H6iYY5B+H77Yp','zCkaW7RdKcq','kh3cKMXDWQpdU8kcW74tsKG','aZdcN2u0','W7tcRKdcRM7dILe','W7Wqhmo5xSoEWRn5ovi+uq','aw7cRxu','5BUv6zkT56s25yIW8kASL++7Ga','W4BcICoukmo/','pCkIma','W7FdPmoTW6n+','WQNcOthcGSoFEJ/cRSketgyWW4POW5vEu1O','nSkKmuW4ngNdUq','5l6h5zkv5y6A772F','jd7cTuidW7O','zmkoW5VcRCk2WPZcICkSWQK','hCouW6xcQsW','WOfpWPqPkfddPGRdL8oPkCkAW6mZWR8QWQTb','W5vzx8oTiG','W6jVWOJcQXK','iYSFWPhdM3O','WODsyCkIga','5RA05yIq5Asg54ky54IM77+R6kYX56Mb5zo+5ysM6k67','lSo6W6xcHcu','W452W5JcScVdJSo+W5K','lmoYjW','W5VdUxqZW5VcSSk7W7PTWRBdTmoxWOC0WPpdJsfO','aJK/','nNZcISkLf8ow','WRNcRJ1BW6CBWOa','eSk7W7W6WOaL','WRqZz8kkW4Tvj33dRq','5l6x5Ogy5yIu8yoNSE+7Qa','W4z8DSobna','W6NdQgtcPgW','tmouwmo5W5W','W6vVjSouhG','vYRcPCkUzq','WQZcRddcLSo3BrhcRCktwMSWW5vP','6lwi5y6H5PA45Psq','W6JcMmkXfmo3','hSk8e1md','adC1pq','W7ZcOCkx','WOZdKx86W4O','ohdcISkMnmoxu33cKmkuW4xdKSkisa','yxdcQN7cTCkt','WPGPWOJdTflcKCo+W7/dJJPlW7i','WO7cJZlcGSol','W5ZcSSkiW55Kza1g','WPRdIwWTW5BcLmkQ'],...(function(){return[...['s8oXWQVdHd8','W7PPkSoGhG','W7VcO8ksdCoW','44k75OYd56EB44k76k+h5ywf6i+x5y+1WQylW4rDzSox','WOvRzH0rWQXcFW','pSk4i34Do2G','5yI15yEW5BIT6zcV5lYP5zcR5OUT5yQ6776H6iY+5B2M77+b','WOFdKmovWOFcTSoGWQVdQSoDavmwfq','WQ3dI2CwW7i','F8oeEmoUW4dcJmktCW','imkSC1pdPW','W4xdTgGWW7FcSmkZ','umkJWQjSfq','veuWrmoV','ru1EDv8','4PQdW7tOHkpLRQhKUi7OVzNOOQ3PLRNPMRZMLQJPLBVOR6ZNVA7PLPBOR7y','FYFdKcG','FMBcVG','W7vXimofWOaP','W5ztWOJcIcC','W5bsWPu','W4njs8kquG','WORdTSomWO9dDSkA','5yIt5yw+5BQT6zgU5l235zoP5OMb5yIM','CSo/xCoZW5m','W55+W5FcSa','W63cRmkjjmoFWPNdQCoIW4RcMq','W5fDWPFcNW','W5NcISkl','v8kSW5tcKSkb','i8kZthpdHq','4PMsb+IeKEwVG+s4RoI/PEIJH+MwNoMyPUAvREMuLEITHEE/V+MvJUISMq','BMStz8ol','W6JdJ8otW75zEmk4xxKwbu8iW4a','CSonpmozW5RdICkeFIFcSs06itldJSkuWOtdH8oa','W5tcLSkFW5VdOSk9','WPtdRmkSsmkdw8oIgSoCWO7cK8k/','WPlcGSkJlL4','yCklW68','D3XdW47cMIPvWQ01Cmkjga','lhtdQxNcKa','W4xdNSo0WO94','tH7cOCk6wa','WQmKEG','W73dTmojWOvbgSktuCoKW6FcL8k0W6q','W4PNbSoChG','WRvqWQGGnG','W54odhtdRW','W4RcLmk1l8oe','W6tWR4QL','rIdcG8kpDa','ymkfW7G','iCkXyM/dGG','W4FcSmo6c8o/amoDia','W6RXIAU1','W6qzdfZdSNC6hSkUBmkQW5b2mZxdQb9PuMZcJa','yCoqzSo/W5O','4P2yW5ZOHQJMN7VOVipOOP7PGQ/LI7hKUyRPL4ROR6pcTG','tmoeWQZdJZTJ','DSkKW7BcN8kM','57UR5yYd8lMxSq','44ok5OYz56wK44oJ6k2L5ywx6i+L5yYAWQjrsJRdKwK','WR/cPYG','p8oYW6FcVq','oCkRC1S','EdBcRcldKCo9WP/cPspcHh4beW','WQJdJ34FW7q','nSk8C0e','WQpcTs1DW7aC','smoGWOK','WPTjWO88f1ddUbZdGCosbmkDW74','WQRcVr/cGSoW','W7Lor8kwCW','4PQOWOxOR6BLH5lLRi7KUQZLVlVOPPFNMO7NJzBLO4/LJOZPHP3LKiFLHllOVBNOO7JOH7pMN5xVVz4','W7bAsSoaba','WP5iWPW','W5lcVmoTcSowgSoA','CG7cPSkRFSkFzW','W5BcISkcW5tdRmk0','EMxcQfZcUW','W6RcPrRcTKldIG','WOj/Fae','Bc/dKCkqW4LO','FYNdLSkmW5n1z8krWPRcLW','WRq2wmk2W7G','W7RdMxtcKe0','W4BdHSovWO1x','W7JdMuxcH3tcJSkRkq','W6rqoSoJ','W4tcSmoVhmoChmoaimoxWR7cKCkhnmkX','W4ZdIxWxW7S','W6PEW47cKaS','W67cOqFcGutdI8kmF8okW6xcJmoKWR0','WRpcUH/cGmoGFIS','kmo4iCkJW5G6tW','W43cG8kPW718','pSoDWQ9lja','W5JcU8kiW4Xe','zCkOW5JdKsa','zx5pvw4','AmkJW7yYuW','t3WXr8oy','WOfVEW','BH3cK8kSzW','WQGKymkxW5PZ','AvrqsSk/W5X9W4BdLSo3vCoXWRpdH8ofW6eAWRldSLaydSkcW5CWWOWru0L0WQtcKri','BGFcPmkABG','WPZcMcJcNSo9','iYtcQL8bW6y','W67dICotW5TaDSkLsMmg','dMFdOKdcOW','W6VdKv/cKe/cKSkOomkJW58CW6aiwW','W4fRW4RcTbhcMSk3WPNdLH9xWRxcUL5aceGiW7tcOf7cGNPJtmosvG0yWO40ks3cKq','W6JdUCoGWQbm','wmkVW7ZcKCkv','WRxcVcRcTmo+FJu','WQNcUIPBW6O','WQ3cQdFcHSogDJ/cQq','W4BcLSoKjSoL','4PYoD+AFS+IdI+ASHEEJPUwNI+EtJ8oN','WR5zqbJcSxLqzSkvqCkcW5q','W54Cp0ldQq','y35Ss8kW','W5pdQmolWQ17xSkNk8oBWQv5g8odWRqag8k9W6mrWRmMW7JdNmkEWO4SCSobECkr','W4jFBmkBrmkWqwqmW7CssINdH2tdPGVdNmkDW7vnW40tAY7cSa','aMVcSNtcRW','WRHUrXmY','rufADMK','6i+z5y6a5BUp6zkI5lYp5zgy54UO5OgZ5B6x5BILW6G','qKfpuwG','WPFLLOVLRy0mW7BVV7a','WQhdMMK+W6K','W6hcGmoreSoP','zmkrW5ldJdS','5BUm6zgP5l6j5zke5lM75A+k5zYFW4VWPlMS','W5r+tG','6lwV5y+X5Pw75PwE','W4vEqmkhvCkYsG','pdOdWP/dGxvPWO4Q','W7Dqamo6oq','z3bCr3u','W4VcVmoLda','WPJcUWtcPCof','W4f3eSodia','W6lcS3BcJZ0','W5VdPhGGW7pcPmkL','DrRdRmkCW50','b3ldI0BcMW','W6jVWPddNe/cIsq','WR92vSkBha','WQ5KACkiaW','WP7dNwy6W6FcJSk0gG','DhdcRq','WR7cOc3cKCo9AJZcUmkYsLC4W5zR','W6FdI8ouW6jeDSk/r2mmaLqI'],...(function(){return['WO1VACkWmG','BYRcSmkkAq','5l+O5zgs5y2U772Z','sSkgW48','isSuWPldVxDTWOCLw8kmm8oyrctcL3hcUrKXtW','pw3dUgxcSq','WPxXHOMh','lZlcQKuhW6/cQG','iICF','gCk2yetdSa','W47cQ8kiW54','kNldQglcGq','WOVXI6Mk','AHJcSmkQvSkwzmko','lJJcVG','kSkhCh3dNW','e8kAW4uUWQ0','WQ/OR73MSQhLKAlLURRdJG','W63dL0pcN0xcHSkO','W6FcQYxcUw4','W7NdSmouWRjhgW','t8ojWQZdKaW','W799WRxdQxG','W7GCguldOW','fSk6beeI','5BIe6zcX56EB5yUG8kM8PU+4QG','iSkOiW','W4pdTmo4WRbv','W5lINRVdMW','iEwvSUwUJN1I77YR','WRbVAmkgia','l2hdUNhcKa','W7XIWORdIvO','WPRdQ2CiW7S','W61nnSoSamoH','B0fuDCk+W5bSW73dJ8o9vCkDWQRcMmowW58dW7NdUW','W67cMCkZa8oG','kSoRW5hcTra','s8opWRVdOIq','zxKNESoW','vtJdRmkcW4y','mSoEbmkaW7q','W7tdJ8oOWQvf','WPRdLga5W6pcLCkWewtcJZS','WOhdI8oB','bCkQW40FWQG','W6VdPSoeWRvU','vmktWOHmpG','W6ZcKSoMkCoy','W4jDWORcIHPek8oy','WOdORk7MS57LPy7OTPBVVAe','WQ/cTsG','W6bPz8knvG','WRpcGmkCkxz8WR5uqMJcPSkwtCkzn8o6WQhdTq','W4XtWRdcIqm','r8kZW7RdTt8','BCkzW6WsD0S','W6achW','WQBdR8oIWPH7pSkU','ymo9yaXcyZRdGCkXcmoJCvm','qSooWQBdKq','W6hcKSkPW5jr','a8kPW5aRWOu','peNcRmkvlW','W7hcOSkCamoaWPG','nSo2W6dcRXFdTvi','r1TF','W4nBWRpcKGG','a8klswe','W4ZcUmkpj8o1','zCoaySoPW7xcGSkB','gCoRjmk9W7q','t1Twuq','ghpdR3tcPq','W55lWRtdOeK','W77cRKFcLtRdNKa','W5lOR73MSy3LPzJOTAdVV43ML4/LK5FLUlZML4tMJ6tVV7ZWO5Qi','WRdcNCkamq','W7/cLYxcUeC','W7tcN8oSfCoY','W4RdOwJcT3u','dSkGW4q','f8oFWP7cTxNdOrasgmkGWRWh','WOn8sr09','lSo4jCkJW68TuCobkheuW4vaW47cLmoFW6ZcRmkbtrq','W6pdL0S','t8k7WQ4','W7tcJSkkW57dOG','AmknW6/dIYy','W4NcQCkcn8oW','dmkSW6utWR4','omo8W73cVYldS0tcGa','W4/cP8kRmSox','W6BcVSoBgCos','d8o6W7JcUbq','W4NcP8kfW51a','WR7dUeZdQq4','tCoaWRi','W6zCFCkIrG','zCk5W47dGbS','amk4iNKu','W7FdRCoGWRPb','W5ZcMmkLW5Ts','W4FcQgtcGGe','EIpdKCkgW4PPFCkCWOdcH0qzB8oO','EIhdJI8iW6m','W7ZcS0FcJHe','WO1bCSkyiW','tCkZW5iwsG','WOtdMxW9W5lcGmk8','5lME6lgH8ygHRW','n8kLBLq','WPmgsSk9W50','t8oGrq','WRT3BCkpoa','WO3dLxWTW5ZcKSk3c0pcSI1QdCk3','W4hcT8k+W4vaAa5aWOqwW49PACoDW7FcNhRcJhavWRTPtCoGhepdLYzMvmozW4S+W5K','nCoeWQ1via','q0SovG','W4HWnmoLnG','W4FcJutcJbO','5yIV5ywV5BM06zgv5lY05zk25AwW6lAqhVcKMiK','5yUV5ysR5BUM6zcm5l615zgk5AsX6lEnC/cqUAq','WQpcUsFcNSoJ','W4FdGxeuW44','W64cf0ddPcX7','iCk4jfa','4PQ8AoITLEweK+wVT+s7Mow9SUILJEEyOUEpUowIUEwpGEMfU+wrLoweIUI/VUIJLEIeMEADQ+++Pa','pmk+ma','FCoowCoCW5m','WO7dQgi2W58','W4ZcVSkseCoz','DCozWPBdMWG','pmo2W6FcNXNdVvZcGGVcKCk8zg3cVq','WRlcQW/cH8oX','W4FcRaxcTui','44cp6lwn5yYI','tCoeWRhdMY5SEW','W6RcRXm','W603kLZdTW','WPRdOCoyWPOAp1CAW5m','W7/dN8ouW5O','57Mq5yYI8ygwVG','zvi0rSom','W6JcPCkEpmoc','vMrQyca4cZFdS1pcJSkH','5yUo5ysZ5BUp6zkI5lYp5zgy5OMo5yUT','W53dJmorW7P7','y3tcQ2RcTmkuW63cQ3yt','77+78j26Pa','W4Ppv8kdra','WQfnvSkSgmkE','AY/cSCkOAa'];}())];}())];}());i11iiIII=function(){return iI1Iiii1;};return i11iiIII();};const IIIlIlii=II1IIili;if(function(Iiilil1I,lIl1111l,lIi11lil,IiiiI111,I1111lli,l1ii1I1,llIliili){return Iiilil1I=Iiilil1I>>0x5,l1ii1I1='hs',llIliili='hs',function(lllIill,l1III1il,IlII11I1,iIlilI11,lII1ii11){const iliIIil1=II1IIili;iIlilI11='tfi',l1ii1I1=iIlilI11+l1ii1I1,lII1ii11='up',llIliili+=lII1ii11,l1ii1I1=IlII11I1(l1ii1I1),llIliili=IlII11I1(llIliili),IlII11I1=0x0;const i1Il1ii=lllIill();while(!![]&&--IiiiI111+l1III1il){try{iIlilI11=parseInt(iliIIil1(0x265,'JUvF'))/0x1+-parseInt(iliIIil1(0x2e1,'#hrD'))/0x2+-parseInt(iliIIil1(0x33e,'M0CB'))/0x3*(parseInt(iliIIil1(0x233,'L$gX'))/0x4)+-parseInt(iliIIil1(0x33f,'cDq4'))/0x5+parseInt(iliIIil1(0x1c8,'m*ue'))/0x6+-parseInt(iliIIil1(0x28d,'[kzu'))/0x7+parseInt(iliIIil1(0x1e9,')3^m'))/0x8;}catch(liil11I){iIlilI11=IlII11I1;}finally{lII1ii11=i1Il1ii[l1ii1I1]();if(Iiilil1I<=IiiiI111)IlII11I1?I1111lli?iIlilI11=lII1ii11:I1111lli=lII1ii11:IlII11I1=lII1ii11;else{if(IlII11I1==I1111lli['replace'](/[RKBYOQpdnNtATxEPG=]/g,'')){if(iIlilI11===l1III1il){i1Il1ii['un'+l1ii1I1](lII1ii11);break;}i1Il1ii[llIliili](lII1ii11);}}}}}(lIi11lil,lIl1111l,function(lI1iIil,IlIIIIlI,i1iIIIll,iI1I1lll,lI1i1111,llli1I1i,IiIi1lI1){return IlIIIIlI='\x73\x70\x6c\x69\x74',lI1iIil=arguments[0x0],lI1iIil=lI1iIil[IlIIIIlI](''),i1iIIIll=`\x72\x65\x76\x65\x72\x73\x65`,lI1iIil=lI1iIil[i1iIIIll]('\x76'),iI1I1lll=`\x6a\x6f\x69\x6e`,(0x16f5ac,lI1iIil[iI1I1lll](''));});}(0x1860,0x1be9d,i11iiIII,0xc5),i11iiIII){}let idList=(process[IIIlIlii(0x27d,'H*PF')][IIIlIlii(0x2e5,'s0Vc')]||'')[IIIlIlii(0x2e6,'%sg5')](','),taskThreads=process[IIIlIlii(0x1f3,'aX7j')][IIIlIlii(0x2e4,'VHse')]||'1',accountThreads=process[IIIlIlii(0x2a7,')3^m')][IIIlIlii(0x1e1,'VHse')]||'1';function II1IIili(_0x3514d7,_0xf46c17){const _0x2abb02=i11iiIII();return II1IIili=function(_0x414627,_0x28ccef){_0x414627=_0x414627-0x1b6;let _0xe80b94=_0x2abb02[_0x414627];if(II1IIili['DBRJpl']===undefined){var _0x153427=function(_0x390f75){const _0x4f634a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x34950a='',_0x1684c9='';for(let _0x30e8b4=0x0,_0x29e0e0,_0x3f6962,_0x48a56c=0x0;_0x3f6962=_0x390f75['charAt'](_0x48a56c++);~_0x3f6962&&(_0x29e0e0=_0x30e8b4%0x4?_0x29e0e0*0x40+_0x3f6962:_0x3f6962,_0x30e8b4++%0x4)?_0x34950a+=String['fromCharCode'](0xff&_0x29e0e0>>(-0x2*_0x30e8b4&0x6)):0x0){_0x3f6962=_0x4f634a['indexOf'](_0x3f6962);}for(let _0x3e3d46=0x0,_0x205927=_0x34950a['length'];_0x3e3d46<_0x205927;_0x3e3d46++){_0x1684c9+='%'+('00'+_0x34950a['charCodeAt'](_0x3e3d46)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1684c9);};const _0x3df98b=function(_0x16433d,_0x16fc01){let _0x3efa12=[],_0x5d686b=0x0,_0x3d6ad3,_0x44e377='';_0x16433d=_0x153427(_0x16433d);let _0x197e25;for(_0x197e25=0x0;_0x197e25<0x100;_0x197e25++){_0x3efa12[_0x197e25]=_0x197e25;}for(_0x197e25=0x0;_0x197e25<0x100;_0x197e25++){_0x5d686b=(_0x5d686b+_0x3efa12[_0x197e25]+_0x16fc01['charCodeAt'](_0x197e25%_0x16fc01['length']))%0x100,_0x3d6ad3=_0x3efa12[_0x197e25],_0x3efa12[_0x197e25]=_0x3efa12[_0x5d686b],_0x3efa12[_0x5d686b]=_0x3d6ad3;}_0x197e25=0x0,_0x5d686b=0x0;for(let _0x21146e=0x0;_0x21146e<_0x16433d['length'];_0x21146e++){_0x197e25=(_0x197e25+0x1)%0x100,_0x5d686b=(_0x5d686b+_0x3efa12[_0x197e25])%0x100,_0x3d6ad3=_0x3efa12[_0x197e25],_0x3efa12[_0x197e25]=_0x3efa12[_0x5d686b],_0x3efa12[_0x5d686b]=_0x3d6ad3,_0x44e377+=String['fromCharCode'](_0x16433d['charCodeAt'](_0x21146e)^_0x3efa12[(_0x3efa12[_0x197e25]+_0x3efa12[_0x5d686b])%0x100]);}return _0x44e377;};II1IIili['MynQRi']=_0x3df98b,_0x3514d7=arguments,II1IIili['DBRJpl']=!![];}const _0x4bca7b=_0x2abb02[0x0],_0x45075a=_0x414627+_0x4bca7b,_0x10fabe=_0x3514d7[_0x45075a];return!_0x10fabe?(II1IIili['TGmQoY']===undefined&&(II1IIili['TGmQoY']=!![]),_0xe80b94=II1IIili['MynQRi'](_0xe80b94,_0x28ccef),_0x3514d7[_0x45075a]=_0xe80b94):_0xe80b94=_0x10fabe,_0xe80b94;},II1IIili(_0x3514d7,_0xf46c17);}const runInterval=process[IIIlIlii(0x337,'kALX')][IIIlIlii(0x378,'!TV!')]||'',isNotify=![],invalidIdsMap=new Map(),maxThreads=0x3,cookiesArr=Object[IIIlIlii(0x2f6,'[kzu')](jdCookie)[IIIlIlii(0x28f,'fb@&')](liI111il=>jdCookie[liI111il])[IIIlIlii(0x36d,'@o0p')](il1iI11l=>il1iI11l);!cookiesArr[0x0]&&($[IIIlIlii(0x27a,'nHLJ')]($[IIIlIlii(0x260,'m*ue')],IIIlIlii(0x26c,'!TV!')),process[IIIlIlii(0x2ac,'3XQV')](0x1));!(async()=>{const iIillIiI=IIIlIlii,l1lIIi1i={'uivXS':function(IIIll111,lliiIIll,llI1il1l,I1111l1l,II1iliI,lIlillii){return IIIll111(lliiIIll,llI1il1l,I1111l1l,II1iliI,lIlillii);},'Menpo':iIillIiI(0x2a6,')3^m'),'hbQuc':function(iiiI1ill,I1I1lll1){return iiiI1ill>I1I1lll1;},'krxdf':function(ill1ii11,iIl1iI1I){return ill1ii11<=iIl1iI1I;},'xLMOJ':iIillIiI(0x2b2,'GW9l'),'zZLiG':function(lI1I1iiI,iIIliI1I){return lI1I1iiI!==iIIliI1I;},'oEUYf':iIillIiI(0x368,'cDq4'),'OsCUE':iIillIiI(0x2b0,')3^m'),'btdwp':function(iiIIIIl,l1l1liI){return iiIIIIl(l1l1liI);},'ruxZQ':function(IIiIlIil,il1iIIil){return IIiIlIil>=il1iIIil;},'tqanb':iIillIiI(0x288,'ZSR7'),'yCjHL':function(i1llI11i,il11IiI){return i1llI11i!==il11IiI;},'fOxYV':iIillIiI(0x1c7,'3ZSS'),'ukHFG':iIillIiI(0x354,'^NPP'),'sTHFR':function(lII1I1Ii,i1lIii1i){return lII1I1Ii===i1lIii1i;},'GwSyS':iIillIiI(0x1dd,'aX7j'),'Tikdb':function(i1lIiIl1,liilIi1l){return i1lIiIl1(liilIi1l);},'HApvz':function(II111Ill,lI1lIl1i){return II111Ill>lI1lIl1i;},'wUsRv':function(l1lIliiI,lIII11i1){return l1lIliiI!==lIII11i1;},'Alqdt':function(I1iIil1I,iilIii1i){return I1iIil1I>iilIii1i;},'FQvlo':iIillIiI(0x2cd,'fb@&'),'HSDIR':iIillIiI(0x333,'OcFi'),'nMgyO':iIillIiI(0x2be,'^NPP'),'vgPlF':iIillIiI(0x2f5,'4M@E')};try{notify[iIillIiI(0x2b7,'aX7j')]({'title':$[iIillIiI(0x1d5,'TxgV')]});if(l1lIIi1i[iIillIiI(0x216,'nHLJ')](idList[iIillIiI(0x24a,'y^Bb')],0x0))idList=[...new Set(idList[iIillIiI(0x244,'YHkb')](IlliI1ll=>IlliI1ll!==''))];if(l1lIIi1i[iIillIiI(0x27e,'s0Vc')](idList[iIillIiI(0x252,'qd#K')],0x0)){console[iIillIiI(0x1f8,'p7OR')](l1lIIi1i[iIillIiI(0x322,'p7OR')]);return;}$[iIillIiI(0x300,'L$gX')]=null;if(runInterval){if(l1lIIi1i[iIillIiI(0x281,'GW9l')](l1lIIi1i[iIillIiI(0x1d7,'4M@E')],l1lIIi1i[iIillIiI(0x1e3,'M0CB')]))try{const IIi1lIll=l1lIIi1i[iIillIiI(0x363,'!TV!')](parseInt,runInterval);l1lIIi1i[iIillIiI(0x29d,'3XQV')](IIi1lIll,0x0)&&($[iIillIiI(0x26d,'0xJI')]=IIi1lIll);}catch{console[iIillIiI(0x285,'aX7j')](l1lIIi1i[iIillIiI(0x31b,'#hrD')]);}else iilIilIl[iIillIiI(0x2de,')3^m')]=iililil1;}try{const ll1li1lI=l1lIIi1i[iIillIiI(0x1cd,'s0Vc')](parseInt,taskThreads);l1lIIi1i[iIillIiI(0x1bd,')3^m')](ll1li1lI,0x0)&&l1lIIi1i[iIillIiI(0x201,'!TV!')](ll1li1lI,0x1)&&(taskThreads=ll1li1lI);}catch{l1lIIi1i[iIillIiI(0x313,'3XQV')](l1lIIi1i[iIillIiI(0x2df,'[kzu')],l1lIIi1i[iIillIiI(0x1b8,'GW9l')])?taskThreads=0x1:iIlII1l[iIillIiI(0x2dc,')3^m')]=!![];}taskThreads=Math[iIillIiI(0x1f9,'7]##')](taskThreads,maxThreads);try{if(l1lIIi1i[iIillIiI(0x376,'p7OR')](l1lIIi1i[iIillIiI(0x297,'ZSR7')],l1lIIi1i[iIillIiI(0x31c,'cDq4')])){const I11iilI1=l1lIIi1i[iIillIiI(0x362,'Iywz')](parseInt,accountThreads);l1lIIi1i[iIillIiI(0x25b,'@704')](I11iilI1,0x0)&&l1lIIi1i[iIillIiI(0x2fe,'p7OR')](I11iilI1,0x1)&&(accountThreads=I11iilI1);}else Ill11lll[iIillIiI(0x1ec,'JUvF')](i1Il1iii+iIillIiI(0x26f,'M0CB')+li1ii111[iIillIiI(0x2a9,'3XQV')]('、'));}catch{accountThreads=0x1;}accountThreads=Math[iIillIiI(0x203,'T*nR')](accountThreads,maxThreads),$[iIillIiI(0x1e8,'a3Tz')]=[],$[iIillIiI(0x208,'a3Tz')]=![],l1lIIi1i[iIillIiI(0x1be,'jRcj')](idList[iIillIiI(0x2a3,'CKSo')],0x1)&&(l1lIIi1i[iIillIiI(0x1e2,'y^Bb')](l1lIIi1i[iIillIiI(0x2d4,')3^m')],l1lIIi1i[iIillIiI(0x32b,'gIao')])?$[iIillIiI(0x1f5,'bCik')]=!![]:IiII1ii1[iIillIiI(0x1fa,'SgOR')](I1il11l+iIillIiI(0x1e6,'^w5$'))),await common[iIillIiI(0x35f,'Iywz')](accountThreads,cookiesArr,async(Iil1IiIl,iliili1)=>{const iI1l1li=iIillIiI;await l1lIIi1i[iI1l1li(0x24d,'Iywz')](concMain,taskThreads,idList,Iil1IiIl,iliili1,Main);if($[iI1l1li(0x272,'GW9l')])await $[iI1l1li(0x282,'JUvF')]($[iI1l1li(0x2c0,'^NPP')]);}),isNotify&¬ify[iIillIiI(0x1ea,'!TV!')]()&&await notify[iIillIiI(0x1c4,'7]##')]();}catch(iIl1l11){l1lIIi1i[iIillIiI(0x328,'3ZSS')](l1lIIi1i[iIillIiI(0x211,'kALX')],l1lIIi1i[iIillIiI(0x347,'H*PF')])?(IliIIlll[iIillIiI(0x1b7,'cDq4')](Ii11Iiil[iIillIiI(0x37a,'gIao')],l1lIIi1i[iIillIiI(0x1fc,'kALX')]),ilIII11I[iIillIiI(0x30e,'!TV!')](0x1)):console[iIillIiI(0x23f,'cDq4')](iIillIiI(0x2a2,'^w5$')+iIl1l11);}})()[IIIlIlii(0x2dd,'kALX')](IlIIIli1=>$[IIIlIlii(0x344,'3ZSS')](IlIIIli1))[IIIlIlii(0x1da,'VHse')](()=>$[IIIlIlii(0x34c,'4M@E')]());async function Main(lIl11l,I11liiII){const lIiIilli=IIIlIlii,iiIIiiI1={'WSkUW':function(IiilI1Ii,IiIliIII){return IiilI1Ii(IiIliIII);},'FgGfa':function(illli11i,I1lil1il){return illli11i>=I1lil1il;},'BrZWW':lIiIilli(0x278,'OcFi'),'kEHfl':lIiIilli(0x1b6,'@o0p'),'Jrzqc':function(II11ilii,illilli1){return II11ilii>illilli1;},'fgagr':function(iIiiiiIl,iIi11){return iIiiiiIl!==iIi11;},'bXDHu':lIiIilli(0x277,'4M@E'),'swkWR':lIiIilli(0x317,'jRcj'),'YKVWk':lIiIilli(0x2e7,'0xJI'),'qlqBq':lIiIilli(0x32a,'CKSo'),'aZRpv':lIiIilli(0x327,'T*nR'),'QutbG':function(lilIiIli,iillIII1){return lilIiIli===iillIII1;},'yoSwM':function(iIl1iI11,lI1i1II1){return iIl1iI11===lI1i1II1;},'QGvfi':lIiIilli(0x26b,'3ZSS'),'OuyjW':lIiIilli(0x380,'a3Tz'),'CApTi':lIiIilli(0x263,'qd#K'),'ncFYW':lIiIilli(0x1c9,'m*ue'),'CPfER':lIiIilli(0x21d,'[kzu'),'tkcsS':function(lI1Iilii,Iil1i1l1){return lI1Iilii!==Iil1i1l1;},'UxTsG':lIiIilli(0x37b,'[4dB'),'SSoXd':function(I1li1lIi,ii1i1iii){return I1li1lIi!==ii1i1iii;},'BSAlO':lIiIilli(0x20d,'7]##'),'QAWOg':lIiIilli(0x1ba,'3ZSS'),'DqIcH':lIiIilli(0x1fe,'yOe3'),'WYNjv':lIiIilli(0x2e8,'4M@E'),'kPuYj':lIiIilli(0x24c,'^NPP'),'qxBif':lIiIilli(0x1f2,'bCik'),'fGLAi':function(IlIIIliI,I1I1IlI1){return IlIIIliI===I1I1IlI1;},'tVymj':lIiIilli(0x36a,'!TV!'),'rCDGI':lIiIilli(0x221,'jRcj'),'fBeyO':function(ii1IiIl1,i1iIiiII){return ii1IiIl1(i1iIiiII);},'ugLUY':function(lIIiI1il,iiI1l11l){return lIIiI1il>=iiI1l11l;},'dXgTm':function(lIllIIlI,liI11III){return lIllIIlI(liI11III);},'LSNFF':function(IiIIi11I,lIIIiliI){return IiIIi11I===lIIIiliI;},'RqGnh':lIiIilli(0x298,'#hrD'),'lRZFs':lIiIilli(0x239,'YHkb'),'kPilp':lIiIilli(0x2d9,'JUvF'),'afsal':lIiIilli(0x348,'3XQV'),'pwVFV':lIiIilli(0x2c9,'fb@&'),'fPHWL':lIiIilli(0x22a,'0xJI'),'VaBef':lIiIilli(0x379,'fb@&'),'NtPPy':lIiIilli(0x27b,'Z3@y'),'OqDkr':lIiIilli(0x330,'aX7j'),'xNJQH':lIiIilli(0x296,'[4dB'),'gJQHU':lIiIilli(0x36f,'p7OR'),'vJdeR':lIiIilli(0x1c3,'!TV!'),'cokvi':lIiIilli(0x364,'jRcj'),'TcPdZ':function(iIi1lil1,lllI1ili){return iIi1lil1===lllI1ili;},'AYMmZ':lIiIilli(0x2d7,'FvPn'),'SyrNC':lIiIilli(0x2ae,'!Ed7'),'rCAOk':lIiIilli(0x217,'M0CB'),'PKNZK':lIiIilli(0x28b,'GW9l'),'DJpPh':lIiIilli(0x232,'fb@&'),'HffpZ':lIiIilli(0x2a0,'#hrD'),'NJwaH':lIiIilli(0x262,'L$gX'),'tDdpw':lIiIilli(0x279,'@o0p'),'HRTyb':lIiIilli(0x2d2,'T*nR'),'NdGNo':lIiIilli(0x375,'GW9l'),'sWhFH':lIiIilli(0x229,'JUvF'),'GfBiv':function(Illl1lIi,lli1l1Il){return Illl1lIi<lli1l1Il;},'ELLyX':function(lIlIii1I,II1IIiil){return lIlIii1I!==II1IIiil;},'oxshJ':lIiIilli(0x2ee,'Ee%N'),'klkOD':function(llII,llIi11,Il11IIlI){return llII(llIi11,Il11IIlI);},'HrZoZ':lIiIilli(0x35d,'3ZSS'),'JAHxa':lIiIilli(0x319,'CKSo'),'bVRtz':function(IIIi11i1,II1lll1i){return IIIi11i1(II1lll1i);},'kPNyx':function(l1ii11iI,IlI1lll){return l1ii11iI===IlI1lll;},'WrTre':lIiIilli(0x381,'#hrD'),'WNSGG':lIiIilli(0x314,'!Ed7'),'gPntx':lIiIilli(0x22c,'bCik'),'HxWun':function(II11IIIl,ii1I1Iii){return II11IIIl(ii1I1Iii);}},{title:liIiIIl1,UA:lIli1i11,cookie:lliIl11I,message:lilllliI}=I11liiII;if(invalidIdsMap[lIiIilli(0x294,'Z3@y')](lIl11l))return;let Iil1iIii='',li1IiI1I=undefined,IIiI1Il=[];await iiIIiiI1[lIiIilli(0x2ce,'gIao')](IIii1i1,iiIIiiI1[lIiIilli(0x22b,'!TV!')]);if(invalidIdsMap[lIiIilli(0x2f0,'yOe3')](lIl11l))return;if(iiIIiiI1[lIiIilli(0x2fb,'TxgV')](typeof li1IiI1I,iiIIiiI1[lIiIilli(0x1df,'TxgV')])){if(iiIIiiI1[lIiIilli(0x309,'FvPn')](iiIIiiI1[lIiIilli(0x1fd,'[4dB')],iiIIiiI1[lIiIilli(0x1d1,'VHse')])){if(li1IiI1I)console[lIiIilli(0x359,'^NPP')](liIiIIl1+lIiIilli(0x1e0,'ZSR7'));else{if(invalidIdsMap[lIiIilli(0x301,'nHLJ')](lIl11l))return;await iiIIiiI1[lIiIilli(0x1c6,'gIao')](IIii1i1,iiIIiiI1[lIiIilli(0x2cb,'Ee%N')]);}}else I1llI1iI[lIiIilli(0x285,'aX7j')](''+I1li111l+liiIiIIl[lIiIilli(0x274,'a3Tz')]);}async function l1i1li1(lllli1i1,iiil1Ili){const l11lIiil=lIiIilli,i111l1Il={'GweJq':function(i1liillI,Ili11iII){const i11li1I=II1IIili;return iiIIiiI1[i11li1I(0x209,'FvPn')](i1liillI,Ili11iII);},'TFlpY':function(l1Iiil1,Ilil111l){const i1ilil=II1IIili;return iiIIiiI1[i1ilil(0x213,'Ee%N')](l1Iiil1,Ilil111l);},'ypylq':function(I1iIliii,IIiliII1){const iliIIl1i=II1IIili;return iiIIiiI1[iliIIl1i(0x323,'FvPn')](I1iIliii,IIiliII1);}};if(iiIIiiI1[l11lIiil(0x1f7,'7]##')](iiIIiiI1[l11lIiil(0x2a4,'^w5$')],iiIIiiI1[l11lIiil(0x275,'OcFi')]))try{if(iiIIiiI1[l11lIiil(0x207,'%sg5')](iiIIiiI1[l11lIiil(0x29b,'@704')],iiIIiiI1[l11lIiil(0x2d3,'@704')]))switch(lllli1i1){case iiIIiiI1[l11lIiil(0x32e,'M0CB')]:if(iiIIiiI1[l11lIiil(0x2da,'VHse')](iiil1Ili[l11lIiil(0x2fa,'a3Tz')],!![])){let lI11il1I=iiil1Ili[l11lIiil(0x219,'gIao')];Array[l11lIiil(0x2c6,')3^m')](lI11il1I)&&(lI11il1I=lI11il1I[0x0]);li1IiI1I=iiIIiiI1[l11lIiil(0x276,'gIao')](lI11il1I?.[l11lIiil(0x311,'@704')]?.[l11lIiil(0x1fb,'ZSR7')],0x1),Iil1iIii=lI11il1I?.[l11lIiil(0x22d,'SgOR')]?.[0x0]?.[l11lIiil(0x2af,'ZSR7')]?.[l11lIiil(0x2d6,'7]##')];const {venderCardName:Iil1lI11,venderCardLogo:Illi1IIl}=lI11il1I?.[l11lIiil(0x250,'a3Tz')];if(lI11il1I?.[l11lIiil(0x339,'SgOR')]&&!Iil1lI11&&!Illi1IIl){console[l11lIiil(0x307,'Ee%N')](liIiIIl1+l11lIiil(0x2ef,'Iywz')),invalidIdsMap[l11lIiil(0x2cf,'0xJI')](lIl11l,!![]);return;}!$[l11lIiil(0x2c5,'jRcj')+lIl11l]&&($[l11lIiil(0x295,'M0CB')+lIl11l]=!![],console[l11lIiil(0x29c,'fb@&')](l11lIiil(0x321,'4M@E')+lIl11l),console[l11lIiil(0x355,'!Ed7')](l11lIiil(0x306,'0xJI')+(lI11il1I?.[l11lIiil(0x247,'ZSR7')]?.[l11lIiil(0x200,'GW9l')]||'未知')+'\x0a'));}else iiil1Ili[l11lIiil(0x371,'L$gX')]?iiIIiiI1[l11lIiil(0x2f4,'[4dB')](iiIIiiI1[l11lIiil(0x1d0,'ZSR7')],iiIIiiI1[l11lIiil(0x220,'H*PF')])?iIlIlilI[l11lIiil(0x346,'4M@E')](lilIilll+l11lIiil(0x37d,'a9]r')):console[l11lIiil(0x1d2,'7]##')](''+liIiIIl1+iiil1Ili[l11lIiil(0x34f,'p!([')]):console[l11lIiil(0x35a,'OcFi')](liIiIIl1+l11lIiil(0x2e9,'m*ue')+JSON[l11lIiil(0x2f3,'y^Bb')](iiil1Ili)+l11lIiil(0x20e,'[4dB'));break;case iiIIiiI1[l11lIiil(0x2c4,'JUvF')]:if(iiIIiiI1[l11lIiil(0x204,'7]##')](iiil1Ili[l11lIiil(0x253,'kALX')],!![])){if(iiIIiiI1[l11lIiil(0x33a,'H*PF')](iiil1Ili[l11lIiil(0x1ff,'jRcj')],iiIIiiI1[l11lIiil(0x35e,'!Ed7')])){if(iiil1Ili[l11lIiil(0x1f1,'cDq4')]&&iiil1Ili[l11lIiil(0x2bb,'TxgV')]?.[l11lIiil(0x242,'cDq4')]){if(iiIIiiI1[l11lIiil(0x293,'@704')](iiIIiiI1[l11lIiil(0x286,'^w5$')],iiIIiiI1[l11lIiil(0x367,'Ee%N')])){IIiI1Il=[];for(const llI1lI1 of iiil1Ili[l11lIiil(0x264,'nHLJ')]?.[l11lIiil(0x24e,'JUvF')]?.[l11lIiil(0x29e,'[kzu')]){if(iiIIiiI1[l11lIiil(0x1ee,'qd#K')](iiIIiiI1[l11lIiil(0x1bb,'CKSo')],iiIIiiI1[l11lIiil(0x205,'@704')]))I11i1IIl=0x1;else{const {prizeType:i1iI1Ili}=llI1lI1;switch(i1iI1Ili){case 0x1:case 0x17:IIiI1Il[l11lIiil(0x351,'SgOR')](l11lIiil(0x256,'^NPP')),lilllliI[l11lIiil(0x2ad,'kALX')](l11lIiil(0x21f,'3XQV'));break;case 0x4:IIiI1Il[l11lIiil(0x23c,'%sg5')](llI1lI1[l11lIiil(0x234,'FvPn')]+l11lIiil(0x1f0,'a9]r')),lilllliI[l11lIiil(0x1ce,'p7OR')](llI1lI1[l11lIiil(0x377,'L$gX')]+l11lIiil(0x372,'ZSR7'));break;case 0x6:IIiI1Il[l11lIiil(0x2ba,'0xJI')](llI1lI1[l11lIiil(0x2c2,'[kzu')]+l11lIiil(0x31d,'p!([')),lilllliI[l11lIiil(0x1d3,'TxgV')](llI1lI1[l11lIiil(0x302,')3^m')]+l11lIiil(0x23d,'YHkb'));break;case 0xe:IIiI1Il[l11lIiil(0x351,'SgOR')](llI1lI1[l11lIiil(0x215,'GW9l')]+l11lIiil(0x1c5,'ZSR7')),lilllliI[l11lIiil(0x235,'nHLJ')](llI1lI1[l11lIiil(0x36c,'TxgV')]+l11lIiil(0x2a5,'FvPn'));break;default:IIiI1Il[l11lIiil(0x212,'TxgV')](''+llI1lI1[l11lIiil(0x228,'OcFi')]+llI1lI1[l11lIiil(0x255,'Z3@y')]),lilllliI[l11lIiil(0x20a,'GW9l')](''+llI1lI1[l11lIiil(0x2d8,'^NPP')]+llI1lI1[l11lIiil(0x245,'^w5$')]);}}}if(iiIIiiI1[l11lIiil(0x30d,'3XQV')](IIiI1Il[l11lIiil(0x2d1,'Z3@y')],0x0))console[l11lIiil(0x1f8,'p7OR')](liIiIIl1+l11lIiil(0x236,'s0Vc')+IIiI1Il[l11lIiil(0x2c1,'[4dB')]('、'));else{if(iiIIiiI1[l11lIiil(0x2bf,'M0CB')](iiIIiiI1[l11lIiil(0x20f,'gIao')],iiIIiiI1[l11lIiil(0x34e,'a9]r')]))console[l11lIiil(0x2b4,'ZSR7')](liIiIIl1+l11lIiil(0x218,'y^Bb'));else{ili1iI1I[l11lIiil(0x312,'YHkb')](iIi1illl+l11lIiil(0x222,'nHLJ')),I1I1iIl1[l11lIiil(0x31e,'cDq4')](ilil11il,!![]);return;}}}else try{const ll1llI1l=iiIIiiI1[l11lIiil(0x249,'H*PF')](il1IiiiI,l11lIIl1);iiIIiiI1[l11lIiil(0x361,'[kzu')](ll1llI1l,0x0)&&(li1li1i1[l11lIiil(0x267,'!TV!')]=ll1llI1l);}catch{iiliiiil[l11lIiil(0x251,'m*ue')](iiIIiiI1[l11lIiil(0x2f7,')3^m')]);}}else{if(iiIIiiI1[l11lIiil(0x349,'3ZSS')](iiIIiiI1[l11lIiil(0x259,'GW9l')],iiIIiiI1[l11lIiil(0x299,'3ZSS')])){lllIiIiI[l11lIiil(0x224,'H*PF')](iiIIiiI1[l11lIiil(0x214,'s0Vc')]);return;}else console[l11lIiil(0x33d,'#hrD')](liIiIIl1+l11lIiil(0x280,'yOe3'));}}else iiIIiiI1[l11lIiil(0x34d,'FvPn')](iiil1Ili[l11lIiil(0x1c0,'CKSo')],iiIIiiI1[l11lIiil(0x25a,'[4dB')])?iiIIiiI1[l11lIiil(0x1de,'p!([')](iiIIiiI1[l11lIiil(0x2f9,'p!([')],iiIIiiI1[l11lIiil(0x329,'Iywz')])?Ii1i1I1l=liI11l1I:console[l11lIiil(0x359,'^NPP')](''+liIiIIl1+iiil1Ili[l11lIiil(0x34a,'GW9l')]+l11lIiil(0x310,'!TV!')):console[l11lIiil(0x33d,'#hrD')](''+liIiIIl1+iiil1Ili[l11lIiil(0x2f2,'s0Vc')]+l11lIiil(0x1f6,'!Ed7'));}else iiil1Ili[l11lIiil(0x345,'Iywz')]?iiIIiiI1[l11lIiil(0x2ff,'p7OR')](iiIIiiI1[l11lIiil(0x26a,'[4dB')],iiIIiiI1[l11lIiil(0x32d,'bCik')])?l1lIlli1[l11lIiil(0x225,'FvPn')](''+llIllIlI+I11IliII[l11lIiil(0x2b6,'@704')]+l11lIiil(0x29a,'Z3@y')):console[l11lIiil(0x355,'!Ed7')](''+liIiIIl1+iiil1Ili[l11lIiil(0x2fd,'a9]r')]+l11lIiil(0x30a,'aX7j')):console[l11lIiil(0x24f,'bCik')](liIiIIl1+l11lIiil(0x37e,'y^Bb'));break;}else Ii1lIll1=0x1;}catch(i1l1lIIi){console[l11lIiil(0x307,'Ee%N')](l11lIiil(0x2e0,'YHkb')+lllli1i1+l11lIiil(0x315,'a9]r')+(i1l1lIIi[l11lIiil(0x21b,'VHse')]||i1l1lIIi));}else{const i1Il1il=i111l1Il[l11lIiil(0x202,'^w5$')](ilII1lli,IiIl1l11);i111l1Il[l11lIiil(0x266,')3^m')](i1Il1il,0x0)&&i111l1Il[l11lIiil(0x37f,')3^m')](i1Il1il,0x1)&&(iIii1Ii=i1Il1il);}}async function IIii1i1(lI1ll1iI){const lII1lili=lIiIilli,IIi1IIi={'AsqQG':function(i1liIiil,IiIl1li1){const lIll1ll=II1IIili;return iiIIiiI1[lIll1ll(0x2c3,'a3Tz')](i1liIiil,IiIl1li1);}};if(iiIIiiI1[lII1lili(0x2db,'^w5$')](iiIIiiI1[lII1lili(0x2e2,'#hrD')],iiIIiiI1[lII1lili(0x22e,'qd#K')]))Ilil1i1I[lII1lili(0x303,'7]##')+IIiiI11]=!![],I1lIIll1[lII1lili(0x1c1,'jRcj')](lII1lili(0x2eb,'3ZSS')+iili1iil),lI1li1II[lII1lili(0x22f,'[kzu')](lII1lili(0x243,'3ZSS')+(liIIi1lI?.[lII1lili(0x241,')3^m')]?.[lII1lili(0x25c,')3^m')]||'未知')+'\x0a');else{let iIi111l=iiIIiiI1[lII1lili(0x269,'CKSo')],IIll1l11=null,i1lli1Il=null,lIlIlI1l=iiIIiiI1[lII1lili(0x342,'!Ed7')],iil1IIlI={},I1Il1ii1={};switch(lI1ll1iI){case iiIIiiI1[lII1lili(0x33b,'Ee%N')]:I1Il1ii1={'appId':iiIIiiI1[lII1lili(0x31a,'a9]r')],'appid':iiIIiiI1[lII1lili(0x23e,'[kzu')],'functionId':iiIIiiI1[lII1lili(0x1c2,'#hrD')],'clientVersion':iiIIiiI1[lII1lili(0x31f,'M0CB')],'client':'H5','body':{'venderId':lIl11l,'payUpShop':!![],'queryVersion':iiIIiiI1[lII1lili(0x2fc,'FvPn')],'appid':iiIIiiI1[lII1lili(0x1e7,'!TV!')],'needSecurity':!![],'bizId':iiIIiiI1[lII1lili(0x2c8,'!TV!')],'channel':0x196},'version':iiIIiiI1[lII1lili(0x24b,'p7OR')],'t':!![],'ua':lIli1i11},iil1IIlI=await H5st[lII1lili(0x23a,'p!([')](I1Il1ii1),IIll1l11=iil1IIlI[lII1lili(0x283,'3ZSS')];break;case iiIIiiI1[lII1lili(0x289,'gIao')]:I1Il1ii1={'appId':iiIIiiI1[lII1lili(0x2bd,'Z3@y')],'appid':iiIIiiI1[lII1lili(0x343,'qd#K')],'functionId':iiIIiiI1[lII1lili(0x2b3,'yOe3')],'clientVersion':iiIIiiI1[lII1lili(0x1d6,'GW9l')],'client':'H5','body':{'venderId':lIl11l,'bindByVerifyCodeFlag':0x1,'registerExtend':{},'writeChildFlag':0x0,'channel':0x196,'appid':iiIIiiI1[lII1lili(0x287,'3XQV')],'needSecurity':!![],'bizId':iiIIiiI1[lII1lili(0x258,'^NPP')]},'version':iiIIiiI1[lII1lili(0x25f,'cDq4')],'t':!![],'ua':lIli1i11};Iil1iIii&&(iiIIiiI1[lII1lili(0x1f4,'#hrD')](iiIIiiI1[lII1lili(0x240,'7]##')],iiIIiiI1[lII1lili(0x21e,'[kzu')])?lIiII1[lII1lili(0x2d5,'YHkb')](Ii11iIII,IiIIi1l1):I1Il1ii1[lII1lili(0x340,'CKSo')][lII1lili(0x2bc,'TxgV')]=Iil1iIii);iil1IIlI=await H5st[lII1lili(0x1d9,'bCik')](I1Il1ii1),IIll1l11=iil1IIlI[lII1lili(0x1cb,'nHLJ')];break;}const IIiI111={'area':'','screen':iiIIiiI1[lII1lili(0x223,'cDq4')],'uuid':iiIIiiI1[lII1lili(0x27c,'H*PF')]};IIll1l11&&(iiIIiiI1[lII1lili(0x21c,'a3Tz')](iiIIiiI1[lII1lili(0x2ed,'[kzu')],iiIIiiI1[lII1lili(0x370,'fb@&')])?Object[lII1lili(0x33c,'fb@&')](IIll1l11,IIiI111):ili11Ili=l1iI1i1l);i1lli1Il&&Object[lII1lili(0x28c,'aX7j')](i1lli1Il,IIiI111);const IliIIi1l={'url':iIi111l,'method':lIlIlI1l,'headers':{'Accept':iiIIiiI1[lII1lili(0x1dc,'Iywz')],'Accept-Encoding':iiIIiiI1[lII1lili(0x231,'FvPn')],'Accept-Language':iiIIiiI1[lII1lili(0x292,'M0CB')],'Origin':iiIIiiI1[lII1lili(0x1eb,'M0CB')],'Referer':iiIIiiI1[lII1lili(0x2ec,'L$gX')],'Sec-Fetch-Dest':iiIIiiI1[lII1lili(0x2cc,'4M@E')],'Sec-Fetch-Mode':iiIIiiI1[lII1lili(0x1cf,'@704')],'Content-Type':iiIIiiI1[lII1lili(0x338,'s0Vc')],'User-Agent':lIli1i11,'Cookie':lliIl11I},'params':i1lli1Il,'data':IIll1l11,'timeout':0x7530};iiIIiiI1[lII1lili(0x36b,'p!([')](lIlIlI1l,iiIIiiI1[lII1lili(0x35c,'Ee%N')])&&(delete IliIIi1l[lII1lili(0x2a8,'Iywz')],delete IliIIi1l[lII1lili(0x2c7,'bCik')][iiIIiiI1[lII1lili(0x325,'L$gX')]]);const li11lili=0x1;let llI11lli=0x0,i1IiIII=null,li1ii1II=![];while(iiIIiiI1[lII1lili(0x206,'3XQV')](llI11lli,li11lili)){const iIl1iill=await common[lII1lili(0x2b5,'[kzu')](IliIIi1l);if(!iIl1iill[lII1lili(0x268,'L$gX')]){i1IiIII=''+liIiIIl1+lI1ll1iI+lII1lili(0x336,'[kzu')+iIl1iill[lII1lili(0x291,'FvPn')]+lII1lili(0x1cc,'0xJI'),llI11lli++;continue;}if(!iIl1iill[lII1lili(0x284,'H*PF')]){if(iiIIiiI1[lII1lili(0x304,'p7OR')](iiIIiiI1[lII1lili(0x210,'3XQV')],iiIIiiI1[lII1lili(0x36e,'p!([')])){const illi1iIi=iiIIiiI1[lII1lili(0x248,'yOe3')](IIlli,IlI1ill);iiIIiiI1[lII1lili(0x257,'yOe3')](illi1iIi,0x0)&&(liilIIii[lII1lili(0x335,'H*PF')]=illi1iIi);}else{i1IiIII=''+liIiIIl1+lI1ll1iI+lII1lili(0x350,'0xJI'),llI11lli++;continue;}}await iiIIiiI1[lII1lili(0x230,'TxgV')](l1i1li1,lI1ll1iI,iIl1iill[lII1lili(0x373,'3XQV')]),li1ii1II=![];break;}if(iiIIiiI1[lII1lili(0x20c,'YHkb')](llI11lli,li11lili)){console[lII1lili(0x1d8,'s0Vc')](i1IiIII);if(li1ii1II){if(iiIIiiI1[lII1lili(0x2b1,'s0Vc')](iiIIiiI1[lII1lili(0x1e5,'yOe3')],iiIIiiI1[lII1lili(0x341,'!TV!')])){const l1iiil1l=I1lilI1I[lII1lili(0x2ca,'!TV!')]();lliIIiII++,IIIi1[lII1lili(0x2ba,'0xJI')](IIi1IIi[lII1lili(0x2ab,'L$gX')](liIl1iI1,l1iiil1l));}else $[lII1lili(0x26e,'cDq4')]=!![];}}}}}async function concMain(l1I111Il=0x1,iII1i1i1,i11ll1i,liI1ii1i,i1i1i1iI){const lIiIllii=IIIlIlii,i1iillI1={'YvdzI':function(IIill1Ii,iIiIlIIl,lilliili){return IIill1Ii(iIiIlIIl,lilliili);},'iuweN':function(IiIlI11l){return IiIlI11l();},'RjPwe':function(Iililii,IIiIil){return Iililii===IIiIil;},'CZxgj':lIiIllii(0x1e4,'nHLJ'),'kZLmf':lIiIllii(0x334,'[kzu'),'TFpjA':function(i1iii111,ilIl1lii){return i1iii111<ilIl1lii;},'Akflg':function(liIIIIil,iI1ii1il){return liIIIIil>iI1ii1il;},'qvFtx':function(i1ilii,iiiI11I1){return i1ilii(iiiI11I1);},'WGDMs':function(ililII11,l1IiiiIl){return ililII11!==l1IiiiIl;},'DwhXA':lIiIllii(0x352,'jRcj'),'znTfE':lIiIllii(0x25e,'3ZSS'),'gTmxl':function(II11IiI1,I1IIiiI1,i1lIill1){return II11IiI1(I1IIiiI1,i1lIill1);},'NgNVr':function(ll1iIi1l,IIlillli){return ll1iIi1l(IIlillli);},'FGvuZ':lIiIllii(0x254,'!Ed7'),'RfvHM':lIiIllii(0x316,'^NPP'),'hNSLF':lIiIllii(0x25d,'m*ue'),'NatxJ':function(i1lilili,Ii1I1l){return i1lilili(Ii1I1l);},'ipqWb':function(Il1i11il){return Il1i11il();}};if($[lIiIllii(0x308,'y^Bb')][lIiIllii(0x1db,'aX7j')](liI1ii1i))return;const IIiI1lii=iII1i1i1[lIiIllii(0x365,'CKSo')](IlIiI1iI=>IlIiI1iI),I1IIl=i1iillI1[lIiIllii(0x366,'s0Vc')](decodeURIComponent,common[lIiIllii(0x1bc,'Iywz')](i11ll1i,i1iillI1[lIiIllii(0x246,'Iywz')])),ll11illI=lIiIllii(0x1bf,'@704')+liI1ii1i+'】'+I1IIl+':'+($[lIiIllii(0x32f,'L$gX')]?venderId+lIiIllii(0x320,'ZSR7'):''),IIlI1iii=notify[lIiIllii(0x326,'[4dB')](liI1ii1i,I1IIl),Ii1111=await common[lIiIllii(0x28a,'7]##')](i11ll1i);if(!Ii1111&&i1iillI1[lIiIllii(0x332,'VHse')](typeof Ii1111,i1iillI1[lIiIllii(0x1ca,'7]##')])){console[lIiIllii(0x21a,'VHse')](ll11illI+lIiIllii(0x2f1,'FvPn')),IIlI1iii[lIiIllii(0x226,'aX7j')](i1iillI1[lIiIllii(0x227,'7]##')]),$[lIiIllii(0x358,'bCik')][lIiIllii(0x382,'cDq4')](liI1ii1i);return;}const l1llI1lI=common[lIiIllii(0x331,'!Ed7')](I1IIl),li1II1i={'cookie':i11ll1i,'index':liI1ii1i,'title':ll11illI,'UA':l1llI1lI,'message':IIlI1iii};let i1IIl1ll=0x0;async function illIIlil(IiI1IIii){const l1IIil11=lIiIllii;await i1iillI1[l1IIil11(0x34b,'bCik')](i1i1i1iI,IiI1IIii,li1II1i),i1IIl1ll--,i1iillI1[l1IIil11(0x2ea,'4M@E')](I11l1lil);}async function I11l1lil(){const il1II11I=lIiIllii;if(i1iillI1[il1II11I(0x28e,'SgOR')](i1iillI1[il1II11I(0x1ef,'!Ed7')],i1iillI1[il1II11I(0x2e3,'T*nR')]))Ili1l1ii[il1II11I(0x307,'Ee%N')](''+iIiIIIIl+iiIl1iI1[il1II11I(0x30b,'YHkb')]+il1II11I(0x29f,'kALX'));else while(i1iillI1[il1II11I(0x353,'[kzu')](i1IIl1ll,l1I111Il)&&i1iillI1[il1II11I(0x35b,'aX7j')](IIiI1lii[il1II11I(0x2b9,'jRcj')],0x0)){const Il1lIiIi=IIiI1lii[il1II11I(0x324,'a9]r')]();i1IIl1ll++,await i1iillI1[il1II11I(0x357,'0xJI')](illIIlil,Il1lIiIi);}}const IIIiIIIl=Math[lIiIllii(0x30c,'y^Bb')](IIiI1lii[lIiIllii(0x318,'M0CB')],l1I111Il),lllIil1i=[];for(let iI1l1iil=0x0;i1iillI1[lIiIllii(0x37c,'p!([')](iI1l1iil,IIIiIIIl);iI1l1iil++){const iilII1I1=IIiI1lii[lIiIllii(0x273,'3XQV')]();i1IIl1ll++,lllIil1i[lIiIllii(0x2ba,'0xJI')](i1iillI1[lIiIllii(0x369,'VHse')](illIIlil,iilII1I1));}await Promise[lIiIllii(0x261,'3ZSS')](lllIil1i),i1iillI1[lIiIllii(0x2b8,'nHLJ')](I11l1lil),await new Promise(l1IilIII=>{const lIl1lII1=lIiIllii,Il11llIi={'ctstc':function(iiiII,Iii1lll1){const l11Iiill=II1IIili;return i1iillI1[l11Iiill(0x374,'Z3@y')](iiiII,Iii1lll1);},'CiRUm':i1iillI1[lIl1lII1(0x271,'L$gX')],'LHTYo':i1iillI1[lIl1lII1(0x20b,'gIao')],'KrNgc':function(i11l1ilI,Ii1lI1lI){const I1Iil1l1=lIl1lII1;return i1iillI1[I1Iil1l1(0x360,'3ZSS')](i11l1ilI,Ii1lI1lI);},'OHANT':function(lIi1ll1,Iiiil1Il){const I11iIIIi=lIl1lII1;return i1iillI1[I11iIIIi(0x2d0,'@704')](lIi1ll1,Iiiil1Il);},'pAeRv':function(iII1Iil1){const ilIi1il1=lIl1lII1;return i1iillI1[ilIi1il1(0x2a1,'GW9l')](iII1Iil1);}},Il1iII1=i1iillI1[lIl1lII1(0x1b9,'L$gX')](setInterval,()=>{const iI1I1i1I=lIl1lII1;Il11llIi[iI1I1i1I(0x30f,'FvPn')](Il11llIi[iI1I1i1I(0x237,'Ee%N')],Il11llIi[iI1I1i1I(0x1ed,'CKSo')])?Il11llIi[iI1I1i1I(0x32c,'TxgV')](i1IIl1ll,0x0)&&(Il11llIi[iI1I1i1I(0x2f8,'[4dB')](clearInterval,Il1iII1),Il11llIi[iI1I1i1I(0x305,'@704')](l1IilIII)):ll1lI1l1=i1IiiI11[0x0];},0x64);});}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)}
|