@evomap/evolver-proxy 2.0.0-beta.9 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/evolver-proxy.d.ts +26 -2
- package/dist/bin/evolver-proxy.js +284 -51
- package/dist/daemon/atpConsent.js +5 -2
- package/dist/daemon/collaborationFacade.js +23 -13
- package/dist/daemon/proxyDaemon.d.ts +52 -0
- package/dist/daemon/proxyDaemon.js +1067 -24
- package/dist/daemon/publishRecallVerifier.d.ts +114 -0
- package/dist/daemon/publishRecallVerifier.js +495 -0
- package/dist/daemon/selectHub.js +5 -3
- package/dist/daemon/systemdNotifier.d.ts +46 -0
- package/dist/daemon/systemdNotifier.js +153 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +4 -1
- package/dist/lifecycle/claimNudge.d.ts +20 -0
- package/dist/lifecycle/claimNudge.js +1 -0
- package/dist/lifecycle/deployGuard.js +1 -53
- package/dist/lifecycle/legacyNodeId.js +1 -178
- package/dist/lifecycle/manager.d.ts +4 -0
- package/dist/lifecycle/manager.js +1 -390
- package/dist/llm/bodyCapture.js +1 -293
- package/dist/llm/index.js +1 -3
- package/dist/llm/server.js +1 -359
- package/dist/llm/traceBackfill.js +1 -525
- package/dist/llm/traceConfig.js +1 -44
- package/dist/llm/traceControl.js +1 -85
- package/dist/llm/traceEnvelope.js +1 -286
- package/dist/llm/traceSink.js +1 -278
- package/dist/llm/traceUploadPayload.js +1 -27
- package/dist/llm/upstream.d.ts +5 -1
- package/dist/llm/upstream.js +1 -491
- package/dist/private/accountAssetCompatibility.d.ts +29 -0
- package/dist/private/accountAssetCompatibility.js +196 -0
- package/dist/private/adapterLoader.d.ts +21 -1
- package/dist/private/adapterLoader.js +242 -7
- package/dist/private/nodeCredentialStore.d.ts +23 -0
- package/dist/private/nodeCredentialStore.js +210 -0
- package/dist/router/cachePassthrough.js +1 -13
- package/dist/router/features.js +1 -52
- package/dist/router/index.js +1 -6
- package/dist/router/messagesRoute.js +1 -809
- package/dist/router/modelRouter.js +1 -66
- package/dist/router/providerRoutes.js +1 -1579
- package/dist/router/sseScan.js +1 -543
- package/dist/selfUpdate/bootstrap.d.ts +69 -0
- package/dist/selfUpdate/bootstrap.js +282 -0
- package/dist/selfUpdate/builtinKey.d.ts +4 -0
- package/dist/selfUpdate/builtinKey.js +16 -0
- package/dist/selfUpdate/executor.d.ts +1 -1
- package/dist/selfUpdate/executor.js +1 -1
- package/dist/selfUpdate/failureCodes.d.ts +4 -0
- package/dist/selfUpdate/failureCodes.js +7 -0
- package/dist/selfUpdate/migration.d.ts +93 -0
- package/dist/selfUpdate/migration.js +315 -0
- package/dist/selfUpdate/policy.d.ts +19 -2
- package/dist/selfUpdate/policy.js +82 -2
- package/dist/selfUpdate/releaseBinary.js +4 -1
- package/dist/sync/engine.d.ts +12 -0
- package/dist/sync/engine.js +1 -505
- package/package.json +7 -4
package/dist/llm/traceConfig.js
CHANGED
|
@@ -1,44 +1 @@
|
|
|
1
|
-
export function traceDisabledByValue(value) {
|
|
2
|
-
const raw = String(value ?? '').trim().toLowerCase();
|
|
3
|
-
return raw === '0' || raw === 'false' || raw === 'off' || raw === 'none' || raw === 'no';
|
|
4
|
-
}
|
|
5
|
-
function truthyState(value) {
|
|
6
|
-
return value === true || value === 'true' || value === 1 || value === '1';
|
|
7
|
-
}
|
|
8
|
-
function falseyState(value) {
|
|
9
|
-
return value === false || value === 'false' || value === 0 || value === '0';
|
|
10
|
-
}
|
|
11
|
-
function storeState(store, key) {
|
|
12
|
-
try {
|
|
13
|
-
return store?.getState?.(key) ?? undefined;
|
|
14
|
-
}
|
|
15
|
-
catch {
|
|
16
|
-
return undefined;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export function traceCollectionEnabled(env = process.env, store) {
|
|
20
|
-
const state = storeState(store, 'trace_collection_enabled') ?? storeState(store, 'proxy_trace_collection_enabled');
|
|
21
|
-
if (falseyState(state))
|
|
22
|
-
return false;
|
|
23
|
-
if (env['EVOLVER_LLM_TRACE'] !== undefined)
|
|
24
|
-
return !traceDisabledByValue(env['EVOLVER_LLM_TRACE']);
|
|
25
|
-
if (env['EVOMAP_PROXY_TRACE'] !== undefined)
|
|
26
|
-
return !traceDisabledByValue(env['EVOMAP_PROXY_TRACE']);
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
export function traceProfileAnalysisEnabled(env = process.env, store) {
|
|
30
|
-
if (env['EVOLVER_LLM_TRACE_PROFILE_ANALYSIS'] !== undefined)
|
|
31
|
-
return !traceDisabledByValue(env['EVOLVER_LLM_TRACE_PROFILE_ANALYSIS']);
|
|
32
|
-
if (env['EVOMAP_PROXY_TRACE_PROFILE_ANALYSIS'] !== undefined)
|
|
33
|
-
return !traceDisabledByValue(env['EVOMAP_PROXY_TRACE_PROFILE_ANALYSIS']);
|
|
34
|
-
const state = storeState(store, 'trace_profile_analysis_enabled') ?? storeState(store, 'proxy_trace_profile_analysis_enabled');
|
|
35
|
-
return truthyState(state);
|
|
36
|
-
}
|
|
37
|
-
export function traceHubPublicKey(env = process.env, store) {
|
|
38
|
-
const key = String(env['EVOLVER_LLM_TRACE_HUB_PUBLIC_KEY']
|
|
39
|
-
|| env['EVOMAP_PROXY_TRACE_HUB_PUBLIC_KEY']
|
|
40
|
-
|| storeState(store, 'trace_hub_public_key')
|
|
41
|
-
|| storeState(store, 'proxy_trace_hub_public_key')
|
|
42
|
-
|| '').trim();
|
|
43
|
-
return key || null;
|
|
44
|
-
}
|
|
1
|
+
(function(_0x46f5fb,_0x3988f1){const _0x303a56=_0x1386,_0x3b9e8a=_0x46f5fb();while(!![]){try{const _0x222019=parseInt(_0x303a56(0x9d,'\x63\x59\x59\x76'))/(-0x7cf*-0x1+-0x183d+0x106f*0x1)+parseInt(_0x303a56(0xb9,'\x46\x5b\x76\x6a'))/(0x1e78+-0xa4c*0x1+-0x142a)+-parseInt(_0x303a56(0xa5,'\x52\x71\x52\x52'))/(-0x23*0x5+-0xdcb+0xe7d*0x1)*(parseInt(_0x303a56(0xbb,'\x74\x47\x69\x77'))/(0x2*-0x2b1+-0x1f63+0x24c9))+parseInt(_0x303a56(0x84,'\x46\x5b\x76\x6a'))/(-0xa35+0x611+0x429)+-parseInt(_0x303a56(0xc0,'\x72\x6a\x30\x35'))/(-0x1da8+-0x137*-0x9+-0x12bf*-0x1)*(parseInt(_0x303a56(0x7f,'\x4e\x55\x79\x45'))/(-0x2654+0x1bfb+-0x298*-0x4))+parseInt(_0x303a56(0xaa,'\x7a\x42\x57\x74'))/(0xbdf*-0x3+-0x23aa+0x474f)*(-parseInt(_0x303a56(0xb7,'\x74\x47\x69\x77'))/(-0xc8f+-0x2f5+-0x52f*-0x3))+parseInt(_0x303a56(0x8f,'\x31\x47\x4c\x24'))/(-0x203d*-0x1+-0x1cb+-0x1e68);if(_0x222019===_0x3988f1)break;else _0x3b9e8a['push'](_0x3b9e8a['shift']());}catch(_0x2f3e54){_0x3b9e8a['push'](_0x3b9e8a['shift']());}}}(_0xd21d,-0x1*0x635a9+-0x1*0xc6f03+-0x526*-0x600));export function traceDisabledByValue(_0x4b6038){const _0x3ebd87=_0x1386,_0xedf2c5=String(_0x4b6038??'')[_0x3ebd87(0xa2,'\x29\x77\x70\x54')]()[_0x3ebd87(0xb1,'\x64\x69\x30\x32')+_0x3ebd87(0xb0,'\x40\x45\x59\x6e')]();return _0xedf2c5==='\x30'||_0xedf2c5===_0x3ebd87(0xbc,'\x29\x77\x70\x54')||_0xedf2c5===_0x3ebd87(0xbd,'\x33\x72\x28\x6d')||_0xedf2c5===_0x3ebd87(0x90,'\x68\x40\x29\x4e')||_0xedf2c5==='\x6e\x6f';}function truthyState(_0x7e3688){return _0x7e3688===!![]||_0x7e3688==='\x74\x72\x75\x65'||_0x7e3688===0x22da+-0x1*-0x1966+-0x3c3f||_0x7e3688==='\x31';}function falseyState(_0x2a8521){const _0x4e6332=_0x1386;return _0x2a8521===![]||_0x2a8521===_0x4e6332(0x86,'\x72\x6a\x30\x35')||_0x2a8521===0xcd1*-0x1+-0x2695+0x3366||_0x2a8521==='\x30';}function _0x1386(_0x39768b,_0x46de35){_0x39768b=_0x39768b-(0x18be+-0x1650+0x8*-0x3e);const _0x1ca3f1=_0xd21d();let _0x2dbc75=_0x1ca3f1[_0x39768b];if(_0x1386['\x75\x73\x44\x66\x45\x6b']===undefined){var _0x2ca474=function(_0x42c807){const _0x3f1a7c='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x24be41='',_0x657fda='';for(let _0x505617=-0x2a*-0x35+0x2e6+0x35*-0x38,_0x56d291,_0x322953,_0x2a4bbc=0x8b*-0x25+0x408+0x100f;_0x322953=_0x42c807['\x63\x68\x61\x72\x41\x74'](_0x2a4bbc++);~_0x322953&&(_0x56d291=_0x505617%(0xb84+0xbcb*0x2+-0x2316)?_0x56d291*(0x33a*0x6+0x438+0x2*-0xbaa)+_0x322953:_0x322953,_0x505617++%(0x1*-0x112a+-0x113f*0x1+-0x226d*-0x1))?_0x24be41+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x1526*0x1+0xa39+-0x5f6*-0x2&_0x56d291>>(-(-0x2341+0x2*-0x7ae+0x329f)*_0x505617&0x12d8+0x102f+-0x2301)):0x1df7+0x1e49*0x1+-0x10*0x3c4){_0x322953=_0x3f1a7c['\x69\x6e\x64\x65\x78\x4f\x66'](_0x322953);}for(let _0x40c3e4=-0x10*0x1df+-0x1*-0x2467+-0x677,_0x16aa51=_0x24be41['\x6c\x65\x6e\x67\x74\x68'];_0x40c3e4<_0x16aa51;_0x40c3e4++){_0x657fda+='\x25'+('\x30\x30'+_0x24be41['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x40c3e4)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](-0x3*0xbc1+0x48+0x230b))['\x73\x6c\x69\x63\x65'](-(-0x1771+0xa2d+0x1*0xd46));}return decodeURIComponent(_0x657fda);};const _0x191e17=function(_0x397067,_0x36e337){let _0x35f70a=[],_0x561d8a=0xd*0xad+-0xe98+0x5cf,_0x27431b,_0x40a653='';_0x397067=_0x2ca474(_0x397067);let _0x93cc91;for(_0x93cc91=-0x1*0x355+-0x1036+0x138b;_0x93cc91<0x25c0+0xe*0x9e+-0x2d64;_0x93cc91++){_0x35f70a[_0x93cc91]=_0x93cc91;}for(_0x93cc91=0x1233*-0x1+0x41*-0x39+0xa4*0x33;_0x93cc91<0x1a8+0x1*0x16d3+-0x177b;_0x93cc91++){_0x561d8a=(_0x561d8a+_0x35f70a[_0x93cc91]+_0x36e337['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x93cc91%_0x36e337['\x6c\x65\x6e\x67\x74\x68']))%(0x123b*0x1+0x25bb+0x29e*-0x15),_0x27431b=_0x35f70a[_0x93cc91],_0x35f70a[_0x93cc91]=_0x35f70a[_0x561d8a],_0x35f70a[_0x561d8a]=_0x27431b;}_0x93cc91=0x2*-0x26f+-0x1*-0x1426+-0xf48,_0x561d8a=0x22da+-0x1*-0x1966+-0x3c40;for(let _0x3adb64=0xcd1*-0x1+-0x2695+0x3366;_0x3adb64<_0x397067['\x6c\x65\x6e\x67\x74\x68'];_0x3adb64++){_0x93cc91=(_0x93cc91+(0x16af+-0x1ae3+0x435))%(0x2303+0x1cdd+-0x3ee0),_0x561d8a=(_0x561d8a+_0x35f70a[_0x93cc91])%(-0x1c*0x97+0xcd*0x2d+0x1*-0x1285),_0x27431b=_0x35f70a[_0x93cc91],_0x35f70a[_0x93cc91]=_0x35f70a[_0x561d8a],_0x35f70a[_0x561d8a]=_0x27431b,_0x40a653+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x397067['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3adb64)^_0x35f70a[(_0x35f70a[_0x93cc91]+_0x35f70a[_0x561d8a])%(-0x101d+0x149b+-0x37e)]);}return _0x40a653;};_0x1386['\x70\x69\x47\x5a\x6e\x6c']=_0x191e17,_0x1386['\x4d\x54\x48\x7a\x51\x6f']={},_0x1386['\x75\x73\x44\x66\x45\x6b']=!![];}const _0x5ce8a9=_0x1ca3f1[-0xea0+0x2084+-0x1*0x11e4],_0x3fae88=_0x39768b+_0x5ce8a9,_0xa64397=_0x1386['\x4d\x54\x48\x7a\x51\x6f'][_0x3fae88];return!_0xa64397?(_0x1386['\x63\x6b\x64\x67\x41\x78']===undefined&&(_0x1386['\x63\x6b\x64\x67\x41\x78']=!![]),_0x2dbc75=_0x1386['\x70\x69\x47\x5a\x6e\x6c'](_0x2dbc75,_0x46de35),_0x1386['\x4d\x54\x48\x7a\x51\x6f'][_0x3fae88]=_0x2dbc75):_0x2dbc75=_0xa64397,_0x2dbc75;}function storeState(_0x49357c,_0x5a6c10){const _0x44b406=_0x1386;try{return _0x49357c?.[_0x44b406(0xaf,'\x52\x71\x52\x52')]?.(_0x5a6c10)??undefined;}catch{return undefined;}}function _0xd21d(){const _0x1e9d8f=['\x68\x48\x76\x6b\x79\x6d\x6b\x41\x57\x52\x68\x63\x4b\x68\x34','\x57\x36\x6c\x64\x4e\x65\x4a\x63\x54\x47\x62\x42\x57\x51\x33\x63\x4d\x47','\x79\x4a\x35\x36\x57\x51\x70\x64\x54\x65\x6c\x64\x53\x32\x30','\x65\x53\x6f\x49\x70\x38\x6b\x48\x7a\x53\x6f\x32\x70\x43\x6f\x35','\x57\x37\x6e\x4a\x45\x6d\x6b\x62\x57\x50\x33\x63\x50\x4b\x52\x64\x54\x61','\x57\x52\x65\x54\x57\x4f\x58\x63\x75\x38\x6f\x43\x57\x35\x4a\x64\x51\x47','\x57\x52\x74\x63\x4a\x63\x61','\x71\x53\x6b\x67\x57\x36\x31\x74\x57\x34\x74\x64\x53\x38\x6b\x4b\x41\x57','\x6c\x59\x47\x52\x69\x62\x68\x63\x49\x53\x6b\x41\x7a\x47','\x57\x52\x78\x63\x4a\x48\x34','\x44\x53\x6f\x7a\x6f\x43\x6b\x56\x57\x50\x4a\x64\x52\x57\x4e\x64\x47\x61','\x42\x6d\x6b\x50\x57\x36\x6d\x77\x42\x76\x68\x63\x49\x65\x6d','\x57\x50\x6a\x51\x57\x37\x35\x57\x77\x38\x6b\x56\x57\x34\x4a\x63\x4a\x71','\x6b\x6d\x6f\x2f\x6c\x58\x69\x65\x57\x35\x6c\x64\x47\x67\x78\x63\x47\x68\x46\x64\x4c\x6d\x6f\x65\x57\x37\x4f','\x57\x4f\x75\x62\x57\x51\x53','\x57\x35\x69\x2b\x57\x50\x52\x63\x55\x33\x39\x78\x57\x37\x61\x57\x69\x78\x35\x70','\x70\x49\x70\x63\x4f\x4a\x62\x6b\x57\x34\x2f\x63\x49\x43\x6f\x74','\x6c\x53\x6f\x36\x6b\x62\x30\x67\x57\x35\x74\x64\x4a\x30\x2f\x63\x4d\x65\x2f\x64\x4a\x43\x6f\x6c\x57\x34\x38','\x57\x35\x65\x54\x57\x37\x31\x62\x68\x71','\x57\x34\x6e\x66\x57\x50\x47','\x71\x31\x4e\x63\x4c\x5a\x35\x57\x57\x35\x2f\x63\x47\x43\x6f\x32','\x78\x62\x2f\x64\x4c\x6d\x6f\x76\x57\x36\x71\x6e\x44\x38\x6b\x4b','\x6f\x64\x4c\x78\x57\x4f\x68\x64\x54\x75\x42\x64\x4b\x57','\x61\x49\x53\x4e\x78\x57\x7a\x57\x57\x37\x64\x64\x48\x57','\x57\x50\x38\x42\x57\x34\x7a\x4a\x71\x53\x6b\x44\x57\x50\x52\x64\x56\x61\x33\x64\x51\x74\x68\x64\x55\x43\x6b\x33','\x57\x50\x64\x63\x51\x71\x50\x33\x57\x37\x52\x63\x49\x43\x6b\x46\x57\x34\x53','\x57\x36\x75\x49\x78\x4d\x4b\x30\x45\x53\x6b\x68\x57\x50\x43','\x42\x5a\x66\x36\x57\x50\x2f\x64\x4f\x30\x74\x64\x53\x67\x38','\x57\x50\x70\x63\x49\x78\x68\x64\x54\x6d\x6f\x47\x57\x52\x4f\x66','\x57\x36\x76\x48\x57\x52\x56\x64\x47\x43\x6b\x64\x57\x34\x74\x63\x4c\x67\x46\x63\x50\x38\x6f\x46\x57\x34\x4c\x34\x70\x61','\x57\x36\x4c\x7a\x43\x78\x50\x58\x57\x34\x46\x64\x55\x6d\x6b\x4c','\x78\x47\x71\x55\x57\x35\x4a\x64\x4d\x38\x6b\x62','\x6b\x61\x79\x32\x57\x51\x68\x64\x4b\x38\x6b\x78\x57\x37\x72\x69','\x57\x35\x46\x64\x51\x76\x2f\x64\x54\x66\x6a\x4d\x79\x78\x34','\x57\x35\x69\x30\x57\x50\x4e\x63\x55\x78\x53\x4f\x57\x4f\x57\x36\x61\x4b\x66\x79\x41\x6d\x6f\x43','\x57\x52\x57\x63\x6a\x62\x6d\x31\x57\x37\x37\x64\x4e\x53\x6b\x48\x57\x4f\x53\x33\x57\x4f\x30','\x41\x64\x6e\x5a\x57\x52\x70\x64\x50\x71','\x57\x35\x65\x37\x43\x58\x64\x63\x47\x4d\x42\x63\x4f\x6d\x6b\x35','\x71\x38\x6b\x57\x57\x36\x4b\x78','\x78\x62\x31\x68\x57\x50\x4e\x64\x4e\x33\x2f\x64\x4a\x4b\x69','\x57\x35\x33\x64\x53\x53\x6f\x56\x62\x6d\x6f\x6c\x57\x4f\x6e\x36\x57\x35\x69','\x57\x35\x69\x6a\x69\x38\x6b\x61\x57\x52\x4a\x63\x4f\x6d\x6f\x4a\x79\x6d\x6f\x31\x57\x52\x74\x63\x4a\x53\x6b\x76','\x41\x57\x2f\x63\x47\x4c\x69\x5a\x57\x35\x4e\x64\x52\x38\x6f\x4b','\x78\x57\x6d\x4c\x57\x35\x4a\x64\x4d\x38\x6b\x36\x57\x52\x52\x64\x4c\x47','\x57\x52\x6c\x64\x4a\x4b\x56\x64\x50\x43\x6b\x64\x57\x37\x74\x63\x50\x4d\x79','\x57\x37\x79\x45\x57\x4f\x6d\x62\x6c\x38\x6f\x67\x57\x52\x52\x64\x55\x6d\x6b\x78\x63\x38\x6f\x36\x57\x36\x4e\x64\x48\x43\x6f\x61','\x57\x36\x53\x76\x64\x53\x6f\x4d','\x57\x50\x6d\x70\x57\x34\x5a\x63\x56\x38\x6f\x4b\x57\x52\x4e\x64\x53\x66\x79','\x57\x37\x69\x41\x57\x35\x35\x2f\x6f\x43\x6f\x71\x67\x72\x71','\x57\x52\x7a\x6c\x68\x59\x72\x48\x69\x6d\x6f\x78\x57\x34\x71\x49\x57\x52\x4a\x64\x4c\x6d\x6f\x4e\x64\x31\x71','\x42\x77\x52\x64\x48\x4b\x6c\x64\x54\x61\x78\x64\x4b\x76\x78\x64\x53\x75\x43\x4e\x73\x38\x6b\x6f','\x57\x34\x37\x64\x47\x49\x56\x63\x49\x77\x47\x4e\x57\x34\x44\x58','\x74\x53\x6b\x4d\x57\x51\x65\x47\x78\x64\x31\x75\x6f\x47','\x57\x35\x50\x31\x74\x68\x58\x45\x57\x36\x68\x64\x48\x43\x6b\x63','\x57\x51\x50\x6b\x57\x36\x46\x64\x4b\x48\x39\x6f\x57\x37\x47\x72','\x57\x50\x68\x64\x4b\x61\x52\x63\x47\x43\x6b\x4c\x57\x36\x6e\x2f\x72\x78\x68\x63\x55\x75\x56\x63\x56\x43\x6f\x53','\x57\x4f\x6a\x2b\x57\x37\x31\x30\x77\x43\x6b\x47\x57\x35\x5a\x63\x4d\x61','\x57\x50\x79\x6c\x41\x4a\x4e\x63\x49\x4e\x2f\x63\x4a\x61','\x57\x34\x61\x53\x6c\x38\x6f\x6f\x6f\x6d\x6f\x7a\x6c\x43\x6b\x6b','\x6f\x6d\x6f\x74\x57\x35\x54\x76\x6e\x75\x7a\x4f\x67\x53\x6f\x38\x70\x38\x6f\x71\x64\x47','\x57\x37\x48\x70\x44\x4b\x4c\x4f\x57\x35\x42\x64\x49\x6d\x6b\x4f','\x73\x6d\x6b\x67\x57\x4f\x6a\x6f\x77\x4a\x48\x64\x68\x71','\x57\x50\x37\x64\x4a\x38\x6f\x52\x57\x4f\x75\x65\x75\x75\x71\x44','\x6e\x5a\x4e\x63\x4f\x63\x6e\x69\x57\x35\x4a\x63\x4d\x53\x6f\x70','\x57\x34\x6d\x2b\x57\x37\x48\x46','\x75\x6d\x6b\x61\x75\x78\x50\x4d\x57\x52\x42\x63\x54\x4b\x47','\x44\x74\x4f\x6e\x57\x37\x52\x64\x56\x38\x6b\x50\x57\x4f\x6c\x64\x51\x57','\x57\x36\x75\x6b\x57\x4f\x62\x42\x73\x53\x6f\x37\x57\x36\x47','\x67\x38\x6f\x58\x6c\x38\x6b\x54\x41\x43\x6f\x4e\x6c\x53\x6f\x57','\x57\x52\x4a\x63\x53\x48\x50\x79\x71\x73\x33\x63\x50\x38\x6f\x2f','\x57\x50\x4a\x64\x4e\x6d\x6f\x37\x57\x50\x47\x78\x74\x4c\x30\x65','\x57\x34\x31\x4c\x78\x68\x62\x64\x57\x36\x52\x64\x48\x38\x6b\x77'];_0xd21d=function(){return _0x1e9d8f;};return _0xd21d();}export function traceCollectionEnabled(_0x52ea2c=process.env,_0x181d91){const _0x1588a9=_0x1386,_0x444887=storeState(_0x181d91,_0x1588a9(0x8c,'\x29\x71\x40\x40')+_0x1588a9(0xac,'\x72\x6a\x30\x35')+_0x1588a9(0xa7,'\x79\x4a\x55\x53'))??storeState(_0x181d91,'\x70\x72\x6f\x78\x79\x5f\x74\x72'+_0x1588a9(0xc5,'\x72\x6a\x30\x35')+_0x1588a9(0x95,'\x75\x6c\x47\x23')+_0x1588a9(0x81,'\x54\x4c\x56\x57'));if(falseyState(_0x444887))return![];if(_0x52ea2c['\x45\x56\x4f\x4c\x56\x45\x52\x5f'+_0x1588a9(0xa3,'\x74\x47\x69\x77')+'\x45']!==undefined)return!traceDisabledByValue(_0x52ea2c[_0x1588a9(0xa1,'\x42\x48\x33\x34')+_0x1588a9(0x98,'\x46\x5b\x76\x6a')+'\x45']);if(_0x52ea2c[_0x1588a9(0x92,'\x29\x77\x70\x54')+'\x52\x4f\x58\x59\x5f\x54\x52\x41'+'\x43\x45']!==undefined)return!traceDisabledByValue(_0x52ea2c[_0x1588a9(0xad,'\x26\x4d\x77\x6c')+_0x1588a9(0x89,'\x72\x6a\x30\x35')+'\x43\x45']);return!![];}export function traceProfileAnalysisEnabled(_0x113e81=process.env,_0x1b87cc){const _0x537cb6=_0x1386;if(_0x113e81[_0x537cb6(0xc3,'\x40\x45\x59\x6e')+_0x537cb6(0xbf,'\x6e\x36\x6a\x78')+_0x537cb6(0x8e,'\x55\x76\x74\x49')+_0x537cb6(0x82,'\x5a\x71\x37\x66')+'\x49\x53']!==undefined)return!traceDisabledByValue(_0x113e81[_0x537cb6(0x91,'\x4e\x55\x79\x45')+_0x537cb6(0xba,'\x42\x48\x33\x34')+'\x45\x5f\x50\x52\x4f\x46\x49\x4c'+_0x537cb6(0xa4,'\x54\x4c\x56\x57')+'\x49\x53']);if(_0x113e81[_0x537cb6(0x9c,'\x68\x40\x29\x4e')+_0x537cb6(0x97,'\x24\x41\x31\x65')+'\x43\x45\x5f\x50\x52\x4f\x46\x49'+_0x537cb6(0x9f,'\x38\x35\x45\x43')+_0x537cb6(0xb3,'\x63\x76\x41\x5a')]!==undefined)return!traceDisabledByValue(_0x113e81[_0x537cb6(0x9a,'\x31\x47\x4c\x24')+_0x537cb6(0xae,'\x37\x4f\x65\x51')+_0x537cb6(0xa0,'\x31\x42\x66\x4b')+_0x537cb6(0xa6,'\x26\x4d\x77\x6c')+_0x537cb6(0xb8,'\x52\x71\x52\x52')]);const _0x5babaf=storeState(_0x1b87cc,'\x74\x72\x61\x63\x65\x5f\x70\x72'+_0x537cb6(0x8d,'\x54\x4c\x56\x57')+'\x61\x6c\x79\x73\x69\x73\x5f\x65'+'\x6e\x61\x62\x6c\x65\x64')??storeState(_0x1b87cc,_0x537cb6(0xb5,'\x34\x2a\x59\x73')+_0x537cb6(0x80,'\x24\x41\x31\x65')+_0x537cb6(0xb4,'\x54\x6c\x47\x79')+_0x537cb6(0xb2,'\x77\x42\x4a\x74')+'\x62\x6c\x65\x64');return truthyState(_0x5babaf);}export function traceHubPublicKey(_0x340de7=process.env,_0x18f254){const _0x341102=_0x1386,_0x3277c5=String(_0x340de7[_0x341102(0xa1,'\x42\x48\x33\x34')+_0x341102(0x98,'\x46\x5b\x76\x6a')+_0x341102(0xa9,'\x24\x41\x31\x65')+_0x341102(0x96,'\x63\x59\x59\x76')]||_0x340de7[_0x341102(0xa8,'\x31\x42\x66\x4b')+_0x341102(0xc1,'\x2a\x78\x26\x40')+_0x341102(0x8a,'\x24\x74\x74\x41')+_0x341102(0xb6,'\x31\x47\x4c\x24')+'\x59']||storeState(_0x18f254,_0x341102(0x87,'\x29\x68\x66\x56')+_0x341102(0xc4,'\x40\x77\x69\x56')+_0x341102(0x88,'\x34\x2a\x59\x73'))||storeState(_0x18f254,_0x341102(0xab,'\x56\x42\x29\x5d')+_0x341102(0x83,'\x70\x79\x78\x6c')+_0x341102(0x9e,'\x24\x41\x31\x65')+'\x65\x79')||'')['\x74\x72\x69\x6d']();return _0x3277c5||null;}
|
package/dist/llm/traceControl.js
CHANGED
|
@@ -1,85 +1 @@
|
|
|
1
|
-
import { verify } from 'node:crypto';
|
|
2
|
-
export const DEFAULT_TRACE_CONFIG_SIGNING_PUBLIC_KEY = [
|
|
3
|
-
'-----BEGIN PUBLIC KEY-----',
|
|
4
|
-
'MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA7kJvWUP3HC4FJPQtkh74', // gitleaks:allow -- public verification key, not a credential.
|
|
5
|
-
'y75h9Rzc2NSZC9e4fiIWdax4iv+yWeMeIHGNsMr7YI8Ws7ck1BimJWt026gwRW8I',
|
|
6
|
-
'c2A7h97oZQ0Z0zFcjEZ8FpYFSu++Yz/dGrARAV7uCQg289jvo89F5fWNdX2k+lTH',
|
|
7
|
-
'hBoBm0G71vkiAYlbQEjq1xm1WzYf8CVXmbr+J1z+ydQf9jczcFL79u3eQZhIPs3R',
|
|
8
|
-
'8Sr83YrXWyCVOBIPTW4EbyR1RrHNs9pyrcHo7tyKdpKYreM/0de5A5Ya1VFaakVd',
|
|
9
|
-
'RsE3UModswJeMzyHOj7wZ+OZVb466Bttr0wDHhg93sWg5h5m0YqNfEcdqFXKlxy3',
|
|
10
|
-
'RCAu+hINcwt27CcIEU82jhDusiKEfM/EHS/uN3GTuvNaUFpmIOPNFYINKdjdiMJK',
|
|
11
|
-
'50lyW9E3SN+Q3HT6flseEAI+hMvFx6wxGqzf64jWbuUlatl8M9v3NNZAOgG4SnTt',
|
|
12
|
-
'PiOh2Uxc0qFAKPpcz8gaGYm0yMuFGsr5zb0IMDSBr++PAgMBAAE=',
|
|
13
|
-
'-----END PUBLIC KEY-----',
|
|
14
|
-
].join('\n');
|
|
15
|
-
function isRecord(value) {
|
|
16
|
-
return Boolean(value) && typeof value === 'object' && !Array.isArray(value);
|
|
17
|
-
}
|
|
18
|
-
export function canonicalTraceConfigPayload(payload = {}) {
|
|
19
|
-
const clean = {};
|
|
20
|
-
for (const key of Object.keys(payload).sort()) {
|
|
21
|
-
if (key === 'signature' || key === 'trace_config_signature' || key === 'signature_algorithm')
|
|
22
|
-
continue;
|
|
23
|
-
if (key === 'hub_public_key')
|
|
24
|
-
continue;
|
|
25
|
-
const value = payload[key];
|
|
26
|
-
if (value !== undefined)
|
|
27
|
-
clean[key] = value;
|
|
28
|
-
}
|
|
29
|
-
return JSON.stringify(clean);
|
|
30
|
-
}
|
|
31
|
-
export function verifyTraceConfigSignature(payload, env = process.env) {
|
|
32
|
-
if (!isRecord(payload))
|
|
33
|
-
return false;
|
|
34
|
-
const publicKey = String(env['EVOMAP_TRACE_CONFIG_SIGNING_PUBLIC_KEY']
|
|
35
|
-
|| env['EVOMAP_PROXY_TRACE_CONFIG_SIGNING_PUBLIC_KEY']
|
|
36
|
-
|| DEFAULT_TRACE_CONFIG_SIGNING_PUBLIC_KEY).trim();
|
|
37
|
-
const signature = String(payload['signature'] || payload['trace_config_signature'] || '').trim();
|
|
38
|
-
if (!publicKey || !signature)
|
|
39
|
-
return false;
|
|
40
|
-
try {
|
|
41
|
-
return verify('sha256', Buffer.from(canonicalTraceConfigPayload(payload), 'utf8'), publicKey, Buffer.from(signature, 'base64'));
|
|
42
|
-
}
|
|
43
|
-
catch {
|
|
44
|
-
return false;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
export function applyTraceCollectionConfig(payload, store, env = process.env, logger = console) {
|
|
48
|
-
if (!isRecord(payload)) {
|
|
49
|
-
logger.warn?.('[trace-control] ignoring non-object trace config');
|
|
50
|
-
return { ack: true, applied: false };
|
|
51
|
-
}
|
|
52
|
-
const enabled = payload['enabled'] ?? payload['trace_collection_enabled'] ?? payload['proxy_trace_collection_enabled'];
|
|
53
|
-
if (typeof enabled !== 'boolean') {
|
|
54
|
-
logger.warn?.('[trace-control] ignoring config without boolean enabled');
|
|
55
|
-
return { ack: true, applied: false };
|
|
56
|
-
}
|
|
57
|
-
const signed = verifyTraceConfigSignature(payload, env);
|
|
58
|
-
let profileEnabled = payload['profile_analysis_enabled'] ?? payload['trace_profile_analysis_enabled'];
|
|
59
|
-
const traceHubPublicKey = typeof payload['trace_hub_public_key'] === 'string' ? payload['trace_hub_public_key'].trim() : '';
|
|
60
|
-
const runtimeHubKey = typeof payload['hub_public_key'] === 'string' ? payload['hub_public_key'].trim() : '';
|
|
61
|
-
if (!signed && enabled === true) {
|
|
62
|
-
logger.warn?.('[trace-control] rejected unsigned trace config that could enable collection/profile analysis');
|
|
63
|
-
return { ack: true, applied: false };
|
|
64
|
-
}
|
|
65
|
-
if (!signed && profileEnabled === true) {
|
|
66
|
-
logger.warn?.('[trace-control] ignored unsigned profile analysis enable while applying trace disable');
|
|
67
|
-
profileEnabled = false;
|
|
68
|
-
}
|
|
69
|
-
store.setState('trace_collection_enabled', enabled ? 'true' : 'false');
|
|
70
|
-
if (typeof profileEnabled === 'boolean') {
|
|
71
|
-
store.setState('trace_profile_analysis_enabled', profileEnabled ? 'true' : 'false');
|
|
72
|
-
}
|
|
73
|
-
if (signed && traceHubPublicKey && traceHubPublicKey.includes('PUBLIC KEY')) {
|
|
74
|
-
store.setState('trace_hub_public_key', traceHubPublicKey);
|
|
75
|
-
}
|
|
76
|
-
else if (!signed && traceHubPublicKey) {
|
|
77
|
-
logger.warn?.('[trace-control] ignored trace_hub_public_key from an unsigned config');
|
|
78
|
-
}
|
|
79
|
-
if (runtimeHubKey) {
|
|
80
|
-
logger.warn?.('[trace-control] ignored runtime hub_public_key; use pinned EVOMAP_PROXY_TRACE_HUB_PUBLIC_KEY or signed trace_hub_public_key');
|
|
81
|
-
}
|
|
82
|
-
store.setState('trace_collection_updated_at', new Date().toISOString());
|
|
83
|
-
logger.log?.(`[trace-control] trace collection ${enabled ? 'enabled' : 'disabled'}`);
|
|
84
|
-
return { ack: true, applied: true };
|
|
85
|
-
}
|
|
1
|
+
const _0x32f899=_0xc84f;(function(_0x546ad8,_0x4e231d){const _0x1282fe=_0xc84f,_0x10fe9c=_0x546ad8();while(!![]){try{const _0x154317=-parseInt(_0x1282fe(0x21c,'\x21\x34\x59\x6a'))/(-0x29d+-0x1*0x448+0x6e6)+parseInt(_0x1282fe(0x1be,'\x55\x37\x79\x39'))/(-0x1*-0x4fd+-0x8b9+0x3be)+parseInt(_0x1282fe(0x266,'\x25\x76\x5b\x67'))/(0x107*-0x17+0x11e+-0x1f*-0xba)*(-parseInt(_0x1282fe(0x1df,'\x33\x53\x38\x37'))/(0x22a9+0x155e+-0x3803))+parseInt(_0x1282fe(0x1fd,'\x31\x48\x29\x61'))/(-0xa52*0x3+0xe2*-0x25+0x3fa5)+-parseInt(_0x1282fe(0x20e,'\x55\x4d\x59\x7a'))/(0x56f+0x25af*-0x1+0x396*0x9)+parseInt(_0x1282fe(0x1d6,'\x4e\x28\x34\x69'))/(-0x2546+-0x1442+0x398f)*(-parseInt(_0x1282fe(0x183,'\x36\x4d\x75\x34'))/(0xf*0x25f+0x2*-0x130+0x1*-0x2129))+parseInt(_0x1282fe(0x198,'\x21\x34\x59\x6a'))/(-0x222d+0x25f2+0xef*-0x4);if(_0x154317===_0x4e231d)break;else _0x10fe9c['push'](_0x10fe9c['shift']());}catch(_0x281902){_0x10fe9c['push'](_0x10fe9c['shift']());}}}(_0xff80,-0x1*-0x18198+-0x11205*-0x5+-0x14*-0x1d1c));function _0xff80(){const _0x34f1fa=['\x6a\x38\x6f\x31\x57\x35\x62\x58\x57\x51\x65\x41\x64\x38\x6f\x32','\x57\x35\x33\x64\x4c\x38\x6b\x6c\x46\x65\x44\x64\x57\x36\x6a\x76','\x6f\x58\x50\x5a\x72\x71\x46\x64\x4c\x38\x6f\x78\x6f\x47','\x75\x30\x4a\x64\x4e\x43\x6f\x49\x68\x38\x6f\x74\x42\x6d\x6b\x74','\x57\x52\x70\x64\x4a\x31\x37\x63\x56\x4c\x4b\x4b\x43\x4e\x4f','\x66\x6d\x6f\x74\x57\x52\x44\x39\x61\x47','\x57\x35\x6a\x49\x42\x32\x69','\x45\x65\x68\x64\x4c\x71','\x57\x35\x38\x79\x57\x51\x72\x49\x57\x50\x79\x54\x57\x52\x4f','\x6c\x31\x42\x64\x4e\x6d\x6b\x65\x57\x4f\x4e\x63\x4f\x53\x6f\x50\x57\x36\x43','\x57\x4f\x72\x6b\x57\x52\x6c\x64\x48\x6d\x6b\x66\x57\x51\x79\x6d\x57\x51\x38','\x6c\x6d\x6f\x6e\x57\x34\x35\x52\x57\x52\x65\x74\x61\x53\x6b\x31','\x57\x34\x69\x58\x79\x38\x6b\x72\x57\x37\x4b\x39\x6f\x38\x6f\x6d','\x7a\x43\x6f\x51\x64\x53\x6f\x68\x57\x4f\x71\x4c\x57\x34\x31\x65','\x57\x35\x37\x64\x49\x6d\x6f\x68\x57\x4f\x7a\x75\x69\x71\x56\x64\x4d\x71','\x57\x4f\x57\x31\x57\x51\x6a\x4a\x57\x52\x4b\x42\x57\x51\x61\x69','\x72\x43\x6f\x50\x68\x43\x6b\x5a\x57\x37\x69\x45\x57\x52\x48\x4f','\x57\x37\x79\x41\x6d\x53\x6b\x4d','\x42\x6d\x6b\x6e\x6f\x6d\x6b\x77\x57\x34\x70\x64\x4a\x61\x61\x61','\x71\x6d\x6f\x44\x70\x53\x6f\x50','\x79\x77\x64\x64\x4f\x6d\x6b\x48\x57\x50\x52\x63\x4d\x6d\x6f\x64\x57\x51\x61','\x57\x35\x65\x75\x57\x51\x52\x63\x4c\x53\x6b\x57\x79\x71','\x57\x37\x4e\x63\x53\x38\x6b\x64\x57\x37\x75\x37\x57\x37\x56\x64\x47\x53\x6f\x4e','\x57\x52\x33\x63\x47\x38\x6b\x57\x57\x35\x35\x33\x57\x35\x71\x4e\x57\x34\x38','\x57\x34\x52\x64\x53\x59\x31\x36\x57\x51\x38\x47\x57\x37\x72\x4e','\x57\x34\x53\x68\x57\x52\x2f\x63\x47\x6d\x6b\x4e\x77\x38\x6f\x75\x57\x34\x43','\x57\x4f\x61\x6f\x63\x6d\x6f\x6b\x57\x50\x69\x56','\x57\x34\x6c\x64\x4b\x38\x6b\x70\x6c\x71\x79\x43','\x57\x51\x43\x48\x73\x53\x6f\x32\x57\x51\x69\x6a\x76\x30\x69','\x57\x34\x33\x63\x55\x72\x4e\x63\x54\x61\x37\x63\x50\x47\x4f\x52','\x57\x35\x4a\x64\x4e\x53\x6f\x44\x57\x4f\x2f\x64\x55\x71','\x57\x52\x68\x64\x4e\x53\x6f\x6d\x57\x51\x70\x63\x4f\x31\x34\x39\x57\x52\x38','\x57\x4f\x2f\x64\x47\x58\x70\x63\x54\x38\x6f\x50\x57\x4f\x70\x63\x55\x30\x79','\x57\x37\x39\x43\x79\x61\x43','\x65\x43\x6b\x76\x70\x49\x72\x4e\x6b\x31\x2f\x63\x51\x47','\x57\x34\x6e\x6a\x57\x4f\x35\x32','\x73\x43\x6b\x6b\x7a\x53\x6b\x2b\x57\x36\x5a\x64\x50\x64\x79\x4d','\x57\x36\x66\x45\x74\x71\x69\x57\x57\x36\x53','\x57\x36\x76\x57\x57\x50\x4a\x64\x51\x43\x6f\x45\x57\x51\x47\x4c\x57\x51\x30','\x78\x6d\x6b\x78\x6e\x53\x6f\x4c\x57\x4f\x57\x59\x57\x36\x79\x39','\x57\x36\x79\x37\x67\x64\x74\x64\x50\x53\x6b\x79\x79\x43\x6f\x4e','\x57\x50\x35\x68\x45\x53\x6b\x2f\x6a\x74\x34\x36\x79\x47','\x57\x36\x68\x63\x4f\x53\x6b\x73\x57\x34\x48\x6a\x71\x53\x6b\x72\x62\x47','\x57\x34\x6c\x64\x4b\x53\x6b\x6a\x43\x76\x6a\x45\x57\x37\x48\x6a','\x57\x51\x44\x4b\x65\x38\x6b\x6b\x6f\x58\x48\x78\x74\x61','\x57\x34\x70\x64\x50\x4b\x37\x64\x52\x6d\x6b\x37\x6c\x66\x46\x64\x49\x61','\x57\x37\x70\x64\x48\x4b\x2f\x64\x47\x6d\x6b\x56\x6f\x4e\x4a\x64\x54\x71','\x57\x51\x56\x64\x4f\x4b\x78\x64\x4a\x6d\x6b\x4f\x57\x36\x35\x37\x42\x71','\x57\x52\x78\x63\x50\x6d\x6b\x59\x62\x6d\x6f\x63\x63\x49\x33\x63\x50\x57','\x66\x53\x6f\x56\x41\x63\x61\x2f\x46\x75\x2f\x64\x4b\x57','\x73\x53\x6b\x4e\x57\x34\x4b\x34\x6e\x63\x78\x63\x4a\x72\x50\x76\x63\x61','\x57\x50\x52\x64\x4a\x38\x6f\x42\x57\x4f\x4b\x42\x69\x47\x5a\x64\x4c\x57','\x57\x37\x2f\x64\x4c\x58\x52\x64\x4b\x53\x6f\x63\x57\x50\x38\x76\x62\x61','\x57\x4f\x74\x63\x47\x38\x6f\x43\x6c\x61\x65\x46\x57\x35\x54\x4a\x57\x37\x38\x4f\x43\x43\x6b\x2f','\x57\x36\x50\x39\x57\x34\x42\x63\x47\x53\x6b\x63\x57\x51\x6a\x79\x57\x51\x31\x4e\x64\x47','\x57\x51\x46\x63\x4e\x47\x66\x72\x57\x50\x75\x6a\x6a\x75\x56\x64\x4f\x63\x6c\x64\x4b\x65\x71\x6e\x57\x35\x61','\x57\x34\x74\x63\x52\x53\x6b\x54\x57\x50\x4c\x51\x62\x33\x4e\x63\x4a\x57','\x57\x52\x75\x62\x57\x35\x70\x64\x48\x78\x54\x38\x57\x34\x6c\x64\x4b\x71','\x57\x37\x64\x63\x53\x38\x6b\x48\x57\x37\x65\x61\x78\x43\x6b\x71\x65\x61','\x57\x34\x2f\x63\x4e\x43\x6b\x34\x57\x34\x58\x50\x62\x78\x68\x63\x47\x61','\x57\x35\x37\x64\x4c\x43\x6b\x41\x42\x76\x58\x67\x57\x35\x61\x42','\x57\x34\x75\x37\x6d\x64\x6c\x63\x53\x43\x6b\x50\x6f\x43\x6f\x57','\x57\x50\x54\x2f\x45\x4e\x68\x64\x55\x43\x6b\x69\x76\x38\x6f\x61','\x57\x4f\x62\x52\x44\x38\x6b\x46\x57\x4f\x61\x70\x57\x4f\x79\x50','\x57\x4f\x56\x64\x53\x6d\x6b\x4a\x63\x53\x6f\x70\x63\x77\x4e\x63\x4f\x57','\x57\x51\x43\x47\x6f\x53\x6f\x4f\x57\x52\x65\x73\x75\x4b\x75','\x57\x51\x5a\x64\x50\x6d\x6f\x59\x57\x50\x46\x63\x47\x33\x34\x72\x57\x50\x47','\x57\x36\x46\x64\x4a\x38\x6b\x4b\x41\x30\x4f','\x57\x51\x74\x64\x54\x38\x6b\x79\x57\x52\x6a\x6a\x6e\x63\x2f\x64\x4b\x61','\x57\x4f\x46\x63\x48\x62\x42\x64\x47\x38\x6b\x71\x57\x50\x68\x63\x53\x32\x35\x6a\x61\x77\x4f','\x62\x43\x6f\x4b\x69\x43\x6f\x63','\x57\x50\x6c\x64\x49\x53\x6f\x6e\x57\x4f\x53\x6e\x6a\x57\x42\x64\x4e\x71','\x57\x36\x42\x64\x4a\x65\x61\x59\x57\x35\x6a\x44\x7a\x72\x38','\x57\x50\x34\x2b\x72\x30\x35\x6c\x79\x49\x42\x63\x55\x71','\x57\x36\x56\x64\x4d\x47\x5a\x64\x50\x6d\x6f\x67\x57\x50\x34\x43\x64\x61','\x57\x34\x65\x54\x6e\x38\x6b\x36\x57\x52\x4e\x63\x52\x47\x76\x62','\x57\x35\x74\x63\x4a\x38\x6b\x39\x57\x37\x39\x6d\x67\x4d\x52\x64\x4c\x47','\x57\x50\x37\x63\x52\x62\x2f\x63\x49\x62\x5a\x63\x52\x48\x69\x52','\x57\x34\x4f\x39\x57\x4f\x35\x42\x57\x52\x61','\x57\x52\x64\x63\x51\x43\x6b\x77\x57\x36\x69','\x57\x50\x64\x64\x48\x38\x6f\x43\x57\x50\x30\x6c\x6b\x57','\x57\x51\x64\x64\x50\x66\x4a\x64\x4a\x6d\x6f\x36\x57\x37\x4f','\x57\x50\x64\x64\x54\x32\x70\x64\x50\x38\x6b\x2f\x57\x37\x44\x4f\x45\x57','\x57\x36\x48\x6f\x75\x53\x6b\x51\x57\x50\x53\x65\x68\x6d\x6f\x38','\x67\x43\x6f\x59\x57\x35\x62\x6c\x6f\x61\x4e\x63\x4c\x5a\x6d','\x57\x37\x78\x64\x4b\x71\x42\x64\x56\x47','\x57\x35\x4e\x64\x48\x71\x78\x64\x51\x38\x6b\x78\x57\x34\x71\x74\x70\x57','\x6d\x72\x44\x5a\x66\x58\x5a\x64\x49\x43\x6f\x52\x45\x71','\x6f\x4e\x57\x50\x77\x75\x74\x64\x4e\x43\x6f\x75\x7a\x47','\x69\x43\x6f\x67\x79\x48\x53','\x57\x34\x5a\x63\x4b\x43\x6b\x44\x57\x35\x48\x6b\x45\x31\x33\x63\x47\x4c\x43\x41\x57\x51\x64\x64\x55\x53\x6b\x6b\x57\x50\x30','\x57\x50\x75\x67\x57\x52\x46\x64\x53\x38\x6b\x51\x57\x4f\x31\x33\x57\x52\x47','\x66\x30\x56\x64\x55\x53\x6f\x61\x6d\x43\x6f\x43\x42\x6d\x6b\x63','\x6f\x73\x54\x36\x57\x37\x37\x64\x55\x4b\x5a\x63\x50\x53\x6b\x64','\x57\x34\x75\x4d\x6a\x74\x78\x63\x55\x53\x6b\x51\x43\x6d\x6f\x49','\x57\x37\x46\x64\x4d\x48\x5a\x64\x4f\x43\x6f\x75\x57\x50\x71\x43\x67\x57','\x57\x35\x4c\x78\x57\x52\x39\x38\x57\x50\x69\x56\x57\x52\x65\x79','\x57\x36\x4e\x64\x4e\x71\x56\x64\x50\x43\x6f\x6f\x57\x4f\x75\x6e\x73\x61','\x45\x4b\x4a\x64\x4d\x38\x6b\x6d\x6f\x53\x6f\x69\x74\x47\x6d','\x6a\x61\x78\x64\x4b\x6d\x6b\x68\x57\x50\x7a\x63\x69\x43\x6b\x72','\x57\x35\x38\x4f\x57\x52\x54\x37\x57\x50\x65\x47\x57\x52\x31\x42','\x46\x43\x6f\x42\x69\x38\x6f\x4c\x57\x51\x47\x6f\x57\x51\x7a\x55','\x57\x4f\x43\x65\x65\x74\x33\x63\x54\x43\x6b\x4d\x74\x38\x6f\x47','\x57\x34\x52\x64\x50\x4a\x37\x64\x4a\x53\x6f\x4b\x57\x51\x38\x58\x70\x71','\x57\x52\x2f\x64\x54\x38\x6b\x66\x57\x36\x65\x6d\x57\x37\x70\x63\x4d\x43\x6f\x62','\x57\x35\x5a\x63\x53\x43\x6b\x4b\x57\x37\x57\x44\x57\x37\x39\x44\x57\x36\x57','\x57\x51\x74\x64\x52\x67\x6c\x64\x56\x53\x6b\x4f\x57\x51\x39\x47\x6e\x47','\x57\x52\x34\x55\x67\x64\x7a\x4d\x45\x78\x33\x63\x55\x61','\x57\x50\x70\x64\x4d\x38\x6b\x46\x70\x71\x7a\x66\x78\x49\x71','\x57\x4f\x42\x63\x50\x43\x6b\x44\x57\x37\x72\x41\x57\x37\x34\x67\x57\x36\x79','\x57\x34\x37\x64\x56\x38\x6f\x7a\x57\x51\x79\x46\x63\x57\x52\x64\x4c\x57','\x61\x53\x6f\x33\x70\x6d\x6f\x75\x67\x77\x64\x64\x4a\x4d\x4f','\x57\x37\x6a\x46\x57\x50\x6a\x5a\x57\x52\x7a\x65\x77\x74\x57','\x57\x35\x48\x52\x78\x32\x72\x4f\x6f\x48\x46\x64\x52\x57','\x57\x50\x4f\x44\x61\x38\x6f\x6c','\x57\x4f\x79\x75\x79\x53\x6b\x65\x57\x4f\x6d\x62\x57\x4f\x6d\x56','\x57\x35\x37\x64\x48\x38\x6f\x67\x57\x4f\x4b\x76\x6e\x58\x52\x64\x4d\x47','\x57\x37\x33\x63\x50\x43\x6b\x72\x57\x37\x72\x43\x41\x6d\x6b\x71\x62\x71','\x66\x6d\x6f\x33\x70\x6d\x6f\x62','\x6c\x38\x6f\x33\x42\x59\x53\x63\x70\x4a\x56\x63\x54\x47','\x57\x52\x78\x64\x4d\x38\x6b\x57\x62\x38\x6f\x6c\x61\x5a\x42\x63\x51\x71','\x6b\x38\x6f\x38\x57\x35\x39\x38\x57\x52\x38\x41\x64\x57','\x57\x35\x79\x38\x67\x6d\x6b\x45\x57\x34\x71\x73\x41\x76\x6d','\x57\x36\x68\x63\x52\x43\x6b\x68\x57\x37\x75\x51\x57\x34\x33\x64\x4a\x53\x6f\x4d','\x6b\x4e\x52\x64\x48\x6d\x6f\x4f\x65\x43\x6f\x41','\x57\x50\x78\x64\x4b\x68\x56\x63\x4d\x53\x6b\x65\x57\x4f\x30\x53\x72\x61','\x46\x6d\x6b\x47\x57\x4f\x79\x54\x57\x50\x69\x33\x64\x38\x6b\x61\x57\x4f\x53\x55','\x67\x38\x6f\x49\x70\x43\x6f\x64\x65\x4c\x52\x64\x4e\x4a\x47','\x57\x37\x71\x52\x57\x34\x42\x63\x53\x53\x6b\x65\x57\x37\x58\x57\x57\x50\x66\x74\x57\x37\x31\x39\x6b\x43\x6f\x72','\x57\x52\x42\x64\x54\x53\x6b\x2b\x62\x47','\x57\x34\x72\x30\x45\x57','\x57\x36\x2f\x63\x55\x38\x6b\x64\x57\x37\x6a\x38\x44\x53\x6b\x36\x71\x71','\x66\x6d\x6f\x4a\x57\x50\x6a\x72\x68\x4a\x70\x63\x55\x62\x34','\x7a\x30\x42\x64\x4b\x38\x6f\x7a\x75\x6d\x6b\x6e','\x69\x4b\x46\x64\x47\x43\x6f\x72\x57\x36\x68\x63\x4b\x53\x6f\x4a\x57\x34\x4b','\x57\x4f\x50\x30\x57\x52\x64\x63\x53\x43\x6f\x48\x57\x51\x6d\x73\x57\x51\x30','\x57\x50\x30\x41\x57\x34\x42\x63\x47\x38\x6b\x50\x57\x4f\x6a\x34\x57\x4f\x34','\x57\x51\x50\x39\x57\x4f\x70\x64\x54\x38\x6f\x44\x57\x51\x65\x42\x57\x37\x4b','\x57\x52\x70\x63\x50\x43\x6b\x73\x61\x4b\x57\x47\x72\x59\x57','\x57\x52\x62\x4e\x57\x50\x68\x63\x56\x71','\x57\x50\x52\x64\x49\x43\x6f\x64\x57\x51\x68\x63\x50\x62\x69\x38\x57\x52\x69','\x57\x4f\x6d\x36\x75\x78\x66\x41\x7a\x57','\x57\x50\x33\x64\x4f\x4d\x70\x63\x4a\x62\x75\x36\x45\x73\x79','\x79\x47\x52\x64\x47\x76\x56\x64\x54\x5a\x46\x64\x4e\x68\x75','\x66\x63\x4e\x64\x56\x53\x6b\x45\x57\x35\x48\x6c\x62\x53\x6f\x2f','\x57\x37\x33\x63\x50\x43\x6b\x66\x57\x37\x69','\x57\x37\x78\x64\x4d\x77\x42\x64\x4a\x38\x6b\x42\x63\x68\x33\x64\x51\x47','\x57\x35\x37\x64\x4d\x43\x6b\x65\x45\x4c\x62\x45','\x69\x71\x39\x64\x57\x51\x70\x64\x4f\x31\x74\x63\x49\x53\x6b\x4e','\x57\x36\x61\x41\x6d\x53\x6b\x54\x57\x36\x68\x63\x55\x47\x30\x56','\x57\x36\x46\x64\x4e\x4d\x64\x64\x4a\x43\x6b\x64\x64\x32\x68\x64\x51\x57','\x65\x59\x6e\x57\x41\x67\x42\x64\x4e\x38\x6b\x30\x72\x57','\x57\x52\x70\x63\x48\x5a\x78\x63\x4c\x53\x6b\x50\x6e\x4b\x64\x64\x4a\x38\x6b\x4f\x57\x52\x57','\x6c\x6d\x6f\x39\x57\x35\x66\x59\x57\x52\x79\x45\x62\x71','\x57\x36\x65\x42\x57\x37\x74\x64\x50\x76\x31\x69\x57\x35\x4a\x64\x48\x47','\x57\x51\x33\x64\x50\x33\x6c\x63\x48\x31\x4f\x57\x76\x4d\x4b','\x57\x52\x56\x64\x4f\x43\x6f\x65\x57\x51\x34\x6c\x62\x6d\x6f\x64\x67\x74\x4b\x58\x57\x37\x4a\x64\x4a\x43\x6b\x52','\x57\x52\x4e\x63\x53\x38\x6b\x76\x57\x51\x6a\x34\x61\x53\x6b\x51\x63\x57','\x57\x36\x62\x43\x7a\x4b\x4b\x32\x57\x37\x31\x32\x57\x35\x79','\x57\x37\x50\x45\x77\x47\x7a\x49\x57\x36\x7a\x36\x57\x37\x65','\x57\x37\x68\x64\x51\x33\x6e\x47','\x57\x35\x54\x51\x63\x49\x54\x4c\x79\x61\x78\x63\x54\x6d\x6f\x65\x57\x36\x4b','\x57\x35\x4b\x38\x69\x59\x37\x63\x55\x38\x6b\x48\x72\x6d\x6b\x4b','\x57\x4f\x46\x64\x4c\x43\x6f\x66','\x57\x37\x6c\x64\x47\x4d\x64\x64\x47\x53\x6b\x46\x69\x33\x4a\x64\x51\x47','\x57\x34\x6a\x62\x57\x50\x6e\x4a\x57\x52\x76\x62\x7a\x30\x6d','\x78\x53\x6f\x6f\x41\x61\x57\x30\x6a\x67\x2f\x64\x48\x61','\x57\x35\x48\x43\x77\x53\x6b\x75\x57\x34\x62\x37\x6c\x76\x6d\x70\x7a\x6d\x6b\x51\x41\x53\x6f\x61','\x64\x38\x6f\x74\x57\x37\x66\x44\x57\x50\x69\x4d\x75\x38\x6b\x78','\x57\x34\x70\x64\x49\x57\x62\x78\x57\x50\x62\x2b\x7a\x71\x34','\x68\x59\x78\x64\x4a\x53\x6b\x7a\x57\x35\x48\x74\x75\x38\x6f\x2f','\x64\x68\x4e\x64\x56\x6d\x6b\x48\x57\x52\x4e\x63\x55\x38\x6f\x62\x57\x34\x34','\x57\x35\x52\x64\x55\x67\x34','\x57\x34\x6c\x63\x4d\x38\x6b\x6c\x43\x76\x6a\x69\x57\x36\x66\x45','\x62\x4a\x42\x64\x56\x43\x6b\x6c\x57\x35\x72\x65\x64\x38\x6f\x2f','\x57\x35\x50\x59\x73\x4a\x61\x6b\x57\x34\x7a\x72\x57\x37\x53','\x57\x34\x4b\x66\x57\x51\x50\x54\x57\x50\x7a\x53\x57\x52\x44\x78','\x57\x4f\x38\x64\x65\x38\x6f\x76\x57\x50\x34\x34\x72\x67\x34','\x57\x37\x52\x63\x56\x53\x6b\x37\x57\x35\x6a\x46\x45\x53\x6f\x43\x6c\x57','\x57\x34\x37\x64\x4e\x75\x79\x61\x57\x34\x76\x7a\x70\x62\x4b','\x57\x4f\x53\x36\x78\x32\x35\x41','\x57\x51\x2f\x63\x4b\x77\x5a\x64\x4d\x6d\x6f\x32\x57\x34\x54\x59\x76\x61','\x57\x52\x66\x34\x66\x53\x6b\x7a\x69\x72\x69\x57\x73\x71','\x57\x51\x56\x64\x4f\x4b\x78\x64\x48\x53\x6b\x2b\x57\x51\x54\x38\x69\x47','\x57\x50\x58\x46\x68\x43\x6f\x49\x57\x52\x38\x4a\x46\x64\x69','\x57\x4f\x65\x6a\x61\x38\x6f\x6b\x57\x50\x69\x75\x45\x4d\x75','\x7a\x31\x52\x64\x47\x6d\x6b\x63\x63\x38\x6f\x43','\x57\x51\x58\x38\x57\x50\x4e\x63\x51\x53\x6f\x63\x57\x52\x38\x50\x57\x52\x38','\x62\x73\x70\x64\x50\x43\x6b\x48\x57\x34\x4c\x6c\x68\x6d\x6b\x36','\x57\x51\x70\x64\x50\x78\x2f\x63\x48\x4c\x57\x56\x76\x63\x57','\x6e\x65\x70\x64\x4b\x6d\x6f\x64\x57\x51\x42\x63\x55\x6d\x6f\x55\x57\x36\x34','\x57\x4f\x72\x4b\x79\x32\x78\x64\x50\x53\x6f\x2b\x6b\x43\x6f\x33\x57\x51\x53\x37\x57\x51\x54\x78\x57\x50\x53','\x61\x72\x50\x69\x57\x36\x2f\x64\x4a\x4b\x5a\x64\x50\x6d\x6f\x76','\x6c\x43\x6f\x57\x69\x38\x6f\x69\x61\x75\x56\x64\x4e\x33\x57','\x43\x38\x6f\x50\x6c\x4e\x48\x37\x65\x53\x6f\x4f\x57\x35\x6d','\x57\x52\x74\x63\x54\x53\x6b\x62\x57\x37\x50\x6c\x57\x37\x6a\x66\x57\x36\x69','\x57\x37\x65\x6e\x62\x62\x78\x63\x4b\x38\x6b\x64\x75\x6d\x6f\x6b','\x57\x37\x56\x64\x4d\x48\x37\x64\x52\x38\x6f\x6e\x57\x50\x75\x44','\x57\x4f\x6e\x64\x6d\x6d\x6b\x4c\x66\x57\x71\x46\x43\x47','\x57\x37\x42\x64\x4b\x6d\x6f\x30\x57\x36\x64\x63\x54\x38\x6f\x39\x77\x43\x6b\x37','\x78\x77\x64\x64\x54\x43\x6b\x30\x6e\x43\x6f\x55\x7a\x73\x47','\x57\x50\x6a\x50\x57\x51\x37\x64\x4f\x38\x6b\x6b\x57\x4f\x34\x71\x57\x4f\x65','\x6e\x32\x37\x63\x52\x38\x6f\x4d\x6e\x53\x6f\x36\x74\x53\x6f\x62','\x57\x4f\x2f\x64\x48\x6d\x6f\x4f\x6a\x5a\x71\x49\x79\x48\x53','\x57\x51\x42\x64\x4e\x72\x4e\x64\x47\x53\x6f\x4e\x57\x51\x6a\x6d\x73\x47','\x42\x38\x6f\x4e\x66\x53\x6f\x6b\x57\x52\x47\x4d\x57\x37\x4b\x36','\x57\x50\x33\x63\x50\x38\x6b\x7a\x57\x37\x35\x6c\x57\x36\x6d\x6e\x57\x36\x75','\x70\x63\x54\x52\x57\x37\x75','\x57\x52\x2f\x64\x50\x6d\x6f\x61\x57\x51\x75\x6f\x62\x38\x6f\x66\x6d\x4a\x75\x4d\x57\x34\x52\x64\x50\x43\x6b\x7a','\x43\x6d\x6f\x36\x70\x78\x75','\x57\x51\x62\x49\x72\x73\x35\x58\x74\x71\x4a\x63\x4e\x71','\x6b\x73\x54\x51\x57\x37\x37\x63\x4b\x58\x61','\x71\x31\x46\x64\x53\x43\x6b\x39\x6b\x53\x6f\x35\x42\x4a\x71','\x57\x35\x37\x63\x50\x38\x6f\x53\x57\x37\x52\x64\x53\x53\x6f\x50\x71\x38\x6f\x35','\x57\x52\x61\x63\x57\x4f\x4a\x64\x54\x38\x6b\x37\x57\x35\x58\x6c\x57\x4f\x6d','\x57\x34\x69\x47\x6e\x4a\x2f\x63\x53\x43\x6b\x73\x43\x43\x6f\x58','\x57\x52\x62\x64\x65\x6d\x6b\x75\x6d\x57\x31\x61\x43\x47','\x57\x50\x4f\x44\x63\x38\x6f\x66\x57\x50\x69\x75\x45\x67\x71','\x6e\x53\x6f\x54\x6a\x68\x6a\x46\x66\x6d\x6f\x4e\x57\x35\x34','\x6c\x74\x6c\x64\x4f\x38\x6b\x74\x57\x35\x35\x70\x72\x43\x6b\x38','\x57\x36\x78\x63\x54\x6d\x6b\x61\x57\x34\x4b\x55\x57\x35\x68\x64\x47\x38\x6f\x4b','\x57\x36\x68\x64\x47\x76\x4b','\x57\x34\x56\x63\x4e\x53\x6b\x41\x57\x35\x54\x6c\x45\x5a\x2f\x64\x51\x32\x69\x44\x57\x52\x74\x64\x50\x47','\x76\x38\x6f\x65\x68\x30\x4c\x72\x66\x43\x6f\x73\x57\x36\x6d','\x57\x50\x34\x30\x71\x77\x4b','\x57\x51\x53\x51\x57\x4f\x52\x64\x4f\x53\x6b\x33\x57\x4f\x54\x69\x57\x50\x34','\x57\x34\x76\x2f\x61\x53\x6b\x43\x6d\x77\x69\x73\x6d\x57','\x6c\x5a\x50\x73\x57\x34\x6c\x64\x4c\x30\x68\x63\x4e\x53\x6f\x6f','\x57\x52\x4e\x64\x54\x38\x6b\x71\x67\x43\x6f\x45\x64\x74\x30','\x63\x67\x50\x73\x57\x35\x37\x64\x56\x61\x4e\x64\x56\x53\x6f\x6d','\x57\x4f\x72\x73\x57\x52\x6c\x63\x55\x61','\x57\x37\x6a\x65\x57\x4f\x6a\x4f','\x43\x4b\x2f\x64\x4e\x53\x6b\x79\x61\x61','\x57\x52\x37\x64\x4f\x6d\x6f\x67\x63\x72\x61\x54\x78\x49\x61','\x66\x63\x39\x33\x57\x37\x52\x64\x48\x30\x4a\x63\x54\x53\x6b\x66','\x57\x35\x69\x72\x57\x51\x6a\x49\x57\x50\x79\x74\x57\x52\x76\x77','\x7a\x43\x6b\x79\x71\x53\x6b\x36\x57\x34\x70\x64\x53\x49\x4f\x6b','\x57\x35\x48\x53\x62\x59\x50\x53\x73\x72\x52\x63\x49\x38\x6f\x66\x57\x35\x34','\x57\x4f\x74\x64\x4c\x6d\x6f\x6c\x57\x51\x57','\x57\x34\x6c\x64\x48\x4b\x52\x63\x4d\x61','\x57\x35\x58\x57\x79\x6d\x6b\x74\x57\x52\x57','\x57\x4f\x35\x2b\x63\x6d\x6b\x72\x6b\x47'];_0xff80=function(){return _0x34f1fa;};return _0xff80();}import{verify}from'\x6e\x6f\x64\x65\x3a\x63\x72\x79\x70\x74\x6f';export const DEFAULT_TRACE_CONFIG_SIGNING_PUBLIC_KEY=['\x2d\x2d\x2d\x2d\x2d\x42\x45\x47'+_0x32f899(0x24c,'\x26\x45\x21\x57')+_0x32f899(0x223,'\x49\x40\x24\x36')+'\x2d\x2d',_0x32f899(0x1e9,'\x69\x56\x4e\x49')+'\x42\x67\x6b\x71\x68\x6b\x69\x47'+_0x32f899(0x250,'\x36\x4d\x75\x34')+_0x32f899(0x1e6,'\x4c\x33\x77\x5d')+_0x32f899(0x199,'\x25\x76\x5b\x67')+_0x32f899(0x23a,'\x55\x37\x79\x39')+_0x32f899(0x1bb,'\x43\x76\x70\x59')+_0x32f899(0x1fe,'\x49\x40\x24\x36'),_0x32f899(0x1c8,'\x70\x5b\x23\x5a')+_0x32f899(0x220,'\x55\x64\x5a\x29')+_0x32f899(0x1a8,'\x43\x76\x70\x59')+_0x32f899(0x259,'\x55\x64\x5a\x29')+_0x32f899(0x20b,'\x4c\x73\x41\x2a')+_0x32f899(0x1aa,'\x70\x5b\x23\x5a')+_0x32f899(0x23f,'\x71\x5a\x73\x34')+_0x32f899(0x1a6,'\x4c\x77\x61\x63'),_0x32f899(0x213,'\x31\x75\x39\x6a')+_0x32f899(0x182,'\x21\x34\x59\x6a')+_0x32f899(0x1d2,'\x49\x40\x24\x36')+_0x32f899(0x1a9,'\x33\x53\x38\x37')+_0x32f899(0x216,'\x55\x64\x5a\x29')+'\x43\x51\x67\x32\x38\x39\x6a\x76'+_0x32f899(0x252,'\x37\x71\x47\x79')+_0x32f899(0x20a,'\x43\x76\x70\x59'),_0x32f899(0x261,'\x37\x71\x47\x79')+_0x32f899(0x218,'\x50\x32\x6a\x41')+_0x32f899(0x189,'\x54\x70\x4c\x6f')+_0x32f899(0x207,'\x55\x37\x79\x39')+'\x6d\x62\x72\x2b\x4a\x31\x7a\x2b'+_0x32f899(0x26a,'\x55\x4d\x59\x7a')+_0x32f899(0x240,'\x4c\x73\x41\x2a')+_0x32f899(0x1b5,'\x37\x71\x47\x79'),_0x32f899(0x1b8,'\x26\x45\x21\x57')+_0x32f899(0x212,'\x69\x66\x56\x6c')+_0x32f899(0x208,'\x58\x49\x74\x73')+_0x32f899(0x190,'\x43\x76\x70\x59')+_0x32f899(0x1dd,'\x72\x26\x2a\x5b')+_0x32f899(0x221,'\x49\x40\x24\x36')+_0x32f899(0x1db,'\x55\x4d\x59\x7a')+_0x32f899(0x1a4,'\x31\x48\x29\x61'),'\x52\x73\x45\x33\x55\x4d\x6f\x64'+_0x32f899(0x22a,'\x6f\x6c\x23\x71')+_0x32f899(0x248,'\x56\x25\x4e\x6a')+_0x32f899(0x1e7,'\x6d\x66\x78\x77')+_0x32f899(0x1f6,'\x26\x45\x21\x57')+_0x32f899(0x1a7,'\x49\x41\x50\x2a')+_0x32f899(0x1ac,'\x21\x34\x59\x6a')+_0x32f899(0x234,'\x31\x62\x51\x49'),_0x32f899(0x1a1,'\x65\x49\x6e\x50')+_0x32f899(0x1c4,'\x69\x56\x4e\x49')+_0x32f899(0x1c6,'\x25\x76\x5b\x67')+_0x32f899(0x1f0,'\x55\x4d\x59\x7a')+'\x48\x53\x2f\x75\x4e\x33\x47\x54'+_0x32f899(0x25e,'\x4e\x28\x34\x69')+_0x32f899(0x271,'\x26\x45\x21\x57')+'\x4b\x64\x6a\x64\x69\x4d\x4a\x4b',_0x32f899(0x1af,'\x33\x53\x38\x37')+'\x53\x4e\x2b\x51\x33\x48\x54\x36'+_0x32f899(0x1c1,'\x55\x4d\x59\x7a')+_0x32f899(0x214,'\x25\x76\x5b\x67')+_0x32f899(0x194,'\x23\x70\x33\x65')+'\x62\x75\x55\x6c\x61\x74\x6c\x38'+_0x32f899(0x210,'\x33\x53\x38\x37')+_0x32f899(0x1c5,'\x55\x37\x79\x39'),_0x32f899(0x258,'\x31\x48\x29\x61')+_0x32f899(0x233,'\x58\x49\x74\x73')+_0x32f899(0x257,'\x4c\x73\x41\x2a')+_0x32f899(0x18a,'\x7a\x78\x42\x31')+_0x32f899(0x242,'\x6f\x6c\x23\x71')+_0x32f899(0x1d5,'\x38\x38\x35\x6e')+_0x32f899(0x224,'\x55\x37\x79\x39'),_0x32f899(0x26e,'\x31\x48\x29\x61')+_0x32f899(0x244,'\x69\x56\x4e\x49')+_0x32f899(0x205,'\x31\x75\x39\x6a')][_0x32f899(0x22c,'\x67\x4f\x68\x43')]('\x0a');function _0xc84f(_0x4661b3,_0x44a2a4){_0x4661b3=_0x4661b3-(-0x224d+0x68f+0x1d40);const _0x3cc9ee=_0xff80();let _0x563577=_0x3cc9ee[_0x4661b3];if(_0xc84f['\x47\x78\x69\x6d\x55\x6e']===undefined){var _0x5afd69=function(_0x3dd204){const _0x403b26='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x559f38='',_0x90ef76='';for(let _0x5277ef=-0x11*-0x245+0x64d+-0x2ce2,_0x330011,_0x314a4d,_0x3ce0cc=0xa80*-0x1+0x130d*0x2+-0x1b9a;_0x314a4d=_0x3dd204['\x63\x68\x61\x72\x41\x74'](_0x3ce0cc++);~_0x314a4d&&(_0x330011=_0x5277ef%(0x2522+-0x432+-0x12d*0x1c)?_0x330011*(0x39a+0x6d*-0x2d+-0x1*-0xfcf)+_0x314a4d:_0x314a4d,_0x5277ef++%(-0x1cf*0xf+-0x12d+0xa*0x2d5))?_0x559f38+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x1c26+0x2647*0x1+0x7*-0x14e&_0x330011>>(-(-0xaf*0x4+0x27*0x75+-0x507*0x3)*_0x5277ef&-0x6f0+0x1*0xdc+0x61a)):0x1836+0x1829+0x6e9*-0x7){_0x314a4d=_0x403b26['\x69\x6e\x64\x65\x78\x4f\x66'](_0x314a4d);}for(let _0x66c928=-0x9*0x1f+-0x90b+0xa22,_0x575176=_0x559f38['\x6c\x65\x6e\x67\x74\x68'];_0x66c928<_0x575176;_0x66c928++){_0x90ef76+='\x25'+('\x30\x30'+_0x559f38['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x66c928)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x218d+0x1269+0x3fe*-0xd))['\x73\x6c\x69\x63\x65'](-(0x1c54+-0x1*0x4ef+0x1763*-0x1));}return decodeURIComponent(_0x90ef76);};const _0x4334d4=function(_0x351cb6,_0x3cd1ad){let _0x5f0bc1=[],_0x55e8a6=-0x1*0x2027+0x487*-0x7+0x3fd8,_0x58d13b,_0xda7aa6='';_0x351cb6=_0x5afd69(_0x351cb6);let _0x505612;for(_0x505612=0x1edc+-0x646+0x3*-0x832;_0x505612<0x228e+-0x1d79+-0xd1*0x5;_0x505612++){_0x5f0bc1[_0x505612]=_0x505612;}for(_0x505612=-0x800*-0x2+-0x191*0xa+-0x56;_0x505612<-0x364+0x1*-0x1735+0x1b99;_0x505612++){_0x55e8a6=(_0x55e8a6+_0x5f0bc1[_0x505612]+_0x3cd1ad['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x505612%_0x3cd1ad['\x6c\x65\x6e\x67\x74\x68']))%(0x164c*-0x1+0x1de*-0x1+0x192a),_0x58d13b=_0x5f0bc1[_0x505612],_0x5f0bc1[_0x505612]=_0x5f0bc1[_0x55e8a6],_0x5f0bc1[_0x55e8a6]=_0x58d13b;}_0x505612=0x1120+0xd67+0x3*-0xa2d,_0x55e8a6=-0x1*-0x1f51+-0x11*-0x39+-0x231a;for(let _0x311c5b=-0x16*-0xff+0x217d+0xd*-0x443;_0x311c5b<_0x351cb6['\x6c\x65\x6e\x67\x74\x68'];_0x311c5b++){_0x505612=(_0x505612+(-0xbc4+-0x954*0x1+-0x1*-0x1519))%(0x400+0x1b9f+-0xd*0x25b),_0x55e8a6=(_0x55e8a6+_0x5f0bc1[_0x505612])%(-0xf9d+0x261+0xe3c),_0x58d13b=_0x5f0bc1[_0x505612],_0x5f0bc1[_0x505612]=_0x5f0bc1[_0x55e8a6],_0x5f0bc1[_0x55e8a6]=_0x58d13b,_0xda7aa6+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x351cb6['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x311c5b)^_0x5f0bc1[(_0x5f0bc1[_0x505612]+_0x5f0bc1[_0x55e8a6])%(-0x436*-0x1+-0x1301*0x1+0xfcb)]);}return _0xda7aa6;};_0xc84f['\x42\x58\x56\x4f\x6a\x43']=_0x4334d4,_0xc84f['\x69\x6c\x7a\x43\x64\x71']={},_0xc84f['\x47\x78\x69\x6d\x55\x6e']=!![];}const _0x1f9ea=_0x3cc9ee[0x7*-0xe2+-0x1406+0x1a34],_0x507ccf=_0x4661b3+_0x1f9ea,_0x2d83cb=_0xc84f['\x69\x6c\x7a\x43\x64\x71'][_0x507ccf];return!_0x2d83cb?(_0xc84f['\x78\x61\x42\x50\x75\x4f']===undefined&&(_0xc84f['\x78\x61\x42\x50\x75\x4f']=!![]),_0x563577=_0xc84f['\x42\x58\x56\x4f\x6a\x43'](_0x563577,_0x44a2a4),_0xc84f['\x69\x6c\x7a\x43\x64\x71'][_0x507ccf]=_0x563577):_0x563577=_0x2d83cb,_0x563577;}function isRecord(_0x234148){return Boolean(_0x234148)&&typeof _0x234148==='\x6f\x62\x6a\x65\x63\x74'&&!Array['\x69\x73\x41\x72\x72\x61\x79'](_0x234148);}export function canonicalTraceConfigPayload(_0x4b2c45={}){const _0x31ab86=_0x32f899,_0x3ecdb6={};for(const _0x21541f of Object[_0x31ab86(0x193,'\x23\x70\x33\x65')](_0x4b2c45)[_0x31ab86(0x21e,'\x33\x53\x38\x37')]()){if(_0x21541f==='\x73\x69\x67\x6e\x61\x74\x75\x72'+'\x65'||_0x21541f===_0x31ab86(0x1b3,'\x55\x4d\x59\x7a')+_0x31ab86(0x1a0,'\x69\x66\x56\x6c')+_0x31ab86(0x18e,'\x21\x34\x59\x6a')||_0x21541f===_0x31ab86(0x1d0,'\x4e\x28\x34\x69')+_0x31ab86(0x1b6,'\x6e\x53\x41\x44')+_0x31ab86(0x21b,'\x6d\x66\x78\x77'))continue;if(_0x21541f==='\x68\x75\x62\x5f\x70\x75\x62\x6c'+_0x31ab86(0x255,'\x72\x26\x2a\x5b'))continue;const _0x244d9b=_0x4b2c45[_0x21541f];if(_0x244d9b!==undefined)_0x3ecdb6[_0x21541f]=_0x244d9b;}return JSON[_0x31ab86(0x19c,'\x31\x48\x29\x61')+'\x79'](_0x3ecdb6);}export function verifyTraceConfigSignature(_0x5a1322,_0x48daf6=process.env){const _0x13e44b=_0x32f899;if(!isRecord(_0x5a1322))return![];const _0x2f4840=String(_0x48daf6[_0x13e44b(0x209,'\x70\x5b\x23\x5a')+_0x13e44b(0x247,'\x49\x41\x50\x2a')+_0x13e44b(0x1f4,'\x55\x64\x5a\x29')+_0x13e44b(0x206,'\x69\x66\x56\x6c')+_0x13e44b(0x1ba,'\x58\x49\x74\x73')]||_0x48daf6[_0x13e44b(0x25d,'\x4e\x28\x34\x69')+_0x13e44b(0x1ed,'\x72\x26\x2a\x5b')+_0x13e44b(0x23d,'\x4c\x73\x41\x2a')+_0x13e44b(0x202,'\x31\x48\x29\x61')+_0x13e44b(0x191,'\x6e\x64\x43\x50')+'\x5f\x4b\x45\x59']||DEFAULT_TRACE_CONFIG_SIGNING_PUBLIC_KEY)[_0x13e44b(0x1b0,'\x26\x45\x21\x57')](),_0x596ceb=String(_0x5a1322[_0x13e44b(0x25b,'\x6e\x69\x25\x63')+'\x65']||_0x5a1322[_0x13e44b(0x217,'\x26\x45\x21\x57')+_0x13e44b(0x239,'\x69\x56\x4e\x49')+_0x13e44b(0x245,'\x65\x61\x53\x37')]||'')['\x74\x72\x69\x6d']();if(!_0x2f4840||!_0x596ceb)return![];try{return verify(_0x13e44b(0x24b,'\x6e\x69\x25\x63'),Buffer[_0x13e44b(0x243,'\x4c\x73\x41\x2a')](canonicalTraceConfigPayload(_0x5a1322),'\x75\x74\x66\x38'),_0x2f4840,Buffer[_0x13e44b(0x1bf,'\x6e\x53\x41\x44')](_0x596ceb,_0x13e44b(0x211,'\x49\x40\x24\x36')));}catch{return![];}}export function applyTraceCollectionConfig(_0x2db0e1,_0x3491d4,_0x516658=process.env,_0x27b296=console){const _0x3d28b6=_0x32f899;if(!isRecord(_0x2db0e1))return _0x27b296[_0x3d28b6(0x20d,'\x49\x40\x24\x36')]?.(_0x3d28b6(0x196,'\x38\x38\x35\x6e')+_0x3d28b6(0x1d9,'\x31\x62\x51\x49')+_0x3d28b6(0x1ab,'\x49\x41\x50\x2a')+_0x3d28b6(0x23e,'\x21\x34\x59\x6a')+_0x3d28b6(0x195,'\x48\x63\x41\x71')+_0x3d28b6(0x260,'\x6e\x53\x41\x44')),{'\x61\x63\x6b':!![],'\x61\x70\x70\x6c\x69\x65\x64':![]};const _0xcf3da0=_0x2db0e1[_0x3d28b6(0x1b7,'\x4c\x33\x77\x5d')]??_0x2db0e1[_0x3d28b6(0x246,'\x4c\x77\x61\x63')+'\x6c\x6c\x65\x63\x74\x69\x6f\x6e'+_0x3d28b6(0x254,'\x6f\x6c\x23\x71')]??_0x2db0e1[_0x3d28b6(0x1ad,'\x35\x2a\x53\x6f')+_0x3d28b6(0x264,'\x23\x70\x33\x65')+'\x65\x63\x74\x69\x6f\x6e\x5f\x65'+_0x3d28b6(0x1cb,'\x33\x53\x38\x37')];if(typeof _0xcf3da0!==_0x3d28b6(0x238,'\x71\x5a\x73\x34'))return'\x65\x4b\x70\x42\x63'!==_0x3d28b6(0x24e,'\x31\x75\x39\x6a')?_0x4ec3b7(_0x4ac214)&&typeof _0x8b4d1f===_0x3d28b6(0x1d1,'\x6e\x69\x25\x63')&&!_0x5d024f[_0x3d28b6(0x222,'\x6e\x53\x41\x44')](_0x2a918d):(_0x27b296[_0x3d28b6(0x20f,'\x50\x32\x6a\x41')]?.(_0x3d28b6(0x219,'\x65\x49\x6e\x50')+_0x3d28b6(0x1e0,'\x31\x48\x29\x61')+'\x69\x67\x6e\x6f\x72\x69\x6e\x67'+_0x3d28b6(0x1e4,'\x37\x71\x47\x79')+_0x3d28b6(0x19f,'\x23\x70\x33\x65')+_0x3d28b6(0x1ce,'\x65\x49\x6e\x50')+'\x65\x6e\x61\x62\x6c\x65\x64'),{'\x61\x63\x6b':!![],'\x61\x70\x70\x6c\x69\x65\x64':![]});const _0x50c9c7=verifyTraceConfigSignature(_0x2db0e1,_0x516658);let _0x22192d=_0x2db0e1[_0x3d28b6(0x1d3,'\x54\x70\x4c\x6f')+_0x3d28b6(0x1d4,'\x4e\x28\x34\x69')+_0x3d28b6(0x24f,'\x67\x4f\x68\x43')]??_0x2db0e1[_0x3d28b6(0x19a,'\x58\x49\x74\x73')+_0x3d28b6(0x1f7,'\x26\x45\x21\x57')+_0x3d28b6(0x1fb,'\x31\x62\x51\x49')+_0x3d28b6(0x24a,'\x26\x45\x21\x57')];const _0x1ca14e=typeof _0x2db0e1[_0x3d28b6(0x249,'\x65\x61\x53\x37')+_0x3d28b6(0x26b,'\x7a\x78\x42\x31')+_0x3d28b6(0x18d,'\x49\x41\x50\x2a')]==='\x73\x74\x72\x69\x6e\x67'?_0x2db0e1[_0x3d28b6(0x1f3,'\x66\x41\x28\x26')+_0x3d28b6(0x1a2,'\x71\x5a\x73\x34')+'\x5f\x6b\x65\x79'][_0x3d28b6(0x1de,'\x56\x25\x4e\x6a')]():'',_0x3296f5=typeof _0x2db0e1[_0x3d28b6(0x1c2,'\x73\x41\x23\x70')+'\x69\x63\x5f\x6b\x65\x79']===_0x3d28b6(0x1f8,'\x69\x66\x56\x6c')?_0x2db0e1[_0x3d28b6(0x21a,'\x4c\x77\x61\x63')+'\x69\x63\x5f\x6b\x65\x79'][_0x3d28b6(0x22d,'\x36\x4d\x75\x34')]():'';if(!_0x50c9c7&&_0xcf3da0===!![])return _0x27b296[_0x3d28b6(0x251,'\x72\x26\x2a\x5b')]?.(_0x3d28b6(0x201,'\x49\x41\x50\x2a')+_0x3d28b6(0x1c7,'\x55\x37\x79\x39')+_0x3d28b6(0x20c,'\x49\x41\x50\x2a')+_0x3d28b6(0x269,'\x61\x61\x77\x6d')+_0x3d28b6(0x19e,'\x71\x5a\x73\x34')+'\x63\x6f\x6e\x66\x69\x67\x20\x74'+_0x3d28b6(0x1dc,'\x72\x26\x2a\x5b')+_0x3d28b6(0x26f,'\x73\x21\x34\x4a')+_0x3d28b6(0x256,'\x55\x37\x79\x39')+_0x3d28b6(0x1f9,'\x55\x37\x79\x39')+_0x3d28b6(0x268,'\x7a\x78\x42\x31')+_0x3d28b6(0x236,'\x51\x36\x50\x39')),{'\x61\x63\x6b':!![],'\x61\x70\x70\x6c\x69\x65\x64':![]};if(!_0x50c9c7&&_0x22192d===!![]){if(_0x3d28b6(0x235,'\x73\x41\x23\x70')!==_0x3d28b6(0x22f,'\x55\x64\x5a\x29'))_0x27b296[_0x3d28b6(0x184,'\x35\x2a\x53\x6f')]?.(_0x3d28b6(0x270,'\x6e\x53\x41\x44')+_0x3d28b6(0x26c,'\x6e\x69\x25\x63')+_0x3d28b6(0x1f5,'\x43\x76\x70\x59')+_0x3d28b6(0x188,'\x23\x70\x33\x65')+_0x3d28b6(0x24d,'\x45\x21\x4b\x23')+_0x3d28b6(0x1b2,'\x21\x34\x59\x6a')+_0x3d28b6(0x1eb,'\x6e\x69\x25\x63')+'\x20\x77\x68\x69\x6c\x65\x20\x61'+_0x3d28b6(0x1ec,'\x65\x49\x6e\x50')+_0x3d28b6(0x1ca,'\x67\x4f\x68\x43')+_0x3d28b6(0x22e,'\x6e\x64\x43\x50')),_0x22192d=![];else return _0x268d01(_0x3d28b6(0x1c3,'\x69\x66\x56\x6c'),_0x48eb23[_0x3d28b6(0x1b4,'\x35\x2a\x53\x6f')](_0x544c3e(_0x2e5baa),_0x3d28b6(0x1c9,'\x55\x37\x79\x39')),_0x24a6a1,_0x42bd49[_0x3d28b6(0x241,'\x54\x70\x4c\x6f')](_0x1991d7,_0x3d28b6(0x18f,'\x43\x76\x70\x59')));}_0x3491d4[_0x3d28b6(0x21f,'\x25\x76\x5b\x67')](_0x3d28b6(0x227,'\x70\x5b\x23\x5a')+_0x3d28b6(0x231,'\x6e\x69\x25\x63')+_0x3d28b6(0x228,'\x49\x40\x24\x36'),_0xcf3da0?_0x3d28b6(0x1cf,'\x55\x4d\x59\x7a'):_0x3d28b6(0x1f2,'\x33\x53\x38\x37'));typeof _0x22192d===_0x3d28b6(0x1d7,'\x4c\x33\x77\x5d')&&(_0x3d28b6(0x18c,'\x71\x5a\x73\x34')===_0x3d28b6(0x273,'\x6e\x69\x25\x63')?_0x901d12[_0x3d28b6(0x18b,'\x45\x21\x4b\x23')]('\x74\x72\x61\x63\x65\x5f\x68\x75'+'\x62\x5f\x70\x75\x62\x6c\x69\x63'+_0x3d28b6(0x225,'\x24\x45\x61\x41'),_0x3b32d1):_0x3491d4[_0x3d28b6(0x187,'\x33\x53\x38\x37')](_0x3d28b6(0x1e2,'\x4e\x28\x34\x69')+_0x3d28b6(0x229,'\x71\x5a\x73\x34')+_0x3d28b6(0x1ef,'\x26\x45\x21\x57')+_0x3d28b6(0x1cb,'\x33\x53\x38\x37'),_0x22192d?'\x74\x72\x75\x65':_0x3d28b6(0x226,'\x69\x66\x56\x6c')));if(_0x50c9c7&&_0x1ca14e&&_0x1ca14e[_0x3d28b6(0x19d,'\x23\x70\x33\x65')](_0x3d28b6(0x25c,'\x55\x64\x5a\x29')+'\x45\x59'))_0x3491d4[_0x3d28b6(0x186,'\x6d\x66\x78\x77')](_0x3d28b6(0x215,'\x31\x48\x29\x61')+_0x3d28b6(0x1b1,'\x73\x21\x34\x4a')+_0x3d28b6(0x197,'\x37\x71\x47\x79'),_0x1ca14e);else!_0x50c9c7&&_0x1ca14e&&_0x27b296['\x77\x61\x72\x6e']?.(_0x3d28b6(0x1a3,'\x4c\x73\x41\x2a')+_0x3d28b6(0x232,'\x48\x63\x41\x71')+_0x3d28b6(0x230,'\x4c\x33\x77\x5d')+_0x3d28b6(0x204,'\x55\x64\x5a\x29')+_0x3d28b6(0x23b,'\x4c\x33\x77\x5d')+_0x3d28b6(0x1cc,'\x31\x62\x51\x49')+_0x3d28b6(0x23c,'\x6e\x64\x43\x50')+_0x3d28b6(0x25f,'\x43\x76\x70\x59')+_0x3d28b6(0x253,'\x24\x45\x61\x41'));return _0x3296f5&&_0x27b296[_0x3d28b6(0x20f,'\x50\x32\x6a\x41')]?.(_0x3d28b6(0x1cd,'\x44\x25\x64\x38')+'\x6f\x6e\x74\x72\x6f\x6c\x5d\x20'+_0x3d28b6(0x1bd,'\x35\x2a\x53\x6f')+'\x72\x75\x6e\x74\x69\x6d\x65\x20'+_0x3d28b6(0x25a,'\x55\x4d\x59\x7a')+_0x3d28b6(0x1e8,'\x65\x49\x6e\x50')+_0x3d28b6(0x1fc,'\x69\x56\x4e\x49')+_0x3d28b6(0x192,'\x73\x41\x23\x70')+_0x3d28b6(0x21d,'\x50\x32\x6a\x41')+_0x3d28b6(0x1a5,'\x23\x70\x33\x65')+_0x3d28b6(0x272,'\x67\x4f\x68\x43')+'\x5f\x4b\x45\x59\x20\x6f\x72\x20'+_0x3d28b6(0x26d,'\x31\x48\x29\x61')+_0x3d28b6(0x19b,'\x49\x40\x24\x36')+_0x3d28b6(0x1ae,'\x24\x45\x61\x41')+_0x3d28b6(0x1c0,'\x6e\x64\x43\x50')),_0x3491d4[_0x3d28b6(0x1fa,'\x65\x49\x6e\x50')](_0x3d28b6(0x200,'\x50\x32\x6a\x41')+_0x3d28b6(0x1b9,'\x4c\x77\x61\x63')+_0x3d28b6(0x1ff,'\x35\x2a\x53\x6f')+_0x3d28b6(0x1ea,'\x56\x25\x4e\x6a'),new Date()[_0x3d28b6(0x1d8,'\x61\x61\x77\x6d')+_0x3d28b6(0x1e1,'\x67\x4f\x68\x43')]()),_0x27b296[_0x3d28b6(0x237,'\x69\x66\x56\x6c')]?.(_0x3d28b6(0x1f1,'\x6d\x66\x78\x77')+_0x3d28b6(0x1e3,'\x24\x45\x61\x41')+_0x3d28b6(0x1ee,'\x71\x5a\x73\x34')+_0x3d28b6(0x185,'\x21\x34\x59\x6a')+'\x20'+(_0xcf3da0?_0x3d28b6(0x203,'\x23\x70\x33\x65'):_0x3d28b6(0x263,'\x21\x34\x59\x6a'))),{'\x61\x63\x6b':!![],'\x61\x70\x70\x6c\x69\x65\x64':!![]};}
|