Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@短剧网@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6ImpzOlxudmFyIGNocCA9IFtdO1xudHJ5IHtcbiAgICB2YXIgaHRtbCA9IGdldFJlc0NvZGUoKTtcbiAgICB2YXIgY29udHMgPSBwYXJzZURvbUZvckFycmF5KGh0bWwsICdib2R5JiYubW9kdWxlLXBsYXllci1saXN0Jyk7XG4gICAgZm9yICh2YXIgaSA9IDA7IGkgPCBjb250cy5sZW5ndGg7IGkrKykge1xuICAgICAgICB2YXIgbGlzdCA9IHBkZmEoY29udHNbaV0sICdib2R5JiYuc2Nyb2xsLWNvbnRlbnQmJmEnKTtcbiAgICAgICAgY2hwLnB1c2gobGlzdC5sZW5ndGgpO1xuICAgIH1cbn0gY2F0Y2ggKGUpIHt9XG5zZXRSZXN1bHQoJ+abtOaWsOiHszonICsgKE1hdGgubWF4LmFwcGx5KG51bGwsIGNocCkpKTsiLCJ0aXRsZSI6IuefreWJp+e9kSIsImF1dGhvciI6IummmembheaDhSIsInVybCI6Imhpa2VyOi8vZW1wdHkjZnljbGFzcyNodHRwczovL20uZHVhbmp1NS5jb20vdm9kc2hvdy9meWNsYXNzLS1meXNvcnQtLS1meWFyZWEtLS1meXBhZ2UtLS0uaHRtbCIsInZlcnNpb24iOjAsImNvbF90eXBlIjoibW92aWVfMyIsImNsYXNzX25hbWUiOiLpppbpobUm6YCG6KKt54mH5bqTJueUnOWuoOeJh+W6kybomZDmgYvniYflupMm56m/6LaK54mH5bqTJumHjeeUn+eJh+W6kyIsInR5cGUiOiJ2aWRlbyIsImNsYXNzX3VybCI6IummlumhtSZuaXhpJnRpYW5jaG9uZyZudWVsaWFuJmNodWFueXVlJmNob25nc2hlbmciLCJhcmVhX25hbWUiOiLlhajpg6gmQSZCJkMmRCZFJkYmRyZIJkkmSiZLJkwmTSZOJk8mUCZRJlImUyZUJlUmViZXJlg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0YS1zcmMnKTtcbiAgICAgICAgICAgIGlmIChpbWcuc3Vic3RyaW5nKDAsIDQpID09ICdodHRwJykge1xuICAgICAgICAgICAgICAgIGltZyA9IGltZztcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgaW1nID0gZG9tYWluICsgaW1nXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB2YXIgdXJsID0gcGFyc2VEb21Gb3JIdG1sKGxpc3RbaV0sICdhJiZocmVmJyk7XG4gICAgICAgICAgICB2YXIgZGVzYyA9IHBhcnNlRG9tRm9ySHRtbChsaXN0W2ldLCAnLm1vZHVsZS1pdGVtLXRleHQmJlRleHQnKTtcbiAgICAgICAgICAgIGl0ZW1zLnB1c2goe1xuICAgICAgICAgICAgICAgIHRpdGxlOiB0aXRsZSxcbiAgICAgICAgICAgICAgICBwaWNfdXJsOiBpbWcgKyAnQFJlZmVyZXI9JyxcbiAgICAgICAgICAgICAgICB1cmw6IGRvbWFpbiArIHVybCArIFwiI2ltbWVyc2l2ZVRoZW1lI1wiLFxuICAgICAgICAgICAgICAgIGRlc2M6IGRlc2NcbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9XG5cbiAgICB9XG59IGNhdGNoIChlKSB7fVxuXG5yZXMuZGF0YSA9IGl0ZW1zO1xuc2V0SG9tZVJlc3VsdChyZXMpOyIsInNlYXJjaF91cmwiOiJodHRwczovL20uZHVhbmp1NS5jb20vdm9kc2VhcmNoLyoqLS0tLS0tLS0tLWZ5cGFnZS0tLS5odG1sIiwiZ3JvdXAiOiLikaHlvbHmkJwiLCJzZWFyY2hGaW5kIjoianM6XG52YXIgcmVzID0ge307XG52YXIgaXRlbXMgPSBbXTtcbnZhciBodG1sID0gZ2V0UmVzQ29kZSgpO1xudmFyIGxpc3QgPSBwYXJzZURvbUZvckFycmF5KGh0bWwsICcubW9kdWxlLWl0ZW1zJiYubW9kdWxlLXNlYXJjaC1pdGVtJyk7XG4vL3NldEVycm9yKGxpc3RbMV0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dGl0bGU6IHBhcnNlRG9tRm9ySHRtbCh0YWJzW2ldLCBcImJvZHkmJnNwYW4mJlRleHRcIikgKyAnIOKAnOKAnOWIh+aNoumAiembhuaOkuW6j+KAneKAnScsXG4gICAgICAgICAgICAgICAgdXJsOiBcImhpa2VyOi8vZW1wdHlAbGF6eVJ1bGU9LmpzOnB1dE15VmFyKCdxeXlzc29ydCcsIGdldE15VmFyKCdxeXlzc29ydCcsJzEnKT09JzEnPycwJzonMScpO3JlZnJlc2hQYWdlKCk7J3RvYXN0Oi8v5YiH5o2i5oiQ5Yqf77yBJ1wiLFxuICAgICAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF8xJ1xuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICBkcHNoKGxpc3QpO1xuICAgICAgICB9XG4gICAgfVxufVxuXG5cbi8v5LqM57qn5qih5p2/Ynnpppnpm4Xmg4VcbnJlcy5kYXRhID0gZDtcbnNldEhvbWVSZXN1bHQocmVzKTsiLCJzZGV0YWlsX2NvbF90eXBlIjoibW92aWVfMSIsInNkZXRhaWxfZmluZF9ydWxlIjoiKiIsInVhIjoibW9iaWxlIiwicHJlUnVsZSI6IiIsInBhZ2VzIjoiW10iLCJpY29uIjoiIiwicHJveHkiOiIifQ==
Add Comment
Please, Sign In to add comment