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ljCisgICAgZWxzZSBpZmVxICgkKExPQ0FMX05ES19TVExfVkFSSUFOVCksbm9uZSkKKyAgICAgICAgbXlfbmRrX3N0bF9mYW1pbHkgOj0gbm9uZQorICAgICAgICBteV9uZGtfc3RsX2xpbmtfdHlwZSA6PSBub25lCisgICAgZWxzZQorICAgICAgICAkKGNhbGwgcHJldHR5LWVycm9yLGludmFsaWQgTE9DQUxfTkRLX1NUTF9WQVJJQU5UOiAkKExPQ0FMX05ES19TVExfVkFSSUFOVCkpCisgICAgZW5kaWYKKworICAgIGlmZXEgKCQoTE9DQUxfTU9EVUxFX0NMQVNTKSxTVEFUSUNfTElCUkFSSUVTKQorICAgICAgICAjIFRoZSAibm9uZSIgbGluayB0eXBlIGluZGljYXRlcyB0aGF0IG5vdGhpbmcgaXMgYWN0dWFsbHkgbGlua2VkLiBTaW5jZQorICAgICAgICAjIHRoaXMgaXMgYSBzdGF0aWMgbGlicmFyeSwgaXQncyBzdGlsbCB1cCB0byB0aGUgZmluYWwgdXNlIG9mIHRoZQorICAgICAgICAjIGxpYnJhcnkgd2hldGhlciBhIHN0YXRpYyBvciBzaGFyZWQgU1RMIHNob3VsZCBiZSB1c2VkLgorICAgICAgICBteV9uZGtfc3RsX2xpbmtfdHlwZSA6PSBub25lCisgICAgZW5kaWYKKworICAgICMgVGhlIHN5c3RlbSBTVEwgaXMgb25seSB0aGUgQysrIEFCSSBsYXllciwgc28gaXQncyBjb21wYXRpYmxlIHdpdGggYW55IFNUTC4KKyAgICBteV9hbGxvd2VkX25ka190eXBlcyArPSBuYXRpdmU6bmRrOnN5c3RlbTpzaGFyZWQKKyAgICBteV9hbGxvd2VkX25ka190eXBlcyArPSBuYXRpdmU6bmRrOnN5c3RlbTpub25lCisKKyAgICAjIExpYmFyaWVzIHRoYXQgZG9uJ3QgdXNlIHRoZSBTVEwgY2FuIGJlIGxpbmtlZCB0byBhbnl0aGluZy4KKyAgICBteV9hbGxvd2VkX25ka190eXBlcyArPSBuYXRpdmU6bmR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eHhfbGliZGlyKS9saWJjKytfc2hhcmVkLnNvCi0gICAgICBlbmRpZgorICAgIGlmZXEgKGMrK19zdGF0aWMsJChMT0NBTF9OREtfU1RMX1ZBUklBTlQpKQorICAgICAgbXlfbmRrX3N0bF9zdGF0aWNfbGliIDo9IFwKKyAgICAgICAgJChteV9saWJjeHhfbGliZGlyKS9saWJjKytfc3RhdGljLmEgXAorICAgICAgICAkKG15X2xpYmN4eF9saWJkaXIpL2xpYmMrK2FiaS5hCiAgICAgZWxzZQotICAgICAgaWZlcSAoYysrX3N0YXRpYywkKExPQ0FMX05ES19TVExfVkFSSUFOVCkpCi0gICAgICAgIG15X25ka19zdGxfc3RhdGljX2xpYiA6PSBcCi0gICAgICAgICAgJChteV9saWJjeHhfbGliZGlyKS9saWJjKytfc3RhdGljLmEgXAotICAgICAgICAgICQobXlfbGliY3h4X2xpYmRpcikvbGliYysrYWJpLmEKLSAgICAgIGVsc2UKLSAgICAgICAgbXlfbmRrX3N0bF9zaGFyZWRfbGliX2Z1bGxwYXRoIDo9ICQobXlfbGliY3h4X2xpYmRpcikvbGliYysrX3NoYXJlZC5zbwotICAgICAgZW5kaWYKKyAgICAgIG15X25ka19zdGxfc2hhcmVkX2xpYl9mdWxscGF0aCA6PSAkKG15X2xpYmN4eF9saWJkaXIpL2xpYmMrK19zaGFyZWQuc28KKyAgICBlbmRpZgogCi0gICAgICBteV9uZGtfc3RsX3N0YXRpY19saWIgKz0gJChteV9saWJjeHhfbGliZGlyKS9saWJhbmRyb2lkX3N1cHBvcnQuYQotICAgICAgaWZuZXEgKCwkKGZpbHRlciBhcm1lYWJpIGFybWVhYmktdjdhLCQobXlfY3B1X3ZhcmlhbnQpKSkKLSAgICAgICAgbXlfbmRrX3N0bF9zdGF0aWNfbGliICs9ICQobXlfbGliY3h4X2xpYmRpcikvbGlidW53aW5kLmEKLSAgICAgIGVuZGlmCisgICAgbXlfbmRrX3N0bF9zdGF0aWNfbGliICs9ICQobXlfbGliY3h4X2xpYm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JUikpCisJJChaSVBTWU5DKSAtZCAkKFBSSVZBVEVfU1JDSkFSX0lOVEVSTUVESUFURVNfRElSKSAtbCAkKFBSSVZBVEVfU1JDSkFSX0xJU1RfRklMRSkgLWYgIiouamF2YSIgJChQUklWQVRFX1NSQ0pBUlMpCisJJChoaWRlKSAoIFwKKwkJJChKQVZBKSAtamFyICQoSE9TVF9PVVRfSkFWQV9MSUJSQVJJRVMpL21ldGFsYXZhJChDT01NT05fSkFWQV9QQUNLQUdFX1NVRkZJWCkgXAorICAgICAgICAgICAgICAgIC1lbmNvZGluZyBVVEYtOCAtc291cmNlIDEuOCBcQCQoUFJJVkFURV9TUkNfTElTVF9GSUxFKSBcQCQoUFJJVkFURV9TUkNKQVJfTElTVF9GSUxFKSBcCisgICAgICAgICAgICAgICAgJChhZGRwcmVmaXggLWJvb3RjbGFzc3BhdGggLCQoUFJJVkFURV9CT09UQ0xBU1NQQVRIKSkgXAorICAgICAgICAgICAgICAgICQoYWRkcHJlZml4IC1jbGFzc3BhdGggLCQoUFJJVkFURV9DTEFTU1BBVEgpKSBcCisgICAgICAgICAgICAgICAgLS1zb3VyY2VwYXRoICQoUFJJVkFURV9TT1VSQ0VfUEFUSCkgXAorICAgICAgICAgICAgICAgIC0tbm8tYmFubmVyIC0tY29sb3IgLS1xdWlldCBcCisgICAgICAgICAgICAgICAgJChhZGRwcmVmaXggLS1zdHVicyAsJChQUklWQVRFX1NUVUJfT1VUX0RJUikpIFwKKyAgICAgICAgICAgICAgICAkKGFkZHByZWZpeCAtLWRvYy1zdHVicyAsJChQUklWQVRFX01FVEFMQVZBX0RPQ1NfU1RVQl9PVVRfRElSKSkgXAorICAgICAgICAgICAgICAgIC0td3JpdGUtc3R1YnMtc291cmNlLWxpc3QgJChpbnRlcm1lZGlhdGVzLkNPTU1PTikvc3R1YnMtc3JjLWxpc3QgXAorICAgICAgICAgICAgICAgICQobWV0YWxhdmFfYXJncykgJChQUklWQVRFX0RST0lERE9DX01FVEFMQVZBX1BSRVZJT1VTX0FQSSkgJChQUklWQVRFX0RST0lERE9DX01FVEFMQVZBX0FOTk9UQVRJT05TKSBcCisgICAgICAgICAgICAgICAgJChKQVZBRE9DKSAtZW5jb2RpbmcgVVRGLTggLXNvdXJjZSAxLjggU1RVQlNfU09VUkNFX0xJU1QgXAorICAgICAgICAgICAgICAgIC1KLVhteDE2MDBtIC1KLVhYOi1PbWl0U3RhY2tUcmFjZUluRmFzdFRocm93IC1YRGlnbm9yZS5zeW1ib2wuZmlsZSBcCisgICAgICAgICAgICAgICAgLXF1aWV0IC1kb2NsZXQgY29tLmdvb2dsZS5kb2NsYXZhLkRvY2xhdmEgLWRvY2xldHBhdGggJChQUklWQVRFX0RPQ0xFVFBBVEgpIFwKKyAgICAgICAgICAgICAgICAtdGVtcGxhdGVkaXIgJChQUklWQVRFX0NVU1RPTV9URU1QTEFURV9ESVIpIFwKKyAgICAgICAgICAgICAgICAkKFBSSVZBVEVfRFJPSURET0NfSFRNTF9ESVIpICQoUFJJVkFURV9BRERJVElPTkFMX0hUTUxfRElSKSBcCisgICAgICAgICAgICAgICAgJChhZGRwcmVmaXggLWJvb3RjbGFzc3BhdGggLCQoUFJJVkFURV9CT09UQ0xBU1NQQVRIKSkgXAorICAgICAgICAgICAgICAgICQoYWRkcHJlZml4IC1jbGFzc3BhdGggLCQoUFJJVkFURV9DTEFTU1BBVEgpKSBcCisgICAgICAgICAgICAgICAgLXNvdXJjZXBhdGggJChQUklWQVRFX1NPVVJDRV9QQVRIKSBcCisgICAgICAgICAgICAgICAgLWQgJChQUklWQVRFX09VVF9ESVIpIFwKKyAgICAgICAgICAgICAgICAkKFBSSVZBVEVfQ1VSUkVOVF9CVUlMRCkgJChQUklWQVRFX0NVUlJFTlRfVElNRSkgJChkb2NsYXZhX2FyZ3MpIFwKKyAgICAgICAgJiYgdG91Y2ggLWYgJEAgKSB8fCAocm0gLXJmICQoUFJJVkFURV9PVVRfRElSKSAkKFBSSVZBVEVfU1JDX0xJU1RfRklM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GhpZGUpIG1rZGlyIC1wICQoZGlyICRAKQotCSQoYWRkcHJlZml4ICQoaGlkZSkgcm0gLXJmICwkKFBSSVZBVEVfU1RVQl9PVVRfRElSKSkKKwkkKGhpZGUpIHJtIC1yZiAkKFBSSVZBVEVfU1RVQl9PVVRfRElSKQogCSQoY2FsbCBwcmVwYXJlLWRvYy1zb3VyY2UtbGlzdCwkKFBSSVZBVEVfU1JDX0xJU1RfRklMRSksJChQUklWQVRFX0pBVkFfRklMRVMpLCBcCiAJCQkkKFBSSVZBVEVfU09VUkNFX0lOVEVSTUVESUFURVNfRElSKSAkKFBSSVZBVEVfQURESVRJT05BTF9KQVZBX0RJUikpCisJJChaSVBTWU5DKSAtZCAkKFBSSVZBVEVfU1JDSkFSX0lOVEVSTUVESUFURVNfRElSKSAtbCAkKFBSSVZBVEVfU1JDSkFSX0xJU1RfRklMRSkgLWYgIiouamF2YSIgJChQUklWQVRFX1NSQ0pBUlMpCiAJJChoaWRlKSAoIFwKIAkJJChKQVZBRE9DKSBcCi0gICAgICAgICAgICAgICAgLWVuY29kaW5nIFVURi04IFwKLSAgICAgICAgICAgICAgICAtc291cmNlIDEuOCBcCi0gICAgICAgICAgICAgICAgXEAkKFBSSVZBVEVfU1JDX0xJU1RfRklMRSkgXAotICAgICAgICAgICAgICAgIC1KLVhteDE2MDBtIFwKLSAgICAgICAgICAgICAgICAtSi1YWDotT21pdFN0YWNrVHJhY2VJbkZhc3RUaHJvdyBcCi0gICAgICAgICAgICAgICAgLVhEaWdub3JlLnN5bWJvbC5maWxlIFwKLSAgICAgICAgICAgICAgICAkKFBSSVZBVEVfUFJPRklMSU5HX09QVElPTlMpIFwKLSAgICAgICAgICAgICAgICAtcXVpZXQgXAotICAgICAgICAgICAgICAgIC1kb2NsZXQgY29tLmdvb2dsZS5kb2NsYXZhLkRvY2xhdmEgXAotICAgICAgICAgICAgICAgIC1kb2NsZXRwYXRoICQoUFJJVkFURV9ET0NMRVRQQVRIKSBcCisgICAgICAgICAgICAgICAgLWVuY29kaW5nIFVURi04IC1zb3VyY2UgMS44IFxAJChQUklWQVRFX1NSQ19MSVNUX0ZJTEUpIFxAJChQUklWQVRFX1NSQ0pBUl9MSVNUX0ZJTEUpIFwKKyAgICAgICAgICAgICAgICAtSi1YbXgxNjAwbSAtSi1YWDotT21pdFN0YWNrVHJhY2VJbkZhc3RUaHJvdyAtWERpZ25vcmUuc3ltYm9sLmZpbGUgXAorICAgICAgICAgICAgICAgIC1xdWlldCAtZG9jbGV0IGNvbS5nb29nbGUuZG9jbGF2YS5Eb2NsYXZhIC1kb2NsZXRwYXRoICQoUFJJVkFURV9ET0NMRVRQQVRIKSBcCiAgICAgICAgICAgICAgICAgLXRlbXBsYXRlZGlyICQoUFJJVkFURV9DVVNUT01fVEVNUExBVEVfRElSKSBcCi0gICAgICAgICAgICAgICAgJChQUklWQVRFX0RST0lERE9DX0hUTUxfRElSKSBcCi0gICAgICAgICAgICAgICAgJChQUklWQVRFX0FERElUSU9OQUxfSFRNTF9ESVIpIFwKKyAgICAgICAgICAgICAgICAkKFBSSVZBVEVfRFJPSURET0NfSFRNTF9ESVIpICQoUFJJVkFURV9BRERJVElPTkFMX0hUTUxfRElSKSBcCiAgICAgICAgICAgICAgICAgJChhZGRwcmVmaXggLWJvb3RjbGFzc3BhdGggLCQoUFJJVkFURV9CT09UQ0xBU1NQQVRIKSkgXAogICAgICAgICAgICAgICAgICQoYWRkcHJlZml4IC1jbGFzc3BhdGggLCQoUFJJVkFURV9DTEFTU1BBVEgpKSBcCiAgICAgICAgICAgICAgICAgLXNvdXJjZXBhdGggJChQUklWQVRFX1NPVVJDRV9QQVRIKSQoYWRkcHJlZml4IDosJChQUklWQVRFX0NMQVNTUEFUSCkpIFwKICAgICAgICAgICAgICAgICAtZCAkKFBSSVZBVEVfT1VUX0RJUikgXAotICAgICAgICAgICAgICAgICQoUFJJVkFURV9DVVJSRU5UX0JVSUxEKSAkKFBSSVZBVEVfQ1VSUkVOVF9USU1FKSBcCi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KFBSSVZBVEVfU1JDSkFSUykKIAkkKGhpZGUpICggXAotCQkkKEpBVkFET0MpIFwKLSAgICAgICAgICAgICAgICAtZW5jb2RpbmcgVVRGLTggXAotICAgICAgICAgICAgICAgICQoUFJJVkFURV9EUk9JRERPQ19PUFRJT05TKSBcCi0gICAgICAgICAgICAgICAgXEAkKFBSSVZBVEVfU1JDX0xJU1RfRklMRSkgXAotICAgICAgICAgICAgICAgIC1KLVhteDEwMjRtIFwKLSAgICAgICAgICAgICAgICAtWERpZ25vcmUuc3ltYm9sLmZpbGUgXAotICAgICAgICAgICAgICAgIC1YZG9jbGludDpub25lIFwKLSAgICAgICAgICAgICAgICAkKFBSSVZBVEVfUFJPRklMSU5HX09QVElPTlMpIFwKLSAgICAgICAgICAgICAgICAkKGFkZHByZWZpeCAtY2xhc3NwYXRoICwkKFBSSVZBVEVfQ0xBU1NQQVRIKSkgXAotICAgICAgICAgICAgICAgICQoUFJJVkFURV9CT09UQ0xBU1NQQVRIX0FSRykgXAotICAgICAgICAgICAgICAgIC1zb3VyY2VwYXRoICQoUFJJVkFURV9TT1VSQ0VfUEFUSCkkKGFkZHByZWZpeCA6LCQoUFJJVkFURV9DTEFTU1BBVEgpKSBcCisJCSQoSkFWQURPQykgLWVuY29kaW5nIFVURi04IFxAJChQUklWQVRFX1NSQ19MSVNUX0ZJTEUpIFxAJChQUklWQVRFX1NSQ0pBUl9MSVNUX0ZJTEUpIFwKKyAgICAgICAgICAgICAgICAkKFBSSVZBVEVfRFJPSURET0NfT1BUSU9OUykgLUotWG14MTAyNG0gLVhEaWdub3JlLnN5bWJvbC5maWxlIC1YZG9jbGludDpub25lIC1xdWlldCBcCisgICAgICAgICAgICAgICAgJChhZGRwcmVmaXggLWNsYXNzcGF0aCAsJChQUklWQVRFX0NMQVNTUEFUSCkpICQoUFJJVkFURV9CT09UQ0xBU1NQQVRIX0FSRykgXAorICAgICAgICAgICAgICAgIC1zb3VyY2VwYXRoICQoUFJJVkFURV9TT1VSQ0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V2wsLS13cmFwPWJjbXAiIFwKKyAgICAgICAgIi1XbCwtLXdyYXA9bWVtbWVtIiBcCisgICAgICAgICItV2wsLS13cmFwPWFwX2NzdHJfY2FzZWNtcCIgXAorICAgICAgICAiLVdsLC0td3JhcD1hcF9jc3RyX2Nhc2VjbXBuIiBcCisgICAgICAgICItV2wsLS13cmFwPWFwX3N0cmNhc2VzdHIiIFwKKyAgICAgICAgIi1XbCwtLXdyYXA9YXByX2NzdHJfY2FzZWNtcCIgXAorICAgICAgICAiLVdsLC0td3JhcD1hcHJfY3N0cl9jYXNlY21wbiIgXAorICAgICAgICAiLVdsLC0td3JhcD1DUllQVE9fbWVtY21wIiBcCisgICAgICAgICItV2wsLS13cmFwPU9QRU5TU0xfbWVtY21wIiBcCisgICAgICAgICItV2wsLS13cmFwPU9QRU5TU0xfc3RyY2FzZWNtcCIgXAorICAgICAgICAiLVdsLC0td3JhcD1PUEVOU1NMX3N0cm5jYXNlY21wIiBcCisgICAgICAgICItV2wsLS13cmFwPXhtbFN0cm5jbXAiIFwKKyAgICAgICAgIi1XbCwtLXdyYXA9eG1sU3RyY21wIiBcCisgICAgICAgICItV2wsLS13cmFwPXhtbFN0ckVxdWFsIiBcCisgICAgICAgICItV2wsLS13cmFwPXhtbFN0cmNhc2VjbXAiIFwKKyAgICAgICAgIi1XbCwtLXdyYXA9eG1sU3RybmNhc2VjbXAiIFwKKyAgICAgICAgIi1XbCwtLXdyYXA9eG1sU3Ryc3RyIiBcCisgICAgICAgICItV2wsLS13cmFwPXhtbFN0cmNhc2VzdHIiCitlbHNlCiskKGNhbGwgcHJldHR5LWVycm9yLCBVbmtub3duIGZ1enogZW5naW5lICQobXlfZnV6emVyKSkKK2VuZGlmCiAKIGlmZGVmIExPQ0FMX01PRFVMRV9QQVRICiAkKGVycm9yICQoTE9DQUxfUEFUSCk6IERvIG5vdCBzZXQgTE9DQUxfTU9EVUxFX1BBVEggd2hlbiBidWlsZGluZyB0ZXN0ICQoTE9DQUxfTU9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AgICAkKHByb3RvX2phdmFfc291cmNlc19maWxlX3N0YW1wKSBcCi0gICAgICAgICQoYW5ub3RhdGlvbl9wcm9jZXNzb3JfZGVwcykgXAotICAgICAgICAkKE5PUk1BTElaRV9QQVRIKSBcCi0gICAgICAgICQoWklQVElNRSkgXAotICAgICAgICAkKExPQ0FMX0FERElUSU9OQUxfREVQRU5ERU5DSUVTKSBcCi0gICAgICAgIHwgJChTT09OR19KQVZBQ19XUkFQUEVSKQorICAgICQoamF2YV9zb3VyY2VfbGlzdF9maWxlKSBcCisgICAgJChqYXZhX3NvdXJjZXNfZGVwcykgXAorICAgICQoZnVsbF9qYXZhX2xpYnMpIFwKKyAgICAkKGZ1bGxfamF2YV9ib290Y2xhc3NwYXRoX2xpYnMpIFwKKyAgICAkKGFubm90YXRpb25fcHJvY2Vzc29yX2RlcHMpIFwKKyAgICAkKE5PUk1BTElaRV9QQVRIKSBcCisgICAgJChaSVBUSU1FKSBcCisgICAgJChKQVJfQVJHUykgXAorICAgICQoWklQU1lOQykgXAorICAgIHwgJChTT09OR19KQVZBQ19XUkFQUEVSKQogCSQodHJhbnNmb3JtLWhvc3QtamF2YS10by1wYWNrYWdlKQogCSQocmVtb3ZlLXRpbWVzdGFtcHMtZnJvbS1wYWNrYWdlKQogCiBqYXZhYy1jaGVjayA6ICQoZnVsbF9jbGFzc2VzX2NvbXBpbGVkX2phcikKIGphdmFjLWNoZWNrLSQoTE9DQUxfTU9EVUxFKSA6ICQoZnVsbF9jbGFzc2VzX2NvbXBpbGVkX2phcikKIAorJChmdWxsX2NsYXNzZXNfY29tYmluZWRfamFyKTogJChmdWxsX2NsYXNzZXNfY29tcGlsZWRfamFyKSBcCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKGphcl9tYW5pZmVzdF9maWxlKSBcCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKGZ1bGxfc3RhdGljX2phdmFfbGlicykgfCAkKE1FUkdFX1pJUFMpCisJJChpZiAkKFBSSVZ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X1ZJTlRGX01BTklGRVNUKSkpCisKKyQoY2FsbCBhZGRfanNvbl9ib29sLCBVbWwsICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICQoZmlsdGVyIHRydWUsJChUQVJHRVRfVVNFUl9NT0RFX0xJTlVYKSkpCiskKGNhbGwgYWRkX2pzb25fYm9vbCwgVXNlX2xta2Rfc3RhdHNfbG9nLCAgICAgICAgICAgICAgICAkKGZpbHRlciB0cnVlLCQoVEFSR0VUX0xNS0RfU1RBVFNfTE9HKSkpCiskKGNhbGwgYWRkX2pzb25fc3RyLCAgVmVuZG9yUGF0aCwgICAgICAgICAgICAgICAgICAgICAgICAkKFRBUkdFVF9DT1BZX09VVF9WRU5ET1IpKQorJChjYWxsIGFkZF9qc29uX3N0ciwgIE9kbVBhdGgsICAgICAgICAgICAgICAgICAgICAgICAgICAgJChUQVJHRVRfQ09QWV9PVVRfT0RNKSkKKyQoY2FsbCBhZGRfanNvbl9zdHIsICBQcm9kdWN0UGF0aCwgICAgICAgICAgICAgICAgICAgICAgICQoVEFSR0VUX0NPUFlfT1VUX1BST0RVQ1QpKQorJChjYWxsIGFkZF9qc29uX2Jvb2wsIE1pbmltaXplSmF2YURlYnVnSW5mbywgICAgICAgICAgICAgJChmaWx0ZXIgdHJ1ZSwkKFBST0RVQ1RfTUlOSU1JWkVfSkFWQV9ERUJVR19JTkZPKSkpCisKKyQoY2FsbCBhZGRfanNvbl9ib29sLCBVc2VHb21hLCAgICAgICAgICAgICAgICAgICAgICAgICAgICQoZmlsdGVyLW91dCBmYWxzZSwkKFVTRV9HT01BKSkpCiskKGNhbGwgYWRkX2pzb25fYm9vbCwgQXJjLCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKGZpbHRlciB0cnVlLCQoVEFSR0VUX0FSQykpKQorCiskKGNhbGwgYWRkX2pzb25fc3RyLCAgRGlzdERpciwgICAgICAgICAgICAgICAgICAgICAgICAgICAkKGlmICQoZGlzdF9nb2FsKSwgJChESVNUX0RJUikpKQorCiskKGNhbGwgYWRkX2pzb25fbGlzdCwgTmFtZXNwYWNlc1RvRXhwb3J0LCAgICAgICAgICAgICAgICAkKFBST0RVQ1RfU09PTkdfTkFNRVNQQUNFUykpCisKKyQoY2FsbCBhZGRfanNvbl9saXN0LCBQZ29BZGRpdGlvbmFsUHJvZmlsZURpcnMsICAgICAgICAgICQoUEdPX0FERElUSU9OQUxfUFJPRklMRV9ESVJTKSkKKworX2NvbnRlbnRzIDo9ICQoX2NvbnRlbnRzKSAgICAiVmVuZG9yVmFycyI6IHskKG5ld2xpbmUpCiskKGZvcmVhY2ggbmFtZXNwYWNlLCQoU09PTkdfQ09ORklHX05BTUVTUEFDRVMpLFwKKyAgJChldmFsIF9jb250ZW50cyA6PSAkJChfY29udGVudHMpICAgICAgICAiJChuYW1lc3BhY2UpIjogeyQkKG5ld2xpbmUpKSBcCisgICQoZm9yZWFjaCBrZXksJChTT09OR19DT05GSUdfJChuYW1lc3BhY2UpKSxcCisgICAgJChldmFsIF9jb250ZW50cyA6PSAkJChfY29udGVudHMpICAgICAgICAgICAgIiQoa2V5KSI6ICIkKFNPT05HX0NPTkZJR18kKG5hbWVzcGFjZSlfJChrZXkpKSIsJCQobmV3bGluZSkpKVwKKyAgJChldmFsIF9jb250ZW50cyA6PSAkJChfY29udGVudHMpJChpZiAkKHN0cmlwICQoU09PTkdfQ09ORklHXyQobmFtZXNwYWNlKSkpLF9fU1ZfRU5EKSAgICAgICAgfSwkJChuZXdsaW5lKSkpCitfY29udGVudHMgOj0gJChfY29udGVudHMpJChpZiAkKHN0cmlwICQoU09PTkdfQ09ORklHX05BTUVTUEFDRVMpKSxfX1NWX0VORCkgICAgfSwkKG5ld2xpbmUpCisKK19jb250ZW50cyA6PSAkKHN1YnN0ICQoY29tbWEpJChuZXdsaW5lKV9fU1ZfRU5ELCQobmV3bGluZSksJChfY29udGVudHMpX19TVl9FTkR9JChuZXdsaW5lKSkKKworJChmaWxlID4kKFNPT05HX1ZBUklBQkxFUyk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CVUlMRF9TWVNURU09YnVpbGQvY29yZSBcCi0gICAgICAgICAgICAgICAgICAgICAgICBjb21tYW5kIG1ha2UgLS1uby1wcmludC1kaXJlY3RvcnkgLWYgYnVpbGQvY29yZS9jb25maWcubWsgXAotICAgICAgICAgICAgICAgICAgICAgICAgZHVtcC1tYW55LXZhcnMgXAotICAgICAgICAgICAgICAgICAgICAgICAgRFVNUF9NQU5ZX1ZBUlM9IiRjYWNoZWRfdmFycyIgXAotICAgICAgICAgICAgICAgICAgICAgICAgRFVNUF9NQU5ZX0FCU19WQVJTPSIkY2FjaGVkX2Fic192YXJzIiBcCi0gICAgICAgICAgICAgICAgICAgICAgICBEVU1QX1ZBUl9QUkVGSVg9InZhcl9jYWNoZV8iIFwKLSAgICAgICAgICAgICAgICAgICAgICAgIERVTVBfQUJTX1ZBUl9QUkVGSVg9ImFic192YXJfY2FjaGVfImAKKyAgICBidWlsZF9kaWN0c19zY3JpcHQ9YFxidWlsdGluIGNkICRUOyBidWlsZC9zb29uZy9zb29uZ191aS5iYXNoIC0tZHVtcHZhcnMtbW9kZSBcCisgICAgICAgICAgICAgICAgICAgICAgICAtLXZhcnM9IiRjYWNoZWRfdmFycyIgXAorICAgICAgICAgICAgICAgICAgICAgICAgLS1hYnMtdmFycz0iJGNhY2hlZF9hYnNfdmFycyIgXAorICAgICAgICAgICAgICAgICAgICAgICAgLS12YXItcHJlZml4PXZhcl9jYWNoZV8gXAorICAgICAgICAgICAgICAgICAgICAgICAgLS1hYnMtdmFyLXByZWZpeD1hYnNfdmFyX2NhY2hlX2AKICAgICBsb2NhbCByZXQ9JD8KICAgICBpZiBbICRyZXQgLW5lIDAgXQogICAgIHRoZW4KICAgICAgICAgdW5zZXQgYnVpbGRfZGljdHNfc2NyaXB0CiAgICAgICAgIHJldHVybiAkcmV0CiAgICAgZmkKLSAgICAjIEV4Y3V0ZSB0aGUgc2NyaXB0IHRvIHN0b3JlIHRoZSAiPHZhbD49PHZhbHVlPiIgcGFpcnMgYX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pbGQvZW52c2V0dXAuc2ggd2lsbCBwZXJzaXN0IGZvcmV2ZXIuCi0gICAgaWYgWyAtbiAiJEFORFJPSURfU0VUX0pBVkFfSE9NRSIgXTsgdGhlbgotICAgICAgZXhwb3J0IEpBVkFfSE9NRT0iIgotICAgIGZpCi0KLSAgICBpZiBbICEgIiRKQVZBX0hPTUUiIF07IHRoZW4KLSAgICAgIGlmIFsgLW4gIiRMRUdBQ1lfVVNFX0pBVkE3IiBdOyB0aGVuCi0gICAgICAgIGVjaG8gV2FybmluZzogU3VwcG9ydCBmb3IgSkRLIDcgd2lsbCBiZSBkcm9wcGVkLiBTd2l0Y2ggdG8gSkRLIDguCi0gICAgICAgIGNhc2UgYHVuYW1lIC1zYCBpbgotICAgICAgICAgICAgRGFyd2luKQotICAgICAgICAgICAgICAgIGV4cG9ydCBKQVZBX0hPTUU9JCgvdXNyL2xpYmV4ZWMvamF2YV9ob21lIC12IDEuNykKLSAgICAgICAgICAgICAgICA7OwotICAgICAgICAgICAgKikKLSAgICAgICAgICAgICAgICBleHBvcnQgSkFWQV9IT01FPS91c3IvbGliL2p2bS9qYXZhLTctb3Blbmpkay1hbWQ2NAotICAgICAgICAgICAgICAgIDs7Ci0gICAgICAgIGVzYWMKLSAgICAgIGVsc2UKLSAgICAgICAgY2FzZSBgdW5hbWUgLXNgIGluCi0gICAgICAgICAgICBEYXJ3aW4pCi0gICAgICAgICAgICAgICAgZXhwb3J0IEpBVkFfSE9NRT0kKC91c3IvbGliZXhlYy9qYXZhX2hvbWUgLXYgMS44KQotICAgICAgICAgICAgICAgIDs7Ci0gICAgICAgICAgICAqKQotICAgICAgICAgICAgICAgIGV4cG9ydCBKQVZBX0hPTUU9L3Vzci9saWIvanZtL2phdmEtOC1vcGVuamRrLWFtZDY0Ci0gICAgICAgICAgICAgICAgOzsKLSAgICAgICAgZXNhYwotICAgICAgZmkKLQotICAgICAgIyBLZWVwIHRyYWNrIG9mIHRoZSBmYWN0IHRoYXQgd2Ugc2V0I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G5vdCB0byBiZSBydW4gb24gYSBkZXZpY2UpIGluIHRoZSBzb3VyY2UgdHJlZQorICAgIHRhcmdldCAgICAgICAgICAgICAgICAgIEJ1aWxkIGFsbCB0aGUgdGFyZ2V0IGNvZGUgKHRvIGJlIHJ1biBvbiB0aGUgZGV2aWNlKSBpbiB0aGUgc291cmNlIHRyZWUKKworICAgIChqYXZhfG5hdGl2ZSktKGhvc3R8dGFyZ2V0KQorICAgIChob3N0fHRhcmdldCktKGphdmF8bmF0aXZlKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgIEJ1aWxkIHRoZSBpbnRlcnNlY3Rpb24gb2YgdGhlIHR3byBnaXZlbiBhcmd1bWVudHMKKworICAgIHNub2QgICAgICAgICAgICAgICAgICAgIFF1aWNrbHkgcmVidWlsZCB0aGUgc3lzdGVtIGltYWdlIGZyb20gYnVpbHQgcGFja2FnZXMKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICBTdGFuZHMgZm9yICJTeXN0ZW0sIE5PIERlcGVuZGVuY2llcyIKKyAgICB2bm9kICAgICAgICAgICAgICAgICAgICBRdWlja2x5IHJlYnVpbGQgdGhlIHZlbmRvciBpbWFnZSBmcm9tIGJ1aWx0IHBhY2thZ2VzCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgU3RhbmRzIGZvciAiVmVuZG9yLCBOTyBEZXBlbmRlbmNpZXMiCisgICAgcG5vZCAgICAgICAgICAgICAgICAgICAgUXVpY2tseSByZWJ1aWxkIHRoZSBwcm9kdWN0IGltYWdlIGZyb20gYnVpbHQgcGFja2FnZXMKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICBTdGFuZHMgZm9yICJQcm9kdWN0LCBOTyBEZXBlbmRlbmNpZXMiCisKKworU28sIGZvciBleGFtcGxlLCB5b3UgY291bGQgcnVuOgorCitjZCAnIiR7VE9QfSInCitzb3VyY2UgYnVpbGQvZW52c2V0dXAuc2gKK2x1bmNoIGFvc3BfYXJtLXVzZXJkZWJ1ZworbSAtai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AgKiBodG1sIC5sYXlvdXQtY29udGVudC1yb3cgewotICAgIGhlaWdodDogMXB4OyB9Ci0KLS5sYXlvdXQtY29udGVudC1jb2wgewotICBmbG9hdDogbGVmdDsKLSAgbWFyZ2luLWxlZnQ6IDIwcHg7IH0KLSAgLmxheW91dC1jb250ZW50LWNvbDpmaXJzdC1jaGlsZCB7Ci0gICAgbWFyZ2luLWxlZnQ6IDA7IH0KLSAgLmxheW91dC1jb250ZW50LWNvbCBoMywKLSAgLmxheW91dC1jb250ZW50LWNvbCBoNCB7Ci0gICAgbWFyZ2luLXRvcDowOyB9Ci0KLS5sYXlvdXQtY29udGVudC1jb2wuc3Bhbi0xIHsKLSAgd2lkdGg6IDQwcHg7IH0KLQotLmxheW91dC1jb250ZW50LWNvbC5zcGFuLTIgewotICB3aWR0aDogMTAwcHg7IH0KLQotLmxheW91dC1jb250ZW50LWNvbC5zcGFuLTMgewotICB3aWR0aDogMTYwcHg7IH0KLQotLmxheW91dC1jb250ZW50LWNvbC5zcGFuLTQgewotICB3aWR0aDogMjIwcHg7IH0KLQotLmxheW91dC1jb250ZW50LWNvbC5zcGFuLTUgewotICB3aWR0aDogMjgwcHg7IH0KLQotLmxheW91dC1jb250ZW50LWNvbC5zcGFuLTYgewotICB3aWR0aDogMzQwcHg7IH0KLQotLmxheW91dC1jb250ZW50LWNvbC5zcGFuLTcgewotICB3aWR0aDogNDAwcHg7IH0KLQotLmxheW91dC1jb250ZW50LWNvbC5zcGFuLTggewotICB3aWR0aDogNDYwcHg7IH0KLQotLmxheW91dC1jb250ZW50LWNvbC5zcGFuLTkgewotICB3aWR0aDogNTIwcHg7IH0KLQotLmxheW91dC1jb250ZW50LWNvbC5zcGFuLTEwIHsKLSAgd2lkdGg6IDU4MHB4OyB9Ci0KLS5sYXlvdXQtY29udGVudC1jb2wuc3Bhbi0xMSB7Ci0gIHdpZHRoOiA2NDBweDsgfQotCi0ubGF5b3V0LWNvbnRlbnQtY29sLnNwYW4tMTIgewotICB3aW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PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotICAgQ29sdW1ucwotICAgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0gKi8KLS8qIEFwcGxpZWQgdG8gYm9keSB0byBkZWJ1ZyBsYXlvdXQgYWxpZ25tZW50cwotLmdyaWQgewotICB3aWR0aDoxMDAlOwotICBoZWlnaHQ6MTAwJTsKLSAgYmFja2dyb3VuZDp1cmwoLi4vaW1hZ2VzL2dyaWQucG5nKSBjZW50ZXIgcmVwZWF0LXk7Ci0gIHRvcDowcHg7Ci0gIG1hcmdpbjphdXRvOwotICBwb3NpdGlvbjphYnNvbHV0ZTsKLX0gICAKLSovCi0KLUBtZWRpYSBzY3JlZW4sIHByb2plY3Rpb24sIHByaW50IHsKLS5mdWxsIHsKLQlwYWRkaW5nOiAyLjVlbSAwOwotCWJvcmRlci10b3A6IHNvbGlkIDFweCAjZGRkOwotCWJvcmRlci1ib3R0b206IHNvbGlkIDFweCAjZGRkOwotCWJhY2tncm91bmQ6ICNmN2Y3Zjc7CQotfQotLndyYXAgewotCW1hcmdpbjogMCBhdXRvOwotCXdpZHRoOiAxMDAlOwotCW1pbi13aWR0aDo2MDBweDsKLQljbGVhcjogYm90aDsKLX0KLS5jb2xzIHsKLSAgICBoZWlnaHQ6IDElOwotICAgIG1hcmdpbjogMCAtMS41MzM3NDIzMzEyODgzNDM1NTgyODIlOwotICAgIHdpZHRoOiAxMDMuMDY3NDg0NjYyNTc2NjklfQotKitodG1sIC5jb2xzIHsKLSAgICBtYXJnaW4tYm90dG9tOiAyMHB4OwotfQotLmNvbHM6YWZ0ZXIgewotICAgIGNsZWFyOiBib3RoOwotICAgIGNvbnRlbnQ6ICcgJzsKLSAgICBkaXNwbGF5OiBibG9jazsKLSAgICBoZWlnaHQ6IDA7Ci0gICAgdmlza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HMgdG8gZGlzdGluZ3Vpc2ggYmV0d2VlbiAoYT0rKy9iL2kpIGFuZCAoYSsrL2IvaSkgYnV0IGl0IHdvcmtzCi0gICAgKiB2ZXJ5IHdlbGwgaW4gcHJhY3RpY2UuCi0gICAgKgotICAgICogQHByaXZhdGUKLSAgICAqLwotICB2YXIgUkVHRVhQX1BSRUNFREVSX1BBVFRFUk4gPSBmdW5jdGlvbiAoKSB7Ci0gICAgICB2YXIgcHJlY2VkZXJzID0gWwotICAgICAgICAgICIhIiwgIiE9IiwgIiE9PSIsICIjIiwgIiUiLCAiJT0iLCAiJiIsICImJiIsICImJj0iLAotICAgICAgICAgICImPSIsICIoIiwgIioiLCAiKj0iLCAvKiAiKyIsICovICIrPSIsICIsIiwgLyogIi0iLCAqLyAiLT0iLAotICAgICAgICAgICItPiIsIC8qIi4iLCAiLi4iLCAiLi4uIiwgaGFuZGxlZCBiZWxvdyAqLyAiLyIsICIvPSIsICI6IiwgIjo6IiwgIjsiLAotICAgICAgICAgICI8IiwgIjw8IiwgIjw8PSIsICI8PSIsICI9IiwgIj09IiwgIj09PSIsICI+IiwKLSAgICAgICAgICAiPj0iLCAiPj4iLCAiPj49IiwgIj4+PiIsICI+Pj49IiwgIj8iLCAiQCIsICJbIiwKLSAgICAgICAgICAiXiIsICJePSIsICJeXiIsICJeXj0iLCAieyIsICJ8IiwgInw9IiwgInx8IiwKLSAgICAgICAgICAifHw9IiwgIn4iIC8qIGhhbmRsZXMgPX4gYW5kICF+ICovLAotICAgICAgICAgICJicmVhayIsICJjYXNlIiwgImNvbnRpbnVlIiwgImRlbGV0ZSIsCi0gICAgICAgICAgImRvIiwgImVsc2UiLCAiZmluYWxseSIsICJpbnN0YW5jZW9mIiwKLSAgICAgICAgICAicmV0dXJuIiwgInRocm93IiwgInRyeSIsICJ0eXBlb2YiCi0gICAgICAgICAgXTsKLSAgICAgIHZhciBwYXR0ZXJuID0gJyg/Ol5efFsrLV0nOwotICAgICAgZm9yICh2YXIgaSA9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yc1tpXTsgfQotICAgICAgICAgICAgc29ydGVkQXR0cnMuc29ydChmdW5jdGlvbiAoYSwgYikgewotICAgICAgICAgICAgICAgIHJldHVybiAoYS5uYW1lIDwgYi5uYW1lKSA/IC0xIDogYS5uYW1lID09PSBiLm5hbWUgPyAwIDogMTsKLSAgICAgICAgICAgICAgfSk7Ci0gICAgICAgICAgICBhdHRycyA9IHNvcnRlZEF0dHJzOwotICAgICAgICAgIH0KLSAgICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IG47ICsraSkgewotICAgICAgICAgICAgdmFyIGF0dHIgPSBhdHRyc1tpXTsKLSAgICAgICAgICAgIGlmICghYXR0ci5zcGVjaWZpZWQpIHsgY29udGludWU7IH0KLSAgICAgICAgICAgIG91dC5wdXNoKCcgJywgYXR0ci5uYW1lLnRvTG93ZXJDYXNlKCksCi0gICAgICAgICAgICAgICAgICAgICAnPSInLCBhdHRyaWJUb0h0bWwoYXR0ci52YWx1ZSksICciJyk7Ci0gICAgICAgICAgfQotICAgICAgICB9Ci0gICAgICAgIG91dC5wdXNoKCc+Jyk7Ci0gICAgICAgIGZvciAodmFyIGNoaWxkID0gbm9kZS5maXJzdENoaWxkOyBjaGlsZDsgY2hpbGQgPSBjaGlsZC5uZXh0U2libGluZykgewotICAgICAgICAgIG5vcm1hbGl6ZWRIdG1sKGNoaWxkLCBvdXQsIG9wdF9zb3J0QXR0cnMpOwotICAgICAgICB9Ci0gICAgICAgIGlmIChub2RlLmZpcnN0Q2hpbGQgfHwgIS9eKD86YnJ8bGlua3xpbWcpJC8udGVzdChuYW1lKSkgewotICAgICAgICAgIG91dC5wdXNoKCc8XC8nLCBuYW1lLCAnPicpOwotICAgICAgICB9Ci0gICAgICAgIGJyZWFrOwotICAgICAgY2FzZSAzOiBjYXNlIDQ6IC8vIHRleHQKLSAgICAgICAgb3V0LnB1c2godGV4dFRvSHRtbChub2RlLm5vZGVWYWx1ZSkpOwotICAgICAgICBicmVhazsKLSAgICB9Ci0gIH0K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wZShjaGFyQ29kZSkgewotICAgICAgaWYgKGNoYXJDb2RlIDwgMHgyMCkgewotICAgICAgICByZXR1cm4gKGNoYXJDb2RlIDwgMHgxMCA/ICdcXHgwJyA6ICdcXHgnKSArIGNoYXJDb2RlLnRvU3RyaW5nKDE2KTsKLSAgICAgIH0KLSAgICAgIHZhciBjaCA9IFN0cmluZy5mcm9tQ2hhckNvZGUoY2hhckNvZGUpOwotICAgICAgaWYgKGNoID09PSAnXFwnIHx8IGNoID09PSAnLScgfHwgY2ggPT09ICdbJyB8fCBjaCA9PT0gJ10nKSB7Ci0gICAgICAgIGNoID0gJ1xcJyArIGNoOwotICAgICAgfQotICAgICAgcmV0dXJuIGNoOwotICAgIH0KLQotICAgIGZ1bmN0aW9uIGNhc2VGb2xkQ2hhcnNldChjaGFyU2V0KSB7Ci0gICAgICB2YXIgY2hhcnNldFBhcnRzID0gY2hhclNldC5zdWJzdHJpbmcoMSwgY2hhclNldC5sZW5ndGggLSAxKS5tYXRjaCgKLSAgICAgICAgICBuZXcgUmVnRXhwKAotICAgICAgICAgICAgICAnXFxcXHVbMC05QS1GYS1mXXs0fScKLSAgICAgICAgICAgICAgKyAnfFxcXFx4WzAtOUEtRmEtZl17Mn0nCi0gICAgICAgICAgICAgICsgJ3xcXFxcWzAtM11bMC03XXswLDJ9JwotICAgICAgICAgICAgICArICd8XFxcXFswLTddezEsMn0nCi0gICAgICAgICAgICAgICsgJ3xcXFxcW1xcc1xcU10nCi0gICAgICAgICAgICAgICsgJ3wtJwotICAgICAgICAgICAgICArICd8W14tXFxcXF0nLAotICAgICAgICAgICAgICAnZycpKTsKLSAgICAgIHZhciBncm91cHMgPSBbXTsKLSAgICAgIHZhciByYW5nZXMgPSBbXTsKLSAgICAgIHZhciBpbnZlcnNlID0gY2hhcnNldFBhcnRzWzBdID09PSAnXic7Ci0gICAgICBmb3IgKHZhciBpID0gaW52ZXJzZSA/IDEgOiAwLCBuID0gY2hhcnNldFBhcnRzLmxlbmd0aDsga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XQoMCk7Ci0gICAgICAgICAgaWYgKHAubGVuZ3RoID49IDIgJiYgY2gwID09PSAnWycpIHsKLSAgICAgICAgICAgIHBhcnRzW2ldID0gY2FzZUZvbGRDaGFyc2V0KHApOwotICAgICAgICAgIH0gZWxzZSBpZiAoY2gwICE9PSAnXFwnKSB7Ci0gICAgICAgICAgICAvLyBUT0RPOiBoYW5kbGUgbGV0dGVycyBpbiBudW1lcmljIGVzY2FwZXMuCi0gICAgICAgICAgICBwYXJ0c1tpXSA9IHAucmVwbGFjZSgKLSAgICAgICAgICAgICAgICAvW2EtekEtWl0vZywKLSAgICAgICAgICAgICAgICBmdW5jdGlvbiAoY2gpIHsKLSAgICAgICAgICAgICAgICAgIHZhciBjYyA9IGNoLmNoYXJDb2RlQXQoMCk7Ci0gICAgICAgICAgICAgICAgICByZXR1cm4gJ1snICsgU3RyaW5nLmZyb21DaGFyQ29kZShjYyAmIH4zMiwgY2MgfCAzMikgKyAnXSc7Ci0gICAgICAgICAgICAgICAgfSk7Ci0gICAgICAgICAgfQotICAgICAgICB9Ci0gICAgICB9Ci0KLSAgICAgIHJldHVybiBwYXJ0cy5qb2luKCcnKTsKLSAgICB9Ci0KLSAgICB2YXIgcmV3cml0dGVuID0gW107Ci0gICAgZm9yICh2YXIgaSA9IDAsIG4gPSByZWdleHMubGVuZ3RoOyBpIDwgbjsgKytpKSB7Ci0gICAgICB2YXIgcmVnZXggPSByZWdleHNbaV07Ci0gICAgICBpZiAocmVnZXguZ2xvYmFsIHx8IHJlZ2V4Lm11bHRpbGluZSkgeyB0aHJvdyBuZXcgRXJyb3IoJycgKyByZWdleCk7IH0KLSAgICAgIHJld3JpdHRlbi5wdXNoKAotICAgICAgICAgICcoPzonICsgYWxsb3dBbnl3aGVyZUZvbGRDYXNlQW5kUmVudW1iZXJHcm91cHMocmVnZXgpICsgJyknKTsKLSAgICB9Ci0KLSAgICByZXR1cm4gbmV3IFJlZ0V4cChyZXdyaXR0ZW4uam9pbignfCcpLCBpZ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PSJub2NvZGUiPiB3aWxsIHN0YXJ0IGEgc2VjdGlvbiB0aGF0IHNob3VsZCBiZQotICAgICAgICAgICAgICAvLyBpZ25vcmVkLiAgQ29udGludWUgd2Fsa2luZyB0aGUgbGlzdCB1bnRpbCB3ZSBzZWUgYSBtYXRjaGluZyBlbmQKLSAgICAgICAgICAgICAgLy8gdGFnLgotICAgICAgICAgICAgICB2YXIgbmFtZSA9IG1hdGNoLm1hdGNoKHByX3RhZ05hbWVSZSlbMl07Ci0gICAgICAgICAgICAgIHZhciBkZXB0aCA9IDE7Ci0gICAgICAgICAgICAgIHZhciBqOwotICAgICAgICAgICAgICBlbmRfdGFnX2xvb3A6Ci0gICAgICAgICAgICAgIGZvciAoaiA9IGkgKyAxOyBqIDwgbjsgKytqKSB7Ci0gICAgICAgICAgICAgICAgdmFyIG5hbWUyID0gbWF0Y2hlc1tqXS5tYXRjaChwcl90YWdOYW1lUmUpOwotICAgICAgICAgICAgICAgIGlmIChuYW1lMiAmJiBuYW1lMlsyXSA9PT0gbmFtZSkgewotICAgICAgICAgICAgICAgICAgaWYgKG5hbWUyWzFdID09PSAnLycpIHsKLSAgICAgICAgICAgICAgICAgICAgaWYgKC0tZGVwdGggPT09IDApIHsgYnJlYWsgZW5kX3RhZ19sb29wOyB9Ci0gICAgICAgICAgICAgICAgICB9IGVsc2UgewotICAgICAgICAgICAgICAgICAgICArK2RlcHRoOwotICAgICAgICAgICAgICAgICAgfQotICAgICAgICAgICAgICAgIH0KLSAgICAgICAgICAgICAgfQotICAgICAgICAgICAgICBpZiAoaiA8IG4pIHsKLSAgICAgICAgICAgICAgICBleHRyYWN0ZWRUYWdzLnB1c2goCi0gICAgICAgICAgICAgICAgICAgIHNvdXJjZUJ1ZkxlbiwgbWF0Y2hlcy5zbGljZShpLCBqICsgMSkuam9pbignJykpOwotICAgICAgICAgICAgICAgIGkgPSBqOwotICAgICAgICAgICAgICB9IGVsc2UgeyAgLy8gSWdub3JlIHVuY2xvc2VkIHNlY3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1RZUEUsICAgICAgICAvXkA/W0EtWl0rW2Etel1bQS1aYS16XyRAMC05XSovLCBudWxsXSwKLSAgICAgICAgW1BSX1BMQUlOLCAgICAgICAvXlthLXpfJF1bYS16XyRAMC05XSovaSwgbnVsbF0sCi0gICAgICAgIFtQUl9MSVRFUkFMLAotICAgICAgICAgbmV3IFJlZ0V4cCgKLSAgICAgICAgICAgICAnXig/OicKLSAgICAgICAgICAgICAvLyBBIGhleCBudW1iZXIKLSAgICAgICAgICAgICArICcweFthLWYwLTldKycKLSAgICAgICAgICAgICAvLyBvciBhbiBvY3RhbCBvciBkZWNpbWFsIG51bWJlciwKLSAgICAgICAgICAgICArICd8KD86XFxkKD86X1xcZCspKlxcZCooPzpcXC5cXGQqKT98XFwuXFxkXFwrKScKLSAgICAgICAgICAgICAvLyBwb3NzaWJseSBpbiBzY2llbnRpZmljIG5vdGF0aW9uCi0gICAgICAgICAgICAgKyAnKD86ZVsrXFwtXT9cXGQrKT8nCi0gICAgICAgICAgICAgKyAnKScKLSAgICAgICAgICAgICAvLyB3aXRoIGFuIG9wdGlvbmFsIG1vZGlmaWVyIGxpa2UgVUwgZm9yIHVuc2lnbmVkIGxvbmcKLSAgICAgICAgICAgICArICdbYS16XSonLCAnaScpLAotICAgICAgICAgbnVsbCwgJzAxMjM0NTY3ODknXSwKLSAgICAgICAgW1BSX1BVTkNUVUFUSU9OLCAvXi5bXlxzXHdcLiRAXCdcIlxgXC9cI10qLywgbnVsbF0pOwotCi0gICAgcmV0dXJuIGNyZWF0ZVNpbXBsZUxleGVyKHNob3J0Y3V0U3R5bGVQYXR0ZXJucywgZmFsbHRocm91Z2hTdHlsZVBhdHRlcm5zKTsKLSAgfQotCi0gIHZhciBkZWNvcmF0ZVNvdXJjZSA9IHNvdXJjZURlY29yYXRvcih7Ci0gICAgICAgICdrZXl3b3Jkcyc6IEFMTF9LRVlXT1JEUywKLSAgICAgICAgJ2hhc2hDb21tZW50cyc6IHRydWUsCi0gICAgICAgICdjU3R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kb2VzbnQtaWU3LQotICAgIHZhciBpc0lFNjc4ID0gd2luZG93WydfcHJfaXNJRTYnXSgpOwotICAgIHZhciBsaW5lQnJlYWtIdG1sID0gKAotICAgICAgICBpc0lFNjc4Ci0gICAgICAgID8gKHNvdXJjZU5vZGUgJiYgc291cmNlTm9kZS50YWdOYW1lID09PSAnUFJFJwotICAgICAgICAgICAvLyBVc2UgbGluZSBmZWVkcyBpbnN0ZWFkIG9mIDxicj5zIHNvIHRoYXQgY29weWluZyBhbmQgcGFzdGluZyB3b3JrcwotICAgICAgICAgICAvLyBvbiBJRS4KLSAgICAgICAgICAgLy8gU2VlIElzc3VlIDEwNCBmb3IgdGhlIGRlcml2YXRpb24gb2YgdGhpcyBtZXNzLgotICAgICAgICAgICA/IChpc0lFNjc4ID09PSA2ID8gJyYjMTYwO1xyXG4nIDoKLSAgICAgICAgICAgICAgaXNJRTY3OCA9PT0gNyA/ICcmIzE2MDs8YnIgLz5ccicgOgotICAgICAgICAgICAgICBpc0lFNjc4ID09PSA4ID8gJyYjMTYwOzxiciAvPicgOiAnJiMxNjA7XHInKQotICAgICAgICAgICAvLyBJRSBjb2xsYXBzZXMgbXVsdGlwbGUgYWRqYWNlbnQgPGJyPnMgaW50byAxIGxpbmUgYnJlYWsuCi0gICAgICAgICAgIC8vIFByZWZpeCBldmVyeSBuZXdsaW5lIHdpdGggJyYjMTYwOycgdG8gcHJldmVudCBzdWNoIGJlaGF2aW9yLgotICAgICAgICAgICAvLyAmbmJzcDsgaXMgdGhlIHNhbWUgYXMgJiMxNjA7IGJ1dCB3b3JrcyBpbiBYTUwgYXMgd2VsbCBhcyBIVE1MLgotICAgICAgICAgICA6ICcmIzE2MDs8YnIgLz4nKQotICAgICAgICA6ICc8YnIgLz4nKTsKLQotICAgIHZhciBsaW5lQnJlYWtlcjsKLSAgICBpZiAobnVtYmVyTGluZXMpIHsKLSAgICAgIHZhciBsaW5lQnJlYWtzID0gW107Ci0gICAgICBmb3IgKHZhciBpID0gMD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OVCwgICAgIC9ePFwhLS1bXHNcU10qPyg/Oi1cLT58JCkvXSwKLSAgICAgICAgICAgLy8gVW5lc2NhcGVkIGNvbnRlbnQgaW4gYW4gdW5rbm93biBsYW5ndWFnZQotICAgICAgICAgICBbJ2xhbmctJywgICAgICAgIC9ePFw/KFtcc1xTXSs/KSg/Olw/PnwkKS9dLAotICAgICAgICAgICBbJ2xhbmctJywgICAgICAgIC9ePCUoW1xzXFNdKz8pKD86JT58JCkvXSwKLSAgICAgICAgICAgW1BSX1BVTkNUVUFUSU9OLCAvXig/OjxbJT9dfFslP10+KS9dLAotICAgICAgICAgICBbJ2xhbmctJywgICAgICAgIC9ePHhtcFxiW14+XSo+KFtcc1xTXSs/KTxcL3htcFxiW14+XSo+L2ldLAotICAgICAgICAgICAvLyBVbmVzY2FwZWQgY29udGVudCBpbiBqYXZhc2NyaXB0LiAgKE9yIHBvc3NpYmx5IHZic2NyaXB0KS4KLSAgICAgICAgICAgWydsYW5nLWpzJywgICAgICAvXjxzY3JpcHRcYltePl0qPihbXHNcU10qPykoPFwvc2NyaXB0XGJbXj5dKj4pL2ldLAotICAgICAgICAgICAvLyBDb250YWlucyB1bmVzY2FwZWQgc3R5bGVzaGVldCBjb250ZW50Ci0gICAgICAgICAgIFsnbGFuZy1jc3MnLCAgICAgL148c3R5bGVcYltePl0qPihbXHNcU10qPykoPFwvc3R5bGVcYltePl0qPikvaV0sCi0gICAgICAgICAgIFsnbGFuZy1pbi50YWcnLCAgL14oPFwvP1thLXpdW148Pl0qPikvaV0KLSAgICAgICAgICBdKSwKLSAgICAgIFsnZGVmYXVsdC1tYXJrdXAnLCAnaHRtJywgJ2h0bWwnLCAnbXhtbCcsICd4aHRtbCcsICd4bWwnLCAneHNsJ10pOwotICByZWdpc3RlckxhbmdIYW5kbGVyKAotICAgICAgY3JlYXRlU2ltcGxlTGV4ZXIoCi0gICAgICAgICAgWwotICAgICAgICAgICBbUFJfUExBSU4sICAgICAgICAvXltcc10rLywgbnVsbCwgJyBcdFxyXG4nXSwKLSAgICAgICAgICAgW1BSX0FUVFJJQl9WQUxVRSwgL14oPzpcIlteXCJdKlwiP3xcJ1teXCddKlwnPykvLCBudWxsLCAnXCJcJyddCi0gICAgICAgICAgIF0sCi0gICAgICAgICAgWwotICAgICAgICAgICBbUFJfVEFHLCAgICAgICAgICAvXl48XC8/W2Etel0oPzpbXHcuOi1dKlx3KT98XC8/PiQvaV0sCi0gICAgICAgICAgIFtQUl9BVFRSSUJfTkFNRSwgIC9eKD8hc3R5bGVbXHM9XXxvbilbYS16XSg/OltcdzotXSpcdyk/L2ldLAotICAgICAgICAgICBbJ2xhbmctdXEudmFsJywgICAvXj1ccyooW14+XCdcIlxzXSooPzpbXj5cJ1wiXHNcL118XC8oPz1ccykpKS9dLAotICAgICAgICAgICBbUFJfUFVOQ1RVQVRJT04sICAvXls9PD5cL10rL10sCi0gICAgICAgICAgIFsnbGFuZy1qcycsICAgICAgIC9eb25cdytccyo9XHMqXCIoW15cIl0rKVwiL2ldLAotICAgICAgICAgICBbJ2xhbmctanMnLCAgICAgICAvXm9uXHcrXHMqPVxzKlwnKFteXCddKylcJy9pXSwKLSAgICAgICAgICAgWydsYW5nLWpzJywgICAgICAgL15vblx3K1xzKj1ccyooW15cIlwnPlxzXSspL2ldLAotICAgICAgICAgICBbJ2xhbmctY3NzJywgICAgICAvXnN0eWxlXHMqPVxzKlwiKFteXCJdKylcIi9pXSwKLSAgICAgICAgICAgWydsYW5nLWNzcycsICAgICAgL15zdHlsZVxzKj1ccypcJyhbXlwnXSspXCcvaV0sCi0gICAgICAgICAgIFsnbGFuZy1jc3MnLCAgICAgIC9ec3R5bGVccyo9XHMqKFteXCJcJz5cc10rKS9pXQotICAgICAgICAgICBdKSwKLSAgICAgIFsnaW4udGFnJ10pOwotICByZWdpc3RlckxhbmdIYW5kbGVyKAotICAgICAgY3JlYXRlU2ltcGxlTGV4ZXIoW10sIFtbUFJfQVRUUklCX1ZBTFVFLCAvXltcc1xTXSsv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aCcsICdjc2gnLCAnc2gnXSk7Ci0gIHJlZ2lzdGVyTGFuZ0hhbmRsZXIoc291cmNlRGVjb3JhdG9yKHsKLSAgICAgICAgICAna2V5d29yZHMnOiBQWVRIT05fS0VZV09SRFMsCi0gICAgICAgICAgJ2hhc2hDb21tZW50cyc6IHRydWUsCi0gICAgICAgICAgJ211bHRpTGluZVN0cmluZ3MnOiB0cnVlLAotICAgICAgICAgICd0cmlwbGVRdW90ZWRTdHJpbmdzJzogdHJ1ZQotICAgICAgICB9KSwgWydjdicsICdweSddKTsKLSAgcmVnaXN0ZXJMYW5nSGFuZGxlcihzb3VyY2VEZWNvcmF0b3IoewotICAgICAgICAgICdrZXl3b3Jkcyc6IFBFUkxfS0VZV09SRFMsCi0gICAgICAgICAgJ2hhc2hDb21tZW50cyc6IHRydWUsCi0gICAgICAgICAgJ211bHRpTGluZVN0cmluZ3MnOiB0cnVlLAotICAgICAgICAgICdyZWdleExpdGVyYWxzJzogdHJ1ZQotICAgICAgICB9KSwgWydwZXJsJywgJ3BsJywgJ3BtJ10pOwotICByZWdpc3RlckxhbmdIYW5kbGVyKHNvdXJjZURlY29yYXRvcih7Ci0gICAgICAgICAgJ2tleXdvcmRzJzogUlVCWV9LRVlXT1JEUywKLSAgICAgICAgICAnaGFzaENvbW1lbnRzJzogdHJ1ZSwKLSAgICAgICAgICAnbXVsdGlMaW5lU3RyaW5ncyc6IHRydWUsCi0gICAgICAgICAgJ3JlZ2V4TGl0ZXJhbHMnOiB0cnVlCi0gICAgICAgIH0pLCBbJ3JiJ10pOwotICByZWdpc3RlckxhbmdIYW5kbGVyKHNvdXJjZURlY29yYXRvcih7Ci0gICAgICAgICAgJ2tleXdvcmRzJzogSlNDUklQVF9LRVlXT1JEUywKLSAgICAgICAgICAnY1N0eWxlQ29tbWVudHMnOiB0cnVlLAotICAgICAgICAgICdyZWdleExpdGVyYWxzJzogdHJ1ZQotICAgICAgICB9KSwgWydqcyddKTsKLSAgcmVnaXN0ZXJMYW5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cC5jbGFzc05hbWUuaW5kZXhPZigncHJldHR5cHJpbnQnKSA+PSAwKSB7Ci0gICAgICAgICAgICAgIG5lc3RlZCA9IHRydWU7Ci0gICAgICAgICAgICAgIGJyZWFrOwotICAgICAgICAgICAgfQotICAgICAgICAgIH0KLSAgICAgICAgICBpZiAoIW5lc3RlZCkgewotICAgICAgICAgICAgLy8gZmV0Y2ggdGhlIGNvbnRlbnQgYXMgYSBzbmlwcGV0IG9mIHByb3Blcmx5IGVzY2FwZWQgSFRNTC4KLSAgICAgICAgICAgIC8vIEZpcmVmb3ggYWRkcyBuZXdsaW5lcyBhdCB0aGUgZW5kLgotICAgICAgICAgICAgdmFyIGNvbnRlbnQgPSBnZXRJbm5lckh0bWwoY3MpOwotICAgICAgICAgICAgY29udGVudCA9IGNvbnRlbnQucmVwbGFjZSgvKD86XHJcbj98XG4pJC8sICcnKTsKLQotICAgICAgICAgICAgLy8gTG9vayBmb3IgYSBjbGFzcyBsaWtlIGxpbmVudW1zIG9yIGxpbmVudW1zOjxuPiB3aGVyZSA8bj4gaXMgdGhlCi0gICAgICAgICAgICAvLyAxLWluZGV4ZWQgbnVtYmVyIG9mIHRoZSBmaXJzdCBsaW5lLgotICAgICAgICAgICAgdmFyIG51bWJlckxpbmVzID0gY3MuY2xhc3NOYW1lLm1hdGNoKC9cYmxpbmVudW1zXGIoPzo6KFxkKykpPy8pOwotCi0gICAgICAgICAgICAvLyBkbyB0aGUgcHJldHR5IHByaW50aW5nCi0gICAgICAgICAgICBwcmV0dHlQcmludGluZ0pvYiA9IHsKLSAgICAgICAgICAgICAgc291cmNlQ29kZUh0bWw6IGNvbnRlbnQsCi0gICAgICAgICAgICAgIGxhbmdFeHRlbnNpb246IGxhbmdFeHRlbnNpb24sCi0gICAgICAgICAgICAgIHNvdXJjZU5vZGU6IGNzLAotICAgICAgICAgICAgICBudW1iZXJMaW5lczogbnVtYmVyTGluZXMKLSAgICAgICAgICAgICAgICAgID8gbnVtYmVyTGluZXNbMV0g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+Ci0gKgotICoKLSAqIGh0dHA6Ly93d3cudzMub3JnL1RSL0NTUzIxL2dyYW1tYXIuaHRtbCBTZWN0aW9uIEcyIGRlZmluZXMgdGhlIGxleGljYWwKLSAqIGdyYW1tYXIuICBUaGlzIHNjaGVtZSBkb2VzIG5vdCByZWNvZ25pemUga2V5d29yZHMgY29udGFpbmluZyBlc2NhcGVzLgotICoKLSAqIEBhdXRob3IgbWlrZXNhbXVlbEBnbWFpbC5jb20KLSAqLwotCi1QUlsncmVnaXN0ZXJMYW5nSGFuZGxlciddKAotICAgIFBSWydjcmVhdGVTaW1wbGVMZXhlciddKAotICAgICAgICBbCi0gICAgICAgICAvLyBUaGUgc3BhY2UgcHJvZHVjdGlvbiA8cz4KLSAgICAgICAgIFtQUlsnUFJfUExBSU4nXSwgICAgICAgL15bIFx0XHJcblxmXSsvLCBudWxsLCAnIFx0XHJcblxmJ10KLSAgICAgICAgXSwKLSAgICAgICAgWwotICAgICAgICAgLy8gUXVvdGVkIHN0cmluZ3MuICA8c3RyaW5nMT4gYW5kIDxzdHJpbmcyPgotICAgICAgICAgW1BSWydQUl9TVFJJTkcnXSwKLSAgICAgICAgICAvXlwiKD86W15cblxyXGZcXFwiXXxcXCg/OlxyXG4/fFxufFxmKXxcXFtcc1xTXSkqXCIvLCBudWxsXSwKLSAgICAgICAgIFtQUlsnUFJfU1RSSU5HJ10sCi0gICAgICAgICAgL15cJyg/OlteXG5cclxmXFxcJ118XFwoPzpcclxuP3xcbnxcZil8XFxbXHNcU10pKlwnLywgbnVsbF0sCi0gICAgICAgICBbJ2xhbmctY3NzLXN0cicsIC9edXJsXCgoW15cKVwiXCddKilcKS9pXSwKLSAgICAgICAgIFtQUlsnUFJfS0VZV09SRCddLAotICAgICAgICAgIC9eKD86dXJsfHJnYnxcIWltcG9ydGFudHxAaW1wb3J0fEBwYWdlfEBtZWRpYXxAY2hhcnNldHxpbmhlcml0KSg/PVteXC1cd118JCkvaSwKLSAgICAgICAgICBudWxsXSwKLSAgICAgICAgIC8vIEEgcHJvcGVydHkgbmFtZSAtLSBhbiBpZGVudGlmaWVyIGZvbGxvd2VkIGJ5IGEgY29sb24uCi0gICAgICAgICBbJ2xhbmctY3NzLWt3JywgL14oLT8oPzpbX2Etel18KD86XFxbMC05YS1mXSsgPykpKD86W19hLXowLTlcLV18XFwoPzpcXFswLTlhLWZdKyA/KSkqKVxzKjovaV0sCi0gICAgICAgICAvLyBBIEMgc3R5bGUgYmxvY2sgY29tbWVudC4gIFRoZSA8Y29tbWVudD4gcHJvZHVjdGlvbi4KLSAgICAgICAgIFtQUlsnUFJfQ09NTUVOVCddLCAvXlwvXCpbXipdKlwqKyg/OlteXC8qXVteKl0qXCorKSpcLy9dLAotICAgICAgICAgLy8gRXNjYXBpbmcgdGV4dCBzcGFucwotICAgICAgICAgW1BSWydQUl9DT01NRU5UJ10sIC9eKD86PCEtLXwtLT4pL10sCi0gICAgICAgICAvLyBBIG51bWJlciBwb3NzaWJseSBjb250YWluaW5nIGEgc3VmZml4LgotICAgICAgICAgW1BSWydQUl9MSVRFUkFMJ10sIC9eKD86XGQrfFxkKlwuXGQrKSg/OiV8W2Etel0rKT8vaV0sCi0gICAgICAgICAvLyBBIGhleCBjb2xvcgotICAgICAgICAgW1BSWydQUl9MSVRFUkFMJ10sIC9eIyg/OlswLTlhLWZdezN9KXsxLDJ9L2ldLAotICAgICAgICAgLy8gQW4gaWRlbnRpZmllcgotICAgICAgICAgW1BSWydQUl9QTEFJTiddLAotICAgICAgICAgIC9eLT8oPzpbX2Etel18KD86XFxbXGRhLWZdKyA/KSkoPzpbX2EtelxkXC1dfFxcKD86XFxbXGRhLWZdKyA/KSkqL2ldLAotICAgICAgICAgLy8gQSBydW4gb2YgcHVuY3R1YXRpb24KLSAgICAgICAgIFtQUlsnUFJfUFVOQ1RVQVRJT04nXSwgL15bXlxzXHdcJ1wiXSsvXQotICAgICAgICBdKSwKLSAgICBbJ2NzcyddKTsKLVBSWydyZWdpc3RlckxhbmdIY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LSAgICAgICAgIC8vIGVzY2FwZSAgICAgICAtPiAgICBcICggY2hhcmVzYyB8IGFzY2lpIHwgZGVjaW1hbCB8IG8gb2N0YWwKLSAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgICAgfCB4IGhleGFkZWNpbWFsICkKLSAgICAgICAgIC8vIGNoYXJlc2MgICAgICAtPiAgICBhIHwgYiB8IGYgfCBuIHwgciB8IHQgfCB2IHwgXCB8ICIgfCAnIHwgJgotICAgICAgICAgW1BSWydQUl9TVFJJTkcnXSwgICAgICAvXlwiKD86W15cIlxcXG5ceDBDXHJdfFxcW1xzXFNdKSooPzpcInwkKS8sCi0gICAgICAgICAgbnVsbCwgJyInXSwKLSAgICAgICAgIFtQUlsnUFJfU1RSSU5HJ10sICAgICAgL15cJyg/OlteXCdcXFxuXHgwQ1xyXXxcXFteJl0pXCc/LywKLSAgICAgICAgICBudWxsLCAiJyJdLAotICAgICAgICAgLy8gZGVjaW1hbCAgICAgIC0+ICAgIGRpZ2l0e2RpZ2l0fQotICAgICAgICAgLy8gb2N0YWwgICAgICAgIC0+ICAgIG9jdGl0e29jdGl0fQotICAgICAgICAgLy8gaGV4YWRlY2ltYWwgIC0+ICAgIGhleGl0e2hleGl0fQotICAgICAgICAgLy8gaW50ZWdlciAgICAgIC0+ICAgIGRlY2ltYWwKLSAgICAgICAgIC8vICAgICAgICAgICAgICAgfCAgICAwbyBvY3RhbCB8IDBPIG9jdGFsCi0gICAgICAgICAvLyAgICAgICAgICAgICAgIHwgICAgMHggaGV4YWRlY2ltYWwgfCAwWCBoZXhhZGVjaW1hbAotICAgICAgICAgLy8gZmxvYXQgICAgICAgIC0+ICAgIGRlY2ltYWwgLiBkZWNpbWFsIFtleHBvbmVudF0KLSAgICAgICAgIC8vICAgICAgICAgICAgICAgfCAgICBkZWNpbWFsIGV4cG9uZW50Ci0gICAgICAgICAvLyBleHBvbmVudCAgICAgLT4gICAgKGUgfCBFKSBbKyB8IC1dIGRlY2ltYWwKLSAgICAgICAgIFtQUlsnUFJfTElURVJBTCddLAotICAgICAgICAgIC9eKD86MG9bMC03XSt8MHhbXGRhLWZdK3xcZCsoPzpcLlxkKyk/KD86ZVsrXC1dP1xkKyk/KS9pLAotICAgICAgICAgIG51bGwsICcwMTIzNDU2Nzg5J10KLSAgICAgICAgXSwKLSAgICAgICAgWwotICAgICAgICAgLy8gSGFza2VsbCBkb2VzIG5vdCBoYXZlIGEgcmVndWxhciBsZXhpY2FsIGdyYW1tYXIgZHVlIHRvIHRoZSBuZXN0ZWQKLSAgICAgICAgIC8vIG5jb21tZW50LgotICAgICAgICAgLy8gY29tbWVudCAgICAgIC0+ICAgIGRhc2hlcyBbIGFueTxzeW1ib2w+IHthbnl9XSBuZXdsaW5lCi0gICAgICAgICAvLyBuY29tbWVudCAgICAgLT4gICAgb3BlbmNvbSBBTllzZXEge25jb21tZW50IEFOWXNlcX1jbG9zZWNvbQotICAgICAgICAgLy8gZGFzaGVzICAgICAgIC0+ICAgICctLScgeyctJ30KLSAgICAgICAgIC8vIG9wZW5jb20gICAgICAtPiAgICAney0nCi0gICAgICAgICAvLyBjbG9zZWNvbSAgICAgLT4gICAgJy19JwotICAgICAgICAgW1BSWydQUl9DT01NRU5UJ10sICAgICAvXig/Oig/Oi0tKyg/OlteXHJcblx4MENdKik/KXwoPzpcey0oPzpbXi1dfC0rW14tXH1dKSotXH0pKS9dLAotICAgICAgICAgLy8gcmVzZXJ2ZWRpZCAgIC0+ICAgIGNhc2UgfCBjbGFzcyB8IGRhdGEgfCBkZWZhdWx0IHwgZGVyaXZpbmcgfCBkbwotICAgICAgICAgLy8gICAgICAgICAgICAgICB8ICAgIGVsc2UgfCBpZiB8IGltcG9ydCB8IGluIHwgaW5maXggfCBpbmZpeGwgfCBpbmZpeHIKLSAgICAgICAgIC8vICAgICAgICAgICAgICAgfCAgICBpbnN0YW5jZSB8IGxldCB8IG1vZHVsZSB8IG5ld3R5cGUgfCBvZiB8IHRoZW4KLSAgICAgICAgIC8vICA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vbmUiLCAiei1pbmRleCI6ICIxIn0pOwotICAgICAgICAgZGl2LmNzcyh7cG9zaXRpb246ICJyZWxhdGl2ZSIsICJ6LWluZGV4IjogIjIiLCBsZWZ0OiAiMHB4In0pOwotCi0gICAgICAgICB2YXIgbGlTaXplID0gby52ZXJ0aWNhbCA/IGhlaWdodChsaSkgOiB3aWR0aChsaSk7Ci0gICAgICAgICB2YXIgdWxTaXplID0gbGlTaXplICogaXRlbUxlbmd0aDsKLSAgICAgICAgIHZhciBkaXZTaXplID0gbGlTaXplOwotCi0gICAgICAgICBsaS5jc3Moe3dpZHRoOiBsaS53aWR0aCgpLCBoZWlnaHQ6IGxpLmhlaWdodCgpfSk7Ci0gICAgICAgICB1bC5jc3Moc2l6ZUNzcywgdWxTaXplKyJweCIpLmNzcyhhbmltQ3NzLCAtKGN1cnIqbGlTaXplKSk7Ci0KLSAgICAgICAgIGRpdi5jc3Moc2l6ZUNzcywgZGl2U2l6ZSsicHgiKTsKLQotICAgICAgICAgLy9QYWdpbmF0aW9uCi0gICAgICAgICBpZiAoby5wYWdpbmF0aW9uKSB7Ci0gICAgICAgICAgICAgdmFyIHBhZ2luYXRpb24gPSAkKCI8ZGl2IGNsYXNzPSdwYWdpbmF0aW9uJz48L2Rpdj4iKTsKLSAgICAgICAgICAgICB2YXIgcGFnX3VsID0gJCgiPHVsPjwvdWw+Iik7Ci0gICAgICAgICAgICAgaWYgKHRsID4gMSkgewotICAgICAgICAgICAgICAgZm9yICh2YXIgaT0wO2k8dGw7aSsrKSB7Ci0gICAgICAgICAgICAgICAgICAgIHZhciBsaSA9ICQoIjxsaT4iK2krIjwvbGk+Iik7Ci0gICAgICAgICAgICAgICAgICAgIHBhZ191bC5hcHBlbmQobGkpOwotICAgICAgICAgICAgICAgICAgICBpZiAoaT09by5zdGFydCkgbGkuYWRkQ2xhc3MoJ2FjdGl2ZScpOwotICAgICAgICAgICAgICAgICAgICAgICAgbGkuY2xpY2soZnVuY3Rpb24oKSB7Ci0gICAgICAgICAgICAgICAgICAgICAgICBnbyhwYXJzZUludCgkKHRoaXMpLnRleHQoKSkpOwotICAgICAgICAgICAgICAgICAgICB9KQotICAgICAgICAgICAgICAgIH0KLSAgICAgICAgICAgICAgICBwYWdpbmF0aW9uLmFwcGVuZChwYWdfdWwpOwotICAgICAgICAgICAgICAgIGRpdi5hcHBlbmQocGFnaW5hdGlvbik7Ci0gICAgICAgICAgICAgfQotICAgICAgICAgfQotCi0gICAgICAgICAvL1ByZXZpb3VzIGJ1dHRvbgotICAgICAgICAgaWYoby5idG5QcmV2KQotICAgICAgICAgICAgICQoby5idG5QcmV2KS5jbGljayhmdW5jdGlvbihlKSB7Ci0gICAgICAgICAgICAgICAgIGUucHJldmVudERlZmF1bHQoKTsKLSAgICAgICAgICAgICAgICAgcmV0dXJuIGdvKGN1cnItby5zY3JvbGwpOwotICAgICAgICAgICAgIH0pOwotCi0gICAgICAgICAvL05leHQgYnV0dG9uCi0gICAgICAgICBpZihvLmJ0bk5leHQpCi0gICAgICAgICAgICAgJChvLmJ0bk5leHQpLmNsaWNrKGZ1bmN0aW9uKGUpIHsKLSAgICAgICAgICAgICAgICAgZS5wcmV2ZW50RGVmYXVsdCgpOwotICAgICAgICAgICAgICAgICByZXR1cm4gZ28oY3VycitvLnNjcm9sbCk7Ci0gICAgICAgICAgICAgfSk7Ci0KLSAgICAgICAgIC8vUGF1c2UgYnV0dG9uCi0gICAgICAgICBpZihvLmJ0blBhdXNlKQotICAgICAgICAgICAgICQoby5idG5QYXVzZSkuY2xpY2soZnVuY3Rpb24oZSkgewotICAgICAgICAgICAgICAgICBlLnByZXZlbnREZWZhdWx0KCk7Ci0gICAgICAgICAgICAgICAgIGlmICgkKHRoaXMpLmhhc0NsYXNzKCdwYXVzZWQnKSkgewotICAgICAgICAgICAgICAgICAgICAgc3RhcnRSb3RhdGVUaW1lcigpOwotICAgICAgICAgICAgICAgICB9IGVsc2UgewotICAgICAgICAgICAgICAgICAgICAgcGF1c2VSb3RhdGVUaW1lcigpOwotICAgICAgICAgICAgICAgICB9Ci0gICAgICAgICAgICAgfSk7Ci0KLSAgICAgICAgIC8vQXV0byByb3RhdGlvbgotICAgICAgICAgaWYoby5hdXRvKSBzdGFydFJvdGF0ZVRpbWVyKCk7Ci0KLSAgICAgICAgIGZ1bmN0aW9uIHN0YXJ0Um90YXRlVGltZXIoKSB7Ci0gICAgICAgICAgICAgY2xlYXJJbnRlcnZhbCh0aW1lcik7Ci0gICAgICAgICAgICAgdGltZXIgPSBzZXRJbnRlcnZhbChmdW5jdGlvbigpIHsKLSAgICAgICAgICAgICAgICAgIGlmIChjdXJyID09IHRsLTEpIHsKLSAgICAgICAgICAgICAgICAgICAgZ28oMCk7Ci0gICAgICAgICAgICAgICAgICB9IGVsc2UgewotICAgICAgICAgICAgICAgICAgICBnbyhjdXJyK28uc2Nyb2xsKTsKLSAgICAgICAgICAgICAgICAgIH0KLSAgICAgICAgICAgICAgfSwgby5hdXRvVGltZSk7Ci0gICAgICAgICAgICAgJChvLmJ0blBhdXNlKS5yZW1vdmVDbGFzcygncGF1c2VkJyk7Ci0gICAgICAgICB9Ci0KLSAgICAgICAgIGZ1bmN0aW9uIHBhdXNlUm90YXRlVGltZXIoKSB7Ci0gICAgICAgICAgICAgY2xlYXJJbnRlcnZhbCh0aW1lcik7Ci0gICAgICAgICAgICAgJChvLmJ0blBhdXNlKS5hZGRDbGFzcygncGF1c2VkJyk7Ci0gICAgICAgICB9Ci0KLSAgICAgICAgIC8vR28gdG8gYW4gaXRlbQotICAgICAgICAgZnVuY3Rpb24gZ28odG8pIHsKLSAgICAgICAgICAgICBpZighcnVubmluZykgewotCi0gICAgICAgICAgICAgICAgIGlmKHRvPDApIHsKLSAgICAgICAgICAgICAgICAgICAgdG8gPSBpdGVtTGVuZ3RoLTE7Ci0gICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAodG8+aXRlbUxlbmd0aC0xKSB7Ci0gICAgICAgICAgICAgICAgICAgIHRvID0gMDsKLSAgICAgICAgICAgICAgICAgfQotICAgICAgICAgICAgICAgICBjdXJyID0gdG87Ci0KLSAgICAgICAgICAgICAgICAgcnVubmluZyA9IHRydWU7Ci0KLSAgICAgICAgICAgICAgICAgdWwuYW5pbWF0ZSgKLSAgICAgICAgICAgICAgICAgICAgIGFuaW1Dc3MgPT0gImxlZnQiID8geyBsZWZ0OiAtKGN1cnIqbGlTaXplKSB9IDogeyB0b3A6IC0oY3VycipsaVNpemUpIH0gLCBvLnNwZWVkLCBvLmVhc2luZywKLSAgICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uKCkgewotICAgICAgICAgICAgICAgICAgICAgICAgIHJ1bm5pbmcgPSBmYWxzZTsKLSAgICAgICAgICAgICAgICAgICAgIH0KLSAgICAgICAgICAgICAgICAgKTsKLQotICAgICAgICAgICAgICAgICAkKG8uYnRuUHJldiArICIsIiArIG8uYnRuTmV4dCkucmVtb3ZlQ2xhc3MoImRpc2FibGVkIik7Ci0gICAgICAgICAgICAgICAgICQoIChjdXJyLW8uc2Nyb2xsPDAgJiYgby5idG5QcmV2KQotICAgICAgICAgICAgICAgICAgICAgfHwKLSAgICAgICAgICAgICAgICAgICAgKGN1cnIrby5zY3JvbGwgPiBpdGVtTGVuZ3RoICYmIG8uYnRuTmV4dCkKLSAgICAgICAgICAgICAgICAgICAgIHx8Ci0gICAgICAgICAgICAgICAgICAgIFtdCi0gICAgICAgICAgICAgICAgICApLmFkZENsYXNzKCJkaXNhYmxlZCIpOwotCi0KLSAgICAgICAgICAgICAgICAgdmFyIG5hdl9pdGVtcyA9ICQoJ2xpJywgcGFnaW5hdGlvbik7Ci0gICAgICAgICAgICAgICAgIG5hdl9pdGVtcy5yZW1vdmVDbGFzcygnYWN0aXZlJyk7Ci0gICAgICAgICAgICAgICAgIG5hdl9pdGVtcy5lcSh0bykuYWRkQ2xhc3MoJ2FjdGl2ZScpOwotCi0KLSAgICAgICAgICAgICB9Ci0gICAgICAgICAgICAgaWYoby5hdXRvKSBzdGFydFJ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0gZnVuY3Rpb24obykgewotCi0gICAgIC8vT3B0aW9ucyAtIHNlZSBhYm92ZQotICAgICBvID0gJC5leHRlbmQoewotICAgICAgICAgc3BlZWQgOiAyNTAsCi0gICAgICAgICBlYXNpbmc6IG51bGwsCi0gICAgICAgICBuYXZfaWQ6IG51bGwsCi0gICAgICAgICBmcmFtZV9pZDogbnVsbAotICAgICB9LCBvIHx8IHt9KTsKLQotICAgICAvL1NldCB1cCBhIGNhcm91c2VsIGZvciBlYWNoCi0gICAgIHJldHVybiB0aGlzLmVhY2goZnVuY3Rpb24oKSB7Ci0KLSAgICAgICAgIHZhciBjdXJyID0gMDsKLSAgICAgICAgIHZhciBydW5uaW5nID0gZmFsc2U7Ci0gICAgICAgICB2YXIgYW5pbUNzcyA9ICJtYXJnaW4tbGVmdCI7Ci0gICAgICAgICB2YXIgc2l6ZUNzcyA9ICJ3aWR0aCI7Ci0gICAgICAgICB2YXIgZGl2ID0gJCh0aGlzKTsKLQotICAgICAgICAgdmFyIG5hdiA9ICQoby5uYXZfaWQsIGRpdik7Ci0gICAgICAgICB2YXIgbmF2X2xpID0gJCgibGkiLCBuYXYpOwotICAgICAgICAgdmFyIG5hdl9zaXplID0gbmF2X2xpLnNpemUoKTsKLSAgICAgICAgIHZhciBmcmFtZSA9IGRpdi5maW5kKG8uZnJhbWVfaWQpOwotICAgICAgICAgdmFyIGNvbnRlbnRfd2lkdGggPSAkKGZyYW1lKS5maW5kKCd1bCcpLndpZHRoKCk7Ci0gICAgICAgICAvL0J1dHRvbnMKLSAgICAgICAgICQobmF2X2xpKS5jbGljayhmdW5jdGlvbihlKSB7Ci0gICAgICAgICAgIGdvKCQobmF2X2xpKS5pbmRleCgkKHRoaXMpKSk7Ci0gICAgICAgICB9KQotCi0gICAgICAgICAvL0dvIHRvIGFuIGl0ZW0KLSAgICAgICAgIGZ1bmN0aW9uIGdvKHRvKSB7Ci0gICAgICAgICAgICAgaWYoIXJ1bm5pbmcpIHsKLSAgICAgICAgICAgIC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gPGxpIGNsYXNzPSJkZXNpZ24iPgotICAgICAgICAgICAgICAgICAgPGEgaHJlZj0iPD9jcyB2YXI6dG9yb290ID8+ZGVzaWduL2luZGV4Lmh0bWwiCi0gICAgICAgICAgICAgICAgICB6aC1UVy1sYW5nPSLoqK3oqIgiCi0gICAgICAgICAgICAgICAgICB6aC1DTi1sYW5nPSLorr7orqEiCi0gICAgICAgICAgICAgICAgICBydS1sYW5nPSLQn9GA0L7QtdC60YLQuNGA0L7QstCw0L3QuNC1IgotICAgICAgICAgICAgICAgICAga28tbGFuZz0i65SU7J6Q7J24IgotICAgICAgICAgICAgICAgICAgamEtbGFuZz0i6Kit6KiIIgotICAgICAgICAgICAgICAgICAgZXMtbGFuZz0iRGlzZcOxYXIiCi0gICAgICAgICAgICAgICAgICA+RGVzaWduPC9hPjwvbGk+Ci0gICAgICAgICAgICAgICAgPGxpIGNsYXNzPSJkZXZlbG9wIj48YSBocmVmPSI8P2NzIHZhcjp0b3Jvb3QgPz5kZXZlbG9wL2luZGV4Lmh0bWwiCi0gICAgICAgICAgICAgICAgICB6aC1UVy1sYW5nPSLplovnmbwiCi0gICAgICAgICAgICAgICAgICB6aC1DTi1sYW5nPSLlvIDlj5EiCi0gICAgICAgICAgICAgICAgICBydS1sYW5nPSLQoNCw0LfRgNCw0LHQvtGC0LrQsCIKLSAgICAgICAgICAgICAgICAgIGtvLWxhbmc9IuqwnOuwnCIKLSAgICAgICAgICAgICAgICAgIGphLWxhbmc9IumWi+eZuiIKLSAgICAgICAgICAgICAgICAgIGVzLWxhbmc9IkRlc2Fycm9sbGFyIgotICAgICAgICAgICAgICAgICAgPkRldmVsb3A8L2E+PC9saT4KLSAgICAgICAgICAgICAgICA8bGkgY2xhc3M9ImRpc3RyaWJ1dGUgbGFzdCI+PGEgaHJlZj0iPD9jcyB2YXI6dG9yb290ID8+ZGlzdHJpYnV0ZS9pbmRleC5odG1sIgotICAgICAgICAgICAgICAgICAgemgtVFctbGFuZz0i55m85L2IIgotIC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Gl2IGlkPSJxdWlja25hdiIgY2xhc3M9ImNvbC05Ij4KLSAgICAgICAgICAgICAgICA8dWw+Ci0gICAgICAgICAgICAgICAgICAgIDxsaSBjbGFzcz0iZGVzaWduIj4KLSAgICAgICAgICAgICAgICAgICAgICA8dWw+Ci0gICAgICAgICAgICAgICAgICAgICAgICA8bGk+PGEgaHJlZj0iPD9jcyB2YXI6dG9yb290ID8+ZGVzaWduL2luZGV4Lmh0bWwiPkdldCBTdGFydGVkPC9hPjwvbGk+Ci0gICAgICAgICAgICAgICAgICAgICAgICA8bGk+PGEgaHJlZj0iPD9jcyB2YXI6dG9yb290ID8+ZGVzaWduL3N0eWxlL2luZGV4Lmh0bWwiPlN0eWxlPC9hPjwvbGk+Ci0gICAgICAgICAgICAgICAgICAgICAgICA8bGk+PGEgaHJlZj0iPD9jcyB2YXI6dG9yb290ID8+ZGVzaWduL3BhdHRlcm5zL2luZGV4Lmh0bWwiPlBhdHRlcm5zPC9hPjwvbGk+Ci0gICAgICAgICAgICAgICAgICAgICAgICA8bGk+PGEgaHJlZj0iPD9jcyB2YXI6dG9yb290ID8+ZGVzaWduL2J1aWxkaW5nLWJsb2Nrcy9pbmRleC5odG1sIj5CdWlsZGluZyBCbG9ja3M8L2E+PC9saT4KLSAgICAgICAgICAgICAgICAgICAgICAgIDxsaT48YSBocmVmPSI8P2NzIHZhcjp0b3Jvb3QgPz5kZXNpZ24vZG93bmxvYWRzL2luZGV4Lmh0bWwiPkRvd25sb2FkczwvYT48L2xpPgotICAgICAgICAgICAgICAgICAgICAgICAgPGxpPjxhIGhyZWY9Ijw/Y3MgdmFyOnRvcm9vdCA/PmRlc2lnbi92aWRlb3MvaW5kZXguaHRtbCI+VmlkZW9zPC9hPjwvbGk+Ci0gICAgICAgICAgICAgICAgICAgICAgPC91bD4KLSAgICAgICAgICAgICAgICAgICAgPC9saT4KLSAgICAgICAgICAgICAgICAgICAgPGxpIGNsYXNzPSJkZXZlbG9wIj4KLSAgICAgICAgICAgICAgICAgICAgICA8dWw+Ci0gICAgICAgICAgICAgICAgICAgICAgICA8bGk+PGEgaHJlZj0iPD9jcyB2YXI6dG9yb290ID8+dHJhaW5pbmcvaW5kZXguaHRtbCIKLSAgICAgICAgICAgICAgICAgICAgICAgICAgemgtVFctbGFuZz0i6KiT57e06Kqy56iLIgotICAgICAgICAgICAgICAgICAgICAgICAgICB6aC1DTi1sYW5nPSLln7norq0iCi0gICAgICAgICAgICAgICAgICAgICAgICAgIHJ1LWxhbmc9ItCa0YPRgNGB0YsiCi0gICAgICAgICAgICAgICAgICAgICAgICAgIGtvLWxhbmc9Iuq1kOycoSIKLSAgICAgICAgICAgICAgICAgICAgICAgICAgamEtbGFuZz0i44OI44Os44O844OL44Oz44KwIgotICAgICAgICAgICAgICAgICAgICAgICAgICBlcy1sYW5nPSJDYXBhY2l0YWNpw7NuIgotICAgICAgICAgICAgICAgICAgICAgICAgICA+VHJhaW5pbmc8L2E+PC9saT4KLSAgICAgICAgICAgICAgICAgICAgICAgIDxsaT48YSBocmVmPSI8P2NzIHZhcjp0b3Jvb3QgPz5ndWlkZS9jb21wb25lbnRzL2luZGV4Lmh0bWwiCi0gICAgICAgICAgICAgICAgICAgICAgICAgIHpoLVRXLWxhbmc9IkFQSSDmjIfljZciCi0gICAgICAgICAgICAgICAgICAgICAgICAgIHpoLUNOLWxhbmc9IkFQSSDmjIfljZciCi0gICAgICAgICAgICAgICAgICAgICAgICAgIHJ1LWxhbmc9ItCg0YPQutC+0LLQvtC00YHRgtCy0LAg0L/QviBBUEkiCi0gICAgICAgICAgICAgICAgICAgICAgICAgIGtvLWxhbmc9IkFQSSDqsIDsnbTrk5wiCi0gICAgICAgICAgICAgICAgICAgICAgICAgIGphLWxhbmc9IkFQSSDjgqzjgqTjg4kiCi0gICAgICAgICAgICAgICAgICAgICAgICAgIGVzLWxhbmc9Ikd1w61hcyBkZSBsYSBBUEkiCi0gICAgICAgICAgICAgICAgICAgICAgICAgID5BUEkgR3VpZGVzPC9hPjwvbGk+Ci0gICAgICAgICAgICAgICAgICAgICAgICA8bGk+PGEgaHJlZj0iPD9jcyB2YXI6dG9yb290ID8+cmVmZXJlbmNlL3BhY2thZ2VzLmh0bWwiCi0gICAgICAgICAgICAgICAgICAgICAgICAgIHpoLVRXLWxhbmc9IuWPg+iAg+izh+a6kCIKLSAgICAgICAgICAgICAgICAgICAgICAgICAgemgtQ04tbGFuZz0i5Y+C6ICDIgotICAgICAgICAgICAgICAgICAgICAgICAgICBydS1sYW5nPSLQodC/0YDQsNCy0L7Rh9C90LjQuiIKLSAgICAgICAgICAgICAgICAgICAgICAgICAga28tbGFuZz0i7LC47KGw66y47IScIgotICAgICAgICAgICAgICAgICAgICAgICAgICBqYS1sYW5nPSLjg6rjg5XjgqHjg6zjg7PjgrkiCi0gICAgICAgICAgICAgICAgICAgICAgICAgIGVzLWxhbmc9IlJlZmVyZW5jaWEiCi0gICAgICAgICAgICAgICAgICAgICAgICAgID5SZWZlcmVuY2U8L2E+PC9saT4KLSAgICAgICAgICAgICAgICAgICAgICAgIDxsaT48YSBocmVmPSI8P2NzIHZhcjp0b3Jvb3QgPz50b29scy9pbmRleC5odG1sIgotICAgICAgICAgICAgICAgICAgICAgICAgICB6aC1UVy1sYW5nPSLnm7jpl5zlt6XlhbciCi0gICAgICAgICAgICAgICAgICAgICAgICAgIHpoLUNOLWxhbmc9IuW3peWFtyIKLSAgICAgICAgICAgICAgICAgICAgICAgICAgcnUtbGFuZz0i0JjQvdGB0YLRgNGD0LzQtdC90YLRiyIKLSAgICAgICAgICAgICAgICAgICAgICAgICAga28tbGFuZz0i64+E6rWsIgotICAgICAgICAgICAgICAgICAgICAgICAgICBqYS1sYW5nPSLjg4Tjg7zjg6siCi0gICAgICAgICAgICAgICAgICAgICAgICAgIGVzLWxhbmc9IkhlcnJhbWllbnRhcyIKLSAgICAgICAgICAgICAgICAgICAgICAgICAgPlRvb2xzPC9hPgotICAgICAgICAgICAgICAgICAgICAgICAgICA8dWw+PGxpPjxh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ICAgICAgICA8bGkgY2xhc3M9InRyYWluaW5nIj48YSBocmVmPSI8P2NzIHZhcjp0b3Jvb3QgPz50cmFpbmluZy9pbmRleC5odG1sIgotICAgICAgICAgICAgICAgICAgemgtVFctbGFuZz0i6KiT57e06Kqy56iLIgotICAgICAgICAgICAgICAgICAgemgtQ04tbGFuZz0i5Z+56K6tIgotICAgICAgICAgICAgICAgICAgcnUtbGFuZz0i0JrRg9GA0YHRiyIKLSAgICAgICAgICAgICAgICAgIGtvLWxhbmc9Iuq1kOycoSIKLSAgICAgICAgICAgICAgICAgIGphLWxhbmc9IuODiOODrOODvOODi+ODs+OCsCIKLSAgICAgICAgICAgICAgICAgIGVzLWxhbmc9IkNhcGFjaXRhY2nDs24iCi0gICAgICAgICAgICAgICAgICA+VHJhaW5pbmc8L2E+PC9saT4KLSAgICAgICAgICAgICAgICA8bGkgY2xhc3M9Imd1aWRlIj48YSBocmVmPSI8P2NzIHZhcjp0b3Jvb3QgPz5ndWlkZS9jb21wb25lbnRzL2luZGV4Lmh0bWwiCi0gICAgICAgICAgICAgICAgICB6aC1UVy1sYW5nPSJBUEkg5oyH5Y2XIgotICAgICAgICAgICAgICAgICAgemgtQ04tbGFuZz0iQVBJIOaMh+WNlyIKLSAgICAgICAgICAgICAgICAgIHJ1LWxhbmc9ItCg0YPQutC+0LLQvtC00YHRgtCy0LAg0L/QviBBUEkiCi0gICAgICAgICAgICAgICAgICBrby1sYW5nPSJBUEkg6rCA7J2065OcIgotICAgICAgICAgICAgICAgICAgamEtbGFuZz0iQVBJIOOCrOOCpOODiSIKLSAgICAgICAgICAgICAgICAgIGVzLWxhbmc9Ikd1w61hcyBkZSBsYSBBUEkiCi0gICAgICAgICAgICAgICAgICA+QVBJIEd1aWRlczwvYT48L2xpPgotICAgICAgICAgICAgICAgIDxsaSBjbGFzcz0icmVmZXJlbmNlIj48YSBocmVmPSI8P2NzIHZhcjp0b3Jvb3QgPz5yZWZlcmVuY2UvcGFja2FnZXMuaHRtbCIKLSAgICAgICAgICAgICAgICAgIHpoLVRXLWxhbmc9IuWPg+iAg+izh+a6kCIKLSAgICAgICAgICAgICAgICAgIHpoLUNOLWxhbmc9IuWPguiAgyIKLSAgICAgICAgICAgICAgICAgIHJ1LWxhbmc9ItCh0L/RgNCw0LLQvtGH0L3QuNC6IgotICAgICAgICAgICAgICAgICAga28tbGFuZz0i7LC47KGw66y47IScIgotICAgICAgICAgICAgICAgICAgamEtbGFuZz0i44Oq44OV44Kh44Os44Oz44K5IgotICAgICAgICAgICAgICAgICAgZXMtbGFuZz0iUmVmZXJlbmNpYSIKLSAgICAgICAgICAgICAgICAgID5SZWZlcmVuY2U8L2E+PC9saT4KLSAgICAgICAgICAgICAgICA8bGkgY2xhc3M9InRvb2xzIj48YSBocmVmPSI8P2NzIHZhcjp0b3Jvb3QgPz50b29scy9pbmRleC5odG1sIgotICAgICAgICAgICAgICAgICAgemgtVFctbGFuZz0i55u46Zec5bel5YW3IgotICAgICAgICAgICAgICAgICAgemgtQ04tbGFuZz0i5bel5YW3IgotICAgICAgICAgICAgICAgICAgcnUtbGFuZz0i0JjQvdGB0YLRgNGD0LzQtdC90YLRiyIKLSAgICAgICAgICAgICAgICAgIGtvLWxhbmc9IuuPhOq1rCIKLSAgICAgICAgICAgICAgICAgIGphLWxhbmc9IuODhOODvOODqyIKLSAgICAgICAgICAgICAgICAgIGVzLWxhbmc9IkhlcnJhbWllbnRhcyIKLSAgICAgICAgICAgICAgICAgID5Ub29sczwvYT48L2xpPgotICAgICAgICAgICAgICAgIDxsaSBjbGFzcz0iZ29vZ2xlIj48YSBocmVmPSI8P2NzIHZhcjp0b3Jvb3QgPz5nb29nbGUvaW5kZXguaHRtbCIKLSAgICAgICAgICAgICAgICAgID5Hb29nbGUgU2VydmljZXM8L2E+Ci0gICAgICAgICAgICAgICAgPC9saT4KLSAgICAgICAgICAgIDwvdWw+Ci0gICAgICAgIDwvZGl2PgotCi0gICAgPC9kaXY+Ci0gICAgPCEtLSAvU2VuZG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uZXh0LXBhZ2UtbGluayBoaWRlIgotICAgICAgICAgICAgemgtVFctbGFuZz0i5LiL5LiA5aCC6KqyIgotICAgICAgICAgICAgemgtQ04tbGFuZz0i5LiL5LiA6K++IgotICAgICAgICAgICAgcnUtbGFuZz0i0KHQu9C10LTRg9GO0YnQuNC5IgotICAgICAgICAgICAga28tbGFuZz0i64uk7J2MIgotICAgICAgICAgICAgamEtbGFuZz0i5qyh44G4IgotICAgICAgICAgICAgZXMtbGFuZz0iU2lndWllbnRlIgotICAgICAgICAgICAgPk5leHQ8L2E+Ci0gICAgICAgIDxhIGhyZWY9IiMiIGNsYXNzPSJzdGFydC1jbGFzcy1saW5rIGhpZGUiCi0gICAgICAgICAgICB6aC1UVy1sYW5nPSLplovlp4vkuIroqrIiCi0gICAgICAgICAgICB6aC1DTi1sYW5nPSLlvIDlp4siCi0gICAgICAgICAgICBydS1sYW5nPSLQndCw0YfQsNC70L4g0YDQsNCx0L7RgtGLIgotICAgICAgICAgICAga28tbGFuZz0i7Iuc7J6R7ZWY6riwIgotICAgICAgICAgICAgamEtbGFuZz0i6ZaL5aeL44GZ44KLIgotICAgICAgICAgICAgZXMtbGFuZz0iRW1wZXphciIKLSAgICAgICAgICAgID5HZXQgc3RhcnRlZDwvYT4KLSAgICAgIDwvZGl2PgotICAgIDw/Y3MgZWxpZjohcGFnZS50cmFpbmluZ2NvdXJzZSA/PgotICAgICAgPGRpdiBjbGFzcz0icGFnaW5nLWxpbmtzIGxheW91dC1jb250ZW50LWNvbCBzcGFuLTQiIGl0ZW1zY29wZSBpdGVtdHlwZT0iaHR0cDovL3NjaGVtYS5vcmcvU2l0ZU5hdmlnYXRpb25FbGVtZW50Ij4KLSAgICAgICAgPGEgaHJlZj0iIyIgY2xhc3M9InByZXYtcGFnZS1saW5rIGhpZGUiCi0gICAgICAgICAgICB6aC1UVy1sYW5nPSLkuIrkuIDloILoqrIiCi0gICAgICAgICAgICB6aC1DTi1sYW5nPSLkuIrkuIDor74iCi0gICA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x8Z3VpZGUgPz5jb2wtODw/Y3MgCi0gICAgICAgICAgICAgICAgICAgIGVsc2UgPz5jb2wtOTw/Y3MgL2lmID8+IiBzdHlsZT0icGFkZGluZy10b3A6NHB4Ij4KLSAgICAgICAgPC9kaXY+Ci0gICAgICAgIDw/Y3MgaWY6IWZ1bGxzY3JlZW4gPz4KLSAgICAgICAgPGRpdiBjbGFzcz0icGFnaW5nLWxpbmtzIGxheW91dC1jb250ZW50LWNvbCBjb2wtNCI+Ci0gICAgICAgICAgPD9jcyBpZjooZGVzaWdufHx0cmFpbmluZ3x8Z3VpZGV8fHdhbGt0aHJ1KSAmJiAhcGFnZS5sYW5kaW5nICYmICFwYWdlLnRyYWluaW5nY291cnNlICYmICFmb290ZXIuaGlkZSA/PgotICAgICAgICAgICAgPGEgaHJlZj0iIyIgY2xhc3M9InByZXYtcGFnZS1saW5rIGhpZGUiCi0gICAgICAgICAgICAgICAgemgtVFctbGFuZz0i5LiK5LiA5aCC6KqyIgotICAgICAgICAgICAgICAgIHpoLUNOLWxhbmc9IuS4iuS4gOivviIKLSAgICAgICAgICAgICAgICBydS1sYW5nPSLQn9GA0LXQtNGL0LTRg9GJ0LjQuSIKLSAgICAgICAgICAgICAgICBrby1sYW5nPSLsnbTsoIQiCi0gICAgICAgICAgICAgICAgamEtbGFuZz0i5YmN44G4IgotICAgICAgICAgICAgICAgIGVzLWxhbmc9IkFudGVyaW9yIgotICAgICAgICAgICAgICAgID5QcmV2aW91czwvYT4KLSAgICAgICAgICAgIDxhIGhyZWY9IiMiIGNsYXNzPSJuZXh0LXBhZ2UtbGluayBoaWRlIgotICAgICAgICAgICAgICAgIHpoLVRXLWxhbmc9IuS4i+S4gOWgguiqsiIKLSAgICAgICAgICAgICAgICB6aC1DTi1sYW5nPSLkuIvkuIDor74iCi0gICAgICAgICAgICAgICAgcnUtbGFuZz0i0KHQu9C10LTRg9GO0YnQuNC5IgotICAgICAgICAgICAgICAgIGtvLWxhbmc9IuuLpOydjCIKLSA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GlzIE5vbmUgb3IgYWlkLmZyaWVuZGx5LnN0YXJ0c3dpdGgocmVxdWlyZWRfcHJlZml4KToKKyAgICAgICAgICAgICAgICBzZWxmLl9wcmludF9mb3JtYXR0ZWRfbGluZShhaWQpCisgICAgICAgICAgICBlbHNlOgorICAgICAgICAgICAgICAgIHN5cy5leGl0KCIlczogQUlEICclcycgbXVzdCBzdGFydCB3aXRoICclcyciICUKKyAgICAgICAgICAgICAgICAgICAgICAgICAoYXJnc1snZnNjb25maWcnXSwgYWlkLmZyaWVuZGx5LCByZXF1aXJlZF9wcmVmaXgpKQogCiAgICAgZGVmIF9wcmludF9mb3JtYXR0ZWRfbGluZShzZWxmLCBhaWQpOgogICAgICAgICAiIiJQcmludHMgdGhlIGFpZCB0byBzdGRvdXQgaW4gdGhlIHBhc3N3ZCBmb3JtYXQuIEludGVybmFsIHVzZSBvbmx5LgpAQCAtMTI2Miw3ICsxMjc0LDYgQEAKICAgICAgICAgIiIiCiAgICAgICAgIGlmIHNlbGYuX29sZF9maWxlICE9IGFpZC5mb3VuZDoKICAgICAgICAgICAgIHNlbGYuX29sZF9maWxlID0gYWlkLmZvdW5kCi0gICAgICAgICAgICBwcmludCBQYXNzd2RHZW4uX0ZJTEVfQ09NTUVOVCAlIGFpZC5mb3VuZAogCiAgICAgICAgIHRyeToKICAgICAgICAgICAgIGxvZ29uLCB1aWQgPSBVdGlscy5nZXRfbG9naW5fYW5kX3VpZF9jbGVhbnNlZChhaWQpCkBAIC0xMjg4LDcgKzEyOTksNiBAQAogICAgICAgICAiIiIKICAgICAgICAgaWYgc2VsZi5fb2xkX2ZpbGUgIT0gYWlkLmZvdW5kOgogICAgICAgICAgICAgc2VsZi5fb2xkX2ZpbGUgPSBhaWQuZm91bmQKLSAgICAgICAgICAgIHByaW50IFBhc3N3ZEdlbi5fRklMRV9DT01NRU5UICUgYWlkLmZvdW5kCiAKICAgICAgICAgdHJ5OgogICAgICAgICAgICAgbG9nb24sIHVpZCA9IFV0aWxzL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gICAgPSAxMCwKLSAgQ09OU1RBTlRfSW50ZXJmYWNlbWV0aG9kcmVmID0gMTEsCi0gIENPTlNUQU5UX1N0cmluZyAgICAgICAgICAgICA9IDgsCi0gIENPTlNUQU5UX0ludGVnZXIgICAgICAgICAgICA9IDMsCi0gIENPTlNUQU5UX0Zsb2F0ICAgICAgICAgICAgICA9IDQsCi0gIENPTlNUQU5UX0xvbmcgICAgICAgICAgICAgICA9IDUsCi0gIENPTlNUQU5UX0RvdWJsZSAgICAgICAgICAgICA9IDYsCi0gIENPTlNUQU5UX05hbWVBbmRUeXBlICAgICAgICA9IDEyLAotICBDT05TVEFOVF9VdGY4ICAgICAgICAgICAgICAgPSAxLAotICBDT05TVEFOVF9NZXRob2RIYW5kbGUgICAgICAgPSAxNSwKLSAgQ09OU1RBTlRfTWV0aG9kVHlwZSAgICAgICAgID0gMTYsCi0gIENPTlNUQU5UX0ludm9rZUR5bmFtaWMgICAgICA9IDE4Ci19OwotCi0vLyBTZWUgVGFibGVzIDQuMSwgNC40LCA0LjUgaW4gSlZNIFNwZWMuCi1lbnVtIEFDQ0VTUyAgewotICBBQ0NfUFVCTElDICAgICAgICAgID0gMHgwMDAxLAotICBBQ0NfUFJJVkFURSAgICAgICAgID0gMHgwMDAyLAotICBBQ0NfUFJPVEVDVEVEICAgICAgID0gMHgwMDA0LAotICBBQ0NfU1RBVElDICAgICAgICAgID0gMHgwMDA4LAotICBBQ0NfRklOQUwgICAgICAgICAgID0gMHgwMDEwLAotICBBQ0NfU1lOQ0hST05JWkVEICAgID0gMHgwMDIwLAotICBBQ0NfVk9MQVRJTEUgICAgICAgID0gMHgwMDQwLAotICBBQ0NfVFJBTlNJRU5UICAgICAgID0gMHgwMDgwLAotICBBQ0NfSU5URVJGQUNFICAgICAgID0gMHgwMjAwLAotICBBQ0NfQUJTVFJBQ1QgICAgICAgID0gMHgwNDAwCi19OwotCi0vLyBTZWUgVGFibGUgNC43LjIwLUEgaW4gSmF2YSA4IEpWTSBTcGV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j4gICAgICAgIGNvbnN0X3Bvb2xfaW47IC8vIGlucHV0IGNvbnN0YW50IHBvb2wKLXN0YXRpYyBzdGQ6OnZlY3RvcjxDb25zdGFudCo+ICAgICAgICBjb25zdF9wb29sX291dDsgLy8gb3V0cHV0IGNvbnN0YW50X3Bvb2wKLXN0YXRpYyBzdGQ6OnNldDxzdGQ6OnN0cmluZz4gICAgICAgICB1c2VkX2NsYXNzX25hbWVzOwotc3RhdGljIENvbnN0YW50ICogICAgICAgICAgICAgICAgICAgIGNsYXNzX25hbWU7Ci0KLS8vIFJldHVybnMgdGhlIENvbnN0YW50IG9iamVjdCwgZ2l2ZW4gYW4gaW5kZXggaW50byB0aGUgaW5wdXQgY29uc3RhbnQgcG9vbC4KLS8vIE5vdGU6IGNvbnN0YW50KDApID09IE5VTEw7IHRoaXMgaW52YXJpYW50IGlzIGV4cGxvaXRlZCBieSB0aGUKLS8vIElubmVyQ2xhc3Nlc0F0dHJpYnV0ZSwgaW50ZXIgYWxpYS4KLWlubGluZSBDb25zdGFudCAqY29uc3RhbnQoaW50IGlkeCkgewotICBpZiAoaWR4IDwgMCB8fCAodW5zaWduZWQpaWR4ID49IGNvbnN0X3Bvb2xfaW4uc2l6ZSgpKSB7Ci0gICAgZnByaW50ZihzdGRlcnIsICJJbGxlZ2FsIGNvbnN0YW50IHBvb2wgaW5kZXg6ICVkXG4iLCBpZHgpOwotICAgIGFib3J0KCk7Ci0gIH0KLSAgcmV0dXJuIGNvbnN0X3Bvb2xfaW5baWR4XTsKLX0KLQotLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKLSAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqCi0gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQ29uc3RhbnRzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKgotICogICAgICAgICA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kX2F0dHJfaW5kZXgsIHUyIG5hbWVfYW5kX3R5cGVfaW5kZXgpIDoKLSAgICAgIENvbnN0YW50KENPTlNUQU5UX0ludm9rZUR5bmFtaWMpLAotICAgICAgYm9vdHN0cmFwX21ldGhvZF9hdHRyX2luZGV4Xyhib290c3RyYXBfbWV0aG9kX2F0dHJfaW5kZXgpLAotICAgICAgbmFtZV9hbmRfdHlwZV9pbmRleF8obmFtZV9hbmRfdHlwZV9pbmRleCkge30KLQotICB2b2lkIFdyaXRlKHUxIComcCkgewotICAgIHB1dF91MShwLCB0YWdfKTsKLSAgICBwdXRfdTJiZShwLCBib290c3RyYXBfbWV0aG9kX2F0dHJfaW5kZXhfKTsKLSAgICBwdXRfdTJiZShwLCBuYW1lX2FuZF90eXBlX2luZGV4Xyk7Ci0gIH0KLQotICBzdGQ6OnN0cmluZyBEaXNwbGF5KCkgewotICAgIHJldHVybiAgIkNvbnN0YW50X0ludm9rZUR5bmFtaWM6OiIKLSAgICAgICAgKyBzdGQ6OnRvX3N0cmluZyhib290c3RyYXBfbWV0aG9kX2F0dHJfaW5kZXhfKSArICI6OiIKLSAgICAgICAgKyBjb25zdGFudChuYW1lX2FuZF90eXBlX2luZGV4XyktPkRpc3BsYXkoKTsKLSAgfQotCi0gIHUyIGJvb3RzdHJhcF9tZXRob2RfYXR0cl9pbmRleF87Ci0gIHUyIG5hbWVfYW5kX3R5cGVfaW5kZXhfOwotfTsKLQotLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKLSAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqCi0gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQXR0cmlidXRlcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKgotICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA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1dGUqIFJlYWQoY29uc3QgdTEgKiZwLCBDb25zdGFudCAqYXR0cmlidXRlX25hbWUsCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHU0IGF0dHJpYnV0ZV9sZW5ndGgpIHsKLSAgICBhdXRvIGF0dHIgPSBuZXcgR2VuZXJhbEF0dHJpYnV0ZTsKLSAgICBhdHRyLT5hdHRyaWJ1dGVfbmFtZV8gPSBhdHRyaWJ1dGVfbmFtZTsKLSAgICBhdHRyLT5hdHRyaWJ1dGVfbGVuZ3RoXyA9IGF0dHJpYnV0ZV9sZW5ndGg7Ci0gICAgYXR0ci0+YXR0cmlidXRlX2NvbnRlbnRfID0gcDsKLSAgICBwICs9IGF0dHJpYnV0ZV9sZW5ndGg7Ci0gICAgcmV0dXJuIGF0dHI7Ci0gIH0KLQotICB2b2lkIFdyaXRlKHUxIComcCkgewotICAgIFdyaXRlUHJvbG9nKHAsIGF0dHJpYnV0ZV9sZW5ndGhfKTsKLSAgICBwdXRfbihwLCBhdHRyaWJ1dGVfY29udGVudF8sIGF0dHJpYnV0ZV9sZW5ndGhfKTsKLSAgfQotCi0gIHU0IGF0dHJpYnV0ZV9sZW5ndGhfOwotICBjb25zdCB1MSAqYXR0cmlidXRlX2NvbnRlbnRfOwotfTsKLQotLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKLSAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqCi0gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQ2xhc3NGaWxlICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKgotICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICoKLSAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq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IENPTlNUQU5UX1N0cmluZzogewotICAgICAgICB1MiBzdHJpbmdfaW5kZXggPSBnZXRfdTJiZShwKTsKLSAgICAgICAgY29uc3RfcG9vbF9pbi5wdXNoX2JhY2sobmV3IENvbnN0YW50X1N0cmluZyhzdHJpbmdfaW5kZXgpKTsKLSAgICAgICAgYnJlYWs7Ci0gICAgICB9Ci0gICAgICBjYXNlIENPTlNUQU5UX05hbWVBbmRUeXBlOiB7Ci0gICAgICAgIHUyIG5hbWVfaW5kZXggPSBnZXRfdTJiZShwKTsKLSAgICAgICAgdTIgZGVzY3JpcHRvcl9pbmRleCA9IGdldF91MmJlKHApOwotICAgICAgICBjb25zdF9wb29sX2luLnB1c2hfYmFjaygKLSAgICAgICAgICAgIG5ldyBDb25zdGFudF9OYW1lQW5kVHlwZShuYW1lX2luZGV4LCBkZXNjcmlwdG9yX2luZGV4KSk7Ci0gICAgICAgIGJyZWFrOwotICAgICAgfQotICAgICAgY2FzZSBDT05TVEFOVF9VdGY4OiB7Ci0gICAgICAgIHUyIGxlbmd0aCA9IGdldF91MmJlKHApOwotICAgICAgICBpZiAoZGV2dG9vbHNfaWphcjo6dmVyYm9zZSkgewotICAgICAgICAgIGZwcmludGYoc3RkZXJyLCAiVXRmODogXCIlc1wiICglZClcbiIsCi0gICAgICAgICAgICAgICAgICBzdGQ6OnN0cmluZygoY29uc3QgY2hhciopIHAsIGxlbmd0aCkuY19zdHIoKSwgbGVuZ3RoKTsKLSAgICAgICAgfQotCi0gICAgICAgIGNvbnN0X3Bvb2xfaW4ucHVzaF9iYWNrKG5ldyBDb25zdGFudF9VdGY4KGxlbmd0aCwgcCkpOwotICAgICAgICBwICs9IGxlbmd0aDsKLSAgICAgICAgYnJlYWs7Ci0gICAgICB9Ci0gICAgICBjYXNlIENPTlNUQU5UX0ludGVnZXI6Ci0gICAgICBjYXNlIENPTlNUQU5UX0Zsb2F0OiB7Ci0gICAgICAgIHU0IGJ5dGVzID0gZ2V0X3U0YmUocCk7Ci0gIC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J3QgcmVhbGx5IGhhdmUgYSBnb29kIGVycm9yIG51bWJlcgotICAgIHJldHVybiBOVUxMOwotICB9Ci0gIGNvbnN0IHUxICp6aXBkYXRhX3N0YXJ0ID0gc3RhdGljX2Nhc3Q8Y29uc3QgdTEqPih6aXBkYXRhX2luKTsKLSAgb2ZmX3Qgb2Zmc2V0ID0gLSBzdGF0aWNfY2FzdDxvZmZfdD4oemlwZGF0YV9zdGFydAotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICArIGNlbnRyYWxfZGlyX29mZnNldAotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAtIGNlbnRyYWxfZGlyKTsKLQotICByZXR1cm4gbmV3IElucHV0WmlwRmlsZShwcm9jZXNzb3IsIGZkX2luLCBsZW5ndGgsIG9mZnNldCwKLSAgICAgICAgICAgICAgICAgICAgICAgICAgemlwZGF0YV9zdGFydCwgY2VudHJhbF9kaXIpOwotfQotCi1JbnB1dFppcEZpbGU6OklucHV0WmlwRmlsZShaaXBFeHRyYWN0b3JQcm9jZXNzb3IgKnByb2Nlc3NvciwgaW50IGZkLAotICAgICAgICAgICAgICAgICAgICAgICAgICAgb2ZmX3QgaW5fbGVuZ3RoLCBvZmZfdCBpbl9vZmZzZXQsCi0gICAgICAgICAgICAgICAgICAgICAgICAgICBjb25zdCB1MSogemlwZGF0YV9pbiwgY29uc3QgdTEqIGNlbnRyYWxfZGlyKQotICA6IHByb2Nlc3Nvcihwcm9jZXNzb3IpLCBmZF9pbihmZCksCi0gICAgemlwZGF0YV9pbl8oemlwZGF0YV9pbiksIHppcGRhdGFfaW5fbWFwcGVkXyh6aXBkYXRhX2luKSwKLSAgICBjZW50cmFsX2Rpcl8oY2VudHJhbF9kaXIpLCBpbl9sZW5ndGhfKGluX2xlbmd0aCksIGluX29mZnNldF8oaW5fb2Zmc2V0KSwKLSAgICBwKHppcGRhdGFfaW4gKyBpbl9vZmZzZXQpLCBjZW50cmFsX2Rpcl9jdXJy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MucGF0aC5qb2luKE9QVElPTlMuaW5wdXRfdG1wLCAiSU1BR0VTIiwKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJwcm9kdWN0LmltZyIpKSkKICAgaGFzX3N5c3RlbV9vdGhlciA9IG9zLnBhdGguaXNkaXIob3MucGF0aC5qb2luKE9QVElPTlMuaW5wdXRfdG1wLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIlNZU1RFTV9PVEhFUiIpKQogCi0gIGlmIGlucHV0X3ppcDoKLSAgICBPUFRJT05TLmluZm9fZGljdCA9IGNvbW1vbi5Mb2FkSW5mb0RpY3QoaW5wdXRfemlwLCBPUFRJT05TLmlucHV0X3RtcCkKLQotICAgIGNvbW1vbi5aaXBDbG9zZShpbnB1dF96aXApCisgICMgU2V0IHVwIHRoZSBvdXRwdXQgZGVzdGluYXRpb24uIEl0IHdyaXRlcyB0byB0aGUgZ2l2ZW4gZGlyZWN0b3J5IGZvciBkaXIKKyAgIyBtb2RlOyBvdGhlcndpc2UgYXBwZW5kcyB0byB0aGUgZ2l2ZW4gWklQLgorICBpZiBvcy5wYXRoLmlzZGlyKGZpbGVuYW1lKToKKyAgICBvdXRwdXRfemlwID0gTm9uZQorICBlbHNlOgogICAgIG91dHB1dF96aXAgPSB6aXBmaWxlLlppcEZpbGUoZmlsZW5hbWUsICJhIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbXByZXNzaW9uPXppcGZpbGUuWklQX0RFRkxBVEVELAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWxsb3daaXA2ND1UcnVlKQotICBlbHNlOgotICAgIE9QVElPTlMuaW5mb19kaWN0ID0gY29tbW9uLkxvYWRJbmZvRGljdChmaWxlbmFtZSwgZmlsZW5hbWUpCi0gICAgb3V0cHV0X3ppcCA9IE5vbmUKLSAgICBpbWFnZXNfZGlyID0gb3MucGF0aC5qb2luKE9QVElPTlMu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IGZwID0gYnVpbGRfcHJvcFsicm8uYnVpbGQudGh1bWJwcmludCJdCi0gICAgaWYgZnA6Ci0gICAgICBPUFRJT05TLmluZm9fZGljdFsiYXZiX3NhbHQiXSA9IGhhc2hsaWIuc2hhMjU2KGZwKS5oZXhkaWdlc3QoKQorICAjIEEgbWFwIGJldHdlZW4gcGFydGl0aW9uIG5hbWVzIGFuZCB0aGVpciBwYXRocywgd2hpY2ggY291bGQgYmUgdXNlZCB3aGVuCisgICMgZ2VuZXJhdGluZyBBVkIgdmJtZXRhIGltYWdlLgorICBwYXJ0aXRpb25zID0gZGljdCgpCiAKICAgZGVmIGJhbm5lcihzKToKICAgICBwcmludCgiXG5cbisrKysgIiArIHMgKyAiICsrKytcblxuIikKIAotICBwcmVidWlsdF9wYXRoID0gb3MucGF0aC5qb2luKE9QVElPTlMuaW5wdXRfdG1wLCAiSU1BR0VTIiwgImJvb3QuaW1nIikKLSAgYm9vdF9pbWFnZSA9IE5vbmUKLSAgaWYgb3MucGF0aC5leGlzdHMocHJlYnVpbHRfcGF0aCk6Ci0gICAgYmFubmVyKCJib290IikKLSAgICBwcmludCgiYm9vdC5pbWcgYWxyZWFkeSBleGlzdHMgaW4gSU1BR0VTLywgbm8gbmVlZCB0byByZWJ1aWxkLi4uIikKLSAgICBpZiBPUFRJT05TLnJlYnVpbGRfcmVjb3Zlcnk6Ci0gICAgICBib290X2ltYWdlID0gY29tbW9uLkdldEJvb3RhYmxlSW1hZ2UoCi0gICAgICAgICAgIklNQUdFUy9ib290LmltZyIsICJib290LmltZyIsIE9QVElPTlMuaW5wdXRfdG1wLCAiQk9PVCIpCi0gIGVsc2U6Ci0gICAgYmFubmVyKCJib290IikKLSAgICBib290X2ltYWdlID0gY29tbW9uLkdldEJvb3RhYmxlSW1hZ2UoCi0gICAgICAgICJJTUFHRVMvYm9vdC5pbWciLCAiYm9vdC5pbWciLCBPUFRJT05TLmlucHV0X3RtcCwgIkJPT1QiKQotICAgIGlmIGJvb3RfaW1hZ2U6CisgIGJhbm5lcigiYm9vdCIpCisgICMgY29tbW9uLkdldEJvb3RhYmxlSW1hZ2UoKSByZXR1cm5zIHRoZSBpbWFnZSBkaXJlY3RseSBpZiBwcmVzZW50LgorICBib290X2ltYWdlID0gY29tbW9uLkdldEJvb3RhYmxlSW1hZ2UoCisgICAgICAiSU1BR0VTL2Jvb3QuaW1nIiwgImJvb3QuaW1nIiwgT1BUSU9OUy5pbnB1dF90bXAsICJCT09UIikKKyAgIyBib290LmltZyBtYXkgYmUgdW5hdmFpbGFibGUgaW4gc29tZSB0YXJnZXRzIChlLmcuIGFvc3BfYXJtNjQpLgorICBpZiBib290X2ltYWdlOgorICAgIHBhcnRpdGlvbnNbJ2Jvb3QnXSA9IG9zLnBhdGguam9pbihPUFRJT05TLmlucHV0X3RtcCwgIklNQUdFUyIsICJib290LmltZyIpCisgICAgaWYgbm90IG9zLnBhdGguZXhpc3RzKHBhcnRpdGlvbnNbJ2Jvb3QnXSk6CisgICAgICBib290X2ltYWdlLldyaXRlVG9EaXIoT1BUSU9OUy5pbnB1dF90bXApCiAgICAgICBpZiBvdXRwdXRfemlwOgogICAgICAgICBib290X2ltYWdlLkFkZFRvWmlwKG91dHB1dF96aXApCi0gICAgICBlbHNlOgotICAgICAgICBib290X2ltYWdlLldyaXRlVG9EaXIoT1BUSU9OUy5pbnB1dF90bXApCiAKICAgcmVjb3ZlcnlfaW1hZ2UgPSBOb25lCiAgIGlmIGhhc19yZWNvdmVyeToKICAgICBiYW5uZXIoInJlY292ZXJ5IikKLSAgICBwcmVidWlsdF9wYXRoID0gb3MucGF0aC5qb2luKE9QVElPTlMuaW5wdXRfdG1wLCAiSU1BR0VTIiwgInJlY292ZXJ5LmltZyIpCi0gICAgaWYgb3MucGF0aC5leGlzdHMocHJlYnVpbHRfcGF0aCk6Ci0gICAgICBwcmludCgicmVjb3ZlcnkuaW1nIGFscmVhZHkgZXhpc3RzIGluIElNQUdFUy8sIG5vIG5lZWQgdG8gcmVidWlsZ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JBRElPIiwgaW1nX25hbWUpCi0gICAgICBpbWdfdmVuZG9yX2RpciA9IG9zLnBhdGguam9pbigKLSAgICAgICAgT1BUSU9OUy5pbnB1dF90bXAsICJWRU5ET1JfSU1BR0VTIikKLSAgICAgIGlmIG9zLnBhdGguZXhpc3RzKGltZ19yYWRpb19wYXRoKToKLSAgICAgICAgaWYgb3V0cHV0X3ppcDoKLSAgICAgICAgICBjb21tb24uWmlwV3JpdGUob3V0cHV0X3ppcCwgaW1nX3JhZGlvX3BhdGgsCi0gICAgICAgICAgICAgICAgICAgICAgICAgIG9zLnBhdGguam9pbigiSU1BR0VTIiwgaW1nX25hbWUpKQotICAgICAgICBlbHNlOgotICAgICAgICAgIHNodXRpbC5jb3B5KGltZ19yYWRpb19wYXRoLCBwcmVidWlsdF9wYXRoKQotICAgICAgZWxzZToKLSAgICAgICAgZm9yIHJvb3QsIF8sIGZpbGVzIGluIG9zLndhbGsoaW1nX3ZlbmRvcl9kaXIpOgotICAgICAgICAgIGlmIGltZ19uYW1lIGluIGZpbGVzOgotICAgICAgICAgICAgaWYgb3V0cHV0X3ppcDoKLSAgICAgICAgICAgICAgY29tbW9uLlppcFdyaXRlKG91dHB1dF96aXAsIG9zLnBhdGguam9pbihyb290LCBpbWdfbmFtZSksCi0gICAgICAgICAgICAgICAgb3MucGF0aC5qb2luKCJJTUFHRVMiLCBpbWdfbmFtZSkpCi0gICAgICAgICAgICBlbHNlOgotICAgICAgICAgICAgICBzaHV0aWwuY29weShvcy5wYXRoLmpvaW4ocm9vdCwgaW1nX25hbWUpLCBwcmVidWlsdF9wYXRoKQotICAgICAgICAgICAgYnJlYWsKLQotICAgICAgaWYgb3V0cHV0X3ppcDoKLSAgICAgICAgIyBaaXAgc3BlYyBzYXlzOiBBbGwgc2xhc2hlcyBNVVNUIGJlIGZvcndhcmQgc2xhc2hlcy4KLSAgICAgICAgaW1nX3BhdGggPSAnSU1BR0VTLycgKyBpbWdfbmFtZQotICAgICAgICBhc3NlcnQga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nRndF9uYW1lLnNwbGl0KCIuIilbLTFdLmxvd2VyKCkKLSAgICAgICAgICAgICAgICAgICAgICAgaW4gKCJhcGsiLCAiamFyIiwgInppcCIpKQorICAgICAgICAgICAgaWYgeGYucGF0Y2g6CisgICAgICAgICAgICAgICMgV2UgaGF2ZSBhbHJlYWR5IGdlbmVyYXRlZCB0aGUgcGF0Y2ggd2l0aCBpbWdkaWZmLiBDaGVjayBpZiB0aGUKKyAgICAgICAgICAgICAgIyB0cmFuc2ZlciBpcyBpbnRhY3QuCisgICAgICAgICAgICAgIGFzc2VydCBub3Qgc2VsZi5kaXNhYmxlX2ltZ2RpZmYKKyAgICAgICAgICAgICAgaW1nZGlmZiA9IFRydWUKKyAgICAgICAgICAgICAgaWYgKHhmLnNyY19yYW5nZXMuZXh0cmEuZ2V0KCd0cmltbWVkJykgb3IKKyAgICAgICAgICAgICAgICAgIHhmLnRndF9yYW5nZXMuZXh0cmEuZ2V0KCd0cmltbWVkJykpOgorICAgICAgICAgICAgICAgIGltZ2RpZmYgPSBGYWxzZQorICAgICAgICAgICAgICAgIHhmLnBhdGNoID0gTm9uZQorICAgICAgICAgICAgZWxzZToKKyAgICAgICAgICAgICAgaW1nZGlmZiA9IHNlbGYuQ2FuVXNlSW1nZGlmZigKKyAgICAgICAgICAgICAgICAgIHhmLnRndF9uYW1lLCB4Zi50Z3RfcmFuZ2VzLCB4Zi5zcmNfcmFuZ2VzKQogICAgICAgICAgICAgeGYuc3R5bGUgPSAiaW1nZGlmZiIgaWYgaW1nZGlmZiBlbHNlICJic2RpZmYiCiAgICAgICAgICAgICBkaWZmX3F1ZXVlLmFwcGVuZCgoaW5kZXgsIGltZ2RpZmYsIHBhdGNoX251bSkpCiAgICAgICAgICAgICBwYXRjaF9udW0gKz0gMQpAQCAtNzE3LDkgKzg2Myw2IEBACiAgICAgICBkaWZmX3RvdGFsID0gbGVuKGRpZmZfcXVldWUpCiAgICAgICBwYXRjaGVzID0gW05vbmVdICogZGlmZl90b3Rh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9J1xyJykKKyAgICAgICAgICAgICAgc3lzLnN0ZG91dC5mbHVzaCgpCiAKLSAgICAgICAgICAjIE5lZWRzIGxvY2sgc2luY2UgV3JpdGVSYW5nZURhdGFUb0ZkKCkgaXMgc3RhdGVmdWwgKGNhbGxpbmcgc2VlaykuCi0gICAgICAgICAgd2l0aCBsb2NrOgorICAgICAgICAgIHBhdGNoID0geGYucGF0Y2gKKyAgICAgICAgICBpZiBub3QgcGF0Y2g6CisgICAgICAgICAgICBzcmNfcmFuZ2VzID0geGYuc3JjX3JhbmdlcworICAgICAgICAgICAgdGd0X3JhbmdlcyA9IHhmLnRndF9yYW5nZXMKKwogICAgICAgICAgICAgc3JjX2ZpbGUgPSBjb21tb24uTWFrZVRlbXBGaWxlKHByZWZpeD0ic3JjLSIpCiAgICAgICAgICAgICB3aXRoIG9wZW4oc3JjX2ZpbGUsICJ3YiIpIGFzIGZkOgogICAgICAgICAgICAgICBzZWxmLnNyYy5Xcml0ZVJhbmdlRGF0YVRvRmQoc3JjX3JhbmdlcywgZmQpCkBAIC03NTAsMjYgKzkwMCwyMiBAQAogICAgICAgICAgICAgd2l0aCBvcGVuKHRndF9maWxlLCAid2IiKSBhcyBmZDoKICAgICAgICAgICAgICAgc2VsZi50Z3QuV3JpdGVSYW5nZURhdGFUb0ZkKHRndF9yYW5nZXMsIGZkKQogCi0gICAgICAgICAgdHJ5OgotICAgICAgICAgICAgcGF0Y2ggPSBjb21wdXRlX3BhdGNoKHNyY19maWxlLCB0Z3RfZmlsZSwgaW1nZGlmZikKLSAgICAgICAgICBleGNlcHQgVmFsdWVFcnJvciBhcyBlOgotICAgICAgICAgICAgd2l0aCBsb2NrOgotICAgICAgICAgICAgICBlcnJvcl9tZXNzYWdlcy5hcHBlbmQoCisgICAgICAgICAgICBtZXNzYWdlID0gW10KKyAgICAgICAgICAgIHRyeToKKyAgICAgICAgICAgICAgcGF0Y2ggPSBjb21wdXRlX3BhdGNoKHNyY19maWxlLCB0Z3RfZmlsZSwgaW1nZGlmZikKKyAgICAgICAgICAgIGV4Y2VwdCBWYWx1ZUVycm9yIGFzIGU6CisgICAgICAgICAgICAgIG1lc3NhZ2UuYXBwZW5kKAogICAgICAgICAgICAgICAgICAgIkZhaWxlZCB0byBnZW5lcmF0ZSAlcyBmb3IgJXM6IHRndD0lcywgc3JjPSVzOlxuJXMiICUgKAogICAgICAgICAgICAgICAgICAgICAgICJpbWdkaWZmIiBpZiBpbWdkaWZmIGVsc2UgImJzZGlmZiIsCiAgICAgICAgICAgICAgICAgICAgICAgeGYudGd0X25hbWUgaWYgeGYudGd0X25hbWUgPT0geGYuc3JjX25hbWUgZWxzZQotICAgICAgICAgICAgICAgICAgICAgICAgICB4Zi50Z3RfbmFtZSArICIgKGZyb20gIiArIHhmLnNyY19uYW1lICsgIikiLAorICAgICAgICAgICAgICAgICAgICAgIHhmLnRndF9uYW1lICsgIiAoZnJvbSAiICsgeGYuc3JjX25hbWUgKyAiKSIsCiAgICAgICAgICAgICAgICAgICAgICAgeGYudGd0X3JhbmdlcywgeGYuc3JjX3JhbmdlcywgZS5tZXNzYWdlKSkKKyAgICAgICAgICAgIGlmIG1lc3NhZ2U6CisgICAgICAgICAgICAgIHdpdGggbG9jazoKKyAgICAgICAgICAgICAgICBlcnJvcl9tZXNzYWdlcy5leHRlbmQobWVzc2FnZSkKIAogICAgICAgICAgIHdpdGggbG9jazoKICAgICAgICAgICAgIHBhdGNoZXNbcGF0Y2hfaW5kZXhdID0gKHhmX2luZGV4LCBwYXRjaCkKLSAgICAgICAgICAgIGlmIHN5cy5zdGRvdXQuaXNhdHR5KCk6Ci0gICAgICAgICAgICAgIGdsb2JhbCBkaWZmX2RvbmUKLSAgICAgICAgICAgICAgZGlmZl9kb25lICs9IDEKLSAgICAgICAgICAgICAgcHJvZ3Jlc3MgPSBkaWZmX2RvbmUgKiAxMDAgLyBkaWZmX3RvdGFsCi0gICAgICAgICAgICAgICMgJ1wwMzNbSycgaXMgdG8gY2xlYXIgdG8gRU9MLgotICAgICAgICAgICAgICBwcmludCgnIFslZCUlXSAlc1wwMzNbSycgJSAocHJvZ3Jlc3MsIHhmLnRndF9uYW1lKSwgZW5kPSdccicpCi0gICAgICAgICAgICAgIHN5cy5zdGRvdXQuZmx1c2goKQogCiAgICAgICB0aHJlYWRzID0gW3RocmVhZGluZy5UaHJlYWQodGFyZ2V0PWRpZmZfd29ya2VyKQogICAgICAgICAgICAgICAgICBmb3IgXyBpbiByYW5nZShzZWxmLnRocmVhZHMpXQpAQCAtNzgyLDcgKzkyOCw5IEBACiAgICAgICAgIHByaW50KCdcbicpCiAKICAgICAgIGlmIGVycm9yX21lc3NhZ2VzOgorICAgICAgICBwcmludCgnRVJST1I6JykKICAgICAgICAgcHJpbnQoJ1xuJy5qb2luKGVycm9yX21lc3NhZ2VzKSkKKyAgICAgICAgcHJpbnQoJ1xuXG5cbicpCiAgICAgICAgIHN5cy5leGl0KDEpCiAgICAgZWxzZToKICAgICAgIHBhdGNoZXMgPSBbXQpAQCAtNzk5LDExICs5NDcsMjYgQEAKICAgICAgICAgaWYgY29tbW9uLk9QVElPTlMudmVyYm9zZToKICAgICAgICAgICB0Z3Rfc2l6ZSA9IHhmLnRndF9yYW5nZXMuc2l6ZSgpICogc2VsZi50Z3QuYmxvY2tzaXplCiAgICAgICAgICAgcHJpbnQoIiUxMGQgJTEwZCAoJTYuMmYlJSkgJTdzICVzICVzICVzIiAlICgKLSAgICAgICAgICAgICAgICB4Zi5wYXRjaF9sZW4sIHRndF9zaXplLCB4Zi5wYXRjaF9sZW4gKiAxMDAuMCAvIHRndF9zaXplLAotICAgICAgICAgICAgICAgIHhmLnN0eWxlLAotICAgICAgICAgICAgICAgIHhmLnRndF9uYW1lIGlmIHhmLnRndF9uYW1lID09IHhmLnNyY19uYW1lIGVsc2UgKAotICAgICAgICAgICAgICAgICAgICB4Zi50Z3RfbmFtZSArICIgKGZyb20gIiArIHhmLnNyY19uYW1lICsgIikiKSwKLSAgICAgICAgICAgICAgICB4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gICAgIGRlbCBHW3VdCiAgICAgICAgICAgZm9yIGl1IGluIHUuaW5jb21pbmc6CkBAIC0xMDM0LDcgKzExOTgsOCBAQAogICAgICAgd2hpbGUgc291cmNlczoKICAgICAgICAgbmV3X3NvdXJjZXMgPSBPcmRlcmVkRGljdCgpCiAgICAgICAgIGZvciB1IGluIHNvdXJjZXM6Ci0gICAgICAgICAgaWYgdSBub3QgaW4gRzogY29udGludWUKKyAgICAgICAgICBpZiB1IG5vdCBpbiBHOgorICAgICAgICAgICAgY29udGludWUKICAgICAgICAgICBzMS5hcHBlbmQodSkKICAgICAgICAgICBkZWwgR1t1XQogICAgICAgICAgIGZvciBpdSBpbiB1Lm91dGdvaW5nOgpAQCAtMTA0Myw3ICsxMjA4LDggQEAKICAgICAgICAgICAgICAgbmV3X3NvdXJjZXNbaXVdID0gTm9uZQogICAgICAgICBzb3VyY2VzID0gbmV3X3NvdXJjZXMKIAotICAgICAgaWYgbm90IEc6IGJyZWFrCisgICAgICBpZiBub3QgRzoKKyAgICAgICAgYnJlYWsKIAogICAgICAgIyBGaW5kIHRoZSAiYmVzdCIgdmVydGV4IHRvIHB1dCBuZXh0LiAgIkJlc3QiIGlzIHRoZSBvbmUgdGhhdAogICAgICAgIyBtYXhpbWl6ZXMgdGhlIG5ldCBkaWZmZXJlbmNlIGluIHNvdXJjZSBibG9ja3Mgc2F2ZWQgd2UgZ2V0IGJ5CkBAIC0xMTAwLDE0ICsxMjY2LDE2IEBACiAgICAgICBpbnRlcnNlY3Rpb25zID0gT3JkZXJlZERpY3QoKQogICAgICAgZm9yIHMsIGUgaW4gYS50Z3RfcmFuZ2VzOgogICAgICAgICBmb3IgaSBpbiByYW5nZShzLCBlKToKLSAgICAgICAgICBpZiBpID49IGxlbihzb3VyY2VfcmFuZ2VzKTogYnJlYWsKKyAgICAgICAgICBpZiBpID49IGxlbihzb3VyY2VfcmFuZ2VzKToKKyAgICAgICAgICAgIGJyZWFrCiAgICAgICAgICAgIyBBZGQgYWxs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d0X25hbWUsIHRndF9yYW5nZXMsIHNyY19yYW5nZXMsIFRydWUpOgorICAgICAgICAgIGxhcmdlX2Fwa3MuYXBwZW5kKCh0Z3RfbmFtZSwgc3JjX25hbWUsIHRndF9yYW5nZXMsIHNyY19yYW5nZXMpKQorICAgICAgICAgIHJldHVybgorCisgICAgICBBZGRTcGxpdFRyYW5zZmVyc1dpdGhGaXhlZFNpemVDaHVua3ModGd0X25hbWUsIHNyY19uYW1lLCB0Z3RfcmFuZ2VzLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNyY19yYW5nZXMsIHN0eWxlLCBieV9pZCkKKwogICAgIGRlZiBBZGRUcmFuc2Zlcih0Z3RfbmFtZSwgc3JjX25hbWUsIHRndF9yYW5nZXMsIHNyY19yYW5nZXMsIHN0eWxlLCBieV9pZCwKICAgICAgICAgICAgICAgICAgICAgc3BsaXQ9RmFsc2UpOgogICAgICAgIiIiV3JhcHBlciBmdW5jdGlvbiBmb3IgYWRkaW5nIGEgVHJhbnNmZXIoKS4iIiIKQEAgLTEyMjYsOCArMTQxMiw5IEBACiAKICAgICAgICAgaWYgdGd0X2NoYW5nZWQgPCB0Z3Rfc2l6ZSAqIGNyb3BfdGhyZXNob2xkOgogICAgICAgICAgIGFzc2VydCB0Z3RfY2hhbmdlZCArIHRndF9za2lwcGVkLnNpemUoKSA9PSB0Z3Rfc2l6ZQotICAgICAgICAgIHByaW50KCclMTBkICUxMGQgKCU2LjJmJSUpICVzJyAlICh0Z3Rfc2tpcHBlZC5zaXplKCksIHRndF9zaXplLAotICAgICAgICAgICAgICAgIHRndF9za2lwcGVkLnNpemUoKSAqIDEwMC4wIC8gdGd0X3NpemUsIHRndF9uYW1lKSkKKyAgICAgICAgICBwcmludCgnJTEwZCAlMTBkICglNi4yZiUlKSAlcycgJSAoCisgICAgICAgICAgICAgIHRndF9za2lwcGVkLnNpemUoKSwgdGd0X3NpemUsCisgICAgICAgICAgICAgIHRndF9za2lwcGV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HV0LCBfID0gcC5jb21tdW5pY2F0ZSgpCisgICAgICAgIGFzc2VydCBwLnJldHVybmNvZGUgPT0gMCwgXAorICAgICAgICAgICAgIkZhaWxlZCB0byBjcmVhdGUgaW1nZGlmZiBwYXRjaCBiZXR3ZWVuIHt9IGFuZCB7fTpcbnt9Ii5mb3JtYXQoCisgICAgICAgICAgICAgICAgc3JjX25hbWUsIHRndF9uYW1lLCBpbWdkaWZmX291dHB1dCkKKworICAgICAgICB3aXRoIG9wZW4ocGF0Y2hfaW5mb19maWxlKSBhcyBwYXRjaF9pbmZvOgorICAgICAgICAgIGxpbmVzID0gcGF0Y2hfaW5mby5yZWFkbGluZXMoKQorCisgICAgICAgIHBhdGNoX3NpemVfdG90YWwgPSBvcy5wYXRoLmdldHNpemUocGF0Y2hfZmlsZSkKKyAgICAgICAgc3BsaXRfaW5mb19saXN0ID0gUGFyc2VBbmRWYWxpZGF0ZVNwbGl0SW5mbyhwYXRjaF9zaXplX3RvdGFsLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRndF9yYW5nZXMsIHNyY19yYW5nZXMsCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGluZXMpCisgICAgICAgIGZvciBpbmRleCwgKHBhdGNoX3N0YXJ0LCBwYXRjaF9sZW5ndGgsIHNwbGl0X3RndF9yYW5nZXMsCisgICAgICAgICAgICAgICAgICAgIHNwbGl0X3NyY19yYW5nZXMpIGluIGVudW1lcmF0ZShzcGxpdF9pbmZvX2xpc3QpOgorICAgICAgICAgIHdpdGggb3BlbihwYXRjaF9maWxlKSBhcyBmOgorICAgICAgICAgICAgZi5zZWVrKHBhdGNoX3N0YXJ0KQorICAgICAgICAgICAgcGF0Y2hfY29udGVudCA9IGYucmVhZChwYXRjaF9sZW5ndGgpCisKKyAgICAgICAgICBzcGxpdF9zcmNfbmFtZSA9ICJ7fS17fSIuZm9ybWF0KHNyY19uYW1lLCBpbmRleCkKKyAgICAgICAgICBzcGxpdF90Z3RfbmFtZSA9ICJ7fS17fSIuZm9ybWF0KHRndF9uYW1lLCBpbmRleCkKKyAgICAgICAgICBzcGxpdF9sYXJnZV9hcGtzLmFwcGVuZCgoc3BsaXRfdGd0X25hbWUsCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNwbGl0X3NyY19uYW1lLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzcGxpdF90Z3RfcmFuZ2VzLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzcGxpdF9zcmNfcmFuZ2VzLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXRjaF9jb250ZW50KSkKKwogICAgIHByaW50KCJGaW5kaW5nIHRyYW5zZmVycy4uLiIpCiAKKyAgICBsYXJnZV9hcGtzID0gW10KKyAgICBzcGxpdF9sYXJnZV9hcGtzID0gW10KKyAgICBjYWNoZV9zaXplID0gY29tbW9uLk9QVElPTlMuY2FjaGVfc2l6ZQorICAgIHNwbGl0X3RocmVzaG9sZCA9IDAuMTI1CisgICAgbWF4X2Jsb2Nrc19wZXJfdHJhbnNmZXIgPSBpbnQoY2FjaGVfc2l6ZSAqIHNwbGl0X3RocmVzaG9sZCAvCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc2VsZi50Z3QuYmxvY2tzaXplKQogICAgIGVtcHR5ID0gUmFuZ2VTZXQoKQotICAgIGZvciB0Z3RfZm4sIHRndF9yYW5nZXMgaW4gc2VsZi50Z3QuZmlsZV9tYXAuaXRlbXMoKToKKyAgICBmb3IgdGd0X2ZuLCB0Z3RfcmFuZ2VzIGluIHNvcnRlZChzZWxmLnRndC5maWxlX21hcC5pdGVtcygpKToKICAgICAgIGlmIHRndF9mbiA9PSAiX19aRVJPIjoKICAgICAgICAgIyB0aGUgc3BlY2lhbCAiX19aRVJPIiBkb21haW4gaXMgYWxsIHRoZSBibG9ja3Mgbm90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ZW0iKToKKyAgICBpbl9kaXIgPSBjb21tb24uTWFrZVRlbXBEaXIoKQorICAgICMgQ2hhbmdlIHRoZSBtb3VudCBwb2ludCB0byAiLyIuCiAgICAgcHJvcF9kaWN0WyJtb3VudF9wb2ludCJdID0gIi8iCiAgICAgaWYgZnNfY29uZmlnOgogICAgICAgIyBXZSBuZWVkIHRvIG1lcmdlIHRoZSBmc19jb25maWcgZmlsZXMgb2Ygc3lzdGVtIGFuZCByYW1kaXNrLgotICAgICAgZmQsIG1lcmdlZF9mc19jb25maWcgPSB0ZW1wZmlsZS5ta3N0ZW1wKHByZWZpeD0icm9vdF9mc19jb25maWciLAotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN1ZmZpeD0iLnR4dCIpCi0gICAgICBvcy5jbG9zZShmZCkKKyAgICAgIG1lcmdlZF9mc19jb25maWcgPSBjb21tb24uTWFrZVRlbXBGaWxlKHByZWZpeD0icm9vdF9mc19jb25maWciLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3VmZml4PSIudHh0IikKICAgICAgIHdpdGggb3BlbihtZXJnZWRfZnNfY29uZmlnLCAidyIpIGFzIGZ3OgogICAgICAgICBpZiAicmFtZGlza19mc19jb25maWciIGluIHByb3BfZGljdDoKICAgICAgICAgICB3aXRoIG9wZW4ocHJvcF9kaWN0WyJyYW1kaXNrX2ZzX2NvbmZpZyJdKSBhcyBmcjoKQEAgLTM5OSw3ICs0NzgsNyBAQAogCiAgIGJ1aWxkX2NvbW1hbmQgPSBbXQogICBmc190eXBlID0gcHJvcF9kaWN0LmdldCgiZnNfdHlwZSIsICIiKQotICBydW5fZnNjayA9IEZhbHNlCisgIHJ1bl9lMmZzY2sgPSBGYWxzZQogCiAgIGZzX3NwYW5zX3BhcnRpdGlvbiA9IFRydWUKICAgaWYgZnNfdHlwZS5zdGFydHN3aXRoKCJzcXVhc2giKToKQEAgLTQxMyw4ICs0OTIsOCBAQAogICAjIHZlcmlmaWVkLgogICBpZiB2ZXJpdHlfc3VwcG9ydGVkIGFuZCBpc192ZXJpdHlfcGFydGl0aW9uOgogICAgIHBhcnRpdGlvbl9zaXplID0gaW50KHByb3BfZGljdC5nZXQoInBhcnRpdGlvbl9zaXplIikpCi0gICAgKGFkanVzdGVkX3NpemUsIHZlcml0eV9zaXplKSA9IEFkanVzdFBhcnRpdGlvblNpemVGb3JWZXJpdHkocGFydGl0aW9uX3NpemUsCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmVyaXR5X2ZlY19zdXBwb3J0ZWQpCisgICAgKGFkanVzdGVkX3NpemUsIHZlcml0eV9zaXplKSA9IEFkanVzdFBhcnRpdGlvblNpemVGb3JWZXJpdHkoCisgICAgICAgIHBhcnRpdGlvbl9zaXplLCB2ZXJpdHlfZmVjX3N1cHBvcnRlZCkKICAgICBpZiBub3QgYWRqdXN0ZWRfc2l6ZToKICAgICAgIHJldHVybiBGYWxzZQogICAgIHByb3BfZGljdFsicGFydGl0aW9uX3NpemUiXSA9IHN0cihhZGp1c3RlZF9zaXplKQpAQCAtNDMzLDggKzUxMiw4IEBACiAgICAgcGFydGl0aW9uX3NpemUgPSBwcm9wX2RpY3RbInBhcnRpdGlvbl9zaXplIl0KICAgICAjIGF2Yl9hZGRfaGFzaF9mb290ZXJfYXJncyBvciBhdmJfYWRkX2hhc2h0cmVlX2Zvb3Rlcl9hcmdzLgogICAgIGFkZGl0aW9uYWxfYXJncyA9IHByb3BfZGljdFsiYXZiX2FkZF8iICsgYXZiX2Zvb3Rlcl90eXBlICsgIl9mb290ZXJfYXJncyJdCi0gICAgbWF4X2ltYWdlX3NpemUgPSBBVkJDYWxjTWF4SW1hZ2VTaXplKGF2YnRvb2wsIGF2Yl9mb290ZXJfdHlwZSwgcGFydGl0aW9uX3NpemUsCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFkZ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uIGQKIApAQCAtNzQ2LDcgKzg0Niw3IEBACiAKIGRlZiBtYWluKGFyZ3YpOgogICBpZiBsZW4oYXJndikgIT0gNDoKLSAgICBwcmludCBfX2RvY19fCisgICAgcHJpbnQoX19kb2NfXykKICAgICBzeXMuZXhpdCgxKQogCiAgIGluX2RpciA9IGFyZ3ZbMF0KQEAgLTc3NCwxNyArODc0LDIyIEBACiAgICAgICBtb3VudF9wb2ludCA9ICJ2ZW5kb3IiCiAgICAgZWxpZiBpbWFnZV9maWxlbmFtZSA9PSAib2VtLmltZyI6CiAgICAgICBtb3VudF9wb2ludCA9ICJvZW0iCisgICAgZWxpZiBpbWFnZV9maWxlbmFtZSA9PSAicHJvZHVjdC5pbWciOgorICAgICAgbW91bnRfcG9pbnQgPSAicHJvZHVjdCIKICAgICBlbHNlOgotICAgICAgcHJpbnQgPj4gc3lzLnN0ZGVyciwgImVycm9yOiB1bmtub3duIGltYWdlIGZpbGUgbmFtZSAiLCBpbWFnZV9maWxlbmFtZQotICAgICAgZXhpdCgxKQorICAgICAgcHJpbnQoImVycm9yOiB1bmtub3duIGltYWdlIGZpbGUgbmFtZSAiLCBpbWFnZV9maWxlbmFtZSwgZmlsZT1zeXMuc3RkZXJyKQorICAgICAgc3lzLmV4aXQoMSkKIAogICAgIGltYWdlX3Byb3BlcnRpZXMgPSBJbWFnZVByb3BGcm9tR2xvYmFsRGljdChnbG9iX2RpY3QsIG1vdW50X3BvaW50KQogCiAgIGlmIG5vdCBCdWlsZEltYWdlKGluX2RpciwgaW1hZ2VfcHJvcGVydGllcywgb3V0X2ZpbGUsIHRhcmdldF9vdXQpOgotICAgIHByaW50ID4+IHN5cy5zdGRlcnIsICJlcnJvcjogZmFpbGVkIHRvIGJ1aWxkICVzIGZyb20gJXMiICUgKG91dF9maWxlLAotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGluX2RpcikKLSAgICBleGl0KDEpCisgICAgcHJp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bGluZSBmcm9tIGFwa2NlcnRzLnR4dDpcbiIgKyBsaW5lKQotICAgICAgaWYgdGhpc19jb21wcmVzc2VkX2V4dGVuc2lvbjoKLSAgICAgICAgIyBPbmx5IGNvdW50IHRoZSBpbnN0YWxsZWQgZmlsZXMuCi0gICAgICAgIGZpbGVuYW1lID0gbmFtZSArICcuJyArIHRoaXNfY29tcHJlc3NlZF9leHRlbnNpb24KLSAgICAgICAgaWYgZmlsZW5hbWUgbm90IGluIGluc3RhbGxlZF9maWxlczoKLSAgICAgICAgICBjb250aW51ZQotICAgICAgICAjIE1ha2Ugc3VyZSB0aGF0IGFsbCB0aGUgdmFsdWVzIGluIHRoZSBjb21wcmVzc2lvbiBtYXAgaGF2ZSB0aGUgc2FtZQotICAgICAgICAjIGV4dGVuc2lvbi4gV2UgZG9uJ3Qgc3VwcG9ydCBtdWx0aXBsZSBjb21wcmVzc2lvbiBtZXRob2RzIGluIHRoZSBzYW1lCi0gICAgICAgICMgc3lzdGVtIGltYWdlLgotICAgICAgICBpZiBjb21wcmVzc2VkX2V4dGVuc2lvbjoKLSAgICAgICAgICBpZiB0aGlzX2NvbXByZXNzZWRfZXh0ZW5zaW9uICE9IGNvbXByZXNzZWRfZXh0ZW5zaW9uOgotICAgICAgICAgICAgcmFpc2UgVmFsdWVFcnJvcigibXVsdGlwbGUgY29tcHJlc3NlZCBleHRlbnNpb25zIDogJXMgdnMgJXMiLAotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY29tcHJlc3NlZF9leHRlbnNpb24sIHRoaXNfY29tcHJlc3NlZF9leHRlbnNpb24pKQotICAgICAgICBlbHNlOgotICAgICAgICAgIGNvbXByZXNzZWRfZXh0ZW5zaW9uID0gdGhpc19jb21wcmVzc2VkX2V4dGVuc2lvbgorICAgIG0gPSByZS5tYXRjaCgKKyAgICAgICAgcidebmFtZT0iKD9QPE5BTUU+LiopIlxzK2NlcnRpZmljYXRlPSIoP1A8Q0VSVD4uKikiXHMrJworICAgICAgICByJ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W4oKQogCi0gICAgICBpZiBlcnIgb3IgcC5yZXR1cm5jb2RlICE9IDA6CisgICAgICBpZiBwLnJldHVybmNvZGUgIT0gMDoKICAgICAgICAgcHJpbnQoIldBUk5JTkc6IGZhaWx1cmUgcnVubmluZyAlczpcbiVzXG4iICUgKAogICAgICAgICAgICAgZGlmZl9wcm9ncmFtLCAiIi5qb2luKGVycikpKQogICAgICAgICBzZWxmLnBhdGNoID0gTm9uZQpAQCAtMTM4NCwyMCArMTUzMCwxNiBAQAogICAgIHNlbGYuZGlzYWJsZV9pbWdkaWZmID0gZGlzYWJsZV9pbWdkaWZmCiAKICAgICBpZiB2ZXJzaW9uIGlzIE5vbmU6Ci0gICAgICB2ZXJzaW9uID0gMQotICAgICAgaWYgT1BUSU9OUy5pbmZvX2RpY3Q6Ci0gICAgICAgIHZlcnNpb24gPSBtYXgoCi0gICAgICAgICAgICBpbnQoaSkgZm9yIGkgaW4KLSAgICAgICAgICAgIE9QVElPTlMuaW5mb19kaWN0LmdldCgiYmxvY2tpbWdkaWZmX3ZlcnNpb25zIiwgIjEiKS5zcGxpdCgiLCIpKQorICAgICAgdmVyc2lvbiA9IG1heCgKKyAgICAgICAgICBpbnQoaSkgZm9yIGkgaW4KKyAgICAgICAgICBPUFRJT05TLmluZm9fZGljdC5nZXQoImJsb2NraW1nZGlmZl92ZXJzaW9ucyIsICIxIikuc3BsaXQoIiwiKSkKICAgICBhc3NlcnQgdmVyc2lvbiA+PSAzCiAgICAgc2VsZi52ZXJzaW9uID0gdmVyc2lvbgogCiAgICAgYiA9IGJsb2NraW1nZGlmZi5CbG9ja0ltYWdlRGlmZih0Z3QsIHNyYywgdGhyZWFkcz1PUFRJT05TLndvcmtlcl90aHJlYWRzLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmVyc2lvbj1zZWxmLnZlcnNpb24sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkaXNhYmxlX2ltZ2RpZmY9c2VsZi5kaXNhYmxlX2ltZ2RpZmYpCi0gICAgdG1wZGlyID0gdGVtcGZpbGUubWtkdGVtcCgpCi0gICAgT1BUSU9OUy50ZW1wZmlsZXMuYXBwZW5kKHRtcGRpcikKLSAgICBzZWxmLnBhdGggPSBvcy5wYXRoLmpvaW4odG1wZGlyLCBwYXJ0aXRpb24pCisgICAgc2VsZi5wYXRoID0gb3MucGF0aC5qb2luKE1ha2VUZW1wRGlyKCksIHBhcnRpdGlvbikKICAgICBiLkNvbXB1dGUoc2VsZi5wYXRoKQogICAgIHNlbGYuX3JlcXVpcmVkX2NhY2hlID0gYi5tYXhfc3Rhc2hlZF9zaXplCiAgICAgc2VsZi50b3VjaGVkX3NyY19yYW5nZXMgPSBiLnRvdWNoZWRfc3JjX3JhbmdlcwpAQCAtMTU3MCwxMSArMTcxMiwxMSBAQAogICAgICMgICBkZWNvbXByZXNzaW9uX3RpbWU6IDE1cyAgfCAyNXMgICAgICAgICAgICAgICAgfCAyNXMKIAogICAgIGlmIG5vdCBzZWxmLnNyYzoKLSAgICAgIGJyb19jbWQgPSBbJ2JybycsICctLXF1YWxpdHknLCAnNicsCi0gICAgICAgICAgICAgICAgICctLWlucHV0JywgJ3t9Lm5ldy5kYXQnLmZvcm1hdChzZWxmLnBhdGgpLAotICAgICAgICAgICAgICAgICAnLS1vdXRwdXQnLCAne30ubmV3LmRhdC5icicuZm9ybWF0KHNlbGYucGF0aCldCisgICAgICBicm90bGlfY21kID0gWydicm90bGknLCAnLS1xdWFsaXR5PTYnLAorICAgICAgICAgICAgICAgICAgICAnLS1vdXRwdXQ9e30ubmV3LmRhdC5icicuZm9ybWF0KHNlbGYucGF0aCksCisgICAgICAgICAgICAgICAgICAgICd7fS5uZXcuZGF0Jy5mb3JtYXQoc2VsZi5wYXRoKV0KICAgICAgIHByaW50KCJDb21wcmVzc2luZyB7fS5uZXcuZGF0IHdpdGggYnJvdGxpIi5mb3JtYXQoc2VsZi5wYXJ0aXRpb24pKQotICAgICAgcCA9IFJ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xmKToKKyAgICBpZiBPUFRJT05TLnBheWxvYWRfc2lnbmVyIGlzIE5vbmU6CisgICAgICAjIFByZXBhcmUgdGhlIHBheWxvYWQgc2lnbmluZyBrZXkuCisgICAgICBwcml2YXRlX2tleSA9IE9QVElPTlMucGFja2FnZV9rZXkgKyBPUFRJT05TLnByaXZhdGVfa2V5X3N1ZmZpeAorICAgICAgcHcgPSBPUFRJT05TLmtleV9wYXNzd29yZHNbT1BUSU9OUy5wYWNrYWdlX2tleV0KKworICAgICAgY21kID0gWyJvcGVuc3NsIiwgInBrY3M4IiwgIi1pbiIsIHByaXZhdGVfa2V5LCAiLWluZm9ybSIsICJERVIiXQorICAgICAgY21kLmV4dGVuZChbIi1wYXNzaW4iLCAicGFzczoiICsgcHddIGlmIHB3IGVsc2UgWyItbm9jcnlwdCJdKQorICAgICAgc2lnbmluZ19rZXkgPSBjb21tb24uTWFrZVRlbXBGaWxlKHByZWZpeD0ia2V5LSIsIHN1ZmZpeD0iLmtleSIpCisgICAgICBjbWQuZXh0ZW5kKFsiLW91dCIsIHNpZ25pbmdfa2V5XSkKKworICAgICAgZ2V0X3NpZ25pbmdfa2V5ID0gY29tbW9uLlJ1bihjbWQsIHZlcmJvc2U9RmFsc2UsIHN0ZG91dD1zdWJwcm9jZXNzLlBJUEUsCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0ZGVycj1zdWJwcm9jZXNzLlNURE9VVCkKKyAgICAgIHN0ZG91dGRhdGEsIF8gPSBnZXRfc2lnbmluZ19rZXkuY29tbXVuaWNhdGUoKQorICAgICAgYXNzZXJ0IGdldF9zaWduaW5nX2tleS5yZXR1cm5jb2RlID09IDAsIFwKKyAgICAgICAgICAiRmFpbGVkIHRvIGdldCBzaWduaW5nIGtleToge30iLmZvcm1hdChzdGRvdXRkYXRhKQorCisgICAgICBzZWxmLnNpZ25lciA9ICJvcGVuc3NsIgorICAgICAgc2VsZi5zaWduZXJfYXJncyA9IFsicGtleXV0bCIsICItc2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5kIG9lbV9kaWN0c1swXSwKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgT1BUSU9OUy50YXJnZXRfaW5mb19kaWN0KQotICBtZXRhZGF0YVsicHJlLWJ1aWxkIl0gPSBzb3VyY2VfZnAKLSAgbWV0YWRhdGFbInBvc3QtYnVpbGQiXSA9IHRhcmdldF9mcAotICBtZXRhZGF0YVsicHJlLWJ1aWxkLWluY3JlbWVudGFsIl0gPSBHZXRCdWlsZFByb3AoCi0gICAgICAicm8uYnVpbGQudmVyc2lvbi5pbmNyZW1lbnRhbCIsIE9QVElPTlMuc291cmNlX2luZm9fZGljdCkKLSAgbWV0YWRhdGFbInBvc3QtYnVpbGQtaW5jcmVtZW50YWwiXSA9IEdldEJ1aWxkUHJvcCgKLSAgICAgICJyby5idWlsZC52ZXJzaW9uLmluY3JlbWVudGFsIiwgT1BUSU9OUy50YXJnZXRfaW5mb19kaWN0KQorICAgICAgaW5mb19kaWN0PXNvdXJjZV9pbmZvKQogCiAgIHNvdXJjZV9ib290ID0gY29tbW9uLkdldEJvb3RhYmxlSW1hZ2UoCi0gICAgICAiL3RtcC9ib290LmltZyIsICJib290LmltZyIsIE9QVElPTlMuc291cmNlX3RtcCwgIkJPT1QiLAotICAgICAgT1BUSU9OUy5zb3VyY2VfaW5mb19kaWN0KQorICAgICAgIi90bXAvYm9vdC5pbWciLCAiYm9vdC5pbWciLCBPUFRJT05TLnNvdXJjZV90bXAsICJCT09UIiwgc291cmNlX2luZm8pCiAgIHRhcmdldF9ib290ID0gY29tbW9uLkdldEJvb3RhYmxlSW1hZ2UoCi0gICAgICAiL3RtcC9ib290LmltZyIsICJib290LmltZyIsIE9QVElPTlMudGFyZ2V0X3RtcCwgIkJPT1QiKQorICAgICAgIi90bXAvYm9vdC5pbWciLCAiYm9vdC5pbWciLCBPUFRJT05TLnRhcmdldF90bXAsICJCT09UIiwgdGFyZ2V0X2luZm8pCiAgIHVwZGF0aW5nX2Jvb3QgPSAobm90IE9QV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m9uZSkKLQotICBtZXRhZGF0YSA9IHsKLSAgICAgICJwb3N0LWJ1aWxkIjogQ2FsY3VsYXRlRmluZ2VycHJpbnQob2VtX3Byb3BzLCBvZW1fZGljdHMgYW5kIG9lbV9kaWN0c1swXSwKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgT1BUSU9OUy5pbmZvX2RpY3QpLAotICAgICAgInBvc3QtYnVpbGQtaW5jcmVtZW50YWwiIDogR2V0QnVpbGRQcm9wKCJyby5idWlsZC52ZXJzaW9uLmluY3JlbWVudGFsIiwKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBPUFRJT05TLmluZm9fZGljdCksCi0gICAgICAicHJlLWRldmljZSI6IEdldE9lbVByb3BlcnR5KCJyby5wcm9kdWN0LmRldmljZSIsIG9lbV9wcm9wcywKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb2VtX2RpY3RzIGFuZCBvZW1fZGljdHNbMF0sCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIE9QVElPTlMuaW5mb19kaWN0KSwKLSAgICAgICJvdGEtcmVxdWlyZWQtY2FjaGUiOiAiMCIsCi0gICAgICAib3RhLXR5cGUiOiAiQUIiLAotICB9Ci0KICAgaWYgc291cmNlX2ZpbGUgaXMgbm90IE5vbmU6Ci0gICAgbWV0YWRhdGFbInByZS1idWlsZCJdID0gQ2FsY3VsYXRlRmluZ2VycHJpbnQob2VtX3Byb3BzLAotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9lbV9kaWN0cyBhbmQgb2VtX2RpY3RzWzBdLAotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIE9QVElPTlMuc291cmNlX2luZm9fZGljdCkKLSAgICBtZXRhZGF0YVsicHJlLWJ1aWxkLWluY3JlbWVudGFsIl0gPSBHZXRCdWlsZFByb3AoCi0gICAgICAgIC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W9uLlBhcnNlT3B0aW9ucyhhcmd2LCBfX2RvY19fLAotICAgICAgICAgICAgICAgICAgICAgICAgICAgICBleHRyYV9vcHRzPSJiOms6aTpkOndlOnQ6Mm86IiwKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZXh0cmFfb3B0cz0iYjprOmk6ZDplOnQ6Mm86IiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZXh0cmFfbG9uZ19vcHRzPVsKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJib2FyZF9jb25maWc9IiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJwYWNrYWdlX2tleT0iLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImluY3JlbWVudGFsX2Zyb209IiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJmdWxsX3JhZGlvIiwKQEAgLTEzNDEsMTkgKzE4NDcsMTkgQEAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJleHRyYV9zY3JpcHQ9IiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJ3b3JrZXJfdGhyZWFkcz0iLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInR3b19zdGVwIiwKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJpbmNsdWRlX3NlY29uZGFyeSIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAibm9fc2lnbmluZyIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiYmxvY2siLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImJpbmFyeT0iLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIm9lbV9zZXR0aW5ncz0iLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIm9lbV9ub19tb3VudCIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidmVyaWZ5IiwKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJub19mYWxsYmFja190b19mdWxsIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzdGFzaF90aHJlc2hvbGQ9IiwKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJnZW5fdmVyaWZ5IiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJsb2dfZGlmZj0iLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgInBheWxvYWRfc2lnbmVyPSIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAicGF5bG9hZF9zaWduZXJfYXJncz0iLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImV4dHJhY3RlZF9pbnB1dF90YXJnZXRfZmlsZXM9IiwKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJza2lwX3Bvc3RpbnN0YWxsIiwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXSwgZXh0cmFfb3B0aW9uX2hhbmRsZXI9b3B0aW9uX2hhbmRsZXIpCiAKICAgaWYgbGVuKGFyZ3MpICE9IDI6CkBAIC0xMzYxLDI3ICsxODY3LDQxIEBACiAgICAgc3lzLmV4aXQoMSkKIAogICBpZiBPUFRJT05TLmRvd25ncmFkZToKLSAgICAjIFNhbml0eSBjaGVjayB0byBlbmZvcmNlIGEgZGF0YSB3aXBlLgotICAgIGlmIG5vdCBPUFRJT05TLndpcGVfdXNlcl9kYXRhOgotICAgICAgcmFpc2UgVmFsdWVFcnJvcigiQ2Fubm90IGRvd25ncmFkZSB3aXRob3V0IGEgZGF0YSB3aXBlIikKLQogICAgICMgV2Ugc2hvdWxkIG9ubHkgYWxsb3cgZG93bmdyYWRpbmcgaW5jcmVtZW50YWxzIChhcyBvcHBvc2VkIHRvIGZ1bGwpLgogICAgICMgT3RoZXJ3aXNlIHRoZSBkZXZpY2UgbWF5IGdvIGJhY2sgZnJvbSBhcmJpdHJhcnkgYnVpbGQgd2l0aCB0a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Bzb3VyY2VfemlwLCBvdXRwdXRfemlwKQotICAgICAgaWYgT1BUSU9OUy5sb2dfZGlmZjoKLSAgICAgICAgb3V0X2ZpbGUgPSBvcGVuKE9QVElPTlMubG9nX2RpZmYsICd3JykKKyAgICBPUFRJT05TLnNvdXJjZV90bXAgPSBjb21tb24uVW56aXBUZW1wKAorICAgICAgICBPUFRJT05TLmluY3JlbWVudGFsX3NvdXJjZSwgVU5aSVBfUEFUVEVSTikKKyAgICB3aXRoIHppcGZpbGUuWmlwRmlsZShhcmdzWzBdLCAncicpIGFzIGlucHV0X3ppcCwgXAorICAgICAgICB6aXBmaWxlLlppcEZpbGUoT1BUSU9OUy5pbmNyZW1lbnRhbF9zb3VyY2UsICdyJykgYXMgc291cmNlX3ppcDoKKyAgICAgIFdyaXRlQmxvY2tJbmNyZW1lbnRhbE9UQVBhY2thZ2UoCisgICAgICAgICAgaW5wdXRfemlwLAorICAgICAgICAgIHNvdXJjZV96aXAsCisgICAgICAgICAgb3V0cHV0X2ZpbGU9YXJnc1sxXSkKKworICAgIGlmIE9QVElPTlMubG9nX2RpZmY6CisgICAgICB3aXRoIG9wZW4oT1BUSU9OUy5sb2dfZGlmZiwgJ3cnKSBhcyBvdXRfZmlsZToKICAgICAgICAgaW1wb3J0IHRhcmdldF9maWxlc19kaWZmCi0gICAgICAgIHRhcmdldF9maWxlc19kaWZmLnJlY3Vyc2l2ZURpZmYoJycsCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgT1BUSU9OUy5zb3VyY2VfdG1wLAotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIE9QVElPTlMuaW5wdXRfdG1wLAotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG91dF9maWxlKQotICAgICAgICBvdXRfZmlsZS5jbG9zZSgpCi0gICAgZXhjZXB0IFZhbHVlRXJyb3I6Ci0gICAgICBpZiBub3QgT1BUSU9OUy5mYWxsYmFja190b19mdWxsO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KV0KIAogICAgICAga2V5ID0gYXBrX2tleV9tYXBbbmFtZV0KICAgICAgIGlmIGtleSBub3QgaW4gY29tbW9uLlNQRUNJQUxfQ0VSVF9TVFJJTkdTOgotICAgICAgICBwcmludCAiICAgIHNpZ25pbmc6ICUtKnMgKCVzKSIgJSAobWF4c2l6ZSwgbmFtZSwga2V5KQorICAgICAgICBwcmludCgiICAgIHNpZ25pbmc6ICUtKnMgKCVzKSIgJSAobWF4c2l6ZSwgbmFtZSwga2V5KSkKICAgICAgICAgc2lnbmVkX2RhdGEgPSBTaWduQXBrKGRhdGEsIGtleSwga2V5X3Bhc3N3b3Jkc1trZXldLCBwbGF0Zm9ybV9hcGlfbGV2ZWwsCi0gICAgICAgICAgICBjb2RlbmFtZV90b19hcGlfbGV2ZWxfbWFwLCBpc19jb21wcmVzc2VkKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29kZW5hbWVfdG9fYXBpX2xldmVsX21hcCwgaXNfY29tcHJlc3NlZCkKICAgICAgICAgY29tbW9uLlppcFdyaXRlU3RyKG91dHB1dF90Zl96aXAsIG91dF9pbmZvLCBzaWduZWRfZGF0YSkKICAgICAgIGVsc2U6CiAgICAgICAgICMgYW4gQVBLIHdlJ3JlIG5vdCBzdXBwb3NlZCB0byBzaWduLgotICAgICAgICBwcmludCAiTk9UIHNpZ25pbmc6ICVzIiAlIChuYW1lLCkKKyAgICAgICAgcHJpbnQoIk5PVCBzaWduaW5nOiAlcyIgJSAobmFtZSwpKQogICAgICAgICBjb21tb24uWmlwV3JpdGVTdHIob3V0cHV0X3RmX3ppcCwgb3V0X2luZm8sIGRhdGEpCiAKICAgICAjIFN5c3RlbSBwcm9wZXJ0aWVzLgpAQCAtMjc0LDE1ICsyODQsMTcgQEAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJST09UL2RlZmF1bHQucHJvcCIsICAjIGxlZ2FjeQogICAgICAgICAgICAgICAgICAgICAgICAgICAgIlJFQ09WRVJZL1JBTURJU0svcHJv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ZXJwcmludF9wcm9wZXJ0aWVzIikgaXMgTm9uZSk6Ci0gICAgICAgIHBpZWNlcyA9IHZhbHVlLnNwbGl0KCIvIikKLSAgICAgICAgcGllY2VzWy0xXSA9IEVkaXRUYWdzKHBpZWNlc1stMV0pCi0gICAgICAgIHZhbHVlID0gIi8iLmpvaW4ocGllY2VzKQotICAgICAgZWxpZiAoa2V5IGluICgicm8uYnVpbGQudGh1bWJwcmludCIsICJyby52ZW5kb3IuYnVpbGQudGh1bWJwcmludCIpCi0gICAgICAgICAgICBhbmQgbWlzY19pbmZvLmdldCgib2VtX2ZpbmdlcnByaW50X3Byb3BlcnRpZXMiKSBpcyBub3QgTm9uZSk6CisgICAgICBpZiBrZXkgaW4gKCJyby5idWlsZC5maW5nZXJwcmludCIsICJyby5idWlsZC50aHVtYnByaW50IiwKKyAgICAgICAgICAgICAgICAgInJvLnZlbmRvci5idWlsZC5maW5nZXJwcmludCIsICJyby52ZW5kb3IuYnVpbGQudGh1bWJwcmludCIpOgogICAgICAgICBwaWVjZXMgPSB2YWx1ZS5zcGxpdCgiLyIpCiAgICAgICAgIHBpZWNlc1stMV0gPSBFZGl0VGFncyhwaWVjZXNbLTFdKQogICAgICAgICB2YWx1ZSA9ICIvIi5qb2luKHBpZWNlcykKQEAgLTQzMiw4ICs0NzcsOCBAQAogICAgICAgICB2YWx1ZSA9ICIgIi5qb2luKHZhbHVlKQogICAgICAgbGluZSA9IGtleSArICI9IiArIHZhbHVlCiAgICAgaWYgbGluZSAhPSBvcmlnaW5hbF9saW5lOgotICAgICAgcHJpbnQgIiAgcmVwbGFjZTogIiwgb3JpZ2luYWxfbGluZQotICAgICAgcHJpbnQgIiAgICAgd2l0aDogIiwgbGluZQorICAgICAgcHJpbnQoIiAgcmVwbGFjZTogIiwgb3JpZ2luYWxfbGluZSkKKyAgICAgIHByaW50KCIgICAgIHdpdGg6ICIsIGxpbmUpCiAgICAgb3V0cHV0LmFwcGVuZChsaW5lKQogICByZXR1cm4gIlxuI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gIHBhcnRpdGlvbiwgZXh0cmFfYXJncykKKyAgICAgIHByaW50KCdTZXR0aW5nIGV4dHJhIEFWQiBzaWduaW5nIGFyZ3MgZm9yICVzIHRvICIlcyInICUgKAorICAgICAgICAgIHBhcnRpdGlvbiwgZXh0cmFfYXJncykpCiAgICAgICBhcmdzX2tleSA9IEFWQl9GT09URVJfQVJHU19CWV9QQVJUSVRJT05bcGFydGl0aW9uXQogICAgICAgbWlzY19pbmZvW2FyZ3Nfa2V5XSA9IChtaXNjX2luZm8uZ2V0KGFyZ3Nfa2V5LCAnJykgKyAnICcgKyBleHRyYV9hcmdzKQogCkBAIC03NTEsMjkgKzgyMSwyOSBAQAogICAgICAgYXJndiwgX19kb2NfXywKICAgICAgIGV4dHJhX29wdHM9ImU6ZDprOm90OiIsCiAgICAgICBleHRyYV9sb25nX29wdHM9WwotICAgICAgICAiZXh0cmFfYXBrcz0iLAotICAgICAgICAiZGVmYXVsdF9rZXlfbWFwcGluZ3M9IiwKLSAgICAgICAgImtleV9tYXBwaW5nPSIsCi0gICAgICAgICJyZXBsYWNlX290YV9rZXlzIiwKLSAgICAgICAgInRhZ19jaGFuZ2VzPSIsCi0gICAgICAgICJyZXBsYWNlX3Zlcml0eV9wdWJsaWNfa2V5PSIsCi0gICAgICAgICJyZXBsYWNlX3Zlcml0eV9wcml2YXRlX2tleT0iLAotICAgICAgICAicmVwbGFjZV92ZXJpdHlfa2V5aWQ9IiwKLSAgICAgICAgImF2Yl92Ym1ldGFfYWxnb3JpdGhtPSIsCi0gICAgICAgICJhdmJfdmJtZXRhX2tleT0iLAotICAgICAgICAiYXZiX3ZibWV0YV9leHRyYV9hcmdzPSIsCi0gICAgICAgICJhdmJfYm9vdF9hbGdvcml0aG09IiwKLSAgICAgICAgImF2Yl9ib290X2tleT0iLAotICAgICAgICAiYXZiX2Jvb3RfZXh0cmFfYXJncz0iLAotICAgICAgICAiYXZiX2R0Ym9fYWxnb3JpdGhtPSIsCi0gICAgICAgICJhdmJfZHRib19rZXk9IiwKLSAgICAgICAgImF2Yl9kdGJvX2V4dHJhX2FyZ3M9IiwKLSAgICAgICAgImF2Yl9zeXN0ZW1fYWxnb3JpdGhtPSIsCi0gICAgICAgICJhdmJfc3lzdGVtX2tleT0iLAotICAgICAgICAiYXZiX3N5c3RlbV9leHRyYV9hcmdzPSIsCi0gICAgICAgICJhdmJfdmVuZG9yX2FsZ29yaXRobT0iLAotICAgICAgICAiYXZiX3ZlbmRvcl9rZXk9IiwKLSAgICAgICAgImF2Yl92ZW5kb3JfZXh0cmFfYXJncz0iLAorICAgICAgICAgICJleHRyYV9hcGtzPSIsCisgICAgICAgICAgImRlZmF1bHRfa2V5X21hcHBpbmdzPSIsCisgICAgICAgICAgImtleV9tYXBwaW5nPSIsCisgICAgICAgICAgInJlcGxhY2Vfb3RhX2tleXMiLAorICAgICAgICAgICJ0YWdfY2hhbmdlcz0iLAorICAgICAgICAgICJyZXBsYWNlX3Zlcml0eV9wdWJsaWNfa2V5PSIsCisgICAgICAgICAgInJlcGxhY2VfdmVyaXR5X3ByaXZhdGVfa2V5PSIsCisgICAgICAgICAgInJlcGxhY2VfdmVyaXR5X2tleWlkPSIsCisgICAgICAgICAgImF2Yl92Ym1ldGFfYWxnb3JpdGhtPSIsCisgICAgICAgICAgImF2Yl92Ym1ldGFfa2V5PSIsCisgICAgICAgICAgImF2Yl92Ym1ldGFfZXh0cmFfYXJncz0iLAorICAgICAgICAgICJhdmJfYm9vdF9hbGdvcml0aG09IiwKKyAgICAgICAgICAiYXZiX2Jvb3Rfa2V5PSIsCisgICAgICAgICAgImF2Yl9ib290X2V4dHJhX2FyZ3M9IiwKKyAgICAgICAgICAiYXZiX2R0Ym9fYWxnb3JpdGhtPSIsCisgICAgICAgICAgImF2Yl9kdGJvX2tleT0iLAorICAgICAgICAgICJhdmJfZHRib19leHRyYV9hcmdzPSIsCisgICAgICAgICAgImF2Yl9zeXN0ZW1fYWxnb3JpdGhtPSIsCisgICAgICAgICAgImF2Yl9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JjbmFtZT0nVGVzdDInKQorICAgICAgY29tbW9uLlppcFdyaXRlKG91dHB1dF96aXAsIGVudHJ5X2ZpbGUubmFtZSwgYXJjbmFtZT0nVGVzdDMnKQorICAgICAgY29tbW9uLlppcENsb3NlKG91dHB1dF96aXApCisgICAgemlwX2ZpbGUuY2xvc2UoKQogCi0gIEl0cyBmb3JtYXQgc2hvdWxkIG1hdGNoIGJldHdlZW4gY29tbW9uLnB5IGFuZCB2YWxpZGF0ZV90YXJnZXRfZmlsZXMucHkuIiIiCisgICAgdHJ5OgorICAgICAgY29tbW9uLlppcERlbGV0ZSh6aXBfZmlsZS5uYW1lLCAnVGVzdDInKQorICAgICAgd2l0aCB6aXBmaWxlLlppcEZpbGUoemlwX2ZpbGUubmFtZSwgJ3InKSBhcyBjaGVja196aXA6CisgICAgICAgIGVudHJpZXMgPSBjaGVja196aXAubmFtZWxpc3QoKQorICAgICAgICBzZWxmLmFzc2VydFRydWUoJ1Rlc3QxJyBpbiBlbnRyaWVzKQorICAgICAgICBzZWxmLmFzc2VydEZhbHNlKCdUZXN0MicgaW4gZW50cmllcykKKyAgICAgICAgc2VsZi5hc3NlcnRUcnVlKCdUZXN0MycgaW4gZW50cmllcykKKworICAgICAgc2VsZi5hc3NlcnRSYWlzZXMoQXNzZXJ0aW9uRXJyb3IsIGNvbW1vbi5aaXBEZWxldGUsIHppcF9maWxlLm5hbWUsCisgICAgICAgICAgICAgICAgICAgICAgICAnVGVzdDInKQorICAgICAgd2l0aCB6aXBmaWxlLlppcEZpbGUoemlwX2ZpbGUubmFtZSwgJ3InKSBhcyBjaGVja196aXA6CisgICAgICAgIGVudHJpZXMgPSBjaGVja196aXAubmFtZWxpc3QoKQorICAgICAgICBzZWxmLmFzc2VydFRydWUoJ1Rlc3QxJyBpbiBlbnRyaWVzKQorICAgICAgICBzZWxmLmFzc2VydEZhbHNlKCdUZXN0MicgaW4gZW50cmllcykKKyAgICAgICAgc2VsZi5hc3NlcnRUcnVlKCdUZXN0Myc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maWxlLlppcEZpbGUodGFyZ2V0X2ZpbGVzLCAndycpIGFzIHRhcmdldF9maWxlc196aXA6CisgICAgICB0YXJnZXRfZmlsZXNfemlwLndyaXRlKAorICAgICAgICAgIHRlc3RfdXRpbHMuY29uc3RydWN0X3NwYXJzZV9pbWFnZShbCisgICAgICAgICAgICAgICgweENBQzEsIDYpLAorICAgICAgICAgICAgICAoMHhDQUMzLCAzKSwKKyAgICAgICAgICAgICAgKDB4Q0FDMSwgNCldKSwKKyAgICAgICAgICBhcmNuYW1lPSdJTUFHRVMvc3lzdGVtLmltZycpCisgICAgICB0YXJnZXRfZmlsZXNfemlwLndyaXRlc3RyKCdJTUFHRVMvc3lzdGVtLm1hcCcsICcnKQorICAgICAgdGFyZ2V0X2ZpbGVzX3ppcC53cml0ZXN0cignU1lTVEVNL2ZpbGUxJywgb3MudXJhbmRvbSg0MDk2ICogOCkpCisgICAgICB0YXJnZXRfZmlsZXNfemlwLndyaXRlc3RyKCdTWVNURU0vZmlsZTInLCBvcy51cmFuZG9tKDQwOTYgKiAzKSkKKworICAgIHRlbXBkaXIgPSBjb21tb24uVW56aXBUZW1wKHRhcmdldF9maWxlcykKKyAgICB3aXRoIHppcGZpbGUuWmlwRmlsZSh0YXJnZXRfZmlsZXMsICdyJykgYXMgaW5wdXRfemlwOgorICAgICAgc3BhcnNlX2ltYWdlID0gY29tbW9uLkdldFNwYXJzZUltYWdlKCdzeXN0ZW0nLCB0ZW1wZGlyLCBpbnB1dF96aXAsIEZhbHNlKQorCisgICAgc2VsZi5hc3NlcnREaWN0RXF1YWwoCisgICAgICAgIHsKKyAgICAgICAgICAgICdfX0NPUFknOiBSYW5nZVNldCgiMCIpLAorICAgICAgICAgICAgJ19fTk9OWkVSTy0wJzogUmFuZ2VTZXQoIjEtNSA5LTEyIiksCisgICAgICAgIH0sCisgICAgICAgIHNwYXJzZV9pbWFnZS5maWxlX21hcCkKKworICBkZWYgdGVzdF9HZXRTcGFyc2VJbWFnZV9pbnZhbG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GVtJywgJ3ZlbmRvciddCisgICAgdGFyZ2V0X2ZpbGVzX3ppcC53cml0ZXN0cigKKyAgICAgICAgJ01FVEEvYWJfcGFydGl0aW9ucy50eHQnLAorICAgICAgICAnXG4nLmpvaW4oYWJfcGFydGl0aW9ucykpCisKKyAgICAjIENyZWF0ZSBkdW1teSBpbWFnZXMgZm9yIGVhY2ggb2YgdGhlbS4KKyAgICBmb3IgcGFydGl0aW9uIGluIGFiX3BhcnRpdGlvbnM6CisgICAgICB0YXJnZXRfZmlsZXNfemlwLndyaXRlc3RyKCdJTUFHRVMvJyArIHBhcnRpdGlvbiArICcuaW1nJywKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb3MudXJhbmRvbShsZW4ocGFydGl0aW9uKSkpCisKKyAgICBpZiBzZWNvbmRhcnk6CisgICAgICB0YXJnZXRfZmlsZXNfemlwLndyaXRlc3RyKCdJTUFHRVMvc3lzdGVtX290aGVyLmltZycsCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9zLnVyYW5kb20obGVuKCJzeXN0ZW1fb3RoZXIiKSkpCisKKyAgcmV0dXJuIHRhcmdldF9maWxlcworCisKK2NsYXNzIE1vY2tTY3JpcHRXcml0ZXIob2JqZWN0KToKKyAgIiIiQSBjbGFzcyB0aGF0IG1vY2tzIGVkaWZ5X2dlbmVyYXRvci5FZGlmeUdlbmVyYXRvci4KKworICBJdCBzaW1wbHkgcHVzaGVzIHRoZSBpbmNvbWluZyBhcmd1bWVudHMgb250byBzY3JpcHQgc3RhY2ssIHdoaWNoIGlzIHRvIGFzc2VydAorICB0aGUgY2FsbHMgdG8gRWRpZnlHZW5lcmF0b3IgZnVuY3Rpb25zLgorICAiIiIKKworICBkZWYgX19pbml0X18oc2VsZik6CisgICAgc2VsZi5zY3JpcHQgPSBbXQorCisgIGRlZiBNb3VudChzZWxmLCAqYXJncyk6CisgICAgc2VsZi5zY3JpcHQuYXBwZW5kKCgnTW91bnQnLCkgKyBhcmdzKQorC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gICAgICAncm8udmVuZG9yLmJ1aWxkLmZpbmdlcnByaW50JyA6ICd2ZW5kb3ItYnVpbGQtZmluZ2VycHJpbnQnLAorICAgICAgfSwKKyAgICAgICdwcm9wZXJ0eTEnIDogJ3ZhbHVlMScsCisgICAgICAncHJvcGVydHkyJyA6IDQwOTYsCisgIH0KKworICBURVNUX0lORk9fRElDVF9VU0VTX09FTV9QUk9QUyA9IHsKKyAgICAgICdidWlsZC5wcm9wJyA6IHsKKyAgICAgICAgICAncm8ucHJvZHVjdC5uYW1lJyA6ICdwcm9kdWN0LW5hbWUnLAorICAgICAgICAgICdyby5idWlsZC50aHVtYnByaW50JyA6ICdidWlsZC10aHVtYnByaW50JywKKyAgICAgICAgICAncm8uYnVpbGQuYmFyJyA6ICdidWlsZC1iYXInLAorICAgICAgfSwKKyAgICAgICd2ZW5kb3IuYnVpbGQucHJvcCcgOiB7CisgICAgICAgICAgJ3JvLnZlbmRvci5idWlsZC5maW5nZXJwcmludCcgOiAndmVuZG9yLWJ1aWxkLWZpbmdlcnByaW50JywKKyAgICAgIH0sCisgICAgICAncHJvcGVydHkxJyA6ICd2YWx1ZTEnLAorICAgICAgJ3Byb3BlcnR5MicgOiA0MDk2LAorICAgICAgJ29lbV9maW5nZXJwcmludF9wcm9wZXJ0aWVzJyA6ICdyby5wcm9kdWN0LmRldmljZSByby5wcm9kdWN0LmJyYW5kJywKKyAgfQorCisgIFRFU1RfT0VNX0RJQ1RTID0gWworICAgICAgeworICAgICAgICAgICdyby5wcm9kdWN0LmJyYW5kJyA6ICdicmFuZDEnLAorICAgICAgICAgICdyby5wcm9kdWN0LmRldmljZScgOiAnZGV2aWNlMScsCisgICAgICB9LAorICAgICAgeworICAgICAgICAgICdyby5wcm9kdWN0LmJyYW5kJyA6ICdicmFuZDInLAorICAgICAgICAgICdyby5wcm9kdWN0LmRldmljZScgOiAnZGV2aWNlMicsCisgICAgICB9LAorICAgICAgeworICAgICAgICAgICdyby5wcm9kdWN0LmJyYW5kJy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yAgVEVTVF9UQVJHRVRfSU5GT19ESUNUID0geworICAgICAgJ2J1aWxkLnByb3AnIDogeworICAgICAgICAgICdyby5wcm9kdWN0LmRldmljZScgOiAncHJvZHVjdC1kZXZpY2UnLAorICAgICAgICAgICdyby5idWlsZC5maW5nZXJwcmludCcgOiAnYnVpbGQtZmluZ2VycHJpbnQtdGFyZ2V0JywKKyAgICAgICAgICAncm8uYnVpbGQudmVyc2lvbi5pbmNyZW1lbnRhbCcgOiAnYnVpbGQtdmVyc2lvbi1pbmNyZW1lbnRhbC10YXJnZXQnLAorICAgICAgICAgICdyby5idWlsZC52ZXJzaW9uLnNkaycgOiAnMjcnLAorICAgICAgICAgICdyby5idWlsZC52ZXJzaW9uLnNlY3VyaXR5X3BhdGNoJyA6ICcyMDE3LTEyLTAxJywKKyAgICAgICAgICAncm8uYnVpbGQuZGF0ZS51dGMnIDogJzE1MDAwMDAwMDAnLAorICAgICAgfSwKKyAgfQorCisgIFRFU1RfU09VUkNFX0lORk9fRElDVCA9IHsKKyAgICAgICdidWlsZC5wcm9wJyA6IHsKKyAgICAgICAgICAncm8ucHJvZHVjdC5kZXZpY2UnIDogJ3Byb2R1Y3QtZGV2aWNlJywKKyAgICAgICAgICAncm8uYnVpbGQuZmluZ2VycHJpbnQnIDogJ2J1aWxkLWZpbmdlcnByaW50LXNvdXJjZScsCisgICAgICAgICAgJ3JvLmJ1aWxkLnZlcnNpb24uaW5jcmVtZW50YWwnIDogJ2J1aWxkLXZlcnNpb24taW5jcmVtZW50YWwtc291cmNlJywKKyAgICAgICAgICAncm8uYnVpbGQudmVyc2lvbi5zZGsnIDogJzI1JywKKyAgICAgICAgICAncm8uYnVpbGQudmVyc2lvbi5zZWN1cml0eV9wYXRjaCcgOiAnMjAxNi0xMi0wMScsCisgICAgICAgICAgJ3JvLmJ1aWxkLmRhdGUudXRjJyA6ICcxNDAwMDAwMDAwJywKKyAgICAgIH0sCisgIH0KKworICBkZWYgc2V0VXAoc2VsZik6CisgICAgc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ICdCTE9DSycsCisgICAgICAgICAgICAncG9zdC1idWlsZCcgOiAnYnVpbGQtZmluZ2VycHJpbnQtdGFyZ2V0JywKKyAgICAgICAgICAgICdwb3N0LWJ1aWxkLWluY3JlbWVudGFsJyA6ICdidWlsZC12ZXJzaW9uLWluY3JlbWVudGFsLXRhcmdldCcsCisgICAgICAgICAgICAncG9zdC1zZGstbGV2ZWwnIDogJzI3JywKKyAgICAgICAgICAgICdwb3N0LXNlY3VyaXR5LXBhdGNoLWxldmVsJyA6ICcyMDE3LTEyLTAxJywKKyAgICAgICAgICAgICdwb3N0LXRpbWVzdGFtcCcgOiAnMTUwMDAwMDAwMCcsCisgICAgICAgICAgICAncHJlLWRldmljZScgOiAncHJvZHVjdC1kZXZpY2UnLAorICAgICAgICAgICAgJ3ByZS1idWlsZCcgOiAnYnVpbGQtZmluZ2VycHJpbnQtc291cmNlJywKKyAgICAgICAgICAgICdwcmUtYnVpbGQtaW5jcmVtZW50YWwnIDogJ2J1aWxkLXZlcnNpb24taW5jcmVtZW50YWwtc291cmNlJywKKyAgICAgICAgfSwKKyAgICAgICAgbWV0YWRhdGEpCisKKyAgZGVmIHRlc3RfR2V0UGFja2FnZU1ldGFkYXRhX3dpcGUoc2VsZik6CisgICAgdGFyZ2V0X2luZm8gPSBCdWlsZEluZm8oc2VsZi5URVNUX1RBUkdFVF9JTkZPX0RJQ1QsIE5vbmUpCisgICAgY29tbW9uLk9QVElPTlMud2lwZV91c2VyX2RhdGEgPSBUcnVlCisgICAgbWV0YWRhdGEgPSBHZXRQYWNrYWdlTWV0YWRhdGEodGFyZ2V0X2luZm8pCisgICAgc2VsZi5hc3NlcnREaWN0RXF1YWwoCisgICAgICAgIHsKKyAgICAgICAgICAgICdvdGEtdHlwZScgOiAnQkxPQ0snLAorICAgICAgICAgICAgJ290YS13aXBlJyA6ICd5ZXMnLAorICAgICAgICAgICAgJ3Bvc3QtYnVpbGQnIDogJ2J1aWxkLWZpbmdlcnByaW50LXRhcmdldCcsC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bW1vbi5PUFRJT05TLndpcGVfdXNlcl9kYXRhID0gVHJ1ZQorICAgIG1ldGFkYXRhID0gR2V0UGFja2FnZU1ldGFkYXRhKHRhcmdldF9pbmZvLCBzb3VyY2VfaW5mbykKKyAgICBzZWxmLmFzc2VydERpY3RFcXVhbCgKKyAgICAgICAgeworICAgICAgICAgICAgJ290YS1kb3duZ3JhZGUnIDogJ3llcycsCisgICAgICAgICAgICAnb3RhLXR5cGUnIDogJ0JMT0NLJywKKyAgICAgICAgICAgICdvdGEtd2lwZScgOiAneWVzJywKKyAgICAgICAgICAgICdwb3N0LWJ1aWxkJyA6ICdidWlsZC1maW5nZXJwcmludC10YXJnZXQnLAorICAgICAgICAgICAgJ3Bvc3QtYnVpbGQtaW5jcmVtZW50YWwnIDogJ2J1aWxkLXZlcnNpb24taW5jcmVtZW50YWwtdGFyZ2V0JywKKyAgICAgICAgICAgICdwb3N0LXNkay1sZXZlbCcgOiAnMjcnLAorICAgICAgICAgICAgJ3Bvc3Qtc2VjdXJpdHktcGF0Y2gtbGV2ZWwnIDogJzIwMTctMTItMDEnLAorICAgICAgICAgICAgJ3Bvc3QtdGltZXN0YW1wJyA6ICcxNDAwMDAwMDAwJywKKyAgICAgICAgICAgICdwcmUtZGV2aWNlJyA6ICdwcm9kdWN0LWRldmljZScsCisgICAgICAgICAgICAncHJlLWJ1aWxkJyA6ICdidWlsZC1maW5nZXJwcmludC1zb3VyY2UnLAorICAgICAgICAgICAgJ3ByZS1idWlsZC1pbmNyZW1lbnRhbCcgOiAnYnVpbGQtdmVyc2lvbi1pbmNyZW1lbnRhbC1zb3VyY2UnLAorICAgICAgICB9LAorICAgICAgICBtZXRhZGF0YSkKKworICBkZWYgdGVzdF9HZXRUYXJnZXRGaWxlc1ppcEZvclNlY29uZGFyeUltYWdlcyhzZWxmKToKKyAgICBpbnB1dF9maWxlID0gY29uc3RydWN0X3RhcmdldF9maWxlcyhzZWNvbmRhcnk9VHJ1ZSkKKyAgICB0YXJnZXRfZ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ICAiIiJBIGNsYXNzIHRoYXQgZXh0ZW5kcyBQcm9wZXJ0eUZpbGVzIGZvciB0ZXN0aW5nIHB1cnBvc2UuIiIiCisKKyAgZGVmIF9faW5pdF9fKHNlbGYpOgorICAgIHN1cGVyKFRlc3RQcm9wZXJ0eUZpbGVzLCBzZWxmKS5fX2luaXRfXygpCisgICAgc2VsZi5uYW1lID0gJ290YS10ZXN0LXByb3BlcnR5LWZpbGVzJworICAgIHNlbGYucmVxdWlyZWQgPSAoCisgICAgICAgICdyZXF1aXJlZC1lbnRyeTEnLAorICAgICAgICAncmVxdWlyZWQtZW50cnkyJywKKyAgICApCisgICAgc2VsZi5vcHRpb25hbCA9ICgKKyAgICAgICAgJ29wdGlvbmFsLWVudHJ5MScsCisgICAgICAgICdvcHRpb25hbC1lbnRyeTInLAorICAgICkKKworCitjbGFzcyBQcm9wZXJ0eUZpbGVzVGVzdCh1bml0dGVzdC5UZXN0Q2FzZSk6CisKKyAgZGVmIHNldFVwKHNlbGYpOgorICAgIGNvbW1vbi5PUFRJT05TLm5vX3NpZ25pbmcgPSBGYWxzZQorCisgIGRlZiB0ZWFyRG93bihzZWxmKToKKyAgICBjb21tb24uQ2xlYW51cCgpCisKKyAgQHN0YXRpY21ldGhvZAorICBkZWYgY29uc3RydWN0X3ppcF9wYWNrYWdlKGVudHJpZXMpOgorICAgIHppcF9maWxlID0gY29tbW9uLk1ha2VUZW1wRmlsZShzdWZmaXg9Jy56aXAnKQorICAgIHdpdGggemlwZmlsZS5aaXBGaWxlKHppcF9maWxlLCAndycpIGFzIHppcF9mcDoKKyAgICAgIGZvciBlbnRyeSBpbiBlbnRyaWVzOgorICAgICAgICB6aXBfZnAud3JpdGVzdHIoCisgICAgICAgICAgICBlbnRyeSwKKyAgICAgICAgICAgIGVudHJ5LnJlcGxhY2UoJy4nLCAnLScpLnVwcGVyKCksCisgICAgICAgICAgICB6aXBmaWxlLlpJUF9TVE9SRUQpCisgICAgcmV0dXJuIHppcF9maWxlCisKKyAgQHN0YXRpY21ldGhvZAorICBkZWYgX3BhcnNlX3Byb3BlcnR5X2ZpbGVzX3N0cmluZyhkYXRhKToKKyAgICByZXN1bHQgPSB7fQorICAgIGZvciB0b2tlbiBpbiBkYXRhLnNwbGl0KCcsJyk6CisgICAgICBuYW1lLCBpbmZvID0gdG9rZW4uc3BsaXQoJzonLCAxKQorICAgICAgcmVzdWx0W25hbWVdID0gaW5mbworICAgIHJldHVybiByZXN1bHQKKworICBkZWYgX3ZlcmlmeV9lbnRyaWVzKHNlbGYsIGlucHV0X2ZpbGUsIHRva2VucywgZW50cmllcyk6CisgICAgZm9yIGVudHJ5IGluIGVudHJpZXM6CisgICAgICBvZmZzZXQsIHNpemUgPSBtYXAoaW50LCB0b2tlbnNbZW50cnldLnNwbGl0KCc6JykpCisgICAgICB3aXRoIG9wZW4oaW5wdXRfZmlsZSwgJ3JiJykgYXMgaW5wdXRfZnA6CisgICAgICAgIGlucHV0X2ZwLnNlZWsob2Zmc2V0KQorICAgICAgICBpZiBlbnRyeSA9PSAnbWV0YWRhdGEnOgorICAgICAgICAgIGV4cGVjdGVkID0gYidNRVRBLUlORi9DT00vQU5EUk9JRC9NRVRBREFUQScKKyAgICAgICAgZWxzZToKKyAgICAgICAgICBleHBlY3RlZCA9IGVudHJ5LnJlcGxhY2UoJy4nLCAnLScpLnVwcGVyKCkuZW5jb2RlKCkKKyAgICAgICAgc2VsZi5hc3NlcnRFcXVhbChleHBlY3RlZCwgaW5wdXRfZnAucmVhZChzaXplKSkKKworICBkZWYgdGVzdF9Db21wdXRlKHNlbGYpOgorICAgIGVudHJpZXMgPSAoCisgICAgICAgICdyZXF1aXJlZC1lbnRyeTEnLAorICAgICAgICAncmVxdWlyZWQtZW50cnkyJywKKyAgICApCisgICAgemlwX2ZpbGUgPSBzZWxmLmNvbnN0cnVjdF96aXBfcGFja2FnZShlbnRyaWVzKQorICAgIHByb3BlcnR5X2ZpbGVzID0gVGVzdFByb3BlcnR5RmlsZXMoKQorICA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N0IG9mIGNodW5rcyB0byBiZSB3cml0dGVuLiBFYWNoIGVudHJ5IHNob3VsZCBiZSBhIHR1cGxlIG9mCisgICAgICAgIChjaHVua190eXBlLCBibG9ja19udW1iZXIpLgorCisgIFJldHVybnM6CisgICAgRmlsZW5hbWUgb2YgdGhlIGNyZWF0ZWQgc3BhcnNlIGltYWdlLgorICAiIiIKKyAgU1BBUlNFX0hFQURFUl9NQUdJQyA9IDB4RUQyNkZGM0EKKyAgU1BBUlNFX0hFQURFUl9GT1JNQVQgPSAiPEk0SDRJIgorICBDSFVOS19IRUFERVJfRk9STUFUID0gIjwySDJJIgorCisgIHNwYXJzZV9pbWFnZSA9IGNvbW1vbi5NYWtlVGVtcEZpbGUocHJlZml4PSdzcGFyc2UtJywgc3VmZml4PScuaW1nJykKKyAgd2l0aCBvcGVuKHNwYXJzZV9pbWFnZSwgJ3diJykgYXMgZnA6CisgICAgZnAud3JpdGUoc3RydWN0LnBhY2soCisgICAgICAgIFNQQVJTRV9IRUFERVJfRk9STUFULCBTUEFSU0VfSEVBREVSX01BR0lDLCAxLCAwLCAyOCwgMTIsIDQwOTYsCisgICAgICAgIHN1bShjaHVua1sxXSBmb3IgY2h1bmsgaW4gY2h1bmtzKSwKKyAgICAgICAgbGVuKGNodW5rcyksIDApKQorCisgICAgZm9yIGNodW5rIGluIGNodW5rczoKKyAgICAgIGRhdGFfc2l6ZSA9IDAKKyAgICAgIGlmIGNodW5rWzBdID09IDB4Q0FDMToKKyAgICAgICAgZGF0YV9zaXplID0gNDA5NiAqIGNodW5rWzFdCisgICAgICBlbGlmIGNodW5rWzBdID09IDB4Q0FDMjoKKyAgICAgICAgZGF0YV9zaXplID0gNAorICAgICAgZWxpZiBjaHVua1swXSA9PSAweENBQzM6CisgICAgICAgIHBhc3MKKyAgICAgIGVsc2U6CisgICAgICAgIGFzc2VydCBGYWxzZSwgIlVuc3VwcG9ydGVkIGNodW5rIHR5cGU6IHt9Ii5mb3JtYXQoY2h1bmtbMF0pC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NwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZyBwZXJtaXNzaW9ucyBhbmQKKy8vIGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLgorLy8KKworLy8gdGhlIHNpZ25hcGsgdG9vbCAoYSAuamFyIGFwcGxpY2F0aW9uIHVzZWQgdG8gc2lnbiBwYWNrYWdlcykKKy8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQoramF2YV9saWJyYXJ5X2hvc3QgeworICAgIG5hbWU6ICJzaWduYXBrIiwKKyAgICBzcmNzOiBbInNyYy8qKi8qLmphdmEiXSwKKyAgICBtYW5pZmVzdDogIlNpZ25BcGsubWYiLAorICAgIHN0YXRpY19saWJzOiBbCisgICAgICAgICJhcGtzaWciLAorICAgICAgICAiYm91bmN5Y2FzdGxlIiwKKyAgICAgICAgImJvdW5jeWNhc3RsZS1iY3BraXgiLAorICAgICAgICAiY29uc2NyeXB0IiwKKyAgICBdLAorCisgICAgcmVxdWlyZWQ6IFsibGliY29uc2NyeXB0X29wZW5qZGtfam5pIl0sCit9CmRpZmYgLS1naXQgYS90b29scy9zaWduYXBrL0FuZHJvaWQubWsgYi90b29scy9zaWduYXBrL0FuZHJvaWQubWsKaW5kZXggMDUxYTUxZC4uZmY1NGQ2ZCAxMDA2NDQKLS0tIGEvdG9vbHMvc2lnbmFway9BbmRyb2lkLm1rCisrKyBiL3Rvb2xzL3NpZ25hcGsvQW5kcm9pZC5tawpAQCAtMTUsMjQgKzE1LDEwIEBACiAjCiBMT0NBTF9QQVRIIDo9ICQoY2FsbCBteS1kaXIpCiAKLSMgdGhlIHNpZ25hcGsgdG9vbCAoYSAuamFyIGFwcGxpY2F0aW9uIHVzZWQgdG8gc2lnbiBwYWNrYWdlcykKLSMgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci1pbmNsdWRlICQoQ0xFQVJfVkF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ICAgICAgICAgICAgICAgICAgICBhcGtTaWduZXIub3V0cHV0WmlwU2VjdGlvbnMyKAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgRGF0YVNvdXJjZXMuYXNEYXRhU291cmNlKHppcFNlY3Rpb25zLmJlZm9yZUNlbnRyYWxEaXIpLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgRGF0YVNvdXJjZXMuYXNEYXRhU291cmNlKHppcFNlY3Rpb25zLmNlbnRyYWxEaXIpLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgRGF0YVNvdXJjZXMuYXNEYXRhU291cmNlKHppcFNlY3Rpb25zLmVvY2QpKTsKICAgICAgICAgICAgICAgICAgICAgaWYgKGFkZFYyU2lnbmF0dXJlUmVxdWVzdCAhPSBudWxsKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAvLyBOZWVkIHRvIGluc2VydCB0aGUgcmV0dXJuZWQgQVBLIFNpZ25pbmcgQmxvY2sgYmVmb3JlIFpJUCBDZW50cmFsCiAgICAgICAgICAgICAgICAgICAgICAgICAvLyBEaXJlY3RvcnkuCisgICAgICAgICAgICAgICAgICAgICAgICBpbnQgcGFkZGluZyA9IGFkZFYyU2lnbmF0dXJlUmVxdWVzdC5nZXRQYWRkaW5nU2l6ZUJlZm9yZUFwa1NpZ25pbmdCbG9jaygpOwogICAgICAgICAgICAgICAgICAgICAgICAgYnl0ZVtdIGFwa1NpZ25pbmdCbG9jayA9IGFkZFYyU2lnbmF0dXJlUmVxdWVzdC5nZXRBcGtTaWduaW5nQmxvY2soKTsKICAgICAgICAgICAgICAgICAgICAgICAgIC8vIEJlY2F1c2UgdGhlIEFQSyBTaWduaW5nIEJsb2NrIGlzIGluc2VydGVkIGJlZm9yZSB0aGUgQ2VudHJhbCBEaXJlY3RvcnksCiAgICAgICAgICAgICAgICAgICAgICAgICAvLyB3ZSBuZWVkIHRvIGFkanVzdCBhY2NvcmRpbmdseSB0aGUgb2Zmc2V0IG9mIENlbnRyYWwgRGlyZWN0b3J5IGluc2lkZSB0aGUKQEAgLTExMDAsMTAgKzExMDEsMTIgQEAKICAgICAgICAgICAgICAgICAgICAgICAgIG1vZGlmaWVkRW9jZC5vcmRlcihCeXRlT3JkZXIuTElUVExFX0VORElBTik7CiAgICAgICAgICAgICAgICAgICAgICAgICBBcGtVdGlscy5zZXRaaXBFb2NkQ2VudHJhbERpcmVjdG9yeU9mZnNldCgKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbW9kaWZpZWRFb2NkLAotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB6aXBTZWN0aW9ucy5iZWZvcmVDZW50cmFsRGlyLnJlbWFpbmluZygpICsgYXBrU2lnbmluZ0Jsb2NrLmxlbmd0aCk7CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHppcFNlY3Rpb25zLmJlZm9yZUNlbnRyYWxEaXIucmVtYWluaW5nKCkgKyBwYWRkaW5nICsKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXBrU2lnbmluZ0Jsb2NrLmxlbmd0aCk7CiAgICAgICAgICAgICAgICAgICAgICAgICBvdXRwdXRDaHVua3MgPQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBuZXcgQnl0ZUJ1ZmZlcltdIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB6aXBTZWN0aW9ucy5iZWZvcmVDZW50cmFsRGlyLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEJ5dGVCdWZmZXIuYWxsb2NhdGUocGFkZGluZyksCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQnl0ZUJ1ZmZlci53cmFwKGFwa1NpZ25pbmdCbG9jayksCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgemlwU2VjdGlvbnMuY2VudHJhbERpciwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg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CitkZWYgZmlsdGVyKHJlc3VsdHMsIG1vZHVsZV90eXBlKToKKyAgICByZXR1cm4gW3ggZm9yIHggaW4gcmVzdWx0cyBpZiB4WzJdID09IG1vZHVsZV90eXBlXQorCiBkZWYgZGlzcGxheShyZXN1bHRzKToKICAgICAiIiJEaXNwbGF5cyB0aGUgcmVzdWx0cyIiIgogICAgIGNvdW50X2hlYWRlciA9ICIjIEJsb2NrZWQgb24iCiAgICAgY291bnRfd2lkdGggPSBsZW4oY291bnRfaGVhZGVyKQogICAgIHByaW50KCJ7fSBNb2R1bGUgKHBvdGVudGlhbCBwcm9ibGVtcykiLmZvcm1hdChjb3VudF9oZWFkZXIpKQotICAgIGZvciAoY291bnQsIG1vZHVsZSkgaW4gcmVzdWx0czoKKyAgICBmb3IgKGNvdW50LCBtb2R1bGUsIG1vZHVsZV90eXBlKSBpbiByZXN1bHRzOgogICAgICAgICBwcmludCgiezo+e319IHt9Ii5mb3JtYXQoY291bnQsIGNvdW50X3dpZHRoLCBtb2R1bGUpKQogCiBkZWYgbWFpbihmaWxlbmFtZSk6CkBAIC0xMTEsNyArMTE2LDE1IEBACiAgICAgd2l0aCBvcGVuKGZpbGVuYW1lLCAncmInKSBhcyBjc3ZmaWxlOgogICAgICAgICByZXN1bHRzID0gcHJvY2Vzcyhjc3YucmVhZGVyKGNzdmZpbGUpKQogCi0gICAgZGlzcGxheShyZXN1bHRzKQorICAgIG5hdGl2ZV9yZXN1bHRzID0gZmlsdGVyKHJlc3VsdHMsICJuYXRpdmUiKQorICAgIGphdmFfcmVzdWx0cyA9IGZpbHRlcihyZXN1bHRzLCAiamF2YSIpCisKKyAgICBwcmludCgibmF0aXZlIG1vZHVsZXMgcmVhZHkgdG8gY29udmVydCIpCisgICAgZGlzcGxheShuYXRpdmVfcmVzdWx0cykKKworICAgIHByaW50KCIiKQorICAgIHByaW50KCJqYXZhIG1vZHVsZXMgcmVhZHkgdG8gY29udmVydCIpCisgICAgZGlzcGxheShqYXZhX3Jlc3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cmV0dXJuICcnCmRpZmYgLS1naXQgYS90b29scy96aXBhbGlnbi9BbmRyb2lkLmJwIGIvdG9vbHMvemlwYWxpZ24vQW5kcm9pZC5icApuZXcgZmlsZSBtb2RlIDEwMDY0NAppbmRleCAwMDAwMDAwLi44ZTYxOTZkCi0tLSAvZGV2L251bGwKKysrIGIvdG9vbHMvemlwYWxpZ24vQW5kcm9pZC5icApAQCAtMCwwICsxLDM2IEBACisvLworLy8gQ29weXJpZ2h0IDIwMDggVGhlIEFuZHJvaWQgT3BlbiBTb3VyY2UgUHJvamVjdAorLy8KKy8vIFppcCBhbGlnbm1lbnQgdG9vbAorLy8KKworY2NfYmluYXJ5X2hvc3QgeworICAgIG5hbWU6ICJ6aXBhbGlnbiIsCisKKyAgICBzcmNzOiBbCisgICAgICAgICJaaXBBbGlnbi5jcHAiLAorICAgICAgICAiWmlwRW50cnkuY3BwIiwKKyAgICAgICAgIlppcEZpbGUuY3BwIiwKKyAgICBdLAorCisgICAgY2ZsYWdzOiBbIi1XYWxsIiwgIi1XZXJyb3IiXSwKKworICAgIC8vIE5PVEU6IERvIG5vdCBhZGQgYW55IHNoYXJlZF9saWJzIGRlcGVuZGVuY2llcyBiZWNhdXNlIHRoZXkgd2lsbCBicmVhayB0aGUKKyAgICAvLyBzdGF0aWNfc2RrX3Rvb2xzIHRhcmdldC4KKyAgICBzdGF0aWNfbGliczogWworICAgICAgICAibGlidXRpbHMiLAorICAgICAgICAibGliY3V0aWxzIiwKKyAgICAgICAgImxpYmxvZyIsCisgICAgICAgICJsaWJ6aXBhcmNoaXZlIiwKKyAgICAgICAgImxpYnoiLAorICAgICAgICAibGliYmFzZSIsCisgICAgICAgICJsaWJ6b3BmbGkiLAorICAgIF0sCisKKyAgICB0YXJnZXQ6IHsKKyAgICAgICAgd2luZG93czogeworICAgICAgICAgICAgaG9zdF9sZGxpYnM6IFsiLWxwdGhyZWFkIl0sCisgICAgICAgICAgICBlbmFibGVkOiB0cnVlLAorICAgICAgICB9LA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CisgICAgICAgICAgICB9CisKKyAgICAgICAgICAgIGN1cnJlbnRfb2Zmc2V0XyA9IG9mZnNldDsKKyAgICAgICAgfQorCisgICAgICAgIHNpemVfdCByZWFkID0gZnJlYWQoYnVmLCAxLCBsZW4sIGZwXyk7CisgICAgICAgIGlmIChyZWFkICE9IGxlbikgeworICAgICAgICAgICAgcmV0dXJuIGZhbHNlOworICAgICAgICB9CisKKyAgICAgICAgY3VycmVudF9vZmZzZXRfICs9IHJlYWQ7CisgICAgICAgIHJldHVybiB0cnVlOworICAgIH0KKworICBwcml2YXRlOgorICAgIEZJTEUqIGZwXzsKKyAgICBtdXRhYmxlIHVpbnQzMl90IGN1cnJlbnRfb2Zmc2V0XzsKK307CisKIC8vIGZyZWUgdGhlIG1lbW9yeSB3aGVuIHlvdSdyZSBkb25lCiB2b2lkKiBaaXBGaWxlOjp1bmNvbXByZXNzKGNvbnN0IFppcEVudHJ5KiBlbnRyeSkgY29uc3QKIHsKQEAgLTEyNDAsMTEgKzEyODksMTMgQEAKICAgICAgICAgICAgIH0KICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICBjYXNlIFppcEVudHJ5OjprQ29tcHJlc3NEZWZsYXRlZDogewotICAgICAgICAgICAgaWYgKCFaaXBVdGlsczo6aW5mbGF0ZVRvQnVmZmVyKG1aaXBGcCwgYnVmLCB1bmxlbiwgY2xlbikpIHsKKyAgICAgICAgICAgIGNvbnN0IEZpbGVSZWFkZXIgcmVhZGVyKG1aaXBGcCk7CisgICAgICAgICAgICBCdWZmZXJXcml0ZXIgd3JpdGVyKGJ1ZiwgdW5sZW4pOworICAgICAgICAgICAgaWYgKHppcF9hcmNoaXZlOjpJbmZsYXRlKHJlYWRlciwgY2xlbiwgdW5sZW4sICZ3cml0ZXIsIG51bGxwdHIpICE9IDApIHsKICAgICAgICAgICAgICAgICBnb3RvIGJhaWw7CiAgICAgICAgICAgICB9Ci0gICAgICAgICAgICB9CiAgICAgICAgICAgICBicmVhazsKKyAgICAgICAgfQogICAgICAgICBkZWZhdWx0OgogICAgICAgICAgICAgZ290byBiYWlsOwogICAgIH0KZGlmZiAtLWdpdCBhL3Rvb2xzL3ppcHRpbWUvQW5kcm9pZC5icCBiL3Rvb2xzL3ppcHRpbWUvQW5kcm9pZC5icAppbmRleCA4NzRkMzQ2Li41ZWY0NWVkIDEwMDY0NAotLS0gYS90b29scy96aXB0aW1lL0FuZHJvaWQuYnAKKysrIGIvdG9vbHMvemlwdGltZS9BbmRyb2lkLmJwCkBAIC0yNyw2ICsyNyw3IEBACiAgICAgXSwKIAogICAgIG5hbWU6ICJ6aXB0aW1lIiwKKyAgICBjZmxhZ3M6IFsiLVdhbGwiLCAiLVdlcnJvciJdLAogICAgIHRhcmdldDogewogICAgICAgICB3aW5kb3dzOiB7CiAgICAgICAgICAgICBlbmFibGVkOiB0cnVlLApkaWZmIC0tZ2l0IGEvdG9vbHMvemlwdGltZS9aaXBFbnRyeS5jcHAgYi90b29scy96aXB0aW1lL1ppcEVudHJ5LmNwcAppbmRleCA1MWNlMDlmLi5lN2I1MmVkIDEwMDY0NAotLS0gYS90b29scy96aXB0aW1lL1ppcEVudHJ5LmNwcAorKysgYi90b29scy96aXB0aW1lL1ppcEVudHJ5LmNwcApAQCAtODYsNyArODYsNiBAQAogICovCiBzdGF0dXNfdCBaaXBFbnRyeTo6TG9jYWxGaWxlSGVhZGVyOjpyZXdyaXRlKEZJTEUqIGZwKQogewotICAgIHN0YXR1c190IHJlc3VsdCA9IDA7CiAgICAgdWludDhfdCBidWZba0xGSExlbl07CiAKICAgICBpZiAoZnJlYWQoYnVmLCAxLCBrTEZITGVuLCBmcCkgIT0ga0xGSExlbikKQEAgLTEyNCw3ICsxMjMsNiBAQAogICovCiBzdGF0dXNfdCBaaXBFbnRyeTo6Q2VudHJhbERpckVudHJ5OjpyZXdyaXRlKEZJTEUqIGZwKQogewotICAgIHN0YXR1c190IHJlc3VsdCA9IDA7CiAgICAgdWludDhfdCBidWZba0NERUxlbl07CiAgICA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