xiaomianao666

小程序:农民影视🤡

Sep 15th, 2024
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@农民影视🤡@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6ImpzOlxudmFyIGh0bWwgPSBnZXRSZXNDb2RlKCk7XG52YXIgY29udHMgPSBwZGZhKGh0bWwsICdib2R5JiYubnVtTGlzdCcpWzBdO1xudmFyIGxpc3QgPSBwZGZhKGNvbnRzLCAnYm9keSYmYScpO1xudmFyIHRpdGxlID0gcGRmaChsaXN0W2xpc3QubGVuZ3RoLCAwXSwgJ2EmJlRleHQnKTtcbnNldFJlc3VsdChcIuabtOaWsOiHszogXCIgKyB0aXRsZSk7IiwidGl0bGUiOiLlhpzmsJHlvbHop4bwn6ShIiwiYXV0aG9yIjoi57yY5YiGIiwidXJsIjoiaHR0cHM6Ly93d3cud3dnei5jbi92b2QtbGlzdC1pZC1meWNsYXNzLXBnLWZ5cGFnZS1vcmRlci0tYnktZnlzb3J0LWNsYXNzLTAteWVhci1meXllYXItbGV0dGVyLS1hcmVhLWZ5YXJlYS1sYW5nLS5odG1sIiwidmVyc2lvbiI6MjAyNDA0MzAsImNvbF90eXBlIjoibW92aWVfMyIsImNsYXNzX25hbWUiOiLnlLXlvbEm55S16KeG5YmnJue7vOiJuibliqjmvKsm55+t5YmnIiwidHlwZSI6InZpZGVvIiwiY2xhc3NfdXJsIjoiMSYyJjMmNCYyNiIsImFyZWFfbmFtZSI6IuWFqOmDqFxuJuWkp+mZhibpppnmuK8m5Y+w5rm+Jue+juWbvSbpn6nlm70m5pel5pysJuazsOWbvSbmlrDliqDlnaEm6ams5p2l6KW/5LqaJuWNsOW6piboi7Hlm70m5rOV5Zu9JuWKoOaLv+Wkpybopb/nj63niZkm5L+E572X5pavJuWFtuWugyIsImFyZWFfdXJsIjoiJuWkp+mZhibpppnmuK8m5Y+w5rm+Jue+juWbvSbpn6nlm70m5pel5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gJ+KAnOKAnOKAneKAnTxiPjxzcGFuIHN0eWxlPVwiY29sb3I6ICNGRjAwMDBcIj7pgIbluo88L3NwYW4+PC9iPicgOiAn4oCc4oCc4oCd4oCdPGI+PHNwYW4gc3R5bGU9XCJjb2xvcjogIzFhYWQxOVwiPuato+W6jzwvc3Bhbj48L2I+JyxcbiAgICAgICAgdXJsOiAkKFwiI25vTG9hZGluZyNub0hpc3RvcnkjXCIpLmxhenlSdWxlKCgpID0+IHtcbiAgICAgICAgICAgIGxldCBjb25mID0gZ2V0VmFyKCdzaHNvcnQnKTtcbiAgICAgICAgICAgIGlmIChjb25mID09ICcxJykge1xuICAgICAgICAgICAgICAgIHB1dFZhcignc2hzb3J0JywgJzAnKTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgcHV0VmFyKCdzaHNvcnQnLCAnMScpXG4gICAgICAgICAgICB9O1xuICAgICAgICAgICAgcmVmcmVzaFBhZ2UoKTtcbiAgICAgICAgICAgIHJldHVybiAndG9hc3Q6Ly/liIfmjaLmjpLluo/miJDlip8nXG4gICAgICAgIH0pLFxuXG4gICAgICAgIGNvbF90eXBlOiAnZmxleF9idXR0b24nXG4gICAgfSlcbiAgICBmb3IgKHZhciBpID0gMDsgaSA8IHRhYnMubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgdmFyIHVybCA9ICQoXCIjbm9Mb2FkaW5nI25vSGlzdG9yeSNcIikubGF6eVJ1bGUoKHZhcmksIGkpID0+IHtcbiAgICAgICAgICAgIHB1dFZhcih2YXJpLCBpKTtcbiAgICAgICAgICAgIHJlZnJlc2hQYWdlKGZhbHNlKTtcbiAgICAgICAgICAgIHJldHVybiAndG9hc3Q6Ly/liIfmjaLmiJDlip/vvIEnXG4gICAgICAgIH0sIHZhcmksIGkpO1xudmFyIHRpdGxlID0gZ2V0VmFyKHZhcmksICcwJykgPT0gaSA/ICfigJzigJwnICsgdGFic1tpXSArICfigJ3igJ0nIDogdGFic1tpXVxuaW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cyI6Ilt7XCJjb2xfdHlwZVwiOlwibW92aWVfM1wiLFwibmFtZVwiOlwibGF6eVwiLFwicGF0aFwiOlwibGF6eVwiLFwicnVsZVwiOlwidmFyIGxhenkgPSAkKCcnKS5sYXp5UnVsZSgocGxheUJ0biwgTVlfSE9NRSkgPT4ge1xcbiAgICB0cnkge1xcbiAgICAgICAgbGV0IGZyb20gPSBpbnB1dC5zcGxpdChcXFwiI1xcXCIpWzFdO1xcbiAgICAgICAgdmFyIGpzcyA9IHBkZmgoZmV0Y2gocGxheUJ0biksICcuZGV0YWlsUG9zdGVySW50cm8mJnNjcmlwdCwyJiZzcmMnKVxcbiAgICAgICAgbG9nKGZldGNoKGpzcykpXFxuICAgICAgICB0cnkge1xcbiAgICAgICAgICAgIHZhciBqcyA9IGZldGNoKGpzcykubWF0Y2goL3RoaXMuUGF0aD0oLio/KTsvKVsxXS5zcGxpdCgnXFxcIicpWzFdXFxuICAgICAgICB9IGNhdGNoIChlKSB7XFxuICAgICAgICAgICAgdmFyIGpzID0gZXZhbChmZXRjaChqc3MpLm1hdGNoKC9ldmFsKC4qKS8pWzFdKS5tYXRjaCgvdGhpcy5QYXRoPSguKj8pOy8pWzFdLnNwbGl0KCdcXFwiJylbMV1cXG4gICAgICAgIH1cXG4gICAgICAgIGlmICghanMuc3RhcnRzV2l0aChcXFwiaHR0cFxcXCIpKSB7XFxuICAgICAgICAgICAganMgPSBNWV9IT01FICsgJy8nICsganNcXG4gICAgICAgIH1cXG4gICAgICAgIC8vbG9nKGpzKVxcblxcbiAgICAgICAgdmFyIGp4ID0gcmVxdWVzdChqcyArIGZyb20gKyAnLmpzJykubWF0Y2goL3NyYz1cXFwiKC4qPyknLylbMV1cXG4gICAgICAgIHZhciB1cmxzID0ganggKyBpbnB1dFxcbiAgICAgICAgLy8gbG9nKHVybHMpXFxuICAgICAgICBpZiAoZnJvbS5pbmNsdWRlcygnbTN1OCcpKSB7XFxuICAgICAgICAgICAgdmFyIHVybCA9IHJlcXVlc3QodXJscykubWF0Y2goL3VybC4qPycoLio/KScvKVsxXTtcXG4gICAgICAgICAgICByZXR1cm4gdXJsICsgJyNpc1ZpZGVvPXRydWUjJztcXG4gICAgICAgIH1cXG4gICAgICAgIHZhciBodG1sID0gZmV0Y2godXJscywge1xcbiAgICAgICAgICAgIGhlYWRlcnM6IHtcXG4gICAgICAgICAgICAgICAgJ1JlZmVyZXInOiBwbGF5QnRuXFxuICAgICAgICAgICAgfVxcbiAgICAgICAgfSk7XFxuICAgICAgICB2YXIgdXJsbCA9IHBkZmgoaHRtbCwgJ3NjcmlwdCwtMSYmSHRtbCcpO1xcbiAgICAgICAgbG9nKHVybGwpXFxuICAgICAgICBpZiAodXJsbC5zdGFydHNXaXRoKFxcXCJldmFsXFxcIikpIHsgXFxuICAgICAgICAgICAgdXJsbCA9IGV2YWwodXJsbC5tYXRjaCgvZXZhbCguKikvKVsxXSlcXG4gICAgICAgIH1lbHNlXFxuICAgICAgICBpZiAodXJsbC5pbmNsdWRlcyhcXFwic3dpdGNoXFxcIikpIHsgXFxuICAgICAgICAgICAgdXJsbCA9IHVybGxcXG4gICAgICAgIH1lbHNle1xcbiAgICAgICAgICAgIHVybGwgPSBldmFsKHVybGwubWF0Y2goL3ZhcltcXFxcc1xcXFxTXSo/Oy8pWzBdKTtcXG59ICAgICAgICBcXG4gICAgICAgIHRyeSB7XFxuICAgICAgICAgICAgdmFyIGxpc3QgPSB1cmxsLm1hdGNoKC9odHRwLio/PS9nKTtcXG4gICAgICAgICAgICB2YXIgbGlzdCA9IGxpc3QuZmlsdGVyKGRhdGEgPT4ge1xcbiAgICAgICAgICAgICAgICByZXR1cm4gIWRhdGEubWF0Y2goL21vci8pXFxuICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgdmFyIHVybCA9IGxpc3QubWFwKGRhdGEgPT4gZmV0Y2goZGF0YSArIGlucHV0LCB7fSkubWF0Y2goL3ZpZGVvIHNyYz1cXFwiKC4qPylcXFwiLylbMV0pO1xcblxcbiAgICAgICAgICAgIHJldHVybiBKU09OLnN0cmluZ2lmeSh7XFxuICAgICAgICAgICAgICAgIHVybHM6IHVybFxcbiAgICAgICAgICAgIH0pO1xcbiAgICAgICAgfSBjYXRjaCAoZSkge31cXG4gICAgICAgIGxvZyhsaW5lcylcXG4gICAgICAgIC8qXFxuICAgICAgICAgICAgICAgIHZhciBsaXN0ID0gT2JqZWN0LnZhbHVlcyhsaW5lcyk7XFxuICAgICAgICAgICAgICAgIHZhciB1cmwgPSBsaXN0Lm1hcChkYXRhID0+IGZldGNoKGRhdGEgKyBpbnB1dCwge30pLm1hdGNoKC92aWRlbyBzcmM9XFxcIiguKj8pXFxcIi8pWzFdKTtcXG4gICAgICAgICAgICAgICAgdmFyIG5hbWUgPSBPYmplY3Qua2V5cyhsaW5lcyk7XFxuICAgICAgICAgICAgICAgIHJldHVybiBKU09OLnN0cmluZ2lmeSh7XFxuICAgICAgICAgICAgICAgICAgICBuYW1lczogbmFtZSxcXG4gICAgICAgICAgICAgICAgICAgIHVybHM6IHVybFxcbiAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICovXFxuICAgIH0gY2F0Y2ggKGUpIHtcXG4gICAgICAgIGZ1bmN0aW9uIHg1cnVsZShqaWV4dXJsKSB7XFxuICAgICAgICAgICAgc2hvd0xvYWRpbmcoXFxcIuWKqOaAgeino+aekOinhOWImeS4re+8jOivt+eojeWAmVxcXCIpO1xcbiAgICAgICAgICAgIHZhciB2aWRlbyA9ICd3ZWJSdWxlOi8vJyArIGppZXh1cmwgKyAnQCcgKyAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgICAgICAgICAgLy9mYmEubG9nKGZiYS5nZXRVcmxzKCkpO1xcbiAgICAgICAgICAgICAgICB2YXIgdXJscyA9IF9nZXRVcmxzKCk7XFxuICAgICAgICAgICAgICAgIGlmICh3aW5kb3cuX19jb3VudCA9PSBudWxsIHx8IHdpbmRvdy5fX2NvdW50ID09IHVuZGVmaW5lZCkge1xcbiAgICAgICAgICAgICAgICAgICAgd2luZG93Ll9fY291bnQgPSAwXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgaWYgKHdpbmRvdy5fX2NvdW50ID49IDEwKSB7XFxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gbG9jYXRpb24uaHJlZlxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgIHdpbmRvdy5fX2NvdW50ID0gd2luZG93Ll9fY291bnQgKyAxO1xcbiAgICAgICAgICAgICAgICBpZiAod2luZG93Ll9fY291bnQgPiAwICYmIHdpbmRvdy5fX2NvdW50ICE9IG51bGwgJiYgd2luZG93Ll9fY291bnQgIT0gdW5kZWZpbmVkKSB7XFxuICAgICAgICAgICAgICAgICAgICBmYmEubG9nKCfml6Xlv5fmo4DntKLnrKwnICsgd2luZG93Ll9fY291bnQgKyAn5qyhJyk7XFxuICAgICAgICAgICAgICAgICAgICBmb3IgKHZhciBpIGluIHVybHMpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAodXJsc1tpXS5tYXRjaCgvXFxcXD91cmw9fFxcXFwubTN1OHx2aWRlb19tcDR8XFxcXC5mbHZ8XFxcXC5tcDQvKSAmJiAhdXJsc1tpXS5tYXRjaCgvbW9yLykpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHVybCA9IHJlcXVlc3QodXJsc1tpXSkubWF0Y2goL3ZpZGVvIHNyYz1cXFwiKC4qPylcXFwiLylbMV07XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vZnlfYnJpZGdlX2FwcC5sb2codXJsc1tpXSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICh1cmwgIT0gJycpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmwgKyAnI2lzVmlkZW89dHJ1ZSMnXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdXJsc1tpXVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgfSAvL2VuZCBmb3IgaVxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgcmV0dXJuIHZpZGVvXFxuICAgICAgICB9XFxuICAgICAgICByZXR1cm4geDVydWxlKHVybHMpO1xcbiAgICB9XFxufSwgcGxheUJ0biwgTVlfSE9NRSk7XCJ9XSIsImljb24iOiJodHRwczovL3d3dy53d2d6LmNuL2Zhdmljb24uaWNvIiwicHJveHkiOiIifQ==
Add Comment
Please, Sign In to add comment