1 line
39 KiB
JavaScript
1 line
39 KiB
JavaScript
|
|
const _0x4bcfcf=_0x5ee2;!function(){for(var t=_0x5ee2,n=_0x4f6d();;)try{if(397703==+parseInt(t(1275))*(-parseInt(t(703))/2)+-parseInt(t(450))/3*(parseInt(t(1214))/4)+parseInt(t(1103))/5*(-parseInt(t(1038))/6)+-parseInt(t(790))/7+parseInt(t(644))/8+-parseInt(t(1124))/9*(-parseInt(t(1217))/10)+parseInt(t(897))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}();let spotifyUserPlaylists=[];const getPlaylists=()=>{var t=_0x5ee2;return[...spotifyUserPlaylists,...Config[t(745)+t(400)+t(1250)]]},updatePhoneVolume=t=>{var n=_0x5ee2,e={DYGZL:n(1266),kUobe:n(493),IJgKl:n(996)+n(917)+n(1e3)+n(839)+n(1227),sQnGG:function(t,n){return t(n)},uRsVe:n(1133)+n(878),NhgYF:n(758)},r=e[n(402)][n(1003)]("|");let i=0;for(;;){switch(r[i++]){case"0":localStorage[n(995)](e[n(1116)],+t);continue;case"1":$[n(509)](e[n(1119)],JSON[n(564)]({volume:t}));continue;case"2":e[n(1128)]($,e[n(1085)])[n(543)](+t);continue;case"3":window[n(911)+n(385)](new Event(e[n(456)]));continue;case"4":youtubePlayer?.[n(1261)](t);continue}break}},fetchSpotifyPlaylistInfoIfNotExists=async()=>{var e=_0x5ee2,r={hFiSi:function(t,n){return t<n},AfqQY:function(t,n){return t<n},VDckV:e(558)+e(388)+e(952),pMNfl:e(1073),wkAGX:function(t,n){return t(n)}};for(let n=0;r[e(650)](n,spotifyUserPlaylists[e(490)]);n++){var i=spotifyUserPlaylists[n];if(i[e(1147)])for(let t=0;r[e(1225)](t,i[e(1147)][e(490)]);t++){var o,s=i[e(1147)][t];s[e(1246)]||((o=await $[e(695)](r[e(1223)],{format:r[e(685)],url:s[e(560)]}))&&!o[e(1189)]?(s[e(1246)]=r[e(1179)](deleteQuotes,o[e(1246)]),s[e(455)+e(560)]=o[e(455)+e(560)],s[e(1270)+"e"]=o[e(1270)+"e"]):spotifyUserPlaylists[n][t]=null)}}},getSpotifyPlaylists=async t=>{const r=_0x5ee2,i={uSOzO:function(t,n){return t(n)},oWugv:r(949)+r(999)+"ts",jMPrK:function(t,n){return t(n)},vVIhx:r(1230)+r(646)+r(884),BcGtX:r(1112)+r(1008)+r(1248)+r(890)+r(606)+r(1075)+"g"};i[r(916)]($,i[r(1031)])[r(1202)](),[...spotifyUserPlaylists=t||[{name:i[r(916)](Lang,i[r(513)]),thumbnail:i[r(1151)],playlists:[],isLiked:!0}],...Config[r(745)+r(400)+r(1250)]][r(531)]((t,n)=>{var e=r;t[e(876)]||i[e(518)]($,i[e(1031)])[e(587)](e(736)+e(1183)+e(821)+e(960)+e(712)+e(1024)+e(933)+e(1269)+"('"+n+(e(907)+e(477)+e(1057))+t[e(840)]+(e(575)+e(857)+e(929)+e(795)+e(922))+">"+t[e(579)]+(e(975)+e(1011)))})},spotifyStateChange=t=>{var n=_0x5ee2,e={SKjXH:function(t,n){return t==n},dJKnN:function(t){return t()}};e[n(1197)](t[n(1256)],YT[n(860)+"e"][n(788)])&&e[n(1236)](spotifyShuffle)};let spotifyCurrentlyPlaying,spotifyCurrentlyTrackId,spotifyCurrentlyPlaylistId;const getTracksFromPlaylistId=i=>{const o=_0x5ee2,s={sTTRC:function(t,n){return n<t},nADci:function(t,n){return t+n},CnCyW:o(1100),xpuxh:function(t,n){return t(n)},kmHFm:o(1184)+o(576),aZfWN:function(t,n){return t===n},AhUIt:function(t,n){return t==n},pjRnr:o(566),YBeut:function(t,n){return t===n},WbrvG:function(t,n){return t==n},SGqZI:function(t,n){return t(n)},IDSoH:function(t,n){return t(n)},qsOGY:o(1230)+o(942)+o(613)+o(670),eYvkI:function(t,n,e){return t(n,e)},Gjbhd:o(818)+o(1283),qvfaM:function(t,n,e){return t(n,e)},PlFgu:o(949)+o(999)+o(964),xXNLL:o(949)+o(515)+o(533),CFfHs:function(t){return t()},GAtrI:function(t,n){return t(n)},MpLGH:o(949)+o(948)+o(414),jpaVV:o(692),KxjOj:o(949)+o(948)+o(837),bBQWh:function(t,n){return t(n)},LbloY:o(483)+o(410)+o(976),yVKvs:o(1274),KSKin:function(t,n){return t(n)}};let e=s[o(474)](getPlaylists);s[o(643)]($,s[o(1170)])[o(466)](s[o(877)],e[i]?.[o(840)]),s[o(643)]($,s[o(632)])[o(1241)](e[i]?.[o(579)]),s[o(955)]($,s[o(1041)])[o(1202)](),(e=e[o(1045)](t=>{const n=o;return t[n(1147)]&&(t[n(1147)]=new Set(t[n(1147)][n(1045)](t=>JSON[n(564)](t)))[n(658)](),t[n(1147)]=Array[n(1093)](t[n(1147)])[n(1045)](t=>JSON[n(842)](t))),t}))[i][o(1147)][o(531)]((t,n)=>{var e=o,r=s[e(815)](t?.[e(1246)]?.[e(490)],30)?s[e(888)](t?.[e(1246)]?.[e(910)]?.(0,30),s[e(997)]):t?.[e(1246)];s[e(1152)]($,s[e(1041)])[e(587)](e(736)+e(1183)+e(789)+e(848)+e(415)+n+(e(838)+e(754)+e(812))+t[e(560)]+e(449)+i+(e(907)+e(1194)+e(1291)+e(1101)+e(766)+e(936)+e(706)+e(845)+e(750)+e(1089)+e(1194)+e(1035)+'="')+t[e(455)+e(560)]+(e(972)+e(11
|