xiaomianao666

小程序:FoFo影院

Oct 5th, 2024
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@FoFo影院@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoiRm9Gb+W9semZoiIsImF1dGhvciI6IlIiLCJ1cmwiOiJodHRwczovL3d3dy5mb2ZveXkuY29tL2RpYW55aW5nLzIxLWZ5YXJlYS1meXllYXItZnlzb3J0P3BhZ2U9ZnlwYWdlIiwidmVyc2lvbiI6MjAyNDA5MjUsImNvbF90eXBlIjoibW92aWVfMyIsImNsYXNzX25hbWUiOiIiLCJ0eXBlIjoidmlkZW8iLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiLlhajpg6gm5Lit5Zu95aSn6ZmGJue+juWbvSbpppnmuK8m5Y+w5rm+JuaXpeacrCbpn6nlm70m6Iux5Zu9JuazleWbvSblvrflm70m5oSP5aSn5YipJuilv+ePreeJmSbljbDluqYm5rOw5Zu9JuS/hOe9l+aWrybkvIrmnJcm5Yqg5ou/5aSnJua+s+Wkp+WIqeS6mibniLHlsJTlhbAm55Ge5YW4JuW3tOilvybkuLnpuqYiLCJhcmVhX3VybCI6IjAmMSYyJjMmNCY1JjYmNyY4JjkmMTAmMTEmMTImMTMmMTQmMTUmMTYmMTcmMTgmMTkmMjAmMjEiLCJzb3J0X25hbWUiOiLmjInml7bpl7TmjpLluo8m5oyJ5Lq65rCU5o6S5bqPJuaMieivhOWIhuaOkuW6jyIsInllYXJfbmFtZSI6IuWFqOmDqCYyMDI0JjIwMjMmMjAyMiYyMDIxJjIwMjAmMjAxOSYyMDE4JjIwMTcmMjAxNiYyMDE1JjIwMTQmMjAxMyYyMDEyJjIwMTEmMjAxMCYyMDA5JjIwMDgmMjAwNyYyMDA2JjIwMDUm5YW25LuWIiwic29ydF91cmwiOiIwJjEmMiIsInllYXJfdXJsIjoiMCYyMDI0JjIwMjMmMjA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pO1xuICAgICAgICAgICBlbHNlIHtcbiAgICAgICAgICAgICAgIHZhciBjID0gZS5zcGxpdChcIlwiKS5tYXAoZnVuY3Rpb24oZSkge1xuICAgICAgICAgICAgICAgICAgIHJldHVybiBTdHJpbmcuZnJvbUNoYXJDb2RlKGUuY2hhckNvZGVBdCgwKSAtIDEpXG4gICAgICAgICAgICAgICB9KS5qb2luKFwiXCIpO1xuICAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICAgICByZXR1cm4gSlNPTi5wYXJzZShjKVxuICAgICAgICAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgICAgICAgICAgIHJldHVybiBjXG4gICAgICAgICAgICAgICB9XG4gICAgICAgICAgIH1cbiAgICAgICB9XG4gICAgICAgZm9yICh2YXIgYyBpbiBlKSB7XG4gICAgICAgICAgIHZhciByID0gYy5zcGxpdChcIlwiKS5tYXAoZnVuY3Rpb24oZSkge1xuICAgICAgICAgICAgICAgcmV0dXJuIFN0cmluZy5mcm9tQ2hhckNvZGUoZS5jaGFyQ29kZUF0KDApIC0gMSlcbiAgICAgICAgICAgfSkuam9pbihcIlwiKTtcbiAgICAgICAgICAgdFtyXSA9IG4oZVtjXSlcbiAgICAgICB9XG4gICAgICAgcmV0dXJuIHRcbiAgIH07XG4gICB2YXIganMgPSBodG1sLm1hdGNoKC92YXIgdXJsTGlzdCA9LiovKVswXVxuICAgZXZhbChqcylcblxuXG52YXIg57q/6LevID0gdXJsTGlzdC5zb3VyY2VcbnZhciDpgInpm4YgPSB1cmxMaXN0LnVybF9saXN0XG4vL3ZhciDnur/ot6/lkI0gPSAnVGV4dCdcbi8vdmFyIOmAiembhuWIl+ihqCA9ICdib2R5JiZhJ1xuZXZhbChKU09OLnBhcnNlKHJlcXVlc3QoJ2hpa2VyOi8vcGFnZS9lcicpKS5ydWxlKVxuXG5zZXRSZXN1bHQoZCk7Iiwic2RldGFpbF9jb2xfdHlwZSI6Im1vdmllXzEiLCJzZGV0YWl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AgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgcHV0TXlWYXIoTVlfVVJMLCBpZClcXG4gICAgICAgICAgICB2YXIg56ug6IqCID0gbGlzdHNbZ2V0TXlWYXIoTVlfVVJMLCAnMCcpXTtcXG4gICAgICAgICAgICBpZiAo5o6S5bqPID09ICcjRkYwMDAwXFxcIj7lgJLluo8nKSB7XFxuICAgICAgICAgICAgICAgIOeroOiKgi5yZXZlcnNlKClcXG4gICAgICAgICAgICB9XFxuICAgICAgICAgICAgbGV0IGNwID0g56ug6IqCLm1hcCgoZGF0YSwgc3NpZCkgPT4ge1xcbiAgICAgICAgICAgICAgICByZXR1cm4ge1xcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6IGRhdGEudGl0bGUsLy9wZGZoKGRhdGEsICdhJiZUZXh0JyksXFxuICAgICAgICAgICAgICAgICAgICB1cmw6IGRhdGEuc2lkICsgbGF6eSwvL3BkKGRhdGEsICdhJiZocmVmJykgKyBsYXp5LFxcbiAgICAgICAgICAgICAgICAgICAgY29sX3R5cGU6IOeroOiKgi5sZW5ndGggPiAzID8gJ3RleHRfNCcgOiAndGV4dF8yJyxcXG4gICAgICAgICAgICAgICAgICAgIGV4dHJhOiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgY2xzOiBNWV9VUkwgKyBcXFwiX+mAiembhlxcXCIsXFxuICAgICAgICAgICAgICAgICAgICAgICAgaWQ6IGRhdGEuc2lkLC8vcGQoZGF0YSwgJ2EmJmhyZWYnKVxcbiAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICB9O1xcbiAgICAgICAgICAgIH0pO1xcbiAgICAgICAgICAgIGRlbGV0ZUl0ZW1CeUNscyhNWV9VUkwgKyBcXFwiX+mAiembhlxcXCIpO1xcbiAgICAgICAgICAgIGFkZEl0ZW1CZWZvcmUoTVlfVVJMICsgXFxcImZvb3RlclxcXCIsIGNwKTtcXG4gICAgICAgICAgICByZXR1c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