Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@次元动漫♔@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6Ii5tb2R1bGUtcGxheS1saXN0LWNvbnRlbnQmJmEsLTEmJlRleHQuanM6J+abtOaWsOiHs++8micraW5wdXQiLCJ0aXRsZSI6IuasoeWFg+WKqOa8q+KZlCIsImF1dGhvciI6IuiTneiOk+aenOmFsVVYIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjIiwidmVyc2lvbiI6MiwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxudmFyIGQgPSBbXTtcbk1ZX1VSTCA9IE1ZX1VSTC5zcGxpdCgnIyMnKTtcbmNvbnN0IGhvc3QgPSAnaHR0cHM6Ly93d3cuY3liZnVuLnRvcC8nO1xudmFyIGh0bWwgPSBmZXRjaChob3N0LCB7XG4gICAgaGVhZGVyczoge1xuICAgICAgICAnVXNlci1BZ2VudCc6IE1PQklMRV9VQVxuICAgIH1cbn0pO1xuXG52YXIgSWNvbl9wcmVmaXggPSAnaHR0cHM6Ly9sYW5tZWlndW9qaWFuZy5jb20vdHViaWFvL21vcmUvJztcblxuXG4gICAgICAgXG4gICAgICAgZC5wdXNoKHtcbiAgICAgICAgICAgIHRpdGxlOiAn5Yi35pawJyxcbiAgICAgICAgICAgIHVybDogJCgpLmxhenlSdWxlKCgpID0+IHtcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xuICAgICAgICAgICAgICAgIHJldHVybiAndG9hc3Q6Ly/liLfmlrDmiJDlip8nICBcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgcGljX3VybDogSWNvbl9wcmVmaXggKyAnMjUucG5nJysgXCJAUmVmZXJlcj1cIixcbiAgICAgICAgICAgIGNvbF90eXBlOiBcImljb25fNVwiXG4gICAgICAgIH0pO1xuICAgICAgICBkLnB1c2goe1xuICAgICAgICAgICAgdGl0bGU6ICfnrZvpgIknLFxuICAgICAgICAgICAgdXJsOiAnaGlrZXI6Ly9wYWdlL2NhdGVnb3J5P3BhZ2U9ZnlwYWdlI25vSGlzdG9yeSMnLFxuICAgICAgICAgICAgcGljX3VybDogSWNvbl9wcmVmaXggKyAnMjYucG5nJyArIFwiQFJlZmVyZXI9XCIsXG4gICAgICAgICAgICBjb2xfdHlwZTogXCJpY29uXzVcIlxuICAgICAgICB9KTtcblxuXG5kLnB1c2goe1xuICAgICAgICAgICAgdGl0bGU6ICfmkJzntKInLFxuICAgICAgICAgICAgdXJsOiAnaGlrZXI6Ly9wYWdlL3NzJyxcbiAgICAgICAgICAgIHBpY191cmw6IEljb25fcHJlZml4ICsgJzEwMS5wbmcnICsgXCJAUmVmZXJlcj1cIixcbiAgICAgICAgICAgIGNvbF90eXBlOiBcImljb25fNVwiXG4gICAgICAgIH0pO1xuXG4gIGQucHVzaCh7XG4gICAgICAgICAgICB0aXRsZTogJ+abtOaWsCcsXG4gICAgICAgICAgICB1cmw6ICdoaWtlcjovL3BhZ2UvZ3gnLFxuICAgICAgICAgICAgcGljX3VybDogSWNvbl9wcmVmaXggKyAnMjcxLnBuZycgKyBcIkBSZWZlcmVyPVwiLFxuICAgICAgICAgICAgY29sX3R5cGU6IFwiaWNvbl81XCJcbiAgICAgICAgfSk7XG5cbmNvbnN0IGZvbGQgPSBnZXRNeVZhcignbGllLmdyb3VwJywgXCIxXCIpXG5kLnB1c2goe1xuICAgICAgICAgICAgdGl0bGU6ICfliIfmjaInLFxuICAgICAgICAgICAgdXJsOiAkKCcjbm9Mb2FkaW5nIycpLmxhenlSdWxlKChmb2xkKSA9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gIHdlZWtzLmZvckVhY2goaXQgPT4ge1xuICAgICAgICBkLnB1c2goe1xuICAgICAgICAgICAgdGl0bGU6IGdldE15VmFyKCd3ZWVrJywgbm93X1dlZWspID09PSBpdCA/ICfimIAnICsgJ+KAnOKAnOKAneKAnTxiPjxmb250IGNvbG9yPSNGQTcyOTg+JyArIGl0ICsgJzwvZm9udD48L2I+JyA6IGl0LnJlcGxhY2UoJ+WRqCcsJycpLFxuICAgICAgICAgICAgdXJsOiAkKCcjbm9Mb2FkaW5nIyNub0hpc3RvcnkjJykubGF6eVJ1bGUoKGl0KSA9PiB7XG4gICAgICAgICAgICAgICAgcHV0TXlWYXIoXCJ3ZWVrXCIsIGl0KTtcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xuICAgICAgICAgICAgICAgIHJldHVybiBcImhpa2VyOi8vZW1wdHlcIlxuICAgICAgICAgICAgfSwgaXQpLFxuICAgICAgICAgICAgY29sX3R5cGU6IFwic2Nyb2xsX2J1dHRvblwiXG4gICAgICAgIH0pO1xuICAgIH0pXG5cbnZhciBsaWU9cGRmYShodG1sLCAnLm1vZHVsZS10YWItd2VlayYmLm1vZHVsZS10YWItaXRlbScpO1xubGV0IGNob3NlX3dlZWsgPSBnZXRNeVZhcignd2VlaycsIG5vd19XZWVrKTtcbnZhciB3a1RvbnVtID0gZnVuY3Rpb24od2spIHtcbiAgICAgICAgaWYgKC/lkah85pif5pyfLy50ZXN0KHdrKSkge1xuICAgICAgICAgICAgd2sgPSB3ay5yZXBsYWNlKC/lkah85pif5pyfLywgXCJcIilcbiAgICAgICAgfVxuICAgICAgICB2YXIgbWFwID0ge1xuICAgICAgICAgICAgXCLml6VcIjogMCxcbiAgICAgICAgICAgIFwi5LiAXCI6IDEsXG4gICAgICAgICAgICBcIuS6jFwiOiAyLFxuICAgICAgICAgICAgXCLkuIlcIjogMyxcbiAgICAgICAgICAgIFwi5ZubXCI6IDQsXG4gICAgICAgICAgICBcIuS6lFwiOiA1LFxuICA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ICAgICAgICAgICAgICAgICAgdGl0bGU6IGtleS50b1N0cmluZygpID09PSBjYXRlX3RlbXBbaW5kZXhdID8gJ+KAnOKAnOKAneKAnTxiPjxzcGFuIHN0eWxlPVxcXCJjb2xvcjogJyArIOWIhuexu+minOiJsiArICdcXFwiPicgKyB0aXRsZSArICc8L3NwYW4+PC9iPicgOiB0aXRsZSxcXG4gICAgICAgICAgICAgICAgICAgIHVybDogJChwZChpdGVtLCDliIbnsbvpk77mjqUpICsgJyNub0xvYWRpbmcjJykubGF6eVJ1bGUoKHBhcmFtcykgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBuZXdfY2F0ZSA9IFtdXFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFyYW1zLmNhdGVfdGVtcC5mb3JFYWNoKChjYXRlLCBpbmRleCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBuZXdfY2F0ZS5wdXNoKGluZGV4ID09PSAwID8gcGFyYW1zLmtleS50b1N0cmluZygpIDogXFxcIjBcXFwiKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgICAgICAgICAgICAgcHV0TXlWYXIoJ2hlYWRlci5jYXRlZ29yeScsIEpTT04uc3RyaW5naWZ5KG5ld19jYXRlKSlcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcignaGVhZGVyLnVybCcsIGlucHV0KVxcbiAgICAgICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKHRydWUpXFxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJoaWtlcjovL2VtcHR5XFxcIlxcbiAgICAgICAgICAgICAgICAgICAgfSwge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGNhdGVfdGVtcDogY2F0ZV90ZW1wLFxcbiAgICAgICAgICAgICAgICAgICAgICAgIGtleToga2V5LFxcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhZ2U6IHBhZ2UsXFxuICAgICAgICAgICAgICAgICAgICB9KSxcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnc2Nyb2xsX2J1dHRvbicsXFxuICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogXFxcImJsYW5rX2Jsb2NrXFxcIlxcbiAgICAgICAgICAgIH0pO1xcbiAgICAgICAgfSBlbHNlIGlmIChmb2xkID09PSAnMScpIHtcXG4gICAgICAgICAgICBzdWJfY2F0ZWdvcmllcy5mb3JFYWNoKChpdGVtLCBrZXkpID0+IHtcXG4gICAgICAgICAgICAgICAgbGV0IHRpdGxlID0gcGRmaChpdGVtLCDliIbnsbvmoIfpopgpXFxuICAgICAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICB0aXRsZToga2V5LnRvU3RyaW5nKCkgPT09IGNhdGVfdGVtcFtpbmRleF0gPyAn4oCc4oCc4oCd4oCdPGI+PHNwYW4gc3R5bGU9XFxcImNvbG9yOiAnICsg5YiG57G76aKc6ImyICsgJ1xcXCI+JyArIHRpdGxlICsgJzwvc3Bhbj48L2I+JyA6IHRpdGxlLFxcbiAgICAgICAgICAgICAgICAgICAgdXJsOiAkKHBkKGl0ZW0sIOWIhuexu+mTvuaOpSkgKyAnI25vTG9hZGluZyMnKS5sYXp5UnVsZSgocGFyYW1zKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFyYW1zLmNhdGVfdGVtcFtwYXJhbXMuaW5kZXhdID0gcGFyYW1zLmtleS50b1N0cmluZygpXFxuXFxuICAgICAgICAgICAgICAgICAgICAgICAgcHV0TXlWYXIoJ2hlYWRlci5jYXRlZ29yeScsIEpTT04uc3RyaW5naWZ5KHBhcmFtcy5jYXRlX3RlbXApKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKCdoZWFkZXIudXJsJywgaW5wdXQpXFxuICAgICAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UodHJ1ZSlcXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcImhpa2VyOi8vZW1wdHlcXFwiXFxuICAgICAgICAgICAgICAgICAgICB9LCB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgY2F0ZV90ZW1wOiBjYXRlX3RlbXAsXFxuICAgICAgICAgICAgICAgICAgICAgICAgaW5kZXg6IGluZGV4LFxcbiAgICAgICAgICAgICAgICAgICAgICAgIGtleToga2V5LFxcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhZ2U6IHBhZ2UsXFxuICAgICAgICAgICAgICAgICAgICB9KSxcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnc2Nyb2xsX2J1dHRvbicsXFxuICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogXFxcImJsYW5rX2Jsb2NrXFxcIlxcbiAgICAgICAgICAgIH0pO1xcbiAgICAgICAgfVxcbiAgICB9KVxcbn1cIn0se1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcIuino+aekOmhtemdolwiLFwicGF0aFwiOlwibGF6eVwiLFwicnVsZVwiOlwidmFyIGxhenkgPSAkKCcnKS5sYXp5UnVsZSgoTVlfSE9NRSkgPT4ge1xcbiAgICB2YXIgaHRtbCA9IEpTT04ucGFyc2UocmVxdWVzdChpbnB1dCkubWF0Y2goL3IgcGxheWVyXy4qPz0oLio/KTwvKVsxXSlcXG4gICAgZXZhbChyZXF1ZXN0KE1ZX0hPTUUgKyAnL3N0YXRpYy9qcy9wbGF5ZXJjb25maWcuanMnKSk7XFxuICAgIHZhciBqeCA9IE1hY1BsYXllckNvbmZpZy5wbGF5ZXJfbGlzdFtodG1sLmZyb21dLnBhcnNlO1xcbiAgICBpZiAoanggPT0gJycpIHtcXG4gICAgICAgI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x86ZuGfOivnXzmnJ8vZywgJycpLFxcbiAgICAgICAgICAgICAgICAgICAgdXJsOnBhcnNlRG9tKGxpc3Rbal0sICdhJiZocmVmJykrbGF6eSxcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiBsaXN0Lmxlbmd0aCA+IDMgPyAndGV4dF80JyA6ICd0ZXh0XzInXFxuICAgICAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH0gY2F0Y2ggKGUpIHtcXG4gICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICB0aXRsZTogJ+ayoeaciemAiembhuWTn++8jOS4jeS/oeeCueWbvueJh+WOu+eci+eci/CfkYAnLFxcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ3RleHRfY2VudGVyXzEnXFxuICAgICAgICAgICAgfSk7XFxuICAgICAgICB9XFxuICAgIH0gZWxzZSB7XFxuICAgICAgICB0cnkge1xcbiAgICAgICAgICAgIGZvciAodmFyIGogPSAwOyBqIDwgbGlzdC5sZW5ndGg7IGorKykge1xcbiAgICAgICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IHBhcnNlRG9tRm9ySHRtbChsaXN0W2pdLCAnYSYmVGV4dCcpLnJlcGxhY2UoL+esrHzpm4Z86K+dfOacny9nLCAnJyksXFxuICAgICAgICAgICAgICAgICAgICB1cmw6cGFyc2VEb20obGlzdFtqXSwgJ2EmJmhyZWYnKSArbGF6eSxleHRyYToge1xcbiAgICAgICAgICAgICAgICAgICAgYmxvY2tSdWxlczogWycuY3NzJywgJy5naWYnLCAnLmpwZycsICcuanBlZycsICcucG5nJywgJy5pY28nLCAnLnN2ZycsICcubTN1OCcsICcubXA0J11cXG4gICAgICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiBsaXN0Lmxlbmd0aCA+IDMgPyAndGV4dF80JyA6ICd0ZXh0XzInXFxuICAgICAgIC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nZSgpOyAgICAgXFxuICAgICAgICAgICAgICAgIGJhY2soZmFsc2UpXFxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcInRvYXN0Oi8v6L+U5Zue6KeE5YiZ6aaW6aG1XFxcIiAgXFxuICAgICAgICAgICAgfSksXFxuICAgICAgICAgICAgcGljX3VybDogSWNvbl9wcmVmaXggKyAnNDcucG5nJysgXFxcIkBSZWZlcmVyPVxcXCIsXFxuICAgICAgICAgICAgY29sX3R5cGU6IFxcXCJpY29uX3NtYWxsXzNcXFwiLFxcbiAgICAgICAgICAgICAgICAgICAgXFxuICAgICAgICB9KTtcXG5cXG5cXG5kLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiAn562b6YCJJyxcXG4gICAgICAgICAgICB1cmw6ICdoaWtlcjovL3BhZ2UvY2F0ZWdvcnk/cGFnZT1meXBhZ2Ujbm9IaXN0b3J5IycsXFxuICAgICAgICAgICAgcGljX3VybDogSWNvbl9wcmVmaXggKyAnMjEzLnBuZycgKyBcXFwiQFJlZmVyZXI9XFxcIixcXG4gICAgICAgICAgICBjb2xfdHlwZTogXFxcImljb25fc21hbGxfM1xcXCJcXG4gICAgICAgIH0pO1xcblxcbmQucHVzaCh7XFxuICAgICAgICAgICAgdGl0bGU6ICfljoblj7InLFxcbiAgICAgICAgICAgIHVybDogJ2hpa2VyOi8vaGlzdG9yeScsXFxuICAgICAgICAgICAgcGljX3VybDogSWNvbl9wcmVmaXggKyAnMTkyLnBuZycgKyBcXFwiQFJlZmVyZXI9XFxcIixcXG4gICAgICAgICAgICBjb2xfdHlwZTogXFxcImljb25fc21hbGxfM1xcXCJcXG4gICAgICAgIH0pO1xcblxcbmQucHVzaCh7XFxuICAgIHRpdGxlOiBcXFwi8J+UjVxcXCIsXFxuICAgIHVybDogXFxcIidoaWtlcjovL3NlYXJjaD9zPScraW5wdXQrJyZydWxlPeasoeWFg+WKqOa8q+KZlCdcXFwiLFxcbiAgICBjb2xfdHlwZTogXFxcImlucHV0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