Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@智能TV推送@eyJmaXJzdEhlYWRlciI6ImNsYXNzIiwibGFzdF9jaGFwdGVyX3J1bGUiOiIiLCJ0aXRsZSI6IuaZuuiDvVRW5o6o6YCBIiwiYXV0aG9yIjoi6YGT6ZW/IiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjIiwidmVyc2lvbiI6OCwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ0b29sIiwiY2xhc3NfdXJsIjoiIiwiYXJlYV9uYW1lIjoiIiwiYXJlYV91cmwiOiIiLCJzb3J0X25hbWUiOiIiLCJ5ZWFyX25hbWUiOiIiLCJzb3J0X3VybCI6IiIsInllYXJfdXJsIjoiIiwiZmluZF9ydWxlIjoianM6XG5sZXQgaXA9Z2V0SVAoKTtcbi8vbG9nKGlwKTtcbnZhciBkID0gW107XG5kLnB1c2goe1xuICAgIHRpdGxlOiflvZPliY1pcDonK2lwLFxuICAgIGltZzpNWV9SVUxFLmljb24sXG4gICAgY29sX3R5cGU6J2F2YXRhcicsXG4gICAgdXJsOid0b2FzdDovL+mBk+mVv+W8gOWPke+8jOeUqOS6jua1t+mYlGRy5qih5p2/6L2s56CB572R6aG15ZCO5o6o6YCB5YiwVFZCT1gnXG59KTtcbmQucHVzaCh7XG4gICAgdGl0bGU6IFwi6LWw5L2gXCIsXG4gICAgdXJsOiAkLnRvU3RyaW5nKCgpID0+IHtcbiAgICAgICAgaWYoIWlucHV0LnRyaW0oKS5zdGFydHNXaXRoKCdodHRwJykpe1xuICAgICAgICAgICAgcmV0dXJuICd0b2FzdDovL+WVpemDveS4jeWhq++8jOS9oOaDs+W5suWYmz8nXG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIFwiaGlrZXI6Ly9wYWdlL2RycGFyc2U/dT1cIiArIGJhc2U2NEVuY29kZShpbnB1dCkrJ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xcbiAgICBpZiAoaXNDaGFwdGVyKGl0LCBwcmUsIG5leHQpKSB7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiB0LFxcbiAgICAgICAgICAgIHVybDogXFxcInZpZGVvOi8vXFxcIiArIGl0LmhyZWYsXFxuICAgICAgICAgICAgY29sX3R5cGU6IFxcXCJ0ZXh0XzNcXFwiXFxuICAgICAgICB9KTtcXG4gICAgfVxcbn1cXG5cXG4vL+S4uue6v+i3r+WKoOWIhuWJsue6v1xcbmxldCBkMiA9IFtdO1xcbmZvciAobGV0IGkgPSAwOyBpIDwgZC5sZW5ndGg7IGkrKykge1xcbiAgICBkMi5wdXNoKGRbaV0pO1xcbiAgICBpZiAoaSA8IGQubGVuZ3RoIC0gMSkge1xcbiAgICAgICAgbGV0IGl0ID0gZFtpXTtcXG4gICAgICAgIGxldCB0MSA9IHBhcnNlSW50KGNsZWFyVGV4dChpdC50aXRsZSkpO1xcbiAgICAgICAgbGV0IG5leHQgPSBkW2kgKyAxXTtcXG4gICAgICAgIGxldCB0MiA9IHBhcnNlSW50KGNsZWFyVGV4dChuZXh0LnRpdGxlKSk7XFxuICAgICAgICBpZiAodDIgLSB0MSA+IDEgfHwgdDEgLSB0MiA+IDEpIHtcXG4gICAgICAgICAgICBkMi5wdXNoKHtcXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6IFxcXCJiaWdfYmxhbmtfYmxvY2tcXFwiXFxuICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgZDIucHVzaCh7XFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiBcXFwibGluZV9ibGFua1xcXCJcXG4gICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICBkMi5wdXNoKHtcXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6IFxcXCJiaWdfYmxhbmtfYmxvY2tcXFwiXFxuICAgICAgICAgICAgfSk7XFxuICAgICAgICB9XFxuICAgIH1cXG59XFxuXFxuc2V0UmVzdWx0KGQyKTtcIn0se1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcImRy6Kej5p6QXCIsXCJwYXRoXCI6XCJkcnBhcnNlXCIsXCJydWxlXCI6XCJqczpcXG52YXIgZCA9IFtdO1xcbmxldCB1cmwgPSBiYXNlNjREZWNvZGUoZ2V0UGFyYW0oXFxcInVcXFwiKS5zcGxpdCgnIycpWzBdKS50cmltKCk7XFxuaWYoIXVybC5zdGFydHNXaXRoKCdodHRwJykpe1xcbiAgICBzZXRSZXN1bHQoe1xcbiAgICAgICAgdGl0bGU6J+iwg+eUqOmTvuaOpeacieivrycsXFxuICAgICAgICB1cmw6J3RvYXN0Oi8vJyt1cmwsXFxuICAgICAgICBkZXNjOnVybCxcXG4gICAgICAgIGNvbF90eXBlOid0ZXh0XzEnXFxuICAgIH0pO1xcbn1lbHNle1xcbk1ZX1VSTD0naGlrZXI6Ly9lbXB0eSMjJyt1cmw7XFxuLy9sb2coTVlfVVJMKTtcXG5yZXF1aXJlKGNvbmZpZy7oh6rliqjljLnphY0pO1xcbuWXheaOoigpO1xcbnZhciDll4XmjqLnvJPlrZg9MTtcXG7oh6rliqjkuoznuqcobGF6eSk7XFxufVwifV0iLCJpY29uIjoiaHR0cHM6Ly9sYW5tZWlndW9qaWFuZy5jb20vdHViaWFvL21vcmUvMzM3LnBuZyIsInByb3h5IjoiIn0=
Add Comment
Please, Sign In to add comment