xiaomianao666

小程序:爱好歌

Sep 3rd, 2024
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@爱好歌@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi54ix5aW95q2MIiwiYXV0aG9yIjoi57yY5YiGIiwidXJsIjoiaHR0cHM6Ly93d3cuaWhhb2dlLm5ldC9meUFsbC9wYWdlL2Z5cGFnZSIsInZlcnNpb24iOjksImNvbF90eXBlIjoibW92aWVfMyIsImNsYXNzX25hbWUiOiLmnIDmlrBtdibmnIDmlrDpn7PkuZAm5q2M5omL5aSn5YWoJuacgOaWsOW9seinhiIsInR5cGUiOiJtdXNpYyIsImNsYXNzX3VybCI6Im12JnNvbmcmc2luZ2VyJmRpYW55aW5nIiwiYXJlYV9uYW1lIjoiIiwiYXJlYV91cmwiOiIiLCJzb3J0X25hbWUiOiIiLCJ5ZWFyX25hbWUiOiIiLCJzb3J0X3VybCI6IiIsInllYXJfdXJsIjoiIiwiZmluZF9ydWxlIjoianM6XG52YXIgZCA9IFtdO1xudmFyIGh0bWwgPSBnZXRSZXNDb2RlKCk7XG5ldmFsKEpTT04ucGFyc2UoZmV0Y2goJ2hpa2VyOi8vcGFnZS9sYXp5MScsIHt9KSkucnVsZSk7XG52YXIgbGlzdCA9IHBkZmEoaHRtbCwgJy5uYWcmJi5pdGVtJyk7XG5mb3IgKHZhciBqIGluIGxpc3QpIHvCoFxuICAgIGQucHVzaCh7wqDCoMKgXG4gICAgICAgIHRpdGxlOiBwZGZoKGxpc3Rbal0sICcuZW50cnktdGl0bGUmJlRleHQnKSxcbiAgICAgICAgwqDCoCAvL8KgZGVzYzpwZGZoKGxpc3Rbal0sICdhJiZUZXh0JyksXG4gICAgICAgIMKgwqDCoHBpY191cmw6IHBkKGxpc3Rbal0sICdpbWcmJmRhdGEtb3JpZ2luYWwnKSArJ0BSZWZlcmVyPScsXG4gICAgICAgI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c3Q7XG4gICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgIGxpc3QuZm9yRWFjaChkYXRhID0+IHtcbiAgICAgICAgICAgICAgICAgICAgZC5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiBkYXRhLk5BTUUsXG4gICAgICAgICAgICAgICAgICAgICAgICBkZXNjOiBkYXRhLkFSVElTVCxcbiAgICAgICAgICAgICAgICAgICAgICAgIGltZzogJ2h0dHBzOi8vc3Rhci5rdXdvLmNuL3N0YXIvc3RhcmhlYWRzLycgKyBkYXRhLndlYl9hcnRpc3RwaWNfc2hvcnQgKyAnQFJlZmVyZXI9JyxcbiAgICAgICAgICAgICAgICAgICAgICAgIHVybDogbmFtZSA9PT0gJ+mfs+S5kCcgPyAnaHR0cDovL2FudGlzZXJ2ZXIua3V3by5jbi9hbnRpLnM/dHlwZT1jb252ZXJ0X3VybCZyaWQ9JyArIGRhdGEuTVVTSUNSSUQgKyAnJmZvcm1hdD1tcDMmcmVzcG9uc2U9dXJsJyArIGBAbGF6eVJ1bGU9LmpzOnJlcXVlc3QoaW5wdXQpYCA6IGRhdGEuTVVTSUNSSUQgKyAkKFwiXCIpLmxhenlSdWxlKChpZCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBodG1sID0gJ2h0dHA6Ly9hbnRpc2VydmVyLmt1d28uY24vYW50aS5zP3JpZD0nICsgaW5wdXQgKyAnJnJlc3BvbnNlPXJlcyZmb3JtYXQ9bXA0fG1rdiZ0eXBlPWNvbnZlcnRfdXJsJztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgdXJsID0gSlNPTi5wYXJzZShyZXF1ZXN0KGh0bWwsIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25seUhlYWRlcnM6IHRydWVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KSkudXJsO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICgvbWt2fG1wNC8udGVzdCh1cmwpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGh0bWwgPSAnaHR0cDovL20ua3V3by5jbi9uZXdoNS9tdi9wbGF5P21pZD0nICsgaWQ7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZXZhbChyZXF1ZXN0KGh0bWwpLm1hdGNoKC9fXz0uKj87LylbMF0pXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIF9fLmRhdGFbMF0uVmlkZW9JbmZvLnVybFxuICAgICAgICAgICAgICAgICAgICAgICAgfSwgZGF0YS5EQ19UQVJHRVRJRCksXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogJycsXG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHt9XG4gICAgICAgICAgICBzZXRSZXN1bHQoZCk7XG4gICAgICAgIH0sIHNvdXJjZS5uYW1lLCBzb3VyY2UudXJsKVxuICAgIH07XG59KVxuc2V0UmVzdWx0KFt7XG4gICAgdGl0bGU6IFwi54K55oiR5byA5aeL6IGa5pCcXCIsXG4gICAgdXJsOiBcImhpa2VyOi8vc2VhcmNoP3M9XCIgKyBnZXRQYXJhbShcImtleVwiKSxcbiAgICBleHRyYToge1xuICAgICAgICBydWxlczogJC50b1N0cmluZygocnVsZXMpID0+IHtcbiAgICAgICAgICAgIHJldHVybiBydWxlc1xuICAgICAgICB9LCBydWxlcylcbiAgICB9XG59XSkiLCJkZXRhaWxfY29sX3R5cGUiOiJtb3ZpZV8xX3ZlcnRpY2FsX3BpY19ibHVyIiwiZGV0YWlsX2ZpbmRfcnVsZSI6ImpzOlxudmFyIGQgPSBbXTtcbiAgdmFyIGh0bWwgPSBnZXRSZXNDb2RlKCk7ICBc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lci5ub2tpYS5wcmVzcy9oaWtlcnVsZS9ydWxlbGlzdC5qc29uP2lkPTY1NzMnXG4gICAgbGV0IG5ld1ZlcnNpb247XG4gICAgbGV0IG15VmVyc2lvbiA9IE1ZX1JVTEUudmVyc2lvbiA9PSAwID8gOSA6IE1ZX1JVTEUudmVyc2lvbjtcbiAgICB0cnkge1xuICAgICAgICBuZXdWZXJzaW9uID0gSlNPTi5wYXJzZShmZXRjaENhY2hlKHVwbGluaywgMTIsIHtcbiAgICAgICAgICAgIHRpbWVvdXQ6IDEwMDBcbiAgICAgICAgfSkpLnZlcnNpb247XG4gIC8vIGxvZyhteVZlcnNpb24pXG4gICAgfSBjYXRjaCAoZSkge1xuICAgICAgICBuZXdWZXJzaW9uID0gbXlWZXJzaW9uO1xuICAgIH1cbiAgICBsZXQgaXNVcGRhdGUgPSBOdW1iZXIobmV3VmVyc2lvbikgPiBOdW1iZXIobXlWZXJzaW9uKTtcblxuICAgIGlmIChpc1VwZGF0ZSkge1xuICAgICAgICBsb2coJ+acieaWsOeJiOacrDonICsgbmV3VmVyc2lvbiArICcs5b2T5YmNOicgKyBteVZlcnNpb24pO1xuICAgICAgICBjb25maXJtKHtcbiAgICAgICAgICAgIHRpdGxlOiAn5pu05paw5o+Q56S6JyxcbiAgICAgICAgICAgIGNvbnRlbnQ6ICfmnInmlrDniYjmnKw6JyArIG5ld1ZlcnNpb24gKyAnLOW9k+WJjTonICsgbXlWZXJzaW9uKyfvvIzmmK/lkKbnq4vljbPmm7TmlrDvvJ8nLFxuICAgICAgICAgICAgY29uZmlybTogJC50b1N0cmluZygodXBsaW5rKSA9PiB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGDmtbfpmJTop4bnlYzpppbpobXpopHpgZPop4TliJnvv6Vob21lX3J1bGVfdXJs77+lJHt1cGxpbmt9YFxuICAgICAgICAgICAgfSwgdXBsaW5rKSxcbiAgICAgICAgICAgIGNhbmNlbDogJC50b1N0cmluZygoKSA9PiB7XG4gICAgICAgIC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FzZSBjaG9vc2UgYSBkaWZmZXJlbnQgcGFzc3dvcmQuIFxcXFxuUG9zc2libGUgY29uc2lkZXJhdGlvbnMgYXJlIHRvIGNob29zZSBhIG1vcmUgY29tcGxleCBvciBsb25nZXIgcGFzc3dvcmQuXFxcIiksXFxuICAgICAgICAgICAgICAgIG51bGw7XFxuICAgICAgICB2YXIgZCA9IE1hdGgucm91bmQoMWU5ICogTWF0aC5yYW5kb20oKSkgJSAxZTg7XFxuICAgICAgICBmb3IgKG4gKz0gZDsgbi5sZW5ndGggPiAxMDspXFxuICAgICAgICAgICAgbiA9IChwYXJzZUludChuLnN1YnN0cmluZygwLCAxMCkpICsgcGFyc2VJbnQobi5zdWJzdHJpbmcoMTAsIG4ubGVuZ3RoKSkpLnRvU3RyaW5nKCk7XFxuICAgICAgICBuID0gKG8gKiBuICsgbCkgJSBjO1xcbiAgICAgICAgdmFyIGggPSBcXFwiXFxcIixcXG4gICAgICAgICAgICBmID0gXFxcIlxcXCI7XFxuICAgICAgICBmb3IgKGkgPSAwOyBpIDwgdC5sZW5ndGg7IGkrKylcXG4gICAgICAgICAgICBmICs9IChoID0gcGFyc2VJbnQodC5jaGFyQ29kZUF0KGkpIF4gTWF0aC5mbG9vcihuIC8gYyAqIDI1NSkpKSA8IDE2ID8gXFxcIjBcXFwiICsgaC50b1N0cmluZygxNikgOiBoLnRvU3RyaW5nKDE2KSxcXG4gICAgICAgICAgICBuID0gKG8gKiBuICsgbCkgJSBjO1xcbiAgICAgICAgZm9yIChkID0gZC50b1N0cmluZygxNik7IGQubGVuZ3RoIDwgODspXFxuICAgICAgICAgICAgZCA9IFxcXCIwXFxcIiArIGQ7XFxuICAgICAgICByZXR1cm4gZiArPSBkXFxuICAgIH1cXG4gICAgdmFyIG1pZCA9IHJlcXVlc3QoaW5wdXQsIHt9KS5tYXRjaCgvZ2V0UGxheVVybFxcXFwoKFxcXFxkKykuKi8pWzFdXFxuXFxuICAgIHZhciBjb29raWUgPSByZXF1ZXN0KC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VybCwge1xcbiAgICAgICAgaGVhZGVyczoge1xcbiAgICAgICAgICAgICdSZWZlcmVyJzogTVlfVVJMXFxuICAgICAgICB9XFxuICAgIH0pXFxuXFxuICAvLyAgbG9nKGxyYylcXG4gICAgdHJ5IHtcXG4gICAgICAgIHZhciB1cmwgPSBKU09OLnBhcnNlKEpTT04ucGFyc2UoaHRtbCkuZGF0YS5kYXRhKS5kYXRhLnVybFxcbiAgICAgICAgcmV0dXJuIEpTT04uc3RyaW5naWZ5KHtcXG4gICAgICAgICAgICB1cmxzOiBbdXJsXSxcXG4gICAgICAgICAgICBseXJpYzogbHJjXFxuICAgICAgICB9KVxcbiAgICB9IGNhdGNoIChlKSB7XFxuICAgICAgICBsb2coJ+WXheaOoicpXFxuICAgICAgICBsZXQgdXJsID0gZXhlY3V0ZVdlYlJ1bGUoaW5wdXQsICQudG9TdHJpbmcoKCkgPT4ge1xcbiAgICAgICAgICAgIC8vZmJhLmxvZyhmYmEuZ2V0VXJscygpKVxcbiAgICAgICAgICAgIHZhciB1cmxzID0gX2dldFVybHMoKVxcbiAgICAgICAgICAgIHZhciBleGNsdWRlID0gL3BsYXltM3U4fG0zdThcXFxcLnR2fG1pblxcXFwuY3NzfDQwNFxcXFwubTN1OHxcXFxcLmNzcy87XFxuICAgICAgICAgICAgdmFyIGNvbnRhaW4gPSAva3V3by4qP1xcXFwubXAzfFxcXFwubXAzfFxcXFwubTRhLztcXG4gICAgICAgICAgICBmb3IgKHZhciBpIGluIHVybHMpIHtcXG4gICAgICAgICAgICAgICAgaWYgKCFleGNsdWRlLnRlc3QodXJsc1tpXSkgJiYgY29udGFpbi50ZXN0KHVybHNbaV0pKSB7XFxuICAgICAgICAgICAgICAgICAgICBmeV9icmlkZ2VfYXBwLmxvZyh1cmxzW2ldKVxcbiAgICAgICAgICAgICAgICAgICAvLyByZXR1cm4gZmJhLmdldEhlYWRlclVybCh1cmxzW2ldKVxcbiAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbaV1cXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH0pKTtcXG4gICAgICAgIHJldHVybiBKU09OLnN0cmluZ2lmeSh7XFxuICAgICAgICAgICAgdXJsczogW3VybF0sXFxuICAgICAgICAgICAgbHlyaWM6IGxyY1xcbiAgICAgICAgfSlcXG4gICAgfVxcbn0sIE1ZX0hPTUUpXCJ9XSIsImljb24iOiJodHRwczovL3d3dy5paGFvZ2UubmV0L3dwLWNvbnRlbnQvdGhlbWVzL2JlZXR1YmUvaW1hZ2VzL2Zhdmljb24uaWNvIiwicHJveHkiOiIifQ==
Add Comment
Please, Sign In to add comment