mirror of
https://github.com/alantang1977/hipy.git
synced 2024-11-22 11:33:08 +02:00
1 line
No EOL
5.7 KiB
JavaScript
1 line
No EOL
5.7 KiB
JavaScript
dmFyIHJ1bGUgPSB7CiAgICB0aXRsZTogJ+WGnOawkeW9seinhicsCiAgICBob3N0OiAnaHR0cHM6Ly93d3cud3dnei5jbi8nLAogICAgLyoKICAgIGhvc3RKczpgcHJpbnQoSE9TVCk7bGV0IGh0bWw9cmVxdWVzdChIT1NULHtoZWFkZXJzOnsiVXNlci1BZ2VudCI6TU9CSUxFX1VBfX0pOwogICAgbGV0IHNyYyA9IGpzcC5wZGZoKGh0bWwsImJvZHkmJmE6ZXEoMSkmJmhyZWYiKXx8anNwLnBkZmgoaHRtbCwiYm9keSYmYTplcSgxKSYmVGV4dCIpOwogICAgaWYoIXNyYy5zdGFydHNXaXRoKCdodHRwJykpe3NyYz0naHR0cHM6Ly8nK3NyY307cHJpbnQoIuaKk+WIsOS4u+mhtToiK3NyYyk7SE9TVD1zcmNgLAogICAgKi8KICAgIHVybDogJy92b2QtbGlzdC1pZC1meWZpbHRlci5odG1sJywKICAgIGZpbHRlcmFibGU6IDEsLy/mmK/lkKblkK/nlKjliIbnsbvnrZvpgIksCiAgICBmaWx0ZXJfdXJsOiAne3tmbC5jYXRlSWR9fS1wZy1meXBhZ2Utb3JkZXItLWJ5LXt7ZmwuYnkgb3IgInRpbWUifX0tY2xhc3MtMC15ZWFyLXt7ZmwueWVhcn19LWxldHRlci17e2ZsLmxldHRlcn19LWFyZWEte3tmbC5hcmVhfX0tbGFuZy0nLAogICAgZmlsdGVyOiAnSDRzSUFBQUFBQUFBQSsyWjMwNFRRUnlGMzJXdnVaalp0ak5UM3NCbk1GeFViQ0pSTVFFMElZUkVMUWd0Q21xa0ZTeitpWmFXaUZJQ0liSUlmWm51bHI2Rlc3bzc1NkNKTWVGS01uZjluZE9kblc5b3NsK1dPVTk2b3pmbnZMdkZXVy9VR3kvTUZHL2M5a2E4eWNMOVlqejM5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jImMyY0JjI2JywvL+mdmeaAgeWIhuexu+agh+ivhuaLvOaOpQogICAgcGxheV9wYXJzZTogdHJ1ZSwKICAgIGxhenk6ICRqcy50b1N0cmluZygoKSA9PiB7CiAgICAgICAgcGRmaCA9IGpzcC5wZGZoOwogICAgICAgIHBkZmEgPSBqc3AucGRmYTsKICAgICAgICBsZXQgaHRtbCA9IHJlcXVlc3QoaW5wdXQpOwogICAgICAgIGxldCBtYWNfdXJsID0gaHRtbC5tYXRjaCgvbWFjX3VybD0nKC4qPyknOy8pWzFdOwogICAgICAgIGxldCBtYWNfZnJvbSA9IGh0bWwubWF0Y2goL21hY19mcm9tPScoLio/KScvKVsxXTsKICAgICAgICBsb2cobWFjX2Zyb20pOwogICAgICAgIGxldCBpbmRleCA9IHBhcnNlSW50KGlucHV0Lm1hdGNoKC9udW0tKFxkKykvKVsxXSkgLSAxOwogICAgICAgIGxldCBwbGF5VXJscyA9IG1hY191cmwuc3BsaXQoJyMnKTsKICAgICAgICBsZXQgcGxheVVybCA9IHBsYXlVcmxzW2luZGV4XS5zcGxpdCgnJCcpWzFdOwogICAgICAgIGxvZyhwbGF5VXJsKTsKICAgICAgICBsZXQganhfanNfdXJsID0gJ2h0dHBzOi8vYXBpLmNubWNvbS5jb20vbm1hcGkvbm1ib2YvJyArIG1hY19mcm9tICsgJy5qcyc7CiAgICAgICAgaHRtbCA9IHJlcXVlc3QoanhfanNfdXJsKTsKICAgICAgICBsZXQganhfcGhwX3VybCA9IGh0bWwubWF0Y2goL3NyYz0iKC4qPyknLylbMV07CiAgICAgICAgaWYgKG1hY19mcm9tLmluY2x1ZGVzKCdtM3U4JykpIHsKICAgICAgICAgICAgaHRtbCA9IHJlcXVlc3QoanhfcGhwX3VybCArIHBsYXlVcmwpOwogICAgICAgICAgICBsZXQgcmVhbFVybCA9IGh0bWwubWF0Y2goL3VybD0nKC4qPyknLylbMV07CiAgICAgICAgICAgIGlmIChyZWFsVXJsKSB7CiAgICAgICAgICAgICAgICBpbnB1dCA9IHtwYXJzZTogMCwgdXJsOiByZWFsVXJsfTsKICAgICAgICAgICAgfQogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgIGh0bWwgPSByZXF1ZXN0KGp4X3BocF91cmwgKyBwbGF5VXJsLCB7aGVhZGVyczogeydSZWZlcmVyJzogJ2h0dHBzOi8vbm12b2QuY25tY29tLmNvbS8nfX0pOwogICAgICAgICAgICBsZXQgbGluZTEgPSBodG1sLm1hdGNoKC9jYXNlXHMrJ+e6v+i3r+KRoCc6XHMqc3JjXHMqPVxzKicoLio/KScvKVsxXTsKICAgICAgICAgICAgaHRtbCA9IHJlcXVlc3QobGluZTEgKyBwbGF5VXJsLCB7aGVhZGVyczogeydSZWZlcmVyJzoganhfcGhwX3VybCArIHBsYXlVcmx9fSk7CiAgICAgICAgICAgIGxldCByZWFsVXJsID0gaHRtbC5tYXRjaCgvdXJsLio/JyguKj8pJy8pWzFdOwogICAgICAgICAgICBpZiAocmVhbFVybCkgewogICAgICAgICAgICAgICAgaW5wdXQgPSB7cGFyc2U6IDAsIHVybDogcmVhbFVybH07CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICB9KSwKICAgIGxpbWl0OiA2LAogICAg5o6o6I2QOiAnLmdsb2JhbFBpY0xpc3QgLnJlc2l6ZV9saXN0Oyo7aW1nJiZkYXRhLXNyYzsqOyonLAogICAg5LiA57qnOiAnLmdsb2JhbFBpY0xpc3QgbGk7LnNUaXQmJlRleHQ7aW1nJiZzcmM7LnNCb3R0b20tLWVtJiZUZXh0O2EmJmhyZWYnLAogICAg5LqM57qnOiB7CiAgICAgICAgInRpdGxlIjogIi50aXRsZSYmVGV4dDsudHlwZS10aXRsZSYmVGV4dCIsCiAgICAgICAgImltZyI6ICIucGFnZS1oZCYmaW1nJiZzcmMiLAogICAgICAgICJkZXNjIjogIi5kZXNjX2l0ZW06ZXEoMykmJlRleHQ7LmRlc2NfaXRlbTplcSg0KS0tc3BhbiYmVGV4dDs7LmRlc2NfaXRlbTplcSgxKS0tc3BhbiYmVGV4dDsuZGVzY19pdGVtOmVxKDIpLS1zcGFuJiZUZXh0IiwKICAgICAgICAiY29udGVudCI6ICIuZGV0YWlsLWNvbiBwJiZUZXh0IiwKICAgICAgICAidGFicyI6ICIuaGQgbGkiLAogICAgICAgICJsaXN0cyI6ICIubnVtTGlzdDplcSgjaWQpIGxpIgogICAgfSwKICAgIOaQnOe0ojogJy51bFBpY1R4dC5jbGVhcmZpeCBsaTsqO2ltZyYmZGF0YS1zcmM7LnNEZXM6ZXEoMSkmJlRleHQ7KicsCiAgICDmkJzntKLpqozor4HmoIfor4Y6ICfns7vnu5/lronlhajpqozor4EnLAp9Cg== |