xiaomianao666

小程序:真不卡D

Oct 9th, 2022
1,948
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@真不卡D@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi55yf5LiN5Y2hRCIsImF1dGhvciI6IlJlYm9ybibniLHmmK/nlKjlv4MiLCJ1cmwiOiJoaWtlcjovL2VtcHR5IyNodHRwOi8vd3d3LnpoZW5idWthMy5jb20vdm9kdHlwZS8xL3BhZ2UvZnlwYWdlLmh0bWwiLCJ2ZXJzaW9uIjowLCJjb2xfdHlwZSI6Im1vdmllXzMiLCJjbGFzc19uYW1lIjoiIiwidHlwZSI6InZpZGVvIiwiY2xhc3NfdXJsIjoiIiwiYXJlYV9uYW1lIjoiIiwiYXJlYV91cmwiOiIiLCJzb3J0X25hbWUiOiIiLCJ5ZWFyX25hbWUiOiIiLCJzb3J0X3VybCI6IiIsInllYXJfdXJsIjoiIiwiZmluZF9ydWxlIjoianM6XG52YXIgZCA9IFtdO1xudmFyIGdldFJhbmdlQ29sb3JzID0gZnVuY3Rpb24oKSB7wqDCoMKgwqDCoMKgwqBcbiAgICByZXR1cm4gJyMnICsgKCcwMDAwMCcgKyAoTWF0aC5yYW5kb20oKSAqIDB4MTAwMDAwMCA8PCAwKS50b1N0cmluZygxNikpLnN1YnN0cigtNik7wqDCoMKgwqDCoFxufVxuXG5jb25zdCDliIbnsbvpopzoibIgPSBnZXRSYW5nZUNvbG9ycygpXG5cbk1ZX1VSTCA9IE1ZX1VSTC5yZXBsYWNlKCdoaWtlcjovL2VtcHR5IyMnLCAnJylcblxubGV0IHRydWVfdXJsID0gZ2V0TXlWYXIoJ2hlYWRlci51cmwnLCBNWV9VUkwpXG5cbmNvbnN0IHBhZ2UgPSBNWV9VUkwubWF0Y2goL3BhZ2VcXC8oLio/KVxcLi8pWzFdXG5cbnRydWVfdXJsID0gdHJ1ZV91cmwucmVwbG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WVfMSIsImRldGFpbF9maW5kX3J1bGUiOiJqczpcbnZhciBkID0gW107XG52YXIgaHRtbCA9IGdldFJlc0NvZGUoKTtcblxuXG4vL+WXheaOolxudmFyIGxhenkxID0gJCgnJykubGF6eVJ1bGUoKCkgPT4ge1xuXG4gICAgLy94NXJ1bGXlvLrlipvll4XmjqJcbmZ1bmN0aW9uIHg1cnVsZShqaWV4dXJsLCBzcmN1cmwpIHtcbiAgICBzaG93TG9hZGluZyhcIue9kemhteiuv+mXruajgOe0ouS4re+8jOivt+eojeWAmS4uLlwiKTtcbiAgICB2YXIgdmlkZW8gPSAnd2ViUnVsZTovLycgKyBqaWV4dXJsICsgJ0AnICsgJC50b1N0cmluZygoc3JjdXJsKSA9PiB7XG4gICAgICAgIC8vZmJhLmxvZyhmYmEuZ2V0VXJscygpKTtcbiAgICAgICAgdmFyIHVybHMgPSBfZ2V0VXJscygpO1xuICAgICAgICBpZiAod2luZG93LmNvdW50ID09IG51bGwgfHwgd2luZG93LmNvdW50ID09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgd2luZG93LmNvdW50ID0gMFxuICAgICAgICB9XG4gICAgICAgIGlmICh3aW5kb3cuY291bnQgPj0gMjMpIHtcbiAgICAgICAgICAgIHJldHVybiBzcmN1cmxcbiAgICAgICAgfVxuICAgICAgICB3aW5kb3cuY291bnQgPSB3aW5kb3cuY291bnQgKyAxO1xuICAgICAgICBpZiAod2luZG93LmNvdW50ID4gMSAmJiB3aW5kb3cuY291bnQgPD0gMyAmJiB3aW5kb3cuY291bnQgIT0gbnVsbCAmJiB3aW5kb3cuY291bnQgIT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgICBpZiAoZG9jdW1lbnQucXVlcnlTZWxlY3RvcignYm9keScpLmlubmVyVGV4dC5zZWFyY2goL+inpuWPkeS6humYsuebl+mTvnzmnKrmjojmnYN85o6l5Y+j6Ziy55uXfOivt+WIsOS4u+ermeingueciy8pICE9IC0xKSB7XG4gICAgICAgICAgICAgICAgaWYgKCFzcmN1cmwpIHtcbiAgICAgICAgICAgICAgICBcdGZiYS5sb2coJ+Wwneivlei3s+mYsuebl+mqjOivgeS4gCcpO1xuICAgICAgICAgICAgICAgICAgICBsb2NhdGlvbi5ocmVmID0gbG9jYXRpb24uaHJlZjtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIFx0ZmJhLmxvZygn5bCd6K+V6Lez6Ziy55uX6aqM6K+B5LqMJyk7XG4gICAgICAgICAgICAgICAgICAgIGxvY2F0aW9uLmhyZWYgPSBzcmN1cmxcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9O1xuICAgICAgICB9IGVsc2UgaWYod2luZG93LmNvdW50ID4gMyAmJiB3aW5kb3cuY291bnQgIT0gbnVsbCAmJiB3aW5kb3cuY291bnQgIT0gdW5kZWZpbmVkKXtcbiAgICAgICAgICAgIGlmICh1cmxzLmxlbmd0aCA8IDEpIHtcbiAgICAgICAgICAgICAgICBmYmEuaGlkZUxvYWRpbmcoKTtcbiAgICAgICAgICAgICAgICByZXR1cm4gJ3RvYXN0Oi8v5qOA57Si5aSx6LSl77yM5Y+v6IO96ZO+5o6l5peg5rOV6K6/6Zeu44CCJztcbiAgICAgICAgICAgIH0gZWxzZSBpZiAodXJscy5sZW5ndGggPT0gMSkge1xuICAgICAgICAgICAgICAgIGZiYS5sb2coJ+WwneivleebtOmTvuS4jkpTT07op6PmnpAnKTtcbiAgICAgICAgICAgICAgICBpZiAodXJsc1swXS5tYXRjaCgvZHljZG5cXC10b3NcXC5wc3RhdHB8XFwubTN1OHxcXC5tcDR8XFwuZmx2fG5ldGVhc2VcXC5jb218dmlkZW9fbXA0fHR5cGVcXD1tM3U4fHB0XFw9bTN1OC8pICYmICF1cmxzWzBdLm1hdGNoKC9cXC5odG1sfG0zdThcXC50dnxcXCZuZXh0fGFjXFw9ZG18XFw9aHR0cHxodHRwc1xcOlxcL1xcL1tcXGRdXFwubTN1OHxcXD91cmxcXD1cXC9tM3U4LykpIHtcbiAgICAgICAgICAgICAgICAgICAgLy9meV9icmlkZ2VfYXBwLmxvZyh1cmxzWzBdKVxuICAgICAgICAgICAgICAgICAgICBpZiAodXJsc1swXS5pbmRleE9mKCdiaWxpdmlkZW8nKSAhPSAtMSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbMF0gKyAnO3tSZWZlcmVyQGh0dHBzOi8vd3d3LmJpbGliaWxpLmNvbSYmVXNlci1BZ2VudEBNb3ppbGxhLzUuMH0nO1xuICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHVybHNbMF0uaW5kZXhPZigndGl0YW4ubWd0di5jb20nKSAhPSAtMSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbMF0gKyAnI2lzVmlkZW89dHJ1ZSMnICsgJzt7UmVmZXJlckB3d3cubWd0di5jb20mJlVzZXItQWdlbnRATW96aWxsYS81LjB9JztcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxzWzBdXG4gICAgICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmIChsb2NhdGlvbi5ocmVmLm1hdGNoKC9keWNkblxcLXRvc1xcLnBzdGF0cHxcXC5tM3U4fFxcLm1wNHxcXC5mbHZ8bmV0ZWFzZVxcLmNvbXx2aWRlb19tcDR8dHlwZVxcPW0zdTh8cHRcXD1tM3U4LykgJiYgIWxvY2F0aW9uLmhyZWYubWF0Y2goL2h0bWx8bTN1OFxcLnR2fFxcJm5leHR8YWNcXD1kbXxcXD1odHRwfGh0dHBzXFw6XFwvXFwvW1xcZF1cXC5tM3U4fFxcP3VybFxcPVxcL20zdTgvKSkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gbG9jYXRpb24uaHJlZjtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB2YXIgaHRtbCA9IGZiYS5mZXRjaChsb2NhdGlvbi5ocmVmLCB7fSk7XG4gICAgICAgICAgICAgICAgICAgIGlmICghL1xcPG1ldGEvLnRlc3QoaHRtbCkmJiEvXFw8aHRtbC8udGVzdChodG1sKSkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gSlNPTi5wYXJzZShodG1sKS51cmw7XG4gICAgICAgICAgICAgICAgICAgIH1lbHNle1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gbG9jYXRpb24uaHJlZn1cbiAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICBmYmEubG9nKCfml6Xlv5fmo4DntKLnrKwnICsgd2luZG93LmNvdW50ICsgJ+asoScpO1xuICAgICAgICAgICAgICAgIGZvciAodmFyIGkgaW4gdXJscykge1xuICAgICAgICAgICAgICAgICAgICBpZiAodXJsc1tpXS5tYXRjaCgvZHljZG5cXC10b3NcXC5wc3RhdHB8XFwubTN1OHxcXC5tcDR8XFwuZmx2fG5ldGVhc2VcXC5jb218dmlkZW9fbXA0fHR5cGVcXD1tM3U4fHB0XFw9bTN1OC8pICYmICF1cmxzW2ldLm1hdGNoKC9odG1sfG0zdThcXC50dnxcXCZuZXh0fGFjXFw9ZG18XFw9aHR0cHxodHRwc1xcOlxcL1xcL1tcXGRdXFwubTN1OHxcXD91cmxcXD1cXC9tM3U4LykpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vZnlfYnJpZGdlX2FwcC5sb2codXJsc1tpXSlcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh1cmxzW2ldLmluZGV4T2YoJ2JpbGl2aWRlbycpICE9IC0xKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbaV0gKyAnO3tSZWZlcmVyQGh0dHBzOi8vd3d3LmJpbGliaWxpLmNvbSYmVXNlci1BZ2VudEBNb3ppbGxhLzUuMH0nO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmICh1cmxzW2ldLmluZGV4T2YoJ3RpdGFuLm1ndHYuY29tJykgIT0gLTEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdXJsc1tpXSArICcjaXNWaWRlbz10cnVlIycgKyAnO3tSZWZlcmVyQHd3dy5tZ3R2LmNvbSYmVXNlci1BZ2VudEBNb3ppbGxhLzUuMH0nO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmICh1cmxzW2ldLmluZGV4T2YoJ2p1aGFva2FuJykgIT0gLTEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdXJsc1tpXSArICc7e1JlZmVyZXJAaHR0cHM6Ly93d3cuanVoYW9rYW4uY2MvfSc7XG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHVybHNbaV0uaW5kZXhPZignb2piaycpICE9IC0xKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbaV0gKyAnO3tSZWZlcmVyQGh0dHBzOi8vdi5vamJranguY29tL30nO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmICh1cmxzW2ldLmluZGV4T2YoJ3drZmlsZScpICE9IC0xKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbaV0gKyAnO3tSZWZlcmVyQGh0dHBzOi8vZmFudHVhbi53a2ZpbGUuY29tL30nO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdXJsc1tpXSArICcjaXNWaWRlbz10cnVlIydcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gLy9lbmQgZm9yIGlcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH0sIHNyY3VybCk7XG4gICAgcmV0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