Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@alitoken验证@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoiYWxpdG9rZW7pqozor4EiLCJhdXRob3IiOiLpppnpm4Xmg4UiLCJ1cmwiOiJoaWtlcjovL2VtcHR5IiwidmVyc2lvbiI6MCwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxudmFyIGQgPSBbXTtcbmQucHVzaCh7XG4gICAgdGl0bGU6IFwi4puF77iP55m75b2V6I635Y+W6Ieq5bex55qEdG9rZW5cIixcbiAgICB1cmw6ICQoXCJoaWtlcjovL2VtcHR5IyMjbm9SZWNvcmRIaXN0b3J5IyNub0hpc3RvcnkjXCIpLnJ1bGUoKCkgPT4ge1xuICAgICAgICBsZXQgZCA9IFtdO1xuICAgICAgICBsZXQgdXJsID0gJ2h0dHBzOi8vd3d3LmFsaXl1bmRyaXZlLmNvbS9zaWduJ1xuICAgICAgICBsZXQganMgPSAkLnRvU3RyaW5nKCgpID0+IHtcbiAgICAgICAgICAgIGNvbnN0IHRva2VuRnVuY3Rpb24gPSBmdW5jdGlvbigpIHtcbiAgICAgICAgICAgICAgICB2YXIgdG9rZW4gPSBKU09OLnBhcnNlKGxvY2FsU3RvcmFnZS5nZXRJdGVtKCd0b2tlbicpKVxuICAgICAgICAgICAgICAgIGlmICh0b2tlbiAmJiB0b2tlbi51c2VyX2lkKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBhbGlzdGZpbGUgPSBcImhpa2VyOi8vZmlsZXMvcnVsZXMveHlxL215YWxpdG9rZW4udHh0XCI7XG4gICAgICAgICAgICAgICAgICAgIGxldCB0b2tlbmRhdGEgPSB0b2tlbi5yZWZyZXNoX3Rva2VuO1xuICAgICAgICAgICAgICAgICAgICAvL2ZiYS5sb2codG9rZW5kYXRhKTtcbiAgICAgICAgICAgICAgICAgICAgZnlfYnJpZGdlX2FwcC53cml0ZUZpbGUoYWxpc3RmaWxlLCB0b2tlbmRhdGEpO1xuICAgICAgICAgICAgICAgICAgICBsb2NhbFN0b3JhZ2UuY2xlYXIoKTtcbiAgICAgICAgICAgICAgICAgICAgYWxlcnQoJ1RPS0VO6I635Y+W5oiQ5Yqf77yM6L+U5Zue5ZCO5Yi35paw6aG16Z2i77yBJyk7XG4gICAgICAgICAgICAgICAgICAgIGZ5X2JyaWRnZV9hcHAucGFyc2VMYXp5UnVsZShgaGlrZXI6Ly9lbXB0eUBsYXp5UnVsZT0uanM6cmVmcmVzaFg1V2ViVmlldygnJyk7YCk7XG4gICAgICAgICAgICAgICAgICAgIGZ5X2JyaWRnZV9hcHAuYmFjaygpO1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgdG9rZW5fdGltZXIoKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB2YXIgdG9rZW5fdGltZXIgPSBmdW5jdGlvbigpIHtcbiAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KHRva2VuRnVuY3Rpb24sIDUwMClcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICB0b2tlbkZ1bmN0aW9uKCk7XG4gICAgICAgIH0pXG4gICAgICAgIGQucHVzaCh7XG4gICAgICAgICAgICB1cmw6IHVybCxcbiAgICAgICAgICAgIGNvbF90eXBlOiAneDVfd2Vidmlld19zaW5nbGUnLFxuICAgICAgICAgICAgZGVzYzogJzEwMCUmJmZsb2F0JyxcbiAgICAgICAgICAgIGV4dHJhOiB7XG4gICAgICAgICAgICAgICAgY2FuQmFjazogdHJ1ZSxcbiAgICAgICAgICAgICAgICB1YTogUENfVUEsXG4gICAgICAgICAgICAgICAganM6IGpzXG4gICAgICAgICAgICB9XG4gICAgICAgIH0pXG4gICAgICAgIHNldFJlc3VsdChkKTtcbiAgICB9KSxcbiAgICBjb2xfdHlwZTogJ3RleHRfY2VudGVyXzEnXG59KTtcbmlmIChmaWxlRXhpc3QoXCJoaWtlcjovL2ZpbGVzL3J1bGVzL3h5cS9teWFsaXRva2VuLnR4dFwiKSkge1xuICAgIGxldCBteWRlZnRvayA9IGZldGNoKFwiaGlrZXI6Ly9maWxlcy9ydWxlcy94eXEvbXlhbGl0b2tlbi50eHRcIiwge30pO1xuICAgIGQucHVzaCh7XG4gICAgICAgIHRpdGxlOiBteWRlZnRvayxcbiAgICAgICAgdXJsOiAkKG15ZGVmdG9rKS5sYXp5UnVsZSgoKSA9PiB7XG4gICAgICAgICAgICByZXR1cm4gJ2NvcHk6Ly8nICsgaW5wdXRcbiAgICAgICAgfSksXG4gICAgICAgIGNvbF90eXBlOiBcInRleHRfMVwiLFxuICAgICAgICBkZXNjOiBcIlwiLFxuICAgICAgICBwaWNfdXJsOiBcIlwiXG4gICAgfSk7XG59XG52YXIgZGVmdG9rID0gJyc7XG5pZiAoZmlsZUV4aXN0KFwiaGlrZXI6Ly9maWxlcy9ydWxlcy94eXEvYWxpdG9rZW4udHh0XCIpICYmIGdldE15VmFyKCdhbGl0b2tlbicsICcnKSA9PSAnJykge1xuICAgIGRlZnRvayA9IGZldGNoKFwiaGlrZXI6Ly9maWxlcy9ydWxlcy94eXEvYWxpdG9rZW4udHh0XCIsIHt9KTtcbiAgICBwdXRNeVZhcignYWxpdG9rZW4nLCBkZWZ0b2spO1xufVxubG9nKGRlZnRvayk7XG5kLnB1c2goe1xuICAgIHRpdGxlOiBnZXRNeVZhcignYWxpdG9rZW4nLCBkZWZ0b2spLFxuICAgIHVybDogXCJpbnB1dDovL1wiICsgXCIvLy8v6K+36L6T5YWl6Zi/6YeMdG9rZW7mlbDmja7jgIIuanM6cHV0TXlWYXIoJ2FsaXRva2VuJyxpbnB1dCk7cmVmcmVzaFBhZ2UoKVwiLFxuICAgIGNvbF90eXBlOiBcImljb25fMV9zZWFyY2hcIixcbiAgICBleHRyYToge1xuICAgICAgICB0aXRsZVZpc2libGU6IGZhbHNlXG4gICAgfVxufSk7XG5cbmQucHVzaCh7XG4gICAgdGl0bGU6ICfpqozor4EnLFxuICAgIHVybDogJCgnaGlrZXI6Ly9lbXB0eScpLmxhenlSdWxlKCgpID0+IHtcbiAgICAgICAgY2xlYXJNeVZhcigncmVzdWx0dG9rJyk7XG4gICAgICAgIHZhciByZWZ0b2tlbiA9IGdldE15VmFyKCdhbGl0b2tlbicsICcnKTtcbiAgICAgICAgaWYgKHJlZnRva2VuLnN0YXJ0c1dpdGgoJ2h0dHAnKSkge1xuICAgICAgICAgICAgcmVmdG9rZW4gPSBmZXRjaChyZWZ0b2tlbiwge1xuICAgICAgICAgICAgICAgIGhlYWRlcnM6IHtcbiAgICAgICAgICAgICAgICAgICAgJ1VzZXItQWdlbnQnOiAnb2todHRwLzMuMTIuMTEnXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHJlZnRva2VuID09ICcnKSB7XG4gICAgICAgICAgICByZXR1cm4gJ3RvYXN0Oi8vdG9rZW7kuLrnqbrvvIEnO1xuICAgICAgICB9IGVsc2UgaWYgKHJlZnRva2VuLmxlbmd0aCAhPSAzMikge1xuICAgICAgICAgICAgcmV0dXJuICd0b2FzdDovL3Rva2Vu5LiN5q2j56Gu77yBJztcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHZhciByZWZyZXNoID0gZmV0Y2goJ2h0dHBzOi8vYXV0aC5hbGl5dW5kcml2ZS5jb20vdjIvYWNjb3VudC90b2tlbicsIHtcbiAgICAgICAgICAgICAgICBoZWFkZXJzOiB7XG4gICAgICAgICAgICAgICAgICAgICdDb250ZW50LVR5cGUnOiAnYXBwbGljYXRpb24vanNvbicsXG4gICAgICAgICAgICAgICAgICAgICdVc2VyLUFnZW50JzogUENfVUEsXG4gICAgICAgICAgICAgICAgICAgICdSZWZlcmVyJzogJ2h0dHBzOi8vd3d3LmFsaXl1bmRyaXZlLmNvbS8nXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBib2R5OiAne1wicmVmcmVzaF90b2tlblwiOlwiJyArIHJlZnRva2VuICsgJ1wiLFwiZ3JhbnRfdHlwZVwiOlwicmVmcmVzaF90b2tlblwifScsXG4gICAgICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCdcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgcHV0TXlWYXIoJ3Jlc3VsdHRvaycsIHJlZnJlc2gpO1xuICAgICAgICAgICAgcHV0TXlWYXIoJ2FsaXRva2VuJywgSlNPTi5wYXJzZShyZWZyZXNoKS5yZWZyZXNoX3Rva2VuKTtcbiAgICAgICAgICAgIHJlZnJlc2hQYWdlKClcbiAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9lbXB0eSdcbiAgICAgICAgfVxuXG4gICAgfSksXG4gICAgY29sX3R5cGU6IFwidGV4dF8zXCIsXG4gICAgZGVzYzogXCJcIixcbiAgICBwaWNfdXJsOiBcIlwiXG59KTtcblxuaWYgKGdldE15VmFyKCdyZXN1bHR0b2snLCAnJykuaW5jbHVkZXMoJ1wicmVmcmVzaF90b2tlblwiJykpIHtcbiAgICB2YXIgdG9rZW5qc29uID0gSlNPTi5wYXJzZShnZXRNeVZhcigncmVzdWx0dG9rJywgJ3t9JykpO1xuICAgIGxldCB0b2tlbmRhdGEgPSB0b2tlbmpzb24ucmVmcmVzaF90b2tlbjtcblxuXG4gICAgZC5wdXNoKHtcbiAgICAgICAgdGl0bGU6ICflpI3liLblrozmlbTnu5PmnpwnLFxuICAgICAgICB1cmw6ICQoJ2hpa2VyOi8vZW1wdHknKS5sYXp5UnVsZSgoKSA9PiB7XG4gICAgICAgICAgICByZXR1cm4gJ2NvcHk6Ly8nICsgZ2V0TXlWYXIoJ3Jlc3VsdHRvaycsICcnKVxuICAgICAgICB9KSxcbiAgICAgICAgY29sX3R5cGU6IFwidGV4dF8zXCIsXG4gICAgICAgIGRlc2M6IFwiXCIsXG4gICAgICAgIHBpY191cmw6IFwiXCJcbiAgICB9LCB7XG4gICAgICAgIHRpdGxlOiAn5o6o6YCBVG9rZW4nLFxuICAgICAgICB1cmw6ICQoJ2hpa2VyOi8vZW1wdHknKS5sYXp5UnVsZSgodG9rZW5kYXRhKSA9PiB7XG4gICAgICAgICAgICAvL3JldHVybiAnY29weTovLycgKyBnZXRNeVZhcigncmVzdWx0dG9rJywgJycpXG4gICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vcGFnZS9wdXNoP3J1bGU9WFlR5o6o6YCBJnB1c2h1cmw9JyArIGVuY29kZVVSSUNvbXBvbmVudCgnYWxpdG9rZW5AJyArIHRva2VuZGF0YSk7XG4gICAgICAgIH0sIHRva2VuZGF0YSksXG4gICAgICAgIGNvbF90eXBlOiBcInRleHRfM1wiLFxuICAgICAgICBkZXNjOiBcIlwiLFxuICAgICAgICBwaWNfdXJsOiBcIlwiXG4gICAgfSk7XG5cblxuICAgIGQucHVzaCh7XG4gICAgICAgIHRpdGxlOiAn5b2T5YmN55So5oi377yaJyArIHRva2VuanNvbi5uaWNrX25hbWUgKyAnICcgKyB0b2tlbmpzb24udXNlcl9uYW1lLFxuICAgICAgICB1cmw6ICdoaWtlcjovL2VtcHR5JyxcbiAgICAgICAgY29sX3R5cGU6IFwiYXZhdGFyXCIsXG4gICAgICAgIHBpY191cmw6IHRva2VuanNvbi5hdmF0YXJcbiAgICB9KTtcblxuICAgIGQucHVzaCh7XG4gICAgICAgIHRpdGxlOiB0b2tlbmRhdGEsXG4gICAgICAgIHVybDogJCh0b2tlbmRhdGEpLmxhenlSdWxlKCgpID0+IHtcbiAgICAgICAgICAgIHJldHVybiAnY29weTovLycgKyBpbnB1dFxuICAgICAgICB9KSxcbiAgICAgICAgY29sX3R5cGU6IFwidGV4dF8xXCIsXG4gICAgICAgIGRlc2M6IFwiXCIsXG4gICAgICAgIHBpY191cmw6IFwiXCJcbiAgICB9KTtcblxuICAgIGlmICghZmlsZUV4aXN0KFwiaGlrZXI6Ly9maWxlcy9ydWxlcy94eXEvYWxpdG9rZW4udHh0XCIpKSB7XG4gICAgICAgIHdyaXRlRmlsZShcImhpa2VyOi8vZmlsZXMvcnVsZXMveHlxL2FsaXRva2VuLnR4dFwiLCB0b2tlbmRhdGEpO1xuICAgIH0gZWxzZSB7XG4gICAgICAgIHdyaXRlRmlsZShcImhpa2VyOi8vZmlsZXMvcnVsZXMveHlxL2FsaXRva2VuLnR4dFwiLCB0b2tlbmRhdGEpO1xuICAgIH1cbn1cbmQucHVzaCh7XG4gICAgdGl0bGU6IGdldE15VmFyKCdyZXN1bHR0b2snLCAnJyksXG4gICAgdXJsOiAnJyxcbiAgICBjb2xfdHlwZTogXCJsb25nX3RleHRcIixcbiAgICBkZXNjOiBcIlwiLFxuICAgIHBpY191cmw6IFwiXCJcbn0pO1xuXG5zZXRIb21lUmVzdWx0KGQpOyIsInNlYXJjaF91cmwiOiIiLCJncm91cCI6IummmembheaDhSIsInNlYXJjaEZpbmQiOiIiLCJkZXRhaWxfY29sX3R5cGUiOiJtb3ZpZV8xIiwiZGV0YWlsX2ZpbmRfcnVsZSI6IiIsInNkZXRhaWxfY29sX3R5cGUiOiJtb3ZpZV8xIiwic2RldGFpbF9maW5kX3J1bGUiOiIiLCJ1YSI6Im1vYmlsZSIsInByZVJ1bGUiOiIiLCJwYWdlcyI6IltdIiwiaWNvbiI6IiIsInByb3h5IjoiIn0=
Add Comment
Please, Sign In to add comment