Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@粉妹爱PP@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi57KJ5aa554ixUFAiLCJhdXRob3IiOiLnsonlprkiLCJ1cmwiOiJoaWtlcjovL2VtcHR5IiwidmVyc2lvbiI6MCwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ0b29sIiwiY2xhc3NfdXJsIjoiIiwiYXJlYV9uYW1lIjoiIiwiYXJlYV91cmwiOiIiLCJzb3J0X25hbWUiOiIiLCJ5ZWFyX25hbWUiOiIiLCJzb3J0X3VybCI6IiIsInllYXJfdXJsIjoiIiwiZmluZF9ydWxlIjoianM6XHJcbnZhciByZXMgPSBbXVxyXG5sZXQgdGltZV9zdGFtcCA9IERhdGUubm93KClcclxuXHJcbmxldCBwYXNzX3dvcmQgPSBnZXRNeVZhcigndGltZV9zdGFtcCcsICcnKVxyXG5pZiAoIXBhc3Nfd29yZCkge1xyXG4gICAgcHV0TXlWYXIoJ3RpbWVfc3RhbXAnLCBEYXRlLm5vdygpLnRvU3RyaW5nKCkpXHJcbn1cclxuXHJcbnZhciB7IHNhdmVfZGF5X3NheV9jYWNoZSwgZ2V0X3Bfbm9kZSB9ID0gJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvQVBJJylcclxudmFyIHsgc3R5bGVfY29sb3IgfSA9ICQucmVxdWlyZSgnaGlrZXI6Ly9wYWdlL0RlYnVnJylcclxuXHJcbnZhciBwX25vZGVfYXJyID0gZ2V0X3Bfbm9kZSgpXHJcblxyXG52YXIgcF9ub2RlX3JlcyA9IHBfbm9kZV9hcnJbMV1cclxuXHJcbnZhciBwX25vZGVfbGlzdCA9IHBfbm9kZV9yZXMuc3BsaXQoJ1xcbicpXHJcblxyXG4vLyDmr4/ml6XkuIDlj6VcclxubGV0IGRheV9zYXkgPSAn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