Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:二级页面详情¥page_detail¥诡异药剂师:我的病人皆为恐怖@@eyJkYXRhIjoie1wiYXNzb2NpYXRlZE1vZGVsc01hcEZvckpvaW5UYWJsZVwiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhGS1wiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhvdXRGS1wiOnt9LFwiZGlzcGxheU5hbWVcIjpcIua8q+elnsK3UVwiLFwiZmllbGRzVG9TZXRUb0RlZmF1bHRcIjpbXSxcImdtdE1vZGlmaWVkXCI6MCxcImlkXCI6MCxcImxhc3RfY2hhcHRlcl9ydWxlXCI6XCIuYWNnbi1jb2wtMTcmJmVtJiZUZXh0XCIsXCJsaXN0VG9DbGVhckFzc29jaWF0ZWRGS1wiOltdLFwibGlzdFRvQ2xlYXJTZWxmRktcIjpbXSxcInBhZ2VMaXN0XCI6W3tcImNvbF90eXBlXCI6XCJtb3ZpZV8zXCIsXCJuYW1lXCI6XCLpppbpobVcIixcInBhdGhcIjpcIummlumhtVwiLFwicnVsZVwiOlwidmFyIGQgPSBbXVxcbnBkZmEocmVxdWVzdChVUkxbMV0pLCAnYm9keSYmLm11bHQ6aGFzKGgyKScpLmZvckVhY2goaiA9PiB7XFxuXFxuICAgIGQucHVzaCh7XFxuICAgICAgICB0aXRsZTogcGRmaChqLCAnaDImJlRleHQnKSxcXG4gICAgICAgIHVybDogJ2hpa2VyOi8vZW1wdHknLFxcbiAgICAgICAgY29sX3R5cGU6ICd0ZXh0XzEnXFxuICAgIH0pXFxuICAgIHBkZmEoaiwgJ3VsJiYuY2FyZCcpLmZvckVhY2goaSA9PiB7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiBwZGZoKGksICcuY2FyZC10aXRsZSYmVGV4dCcpLFxcbiAgICAgICAgICAgIGltZzogcGQoaSwgJ2ltZyYmc3JjJyks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c2VEb21Gb3JIdG1sKGh0bWwsIFxcXCIjbmV4dCwtMSYmVGV4dFxcXCIpLmluZGV4T2YoXFxcIuS4i+S4gOmhtVxcXCIpID4gLTEpIHtcXG4gICAgICAgICAgICBodG1sQXJyLnB1c2goaHRtbCk7XFxuICAgICAgICAgICAgaHRtbFVybC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgdXJsOiBpbnB1dC5yZXBsYWNlKFxcXCIuaHRtbFxcXCIsIFxcXCJfXFxcIiArIHAgKyBcXFwiLmh0bWxcXFwiKSxcXG4gICAgICAgICAgICAgICAgb3B0aW9uczoge1xcbiAgICAgICAgICAgICAgICAgICAgaGVhZGVyczoge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIFxcXCJjb250ZW50LXR5cGVcXFwiOiBcXFwiY2hhcnN0PXV0Zi04XFxcIixcXG4gICAgICAgICAgICAgICAgICAgICAgICBcXFwiVXNlci1BZ2VudFxcXCI6IE1PQklMRV9VQVxcbiAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfSlcXG4gICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgaHRtbEFyci5wdXNoKGh0bWwpO1xcbiAgICAgICAgICAgIGh0bWxVcmwucHVzaCh7XFxuICAgICAgICAgICAgICAgIHVybDogaW5wdXQucmVwbGFjZShcXFwiLmh0bWxcXFwiLCBcXFwiX1xcXCIgKyBwICsgXFxcIi5odG1sXFxcIiksXFxuICAgICAgICAgICAgICAgIG9wdGlvbnM6IHtcXG4gICAgICAgICAgICAgICAgICAgIGhlYWRlcnM6IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBcXFwiY29udGVudC10eXBlXFxcIjogXFxcImNoYXJzdD11dGYtOFxcXCIsXFxuICAgICAgICAgICAgICAgICAgICAgICAgXFxcIlVzZXItQWdlbnRcXFwiOiBNT0JJTEVfVUFcXG4gICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgfV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FxcIikubGF6eVJ1bGUoKCkgPT4gZXZhbChKU09OLnBhcnNlKHJlcXVlc3QoJ2hpa2VyOi8vcGFnZS9QaWN0dXJlJykpLnJ1bGUpKTtcXG5cXG5mdW5jdGlvbiDop6PmnpAoKSB7XFxyXFxuICAgIHZhciBodG1sID0gcmVxdWVzdChpbnB1dCwge1xcclxcbiAgICAgICAgaGVhZGVyczoge1xcclxcbiAgICAgICAgICAgIFxcXCJVc2VyLUFnZW50XFxcIjogTU9CSUxFX1VBXFxyXFxuICAgICAgICB9XFxyXFxuICAgIH0pO1xcclxcbiAgICB2YXIgcGljcyA9IHBkZmEoaHRtbCwgXFxcIi5hY2duLXJlYWRlci1jaGFwdGVyX19pdGVtLWJveCYmaW1nXFxcIikubWFwKGggPT4gcGRmaChoLCBcXFwiaW1nJiZkYXRhLXNyY3x8c3JjXFxcIikpO1xcclxcbiAgICBpZiAoL+S4i+S4gOmhtS8udGVzdChodG1sKSkge1xcclxcbiAgICAgICAgZm9yICh2YXIgayA9IDI7OyBrKyspIHtcXHJcXG4gICAgICAgICAgICB2YXIgaHRtbF90bXAgPSByZXF1ZXN0KGlucHV0LnJlcGxhY2UoXFxcIi5odG1sXFxcIiwgXFxcIl9cXFwiICsgayArIFxcXCIuaHRtbFxcXCIpLCB7XFxyXFxuICAgICAgICAgICAgICAgIGhlYWRlcnM6IHtcXHJcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJVc2VyLUFnZW50XFxcIjogTU9CSUxFX1VBXFxyXFxuICAgICAgICAgICAgICAgIH1cXHJcXG4gICAgICAgICAgICB9KTtcXHJcXG4gICAgICAgICAgICBwaWNzID0gcGljcy5jb25jYXQocGRmYShodG1sX3RtcCwgXFxcIi5hY2duLXJlYWRlci1jaGFwdGVyX19pdGVtLWJveCYmaW1nXFxcIikubWFwKGggPT4gcGRmaChoLCBcXFwiaW1nJiZkYXRhLXNyY3x8c3JjXFxcIikpKTtcXHJcXG4gICAgICAgICAgICBpZiAoIS/kuIvkuIDp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AgICAgICAgICAgIGh0bWxVcmwucHVzaCh7XFxcXG4gICAgICAgICAgICAgICAgdXJsOiBpbnB1dC5yZXBsYWNlKFxcXFxcXFwiLmh0bWxcXFxcXFxcIiwgXFxcXFxcXCJfXFxcXFxcXCIgKyBwICsgXFxcXFxcXCIuaHRtbFxcXFxcXFwiKSxcXFxcbiAgICAgICAgICAgICAgICBvcHRpb25zOiB7XFxcXG4gICAgICAgICAgICAgICAgICAgIGhlYWRlcnM6IHtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgIFxcXFxcXFwiY29udGVudC10eXBlXFxcXFxcXCI6IFxcXFxcXFwiY2hhcnN0PXV0Zi04XFxcXFxcXCIsXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICBcXFxcXFxcIlVzZXItQWdlbnRcXFxcXFxcIjogTU9CSUxFX1VBXFxcXG4gICAgICAgICAgICAgICAgICAgIH1cXFxcbiAgICAgICAgICAgICAgICB9XFxcXG4gICAgICAgICAgICB9KVxcXFxuICAgICAgICB9IGVsc2Uge1xcXFxuICAgICAgICAgICAgaHRtbEFyci5wdXNoKGh0bWwpO1xcXFxuICAgICAgICAgICAgaHRtbFVybC5wdXNoKHtcXFxcbiAgICAgICAgICAgICAgICB1cmw6IGlucHV0LnJlcGxhY2UoXFxcXFxcXCIuaHRtbFxcXFxcXFwiLCBcXFxcXFxcIl9cXFxcXFxcIiArIHAgKyBcXFxcXFxcIi5odG1sXFxcXFxcXCIpLFxcXFxuICAgICAgICAgICAgICAgIG9wdGlvbnM6IHtcXFxcbiAgICAgICAgICAgICAgICAgICAgaGVhZGVyczoge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgXFxcXFxcXCJjb250ZW50LXR5cGVcXFxcXFxcIjogXFxcXFxcXCJjaGFyc3Q9dXRmLThcXFxcXFxcIixcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgIFxcXFxcXFwiVXNlci1BZ2VudFxcXFxcXFwiOiBNT0JJTEVfVUFcXFxcbiAgICAgICAg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