Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:二级页面详情¥page_detail¥搜索@@eyJkYXRhIjoie1wiYXNzb2NpYXRlZE1vZGVsc01hcEZvckpvaW5UYWJsZVwiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhGS1wiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhvdXRGS1wiOnt9LFwiZmllbGRzVG9TZXRUb0RlZmF1bHRcIjpbXSxcImdtdE1vZGlmaWVkXCI6MCxcImlkXCI6MCxcImxhc3RfY2hhcHRlcl9ydWxlXCI6XCJcIixcImxpc3RUb0NsZWFyQXNzb2NpYXRlZEZLXCI6W10sXCJsaXN0VG9DbGVhclNlbGZGS1wiOltdLFwicGFnZUxpc3RcIjpbe1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcIuS6jOe6p1wiLFwicGF0aFwiOlwiZXJqaVwiLFwicnVsZVwiOlwianM6XFxudmFyIGQgPSBbXTtcXG5mdW5jdGlvbiBnZXRJTUcodXJsKSB7XFxuaWYgKC92aWRlb19saXN0Ly50ZXN0KHVybCkpIHtcXG52YXIgc2NyaXB0ID0gcGRmaChmZXRjaFBDKHVybCksIFxcXCJib2R5JiZzY3JpcHQsMCYmSHRtbFxcXCIpLnJlcGxhY2UoJ3dpbmRvdy5fX05VWFRfXz0nLCBcXFwiXFxcIikucmVwbGFjZSgnZGF0YS12LTk4YWZkYTJjOjAnLCAnZ28nKTtcXG59ZWxzZXtcXG4gICAgdmFyIHNjcmlwdCA9IHBkZmgoZmV0Y2hQQyh1cmwpLCBcXFwiYm9keSYmc2NyaXB0LDAmJkh0bWxcXFwiKS5yZXBsYWNlKCd3aW5kb3cuX19OVVhUX189JywgXFxcIlxcXCIpLnJlcGxhY2UoJ2RhdGEtdi03Y2E2ZjE3MjowJywgJ2dvJyk7fVxcbiAgICB2YXIganNvbiA9IGV2YWwoc2NyaXB0KTtcXG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