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