Advertisement
xiaomianao666

邀您一起看:墨雨云间

Jun 11th, 2024
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:二级页面详情¥page_detail¥墨雨云间@@eyJkYXRhIjoie1wiYXNzb2NpYXRlZE1vZGVsc01hcEZvckpvaW5UYWJsZVwiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhGS1wiOnt9LFwiYXNzb2NpYXRlZE1vZGVsc01hcFdpdGhvdXRGS1wiOnt9LFwiZmllbGRzVG9TZXRUb0RlZmF1bHRcIjpbXSxcImdtdE1vZGlmaWVkXCI6MCxcImlkXCI6MCxcImxhc3RfY2hhcHRlcl9ydWxlXCI6XCJcIixcImxpc3RUb0NsZWFyQXNzb2NpYXRlZEZLXCI6W10sXCJsaXN0VG9DbGVhclNlbGZGS1wiOltdLFwicGFnZUxpc3RcIjpbe1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm5hbWVcIjpcIuaQnOe0ouW7uuiurlwiLFwicGF0aFwiOlwic2VhcmNoSG9tZVwiLFwicnVsZVwiOlwiZnVuY3Rpb24g5pCc57Si5bu66K6uKGFyciwgcGljKSB7XFxuICAgIHZhciBydWxlX25hbWUgPSBNWV9SVUxFLnRpdGxlO1xcbiAgICB2YXIgaW1nID0gZ2V0SXRlbShydWxlX25hbWUgKyAn5bu66K6u5rW35oqlJyk7XFxuICAgIGlmKGltZz09J3VuZGVmaW5lZCcpIGltZz0naHR0cHM6Ly92a2NleXVndS5jZG4uYnNwYXBwLmNvbS9WS0NFWVVHVS04MDk1M2E3ZS03ODczLTQ4MDItOWNjMS1lYTU1OWU2OTI3OTkvZmVhZjg0YWQtNjI2Ny00ZGMxLWI3NDMtYTY3Mzg5ZWRkZjc1LmpwZyc7XFxuICAgIHZhciBuYW1lID0gZ2V0SXRlbShydWxlX25hbWUgKyAn5bu66K6u54mH5ZCNJyk7XFxuICAgIGlmIChwaWMgPT0gJ+a1t+aKpeW8gC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YWNoZS/mkJzntKLorrDlvZUuanNvbicsICcnKTtcXG4gICAgICAgICAgICAgICAgICAgIGluaXRDb25maWcoe1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHN1ZzogW2lucHV0XVxcbiAgICAgICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgICAgICAgICBodHRwLmZldGNoKCdodHRwczovL3N1Z2dlc3QudmlkZW8uaXFpeWkuY29tLz9pZj1tb2JpbGUma2V5PScgKyBpbnB1dCwge30pLnN1Y2Nlc3MoZGF0YSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGdnID0gSlNPTi5wYXJzZShkYXRhKS5kYXRhO1xcbiAgICAgICAgICAgICAgICAgICAgICAgXFxuICAgICAgICAgICAgICAgICAgICAgICAgcHV0VmFyKCflu7rorq7mlbDmja4nLCBnZylcXG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIgZGQgPSBnZy5maW5kKChlKSA9PiAoZS5waWN0dXJlX3VybCkpXFxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGRkKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNldEl0ZW0ocnVsZV9uYW1lICsgJ+W7uuiurua1t+aKpScsIGRkLnBpY3R1cmVfdXJsKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzZXRJdGVtKHJ1bGVfbmFtZSArICflu7rorq7niYflkI0nLCBkZC5uYW1lKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvL2xvZyhkZC53b3JkKVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1cGRhdGVJdGVtKCdpbWcnLCB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpbWc6IGRkLnBpY3R1cmVfdXJsLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiAnaGlrZXI6Ly9zZWFyY2g/cz0nICsgZGQubmFtZSArICcmcnVsZT0nICsgcnVsZV9uYW1lLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZXh0cmE6IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZDogJ2ltZydcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICB9KS5lcnJvcihtc2cgPT4gbG9nKG1zZy50b1N0cmluZygpKSkuc3RhcnQobG9nKDIpKVxcbiAgICAgICAgICAgICAgICAgICAgdmFyIGdnID0gSlNPTi5wYXJzZShnZXRWYXIoJ+W7uuiuruaVsOaNricpKTtcXG4gICAgICAgICAgICAgICAgICAgIGRlbGV0ZUl0ZW1CeUNscyhcXFwiI3NcXFwiKTtcXG4gICAgICAgICAgICAgICAgICAgIGZvciAobGV0IGkgaW4gZ2cpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIgbm4gPSBnZ1tpXS5uYW1lO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGFkZEl0ZW1BZnRlcihcXFwiMTJpbnB1dFxcXCIsIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6IG5uLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1cmw6ICQoXFxcIiNub0xvYWRpbmcjXFxcIikubGF6eVJ1bGUoKG5uLCBydWxlX25hbWUpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBsb2NhbERhdGEgPSByZXF1ZXN0KCdoaWtlcjovL2ZpbGVzL2NhY2hlL+aQnOe0ouiusOW9lS5qc29uJyk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWxvY2FsRGF0YSkgbG9jYWxEYXRhID0gXFxcIltdXFxcIjtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBsaXNoaSA9IEpTT04ucGFyc2UobG9jYWxEYXRhKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBjY2MgPSBsaXNoaS5pbmRleE9mKG5uKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChjY2MgPiAtMSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxpc2hpLnNwbGljZShjY2MsIDEpXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9O1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGlzaGkucHVzaChubik7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsaXNoaSA9IGxpc2hpLnNsaWNlKC0kLmhpcyk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3cml0ZUZpbGUoJ2hpa2VyOi8vZmlsZXMvY2FjaGUv5pCc57Si6K6w5b2VLmpzb24nLCBKU09OLnN0cmluZ2lmeShsaXNoaSkpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL3NlYXJjaD9zPScgKyBubiArICcmcnVsZT0nICsgcnVsZV9uYW1lXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0sIG5uLCBydWxlX25hbWUpLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogXFxcInRleHRfMVxcXCIsXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGV4dHJhOiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZDogaW5wdXQsXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbHM6IFxcXCIjc1xcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xcbiAgICAgICAgICAgICAgICAgICAgLy/pu5jorqRcXG4gICAgICAgICAgICAgICAgICAgIGxldCBsb2NhbERhdGEgPSByZXF1ZXN0KCdoaWtlcjovL2ZpbGVzL2NhY2hlL+aQnOe0ouiusOW9lS5qc29uJyk7XFxuICAgICAgICAgICAgICAgICAgICBpZiAoIWxvY2FsRGF0YSkgbG9jYWxEYXRhID0gXFxcIltdXFxcIjtcXG4gICAgICAgICAgICAgICAgICAgIGxldCBsaXNoaSA9IEpTT04ucGFyc2UobG9jYWxEYXRhKS5zbGljZSgtJC5oaXMpO1xcbiAgICAgICAgICAgICAgICAgICAgY29uZmlnLnN1ZyA9IGxpc2hpO1xcbiAgICAgICAgICAgICAgICAgICAgaW5pdENvbmZpZyh7XFxuICAgICAgICAgICAgICAgICAgICAgICAgc3VnOiBjb25maWcuc3VnXFxuICAgICAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgICAgIFxcbiAgICAgICAgICAgICAgICAgICAgaWYoY29uZmlnLnN1Zy5sZW5ndGg+MClcXG4gICAgICAgICAgICAgICAgICAgIHtcXG4gICAgICAgICAgICAgICAgICAgIGFkZEl0ZW1BZnRlcihcXFwiMTJpbnB1dFxcXCIsIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICfmkJzntKLljoblj7LorrDlvZU6Jytjb25maWcuc3VnLmxlbmd0aCsn5p2hJyxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZGVzYzon54K55q2k5riF6Zmk5pCc57Si6K6w5b2VJyxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiAkKCfnoa7lrpropoHmuIXnqbrmkJzntKLorrDlvZXlkJfvvJ8nKS5jb25maXJtKCgpPT57XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3cml0ZUZpbGUoJ2hpa2VyOi8vZmlsZXMvY2FjaGUv5pCc57Si6K6w5b2VLmpzb24nLCAnJyk7XFxuICAgICAgICAgICAgICAgICAgICBpbml0Q29uZmlnKHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBzdWc6IFtdXFxuICAgICAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKClcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSksXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiBcXFwidGV4dF8xXFxcIixcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZXh0cmE6IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkOiAnaGlzJyxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsczogXFxcIiNzXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBpdCBvZiBjb25maWcuc3VnKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgYWRkSXRlbUFmdGVyKFxcXCIxMmlucHV0XFxcIiwge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogaXQsXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVybDogJ2hpa2VyOi8vc2VhcmNoP3M9JyArIGl0ICsgJyZydWxlPScgKyBydWxlX25hbWUsXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiBcXFwiZmxleF9idXR0b25cXFwiLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWQ6IGl0LFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xzOiBcXFwiI3NcXFwiXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgIFxc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cXFxcbiAgICAgICAgICAgICAgICAgICAgaW5pdENvbmZpZyh7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICBzdWc6IFtpbnB1dF1cXFxcbiAgICAgICAgICAgICAgICAgICAgfSk7XFxcXG4gICAgICAgICAgICAgICAgICAgIGh0dHAuZmV0Y2goJ2h0dHBzOi8vc3VnZ2VzdC52aWRlby5pcWl5aS5jb20vP2lmPW1vYmlsZSZrZXk9JyArIGlucHV0LCB7fSkuc3VjY2VzcyhkYXRhID0+IHtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhciBnZyA9IEpTT04ucGFyc2UoZGF0YSkuZGF0YTtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRWYXIoJ+W7uuiuruaVsOaNricsIGdnKVxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGRkID0gZ2cuZmluZCgoZSkgPT4gKGUucGljdHVyZV91cmwpKVxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGRkKSB7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc2V0SXRlbShydWxlX25hbWUgKyAn5bu66K6u5rW35oqlJywgZGQucGljdHVyZV91cmwpXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc2V0SXRlbShydWxlX25hbWUgKyAn5bu66K6u54mH5ZCNJywgZGQubmFtZSlcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvL2xvZyhkZC53b3JkKVxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVwZGF0ZUl0ZW0oJ2ltZycsIHtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaW1nOiBkZC5waWN0dXJlX3VybCxcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiAnaGlrZXI6Ly9zZWFyY2g/cz0nICsgZGQubmFtZSArICcmcnVsZT0nICsgcnVsZV9uYW1lLFxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBleHRyYToge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWQ6ICdpbWcnXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KVxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgfVxcXFxuICAgICAgICAgICAgICAgICAgICB9KS5lcnJvcihtc2cgPT4gbG9nKG1zZy50b1N0cmluZygpKSkuc3RhcnQobG9nKDIpKVxcXFxuICAgICAgICAgICAgICAgICAgICB2YXIgZ2cgPSBKU09OLnBhcnNlKGdldFZhcign5bu66K6u5pWw5o2uJykpO1xcXFxuICAgICAgICAgICAgICAgICAgICBkZWxldGVJdGVtQnlDbHMoXFxcXFxcXCIjc1xcXFxcXFwiKTtcXFxcbiAgICAgICAgICAgICAgICAgICAgZm9yIChsZXQgaSBpbiBnZykge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgdmFyIG5uID0gZ2dbaV0ubmFtZTtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgIGFkZEl0ZW1BZnRlcihcXFxcXFxcIjEyaW5wdXRcXFxcXFxcIiwge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiBubixcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1cmw6ICQoXFxcXFxcXCIjbm9Mb2FkaW5nI1xcXFxcXFwiKS5sYXp5UnVsZSgobm4sIHJ1bGVfbmFtZSkgPT4ge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgbG9jYWxEYXRhID0gcmVxdWVzdCgnaGlrZXI6Ly9maWxlcy9jYWNoZS/mkJzntKLorrDlvZUuanNvbicpO1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWxvY2FsRGF0YSkgbG9jYWxEYXRhID0gXFxcXFxcXCJbXVxcXFxcXFwiO1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgbGlzaGkgPSBKU09OLnBhcnNlKGxvY2FsRGF0YSk7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCBjY2MgPSBsaXNoaS5pbmRleE9mKG5uKTtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGNjYyA+IC0xKSB7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsaXNoaS5zcGxpY2UoY2NjLCAxKVxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9O1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsaXNoaS5wdXNoKG5uKTtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGlzaGkgPSBsaXNoaS5zbGljZSgtJC5oaXMpO1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3cml0ZUZpbGUoJ2hpa2VyOi8vZmlsZXMvY2FjaGUv5pCc57Si6K6w5b2VLmpzb24nLCBKU09OLnN0cmluZ2lmeShsaXNoaSkpO1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vc2VhcmNoP3M9JyArIG5uICsgJyZydWxlPScgKyBydWxlX25hbWVcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9LCBubiwgcnVsZV9uYW1lKSxcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogXFxcXFxcXCJ0ZXh0XzFcXFxcXFxcIixcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBleHRyYToge1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZDogaW5wdXQsXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsczogXFxcXFxcXCIjc1xcXFxcXFwiXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XFxcXG4gICAgICAgICAgICAgICAgICAgIH1cXFxcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xcXFxuICAgICAgICAgICAgICAgICAgICAvL+m7mOiupFxcXFxuICAgICAgICAgICAgICAgICAgICBsZXQgbG9jYWxEYXRhID0gcmVxdWVzdCgnaGlrZXI6Ly9maWxlcy9jYWNoZS/mkJzntKLorrDlvZUuanNvbicpO1xcXFxuICAgICAgICAgICAgICAgICAgICBpZiAoIWxvY2FsRGF0YSkgbG9jYWxEYXRhID0gXFxcXFxcXCJbXVxcXFxcXFwiO1xcXFxuICAgICAgICAgICAgICAgICAgICBsZXQgbGlzaGkgPSBKU09OLnBhcnNlKGxvY2FsRGF0YSkuc2xpY2UoLSQuaGlzKTtcXFxcbiAgICAgICAgICAgICAgICAgICAgY29uZmlnLnN1ZyA9IGxpc2hpO1xcXFxuICAgICAgICAgICAgICAgICAgICBpbml0Q29uZmlnKHtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgIHN1ZzogY29uZmlnLnN1Z1xcXFxuICAgICAgICAgICAgICAgICAgICB9KTtcXFxcbiAgICAgICAgICAgICAgICAgICAgXFxcXG4gICAgICAgICAgICAgICAgICAgIGlmKGNvbmZpZy5zdWcubGVuZ3RoPjApXFxcXG4gICAgICAgICAgICAgICAgICAgIHtcXFxcbiAgICAgICAgICAgICAgICAgICAgYWRkSXRlbUFmdGVyKFxcXFxcXFwiMTJpbnB1dFxcXFxcXFwiLCB7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICfmkJzntKLljoblj7LorrDlvZU6Jytjb25maWcuc3VnLmxlbmd0aCsn5p2hJyxcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBkZXNjOifngrnmraTmuIXpmaTmkJzntKLorrDlvZUnLFxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVybDogJCgn56Gu5a6a6KaB5riF56m65pCc57Si6K6w5b2V5ZCX77yfJykuY29uZmlybSgoKT0+e1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3cml0ZUZpbGUoJ2hpa2VyOi8vZmlsZXMvY2FjaGUv5pCc57Si6K6w5b2VLmpzb24nLCAnJyk7XFxcXG4gICAgICAgICAgICAgICAgICAgIGluaXRDb25maWcoe1xcXFxuICAgICAgICAgICAgICAgICAgICAgICAgc3VnOiBbXVxcXFxuICAgICAgICAgICAgICAgICAgICB9KTtcXFxcbiAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoKVxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pLFxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiBcXFxcXFxcInRleHRfMVxcXFxcXFwiLFxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGV4dHJhOiB7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkOiAnaGlzJyxcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xzOiBcXFxcXFxcIiNzXFxcXFxcXCJcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICB9KTtcXFxcbiAgICAgICAgICAgICAgICAgICAgfVxcXFxuICAgICAgICAgICAgICAgICAgICBmb3IgKGxldCBpdCBvZiBjb25maWcuc3VnKSB7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICBhZGRJdGVtQWZ0ZXIoXFxcXFxcXCIxMmlucHV0XFxcXFxcXCIsIHtcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogaXQsXFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiAnaGlrZXI6Ly9zZWFyY2g/cz0nICsgaXQgKyAnJnJ1bGU9JyArIHJ1bGVfbmFtZSxcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogXFxcXFxcXCJmbGV4X2J1dHRvblxcXFxcXFwiLFxcXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGV4dHJhOiB7XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkOiBpdCxcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xzOiBcXFxcXFxcIiNzXFxcXFxcXCJcXFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxcXG4gICAgICAgICAgICAgICAgICAgICAgICB9KTtcXFxcbiAgICAgICAgICAgICAgICAgICAgfVxcXFxuICAgICAgICAgICAgICAgICAgICBcXFxcbiAgICAgICAgICAgICAgICB9XFxcXG4gICAgICAgICAgICB9LCBydWxlX25hbWUpLFxcXFxuICAgICAgICAgICAgdGl0bGVWaXNpYmxlOiBmYWxzZSxcXFxcbiAgICAgICAgICAgIGlkOiBcXFxcXFxcIjEyaW5wdXRcXFxcXFxcIlxcXFxuICAgICAgICB9XFxcXG4gICAgfSk7XFxcXG4gICAgZm9yIChsZXQgaSA9IDA7IGkgPCAyOyBpKyspIHtcXFxcbiAgICAgICAgYXJyLnB1c2goe1xcXFxuICAgICAgICAgICAgY29sX3R5cGU6IFxcXFxcXFwiYmxhbmtfYmxvY2tcXFxcXFxcIlxcXFxuICAgICAgICB9KVxcXFxuICAgIH1cXFxcbiAgICAvL3NldFJlc3VsdChkKVxcXFxufVxcXFxuJC5leHBvcnRzPXtcXFxcbiAgICDmkJzntKLlu7rorq5cXFxcbn1cXFxcbi8v5pCc57Si5bu66K6uKGQsICfmtbfmiqXlvIAnKVxcXCJ9XVwifSIsInBpY1VybCI6Imh0dHBzOi8vcGljMS5pbWd5enp5LmNvbS91cGxvYWQvdm9kLzIwMjQtMDYtMDIvMTcxNzI5ODY5NDEuanBnQFJlZmVyZXI9IiwidGl0bGUiOiLloqjpm6jkupHpl7QifQ==
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement