Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@𝐀𝐕淘宝@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi8J2QgPCdkJXmt5jlrp0iLCJhdXRob3IiOiJSIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjaHR0cDovL3d3dy5hdnRiLmluZm8vIyNmeXBhZ2UiLCJ2ZXJzaW9uIjoyMDI1MDEwNCwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxuICAgIHZhciBkID0gW11cbmNvbnN0IGhvc3QgPSBcImh0dHA6Ly93d3cuYXZ0Yi5pbmZvXCJcbmNvbnN0IGNsYXNzTmFtZSA9IGdldE15VmFyKFwiY2xhc3NOYW1lXCIsIFwi5Li76aG1XCIpXG5sZXQgdXJsID0gZ2V0TXlWYXIoXCJ1cmxcIiwgaG9zdCArIFwiL1wiKVxuZXZhbChKU09OLnBhcnNlKGZldGNoKFwiaGlrZXI6Ly9wYWdlL+aWueazlVwiKSkucnVsZSk7XG5cbnZhciBwYWdlID0gZ2V0TXlWYXIoXCJwYWdlXCIsIE1ZX1BBR0UgKyBcIlwiKVxuZXZhbChKU09OLnBhcnNlKGZldGNoKFwiaGlrZXI6Ly9wYWdlL+aQnOe0olwiKSkucnVsZSk7XG5cbmlmIChjbGFzc05hbWUgIT09IFwi5Li76aG1XCIgJiYgIXVybC5pbmNsdWRlcyhcInNlYXJjaFwiKSkge1xuICBpZihwYWdlPjEpe1xuICAgIHVybD0gdXJsICsgXCJyZWNlbnQvXCIgKyBwYWdlICsg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ZW0pLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiBcXFwic2Nyb2xsX2J1dHRvblxcXCJcXG4gICAgICAgIH0pXFxuICAgIH0pXFxuICAgIC8v5pu05paw572R5Z2AXFxuICAgIC8qICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgdGl0bGU6IFxcXCLmm7TmlrDnvZHlnYBcXFwiLFxcbiAgICAgICAgICAgIHVybDog5pu05pawLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiBcXFwic2Nyb2xsX2J1dHRvblxcXCJcXG4gICAgICAgIH0pKi9cXG4gICAgZC5wdXNoKHtcXG4gICAgICAgIGNvbF90eXBlOiBcXFwiYmxhbmtfYmxvY2tcXFwiXFxuICAgIH0pXFxuICAgIGlmIChjbGFzc05hbWUgPT09IFxcXCLop4bpopHliIbnsbtcXFwiICYmICF1cmwuaW5jbHVkZXMoXFxcInNlYXJjaFxcXCIpKSB7XFxuICAgICAgICB2YXIgdGFnID0gcGRmYShodG1sLCBcXFwiLm5hdmlnYXRpb24mJmxpLDE6XFxcIilcXG4gICAgICAgIHRhZy5mb3JFYWNoKChpdGVtLCBpbmRleCkgPT4ge1xcbiAgICAgICAgICAgIGxldCB1cmwgPSBwZChpdGVtLCBcXFwiYSYmaHJlZlxcXCIpO1xcbiAgICAgICAgICAgIGxldCB0aXRsZSA9IHBkZmgoaXRlbSwgXFxcImEmJlRleHRcXFwiKTtcXG4gICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICB0aXRsZTogZ2V0TXlWYXIoXFxcInVybFxcXCIpID09IHVybCA/IFxcXCLigJzigJzigJ3igJ1cXFwiICsgdGl0bGUuZm9udGNvbG9yKFxcXCIjRkYwMEZGXFxcIikgOiB0aXRsZSxcXG4gICAgICAgICAgICAgICAgdXJsOiAkKHVybCArIFxcXCIjbm9Mb2FkaW5nI1xcXCIpLmxhenlSdWxlKCgpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKFxcXCJ1cmxcXFwiLCBpbnB1dClcXG4gICAgICAgICAgICAgICAgICAgIGNsZWFyTXlWYXIoXFxcInBhZ2VcXFwiKVxcbiAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UodHJ1ZSlcXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBcXFwiaGlrZXI6Ly9lbXB0eVxcXCJcXG4gICAgICAgICAgICAgICAgfSksXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiBcXFwic2Nyb2xsX2J1dHRvblxcXCIsXFxuICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICBpZiAoaW5kZXggPT0gMTEgfHwgaW5kZXggPT0gMjMpIHtcXG4gICAgICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiBcXFwiYmxhbmtfYmxvY2tcXFwiXFxuICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgfVxcbiAgICAgICAgfSlcXG4gICAgfVxcbn1cIn0se1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcIuaWueazlVwiLFwicGF0aFwiOlwi5pa55rOVXCIsXCJydWxlXCI6XCJmdW5jdGlvbiBwYWdlQWRkKHBhZ2UpIHtcXG4gICAgaWYgKGdldE15VmFyKFxcXCJwYWdlXFxcIikpIHtcXG4gICAgICAgIHB1dE15VmFyKFxcXCJwYWdlXFxcIiwgKHBhcnNlSW50KHBhZ2UpICsgMSkgKyAnJyk7XFxuICAgIH1cXG4gICAgcmV0dXJuO1xcbn0gLy/nv7vpobVcXG5cXG4gICAgZnVuY3Rpb24gcGFnZU1vdmV0byhwYWdlLCBwYWdlcykge1xcbiAgICAgICAgdmFyIGxvbmdDbGljayA9IFt7XFxuICAgICAgICAgICAgdGl0bGU6IFxcXCLpppbpobVcXFwiLFxcbiAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgICAgICAgICAgcHV0TXlWYXIoXFxcInBhZ2VcXFwiLCBcXFwiMVxcXCIpO1xcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgICAgICAgICByZXR1cm4gXFxcImhpa2VyOi8vZW1wdHlcXFwiO1xcbiAgICAgICAgICAgIH0pLFxcbiAgICAgICAgfSwge1xcbiAgICAgICAgICAgIHRpdGxlOiBcXFwi5LiK6aG1XFxcIixcXG4gICAgICAgICAgICBqczogJC50b1N0cmluZygocGFnZSkgPT4ge1xcbiAgICAgICAgICAgICAgICBpZiAocGFnZSA+IDEpIHtcXG4gICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKFxcXCJwYWdlXFxcIiwgKHBhcnNlSW50KHBhZ2UpIC0gMSkpO1xcbiAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoKTtcXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBcXFwiaGlrZXI6Ly9lbXB0eVxcXCI7XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9LCBwYWdlKSxcXG4gICAgICAgIH0sIHtcXG4gICAgICAgICAgICB0aXRsZTogXFxcIuesrFxcXCIgKyBwYWdlICsgXFxcIumhtVxcXCIsXFxuICAgICAgICAgICAganM6IFxcXCJcXFwiLFxcbiAgICAgICAgfSwge1xcbiAgICAgICAgICAgIHRpdGxlOiBcXFwi6Lez6L2sXFxcIixcXG4gICAgICAgICAgICBqczogJC50b1N0cmluZygoKSA9PiB7XFxuICAgICAgICAgICAgICAgIHJldHVybiAkKFxcXCJcXFwiKS5pbnB1dCgoKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcihcXFwicGFnZVxcXCIsIGlucHV0KTtcXG4gICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKCk7XFxuICAgICAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgIH0pLFxcbiAgICAgICAgfV07XFxuICAgICAgICBpZiAodHlwZW9mKHBhZ2VzKSAhPSAndW5kZWZpbmVkJykge1xcbiAgICAgICAgICAgIHZhciBleHRyYTEgPSB7XFxuICAgICAgICAgICAgICAgIHRpdGxlOiBcXFwi5bC+6aG1XFxcIiArIHBhZ2VzLFxcbiAgICAgICAgICAgICAgICBqczogJC50b1N0cmluZygocGFnZXMpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKFxcXCJwYWdlXFxcIiwgcGFnZXMpO1xcbiAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoKTtcXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBcXFwiaGlrZXI6Ly9lbXB0eVxcXCI7XFxuICAgICAgICAgICAgICAgIH0sIHBhZ2VzKSxcXG4gICAgICAgICAgICB9O1xcbiAgICAgICAgICAgIGxvbmdDbGljay5wdXNoKGV4dHJhMSlcXG4gICAgICAgIH1cXG4gICAgICAgIHJldHVybiBsb25nQ2xpY2tcXG4gICAgfSAvL+mVv+aMiei3s+mhtVwifSx7XCJjb2xfdHlwZVwiOlwibW92aWVfM1wiLFwibmFtZVwiOlwi5YiX6KGoXCIsXCJwYXRoXCI6XCLliJfooahcIixcInJ1bGVcIjpcIiAgICB0cnkge1xcbiAgICAgICAgdmFyIHBhZ2VzID0gcGRmaChodG1sLCBcXFwiLnBhZ2luYXRpb24mJmEsLTImJlRleHRcXFwiKVxcbiAgICB9IGNhdGNoIHtcXG4gICAgICAgIHZhciBwYWdlcyA9IHBhZ2VcXG4gICAgfVxcblxcbiAgICB2YXIgbGlzdCA9IHBkZmEoaHRtbCwgXFxcIi52aWRlb3MmJmxpXFxcIilcXG5cXG4gICAgbGlzdC5mb3JFYWNoKGl0ZW0gPT4ge1xcbiAgICAgICAgbGV0IHVybCA9IHBkKGl0ZW0sIFxcXCJhJiZocmVmXFxcIilcXG4gICAgICAgIGxldCB0aXRsZSA9IHBkZmgoaXRlbSwgXFxcImltZyYmYWx0XFxcIik7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiB0aXRsZSxcXG4gICAgICAgICAgICBkZXNjOiBwZGZoKGl0ZW0sIFxcXCIudmlkZW8tb3ZlcmxheSYmVGV4dFxcXCIpLFxcbiAgICAgICAgICAgIGltZzogcGQoaXRlbSwgXFxcImltZyYmc3JjXFxcIiksXFxuICAgICAgICAgICAgdXJsOiB1cmwgKyAnQGxhenlSdWxlPXNvdXJjZSYmc3JjJyxcXG4gICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICBsb25nQ2xpY2s6IE1ZX1RZUEUgIT09IFxcXCJzZWFyY2hcXFwiID8gcGFnZU1vdmV0byhwYWdlLCBwYWdlcykgOiBcXFwiXFxcIlxcbiAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgY29sX3R5cGU6IFxcXCJtb3ZpZV8yXFxcIixcXG4gICAgICAgIH0pXFxuICAgIH0pXCJ9LHtcImNvbF90eXBlXCI6XCJtb3ZpZV8zXCIsXCJuYW1lXCI6XCLmkJzntKJcIixcInBhdGhcIjpcIuaQnOe0olwiLFwicnVsZVwiOlwiICAgICAgICBpZiAocGFnZSA9PSAxKSB7XFxuICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgdGl0bGU6IFxcXCLwn5SNXFxcIixcXG4gICAgICAgICAgICAgICAgdXJsOiAkLnRvU3RyaW5nKChob3N0KSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICBpZiAoaW5wdXQudHJpbSgpICE9IFxcXCJcXFwiKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcHV0TXlWYXIoJ2tleXdvcmQnLCBpbnB1dCk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHNlYXJjaFVybCA9IGhvc3QgKyBcXFwiL3NlYXJjaC92aWRlby8/cz1cXFwiICsgaW5wdXRcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcihcXFwidXJsXFxcIiwgc2VhcmNoVXJsKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGVhck15VmFyKFxcXCJwYWdlXFxcIilcXG4gICAgICAgICAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBcXFwiaGlrZXI6Ly9lbXB0eVxcXCJcXG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGtleXMgPSBsaXN0TXlWYXJLZXlzKCk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgaXQgb2Yga2V5cykge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGVhck15VmFyKGl0KTtcXG4gICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcImhpa2VyOi8vZW1wdHlcXFwiXFxuICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgIH0sIGhvc3QpLFxcbiAgICAgICAgICAgICAgICBkZXNjOiAn5pCc57SiLi4uJyxcXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6IFxcXCJpbnB1dFxcXCIsXFxuICAgICAgICAgICAgICAgIGV4dHJhOiB7XFxuICAgICAgICAgICAgICAgICAgICBkZWZhdWx0VmFsdWU6IGdldE15VmFyKCdrZXl3b3JkJywgJycpIHx8IFxcXCJcXFwiLFxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfSk7XFxuICAgICAgICB9XCJ9XSIsImljb24iOiJodHRwczovLzViMDk4OGU1OTUyMjUuY2RuLnNvaHVjcy5jb20vaW1hZ2VzLzIwMjAwMjI5L2FmNDVhM2FmMDRhMzQ1MTFiNGVhZmUzNGZiMTg2YjFjLnBuZyIsInByb3h5IjoiIn0=
Add Comment
Please, Sign In to add comment