Advertisement
xiaomianao666

邀您一起看:斗龙战士

Sep 24th, 2024
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:二级页面详情¥page_detail¥斗龙战士@@eyJkYXRhIjoie1wiYXNzb2NpYXRlZE1vZGVsc01hcEZvckpvaW5UYWJsZVwiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhGS1wiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhvdXRGS1wiOnt9LFwiZGlzcGxheU5hbWVcIjpcIuearuearuiZvuWKqOa8q1wiLFwiZmllbGRzVG9TZXRUb0RlZmF1bHRcIjpbXSxcImdtdE1vZGlmaWVkXCI6MCxcImlkXCI6MCxcImxhc3RfY2hhcHRlcl9ydWxlXCI6XCJcIixcImxpc3RUb0NsZWFyQXNzb2NpYXRlZEZLXCI6W10sXCJsaXN0VG9DbGVhclNlbGZGS1wiOltdLFwicGFnZUxpc3RcIjpbe1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcIuWHveaVsFwiLFwicGF0aFwiOlwiaGFuc2h1XCIsXCJydWxlXCI6XCJqczpcXG4vL+WTjeW6lOino+WvhuWHveaVsFxcbmV2YWwoZ2V0Q3J5cHRvSlMoKSlcXG5jb25zdCBrZXkgPSBDcnlwdG9KUy5lbmMuVXRmOC5wYXJzZShcXFwiYzA0ZmUyMjEwZGY5MmI3NVxcXCIpO1xcbmNvbnN0IGl2ID0gQ3J5cHRvSlMuZW5jLlV0ZjgucGFyc2UoXFxcImMwNGZlMjIxMGRmOTJiNzVcXFwiKTtcXG5cXG5mdW5jdGlvbiBEZWNyeXB0KHdvcmQpIHtcXG4gICAgbGV0IGRlY3J5cHQgPSBDcnlwdG9KUy5BRVMuZGVjcnlwdCh3b3JkLCBrZXksIHtcXG4gICAgICAgIGl2OiBpdixcXG4gICAgICAgIG1vZGU6IENyeXB0b0pTLm1vZGUuQ0JDLFxcbiAgICAgICA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ub0hpc3RvcnkjaGlrZXI6Ly9lbXB0eSdcXFwiO1xcbiAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICB0aXRsZTogZ2V0TXlWYXIodmFyaSwgJzAnKSA9PSBpID8gJ+KAnOKAnCcgKyB0YWJzW2ldICsgJ+KAneKAnScgOiB0YWJzW2ldLFxcbiAgICAgICAgICAgIHVybDogdXJsLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiAnZmxleF9idXR0b24nXFxuICAgICAgICB9KVxcbiAgICB9XFxufVxcblxcbmZ1bmN0aW9uIHNldExpc3RzKHZvZF9pZCwgcGFyc2VzLCBsaXN0cywgaW5kZXgpIHtcXG4gICAgdmFyIHBhcnNlID0gcGFyc2VzW2luZGV4XTtcXG4gICAgdmFyIGxpc3QgPSBsaXN0c1tpbmRleF07XFxuICAgIGlmIChnZXRWYXIoJ3Noc29ydCcpID09ICcxJykge1xcbiAgICAgICAgdmFyIGxpc3QgPSBsaXN0c1tpbmRleF0ucmV2ZXJzZSgpO1xcbiAgICB9XFxuICAgIGZvciAodmFyIGogaW4gbGlzdCkge1xcbiAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICB0aXRsZTogbGlzdFtqXS5uYW1lLFxcbiAgICAgICAgICAgIHVybDogJChsaXN0W2pdLnVybCkubGF6eVJ1bGUoKHZvZF9pZCwgcGFyc2UpID0+IHtcXG4gICAgICAgICAgICAgICAgLy9sb2cocGFyc2UpXFxuICAgICAgICAgICAgICAgIC8vbG9nKGlucHV0KVxcbiAgICAgICAgICAgICAgICB0cnkge1xcbiAgICAgICAgICAgICAgICAgICAgZXZhbChKU09OLnBhcnNlKHJlcXVlc3QoJ2hpa2VyOi8vcGFnZS9oYW5zaHUnKSkucnVsZSlcXG4gICAgICAgICAgICAgICAgICAgIHZhciB1cmwyID0gRW5jcnlwdChpbnB1dCk7IC8vbG9nKHVybDIpXFxuICAgICAgICAgICAgICAgICAgICB2YXIgaHRtbCA9IGZldGNoKCdodHRwOi8vZ2V0LmxlbmdhaS5sb3ZlL2FwaS5waHAvZ2V0YXBwYXBpLmluZGV4L3ZvZFBhcnNlJywge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGhlYWRlcnM6IHt9LFxcbiAgICAgICAgICAgICAgICAgICAgICAgIGJvZHk6IGBwYXJzZV9hcGk9JHtwYXJzZX0mdXJsPSR7RW5jcnlwdChpbnB1dCl9JnRva2VuPWAsXFxuICAgICAgICAgICAgICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCdcXG4gICAgICAgICAgICAgICAgICAgIH0pOyAvL2xvZyhodG1sKVxcbiAgICAgICAgICAgICAgICAgICAgdmFyIGh0bWwgPSBEZWNyeXB0KEpTT04ucGFyc2UoaHRtbCkuZGF0YSk7IGxvZyhodG1sKVxcbiAgICAgICAgICAgICAgICAgICAgdmFyIGh0bWwyID0gSlNPTi5wYXJzZShodG1sKS5qc29uOyAvL2xvZyhodG1sMilcXG4gICAgICAgICAgICAgICAgICAgIGlmICgvbTN1OHxtcDQvLnRlc3QoaW5wdXQpKSB7XFxuICAgICAgICAgICAgICAgICAgICB2YXIgdXJsID0gaW5wdXRcXG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoL05CWS8udGVzdChpbnB1dCkpIHtcXG4gICAgICAgICAgICAgICAgICAgIHZhciBwbGF5ID0gSlNPTi5wYXJzZShodG1sMikudXJsOyAvL2xvZyhwbGF5KVxcbiAgICAgICAgICAgICAgICAgICAgdmFyIHVybCA9IEpTT04ucGFyc2UoZmV0Y2gocGxheSx7b25seUhlYWRlcnM6dHJ1ZX0pKS51cmw7IC8vbG9nKHVybClcXG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICB2YXIgdXJsID0gSlNPTi5wYXJzZShodG1sMikudXJsOyAvL2xvZyh1cmwpXFxuICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICB2YXIgaHRtbCA9IGZldGNoKCdodHRwOi8vZ2V0LmxlbmdhaS5sb3ZlL2FwaS5waHAvZ2V0YXBwYXBpLmluZGV4L2Rhbm11TGlzdCcsIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBib2R5OiBgdXJsX3Bvc2l0aW9uPTAmdm9kX2lkPSR7dm9kX2lkfWAsXFxuICAgICAgICAgICAgICAgICAgICAgICAgbWV0aG9kOiAnUE9TVCdcXG4gICAgICAgICAgICAgICAgICAgIH0pOyAvL2xvZyhodG1sKVxcbiAgICAgICAgICAgICAgICAgICAgdmFyIGh0bWwxID0gRGVjcnlwdChKU09OLnBhcnNlKGh0bWwpLmRhdGEpOyAvL2xvZyhodG1sMSlcXG4gICAgICAgICAgICAgICAgICAgIHZhciBkbXVybCA9IEpTT04ucGFyc2UoaHRtbDEpLmRhbm11X3VybDsgLy9sb2coZG11cmwpXFxuICAgICAgICAgICAgICAgICAgICB2YXIgZG11cmwxID0gJ2h0dHBzOi8vZG0uamx6ai54eXovZG1rdS8/YWM9ZG0mdXJsPSYnICsgZG11cmw7IGxvZyhkbXVybDEpXFxuICAgICAgICAgICAgICAgICAgICBpZiAoL2h0bWwvLnRlc3QoZG11cmwxKSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGZldGNoRGFubXVEYXRhKGRtdXJsMSlcXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoL20zdTh8bXA0Ly50ZXN0KHVybCkpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIEpTT04uc3RyaW5naWZ5KHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVybHM6IFt1cmxdLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGFubXU6ICdoaWtlcjovL2ZpbGVzL2NhY2hlL2Rhbm11LnhtbCdcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSkgKyAnI2lzVmlkZW89dHJ1ZSMnXFxuICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICA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RlRmlsZSgnaGlrZXI6Ly9maWxlcy9jYWNoZS9kYW5tdS54bWwnLCBkYW5tdXN0cik7XFxcXG59XFxcXG5cXFwifV1cIn0iLCJwaWNVcmwiOiJodHRwczovL3BpYzcuaXFpeWlwaWMuY29tL2ltYWdlLzIwMjIxMDI3LzExLzkwL2FfMTAwNTIwOTIyX21fNjAxXzI2MF8zNjAuanBnIiwidGl0bGUiOiLmlpfpvpnmiJjlo6sifQ==
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement