Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:二级页面详情¥page_detail¥人间烟火花小厨@@eyJkYXRhIjoie1wiYXNzb2NpYXRlZE1vZGVsc01hcEZvckpvaW5UYWJsZVwiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhGS1wiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhvdXRGS1wiOnt9LFwiZmllbGRzVG9TZXRUb0RlZmF1bHRcIjpbXSxcImlkXCI6MCxcImxhc3RfY2hhcHRlcl9ydWxlXCI6XCJqczpcXG52YXIgY2hwID0gW107XFxudHJ5IHtcXG4gICAgdmFyIGh0bWwgPSBnZXRSZXNDb2RlKCk7XFxuICAgIHZhciBjb250cyA9IHBhcnNlRG9tRm9yQXJyYXkoaHRtbCwgJ2JvZHkmJi5tb2R1bGUtcGxheWVyLWxpc3Q6aGFzKC5tb2R1bGUtYmxvY2tsaXN0KScpO1xcbiAgICBmb3IgKHZhciBpID0gMDsgaSA8IGNvbnRzLmxlbmd0aDsgaSsrKSB7XFxuICAgICAgICB2YXIgbGlzdCA9IHBkZmEoY29udHNbaV0sICdib2R5JiYuc2Nyb2xsLWNvbnRlbnQmJmEnKTtcXG4gICAgICAgIGNocC5wdXNoKGxpc3QubGVuZ3RoKTtcXG4gICAgfVxcbn0gY2F0Y2ggKGUpIHt9XFxuc2V0UmVzdWx0KCfmm7TmlrDoh7M6JyArIChNYXRoLm1heC5hcHBseShudWxsLCBjaHApKSk7XCIsXCJsaXN0VG9DbGVhckFzc29jaWF0ZWRGS1wiOltdLFwibGlzdFRvQ2xlYXJTZWxmRktcIjpbXSxcInBhZ2VMaXN0XCI6W10sXCJzYXZlZFwiOmZhbHNlLFwidGl0bGVcIjpcIuaYn+epuuW9seinhnh5XCIsXCJ2ZXJzaW9uXCI6MCxcInVybFwiOlwiaHR0cDovL3d3dy54a3lzLnR2L01vdmllZGV0YWlsLzE0NzEyLmh0bWw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bGlzdCkge1xcbiAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICB0aXRsZTogcGFyc2VEb21Gb3JIdG1sKGxpc3Rbal0sIFxcXCJhJiZUZXh0XFxcIiksXFxuICAgICAgICAgICAgdXJsOiBwYXJzZURvbShsaXN0W2pdLCBcXFwiYSYmaHJlZlxcXCIpICsgbGF6eSxcXG4gICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICBpZDogcGFyc2VEb20obGlzdFtqXSwgXFxcImEmJmhyZWZcXFwiKVxcbiAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgY29sX3R5cGU6ICd0ZXh0XzMnXFxuICAgICAgICB9KTtcXG4gICAgfVxcbn07XFxuXFxuaWYgKHRhYnMubGVuZ3RoID4gMSAmJiBsaXN0bGVuLmxlbmd0aCA+IDEyKSB7XFxuICAgIHZhciB0aXRsZSA9ICd4a3lzJyArIHBhcnNlRG9tRm9ySHRtbChodG1sLCAnLnZpZGVvLWluZm8taGVhZGVyJiZoMSYmVGV4dCcpO1xcbiAgICAvL+WkhOeQhue6v+i3r+aYvuekulxcbiAgICBmb3IgKHZhciBpIGluIGNvbnRzKSB7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiAoZ2V0TXlWYXIodGl0bGUsICcwJykgPT0gaSA/ICfwn5GH8J+PuycgOiAnJykgKyBwYXJzZURvbUZvckh0bWwodGFic1tpXSwgJ2JvZHkmJlRleHQnKSxcXG4gICAgICAgICAgICB1cmw6IGBoaWtlcjovL2VtcHR5QGxhenlSdWxlPS5qczpwdXRNeVZhcignYCArIHRpdGxlICsgXFxcIicsICdcXFwiICsgaSArIGAnKTtyZWZyZXNoUGFnZSgpOyd0b2FzdDovL+WIh+aNouaIkOWKn++8gSdgLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiAnZmxleF9idXR0b24nXFxuICAgICAgICB9KTtcXG4gICAgfTtcXG4gICAgLy/liIblibLnur9cXG4gICAgZC5wdXNoKHtcXG4gICAgICAgIGNvbF90eXBlOiAnbGluZV9ibGFuaydcXG4gICAgfSk7XFxuXFxuICAgIC8v5byA5aeL5aSE55CG6YCJ6ZuG5pi+56S6XFxuICAgIHZhciBsaXN0ID0gcGFyc2VEb21Gb3JBcnJheShjb250c1tnZXRNeVZhcih0aXRsZSwgJzAnKV0sICdib2R5JiYuc2Nyb2xsLWNvbnRlbnQmJmEnKTtcXG4gICAgZHBzaChsaXN0KTtcXG59IGVsc2Uge1xcbiAgICBmb3IgKHZhciBpIGluIGNvbnRzKSB7XFxuICAgICAgICB2YXIgbGlzdCA9IHBhcnNlRG9tRm9yQXJyYXkoY29udHNbaV0sICdib2R5JiYuc2Nyb2xsLWNvbnRlbnQmJmEnKTtcXG4gICAgICAgIGlmIChsaXN0ICE9IG51bGwpIHtcXG4gICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICB0aXRsZTogcGFyc2VEb21Gb3JIdG1sKHRhYnNbaV0sIFxcXCJib2R5JiZUZXh0XFxcIiksXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF8xJ1xcbiAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgIGRwc2gobGlzdCk7XFxuICAgICAgICB9XFxuICAgIH1cXG59XFxuXFxuXFxuLy/kuoznuqfmqKHmnb9ieemmmembheaDhVxcbnJlcy5kYXRhID0gZDtcXG5zZXRIb21lUmVzdWx0KHJlcyk7XCIsXCJncm91cFwiOlwi4pGh5b2x5pCcXCIsXCJ1YVwiOlwibW9iaWxlXCIsXCJwcmVSdWxlXCI6XCJcIixcInBhZ2VzXCI6XCJbXVwifSIsInBpY1VybCI6Imh0dHA6Ly9yMS55a2ltZy5jb20vMDUxNjAwMDA1RTJFNDA1MTFCNzY5MTQ4MjkwMUY5RTkiLCJ0aXRsZSI6IuS6uumXtOeDn+eBq+iKseWwj+WOqCJ9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement