Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@影搜聚合@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi5b2x5pCc6IGa5ZCIIiwiYXV0aG9yIjoiIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjIiwidmVyc2lvbiI6NiwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxudmFyIGQgPSBbXTtcbmxldCBlbmdpbmVzID0ge1xuICAgIFwi6Iy25p2v54uQXCI6IHtcbiAgICAgICAgczogXCJodHRwczovL2N1cGZveC5hcHAvc2VhcmNoP2tleT0qKlwiLFxuICAgICAgICBpOiBcImh0dHBzOi8vcDAubWVpdHVhbi5uZXQvZHBncm91cC9jZDA4ODA0NGYxODNkMjcxOWYzZjlmZTU2ZDVjMzQyMDQyMDcucG5nXCJcbiAgICB9LFxuICAgIFwi55m95auW6ICFXCI6IHtcbiAgICAgICAgaDogXCJodHRwczovL3d3dy5icHpoZS5jb20vXCIsXG4gICAgICAgIHM6IGZ1bmN0aW9uKHMpIHtcbiAgICAgICAgICAgIHNob3dMb2FkaW5nKFwi5b6I5b+r5bCx5aW977yM5a6i5a6Y6K+356iN562JXCIpO1xuICAgICAgICAgICAgbGV0IGxvYWQgPSBmdW5jdGlvbihzLCBjb3VudCkge1xuICAgICAgICAgICAgICAgIGlmIChjb3VudCA+IDMpIHtcbiAgICAgICAgICAgICAgICAgICAgdG9hc3QoXCLph43or5XkuInmrKHkvp3nhLblpLHotKXvvIznvZHnq5nmnInmr5JcIik7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgICAgICBsZXQgaHRtbCA9IHBvc3RSZXF1ZXN0KFwiaHR0cHM6Ly93d3cuYnB6aGUuY29tL2Uvc2VhcmNoL2luZGV4LnBocFwiLCB7XG4gICAgICAgICAgICAgICAgICAgICAgICBoZWFkZXJzOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJSZWZlcmVyXCI6IFwiaHR0cHM6Ly93d3cuYnB6aGUuY29tL1wiXG4gICAgICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICAgICAgcmVkaXJlY3Q6IGZhbHNlLFxuICAgICAgICAgICAgICAgICAgICAgICAgd2l0aEhlYWRlcnM6IHRydWUsXG4gICAgICAgICAgICAgICAgICAgICAgICBib2R5OiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc2hvdzogXCJ0aXRsZVwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRibmFtZTogXCJtb3ZpZVwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRlbXBpZDogMSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBrZXlib2FyZDogc1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgbGV0IGpzb24gPSBKU09OLnBhcnNlKGh0bWwpO1xuICAgICAgICAgICAgICAgICAgICBpZiAoaHRtbC5pbmNsdWRlcyhcIuayoeacieaQnOe0ouWIsOebuOWFs+eahOWGheWuuVwiKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgdG9hc3QoXCLmsqHmnInmkJzntKLliLDnm7jlhbPnmoTlhoXlrrnvvIzmjaLkuKrlhbPplK7or43miJbogIXnq5nngrnlkKdcIik7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBsb2coanNvbik7XG4gICAgICAgICAgICAgICAgICAgIGlmIChodG1sLmluY2x1ZGVzKFwi57O757uf6ZmQ5Yi255qE5pCc57Si5pe26Ze06Ze06ZqU5Li6IDUg56eSXCIpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0b2FzdChcIue9keermemZkOWItueahOaQnOe0ouaXtumXtOmXtOmalOS4uiA1IOenku+8jOivt+eojeWAmeWGjeivlVwiKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIGxldCBoZWFkZXJzID0ganNvbi5oZWFkZXJzO1xuICAgICAgICAgICAgICAgICAgICBsZXQgdSA9IGhlYWRlcnMubG9jYXRpb25bMF07XG4gICAgICAgICAgICAgICAgICAgIGlmICh1LmluY2x1ZGVzKFwiaWQ9XCIpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdTtcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBsb2FkKHMsIGNvdW50ICsgMSk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBsb2FkKHMsIGNvdW50ICsgMSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgbGV0IHUgPSBsb2FkKHMsIDEpO1xuICAgICAgICAgICAgaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgIGlmICh1ID09IG51bGwpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gXCJoaWtlcjovL2VtcHR5XCI7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAvL2xvZyhoZWFkZXJzKTtcbiAgICAgICAgICAgIHJldHVybiBcImh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7XG4gICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xuICAgICAgICAgICAgcmV0dXJuIFwiaGlrZXI6Ly9lbXB0eVwiO1xuICAgICAgICB9LCBpdCksXG4gICAgICAgIGNvbF90eXBlOiBcImZsZXhfYnV0dG9uXCIsXG4gICAgfSk7XG59XG5pZiAobWVtLmxlbmd0aCA+IDApIHtcbiAgICBkLnB1c2goe1xuICAgICAgICB0aXRsZTogXCLmuIXnqbpcIixcbiAgICAgICAgdXJsOiAkKFwiI25vTG9hZGluZyNcIikubGF6eVJ1bGUoKCkgPT4ge1xuICAgICAgICAgICAgY2xlYXJJdGVtKFwiaFwiKTtcbiAgICAgICAgICAgIHJlZnJlc2hQYWdlKCk7XG4gICAgICAgICAgICByZXR1cm4gXCJoaWtlcjovL2VtcHR5XCI7XG4gICAgICAgIH0pLFxuICAgICAgICBjb2xfdHlwZTogXCJmbGV4X2J1dHRvblwiLFxuICAgIH0pO1xufVxuXG5mb3IgKGxldCBpdCBvZiBrZXlzKSB7XG4gICAgbGV0IGggPSBlbmdpbmVzW2l0XS5oO1xuICAgIGlmIChoID09IG51bGwpIHtcbiAgICAgICAgaCA9IGdldEhvbWUoZW5naW5lc1tpdF0ucyk7XG4gICAgfVxuICAgIGQucHVzaCh7XG4gICAgICAgIHRpdGxlOiBpdCxcbiAgICAgICAgdXJsOiAkKFwiI25vTG9hZGluZyNcIikubGF6eVJ1bGUoKGVuZywgcywgZ2V0U2VhcmNoVXJsLCBoKSA9PiB7XG4gICAgICAgICAgICBsZXQga3cgPSBnZXRNeVZhcihcInNcIik7XG4gICAgICAgICAgICBpZiAoa3cgPT0gXCJcIikge1xuICAgICAgICAgICAgICAgIHJldHVybiBoO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgc2V0SXRlbShcImVuZ1wiLCBlbmcpO1xuICAgICAgICAgICAgcmV0dXJuIGdldFNlYXJjaFVybChrdywgcyk7XG4gICAgICAgIH0sIGl0LCBlbmdpbmVzW2l0XS5zLCBn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