-
Notifications
You must be signed in to change notification settings - Fork 530
/
jd_jinggeng_showDrawOne.js
22 lines (17 loc) · 57.8 KB
/
jd_jinggeng_showDrawOne.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
活动名称:积分抽奖 · 京耕
活动链接:https://jinggeng-isv.isvjcloud.com/ql/front/showDrawOne?id=<活动id>&user_id=<店铺id>
环境变量:jd_jinggeng_showDrawOne_activityUrl // 活动链接
jd_jinggeng_showDrawOne_opencard // 是否入会(true/false),默认不入会
jd_jinggeng_showDrawOne_Notify // 是否通知(true/false),默认不通知
7 7 7 7 *
*/
const $ = new Env('积分抽奖(京耕)')
const jdCookie = require('./jdCookie')
const common = require('./function/jdCommon')
const notify = require('./function/sendJDNotify')
const getToken = require('./function/getToken')
const { jinggeng_savePrize } = require('./function/savePrize')
var iil='jsjiami.com.v7';const li1i1lil=lIliI111;function Iilil11i(){const Illll11=(function(){return[...[iil,'dPjLHsHHjiSuaBWmfAJiK.OQcDdoutgm.vqd7uOS==','W73dU0hcG8k8','Fxf1oxa','uYhdHSo+','a+ocQow6LEMrMEwsKEEKSoodQ18','FSkLWO0TWQ/cQ8o6A8oFB1ZdT3pdMW','8kY8Smox5OcY5zsb6i6h5B+7','W73dNGH+WRy','W43JGQRMTz3LIBdLNOlLNyFJGQi','5Rs55yIb5BA057I25P6y','bmo+WQVcKmo/W5C','WOJdKd/cTCoJ','WOBdOrddRrC','W6vmDGHyW5/cIu3cRWxdJ8oiW7asWQZdHCogW4VcRmoVea','W4nwlCk4jNC3vHZcSv0oACozxrDxW6VdHMONwGFcHaCqeSkjWQhcR0PkWQ4','vmoYw8kkW63cSSk3WR9AW7i3BKtdGG','omoprGbK','wSkVWPCCWQBcOmoJi8oLyM7dQW','mYxdJKm','ESk+ac/cJeLJ','mSknoWdcKW','aHZdVh7cLmkKWPdcLZaFW61mWPFcVrddQ8oj','AEAlL+s6SowUIEEkKCoL','wSo5qCkQW7pcN8koWPD4','vCorW6jEWRpcTZjAW7PpW4L/o8ox','W6hdNHtcUCofrmoCbLvMjCkxW6OcW43dUZXqg8o/jsO','WQRdVaBdGr9DzeO','dgOCAmkj','uYNdGCoUWRpcOW','W4j5AYL6','mXVdHudcMW','W7hdRWnnWOquW7jn','hCkzgmosW5ucamo3','W4hdJCo/W6FcQ8oNlqldKmkyxmkSghJcMei4W5JcSufC','ASk0WOSbWQ3cQCo+Amoi','57Uk5y6Li/cqTli','W7PGcmoKWOG','E8kdW6ldS3tcGgr3','EmkFeZdcMq','Cb/dT8o7AYyJxSovW6JcSmoK','ECozCmoqW7K','mZ7dTfRcTa','W7TmCG','smkubY3cQq','WRhcNmo5W5RcO1BcOG','q+E6UEAFGU+8M+s7S+AVPoAuM+EbGUACSowrQCoM','vmktWQ4NWPi','W41XW6uz','57Q75y+f8yg2JW','5lUq5Aw76ygq55YQ','BMtdNCkoW4qQWPW','qYxdM8oyWRNcP3HCamkeW5vwWOxdLsZdN8k0','CxtdGmk4W4SP','eZ9qWRFdR8kE','esWWW7vB','WPtcUmoi','W45joG','dHS/W4jexmke','WR3cMSo+W6FcO1ZcOG','W4Dxkmk9o20ttbhcILPmzG','bCkxW4xdTSkg','zCkbW6ldPM4','4PQIWONORRhLOO7LHz7MOytLVitMRRpNOjpNMRlPKP3MJAC','W4FcSSkNF3a','5REN5yIX5BAA57M25PYL77YJ57U+5P2X5PwP6zsn77+b','jbW4W4ba','5RAz5yQo5lQy6zQe5BUy6zoU5l2m5zg65y635lUq','l8ozWRpcLSoI','WP3dIZldQqG','cUE7SUADTEAuQ+MuKU++NW','uUwSPUEjQ8o+','W5tdK8o5W7RcMCoSbWldGmkpxCkKhG','m+IZJEIXKowoT+s7I8oN','ESoDBmohW5lcR8kofCk1WOm','WRSEWQnXWQSEDCoxCCoTEa','FUw/KEwNPo+9VoAyTEEcO+whM+AEPUwqMSkU','emoVCcWJ','a8o3zdrA','b8kaW4BdQSkHcM89WQnGW6GbW6i','WO5fjCk/WOhcGCopgG','nCkowa','gSoKEtO','W5nHW7ujW4/cLui','W73cU8kfFxa','W7dcK8kjq11kcH8','8y68S0BMGRxLLk7OJRdLVktLR63NIzjS','W6NdOW5cWQ8hW5zm','ymoXzmoAW5G','FSkFW7y','W53dJCoR','WRBcNCoEW4BcQvtcQq','WPRcTSoCW5y8WPbq','WR8EWQb6WRGjBmoC','W4tcGSksyh4','BK3cVmkInMPPzmoJW5RcKmooxIuRcg4','WRLfWO0','W43cMKBOS7ROSPdLJ4xKUR0','C0rEWPdcJ8o9W47cKZJcQa','W5FcV8kSz18','W4xdTCoFW7BcOG','k0/cKCkNmxaHCmoJW4dcUSo4vqmThef3qSkiWQBcQ2jRW7fKvvSFlr3cNdfMW4G','s8kuWQWMWOC','kfKbv8k8','lutcQq','cSobCfJcGe3dTa','W7WwW7S2wW','jcmsW6PG','WOiLsSkFW7S','u8orW6W','w8oFW79r','WPqrzCoNEsC8AZ/cSuTp','k0/cKCkNmxaHCmoJW4dcUSo4vqmThef3qSkiWQBcQ2jRW793rfWkjrVcGq','k0i7DSkfW7xcGmo4t8kUW6mmWRW','W4ddHxm','fmkfha','77215Bse5OMR5yI46iws5yUp55Iv6kYZ5PE46lwd5z+05z60FCke','W4tdTSo0W6dcQq','aSosvxxcSa','bpcVKPK','W7VdLSoNW6hcOq','nEA2HEwiO+EXI+wDQ++/Hq','W4pdL8oIW5BcG8oX','W6ddRXLSWO0dW5zmW4qjW5TQW4KC','qxGBWQS+','WQVdUahdKq','WPhcTSoOW5hcSq','b8o4CZThWPOzW4W','W4TCW78DW6y','w8oYtSkRW6tcPCkP','m8kYjmoJW6CKiCowWP4RWOO','W6lcSbOUWPZcRsrYlG','4P+GWORMNl7NNkZORlhMS5pcKa','emkitJRcPuhdJLVdVa8aW5e','yM4iWR8o','xgDli20','uH8WWO5hxCkyW4a/W7nwW6pcQ0LxW6P2W6L0W6imlCkSWQJdGG','56Ue5Rcq8l6ZKG','WRSoWQbBWRmF','WRdcLSoT','oCk3dW','aCk9W6ldT8kl','rmkxpJtcTW','dmoNWRNcH8oPW7FcVvX5','W7WkW78','W7ZcS8k/qey','WRxLVkpLP47VVBdMMytNGjtLHAVMNyBLK7W4','W6tdJSk5WPRdTaNcRmoUp8kmW6JdSq','ofyGE8kuW77cJmoY','W6NcK8kethXC','F8kVWPueWQZcUCoezSoEAW','xSoKsa','xSoDW79zWPBcTILtW6jyW4G','omkmnmkvWQxdUmk2kSkcWPGnWQC','WRDPfCkmWOdcTCoYmmo4','W4tdLSoyW6VcSG','imkmst7cKLRdLa','zCk6dG','WPfclq','pSkcuZ3cOuJdNW','44g+5lI65lIm6lwX5y+f','5BUQ6zku5zgr56wr77Y7da','iSkcjbRcGa','WQ0uWQ1RWRaEs8om','lSooWPyTW7L+dtm7','spgeV7m','WPvcj8kQ','B27dIq','utNdVSoiWRq','W6xdNepcMmkO','pvGNB8kJW7NcQW','ihJcGCkzia','BMddNG','bCkUibVcGq','8yUpLmoNgNdcLSoH5l6n5zgGW53WPkYm','W7/dTCoFW7tcPG','WPBcVCovW7NcJMtcLa','WRlcK8oWW7K2WQfZwhnFFa','W71mDGHWW4ZcI0y','W7FdPr5DWQCuW5rhW54+W7f2W6mtW5tcKZyrWQhdGg4','c8oNzt5gWOC5W5hdUSodW74KW5C','WOFKV6hMGARLIPhcNW','W6bOeSoJWO/dQW','ba/dQvlcLmkGWP/cNJS6W5PuWRdcRq','W7VcI8kFqwDsiHtcSmokW5iIW7C','8jUHHmkX56U95Rco','5REY5yUt5P6V5lUO77+h5Q605QYe5OIf5Awo5Rsl6icB','D0ux','iSkEtdFcQW','wSo5tmkJW7tcS8k/WQK','E8kxWQWBWQW','b8ovD3VcUv7dVW','WQm1WQG6CSkIW5/dSG','WPddSs3cRCob','BmkKhdBcQKviWQhcQ8kzEmkCW6m','W6/dPJP+WOW','d8o6vmkrWRZdSKij','WRNcImo/W4dcTKJcK8oTiCkJ','5l275Ogg5yI48kEgPU+7Gq','WRNcImo/W4dcTKJcLmoGmmk0W7JdGmomCxy','WRDIWQFcT1W','jSoxWOq6W69e','gLqlzCkP','DmkZWP4','W6tdKCoPW6hcO8o0lWK','WRrOdmkaWOm','5yQ55yAL5BMU6zks5l+z5zkw5OQh5yQr','x8kynWZdOfZdKhbYD8k5','p8keDqJcGW','W6nKkSk3pW','WRPCdSkSWRy','W6fnvdzh','dSk9pcBcVW','WPG/xmktW61iWPlcImoS','W75Vd8oIWPldQa','c3JcISkcfq','B+E5QUAEQo+9K+s6LUASKEAwHEEdP+ACU+wsILG','5BE75y2P5A6o','FSklW4rRWQGgw2zNWP0','WQJLURhPKQFPKkRMJ6RVVi4+vGhcRKaBlmkfqreuWRVcNgjXreZdMGGEfSoiWRldUqulW6dcNrKRomkY','WQ9QbSkPWP8','WRdcNmoKW47cTLK','WO8KtCkpW65kWPxcMG','W5zHW6CEW4VcGfq','fCkzha','yKurWPCR','xvbomLRcVa','gJVdU1tcGa','5PYv5lQt5AED','WOFdLSoNW7FcUSk+qmobW4f/e8kgBmoMW6ldNqW','WQqAWRP9WRu','5yMW5ys45BMq6zkW5lYM5zkB5AAd6lAY77Y05REg5yUg5lMi6zQK5BUH6zgW5l+35zog5y++5lUh','cWxdRMpcLSkKWP/cNG','BmojD8okW6JcUCk0hCk+WP8','tItdSmoGWRxcUM9uc8kzW5DkWPNdKIJdGCkvmmosWQHNWQBcGCknW61oWOxdOa','WPmJWRZdLSkD','4PYXtUADTUIbNoATGUEHGEwNS+EsQgS','WRddTG8','kmoCWPKnW7XEcdeZW75sW7BcGN3cJG','WRyLWR4cxq','W4DikW','WP3cR8ogW4C','W6/dTmk2W4SsW6/cPmkmc1hcKK1i','W7qbW7OQsg8i','WRC4WQKyxCkTW5BdUfxcRHRdV8kDgmoT','W5RdJ3RcRCkJW6pdUxi','WOZcTCoFW7RKV5JLKANXJRYv','dSkgcG','uSoNx8kJW6JcTmk7WQ5DW6KBohxcI8oRWR/dQuZcJ8kdW5b1ge3dQmoWnCk0W7KeWRxdGmoCsetcNSkLWPVcGe/cO8omjSkZWOHKW7r1','WR7cMmo5W4ZcL0pcQW','WQXUWPdcTNW','WOenWQnoWPO','W7TUgW','5zsy5A2NwX8eFZJOVitMNki','cCkmbIRcRmoEnG','dmoNWRNcH8oPW63cPuf5','WOTijmkRWQRcKSoRgW','bCoKWQZcHCo+WPNdQWm','oYJdP27cJa','WRyRWOFdO8knWPDTEG','W4xdJCoNW7BcGW'],...(function(){return[...['wSkjWPq9WPO','emkygmolW40dc8oW','E8kHWOOnWPBcVmo7','W57dN3RcJmkOW7u','W6lcSbOUWPZcScbXl2lcRf8','W6/cQbW','DM1TifC','rtddN8oVWRlcSeTCamkdW5v7WP4','B+ITJUAYTEwLRUI2UbdIN7b+','WRxcLCoDW7ac','lHpLJz3cNG','WOdcKmk/WQFdMmkJDvtcNCoRrCk+hMhcQeKSW4BcKv9yW63dTGldPxvcWPajnSobWRhdJNTEWO0','AComi8kvW6Ozz8k5c1m','BwJdJCkwW6SSWPtcGa','dXSYW6rpsW','rSoVW4DkWRK','eJniWOBdPSkjlICyW6tcMmkVWRJdKq','fmkvCdiQwXG','WOZdNtdcGmoA','q8otsCkMW5y','gdnpWRddQ8kljG','WOFcQCogW7ZcKEs8Q+wsN8oj','WPBdMaxcR8oA','sNvOWORcSa','W5ddGCo4W5/cGSoYcWG','W5RcKcOmWRO','W5VdUCoLW5xcGa','W7hdQWfCWOq','W6SfW74FqG','uvNdU8kOW6q','DLKx','z8oym8kmWRmbrCkXefm','WQveW5JcOgS1kmo0wSkynmohWOm1jKRdHCkFyHddKtldL1uACNVdGmkdW73cNmoXW6DuW4LRdCoVcLL0xqfAqZFcQG','bSoiWRpcKCoj','W5ztjSolWPi','a8oLDW','5REY5yUt5Bs857Un5P6c77235lIU5Q6z5PEX54c65P2P5zgagq','FmoCzSk3W6S','WRpdOrZdJtW','W4xdRh/cNCkw','dSodCXiwWQKj','l0RcO8kO','WOTijmkRWQRcKSo9fSos','DSoBm8ka','W4xdHgFcRmk0W6u','sNFdUCkSW4S','W4BdMMlcRCke','a8oZyYrtWPKz','nmoFDZvw','W6OpW6aPE30d','hSo1AJfC','W43dIwdcH8kNW7ZdLq','W5VdMmo6W6JcI8k+bSotW4j2','jfRcU8kKlgCvy8oNW5ZcQCoZtWyN','W7lMT6ZLIiFLSRxLNyhdGG','W40bW78mEG','pEs+JoAdL+wlHCku','WR3dUHZdJaXgwvFdISklWRC','WPutWPpdOmkP','btKKW5z3','q8kXgGFcSq','hSobB0JcSa','q0Ph','6ygX5yMI5l6t5zcb','5P+16ior6i2c5yY155sn5OIU6yIM5P+F5l6a5Okg','8lEUR++5KSo0','uColW6y','W45LW7qjW4S','WOyUxCkjW6jiWP4','ySopuG','WOOOwSktW7vgWO/cL8oChq','W4hdPmkHW40I','aG3dL0xcOa','4PYdWPNOH63MNBpOVy3OOBZPGkVLIA7KU5JPLRtOR4NcJG','WR04WRq5xCkKW5C','W4ddN8oMW6ZcUSkRaSoc','cSoevdSW','5l2+5Og05yIp8yceMo+6Mq','WPlcM8oGW7JcIa','WRxdTWBdGaHNEwpdKW','W7aTW68GBq','wvxdJ8klW5m','D058','W4xdG8oY','rKTeeKW','W5/dL8oH','Axm5WRiH','AmoBDSokW6RcQCkobCkgWOGN','r0pdJ8kQW4m','bmoLDdHF','W67cOGGVWPNcHca','yujEWPpcH8oOW6u','8kcFP3W','vchdNCo5WRK','cq7dIxJcK8kGWPW','j8kcwdRdR0FdJHVdHfOrW4r/cCotDCo/W5BcPehdGmoPWRtdOdNdPd7dJSoKWPZcIIfswL7dIgtdI8oEwKaGtmojWQq0DSkRju9Wtw9EFrr+WRzFqHX5W40','kmk0qrqkAb/cPW','WQmPWRuJuSkKW5VdSue','WQCPWOhdNSkjWQ96','zmkWgIZcV1TO','iSofyWqhWRO','A8o3DSo1W6W','WQCqWP0tsa','vdldHSoWWRNcI2rAhCkd','WQNcU8oKW4Cn','5AA95zkk5BEC5yYR5AYp','WPrdoCkQWR3cLa','WRldIqpcQSo7y8ko','qwieW7lcUCoFjbevW4lcJ8kF','CKqtWQOsq8kpWQC','WRBcISoUW4BcRW','l8oesHTa','W6/dTmk2W4SsW6/cSSkwdNFcJ3recLm','sSkVW7ddN2G','WOGTwmkUW5y','cSkwyJiE','dWxdUG','4PQ7cUIUH+wIREwhVUAGM+w/PEAUT+EHJEEyKUwmNEMgGG','5AAU5zcw5BwD5y2I5A+L','WRhcVvuAW5DvW5fGW6asW6f9','W7ZdPmkVW5Cd','xSkyW6xdTN0','o+IVNEAWSUwNT+I1GGFINBBdToAxG+wrM+w5KEAuVEApRa','W5n3W6e','nSk0tHqkAcu','xSkCatFcJG','ssxdNmo5WR3cS20','WONcISoVW5VcJfdcQSoX','Bmk2bXFcNa','W49dlSkNlNmZ','d8ojzW','stpdIa','le7cVCk+oxKJ','WQHfWPVcH0PU','j143wmki','cvbteKBcKwhcQG','W7jhAZfl','g8kbW7ldR8k7','hSkLuG3cQW','8kcFP3ZNIPdLPABOIzxKV63LK7zR8yIoPa','WQavWQ1YWQGFqmol','AvniWRxcRa','WRVcNmoKW7VcO1/cO8o7pmkvW7JdPSomCNq','mmkVkX3cUhL9','5Bwd5Aoj5z685z+t','W5L+W68kWOldKKn4W6esC0pcGgHBW5dcMa','g8oXwdqo','W7vFb8krpG','W6tcOG8rWP3cKdz+leK','WPCgWPpdVCkz','WPXAk8k9WQVcRSodeSot','6i+45y2VW5ClW7jBctb+5AAC6lsd776f','W7HqyG','fapdS3pcL8kY','W54NW4upEW','voA3QUwkH+wKPUwsRU+8Ga','AmkoWRyDWPu','8ks4Vta','j8ktDGtcTG','WP7cT8oyW77cHa','W4lcLseqWOO','B1rSWOZcSq','WOuQq8kF','WPtdMSok6lck6lcX5y+P5lMP','WQWkWRT3WQKcDSomECoXEdmoW5GF','ea/dQvRcKCk9WRZcKJyL','W6hdHSoUW6RcQG','yCkzW7/dGNtcHq','W4zrmCoYWRu','WRKRWO1VWQ8','W6ZdRmk7','WQZcMmo4W5RcPW','gSovBxJcU1S','W6xdSmk3W6qkW7FcHG','W4ldICoLW6pcV8oGla','gWCK','dSoNWP3cGmoy','5yUo5yEZ5BQh6zkT5lYO5zkM5OMS5yIG','b8oJvSkpWQ3dHuiuddSYfG','CCknW6ldOK/cK2u','m8kwqrCb','W6NdVWa','WQSVWOBdO8kjWQv6','W5ddPZ9EWRy','W47NIjlLPylOIizd','WO8WWRbmWPFdIMTlW5yCvg4','6i+K5yYXEXRcR0tdNXJdTEwLH+I1Lq','WPNcImoXW7xcVSkVjCoc','W51RrIr2','WQpdLqxcRCoFySoDbW','W6zlAGXqW4ZcI0y','W5RdHCo7W53cUSkU','f8ojAWqz','DwddGSkiW4a','WOyAWQmbFq','WPiTB8kQW4C','sSkgltlcNW','e8kNlCoXW5y','uSoXW6jhWOe','CMrHWPhcQq','dxRcLmkFaG','W5NcQCkDE30','fCkdW5xdJmkifgmRWOLhW74h','5P2m5Ao/5zYh5z69','qINdLW','W4NdH8o0W6RcSmkedSokW4S','5P2h6igT6i2V5yYJ55AL5OQu6yQW5P2V5l+95Og0776A','cr3dTh/cTG','W6n1jCkyhG','fSoHrmkv','6i6+5y2UiSo3W7pcQ8kFeSoZ5AEl6lwU77+/','W5fdkCkzjMWysXBcTq','W43dNxxcU8kIW4ldLxHLWRPQba','fWDgWRpdHG','oSk+taucFZJcTW','F8kPWPCjWQ/cOSoU','bmopza','WPeNWQFdP8k/','W6nNraPQ','W5ftpSk3','s+oaU+E4NEAEKUAwRUMxQUobLW','ygddMSkEW40','o109ESkfW4/cQSo5qmktW68','WPumWPVdNCkJ','W4dcJamtWPC','5RAL5yMs5Bsy57U75P2m77YN57Q05PYL5PsI6zwQ776H','nEs+JUAdSowjR28','tKzuhKlcSxhdRSk/qKq','WRJcLSoPW5ZcR1tcQCoG','W7PYgW','oCk7W5BdHSkF','qmkmoCoLW54IhG','xhKhWPuj','kLhcISk8cW','W7tcRHu4WPFcLa','ymowzSogW6q','WRHjWOhcPKL8p8o5d8kDs8koW6rO','o8kim8kwWQtdTmoceSkFWQGfWO3dRG','yhpdI8kCW5eO','4PUVWPNORidLHjFLRiFKUBNLVQNOP5/NM5RNJilLOQxLJzZPHktLKj3LHAtOVlpOOA/OH73MNkO','nmkcvaVcReRdLXpdHGiYW41gaq','WRvFWP/cIKr0o8kYaSkgzmozW5S7','WQCPWOhdUCkEWQTRB19c','WOWUqmkOW6jbWP/cGCo4kSkfdCogDqy','jLrzWRJcLmoAW6NcNMy','eZ9e','zmoDCCoqW73cP8kF','c8oNzt5gWOCVW4VdV8oLW6mDW5VcNCkV','WRuIWPRdOmkMWQnYCW','W5DQW7uFW5ZcHG','BSoNnCkKWOe','W7LmyG','5RE85yIs5BAu57Il5P+T77Yl5lQ45Q2s5PEs54kR5PYo5zofW7K','w8odf8k0WOm','W6NdG8oIW7tcHq','W4tdN8oY','W7jZW5ecW6O','W4LLW68o','oCo2tba2','5AET5B2r5lUG','gmksyHOg'],...(function(){return['vpcKR50','WPfwWPpcQNC','5AA95zkk5BEC5yAs6ygR5y++5A235lMO776z5lMY5Q+q5PAw54cw5P2+5zggmq','W4ldSmoeW57cQq','uqxdQSoFWP4','WPtcKCoqW7VcKW','5Rwc5yME5ysE5y2e776I','aSkvW5JdI8kj','W6DwAZLWW4K','n8kitIS','cSo7ua','rKTteKBcRa','8j+1Uo+5ICof5l+F5Oky5yIZ','AeaNE8om','WRKZWRqVtSk3','FvbReNa','BSoDDSoMW7dcPCkxgCk9WO4jWOFdJCoh','bSktvqKB','W4HHW6GEW4VcGg55','WPbElq','hSoUEI1t','bmkaftdcT8oi','cSoqAdX8','eSkDW4W','W5/dLmk6W6OX','E8kGbXRcSfG','W6ZdPXT4WQ0','DmkLWOOBWQlcQCoY','W4ddSKtcMCkb','WQRdIqe','hmkDbXa','zCoxzq','5yMy5yAY5BI46zgj5l2Z5zk65Asn6lsO77YV5RsR5yQA5lIN6zMG5BI06zcx5lYu5zcx5y+G5lI25zgJW7G','8y62M++7USkW5l+W5OcI5yIN','WPVcVmoE','W6RcQrGWWO3cHYbS','DCkVWP4','lLhcR8kggG','5AwF5zcu5BAB5ys36yc25y+T5A6b5lMj77+d5lUg5QYW5Psy54c/5P+c5zo6WQ4','wuboe1hcQKZdSW','W5FdUmojW7NcOq','bhCrtCk0W4JcH8oxBa','BmojD8okW6JcUCkPcmkYWOG/WQRdRCooCq','W7NdRCkSW5i5W6lcImkwa2a','F8ozBSowW7K','z27dJCkiW4GOWPFcKq','gSofBLlcO1RdIe16w8k/','WRFdGqpdGt4','aJjVWRRdQW','Cu4VWQWosCknWRngW7JcOHldSCo6WOVdSH7dQ8oNW4HCWORdKCo0W68IW5pdVSo3ra','W5hNUkFLJ4BdVW','aCooCfJcP0S','vSoMwSkMW7xcRSkFWRrqW5iCEMG','a8oLqSkuWR3dR3qocqCZl8o+ma0','WOGLWQ0cDW','kmoCWOmAW7fvatSWW5LKW73cONC','ymkhW7JdT0JcLgC','W7ubW6C+xwa','ESoDDSoGW7pcR8krfCk2','E8oDB8omW6RcPCkQe8k6WPq/','5RAf5yQS5BkC5P2q5B6U5As577YR5BYD5Awm5PAi6zEM77YT','cCkeeSoDW504aSoQWR0q','W6VcQby5','D8knW6xdPG','WR4AWQDQ','5BED5y+05A6S','W5VdG3RcRCkPW6y','W4BdKCo4W70','6iYW5y2CnN3cJG3dNKFdT+wLJoI2Va','c8kgxd84','W5fXW7i8W4lcK0a','5zsU5AYwD1lcVLRdTUI/PEACJa','hCkAW5ddM8ku','mCk9i8okW48','BSogiq','coA2KUwlRUw0L+s5IvG','oSo9zXj+','DSk1WO0UWQ/cR8oW','W40+qmkLW6jDWP7cJ8kO','emonAreLWRSc','WQmdWQ3dVSkG','W7bKeSosWQe','8jMjQ8oz','aJpdGmo/WQ7cT20oxSog','WRLdWPNcJ0PUaCo0dSkz','WQNcT8oNW6BcTa','W41TkSkEda','fCk3nCotW7u','spc3JPZVUli','b8ohqmk+WR4','suXy','ALjaWRtcH8oOW6NdLdJcRh7dRCkvba','W5PRW6upW4pcL0LP','nSovzrm5WQ8beW','yujEWRtcKmoSW7tcGW7cSx8','W47cRWevWPi','W5tcVSk1EfXIks4','sSonW65cWR/cTJK','8kYURo+5Gq','bmkVg8o+WRtcTmksWOHvW4qh','W6RdRX5AWOabW54','W6HIaSktafSsCq','n8k/sXux','bCo/WQVcGCoJW4lcQuK','wSopW75zWPtcPG5EW5zyW5bjn8oiWQi','56wL5yQd5OM+5AE0','kHiuWQSnqSkGWRe','W7zZW60GW6W','iCkctshcTKRdQHNdGrGe','cSkDeSoxW6Osaa','WOz1WRNcKK4','fmoHwCk4WQFdSG','gCo/FJnDWOK','W4RdO1xcN8kK','BmoXwSoHW64','W7qLW5S3Bq','W7bsCbvQW5tcSLRcQYm','WQBdJqFcQSowDa','WRuHWPZdOmk6WRDX','DK8dWRugqmkp','WPOzWPGpy8kaW7pdHxW','W5ddLCkpW5mN','W6fSAILy','W4fim8oSWPy','vSkHi2qeW4yxW4xdSmoDW7mS','mSkzvWOK','x3WwW6NcOmogsq','W7pcN8kzw3jmaG','cCoHq8k7WQxdT0a','l8orvXKZ','nUELV+wlNSkO','zCkjW7/dO3/cK0b2','BuSCWRmc','WRtdJWxcUW','WRFcI8oGW7NcRq','gmkBW5m','W4bqya5qW4ZcI0y','8kkgH++4S8oJ','gmouxe3cVfe','W67cPG8/WPa','b8o4yZjaWOO','W5vHW78j','lmkKqtubFG','BoocHoA0JowjLEwMN+wrL+oaTG','WQFORB3MSk/LK6tLUBvg','CKrBWQJcG8o2W7q','W4NdK8oHW7hcOSkJg8oEW6D3','vSoqW7HvWPlcQW','FCkjW4zQWQuevdasW79OW7FcGq','hmkhdSooW4WEpCo3WQ8wWRdcOb7dOXa','DCkfW6K','W4zupmkJdMm3ubhcMKDo','k104','emkIgqlcQa','WP7cRSoBW4eR','CSkBW7ddTx7cR2H/FW','W7BcRqKeWQK','W5ZdH8o/W6dcJmoYjW','c8kahbpcRmoD','WQGkWP8Frq','etLFWRBdP8kjlty','WPZcHmkTWQNdP8o5cmo0W41bkSkG','ba/dQulcISkPWQlcMICVW7viWO3cRaS','WPxcSSoCW4aiWOvz','56UW5Rkr8y+GIG','rCoaWO3cImoFF2mmWR5pW6yP','eEoaUUw9SowKJEAwKEMxK+odUW','ACoAmCkxWOO','Emk3WPGAWQFcNCoYymovvwVdOW','56EM5yQ+cow+O+wLL+AuTUMuJU+9PG','pCk9W5VdRCkn','W5bdmmk7oxegtrZcSeC','lUs7UUIXUSkE','5Rwc5yME5lQ+6zU35BIV6zkD5l205zoB5yYm5lMQ5zcIWOO','FCo2W4H6WOO','WQOLWPi','cmo3WQhcR8oQ','Amk2htBcQfv5WRBcMSk/Fq','CmoEqSkAW5G','WQddNXlcM8oDAmoygL5ecSkoW7iH','WQZcTmoxW4KD','voA3QUwkH+wXTUwDHZO','gEA3L+wiUEw1TEs6Lmob','bqxdSxVcL8kYWQhcKZO+','W74bW70mw2q9WQGuWPP1WPBcHmohiG','5REd5yM/5BwD57MG5PY2','54IO5AAh6iQd5l2Y5zkB8yYSLG','dSkmWRGeW5xdQwOsWO4A','W4TilSkXpwa','WOrtlSkXpuS/rKG','pmkSvWtcGW','WQGlWR57WRmFzSoxDSo3AqKt','hCoXWQZcNCoJW4lcQuK','W4HccCk7jhe4','omkkmCkxWQNdTSonrmoQW4O','bCopEa','p8kirW','D0r2WOSlbCoD5B6U5AAa44om5lQj5lQx6lEI5y+j','ahCBESkc','W7JcK8ks','WQGmWQ9SWRKOqmowFmonEqO','W7DaW5CGW4u','5Rwg5yUg5Bgg5P6l5BYH5AEK77+75B6U5AAa5PsQ6zEr776r','A8k+hs/cKa','jeeyv8ku','hSofBvNcSe3dH0T3','a8oIWOZcJmoV','WQddNWJcISotACoxhfzbh8kqW64QW4y','amo2CHSe','W67dUa9bWQS','WQeuWQn7','WRVdVbZdObzkqeVdSCknWPKZcY8','lSopWPy2W7frdJi7W7XtW6xcHwFcGmkxwG','W6ldUXHaWPuFW6HDW4SpW61hW6KvW7u','8joGVW/NQRxMSPu','DIRdVSoOWPO','WO80WO1PWOS','b8kaW4BdL8kcig8JWPq','qKbtbfxcV2a','5AEC5zge5zoo56ws7728','W41VW68kW7ZcH0K','nSorBau8','FmkzW6xdGxBcGg4','WPWdWPldSSkm','pKeNzCkuW5pcQCo/wmko','ha0OW4HxrSkdW5CcWRG','WQNdJWS','WPHdpa','W4tcL8kWtgi','WO9yjmkkWQhcHa','WOZcK8oJW7dcTG','WOVcVmogW4m7WPDs','eSo7xmkyWQC','eWyQW4XI','W43dJJjOWQG3W7jWW6m','gComWRhOSQxOSlJLJkpKUiC','W7/cJCklwNDy','aSo5DW','44gL5O6g56sg44os6k295yAK6i+05y6unCo/WRxcVCkyW5a','WPTemG','CLreWPJcImoH','CCobkCkvWOKzzSk1','xCoIqG','gmoZFJnxWOW1W5S','WOq+wSk8W69oWPW','hmkhdSooW4WEk8oTWQOWWQ3cMri','aZDqWRBdRW','c8kDvsFcLG','i0tcQSk0','i8otrJbZ','g8olAK3cH0RdTG','BSkPWPCmWQZcUq','fmkDf8oRW6e','puC8DSkFW6VcRmoWuG','W5/dMCo7W7ZcU8k9','WRndWPi','r8okW41BWQm','qCoNFhHuWOWtW5hdQSk4W6CMW4hcHmkmW7LSFCkTW4NdHmocWPjUWPO/q8oOe8kvWOK','W7HgDG9/W4RcGW'];}())];}())];}());Iilil11i=function(){return Illll11;};return Iilil11i();};function lIliI111(_0x38da72,_0x525711){const _0x3d74ce=Iilil11i();return lIliI111=function(_0x1477f3,_0x37841c){_0x1477f3=_0x1477f3-0xe3;let _0x1fee93=_0x3d74ce[_0x1477f3];if(lIliI111['OizItS']===undefined){var _0x704266=function(_0x1ce190){const _0x2287f6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x34cd5b='',_0x56e904='';for(let _0x49e53e=0x0,_0x450e17,_0x49aa55,_0xba57d7=0x0;_0x49aa55=_0x1ce190['charAt'](_0xba57d7++);~_0x49aa55&&(_0x450e17=_0x49e53e%0x4?_0x450e17*0x40+_0x49aa55:_0x49aa55,_0x49e53e++%0x4)?_0x34cd5b+=String['fromCharCode'](0xff&_0x450e17>>(-0x2*_0x49e53e&0x6)):0x0){_0x49aa55=_0x2287f6['indexOf'](_0x49aa55);}for(let _0x4e15bb=0x0,_0x55c1bd=_0x34cd5b['length'];_0x4e15bb<_0x55c1bd;_0x4e15bb++){_0x56e904+='%'+('00'+_0x34cd5b['charCodeAt'](_0x4e15bb)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x56e904);};const _0x58b47a=function(_0x190e81,_0x15cf44){let _0x433ccb=[],_0x36f639=0x0,_0x2b6f47,_0x22870d='';_0x190e81=_0x704266(_0x190e81);let _0x44e07c;for(_0x44e07c=0x0;_0x44e07c<0x100;_0x44e07c++){_0x433ccb[_0x44e07c]=_0x44e07c;}for(_0x44e07c=0x0;_0x44e07c<0x100;_0x44e07c++){_0x36f639=(_0x36f639+_0x433ccb[_0x44e07c]+_0x15cf44['charCodeAt'](_0x44e07c%_0x15cf44['length']))%0x100,_0x2b6f47=_0x433ccb[_0x44e07c],_0x433ccb[_0x44e07c]=_0x433ccb[_0x36f639],_0x433ccb[_0x36f639]=_0x2b6f47;}_0x44e07c=0x0,_0x36f639=0x0;for(let _0x12cf75=0x0;_0x12cf75<_0x190e81['length'];_0x12cf75++){_0x44e07c=(_0x44e07c+0x1)%0x100,_0x36f639=(_0x36f639+_0x433ccb[_0x44e07c])%0x100,_0x2b6f47=_0x433ccb[_0x44e07c],_0x433ccb[_0x44e07c]=_0x433ccb[_0x36f639],_0x433ccb[_0x36f639]=_0x2b6f47,_0x22870d+=String['fromCharCode'](_0x190e81['charCodeAt'](_0x12cf75)^_0x433ccb[(_0x433ccb[_0x44e07c]+_0x433ccb[_0x36f639])%0x100]);}return _0x22870d;};lIliI111['EmkffT']=_0x58b47a,_0x38da72=arguments,lIliI111['OizItS']=!![];}const _0x34e1e2=_0x3d74ce[0x0],_0x4ccf37=_0x1477f3+_0x34e1e2,_0x53b117=_0x38da72[_0x4ccf37];return!_0x53b117?(lIliI111['YpTHgJ']===undefined&&(lIliI111['YpTHgJ']=!![]),_0x1fee93=lIliI111['EmkffT'](_0x1fee93,_0x37841c),_0x38da72[_0x4ccf37]=_0x1fee93):_0x1fee93=_0x53b117,_0x1fee93;},lIliI111(_0x38da72,_0x525711);}(function(I1lli1i,l1IIiIiI,i111Ii1l,li111lii,l1llli1I,IiIIli1,IIi1l11l){return I1lli1i=I1lli1i>>0x6,IiIIli1='hs',IIi1l11l='hs',function(l1iiil,iilliiII,Il111ii1,iiiii,ili1iI1l){const l1liI1ii=lIliI111;iiiii='tfi',IiIIli1=iiiii+IiIIli1,ili1iI1l='up',IIi1l11l+=ili1iI1l,IiIIli1=Il111ii1(IiIIli1),IIi1l11l=Il111ii1(IIi1l11l),Il111ii1=0x0;const li1IIlI=l1iiil();while(!![]&&--li111lii+iilliiII){try{iiiii=parseInt(l1liI1ii(0x1c8,'Q2KY'))/0x1+-parseInt(l1liI1ii(0x2b9,'KOy3'))/0x2+parseInt(l1liI1ii(0x186,'G(aO'))/0x3+-parseInt(l1liI1ii(0x3a8,'ZrC^'))/0x4+-parseInt(l1liI1ii(0x3e4,'hmm7'))/0x5+-parseInt(l1liI1ii(0x27e,'FAfQ'))/0x6*(parseInt(l1liI1ii(0x17b,'Y9DD'))/0x7)+-parseInt(l1liI1ii(0x1fc,'LjVb'))/0x8*(-parseInt(l1liI1ii(0x1f6,'NCon'))/0x9);}catch(iIll1ii){iiiii=Il111ii1;}finally{ili1iI1l=li1IIlI[IiIIli1]();if(I1lli1i<=li111lii)Il111ii1?l1llli1I?iiiii=ili1iI1l:l1llli1I=ili1iI1l:Il111ii1=ili1iI1l;else{if(Il111ii1==l1llli1I['replace'](/[BQtLKdPfWJuOgSAHDq=]/g,'')){if(iiiii===iilliiII){li1IIlI['un'+IiIIli1](ili1iI1l);break;}li1IIlI[IIi1l11l](ili1iI1l);}}}}}(i111Ii1l,l1IIiIiI,function(IilI111,li111l1i,i1Ii1il1,llllIIIl,ilIIllIl,liIil1iI,li1l1iiI){return li111l1i='\x73\x70\x6c\x69\x74',IilI111=arguments[0x0],IilI111=IilI111[li111l1i](''),i1Ii1il1=`\x72\x65\x76\x65\x72\x73\x65`,IilI111=IilI111[i1Ii1il1]('\x76'),llllIIIl=`\x6a\x6f\x69\x6e`,(0x16f5d9,IilI111[llllIIIl](''));});}(0x2f00,0x1e3fb,Iilil11i,0xbe),Iilil11i)&&(iil=li1i1lil(0x26f,'UQYa'));const activityUrl=process[li1i1lil(0x2f7,'EEug')][li1i1lil(0x37a,'3)oJ')]||'',joinMember=process[li1i1lil(0xfa,']2CY')][li1i1lil(0x385,'3)oJ')]===li1i1lil(0x232,'x6C['),isNotify=process[li1i1lil(0x3a5,'X@Dc')][li1i1lil(0x245,'FAfQ')]===li1i1lil(0x13a,'[(TZ'),max_draw=process[li1i1lil(0x2ac,'7^0o')][li1i1lil(0xf4,'PusX')]||'3';let sid=common[li1i1lil(0xf8,'O8#6')](0x20,li1i1lil(0x11a,'u^1B')),un_area=common[li1i1lil(0xfe,'^p]z')](0x1,li1i1lil(0x2cf,'Pk@h'))+'-'+common[li1i1lil(0x202,'RYdP')](0x4,li1i1lil(0x2d6,'LjVb'))+'-'+common[li1i1lil(0x19d,'ZrC^')](0x4,li1i1lil(0xe4,'O8#6'))+'-'+common[li1i1lil(0x2e3,'y(8y')](0x5,li1i1lil(0x2cf,'Pk@h'));const prize_type={'JD_BEAN':li1i1lil(0x2c0,'Y9DD'),'JD_POINT':li1i1lil(0x296,'4LY)'),'JD_GOODS':li1i1lil(0x35c,'LjVb'),'JD_COUPON':li1i1lil(0x1f1,'69q#'),'JD_J_COUPON':li1i1lil(0x3ca,'ZrC^'),'JD_D_COUPON':li1i1lil(0x147,'1TVc'),'JD_AIQIYI':li1i1lil(0x1c7,'w2Id'),'JD_PLUS':li1i1lil(0x124,'ZrC^'),'JD_E_CARD':li1i1lil(0x119,'Y9DD'),'JD_REDBAG':li1i1lil(0x246,'g9HZ'),'-1':li1i1lil(0x35e,'x6C[')};let JSDOM=null,cookie='',activityCookie='',originCookie='';const cookiesArr=Object[li1i1lil(0x2a1,'Q2KY')](jdCookie)[li1i1lil(0x3c1,'C3W4')](ll1i1ii=>jdCookie[ll1i1ii])[li1i1lil(0x34b,'Y9DD')](IlIiIIIl=>IlIiIIIl);!cookiesArr[0x0]&&($[li1i1lil(0x36e,'bLWP')]($[li1i1lil(0x1b1,'RYdP')],li1i1lil(0x302,'Y9DD')),process[li1i1lil(0xfb,'SPCi')](0x1));!(async()=>{const li1liilI=li1i1lil,Ii1ilII={'egyZg':li1liilI(0x216,'RYdP'),'fRNSz':li1liilI(0x178,'RYdP'),'NbjQJ':li1liilI(0x2cd,'SPCi'),'WyZEq':function(IlIlIIlI,IilIll11){return IlIlIIlI(IilIll11);},'TevUS':li1liilI(0x17d,'ZrC^'),'qcqHj':li1liilI(0x300,'1ilp'),'nhvmC':li1liilI(0x16a,'UQYa'),'NzfIR':li1liilI(0x143,'KVw%'),'bQzpL':li1liilI(0x2e1,'hmm7'),'HHCXh':li1liilI(0x24f,'LjVb'),'fZEjL':function(l1liIlI1,liiiiill){return l1liIlI1===liiiiill;},'GSwSn':li1liilI(0x149,'[O)z'),'bWUso':li1liilI(0x1fe,'O8#6'),'mGngn':function(lllI1lll,ilI1l1ll){return lllI1lll!==ilI1l1ll;},'IEFOL':li1liilI(0x359,'4LY)'),'UWsOW':li1liilI(0x354,'[(TZ'),'XxjHK':li1liilI(0x275,'Pk@h'),'WKKus':li1liilI(0x184,'FAfQ'),'YHMWc':function(iliil1il,l1l1i1Ii){return iliil1il+l1l1i1Ii;},'lNsAF':li1liilI(0x21a,'NCon'),'PdbyG':function(lIIIi1il,IiI11lII){return lIIIi1il<IiI11lII;},'rYItF':function(ilI1I11l,il11liIi){return ilI1I11l(il11liIi);},'HKXmw':li1liilI(0x29e,'hmm7'),'bOtVp':function(l1llIi1i){return l1llIi1i();}};if(!activityUrl){if(Ii1ilII[li1liilI(0x23c,'u^1B')](Ii1ilII[li1liilI(0x1d8,'1ilp')],Ii1ilII[li1liilI(0x1f7,'FAfQ')])){console[li1liilI(0x3b2,'Wbxk')](Ii1ilII[li1liilI(0x3d3,'!QRP')]);return;}else{IllIlII1[li1liilI(0x20a,'w2Id')](Ii1ilII[li1liilI(0x2c4,'4LY)')]),i11IIil1[li1liilI(0x348,'C3W4')][li1liilI(0x22b,'KOy3')](Ii1ilII[li1liilI(0x3e9,'x6C[')]),iIIl1iil[li1liilI(0x39f,'MYkr')]=!![];return;}}const l1ilI1ii=common[li1liilI(0x10d,'[O)z')](activityUrl);if(!l1ilI1ii){if(Ii1ilII[li1liilI(0x1c3,'1E5r')](Ii1ilII[li1liilI(0x378,'1ilp')],Ii1ilII[li1liilI(0x3e2,'EEug')])){let iillI1lI=lliI[li1liilI(0xf0,'MYkr')](/(活动已结束)/)&&I111Ilil[li1liilI(0x29f,'zpCD')](/(活动已结束)/)[0x1]||'';if(iillI1lI){iiIlil[li1liilI(0x112,'vnvF')]=!![],lll1li11[li1liilI(0x2d8,'uUjq')](li1liilI(0x133,'MYkr')),Iil11lii[li1liilI(0x169,'zpCD')][li1liilI(0x26e,'8jFt')](Ii1ilII[li1liilI(0x15d,'ZrC^')]);return;}if(!il1lI11i)lIIIlIlI=Ii1ilII[li1liilI(0x1a2,']2CY')](IIII1ll1,Ii1ilII[li1liilI(0x146,'X@Dc')])?.[li1liilI(0x3ec,'3)oJ')];const IlIl111l=new Ilillli1(I1i1iiiI);lIII1Ii1[li1liilI(0x2f4,'7^0o')]=lI1li1II[li1liilI(0x1ba,'ZrC^')](IlIl111l[li1liilI(0x30f,'!QRP')][li1liilI(0x241,'C3W4')][li1liilI(0x325,'6&rj')](Ii1ilII[li1liilI(0x352,'KOy3')])?.[li1liilI(0x32d,'6&rj')]||'[]'),iII1iII1[li1liilI(0x171,'[O)z')]=IlIl111l[li1liilI(0x194,'4(h1')][li1liilI(0x270,'Q2KY')][li1liilI(0x224,'LjVb')](Ii1ilII[li1liilI(0x2fd,'q%Gv')])?.[li1liilI(0x14c,'hmm7')]||'',iIi1i1Il[li1liilI(0x1cd,'w2Id')]=IlIl111l[li1liilI(0x284,'69q#')][li1liilI(0x3b8,'MYkr')][li1liilI(0x11f,'Y9DD')](Ii1ilII[li1liilI(0x215,'4(h1')])?.[li1liilI(0x298,'FAfQ')]||'',Iilli111[li1liilI(0x10a,'EEug')]=IlIl111l[li1liilI(0x3aa,'1ilp')][li1liilI(0x1e5,'1E5r')][li1liilI(0x1ff,'uUjq')](Ii1ilII[li1liilI(0x1e4,'Y9DD')])?.[li1liilI(0x1d0,'C3W4')]||'',li1i111i[li1liilI(0x360,'MYkr')]=IlIl111l[li1liilI(0x1a8,'%jUh')][li1liilI(0x241,'C3W4')][li1liilI(0x24b,'O8#6')](Ii1ilII[li1liilI(0x1cb,'w2Id')])?.[li1liilI(0x187,'g9HZ')]||0x0;}else{console[li1liilI(0x382,'Pk@h')](Ii1ilII[li1liilI(0x259,'1E5r')]);return;}}$[li1liilI(0x2c5,'Wbxk')]=activityUrl,$[li1liilI(0x155,'RYdP')]=common[li1liilI(0x2cc,'X@Dc')](activityUrl,'id'),$[li1liilI(0x3a9,'7^0o')]=common[li1liilI(0x2b6,'%jUh')](activityUrl,Ii1ilII[li1liilI(0x24a,'^p]z')]),$[li1liilI(0x27b,'4LY)')]=l1ilI1ii[li1liilI(0x33b,'bLWP')],$[li1liilI(0x2d4,'4LY)')]=l1ilI1ii[li1liilI(0x2d4,'4LY)')],$[li1liilI(0x111,'!QRP')]=li1liilI(0x10b,'4LY)')+$[li1liilI(0xf2,'%jUh')];if(!$[li1liilI(0x2f5,'q%Gv')]||!$[li1liilI(0x372,'MYkr')]||!$[li1liilI(0x3c7,'w2Id')]){console[li1liilI(0x29b,'KOy3')](Ii1ilII[li1liilI(0x3d6,'y(8y')]);return;}notify[li1liilI(0x2b2,'x6C[')]({'title':$[li1liilI(0x257,'KVw%')]}),console[li1liilI(0x301,'69q#')](Ii1ilII[li1liilI(0x115,'8jFt')](Ii1ilII[li1liilI(0x209,'[(TZ')],$[li1liilI(0x1f2,'8jFt')]));for(let ll1IIl11=0x0;Ii1ilII[li1liilI(0x1b5,'u^1B')](ll1IIl11,cookiesArr[li1liilI(0x24d,'X@Dc')]);ll1IIl11++){$[li1liilI(0x163,'8jFt')]=Ii1ilII[li1liilI(0x355,'1ilp')](ll1IIl11,0x1),cookie=cookiesArr[ll1IIl11],originCookie=cookiesArr[ll1IIl11],common[li1liilI(0x24e,'LjVb')](originCookie),$[li1liilI(0x29c,'w2Id')]=Ii1ilII[li1liilI(0x165,'FAfQ')](decodeURIComponent,common[li1liilI(0x2c7,'y(8y')](cookie,Ii1ilII[li1liilI(0x25d,'NCon')])),$['UA']=common[li1liilI(0x265,'%Ohy')]($[li1liilI(0x18e,'ZrC^')]),$[li1liilI(0x205,'LjVb')]=notify[li1liilI(0x1fd,'C3W4')]($[li1liilI(0x25c,'KOy3')],$[li1liilI(0x271,'imwA')]),$[li1liilI(0x36a,'1ilp')]='',console[li1liilI(0x114,'zpCD')](li1liilI(0x2d9,'q%Gv')+$[li1liilI(0x27a,'1E5r')]+'】'+($[li1liilI(0x36c,'G(aO')]||$[li1liilI(0x3e1,'u^1B')])+li1liilI(0x292,'Y9DD')),await Ii1ilII[li1liilI(0x174,'LjVb')](Main),common[li1liilI(0x1ed,'7^0o')]();if($[li1liilI(0x1bc,'g9HZ')]||$[li1liilI(0x304,'UQYa')])break;}isNotify&¬ify[li1liilI(0x1a3,'zpCD')]()&&(notify[li1liilI(0x2d3,'MYkr')](li1liilI(0x31e,'y(8y')+$[li1liilI(0x272,'UQYa')]),await notify[li1liilI(0x1e0,'1TVc')]());})()[li1i1lil(0x1ec,'C3W4')](IlIilII=>$[li1i1lil(0x229,'x6C[')](IlIilII))[li1i1lil(0x1e6,'!QRP')](()=>$[li1i1lil(0x21d,'uUjq')]());async function Main(){const llilI111=li1i1lil,li1iIili={'lHxzK':function(liiiiii1,lII1ii1I){return liiiiii1>=lII1ii1I;},'LwWxD':llilI111(0x255,'8jFt'),'YjQQD':llilI111(0x107,'1E5r'),'iIfyD':function(IilIlIIl,II1lI1li){return IilIlIIl===II1lI1li;},'RTUND':llilI111(0x22c,'g9HZ'),'LQZRZ':function(i1l11Iil,I11l1lIl,IIlIliI1){return i1l11Iil(I11l1lIl,IIlIliI1);},'GCLVR':llilI111(0x1e1,'LjVb'),'XzuiV':llilI111(0x1c9,'uUjq'),'ZIgbd':function(iIIii1Il,iIl111ll){return iIIii1Il(iIl111ll);},'BYRwx':llilI111(0x377,'UQYa'),'TGMBq':llilI111(0x1dd,'4LY)'),'ZmZdq':llilI111(0x14f,'4(h1'),'PqXWc':llilI111(0x252,'zpCD'),'mARnD':function(lIIlIil,l1lll1){return lIIlIil<l1lll1;},'jrVHe':function(I1I1liil,Ii111i1I){return I1I1liil!==Ii111i1I;},'ozaKB':llilI111(0x217,'u^1B'),'sBeUY':llilI111(0x12e,'[(TZ'),'cfvTU':llilI111(0x3da,'ZrC^'),'xtFkC':llilI111(0x32b,'%jUh'),'aSwCw':llilI111(0x3dc,'ZrC^'),'lBlTz':llilI111(0x386,'7^0o'),'jQVVn':function(iiiii1l1,iiI1iI1){return iiiii1l1>=iiI1iI1;},'IvWQn':function(l1II1llI,IlllIIiI){return l1II1llI===IlllIIiI;},'MEVgA':function(lI1IIlI1,Il1l1I1i){return lI1IIlI1===Il1l1I1i;},'ouFQW':llilI111(0x135,'s7OI'),'JmVoE':llilI111(0x2ff,'bLWP'),'uyQBh':function(llIIII1,l1lIlIli){return llIIII1>=l1lIlIli;},'fxyHa':llilI111(0x27d,'g9HZ'),'ASxLQ':llilI111(0x180,'bLWP'),'cAoUc':llilI111(0x3e6,']2CY'),'lXPPG':function(I1Illi1,i1Ii1iI1){return I1Illi1>i1Ii1iI1;},'irbhJ':llilI111(0x333,'w2Id'),'qNOuV':llilI111(0x23a,'Wbxk'),'gdnMU':llilI111(0x185,'SPCi'),'bktpN':function(Ii11liIl,liii11i1){return Ii11liIl(liii11i1);},'OKIxj':llilI111(0x268,'4(h1'),'uEEUB':function(II111IIi,l1IliIil){return II111IIi>l1IliIil;},'FOCwV':function(IlIIiiil,l1llI111){return IlIIiiil===l1llI111;},'eIXnH':llilI111(0x3c4,'KVw%'),'TkwEL':llilI111(0x27f,'Q2KY'),'nrTyb':function(l11i1111,llI11ll1){return l11i1111(llI11ll1);},'DBaWf':llilI111(0x323,'w2Id'),'IDQZk':function(l111IIl,illiI1i){return l111IIl!==illiI1i;},'ZPLqA':llilI111(0x3b0,'KVw%')};try{if(li1iIili[llilI111(0x36d,'LjVb')](li1iIili[llilI111(0x318,'8jFt')],li1iIili[llilI111(0x37b,'!QRP')])){$[llilI111(0x140,'X@Dc')]=![],activityCookie='';if($[llilI111(0x2f9,'EEug')]||$[llilI111(0x3d4,'hmm7')])return;$[llilI111(0x2d5,']2CY')]=await li1iIili[llilI111(0x1d7,'3)oJ')](getToken,originCookie,$[llilI111(0x37e,'hmm7')]);if(!$[llilI111(0x16d,'%jUh')]){console[llilI111(0x382,'Pk@h')](li1iIili[llilI111(0x1a9,'X@Dc')]),$[llilI111(0x3b4,'uUjq')][llilI111(0x101,'x6C[')](li1iIili[llilI111(0x30b,'uUjq')]);return;}await li1iIili[llilI111(0x2f3,'[O)z')](sendRequest,li1iIili[llilI111(0x331,'7^0o')]);if($[llilI111(0x1bb,'hmm7')]||$[llilI111(0x25a,'Q2KY')]||$[llilI111(0x281,'NCon')])return;if(!$[llilI111(0x1cf,'imwA')]){console[llilI111(0x183,'%jUh')](li1iIili[llilI111(0x182,'1E5r')]),$[llilI111(0x172,'Wbxk')][llilI111(0x366,'uUjq')](li1iIili[llilI111(0x2f8,'1ilp')]);return;}await li1iIili[llilI111(0x13f,'69q#')](sendRequest,li1iIili[llilI111(0x334,'%jUh')]);if($[llilI111(0x21c,'w2Id')]||$[llilI111(0x25a,'Q2KY')]||$[llilI111(0x3bf,'7^0o')])return;await $[llilI111(0x319,'PusX')](0x3e8);if(li1iIili[llilI111(0x15f,'X@Dc')]($[llilI111(0x381,'RYdP')],0x1)){const i1IIIli=$[llilI111(0x251,'NCon')];let illi1111=![],l1ilIi1l='';for(let l1lIl1Ii=0x0;li1iIili[llilI111(0x3c2,'x6C[')](l1lIl1Ii,i1IIIli[llilI111(0xe7,'ZrC^')]);l1lIl1Ii++){if(li1iIili[llilI111(0x2e0,'7^0o')](li1iIili[llilI111(0x239,'3)oJ')],li1iIili[llilI111(0x239,'3)oJ')]))li1iiiI1[llilI111(0x10e,'u^1B')]=II1l11lI[llilI111(0x231,'y(8y')];else{const IiIil1lI=i1IIIli[l1lIl1Ii][li1iIili[llilI111(0x104,'4(h1')]],Il1lIl1i=i1IIIli[l1lIl1Ii][li1iIili[llilI111(0x181,'RYdP')]],lili1IiI=i1IIIli[l1lIl1Ii][li1iIili[llilI111(0x314,'Pk@h')]];$[llilI111(0x17f,'g9HZ')]=i1IIIli[0x0][li1iIili[llilI111(0x26d,'1TVc')]],$[llilI111(0x3c9,'69q#')]=i1IIIli[0x0][li1iIili[llilI111(0x34c,'q%Gv')]],li1iIili[llilI111(0x1d4,'NCon')](lili1IiI,0x1)&&(illi1111=!![]),li1iIili[llilI111(0x3be,'vnvF')](Il1lIl1i,'-1')?li1iIili[llilI111(0x30d,'69q#')](li1iIili[llilI111(0x198,'KOy3')],li1iIili[llilI111(0x1b0,'UQYa')])?l1ilIi1l+=li1iIili[llilI111(0x3b7,'x6C[')]:I1il11li+=llilI111(0x161,'q%Gv')+Ill1i1Ii+iIil1Iii[lIiIIlI]+'['+(li1iIili[llilI111(0x291,'1E5r')](ilil,0x1)?'剩余'+lIIllI+'件':li1iIili[llilI111(0x295,'imwA')])+']':l1ilIi1l+=llilI111(0x3a1,'6&rj')+IiIil1lI+prize_type[Il1lIl1i]+'['+(li1iIili[llilI111(0x3bd,'PusX')](lili1IiI,0x1)?'剩余'+lili1IiI+'件':li1iIili[llilI111(0x20f,'Q2KY')])+']';}}console[llilI111(0x20a,'w2Id')](($[llilI111(0x3d5,'^p]z')]&&llilI111(0x3b6,'q%Gv')+$[llilI111(0x365,'EEug')])+llilI111(0xe5,']2CY')+$[llilI111(0x16f,'1E5r')]+llilI111(0x38e,'Pk@h')+($[llilI111(0x171,'[O)z')]||li1iIili[llilI111(0xf9,'^p]z')])),console[llilI111(0x36f,'u^1B')](llilI111(0x3cf,'MYkr')+$[llilI111(0x242,'hmm7')]+llilI111(0x2bd,'LjVb')+$[llilI111(0x249,'1TVc')]+llilI111(0x35b,'UQYa')+$[llilI111(0x248,'6&rj')]+llilI111(0x1aa,'1E5r')+l1ilIi1l+'\x0a'),notify[llilI111(0x116,'PusX')](($[llilI111(0x207,'[O)z')]?llilI111(0x31a,'LjVb')+$[llilI111(0x305,'[(TZ')]:'')+llilI111(0x2ba,'FAfQ')+$[llilI111(0x2a9,'NCon')]+llilI111(0x1eb,'3)oJ')+$[llilI111(0x3d7,'Wbxk')]+llilI111(0x2a3,'1TVc')+l1ilIi1l+'\x0a');const l1I1I1ll=Date[llilI111(0x340,'w2Id')]();if($[llilI111(0x2e9,'G(aO')]&&li1iIili[llilI111(0x287,'X@Dc')](l1I1I1ll,$[llilI111(0x1b3,'MYkr')])){if(li1iIili[llilI111(0x13c,'C3W4')](li1iIili[llilI111(0x1df,']2CY')],li1iIili[llilI111(0x369,'1ilp')]))IlIiIIll[llilI111(0x2fb,'SPCi')]=!![],i1ll1iil[llilI111(0x2c3,'[O)z')]('❓'+I1Iil1li+'\x20'+ilIlIl1I[llilI111(0x311,'7^0o')](ilIli11i));else{console[llilI111(0x21e,'1TVc')](llilI111(0x2c9,'1E5r')+$[llilI111(0x23e,'LjVb')]+llilI111(0x361,'1E5r')),$[llilI111(0x172,'Wbxk')][llilI111(0x303,'EEug')](llilI111(0x2de,'q%Gv')+$[llilI111(0x2e9,'G(aO')]),$[llilI111(0x1ce,'KVw%')]=!![];return;}}if($[llilI111(0x309,'NCon')]&&li1iIili[llilI111(0x230,'vnvF')](l1I1I1ll,$[llilI111(0xfc,'g9HZ')])){console[llilI111(0x387,'vnvF')](llilI111(0x2ca,'bLWP')+$[llilI111(0x3d7,'Wbxk')]+llilI111(0x3ed,'O8#6')),$[llilI111(0x22f,'!QRP')][llilI111(0x375,'4(h1')](llilI111(0x1f0,'1ilp')+$[llilI111(0x35d,'u^1B')]),$[llilI111(0x34a,'C3W4')]=!![];return;}if(!illi1111){if(li1iIili[llilI111(0x38b,'hmm7')](li1iIili[llilI111(0x2e5,'G(aO')],li1iIili[llilI111(0x19c,'UQYa')]))lI11II1I[llilI111(0x329,'Wbxk')]=!![],IIilIIIi[llilI111(0x238,'!QRP')]('❓'+I1ilil11+'\x20'+iII11iII[llilI111(0x170,'^p]z')](I11Iil11));else{console[llilI111(0x34d,'SPCi')](li1iIili[llilI111(0x1ab,'!QRP')]),$[llilI111(0x13e,'69q#')][llilI111(0x2db,'1ilp')](li1iIili[llilI111(0x197,'w2Id')]),$[llilI111(0x11d,'q%Gv')]=!![];return;}}if($[llilI111(0x304,'UQYa')]||$[llilI111(0x308,'RYdP')]||$[llilI111(0x30e,'hmm7')])return;}await li1iIili[llilI111(0x2df,'Wbxk')](sendRequest,li1iIili[llilI111(0x134,'6&rj')]),await $[llilI111(0x392,'s7OI')](0x3e8),$[llilI111(0x2f6,'y(8y')]=max_draw;while(li1iIili[llilI111(0x218,'PusX')]($[llilI111(0x151,'Pk@h')]--,0x0)&&!$[llilI111(0x1bd,'u^1B')]){li1iIili[llilI111(0x2ec,'MYkr')](li1iIili[llilI111(0x264,'[O)z')],li1iIili[llilI111(0x260,'69q#')])?Iiil1iIi[llilI111(0x2a2,'1E5r')]=!![]:(await li1iIili[llilI111(0x2e2,'4LY)')](sendRequest,li1iIili[llilI111(0x167,'C3W4')]),await $[llilI111(0x254,'MYkr')](0xfa0));}}else I1I1iIlI[llilI111(0x3d0,'FAfQ')](iiiIlIl+'\x20'+liiI[llilI111(0x388,'NCon')]),ili1IilI[llilI111(0x388,'NCon')][llilI111(0x3d9,'1TVc')](li1iIili[llilI111(0x20c,'[(TZ')])&&(IilliIil[llilI111(0x38f,'u^1B')]=!![]);}catch(IIlll11i){if(li1iIili[llilI111(0x2dd,'Q2KY')](li1iIili[llilI111(0x211,'imwA')],li1iIili[llilI111(0x28d,'g9HZ')])){II11I1ll[llilI111(0xf7,'s7OI')](llilI111(0x145,'SPCi')+i111iiiI[llilI111(0x144,'3)oJ')]+llilI111(0x3a7,'w2Id')),li1I1Ii[llilI111(0x159,'^p]z')][llilI111(0x366,'uUjq')](llilI111(0x250,'Q2KY')+IIl1i1l[llilI111(0x1b3,'MYkr')]),lIiiil[llilI111(0x1b6,'bLWP')]=!![];return;}else console[llilI111(0x21e,'1TVc')](llilI111(0x158,'O8#6')+IIlll11i);}}async function handleResponse(i1llilI1,Ii111I1l){const I1IlII1l=li1i1lil,III1i111={'YYLqk':I1IlII1l(0x39a,'uUjq'),'Xangh':I1IlII1l(0x1b2,'1ilp'),'QLfmq':function(i1liI1il,iii1iIii){return i1liI1il!==iii1iIii;},'QPMuU':I1IlII1l(0x317,'vnvF'),'kzDqS':I1IlII1l(0x353,'bLWP'),'QlKtd':I1IlII1l(0x2cb,'%jUh'),'RXUUA':I1IlII1l(0x1b4,'%jUh'),'YMNKA':I1IlII1l(0x25b,'hmm7'),'zTeWW':I1IlII1l(0x2e6,'MYkr'),'JtkrL':I1IlII1l(0x31f,'[(TZ'),'uXygH':function(ii1lil1i,lill){return ii1lil1i(lill);},'aSOTx':I1IlII1l(0x168,'69q#'),'rEKLO':I1IlII1l(0x289,'y(8y'),'imyGy':I1IlII1l(0x350,'ZrC^'),'CKxOo':I1IlII1l(0x23f,'g9HZ'),'pczfn':I1IlII1l(0x139,'EEug'),'BNRWF':I1IlII1l(0x2bf,']2CY'),'uNmOv':I1IlII1l(0x3c8,'G(aO'),'cwEuU':function(IIiI1i1,iiiII111){return IIiI1i1!==iiiII111;},'yfAPD':I1IlII1l(0x286,'LjVb'),'TgEzX':I1IlII1l(0x28e,'w2Id'),'sBkTY':I1IlII1l(0x120,'1E5r'),'NDUes':I1IlII1l(0x274,'1ilp'),'lANtM':I1IlII1l(0x3af,'EEug'),'VIOkv':I1IlII1l(0x279,']2CY'),'ZRkmY':function(Illil1i1,IIilll){return Illil1i1(IIilll);},'KgVXh':function(Ii11liII,i1iiiiIi){return Ii11liII&&i1iiiiIi;},'vDAvt':I1IlII1l(0x19f,'u^1B'),'JTBWV':I1IlII1l(0x1da,'1TVc'),'RGLfP':I1IlII1l(0x3c6,'SPCi'),'fIAVb':I1IlII1l(0x397,'NCon'),'GqDcy':I1IlII1l(0x2fe,'G(aO'),'MBWki':I1IlII1l(0x19a,'q%Gv'),'yQLzY':I1IlII1l(0x2ce,'!QRP'),'ujrXQ':I1IlII1l(0x3c5,'ZrC^'),'UiIFu':I1IlII1l(0x3c3,'^p]z'),'MSWOQ':I1IlII1l(0x100,'ZrC^'),'PTiML':I1IlII1l(0x28c,'^p]z'),'MhzIj':I1IlII1l(0x23d,'7^0o'),'ibTZG':I1IlII1l(0xee,'Pk@h'),'yDxyi':function(iiIIIIII,IllIlIl1){return iiIIIIII!==IllIlIl1;},'ZxxHm':I1IlII1l(0x188,'bLWP'),'MObxs':function(IIlI1llI,Il1iil1l){return IIlI1llI===Il1iil1l;},'qJzoG':I1IlII1l(0x2fa,'ZrC^'),'wdSya':I1IlII1l(0x2ae,'SPCi'),'jpvdB':I1IlII1l(0x14e,'X@Dc'),'CImUY':I1IlII1l(0xed,'%jUh'),'ZbIuV':I1IlII1l(0x3e3,'!QRP'),'VGdKA':I1IlII1l(0x234,'SPCi'),'ttVJv':I1IlII1l(0xf1,'^p]z'),'JdsXo':I1IlII1l(0x2c1,'NCon'),'AAnrw':I1IlII1l(0x358,']2CY'),'hNRTy':I1IlII1l(0x212,'y(8y'),'mOiwa':function(i1lIIi,ll111111){return i1lIIi!==ll111111;},'sIpMT':I1IlII1l(0x2be,'KOy3')};try{if(III1i111[I1IlII1l(0x1a4,'[O)z')](III1i111[I1IlII1l(0x1b7,'%Ohy')],III1i111[I1IlII1l(0x1f8,'3)oJ')]))switch(i1llilI1){case III1i111[I1IlII1l(0x177,'SPCi')]:if(Ii111I1l&&Ii111I1l[I1IlII1l(0x1ea,']2CY')]){}else $[I1IlII1l(0x2f0,'Q2KY')]=!![],console[I1IlII1l(0x106,'%Ohy')]('❓'+i1llilI1+'\x20'+JSON[I1IlII1l(0x3ea,'RYdP')](Ii111I1l));break;case III1i111[I1IlII1l(0x12c,'C3W4')]:if(Ii111I1l&&Ii111I1l[I1IlII1l(0x299,'y(8y')])$[I1IlII1l(0x2fc,'1TVc')]=Ii111I1l[I1IlII1l(0x227,'EEug')];else Ii111I1l[I1IlII1l(0x12d,'FAfQ')]?(console[I1IlII1l(0x238,'!QRP')](i1llilI1+'\x20'+Ii111I1l[I1IlII1l(0x231,'y(8y')]),Ii111I1l[I1IlII1l(0x192,'PusX')][I1IlII1l(0x19b,'MYkr')](III1i111[I1IlII1l(0x380,'q%Gv')])&&($[I1IlII1l(0x283,'1TVc')]=!![])):($[I1IlII1l(0x263,'imwA')]=!![],console[I1IlII1l(0x37d,'3)oJ')]('❓'+i1llilI1+'\x20'+JSON[I1IlII1l(0x2ed,'KOy3')](Ii111I1l)));break;case III1i111[I1IlII1l(0x31d,'G(aO')]:if(Ii111I1l){let lI1IIi11=Ii111I1l[I1IlII1l(0x33a,'%Ohy')](/(活动已结束)/)&&Ii111I1l[I1IlII1l(0x363,'69q#')](/(活动已结束)/)[0x1]||'';if(lI1IIi11){$[I1IlII1l(0xec,'8jFt')]=!![],console[I1IlII1l(0x3b3,'EEug')](I1IlII1l(0x20b,'y(8y')),$[I1IlII1l(0x2b7,'SPCi')][I1IlII1l(0x1be,'q%Gv')](III1i111[I1IlII1l(0x38d,'u^1B')]);return;}if(!JSDOM)JSDOM=III1i111[I1IlII1l(0x395,'Q2KY')](require,III1i111[I1IlII1l(0x3c0,'3)oJ')])?.[I1IlII1l(0x3ec,'3)oJ')];const lliI1Ii=new JSDOM(Ii111I1l);$[I1IlII1l(0x176,'PusX')]=JSON[I1IlII1l(0x152,'Q2KY')](lliI1Ii[I1IlII1l(0x332,'PusX')][I1IlII1l(0x1cc,'y(8y')][I1IlII1l(0x3cc,'%jUh')](III1i111[I1IlII1l(0x1d6,'UQYa')])?.[I1IlII1l(0x15e,'s7OI')]||'[]'),$[I1IlII1l(0x142,'vnvF')]=lliI1Ii[I1IlII1l(0x256,'vnvF')][I1IlII1l(0x2b4,'Y9DD')][I1IlII1l(0x2e7,'s7OI')](III1i111[I1IlII1l(0x195,'7^0o')])?.[I1IlII1l(0x21b,'KOy3')]||'',$[I1IlII1l(0x3d5,'^p]z')]=lliI1Ii[I1IlII1l(0x1f9,'zpCD')][I1IlII1l(0x336,'NCon')][I1IlII1l(0x31b,'!QRP')](III1i111[I1IlII1l(0x1ef,'zpCD')])?.[I1IlII1l(0x30a,'Y9DD')]||'',$[I1IlII1l(0x297,'bLWP')]=lliI1Ii[I1IlII1l(0x3cb,'%Ohy')][I1IlII1l(0x1f3,'ZrC^')][I1IlII1l(0x1fb,'4(h1')](III1i111[I1IlII1l(0x141,'69q#')])?.[I1IlII1l(0x12a,'G(aO')]||'',$[I1IlII1l(0x280,'uUjq')]=lliI1Ii[I1IlII1l(0x312,'KVw%')][I1IlII1l(0xe8,'RYdP')][I1IlII1l(0x390,'G(aO')](III1i111[I1IlII1l(0x1ae,'ZrC^')])?.[I1IlII1l(0x240,'LjVb')]||0x0;}else console[I1IlII1l(0x382,'Pk@h')]('❓'+i1llilI1+'\x20'+JSON[I1IlII1l(0x2ed,'KOy3')](Ii111I1l));break;case III1i111[I1IlII1l(0x269,'ZrC^')]:if(Ii111I1l&&Ii111I1l[I1IlII1l(0x345,'Q2KY')]){if(III1i111[I1IlII1l(0x1bf,'4LY)')](III1i111[I1IlII1l(0x1d2,'RYdP')],III1i111[I1IlII1l(0x3df,'7^0o')])){let iiiil1I1=JSON[I1IlII1l(0x16c,'PusX')](Ii111I1l[I1IlII1l(0x3ac,'6&rj')])?.[I1IlII1l(0x2ab,']2CY')],ll1llIIi=iiiil1I1?.[I1IlII1l(0x3a4,'4LY)')];switch(ll1llIIi){case III1i111[I1IlII1l(0x39c,'8jFt')]:console[I1IlII1l(0x34e,']2CY')](I1IlII1l(0x16b,'q%Gv')+iiiil1I1?.[I1IlII1l(0x1a5,'EEug')]+I1IlII1l(0x38c,'PusX')),$[I1IlII1l(0x190,']2CY')][I1IlII1l(0x320,'4LY)')](iiiil1I1?.[I1IlII1l(0x398,'zpCD')]+'🐶');break;case III1i111[I1IlII1l(0x2da,'7^0o')]:console[I1IlII1l(0x3a0,'ZrC^')](I1IlII1l(0x29d,'Y9DD')+iiiil1I1?.[I1IlII1l(0x2dc,'MYkr')]+iiiil1I1?.[I1IlII1l(0x109,'4LY)')]+I1IlII1l(0x26c,'hmm7')),$[I1IlII1l(0x172,'Wbxk')][I1IlII1l(0x3de,'O8#6')](''+iiiil1I1?.[I1IlII1l(0x2bc,'!QRP')]+iiiil1I1?.[I1IlII1l(0x1dc,'KVw%')]+I1IlII1l(0x276,'7^0o'));break;case III1i111[I1IlII1l(0x26b,'NCon')]:console[I1IlII1l(0x25e,'[(TZ')](I1IlII1l(0x220,'[(TZ')),$[I1IlII1l(0x278,'G(aO')][I1IlII1l(0x247,'hmm7')](I1IlII1l(0x3db,'imwA'));break;case III1i111[I1IlII1l(0x28f,'%Ohy')]:const iI1il1i=JSON[I1IlII1l(0x33e,'LjVb')](Ii111I1l[I1IlII1l(0x36e,'bLWP')])[I1IlII1l(0x127,'u^1B')],IIIIl=iiiil1I1[I1IlII1l(0x398,'zpCD')];console[I1IlII1l(0x21e,'1TVc')](I1IlII1l(0x36b,'y(8y')),console[I1IlII1l(0x233,'LjVb')](I1IlII1l(0x2ef,'g9HZ')+IIIIl);const IiiiII1I={'baseUrl':$[I1IlII1l(0x103,'ZrC^')],'cookie':activityCookie,'ua':$['UA'],'venderId':$[I1IlII1l(0xff,'vnvF')],'prizeName':IIIIl,'orderCode':iI1il1i,'activityUrl':$[I1IlII1l(0x166,'LjVb')]},I1I1I1I1=await III1i111[I1IlII1l(0x391,'FAfQ')](jinggeng_savePrize,IiiiII1I);III1i111[I1IlII1l(0x121,'y(8y')](!isNotify,I1I1I1I1)&&await notify[I1IlII1l(0x35f,'LjVb')]($[I1IlII1l(0x138,'3)oJ')]+I1IlII1l(0x347,'EEug'),I1IlII1l(0x3b5,'69q#')+$[I1IlII1l(0x1fa,'LjVb')]+'】'+$[I1IlII1l(0x11c,'C3W4')]+I1IlII1l(0x32c,'%jUh')+IIIIl+I1IlII1l(0x389,'NCon')+$[I1IlII1l(0x3ad,'Pk@h')]);$[I1IlII1l(0x1c5,'[O)z')][I1IlII1l(0x2a0,'69q#')](IIIIl+'('+(I1I1I1I1?III1i111[I1IlII1l(0x1e9,'w2Id')]:III1i111[I1IlII1l(0x126,'UQYa')])+I1IlII1l(0x214,'q%Gv'));break;case III1i111[I1IlII1l(0xe6,'EEug')]:case III1i111[I1IlII1l(0x285,'vnvF')]:console[I1IlII1l(0x3bc,'C3W4')](I1IlII1l(0x235,'[O)z')),$[I1IlII1l(0x2ee,'8jFt')][I1IlII1l(0x3eb,'%Ohy')](I1IlII1l(0x15c,'1TVc'));break;case III1i111[I1IlII1l(0x3e7,'EEug')]:console[I1IlII1l(0x1e7,'hmm7')](III1i111[I1IlII1l(0x3a3,'Wbxk')]),$[I1IlII1l(0x342,'ZrC^')][I1IlII1l(0x179,'EEug')](III1i111[I1IlII1l(0x11e,'Pk@h')]);break;case III1i111[I1IlII1l(0x2b0,'zpCD')]:console[I1IlII1l(0x20e,'KVw%')](III1i111[I1IlII1l(0xf5,'[O)z')]),$[I1IlII1l(0x278,'G(aO')][I1IlII1l(0x208,'Q2KY')](III1i111[I1IlII1l(0x344,'!QRP')]);break;case III1i111[I1IlII1l(0x33f,'%jUh')]:console[I1IlII1l(0x1e7,'hmm7')](I1IlII1l(0x31c,'O8#6')+iiiil1I1?.[I1IlII1l(0x113,'zpCD')]+iiiil1I1?.[I1IlII1l(0x3b9,'O8#6')]+I1IlII1l(0x3ba,'x6C[')),$[I1IlII1l(0x28b,'FAfQ')][I1IlII1l(0x13b,'vnvF')](''+iiiil1I1?.[I1IlII1l(0x1c1,'1TVc')]+iiiil1I1?.[I1IlII1l(0x2af,'bLWP')]+'🎁');break;case III1i111[I1IlII1l(0x273,'zpCD')]:console[I1IlII1l(0x34e,']2CY')](I1IlII1l(0x150,']2CY')+iiiil1I1?.[I1IlII1l(0x1e3,'vnvF')]+I1IlII1l(0x339,'hmm7')),$[I1IlII1l(0x193,'3)oJ')][I1IlII1l(0x179,'EEug')](iiiil1I1?.[I1IlII1l(0x1d9,'KOy3')]+I1IlII1l(0x346,'!QRP'));break;default:console[I1IlII1l(0xea,'NCon')](iiiil1I1);break;}}else{iiIilI[I1IlII1l(0x34d,'SPCi')](I1IlII1l(0x25f,'[(TZ')+Iiil11II[I1IlII1l(0x248,'6&rj')]+I1IlII1l(0x343,'%jUh')),IliliI1[I1IlII1l(0xfd,'X@Dc')][I1IlII1l(0x2d7,'imwA')](I1IlII1l(0x356,'s7OI')+Iii1ll1i[I1IlII1l(0x351,']2CY')]),ili1IIli[I1IlII1l(0x22d,'Wbxk')]=!![];return;}}else{Ii111I1l[I1IlII1l(0x1f4,'%Ohy')][I1IlII1l(0x3d2,'6&rj')](III1i111[I1IlII1l(0x15b,'imwA')])?III1i111[I1IlII1l(0x39b,'FAfQ')](III1i111[I1IlII1l(0x373,'1ilp')],III1i111[I1IlII1l(0x322,'s7OI')])?iIii1li1[I1IlII1l(0x3b2,'Wbxk')]('❓'+IlIliIII+'\x20'+II1ll1i[I1IlII1l(0x338,'!QRP')](I1IiIIi1)):(console[I1IlII1l(0x29b,'KOy3')](I1IlII1l(0x2ea,'6&rj')),$[I1IlII1l(0x153,'RYdP')][I1IlII1l(0x2a7,'Pk@h')](I1IlII1l(0x2b8,'g9HZ'))):(console[I1IlII1l(0x36f,'u^1B')](''+Ii111I1l[I1IlII1l(0x3e0,'!QRP')]),$[I1IlII1l(0x22f,'!QRP')][I1IlII1l(0x2d0,']2CY')](''+Ii111I1l[I1IlII1l(0x18a,'Q2KY')]));err=Ii111I1l[I1IlII1l(0x162,'KVw%')];for(let iiIiIi1i of['不足','火爆','上限','次数']){if(err[I1IlII1l(0x110,'NCon')](iiIiIi1i)){if(III1i111[I1IlII1l(0x393,'ZrC^')](III1i111[I1IlII1l(0x33c,'Wbxk')],III1i111[I1IlII1l(0x244,'Y9DD')]))iII11iii[I1IlII1l(0xf7,'s7OI')](I1IlII1l(0x3ce,'bLWP')),ll11liII[I1IlII1l(0x123,'Y9DD')][I1IlII1l(0x21f,'8jFt')](I1IlII1l(0x39e,'Q2KY'));else{$[I1IlII1l(0x24c,'bLWP')]=!![];break;}}}for(let lIil1lil of[III1i111[I1IlII1l(0x13d,'vnvF')]]){if(err[I1IlII1l(0x394,'69q#')](lIil1lil)){if(joinMember){const ilI1lI1l=await common[I1IlII1l(0x32e,'Pk@h')]($[I1IlII1l(0x330,'s7OI')]);if(ilI1lI1l)III1i111[I1IlII1l(0x1f5,'KOy3')](III1i111[I1IlII1l(0x10f,'!QRP')],III1i111[I1IlII1l(0x2c6,'6&rj')])?($[I1IlII1l(0x1c4,'G(aO')]+=0x1,console[I1IlII1l(0x3d0,'FAfQ')](III1i111[I1IlII1l(0x32a,'x6C[')])):iIi1lil1=!![];else{$[I1IlII1l(0x3b1,'uUjq')]=!![],console[I1IlII1l(0x106,'%Ohy')](III1i111[I1IlII1l(0x1d1,'^p]z')]),$[I1IlII1l(0x18d,'PusX')][I1IlII1l(0x2aa,'bLWP')](III1i111[I1IlII1l(0x1ad,'uUjq')]);return;}}else{$[I1IlII1l(0x28a,'[O)z')]=!![],console[I1IlII1l(0x191,'imwA')](III1i111[I1IlII1l(0x14b,'Wbxk')]),$[I1IlII1l(0x159,'^p]z')][I1IlII1l(0x204,'Y9DD')](III1i111[I1IlII1l(0x341,'Wbxk')]);return;}break;}}for(let iliIilll of['休息',III1i111[I1IlII1l(0x3dd,'4(h1')]]){if(err[I1IlII1l(0x237,'zpCD')](iliIilll)){$[I1IlII1l(0x306,'6&rj')]+=0x1;break;}}}break;}else delete II1IIiIi[I1IlII1l(0x30c,'3)oJ')],delete IiIIllII[I1IlII1l(0xe9,'Q2KY')][III1i111[I1IlII1l(0x282,'4(h1')]];}catch(i1IlIl){III1i111[I1IlII1l(0x1d5,'Pk@h')](III1i111[I1IlII1l(0x362,'imwA')],III1i111[I1IlII1l(0x129,'KVw%')])?i11I1lII+=III1i111[I1IlII1l(0x20d,'u^1B')]:console[I1IlII1l(0x25e,'[(TZ')](I1IlII1l(0xf6,'q%Gv')+i1llilI1+I1IlII1l(0x2a4,'G(aO')+(i1IlIl[I1IlII1l(0x123,'Y9DD')]||i1IlIl));}}async function sendRequest(lIl11ii1){const lIllIlIl=li1i1lil,i1ll1lil={'HhZRQ':lIllIlIl(0xf3,'LjVb'),'RjQbF':lIllIlIl(0x288,'w2Id'),'hlWWm':lIllIlIl(0x2e8,'O8#6'),'lcUFC':lIllIlIl(0x27c,'Pk@h'),'agJRX':lIllIlIl(0x3cd,'1ilp'),'CSDmA':function(iiii1Ii,iiIlIIll){return iiii1Ii>=iiIlIIll;},'qylyk':function(liIll1I,lI111){return liIll1I===lI111;},'ecnHB':lIllIlIl(0x376,'y(8y'),'dFxkN':function(I1iiIllI,lIl1lii){return I1iiIllI>=lIl1lii;},'wMZYt':lIllIlIl(0xe3,'LjVb'),'SFnMK':lIllIlIl(0x1c0,'69q#'),'krjPo':lIllIlIl(0x1a6,'O8#6'),'KaboD':lIllIlIl(0x258,'G(aO'),'fjOHM':lIllIlIl(0x328,'%jUh'),'oKwJC':lIllIlIl(0x1e2,']2CY'),'uTxsD':lIllIlIl(0x3ab,'!QRP'),'mklLY':lIllIlIl(0xef,'KVw%'),'XBzyt':lIllIlIl(0x3bb,'EEug'),'WmRwW':lIllIlIl(0x236,'ZrC^'),'pPCqr':lIllIlIl(0x337,'u^1B'),'iFkTP':lIllIlIl(0x315,'69q#'),'FCMji':lIllIlIl(0x324,']2CY'),'BHCJj':lIllIlIl(0x1a0,'Q2KY'),'HvmPG':lIllIlIl(0x12f,'4(h1'),'VYVWV':lIllIlIl(0x11b,'[(TZ'),'pDfiW':lIllIlIl(0x102,'6&rj'),'kXkdD':function(lll11i1l,IIIliiIi){return lll11i1l===IIIliiIi;},'cPrzs':lIllIlIl(0x327,'!QRP'),'UwldK':lIllIlIl(0x173,'imwA'),'mEJnv':lIllIlIl(0x16e,'uUjq'),'OjYmQ':function(iI1llIiI,IlI1ll1){return iI1llIiI<IlI1ll1;},'pxjza':function(iIl1ii1i,lIl1Il1l){return iIl1ii1i>lIl1Il1l;},'ARZLr':function(I1i1IIIi,lI1i1iii){return I1i1IIIi!==lI1i1iii;},'YWQPB':lIllIlIl(0xeb,'FAfQ'),'Yrdaa':lIllIlIl(0x2ad,'x6C['),'xWXUy':lIllIlIl(0x125,'y(8y'),'rawFk':lIllIlIl(0x160,'C3W4'),'uIVIg':lIllIlIl(0x18c,'Wbxk'),'xWxwV':function(il11Iil1,l1IIIll,lIiiiili){return il11Iil1(l1IIIll,lIiiiili);},'kmvQL':function(IIiill,l1ii1lIi){return IIiill>=l1ii1lIi;},'bIUhU':function(i1iil1iI,li1I1i1i){return i1iil1iI===li1I1i1i;},'tnQJY':lIllIlIl(0x2bb,'[(TZ'),'Tcxzt':lIllIlIl(0x223,'8jFt'),'MBrCk':lIllIlIl(0x1de,'%jUh')};if($[lIllIlIl(0x1bb,'hmm7')]||$[lIllIlIl(0x294,'1TVc')])return;let illI1li=$[lIllIlIl(0x371,'SPCi')],i1iiIiII={},liI1II1I=i1ll1lil[lIllIlIl(0x37c,'7^0o')];switch(lIl11ii1){case i1ll1lil[lIllIlIl(0x26a,']2CY')]:illI1li+=lIllIlIl(0x374,'3)oJ'),i1iiIiII=lIllIlIl(0x364,'KOy3')+$[lIllIlIl(0x370,'ZrC^')]+lIllIlIl(0x196,'8jFt')+$[lIllIlIl(0x226,'Q2KY')]+lIllIlIl(0x267,'PusX');break;case i1ll1lil[lIllIlIl(0x38a,'u^1B')]:illI1li+=i1ll1lil[lIllIlIl(0x310,'NCon')],i1iiIiII=lIllIlIl(0x17a,'y(8y')+$[lIllIlIl(0x307,'69q#')];break;case i1ll1lil[lIllIlIl(0x225,'1E5r')]:liI1II1I=i1ll1lil[lIllIlIl(0x1c6,'G(aO')],illI1li+=lIllIlIl(0x39d,'q%Gv')+$[lIllIlIl(0x201,'[O)z')]+lIllIlIl(0x2d1,']2CY')+$[lIllIlIl(0x335,'G(aO')]+lIllIlIl(0x221,'7^0o')+sid+lIllIlIl(0x262,'RYdP')+un_area;break;case i1ll1lil[lIllIlIl(0x1b8,'MYkr')]:illI1li+=i1ll1lil[lIllIlIl(0x136,'vnvF')],i1iiIiII=lIllIlIl(0x108,'x6C[')+$[lIllIlIl(0x2a6,'KVw%')]+lIllIlIl(0x203,'UQYa')+$[lIllIlIl(0x23b,'8jFt')]+lIllIlIl(0x32f,'y(8y');break;default:console[lIllIlIl(0x3bc,'C3W4')](lIllIlIl(0x399,'vnvF')+lIl11ii1);return;}const il11l1Il={'url':illI1li,'method':liI1II1I,'headers':{'Accept':i1ll1lil[lIllIlIl(0x213,'1E5r')],'Accept-Encoding':i1ll1lil[lIllIlIl(0x2c2,'Pk@h')],'Accept-Language':i1ll1lil[lIllIlIl(0x105,'MYkr')],'Connection':i1ll1lil[lIllIlIl(0x326,'69q#')],'Content-Type':i1ll1lil[lIllIlIl(0x122,'6&rj')],'Cookie':activityCookie[lIllIlIl(0x367,'69q#')](),'Host':$[lIllIlIl(0x15a,'KVw%')],'Origin':$[lIllIlIl(0x1c2,'bLWP')],'Referer':$[lIllIlIl(0x148,'s7OI')],'User-Agent':$['UA']},'body':i1iiIiII,'timeout':0x7530};i1ll1lil[lIllIlIl(0x130,'4LY)')](liI1II1I,i1ll1lil[lIllIlIl(0x1e8,'[O)z')])&&(delete il11l1Il[lIllIlIl(0x30c,'3)oJ')],delete il11l1Il[lIllIlIl(0x18b,'1E5r')][i1ll1lil[lIllIlIl(0x2e4,'imwA')]]);i1ll1lil[lIllIlIl(0x243,'s7OI')](lIl11ii1,i1ll1lil[lIllIlIl(0x10c,'%jUh')])&&(il11l1Il[lIllIlIl(0x396,'6&rj')][i1ll1lil[lIllIlIl(0x2f1,'imwA')]]=i1ll1lil[lIllIlIl(0x379,'KVw%')]);const l11l1lI=0x5;let llI11iiI=0x0,iIIiiI1I=null,lIIIiiiI=![];while(i1ll1lil[lIllIlIl(0x321,'y(8y')](llI11iiI,l11l1lI)){if(i1ll1lil[lIllIlIl(0x228,'69q#')](llI11iiI,0x0)){if(i1ll1lil[lIllIlIl(0x17e,'69q#')](i1ll1lil[lIllIlIl(0x128,'zpCD')],i1ll1lil[lIllIlIl(0x357,'q%Gv')]))await $[lIllIlIl(0x210,'Q2KY')](0x3e8);else{const i1IiI1li=ilIll1il[IiIIIlil][i1ll1lil[lIllIlIl(0x219,'ZrC^')]],lIi1II1=I1lIiI1l[llllilll][i1ll1lil[lIllIlIl(0x2eb,'PusX')]],Ii1ii1l=Ii1i11il[ilIi1i1I][i1ll1lil[lIllIlIl(0x3d8,'G(aO')]];Iill1Ii1[lIllIlIl(0x206,'69q#')]=IIIlllil[0x0][i1ll1lil[lIllIlIl(0x3e5,'uUjq')]],ilIii1Ii[lIllIlIl(0x3c9,'69q#')]=l1Ill111[0x0][i1ll1lil[lIllIlIl(0x157,'%jUh')]],i1ll1lil[lIllIlIl(0x1d3,'Wbxk')](Ii1ii1l,0x1)&&(llIi1lli=!![]),i1ll1lil[lIllIlIl(0x3d1,'uUjq')](lIi1II1,'-1')?i1iii1li+=i1ll1lil[lIllIlIl(0x18f,'Wbxk')]:lliiil1l+=lIllIlIl(0x154,'x6C[')+i1IiI1li+lIiIlll[lIi1II1]+'['+(i1ll1lil[lIllIlIl(0x22a,'69q#')](Ii1ii1l,0x1)?'剩余'+Ii1ii1l+'件':i1ll1lil[lIllIlIl(0x175,'^p]z')])+']';}}const lIillIiI=await common[lIllIlIl(0x2a5,'UQYa')](il11l1Il);if(!lIillIiI[lIllIlIl(0x34f,'q%Gv')]){if(i1ll1lil[lIllIlIl(0x1af,'zpCD')](i1ll1lil[lIllIlIl(0x1a1,'imwA')],i1ll1lil[lIllIlIl(0x2b3,'^p]z')]))ll1li[lIllIlIl(0x313,'4(h1')](''+i111l1[lIllIlIl(0x1a7,'w2Id')]),i1ll111[lIllIlIl(0x2b1,'u^1B')][lIllIlIl(0x222,'^p]z')](''+IliIIi1[lIllIlIl(0x132,'69q#')]);else{iIIiiI1I=lIllIlIl(0x266,'!QRP')+lIl11ii1+lIllIlIl(0x117,'O8#6')+lIillIiI[lIllIlIl(0x37f,'X@Dc')],llI11iiI++;continue;}}if(!lIillIiI[lIllIlIl(0x253,'bLWP')]){if(i1ll1lil[lIllIlIl(0x131,'%Ohy')](i1ll1lil[lIllIlIl(0x12b,'X@Dc')],i1ll1lil[lIllIlIl(0x3a2,'KOy3')])){iIIiiI1I=lIllIlIl(0x1ac,'69q#')+lIl11ii1+lIllIlIl(0x189,'FAfQ'),llI11iiI++;continue;}else liiIllil[lIllIlIl(0x114,'zpCD')](Illiii1),i11iliII&&(llIi1ii1[lIllIlIl(0x2f2,'bLWP')]=!![],l1IiIliI[lIllIlIl(0x316,'w2Id')]&&IIilllIi[lIllIlIl(0x169,'zpCD')][lIllIlIl(0x1db,'PusX')](Ii1lliIl));}const lIi1llii=common[lIllIlIl(0x349,'PusX')](lIillIiI,activityCookie);[i1ll1lil[lIllIlIl(0x2d2,'uUjq')]][lIllIlIl(0x17c,'FAfQ')](lIl11ii1)&&(activityCookie=lIi1llii);await i1ll1lil[lIllIlIl(0x14a,'q%Gv')](handleResponse,lIl11ii1,lIillIiI[lIllIlIl(0x383,'Pk@h')]),lIIIiiiI=![];break;}if(i1ll1lil[lIllIlIl(0x22e,'G(aO')](llI11iiI,l11l1lI)){if(i1ll1lil[lIllIlIl(0x3a6,'1ilp')](i1ll1lil[lIllIlIl(0x3e8,'w2Id')],i1ll1lil[lIllIlIl(0x2c8,'SPCi')]))ii1I1lI[lIllIlIl(0x164,'u^1B')]+=0x1,I1li1iIi[lIllIlIl(0x37d,'3)oJ')](i1ll1lil[lIllIlIl(0x1ee,'[O)z')]);else{console[lIllIlIl(0x387,'vnvF')](iIIiiI1I);if(lIIIiiiI){if(i1ll1lil[lIllIlIl(0x35a,'s7OI')](i1ll1lil[lIllIlIl(0x199,'uUjq')],i1ll1lil[lIllIlIl(0x118,'SPCi')])){Il11l1lI[lIllIlIl(0x14d,'8jFt')](i1ll1lil[lIllIlIl(0x29a,'ZrC^')]),Il1l1ili[lIllIlIl(0x368,'Q2KY')][lIllIlIl(0x1b9,'g9HZ')](i1ll1lil[lIllIlIl(0x156,'g9HZ')]);return;}else $[lIllIlIl(0x261,'!QRP')]=!![],$[lIllIlIl(0x137,'imwA')]&&$[lIllIlIl(0x293,'1ilp')][lIllIlIl(0x2db,'1ilp')](iIIiiI1I);}}}}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)}