feat: Update Bilibili and Youtube Rewrite

This commit is contained in:
SVE1R 2023-12-17 01:20:23 +08:00
parent 83a73c773e
commit 93af3b762b
14 changed files with 5725 additions and 13029 deletions

View File

@ -1,4 +1,4 @@
#!name=毒奶特供(2023年11月24日更新)
#!name=毒奶特供(2023年12月17日更新)
#!desc=毒奶去网页广告计划稳定版For Surge / Quantumult X / Shadowrocket/ 油猴 - Tampermonkey ;如去内容农场/泥巴影视/剧迷网/低端影视/哔滴影视/Jable/Missav//Netflav/Xvideos/Pornhub/91../禁漫天堂/百度与谷歌搜索结果页面广告等视频网站广告或其他ACG网站网页广告/百度知道广告...
#! \\ You Can Change The World With Code.

View File

@ -9,8 +9,8 @@
// @TgChannel https://t.me/ddgksf2021
// @Contribute https://t.me/ddgksf2013_bot
// @Feedback 📮 ddgksf2013@163.com 📮
// @UpdateTime 2023-08-17
// @ConfigVersion V2.0.127
// @UpdateTime 2023-11-24
// @ConfigVersion V2.0.128
// @Attention 如果广告仍然存在,请清除缓存或卸载应用重新安装
// @Attention 如需引用请注明出处,谢谢合作!
// @Function 去广告配置(自用,不定期更新)

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
// @Contribute https://t.me/ddgksf2013_bot
// @Feedback 📮 ddgksf2013@163.com 📮
// @Attention 如需引用请注明出处,谢谢合作!
// @UpdateTime 2023-09-02
// @UpdateTime 2023-12-03
// @Function 自用影视网站去广告配置(不定期更新)
// @Suitable 自行观看"# > "注释内容
// @Explain 推荐使用手机版Chrome或Alook浏览器(仅供墨鱼本人及小部分QX用户使用)
@ -16,54 +16,50 @@
hostname=m.nivod4.tv, www.freeok.vip, *netflix*, *bdys*,*cupfox*,*cokemv*,*pornhub.com,*lezhutv*,*bimi*,18comic.org,*5y*,*gimy*,*tkznp*,*czzy*,*ikandy*,*libvio*
hostname=m.nivod4.tv, *.freeok.*, *netflix*, *bdys*,*cupfox*,*cokemv*,*pornhub.com,*lezhutv*,*bimi*,18comic.org,*5y*,*gimy*,*tkznp*,*czzy*,*ikandy*,*libvio*
# > 16 泥巴影视[网页优化]@Adblock4limbo - 网站地址https://m.nivod4.tv
^https?:\/\/.*nivod.*\/($|[0-9a-zA-Z=_/-]+\.html) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/nivod.js
# > 15 FreeOk[网页优化]@ddgksf2013 - 网站地址https://www.freeok.vip
^https?:\/\/www\.freeok\.vip(\/$|\/[0-9a-zA-Z=_/-]+\.html$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/freeok.js
# > 08 FreeOk[网页优化]@ddgksf2013 - 网站地址https://www.freeok.vip
^https?:\/\/www\.freeok\.(vip|pro)(\/$|\/[0-9a-zA-Z=_/-]+\.html$) url script-response-body https://raw.githubusercontent.com/ddgksf2013/Scripts/master/adguard.js
# > 14 奈飞鸭[网页优化]@ddgksf2013 - 网站地址https://yanetflix.com [未测试]
^https?:\/\/.*netflix.*\/($|[0-9a-zA-Z=_/-]+\.html$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/netflix.js
# > 13 哔嘀影视[网页优化]@ddgksf2013 - 网站地址https://www.bdys01.com
# > 07 哔嘀影视[网页优化]@ddgksf2013 - 网站地址https://www.bdys01.com
^https?:\/\/.*bdys.*com\/($|([a-z]+)\/(play\/)?\d+.*$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/bdys.js
# > 12 茶杯狐[网页优化]@ddgksf2013 - 网站地址https://cupfox.app
# > 06 茶杯狐[网页优化]@ddgksf2013 - 网站地址https://cupfox.app
^https?:/\/.*cupfox\.app\/($|[\u4E00-\u9FFFa-zA-Z0-9%=_/-]+$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/cupbox.js
# > 11 Cokemv[网页优化]@ddgksf2013 - 网站地址https://cokemv.me
^https?:/\/cokemv\.me\/($|vod.*$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/cokemv.js
# > 10 PornHub[网页优化]@ddgksf2013 - 网站地址https://cn.pornhub.com
# > 05 PornHub[网页优化]@ddgksf2013 - 网站地址https://cn.pornhub.com
^https:\/\/(cn|www)\.pornhub\.com\/_xa\/ads url reject-dict
^https?:/\/(cn|www)\.pornhub\.com\/($|(view|video).*$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/pornhub.js
# > 09 LeZhu[网页优化]@ddgksf2013 - 网站地址http://www.lezhutv.com
^https?:/\/.*lezhutv\.com\/($|(type|detail|play|index).*$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/lezhu.js
# > 08 Bimi[网页优化]@ddgksf2013 - 网站地址https://www.bimi.net
# > 04 Bimi[网页优化]@ddgksf2013 - 网站地址https://www.bimi.net
^https?:/\/.*bimi.*net\/($|(vodshow|bangumi|type)\/[0-9a-z-\/]+\/$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/bimi.js
# > 07 禁漫天堂[网页优化]@ddgksf2013 - 网站地址https://18comic.org
# > 03 禁漫天堂[网页优化]@ddgksf2013 - 网站地址https://18comic.org
^https?:\/\/.*18comic\.org\/($|(album|photo).*$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/18comic.js
# > 06 555影视[网页优化]@ddgksf2013 - 网站地址https://555yy6.com
^https?:\/\/.*5y.*\/($|[0-9a-zA-Z=_/-]+\.html$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/555.js
# > 05 剧迷[网页优化]@ddgksf2013 - 网站地址https://gimys.app
# > 02 剧迷[网页优化]@ddgksf2013 - 网站地址https://gimys.app
^https?:\/\/.*gimy.*\/($|[0-9a-zA-Z=_/-]+\.html$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/gimytv.js
# > 04 天空影视[网页优化]@ddgksf2013 - 网站地址https://tkznp.com/ [未测试]
^https?:\/\/.*tkznp.*com\/($|[0-9a-zA-Z=_/-]+\.html$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/tkys.js
# > 03 厂长电影[网页优化]@ddgksf2013 - 网站地址https://czzy.art/
# > 01 厂长电影[网页优化]@ddgksf2013 - 网站地址https://czzy.art/
^https?:\/\/.*czzy.*\/($|\?btwaf=\w+$|[0-9a-zA-Z=_/-]+\.html) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/qianoo.js
# =========== 不维护或网站已关服 =========== #
# > 08 Cokemv[网页优化]@ddgksf2013 - 网站地址https://cokemv.me
^https?:/\/cokemv\.me\/($|vod.*$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/cokemv.js
# > 07 555影视[网页优化]@ddgksf2013 - 网站地址https://555yy6.com
^https?:\/\/.*5y.*\/($|[0-9a-zA-Z=_/-]+\.html$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/555.js
# > 06 泥巴影视[网页优化]@Adblock4limbo - 网站地址https://m.nivod4.tv
^https?:\/\/.*nivod.*\/($|[0-9a-zA-Z=_/-]+\.html) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/nivod.js
# > 05 奈飞鸭[网页优化]@ddgksf2013 - 网站地址https://yanetflix.com
^https?:\/\/.*netflix.*\/($|[0-9a-zA-Z=_/-]+\.html$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/netflix.js
# > 04 LeZhu[网页优化]@ddgksf2013 - 网站地址http://www.lezhutv.com
^https?:/\/.*lezhutv\.com\/($|(type|detail|play|index).*$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/lezhu.js
# > 03 天空影视[网页优化]@ddgksf2013 - 网站地址https://tkznp.com/
^https?:\/\/.*tkznp.*com\/($|[0-9a-zA-Z=_/-]+\.html$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/tkys.js
# > 02 真不卡[网页优化]@ddgksf2013 - 网站地址https://www.ikandy.fun
^https?:\/\/.*ikandy.*fun\/($|(vod|top).*$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/zhenbuka.js
# > 01 libvio[网页优化]@ddgksf2013 - 网站地址https://www.libvio.me
^https?:\/\/.*libvio.*me\/($|[0-9a-zA-Z=_/-]+\.html$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/libvio.js

View File

@ -1,16 +1,35 @@
# > Credit
# @Choler & @DivineEngine & @app2smile
# > Feature
# - 删除 Youtube (Music) 广告
# - 删除 Youtube 底部 上传 按钮 & Youtube Music 底部选段、升级按钮
# + 增加 Youtube 画中画(PIP)
# + 增加 Youtube 字幕翻译 (Thanks @VirgilClyne)
# + 增加 Youtube (Music) 后台播放
# + 增加 Youtube Music 歌词翻译
# > Note
# Youtube 画中画和后台播放分别在客户端内关闭
# - 设置 -> 通用 -> 画中画
# - 设置 -> 后台播放和下载 -> 后台播放
# 该模块已足够全面,无需其他规则混用,防止重写规则被破坏
# 不支持 Mock 的客户端可以用 reject-200/reject-img 替代
hostname = -redirector*.googlevideo.com,*.googlevideo.com,www.youtube.com,s.youtube.com,youtubei.googleapis.com
# ======= 视频广告请求 ======= #
(^https?:\/\/[\w-]+\.googlevideo\.com\/(?!dclk_video_ads).+?)&ctier=L(&.+?),ctier,(.+) url 302 $1$2$3
^https?:\/\/[\w-]+\.googlevideo\.com\/(?!(dclk_video_ads|videoplayback\?)).+&oad url reject-200
^https?:\/\/[\w-]+\.googlevideo\.com\/initplayback.+&oad url reject-200
# ======= 视频PIP|后台播放|瀑布流|搜索页|播放页|短视频|贴片广告 ======= #
^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|reel\/reel_watch_sequence)\? url script-request-body https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/dist/youtube.request.beta.js
^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|search|reel\/reel_watch_sequence|guide|account\/get_setting)\? url script-response-body https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/dist/youtube.response.beta.js
^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|reel\/reel_watch_sequence)\? url script-request-body https://cdn.jsdelivr.net/gh/Maasea/sgmodule@master/Script/Youtube/dist/youtube.request.beta.js
^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|search|reel\/reel_watch_sequence|guide|account\/get_setting)\? url script-response-body https://cdn.jsdelivr.net/gh/Maasea/sgmodule@master/Script/Youtube/dist/youtube.response.beta.js
# ======= 通用广告请求 ======= #
^https?:\/\/(www|s)\.youtube\.com\/api\/stats\/ads url reject-200
^https?:\/\/(www|s)\.youtube\.com\/(pagead|ptracking) url reject-200
^https?:\/\/s\.youtube\.com\/api\/stats\/qoe\?adcontext url reject-200
^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v\d\/player\/ad_break url reject

View File

@ -1,4 +1,4 @@
const version = 'V2.0.117';
const version = 'V2.0.118';
let body = $response.body;
if (body) {
@ -162,7 +162,7 @@ if (body) {
let v = JSON.parse(body),
$ = new Set([
396, 397, 398, 399, 407, 410, 402, 404, 425, 426, 427, 428, 430,
432, 433, 434, 494, 495, 496, 497, 500, 501,
432, 433, 434, 494, 495, 496, 497, 500, 501, 2830,
]);
v.data.sections_v2.forEach((t, i) => {
let a = t.items.filter((t) => $.has(t.id));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -1,19 +1,55 @@
var version_ = 'jsjiami.com.v7';
var _0x412946 = _0xd235;
(function (_0x1e6c3f, _0x1ff154, _0x15328a, _0x1d3fed, _0x33d093, _0x21ad39, _0xd358b) {
return _0x1e6c3f = _0x1e6c3f >> 0x4, _0x21ad39 = 'hs', _0xd358b = 'hs', function (_0x4ad759, _0x4be1a3, _0xa0871e, _0x5d549c, _0x1faed9) {
((function (
_0x1e6c3f,
_0x1ff154,
_0x15328a,
_0x1d3fed,
_0x33d093,
_0x21ad39,
_0xd358b
) {
return (
(_0x1e6c3f = _0x1e6c3f >> 0x4),
(_0x21ad39 = 'hs'),
(_0xd358b = 'hs'),
(function (_0x4ad759, _0x4be1a3, _0xa0871e, _0x5d549c, _0x1faed9) {
var _0x39032c = _0xd235;
_0x5d549c = 'tfi', _0x21ad39 = _0x5d549c + _0x21ad39, _0x1faed9 = 'up', _0xd358b += _0x1faed9, _0x21ad39 = _0xa0871e(_0x21ad39), _0xd358b = _0xa0871e(_0xd358b), _0xa0871e = 0x0;
(_0x5d549c = 'tfi'),
(_0x21ad39 = _0x5d549c + _0x21ad39),
(_0x1faed9 = 'up'),
(_0xd358b += _0x1faed9),
(_0x21ad39 = _0xa0871e(_0x21ad39)),
(_0xd358b = _0xa0871e(_0xd358b)),
(_0xa0871e = 0x0);
var _0x28002c = _0x4ad759();
while (!![] && --_0x1d3fed + _0x4be1a3) {
try {
_0x5d549c = -parseInt(_0x39032c(0x1aa, 'YMkj')) / 0x1 + -parseInt(_0x39032c(0x19c, '#)mD')) / 0x2 + -parseInt(_0x39032c(0x1b9, '8!ZH')) / 0x3 * (parseInt(_0x39032c(0x1db, 'l)%1')) / 0x4) + -parseInt(_0x39032c(0x175, ']89@')) / 0x5 * (-parseInt(_0x39032c(0x1d1, '2[Ac')) / 0x6) + parseInt(_0x39032c(0x18e, '8!ZH')) / 0x7 + -parseInt(_0x39032c(0x1b6, 'vViI')) / 0x8 * (parseInt(_0x39032c(0x1bf, 'J8iM')) / 0x9) + parseInt(_0x39032c(0x180, 't9W!')) / 0xa;
_0x5d549c =
-parseInt(_0x39032c(0x1aa, 'YMkj')) / 0x1 +
-parseInt(_0x39032c(0x19c, '#)mD')) / 0x2 +
(-parseInt(_0x39032c(0x1b9, '8!ZH')) / 0x3) *
(parseInt(_0x39032c(0x1db, 'l)%1')) / 0x4) +
(-parseInt(_0x39032c(0x175, ']89@')) / 0x5) *
(-parseInt(_0x39032c(0x1d1, '2[Ac')) / 0x6) +
parseInt(_0x39032c(0x18e, '8!ZH')) / 0x7 +
(-parseInt(_0x39032c(0x1b6, 'vViI')) / 0x8) *
(parseInt(_0x39032c(0x1bf, 'J8iM')) / 0x9) +
parseInt(_0x39032c(0x180, 't9W!')) / 0xa;
} catch (_0x405dab) {
_0x5d549c = _0xa0871e;
} finally {
_0x1faed9 = _0x28002c[_0x21ad39]();
if (_0x1e6c3f <= _0x1d3fed) _0xa0871e ? _0x33d093 ? _0x5d549c = _0x1faed9 : _0x33d093 = _0x1faed9 : _0xa0871e = _0x1faed9; else {
if (_0xa0871e == _0x33d093['replace'](/[YrxdfWVUFDyBIuHbKLhX=]/g, '')) {
if (_0x1e6c3f <= _0x1d3fed)
_0xa0871e
? _0x33d093
? (_0x5d549c = _0x1faed9)
: (_0x33d093 = _0x1faed9)
: (_0xa0871e = _0x1faed9);
else {
if (
_0xa0871e == _0x33d093['replace'](/[YrxdfWVUFDyBIuHbKLhX=]/g, '')
) {
if (_0x5d549c === _0x4be1a3) {
_0x28002c['un' + _0x21ad39](_0x1faed9);
break;
@ -23,295 +59,656 @@ var _0x412946 = _0xd235;
}
}
}
}(_0x15328a, _0x1ff154, function (_0xe541ea, _0x194479, _0x37c1d2, _0x314e54, _0x4e79dc, _0x4d0927, _0x183b22) {
return _0x194479 = '\x73\x70\x6c\x69\x74', _0xe541ea = arguments[0x0], _0xe541ea = _0xe541ea[_0x194479](''), _0x37c1d2 = `\x72\x65\x76\x65\x72\x73\x65`, _0xe541ea = _0xe541ea[_0x37c1d2]('\x76'), _0x314e54 = `\x6a\x6f\x69\x6e`, (0x12823c, _0xe541ea[_0x314e54](''));
});
}(0xc10, 0x73cc9, _0x582a, 0xc3), _0x582a) && (version_ = _0x582a);
})(
_0x15328a,
_0x1ff154,
function (
_0xe541ea,
_0x194479,
_0x37c1d2,
_0x314e54,
_0x4e79dc,
_0x4d0927,
_0x183b22
) {
return (
(_0x194479 = '\x73\x70\x6c\x69\x74'),
(_0xe541ea = arguments[0x0]),
(_0xe541ea = _0xe541ea[_0x194479]('')),
(_0x37c1d2 = `\x72\x65\x76\x65\x72\x73\x65`),
(_0xe541ea = _0xe541ea[_0x37c1d2]('\x76')),
(_0x314e54 = `\x6a\x6f\x69\x6e`),
(0x12823c, _0xe541ea[_0x314e54](''))
);
}
)
);
})(0xc10, 0x73cc9, _0x582a, 0xc3),
_0x582a) && (version_ = _0x582a);
(function () {
var _0x444e62 = _0xd235, _0x56675b = {
'RwhUB': function (_0x591197, _0x5c04eb) {
var _0x444e62 = _0xd235,
_0x56675b = {
RwhUB: function (_0x591197, _0x5c04eb) {
return _0x591197 !== _0x5c04eb;
},
'jrrBm': function (_0x52de88, _0x2a0fea) {
jrrBm: function (_0x52de88, _0x2a0fea) {
return _0x52de88 === _0x2a0fea;
},
'IYPUM': _0x444e62(0x1bb, 'FS2M'),
'ZpSWE': _0x444e62(0x183, 'l)%1'),
'mlSrt': function (_0x4f9b8f, _0x447348) {
IYPUM: _0x444e62(0x1bb, 'FS2M'),
ZpSWE: _0x444e62(0x183, 'l)%1'),
mlSrt: function (_0x4f9b8f, _0x447348) {
return _0x4f9b8f === _0x447348;
}
},
_0x4be2a6 = _0x56675b[_0x444e62(0x185, 'Q!qj')](typeof window, _0x444e62(0x1b0, '2Rbe')) ? window : _0x56675b[_0x444e62(0x17c, 'Bm[$')](typeof process, _0x56675b['IYPUM']) && typeof require === _0x56675b[_0x444e62(0x17b, 'ENXP')] && _0x56675b[_0x444e62(0x1ca, 'ST6i')](typeof global, _0x56675b[_0x444e62(0x16d, '*KK6')]) ? global : this;
},
_0x4be2a6 = _0x56675b[_0x444e62(0x185, 'Q!qj')](
typeof window,
_0x444e62(0x1b0, '2Rbe')
)
? window
: _0x56675b[_0x444e62(0x17c, 'Bm[$')](
typeof process,
_0x56675b['IYPUM']
) &&
typeof require === _0x56675b[_0x444e62(0x17b, 'ENXP')] &&
_0x56675b[_0x444e62(0x1ca, 'ST6i')](
typeof global,
_0x56675b[_0x444e62(0x16d, '*KK6')]
)
? global
: this;
_0x4be2a6['setInterval'](_0x54e194, 0x7d0);
}());
})();
function _0xd235(_0x881cfd, _0x31c139) {
var _0x52bf78 = _0x582a();
return _0xd235 = function (_0x24e5b1, _0x16a5e2) {
return (
(_0xd235 = function (_0x24e5b1, _0x16a5e2) {
_0x24e5b1 = _0x24e5b1 - 0x16a;
var _0xb8c7de = _0x52bf78[_0x24e5b1];
if (_0xd235['pTCaYN'] === undefined) {
var _0x54e194 = function (_0x54d668) {
var _0x42dd97 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
var _0x3a2582 = '', _0x3eb3bd = '';
for (var _0x31ec84 = 0x0, _0x2560e4, _0xa95f06, _0x4cf6be = 0x0; _0xa95f06 = _0x54d668['charAt'](_0x4cf6be++); ~_0xa95f06 && (_0x2560e4 = _0x31ec84 % 0x4 ? _0x2560e4 * 0x40 + _0xa95f06 : _0xa95f06, _0x31ec84++ % 0x4) ? _0x3a2582 += String['fromCharCode'](0xff & _0x2560e4 >> (-0x2 * _0x31ec84 & 0x6)) : 0x0) {
var _0x42dd97 =
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';
var _0x3a2582 = '',
_0x3eb3bd = '';
for (
var _0x31ec84 = 0x0, _0x2560e4, _0xa95f06, _0x4cf6be = 0x0;
(_0xa95f06 = _0x54d668['charAt'](_0x4cf6be++));
~_0xa95f06 &&
((_0x2560e4 =
_0x31ec84 % 0x4 ? _0x2560e4 * 0x40 + _0xa95f06 : _0xa95f06),
_0x31ec84++ % 0x4)
? (_0x3a2582 += String['fromCharCode'](
0xff & (_0x2560e4 >> ((-0x2 * _0x31ec84) & 0x6))
))
: 0x0
) {
_0xa95f06 = _0x42dd97['indexOf'](_0xa95f06);
}
for (var _0x3234b8 = 0x0, _0x2746b8 = _0x3a2582['length']; _0x3234b8 < _0x2746b8; _0x3234b8++) {
_0x3eb3bd += '%' + ('00' + _0x3a2582['charCodeAt'](_0x3234b8)['toString'](0x10))['slice'](-0x2);
for (
var _0x3234b8 = 0x0, _0x2746b8 = _0x3a2582['length'];
_0x3234b8 < _0x2746b8;
_0x3234b8++
) {
_0x3eb3bd +=
'%' +
('00' + _0x3a2582['charCodeAt'](_0x3234b8)['toString'](0x10))[
'slice'
](-0x2);
}
return decodeURIComponent(_0x3eb3bd);
};
var _0xd235ef = function (_0x2653c6, _0x559a20) {
var _0x4463d7 = [], _0x1ab425 = 0x0, _0x3a076c, _0x4180ba = '';
var _0x4463d7 = [],
_0x1ab425 = 0x0,
_0x3a076c,
_0x4180ba = '';
_0x2653c6 = _0x54e194(_0x2653c6);
var _0x5b0acc;
for (_0x5b0acc = 0x0; _0x5b0acc < 0x100; _0x5b0acc++) {
_0x4463d7[_0x5b0acc] = _0x5b0acc;
}
for (_0x5b0acc = 0x0; _0x5b0acc < 0x100; _0x5b0acc++) {
_0x1ab425 = (_0x1ab425 + _0x4463d7[_0x5b0acc] + _0x559a20['charCodeAt'](_0x5b0acc % _0x559a20['length'])) % 0x100, _0x3a076c = _0x4463d7[_0x5b0acc], _0x4463d7[_0x5b0acc] = _0x4463d7[_0x1ab425], _0x4463d7[_0x1ab425] = _0x3a076c;
(_0x1ab425 =
(_0x1ab425 +
_0x4463d7[_0x5b0acc] +
_0x559a20['charCodeAt'](_0x5b0acc % _0x559a20['length'])) %
0x100),
(_0x3a076c = _0x4463d7[_0x5b0acc]),
(_0x4463d7[_0x5b0acc] = _0x4463d7[_0x1ab425]),
(_0x4463d7[_0x1ab425] = _0x3a076c);
}
_0x5b0acc = 0x0, _0x1ab425 = 0x0;
for (var _0x2085e7 = 0x0; _0x2085e7 < _0x2653c6['length']; _0x2085e7++) {
_0x5b0acc = (_0x5b0acc + 0x1) % 0x100, _0x1ab425 = (_0x1ab425 + _0x4463d7[_0x5b0acc]) % 0x100, _0x3a076c = _0x4463d7[_0x5b0acc], _0x4463d7[_0x5b0acc] = _0x4463d7[_0x1ab425], _0x4463d7[_0x1ab425] = _0x3a076c, _0x4180ba += String['fromCharCode'](_0x2653c6['charCodeAt'](_0x2085e7) ^ _0x4463d7[(_0x4463d7[_0x5b0acc] + _0x4463d7[_0x1ab425]) % 0x100]);
(_0x5b0acc = 0x0), (_0x1ab425 = 0x0);
for (
var _0x2085e7 = 0x0;
_0x2085e7 < _0x2653c6['length'];
_0x2085e7++
) {
(_0x5b0acc = (_0x5b0acc + 0x1) % 0x100),
(_0x1ab425 = (_0x1ab425 + _0x4463d7[_0x5b0acc]) % 0x100),
(_0x3a076c = _0x4463d7[_0x5b0acc]),
(_0x4463d7[_0x5b0acc] = _0x4463d7[_0x1ab425]),
(_0x4463d7[_0x1ab425] = _0x3a076c),
(_0x4180ba += String['fromCharCode'](
_0x2653c6['charCodeAt'](_0x2085e7) ^
_0x4463d7[
(_0x4463d7[_0x5b0acc] + _0x4463d7[_0x1ab425]) % 0x100
]
));
}
return _0x4180ba;
};
_0xd235['MRVxhq'] = _0xd235ef, _0x881cfd = arguments, _0xd235['pTCaYN'] = !![];
(_0xd235['MRVxhq'] = _0xd235ef),
(_0x881cfd = arguments),
(_0xd235['pTCaYN'] = !![]);
}
var _0x1e7890 = _0x52bf78[0x0], _0x2da6d7 = _0x24e5b1 + _0x1e7890, _0x582a8f = _0x881cfd[_0x2da6d7];
return !_0x582a8f ? (_0xd235['cKenCw'] === undefined && (_0xd235['cKenCw'] = !![]), _0xb8c7de = _0xd235['MRVxhq'](_0xb8c7de, _0x16a5e2), _0x881cfd[_0x2da6d7] = _0xb8c7de) : _0xb8c7de = _0x582a8f, _0xb8c7de;
}, _0xd235(_0x881cfd, _0x31c139);
var _0x1e7890 = _0x52bf78[0x0],
_0x2da6d7 = _0x24e5b1 + _0x1e7890,
_0x582a8f = _0x881cfd[_0x2da6d7];
return (
!_0x582a8f
? (_0xd235['cKenCw'] === undefined && (_0xd235['cKenCw'] = !![]),
(_0xb8c7de = _0xd235['MRVxhq'](_0xb8c7de, _0x16a5e2)),
(_0x881cfd[_0x2da6d7] = _0xb8c7de))
: (_0xb8c7de = _0x582a8f),
_0xb8c7de
);
}),
_0xd235(_0x881cfd, _0x31c139)
);
}
var _0x1e7890 = (function () {
var _0x3a5e73 = {
'sarsz': function (_0x23875d, _0x36e8a8) {
sarsz: function (_0x23875d, _0x36e8a8) {
return _0x23875d !== _0x36e8a8;
}, 'vtLPT': 'cGCJn'
}, _0x283469 = !![];
},
vtLPT: 'cGCJn',
},
_0x283469 = !![];
return function (_0x1e081b, _0x4c38df) {
var _0x8a912c = _0xd235;
if (_0x3a5e73[_0x8a912c(0x1ba, 'vnO)')]('cGCJn', _0x3a5e73[_0x8a912c(0x1d9, 'v7R8')])) _0x142377[_0x8a912c(0x186, 'l)%1')](_0x8a912c(0x1ab, 'S@V6')) && delete _0x12b5d2[_0x8a912c(0x1a0, 'l)%1')][_0x51d64d]; else {
var _0x1c80af = _0x283469 ? function () {
if (
_0x3a5e73[_0x8a912c(0x1ba, 'vnO)')](
'cGCJn',
_0x3a5e73[_0x8a912c(0x1d9, 'v7R8')]
)
)
_0x142377[_0x8a912c(0x186, 'l)%1')](_0x8a912c(0x1ab, 'S@V6')) &&
delete _0x12b5d2[_0x8a912c(0x1a0, 'l)%1')][_0x51d64d];
else {
var _0x1c80af = _0x283469
? function () {
var _0x1fec6b = _0x8a912c;
if (_0x4c38df) {
var _0x4e74ec = _0x4c38df[_0x1fec6b(0x1cc, 'zXvO')](_0x1e081b, arguments);
return _0x4c38df = null, _0x4e74ec;
var _0x4e74ec = _0x4c38df[_0x1fec6b(0x1cc, 'zXvO')](
_0x1e081b,
arguments
);
return (_0x4c38df = null), _0x4e74ec;
}
} : function () {
};
return _0x283469 = ![], _0x1c80af;
}
: function () {};
return (_0x283469 = ![]), _0x1c80af;
}
};
}());
})();
(function () {
var _0x3c329e = _0xd235, _0x5db9bc = {
'fcGSY': function (_0x1dee61, _0x58ac6d) {
var _0x3c329e = _0xd235,
_0x5db9bc = {
fcGSY: function (_0x1dee61, _0x58ac6d) {
return _0x1dee61(_0x58ac6d);
}, 'DzeBa': 'DipIl', 'KKMhI': _0x3c329e(0x16f, '%%*F'), 'mQqFh': function (_0x5d39ee, _0x324e2a) {
},
DzeBa: 'DipIl',
KKMhI: _0x3c329e(0x16f, '%%*F'),
mQqFh: function (_0x5d39ee, _0x324e2a) {
return _0x5d39ee(_0x324e2a);
}, 'mVEkh': _0x3c329e(0x1ce, '2Rbe'), 'irZDF': function (_0x4f2be6, _0x2aca1d) {
},
mVEkh: _0x3c329e(0x1ce, '2Rbe'),
irZDF: function (_0x4f2be6, _0x2aca1d) {
return _0x4f2be6 + _0x2aca1d;
}, 'KwKxw': 'chain', 'cWvRF': 'input', 'dcIRK': function (_0x295552, _0x2875af) {
},
KwKxw: 'chain',
cWvRF: 'input',
dcIRK: function (_0x295552, _0x2875af) {
return _0x295552 === _0x2875af;
}, 'iAOhW': 'AbSeu', 'pvOzY': function (_0x5abd7f) {
},
iAOhW: 'AbSeu',
pvOzY: function (_0x5abd7f) {
return _0x5abd7f();
}, 'TsXVT': function (_0x3522eb, _0x3b7f60, _0x27bcef) {
},
TsXVT: function (_0x3522eb, _0x3b7f60, _0x27bcef) {
return _0x3522eb(_0x3b7f60, _0x27bcef);
}
},
};
_0x5db9bc[_0x3c329e(0x1d5, '9*mh')](_0x1e7890, this, function () {
var _0x5da4be = _0x3c329e;
if (_0x5da4be(0x19e, 'vnO)') === _0x5db9bc[_0x5da4be(0x1be, 'z8Qg')]) _0x5db9bc[_0x5da4be(0x1a1, '!Ue2')](_0x45b28d, '0'); else {
if (_0x5da4be(0x19e, 'vnO)') === _0x5db9bc[_0x5da4be(0x1be, 'z8Qg')])
_0x5db9bc[_0x5da4be(0x1a1, '!Ue2')](_0x45b28d, '0');
else {
var _0x16d056 = new RegExp(_0x5db9bc[_0x5da4be(0x181, '&i&*')]),
_0xc42230 = new RegExp('\x5c+\x5c+\x20*(?:[a-zA-Z_$][0-9a-zA-Z_$]*)', 'i'),
_0x301c33 = _0x5db9bc[_0x5da4be(0x1a6, '8!ZH')](_0x54e194, _0x5db9bc[_0x5da4be(0x17f, 'vViI')]);
if (!_0x16d056[_0x5da4be(0x1c7, 't9W!')](_0x5db9bc[_0x5da4be(0x196, '8UA]')](_0x301c33, _0x5db9bc[_0x5da4be(0x18b, 'ST6i')])) || !_0xc42230[_0x5da4be(0x199, '82DE')](_0x5db9bc['irZDF'](_0x301c33, _0x5db9bc[_0x5da4be(0x18c, 'vViI')]))) _0x301c33('0'); else {
if (_0x5db9bc['dcIRK'](_0x5da4be(0x16e, 'ST6i'), _0x5db9bc[_0x5da4be(0x1cb, 'vBfx')])) _0x5db9bc[_0x5da4be(0x172, 'h8[n')](_0x54e194); else return _0x103ebd;
_0xc42230 = new RegExp(
'\x5c+\x5c+\x20*(?:[a-zA-Z_$][0-9a-zA-Z_$]*)',
'i'
),
_0x301c33 = _0x5db9bc[_0x5da4be(0x1a6, '8!ZH')](
_0x54e194,
_0x5db9bc[_0x5da4be(0x17f, 'vViI')]
);
if (
!_0x16d056[_0x5da4be(0x1c7, 't9W!')](
_0x5db9bc[_0x5da4be(0x196, '8UA]')](
_0x301c33,
_0x5db9bc[_0x5da4be(0x18b, 'ST6i')]
)
) ||
!_0xc42230[_0x5da4be(0x199, '82DE')](
_0x5db9bc['irZDF'](_0x301c33, _0x5db9bc[_0x5da4be(0x18c, 'vViI')])
)
)
_0x301c33('0');
else {
if (
_0x5db9bc['dcIRK'](
_0x5da4be(0x16e, 'ST6i'),
_0x5db9bc[_0x5da4be(0x1cb, 'vBfx')]
)
)
_0x5db9bc[_0x5da4be(0x172, 'h8[n')](_0x54e194);
else return _0x103ebd;
}
}
})();
}());
})();
var _0x16a5e2 = (function () {
var _0x123e18 = _0xd235, _0x5a7f23 = {
'AxlNj': function (_0x339d6c, _0x4e41e9) {
var _0x123e18 = _0xd235,
_0x5a7f23 = {
AxlNj: function (_0x339d6c, _0x4e41e9) {
return _0x339d6c === _0x4e41e9;
}, 'URQrD': _0x123e18(0x177, '8!ZH')
}, _0x8a2e69 = !![];
},
URQrD: _0x123e18(0x177, '8!ZH'),
},
_0x8a2e69 = !![];
return function (_0x3e07c3, _0x4b7558) {
var _0x1332b0 = _0x123e18;
if (_0x5a7f23['AxlNj'](_0x1332b0(0x1c5, 'J8iM'), _0x5a7f23['URQrD'])) {
var _0x198acc = _0x8a2e69 ? function () {
var _0x198acc = _0x8a2e69
? function () {
if (_0x4b7558) {
var _0x2b4f70 = _0x4b7558['apply'](_0x3e07c3, arguments);
return _0x4b7558 = null, _0x2b4f70;
return (_0x4b7558 = null), _0x2b4f70;
}
} : function () {
};
return _0x8a2e69 = ![], _0x198acc;
}
: function () {};
return (_0x8a2e69 = ![]), _0x198acc;
} else {
var _0xb80552 = _0x5091ac[_0x1332b0(0x1dd, 'Q!qj')][_0x1332b0(0x17a, ']A(A')][_0x1332b0(0x1d7, 't9W!')](_0x56c89b),
_0x78627b = _0x57bf40[_0xfd733b], _0x541ffd = _0x49ffbd[_0x78627b] || _0xb80552;
_0xb80552['__proto__'] = _0x4e2a13[_0x1332b0(0x192, 'YE(U')](_0x1eddda), _0xb80552[_0x1332b0(0x1b7, 'BH9%')] = _0x541ffd[_0x1332b0(0x1c4, '2Rbe')]['bind'](_0x541ffd), _0x365299[_0x78627b] = _0xb80552;
var _0xb80552 =
_0x5091ac[_0x1332b0(0x1dd, 'Q!qj')][_0x1332b0(0x17a, ']A(A')][
_0x1332b0(0x1d7, 't9W!')
](_0x56c89b),
_0x78627b = _0x57bf40[_0xfd733b],
_0x541ffd = _0x49ffbd[_0x78627b] || _0xb80552;
(_0xb80552['__proto__'] =
_0x4e2a13[_0x1332b0(0x192, 'YE(U')](_0x1eddda)),
(_0xb80552[_0x1332b0(0x1b7, 'BH9%')] =
_0x541ffd[_0x1332b0(0x1c4, '2Rbe')]['bind'](_0x541ffd)),
(_0x365299[_0x78627b] = _0xb80552);
}
};
}()), _0x24e5b1 = _0x16a5e2(this, function () {
var _0x3afcaa = _0xd235, _0x52e42e = {
'gErEB': function (_0x22c3fb, _0x2b53d2) {
})(),
_0x24e5b1 = _0x16a5e2(this, function () {
var _0x3afcaa = _0xd235,
_0x52e42e = {
gErEB: function (_0x22c3fb, _0x2b53d2) {
return _0x22c3fb !== _0x2b53d2;
},
'djawc': _0x3afcaa(0x1d8, 't9W!'),
'ODtDl': function (_0x273e5e, _0x4e666) {
djawc: _0x3afcaa(0x1d8, 't9W!'),
ODtDl: function (_0x273e5e, _0x4e666) {
return _0x273e5e === _0x4e666;
},
'MisHc': _0x3afcaa(0x176, '73eR'),
'XzCSm': 'function',
'aVBIv': 'warn',
'HWZII': 'info',
'etxwP': 'error',
'Vsbgt': _0x3afcaa(0x17d, 'YE(U'),
'xnWTt': function (_0x881937, _0x29f862) {
MisHc: _0x3afcaa(0x176, '73eR'),
XzCSm: 'function',
aVBIv: 'warn',
HWZII: 'info',
etxwP: 'error',
Vsbgt: _0x3afcaa(0x17d, 'YE(U'),
xnWTt: function (_0x881937, _0x29f862) {
return _0x881937 < _0x29f862;
},
'QmSNK': _0x3afcaa(0x17e, 'bAeV'),
'noJZp': _0x3afcaa(0x1d6, '8UA]')
QmSNK: _0x3afcaa(0x17e, 'bAeV'),
noJZp: _0x3afcaa(0x1d6, '8UA]'),
},
_0x5ec74e = _0x52e42e[_0x3afcaa(0x1c3, ']A(A')](typeof window, _0x52e42e[_0x3afcaa(0x1c8, 'MpNU')]) ? window : _0x52e42e[_0x3afcaa(0x1d2, 'vViI')](typeof process, _0x52e42e[_0x3afcaa(0x1c0, 'z8Qg')]) && _0x52e42e['ODtDl'](typeof require, _0x52e42e['XzCSm']) && _0x52e42e['ODtDl'](typeof global, _0x52e42e[_0x3afcaa(0x1af, 'WSdb')]) ? global : this,
_0x1fea28 = _0x5ec74e[_0x3afcaa(0x190, 'FS2M')] = _0x5ec74e['console'] || {},
_0x36561c = [_0x3afcaa(0x1c2, '2Rbe'), _0x52e42e[_0x3afcaa(0x195, 'ENXP')], _0x52e42e[_0x3afcaa(0x1c6, 'bAeV')], _0x52e42e[_0x3afcaa(0x1a3, ']A(A')], 'exception', 'table', _0x52e42e[_0x3afcaa(0x189, 'h8[n')]];
for (var _0x558777 = 0x0; _0x52e42e['xnWTt'](_0x558777, _0x36561c[_0x3afcaa(0x174, 'Zu]^')]); _0x558777++) {
_0x5ec74e = _0x52e42e[_0x3afcaa(0x1c3, ']A(A')](
typeof window,
_0x52e42e[_0x3afcaa(0x1c8, 'MpNU')]
)
? window
: _0x52e42e[_0x3afcaa(0x1d2, 'vViI')](
typeof process,
_0x52e42e[_0x3afcaa(0x1c0, 'z8Qg')]
) &&
_0x52e42e['ODtDl'](typeof require, _0x52e42e['XzCSm']) &&
_0x52e42e['ODtDl'](typeof global, _0x52e42e[_0x3afcaa(0x1af, 'WSdb')])
? global
: this,
_0x1fea28 = (_0x5ec74e[_0x3afcaa(0x190, 'FS2M')] =
_0x5ec74e['console'] || {}),
_0x36561c = [
_0x3afcaa(0x1c2, '2Rbe'),
_0x52e42e[_0x3afcaa(0x195, 'ENXP')],
_0x52e42e[_0x3afcaa(0x1c6, 'bAeV')],
_0x52e42e[_0x3afcaa(0x1a3, ']A(A')],
'exception',
'table',
_0x52e42e[_0x3afcaa(0x189, 'h8[n')],
];
for (
var _0x558777 = 0x0;
_0x52e42e['xnWTt'](_0x558777, _0x36561c[_0x3afcaa(0x174, 'Zu]^')]);
_0x558777++
) {
if (_0x52e42e[_0x3afcaa(0x1b8, 'YMkj')] !== _0x3afcaa(0x18a, 'l)%1')) {
var _0x269024 = _0x2e0748[_0x3afcaa(0x1dc, '&i&*')](_0x5216fa, arguments);
return _0x4c6ecd = null, _0x269024;
var _0x269024 = _0x2e0748[_0x3afcaa(0x1dc, '&i&*')](
_0x5216fa,
arguments
);
return (_0x4c6ecd = null), _0x269024;
} else {
var _0x514426 = _0x52e42e['noJZp'][_0x3afcaa(0x1ac, '*KK6')]('|'), _0x3ea11e = 0x0;
var _0x514426 = _0x52e42e['noJZp'][_0x3afcaa(0x1ac, '*KK6')]('|'),
_0x3ea11e = 0x0;
while (!![]) {
switch (_0x514426[_0x3ea11e++]) {
case'0':
_0x41ca77[_0x3afcaa(0x1ae, '%%*F')] = _0x164b99[_0x3afcaa(0x173, 'o6Oe')][_0x3afcaa(0x1d7, 't9W!')](_0x164b99);
case '0':
_0x41ca77[_0x3afcaa(0x1ae, '%%*F')] =
_0x164b99[_0x3afcaa(0x173, 'o6Oe')][_0x3afcaa(0x1d7, 't9W!')](
_0x164b99
);
continue;
case'1':
case '1':
var _0x164b99 = _0x1fea28[_0x505332] || _0x41ca77;
continue;
case'2':
_0x41ca77[_0x3afcaa(0x1da, 'QSZQ')] = _0x16a5e2[_0x3afcaa(0x193, '8UA]')](_0x16a5e2);
case '2':
_0x41ca77[_0x3afcaa(0x1da, 'QSZQ')] =
_0x16a5e2[_0x3afcaa(0x193, '8UA]')](_0x16a5e2);
continue;
case'3':
case '3':
var _0x505332 = _0x36561c[_0x558777];
continue;
case'4':
case '4':
_0x1fea28[_0x505332] = _0x41ca77;
continue;
case'5':
var _0x41ca77 = _0x16a5e2[_0x3afcaa(0x184, 'Bm[$')][_0x3afcaa(0x1cf, 'v7R8')][_0x3afcaa(0x1a9, 'bAeV')](_0x16a5e2);
case '5':
var _0x41ca77 =
_0x16a5e2[_0x3afcaa(0x184, 'Bm[$')][_0x3afcaa(0x1cf, 'v7R8')][
_0x3afcaa(0x1a9, 'bAeV')
](_0x16a5e2);
continue;
}
break;
}
}
}
});
});
_0x24e5b1();
var obj = JSON[_0x412946(0x1b1, '82DE')]($response[_0x412946(0x1ad, 'SJDy')]), keysToDelete = ['cms_'];
var obj = JSON[_0x412946(0x1b1, '82DE')]($response[_0x412946(0x1ad, 'SJDy')]),
keysToDelete = ['cms_'];
for (var key in obj['result']) {
key['includes'](_0x412946(0x1d0, '8UA]')) && delete obj[_0x412946(0x1a5, '!Ue2')][key];
key['includes'](_0x412946(0x1d0, '8UA]')) &&
delete obj[_0x412946(0x1a5, '!Ue2')][key];
}
$done({'body': JSON[_0x412946(0x19b, ')&Gu')](obj)});
$done({ body: JSON[_0x412946(0x19b, ')&Gu')](obj) });
function _0x582a() {
var _0x25b956 = (function () {
return [...[version_, 'hjVsVFjKriUaVmuid.cyformuY.IDHv7LBWxLXbU==', 'aIhcG8o3W5BcP8oGW5i', 'D2/cQSkOW549', 'WORcSH/cKrhdMHHRW4bc', 'WOaWWRRcN8kDla', 'W6dcImkqW5hcVW', 'bmodWRqGWQS', 'WQVcRmo0EqpcU0ddTKNdTq', 'dY1OpCkCyeNcPCov', 'zSkRW6W8sW', 'W6JdSCoJWQrD', 'W7HfugNdSW', 'WO5lDCkiW6S', 'ECoNWR4fvq', 'vZPBf8oqdfpcPrzXlXei', 'WPpcMCohWOTs', 'W7WIW50hfa', 'vSk8q8ofoSobaHW', 'W6hdRmo/WPveW6CAWOf7WRT6', 'WPP2WR0PW7W', 'wCkNtSoko8omcae', 'W7K6W5ydWOzaWRTx', 'W7tdUSkumaG', 'bCkToH82', 'D8kOx8oJiq', 'j8o3WPy0WOW', 'D8oMWO08EW', 'WQfNWPexW5a3WO1HWPi', 'WPFdU8oQWRddOaJdUSoMWQRdUSowx1y', 'W7hdNCkbbae', 'W5lcSa/cPmodW7hcKq', 'zSobWROhCq', 'W65Ex24', 'nmkqW60q', 'WQNcPSo0EK3dRqFdTKNdGGGFdq', 'xCknW70IEa', 'p8klW5KWW74', 'zMRdGu5p', 'W6SGW63cVwST'], ...(function () {
return [...['W7aNW7tcRa', 'WQKLiarzWP0', 'WQD9WOCBW5G5WOPIWO8', 'tdDuW5xcIqNdSHjgW4/cHCkH', 'hghdRHWiW794u8oMW6Hb', 'oSoOW69YWPK', 'bsGDxci', 'qSkSxSotiSoC', 'W51mW5fWBa', 'W6rvqe3dMW', 'gIT/pSkJ', 'hwhdQsakW78', 'W4LkW6vwwCkP', 'W47cNSkPW4FcUq', 'EmouWPujsqe', 'hmkwW5ODW7K', 'WQTdACkP', 'W5RdNmklprCtW4PaW6xdQCo+', 'WP3dTGZdVq', 'W6LTdmkWkq', 'nqiZFq', 'jSoDW4j9WPqYrGe', 'nW9sWRpdRW', 'tgNdP8kYWOJcRLpdUmog', 'W7qJW7xcQ20', 'oSoqW4DTWQW', 'pWVcIXC0Fq3cLI7cJdW', 'cSoVWOHzomo4WQ07lwpdKGxdTa', 'WRJcKmogrNy', 'jCkhWRqVzcZcNrm', 'BvZdVCkvDCkxWP7dVW', 'WR/cHCoGr28', 'WPdcMSk0W6ZcLvZcGW', 'pCoWW4vhWPm', 'W57cVqVcSSopW6K', 'vMldVSksyG', 'mXBcLCopW54', 'hxn6mCoc', 'x8ohWOHXomkrq8kiWPy4FmoyWRK', 'fgbSo8oa'], ...(function () {
return ['WRv0W4JcMveCWOxcHG', 'vwJdPa', 'gbP1dmkX', 'twJdKmkJWPZcRLpdUG', 'lCkYW7msya', 'WOf9xCkeW40', 'fwSFuq', 'W40gW5OBjW', 'ncj5WRBdIW', 'aCoSWO4+WO8', 'WROBlCo2W44', 'gSkpo8olia', 'haJcK8oOW6a', 'ugNdQSkJ', 'WPddVrpdK8owWONcLKtdIa', 'nCkuW7aR', 'zWFdVwRcImoxlZHFWPe', 'w8o1WO8Quq', 'W5RdSCkxbq8', 'W7bxlSkUhW', 'WO4IcJTJ', 'y8kfWRaiWOLJWOVcV8o+WOqP', 'a2Ccqq', 'fgaiqmkavG3cTre', 'WPBdUZddT8oT', 'mfVdQICjW79YFSop', 'aSo5gCkxEmkrwZThWO/cHCogW5a', 'WRNcOSo6WO9I', 'WQTUWRSpW4RdKJ3cSSkAc8kZ', 'WRuZoaHuWO4', 'oq/cHXiXbuRcTWZcTrBcH8ka', 'WQa5WQhcNCkK', 'W5nemmkmea', 'lCoIWO4PWO4', 'nmohW79QWPiYrWH6swZcQ8kaqXhdJq', 'w2pdImkPta', 'gmoDW4HGWQC', 'i8kOfWiB'];
}())];
}())];
}());
return [
...[
version_,
'hjVsVFjKriUaVmuid.cyformuY.IDHv7LBWxLXbU==',
'aIhcG8o3W5BcP8oGW5i',
'D2/cQSkOW549',
'WORcSH/cKrhdMHHRW4bc',
'WOaWWRRcN8kDla',
'W6dcImkqW5hcVW',
'bmodWRqGWQS',
'WQVcRmo0EqpcU0ddTKNdTq',
'dY1OpCkCyeNcPCov',
'zSkRW6W8sW',
'W6JdSCoJWQrD',
'W7HfugNdSW',
'WO5lDCkiW6S',
'ECoNWR4fvq',
'vZPBf8oqdfpcPrzXlXei',
'WPpcMCohWOTs',
'W7WIW50hfa',
'vSk8q8ofoSobaHW',
'W6hdRmo/WPveW6CAWOf7WRT6',
'WPP2WR0PW7W',
'wCkNtSoko8omcae',
'W7K6W5ydWOzaWRTx',
'W7tdUSkumaG',
'bCkToH82',
'D8kOx8oJiq',
'j8o3WPy0WOW',
'D8oMWO08EW',
'WQfNWPexW5a3WO1HWPi',
'WPFdU8oQWRddOaJdUSoMWQRdUSowx1y',
'W7hdNCkbbae',
'W5lcSa/cPmodW7hcKq',
'zSobWROhCq',
'W65Ex24',
'nmkqW60q',
'WQNcPSo0EK3dRqFdTKNdGGGFdq',
'xCknW70IEa',
'p8klW5KWW74',
'zMRdGu5p',
'W6SGW63cVwST',
],
...(function () {
return [
...[
'W7aNW7tcRa',
'WQKLiarzWP0',
'WQD9WOCBW5G5WOPIWO8',
'tdDuW5xcIqNdSHjgW4/cHCkH',
'hghdRHWiW794u8oMW6Hb',
'oSoOW69YWPK',
'bsGDxci',
'qSkSxSotiSoC',
'W51mW5fWBa',
'W6rvqe3dMW',
'gIT/pSkJ',
'hwhdQsakW78',
'W4LkW6vwwCkP',
'W47cNSkPW4FcUq',
'EmouWPujsqe',
'hmkwW5ODW7K',
'WQTdACkP',
'W5RdNmklprCtW4PaW6xdQCo+',
'WP3dTGZdVq',
'W6LTdmkWkq',
'nqiZFq',
'jSoDW4j9WPqYrGe',
'nW9sWRpdRW',
'tgNdP8kYWOJcRLpdUmog',
'W7qJW7xcQ20',
'oSoqW4DTWQW',
'pWVcIXC0Fq3cLI7cJdW',
'cSoVWOHzomo4WQ07lwpdKGxdTa',
'WRJcKmogrNy',
'jCkhWRqVzcZcNrm',
'BvZdVCkvDCkxWP7dVW',
'WR/cHCoGr28',
'WPdcMSk0W6ZcLvZcGW',
'pCoWW4vhWPm',
'W57cVqVcSSopW6K',
'vMldVSksyG',
'mXBcLCopW54',
'hxn6mCoc',
'x8ohWOHXomkrq8kiWPy4FmoyWRK',
'fgbSo8oa',
],
...(function () {
return [
'WRv0W4JcMveCWOxcHG',
'vwJdPa',
'gbP1dmkX',
'twJdKmkJWPZcRLpdUG',
'lCkYW7msya',
'WOf9xCkeW40',
'fwSFuq',
'W40gW5OBjW',
'ncj5WRBdIW',
'aCoSWO4+WO8',
'WROBlCo2W44',
'gSkpo8olia',
'haJcK8oOW6a',
'ugNdQSkJ',
'WPddVrpdK8owWONcLKtdIa',
'nCkuW7aR',
'zWFdVwRcImoxlZHFWPe',
'w8o1WO8Quq',
'W5RdSCkxbq8',
'W7bxlSkUhW',
'WO4IcJTJ',
'y8kfWRaiWOLJWOVcV8o+WOqP',
'a2Ccqq',
'fgaiqmkavG3cTre',
'WPBdUZddT8oT',
'mfVdQICjW79YFSop',
'aSo5gCkxEmkrwZThWO/cHCogW5a',
'WRNcOSo6WO9I',
'WQTUWRSpW4RdKJ3cSSkAc8kZ',
'WRuZoaHuWO4',
'oq/cHXiXbuRcTWZcTrBcH8ka',
'WQa5WQhcNCkK',
'W5nemmkmea',
'lCoIWO4PWO4',
'nmohW79QWPiYrWH6swZcQ8kaqXhdJq',
'w2pdImkPta',
'gmoDW4HGWQC',
'i8kOfWiB',
];
})(),
];
})(),
];
})();
_0x582a = function () {
return _0x25b956;
};
return _0x582a();
};
}
function _0x54e194(_0x9dc76a) {
var _0x40e4d9 = _0x412946, _0x26a7d5 = {
'BPfHK': function (_0x20e04c, _0x11dfcf) {
var _0x40e4d9 = _0x412946,
_0x26a7d5 = {
BPfHK: function (_0x20e04c, _0x11dfcf) {
return _0x20e04c !== _0x11dfcf;
},
'rpAiL': _0x40e4d9(0x18d, ')&Gu'),
'NDXMG': _0x40e4d9(0x198, '82DE'),
'mUrmH': function (_0x3785a4, _0x25c10f) {
rpAiL: _0x40e4d9(0x18d, ')&Gu'),
NDXMG: _0x40e4d9(0x198, '82DE'),
mUrmH: function (_0x3785a4, _0x25c10f) {
return _0x3785a4 === _0x25c10f;
},
'REJXy': _0x40e4d9(0x187, 'k@#N'),
'JoYiA': 'SciMV',
'lnSys': function (_0x2aed22, _0x1e988c) {
REJXy: _0x40e4d9(0x187, 'k@#N'),
JoYiA: 'SciMV',
lnSys: function (_0x2aed22, _0x1e988c) {
return _0x2aed22 === _0x1e988c;
},
'jJNwB': _0x40e4d9(0x19a, '9*mh'),
'BePLt': _0x40e4d9(0x1b5, 'YMkj'),
'ARgcH': _0x40e4d9(0x1b2, 'vnO)'),
'tOvaO': function (_0x41acf3) {
jJNwB: _0x40e4d9(0x19a, '9*mh'),
BePLt: _0x40e4d9(0x1b5, 'YMkj'),
ARgcH: _0x40e4d9(0x1b2, 'vnO)'),
tOvaO: function (_0x41acf3) {
return _0x41acf3();
},
'jFCkD': function (_0xf5d16c, _0x4c4c9d) {
jFCkD: function (_0xf5d16c, _0x4c4c9d) {
return _0xf5d16c !== _0x4c4c9d;
},
'OQPse': _0x40e4d9(0x1a7, 'vViI'),
'yPyqO': function (_0x4d9aeb, _0x258259) {
OQPse: _0x40e4d9(0x1a7, 'vViI'),
yPyqO: function (_0x4d9aeb, _0x258259) {
return _0x4d9aeb === _0x258259;
},
'hbqGM': function (_0x1ed077, _0x4e3183) {
hbqGM: function (_0x1ed077, _0x4e3183) {
return _0x1ed077 % _0x4e3183;
},
'OkqgZ': _0x40e4d9(0x178, 'ST6i'),
'UNfkP': function (_0x5d6e3d) {
OkqgZ: _0x40e4d9(0x178, 'ST6i'),
UNfkP: function (_0x5d6e3d) {
return _0x5d6e3d();
},
'wykWH': _0x40e4d9(0x1bd, 'o6Oe'),
'iIFMz': function (_0x131a06, _0x515f7a) {
wykWH: _0x40e4d9(0x1bd, 'o6Oe'),
iIFMz: function (_0x131a06, _0x515f7a) {
return _0x131a06(_0x515f7a);
}
},
};
function _0x51f4af(_0x33a57b) {
var _0x10b0c8 = _0x40e4d9;
if (_0x26a7d5['mUrmH'](_0x26a7d5[_0x10b0c8(0x1a8, '8UA]')], _0x26a7d5[_0x10b0c8(0x171, '%%*F')])) {
if (_0x26a7d5[_0x10b0c8(0x188, 'w)ba')](typeof _0x33a57b, _0x26a7d5[_0x10b0c8(0x1d4, '*KK6')])) {
if (
_0x26a7d5['mUrmH'](
_0x26a7d5[_0x10b0c8(0x1a8, '8UA]')],
_0x26a7d5[_0x10b0c8(0x171, '%%*F')]
)
) {
if (
_0x26a7d5[_0x10b0c8(0x188, 'w)ba')](
typeof _0x33a57b,
_0x26a7d5[_0x10b0c8(0x1d4, '*KK6')]
)
) {
if (_0x26a7d5[_0x10b0c8(0x1d3, 'w)ba')] === _0x26a7d5['ARgcH']) {
var _0xd39cfe = _0x26a7d5['BPfHK'](typeof _0x1ab425, _0x26a7d5[_0x10b0c8(0x191, 'vViI')]) ? _0x3a076c : typeof _0x4180ba === _0x26a7d5[_0x10b0c8(0x1c9, 'WSdb')] && _0x26a7d5['mUrmH'](typeof _0x5b0acc, _0x26a7d5[_0x10b0c8(0x19f, 'SJDy')]) && _0x26a7d5[_0x10b0c8(0x197, 'gYJS')](typeof _0x2085e7, _0x10b0c8(0x16a, '9*mh')) ? _0xa1fac8 : this;
var _0xd39cfe = _0x26a7d5['BPfHK'](
typeof _0x1ab425,
_0x26a7d5[_0x10b0c8(0x191, 'vViI')]
)
? _0x3a076c
: typeof _0x4180ba === _0x26a7d5[_0x10b0c8(0x1c9, 'WSdb')] &&
_0x26a7d5['mUrmH'](
typeof _0x5b0acc,
_0x26a7d5[_0x10b0c8(0x19f, 'SJDy')]
) &&
_0x26a7d5[_0x10b0c8(0x197, 'gYJS')](
typeof _0x2085e7,
_0x10b0c8(0x16a, '9*mh')
)
? _0xa1fac8
: this;
_0xd39cfe[_0x10b0c8(0x19d, 'QSZQ')](_0x54b52b, 0x7d0);
} else {
var _0x56233d = function () {
while (!![]) {
}
while (!![]) {}
};
return _0x26a7d5['tOvaO'](_0x56233d);
}
} else {
if (_0x26a7d5['jFCkD'](('' + _0x33a57b / _0x33a57b)[_0x26a7d5[_0x10b0c8(0x1bc, 'BH9%')]], 0x1) || _0x26a7d5['yPyqO'](_0x26a7d5[_0x10b0c8(0x1a2, 'YE(U')](_0x33a57b, 0x14), 0x0)) {
if (_0x26a7d5[_0x10b0c8(0x1cd, 'o6Oe')](_0x26a7d5['OkqgZ'], _0x26a7d5[_0x10b0c8(0x16c, '73eR')])) {
if (_0x39102f) return _0x44b0f9; else _0x4ce086(0x0);
if (
_0x26a7d5['jFCkD'](
('' + _0x33a57b / _0x33a57b)[_0x26a7d5[_0x10b0c8(0x1bc, 'BH9%')]],
0x1
) ||
_0x26a7d5['yPyqO'](
_0x26a7d5[_0x10b0c8(0x1a2, 'YE(U')](_0x33a57b, 0x14),
0x0
)
) {
if (
_0x26a7d5[_0x10b0c8(0x1cd, 'o6Oe')](
_0x26a7d5['OkqgZ'],
_0x26a7d5[_0x10b0c8(0x16c, '73eR')]
)
) {
if (_0x39102f) return _0x44b0f9;
else _0x4ce086(0x0);
} else debugger;
} else debugger;
}
_0x51f4af(++_0x33a57b);
} else delete _0x1123e1[_0x10b0c8(0x1a4, 'QSZQ')][_0x8e692a];
}
try {
if (_0x26a7d5[_0x40e4d9(0x170, 'BH9%')]('EXELz', _0x26a7d5['wykWH'])) {
var _0x1a45ca = function () {
while (!![]) {
}
while (!![]) {}
};
return _0x26a7d5[_0x40e4d9(0x182, 'MpNU')](_0x1a45ca);
} else {
if (_0x9dc76a) return _0x51f4af; else _0x26a7d5[_0x40e4d9(0x18f, 'w)ba')](_0x51f4af, 0x0);
}
} catch (_0x55791a) {
if (_0x9dc76a) return _0x51f4af;
else _0x26a7d5[_0x40e4d9(0x18f, 'w)ba')](_0x51f4af, 0x0);
}
} catch (_0x55791a) {}
}
var version_ = 'jsjiami.com.v7';

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,22 +1,35 @@
let persisVal = read("UnblockURLinWeChat");
let useCache = persisVal.useCache === "true"; //是否在微信中用快照显示被封禁的链接
let forceRedirect = persisVal.forceRedirect === "true"; //是否在微信中进行强制重定向,允许的情况下可能出现循环重定向
let wechatExportKey = persisVal.wechatExportKey || ""; //微信的一个 key暂未研究如何生成测试中仅 macOS 微信打开链接跳转浏览器时会缺失,导致无法解析原始链接
if (typeof $argument != "undefined") {
let arg = Object.fromEntries($argument.split("&").map((item) => item.split("=")));
useCache = arg.useCache === "true";
forceRedirect = arg.forceRedirect === "ture";
let persisVal = read('UnblockURLinWeChat');
let useCache = persisVal.useCache === 'true'; //是否在微信中用快照显示被封禁的链接
let forceRedirect = persisVal.forceRedirect === 'true'; //是否在微信中进行强制重定向,允许的情况下可能出现循环重定向
let wechatExportKey = persisVal.wechatExportKey || ''; //微信的一个 key暂未研究如何生成测试中仅 macOS 微信打开链接跳转浏览器时会缺失,导致无法解析原始链接
if (typeof $argument != 'undefined') {
let arg = Object.fromEntries(
$argument.split('&').map((item) => item.split('='))
);
useCache = arg.useCache === 'true';
forceRedirect = arg.forceRedirect === 'ture';
}
const respBody = $response.body;
//const cacheURL = "https://webcache.googleusercontent.com/search?q=cache:";
const cacheURL = "https://web.archive.org/web/20991231999999/";
const alipayScheme = "alipays://platformapi/startapp?appId=20000067&url=";
const isQuanX = typeof $notify != "undefined";
const isSurgeiOS = typeof $utils != "undefined" && $environment.system == "iOS";
const isLooniOS = typeof $loon != "undefined" && /iPhone/.test($loon);
const redirectStatus = isQuanX ? "HTTP/1.1 302 Temporary Redirect" : 302;
const cacheURL = 'https://web.archive.org/web/20991231999999/';
const alipayScheme = 'alipays://platformapi/startapp?appId=20000067&url=';
const isQuanX = typeof $notify != 'undefined';
const isSurgeiOS =
'undefined' !== typeof $environment &&
$environment['surge-version'] &&
$environment.system == 'iOS';
const isLooniOS = typeof $loon != 'undefined' && /iPhone/.test($loon);
const isStashiOS =
'undefined' !== typeof $environment &&
$environment['stash-version'] &&
$environment.system == 'iOS';
const isShadowrocket = 'undefined' !== typeof $rocket;
const isLanceX = 'undefined' != typeof $native;
const redirectStatus = isQuanX ? 'HTTP/1.1 302 Temporary Redirect' : 302;
const cgiDataReg = /var cgiData = ([\s\S]*);\s*<\/script>/;
let cgiData = JSON.parse(cgiDataReg.exec(respBody)[1].replace(/\\/g, ""));
let cgiData = JSON.parse(cgiDataReg.exec(respBody)[1].replace(/\\/g, ''));
// HTML entities by https://github.com/mathiasbynens/he
// prettier-ignore
@ -26,16 +39,33 @@ let cgiData = JSON.parse(cgiDataReg.exec(respBody)[1].replace(/\\/g, ""));
// prettier-ignore
!function(t,n){var r,e;"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(r=t.Base64,(e=n()).noConflict=function(){return t.Base64=r,e},t.Meteor&&(Base64=e),t.Base64=e)}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:this,(function(){"use strict";var t,n="3.7.2",r="function"==typeof atob,e="function"==typeof btoa,o="function"==typeof Buffer,u="function"==typeof TextDecoder?new TextDecoder:void 0,i="function"==typeof TextEncoder?new TextEncoder:void 0,f=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),c=(t={},f.forEach((function(n,r){return t[n]=r})),t),a=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,d=String.fromCharCode.bind(String),s="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):function(t,n){return void 0===n&&(n=function(t){return t}),new Uint8Array(Array.prototype.slice.call(t,0).map(n))},l=function(t){return t.replace(/=/g,"").replace(/[+\/]/g,(function(t){return"+"==t?"-":"_"}))},h=function(t){return t.replace(/[^A-Za-z0-9\+\/]/g,"")},p=function(t){for(var n,r,e,o,u="",i=t.length%3,c=0;c<t.length;){if((r=t.charCodeAt(c++))>255||(e=t.charCodeAt(c++))>255||(o=t.charCodeAt(c++))>255)throw new TypeError("invalid character found");u+=f[(n=r<<16|e<<8|o)>>18&63]+f[n>>12&63]+f[n>>6&63]+f[63&n]}return i?u.slice(0,i-3)+"===".substring(i):u},y=e?function(t){return btoa(t)}:o?function(t){return Buffer.from(t,"binary").toString("base64")}:p,A=o?function(t){return Buffer.from(t).toString("base64")}:function(t){for(var n=[],r=0,e=t.length;r<e;r+=4096)n.push(d.apply(null,t.subarray(r,r+4096)));return y(n.join(""))},b=function(t,n){return void 0===n&&(n=!1),n?l(A(t)):A(t)},g=function(t){if(t.length<2)return(n=t.charCodeAt(0))<128?t:n<2048?d(192|n>>>6)+d(128|63&n):d(224|n>>>12&15)+d(128|n>>>6&63)+d(128|63&n);var n=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return d(240|n>>>18&7)+d(128|n>>>12&63)+d(128|n>>>6&63)+d(128|63&n)},B=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,x=function(t){return t.replace(B,g)},C=o?function(t){return Buffer.from(t,"utf8").toString("base64")}:i?function(t){return A(i.encode(t))}:function(t){return y(x(t))},m=function(t,n){return void 0===n&&(n=!1),n?l(C(t)):C(t)},v=function(t){return m(t,!0)},U=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,F=function(t){switch(t.length){case 4:var n=((7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3))-65536;return d(55296+(n>>>10))+d(56320+(1023&n));case 3:return d((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return d((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},w=function(t){return t.replace(U,F)},S=function(t){if(t=t.replace(/\s+/g,""),!a.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));for(var n,r,e,o="",u=0;u<t.length;)n=c[t.charAt(u++)]<<18|c[t.charAt(u++)]<<12|(r=c[t.charAt(u++)])<<6|(e=c[t.charAt(u++)]),o+=64===r?d(n>>16&255):64===e?d(n>>16&255,n>>8&255):d(n>>16&255,n>>8&255,255&n);return o},E=r?function(t){return atob(h(t))}:o?function(t){return Buffer.from(t,"base64").toString("binary")}:S,D=o?function(t){return s(Buffer.from(t,"base64"))}:function(t){return s(E(t),(function(t){return t.charCodeAt(0)}))},R=function(t){return D(T(t))},z=o?function(t){return Buffer.from(t,"base64").toString("utf8")}:u?function(t){return u.decode(D(t))}:function(t){return w(E(t))},T=function(t){return h(t.replace(/[-_]/g,(function(t){return"-"==t?"+":"/"})))},Z=function(t){return z(T(t))},j=function(t){return{value:t,enumerable:!1,writable:!0,configurable:!0}},I=function(){var t=function(t,n){return Object.defineProperty(String.prototype,t,j(n))};t("fromBase64",(function(){return Z(this)})),t("toBase64",(function(t){return m(this,t)})),t("toBase64URI",(function(){return m(this,!0)})),t("toBase64URL",(function(){return m(this,!0)})),t("toUint8Array",(function(){return R(this)}))},O=function(){var t=function(t,n){return Object.defineProperty(Uint8Array.prototype,t,j(n))};t("toBase64",(function(t){return b(this,t)})),t("toBase64URI",(function(){return b(this,!0)})),t("toBase64URL",(function(){return b(this,!0)}))},P={version:n,VERSION:"3.7.2",atob:E,atobPolyfill:S,btoa:y,btoaPolyfill:p,fromBase64:Z,toBase64:m,encode:m,encodeURI:v,encodeURL:v,utob:x,btou:w,decode:Z,isValid:function(t){if("string"!=typeof t)return!1;var n=t.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(n)||!/[^\s0-9a-zA-Z\-_]/.test(n)},fromUint8Array:b,toUint8Array:R,extendString:I,extendUint8Array:O,extendBuiltins:function(){I(),O()},Base64:{}};return Object.keys(P).forEach((function(t){return P.Base64[t]=P[t]})),P}));
if (cgiData.type === "gray" || cgiData.type === "newgray" || cgiData.type === "empty") {
if (
cgiData.type === 'gray' ||
cgiData.type === 'newgray' ||
cgiData.type === 'empty'
) {
let trueURL = he.decode(
`${cgiData.hasOwnProperty("url") ? cgiData.url : /http(.*)/.exec(cgiData.desc)[0]}`
`${
cgiData.hasOwnProperty('url')
? cgiData.url
: /http(.*)/.exec(cgiData.desc)[0]
}`
);
trueURL = trueURL.indexOf("http") == 0 ? trueURL : "http://" + trueURL;
trueURL = trueURL.indexOf('http') == 0 ? trueURL : 'http://' + trueURL;
if (/qr\.alipay/.test(trueURL)) {
notify("", "点击跳转到支付宝打开", trueURL, alipayScheme + encodeURIComponent(trueURL));
notify(
'',
'点击跳转到支付宝打开',
trueURL,
alipayScheme + encodeURIComponent(trueURL)
);
$done({});
} else {
notify("", "点击跳转到浏览器打开", trueURL, trueURL);
if (trueURL.includes('https://spotify.link')) {
const pattern = /\$full_url=([^&]+)/;
trueURL = decodeURIComponent(trueURL).match(pattern)[1];
}
notify('', '点击跳转到浏览器打开', trueURL, trueURL);
if (forceRedirect) {
let redirect = {
status: redirectStatus,
@ -47,9 +77,9 @@ if (cgiData.type === "gray" || cgiData.type === "newgray" || cgiData.type === "e
$done(redirect);
} else $done({});
}
} else if (cgiData.type === "block") {
} else if (cgiData.type === 'block') {
!(async () => {
let url = cgiData.btns[0].url.replace("newreadtemplate", "redirecthelpcgi");
let url = cgiData.btns[0].url.replace('newreadtemplate', 'redirecthelpcgi');
if (!/exportkey=(.+)/.test(url)) {
if (wechatExportKey) {
url += wechatExportKey;
@ -59,15 +89,14 @@ if (cgiData.type === "gray" || cgiData.type === "newgray" || cgiData.type === "e
}
await get(url).then((resp) => {
let obj = JSON.parse(resp.body);
if (obj.hasOwnProperty("btns")) {
let trueURL = decodeURIComponent(/url=(.*)/.exec(obj.btns[0].url)[1]).replace(
/&block_?type(.*)/,
""
);
trueURL = trueURL.includes(".") ? trueURL : Base64.decode(trueURL);
trueURL = trueURL.indexOf("http") == 0 ? trueURL : "http://" + trueURL;
if (!trueURL.includes("web.archive.org/web")) {
notify("", "点击跳转到浏览器打开", trueURL, trueURL);
if (obj.hasOwnProperty('btns')) {
let trueURL = decodeURIComponent(
/url=(.*)/.exec(obj.btns[0].url)[1]
).replace(/&block_?type(.*)/, '');
trueURL = trueURL.includes('.') ? trueURL : Base64.decode(trueURL);
trueURL = trueURL.indexOf('http') == 0 ? trueURL : 'http://' + trueURL;
if (!trueURL.includes('web.archive.org/web')) {
notify('', '点击跳转到浏览器打开', trueURL, trueURL);
if (useCache) {
let cacheLink = cacheURL + trueURL;
let redirect = {
@ -94,52 +123,63 @@ if (cgiData.type === "gray" || cgiData.type === "newgray" || cgiData.type === "e
$done({});
}
function notify(title = "", subtitle = "", content = "", open_url) {
function notify(title = '', subtitle = '', content = '', open_url) {
if (isQuanX && /iOS/.test($environment.version)) {
let opts = {};
if (open_url) opts["open-url"] = open_url;
if (JSON.stringify(opts) == "{}") {
if (open_url) opts['open-url'] = open_url;
if (JSON.stringify(opts) == '{}') {
$notify(title, subtitle, content);
} else {
$notify(title, subtitle, content, opts);
}
} else if (isSurgeiOS) {
} else if (isSurgeiOS || isStashiOS || isLanceX) {
let opts = {};
if (open_url) opts["url"] = open_url;
if (JSON.stringify(opts) == "{}") {
if (open_url) opts['url'] = open_url;
if (JSON.stringify(opts) == '{}') {
$notification.post(title, subtitle, content);
} else {
$notification.post(title, subtitle, content, opts);
}
} else if (isLooniOS) {
let opts = {};
if (open_url) opts["openUrl"] = open_url;
if (JSON.stringify(opts) == "{}") {
if (open_url) opts['openUrl'] = open_url;
if (JSON.stringify(opts) == '{}') {
$notification.post(title, subtitle, content);
} else {
$notification.post(title, subtitle, content, opts);
}
} else if (isShadowrocket) {
if (open_url) {
$notification.post(title, subtitle, content, open_url);
} else {
$notification.post(title, subtitle, content);
}
}
}
function get(options) {
if (isQuanX) {
if (typeof options == "string") options = { url: options, method: "GET" };
if (typeof options == 'string') options = { url: options, method: 'GET' };
return $task.fetch(options);
} else {
return new Promise((resolve, reject) => {
$httpClient.get(options, (err, response, body) => {
if (err) reject(err);
else resolve({ statusCode: response.status, headers: response.headers, body });
else
resolve({
statusCode: response.status,
headers: response.headers,
body,
});
});
});
}
}
function read(key) {
if (typeof $notify != "undefined") {
return JSON.parse($prefs.valueForKey(key) || "{}");
if (typeof $notify != 'undefined') {
return JSON.parse($prefs.valueForKey(key) || '{}');
} else {
return JSON.parse($persistentStore.read(key) || "{}");
return JSON.parse($persistentStore.read(key) || '{}');
}
}