Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@Mizmovie搜索@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoiTWl6bW92aWXmkJzntKIiLCJhdXRob3IiOiLlj5HnsqrmtoLlopkm54yr54yrJumBk+mVvybpobrmkJwm6aOO5ZC55Y+R5qKi5a2m5aWX5aiDIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjaHR0cHM6Ly93d3cubWl6aTYuY29tL3ZvZHNob3cvaWQvMS9wYWdlL2Z5cGFnZS5odG1sIiwidmVyc2lvbiI6MiwiY29sX3R5cGUiOiJtb3ZpZV8zX21hcnF1ZWUiLCJjbGFzc19uYW1lIjoiIiwidHlwZSI6ImFsbCIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOnZhciBkID0gW107XG5cbmNvbnN0IOS4gOe6p+WumuS9jSA9ICdib2R5JiYubmF2YmFyLWl0ZW1zJ1xuY29uc3Qg5LqM57qn5a6a5L2NID0gJ2JvZHkmJi5tb2R1bGUtY2xhc3MtaXRlbXMnXG5jb25zdCDnu5/kuIDlrprkvY0gPSAnYm9keSYmYTpub3QoOm1hdGNoZXMo6aaW6aG1fOebtOaSrXzotYTorq98QVBQfOi/veWJp+WRqOihqHzku4rml6Xmm7TmlrB854Ot5qacKSknXG5cbk1ZX1VSTCA9IE1ZX1VSTC5yZXBsYWNlKCdoaWtlcjovL2VtcHR5IyMnLCAnJylcblxubGV0IHRydWVfdXJsID0gZ2V0VmFyKE1ZX1JVTEUudXJsLCBNWV9VUkwpXG52YXIgcGFnZSA9IE1ZX1BBR0VcbmlmKGdldFZhcihNWV9SVUxFLnVybCkpe1xudHJ1ZV91cmwgPS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S5pbmNsdWRlcyhrZXkpKSkge1xcbiAgICAgICAgICAgICAgICBwYWdlUnVsZXMucHVzaChpdGVtKTtcXG4gICAgICAgICAgICB9XFxuICAgICAgICB9XFxuICAgIH1cXG4gICAgaWYgKHBhZ2VSdWxlcy5sZW5ndGggPT0gMCkge1xcbiAgICAgICAgbG9nKFxcXCLmmoLml6DlkIjpgILmqKHmnb9cXFwiKTtcXG4gICAgICAgIHRvYXN0KCfmmoLml6DlkIjpgILmqKHmnb8nKTtcXG4gICAgfVxcbiAgICBmb3IgKGxldCBwYWdlUnVsZSBvZiBwYWdlUnVsZXMpIHtcXG4gICAgICAgIC8vbG9nKFxcXCLmraPlnKjljLnphY3vvJpcXFwiICsgcGFnZVJ1bGUudXJsKTtcXG4gICAgICAgIHRyeSB7XFxuICAgICAgICAgICAgZXZhbC5jYWxsKG51bGwsIFxcXCI7KGZ1bmN0aW9uKCl7XFxcIiArIGdldFBhZ2VTb3VyY2UocGFnZVJ1bGUudXJsKSArIFxcXCJ9KSgpXFxcIik7XFxuICAgICAgICAgICAgLy9sb2coXFxcIuWMuemFjeaooeadv+aIkOWKn++8jOato+WcqOe7k+adn+WMuemFjei/m+eoi1xcXCIpO1xcbiAgICAgICAgICAgIGJyZWFrO1xcbiAgICAgICAgfSBjYXRjaCAoZSkge1xcbiAgICAgICAgICAgIGxvZyhcXFwi5Yy56YWN5qih5p2/6ZSZ6K+vXFxcIik7XFxuICAgICAgICAgICAgbG9nKGUudG9TdHJpbmcoKSlcXG4gICAgICAgICAgICBsb2coXFxcIuato+WcqOWMuemFjeS4i+S4gOS4quaooeadvy4uLi4uLlxcXCIpXFxuICAgICAgICAgICAgaWYgKHBhZ2VSdWxlLnVybCA9PSBwYWdlUnVsZXNbcGFnZVJ1bGVzLmxlbmd0aCAtIDFdLnVybCkge1xcbiAgICAgICAgICAgICAgICBsb2coXFxcIuW3suWMuemFjeWIsOacgOWQjuS4gOS4quaooeadv++8jOaaguaXoOWQiOmAgueahOaooeadv1x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wZGZhKGNhdGVnb3J5LCDnu5/kuIDlrprkvY0pO1xcbiAgICAgICBcXG4gICAgICBpZiAoaW5kZXggPT09IDApIHtcXG4gICAgICAgICAgICBzdWJfY2F0ZWdvcmllcy5mb3JFYWNoKChpdGVtLCBrZXkpID0+IHtcXG4gICAgICAgICAgICAgICAgbGV0IHRpdGxlID0gcGRmaChpdGVtLCDliIbnsbvmoIfpopgpXFxuXFxuICAgICAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICB0aXRsZToga2V5LnRvU3RyaW5nKCkgPT09IGNhdGVfdGVtcFtpbmRleF0gPyAn4oCc4oCc4oCd4oCdPGI+PHNwYW4gc3R5bGU9XFxcImNvbG9yOiAnICsg5YiG57G76aKc6ImyICsgJ1xcXCI+JyArIHRpdGxlICsgJzwvc3Bhbj48L2I+JyA6IHRpdGxlLFxcbiAgICAgICAgICAgICAgICAgICAgdXJsOiAkKHBkKGl0ZW0sIOWIhuexu+mTvuaOpSkgKyAnI25vTG9hZGluZyMnKS5sYXp5UnVsZSgocGFyYW1zKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgbGV0IG5ld19jYXRlID0gW11cXG4gICAgICAgICAgICAgICAgICAgICAgICBwYXJhbXMuY2F0ZV90ZW1wLmZvckVhY2goKGNhdGUsIGluZGV4KSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5ld19jYXRlLnB1c2goaW5kZXggPT09IDAgPyBwYXJhbXMua2V5LnRvU3RyaW5nKCkgOiBcXFwiMFxcXCIpXFxuICAgICAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRWYXIoTVlfUlVMRS50aXRsZSwgSlNPTi5zdHJpbmdpZnkobmV3X2NhdGUpKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIHB1dFZhcihNWV9SVUxFLnVybCwgaW5wdXQpXFxuICAgICAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UodHJ1ZSlcXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcImhpa2VyOi8vZW1wdHlcXFwiXFxuICAgICAgICAgICAgICAgICAgICB9LCB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgY2F0ZV90ZW1wOiBjYXRlX3RlbXAsXFxuICAgICAgICAgICAgICAgICAgICAgICAga2V5OiBrZXksXFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFnZTogcGFnZSxcXG4gICAgICAgICAgICAgICAgICAgIH0pLFxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICdzY3JvbGxfYnV0dG9uJyxcXG4gICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICB9KVxcblxcbiAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiBcXFwiYmxhbmtfYmxvY2tcXFwiXFxuICAgICAgICAgICAgfSk7XFxuXFxuICAgICAgICB9IGVsc2UgaWYgKGZvbGQgPT09ICcxJykge1xcbiAgICAgICAgICAgIHN1Yl9jYXRlZ29yaWVzLmZvckVhY2goKGl0ZW0sIGtleSkgPT4ge1xcbiAgICAgICAgICAgICAgICBsZXQgdGl0bGUgPSBwZGZoKGl0ZW0sIOWIhuexu+agh+mimClcXG4gICAgICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiBrZXkudG9TdHJpbmcoKSA9PT0gY2F0ZV90ZW1wW2luZGV4XSA/ICfigJzigJzigJ3igJ08Yj48c3BhbiBzdHlsZT1cXFwiY29sb3I6ICcgKyDliIbnsbvpopzoibIgKyAnXFxcIj4nICsgdGl0bGUgKyAnPC9zcGFuPjwvYj4nIDogdGl0bGUsXFxuICAgICAgICAgICAgICAgICAgICB1cmw6ICQocGQoaXRlbSwg5YiG57G76ZO+5o6lKSArICcjbm9Mb2FkaW5nIycpLmxhenlSdWxlKChwYXJhbXMpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBwYXJhbXMuY2F0ZV90ZW1wW3BhcmFtcy5pbmRleF0gPSBwYXJhbXMua2V5LnRvU3RyaW5nKClcXG5cXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRWYXIoTVlfUlVMRS50aXRsZSwgSlNPTi5zdHJpbmdpZnkocGFyYW1zLmNhdGVfdGVtcCkpXFxuICAgICAgICAgICAgICAgICAgICAgICAgcHV0VmFyKE1ZX1JVTEUudXJsLCBpbnB1dClcXG4gICAgICAgICAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSh0cnVlKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBcXFwiaGlrZXI6Ly9lbXB0eVxcXCJcXG4gICAgICAgICAgICAgICAgICAgIH0sIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBjYXRlX3RlbXA6IGNhdGVfdGVtcCxcXG4gICAgICAgICAgICAgICAgICAgICAgICBpbmRleDogaW5kZXgsXFxuICAgICAgICAgICAgICAgICAgICAgICAga2V5OiBrZXksXFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFnZTogcGFnZSxcXG4gICAgICAgICAgICAgICAgICAgIH0pLFxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICdzY3JvbGxfYnV0dG9uJyxcXG4gICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiBcXFwiYmxhbmtfYmxvY2tcXFwiXFxuICAgICAgICAgICAgfSk7XFxuICAgICAgICB9XFxuICAgIH0pXFxufVwifSx7XCJjb2xfdHlwZVwiOlwibW92aWVfM1wiLFwibmFtZVwiOlwiI+S4gOe6p+ahhuaetlwiLFwicGF0aFwiOlwiUHJpbWFyeVRlbXBsYXRlXCIsXCJydWxlXCI6XCJcXG4vKlxcbmlmIChNWV9QQUdFID09ICcxJykge1xcbmNsZWFyVmFyKClcXG4gICAgZC5wdXNoKHtcXG4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KGxpc3Rbal0sIOS4gOe6p+agh+mimCksXFxuICAgICAgICBkZXNjOiBwZGZoKGxpc3Rbal0sIOS4gOe6p+aPj+i/sCksXFxuICAgICAgICBpbWc6IHBkKGxpc3Rbal0sIOS4gOe6p+WbvueJhykgKydAUmVmZXJlcj0nLFxcbiAgICAgICAgdXJsOiBwZChsaXN0W2pdLCDkuIDnuqfpk77mjqUpLCAvLysnI2ltbWVyc2l2ZVRoZW1lIydcXG4gICAgfSk7XFxufVwifSx7XCJjb2xfdHlwZVwiOlwibW92aWVfM1wiLFwibmFtZVwiOlwiI+aUvumjnueahOeMq+eMq+S6jOe6p+mjjuetnVwiLFwicGF0aFwiOlwiU2Vjb25kYXJ5VGVtcGxhdGVcIixcInJ1bGVcIjpcInZhciBkID0gW107XFxudmFyIOagh+ivhuWQjeensCA9ICcgV2ViICc7XFxudmFyIOagh+ivhumTvuaOpSA9IE1ZX1VSTDtcXG5cXG52YXIg57q/6Lev5YiX6KGoMSA9ICdib2R5JiYubW9kdWxlLXRhYi1pdGVtJztcXG52YXIg57q/6Lev5qCH562+MSA9ICdzcGFuJiZUZXh0JztcXG52YXIg5a6a5L2N566A5LuLMSA9ICcubW9kdWxlLWluZm8taXRlbXMmJlRleHQnO1xcblxcbmlmICjnur/ot6/liJfooaggPT09ICcnKSB7XFxuICAgIHZhciDnur/ot6/liJfooagyID0g57q/6Lev5YiX6KGoMVxcbn0gZWxzZSB7XFxuICAgIHZhciDnur/ot6/liJfooagyID0g57q/6Lev5YiX6KGoXFxufVxcbnZhciBhcnRzID0gcGRmYShodG1sLCDnur/ot6/liJfooagyKTtcXG5cXG5pZiAo57q/6Lev5qCH562+ID09PSAnJykge1xcbiAgICB2YXIg57q/6Lev5qCH562+MiA9IOe6v+i3r+agh+etvjFcXG59IGVsc2Uge1xcbiAgICB2YXIg57q/6Lev5qCH562+MiA9IOe6v+i3r+agh+etvlxcbn1cXG5cXG52YXIgdGFicyA9IFtdO1xcbmZvciAodmFyIGkgaW4gYXJ0cykge1xcblxcbiAgICB0YWJzLnB1c2gocGRmaChhcnRzW2ldLCDnur/ot6/moIfnrb4yKVxcblxcbiAgICAgICAgLnJlcGxhY2UoJy3lrpjmlrknLCAnJylcXG4gICAgICAgIC5yZXBsYWNlKCflpIfnlKjotYTmupAnLCAnJylcXG4gICAgICAgIC5yZXBsYWNlKCdBUFDkuJPkuqvnur/ot6/vvIjnvZHnq5nkuI3mj5Dkvpvmkq3mlL7vvIknLCAnQVBQ5LiT5LqrJylcXG4gICAgICAgIC5yZXBsYWNlKCfvvIknLCAnKScpXFxuICAgICAgICAucmVwbGFjZSgn77yIJywgJygnKVxcbiAgICAgICAgLnJlcGxhY2UoJ+inhumikScsICcnKVxcbiAgICAgICAgLnJlcGxhY2UoJ1RWJywgJycpXFxuICAgICAgICAucmVwbGFjZSgn57q/6LevJywgJycpXFxuICAgICAgICAucmVwbGFjZSgn5o6o6I2QJywgJycpXFxuICAgICAgICAucmVwbGFjZSgnLScsICcnKVxcbiAgICAgICAgLnJlcGxhY2UoJ+6YryAnLCAnJylcXG4gICAgICAgIC5yZXBsYWNlKCfuorQgJywgJycpXFxuICAgICAgICAucmVwbGFjZSgn5ZOU5ZOp5ZOU5ZOpJywgJ2JpbGliaWxpJylcXG4gICAgICAgIC5yZXBsYWNlKCd5b3VrdScsICfkvJjphbcnKVxcbiAgICAgICAgLnJlcGxhY2UoJ3FpeWknLCAn54ix5aWH6Im6JylcXG4gICAgICAgIC5yZXBsYWNlKCdxcScsICfohb7orq8nKVxcbiAgICAgICAgLnJlcGxhY2UoJ0pRUScsICfohb7orq8nKVxcbiAgICAgICAgLnJlcGxhY2UoJ+iKkuaenHR2JywgJ+iKkuaenCcpXFxuICAgICAgICAucmVwbGFjZSgnbWd0dicsICfoipLmnpwnKVxcbiAgICAgICAgLnJlcGxhY2UoJ3BwdHYnLCAnUFBUVicpXFxuICAgICAgICAucmVwbGFjZSgnbGV0dicsICfkuZDop4YnKVxcbiAgICAgICAgLnJlcGxhY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mFyKCflvZPliY3nur/ot6/lkI0nLCB0YWJuYW1lKTtcXG4gICAgICAgICAgICAgICAgcHV0TXlWYXIodGFidXJsLCBpKVxcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZShmYWxzZSk7XFxuICAgICAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9lbXB0eSdcXG4gICAgICAgICAgICB9LCB0YWJuYW1lLCB0YWJ1cmwsIGkpXFxuICAgICAgICB9KVxcbiAgICB9XFxuXFxuICAgIGQucHVzaCh7XFxuICAgICAgICBjb2xfdHlwZTogJ2xpbmVfYmxhbmsnXFxuICAgIH0pO1xcbn1cXG5cXG4vKlxcbnZhciBsYXp5ID0gJCgnJykubGF6eVJ1bGUoKCkgPT4ge1xcbmZ1bmN0aW9uIHg1cnVsZShqaWV4dXJsLCBzcmN1cmwpIHtcXG5cXG4gICAgc2hvd0xvYWRpbmcoXFxcIumTvuaOpeajgOe0ouS4re+8jOivt+eojeWAmS4uLlxcXCIpO1xcbiAgICB2YXIgdmlkZW8gPSAnd2ViUnVsZTovLycgKyBqaWV4dXJsICsgJ0AnICsgJC50b1N0cmluZygoc3JjdXJsKSA9PiB7XFxuICAgICAgICAvL2ZiYS5sb2coZmJhLmdldFVybHMoKSk7XFxuICAgICAgICB2YXIgdXJscyA9IF9nZXRVcmxzKCk7XFxuICAgICAgICBpZiAod2luZG93LmNvdW50ID09IG51bGwgfHwgd2luZG93LmNvdW50ID09IHVuZGVmaW5lZCkge1xcbiAgICAgICAgICAgIHdpbmRvdy5jb3VudCA9IDBcXG4gICAgICAgIH1cXG4gICAgICAgIGlmICh3aW5kb3cuY291bnQgPj0gMjMpIHtcXG4gICAgICAgICAgICByZXR1cm4gc3JjdXJsXFxuICAgICAgICB9XFxuICAgICAgICB3aW5kb3cuY291bnQgPSB3aW5kb3cuY291bnQgKyAxO1xcbiAgICAgICAgaWYgKHdpbmRvdy5jb3VudCA+IDEgJiYgd2luZG93LmNvdW50IDw9IDMgJiYgd2luZG93LmNvdW50ICE9IG51bGwgJiYgd2luZG93LmNvdW50ICE9IHVuZGVmaW5lZCkge1xcbiAgICAgICAgICAgIGlmIChkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCdib2R5JykuaW5uZXJUZXh0LnNlYXJjaCgv6Kem5Y+R5LqG6Ziy55uX6ZO+fOacquaOiOadg3zmjqXlj6PpmLLnm5d86K+35Yiw5Li756uZ6KeC55yLLykgIT0gLTEpIHtcXG4gICAgICAgICAgICAgICAgaWYgKCFzcmN1cmwpIHtcXG4gICAgICAgICAgICAgICAgXFx0ZmJhLmxvZygn5bCd6K+V6Lez6Ziy55uX6aqM6K+B5LiAJyk7XFxuICAgICAgICAgICAgICAgICAgICBsb2NhdGlvbi5ocmVmID0gbG9jYXRpb24uaHJlZjtcXG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgXFx0ZmJhLmxvZygn5bCd6K+V6Lez6Ziy55uX6aqM6K+B5LqMJyk7XFxuICAgICAgICAgICAgICAgICAgICBsb2NhdGlvbi5ocmVmID0gc3JjdXJsXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9O1xcbiAgICAgICAgfSBlbHNlIGlmKHdpbmRvdy5jb3VudCA+IDMgJiYgd2luZG93LmNvdW50ICE9IG51bGwgJiYgd2luZG93LmNvdW50ICE9IHVuZGVmaW5lZCl7XFxuICAgICAgICAgICAgaWYgKHVybHMubGVuZ3RoIDwgMSkge1xcbiAgICAgICAgICAgICAgICBmYmEuaGlkZUxvYWRpbmcoKTtcXG4gICAgICAgICAgICAgICAgcmV0dXJuICd0b2FzdDovL+ajgOe0ouWksei0pe+8jOWPr+iDvemTvuaOpeaXoOazleiuv+mXruOAgic7XFxuICAgICAgICAgICAgfSBlbHNlIGlmICh1cmxzLmxlbmd0aCA9PSAxKSB7XFxuICAgICAgICAgICAgICAgIGZiYS5sb2coJ+WwneivleebtOmTvuS4jkpTT07op6PmnpAnKTtcXG4gICAgICAgICAgICAgICAgaWYgKHVybHNbMF0ubWF0Y2goL2R5Y2RuXFxcXC10b3NcXFxcLnBzdGF0cHxcXFxcLm0zdTh8XFxcXC5tcDR8XFxcXC5mbHZ8bmV0ZWFzZVxcXFwuY29tfHZpZGVvX21wNHx0eXBlXFxcXD1tM3U4fHB0XFxcXD1tM3U4LykgJiYgIXVybHNbMF0ubWF0Y2goL1xcXFwuaHRtbHxtM3U4XFxcXC50dnxcXFxcJm5leHR8YWNcXFxcPWRtfFxcXFw9aHR0cHxodHRwc1xcXFw6XFxcXC9cXFxcL1tcXFxcZF1cXFxcLm0zdTh8XFxcXD91cmxcXFxcPVxcXFwvbTN1OC8pKSB7XFxuICAgICAgICAgICAgICAgICAgICAvL2Z5X2JyaWRnZV9hcHAubG9nKHVybHNbMF0pXFxuICAgICAgICAgICAgICAgICAgICBpZiAodXJsc1swXS5pbmRleE9mKCdiaWxpdmlkZW8nKSAhPSAtMSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxzWzBdICsgJzt7UmVmZXJlckBodHRwczovL3d3dy5iaWxpYmlsaS5jb20mJlVzZXItQWdlbnRATW96aWxsYS81LjB9JztcXG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodXJsc1swXS5pbmRleE9mKCd0aXRhbi5tZ3R2LmNvbScpICE9IC0xKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbMF0gKyAnI2lzVmlkZW89dHJ1ZSMnICsgJzt7UmVmZXJlckB3d3cubWd0di5jb20mJlVzZXItQWdlbnRATW96aWxsYS81LjB9JztcXG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbMF1cXG4gICAgICAgICAgICAgICAgICAgIH07XFxuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAobG9jYXRpb24uaHJlZi5tYXRjaCgvZHljZG5cXFxcLXRvc1xcXFwucHN0YXRwfFxcXFwubTN1OHxcXFxcLm1wNHxcXFxcLmZsdnxuZXRlYXNlXFxcXC5jb218dmlkZW9fbXA0fHR5cGVcXFxcPW0zdTh8cHRcXFxcPW0zdTgvKSAmJiAhbG9jYXRpb24uaHJlZi5tYXRjaCgvaHRtbHxtM3U4XFxcXC50dnxcXFxcJm5leHR8YWNcXFxcPWRtfFxcXFw9aHR0cHxodHRwc1xcXFw6XFxcXC9cXFxcL1tcXFxcZF1cXFxcLm0zdTh8XFxcXD91cmxcXFxcPVxcXFwvbTN1OC8pKSB7XFxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gbG9jYXRpb24uaHJlZjtcXG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgIHZhciBodG1sID0gZmJhLmZldGNoKGxvY2F0aW9uLmhyZWYsIHt9KTtcXG4gICAgICAgICAgICAgICAgICAgIGlmICghL1xcXFw8bWV0YS8udGVzdChodG1sKSYmIS9cXFxcPGh0bWwvLnRlc3QoaHRtbCkpIHtcXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBKU09OLnBhcnNlKGh0bWwpLnVybDtcXG4gICAgICAgICAgICAgICAgICAgIH1lbHNle1xcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGxvY2F0aW9uLmhyZWZ9XFxuICAgICAgICAgICAgICAgIH07XFxuICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgZmJhLmxvZygn5pel5b+X5qOA57Si56ysJyArIHdpbmRvdy5jb3VudCArICfmrKEnKTtcXG4gICAgICAgICAgICAgICAgZm9yICh2YXIgaSBpbiB1cmxzKSB7XFxuICAgICAgICAgICAgICAgICAgICBpZiAodXJsc1tpXS5tYXRjaCgvZHljZG5cXFxcLXRvc1xcXFwucHN0YXRwfFxcXFwubTN1OHxcXFxcLm1wNHxcXFxcLmZsdnxuZXRlYXNlXFxcXC5jb218dmlkZW9fbXA0fHR5cGVcXFxcPW0zdTh8cHRcXFxcPW0zdTgvKSAmJiAhdXJsc1tpXS5tYXRjaCgvaHRtbHxtM3U4XFxcXC50dnxcXFxcJm5leHR8YWNcXFxcPWRtfFxcXFw9aHR0cHxodHRwc1xcXFw6XFxcXC9cXFxcL1tcXFxcZF1cXFxcLm0zdTh8XFxcXD91cmxcXFxcPVxcXFwvbTN1OC8pKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgLy9meV9icmlkZ2VfYXBwLmxvZyh1cmxzW2ldKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh1cmxzW2ldLmluZGV4T2YoJ2JpbGl2aWRlbycpICE9IC0xKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxzW2ldICsgJzt7UmVmZXJlckBodHRwczovL3d3dy5iaWxpYmlsaS5jb20mJlVzZXItQWdlbnRATW96aWxsYS81LjB9JztcXG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHVybHNbaV0uaW5kZXhPZigndGl0YW4ubWd0di5jb20nKSAhPSAtMSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdXJsc1tpXSArICcjaXNWaWRlbz10cnVlIycgKyAnO3tSZWZlcmVyQHd3dy5tZ3R2LmNvbSYmVXNlci1BZ2VudEBNb3ppbGxhLzUuMH0nO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodXJsc1tpXS5pbmRleE9mKCdqdWhhb2thbicpICE9IC0xKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxzW2ldICsgJzt7UmVmZXJlckBodHRwczovL3d3dy5qdWhhb2thbi5jYy99JztcXG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHVybHNbaV0uaW5kZXhPZignb2piaycpICE9IC0xKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxzW2ldICsgJzt7UmVmZXJlckBodHRwczovL3Yub2pia2p4LmNvbS99JztcXG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHVybHNbaV0uaW5kZXhPZignd2tmaWxlJykgIT0gLTEpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbaV0gKyAnO3tSZWZlcmVyQGh0dHBzOi8vZmFudHVhbi53a2ZpbGUuY29tL30nO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxzW2ldICsgJyNpc1ZpZGVvPXRydWUjJ1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgfSAvL2VuZCBmb3IgaVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH1cXG4gICAgfSwgc3JjdXJsKTtcXG4gICAgcmV0dXJuIHZpZGVvXFxufVxcbi8v57uT5p2feDVydWxl5by65Yqb5ZeF5o6iXFxuICAgIHJldHVybiB4NXJ1bGUoaW5wdXQsIGlucHV0KTtcXG59KVxcbi8v6YGT6ZW/6YCa5YWN5aSn5rOV77yM5pyq5YaZ5pys56uZ5YWN5ZeFXFxudmFyIGxhenkgPSAkKFxcXCJcXFwiKS5sYXp5UnVsZSgoKSA9PiB7XFxuICAgIHZhciBodG1sID0gSlNPTi5wYXJzZShyZXF1ZXN0KGlucHV0KS5tYXRjaCgvciBwbGF5ZXJfLio/PSguKj8pPC8pWzFdKVxcbmxvZyhodG1sKVxcbiAgICAgICAgdmFyIHVybCA9IGh0bWwudXJsXFxuaWYgKGh0bWwuZW5jcnlwdCA9PSAnMScpIHtcXG4gICAgICAgIHVybCA9IHVuZXNjYXBlKHVybCk7XFxuICAgIH0gZWxzZSBpZiAoaHRtbC5lbmNyeXB0ID09ICcyJykge1xcbiAgICAgICAgdXJsID0gdW5lc2NhcGUoYmFzZTY0RGVjb2RlKHVybCkpO1xcbiAg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XFxuICAgIHZhciBqeCA9ICBNYWNQbGF5ZXJDb25maWcucGxheWVyX2xpc3RbaHRtbC5mcm9tXS5wYXJzZVxcbiAgICBpZiAoanggPT0gJycpIHtcXG4gICAgICAgICAgICBqeCA9IE1hY1BsYXllckNvbmZpZy5wYXJzZVxcbiAgICAgICAgfVxcbiAgICAgICAgdmFyIGp4dXJsID0ganggKyB1cmw7XFxuICAgICAgIC8vIGxvZyhqeHVybClcXG4gICAgICAgIH1cXG4gICAgICAgIHNob3dMb2FkaW5nKFxcXCLnq5nngrnop6PmnpDll4XmjqLkuK0s6K+356iN5ZCOLi4uXFxcIik7XFxuICAgICAgICB2YXIgdmlkZW8gPSAnd2ViUnVsZTovLycgKyBqeHVybCArICdAJysgJC50b1N0cmluZygoKSA9PiB7XFxuICAgICAgICAgICAgdmFyIHVybHMgPSBfZ2V0VXJscygpXFxuICAgICAgICAgICAgZm9yICh2YXIgaSBpbiB1cmxzKSB7XFxuICAgICAgICAgICAgICAgIGlmICh1cmxzW2ldLm1hdGNoKC9cXFxcLmZsdnxcXFxcLm1wNHxcXFxcLm0zdTgvKSkge1xcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbaV07XFxuICAgICAgICAgICAgICAgIH0gXFxuZWxzZSBpZiAodXJsc1tpXS5tYXRjaCgvXFxcXC5mbHYvKSkge1xcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbaV0gKyAgJzt7UmVmZXJlckBodHRwczovL3d3dy5iaWxpYmlsaS5jb20vJiZVc2VyLUFnZW50QE1vemlsbGEvNS4wfSc7XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgcmV0dXJuIHZpZGVvXFxufSlcXG5cXG5mdW5jdGlvbiDnqbooKSB7XFxuICAgIGZvciAobGV0IGkgPSAwOyBpIDwgNTsgaSsrKSB7XFxuICA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cXFwiICsgXFxcIjxzbWFsbD48Zm9udCBjb2xvcj0nZ3JleSc+XFxcIiArICdcXFxcdFxcXFx044Cw77iPXFxcXHRcXFxcdCcgKyBcXFwiPC9mb250Pjwvc21hbGw+XFxcIiArIFxcXCI8Zm9udCBjb2xvcj0nIzU5NTlBQic+XFxcIiArIGxpc3QubGVuZ3RoICsgJ+mbhicgKyBcXFwiPC9mb250PlxcXCIsXFxuICAgICAgICAgICAgICAgIGltZzogb2JqW3RhYnNbaW5kZXhdXSB8fCBcXFwiaHR0cHM6Ly9sYW5tZWlndW9qaWFuZy5jb20vdHViaWFvL3EvMTkucG5nXFxcIixcXG4gICAgICAgICAgICAgICAgdXJsOiBgQGxhenlSdWxlPS5qczppZihnZXRNeVZhcign6YCJ6ZuG5o6S5bqPJyk9PSfmraPluo8nKXtwdXRNeVZhcign6YCJ6ZuG5o6S5bqPJywgJ+WPjeW6jycpO31lbHNle3B1dE15VmFyKCfpgInpm4bmjpLluo8nLCAn5q2j5bqPJyl9O3JlZnJlc2hQYWdlKGZhbHNlKTtoaWRlTG9hZGluZygpOydoaWtlcjovL2VtcHR5J2AsXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnYXZhdGFyJ1xcbiAgICAgICAgICAgIH0pXFxuXFxuICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6ICdsaW5lJ1xcbiAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgMTA7IGkrKykge1xcbiAgICAgICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6IFxcXCJibGFua19ibG9ja1xcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgIH0gY2F0Y2ggKGUpIHtcXG4gICAgICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6ICdsaW5lJ1xcbiAgICAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgIH1cXG5cXG5cXG4gICAgZnVuY3Rpb24g6YCJ6ZuGKCkge1xcbiAgICAgICAgdmFyIGptID0gcGRmaChsaXN0W2ldLCAnYSYmVGV4dCcpLnJlcGxhY2UoL+esrHzpm4Z86K+dfOacny9nLCAnJykucmVwbGFjZSgv6aKE5ZGKL2csICfwn5OiJyk7XFxuICAgICAgICB2YXIgdXJsID0gcGFyc2VEb20obGlzdFtpXSwgJ2EmJmhyZWYnKTtcXG4gICAgICAgIGlmIChsaXN0Lmxlbmd0aCA8IDUpIHtcXG4gICAgICAgICAgICB2YXIgY29sID0gJ3RleHRfMidcXG4gICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgdmFyIGNvbCA9IGptLmxlbmd0aCA+IDUgPyAndGV4dF8yJyA6ICd0ZXh0XzQnXFxuICAgICAgICB9XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiBqbSxcXG4gICAgICAgICAgICB1cmw6IHVybCArIGxhenksXFxuICAgICAgICAgICAgY29sX3R5cGU6IGNvbCxcXG4gICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICBpZDogdXJsLFxcbiAgICAgICAgICAgICAgICBibG9ja1J1bGVzOiBbJy5jc3MnLCAnLmdpZicsICcuanBnJywgJy5qcGVnJywgJy5wbmcnLCAnLmljbycsICcuc3ZnJywgJ2NuenonLCAnZ29vZ2xlJywgJ3huLS0qOionLCAnaG0uYmFpZHUuY29tJywgJy9hZHMvKi5qcycsICcubTN1OCcsICcubXA0J11cXG4gICAgICAgICAgICB9XFxuICAgICAgICB9KTtcXG4gICAgfVxcbiAgICB0cnkge1xcbiAgICAgICAgLy8g5byA5aeL6aG156CB5YiG5Yy6IOmAiembhu+8nuiuvuWumumbhuaVsDEw5Liq5Lul5LiK5omN5ZCv55So6YCJ6ZuG5YiG6aG1XFxuICAgICAgICB2YXIg6YCJ6ZuG5pWw57uEID0gbGlzdDtcXG4gICAgICAgIGlmICjpgInpm4bmlbDnu4QubGVuZ3RoID4gKHBhZ2VfbnVtYmVyICsgMTApKSB7XFxuICAgICAgICAgICAgLy/miYDmnInpm4bmlbDpmaTku6Xmr4/pobXpm4bmlbDvvIzmnInkvZnov5vmlbRcXG4gICAgICAgICAgICB2YXIgdG90YWwgPSBNYXRoLmNlaWwo6YCJ6ZuG5pWw57uELmxlbmd0aCAvIHBhZ2VfbnVtYmVyKTtcXG4gICAgICAgICAgICB2YXIgY2F0YWxvZ3VlID0gW11cXG4gICAgICAgICAgICBmb3IgKGxldCBpID0gMDsgaSA8IHRvdGFsOyBpKyspIHtcXG4gICAgICAgICAgICAgICAgY2F0YWxvZ3VlICs9IGkgKiBwYWdlX251bWJlciArICcsJztcXG4gICAgICAgICAgICAgICAgY2F0YWxvZ3VlID0gY2F0YWxvZ3VlLnNwbGl0KCcsJyk7XFxuICAgICAgICAgICAgfVxcblxcbiAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgODsgaSsrKSB7XFxuICAgICAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogXFxcImJsYW5rX2Jsb2NrXFxcIlxcbiAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAvL+i+k+WHuuWIhumhteaMiemSrlxcbiAgICAgICAgICAgIHZhciDmjInpkq4gPSBbXTtcXG4gICAgICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGNhdGFsb2d1ZS5sZW5ndGggLSAxOyBpKyspIHtcXG4gICAgICAgICAgICAgICAgdmFyIHRvdGFsMSA9IHBhcnNlSW50KGNhdGFsb2d1ZVtpXSkgKyAxO1xcbiAgICAgICAgICAgICAgICB2YXIgdG90YWwyID0gcGFyc2VJbnQoY2F0YWxvZ3VlW2kgKyAxXSk7XFxuICAgICAgICAgICAgICAgIGlmIChpID09IChjYXRhbG9ndWUubGVuZ3RoIC0gMikpIHZhciB0b3RhbDIgPSDpgInpm4bmlbDnu4QubGVuZ3RoO1xcblxcbiAgICAgICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IHN0YXIgPT0gdG90YWwxID8gJ+KAmOKAmCcgKyB0b3RhbDEgKyAnLScgKyB0b3RhbDIgKyAn4oCZ4oCZJyA6IHRvdGFsMSArICctJyArIHRvdGFsMixcXG4gICAgICAgICAgICAgICAgICAgIHVybDogJChcXFwiI25vTG9hZGluZyNcXFwiKS5sYXp5UnVsZSgodG90YWwxLCB0b3RhbDIpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcign5YiG6ZuG6LW3JywgdG90YWwxKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcign5YiG6ZuG57uIJywgdG90YWwyKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICByZWZyZXNoUGFnZShmYWxzZSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5J1xcbiAgICAgICAgICAgICAgICAgICAgfSwgdG90YWwxLCB0b3RhbDIpLFxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICdzY3JvbGxfYnV0dG9uJ1xcbiAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAg5oyJ6ZKuLnB1c2godG90YWwxICsgJy0nICsgdG90YWwyKVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgICAgICBpZiAoZ2V0TXlWYXIoJ+mAiembhuaOkuW6jycpID09ICfmraPluo8nKSB7XFxuICAgICAgICAgICAgICAgIGZvciAodmFyIGkgPSBlbmQgLSAxOyBpID49IHN0YXIgLSAxOyBpLS0pIHtcXG4gICAgICAgICAgICAgICAgICAgIOmAiembhigpXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9IGVsc2Uge1xcbiAgICAgICAgICAgICAgICBmb3IgKHZhciBpID0gc3RhciAtIDE7IGkgPCBlbmQ7IGkrKykge1xcbiAgICAgICAgICAgICAgICAgICAg6YCJ6ZuGKClcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAvL+W6lemDqOmhteeggSAgICAgICAgICAgICAgICAgXFxuICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6IFxcXCJsaW5lXFxcIlxcbiAgICAgICAgICAgIH0pXFxuXFxuICAgICAgICAgICAgdmFyIHllbWEgPSBNYXRoLmNlaWwoZW5kIC8gcGFnZV9udW1iZXIpO1xcbiAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgIHRpdGxlOiBcXFwi4oCc4oCc4oCd4oCdIDxzbWFsbD48c21hbGw+PGZvbnQgY29sb3I9J2dyZXknPlxcXCIgKyB5ZW1hICsgJyAvICcgKyB0b3RhbCArIFxcXCI8L2ZvbnQ+IDwvc21hbGw+PC9zbWFsbD5cXFwiLFxcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogXFxcInRleHRfY2VudGVyXzFcXFwiLFxcbiAgICAgICAgICAgICAgICB1cmw6ICQoXFxcIiNub0xvYWRpbmcjXFxcIikubGF6eVJ1bGUoKOaMiemSrikgPT4gJCjmjInpkq4sIDMpLnNlbGVjdChfID0+IHtcXG4gICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKCfliIbpm4botbcnLCBpbnB1dC5zcGxpdCgnLScpWzBdKTtcXG4gICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKCfliIbpm4bnu4gnLCBpbnB1dC5zcGxpdCgnLScpWzFdKTtcXG4gICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKGZhbHNlKTtcXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBcXFwidG9hc3Q6Ly/ovb3lhaUgXFxcIiArIGlucHV0ICsgJyDpobXpnaIgLic7XFxuICAgICAgICAgICAgICAgIH0pLCDmjInpkq4pLFxcbiAgICAgICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgICAgICAgICAgbGluZVZpc2libGU6IGZhbHNlXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9KVxcblxcbiAgICAgICAgICAgIC8v5bqV6YOo5pON5L2c5oyJ6ZKuXFxuICAgICAgICAgICAgaWYgKOW6lemDqOaNoumhtSA9PSAn5byA5ZCvJykge1xcbiAgICAgICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICfpppbpobUnLFxcbiAgICAgICAgICAgICAgICAgICAgdXJsOiAkKFxcXCIjbm9Mb2FkaW5nI1xcXCIpLmxhenlSdWxlKChwYWdlX251bWJlcikgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKCfliIbpm4botbcnLCAnMScpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKCfliIbpm4bnu4gnLCBwYWdlX251bWJlcik7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoZmFsc2UpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9lbXB0eSdcXG4gICAgICAgICAgICAgICAgICAgIH0sIHBhZ2VfbnVtYmVyKSxcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF80J1xcbiAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiAn5LiK5LiA6aG1JyxcXG4gICAgICAgICAgICAgICAgICAgIHVybDogJChcXFwiI25vTG9hZGluZyNcXFwiKS5sYXp5UnVsZSgoc3RhciwgZW5kLCBwYWdlX251bWJlciwgdG90YWwsIOmAiembhuaVsOe7hCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhciBzID0gcGFyc2VJbnQoc3RhcikgLSBwYWdlX251bWJlcjtcXG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIgZSA9IHBhcnNlSW50KGVuZCkgLSBwYWdlX251bWJlcjtcXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoZW5kID0g6YCJ6ZuG5pWw57uELmxlbmd0aCkgdmFyIGUgPSBzICsgcGFnZV9udW1iZXIgLSAxO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChzIDwgMSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgcyA9IDE7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBlID0gcGFnZV9udW1iZXI7XFxuICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChzID4gMCkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcign5YiG6ZuG6LW3Jywgcyk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKCfliIbpm4bnu4gnLCBlKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoZmFsc2UpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vZW1wdHknXFxuICAgICAgICAgICAgICAgICAgICB9LCBzdGFyLCBlbmQsIHBhZ2VfbnVtYmVyLCB0b3RhbCwg6YCJ6ZuG5pWw57uEKSxcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF80J1xcbiAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiAn5LiL5LiA6aG1JyxcXG4gICAgICAgICAgICAgICAgICAgIHVybDogJChcXFwiI25vTG9hZGluZyNcXFwiKS5sYXp5UnVsZSgoc3RhciwgZW5kLCBwYWdlX251bWJlciwgdG90YWwsIOmAiembhuaVsOe7hCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhciBzID0gcGFyc2VJbnQoc3RhcikgKyBwYWdlX251bWJlcjtcXG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIgZSA9IHBhcnNlSW50KGVuZCkgKyBwYWdlX251bWJlcjtcXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoZSA+IOmAiembhuaVsOe7hC5sZW5ndGgpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHMgPSAodG90YWwgLSAxKSAqIHBhZ2VfbnVtYmVyICsgMTtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGUgPSDpgInpm4bmlbDnu4QubGVuZ3RoO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcign5YiG6ZuG6LW3Jywgcyk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcHV0TXlWYXIoJ+WIhumbhue7iCcsIGUpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKGZhbHNlKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vZW1wdHknXFxuICAgICAgICAgICAgICAgICAgICB9LCBzdGFyLCBlbmQsIHBhZ2VfbnVtYmVyLCB0b3RhbCwg6YCJ6ZuG5pWw57uEKSxcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF80J1xcbiAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiAn5bC+6aG1JyxcXG4gICAgICAgICAgICAgICAgICAgIHVybDogJChcXFwiI25vTG9hZGluZyNcXFwiKS5sYXp5UnVsZSgocGFnZV9udW1iZXIsIHRvdGFsLCDpgInpm4bmlbDnu4QpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIgcyA9ICh0b3RhbCAtIDEpICogcGFnZV9udW1iZXIgKyAxO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKCfliIbpm4botbcnLCBzKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcign5YiG6ZuG57uIJywg6YCJ6ZuG5pWw57uELmxlbmd0aCk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoZmFsc2UpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9lbXB0eSdcXG4gICAgICAgICAgICAgICAgICAgIH0sIHBhZ2VfbnVtYmVyLCB0b3RhbCwg6YCJ6ZuG5pWw57uEKSxcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF80J1xcbiAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICB9XFxuICAgICAgICB9IC8vIOe7k+adn+mAiembhuWIhumhtVxcbiAgICAgICAgZWxzZSB7XFxuICAgICAgICAgICAgaWYgKGdldE15VmFyKCfpgInpm4bmjpLluo8nKSA9PSAn5q2j5bqPJykge1xcbiAgICAgICAgICAgICAgICBmb3IgKHZhciBpID0gbGlzdC5sZW5ndGggLSAxOyBpID49IDA7IGktLSkge1xcbiAgICAgICAgICAgICAgICAgICAg6YCJ6ZuGKClcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgbGlzdC5sZW5ndGg7IGkrKykge1xcbiAgICAgICAgICAgICAgICAgICAg6YCJ6ZuGKClcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH1cXG4gICAgfSBjYXRjaCAoZSkge1xcbiAgICAgICAg56m6KClcXG4gICAgfVxcbiAgICAvLyDlupXpg6jnlZnnqb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vorrDlvZVcXG4gICAgaWYgKHRhYnMubGVuZ3RoID4gMSB8fCBsaXN0c1swXS5sZW5ndGggPiAocGFnZV9udW1iZXIgKyAxMCkpIHtcXG4gICAgICAgIGZ1bmN0aW9uIOiusOW9lei2s+i/uSjnur/ot68sIOmhtemdoikge1xcbiAgICAgICAgICAgIHZhciBoaXN0b3J5ID0gSlNPTi5wYXJzZShyZXF1ZXN0KCdoaWtlcjovL2ZpbGVzLy9jYWNoZS/pobpf6K6w5b2V57q/6Lev5ZKM6aG156CBLmpzb24nKSB8fCAnW10nKTtcXG4gICAgICAgICAgICB2YXIgdCA9IGhpc3RvcnkuZmluZEluZGV4KGl0ZW0gPT4gaXRlbS7lsI/nqIvluo8gPT0gTVlfUlVMRS50aXRsZSk7XFxuICAgICAgICAgICAgaWYgKHQgPT0gLTEpIHtcXG4gICAgICAgICAgICAgICAgdCA9IGhpc3RvcnkubGVuZ3RoO1xcbiAgICAgICAgICAgICAgICBoaXN0b3J5LnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAg5bCP56iL5bqPOiBNWV9SVUxFLnRpdGxlLFxcbiAgICAgICAgICAgICAgICAgICAg6Laz6L+5OiBbXVxcbiAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB2YXIgeSA9IGhpc3RvcnlbdF0u6Laz6L+5LmZpbmRJbmRleChpdGVtID0+IGl0ZW0udXJsID09IE1ZX1VSTCk7XFxuICAgICAgICAgICAgaWYgKHkgPT0gLTEpIHtcXG4gICAgICAgICAgICAgICAgaGlzdG9yeVt0XS7otrPov7kucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICB1cmw6IE1ZX1VSTCxcXG4gICAgICAgICAgICAgICAgICAgIHRhYjog57q/6LevLFxcbiAgICAgICAgICAgICAgICAgICAgaW5kZXg6IOmhtemdolxcbiAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICB9IGVsc2Uge1xcbiAgICAgICAgICAgICAgICBoaX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5kZXg7XFxuICAgICAgICAgICAgICAgIGlmIChnZXRNeVZhcign5YiG6ZuG6LW3JykgPT0gXFxcIlxcXCIpIHtcXG4gICAgICAgICAgICAgICAgICAgIHZhciBzdGFyID0gaXRlbVAuc3BsaXQoJy0nKVswXTtcXG4gICAgICAgICAgICAgICAgICAgIHZhciBlbmQgPSBpdGVtUC5zcGxpdCgnLScpWzFdO1xcbiAgICAgICAgICAgICAgICAgICAgaWYgKGl0ZW1QID09ICd1bmRlZmluZWQtdW5kZWZpbmVkJyB8fCBpdGVtUCA9PSAnLScpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBzdGFyID0gJzEnO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGVuZCA9IHBhZ2VfbnVtYmVyO1xcbiAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgIGlmIChnZXRNeVZhcign5b2T5YmN57q/6Lev5ZCNJykgPT0gXFxcIlxcXCIpIHtcXG4gICAgICAgICAgICAgICAgICAgIHZhciDpgInkuK3nur/ot68gPSBpdGVtQSB8fCAnMCc7XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgaWYgKGdldE15VmFyKCfliIbpm4botbcnKSAhPSBcXFwiXFxcIikge1xcbiAgICAgICAgICAgICAgICAgICAgdmFyIHN0YXIgPSBnZXRNeVZhcign5YiG6ZuG6LW3Jyk7XFxuICAgICAgICAgICAgICAgICAgICB2YXIgZW5kID0gZ2V0TXlWYXIoJ+WIhumbhue7iCcpO1xcbiAgICAgICAgICAgICAgICAgICAgdmFyIOmAieS4ree6v+i3ryA9IGl0ZW1BIHx8ICcwJztcXG4gICAgICAgICAgICAgICAgICAgIOiusOW9lei2s+i/uSjpgInkuK3nur/ot68sIHN0YXIgKyAnLScgKyBlbmQpXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgaWYgKGdldE15VmFyKCflvZPliY3nur/ot6/lkI0nKSAhPSBcXFwiXFxcIikge1xcbiAgICAgICAgICAgICAgICAgICAgdmFyIHN0YXIgPSBnZXRNeVZhcign5YiG6ZuG6LW3JywgJzEnKTtcXG4gICAgICAgICAgICAgICAgICAgIHZhciBlbmQgPSBnZXRNeVZhcign5YiG6ZuG57uIJywgSlNPTi5zdHJpbmdpZnkocGFnZV9udW1iZXIpKTtcXG4gICAgICAgICAgICAgICAgICAgIHZhciDpgInkuK3nur/ot68gPSBnZXRNeVZhcihNWV9VUkwpO1xcbiAgICAgICAgICAgICAgICAgICAg6K6w5b2V6Laz6L+5KOmAieS4ree6v+i3rywgc3RhciArICctJyArIGVuZClcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIH0gZWxzZSB7IC8v5aaC5p6c54mH5a2Q5rKh5pyJ6K6w5b2VXFxuICAgICAgICAgICAgICAgIHZhciBzdGFyID0gMTtcXG4gICAgICAgICAgICAgICAgdmFyIGVuZCA9IHBhZ2VfbnVtYmVyO1xcbiAgICAgICAgICAgICAgICB2YXIg6YCJ5Lit57q/6LevID0gJzAnO1xcbiAgICAgICAgICAgICAgICDorrDlvZXotrPov7koJzAnLCBcXFwiMVxcXCIgKyAnLScgKyBwYWdlX251bWJlcilcXG4gICAgICAgICAgICB9XFxuICAgICAgICB9IGVsc2UgeyAvL+WmguaenOWwj+eoi+W6j+ayoeacieiusOW9lVxcbiAgICAgICAgICAgIHZhciBzdGFyID0gMTtcXG4gICAgICAgICAgICB2YXIgZW5kID0gcGFnZV9udW1iZXI7XFxuICAgICAgICAgICAgdmFyIOmAieS4ree6v+i3ryA9ICcwJztcXG4gICAgICAgICAgICDorrDlvZXotrPov7koJzAnLCBcXFwiMVxcXCIgKyAnLScgKyBwYWdlX251bWJlcilcXG4gICAgICAgIH1cXG4gICAgfSBlbHNlIHtcXG4gICAgICAgIHZhciDpgInkuK3nur/ot68gPSAnMCc7XFxuICAgIH1cXG59IGNhdGNoIChlKSB7XFxuICAgIOepuigpXFxufVxcblxcblxcb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JjaCgv6Kem5Y+R5LqG6Ziy55uX6ZO+fOacquaOiOadg3zmjqXlj6PpmLLnm5d86K+35Yiw5Li756uZ6KeC55yLLykgIT0gLTEpIHtcXG4gICAgICAgICAgICAgICAgaWYgKCFzcmN1cmwpIHtcXG4gICAgICAgICAgICAgICAgXFx0ZmJhLmxvZygn5bCd6K+V6Lez6Ziy55uX6aqM6K+B5LiAJyk7XFxuICAgICAgICAgICAgICAgICAgICBsb2NhdGlvbi5ocmVmID0gbG9jYXRpb24uaHJlZjtcXG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgXFx0ZmJhLmxvZygn5bCd6K+V6Lez6Ziy55uX6aqM6K+B5LqMJyk7XFxuICAgICAgICAgICAgICAgICAgICBsb2NhdGlvbi5ocmVmID0gc3JjdXJsXFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB9O1xcbiAgICAgICAgfSBlbHNlIGlmKHdpbmRvdy5jb3VudCA+IDMgJiYgd2luZG93LmNvdW50ICE9IG51bGwgJiYgd2luZG93LmNvdW50ICE9IHVuZGVmaW5lZCl7XFxuICAgICAgICAgICAgaWYgKHVybHMubGVuZ3RoIDwgMSkge1xcbiAgICAgICAgICAgICAgICBmYmEuaGlkZUxvYWRpbmcoKTtcXG4gICAgICAgICAgICAgICAgcmV0dXJuICd0b2FzdDovL+ajgOe0ouWksei0pe+8jOWPr+iDvemTvuaOpeaXoOazleiuv+mXruOAgic7XFxuICAgICAgICAgICAgfSBlbHNlIGlmICh1cmxzLmxlbmd0aCA9PSAxKSB7XFxuICAgICAgICAgICAgICAgIGZiYS5sb2coJ+WwneivleebtOmTvuS4jkpTT07op6PmnpAnKTtcXG4gICAgICAgICAgICAgICAgaWYgKHVybHNbMF0ubWF0Y2goL2R5Y2RuXFxcXC10b3NcXFxcLnBzdGF0cHxcXFxcLm0zdTh8XFxcXC5tcDR8XFxcXC5mbHZ8bmV0ZWFzZVxcXFwuY29tfHZpZGVvX21wNHx0eXBlXFxcXD1tM3U4fHB0XFxcXD1tM3U4LykgJiYgIXVybHNbMF0ubWF0Y2goL1xcXFwuaHRtbHxtM3U4XFxcXC50dnxcXFxcJm5leHR8YWNcXFxcPWRtfFxcXFw9aHR0cHxodHRwc1xcXFw6XFxcXC9cXFxcL1tcXFxcZF1cXFxcLm0zdTh8XFxcXD91cmxcXFxcPVxcXFwvbTN1OC8pKSB7XFxuICAgICAgICAgICAgICAgICAgICAvL2Z5X2JyaWRnZV9hcHAubG9nKHVybHNbMF0pXFxuICAgICAgICAgICAgICAgICAgICBpZiAodXJsc1swXS5pbmRleE9mKCdiaWxpdmlkZW8nKSAhPSAtMSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxzWzBdICsgJzt7UmVmZXJlckBodHRwczovL3d3dy5iaWxpYmlsaS5jb20mJlVzZXItQWdlbnRATW96aWxsYS81LjB9JztcXG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodXJsc1swXS5pbmRleE9mKCd0aXRhbi5tZ3R2LmNvbScpICE9IC0xKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbMF0gKyAnI2lzVmlkZW89dHJ1ZSMnICsgJzt7UmVmZXJlckB3d3cubWd0di5jb20mJlVzZXItQWdlbnRATW96aWxsYS81LjB9JztcXG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbMF1cXG4gICAgICAgICAgICAgICAgICAgIH07XFxuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAobG9jYXRpb24uaHJlZi5tYXRjaCgvZHljZG5cXFxcLXRvc1xcXFwucHN0YXRwfFxcXFwubTN1OHxcXFxcLm1wNHxcXFxcLmZsdnxuZXRlYXNlXFxcXC5jb218dmlkZW9fbXA0fHR5cGVcXFxcPW0zdTh8cHRcXFxcPW0zdTgvKSAmJiAhbG9jYXRpb24uaHJlZi5tYXRjaCgvaHRtbHxtM3U4XFxcXC50dnxcXFxcJm5leHR8YWNcXFxcPWRtfFxcXFw9aHR0cHxodHRwc1xcXFw6XFxcXC9cXFxcL1tcXFxcZF1cXFxcLm0zdTh8XFxcXD91cmxcXFxcPVxcXFwvbTN1OC8pKSB7XFxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gbG9jYXRpb24uaHJlZjtcXG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgIHZhciBodG1sID0gZmJhLmZldGNoKGxvY2F0aW9uLmhyZWYsIHt9KTtcXG4gICAgICAgICAgICAgICAgICAgIGlmICghL1xcXFw8bWV0YS8udGVzdChodG1sKSYmIS9cXFxcPGh0bWwvLnRlc3QoaHRtbCkpIHtcXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBKU09OLnBhcnNlKGh0bWwpLnVybDtcXG4gICAgICAgICAgICAgICAgICAgIH1lbHNle1xcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGxvY2F0aW9uLmhyZWZ9XFxuICAgICAgICAgICAgICAgIH07XFxuICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgZmJhLmxvZygn5pel5b+X5qOA57Si56ysJyArIHdpbmRvdy5jb3VudCArICfmrKEnKTtcXG4gICAgICAgICAgICAgICAgZm9yICh2YXIgaSBpbiB1cmxzKSB7XFxuICAgICAgICAgICAgICAgICAgICBpZiAodXJsc1tpXS5tYXRjaCgvZHljZG5cXFxcLXRvc1xcXFwucHN0YXRwfFxcXFwubTN1OHxcXFxcLm1wNHxcXFxcLmZsdnxuZXRlYXNlXFxcXC5jb218dmlkZW9fbXA0fHR5cGVcXFxcPW0zdTh8cHRcXFxcPW0zdTgvKSAmJiAhdXJsc1tpXS5tYXRjaCgvaHRtbHxtM3U4XFxcXC50dnxcXFxcJm5leHR8YWNcXFxcPWRtfFxcXFw9aHR0cHxodHRwc1xcXFw6XFxcXC9cXFxcL1tcXFxcZF1cXFxcLm0zdTh8XFxcXD91cmxcXFxcPVxcXFwvbTN1OC8pKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgLy9meV9icmlkZ2VfYXBwLmxvZyh1cmxzW2ldKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh1cmxzW2ldLmluZGV4T2YoJ2JpbGl2aWRlbycpICE9IC0xKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxzW2ldICsgJzt7UmVmZXJlckBodHRwczovL3d3dy5iaWxpYmlsaS5jb20mJlVzZXItQWdlbnRATW96aWxsYS81LjB9JztcXG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHVybHNbaV0uaW5kZXhPZigndGl0YW4ubWd0di5jb20nKSAhPSAtMSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdXJsc1tpXSArICcjaXNWaWRlbz10cnVlIycgKyAnO3tSZWZlcmVyQHd3dy5tZ3R2LmNvbSYmVXNlci1BZ2VudEBNb3ppbGxhLzUuMH0nO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodXJsc1tpXS5pbmRleE9mKCdqdWhhb2thbicpICE9IC0xKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxzW2ldICsgJzt7UmVmZXJlckBodHRwczovL3d3dy5qdWhhb2thbi5jYy99JztcXG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHVybHNbaV0uaW5kZXhPZignb2piaycpICE9IC0xKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxzW2ldICsgJzt7UmVmZXJlckBodHRwczovL3Yub2pia2p4LmNvbS99JztcXG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHVybHNbaV0uaW5kZXhPZignd2tmaWxlJykgIT0gLTEpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybHNbaV0gKyAnO3tSZWZlcmVyQGh0dHBzOi8vZmFudHVhbi53a2ZpbGUuY29tL30nO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxzW2ldICsgJyNpc1ZpZGVvPXRydWUjJ1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgfSAvL2VuZCBmb3IgaVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH1cXG4gICAgfSwgc3JjdXJsKTtcXG4gICAgcmV0dXJuIHZpZGVvXFxufVxcbi8v57uT5p2feDVydWxl5by65Yqb5ZeF5o6iXFxuICAgIHJldHVybiB4NXJ1bGUoaW5wdXQsIGlucHV0KTtcXG59KVwifSx7XCJjb2xfdHlwZVwiOlwibW92aWVfM1wiLFwibmFtZVwiOlwiRC7pgJrnlKjljLnphY1cIixcInBhdGhcIjpcImxhenlcIixcInJ1bGVcIjpcInB1dFZhcihcXFwiX3g1XFxcIiwgJC50b1N0cmluZygoKSA9PiB7XFxuICAgIHZhciB1cmxzID0gX2dldFVybHMoKVxcbiAgICBmb3IgKHZhciBpIGluIHVybHMpIHtcXG4gICAgICAgIGlmICAodXJsc1tpXS5tYXRjaCgvXFxcXC5tcDN8XFxcXC5tcDR8XFxcXC5tM3U4Lykpe1xcbiAgICAgICAgICAgIGZ5X2JyaWRnZV9hcHAubG9nKHVybHNbaV0pXFxuICAgICAgICAgICAgcmV0dXJuIHVybHNbaV1cXG4gICAgICAgIH1cXG4gICAgfVxcbn0pKVxcbnZhciBsYXp5ID0gXFxcIkBsYXp5UnVsZT0uanM6c2hvd0xvYWRpbmcoJ+ato+WcqOiOt+WPluermeeCuei1hOa6kCzor7fnqI3lkI4uLi4nKTsneDVSdWxlOi8vJytpbnB1dCsnQCcgKyBnZXRWYXIoJ194NScpXFxcIjtcIn0se1w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FxcLmZsdnxcXFxcLm0zdTgvKSA+IC0xKSB7XFxuICAgICAgICByZXR1cm4gdXJsO1xcbiAgICB9IGVsc2Uge1xcbiAgICB2YXIganUgPSBwZChmZXRjaChpbnB1dCksICcucGxheWVyLWJveCYmc2NyaXB0LDEmJnNyYycpO1xcbiAgICAgICAgZXZhbChmZXRjaChqdSkpO1xcbiAgICB2YXIganggPSAgTWFjUGxheWVyQ29uZmlnLnBsYXllcl9saXN0W2h0bWwuZnJvbV0ucGFyc2VcXG4gICAgaWYgKGp4ID09ICcnKSB7XFxuICAgICAgICAgICAganggPSBNYWNQbGF5ZXJDb25maWcucGFyc2VcXG4gICAgICAgIH1cXG4gICAgICAgIHZhciBqeHVybCA9IGp4ICsgdXJsO2xvZyhqeHVybCl9XFxuICAgICAgICBzaG93TG9hZGluZyhcXFwi572R6aG16Kej5p6Q55u06L+e5ZeF5o6i5LitLOivt+eojeWQji4uLlxcXCIpO1xcbiAgICAgICAgdmFyIHZpZGVvID0gJ3dlYlJ1bGU6Ly8nICsganh1cmwgKyAnQCcrICQudG9TdHJpbmcoKCkgPT4ge1xcbiAgICAgICAgICAgIHZhciB1cmxzID0gX2dldFVybHMoKVxcbiAgICAgICAgICAgIGZvciAodmFyIGkgaW4gdXJscykge1xcbiAgICAgICAgICAgICAgICBpZiAodXJsc1tpXS5tYXRjaCgvXFxcXC5mbHZ8XFxcXC5tcDR8XFxcXC5tM3U4LykpIHtcXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxzW2ldO1xcbiAgICAgICAgICAgICAgICB9IFxcbmVsc2UgaWYgKHVybHNbaV0ubWF0Y2goL1xcXFwuZmx2LykpIHtcXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxzW2ldICsgICc7e1JlZmVyZXJAaHR0cHM6Ly93d3cuYmlsaWJpbGkuY29tLyYmVXNlci1BZ2VudEBNb3ppbGxhLzUuMH0nO1xcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgIH0pXFxuICAgIHJldHVybiB2aWRlb1xcbn0pXFxuXCJ9XSIsImljb24iOiJodHRwczovL2xhbm1laWd1b2ppYW5nLmNvbS90dWJpYW8vcS82OC5wbmciLCJwcm94eSI6IiJ9
Add Comment
Please, Sign In to add comment