xiaomianao666

小程序:青豆

Jan 29th, 2024
856
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@青豆@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6ImpzOlxuZXZhbChmZXRjaChnZXRWYXIoXCJxZGJfZmlsZVwiKSkpO1xubGV0IHR5cGUgPSBnZXRQYXJhbSgndHlwZScsICcnKSxcbiAgICBpZCA9IGdldFBhcmFtKCdpZCcsICcnKSxcbiAgICB0aXRsZSA9IGdldFBhcmFtKCd0aXRsZScsICcnKTtcbmxldCByZXMgPSBnZXREb3ViYW5SZXMoXCJodHRwczovL2Zyb2RvLmRvdWJhbi5jb20vYXBpL3YyL1wiICsgdHlwZSArIFwiL1wiICsgaWQpO1xubGV0IHVwZGF0ZSA9IFwiXCI7XG5pZiAodGl0bGUgPT0gJycpIHtcbiAgICBsZXQgbGVuZ3RoID0gcmVzLnZlbmRvcnMubGVuZ3RoO1xuICAgIHVwZGF0ZSArPSBsZW5ndGggPiAwID8gJ+WFsScgKyBsZW5ndGggKyAn5Liq54mH5rqQJyA6ICfmmoLml6DniYfmupAnO1xuICAgIGlmIChsZW5ndGggPiAwKSB7XG4gICAgICAgIGxldCBlID0gcmVzLnZlbmRvcnNbMF07XG4gICAgICAgIHVwZGF0ZSArPSBlLmVwaXNvZGVzX2luZm8gPyBcInxcIiArIGUuZXBpc29kZXNfaW5mbyA6IFwiXCI7XG4gICAgfVxufSBlbHNlIHtcbiAgICBmb3IgKGxldCBlIG9mIHJlcy52ZW5kb3JzKSB7XG4gICAgICAgIGlmIChlLnRpdGxlID09IHRpdGxlKSB7XG4gICAgICAgICAgICB1cGRhdGUgKz0gZS5lcGlzb2Rlc19pbmZvID8gZS5lcGlzb2Rlc19pbmZvIDogXCJcIjtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG4gICAgfVxufVxuc2V0UmVzdWx0KHVwZGF0ZSk7IiwidGl0bG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KyBcXFwiI25vSGlzdG9yeSNcXFwiXFxuICAgIH0pXFxufVxcbnJldHVybiBkO2AsXFxuICAgICAgICB9LFxcbiAgICAgIH0sXFxuICAgICAgYW5hbHlzaXNDb25maWdzOiB7XFxuICAgICAgICB1c2U6ICfkuI3op6PmnpAnLFxcbiAgICAgICAg5LiN6Kej5p6QOiB7XFxuICAgICAgICAgIGNvbmZpZzogJC50b1N0cmluZygoKSA9PiB7XFxuICAgICAgICAgICAgcmV0dXJuIGlucHV0O1xcbiAgICAgICAgICB9KSxcXG4gICAgICAgICAgc2V0dGluZzogJC50b1N0cmluZygoKSA9PiB7XFxuICAgICAgICAgICAgcmV0dXJuICd0b2FzdDovL+ivpeaPkuS7tuaXoOiuvue9rumhtemdoic7XFxuICAgICAgICAgIH0pLFxcbiAgICAgICAgfSxcXG4gICAgICAgIOaWreaPkjoge1xcbiAgICAgICAgICBjb25maWc6ICQudG9TdHJpbmcoKCkgPT4ge1xcbiAgICAgICAgICAgIGxldCBmaWxlID0gJ2hpa2VyOi8vZmlsZXMvcnVsZXMvRHVhbk5pYW4vTXlQYXJzZS5qc29uJztcXG4gICAgICAgICAgICBsZXQgb2xkZmlsZSA9ICdoaWtlcjovL2ZpbGVzL2NhY2hlL015UGFyc2VTZXQuanNvbic7XFxuICAgICAgICAgICAgaWYgKGZpbGVFeGlzdChmaWxlKSkge1xcbiAgICAgICAgICAgICAgZXZhbCgnanNvbj0nICsgZmV0Y2goZmlsZSkpO1xcbiAgICAgICAgICAgICAgbGV0IGpzVXJsID0ganNvbi5zZXR0aW5ncy5jajtcXG4gICAgICAgICAgICAgIGV2YWwoZmV0Y2goanNVcmwpKTtcXG4gICAgICAgICAgICAgIHJldHVybiBheXRtUGFyc2UoaW5wdXQpO1xcbiAgICAgICAgICAgIH0gZWxzZSBpZiAoZmlsZUV4aXN0KG9sZGZpbGUpKSB7XFxuICAgICAgICAgICAgICBsZXQganNVcmwgPSBKU09OLnBhcnNlKGZldGNoKG9sZGZpbGUpKS5jajtcXG4gICAgICAgICAgICAgIGV2YWwoZmV0Y2goanNVcmwpKTtcXG4gICAgICAgICAgICAgIHJldHVybiBheXRtUGFyc2UoaW5wdXQpO1xcbiAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICByZXR1cm4gJ3RvYXN0Oi8v5rKh5om+5Yiw5pat5o+S6YWN572u5paH5Lu2JztcXG4gICAgICAgICAgICB9XFxuICAgICAgICAgIH0pLFxcbiAgICAgICAgICBzZXR0aW5nOiAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgICAgICBsZXQgZmlsZSA9ICdoaWtlcjovL2ZpbGVzL3J1bGVzL0R1YW5OaWFuL015UGFyc2UuanNvbic7XFxuICAgICAgICAgICAgbGV0IG9sZGZpbGUgPSAnaGlrZXI6Ly9maWxlcy9jYWNoZS9NeVBhcnNlU2V0Lmpzb24nO1xcbiAgICAgICAgICAgIGlmIChmaWxlRXhpc3QoZmlsZSkpIHtcXG4gICAgICAgICAgICAgIGV2YWwoJ2pzb249JyArIGZldGNoKGZpbGUpKTtcXG4gICAgICAgICAgICAgIGxldCBqc1VybCA9IGpzb24uc2V0dGluZ3MuY2o7XFxuICAgICAgICAgICAgICBldmFsKGZldGNoKGpzVXJsKSk7XFxuICAgICAgICAgICAgICByZXR1cm4gc2V0VXJsO1xcbiAgICAgICAgICAgIH0gZWxzZSBpZiAoZmlsZUV4aXN0KG9sZGZpbGUpKSB7XFxuICAgICAgICAgICAgICBsZXQganNVcmwgPSBKU09OLnBhcnNlKGZldGNoKG9sZGZpbGUpKS5jajtcXG4gICAgICAgICAgICAgIGV2YWwoZmV0Y2goanNVcmwpKTtcXG4gICAgICAgICAgICAgIHJldHVybiBzZXRVcmw7XFxuICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9wYWdlL1JvdXRlP3J1bGU9TXlGaWVsZOG0sOKBvyZ0eXBlPeiuvue9ric7XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgICB9KSxcXG4gICAgICAgIH0sXFxuICAgICAgfSxcXG4gICAgfTtcXG4gICAgICAgICAgICBsZXQgaXRlbSA9ICcnO1xcbiAgICAgICAgICAgIHN3aXRjaCAoc2VsKSB7XFxuICAgICAgICAgICAgICAgIGNhc2UgJ+mHjee9ruaYn+aYn+minOiJsic6XFxuICAgICAgICAgICAgICAgICAgICBpdGVtID0gJ3N0YXJDb2xvcic7XFxuICAgICAgICAgICAgICAgICAgICBicmVhaztcXG4gICAgICAgICAgICAgICAgY2FzZSAn6YeN572u6YCJ5Lit5qCH562+6aKc6ImyJzpcXG4gICAgICAgICAgICAgICAgICAgIGl0ZW0gPSAnY2hvb3NlQ29sb3InO1xcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XFxuICAgICAgICAgICAgICAgIGNhc2UgJ+mHjee9ruW/q+mAn+aQnOe0oic6XFxuICAgICAgICAgICAgICAgICAgICBpdGVtID0gJ3F1aWNrU2VhcmNoQ29uZmlncyc7XFxuICAgICAgICAgICAgICAgICAgICBicmVhaztcXG4gICAgICAgICAgICAgICAgY2FzZSAn6YeN572u6aaW6aG1JzpcXG4gICAgICAgICAgICAgICAgICAgIGl0ZW0gPSAnaG9tZVBhZ2VDb25maWdzJztcXG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xcbiAgICAgICAgICAgICAgICBjYXNlICfph43nva7or6bmg4XpobUnOlxcbiAgICAgICAgICAgICAgICAgICAgaXRlbSA9ICdkZXRhaWxWaWV3Q29uZmlncyc7XFxuICAgICAgICAgICAgICAgICAgICBicmVhaztcXG4gICAgICAgICAgICAgICAgY2FzZSAn6YeN572u5YWo6YOo6K6+572u6aG5JzpcXG4gICAgICAgICAgICAgICAgICAgIGl0ZW0gPSAnYWxsJztcXG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xcbiAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAvLyBldmFsKGZldGNoKGdldFZhcigncWRiX2ZpbGUnKS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