xiaomianao666

插件名:global_🔥海角社区2023-11-03

Jul 27th, 2024
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:网页插件¥js_url¥global_🔥海角社区2023-11-03@base64://Ly8gPT1Vc2VyU2NyaXB0PT0KLy8gQG5hbWUgICAgICAgICDwn5Sl5rW36KeS56S+5Yy6IDIwMjMvMTEvMDMKLy8gQG5hbWVzcGFjZSAgICBoa2hqY2RzYWRnZwovLyBAYXV0aG9yICAgICAgam5qdmhzeHN4c3gKLy8gQHZlcnNpb24gICAgICAxLjUuMgovLyBAZGVzY3JpcHRpb24gIPCflKXlhY3otLnnnIvku5jotLnop4bpopHvvIzmn6XnnIvlsIHnpoHotKblj7fkuLvpobXluJblrZDvvIzkuIvovb3op4bpopHvvIzlpI3liLbmkq3mlL7pk77mjqUo5Y2h6aG/5Y+v5Lul5Y676L+F6Zu35pKt5pS+Ke+8jOW4luWtkOaYr+WQpuacieinhumikeWbvueJh+aPkOekuijmoIfpopjliY3nvIAp77yM5oyB5LmF5YyW55m75b2V54q25oCB77yM56C06Kejdmlw5pKt5pS+6Lev57q/77yM6Ieq5Yqo5bGV5byA5biW5a2Q77yM5Y675bm/5ZGK77yMdmlw5qCH6K+GCi8vIEBsaWNlbnNlICAgICAgTUlUCi8vIEBpY29uICAgICAgICAgaHR0cHM6Ly9wb21mMi5sYWluLmxhL2YvZXJlanh0Zm8uaWNvCi8vIEBpbmNsdWRlICAgICAgICAgICAqOi8vaGoqLiovKgovLyBAaW5jbHVkZSAgICAgICAgICAgL3Bvc3QvZGV0YWlscy8KLy8gQGluY2x1ZGUgICAgICAgICAgICo6Ly9oYWkqLiovKgovLyBAbWF0Y2ggICAgICAgICAgICAgKjovLyovcG9zdC9kZXRhaWxzKgovLyBAcmVxdWlyZSAgICAgIGh0dHBzOi8vY2RuLmpzZGVsaXZyLm5ldC9ucG0vanF1ZXJ5QDMuNy4xCi8vIEBncmFudCAgICAgICAgR01feG1saH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GtleSArICIgOiAiICsgdmFsdWUpOwogICAgICAgICAgICByZXR1cm4gdmFsdWU7CiAgICAgICAgfQogICAgICAgIGNvbnNvbGUuZGVidWcoIlJlYWQga2V5OiAiICsga2V5ICsgIiA6ICIgKyBjb29raWUpOwogICAgICAgIGlmIChjb29raWUgPT09ICJ0cnVlIikgeyByZXR1cm4gdHJ1ZTsgfQogICAgICAgIGlmIChjb29raWUgPT09ICJmYWxzZSIpIHsgcmV0dXJuIGZhbHNlOyB9CiAgICAgICAgcmV0dXJuIGNvb2tpZTsKICAgIH0KIAogICAgZ2V0UyhrZXksIHZhbHVlKSB7CiAgICAgICAgdmFyIGNvb2tpZSA9ICQuY29va2llKGtleSk7CiAgICAgICAgaWYgKGNvb2tpZSA9PSB1bmRlZmluZWQpIHsKICAgICAgICAgICAgbmV3IENvbmZpZygpLnNldChrZXksIHZhbHVlKTsKICAgICAgICAgICAgY29uc29sZS5kZWJ1ZygiUmVuZXcga2V5OiAiICsga2V5ICsgIiA6ICIgKyB2YWx1ZSk7CiAgICAgICAgICAgIHJldHVybiB2YWx1ZTsKICAgICAgICB9CiAgICAgICAgY29uc29sZS5kZWJ1ZygiUmVhZCBrZXk6ICIgKyBrZXkgKyAiIDogIiArIGNvb2tpZSk7CiAgICAgICAgcmV0dXJuIGNvb2tpZTsKICAgIH0KIAogICAgc2V0KHNldEtleSwgc2V0VmFsdWUpIHsKICAgICAgICAkLmNvb2tpZShzZXRLZXksIHNldFZhbHVlLCB7CiAgICAgICAgICAgIHBhdGg6ICcvJywKICAgICAgICAgICAgZXhwaXJlczogMzY1CiAgICAgICAgfSk7CiAgICAgICAgY29uc29sZS5kZWJ1ZygiS2V5IHNldDogIiArIHNldEtleSArICIgOiAiICsgc2V0VmFsdWUpOwogICAgfQogCiAgICBsaXN0ZW5CdXR0b24oZWxlbWVudCwgbGlzdGVuS2V5LCB0cnVlQWN0aW9uLCBmYWxzZUFjdGlvbikgewogICAgICAgICQoZWxlbWVudCkuY2xpY2soZnVuY3Rpb24gKCkgewogICAgICAgICAgICBsZXQgc3RhdHVzID0gbmV3IENvbmZpZygpLmdldChsaXN0ZW5LZXksIHRydWUpOwogICAgICAgICAgICBjb25zb2xlLmRlYnVnKCJTdGF0dXM6ICIgKyBzdGF0dXMpOwogICAgICAgICAgICBpZiAoc3RhdHVzID09PSAidHJ1ZSIgfHwgc3RhdHVzKSB7CiAgICAgICAgICAgICAgICBjb25zb2xlLmRlYnVnKCJLZXkgc2V0OiAiICsgbGlzdGVuS2V5ICsgIiA6OiAiICsgZmFsc2UpOwogICAgICAgICAgICAgICAgbmV3IENvbmZpZygpLnNldChsaXN0ZW5LZXksIGZhbHNlKTsKICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgIGNvbnNvbGUuZGVidWcoIktleSBzZXQ6ICIgKyBsaXN0ZW5LZXkgKyAiIDo6ICIgKyB0cnVlKTsKICAgICAgICAgICAgICAgIG5ldyBDb25maWcoKS5zZXQobGlzdGVuS2V5LCB0cnVlKTsKICAgICAgICAgICAgfQogICAgICAgIH0pOwogICAgfQogCiAgICBsaXN0ZW5CdXR0b25BbmRBY3Rpb24oZWxlbWVudCwgbGlzdGVuS2V5LCB0cnVlQWN0aW9uLCBmYWxzZUFjdGlvbikgewogICAgICAgICQoZWxlbWVudCkuY2xpY2soZnVuY3Rpb24gKCkgewogICAgICAgICAgICBsZXQgc3RhdHVzID0gbmV3IENvbmZpZygpLmdldChsaXN0ZW5LZXksIHRydWUpOwogICAgICAgICAgICBjb25zb2xlLmRlYnVnKCJTdGF0dXM6ICIgKyBzdGF0dXMpOwogICAgICAgICAgICBpZiAoc3RhdHVzID09PSAidHJ1ZSIgfHwgc3RhdHVzKSB7CiAgICAgICAgICAgICAgICBjb25zb2xlLmRlYnVnKCJLZXkgc2V0OiAiICsgbGlzdGVuS2V5ICsgIiA6OiAiICsgZmFsc2UpOwogICAgICAgICAgICAgICAgbmV3IENvbmZpZygpLnNldChsaXN0ZW5LZXksIGZhbHNl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b2dyZXNzOwogICAgICAgICQoIiNncmVlbmVyUHJvZ3Jlc3MiKS50ZXh0KHByb2dyZXNzICsgIiUiKTsKICAgICAgICBOUHJvZ3Jlc3Muc2V0KHByb2dyZXNzIC8gMTAwKTsKICAgICAgICBjb25zb2xlLmxvZyhwcm9ncmVzcyArICIlIik7CiAgICB9CiAKICAgIGRvbmUoKSB7CiAgICAgICAgcHJvZ3Jlc3MgPSAxMDA7CiAgICAgICAgTlByb2dyZXNzLmRvbmUoKTsKICAgICAgICAkKCIjZ3JlZW5lclByb2dyZXNzIikuaHRtbChwcm90ZWN0X3N2ZyArICcgQ1NETkdyZWVuZXIg5q2j5Zyo5a6I5oqk5oKo55qE5rWP6KeI5L2T6aqMJyk7CiAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHsKICAgICAgICAgICAgJCgiI2dyZWVuZXJQcm9ncmVzcyIpLmZhZGVPdXQoNTAwKTsKICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHsKICAgICAgICAgICAgICAgICQoIi50b29sYmFyLXNlYXJjaCIpLmZhZGVJbig1MDApOwogICAgICAgICAgICAgICAgaWYgKCFpc0ZpcmVmb3goKSkgewogICAgICAgICAgICAgICAgICAgIC8vIOaPkOekugogICAgICAgICAgICAgICAgICAgIGxldCB0aXBzQ29va2llID0gY29uZmlnLmdldCgic2hvd1RpcCIsIHRydWUpOwogICAgICAgICAgICAgICAgICAgIGlmICh0aXBzQ29va2llKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHNob3dUaXBzKCk7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIGNvbmZpZy5zZXQoInNob3dUaXAiLCBmYWxzZSk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0sIDUwMCk7CiAgICAgICAgfSwgMTUwMCk7CiAgICB9CgkKCXVwZWxlKCl7CgkJCWNvbnN0IGxpbmtzc3MgPSAnTktOSEJIS0tMemFIUjBjSE02THk5eVpYT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AgICAgdmFyIGxvZ2luID0gL3Bhc3Nwb3J0XC5jc2RuXC5uZXQvOwogICAgICAgIHZhciB6b25lID0gL21lXC5jc2RuXC5uZXQvOwogICAgICAgIHZhciBvdGhlciA9IC8od3d3XC5jc2RuXC5uZXRcLykvOwogICAgICAgIHZhciBtcCA9IC9tcFwuY3NkblwubmV0LzsKICAgICAgICB2YXIgYXJ0aWNsZV9tb250aCA9IC9hcnRpY2xlXC9tb250aC87CiAgICAgICAgdmFyIGxpbmsgPSAvbGlua1wuY3NkblwubmV0LzsKIAogICAgICAgIC8vIOaVsOe7hOWIneWni+WMlgogICAgICAgIGxpc3QgPSBbXTsKICAgICAgICAvLyDlpLTpg6jliIYKICAgICAgICAvLyBBUFAKICAgICAgICAvLyBwdXQoIi5hcHAtYXBwIik7CiAgICAgICAgLy8gVklQCiAgICAgICAgcHV0KCIudmlwLWNhaXNlIik7CiAgICAgICAgLy8g6K6w5b2V5L2g55qE5oiQ6ZW/5Y6G56iL77yI6K6w5Liq5q+b77yJCiAgICAgICAgcHV0KCIjd3JpdGVHdWlkZSIpOwogICAgICAgIC8vIOaWsOmAmuefpeWwj+WchueCue+8iOacqueZu+W9leaJjea2iOaOie+8iQogICAgICAgIGlmICgkKCIudXNlcmluZm8gYSIpLnRleHQoKSA9PT0gJ+eZu+W9lS/ms6jlhownKSB7CiAgICAgICAgICAgIHB1dCgiI21zZy1jaXJjbGUiKTsKICAgICAgICB9CiAgICAgICAgLy8g6aG26YOo6LC35q2M5bm/5ZGKCiAgICAgICAgcHV0KCIuYWRzYnlnb29nbGUiKTsKICAgICAgICAvLyDmgqzmta7lnKjpobbmoI/mjInpkq7kuIrlh7rnjrDnmoTkuoznu7TnoIEKICAgICAgICBwdXQoIi5hcHBDb250cm9sIik7CiAgICAgICAgLy8g6aG26YOo5bm/5ZGKCiAgICAgICAgcHV0KCIuYWR2ZXJ0LWJnIik7CiAKICAgICAgICBpZiAobWFpbi50ZXN0KGN1cnJlbnRVUkwpIHx8IG1haW5OYXYudGVzdChjdXJyZW50VVJMKSkgewogICAgICAgICAgICBsKCLmraPlnKjkvJjljJbkuLvpobXkvZPpqowuLi4iKTsKICAgICAgICAgICAgLy8g5bi46KeECiAgICAgICAgICAgIC8vIOWktOmDqOW5v+WRigogICAgICAgICAgICBwdXQoIi5iYW5uZXItYWQtYm94Iik7CiAgICAgICAgICAgIC8vIOW1jOWFpeW5v+WRigogICAgICAgICAgICBwdXQoIiNrcF9ib3hfMjExIik7CiAgICAgICAgICAgIC8vIOWPs+S+p+W5v+WRigogICAgICAgICAgICBwdXQoIi5zbGlkZS1vdXRlciIpOwogICAgICAgICAgICAvLyDlj7Pkvqfor6bmg4UKICAgICAgICAgICAgcHV0KCIucGVyc2lvbl9hcnRpY2xlIik7CiAgICAgICAgICAgIC8vIOWPs+S+p+aOqOiNkAogICAgICAgICAgICAkKCIuZmVlZF9jb21wYW55IikucGFyZW50KCkucmVtb3ZlKCk7CiAgICAgICAgICAgIC8vIOW5v+WRiui9ruaSrQogICAgICAgICAgICBwdXQoIi5lbC1jYXJvdXNlbF9fY29udGFpbmVyIik7CiAgICAgICAgICAgIC8vIOmhtumDqOaoquW5hQogICAgICAgICAgICBwdXQoIi50b29sYmFyLWFkdmVydCIpOwogICAgICAgICAgICAvLyDpobbmoI9WSVDpgInpobkKICAgICAgICAgICAgJCgnLnRvb2xiYXItc3ViTWVudS1ib3gnKS5maW5kKCJbaHJlZj0naHR0cHM6Ly9tYWxsLmNzZG4ubmV0L3ZpcCddIikucGFyZW50KCkucmVtb3ZlKCk7CiAgICAgICAgICAgIC8vIENTRE7lt6Xlhbflub/lkYoKICAgICAgICAgICAgcHV0KCIjZmxvb3ItYWRfNjQiKTsKICAgICAgICAgICAgY2xlYW4oMTApOwogICAgICAgICAgICAvLyBjb21tb24oNSwgMTApOwogICAgICAgICAgICAvLyDljZrlrqLlj4rkuLvpobXkvJjljJYKICAgICAgICAgICAgY29tbW9uKDksIDEwKTsKICAgICAgICAgICAgbG9vcCgzKTsKICAgICAgICAgICAgbG9vcCgxKTsKICAgICAgICB9IGVsc2UgaWYgKChibG9nLnRlc3QoY3VycmVudFVSTCkgJiYgYmxvY2tVUkwgPT09IDQpIHx8IGJsb2cyLnRlc3QoY3VycmVudFVSTCkpIHsKICAgICAgICAgICAgbCgi5q2j5Zyo5LyY5YyW5Liq5Lq65Y2a5a6i5Li76aG15L2T6aqMLi4uIik7CiAgICAgICAgICAgIC8vIOW4uOinhAogICAgICAgICAgICAvLyDlpLTpg6jlub/lkYoKICAgICAgICAgICAgcHV0KCIuYmFubmVyLWFkLWJveCIpOwogICAgICAgICAgICAvLyDlj7Pkvqflub/lkYoKICAgICAgICAgICAgcHV0KCIuc2xpZGUtb3V0ZXIiKTsKICAgICAgICAgICAgLy8g5Y+z5L6n6K+m5oOFCiAgICAgICAgICAgIHB1dCgiLnBlcnNpb25fYXJ0aWNsZSIpOwogICAgICAgICAgICAvLyDlt6bkvqflub/lkYoKICAgICAgICAgICAgcHV0KCIubWI4Iik7CiAgICAgICAgICAgIHB1dCgiI2twX2JveF81MDMiKTsKICAgICAgICAgICAgcHV0KCIja3BfYm94XzIxNCIpOwogICAgICAgICAgICBjbGVhbigxMCk7CiAgICAgICAgICAgIC8vIGNvbW1vbig1LCAxMCk7CiAgICAgICAgICAgIGxvb3AoMyk7CiAgICAgICAgICAgIGxvb3AoMSk7CiAgICAgICAgfSBlbHNlIGlmIChhcnRpY2xlLnRlc3QoY3VycmVudFVSTCkgJiYgIW1wLnRlc3QoY3VycmVudFVSTCkgJiYgIWFydGljbGVfbW9udGgudGVzdChjdXJyZW50VVJMKSkgewogICAgICAgICAgICBsKCLmraPlnKjkvJjljJbpmIXor7vkvZPpqowuLi4iKTsKICAgICAgICAgICAgLy8g57u/5YyW6K6+5a6aCiAgICAgICAgICAgIGlmIChpc0ZpcmVmb3goKSkgewogICAgICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHsKICAgICAgICAgICAgICAgICAgICAkKCIudG9vbGJhci1jb250YWluZXItbWlkZGxlIikucHJlcGVuZCgiPGRpdiBpZD0nZ3JlZW5lclByb2dyZXNzJyBzdHlsZT0ndGV4dC1hbGlnbjpyaWdodCc+PC9kaXY+Iik7CiAgICAgICAgICAgICAgICAgICAgbGV0IGh0bWxPZjAgPSAnPGRpdiBjbGFzcz0idG9vbGJhci1idG4gY3Nkbi10b29sYmFyLWZsIj48YSBpZD0iZ3JlZW5lclNldHRpbmdzIiB0aXRsZT0i54K55Ye75omT5byAIENTRE5HcmVlbmVyIOe7v+WMluiuvuWumiIgaHJlZj0iamF2YXNjcmlwdDp2b2lkKDApIiBvbmNsaWNrPSJzaG93Q29uZmlnKCk7Ij4nICsgc2V0dGluZ3Nfc3ZnICsgJzwvYT48L2Rpdj4nOwogICAgICAgICAgICAgICAgICAgICQoIi50b29sYmFyLWJ0bnMiKS5wcmVwZW5kKGh0bWxPZjApOwogICAgICAgICAgICAgICAgICAgIGlmIChpc0ZpcmVmb3goKSkgewogICAgICAgICAgICAgICAgICAgICAgICAvLyDmj5DnpLoKICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHRpcHNDb29raWUgPSBjb25maWcuZ2V0KCJzaG93VGlwIiwgdHJ1ZSk7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0aXBzQ29va2llKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzaG93VGlwcygpOwogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgIGNvbmZpZy5zZXQoInNob3dUaXAiLCBmYWxzZSk7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfSwgMzAwMCk7CiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAkKCIudG9vbGJhci1jb250YWluZXItbWlkZGxlIikucHJlcGVuZCgiPGRpdiBpZD0nZ3JlZW5lclByb2dyZXNzJyBzdHlsZT0ndGV4dC1hbGlnbjpyaWdodCc+PC9kaXY+Iik7CiAgICAgICAgICAgICAgICBsZXQgaHRtbE9mMCA9ICc8ZGl2IGNsYXNzPSJ0b29sYmFyLWJ0biBjc2RuLXRvb2xiYXItZmwiPjxhIGlkPSJncmVlbmVyU2V0dGluZ3MiIHRpdGxlPSLngrnlh7vmiZPlvIAgQ1NETkdyZWVuZXIg57u/5YyW6K6+5a6aIiBocmVmPSJqYXZhc2NyaXB0OnZvaWQoMCkiIG9uY2xpY2s9InNob3dDb25maWcoKTsiPicgKyBzZXR0aW5nc19zdmcgKyAnPC9hPjwvZGl2Pic7CiAgICAgICAgICAgICAgICAkKCIudG9vbGJhci1idG5zIikucHJlcGVuZChodG1sT2YwKTsKICAgICAgICAgICAgfQogICAgICAgICAgICAvLyDluLjop4QKICAgICAgICAgICAgLy8g5Y+z5L6n5bm/5ZGK77yM5pS+5Yiw56ys5LiA5Liq5riF6ZmkCiAgICAgICAgICAgIC8vIHB1dCgiLnJlY29tbWVuZC1yaWdodCIpOwogICAgICAgICAgICBwdXQoIiNhZGRBZEJveCIpOwogICAgICAgICAgICAvLyBwdXQoIi5hc2lkZS1ib3gua2luZF9wZXJzb24uZC1mbGV4LmZsZXgtY29sdW1uIik7CiAgICAgICAgICAgIHB1dCgiLnJlY29tbWVuZC10b3AtYWRib3giKTsKICAgICAgICAgICAgLy8gcHV0KCIucmVjb21tZW5kLWxpc3QtYm94LmQtZmxleC5mbGV4LWNvbHVtbi5hc2lkZS1ib3giKTsKICAgICAgICAgICAgLy8g5bem5L6n5bm/5ZGKCiAgICAgICAgICAgIC8vIHB1dCgiI2NvbnRhaW5lciIpOwogICAgICAgICAgICAvLyDlv6vmnaXlhpnljZrlrqLlkKcKICAgICAgICAgICAgcHV0KCIuYmxvZ190aXBfYm94Iik7CiAgICAgICAgICAgIC8vIOaOqOiNkOWFs+azqOeUqOaItwogICAgICAgICAgICBwdXQoIi5ibG9nLWV4cGVydC1yZWNvbW1lbmQtYm94Iik7CiAgICAgICAgICAgIC8vIOWPs+S4i+inklZJUAogICAgICAgICAgICBwdXQoIi5tZWF1LWdvdG9wLWJveCIpOwogICAgICAgICAgICAvLyDlub/lkYoKICAgICAgICAgICAgcHV0KCIubWVkaWF2X2FkIik7CiAgICAgICAgICAgIHB1dCgiLnB1bGxsb2ctYm94Iik7CiAgICAgICAgICAgIHB1dCgiLnJlY29tbWVuZC1hZC1ib3giKTsKICAgICAgICAgICAgcHV0KCIuYm94LXNoYWRvdyIpOwogICAgICAgICAgICBwdXQoIi50eXBlX2hvdF93b3JkIik7CiAgICAgICAgICAgIHB1dCgiLmZvdXJ0aF9jb2x1bW4iKTsKICAgICAgICAgICAgLy8g6auY5YiG6L6o546H5pe25Y+z5L6n5paH56ug5o6o6I2QCiAgICAgICAgICAgIC8vIHB1dCgiLnJpZ2h0LWl0ZW0iKTsKICAgICAgICAgICAgLy8g5bm/5ZGKCiAgICAgICAgICAgIHB1dCgiI2FzaWRlRm9vdGVyIik7CiAgICAgICAgICAgIHB1dCgiI2FkLWRpdiIpOwogICAgICAgICAgICBwdXQoIiM0NzkiKTsKICAgICAgICAgICAgcHV0KCIjNDgwIik7CiAgICAgICAgICAgIC8vIOaJk+i1jwogICAgICAgICAgICBwdXQoIi5wb3N0VGltZSIpOwogICAgICAgICAgICAvLyDor77nqIvmjqjojZAKICAgICAgICAgICAgcHV0KCIudDAiKTsKICAgICAgICAgICAgLy8g5YiG5Lqr5rW35oqlCiAgICAgICAgICAgIHB1dCgiLnNoYXJlU3VnZ2VzdCIpOwogICAgICAgICAgICAvLyDlupXpg6jkuLvpopgKICAgICAgICAgICAgcHV0KCIudGVtcGxhdGUtYm94Iik7CiAgICAgICAgICAgIC8vIOivhOiuuuWMuuW5v+WRigogICAgICAgICAgICBwdXQoImRpdiNkbXBfYWRfNTgiKTsKICAgICAgICAgICAgLy8g5omT6LWPCiAgICAgICAgICAgIHB1dCgiLnJld2FyZC11c2VyLWJveCIpOwogICAgICAgICAgICAvLyDlj7PkvqfmiZPotY/mjInpkq4KICAgICAgICAgICAgcHV0KCIudG8tcmV3YXJkIik7CiAgICAgICAgICAgIC8vIOaOqOiNkOWGheWuueW5v+WRigogICAgICAgICAgICBwdXQoIi5yZWNvbW1lbmQtcmVjb21tZW5kLWJveCIpOwogICAgICAgICAgICAvLyDlj7Pkvqflub/lkYoKICAgICAgICAgICAgcHV0KCIuaW5kZXhTdXBlcmlzZSIpOwogICAgICAgICAgICAvLyDmiqLmspnlj5Hop5LmoIcKICAgICAgICAgICAgcHV0KCIuY29tbWVudC1zb2ZhLWZsYWciKTsKICAgICAgICAgICAgLy8g6aG1amlvCiAgICAgICAgICAgIHB1dCgiLmJvdHRvbS1wdWItZm9vdGVyIik7CiAgICAgICAgICAgIC8vIOeZu+W9leafpeeci+acquivu+a2iOaBrwogICAgICAgICAgICBwdXQoIi50b29sYmFyLW5vdGljZS1idWJibGUiKTsKICAgICAgICAgICAgLy8g5Y+z5L6n5bm/5ZGKCiAgICAgICAgICAgIHB1dCgiLnJlY29tbWVuZC10b3AtYWRib3giKTsKICAgICAgICAgICAgLy8g5Y+z5L6n5Zub5Liq5bm/5ZGKCiAgICAgICAgICAgIHB1dCgiLnByb2dyYW1tZXIxQm94Iik7CiAgICAgICAgICAgIHB1dCgiLnByb2dyYW1tZXIyQm94Iik7CiAgICAgICAgICAgIHB1dCgiLnByb2dyYW1tZXIzQm94Iik7CiAgICAgICAgICAgIHB1dCgiLnByb2dyYW1tZXI0Qm94Iik7CiAgICAgICAgICAgIC8vIOeCuei1nuawlOazoQogICAgICAgICAgICBwdXQoIi50cmlwbGV0LXByb21wdCIpOwogICAgICAgICAgICAvLyDpobbpg6jmqKrluYUKICAgICAgICAgICAgcHV0KCIudG9vbGJhci1hZHZlcnQiKTsKICAgICAgICAgICAgLy8g5bqV6YOo5L+h5oGvCiAgICAgICAgICAgIHB1dCgiLmJsb2ctZm9vdGVyLWJvdHRvbSIpOwogICAgICAgICAgICAvLyDlj7PkvqfmoI/lub/lkYoKICAgICAgICAgICAgcHV0KCIjNjUyNyIpOwogICAgICAgICAgICBwdXQoIiNyZWNvbW1lbmRBZEJveCIpOwogICAgICAgICAgICAvLyDmjqjojZDlhoXlrrlUaXRsZQogICAgICAgICAgICBwdXQoIi5yZWNvbW1lbmQtdGl0LW1vZCIpOwogICAgICAgICAgICAvLyDnuqLljIXmj5DphpIKICAgICAgICAgICAgcHV0KCIuY3Nkbi1yZWRwYWNrLWxvdHRlcnktYnRuLWJveCIpOwogICAgICAgICAgICAvLyDlrabnlJ/orqTor4EKICAgICAgICAgICAgcHV0KCIuY3Nkbi1oaWdoc2Nob29sLXdpbmRvdyIpOwogICAgICAgICAgICAvLyDlj7Pkvqfmgqzmta7moI/pmaTnva7pobbku6XlpJbnmoTmjInpkq4KICAgICAgICAgICAgcHV0KCIub3B0aW9uLWJveFtkYXRhLXR5cGU9J2d1aWRlJ10sLm9wdGlvbi1ib3hbZGF0YS10eXBlPSdjcyddLC5jc2RuLWNvbW1vbi1sb2dvLWFkdmVydCIpOwogICAgICAgICAgICBjbGVhbigxMCk7CiAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgIC8vIOWxleW8gOivhOiuuueahOaJgOacieWbnuWkjQogICAgICAgICAgICAgICAkKCcuYnRuLXJlYWQtcmVwbHknKS5jbGljaygpOwogICAgICAgICAgICB9LCAxNTAwKTsKICAgICAgICAgICAgLy8g5Li75Yqo5Yqg5YWl5Y+z5L6n5qCPCiAgICAgICAgICAgIGlmICgkKCIucmVjb21tZW5kLXJpZ2h0IikubGVuZ3RoID09PSAwKSB7CiAgICAgICAgICAgICAgICAkKCIjbWFpbkJveCIpLmFmdGVyKCc8ZGl2IGNsYXNzPSJyZWNvbW1lbmQtcmlnaHQgIGFsaWduLWl0ZW1zLXN0cmV0Y2ggY2xlYXJmaXgiIGlkPSJyaWdodEFzaWRlIj48YXNpZGUgY2xhc3M9InJlY29tbWVuZC1yaWdodF9hc2lkZSI+PGRpdiBpZD0icmVjb21tZW5kLXJpZ2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ROb2RlLnJlcGxhY2VDaGlsZChlbENsb25lLCBlbCk7CiAgICAgICAgICAgIC8vIOS/neWtmGNzZG7nmoTnvZHpobXlho3mrKHmiZPlvIDkvJroh6rliqjot7PovazliLDpppbpobUgaHR0cHM6Ly9naXRodWIuY29tL2FkbGVyZWQvQ1NETkdyZWVuZXIvaXNzdWVzLzk3CiAgICAgICAgICAgICQoIltvbmVycm9yXSIpLnJlbW92ZSgpOwogICAgICAgICAgICAvLyBDU0RO6YeN5a6a5ZCR5aSW6ZO+5LiN6IO95Zyo5paw55qE56qX5Y+j6Lez6L2sIGh0dHBzOi8vZ2l0aHViLmNvbS9hZGxlcmVkL0NTRE5HcmVlbmVyL2lzc3Vlcy84MAogICAgICAgICAgICAkKCIjYXJ0aWNsZV9jb250ZW50IGFbaHJlZl0iKS5hdHRyKCJ0YXJnZXQiLCAiX2JsYW5rIik7CiAgICAgICAgICAgIC8vIOaQnOe0ouahhuS8mOWMlgogICAgICAgICAgICAvLyQoIiN0b29sYmFyLXNlYXJjaC1pbnB1dCIpLmNzcygid2lkdGgiLCAiY2FsYygxMDAlIC0gNDAwcHgpIik7CiAgICAgICAgICAgIC8vIOWPlua2iOS7o+eggeaKmOWPoAogICAgICAgICAgICAkKCIubG9vay1tb3JlLXByZUNvZGUiKS5jbGljaygpOwogICAgICAgICAgICAvLyDor6Lpl67mjqjojZDmmK/lkKbmnInmhI/kuYnnmoTpl67ljbfosIPmn6UKICAgICAgICAgICAgJCgiI3JlY29tbWVuZE5wcyIpLnJlbW92ZSgpOwogICAgICAgICAgICAvLyDnu7/ljJborr7nva4KICAgICAgICAgICAgY29tbW9uKDYsIDEpOwogICAgICAgICAgICAvLyDlsY/luZXpgILphY0KICAgICAgICAgICAgY29tbW9uKDQsIDEpOwogICAgICAgICAgICAvLyDor4TorroKICAgICAgICAgICAgY29tbW9uKDEsIDMwKTsKICAgICAgICAgICAgLy8g5YW25a6DCiAgICAgICAgICAgIGNvbW1vbigyLCAyMCk7CiAgICAgICAgICAgIC8vIOmhtumDqOaYvuekuuS9nOiAheS/oeaBrwogICAgICAgICAgICBjb21tb24oOCwgMSk7CiAgICAgICAgICAgIC8vIOWNmuWuouWPiuS4u+mhteS8mOWMlgogICAgICAgICAgICBjb21tb24oOSwgMTApOwogICAgICAgICAgICAvLyDlvqrnjq/nur/nqIvlvIDlp4sKICAgICAgICAgICAgbG9vcCgyKTsKICAgICAgICAgICAgbG9vcCgzKTsKICAgICAgICB9IGVsc2UgaWYgKGJicy50ZXN0KGN1cnJlbnRVUkwpKSB7CiAgICAgICAgICAgIGwoIuato+WcqOS8mOWMluiuuuWdm+S9k+mqjC4uLiIpOwogICAgICAgICAgICAvLyDluLjop4QKICAgICAgICAgICAgLy8g6K+E6K665bWM5YWl5bCP5bm/5ZGKCiAgICAgICAgICAgIHB1dCgiLnBvc3RfcmVjb21tZW5kIik7CiAgICAgICAgICAgIC8vIOW6lemDqOaOqOiNkAogICAgICAgICAgICBwdXQoIiNwb3N0X2ZlZWRfd3JhcCIpOwogICAgICAgICAgICAvLyDlupXpg6jnm7jlhbPmlofnq6Dph4zpnaLnmoTlub/lkYoKICAgICAgICAgICAgcHV0KCIuYmJzX2ZlZWRfYWRfYm94Iik7CiAgICAgICAgICAgIHB1dCgiLnJlY29tbWVuZC1hZC1ib3giKTsKICAgICAgICAgICAgLy8g5bqV6YOo55u45YWz5paH5a2X6YeM6Z2i55qE54Ot6K+N5o+Q56S6CiAgICAgICAgICAgIHB1dCgiLnR5cGVfaG90X3dvcmQiKTsKICAgICAgICAgICAgLy8g5bqV6YOo6JOd6ImyZmxleOWxnuaAp+eahOW5v+WRiuagjyvnmbvlvZXms6jlhozmoYYKICAgICAgICAgICAgcHV0KCIucHVsbGxvZy1ib3giKTsKICAgICAgICAgICAgLy8g54yc5L2g5Zac5qyiCiAgICAgICAgICAgIHB1dCgiLnBlcnNvbmFsaXplZC1yZWNvbW1lbmQtYm94Iik7CiAgICAgICAgICAgIC8vIOWPkeW4luWHj+WNiuaPkOekugogICAgICAgICAgICBwdXQoIi50b3Rhc3QtYm94Iik7CiAgICAgICAgICAgIC8vIOmhtumDqOW5v+WRigogICAgICAgICAgICBwdXQoIi5yZWNvbW1lbmQtcmlnaHQiKTsKICAgICAgICAgICAgLy8g6aG26YOo5bm/5ZGKCiAgICAgICAgICAgIHB1dCgiLmFkX3RvcCIpOwogICAgICAgICAgICAvLyDlj7Pkvqflub/lkYoKICAgICAgICAgICAgcHV0KCIuYWRfMSIpOwogICAgICAgICAgICBjbGVhbigxMCk7CiAgICAgICAgICAgIC8vIOWxleW8gAogICAgICAgICAgICBjb21tb24oMywgNTApOwogICAgICAgICAgICAvLyBjb21tb24oNSwgMTApOwogICAgICAgICAgICBsb29wKDMpOwogICAgICAgIH0gZWxzZSBpZiAoZG93bmxvYWQudGVzdChjdXJyZW50VVJMKSkgewogICAgICAgICAgICBsKCLmraPlnKjkvJjljJbkuIvovb3pobXkvZPpqowuLi4iKTsKICAgICAgICAgICAgLy8g5bi46KeECiAgICAgICAgICAgIHB1dCgiLmZpeGVkX2RsIik7CiAgICAgICAgICAgIHB1dCgiaW5kZXhTdXBlcmlzZSIpOwogICAgICAgICAgICAvLyDlj7PkvqfmjqjojZAKICAgICAgICAgICAgcHV0KCIuY29udGVudF9yZWNvbSIpOwogICAgICAgICAgICBjbGVhbigxMCk7CiAgICAgICAgICAgIC8vIGNvbW1vbig1LCAxMCk7CiAgICAgICAgICAgIGxvb3AoMyk7CiAgICAgICAgfSBlbHNlIGlmIChsb2dpbi50ZXN0KGN1cnJlbnRVUkwpKSB7CiAgICAgICAgICAgIGwoIuato+WcqOS8mOWMlueZu+W9lemhteS9k+mqjC4uLiIpOwogICAgICAgICAgICAvLyDluLjop4QKICAgICAgICAgICAgLy8g55m75b2V55WM6Z2i5aSn5Zu+5bm/5ZGKCiAgICAgICAgICAgIHB1dCgiLm1haW4tdHUiKTsKICAgICAgICAgICAgY2xlYW4oMTApOwogICAgICAgICAgICAvLyBjb21tb24oNSwgMTApOwogICAgICAgICAgICBsb29wKDMpOwogICAgICAgIH0gZWxzZSBpZiAoem9uZS50ZXN0KGN1cnJlbnRVUkwpKSB7CiAgICAgICAgICAgIGwoIuato+WcqOS8mOWMluS4quS6uuepuumXtOS9k+mqjC4uLiIpOwogICAgICAgICAgICAvLyDluLjop4QKICAgICAgICAgICAgY2xlYW4oMTApOwogICAgICAgICAgICBjb21tb24oNywgMTApOwogICAgICAgICAgICAvLyBjb21tb24oNSwgMTApOwogICAgICAgICAgICBsb29wKDMpOwogICAgICAgIH0gZWxzZSBpZiAobGluay50ZXN0KGN1cnJlbnRVUkwpKSB7CiAgICAgICAgICAgIC8vIOi3s+i/hyBDU0ROIOeahCBsaW5rIOmhtemdogogICAgICAgICAgICB2YXIgdXJsID0gbmV3IFVSTCh3aW5kb3cubG9jYXRpb24uaHJlZikKICAgICAgICAgICAgdmFyIHRhcmdldCA9IHVybC5zZWFyY2hQYXJhbXMuZ2V0KCd0YXJnZXQnKQogICAgICAgICAgICB3aW5kb3cubG9jYXRpb24uaHJlZiA9IHRhcmdldAogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgIGwoIuWTpuixge+8jOWlveWBj+mXqOeahOmhtemdou+8jOaIkeadpeivleedgOS8mOWMluS4gOS4i+WTpi4uLiIpOwogICAgICAgICAgICAvLyDluLjop4QKICAgICAgICAgICAgLy8g5bGV5byA5YWo5paHCiAgICAgICAgICAgICQoJy5yZWFkbW9yZV9idG4nKS5jbGljaygpOwogICAgICAgICAgICAvLyAqKiogaW5kZXggKioqCiAgICAgICAgICAgIC8vIOWktOmDqOW5v+WRigogICAgICAgICAgICBwdXQoIi5iYW5uZXItYWQtYm94Iik7CiAgICAgICAgICAgIC8vIOW1jOWFpeW5v+WRigogICAgICAgICAgICBwdXQoIiNrcF9ib3hfMjExIik7CiAgICAgICAgICAgIC8vIOWPs+S+p+W5v+WRigogICAgICAgICAgICBwdXQoIi5zbGlkZS1vdXRlciIpOwogICAgICAgICAgICAvLyDlj7Pkvqfor6bmg4UKICAgICAgICAgICAgcHV0KCIucGVyc2lvbl9hcnRpY2xlIik7CiAgICAgICAgICAgIC8vIOWPs+S+p+aOqOiNkAogICAgICAgICAgICAkKCIuZmVlZF9jb21wYW55IikucGFyZW50KCkucmVtb3ZlKCk7CiAgICAgICAgICAgIC8vICoqKiBhcnRpY2xlICoqKgogICAgICAgICAgICAvLyDluLjop4QKICAgICAgICAgICAgLy8g5Y+z5L6n5bm/5ZGK77yM5pS+5Yiw56ys5LiA5Liq5riF6ZmkCiAgICAgICAgICAgIHB1dCgiI2FkZEFkQm94Iik7CiAgICAgICAgICAgIHB1dCgiLnJlY29tbWVuZC10b3AtYWRib3giKTsKICAgICAgICAgICAgLy8g5b+r5p2l5YaZ5Y2a5a6i5ZCnCiAgICAgICAgICAgIHB1dCgiLmJsb2dfdGlwX2JveCIpOwogICAgICAgICAgICAvLyDmjqjojZDlhbPms6jnlKjmiLcKICAgICAgICAgICAgcHV0KCIuYmxvZy1leHBlcnQtcmVjb21tZW5kLWJveCIpOwogICAgICAgICAgICAvLyDlj7PkuIvop5JWSVAKICAgICAgICAgICAgcHV0KCIubWVhdS1nb3RvcC1ib3giKTsKICAgICAgICAgICAgLy8g5bm/5ZGKCiAgICAgICAgICAgIHB1dCgiLm1lZGlhdl9hZCIpOwogICAgICAgICAgICBwdXQoIi5wdWxsbG9nLWJveCIpOwogICAgICAgICAgICBwdXQoIi5yZWNvbW1lbmQtYWQtYm94Iik7CiAgICAgICAgICAgIC8vcHV0KCIuYm94LXNoYWRvdyIpOyDmn5DkupvpobXpnaLlvILluLjvvIzkvovlpoJjbG91ZC5jc2RuLm5ldAogICAgICAgICAgICBwdXQoIi50eXBlX2hvdF93b3JkIik7CiAgICAgICAgICAgIHB1dCgiLmZvdXJ0aF9jb2x1bW4iKTsKICAgICAgICAgICAgLy8gY2xvdWQuY3Nkbi5uZXQg5aS06YOo5bm/5ZGKCiAgICAgICAgICAgIHB1dCgiI2twX2JveF8xMTgiKTsKICAgICAgICAgICAgLy8g5bm/5ZGKCiAgICAgICAgICAgIHB1dCgiI2FzaWRlRm9vdGVyIik7CiAgICAgICAgICAgIHB1dCgiI2FkLWRpdiIpOwogICAgICAgICAgICBwdXQoIiM0NzkiKTsKICAgICAgICAgICAgcHV0KCIjNDgwIik7CiAgICAgICAgICAgIC8vIOaJk+i1jwogICAgICAgICAgICBwdXQoIi5wb3N0VGltZSIpOwogICAgICAgICAgICAvLyDor77nqIvmjqjojZAKICAgICAgICAgICAgcHV0KCIudDAiKTsKICAgICAgICAgICAgLy8g5YiG5Lqr5rW35oqlCiAgICAgICAgICAgIHB1dCgiLnNoYXJlU3VnZ2VzdCIpOwogICAgICAgICAgICAvLyDlupXpg6jkuLvpopgKICAgICAgICAgICAgcHV0KCIudGVtcGxhdGUtYm94Iik7CiAgICAgICAgICAgIC8vIOivhOiuuuWMuuW5v+WRigogICAgICAgICAgICBwdXQoImRpdiNkbXBfYWRfNTgiKTsKICAgICAgICAgICAgLy8g5omT6LWPCiAgICAgICAgICAgIHB1dCgiLnJld2FyZC11c2VyLWJveCIpOwogICAgICAgICAgICAvLyDlj7PkvqfmiZPotY/mjInpkq4KICAgICAgICAgICAgcHV0KCIudG8tcmV3YXJkIik7CiAgICAgICAgICAgIC8vIOaOqOiNkOWGheWuueW5v+WRigogICAgICAgICAgICBwdXQoIi5yZWNvbW1lbmQtcmVjb21tZW5kLWJveCIpOwogICAgICAgICAgICAvLyDlj7Pkvqflub/lkYoKICAgICAgICAgICAgcHV0KCIuaW5kZXhTdXBlcmlzZSIpOwogICAgICAgICAgICAvLyDmiqLmspnlj5Hop5LmoIcKICAgICAgICAgICAgcHV0KCIuY29tbWVudC1zb2ZhLWZsYWciKTsKICAgICAgICAgICAgLy8g6aG1amlvCiAgICAgICAgICAgIHB1dCgiLmJvdHRvbS1wdWItZm9vdGVyIik7CiAgICAgICAgICAgIC8vIOeZu+W9leafpeeci+acquivu+a2iOaBrwogICAgICAgICAgICBwdXQoIi50b29sYmFyLW5vdGljZS1idWJibGUiKTsKICAgICAgICAgICAgLy8g5Y+z5L6n5bm/5ZGKCiAgICAgICAgICAgIHB1dCgiLnJlY29tbWVuZC10b3AtYWRib3giKTsKICAgICAgICAgICAgLy8g5a2m6Zmi5by55Ye65bm/5ZGKCiAgICAgICAgICAgICQoIi5mb3VjZV9jbG9zZV9idG4iKS5jbGljaygpOwogICAgICAgICAgICAvLyDlhbblroMKICAgICAgICAgICAgLy8g5aS06YOo5bm/5ZGKCiAgICAgICAgICAgIHB1dCgiLmJhbm5lci1hZC1ib3giKTsKICAgICAgICAgICAgLy8g5Y+z5L6n5bm/5ZGKCiAgICAgICAgICAgIHB1dCgiLnNsaWRlLW91dGVyIik7CiAgICAgICAgICAgIC8vIOWPs+S+p+ivpuaDhQogICAgICAgICAgICBwdXQoIi5wZXJzaW9uX2FydGljbGUiKTsKICAgICAgICAgICAgLy8g5bem5L6n5bm/5ZGKCiAgICAgICAgICAgIHB1dCgiI2twX2JveF81MDMiKTsKICAgICAgICAgICAgcHV0KCIja3BfYm94XzIxNCIpOwogICAgICAgICAgICAvLyAqKiogYmJzICoqKgogICAgICAgICAgICAvLyDor4TorrrltYzlhaXlsI/lub/lkYoKICAgICAgICAgICAgcHV0KCIucG9zdF9yZWNvbW1lbmQiKTsKICAgICAgICAgICAgLy8g5bqV6YOo5o6o6I2QCiAgICAgICAgICAgIHB1dCgiI3Bvc3RfZmVlZF93cmFwIik7CiAgICAgICAgICAgIC8vIOW6lemDqOebuOWFs+aWh+eroOmHjOmdoueahOW5v+WRigogICAgICAgICAgICBwdXQoIi5iYnNfZmVlZF9hZF9ib3giKTsKICAgICAgICAgICAgcHV0KCIucmVjb21tZW5kLWFkLWJveCIpOwogICAgICAgICAgICAvLyDlupXpg6jnm7jlhbPmloflrZfph4zpnaLnmoTng63or43mj5DnpLoKICAgICAgICAgICAgcHV0KCIudHlwZV9ob3Rfd29yZCIpOwogICAgICAgICAgICAvLyDlupXpg6jok53oibJmbGV45bGe5oCn55qE5bm/5ZGK5qCPK+eZu+W9leazqOWGjOahhgogICAgICAgICAgICBwdXQoIi5wdWxsbG9nLWJveCIpOwogICAgICAgICAgICAvLyDnjJzkvaDllpzmrKIKICAgICAgICAgICAgcHV0KCIucGVyc29uYWxpemVkLXJlY29tbWVuZC1ib3giKTsKICAgICAgICAgICAgLy8g5Y+R5biW5YeP5Y2K5o+Q56S6CiAgICAgICAgICAgIHB1dCgiLnRvdGFzdC1ib3giKTsKICAgICAgICAgICAgLy8g6aG26YOo5bm/5ZGKCiAgICAgICAgICAgIHB1dCgiLnJlY29tbWVuZC1yaWdodCIpOwogICAgICAgICAgICAvLyDpobbpg6jlub/lkYoKICAgICAgICAgICAgcHV0KCIuYWRfdG9wIik7CiAgICAgICAgICAgIC8vICoqKiBkb3dubG9hZCAqKioKICAgICAgICAgICAgcHV0KCIuZml4ZWRfZGwiKTsKICAgICAgICAgICAgcHV0KCJpbmRleFN1cGVyaXNlIik7CiAgICAgICAgICAgIC8vIOWPs+S+p+aOqOiNkAogICAgICAgICAgICBwdXQoIi5jb250ZW50X3JlY29tIik7CiAgICAgICAgICAgIGNsZWFuKDEwKTsKICAgICAgICB9CiAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHsKICAgICAgICAgICAgcHJvZ3Jlc3Nvci5kb25lKCk7CiAgICAgICAgfSwgMCk7CiAgICAgICAgc3RvcFRpbWVNaWxsaSA9IERhdGUubm93KCk7CiAgICAgICAgbCgi5LyY5YyW5a6M5q+VISDogJfml7YgIiArIChzdG9wVGltZU1pbGxpIC0gc3RhcnRUaW1lTWlsbGkpICsgIm1zIik7CiAgICB9LCAwKTsKfSkoKTsKIApmdW5jdGlvbiBsKGxvZykgewogICAgY29uc29sZS5sb2coIltDU0ROR3JlZW5lcl0gIiArIGxvZyk7Cn0KIApmdW5jdGlvbiBlKGVycm9yKSB7CiAgICBjb25zb2xlLmVycm9yKCJbQ1NETkdyZWVuZXJdICIgKyBlcnJvcik7Cn0KIApmdW5jdGlvbiBjbGVhcigpIHsKICAgIGxpc3QgPSBbXTsKfQogCmZ1bmN0aW9uIHB1dCh0YWcpIHsKICAgIGxpc3QucHVzaCh0YWcpOwp9CiAKZnVuY3Rpb24gY2xlYW4odGltZXMpIHsKICAgIHZhciBsb29wID0gc2V0SW50ZXJ2YWwoZnVuY3Rpb24gKCkgewogICAgICAgIC0tdGltZXM7CiAgICAgICAgaWYgKHRpbWVzIDw9IDApIHsKICAgICAgICAgICAgY2xlYXJJbnRlcnZhbChsb29wKTsKICAgICAgICB9CiAgICAgICAgZm9yICh2YXIgayA9IDA7IGsgPCBsaXN0Lmxlbmd0aDsgaysrKSB7CiAgICAgICAgICAgICQobGlzdFtrXSkucmVtb3ZlKCk7CiAgICAgICAgfQogICAgfSwgMTAwKTsKICAgIHByb2dyZXNzb3IuaW5jUHJvZ3Jlc3MoMTApOwp9CiAKdmFyIGRlbGV0ZWRMb2dpbiA9IGZhbHNlOwogCmZ1bmN0aW9uIGxvb3AobnVtKSB7CiAgICBzZXRJbnRlcnZhbChmdW5jdGlvbiAoKSB7CiAgICAgICAgaWYgKG51bSA9PT0gMSkgewogICAgICAgICAgICAvLyDkuLvpobXkuK3pl7TnmoTlub/lkYoKICAgICAgICAgICAgJCgiLkpfYWR2IikucmVtb3ZlKCk7CiAgICAgICAgICAgIC8vIOS4u+mhteacieaWsOeahOWGheWuueaoquadoQogICAgICAgICAgICAkKCIuZmVlZC1maXgtYm94IikucmVtb3ZlKCk7CiAgICAgICAgICAgIC8vIOS4u+mhteW5v+WRiiBpZnJhbWUKICAgICAgICAgICAgaWYgKGN1cnJlbnRVUkwgPT0gImh0dHBzOi8vd3d3LmNzZG4ubmV0LyIpIHsKICAgICAgICAgICAgICAgICQoImlmcmFtZSIpLnJlbW92ZSgpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIC8vIOWIoOmZpCBDU0ROIOWumOaWueWcqOS4u+mhteeahOaWh+eroO+8iOWkp+WkmuaYr+W5v+WRiu+8iQogICAgICAgICAgICAkKCJsaS5jbGVhcmZpeCIpLmVhY2goZnVuY3Rpb24oaW5kZXgsIGVsZSkgewogICAgICAgICAgICAgICAgdmFyIGJhbm5lZCA9IC9jc2RuPFwvYT4vOwogICAgICAgICAgICAgICAgdmFyIGFNYXJrID0gJChlbGUpLmZpbmQoIi5uYW1lIikuaHRtbCgpOwogICAgICAgICAgICAgICAgaWYgKGJhbm5lZC50ZXN0KGFNYXJrKSkgewogICAgICAgICAgICAgICAgICAgICQoZWxlKS5yZW1vdmUoKTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIC8vIOS4u+mhteW5v+WRigogICAgICAgICAgICAkKCJsaSIpLmVhY2goZnVuY3Rpb24oKXsKICAgICAgICAgICAgICAgIGxldCBzZWxmID0gJCh0aGlzKTsKICAgICAgICAgICAgICAgIGxldCBkYXRhVHlwZSA9IHNlbGYuYXR0cignZGF0YS10eXBlJyk7CiAgICAgICAgICAgICAgICBpZiAoZGF0YVR5cGUgPT09ICdhZCcpIHsKICAgICAgICAgICAgICAgICAgICBzZWxmLnJlbW92ZSgpOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9KTsKICAgICAgICAgICAgLy8g5Li76aG15bm/5ZGKCiAgICAgICAgICAgICQoImxpID4gZGl2ID4gZGl2ID4gaDIgPiBhW2hyZWYqPSdodHRwczovL2VkdS5jc2RuLm5ldCddIikucGFyZW50KCkucGFyZW50KCkucGFyZW50KCkucGFyZW50KCkucmVtb3ZlKCk7CiAgICAgICAgICAgICQoImxpID4gZGl2ID4gZGl2ID4gaDIgPiBhW2hyZWYqPSdodHRwczovL21hcmtldGluZy5jc2RuLm5ldCddIikucGFyZW50KCkucGFyZW50KCkucGFyZW50KCkucGFyZW50KCkucmVtb3ZlKCk7CiAgICAgICAgICAgIC8vIOWumOaWueiEmuacrOaoquW5hQogICAgICAgICAgICAkKCIudG9vbGJhci1hZHZlcnQiKS5yZW1vdmUoKTsKICAgICAgICB9IGVsc2UgaWYgKG51bSA9PT0gMikgewogICAgICAgICAgICAvLyDor4Torrrmn6XnnIvmm7TlpJrlsZXlvIDnm5HlkKwKICAgICAgICAgICAgJCgiZGl2LmNvbW1lbnQtbGlzdC1ib3giKS5jc3MoIm1heC1oZWlnaHQiLCAibm9uZSIpOwogICAgICAgICAgICAvLyDlsY/olL3mgqjnmoTnvKnmlL7kuI3mmK8xMDAl55qE5o+Q56S6CiAgICAgICAgICAgICQoJy5sZWZ0UG9wJykucmVtb3ZlKCk7CiAgICAgICAgICAgIC8vIOWumOaWueiEmuacrOaoquW5hQogICAgICAgICAgICAkKCIudG9vbGJhci1hZHZlcnQiKS5yZW1vdmUoKTsKICAgICAgICB9IGVsc2UgaWYgKG51bSA9PSAzKSB7CiAgICAgICAgICAgIC8vIOW+queOr+WIoOmZpOeZu+W9leaPkOekuuahhgogICAgICAgICAgICBpZiAoJCgkKCIucGFzc3BvcnQtbG9naW4tY29udGFpbmVyIilbMF0pLmxlbmd0aCA9PSAxICYmIGRlbGV0ZWRMb2dpbiA9PSBmYWxzZSkgewogICAgICAgICAgICAgICAgbGV0IHBhc3NJbnRlcnZhbCA9IHNldEludGVydmFsKGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgICAgICQoJy5wYXNzcG9ydC1sb2dpbi1jb250YWluZXInKS5oaWRlKCk7CiAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coImhpZGUiKTsKICAgICAgICAgICAgICAgIH0sIDEwKTsKICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICAgICAgY2xlYXJJbnRlcnZhbChwYXNzSW50ZXJ2YWwpOwogICAgICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICQoIiNwYXNzcG9ydGJveCIpLmZpbmQoInNwYW4iKS5jbGljaygpOwogICAgICAgICAgICAgICAgICAgIH0sIDUwMCkKICAgICAgICAgICAgICAgIH0sIDUwMDApOwogICAgICAgICAgICAgICAgZGVsZXRlZExvZ2luID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgICAgICAvLyDnuqLljIXpm6gKICAgICAgICAgICAgJCgiI2NzZG4tcmVkcGFjayIpLnJlbW92ZSgpOwogICAgICAgIH0KICAgIH0sIDUwMCk7Cn0KIApmdW5jdGlvbiBjb21tb24obnVtLCB0aW1lcykgewogICAgdmFyIGxvb3AgPSBzZXRJbnRlcnZhbChmdW5jdGlvbiAoKSB7CiAgICAgICAgLS10aW1lczsKICAgICAgICBpZiAodGltZXMgPD0gMCkgewogICAgICAgICAgICBjbGVhckludGVydmFsKGxvb3ApOwogICAgICAgIH0KICAgICAgICBpZiAobnVtID09PSAxKSB7CiAgICAgICAgICAgIC8vIOafpeeci+abtOWkmgogICAgICAgICAgICAkKCIuYnRuLXJlYWRtb3JlIikucmVtb3ZlQ2xhc3MoIm5vLWxvZ2luIik7CiAgICAgICAgICAgICQoIi5idG4tcmVhZG1vcmUiKS5hZGRDbGFzcygiZmFucy1yZWFkLW1vcmUiKTsKICAgICAgICAgICAgJCgiLmJ0bi1yZWFkbW9yZSIpLnJlbW92ZUF0dHIoImhyZWYiKTsKICAgICAgICAgICAgJCgiLmJ0bi1yZWFkbW9yZSIpLnJlbW92ZUF0dHIoInRhcmdldCIpOwogICAgICAgICAgICAkKCIuYnRuLXJlYWRtb3JlIikucmVtb3ZlQXR0cigicmVsIik7CiAgICAgICAgICAgICQoIi5idG4tcmVhZG1vcmUiKS5jbGljaygpOwogICAgICAgICAgICAvLyDlt7LnmbvlvZXnlKjmiLflsZXlvIDor4TorroKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJidG5Nb3JlQ29tbWVudCIpLmNsaWNrKCk7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHt9CiAgICAgICAgICAgIC8vIOWIoOmZpOafpeeci+abtOWkmuaMiemSrgogICAgICAgICAgICAkKCIjYnRuTW9yZUNvbW1lbnQiKS5wYXJlbnQoImRpdi5vcHQtYm94IikucmVtb3ZlKCk7CiAgICAgICAgICAgIC8vIOWxleW8gOWGheWuuQogICAgICAgICAgICAkKCJkaXYuY29tbWVudC1saXN0LWJveCIpLmNzcygibWF4LWhlaWdodCIsICJub25lIik7CiAgICAgICAgICAgIC8vIOaUueWbnuiDjOaZr+minOiJsgogICAgICAgICAgICAkKCIubG9naW4tbWFyayIpLnJlbW92ZSgpOwogICAgICAgICAgICAvLyDliKDpmaTnmbvlvZXmoYYKICAgICAgICAgICAgJCgiLmxvZ2luLWJveCIpLnJlbW92ZSgpOwogICAgICAgIH0gZWxzZSBpZiAobnVtID09PSAyKSB7CiAgICAgICAgICAgIC8vIOaMoeS9j+ivhOiuuueahOKAnOWHuuWktOaOqOiNkOKAnQogICAgICAgICAgICBpZiAoJCgiLnJlY29tbWVuZC1ib3giKS5sZW5ndGggPiAxKSB7CiAgICAgICAgICAgICAgICAkKCIucmVjb21tZW5kLWJveCIpWzBdLnJlbW92ZSgpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIC8vIOWOu+mZpOaOqOW5v+W5v+WRigogICAgICAgICAgICAkKCJsaVtkYXRhLXR5cGU9J2FkJ10iKS5yZW1vdmUoKTsKICAgICAgICAgICAgLy8g5YWN55m75b2V5aSN5Yi2CiAgICAgICAgICAgICQoIi5obGpzLWJ1dHRvbiIpLnJlbW92ZUNsYXNzKCJzaWduaW4iKTsKICAgICAgICAgICAgJCgiLmhsanMtYnV0dG9uIikuYWRkQ2xhc3MoInsyfSIpOwogICAgICAgICAgICAkKCIuaGxqcy1idXR0b24iKS5hdHRyKCJkYXRhLXRpdGxlIiwgIuWFjeeZu+W9leWkjeWItiIpOwogICAgICAgICAgICAkKCIuaGxqcy1idXR0b24iKS5hdHRyKCJvbmNsaWNrIiwgImhsanMuY29weUNvZGUoZXZlbnQpO3NldFRpbWVvdXQoZnVuY3Rpb24oKXskKCcuaGxqcy1idXR0b24nKS5hdHRyKCdkYXRhLXRpdGxlJywgJ+WFjeeZu+W9leWkjeWIticpO30sMzUwMCk7Iik7CiAgICAgICAgICAgICQoIiNjb250ZW50X3ZpZXdzIikudW5iaW5kKCJjb3B5Iik7CiAgICAgICAgICAgIC8vIOWOu+mZpOWJqui0tOadv+WKq+aMgQogICAgICAgICAgICAkKCJjb2RlIikuYXR0cigib25jbGljayIsICJtZGNwLmNvcHlDb2RlKGV2ZW50KSIpOwogICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgLy8g5aSN5Yi25pe25L+d55WZ5Y6f5paH5qC85byP77yM5Y+C6ICDIGh0dHBzOi8vZ3JlYXN5Zm9yay5vcmcvZW4vc2NyaXB0cy8zOTA1MDItY3NkbnJlbW92ZWNvcHlyaWdodC9jb2RlCiAgICAgICAgICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkod2luZG93LCAiYXJ0aWNsZVR5cGUiLCB7CiAgICAgICAgICAgICAgICAgICAgdmFsdWU6IDAsCiAgICAgICAgICAgICAgICAgICAgd3JpdGFibGU6IGZhbHNlLAogICAgICAgICAgICAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9IGNhdGNoIChlcnIpIHsKICAgICAgICAgICAgfQogICAgICAgICAgICBjc2RuLmNvcHlyaWdodC5pbml0KCIiLCAiIiwgIiIpOwogICAgICAgICAgICAvLyDpobXlpLTlub/lkYoKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRzQnlDbGFzc05hbWUoImNvbHVtbi1hZHZlcnQtYm94IilbMF0uc3R5bGUuZGlzcGxheT0ibm9uZSI7CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHt9CiAgICAgICAgICAgIC8vIOiHquWKqOajgOa1i+aYr+WQpuacieebruW9le+8jOWmguaenOayoeacieWImeWIoOmZpOWPs+i+ueagj++8jOaWh+eroOWxheS4rQogICAgICAgICAgICBpZiAoJCgiLnJlY29tbWVuZC1yaWdodF9hc2lkZSIpLmh0bWwoKSAmJiAkKCIucmVjb21tZW5kLXJpZ2h0X2FzaWRlIikuaHRtbCgpLnJlcGxhY2UoL1tcclxuXS9nLCAiIikucmVwbGFjZSgvKFxzKS9nLCAiIikgPT09ICIiKSB7CiAgICAgICAgICAgICAgICAkKCIjcmlnaHRBc2lkZSIpLnJlbW92ZSgpOwogICAgICAgICAgICB9IGVsc2UgaWYgKCQoIi5yZWNvbW1lbmQtcmlnaHRfYXNpZGUiKS5odG1sKCkgJiYgJCgiI3JlY29tbWVuZC1yaWdodCIpLmh0bWwoKS5yZXBsYWNlKC9bXHJcbl0vZywgIiIpLnJlcGxhY2UoLyhccykvZywgIiIpID09PSAiIikgewogICAgICAgICAgICAgICAgJCgiI3JpZ2h0QXNpZGUiKS5yZW1vdmUoKTsKICAgICAgICAgICAgfQogICAgICAgICAgICAvLyDnmbvlvZXmjInpkq7mloflrZflpKrlpJrvvIzkv67mlLkKICAgICAgICAgICAgJCgiYSIpLmVhY2goZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICBpZiAoJCh0aGlzKS5hdHRyKCdocmVmJykgPT09ICdodHRwczovL3Bhc3Nwb3J0LmNzZG4ubmV0L2FjY291bnQvbG9naW4nKSB7CiAgICAgICAgICAgICAgICAgICAgJCh0aGlzKS5odG1sKCfnmbvlhaUnKTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIC8vIOmhtuagj+W5v+WRigogICAgICAgICAgICAkKCJsaSIpLmVhY2goZnVuY3Rpb24oKXsKICAgICAgICAgICAgICAgIGxldCBzZWxmID0gJCh0aGlzKTsKICAgICAgICAgICAgICAgIGxldCBkYXRhVHlwZSA9IHNlbGYuYXR0cignZGF0YS1zdWItbWVudS10eXBlJyk7CiAgICAgICAgICAgICAgICBpZiAoZGF0YVR5cGUgPT09ICd2aXAnKSB7CiAgICAgICAgICAgICAgICAgICAgc2VsZi5yZW1vdmUoKTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIGxldCBkYXRhVGl0bGUgPSBzZWxmLmF0dHIoJ3RpdGxlJyk7CiAgICAgICAgICAgICAgICBpZiAoZGF0YVRpdGxlID09PSAn6auY5Lu35YC85rqQ56CB6K++56iL5YiG5LqrJyB8fCBkYXRhVGl0bGUgPT09ICfns7vnu5/lrabkuaDCt+mXruetlMK35q+U6LWbJyB8fCBkYXRhVGl0bGUgPT09ICfnroDljZXpq5jmlYjkvJjmg6DnmoTkupHmnI3liqEnKSB7CiAgICAgICAgICAgICAgICAgICAgc2VsZi5yZW1vdmUoKTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIC8vIOmhtuagj1ZJUOmAiemhuQogICAgICAgICAgICAkKCcudG9vbGJhci1zdWJNZW51LWJveCcpLmZpbmQoIltocmVmPSdodHRwczovL21hbGwuY3Nkbi5uZXQvdmlwJ10iKS5wYXJlbnQoKS5yZW1vdmUoKTsKICAgICAgICB9IGVsc2UgaWYgKG51bSA9PSAzKSB7CiAgICAgICAgICAgIC8v6K665Z2b6Ieq5Yqo5bGV5byACiAgICAgICAgICAgICQoIi5qc19zaG93X3RvcGljIikuY2xpY2soKTsKICAgICAgICB9IGVsc2UgaWYgKG51bSA9PSA0KSB7CiAgICAgICAgICAgIC8qKiDphY3nva7mjqfliLYgKiovCiAgICAgICAgICAgIGxldCBjb25maWcgPSBuZXcgQ29uZmlnKCk7CiAgICAgICAgICAgIGxldCBzbUNvb2tpZSA9IGNvbmZpZy5nZXQoInNjci1zbSIsIHRydWUpOwogICAgICAgICAgICBsZXQgbWRDb29raWUgPSBjb25maWcuZ2V0KCJzY3ItbWQiLCBmYWxzZSk7CiAgICAgICAgICAgIGxldCBsZ0Nvb2tpZSA9IGNvbmZpZy5nZXQoInNjci1sZyIsIGZhbHNlKTsKICAgICAgICAgICAgbGV0IGZvQ29va2llID0gY29uZmlnLmdldCgic2NyLWZvIiwgZmFsc2UpCiAKICAgICAgICAgICAgJCgiI3Njci1zbSIpLnByb3AoImNoZWNrZWQiLCBzbUNvb2tpZSk7CiAgICAgICAgICAgICQoIiNzY3ItbWQiKS5wcm9wKCJjaGVja2VkIiwgbWRDb29raWUpOwogICAgICAgICAgICAkKCIjc2NyLWxnIikucHJvcCgiY2hlY2tlZCIsIGxnQ29va2llKTsKICAgICAgICAgICAgJCgiI3Njci1mbyIpLnByb3AoImNoZWNrZWQiLCBmb0Nvb2tpZSk7CiAKICAgICAgICAgICAgaWYgKHNtQ29va2llKSB7CiAgICAgICAgICAgICAgICAvLyBTbWFsbCBTY3JlZW4gTW9kZQogICAgICAgICAgICAgICAgJCgiLm1haW5fZmF0aGVyIikucmVtb3ZlQ2xhc3MoImp1c3RpZnktY29udGVudC1jZW50ZXIiKTsKICAgICAgICAgICAgICAgIEdNX2FkZFN0eWxlKGAKICAgICAgICAgICAgICAgIG1haW57CiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IGF1dG8haW1wb3J0YW50OwogICAgICAgICAgICAgICAgICAgIGZsb2F0OiBub25lIWltcG9ydGFudDsKICAgICAgICAgICAgICAgICAgICBtYXgtd2lkdGg6IDkwdnc7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBtYWluIGFydGljbGUgaW1newogICAgICAgICAgICAgICAgICAgIG1hcmdpbjogMCBhdXRvOwogICAgICAgICAgICAgICAgICAgIG1heC13aWR0aDogMTAwJTsKICAgICAgICAgICAgICAgICAgICBvYmplY3QtZml0OiBjb3ZlcjsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIGApOwogICAgICAgICAgICAgICAgJCgiI21haW5Cb3giKS5jc3MoIndpZHRoIiwgIjEwMCUiKTsKICAgICAgICAgICAgfSBlbHNlIGlmIChtZENvb2tpZSkgewogICAgICAgICAgICAgICAgLy8gTWlkZGxlIFNjcmVlbiBNb2RlCiAgICAgICAgICAgICAgICAkKCIubWFpbl9mYXRoZXIiKS5yZW1vdmVDbGFzcygianVzdGlmeS1jb250ZW50LWNlbnRlciIpOwogICAgICAgICAgICB9IGVsc2UgaWYgKGxnQ29va2llKSB7CiAgICAgICAgICAgICAgICAvLyBMYXJnZSBTY3JlZW4gTW9kZQogICAgICAgICAgICAgICAgJCgiLmNvbnRhaW5lciIpLmNzcygibWFyZ2luIiwgIjAgYXV0byIpCiAgICAgICAgICAgIH0gZWxzZSBpZiAoZm9Db29raWUpIHsKICAgICAgICAgICAgICAgIC8vIEZvY3VzIG1vZGUKICAgICAgICAgICAgICAgICQoIi5yZWNvbW1lbmQtcmlnaHQiKS5yZW1vdmUoKTsKICAgICAgICAgICAgICAgICQoIi5jb250YWluZXIiKS5jc3MoIndpZHRoIiwgIjEwMCUiKTsKICAgICAgICAgICAgICAgICQoIi5jb250YWluZXIgPiBtYWluIikuY3NzKCJ3aWR0aCIsICIxMDAlIik7CiAgICAgICAgICAgIH0KIAogICAgICAgICAgICAvLyDlsY/luZXlsLrlr7jljZXpgInnm5HlkKwKICAgICAgICAgICAgJCgiI3Njci1zbSIpLmNsaWNrKGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIG5ldyBDb25maWcoKS5zZXQoInNjci1zbSIsIHRydWUpOwogICAgICAgICAgICAgICAgbmV3IENvbmZpZygpLnNldCgic2NyLW1kIiwgZmFsc2UpOwogICAgICAgICAgICAgICAgbmV3IENvbmZpZygpLnNldCgic2NyLWxnIiwgZmFsc2UpOwogICAgICAgICAgICAgICAgbmV3IENvbmZpZygpLnNldCgic2NyLWZvIiwgZmFsc2UpOwogICAgICAgICAgICB9KTsKICAgICAgICAgICAgJCgiI3Njci1tZCIpLmNsaWNrKGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIG5ldyBDb25maWcoKS5zZXQoInNjci1tZCIsIHRydWUpOwogICAgICAgICAgICAgICAgbmV3IENvbmZpZygpLnNldCgic2NyLXNtIiwgZmFsc2UpOwogICAgICAgICAgICAgICAgbmV3IENvbmZpZygpLnNldCgic2NyLWxnIiwgZmFsc2UpOwogICAgICAgICAgICAgICAgbmV3IENvbmZpZygpLnNldCgic2NyLWZvIiwgZmFsc2UpOwogICAgICAgICAgICB9KTsKICAgICAgICAgICAgJCgiI3Njci1sZyIpLmNsaWNrKGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIG5ldyBDb25maWcoKS5zZXQoInNjci1sZyIsIHRydWUpOwogICAgICAgICAgICAgICAgbmV3IENvbmZpZygpLnNldCgic2NyLXNtIiwgZmFsc2UpOwogICAgICAgICAgICAgICAgbmV3IENvbmZpZygpLnNldCgic2NyLW1kIiwgZmFsc2UpOwogICAgICAgICAgICAgICAgbmV3IENvbmZpZygpLnNldCgic2NyLWZvIiwgZmFsc2UpOwogICAgICAgICAgICB9KTsKICAgICAgICAgICAgJCgiI3Njci1mbyIpLmNsaWNrKGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgIG5ldyBDb25maWcoKS5zZXQoInNjci1mbyIsIHRydWUpOwogICAgICAgICAgICAgICAgbmV3IENvbmZpZygpLnNldCgic2NyLXNtIiwgZmFsc2UpOwogICAgICAgICAgICAgICAgbmV3IENvbmZpZygpLnNldCgic2NyLW1kIiwgZmFsc2UpOwogICAgICAgICAgICAgICAgbmV3IENvbmZpZygpLnNldCgic2NyLWxnIiwgZmFsc2UpOwogICAgICAgICAgICB9KTsKICAgICAgICAgICAgLy8g5Yik5pat5piv5ZCm5Li655m75b2V54q25oCBCiAgICAgICAgICAgICQoImEiKS5lYWNoKGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgaWYgKCQodGhpcykuYXR0cignaHJlZicpID09PSAnaHR0cHM6Ly9wYXNzcG9ydC5jc2RuLm5ldC9hY2NvdW50L2xvZ2luJykgewogICAgICAgICAgICAgICAgICAgIC8vIOacqueZu+W9leWIoOmZpOaXoOeUqOaMiemSrgogICAgICAgICAgICAgICAgICAgICQoImE6Y29udGFpbnMoJ+S8muWRmOS4reW/gycpIikucGFyZW50KCkucmVtb3ZlKCk7CiAgICAgICAgICAgICAgICAgICAgJCgiYTpjb250YWlucygn5pS26JePJykiKS5yZW1vdmUoKTsKICAgICAgICAgICAgICAgICAgICAkKCJhOmNvbnRhaW5zKCfliqjmgIEnKSIpLnBhcmVudCgpLnJlbW92ZSgpOwogICAgICAgICAgICAgICAgICAgICQoImE6Y29udGFpbnMoJ+WIm+S9nCcpIikucGFyZW50KCkucmVtb3ZlKCk7CiAgICAgICAgICAgICAgICAgICAgJCgiLnRvb2xiYXItYnRuLWNvbGxlY3QiKS5yZW1vdmUoKTsKICAgICAgICAgICAgICAgICAgICAkKCIuYnRuLXdyaXRlLW5ldyIpLnJlbW92ZSgpOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9KTsKICAgICAgICB9IGVsc2UgaWYgKG51bSA9PSA1KSB7CiAgICAgICAgICAgIC8vIOaUueWbnuiDjOaZr+minOiJsgogICAgICAgICAgICAkKCIubG9naW4tbWFyayIpLnJlbW92ZSgpOwogICAgICAgICAgICAvLyDliKDpmaTnmbvlvZXmoYYKICAgICAgICAgICAgJCgiLmxvZ2luLWJveCIpLnJlbW92ZSgpOwogICAgICAgIH0gZWxzZSBpZiAobnVtID09IDYpIHsKICAgICAgICAgICAgbGV0IGRpZCA9IGZhbHNlOwogICAgICAgICAgICBsZXQgY29uZmlnSFRNTCA9ICcnOwogICAgICAgICAgICBjb25maWdIVE1MICs9ICc8ZGl2IGNsYXNzPSJjb25maWdDb250YWluZXIiPjxwPjxhIGNsYXNzPSJ0aXRsZSIgaHJlZj0iaHR0cHM6Ly9naXRodWIuY29tL2FkbGVyZWQvQ1NETkdyZWVuZXIiIHRhcmdldD0iX2JsYW5rIj5DU0ROR3JlZW5lcjwvYT4gPHN1cD5WJyArIHZlcnNpb24gKyAnICcgKyBzZXR0aW5nc19zdmcgKyAnPC9zdXA+PC9wPic7CiAgICAgICAgICA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CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbigpIHskKCIucmVjb21tZW5kLWJveCIpLnNsaWRlRG93bigyMDApO30sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbigpIHskKCIucmVjb21tZW5kLWJveCIpLnNsaWRlVXAoMjAwKTt9KTsKICAgICAgICAgICAgY29uZmlnLmxpc3RlbkJ1dHRvbkFuZEFjdGlvbigiI3RvZ2dsZS1idXR0b24iLCAicmVjb21tZW5kIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbigpIHskKCIucmVjb21tZW5kLWJveCIpLnNsaWRlRG93bigyMDApO30sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbigpIHskKCIucmVjb21tZW5kLWJveCIpLnNsaWRlVXAoMjAwKTt9KTsKIAogICAgICAgICAgICAvLyDmmL7npLrlsI/lupcKICAgICAgICAgICAgbGV0IHNob3BDb29raWUgPSBjb25maWcuZ2V0KCdzaG9wJyxmYWxzZSk7CiAgICAgICAgICAgIGlmKCFzaG9wQ29va2llKXsKICAgICAgICAgICAgICAgICQoIiNjc2RuLXNob3Atd2luZG93IikuaGlkZSgpOwogICAgICAgICAgICAgICAgJCgiI2NzZG4tc2hvcC13aW5kb3ctdG9wIikuaGlkZSgpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGlmIChzaG9wQ29va2llKSB7CiAgICAgICAgICAgICAgICAkKCIjdG9nZ2xlLXNob3AtYnV0dG9uIikucHJvcCgiY2hlY2tlZCIsIHRydWUpOwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgJCgiI3RvZ2dsZS1zaG9wLWJ1dHRvbiIpLnByb3AoImNoZWNrZWQiLCBmYWxzZSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgY29uZmlnLmxpc3RlbkJ1dHRvbigiI3RvZ2dsZS1zaG9wLWJ1dHRvbiIsICJzaG9wIiwKICAgICA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ICAgICAgICAgaWYgKGF1dGhvckNhcmRDb29raWUpIHsKICAgICAgICAgICAgICAgIC8vIOWNmuS4u+S/oeaBrwogICAgICAgICAgICAgICAgJCgnI3JlY29tbWVuZC1yaWdodCcpLmFwcGVuZCgkKCcjYXNpZGVQcm9maWxlJykucHJvcCgib3V0ZXJIVE1MIikpOwogICAgICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHsKICAgICAgICAgICAgICAgICAgICAkKCcjYXNpZGVQcm9maWxlJykuYXR0cigic3R5bGUiLCAibWFyZ2luLXRvcDogOHB4OyB3aWR0aDogMzAwcHg7Iik7CiAgICAgICAgICAgICAgICB9LCA1MDApOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGlmIChhdXRob3JDYXJkQ29va2llKSB7CiAgICAgICAgICAgICAgICAkKCIjdG9nZ2xlLWF1dGhvcmNhcmQtYnV0dG9uIikucHJvcCgiY2hlY2tlZCIsIHRydWUpOwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgJCgiI3RvZ2dsZS1hdXRob3JjYXJkLWJ1dHRvbiIpLnByb3AoImNoZWNrZWQiLCBmYWxzZSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgY29uZmlnLmxpc3RlbkJ1dHRvbigiI3RvZ2dsZS1hdXRob3JjYXJkLWJ1dHRvbiIsICJhdXRob3JDYXJkIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uKCkge2xvY2F0aW9uLnJlbG9hZCgpO30sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbigpIHtsb2NhdGlvbi5yZWxvYWQoKTt9KTsKIAogICAgICAgICAgICAvLyDlvLrliLbnmb3oibLkuLvpopgKICAgICAgICAgICAgbGV0IHdoaXRlVGhlbWVDb29raWUgPSBjb25maWcuZ2V0KCJ3aGl0ZVRoZW1lIiwgZmFsc2UpOwogICAgICAgICAgICBpZiAod2hpdGVUaGVtZUNvb2tpZSk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WxzZSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgY29uZmlnLmxpc3RlbkJ1dHRvbigiI3RvZ2dsZS13aGl0ZXRoZW1lLWJ1dHRvbiIsICJ3aGl0ZVRoZW1lIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uKCkge2xvY2F0aW9uLnJlbG9hZCgpO30sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbigpIHtsb2NhdGlvbi5yZWxvYWQoKTt9KTsKIAogICAgICAgICAgICAvLyDog4zmma/lm74KICAgICAgICAgICAgbGV0IGJhY2tncm91bmRJbWFnZSA9IEdNX2dldFZhbHVlKCJiYWNrZ3JvdW5kSW1hZ2UiLCAiIik7CiAgICAgICAgICAgIGlmIChiYWNrZ3JvdW5kSW1hZ2UgIT09ICIiKSB7CiAgICAgICAgICAgICAgICAkKCIjYmFja2dyb3VuZEltZ1VybCIpLnZhbChiYWNrZ3JvdW5kSW1hZ2UpOwogICAgICAgICAgICAgICAgJCgiLm1haW5fZmF0aGVyIikuYXR0cignc3R5bGUnLCAnYmFja2dyb3VuZC1pbWFnZTp1cmwoJyArIGJhY2tncm91bmRJbWFnZSArICcpO2JhY2tncm91bmQtYXR0YWNobWVudDpmaXhlZDtiYWNrZ3JvdW5kLXNpemU6MTAwJTsnKTsKICAgICAgICAgICAgfQogICAgICAgICAgICAkKCcjYmFja2dyb3VuZEltZ1VybCcpLm9uKCdpbnB1dCcsIGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgR01fc2V0VmFsdWUoImJhY2tncm91bmRJbWFnZSIsICQoIiNiYWNrZ3JvdW5kSW1nVXJsIikudmFsKCkpOwogICAgICAgICAgICB9KTsKICAgICAgICAgICAgJCgnI2JhY2tncm91bmRJbWdVcmwnKS5vbignY2hhbmdlJywgZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICBHTV9zZXRWYWx1ZSgiYmFja2dyb3VuZEltYWdlIiwgJCgiI2JhY2tncm91bmRJbWdVcmwiKS52YWwoKSk7CiAgICAgICAgICAgIH0pOwogICAgICAgICAgICAkKCIjdXBsb2FkX2JnIikub24oJ2NoYW5nZScsIGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgbGV0IGZpbGUgPSAkKCIjdXBsb2FkX2JnIilbMF0uZmlsZXNbMF07CiAgICAgICAgICAgICAgICBsZXQgcmVhZGVyID0gbmV3IEZpbGVSZWFkZXIoKTsKICAgICAgICAgICAgICAgIHJlYWRlci5vbmxvYWRlbmQgPSBmdW5jdGlvbiAoZSkgewogICAgICAgICAgICAgICAgICAgIGxldCBiYXNlNjQgPSBlLnRhcmdldC5yZXN1bHQ7CiAgICAgICAgICAgICAgICAgICAgJCgnI2JhY2tncm91bmRJbWdVcmwnKS52YWwoYmFzZTY0KTsKICAgICAgICAgICAgICAgICAgICAkKCcjYmFja2dyb3VuZEltZ1VybCcpLmNoYW5nZSgpOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgcmVhZGVyLnJlYWRBc0RhdGFVUkwoZmlsZSk7CiAgICAgICAgICAgIH0pOwogCiAgICAgICAgICAgIC8vIOaQnOWNmuS4u+aWh+eroAogICAgICAgICAgICBsZXQgc2VhcmNoQmxvZ0Nvb2tpZSA9IGNvbmZpZy5nZXQoInNlYXJjaEJsb2ciLCBmYWxzZSk7CiAgICAgICAgICAgIGlmKHNlYXJjaEJsb2dDb29raWUpIHsKICAgICAgICAgICAgICAgICQoJyNyZWNvbW1lbmQtcmlnaHQnKS5hcHBlbmQoJCgnI2FzaWRlU2VhcmNoQXJ0aWNsZScpLnByb3AoIm91dGVySFRNTCIpKTsKICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICAgICAgJCgnI2FzaWRlU2VhcmNoQXJ0aWNsZScpLmF0dHIoInN0eWxlIiwgIm1hcmdpbi10b3A6IDhweDsgd2lkdGg6IDMwMHB4OyIpOwogICAgICAgICAgICAgICAgICAgIHZhciBpID0gJCgiI3NlYXJjaC1ibG9nLXdvcmRzIikKICAgICAgICAgICAgICAgICAgICAgICwgbiA9ICQoIi5idG4tc2VhcmNoLWJsb2ciKTsKICAgICAgICAgICAgICAgICAgICBpLmtleXVwKGZ1bmN0aW9uKHQpIHsKICAgICAgICAgICAgICAgICAgICAgICAgdmFyIG4gPSB0LmtleUNvZGU7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmICgxMyA9PSBuKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgZSA9IGVuY29kZVVSSUNvbXBvbmVudChpLnZhbCgpKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChlKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHMgPSAiLy9zby5jc2RuLm5ldC9zby9zZWFyY2gvcy5kbz9xPSIgKyBlICsgIiZ0PWJsb2cmdT0iICsgdXNlcm5hbWU7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2luZG93Lm9wZW4ocykKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgICAgIG4ub24oImNsaWNrIiwgZnVuY3Rpb24odCkgewogICAgICAgICAgICAgICAgICAgICAgICB2YXIgbiA9IGVuY29kZVVSSUNvbXBvbmVudChpLnZhbCgpKTsKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKG4pIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBlID0gIi8vc28uY3Nkbi5uZXQvc28vc2VhcmNoL3MuZG8/cT0iICsgbiArICImdD1ibG9nJnU9IiArIHVzZXJuYW1lOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgd2luZG93Lm9wZW4oZSkKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICB0LnByZXZlbnREZWZhdWx0KCkKICAgICAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgICAgIH0sIDUwMCk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgaWYgKHNlYXJjaEJsb2dDb29raWUpIHsKICAgICAgICAgICAgICAgICQoIiN0b2dnbGUtc2VhcmNoYmxvZy1idXR0b24iKS5wcm9wKCJjaGVja2VkIiwgdHJ1ZSk7CiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAkKCIjdG9nZ2xlLXNlYXJjaGJsb2ctYnV0dG9uIikucHJvcCgiY2hlY2tlZCIsIGZhbHNlKTsKICAgICAgICAgICAgfQogICAgICAgICAgICBjb25maWcubGlzdGVuQnV0dG9uKCIjdG9nZ2xlLXNlYXJjaGJsb2ctYnV0dG9uIiwgInNlYXJjaEJsb2ciLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZnVuY3Rpb24oKSB7bG9jYXRpb24ucmVsb2FkKCk7fSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uKCkge2xvY2F0aW9uLnJlbG9hZCgpO30pOwogCiAgICAgICAgICAgIC8vIOacgOaWsOaWh+eroAogICAgICAgICAgICBsZXQgbmV3QXJ0aWNsZUNvb2tpZSA9IGNvbmZpZy5nZXQoIm5ld0FydGljbGUiLCBmYWxzZSk7CiAgICAgICAgICAgIGlmIChuZXdBcnRpY2xlQ29va2llKSB7CiAgICAgICAgICAgICAgICAkKCcjcmVjb21tZW5kLXJpZ2h0JykuYXBwZW5kKCQoJyNhc2lkZU5ld0FydGljbGUnKS5wcm9wKCJvdXRlckhUTUwiKSk7CiAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgICAgICQoJyNhc2lkZU5ld0FydGljbGUnKS5hdHRyKCJzdHlsZSIsICJtYXJnaW4tdG9wOiA4cHg7IHdpZHRoOiAzMDBweDsiKTsKICAgICAgICAgICAgICAgIH0sIDApOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGlmIChuZXdBcnRpY2xlQ29va2llKSB7CiAgICAgICAgICAgICAgICAkKCIjdG9nZ2xlLW5ld2FydGljbGUtYnV0dG9uIikucHJvcCgiY2hlY2tlZCIsIHRydWUpOwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgJCgiI3RvZ2dsZS1uZXdhcnRpY2xlLWJ1dHRvbiIpLnByb3AoImNoZWNrZWQiLCBmYWxzZSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgY29uZmlnLmxpc3RlbkJ1dHRvbigiI3RvZ2dsZS1uZXdhcnRpY2xlLWJ1dHRvbiIsICJuZXdBcnRpY2xlIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uKCkge2xvY2F0aW9uLnJlbG9hZCgpO30sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbigpIHtsb2NhdGlvbi5yZWxvYWQoKTt9KTsKIAogICAgICAgICAgICAvLyDng63pl6jmlofnq6AKICAgICAgICAgICAgbGV0IGhvdEFydGljbGVDb29raWUgPSBjb25maWcuZ2V0KCJob3RBcnRpY2xlIiwgZmFsc2UpOwogICAgICAgICAgICBpZiAoaG90QXJ0aWNsZUNvb2tpZSkgewogICAgICAgICAgICAgICAgJCgnI3JlY29tbWVuZC1yaWdodCcpLmFwcGVuZCgkKCIjYXNpZGVIb3RBcnRpY2xlIikucHJvcCgib3V0ZXJIVE1MIikpOwogICAgICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHsKICAgICAgICAgICAgICAgICAgICAkKCcjYXNpZGVIb3RBcnRpY2xlJykuYXR0cigic3R5bGUiLCAibWFyZ2luLXRvcDogOHB4OyB3aWR0aDogMzAwcHg7Iik7CiAgICAgICAgICAgICAgICAgICAgJCgnI2FzaWRlSG90QXJ0aWNsZSBpbWcnKS5yZW1vdmUoKTsKICAgICAgICAgICAgICAgIH0sIDApOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGlmIChob3RBcnRpY2xlQ29va2llKSB7CiAgICAgICAgICAgICAgICAkKCIjdG9nZ2xlLWhvdGFydGljbGUtYnV0dG9uIikucHJvcCgiY2hlY2tlZCIsIHRydWUpOwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgJCgiI3RvZ2dsZS1ob3RhcnRpY2xlLWJ1dHRvbiIpLnByb3AoImNoZWNrZWQiLCBmYWxzZSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgY29uZmlnLmxpc3RlbkJ1dHRvbigiI3RvZ2dsZS1ob3RhcnRpY2xlLWJ1dHRvbiIsICJob3RBcnRpY2xlIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uKCkge2xvY2F0aW9uLnJlbG9hZCgpO30sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbigpIHtsb2NhdGlvbi5yZWxvYWQoKTt9KTsKIAogICAgICAgICAgICAvLyDmnIDmlrDor4TorroKICAgICAgICAgICAgbGV0IG5ld0NvbW1lbnRzQ29va2llID0gY29uZmlnLmdldCgibmV3Q29tbWVudHMiLCBmYWxzZSk7CiAgICAgICAgICAgIGlmIChuZXdDb21tZW50c0Nvb2tpZSkgewogICAgICAgICAgICAgICAgJCgnI3JlY29tbWVuZC1yaWdodCcpLmFwcGVuZCgkKCIjYXNpZGVOZXdDb21tZW50cyIpLnByb3AoIm91dGVySFRNTCIpKTsKICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICAgICAgJCgnI2FzaWRlTmV3Q29tbWVudHMnKS5hdHRyKCJzdHlsZSIsICJtYXJnaW4tdG9wOiA4cHg7IHdpZHRoOiAzMDBweDsiKTsKICAgICAgICAgICAgICAgICAgICAkKCIuY29tbWVudC5lbGxpcHNpcyIpLmF0dHIoInN0eWxlIiwgIm1heC1oZWlnaHQ6IG5vbmU7Iik7CiAgICAgICAgICAgICAgICAgICAgJCgiLnRpdGxlLnRleHQtdHJ1bmNhdGUiKS5hdHRyKCJzdHlsZSIsICJwYWRkaW5nOiAwIik7CiAgICAgICAgICAgICAgICB9LCAwKTsKICAgICAgICAgICAgfQogICAgICAgICAgICBpZiAobmV3Q29tbWVudHNDb29raWUpIHsKICAgICAgICAgICAgICAgICQoIiN0b2dnbGUtbmV3Y29tbWVudHMtYnV0dG9uIikucHJvcCgiY2hlY2tlZCIsIHRydWUpOwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgJCgiI3RvZ2dsZS1uZXdjb21tZW50cy1idXR0b24iKS5wcm9wKCJjaGVja2VkIiwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGNvbmZpZy5saXN0ZW5CdXR0b24oIiN0b2dnbGUtbmV3Y29tbWVudHMtYnV0dG9uIiwgIm5ld0NvbW1lbnRzIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uKCkge2xvY2F0aW9uLnJlbG9hZCgpO30sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbigpIHtsb2NhdGlvbi5yZWxvYWQoKTt9KTsKIAogICAgICAgICAgICAvLyDliIbnsbvkuJPmoI8KICAgICAgICAgICAgbGV0IGtpbmRQZXJzb25Db29raWUgPSBjb25maWcuZ2V0KCJraW5kUGVyc29uIiwgZmFsc2UpOwogICAgICAgICAgICBpZiAoIWtpbmRQZXJzb25Db29raWUpIHsKICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICAgICAgJCgnI2FzaWRlQ2F0ZWdvcnknKS5yZW1vdmUoKTsKICAgICAgICAgICAgICAgICAgICAkKCcua2luZF9wZXJzb24nKS5yZW1vdmUoKTsKICAgICAgICAgICAgICAgIH0sIDApOwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgJCgnI3JlY29tbWVuZC1yaWdodCcpLmFwcGVuZCgkKCIjYXNpZGVDYXRlZ29yeSIpLnByb3AoIm91dGVySFRNTCIpKTsKICAgICAgICAgICAgICAgIGlmICgkKCIjYXNpZGVDYXRlZ29yeSIpLmxlbmd0aCA+IDApIHsKICAgICAgICAgICAgICAgICAgICAkKCcua2luZF9wZXJzb24nKS5yZW1vdmUoKTsKICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgJCgnLmtpbmRfcGVyc29uJykuYXR0cigic3R5bGUiLCAibWFyZ2luLXRvcDogOHB4OyB3aWR0aDogMzAwcHg7IGhlaWdodDoyNTVweDsiKTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICAgICAgJCgnI2FzaWRlQ2F0ZWdvcnknKS5hdHRyKCJzdHlsZSIsICJtYXJnaW4tdG9wOiA4cHg7IHdpZHRoOiAzMDBweDsgZGlzcGxheTpibG9jayAhaW1wb3J0YW50OyIpOwogICAgICAgICAgICAgICAgICAgICQoImEuZmxleGlibGUtYnRuIikuY2xpY2soZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICQodGhpcykucGFyZW50cygnZGl2LmFzaWRlLWJveCcpLnJlbW92ZUNsYXNzKCdmbGV4aWJsZS1ib3gnKTsKICAgICAgICAgICAgICAgICAgICAgICAgJCh0aGlzKS5wYXJlbnRzKCJwLnRleHQtY2VudGVyIikucmVtb3ZlKCk7CiAgICAgICAgICAgICAgICAgICAgfSkKICAgICAgICAgICAgICAgIH0sIDUwMCk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgaWYgKGtpbmRQZXJzb25Db29raWUpIHsKICAgICAgICAgICAgICAgICQoIiN0b2dnbGUta2luZHBlcnNvbi1idXR0b24iKS5wcm9wKCJjaGVja2VkIiwgdHJ1ZSk7CiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAkKCIjdG9nZ2xlLWtpbmRwZXJzb24tYnV0dG9uIikucHJvcCgiY2hlY2tlZCIsIGZhbHNlKTsKICAgICAgICAgICAgfQogICAgICAgICAgICBjb25maWcubGlzdGVuQnV0dG9uKCIjdG9nZ2xlLWtpbmRwZXJzb24tYnV0dG9uIiwgImtpbmRQZXJzb24iLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZnVuY3Rpb24oKSB7bG9jYXRpb24ucmVsb2FkKCk7fSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uKCkge2xvY2F0aW9uLnJlbG9hZCgpO30pOwogCiAgICAgICAgICAgIC8vIOebruW9lQogICAgICAgICAgICBsZXQgY29udGVudENvb2tpZSA9IGNvbmZpZy5nZXQoImNvbnRlbnQiLCB0cnVlKTsKICAgICAgICAgICAgaWYgKCFjb250ZW50Q29va2llKSB7CiAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgICAgICQoJy5hbGlnbi1pdGVtcy1zdHJldGNoLmdyb3VwX2l0ZW0nKS5wYXJlbnQoKS5yZW1vdmUoKTsKICAgICAgICAgICAgICAgIH0sIDApOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGlmIChjb250ZW50Q29va2llKSB7CiAgICAgICAgICAgICAgICAkKCIjdG9nZ2xlLWNvbnRlbnQtYnV0dG9uIikucHJvcCgiY2hlY2tlZCIsIHRydWUpOwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgJCgiI3RvZ2dsZS1jb250ZW50LWJ1dHRvbiIpLnByb3AoImNoZWNrZWQiLCBmYWxzZSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgY29uZmlnLmxpc3RlbkJ1dHRvbigiI3RvZ2dsZS1jb250ZW50LWJ1dHRvbiIsICJjb250ZW50IiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uKCkge2xvY2F0aW9uLnJlbG9hZCgpO30sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbigpIHtsb2NhdGlvbi5yZWxvYWQoKTt9KTsKIAogICAgICAgICAgICAvLyDmjqjojZDmlofnq6AKICAgICAgICAgICAgbGV0IHJlY29tbWVuZEFydGljbGVDb29raWUgPSBjb25maWcuZ2V0KCJyZWNvbW1lbmRBcnRpY2xlIiwgZmFsc2UpOwogICAgICAgICAgICBpZiAoIXJlY29tbWVuZEFydGljbGVDb29raWUpIHsKICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICAgICAgJCgnLnJlY29tbWVuZC1saXN0LWJveCcpLnJlbW92ZSgpOwogICAgICAgICAgICAgICAgfSwgMCk7CiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgICAgICQoJy5yZWNvbW1lbmQtbGlzdC1ib3gnKS5hdHRyKCJzdHlsZSIsICJtYXJnaW4tdG9wOiA4cHg7IHdpZHRoOiAzMDBweDsgaGVpZ2h0OjI1NXB4OyIpOwogICAgICAgICAgICAgICAgfSwgMCk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgaWYgKHJlY29tbWVuZEFydGljbGVDb29raWUpIHsKICAgICAgICAgICAgICAgICQoIiN0b2dnbGUtcmVjb21tZW5kYXJ0aWNsZS1idXR0b24iKS5wcm9wKCJjaGVja2VkIiwgdHJ1ZSk7CiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAkKCIjdG9nZ2xlLXJlY29tbWVuZGFydGljbGUtYnV0dG9uIikucHJvcCgiY2hlY2tlZCIsIGZhbHNlKTsKICAgICAgICAgICAgfQogICAgICAgICAgICBjb25maWcubGlzdGVuQnV0dG9uKCIjdG9nZ2xlLXJlY29tbWVuZGFydGljbGUtYnV0dG9uIiwgInJlY29tbWVuZEFydGljbGUiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZnVuY3Rpb24oKSB7bG9jYXRpb24ucmVsb2FkKCk7fSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uKCkge2xvY2F0aW9uLnJlbG9hZCgpO30pOwogCiAgICAgICAgICAgIC8vIOW9kuahowogICAgICAgICAgICBsZXQgYXJjaGl2ZUNvb2tpZSA9IGNvbmZpZy5nZXQoImFyY2hpdmUiLCBmYWxzZSk7CiAgICAgICAgICAgIGlmICghYXJjaGl2ZUNvb2tpZSkgewogICAgICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHsKICAgICAgICAgICAgICAgICAgICAkKCcjYXNpZGVBcmNoaXZlJykucmVtb3ZlKCk7CiAgICAgICAgICAgICAgICB9LCAwKTsKICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICQoJyNyZWNvbW1lbmQtcmlnaHQnKS5hcHBlbmQoJCgiI2FzaWRlQXJjaGl2ZSIpLnByb3AoIm91dGVySFRNTCIpKTsKICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICAgICAgJCgnI2FzaWRlQXJjaGl2ZScpLmF0dHIoInN0eWxlIiwgIm1hcmdpbi10b3A6IDhweDsgd2lkdGg6IDMwMHB4OyBkaXNwbGF5OmJsb2NrICFpbXBvcnRhbnQ7Iik7CiAgICAgICAgICAgICAgICB9LCA1MDApOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGlmIChhcmNoaXZlQ29va2llKSB7CiAgICAgICAgICAgICAgICAkKCIjdG9nZ2xlLWFyY2hpdmUtYnV0dG9uIikucHJvcCgiY2hlY2tlZCIsIHRydWUpOwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgJCgiI3RvZ2dsZS1hcmNoaXZlLWJ1dHRvbiIpLnByb3AoImNoZWNrZWQiLCBmYWxzZSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgY29uZmlnLmxpc3RlbkJ1dHRvbigiI3RvZ2dsZS1hcmNoaXZlLWJ1dHRvbiIsICJhcmNoaXZlIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uKCkge2xvY2F0aW9uLnJlbG9hZCgpO30sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbigpIHtsb2NhdGlvbi5yZWxvYWQoKTt9KTsKIAogICAgICAgICAgICAvLyDoh6rliqjpnaDlt6blubPpk7oKICAgICAgICAgICAgbGV0IGF1dG9TaXplQ29va2llID0gY29uZmlnLmdldCgiYXV0b1NpemUiLCBmYWxzZSk7CiAgICAgICAgICAgIGlmIChhdXRvU2l6ZUNvb2tpZSkgewogICAgICAgICAgICAgICAgc2V0SW50ZXJ2YWwoZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgIC8vIOaWh+eroOWuveW6puiHqumAguW6lAogICAgICAgICAgICAgICAgICAgIGlmICh3aW5kb3cuaW5uZXJXaWR0aCA8IDExMDApIHsKICAgICAgICAgICAgICAgICAgICAgICAgLy8g5Yig6Zmk5Y6f5pyJ5ZON5bqU5byP5qC35byPCiAgICAgICAgICAgICAgICAgICAgICAgICQoIi5tYWluX2ZhdGhlciIpLnJlbW92ZUNsYXNzKCJqdXN0aWZ5LWNvbnRlbnQtY2VudGVyIik7CiAgICAgICAgICAgICAgICAgICAgICAgICQoImFydGljbGUiKS53aWR0aCh3aW5kb3cuaW5uZXJXaWR0aCAtIDE1MCk7CiAgICAgICAgICAgICAgICAgICAgICAgIEdNX2FkZFN0eWxlKGAKICAgICAgICAgICAgICAgICAgICAgICAgbWFpbnsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdpZHRoOiBhdXRvIWltcG9ydGFudDsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZsb2F0OiBub25lIWltcG9ydGFudDsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1heC13aWR0aDogOTB2dzsKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICBtYWluIGFydGljbGUgaW1newogICAgICAgICAgICAgICAgICAgICAgICAgICAgbWFyZ2luOiAwIGF1dG87CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBtYXgtd2lkdGg6IDEwMCU7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBvYmplY3QtZml0OiBjb3ZlcjsKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICBgKTsKICAgICAgICAgICAgICAgICAgICAgICAgZGlkID0gdHJ1ZTsKICAgICAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgICAgICBpZiAoZGlkID09PSB0cnVlKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKCJhcnRpY2xlIikucmVtb3ZlQXR0cigic3R5bGUiKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRpZCA9IGZhbHNlOwogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfSwgNTAwKTsKICAgICAgICAgICAgfQogICAgICAgICAgICBpZiAoYXV0b1NpemVDb29raWUpIHsKICAgICAgICAgICAgICAgICQoIiN0b2dnbGUtYXV0b3NpemUtYnV0dG9uIikucHJvcCgiY2hlY2tlZCIsIHRydWUpOwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgJCgiI3RvZ2dsZS1hdXRvc2l6ZS1idXR0b24iKS5wcm9wKCJjaGVja2VkIiwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGNvbmZpZy5saXN0ZW5CdXR0b24oIiN0b2dnbGUtYXV0b3NpemUtYnV0dG9uIiwgImF1dG9TaXplIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uKCkge2xvY2F0aW9uLnJlbG9hZCgpO30sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbigpIHtsb2NhdGlvbi5yZWxvYWQoKTt9KTsKIAogICAgICAgICAgICAvLyDoh6rliqjpmpDol4/pobbmoI8KICAgICAgICAgICAgbGV0IGF1dG9IaWRlVG9vbGJhckNvb2tpZSA9IGNvbmZpZy5nZXQoImF1dG9IaWRlVG9vbGJhciIsIHRydWUpOwogICAgICAgICAgICBpZiAoYXV0b0hpZGVUb29sYmFyQ29va2llKSB7CiAgICAgICAgICAgICAgICAkKHdpbmRvdykuc2Nyb2xsKGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgICAgIGlmIChkb2N1bWVudC5kb2N1bWVudEVsZW1lbnQuc2Nyb2xsVG9wID4gMTAwKSB7CiAgICAgICAgICAgICAgICAJICAgIGxldCBzY3JvbGxTID0gJCh0aGlzKS5zY3JvbGxUb3AoKTsKICAgICAgICAgICAgICAgIAkgICAgaWYgKHNjcm9sbFMgPj0gd2luZG93VG9wKSB7CiAgICAgICAgICAgICAgICAJICAgIAkkKCcjY3Nkbi10b29sYmFyJykuc2xpZGVVcCgxMDApOwogICAgICAgICAgICAgICAgCSAgICAJd2luZG93VG9wID0gc2Nyb2xsUzsKICAgICAgICAgICAgICAgIAkgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgIAkgICAgCSQoJyNjc2RuLXRvb2xiYXInKS5zbGlkZURvd24oMTAwKTsKICAgICAgICAgICAgICAgIAkgICAgCXdpbmRvd1RvcCA9IHNjcm9sbFM7CiAgICAgICAgICAgICAgICAJICAgIH0KICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgfQogICAgICAgICAgICBpZiAoYXV0b0hpZGVUb29sYmFyQ29va2llKSB7CiAgICAgICAgICAgICAgICAkKCIjdG9nZ2xlLWF1dG9oaWRldG9vbGJhci1idXR0b24iKS5wcm9wKCJjaGVja2VkIiwgdHJ1ZSk7CiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAkKCIjdG9nZ2xlLWF1dG9oaWRldG9vbGJhci1idXR0b24iKS5wcm9wKCJjaGVja2VkIiwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGNvbmZpZy5saXN0ZW5CdXR0b24oIiN0b2dnbGUtYXV0b2hpZGV0b29sYmFyLWJ1dHRvbiIsICJhdXRvSGlkZVRvb2xiYXIiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZnVuY3Rpb24oKSB7bG9jYXRpb24ucmVsb2FkKCk7fSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uKCkge2xvY2F0aW9uLnJlbG9hZCgpO30pOwogCiAgICAgICAgICAgIC8vIOiHquWKqOmakOiXj+W6leagjwogICAgICAgICAgICBsZXQgYXV0b0hpZGVCb3R0b21CYXJDb29raWUgPSBjb25maWcuZ2V0KCJhdXRvSGlkZUJvdHRvbUJhciIsIHRydWUpOwogICAgICAgICAgICBpZiAoYXV0b0hpZGVCb3R0b21CYXJDb29raWUpIHsKICAgICAgICAgICAgICAgICQoIiN0b29sQmFyQm94IC5sZWZ0LXRvb2xib3giKS5jc3MoewogICAgICAgICAgICAgICAgCXBvc2l0aW9uOiAicmVsYXRpdmUiLAogICAgICAgICAgICAgICAgCWxlZnQ6ICIwcHgiLAogICAgICAgICAgICAgICAgCWJvdHRvbTogIjAiLAogICAgICAgICAgICAgICAgCXdpZHRoOiAkKCIjdG9vbEJhckJveCIpLndpZHRoKCkgKyAicHgiCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgICAgICQod2luZG93KS5zY3JvbGwoZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICAJJCgiI3Rvb2xCYXJCb3ggLmxlZnQtdG9vbGJveCIpLmNzcyh7CiAgICAgICAgICAgICAgICAJCXBvc2l0aW9uOiAicmVsYXRpdmUiLAogICAgICAgICAgICAgICAgCQlsZWZ0OiAiMHB4IiwKICAgICAgICAgICAgICAgIAkJYm90dG9tOiAiMCIsCiAgICAgICAgICAgICAgICAJCXdpZHRoOiAkKCIjdG9vbEJhckJveCIpLndpZHRoKCkgKyAicHgiCiAgICAgICAgICAgICAgICAJfSkKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGlmIChhdXRvSGlkZUJvdHRvbUJhckNvb2tpZSkgewogICAgICAgICAgICAgICAgJCgiI3RvZ2dsZS1hdXRvaGlkZWJvdHRvbWJhci1idXR0b24iKS5wcm9wKCJjaGVja2VkIiwgdHJ1ZSk7CiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAkKCIjdG9nZ2xlLWF1dG9oaWRlYm90dG9tYmFyLWJ1dHRvbiIpLnByb3AoImNoZWNrZWQiLCBmYWxzZSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgY29uZmlnLmxpc3RlbkJ1dHRvbigiI3RvZ2dsZS1hdXRvaGlkZWJvdHRvbWJhci1idXR0b24iLCAiYXV0b0hpZGVCb3R0b21CYXIiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZnVuY3Rpb24oKSB7bG9jYXRpb24ucmVsb2FkKCk7fSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uKCkge2xvY2F0aW9uLnJlbG9hZCgpO30pOwogCiAgICAgICAgICAgIC8vIOWIm+S9nOS4reW/g+aMiemSrgogICAgICAgICAgICBsZXQgd3JpdGVCbG9nQ29va2llID0gY29uZmlnLmdldCgid3JpdGVCbG9nIiwgdHJ1ZSk7CiAgICAgICAgICAgIGlmICghd3JpdGVCbG9nQ29va2llKSB7CiAgICAgICAgICAgICAgICAkKCIudG9vbGJhci1idG4td3JpdGUiKS5yZW1vdmUoKTsKICAgICAgICAgICAgfQogICAgICAgICAgICBpZiAod3JpdGVCbG9nQ29va2llKSB7CiAgICAgICAgICAgICAgICAkKCIjdG9nZ2xlLXdyaXRlYmxvZy1idXR0b24iKS5wcm9wKCJjaGVja2VkIiwgdHJ1ZSk7CiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAkKCIjdG9nZ2xlLXdyaXRlYmxvZy1idXR0b24iKS5wcm9wKCJjaGVja2VkIiwgZmFsc2UpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGNvbmZpZy5saXN0ZW5CdXR0b24oIiN0b2dnbGUtd3JpdGVibG9nLWJ1dHRvbiIsICJ3cml0ZUJsb2ciLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZnVuY3Rpb24oKSB7bG9jYXRpb24ucmVsb2FkKCk7fSwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uKCkge2xvY2F0aW9uLnJlbG9hZCgpO30pOwogCiAgICAgICAgICAgIC8vIOWPs+S+p+a7muWKqOadoQogICAgICAgICAgICAvKiogc2V0VGltZW91dChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICBsZXQgcmlnaHRTaWRlSGVpZ2h0ID0gMDsKICAgICAgICAgICAgICAgIGxldCBwYWdlSGVpZ2h0ID0gJCh3aW5kb3cpLmhlaWdodCgpOwogICAgICAgICAgICAgICAgcmlnaHRTaWRlSGVpZ2h0ICs9IGdldEhlaWdodCgkKCcuYWxpZ24taXRlbXMtc3RyZXRjaC5ncm91cF9pdGVtJykucGFyZW50KCkpOwogICAgICAgICAgICAgICAgcmlnaHRTaWRlSGVpZ2h0ICs9IGdldEhlaWdodCgkKCIjYXNpZGVQcm9maWxlIikpOwogICAgICAgICAgICAgICAgcmlnaHRTaWRlSGVpZ2h0ICs9IGdldEhlaWdodCgkKCIjYXNpZGVTZWFyY2hBcnRpY2xlIikpOwogICAgICAgICAgICAgICAgcmlnaHRTaWRlSGVpZ2h0ICs9IGdldEhlaWdodCgkKCIjYXNpZGVOZXdBcnRpY2xlIikpOwogICAgICAgICAgICAgICAgcmlnaHRTaWRlSGVpZ2h0ICs9IGdldEhlaWdodCgkKCIjYXNpZGVIb3RBcnRpY2xlIikpOwogICA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xkcmVuKCJkdCIpOwogICAgICAgICAgICAgICAgdmFyIHZhbHVlID0gJCh0aGlzKS5jaGlsZHJlbigiZGQiKS5jaGlsZHJlbigic3BhbiIpOwogICAgICAgICAgICAgICAgaWYgKGtleS5odG1sKCkuaW5kZXhPZigi5Y6f5YibIikgIT0gLTEpIHsKICAgICAgICAgICAgICAgICAgICBrZXkgPSAkKHRoaXMpLmNoaWxkcmVuKCJkdCIpLmNoaWxkcmVuKCJhIikKICAgICAgICAgICAgICAgICAgICB2YWx1ZSA9ICQodGhpcykuY2hpbGRyZW4oImRkIikuY2hpbGRyZW4oImEiKS5jaGlsZHJlbigic3BhbiIpOwogICAgICAgICAgICAgICAgICAgIGFkZEluZm8oa2V5LCB2YWx1ZSk7CiAgICAgICAgICAgICAgICB9IGVsc2UKICAgICAgICAgICAgICAgIGlmICh2YWx1ZS5odG1sKCkgIT0gdW5kZWZpbmVkKSB7CiAgICAgICAgICAgICAgICAgICAgYWRkSW5mbyhrZXksIHZhbHVlKTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSApOwogICAgICAgICAgICBmdW5jdGlvbiBhZGRJbmZvKGtleSwgdmFsdWUpIHsKICAgICAgICAgICAgICAgIHZhciBiaW5kID0ga2V5Lmh0bWwoKSArICImbmJzcDsiICsgdmFsdWUuaHRtbCgpICsgIiZuYnNwOyZuYnNwOyI7CiAgICAgICAgICAgICAgICAkKCIuYXJ0aWNsZS1iYXItdG9wIikuYXBwZW5kKGJpbmQgKyAiICIpOwogICAgICAgICAgICB9ICovCiAgICAgICAgICAgICQoIi5ibG9nX2NvbnRhaW5lcl9hc2lkZSIpLnJlbW92ZSgpOwogCiAgICAgICAgICAgIC8vIOagh+mimOa2iOaBr+aPkOmGkuWOu+mZpAogICAgICAgICAgICBsZXQgdGl0bGUgPSBkb2N1bWVudC50aXRsZS5yZXBsYWNlKC9eXCguKj9cKS9nLCAiIik7CiAgICAgICAgICAgIGRvY3VtZW50LnRpdGxlID0gdGl0bGU7CiAgICAgICAgICAgIC8vIOivhOiuuuWkjeWItuaMiemSrgogICAgICAgICAgICAkKCcuY29tbWVudC1ib3gnKS5wcmVwZW5kKCc8YnV0dG9uIGNsYXNzPSJjb21tZW50LWhpZGRlbi10ZXh0IiBzdHlsZT0iZGlzcGxheTpub25lIj5DT1BZIEJVVFRPTjwvYnV0dG9uPicpOwogICAgICAgICAgICAkKCcubmV3LW9wdC1ib3gubmV3LW9wdC1ib3gtYmcnKS5wcmVwZW5kKCc8YSBjbGFzcz0iYnRuIGJ0bi1yZXBvcnQgYnRuLWNvcHkiIG9uY2xpY2s9ImphdmFzY3JpcHQ6JChcJy5jb21tZW50LWhpZGRlbi10ZXh0XCcpLmF0dHIoXCdkYXRhLWNsaXBib2FyZC10ZXh0XCcsJCh0aGlzKS5wYXJlbnQoKS5wYXJlbnQoKS5maW5kKFwnLm5ldy1jb21tZW50XCcpLnRleHQoKSkiPuWkjeWItuivhOiuujwvYT48c3BhbiBjbGFzcz0iYnRuLWJhciI+PC9zcGFuPicpOwogICAgICAgICAgICAkKCcuYnRuLWNvcHknKS5jbGljayhmdW5jdGlvbigpIHsKICAgICAgICAgICAgICAgIHZhciBjbGlwYm9hcmQgPSBuZXcgQ2xpcGJvYXJkSlMoJy5jb21tZW50LWhpZGRlbi10ZXh0Jyk7CiAgICAgICAgICAgICAgICBjbGlwYm9hcmQub24oJ3N1Y2Nlc3MnLCBmdW5jdGlvbihlKSB7CiAgICAgICAgICAgICAgICAgICAgY29uc29sZS5pbmZvKCdBY3Rpb246JywgZS5hY3Rpb24pOwogICAgICAgICAgICAgICAgICAgIGNvbnNvbGUuaW5mbygnVGV4dDonLCBlLnRleHQpOwogICAgICAgICAgICAgICAgICAgIGNvbnNvbGUuaW5mbygnVHJpZ2dlcjonLCBlLnRyaWdnZXIpOwogICAgICAgICAgICAgICAgICAgIGUuY2xlYXJTZWxlY3Rpb24oKTsKICAgICAgICAgICAgICAgICAgICAkKCcuYnRuLWNvcHknKS5odG1sKCfmiJDlip8nKTsKICAgICAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgICAgICAgICAkKCcuYnRuLWNvcHknKS5odG1sKCflpI3liLbor4TorronKTsKICAgICAgICAgICAgICAgICAgICB9LCAxMDAwKTsKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgY2xpcGJvYXJkLm9uKCdlcnJvcicsIGZ1bmN0aW9uKGUpIHsKICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmVycm9yKCdBY3Rpb246JywgZS5hY3Rpb24pOwogICAgICAgICAgICAgICAgICAgIGNvbnNvbGUuZXJyb3IoJ1RyaWdnZXI6JywgZS50cmlnZ2VyKTsKICAgICAgICAgICAgICAgICAgICAkKCcuYnRuLWNvcHknKS5odG1sKCflpLHotKXvvIzor7fmiYvliqjlpI3liLYnKTsKICAgICAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgICAgICAgICAkKCcuYnRuLWNvcHknKS5odG1sKCflpI3liLbor4TorronKTsKICAgICAgICAgICAgICAgICAgICB9LCAxMDAwKTsKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgJCgiLmNvbW1lbnQtaGlkZGVuLXRleHQiKS5jbGljaygpOwogICAgICAgICAgICAgICAgY2xpcGJvYXJkLmRlc3Ryb3koKTsKICAgICAgICAgICAgfSk7CiAgICAgICAgfSBlbHNlIGlmIChudW0gPT09IDkpIHsKICAgICAgICAgICAgLy8g5Yig6ZmkQ1NETiBMT0dP5oKs5rWu5ZCO55qE5LqM57u056CBCiAgICAgICAgICAgICQoIi50b29sYmFyLXN1Yk1lbnUgPiBpbWciKS5wYXJlbnQoKS5yZW1vdmUoKTsKICAgICAgICB9CiAgICB9LCAxMDApOwogICAgcHJvZ3Jlc3Nvci5pbmNQcm9ncmVzcygxMCk7Cn0KIApmdW5jdGlvbiBzaG93VGlwcygpIHsKCXZhciBjb25maWcgPSB7CgkJY29udGVudDogIuasoui/juS9v+eUqCBDU0ROR3JlZW5lcu+8jOe7v+WMluiuvuWumuaMiemSruWcqOi/memHjO+8gTxicj48YSBvbmNsaWNrPSdqYXZhc2NyaXB0OiQoXCIudHJpcHNcIikucmVtb3ZlKCk7Jz7lpb3nmoTvvIzku6XlkI7kuI3lho3mj5DnpLrmiJE8L2E+IiwKCQl0eXBlOiAiaHRtbCIsCgkJYWxpZ25UbzogWyJib3R0b20iLCAicmlnaHQiXSwKCQl0cmlnZ2VyOiAic2hvdyIsCgkJaXNjbG9zZTogZmFsc2UsCgkJY29sb3I6IFsiI0IyRTI4MSIsICIjQjJFMjgxIl0KCX07CgkkKCIjZ3JlZW5lclNldHRpbmdzIikuc2hvd1RpcHMoY29uZmlnKTsKfQogCmZ1bmN0aW9uIGdldEhlaWdodChlbGVtZW50KSB7CiAgICBsZXQgb3V0ZXJIZWlnaHQgPSBlbGVtZW50Lm91dGVySGVpZ2h0KCk7CiAgICBpZiAob3V0ZXJIZWlnaHQgPT09IG51bGwpIHsKICAgICAgICByZXR1cm4gMDsKICAgIH0KICAgIHJldHVybiBvdXRlckhlaWdodDsKfQogCmZ1bmN0aW9uIGlzRmlyZWZveCgpIHsKICAgIHJldHVybiBuYXZpZ2F0b3IudXNlckFnZW50LmluZGV4T2YoIkZpcmVmb3giKSA+IDA7Cn0=
Add Comment
Please, Sign In to add comment