Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@聚影✓@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi6IGa5b2x4pyTIiwiYXV0aG9yIjoiIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSIsInZlcnNpb24iOjMsImNvbF90eXBlIjoibW92aWVfMyIsImNsYXNzX25hbWUiOiIiLCJ0eXBlIjoidmlkZW8iLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczpcbmlmKGNvbmZpZy7kvp3otZYpe1xuICAgIHRyeXtcbiAgICAgICAgcmVxdWlyZShjb25maWcu5L6d6LWWKTtcbiAgICAgICAgeWlqaSgpO1xuICAgIH1jYXRjaChlKXtcbiAgICAgICAgbG9nKGUubWVzc2FnZSk7XG4gICAgICAgIHRvYXN0KGUubWVzc2FnZSk7XG4gICAgICAgIGNvbmZpcm0oe1xuICAgICAgICAgICAgdGl0bGU6J+S+nei1luWcsOWdgOWKoOi9veWksei0pScsIFxuICAgICAgICAgICAgY29udGVudDon5piv5ZCm6YeN5paw6I635Y+W5L6d6LWW77yfJywgXG4gICAgICAgICAgICBjb25maXJtOiQudG9TdHJpbmcoKCk9PntcbiAgICAgICAgICAgICAgICBjbGVhckl0ZW0oJ+S+nei1licpO1xuICAgICAgICAgICAgICAgIGluaXRDb25maWcoe+S+nei1ljonJ30pO1xuICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKGZhbHNlKTtcbiAgICAgICAgICAgICAgICB0b2FzdCgn5YG/6K+V5Yi35paw5L6d6LWW5Zyw5Z2AJyk7XG4gICAgICAgICAgICB9KSwgXG4gICAgICAgICAgICBjYW5jZWw6JC50b1N0cmluZygoKT0+e1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h5Lmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICB0cnkgeyAvL+i/nOeoi+S+nei1lue0ouW8lVxuICAgICAgICAgICAgICAgIHJlcXVpcmUoZ2hwcm94eVtpXSArICdodHRwczovL3Jhdy5naXRodWJ1c2VyY29udGVudC5jb20vc3JjNDg1OTc5NjIvaGsvbWFzdGVyL0p5UmVxdWlyZS5qcycsIHtcbiAgICAgICAgICAgICAgICAgICAgdGltZW91dDogMzAwMFxuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIGlmIChyZWx5ZmlsZSkge1xuICAgICAgICAgICAgICAgICAgICBzcmNIb21lID0gcmVseWZpbGUuaW5jbHVkZXMoJ3Jhdy5naXRodWInKSA/IGdocHJveHlbaV0gKyByZWx5ZmlsZSA6IHJlbHlmaWxlO1xuICAgICAgICAgICAgICAgICAgICBzZXRJdGVtKCfkvp3otZYnLCBzcmNIb21lKTtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgICAgICAgICQucmVxdWlyZSgnZ2hwcm94eScpLnNldHByb3h5KGdocHJveHlbaV0sIDApO1xuICAgICAgICAgICAgICAgIGxvZyhlLm1lc3NhZ2UpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuICAgIGluaXRDb25maWcoe1xuICAgICAgICDkvp3otZY6IHNyY0hvbWVcbiAgICB9KTtcbn1cbi8vYnku5biF4oiaYOS6uuaJjSIsInBhZ2VzIjoiW3tcImNvbF90eXBlXCI6XCJtb3ZpZV8zXCIsXCJuYW1lXCI6XCLkvp3otZbmlofku7ZcIixcInBhdGhcIjpcImNvbmZpZ1wiLFwicnVsZVwiOlwianM6XFxuJC5leHBvcnRzLnZlcnNpb24gPSAzO1wifSx7XCJjb2xfdHlwZVwiOlwibW92aWVfM1wiLFwibmFtZVwiOlwi5LqR5Y+j5Luk5a+85YWlXC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7XFxuICAgIGQucHVzaCh7XFxuICAgICAgICBjb2xfdHlwZTogXFxcImxpbmVcXFwiXFxuICAgIH0pO1xcbiAgICBwcm94eWxpc3QucmV2ZXJzZSgpO1xcbiAgICBwcm94eWxpc3QuZm9yRWFjaChpdCA9PiB7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiBpdC5zdG9wID8gJ+KAmOKAmOKAmeKAmTxmb250IGNvbG9yPVxcXCIjZjIwYzAwXFxcIj4nICsgaXQudXJsICsgJzwvZm9udD4nIDogaXQudXJsLFxcbiAgICAgICAgICAgIHVybDogJChbaXQuc3RvcCA/IFxcXCLlkK/nlKhcXFwiIDogXFxcIuWBnOeUqFxcXCIsIFxcXCLliKDpmaRcXFwiLCBcXFwi5aSN5Yi2XFxcIl0sIDEsIFxcXCJcXFwiKS5zZWxlY3QoKHVybCkgPT4ge1xcbiAgICAgICAgICAgICAgICBpZiAoaW5wdXQgPT0gXFxcIuWQr+eUqFxcXCIpIHtcXG4gICAgICAgICAgICAgICAgICAgICQucmVxdWlyZSgnZ2hwcm94eScpLnNldHByb3h5KHVybCwgMSk7XFxuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoaW5wdXQgPT0gXFxcIuWBnOeUqFxcXCIpIHtcXG4gICAgICAgICAgICAgICAgICAgICQucmVxdWlyZSgnZ2hwcm94eScpLnNldHByb3h5KHVybCwgMCk7XFxuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoaW5wdXQgPT0gXFxcIuWIoOmZpFxcXCIpIHtcXG4gICAgICAgICAgICAgICAgICAgICQucmVxdWlyZSgnZ2hwcm94eScpLnNldHByb3h5KHVybCwgMik7XFxuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoaW5wdXQgPT0gXFxcIuWkjeWItlxcXCIpIHtcXG4gICAgICAgICAgICAgICAgICAgIGNvcHkodXJsKTtcXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBcXFwiaGlrZXI6Ly9lbXB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