6/18/ds/daozhang/drpy_js/南瓜影视[优].js

1 line
15 KiB
JavaScript

Ly8g5rOo5YWl5YWo5bGA5pa55rOVICjku4XmlK/mjIF0dmJveOeahGpzMeS7peWPimMj54mIZHJweeeahGpzMO+8jOaaguS4jeaUr+aMgWRycHnlrpjmlrlweeeJiOeahGpzMCkKLy8g5rOo5YWl5YWo5bGA5pa55rOVICjku4XmlK/mjIF0dmJveOeahGpzMeS7peWPimMj54mIZHJweeeahGpzMO+8jOaaguS4jeaUr+aMgWRycHnlrpjmlrlweeeJiOeahGpzMCkKLy8g5rOo5YWl5YWo5bGA5pa55rOVICjku4XmlK/mjIF0dmJveOeahGpzMeS7peWPimMj54mIZHJweeeahGpzMO+8jOaaguS4jeaUr+aMgWRycHnlrpjmlrlweeeJiOeahGpzMCkKZ2xvYmFsVGhpcy5nZXRIZWFkZXJzPSBmdW5jdGlvbihpbnB1dCl7CiAgICBsZXQgdCA9IG5ldyBEYXRlKCkuZ2V0VGltZSgpLnRvU3RyaW5nKCk7CglsZXQgaGVhZGVycyA9IHsKICAgICAgICAndmVyc2lvbl9uYW1lJzogJzEuMC42JywKICAgICAgICAndmVyc2lvbl9jb2RlJzogJzYnLAogICAgICAgICdwYWNrYWdlX25hbWUnOiAnY29tLmFwcC5uYW5ndWF0dicsCiAgICAgICAgJ3NpZ24nOiBtZDUoJ2M0MzFlYTU0MmNlZTk2NzkjdUJGc3pkRU0wb0wwSlJuQCcgKyB0KS50b1VwcGVyQ2FzZSgpLAogICAgICAgICdpbWVpJzogJ2M0MzFlYTU0MmNlZTk2NzknLAogICAgICAgICd0aW1lTWlsbGlzJzogdCwKICAgICAgICAnVXNlci1BZ2VudCc6ICdva2h0dHAvNC42LjAnCgl9OwoJcmV0dXJuIGhlYWRlcnMKfQoJCnZhciBydWxlID0gewoJdGl0bGU6J+WNl+eTnOW9seinhlvkvJhdJywKCWhvc3Q6J2h0dHA6Ly95cy5jaGFuZ21lbmd5dW4uY29tJywKCWhvbWVVcmw6J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iIwMOW5tOS7oyIsInYiOiIwMOW5tOS7oyJ9LHsibiI6Ijkw5bm05LujIiwidiI6Ijkw5bm05LujIn0seyJuIjoiODDlubTku6MiLCJ2IjoiODDlubTku6MifV19LHsia2V5IjoiYnkiLCJuYW1lIjoi5o6S5bqPIiwidmFsdWUiOlt7Im4iOiLng63mkq3mppwiLCJ2Ijoi54Ot5pKt5qacIn0seyJuIjoi5aW96K+E5qacIiwidiI6IuWlveivhOamnCJ9LHsibiI6IuaWsOS4iue6vyIsInYiOiLmlrDkuIrnur8ifV19XQogICAgfSwKCWhlYWRlcnM6ewoJCSJVc2VyLUFnZW50Ijoib2todHRwLzQuNi4wIgoJfSwKCXRpbWVvdXQ6NTAwMCwKCWNsYXNzX25hbWU6J+eUteinhuWJpybnlLXlvbEm5Yqo5ryrJue7vOiJuibmtbflpJbnsr7pgIknLCAvLyAvYXBpLnBocC9wcm92aWRlL2hvbWVfbmF2CgljbGFzc191cmw6JzImMSY0JjMmNDYnLAoJbGltaXQ6MjAsCglwbGF5X3BhcnNlOnRydWUsCglsYXp5OmBqczoKICAgICAgICB0cnkgewogICAgICAgICAgICBmdW5jdGlvbiBnZXR2aWRlbyh1cmwpIHsKICAgICAgICAgICAgICAgIGxldCBqRGF0YSA9IEpTT04ucGFyc2UocmVxdWVzdCh1cmwsIHsKICAgICAgICAgICAgICAgICAgICBoZWFkZXJzOiBnZXRIZWFkZXJzKHVybCkKICAgICAgICAgICAgICAgIH0pKTsKICAgICAgICAgICAgICAgIGlmIChqRGF0YS5jb2RlID09IDEpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gakRhdGEuZGF0YS51cmwKICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuICdodHRwOi8vNDMuMTU0LjEwNC4xNTI6MTIzNC9qaGFwaS9jcy5waHA/dXJsPScgKyB1cmwuc3BsaXQoJz0nKVsxXQogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICAgIGlmICgvLC8udGVzdChpbnB1dCkpIHsKICAgICAgICAgICAgICAgIGxldCBtanVybCA9IGlucHV0LnNwbGl0KCcsJylbMV0KICAgICAgICAgICAgICAgIGxldCB2aWRlb1VybCA9IGdldHZpZGVvKG1qdXJsKTsKICAgICAgICAgICAgICAgIGlucHV0ID0gewogICAgICAgICAgICAgICAgICAgIGp4OiAwLAogICAgICAgICAgICAgICAgICAgIHVybDogdmlkZW9VcmwsCiAgICAgICAgICAgICAgICAgICAgcGFyc2U6IDAsCiAgICAgICAgICAgICAgICAgICAgaGVhZGVyOiBKU09OLnN0cmluZ2lmeSh7CiAgICAgICAgICAgICAgICAgICAgICAgICd1c2VyLWFnZW50JzogJ0xhdmYvNTguMTIuMTAwJwogICAgICAgICAgICAgICAgICAgIH0pCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICBsZXQgdmlkZW9VcmwgPSBnZXR2aWRlbyhpbnB1dCk7CiAgICAgICAgICAgICAgICBpZiAoL2poYXBpLy50ZXN0KHZpZGVvVXJsKSkgewogICAgICAgICAgICAgICAgICAgIHZpZGVvVXJsID0gZ2V0dmlkZW8odmlkZW9VcmwpOwogICAgICAgICAgICAgICAgICAgIGlucHV0ID0gewogICAgICAgICAgICAgICAgICAgICAgICBqeDogMCwKICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiB2aWRlb1VybCwKICAgICAgICAgICAgICAgICAgICAgICAgcGFyc2U6IDAsCiAgICAgICAgICAgICAgICAgICAgICAgIGhlYWRlcjogSlNPTi5zdHJpbmdpZnkoewogICAgICAgICAgICAgICAgICAgICAgICAgICAgJ3VzZXItYWdlbnQnOiAnTGF2Zi81OC4xMi4xMDAnCiAgICAgICAgICAgICAgICAgICAgICAgIH0pCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICBpbnB1dCA9IHsKICAgICAgICAgICAgICAgICAgICAgICAgang6IDAsCiAgICAgICAgICAgICAgICAgICAgICAgIHVybDogdmlkZW9VcmwsCiAgICAgICAgICAgICAgICAgICAgICAgIHBhcnNlOiAwCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICBsb2coZS50b1N0cmluZygpKQogICAgICAgIH0KCWAsCgnmjqjojZA6YGpzOgogICAgICAgIHZhciBkID0gW107CiAgICAgICAgbGV0IGh0bWwgPSByZXF1ZXN0KGlucHV0LCB7CiAgICAgICAgICAgIGhlYWRlcnM6IGdldEhlYWRlcnMoaW5wdXQpCiAgICAgICAgfSk7CiAgICAgICAgaHRtbCA9IEpTT04ucGFyc2UoaHRtbCk7CiAgICAgICAgaHRtbC5mb3JFYWNoKGZ1bmN0aW9uKGl0KSB7CiAgICAgICAgICAgIGQucHVzaCh7CiAgICAgICAgICAgICAgICB0aXRsZTogaXQubmFtZSwKICAgICAgICAgICAgICAgIGltZzogaXQuaW1nLAogICAgICAgICAgICAgICAgZGVzYzogaXQucmVtYXJrcywKICAgICAgICAgICAgICAgIHVybDogaXQuaWQKICAgICAgICAgICAgfSkKICAgICAgICB9KTsKICAgICAgICBzZXRSZXN1bHQoZCk7CiAgICBgLAoJ5LiA57qnOmBqczoKCQl2YXIgZCA9IFtdOwoJCWxldCBodG1sID0gcmVxdWVzdChpbnB1dCwgewoJCQloZWFkZXJzOiBnZXRIZWFkZXJzKGlucHV0KQoJCX0pOwoJCWh0bWwgPSBKU09OLnBhcnNlKGh0bWwpOwoJCWh0bWwubGlzdC5mb3JFYWNoKGZ1bmN0aW9uKGl0KSB7CgkJCWQucHVzaCh7CgkJCQl0aXRsZTogaXQubmFtZSwKCQkJCWltZzogaXQuaW1nLAoJCQkJZGVzYzogaXQubXNnLAoJCQkJdXJsOiBpdC5pZAoJCQl9KQoJCX0pOwoJCXNldFJlc3VsdChkKTsKCWAsCgnkuoznuqc6YGpzOgogICAgICAgIHZhciBkID0gW107CiAgICAgICAgVk9EID0gewogICAgICAgICAgICB2b2RfaWQ6IGlucHV0LnNwbGl0KCdpZD0nKVsxXQogICAgICAgIH07CiAgICAgICAgdHJ5IHsKICAgICAgICAgICAgbGV0IGh0bWwgPSByZXF1ZXN0KGlucHV0LCB7CiAgICAgICAgICAgICAgICBoZWFkZXJzOiBnZXRIZWFkZXJzKGlucHV0KQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgaHRtbCA9IEpTT04ucGFyc2UoaHRtbCk7CiAgICAgICAgICAgIGxldCBub2RlID0gaHRtbC5kYXRhOwogICAgICAgICAgICBWT0QgPSB7CiAgICAgICAgICAgICAgICB2b2RfbmFtZTogbm9kZVsnbmFtZSddLAogICAgICAgICAgICAgICAgdm9kX3BpYzogbm9kZVsnaW1nJ10sCiAgICAgICAgICAgICAgICB0eXBlX25hbWU6IG5vZGVbJ3R5cGUnXSwKICAgICAgICAgICAgICAgIHZvZF95ZWFyOiBub2RlWyd5ZWFyJ10sCiAgICAgICAgICAgICAgICB2b2RfcmVtYXJrczogJ+abtOaWsOiHszogJyArIG5vZGVbJ21zZyddICsgJyAvIOivhOWIhjogJyArIG5vZGVbJ3Njb3JlJ10sCiAgICAgICAgICAgICAgICB2b2RfY29udGVudDogbm9kZVsnaW5mbyddLnN0cmlwKCkKICAgICAgICAgICAgfTsKICAgICAgICAgICAgbGV0IGVwaXNvZGVzID0gbm9kZS5wbGF5ZXJfaW5mbzsKICAgICAgICAgICAgbGV0IHBsYXlNYXAgPSB7fTsKICAgICAgICAgICAgaWYgKHR5cGVvZiBwbGF5X3VybCA9PT0gJ3VuZGVmaW5lZCcpIHsKICAgICAgICAgICAgICAgIHZhciBwbGF5X3VybCA9ICcnCiAgICAgICAgICAgIH0KICAgICAgICAgICAgZXBpc29kZXMuZm9yRWFjaChmdW5jdGlvbihlcCkgewogICAgICAgICAgICAgICAgbGV0IHBsYXl1cmxzID0gZXBbJ3ZpZGVvX2luZm8nXTsKICAgICAgICAgICAgICAgIHBsYXl1cmxzLmZvckVhY2goZnVuY3Rpb24ocGxheXVybCkgewogICAgICAgICAgICAgICAgICAgIGxldCBzb3VyY2UgPSBlcFsnc2hvdyddOwogICAgICAgICAgICAgICAgICAgIGlmICghcGxheU1hcC5oYXNPd25Qcm9wZXJ0eShzb3VyY2UpKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHBsYXlNYXBbc291cmNlXSA9IFtdCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIHBsYXlNYXBbc291cmNlXS5hcHBlbmQocGxheXVybFsnbmFtZSddLnN0cmlwKCkgKyAnJCcgKyBwbGF5X3VybCArIHVybGVuY29kZShwbGF5dXJsWyd1cmwnXSkpCiAgICAgICAgICAgICAgICB9KQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgbGV0IHBsYXlGcm9tID0gW107CiAgICAgICAgICAgIGxldCBwbGF5TGlzdCA9IFtdOwogICAgICAgICAgICBPYmplY3Qua2V5cyhwbGF5TWFwKQogICAgICAgICAgICAgICAgLmZvckVhY2goZnVuY3Rpb24oa2V5KSB7CiAgICAgICAgICAgICAgICAgICAgcGxheUZyb20uYXBwZW5kKGtleSk7CiAgICAgICAgICAgICAgICAgICAgcGxheUxpc3QuYXBwZW5kKHBsYXlNYXBba2V5XS5qb2luKCcjJykpCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgbGV0IHZvZF9wbGF5X2Zyb20gPSBwbGF5RnJvbS5qb2luKCckJCQnKTsKICAgICAgICAgICAgbGV0IHZvZF9wbGF5X3VybCA9IHBsYXlMaXN0LmpvaW4oJyQkJCcpOwogICAgICAgICAgICBWT0RbJ3ZvZF9wbGF5X2Zyb20nXSA9IHZvZF9wbGF5X2Zyb207CiAgICAgICAgICAgIFZPRFsndm9kX3BsYXlfdXJsJ10gPSB2b2RfcGxheV91cmwKICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgIGxvZygn6I635Y+W5LqM57qn6K+m5oOF6aG15Y+R55Sf6ZSZ6K+vOicgKyBlLm1lc3NhZ2UpCiAgICAgICAgfQoJYCwKCeaQnOe0ojpganM6CiAgICAgICAgdmFyIGQgPSBbXTsKICAgICAgICBsZXQgaHRtbCA9IHJlcXVlc3QoaW5wdXQsIHsKICAgICAgICAgICAgaGVhZGVyczogZ2V0SGVhZGVycyhpbnB1dCkKICAgICAgICB9KTsKICAgICAgICBodG1sID0gSlNPTi5wYXJzZShodG1sKTsKICAgICAgICBodG1sLmRhdGEuZm9yRWFjaChmdW5jdGlvbihpdCkgewogICAgICAgICAgICBkLnB1c2goewogICAgICAgICAgICAgICAgdGl0bGU6IGl0LnZpZGVvX25hbWUsCiAgICAgICAgICAgICAgICBpbWc6IGl0LmltZywKICAgICAgICAgICAgICAgIGRlc2M6IGl0LnFpbmd4aWR1ICsgJy8nICsgaXQuY2F0ZWdvcnksCiAgICAgICAgICAgICAgICB1cmw6IGl0LmlkLAogICAgICAgICAgICAgICAgY29udGVudDogaXQuYmx1cmIKICAgICAgICAgICAgfSkKICAgICAgICB9KTsKICAgICAgICBzZXRSZXN1bHQoZCk7CiAgICBgLAp9