Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@𝐒𝐮𝐩𝐣𝐚𝐯@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi8J2QkvCdkK7wnZCp8J2Qo/CdkJrwnZCvIiwiYXV0aG9yIjoiUiIsInVybCI6Imhpa2VyOi8vZW1wdHkjI2h0dHBzOi8vc3VwamF2LmNvbS96aC8jI2Z5cGFnZSIsInZlcnNpb24iOjIwMjQwNTExLCJjb2xfdHlwZSI6Im1vdmllXzMiLCJjbGFzc19uYW1lIjoiIiwidHlwZSI6InZpZGVvIiwiY2xhc3NfdXJsIjoiIiwiYXJlYV9uYW1lIjoiIiwiYXJlYV91cmwiOiIiLCJzb3J0X25hbWUiOiIiLCJ5ZWFyX25hbWUiOiIiLCJzb3J0X3VybCI6IiIsInllYXJfdXJsIjoiIiwiZmluZF9ydWxlIjoianM6XG5hZGRMaXN0ZW5lcihcIm9uQ2xvc2VcIiwgKCkgPT4ge1xuICAgIGNsZWFyTXlWYXIoXCJuZXh0UGFnZVwiKTtcbn0pO1xuLypcbmFkZExpc3RlbmVyKFwib25SZWZyZXNoXCIsICgpID0+IHtcbiAgICBjbGVhck15VmFyKFwibmV4dFBhZ2VcIik7XG59KTtcbiovXG52YXIgZCA9IFtdXG52YXIgcmVzID0gW11cbk1ZX1VSTCA9IE1ZX1VSTC5zcGxpdChcIiMjXCIpWzFdXG5sZXQgdHJ1ZV91cmwgPSBnZXRNeVZhcihcInVybFwiLCBNWV9VUkwpO1xubGV0IG5leHRQYWdlID0gZ2V0TXlWYXIoXCJuZXh0UGFnZVwiLCBcIlwiKTtcbmlmIChuZXh0UGFnZSAmJiBNWV9QQUdFID4gMSkge1xuICAgIHRydWVfdXJsID0gbmV4dFBhZ2U7XG59XG52YXIgaHRtbCA9IGZldGNoKHRydWVfdXJsLHtoZWFkZXJzOkpTT04ucGFyc2UoZ2V0TXlWYX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godGFic1tpXSwnVGV4dCcpXFxuICAgICAgICByZXMucHVzaCh7XFxuICAgICAgICAgICAgdGl0bGU6IGdldE15VmFyKCd0YWInLCAnMCcpID09IGkgPyBnZXRIZWFkKHRpdGxlLCcjRkY2Njk5JykgOiB0aXRsZSxcXG4gICAgICAgICAgICBjb2xfdHlwZTogJ3Njcm9sbF9idXR0b24nLFxcbiAgICAgICAgICAgIHVybDogcGQodGFic1tpXSwgJ2EmJmhyZWYnKSArICQoXFxcIiNub0xvYWRpbmcjXFxcIikubGF6eVJ1bGUoKCBpKSA9PiB7XFxuICAgICAgICAgICAgICAgIHB1dE15VmFyKCd0YWInLCBpKVxcbiAgICAgICAgICAgICAgICBwdXRNeVZhcihcXFwidXJsXFxcIiwgaW5wdXQpO1xcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZShmYWxzZSk7XFxuICAgICAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9lbXB0eSdcXG4gICAgICAgICAgICB9LCBpKVxcbiAgICAgICAgfSlcXG4gICAgaWYgKGk9PTUpIHtcXG4gICAgICAgICByZXMucHVzaCh7XFxuICAgICAgICAgICAgY29sX3R5cGU6IFxcXCJibGFua19ibG9ja1xcXCJcXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgfVxcbiAgICB9XFxuICAgICAgICAgcmVzLnB1c2goe1xcbiAgICAgICAgICAgIGNvbF90eXBlOiBcXFwiYmxhbmtfYmxvY2tcXFwiXFxuICAgICAgICAgICAgfSlcXG59XFxuICAgICB2YXIgcGFnaW5hdGlvbiA9IHBkZmEoaHRtbCwgXFxcIi5wYWdpbmF0aW9uJiZsaTpub3QoLnByZXYtcGFnZSk6bm90KC5uZXh0LXBhZ2UpXFxcIik7XFxuICAgIHZhciBjdXJyZW50dSA9IHBkZmgoaHRtbCxcXFwibGlua1tocmVmbGFuZz16aF0mJmhyZWZcXFwiKVxcblxcbiAgICB2YXIgZmlyc3R1ID0gY3VycmVudHUucmVwbGFjZSgvXFxcXC9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ZSkge1xcblxcbiAgICB2YXIgdXJsID0gdXJsc1tqXSArICQoXFxcIiNub0xvYWRpbmcjXFxcIikubGF6eVJ1bGUoKGopID0+IHsgICAgXFxuICAgICAgICAgICAgICAgIHB1dE15VmFyKFxcXCJ1cmxcXFwiLCBpbnB1dCk7XFxuICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKGZhbHNlKTtcXG4gICAgICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5J1xcbiAgICAgICAgICAgIH0sIGopXFxuXFxuICAgIGlmIChqPT0xKSB7XFxuICAgIHVybCA9ICQoJycsJ+mZpOmmlumhteWSjOWwvumhteS5i+WklueahOmhteeggScpLmlucHV0KChsYXN0dSxsYXN0cCk9PntcXG4gICAgICAgIGlmIChwYXJzZUludChpbnB1dCkgPiAxICYmIHBhcnNlSW50KGlucHV0KSA8IHBhcnNlSW50KGxhc3RwKSAmJiBwYXJzZUludChpbnB1dCkgJSAxID09IDApIHtcXG4gICAgICAgICAgICAgICAgdmFyIGp1bXB1ID0gbGFzdHUucmVwbGFjZSgvXFxcXC9wYWdlXFxcXC9cXFxcZCsvLCBcXFwiL3BhZ2UvXFxcIisgaW5wdXQpXFxuICAgICAgICAgICAgICAgIHB1dE15VmFyKFxcXCJ1cmxcXFwiLCBqdW1wdSk7XFxuICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKGZhbHNlKTtcXG4gICAgICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5J1xcbn0gZWxzZSB7XFxuICAgICAgICAgICAgICAgIHJldHVybiBcXFwidG9hc3Q6Ly/or7fovpPlhaXmraPnoa7nmoTpobXnoIFcXFwifVxcbiAgICAgICAgICAgfSxsYXN0dSxsYXN0cCkgICAgICAgICAgICAgICAgICBcXG4gICAgICB9XFxuXFxuICAgICAgICByZXMucHVzaCh7XFxuICAgICAgICAgICAgdGl0bGU6IHBhZ2kgPT0gaiA/IGdldEhlYWQodGl0bGVbal0sJyNGRjY2O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ZmFsc2UpO1xcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vZW1wdHknXFxuICAgICAgICAgICAgfSwgailcXG5cXG4gICAgaWYgKGo9PTEpIHtcXG4gICAgdXJsID0gJCgnJywn6Zmk6aaW6aG15ZKM5bC+6aG15LmL5aSW55qE6aG156CBJykuaW5wdXQoKGxhc3R1LGxhc3RwKT0+e1xcbiAgICAgICAgaWYgKHBhcnNlSW50KGlucHV0KSA+IDEgJiYgcGFyc2VJbnQoaW5wdXQpIDwgcGFyc2VJbnQobGFzdHApICYmIHBhcnNlSW50KGlucHV0KSAlIDEgPT0gMCkge1xcbiAgICAgICAgICAgICAgICB2YXIganVtcHUgPSBsYXN0dS5yZXBsYWNlKC9cXFxcL3BhZ2VcXFxcL1xcXFxkKy8sIFxcXCIvcGFnZS9cXFwiKyBpbnB1dClcXG4gICAgICAgICAgICAgICAgcHV0TXlWYXIoXFxcInl1cmxcXFwiLCBqdW1wdSk7XFxuICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKGZhbHNlKTtcXG4gICAgICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5J1xcbn0gZWxzZSB7XFxuICAgICAgICAgICAgICAgIHJldHVybiBcXFwidG9hc3Q6Ly/or7fovpPlhaXmraPnoa7nmoTpobXnoIFcXFwifVxcbiAgICAgICAgICAgfSxsYXN0dSxsYXN0cCkgICAgICAgICAgICAgICAgICBcXG4gICAgICB9XFxuXFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiBwYWdpID09IGogPyBnZXRIZWFkKHRpdGxlW2pdLCcjRkY2Njk5JykgOiB0aXRsZVtqXSwgICAgICAgICAgIFxcbiAgICAgICAgICAgIHVybDogdXJsLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiAnc2Nyb2xsX2J1dHRvbicsICAgICAgICAgICAgICAgICBcXG4gICAgICAgIH0pXFxufX1cXG59XFxuXFxuaWYgKE1ZX1BBR0UgP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wi8J+HqPCfh7NcXFwiKVxcbiAgICAucmVwbGFjZShcXFwiW+aXoOeggeegtOino11cXFwiLCBcXFwi8J+UpVxcXCIpXFxuICAgIC5yZXBsYWNlKFxcXCJbNEtdXFxcIiwgXFxcIvCflqVcXFwiKVxcbiAgICAucmVwbGFjZShcXFwiW+iLseaWh+Wtl+W5lV1cXFwiLCBcXFwi8J+HuvCfh7hcXFwiKTtcXG52YXIg6K+G5Yir56CBID0gdGl0bGUubWF0Y2goL1xcXFx3Kyg/Oi18XylcXFxcdysoPzpcXFxccytcXFxcZCspP3xcXFxcdysoPyFcXFxcbilcXFxccytcXFxcdysvKVswXVxcbmlmICh0aXRsZSAhPT0gbnVsbCkge1xcbiAgICBkLnB1c2goe1xcbiAgICAgICAgdGl0bGU6ICfigJzigJzigJ3igJ08bWlkZGxlPjxmb250IGNvbG9yPSNlNTdhMWE+JyArIHRpdGxlICsgJzwvZm9udD48L21pZGRsZT4nLFxcbiAgICAgICAgdXJsOiBcXFwiY29weTovL1xcXCIgKyDor4bliKvnoIEsXFxuICAgICAgICBjb2xfdHlwZTogJ3RleHRfMScsXFxuICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgIGxpbmVWaXNpYmxlOiBmYWxzZSxcXG4gICAgICAgICAgICBsb25nQ2xpY2s6IFt7XFxuICAgICAgICAgICAgICAgIHRpdGxlOiAn572R6aG1JyxcXG4gICAgICAgICAgICAgICAganM6ICQudG9TdHJpbmcoKCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJ3ZWI6Ly9cXFwiICsgTVlfVVJMXFxuICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgfSwge1xcbiAgICAgICAgICAgICAgICB0aXRsZTogJ+eZvuW6pue/u+ivkScsXFxuICAgICAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKCh0aXRsZSkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJ4NTovL2h0dHBzOi8vZmFueWkuYmFpZHUuY29tLyNqcC96aC9cXFwiICsgdGl0bGVcXG4gICAgICAgICAgICAgICAgfSwgdGl0bGUpXFxuICAgICAgICAgICAgfSwge1xcbiAgICAgICAgICAgICAgICB0aXRsZTogJ0RlZXBs57+76K+RJyxcXG4gICAgICAgICAgICAgICAganM6ICQudG9TdHJpbmcoKHRpdGxlKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcIng1Oi8vaHR0cHM6Ly93d3cuZGVlcGwuY29tL3poL3RyYW5zbGF0b3ItbW9iaWxlI2phL3poL1xcXCIgKyB0aXRsZVxcbiAgICAgICAgICAgICAgICB9LCB0aXRsZSlcXG4gICAgICAgICAgICB9LCB7XFxuICAgICAgICAgICAgICAgIHRpdGxlOiAn6LC35q2M57+76K+RJyxcXG4gICAgICAgICAgICAgICAganM6ICQudG9TdHJpbmcoKHRpdGxlKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcIng1Oi8vaHR0cHM6Ly90cmFuc2xhdGUuZ29vZ2xlLmNvbS8/aGw9emgtQ04mc2w9amEmdGw9emgtQ04mdGV4dD1cXFwiICsgdGl0bGVcXG4gICAgICAgICAgICAgICAgfSwgdGl0bGUpXFxuICAgICAgICAgICAgfV1cXG4gICAgICAgIH1cXG4gICAgfSlcXG59XFxuXFxudmFyIGltZyA9IHBkKGh0bWwsIFxcXCIucG9zdC1tZXRhJiZpbWcmJnNyY1xcXCIpO1xcbmlmIChpbWcgIT09IG51bGwpIHtcXG4gICAgZC5wdXNoKHtcXG4gICAgICAgIGltZzogaW1nLFxcbiAgICAgICAgdXJsOiBcXFwiaGlrZXI6Ly9lbXB0eVxcXCIsXFxuICAgICAgICBjb2xfdHlwZTogJ3BpY18xX2Z1bGwnLFxcbiAgICAgICAgZXh0cmE6IHtcXG4gICAgICAgICAgICBsb25nQ2xpY2s6IFt7XFxuICAgICAgICAgICAgICAgIHRpdGxlOiAn5aSN5Yi25Zu+54mHJyxcXG4gICAgICAgICAgICAgICAganM6ICQudG9TdHJpbmcoKGltZykgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJjb3B5Oi8vXFxcIiArIGltZ1xcbiAgICAgICAgICAgICAgICB9LCBpbWcpXFxuICAgICAgICAgICAgfSwge1xcbiAgICAgICAgICAgICAgICB0aXRsZTogJ+aJk+W8gOWbvueJhycsXFxuICAgICAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKChpbWcpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBpbWdcXG4gICAgICAgICAgICAgICAgfSwgaW1nKVxcbiAgICAgICAgICAgIH0sIHtcXG4gICAgICAgICAgICAgICAgdGl0bGU6ICfkuIvovb3lm77niYcnLFxcbiAgICAgICAgICAgICAgICBqczogJC50b1N0cmluZygoaW1nKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gXFxcImRvd25sb2FkOi8vXFxcIiArIGltZ1xcbiAgICAgICAgICAgICAgICB9LCBpbWcpXFxuICAgICAgICAgICAgfV1cXG4gICAgICAgIH1cXG4gICAgfSk7XFxufVxcblxcbmQucHVzaCh7XFxuICAgIHRpdGxlOiAn4oCc4oCc4oCd4oCdPHNwYW4gc3R5bGU9XFxcImNvbG9yOiAjRkZGRkZGO1xcXCI+PHNtYWxsPvCdkJLwnZCE8J2QkfCdkJXwnZCE8J2QkSDvvJrlt7LlsY/olL1KUEHnrYnml6DnlKjnur/ot688L3NtYWxsPjwvc3Bhbj4nLFxcbiAgICB1cmw6IOivhuWIq+eggSArICQoJyNub0xvYWRpbmcjJylcXG4gICAgICAgIC5sYXp5UnVsZSgoKSA9PiB7XFxuICAgICAgICByZXR1cm4gXFxcImhpa2VyOi8vcGFnZS95aj9ydWxlPfCdkInwnZCa8J2Qr/CdkIPwnZCBJnVybD1odHRwczovL1xcXCIgKyBnbG9iYWxNYXAwLmdldFZhcignamF2ZGIwJywgJ2phdmRiLmNvbScpICsgXFxc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SspXFxcIikpWzFdXFxuICAgICAgICBldmFsKHNyYylcXG4gICAgICAgIHZhciBsaW5rID0gXFxcImh0dHBzOlxcXCIgKyBzcmNsaW5rICsgXFxcIiZzdHJlYW09MVxcXCJcXG4gICAgICAgIHZhciB1cmxQbGF5ID0gSlNPTi5wYXJzZShmZXRjaChsaW5rLCB7XFxuICAgICAgICAgICAgaGVhZGVyczoge1xcbiAgICAgICAgICAgICAgICBcXFwiUmVmZXJlclxcXCI6IGxvY2F0aW9uLFxcbiAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgb25seUhlYWRlcnM6IHRydWVcXG4gICAgICAgIH0pKS51cmxcXG4gICAgICAgIHJldHVybiB1cmxQbGF5ICsgXFxcIjt7UmVmZXJlckBcXFwiICsgbG9jYXRpb24gKyBcXFwifVxcXCJcXG4gICAgfSBlbHNlIGlmICgvZDAwMDBkfGRvb2R8ZHMycGxheS8udGVzdChsb2NhdGlvbikpIHtcXG4gICAgICAgIC8vRFPnur/ot69cXG4gICAgICAgIHZhciBodG1sID0gZmV0Y2gobG9jYXRpb24sIHtcXG4gICAgICAgICAgICBoZWFkZXJzOiB7XFxuICAgICAgICAgICAgICAgICdSZWZlcmVyJzogcmVmZXJlclxcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH0pXFxuICAgICAgICB2YXIgcGFzc19tZDUgPSBnZXRIb21lKGxvY2F0aW9uKSArIGh0bWwubWF0Y2goL1xcXFwvcGFzc19tZDVbXlxcXCInXSsvKVswXVxcbiAgICAgICAgdmFyIHRva2VuID0gaHRtbC5tYXRjaCgvY29va2llSW5kZXguKj9cXFxcJyguKj8pXFxcXCcvKVsxXVxcbiAgICAgICAgdmFyIGRhdGEgPSBmZXRjaChwYXNzX21kNSwge1xcbiAgICAgICAgICAgIGhlYWRlcnM6IHtcXG4gICAgICAgICAgICAgICAgXFxcIlJlZmVyZXJcXFwiOiBsb2NhdGlvblxcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH0pXFxuXFxuICAgICAgICBmdW5jdGlvbiBtYWtlUGxheSh0b2tlbikge1xcbiAgICAgICAgICAgIGZvciAodmFyIGEgPSBcXFwiXFxcIixcXG4gICAgICAgICAgICAgICAgICAgIHQgPSBcXFwiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODlcXFwiLFxcbiAgICAgICAgICAgICAgICAgICAgbiA9IHQubGVuZ3RoLFxcbiAgICAgICAgICAgICAgICAgICAgbyA9IDA7IDEwID4gbzsgbysrKVxcbiAgICAgICAgICAgICAgICBhICs9IHQuY2hhckF0KE1hdGguZmxvb3IoTWF0aC5yYW5kb20oKSAqIG4pKTtcXG4gICAgICAgICAgICByZXR1cm4gYSArIFxcXCI/dG9rZW49XFxcIiArIHRva2VuICsgXFxcIiZleHBpcnk9XFxcIiArIERhdGUubm93KCk7XFxuICAgICAgICB9O1xcbiAgICAgICAgdmFyIHVybFBsYXkgPSBkYXRhICsgbWFrZVBsYXkodG9rZW4pXFxuICAgICAgICByZXR1cm4gdXJsUGxheSArIFxcXCIjaXNWaWRlbz10cnVlIzt7UmVmZXJlckBcXFwiICsgbG9jYXRpb24gKyBcXFwifVxcXCJcXG4gICAgfSBlbHNlIGlmIChsb2NhdGlvbi5pbmNsdWRlcyhcXFwidnRiZS50b1xcXCIpKSB7XFxuICAgICAgICAvL1ZUVee6v+i3r1xcbiAgICAgICAgZnVuY3Rpb24gZXZhbGRlY29kZSh0ZXh0KSB7XFxuICAgICAgICAgICAgdmFyIGNvZGUgPSAnJztcXG4gICAgICAgICAgICB2YXIgcyA9IHRleHQucmVwbGFjZSgvXmV2YWwvLCAnJylcXG4gICAgICAgICAgICAgICAgLnJlcGxhY2UoJ3JldHVybiBwJywgJ2NvZGUrPXAnKVxcbiAgICAgICAgICAgIGV2YWwocyk7XFxuICAgICAgICAgICAgcmV0dXJuIGNvZGU7XFxuICAgICAgICB9XFxuXFxuICAgICAgICBjb25zdCBob3N0UmVnZXggPSAodXJsKSA9PiB7XFxuICAgICAgICAgICAgY29uc3QgbWF0Y2ggPSB1cmwubWF0Y2goL14oPzpodHRwcz86XFxcXC9cXFxcLyk/KD86d3d3XFxcXC4pPyhbYS16QS1aMC05LV17MSw2M31cXFxcLikrW2EtekEtWl17Miw2fS9pKTtcXG4gICAgICAgICAgICByZXR1cm4gbWF0Y2ggPyBtYXRjaFswXSA6IHVybDtcXG4gICAgICAgIH07XFxuXFxuICAgICAgICBsZXQgaG9zdCA9IGhvc3RSZWdleChyZWZlcmVyKVxcblxcbiAgICAgICAgdmFyIGh0bWwgPSBmZXRjaChsb2NhdGlvbiwge1xcbiAgICAgICAgICAgIGhlYWRlcnM6IHtcXG4gICAgICAgICAgICAgICAgUmVmZXJlcjogaG9zdCxcXG4gICAgICAgICAgICB9XFxuICAgICAgICB9KVxcbiAgICAgICAgdmFyIGlmcmFtZSA9IHBkZmEoaHRtbCwgXFxcImlmcmFtZVxcXCIpO1xcbiAgICAgICAgXFxuICAgICAgICBpZiAoaWZyYW1lLmxlbmd0aD4wKSB7XFxuICAgICAgICAgICAgaHRtbCA9IGZldGNoKHBkZmgoaWZyYW1lWzBdLCBcXFwiaWZyYW1lJiZzcmNcXFwiKSwge1xcbiAgICAgICAgICAgICAgICBoZWFkZXJzOiB7XFxuICAgICAgICAgICAgICAgICAgICBSZWZlcmVyOiBob3N0LFxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfSlcXG4gICAgICAgIH1cXG5cXG4gICAgICAgIHZhciBzY3JpcHRzID0gcGRmYShodG1sLCBcXFwiYm9keSYmc2NyaXB0XFxcIik7XFxuICAgICAgICBsZXQgc2NyaXB0ID0gc2NyaXB0cy5maWx0ZXIoeCA9PiB4LmluY2x1ZGVzKCdldmFsJykpLm1hcChtID0+IHBkZmgobSwgXFxcInNjcmlwdCYmSHRtbFxcXCIpKVswXTtcXG4gICAgICAgIGlmKHNjcmlwdD09dW5kZWZpbmVkKXtcXG4gICAgICAgICAgICByZXR1cm4gJ3RvYXN0Oi8v5peg5pWw5o2uJ1xcbiAgICAgICAgfVxcbiAgICAgICAgXFxuICAgICAgICBsZXQgbTN1OCA9IC9maWxlOlxcXCIoLio/KVxcXCIvZy5leGVjKGV2YWxkZWNvZGUoc2NyaXB0KSlbMV07XFxuICAgICAgICByZXR1cm4gbTN1ODtcXG5cXG4gICAgfSBlbHNlIHtcXG4gICAgICAgIGxvZyhcXFwi6Z2p5ZG95bCa5pyq5oiQ5YqfLOWQjOW/l+S7jemcgOWKquWKmz0+XFxcIiArIGxvY2F0aW9uKVxcbiAgICAgICAgcmV0dXJuIFxcXCJjb25maXJtOi8v5ZKzLOacrOe6v+i3r+i/meS4quWcsOWdgOW5tuayoeacieino+aekO+8jOaXpeW/l+W3suaJk+WNsOWHuu+8jOaVrOivt+afpeeciy5qczonaGlrZXI6Ly9lbXB0eScgXFxcIlxcbiAgICB9XFxufSlcIn1dIiwiaWNvbiI6Imh0dHBzOi8vaW1nLnZpbnVhLmNuL2ltYWdlcy96cndLNC53ZWJwIiwicHJveHkiOiIifQ==
Add Comment
Please, Sign In to add comment