Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@瓜果聚合@eyJmaXJzdEhlYWRlciI6ImNsYXNzIiwibGFzdF9jaGFwdGVyX3J1bGUiOiIiLCJ0aXRsZSI6IueTnOaenOiBmuWQiCIsImF1dGhvciI6IkBMb3lEZ0lrIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSNmeXBhZ2UiLCJ2ZXJzaW9uIjowLCJjb2xfdHlwZSI6Im1vdmllXzEiLCJjbGFzc19uYW1lIjoiIiwidHlwZSI6InZpZGVvIiwiY2xhc3NfdXJsIjoiIiwiYXJlYV9uYW1lIjoiIiwiYXJlYV91cmwiOiIiLCJzb3J0X25hbWUiOiIiLCJ5ZWFyX25hbWUiOiIiLCJzb3J0X3VybCI6IiIsInllYXJfdXJsIjoiIiwiZmluZF9ydWxlIjoianM6XG5sZXQgdXJsTWFwID0gJC5yZXF1aXJlKFwiaGlrZXI6Ly9wYWdlL3VybFNldC5qc1wiKTtcbmxldCBtYXBpID0gTnVtYmVyKGdldE15VmFyKFwiOm1hcGlcIiwgXCIwXCIpKTtcbmxldCBpbWcgPSBbXTtcbmxldCB0VXJsID0gdXJsTWFwW21hcGldLnVybDtcbmxldCBoVXJsID0gdFVybCArIFwiYXBpL3ZpZGVvc29ydC9cIjtcbmxldCB0YWcgPSBbe1xuICAgIG5hbWU6IFwi5YWo6YOoXCIsXG4gICAgaWQ6IDBcbn1dO1xubGV0IGlUYWcgPSBnZXRNeVZhcihcIjppVGFnXCIsIFwiXCIpO1xuaWYgKGlUYWcpIHtcbiAgICBpVGFnID0gSlNPTi5wYXJzZShpVGFnKTtcbn0gZWxzZSB7XG4gICAgdHJ5IHtcbiAgICAgICAgaVRhZyA9IEpTT04ucGFyc2UoZmV0Y2goaFVybCwge1xuICAgICAgICAgICAgaGVhZGVyczoge1xuICAgICAgICAgICAgICAgICdVc2VyLUFnZW50JzogJ29raHR0cC8zLjEyLjEn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ICAgICB9LCBpKSxcbiAgICAgICAgICAgIGNvbF90eXBlOiBcInNjcm9sbF9idXR0b25cIlxuICAgICAgICB9KTtcbiAgICB9KTtcbiAgICBsYXlvdXQucHVzaCh7XG4gICAgICAgIGNvbF90eXBlOiBcImJsYW5rX2Jsb2NrXCJcbiAgICB9KTtcbiAgICBsYXlvdXQucHVzaCh7XG4gICAgICAgIHRpdGxlOiBcIuWIhuexu++8mlwiLFxuICAgICAgICB1cmw6IFwiaGlrZXI6Ly9lbXB0eVwiLFxuICAgICAgICBjb2xfdHlwZTogXCJzY3JvbGxfYnV0dG9uXCJcbiAgICB9KTtcbiAgICB0YWcuZm9yRWFjaCgoaXRlbSwgaSkgPT4ge1xuICAgICAgICBsYXlvdXQucHVzaCh7XG4gICAgICAgICAgICB0aXRsZTogdGFnaSA9PT0gaSA/IFwi4oCY4oCYXCIgKyBpdGVtLm5hbWUgKyBcIuKAmeKAmVwiIDogaXRlbS5uYW1lLFxuICAgICAgICAgICAgdXJsOiAkKFwiI25vTG9hZGluZyNcIikubGF6eVJ1bGUoKGkpID0+IHtcbiAgICAgICAgICAgICAgICBwdXRNeVZhcihcIjp0YWdpXCIsIFwiXCIgKyBpKTtcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xuICAgICAgICAgICAgICAgIHJldHVybiBcImhpa2VyOi8vZW1wdHlcIjtcbiAgICAgICAgICAgIH0sIGkpLFxuICAgICAgICAgICAgY29sX3R5cGU6IFwic2Nyb2xsX2J1dHRvblwiXG4gICAgICAgIH0pO1xuICAgIH0pO1xuICAgIGxheW91dC5wdXNoKHtcbiAgICAgICAgdXJsOiAnXCJoaWtlcjovL3NlYXJjaD9zPVwiK2lucHV0JyxcbiAgICAgICAgZGVzYzogXCLmkJzkvaDmg7PopoHnmoQuLi4uLi5cIixcbiAgICAgICAgdGl0bGU6IFwi5pCc57SiXCIsXG4gICAgICAgIGNvbF90eXBlOiBcImlucHV0XCIsXG4gICAgICAgIGV4dHJhOiB7XG4gICAgICAgICAgICBydWxlczogJC50b1N0cmluZygodXJsTWFwLCBtYXBpKSA9PiB7XG4gICAgICAgICAgICAgICAgbGV0IGFycjEgPSBbXTtcbiAgICAgICAgICAgICAgICB1cmxNYXAudW5zaGlmdCh1cmxNYXAuc3BsaWNlKG1hcGksIDEpWzBdKTtcbiAgICAgICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IHVybE1hcC5sZW5ndGg7IGkrKykge1xuICAgICAgICAgICAgICAgICAgICBhcnIxLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgICAgXCJ0aXRsZVwiOiB1cmxNYXBbaV0ubmFtZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIFwic2VhcmNoX3VybFwiOiBcImhpa2VyOi8vZW1wdHk/c2VhcmNoVGVybXM9KiomcGFnZT1meXBhZ2UmaW5kZXg9XCIgKyBpLFxuICAgICAgICAgICAgICAgICAgICAgICAgXCJzZWFyY2hGaW5kXCI6IFwianM6ICQucmVxdWlyZSgnaGlrZXI6Ly9wYWdlL1NlYXJjaC52aWV3P3J1bGU9JytNWV9SVUxFLl90aXRsZSk7XCJcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHJldHVybiBKU09OLnN0cmluZ2lmeShhcnIxKTtcbiAgICAgICAgICAgIH0sIHVybE1hcCwgbWFwaSksXG4gICAgICAgICAgICBkZWZhdWx0VmFsdWU6IGdldE15VmFyKFwic2VhcmNoS2V5XCIsIFwiXCIpLFxuICAgICAgICAgICAgb25DaGFuZ2U6IFwicHV0TXlWYXIoJ3NlYXJjaEtleScsaW5wdXQpXCJcbiAgICAgICAgfVxuICAgIH0pO1xufVxuXG5sZXQgbGF6eUxvYWRJbWFnZSA9IChwaWNfdXJsLCBpZCkgPT4ge1xuICAgIGxldCBpbWcgPSBcImRhdGE6aW1hZ2UvcG5nO2Jhc2U2NCwvOWpcIiArIHJlcXVlc3QocGljX3VybCkuc3B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dGltZXM7XFxuICAgIH1cXG4gICAgaWYgKGl0ZW0udXBkYXRlZF9hdCkge1xcbiAgICAgICAgZGVzYyArPSAoZGVzYyA/IFxcXCJcXFxcblxcXCIgOiBcXFwiXFxcIikgKyBcXFwi5pu05paw5pe26Ze077yaXFxcIiArIGl0ZW0udXBkYXRlZF9hdDtcXG4gICAgfVxcbiAgICBsZXQgcGljID0gXFxcIlxcXCI7XFxuICAgIGlmIChpdGVtLmNvdmVycGF0aCkge1xcbiAgICAgICAgcGljID0gaXRlbS5jb3ZlcnBhdGg7XFxuICAgIH0gZWxzZSBpZiAoaXRlbS5jb3ZlcmJhc2U2NCAmJiBpdGVtLmNvdmVyYmFzZTY0LnVybCkge1xcbiAgICAgICAgcGljID0gJ2h0dHBzOi8vd3d3LmhlbGxvaW1nLmNvbS9pbWFnZXMvMjAyMi8wOC8yOS9aemJjRnIuZ2lmJ1xcbiAgICAgICAgY29uc3QgRGVzRGVjb2RlID0gKHBpY191cmwsIGlkKSA9PiB7XFxuICAgICAgICAgICAgbGV0IGltZyA9IFxcXCJkYXRhOmltYWdlL3BuZztiYXNlNjQsLzlqXFxcIiArIHJlcXVlc3QocGljX3VybCkuc3BsaXQoXFxcIi85alxcXCIpWzFdXFxuICAgICAgICAgICAgdXBkYXRlSXRlbSh7XFxuICAgICAgICAgICAgICAgIGltZzogaW1nLFxcbiAgICAgICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICAgICAgaWQ6IGlkXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgfVxcbiAgICB9XFxuICAgIGxheW91dC5wdXNoKHtcXG4gICAgICAgIHRpdGxlOiBpdGVtLnRpdGxlLFxcbiAgICAgICAgcGljX3VybDogcGljLFxcbiAgICAgICAgZGVzYzogZGVzYyxcXG4gICAgICAgIHVybDogJCh0VXJsICsgXFxcImFwaS92aWRlb3BsYXkvXFxcIiArIGl0ZW0uaWQgKyBcXFwiP3V1aWQ9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