-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzfzn.js
24 lines (23 loc) · 48.3 KB
/
zfzn.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/******************************************
* @name 阵风指南
* @description 调试脚本: 去除广告, 顺带解锁视频次数
* @channel https://t.me/yqc_123
* @version 1.0.1
******************************************
脚本声明:
1. 本脚本仅用于学习研究,禁止用于商业用途
2. 本脚本不保证准确性、可靠性、完整性和及时性
3. 任何个人或组织均可无需经过通知而自由使用
4. 作者对任何脚本问题概不负责,包括由此产生的任何损失
5. 如果任何单位或个人认为该脚本可能涉嫌侵犯其权利,应及时通知并提供身份证明、所有权证明,我将在收到认证文件确认后删除
6. 请勿将本脚本用于商业用途,由此引起的问题与作者无关
7. 本脚本及其更新版权归作者所有
******************************************
hostname = dp16dx.lgmufoix8f2.net, pps*.com, org.qzjhn.com
https?:\/\/(dp16dx\.lgmufoix8f2\.net|.*(pps\d+|qzjhn)\.com)(\/|)$ url script-response-body https://raw.githubusercontent.com/jiangaq/aqrewrite/refs/heads/main/zfzn.js
https?:\/\/(dp16dx\.lgmufoix8f2\.net|.*(pps\d+|qzjhn)\.com)\/java\/(index\/game|user\/my) url script-response-body https://raw.githubusercontent.com/jiangaq/aqrewrite/refs/heads/main/zfzn.js
https?:\/\/(dp16dx\.lgmufoix8f2\.net|.*(pps\d+|qzjhn)\.com)\/java\/show\/\d+ url script-analyze-echo-response https://raw.githubusercontent.com/jiangaq/aqrewrite/refs/heads/main/zfzn.js
******************************************/
var x,d,s=["aXNRdWFuWA==","SFRUUC8xLjEgMjAwIE9L","dGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ow==","Z2V0anNvbg==","emZ6bl90b2tlbg==","Y291bnQ=","RlRpeUE=","Uk9STG0=","ZnJvbUVudHJpZXM=","ZW50cmllcw==","dG9rZW4=","Y29va2ll","dXNlci1hZ2VudA==","Y29udGVudC10eXBl","Z3ppcCwgZGVmbGF0ZSwgYnI=","b3JpZ2lu","aG9zdA==","emgtQ04semgtSGFucztxPTAuOQ==","Ki8q","c2V0anNvbg==","dG9TdHI=","cG9wdXA=","5rWL6K+V5L2/55So","5YWN6LS55YiG5Lqr","ZnVsbHZpZGVv","5Yi35paw6YeN6K+V","6Kej6ZSB5aSx6LSl","ZmluaXNo","dFpKV0E=","cm92UWM=","Z2FtZQ==","bk1kWkk=","b0RVTEg=","bG9nRXJy","ZmluYWxseQ==","Zmxib1o=","T3VZSFA=","d1dJeng=","cGFyc2U=","eHBVZWM=","WHdnZ00=","YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo=","MDEyMzQ1Njc4OQ==","dmtzVlc=","c29ydA==","aW5jbHVkZXM=","WHNsUXc=","V3pHYlY=","SkNDZno=","RG9NV3E=","QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODk=","YWJWTFg=","SXVqdHQ=","L2phdmEvdXNlci9yZWdpc3Rlcg==","bXVsdGlwYXJ0L2Zvcm0tZGF0YTsgYm91bmRhcnk9LS0tLVdlYktpdEZvcm1Cb3VuZGFyeUVIOGdLcWlQSWxBNDB2cVg=","TW96aWxsYS81LjAgKGlQaG9uZTsgQ1BVIGlQaG9uZSBPUyAxN18zXzEgbGlrZSBNYWMgT1MgWCkgQXBwbGVXZWJLaXQvNjA1LjEuMTUgKEtIVE1MLCBsaWtlIEdlY2tvKSBNb2JpbGUvMTVFMTQ4IGFiYWIv","ZGV2aWNlPQ==","LS0tLS0tV2ViS2l0Rm9ybUJvdW5kYXJ5RUg4Z0txaVBJbEE0MHZxWApDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9InVzZXJuYW1lIgoK","Ci0tLS0tLVdlYktpdEZvcm1Cb3VuZGFyeUVIOGdLcWlQSWxBNDB2cVgKQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJwYXNzd29yZCIKCm9ubHlwd2QxMjMKLS0tLS0tV2ViS2l0Rm9ybUJvdW5kYXJ5RUg4Z0txaVBJbEE0MHZxWApDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9InJlcGFzc3dvcmQiCgpvbmx5cHdkMTIzCi0tLS0tLVdlYktpdEZvcm1Cb3VuZGFyeUVIOGdLcWlQSWxBNDB2cVgtLQ==","Y29kZQ==","5rOo5YaM5oiQ5YqfOiA=","dXNlcm5hbWU=","LCBUT0tFTjog","cmVqZWN0","5rOo5YaM5aSx6LSlKDo=","bWVzc2FnZQ==","5rOo5YaM5aSx6LSl5LqGKCwg","YXpKSlo=","SXp5bUY=","VmNUb2M=","VGhsVlo=","c3V4dXY=","b0RHWmE=","ZGRyaEQ=","V05zcUM=","54mI5pys6I635Y+W5aSx6LSl","bXNn","5ru05ru05ru0LCDogIHlj7jmnLrmlrDniYjmnKzmnaXooq3vvIE=","5b2T5YmN54mI5pysOiA=","77yM5pyA5paw54mI5pysOiA=","CuW/q+eCueaIkeabtOaWsPCfmpc=","54mI5pys5LiN5Yy56YWN","UHFFbmo=","bFZySEw=","RVJNTEs=","Z1VWREQ=","dGltZQ==","eXl5eU1N","X25vdGlmaWVk","VEFDTEk=","5pys6ISa5pys5LuF55So5LqO5oqA5pyv5a2m5Lmg77yM56aB5q2i6Z2e5rOV5L2/55So44CC","5LiN5b6X5bCG5pys6ISa5pys55So5LqO5Lu75L2V5ZWG5Lia5oiW6L+d5rOV55So6YCU77yM6L+d6ICF5ZCO5p6c6Ieq6LSf44CC","5Zyo5Lit5Zu95aSn6ZmG5Zyw5Yy677yM5Lil56aB5Lyg5pKt5pys6ISa5pys44CC","5byA5Y+R6ICF5LiN5a+56ISa5pys55qE5rul55So5om/5ouF5Lu75L2V6LSj5Lu744CC","6L+d6KeE5L2/55So5a+86Ie055qE5ZCO5p6c55Sx5L2/55So6ICF6Ieq6KGM5om/5ouF44CC","5aaC5pyJ6L+d5Y+N55u45YWz5rOV6KeE77yM5bCG56uL5Y2z5Yig6Zmk5pys6ISa5pys44CC","5L2/55So6ICF6Iul6L+d5Y+N5aOw5piO6KeE5a6a77yM5bCG6Ieq5Yqo6KeG5Li65pS+5byD5L2/55So5p2D44CC","5pys5aOw5piO55qE5pyA57uI6Kej6YeK5p2D5b2S5byA5Y+R6ICF5omA5pyJ44CC","aHR0cHM6Ly9jZG4uanNkZWxpdnIubmV0L2doL1l1aGVuZzAxMDEvWEBtYWluL1V0aWxzL25vdGljZS5qc29u","dG9PYmo=","6I635Y+W6L+c56iL5aOw5piO5oiQ5Yqf","6I635Y+W6L+c56iL5aOw5piO5aSx6LSlLCDkvb/nlKjmnKzlnLDlo7DmmI4=","c2V0ZGF0YQ==","dHJ1ZQ==","c2V0TW9udGg=","Z2V0TW9udGg=","Z2V0ZGF0YQ==","5pys5pyI5bey6YCa55+l6L+H77yM5pys5qyh5LiN5YaN6YCa55+l","aHR0cHM6Ly90Lm1lL3lxY18xMjMv","6ISa5pys5aOw5piO","QGJhYmVsL2hlbHBlcnMgLSB0eXBlb2Y=","ZnVuY3Rpb24=","c3ltYm9s","aXRlcmF0b3I=","dmhVRXE=","aG1hSWY=","bWFyaw==","d3JhcA==","cHJldg==","bmV4dA==","aHR0cA==","Z2V0","c2VudA==","Ym9keQ==","bWF0Y2g=","YWJydXB0","cmV0dXJu","Y2F0Y2g=","ZXJyb3I=","6I635Y+W54mI5pys5aSx6LSlOiA=","Y29uY2F0","ZW5k","c3RvcA==","YXBwbHk=","Y29uc3RydWN0b3I=","cHJvdG90eXBl","aGFzT3duUHJvcGVydHk=","ZGVmaW5lUHJvcGVydHk=","dmFsdWU=","QEBpdGVyYXRvcg==","YXN5bmNJdGVyYXRvcg==","QEBhc3luY0l0ZXJhdG9y","dG9TdHJpbmdUYWc=","QEB0b1N0cmluZ1RhZw==","Ykp1Q2U=","UXZhUFA=","dHJ5RW50cmllcw==","bGVuZ3Ro","dHJ5TG9j","Y29tcGxldGlvbg==","dGhyb3c=","dHlwZQ==","YXJn","aWxsZWdhbCBjYXRjaCBhdHRlbXB0","eG5CYlg=","Y3JlYXRl","X2ludm9rZQ==","Y0FiaWY=","ZVFHVnc=","bm9ybWFs","Y2FsbA==","c3VzcGVuZGVkU3RhcnQ=","c3VzcGVuZGVkWWllbGQ=","ZXhlY3V0aW5n","Y29tcGxldGVk","RVBleGg=","Y2F0Y2hMb2M=","Z2V0UHJvdG90eXBlT2Y=","Y1hhdXo=","dGZpcXA=","Zm9yRWFjaA==","dU1PYUU=","YXR5S3A=","c3RyaW5naWZ5","cGZ2R08=","d05XZlE=","ZmluYWxseUxvYw==","b2JqZWN0","X19hd2FpdA==","cmVzb2x2ZQ==","dGhlbg==","b0J5SHU=","YWZ0ZXJMb2M=","cHVzaA==","Qm5qTXo=","WVRJTHQ=","X3NlbnQ=","ZG9uZQ==","ZGVsZWdhdGU=","bWV0aG9k","Y2hhckF0","c2xpY2U=","SkxiaUE=","Y0tYSW8=","VnhCdHo=","UG5ESWo=","R2VuZXJhdG9yRnVuY3Rpb24=","ZGlzcGxheU5hbWU=","bmFtZQ==","aXNHZW5lcmF0b3JGdW5jdGlvbg==","SkdYVkc=","ekVpWVg=","R2VuZXJhdG9yIGlzIGFscmVhZHkgcnVubmluZw==","aG1ZVWI=","QmZkZUY=","ZWdMdW4=","cG9w","YUtwTXg=","Rk11RkQ=","ZGlzcGF0Y2hFeGNlcHRpb24=","dG9Mb3dlckNhc2U=","dXJs","aGVhZGVycw==","cG9zdA==","YXNzaWdu","Ym1KdXg=","VGhlIGl0ZXJhdG9yIGRvZXMgbm90IHByb3ZpZGUgYSAn","JyBtZXRob2Q=","cmVzdWx0TmFtZQ==","bmV4dExvYw==","aXRlcmF0b3IgcmVzdWx0IGlzIG5vdCBhbiBvYmplY3Q=","UlRDekM=","dHJ5IHN0YXRlbWVudCB3aXRob3V0IGNhdGNoIG9yIGZpbmFsbHk=","andzcUs=","bG9qS2Q=","c3RyaW5n","dG9TdHJpbmc=","T2JqZWN0","TWFw","U2V0","ZnJvbQ==","QXJndW1lbnRz","dGVzdA==","cm9vdA==","cmVzZXQ=","Y0lpZUM=","dmt0RWk=","ekZrV1A=","cmV2ZXJzZQ==","d2RGVWU=","dGV1RVA=","IGlzIG5vdCBpdGVyYWJsZQ==","c2V0UHJvdG90eXBlT2Y=","X19wcm90b19f","YXdyYXA=","QXN5bmNJdGVyYXRvcg==","YXN5bmM=","TWptckE=","RWZzR3U=","R2VuZXJhdG9y","WFV1ZUk=","W29iamVjdCBHZW5lcmF0b3Jd","a2V5cw==","U0NsYWk=","dlZWdEk=","Zmxvb3I=","cmFuZG9t","dmFsdWVz","QmZnc3I=","cnBpcU4=","cnZhbA==","R3pOVHk=","SFFoSE4=","VXNqV0Q=","WXFzd0s=","T1hqdHM=","SHlTQk8=","eEJjbWU=","ampRckk=","eGlwSEY=","bnBkTU4=","YnJlYWs=","Y29udGludWU=","RFpSTFM=","YmhNWXI=","Y2hhckNvZGVBdA==","cGFkU3RhcnQ=","Y29tcGxldGU=","ZGF0YQ==","YmFubmVy","cmVwbGFjZQ==","aWRhdGE9Jw==","RUhZeG4=","aEJRYVo=","UnFzTFk=","V1lEek4=","elFIcFQ=","dmlw","c3ZpcA==","dG9kYXlfbWF4","dG9kYXlfbGVmdA==","b0xDV0w=","SW52YWxpZCBhdHRlbXB0IHRvIGRlc3RydWN0dXJlIG5vbi1pdGVyYWJsZSBpbnN0YW5jZS4KSW4gb3JkZXIgdG8gYmUgaXRlcmFibGUsIG5vbi1hcnJheSBvYmplY3RzIG11c3QgaGF2ZSBhIFtTeW1ib2wuaXRlcmF0b3JdKCkgbWV0aG9kLg==","U3loUW0=","VXJjcHE=","aU1Vd2s=","Rm5aQkk=","a2Z3Tmw=","dW5kZWZpbmVk","aXViUG4=","UFRVc0o=","UW5aY2Q=","aXNBcnJheQ==","ZkV6Z0w=","V2hmTk0=","VWxYYnY=","bEpUQlM=","V2d6c2M=","6Zi16aOO5oyH5Y2X","MS4wLjE=","aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL1l1aGVuZzAxMDEvWC9tYWluL1NjcmlwdHMvemZ6bi5qcw==","aG9zdG5hbWU=","bG9nTGV2ZWw=","ZGVidWc=","aW5mbw==","RktXSko=","V0hwY0o=","emZ6bg==","Y0FSR24=","TENWeXo=","c3BsaXQ=","bWFw","am9pbg=="];x=s,d=110,function(t){for(;--t;)x.push(x.shift())}(++d);var l=function(x,t){x-=0;var r,e=s[x];void 0===l.ltoSEs&&(r=function(){var x;try{x=Function('return (function() {}.constructor("return this")( ));')()}catch(t){x=window}return x}(),r.atob||(r.atob=function(x){for(var t,r,e=String(x).replace(/=+$/,""),n=0,a=0,i="";r=e.charAt(a++);~r&&(t=n%4?64*t+r:r,n++%4)?i+=String.fromCharCode(255&t>>(-2*n&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return i}),l.kIFDqe=function(x){for(var t=atob(x),r=[],e=0,n=t.length;e<n;e++)r+="%"+("00"+t.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(r)},l.htkSSK={},l.ltoSEs=!0);var n=l.htkSSK[x];return void 0===n?(e=l.kIFDqe(e),l.htkSSK[x]=e):e=n,e};(()=>{function x(t){return l("0x0"),x=l("0x1")==typeof Symbol&&l("0x2")==typeof Symbol[l("0x3")]?function(x){if(l("0x4")!==l("0x5"))return typeof x;var t=v(d()[l("0x6")]((function x(){var t,e,n,a;return d()[l("0x7")]((function(x){for(;;)switch(x[l("0x8")]=x[l("0x9")]){case 0:return x[l("0x8")]=0,x[l("0x9")]=3,m[l("0xa")][l("0xb")]({url:r,timeout:2e3});case 3:return e=x[l("0xc")],n=e[l("0xd")],a=null===(t=n[l("0xe")](/@\s*version\s*([\d.]+)/))||void 0===t?void 0:t[1],x[l("0xf")](l("0x10"),a);case 9:return x[l("0x8")]=9,x.t0=x[l("0x11")](0),x[l("0xf")](l("0x10"),(m[l("0x12")](l("0x13")[l("0x14")](x.t0)),""));case 12:case l("0x15"):return x[l("0x16")]()}}),x,null,[[0,9]])})));return function(){return t[l("0x17")](this,arguments)}}:function(x){return x&&l("0x1")==typeof Symbol&&x[l("0x18")]===Symbol&&x!==Symbol[l("0x19")]?l("0x2"):typeof x},x(t)}function d(){"use strict";d=function(){return r};var t,r={},e=Object[l("0x19")],n=e[l("0x1a")],a=Object[l("0x1b")]||function(x,t,r){x[t]=r[l("0x1c")]},i=l("0x1")==typeof Symbol?Symbol:{},c=i[l("0x3")]||l("0x1d"),u=i[l("0x1e")]||l("0x1f"),f=i[l("0x20")]||l("0x21");function o(x,t,r){if(l("0x22")===l("0x23")){for(var e=this[l("0x24")][l("0x25")]-1;e>=0;--e){var n=this[l("0x24")][e];if(n[l("0x26")]===x){var a=n[l("0x27")];if(l("0x28")===a[l("0x29")]){var i=a[l("0x2a")];Q(n)}return i}}throw Error(l("0x2b"))}return Object[l("0x1b")](x,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),x[t]}try{o({},"")}catch(x){o=function(x,t,r){if(l("0x2c")!=l("0x2c")){if(l("0x28")===i)throw c;return{value:x,done:!0}}return x[t]=r}}function y(x,t,r,e){var n=t&&t[l("0x19")]instanceof k?t:k,i=Object[l("0x2d")](n[l("0x19")]),c=new M(e||[]);return a(i,l("0x2e"),{value:J(x,r,c)}),i}function Z(x,t,r){if(l("0x2f")!==l("0x30"))try{return{type:l("0x31"),arg:x[l("0x32")](t,r)}}catch(x){return{type:l("0x28"),arg:x}}else t(n)}r[l("0x7")]=y;var G=l("0x33"),V=l("0x34"),Y=l("0x35"),p=l("0x36"),X={};function k(){}function L(){}function R(){}var U={};o(U,c,(function(){return l("0x37")==l("0x37")?this:this[l("0x8")]<i[l("0x38")]?handle(i[l("0x38")],!0):void 0}));var g=Object[l("0x39")],F=g&&g(g(A([])));F&&F!==e&&n[l("0x32")](F,c)&&(U=F);var I=R[l("0x19")]=k[l("0x19")]=Object[l("0x2d")](U);function E(x){if(l("0x3a")===l("0x3b")){n[l("0x2a")];Q(e)}else[l("0x9"),l("0x28"),l("0x10")][l("0x3c")]((function(t){l("0x3d")===l("0x3e")?data=JSON[l("0x3f")](data):o(x,t,(function(x){return l("0x40")!==l("0x41")?this[l("0x2e")](t,x):this[l("0x8")]<i[l("0x38")]?handle(i[l("0x38")],!0):this[l("0x8")]<i[l("0x42")]?handle(i[l("0x42")]):void 0}))}))}function N(t,r){function e(a,i,c,u){var f=Z(t[a],t,i);if(l("0x28")!==f[l("0x29")]){var o=f[l("0x2a")],d=o[l("0x1c")];return d&&l("0x43")==x(d)&&n[l("0x32")](d,l("0x44"))?r[l("0x45")](d[l("0x44")])[l("0x46")]((function(x){if(l("0x47")!=l("0x47")){var t={tryLoc:x[0]};1 in x&&(t[l("0x38")]=x[1]),2 in x&&(t[l("0x42")]=x[2],t[l("0x48")]=x[3]),this[l("0x24")][l("0x49")](t)}else e(l("0x9"),x,c,u)}),(function(x){if(l("0x4a")!==l("0x4b"))e(l("0x28"),x,c,u);else if(this[l("0x8")]=0,this[l("0x9")]=0,this[l("0xc")]=this[l("0x4c")]=x,this[l("0x4d")]=!1,this[l("0x4e")]=null,this[l("0x4f")]=l("0x9"),this[l("0x2a")]=x,this[l("0x24")][l("0x3c")](Q),!r)for(var t in this)"t"===t[l("0x50")](0)&&n[l("0x32")](this,t)&&!isNaN(+t[l("0x51")](1))&&(this[t]=x)})):r[l("0x45")](d)[l("0x46")]((function(x){l("0x52"),l("0x52"),o[l("0x1c")]=x,c(o)}),(function(x){if(l("0x53")==l("0x53"))return e(l("0x28"),x,c,u);if(c=(x=x[l("0x32")](a))[l("0x9")],0===V){if(Object(x)!==x)return;Y=!1}else for(;!(Y=(r=c[l("0x32")](x))[l("0x4d")])&&(u[l("0x49")](r[l("0x1c")]),u[l("0x25")]!==V);Y=!0);}))}u(f[l("0x2a")])}var c;a(this,l("0x2e"),{value:function(x,t){if(l("0x54")==l("0x54")){function u(){if(l("0x55")!=l("0x55")){var n=l("0x1")==typeof x&&x[l("0x18")];return!!n&&(n===L||l("0x56")===(n[l("0x57")]||n[l("0x58")]))}return new r((function(r,n){e(x,t,r,n)}))}return c=c?c[l("0x46")](u,u):u()}void 0===i&&(i=Promise);var n=new N(y(x,c,t,a),i);return r[l("0x59")](c)?n:n[l("0x9")]()[l("0x46")]((function(x){return x[l("0x4d")]?x[l("0x1c")]:n[l("0x9")]()}))}})}function J(x,r,e){var n=G;return function(a,i){if(l("0x5a")!==l("0x5b")){if(n===Y)throw Error(l("0x5c"));if(n===p){if(l("0x28")===a)throw i;return{value:t,done:!0}}for(e[l("0x4f")]=a,e[l("0x2a")]=i;;){var c=e[l("0x4e")];if(c){if(l("0x5d")!=l("0x5d")){for(;r[l("0x25")];){var u=r[l("0x60")]();if(u in x)return next[l("0x1c")]=u,next[l("0x4d")]=!1,next}return next[l("0x4d")]=!0,next}var f=C(c,e);if(f){if(l("0x5e")===l("0x5f"))return n&&l("0x1")==typeof Symbol&&n[l("0x18")]===Symbol&&n!==Symbol[l("0x19")]?l("0x2"):typeof n;if(f===X)continue;return f}}if(l("0x9")===e[l("0x4f")])e[l("0xc")]=e[l("0x4c")]=e[l("0x2a")];else if(l("0x28")===e[l("0x4f")]){if(l("0x61")===l("0x62"))return W=v(d()[l("0x6")]((function x(){var t,r;return d()[l("0x7")]((function(x){for(;;)switch(x[l("0x8")]=x[l("0x9")]){case 0:return t=$request[l("0x4f")][l("0x64")](),r={url:$request[l("0x65")],headers:$request[l("0x66")]},t==l("0x67")&&Object[l("0x68")](r,{body:$request[l("0xd")]}),x[l("0x9")]=5,m[l("0xa")][t](r);case 5:return x[l("0xf")](l("0x10"),x[l("0xc")]);case 6:case l("0x15"):return x[l("0x16")]()}}),x)}))),W[l("0x17")](this,arguments);if(n===G)throw n=p,e[l("0x2a")];e[l("0x63")](e[l("0x2a")])}else l("0x10")===e[l("0x4f")]&&e[l("0xf")](l("0x10"),e[l("0x2a")]);n=Y;var s=Z(x,r,e);if(l("0x31")===s[l("0x29")]){if(n=e[l("0x4d")]?p:V,s[l("0x2a")]===X)continue;return{value:s[l("0x2a")],done:e[l("0x4d")]}}l("0x28")===s[l("0x29")]&&(n=p,e[l("0x4f")]=l("0x28"),e[l("0x2a")]=s[l("0x2a")])}}else o=function(x,t,r){return x[t]=r}}}function C(x,r){if(l("0x69")==l("0x69")){var e=r[l("0x4f")],n=x[l("0x3")][e];if(n===t)return r[l("0x4e")]=null,l("0x28")===e&&x[l("0x3")][l("0x10")]&&(r[l("0x4f")]=l("0x10"),r[l("0x2a")]=t,C(x,r),l("0x28")===r[l("0x4f")])||l("0x10")!==e&&(r[l("0x4f")]=l("0x28"),r[l("0x2a")]=new TypeError(l("0x6a")+e+l("0x6b"))),X;var a=Z(n,x[l("0x3")],r[l("0x2a")]);if(l("0x28")===a[l("0x29")])return r[l("0x4f")]=l("0x28"),r[l("0x2a")]=a[l("0x2a")],r[l("0x4e")]=null,X;var i=a[l("0x2a")];return i?i[l("0x4d")]?(r[x[l("0x6c")]]=i[l("0x1c")],r[l("0x9")]=x[l("0x6d")],l("0x10")!==r[l("0x4f")]&&(r[l("0x4f")]=l("0x9"),r[l("0x2a")]=t),r[l("0x4e")]=null,X):i:(r[l("0x4f")]=l("0x28"),r[l("0x2a")]=new TypeError(l("0x6e")),r[l("0x4e")]=null,X)}var c=e[i](u);c[l("0x1c")]}function O(x){if(l("0x6f")!=l("0x6f")){if(!f)throw Error(l("0x70"));if(this[l("0x8")]<i[l("0x42")])return handle(i[l("0x42")])}else{var t={tryLoc:x[0]};1 in x&&(t[l("0x38")]=x[1]),2 in x&&(t[l("0x42")]=x[2],t[l("0x48")]=x[3]),this[l("0x24")][l("0x49")](t)}}function Q(x){var t=x[l("0x27")]||{};t[l("0x29")]=l("0x31"),delete t[l("0x2a")],x[l("0x27")]=t}function M(x){if(l("0x71")===l("0x72")){if(l("0x73")==typeof e)return b(e,c);var t={}[l("0x74")][l("0x32")](e)[l("0x51")](8,-1);return l("0x75")===t&&e[l("0x18")]&&(t=e[l("0x18")][l("0x58")]),l("0x76")===t||l("0x77")===t?Array[l("0x78")](e):l("0x79")===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[l("0x7a")](t)?b(e,c):void 0}this[l("0x24")]=[{tryLoc:l("0x7b")}],x[l("0x3c")](O,this),this[l("0x7c")](!0)}function A(r){if(l("0x7d")==l("0x7d")){if(r||""===r)if(l("0x7e")!=l("0x7e")){var e=a[l("0x60")]();if(e in r)return next[l("0x1c")]=e,next[l("0x4d")]=!1,next}else{var a=r[c];if(a)return a[l("0x32")](r);if(l("0x1")==typeof r[l("0x9")])return r;if(!isNaN(r[l("0x25")])){if(l("0x7f")!=l("0x7f")){var i=Object(t),u=[];for(var f in i)u[l("0x49")](f);return u[l("0x80")](),function x(){for(;u[l("0x25")];){var t=u[l("0x60")]();if(t in i)return x[l("0x1c")]=t,x[l("0x4d")]=!1,x}return x[l("0x4d")]=!0,x}}var o=-1,d=function x(){if(l("0x81")!==l("0x82")){for(;++o<r[l("0x25")];)if(n[l("0x32")](r,o))return x[l("0x1c")]=r[o],x[l("0x4d")]=!1,x;return x[l("0x1c")]=t,x[l("0x4d")]=!0,x}return{__await:t}};return d[l("0x9")]=d}}throw new TypeError(x(r)+l("0x83"))}return Object[l("0x1b")](t,r,{value:a,enumerable:!0,configurable:!0,writable:!0}),t[r]}return L[l("0x19")]=R,a(I,l("0x18"),{value:R,configurable:!0}),a(R,l("0x18"),{value:L,configurable:!0}),L[l("0x57")]=o(R,f,l("0x56")),r[l("0x59")]=function(x){var t=l("0x1")==typeof x&&x[l("0x18")];return!!t&&(t===L||l("0x56")===(t[l("0x57")]||t[l("0x58")]))},r[l("0x6")]=function(x){return Object[l("0x84")]?Object[l("0x84")](x,R):(x[l("0x85")]=R,o(x,f,l("0x56"))),x[l("0x19")]=Object[l("0x2d")](I),x},r[l("0x86")]=function(x){return{__await:x}},E(N[l("0x19")]),o(N[l("0x19")],u,(function(){return this})),r[l("0x87")]=N,r[l("0x88")]=function(x,t,e,n,a){if(l("0x89")!==l("0x8a")){void 0===a&&(a=Promise);var i=new N(y(x,t,e,n),a);return r[l("0x59")](t)?i:i[l("0x9")]()[l("0x46")]((function(x){return x[l("0x4d")]?x[l("0x1c")]:i[l("0x9")]()}))}h(i,t,n,_next,_throw,l("0x28"),e)},E(I),o(I,f,l("0x8b")),o(I,c,(function(){if(l("0x8c")==l("0x8c"))return this;var x=e[l("0x4f")],n=r[l("0x3")][x];if(n===t)return e[l("0x4e")]=null,l("0x28")===x&&r[l("0x3")][l("0x10")]&&(e[l("0x4f")]=l("0x10"),e[l("0x2a")]=t,C(r,e),l("0x28")===e[l("0x4f")])||l("0x10")!==x&&(e[l("0x4f")]=l("0x28"),e[l("0x2a")]=new TypeError(l("0x6a")+x+l("0x6b"))),X;var a=Z(n,r[l("0x3")],e[l("0x2a")]);if(l("0x28")===a[l("0x29")])return e[l("0x4f")]=l("0x28"),e[l("0x2a")]=a[l("0x2a")],e[l("0x4e")]=null,X;var i=a[l("0x2a")];return i?i[l("0x4d")]?(e[r[l("0x6c")]]=i[l("0x1c")],e[l("0x9")]=r[l("0x6d")],l("0x10")!==e[l("0x4f")]&&(e[l("0x4f")]=l("0x9"),e[l("0x2a")]=t),e[l("0x4e")]=null,X):i:(e[l("0x4f")]=l("0x28"),e[l("0x2a")]=new TypeError(l("0x6e")),e[l("0x4e")]=null,X)})),o(I,l("0x74"),(function(){return l("0x8d")})),r[l("0x8e")]=function(x){if(l("0x8f")==l("0x8f")){var t=Object(x),r=[];for(var e in t)r[l("0x49")](e);return r[l("0x80")](),function x(){if(l("0x90")==l("0x90")){for(;r[l("0x25")];){var e=r[l("0x60")]();if(e in t)return x[l("0x1c")]=e,x[l("0x4d")]=!1,x}return x[l("0x4d")]=!0,x}result+=chars[l("0x50")](Math[l("0x91")](Math[l("0x92")]()*chars[l("0x25")]))}}invoke(l("0x9"),x,i,c)},r[l("0x93")]=A,M[l("0x19")]={constructor:M,reset:function(x){if(l("0x94")===l("0x95")){var r=s(_ref2,2),e=r[0],a=r[1];return[e[l("0x64")](),a]}if(this[l("0x8")]=0,this[l("0x9")]=0,this[l("0xc")]=this[l("0x4c")]=t,this[l("0x4d")]=!1,this[l("0x4e")]=null,this[l("0x4f")]=l("0x9"),this[l("0x2a")]=t,this[l("0x24")][l("0x3c")](Q),!x)for(var i in this)"t"===i[l("0x50")](0)&&n[l("0x32")](this,i)&&!isNaN(+i[l("0x51")](1))&&(this[i]=t)},stop:function(){this[l("0x4d")]=!0;var x=this[l("0x24")][0][l("0x27")];if(l("0x28")===x[l("0x29")])throw x[l("0x2a")];return this[l("0x96")]},dispatchException:function(x){if(this[l("0x4d")])throw x;var r=this;function e(e,n){if(l("0x97")!==l("0x98"))return f[l("0x29")]=l("0x28"),f[l("0x2a")]=x,r[l("0x9")]=e,n&&(r[l("0x4f")]=l("0x9"),r[l("0x2a")]=t),!!n;var a=t[l("0x27")]||{};a[l("0x29")]=l("0x31"),delete a[l("0x2a")],t[l("0x27")]=a}for(var a=this[l("0x24")][l("0x25")]-1;a>=0;--a){if(l("0x99")===l("0x9a")){var i=r[l("0x27")];if(l("0x28")===i[l("0x29")]){var c=i[l("0x2a")];Q(r)}return c}var u=this[l("0x24")][a],f=u[l("0x27")];if(l("0x7b")===u[l("0x26")])return e(l("0x15"));if(u[l("0x26")]<=this[l("0x8")]){if(l("0x9b")===l("0x9c"))return Object[l("0x84")]?Object[l("0x84")](t,R):(t[l("0x85")]=R,o(t,s,l("0x56"))),t[l("0x19")]=Object[l("0x2d")](I),t;var d=n[l("0x32")](u,l("0x38")),s=n[l("0x32")](u,l("0x42"));if(d&&s){if(this[l("0x8")]<u[l("0x38")])return e(u[l("0x38")],!0);if(this[l("0x8")]<u[l("0x42")])return e(u[l("0x42")])}else if(d){if(l("0x9d")!=l("0x9d")){var b=x[f];if(b)return b[l("0x32")](x);if(l("0x1")==typeof x[l("0x9")])return x;if(!isNaN(x[l("0x25")])){var h=-1,v=function r(){for(;++h<x[l("0x25")];)if(n[l("0x32")](x,h))return r[l("0x1c")]=x[h],r[l("0x4d")]=!1,r;return r[l("0x1c")]=t,r[l("0x4d")]=!0,r};return v[l("0x9")]=v}}else if(this[l("0x8")]<u[l("0x38")])return e(u[l("0x38")],!0)}else{if(!s)throw Error(l("0x70"));if(this[l("0x8")]<u[l("0x42")])return e(u[l("0x42")])}}}},abrupt:function(x,t){if(l("0x9e")==l("0x9e")){for(var r=this[l("0x24")][l("0x25")]-1;r>=0;--r){if(l("0x9f")===l("0xa0")){if(l("0x28")===x[l("0x29")])throw x[l("0x2a")];return l("0xa1")===x[l("0x29")]||l("0xa2")===x[l("0x29")]?this[l("0x9")]=x[l("0x2a")]:l("0x10")===x[l("0x29")]?(this[l("0x96")]=this[l("0x2a")]=x[l("0x2a")],this[l("0x4f")]=l("0x10"),this[l("0x9")]=l("0x15")):l("0x31")===x[l("0x29")]&&t&&(this[l("0x9")]=t),X}var e=this[l("0x24")][r];if(e[l("0x26")]<=this[l("0x8")]&&n[l("0x32")](e,l("0x42"))&&this[l("0x8")]<e[l("0x42")]){if(l("0xa3")===l("0xa4")){var a=_char[l("0xa5")](0);return a>127?"\\u"+a[l("0x74")](16)[l("0xa6")](4,"0"):_char}var i=e;break}}i&&(l("0xa1")===x||l("0xa2")===x)&&i[l("0x26")]<=t&&t<=i[l("0x42")]&&(i=null);var c=i?i[l("0x27")]:{};return c[l("0x29")]=x,c[l("0x2a")]=t,i?(this[l("0x4f")]=l("0x9"),this[l("0x9")]=i[l("0x42")],X):this[l("0xa7")](c)}idata=$response[l("0xd")][l("0xe")](/idata=\'(.*?)\'/)[1],_dec=S(idata),_dec[l("0xa8")][l("0xa9")]=[],enc=w(_dec),body=body[l("0xaa")](/idata='.*?'/g,l("0xab")[l("0x14")](enc,"'"))},complete:function(x,t){if(l("0xac")!==l("0xad")){if(l("0x28")===x[l("0x29")])throw x[l("0x2a")];return l("0xa1")===x[l("0x29")]||l("0xa2")===x[l("0x29")]?this[l("0x9")]=x[l("0x2a")]:l("0x10")===x[l("0x29")]?(this[l("0x96")]=this[l("0x2a")]=x[l("0x2a")],this[l("0x4f")]=l("0x10"),this[l("0x9")]=l("0x15")):l("0x31")===x[l("0x29")]&&t&&(this[l("0x9")]=t),X}o(x,t,(function(x){return this[l("0x2e")](t,x)}))},finish:function(x){for(var t=this[l("0x24")][l("0x25")]-1;t>=0;--t){var r=this[l("0x24")][t];if(r[l("0x42")]===x)return this[l("0xa7")](r[l("0x27")],r[l("0x48")]),Q(r),X}},catch:function(x){for(var t=this[l("0x24")][l("0x25")]-1;t>=0;--t){var r=this[l("0x24")][t];if(r[l("0x26")]===x){if(l("0xae")==l("0xae")){var e=r[l("0x27")];if(l("0x28")===e[l("0x29")]){var n=e[l("0x2a")];Q(r)}return n}return $done({})}}throw Error(l("0x2b"))},delegateYield:function(x,r,e){if(l("0xaf")!==l("0xb0"))return this[l("0x4e")]={iterator:A(x),resultName:r,nextLoc:e},l("0x9")===this[l("0x4f")]&&(this[l("0x2a")]=t),X;dec[l("0xa8")][l("0xb1")]=1,dec[l("0xa8")][l("0xb2")]=1,dec[l("0xa8")][l("0xb3")]=999,dec[l("0xa8")][l("0xb4")]=999}},r}function s(x,r){return function(x){if(Array[l("0xc0")](x))return x}(x)||function(x,t){var r=null==x?null:l("0xbc")!=typeof Symbol&&x[Symbol[l("0x3")]]||x[l("0x1d")];if(null!=r){var e,n,a,i,c=[],u=!0,f=!1;try{if(a=(r=r[l("0x32")](x))[l("0x9")],0===t)if(l("0xbd")!=l("0xbd")){if(f)throw n}else{if(Object(r)!==r)return;u=!1}else for(;!(u=(e=a[l("0x32")](r))[l("0x4d")])&&(c[l("0x49")](e[l("0x1c")]),c[l("0x25")]!==t);u=!0);}catch(x){l("0xbe")!=l("0xbe")?define({},""):(f=!0,n=x)}finally{try{if(!u&&null!=r[l("0x10")]&&(i=r[l("0x10")](),Object(i)!==i))return}finally{if(l("0xbf")==l("0xbf")){if(f)throw n}else{var o=this[l("0x24")][e];if(o[l("0x42")]===r)return this[l("0xa7")](o[l("0x27")],o[l("0x48")]),resetTryEntry(o),y}}}return c}}(x,r)||function(x,t){if(l("0xb7")===l("0xb8"))for(;;)switch(_context2[l("0x8")]=_context2[l("0x9")]){case 0:return method=$request[l("0x4f")][l("0x64")](),options={url:$request[l("0x65")],headers:$request[l("0x66")]},method==l("0x67")&&Object[l("0x68")](options,{body:$request[l("0xd")]}),_context2[l("0x9")]=5,m[l("0xa")][method](options);case 5:return _context2[l("0xf")](l("0x10"),_context2[l("0xc")]);case 6:case l("0x15"):return _context2[l("0x16")]()}else if(x){if(l("0xb9")==l("0xb9")){if(l("0x73")==typeof x)return b(x,t);var r={}[l("0x74")][l("0x32")](x)[l("0x51")](8,-1);return l("0x75")===r&&x[l("0x18")]&&(r=x[l("0x18")][l("0x58")]),l("0x76")===r||l("0x77")===r?Array[l("0x78")](x):l("0x79")===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[l("0x7a")](r)?b(x,t):void 0}for(;;)switch(_context4[l("0x8")]=_context4[l("0x9")]){case 0:return _context4[l("0x8")]=0,_context4[l("0x9")]=3,m[l("0xa")][l("0xb")]({url:x,timeout:2e3});case 3:return _yield$$$http$get=_context4[l("0xc")],_t=_yield$$$http$get[l("0xd")],n=null===(_t$match=_t[l("0xe")](/@\s*version\s*([\d.]+)/))||void 0===_t$match?void 0:_t$match[1],_context4[l("0xf")](l("0x10"),n);case 9:return _context4[l("0x8")]=9,_context4.t0=_context4[l("0x11")](0),_context4[l("0xf")](l("0x10"),(m[l("0x12")](l("0x13")[l("0x14")](_context4.t0)),""));case 12:case l("0x15"):return _context4[l("0x16")]()}}}(x,r)||function(){if(l("0xb5")==l("0xb5"))throw new TypeError(l("0xb6"));for(var x=this[l("0x24")][l("0x25")]-1;x>=0;--x){var r=this[l("0x24")][x];if(r[l("0x42")]===t)return this[l("0xa7")](r[l("0x27")],r[l("0x48")]),resetTryEntry(r),y}}()}function b(x,r){if(l("0xba")!==l("0xbb")){(null==r||r>x[l("0x25")])&&(r=x[l("0x25")]);for(var e=0,n=Array(r);e<r;e++)n[e]=x[e];return n}return this[l("0x4e")]={iterator:values(e),resultName:x,nextLoc:n},l("0x9")===this[l("0x4f")]&&(this[l("0x2a")]=t),y}function h(x,t,r,e,n,a,i){try{if(l("0xc1")!=l("0xc1"))return r;var c=x[a](i),u=c[l("0x1c")]}catch(x){return l("0xc2")==l("0xc2")?void r(x):d()[l("0x7")]((function(x){for(;;)switch(x[l("0x8")]=x[l("0x9")]){case 0:return f=$request[l("0x4f")][l("0x64")](),o={url:$request[l("0x65")],headers:$request[l("0x66")]},f==l("0x67")&&Object[l("0x68")](o,{body:$request[l("0xd")]}),x[l("0x9")]=5,m[l("0xa")][f](o);case 5:return x[l("0xf")](l("0x10"),x[l("0xc")]);case 6:case l("0x15"):return x[l("0x16")]()}}),_callee2);var f,o}c[l("0x4d")]?t(u):Promise[l("0x45")](u)[l("0x46")](e,n)}function v(x){return function(){var t=this,r=arguments;return new Promise((function(e,n){var a=x[l("0x17")](t,r);function i(x){l("0xc3")!==l("0xc4")?h(a,e,n,i,c,l("0x9"),x):(n=!0,x=e)}function c(x){if(l("0xc5")!=l("0xc5"))return t[r]=e;h(a,e,n,i,c,l("0x28"),x)}i(void 0)}))}}var m=new Env(l("0xc6")),Z=l("0xc7"),G=l("0xc8"),V=new URL(G),Y=V[l("0xc9")];function p(){return W[l("0x17")](this,arguments)}function W(){return W=v(d()[l("0x6")]((function x(){var r,e;return d()[l("0x7")]((function(x){if(l("0xf8")==l("0xf8"))for(;;)switch(x[l("0x8")]=x[l("0x9")]){case 0:return r=$request[l("0x4f")][l("0x64")](),e={url:$request[l("0x65")],headers:$request[l("0x66")]},r==l("0x67")&&Object[l("0x68")](e,{body:$request[l("0xd")]}),x[l("0x9")]=5,m[l("0xa")][r](e);case 5:return x[l("0xf")](l("0x10"),x[l("0xc")]);case 6:case l("0x15"):return x[l("0x16")]()}else this[l("0x24")]=[{tryLoc:l("0x7b")}],t[l("0x3c")](pushTryEntry,this),this[l("0x7c")](!0)}),x)}))),W[l("0x17")](this,arguments)}function S(x){if(l("0xf9")!==l("0xfa"))return JSON[l("0xfb")](atob(x[l("0xd2")]("")[l("0x80")]()[l("0xd4")]("")));try{if(!f&&null!=t[l("0x10")]&&(u=t[l("0x10")](),Object(u)!==u))return}finally{if(o)throw n}}function w(t){return x(t)===l("0x43")&&(t=JSON[l("0x3f")](t)),btoa(t[l("0xd2")]("")[l("0xd3")]((function(x){if(l("0xfc")!==l("0xfd")){var t=x[l("0xa5")](0);return t>127?"\\u"+t[l("0x74")](16)[l("0xa6")](4,"0"):x}Object[l("0x68")](options,{body:$request[l("0xd")]})}))[l("0xd4")](""))[l("0xd2")]("")[l("0x80")]()[l("0xd4")]("")}function X(){var x=l("0xfe"),r=l("0xff"),n=x+r,a=Math[l("0x91")](8*Math[l("0x92")]())+3,i=x[Math[l("0x91")](Math[l("0x92")]()*x[l("0x25")])];i+=r[Math[l("0x91")](Math[l("0x92")]()*r[l("0x25")])],i+=x[Math[l("0x91")](Math[l("0x92")]()*x[l("0x25")])];for(var c=3;c<a;c++){if(l("0x100")!=l("0x100"))return{type:l("0x28"),arg:t};i+=n[Math[l("0x91")](Math[l("0x92")]()*n[l("0x25")])]}if(i=i[l("0xd2")]("")[l("0x101")]((function(){return Math[l("0x92")]()-.5}))[l("0xd4")](""),!x[l("0x102")](i[0]))for(var u=1;u<i[l("0x25")];u++)if(x[l("0x102")](i[u])){if(l("0x103")!==l("0x104")){var f=[i[u],i[0]];i[0]=f[0],i[u]=f[1];break}return m[l("0xf6")](e)}return"o"+i}function k(){if(l("0x105")!==l("0x106")){for(var x=arguments[l("0x25")]>0&&void 0!==arguments[0]?arguments[0]:9,i=l("0x107"),c="",u=0;u<x;u++)c+=i[l("0x50")](Math[l("0x91")](Math[l("0x92")]()*i[l("0x25")]));return"ab"+c}return a[l("0x29")]=l("0x28"),a[l("0x2a")]=e,r[l("0x9")]=n,o&&(r[l("0x4f")]=l("0x9"),r[l("0x2a")]=t),!!o}function L(){return l("0x108")===l("0x109")?l("0x8d"):R[l("0x17")](this,arguments)}function R(){return R=v(d()[l("0x6")]((function x(){var t,r,e,n,a,i,c,u,f;return d()[l("0x7")]((function(x){for(;;)switch(x[l("0x8")]=x[l("0x9")]){case 0:return t=new URL($request[l("0x65")]),r=t[l("0xe4")],e=t[l("0xe5")],n=k(20),a={url:""[l("0x14")](r,l("0x10a")),timeout:3e3,headers:{"Accept-Encoding":l("0xe3"),"Content-Type":l("0x10b"),Origin:r,"User-Agent":l("0x10c")[l("0x14")](n),Cookie:l("0x10d")[l("0x14")](n),Host:e,"Accept-Language":l("0xe6"),Accept:l("0xe7")},body:l("0x10e")[l("0x14")](X(),l("0x10f"))},x[l("0x8")]=3,x[l("0x9")]=6,m[l("0xa")][l("0x67")](a);case 6:if(i=x[l("0xc")],c=i[l("0xd")],u=S(c),1!==(null==u?void 0:u[l("0x110")])){x[l("0x9")]=16;break}return m[l("0xcb")](l("0x111")[l("0x14")](u[l("0xa8")][l("0x112")],l("0x113"))[l("0x14")](u[l("0xa8")][l("0xdf")])),f=u[l("0xa8")][l("0xdf")],m[l("0xe8")]({token:f,count:3},l("0xd9")),x[l("0xf")](l("0x10"),{token:f,count:3});case 16:return x[l("0xf")](l("0x10"),Promise[l("0x114")](l("0x115")[l("0x14")](u[l("0x116")])));case 17:x[l("0x9")]=22;break;case 19:return x[l("0x8")]=19,x.t0=x[l("0x11")](3),x[l("0xf")](l("0x10"),Promise[l("0x114")](l("0x117")[l("0x14")](x.t0)));case 22:case l("0x15"):return x[l("0x16")]()}}),x,null,[[3,19]])}))),R[l("0x17")](this,arguments)}function U(x){return g[l("0x17")](this,arguments)}function g(){if(l("0x118")!==l("0x119"))return g=v(d()[l("0x6")]((function x(t){var r;if(l("0x11a")!==l("0x11b"))return d()[l("0x7")]((function(x){if(l("0x11c")==l("0x11c"))for(;;)switch(x[l("0x8")]=x[l("0x9")]){case 0:return x[l("0x9")]=2,function(){if(l("0x11d")==l("0x11d")){var x=v(d()[l("0x6")]((function x(){return l("0x11e")!=l("0x11e")?r[l("0x4d")]?r[l("0x1c")]:a[l("0x9")]():d()[l("0x7")]((function(x){if(l("0x11f")!=l("0x11f")){this[l("0x4d")]=!0;var r=this[l("0x24")][0][l("0x27")];if(l("0x28")===r[l("0x29")])throw r[l("0x2a")];return this[l("0x96")]}for(;;)switch(x[l("0x8")]=x[l("0x9")]){case 0:return x[l("0x8")]=0,x[l("0x9")]=3,m[l("0xa")][l("0xb")]({url:t,timeout:2e3});case 3:return n=x[l("0xc")],i=n[l("0xd")],c=null===(e=i[l("0xe")](/@\s*version\s*([\d.]+)/))||void 0===e?void 0:e[1],x[l("0xf")](l("0x10"),c);case 9:return x[l("0x8")]=9,x.t0=x[l("0x11")](0),x[l("0xf")](l("0x10"),(m[l("0x12")](l("0x13")[l("0x14")](x.t0)),""));case 12:case l("0x15"):return x[l("0x16")]()}}),x,null,[[0,9]]);var e,n,i,c})));return function(){return x[l("0x17")](this,arguments)}}return new e((function(x,t){invoke(r,n,x,t)}))}()();case 2:if(r=x[l("0xc")],r){x[l("0x9")]=5;break}throw new Error(l("0x120"));case 5:if(!r||Z===r){x[l("0x9")]=7;break}throw m[l("0x121")](m[l("0x58")],l("0x122"),l("0x123")[l("0x14")](r,l("0x124"))[l("0x14")](Z,l("0x125")),{$open:t}),new Error(l("0x126"));case 7:case l("0x15"):return x[l("0x16")]()}else{try{var i=n[a](c),u=i[l("0x1c")]}catch(x){return void e(x)}i[l("0x4d")]?r(u):Promise[l("0x45")](u)[l("0x46")](t,o)}}),x);var i=this[l("0x24")][e];if(i[l("0x26")]===r){var u=i[l("0x27")];if(l("0x28")===u[l("0x29")]){var f=u[l("0x2a")];resetTryEntry(i)}return f}}))),g[l("0x17")](this,arguments);dec[l("0xa8")][l("0xf3")]=[]}function F(x){return I[l("0x17")](this,arguments)}function I(){return l("0x127")!==l("0x128")?(I=v(d()[l("0x6")]((function x(t){if(l("0x129")==l("0x129")){var e,n,a,i=arguments;return d()[l("0x7")]((function(x){if(l("0x12a")!=l("0x12a")){var c=e&&e[l("0x19")]instanceof Generator?e:Generator,u=Object[l("0x2d")](c[l("0x19")]),f=new Context(n||[]);return o(u,l("0x2e"),{value:makeInvokeMethod(t,r,f)}),u}for(;;)switch(x[l("0x8")]=x[l("0x9")]){case 0:if(e=i[l("0x25")]>1&&void 0!==i[1]?i[1]:"",n=""[l("0x14")](t,"_")[l("0x14")](m[l("0x12b")](l("0x12c")),l("0x12d")),a=function(){var x=v(d()[l("0x6")]((function x(){var e,a,i,c,u;return d()[l("0x7")]((function(x){if(l("0x12e")!=l("0x12e"))t[e]=r[l("0x1c")];else for(;;)switch(x[l("0x8")]=x[l("0x9")]){case 0:return e=[l("0x12f"),l("0x130"),l("0x131"),l("0x132"),l("0x133"),l("0x134"),l("0x135"),l("0x136")],a=l("0x137"),x[l("0x8")]=2,x[l("0x9")]=5,m[l("0xa")][l("0xb")]({url:a,timeout:2e3});case 5:i=x[l("0xc")],c=i[l("0xd")],e=m[l("0x138")](c),m[l("0xcb")](l("0x139")),x[l("0x9")]=13;break;case 10:x[l("0x8")]=10,x.t0=x[l("0x11")](2),m[l("0xcb")](l("0x13a"));case 13:return m[l("0x13b")](l("0x13c"),n),u=m[l("0x12b")](l("0x12c"),new Date((new Date)[l("0x13d")]((new Date)[l("0x13e")]()-1))),x[l("0xf")](l("0x10"),(m[l("0x13b")](null,""[l("0x14")](t,"_")[l("0x14")](u,l("0x12d"))),e[l("0xd4")]("\n")));case 16:case l("0x15"):return x[l("0x16")]()}}),x,null,[[2,10]])})));return function(){return x[l("0x17")](this,arguments)}}(),l("0x13c")!=m[l("0x13f")](n)){x[l("0x9")]=6;break}m[l("0xcb")](l("0x140")),x[l("0x9")]=13;break;case 6:return x.t0=m,x.t1=m[l("0x58")],x[l("0x9")]=10,a();case 10:x.t2=x[l("0xc")],x.t3={$open:l("0x141"),$media:e},x.t0[l("0x121")][l("0x32")](x.t0,x.t1,l("0x142"),x.t2,x.t3);case 13:case l("0x15"):return x[l("0x16")]()}}),x)}return this}))),I[l("0x17")](this,arguments)):I[l("0x17")](this,arguments)}m[l("0xca")]=Y[l("0xe")](/^((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.){3}(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(?::(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$/)?l("0xcb"):l("0xcc"),v(d()[l("0x6")]((function i(){if(l("0xcd")===l("0xce")){function c(){return new e((function(x,r){invoke(t,n,x,r)}))}return r=r?r[l("0x46")](c,c):c()}var u,f,h,v,y,Z,V,Y,W,X,k,R,g,I,E,N,J;return d()[l("0x7")]((function(t){for(;;)switch(t[l("0x8")]=t[l("0x9")]){case 0:return t[l("0x9")]=2,U(G);case 2:return t[l("0x9")]=4,F(l("0xcf"));case 4:if(!$request[l("0x65")][l("0xe")](/show\/\d+$/)){if(l("0xd0")!==l("0xd1")){t[l("0x9")]=55;break}return x(W)===l("0x43")&&(W=JSON[l("0x3f")](W)),btoa(W[l("0xd2")]("")[l("0xd3")]((function(x){var t=x[l("0xa5")](0);return t>127?"\\u"+t[l("0x74")](16)[l("0xa6")](4,"0"):x}))[l("0xd4")](""))[l("0xd2")]("")[l("0x80")]()[l("0xd4")]("")}if(u={status:m[l("0xd5")]()?l("0xd6"):200,headers:{"Content-Type":l("0xd7")},body:""},t[l("0x8")]=6,h=m[l("0xd8")](l("0xd9"),null),h){t[l("0x9")]=12;break}return t[l("0x9")]=11,L();case 11:h=t[l("0xc")];case 12:if(!((null===(f=h)||void 0===f?void 0:f[l("0xda")])<=0)){if(l("0xdb")!==l("0xdc")){t[l("0x9")]=16;break}return this}return t[l("0x9")]=15,L();case 15:h=t[l("0xc")];case 16:return v=Object[l("0xdd")](Object[l("0xde")]($request[l("0x66")])[l("0xd3")]((function(x){var t=s(x,2),r=t[0],e=t[1];return[r[l("0x64")](),e]}))),m[l("0xcb")]($request[l("0xd")]),y=$request[l("0xd")][l("0xaa")](/(name="token"\s*\r?\n\s*\r?\n)([A-Z0-9]{32})/,"$1"[l("0x14")](h[l("0xdf")])),m[l("0xcb")](y),Z={url:$request[l("0x65")],headers:{Cookie:v[l("0xe0")],"User-Agent":v[l("0xe1")],"Content-Type":v[l("0xe2")],"Accept-Encoding":l("0xe3"),Origin:v[l("0xe4")],Host:v[l("0xe5")],"Accept-Language":l("0xe6"),Accept:l("0xe7")},body:y},m[l("0xcb")](JSON[l("0x3f")](Z,null,2)),t[l("0x9")]=24,m[l("0xa")][l("0x67")](Z);case 24:V=t[l("0xc")],Y=V[l("0xd")],h[l("0xda")]--,m[l("0xe8")](h,l("0xd9")),W=S(Y),m[l("0xcb")](m[l("0xe9")](W)),W[l("0xa8")][l("0xea")]=null,W[l("0xa8")][l("0xa9")]=[],W[l("0xa8")][l("0xb1")]=1,W[l("0xa8")][l("0xb3")]=l("0xeb"),W[l("0xa8")][l("0xb4")]=l("0xec"),W[l("0xa8")][l("0xed")]=!0,u[l("0xd")]=w(W),t[l("0x9")]=52;break;case 39:return t[l("0x8")]=39,t.t0=t[l("0x11")](6),m[l("0x12")](t.t0),t[l("0x9")]=44,p();case 44:X=t[l("0xc")],k=X[l("0xd")],R=S(k),R[l("0xa8")][l("0xea")]=null,R[l("0xa8")][l("0xa9")]=[],R[l("0xa8")][l("0xb3")]=l("0xee"),R[l("0xa8")][l("0xb4")]=l("0xef"),u[l("0xd")]=w(R);case 52:return t[l("0x8")]=52,m[l("0x4d")](m[l("0xd5")]()?u:{response:u}),t[l("0xf0")](52);case 55:if(g=$response[l("0xd")],$response[l("0xd")][l("0xe")](/idata=/))if(l("0xf1")!==l("0xf2"))I=$response[l("0xd")][l("0xe")](/idata=\'(.*?)\'/)[1],E=S(I),E[l("0xa8")][l("0xa9")]=[],N=w(E),g=g[l("0xaa")](/idata='.*?'/g,l("0xab")[l("0x14")](N,"'"));else if(r){if(l("0x73")==typeof r)return b(r,a);var e={}[l("0x74")][l("0x32")](r)[l("0x51")](8,-1);return l("0x75")===e&&r[l("0x18")]&&(e=r[l("0x18")][l("0x58")]),l("0x76")===e||l("0x77")===e?Array[l("0x78")](r):l("0x79")===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[l("0x7a")](e)?b(r,a):void 0}if(J=S(g),m[l("0xcb")](JSON[l("0x3f")](J,null,2)),$request[l("0x65")][l("0xe")](/index\/game$/)&&(J[l("0xa8")][l("0xf3")]=[]),$request[l("0x65")][l("0xe")](/user\/my/)){if(l("0xf4")!=l("0xf4"))return typeof o;J[l("0xa8")][l("0xb1")]=1,J[l("0xa8")][l("0xb2")]=1,J[l("0xa8")][l("0xb3")]=999,J[l("0xa8")][l("0xb4")]=999}g=w(J),m[l("0x4d")]({body:g});case 63:case l("0x15"):return t[l("0x16")]()}}),i,null,[[6,39,52,55]])})))()[l("0x11")]((function(x){if(l("0xf5")==l("0xf5"))return m[l("0xf6")](x);var t=n[l("0x32")](i,l("0x38")),r=n[l("0x32")](i,l("0x42"));if(t&&r){if(this[l("0x8")]<i[l("0x38")])return handle(i[l("0x38")],!0);if(this[l("0x8")]<i[l("0x42")])return handle(i[l("0x42")])}else if(t){if(this[l("0x8")]<i[l("0x38")])return handle(i[l("0x38")],!0)}else{if(!r)throw Error(l("0x70"));if(this[l("0x8")]<i[l("0x42")])return handle(i[l("0x42")])}}))[l("0xf7")]((function(){return $done({})}))})();
// prettier-ignore
function Env(t,e){class s{constructor(t){this.env=t}send(t,e="GET"){t="string"==typeof t?{url:t}:t;let s=this.get;"POST"===e&&(s=this.post);const i=new Promise(((e,i)=>{s.call(this,t,((t,s,o)=>{t?i(t):e(s)}))}));return t.timeout?((t,e=1e3)=>Promise.race([t,new Promise(((t,s)=>{setTimeout((()=>{s(new Error("请求超时"))}),e)}))]))(i,t.timeout):i}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.logLevels={debug:0,info:1,warn:2,error:3},this.logLevelPrefixs={debug:"[DEBUG] ",info:"[INFO] ",warn:"[WARN] ",error:"[ERROR] "},this.logLevel="info",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.encoding="utf-8",this.startTime=(new Date).getTime(),Object.assign(this,e),this.log("",`🔔${this.name}, 开始!`)}getEnv(){return"undefined"!=typeof $environment&&$environment["surge-version"]?"Surge":"undefined"!=typeof $environment&&$environment["stash-version"]?"Stash":"undefined"!=typeof module&&module.exports?"Node.js":"undefined"!=typeof $task?"Quantumult X":"undefined"!=typeof $loon?"Loon":"undefined"!=typeof $rocket?"Shadowrocket":void 0}isNode(){return"Node.js"===this.getEnv()}isQuanX(){return"Quantumult X"===this.getEnv()}isSurge(){return"Surge"===this.getEnv()}isLoon(){return"Loon"===this.getEnv()}isShadowrocket(){return"Shadowrocket"===this.getEnv()}isStash(){return"Stash"===this.getEnv()}toObj(t,e=null){try{return JSON.parse(t)}catch{return e}}toStr(t,e=null,...s){try{return JSON.stringify(t,...s)}catch{return e}}getjson(t,e){let s=e;if(this.getdata(t))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 o=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout");o=o?1*o:20,o=e&&e.timeout?e.timeout:o;const[r,a]=i.split("@"),n={url:`http://${a}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:o},headers:{"X-Key":r,Accept:"*/*"},policy:"DIRECT",timeout:o};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),o=JSON.stringify(this.data);s?this.fs.writeFileSync(t,o):i?this.fs.writeFileSync(e,o):this.fs.writeFileSync(t,o)}}lodash_get(t,e,s){const i=e.replace(/\[(\d+)\]/g,".$1").split(".");let o=t;for(const t of i)if(o=Object(o)[t],void 0===o)return s;return o}lodash_set(t,e,s){return Object(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),o=s?this.getval(s):"";if(o)try{const t=JSON.parse(o);e=t?this.lodash_get(t,i,""):e}catch(t){e=""}}return e}setdata(t,e){let s=!1;if(/^@/.test(e)){const[,i,o]=/^@(.*?)\.(.*?)$/.exec(e),r=this.getval(i),a=i?"null"===r?null:r||"{}":"{}";try{const e=JSON.parse(a);this.lodash_set(e,o,t),s=this.setval(JSON.stringify(e),i)}catch(e){const r={};this.lodash_set(r,o,t),s=this.setval(JSON.stringify(r),i)}}else s=this.setval(t,e);return s}getval(t){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":return $persistentStore.read(t);case"Quantumult X":return $prefs.valueForKey(t);case"Node.js":return this.data=this.loaddata(),this.data[t];default:return this.data&&this.data[t]||null}}setval(t,e){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":return $persistentStore.write(t,e);case"Quantumult X":return $prefs.setValueForKey(t,e);case"Node.js":return this.data=this.loaddata(),this.data[e]=t,this.writedata(),!0;default:return 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:{},t&&(t.headers=t.headers?t.headers:{},void 0===t.headers.cookie&&void 0===t.headers.Cookie&&void 0===t.cookieJar&&(t.cookieJar=this.ckjar)))}get(t,e=(()=>{})){switch(t.headers&&(delete t.headers["Content-Type"],delete t.headers["Content-Length"],delete t.headers["content-type"],delete t.headers["content-length"]),t.params&&(t.url+="?"+this.queryStr(t.params)),void 0===t.followRedirect||t.followRedirect||((this.isSurge()||this.isLoon())&&(t["auto-redirect"]=!1),this.isQuanX()&&(t.opts?t.opts.redirection=!1:t.opts={redirection:!1})),this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":default: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?s.status:s.statusCode,s.status=s.statusCode),e(t,s,i)}));break;case"Quantumult X":this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then((t=>{const{statusCode:s,statusCode:i,headers:o,body:r,bodyBytes:a}=t;e(null,{status:s,statusCode:i,headers:o,body:r,bodyBytes:a},r,a)}),(t=>e(t&&t.error||"UndefinedError")));break;case"Node.js":let s=require("iconv-lite");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:i,statusCode:o,headers:r,rawBody:a}=t,n=s.decode(a,this.encoding);e(null,{status:i,statusCode:o,headers:r,rawBody:a,body:n},n)}),(t=>{const{message:i,response:o}=t;e(i,o,o&&s.decode(o.rawBody,this.encoding))}));break}}post(t,e=(()=>{})){const s=t.method?t.method.toLocaleLowerCase():"post";switch(t.body&&t.headers&&!t.headers["Content-Type"]&&!t.headers["content-type"]&&(t.headers["content-type"]="application/x-www-form-urlencoded"),t.headers&&(delete t.headers["Content-Length"],delete t.headers["content-length"]),void 0===t.followRedirect||t.followRedirect||((this.isSurge()||this.isLoon())&&(t["auto-redirect"]=!1),this.isQuanX()&&(t.opts?t.opts.redirection=!1:t.opts={redirection:!1})),this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":default:this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient[s](t,((t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status?s.status:s.statusCode,s.status=s.statusCode),e(t,s,i)}));break;case"Quantumult X":t.method=s,this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then((t=>{const{statusCode:s,statusCode:i,headers:o,body:r,bodyBytes:a}=t;e(null,{status:s,statusCode:i,headers:o,body:r,bodyBytes:a},r,a)}),(t=>e(t&&t.error||"UndefinedError")));break;case"Node.js":let i=require("iconv-lite");this.initGotEnv(t);const{url:o,...r}=t;this.got[s](o,r).then((t=>{const{statusCode:s,statusCode:o,headers:r,rawBody:a}=t,n=i.decode(a,this.encoding);e(null,{status:s,statusCode:o,headers:r,rawBody:a,body:n},n)}),(t=>{const{message:s,response:o}=t;e(s,o,o&&i.decode(o.rawBody,this.encoding))}));break}}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}queryStr(t){let e="";for(const s in t){let i=t[s];null!=i&&""!==i&&("object"==typeof i&&(i=JSON.stringify(i)),e+=`${s}=${i}&`)}return e=e.substring(0,e.length-1),e}msg(e=t,s="",i="",o={}){const r=t=>{const{$open:e,$copy:s,$media:i,$mediaMime:o}=t;switch(typeof t){case void 0:return t;case"string":switch(this.getEnv()){case"Surge":case"Stash":default:return{url:t};case"Loon":case"Shadowrocket":return t;case"Quantumult X":return{"open-url":t};case"Node.js":return}case"object":switch(this.getEnv()){case"Surge":case"Stash":case"Shadowrocket":default:{const r={};let a=t.openUrl||t.url||t["open-url"]||e;a&&Object.assign(r,{action:"open-url",url:a});let n=t["update-pasteboard"]||t.updatePasteboard||s;if(n&&Object.assign(r,{action:"clipboard",text:n}),i){let t,e,s;if(i.startsWith("http"))t=i;else if(i.startsWith("data:")){const[t]=i.split(";"),[,o]=i.split(",");e=o,s=t.replace("data:","")}else{e=i,s=(t=>{const e={JVBERi0:"application/pdf",R0lGODdh:"image/gif",R0lGODlh:"image/gif",iVBORw0KGgo:"image/png","/9j/":"image/jpg"};for(var s in e)if(0===t.indexOf(s))return e[s];return null})(i)}Object.assign(r,{"media-url":t,"media-base64":e,"media-base64-mime":o??s})}return Object.assign(r,{"auto-dismiss":t["auto-dismiss"],sound:t.sound}),r}case"Loon":{const s={};let o=t.openUrl||t.url||t["open-url"]||e;o&&Object.assign(s,{openUrl:o});let r=t.mediaUrl||t["media-url"];return i?.startsWith("http")&&(r=i),r&&Object.assign(s,{mediaUrl:r}),console.log(JSON.stringify(s)),s}case"Quantumult X":{const o={};let r=t["open-url"]||t.url||t.openUrl||e;r&&Object.assign(o,{"open-url":r});let a=t["media-url"]||t.mediaUrl;i?.startsWith("http")&&(a=i),a&&Object.assign(o,{"media-url":a});let n=t["update-pasteboard"]||t.updatePasteboard||s;return n&&Object.assign(o,{"update-pasteboard":n}),console.log(JSON.stringify(o)),o}case"Node.js":return}default:return}};if(!this.isMute)switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":default:$notification.post(e,s,i,r(o));break;case"Quantumult X":$notify(e,s,i,r(o));break;case"Node.js":break}if(!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)}}debug(...t){this.logLevels[this.logLevel]<=this.logLevels.debug&&(t.length>0&&(this.logs=[...this.logs,...t]),console.log(`${this.logLevelPrefixs.debug}${t.map((t=>t??String(t))).join(this.logSeparator)}`))}info(...t){this.logLevels[this.logLevel]<=this.logLevels.info&&(t.length>0&&(this.logs=[...this.logs,...t]),console.log(`${this.logLevelPrefixs.info}${t.map((t=>t??String(t))).join(this.logSeparator)}`))}warn(...t){this.logLevels[this.logLevel]<=this.logLevels.warn&&(t.length>0&&(this.logs=[...this.logs,...t]),console.log(`${this.logLevelPrefixs.warn}${t.map((t=>t??String(t))).join(this.logSeparator)}`))}error(...t){this.logLevels[this.logLevel]<=this.logLevels.error&&(t.length>0&&(this.logs=[...this.logs,...t]),console.log(`${this.logLevelPrefixs.error}${t.map((t=>t??String(t))).join(this.logSeparator)}`))}log(...t){t.length>0&&(this.logs=[...this.logs,...t]),console.log(t.map((t=>t??String(t))).join(this.logSeparator))}logErr(t,e){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":case"Quantumult X":default:this.log("",`❗️${this.name}, 错误!`,e,t);break;case"Node.js":this.log("",`❗️${this.name}, 错误!`,e,void 0!==t.message?t.message:t,t.stack);break}}wait(t){return new Promise((e=>setTimeout(e,t)))}done(t={}){const e=((new Date).getTime()-this.startTime)/1e3;switch(this.log("",`🔔${this.name}, 结束! 🕛 ${e} 秒`),this.log(),this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":case"Quantumult X":default:$done(t);break;case"Node.js":process.exit(1)}}}(t,e)}