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ogICAgICAgIHpvbmd5aToge2NhdGVJZDogJ3pvbmd5aSd9LAogICAgICAgIGRvbmdtYW46IHtjYXRlSWQ6ICdkb25nbWFuJ30sCiAgICAgICAgamlsdXBpYW46IHtjYXRlSWQ6ICdqaWx1cGlhbid9LAogICAgICAgIGR5anM6IHtjYXRlSWQ6ICdkeWpzJ30KICAgIH0sCiAgICBzZWFyY2hVcmw6ICcvaW5kZXgucGhwL3Jzcy54bWw/d2Q9KionLAogICAgY2xhc3NfcGFyc2U6ICcubmF2YmFyLWl0ZW1zIGxpOmd0KDEpOmx0KDgpO2EmJnRpdGxlO2EmJmhyZWY7LiovKC4qPykuaHRtbCcsCiAgICBsYXp5OiAkanMudG9TdHJpbmcoKCkgPT4gewogICAgICAgIGxldCBodG1sID0gSlNPTi5wYXJzZShyZXF1ZXN0KGlucHV0KS5tYXRjaCgvciBwbGF5ZXJfLio/PSguKj8pPC8pWzFdKTsKICAgICAgICBsZXQgdXJsID0gaHRtbC51cmw7CiAgICAgICAgaWYgKGh0bWwuZW5jcnlwdCA9PSAnMScpIHsKICAgICAgICAgICAgdXJsID0gdW5lc2NhcGUodXJsKQogICAgICAgIH0gZWxzZSBpZiAoaHRtbC5lbmNyeXB0ID09ICcyJykgewogICAgICAgICAgICB1cmwgPSB1bmVzY2FwZShiYXNlNjREZWNvZGUodXJsKSkKICAgICAgICB9CiAgICAgICAgaWYgKC9cLm0zdTh8XC5tcDQvLnRlc3QodXJsKSkgewogICAgICAgICAgICBpbnB1dCA9IHsKICAgICAgICAgICAgICAgIGp4OiAwLAogICAgICAgICAgICAgICAgdXJsOiB1cmwsCiAgICAgICAgICAgICAgICBwYXJzZTogMAogICAgICAgICAgICB9CiAgICAgICAgfQogICAgfSksCiAgICDmkJzntKI6ICRqcy50b1N0cmluZygoKSA9PiB7CiAgICAgICAgbGV0IGh0bWwgPSByZXF1ZXN0KGlucHV0KTsKICAgICAgICBsZXQgaXRlbXMgPSBwZGZhKGh0bWwsICdyc3MmJml0ZW0nKTsKICAgICAgICAvLyBsb2coaXRlbXMpOwogICAgICAgIGxldCBkID0gW107CiAgICAgICAgaXRlbXMuZm9yRWFjaChpdCA9PiB7CiAgICAgICAgICAgIGl0ID0gaXQucmVwbGFjZSgvdGl0bGV8bGlua3xhdXRob3J8cHViZGF0ZXxkZXNjcmlwdGlvbi9nLCAncCcpOwogICAgICAgICAgICBsZXQgdXJsID0gcGRmaChpdCwgJ3A6ZXEoMSkmJlRleHQnKTsKICAgICAgICAgICAgZC5wdXNoKHsKICAgICAgICAgICAgICAgIHRpdGxlOiBwZGZoKGl0LCAncCYmVGV4dCcpLAogICAgICAgICAgICAgICAgdXJsOiB1cmwsCiAgICAgICAgICAgICAgICBkZXNjOiBwZGZoKGl0LCAncDplcSgzKSYmVGV4dCcpLAogICAgICAgICAgICAgICAgY29udGVudDogcGRmaChpdCwgJ3A6ZXEoMikmJlRleHQnKSwKICAgICAgICAgICAgICAgIHBpY191cmw6ICIiLAogICAgICAgICAgICB9KTsKICAgICAgICB9KTsKICAgICAgICBzZXRSZXN1bHQoZCk7CiAgICB9KSwKCn0= |