Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@grab4k(新版)@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoiZ3JhYjRrKOaWsOeJiCkiLCJhdXRob3IiOiLpmo/po44iLCJ1cmwiOiJoaWtlcjovL2VtcHR5IyNodHRwczovL2dyYWI0ay5jb20vdm9kL3Nob3cvaWQvMjAvcGFnZS9meXBhZ2UuaHRtbCIsInZlcnNpb24iOjAsImNvbF90eXBlIjoibW92aWVfMyIsImNsYXNzX25hbWUiOiIiLCJ0eXBlIjoidmlkZW8iLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczpcblxuTVlfVVJMID0gTVlfVVJMLnJlcGxhY2UoJ2hpa2VyOi8vZW1wdHkjIycsICcnKVxuXG5sZXQgdHJ1ZV91cmwgPSBnZXRNeVZhcihNWV9SVUxFLnVybCwgTVlfVVJMKVxuY29uc3QgcGFnZSA9IE1ZX1BBR0VcbmlmKGdldE15VmFyKE1ZX1JVTEUudXJsKSl7XG50cnVlX3VybCA9IHRydWVfdXJsLnJlcGxhY2UoL1xcLmh0bWwvLCcvcGFnZS8nICsgcGFnZSArICcuaHRtbCcpfVxudmFyIGh0bWwgPSByZXF1ZXN0KHRydWVfdXJsKVxuXG5jb25zdCDlpKfnsbsgPSAnYm9keSYmLnNjcm9sbC1ib3gnXG5jb25zdCDmi7zmjqXlsI/nsbsgPSAnJ1xuY29uc3Qg5YiG57G75a2QID0gJ2JvZHkmJmE6bm90KDptYXRjaGVzKOmHjee9rikpJ1xuY29uc3Qg5aSn57G75ZCNID0gJ2EmJlRleHQnXG5jb25zdCDlpKfnsbvpk74gPSAnYSYmaHJlZidcbmNvbnN0I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ICAgfVxcbn0gY2F0Y2ggKGUpIHt9O1xcblxcbnRyeSB7XFxuICAgIHZhciDlkI0gPSBwZGZoKGh0bWwsIOeJh+WQjSkucmVwbGFjZSgv55S15b2xfOeUteinhuWJp3znuqrlvZXniYd85Yqo5ryrfELnq5kvZywgJycpXFxuICAgIHZhciDnsbsgPSAn57G75Z6L77yaJyArIHBkZmgoaHRtbCwg57G75Z6LKS5yZXBsYWNlKC9cXFxcL3zliIbnsbvvvJp855S15b2xfOi/nue7reWJp3zliqjmvKt857G75Z6L77yaL2csICcnKVxcbiAgICB2YXIg5a+8ID0gJ+WvvOa8lO+8micgKyBwZGZoKGh0bWwsIOWvvOa8lCkucmVwbGFjZSgvXFxcXC985a+85ryU77yaL2csICcgJylcXG4gICAgdmFyIOS4uyA9ICfkuLvmvJTvvJonICsgcGRmaChodG1sLCDkuLvmvJQpLnJlcGxhY2UoL1xcXFwvfOS4u+a8lO+8mnzmvJTlkZjvvJovZywgJyAnKVxcbiAgICB2YXIg5pu0ID0gJ+abtOaWsO+8micgKyBwZGZoKGh0bWwsIOabtOaWsCkucmVwbGFjZSgvXFxcXC985pu05paw77yafOabtOaWsDp854q25oCB77yafOeKtuaAgTovZywgJyAnKVxcbiAgICB2YXIg54q2ID0gJ+eKtuaAge+8micgKyBwZGZoKGh0bWwsIOeKtuaAgSkucmVwbGFjZSgvXFxcXC9854q25oCB77yafOeKtuaAgTp85pu05paw77yafOabtOaWsDovZywgJyAnKVxcbiAgICB2YXIg5Zu+ID0gcGQoaHRtbCwg5Zu+54mHKVxcbiAgICB2YXIg5LuLID0gcGRmaChodG1sLCDnroDku4spLnJlcGxhY2UoL+OAgHzlsZXlvIB85pS26LW3fOivpuaDhe+8mnxb5pS26LW36YOo5YiGXXzmpoLopoEgOnzCqeixhueToy9nLCAnJylcXG59IGNhdGNoIChlKSB7fTtcXG5cXG5sZXQgdGl0bGVzID0g5a+8LnN1YnN0cmluZygwLCAxNikgKyAnXFxcXG4nICsg5Li7LnN1Y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21hbGw+XFxcIiArICdcXFxcdFxcXFx0XFxcXHRcXFxcdFxcXFx0XFxcXHRcXFxcdFxcXFx0XFxcXHRcXFxcdFxcXFx0XFxcXHRcXFxcdFxcXFx0XFxcXHRcXFxcdFxcXFx0XFxcXHRcXFxcdFxcXFx0XFxcXHRcXFxcdFxcXFx0PHNwYW4gc3R5bGU9XFxcImZsb2F0OnJpZ2h0XFxcIj4nICsgc3gsXFxuICAgICAgICB1cmw6ICQoJyNub0xvYWRpbmcjJykubGF6eVJ1bGUoKCkgPT4ge1xcbiAgICAgICAgICAgIGlmIChnZXRNeVZhcignemYnLCAnZicpID09ICd6Jykge1xcbiAgICAgICAgICAgICAgICBwdXRNeVZhcignemYnLCAnZicpO1xcbiAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgIHB1dE15VmFyKCd6ZicsICd6Jyk7XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIHJlZnJlc2hQYWdlKHRydWUpO1xcbiAgICAgICAgICAgIHJldHVybiAnI25vSGlzdG9yeSNoaWtlcjovL2VtcHR5J1xcbiAgICAgICAgfSksXFxuICAgICAgICBjb2xfdHlwZTogJ3RleHRfY2VudGVyXzEnXFxuICAgIH0pXFxuXFxuICAgIGlmIChnZXRNeVZhcignemYnLCAnZicpID09ICdmJykge1xcbiAgICAgICAgdmFyIGxpc3QgPSBsaXN0c1tpbmRleF0ucmV2ZXJzZSgpO1xcbiAgICB9IGVsc2Uge1xcbiAgICAgICAgdmFyIGxpc3QgPSBsaXN0c1tpbmRleF07XFxuICAgIH07XFxuXFxuICAgIHRyeSB7XFxuICAgICAgICBmb3IgKGxldCBqID0gMDsgaiA8IGxpc3QubGVuZ3RoOyBqKyspIHtcXG4gICAgICAgICAgICBsZXQgam0gPSBwZGZoKGxpc3Rbal0sIOmAiembhuWQjSkucmVwbGFjZSgvbWFnbmV0LiovZywgJycpO1xcbiAgICAgICAgICAgIGxldCB1cmxsID0gcGRmaChsaXN0W2pdLCDpgInpm4bpk74pO1xcbiAgICAgICAgICAgIGlmICh1cmxsLm1hdGNoKC9lZDJrfEJldHRlci8pKSB7XFxuICAgICAgICAgICAgICAgIHZhciB1cmwgPSBcXFwiZG93bmxvYWQ6Ly9cXFwiICsgdXJsbFxcbiAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgIHZhciB1cmwgPSB1cmxsLnJlcGxhY2UoLy4qXFxcXF18LirjgJF8Lirnm5hcXFxc77yafC4q5o6l77yafOaPkOWPlueggS4qL2csICcnKTtcXG4gICAgICAgICAgICB9XFxuICAgICAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgdGl0bGU6IGptLFxcbiAgICAgICAgICAgICAgICB1cmw6IHVybCxcXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6ICd0ZXh0X2NlbnRlcl8xJyxcXG4gICAgICAgICAgICAgICAgZXh0cmE6IHtcXG4gICAgICAgICAgICAgICAgICAgIGlkOiB1cmwsXFxuICAgICAgICAgICAgICAgICAgICBibG9ja1J1bGVzOiBbJy5jc3MnLCAnLmdpZicsICcuanBnJywgJy5qcGVnJywgJy5wbmcnLCAnLmljbycsICcuc3ZnJywgJ2NuenonLCAnZ29vZ2xlJywgJ3huLS0qOionLCAnaG0uYmFpZHUuY29tJywgJy9hZHMvKi5qcycsICcubTN1OCcsICcubXA0J10sXFxuICAgICAgICAgICAgICAgICAgICBqc0xvYWRpbmdJbmplY3Q6IHRydWVcXG4gICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIH0pO1xcbiAgICAgICAgfVxcbiAgICB9IGNhdGNoIChlKSB7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiAn5pqC5peg54mH5rqQJyxcXG4gICAgICAgICAgICB1cmw6IE1ZX1VSTCxcXG4gICAgICAgICAgICBjb2xfdHlwZTogJ3RleHRfY2VudGVyXzEnXFxuICAgICAgICB9KTtcXG4gICAgfVxcbn07XFxuXFxuc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