xiaomianao666

小程序:APP聚合X1311

May 26th, 2023
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@APP聚合X1311@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoiQVBQ6IGa5ZCIWDEzMTEiLCJhdXRob3IiOiIiLCJ1cmwiOiJoaWtlcjovL2VtcHR5I2Z5QWxsI2Z5cGFnZSIsInZlcnNpb24iOjAsImNvbF90eXBlIjoicGljXzFfY2FyZCIsImNsYXNzX25hbWUiOiLmprTojrLns7sm6JW+5LidJllUQiblsI/onYzomqom56eL6JG1IiwidHlwZSI6ImFsbCIsImNsYXNzX3VybCI6IuamtOiOsuezuybolb7kuJ0mWVRCJuWwj+idjOiaqibnp4vokbUiLCJhcmVhX25hbWUiOiLojYnojpMm5Lid55OcJuWQkeaXpeiRtSborr7nva4iLCJhcmVhX3VybCI6IuiNieiOkybkuJ3nk5wm5ZCR5pel6JG1Juiuvue9riIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczpcclxubGV0IGl0ZW1zID0gW107XHJcbmNvbnN0IHR5cGUgPSBNWV9VUkwuc3BsaXQoJyMnKVsxXTtcclxubGV0IG1hcCA9IHN0b3JhZ2UwLmdldE15VmFyKCdtYXAnKTtcclxuLy8gZm9yIChsZXQgdiBpbiBtYXApIHtcclxuLy8gICBpdGVtcy5wdXNoKHtcclxuLy8gICAgIHRpdGxlOiB2LFxyXG4vLyAgICAgY29sX3R5cGU6IFwiZmxleF9idXR0b25cIlxyXG4vLyAgIH0pXHJcbi8vIH1cclxuY29uc3QgZ2V0VGFicyA9IGRvbWFpbiA9PiB7XHJcbiAgcmV0dXJuIEpTT04ucGFyc2UoZmV0Y2goYGh0dHA6Ly8ke2RvbWFpbn0vYXBpL3ZpZGVvc29ydC9gLCB7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pXHJcbiAgICAgICAgICBtYXBba2V5XS5mb3JFYWNoKGRvbWFpbiA9PiB7XHJcbiAgICAgICAgICAgIGl0ZW1zLnB1c2goe1xyXG4gICAgICAgICAgICAgIHRpdGxlOiBkb21haW4sXHJcbiAgICAgICAgICAgICAgY29sX3R5cGU6ICdmbGV4X2J1dHRvbidcclxuICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgdGFza3MucHVzaCh7XHJcbiAgICAgICAgICAgICAgZnVuYzogb2JqID0+IEpTT04ucGFyc2UoZmV0Y2goYGh0dHA6Ly8ke29iai51cmx9L2FwaS92aWRlb3NvcnQvYCwgeyBoZWFkZXJzOiB7ICdVc2VyLUFnZW50JzogJ01vemlsbGEnIH0gfSkpLFxyXG4gICAgICAgICAgICAgIHBhcmFtOiB7IHVybDogZG9tYWluIH0sXHJcbiAgICAgICAgICAgICAgaWQ6IGRvbWFpblxyXG4gICAgICAgICAgICB9KVxyXG4gICAgICAgICAgfSlcclxuICAgICAgICB9XHJcbiAgICAgICAgbGV0IHJlc3VsdHMgPSBbXVxyXG4gICAgICAgIGxldCBjb3VudCA9IHRhc2tzLmxlbmd0aDtcclxuICAgICAgICBiZSh0YXNrcywge1xyXG4gICAgICAgICAgZnVuYzogKG9iaiwgaWQsIGVycm9yLCB0YXNrUmVzdWx0KSA9PiB7XHJcbiAgICAgICAgICAgIGlmICh0YXNrUmVzdWx0KSB7XHJcbiAgICAgICAgICAgICAgb2JqLnJlc3VsdHMucHVzaChpZClcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAtLWNvdW50XHJcbiAgICAgICAgICAgIGlmIChjb3VudCA+IDApIHtcclxuICAgICAgICAgICAgICBzaG93TG9hZGluZygn5LyY5YyW5rWL6K+V5Lit77yM5Ymp5L2Z77yaJyArIGNvdW50KVxyXG4gICAgICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICAgIHRvYXN0KCfkvJjljJbmtYvor5Xlrozmr5UnKVxyXG4gICAgICAgICAgICAgIGhpZGVMb2FkaW5nKClcclxuICAgICAgICAgICAgICByZXR1cm4gJ2JyZWFrJ1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICB9LFxyXG4gICAgICAgICAgcGFyYW06IHtcclxuICAgICAgICAgICAgcmVzdWx0czogcmVzdWx0c1xyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH0pXHJcbiAgICAgICAgaXRlbXMuZm9yRWFjaCh2ID0+IHtcclxuICAgICAgICAgIGlmIChyZXN1bHRzLmluY2x1ZGVzKHYudGl0bGUpKVxyXG4gICAgICAgICAgICB2LnRpdGxlID0gYOKAnOKAnOKAneKAnTxmb250IGNvbG9yPVwiIzE4YTA1OFwiPjxiPiR7di50aXRsZX08L2I+PC9mb250PmBcclxuICAgICAgICB9KVxyXG4gICAgICAgIE9iamVjdC5rZXlzKG1hcCkuZm9yRWFjaChrZXkgPT4ge1xyXG4gICAgICAgICAgbWFwW2tleV0gPSByZXN1bHRzLmZpbHRlcihkYXRhID0+IG1hcFtrZXldLmluY2x1ZGVzKGRhdGEpKVxyXG4gICAgICAgIH0pXHJcbiAgICAgICAgc3RvcmFnZTAucHV0TXlWYXIoJ19NYXAnLCBpdGVtcylcclxuICAgICAgICBzdG9yYWdlMC5zZXRJdGVtKCdtYXAnLCBtYXApXHJcbiAgICAgICAgcmVmcmVzaFBhZ2UoKTtcclxuICAgICAgICByZXR1cm4gJ2hpa2VyOi8vZW1wdHknXHJcbiAgICAgIH0pLFxyXG4gICAgICBkZXNjOiAn5LyY5YyWIG1hcCDliJfooajvvIzljrvpmaTkuI3og73orr/pl67nmoTvvIzliqDlv6vorr/pl67pgJ/luqYnLFxyXG4gICAgICBjb2xfdHlwZTogJ3RleHRfMScsXHJcbiAgICAgIGV4dHJhOiB7IGxpbmVWaXNpYmxlOiBmYWxzZSB9XHJcbiAgICB9KTtcclxuICAgIGl0ZW1zID0gaXRlbXMuY29uY2F0KHN0b3JhZ2UwLmdldE15VmFyKCdfTWFwJykpXHJcbi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xMDQuY29tJyxcclxuICAgIC8vIOWuheeUt1xyXG4gICAgJ2dudHdheC5jb20nLCAneWxwY3ZyLmNvbScsICdiamZidXEuY29tJywgJ2txY2ZycS5jb20nLCAncGRwdWxmLmNvbScsXHJcbiAgICAvLyAxMDI0XHJcbiAgICAneWpiLnR3JywgJ3lqYjEwMjQuY29tJyxcclxuICAgIC8vIOefs+amtFxyXG4gICAgJ2F3cHdkZi5jb20nLCAnenVwZnllLmNvbScsICdlam5kZ2wuY29tJywgJ3dheWRlei5jb20nLCAnc3BpamJxLmNvbSdcclxuICBdXHJcbn1cclxuLy8g5rOo77ya5pu05pS55ZCO77yM6K+35LiA5a6a5LiA5a6a5LiA5a6a6KaB6L+b6K6+572u54K55LiL5LyY5YyW5rWL6K+V77yM5ZCm5YiZ5Y+v6IO95LiN55Sf5pWIXHJcbnN0b3JhZ2UwLnB1dE15VmFyKCdtYXAnLCBIT1NUU19NQVApOyIsInBhZ2VzIjoiW10iLCJpY29uIjoiIiwicHJveHkiOiIifQ==
Add Comment
Please, Sign In to add comment