Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@蘑菇视频@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi6JiR6I+H6KeG6aKRIiwiYXV0aG9yIjoiUiZMb3lEZ0lrIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjaHR0cHM6Ly9tMy5tZ3NhZmV0d28ueHl6LyMjZnlwYWdlIiwidmVyc2lvbiI6MjAyMzEyMjIsImNvbF90eXBlIjoibW92aWVfMyIsImNsYXNzX25hbWUiOiIiLCJ0eXBlIjoidmlkZW8iLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczpcbiAgICAgICAgcmMoJ2h0dHBzOi8vZ2hwcm94eS5uZXQvaHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL21pc3R5d2F0ZXIvaGlrZXIvbWFpbi9mJywgMjQpO1xuICAgICAgICB2YXIgZCA9IFtdO1xuICAgICAgICB2YXIgaG9zdCA9IGNvbmZpZy5ob3N0O1xuICAgICAgICBjb25zdCBwYWdlID0gTVlfUEFHRTtcbiAgICAgICAgdmFyIGRhdGEgPSBbe1xuICAgICAgICAgICAgdGl0bGU6ICflrpjmlrnmjqjojZAm5YWo6YOoJueDreeCuem7keaWmSblm73kuqcm5o6i6Iqx57qm54KuJueUqOaIt+iHquaLjSblpJbmtYHlgbfmi40m55u05pKt5b2V5pKtJue9kee6ouemj+WIqeWnrCcsXG4gICAgICAgICAgICBpZDogJ+WumOaWueaOqOiNkCYmNDImMTIsMTEsMTgsMTMsMTkmMTImMTEmMTgmMTMmMTknXG4gICAgICAgIH0sIHtcbiAgICAgICAgICAgIHRpdGxlOiAn5Y2O5Lq6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gICAgICAgICAgICByZXR1cm4gdXJsICsgXCIubTN1OFwiXG4gICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6ICdtb3ZpZV8yJyxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9KVxuXG4gICAgfWVsc2V7XG4gICAgICAgIE1ZX1VSTCA9IGhvc3QgKyBcIi9hcGkvdmxvZy9saXN0P3BhZ2U9XCIrcGFnZStcIiZsaW1pdD0xMlwiO1xuXG4gICAgICAgIGxvZyhNWV9VUkwpO1xuICAgICAgICBodG1sID0gZmV0Y2hQQyhNWV9VUkwsIHtcbiAgICAgICAgICAgIGhlYWRlcnM6IHtcbiAgICAgICAgICAgICAgICAnVXNlci1BZ2VudCc6ICdNb3ppbGxhLzUuMCdcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSk7XG5cbiAgICAgICAgdmFyIGxpc3Q9SlNPTi5wYXJzZShodG1sKS5kYXRhLmxpc3RcbiAgICAgICAgbGlzdC5mb3JFYWNoKChsaXN0KSA9PiB7XG5cbnZhciBpbWcgPSBsaXN0LmNvdmVyO1xubGV0IGltYWdlID0gJCgpLmltYWdlKChpbWcpID0+ICQucmVxdWlyZShcImFlcz9ydWxlPVwiICsgTVlfVElUTEUpLmltYWdlQWVzMShpbnB1dCwgaW1nKSwgaW1nKTtcbiAgICAgICAgICAgIGQucHVzaCh7XG4gICAgICAgICAgICAgICAgdGl0bGU6IGxpc3QudGl0bGUsXG4gICAgICAgICAgICAgICAgZGVzYzogbGlzdC5mYXZvcml0ZXMsXG4gICAgICAgICAgICAgICAgaW1nOiBpbWcgKyBpbWFnZSxcbiAgICAgICAgICAgICAgICB1cmw6IGxpc3QucGxheV91cmwsXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6ICdtb3ZpZV8zJyxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9KVxufSAgICBcbiBzZXRSZXN1bHQoZCkiLCJzZWFyY2hfdXJsIjoiaGlrZXI6Ly9lbXB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