Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:网页插件¥js_url¥global_磁力直接播@base64://Ly8gPT1Vc2VyU2NyaXB0PT0KLy8gQG5hbWUgICAgICAgICDno4Hpk77nm7TmjqXmkq3vvIHjgJDno4Hpk77ll4XmjqLor4bliKsgKyDlnKjnur/mkq3mlL7vvIjno4HlipvkupHmkq3vvInvvIjnlLXno4Hpq5jmiYvvvInjgJEKLy8gQG5hbWU6emgtQ04gICDno4Hpk77nm7TmjqXmkq3vvIHjgJDno4Hpk77ll4XmjqLor4bliKsgKyDlnKjnur/mkq3mlL7vvIjno4HlipvkupHmkq3vvInvvIjnlLXno4Hpq5jmiYvvvInjgJEKLy8gQG5hbWU6emgtVFcgICDno4Hpk77nm7TmjqXmkq3vvIHjgJDno4Hpj4jll4XmjqLorZjliKUgKyDlnKjnt5rmkq3mlL7vvIjno4Hlipvpm7Lmkq3vvInvvIjpm7vno4Hpq5jmiYvvvInjgJEKLy8gQG5hbWU6ZW4gICAgICBNYWduZXRpYyBMaW5rIERpcmVjdGx5IFBsYXkhIFsgQXV0byBEZXRlY3QgKyBWaWRlbyBQbGF5IE9ubGluZSAoV2F0Y2hNYWdzKSBdCi8vIEBuYW1lc3BhY2UgICAgaGVhbHRoeWxpZmUKLy8gQHZlcnNpb24gICAgICAwLjAuMgovLyBAZGVzY3JpcHRpb24gIOiHquWKqOWXheaOouivhuWIq+mhtemdouejgeWKm+mTvuaOpe+8jOWIsOeUteejgemrmOaJi+S4reiHquWKqOa3u+WKoOaSreaUvuinhumikeOAguivhuWIq+WQju+8jOS8muWcqOebuOW6lOS9jee9rua3u+WKoOebtOaOpeaSreaMiemSru+8jOeCueWHu+WNs+WPr+i3s+i9rOWIsOeUteejgemrmOaJi+W5tuiHquWKqOa3u+WKoOOAggovLyBAZGVzY3JpcHRpb246emgtQ04gIOiHquWKqOWXheaOouivhuWIq+mhtemdouejgeWKm+mTvuaOpe+8jOWIsOeUteejgemrmOaJi+S4reiHquWKqOa3u+WKoOaSreaUvuinhumikeOAguivhuWIq+WQju+8jOS8muWcqOebuOW6lOS9jee9rua3u+WKoOebtOaOpeaSreaMiemSru+8jOeCueWHu+WNs+WPr+i3s+i9rOWIsOeUteejgemrmOaJi+W5tuiHquWKqOa3u+WKoOOAggovLyBAZGVzY3JpcHRpb246emgtVFcgIOiHquWLleWXheaOouitmOWIpemggemdouejgeWKm+mPiOaOpe+8jOWIsOmbu+ejgemrmOaJi+S4reiHquWLlea3u+WKoOaSreaUvuimlumgu+OAguitmOWIpeW+jO+8jOacg+WcqOebuOaHieS9jee9rua3u+WKoOebtOaOpeaSreaMiemIle+8jOm7nuaTiuWNs+WPr+i3s+i9ieWIsOmbu+ejgemrmOaJi+S4puiHquWLlea3u+WKoOOAggovLyBAZGVzY3JpcHRpb246ZW4gIEF1dG9tYXRpY2FsbHkgZGV0ZWN0IHRoZSBtYWduZXRpYyBsaW5rIG9mIHRoZSBwYWdlLCBhbmQgYXV0b21hdGljYWxseSBhZGQgYW5kIHBsYXkgdmlkZW9zIGluIGRpYW5jaWdhb3Nob3UuY29tCi8vIEBhdXRob3IgICAgICAgaGVhbHRoeWxpZmUKLy8gQG1hdGNoICAgICAgICAqOi8vKi8qCi8vIEBleGNsdWRlICAgICAgKjovL3d3dy5kaWFuY2lnYW9zaG91LmNvbS8qCi8vIEBydW4tYXQgICAgICAgZG9jdW1lbnQtc3RhcnQKLy8gPT0vVXNlclNjcmlwdD09CgooZnVuY3Rpb24oKSB7CiAgICAndXNlIHN0cmljdCc7CgogICAgY29uc3QgcmVnID0gL21hZ25ldDpcP3h0PXVybjpidGloOlx3ezEwLH0oWy1hLXpBLVowLTkoKUA6JV9cKy5+Iz8mLy89XSopLzsKCiAgICBsZXQgbCA9IG5hdmlnYXRvci5sYW5ndWFnZSB8fCAiZW4iOwogICAgaWYgKGwuc3RhcnRzV2l0aCgiZW4tIikpIGwgPSAiZW4iOwogICAgZWxzZSBpZiAobC5zdGFydHNXaXRoKCJ6aC0iKSkgbCA9ICJ6aC1DTiI7CiAgICBlbHNlIGwgPSAiZW4iOwoKICAgIGNvbnN0IFQgPSB7CiAgICAgICAgImVuIjogewogICAgICAgICAgICBwbGF5OiAiUGxheSIKICAgICAgICB9LAogICAgICAgICJ6aC1DTiI6IHsKICAgICAgICAgICAgcGxheTogJ+ebtOaOpeaSrScKICAgICAgICB9CiAgICB9W2xdOwoKICAgIHdoZW5ET01SZWFkeSgoKSA9PiB7CiAgICAgICAgYWRkU3R5bGUoYAogICAgICAgICAgICBidXR0b25bZGF0YS13dG16amstbWFnLXVybF17CiAgICAgICAgICAgICAgICBhbGw6IGluaXRpYWw7CiAgICAgICAgICAgICAgICBib3JkZXI6IG5vbmU7CiAgICAgICAgICAgICAgICBvdXRsaW5lOiBub25lOwogICAgICAgICAgICAgICAgYmFja2dyb3VuZDogbm9uZTsKICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6ICNmN2QzMDg7CiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kOiAjMDhhNmY3OwogICAgICAgICAgICAgICAgbWFyZ2luOiAycHggOHB4OwogICAgICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogM3B4OwogICAgICAgICAgICAgICAgY29sb3I6IHdoaXRlOwogICAgICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyOwogICAgICAgICAgICAgICAgZGlzcGxheTogaW5saW5lLWZsZXg7CiAgICAgICAgICAgICAgICBoZWlnaHQ6IDEuNmVtOwogICAgICAgICAgICAgICAgcGFkZGluZzogMCAuOGVtOwogICAgICAgICAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjsKICAgICAgICAgICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyOwogICAgICAgICAgICAgICAgdHJhbnNpdGlvbjogYmFja2dyb3VuZCAuMTVzOwogICAgICAgICAgICAgICAgdGV4dC1kZWNvcmF0aW9uOiBub25lOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGJ1dHRvbltkYXRhLXd0bXpqay1tYWctdXJsXT5zdmd7CiAgICAgICAgICAgICAgICBoZWlnaHQ6IDYwJTsKICAgICAgICAgICAgICAgIGZpbGw6IHdoaXRlOwogICAgICAgICAgICAgICAgcG9pbnRlci1ldmVudHM6IG5vbmU7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgYnV0dG9uW2RhdGEtd3RtemprLW1hZy11cmxdOmhvdmVyewogICAgICAgICAgICAgICAgYmFja2dyb3VuZDogI2ZhZTE1NzsKICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6ICMzOWI5Zjk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgYnV0dG9uW2RhdGEtd3RtemprLW1hZy11cmxdOmFjdGl2ZXsKICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6ICNkZmJlMDc7CiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kOiAjMDc5N2RmOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGJ1dHRvbltkYXRhLXd0bXpqay1tYWctdXJsXT5zcGFuewogICAgICAgICAgICAgICAgcG9pbnRlci1ldmVudHM6IG5vbmU7CiAgICAgICAgICAgICAgICBmb250LXNpemU6IHNtYWxsO21hcmdpbi1yaWdodDogLjVlbTtmb250LXdlaWdodDpib2xkO2NvbG9yOndoaXRlICFpbXBvcnRhbnQ7CiAgICAgICAgICAgIH0KICAgICAgICBgKTsKICAgICAgICB3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcigiY2xpY2siLCBvbkV2ZW50cywgdHJ1ZSk7CiAgICAgICAgd2luZG93LmFkZEV2ZW50TGlzdGVuZXIoIm1vdXNlZG93biIsIG9uRXZlbnRzLCB0cnVlKTsKICAgICAgICB3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcigibW91c2V1cCIsIG9uRXZlbnRzLCB0cnVlKTsKCiAgICAgICAgd2F0Y2hCb2R5Q2hhbmdlKHdvcmspOwogICAgfSk7CgogICAgZnVuY3Rpb24gb25FdmVudHMoZSkgewogICAgICAgI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ghcmVnLnRlc3QodGV4dCkpIGNvbnRpbnVlOwogICAgICAgICAgICAgICAgbGV0IG1hdGNoID0gdGV4dC5tYXRjaChyZWcpOwogICAgICAgICAgICAgICAgaWYgKG1hdGNoKSB7CiAgICAgICAgICAgICAgICAgICAgbGV0IHVybCA9IG1hdGNoWzBdOwogICAgICAgICAgICAgICAgICAgIGxldCBwID0gbm9kZS5wYXJlbnROb2RlOwogICAgICAgICAgICAgICAgICAgIHAuaW5zZXJ0QmVmb3JlKGRvY3VtZW50LmNyZWF0ZVRleHROb2RlKHRleHQuc2xpY2UoMCwgbWF0Y2guaW5kZXggKyB1cmwubGVuZ3RoKSksIG5vZGUpOwogICAgICAgICAgICAgICAgICAgIHAuaW5zZXJ0QmVmb3JlKGNyZWF0ZVdhdGNoQnV0dG9uKHVybCwgdHJ1ZSksIG5vZGUpOwogICAgICAgICAgICAgICAgICAgIHAuaW5zZXJ0QmVmb3JlKGRvY3VtZW50LmNyZWF0ZVRleHROb2RlKHRleHQuc2xpY2UobWF0Y2guaW5kZXggKyB1cmwubGVuZ3RoKSksIG5vZGUpOwogICAgICAgICAgICAgICAgICAgIHAucmVtb3ZlQ2hpbGQobm9kZSk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgZm9yIChsZXQgYSBvZiBBcnJheS5mcm9tKGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoCiAgICAgICAgICAgICAgICBbJ2hyZWYnLCAndmFsdWUnLCAnZGF0YS1jbGlwYm9hcmQtdGV4dCcsICdkYXRhLXZhbHVlJywgJ3RpdGxlJywgJ2FsdCcsICdkYXRhLXVybCcsICdkYXRhLW1hZ25ldCcsICdkYXRhLWNvcHknXS5tYXAobiA9PiBgWyR7bn0qPSJtYWduZXQ6P3h0PXVybjpidGloOiJdYCkuam9pbignLCcpCiAgICAgICAgICAgICkpKSB7CiAgICAgICAgICAgIGlmIChhLm5leHRTaWJsaW5nICYmIGEubmV4dFNpYmxpbmcuaGFzQXR0cmlidXRlICYmIGEubmV4dFNpYmxpbmcuaGFzQXR0cmlidXRlKCdkYXRhLXd0bXpqay1tYWctdXJsJykpIGNvbnRpbnVlOyAvLyDlt7Lnu4/mt7vliqAKICAgICAgICAgICAgaWYgKHJlZy50ZXN0KGEudGV4dENvbnRlbnQpKSBjb250aW51ZTsKICAgICAgICAgICAgZm9yIChsZXQgYXR0ciBvZiBhLmdldEF0dHJpYnV0ZU5hbWVzKCkpIHsKICAgICAgICAgICAgICAgIGxldCB2YWwgPSBhLmdldEF0dHJpYnV0ZShhdHRyKTsKICAgICAgICAgICAgICAgIGlmICghcmVnLnRlc3QodmFsKSkgY29udGludWU7CiAgICAgICAgICAgICAgICBsZXQgdXJsID0gdmFsLm1hdGNoKHJlZylbMF07CiAgICAgICAgICAgICAgICBhLnBhcmVudE5vZGUuaW5zZXJ0QmVmb3JlKGNyZWF0ZVdhdGNoQnV0dG9uKHVybCksIGEubmV4dFNpYmxpbmcpOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgfQoKCiAgICBmdW5jdGlvbiB3YXRjaEJvZHlDaGFuZ2Uob25jaGFuZ2UpIHsKICAgICAgICB2YXIgdGltZW91dDsKICAgICAgICBsZXQgb2JzZXJ2ZXIgPSBuZXcgTXV0YXRpb25PYnNlcnZlcigoKSA9PiB7CiAgICAgICAgICAgIGlmICghdGltZW91dCkgewogICAgICAgICAgICAgICAgdGltZW91dCA9IHNldFRpbWVvdXQoKCkgPT4geyAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgb25jaGFuZ2UoKTsKICAgICAgICAgICAgICAgICAgICB0aW1lb3V0ID0gbnVsbDsKICAgICAgICAgICAgICAgIH0sIDUwMCk7CiAgICAgICAgICAgIH0KICAgICAgICB9KTsKICAgICAgICBvYnNlcnZlci5vYnNlcnZlKGRvY3VtZW50LmRvY3VtZW50RWxlbWVudCwgewogICAgICAgICAgICBjaGlsZExpc3Q6IHRydWUsCi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IHM7CiAgICAgICAgZG9jdW1lbnQuZG9jdW1lbnRFbGVtZW50LmFwcGVuZENoaWxkKHN0eWxlKTsKICAgIH0KCn0pKCk7
Add Comment
Please, Sign In to add comment