xiaomianao666

小程序:uckk云

Jul 4th, 2023
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@uckk云@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoidWNra+S6kSIsImF1dGhvciI6IlRob21hc+WWsiIsInVybCI6Imhpa2VyOi8vZW1wdHkjI3Vja2vkupEiLCJ2ZXJzaW9uIjoyMDIzMDcwMSwiY29sX3R5cGUiOiJtb3ZpZV8zIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJvdGhlciIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxuLy8g5aS45YWL5LqR55uYIC8gVUPkupHnm5gg6LWE5rqQ5LiL6L29XG5cbi8vIOWhq+WGmeagvOW8j+WmguS4i1xuLy8gW1wi6LWE5rqQ5ZCN56ewXCIsIFwi6LWE5rqQaWRcIiwgXCLmj5Dlj5bnoIFcIiwgXCLmlofku7ZpZFwiLCBcIuaOkuW6j+exu+Wei1wiXSxcblxuXG4vLyDotYTmupDlkI3np7AgLSDoh6rlrprkuYnkvaDllpzmrKLnmoRcblxuXG4vLyDotYTmupBpZCAtIOWIhuS6q+mTvuaOpemdoOWQjumdoueahOWtl+esplxu44CA44CAIC8vIOS+i++8mmh0dHBzOi8vcGFuLnF1YXJrLmNuL3Mv44CQZjJhYjYzOWMyYzVk44CRIy9cbuOAgOOAgCAvLyDinZfmsqHmnInotYTmupBpZOaXtuS8muWIpOWumuS4uuOAkOaWsOWIhuexu+OAkVxuXG5cbi8vIOaPkOWPlueggSAtIOayoeacieWwseeVmeepuuOAglxuXG5cbi8vIOaWh+S7tmlkIC0g5rKh5pyJ5bCx55WZ56m644CCXG7jgID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SkpKSxcXG4gICAgICAgICAgICB1cmw6IHVybCxcXG4gICAgICAgICAgICBjb2xfdHlwZTogJ3RleHRfY2VudGVyXzEnLFxcbiAgICAgICAgICAgIGV4dHJhOiB7XFxuICAgICAgICAgICAgICAgIGxvbmdDbGljazogW3tcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiAnIOKYhSDlpI3liLbmkJzntKLor63lj6Ug4piFICcsXFxuICAgICAgICAgICAgICAgICAgICBqczogJC50b1N0cmluZygocHdkX2lkLCBwYXNzY29kZSwgcGRpcl9maWQsIHNvcnRudW0pID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICB1cmwgPSBcXFwiY29weTovLy9zL1xcXCIgKyBwd2RfaWQgKyBcXFwiL3BkaXJfZmlkL1xcXCIgKyBwZGlyX2ZpZCArIFxcXCIvc29ydG51bS9cXFwiICsgc29ydG51bTtcXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAocGFzc2NvZGUpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsICs9IFxcXCIkXFxcIiArIHBhc3Njb2RlO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdXJsXFxuICAgICAgICAgICAgICAgICAgICB9LCBwd2RfaWQsIHBhc3Njb2RlLCBwZGlyX2ZpZCwgc29ydG51bSlcXG4gICAgICAgICAgICAgICAgfSwge1xcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICcg4piGIOWkjeWItui1hOa6kOmTvuaOpSDimIYgJyxcXG4gICAgICAgICAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKChwd2RfaWQsIHBhc3Njb2RlKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgdXJsID0gXFxcImNvcHk6Ly9odHRwczovL3Bhbi5xdWFyay5jbi9zL1xcXCIgKyBwd2RfaWQ7XFxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHBhc3Njb2RlK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cm1hdChfLnVwZGF0ZWRfYXQsICd5eXl5LU1NLWRkJykgKyBcXFwi44CAXFxcIjtcXG5cXG5cXG4gICAgICAgICAgICAvLyDmlofku7blpLnltYzlpZdcXG4gICAgICAgICAgICBpZiAoXy5maWxlX3R5cGUgPT09IDApIHtcXG4gICAgICAgICAgICAgICAgaWYgKF8uaW5jbHVkZV9pdGVtcyA9PT0gMCkge1xcbiAgICAgICAgICAgICAgICAgICAgbnVtID0gJ/Cfk4EgJyArIF8uaW5jbHVkZV9pdGVtcyArICfpobknO1xcbiAgICAgICAgICAgICAgICAgICAgdXJsID0gJ3RvYXN0Oi8v5rKh5pyJ6LWE5rqQJztcXG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgICAgIG51bSA9ICfwn5eC77iPICcgKyBfLmluY2x1ZGVfaXRlbXMgKyAn6aG5JztcXG4gICAgICAgICAgICAgICAgICAgIHVybCA9ICQoZW1wdHkpLnJ1bGUoKGlucHV0KSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgZXZhbChKU09OLnBhcnNlKGZldGNoKCdoaWtlcjovL3BhZ2UvaW5mbz9ydWxlPXVja2vkupEnLCB7fSkpLnJ1bGUpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIF8gPSBpbnB1dC5zcGxpdCgnIycpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGdldGQoX1swXSwgX1sxXSwgX1syXSwgX1szXSwgX1s0XSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgc2V0UmVzdWx0KGQpO1xcbiAgICAgICAgICAgICAgICAgICAgfSwgcHdkX2lkICsgXFxcIiNcXFwiICsgcGFzc2NvZGUgKyBcXFwiI1xcXCIgKyBfLmZpZCArIFxcXCIjXFxcIiArIHNvcnRudW0gKyBcXFwiI1xcXCIgKyAoY2kgKyAxKSk7XFxuICAgICAgICAgICAgICAgIH1cXG5cXG5cXG5cXG5cXG5cXG4gICAgICAgICAgICAgICAgZXh0cmEgPSB7XFxuICAgICAgICAgICAgICAgICAgICBsb25nQ2xpY2s6IFt7XFxuICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICcg4piFIOWkjeWItuaQnOe0ouivreWPpSDimIUgJyxcXG4gICAgICAgICAgICAgICAgICAgICAgICBqczogJC50b1N0cmluZygocHdkX2lkLCBwYXNzY29kZSwgcGRpcl9maWQsIHNvcnRudW0pID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsID0gXFxcImNvcHk6Ly8vcy9cXFwiICsgcHdkX2lkICsgXFxcIi9wZGlyX2ZpZC9cXFwiICsgcGRpcl9maWQgKyBcXFwiL3NvcnRudW0vXFxcIiArIHNvcnRudW07XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChwYXNzY29kZSkge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsICs9IFxcXCIkXFxcIiArIHBhc3Njb2RlO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB1cmxcXG4gICAgICAgICAgICAgICAgICAgICAgICB9LCBwd2RfaWQsIHBhc3Njb2RlLCBfLmZpZCwgc29ydG51bSlcXG4gICAgICAgICAgICAgICAgICAgIH0sIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogJyDimIYg5aSN5Yi26LWE5rqQ6ZO+5o6lIOKYhiAnLFxcbiAgICAgICAgICAgICAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKChwd2RfaWQsIHBhc3Njb2RlKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVybCA9IFxcXCJjb3B5Oi8vaHR0cHM6Ly9wYW4ucXVhcmsuY24vcy9cXFwiICsgcHdkX2lkO1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocGFzc2NvZGUpIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVybCArPSBcXFwiXFxcXG5cXFxcbuaPkOWPlueggSTvvJpcXFwiICsgcGFzc2NvZGU7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHVybFxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0sIHB3ZF9pZCwgcGFzc2NvZGUpXFxuICAgICAgICAgICAgICAgICAgICB9XVxcbiAgICAgICAgICAgICAgICB9XFxuXFxuICAgICAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICB0aXRsZTogXy5maWxlX25hbWUsXFxuICAgICAgICAgICAgICAgICAgICB1cmw6IHVybCxcXG4gICAgICAgICAgICAgICAgICAgIGltZzogJ2h0dHBzOi8vYW5kcm9pZC1hcnR3b3Jrcy4yNXBwLmNvbS9mczA4LzIwMjIvMDgvMDUvNS8xMTBfZmE2NjBlMTNlZDY3Zjg2ODgyMDUwMWU2YWNlNmQ1ZTFfY29uXzEzMHgxMzAucG5nJyxcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnYXZhdGFyJyxcXG4gICAgICAgICAgICAgICAgICAgIGV4dHJhOiBleHRyYVxcbiAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiB0aW1lICsgbnVtLFxcbiAgICAgICAgICAgICAgICAgICAgdXJsOiB1cmwsXFxuICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ3RleHRfMScsXFxuICAgICAgICAgICAgICAgICAgICBleHRyYTogZXh0cmFcXG4gICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgICAgIHJldHVybiBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6ICdsaW5lJ1xcbiAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICB9XFxuXFxuXFxuXFxuICAgICAgICAgICAgLy8g6ZyA6KaB5LyY5YyWXFxuICAgICAgICAgICAgc2l6ZSA9IGdldHooXy5zaXplKTtcXG5cXG5cXG5cXG4gICAgICAgICAgICB1cmwgPSBfLmZpZCArIFxcXCIjXFxcIiArIHB3ZF9pZCArIFxcXCIjXFxcIiArIF8uc2hhcmVfZmlkX3Rva2VuICsgXFxcIiNcXFwiICsgcGFzc2NvZGUgKyBnZXRVO1xcbiAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgIHRpdGxlOiBfLmZpbGVfbmFtZSxcXG4gICAgICAgICAgICAgICAgdXJsOiB1cmwsXFxuICAgICAgICAgICAgICAgIGltZzogXy50aHVtYm5haWwgfHwgJ2h0dHBzOi8vYW5kcm9pZC1hcnR3b3Jrcy4yNXBwLmNvbS9mczA4LzIwMjIvMDcvMjYvNy8xMTBfMTlkOTgyMzgxN2E4MzM3MDRkNmU5YjQwYzcxZGEwNDJfY29uXzEzMHgxMzAucG5nJyxcXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6ICdhdmF0YXInXFxuICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgdGl0bGU6IHRpbWUgKyBcXFwi8J+TpSBcXFwiICsgc2l6ZSxcXG4gICAgICAgICAgICAgICAgdXJsOiB1cmwsXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF8xJ1xcbiAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgIHJldHVybiBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ2xpbmUnXFxuICAgICAgICAgICAgfSk7XFxuICAgICAgICB9KTtcXG4gICAgfSBjYXRjaCAoZXJyKSB7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiBfLm1lc3NhZ2UsXFxuICAgICAgICAgICAgdXJsOiBcXFwiY29weTovL2h0dHBzOi8vcGFuLnF1YXJrLmNuL3MvXFxcIiArIH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1xcXFxzXStcXFxcJCjvvJpcXFxccyopPy8sICcnKTtcXG4gICAgfVxcblxcblxcbiAgICBnZXRzKHB3ZF9pZCwgcGFzc2NvZGUpO1xcbiAgICBnZXRkKHB3ZF9pZCwgcGFzc2NvZGUsIHBkaXJfZmlkLCBzb3J0bnVtLCAwKTtcXG4gICAgYSA9IFtdO1xcbiAgICBmb3IgKGkgPSAxOyBpIDwgZC5sZW5ndGg7IGkgKz0gMykge1xcbiAgICAgICAgYS5wdXNoKHtcXG4gICAgICAgICAgICB0aXRsZTogZFtpXS50aXRsZSxcXG4gICAgICAgICAgICBkZXNjOiBkW2kgKyAxXS50aXRsZSxcXG4gICAgICAgICAgICB1cmw6IGRbaV0udXJsXFxuICAgICAgICB9KVxcbiAgICB9XFxuICAgIGQgPSBhXFxufSBlbHNlIHtcXG4gICAgc3dpdGNoIChzaWQpIHtcXG5cXG5cXG4gICAgICAgIGNhc2UgJzk5OSc6XFxuICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgdGl0bGU6IFxcXCLogZrmkJwgPT4gXFxcIiArIHNva2V5LFxcbiAgICAgICAgICAgICAgICB1cmw6IFxcXCJoaWtlcjovL3NlYXJjaD9zPVxcXCIgKyBzb2tleSArIFxcXCImcnVsZT11Y2tr5LqRXFxcIixcXG4gICAgICAgICAgICAgICAgZXh0cmE6IHtcXG4gICAgICAgICAgICAgICAgICAgIHJ1bGVzOiAkLnRvU3RyaW5nKChzYXJyLCBpbnB1dCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIGxldCBkYXRhID0gW107XFxuXFxuICAgICAgICAgICAgICAgICAgICAgICAgZGVsZXRlIHNhcnJbMF07XFxuXFxuICAgICAgICAgICAgICAgICAgICAgICAgc2Fyci5tYXAoW3RpdGxlLCBzaWRdID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZGF0YS5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxcXCJ0aXRsZVxcXCI6IHRpdGxlLFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXFxcInNlYXJjaF91cmxcXFwiOiBcXFwiaGlrZXI6Ly9lbXB0eSMjI2Z5cGFnZSMjI1xcXCIgKyBpbnB1dC5yZXBsYWNlKC9e6IGa5ZCIP+aQnOe0oj9cXFxccyovLCAnJykgKyBcXFwiIyMjXFxcIiArIHNpZCxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxcXCJzZWFyY2hGaW5kXFxcIjogXFxcImpzOiAkLnJlcXVpcmUoJ2hpa2VyOi8vcGFnZS9zZWFyY2g/cnVsZT11Y2tr5LqRJyk7XFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBKU09OLnN0cmluZ2lmeShkYXRhKTtcXG4gICAgICAgICAgICAgICAgICAgIH0sIHNhcnIsIHNva2V5KVxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICBicmVhaztcXG5cXG5cXG5cXG4gICAgICAgIGNhc2UgJzEnOlxcbiAgICAgICAgICAgIHVybCA9ICdodHRwczovL3YuZnVubGV0dS5jb20vc2VhcmNoJ1xcbiAgICAgICAgICAgIGJvZHkgPSB7XFxuICAgICAgICAgICAgICAgIFxcXCJzdHlsZVxcXCI6IFxcXCJnZXRcXFwiLFxcbiAgICAgICAgICAgICAgICBcXFwiZGF0YXNyY1xcXCI6IFxcXCJzZWFyY2hcXFwiLFxcbiAgICAgICAgICAgICAgICBcXFwicXVlcnlcXFwiOiB7XFxuICAgICAgICAgICAgICAgICAgICBcXFwiaWRcXFwiOiBcXFwiXFxcIixcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJkYXRldGltZVxcXCI6IFxcXCJcXFwiLFxcbiAgICAgICAgICAgICAgICAgICAgXFxcImNvbW1vbmlkXFxcIjogMSxcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJwYXJtaWRcXFwiOiBcXFwiXFxcIixcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJmaWxlaWRcXFwiOiBcXFwiXFxcIixcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJyZXBvcnRpZFxcXCI6IFxcXCJcXFwiLFxcbiAgICAgICAgICAgICAgICAgICAgXFxcInZhbGlkaWRcXFwiOiBcXFwiXFxcIixcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJzZWFyY2h0ZXh0XFxcIjogc29rZXlcXG4gICAgICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICAgICAgXFxcInBhZ2VcXFwiOiB7XFxuICAgICAgICAgICAgICAgICAgICBcXFwicGFnZVNpemVcXFwiOiAxMCxcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJwYWdlSW5kZXhcXFwiOiBNWV9QQUdFXFxuICAgICAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgICAgIFxcXCJvcmRlclxcXCI6IHtcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJwcm9wXFxcIjogXFxcImlkXFxcIixcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJvcmRlclxcXCI6IFxcXCJkZXNjXFxcIlxcbiAgICAgICAgICAgICAgICB9LFxcbiAgICAgICAgICAgICAgICBcXFwibWVzc2FnZVxcXCI6IFxcXCLor7fmsYLotYTmupDliJfooajmlbDmja5cXFwiXFxuICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIHBvc3QodXJsLCBib2R5KS5kYXRhLm1hcChfID0+IHtcXG4gICAgICAgICAgICAgICAgaWYgKF8udmFsaWQgPT0gMCkge1xcbiAgICAgICAgICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogXy50aXRsZSxcXG4gICAgICAgICAgICAgICAgICAgICAgICBkZXNjOiBcXFwi4o+x77iPIFxcXCIgKyBfLnVwZGF0ZXRpbWUgKyBcXFwi44CA8J+UliBcXFwiICsgXy5maWxldHlwZSxcXG4gICAgICAgICAgICAgICAgICAgICAgICB1cmw6IFxcXCJoaWtlcjovL3NlYXJjaD9zPVxcXCIgKyBfLnVybCArIFxcXCImcnVsZT11Y2tr5LqRXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIH0pXFxuXFxuXFxuXFxuICAgICAgICBjYXNlICcyJzpcXG4gICAgICAgICAgICB1cmwgPSBcXFwiaHR0cHM6Ly93d3cubGFpc295aXhpYS5jb20vcy9zZWFyY2g/cT1cXFwiICsgc29rZXkgKyBcXFwiJmN1cnJlbnRQYWdlPVxcXCIgKyBNWV9QQUdFICsgXFxcIiZvPTQxXFxcIlxcbiAgICAgICAgICAgIHBkZmEoZmV0Y2godXJsKSwgXFxcImJvZHkmJi5yZXN1bHQtcGllY2VcXFwiKVxcbiAgICAgICAgICAgICAgICAubWFwKGRpdiA9PiB7XFxuICAgICAgICAgICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiBwZGZoKGRpdiwgXFxcIi50aXRsZSYmYSYmVGV4dFxcXCIpLFxcbiAgICAgICAgICAgICAgICAgICAgICAgIGRlc2M6IHBkZmgoZGl2LCBcXFwiLmJhc2ljLWluZm8mJlRleHRcXFwiKSxcXG4gICAgICAgICAgICAgICAgICAgICAgICB1cmw6IFxcXCJoaWtlcjovL3NlYXJjaD9zPVxcXCIgKyBwZGZoKGRpdiwgXFxcIi50aXRsZSYmYSYmaHJlZlxcXCIpICsgXFxcIiZydWxlPXVja2vkupFcXFwiXFxuICAgICAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgIGJyZWFrO1xcblxcblxcblxcbiAgICAgICAgY2FzZSAnMyc6XFxuICAgICAgICAgICAgaWYgKGdldE15VmFyKCdidWlsZElkJykgPT0gJycpIHtcXG4gICAgICAgICAgICAgICAgYnVpbGRJZCA9IGZldGNoKFxcXCJodHRwczovL3d3dy5wYW5zZWFyY2gubWUvXFxcIikubWF0Y2goL2J1aWxkSWRcXFwiOlxcXCIoW15cXFwiXSspLylbMV1cXG4gICAgICAgICAgICAgICAgcHV0TXlWYXIoJ2J1aWxkSWQnLCBidWlsZElkKVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgICAgICB1cmwgPSBcXFwiaHR0cHM6Ly93d3cucGFuc2VhcmNoLm1lL19uZXh0L2RhdGEvXFxcIiArIGdldE15VmFyKCdidWlsZElkJykgKyBcXFwiL3NlYXJjaC5qc29uP2tleXdvcmQ9XFxcIiArIHNva2V5ICsgXFxcIiZvZmZzZXQ9XFxcIiArICgoTVlfUEFHRSAtIDEpICogMTApICsgXFxcIiZwYW49cXVhcmtcXFwiXFxuICAgICAgICAgICAgSlNPTi5wYXJzZShmZXRjaCh1cmwpKVxcbiAgICAgICAgICAgICAgICAucGFnZVByb3BzLmRhdGEuZGF0YS5tYXAoXyA9PiB7XFxuICAgICAgICAgICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiBfLmNvbnRlbnQubWF0Y2goL+i1hOa6kOWQjeensO+8mj8oW15cXFxcbl0rKS8pWzFdLFxcbiAgICAgICAgICAgICAgICAgICAgICAgIGRlc2M6IFxcXCLij7HvuI8gXFxcIiArIF8udGltZS5yZXBsYWNlKC9ULiovLCAn44CA8J+UliAnKSArIF8uY29udGVudC5tYXRjaCgv5paH5Lu257G75Z6L77yaPyhbXlxcXFxuXSspLylbMV0ucmVwbGFjZSgvPFxcXFwvP3NwYW5bXj5dKj4vZywgJycpLFxcbiAgICAgICAgICAgICAgICAgICAgICAgIHVybDogXFxcImhpa2VyOi8vc2VhcmNoP3M9XFxcIiArIHBkZmgoXy5jb250ZW50LCBcXFwiYSYmaHJlZlxcXCIpICsgXFxcIiZydWxlPXVja2vkupFcXFwiXFxuICAgICAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgIGJyZWFrO1xcblxcblxcblxcbiAgICAgICAgY2FzZSAnNCc6XFxuICAgICAgICAgICAgdXJsID0gXFxcImh0dHBzOi8vYWlwYW5zby5jb20vc2VhcmNoP3BhZ2U9XFxcIiArIE1ZX1BBR0UgKyBcXFwiJms9XFxcIiArIHNva2V5ICsgXFxcIiZzPTAmdD0tMVxcXCI7XFxuICAgICAgICAgICAgcGRmYShmZXRjaCh1cmwpLCBcXFwiYm9keSYmdmFuLXJvd1xcXCIpXFxuICAgICAgICAgICAgICAgIC5tYXAoZGl2ID0+IHtcXG4gICAgICAgICAgICAgICAgICAgIGhyZWYgPSBwZGZoKGRpdiwgXFxcImEmJmhyZWZcXFwiKTtcXG4gICAgICAgICAgICAgICAgICAgIGlmIChocmVmLm1hdGNoKC9cXFxcL3NcXFxcLy8pKSB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgXyA9IGRpdi5zcGxpdCgnPC90ZW1wbGF0ZT4nKVxcbiAgICAgICAgICAgICAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiBwZGZoKF9bMF0sIFxcXCIqJiZUZXh0XFxcIiksXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRlc2M6IHBkZmgoX1sxXSwgXFxcIiomJlRleHRcXFwiKSxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiAkKFxcXCJodHRwczovL2FpcGFuc28uY29tXFxcIiArIGhyZWYucmVwbGFjZSgnL3MvJywgJy9jdi8nKSkubGF6eVJ1bGUoKCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaHJlZiA9IGZldGNoKGlucHV0LCB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGVhZGVyczoge1xcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAncmVmZXJlcic6IGlucHV0XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbmx5SGVhZGVyczogdHJ1ZVxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSlcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBcXFwiaGlrZXI6Ly9zZWFyY2g/cz1cXFwiICsgaHJlZiArIFxcXCImcnVsZT11Y2tr5LqRXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KVxcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgYnJlYWs7XFxuXFxuXFxuY2FzZSAnNSc6XFxuICAgICAgICAgICAgdXJsID0gXFxcImh0dHBzOi8vd3d3LndveGlhbmdzb3UuY29tL2FwaS92MS9yZXNJbmZvL3NlYXJjaD9kZXZpY2VJZD0wJmtleXdvcmQ9XFxcIitzb2tleStcXFwiJnNvdXJjZVR5cGU9MyZ0aW1lRmlsdGVyPTAmc2l6ZUZpbHRlcj0wJm9mZnNldD1cXFwiKygoTVlfUEFHRSAtIDEpICogMjApK1xcXCImbGltaXQ9MjAmYXBwbHlBdD0wJmNoYW5uZWxJZD0wXFxcIlxcbiAgICAgICAgICAgIEpTT04ucGFyc2UoZmV0Y2godXJsKSlcXG4gICAgICAgICAgICAgICAgLnJlc0luZm9zLm1hcChfID0+IHtcXG4gICAgICAgICAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICAgICAgdGl0bGU6IF8ubmFtZSxcXG4gICAgICAgICAgICAgICAgICAgICAgICBkZXNjOiBcXFwi4o+x77iPIFxcXCIrKCQuZGF0ZUZvcm1hdChfLmxhc3RVcGRhdGVUaW1lLzEsICd5eXl5LU1NLWRkJykpK1xcXCLjgIDwn5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zFdO1xcbiAgICAgICAgICAgIH1cXG4gICAgICAgICAgICBpZiAoaW5wdXQubWF0Y2goL1xcXFwvc1xcXFwvLisvKSkge1xcbiAgICAgICAgICAgICAgICBzYXJyID0gW1xcbiAgICAgICAgICAgICAgICAgICAgW1xcXCLojrflj5botYTmupDmlofku7ZcXFwiLCA5OTldXFxuICAgICAgICAgICAgICAgIF07XFxuICAgICAgICAgICAgfSBlbHNlIGlmICghaW5wdXQyLm1hdGNoKC9eKDk5OSk/JC8pKSB7XFxuICAgICAgICAgICAgICAgIHNhcnIgPSBbc2FycltpbnB1dDJdXVxcbiAgICAgICAgICAgIH0gZWxzZSBpZiAoIWdldE15VmFyKCdpbnB1dDInKS5tYXRjaCgvXig5OTkpPyQvKSkge1xcbiAgICAgICAgICAgICAgICBzYXJyID0gW3NhcnJbZ2V0TXlWYXIoJ2lucHV0MicpXV1cXG4gICAgICAgICAgICB9IGVsc2Uge1xcbiAgICAgICAgICAgICAgICBkZWxldGUgc2FyclswXTtcXG4gICAgICAgICAgICB9XFxuICAgICAgICAgICAgc2Fyci5tYXAoW3RpdGxlLCBzaWRdID0+IHtcXG4gICAgICAgICAgICAgICAgZGF0YS5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJ0aXRsZVxcXCI6IHRpdGxlLFxcbiAgICAgICAgICAgICAgICAgICAgXFxcInNlYXJjaF91cmxcXFwiOiBcXFwiaGlrZXI6Ly9lbXB0eSMjI2Z5cGFnZSMjI1xcXCIgKyBpbnB1dC5yZXBsYWNlKC9e6IGa5ZCIP+aQnOe0oj9cXFxccyovLCAnJykgKyBcXFwiIyMjXFxcIiArIHNpZCxcXG4gICAgICAgICAgICAgICAgICAgIFxcXCJzZWFyY2hGaW5kXFxcIjogXFxcImpzOiAkLnJlcXVpcmUoJ2hpa2VyOi8vcGFnZS9zZWFyY2g/cnVsZT11Y2tr5LqRJyk7XFxcIlxcbiAgICAgICAgICAgICAgICB9KTtcXG4gICAgICAgICAgICB9KVx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ICAgICAgICAgdGl0bGU6ICcg4piFIOWkjeWItuaQnOe0ouivreWPpSDimIUgJyxcXG4gICAgICAgICAgICBqczogJC50b1N0cmluZygocHdkX2lkLCBwYXNzY29kZSwgcGRpcl9maWQsIHNvcnRudW0pID0+IHtcXG4gICAgICAgICAgICAgICAgdXJsID0gXFxcImNvcHk6Ly8vcy9cXFwiICsgcHdkX2lkICsgXFxcIi9wZGlyX2ZpZC9cXFwiICsgcGRpcl9maWQgKyBcXFwiL3NvcnRudW0vXFxcIiArIHNvcnRudW07XFxuICAgICAgICAgICAgICAgIGlmIChwYXNzY29kZSkge1xcbiAgICAgICAgICAgICAgICAgICAgdXJsICs9IFxcXCIkXFxcIiArIHBhc3Njb2RlO1xcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgICAgIHJldHVybiB1cmxcXG4gICAgICAgICAgICB9LCBiLCBjLCBlLCBmKVxcbiAgICAgICAgfSwge1xcbiAgICAgICAgICAgIHRpdGxlOiAnIOKYhiDlpI3liLbotYTmupDpk77mjqUg4piGICcsXFxuICAgICAgICAgICAganM6ICQudG9TdHJpbmcoKHB3ZF9pZCwgcGFzc2NvZGUpID0+IHtcXG4gICAgICAgICAgICAgICAgdXJsID0gXFxcImNvcHk6Ly9odHRwczovL3Bhbi5xdWFyay5jbi9zL1xcXCIgKyBwd2RfaWQ7XFxuICAgICAgICAgICAgICAgIGlmIChwYXNzY29kZSkge1xcbiAgICAgICAgICAgICAgICAgICAgdXJsICs9IFxcXCJcXFxcblxcXFxu5o+Q5Y+W56CBJO+8mlxcXCIgKyBwYXNzY29kZTtcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICByZXR1cm4gdXJsXFxuICAgICAgICAgICAgfSwgYiwgYylcXG4gICAgICAgIH1dXFxuICAgIH1cXG5cXG5cXG5cXG4gICAgaVRhZ1tpVGFnLmxlbmd0aCAtIDFdWzFdLnB1c2goe1xcbiAgICAgICAgdGl0bGU6IFN0cm9uZyhhKSxc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KFN0cm9uZyhDb2xvcihuYW1lKSkpIDogbmFtZSxcXG4gICAgICAgIHVybDogJCgnI25vTG9hZGluZyMnKS5sYXp5UnVsZSgoZW1wdHksIGkpID0+IHtcXG4gICAgICAgICAgICBwdXRNeVZhcignaScsIGkpO1xcbiAgICAgICAgICAgIHJlZnJlc2hQYWdlKClcXG4gICAgICAgICAgICByZXR1cm4gZW1wdHk7XFxuICAgICAgICB9LCBlbXB0eS5yZXBsYWNlKC8jLisvLCAnJyksIGkpLFxcbiAgICAgICAgY29sX3R5cGU6ICdzY3JvbGxfYnV0dG9uJ1xcbiAgICB9KTtcXG59KTtcXG5cXG5kLnB1c2goe1xcbiAgICBjb2xfdHlwZTogJ2JsYW5rX2Jsb2NrJ1xcbn0pO1xcbmQgPSBkLmNvbmNhdChpVGFnW2dldE15VmFyKCdpJywgJzAnKV1bMV0pO1xcblxcbnNldFJlc3VsdChkKTtcIn1dIiwiaWNvbiI6Imh0dHBzOi8vYW5kcm9pZC1hcnR3b3Jrcy4yNXBwLmNvbS9mczA4LzIwMjIvMDcvMjYvNy8xMTBfMTlkOTgyMzgxN2E4MzM3MDRkNmU5YjQwYzcxZGEwNDJfY29uXzEzMHgxMzAucG5nIiwicHJveHkiOiIifQ==
Add Comment
Please, Sign In to add comment