xiaomianao666

小程序:雏鸟2141

Feb 18th, 2023
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@雏鸟2141@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi6ZuP6bifMjE0MSIsImF1dGhvciI6IkBMb3lEZ0lrIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSNmeXBhZ2UiLCJ2ZXJzaW9uIjowLCJjb2xfdHlwZSI6Im1vdmllXzMiLCJjbGFzc19uYW1lIjoiIiwidHlwZSI6InZpZGVvIiwiY2xhc3NfdXJsIjoiIiwiYXJlYV9uYW1lIjoiIiwiYXJlYV91cmwiOiIiLCJzb3J0X25hbWUiOiIiLCJ5ZWFyX25hbWUiOiIiLCJzb3J0X3VybCI6IiIsInllYXJfdXJsIjoiIiwiZmluZF9ydWxlIjoianM6XG5jb25zdCBpbWFnZSA9ICQucmVxdWlyZShcImhpa2VyOi8vcGFnZS9pbWFnZVwiKTtcbi8vaW1hZ2UuaW1hZ2VEZWNyeXB0KFwiaHR0cDovL2NuY2RuLmthZm9vLmxpdmUvaWcvdHlwZS8wNjEyMDkvM2NmYWVhMGMzM2I2ZmM2Yi5jZWJcIik7XG5jb25zdCBDcnlwdG8gPSAkLnJlcXVpcmUoXCJoaWtlcjovL3BhZ2UvQ3J5cHRvXCIpO1xuY29uc3QgYXBpID0gJC5yZXF1aXJlKFwiaGlrZXI6Ly9wYWdlL0FQSVwiKTtcblxubGV0IHJlY29tbWVuZCA9IGFwaS5wb3N0QXBpKFwidmlkZW8vaG9tZS9yZWNvbW1lbmRcIiwge1xuICAgIFwicGFnZVwiOiBNWV9QQUdFICsgXCJcIixcbiAgICBcInBhZ2Vfc2l6ZVwiOiBcIjEyXCJcbn0pO1xubGV0IGQgPSBbXTtcbnRyeSB7XG4gICAgcmVjb21tZW5kID0gSlNPTi5wYXJzZShDcnlwdG8uYWVzRGVjcnlwdChyZ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