xiaomianao666

小程序:摸鱼日报

Jun 25th, 2024
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@摸鱼日报@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi5pG46bG85pel5oqlIiwiYXV0aG9yIjoiQXJpc2UiLCJ1cmwiOiJoaWtlcjovL2VtcHR5IyNmeXBhZ2UiLCJ2ZXJzaW9uIjoyMDI0MDUwMSwiY29sX3R5cGUiOiJwaWNfMV9jYXJkIiwiY2xhc3NfbmFtZSI6IiIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IiIsImFyZWFfbmFtZSI6IiIsImFyZWFfdXJsIjoiIiwic29ydF9uYW1lIjoiIiwieWVhcl9uYW1lIjoiIiwic29ydF91cmwiOiIiLCJ5ZWFyX3VybCI6IiIsImZpbmRfcnVsZSI6ImpzOlxudmFyIGQgPSBbXTtcbnZhciByciA9IHtcbiAgICBcImNvZGVcIjogXCJpbmRleFwiLFxuICAgIFwiZGF0YVwiOiB7fSxcbiAgICBcIm1vZFwiOiBcInN5c3RlbVwiLFxuICAgIFwib2F1dGhfaWRcIjogXCJrdEpnRFgxSU51WXVSSXN6MTcwNTM4MjkzNTExMlwiLFxuICAgIFwib2F1dGhfdHlwZVwiOiBcInB3YVwiLFxuICAgIFwidGltZXN0YW1wXCI6IDE3MDUzODUyODcsXG4gICAgXCJ2ZXJzaW9uXCI6IFwiNS42LjBcIlxufVxudmFyIGVuY3J5cHRkYXRhID0gJC5yZXF1aXJlKFwiZGF0YVwiKS5lbmNyeXB0KHJyKTtcblxudmFyIHRpbWVzdGFtcCA9IGVuY3J5cHRkYXRhLnRpbWVzdGFtcC50b1N0cmluZygpO1xudmFyIGRhdGEgPSBlbmNyeXB0ZGF0YS5kYXRhO1xudmFyIHNpZ24gPSBlbmNyeXB0ZGF0YS5zaWduO1xuXG52YXIgRGF0YSA9IHBvc3QoXC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6IDIsXG4gICAgICAgICAgICBvcHRpb25zOiBUeXBlMSxcbiAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKCgpID0+IHtcbiAgICAgICAgICAgICAgICBzdG9yYWdlMC5zZXRJdGVtKCd0eXBlJywgaW5wdXQpO1xuICAgICAgICAgICAgICAgIHZhciBjb2wgPSBzdG9yYWdlMC5nZXRJdGVtKCd0eXBlJywgJycpO1xuICAgICAgICAgICAgICAgIHZhciBDb2wgPSAoY29sLmluY2x1ZGVzKCfwn5GJ8J+PvScpKSA/IGNvbC5zcGxpdCgn8J+RifCfj70nKVsxXSA6IGNvbDtcbiAgICAgICAgICAgICAgICBzdG9yYWdlMC5zZXRJdGVtKCdDb2wwJywgQ29sKTtcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xuICAgICAgICAgICAgfSlcbiAgICAgICAgfSk7XG4gICAgICAgIHJldHVybiBcImhpa2VyOi8vZW1wdHlcIlxuICAgIH0pLFxufSx7XG4gICAgdGl0bGU6ICfmkJzntKInLFxuICAgIGpzOiAkLnRvU3RyaW5nKCgpID0+IHtcbiAgICAgICAgcmV0dXJuICdoaWtlcjovL3BhZ2Uvc2VhcmNoJztcbiAgICB9KSxcbn0se1xuICAgICAgICAgICAgICAgIHRpdGxlOiAn6aaW6aG1JyxcbiAgICAgICAgICAgICAgICBqczogJC50b1N0cmluZygoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKCk7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9lbXB0eSc7XG4gICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICB9LCB7XG4gICAgICAgICAgICAgICAgdGl0bGU6ICfnrKwnICsgTVlfUEFHRSArICfpobUnLFxuICAgICAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKCgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5JztcbiAgICAgICAgICAgICAg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B1dE15VmFyKCdjb2xvcicsIGkpO1xcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vZW1wdHknO1xcbiAgICAgICAgICAgIH0sIGksIG1vZGUsIExpc3QpLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiAnZmxleF9idXR0b24nXFxuICAgICAgICB9KTtcXG4gICAgfVxcbiAgICBkLnB1c2goe1xcbiAgICAgICAgY29sX3R5cGU6ICdibGFua19ibG9jaycsXFxuICAgIH0pO1xcbiAgICByZXR1cm4gZDtcXG59XFxuXFxuZnVuY3Rpb24gY2F0ZWdvcnkobGlzdCwgZCkge1xcbiAgICBpZiAoZ2V0SXRlbSgnc3dpdGNoJywgJ29mZicpID09ICdvbicpIHtcXG4gICAgICAgIGZvciAodmFyIGkgaW4gbGlzdCkge1xcbiAgICAgICAgICAgIHZhciBMaXN0ID0gbGlzdFtpXTtcXG4gICAgICAgICAgICB2YXIgdGl0bGUgPSBMaXN0Lm5hbWU7XFxuICAgICAgICAgICAgdmFyIFRpdGxlID0gKGdldE15VmFyKCdDb2xvcicsICctMScpID09IGkpID8gc3Ryb25nKHRpdGxlLCAnRkY2Njk5JykgOiB0aXRsZTtcXG4gICAgICAgICAgICBpZiAoTGlzdC5pZCA9PSAnNicgfHwgTGlzdC5pZCA9PSAnMicpIHtcXG5cXG4gICAgICAgICAgICB9IGVsc2UgaWYgKExpc3QuaWQgPT0gJzQnIHx8IExpc3QuaWQgPT0gJzcnKSB7XFxuICAgICAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICB0aXRsZTogVGl0bGUsXFxuICAgICAgICAgICAgICAgICAgICB1cmw6ICQoTGlzdC5pZCkubGF6eVJ1bGUoKGksIExpc3QpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcignaWQnLCBpbnB1dCk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcHV0TXlWYXIoJ0NvbG9yJywgaSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vcGFnZS90eXBlMT9meXBhZ2UnO1xcbiAgICAgICAgICAgICAgICAgICAgfSwgaSwgTGlzdCksXFxuICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ3Njcm9sbF9idXR0b24nXFxuICAgICAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgIH0gZWxzZSB7XFxuICAgICAgICAgICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgICAgICAgICB0aXRsZTogVGl0bGUsXFxuICAgICAgICAgICAgICAgICAgICB1cmw6ICQoTGlzdC5pZCkubGF6eVJ1bGUoKGksIExpc3QpID0+IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBwdXRNeVZhcignaWQnLCBpbnB1dCk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcHV0TXlWYXIoJ0NvbG9yJywgaSk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoKTtcXG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gJ2hpa2VyOi8vcGFnZS90eXBlMj9meXBhZ2UnO1xcbiAgICAgICAgICAgICAgICAgICAgfSwgaSwgTGlzdCksXFxuICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogJ3Njcm9sbF9idXR0b24nXFxuICAgICAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgIH1cXG4gICAgICAgIH1cXG4gICAgfVxcbiAgICAvKmQucHVzaCh7XFxuICAgICAgICB0aXRsZTogJ/CflJInLFxcbiAgICAgICAgdXJsOiAkKCcnKS5sYXp5UnVsZSgoKSA9PiB7XFxuICAgICAgICAgICAgcHV0TXlWYXIoJ29uLW9mZicsICdvZmYnKVxcbiAgICAgICAgICAgIHJlZnJlc2hQYWdlKCk7XFxuICAgICAgICAgICA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J2hpa2VyOi8vcGFnZS91c2VybGlzdD9meXBhZ2UnLFxcbiAgICAgICAgICAgIGV4dHJhOiB7XFxuICAgICAgICAgICAgICAgIG1vZDogVHlwZWxpc3RbaV0ubW9kLFxcbiAgICAgICAgICAgICAgICBjb2RlOiBUeXBlbGlzdFtpXS5jb2RlLFxcbiAgICAgICAgICAgICAgICBwYWdlVGl0bGU6IFR5cGVsaXN0W2ldLnRpdGxlXFxuICAgICAgICAgICAgfVxcbiAgICAgICAgfSk7XFxuICAgICAgICBmb3IgKHZhciBqIGluIGxpc3QpIHtcXG4gICAgICAgICAgICB2YXIgcGxheXVybCA9IGxpc3Rbal0ucGxheVVybDtcXG4gICAgICAgICAgICB2YXIgdGl0bGUgPSBsaXN0W2pdLnRpdGxlO1xcbiAgICAgICAgICAgIHZhciBkZXNjID0gJ1xcXFx08J+UpScgKyBsaXN0W2pdLnBsYXlfY291bnQ7XFxuICAgICAgICAgICAgdmFyIGltYWdldXJsID0gbGlzdFtqXS50aHVtYkltZztcXG4gICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICB0aXRsZTogdGl0bGUsXFxuICAgICAgICAgICAgICAgIGRlc2M6IGRlc2MsXFxuICAgICAgICAgICAgICAgIGltZzogaW1hZ2V1cmwgKyBpbWFnZSxcXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6IGNvbF90eXBlLFxcbiAgICAgICAgICAgICAgICB1cmw6IHBsYXl1cmwucmVwbGFjZSgnMTBwbGF5JywgJ2xvbmcnKVxcbiAgICAgICAgICAgIH0pO1xcbiAgICAgICAgfVxcbiAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICBjb2xfdHlwZTogJ2JpZ19ibGFua19ibG9jaycsXFxuICAgICAgICAgICAgdXJsOiAnaGlrZXI6Ly9lbXB0eSdcXG4gICAgICAgIH0pO1xcbiAgICB9XFxufVxcbnNldFJlc3VsdChkKTtcIn0se1wiY29sX3R5cGVcIjpcIm1vdmllXzNcIixcIm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ICAgICAgdXJsOiAnaGlrZXI6Ly9wYWdlL3BsYXlsaXN0P2Z5cGFnZScsXFxuICAgICAgICAgICAgZXh0cmE6IHtcXG4gICAgICAgICAgICAgICAgaWQ6IGlkLFxcbiAgICAgICAgICAgICAgICBwYWdlVGl0bGU6IHRpdGxlXFxuICAgICAgICAgICAgfVxcbiAgICAgICAgfSk7XFxuICAgICAgICBmb3IgKHZhciBpIGluIGxpc3QpIHtcXG4gICAgICAgICAgICB2YXIgdGl0bGUgPSBsaXN0W2ldLnRpdGxlO1xcbiAgICAgICAgICAgIHZhciBwbGF5VXJsID0gbGlzdFtpXS5wbGF5VXJsO1xcbiAgICAgICAgICAgIHZhciBuaWNrTmFtZSA9IGxpc3RbaV0ubmlja05hbWU7XFxuICAgICAgICAgICAgdmFyIHV1aWQgPSBsaXN0W2ldLnV1aWQ7XFxuICAgICAgICAgICAgdmFyIGRlc2MgPSAn8J+UpScgKyBsaXN0W2ldLnBsYXlfY291bnQgKyAnXFxcXHRcXFxcdFxcXFx0XFxcXHRcXFxcdFxcXFx04o+x77iPJyArIGxpc3RbaV0uZHVyYXRpb25TdHI7XFxuICAgICAgICAgICAgdmFyIGltYWdldXJsID0gbGlzdFtpXS50aHVtYkltZztcXG4gICAgICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgICAgICB0aXRsZTogdGl0bGUsXFxuICAgICAgICAgICAgICAgIGRlc2M6IGRlc2MsXFxuICAgICAgICAgICAgICAgIGltZzogaW1hZ2V1cmwgKyBpbWFnZSxcXG4gICAgICAgICAgICAgICAgY29sX3R5cGU6IChzdG9yYWdlMC5nZXRJdGVtKCdDb2wyJywgJycpID09ICcnKSA/ICdtb3ZpZV8yJyA6IHN0b3JhZ2UwLmdldEl0ZW0oJ0NvbDInLCAnJyksXFxuICAgICAgICAgICAgICAgIHVybDogcGxheVVybC5yZXBsYWNlKCcxMHBsYXknLCAnbG9uZycpLFxcbiAgICAgICAgICAgICAgICBleHRyYToge1xcbiAgICAgICAgIC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cygn8J+RifCfj70nKSkgPyBjb2wuc3BsaXQoJ/CfkYnwn4+9JylbMV0gOiBjb2w7XFxuICAgICAgICAgICAgaWYgKFR5cGVbaV0gPT0gQ29sKSB7XFxuICAgICAgICAgICAgICAgIFR5cGVbaV0gPSAn8J+RifCfj70nICsgVHlwZVtpXTtcXG4gICAgICAgICAgICB9IGVsc2Uge1xcbiAgICAgICAgICAgICAgICBUeXBlW2ldID0gVHlwZVtpXTtcXG4gICAgICAgICAgICB9XFxuICAgICAgICAgICAgVHlwZTFbaV0gPSBUeXBlW2ldO1xcbiAgICAgICAgfVxcbiAgICAgICAgc2hvd1NlbGVjdE9wdGlvbnMoe1xcbiAgICAgICAgICAgIHRpdGxlOiBcXFwi6YCJ5oup57G75Z6LXFxcIixcXG4gICAgICAgICAgICBjb2w6IDIsXFxuICAgICAgICAgICAgb3B0aW9uczogVHlwZTEsXFxuICAgICAgICAgICAganM6ICQudG9TdHJpbmcoKCkgPT4ge1xcbiAgICAgICAgICAgICAgICBzdG9yYWdlMC5zZXRJdGVtKCd0eXBlJywgaW5wdXQpO1xcbiAgICAgICAgICAgICAgICB2YXIgY29sID0gc3RvcmFnZTAuZ2V0SXRlbSgndHlwZScsICcnKTtcXG4gICAgICAgICAgICAgICAgdmFyIENvbCA9IChjb2wuaW5jbHVkZXMoJ/CfkYnwn4+9JykpID8gY29sLnNwbGl0KCfwn5GJ8J+PvScpWzFdIDogY29sO1xcbiAgICAgICAgICAgICAgICBzdG9yYWdlMC5zZXRJdGVtKCdDb2xfbWVkaWEnLCBDb2wpO1xcbiAgICAgICAgICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgICAgIH0pXFxuICAgICAgICB9KTtcXG4gICAgICAgIHJldHVybiBcXFwiaGlrZXI6Ly9lbXB0eVxcXCJcXG4gICAgfSl9LHtcXG4gICAgdGl0bGU6ICfmkJzntKInLFxcbiAgICBqczogJC50b1N0cmluZygoKSA9PiB7XFxuICAgICAgICByZXR1cm4gJ2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BlW2ldID09IENvbCkge1xcbiAgICAgICAgICAgICAgICBUeXBlW2ldID0gJ/CfkYnwn4+9JyArIFR5cGVbaV07XFxuICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgVHlwZVtpXSA9IFR5cGVbaV07XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIFR5cGUxW2ldID0gVHlwZVtpXTtcXG4gICAgICAgIH1cXG4gICAgICAgIHNob3dTZWxlY3RPcHRpb25zKHtcXG4gICAgICAgICAgICB0aXRsZTogXFxcIumAieaLqeexu+Wei1xcXCIsXFxuICAgICAgICAgICAgY29sOiAyLFxcbiAgICAgICAgICAgIG9wdGlvbnM6IFR5cGUxLFxcbiAgICAgICAgICAgIGpzOiAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgICAgICAgICAgc3RvcmFnZTAuc2V0SXRlbSgndHlwZScsIGlucHV0KTtcXG4gICAgICAgICAgICAgICAgdmFyIGNvbCA9IHN0b3JhZ2UwLmdldEl0ZW0oJ3R5cGUnLCAnJyk7XFxuICAgICAgICAgICAgICAgIHZhciBDb2wgPSAoY29sLmluY2x1ZGVzKCfwn5GJ8J+PvScpKSA/IGNvbC5zcGxpdCgn8J+RifCfj70nKVsxXSA6IGNvbDtcXG4gICAgICAgICAgICAgICAgc3RvcmFnZTAuc2V0SXRlbSgnQ29sMicsIENvbCk7XFxuICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKCk7XFxuICAgICAgICAgICAgfSlcXG4gICAgICAgIH0pO1xcbiAgICAgICAgcmV0dXJuIFxcXCJoaWtlcjovL2VtcHR5XFxcIlxcbiAgICB9KSxcXG59LCB7XFxuICAgIHRpdGxlOiAn5pCc57SiJyxcXG4gICAganM6ICQudG9TdHJpbmcoKCkgPT4ge1xcbiAgICAgICAgcmV0dXJuICdoaWtlcjovL3BhZ2Uvc2VhcmNoJztcXG4gICAgfSksXFxufSx7XFxuICAgIHRpdGxlOiAn6aaW6aG1JyxcXG4gIC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cbiAgICAgICAgc2hvd1NlbGVjdE9wdGlvbnMoe1xcbiAgICAgICAgICAgIHRpdGxlOiBcXFwi6YCJ5oup57G75Z6LXFxcIixcXG4gICAgICAgICAgICBjb2w6IDIsXFxuICAgICAgICAgICAgb3B0aW9uczogVHlwZTEsXFxuICAgICAgICAgICAganM6ICQudG9TdHJpbmcoKCkgPT4ge1xcbiAgICAgICAgICAgICAgICBzdG9yYWdlMC5zZXRJdGVtKCd0eXBlJywgaW5wdXQpO1xcbiAgICAgICAgICAgICAgICB2YXIgY29sID0gc3RvcmFnZTAuZ2V0SXRlbSgndHlwZScsICcnKTtcXG4gICAgICAgICAgICAgICAgdmFyIENvbCA9IChjb2wuaW5jbHVkZXMoJ/CfkYnwn4+9JykpID8gY29sLnNwbGl0KCfwn5GJ8J+PvScpWzFdIDogY29sO1xcbiAgICAgICAgICAgICAgICBzdG9yYWdlMC5zZXRJdGVtKCdDb2wxJywgQ29sKTtcXG4gICAgICAgICAgICAgICAgcmVmcmVzaFBhZ2UoKTtcXG4gICAgICAgICAgICB9KVxcbiAgICAgICAgfSk7XFxuICAgICAgICByZXR1cm4gXFxcImhpa2VyOi8vZW1wdHlcXFwiXFxuICAgIH0pLFxcbn0sIHtcXG4gICAgdGl0bGU6ICfmkJzntKInLFxcbiAgICBqczogJC50b1N0cmluZygoKSA9PiB7XFxuICAgICAgICByZXR1cm4gJ2hpa2VyOi8vcGFnZS9zZWFyY2gnO1xcbiAgICB9KSxcXG59LHtcXG4gICAgdGl0bGU6ICfpppbpobUnLFxcbiAgICBqczogJC50b1N0cmluZygoKSA9PiB7XFxuICAgICAgICByZWZyZXNoUGFnZSgpO1xcbiAgICAgICAgcmV0dXJuICdoaWtlcjovL2VtcHR5JztcXG4gICAgfSksXFxufSwge1xcbiAgICB0aXRsZTogJ+esrCcgKyBNWV9QQUdFICsgJ+mhtScsXFxuICAgIGpzOiAkLnRvU3RyaW5nKCgpID0+IHtcXG4gICAgICAgIHJldHVybiAnaGlrZXI6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xuICAgIH0pO1xcbn1cXG59IGVsc2Uge1xcbmZvciAodmFyIGkgaW4gbWVkaWFsaXN0KSB7XFxuICAgIHZhciBpZCA9IG1lZGlhbGlzdFtpXS5pZDtcXG4gICAgdmFyIHRpdGxlID0gbWVkaWFsaXN0W2ldLnRpdGxlO1xcbiAgICB2YXIgaW1nID0gbWVkaWFsaXN0W2ldLnRodW1iSW1nO1xcbiAgICAvL3ZhciBwbGF5VXJsID0gbWVkaWFsaXN0W2ldLnBsYXlVcmw7XFxuICAgIGQucHVzaCh7XFxuICAgICAgICB0aXRsZTogdGl0bGUsXFxuICAgICAgICBpbWc6IGltZyArIGltYWdlLFxcbiAgICAgICAgY29sX3R5cGU6ICdtb3ZpZV8yJyxcXG4gICAgICAgIHVybDogJ2hpa2VyOi8vcGFnZS9zZWFyY2hfaG90VG9waWNzX2RldGFpbCcsXFxuICAgICAgICBleHRyYToge1xcbiAgICAgICAgICAgIGlkOiBpZCxcXG4gICAgICAgICAgICBwYWdlVGl0bGU6IFxcXCLor6bmg4VcXFwiXFxuICAgICAgICB9XFxuICAgIH0pO1xcbn1cXG59XFxuc2V0UmVzdWx0KGQpO1wifV0iLCJpY29uIjoiaHR0cHM6Ly9pbWcudmludWEuY24vaW1hZ2VzL3pWYXpVLnBuZyIsInByb3h5IjoiIn0=
Add Comment
Please, Sign In to add comment