xiaomianao666

小程序:片吧影院·Z

Oct 27th, 2024
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@片吧影院·Z@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi54mH5ZCn5b2x6ZmiwrdaIiwiYXV0aG9yIjoiemV0YWxwaGEiLCJ1cmwiOiJodHRwczovL3d3dy5waWFuYnMuY29tL2NsYXNzLzEtLS0tLS0tLWZ5cGFnZS0tLS5odG1sIiwidmVyc2lvbiI6OCwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6ImwiLCJmaW5kX3J1bGUiOiJqczpcblxudmFyIGQgPSBbXVxuLy/pmo/mnLrpopzoibJcbnZhciBnZXRSYW5nZUNvbG9ycyA9IGZ1bmN0aW9uKCkge8KgwqDCoMKgwqDCoMKgXG4gICAgcmV0dXJuICcjJyArICgnMDAwMDAnICsgKE1hdGgucmFuZG9tKCkgKiAweDEwMDAwMDAgPDwgMCkudG9TdHJpbmcoMTYpKS5zdWJzdHIoLTYpO8KgwqDCoMKgwqBcbn1cbi8v5Yqo5oCB5YiG57G75a6a5LmJXG4vL+mcgOagueaNruWunumZheS/ruaUuVxuY29uc3Qg5YiG57G76aKc6ImyID0gZ2V0UmFuZ2VDb2xvcnMoKVxuY29uc3Qg5aSn57G75a6a5L2NID0gJy5kcm9wZG93bi50eXBlLmNsZWFyZml4J1xuY29uc3Qg5ou85o6l5YiG57G7ID0gJ2JvZHkmJiNzY3JlZW5ib3gmJnVsJ1xuY29uc3Qg5bCP57G75a6a5L2NID0gJ2JvZHkmJmE6bm90KDptYXRja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JylcbiAgICAgICAgICAgIC8vbG9nKDQgKyB0cnVlX3VybClcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIC8vbG9nKDUgKyB0cnVlX3VybClcbiAgICAgICAgICAgIHRydWVfdXJsID0gdHJ1ZV91cmwucmVwbGFjZSgnLmh0bWwnLCAnLS0tLS0tLS0nICsgcGFnZSArICctLS0uaHRtbCcpXG4gICAgICAgIH1cbiAgICB9IGVsc2Uge1xuICAgICAgICB0cnVlX3VybCA9IHRydWVfdXJsLnJlcGxhY2UoLyhcXGQpPy0tLShcXGR7NH0pPy5odG1sLywgKGEsIGIsIGMpID0+IHtcbiAgICAgICAgICAgIHZhciB5ID0gYyAhPSB1bmRlZmluZWQgPyBjIDogJyc7XG4gICAgICAgICAgICByZXR1cm4gcGFnZSArICctLS0nICsgeSArICcuaHRtbCdcbiAgICAgICAgfSlcbiAgICAgICAgLy9sb2coNiArIHRydWVfdXJsKVxuICAgICAgICAvL3RydWVfdXJsID0gdHJ1ZV91cmwucmVwbGFjZSgvKFxcZCk/LS0tKFxcZHs0fSk/Lmh0bWwvLCBwYWdlICsgJy0tLSQyLmh0bWwnKVxuICAgIH1cbn1cbi8vbG9nKHRydWVfdXJsKVxuXG5pZiAocGFnZSA9PSAxICkge1xuICAgIGQucHVzaCh7XG4gICAgICAgIHRpdGxlOiBcIvCflI1cIixcbiAgICAgICAgdXJsOiAkLnRvU3RyaW5nKChyKSA9PiB7XG4gICAgICAgICAgICBwdXRNeVZhcigna2V5d29yZCcsIGlucHV0KTtcbiAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9zZWFyY2g/cnVsZT0nICsgciArICcmcz0nICsgaW5wdXQ7XG4gICAgICAgIH0sIE1ZX1JVTEUudGl0bGUpLFxuICAgICAgICBkZXNjOiAn5pCc54K55LuA5LmIJyxcbiAgICAgICAgY29sX3R5cGU6IFwiaW5wdXRcIixcbiAgICAgICAgZXh0cmE6IHtcbiAgICAgICAgICAgIGRlZmF1bHRWY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yIsImRldGFpbF9jb2xfdHlwZSI6Im1vdmllXzEiLCJkZXRhaWxfZmluZF9ydWxlIjoianM6XG52YXIgZCA9IFtdO1xudmFyIGh0bWwgPSBnZXRSZXNDb2RlKCk7XG5cbnZhciBhcnRzID0gcGRmYShodG1sLCAnYm9keSYmLnN0dWktdm9kbGlzdF9faGVhZD5zcGFuJyk7XG5cblxuLy9sb2coYXJ0cylcbnZhciB0YWJzID0gW107XG5mb3IgKHZhciBpIGluIGFydHMpIHtcbiAgICB0YWJzLnB1c2gocGRmaChhcnRzW2ldLCAnVGV4dCcpKVxufVxuXG52YXIgY29udHMgPSBwZGZhKGh0bWwsICdib2R5JiZ1bC5zdHVpLWNvbnRlbnRfX3BsYXlsaXN0LmNsZWFyZml4Jyk7XG5cbnZhciBkb3duID0gcGRmYShodG1sLCAnYm9keSYmdWwuc3R1aS1jb250ZW50X19kb3duLmNsZWFyZml4Jyk7XG5cblxuLy9sb2coY29udHMpXG5cbi8vbG9nKGRvd24pXG52YXIgY29udHMxID1jb250cy5jb25jYXQoZG93bilcblxuLy9sb2coY29udHMxKVxuXG52YXIgbGlzdHMgPSBbXTtcbmZvciAodmFyIGkgaW4gY29udHMxKSB7XG4gICAgbGlzdHMucHVzaChwZGZhKGNvbnRzMVtpXSwgJ2JvZHkmJmE6bm90KC5jb3B5X2J0biknKSlcbn1cblxuLy9sb2cobGlzdHMpXG5cbmZ1bmN0aW9uIGdldERhdGEoZGF0YW4pIHtcbiAgICBsZXQgYXJyID0gW107XG4gICAgbGV0IGRhdGF0ID0gJyc7XG4gICAgYXJyID0geHBhdGhBcnJheShodG1sLCBcIi8vc3Bhbltjb250YWlucyh0ZXh0KCksJ1wiICsgZGF0YW4gKyBcIicpXS9mb2xsb3dpbmctc2libGluZzo6Ki8vdGV4dCgpXCIpO1xuICAgIGlmIChhcnIubGVuZ3RoID09IDApIHtcbiAgICAgICAgYXJyID0geHBhdGhBcnJheShodG1sLCBcIi8vc3Bhbltjb250YWlucyh0ZXh0KCksJ1wiICsgZGF0YW4gKyBcIicpXS9wYXJlbnQ6OiovdGV4dCgpXCIpO1xuICAgIH1cbiAgICBhcnIgPSBhcnIuZmlsdGVyKHggPT4geCAhPSAwKVxuXG4gICAgLy9sb2coYXJyKVxuICAgIHN3aXRjaCAoZGF0YW4pIHtcbiAgICAgICAgY2FzZSAn5Li75ryUJzpcbiAgICAgICAgICAgIGlmIChhcnIubGVuZ3RoICE9IDApIHtcbiAgICAgICAgICAgICAgICBkYXRhdCA9IGRhdGFuICsgJ++8micgKyBhcnIuc2xpY2UoMCwgNSkuam9pbign44CBJyk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlICfliafmg4UnOlxuICAgICAgICAgICAgZGF0YXQgPSBkYXRhbiArICfvvJonICsgYXJyLnNsaWNlKDEsIDIpLmpvaW4oJ+OAgScpO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIGRlZmF1bHQ6XG5cbiAgICAgICAgICAgIGRhdGF0ID0gZGF0YW4gKyAn77yaJyArIGFyci5qb2luKCfjgIEnKTtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgIH1cbiAgICBkYXRhdCA9IGRhdGF0LnJlcGxhY2UoLyZtaWRkb3Q7L2csICfCtycpXG4gICAgcmV0dXJuIGRhdGF0O1xufVxuXG5cblxuXG4vKlxubG9nKGdldERhdGEoJ+eKtuaAgScpKVxubG9nKGdldERhdGEoJ+W5tOS7vScpKVxubG9nKGdldERhdGEoJ+exu+WeiycpKVxubG9nKGdldERhdGEoJ+WcsOWMuicpKVxubG9nKGdldERhdGEoJ+WvvOa8lCcpKVxubG9nKGdldERhdGEoJ+S4u+a8lCcpKVxubG9nKGdldERhdGEoJ+abtOaWsCcpKVxubG9nKGdldERhdGEoJ+WJp+aDhScpKVxuKi9cblxuXG5kLnB1c2goe1xuICAgIHRpdGxlOiBnZXREYXRhKCfnirbmgIEnKSArXG4gICAgICAgICdcXG4nICsgZ2V0RGF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0+IHtcXG4gICAgaWYgKGlucHV0LmluZGV4T2YoJ21hZ25ldDo/eHQnKSA9PSAtMSkge1xcbiAgICAgICAgdHJ5IHtcXG4gICAgICAgICAgICB2YXIgaHRtbCA9IEpTT04ucGFyc2UocmVxdWVzdChpbnB1dCkubWF0Y2goL3IgcGxheWVyXy4qPz0oLio/KTwvKVsxXSlcXG4gICAgICAgICAgICB2YXIgdXJsID0gaHRtbC51cmxcXG4gICAgICAgICAgICBpZiAoaHRtbC5lbmNyeXB0ID09ICcxJykge1xcbiAgICAgICAgICAgICAgICB1cmwgPSB1bmVzY2FwZSh1cmwpO1xcbiAgICAgICAgICAgIH0gZWxzZSBpZiAoaHRtbC5lbmNyeXB0ID09ICcyJykge1xcbiAgICAgICAgICAgICAgICB1cmwgPSB1bmVzY2FwZShiYXNlNjREZWNvZGUodXJsKSk7XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIGlmICgvbTN1OHxtcDQvLnRlc3QodXJsKSkge1xcbiAgICAgICAgICAgICAgICByZXR1cm4gdXJsXFxuICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgcmVxdWlyZUNhY2hlKCdoaWtlcjovL3BhZ2UvZ2xvYmFsUGFyc2U/cnVsZT3pgZPplb/ku5PlupNQcm8nLCAyNCk7XFxuICAgICAgICAgICAgICAgIHJldHVybiBsYXp5UGFyc2UoaW5wdXQpO1xcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH0gY2F0Y2ggKGUpIHtcXG4gICAgICAgICAgICBsb2coJ+aKpemUmeaUuXdlYuWXheaOoicpO1xcbiAgICAgICAgICAgIC8vcmVxdWlyZUNhY2hlKCdoaWtlcjovL3BhZ2UvZ2xvYmFsUGFyc2U/cnVsZT3pgZPplb/ku5PlupNQcm8nLCAyNCk7XFxuICAgICAgICAgICAgLy9yZXR1cm4gbGF6eVBhcnNlKGlucHV0KTtcXG4gICAgICAgICAgICByZXR1cm4gXFxcInZpZGVvOi8vXFxcIiArI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BsaXN0ID0ganNvbi5xdWlja1NlYXJjaENvbmZpZ3Mub3JkZXI7XFxuXFxuZm9yIChsIGluIGxpc3QpIHtcXG4gICAgdmFyIG9iaiA9IGpzb24ucXVpY2tTZWFyY2hDb25maWdzW2xpc3RbbF1dO1xcbiAgICAvL2xvZyhvYmoubmFtZSlcXG5cXG5cXG4gICAgZC5wdXNoKHtcXG4gICAgICAgIHRpdGxlOiBsaXN0W2xdLFxcbiAgICAgICAgdXJsOiAkKCcjbm9Mb2FkaW5nIycpLmxhenlSdWxlKChvYmosIGhvbWUsIHRpdGxlKSA9PiB7XFxuICAgICAgICAgICAgbGV0IHJ1bGVMaXN0ID0gSlNPTi5wYXJzZShyZXF1ZXN0KGhvbWUpKTtcXG4gICAgICAgICAgICBsZXQgaGFzUnVsZSA9IHJ1bGVMaXN0LnNvbWUoaXRlbSA9PiBpdGVtLnRpdGxlID09PSBvYmoubmFtZSk7XFxuICAgICAgICAgICAgaWYgKGhhc1J1bGUgfHwgb2JqLm5hbWUgPT0gJycpIHtcXG4gICAgICAgICAgICAgICAgLy90b2FzdChcXFwi6K+36YWN572u5b+r6YCf5pCc57SiXFxcIilcXG4gICAgICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL3NlYXJjaD9zPScgKyB0aXRsZSArICcmcnVsZT0nICsgb2JqLm5hbWU7XFxuICAgICAgICAgICAgfSBlbHNlIHtcXG5cXG4gICAgICAgICAgICAgICAgaWYgKG9iai5oYXNPd25Qcm9wZXJ0eShcXFwicnVsZVxcXCIpKSB7XFxuICAgICAgICAgICAgICAgICAgICBpZiAob2JqLnJ1bGUuaW5kZXhPZignY29weScpIT0tMSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHRvYXN0KFxcXCLlt7Lnu4/lpI3liLbor7flr7zlhaXop4TliJlcXFwiKVxcbiAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG9iai5ydWxlXFxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcInRvYXN0Oi8v6K+35a6J6KOFXFxcIiArIG9iai5uYW1lICsgXFxcIuWwj+eoi+W6j1xcXCI7XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9XFxuICAgICAgICB9LCBvYmosIFxcXCJoaWtlcjovL2hvbWVcXFwiLCB0aXRsZSksXFxuICAgICAgICBwaWNfdXJsOiBvYmoucGljLFxcbiAgICAgICAgY29sX3R5cGU6IGpzb24ucXVpY2tTZWFyY2hDb25maWdzLm1vZGUsXFxuICAgICAgICBleHRyYTp7aWQ6J3FzZWFyY2gnfVxcbiAgICB9KVxcbn1cXG5cXG5cXG4vKiAgICAkKCkubGF6eVJ1bGUoKG9iaiwgaG9tZSwgdGl0bGUpID0+IHtcXG4gICAgICAgIGxldCBydWxlTGlzdCA9IEpTT04ucGFyc2UocmVxdWVzdChob21lKSk7XFxuICAgICAgICBsZXQgaGFzUnVsZSA9IHJ1bGVMaXN0LnNvbWUoaXRlbSA9PiBpdGVtLnRpdGxlID09PSBvYmoubmFtZSk7XFxuICAgICAgICBpZiAoaGFzUnVsZSkge1xcblxcbiAgICAgICAgICAgIC8vdG9hc3QoXFxcIuivt+mFjee9ruW/q+mAn+aQnOe0olxcXCIpXFxuICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL3NlYXJjaD9zPScgKyB0aXRsZSArICcmcnVsZT0nICsgb2JqLm5hbWUsXFxuICAgICAgICB9IGVsc2Uge1xcbiAgICAgICAgICAgIC8vdG9hc3QoXFxcIuivt+WuieijhemdkuixhuWwj+eoi+W6j1xcXCIpXFxuICAgICAgICAgICAgaWYgKG9iai5oYXNPd25Qcm9wZXJ0eShcXFwicnVsZVxcXCIpKSB7XFxuICAgICAgICAgICAgICAgIHJldHVybiBcXFwidG9hc3Q6Ly/or7flronoo4VcXFwiICsgb2JqLm5hbWUgKyBcXFwi5bCP56iL5bqPXFxcIjtcXG4gICAgICAgICAgICB9IGVsc2Uge1xcblxcbiAgICAgICAgICAgICAgICByZXR1cm4gJzInXFxuICAgICAgICAgICAgfVxcbiAgICAgICAgfVxcbiAgICB9LCBvYmosIFxcXCJoaWtlcjovL2hvbWVcXFwiLCB0aXRsZSkqL1xcblxcblxcblxcblxcbi8qZC5wdXNoKHtcXG4gICAgY29sX3R5cGU6ICdsaW5lJ1xcbn0pXFxuKi9cXG5cXG4vKmQucHVzaCh7XFxuICAgIHRpdGxlOiAn6YWN572uJyxcXG4gICAgY29sX3R5cGU6ICdmbGV4X2J1dHRvbicsXFxuICAgIHVybDogJCgpLmxhenlSdWxlKCgpID0+IHtcXG4gICAgICAgIHRvYXN0KFxcXCLngrnlh7vorr7nva7phY3nva7lv6vpgJ/mkJzntKJcXFwiKTtcXG4gICAgICAgIHJldHVybiAnaGlrZXI6Ly9ob21lQOmdkuixhidcXG4gICAgfSlcXG5cXG59KSovXCJ9XSIsImljb24iOiJodHRwczovL2Nkbmpzb24uY29tL2ltYWdlcy8yMDIyLzExLzE5L0lNR18yMDIyMTExNV8wOTI0MDQucG5nIiwicHJveHkiOiIifQ==
Add Comment
Please, Sign In to add comment