Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@电视侠·Q@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi55S16KeG5L6gwrdRIiwiYXV0aG9yIjoi5Y+R57Kq5raC5aKZIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjaHR0cDovL2xpdmUudHZmaXgub3JnIiwidmVyc2lvbiI6MiwiY29sX3R5cGUiOiJwaWNfMiIsImNsYXNzX25hbWUiOiIiLCJ0eXBlIjoibGl2ZSIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxudmFyIGQgPSBbXVxuXG5mdW5jdGlvbiBzdHJpbmdUb0J5dGUoc3RyKSB7XG4gICAgdmFyIGJ5dGVzID0gbmV3IEFycmF5KCk7XG4gICAgdmFyIGxlbiwgYztcbiAgICBsZW4gPSBzdHIubGVuZ3RoO1xuICAgIGZvciAodmFyIGkgPSAwOyBpIDwgbGVuOyBpKyspIHtcbiAgICAgICAgYyA9IHN0ci5jaGFyQ29kZUF0KGkpO1xuICAgICAgICBpZiAoYyA+PSAweDAxMDAwMCAmJiBjIDw9IDB4MTBGRkZGKSB7XG4gICAgICAgICAgICBieXRlcy5wdXNoKCgoYyA+PiAxOCkgJiAweDA3KSB8IDB4RjApO1xuICAgICAgICAgICAgYnl0ZXMucHVzaCgoKGMgPj4gMTIpICYgMHgzRikgfCAweDgwKTtcbiAgICAgICAgICAgIGJ5dGVzLnB1c2goKChjID4+IDYpICYgMHgzRikgfCAweDgwKTtcbiAgICAgICAgICAgIGJ5dGVzLnB1c2goKGMgJiAweDNGKSB8IDB4ODApO1xuICAgICAgICB9IGVsc2UgaWYgKGMgPj0gMHgwMDA4MDA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