Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:二级页面详情¥page_detail¥辐射@@eyJkYXRhIjoie1wiYXNzb2NpYXRlZE1vZGVsc01hcEZvckpvaW5UYWJsZVwiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhGS1wiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhvdXRGS1wiOnt9LFwiZmllbGRzVG9TZXRUb0RlZmF1bHRcIjpbXSxcImdtdE1vZGlmaWVkXCI6MCxcImlkXCI6MCxcImxhc3RfY2hhcHRlcl9ydWxlXCI6XCJcIixcImxpc3RUb0NsZWFyQXNzb2NpYXRlZEZLXCI6W10sXCJsaXN0VG9DbGVhclNlbGZGS1wiOltdLFwicGFnZUxpc3RcIjpbe1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcIuaQnOe0ouW7uuiurlwiLFwicGF0aFwiOlwic2VhcmNoSG9tZVwiLFwicnVsZVwiOlwiZnVuY3Rpb24g5pCc57Si5bu66K6uKGFyciwgcGljKSB7XFxuICAgIHZhciBydWxlX25hbWUgPSBNWV9SVUxFLnRpdGxlO1xcbiAgICB2YXIgaW1nID0gZ2V0SXRlbShydWxlX25hbWUgKyAn5bu66K6u5rW35oqlJyk7XFxuICAgIGlmKGltZz09J3VuZGVmaW5lZCcpIGltZz0naHR0cHM6Ly92a2NleXVndS5jZG4uYnNwYXBwLmNvbS9WS0NFWVVHVS04MDk1M2E3ZS03ODczLTQ4MDItOWNjMS1lYTU1OWU2OTI3OTkvZmVhZjg0YWQtNjI2Ny00ZGMxLWI3NDMtYTY3Mzg5ZWRkZjc1LmpwZyc7XFxuICAgIHZhciBuYW1lID0gZ2V0SXRlbShydWxlX25hbWUgKyAn5bu66K6u54mH5ZCNJyk7XFxuICAgIGlmIChwaWMgPT0gJ+a1t+aKpeW8gCcpIHtcXG4gICAgICAgIGFyci5wdXNoKHtcXG4gICAgICAgICAgICBpbWc6IGltZyxcXG4gICAgICAgICAgICBjb2xfdHlwZTogJ2NhcmRfcGljXzEnLFxcbiAgICAgICAgICAgIGV4dHJhOiB7XFxuICAgICAgICAgICAgICAgIGlkOiAnaW1nJ1xcbiAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgZGVzYzogXFxcIjBcXFwiLFxcbiAgICAgICAgICAgIHVybDogJ2hpa2VyOi8vc2VhcmNoP3M9JyArIG5hbWUgKyAnJnJ1bGU9JyArIHJ1bGVfbmFtZSxcXG4gICAgICAgIH0pXFxuICAgIH1cXG4gICAgYXJyLnB1c2goe1xcbiAgICAgICAgdXJsOiAnXFxcImhpa2VyOi8vc2VhcmNoP3M9XFxcIiArIGlucHV0ICsgXFxcIiZydWxlPVxcXCIrTVlfUlVMRS50aXRsZSAnLFxcbiAgICAgICAgZGVzYzogXFxcIuaQnOe0ouKAplxcXCIsXFxuICAgICAgICBjb2xfdHlwZTogXFxcImlucHV0XFxcIixcXG4gICAgICAgIGV4dHJhOiB7XFxuICAgICAgICAgICAgb25DaGFuZ2U6ICQudG9TdHJpbmcoKHJ1bGVfbmFtZSkgPT4ge1xcbiAgICAgICAgICAgICAgICBsZXQgc3VnID0gY29uZmlnLnN1ZyB8fCBbXTtcXG4gICAgICAgICAgICAgICAgZm9yIChsZXQgaSBpbiBzdWcpIHtcXG4gICAgICAgICAgICAgICAgICAgIGRlbGV0ZUl0ZW0oc3VnW2ldKTtcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICBpZiAoaW5wdXQgPT0gJycpIGRlbGV0ZUl0ZW1CeUNscyhcXFwiI3NcXFwiKTtcXG4gICAgICAgICAgICAgICAgaWYgKGlucHV0KSB7XFxuICAgICAgICAgICAgICAgICAgICBpZiAoaW5wdXQgPT0gJ+a4hemZpOaQnOe0ouiusOW9lScpIHdyaXRlRmlsZSgnaGlrZXI6Ly9maWxlcy9jYWNoZS/mkJzntKLorrDlvZUuanNvbicsICcnKTtcXG4gICAgICAgICAgICAgICAgICAgIGluaXRDb25maWcoe1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHN1ZzogW2lucHV0XVxcbiAgICAgICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgICAgICAgICBodHRwLmZldGNoKCdodHRwczovL3N1Z2dlc3QudmlkZW8uaXFpeWkuY29tLz9pZj1tb2JpbGUma2V5PScgKyBpbnB1dCwge30pLnN1Y2Nlc3MoZGF0YSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGdnID0gSlNPTi5wYXJzZShkYXRhKS5kYXRhO1xcbiAgICAgICAgICAgICAgICAgICAgICAgXFxuICAgICAgICAgICAgICAgICAgICAgICAgcHV0VmFyKCflu7rorq7mlbDmja4nLCBnZylcXG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIgZGQgPSBnZy5maW5kKChlKSA9PiAoZS5waWN0dXJlX3VybCkpXFxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGRkKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNldEl0ZW0ocnVsZV9uYW1lICsgJ+W7uuiurua1t+aKpScsIGRkLnBpY3R1cmVfdXJsKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzZXRJdGVtKHJ1bGVfbmFtZSArICflu7rorq7niYflkI0nLCBkZC5uYW1lKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvL2xvZyhkZC53b3JkKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1cGRhdGVJdGVtKCdpbWcnLCB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpbWc6IGRkLnBpY3R1cmVfdXJsLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiAnaGlrZXI6Ly9zZWFyY2g/cz0nICsgZGQubmFtZSArICcmcnVsZT0nICsgcnVsZV9uYW1lLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZXh0cmE6IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZDogJ2ltZydcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICB9KS5lcnJvcihtc2cgPT4gbG9nKG1zZy50b1N0cmluZygpKSkuc3RhcnQobG9nKDIpKVxcbiAgICAgICAgICAgICAgICAgICAgdmFyIGdnID0gSlNPTi5wYXJzZShnZXRWYXIoJ+W7uuiuruaVsOaNricpKTtcXG4gICAgICAgICAgICAgICAgICAgIGRlbGV0ZUl0ZW1CeUNscyhcXFwiI3NcXFwiKTtcXG4gICAgICAgICAgICAgICAgICAgIGZvciAobGV0IGkgaW4gZ2cpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIgbm4gPSBnZ1tpXS5uYW1lO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGFkZEl0ZW1BZnRlcihcXFwiMTJpbnB1dFxcXCIsIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6IG5uLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1cmw6ICQoXFxcIiNub0xvYWRpbmcjXFxcIikubGF6eVJ1bGUoKG5uLCBydWxlX25hbWUpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBsb2NhbERhdGEgPSByZXF1ZXN0KCdoaWtlcjovL2ZpbGVzL2NhY2hlL+aQnOe0ouiusOW9lS5qc29uJyk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWxvY2FsRGF0YSkgbG9jYWxEYXRhID0gXFxcIltdXFxcIjtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBsaXNoaSA9IEpTT04ucGFyc2UobG9jYWxEYXRhKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBjY2MgPSBsaXNoaS5pbmRleE9mKG5uKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjY2MgPiAtMSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxpc2hpLnNwbGljZShjY2MsIDEpXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9O1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGlzaGkucHVzaChubik7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsaXNoaSA9IGxpc2hpLnNsaWNlKC0kLmhpcyk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3cml0ZUZpbGUoJ2hpa2VyOi8vZmlsZXMvY2FjaGUv5pCc57Si6K6w5b2VLmpzb24nLCBKU09OLnN0cmluZ2lmeShsaXNoaSkpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL3NlYXJjaD9zPScgKyBubiArICcmcnVsZT0nICsgcnVsZV9uYW1lXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0sIG5uLCBydWxlX25hbWUpLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogXFxcInRleHRfMVxcXCIsXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGV4dHJhOiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZDogaW5wdXQsXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbHM6IFxcXCIjc1xcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xcbiAgICAgICAgICAgICAgICAgICAgLy/pu5jorqRcXG4gICAgICAgICAgICAgICAgICAgIGxldCBsb2NhbERhdGEgPSByZXF1ZXN0KCdoaWtlcjovL2ZpbGVzL2NhY2hlL+aQnOe0ouiusOW9lS5qc29uJyk7XFxuICAgICAgICAgICAgICAgICAgICBpZiAoIWxvY2FsRGF0YSkgbG9jYWxEYXRhID0gXFxcIltdXFxcIjtcXG4gICAgICAgICAgICAgICAgICAgIGxldCBsaXNoaSA9IEpTT04ucGFyc2UobG9jYWxEYXRhKS5zbGljZSgtJC5oaXMpO1xcbiAgICAgICAgICAgICAgICAgICAgY29uZmlnLnN1ZyA9IGxpc2hpO1xcbiAgICAgICAgICAgICAgICAgICAgaW5pdENvbmZpZyh7XFxuICAgICAgICAgICAgICAgICAgICAgICAgc3VnOiBjb25maWcuc3VnXFxuICAgICAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgICAgIFxcbiAgICAgICAgICAgICAgICAgICAgaWYoY29uZmlnLnN1Zy5sZW5ndGg+MClcXG4gICAgICAgICAgICAgICAgICAgIHtcXG4gICAgICAgICAgICAgICAgICAgIGFkZEl0ZW1BZnRlcihcXFwiMTJpbnB1dFxcXCIsIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICfmkJzntKLljoblj7LorrDlvZU6Jytjb25maWcuc3VnLmxlbmd0aCsn5p2hJyxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZGVzYzon54K55q2k5riF6Zmk5pCc57Si6K6w5b2VJyxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiAkKCfnoa7lrpropoHmuIXnqbrmkJzntKLorrDlvZXlkJfvvJ8nKS5jb25maXJtKCgpPT57XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3cml0ZUZpbGUoJ2hpa2VyOi8vZmlsZXMvY2FjaGUv5pCc57Si6K6w5b2VLmpzb24nLCAnJyk7XFxuICAgICAgICAgICAgICAgICAgICBpbml0Q29uZmlnKHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBzdWc6IFtdXFxuICAgICAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKClcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSksXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiBcXFwidGV4dF8xXFxcIixcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZXh0cmE6IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkOiAnaGlzJyxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsczogXFxcIiNzXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBpdCBvZiBjb25maWcuc3VnKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgYWRkSXRlbUFmdGVyKFxcXCIxMmlucHV0XFxcIiwge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogaXQsXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVybDogJ2hpa2VyOi8vc2VhcmNoP3M9JyArIGl0ICsgJyZydWxlPScgKyBydWxlX25hbWUsXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiBcXFwiZmxleF9idXR0b25cXFwiLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWQ6IGl0LFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xzOiBcXFwiI3NcXFwiXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgIFxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfSwgcnVs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luaXRDb25maWcoe1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgc3VnOiBbaW5wdXRdXFxcXG4gICAgICAgICAgICAgICAgICAgIH0pO1xcXFxuICAgICAgICAgICAgICAgICAgICBodHRwLmZldGNoKCdodHRwczovL3N1Z2dlc3QudmlkZW8uaXFpeWkuY29tLz9pZj1tb2JpbGUma2V5PScgKyBpbnB1dCwge30pLnN1Y2Nlc3MoZGF0YSA9PiB7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIgZ2cgPSBKU09OLnBhcnNlKGRhdGEpLmRhdGE7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgIFxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgcHV0VmFyKCflu7rorq7mlbDmja4nLCBnZylcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhciBkZCA9IGdnLmZpbmQoKGUpID0+IChlLnBpY3R1cmVfdXJsKSlcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChkZCkge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNldEl0ZW0ocnVsZV9uYW1lICsgJ+W7uuiurua1t+aKpScsIGRkLnBpY3R1cmVfdXJsKVxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNldEl0ZW0ocnVsZV9uYW1lICsgJ+W7uuiurueJh+WQjScsIGRkLm5hbWUpXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy9sb2coZGQud29yZClcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1cGRhdGVJdGVtKCdpbWcnLCB7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGltZzogZGQucGljdHVyZV91cmwsXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVybDogJ2hpa2VyOi8vc2VhcmNoP3M9JyArIGRkLm5hbWUgKyAnJnJ1bGU9JyArIHJ1bGVfbmFtZSxcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZXh0cmE6IHtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkOiAnaW1nJ1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSlcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cXFxcbiAgICAgICAgICAgICAgICAgICAgfSkuZXJyb3IobXNnID0+IGxvZyhtc2cudG9TdHJpbmcoKSkpLnN0YXJ0KGxvZygyKSlcXFxcbiAgICAgICAgICAgICAgICAgICAgdmFyIGdnID0gSlNPTi5wYXJzZShnZXRWYXIoJ+W7uuiuruaVsOaNricpKTtcXFxcbiAgICAgICAgICAgICAgICAgICAgZGVsZXRlSXRlbUJ5Q2xzKFxcXFxcXFwiI3NcXFxcXFxcIik7XFxcXG4gICAgICAgICAgICAgICAgICAgIGZvciAobGV0IGkgaW4gZ2cpIHtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhciBubiA9IGdnW2ldLm5hbWU7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICBhZGRJdGVtQWZ0ZXIoXFxcXFxcXCIxMmlucHV0XFxcXFxcXCIsIHtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogbm4sXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiAkKFxcXFxcXFwiI25vTG9hZGluZyNcXFxcXFxcIikubGF6eVJ1bGUoKG5uLCBydWxlX25hbWUpID0+IHtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGxvY2FsRGF0YSA9IHJlcXVlc3QoJ2hpa2VyOi8vZmlsZXMvY2FjaGUv5pCc57Si6K6w5b2VLmpzb24nKTtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFsb2NhbERhdGEpIGxvY2FsRGF0YSA9IFxcXFxcXFwiW11cXFxcXFxcIjtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IGxpc2hpID0gSlNPTi5wYXJzZShsb2NhbERhdGEpO1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgY2NjID0gbGlzaGkuaW5kZXhPZihubik7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjY2MgPiAtMSkge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGlzaGkuc3BsaWNlKGNjYywgMSlcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfTtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGlzaGkucHVzaChubik7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxpc2hpID0gbGlzaGkuc2xpY2UoLSQuaGlzKTtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd3JpdGVGaWxlKCdoaWtlcjovL2ZpbGVzL2NhY2hlL+aQnOe0ouiusOW9lS5qc29uJywgSlNPTi5zdHJpbmdpZnkobGlzaGkpKTtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL3NlYXJjaD9zPScgKyBubiArICcmcnVsZT0nICsgcnVsZV9uYW1lXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSwgbm4sIHJ1bGVfbmFtZSksXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6IFxcXFxcXFwidGV4dF8xXFxcXFxcXCIsXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZXh0cmE6IHtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWQ6IGlucHV0LFxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbHM6IFxcXFxcXFwiI3NcXFxcXFxcIlxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXFxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xcXFxuICAgICAgICAgICAgICAgICAgICB9XFxcXG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcXFxcbiAgICAgICAgICAgICAgICAgICAgLy/pu5jorqRcXFxcbiAgICAgICAgICAgICAgICAgICAgbGV0IGxvY2FsRGF0YSA9IHJlcXVlc3QoJ2hpa2VyOi8vZmlsZXMvY2FjaGUv5pCc57Si6K6w5b2VLmpzb24nKTtcXFxcbiAgICAgICAgICAgICAgICAgICAgaWYgKCFsb2NhbERhdGEpIGxvY2FsRGF0YSA9IFxcXFxcXFwiW11cXFxcXFxcIjtcXFxcbiAgICAgICAgICAgICAgICAgICAgbGV0IGxpc2hpID0gSlNPTi5wYXJzZShsb2NhbERhdGEpLnNsaWNlKC0kLmhpcyk7XFxcXG4gICAgICAgICAgICAgICAgICAgIGNvbmZpZy5zdWcgPSBsaXNoaTtcXFxcbiAgICAgICAgICAgICAgICAgICAgaW5pdENvbmZpZyh7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICBzdWc6IGNvbmZpZy5zdWdcXFxcbiAgICAgICAgICAgICAgICAgICAgfSk7XFxcXG4gICAgICAgICAgICAgICAgICAgIFxcXFxuICAgICAgICAgICAgICAgICAgICBpZihjb25maWcuc3VnLmxlbmd0aD4wKVxcXFxuICAgICAgICAgICAgICAgICAgICB7XFxcXG4gICAgICAgICAgICAgICAgICAgIGFkZEl0ZW1BZnRlcihcXFxcXFxcIjEyaW5wdXRcXFxcXFxcIiwge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiAn5pCc57Si5Y6G5Y+y6K6w5b2VOicrY29uZmlnLnN1Zy5sZW5ndGgrJ+adoScsXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZGVzYzon54K55q2k5riF6Zmk5pCc57Si6K6w5b2VJyxcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1cmw6ICQoJ+ehruWumuimgea4heepuuaQnOe0ouiusOW9leWQl++8nycpLmNvbmZpcm0oKCk9PntcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd3JpdGVGaWxlKCdoaWtlcjovL2ZpbGVzL2NhY2hlL+aQnOe0ouiusOW9lS5qc29uJywgJycpO1xcXFxuICAgICAgICAgICAgICAgICAgICBpbml0Q29uZmlnKHtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgIHN1ZzogW11cXFxcbiAgICAgICAgICAgICAgICAgICAgfSk7XFxcXG4gICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKClcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KSxcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogXFxcXFxcXCJ0ZXh0XzFcXFxcXFxcIixcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBleHRyYToge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZDogJ2hpcycsXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsczogXFxcXFxcXCIjc1xcXFxcXFwiXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XFxcXG4gICAgICAgICAgICAgICAgICAgIH1cXFxcbiAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgaXQgb2YgY29uZmlnLnN1Zykge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgYWRkSXRlbUFmdGVyKFxcXFxcXFwiMTJpbnB1dFxcXFxcXFwiLCB7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6IGl0LFxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVybDogJ2hpa2VyOi8vc2VhcmNoP3M9JyArIGl0ICsgJyZydWxlPScgKyBydWxlX25hbWUsXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6IFxcXFxcXFwiZmxleF9idXR0b25cXFxcXFxcIixcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBleHRyYToge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZDogaXQsXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsczogXFxcXFxcXCIjc1xcXFxcXFwiXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XFxcXG4gICAgICAgICAgICAgICAgICAgIH1cXFxcbiAgICAgICAgICAgICAgICAgICAgXFxcXG4gICAgICAgICAgICAgICAgfVxcXFxuICAgICAgICAgICAgfSwgcnVsZV9uYW1lKSxcXFxcbiAgICAgICAgICAgIHRpdGxlVmlzaWJsZTogZmFsc2UsXFxcXG4gICAgICAgICAgICBpZDogXFxcXFxcXCIxMmlucHV0XFxcXFxcXCJcXFxcbiAgICAgICAgfVxcXFxuICAgIH0pO1xcXFxuICAgIGZvciAobGV0IGkgPSAwOyBpIDwgMjsgaSsrKSB7XFxcXG4gICAgICAgIGFyci5wdXNoKHtcXFxcbiAgICAgICAgICAgIGNvbF90eXBlOiBcXFxcXFxcImJsYW5rX2Jsb2NrXFxcXFxcXCJcXFxcbiAgICAgICAgfSlcXFxcbiAgICB9XFxcXG4gICAgLy9zZXRSZXN1bHQoZClcXFxcbn1cXFxcbiQuZXhwb3J0cz17XFxcXG4gICAg5pCc57Si5bu66K6uXFxcXG59XFxcXG4vL+aQnOe0ouW7uuiurihkLCAn5rW35oql5byAJylcXFwifV1cIn0iLCJwaWNVcmwiOiJodHRwczovL2ltZy5keWltZy54eXovNDhjZmQ2MzIxZTkxYTU2YWJhNGZhNzE5MDFiOTg3ZDZAUmVmZXJlcj0iLCJ0aXRsZSI6Iui+kOWwhCJ9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement