xiaomianao666

小程序:肉铺

Sep 8th, 2024
735
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@肉铺@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi6IKJ6ZO6IiwiYXV0aG9yIjoiUiIsInVybCI6Imhpa2VyOi8vZW1wdHkjI2h0dHBzOi8vcm91cHVhYy5idXp6LyMjZnlwYWdlIiwidmVyc2lvbiI6MjAyMzAyMjMsImNvbF90eXBlIjoibW92aWVfMyIsImNsYXNzX25hbWUiOiIiLCJ0eXBlIjoidmlkZW8iLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczpcbnZhciBkID0gW107XG5ldmFsKEpTT04ucGFyc2UoZmV0Y2goJ2hpa2VyOi8vcGFnZS9sYXp5Jywge30pKS5ydWxlKTtcblxuZXZhbChKU09OLnBhcnNlKHJlcXVlc3QoJ2hpa2VyOi8vcGFnZS/liIbnsbsnKSkucnVsZSlcblxudmFyIGhvc3QgPSBNWV9IT01FO1xuY29uc3QgcGFnZSA9IE1ZX1BBR0U7XG52YXIgZGF0YSA9IFsvKntcbiAgICAgICAgICAgIOagh+mimDogXCLpppbpobUmVG9wMSZUb3AyJlRvcDMmVG9wNCZUb3A1JlRvcDYmVG9wNyZUb3A4XCIsXG4gICAgICAgICAgICDpk77mjqU6IFwiLyYvdG9wMS5odG1sJi90b3AyLmh0bWwmL3RvcDMuaHRtbCYvdG9wNC5odG1sJi90b3A1Lmh0bWwmL3RvcDYuaHRtbCYvdG9wNy5odG1sJi90b3A4Lmh0bWxcIlxuICAgICAgICB9LCove1xuICAgICAgICAgICAg5aSn57G7OiBcIi5tYXJnaW4tdG9wLDImJmFbdGFyZ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ubWF0Y2goL2h0dHBzP1xcOlxcL1xcLy4qP1xcLy8pWzBdO1xuICAgICAgICAgICAgbGV0IHVybCA9SlNPTi5wYXJzZShmZXRjaChNWV9IT01FLHtvbmx5SGVhZGVyczp0cnVlfSkpLnVybDtcblxuaWYgKE1ZX0hPTUUgIT0gdXJsKSB7XG4gICAgY29uZmlybSh7XG4gICAgICAgIHRpdGxlOiBcIuabtOaWsOinhOWImVwiLFxuICAgICAgICBjb250ZW50OiBcIuajgOa1i+WIsOS9oOinhOWImeeahOWfn+WQjeW3suWkseaViO+8jOaYr+WQpueri+WNs+abtOaWsO+8n1wiLFxuICAgICAgICBjb25maXJtOiAoKSA9PiB7XG4gICAgICAgICAgICBzaG93TG9hZGluZyhcIuato+WcqOiOt+WPluWPr+eUqOWfn+WQjVwiKTtcbiAgICAgICAgICAgIGxldCBodG1sID0gTVlfUlVMRS51cmwubWF0Y2goL2h0dHBzP1xcOlxcL1xcLy4qP1xcLy8pWzBdO1xuICAgICAgICAgICAgbGV0IHIgPSBKU09OLnBhcnNlKGZldGNoKGh0bWwse29ubHlIZWFkZXJzOnRydWV9KSk7XG4gICAgICAgICAgICBsZXQgaG9zdCA9IHIudXJsO1xuICAgICAgICAgICAgaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgIGlmICghaG9zdCkgcmV0dXJuIFwidG9hc3Q6Ly/ojrflj5blpLHotKVcIjtcbiAgICAgICAgICAgIHRvYXN0KGhvc3QpO1xuICAgICAgICAgICAgLyhodHRwcz9cXDpcXC9cXC8uKj9cXC8pLy50ZXN0KE1ZX1JVTEUudXJsKTtcbiAgICAgICAgICAgIE1ZX1JVTEUudXJsID0gTVlfUlVMRS51cmwucmVwbGFjZShSZWdFeHAuJDEsIGhvc3QpO1xuICAgICAgICAgICAgcmV0dXJuIFwicnVsZTovL1wiICsgYmFzZTY0RW5jb2RlKFwi5rW36ZiU6KeG55WM77+laG9tZV9ydWxl77+lXCIgKyBKU09OLnN0cmluZ2lmeShNWV9S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sc2UgaWYgKGRhdGEu6ZO+5o6lID09ICdAQEAnKSB7XFxuICAgICAgICAgICAgICAgICB2YXIgY1/pk77mjqUgPSBkYXRhLuagh+mimC5yZXBsYWNlKC9eLio/Ji8sJyYnKS5zcGxpdCgnJicpOyBcXHRcXHRcXG4gICAgICAgICAgICAgIH1lbHNleyBcXG4gICAgICAgICAgICAgICAgICB2YXIgY1/pk77mjqUgPSBkYXRhLumTvuaOpS5zcGxpdCgnJicpOyBcXG4gICAgICAgICAgICAgICAgIH1cXG4gICAgfWVsc2Uge1xcbiAgICAgdmFyIOWkp+exuyA9IHBkZmEoaCwgZGF0YS7lpKfnsbspO1xcbiAgICAgICAgICBpZiAoKCflop7liqAnIGluIGRhdGEpKSB7XFxuICAgICAgICAgICAgaWYgKGRhdGEu5aKe5YqgLmNvbnN0cnVjdG9yID09IFN0cmluZykge1xcbiAgICAgICAgICAgICAgZGF0YS7lop7liqAgPSBldmFsKGRhdGEu5aKe5YqgKTtcXG4gICAgICAgICAgICB9XFxuICAgICAgICAgICAg5aSn57G7ID0gZGF0YS7lop7liqAuY29uY2F0KOWkp+exuyk7XFxuICAgICAgICAgIH1cXG4gICAgICAgICAgaWYgKCgn6KGl5YWFJyBpbiBkYXRhKSkge1xcbiAgICAgICAgICAgIGlmIChkYXRhLuihpeWFhS5jb25zdHJ1Y3RvciA9PSBTdHJpbmcpIHtcXG4gICAgICAgICAgICAgIGRhdGEu6KGl5YWFID0gZXZhbChkYXRhLuihpeWFhSk7XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIOWkp+exuyA9IOWkp+exuy5jb25jYXQoZGF0YS7ooaXlhYUpO1xcbiAgICAgICAgICB9XFxuICAgICAgICAgIHZhciBjX+agh+mimCA9ICFkYXRhLuagh+mimD/lpKfnsbsubWFwKGk9PnBkZmgoaSxcXFwiYSYmVGV4dFxcXCIpKTrlpKfnsbsubWFwKGk9PnBkZmgoaSxkYXRhLuagh+mimCkpO1xcbiAgICAgICAgICAgdmFy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ICAgICBpZihtb2RlKXtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcHV0TXlWYXIoaG9zdCArIGMgKyBpbmRleCwgaWQpOyAgICAgICAgICAgICAgICAgICAgICBcXG4gICAgICAgICAgICAgICAgICAgICAgICB9ZWxzZXtcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcihob3N0ICsgYyAsIGlkKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBuID0gdjsgbiA8PSAyMDsgbisrKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKGhvc3QgK2MrICdpbmRleCcgKyBuLCAnLTEnKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICB9fVxcblxcdFxcdFxcdGNsZWFyTXlWYXIoaG9zdCArICdwYWdlJyk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgY2xlYXJNeVZhcihob3N0Kyd1cmwnKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcihob3N0ICtjKyAnaW5kZXgnICsgaW5kZXgsIGluZGV4X2MpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKCk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5JztcXG4gICAgICAgICAgICAgICAgICAgIH0sIGluZGV4LGNf6ZO+5o6lW2luZGV4X2NdLCBpbmRleF9jLCBob3N0LG1vZGUsdGl0bGUsdixjKSxcXG4gICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6ICdibGFua19ibG9jaycsXFxuICAgICAgICAgICAgfSk7ICAgIFxcbiAgICAgICAgICAgIHJldHVybiBkO1xcbiAgICAgICAgfVxcblxcbmZ1bmN0aW9uIOWIhuexuyhkYXRhLGhvc3QsZCxtb2RlKSB7XFxuICAgICAgICBpZighZ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ICAgICAgICBkYXRhX2xvY2FsLmZvckVhY2goKGl0ZW0sIGluZGV4KSA9PiB7XFxuICAgICAgICAgIGNsYXNzVG9wKGluZGV4LCBpdGVtLCBob3N0LCBkLCBtb2RlKTtcXG4gICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgfVxcclxcbiAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgdmFyIGRhdGFfbG9jYWwgPSBKU09OLnBhcnNlKHJlYWRGaWxlKCdkYXRhX2xvY2FsLnR4dCcsIDApIHx8ICdbXScpO1xcbmxvZyhyZWFkRmlsZSgnaG9zdC50eHQnLCAwKSlcXG5sb2coaG9zdClcXG4gICAgIGlmIChwYWdlID09IDEpIHtcXG4gICAgICAgICAgZGF0YV9sb2NhbC5mb3JFYWNoKChpdGVtLCBpbmRleCkgPT4ge1xcbiAgICAgICAgICBjbGFzc1RvcChpbmRleCwgaXRlbSwgaG9zdCwgZCwgbW9kZSk7XFxuICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgICAgfVxcbn1cXG4vL+aQnOe0olxcbmZ1bmN0aW9uIHNlYXJjaE1haW4ocGFnZSwgZCwgdGl0bGUsIGRlc2MpIHtcXG4gICAgaWYgKHBhZ2UgPT0gMSkge1xcbiAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICB0aXRsZTogdGl0bGUgPyB0aXRsZSA6ICfmkJzntKInLFxcbiAgICAgICAgICAgIHVybDogJC50b1N0cmluZygocikgPT4ge1xcbiAgICAgICAgICAgICAgICBwdXRWYXIoJ2tleXdvcmQnLCBpbnB1dCk7XFxuICAgICAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9zZWFyY2g/cnVsZT0nICsgciArICcmcz0nICsgaW5wdXQ7XFxuICAgICAgICAgICAgfSwgTVlfUlVMRS50aXRsZSksXFxuICAgICAgICAgICAgZGVzYzogZGVzYyA/IGRlc2MgOiAn5pCc5L2g5oOz6KaB55qELi4uJyxcXG4gICAgICAgICAgICBjb2xfdHlwZTogJ2lucHV0JyxcXG4gICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICBkZWZhdWx0VmFsdWU6IGdldFZhcigna2V5d29yZCcsICcnKSxcXG4gICAgICAgICAgICB9XFxuICAgICAgICB9KTtcXG4gICAgfVxcbiAgICByZXR1cm4gZDtcXG59XCJ9XSIsImljb24iOiJodHRwczovL3Jyb3VwdTMuYnV6ei9zdGF0aWMvdGhlbWUtc3AvYnVsaWFuZ3NoYW9udi9mYXZpY29uLmljbyIsInByb3h5IjoiIn0=
Add Comment
Please, Sign In to add comment