xiaomianao666

小程序:听首音乐吧

Sep 12th, 2024
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@听首音乐吧@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi5ZCs6aaW6Z+z5LmQ5ZCnIiwiYXV0aG9yIjoi57yY5YiGIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjaHR0cHM6Ly9hcGkudHlodWEudG9wL3RvcC9meUFsbCZsaW1pdD0zMCZvZmZzZXQ9ZnlwYWdlQC0xQCozMEAmIiwidmVyc2lvbiI6NSwiY29sX3R5cGUiOiJjYXJkX3BpY18zIiwiY2xhc3NfbmFtZSI6IuatjOWNlSbmrYzmiYsm5o6S6KGM5qacIiwidHlwZSI6Im11c2ljIiwiY2xhc3NfdXJsIjoicGxheWxpc3Q/Y2F0PeWFqOmDqOatjOWNlSZwbGF5bGlzdD9jYXQ9Z3MmcGxheWxpc3Q/Y2F0PXBoYiIsImFyZWFfbmFtZSI6IuacgOaWsCbljY7or60m5qyn576OJumfqeWbvSbml6XmnKwiLCJhcmVhX3VybCI6InNvbmc/dHlwZT0wJnNvbmc/dHlwZT03JnNvbmc/dHlwZT05NiZzb25nP3R5cGU9MTYmc29uZz90eXBlPTgiLCJzb3J0X25hbWUiOiIiLCJ5ZWFyX25hbWUiOiIiLCJzb3J0X3VybCI6IiIsInllYXJfdXJsIjoiIiwiZmluZF9ydWxlIjoianM6XG52YXIgZCA9IFtdO1xuTVlfVVJMID0gTVlfVVJMLnJlcGxhY2UoJ2hpa2VyOi8vZW1wdHkjIycsICcnKVxudmFyIHBhZ2UgPSBNWV9VUkwuc3BsaXQoJz0nKVszXVxudmFyIGxhenkgPSAkKCcnKS5sYXp5UnVsZSgoKSA9PiB7XG4gICAgdmFyIGlkID0gaW5wdXQubWF0Y2goL2lkPShcXGQrKS8pWzFdXG4gICAgdmFyIHVybCA9IEpTT04ucGFy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lzdCA9IGxpc3QuZmlsdGVyKGRhdGEgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGRhdGEuZmVlICE9IDFcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgIGxpc3QuZm9yRWFjaChkYXRhID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGQucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6IGRhdGEubmFtZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBkZXNjOiBkYXRhLmFyWzBdLm5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaW1nOiBkYXRhLmFsLnBpY1VybCArICc/cGFyYW09MTgweTI4MCcrICdAUmVmZXJlcj0nLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVybDogJ2h0dHBzOi8vYXBpLnR5aHVhLnRvcC9zb25nL3VybC92MT9pZD0nICsgZGF0YS5pZCArICcmbGV2ZWw9ZXhoaWdoJyArIGxhenksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICcnLFxuICAgICAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICB9IGNhdGNoIChlKSB7fVxuICAgICAgICAgICAgfSBlbHNlXG4gICAgICAgICAgICBpZiAobmFtZSA9PSAn6KeG6aKRJykge1xuICAgICAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgICAgIHZhciBsaXN0ID0gSlNPTi5wYXJzZShodG1sKS5yZXN1bHQubXZzXG4gICAgICAgICAgICAgICAgICAgIGxpc3QuZm9yRWFjaChkYXRhID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGQucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6IGRhdGEubmFtZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBkZXNjOiBkYXRhLmFydGlzdE5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaW1nOiBkYXRhLmNvdmVyICsgJ0BSZWZlcmVyPScsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiAnaHR0cHM6Ly9hcGkudHlodWEudG9wL212L3VybD9pZD0nICsgZGF0YS5pZCArICQoJycpLmxhenlSdWxlKCgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHVybCA9IEpTT04ucGFyc2UocmVxdWVzdChpbnB1dCwge30pKS5kYXRhLnVybFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdXJsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICcnLFxuICAgICAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICB9IGNhdGNoIChlKSB7fVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgc2V0UmVzdWx0KGQpO1xuICAgICAgICB9LCBzb3VyY2UubmFtZSwgc291cmNlLnVybCwgbGF6eSlcbiAgICB9O1xufSlcbnNldFJlc3VsdChbe1xuICAgIHRpdGxlOiBcIueCueaIkeW8gOWni+iBmuaQnFwiLFxuICAgIHVybDogXCJoaWtlcjovL3NlYXJjaD9zPVwiICsgZ2V0UGFyYW0oXCJrZXlcIiksXG4gICAgZXh0cmE6IHtcbiAgICAgICAgcnVsZXM6ICQudG9TdHJpbmcoKHJ1bGVzKSA9PiB7XG4gICAgICAgICAgICByZXR1cm4gcnVsZXNcbiAgICAgICAgfSwgcnVsZXMpXG4gICAgfVxufV0pIiwiZGV0YWlsX2NvbF90eXBlIjoiYXZhdGFyIiwiZGV0YWlsX2ZpbmRfcnVsZSI6ImpzOlxudmFyIGQgPSBbXTtcbmFkZExpc3RlbmVyKCdvbkNsb3NlJywgJC50b1N0cmluZygoK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I+JztcbiAgICAgICAgICAgIGQucHVzaCh7XG4gICAgICAgICAgICAgICAgdGl0bGU6IGl0ZW0gPT0gZ2V0TXlWYXIoJ21vZGVzJywgJ+atjOabsicpID8geHkgOiBpdGVtLFxuICAgICAgICAgICAgICAgIC8vaW1nOiBpdGVtWzFdLFxuICAgICAgICAgICAgICAgIHVybDogJCgnI25vTG9hZGluZyMnKS5sYXp5UnVsZSgodGEpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgcHV0TXlWYXIoXCJtb2Rlc1wiLCB0YSlcbiAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoKVxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gXCJoaWtlcjovL2VtcHR5XCJcbiAgICAgICAgICAgICAgICB9LCBpdGVtKSxcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ3RleHRfMicsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfSlcbiAgICB9XG59XG5pZiAoL3NvbmdzLy50ZXN0KE1ZX1VSTCkpIHtcbiAgICBmbCgpXG4gICAgdmFyIG1vZGVzID0gZ2V0TXlWYXIoXCJtb2Rlc1wiLCBcIuatjOabslwiKTtcbiAgICBpZiAobW9kZXMgPT0gXCLmrYzmm7JcIikge1xuICAgICAgICB2YXIgbGlzdCA9IEpTT04ucGFyc2UoaHRtbCkuc29uZ3NcbiAgICAgICAgdmFyIGxpc3QgPSBsaXN0LmZpbHRlcihkYXRhID0+IHtcbiAgICAgICAgICAgIHJldHVybiBkYXRhLmZlZSAhPSAxXG4gICAgICAgIH0pO1xuXG4gICAgICAgIHRyeSB7XG4gICAgICAgICAgICBsaXN0LmZvckVhY2goZGF0YSA9PiB7XG4gICAgICAgICAgICAgICAgZC5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IGRhdGEubmFtZSxcbiAgICAgICAgICAgICAgICAgICAgZGVzYzogZGF0YS5hclswXS5uYW1lLFxuICAgICAgICAgICAgICAgICAgICBpbWc6IE1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lucHV0LCB7fSkpLmRhdGEudXJsXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxcbiAgICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ21vdmllXzInLFxuICAgICAgICAgICAgfSlcbiAgICAgICAgfSlcbiAgICB9XG59IGVsc2Uge1xuICAgIGZsKClcbnZhciBtb2RlcyA9IGdldE15VmFyKFwibW9kZXNcIiwgXCLmrYzmm7JcIik7XG5pZiAobW9kZXMgPT0gXCLmrYzmm7JcIikge1xuICAgIHZhciBsaXN0ID0gSlNPTi5wYXJzZShodG1sKS5zb25nc1xuICAgIHZhciBsaXN0ID0gbGlzdC5maWx0ZXIoZGF0YSA9PiB7XG4gICAgICAgIHJldHVybiBkYXRhLmZlZSAhPSAxXG4gICAgfSk7XG59IGVsc2VcbmlmIChtb2RlcyA9PSBcIuinhumikVwiKSB7XG4gICAgdmFyIGxpc3QgPSBKU09OLnBhcnNlKGh0bWwpLnNvbmdzXG4gICAgdmFyIGxpc3QgPSBsaXN0LmZpbHRlcihkYXRhID0+IHtcbiAgICAgICAgcmV0dXJuIGRhdGEubXYgIT0gMFxuICAgIH0pO1xufVxudHJ5IHtcbiAgICBsaXN0LmZvckVhY2goZGF0YSA9PiB7XG4gICAgICAgIGQucHVzaCh7XG4gICAgICAgICAgICB0aXRsZTogZGF0YS5uYW1lLFxuICAgICAgICAgICAgZGVzYzogZGF0YS5hclswXS5uYW1lLFxuICAgICAgICAgICAgaW1nOiBtb2RlcyA9PSBcIuatjOabslwiID9kYXRhLmFsLnBpY1VybCArICc/cGFyYW09MjgweTI4MCcrICdAUmVmZXJlcj0nIDogZGF0YS5hbC5waWNVcmwgKyAnP3BhcmFtPTQ2MHkyODAnLFxuICAgICAgICAgICAgdXJsOiBtb2RlcyA9PSBcIuatjOabslwiID8gJ2h0dHBzOi8vYXBpLnR5aHVhLnRvcC9zb25nL3VybC92MT9pZD0nICsgZGF0YS5pZCArICcmbGV2ZWw9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lcnNpb24pO1xuICAgIGlmIChpc1VwZGF0ZSkge1xuICAgICAgICBsb2coJ+acieaWsOeJiOacrDonICsgbmV3VmVyc2lvbiArICcs5b2T5YmNOicgKyBteVZlcnNpb24pO1xuICAgICAgICBjb25maXJtKHtcbiAgICAgICAgICAgIHRpdGxlOiAn5pu05paw5o+Q56S6JyxcbiAgICAgICAgICAgIGNvbnRlbnQ6ICfmo4DmtYvliLDkvaDnmoTop4TliJnniYjmnKzlsI/kuo7mnI3liqHlmajniYjmnKzvvIzmmK/lkKbnq4vljbPmm7TmlrDvvJ8nLFxuICAgICAgICAgICAgY29uZmlybTogJC50b1N0cmluZygodXBsaW5rKSA9PiB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGDmtbfpmJTop4bnlYzpppbpobXpopHpgZPop4TliJnvv6Vob21lX3J1bGVfdXJs77+lJHt1cGxpbmt9YFxuICAgICAgICAgICAgfSwgdXBsaW5rKSxcbiAgICAgICAgICAgIGNhbmNlbDogJC50b1N0cmluZygoKSA9PiB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHB1dE15VmFyKCdxeCcsICcwJylcbiAgICAgICAgICAgIH0pXG4gICAgICAgIH0pXG4gICAgfVxufSIsInBhZ2VzIjoiW10iLCJpY29uIjoiaHR0cHM6Ly9tdXNpYy5zdGFyOC5jbi9pbWFnZXMvaWNvbnMvZmF2aWNvbi0zMngzMi5wbmciLCJwcm94eSI6IiJ9
Add Comment
Please, Sign In to add comment