Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:二级页面详情¥page_detail¥风起洛阳@@eyJkYXRhIjoie1wiYXNzb2NpYXRlZE1vZGVsc01hcEZvckpvaW5UYWJsZVwiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhGS1wiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhvdXRGS1wiOnt9LFwiZmllbGRzVG9TZXRUb0RlZmF1bHRcIjpbXSxcImlkXCI6MCxcImxhc3RfY2hhcHRlcl9ydWxlXCI6XCJ2YXIgY2hwID0gW107XFxudHJ5IHtcXG4gICAgdmFyIGh0bWwgPSBKU09OLnBhcnNlKGdldFJlc0NvZGUoKSk7XFxuICAgIHZhciBjb250cyA9IGh0bWwuZGF0YS52b2RfcGxheV91cmwuc3BsaXQoJyQkJCcpO1xcbiAgICBmb3IgKHZhciBpID0gMDsgaSA8IGNvbnRzLmxlbmd0aDsgaSsrKSB7XFxuICAgICAgICB2YXIgbGlzdCA9IGNvbnRzW2ldLnNwbGl0KFxcXCIjXFxcIik7XFxuICAgICAgICBjaHAucHVzaChsaXN0Lmxlbmd0aCk7XFxuICAgIH1cXG59IGNhdGNoIChlKSB7fVxcbnNldFJlc3VsdCgn5pu05paw6IezOicgKyAoTWF0aC5tYXguYXBwbHkoTWF0aCwgY2hwKSkpO1wiLFwibGlzdFRvQ2xlYXJBc3NvY2lhdGVkRktcIjpbXSxcImxpc3RUb0NsZWFyU2VsZkZLXCI6W10sXCJwYWdlTGlzdFwiOltdLFwic2F2ZWRcIjpmYWxzZSxcInRpdGxlXCI6XCJDaGlBUFBcIixcInZlcnNpb25cIjowLFwidXJsXCI6XCJodHRwczovL2FwaS5jaGluZW5pLmNvbS9tb3ZpZXMvZ2V0TW92aWVzP2lkPTE0MDkxNlwiLFwiY29sX3R5cGVcIjpcIm1vdmllXzFcIixcImZpbmRfcnVsZVwiOlwianM6XFxudmFyIHJlcyA9I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AgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiBjdGl0LFxcbiAgICAgICAgICAgIHVybDogJChsaXN0W2pdLnNwbGl0KCckJylbMV0pLmxhenlSdWxlKCgpID0+IHtcXG4gICAgICAgICAgICAgICAgdmFyIHVybGwgPSBpbnB1dCxcXG4gICAgICAgICAgICAgICAgICAgIGRhbm11ID0gW107XFxuICAgICAgICAgICAgICAgIC8vcGFyd2l45by55bmV5o6l5Y+j5Luj56CBXFxuICAgICAgICAgICAgICAgIHRyeSB7XFxuICAgICAgICAgICAgICAgICAgICB2YXIganNvbiA9IEpTT04ucGFyc2UocmVxdWVzdChcXFwiaHR0cHM6Ly9qeC5wYXJ3aXguY29tOjQ0MzMvZG1rdS8/YWM9ZG0maWQ9XFxcIiArIG1kNSh1cmxsKS5zbGljZSgxMikgKyAnIFAnLCB7fSkpO1xcbiAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCBqc29uLmRhbm11a3UubGVuZ3RoOyBpKyspIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBkYW5tdS5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGV4dDoganNvbi5kYW5tdWt1W2ldWzRdLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aW1lOiBqc29uLmRhbm11a3VbaV1bMF1cXG4gICAgICAgICAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgICAgIH07XFxuICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHt9XFxuICAgICAgICAgICAgICAgIHdyaXRlRmlsZShcXFwiaGlrZXI6Ly9maWxlcy9jYWNoZS9kYW5tdS5qc29uXFxcIiwgSlNPTi5zdHJpbmdpZnkoZGFubXUpKTtcXG4gICAgICAgICAgICAgICAgLy/lvLnluZXku6PnoIHnu5PmnZ9cXG4gICAgICAgICAgICAgICAgaWYgKC8uaHRtbHwuYmlsaWJpbGkvLnRlc3QodXJsbCkpIHtcXG4gICAgICAgICAgICAgICAgICAgIHZhciBqaWVrID0gW3tcXG4gICAgICAgICAgICAgICAgICAgICAgICAndXJsJzogJ2h0dHA6Ly8xMzkuOS4xNDQuNTU6MzAwMi9qaWV4aUxpbmU/dXJsPScgKyB1cmxsICsgJyZsaW5lPWEnLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICd0YWJzJzogJ+e6v+i3r0EnXFxuICAgICAgICAgICAgICAgICAgICB9LCB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgJ3VybCc6ICdodHRwOi8vMTM5LjkuMTQ0LjU1OjMwMDIvamlleGlMaW5lP3VybD0nICsgdXJsbCArICcmbGluZT1iJyxcXG4gICAgICAgICAgICAgICAgICAgICAgICAndGFicyc6ICfnur/ot69CJ1xcbiAgICAgICAgICAgICAgICAgICAgfSwge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICd1cmwnOiAnaHR0cDovLzEzOS45LjE0NC41NTozMDAyL2ppZXhpTGluZT91cmw9JyArIHVybGwgKyAnJmxpbmU9YycsXFxuICAgICAgICAgICAgICAgICAgICAgICAgJ3RhYnMnOiAn57q/6LevQydcXG4gICAgICAgICAgICAgICAgICAgIH0sIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAndXJsJzogJ2h0dHA6Ly8xMzkuOS4xNDQuNTU6MzAwMi9qaWV4aT91cmw9JyArIHVybGwsXFxuICAgICAgICAgICAgICAgICAgICAgICAgJ3RhYnMnOiAn6buY6K6kJ1xcbiAgICAgICAgICAgICAgICAgICAgfSwge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICd1cmwnOiAnaHR0cHM6Ly9qc29uLnBhbmd1amlleGkuY29tOjEyMzQ1L2pzb24ucGhwP3VybD0nICsgdXJsbCxcXG4gICAgICAgICAgICAgICAgICAgICAgICAndGFicyc6ICfnm5jlj6QnXFxuICAgICAgICAgICAgICAgICAgICB9XTtcXG4gICAgICAgICAgICAgICAgICAgIC8vdmFyIGJmanNvbiA9IGJhdGNoRmV0Y2goamllayk7XFxuICAgICAgICAgICAgICAgICAgICAvL2xvZyhiZmpzb24pO1xcbiAgICAgICAgICAgICAgICAgICAgdmFyIG11bHQgPSBbXSxcXG4gICAgICAgICAgICAgICAgICAgICAgICBoZWFuID0gW10sXFxuICAgICAgICAgICAgICAgICAgICAgICAgdGFicyA9IFtdO1xcbiAgICAgICAgICAgICAgICAgICAgZm9yICh2YXIgaSA9IDA7IGkgPCBqaWVrLmxlbmd0aDsgaSsrKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgLy92YXIgaHRtbCA9IGJmanNvbltpXTtcXG4gICAgICAgICAgICAgICAgICAgICAgICB0cnkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgaHRtbCA9IGZldGNoKGppZWtbaV0udXJsLCB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aW1lb3V0OiAyMDAwXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaHRtbCA9IFxcXCJcXFwiO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoL2h0dHAvLnRlc3QoaHRtbCkpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKC9wYW5ndWppZXhpLy50ZXN0KGppZWtbaV0udXJsKSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHBsYXkgPSBKU09OLnBhcnNlKGh0bWwpLnVybDtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBwbGF5ID0gSlNPTi5wYXJzZShodG1sKS5kYXRhO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9O1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoL3RpdGFuXFxcXC5tZ3R2Ly50ZXN0KHBsYXkpKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgaGVhZCA9IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAnVXNlci1BZ2VudCc6ICdNb3ppbGxhLzUuMCcsXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ1JlZmVyZXInOiAnd3d3Lm1ndHYuY29tJ1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmICgvYmlsaXZpZGVvLy50ZXN0KHBsYXkpKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgaGVhZCA9IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAnVXNlci1BZ2VudCc6ICdNb3ppbGxhLzUuMCcsXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ1JlZmVyZXInOiAnaHR0cHM6Ly93d3cuYmlsaWJpbGkuY29tJ1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBoZWFkID0ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdVc2VyLUFnZW50JzogJ0xhdmYvNTguMTIuMTAwJyxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAnSWN5LU1ldGFEYXRhJzogJzEnXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9O1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBsYXkgPSBjYWNoZU0zdTgocGxheSwge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGVhZGVyczogaGVhZFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9LCAndmlkZW8nICsgW2ldICsgJy5tM3U4Jyk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG11bHQucHVzaChwbGF5KTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy9tdWx0LnB1c2goeyd1cmwnOnBsYXksJ29wdGlvbnMnOntoZWFkZXJzOmhlYWR9fSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhlYW4ucHVzaChoZWFkKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGFicy5wdXNoKGppZWtbaV0udGFicyk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgfTtcXG4gICAgICAgICAgICAgICAgICAgIC8vbG9nKG11bHQpO1xcblxcbiAgICAgICAgICAgICAgICAgICAgaWYgKG11bHQubGVuZ3RoID4gMCkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vdmFyIGJjbXBsYXkgPSBiYXRjaENhY2hlTTN1OChtdWx0KTtcXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gSlNPTi5zdHJpbmdpZnkoe1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1cmxzOiBtdWx0LFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvL3VybHM6IGJjbXBsYXksXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5hbWVzOiB0YWJzLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBkYW5tdTogXFxcImhpa2VyOi8vZmlsZXMvY2FjaGUvZGFubXUuanNvblxcXCIsXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhlYWRlcnM6IGhlYW5cXG4gICAgICAgICAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybGxcXG4gICAgICAgICAgICAgICAgICAgIH1cXG5cXG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBKU09OLnN0cmluZ2lmeSh7XFxuICAgICAgICAgICAgICAgICAgICAgICAgdXJsczogW3VybGxdLFxcbiAgICAgICAgICAgICAgICAgICAgICAgIGRhbm11OiBcXFwiaGlrZXI6Ly9maWxlcy9jYWNoZS9kYW5tdS5qc29uXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9KSxcXG4gICAgICAgICAgICBjb2xfdHlwZTogY2x0XFxuICAgICAgICB9KTtcXG4gICAgfVxcbn1cXG5cXG5yZXMuZGF0YSA9IGQ7XFxuc2V0SG9tZVJlc3VsdChyZXMpO1wiLFwiZ3JvdXBcIjpcIuKRoOi9u+WQiOmbhlwiLFwidWFcIjpcImF1dG9cIixcInByZVJ1bGVcIjpcIi8v5Luj55CGaHR0cHM6Ly9tb3ZpZS5zcHp5dy50b3BcXG4vL+ebtOmTvmh0dHBzOi8vYXBpLmNoaW5lbmkuY29tXFxuaWYgKCFnZXRJdGVtKCdsaW5rbW9kZScsICcnKSkge1xcbiAgICBzZXRJdGVtKCdsaW5rbW9kZScsICdodHRwczovL2FwaS5jaGluZW5pLmNvbScpO1xcbn1cIixcInBhZ2VzXCI6XCJbXVwifSIsInBpY1VybCI6Imh0dHBzOi8vbWdhLmNoaW5lbmkuY29tL3VwbG9hZC92b2QvMjAyMTEyMDEtMS9mMjkzNDdjMzMyMDAxNmM4ZjkxMzJlZjFiMzM2ZmY5OS5qcGdAUmVmZXJlcj0iLCJ0aXRsZSI6Iumjjui1t+a0m+mYsyJ9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement