Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:二级页面详情¥page_detail¥尚食@@eyJkYXRhIjoie1wiYXNzb2NpYXRlZE1vZGVsc01hcEZvckpvaW5UYWJsZVwiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhGS1wiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhvdXRGS1wiOnt9LFwiZmllbGRzVG9TZXRUb0RlZmF1bHRcIjpbXSxcImlkXCI6MCxcImxhc3RfY2hhcHRlcl9ydWxlXCI6XCJ2YXIgY2hwID0gW107XFxudHJ5IHtcXG4gICAgdmFyIGh0bWwgPSBKU09OLnBhcnNlKGdldFJlc0NvZGUoKSk7XFxuICAgIHZhciBjb250cyA9IGh0bWwuZGF0YS52b2RfcGxheV91cmwuc3BsaXQoJyQkJCcpO1xcbiAgICBmb3IgKHZhciBpID0gMDsgaSA8IGNvbnRzLmxlbmd0aDsgaSsrKSB7XFxuICAgICAgICB2YXIgbGlzdCA9IGNvbnRzW2ldLnNwbGl0KFxcXCIjXFxcIik7XFxuICAgICAgICBjaHAucHVzaChsaXN0Lmxlbmd0aCk7XFxuICAgIH1cXG59IGNhdGNoIChlKSB7fVxcbnNldFJlc3VsdCgn5pu05paw6IezOicgKyAoTWF0aC5tYXguYXBwbHkoTWF0aCwgY2hwKSkpO1wiLFwibGlzdFRvQ2xlYXJBc3NvY2lhdGVkRktcIjpbXSxcImxpc3RUb0NsZWFyU2VsZkZLXCI6W10sXCJwYWdlTGlzdFwiOltdLFwic2F2ZWRcIjpmYWxzZSxcInRpdGxlXCI6XCJDaGlBUFAgXCIsXCJ2ZXJzaW9uXCI6MCxcInVybFwiOlwiaHR0cHM6Ly9hcGkuY2hpbmVuaS5jb20vbW92aWVzL2dldE1vdmllcz9pZD0xNTUxMjlcIixcImNvbF90eXBlXCI6XCJtb3ZpZV8xXCIsXCJmaW5kX3J1bGVcIjpcImpzOlxcbnZhciByZ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ICAgZC5wdXNoKHtcXG4gICAgICAgICAgICB0aXRsZTogY3RpdCxcXG4gICAgICAgICAgICB1cmw6ICQobGlzdFtqXS5zcGxpdCgnJCcpWzFdKS5sYXp5UnVsZSgoKSA9PiB7XFxuICAgICAgICAgICAgICAgIHZhciB1cmxsID0gaW5wdXQsXFxuICAgICAgICAgICAgICAgICAgICBkYW5tdSA9IFtdO1xcbiAgICAgICAgICAgICAgICAvL3BhcndpeOW8ueW5leaOpeWPo+S7o+eggVxcbiAgICAgICAgICAgICAgICB0cnkge1xcbiAgICAgICAgICAgICAgICAgICAgdmFyIGpzb24gPSBKU09OLnBhcnNlKHJlcXVlc3QoXFxcImh0dHBzOi8vangucGFyd2l4LmNvbTo0NDMzL2Rta3UvP2FjPWRtJmlkPVxcXCIgKyBtZDUodXJsbCkuc2xpY2UoMTIpICsgJyBQJywge30pKTtcXG4gICAgICAgICAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwganNvbi5kYW5tdWt1Lmxlbmd0aDsgaSsrKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgZGFubXUucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRleHQ6IGpzb24uZGFubXVrdVtpXVs0XSxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGltZToganNvbi5kYW5tdWt1W2ldWzBdXFxuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgICAgICAgICB9O1xcbiAgICAgICAgICAgICAgICB9IGNhdGNoIChlKSB7fVxcbiAgICAgICAgICAgICAgICB3cml0ZUZpbGUoXFxcImhpa2VyOi8vZmlsZXMvY2FjaGUvZGFubXUuanNvblxcXCIsIEpTT04uc3RyaW5naWZ5KGRhbm11KSk7XFxuICAgICAgICAgICAgICAgIC8v5by55bmV5Luj56CB57uT5p2fXFxuICAgICAgICAgICAgICAgIGlmICgvLmh0bWx8LmJpbGliaWxpLy50ZXN0KHVybGwpKSB7XFxuICAgICAgICAgICAgICAgICAgICB2YXIgamllayA9IFt7XFxuICAgICAgICAgICAgICAgICAgICAgICAgJ3VybCc6ICdodHRwOi8vMTM5LjkuMTQ0LjU1OjMwMDIvamlleGlMaW5lP3VybD0nICsgdXJsbCArICcmbGluZT1hJyxcXG4gICAgICAgICAgICAgICAgICAgICAgICAndGFicyc6ICfnur/ot69BJ1xcbiAgICAgICAgICAgICAgICAgICAgfSwge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICd1cmwnOiAnaHR0cDovLzEzOS45LjE0NC41NTozMDAyL2ppZXhpTGluZT91cmw9JyArIHVybGwgKyAnJmxpbmU9YicsXFxuICAgICAgICAgICAgICAgICAgICAgICAgJ3RhYnMnOiAn57q/6LevQidcXG4gICAgICAgICAgICAgICAgICAgIH0sIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAndXJsJzogJ2h0dHA6Ly8xMzkuOS4xNDQuNTU6MzAwMi9qaWV4aUxpbmU/dXJsPScgKyB1cmxsICsgJyZsaW5lPWMnLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICd0YWJzJzogJ+e6v+i3r0MnXFxuICAgICAgICAgICAgICAgICAgICB9LCB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgJ3VybCc6ICdodHRwOi8vMTM5LjkuMTQ0LjU1OjMwMDIvamlleGk/dXJsPScgKyB1cmxsLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICd0YWJzJzogJ+m7mOiupCdcXG4gICAgICAgICAgICAgICAgICAgIH0sIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAndXJsJzogJ2h0dHBzOi8vanNvbi5wYW5ndWppZXhpLmNvbToxMjM0NS9qc29uLnBocD91cmw9JyArIHVybGwsXFxuICAgICAgICAgICAgICAgICAgICAgICAgJ3RhYnMnOiAn55uY5Y+kJ1xcbiAgICAgICAgICAgICAgICAgICAgfV07XFxuICAgICAgICAgICAgICAgICAgICAvL3ZhciBiZmpzb24gPSBiYXRjaEZldGNoKGppZWspO1xcbiAgICAgICAgICAgICAgICAgICAgLy9sb2coYmZqc29uKTtcXG4gICAgICAgICAgICAgICAgICAgIHZhciBtdWx0ID0gW10sXFxuICAgICAgICAgICAgICAgICAgICAgICAgaGVhbiA9IFtdLFxcbiAgICAgICAgICAgICAgICAgICAgICAgIHRhYnMgPSBbXTtcXG4gICAgICAgICAgICAgICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgamllay5sZW5ndGg7IGkrKykge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vdmFyIGh0bWwgPSBiZmpzb25baV07XFxuICAgICAgICAgICAgICAgICAgICAgICAgdHJ5IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGh0bWwgPSBmZXRjaChqaWVrW2ldLnVybCwge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGltZW91dDogMjAwMFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgICAgICAgICB9IGNhdGNoIChlKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGh0bWwgPSBcXFwiXFxcIjtcXG4gICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKC9odHRwLy50ZXN0KGh0bWwpKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICgvcGFuZ3VqaWV4aS8udGVzdChqaWVrW2ldLnVybCkpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBwbGF5ID0gSlNPTi5wYXJzZShodG1sKS51cmw7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgcGxheSA9IEpTT04ucGFyc2UoaHRtbCkuZGF0YTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKC90aXRhblxcXFwubWd0di8udGVzdChwbGF5KSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGhlYWQgPSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ1VzZXItQWdlbnQnOiAnTW96aWxsYS81LjAnLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdSZWZlcmVyJzogJ3d3dy5tZ3R2LmNvbSdcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH07XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoL2JpbGl2aWRlby8udGVzdChwbGF5KSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGhlYWQgPSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ1VzZXItQWdlbnQnOiAnTW96aWxsYS81LjAnLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdSZWZlcmVyJzogJ2h0dHBzOi8vd3d3LmJpbGliaWxpLmNvbSdcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH07XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgaGVhZCA9IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAnVXNlci1BZ2VudCc6ICdMYXZmLzU4LjEyLjEwMCcsXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ0ljeS1NZXRhRGF0YSc6ICcxJ1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBwbGF5ID0gY2FjaGVNM3U4KHBsYXksIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhlYWRlcnM6IGhlYWRcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSwgJ3ZpZGVvJyArIFtpXSArICcubTN1OCcpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBtdWx0LnB1c2gocGxheSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vbXVsdC5wdXNoKHsndXJsJzpwbGF5LCdvcHRpb25zJzp7aGVhZGVyczpoZWFkfX0pO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBoZWFuLnB1c2goaGVhZCk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRhYnMucHVzaChqaWVrW2ldLnRhYnMpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgIH07XFxuICAgICAgICAgICAgICAgICAgICAvL2xvZyhtdWx0KTtcXG5cXG4gICAgICAgICAgICAgICAgICAgIGlmIChtdWx0Lmxlbmd0aCA+IDApIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAvL3ZhciBiY21wbGF5ID0gYmF0Y2hDYWNoZU0zdTgobXVsdCk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIEpTT04uc3RyaW5naWZ5KHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsczogbXVsdCxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy91cmxzOiBiY21wbGF5LFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBuYW1lczogdGFicyxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZGFubXU6IFxcXCJoaWtlcjovL2ZpbGVzL2NhY2hlL2Rhbm11Lmpzb25cXFwiLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBoZWFkZXJzOiBoZWFuXFxuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxsXFxuICAgICAgICAgICAgICAgICAgICB9XFxuXFxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gSlNPTi5zdHJpbmdpZnkoe1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHVybHM6IFt1cmxsXSxcXG4gICAgICAgICAgICAgICAgICAgICAgICBkYW5tdTogXFxcImhpa2VyOi8vZmlsZXMvY2FjaGUvZGFubXUuanNvblxcXCJcXG4gICAgICAgICAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfSksXFxuICAgICAgICAgICAgY29sX3R5cGU6IGNsdFxcbiAgICAgICAgfSk7XFxuICAgIH1cXG59XFxuXFxucmVzLmRhdGEgPSBkO1xcbnNldEhvbWVSZXN1bHQocmVzKTtcIixcImdyb3VwXCI6XCLikaAg5bi455SowrdcIixcInVhXCI6XCJhdXRvXCIsXCJwcmVSdWxlXCI6XCIvL+S7o+eQhmh0dHBzOi8vbW92aWUuc3B6eXcudG9wXFxuLy/nm7Tpk75odHRwczovL2FwaS5jaGluZW5pLmNvbVxcbmlmICghZ2V0SXRlbSgnbGlua21vZGUnLCAnJykpIHtcXG4gICAgc2V0SXRlbSgnbGlua21vZGUnLCAnaHR0cHM6Ly9hcGkuY2hpbmVuaS5jb20nKTtcXG59XCIsXCJwYWdlc1wiOlwiW11cIn0iLCJwaWNVcmwiOiJodHRwczovL21nYS5jaGluZW5pLmNvbS91cGxvYWQvdm9kLzIwMjIwMjIyLTEvODBkMmYwZjgzZWZiYWQxZjA5NDQyNWNiMzY2OTIxM2MuanBnQFJlZmVyZXI9IiwidGl0bGUiOiLlsJrpo58ifQ==
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement