diff --git a/script/wy/js/wyres.js b/script/wy/js/wyres.js index a37fc31..742a9f0 100644 --- a/script/wy/js/wyres.js +++ b/script/wy/js/wyres.js @@ -1,2 +1,2 @@ -// @timestamp thenkey 2024-12-01 20:19:04 -(()=>{var J=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Me(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}function Re(l){if(l.__esModule)return l;var B=l.default;if(typeof B=="function"){var M=function x(){return this instanceof x?Reflect.construct(B,arguments,this.constructor):B.apply(this,arguments)};M.prototype=B.prototype}else M={};return Object.defineProperty(M,"__esModule",{value:!0}),Object.keys(l).forEach(function(x){var p=Object.getOwnPropertyDescriptor(l,x);Object.defineProperty(M,x,p.get?p:{enumerable:!0,get:function(){return l[x]}})}),M}var Ae={exports:{}},X={exports:{}},Se=Re(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),Y;function z(){return Y||(Y=1,X.exports=(l=l||function(B,M){var x;if(typeof window<"u"&&window.crypto&&(x=window.crypto),typeof self<"u"&&self.crypto&&(x=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(x=globalThis.crypto),!x&&typeof window<"u"&&window.msCrypto&&(x=window.msCrypto),!x&&J!==void 0&&J.crypto&&(x=J.crypto),!x)try{x=Se}catch{}var p=function(){if(x){if(typeof x.getRandomValues=="function")try{return x.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof x.randomBytes=="function")try{return x.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},E=Object.create||function(){function e(){}return function(i){var s;return e.prototype=i,s=new e,e.prototype=null,s}}(),A={},o=A.lib={},w=o.Base=function(){return{extend:function(e){var i=E(this);return e&&i.mixIn(e),i.hasOwnProperty("init")&&this.init!==i.init||(i.init=function(){i.$super.init.apply(this,arguments)}),i.init.prototype=i,i.$super=this,i},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var i in e)e.hasOwnProperty(i)&&(this[i]=e[i]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),r=o.WordArray=w.extend({init:function(e,i){e=this.words=e||[],this.sigBytes=i!=M?i:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var i=this.words,s=e.words,g=this.sigBytes,t=e.sigBytes;if(this.clamp(),g%4)for(var n=0;n>>2]>>>24-n%4*8&255;i[g+n>>>2]|=v<<24-(g+n)%4*8}else for(var a=0;a>>2]=s[a>>>2];return this.sigBytes+=t,this},clamp:function(){var e=this.words,i=this.sigBytes;e[i>>>2]&=4294967295<<32-i%4*8,e.length=B.ceil(i/4)},clone:function(){var e=w.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var i=[],s=0;s>>2]>>>24-t%4*8&255;g.push((n>>>4).toString(16)),g.push((15&n).toString(16))}return g.join("")},parse:function(e){for(var i=e.length,s=[],g=0;g>>3]|=parseInt(e.substr(g,2),16)<<24-g%8*4;return new r.init(s,i/2)}},C=h.Latin1={stringify:function(e){for(var i=e.words,s=e.sigBytes,g=[],t=0;t>>2]>>>24-t%4*8&255;g.push(String.fromCharCode(n))}return g.join("")},parse:function(e){for(var i=e.length,s=[],g=0;g>>2]|=(255&e.charCodeAt(g))<<24-g%4*8;return new r.init(s,i)}},b=h.Utf8={stringify:function(e){try{return decodeURIComponent(escape(C.stringify(e)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(e){return C.parse(unescape(encodeURIComponent(e)))}},k=o.BufferedBlockAlgorithm=w.extend({reset:function(){this._data=new r.init,this._nDataBytes=0},_append:function(e){typeof e=="string"&&(e=b.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(e){var i,s=this._data,g=s.words,t=s.sigBytes,n=this.blockSize,v=t/(4*n),a=(v=e?B.ceil(v):B.max((0|v)-this._minBufferSize,0))*n,_=B.min(4*a,t);if(a){for(var R=0;R>>2]|=p[o]<<24-o%4*8;M.call(this,A,E)}else M.apply(this,arguments)};x.prototype=B}}(),l.lib.WordArray)),Q.exports;var l}var Z,Oe={exports:{}},ee={exports:{}},te={exports:{}},re={exports:{}};function Pe(){return Z||(Z=1,re.exports=(o=z(),B=(l=o).lib,M=B.WordArray,x=B.Hasher,p=l.algo,E=[],A=p.SHA1=x.extend({_doReset:function(){this._hash=new M.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(w,r){for(var h=this._hash.words,c=h[0],C=h[1],b=h[2],k=h[3],S=h[4],e=0;e<80;e++){if(e<16)E[e]=0|w[r+e];else{var i=E[e-3]^E[e-8]^E[e-14]^E[e-16];E[e]=i<<1|i>>>31}var s=(c<<5|c>>>27)+S+E[e];s+=e<20?1518500249+(C&b|~C&k):e<40?1859775393+(C^b^k):e<60?(C&b|C&k|b&k)-1894007588:(C^b^k)-899497514,S=k,k=b,b=C<<30|C>>>2,C=c,c=s}h[0]=h[0]+c|0,h[1]=h[1]+C|0,h[2]=h[2]+b|0,h[3]=h[3]+k|0,h[4]=h[4]+S|0},_doFinalize:function(){var w=this._data,r=w.words,h=8*this._nDataBytes,c=8*w.sigBytes;return r[c>>>5]|=128<<24-c%32,r[14+(c+64>>>9<<4)]=Math.floor(h/4294967296),r[15+(c+64>>>9<<4)]=h,w.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var w=x.clone.call(this);return w._hash=this._hash.clone(),w}}),l.SHA1=x._createHelper(A),l.HmacSHA1=x._createHmacHelper(A),o.SHA1)),re.exports;var l,B,M,x,p,E,A,o}var ne,ie,oe,ae,se={exports:{}};function ye(){return ie||(ie=1,te.exports=function(p){return function(){var E=p,A=E.lib,o=A.Base,w=A.WordArray,r=E.algo,h=r.MD5,c=r.EvpKDF=o.extend({cfg:o.extend({keySize:4,hasher:h,iterations:1}),init:function(C){this.cfg=this.cfg.extend(C)},compute:function(C,b){for(var k,S=this.cfg,e=S.hasher.create(),i=w.create(),s=i.words,g=S.keySize,t=S.iterations;s.lengtho&&(E=p.finalize(E)),E.clamp();for(var w=this._oKey=E.clone(),r=this._iKey=E.clone(),h=w.words,c=r.words,C=0;C>>2];t.sigBytes-=n}};x.BlockCipher=h.extend({cfg:h.cfg.extend({mode:b,padding:k}),reset:function(){var t;h.reset.call(this);var n=this.cfg,v=n.iv,a=n.mode;this._xformMode==this._ENC_XFORM_MODE?t=a.createEncryptor:(t=a.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==t?this._mode.init(this,v&&v.words):(this._mode=t.call(a,this,v&&v.words),this._mode.__creator=t)},_doProcessBlock:function(t,n){this._mode.processBlock(t,n)},_doFinalize:function(){var t,n=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(n.pad(this._data,this.blockSize),t=this._process(!0)):(t=this._process(!0),n.unpad(t)),t},blockSize:4});var S=x.CipherParams=p.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}}),e=(M.format={}).OpenSSL={stringify:function(t){var n=t.ciphertext,v=t.salt;return(v?E.create([1398893684,1701076831]).concat(v).concat(n):n).toString(w)},parse:function(t){var n,v=w.parse(t),a=v.words;return a[0]==1398893684&&a[1]==1701076831&&(n=E.create(a.slice(2,4)),a.splice(0,4),v.sigBytes-=16),S.create({ciphertext:v,salt:n})}},i=x.SerializableCipher=p.extend({cfg:p.extend({format:e}),encrypt:function(t,n,v,a){a=this.cfg.extend(a);var _=t.createEncryptor(v,a),R=_.finalize(n),D=_.cfg;return S.create({ciphertext:R,key:v,iv:D.iv,algorithm:t,mode:D.mode,padding:D.padding,blockSize:t.blockSize,formatter:a.format})},decrypt:function(t,n,v,a){return a=this.cfg.extend(a),n=this._parse(n,a.format),t.createDecryptor(v,a).finalize(n.ciphertext)},_parse:function(t,n){return typeof t=="string"?n.parse(t,this):t}}),s=(M.kdf={}).OpenSSL={execute:function(t,n,v,a,_){if(a||(a=E.random(8)),_)R=r.create({keySize:n+v,hasher:_}).compute(t,a);else var R=r.create({keySize:n+v}).compute(t,a);var D=E.create(R.words.slice(n),4*v);return R.sigBytes=4*n,S.create({key:R,iv:D,salt:a})}},g=x.PasswordBasedCipher=i.extend({cfg:i.cfg.extend({kdf:s}),encrypt:function(t,n,v,a){var _=(a=this.cfg.extend(a)).kdf.execute(v,t.keySize,t.ivSize,a.salt,a.hasher);a.iv=_.iv;var R=i.encrypt.call(this,t,n,_.key,a);return R.mixIn(_),R},decrypt:function(t,n,v,a){a=this.cfg.extend(a),n=this._parse(n,a.format);var _=a.kdf.execute(v,t.keySize,t.ivSize,n.salt,a.hasher);return a.iv=_.iv,i.decrypt.call(this,t,n,_.key,a)}})}()))),ee.exports;var l}var le,fe={exports:{}},de={exports:{}};function Le(){return le||(le=1,de.exports=(l=z(),function(){var B=l,M=B.lib.WordArray;function x(p,E,A){for(var o=[],w=0,r=0;r>>6-r%4*2;o[w>>>2]|=h<<24-w%4*8,w++}return M.create(o,w)}B.enc.Base64={stringify:function(p){var E=p.words,A=p.sigBytes,o=this._map;p.clamp();for(var w=[],r=0;r>>2]>>>24-r%4*8&255)<<16|(E[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|E[r+2>>>2]>>>24-(r+2)%4*8&255,c=0;c<4&&r+.75*c>>6*(3-c)&63));var C=o.charAt(64);if(C)for(;w.length%4;)w.push(C);return w.join("")},parse:function(p){var E=p.length,A=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var w=0;w>>24)|4278255360&(i<<24|i>>>8)}var s=this._hash.words,g=b[k+0],t=b[k+1],n=b[k+2],v=b[k+3],a=b[k+4],_=b[k+5],R=b[k+6],D=b[k+7],O=b[k+8],P=b[k+9],L=b[k+10],U=b[k+11],T=b[k+12],I=b[k+13],H=b[k+14],G=b[k+15],f=s[0],m=s[1],d=s[2],u=s[3];f=r(f,m,d,u,g,7,o[0]),u=r(u,f,m,d,t,12,o[1]),d=r(d,u,f,m,n,17,o[2]),m=r(m,d,u,f,v,22,o[3]),f=r(f,m,d,u,a,7,o[4]),u=r(u,f,m,d,_,12,o[5]),d=r(d,u,f,m,R,17,o[6]),m=r(m,d,u,f,D,22,o[7]),f=r(f,m,d,u,O,7,o[8]),u=r(u,f,m,d,P,12,o[9]),d=r(d,u,f,m,L,17,o[10]),m=r(m,d,u,f,U,22,o[11]),f=r(f,m,d,u,T,7,o[12]),u=r(u,f,m,d,I,12,o[13]),d=r(d,u,f,m,H,17,o[14]),f=h(f,m=r(m,d,u,f,G,22,o[15]),d,u,t,5,o[16]),u=h(u,f,m,d,R,9,o[17]),d=h(d,u,f,m,U,14,o[18]),m=h(m,d,u,f,g,20,o[19]),f=h(f,m,d,u,_,5,o[20]),u=h(u,f,m,d,L,9,o[21]),d=h(d,u,f,m,G,14,o[22]),m=h(m,d,u,f,a,20,o[23]),f=h(f,m,d,u,P,5,o[24]),u=h(u,f,m,d,H,9,o[25]),d=h(d,u,f,m,v,14,o[26]),m=h(m,d,u,f,O,20,o[27]),f=h(f,m,d,u,I,5,o[28]),u=h(u,f,m,d,n,9,o[29]),d=h(d,u,f,m,D,14,o[30]),f=c(f,m=h(m,d,u,f,T,20,o[31]),d,u,_,4,o[32]),u=c(u,f,m,d,O,11,o[33]),d=c(d,u,f,m,U,16,o[34]),m=c(m,d,u,f,H,23,o[35]),f=c(f,m,d,u,t,4,o[36]),u=c(u,f,m,d,a,11,o[37]),d=c(d,u,f,m,D,16,o[38]),m=c(m,d,u,f,L,23,o[39]),f=c(f,m,d,u,I,4,o[40]),u=c(u,f,m,d,g,11,o[41]),d=c(d,u,f,m,v,16,o[42]),m=c(m,d,u,f,R,23,o[43]),f=c(f,m,d,u,P,4,o[44]),u=c(u,f,m,d,T,11,o[45]),d=c(d,u,f,m,G,16,o[46]),f=C(f,m=c(m,d,u,f,n,23,o[47]),d,u,g,6,o[48]),u=C(u,f,m,d,D,10,o[49]),d=C(d,u,f,m,H,15,o[50]),m=C(m,d,u,f,_,21,o[51]),f=C(f,m,d,u,T,6,o[52]),u=C(u,f,m,d,v,10,o[53]),d=C(d,u,f,m,L,15,o[54]),m=C(m,d,u,f,t,21,o[55]),f=C(f,m,d,u,O,6,o[56]),u=C(u,f,m,d,G,10,o[57]),d=C(d,u,f,m,R,15,o[58]),m=C(m,d,u,f,I,21,o[59]),f=C(f,m,d,u,a,6,o[60]),u=C(u,f,m,d,U,10,o[61]),d=C(d,u,f,m,n,15,o[62]),m=C(m,d,u,f,P,21,o[63]),s[0]=s[0]+f|0,s[1]=s[1]+m|0,s[2]=s[2]+d|0,s[3]=s[3]+u|0},_doFinalize:function(){var b=this._data,k=b.words,S=8*this._nDataBytes,e=8*b.sigBytes;k[e>>>5]|=128<<24-e%32;var i=B.floor(S/4294967296),s=S;k[15+(e+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),k[14+(e+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),b.sigBytes=4*(k.length+1),this._process();for(var g=this._hash,t=g.words,n=0;n<4;n++){var v=t[n];t[n]=16711935&(v<<8|v>>>24)|4278255360&(v<<24|v>>>8)}return g},clone:function(){var b=E.clone.call(this);return b._hash=this._hash.clone(),b}});function r(b,k,S,e,i,s,g){var t=b+(k&S|~k&e)+i+g;return(t<>>32-s)+k}function h(b,k,S,e,i,s,g){var t=b+(k&e|S&~e)+i+g;return(t<>>32-s)+k}function c(b,k,S,e,i,s,g){var t=b+(k^S^e)+i+g;return(t<>>32-s)+k}function C(b,k,S,e,i,s,g){var t=b+(S^(k|~e))+i+g;return(t<>>32-s)+k}M.MD5=E._createHelper(w),M.HmacMD5=E._createHmacHelper(w)}(Math),l.MD5)),he.exports;var l}var N=Me(Ae.exports=function(l){return l}(z(),De(),ae||(ae=1,Oe.exports=(K=z(),ce(),K.mode.ECB=((j=K.lib.BlockCipherMode.extend()).Encryptor=j.extend({processBlock:function(l,B){this._cipher.encryptBlock(l,B)}}),j.Decryptor=j.extend({processBlock:function(l,B){this._cipher.decryptBlock(l,B)}}),j),K.mode.ECB)),function(){return pe?fe.exports:(pe=1,fe.exports=(l=z(),Le(),ze(),ye(),ce(),function(){var B=l,M=B.lib.BlockCipher,x=B.algo,p=[],E=[],A=[],o=[],w=[],r=[],h=[],c=[],C=[],b=[];(function(){for(var e=[],i=0;i<256;i++)e[i]=i<128?i<<1:i<<1^283;var s=0,g=0;for(i=0;i<256;i++){var t=g^g<<1^g<<2^g<<3^g<<4;t=t>>>8^255&t^99,p[s]=t,E[t]=s;var n=e[s],v=e[n],a=e[v],_=257*e[t]^16843008*t;A[s]=_<<24|_>>>8,o[s]=_<<16|_>>>16,w[s]=_<<8|_>>>24,r[s]=_,_=16843009*a^65537*v^257*n^16843008*s,h[t]=_<<24|_>>>8,c[t]=_<<16|_>>>16,C[t]=_<<8|_>>>24,b[t]=_,s?(s=n^e[e[e[a^n]]],g^=e[e[g]]):s=g=1}})();var k=[0,1,2,4,8,16,32,64,128,27,54],S=x.AES=M.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,i=e.words,s=e.sigBytes/4,g=4*((this._nRounds=s+6)+1),t=this._keySchedule=[],n=0;n6&&n%s==4&&(_=p[_>>>24]<<24|p[_>>>16&255]<<16|p[_>>>8&255]<<8|p[255&_]):(_=p[(_=_<<8|_>>>24)>>>24]<<24|p[_>>>16&255]<<16|p[_>>>8&255]<<8|p[255&_],_^=k[n/s|0]<<24),t[n]=t[n-s]^_);for(var v=this._invKeySchedule=[],a=0;a>>24]]^c[p[_>>>16&255]]^C[p[_>>>8&255]]^b[p[255&_]]}}},encryptBlock:function(e,i){this._doCryptBlock(e,i,this._keySchedule,A,o,w,r,p)},decryptBlock:function(e,i){var s=e[i+1];e[i+1]=e[i+3],e[i+3]=s,this._doCryptBlock(e,i,this._invKeySchedule,h,c,C,b,E),s=e[i+1],e[i+1]=e[i+3],e[i+3]=s},_doCryptBlock:function(e,i,s,g,t,n,v,a){for(var _=this._nRounds,R=e[i]^s[0],D=e[i+1]^s[1],O=e[i+2]^s[2],P=e[i+3]^s[3],L=4,U=1;U<_;U++){var T=g[R>>>24]^t[D>>>16&255]^n[O>>>8&255]^v[255&P]^s[L++],I=g[D>>>24]^t[O>>>16&255]^n[P>>>8&255]^v[255&R]^s[L++],H=g[O>>>24]^t[P>>>16&255]^n[R>>>8&255]^v[255&D]^s[L++],G=g[P>>>24]^t[R>>>16&255]^n[D>>>8&255]^v[255&O]^s[L++];R=T,D=I,O=H,P=G}T=(a[R>>>24]<<24|a[D>>>16&255]<<16|a[O>>>8&255]<<8|a[255&P])^s[L++],I=(a[D>>>24]<<24|a[O>>>16&255]<<16|a[P>>>8&255]<<8|a[255&R])^s[L++],H=(a[O>>>24]<<24|a[P>>>16&255]<<16|a[R>>>8&255]<<8|a[255&D])^s[L++],G=(a[P>>>24]<<24|a[R>>>16&255]<<16|a[D>>>8&255]<<8|a[255&O])^s[L++],e[i]=T,e[i+1]=I,e[i+2]=H,e[i+3]=G},keySize:8});B.AES=M._createHelper(S)}(),l.AES));var l}()));var Ce={words:[1698181731,1801809512,946104675,1751477816],sigBytes:16};function me(l){try{return l=N.AES.decrypt({ciphertext:N.lib.WordArray.create(l)},Ce,{mode:N.mode.ECB,padding:N.pad.Pkcs7}),JSON.parse(N.enc.Utf8.stringify(l))}catch(B){return console.log(B.message),null}}function Ne(l){l=N.AES.encrypt(JSON.stringify(l),Ce,{mode:N.mode.ECB,padding:N.pad.Pkcs7}).ciphertext;let B=new Uint8Array(l.sigBytes);for(let M=0;M>>2]>>>24-M%4*8&255;return B}var Be=typeof $task<"u",W=$request.url,y=$response.body,_e=$response.headers,ve=_e["content-type"]||_e["Content-Type"]||"";!ve.includes("application/json")&&!y&&(console.log("contentType\u4E0D\u5339\u914D"+ve),$done({}));var ge={},ke=W.match(/(?:^https?:\/\/[^\/]+)\/(?:e?api)(\/[a-z0-9-/]+)(\?.*)?/),be=ke?ke[1]:$done({});Be?y=me($response.bodyBytes):y=me(y);var $=2e12,V=["PAGE_RECOMMEND_DAILY_RECOMMEND","PAGE_RECOMMEND_SPECIAL_CLOUD_VILLAGE_PLAYLIST","PAGE_RECOMMEND_SHORTCUT","HOMEPAGE_MUSIC_PARTNER","PAGE_RECOMMEND_RADAR","PAGE_RECOMMEND_RANK"];function Ee(){if(we())try{let l={PRGG:"PAGE_RECOMMEND_GREETING",PRDRD:"PAGE_RECOMMEND_DAILY_RECOMMEND",PRSCVPT:"PAGE_RECOMMEND_SPECIAL_CLOUD_VILLAGE_PLAYLIST",PRST:"PAGE_RECOMMEND_SHORTCUT",HMPR:"HOMEPAGE_MUSIC_PARTNER",PRRR:"PAGE_RECOMMEND_RADAR",PRRK:"PAGE_RECOMMEND_RANK",PRMST:"PAGE_RECOMMEND_MY_SHEET",PRCN:"PAGE_RECOMMEND_COMBINATION"};F=JSON.parse($argument),V=Object.keys(F).filter(B=>F[B]!=0).map(B=>l[B])}catch{}}var F;function xe(l){l?.musicPackage&&(l.musicPackage&&(l.musicPackage.expireTime=$,l.musicPackage.vipLevel=7),l.associator&&(l.associator.expireTime=$,l.associator.vipLevel=7),l.voiceBookVip&&(l.voiceBookVip.expireTime=$,l.voiceBookVip.vipLevel=7),l.redplus={vipCode:300,expireTime:$,iconUrl:null,dynamicIconUrl:null,vipLevel:7,isSignDeduct:!1,isSignIap:!1,isSignIapDeduct:!1,isSign:!1},l.redVipLevel&&(l.redVipLevel=7))}try{if(y===null)throw new Error("\u89E3\u5BC6\u5931\u8D25: "+be);switch(be){case"/batch":let B=(r,h={})=>{y[r]?.data&&(y[r].data=h)};B("/api/comment/tips/v2/get",{count:0,offset:0,records:[]}),B("/api/social/event/bff/ad/resources"),B("/api/ad/get",{code:200,ads:{}});let M="/api/music-vip-membership/client/vip/info",x="/api/v2/resource/comments",p="/api/comment/feed/inserted/resources",E="/api/event/rcmd/topic/list",A="/api/platform/song/bff/grading/song/order/entrance";y[M]?.data&&xe(y[M].data),y[x]?.data?.comments&&y[x].data.comments.forEach(r=>{r.user?.followed===!1&&(r.user.followed=!0),r.user.vipRights=null,r.user.avatarDetail=null,r.userBizLevels=null,r.pendantData=null,r.tag.extDatas=[],r.tag.contentPicDatas=null}),y[p]?.data&&(y[p].data={},y[p].trp?.rules&&(y[p].trp.rules=[])),y[E]?.data?.topicList&&(y[E].data.topicList=[]),y[A]?.data?.songOrderEntrance&&(y[A].data.songOrderEntrance={});break;case"/v2/resource/comment/floor/get":y.data?.ownerComment&&(y.data.ownerComment.user.vipRights=null,y.data.ownerComment.user.avatarDetail={},y.data.ownerComment.pendantData=null),y.data?.comments&&y.data.comments.forEach(r=>{r.user?.followed===!1&&(r.user.followed=!0),r.user.vipRights=null,r.user.avatarDetail=null,r.userBizLevels=null,r.pendantData=null,r.tag.extDatas=[],r.tag.contentPicDatas=null});break;case"/music-vip-membership/client/vip/info":xe(y.data);break;case"api/ad/get":y={code:200,ads:{}};break;case"/link/position/show/resource":y.data?.crossPlatformResource?.positionCode&&y.data.crossPlatformResource.positionCode==="MyPageBar"&&(y.data.crossPlatformResource={});break;case"/user/follow/users/mixed/get/v2":y.data?.records&&y.data.records.forEach(r=>{r.mutualFollowDay===null&&(r.showContent={message:"\u{1F4A2}\u4ED6/\u5979,\u672A\u5173\u6CE8\u4F60",time:1e12,active:!0,boxContent:{}})});break;case"/vipnewcenter/app/resource/newaccountpage":y.data&&(y.data.mainTitle.vipCurrLevel=7,y.data.mainTitle.imgUrl="",y.data.mainTitle.jumpUrl="",y.data.mainTitle.reachMaxLevel=!0,y.data.subTitle.carousels=[],y.data.buttonTitle={});break;case"/link/home/framework/tab":let o=[],w=!1;if(we())try{F=JSON.parse($argument);let r={MY:"\u6F2B\u6E38",DT:"\u7B14\u8BB0",TJ:"\u63A8\u8350",FX:"\u53D1\u73B0"};o=Object.keys(F).filter(h=>F[h]==0).map(h=>r[h])}catch{w=!0}else w=!0;w&&(o=["\u6F2B\u6E38"]),y.data?.commonResourceList&&(y.data.commonResourceList=y.data.commonResourceList.filter(r=>!o.includes(r.title)),y.data.commonResourceList.forEach(r=>{r.title==="\u53D1\u73B0"&&(r.subCommonResourceList=r.subCommonResourceList.filter(h=>!["\u76F4\u64AD"].includes(h.title)))}));break;case"/song/play/more/list/v2":if(y.data?.bottomItem?.itemNodeList){let r=y.data.bottomItem.itemNodeList[0],h=r.find(C=>C.type==="effect"),c=r.indexOf(h);c!==-1&&(r.splice(c,1),r.unshift(h))}break;case"homepage/block/page":if(y.data?.blocks){for(let r=0;r!["\u6D3B\u52A8","\u5E7F\u544A"].includes(h.typeTitle));break}}break;case"/link/page/discovery/resource/show":if(y.data?.blockCodeOrderList)try{y.data.blockCodeOrderList=JSON.stringify(JSON.parse(y.data.blockCodeOrderList).filter(r=>!["PAGE_DISCOVERY_BANNER"].includes(r)))}catch{console.log("101123")}y.data?.blocks&&(y.data.blocks=y.data.blocks.filter(r=>!["PAGE_DISCOVERY_BANNER"].includes(r.bizCode)));break;case"/link/page/rcmd/resource/show":if(Ee(),y.data?.blocks&&(y.data.blocks=y.data.blocks.filter(r=>V.includes(r.bizCode)),y.data.blocks.length>0)){for(let r=0;r{y.data.blocks[r].dslData[h].commonResourceList&&(y.data.blocks[r].dslData[h].commonResourceList=y.data.blocks[r].dslData[h].commonResourceList.forEach(c=>{(c.summary||c.extraMap||c.title)&&(c.summary&&(c.summary=""),c.extraMap&&(c.extraMap={}),c.trp_id&&(c.trp_id=""),c.log&&(c.log={}),c.icon&&(c.icon=""),c.actionUrl&&(c.actionUrl=""),c.s_ctrp&&(c.s_ctrp=""),c.resourceType&&(c.resourceType=""))}))});break}}if(y.data?.blockCodeOrderList)try{y.data.blockCodeOrderList=JSON.stringify(JSON.parse(y.data.blockCodeOrderList).filter(r=>V.includes(r)))}catch{}break;case"/link/page/rcmd/block/resource/multi/refresh":if(y.data&&(Ee(),y.data=y.data.filter(r=>V.includes(r.blockCode)),y.data?.length>0)){for(let r=0;r{y.data[r].block.dslData[h].commonResourceList&&(y.data[r].block.dslData[h].commonResourceList=y.data[r].block.dslData[h].commonResourceList.forEach(c=>{(c.summary||c.extraMap||c.title)&&(c.summary&&(c.summary=""),c.extraMap&&(c.extraMap={}),c.trp_id&&(c.trp_id=""),c.log&&(c.log={}),c.icon&&(c.icon=""),c.actionUrl&&(c.actionUrl=""),c.s_ctrp&&(c.s_ctrp=""),c.resourceType&&(c.resourceType=""))}))});break}}break;default:console.log("\u672A\u5339\u914D\u5230: "+W),$done({})}let l=Ne(y);ge=Be?{bodyBytes:l.buffer.slice(l.byteOffset,l.byteLength+l.byteOffset)}:{body:l}}catch(l){console.log(W),console.log(l.message)}finally{$done(ge)}function we(){return typeof $argument<"u"&&$argument!==""}})(); +// @timestamp thenkey 2024-12-01 21:10:53 +(()=>{var J=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Re(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}function Se(l){if(l.__esModule)return l;var B=l.default;if(typeof B=="function"){var w=function x(){return this instanceof x?Reflect.construct(B,arguments,this.constructor):B.apply(this,arguments)};w.prototype=B.prototype}else w={};return Object.defineProperty(w,"__esModule",{value:!0}),Object.keys(l).forEach(function(x){var h=Object.getOwnPropertyDescriptor(l,x);Object.defineProperty(w,x,h.get?h:{enumerable:!0,get:function(){return l[x]}})}),w}var Ae={exports:{}},X={exports:{}},Oe=Se(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),Y;function N(){return Y||(Y=1,X.exports=(l=l||function(B,w){var x;if(typeof window<"u"&&window.crypto&&(x=window.crypto),typeof self<"u"&&self.crypto&&(x=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(x=globalThis.crypto),!x&&typeof window<"u"&&window.msCrypto&&(x=window.msCrypto),!x&&J!==void 0&&J.crypto&&(x=J.crypto),!x)try{x=Oe}catch{}var h=function(){if(x){if(typeof x.getRandomValues=="function")try{return x.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof x.randomBytes=="function")try{return x.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},E=Object.create||function(){function e(){}return function(i){var s;return e.prototype=i,s=new e,e.prototype=null,s}}(),S={},o=S.lib={},M=o.Base=function(){return{extend:function(e){var i=E(this);return e&&i.mixIn(e),i.hasOwnProperty("init")&&this.init!==i.init||(i.init=function(){i.$super.init.apply(this,arguments)}),i.init.prototype=i,i.$super=this,i},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var i in e)e.hasOwnProperty(i)&&(this[i]=e[i]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),r=o.WordArray=M.extend({init:function(e,i){e=this.words=e||[],this.sigBytes=i!=w?i:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var i=this.words,s=e.words,g=this.sigBytes,t=e.sigBytes;if(this.clamp(),g%4)for(var n=0;n>>2]>>>24-n%4*8&255;i[g+n>>>2]|=_<<24-(g+n)%4*8}else for(var a=0;a>>2]=s[a>>>2];return this.sigBytes+=t,this},clamp:function(){var e=this.words,i=this.sigBytes;e[i>>>2]&=4294967295<<32-i%4*8,e.length=B.ceil(i/4)},clone:function(){var e=M.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var i=[],s=0;s>>2]>>>24-t%4*8&255;g.push((n>>>4).toString(16)),g.push((15&n).toString(16))}return g.join("")},parse:function(e){for(var i=e.length,s=[],g=0;g>>3]|=parseInt(e.substr(g,2),16)<<24-g%8*4;return new r.init(s,i/2)}},C=f.Latin1={stringify:function(e){for(var i=e.words,s=e.sigBytes,g=[],t=0;t>>2]>>>24-t%4*8&255;g.push(String.fromCharCode(n))}return g.join("")},parse:function(e){for(var i=e.length,s=[],g=0;g>>2]|=(255&e.charCodeAt(g))<<24-g%4*8;return new r.init(s,i)}},b=f.Utf8={stringify:function(e){try{return decodeURIComponent(escape(C.stringify(e)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(e){return C.parse(unescape(encodeURIComponent(e)))}},k=o.BufferedBlockAlgorithm=M.extend({reset:function(){this._data=new r.init,this._nDataBytes=0},_append:function(e){typeof e=="string"&&(e=b.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(e){var i,s=this._data,g=s.words,t=s.sigBytes,n=this.blockSize,_=t/(4*n),a=(_=e?B.ceil(_):B.max((0|_)-this._minBufferSize,0))*n,v=B.min(4*a,t);if(a){for(var R=0;R>>2]|=h[o]<<24-o%4*8;w.call(this,S,E)}else w.apply(this,arguments)};x.prototype=B}}(),l.lib.WordArray)),Q.exports;var l}var Z,Pe={exports:{}},ee={exports:{}},te={exports:{}},re={exports:{}};function Le(){return Z||(Z=1,re.exports=(o=N(),B=(l=o).lib,w=B.WordArray,x=B.Hasher,h=l.algo,E=[],S=h.SHA1=x.extend({_doReset:function(){this._hash=new w.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(M,r){for(var f=this._hash.words,c=f[0],C=f[1],b=f[2],k=f[3],A=f[4],e=0;e<80;e++){if(e<16)E[e]=0|M[r+e];else{var i=E[e-3]^E[e-8]^E[e-14]^E[e-16];E[e]=i<<1|i>>>31}var s=(c<<5|c>>>27)+A+E[e];s+=e<20?1518500249+(C&b|~C&k):e<40?1859775393+(C^b^k):e<60?(C&b|C&k|b&k)-1894007588:(C^b^k)-899497514,A=k,k=b,b=C<<30|C>>>2,C=c,c=s}f[0]=f[0]+c|0,f[1]=f[1]+C|0,f[2]=f[2]+b|0,f[3]=f[3]+k|0,f[4]=f[4]+A|0},_doFinalize:function(){var M=this._data,r=M.words,f=8*this._nDataBytes,c=8*M.sigBytes;return r[c>>>5]|=128<<24-c%32,r[14+(c+64>>>9<<4)]=Math.floor(f/4294967296),r[15+(c+64>>>9<<4)]=f,M.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var M=x.clone.call(this);return M._hash=this._hash.clone(),M}}),l.SHA1=x._createHelper(S),l.HmacSHA1=x._createHmacHelper(S),o.SHA1)),re.exports;var l,B,w,x,h,E,S,o}var ne,ie,oe,ae,se={exports:{}};function ye(){return ie||(ie=1,te.exports=function(h){return function(){var E=h,S=E.lib,o=S.Base,M=S.WordArray,r=E.algo,f=r.MD5,c=r.EvpKDF=o.extend({cfg:o.extend({keySize:4,hasher:f,iterations:1}),init:function(C){this.cfg=this.cfg.extend(C)},compute:function(C,b){for(var k,A=this.cfg,e=A.hasher.create(),i=M.create(),s=i.words,g=A.keySize,t=A.iterations;s.lengtho&&(E=h.finalize(E)),E.clamp();for(var M=this._oKey=E.clone(),r=this._iKey=E.clone(),f=M.words,c=r.words,C=0;C>>2];t.sigBytes-=n}};x.BlockCipher=f.extend({cfg:f.cfg.extend({mode:b,padding:k}),reset:function(){var t;f.reset.call(this);var n=this.cfg,_=n.iv,a=n.mode;this._xformMode==this._ENC_XFORM_MODE?t=a.createEncryptor:(t=a.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==t?this._mode.init(this,_&&_.words):(this._mode=t.call(a,this,_&&_.words),this._mode.__creator=t)},_doProcessBlock:function(t,n){this._mode.processBlock(t,n)},_doFinalize:function(){var t,n=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(n.pad(this._data,this.blockSize),t=this._process(!0)):(t=this._process(!0),n.unpad(t)),t},blockSize:4});var A=x.CipherParams=h.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}}),e=(w.format={}).OpenSSL={stringify:function(t){var n=t.ciphertext,_=t.salt;return(_?E.create([1398893684,1701076831]).concat(_).concat(n):n).toString(M)},parse:function(t){var n,_=M.parse(t),a=_.words;return a[0]==1398893684&&a[1]==1701076831&&(n=E.create(a.slice(2,4)),a.splice(0,4),_.sigBytes-=16),A.create({ciphertext:_,salt:n})}},i=x.SerializableCipher=h.extend({cfg:h.extend({format:e}),encrypt:function(t,n,_,a){a=this.cfg.extend(a);var v=t.createEncryptor(_,a),R=v.finalize(n),O=v.cfg;return A.create({ciphertext:R,key:_,iv:O.iv,algorithm:t,mode:O.mode,padding:O.padding,blockSize:t.blockSize,formatter:a.format})},decrypt:function(t,n,_,a){return a=this.cfg.extend(a),n=this._parse(n,a.format),t.createDecryptor(_,a).finalize(n.ciphertext)},_parse:function(t,n){return typeof t=="string"?n.parse(t,this):t}}),s=(w.kdf={}).OpenSSL={execute:function(t,n,_,a,v){if(a||(a=E.random(8)),v)R=r.create({keySize:n+_,hasher:v}).compute(t,a);else var R=r.create({keySize:n+_}).compute(t,a);var O=E.create(R.words.slice(n),4*_);return R.sigBytes=4*n,A.create({key:R,iv:O,salt:a})}},g=x.PasswordBasedCipher=i.extend({cfg:i.cfg.extend({kdf:s}),encrypt:function(t,n,_,a){var v=(a=this.cfg.extend(a)).kdf.execute(_,t.keySize,t.ivSize,a.salt,a.hasher);a.iv=v.iv;var R=i.encrypt.call(this,t,n,v.key,a);return R.mixIn(v),R},decrypt:function(t,n,_,a){a=this.cfg.extend(a),n=this._parse(n,a.format);var v=a.kdf.execute(_,t.keySize,t.ivSize,n.salt,a.hasher);return a.iv=v.iv,i.decrypt.call(this,t,n,v.key,a)}})}()))),ee.exports;var l}var le,fe={exports:{}},ue={exports:{}};function ze(){return le||(le=1,ue.exports=(l=N(),function(){var B=l,w=B.lib.WordArray;function x(h,E,S){for(var o=[],M=0,r=0;r>>6-r%4*2;o[M>>>2]|=f<<24-M%4*8,M++}return w.create(o,M)}B.enc.Base64={stringify:function(h){var E=h.words,S=h.sigBytes,o=this._map;h.clamp();for(var M=[],r=0;r>>2]>>>24-r%4*8&255)<<16|(E[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|E[r+2>>>2]>>>24-(r+2)%4*8&255,c=0;c<4&&r+.75*c>>6*(3-c)&63));var C=o.charAt(64);if(C)for(;M.length%4;)M.push(C);return M.join("")},parse:function(h){var E=h.length,S=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var M=0;M>>24)|4278255360&(i<<24|i>>>8)}var s=this._hash.words,g=b[k+0],t=b[k+1],n=b[k+2],_=b[k+3],a=b[k+4],v=b[k+5],R=b[k+6],O=b[k+7],D=b[k+8],P=b[k+9],L=b[k+10],F=b[k+11],I=b[k+12],H=b[k+13],G=b[k+14],U=b[k+15],u=s[0],m=s[1],d=s[2],p=s[3];u=r(u,m,d,p,g,7,o[0]),p=r(p,u,m,d,t,12,o[1]),d=r(d,p,u,m,n,17,o[2]),m=r(m,d,p,u,_,22,o[3]),u=r(u,m,d,p,a,7,o[4]),p=r(p,u,m,d,v,12,o[5]),d=r(d,p,u,m,R,17,o[6]),m=r(m,d,p,u,O,22,o[7]),u=r(u,m,d,p,D,7,o[8]),p=r(p,u,m,d,P,12,o[9]),d=r(d,p,u,m,L,17,o[10]),m=r(m,d,p,u,F,22,o[11]),u=r(u,m,d,p,I,7,o[12]),p=r(p,u,m,d,H,12,o[13]),d=r(d,p,u,m,G,17,o[14]),u=f(u,m=r(m,d,p,u,U,22,o[15]),d,p,t,5,o[16]),p=f(p,u,m,d,R,9,o[17]),d=f(d,p,u,m,F,14,o[18]),m=f(m,d,p,u,g,20,o[19]),u=f(u,m,d,p,v,5,o[20]),p=f(p,u,m,d,L,9,o[21]),d=f(d,p,u,m,U,14,o[22]),m=f(m,d,p,u,a,20,o[23]),u=f(u,m,d,p,P,5,o[24]),p=f(p,u,m,d,G,9,o[25]),d=f(d,p,u,m,_,14,o[26]),m=f(m,d,p,u,D,20,o[27]),u=f(u,m,d,p,H,5,o[28]),p=f(p,u,m,d,n,9,o[29]),d=f(d,p,u,m,O,14,o[30]),u=c(u,m=f(m,d,p,u,I,20,o[31]),d,p,v,4,o[32]),p=c(p,u,m,d,D,11,o[33]),d=c(d,p,u,m,F,16,o[34]),m=c(m,d,p,u,G,23,o[35]),u=c(u,m,d,p,t,4,o[36]),p=c(p,u,m,d,a,11,o[37]),d=c(d,p,u,m,O,16,o[38]),m=c(m,d,p,u,L,23,o[39]),u=c(u,m,d,p,H,4,o[40]),p=c(p,u,m,d,g,11,o[41]),d=c(d,p,u,m,_,16,o[42]),m=c(m,d,p,u,R,23,o[43]),u=c(u,m,d,p,P,4,o[44]),p=c(p,u,m,d,I,11,o[45]),d=c(d,p,u,m,U,16,o[46]),u=C(u,m=c(m,d,p,u,n,23,o[47]),d,p,g,6,o[48]),p=C(p,u,m,d,O,10,o[49]),d=C(d,p,u,m,G,15,o[50]),m=C(m,d,p,u,v,21,o[51]),u=C(u,m,d,p,I,6,o[52]),p=C(p,u,m,d,_,10,o[53]),d=C(d,p,u,m,L,15,o[54]),m=C(m,d,p,u,t,21,o[55]),u=C(u,m,d,p,D,6,o[56]),p=C(p,u,m,d,U,10,o[57]),d=C(d,p,u,m,R,15,o[58]),m=C(m,d,p,u,H,21,o[59]),u=C(u,m,d,p,a,6,o[60]),p=C(p,u,m,d,F,10,o[61]),d=C(d,p,u,m,n,15,o[62]),m=C(m,d,p,u,P,21,o[63]),s[0]=s[0]+u|0,s[1]=s[1]+m|0,s[2]=s[2]+d|0,s[3]=s[3]+p|0},_doFinalize:function(){var b=this._data,k=b.words,A=8*this._nDataBytes,e=8*b.sigBytes;k[e>>>5]|=128<<24-e%32;var i=B.floor(A/4294967296),s=A;k[15+(e+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),k[14+(e+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),b.sigBytes=4*(k.length+1),this._process();for(var g=this._hash,t=g.words,n=0;n<4;n++){var _=t[n];t[n]=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8)}return g},clone:function(){var b=E.clone.call(this);return b._hash=this._hash.clone(),b}});function r(b,k,A,e,i,s,g){var t=b+(k&A|~k&e)+i+g;return(t<>>32-s)+k}function f(b,k,A,e,i,s,g){var t=b+(k&e|A&~e)+i+g;return(t<>>32-s)+k}function c(b,k,A,e,i,s,g){var t=b+(k^A^e)+i+g;return(t<>>32-s)+k}function C(b,k,A,e,i,s,g){var t=b+(A^(k|~e))+i+g;return(t<>>32-s)+k}w.MD5=E._createHelper(M),w.HmacMD5=E._createHmacHelper(M)}(Math),l.MD5)),he.exports;var l}var T=Re(Ae.exports=function(l){return l}(N(),De(),ae||(ae=1,Pe.exports=(K=N(),ce(),K.mode.ECB=((j=K.lib.BlockCipherMode.extend()).Encryptor=j.extend({processBlock:function(l,B){this._cipher.encryptBlock(l,B)}}),j.Decryptor=j.extend({processBlock:function(l,B){this._cipher.decryptBlock(l,B)}}),j),K.mode.ECB)),function(){return pe?fe.exports:(pe=1,fe.exports=(l=N(),ze(),Ne(),ye(),ce(),function(){var B=l,w=B.lib.BlockCipher,x=B.algo,h=[],E=[],S=[],o=[],M=[],r=[],f=[],c=[],C=[],b=[];(function(){for(var e=[],i=0;i<256;i++)e[i]=i<128?i<<1:i<<1^283;var s=0,g=0;for(i=0;i<256;i++){var t=g^g<<1^g<<2^g<<3^g<<4;t=t>>>8^255&t^99,h[s]=t,E[t]=s;var n=e[s],_=e[n],a=e[_],v=257*e[t]^16843008*t;S[s]=v<<24|v>>>8,o[s]=v<<16|v>>>16,M[s]=v<<8|v>>>24,r[s]=v,v=16843009*a^65537*_^257*n^16843008*s,f[t]=v<<24|v>>>8,c[t]=v<<16|v>>>16,C[t]=v<<8|v>>>24,b[t]=v,s?(s=n^e[e[e[a^n]]],g^=e[e[g]]):s=g=1}})();var k=[0,1,2,4,8,16,32,64,128,27,54],A=x.AES=w.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,i=e.words,s=e.sigBytes/4,g=4*((this._nRounds=s+6)+1),t=this._keySchedule=[],n=0;n6&&n%s==4&&(v=h[v>>>24]<<24|h[v>>>16&255]<<16|h[v>>>8&255]<<8|h[255&v]):(v=h[(v=v<<8|v>>>24)>>>24]<<24|h[v>>>16&255]<<16|h[v>>>8&255]<<8|h[255&v],v^=k[n/s|0]<<24),t[n]=t[n-s]^v);for(var _=this._invKeySchedule=[],a=0;a>>24]]^c[h[v>>>16&255]]^C[h[v>>>8&255]]^b[h[255&v]]}}},encryptBlock:function(e,i){this._doCryptBlock(e,i,this._keySchedule,S,o,M,r,h)},decryptBlock:function(e,i){var s=e[i+1];e[i+1]=e[i+3],e[i+3]=s,this._doCryptBlock(e,i,this._invKeySchedule,f,c,C,b,E),s=e[i+1],e[i+1]=e[i+3],e[i+3]=s},_doCryptBlock:function(e,i,s,g,t,n,_,a){for(var v=this._nRounds,R=e[i]^s[0],O=e[i+1]^s[1],D=e[i+2]^s[2],P=e[i+3]^s[3],L=4,F=1;F>>24]^t[O>>>16&255]^n[D>>>8&255]^_[255&P]^s[L++],H=g[O>>>24]^t[D>>>16&255]^n[P>>>8&255]^_[255&R]^s[L++],G=g[D>>>24]^t[P>>>16&255]^n[R>>>8&255]^_[255&O]^s[L++],U=g[P>>>24]^t[R>>>16&255]^n[O>>>8&255]^_[255&D]^s[L++];R=I,O=H,D=G,P=U}I=(a[R>>>24]<<24|a[O>>>16&255]<<16|a[D>>>8&255]<<8|a[255&P])^s[L++],H=(a[O>>>24]<<24|a[D>>>16&255]<<16|a[P>>>8&255]<<8|a[255&R])^s[L++],G=(a[D>>>24]<<24|a[P>>>16&255]<<16|a[R>>>8&255]<<8|a[255&O])^s[L++],U=(a[P>>>24]<<24|a[R>>>16&255]<<16|a[O>>>8&255]<<8|a[255&D])^s[L++],e[i]=I,e[i+1]=H,e[i+2]=G,e[i+3]=U},keySize:8});B.AES=w._createHelper(A)}(),l.AES));var l}()));var Ce={words:[1698181731,1801809512,946104675,1751477816],sigBytes:16};function me(l){try{return l=T.AES.decrypt({ciphertext:T.lib.WordArray.create(l)},Ce,{mode:T.mode.ECB,padding:T.pad.Pkcs7}),JSON.parse(T.enc.Utf8.stringify(l))}catch(B){return console.log(B.message),null}}function Te(l){l=T.AES.encrypt(JSON.stringify(l),Ce,{mode:T.mode.ECB,padding:T.pad.Pkcs7}).ciphertext;let B=new Uint8Array(l.sigBytes);for(let w=0;w>>2]>>>24-w%4*8&255;return B}var Be=typeof $task<"u",W=$request.url,y=$response.body,ve=$response.headers,_e=ve["content-type"]||ve["Content-Type"]||"";!_e.includes("application/json")&&!y&&(console.log("contentType\u4E0D\u5339\u914D"+_e),$done({}));var ge={},ke=W.match(/(?:^https?:\/\/[^\/]+)\/(?:e?api)(\/[a-z0-9-/]+)(\?.*)?/),be=ke?ke[1]:$done({});Be?y=me($response.bodyBytes):y=me(y);var we=()=>typeof $environment<"u"&&$environment["surge-version"]?"Surge":typeof $loon<"u"?"Loon":void 0,V=2e12,$=["PAGE_RECOMMEND_DAILY_RECOMMEND","PAGE_RECOMMEND_SPECIAL_CLOUD_VILLAGE_PLAYLIST","PAGE_RECOMMEND_SHORTCUT","HOMEPAGE_MUSIC_PARTNER","PAGE_RECOMMEND_RADAR","PAGE_RECOMMEND_RANK"];function Ee(){let l=we();if(Me())try{let B={PRGG:"PAGE_RECOMMEND_GREETING",PRDRD:"PAGE_RECOMMEND_DAILY_RECOMMEND",PRSCVPT:"PAGE_RECOMMEND_SPECIAL_CLOUD_VILLAGE_PLAYLIST",PRST:"PAGE_RECOMMEND_SHORTCUT",HMPR:"HOMEPAGE_MUSIC_PARTNER",PRRR:"PAGE_RECOMMEND_RADAR",PRRK:"PAGE_RECOMMEND_RANK",PRMST:"PAGE_RECOMMEND_MY_SHEET",PRCN:"PAGE_RECOMMEND_COMBINATION"};l==="Surge"?(z=JSON.parse($argument),$=Object.keys(z).filter(w=>z[w]!=0).map(w=>B[w])):l==="Loon"&&(z=$argument,$=Object.keys(z).filter(w=>z[w]!=!0).map(w=>B[w]))}catch{}}var z;function xe(l){l?.musicPackage&&(l.musicPackage&&(l.musicPackage.expireTime=V,l.musicPackage.vipLevel=7),l.associator&&(l.associator.expireTime=V,l.associator.vipLevel=7),l.voiceBookVip&&(l.voiceBookVip.expireTime=V,l.voiceBookVip.vipLevel=7),l.redplus={vipCode:300,expireTime:V,iconUrl:null,dynamicIconUrl:null,vipLevel:7,isSignDeduct:!1,isSignIap:!1,isSignIapDeduct:!1,isSign:!1},l.redVipLevel&&(l.redVipLevel=7))}try{if(y===null)throw new Error("\u89E3\u5BC6\u5931\u8D25: "+be);switch(be){case"/batch":let B=(r,f={})=>{y[r]?.data&&(y[r].data=f)};B("/api/comment/tips/v2/get",{count:0,offset:0,records:[]}),B("/api/social/event/bff/ad/resources"),B("/api/ad/get",{code:200,ads:{}});let w="/api/music-vip-membership/client/vip/info",x="/api/v2/resource/comments",h="/api/comment/feed/inserted/resources",E="/api/event/rcmd/topic/list",S="/api/platform/song/bff/grading/song/order/entrance";y[w]?.data&&xe(y[w].data),y[x]?.data?.comments&&y[x].data.comments.forEach(r=>{r.user?.followed===!1&&(r.user.followed=!0),r.user.vipRights=null,r.user.avatarDetail=null,r.userBizLevels=null,r.pendantData=null,r.tag.extDatas=[],r.tag.contentPicDatas=null}),y[h]?.data&&(y[h].data={},y[h].trp?.rules&&(y[h].trp.rules=[])),y[E]?.data?.topicList&&(y[E].data.topicList=[]),y[S]?.data?.songOrderEntrance&&(y[S].data.songOrderEntrance={});break;case"/v2/resource/comment/floor/get":y.data?.ownerComment&&(y.data.ownerComment.user.vipRights=null,y.data.ownerComment.user.avatarDetail={},y.data.ownerComment.pendantData=null),y.data?.comments&&y.data.comments.forEach(r=>{r.user?.followed===!1&&(r.user.followed=!0),r.user.vipRights=null,r.user.avatarDetail=null,r.userBizLevels=null,r.pendantData=null,r.tag.extDatas=[],r.tag.contentPicDatas=null});break;case"/music-vip-membership/client/vip/info":xe(y.data);break;case"api/ad/get":y={code:200,ads:{}};break;case"/link/position/show/resource":y.data?.crossPlatformResource?.positionCode&&y.data.crossPlatformResource.positionCode==="MyPageBar"&&(y.data.crossPlatformResource={});break;case"/user/follow/users/mixed/get/v2":y.data?.records&&y.data.records.forEach(r=>{r.mutualFollowDay===null&&(r.showContent={message:"\u{1F4A2}\u4ED6/\u5979,\u672A\u5173\u6CE8\u4F60",time:1e12,active:!0,boxContent:{}})});break;case"/vipnewcenter/app/resource/newaccountpage":y.data&&(y.data.mainTitle.vipCurrLevel=7,y.data.mainTitle.imgUrl="",y.data.mainTitle.jumpUrl="",y.data.mainTitle.reachMaxLevel=!0,y.data.subTitle.carousels=[],y.data.buttonTitle={});break;case"/link/home/framework/tab":let o=[],M=!1;if(envdev=we(),Me())try{let r={MY:"\u6F2B\u6E38",DT:"\u7B14\u8BB0",FX:"\u53D1\u73B0"};envdev==="Surge"?(z=JSON.parse($argument),o=Object.keys(z).filter(f=>z[f]==0).map(f=>r[f])):envdev==="Loon"&&(z=$argument,o=Object.keys(z).filter(f=>z[f]==!0).map(f=>r[f]))}catch{M=!0}else M=!0;M&&(o=["\u6F2B\u6E38"]),y.data?.commonResourceList&&(y.data.commonResourceList=y.data.commonResourceList.filter(r=>!o.includes(r.title)),y.data.commonResourceList.forEach(r=>{r.title==="\u53D1\u73B0"&&(r.subCommonResourceList=r.subCommonResourceList.filter(f=>!["\u76F4\u64AD"].includes(f.title)))}));break;case"/song/play/more/list/v2":if(y.data?.bottomItem?.itemNodeList){let r=y.data.bottomItem.itemNodeList[0],f=r.find(C=>C.type==="effect"),c=r.indexOf(f);c!==-1&&(r.splice(c,1),r.unshift(f))}break;case"homepage/block/page":if(y.data?.blocks){for(let r=0;r!["\u6D3B\u52A8","\u5E7F\u544A"].includes(f.typeTitle));break}}break;case"/link/page/discovery/resource/show":if(y.data?.blockCodeOrderList)try{y.data.blockCodeOrderList=JSON.stringify(JSON.parse(y.data.blockCodeOrderList).filter(r=>!["PAGE_DISCOVERY_BANNER"].includes(r)))}catch{console.log("101123")}y.data?.blocks&&(y.data.blocks=y.data.blocks.filter(r=>!["PAGE_DISCOVERY_BANNER"].includes(r.bizCode)));break;case"/link/page/rcmd/resource/show":if(Ee(),y.data?.blocks&&(y.data.blocks=y.data.blocks.filter(r=>$.includes(r.bizCode)),y.data.blocks.length>0)){for(let r=0;r{y.data.blocks[r].dslData[f].commonResourceList&&(y.data.blocks[r].dslData[f].commonResourceList=y.data.blocks[r].dslData[f].commonResourceList.forEach(c=>{(c.summary||c.extraMap||c.title)&&(c.summary&&(c.summary=""),c.extraMap&&(c.extraMap={}),c.trp_id&&(c.trp_id=""),c.log&&(c.log={}),c.icon&&(c.icon=""),c.actionUrl&&(c.actionUrl=""),c.s_ctrp&&(c.s_ctrp=""),c.resourceType&&(c.resourceType=""))}))});break}}if(y.data?.blockCodeOrderList)try{y.data.blockCodeOrderList=JSON.stringify(JSON.parse(y.data.blockCodeOrderList).filter(r=>$.includes(r)))}catch{}break;case"/link/page/rcmd/block/resource/multi/refresh":if(y.data&&(Ee(),y.data=y.data.filter(r=>$.includes(r.blockCode)),y.data?.length>0)){for(let r=0;r{y.data[r].block.dslData[f].commonResourceList&&(y.data[r].block.dslData[f].commonResourceList=y.data[r].block.dslData[f].commonResourceList.forEach(c=>{(c.summary||c.extraMap||c.title)&&(c.summary&&(c.summary=""),c.extraMap&&(c.extraMap={}),c.trp_id&&(c.trp_id=""),c.log&&(c.log={}),c.icon&&(c.icon=""),c.actionUrl&&(c.actionUrl=""),c.s_ctrp&&(c.s_ctrp=""),c.resourceType&&(c.resourceType=""))}))});break}}break;default:console.log("\u672A\u5339\u914D\u5230: "+W),$done({})}let l=Te(y);ge=Be?{bodyBytes:l.buffer.slice(l.byteOffset,l.byteLength+l.byteOffset)}:{body:l}}catch(l){console.log(W),console.log(l.message)}finally{$done(ge)}function Me(){return typeof $argument<"u"&&$argument!==""}})(); diff --git a/script/wy/wy.plugin b/script/wy/wy.plugin index 85af62e..970e70b 100644 --- a/script/wy/wy.plugin +++ b/script/wy/wy.plugin @@ -6,24 +6,23 @@ #!homepage = https://github.com/Keywos/rule/blob/main/script/wy #!icon = https://raw.githubusercontent.com/Keywos/rule/main/tv/app/144px/Netease.png #https://raw.githubusercontent.com/LimeAroma/Loon/main/Plugin/NeteaseCloudMusic_remove_ads.plugin -#!date = 2024-03-13 17:59:58 +#!date = 2024-12-01 20:23:33 [Argument] -MY = switch,true,tag=[底部标签]漫游标签,desc= -DT = switch,true,tag=[底部标签]笔记标签,desc= -TJ = switch,true,tag=[底部标签]推荐标签,desc= -FX = switch,true,tag=[底部标签]发现标签,desc= +MY = switch,true,tag=[隐藏底部]漫游标签,desc= +DT = switch,true,tag=[隐藏底部]笔记标签,desc= +FX = switch,true,tag=[隐藏底部]发现标签,desc= -PRGG = switch,true,tag=[首页]首页问候语,desc= -PRRK = switch,true,tag=[首页]首页排行榜,desc= -PRDRD = switch,true,tag=[首页]首页每日推荐,desc= -PRSCVPT = switch,true,tag=[首页]首页推荐歌单,desc= -PRST = switch,true,tag=[首页]首页最近常听,desc= -PRRR = switch,true,tag=[首页]首页雷达歌单,desc= -HMPR = switch,true,tag=[首页]首页音乐合伙人,desc= -PRMST = switch,true,tag=[首页]首页推荐专属歌单,desc= -PRCN = switch,true,tag=[首页]首页你的专属歌单,desc= +PRGG = switch,true,tag=[隐藏首页]问候语,desc= +PRRK = switch,true,tag=[隐藏首页]排行榜,desc= +PRDRD = switch,true,tag=[隐藏首页]每日推荐,desc= +PRSCVPT = switch,true,tag=[隐藏首页]推荐歌单,desc= +PRST = switch,true,tag=[隐藏首页]最近常听,desc= +PRRR = switch,true,tag=[隐藏首页]雷达歌单,desc= +HMPR = switch,true,tag=[隐藏首页]音乐合伙人,desc= +PRMST = switch,true,tag=[隐藏首页]推荐专属歌单,desc= +PRCN = switch,true,tag=[隐藏首页]你的专属歌单,desc= [MITM] hostname = interface.music.163.com, interface3.music.163.com, ipv4.music.163.com, interface9.music.163.com @@ -54,7 +53,7 @@ http-response ^https?:\/\/(ipv4|interface\d?)\.music\.163\.com\/e?api\/(batch|v\ #http-response ^https?:\/\/(ipv4|interface\d?)\.music\.163\.com\/e?api\/(music-vip-membership\/client\/vip\/info|vipnewcenter\/app\/resource\/newaccountpage) script-path=https://raw.githubusercontent.com/Keywos/rule/main/script/wy/js/wyres.js, requires-body=true, binary-body-mode=true, timeout=20, tag=ne_vip # tab -http-response ^https?:\/\/(ipv4|interface\d?)\.music\.163\.com\/e?api\/link\/home\/framework\/tab script-path=https://raw.githubusercontent.com/Keywos/rule/main/script/wy/js/wyres.js, requires-body=true, binary-body-mode=true, timeout=20, tag=ne_tab, argument=[{MY},{DT},{TJ},{FX}] +http-response ^https?:\/\/(ipv4|interface\d?)\.music\.163\.com\/e?api\/link\/home\/framework\/tab script-path=https://raw.githubusercontent.com/Keywos/rule/main/script/wy/js/wyres.js, requires-body=true, binary-body-mode=true, timeout=20, tag=ne_tab, argument=[{MY},{DT},{FX}] # 推荐 | home | 主页 http-response ^https?:\/\/(ipv4|interface\d?)\.music\.163\.com\/e?api\/(homepage\/block\/page|link\/page\/rcmd\/(resource\/show|block\/resource\/multi\/refresh)) script-path=https://raw.githubusercontent.com/Keywos/rule/main/script/wy/js/wyres.js, requires-body=true, binary-body-mode=true, timeout=20, tag=ne_home, argument=[{PRGG},{PRRK},{PRDRD},{PRSCVPT},{PRST},{PRRR},{HMPR},{PRMST},{PRCN}]