Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@VS影院-短剧@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoiVlPlvbHpmaIt55+t5YmnIiwiYXV0aG9yIjoi57yY5YiGIiwidXJsIjoiaHR0cHM6Ly9tLjA4MzhtbWEuY29tL3ZvZGxpc3QvZGpfX19meXllYXJfX2Z5c29ydF9meXBhZ2UuaHRtbCIsInZlcnNpb24iOjMsImNvbF90eXBlIjoibW92aWVfMyIsImNsYXNzX25hbWUiOiIiLCJ0eXBlIjoidmlkZW8iLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IuS6uuawlCbml7bpl7Qm6K+E5YiGIiwieWVhcl9uYW1lIjoi5YWo6YOoJjIwMjMmMjAyMiYyMDIxIiwic29ydF91cmwiOiJoaXRzJmdvbGQmYWRkdGltZSIsInllYXJfdXJsIjoiJjIwMjMmMjAyMiYyMDIxIiwiZmluZF9ydWxlIjoianM6XG52YXIgZCA9IFtdO1xudmFyIGh0bWwgPSBnZXRSZXNDb2RlKCk7XG52YXIgbGlzdCA9IHBkZmEoaHRtbCwgJy52aWRlby1saXN0JiZsaScpXG50cnkge1xuICAgIGxpc3QuZm9yRWFjaChkYXRhID0+IHtcbiAgICAgICAgZC5wdXNoKHtcbiAgICAgICAgICAgIHRpdGxlOiBwZGZoKGRhdGEsICdhJiZ0aXRsZScpLFxuICAgICAgICAgICAgZGVzYzogcGRmaChkYXRhLCAnLnRleHQtY2VudGVyJiZUZXh0JyksXG4gICAgICAgICAgICBpbWc6IHBkKGRhdGEsICdhJiZkYXRhLW9yaWdpbmFsJykgKyAnQFJlZmVyZXI9JyxcbiAgICAgICAgICAgIHVybDogcGQoZGF0YSwgJ2EmJmhyZWYnKSArIFwiI2ltbWVyc2l2ZVRoZW1lI1wiLFxuICAgICAgICAgICAg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nVsZSgoTVlfVVJMKSA9PiB7XG4gICAgICAgICAgICB2YXIgZCA9IFtdO1xuICAgICAgICAgICAgZC5wdXNoKHtcbiAgICAgICAgICAgICAgICB0aXRsZTogXCJcIixcbiAgICAgICAgICAgICAgICB1cmw6IE1ZX1VSTCxcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogXCJ4NV93ZWJ2aWV3X3NpbmdsZVwiLFxuICAgICAgICAgICAgICAgIGRlc2M6IFwiZmxvYXQmJjI0MFwiLFxuICAgICAgICAgICAgICAgIGV4dHJhOiB7XG4gICAgICAgICAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKChNWV9VUkwpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uIGNoZWNrKCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBjID0gZmJhLmdldENvb2tpZShNWV9VUkwpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBub2RlcyA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJy5ob3QtY2FyZCcpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChub2RlcyAmJiBub2Rlcy5sZW5ndGggPiAwICYmIGMpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZnlfYnJpZGdlX2FwcC5sb2cobm9kZXMpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZiYS5wdXRWYXIoXCJ2c1wiLCBjKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmJhLnBhcnNlTGF6eVJ1bGUoJCQkKCkubGF6eVJ1bGUoKCkgPT4ge1xuICAgICAgICAgICAgICAgIGJhY2soKTtcbiAgICAgICAgICAgICAgICB0b2FzdCgn5Yi35paw5L2/55SoJyk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGNoZWNrLCAyNTApO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIGNoZWNrKCk7XG4gICAgICAgICAgICAgICAgICAgIH0sTVlfVVJMKVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pXG5cbiAgICAgICAgICAgIGQucHVzaCh7XG4gICAgICAgICAgICAgICAgdGl0bGU6IFwi6aqM6K+B6L+H5ZCO77yM6L+U5Zue5LiL5ouJ5Yi35pawXCIsXG4gICAgICAgICAgICAgICAgdXJsOiAkKCkubGF6eVJ1bGUoKCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICBiYWNrKCk7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiAndG9hc3Q6Ly/kuIvmi4nliLfmlrAnXG4gICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6IFwidGV4dF9jZW50ZXJfMVwiLFxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICBzZXRSZXN1bHQoZCk7XG4gICAgICAgIH0sTVlfVVJMKVxuICAgIH0pXG59IGVsc2Uge1xudmFyIGxpc3QgPSBwZGZhKGh0bWwsICcuaG90LWNhcmQtbGlzdCYmbGknKVxudHJ5IHtcbiAgICBsaXN0LmZvckVhY2goZGF0YSA9PiB7XG4gICAgICAgIGQucHVzaCh7XG4gICAgICAgICAgICB0aXRsZTogcGRmaChkYXRhLCAnYSYmdGl0bGUnKSxcbiAgICAgICAgICAgIGRlc2M6IHBkZmgoZGF0YSwgJy50eHQtaGlkZGVuJiZUZXh0JyksXG4gICAgICAgICAgICBpbWc6IHBkKGRhdGEsICdhJiZkYXRhLW9yaWdpbmFsJykgKyAnQFJlZmVyZXI9JyxcbiAgICAgICAgICAgIHVybDogcGQoZGF0YSwgJ2EmJmhyZWYnKSArIFwiI2ltbW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0IGNwID0g56ug6IqCLm1hcCgoZGF0YSwgc3NpZCkgPT4ge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICB0aXRsZTogcGRmaChkYXRhLCAnYSYmVGV4dCcpLFxuICAgICAgICAgICAgICAgIHVybDogcGQoZGF0YSwgJ2EmJmhyZWYnKSArIGxhenksXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6IOeroOiKgi5sZW5ndGggPiAzID8gJ3RleHRfNCcgOiAndGV4dF8yJyxcbiAgICAgICAgICAgICAgICBleHRyYToge1xuICAgICAgICAgICAgICAgICAgICBjbHM6IE1ZX1VSTCArIFwiX+mAiembhlwiLFxuICAgICAgICAgICAgICAgICAgICBpZDogcGQoZGF0YSwgJ2EmJmhyZWYnKSxcbiAgICAgICAgICAgICAgICAgICAganM6ICBgIGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoXCJidXR0b25cIikuY2xpY2soKWAgXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfTtcbiAgICAgICAgfSk7XG4gICAgICAgIGRlbGV0ZUl0ZW1CeUNscyhNWV9VUkwgKyBcIl/pgInpm4ZcIik7XG4gICAgICAgIGFkZEl0ZW1CZWZvcmUoTVlfVVJMICsgXCJmb290ZXJcIiwgY3ApO1xuICAgICAgICBwdXRNeVZhcihNWV9VUkwgKyBcIueroOiKguaOkuW6j1wiLCDmj5DnpLopXG4gICAgICAgIHJldHVybiBcImhpa2VyOi8vZW1wdHlcIlxuICAgIH0sIHRhYnMsIOaOkuW6j+WQjSwgbGF6eSwgZFswXSksXG4gICAgY29sX3R5cGU6ICdzY3JvbGxfYnV0dG9uJyxcbiAgICBleHRyYToge1xuICAgICAgICBpZDogTVlfVVJMICsgXCJf5o6S5bqPXCIsXG4gICAgfVxufSlcblxudGFicy5mb3JFYWNoKChkYXRhLCBpZCkgPT4ge1xuICAgIGQucHVzaCh7XG4gICAgICAgIHRpdGxlOiBnZXRNeVZhcihNWV9VUkwsICcwJykgPT0gaWQgPyAn4oCc4oCcJyArIGRhdGEgKyAn4oCd4oCdJyA6IGRhdGEsXG4gICAgICAgIHVybDogJChcIiNub0xvYWRpbmcjXCIpLmxhenlSdWxlKCjnur/ot68sIGxhenksIGlkKSA9PiB7XG4gICAgICAgICAgICB2YXIgbGlzdHMgPSBzdG9yYWdlMC5nZXRNeVZhcihcImxpc3RzXCIpO1xuICAgICAgICAgICAgdmFyIOaOkuW6jyA9IGdldE15VmFyKE1ZX1VSTCArIFwi56ug6IqC5o6S5bqPXCIsICcjMWFhZDE5XCI+5q2j5bqPJyk7XG4gICAgICAgICAgICB2YXIg5o+Q56S6ID0g5o6S5bqPID09ICcjRkYwMDAwXCI+5YCS5bqPJyA/ICcjMWFhZDE5XCI+5q2j5bqPJyA6ICcjRkYwMDAwXCI+5YCS5bqPJztcbiAgICAgICAgICAgIOe6v+i3ry5mb3JFYWNoKChkYXRhLCB4bGlkKSA9PiB7XG4gICAgICAgICAgICAgICAgdXBkYXRlSXRlbSh7XG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiBpZCA9PSB4bGlkID8gJ+KAnOKAnCcgKyBkYXRhICsgJ+KAneKAnScgOiBkYXRhLFxuICAgICAgICAgICAgICAgICAgICBleHRyYToge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWQ6IE1ZX1VSTCArIFwiX+e6v+i3r1wiICsgeGxpZFxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9KVxuICAgICAgICAgICAgcHV0TXlWYXIoTVlfVVJMLCBpZClcbiAgICAgICAgICAgIGxldCDnq6DoioIgPSBsaXN0c1tnZXRNeVZhcihNWV9VUkwsICcwJyldO1xuICAgICAgICAgICAg56ug6IqCID0g5o6S5bqPID09ICcjRkYwMDAwXCI+5YCS5bqPJyA/IOeroOiKgiA6IOeroOiKgi5yZXZlcnNlKCkgO1xuICAgICAgICAgICAgbGV0IGNwID0g56ug6IqCLm1hcCgoZGF0YSwgc3NpZCkgPT4ge1xuICAgICAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiBwZGZoKGRhdGEsICdhJiZUZXh0JyksXG4gICAgICAgICAgICAgICAgICAgIHVybDogcGQoZGF0YSwgJ2EmJmhyZWYnKSArIGxhenksXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiDnq6DoioIubGVuZ3RoID4gMyA/ICd0ZXh0XzQnIDogJ3RleHRfMicsXG4gICAgICAgICAgICAgICAgICAgIGV4dHJhOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjbHM6IE1ZX1VSTCArIFwiX+mAiembhlwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgaWQ6IHBkKGRhdGEsICdhJiZocmVmJyksXG4gICAgICAgICAgICAgICAgICAgICAgICBqczogIGAgZG9jdW1lbnQucXVlcnlTZWxlY3RvcihcImJ1dHRvblwiKS5jbGljaygpYCBcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIGRlbGV0ZUl0ZW1CeUNscyhNWV9VUkwgKyBcIl/pgInpm4ZcIik7XG4gICAgICAgICAgICBhZGRJdGVtQmVmb3JlKE1ZX1VSTCArIFwiZm9vdGVyXCIsIGNwKTtcbiAgICAgICAgICAgIHJldHVybiBcImhpa2VyOi8vZW1wdHlcIlxuICAgICAgICB9LCB0YWJzLCBsYXp5LCBpZCksXG4gICAgICAgIGNvbF90eXBlOiAnc2Nyb2xsX2J1dHRvbicsXG4gICAgICAgIGV4dHJhOiB7XG4gICAgICAgICAgICBpZDogTVlfVVJMICsgXCJf57q/6LevXCIgKyBpZFxuICAgICAgICB9XG4gICAgfSk7XG59KVxubGV0IGxpc3QgPSDmjpLluo8gPT09ICcjRkYwMDAwXCI+5YCS5bqPJyA/IGxpc3QgOiBsaXN0LnJldmVyc2UoKTtcbmxpc3QuZm9yRWFjaCgoZGF0YS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LykmJnVybC5tYXRjaCgvLmh0bWwvKSl7XFxuICAgICAgICAgICAgICAgICAgbGV0IGNvbmZpZyA9IGZldGNoKCdoaWtlcjovL2ZpbGVzL2NhY2hlL015UGFyc2VTZXQuanNvbicpO1xcbiAgICAgICAgICAgICAgICAgIGxldCBEblYyID0gJ2h0dHBzOi8vY29kZS5hbGl5dW4uY29tL0FJOTU3L0hpa2VyL3Jhdy9tYXN0ZXIvdi9DbG91ZFBhcnNlLVYyX0RuLmpzJztcXG4gICAgaWYgKGNvbmZpZyAmJiBmZXRjaChKU09OLnBhcnNlKGNvbmZpZykuY2opKSB7XFxuICAgICAgICAgICAgICAgIERuVjIgPSBKU09OLnBhcnNlKGNvbmZpZykuY2o7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgZXZhbChmZXRjaChEblYyKSk7XFxuICAgICAgICAgICAgICAgIHJldHVybiBheXRtUGFyc2UodXJsKTtcXG5zaG93TG9hZGluZygn4oia6Kej5p6Q5Lit77yM6K+356iN5YCZLi4uJyk7XFxuICAgICAgICAgICAgICAgIH1cXG5cXG59LCBNWV9IT01FKVwifSx7XCJjb2xfdHlwZVwiOlwibW92aWVfM1wiLFwibmFtZVwiOlwi6aqM6K+B56CBXCIsXCJwYXRoXCI6XCJ5em1cIixcInJ1bGVcIjpcIndoaWxlICgv6L6T5YWl6aqM6K+B56CBfOezu+e7n+WuieWFqOmqjOivgS8udGVzdChodG1sKSkge1xcbnJjKCdodHRwczovL2dpdGNvZGUubmV0L2xpdXphb3l1ZS9oYWkvLS9yYXcvbWFzdGVyL2p1eXVlLmpzJywgMjQpOyBcXG4gICAgbGV0IGhlYWRlcnMgPSB7XFxuICAgICAgICBcXFwiVXNlci1BZ2VudFxcXCI6IE1PQklMRV9VQSxcXG4gICAgICAgIFxcXCJSZWZlcmVyXFxcIjogTVlfVVJMXFxuICAgIH1cXG4gICAgbGV0IHN6ID0gb2NyKE1ZX0hPTUUgKyAnLz9zPWhvbWUtdmVyaWZ5LWluZGV4Lmh0bWwmdD0nK01hdGgucmFuZG9tKCksIGhlYWRlcnMpOyAgICBcXG4gICAgIGZldGNoKE1ZX0hPTUUgKyAnL2luZGV4LnBocD9zPS9ob21lL3ZlcmlmeS9jaGVjay8nLCB7XFxuICAgICAgICBoZWFkZXJzOiBoZWFkZXJzLFxcbiAgICAgICAgbWV0aG9kOiAnUE9TVCcsXFxuICAgICAgICBib2R5OiAndHlwZT1zZWFyY2gmdmVyaWZ5PScrc3pcXG4gICAgfSkgICBcXG4gICAgdmFyIHl6ID0gTVlfVVJMXFxuICAgLy8gbG9nKE1ZX1VSTClcXG4gICAgaHRtbCA9IHJlcXVlc3QoeXosIHtcXG4gICAgICAgICAgIC8vaGVhZGVyczogaGVhZGVyc1xcbiAgICB9KVxcbn1cXG5pZiAoL+mikee5geaTjeS9nC8udGVzdChodG1sKSkge1xcbiAgICBkLnB1c2goe1xcbiAgICB0aXRsZTogJ+e9keermeaQnOe0ouaXtumXtOmXtOmalCcsXFxuICAgIGRlc2M6IFxcXCLkuIvmi4nph43or5VcXFwiXFxufSlcXG5cXG59XCJ9XSIsImljb24iOiIiLCJwcm94eSI6IiJ9
Add Comment
Please, Sign In to add comment