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iAgICAnaHR0cHM6Ly9rZWtlNS5hcHAvc2hvdy80LS0tLS0xLTEuaHRtbCcsCiAgICAnaHR0cHM6Ly9rZWtlNS5hcHAvc2hvdy82LS0tLS0xLTEuaHRtbCcsCiAgICBdOwogICAgbGV0IGZpbHRlcnMgPSB7fTsKICAgIHBkZmEgPSBqc3AucGRmYTsKICAgIHBkZmggPSBqc3AucGRmaDsKICAgIGZvcihsZXQgdXJsIG9mIHVybHMpewogICAgbGV0IGZjbGFzcyA9IHVybC5tYXRjaCgvc2hvd1xcLyhcXGQrKS0vKVsxXTsKICAgIGNvbnNvbGUubG9nKGZjbGFzcyk7CiAgICBsZXQgaHRtbCA9IHJlcXVlc3QodXJsKTsKICAgIGxldCB0YWJzID0gcGRmYShodG1sLCAnLmZpbHRlci1yb3cnKTsKICAgIGxldCBkYXRhID0gW107CiAgICBmb3IgKGxldCB0YWIgb2YgdGFicykgewogICAgICAgIGxldCB0aXRsZSA9IHBkZmgodGFiLCAnc3Ryb25nJiZUZXh0JykucmVwbGFjZSgnOicsJycpOwogICAgICAgIGxldCBsaXMgPSBwZGZhKHRhYiwgJ2EnKTsKICAgICAgICBsZXQgX21hcCA9IHtrZXk6IHRpdGxlLCBuYW1lOiB0aXRsZX07CiAgICAgICAgbGV0IHZhbHVlID0gW107CiAgICAgICAgZm9yIChsZXQgbGkgb2YgbGlzKSB7CiAgICAgICAgICAgIGxldCBuID0gcGRmaChsaSwgJ2EmJlRleHQnKS50cmltKCk7CiAgICAgICAgICAgIGxldCB2PW47CiAgICAgICAgICAgIGlmKC/lhajpg6h85Zyw5Yy6fOexu+Weiy8udGVzdChuKSl7CiAgICAgICAgICAgICAgICB2ID0gJyc7CiAgICAgICAgICAgIH1lbHNlIGlmKC/nu7zlkIgvLnRlc3QobikpewogICAgICAgICAgICAgICAgdiA9ICcxJzsKICAgICAgICAgICAgfWVsc2V7CiAgICAgICAgICAgICAgICB2ID0gcGRmaChsaSwnYSYmaHJlZicpOwogICAgICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgICAgICB2ID0gdi5tYXRjaCgvLSguKj8pMS0xXC5odG1sLylbMV0ucmVwbGFjZSgvLS9nLCcnKTsKICAgICAgICAgICAgICAgIH1jYXRjaCAoZSkgewogICAgICAgICAgICAgICAgICAgIHYgPSB2Lm1hdGNoKC8tKC4qPyktMVwuaHRtbC8pWzFdLnJlcGxhY2UoLy0vZywnJyk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB2ID0gZGVjb2RlVVJJQ29tcG9uZW50KHYpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIHZhbHVlLnB1c2goewogICAgICAgICAgICAgICAgJ24nOiBuLCAndic6IHYKICAgICAgICAgICAgfSk7CiAgICAgICAgfQogICAgICAgIF9tYXBbJ3ZhbHVlJ10gPSB2YWx1ZTsKICAgICAgICBkYXRhLnB1c2goX21hcCk7CiAgICB9CiAgICBmaWx0ZXJzW2ZjbGFzc10gPSBkYXRhOwogICAgfQogICAgVk9EUyA9IFtmaWx0ZXJzXTsKICAgIGNvbnNvbGUubG9nKGd6aXAoSlNPTi5zdHJpbmdpZnkoZmlsdGVycykpKTsKICAgIGAsCn0= |