diff --git a/apps/backend/package.json b/apps/backend/package.json index 631cb2f2..6a3cf2ea 100644 --- a/apps/backend/package.json +++ b/apps/backend/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "cleanup:dev-data": "tsx scripts/cleanup-dev-data.ts", - "build": "tsc -p tsconfig.build.json && rm -rf dist/db/migrations && mkdir -p dist/db && cp -R src/db/migrations dist/db/migrations", + "build": "tsc -p tsconfig.build.json && rm -rf dist/db/migrations && mkdir -p dist/db && cp -R src/db/migrations dist/db/migrations && mkdir -p dist/services/platforms/pdd && cp src/services/platforms/pdd/pdd_anti.cjs dist/services/platforms/pdd/pdd_anti.cjs", "db:migrate": "tsx src/db/migrate.ts", "db:migrate:create": "tsx scripts/create-migration.ts", "db:migrate:status": "tsx scripts/migration-status.ts", diff --git a/apps/backend/src/services/platforms/pdd/pdd-anti-content.test.ts b/apps/backend/src/services/platforms/pdd/pdd-anti-content.test.ts index 6c88d85b..daf6c21e 100644 --- a/apps/backend/src/services/platforms/pdd/pdd-anti-content.test.ts +++ b/apps/backend/src/services/platforms/pdd/pdd-anti-content.test.ts @@ -50,3 +50,13 @@ test('PurePddAntiContent executes with ultra-low latency (< 1ms per token)', () // Average time should be well below 2ms assert.ok(avg < 2, `Average generation time should be < 2ms (actual: ${avg.toFixed(3)}ms)`) }) + +test('PurePddAntiContent.getTokenAsync generates valid tokens via official JS engine', async () => { + const token = await pddAntiContentEngine.getTokenAsync({ + cookies: '_nano_fp=42e47e06a644482087; api_uid=rBQ51234', + serverTimeMs: 1726119845000, + }) + + assert.ok(token.startsWith('0as'), 'Async token must start with 0as prefix') + assert.ok(token.length > 200, `Async token length should be > 200 (actual: ${token.length})`) +}) diff --git a/apps/backend/src/services/platforms/pdd/pdd-anti-content.ts b/apps/backend/src/services/platforms/pdd/pdd-anti-content.ts index 682b3f90..d75cfd5b 100644 --- a/apps/backend/src/services/platforms/pdd/pdd-anti-content.ts +++ b/apps/backend/src/services/platforms/pdd/pdd-anti-content.ts @@ -25,6 +25,25 @@ import zlib from 'node:zlib' import crypto from 'node:crypto' +import { createRequire } from 'node:module' + +const require = createRequire(import.meta.url) + +type PddAntiJsGeneratorFn = ( + cookies: string, + serverTime?: number, + options?: { userAgent?: string; href?: string; referer?: string }, +) => Promise + +let pddAntiJsGenerator: PddAntiJsGeneratorFn | null = null +try { + const mod = require('./pdd_anti.cjs') as { generateAntiContent?: PddAntiJsGeneratorFn } + if (typeof mod.generateAntiContent === 'function') { + pddAntiJsGenerator = mod.generateAntiContent + } +} catch { + pddAntiJsGenerator = null +} export interface PddAntiContentOptions { /** @@ -304,15 +323,53 @@ export class PurePddAntiContent { // 6. Prepend '0as' Token Prefix / 第六步:添加 '0as' 协议前缀 return `0as${encodedBody}` } + + /** + * Generate anti-content token asynchronously. + * Prioritizes the official MMS sandboxed JS engine (pdd_anti.cjs), + * falling back to the pure TLV algorithm if unavailable. + * 异步生成 anti-content Token。 + * 优先使用拼多多官方 MMS 商家后台原生 JS 引擎 (pdd_anti.cjs), + * 若不可用则自动降级到原生 TLV 纯算法。 + */ + public async getTokenAsync(options: GetTokenOptions = {}): Promise { + if (pddAntiJsGenerator) { + try { + const token = await pddAntiJsGenerator( + options.cookies || '', + options.serverTimeMs || Date.now(), + { + userAgent: options.userAgent || PurePddAntiContent.DEFAULT_UA, + href: options.href || PurePddAntiContent.DEFAULT_HREF, + referer: options.referer || PurePddAntiContent.DEFAULT_REFERER, + }, + ) + if (token && typeof token === 'string' && token.startsWith('0as')) { + return token + } + } catch (err) { + console.warn('[PddAntiContent] Official JS engine failed, falling back to pure TLV:', err) + } + } + return this.getToken(options) + } } // Global singleton instance / 全局单例生成器 export const pddAntiContentEngine = new PurePddAntiContent() /** - * Quick helper to generate anti-content token. - * 便捷快捷函数:生成 anti-content Token。 + * Quick helper to generate anti-content token synchronously using pure TLV. + * 便捷同步函数:使用原生 TLV 纯算生成 anti-content Token。 */ export function generatePddAntiContent(options: GetTokenOptions = {}): string { return pddAntiContentEngine.getToken(options) } + +/** + * Quick helper to generate anti-content token asynchronously (recommended). + * 推荐快捷异步函数:生成 anti-content Token(优先使用官方 JS 引擎)。 + */ +export async function generatePddAntiContentAsync(options: GetTokenOptions = {}): Promise { + return pddAntiContentEngine.getTokenAsync(options) +} diff --git a/apps/backend/src/services/platforms/pdd/pdd-client.ts b/apps/backend/src/services/platforms/pdd/pdd-client.ts index 6f7fbfb7..a105a7ac 100644 --- a/apps/backend/src/services/platforms/pdd/pdd-client.ts +++ b/apps/backend/src/services/platforms/pdd/pdd-client.ts @@ -144,8 +144,8 @@ export class PddClient { // 1. Get synchronized server time / 获取校准时间戳 const serverTimeMs = await this.getSynchronizedServerTime() - // 2. Generate anti-content token / 生成纯算 anti-content - const antiContent = pddAntiContentEngine.getToken({ + // 2. Generate anti-content token / 生成纯算 anti-content (优先使用官方沙箱引擎) + const antiContent = await pddAntiContentEngine.getTokenAsync({ cookies: this.credentials.cookie, userAgent: this.credentials.userAgent || PurePddAntiContent.DEFAULT_UA, serverTimeMs, diff --git a/apps/backend/src/services/platforms/pdd/pdd_anti.cjs b/apps/backend/src/services/platforms/pdd/pdd_anti.cjs new file mode 100644 index 00000000..f1d34ec3 --- /dev/null +++ b/apps/backend/src/services/platforms/pdd/pdd_anti.cjs @@ -0,0 +1,98 @@ +// Pinduoduo Anti-Content (0as) Generator Engine +// Extracted from MMS static commons bundle (fbeZ module) +const vm = require("vm"); + +function createSandbox(cookies, options = {}) { + const sandbox = { + setTimeout, clearTimeout, setInterval, clearInterval, + Date, Math, String, Number, Array, Object, Function, RegExp, Error, TypeError, + Uint8Array, Uint16Array, Int32Array, ArrayBuffer, DataView, console, + module: { exports: {} } + }; + sandbox.window = sandbox; + sandbox.self = sandbox; + sandbox.global = sandbox; + sandbox.Element = class Element {}; + sandbox.HTMLElement = class HTMLElement extends sandbox.Element {}; + sandbox.HTMLDocument = class HTMLDocument {}; + sandbox.Node = class Node {}; + sandbox.Event = class Event {}; + sandbox.CustomEvent = class CustomEvent {}; + sandbox.history = { length: 2, back: ()=>{}, forward: ()=>{}, go: ()=>{}, pushState: ()=>{}, replaceState: ()=>{}, state: null }; + sandbox.screen = { width: 1920, height: 1080, availWidth: 1920, availHeight: 1050, colorDepth: 24, pixelDepth: 24 }; + sandbox.navigator = { + userAgent: options.userAgent || "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.0.0 Safari/537.36", + appName: "Netscape", + appCodeName: "Mozilla", + platform: "MacIntel", + language: "zh-CN", + languages: ["zh-CN", "zh", "en"], + cookieEnabled: true, + onLine: true, + plugins: [] + }; + sandbox.location = { + href: options.href || "https://mms.pinduoduo.com/orders/list?tab=0", + origin: "https://mms.pinduoduo.com", + pathname: "/orders/list", + search: "?tab=0", + host: "mms.pinduoduo.com", + hostname: "mms.pinduoduo.com" + }; + sandbox.document = { + referrer: "https://mms.pinduoduo.com/home/", + documentElement: { clientWidth: 1920, clientHeight: 950, scrollTop: 0 }, + body: { clientWidth: 1920, clientHeight: 950, scrollTop: 0 }, + cookie: cookies || "", + addEventListener: ()=>{}, + removeEventListener: ()=>{}, + createElement: (tag) => ({ getContext: () => null }) + }; + return sandbox; +} + +const AntiCode = ` +const AntiModule = function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=4)}([function(t,e,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!==(void 0===r?"undefined":n(r)))throw new TypeError(r+"must be non-object");for(var o in r)i(r,o)&&(t[o]=r[o])}}return t},e.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var a={arraySet:function(t,e,r,n,o){if(e.subarray&&t.subarray)t.set(e.subarray(r,r+n),o);else for(var i=0;i>(-2*i&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(var u=0,s=n.length;u>>e},IkoAB:function(t,e){return t&e},FnBit:function(t,e){return t|e},ujKyI:function(t,e){return t<>>e},MBSzg:function(t,e){return t&e},OWIjq:function(t,e){return t|e},XAKih:function(t,e){return t>>>e},jbuPL:function(t,e){return t&e},Gwujo:function(t,e){return t-e},iRhkx:function(t,e){return t===e},ctJTG:function(t,e){return t+e},ZKkdt:function(t,e){return t>>>e},kWjOW:function(t,e){return t&e},uEnYR:function(t,e){return t===e},tMTos:function(t,e){return t+e},zaVmN:function(t,e){return t+e},YUJSL:function(t,e){return t>>>e},fqJMe:function(t,e){return t&e},cbbgP:function(t,e){return t|e},RFHSv:function(t,e){return t(e)}},r=void 0,n=void 0,o=void 0;function a(t,e){return h(t,e- -145)}var u="",c=t[l("%iDa",1345)];function l(t,e){return f(e-1371,t)}for(var p=0,v=e[a("V^P8",-591)](d,e[a("uQ6i",-573)](c,3)),m=e[l("ct(z",1395)](v,3);e[l(")8YT",1385)](p,m);)r=t[p++],n=t[p++],o=t[p++],u+=e[a("ZhDP",-588)](e[a(")D5J",-413)](e[a("DS#V",-360)](i[e[a("%iDa",-512)](r,2)],i[e[a("h$@O",-382)](e[a("e@2P",-264)](e[a("jBjN",-345)](r,4),e[a("^e(W",-247)](n,4)),63)]),i[e[a("V^P8",-522)](e[a(")8YT",-528)](e[l("fvaX",1546)](n,2),e[l("KdNo",1374)](o,6)),63)]),i[e[a("]eca",-253)](o,63)]);var y=e[l("1OEa",1581)](c,m);return e[a("oWBQ",-494)](y,1)?(r=t[p],u+=e[l("jBjN",1459)](e[a("GdUW",-433)](i[e[a("LphC",-485)](r,2)],i[e[l("GdUW",1405)](e[a("XPpS",-437)](r,4),63)]),"==")):e[a("Gj@i",-574)](y,2)&&(r=t[p++],n=t[p],u+=e[l("y1Sw",1530)](e[a("V6!d",-503)](e[a("Pwmp",-428)](i[e[l("fvaX",1468)](r,2)],i[e[l("cFzA",1491)](e[a("ZZYF",-388)](e[l("r*%r",1401)](r,4),e[l("Gj@i",1626)](n,4)),63)]),i[e[a("y1Sw",-262)](e[l("DS#V",1409)](n,2),63)]),"=")),e[l("y1Sw",1663)](s,u)},l[h("fvaX",-282)]=function(t){var e={};function r(t,e){return h(e,t-1039)}function n(t,e){return h(t,e-185)}e[n("@wI2",-186)]=function(t,e){return t=e},e[n("b)^e",-25)]=function(t,e){return t<=e},e[r(700,"yCG[")]=function(t,e){return t<=e},e[n("MyDU",-221)]=function(t,e){return t|e},e[n("ZhDP",-117)]=function(t,e){return t&e},e[r(630,"@LNa")]=function(t,e){return t>>e},e[r(601,"8IJB")]=function(t,e){return t|e},e[n("@LNa",39)]=function(t,e){return t&e},e[n("Ue0q",72)]=function(t,e){return t<=e},e[n("I7rJ",15)]=function(t,e){return t>=e},e[n("ZZYF",-233)]=function(t,e){return t<=e},e[r(597,"V^P8")]=function(t,e){return t&e},e[n("*#AY",36)]=function(t,e){return t&e},e[r(707,"uQ6i")]=function(t,e){return t>>e},e[n("8IJB",-166)]=function(t,e){return t&e},e[n("I7rJ",-153)]=function(t,e){return t>e},e[n("8IJB",-85)]=function(t,e){return t&e};for(var o=e,i=[],a=0,u=0;o[n("%iDa",-251)](u,t[n("cFzA",-247)]);u+=1){var s=t[r(670,"WAcB")](u);if(o[n("h$@O",-51)](s,0)&&o[n("ZZYF",-161)](s,127))i[n("*#AY",84)](s),a+=1;else if(o[n("Rlfq",27)](128,80)&&o[n("AYl(",-203)](s,2047))a+=2,i[n("*#AY",84)](o[n("tc7r",-43)](192,o[r(660,"1OEa")](31,o[n("V^P8",73)](s,6)))),i[r(828,"i*rr")](o[n("WAcB",9)](128,o[r(800,"8IJB")](63,s)));else var c=o[n("ct(z",19)](s,2048)&&o[n("i*rr",-130)](s,55295)||o[n("GdUW",-108)](s,57344)&&o[n("mkMw",-23)](s,65535);c&&(a+=3,i[r(836,"fvaX")](o[r(793,"tc7r")](224,o[r(798,"Gj@i")](15,o[n("uQ6i",-69)](s,12)))),i[r(905,"V6!d")](o[n("%)5$",30)](128,o[n("Pwmp",-72)](63,o[n("]eca",-217)](s,6)))),i[n("%)5$",-191)](o[n("@wI2",-188)](128,o[r(620,"*#AY")](63,s))))}for(var f=0;o[r(608,"Rlfq")](f,i[r(925,"TLNq")]);f+=1)i[f]&=255;return o[n("jC%K",-136)](a,255)?[0,a][n(")8YT",-245)](i):[o[r(806,"r*%r")](a,8),o[n(")8YT",-138)](a,255)][n("Rlfq",-171)](i)},l.es=function(t){t||(t="");var e=t[i("MyDU",848)](0,255),r=[];function n(t,e){return f(t-833,e)}var o=l[n(1030,"Nt0*")](e)[i("@2xQ",1037)](2);function i(t,e){return h(t,e-1165)}return r[i("8IJB",758)](o[n(1013,"1OEa")]),r[n(889,"y1Sw")](o)},l.en=function(t){function e(t,e){return h(e,t- -160)}var r={uxXjS:function(t,e){return t(e)},SezqI:function(t,e){return t>e},Oplzf:function(t,e){return t!==e},EjLCY:function(t,e){return t%e},PDDfX:function(t,e){return t/e},ltPGD:function(t,e){return te},t||(t="");var n=e[r("%)5$",-36)](t[h("yCG[",-301)],255)?t[r("mkMw",-224)](0,255):t;return l[r("@2xQ",-55)](n)[r("z8LC",-119)](2)},l.nc=function(t){var e={TAakF:function(t,e){return t(e)},MUBpm:function(t,e){return t/e},EsYsY:function(t,e,r,n){return t(e,r,n)},vVWxL:function(t,e){return t*e},pmFOE:function(t,e){return t=e},qAikh:function(t,e){return t-e},mbTZh:function(t,e){return t===e},cRNCW:function(t,e){return t&e},NMAVv:function(t,e){return t+e},lofCs:function(t,e){return t>>>e}};function o(t,e){return h(t,e- -59)}t||(t=0);for(var i=Math[e("Rlfq",-304)](r[e("MyDU",-136)](d,t)),a=i[o("@LNa",-204)](2),u=[],s=(a=r[o("DS#V",-237)](n,a,r[o("i*rr",-387)](Math[e("*#AY",-341)](r[o("LphC",-365)](a[o("GdUW",-418)],7)),7),"0"))[e("ct(z",-184)];r[e("^e(W",-138)](s,0);s-=7){var c=a[e("oWBQ",-318)](r[o("WAcB",-231)](s,7),s);if(r[e(")D5J",-167)](r[e("Ue0q",-204)](i,-128),0)){u[o("tc7r",-213)](r[e("WAcB",-178)]("0",c));break}u[o("KdNo",-164)](r[e("I7rJ",-191)]("1",c)),i=r[e("oWBQ",-237)](i,7)}return u[e("i*rr",-370)]((function(t){return d(t,2)}))},l.ek=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o={IvTOL:function(t,e){return t!==e},IewyS:function(t,e){return t===e},Opbjh:m("cFzA",1057)+m("MyDU",958),XIuqu:v("KdNo",-125),eAfWz:function(t,e){return t===e},ORZBS:m("WAcB",1123),luUvW:function(t,e){return t>e},wicod:function(t,e){return t<=e},khMkh:function(t,e){return t+e},ACNLN:function(t,e,r,n){return t(e,r,n)},oxnKM:m("ZhDP",968),Ieeoq:m("h$@O",849),dQqCG:function(t,e,r){return t(e,r)},BDkSu:function(t,e){return t-e},BkfdA:function(t,e){return t>e}};if(!t)return[];var i=[],a=0;o[v("z8LC",-64)](r,"")&&(o[m("e@2P",1060)](Object[m("]eca",1023)][m("mkMw",1044)][m("Gj@i",1054)](r),o[m("mkMw",907)])&&(a=r[m("r*%r",1137)]),o[m("1OEa",891)](void 0===r?"undefined":e(r),o[v("BAVm",-363)])&&(a=(i=l.sc(r))[m("jBjN",938)]),o[m("cFzA",832)](void 0===r?"undefined":e(r),o[v("MyDU",-324)])&&(a=(i=l.nc(r))[v("e@2P",-65)]));var u=Math[v("DS#V",-157)](t)[v("z8LC",-266)](2),s="";s=o[m("*#AY",975)](a,0)&&o[m("TLNq",1025)](a,7)?o[v("1OEa",-347)](u,o[v("*#AY",-254)](n,a[v("h$@O",-48)](2),3,"0")):o[v("uQ6i",-178)](u,o[v("BAVm",-53)]);var c=[];c[o[m("KdNo",1059)]](o[m("ct(z",1065)](d,s[v("KdNo",-129)](Math[m("e@2P",799)](o[m(")8YT",976)](s[v("e@2P",-65)],8),0)),2));var p=c;if(o[v("z8LC",-60)](a,7))return p[v("e@2P",-335)](l.va(a),i);function v(t,e){return f(e- -336,t)}function m(t,e){return h(t,e-1248)}return p[v("oWBQ",-159)](i)},l[f(274,"Pwmp")]=function(t){function e(t,e){return f(t- -530,e)}for(var r={RdAmM:function(t,e){return t0&&void 0!==arguments[0]?arguments[0]:"",e={sJXMJ:function(t,e){return t(e)},iYxZQ:function(t,e){return t=e},r[n("V6!d",-223)]=function(t,e){return t+e};var o=r;if(o[i(1460,"h$@O")](t,64))return 64;function i(t,e){return h(e,t-1666)}return o[n(")8YT",38)](t,63)?e:o[n("%iDa",-229)](t,e)?o[n("!OJl",-53)](t,1):t},l[h("y1Sw",-309)]=function(t,r){var n={VsKEF:function(t,e){return t>e},ISpzP:function(t,e){return t-e},qZIni:function(t,e){return t|e},VxZiG:function(t,e){return t<>e},DvwKC:function(t,e,r){return t(e,r)},dQGzx:function(t,e,r){return t(e,r)}};t=t;var o={};o[n[y(-31,"V6!d")]]=t,o[n[y(-73,"]eca")]]=0,o[n[y(-34,"*#AY")]]=function(){function e(t,e){return p(t,e-1030)}return t[e("h$@O",500)](o[e("Ue0q",734)]++)};var i={"_\xea":[]};i[n[y(43,"GdUW")]]=-1,i["_\xe1"]=function(t){function e(t,e){return p(t,e-1219)}i[e("WAcB",814)]++,i["_\xea"][i[e(")8YT",793)]]=t},i[n[p("ZZYF",-267)]]=function(){function t(t,e){return p(e,t-1422)}function e(t,e){return y(t-322,e)}return _b\u00dd[e(343,"@wI2")]--,n[t(914,"jBjN")](_b\u00dd[t(1091,"]eca")],0)&&(_b\u00dd[e(445,"i*rr")]=0),_b\u00dd["_\xea"][_b\u00dd[t(1064,"%iDa")]]};var a,u,s,c,d="",l=n[p(")D5J",-234)];function p(t,e){return f(e- -534,t)}for(var v=0;n[y(67,"ZhDP")](v,l[p("!OJl",-424)]);v++)i["_\xe1"](l[y(-136,"Rlfq")](v));i["_\xe1"]("=");var m=n[y(-210,"*#AY")](void 0===r?"undefined":e(r),n[y(-37,"LphC")])?Math[y(-207,"z8LC")](n[y(-217,"oWBQ")](Math[p("*#AY",-501)](),64)):-1;function y(t,e){return h(e,t-230)}for(v=0;n[y(63,"BAVm")](v,t[p("Ue0q",-341)]);v=o[y(-184,"fvaX")])for(var g=n[p("y1Sw",-490)][p("h$@O",-275)]("|"),W=0;;){switch(g[W++]){case"0":a=n[p("y1Sw",-326)](i["_\xea"][n[y(51,"@LNa")](i[p("%iDa",-358)],2)],2);continue;case"1":u=n[p("%iDa",-308)](n[y(-30,")D5J")](n[p("b)^e",-430)](i["_\xea"][n[p("cFzA",-253)](i[y(9,"]eca")],2)],3),4),n[y(-2,"yCG[")](i["_\xea"][n[y(-68,"8IJB")](i[p("mkMw",-365)],1)],4));continue;case"2":i["_\xe1"](o[p("V6!d",-292)]());continue;case"3":n[y(55,")8YT")](isNaN,i["_\xea"][n[p("ct(z",-236)](i[p("Pwmp",-457)],1)])?s=c=64:n[p("@LNa",-226)](isNaN,i["_\xea"][i[y(-145,"@2xQ")]])&&(c=64);continue;case"4":i["_\xe1"](o[y(-166,"cFzA")]());continue;case"5":d=n[y(-118,"V6!d")](n[y(-45,"AYl(")](n[p("fvaX",-499)](n[y(-82,"I7rJ")](d,i["_\xea"][a]),i["_\xea"][u]),i["_\xea"][s]),i["_\xea"][c]);continue;case"6":c=n[y(-192,"%)5$")](i["_\xea"][i[p("XPpS",-272)]],63);continue;case"7":s=n[p("I7rJ",-415)](n[y(-49,"^e(W")](n[y(-135,"Rlfq")](i["_\xea"][n[p("tc7r",-305)](i[y(28,"ZhDP")],1)],15),2),n[y(-178,"]eca")](i["_\xea"][i[y(-29,"b)^e")]],6));continue;case"8":n[y(11,")D5J")](void 0===r?"undefined":e(r),n[p("]eca",-562)])&&(a=n[p("uQ6i",-247)](r,a,m),u=n[p("jC%K",-231)](r,u,m),s=n[y(-96,"b)^e")](r,s,m),c=n[p("@wI2",-309)](r,c,m));continue;case"9":i["_\xe1"](o[y(-162,"Pwmp")]());continue;case"10":i[p("%)5$",-306)]-=3;continue}break}return n[y(-114,"y1Sw")](d[y(-132,"y1Sw")](/=/g,""),l[m]||"")},t[f(-20,"@2xQ")]=l}).call(this,r(1)(t))},function(t,r,n){"use strict";(function(t){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}!function(t,e){function r(t,e){return z(e-525,t)}function n(t,e){return z(e-449,t)}for(var o=ot();;)try{if(parseInt(r("dDh^",1166))/1*(-parseInt(n("TiEZ",1179))/2)+parseInt(r("(aSQ",824))/3*(parseInt(r("(aSQ",1162))/4)+-parseInt(r(")k1S",1227))/5*(parseInt(r("(aSQ",906))/6)+-parseInt(n("*3Yx",944))/7+parseInt(r("5uLZ",1400))/8*(parseInt(r("pT5O",1437))/9)+-parseInt(n("nip#",736))/10*(parseInt(n("kOC&",802))/11)+-parseInt(n("n]RX",676))/12*(-parseInt(r("W%Tx",938))/13)===239620)break;o.push(o.shift())}catch(t){o.push(o.shift())}}();var i=n(5),a=n(3),u=n(14),s=0,c=void 0,f=void 0,d=0,l=[],h=function(){},p=void 0,v=void 0,m=void 0,y=void 0,g=void 0,W=void 0,w=("undefined"==typeof e?"undefined":r(e))===j("E]hH",1145)?null:e;if(("undefined"==typeof window?"undefined":r(window))!==tt("kOC&",840))for(var b=(tt("E]hH",1159)+"5")[tt(")USz",985)]("|"),_=0;;){switch(b[_++]){case"0":v=p[tt("3@4s",1209)];continue;case"1":g=p[j("q8OY",939)];continue;case"2":p=window;continue;case"3":y=p[tt(")wmk",836)];continue;case"4":m=p[j("n]RX",1202)];continue;case"5":W=tt("kViH",1245)+"rt"in p[tt(")4TU",508)];continue}break}var S=function(){var t={};t[V(-25,"$[Rk")]=function(t,e){return t!==e},t[V(47,")k1S")]=V(286,"CKk#"),t[U(638,"bLLK")]=function(t,e){return t!==e},t[V(392,"HaC]")]=V(-118,"pT5O")+"5",t[U(916,"!o)N")]=function(t,e){return te},t[V(296,"kOC&")]=U(668,"*3Yx")+"r",t[U(485,"VLMI")]=V(302,"H&h#")+"e",t[V(536,"kOC&")]=function(t,e){return t>e};var e=t,o=[];if(e[U(604,"VLMI")](r(p[V(366,"HaC]")+"t"]),e[V(226,"*3Yx")])||e[V(337,"HaC]")](r(p[V(549,"E]hH")]),e[U(840,"pT5O")]))o[0]=1;else for(var i=e[U(522,"o0(L")][V(493,"s&qz")]("|"),a=0;;){switch(i[a++]){case"0":var u=p[V(403,"W%Tx")];continue;case"1":var s=e[U(859,"CCUN")](u,1);continue;case"2":var c=e[U(235,"tuHE")](d,1);continue;case"3":var f=e[U(926,"q8OY")](c,s);continue;case"4":var d=p[V(-130,"kOC&")+"t"];continue;case"5":o[0]=f?1:0;continue}break}var l=r(p[U(781,"]A4d")+"m"]),h=e[V(-197,"sA&C")](l,e[V(-207,"H]%0")]),m=r(p[V(102,"sA&C")]),y=e[U(234,"3B$z")](m,e[V(-216,"HaC]")]),W=e[U(291,"vlt#")](h,y);o[1]=W?1:0;var w=r(p[V(-190,")rfa")]),b=e[V(176,")USz")](w,e[U(321,"VLMI")]);o[2]=b?0:1;var _=r(p[V(-132,"H&h#")]),S=e[V(438,"VLMI")](_,e[V(130,"Ss$^")]);o[3]=S?0:1;var k=r(p[V(41,"s&qz")]),C=e[U(599,"kViH")](k,e[U(843,")wmk")]);o[4]=C?0:1;var O=v[V(-57,"H]%0")],x=e[V(203,"tuHE")](O,!0);o[5]=x?1:0;var P=r(p[U(236,"v6HE")+V(86,"Sgdo")]),E=e[U(508,"HqSY")](P,e[V(546,"sA&C")]),M=r(p[U(721,"!o)N")+V(-206,"HaC]")+U(545,"Ss$^")]),R=e[U(981,"3B$z")](M,e[U(1004,"1aiA")]),T=e[U(714,"Ss$^")](E,R);o[6]=T?0:1;try{e[U(270,"]A4d")](r(Function[V(151,"Sgdo")][V(-177,"HqSY")]),e[U(311,"1tmM")])&&(o[7]=1),e[U(416,"u2O2")](Function[U(272,"kOC&")][V(192,"re)3")][U(643,")4TU")]()[V(-48,")1pw")](/bind/g,e[V(415,"(aSQ")]),Error[V(391,"VLMI")]())&&(o[7]=1),e[U(685,")wmk")](Function[U(801,"e)$x")][U(845,"VLMI")][U(941,"Z7^p")]()[V(-14,"3B$z")](/toString/g,e[U(822,"HqSY")]),Error[U(303,"!o)N")]())&&(o[7]=1)}catch(t){o[7]=0}o[8]=v[U(502,")rfa")]&&e[U(475,"v6HE")](v[V(228,"vlt#")][U(836,"!o)N")],0)?1:0;var L=v[U(1002,"*3Yx")],q=e[U(450,"kViH")](L,"");o[9]=q?1:0;var D=p[V(-35,")k1S")],I=e[U(850,"CKk#")](D,e[U(992,"CKk#")]),A=p[V(27,"Z7^p")],N=e[U(887,"HaC]")](A,e[U(632,"H&h#")]),B=e[U(935,"TiEZ")](I,N);o[10]=B?1:0,o[11]=p[V(247,"CCUN")]&&!p[V(144,")USz")][U(650,"1tmM")]?1:0;var G=p[V(-61,"VLMI")],H=e[U(882,"nip#")](G,void 0);o[12]=H?1:0;var Q=e[U(519,"pT5O")](e[V(99,"Z7^p")],v);o[13]=Q?1:0;var z=v[U(982,"YWh!")+V(488,"o0(L")](e[U(300,"H&h#")]);function U(t,e){return tt(e,t- -278)}function V(t,e){return j(e,t- -766)}o[14]=z?1:0,o[15]=g[U(874,"q8OY")]&&e[U(346,"nip#")](g[V(-189,"$[Rk")][V(-84,")wmk")]()[V(157,"vlt#")](e[U(468,"v6HE")]),-1)?1:0;try{var J=n(!function(){var t=new Error("Cannot find module 'child_process'");throw t.code="MODULE_NOT_FOUND",t}());o[16]=J?1:0}catch(t){o[16]=0}try{var K=p[V(85,"nip#")][U(723,"HaC]")+V(-139,"re)3")][U(596,"tuHE")]()[V(135,")USz")](e[V(-233,"Ss$^")]),F=e[U(964,"vlt#")](K,-1);o[17]=F?0:1}catch(t){o[17]=0}return o};function k(t){var e={WfSrT:function(t,e){return t(e)},RLzYc:function(t,e){return t(e)},NJBmm:r(1037,"YWh!")};function r(t,e){return tt(e,t-177)}var n=function(t){var e;return o(e={},r(1261,")4TU")+t+(r(1292,"5uLZ")+r(830,"HqSY")),!0),o(e,a(579,")rfa")+a(23,"H]%0")+t+(a(26,"H&h#")+r(997,")1pw")),!0),o(e,a(267,"Sgdo")+r(1069,"s&qz")+a(143,")k1S"),!0),o(e,r(764,"*3Yx")+t+(a(182,"(aSQ")+r(723,"pT5O")+a(436,"H]%0")),!0),o(e,r(1368,"re)3")+a(253,"TiEZ")+t+(r(1446,"kOC&")+r(806,"H]%0")+r(1413,"e)$x")),!0),o(e,a(196,")1pw")+r(1233,"HqSY")+a(513,"XYd(")+r(669,")wmk"),!0),e},i=Function[a(760,"VLMI")][a(390,"s&qz")][a(240,"$[Rk")](t);function a(t,e){return j(e,t- -531)}var u=Function[a(516,"TiEZ")][r(1098,")4TU")][r(1388,"v6HE")](t[a(120,")1pw")]),s=t[a(583,")k1S")][a(136,"v6HE")](/get\s/,"");return e[a(406,"n]RX")](n,s)[i]&&e[a(125,")rfa")](n,e[a(278,"sA&C")])[u]||!1}function C(t,e,n){var o={};function i(t,e){return tt(t,e- -594)}o[i("H&h#",204)]=function(t,e){return t>e},o[u("q8OY",101)]=function(t,e){return t=e},LHeLG:function(t,e){return t>e},koCFH:function(t,e){return t===e},AbPAH:function(t,e){return t(e)}};function e(t,e){return j(t,e- -1005)}var r=[];if(W){r=this[e("Ss$^",-146)][e("W%Tx",266)]((function(t){return t&&t[c(988,"1aiA")]>0}));for(var n=0,o=t[c(1039,"3B$z")](r[e("3@4s",-170)],1);t[e("1tmM",-139)](o,0);o--){n+=r[o][c(540,"vlt#")];var i=this[e("re)3",-158)],u=t[e("TiEZ",-92)](n,i);if(t[e("CKk#",-245)](u,0)&&(r[o]=r[o][e("pT5O",222)](u)),t[e("*3Yx",-361)](u,0)){r=r[e("sA&C",-119)](o);break}}}else r=this[c(389,")USz")];if(t[e("1aiA",-284)](r[e(")1pw",-233)],0))return[];var s=[][e("5uLZ",-360)](a.ek(W?24:25,r));function c(t,e){return tt(e,t- -104)}return W?r[e(")k1S",-490)]((function(r){function n(t,e){return c(t- -643,e)}function o(t,r){return e(r,t- -166)}s=(s=s[n(541,"jYUT")](a.va(r[o(-100,"s&qz")])))[o(30,"CCUN")](t[n(92,"kViH")](x,r))})):s=s[c(687,"1tmM")](t[e("]A4d",195)](x,this[c(611,"Z7^p")])),s};var R={};R[j("VLMI",897)]=[],R[tt("re)3",813)]=3,R[j("5uLZ",935)+"t"]=function(){var t={};function e(t,e){return j(e,t-416)}t[i(847,"jYUT")]=function(t,e){return t>e},t[e(1292,"vlt#")]=function(t,e){return t-e};var r=t,n={},o=p[i(782,"YWh!")][i(358,"3@4s")+e(1635,"pT5O")][e(1512,"CCUN")]||p[e(955,")k1S")][i(184,"s&qz")][e(1512,"CCUN")];function i(t,e){return j(e,t- -448)}r[i(419,"TiEZ")](o,0)&&(n[e(1244,"!o)N")]=o,n[i(687,"re)3")]=r[i(692,"3@4s")](m[i(579,"vlt#")](),s),this[e(1624,")1pw")][e(1613,"n]RX")](n),r[i(503,"nip#")](this[i(222,"5uLZ")][e(1077,")rfa")],this[e(1712,"H&h#")])&&this[i(202,"H&h#")][i(863,"]A4d")]())},R[tt("kOC&",638)]=function(){function t(t,e){return j(t,e-545)}var e={};e[t("kOC&",1683)]=function(t,e){return t&&e};var r=e,n=W,o=this[u("3@4s",1390)+"t"]();if(r[t(")1pw",1752)](n,o),!this[u("!o)N",1193)][t("Qr8u",1467)])return[];var i=[][u("Qr8u",1200)](a.ek(3,this[u("v6HE",910)]));function u(t,e){return tt(t,e-142)}return this[u("tuHE",789)][t("(aSQ",1107)]((function(e){function r(t,e){return u(e,t- -303)}i=i[r(413,"u2O2")](a.va(e[r(752,"E]hH")]),a.va(e[t("3@4s",1866)]))})),i};var T={};T[j("o0(L",1075)]=function(){function t(t,e){return tt(e,t- -1156)}var e={};e[t(-307,"re)3")]=n("!o)N",7)+"fo";var r=e;function n(t,e){return j(t,e- -1306)}this[t(-388,"v6HE")]={},this[n("kOC&",-408)][n(")USz",-757)]=p[t(-57,"bLLK")][t(-256,"W%Tx")],this[t(-71,"TiEZ")][n("CCUN",-311)]=p[n(")wmk",-461)][t(-549,"$[Rk")],this.c=a[t(-559,")rfa")](a[n("bLLK",-776)](this,r[n("!o)N",-697)]))},T[tt("$[Rk",1103)]=function(){var t={};function e(t,e){return j(t,e- -1002)}t[e("1aiA",28)]=function(t,e){return t&&e},t[o("e)$x",725)]=function(t,e){return t>e},t[o("HqSY",518)]=function(t,e){return t===e};var r=t,n=a.ek(7);function o(t,e){return tt(t,e- -514)}var i=this[o("sA&C",472)],u=i.href,s=void 0===u?"":u,c=i.port,f=void 0===c?"":c;if(r[e("vlt#",144)](!s,!f))return[][e("W%Tx",-262)](n,this.c);var d=r[e("H&h#",109)](s[o("kViH",197)],128)?s[e(")wmk",256)](0,128):s,l=a.sc(d);return[][o(")USz",593)](n,a.va(l[e("CKk#",-123)]),l,a.va(f[e("vlt#",-324)]),r[e("v6HE",-439)](f[e(")USz",-457)],0)?[]:a.sc(this[o(")4TU",177)][o("Ss$^",74)]),this.c)};var L={};L[j("1aiA",791)]=function(){function t(t,e){return j(t,e- -381)}function e(t,e){return tt(e,t-488)}this[t("Qr8u",834)]={},this[e(1539,"!o)N")][e(1151,"!o)N")]=p[t("Sgdo",278)][t("re)3",148)],this[t("]A4d",675)][t("Z7^p",626)+"t"]=p[t("tuHE",876)][e(1761,"o0(L")+"t"]},L[j("e)$x",574)]=function(){function t(t,e){return tt(t,e-196)}return[][t(")wmk",912)](a.ek(8),a.va(this[t("YWh!",1440)][t("u2O2",1080)]),a.va(this[t("HqSY",1094)][t("u2O2",1304)+"t"]))};var q={};q[tt(")k1S",518)]=function(){var t={};function e(t,e){return j(e,t- -1340)}function r(t,e){return j(e,t- -89)}t[e(-700,"Ss$^")]=function(t,e){return t+e},t[r(934,")rfa")]=function(t,e){return t*e},t[e(-601,"n]RX")]=function(t,e){return t*e},t[r(1103,"nip#")]=function(t,e){return t+e};var n=t;this[e(-690,"H&h#")]=n[r(573,"Qr8u")](p[e(-131,"W%Tx")](n[r(1077,"v6HE")](y[r(435,"jYUT")](),n[r(927,"e)$x")](y[r(1150,"e)$x")](2,52),1)[r(562,")1pw")]()),10),p[e(-261,"CCUN")](n[e(-521,"1tmM")](y[e(-40,"v6HE")](),n[r(688,"Z7^p")](y[e(-101,"e)$x")](2,30),1)[e(-776,"o0(L")]()),10))+"-"+c},q[j("1tmM",888)]=function(){function t(t,e){return j(t,e- -1209)}return this[j("*3Yx",1144)](),[][t("nip#",-163)](a.ek(9,this[t("HaC]",-642)]))};var D={};D[j(")4TU",725)]=[],D[tt("3B$z",782)]=function(){this[tt("3@4s",766)]={IeVFq:function(t){return t()}}[j(")k1S",1018)](S)},D[tt(")4TU",522)]=function(){var t={IWvAj:n(1332,"pT5O")+n(1547,"VLMI")+s("Sgdo",1279)+"ay",gyJhu:n(1266,"sA&C")+n(1589,"dDh^")+s("nip#",945)+s("E]hH",1175),nPyup:n(1688,"VLMI")+n(1795,"H&h#")+n(1239,"Ss$^")+s("YWh!",1119),IrRzz:function(t,e){return t(e)},Ebdex:function(t,e){return t>(-2*i&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(var u=0,s=n.length;ue};var r=e,n=p[t("Sgdo",1340)][t("H]%0",1398)]||"",o=n[t("YWh!",1335)]("?");function i(t,e){return j(t,e- -540)}var a=r[i(")k1S",-28)](o,-1),u=n[t("nip#",1213)];this[i("v6HE",262)]=n[t("u2O2",1600)](0,a?o:u)},Q[tt("Qr8u",1061)]=function(){if(!this[t("sA&C",464)][e("q8OY",1671)])return[];function t(t,e){return j(t,e- -556)}function e(t,e){return tt(t,e-418)}return[][e("H]%0",1187)](a.ek(18,this[t("VLMI",341)]))};var U={};U[j("u2O2",616)]=function(){var t={WvvWX:function(t,e){return t(e)},vYDEx:e(1719,"HaC]")+"d"};function e(t,e){return j(e,t-645)}this[e(1564,"E]hH")]=t[e(1863,"jYUT")](O,t[tt("H&h#",988)])},U[tt("XYd(",930)]=function(){if(!this[t("VLMI",1082)][t("Sgdo",1505)])return[];function t(t,e){return tt(t,e-219)}return[][t("v6HE",1057)](a.ek(19,this[t("H&h#",835)]))};var V={};V[j(")4TU",975)]=function(){function t(t,e){return tt(t,e-568)}var e={bVBDT:function(t,e){return t(e)},oOTvG:j("tuHE",811)};this[t("o0(L",1309)]=e[t("CCUN",1102)](O,e[t(")1pw",1152)])},V[tt("dDh^",970)]=function(){if(!this[t("]A4d",1611)][t("pT5O",1845)])return[];function t(t,e){return tt(t,e-589)}return[][t("H]%0",1358)](a.ek(20,this[t("5uLZ",1225)]))};var J={};J[j("sA&C",1020)]=0,J[j("n]RX",1002)]=function(){function t(t,e){return j(e,t- -780)}return[][t(314,")k1S")](a.ek(21,this[t(79,"Ss$^")]))};var K={};K[tt("Z7^p",635)]=function(t){this[j("CKk#",1318)]=t},K[tt("(aSQ",734)]=function(){function t(t,e){return tt(t,e- -260)}return[][t("XYd(",770)](a.ek(22,this[t("1aiA",575)]))};var F={};F[tt("3@4s",1265)]=function(){var t={ktdmn:function(t,e){return t(e)},tHNMu:e("Ss$^",-342)};function e(t,e){return j(t,e- -1072)}this[e(")k1S",195)]=t[e(")USz",-31)](O,t[e("tuHE",-79)])},F[j(")rfa",1005)]=function(){function t(t,e){return tt(t,e-285)}if(!this[t("Qr8u",1466)][e(")wmk",876)])return[];function e(t,e){return j(t,e-367)}return[][e("q8OY",1416)](a.ek(23,this[t("]A4d",1307)]))};var Y={};Y[tt("!o)N",747)]=function(){var t={};function e(t,e){return j(e,t- -592)}t[e(705,"!o)N")]=function(t,e){return t||e},t[e(672,"kOC&")]=function(t,e){return t>e},t[x(-216,"3@4s")]=x(22,"HqSY"),t[x(-239,"Qr8u")]=e(65,"nip#"),t[e(207,"q8OY")]=function(t,e){return t!==e},t[e(385,"jYUT")]=e(-70,"TiEZ"),t[x(4,"H&h#")]=function(t,e){return t||e},t[e(96,"o0(L")]=function(t,e){return t===e},t[x(11,"bLLK")]=e(142,")k1S")+e(547,"XYd(")+e(442,"Ss$^")+e(165,"sA&C"),t[e(396,"tuHE")]=function(t,e){return t||e},t[e(97,"E]hH")]=function(t,e){return t||e},t[x(-240,"dDh^")]=function(t,e){return te},aUvmi:function(t,e){return t<=e},yxGbu:function(t,e){return t-e},FNUpC:function(t,e){return t<0&&void 0!==arguments[0]?arguments[0]:{};function e(t,e){return tt(t,e- -1057)}function n(t,e){return j(e,t- -1310)}var o={Ixccd:function(t,e){return t!==e},FUwFQ:e("q8OY",-131),VspjB:e("Ss$^",-201)+e("H&h#",-353),HeIpL:function(t,e){return t+e},duExA:function(t,e){return t*e},vWPBR:function(t,e){return t||e},lKSzr:function(t,e,r){return t(e,r)},FBtXU:function(t){return t()}};if(o[e("sA&C",-48)](void 0===p?"undefined":r(p),o[n(-201,"o0(L")]))for(var i=o[e("$[Rk",165)][e("*3Yx",-486)]("|"),a=0;;){switch(i[a++]){case"0":var u=o[e("jYUT",-31)](d,f);continue;case"1":var c=t[n(-159,"bLLK")];continue;case"2":var f=o[e("CCUN",-130)](-3,-218760729941);continue;case"3":this[n(-114,"re)3")+e("nip#",-505)](o[n(-130,"tuHE")](c,u));continue;case"4":o[e("jYUT",-496)](X,s,p);continue;case"5":s=m[n(-552,")USz")]();continue;case"6":o[e("Z7^p",-372)](nt);continue;case"7":var d=o[e("]A4d",-184)](695905265254,o[e("HaC]",31)](472578152857,-1));continue;case"8":o[e("bLLK",-281)](et);continue}break}}Z[j(")1pw",1123)]=function(){function t(t,e){return j(e,t- -1050)}function e(t,e){return j(t,e- -95)}var r={dlaEx:function(t,e){return t===e},lXhjo:t(52,"H&h#"),PEzrJ:function(t,e){return t===e},XiWGc:e("*3Yx",504),IdcWs:e("u2O2",421),udrRX:function(t,e){return t(e)},eaxXe:e("!o)N",1002),txegY:function(t,e){return t(e)},rLOXI:e("1tmM",797)+e("e)$x",559)+e("Z7^p",1010)+t(-49,"kViH")+'2"'};try{var n=p[e("u2O2",615)][e("pT5O",780)+e("H&h#",901)](r[e("Ss$^",943)]),o=function(o){function i(t,r){return e(t,r-113)}function a(e,r){return t(e-436,r)}try{var u=n[i(")wmk",562)+"e"](o);return r[a(268,"dDh^")](u,r[a(342,")wmk")])?1:r[a(671,"tuHE")](u,r[a(417,"v6HE")])?2:MediaSource[a(232,")wmk")+i("*3Yx",1043)](o)?3:0}catch(t){return 0}};this[t(-400,"H&h#")]={mp3:r[t(-26,"nip#")](o,r[e("(aSQ",1145)]),mp4:r[t(-280,"$[Rk")](o,r[e("H]%0",1155)])}}catch(t){var i={};i[e(")1pw",1094)]=0,i[e("kOC&",833)]=0,this[e("VLMI",802)]=i}},Z[tt("E]hH",665)]=function(){function t(t,e){return tt(t,e-325)}return[][t("v6HE",1163)](a.ek(28),a.va(this[t("HqSY",1223)][t("Sgdo",974)]),a.va(this[t("CCUN",1128)][tt("H&h#",1087)]))},at[tt("VLMI",1257)][tt("re)3",1162)+tt("v6HE",1254)]=function(t){f=m[tt("H&h#",657)](),c=t},at[tt("u2O2",748)][tt("Qr8u",940)]=h,at[j("s&qz",842)][tt("CKk#",1246)]=h,at[j("!o)N",1104)][tt("q8OY",868)+"k"]=function(){return J[j("pT5O",1021)]++,{GpXZc:function(t){return t()}}[tt(")rfa",591)](it)},at[j("bLLK",836)][tt("e)$x",745)+j("H]%0",620)]=function(){var t={IzcPx:function(t,e){return t(e)},ZBjGb:function(t){return t()}};return new Promise((function(e){function r(t,e){return z(t- -10,e)}J[r(960,"CKk#")]++,t[z(872,"1tmM")](e,t[r(213,"dDh^")](it))}))},w&&w[j("q8OY",776)]&&w[j("kViH",839)][tt("3@4s",915)]&&(at[tt("VLMI",1257)][j("TiEZ",829)]=function(t){var e={};function r(t,e){return tt(e,t- -1014)}e[o(-637,"kViH")]=o(-660,"H]%0"),e[o(-553,"vlt#")]=o(-502,"1aiA"),e[r(-193,"Ss$^")]=r(271,"5uLZ"),e[o(19,"TiEZ")]=r(-69,"CKk#"),e[o(-667,")1pw")]=r(-124,")rfa");var n=e;function o(t,e){return tt(e,t- -1233)}switch(t.type){case n[o(-183,"nip#")]:P[o(-748,"TiEZ")+"t"](t);break;case n[r(-297,"Sgdo")]:case n[r(143,"Qr8u")]:E[r(-36,"re)3")+"t"](t);break;case n[o(-326,")k1S")]:case n[r(-39,"s&qz")]:M[o(-103,"kViH")+"t"](t)}});var ut=new at;t[tt("kViH",929)]=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={};function r(t,e){return j(e,t- -502)}e[r(284,"VLMI")]=r(281,"*3Yx")+"4",e[r(158,"n]RX")]=function(t,e){return t&&e},e[a("vlt#",492)]=function(t,e){return t&&e};var n=e,o=n[r(70,"!o)N")][r(470,"nip#")]("|"),i=0;function a(t,e){return tt(t,e- -537)}for(;;){switch(o[i++]){case"0":var u=ut[r(209,"nip#")+r(469,"kViH")](t[r(164,"q8OY")]);continue;case"1":var s=n[a("H&h#",97)](c,f);continue;case"2":var c=t[r(604,"*3Yx")];continue;case"3":var f=p;continue;case"4":return ut;case"5":n[a("VLMI",367)](s,u);continue}break}}}).call(this,n(1)(t))},function(t,e,r){"use strict";var n=r(6),o=r(0),i=r(10),a=r(2),u=r(11),s=Object.prototype.toString,c=0,f=-1,d=0,l=8;function h(t){if(!(this instanceof h))return new h(t);this.options=o.assign({level:f,method:l,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(r!==c)throw new Error(a[r]);if(e.header&&n.deflateSetHeader(this.strm,e.header),e.dictionary){var p;if(p="string"==typeof e.dictionary?i.string2buf(e.dictionary):"[object ArrayBuffer]"===s.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(r=n.deflateSetDictionary(this.strm,p))!==c)throw new Error(a[r]);this._dict_set=!0}}function p(t,e){var r=new h(e);if(r.push(t,!0),r.err)throw r.msg||a[r.err];return r.result}h.prototype.push=function(t,e){var r,a,u=this.strm,f=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,"string"==typeof t?u.input=i.string2buf(t):"[object ArrayBuffer]"===s.call(t)?u.input=new Uint8Array(t):u.input=t,u.next_in=0,u.avail_in=u.input.length;do{if(0===u.avail_out&&(u.output=new o.Buf8(f),u.next_out=0,u.avail_out=f),1!==(r=n.deflate(u,a))&&r!==c)return this.onEnd(r),this.ended=!0,!1;0!==u.avail_out&&(0!==u.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(i.buf2binstring(o.shrinkBuf(u.output,u.next_out))):this.onData(o.shrinkBuf(u.output,u.next_out)))}while((u.avail_in>0||0===u.avail_out)&&1!==r);return 4===a?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===c):2!==a||(this.onEnd(c),u.avail_out=0,!0)},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){t===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Deflate=h,e.deflate=p,e.deflateRaw=function(t,e){return(e=e||{}).raw=!0,p(t,e)},e.gzip=function(t,e){return(e=e||{}).gzip=!0,p(t,e)}},function(t,e,r){"use strict";var n,o=r(0),i=r(7),a=r(8),u=r(9),s=r(2),c=0,f=4,d=0,l=-2,h=-1,p=1,v=4,m=2,y=8,g=9,W=286,w=30,b=19,_=2*W+1,S=15,k=3,C=258,O=C+k+1,x=42,P=103,E=113,M=666,j=1,R=2,T=3,L=4;function q(t,e){return t.msg=s[e],e}function D(t){return(t<<1)-(t>4?9:0)}function I(t){for(var e=t.length;--e>=0;)t[e]=0}function A(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(o.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function N(t,e){i._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,A(t.strm)}function B(t,e){t.pending_buf[t.pending++]=e}function G(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function H(t,e){var r,n,o=t.max_chain_length,i=t.strstart,a=t.prev_length,u=t.nice_match,s=t.strstart>t.w_size-O?t.strstart-(t.w_size-O):0,c=t.window,f=t.w_mask,d=t.prev,l=t.strstart+C,h=c[i+a-1],p=c[i+a];t.prev_length>=t.good_match&&(o>>=2),u>t.lookahead&&(u=t.lookahead);do{if(c[(r=e)+a]===p&&c[r+a-1]===h&&c[r]===c[i]&&c[++r]===c[i+1]){i+=2,r++;do{}while(c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&c[++i]===c[++r]&&ia){if(t.match_start=e,a=n,n>=u)break;h=c[i+a-1],p=c[i+a]}}}while((e=d[e&f])>s&&0!=--o);return a<=t.lookahead?a:t.lookahead}function Q(t){var e,r,n,i,s,c,f,d,l,h,p=t.w_size;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-O)){o.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;do{n=t.head[--e],t.head[e]=n>=p?n-p:0}while(--r);e=r=p;do{n=t.prev[--e],t.prev[e]=n>=p?n-p:0}while(--r);i+=p}if(0===t.strm.avail_in)break;if(c=t.strm,f=t.window,d=t.strstart+t.lookahead,l=i,h=void 0,(h=c.avail_in)>l&&(h=l),r=0===h?0:(c.avail_in-=h,o.arraySet(f,c.input,c.next_in,h,d),1===c.state.wrap?c.adler=a(c.adler,f,h,d):2===c.state.wrap&&(c.adler=u(c.adler,f,h,d)),c.next_in+=h,c.total_in+=h,h),t.lookahead+=r,t.lookahead+t.insert>=k)for(s=t.strstart-t.insert,t.ins_h=t.window[s],t.ins_h=(t.ins_h<=k&&(t.ins_h=(t.ins_h<=k)if(n=i._tr_tally(t,t.strstart-t.match_start,t.match_length-k),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=k){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<=k&&(t.ins_h=(t.ins_h<4096)&&(t.match_length=k-1)),t.prev_length>=k&&t.match_length<=t.prev_length){o=t.strstart+t.lookahead-k,n=i._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-k),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=o&&(t.ins_h=(t.ins_h<15&&(u=2,n-=16),i<1||i>g||r!==y||n<8||n>15||e<0||e>9||a<0||a>v)return q(t,l);8===n&&(n=9);var s=new function(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=y,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new o.Buf16(2*_),this.dyn_dtree=new o.Buf16(2*(2*w+1)),this.bl_tree=new o.Buf16(2*(2*b+1)),I(this.dyn_ltree),I(this.dyn_dtree),I(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(S+1),this.heap=new o.Buf16(2*W+1),I(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(2*W+1),I(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0};return t.state=s,s.strm=t,s.wrap=u,s.gzhead=null,s.w_bits=n,s.w_size=1<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Q(t),0===t.lookahead&&e===c)return j;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,N(t,!1),0===t.strm.avail_out))return j;if(t.strstart-t.block_start>=t.w_size-O&&(N(t,!1),0===t.strm.avail_out))return j}return t.insert=0,e===f?(N(t,!0),0===t.strm.avail_out?T:L):(t.strstart>t.block_start&&(N(t,!1),t.strm.avail_out),j)})),new V(4,4,8,4,z),new V(4,5,16,8,z),new V(4,6,32,32,z),new V(4,4,16,16,U),new V(8,16,32,32,U),new V(8,16,128,128,U),new V(8,32,128,256,U),new V(32,128,258,1024,U),new V(32,258,258,4096,U)],e.deflateInit=function(t,e){return F(t,e,y,15,8,0)},e.deflateInit2=F,e.deflateReset=K,e.deflateResetKeep=J,e.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?l:(t.state.gzhead=e,d):l},e.deflate=function(t,e){var r,o,a,s;if(!t||!t.state||e>5||e<0)return t?q(t,l):l;if(o=t.state,!t.output||!t.input&&0!==t.avail_in||o.status===M&&e!==f)return q(t,0===t.avail_out?-5:l);if(o.strm=t,r=o.last_flush,o.last_flush=e,o.status===x)if(2===o.wrap)t.adler=0,B(o,31),B(o,139),B(o,8),o.gzhead?(B(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),B(o,255&o.gzhead.time),B(o,o.gzhead.time>>8&255),B(o,o.gzhead.time>>16&255),B(o,o.gzhead.time>>24&255),B(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),B(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(B(o,255&o.gzhead.extra.length),B(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(t.adler=u(t.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(B(o,0),B(o,0),B(o,0),B(o,0),B(o,0),B(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),B(o,3),o.status=E);else{var h=y+(o.w_bits-8<<4)<<8;h|=(o.strategy>=2||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(h|=32),h+=31-h%31,o.status=E,G(o,h),0!==o.strstart&&(G(o,t.adler>>>16),G(o,65535&t.adler)),t.adler=1}if(69===o.status)if(o.gzhead.extra){for(a=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>a&&(t.adler=u(t.adler,o.pending_buf,o.pending-a,a)),A(t),a=o.pending,o.pending!==o.pending_buf_size));)B(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>a&&(t.adler=u(t.adler,o.pending_buf,o.pending-a,a)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(73===o.status)if(o.gzhead.name){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(t.adler=u(t.adler,o.pending_buf,o.pending-a,a)),A(t),a=o.pending,o.pending===o.pending_buf_size)){s=1;break}s=o.gzindexa&&(t.adler=u(t.adler,o.pending_buf,o.pending-a,a)),0===s&&(o.gzindex=0,o.status=91)}else o.status=91;if(91===o.status)if(o.gzhead.comment){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(t.adler=u(t.adler,o.pending_buf,o.pending-a,a)),A(t),a=o.pending,o.pending===o.pending_buf_size)){s=1;break}s=o.gzindexa&&(t.adler=u(t.adler,o.pending_buf,o.pending-a,a)),0===s&&(o.status=P)}else o.status=P;if(o.status===P&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&A(t),o.pending+2<=o.pending_buf_size&&(B(o,255&t.adler),B(o,t.adler>>8&255),t.adler=0,o.status=E)):o.status=E),0!==o.pending){if(A(t),0===t.avail_out)return o.last_flush=-1,d}else if(0===t.avail_in&&D(e)<=D(r)&&e!==f)return q(t,-5);if(o.status===M&&0!==t.avail_in)return q(t,-5);if(0!==t.avail_in||0!==o.lookahead||e!==c&&o.status!==M){var p=2===o.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(Q(t),0===t.lookahead)){if(e===c)return j;break}if(t.match_length=0,r=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(N(t,!1),0===t.strm.avail_out))return j}return t.insert=0,e===f?(N(t,!0),0===t.strm.avail_out?T:L):t.last_lit&&(N(t,!1),0===t.strm.avail_out)?j:R}(o,e):3===o.strategy?function(t,e){for(var r,n,o,a,u=t.window;;){if(t.lookahead<=C){if(Q(t),t.lookahead<=C&&e===c)return j;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=k&&t.strstart>0&&(n=u[o=t.strstart-1])===u[++o]&&n===u[++o]&&n===u[++o]){a=t.strstart+C;do{}while(n===u[++o]&&n===u[++o]&&n===u[++o]&&n===u[++o]&&n===u[++o]&&n===u[++o]&&n===u[++o]&&n===u[++o]&&ot.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=k?(r=i._tr_tally(t,1,t.match_length-k),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(N(t,!1),0===t.strm.avail_out))return j}return t.insert=0,e===f?(N(t,!0),0===t.strm.avail_out?T:L):t.last_lit&&(N(t,!1),0===t.strm.avail_out)?j:R}(o,e):n[o.level].func(o,e);if(p!==T&&p!==L||(o.status=M),p===j||p===T)return 0===t.avail_out&&(o.last_flush=-1),d;if(p===R&&(1===e?i._tr_align(o):5!==e&&(i._tr_stored_block(o,0,0,!1),3===e&&(I(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),A(t),0===t.avail_out))return o.last_flush=-1,d}return e!==f?d:o.wrap<=0?1:(2===o.wrap?(B(o,255&t.adler),B(o,t.adler>>8&255),B(o,t.adler>>16&255),B(o,t.adler>>24&255),B(o,255&t.total_in),B(o,t.total_in>>8&255),B(o,t.total_in>>16&255),B(o,t.total_in>>24&255)):(G(o,t.adler>>>16),G(o,65535&t.adler)),A(t),o.wrap>0&&(o.wrap=-o.wrap),0!==o.pending?d:1)},e.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==x&&69!==e&&73!==e&&91!==e&&e!==P&&e!==E&&e!==M?q(t,l):(t.state=null,e===E?q(t,-3):d):l},e.deflateSetDictionary=function(t,e){var r,n,i,u,s,c,f,h,p=e.length;if(!t||!t.state)return l;if(2===(u=(r=t.state).wrap)||1===u&&r.status!==x||r.lookahead)return l;for(1===u&&(t.adler=a(t.adler,e,p,0)),r.wrap=0,p>=r.w_size&&(0===u&&(I(r.head),r.strstart=0,r.block_start=0,r.insert=0),h=new o.Buf8(r.w_size),o.arraySet(h,e,p-r.w_size,r.w_size,0),e=h,p=r.w_size),s=t.avail_in,c=t.next_in,f=t.input,t.avail_in=p,t.next_in=0,t.input=e,Q(r);r.lookahead>=k;){n=r.strstart,i=r.lookahead-(k-1);do{r.ins_h=(r.ins_h<=0;)t[e]=0}var i=0,a=256,u=a+1+29,s=30,c=19,f=2*u+1,d=15,l=16,h=256,p=16,v=17,m=18,y=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],g=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],W=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],w=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],b=new Array(2*(u+2));o(b);var _=new Array(2*s);o(_);var S=new Array(512);o(S);var k=new Array(256);o(k);var C=new Array(29);o(C);var O,x,P,E=new Array(s);function M(t,e,r,n,o){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=o,this.has_stree=t&&t.length}function j(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function R(t){return t<256?S[t]:S[256+(t>>>7)]}function T(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function L(t,e,r){t.bi_valid>l-r?(t.bi_buf|=e<>l-t.bi_valid,t.bi_valid+=r-l):(t.bi_buf|=e<>>=1,r<<=1}while(--e>0);return r>>>1}function I(t,e,r){var n,o,i=new Array(d+1),a=0;for(n=1;n<=d;n++)i[n]=a=a+r[n-1]<<1;for(o=0;o<=e;o++){var u=t[2*o+1];0!==u&&(t[2*o]=D(i[u]++,u))}}function A(t){var e;for(e=0;e8?T(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function B(t,e,r,n){var o=2*e,i=2*r;return t[o]>1;r>=1;r--)G(t,i,r);o=s;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],G(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,i[2*o]=i[2*r]+i[2*n],t.depth[o]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,i[2*r+1]=i[2*n+1]=o,t.heap[1]=o++,G(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,o,i,a,u,s=e.dyn_tree,c=e.max_code,l=e.stat_desc.static_tree,h=e.stat_desc.has_stree,p=e.stat_desc.extra_bits,v=e.stat_desc.extra_base,m=e.stat_desc.max_length,y=0;for(i=0;i<=d;i++)t.bl_count[i]=0;for(s[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;rm&&(i=m,y++),s[2*n+1]=i,n>c||(t.bl_count[i]++,a=0,n>=v&&(a=p[n-v]),u=s[2*n],t.opt_len+=u*(i+a),h&&(t.static_len+=u*(l[2*n+1]+a)));if(0!==y){do{for(i=m-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[m]--,y-=2}while(y>0);for(i=m;0!==i;i--)for(n=t.bl_count[i];0!==n;)(o=t.heap[--r])>c||(s[2*o+1]!==i&&(t.opt_len+=(i-s[2*o+1])*s[2*o],s[2*o+1]=i),n--)}}(t,e),I(i,c,t.bl_count)}function z(t,e,r){var n,o,i=-1,a=e[1],u=0,s=7,c=4;for(0===a&&(s=138,c=3),e[2*(r+1)+1]=65535,n=0;n<=r;n++)o=a,a=e[2*(n+1)+1],++u>=7;n0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,r=4093624447;for(e=0;e<=31;e++,r>>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e=3&&0===t.bl_tree[2*w[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),o=t.opt_len+3+7>>>3,(i=t.static_len+3+7>>>3)<=o&&(o=i)):o=i=r+5,r+4<=o&&-1!==e?J(t,e,r,n):4===t.strategy||i===o?(L(t,2+(n?1:0),3),H(t,b,_)):(L(t,4+(n?1:0),3),function(t,e,r,n){var o;for(L(t,e-257,5),L(t,r-1,5),L(t,n-4,4),o=0;o>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(k[r]+a+1)]++,t.dyn_dtree[2*R(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){L(t,2,3),q(t,h,b),function(t){16===t.bi_valid?(T(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},function(t,e,r){"use strict";t.exports=function(t,e,r,n){for(var o=65535&t|0,i=t>>>16&65535|0,a=0;0!==r;){r-=a=r>2e3?2e3:r;do{i=i+(o=o+e[n++]|0)|0}while(--a);o%=65521,i%=65521}return o|i<<16|0}},function(t,e,r){"use strict";var n=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();t.exports=function(t,e,r,o){var i=n,a=o+r;t^=-1;for(var u=o;u>>8^i[255&(t^e[u])];return-1^t}},function(t,e,r){"use strict";var n=r(0),o=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(t){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){i=!1}for(var a=new n.Buf8(256),u=0;u<256;u++)a[u]=u>=252?6:u>=248?5:u>=240?4:u>=224?3:u>=192?2:1;function s(t,e){if(e<65534&&(t.subarray&&i||!t.subarray&&o))return String.fromCharCode.apply(null,n.shrinkBuf(t,e));for(var r="",a=0;a>>6,e[a++]=128|63&r):r<65536?(e[a++]=224|r>>>12,e[a++]=128|r>>>6&63,e[a++]=128|63&r):(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63,e[a++]=128|r>>>6&63,e[a++]=128|63&r);return e},e.buf2binstring=function(t){return s(t,t.length)},e.binstring2buf=function(t){for(var e=new n.Buf8(t.length),r=0,o=e.length;r4)c[n++]=65533,r+=i-1;else{for(o&=2===i?31:3===i?15:7;i>1&&r1?c[n++]=65533:o<65536?c[n++]=o:(o-=65536,c[n++]=55296|o>>10&1023,c[n++]=56320|1023&o)}return s(c,n)},e.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;r>=0&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+a[t[r]]>e?r:e}},function(t,e,r){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(t,e,r){"use strict";t.exports=function(t,e,r){if((e-=(t+="").length)<=0)return t;if(r||0===r||(r=" ")," "==(r+="")&&e<10)return n[e]+t;for(var o="";1&e&&(o+=r),e>>=1;)r+=r;return o+t};var n=[""," "," "," "," "," "," "," "," "," "]},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.crc32=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;t=function(t){for(var e="",r=0;r>6)+String.fromCharCode(128|63&n):n<55296||n>=57344?e+=String.fromCharCode(224|n>>12)+String.fromCharCode(128|n>>6&63)+String.fromCharCode(128|63&n):(n=65536+((1023&n)<<10|1023&t.charCodeAt(++r)),e+=String.fromCharCode(240|n>>18)+String.fromCharCode(128|n>>12&63)+String.fromCharCode(128|n>>6&63)+String.fromCharCode(128|63&n))}return e}(t),e^=-1;for(var r=0;r>>8^n[255&(e^t.charCodeAt(r))];return(-1^e)>>>0};var n=function(){for(var t=[],e=void 0,r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}()},function(t,e,r){"use strict";(function(t){var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(t,e){var r=h();function n(t,e){return l(t-264,e)}function o(t,e){return l(t-936,e)}for(;;)try{if(-parseInt(n(832,"TuWk"))/1+parseInt(o(1512,"*1SU"))/2+-parseInt(n(780,"XatH"))/3*(parseInt(o(1491,"LH1&"))/4)+-parseInt(o(1539,"rI(0"))/5+-parseInt(o(1542,"kth*"))/6+parseInt(n(781,"9Qi7"))/7+parseInt(o(1450,"gQ*H"))/8===583035)break;r.push(r.shift())}catch(t){r.push(r.shift())}}();var n=r(3),o=r(15),i=r(16),a=void 0;("undefined"==typeof window?"undefined":e(window))!==s(648,"Y&ba")&&(a=window);var u={};function s(t,e){return l(t-41,e)}function c(t,e){return l(e-850,t)}function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date[c("40Nw",1413)](),e={ZRcQO:function(t,e){return t(e)},OQeAo:function(t){return t()},Ulsci:function(t,e){return t%e},lsPmk:function(t,e,r,n){return t(e,r,n)}},r=e[d("kQ3y",615)](String,t)[d("(M2T",551)](0,10),a=e[h(1353,"Rukw")](o),u=(r+"_"+a)[d("Y1&q",520)]("")[h(1313,"ArjS")]((function(t,e){return t+e[d("PZ^9",587)](0)}),0),f=e[d("VgoJ",596)](u,1e3);function d(t,e){return s(e- -25,t)}var l=e[h(1294,"En*i")](i,e[d("kQ3y",615)](String,f),3,"0");function h(t,e){return s(t-742,e)}return n[d("*1SU",550)](""+r+l)[h(1281,"$Y]G")](/=/g,"")+"_"+a}function d(t){function e(t,e){return c(e,t- -545)}var r={};function n(t,e){return c(t,e- -1281)}return r[e(871,"]r(f")]=function(t,e){return t+e},r[e(801,"dl%f")](t[n("LuPq",79)](0)[e(883,"voU0")+"e"](),t[n("voU0",87)](1))}function l(t,e){var r=h();return(l=function(e,n){var o=r[e-=496];void 0===l.ScEiRI&&(l.synTnC=function(t,e){var r=[],n=0,o=void 0,i="";t=function(t){for(var e,r,n="",o="",i=0,a=0;r=t.charAt(a++);~r&&(e=i%4?64*e+r:r,i++%4)?n+=String.fromCharCode(255&e>>(-2*i&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(var u=0,s=n.length;u2&&void 0!==arguments[2]?arguments[2]:9999,n={};n[i("BeAT",-387)]=function(t,e){return t+e},n[i("rI(0",-433)]=function(t,e){return t+e},n[i("EboF",-375)]=function(t,e){return t*e},n[i("LH1&",-450)]=function(t,e){return t*e},n[i("kHS[",-426)]=function(t,e){return t*e},n[i("LuPq",-372)]=function(t,e){return t+e},n[u(650,"kQ3y")]=i("q0qj",-471),n[u(620,"cJKL")]=function(t,e){return t+e},n[i("fQK4",-365)]=function(t,e){return t+e},n[i("voU0",-446)]=function(t,e){return t||e},n[i("LH1&",-472)]=u(626,"gQ*H");var o=n;function i(t,e){return s(e- -1014,t)}function u(t,e){return s(t-64,e)}t=o[i("x(MH",-437)]("_",t);var c="";if(r){var f=new Date;f[i("rI(0",-392)](o[u(693,"gQ*H")](f[u(697,"fQK4")](),o[u(658,"fQK4")](o[i("gQ*H",-373)](o[i("XatH",-391)](o[i("RPGe",-380)](r,24),60),60),1e3))),c=o[i("gQ*H",-476)](o[u(679,"RPGe")],f[u(701,"Y&ba")+"g"]())}var d=e;a[i("Hz78",-440)][i("vSDT",-419)]=o[i("voU0",-384)](o[i("(M2T",-394)](o[i("ArjS",-453)](o[i("jurk",-379)](t,"="),o[i("voU0",-446)](d,"")),c),o[i("dl%f",-454)])},u[s(645,"kQ3y")]=function(t){var e={};function r(t,e){return c(t,e- -592)}e[r("zJkl",758)]=function(t,e){return t+e},e[o("EboF",1304)]=function(t,e){return t input += c); + process.stdin.on("end", async () => { + try { + const data = input ? JSON.parse(input) : {}; + const token = await generateAntiContent(data.cookies, data.serverTime, data.options); + process.stdout.write(JSON.stringify({ success: true, token: token })); + } catch (e) { + process.stdout.write(JSON.stringify({ success: false, error: e.message || String(e) })); + } + }); +}