@treasuredata/tdx 2026.3.24 → 2026.3.25
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.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/cli-categories.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/agent-command.js +1 -1
- package/dist/commands/agent-test-command.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/auth-login-command.js +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/claude-command.js +1 -1
- package/dist/commands/claude-statusline-command.js +1 -1
- package/dist/commands/claude-usage-command.js +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/connection-command.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/delivery-command.js +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/engage-campaign-pull-command.js +1 -1
- package/dist/commands/engage-campaign-push-command.js +1 -1
- package/dist/commands/engage-campaign-validate-command.js +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/engage-template-pull-command.js +1 -1
- package/dist/commands/engage-template-push-command.js +1 -1
- package/dist/commands/engage-template-validate-command.js +1 -1
- package/dist/commands/job-command.js +1 -1
- package/dist/commands/journey-command.js +1 -1
- package/dist/commands/journey-validate-command.js +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/mcp-command.js +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/policy-command.js +1 -1
- package/dist/commands/profile-command.js +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/schedule-command.js +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segment-create-command.js +1 -1
- package/dist/commands/segment-fields-command.js +1 -1
- package/dist/commands/segment-pull-command.js +1 -1
- package/dist/commands/segment-push-command.js +1 -1
- package/dist/commands/segment-update-command.js +1 -1
- package/dist/commands/segment-use-command.js +1 -1
- package/dist/commands/segment-validate-command.js +1 -1
- package/dist/commands/segments.js +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/status-command.js +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/unset-command.js +1 -1
- package/dist/commands/upgrade-command.js +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/user-command.js +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/command-output.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/connection-cache.js +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/credential-cache.js +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/keychain.js +1 -1
- package/dist/core/oauth-keychain.js +1 -1
- package/dist/core/oauth.js +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/core/user-cache.js +1 -1
- package/dist/core/version.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/tools/index.js +1 -1
- package/dist/mcp/tools/tdx-run.js +1 -1
- package/dist/mcp/tools/tdx-search.js +1 -1
- package/dist/mcp/utils.js +1 -1
- package/dist/proxy/claude-usage-tracker.js +1 -1
- package/dist/proxy/passthrough-server.js +1 -1
- package/dist/proxy/sse-usage-parser.js +1 -1
- package/dist/sdk/agent/agent-config.js +1 -1
- package/dist/sdk/agent/agent-ref-parser.js +1 -1
- package/dist/sdk/agent/agent-yaml.js +1 -1
- package/dist/sdk/agent/test/evaluator.js +1 -1
- package/dist/sdk/agent/test/executor.js +1 -1
- package/dist/sdk/agent/test/index.js +1 -1
- package/dist/sdk/agent/test/output.js +1 -1
- package/dist/sdk/agent/test/parser.js +1 -1
- package/dist/sdk/agent/tool-target-registry.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/client/cdp-api-client.js +1 -1
- package/dist/sdk/client/delivery-api-client.js +1 -1
- package/dist/sdk/client/endpoints.js +1 -1
- package/dist/sdk/client/engage-api-client.js +1 -1
- package/dist/sdk/client/http-client.js +1 -1
- package/dist/sdk/client/llm-api-client.js +1 -1
- package/dist/sdk/client/oauth-refresh.js +1 -1
- package/dist/sdk/client/rate-limiter.js +1 -1
- package/dist/sdk/client/td-api-client.js +1 -1
- package/dist/sdk/client/trino-api-client.js +1 -1
- package/dist/sdk/client/workflow-client.js +1 -1
- package/dist/sdk/connection-validator.js +1 -1
- package/dist/sdk/connection.js +1 -1
- package/dist/sdk/delivery.js +1 -1
- package/dist/sdk/engage/campaign-pull.js +1 -1
- package/dist/sdk/engage/campaign-push.js +1 -1
- package/dist/sdk/engage/campaign-validator.js +1 -1
- package/dist/sdk/engage/campaign-yaml.js +1 -1
- package/dist/sdk/engage/template-pull.js +1 -1
- package/dist/sdk/engage/template-push.js +1 -1
- package/dist/sdk/engage/template-validator.js +1 -1
- package/dist/sdk/engage/template-yaml.js +1 -1
- package/dist/sdk/engage/types/campaign-def.js +1 -1
- package/dist/sdk/engage/types/campaign-schema.js +1 -1
- package/dist/sdk/engage/types/template-schema.js +1 -1
- package/dist/sdk/engage.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/io/index.js +1 -1
- package/dist/sdk/io/node-filesystem.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/journey.js +1 -1
- package/dist/sdk/llm/chat-cache.js +1 -1
- package/dist/sdk/llm/index.js +1 -1
- package/dist/sdk/llm/llm-backup-utils.js +1 -1
- package/dist/sdk/llm/model-factors.js +1 -1
- package/dist/sdk/personalization.js +1 -1
- package/dist/sdk/policy.js +1 -1
- package/dist/sdk/query/index.js +1 -1
- package/dist/sdk/query/sql-parser.js +1 -1
- package/dist/sdk/realtime.js +1 -1
- package/dist/sdk/schedule.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/fields-display.js +1 -1
- package/dist/sdk/segment/file-discovery.js +1 -1
- package/dist/sdk/segment/journey-utils.js +1 -1
- package/dist/sdk/segment/journey-validator.js +1 -1
- package/dist/sdk/segment/journey-yaml.js +1 -1
- package/dist/sdk/segment/parent-segment-preview.js +1 -1
- package/dist/sdk/segment/parent-segment-yaml.js +1 -1
- package/dist/sdk/segment/pull-workflow.js +1 -1
- package/dist/sdk/segment/push-recovery.js +1 -1
- package/dist/sdk/segment/push-workflow.js +1 -1
- package/dist/sdk/segment/resolution-context.js +1 -1
- package/dist/sdk/segment/segment-path-parser.js +1 -1
- package/dist/sdk/segment/segment-ref-parser.js +1 -1
- package/dist/sdk/segment/segment-validator.js +1 -1
- package/dist/sdk/segment/target-resolution.js +1 -1
- package/dist/sdk/segment/tdx-config.js +1 -1
- package/dist/sdk/segment/types/activation-schema.js +1 -1
- package/dist/sdk/segment/types/journey-def.js +1 -1
- package/dist/sdk/segment/types/journey-schema.js +1 -1
- package/dist/sdk/segment/types/segment-def.js +1 -1
- package/dist/sdk/segment/types/segment-schema.js +1 -1
- package/dist/sdk/segment/validate-files.js +1 -1
- package/dist/sdk/segment/yaml-validator.js +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/types/index.js +1 -1
- package/dist/sdk/types/progress.js +1 -1
- package/dist/sdk/user.js +1 -1
- package/dist/sdk/util/format-detector.js +1 -1
- package/dist/sdk/util/formatters.js +1 -1
- package/dist/sdk/util/index.js +1 -1
- package/dist/sdk/util/paginate.js +1 -1
- package/dist/sdk/util/tree-formatter.js +1 -1
- package/dist/sdk/workflow/archive-validation.js +1 -1
- package/dist/sdk/workflow/clone-workflow.js +1 -1
- package/dist/sdk/workflow/index.js +1 -1
- package/dist/sdk/workflow/pull-workflow.js +1 -1
- package/dist/sdk/workflow/push-workflow.js +1 -1
- package/dist/sdk/workflow/tdx-config.js +1 -1
- package/dist/sdk/workflow/workflow-utils.js +1 -1
- package/dist/test-utils/command-runner.js +1 -1
- package/dist/test-utils/factories.js +1 -1
- package/dist/test-utils/fixtures.js +1 -1
- package/dist/test-utils/http-mock.js +1 -1
- package/dist/test-utils/index.js +1 -1
- package/dist/utils/async.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/diff.js +1 -1
- package/dist/utils/file-permissions.js +1 -1
- package/dist/utils/file-reader.js +1 -1
- package/dist/utils/github-releases.js +1 -1
- package/dist/utils/global-cache.js +1 -1
- package/dist/utils/json-loader.js +1 -1
- package/dist/utils/local-cache.js +1 -1
- package/dist/utils/logger/formatters/default-formatter.js +1 -1
- package/dist/utils/logger/formatters/index.js +1 -1
- package/dist/utils/logger/handlers/console-handler.js +1 -1
- package/dist/utils/logger/handlers/file-handler.js +1 -1
- package/dist/utils/logger/handlers/index.js +1 -1
- package/dist/utils/logger/handlers/null-handler.js +1 -1
- package/dist/utils/logger/index.js +1 -1
- package/dist/utils/logger/logger.js +1 -1
- package/dist/utils/logger/types.js +1 -1
- package/dist/utils/option-validation.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/sse-parser.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/table-ref-parser.js +1 -1
- package/dist/utils/tdx-logger.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/package.json +1 -1
package/dist/utils/async.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a190_0x5dc8(_0x61177d,_0xd0fcf7){_0x61177d=_0x61177d-0xdd;const _0x56b99b=a190_0x56b9();let _0x5dc848=_0x56b99b[_0x61177d];return _0x5dc848;}(function(_0x1a92cd,_0x4d55a5){const _0x52e8d1=a190_0x5dc8,_0x32c676=_0x1a92cd();while(!![]){try{const _0x46d08c=-parseInt(_0x52e8d1(0xde))/0x1*(-parseInt(_0x52e8d1(0xdf))/0x2)+parseInt(_0x52e8d1(0xeb))/0x3*(-parseInt(_0x52e8d1(0xe9))/0x4)+parseInt(_0x52e8d1(0xe8))/0x5*(parseInt(_0x52e8d1(0xe7))/0x6)+-parseInt(_0x52e8d1(0xdd))/0x7+parseInt(_0x52e8d1(0xe4))/0x8*(-parseInt(_0x52e8d1(0xe6))/0x9)+parseInt(_0x52e8d1(0xe2))/0xa*(parseInt(_0x52e8d1(0xe5))/0xb)+parseInt(_0x52e8d1(0xed))/0xc;if(_0x46d08c===_0x4d55a5)break;else _0x32c676['push'](_0x32c676['shift']());}catch(_0x55d370){_0x32c676['push'](_0x32c676['shift']());}}}(a190_0x56b9,0x86cfe));function a190_0x56b9(){const _0x46f0e0=['8hbIOwu','8819734lbqZZQ','6786729pyhTzs','2062794IFCZuP','5wYKgRV','151420JOsCUl','slice','27UDLwQb','map','12113748BZSwzj','4624823MjiCth','281DFIxUh','1086OagxoV','push','length','10fCReov','all'];a190_0x56b9=function(){return _0x46f0e0;};return a190_0x56b9();}export async function batchAsync(_0x3839c8,_0x34e45c,_0x4151b4=0xa){const _0x302582=a190_0x5dc8,_0x3adaa5=[];for(let _0x1bfdd0=0x0;_0x1bfdd0<_0x3839c8[_0x302582(0xe1)];_0x1bfdd0+=_0x4151b4){const _0x573387=_0x3839c8[_0x302582(0xea)](_0x1bfdd0,_0x1bfdd0+_0x4151b4),_0x111f05=await Promise[_0x302582(0xe3)](_0x573387[_0x302582(0xec)](_0x34e45c));_0x3adaa5[_0x302582(0xe0)](..._0x111f05);}return _0x3adaa5;}
|
package/dist/utils/colors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a191_0x39d0de=a191_0x2d18;function a191_0x1045(){const _0x2457be=['repeat','string','1862960XLCLTm','162PcyzaM','null','55CmIZNR','isTTY','noColor','boolean','map','green','5202526ZzVNMw','blue','2026996XvVvpn','226QCGtVq','stringify','entries','Chalk','cyan','isArray','yellow','64770oSCYYn','join','1617hYbQJW','color','object','904904CVzFob','dim','stdout','length','113790wnUQxV'];a191_0x1045=function(){return _0x2457be;};return a191_0x1045();}(function(_0x53db8a,_0x43ab55){const _0x70d8be=a191_0x2d18,_0x372bf0=_0x53db8a();while(!![]){try{const _0x301073=parseInt(_0x70d8be(0x144))/0x1+parseInt(_0x70d8be(0x138))/0x2*(parseInt(_0x70d8be(0x141))/0x3)+parseInt(_0x70d8be(0x137))/0x4+parseInt(_0x70d8be(0x12f))/0x5*(parseInt(_0x70d8be(0x129))/0x6)+-parseInt(_0x70d8be(0x135))/0x7+-parseInt(_0x70d8be(0x12c))/0x8+-parseInt(_0x70d8be(0x12d))/0x9*(parseInt(_0x70d8be(0x13f))/0xa);if(_0x301073===_0x43ab55)break;else _0x372bf0['push'](_0x372bf0['shift']());}catch(_0x12e072){_0x372bf0['push'](_0x372bf0['shift']());}}}(a191_0x1045,0x8fad5));import*as a191_0x198354 from'chalk';function a191_0x2d18(_0x4087a0,_0x4073cc){_0x4087a0=_0x4087a0-0x128;const _0x1045a3=a191_0x1045();let _0x2d1803=_0x1045a3[_0x4087a0];return _0x2d1803;}const Chalk=a191_0x198354[a191_0x39d0de(0x13b)];export function shouldUseColor(_0xccea6e={}){const _0x19fb4b=a191_0x39d0de;if(_0xccea6e[_0x19fb4b(0x131)]===!![])return![];if(_0xccea6e[_0x19fb4b(0x142)]===!![])return!![];if(process.env.NO_COLOR!==undefined)return![];return process[_0x19fb4b(0x146)][_0x19fb4b(0x130)]??![];}export function getChalk(_0xe45318={}){if(shouldUseColor(_0xe45318))return new Chalk({'level':0x3});return new Chalk({'level':0x0});}export function colorBorder(_0x2b2d7f,_0x5cb125={}){const _0x6bae79=a191_0x39d0de;return getChalk(_0x5cb125)[_0x6bae79(0x145)](_0x2b2d7f);}export function colorHeader(_0x1c79a4,_0x111ed7={}){const _0x9505ad=a191_0x39d0de;return getChalk(_0x111ed7)[_0x9505ad(0x13c)](_0x1c79a4);}export function colorType(_0x51d4bf,_0x4ab5ce={}){const _0x5ac5d1=a191_0x39d0de;return getChalk(_0x4ab5ce)[_0x5ac5d1(0x145)](_0x51d4bf);}export function colorJSONKey(_0x1c6bdb,_0x6a086={}){const _0x18e0ee=a191_0x39d0de;return getChalk(_0x6a086)[_0x18e0ee(0x136)](_0x1c6bdb);}export function colorJSONString(_0x585945,_0x3749cd={}){const _0x36a5a8=a191_0x39d0de;return getChalk(_0x3749cd)[_0x36a5a8(0x134)](_0x585945);}export function colorJSONNumber(_0x47e3f5,_0x1e40b2={}){return getChalk(_0x1e40b2)['cyan'](_0x47e3f5);}export function colorJSONBoolean(_0x1caa5a,_0x287da0={}){const _0x4bbb73=a191_0x39d0de;return getChalk(_0x287da0)[_0x4bbb73(0x13e)](_0x1caa5a);}export function colorJSONNull(_0x27612f,_0x26e697={}){const _0x5ec05a=a191_0x39d0de;return getChalk(_0x26e697)[_0x5ec05a(0x145)](_0x27612f);}export function colorizeJSONCompact(_0x54ed38,_0x4a6bb7={}){const _0x3130b8=a191_0x39d0de;if(!shouldUseColor(_0x4a6bb7))return JSON[_0x3130b8(0x139)](_0x54ed38);if(_0x54ed38===null)return colorJSONNull(_0x3130b8(0x12e),_0x4a6bb7);if(typeof _0x54ed38===_0x3130b8(0x132))return colorJSONBoolean(String(_0x54ed38),_0x4a6bb7);if(typeof _0x54ed38==='number')return colorJSONNumber(String(_0x54ed38),_0x4a6bb7);if(typeof _0x54ed38===_0x3130b8(0x12b))return colorJSONString(JSON[_0x3130b8(0x139)](_0x54ed38),_0x4a6bb7);if(Array[_0x3130b8(0x13d)](_0x54ed38)){if(_0x54ed38[_0x3130b8(0x128)]===0x0)return'[]';const _0x20ff82=_0x54ed38[_0x3130b8(0x133)](_0x2d71e8=>colorizeJSONCompact(_0x2d71e8,_0x4a6bb7));return'['+_0x20ff82[_0x3130b8(0x140)](',')+']';}if(typeof _0x54ed38==='object'){const _0x4c2941=Object[_0x3130b8(0x13a)](_0x54ed38);if(_0x4c2941['length']===0x0)return'{}';const _0x1fd7de=_0x4c2941['map'](([_0x1b3881,_0x415f3c])=>{const _0x32d0bd=_0x3130b8,_0x4dc86b=colorJSONKey(JSON[_0x32d0bd(0x139)](_0x1b3881),_0x4a6bb7),_0x45ecd1=colorizeJSONCompact(_0x415f3c,_0x4a6bb7);return _0x4dc86b+':'+_0x45ecd1;});return'{'+_0x1fd7de[_0x3130b8(0x140)](',')+'}';}return String(_0x54ed38);}export function colorizeJSON(_0x3e52ee,_0x2fa3ab={},_0x2dff72=0x0){const _0x19c846=a191_0x39d0de;if(!shouldUseColor(_0x2fa3ab))return JSON['stringify'](_0x3e52ee,null,0x2);const _0x20b5a8='\x20'[_0x19c846(0x12a)](_0x2dff72),_0x362f61=_0x2dff72+0x2;if(_0x3e52ee===null)return colorJSONNull('null',_0x2fa3ab);if(typeof _0x3e52ee===_0x19c846(0x132))return colorJSONBoolean(String(_0x3e52ee),_0x2fa3ab);if(typeof _0x3e52ee==='number')return colorJSONNumber(String(_0x3e52ee),_0x2fa3ab);if(typeof _0x3e52ee===_0x19c846(0x12b))return colorJSONString(JSON[_0x19c846(0x139)](_0x3e52ee),_0x2fa3ab);if(Array[_0x19c846(0x13d)](_0x3e52ee)){if(_0x3e52ee['length']===0x0)return'[]';const _0x211377=_0x3e52ee[_0x19c846(0x133)](_0x178a95=>{const _0x213293=colorizeJSON(_0x178a95,_0x2fa3ab,_0x362f61);return''+'\x20'['repeat'](_0x362f61)+_0x213293;});return'[\x0a'+_0x211377[_0x19c846(0x140)](',\x0a')+('\x0a'+_0x20b5a8+']');}if(typeof _0x3e52ee===_0x19c846(0x143)){const _0x62e4a5=Object['entries'](_0x3e52ee);if(_0x62e4a5[_0x19c846(0x128)]===0x0)return'{}';const _0x21a890=_0x62e4a5[_0x19c846(0x133)](([_0x52f81d,_0x460b5a])=>{const _0x256c10=_0x19c846,_0x17bee9=colorJSONKey(JSON[_0x256c10(0x139)](_0x52f81d),_0x2fa3ab),_0x5287bf=colorizeJSON(_0x460b5a,_0x2fa3ab,_0x362f61);return''+'\x20'[_0x256c10(0x12a)](_0x362f61)+_0x17bee9+':\x20'+_0x5287bf;});return'{\x0a'+_0x21a890['join'](',\x0a')+('\x0a'+_0x20b5a8+'}');}return String(_0x3e52ee);}
|
package/dist/utils/diff.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x83ed44,_0x683921){const _0x500c8d=a192_0x34f0,_0x9537a7=_0x83ed44();while(!![]){try{const _0x59de11=parseInt(_0x500c8d(0x12e))/0x1+-parseInt(_0x500c8d(0x146))/0x2*(-parseInt(_0x500c8d(0x13f))/0x3)+-parseInt(_0x500c8d(0x14c))/0x4*(-parseInt(_0x500c8d(0x153))/0x5)+parseInt(_0x500c8d(0x152))/0x6*(-parseInt(_0x500c8d(0x14f))/0x7)+parseInt(_0x500c8d(0x13a))/0x8*(parseInt(_0x500c8d(0x130))/0x9)+parseInt(_0x500c8d(0x143))/0xa*(-parseInt(_0x500c8d(0x13c))/0xb)+-parseInt(_0x500c8d(0x141))/0xc*(-parseInt(_0x500c8d(0x139))/0xd);if(_0x59de11===_0x683921)break;else _0x9537a7['push'](_0x9537a7['shift']());}catch(_0x58b2dc){_0x9537a7['push'](_0x9537a7['shift']());}}}(a192_0x535a,0x95171));import a192_0x403bb1 from'chalk';function a192_0x535a(){const _0x4397f6=['unchanged','77092auQJek','split','unshift','3278723AHlwhj','\x20\x20...','\x20\x20\x20','12TiTEKN','235BiiFSW','new','dim','198020cYPjGl','padStart','9VqlRGE','add','forEach','type','map','length','repeat','removed','green','255801KKhtkT','2018216XGrVda','fill','27995PyNSck','push','cyan','213gABFdn','some','24uFyNDj','max','2350QYxqdh','red','\x20-\x20','21128NESKGD','added','old','content','join'];a192_0x535a=function(){return _0x4397f6;};return a192_0x535a();}export function generateDiff(_0x4dcea9,_0x3ad7ee){const _0x1c6901=a192_0x34f0,_0x9b91b4=_0x4dcea9['split']('\x0a'),_0x5e9aa8=_0x3ad7ee[_0x1c6901(0x14d)]('\x0a'),_0x24165e=[],_0xa784bd=computeLCS(_0x9b91b4,_0x5e9aa8);let _0x2e964a=0x0,_0x243558=0x0,_0x4e58cd=0x0;while(_0x2e964a<_0x9b91b4[_0x1c6901(0x135)]||_0x243558<_0x5e9aa8[_0x1c6901(0x135)]){if(_0x4e58cd<_0xa784bd[_0x1c6901(0x135)]&&_0x2e964a<_0x9b91b4[_0x1c6901(0x135)]&&_0x9b91b4[_0x2e964a]===_0xa784bd[_0x4e58cd])_0x243558<_0x5e9aa8['length']&&_0x5e9aa8[_0x243558]===_0xa784bd[_0x4e58cd]?(_0x24165e[_0x1c6901(0x13d)]({'type':'unchanged','content':_0x9b91b4[_0x2e964a]}),_0x2e964a++,_0x243558++,_0x4e58cd++):(_0x24165e['push']({'type':_0x1c6901(0x147),'content':_0x5e9aa8[_0x243558]}),_0x243558++);else{if(_0x4e58cd<_0xa784bd[_0x1c6901(0x135)]&&_0x243558<_0x5e9aa8[_0x1c6901(0x135)]&&_0x5e9aa8[_0x243558]===_0xa784bd[_0x4e58cd])_0x24165e[_0x1c6901(0x13d)]({'type':'removed','content':_0x9b91b4[_0x2e964a]}),_0x2e964a++;else{if(_0x2e964a<_0x9b91b4[_0x1c6901(0x135)]&&(_0x4e58cd>=_0xa784bd[_0x1c6901(0x135)]||_0x9b91b4[_0x2e964a]!==_0xa784bd[_0x4e58cd]))_0x24165e[_0x1c6901(0x13d)]({'type':'removed','content':_0x9b91b4[_0x2e964a]}),_0x2e964a++;else _0x243558<_0x5e9aa8[_0x1c6901(0x135)]&&(_0x24165e[_0x1c6901(0x13d)]({'type':_0x1c6901(0x147),'content':_0x5e9aa8[_0x243558]}),_0x243558++);}}}return _0x24165e;}function computeLCS(_0x126301,_0x1904e8){const _0xd6dbfa=a192_0x34f0,_0x42d77b=_0x126301['length'],_0x549d11=_0x1904e8['length'],_0x44893f=Array(_0x42d77b+0x1)[_0xd6dbfa(0x13b)](null)[_0xd6dbfa(0x134)](()=>Array(_0x549d11+0x1)['fill'](0x0));for(let _0x168b3e=0x1;_0x168b3e<=_0x42d77b;_0x168b3e++){for(let _0x2a5526=0x1;_0x2a5526<=_0x549d11;_0x2a5526++){_0x126301[_0x168b3e-0x1]===_0x1904e8[_0x2a5526-0x1]?_0x44893f[_0x168b3e][_0x2a5526]=_0x44893f[_0x168b3e-0x1][_0x2a5526-0x1]+0x1:_0x44893f[_0x168b3e][_0x2a5526]=Math[_0xd6dbfa(0x142)](_0x44893f[_0x168b3e-0x1][_0x2a5526],_0x44893f[_0x168b3e][_0x2a5526-0x1]);}}const _0x49f53c=[];let _0x4b37ad=_0x42d77b,_0xda5fc4=_0x549d11;while(_0x4b37ad>0x0&&_0xda5fc4>0x0){if(_0x126301[_0x4b37ad-0x1]===_0x1904e8[_0xda5fc4-0x1])_0x49f53c[_0xd6dbfa(0x14e)](_0x126301[_0x4b37ad-0x1]),_0x4b37ad--,_0xda5fc4--;else _0x44893f[_0x4b37ad-0x1][_0xda5fc4]>_0x44893f[_0x4b37ad][_0xda5fc4-0x1]?_0x4b37ad--:_0xda5fc4--;}return _0x49f53c;}export function formatDiffWithColors(_0x252cab,_0x140f63=0x3){const _0x16d6c5=a192_0x34f0,_0xc36b1d=new Set();_0x252cab[_0x16d6c5(0x132)]((_0x2db515,_0x365f74)=>{const _0x3e0263=_0x16d6c5;_0x2db515[_0x3e0263(0x133)]!==_0x3e0263(0x14b)&&_0xc36b1d[_0x3e0263(0x131)](_0x365f74);});if(_0xc36b1d['size']===0x0)return'';const _0x3b0ab0=new Set();for(const _0x321cd0 of _0xc36b1d){for(let _0x29ca14=Math[_0x16d6c5(0x142)](0x0,_0x321cd0-_0x140f63);_0x29ca14<=Math['min'](_0x252cab[_0x16d6c5(0x135)]-0x1,_0x321cd0+_0x140f63);_0x29ca14++){_0x3b0ab0[_0x16d6c5(0x131)](_0x29ca14);}}const _0x5c506b=[];let _0x1662e8=-0x1;const _0x4eefaa=_0x252cab[_0x16d6c5(0x135)],_0xb928f=Math[_0x16d6c5(0x142)](0x3,String(_0x4eefaa)[_0x16d6c5(0x135)]),_0x370769=[];let _0x3db093=0x0,_0x81b116=0x0;for(const _0x1cb15d of _0x252cab){if(_0x1cb15d[_0x16d6c5(0x133)]==='removed')_0x3db093++,_0x370769['push']({'old':_0x3db093,'new':0x0});else _0x1cb15d[_0x16d6c5(0x133)]===_0x16d6c5(0x147)?(_0x81b116++,_0x370769[_0x16d6c5(0x13d)]({'old':0x0,'new':_0x81b116})):(_0x3db093++,_0x81b116++,_0x370769['push']({'old':_0x3db093,'new':_0x81b116}));}for(let _0x47ffe7=0x0;_0x47ffe7<_0x252cab[_0x16d6c5(0x135)];_0x47ffe7++){if(!_0x3b0ab0['has'](_0x47ffe7))continue;_0x1662e8!==-0x1&&_0x47ffe7>_0x1662e8+0x1&&_0x5c506b[_0x16d6c5(0x13d)](a192_0x403bb1[_0x16d6c5(0x13e)](_0x16d6c5(0x150)));_0x1662e8=_0x47ffe7;const _0xb3279=_0x252cab[_0x47ffe7],_0xd2ddfb=_0x370769[_0x47ffe7],_0x2c5c1b=_0xd2ddfb[_0x16d6c5(0x148)]>0x0?String(_0xd2ddfb[_0x16d6c5(0x148)])['padStart'](_0xb928f):'\x20'[_0x16d6c5(0x136)](_0xb928f),_0x37951f=_0xd2ddfb[_0x16d6c5(0x154)]>0x0?String(_0xd2ddfb[_0x16d6c5(0x154)])[_0x16d6c5(0x12f)](_0xb928f):'\x20'['repeat'](_0xb928f);switch(_0xb3279[_0x16d6c5(0x133)]){case _0x16d6c5(0x137):_0x5c506b[_0x16d6c5(0x13d)](a192_0x403bb1[_0x16d6c5(0x144)](_0x2c5c1b+'\x20'+_0x37951f+_0x16d6c5(0x145)+_0xb3279[_0x16d6c5(0x149)]));break;case'added':_0x5c506b['push'](a192_0x403bb1[_0x16d6c5(0x138)](_0x2c5c1b+'\x20'+_0x37951f+'\x20+\x20'+_0xb3279[_0x16d6c5(0x149)]));break;default:_0x5c506b[_0x16d6c5(0x13d)](a192_0x403bb1[_0x16d6c5(0x155)](_0x2c5c1b+'\x20'+_0x37951f+_0x16d6c5(0x151)+_0xb3279[_0x16d6c5(0x149)]));break;}}return _0x5c506b[_0x16d6c5(0x14a)]('\x0a');}function a192_0x34f0(_0x445b73,_0x1793e6){_0x445b73=_0x445b73-0x12e;const _0x535ab4=a192_0x535a();let _0x34f0e3=_0x535ab4[_0x445b73];return _0x34f0e3;}export function hasChanges(_0x1d28b8){const _0x540c8f=a192_0x34f0;return _0x1d28b8[_0x540c8f(0x140)](_0x4b31b5=>_0x4b31b5[_0x540c8f(0x133)]!==_0x540c8f(0x14b));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x17ca11,_0xb354da){const _0x328a15=a193_0xf798,_0x266699=_0x17ca11();while(!![]){try{const _0x2cdd1b=parseInt(_0x328a15(0x16b))/0x1*(parseInt(_0x328a15(0x16d))/0x2)+-parseInt(_0x328a15(0x16f))/0x3+parseInt(_0x328a15(0x16c))/0x4+parseInt(_0x328a15(0x168))/0x5*(-parseInt(_0x328a15(0x15e))/0x6)+-parseInt(_0x328a15(0x15f))/0x7+parseInt(_0x328a15(0x171))/0x8+parseInt(_0x328a15(0x163))/0x9*(-parseInt(_0x328a15(0x170))/0xa);if(_0x2cdd1b===_0xb354da)break;else _0x266699['push'](_0x266699['shift']());}catch(_0x567f34){_0x266699['push'](_0x266699['shift']());}}}(a193_0x5687,0x66e19));import*as a193_0x543540 from'node:fs';import*as a193_0x5b181c from'node:path';function a193_0xf798(_0x3a7c8a,_0x23c38d){_0x3a7c8a=_0x3a7c8a-0x15e;const _0x568775=a193_0x5687();let _0xf798e4=_0x568775[_0x3a7c8a];return _0xf798e4;}export function setSecureFilePermissions(_0x1c6b2e){const _0x1180f9=a193_0xf798;try{a193_0x543540[_0x1180f9(0x16a)](_0x1c6b2e,0x180);}catch{console[_0x1180f9(0x160)](_0x1180f9(0x164)+_0x1c6b2e);}}export function setSecureDirectoryPermissions(_0x530f6d){const _0x33ed83=a193_0xf798;try{a193_0x543540[_0x33ed83(0x16a)](_0x530f6d,0x1c0);}catch{console['warn'](_0x33ed83(0x164)+_0x530f6d);}}export function createSecureDirectory(_0x1593bd){const _0x793de6=a193_0xf798;!a193_0x543540[_0x793de6(0x173)](_0x1593bd)&&(a193_0x543540['mkdirSync'](_0x1593bd,{'recursive':!![],'mode':0x1c0}),setSecureDirectoryPermissions(_0x1593bd));}export function validateSecureFilePermissions(_0x213028){const _0x148f03=a193_0xf798;try{const _0x56a63e=a193_0x543540[_0x148f03(0x165)](_0x213028),_0x3ffe79=_0x56a63e[_0x148f03(0x169)]&0x1ff,_0x2fb814=(_0x3ffe79&0x3f)!==0x0;if(_0x2fb814)return console[_0x148f03(0x160)](_0x148f03(0x166)+_0x213028+_0x148f03(0x174)+_0x3ffe79[_0x148f03(0x162)](0x8)+_0x148f03(0x172)+_0x148f03(0x167)),![];return!![];}catch{return!![];}}export function writeSecureFile(_0xdf7a4e,_0x4a6474){const _0x4f39cb=a193_0xf798,_0x5cf9b4=a193_0x5b181c[_0x4f39cb(0x16e)](_0xdf7a4e);createSecureDirectory(_0x5cf9b4),a193_0x543540[_0x4f39cb(0x161)](_0xdf7a4e,_0x4a6474,{'mode':0x180}),setSecureFilePermissions(_0xdf7a4e);}function a193_0x5687(){const _0x199fe7=['\x20has\x20insecure\x20permissions\x20(','6epAZsh','2876181njNNLr','warn','writeFileSync','toString','2481210GivMgZ','Warning:\x20Could\x20not\x20set\x20secure\x20permissions\x20on\x20','statSync','Warning:\x20','Should\x20be\x200600\x20or\x20more\x20restrictive.','1299530uQYGnW','mode','chmodSync','822159slvqtn','931324XgfEgP','2aJuDLf','dirname','749910ZxvhBu','10kOrHQW','4502880KaBMiA',').\x20','existsSync'];a193_0x5687=function(){return _0x199fe7;};return a193_0x5687();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a194_0x63c4(_0x26238b,_0x4f2b79){_0x26238b=_0x26238b-0x16f;const _0x3608da=a194_0x3608();let _0x63c4d7=_0x3608da[_0x26238b];return _0x63c4d7;}(function(_0x5e3900,_0x3313d3){const _0x303d40=a194_0x63c4,_0x431b63=_0x5e3900();while(!![]){try{const _0x27e6ac=-parseInt(_0x303d40(0x175))/0x1*(parseInt(_0x303d40(0x17e))/0x2)+parseInt(_0x303d40(0x178))/0x3+parseInt(_0x303d40(0x16f))/0x4+-parseInt(_0x303d40(0x171))/0x5+parseInt(_0x303d40(0x17c))/0x6*(parseInt(_0x303d40(0x174))/0x7)+-parseInt(_0x303d40(0x179))/0x8+-parseInt(_0x303d40(0x173))/0x9;if(_0x27e6ac===_0x3313d3)break;else _0x431b63['push'](_0x431b63['shift']());}catch(_0x34bbce){_0x431b63['push'](_0x431b63['shift']());}}}(a194_0x3608,0xc33bb));function a194_0x3608(){const _0x51f934=['24bpQdeV','PERMISSION_DENIED','2156494dDWPoo','File\x20\x27','\x27\x20not\x20found','Error\x20reading\x20file\x20\x27','4522292oiiUUx','message','6025865Dvchmt','INTERNAL','1165923cGEnJP','1007461EbUhVX','1huBwTS','NOT_FOUND','\x27:\x20','4540812bLEVuG','57816LiNcxt','EACCES','ENOENT'];a194_0x3608=function(){return _0x51f934;};return a194_0x3608();}import{readFileSync}from'fs';import{SDKError,ErrorCode}from'../sdk/errors.js';export function readFileContent(_0x46083d){const _0xcbc7f9=a194_0x63c4;try{return readFileSync(_0x46083d,'utf-8');}catch(_0x285c4a){const _0xbddf4d=_0x285c4a['code'];if(_0xbddf4d===_0xcbc7f9(0x17b))throw new SDKError(ErrorCode[_0xcbc7f9(0x176)],_0xcbc7f9(0x17f)+_0x46083d+_0xcbc7f9(0x180),_0x285c4a);else{if(_0xbddf4d===_0xcbc7f9(0x17a))throw new SDKError(ErrorCode[_0xcbc7f9(0x17d)],'Permission\x20denied\x20reading\x20file\x20\x27'+_0x46083d+'\x27',_0x285c4a);else throw new SDKError(ErrorCode[_0xcbc7f9(0x172)],_0xcbc7f9(0x181)+_0x46083d+_0xcbc7f9(0x177)+_0x285c4a[_0xcbc7f9(0x170)],_0x285c4a);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x373920,_0x1ed089){const _0x19abca=a195_0x5559,_0x5b2022=_0x373920();while(!![]){try{const _0x5d3bea=-parseInt(_0x19abca(0x14c))/0x1+-parseInt(_0x19abca(0x14f))/0x2*(parseInt(_0x19abca(0x164))/0x3)+parseInt(_0x19abca(0x14b))/0x4*(-parseInt(_0x19abca(0x162))/0x5)+parseInt(_0x19abca(0x14d))/0x6*(parseInt(_0x19abca(0x157))/0x7)+-parseInt(_0x19abca(0x159))/0x8*(parseInt(_0x19abca(0x152))/0x9)+-parseInt(_0x19abca(0x161))/0xa*(parseInt(_0x19abca(0x160))/0xb)+parseInt(_0x19abca(0x165))/0xc;if(_0x5d3bea===_0x1ed089)break;else _0x5b2022['push'](_0x5b2022['shift']());}catch(_0x5f1089){_0x5b2022['push'](_0x5b2022['shift']());}}}(a195_0x30f8,0x81737));import*as a195_0x26dae8 from'node:https';const REQUEST_TIMEOUT_MS=0x2710,CACHE_TTL_MS=0x5*0x3c*0x3e8,cache=new Map();function a195_0x5559(_0x584020,_0x49fd20){_0x584020=_0x584020-0x148;const _0x30f89f=a195_0x30f8();let _0x555921=_0x30f89f[_0x584020];return _0x555921;}function a195_0x30f8(){const _0x4e2278=['1343000UYBzcG','next','GitHub\x20API\x20request\x20timed\x20out\x20after\x20','data','parse','get','application/vnd.github+json','107921dpJeBU','130ngAdkx','79790XBOIZe','slice','87OOUcuy','38159580uwpyFA','end','releases','resolve','tag_name','100sQqLcR','910610jqgLPK','18BENMnr','length','53774NqtWkF','/releases?per_page=20','find','45TWSgNd','statusCode','/repos/','now','prerelease','948423BJwZUF','timeout'];a195_0x30f8=function(){return _0x4e2278;};return a195_0x30f8();}export function fetchGitHubReleases(_0x50123f,_0x124e2e,_0x30fe8f){const _0x1851c1=a195_0x5559,_0x872410=_0x50123f+'/'+_0x124e2e,_0x50234c=cache[_0x1851c1(0x15e)](_0x872410);if(_0x50234c&&Date[_0x1851c1(0x155)]()-_0x50234c['fetchedAt']<CACHE_TTL_MS)return Promise[_0x1851c1(0x149)](_0x50234c[_0x1851c1(0x148)]);return new Promise((_0x56c599,_0x393835)=>{const _0x5d8904=_0x1851c1,_0xdabce0={'hostname':'api.github.com','path':_0x5d8904(0x154)+_0x50123f+'/'+_0x124e2e+_0x5d8904(0x150),'headers':{'User-Agent':_0x30fe8f,'Accept':_0x5d8904(0x15f)},'timeout':REQUEST_TIMEOUT_MS},_0x34511f=a195_0x26dae8['get'](_0xdabce0,_0x50f951=>{const _0x1689a6=_0x5d8904;let _0x3c142c='';_0x50f951['on'](_0x1689a6(0x15c),_0x56910d=>{_0x3c142c+=_0x56910d['toString']();}),_0x50f951['on'](_0x1689a6(0x166),()=>{const _0x21e415=_0x1689a6;if(_0x50f951[_0x21e415(0x153)]!==0xc8){_0x393835(new Error('GitHub\x20API\x20returned\x20'+_0x50f951[_0x21e415(0x153)]+':\x20'+_0x3c142c[_0x21e415(0x163)](0x0,0xc8)));return;}try{const _0x3969bb=JSON[_0x21e415(0x15d)](_0x3c142c);cache['set'](_0x872410,{'releases':_0x3969bb,'fetchedAt':Date['now']()}),_0x56c599(_0x3969bb);}catch(_0x3309d2){_0x393835(_0x3309d2);}});});_0x34511f['on'](_0x5d8904(0x158),()=>{const _0x5d4e2c=_0x5d8904;_0x34511f['destroy'](),_0x393835(new Error(_0x5d4e2c(0x15b)+REQUEST_TIMEOUT_MS+'ms'));}),_0x34511f['on']('error',_0x393835);});}export async function resolveReleaseTag(_0x414232,_0x1d220d,_0x26ddbc,_0x48c0c4){const _0x5750d7=a195_0x5559,_0x3d8f5b=await fetchGitHubReleases(_0x1d220d,_0x26ddbc,_0x48c0c4);if(_0x3d8f5b[_0x5750d7(0x14e)]===0x0)return null;if(_0x414232===_0x5750d7(0x15a))return _0x3d8f5b[0x0][_0x5750d7(0x14a)];const _0x293cb8=_0x3d8f5b[_0x5750d7(0x151)](_0x1f5a9e=>!_0x1f5a9e[_0x5750d7(0x156)]);return _0x293cb8?_0x293cb8[_0x5750d7(0x14a)]:null;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2ff8a5,_0x4bc88e){const _0x31bfbc=a196_0x2ec4,_0x21f43e=_0x2ff8a5();while(!![]){try{const _0x4b586a=parseInt(_0x31bfbc(0x183))/0x1+parseInt(_0x31bfbc(0x17f))/0x2+-parseInt(_0x31bfbc(0x182))/0x3*(-parseInt(_0x31bfbc(0x17d))/0x4)+parseInt(_0x31bfbc(0x187))/0x5+parseInt(_0x31bfbc(0x18d))/0x6*(-parseInt(_0x31bfbc(0x188))/0x7)+-parseInt(_0x31bfbc(0x17e))/0x8+-parseInt(_0x31bfbc(0x18c))/0x9;if(_0x4b586a===_0x4bc88e)break;else _0x21f43e['push'](_0x21f43e['shift']());}catch(_0x3d8348){_0x21f43e['push'](_0x21f43e['shift']());}}}(a196_0x4dd6,0x29864));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join}from'path';import{homedir}from'os';export function getGlobalCacheDir(){const _0x1c003a=a196_0x2ec4;return process.env.TDX_CACHE_DIR||join(homedir(),_0x1c003a(0x192),_0x1c003a(0x185));}function a196_0x4dd6(){const _0x7b83cf=['replace','utf-8','58998ALCWmX','206613tqRpUB','\x22,\x20cannot\x20register\x20for\x20\x22','tdx','stringify','324030csDdVF','7sAeMOy','{profile}','parse','default','659934DRUrHm','563766nBhOma','set','Global\x20cache\x20key\x20\x22','\x22\x20already\x20registered\x20by\x20\x22','get','.cache','44JkipeY','1983296APGBVA','195076fJXyDk'];a196_0x4dd6=function(){return _0x7b83cf;};return a196_0x4dd6();}const registry=new Map();export function registerGlobalCacheKey(_0x568a4b,_0x234fb6){const _0x360493=a196_0x2ec4,_0x512b1e=registry[_0x360493(0x191)](_0x568a4b);if(_0x512b1e&&_0x512b1e!==_0x234fb6)throw new Error(_0x360493(0x18f)+_0x568a4b+_0x360493(0x190)+_0x512b1e+_0x360493(0x184)+_0x234fb6+'\x22');registry[_0x360493(0x18e)](_0x568a4b,_0x234fb6);}export function getGlobalCachePath(_0x516b3b){return join(getGlobalCacheDir(),_0x516b3b);}function ensureGlobalCacheDir(){const _0x5016e1=getGlobalCacheDir();!existsSync(_0x5016e1)&&mkdirSync(_0x5016e1,{'recursive':!![]});}function a196_0x2ec4(_0x18a8b1,_0x2e11f6){_0x18a8b1=_0x18a8b1-0x17d;const _0x4dd679=a196_0x4dd6();let _0x2ec4e1=_0x4dd679[_0x18a8b1];return _0x2ec4e1;}function readCacheJson(_0x4d267a){const _0x5429d9=a196_0x2ec4,_0x279013=getGlobalCachePath(_0x4d267a);if(!existsSync(_0x279013))return undefined;try{const _0x406914=readFileSync(_0x279013,_0x5429d9(0x181));return JSON[_0x5429d9(0x18a)](_0x406914);}catch{return undefined;}}function writeCacheJson(_0x5df838,_0x752a7f){const _0x27ff48=a196_0x2ec4;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x5df838),JSON[_0x27ff48(0x186)](_0x752a7f,null,0x2),_0x27ff48(0x181));}function readCacheText(_0x5bd7b7){const _0x42d63c=a196_0x2ec4,_0x52aa02=getGlobalCachePath(_0x5bd7b7);if(!existsSync(_0x52aa02))return undefined;try{return readFileSync(_0x52aa02,_0x42d63c(0x181));}catch{return undefined;}}function writeCacheText(_0x2d9951,_0x42edbd){const _0x5d73a5=a196_0x2ec4;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x2d9951),_0x42edbd,_0x5d73a5(0x181));}function clearCache(_0x50a063){const _0x1fdf48=getGlobalCachePath(_0x50a063);if(existsSync(_0x1fdf48))try{unlinkSync(_0x1fdf48);}catch{}}function cacheExists(_0x5bcc52){return existsSync(getGlobalCachePath(_0x5bcc52));}export function createGlobalCache(_0x28089b,_0x3566b2){return registerGlobalCacheKey(_0x28089b,_0x3566b2),{'read':()=>readCacheJson(_0x28089b),'write':_0xb9c285=>writeCacheJson(_0x28089b,_0xb9c285),'clear':()=>clearCache(_0x28089b),'exists':()=>cacheExists(_0x28089b),'path':()=>getGlobalCachePath(_0x28089b)};}export function createGlobalTextCache(_0x3466f8,_0x49ee38){return registerGlobalCacheKey(_0x3466f8,_0x49ee38),{'read':()=>readCacheText(_0x3466f8)?.['trim']()||undefined,'write':_0x47f5a6=>writeCacheText(_0x3466f8,_0x47f5a6),'clear':()=>clearCache(_0x3466f8),'exists':()=>cacheExists(_0x3466f8),'path':()=>getGlobalCachePath(_0x3466f8)};}export function createProfileCache(_0x47c323,_0x35367a){const _0x99bed9=_0x2086fc=>{const _0x33886c=a196_0x2ec4,_0x2f4f78=_0x2086fc||_0x33886c(0x18b);return _0x47c323[_0x33886c(0x180)](_0x33886c(0x189),_0x2f4f78);};return{'read':_0x5b1b44=>{const _0x33cff2=_0x99bed9(_0x5b1b44);return registerGlobalCacheKey(_0x33cff2,_0x35367a),readCacheJson(_0x33cff2);},'write':(_0xf89848,_0x2b9e75)=>{const _0x404e18=_0x99bed9(_0xf89848);registerGlobalCacheKey(_0x404e18,_0x35367a),writeCacheJson(_0x404e18,_0x2b9e75);},'clear':_0x2c58b1=>{const _0x473690=_0x99bed9(_0x2c58b1);clearCache(_0x473690);},'exists':_0x2c2546=>{const _0x2624fc=_0x99bed9(_0x2c2546);return cacheExists(_0x2624fc);},'path':_0x59d837=>{const _0x2b4e1c=_0x99bed9(_0x59d837);return getGlobalCachePath(_0x2b4e1c);}};}export function createOptionalProfileCache(_0x4ac5e8,_0x5246f3,_0x25684f={}){const {profileSeparator:profileSeparator='.',suffix:suffix=''}=_0x25684f,_0x1d9f82=_0x162575=>{return _0x162575?''+_0x4ac5e8+profileSeparator+_0x162575+suffix:''+_0x4ac5e8+suffix;};return{'read':_0x5027db=>{const _0x15ce25=_0x1d9f82(_0x5027db);return registerGlobalCacheKey(_0x15ce25,_0x5246f3),readCacheJson(_0x15ce25);},'write':(_0x33d6e0,_0x26ec2e)=>{const _0x4a8516=_0x1d9f82(_0x26ec2e);registerGlobalCacheKey(_0x4a8516,_0x5246f3),writeCacheJson(_0x4a8516,_0x33d6e0);},'clear':_0xa60c=>{const _0xfada98=_0x1d9f82(_0xa60c);clearCache(_0xfada98);},'exists':_0x36d9e3=>{const _0x2cdd14=_0x1d9f82(_0x36d9e3);return cacheExists(_0x2cdd14);},'path':_0x3a2672=>{const _0x4acb1b=_0x1d9f82(_0x3a2672);return getGlobalCachePath(_0x4acb1b);}};}export function clearGlobalRegistry(){registry['clear']();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3dcb7b,_0x380b7a){const _0x23a6f4=a197_0x20bf,_0x6b524e=_0x3dcb7b();while(!![]){try{const _0x2238e8=-parseInt(_0x23a6f4(0x97))/0x1+parseInt(_0x23a6f4(0x8f))/0x2+parseInt(_0x23a6f4(0x99))/0x3+-parseInt(_0x23a6f4(0xa3))/0x4*(-parseInt(_0x23a6f4(0x94))/0x5)+-parseInt(_0x23a6f4(0x91))/0x6*(parseInt(_0x23a6f4(0x96))/0x7)+parseInt(_0x23a6f4(0x9d))/0x8+parseInt(_0x23a6f4(0x92))/0x9;if(_0x2238e8===_0x380b7a)break;else _0x6b524e['push'](_0x6b524e['shift']());}catch(_0x4b0043){_0x6b524e['push'](_0x6b524e['shift']());}}}(a197_0x443d,0x69049));import{readFile}from'fs/promises';import{SDKError,ErrorCode}from'../sdk/errors.js';function a197_0x20bf(_0x1e3907,_0x586694){_0x1e3907=_0x1e3907-0x8f;const _0x443dd5=a197_0x443d();let _0x20bfb5=_0x443dd5[_0x1e3907];return _0x20bfb5;}export async function loadJSON(_0x407ef4,_0x5e1f99){const _0x1a6abe=a197_0x20bf;try{if(_0x5e1f99){const _0x5b99cf=await readFile(_0x407ef4,'utf-8');try{return JSON[_0x1a6abe(0x9e)](_0x5b99cf);}catch(_0x535bdd){throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x1a6abe(0x93)+_0x407ef4+_0x1a6abe(0x95)+(_0x535bdd instanceof Error?_0x535bdd[_0x1a6abe(0xa6)]:String(_0x535bdd)));}}else try{return JSON[_0x1a6abe(0x9e)](_0x407ef4);}catch(_0x7b0d4e){throw new SDKError(ErrorCode[_0x1a6abe(0x98)],_0x1a6abe(0x90)+(_0x7b0d4e instanceof Error?_0x7b0d4e['message']:String(_0x7b0d4e)));}}catch(_0x3fef7f){if(_0x3fef7f instanceof SDKError)throw _0x3fef7f;if(_0x3fef7f instanceof Error&&_0x1a6abe(0xa5)in _0x3fef7f){const _0x4496fe=_0x3fef7f;if(_0x4496fe[_0x1a6abe(0xa5)]==='ENOENT')throw new SDKError(ErrorCode[_0x1a6abe(0x9b)],_0x1a6abe(0xa4)+_0x407ef4);else{if(_0x4496fe[_0x1a6abe(0xa5)]===_0x1a6abe(0x9a))throw new SDKError(ErrorCode[_0x1a6abe(0xa2)],_0x1a6abe(0xa1)+_0x407ef4);}}throw new SDKError(ErrorCode[_0x1a6abe(0xa0)],_0x1a6abe(0x9f)+(_0x3fef7f instanceof Error?_0x3fef7f[_0x1a6abe(0xa6)]:String(_0x3fef7f)));}}function a197_0x443d(){const _0x17e51f=['INTERNAL','Permission\x20denied\x20reading\x20file:\x20','PERMISSION_DENIED','77304TGztwF','File\x20not\x20found:\x20','code','message','204536NmdENh','Invalid\x20JSON\x20string:\x20','48OanJQc','8950617HlJAmK','Invalid\x20JSON\x20in\x20file\x20\x27','80qVNQwr','\x27:\x20','732151rTlLzl','576628HaAFMu','INVALID_ARGUMENT','1013388UPDAvz','EACCES','NOT_FOUND','Cannot\x20specify\x20both\x20inline\x20JSON\x20and\x20file\x20path.\x20Use\x20one\x20or\x20the\x20other.','797856yMFSHn','parse','Failed\x20to\x20load\x20JSON:\x20'];a197_0x443d=function(){return _0x17e51f;};return a197_0x443d();}export async function loadJSONFromOptions(_0x92727,_0x49bd91){const _0x53ce5f=a197_0x20bf;if(_0x92727&&_0x49bd91)throw new SDKError(ErrorCode[_0x53ce5f(0x98)],_0x53ce5f(0x9c));if(_0x92727)return await loadJSON(_0x92727,![]);if(_0x49bd91)return await loadJSON(_0x49bd91,!![]);return undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x17a476,_0x13cfc5){const _0x3f4fdf=a198_0x204a,_0x555b4c=_0x17a476();while(!![]){try{const _0x425347=parseInt(_0x3f4fdf(0x190))/0x1*(parseInt(_0x3f4fdf(0x194))/0x2)+-parseInt(_0x3f4fdf(0x19e))/0x3*(parseInt(_0x3f4fdf(0x197))/0x4)+-parseInt(_0x3f4fdf(0x18c))/0x5+parseInt(_0x3f4fdf(0x19d))/0x6*(parseInt(_0x3f4fdf(0x193))/0x7)+parseInt(_0x3f4fdf(0x19c))/0x8*(parseInt(_0x3f4fdf(0x195))/0x9)+-parseInt(_0x3f4fdf(0x18b))/0xa+parseInt(_0x3f4fdf(0x19f))/0xb*(-parseInt(_0x3f4fdf(0x1a0))/0xc);if(_0x425347===_0x13cfc5)break;else _0x555b4c['push'](_0x555b4c['shift']());}catch(_0x2236e3){_0x555b4c['push'](_0x555b4c['shift']());}}}(a198_0x58b9,0x278e2));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join,parse}from'path';import{homedir}from'os';const LOCAL_CACHE_DIR='.cache/tdx',registry=new Map();export function registerCacheKey(_0xdb0721,_0x5aeec5){const _0x5d62ce=a198_0x204a,_0x30d4f4=registry[_0x5d62ce(0x198)](_0xdb0721);if(_0x30d4f4&&_0x30d4f4!==_0x5aeec5)throw new Error(_0x5d62ce(0x19b)+_0xdb0721+_0x5d62ce(0x196)+_0x30d4f4+_0x5d62ce(0x1a1)+_0x5aeec5+'\x22');registry[_0x5d62ce(0x191)](_0xdb0721,_0x5aeec5);}export function getCacheDir(){const _0xd27cd8=a198_0x204a,_0xdbbcf=process[_0xd27cd8(0x199)](),_0xea5f99=_0xdbbcf===parse(_0xdbbcf)[_0xd27cd8(0x18d)]?homedir():_0xdbbcf;return join(_0xea5f99,LOCAL_CACHE_DIR);}export function getCachePath(_0x289a4b){return join(getCacheDir(),_0x289a4b);}function ensureCacheDir(){const _0x460d01=getCacheDir();!existsSync(_0x460d01)&&mkdirSync(_0x460d01,{'recursive':!![]});}function readCacheJson(_0x426e40){const _0x4717a5=a198_0x204a,_0x318532=getCachePath(_0x426e40);if(!existsSync(_0x318532))return undefined;try{const _0x5cb529=readFileSync(_0x318532,_0x4717a5(0x19a));return JSON[_0x4717a5(0x18a)](_0x5cb529);}catch{return undefined;}}function writeCacheJson(_0x5b502a,_0x2e0829){const _0x3fc9ae=a198_0x204a;ensureCacheDir(),writeFileSync(getCachePath(_0x5b502a),JSON[_0x3fc9ae(0x18e)](_0x2e0829,null,0x2),_0x3fc9ae(0x19a));}function readCacheText(_0x102671){const _0x1e9b1c=a198_0x204a,_0x448d66=getCachePath(_0x102671);if(!existsSync(_0x448d66))return undefined;try{return readFileSync(_0x448d66,_0x1e9b1c(0x19a));}catch{return undefined;}}function writeCacheText(_0x93fef3,_0x5efbde){const _0xf19dc9=a198_0x204a;ensureCacheDir(),writeFileSync(getCachePath(_0x93fef3),_0x5efbde,_0xf19dc9(0x19a));}function clearCache(_0x53ec2d){const _0x39d753=getCachePath(_0x53ec2d);if(existsSync(_0x39d753))try{unlinkSync(_0x39d753);}catch{}}function cacheExists(_0x50e02e){return existsSync(getCachePath(_0x50e02e));}function a198_0x204a(_0x2511d8,_0x46cb77){_0x2511d8=_0x2511d8-0x18a;const _0x58b9a4=a198_0x58b9();let _0x204a9e=_0x58b9a4[_0x2511d8];return _0x204a9e;}export function createCache(_0x551abc,_0x14616d){return registerCacheKey(_0x551abc,_0x14616d),{'read':()=>readCacheJson(_0x551abc),'write':_0x37f193=>writeCacheJson(_0x551abc,_0x37f193),'clear':()=>clearCache(_0x551abc),'exists':()=>cacheExists(_0x551abc),'path':()=>getCachePath(_0x551abc)};}export function createTextCache(_0x178710,_0x3ac011){const _0x186275=a198_0x204a;return registerCacheKey(_0x178710,_0x3ac011),{'read':()=>readCacheText(_0x178710)?.[_0x186275(0x18f)]()||undefined,'write':_0x27e154=>writeCacheText(_0x178710,_0x27e154),'clear':()=>clearCache(_0x178710),'exists':()=>cacheExists(_0x178710),'path':()=>getCachePath(_0x178710)};}function a198_0x58b9(){const _0x21151b=['4856OHFble','30vBoAKy','16818kyVKgt','165iJlRhV','20184mydyxa','\x22,\x20cannot\x20register\x20for\x20\x22','parse','2139260VrgSpN','351445UrYNOI','root','stringify','trim','1FjRJTB','set','clear','18613msgRkm','546498rsQKGq','3573ahnLSU','\x22\x20already\x20registered\x20by\x20\x22','40xtnEre','get','cwd','utf-8','Cache\x20key\x20\x22'];a198_0x58b9=function(){return _0x21151b;};return a198_0x58b9();}export function clearRegistry(){const _0x251118=a198_0x204a;registry[_0x251118(0x192)]();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a199_0x1ef470=a199_0x134a;function a199_0x134a(_0x40db65,_0x4261b8){_0x40db65=_0x40db65-0x93;const _0x49dce8=a199_0x49dc();let _0x134ad2=_0x49dce8[_0x40db65];return _0x134ad2;}function a199_0x49dc(){const _0x7f618b=['blue','cyan','7024tJnvzh','WARN','colors','Chalk','colorLevel','message','gray','3281264RmoLer',']\x20[','level','762bRnRRP','DEBUG','20285MHVOyB','chalk','369GCwERj','11ZDCNVL','253208eWdhSU','38289kMnsup','green','15971110qjjLaQ','16KzhzIz','391596LCkItf','yellow'];a199_0x49dc=function(){return _0x7f618b;};return a199_0x49dc();}(function(_0x2304d3,_0x270e43){const _0x5cdd8a=a199_0x134a,_0xb88204=_0x2304d3();while(!![]){try{const _0x5a31c1=-parseInt(_0x5cdd8a(0x98))/0x1*(parseInt(_0x5cdd8a(0x9b))/0x2)+parseInt(_0x5cdd8a(0x9c))/0x3+-parseInt(_0x5cdd8a(0x97))/0x4+parseInt(_0x5cdd8a(0x93))/0x5*(-parseInt(_0x5cdd8a(0xaa))/0x6)+-parseInt(_0x5cdd8a(0xa7))/0x7+-parseInt(_0x5cdd8a(0xa0))/0x8*(parseInt(_0x5cdd8a(0x95))/0x9)+parseInt(_0x5cdd8a(0x9a))/0xa*(parseInt(_0x5cdd8a(0x96))/0xb);if(_0x5a31c1===_0x270e43)break;else _0xb88204['push'](_0xb88204['shift']());}catch(_0x40af8b){_0xb88204['push'](_0xb88204['shift']());}}}(a199_0x49dc,0x52878));import a199_0x3e4550 from'chalk';import{LogLevel,logLevelToString,formatTimestamp}from'../types.js';const chalkModule=a199_0x3e4550,ChalkClass=chalkModule[a199_0x1ef470(0xa3)]||chalkModule['default']?.[a199_0x1ef470(0xa3)];export class DefaultLogFormatter{['colors'];[a199_0x1ef470(0x94)];constructor(_0x80d887={}){const _0x3dd782=a199_0x1ef470;this[_0x3dd782(0xa2)]=_0x80d887[_0x3dd782(0xa2)]??![],this[_0x3dd782(0x94)]=_0x80d887[_0x3dd782(0xa2)]&&ChalkClass?new ChalkClass({'level':0x3}):a199_0x3e4550;}['format'](_0x4b9915){const _0x14685e=a199_0x1ef470,_0x4aff6f=formatTimestamp(_0x4b9915['timestamp']),_0x53e0e5=logLevelToString(_0x4b9915[_0x14685e(0xa9)]);if(!this[_0x14685e(0xa2)])return _0x4aff6f+'\x20['+_0x53e0e5+_0x14685e(0xa8)+_0x4b9915['component']+']\x20'+_0x4b9915[_0x14685e(0xa5)];const _0x99c696=this[_0x14685e(0x94)]['dim'](_0x4aff6f),_0x258350=this[_0x14685e(0xa4)](_0x53e0e5,_0x4b9915[_0x14685e(0xa9)]),_0x2240b0=this[_0x14685e(0x94)][_0x14685e(0x9e)]('['+_0x4b9915['component']+']');return _0x99c696+'\x20'+_0x258350+'\x20'+_0x2240b0+'\x20'+_0x4b9915[_0x14685e(0xa5)];}['colorLevel'](_0x4888ca,_0x22430f){const _0x19192d=a199_0x1ef470;switch(_0x22430f){case LogLevel['TRACE']:return this[_0x19192d(0x94)][_0x19192d(0xa6)]('['+_0x4888ca+']');case LogLevel[_0x19192d(0xab)]:return this[_0x19192d(0x94)][_0x19192d(0x99)]('['+_0x4888ca+']');case LogLevel['INFO']:return this['chalk'][_0x19192d(0x9f)]('['+_0x4888ca+']');case LogLevel[_0x19192d(0xa1)]:return this[_0x19192d(0x94)][_0x19192d(0x9d)]('['+_0x4888ca+']');case LogLevel['ERROR']:return this[_0x19192d(0x94)]['red']('['+_0x4888ca+']');default:return'['+_0x4888ca+']';}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a200_0x370f(_0x13238f,_0xb2875){_0x13238f=_0x13238f-0x1a6;var _0x32b2a1=a200_0x32b2();var _0x370f45=_0x32b2a1[_0x13238f];return _0x370f45;}(function(_0x32daf9,_0x582545){var _0x590844=a200_0x370f,_0x12758c=_0x32daf9();while(!![]){try{var _0x4b3a60=-parseInt(_0x590844(0x1ab))/0x1*(-parseInt(_0x590844(0x1a8))/0x2)+-parseInt(_0x590844(0x1aa))/0x3+parseInt(_0x590844(0x1a9))/0x4*(parseInt(_0x590844(0x1ae))/0x5)+-parseInt(_0x590844(0x1b0))/0x6*(parseInt(_0x590844(0x1a7))/0x7)+-parseInt(_0x590844(0x1ad))/0x8*(-parseInt(_0x590844(0x1a6))/0x9)+parseInt(_0x590844(0x1ac))/0xa+-parseInt(_0x590844(0x1af))/0xb;if(_0x4b3a60===_0x582545)break;else _0x12758c['push'](_0x12758c['shift']());}catch(_0x27dcb1){_0x12758c['push'](_0x12758c['shift']());}}}(a200_0x32b2,0x73071));export{DefaultLogFormatter}from'./default-formatter.js';function a200_0x32b2(){var _0x4492bc=['152404JMUWFr','15462ASvIhV','4hRiIfP','2528196CfFzia','25ebkDMy','7129550SQvJsx','1000xBhVER','3775205vbRoeU','1178430wSCcyo','138OJAokp','18756HlsbKL'];a200_0x32b2=function(){return _0x4492bc;};return a200_0x32b2();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a201_0x15e915=a201_0x5915;(function(_0x3b2a6d,_0x372605){const _0x6a093e=a201_0x5915,_0x41483a=_0x3b2a6d();while(!![]){try{const _0x56a35c=-parseInt(_0x6a093e(0xd0))/0x1*(-parseInt(_0x6a093e(0xd4))/0x2)+parseInt(_0x6a093e(0xd6))/0x3+-parseInt(_0x6a093e(0xcd))/0x4+parseInt(_0x6a093e(0xd7))/0x5+-parseInt(_0x6a093e(0xcf))/0x6*(parseInt(_0x6a093e(0xca))/0x7)+parseInt(_0x6a093e(0xcc))/0x8+-parseInt(_0x6a093e(0xc9))/0x9;if(_0x56a35c===_0x372605)break;else _0x41483a['push'](_0x41483a['shift']());}catch(_0x47e0ba){_0x41483a['push'](_0x41483a['shift']());}}}(a201_0x13bd,0xa055f));import{LogLevel as a201_0x7ac904}from'../types.js';function a201_0x5915(_0x218dd7,_0x3daa4a){_0x218dd7=_0x218dd7-0xc7;const _0x13bdb3=a201_0x13bd();let _0x59151d=_0x13bdb3[_0x218dd7];return _0x59151d;}function a201_0x13bd(){const _0x337a63=['WARN','2013480fNtvKr','3449950SMFDIl','useStderr','formatter','1891701yQQrNF','336SXDMEp','minLevel','7919112WhpNTf','4696668YDLBhf','format','80334ucHTdQ','3961TrOklz','log','level','colors','168DsoPWh'];a201_0x13bd=function(){return _0x337a63;};return a201_0x13bd();}import{DefaultLogFormatter}from'../formatters/index.js';export class ConsoleHandler{['minLevel'];[a201_0x15e915(0xc7)];[a201_0x15e915(0xc8)];constructor(_0x515633={}){const _0x422b3f=a201_0x15e915;this[_0x422b3f(0xcb)]=_0x515633[_0x422b3f(0xcb)]??a201_0x7ac904[_0x422b3f(0xd5)],this[_0x422b3f(0xc7)]=_0x515633[_0x422b3f(0xc7)]??!![],this[_0x422b3f(0xc8)]=new DefaultLogFormatter({'colors':_0x515633[_0x422b3f(0xd3)]??!![]});}['handle'](_0x102aba){const _0x411914=a201_0x15e915;if(_0x102aba['level']<this['minLevel'])return;const _0xe36a01=this[_0x411914(0xc8)][_0x411914(0xce)](_0x102aba);this[_0x411914(0xc7)]&&_0x102aba[_0x411914(0xd2)]>=a201_0x7ac904['WARN']?console['error'](_0xe36a01):console[_0x411914(0xd1)](_0xe36a01);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a202_0x1192(){const _0x308547=['5214pFRRCS','1385VATdbe','2WtUfEU','write','324604pIcyTf','9827301XHUqzi','566592QCbtor','mtime','-(\x5cd{4}-\x5cd{2}-\x5cd{2})\x5c.log$','toISOString','15858FFVnsT','logStream','format','test','939756qGQPyU','message','logFileName','logBaseName','logs','error','split','rotateOldLogs','Warning:\x20Failed\x20to\x20initialize\x20log\x20file:','3kkmTJo','1559726bYzNLb','init','close','logDir','rotate','handle','Warning:\x20Failed\x20to\x20compress\x20','\x5c$&','getLogPath','.gz','tdx.log','logPath','1340navUWc','includes','replace'];a202_0x1192=function(){return _0x308547;};return a202_0x1192();}const a202_0x2a81f3=a202_0x55e2;(function(_0x2004ef,_0x27db07){const _0x1af7f8=a202_0x55e2,_0xc20e32=_0x2004ef();while(!![]){try{const _0x58eb72=-parseInt(_0x1af7f8(0x1d9))/0x1*(parseInt(_0x1af7f8(0x1d7))/0x2)+-parseInt(_0x1af7f8(0x1ec))/0x3*(-parseInt(_0x1af7f8(0x1e3))/0x4)+parseInt(_0x1af7f8(0x1d6))/0x5*(-parseInt(_0x1af7f8(0x1d5))/0x6)+-parseInt(_0x1af7f8(0x1c6))/0x7+parseInt(_0x1af7f8(0x1db))/0x8+-parseInt(_0x1af7f8(0x1df))/0x9*(parseInt(_0x1af7f8(0x1d2))/0xa)+parseInt(_0x1af7f8(0x1da))/0xb;if(_0x58eb72===_0x27db07)break;else _0xc20e32['push'](_0xc20e32['shift']());}catch(_0x5ba3da){_0xc20e32['push'](_0xc20e32['shift']());}}}(a202_0x1192,0x2ab3f));import{createWriteStream,createReadStream}from'fs';import{mkdir,readdir,unlink,stat,rename}from'fs/promises';import{join,dirname,basename}from'path';import{createGzip}from'zlib';import{pipeline}from'stream/promises';import{Logger}from'../logger.js';import{getGlobalCacheDir}from'../../global-cache.js';function a202_0x55e2(_0x48a4f8,_0x584630){_0x48a4f8=_0x48a4f8-0x1c6;const _0x1192e6=a202_0x1192();let _0x55e2f8=_0x1192e6[_0x48a4f8];return _0x55e2f8;}export class FileHandler{['logPath'];[a202_0x2a81f3(0x1c9)];[a202_0x2a81f3(0x1e5)];[a202_0x2a81f3(0x1e6)];[a202_0x2a81f3(0x1e0)]=null;['rotate'];constructor(_0x3e96ad={}){const _0x5cce7e=a202_0x2a81f3;this[_0x5cce7e(0x1d1)]=_0x3e96ad['filePath']??join(getGlobalCacheDir(),_0x5cce7e(0x1e7),_0x5cce7e(0x1d0)),this[_0x5cce7e(0x1c9)]=dirname(this[_0x5cce7e(0x1d1)]),this[_0x5cce7e(0x1e5)]=basename(this[_0x5cce7e(0x1d1)]),this['logBaseName']=this[_0x5cce7e(0x1e5)][_0x5cce7e(0x1d4)](/\.log$/,''),this['rotate']=_0x3e96ad[_0x5cce7e(0x1ca)]??!![];}async[a202_0x2a81f3(0x1c7)](){const _0x14c09b=a202_0x2a81f3;try{await mkdir(this[_0x14c09b(0x1c9)],{'recursive':!![]}),this[_0x14c09b(0x1ca)]&&await this['rotateOldLogs'](),this['logStream']=createWriteStream(this['logPath'],{'flags':'a'}),this[_0x14c09b(0x1e0)]['on'](_0x14c09b(0x1e8),_0x466582=>{const _0x3de60c=_0x14c09b;console[_0x3de60c(0x1e8)]('Warning:\x20Error\x20writing\x20to\x20'+this['logFileName']+':',_0x466582[_0x3de60c(0x1e4)]);});}catch(_0x1ca2a3){console[_0x14c09b(0x1e8)](_0x14c09b(0x1eb),_0x1ca2a3);}}[a202_0x2a81f3(0x1cb)](_0x4bf465){const _0x49e0dd=a202_0x2a81f3;if(!this[_0x49e0dd(0x1e0)])return;const _0x2ad189=Logger[_0x49e0dd(0x1e1)](_0x4bf465);this[_0x49e0dd(0x1e0)][_0x49e0dd(0x1d8)](_0x2ad189+'\x0a');}async[a202_0x2a81f3(0x1c8)](){return new Promise(_0x341c63=>{const _0x157dc2=a202_0x55e2;this[_0x157dc2(0x1e0)]?this[_0x157dc2(0x1e0)]['end'](()=>{const _0x4dd7b6=_0x157dc2;this[_0x4dd7b6(0x1e0)]=null,_0x341c63();}):_0x341c63();});}[a202_0x2a81f3(0x1ce)](){const _0x579452=a202_0x2a81f3;return this[_0x579452(0x1d1)];}async[a202_0x2a81f3(0x1ea)](){const _0x16a2e5=a202_0x2a81f3;try{const _0x217716=await readdir(this[_0x16a2e5(0x1c9)]),_0x324812=new Date()['toISOString']()[_0x16a2e5(0x1e9)]('T')[0x0];if(_0x217716[_0x16a2e5(0x1d3)](this[_0x16a2e5(0x1e5)])){const _0x14594d=join(this[_0x16a2e5(0x1c9)],this[_0x16a2e5(0x1e5)]),_0x258ad9=await stat(_0x14594d),_0xa02b03=new Date(_0x258ad9[_0x16a2e5(0x1dc)])[_0x16a2e5(0x1de)]()[_0x16a2e5(0x1e9)]('T')[0x0];if(_0xa02b03<_0x324812){const _0x182fd7=join(this[_0x16a2e5(0x1c9)],this[_0x16a2e5(0x1e6)]+'-'+_0xa02b03+'.log');await rename(_0x14594d,_0x182fd7);}}const _0x76d53e=await readdir(this[_0x16a2e5(0x1c9)]),_0x2b36a1=this[_0x16a2e5(0x1e6)][_0x16a2e5(0x1d4)](/[.*+?^${}()|[\]\\]/g,_0x16a2e5(0x1cd)),_0x2d71de=new RegExp('^'+_0x2b36a1+_0x16a2e5(0x1dd)),_0x54973d=_0x76d53e['filter'](_0x1462d2=>_0x2d71de[_0x16a2e5(0x1e2)](_0x1462d2));for(const _0x15fa2b of _0x54973d){const _0x490935=join(this['logDir'],_0x15fa2b),_0x32dc87=join(this['logDir'],_0x15fa2b+_0x16a2e5(0x1cf));try{await pipeline(createReadStream(_0x490935),createGzip(),createWriteStream(_0x32dc87)),await unlink(_0x490935);}catch(_0x432cd0){console[_0x16a2e5(0x1e8)](_0x16a2e5(0x1cc)+_0x15fa2b+':',_0x432cd0);}}}catch{}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a203_0x18f7(_0x1310af,_0x10b74a){_0x1310af=_0x1310af-0xc7;var _0xc32133=a203_0xc321();var _0x18f753=_0xc32133[_0x1310af];return _0x18f753;}(function(_0x42dbcc,_0x5b1874){var _0x2d07c1=a203_0x18f7,_0x2857be=_0x42dbcc();while(!![]){try{var _0x37556c=parseInt(_0x2d07c1(0xcd))/0x1*(parseInt(_0x2d07c1(0xd2))/0x2)+parseInt(_0x2d07c1(0xcc))/0x3*(parseInt(_0x2d07c1(0xd0))/0x4)+-parseInt(_0x2d07c1(0xc7))/0x5*(parseInt(_0x2d07c1(0xc9))/0x6)+-parseInt(_0x2d07c1(0xcb))/0x7*(parseInt(_0x2d07c1(0xd3))/0x8)+-parseInt(_0x2d07c1(0xd1))/0x9*(parseInt(_0x2d07c1(0xd4))/0xa)+parseInt(_0x2d07c1(0xce))/0xb*(parseInt(_0x2d07c1(0xca))/0xc)+-parseInt(_0x2d07c1(0xc8))/0xd*(-parseInt(_0x2d07c1(0xcf))/0xe);if(_0x37556c===_0x5b1874)break;else _0x2857be['push'](_0x2857be['shift']());}catch(_0x3cc7ca){_0x2857be['push'](_0x2857be['shift']());}}}(a203_0xc321,0xb0462));export{FileHandler}from'./file-handler.js';export{ConsoleHandler}from'./console-handler.js';export{NullHandler}from'./null-handler.js';function a203_0xc321(){var _0x3fb133=['30926byeKZa','12SrjtFA','9ivJZkh','2rsBuJU','288Dfenfv','6758430Xkztja','191250NjpsMW','2093TlsPHz','222KLsPQr','132eHWPdC','130347ifhWAZ','542544NgnsZI','1334079LLToVU','1251195qhhLoH'];a203_0xc321=function(){return _0x3fb133;};return a203_0xc321();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a204_0x2f8b(){var _0x55af57=['100401XZoBwP','578PozYne','43041jKThtj','1641AEATRi','17585tCfSKW','44gQFsKT','244060fACzDk','45vhtEVO','401616spKQLw','8DqCMXF','1838790LAdSiW'];a204_0x2f8b=function(){return _0x55af57;};return a204_0x2f8b();}(function(_0x295942,_0x4913e5){var _0x291dbf=a204_0x393d,_0xe9480d=_0x295942();while(!![]){try{var _0x7fcb10=parseInt(_0x291dbf(0xab))/0x1+parseInt(_0x291dbf(0xaa))/0x2*(parseInt(_0x291dbf(0xac))/0x3)+parseInt(_0x291dbf(0xb2))/0x4*(-parseInt(_0x291dbf(0xad))/0x5)+-parseInt(_0x291dbf(0xb3))/0x6+-parseInt(_0x291dbf(0xa9))/0x7+parseInt(_0x291dbf(0xb1))/0x8*(parseInt(_0x291dbf(0xb0))/0x9)+parseInt(_0x291dbf(0xaf))/0xa*(parseInt(_0x291dbf(0xae))/0xb);if(_0x7fcb10===_0x4913e5)break;else _0xe9480d['push'](_0xe9480d['shift']());}catch(_0x1d810b){_0xe9480d['push'](_0xe9480d['shift']());}}}(a204_0x2f8b,0x362dc));function a204_0x393d(_0x30293e,_0x13d1e2){_0x30293e=_0x30293e-0xa9;var _0x2f8bc0=a204_0x2f8b();var _0x393d60=_0x2f8bc0[_0x30293e];return _0x393d60;}export class NullHandler{['handle'](_0xadef21){}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a205_0x4ffa(){var _0x4baab9=['13dxbGNt','6135jPVYPP','12592818NcBULU','10638xNYwiO','11rtshsv','13633460jlVhLa','36075324kRthmZ','3044FrJsGX','15094PqZsxO','6200sLhNTt','889OCaLag','4135irPJpc','95YiYKxm'];a205_0x4ffa=function(){return _0x4baab9;};return a205_0x4ffa();}(function(_0x5b733b,_0xcb87e2){var _0x18ac5e=a205_0x4e9d,_0x190870=_0x5b733b();while(!![]){try{var _0x55668d=parseInt(_0x18ac5e(0x12e))/0x1*(parseInt(_0x18ac5e(0x12a))/0x2)+parseInt(_0x18ac5e(0x123))/0x3*(parseInt(_0x18ac5e(0x129))/0x4)+parseInt(_0x18ac5e(0x12d))/0x5*(parseInt(_0x18ac5e(0x125))/0x6)+-parseInt(_0x18ac5e(0x12c))/0x7*(-parseInt(_0x18ac5e(0x12b))/0x8)+parseInt(_0x18ac5e(0x124))/0x9+parseInt(_0x18ac5e(0x127))/0xa*(-parseInt(_0x18ac5e(0x126))/0xb)+parseInt(_0x18ac5e(0x128))/0xc*(-parseInt(_0x18ac5e(0x12f))/0xd);if(_0x55668d===_0xcb87e2)break;else _0x190870['push'](_0x190870['shift']());}catch(_0x415dcf){_0x190870['push'](_0x190870['shift']());}}}(a205_0x4ffa,0xd3c9d));export{Logger}from'./logger.js';export{LogLevel,parseLogLevel,logLevelToString}from'./types.js';export{FileHandler,ConsoleHandler,NullHandler}from'./handlers/index.js';function a205_0x4e9d(_0x389060,_0x152195){_0x389060=_0x389060-0x123;var _0x4ffa57=a205_0x4ffa();var _0x4e9daf=_0x4ffa57[_0x389060];return _0x4e9daf;}export{DefaultLogFormatter}from'./formatters/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a206_0x1904e3=a206_0x8b27;(function(_0x5244d4,_0x23be69){const _0x1b9045=a206_0x8b27,_0x48bf0d=_0x5244d4();while(!![]){try{const _0x2f12b8=-parseInt(_0x1b9045(0x10b))/0x1*(-parseInt(_0x1b9045(0x119))/0x2)+-parseInt(_0x1b9045(0x128))/0x3*(-parseInt(_0x1b9045(0x135))/0x4)+-parseInt(_0x1b9045(0x13a))/0x5*(-parseInt(_0x1b9045(0x10e))/0x6)+parseInt(_0x1b9045(0x102))/0x7*(parseInt(_0x1b9045(0x124))/0x8)+-parseInt(_0x1b9045(0x101))/0x9*(parseInt(_0x1b9045(0x105))/0xa)+-parseInt(_0x1b9045(0x104))/0xb+parseInt(_0x1b9045(0x113))/0xc*(-parseInt(_0x1b9045(0xfd))/0xd);if(_0x2f12b8===_0x23be69)break;else _0x48bf0d['push'](_0x48bf0d['shift']());}catch(_0xe7e93){_0x48bf0d['push'](_0x48bf0d['shift']());}}}(a206_0x2564,0x61dd3));function a206_0x8b27(_0x1b03ff,_0x313066){_0x1b03ff=_0x1b03ff-0xfb;const _0x2564b4=a206_0x2564();let _0x8b27ce=_0x2564b4[_0x1b03ff];return _0x8b27ce;}import{LogLevel as a206_0x51bd83,logLevelToString}from'./types.js';function a206_0x2564(){const _0x19a359=['log','push','shouldLog','init','level','has','setLogLevel','loggers','21192bUBjwv','handle','initialized','message','3IkALpO','cause','join','dispatch','getFormatter','function','TRACE',']\x20[','setDefaultLevel','ERROR','close','getEffectiveLevel','stack','418864BxHNyA','addHandler','DEBUG','map','warn','10kTPWlI','INFO','name','formatter','41015RiZleK','error','defaultLevel','slice','116847PBxjFl','1533krgltI','shutdown','668690nXjSPj','290fczsFv','toISOString','format','isInitialized','string','handlers','9QMPSXO','length','clear','15252pLXOvy','clearHandlers','set','get','levelOverrides','96wUNdsA','stringify','WARN','entries','component','reset','38546HfxTYS','pendingRecords','split'];a206_0x2564=function(){return _0x19a359;};return a206_0x2564();}const MAX_PENDING_RECORDS=0x3e8,state={'initialized':![],'defaultLevel':a206_0x51bd83['INFO'],'levelOverrides':new Map(),'handlers':[],'formatter':null,'loggers':new Map(),'pendingRecords':[]};function safeStringify(_0x181467){const _0x4645ff=a206_0x8b27;if(typeof _0x181467===_0x4645ff(0x109))return _0x181467;if(_0x181467 instanceof Error)return _0x181467[_0x4645ff(0x134)]||_0x181467[_0x4645ff(0xfb)]+':\x20'+_0x181467[_0x4645ff(0x127)];try{return JSON[_0x4645ff(0x114)](_0x181467,(_0x2be4e6,_0x554b04)=>{const _0x3fea1d=_0x4645ff;if(_0x554b04 instanceof Error)return{'name':_0x554b04[_0x3fea1d(0xfb)],'message':_0x554b04[_0x3fea1d(0x127)],'stack':_0x554b04[_0x3fea1d(0x134)],'cause':_0x554b04[_0x3fea1d(0x129)]};return _0x554b04;});}catch{return String(_0x181467);}}export class Logger{[a206_0x1904e3(0x117)];constructor(_0x37c813){const _0x5bdd0b=a206_0x1904e3;this[_0x5bdd0b(0x117)]=_0x37c813;}static['of'](_0x5b4397){const _0x4eae53=a206_0x1904e3,_0x3f8ce2=typeof _0x5b4397==='string'?_0x5b4397:_0x5b4397['name'];let _0x5c6a62=state[_0x4eae53(0x123)][_0x4eae53(0x111)](_0x3f8ce2);return!_0x5c6a62&&(_0x5c6a62=new Logger(_0x3f8ce2),state[_0x4eae53(0x123)][_0x4eae53(0x110)](_0x3f8ce2,_0x5c6a62)),_0x5c6a62;}static async[a206_0x1904e3(0x11f)](_0x59c553={}){const _0x15c049=a206_0x1904e3;state[_0x15c049(0xff)]=_0x59c553['defaultLevel']??a206_0x51bd83['INFO'],state[_0x15c049(0x10a)]=_0x59c553[_0x15c049(0x10a)]??[],state[_0x15c049(0xfc)]=_0x59c553['formatter']??null,state[_0x15c049(0x112)][_0x15c049(0x10d)]();if(_0x59c553[_0x15c049(0x112)])for(const [_0x2e8dd6,_0xa106d2]of Object[_0x15c049(0x116)](_0x59c553[_0x15c049(0x112)])){state[_0x15c049(0x112)]['set'](_0x2e8dd6,_0xa106d2);}for(const _0x2643a6 of state[_0x15c049(0x10a)]){_0x2643a6[_0x15c049(0x11f)]&&await _0x2643a6[_0x15c049(0x11f)]();}state[_0x15c049(0x126)]=!![];for(const _0x2b9f6d of state[_0x15c049(0x11a)]){Logger[_0x15c049(0x12b)](_0x2b9f6d);}state[_0x15c049(0x11a)]=[];}static[a206_0x1904e3(0x122)](_0x54df02,_0x5f1f02){const _0x146804=a206_0x1904e3;state[_0x146804(0x112)][_0x146804(0x110)](_0x54df02,_0x5f1f02);}static[a206_0x1904e3(0x130)](_0x260828){state['defaultLevel']=_0x260828;}static[a206_0x1904e3(0x136)](_0x37a356){const _0x5eb12c=a206_0x1904e3;state[_0x5eb12c(0x10a)][_0x5eb12c(0x11d)](_0x37a356),state[_0x5eb12c(0x126)]&&_0x37a356[_0x5eb12c(0x11f)]&&_0x37a356[_0x5eb12c(0x11f)]();}static[a206_0x1904e3(0x10f)](){const _0x17ab6e=a206_0x1904e3;state[_0x17ab6e(0x10a)]=[];}static async[a206_0x1904e3(0x103)](){const _0x52e906=a206_0x1904e3;for(const _0x2405d8 of state[_0x52e906(0x10a)]){_0x2405d8[_0x52e906(0x132)]&&await _0x2405d8[_0x52e906(0x132)]();}state[_0x52e906(0x10a)]=[],state[_0x52e906(0x126)]=![],state[_0x52e906(0x123)][_0x52e906(0x10d)](),state[_0x52e906(0x11a)]=[];}static[a206_0x1904e3(0x118)](){const _0x124d99=a206_0x1904e3;state[_0x124d99(0x126)]=![],state[_0x124d99(0xff)]=a206_0x51bd83[_0x124d99(0x13b)],state[_0x124d99(0x112)][_0x124d99(0x10d)](),state[_0x124d99(0x10a)]=[],state[_0x124d99(0xfc)]=null,state[_0x124d99(0x123)][_0x124d99(0x10d)](),state[_0x124d99(0x11a)]=[];}static[a206_0x1904e3(0x108)](){return state['initialized'];}static[a206_0x1904e3(0x133)](_0x41bfb9){const _0x220774=a206_0x1904e3;if(state['levelOverrides'][_0x220774(0x121)](_0x41bfb9))return state[_0x220774(0x112)][_0x220774(0x111)](_0x41bfb9);const _0x2d0562=_0x41bfb9[_0x220774(0x11b)]('.');for(let _0x2ffad9=_0x2d0562[_0x220774(0x10c)]-0x1;_0x2ffad9>0x0;_0x2ffad9--){const _0x459040=_0x2d0562[_0x220774(0x100)](0x0,_0x2ffad9)[_0x220774(0x12a)]('.');if(state[_0x220774(0x112)][_0x220774(0x121)](_0x459040))return state[_0x220774(0x112)][_0x220774(0x111)](_0x459040);}return state[_0x220774(0xff)];}[a206_0x1904e3(0x11e)](_0xd475dc){const _0x35f046=a206_0x1904e3,_0xea2ceb=Logger[_0x35f046(0x133)](this[_0x35f046(0x117)]);return _0xd475dc>=_0xea2ceb;}static['dispatch'](_0x1a106d){const _0x3edbf1=a206_0x1904e3;for(const _0x6bd8ab of state[_0x3edbf1(0x10a)]){_0x6bd8ab[_0x3edbf1(0x125)](_0x1a106d);}}[a206_0x1904e3(0x11c)](_0x2a6d47,_0x111e56){const _0x495580=a206_0x1904e3;if(!this['shouldLog'](_0x2a6d47))return;const _0x4cb074=_0x111e56[_0x495580(0x138)](_0x1c13b2=>typeof _0x1c13b2===_0x495580(0x12d)?_0x1c13b2():_0x1c13b2),_0xe01955=_0x4cb074[_0x495580(0x138)](safeStringify)[_0x495580(0x12a)]('\x20'),_0x5da1a1={'timestamp':new Date(),'level':_0x2a6d47,'component':this[_0x495580(0x117)],'message':_0xe01955};if(!state[_0x495580(0x126)]){state[_0x495580(0x11a)]['length']<MAX_PENDING_RECORDS&&state[_0x495580(0x11a)][_0x495580(0x11d)](_0x5da1a1);return;}Logger[_0x495580(0x12b)](_0x5da1a1);}['trace'](..._0x4e196e){const _0x3c0a1d=a206_0x1904e3;this[_0x3c0a1d(0x11c)](a206_0x51bd83[_0x3c0a1d(0x12e)],_0x4e196e);}['debug'](..._0x3ab146){const _0x19e26b=a206_0x1904e3;this[_0x19e26b(0x11c)](a206_0x51bd83[_0x19e26b(0x137)],_0x3ab146);}['info'](..._0x4816bc){const _0x12b3a8=a206_0x1904e3;this[_0x12b3a8(0x11c)](a206_0x51bd83[_0x12b3a8(0x13b)],_0x4816bc);}[a206_0x1904e3(0x139)](..._0x34fffd){const _0x5ba31a=a206_0x1904e3;this['log'](a206_0x51bd83[_0x5ba31a(0x115)],_0x34fffd);}[a206_0x1904e3(0xfe)](..._0x46d04d){const _0x1226cb=a206_0x1904e3;this[_0x1226cb(0x11c)](a206_0x51bd83[_0x1226cb(0x131)],_0x46d04d);}static[a206_0x1904e3(0x12c)](){return state['formatter'];}static['format'](_0x31965c){const _0x2b9bbd=a206_0x1904e3;if(state['formatter'])return state[_0x2b9bbd(0xfc)][_0x2b9bbd(0x107)](_0x31965c);return _0x31965c['timestamp'][_0x2b9bbd(0x106)]()+'\x20['+logLevelToString(_0x31965c[_0x2b9bbd(0x120)])+_0x2b9bbd(0x12f)+_0x31965c[_0x2b9bbd(0x117)]+']\x20'+_0x31965c[_0x2b9bbd(0x127)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x578328,_0x2d67f5){const _0x26614a=a207_0x47ac,_0x1f3b6d=_0x578328();while(!![]){try{const _0x5f4223=parseInt(_0x26614a(0xe7))/0x1+parseInt(_0x26614a(0xdc))/0x2+-parseInt(_0x26614a(0xd7))/0x3+parseInt(_0x26614a(0xdb))/0x4+parseInt(_0x26614a(0xe5))/0x5*(-parseInt(_0x26614a(0xf0))/0x6)+-parseInt(_0x26614a(0xef))/0x7+-parseInt(_0x26614a(0xea))/0x8*(-parseInt(_0x26614a(0xe6))/0x9);if(_0x5f4223===_0x2d67f5)break;else _0x1f3b6d['push'](_0x1f3b6d['shift']());}catch(_0x1e6954){_0x1f3b6d['push'](_0x1f3b6d['shift']());}}}(a207_0xffb2,0xc79a1));export var LogLevel;(function(_0x408ac5){const _0x1cbcda=a207_0x47ac;_0x408ac5[_0x408ac5[_0x1cbcda(0xda)]=-0x2]=_0x1cbcda(0xda),_0x408ac5[_0x408ac5['DEBUG']=-0x1]=_0x1cbcda(0xee),_0x408ac5[_0x408ac5[_0x1cbcda(0xd5)]=0x0]=_0x1cbcda(0xd5),_0x408ac5[_0x408ac5[_0x1cbcda(0xe3)]=0x1]='WARN',_0x408ac5[_0x408ac5[_0x1cbcda(0xf1)]=0x2]=_0x1cbcda(0xf1);}(LogLevel||(LogLevel={})));export function parseLogLevel(_0x37497b){const _0x392b46=a207_0x47ac;switch(_0x37497b[_0x392b46(0xd4)]()){case _0x392b46(0xda):return LogLevel[_0x392b46(0xda)];case _0x392b46(0xee):return LogLevel['DEBUG'];case _0x392b46(0xd5):return LogLevel['INFO'];case'WARN':case _0x392b46(0xe8):return LogLevel[_0x392b46(0xe3)];case _0x392b46(0xf1):return LogLevel[_0x392b46(0xf1)];default:return LogLevel[_0x392b46(0xd5)];}}export function logLevelToString(_0x56c549){const _0x3378bd=a207_0x47ac;switch(_0x56c549){case LogLevel[_0x3378bd(0xda)]:return _0x3378bd(0xe4);case LogLevel['DEBUG']:return _0x3378bd(0xe2);case LogLevel['INFO']:return'info';case LogLevel['WARN']:return _0x3378bd(0xdf);case LogLevel[_0x3378bd(0xf1)]:return _0x3378bd(0xed);default:return _0x3378bd(0xde);}}export function formatTimestamp(_0x15d69b){const _0x152a06=a207_0x47ac,_0x296391=_0x15d69b['getFullYear'](),_0x103656=(_0x15d69b[_0x152a06(0xd8)]()+0x1)[_0x152a06(0xeb)]()['padStart'](0x2,'0'),_0x2c26d3=_0x15d69b[_0x152a06(0xdd)]()['toString']()[_0x152a06(0xec)](0x2,'0'),_0x5b1547=_0x15d69b[_0x152a06(0xd9)]()['toString']()[_0x152a06(0xec)](0x2,'0'),_0x5251f3=_0x15d69b[_0x152a06(0xe9)]()[_0x152a06(0xeb)]()[_0x152a06(0xec)](0x2,'0'),_0x44d447=_0x15d69b[_0x152a06(0xe1)]()[_0x152a06(0xeb)]()[_0x152a06(0xec)](0x2,'0'),_0x53595f=_0x15d69b[_0x152a06(0xe0)]()[_0x152a06(0xeb)]()['padStart'](0x3,'0'),_0x1ac05f=-_0x15d69b['getTimezoneOffset'](),_0x23ef94=Math['floor'](Math[_0x152a06(0xd6)](_0x1ac05f)/0x3c),_0xf554a9=Math[_0x152a06(0xd6)](_0x1ac05f)%0x3c,_0x448ce4=_0x1ac05f>=0x0?'+':'-',_0x5a7d18=''+_0x448ce4+_0x23ef94[_0x152a06(0xeb)]()[_0x152a06(0xec)](0x2,'0')+_0xf554a9[_0x152a06(0xeb)]()[_0x152a06(0xec)](0x2,'0');return _0x296391+'-'+_0x103656+'-'+_0x2c26d3+'\x20'+_0x5b1547+':'+_0x5251f3+':'+_0x44d447+'.'+_0x53595f+_0x5a7d18;}function a207_0x47ac(_0x2b2aeb,_0x3eba03){_0x2b2aeb=_0x2b2aeb-0xd4;const _0xffb222=a207_0xffb2();let _0x47ac65=_0xffb222[_0x2b2aeb];return _0x47ac65;}function a207_0xffb2(){const _0x5a66bb=['toString','padStart','error','DEBUG','8678600MeZXeB','36afxQWB','ERROR','toUpperCase','INFO','abs','4446285lKRKbU','getMonth','getHours','TRACE','323392FhcPOW','143846UggqUe','getDate','info','warn','getMilliseconds','getSeconds','debug','WARN','trace','34130GVoafx','6911361UNbUZh','355933JaXzkQ','WARNING','getMinutes','32dPSdWj'];a207_0xffb2=function(){return _0x5a66bb;};return a207_0xffb2();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x15d5c6,_0x1d3d27){const _0x3c4ea1=a208_0x22a1,_0x388ad4=_0x15d5c6();while(!![]){try{const _0x539198=parseInt(_0x3c4ea1(0x80))/0x1+parseInt(_0x3c4ea1(0x81))/0x2+-parseInt(_0x3c4ea1(0x7d))/0x3*(parseInt(_0x3c4ea1(0x89))/0x4)+parseInt(_0x3c4ea1(0x87))/0x5+parseInt(_0x3c4ea1(0x88))/0x6*(-parseInt(_0x3c4ea1(0x7e))/0x7)+parseInt(_0x3c4ea1(0x8a))/0x8+-parseInt(_0x3c4ea1(0x7f))/0x9;if(_0x539198===_0x1d3d27)break;else _0x388ad4['push'](_0x388ad4['shift']());}catch(_0x5aed20){_0x388ad4['push'](_0x388ad4['shift']());}}}(a208_0x1391,0x93c35));export function validateLimitOption(_0x428bc5){const _0x269d13=a208_0x22a1;if(!Number[_0x269d13(0x83)](_0x428bc5))return{'isValid':![],'error':_0x269d13(0x84)+_0x428bc5+_0x269d13(0x7c)};if(_0x428bc5<=0x0)return{'isValid':![],'error':_0x269d13(0x84)+_0x428bc5+'.\x20Must\x20be\x20a\x20positive\x20integer.'};return{'isValid':!![],'value':_0x428bc5};}export function validateTimeoutOption(_0x2cf534,_0x59a2c5=0x1e){const _0x345fdd=a208_0x22a1;if(_0x2cf534===undefined)return{'isValid':!![],'value':_0x59a2c5};const _0x3f960e=typeof _0x2cf534===_0x345fdd(0x85)?_0x2cf534:parseFloat(_0x2cf534);if(isNaN(_0x3f960e))return{'isValid':![],'error':_0x345fdd(0x82)+_0x2cf534+_0x345fdd(0x86)};if(_0x3f960e<=0x0)return{'isValid':![],'error':'Invalid\x20timeout\x20value:\x20'+_0x3f960e+'.\x20Must\x20be\x20a\x20positive\x20number.'};return{'isValid':!![],'value':_0x3f960e};}function a208_0x22a1(_0x1938c9,_0x3e11e9){_0x1938c9=_0x1938c9-0x7c;const _0x1391c4=a208_0x1391();let _0x22a198=_0x1391c4[_0x1938c9];return _0x22a198;}function a208_0x1391(){const _0x2418ea=['5943248bmLRmo','.\x20Must\x20be\x20an\x20integer.','3XLoqqm','833dSCvzl','1740618TDjPZC','636557DEqxCz','1094852OmjoOW','Invalid\x20timeout\x20value:\x20','isInteger','Invalid\x20limit\x20value:\x20','number','.\x20Must\x20be\x20a\x20number.','5909580vqealK','59238jNBKXl','4541116hecYbu'];a208_0x1391=function(){return _0x2418ea;};return a208_0x1391();}
|