xiaomianao666

小程序:韩剧佬🤡

May 3rd, 2024
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@韩剧佬🤡@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi6Z+p5Ymn5L2s8J+koSIsImF1dGhvciI6Iue8mOWIhiIsInVybCI6Imh0dHA6Ly93d3cuaGFuanVsYW8uY29tL3Nob3cvMS0tLS0tLS0tZnlwYWdlLS0tLmh0bWwiLCJ2ZXJzaW9uIjowLCJjb2xfdHlwZSI6Im1vdmllXzMiLCJjbGFzc19uYW1lIjoiIiwidHlwZSI6InZpZGVvIiwiY2xhc3NfdXJsIjoiIiwiYXJlYV9uYW1lIjoiIiwiYXJlYV91cmwiOiIiLCJzb3J0X25hbWUiOiIiLCJ5ZWFyX25hbWUiOiIiLCJzb3J0X3VybCI6IiIsInllYXJfdXJsIjoiIiwiZmluZF9ydWxlIjoianM6XG52YXIgZCA9IFtdO1xudmFyIGdldFJhbmdlQ29sb3JzID0gZnVuY3Rpb24oKSB7wqDCoMKgwqDCoMKgwqBcbiAgICByZXR1cm4gJyMnICsgKCcwMDAwMCcgKyAoTWF0aC5yYW5kb20oKSAqIDB4MTAwMDAwMCA8PCAwKS50b1N0cmluZygxNikpLnN1YnN0cigtNik7wqDCoMKgwqDCoFxufVxuXG5jb25zdCDliIbnsbvpopzoibIgPSBnZXRSYW5nZUNvbG9ycygpXG5jb25zdCDlpKfnsbvlrprkvY0gPSAnLnNpZGUtbWVudS1uYXYnXG5jb25zdCDmi7zmjqXliIbnsbsgPSAnLmZpbHRlci1jb250ZW50JiZkZCwxOidcbmNvbnN0IOWwj+exu+WumuS9jSA9ICdib2R5JiZhOm5vdCg6bWF0Y2hlcyjpppbpobV85LiT6aKYfOS4i+i9vXzmm7TmlrB85o6S6KGMfOeVmeiogCkpJ1xuY29uc3Qg5YiG57G75qCH6aKYID0gJ2EmJlRleHQ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yAgIFxuICAgIHRhYnMucHVzaChwZGZoKGRhdGEsIOe6v+i3r+WQjSkpXG59KVxucGRmYShodG1sLCDpgInpm4YpLmZvckVhY2goZGF0YSA9PiB7XG4gICAgbGlzdHMucHVzaChwZGZhKGRhdGEsIOmAiembhuWIl+ihqCkpXG59KVxudHJ5IHtcbiAgICBkLnB1c2goe1xuICAgICAgICB0aXRsZTogcGRmaChodG1sLCAnLmRldGFpbC1pbmZvLWRlc2MmJmxpJiZUZXh0Jykuc3Vic3RyaW5nKDAsIDE4KSArXG4gICAgICAgICAgICAnXFxuJyArXG4gICAgICAgICAgICAnXFxuJyArXG4gICAgICAgICAgICAgICAgICBwZGZoKGh0bWwsICcuZGV0YWlsLWluZm8tZGVzYyYmbGksMiYmVGV4dCcpLnN1YnN0cmluZygwLCAxOCksXG4gICAgICAgIGRlc2M6IHBkZmgoaHRtbCwgJy5kZXRhaWwtaW5mby1kZXNjJiZsaSwxJiZUZXh0JyksXG4gICAgICAgIGltZzogcGQoaHRtbCxcbiAgICAgICAgICAgICcubGF6eWxvYWQmJmRhdGEtb3JpZ2luYWwnKSArICdAUmVmZXJlcj1odHRwOi8vd3d3Lmhhbmp1bGFvLmNvbScsXG4gICAgICAgIHVybDogTVlfVVJMLFxuICAgICAgICBjb2xfdHlwZTogJ21vdmllXzFfdmVydGljYWxfcGljX2JsdXInLFxuICAgICAgICBleHRyYToge1xuICAgICAgICAgICAgZ3JhZGllbnQ6IHRydWVcbiAgICAgICAgfVxuICAgIH0pO1xufSBjYXRjaCAoZSkge1xuICAgIGQucHVzaCh7XG4gICAgICAgIGltZzogcGQoaHRtbCwgJycpICsgJ0BSZWZlcmVyPScsXG4gICAgICAgIHVybDogTVlfVVJMLCAgXG4gICAgICAgIGNvbF90eXBlOiAnbW92aWVfMV92ZXJ0aWNhbF9waWNfYmx1cicsXG4gICAgfSk7XG59XG5hZGRMaXN0ZW5lcihcIm9uQ2xvc2VcIiwgJC50b1N0cmluZygoKSA9PiB7XG4gICA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AgICAgICAgICAgICAgaWQ6IE1ZX1VSTCArIFwiX+aOkuW6j1wiLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHRpdGxlOiDmjpLluo/lkI0ucmVwbGFjZSgn5o6S5bqPJywg5o+Q56S6KVxuICAgICAgICB9KVxuICAgICAgICBpZiAo5o6S5bqPID09ICcjMWFhZDE5XCI+5q2j5bqPJykge1xuICAgICAgICAgICAg56ug6IqCLnJldmVyc2UoKVxuICAgICAgICB9XG4gICAgICAgIGxldCBjcCA9IOeroOiKgi5tYXAoKGRhdGEsIHNzaWQpID0+IHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgdGl0bGU6IHBkZmgoZGF0YSwgJ2EmJlRleHQnKSxcbiAgICAgICAgICAgICAgICB1cmw6IHBkKGRhdGEsICdhJiZocmVmJykgKyBsYXp5LFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiDnq6DoioIubGVuZ3RoID4gMyA/ICd0ZXh0XzQnIDogJ3RleHRfMicsXG4gICAgICAgICAgICAgICAgZXh0cmE6IHtcbiAgICAgICAgICAgICAgICAgICAgY2xzOiBNWV9VUkwgKyBcIl/pgInpm4ZcIixcbiAgICAgICAgICAgICAgICAgICAgaWQ6IHBkKGRhdGEsICdhJiZocmVmJylcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9O1xuICAgICAgICB9KTtcbiAgICAgICAgZGVsZXRlSXRlbUJ5Q2xzKE1ZX1VSTCArIFwiX+mAiembhlwiKTtcbiAgICAgICAgYWRkSXRlbUJlZm9yZShNWV9VUkwgKyBcImZvb3RlclwiLCBjcCk7XG4gICAgICAgIHB1dE15VmFyKE1ZX1VSTCArIFwi56ug6IqC5o6S5bqPXCIsIOaPkOekuilcbiAgICAgICAgcmV0dXJuIFwiaGlrZXI6Ly9lbXB0eVwiXG4gICAgfSwgdGFicywg5o6S5bqP5ZCNLCBsYXp5LCBkWzBdKSxcbiAgICBjb2xfdHlwZTogJ2ZsZXhfYnV0dG9uJyxcbiAgICBleHRyYToge1xuICAgICAgICBpZDogTVlfVVJMICsgXCJf5o6S5bqPXCIsXG4gICAgfVxufSlcblxudGFicy5mb3JFYWNoKChkYXRhLCBpZCkgPT4ge1xuICAgIGQucHVzaCh7XG4gICAgICAgIHRpdGxlOiBnZXRNeVZhcihNWV9VUkwsICcwJykgPT0gaWQgPyAn4oCc4oCcJyArIGRhdGEgKyAn4oCd4oCdJyA6IGRhdGEsXG4gICAgICAgIHVybDogJChcIiNub0xvYWRpbmcjXCIpLmxhenlSdWxlKCjnur/ot68sIGxhenksIGlkKSA9PiB7XG4gICAgICAgICAgICB2YXIgbGlzdHMgPSBzdG9yYWdlMC5nZXRNeVZhcihcImxpc3RzXCIpO1xuICAgICAgICAgICAgdmFyIOaOkuW6jyA9IGdldE15VmFyKE1ZX1VSTCArIFwi56ug6IqC5o6S5bqPXCIsICcjMWFhZDE5XCI+5q2j5bqPJyk7XG4gICAgICAgICAgICB2YXIg5o+Q56S6ID0g5o6S5bqPID09ICcjRkYwMDAwXCI+5YCS5bqPJyA/ICcjMWFhZDE5XCI+5q2j5bqPJyA6ICcjRkYwMDAwXCI+5YCS5bqPJztcbiAgICAgICAgICAgIOe6v+i3ry5mb3JFYWNoKChkYXRhLCB4bGlkKSA9PiB7XG4gICAgICAgICAgICAgICAgdXBkYXRlSXRlbSh7XG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiBpZCA9PSB4bGlkID8gJ+KAnOKAnCcgKyBkYXRhICsgJ+KAneKAnScgOiBkYXRhLFxuICAgICAgICAgICAgICAgICAgICBleHRyYToge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWQ6IE1ZX1VSTCArIFwiX+e6v+i3r1wiICsgeGxpZFxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9KVxuICAgICAgICAgICAgcHV0TXlWYXIoTVlfVVJMLCBpZClcbiAgICAgICAgICAgIHZhciDnq6DoioIgPSBsaXN0c1tnZXRNeVZhcihNWV9VUkwsICcwJyldO1xuICAgICAgICAgICAgaWYgKOaOkuW6jyA9PSAnI0ZGMDAwMFwiPuWAkuW6jycpIHtcbiAgICAgICAgICAgICAgICDnq6DoioIucmV2ZXJzZSgpXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBsZXQgY3AgPSDnq6DoioIubWFwKChkYXRhLCBzc2lkKSA9PiB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IHBkZmgoZGF0YSwgJ2EmJlRleHQnKSxcbiAgICAgICAgICAgICAgICAgICAgdXJsOiBwZChkYXRhLCAnYSYmaHJlZicpICsgbGF6eSxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6IOeroOiKgi5sZW5ndGggPiAzID8gJ3RleHRfNCcgOiAndGV4dF8yJyxcbiAgICAgICAgICAgICAgICAgICAgZXh0cmE6IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsczogTVlfVVJMICsgXCJf6YCJ6ZuGXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICBpZDogcGQoZGF0YSwgJ2EmJmhyZWYnKVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgZGVsZXRlSXRlbUJ5Q2xzKE1ZX1VSTCArIFwiX+mAiembhlwiKTtcbiAgICAgICAgICAgIGFkZEl0ZW1CZWZvcmUoTVlfVVJMICsgXCJmb290ZXJcIiwgY3ApO1xuICAgICAgICAgICAgcmV0dXJuIFwiaGlrZXI6Ly9lbXB0eVwiXG4gICAgICAgIH0sIHRhYnMsIGxhenksIGlkKSxcbiAgICAgICAgY29sX3R5cGU6ICdmbGV4X2J1dHRvbicsXG4gICAgICAgIGV4dHJhOiB7XG4gICAgICAgICAgICBpZDogTVlfVVJMICsgXCJf57q/6LevXCIgKyBpZFxuICAgICAgICB9XG4gICAgfS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ICAgICAgICAgICBwYXJhbXMuY2F0ZV90ZW1wLmZvckVhY2goKGNhdGUsIGluZGV4KSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5ld19jYXRlLnB1c2goaW5kZXggPT09IDAgPyBwYXJhbXMua2V5LnRvU3RyaW5nKCkgOiBcXFwiMFxcXCIpXFxuICAgICAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcihcXFwidFxcXCIsIEpTT04uc3RyaW5naWZ5KG5ld19jYXRlKSlcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcihcXFwidXJsXFxcIiwgaW5wdXQpXFxuICAgICAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UodHJ1ZSlcXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcImhpa2VyOi8vZW1wdHlcXFwiXFxuICAgICAgICAgICAgICAgICAgICB9LCB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgY2F0ZV90ZW1wOiBjYXRlX3RlbXAsXFxuICAgICAgICAgICAgICAgICAgICAgICAga2V5OiBrZXksXFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFnZTogcGFnZSxcXG4gICAgICAgICAgICAgICAgICAgIH0pLFxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICdzY3JvbGxfYnV0dG9uJyxcXG4gICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiBcXFwiYmxhbmtfYmxvY2tcXFwiXFxuICAgICAgICAgICAgfSk7XFxuICAgICAgICB9IGVsc2UgaWYgKGZvbGQgPT09ICcxJykge1xcbiAgICAgICAgICAgIHN1Yl9jYXRlZ29yaWVzLmZvckVhY2goKGl0ZW0sIGtleSkgPT4ge1xcbiAgICAgICAgICAgICAgICBsZXQgdGl0bGUgPSBwZGZoKGl0ZW0sIOWIhuexu+agh+mimClcXG4gICAgICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiBrZXkudG9TdHJpbmcoKSA9PT0gY2F0ZV90ZW1wW2luZGV4XSA/ICfigJzigJzigJ3igJ08Yj48c3BhbiBzdHlsZT1cXFwiY29sb3I6ICcgKyDliIbnsbvpopzoibIgKyAnXFxcIj4nICsgdGl0bGUgKyAnPC9zcGFuPjwvYj4nIDogdGl0bGUsXFxuICAgICAgICAgICAgICAgICAgICB1cmw6ICQocGQoaXRlbSwg5YiG57G76ZO+5o6lKSArICcjbm9Mb2FkaW5nIycpLmxhenlSdWxlKChwYXJhbXMpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBwYXJhbXMuY2F0ZV90ZW1wW3BhcmFtcy5pbmRleF0gPSBwYXJhbXMua2V5LnRvU3RyaW5nKClcXG5cXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcihcXFwidFxcXCIsIEpTT04uc3RyaW5naWZ5KHBhcmFtcy5jYXRlX3RlbXApKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKFxcXCJ1cmxcXFwiLCBpbnB1dClcXG4gICAgICAgICAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSh0cnVlKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBcXFwiaGlrZXI6Ly9lbXB0eVxcXCJcXG4gICAgICAgICAgICAgICAgICAgIH0sIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBjYXRlX3RlbXA6IGNhdGVfdGVtcCxcXG4gICAgICAgICAgICAgICAgICAgICAgICBpbmRleDogaW5kZXgsXFxuICAgICAgICAgICAgICAgICAgICAgICAga2V5OiBrZXksXFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFnZTogcGFnZSxcXG4gICAgICAgICAgICAgICAgICAgIH0pLFxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICdzY3J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6IHtcXG4gICAgICAgICAgICAnUmVmZXJlcic6IE1ZX1VSTFxcbiAgICAgICAgfVxcbiAgICB9KVxcbiAgICB2YXIga2V5ID0gdXJscy5tYXRjaCgva2V5XFxcIjogXFxcIiguKj8pXFxcIi8pO1xcbiAgICB2YXIgdGltZSA9IHVybHMubWF0Y2goL3RpbWVcXFwiOiBcXFwiKC4qPylcXFwiLyk7XFxuICAgIHZhciB1cmwgPSBwb3N0KCdodHRwczovL2p4LmFybXl0ZWEuY29tL2poL0FQSS5waHAnLHtoZWFkZXJzOntcXG4gICAgICAgICAgICAgICAgJ1JlZmVyZXInOiBNWV9VUkxcXG4gICAgICAgICAgICB9LGJvZHk6ICd1cmw9Jyt1cmwrJyZ0aW1lPScrdGltZSsnJmtleT0nK2tleX0pXFxuICAgIHZhciB1cmwgPSBKU09OLnBhcnNlKHVybCkudXJsXFxubG9nKHVybClcXG5yZXR1cm4gdXJsXFxufSwgTVlfSE9NRSlcIn1dIiwiaWNvbiI6Imh0dHA6Ly93d3cuaGFuanVsYW8uY29tL3RlbXBsYXRlL2FfMDAxNC9pbWFnZXMvZmF2aWNvbi5pY28iLCJwcm94eSI6IiJ9
Add Comment
Please, Sign In to add comment