xiaomianao666

小程序:Netflav✈️

Jul 7th, 2024
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@Netflav✈️@eyJmaXJzdEhlYWRlciI6ImNsYXNzIiwibGFzdF9jaGFwdGVyX3J1bGUiOiIiLCJ0aXRsZSI6Ik5ldGZsYXbinIjvuI8iLCJhdXRob3IiOiJSIiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjaHR0cHM6Ly93d3cubmV0ZmxhdjUuY29tL2Z5QWxsP3BhZ2U9ZnlwYWdlIiwidmVyc2lvbiI6MjAyMzAyMjMsImNvbF90eXBlIjoibW92aWVfMyIsImNsYXNzX25hbWUiOiIg5pyA5Y+X5qyi6L+OJuacrOaciCbkuIrmnIgmMuaciOWJjSYz5pyI5YmNJjTmnIjliY0mNeaciOWJjSIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6InRyZW5kaW5nJnRyZW5kaW5nLzEmdHJlbmRpbmcvMiZ0cmVuZGluZy8zJnRyZW5kaW5nLzQmdHJlbmRpbmcvNSZ0cmVuZGluZy82IiwiYXJlYV9uYW1lIjoiICDmnInnorwgICYgIOeEoeeivCAgJiAg5Lit5a2XICAmIOWIhuexuyAmIOWls+WEqiAiLCJhcmVhX3VybCI6ImNlbnNvcmVkJnVuY2Vuc29yZWQmY2hpbmVzZS1zdWImZ2VucmUmYWN0cmVzcyIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczpcbiQucmVxdWlyZShcInlpXCIpIiwic2VhcmNoX3VybCI6Imhpa2VyOi8vZW1wdHkjI2h0dHBzOi8vd3d3Lm5ldGZsYXY1LmNvbS9zZWFyY2g/a2V5d29yZD0qKiZwYWdlPWZ5cGFnZSZ0eXBlPXRpdGxlIiwiZ3JvdXAiOiLikaHinIjvuI8iLCJzZWFyY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XG4gICAgaWYgKCF0IHx8IHQgPT0gXFxcIlxcXCIpIHtcXG4gICAgICAgIGNvbnRpbnVlO1xcbiAgICB9XFxuICAgIGQucHVzaCh7XFxuICAgICAgICB0aXRsZTogJ+KAnOKAnOKAneKAnTxtaWRkbGU+PGZvbnQgY29sb3I9IzAwOTlGRj4nK3QrJzwvZm9udD48L21pZGRsZT4nLFxcbiAgICAgICAgLy91cmw6IFxcXCJ0b2FzdDovL+eCueS6huS5n+ayoeeUqFxcXCIsXFxuICAgICAgICB1cmw6IE1ZX1VSTCArICQoJycpLmxhenlSdWxlKCgpID0+IHtcXG4gICAgICAgICAgICB0cnkge1xcbiAgICAgICAgICAgICAgICB2YXIgdXJsID0gcmVxdWVzdChpbnB1dCkubWF0Y2goL2h0dHBzP1teXFxcXFxcXCJdK1xcXFwuKG0zdTh8bXA0KS8pWzBdXFxuICAgICAgICAgICAgICAgIHJldHVybiB1cmwgICAgICAgICBcXG4gICAgICAgICAgICAgICAgICB9IGNhdGNoIChlKSB7XFxuICAgICAgICAgICAgICAgICByZXR1cm4gXFxcInRvYXN0Oi8v5LmI5pyJ6aKE6KeI6KeG6aKRXFxcIlxcbiAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgfSksXFxuICAgICAgICBjb2xfdHlwZTogXFxcInRleHRfMlxcXCJcXG4gICAgfSk7XFxufVxcblxcbnZhciB0YWJzID0gcGRmYShodG1sLCAnYm9keSYmI3ZpZGVvLWRldGFpbHMmJi52aWRlb2RldGFpbF8yX3NlcGFyYXRvcn5kaXYmJi52aWRlb2RldGFpbF8yX2ZpZWxkX25hbWUsMjo0Jyk7XFxudmFyIGNvbnRzID0gcGRmYShodG1sLCAnYm9keSYmI3ZpZGVvLWRldGFpbHMmJi52aWRlb2RldGFpbF8yX3NlcGFyYXRvcn5kaXY+ZGl2LDI6NCcpO1xcbmZvciAodmFyIGkgPSAwOyBpIDwgY29udHMubGVuZ3RoOyBpKyspIHtcXG4gICAgIC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