Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@🈲水果派的👄@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi8J+IsuawtOaenOa0vueahPCfkYQiLCJhdXRob3IiOiJUeXJhbnRHZW5lc2lzIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjaHR0cHM6Ly9hcGkuZjAzZDkuaW5mby9saWJyYXJ5P2xpbWl0PTEwJnBhZ2U9ZnlwYWdlJnBsYXRmcm9tPTAiLCJ2ZXJzaW9uIjoxLCJjb2xfdHlwZSI6InBpY18xX2NhcmQiLCJjbGFzc19uYW1lIjoiIiwidHlwZSI6Im90aGVyIiwiY2xhc3NfdXJsIjoiIiwiYXJlYV9uYW1lIjoiIiwiYXJlYV91cmwiOiIiLCJzb3J0X25hbWUiOiIiLCJ5ZWFyX25hbWUiOiIiLCJzb3J0X3VybCI6IiIsInllYXJfdXJsIjoiIiwiZmluZF9ydWxlIjoianM6XG50cnkge1xuICAgIHZhciBkID0gJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvaW5kZXgxJylcbn0gY2F0Y2ggKGUpIHtcbiAgICAvLyDkuLvpobVcbiAgICAvL3ZhciBkID0gJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvaW5kZXgnKVxuICAgIHNldEl0ZW0oJ3VwZGF0YScsICcxJyk7XG4gICAgcmVmcmVzaFBhZ2UoKVxufVxuaWYgKCFkKSB7XG4gICAgc2V0SXRlbSgnaG9zdF91cCcsICcxJylcbiAgICByZWZyZXNoUGFnZSgpXG59XG5zZXRSZXN1bHQoZCk7Iiwic2VhcmNoX3VybCI6Imhpa2VyOi8vZW1wdHk/d29yZD0qKiZwYWdlPWZ5cGFnZSIsImdyb3VwIjoiVHlyYW50RyIsInNlYXJjaEZpbmQiOiJqczpcbnZhciBkID0gJC5yZXF1aXJlKCdoaWtlcjovL3BhZ2UvU2VhcmNoJylcbl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A9PiB7XFxuICAgICAgICAgICAgICAgIGxldCBkID0gW107XFxuICAgICAgICAgICAgICAgIGNvbnN0IHBhcmFtcyA9IHtcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJhbmNob3JzX2lkXFxcIjogaXRlbS5pZCxcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJobVxcXCI6IFxcXCIwMDgtYXBpXFxcIixcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJsZW5ndGhcXFwiOiAxMixcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJwYWdlXFxcIjogTVlfVVJMLnNwbGl0KCcjIycpWzFdLFxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgIGNvbnN0IGhlYWRlcnMgPSB7XFxuICAgICAgICAgICAgICAgICAgICAnQ29udGVudC1UeXBlJzogJ2FwcGxpY2F0aW9uL2pzb24nLFxcbiAgICAgICAgICAgICAgICAgICAgJ1JlZmVyZXInOiAnaHR0cHM6Ly93d3cuc2h1aWd1b3BhaS5jb20vJyxcXG4gICAgICAgICAgICAgICAgICAgICdVc2VyLUFnZW50JzogTU9CSUxFX1VBXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgY29uc3QgZGF0YV9qc29uID0gZmV0Y2goXFxcImh0dHBzOi8vYXBpLmNiYmVlMC5jb20vdjFfMi9hbmNob3JzRGV0YWlsXFxcIiwge1xcbiAgICAgICAgICAgICAgICAgICAgaGVhZGVyczogaGVhZGVycyxcXG4gICAgICAgICAgICAgICAgICAgIG1ldGhvZDogJ1BPU1QnLFxcbiAgICAgICAgICAgICAgICAgICAgYm9keTogSlNPTi5zdHJpbmdpZnkocGFyYW1zKVxcbiAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgICAgICBsb2coZGF0YV9qc29uKVxcbiAgICAgICAgICAgICAgICBjb25zdCBsaXN0ID0gSlNPTi5wYXJzZShkYXRhX2pzb24pLmRhdGEubGlzdFxcbiAgICAgICAgICAgICAgICBjb25zdCBjZG4gPSBpdGVtLmNkblxcbiAgICAgICAgICAgICAgICBsaXN0LmZvckVhY2gocmVzID0+IHtcXG4gICAgICAgICAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6IHJlcy50aXRsZSxcXG4gICAgICAgICAgICAgICAgICAgICAgICBkZXNjOiByZXMuc3VidGl0bGUsXFxuICAgICAgICAgICAgICAgICAgICAgICAgcGljX3VybDogcmVzLmltZ191cmwsXFxuICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiAkKFxcXCJodHRwczovL3d3dy5zaHVpZ3VvcGFpLmNvbS9wbGF5LWRldGFpbHMvMS9cXFwiICsgcmVzLmxpYnJhcnlfaWQgKyBcXFwiL1xcXCIpLmxhenlSdWxlKF8gPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb25zdCBodG1sID0gZmV0Y2goaW5wdXQpXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAoaHRtbC5tYXRjaCgvdXJsOlxcXCIoLio/KWluZGV4Lm0zdThcXFwiLylbMV0pLnJlcGxhY2UoL1xcXFxcXFxcdTAwMkYvZywgJy8nKSArIFxcXCJpbmRleC5tM3U4XFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pLFxcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnbW92aWVfMidcXG4gICAgICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgICAgIHNldFJlc3VsdChkKTtcXG4gICAgICAgICAgICB9LCBpdGVtKSxcXG4gICAgICAgICAgICBjb2xfdHlwZTogJ2ljb25fcm91bmRfNCdcXG4gICAgICAgIH0pXFxuICAgIH0pXFxufVxcblxcblxcbiQuZXhwb3J0cyA9IGRcIn0se1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcIuivpuaDhemhtVwiLFwicGF0aFwiOlwiaW5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