xiaomianao666

小程序:农民影视🤡

Jan 20th, 2024
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@农民影视🤡@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi5Yac5rCR5b2x6KeG8J+koSIsImF1dGhvciI6Iue8mOWIhiIsInVybCI6Imh0dHBzOi8vdi5lbXNkbi5jbi92b2QtbGlzdC1pZC1meWNsYXNzLXBnLWZ5cGFnZS1vcmRlci0tYnktZnlzb3J0LWNsYXNzLTAteWVhci1meXllYXItbGV0dGVyLS1hcmVhLS1sYW5nLS5odG1sO3tVc2VyLUFnZW50QE1vemlsbGEvNS4wIChMaW51eO+8m++8myBBbmRyb2lkIDEx77yb77ybIE1pIDEwIFBybykgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzg4LjAuNDMyNC4xNTIgTW9iaWxlIFNhZmFyaS81MzcuMzZ9IiwidmVyc2lvbiI6MCwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IueUteW9sSbnlLXop4bliacm57u86Im6JuWKqOa8qyIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IjEmMiYzJjQiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IuaXtumXtCbkurrmsJQm6K+E5YiGIiwieWVhcl9uYW1lIjoi5YWo6YOoXG4mMjAyMiYyMDIxJjIwMjAmMjAxOSYyMDE4JjIwMTcmMjAxNiYyMDE1JjIwMTQmMjAxMyYyMDEyJjIwMTEmMjAxMCYyMDA5JjIwMDgmMjAwNyYyMDA2JjIwMDUmMjAwNCYyMDAzJjIwMDImMjAwMSYyMDAwJjE5OTkmMTk5OCYxOTk3JjE5OTYmMTk5NSYxOTk0JjE5OTMmMTk5MiYxOTkxJjE5OTAmMTk4OSYxOTg4JjE5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md0aCAtIDE7IGogPj0gMDsgai0tKSB7XG4gICAgICAgICAgICAgICAgZC5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IHBhcnNlRG9tRm9ySHRtbChsaXN0W2pdLCAnYSYmVGV4dCcpLnJlcGxhY2UoL+esrHzpm4Z86K+dfOacny9nLCAnJyksXG4gICAgICAgICAgICAgICAgICAgIHVybDpwYXJzZURvbShsaXN0W2pdLCAnYSYmaHJlZicpICtsYXp5LFxuICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogbGlzdC5sZW5ndGggPiA0ID8gJ3RleHRfNScgOiAndGV4dF8yJ1xuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGNhdGNoIChlKSB7XG4gICAgICAgICAgICBkLnB1c2goe1xuICAgICAgICAgICAgICAgIHRpdGxlOiAn5rKh5pyJ6YCJ6ZuG5ZOf77yM5LiN5L+h54K55Zu+54mH5Y6755yL55yL8J+RgCcsXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6ICd0ZXh0X2NlbnRlcl8xJ1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICB9IGVsc2Uge1xuICAgICAgICB0cnkge1xuICAgICAgICAgICAgZm9yICh2YXIgaiA9IDA7IGogPCBsaXN0Lmxlbmd0aDsgaisrKSB7XG4gICAgICAgICAgICAgICAgZC5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IHBhcnNlRG9tRm9ySHRtbChsaXN0W2pdLCAnYSYmVGV4dCcpLnJlcGxhY2UoL+esrHzpm4Z86K+dfOacny9nLCAnJyksXG4gICAgICAgICAgICAgICAgICAgIHVybDpwYXJzZURvbShsaXN0W2pdLCAnYSYmaHJlZicpICtsYXp5LFxuICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogbGlzdC5sZW5ndGggPiA0ID8gJ3RleHRfNScgOiAndGV4dF8yJ1xuICAgICAgICAgICAgICAgIH0pO1xuICAg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bmRvdy5jb3VudCA9PSB1bmRlZmluZWQpIHtcXG4gICAgICAgICAgICB3aW5kb3cuY291bnQgPSAwXFxuICAgICAgICB9XFxuICAgICAgICBpZiAod2luZG93LmNvdW50ID49IDIzKSB7XFxuICAgICAgICAgICAgcmV0dXJuIHNyY3VybFxcbiAgICAgICAgfVxcbiAgICAgICAgd2luZG93LmNvdW50ID0gd2luZG93LmNvdW50ICsgMTtcXG4gICAgICAgIGlmICh3aW5kb3cuY291bnQgPiAxICYmIHdpbmRvdy5jb3VudCA8PSAzICYmIHdpbmRvdy5jb3VudCAhPSBudWxsICYmIHdpbmRvdy5jb3VudCAhPSB1bmRlZmluZWQpIHtcXG4gICAgICAgICAgICBpZiAoZG9jdW1lbnQucXVlcnlTZWxlY3RvcignYm9keScpLmlubmVyVGV4dC5zZWFyY2goL+inpuWPkeS6humYsuebl+mTvnzmnKrmjojmnYN85o6l5Y+j6Ziy55uXfOivt+WIsOS4u+ermeingueciy8pICE9IC0xKSB7XFxuICAgICAgICAgICAgICAgIGlmICghc3JjdXJsKSB7XFxuICAgICAgICAgICAgICAgIFxcdGZiYS5sb2coJ+Wwneivlei3s+mYsuebl+mqjOivgeS4gCcpO1xcbiAgICAgICAgICAgICAgICAgICAgbG9jYXRpb24uaHJlZiA9IGxvY2F0aW9uLmhyZWY7XFxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgIFxcdGZiYS5sb2coJ+Wwneivlei3s+mYsuebl+mqjOivgeS6jCcpO1xcbiAgICAgICAgICAgICAgICAgICAgbG9jYXRpb24uaHJlZiA9IHNyY3VybFxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfTtcXG4gICAgICAgIH0gZWxzZSBpZih3aW5kb3cuY291bnQgPiAzICYmIHdpbmRvdy5jb3VudCAhPSBudWxsICYmIHdpbmRvdy5jb3VudCAhPSB1bmRlZmluZWQpe1xcbiAgICAgICAgICAgIGlmICh1cmxzLmxlbmd0aCA8IDE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ICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmICh1cmxzW2ldLmluZGV4T2YoJ2p1aGFva2FuJykgIT0gLTEpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbaV0gKyAnO3tSZWZlcmVyQGh0dHBzOi8vd3d3Lmp1aGFva2FuLmNjL30nO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodXJsc1tpXS5pbmRleE9mKCdvamJrJykgIT0gLTEpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbaV0gKyAnO3tSZWZlcmVyQGh0dHBzOi8vdi5vamJranguY29tL30nO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodXJsc1tpXS5pbmRleE9mKCd3a2ZpbGUnKSAhPSAtMSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdXJsc1tpXSArICc7e1JlZmVyZXJAaHR0cHM6Ly9mYW50dWFuLndrZmlsZS5jb20vfSc7XFxuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbaV0gKyAnI2lzVmlkZW89dHJ1ZSMnXFxuICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICB9IC8vZW5kIGZvciBpXFxuICAgICAgICAgICAgfVxcbiAgICAgICAgfVxcbiAgICB9LCBzcmN1cmwpO1xcbiAgICByZXR1cm4gdmlkZW9cXG59XFxuLy/nu5PmnZ94NXJ1bGXlvLrlipvll4XmjqJcXG4gICAgcmV0dXJuIHg1cnVsZShpbnB1dCwgaW5wdXQpO1xcbn0pO1xcbnZhciBsYXp5Mj0gXFxcIkBsYXp5UnVsZT0uanM6c2hvd0xvYWRpbmcoJ+WKqOaAgeino+aekOS4re+8jOivt+eojeWAmScpOyd4NVJ1bGU6Ly8nK2lucHV0KydAJyArIGdldFZhcignX3g1JylcXFwiO1xcbnZhciBsYXp5ID0gKGdldFZhcihcXFwibXNcXFwiKSA9PSBcXFwiMVxcXCIgPyBsYXp5MiA6IGxhenkxKVwifV0iLCJpY29uIjoiaHR0cDovL2FwaS53cGJvbS5jb20vYXBpL2ljby9nZXQucGhwP3VybD1odHRwczovL3YuZW1zZG4uY24iLCJwcm94eSI6IiJ9
Add Comment
Please, Sign In to add comment