Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@虎牙直播@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi6JmO54mZ55u05pKtIiwiYXV0aG9yIjoi6aaZ6ZuF5oOFIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjZnlwYWdlIyMiLCJ2ZXJzaW9uIjoxLCJjb2xfdHlwZSI6Im1vdmllXzIiLCJjbGFzc19uYW1lIjoiIiwidHlwZSI6ImxpdmUiLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczpcbnZhciBpdGVtcyA9IFtdO1xuXG5pZiAoTVlfUEFHRSA9PSAxKSB7XG4gICAgaXRlbXMucHVzaCh7XG4gICAgICAgIHRpdGxlOiAoZ2V0TXlWYXIoJ2h1eWF6YicsICcwJykgPT0gJzEnID8gJ+aOqOmAgfCfn6InIDogJ+aOqOmAgfCflLQnKSxcbiAgICAgICAgdXJsOiBgaGlrZXI6Ly9lbXB0eUBsYXp5UnVsZT0uanM6Z2V0TXlWYXIoJ2h1eWF6YicsJzAnKT09JzEnP3B1dE15VmFyKCdodXlhemInLCcwJyk6cHV0TXlWYXIoJ2h1eWF6YicsJzEnKTtyZWZyZXNoUGFnZSgpOyd0b2FzdDovL+WIh+aNouaIkOWKn++8gSdgLFxuXG4gICAgICAgIGNvbF90eXBlOiAnc2Nyb2xsX2J1dHRvbidcbiAgICB9KTtcbiAgICBpZiAoZ2V0TXlWYXIoJ2NhdGh0bWwnLCAnJykgPT0gJycpIHtcbiAgICAgICAgdmFyIGNhdGh0bWwgPSBmZXRjaCgnaHR0cHM6Ly93d3cuaHV5YS5jb20vZy8nLCB7XG4gICAgICAgICAgICBoZWFkZ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Vlc3QoJ2h0dHBzOi8vZXBnLjExMjExNC54eXovaHV5YS8nICsgaW5wdXQsIHtcbiAgICAgICAgICAgICAgICByZWRpcmVjdDogZmFsc2UsXG4gICAgICAgICAgICAgICAgd2l0aEhlYWRlcnM6IHRydWVcbiAgICAgICAgICAgIH0pKTtcbiAgICAgICAgICAgIHJldHVybiB1bC5oZWFkZXJzLmxvY2F0aW9uWzBdO1xuICAgICAgICAgICAgKi9cblxuICAgICAgICAgICAgLy9sZXQgcmlkID0gaW5wdXQuc3BsaXQoJy8nKS5wb3AoKTtcbiAgICAgICAgICAgIGxldCBodG1sID0gZmV0Y2goJ2h0dHBzOi8vbS5odXlhLmNvbS8nICsgaW5wdXQsIHtcbiAgICAgICAgICAgICAgICBoZWFkZXJzOiB7XG4gICAgICAgICAgICAgICAgICAgIFwiVXNlci1BZ2VudFwiOiBNT0JJTEVfVUFcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgbGV0IGxpdmVfanNvbiA9IGh0bWwubWF0Y2goL3dpbmRvdy5ITkZfR0xPQkFMX0lOSVQgPSAoLio/KTxcXC9zY3JpcHQ+LylbMV07XG4gICAgICAgICAgICBsZXQgbGl2ZSA9IEpTT04ucGFyc2UobGl2ZV9qc29uKTtcbiAgICAgICAgICAgIGxldCBwdXJsID0gSlNPTi5zdHJpbmdpZnkoe1xuICAgICAgICAgICAgICAgIG5hbWU6IHRpdGxlLFxuICAgICAgICAgICAgICAgIHVybHM6IFtnZXRSZWFsVXJsKGJhc2U2NERlY29kZShsaXZlLnJvb21Qcm9maWxlLmxpdmVMaW5lVXJsKSkucmVwbGFjZSgnLy8nLCAnaHR0cDovLycpXSxcbiAgICAgICAgICAgICAgICBwaWM6IGltZyxcbiAgICAgICAgICAgICAgICBndW9sdjogXCIjaWdub3JlSW1nPXRydWUjXCJcbiAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICAvL2xvZyhwdXJsKTtcbiAgICAgICAgICAgIGlmIChnZXRNeVZhcignaHV5YXpiJywgJzAnKSA9PSAnMScpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vcGFnZS9wdXNoP3J1bGU9WFlR5o6o6YCBJnB1c2h1cmw9JyArIGVuY29kZVVSSUNvbXBvbmVudChwdXJsLnJlcGxhY2UoL1xcJi9nLCAn77yG77yGJykpO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gcHVybFxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgLy/ku6XkuIvku6PnoIHmnaXoh6pUeXJhbnRH6JmO54mZ55u05pKtXG4gICAgICAgICAgICBmdW5jdGlvbiBnZXRSZWFsVXJsKGxpdmVfdXJsKSB7XG4gICAgICAgICAgICAgICAgbGV0IFtpLCBiXSA9IGxpdmVfdXJsLnNwbGl0KCc/Jyk7XG4gICAgICAgICAgICAgICAgbGV0IHIgPSBpLnNwbGl0KCcvJykucG9wKCk7XG4gICAgICAgICAgICAgICAgbGV0IHMgPSByLnJlcGxhY2UoL1xcLihmbHZ8bTN1OCkvLCAnJyk7XG4gICAgICAgICAgICAgICAgbGV0IGNfdG1wID0gYi5zcGxpdCgnJicpLmZpbHRlcihuID0+IG4pO1xuICAgICAgICAgICAgICAgIC8vIGxldCBjID0gW11cbiAgICAgICAgICAgICAgICBsZXQgbiA9IHt9O1xuICAgICAgICAgICAgICAgIGxldCBjX3RtcDIgPSBbXTtcbiAgICAgICAgICAgICAgICBjX3RtcC5mb3JFYWNoKCh0bXAsIGluZGV4KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChpbmRleCA8IDMpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIGMucHVzaCh0bXApXG4gICAgICAgICAgICAgICAgICAgICAgICBuW3RtcC5zcGxpdCgnPScpWzBdXSA9IHRtcC5zcGxpdCgnPScpWzFdXG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjX3RtcDIucHVzaCh0bXApXG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICBsZXQgdG1wMiA9IGNfdG1wMi5qb2luKCcmJyk7XG4gICAgICAgICAgICAgICAgblt0bXAyLnNwbGl0KCc9JylbMF1dID0gdG1wMi5zcGxpdCgnPScpWzFdO1xuXG4gICAgICAgICAgICAgICAgbGV0IGZtID0gZGVjb2RlVVJJQ29tcG9uZW50KG4uZm0pLnNwbGl0KCcmJylbMF07XG4gICAgICAgICAgICAgICAgbGV0IHUgPSBiYXNlNjREZWNvZGUoZm0pO1xuICAgICAgICAgICAgICAgIGxldCBwID0gdS5zcGxpdCgnXycpWzBdO1xuICAgICAgICAgICAgICAgIGxldCBmID0gbmV3IERhdGUoKS5nZXRUaW1lKCkgKyAnMDAwMCc7XG4gICAgICAgICAgICAgICAgbGV0IGxsID0gbi53c1RpbWU7XG4gICAgICAgICAgICAgICAgbGV0IHQgPSAnMCc7XG4gICAgICAgICAgICAgICAgbGV0IGggPSBbcCwgdCwgcywgZiwgbGxdLmpvaW4oJ18nKTtcbiAgICAgICAgICAgICAgICBsZXQgbSA9IG1kNShoKTtcbiAgICAgICAgICAgICAgICByZXR1cm4gKGkgKyBcIj93c1NlY3JldD1cIiArIG0gKyBcIiZ3c1RpbWU9XCIgKyBsbCArIFwiJnU9XCIgKyB0ICsgXCImc2VxaWQ9XCIgKyBmICsgXCImXCIgKyBjX3RtcDIucG9wKCkpLnJlcGxhY2UoJ2hscycsICdmbHYnKS5yZXBsYWNlKCdtM3U4JywgJ2ZsdicpO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgIH0sIHRpdGxlLCBpbWcpLFxuICAgICAgICBkZXNjOiBkZXNjXG4gICAgfSk7XG59XG5cbnNldEhvbWVSZXN1bHQoe1xuICAgIGRhdGE6IGl0ZW1zXG59KTsiLCJzZWFyY2hfdXJsIjoiaHR0cHM6Ly9zZWFy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xlOiBqLmdhbWVfbmljayxcbiAgICAgICAgaW1nOiBqLmdhbWVfc2NyZWVuc2hvdFxuICAgIH0pXG5cbn1cbnJlcy5kYXRhID0gZDtcbnNldFNlYXJjaFJlc3VsdChyZXMpOyIsImRldGFpbF9jb2xfdHlwZSI6InRleHRfMiIsImRldGFpbF9maW5kX3J1bGUiOiIiLCJzZGV0YWlsX2NvbF90eXBlIjoidGV4dF8yIiwic2RldGFpbF9maW5kX3J1bGUiOiIiLCJ1YSI6ImF1dG8iLCJwcmVSdWxlIjoiIiwicGFnZXMiOiJbXSIsImljb24iOiIiLCJwcm94eSI6IiJ9
Add Comment
Please, Sign In to add comment