Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@人人影视@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi5Lq65Lq65b2x6KeGIiwiYXV0aG9yIjoi57yY5YiGIiwidXJsIjoiaHR0cHM6Ly93d3cucmVucmVuLnByby9saXN0L2FsbD9wYWdlPWZ5cGFnZSIsInZlcnNpb24iOjAsImNvbF90eXBlIjoibW92aWVfMyIsImNsYXNzX25hbWUiOiIiLCJ0eXBlIjoidmlkZW8iLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczpcbnZhciBkID0gW107XG5pZiAoTVlfUEFHRSA9PSAxKSB7XG5sZXQgdGFicyA9IHsgICAgICBcbiAgICAgICAgXCLpppbpobVcIjogXCJodHRwczovL2xhbm1laWd1b2ppYW5nLmNvbS90dWJpYW8vcS8xNjcucG5nXCIsXG4gICAgICAgIFwi5b2x6KeG5bqTXCI6IFwiaHR0cHM6Ly9sYW5tZWlndW9qaWFuZy5jb20vdHViaWFvL3EvMTY5LnBuZ1wiLFxuICAgICAgICBcIuaOkuihjOamnFwiOiBcImh0dHBzOi8vbGFubWVpZ3VvamlhbmcuY29tL3R1Ymlhby9xLzE2OC5wbmdcIlxuICAgIH1cbiAgICBPYmplY3QuZW50cmllcyh0YWJzKS5mb3JFYWNoKGl0ZW0gPT4ge1xuICAgICAgICBwdXRNeVZhcign6YCJ5Lit6aKc6ImyJywgJyMzQ0U2OEUnKTtcbiAgICAgICAgeHkgPSc8Yj48c3BhbiBzdHlsZT1cImNvbG9yOiAjMWFhZDE5XCI+JyArIGl0ZW1bMF0gKyAnPC9zcGFuPjwvYj4nO1xuXG4gICAgICAgIGQucHVzaCh7XG4gICAgICAgICAgICB0aXRsZTogaXRlbVswXSA9PSBnZXRNeVZhcignbW9kZScsICfpppbpobUnKSAgPyB4eSA6IGl0ZW1bMF0sXG4gICAgICAgICAgICBpbWc6IGl0ZW1bMV0sXG4gICAgICAgICAgICB1cmw6ICQoJyNub0xvYWRpbmcjJykubGF6eVJ1bGUoKHRhKSA9PiB7XG4gICAgICAgICAgICAgICAgcHV0TXlWYXIoXCJtb2RlXCIsIHRhKVxuICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKClcbiAgICAgICAgICAgICAgICByZXR1cm4gXCJoaWtlcjovL2VtcHR5XCJcbiAgICAgICAgICAgIH0sIGl0ZW1bMF0pLFxuICAgICAgICAgICAgY29sX3R5cGU6ICdpY29uX3NtYWxsXzMnLFxuICAgICAgICB9KVxuICAgIH0pICBcbn1cblxuICAgIGxldCBtb2RlID0gZ2V0TXlWYXIoXCJtb2RlXCIsIFwi6aaW6aG1XCIpICAgXG4gICAgaWYgKG1vZGUgPT0gXCLpppbpobVcIikge1xuaWYgKE1ZX1BBR0UgPT0gMSkge1xudmFyIGh0bWwgPSByZXF1ZXN0KCdodHRwczovL3d3dy5yZW5yZW4ucHJvLycpO1xuICAgIC8vdmFyIGxpc3QgPSBwZGZhKGh0bWwsICcuY29udGVudCYmLm1vZHVsZSwxOicpO1xuICAgIFxuICAgICAgICBkLnB1c2goe1xuICAgICAgICAgICAgdGl0bGU6ICfwn5SlJytwZGZoKGh0bWwsICdoMiYmVGV4dCcpLFxuICAgICAgICAgICAgY29sX3R5cGU6IFwicmljaF90ZXh0XCJcbiAgICAgICAgfSkgIFxuICAgICB2YXIgbGlzdCA9IHBkZmEoaHRtbCwgJy5tb2R1bGUtaXRlbXMmJi5tb2R1bGUtaXRlbScpO1xuICAgIGZvciAodmFyIGogaW4gbGlzdCkge1xuICAgICAgICBkLnB1c2goe1xuICAgICAgICAgICAgdGl0bGU6IHBkZmgobGlzdFtqXSwgJ2EmJnRpdGxlJyksXG4gICAgICAg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JcbiAgICAgICAgfSk7XG4gICAgfVxuZC5wdXNoKHtcbiAgICAgICAgICAgIHRpdGxlOiAn8J+TuicrcGRmaChodG1sLCAnaDIsNCYmVGV4dCcpLFxuICAgICAgICAgICAgY29sX3R5cGU6IFwidGV4dF9jZW50ZXJfMVwiXG4gICAgICAgIH0pICBcbiAgICAgdmFyIGxpc3QgPSBwZGZhKGh0bWwsICcubW9kdWxlLXRleHRsaXN0LDEmJmEnKTtcbiAgICBmb3IgKHZhciBqIGluIGxpc3QpIHtcbiAgICAgICAgZC5wdXNoKHtcbiAgICAgICAgICAgIHRpdGxlOiBwZGZoKGxpc3Rbal0sICdhJiZUZXh0JyksXG4gICAgICAgICAgICB1cmw6IHBkKGxpc3Rbal0sICdhJiZocmVmJyksXG4gICAgICAgICAgICAgY29sX3R5cGU6IFwidGV4dF8xXCJcbiAgICAgICAgfSk7XG4gICAgfVxuZC5wdXNoKHtcbiAgICAgICAgICAgIHRpdGxlOiAn8J+UpScrcGRmaChodG1sLCAnaDIsNiYmVGV4dCcpLFxuICAgICAgICAgICAgY29sX3R5cGU6IFwidGV4dF9jZW50ZXJfMVwiXG4gICAgICAgIH0pICBcbiAgICAgdmFyIGxpc3QgPSBwZGZhKGh0bWwsICcubW9kdWxlLXRleHRsaXN0LDImJmEnKTtcbiAgICBmb3IgKHZhciBqIGluIGxpc3QpIHtcbiAgICAgICAgZC5wdXNoKHtcbiAgICAgICAgICAgIHRpdGxlOiBwZGZoKGxpc3Rbal0sICdhJiZUZXh0JyksXG4gICAgICAgICAgICB1cmw6IHBkKGxpc3Rbal0sICdhJiZocmVmJyksXG4gICAgICAgICAgICAgY29sX3R5cGU6IFwidGV4dF8xXCJcbiAgICAgICAgfSk7XG4gICAgfVxuZC5wdXNoKHtcbiAgICAgICAgICAgIHRpdGxlOiAn8J+SlicrcGRmaChodG1sLCAnaDIsOCYmVGV4dCcpLFxuICAgICAgICAgICAgY29sX3R5cGU6IFwidGV4dF9jZW50ZXJfMVwiXG4g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nLnZpZGVvLWluZm8tYXV4JiZUZXh0JyksXFxuICAgIHVybDogJ2hpa2VyOi8vZW1wdHkjJyArICdcXFxcbicgKyDnroDku4sgKyBgQHJ1bGU9anM6IHZhciBkID0gW107ZC5wdXNoKHt0aXRsZTon5b2x54mH566A5LuL77yaJysgTVlfVVJMLnNwbGl0KCcjJylbMV0sY29sX3R5cGU6ICdsb25nX3RleHQnfSk7IHNldFJlc3VsdChkKTtgLFxcbiAgICBjb2xfdHlwZTogJ3RleHRfMSdcXG59KTtcXG4gICAgXFxuIGV2YWwoSlNPTi5wYXJzZShmZXRjaCgnaGlrZXI6Ly9wYWdlL2xhenknLCB7fSkpLnJ1bGUpO1xcbiAgIFxcbiAgICB2YXIgbGlzdCA9IHBkZmEoaHRtbCwgJy5tb2R1bGUtYmxvY2tsaXN0JiZhJyk7XFxuICAgIGZvciAodmFyIGogaW4gbGlzdCkge1xcbiAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICB0aXRsZTogcGRmaChsaXN0W2pdLCAnYSYmdGl0bGUnKS5yZXBsYWNlKC/nrKwoXFxcXGQrKembhi8sICckMScpXFxuICAgICAgICAgICAgICAgIC5yZXBsYWNlKCfnrKwnLCAnJylcXG4gICAgICAgICAgICAgICAgLnJlcGxhY2UoJ+acnycsICcnKSxcXG4gICAgICAgICAgICB1cmw6IHBkKGxpc3Rbal0sICdhJiZocmVmJykgKyBsYXp5LFxcbiAgICAgICAgICAgIGNvbF90eXBlOiBsaXN0Lmxlbmd0aCA+IDMgPyAndGV4dF80JyA6ICd0ZXh0XzInXFxuICAgICAgICB9KTtcXG4gICAgfVxcblxcbnNldFJlc3VsdChkKVwifV0iLCJpY29uIjoiaHR0cHM6Ly9pbWcueGlhemFpYmEuY29tL2QvZmlsZS8yMDIwLzA4LTA0L2Q0YzlhOWUxNThhMjhhZGI3MGRkYjc0MmEwOTgzMTA3LnBuZyIsInByb3h5IjoiIn0=
Add Comment
Please, Sign In to add comment