xiaomianao666

小程序:禁漫天堂(hk代理)

Feb 6th, 2024
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@禁漫天堂(hk代理)@eyJmaXJzdEhlYWRlciI6ImNsYXNzIiwibGFzdF9jaGFwdGVyX3J1bGUiOiJib2R5JiYuYnRuLXRvb2xiYXImJmxpLC0xJiZUZXh0IiwidGl0bGUiOiLnpoHmvKvlpKnloIIoaGvku6PnkIYpIiwiYXV0aG9yIjoiTElVJuWtkOS4keWvheWNryZLaWxsZXImTG95RGdJayIsInVybCI6ImZ5eWVhci9hbGJ1bXMvZnljbGFzcz9zaHVudD1meXNvcnQmbz1meWFyZWEmcGFnZT1meXBhZ2UiLCJ2ZXJzaW9uIjozLCJjb2xfdHlwZSI6Im1vdmllXzMiLCJjbGFzc19uYW1lIjoi6Z+p5ryrJue+jua8qyblkIzkurom55+t56+HJuWNleacrCblhbbku5Ym5YWo6YOoIiwidHlwZSI6ImNhcnRvb24iLCJjbGFzc191cmwiOiJoYW5tYW4mbWVpbWFuJmRvdWppbiZzaG9ydCZzaW5nbGUmYW5vdGhlciYgIiwiYXJlYV9uYW1lIjoi5pyA5aSa54K56ZiFJuacgOWkmuWbvueJhybmnIDniLEm5pyA5pawJuacgOWkmuivhOiuuibmnIDpq5jor4TliIYiLCJhcmVhX3VybCI6Im12Jm1wJnRmJm1yJm1kJnRyIiwic29ydF9uYW1lIjoi5LiN5YiG5rWBJuWIhua1geKRoCbliIbmtYHikaEm5YiG5rWB4pGiIiwieWVhcl9uYW1lIjoi5Zu95YaFMSblm73lpJYyJuWbveWkljMiLCJzb3J0X3VybCI6IiYxJjImMyIsInllYXJfdXJsIjoiaHR0cHM6Ly8xOGNvbWljLnZpcCZodHRwczovLzE4Y29taWMub3JnJmh0dHBzOi8vam1jb21pYzEubWUiLCJmaW5kX3J1bGUiOiIjd3JhcHBlciYmLmNvbC14cy02O3NwYW4sMSYmVG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ybDogTVlfVVJMLFxuICAgICAgICBjb2xfdHlwZTogJ21vdmllXzFfdmVydGljYWxfcGljJ1xuICAgIH0pO1xuXG5cbiAgICB2YXIgbGF6eUptID0gJChcIlwiKS5sYXp5UnVsZShqbSk7XG4gICAgdmFyIGxhenlCam0gPSAkKFwiXCIpLmxhenlSdWxlKGJqbSk7XG5cbiAgICB2YXIgY2hhcHRlckxpc3QgPSBbXTtcbiAgICBkLnB1c2goe1xuICAgICAgICB0aXRsZTogXCLkuIvovb3mvKvnlLtcIixcbiAgICAgICAgdXJsOiAnaGlrZXI6Ly9wYWdlL2Rvd25sb2FkLnZpZXcjbm9SZWNvcmRIaXN0b3J5IyNub1JlZnJlc2gjP3J1bGU95pys5Zyw6LWE5rqQ566h55CGJyxcbiAgICAgICAgY29sX3R5cGU6ICdzY3JvbGxfYnV0dG9uJyxcbiAgICAgICAgZXh0cmE6IHtcbiAgICAgICAgICAgIGNoYXB0ZXJMaXN0OiBjaGFwdGVyTGlzdCxcbiAgICAgICAgICAgIGluZm86IHtcbiAgICAgICAgICAgICAgICBib29rTmFtZTogZGVzX3RpdGxlLCAvL+a8q+eUu+WQjeensCxcbiAgICAgICAgICAgICAgICBydWxlTmFtZTogTVlfUlVMRS50aXRsZSxcbiAgICAgICAgICAgICAgICBib29rVG9wUGljOiBkZXNfcGljLFxuICAgICAgICAgICAgICAgIHBhcnNlQ29kZTogJC50b1N0cmluZyhiam0pLFxuICAgICAgICAgICAgICAgIGRlY29kZTogJC50b1N0cmluZygodGl0bGUpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuICQucmVxdWlyZShcImQ/cnVsZT1cIiArIHRpdGxlKSh1cmwsIGlucHV0KTtcbiAgICAgICAgICAgICAgICB9LCBNWV9SVUxFLnRpdGxlKSxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBkZWZhdWx0VmlldzogXCIxXCJcbiAgICAgICAgfVxuXG4gICAgfSk7XG4gICAgZC5wdXNoKHtcbiAgICA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VzaCh7XG4gICAgICAgICAgICBcbiAgICAgICAgICAgIHRpdGxlOiBcIueCueWHu+ebtOaOpemYheivu1wiLFxuICAgICAgICAgICAgdXJsOiB1cmwgKyBsYXp5QmptLFxuICAgICAgICAgICAgY29sX3R5cGU6IFwidGV4dF8xXCIsXG4gICAgICAgICAgICBleHRyYToge1xuICAgICAgICAgICAgICAgIGxvbmdDbGljazogW3tcbiAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiAn5LiN6Kej5a+GJyxcbiAgICAgICAgICAgICAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKCh1cmwsIGxhenlCam0pID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdXJsICsgbGF6eUJqbVxuICAgICAgICAgICAgICAgICAgICAgICAgfSwgdXJsLCBsYXp5QmptKVxuICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogJ+ino+WvhicsXG4gICAgICAgICAgICAgICAgICAgICAgICBqczogJC50b1N0cmluZygodXJsLCBsYXp5Sm0pID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdXJsICsgbGF6eUptXG4gICAgICAgICAgICAgICAgICAgICAgICB9LCB1cmwsIGxhenlKbSlcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIF1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfSk7XG4gICAgICAgIGNoYXB0ZXJMaXN0LnB1c2goe1xuICAgICAgICAgICAgdGl0bGU6IGRlc190aXRsZSxcbiAgICAgICAgICAgIHVybDogXCJodHRwczovLzE4Y29taWMudmlwL3Bob3RvL1wiICsgTVlfVVJMLnNwbGl0KFwiXFwvXCIpWzRdXG4gICAgICAgIH0pO1xuICAgIH0gZWxzZSB7XG4gICAgICAgIGxldCBsaXN0ID0gY29udHMubWFwKHYgPT4ge1xuICAgICAgICAgICAgbGV0IHRpdGxlID0gcGRmaCh2LCAnYSYmVGV4dCcpLFxuICAgICAgICAgICAgICAgIHVybCA9IHBkKHYsICdhJiZocmVmJyk7XG4gICAgICAgICAgICBjaGFwdGVyTGlzdC5wdXNoKHtcbiAgICAgICAgICAgICAgICB0aXRsZTogdGl0bGUsXG4gICAgICAgICAgICAgICAgdXJsOiB1cmxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICB0aXRsZTogdGl0bGUsXG4gICAgICAgICAgICAgICAgdXJsOiB1cmwgKyBsYXp5Sm0sXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6IFwidGV4dF8xXCIsXG4gICAgICAgICAgICAgICAgZXh0cmE6IHtcbiAgICAgICAgICAgICAgICAgICAgbG9uZ0NsaWNrOiBbe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiAn5LiN6Kej5a+GJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBqczogJC50b1N0cmluZygodXJsLCBsYXp5QmptKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmwgKyBsYXp5QmptXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSwgdXJsLCBsYXp5QmptKVxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogJ+ino+WvhicsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAganM6ICQudG9TdHJpbmcoKHVybCwgbGF6eUptKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmwgKyBsYXp5Sm1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9LCB1cmwsIGxhenlKbSlcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgI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