Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@爱下书@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi54ix5LiL5LmmIiwiYXV0aG9yIjoiIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjaHR0cHM6Ly93YXAuYWl4aWF4cy5pbmZvLyIsInZlcnNpb24iOjAsImNvbF90eXBlIjoibW92aWVfMyIsImNsYXNzX25hbWUiOiIiLCJ0eXBlIjoicmVhZCIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxudmFyIHJlcyA9IHt9O1xudmFyIGQgPSBbXTtcbnZhciBJY29uX3ByZWZpeCA9ICdodHRwczovL2xhbm1laWd1b2ppYW5nLmNvbS90dWJpYW8va2UvJztcbnZhciBjYXRlZ29yeV9JY29uID0gWyczOC5wbmcnLCAnMTI3LnBuZycsICcxNDcucG5nJywgJzcwLnBuZycsICcxLnBuZyddO1xudmFyIExhYmVsX3NldF9pY29uID0gWyczMC5wbmcnLCAnNDgucG5nJywgJzIxLnBuZycsICcxOS5wbmcnLCAnMTI0LnBuZycsICcyNy5wbmcnXTtcbnZhciBodG1sID0gZmV0Y2goTVlfVVJMLnNwbGl0KCcjIycpWzFdKTtcbnBkZmEoaHRtbCwgJy5uYXYmJmxpJykuZm9yRWFjaCgoaXRlbSwgaSkgPT4ge1xuICAgIGQucHVzaCh7XG4gICAgICAgIHRpdGxlOiBwZGZoKGl0ZW0sICdUZXh0JykucmVwbGFjZSgn6ZiF6K+76K6w5b2VJywgJ+S5puaeticpLFxuICAgICAgICBpbWc6IEljb25fcHJlZml4ICsgY2F0ZWdvcnlfSWNvbltpXSxcbiAgICAgICAgdXJsOiBwZ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ICAgICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiBidCxcXG4gICAgICAgICAgICAgICAgICAgIHVybDogdXJsICsgJyNyZWFkVGhlbWUjI2F1dG9QYWdlI0BydWxlPWpzOiQucmVxdWlyZShcXFwiaGlrZXI6Ly9wYWdlL2xhenlcXFwiKScsXFxuICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ3RleHRfMScsXFxuICAgICAgICAgICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGlkOiB1cmxcXG4gICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgfSBjYXRjaCAoZSkge1xcbiAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgIHRpdGxlOiAn5rKh5pyJ6YCJ6ZuG5ZOf77yM5LiN5L+h54K55Zu+54mH5Y6755yL55yL8J+RgCcsXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF9jZW50ZXJfMSdcXG4gICAgICAgICAgICB9KTtcXG4gICAgICAgIH1cXG4gICAgfSBlbHNlIHtcXG4gICAgICAgIHRyeSB7XFxuICAgICAgICAgICAgZm9yICh2YXIgaiA9IDA7IGogPCBsaXN0Lmxlbmd0aDsgaisrKSB7XFxuICAgICAgICAgICAgICAgIHZhciBidCA9IHBhcnNlRG9tRm9ySHRtbChsaXN0W2pdLCAnYSYmVGV4dCcpLnJlcGxhY2UoL+esrHzpm4Z86K+dfOacny9nLCAnJyk7XFxuICAgICAgICAgICAgICAgIHZhciB1cmwgPSBwYXJzZURvbShsaXN0W2pdLCAnYSYmaHJlZicpO1xcbiAgICAgICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IGJ0LFxcbiAgICAgICAgICAgICAgICAgICAgdXJsOiB1cmwgKyAnI3JlYWRUaGVtZSMjYXV0b1BhZ2UjQHJ1bGU9anM6JC5yZXF1aXJlKFxcXCJoaWtlcjovL3BhZ2UvbGF6eVxcXCIpJyxcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF8xJyxcXG4gICAgICAgICAgICAgICAgICAgIGV4dHJhOiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgaWQ6IHVybFxcbiAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICB9XFxuICAgICAgICB9IGNhdGNoIChlKSB7XFxuICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgdGl0bGU6ICfmsqHmnInpgInpm4blk5/vvIzkuI3kv6Hngrnlm77niYfljrvnnIvnnIvwn5GAJyxcXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6ICd0ZXh0X2NlbnRlcl8xJ1xcbiAgICAgICAgICAgIH0pO1xcbiAgICAgICAgfVxcblxcbiAgICB9XFxufVxcbnNldFRhYnModGFicywgTVlfVVJMLCBNWV9VUkwubWF0Y2goL1xcXFxkK1xcXFwvKFxcXFxkKylcXFxcLy8pWzFdKTtcXG5zZXRMaXN0cyhsaXN0cywgZ2V0VmFyKE1ZX1VSTCwgJzAnKSk7XFxuc2V0UmVzdWx0KGQpO1wifSx7XCJjb2xfdHlwZVwiOlwibW92aWVfM1wiLFwibmFtZVwiOlwi6Kej5p6QXCIsXCJwYXRoXCI6XCJsYXp5XCIsXCJydWxlXCI6XCJqczpcXG52YXIgcmVzID0ge307XFxudmFyIGQgPSBbXTtcXG52YXIgaHRtbCA9IGdldFJlc0NvZGUoKTtcXG5kLnB1c2goe1xcbiAgICB0aXRsZTogcGRmaChodG1sLCAnLm5vdmVsY29udGVudCYmSHRtbCcpLnJlcGxhY2UoJ+acrOeroOacquWujO+8jOivt+eCueWHu+S4i+S4gOmhtee7p+e7remYheivu+OAi+OAiycsJycpLFxcbiAgICBjb2xfdHlwZTogJ3JpY2hfdG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VyOi8vcGFnZS9kZXRhaWxcXFwiKScsXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnbW92aWVfMV92ZXJ0aWNhbF9waWMnXFxuICAgICAgICAgICAgfSlcXG4gICAgICAgIH0pXFxuICAgICAgICBicmVhaztcXG4gICAgICAgIFxcbiAgICAgICAgLy/mjpLooYxcXG4gICAgY2FzZSAnaHR0cHM6Ly93YXAuYWl4aWF4cy5pbmZvL3RvcC9hbGx2aXNpdF8xLyc6XFxuICAgICAgICBpZiAoTVlfUEFHRSA9PSAxKSB7XFxuICAgICAgICAgICAgcGRmYShodG1sLCAnLnVzZXJfbGlzdCYmbGknKS5mb3JFYWNoKGl0ZW0gPT4ge1xcbiAgICAgICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IGNvbG9yKGdldE15VmFyKCd0b3AnLCAnaHR0cHM6Ly93YXAuYWl4aWF4cy5pbmZvL3RvcC9hbGx2aXNpdF8xLycpLCBwZChpdGVtLCAnYSYmaHJlZicpLCBwZGZoKGl0ZW0sICdhJiZUZXh0JykpLFxcbiAgICAgICAgICAgICAgICAgICAgdXJsOiAkKCcjbm9Mb2FkaW5nIycpLmxhenlSdWxlKHVybCA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcHV0TXlWYXIoJ3RvcCcsIHVybCk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoZmFsc2UpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9lbXB0eSdcXG4gICAgICAgICAgICAgICAgICAgIH0sIHBkKGl0ZW0sICdhJiZocmVmJykpLFxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICdmbGV4X2J1dHRvbidcXG4gICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgfVxcbiAgICAgICAgdmFyIHVybCA9IGdldE15VmFyKCd0b3AnLCAnaHR0c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kZmgoaXRlbSwgJ2EmJlRleHQnKSArICc8Zm9udCBjb2xvcj1cXFwiIzY0OTVFRFxcXCI+JyArIHBkZmgoaXRlbSwgJ2EsMSYmVGV4dCcpICsgJzwvZm9udD48L2I+JyxcXG4gICAgICAgICAgICAgICAgZGVzYzogJ+KAmOKAmOS9nOiAhe+8micgKyBwZGZoKGl0ZW0sICdhLDImJlRleHQnKSArICfigJnigJknLFxcbiAgICAgICAgICAgICAgICB1cmw6IHBkKGl0ZW0sICdhLDEmJmhyZWYnKSArICcjaW1tZXJzaXZlVGhlbWUjQHJ1bGU9anM6JC5yZXF1aXJlKFxcXCJoaWtlcjovL3BhZ2UvZGV0YWlsXFxcIiknLFxcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ3RleHRfMSdcXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgfSlcXG4gICAgICAgIGJyZWFrO1xcbiAgICAgICAgXFxuICAgICAgICAvL+aWsOS5plxcbiAgICBjYXNlICdodHRwczovL3dhcC5haXhpYXhzLmluZm8vdG9wL3Bvc3RkYXRlXzEvJzpcXG4gICAgICAgIGlmIChNWV9QQUdFID09IDEpIHtcXG4gICAgICAgICAgICBwZGZhKGh0bWwsICcudXNlcl9saXN0JiZsaScpLmZvckVhY2goaXRlbSA9PiB7XFxuICAgICAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICB0aXRsZTogY29sb3IoZ2V0TXlWYXIoJ25ldycsICdodHRwczovL3dhcC5haXhpYXhzLmluZm8vdG9wL3Bvc3RkYXRlXzEvJyksIHBkKGl0ZW0sICdhJiZocmVmJyksIHBkZmgoaXRlbSwgJ2EmJlRleHQnKSksXFxuICAgICAgICAgICAgICAgICAgICB1cmw6ICQoJyNub0xvYWRpbmcjJykubGF6eVJ1bGUodXJsID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcignbmV3JywgdXJsKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICByZWZyZX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ICAgXFxuICAgICAgICAvL+S5puaetlxcbiAgICBjYXNlICdodHRwczovL3dhcC5haXhpYXhzLmluZm8vaGlzdG9yeS5waHAnOlxcbiAgICAgICAgaHRtbCA9IGZldGNoKCdodHRwczovL3dhcC5haXhpYXhzLmluZm8vbXlib29rLnBocCcsIHtcXG4gICAgICAgICAgICBoZWFkZXJzOiB7XFxuICAgICAgICAgICAgICAgIENvb2tpZTogZ2V0SXRlbSgnY29va2llJylcXG4gICAgICAgICAgICB9XFxuICAgICAgICB9KS5yZXBsYWNlKCc8IS0tJywgJycpO1xcbiAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICB0aXRsZTogJ+KAnOKAnCcgKyBwZGZoKGh0bWwsICcubXlib29rJiZUZXh0JykgKyAn4oCd4oCdJyxcXG4gICAgICAgICAgICB1cmw6ICdoaWtlcjovL2VtcHR5JyxcXG4gICAgICAgICAgICBjb2xfdHlwZTogJ3RleHRfY2VudGVyXzEnXFxuICAgICAgICB9KVxcbiAgICAgICAgcGRmYShodG1sLCAnYm9keSYmLmJvb2tjb24nKS5mb3JFYWNoKGl0ZW0gPT4ge1xcbiAgICAgICAgICAgIHZhciB1cmwgPSBwZChpdGVtLCAnYSYmaHJlZicpO1xcbiAgICAgICAgICAgIHZhciBpZCA9IHVybC5tYXRjaCgvXFxcXGQrXFxcXC8oXFxcXGQrKVxcXFwvLylbMV07XFxuICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgdGl0bGU6ICfigJjigJjigJnigJk8Yj48Zm9udCBjb2xvcj1cXFwiIzY0OTVFRFxcXCI+JyArIHBkZmgoaXRlbSwgJy5ib29rbmFtZSYmVGV4dCcpICsgJzwvZm9udD48L2I+JyxcXG4gICAgICAgICAgICAgICAgZGVzYzogJ+KAmOKAmCcgKyBwZGZoKGl0ZW0sICcubmV3ZXN0JiZUZXh0JykgKyAn4oCZ4oCZJyxcXG4gICAgICAgICAgICAgICAgdXJsOiB1cmwgKyAnI2ltbWVyc2l2ZVRoZW1lI0BydWxlPWpzOiQucmVxdWlyZShcXFwiaGlrZXI6Ly9wYWdlL2RldGFpbFxcXCIpJyxcXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6ICd0ZXh0XzEnLFxcbiAgICAgICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICAgICAgbG9uZ0NsaWNrOiBbe1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiAnXFxcXHRcXFxcdFxcXFx0XFxcXHRcXFxcdFxcXFx0XFxcXHTliKDpmaTmnKzkuaZcXFxcdFxcXFx0XFxcXHRcXFxcdFxcXFx0XFxcXHRcXFxcdCcsXFxuICAgICAgICAgICAgICAgICAgICAgICAganM6ICQudG9TdHJpbmcoKGlkKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciB1cmwgPSAnaHR0cHM6Ly93YXAuYWl4aWF4cy5pbmZvL2RlbGJvb2tjYXNlLycgKyBpZCArICcucGhwJztcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGh0bWwgPSBmZXRjaCh1cmwsIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhlYWRlcnM6IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBDb29raWU6IGdldEl0ZW0oJ2Nvb2tpZScpXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpXFxuICAgICAgICAgICAgICAgICAgICAgICAgfSwgaWQpLFxcbiAgICAgICAgICAgICAgICAgICAgfV1cXG4gICAgICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgfSlcXG4gICAgICAgIGJyZWFrO1xcbn1cXG5yZXMuZGF0YSA9IGQ7XFxuc2V0SG9tZVJlc3VsdChyZXMpO1wifV0iLCJpY29uIjoiaHR0cHM6Ly9sYW5tZWlndW9qaWFuZy5jb20vdHViaWFvL21lc3N5LzY4LnN2ZyIsInByb3h5IjoiIn0=
Add Comment
Please, Sign In to add comment