Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@美美百秀@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi576O576O55m+56eAIiwiYXV0aG9yIjoiUiIsInVybCI6Imhpa2VyOi8vZW1wdHkjIy9meUFsbC9pbmRleGZ5cGFnZS5odG1sW2ZpcnN0UGFnZT1oaWtlcjovL2VtcHR5IyMvZnlBbGwvaW5kZXguaHRtbF0iLCJ2ZXJzaW9uIjoyMDI0MDExOCwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IummlumhtSbmjqjlpbPpg44m54ix5LidQUlTUybooZfmi43nvo7lpbMm6Z+p5Zu95aWz5Li75pKtIiwidHlwZSI6InBpY3R1cmUiLCJjbGFzc191cmwiOiLpppbpobUmdGcmYXMmanAmemIiLCJhcmVhX25hbWUiOiLliqjmhJ/lsI/nq5kmUEFOU+WGmeecnyZTaG93Z2lybCblvq7mi43npo/liKkmUGFudHlob3NlIiwiYXJlYV91cmwiOiJkZyZwYW5zJnNnJndwJm55Iiwic29ydF9uYW1lIjoiNEstU1RBUiYzQUdpcmwmQmVhdXR5bGVnJlMtTVYm6IqC55uuIiwieWVhcl9uYW1lIjoiUnUxbW0mU2l5YW1tJlJvc2ltbSblpKfnp4DlnLomUlEtU1RBUiIsInNvcnRfdXJsIjoiNGsmM2EmYmwmbXYmc2hvdyIsInllYXJfdXJsIjoicnUmc3kmcnMmZHhjJnJxIiwiZmluZF9ydWxlIjoianM6XG52YXIgZCA9IFtdO1xudmFyIGhvc3QgPSBjb25maWcuaG9zdFxuTVlfVVJMID0gTVlfVVJMLnJlcGxhY2UoXCJoaWtlcjovL2VtcHR5IyNcIixob3N0KVxuXG5pZihNWV9QQUdFPT0xKXtcbiAgICBkLnB1c2goe1xuICAgICAgICB0aXRsZTogXCLwn5SNXCIsXG4gICAgICAgIHVybDogJC50b1N0cmluZygocikgP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iAgICAgICAgdmFyIGxpc3QgPSBwZGZhKGh0bWwsICcubWI1JiZsaScpO1xuICAgICAgICBsaXN0LmZvckVhY2goaXRlbSA9PiB7XG4gICAgICAgICAgICBkLnB1c2goe1xuICAgICAgICAgICAgICAgIHRpdGxlOiBwZGZoKGl0ZW0sICdoMyYmYSYmdGl0bGUnKSxcbiAgICAgICAgICAgICAgICBkZXNjOiBwZGZoKGl0ZW0sICdzbWFsbCYmVGV4dCcpLFxuICAgICAgICAgICAgICAgIGltZzogcGQoaXRlbSwgJ2ltZyYmc3JjJyksXG4gICAgICAgICAgICAgICAgdXJsOiBwZChpdGVtLCAnYSYmaHJlZicpLnJlcGxhY2UoL2NjW1xcU10rXFwvLyxcImNjL3ZpZGVvLz9cIikucmVwbGFjZShcIi5odG1sXCIsXCItMC0wLmh0bWxcIikgKyAkKCcnKS5sYXp5UnVsZSgoKSA9PiB7XG4gICAgICAgICAgdHJ5e1xuICAgICAgICAgICAgICAgICAgIHZhciBqcyA9IHJlcXVlc3QoaW5wdXQpLm1hdGNoKC92YXIgbm93PVteO10rLylbMF1cbiAgICAgICAgICAgICAgICAgICBldmFsKGpzKVxuICAgICAgICAgICAgIGlmKG5vdy5pbmNsdWRlcyhcImh0dHBcIikpe1xuICAgICAgICAgICAgICAgICAgIHJldHVybiBub3cgICBcbiAgICAgICAgICAgICAgICAgICB9ZWxzZXtcbiAgICAgICAgICAgICAgICAgICByZXR1cm4gXCJ2aWRlbzovL1wiICsgaW5wdXRcbn0gXG4gICAgICAgICAgICAgICAgICAgfWNhdGNoe1xuICAgICAgICAgICAgICAgICAgIHJldHVybiBcInRvYXN0Oi8v5rSX5rSX552h5ZCnXCJcbiAgICAgICAgICAgICAgICAgICAgICAgfSAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnbW92aWVfMicsXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfSlcbn1cbnNldFJlc3VsdChkKSIsInNlYXJjaF91cmwiOiJoaWtlcjovL2VtcHR5IyMvc2VhcmNoLnBocD9wYWdlPTJmeXBhZ2Umc2VhcmNod29yZD0qKiZzZWFyY2h0eXBlPSIsImdyb3VwIjoicSIsInNlYXJjaEZpbmQiOiJqczpcbnZhciBkID0gW107XG52YXIgaG9zdCA9IGNvbmZpZy5ob3N0XG5NWV9VUkwgPSBNWV9VUkwucmVwbGFjZShcImhpa2VyOi8vZW1wdHkjI1wiLGhvc3QpXG52YXIgaHRtbCA9IGZldGNoKE1ZX1VSTCk7XG5sb2coTVlfVVJMKVxuXG4gICAgICAgIHZhciBsaXN0ID0gcGRmYShodG1sLCAnLm1iNSYmbGknKTtcbiAgICAgICAgbGlzdC5mb3JFYWNoKGl0ZW0gPT4ge1xuICAgICAgICAgICAgZC5wdXNoKHtcbiAgICAgICAgICAgICAgICB0aXRsZTogcGRmaChpdGVtLCAnaDMmJmEmJlRleHQnKSxcbiAgICAgICAgICAgICAgICBkZXNjOiBwZGZoKGl0ZW0sICdzbWFsbCYmVGV4dCcpLFxuICAgICAgICAgICAgICAgIGltZzogcGQoaXRlbSwgJ2ltZyYmc3JjJyksXG4gICAgICAgICAgICAgICAgdXJsOiBwZChpdGVtLCAnYSYmaHJlZicpLnJlcGxhY2UoL2NjW1xcU10rXFwvLyxcImNjL3ZpZGVvLz9cIikucmVwbGFjZShcIi5odG1sXCIsXCItMC0wLmh0bWxcIikgKyAkKCcnKS5sYXp5UnVsZSgoKSA9PiB7XG4gICAgICAgICAgdHJ5e1xuICAgICAgICAgICAgICAgICAgIHZhciBqcyA9IHJlcXVlc3QoaW5wdXQpLm1hdGNoKC92YXIgbm93PVteO10rLylbMF1cbiAgICAgICAgICAgICAgICAgICBldmFsKGpzKVxuICAgICAgICAgICAgIGlmKG5vdy5pbmNsdWRlcyhcImh0dHBcIikpe1xuICAgICAgICAgICAgICAgICAgIHJldHVybiBub3cgICBcbiAgICAgICAgICAgICAgICAgICB9ZWxzZXtcbiAgICA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aWYobm93LmluY2x1ZGVzKFxcXCJodHRwXFxcIikpe1xcbiAgICAgICAgICAgICAgICAgICByZXR1cm4gbm93ICAgXFxuICAgICAgICAgICAgICAgICAgIH1lbHNle1xcbiAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcInZpZGVvOi8vXFxcIiArIGlucHV0XFxufSBcXG4gICAgICAgICAgICAgICAgICAgfWNhdGNoe1xcbiAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcInRvYXN0Oi8v5rSX5rSX552h5ZCnXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICAgfSAgICAgICAgICAgICAgIFxcbiAgICAgICAgICAgICAgICB9KSxcXG4gICAgICAgICAgICBjb2xfdHlwZTogY29sLCAgICAgICAgICAgIFxcbiAgICAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgfVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgIHBsYXlMaXN0cygpICAgICAgICBcXG4gICAgICAgICAgICB9XFxuXFxuc2V0VGFicyh0YWJzLCBNWV9VUkwpO1xcbnNldExpc3RzKGxpc3RzLCBnZXRNeVZhcihNWV9VUkwsICcwJykpO1xcblwifV0iLCJpY29uIjoiaHR0cHM6Ly9pbWcudmludWEuY24vaW1hZ2VzL3pWclYwLnBuZyIsInByb3h5IjoiIn0=
Add Comment
Please, Sign In to add comment