mirror of
https://github.com/alantang1977/hipy.git
synced 2024-11-25 07:53:09 +02:00
1 line
2.1 KiB
JavaScript
1 line
2.1 KiB
JavaScript
|
dmFyIHJ1bGUgPSB7CiAgICB0aXRsZTogJzkyNnR2JywKICAgIGhvc3Q6ICdodHRwczovL3d3dy45MjYudHYvJywKICAgIHVybDogJy9meWNsYXNzJywKICAgIHNlYXJjaFVybDogJycsCiAgICBzZWFyY2hhYmxlOiAxLAogICAgcXVpY2tTZWFyY2g6IDAsCiAgICBjbGFzc19uYW1lOiAn5YWo6YOoJywKICAgIGNsYXNzX3VybDogJy8nLAogICAgLy9jbGFzc191cmw6Jz9saXZlJywKICAgIGhlYWRlcnM6IHsKICAgICAgICAnVXNlci1BZ2VudCc6ICdNT0JJTEVfVUEnCiAgICB9LAogICAgdGltZW91dDogNTAwMCwKICAgIHBsYXlfcGFyc2U6IHRydWUsCiAgICBsYXp5OiAnJywKICAgIGxpbWl0OiA2LAogICAgZG91YmxlOiBmYWxzZSwKICAgIOaOqOiNkDogJyonLAogICAg5LiA57qnOiAkanMudG9TdHJpbmcoKCkgPT4gewogICAgICAgIGxldCBkID0gW107CiAgICAgICAgcGQ9anNwLnBkOwogICAgICAgIHBkZmg9anNwLnBkZmg7CiAgICAgICAgcGRmYT1qc3AucGRmYTsKICAgICAgIAogICAgICAgIGxldCBodG1sID0gcmVxdWVzdChpbnB1dCk7CiAgICAgICAgbGV0IHRhYnMgPSBwZGZhKGh0bWwsICcubGlzdF9jb250ZW50JiZhJyk7CiAgICAgICAgdGFicy5mb3JFYWNoKChpdCkgPT4gewogICAgICAgICAgICBsZXQgcHMgPSBwZGZoKGl0LCAnLmV2ZW50dGltZSYmZW0mJlRleHQnKTsKICAgICAgICAgICAgbGV0IHB6ID0gcGRmaChpdCwgJy56aHVkdWkmJnAmJlRleHQnKTsKICAgICAgICAgICAgbGV0IHBrID0gcGRmaChpdCwgJy5rZWR1aSYmVGV4dCcpOwogICAgICAgICAgICBsZXQgaW1nID0gcGQoaXQsICdpbWcmJm9wLXpmci1hLWcnKTsKICAgICAgICAgICAgbGV0IHRpbWVyID0gcGRmaChpdCwgJy5ldmVudHRpbWUmJmkmJlRleHQnKTsKICAgICAgICAgICAgbGV0IHVybCA9IHBkKGl0LCAnYS5jbGVhcmZpeCYmaHJlZicpOwogICAgICAgICAgICBkLnB1c2goewogICAgICAgICAgICAgICAgdGl0bGU6IHB6ICsgJ/CfhponICsgcGssCiAgICAgICAgICAgICAgICBkZXNjOiB0aW1lciArICfwn4+GJyArIHBzLAogICAgICAgICAgICAgICAgaW1nOiBpbWcsCiAgICAgICAgICAgICAgICB1cmw6IHVybAogICAgICAgICAgICB9KTsKICAgICAgICB9KTsKICAgICAgICBzZXRSZXN1bHQoZCk7CiAgICB9KSwKICAgIOS6jOe6pzogewogICAgICAgIHRpdGxlOiAiaDIuYmlhb3RpJiZUZXh0IiwKICAgICAgIGltZzogImltZyYmc3JjIiwKICAgICAgICBkZXNjOiAiIiwKICAgICAgICBjb250ZW50OiAidGl0bGUmJlRleHQiLAogICAgICAgICJ0YWJzIjogImpzOlRBQlM9WyfpgZPplb/lnKjnur8nXSIsCiAgICAgICAgbGlzdHM6ICRqcy50b1N0cmluZygoKSA9PiB7CiAgICAgICAgICAgIExJU1RTID0gW107CiAgICAgICAgcGQ9anNwLnBkOwogICAgICAgIHBkZmg9anNwLnBkZmg7CiAgICAgICAgcGRmYT1qc3AucGRmYTsKICAgICAgICAgICAgbGV0IGxpc3RzMT1bXTsKICAgICAgICAgICAgbGV0IHNyYz1wZGZoKGh0bWwsJyNteWlmcmFtZSYmc3JjJyk7CiAgICAgICAgICAgIGxpc3RzMS5wdXNoKCflnKjnur/mkq3mlL4nICsgJyQnICsgc3JjKTsKICAgICAgICAgICAgTElTVFMucHVzaChsaXN0czEpOwogICAgICAgIH0pLAogICAgfSwKICAgIOaQnOe0ojogJycsCn0K
|