Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@仓库@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi5LuT5bqTIiwiYXV0aG9yIjoiICIsInVybCI6Imhpa2VyOi8vZW1wdHkjI2hvc3Qvdm9kdHlwZS9meUFsbC1meXBhZ2UuaHRtbCIsInZlcnNpb24iOjMsImNvbF90eXBlIjoibW92aWVfM19tYXJxdWVlIiwiY2xhc3NfbmFtZSI6IuWbveS6pybml6Xpn6km5qyn576OJuWKqOa8qyIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IjImMSYzJjQiLCJhcmVhX25hbWUiOiLml6Dwn5C05Lit5paH5a2X5bmVJuacifCfkLTkuK3mloflrZfluZUiLCJhcmVhX3VybCI6IjgmOSIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IuaXpeacrOaXoPCfkLQm5pel5pys5pyJ8J+QtCIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIxMCY3IiwiZmluZF9ydWxlIjoianM6ICAgICAgXG5yZXF1aXJlKGNvbmZpZy7mqKHmnb8pO1xu5L6d6LWW5qOA5rWLKCk7XHJcbnZhciByZXMgPSB7fTtcclxudmFyIGl0ZW1zID0gW107XG4vL3VzZXIuMzAxZ28ubmV0Ojg4OTkvP3U9XG5sZXQgd2ViPXJlcXVlc3QoJ2h0dHBzOi8vNjY2OTM3Lnh5ejo4ODk5Lz91PWh0dHA6Ly9oc2NrLm5ldC8mcD0vJyx7XG4gICAgd2l0aEhlYWRlcnM6dHJ1ZVxufSk7XG5sZXQgcmVhbFVybD1KU09OLnBhcnNlKHdlYikudXJsO1xucHV0TXlWYXIoJ3JlYWxVcmwnLHJlYWxVcmwpO1xubGV0IGNrX2lkPSdjb29raWUuc2VrdSc7XG5sZXQgY29va2llPeiOt+WPlmNrKGNrX2lkKTtcbnB1dE15VmFyKCdjb29raWUnLGNvb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uICAgICAgICBsb2c9ZnlfYnJpZGdlX2FwcC5sb2c7XFxuICAgIH1cXG4gICAgdmFyIGpzPSQudG9TdHJpbmcoKGlkLHNldCxleHRyYSk9PntcXG4gICAgICAgIGV2YWwoZnlfYnJpZGdlX2FwcC5nZXRJbnRlcm5hbEpzKCkpO1xcbiAgICAgICAgLy9mYmEubG9nKCfov5vlhaV4NeWkhOeQhuS4rScpO1xcbiAgICAgICAgLy9mYmEubG9nKGZiYS5nZXRWYXIoJ2Ry5L6d6LWWJykpO1xcbiAgICAgICAgdmFyIGNrcGF0aD0naGlrZXI6Ly9maWxlcy9jYWNoZS9jb29raWUuanNvbic7XFxuICAgICAgICBmdW5jdGlvbiBjb29raWVTZXQoKXtcXG4gICAgICAgICAgICAvLyBmYmEubG9nKCfoh6rliqhjb29raWXorr7nva46JyArIHNldCArICc9PicgKyBkb2N1bWVudC5jb29raWUpO1xcbiAgICAgICAgICAgIC8vSlNPTi5zdHJpbmdpZnlcXG4gICAgICAgICAgICAvL0pTT04ucGFyc2VcXG4gICAgICAgICAgICB2YXIgb2xkY2sgPSByZXF1ZXN0KGNrcGF0aCkgfHwgJ3t9JztcXG4gICAgICAgICAgICBmYmEubG9nKCfml6fnmoRjb29raWU6JyArIG9sZGNrKTtcXG4gICAgICAgICAgICBvbGRjayA9IEpTT04ucGFyc2Uob2xkY2spO1xcbiAgICAgICAgICAgIG9sZGNrW3NldF0gPSBkb2N1bWVudC5jb29raWU7XFxuICAgICAgICAgICAgZmJhLnB1dFZhcihzZXQsIGRvY3VtZW50LmNvb2tpZSk7XFxuICAgICAgICAgICAgdmFyIG5ld0NrID0gSlNPTi5zdHJpbmdpZnkob2xkY2spO1xcbiAgICAgICAgICAgIGZiYS53cml0ZUZpbGUoY2twYXRoLCBuZXdDayk7XFxuICAgICAgICAgICAgZmJhLmxvZygn5paw55qEY29va2llOicgKyBuZXdDayk7XFxuICAgICAgICB9XFxuICAgICAgICBpZihpZCkgeyAvL+Whq+S6hmlk55qE6K+dXFxuICAgICAgICAgICAgdmFyIGJ0biA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2J1dHRvbicpO1xcbiAgICAgICAgICAgIGxldCBjc3MgPSBleHRyYS7moLflvI8gfHwgJ2JvcmRlci1yYWRpdXM6MjBweDt3aWR0aDphdXRvO2hlaWdodDoyMHB4Oyc7XFxuICAgICAgICAgICAgYnRuLnNldEF0dHJpYnV0ZSgnc3R5bGUnLCBjc3MpO1xcbiAgICAgICAgICAgIGJ0bi5zZXRBdHRyaWJ1dGUoJ2lkJywgJ2J0bjEnKTtcXG4gICAgICAgICAgICBsZXQgdGV4dCA9IGV4dHJhLuaWh+WtlyB8fCAn5a6M5oiQ5bm26L+U5Zue6YeN6K+VJztcXG4gICAgICAgICAgICBidG4uaW5uZXJUZXh0ID0gdGV4dDtcXG4gICAgICAgICAgICBidG4ub25jbGljayA9IGZ1bmN0aW9uICgpIHtcXG4gICAgICAgICAgICAgICAgdHJ5IHtcXG4gICAgICAgICAgICAgICAgICAgIGZiYS5sb2coJ+aJi+WKqOeCueWHu2Nvb2tpZeiuvue9rjonICsgc2V0ICsgJz0+JyArIGRvY3VtZW50LmNvb2tpZSk7XFxuICAgICAgICAgICAgICAgICAgICBjb29raWVTZXQoKTtcXG4gICAgICAgICAgICAgICAgICAgIGlmIChjb25maXJtKCflt7Lorr7nva7lvZPliY3pobVjb29raWXvvIzov5Tlm57mn6XnnIvmkJzntKLnu5PmnpzjgILov5Tlm57lkI7pnIDopoHmiYvliqjkuIvmi4nliLfmlrDvvIHvvIHvvIEnKSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGZiYS5wYXJzZUxhenlSdWxlKCdoaWtlcjovL2VtcHR5QGxhenlSdWxlPS5qczpiYWNrKCknKTtcXG4gICAgICAgICAgICAgICAgICAgIH1cXG5cXG4gICAgICAgICAgICAgICAgfSBjYXRjaCAoZSkge1xcbiAgICAgICAgICAgICAgICAgICAgYWxlcnQoZS5tZXNzYWdlKVxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIHZhciBtYWluID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvcihpZCk7XFxuICAgICAgICAgICAgbWFpbi5hcHBlbmRDaGlsZChidG4pO1xcbiAgICAgICAgfWVsc2V7Ly/msqHloavlsLHoh6rliqjms6jlhaXvvIzliLfmlrDpg73nrpdcXG4gICAgICAgICAgICBpZihkb2N1bWVudC5jb29raWUpIHsvL+WmguaenOaciWNvb2tpZVxcbiAgICAgICAgICAgICAgICB0cnkge1xcbiAgICAgICAgICAgICAgICAgICAgZmJhLmxvZygn6Ieq5YqoY29va2ll6K6+572uOicgKyBzZXQgKyAnPT4nICsgZG9jdW1lbnQuY29va2llKTtcXG4gICAgICAgICAgICAgICAgICAgIGNvb2tpZVNldCgpO1xcbiAgICAgICAgICAgICAgICB9IGNhdGNoIChlKSB7XFxuICAgICAgICAgICAgICAgICAgICBhbGVydChlLm1lc3NhZ2UpXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9XFxuICAgICAgICB9XFxuICAgIH0saWQsc2V0LGV4dHJhKTtcXG4gICAgcmV0dXJuIGpzXFxufVxcblxcbmZ1bmN0aW9uIOmBk+mVv+mqjOivgeeggSh0aXRsZSxteXVybCxpZCxzZXQsZXh0cmEpe1xcblxcbiAgICBpZihnZXRWYXIoc2V0LCcnKSYmIWdldE15VmFyKCdjb29raWUnKSl7XFxuICAgICAgICBwdXRNeVZhcignY29va2llJyxnZXRWYXIoc2V0LCcnKSk7XFxuICAgICAgICByZWZyZXNoUGFnZSh0cnVlKTtcXG4gICAgICAgIHJldHVybjtcXG4gICAgfVxcblxcbi8v5b+F5aGr6ZO+5o6l77yMaWTvvIxjb29raWXlkI3np7BcXG4gICAgZXh0cmE9ZXh0cmF8fGZhbHNlO1xcbiAgICB0aXRsZT10aXRsZXx8J+e9keermeinpuWPkeS6huS6uuacuumqjOivge+8jOeCueatpOWkhOeQhic7XFxuICAgIC8qXFxuICAgIHZhciB1cmw9JCgpLmxhenlSdWxlKCh0aXRsZSxNWV9VUkwsaWQsc2V0LGV4dHJhLOazqOWFpemqjOivgeeggeivhuWIqyk9PntcXG4gICAgaWYoZ2V0VmFyKHNldCwnJykmJiFnZXRNeVZhcignY29va2llJykpe1xcbiAgICBwdXRNeVZhcignY29va2llJyxnZXRWYXIoc2V0LCcnKSk7XFxuICAgIHJlZnJlc2hQYWdlKHRydWUpO1xcbiAgICByZXR1cm4naGlrZXI6Ly9lbXB0eSc7XFxuICAgIH1cXG4gICAgcmV0dXJuICQoTVlfVVJMKS5ydWxlKCjms6jlhaXpqozor4HnoIHor4bliKssaWQsc2V0LGV4dHJhKT0+e1xcbiAgICAgICAgICAgICAgICAvL2xvZyh0eXBlb2Yo5rOo5YWl6aqM6K+B56CB6K+G5YirKSlcXG4gICAgICAgICAgICAgICAgbGV0IGQ9W107XFxuICAgICAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgICBjb2xfdHlwZTogXFxcIng1X3dlYnZpZXdfc2luZ2xlXFxcIixcXG4gICAgICAgICAgICAgICAgIHVybDogTVlfVVJMLFxcbiAgICAgICAgICAgICAgICAgZGVzYzogXFxcImZsb2F0JiYxMDAlXFxcIixcXG4gICAgICAgICAgICAgICAgIGV4dHJhOiB7XFxuICAgICAgICAgICAgICAgICAgIGNhbkJhY2s6IHRydWUsXFxuICAgICAgICAgICAgICAgICAgIGpzOuazqOWFpemqjOivgeeggeivhuWIqyhpZCxzZXQsZXh0cmEpXFxuICAgICAgICAgICAgICAgICAgfX0pO1xcbiAgICAgICAgICAgICAgICBzZXRSZXN1bHQoZCk7XFxuICAgICAgICAgIH0s5rOo5YWl6aqM6K+B56CB6K+G5YirLGlkLHNldCxleHRyYSk7XFxuXFxuICAgIH0sdGl0bGUsTVlfVVJMLGlkLHNldCxleHRyYSzms6jlhaXpqozor4HnoIHor4bliKspO1xcbiAgICAqL1xcbi8vbG9nKCflvoXms6jlhaU6JytNWV9VUkwpO1xcbiAgICB2YXIgdXJsPSQobXl1cmwpLnJ1bGUoKOazqOWFpemqjOivgeeggeivhuWIqyxpZCxzZXQsZXh0cmEpPT57XFxuICAgICAgICAvL2xvZyh0eXBlb2Yo5rOo5YWl6aqM6K+B56CB6K+G5YirKSlcXG4gICAgICAgIGlucHV0PU1ZX1VSTDtcXG4gICAgICAgIHJlcXVpcmUoZ2V0VmFyKCdkcuS+nei1licpKTtcXG4gICAgICAgIC8vbG9nKCfms6jlhaXkuoY6JytNWV9VUkwpO1xcbiAgICAgICAgdmFyIG9sZGNrPeiOt+WPlmNrKHNldCk7XFxuICAgICAgICBzZXRQYWdlVGl0bGUoJ+mBk+mVv+mqjOivgeeggemAmuadgCcpO1xcbiAgICAgICAgYWRkTGlzdGVuZXIoJ29uQ2xvc2UnLCAkLnRvU3RyaW5nKChzZXQsb2xkY2ss6I635Y+WY2spPT57XFxuICAgICAgICAgICAgLy8gcmVmcmVzaFBhZ2UoZmFsc2UpOyAvL+i/lOWbnuiHquWKqOWIt+aWsOS9v+iuvue9rueUn+aViFxcbiAgICAgICAgICAgIGxvZygn6YCA5Ye65LqG6YCa5p2A55WM6Z2iLOaXp+eahGNvb2tpZeS4ujonK29sZGNrKTtcXG4gICAgICAgICAgICBsZXQgbmV3Y2s96I635Y+WY2soc2V0KTtcXG4gICAgICAgICAgICBsb2coJ+aWsOeahGNvb2tpZeS4ujonK25ld2NrKTtcXG4gICAgICAgICAgICBpZighbmV3Y2spe1xcbiAgICAgICAgICAgICAgICBsZXQgZXJyb3I9J+acquiOt+WPlmNvb2tpZe+8jOmqjOivgeWksei0pe+8gSc7XFxuICAgICAgICAgICAgICAgIGxvZyhlcnJvcik7XFxuICAgICAgICAgICAgICAgIC8vc2V0RXJyb3IoZXJyb3IpO1xcbiAgICAgICAgICAgICAgICAvL3Rocm93IGVycm9yO1xcbiAgICAgICAgICAgIH1lbHNlIGlmKG9sZGNrPT09bmV3Y2spe1xcbiAgICAgICAgICAgICAgICBsb2coJ2Nvb2tpZeacquabtOaWsO+8jOmqjOivgeWPr+iDveacqumAmui/hycpO1xcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH0sc2V0LG9sZGNrLOiOt+WPlmNrKSk7XFxuICAgICAgICBsZXQgZD1bXTtcXG4gICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgY29sX3R5cGU6IFxcXCJ4NV93ZWJ2aWV3X3NpbmdsZVxcXCIsXFxuICAgICAgICAgICAgdXJsOiBpbnB1dCxcXG4gICAgICAgICAgICBkZXNjOiBcXFwiZmxvYXQmJjEwMCVcXFwiLFxcbiAgICAgICAgICAgIGV4dHJhOiB7XFxuICAgICAgICAgICAgICAgIGNhbkJhY2s6IHRydWUsXFxuICAgICAgICAgICAgICAgIGpzOuazqOWFpemqjOivgeeggeivhuWIqyhpZCxzZXQsZXh0cmEpXFxuICAgICAgICAgICAgfX0pO1xcbiAgICAgICAgc2V0UmVzdWx0KGQpO1xcbiAgICB9LOazqOWFpemqjOivgeeggeivhuWIqyxpZCxzZXQsZXh0cmEpO1xcbiAgICBsZXQgZD1bXTtcXG4gICAgZC5wdXNoKHtcXG4gICAgICAgIHRpdGxlOnRpdGxlLFxcbiAgICAgICAgY29sX3R5cGU6J3RleHRfMScsXFxuICAgICAgICB1cmw6dXJsLFxcbiAgICB9KTtcXG4gICAgc2V0UmVzdWx0KGQpO1xcbiAgICAvLyAkKCkuYjY0KCkucnVsZSgpICDlj6/ku6Xlrp7njrDlnKhsYXp5UnVsZemHjOi/lOWbnnJ1bGVcXG59XCJ9XSIsImljb24iOiJodHRwOi8vaHNjazgzNy5jYy9zdGF0aWNzL2ltZy9sb2dvX21pbi5wbmciLCJwcm94eSI6IiJ9
Add Comment
Please, Sign In to add comment