Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@思古@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi5oCd5Y+kIiwiYXV0aG9yIjoi54uX5rWp5ZWKXG5odHRwczovL3NpZ3UuYXBwL1xuaHR0cHM6Ly9taWFuZmVpeXkuY29tXG5odHRwczovL2J6aGFueXkuY29tL1xuXG5odHRwczovL3NpZ3UuYXBwL1xuIOaAneWPpOW9seinhuWkh+eUqOWfn+WQjTpcbnNpZ3V5eTEuY29tICAxLTnlnYflj6/miZPlvIAiLCJ1cmwiOiJoaWtlcjovL2VtcHR5IyNodHRwczovL3NpZ3V5eTEuY29tL3R5cGUvbS1meXBhZ2UuaHRtbCIsInZlcnNpb24iOjAsImNvbF90eXBlIjoibW92aWVfMyIsImNsYXNzX25hbWUiOiIiLCJ0eXBlIjoidmlkZW8iLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczpcbnZhciBkID0gW107XG52YXIgZ2V0UmFuZ2VDb2xvcnMgPSBmdW5jdGlvbigpIHvCoMKgwqDCoMKgwqDCoFxuICAgIHJldHVybiAnIycgKyAoJzAwMDAwJyArIChNYXRoLnJhbmRvbSgpICogMHgxMDAwMDAwIDw8IDApLnRvU3RyaW5nKDE2KSkuc3Vic3RyKC02KTvCoMKgwqDCoMKgXG59XG5cbmNvbnN0IOWIhuexu+minOiJsiA9IGdldFJhbmdlQ29sb3JzKClcbmNvbnN0IOWkp+exu+WumuS9jSA9ICdib2R5JiYubmF2LWxpc3QnXG5jb25zdCDmi7zmjqXliIbnsbsgPSAnYm9keSYmLm15dWktc2NyZWVuX19saXN0J1xuY29uc3Qg5bCP57G75a6a5L2NID0gJ2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VzY2FwZSh1cmwpO1xuICAgIH0gZWxzZSBpZiAoaHRtbC5lbmNyeXB0ID09ICcyJykge1xuICAgICAgICB1cmwgPSB1bmVzY2FwZShiYXNlNjREZWNvZGUodXJsKSk7XG4gICAgfVxuICAgIGlmICgvbTN1OHxtcDQvLnRlc3QodXJsKSkge1xuICAgICAgICByZXR1cm4gdXJsXG4gICAgfSBlbHNlIHtcbiAgICAgICAgZXZhbChyZXF1ZXN0KE1ZX0hPTUUgKyAnL3N0YXRpYy9qcy9wbGF5ZXJjb25maWcuanMnKSk7XG4gICAgICAgIHZhciBqeCA9IE1hY1BsYXllckNvbmZpZy5wbGF5ZXJfbGlzdFtodG1sLmZyb21dLnBhcnNlO1xuICAgICAgICBpZiAoanggPT0gJycpIHtcbiAgICAgICAgICAgIGp4ID0gTWFjUGxheWVyQ29uZmlnLnBhcnNlXG4gICAgICAgIH1cbiAgICAgICAgaWYgKC9mcmVlLy50ZXN0KGp4KSkge1xuICAgICAgICAgICAgdmFyIGtleSA9ICcyMDIzMDUwNTE4MjYyMzk4NjUnXG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB2YXIga2V5ID0gJzIwMjIwNTA1MTQyNjIzOTQ2NSdcbiAgICAgICAgfVxuICAgICAgICBldmFsKHJlcXVlc3QoangucmVwbGFjZSgnP3VybCcsICdhbmFseXNpcy5waHA/dicpICsgdXJsLCB7XG4gICAgICAgICAgICBoZWFkZXJzOiB7XG4gICAgICAgICAgICAgICAgJ1JlZmVyZXInOiBNWV9VUkxcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSkubWF0Y2goL3ZhciBjb25maWcgPSB7W1xcc1xcU10qP30vKVswXSlcblxuICAgICAgICBmdW5jdGlvbiByYzQoZGF0YSwga2V5LCB0KSB7XG4gICAgICAgICAgICB2YXIgcHdkID0ga2V5IHx8ICdmZnNpcmxscSc7XG4gICAgICAgICAgICB2YXIgY2lwaGVyID0gJyc7XG4gICAgICAgICAgICB2YXIga2V5ID0gW107XG4gICAgICAgICAgICB2YXIgYm94ID0gW107XG4gICAgICAgICAgICB2YXIgcHdkX2xlbmd0aCA9IHB3ZC5sZW5ndGg7XG4gICAgICAgICAgICBpZiAodCA9PSAxKSB7XG4gICAgICAgICAgICAgICAgdmFyIGRhdGEgPSB3aW5kb3cwLmF0b2IoZGF0YSk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHZhciBkYXRhID0gZW5jb2RlVVJJQ29tcG9uZW50KGRhdGEpO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICB2YXIgZGF0YV9sZW5ndGggPSBkYXRhLmxlbmd0aDtcblxuICAgICAgICAgICAgZm9yIChpID0gMDsgaSA8IDI1NjsgaSsrKSB7XG4gICAgICAgICAgICAgICAga2V5W2ldID0gcHdkW2kgJSBwd2RfbGVuZ3RoXS5jaGFyQ29kZUF0KCk7XG4gICAgICAgICAgICAgICAgYm94W2ldID0gaTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGZvciAoaiA9IGkgPSAwOyBpIDwgMjU2OyBpKyspIHtcbiAgICAgICAgICAgICAgICBqID0gKGogKyBib3hbaV0gKyBrZXlbaV0pICUgMjU2O1xuICAgICAgICAgICAgICAgIHRtcCA9IGJveFtpXTtcbiAgICAgICAgICAgICAgICBib3hbaV0gPSBib3hbal07XG4gICAgICAgICAgICAgICAgYm94W2pdID0gdG1wO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZm9yIChhID0gaiA9IGkgPSAwOyBpIDwgZGF0YV9sZW5ndGg7IGkrKykge1xuICAgICAgICAgICAgICAgIGEgPSAoYSArIDEpICUgMjU2O1xuICAgICAgICAgICAgICAgIGogPSAoaiArIGJveFthXSkgJSAyNTY7XG4gICAgICAgICAgICAgICAgdG1wID0gYm94W2FdO1xuICAgICAgICAgICAgICAgIGJveFthXSA9IGJveFtqXTtcbiAgICAgICAgICAgICAgICBib3hbal0gPSB0bXA7XG4gICAgICAgICAgICAgICAgayA9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