Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@玩偶哥哥@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi546p5YG25ZOl5ZOlIiwiYXV0aG9yIjoi5a2j6aOOIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjaHR0cHM6Ly93d3cud29nZy5uZXQvIiwidmVyc2lvbiI6MCwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxudmFyIGQgPSBbXTtcbk1ZX1VSTCA9IE1ZX1VSTC5yZXBsYWNlKCdoaWtlcjovL2VtcHR5IyMnLCAnJyk7XG52YXIgaHRtbCA9IGZldGNoKE1ZX1VSTCk7XG5cbi8v6L2u5pKtXG52YXIgbHVuZGF0YSA9IHBkZmEoaHRtbCwgJy5zd2lwZXItd3JhcHBlciYmLnN3aXBlci1zbGlkZScpLm1hcCgoeCkgPT4ge1xuICAgIHJldHVybiB7XG4gICAgICAgIHRpdGxlOiBwZGZoKHgsJy5uYW1lJiZUZXh0JykrJ1xcbicrcGRmaCh4LCAnLmluZm8mJlRleHQnKSxcbiAgICAgICAgaW1nOiBwZGZoKHgsJ2EmJnN0eWxlJykgKyAnQFJlZmVyZXI9JyxcbiAgICAgICAgdXJsOiBwZCh4LCdhJiZocmVmJykrJyNpbW1lcnNpdmVUaGVtZSMjYXV0b0NhY2hlIycsXG4gICAgfVxufSk7XG5ldmFsKEpTT04ucGFyc2UoZmV0Y2goXCJoaWtlcjovL3BhZ2UvbHVuYm9cIiwge30pKS5ydWxlKTtcbmJhbm5lcihNWV9SVUxFLnRpdGxlLCB0cnVlLCBkLCBsdW5kYXRhLCB7XG4gICAgICAgIHRpbWU6IDUwMDAsXG4gICAgICAgIGNvbF90eXBlOiAnY2FyZF9waWNfMScsXG4gICAgICAgIGRlc2M6ICcwJ1xuICAgIH0pXG5kLnB1c2goe1xuICAgICAgICB0aXRsZTogJ/CflI0nLFxuICAgICAgICB1cmw6ICQudG9TdHJpbmcoKHIpID0+IHtcbiAgICAgICAgICAgIHB1dFZhcigna2V5d29yZCcsIGlucHV0KTtcbiAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9zZWFyY2g/cnVsZT0nICsgciArICcmcz0nICsgaW5wdXQ7XG4gICAgICAgIH0sIE1ZX1JVTEUudGl0bGUpLFxuICAgICAgICBkZXNjOiAn5pCc57Si55S15b2x44CB55S16KeG5Ymn44CB57u86Im644CB5Yqo5ryrJyxcbiAgICAgICAgY29sX3R5cGU6ICdpbnB1dCcsXG4gICAgICAgIGV4dHJhOiB7XG4gICAgICAgICAgICBkZWZhdWx0VmFsdWU6IGdldFZhcigna2V5d29yZCcsICcnKSB8fCAnJyxcbiAgICAgICAgfVxuICAgIH0pO1xuXG52YXIgSWNvbiA9ICdodHRwczovL2hpa2VyZmFucy5jb20vdHViaWFvL2tlLyc7XG52YXIgTGFiZWxfc2V0X2ljb24gPSBbJzIucG5nJywgJzgyLnBuZycsICc4MS5wbmcnLCAnMzUucG5nJywgJzEwNi5wbmcnLCAnMTE5LnBuZycsICcxMDEucG5nJ107XG52YXIgVVJMID0naGlrZXI6Ly9wYWdlL2NhdGVnb3J5P3BhZ2U9ZnlwYWdlI25vUmVjb3JkSGlzdG9yeSMjbm9IaXN0b3J5IydcblxuLy/mjqjojZDliJfooahcblxuXG52YXIgTGFiZWxfc2V0ID0gcGRmYShodG1sLCdib2R5JiYubW9kdWxlJyk7XHJcbiAgICAgICAgTGFiZWxfc2V0LmZvckVhY2goKGRhdGEsaWQpID0+IHtcclxuICAgICAgICAgICAgZC5wdXNoKHtcclxuICAgICAgICAgICAgICAgIHRpdGxlOiBwZGZoKGRhdGEsICcubW9kdWxlLXRpdGxlJiZUZXh0JyksXG4gICAgICAgICAgICAgICAgZGVzYzpwZGZoKGRhdGEsICcubW9kdWxlLXRhYi1uYW1lfHwubW9yZSYmVGV4dCcpLFxuICAgICAgICAgICAgICAgIHBpY191cmw6IEljb24gKyBMYWJlbF9zZXRfaWNvbltpZF0sXG4gICAgICAgICAgICAgICAgdXJsOiAkKFwiI25vTG9hZGluZyNcIikubGF6eVJ1bGUoKFVSTCxpZCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICBpZD09XCIwXCI/XCIxXCI6aWQ7XG4gICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKE1ZX1JVTEUudXJsLCdodHRwczovL3d3dy53b2dnLm5ldC92b2RzaG93LycraWQrJy0tLS0tLS0tLS0tLmh0bWwnKTtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFVSTFxuICAgICAgICAgICAgICAgIH0sVVJMLGlkKSxcclxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiBcImF2YXRhclwiLFxuZXh0cmE6e2lkOmlkLFxucGFnZVRpdGxlOiBcIueJh+W6k1wiXG59XHJcbiAgICAgICAgICAgIH0pO1xudmFyIGl0ZW0gPSBwZGZhKGRhdGEsICdib2R5JiYubW9kdWxlLWl0ZW0sMDo5Jyk7XHJcbiAgICAgICAgICAgIGl0ZW0uZm9yRWFjaCgoaXRlbSkgPT4ge1xuICAgICAgICAgICAgZC5wdXNoKHtcbiAgICAgICAgdGl0bGU6IHBkZmgoaXRlbSwgJ2ltZyYmYWx0JyksXG4gICAgICAgICAgZGVzYzogcGRmaChpdGVtLCAnLm1vZHVsZS1pdGVtLXRleHQmJlRleHQnKS5yZXBsYWNlKCfmm7TmlrDoh7MnLCcnKSxcbiAgICAgICAgaW1nOiBwZChpdGVtLCAnLmxhenkmJmRhdGEtc3JjJyksXG4gICAgICAgIHVybDogcGQoaXRlbSwgJ2EmJ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DogJ1RleHRAQC5yZXBsYWNlKFwizrJcIixcIlwiKScsXG4gICAgLy/pgInpm4bliJfooag6ICd1bCYmbGknLFxuICAgIOmAiembhuWQjeensDogJ2g0JiZUZXh0JyxcbiAgICDpgInpm4bpk77mjqU6ICdwJiZUZXh0JyxcbiAgICDmoLflvI86ICdhdmF0YXInLFxuICAgIOino+aekDogbGF6eSxcbiAgICDlm77moIc6ICdodHRwczovL2Nkbi1pY29ucy1wbmcuZmxhdGljb24uY29tLzEyOC84OTIvODkyMzAwLnBuZydcbn1dXG5cblxuRXJqaS5zZXREZXNjKHBkZmgoaHRtbCwgJy5zcWpqX2EmJlRleHQnKS5yZXBsYWNlKCdb5pS26LW36YOo5YiGXScsJycpKTtcbkVyamkuZ2V0UGxheWVycyhwbGF5bGlzdCk7XG5FcmppLuWjsOaYjigpO1xuXG5cbnNldFJlc3VsdChkKTsiLCJzZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsInNkZXRhaWxfZmluZF9ydWxlIjoiKiIsInVhIjoibW9iaWxlIiwicHJlUnVsZSI6ImlmIChyZXF1ZXN0KCdoaWtlcjovL2hvbWVAzrEnKSA9PSAnbnVsbCcpIHtcbiAgICBjb25maXJtKHtcbiAgICAgICAgdGl0bGU6ICfkvp3otZbmo4DmtYsnLFxuICAgICAgICBjb250ZW50OiAn5qOA5rWL5Yiw57y65bCR5bCP56iL5bqPLOivt+WvvOWFpSEnLFxuICAgICAgICBjb25maXJtOiAoKSA9PiB7XG4gICAgICAgICAgICByZXR1cm4gXCLmtbfpmJTop4bnlYzpppbpobXpopHpgZPop4TliJnjgJDOseOAke+/pWhvbWVfcnVsZV91cmzvv6VodHRwOi8vaGlrZXIubm9raWEucHJlc3MvaGlrZXJ1bGUvcnVsZWxpc3QuanNvbj9pZD02NDE3XCJcbiAgICAgICAgfVxuICAgIH0pXG59IiwicGFnZXMiOiJbe1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcIuWIhuexu1wiL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2YXIgaSA9IE51bWJlcihnZXRNeVZhcignYmFubmVyaScsICcwJykpO1xcbiAgICAgICAgaWYgKHJ1bSAhPSAnJykge1xcbiAgICAgICAgICAgIGkgPSBOdW1iZXIocnVtKSArIDFcXG4gICAgICAgICAgICBjbGVhck15VmFyKCdybnVtJylcXG4gICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgaSA9IGkgKyAxO1xcbiAgICAgICAgfVxcbiAgICAgICAgLy9sb2coaSlcXG4gICAgICAgIC8vbG9nKGRhdGEubGVuZ3RoKVxcblxcbiAgICAgICAgaWYgKGkgPiBkYXRhLmxlbmd0aCAtIDEpIHtcXG4gICAgICAgICAgICBpID0gMFxcbiAgICAgICAgfVxcbiAgICAgICAgdmFyIGl0ZW0gPSBkYXRhW2ldO1xcbiAgICAgICAgLy9sb2coaXRlbSlcXG4gICAgICAgIHRyeSB7XFxuICAgICAgICAgICAgdXBkYXRlSXRlbShpZCsnYmFyJywge1xcbiAgICAgICAgICAgICAgICB0aXRsZTogaXRlbS50aXRsZSxcXG4gICAgICAgICAgICAgICAgaW1nOiBpdGVtLmltZyxcXG4gICAgICAgICAgICAgICAgdXJsOiBpdGVtLnVybCxcXG4gICAgICAgICAgICAgICAgZXh0cmE6IHtcXG4gICAgICAgICAgICAgICAgICAgIC8vbmFtZTogaXRlbS50aXRsZS5yZXBsYWNlKC88W14+XSs+L2csICcnKSxcXG4gICAgICAgICAgICAgICAgICAgIC8vc25hbWU6IGl0ZW0uZXh0cmEuc25hbWUsXFxuICAgICAgICAgICAgICAgICAgICAvL3N0eXBlOiBpdGVtLmV4dHJhLnN0eXBlLFxcbiAgICAgICAgICAgICAgICAgICAgLy9zdXJsOiBpdGVtLnVybCxcXG4gICAgICAgICAgICAgICAgICAgIC8vaW1nOml0ZW0uaW1nLFxcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IGl0ZW0udGl0bGUucmVwbGFjZSgvPFtePl0rPi9nLCAnJyksXFxuICAgICAgICAgICAgICAg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5nJ1xcbn1dXFxuXFxuXFxuRXJqaS5zZXREZXNjKHBkZmgoaHRtbCwgJy5zcWpqX2EmJlRleHQnKS5yZXBsYWNlKCdb5pS26LW36YOo5YiGXScsJycpKTtcXG5FcmppLmdldFBsYXllcnMocGxheWxpc3QpO1xcbkVyamku5aOw5piOKCk7XFxuXFxuXFxuc2V0UmVzdWx0KGQpO1wifV0iLCJpY29uIjoiaHR0cHM6Ly9hcGkueGluYWMubmV0L2ljb24vP3VybD1odHRwOi8vdHZmYW4ueHhvb28uY2YiLCJwcm94eSI6IiJ9
Add Comment
Please, Sign In to add comment