Advertisement
xiaomianao666

邀您一起看:故事会

Apr 12th, 2022
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:二级页面详情¥page_detail¥故事会@@eyJkYXRhIjoie1wiYXNzb2NpYXRlZE1vZGVsc01hcEZvckpvaW5UYWJsZVwiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhGS1wiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhvdXRGS1wiOnt9LFwiZmllbGRzVG9TZXRUb0RlZmF1bHRcIjpbXSxcImlkXCI6MCxcImxhc3RfY2hhcHRlcl9ydWxlXCI6XCJcIixcImxpc3RUb0NsZWFyQXNzb2NpYXRlZEZLXCI6W10sXCJsaXN0VG9DbGVhclNlbGZGS1wiOltdLFwicGFnZUxpc3RcIjpbe1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcIuebruW9lVwiLFwicGF0aFwiOlwiY2F0YWxvZ3VlXCIsXCJydWxlXCI6XCJqczpcXG5ldmFsKEpTT04ucGFyc2UoZmV0Y2goXFxcImhpa2VyOi8vcGFnZS9nZXRIZWFkZXJzXFxcIikpLnJ1bGUpO1xcbmxldCByZWFkVGhlbWUgPSBnZXRJdGVtKCdyZWFkVGhlbWUnLCAnZmFsc2UnKSA9PSAndHJ1ZScgPyAnI3JlYWRUaGVtZSMnIDogJycsXFxuICAgIGZ1bGxUaGVtZSA9IGdldEl0ZW0oJ2Z1bGxUaGVtZScsICd0cnVlJykgPT0gJ3RydWUnID8gJyNmdWxsVGhlbWUjJyA6ICcnLFxcbiAgICB1cmwgPSBNWV9QQVJBTVMuaHJlZixcXG4gICAgZGF0YV9saXN0ID0gSlNPTi5wYXJzZShyZXF1ZXN0KHVybCwge1xcbiAgICAgICAgaGVhZGVyczogaGVhZGVyc1xcbiAgICB9KSkuZGF0YV9saXN0O1xcblxcbmxldCBkID0gW107XFxuZC5wdXNoKHtcXG4gICAgdGl0bG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gICAgICAgbGluZVZpc2libGU6IGZhbHNlXFxuICAgICAgICB9XFxuICAgIH0pXFxufVxcbmlmIChpbmRleCAhPSBzdGFyLmluZGV4KSB7XFxuICAgIGxldCB0aXRsZSA9IHN0YXJbaW5kZXggKyAxXTtcXG4gICAgbGV0IGhyZWYgPSBzdHJvZ2VbdGl0bGVdO1xcbiAgICBkLnB1c2goe1xcbiAgICAgICAgdGl0bGU6ICfkuIvkuIDnr4c6JyArIHRpdGxlLFxcbiAgICAgICAgY29sX3R5cGU6ICd0ZXh0X2NlbnRlcl8xJyxcXG4gICAgICAgIHVybDogJCgnaGlrZXI6Ly9lbXB0eSNub0xvYWRpbmcjJykubGF6eVJ1bGUoKGhyZWYsIHRpdGxlLCBpbmRleCkgPT4ge1xcbiAgICAgICAgICAgIHB1dFZhcigndGV4dGhyZWYnLCBocmVmKTtcXG4gICAgICAgICAgICBwdXRWYXIoJ3RleHR0aXRsZScsIHRpdGxlKTtcXG4gICAgICAgICAgICBwdXRWYXIoJ3RleHRpbmRleCcsIFN0cmluZyhpbmRleCArIDEpKTtcXG4gICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9lbXB0eSdcXG4gICAgICAgIH0sIGhyZWYsIHRpdGxlLCBpbmRleCksXFxuICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgIGhyZWY6IGhyZWYsXFxuICAgICAgICAgICAgbGluZVZpc2libGU6IGZhbHNlXFxuICAgICAgICB9XFxuICAgIH0pXFxufVxcbmZvciAobGV0IGkgPSAwOyBpIDwgMTA7IGkrKykge1xcbiAgICBkLnB1c2goe1xcbiAgICAgICAgY29sX3R5cGU6ICdibGFua19ibG9jaydcXG4gICAgfSlcXG59XFxuc2V0UmVzdWx0KGQpO1wifSx7XCJjb2xfdHlwZVwiOlwibW92aWVfM1wiLFwibmFtZVwiOlwi6K6+572u6aG1XCIsXCJwYXRoXCI6XCJzZXR0aW5nXCIsXCJydWx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0+IHtcXFxcbiAgICAgICAgc2V0SXRlbSgnaW5kZW50JywgU3RyaW5nKHMgLSAxKSk7XFxcXG4gICAgICAgIHJlZnJlc2hQYWdlKGZhbHNlKTtcXFxcbiAgICAgICAgcmV0dXJuIFxcXFxcXFwiaGlrZXI6Ly9lbXB0eVxcXFxcXFwiXFxcXG4gICAgfSwgaW5kZW50KVxcXFxufSlcXFxcblxcXFxuZC5wdXNoKHtcXFxcbiAgICBjb2xfdHlwZTogJ2xpbmUnXFxcXG59KVxcXFxuXFxcXG5kLnB1c2goe1xcXFxuICAgIHRpdGxlOiAn6aKE6KeIJy5iaWcoKSArICco5a2X5Y+3OicgKyBmb250c2l6ZSArICcs57yp6L+bOicgKyBpbmRlbnQgKyAnKScsXFxcXG4gICAgY29sX3R5cGU6ICdyaWNoX3RleHQnXFxcXG59LCB7XFxcXG4gICAgdGl0bGU6ICc8cD7lsI/mo4noooTluIXlkJc/PC9wPjxwPuWwj+ajieiihOaAjuS5iOi/meS5iOW4he+8nzwvcD48cD7lsI/mo4noooTnnJ/mmK/otoXotoXotoXotoXotoXotoXotoXotoXnuqfluIUhISEh5biF54K45LqG5aW95LiN5aW977yf5Li+5LiW6aKc5peg5Y+MISEhITwvcD4nLnJlcGxhY2UoL1xcXFxcXFxcPHBcXFxcXFxcXD4vZywgJzxwPicgKyBpbmRlbnRzKSxcXFxcbiAgICBjb2xfdHlwZTogJ3JpY2hfdGV4dCcsXFxcXG4gICAgZXh0cmE6IHtcXFxcbiAgICAgICAgdGV4dFNpemU6IGZvbnRzaXplXFxcXG4gICAgfVxcXFxufSlcXFxcbnNldFJlc3VsdChkKTtcXFwifV1cIn0iLCJwaWNVcmwiOiJodHRwOi8vMzYxaW1nLmlxaXBsYXkuY29tL2ltYWdlcy8yMDIyLzA0LzAzL2NucWtpbWFnZXNnc2h1Z3NodTIwMjIwNy1sLmpwZyIsInRpdGxlIjoi5pWF5LqL5LyaIn0=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement