Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@轻直播.镇弟@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi6L2755u05pKtLumVh+W8nyIsImF1dGhvciI6IumVh+W8nyIsInVybCI6Imhpa2VyOi8vZW1wdHkjI2h0dHBzOi8vY2RuLmpzZGVsaXZyLm5ldC9naC9xaXVzdW5zaGluZS9oaWtlci1ydWxlcy9ydWxlcy9saXZlL3poZW5kaS50eHQiLCJ2ZXJzaW9uIjozNiwiY29sX3R5cGUiOiJpY29uXzIiLCJjbGFzc19uYW1lIjoiIiwidHlwZSI6ImxpdmUiLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczpcbnZhciBkYXRhID0gW107XG5kYXRhLnB1c2goe1xuICAgIHRpdGxlOiBcIvCflI5cIixcbiAgICB1cmw6IFwiJ2hpa2VyOi8vc2VhcmNoP3J1bGU9XCIgKyBNWV9SVUxFLnRpdGxlICsgXCImcz0nK2lucHV0XCIsXG4gICAgZGVzYzogXCLmkJzntKLpopHpgZNcIixcbiAgICBjb2xfdHlwZTogXCJpbnB1dFwiXG59KVxuY29uc3Qge1xuICAgIHJlbmRlckxpdmVEYXRhXG59ID0gJC5yZXF1aXJlKFwiaGlrZXI6Ly9wYWdlL3Rvb2xcIilcbnJlbmRlckxpdmVEYXRhKE1ZX1VSTC5zcGxpdChcIiMjXCIpWzFdKVxuc2V0UmVzdWx0KGRhdGEpOyIsInNlYXJjaF91cmwiOiJoaWtlcjovL2VtcHR5IyMqKiIsImdyb3VwIjoi4pGm8J+TuuebtOaSrSIsInNlYXJjaEZpbmQiOiJqczpcbmxldCBydWxlID0gSlNPTi5wYXJzZShmZXRj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tcXG4gICAgICAgICAgICAgICAgICAgIFJlZmVyZXI6IGdldFJlZmVyZXIodXJsKVxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgaWYgKG5ldC5pbmNsdWRlcyhcXFwiPGh0bWw+XFxcIikpIHtcXG4gICAgICAgICAgICAgICAgdGhyb3cgXFxcIm5vdCB4eHhcXFwiO1xcbiAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB2YXIgdHh0cyA9IG5ldC5yZXBsYWNlKC8jRVhUSU5GOi0xICwvZywgJycpXFxuICAgICAgICAgICAgICAgIC5yZXBsYWNlKC8jRVhUSU5GOi0xLC9nLCAnJylcXG4gICAgICAgICAgICAgICAgLnJlcGxhY2UoL1xcXFxuI2dlbnJlIy9nLCAnLCNnZW5yZSMnKVxcbiAgICAgICAgICAgICAgICAucmVwbGFjZSgvI0VYVElORjotMS9nLCAnJylcXG4gICAgICAgICAgICAgICAgLnJlcGxhY2UoL2dyb3VwLXRpdGxlPVxcXCIvZywgJycpXFxuICAgICAgICAgICAgICAgIC5yZXBsYWNlKC9cXFxcbmh0dHAvZywgJyxodHRwJylcXG4gICAgICAgICAgICAgICAgLy8ucmVwbGFjZSgvPS9nLCAnJylcXG4gICAgICAgICAgICAgICAgLnJlcGxhY2UoL++8jCMvZywgJywjJylcXG4gICAgICAgICAgICAgICAgLnJlcGxhY2UoL1xcXCIsL2csICcvJylcXG4gICAgICAgICAgICAgICAgLnJlcGxhY2UoLyAvZywgJycpXFxuICAgICAgICAgICAgICAgIC5zcGxpdCgnXFxcXG4nKTtcXG4gICAgICAgICAgICBjb25zdCBkMSA9IFtdXFxuICAgICAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCB0eHRzLmxlbmd0aDsgaSsrKSB7XFxuICAgICAgICAgICAgICAgIHZhciByID0ge307XFxuICAgICAgICAgICAgICAgIHZhciBqID0gdHh0c1tpXS5zcGxpdCgnLCcpO1xcbiAgICAgICAgICAgICAgICBpZiAodHh0c1tpXS5pbmRleE9mKFxcXCIjRVhUSU5GXFxcIikgPT0gMCAmJlxcbiAgICAgICAgICAgICAgICAgICAgai5sZW5ndGggPT0gMyAmJiBqWzJdLmluZGV4T2YoXFxcImh0dHBcXFwiKSA9PSAwKSB7XFxuICAgICAgICAgICAgICAgICAgICByLnRpdGxlID0galsxXS5zcGxpdCgnLycpW2pbMF0uc3BsaXQoJy8nKS5sZW5ndGggLSAxXTtcXG4gICAgICAgICAgICAgICAgICAgIHIudXJsID0galsyXS5yZXBsYWNlKGBcXFxcbmAsICcnKS5yZXBsYWNlKCdcXFxccicsICcnKTtcXG4gICAgICAgICAgICAgICAgICAgIGlmIChyLnVybC5pbmRleE9mKFxcXCJodHRwXFxcIikgPT0gMCB8fCByLnVybC5pbmRleE9mKFxcXCJydG1wXFxcIikgPT0gMCB8fCByLnVybC5pbmRleE9mKFxcXCJydHNwXFxcIikgPT0gMCkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHIudXJsID0gci51cmwgKyBcXFwiI2lzVmlkZW89dHJ1ZSNcXFwiO1xcbiAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgZDEucHVzaChyKTtcXG4gICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xcbiAgICAgICAgICAgICAgICB9XFxuXFxuICAgICAgICAgICAgICAgIGlmIChqLmxlbmd0aCA8IDIpIHtcXG4gICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgIHIudGl0bGUgPSBqWzBdLnNwbGl0KCcvJylbalswXS5zcGxpdCgnLycpLmxlbmd0aCAtIDFdO1xcbiAgICAgICAgICAgICAgICBpZiAoZmlsdGVyICE9IG51bGwgJiYgIXIudGl0bGUuaW5jbHVkZXMoZmlsdGVyKSkge1xcbiAgICAgICAgICAgICAgICAgICAgY29udGludWU7XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgci51cmwgPSBqWzFdLnJlcGxhY2UoYFxcXFxuYCwgJycpLnJlcGxhY2UoJ1xcXFxyJywgJycpO1xcbiAgICAgICAgICAgICAgICBpZiAoci51cmwuaW5kZXhPZihcXFwiaHR0cFxcXCIpID09IDAgfHwgci51cmwuaW5kZXhPZihcXFwicnRtcFxcXCIpID09IDAgfHwgci51cmwuaW5kZXhPZihcXFwicnRzcFxcXCIpID09IDApIHtcXG4gICAgICAgICAgICAgICAgICAgIHIudXJsID0gci51cmwgKyBcXFwiI2lzVmlkZW89dHJ1ZSNcXFwiO1xcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgIGQxLnB1c2gocik7XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIC8v5aSa57q/6LevXFxuICAgICAgICAgICAgY29uc3QgZDIgPSB7fVxcbiAgICAgICAgICAgIGZvciAobGV0IGl0IG9mIGQxKSB7XFxuICAgICAgICAgICAgICAgIGlmIChkMltpdC50aXRsZV0gPT0gbnVsbCkge1xcbiAgICAgICAgICAgICAgICAgICAgZDJbaXQudGl0bGVdID0gW11cXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICBkMltpdC50aXRsZV0ucHVzaChpdC51cmwpXFxuICAgICAgICAgICAgfVxcblxcbiAgICAgICAgICAgIGZvciAobGV0IGl0IG9mIE9iamVjdC5rZXlzKGQyKSkge1xcbiAgICAgICAgICAgICAgICBfZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiBpdCxcXG4gICAgICAgICAgICAgICAgICAgIHVybDogSlNPTi5zdHJpbmdpZnkoe1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHVybHM6IGQyW2l0XVxcbiAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICB9XFxuICAgICAgICB9IGNhdGNoIChlKSB7fVxcbiAgICAgICAgaWYgKF9kICYmIF9kLmxlbmd0aCkge1xcbiAgICAgICAgICAgIGRhdGEgPSBkYXRhLmNvbmNhdChfZClcXG4gICAgICAgICAgICBzYXZlRmlsZShcXFwiZGF0YS5qc29uXFxcIiwgSlNPTi5zdHJpbmdpZnkoX2QpKTtcXG4gICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgbGV0IF90ZCA9IHJlYWRGaWxlKFxcXCJkYXRhLmpzb25cXFwiKTtcXG4gICAgICAgICAgICBpZiAoX3RkKSB7XFxuICAgICAgICAgICAgICAgIGRhdGEgPSBkYXRhLmNvbmNhdChKU09OLnBhcnNlKF90ZCkpXFxuICAgICAgICAgICAgfVxcbiAgICAgICAgfVxcbiAgICB9IGNhdGNoIChlKSB7XFxuICAgICAgICBkYXRhLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiBcXFwi5pWw5o2u5Yqg6L295aSx6LSlXFxcIixcXG4gICAgICAgICAgICBkZXNjOiBKU09OLnN0cmluZ2lmeShlKSxcXG4gICAgICAgICAgICBjb2xfdHlwZTogXFxcInRleHRfMVxcXCJcXG4gICAgICAgIH0pXFxuICAgIH1cXG59XFxuJC5leHBvcnRzID0ge1xcbiAgICByZW5kZXJMaXZlRGF0YTogcmVuZGVyTGl2ZURhdGEsXFxufVwifV0iLCJpY29uIjoiIn0=
Add Comment
Please, Sign In to add comment