iduoduo/drpy_js/掌心世界.js

1 line
4.0 KiB
JavaScript

dmFyIHJ1bGUgPSB7CiAgICB0aXRsZTogJ+aOjOW/g+S4lueVjCcsCiAgICBob3N0OiAnaHR0cHM6Ly93d3cuemhhbmd4aW5keS5jb20nLAogICAgdXJsOiAnL2luZGV4LnBocC92b2Qvc2hvdy9pZC9meWNsYXNzL3BhZ2UvZnlwYWdlLmh0bWwnLAogICAgc2VhcmNoVXJsOiAnL2luZGV4LnBocC92b2Qvc2VhcmNoL3BhZ2UvZnlwYWdlL3dkLyoqLmh0bWwnLAogICAgc2VhcmNoYWJsZTogMiwKICAgIHF1aWNrU2VhcmNoOiAwLAogICAgZmlsdGVyYWJsZTogMSwKICAgIGZpbHRlcjogJycsCiAgICBmaWx0ZXJfdXJsOiAnJywKICAgIGZpbHRlcl9kZWY6IHt9LAogICAgaGVhZGVyczogewogICAgICAgICdVc2VyLUFnZW50JzogJ01PQklMRV9VQScsCiAgICB9LAogICAgdGltZW91dDogNTAwMCwKICAgIGNsYXNzX3BhcnNlOiAnLm1lbnUmJmxpO2EmJlRleHQ7YSYmaHJlZjsvaWQvKFxcZCspJywKICAgIGNhdGVfZXhjbHVkZTogJ+eDreaSreamnCcsCiAgICBwbGF5X3BhcnNlOiB0cnVlLAogICAgbGF6eTogJGpzLnRvU3RyaW5nKCgpID0+IHsKICAgICAgICBpbnB1dCA9IHtwYXJzZTogMSwgdXJsOiBpbnB1dCwganM6ICcnfTsKICAgIH0pLAogICAgZG91YmxlOiB0cnVlLAogICAg5o6o6I2QOiAndWwuc2hvdXR1LXZvZGxpc3Q7dWwmJmxpOyo7KjsqOyonLAogICAg5LiA57qnOiAnLnNob3V0dS12b2RsaXN0JiZsaTthOmVxKC0xKSYmVGV4dDtpbWcmJmRhdGEtb3JpZ2luYWw7LnRleHQmJlRleHQ7YSYmaHJlZicsCiAgICAvLyDkuoznuqforr/pl67liY06ICRqcy50b1N0cmluZygoKSA9PiB7CiAgICAvLyAgICAgbG9nKE1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3QoTVlfVVJMKTsKICAgICAgICB9KSwKICAgICAgICB0YWJzOiAkanMudG9TdHJpbmcoKCkgPT4gewogICAgICAgICAgICBsb2coJ3RhYnM6TVlfVVJMOicgKyBNWV9VUkwpOwogICAgICAgICAgICBUQUJTID0gW107CiAgICAgICAgICAgIGxldCB0YWJzID0gcGRmYShodG1sLCAndWwuc2hvdXR1LXBsYXlsaXN0LmNvbC1mbGV4JiZsaScpOwogICAgICAgICAgICBsb2codGFicyk7CiAgICAgICAgICAgIHRhYnMuZm9yRWFjaChpdCA9PiB7CiAgICAgICAgICAgICAgICBsZXQgX3R0ID0gcGRmaChpdCwgJ2JvZHkmJlRleHQnKTsKICAgICAgICAgICAgICAgIFRBQlMucHVzaChfdHQpOwogICAgICAgICAgICB9KTsKICAgICAgICB9KSwKICAgICAgICBsaXN0czogJGpzLnRvU3RyaW5nKCgpID0+IHsKICAgICAgICAgICAgTElTVFMgPSBbXTsKICAgICAgICAgICAgLy9sb2coaW5wdXQpOwogICAgICAgICAgICBsZXQgbGlzdHMxID0gcGRmYShodG1sLCAnLnNob3V0dS1wbGF5bGlzdCYmbGknKS5tYXAoaXQgPT4gewogICAgICAgICAgICAgICAgbGV0IF90dCA9IHBkZmgoaXQsICdhJiZUZXh0Jyk7CiAgICAgICAgICAgICAgICBsZXQgX3V1ID0gcGQoaXQsICdhJiZocmVmJywgTVlfVVJMKTsKICAgICAgICAgICAgICAgIHJldHVybiBfdHQgKyAnJCcgKyBfdXUKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICBMSVNUUy5wdXNoKGxpc3RzMSk7CiAgICAgICAgICAgIGxldCBfdXJscyA9IHBkZmEoaHRtbCwgJy5zaG91dHUtcGxheWxpc3Q6ZXEoLTEpJiZsaScpLm1hcChpdCA9PiB7CiAgICAgICAgICAgICAgICByZXR1cm4gcGQoaXQsICdhJiZocmVmJywgTVlfVVJMKTsKICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIF91cmxzID0gX3VybHMuZmlsdGVyKGl0ID0+IGl0ICE9IE1ZX1VSTCk7CiAgICAgICAgICAgIF91cmxzLmZvckVhY2goKF91cmwpID0+IHsKICAgICAgICAgICAgICAgIGxldCBodG1sID0gcmVxdWVzdChfdXJsKTsKICAgICAgICAgICAgICAgIGxldCBsaXN0czEgPSBwZGZhKGh0bWwsICcuc2hvdXR1LXBsYXlsaXN0JiZsaScpLm1hcChpdCA9PiB7CiAgICAgICAgICAgICAgICAgICAgbGV0IF90dCA9IHBkZmgoaXQsICdhJiZUZXh0Jyk7CiAgICAgICAgICAgICAgICAgICAgbGV0IF91dSA9IHBkKGl0LCAnYSYmaHJlZicsIE1ZX1VSTCk7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIF90dCArICckJyArIF91dQogICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgICAgICBMSVNUUy5wdXNoKGxpc3RzMSk7CiAgICAgICAgICAgIH0pOwogICAgICAgIH0pLAogICAgICAgIC8vbGlzdHM6Jy5zaG91dHUtcGxheWxpc3Q6ZXEoI2lkKSYmYScsCiAgICAgICAgdGFiX3RleHQ6ICdib2R5JiZUZXh0JywKICAgICAgICBsaXN0X3RleHQ6ICdib2R5JiZUZXh0JywKICAgICAgICBsaXN0X3VybDogJ2EmJmhyZWYnCiAgICB9LAogICAg5pCc57SiOiAnKicsCn0=