Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@摸鱼日报.beta@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi5pG46bG85pel5oqlLmJldGEiLCJhdXRob3IiOiJ3b3ciLCJ1cmwiOiJoaWtlcjovL2VtcHR5IyNmeXBhZ2UiLCJ2ZXJzaW9uIjowLCJjb2xfdHlwZSI6InBpY18xX2NhcmQiLCJjbGFzc19uYW1lIjoiIiwidHlwZSI6InZpZGVvIiwiY2xhc3NfdXJsIjoiIiwiYXJlYV9uYW1lIjoiIiwiYXJlYV91cmwiOiIiLCJzb3J0X25hbWUiOiIiLCJ5ZWFyX25hbWUiOiIiLCJzb3J0X3VybCI6IiIsInllYXJfdXJsIjoiIiwiZmluZF9ydWxlIjoianM6XG52YXIgZCA9IFtdO1xudmFyIHJyID0ge1xuICAgIFwiY29kZVwiOiBcImluZGV4XCIsXG4gICAgXCJkYXRhXCI6IHt9LFxuICAgIFwibW9kXCI6IFwic3lzdGVtXCIsXG4gICAgXCJvYXV0aF9pZFwiOiBcImd5blVHdEx2U0Roa0tBc2cxNzA0NTEzNzg5Mjg2XCIsXG4gICAgXCJvYXV0aF90eXBlXCI6IFwicHdhXCIsXG4gICAgXCJ0aW1lc3RhbXBcIjogMS43MDQ1OTU4NTcxMDZFMTIsXG4gICAgXCJ2ZXJzaW9uXCI6IFwiNC41LjBcIlxufVxudmFyIGVuY3J5cHRkYXRhID0gJC5yZXF1aXJlKFwiZGF0YVwiKS5lbmNyeXB0KHJyKTtcblxudmFyIHRpbWVzdGFtcCA9IGVuY3J5cHRkYXRhLnRpbWVzdGFtcC50b1N0cmluZygpO1xudmFyIGRhdGEgPSBlbmNyeXB0ZGF0YS5kYXRhO1xudmFyIHNpZ24gPSBlbmNyeXB0ZGF0YS5zaWduO1xuXG52YXIgRGF0YSA9IHBvc3QoXCJodHRwczovL3p3c2Z4di5ibWFmZHh0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mllXzFfdmVydGljYWxfcGljXCIsIFwibW92aWVfMV92ZXJ0aWNhbF9waWNfYmx1clwiLCBcInBpY18xXCIsIFwicGljXzJcIiwgXCJwaWNfM1wiLCBcInBpY18xX2Z1bGxcIiwgXCJwaWNfMV9jZW50ZXJcIiwgXCJwaWNfMV9jYXJkXCIsIFwicGljXzJfY2FyZFwiLCBcInBpY18zX3NxdWFyZVwiLCBcImNhcmRfcGljXzFcIiwgXCJjYXJkX3BpY18yXCIsIFwiY2FyZF9waWNfM1wiLCBcImNhcmRfcGljXzNfY2VudGVyXCIsIFwibG9uZ190ZXh0XCIsIFwicmljaF90ZXh0XCIsIFwic2Nyb2xsX2J1dHRvblwiLCBcImZsZXhfYnV0dG9uXCJdO1xuICAgICAgICB2YXIgVHlwZTEgPSBbXTtcbiAgICAgICAgZm9yICh2YXIgaSBpbiBUeXBlKSB7XG4gICAgICAgICAgICB2YXIgY29sID0gc3RvcmFnZTAuZ2V0SXRlbSgndHlwZScsICcnKTtcbiAgICAgICAgICAgIHZhciBDb2wgPSAoY29sLmluY2x1ZGVzKCfwn5GJ8J+PvScpKSA/IGNvbC5zcGxpdCgn8J+RifCfj70nKVsxXSA6IGNvbDtcbiAgICAgICAgICAgIGlmIChUeXBlW2ldID09IENvbCkge1xuICAgICAgICAgICAgICAgIFR5cGVbaV0gPSAn8J+RifCfj70nICsgVHlwZVtpXTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgVHlwZVtpXSA9IFR5cGVbaV07XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBUeXBlMVtpXSA9IFR5cGVbaV07XG4gICAgICAgIH1cbiAgICAgICAgc2hvd1NlbGVjdE9wdGlvbnMoe1xuICAgICAgICAgICAgdGl0bGU6IFwi6YCJ5oup57G75Z6LXCIsXG4gICAgICAgICAgICBjb2w6IDIsXG4gICAgICAgICAgICBvcHRpb25zOiBUeXBlMSxcbiAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKCgpID0+IHtcbiAgICAgICAgICAgICAgICBzdG9yYWdlMC5zZXRJdGVtKCd0eXBlJywgaW5wdXQpO1xuICAgICAgICAgICAgICAgIHZhciBjb2wgPSBzdG9yYWdlMC5nZXRJdGVtKCd0eXBlJywgJycpO1xuICAgICAgICAgICAgICAgIHZhciBDb2wgPSAoY29sLmluY2x1ZGVzKCfwn5GJ8J+PvScpKSA/IGNvbC5zcGxpdCgn8J+RifCfj70nKVsxXSA6IGNvbDtcbiAgICAgICAgICAgICAgICBzdG9yYWdlMC5zZXRJdGVtKCdDb2wwJywgQ29sKTtcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xuICAgICAgICAgICAgfSlcbiAgICAgICAgfSk7XG4gICAgICAgIHJldHVybiBcImhpa2VyOi8vZW1wdHlcIlxuICAgIH0pLFxufSx7XG4gICAgdGl0bGU6ICfmkJzntKInLFxuICAgIGpzOiAkLnRvU3RyaW5nKCgpID0+IHtcbiAgICAgICAgcmV0dXJuICdoaWtlcjovL3BhZ2Uvc2VhcmNoJztcbiAgICB9KSxcbn0se1xuICAgICAgICAgICAgICAgIHRpdGxlOiAn6aaW6aG1JyxcbiAgICAgICAgICAgICAgICBqczogJC50b1N0cmluZygoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKCk7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9lbXB0eSc7XG4gICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICB9LCB7XG4gICAgICAgICAgICAgICAgdGl0bGU6ICfnrKwnICsgTVlfUEFHRSArICfpobUnLFxuICAgICAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKCgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5JztcbiAgICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgIH0sIHtcbiAgICAgICAgICAgICAgICB0aXRsZTogbmlja05hbWUsXG4gICAgICAg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c3Ryb25nPic7XFxufVxcblxcbmZ1bmN0aW9uIHN0cm9uZ1IoZCwgYykge1xcbiAgICByZXR1cm4gJzxzdHJvbmc+PGZvbnQgY29sb3I9IycgKyAoYyB8fCAnMDAwMDAwJykgKyAnPicgKyBkICsgJzwvZm9udD48L3N0cm9uZz4nO1xcbn1cXG5cXG5mdW5jdGlvbiBDYXRlZ29yeShsaXN0LCBtb2RlLCBkKSB7XFxuICAgIGZvciAodmFyIGkgaW4gbGlzdCkge1xcbiAgICAgICAgdmFyIExpc3QgPSBsaXN0W2ldO1xcbiAgICAgICAgdmFyIHRpdGxlID0gTGlzdC50aXRsZTtcXG4gICAgICAgIHZhciBUaXRsZSA9IChnZXRNeVZhcignY29sb3InLCAnLTEnKSA9PSBpKSA/IHN0cm9uZyh0aXRsZSwgJ0ZGNjY5OScpIDogdGl0bGU7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiBUaXRsZSxcXG4gICAgICAgICAgICB1cmw6ICQoTGlzdC50eXBlKS5sYXp5UnVsZSgoaSwgbW9kZSwgTGlzdCkgPT4ge1xcbiAgICAgICAgICAgICAgICBpZiAobW9kZSA9PSAwKSB7XFxuICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcigndHlwZScsIGlucHV0KTtcXG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmIChtb2RlID09IDEpIHtcXG4gICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKCd0eXBlUycsIGlucHV0KTtcXG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmIChtb2RlID09IDIpIHtcXG4gICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKCd0eXBlU1MnLCBpbnB1dCk7XFxuICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgcHV0TXlWYXIoJ2NvbG9yJywgaSk7XFxuICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKCk7XFxuICAgICAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9lbXB0eSc7XFxuICAgICAgICAgICAgfSwgaSwgbW9kZSwgTGlzdCksXFxuICAgICAgICAgICAgY29sX3R5cGU6ICdmbGV4X2J1dHRvbidcXG4gICAgICAgIH0pO1xcbiAgICB9XFxuICAgIGQucHVzaCh7XFxuICAgICAgICBjb2xfdHlwZTogJ2JsYW5rX2Jsb2NrJyxcXG4gICAgfSk7XFxuICAgIHJldHVybiBkO1xcbn1cXG5cXG5mdW5jdGlvbiBjYXRlZ29yeShsaXN0LCBkKSB7XFxuICAgIGlmIChnZXRJdGVtKCdzd2l0Y2gnLCAnb2ZmJykgPT0gJ29uJykge1xcbiAgICAgICAgZm9yICh2YXIgaSBpbiBsaXN0KSB7XFxuICAgICAgICAgICAgdmFyIExpc3QgPSBsaXN0W2ldO1xcbiAgICAgICAgICAgIHZhciB0aXRsZSA9IExpc3QubmFtZTtcXG4gICAgICAgICAgICB2YXIgVGl0bGUgPSAoZ2V0TXlWYXIoJ0NvbG9yJywgJy0xJykgPT0gaSkgPyBzdHJvbmcodGl0bGUsICdGRjY2OTknKSA6IHRpdGxlO1xcbiAgICAgICAgICAgIGlmIChMaXN0LmlkID09ICc2JyB8fCBMaXN0LmlkID09ICcyJykge1xcblxcbiAgICAgICAgICAgIH0gZWxzZSBpZiAoTGlzdC5pZCA9PSAnNCcgfHwgTGlzdC5pZCA9PSAnNycpIHtcXG4gICAgICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiBUaXRsZSxcXG4gICAgICAgICAgICAgICAgICAgIHVybDogJChMaXN0LmlkKS5sYXp5UnVsZSgoaSwgTGlzdCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKCdpZCcsIGlucHV0KTtcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcignQ29sb3InLCBpKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9wYWdlL3R5cGUxP2Z5cGFnZSc7XFxuICAgICAgICAgICAgICAgICAgICB9LCBpLCBMaXN0KSxcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnc2Nyb2xsX2J1dHRvbidcXG4gICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiBUaXRsZSxcXG4gICAgICAgICAgICAgICAgICAgIHVybDogJChMaXN0LmlkKS5sYXp5UnVsZSgoaSwgTGlzdCkgPT4ge1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHB1dE15VmFyKCdpZCcsIGlucHV0KTtcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcignQ29sb3InLCBpKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9wYWdlL3R5cGUyP2Z5cGFnZSc7XFxuICAgICAgICAgICAgICAgICAgICB9LCBpLCBMaXN0KSxcXG4gICAgICAgICAgICAgICAgICAgIGNvbF90eXBlOiAnc2Nyb2xsX2J1dHRvbidcXG4gICAgICAgICAgICAgICAgfSk7XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgfVxcbiAgICB9XFxuICAgIGQucHVzaCh7XFxuICAgICAgICB0aXRsZTogJ/CflJInLFxcbiAgICAgICAgdXJsOiAkKCcnKS5sYXp5UnVsZSgoKSA9PiB7XFxuICAgICAgICAgICAgcHV0TXlWYXIoJ29uLW9mZicsICdvZmYnKVxcbiAgICAgICAgICAgIHJlZnJlc2hQYWdlKCk7XFxuICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5JztcXG4gICAgICAgIH0pLFxcbiAgICAgICAgY29sX3R5cGU6ICdmbGV4X2J1dHRvbidc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gICAgICAgY29kZTogVHlwZWxpc3RbaV0uY29kZSxcXG4gICAgICAgICAgICAgICAgcGFnZVRpdGxlOiBUeXBlbGlzdFtpXS50aXRsZVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH0pO1xcbiAgICAgICAgZm9yICh2YXIgaiBpbiBsaXN0KSB7XFxuICAgICAgICAgICAgdmFyIHBsYXl1cmwgPSBsaXN0W2pdLnBsYXlVcmw7XFxuICAgICAgICAgICAgdmFyIHRpdGxlID0gbGlzdFtqXS50aXRsZTtcXG4gICAgICAgICAgICB2YXIgZGVzYyA9ICdcXFxcdPCflKUnICsgbGlzdFtqXS5wbGF5X2NvdW50O1xcbiAgICAgICAgICAgIHZhciBpbWFnZXVybCA9IGxpc3Rbal0udGh1bWJJbWc7XFxuICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgdGl0bGU6IHRpdGxlLFxcbiAgICAgICAgICAgICAgICBkZXNjOiBkZXNjLFxcbiAgICAgICAgICAgICAgICBpbWc6IGltYWdldXJsICsgaW1hZ2UsXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiBjb2xfdHlwZSxcXG4gICAgICAgICAgICAgICAgdXJsOiBwbGF5dXJsLnJlcGxhY2UoJzEwcGxheScsICdsb25nJylcXG4gICAgICAgICAgICB9KTtcXG4gICAgICAgIH1cXG4gICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgY29sX3R5cGU6ICdiaWdfYmxhbmtfYmxvY2snLFxcbiAgICAgICAgICAgIHVybDogJ2hpa2VyOi8vZW1wdHknXFxuICAgICAgICB9KTtcXG4gICAgfVxcbn1cXG5zZXRSZXN1bHQoZCk7XCJ9LHtcImNvbF90eXBlXCI6XCJtb3ZpZV8zXCIsXCJuYW1lXCI6XCLikaHpobXpnaIt55So5oi3LeW4luWtkOWIl+ihqFwiLFwicGF0aFwiOlwibmV3c1wiLFwicnVsZVwiOlwianM6XFxudmFyIGQgPSBbXTtcXG52YXIgcGFnZSA9IE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uICAgICAgICAgICAgICAgIGlkOiBpZCxcXG4gICAgICAgICAgICAgICAgcGFnZVRpdGxlOiB0aXRsZVxcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH0pO1xcbiAgICAgICAgZm9yICh2YXIgaSBpbiBsaXN0KSB7XFxuICAgICAgICAgICAgdmFyIHRpdGxlID0gbGlzdFtpXS50aXRsZTtcXG4gICAgICAgICAgICB2YXIgcGxheVVybCA9IGxpc3RbaV0ucGxheVVybDtcXG4gICAgICAgICAgICB2YXIgbmlja05hbWUgPSBsaXN0W2ldLm5pY2tOYW1lO1xcbiAgICAgICAgICAgIHZhciB1dWlkID0gbGlzdFtpXS51dWlkO1xcbiAgICAgICAgICAgIHZhciBkZXNjID0gJ/CflKUnICsgbGlzdFtpXS5wbGF5X2NvdW50ICsgJ1xcXFx0XFxcXHRcXFxcdFxcXFx0XFxcXHRcXFxcdOKPse+4jycgKyBsaXN0W2ldLmR1cmF0aW9uU3RyO1xcbiAgICAgICAgICAgIHZhciBpbWFnZXVybCA9IGxpc3RbaV0udGh1bWJJbWc7XFxuICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgdGl0bGU6IHRpdGxlLFxcbiAgICAgICAgICAgICAgICBkZXNjOiBkZXNjLFxcbiAgICAgICAgICAgICAgICBpbWc6IGltYWdldXJsICsgaW1hZ2UsXFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAoc3RvcmFnZTAuZ2V0SXRlbSgnQ29sMicsICcnKSA9PSAnJykgPyAnbW92aWVfMicgOiBzdG9yYWdlMC5nZXRJdGVtKCdDb2wyJywgJycpLFxcbiAgICAgICAgICAgICAgICB1cmw6IHBsYXlVcmwucmVwbGFjZSgnMTBwbGF5JywgJ2xvbmcnKSxcXG4gICAgICAgICAgICAgICAgZXh0cmE6IHtcXG4gICAgICAgICAgICAgICAgICAgIGxvbmdDbGljazogZXZhbChKU09OLnBhcnNlKHJlcXVlc3QoJ2hpa2VyOi8vcGFnZS9sb25n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xcbiAgICAgICAgICAgICAgICBUeXBlW2ldID0gJ/CfkYnwn4+9JyArIFR5cGVbaV07XFxuICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgVHlwZVtpXSA9IFR5cGVbaV07XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIFR5cGUxW2ldID0gVHlwZVtpXTtcXG4gICAgICAgIH1cXG4gICAgICAgIHNob3dTZWxlY3RPcHRpb25zKHtcXG4gICAgICAgICAgICB0aXRsZTogXFxcIumAieaLqeexu+Wei1xcXCIsXFxuICAgICAgICAgICAgY29sOiAyLFxcbiAgICAgICAgICAgIG9wdGlvbnM6IFR5cGUxLFxcbiAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgICAgICAgICAgc3RvcmFnZTAuc2V0SXRlbSgndHlwZScsIGlucHV0KTtcXG4gICAgICAgICAgICAgICAgdmFyIGNvbCA9IHN0b3JhZ2UwLmdldEl0ZW0oJ3R5cGUnLCAnJyk7XFxuICAgICAgICAgICAgICAgIHZhciBDb2wgPSAoY29sLmluY2x1ZGVzKCfwn5GJ8J+PvScpKSA/IGNvbC5zcGxpdCgn8J+RifCfj70nKVsxXSA6IGNvbDtcXG4gICAgICAgICAgICAgICAgc3RvcmFnZTAuc2V0SXRlbSgnQ29sX21lZGlhJywgQ29sKTtcXG4gICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoKTtcXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgfSk7XFxuICAgICAgICByZXR1cm4gXFxcImhpa2VyOi8vZW1wdHlcXFwiXFxuICAgIH0pfSx7XFxuICAgIHRpdGxlOiAn5pCc57SiJyxcXG4gICAganM6ICQudG9TdHJpbmcoKCkgPT4ge1xcbiAgICAgICAgcmV0dXJuICdoaWtlcjovL3BhZ2Uvc2VhcmNoJztcXG4gICAgfSksXFxufSx7XFxuICAgIHRpdGxlOiAn6aaW6aG1JyxcXG4gICAganM6ICQudG9TdHJpb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AgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgIFR5cGVbaV0gPSBUeXBlW2ldO1xcbiAgICAgICAgICAgIH1cXG4gICAgICAgICAgICBUeXBlMVtpXSA9IFR5cGVbaV07XFxuICAgICAgICB9XFxuICAgICAgICBzaG93U2VsZWN0T3B0aW9ucyh7XFxuICAgICAgICAgICAgdGl0bGU6IFxcXCLpgInmi6nnsbvlnotcXFwiLFxcbiAgICAgICAgICAgIGNvbDogMixcXG4gICAgICAgICAgICBvcHRpb25zOiBUeXBlMSxcXG4gICAgICAgICAgICBqczogJC50b1N0cmluZygoKSA9PiB7XFxuICAgICAgICAgICAgICAgIHN0b3JhZ2UwLnNldEl0ZW0oJ3R5cGUnLCBpbnB1dCk7XFxuICAgICAgICAgICAgICAgIHZhciBjb2wgPSBzdG9yYWdlMC5nZXRJdGVtKCd0eXBlJywgJycpO1xcbiAgICAgICAgICAgICAgICB2YXIgQ29sID0gKGNvbC5pbmNsdWRlcygn8J+RifCfj70nKSkgPyBjb2wuc3BsaXQoJ/CfkYnwn4+9JylbMV0gOiBjb2w7XFxuICAgICAgICAgICAgICAgIHN0b3JhZ2UwLnNldEl0ZW0oJ0NvbDInLCBDb2wpO1xcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgICAgIH0pXFxuICAgICAgICB9KTtcXG4gICAgICAgIHJldHVybiBcXFwiaGlrZXI6Ly9lbXB0eVxcXCJcXG4gICAgfSksXFxufSwge1xcbiAgICB0aXRsZTogJ+aQnOe0oicsXFxuICAgIGpzOiAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgIHJldHVybiAnaGlrZXI6Ly9wYWdlL3NlYXJjaCc7XFxuICAgIH0pLFxcbn0se1xcbiAgICB0aXRsZTogJ+mmlumhtScsXFxuICAgIGpzOiAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgIHJlZnJlc2hQYWdlKCk7XFxuICAgICAgICByZXR1cm4gJ2hpa2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ICAgIHZhciB0aXRsZSA9IG1lZGlhbGlzdFtpXS50aXRsZTtcXG4gICAgdmFyIGltZyA9IG1lZGlhbGlzdFtpXS50aHVtYkltZztcXG4gICAgLy92YXIgcGxheVVybCA9IG1lZGlhbGlzdFtpXS5wbGF5VXJsO1xcbiAgICBkLnB1c2goe1xcbiAgICAgICAgdGl0bGU6IHRpdGxlLFxcbiAgICAgICAgaW1nOiBpbWcgKyBpbWFnZSxcXG4gICAgICAgIGNvbF90eXBlOiAnbW92aWVfMicsXFxuICAgICAgICB1cmw6ICdoaWtlcjovL3BhZ2Uvc2VhcmNoX2hvdFRvcGljc19kZXRhaWwnLFxcbiAgICAgICAgZXh0cmE6IHtcXG4gICAgICAgICAgICBpZDogaWQsXFxuICAgICAgICAgICAgcGFnZVRpdGxlOiBcXFwi6K+m5oOFXFxcIlxcbiAgICAgICAgfVxcbiAgICB9KTtcXG59XFxufVxcbnNldFJlc3VsdChkKTtcIn1dIiwiaWNvbiI6IiIsInByb3h5IjoiIn0=
Add Comment
Please, Sign In to add comment