Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:网页插件¥js_url¥global_全能视频下载器@base64://Ly8gPT1Vc2VyU2NyaXB0PT0KLy8gQG5hbWUgICAgICAgICDlhajog73op4bpopHkuIvovb3lmagKLy8gQG5hbWVzcGFjZSAgICBodHRwczovL3FpbmxpbGkuYmlkCi8vIEB2ZXJzaW9uICAgICAgMC4yCi8vIEBkZXNjcmlwdGlvbiAg6buR56eR5oqA77yB5L2/55SoTWVkaWFTb3VjZeeahOinhumikeS4i+i9veaKgOacr++8gQovLyBAYXV0aG9yICAgICAgIOeQtOaiqOaiqAovLyBAbWF0Y2ggICAgICAgIGh0dHBzOi8vbGlicmFyeS5rb29sZWFybi5jb20vKgovLyBAbWF0Y2ggICAgICAgICo6Ly93d3cucG1waG1vb2MuY29tLyoKLy8gQGdyYW50ICAgICAgICBub25lCi8vIEBkb3dubG9hZFVSTCBodHRwczovL3VwZGF0ZS5ncmVhc3lmb3JrLm9yZy9zY3JpcHRzLzQzOTU5Mi8lRTUlODUlQTglRTglODMlQkQlRTglQTclODYlRTklQTIlOTElRTQlQjglOEIlRTglQkQlQkQlRTUlOTklQTgudXNlci5qcwovLyBAdXBkYXRlVVJMIGh0dHBzOi8vdXBkYXRlLmdyZWFzeWZvcmsub3JnL3NjcmlwdHMvNDM5NTkyLyVFNSU4NSVBOCVFOCU4MyVCRCVFOCVBNyU4NiVFOSVBMiU5MSVFNCVCOCU4QiVFOCVCRCVCRCVFNSU5OSVBOC5tZXRhLmpzCi8vID09L1VzZXJTY3JpcHQ9PQovL+i/meS4quS4i+i9veWZqOS5n+WPr+S7peeUqOS6juWFtuS7lue9keerme+8jOiHquW3seaUueS4gOS4i21hdGNo5Zyw5Z2A5bCx6KGM5LqG5o2PCgooZnVuY3Rpb24oKSB7CiAgICAndXNlIHN0cmljdCc7CiAgICAvL2h0dHBzOi8vc3RhY2tvdmVyZmxvdy5jb20vcXVlc3Rpb25zLzQ5MTI5N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1lbnQuYm9keS5yZW1vdmVDaGlsZChlbGVMaW5rKTsKICAgIH0KCgoKICAgIChmdW5jdGlvbiAoYWRkU291cmNlQnVmZmVyKSB7CiAgICAgICAgTWVkaWFTb3VyY2UucHJvdG90eXBlLmFkZFNvdXJjZUJ1ZmZlciA9IGZ1bmN0aW9uIChtaW1lKSB7CiAgICAgICAgICAgIGNvbnNvbGUubG9nKG1pbWUpCiAgICAgICAgICAgIHN3aXRjaCAobWltZS5zdWJzdHIoMCw1KSl7CiAgICAgICAgICAgICAgICBjYXNlICJhdWRpbyI6CiAgICAgICAgICAgICAgICAgICAgd2luZG93LmFtcz1hZGRTb3VyY2VCdWZmZXIuY2FsbCh0aGlzLCBtaW1lKTsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gd2luZG93LmFtcwogICAgICAgICAgICAgICAgICAgIHdpbmRvdy5hdWRpb0J1ZmZlcj1bXTsKICAgICAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICAgIGNhc2UgInZpZGVvIjoKICAgICAgICAgICAgICAgICAgICB3aW5kb3cudm1zPWFkZFNvdXJjZUJ1ZmZlci5jYWxsKHRoaXMsIG1pbWUpOwogICAgICAgICAgICAgICAgICAgIHJldHVybiB3aW5kb3cudm1zCiAgICAgICAgICAgICAgICAgICAgd2luZG93LnZpZGVvQnVmZmVyPVtdOwogICAgICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgICAgZGVmYXVsdDoKICAgICAgICAgICAgICAgICAgICByZXR1cm4gYWRkU291cmNlQnVmZmVyLmNhbGwodGhpcywgbWltZSk7CiAgICAgICAgICAgIH0KICAgICAgICB9OwogICAgfSkoTWVkaWFTb3VyY2UucHJvdG90eXBlLmFkZFNvdXJjZUJ1ZmZlcik7CgogICAgd2luZG93LnZpZGVvQnVmZmVyPVtdOwogICAgd2luZG93LmF1ZGlvQnVmZmVyPVtdOwoKICAgIChmdW5jdGlvbiAoYXBwZW5kQnVmZmVyKSB7CiAgICAgICAgU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uW8gOWni+S4i+i9vVxu6K+35L+d5oyB6aG16Z2i5YmN5Y+w6L+Q6KGM77yM5Y2D5LiH5LiN6KaB5ouW5ou96L+b5bqm5p2h77yB77yB77yBIikKICAgICAgICB0aXRsZS5pbm5lclRleHQ9IlvmraPlnKjkv53lrZjop4bpopHvvIzor7fnrYnlvoXmkq3mlL7lrozmiJBdIgogICAgICAgIGNvbnN0IHZpZGVvPWRvY3VtZW50LmdldEVsZW1lbnRzQnlUYWdOYW1lKCJ2aWRlbyIpWzBdCiAgICAgICAgdmlkZW8uYWRkRXZlbnRMaXN0ZW5lcigiZW5kZWQiLCgpPT57CiAgICAgICAgICAgIHRpdGxlLmlubmVyVGV4dD0iW+ato+WcqOWvvOWHuuinhumikV0iCiAgICAgICAgICAgIHZhciBhdWRpb0ZpbGU9bmV3IEJsb2IoW2NvbmNhdCh3aW5kb3cuYXVkaW9CdWZmZXIpXSkKICAgICAgICAgICAgZGxGaWxlKFVSTC5jcmVhdGVPYmplY3RVUkwoYXVkaW9GaWxlKSwi6Z+z6aKRLm00YSIpCiAgICAgICAgICAgIHZhciB2aWRlb0ZpbGU9bmV3IEJsb2IoW2NvbmNhdCh3aW5kb3cudmlkZW9CdWZmZXIpXSkKICAgICAgICAgICAgZGxGaWxlKFVSTC5jcmVhdGVPYmplY3RVUkwodmlkZW9GaWxlKSwi6KeG6aKRLm1wNCIpCiAgICAgICAgfSkKICAgICAgICB2aWRlby5wbGF5YmFja1JhdGU9MTYKICAgIH0pCgoKfSkoKTs=
Add Comment
Please, Sign In to add comment