xiaomianao666

小程序:素白白影视·Q1

Nov 17th, 2021
1,150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@素白白影视·Q1@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi57Sg55m955m95b2x6KeGwrdRMSIsImF1dGhvciI6IuWPkeeyqua2guWimSIsInVybCI6Imh0dHBzOi8vd3d3LnN1YmFpYmFpLmNvbS9meUFsbC9wYWdlL2Z5cGFnZTtnZXQ7VVRGLTg7e1VzZXItQWdlbnRATW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMCkmJkNvb2tpZUAuanM6Z2V0VmFyKCdzdWJhaWJhaSRjb29raWUnKX0iLCJ2ZXJzaW9uIjoyLCJjb2xfdHlwZSI6Im1vdmllXzMiLCJjbGFzc19uYW1lIjoi5YWo6YOoJueUteW9sSblm73kuqcm54Ot6ZeoJumrmOWIhibml6Xpn6kiLCJjbGFzc191cmwiOiJtb3ZpZV9idCZuZXctbW92aWUmbW92aWVfYnRfc2VyaWVzL2d1b2NoYW5keSZob3QtbW9udGgmZ2YmbW92aWVfYnRfc2VyaWVzL3JpaGFuZHkiLCJhcmVhX25hbWUiOiLnlLXop4bliacm5Zu95LqnJuaXpeWJpybmrKfnvo4m5riv5YmnJumfqeWJpyIsImFyZWFfdXJsIjoiZGlhbnNoaWp1Jm1vdmllX2J0X3Nlcmllcy9ndW9jaGFuanUmbW92aWVfYnRfc2VyaWVzL3JpanUmbW92aWVfYnRfc2VyaWVzL291bWVpanUmbW92aWVfYnRfc2VyaWVzL2dhbmdqdSZtb3ZpZV9idF9zZXJpZXMvaGFuanUiLCJzb3J0X25hbWUiOiLliqjmvKvliacm5Yqo5ryr55S15b2xJue6quW9leeJhybnu7zoiboiLCJ5ZWFyX25hbWUiOiLmrKfnvo7nlLXlvbEm5rOw5Zu955S15b2xJua4r+WPsOeUteW9sSbpppnmuK/nlLXlvbE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ICAgICAgICAgIHBpY191cmw6IHBhcnNlRG9tKGxpc3Rbal0sICdpbWcmJmRhdGEtb3JpZ2luYWwnKSxcbiAgICAgICAgICAgIHVybDogZGVzYy5pbmRleE9mKCfpm4YnKSA+IC0xID9cbiAgICAgICAgICAgICAgICB1cmwgOiAnaHR0cHM6Ly93d3cuc3ViYWliYWkuY29tL3ZfcGxheS8nICsgYmFzZTY0RW5jb2RlKCdtdl8nICsgdXJsLm1hdGNoKC9cXGQrLykgKyAnLW5tXzEnKSArICcuaHRtbCcgK1xuICAgICAgICAgICAgICAgICQoXCJcIikubGF6eVJ1bGUoKCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICBldmFsKEpTT04ucGFyc2UocmVxdWVzdCgnaGlrZXI6Ly9wYWdlL3lhbnpoZW5nP3J1bGU957Sg55m955m95b2x6KeGwrdRMScpKS5ydWxlKTtcbiAgICAgICAgICAgICAgICAgICAgaW5wdXQgPSBmZXRjaChpbnB1dCwge1xuICAgICAgICAgICAgICAgICAgICAgICAgaGVhZGVyczoge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICdVc2VyLUFnZW50JzogTU9CSUxFX1VBLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICdDb29raWUnOiBnZXRWYXIoJ3N1YmFpYmFpJGNvb2tpZScpXG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICBpZiAoYnlwYXNzKGlucHV0KSkgaW5wdXQgPSBmZXRjaChpbnB1dCwge1xuICAgICAgICAgICAgICAgICAgICAgICAgaGVhZGVyczoge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICdVc2VyLUFnZW50JzogTU9CSUxFX1VBLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICdDb29raWUnOiBnZXRWYXIoJ3N1YmFpYmFpJGNvb2tpZScpXG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICBpbnB1dCA9IHBhcnNlRG9tKGlucHV0LCBcImJvZHkmJnNjcmlwdDpub3QoW3NyY10pLDImJkh0bWxcIik7XG4gICAgICAgICAgICAgICAgICAgIGV2YWwoZ2V0Q3J5cHRvSlMoKSk7XG4gICAgICAgICAgICAgICAgICAgIGlucHV0ID0gaW5wdXQubWF0Y2goL3Zhci4qP1xcKVxcKTsvZylbMF07XG4gICAgICAgICAgICAgICAgICAgIGV2YWwoaW5wdXQucmVwbGFjZSgvbWQ1XFwuL2csICdDcnlwdG9KU1xcLicpLnJlcGxhY2UoJ2V2YWwnLCAndmFyIGRhdGEgPSAnKSk7XG4gICAgICAgICAgICAgICAgICAgIGxldCBVID0gZGF0YS5zcGxpdCgndXJsOiBcIicpWzFdLnNwbGl0KCdcIicpWzBdLnJlcGxhY2UoJ2h0dHBzOi8vd3knLCAnaHR0cDovL3d5Jyk7XG4gICAgICAgICAgICAgICAgICAgIGlmIChnZXRWYXIoJ3N1YmFpYmFpJGxvY2FsJykgPT0gJzEnKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIgbTN1OCA9IGZldGNoKFUsIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBoZWFkZXJzOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdVc2VyLUFnZW50JzogUENfVUEsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdSZWZlcmVyJzogJ2h0dHBzOi8vd3d3LnN1YmFpYmFpLmNvbSdcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHdyaXRlRmlsZSgnaGlrZXI6Ly9maWxlcy9kb3dubG9hZC90bXAvdmlkZW8ubTN1OCcsIG0zdTgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuICdmaWxlOi8vL3N0b3JhZ2UvZW11bGF0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gICAgfSk7XHJcbiAgICAgICAgICAgICAgICBpZiAoYnlwYXNzKGlucHV0KSkgaW5wdXQgPSBmZXRjaChpbnB1dCwge1xyXG4gICAgICAgICAgICAgICAgICAgIGhlYWRlcnM6IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgJ1VzZXItQWdlbnQnOiBNT0JJTEVfVUEsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICdDb29raWUnOiBnZXRWYXIoJ3N1YmFpYmFpJGNvb2tpZScpXHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICAgICAgICBpbnB1dCA9IHBhcnNlRG9tKGlucHV0LCBcImJvZHkmJnNjcmlwdDpub3QoW3NyY10pLDImJkh0bWxcIik7XHJcbiAgICAgICAgICAgICAgICBldmFsKGdldENyeXB0b0pTKCkpO1xyXG4gICAgICAgICAgICAgICAgaW5wdXQgPSBpbnB1dC5tYXRjaCgvdmFyLio/XFwpXFwpOy9nKVswXTtcclxuICAgICAgICAgICAgICAgIGV2YWwoaW5wdXQucmVwbGFjZSgvbWQ1XFwuL2csICdDcnlwdG9KUy4nKS5yZXBsYWNlKCdldmFsJywgJ3ZhciBkYXRhID0gJykpO1xyXG4gICAgICAgICAgICAgICAgbGV0IFUgPSBkYXRhLnNwbGl0KCd1cmw6IFwiJylbMV0uc3BsaXQoJ1wiJylbMF0ucmVwbGFjZSgnaHR0cHM6Ly93eScsICdodHRwOi8vd3knKTtcclxuICAgICAgICAgICAgICAgIGlmIChnZXRWYXIoJ3N1YmFpYmFpJGxvY2FsJykgPT0gJzEnKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgdmFyIG0zdTggPSBmZXRjaChVLCB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGhlYWRlcnM6IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICdVc2VyLUFnZW50JzogUENfVUEsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAnUmVmZXJlcic6ICdodHRwczovL3d3dy5zdWJhaWJhaS5jb20nXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICB9KTtcclxuICAgICAgICAgICAgICAgICAgICB3cml0ZUZpbGUoJ2hpa2VyOi8vZmlsZXMvZG93bmxvYWQvdG1wL3ZpZGVvLm0zdTgnLCBtM3U4KTtcclxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gJ2ZpbGU6Ly8vc3RvcmFnZS9lbXVsYXRlZC8wL0FuZHJvaWQvZGF0YS9jb20uZXhhbXBsZS5oaWtlcnZpZXcvZmlsZXMvRG9jdW1lbnRzL2Rvd25sb2FkL3RtcC92aWRlby5tM3U4J1xyXG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gVSArICc7e1JlZmVyZXJAaHR0cHM6Ly93d3cuc3ViYWliYWkuY29tfSdcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfSlcclxuICAgIH0pO1xyXG59XHJcbnNldFJlc3VsdChkKTsiLCJkZXRhaWxfY29sX3R5cGUiOiJ0ZXh0XzIiLCJkZXRhaWxfZmluZF9ydWxlIjoianM6XG52YXIgcmVzID0ge307XG52YXIgaXRlbXMgPSBbXTtcbmV2YWwoSlNPTi5wYXJzZShyZXF1ZXN0KCdoaWtlcjovL3BhZ2UveWFuemhlbmcnKSkucnVsZSk7XG5sZXQgaHRtbCA9IGdldFJlc0NvZGUoKTtcbmlmIChieXBhc3MoaHRtbCkpXG4gICAgaHRtbCA9IHJlcXVlc3QoZ2V0VXJsKCksIHtcbiAgICAgICAgaGVhZGVyczoge1xuICAgICAgICAgICAgJ0Nvb2tpZSc6IGdldFZhcignc3ViYWliYWkkY29va2llJylcbiAgICAgICAgfVxuICAgIH0pO1xudmFyIGxhenkgPSAkKFwiXCIpLmxhenlSdWxlKCgpID0+IHtcbiAgICB0cnkge1xuICAgICAgICBldmFsKEpTT04ucGFyc2UocmVxdWVzdCgnaGlrZXI6Ly9wYWdlL3lhbnpoZW5nP3J1bGU957Sg55m955m95b2x6KeGwrdRMScpKS5ydWxlKTtcbiAgICAgICAgaW5wdXQgPSBmZXRjaChpbnB1dCwge1xuICAgICAgICAgICAgaGVhZGVyczoge1xuICAgICAgICAgICAgICAgICdVc2VyLUFnZW50JzogTU9CSUxFX1VBLFxuICAgICAgICAgICAgICAgICdDb29raWUnOiBnZXRWYXIoJ3N1YmFpYmFpJGNvb2tpZScpXG4gICAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgICAgICBpZiAoYnlwYXNzKGlucHV0KSkgaW5wdXQgPSBmZXRjaChpbnB1dCwge1xuICAgICAgICAgICAgaGVhZGVyczoge1xuICAgICAgICAgICAgICAgICdVc2VyLUFnZW50JzogTU9CSUxFX1VBLFxuICAgICAgICAgICAgICAgICdDb29raWUnOiBnZXRWYXIoJ3N1YmFpYmFpJGNvb2tpZScpXG4gICAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgICAgICBpbnB1dCA9IHBhcnNlRG9tKGlucHV0LCBcImJvZHkmJnNjcmlwdDpub3QoW3NyY10pLDImJkh0bWxcIik7XG4gICAgICAgIGV2YWwoZ2V0Q3J5cHRvSlMoKSk7XG4gICAgICAgIGlucHV0ID0gaW5wdXQubWF0Y2goL3Zhci4qP1xcKVxcKTsvZylbMF07XG4gICAgICAgIGV2YWwoaW5wdXQucmVwbGFjZSgvbWQ1XFwuL2csICdDcnlwdG9KUy4nKS5yZXBsYWNlKCdldmFsJywgJ3ZhciBkYXRhID0gJykpO1xuICAgICAgICBsZXQgVSA9IGRhdGEuc3BsaXQoJ3VybDogXCInKVsxXS5zcGxpdCgnXCInKVswXS5yZXBsYWNlKCdodHRwczovL3d5JywgJ2h0dHA6Ly93eScpO1xuICAgICAgICBpZiAoZ2V0VmFyKCdzdWJhaWJhaSRsb2NhbCcpID09ICcxJykge1xuICAgICAgICAgICAgdmFyIG0zdTggPSBm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