Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@P18@eyJ0aXRsZSI6IlAxOCIsInR5cGUiOiJwaWN0dXJlIiwiYXV0aG9yIjoiQWxhbiIsInZlcnNpb24iOjEsImdyb3VwIjoi5Zu+6ZuGIiwiaWNvbiI6IiIsInVhIjoicGMiLCJwcm94eSI6IiIsInByZVJ1bGUiOiIiLCJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInVybCI6Imh0dHBzOi8vZHBpYy5ldS5vcmcvcDE4L2xpc3QvZnljbGFzcy9vL2Z5YXJlYS9wL2Z5cGFnZS8iLCJjbGFzc19uYW1lIjoi5riF5ra85a+r55yfJibmgKfmhJ/mv4Dmg4UgIiwiY2xhc3NfdXJsIjoiMyY3IiwiYXJlYV9uYW1lIjoi5pyA5pawJibmnIDotZ4iLCJhcmVhX3VybCI6ImNyZWF0ZWQmJmhpdHMiLCJ5ZWFyX25hbWUiOiIiLCJ5ZWFyX3VybCI6IiIsInNvcnRfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiZmluZF9ydWxlIjoianM6XG5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvYXonKVxuYmFzZVBhcnNlKCkiLCJkZXRhaWxfY29sX3R5cGUiOiJtb3ZpZV8xIiwiZGV0YWlsX2ZpbmRfcnVsZSI6IiIsInNlYXJjaF91cmwiOiJodHRwczovL2RwaWMuZXUub3JnL3AxOC9zZWFyY2gvKiovcC9meXBhZ2UvIiwic2VhcmNoRmluZCI6ImpzOlxucmVxdWlyZSgnaGlrZXI6Ly9wYWdlL2F6JylcbnNlYXJjaFBhcnNlKCkiLCJzZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsInNkZXRhaWxfZmluZF9ydWxlIjoiIiwicGFnZUxpc3QiOlt7Im5hbWUiOiJBWiIsInBhdGgiOiJheiIsInJ1bGUiOiJjb25zdCBlbXB0eSA9ICdoaWtlcjovL2VtcHR5J1xuXG5jb25zdCBiYXNlUGFyc2UgPSAoKSA9PiB7XG4gICAgY29uc3QgZCA9IFtdXG4gICAgY29uc3QgdHlwZV9hcnIgPSBNWV9VUkwubWF0Y2goL2xpc3RcXC8oLio/KVxcL28vKVxuXG4gICAgaWYgKHR5cGVfYXJyICYmIHR5cGVfYXJyLmxlbmd0aCA9PT0gMikge1xuICAgICAgICBjb25zdCB0eXBlID0gdHlwZV9hcnJbMV1cbiAgICAgICAgc3dpdGNoICh0eXBlKSB7XG4gICAgICAgICAgICBjYXNlICdsaXN0JzpcbiAgICAgICAgICAgICAgICAvL2Nhc2UgJ3JlY2VudGx5JzpcbiAgICAgICAgICAgICAgICBhcmNoaXZlUGFyc2UoZClcbiAgICAgICAgICAgICAgICBicmVha1xuICAgICAgICAgICAgY2FzZSAnc2VhcmNoLXZpZGVvJzpcbiAgICAgICAgICAgICAgICAvL2Nhc2UgJ3JhbmtpbmctdmlkZW8nOlxuICAgICAgICAgICAgICAgIHZpZGVvUGFyc2UoZClcbiAgICAgICAgICAgICAgICBicmVha1xuICAgICAgICAgICAgICAgIC8vY2FzZSAncmFua2luZy10YWcnOlxuICAgICAgICAgICAgICAgIC8vY2FzZSAncmFua2luZy1rZXl3b3JkJzpcbiAgICAgICAgICAgIGNhc2UgJ3RhZyc6XG4gICAgICAgICAgICAgICAgdGFnUGFyc2UoZClcbiAgICAgICAgICAgICAgICBicmVha1xuICAgICAgICAgICAgY2FzZSAncmFua2luZy1pbWFnZXMnOlxuICAgICAgICAgICAgICAgIGltYWdlUGFyc2UoZClcbiAgICAgICAgICAgICAgICBicmVha1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgc2V0UmVzdWx0KGQpXG59XG5cbmNvbnN0IGFyY2hpdmVQYXJzZSA9IChkKSA9PiB7XG4gICAgY29uc3QgbGlzdCA9IHBkZmEoZ2V0UmVzQ29kZSgpLCAnI2ltYWdlLWxpc3QmJi5pbWFnZS1saX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BkZmgoaXRlbSwgJy5pbWFnZS1saXN0LWl0ZW0tcmVnaXN0LWRhdGUmJlRleHQnKSxcbiAgICAgICAgICAgIHVybDogJChwZChpdGVtLCAnYSYmaHJlZicpKS5sYXp5UnVsZSgoKSA9PiB7XG4gICAgICAgICAgICAgICAgcmVxdWlyZSgnaGlrZXI6Ly9wYWdlL2F6JylcbiAgICAgICAgICAgICAgICByZXR1cm4gZGVzY1ZpZGVvUGFyc2UoaW5wdXQpXG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICAgIHBpY191cmw6IHBkZmgoaXRlbSwgJy5pbWFnZS1saXN0LWl0ZW0taW1hZ2UmJmltZyYmc3JjJyksXG4gICAgICAgICAgICBjb2xfdHlwZTogJ21vdmllXzNfbWFycXVlZScsXG4gICAgICAgIH0pXG4gICAgfSlcbn1cblxuY29uc3QgdGFnUGFyc2UgPSAoZCkgPT4ge1xuICAgIGNvbnN0IGxpc3QgPSBwZGZhKGdldFJlc0NvZGUoKSwgJyN0YWdzJiZsaScpXG4gICAgbGlzdC5mb3JFYWNoKGl0ZW0gPT4ge1xuICAgICAgICBkLnB1c2goe1xuICAgICAgICAgICAgdGl0bGU6IHBkZmgoaXRlbSwgJ2EmJlRleHQnKSxcbiAgICAgICAgICAgIHVybDogJChwZChpdGVtLCAnYSYmaHJlZicpICsgJ3BhZ2UvZnlwYWdlLycpLnJ1bGUoKCkgPT4ge1xuICAgICAgICAgICAgICAgIHJlcXVpcmUoJ2hpa2VyOi8vcGFnZS9heicpXG4gICAgICAgICAgICAgICAgbGV0IGQgPSBbXVxuICAgICAgICAgICAgICAgIGFyY2hpdmVQYXJzZShkKVxuICAgICAgICAgICAgICAgIHNldFJlc3VsdChkKVxuICAgICAgICAgICAgfSksXG4gICAgICAgICAgICBjb2xfdHlwZTogJ3RleHRfMycsXG4gICAgICAgIH0pXG4gICAgfSlcbn1cblxuY29uc3QgaW1hZ2VQYXJzZSA9IChkKSA9PiB7XG4gICAgY29uc3QgbGlzdCA9I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