@treasuredata/tdx 2026.3.42 → 2026.3.43
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/cas-command.js +1 -1
- package/dist/commands/cas-segment-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/work-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/cas/cas-api-client.js +1 -1
- package/dist/sdk/cas/cas-audience-yaml.js +1 -1
- package/dist/sdk/cas/cas-segment-yaml.js +1 -1
- package/dist/sdk/cas/index.js +1 -1
- package/dist/sdk/cas/pull-workflow.js +1 -1
- package/dist/sdk/cas/push-workflow.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/types/workspace.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/sdk/workspace/frontmatter.js +1 -1
- package/dist/sdk/workspace/git.js +1 -1
- package/dist/sdk/workspace/index.js +1 -1
- package/dist/sdk/workspace/templates.js +1 -1
- package/dist/sdk/workspace/weekly.js +1 -1
- package/dist/sdk/workspace/wikilinks.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/colors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a209_0x2cdf67=a209_0x58d2;(function(_0x13c3ab,_0x49d257){const _0xb12a90=a209_0x58d2,_0x6fa7a3=_0x13c3ab();while(!![]){try{const _0x334157=parseInt(_0xb12a90(0x78))/0x1*(parseInt(_0xb12a90(0x7e))/0x2)+parseInt(_0xb12a90(0x82))/0x3*(-parseInt(_0xb12a90(0x87))/0x4)+-parseInt(_0xb12a90(0x86))/0x5+parseInt(_0xb12a90(0x72))/0x6*(-parseInt(_0xb12a90(0x89))/0x7)+parseInt(_0xb12a90(0x79))/0x8*(-parseInt(_0xb12a90(0x7b))/0x9)+parseInt(_0xb12a90(0x75))/0xa+parseInt(_0xb12a90(0x85))/0xb*(parseInt(_0xb12a90(0x7c))/0xc);if(_0x334157===_0x49d257)break;else _0x6fa7a3['push'](_0x6fa7a3['shift']());}catch(_0x4634f9){_0x6fa7a3['push'](_0x6fa7a3['shift']());}}}(a209_0x4424,0x1f4f6));import*as a209_0x3b8431 from'chalk';const Chalk=a209_0x3b8431[a209_0x2cdf67(0x80)];export function shouldUseColor(_0xafc970={}){const _0x42617a=a209_0x2cdf67;if(_0xafc970[_0x42617a(0x8f)]===!![])return![];if(_0xafc970[_0x42617a(0x7f)]===!![])return!![];if(process.env.NO_COLOR!==undefined)return![];return process[_0x42617a(0x92)][_0x42617a(0x84)]??![];}function a209_0x4424(){const _0x27adf4=['stringify','noColor','repeat','object','stdout','1686wnDIxX','dim','join','2256040JtavVy','boolean','number','2voWCjZ','64hEGLWX','entries','138987zFYkMg','40920zOdSrp','null','200288zHIqrK','color','Chalk','string','6pZxmyb','blue','isTTY','341RbzBYo','499265yncrsg','359356VKevkQ','length','7pWMTgX','isArray','green','yellow','map'];a209_0x4424=function(){return _0x27adf4;};return a209_0x4424();}export function getChalk(_0x47a33a={}){if(shouldUseColor(_0x47a33a))return new Chalk({'level':0x3});return new Chalk({'level':0x0});}export function colorBorder(_0x3cada6,_0xe63627={}){const _0x1b64fa=a209_0x2cdf67;return getChalk(_0xe63627)[_0x1b64fa(0x73)](_0x3cada6);}export function colorHeader(_0x9f080d,_0x53c894={}){return getChalk(_0x53c894)['cyan'](_0x9f080d);}export function colorType(_0x4d86c1,_0x356cb7={}){const _0x4ec46f=a209_0x2cdf67;return getChalk(_0x356cb7)[_0x4ec46f(0x73)](_0x4d86c1);}export function colorJSONKey(_0x2d39a5,_0x1f1381={}){const _0x143055=a209_0x2cdf67;return getChalk(_0x1f1381)[_0x143055(0x83)](_0x2d39a5);}export function colorJSONString(_0x57f901,_0x34b7b2={}){const _0x7839c5=a209_0x2cdf67;return getChalk(_0x34b7b2)[_0x7839c5(0x8b)](_0x57f901);}export function colorJSONNumber(_0x2f2f9c,_0x4d036d={}){return getChalk(_0x4d036d)['cyan'](_0x2f2f9c);}function a209_0x58d2(_0x478553,_0x14975a){_0x478553=_0x478553-0x72;const _0x442472=a209_0x4424();let _0x58d2ce=_0x442472[_0x478553];return _0x58d2ce;}export function colorJSONBoolean(_0x3dbb5e,_0x1e5afa={}){const _0x78e70d=a209_0x2cdf67;return getChalk(_0x1e5afa)[_0x78e70d(0x8c)](_0x3dbb5e);}export function colorJSONNull(_0x275f1f,_0x31e8b7={}){return getChalk(_0x31e8b7)['dim'](_0x275f1f);}export function colorizeJSONCompact(_0x329154,_0x6c6b0b={}){const _0x28e616=a209_0x2cdf67;if(!shouldUseColor(_0x6c6b0b))return JSON[_0x28e616(0x8e)](_0x329154);if(_0x329154===null)return colorJSONNull(_0x28e616(0x7d),_0x6c6b0b);if(typeof _0x329154==='boolean')return colorJSONBoolean(String(_0x329154),_0x6c6b0b);if(typeof _0x329154===_0x28e616(0x77))return colorJSONNumber(String(_0x329154),_0x6c6b0b);if(typeof _0x329154===_0x28e616(0x81))return colorJSONString(JSON[_0x28e616(0x8e)](_0x329154),_0x6c6b0b);if(Array[_0x28e616(0x8a)](_0x329154)){if(_0x329154['length']===0x0)return'[]';const _0x5db24b=_0x329154[_0x28e616(0x8d)](_0x8b4686=>colorizeJSONCompact(_0x8b4686,_0x6c6b0b));return'['+_0x5db24b[_0x28e616(0x74)](',')+']';}if(typeof _0x329154===_0x28e616(0x91)){const _0x1fafb7=Object[_0x28e616(0x7a)](_0x329154);if(_0x1fafb7[_0x28e616(0x88)]===0x0)return'{}';const _0x18c639=_0x1fafb7['map'](([_0x482093,_0x1c2421])=>{const _0x3f189d=_0x28e616,_0x5b5f44=colorJSONKey(JSON[_0x3f189d(0x8e)](_0x482093),_0x6c6b0b),_0x3e94a8=colorizeJSONCompact(_0x1c2421,_0x6c6b0b);return _0x5b5f44+':'+_0x3e94a8;});return'{'+_0x18c639['join'](',')+'}';}return String(_0x329154);}export function colorizeJSON(_0x620a3c,_0x4af1d2={},_0x248c60=0x0){const _0x49a2d3=a209_0x2cdf67;if(!shouldUseColor(_0x4af1d2))return JSON['stringify'](_0x620a3c,null,0x2);const _0x481a7='\x20'[_0x49a2d3(0x90)](_0x248c60),_0x2e520d=_0x248c60+0x2;if(_0x620a3c===null)return colorJSONNull(_0x49a2d3(0x7d),_0x4af1d2);if(typeof _0x620a3c===_0x49a2d3(0x76))return colorJSONBoolean(String(_0x620a3c),_0x4af1d2);if(typeof _0x620a3c===_0x49a2d3(0x77))return colorJSONNumber(String(_0x620a3c),_0x4af1d2);if(typeof _0x620a3c==='string')return colorJSONString(JSON[_0x49a2d3(0x8e)](_0x620a3c),_0x4af1d2);if(Array[_0x49a2d3(0x8a)](_0x620a3c)){if(_0x620a3c['length']===0x0)return'[]';const _0x204253=_0x620a3c[_0x49a2d3(0x8d)](_0xbd3ff=>{const _0x2caf82=_0x49a2d3,_0x186f1c=colorizeJSON(_0xbd3ff,_0x4af1d2,_0x2e520d);return''+'\x20'[_0x2caf82(0x90)](_0x2e520d)+_0x186f1c;});return'[\x0a'+_0x204253[_0x49a2d3(0x74)](',\x0a')+('\x0a'+_0x481a7+']');}if(typeof _0x620a3c===_0x49a2d3(0x91)){const _0x36b692=Object[_0x49a2d3(0x7a)](_0x620a3c);if(_0x36b692['length']===0x0)return'{}';const _0x5344cc=_0x36b692[_0x49a2d3(0x8d)](([_0x10697b,_0x1ec91e])=>{const _0x8586f5=_0x49a2d3,_0x109b21=colorJSONKey(JSON[_0x8586f5(0x8e)](_0x10697b),_0x4af1d2),_0x21ce6a=colorizeJSON(_0x1ec91e,_0x4af1d2,_0x2e520d);return''+'\x20'[_0x8586f5(0x90)](_0x2e520d)+_0x109b21+':\x20'+_0x21ce6a;});return'{\x0a'+_0x5344cc['join'](',\x0a')+('\x0a'+_0x481a7+'}');}return String(_0x620a3c);}
|
package/dist/utils/diff.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a210_0x1753(){const _0x23b568=['content','add','size','\x20\x20\x20','1198204RttPIv','green','70101yzwIgS','1130OgoUWS','old','62PoFnFO','type','cyan','5sfgeUQ','27549VLlKKC','max','split','length','min','repeat','505291FDsWLb','added','join','\x20\x20...','removed','some','1074qpIoSd','1477wsJYfz','new','19182537TmSzXE','dim','push','2162472kqmLfS','padStart','forEach','fill','\x20+\x20','map','red','unchanged'];a210_0x1753=function(){return _0x23b568;};return a210_0x1753();}(function(_0x2c7136,_0xebf9e2){const _0x2871cc=a210_0x2448,_0x5ca5d6=_0x2c7136();while(!![]){try{const _0x4b2bf6=parseInt(_0x2871cc(0x17c))/0x1+parseInt(_0x2871cc(0x199))/0x2*(parseInt(_0x2871cc(0x196))/0x3)+-parseInt(_0x2871cc(0x194))/0x4*(-parseInt(_0x2871cc(0x19c))/0x5)+parseInt(_0x2871cc(0x182))/0x6*(-parseInt(_0x2871cc(0x183))/0x7)+parseInt(_0x2871cc(0x188))/0x8+-parseInt(_0x2871cc(0x19d))/0x9*(-parseInt(_0x2871cc(0x197))/0xa)+-parseInt(_0x2871cc(0x185))/0xb;if(_0x4b2bf6===_0xebf9e2)break;else _0x5ca5d6['push'](_0x5ca5d6['shift']());}catch(_0x57f722){_0x5ca5d6['push'](_0x5ca5d6['shift']());}}}(a210_0x1753,0x58d09));import a210_0x5c1fd2 from'chalk';function a210_0x2448(_0x37ae98,_0xa1cb0a){_0x37ae98=_0x37ae98-0x17c;const _0x175372=a210_0x1753();let _0x2448dd=_0x175372[_0x37ae98];return _0x2448dd;}export function generateDiff(_0x448aed,_0xeae74a){const _0x280228=a210_0x2448,_0x5accc5=_0x448aed[_0x280228(0x19f)]('\x0a'),_0x232e71=_0xeae74a['split']('\x0a'),_0x5d0d2e=[],_0x58462a=computeLCS(_0x5accc5,_0x232e71);let _0x9e802e=0x0,_0x5c27e7=0x0,_0x34d7f1=0x0;while(_0x9e802e<_0x5accc5[_0x280228(0x1a0)]||_0x5c27e7<_0x232e71[_0x280228(0x1a0)]){if(_0x34d7f1<_0x58462a[_0x280228(0x1a0)]&&_0x9e802e<_0x5accc5[_0x280228(0x1a0)]&&_0x5accc5[_0x9e802e]===_0x58462a[_0x34d7f1])_0x5c27e7<_0x232e71[_0x280228(0x1a0)]&&_0x232e71[_0x5c27e7]===_0x58462a[_0x34d7f1]?(_0x5d0d2e[_0x280228(0x187)]({'type':_0x280228(0x18f),'content':_0x5accc5[_0x9e802e]}),_0x9e802e++,_0x5c27e7++,_0x34d7f1++):(_0x5d0d2e[_0x280228(0x187)]({'type':_0x280228(0x17d),'content':_0x232e71[_0x5c27e7]}),_0x5c27e7++);else{if(_0x34d7f1<_0x58462a['length']&&_0x5c27e7<_0x232e71['length']&&_0x232e71[_0x5c27e7]===_0x58462a[_0x34d7f1])_0x5d0d2e[_0x280228(0x187)]({'type':_0x280228(0x180),'content':_0x5accc5[_0x9e802e]}),_0x9e802e++;else{if(_0x9e802e<_0x5accc5[_0x280228(0x1a0)]&&(_0x34d7f1>=_0x58462a[_0x280228(0x1a0)]||_0x5accc5[_0x9e802e]!==_0x58462a[_0x34d7f1]))_0x5d0d2e[_0x280228(0x187)]({'type':'removed','content':_0x5accc5[_0x9e802e]}),_0x9e802e++;else _0x5c27e7<_0x232e71[_0x280228(0x1a0)]&&(_0x5d0d2e[_0x280228(0x187)]({'type':_0x280228(0x17d),'content':_0x232e71[_0x5c27e7]}),_0x5c27e7++);}}}return _0x5d0d2e;}function computeLCS(_0x7b95b4,_0x572d92){const _0x5eb1a8=a210_0x2448,_0x4a1d8d=_0x7b95b4[_0x5eb1a8(0x1a0)],_0x5ef8d0=_0x572d92[_0x5eb1a8(0x1a0)],_0x5ac7a7=Array(_0x4a1d8d+0x1)['fill'](null)[_0x5eb1a8(0x18d)](()=>Array(_0x5ef8d0+0x1)[_0x5eb1a8(0x18b)](0x0));for(let _0x114238=0x1;_0x114238<=_0x4a1d8d;_0x114238++){for(let _0xd318f3=0x1;_0xd318f3<=_0x5ef8d0;_0xd318f3++){_0x7b95b4[_0x114238-0x1]===_0x572d92[_0xd318f3-0x1]?_0x5ac7a7[_0x114238][_0xd318f3]=_0x5ac7a7[_0x114238-0x1][_0xd318f3-0x1]+0x1:_0x5ac7a7[_0x114238][_0xd318f3]=Math[_0x5eb1a8(0x19e)](_0x5ac7a7[_0x114238-0x1][_0xd318f3],_0x5ac7a7[_0x114238][_0xd318f3-0x1]);}}const _0x14743d=[];let _0x3ce461=_0x4a1d8d,_0x104881=_0x5ef8d0;while(_0x3ce461>0x0&&_0x104881>0x0){if(_0x7b95b4[_0x3ce461-0x1]===_0x572d92[_0x104881-0x1])_0x14743d['unshift'](_0x7b95b4[_0x3ce461-0x1]),_0x3ce461--,_0x104881--;else _0x5ac7a7[_0x3ce461-0x1][_0x104881]>_0x5ac7a7[_0x3ce461][_0x104881-0x1]?_0x3ce461--:_0x104881--;}return _0x14743d;}export function formatDiffWithColors(_0xf716e0,_0x5a583a=0x3){const _0x53bcd7=a210_0x2448,_0x2972df=new Set();_0xf716e0[_0x53bcd7(0x18a)]((_0x505a8b,_0x46a414)=>{const _0x27e441=_0x53bcd7;_0x505a8b[_0x27e441(0x19a)]!==_0x27e441(0x18f)&&_0x2972df[_0x27e441(0x191)](_0x46a414);});if(_0x2972df[_0x53bcd7(0x192)]===0x0)return'';const _0x25b58a=new Set();for(const _0x47a6 of _0x2972df){for(let _0x10f948=Math[_0x53bcd7(0x19e)](0x0,_0x47a6-_0x5a583a);_0x10f948<=Math[_0x53bcd7(0x1a1)](_0xf716e0[_0x53bcd7(0x1a0)]-0x1,_0x47a6+_0x5a583a);_0x10f948++){_0x25b58a['add'](_0x10f948);}}const _0xe4c01f=[];let _0x42eaa6=-0x1;const _0x462146=_0xf716e0['length'],_0x503807=Math['max'](0x3,String(_0x462146)[_0x53bcd7(0x1a0)]),_0x3fd9c9=[];let _0x5c5638=0x0,_0x46c563=0x0;for(const _0x347bf7 of _0xf716e0){if(_0x347bf7[_0x53bcd7(0x19a)]===_0x53bcd7(0x180))_0x5c5638++,_0x3fd9c9[_0x53bcd7(0x187)]({'old':_0x5c5638,'new':0x0});else _0x347bf7[_0x53bcd7(0x19a)]==='added'?(_0x46c563++,_0x3fd9c9['push']({'old':0x0,'new':_0x46c563})):(_0x5c5638++,_0x46c563++,_0x3fd9c9[_0x53bcd7(0x187)]({'old':_0x5c5638,'new':_0x46c563}));}for(let _0x1f3ba6=0x0;_0x1f3ba6<_0xf716e0['length'];_0x1f3ba6++){if(!_0x25b58a['has'](_0x1f3ba6))continue;_0x42eaa6!==-0x1&&_0x1f3ba6>_0x42eaa6+0x1&&_0xe4c01f[_0x53bcd7(0x187)](a210_0x5c1fd2[_0x53bcd7(0x19b)](_0x53bcd7(0x17f)));_0x42eaa6=_0x1f3ba6;const _0x34c349=_0xf716e0[_0x1f3ba6],_0x23e192=_0x3fd9c9[_0x1f3ba6],_0x4c976d=_0x23e192[_0x53bcd7(0x198)]>0x0?String(_0x23e192[_0x53bcd7(0x198)])['padStart'](_0x503807):'\x20'[_0x53bcd7(0x1a2)](_0x503807),_0x323252=_0x23e192[_0x53bcd7(0x184)]>0x0?String(_0x23e192[_0x53bcd7(0x184)])[_0x53bcd7(0x189)](_0x503807):'\x20'[_0x53bcd7(0x1a2)](_0x503807);switch(_0x34c349['type']){case _0x53bcd7(0x180):_0xe4c01f[_0x53bcd7(0x187)](a210_0x5c1fd2[_0x53bcd7(0x18e)](_0x4c976d+'\x20'+_0x323252+'\x20-\x20'+_0x34c349['content']));break;case _0x53bcd7(0x17d):_0xe4c01f[_0x53bcd7(0x187)](a210_0x5c1fd2[_0x53bcd7(0x195)](_0x4c976d+'\x20'+_0x323252+_0x53bcd7(0x18c)+_0x34c349[_0x53bcd7(0x190)]));break;default:_0xe4c01f['push'](a210_0x5c1fd2[_0x53bcd7(0x186)](_0x4c976d+'\x20'+_0x323252+_0x53bcd7(0x193)+_0x34c349[_0x53bcd7(0x190)]));break;}}return _0xe4c01f[_0x53bcd7(0x17e)]('\x0a');}export function hasChanges(_0xdd4df2){const _0x4da8d2=a210_0x2448;return _0xdd4df2[_0x4da8d2(0x181)](_0x313adb=>_0x313adb[_0x4da8d2(0x19a)]!==_0x4da8d2(0x18f));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4c41c8,_0x5ae502){const _0x2c1609=a211_0x1dac,_0x281197=_0x4c41c8();while(!![]){try{const _0x3bb94a=parseInt(_0x2c1609(0xeb))/0x1*(-parseInt(_0x2c1609(0xdb))/0x2)+-parseInt(_0x2c1609(0xee))/0x3+parseInt(_0x2c1609(0xe9))/0x4+-parseInt(_0x2c1609(0xe7))/0x5*(-parseInt(_0x2c1609(0xe4))/0x6)+parseInt(_0x2c1609(0xdf))/0x7+parseInt(_0x2c1609(0xde))/0x8+-parseInt(_0x2c1609(0xda))/0x9;if(_0x3bb94a===_0x5ae502)break;else _0x281197['push'](_0x281197['shift']());}catch(_0x195714){_0x281197['push'](_0x281197['shift']());}}}(a211_0x368f,0x32835));function a211_0x368f(){const _0x25e0be=['statSync','Warning:\x20Could\x20not\x20set\x20secure\x20permissions\x20on\x20','warn','53166BtKqEG','toString','Should\x20be\x200600\x20or\x20more\x20restrictive.','95MGxaGF',').\x20','732560zyORyC','mkdirSync','239903MUXdLa','Warning:\x20','mode','400404JbphbQ','3875778vcPYGL','2IfMVen','dirname','chmodSync','2292976TNdsba','2609551yFJXjB','\x20has\x20insecure\x20permissions\x20('];a211_0x368f=function(){return _0x25e0be;};return a211_0x368f();}import*as a211_0x1337e3 from'node:fs';function a211_0x1dac(_0x358d97,_0x18649c){_0x358d97=_0x358d97-0xda;const _0x368f95=a211_0x368f();let _0x1dac45=_0x368f95[_0x358d97];return _0x1dac45;}import*as a211_0xdbbf65 from'node:path';export function setSecureFilePermissions(_0x2386dc){const _0x11e551=a211_0x1dac;try{a211_0x1337e3[_0x11e551(0xdd)](_0x2386dc,0x180);}catch{console['warn']('Warning:\x20Could\x20not\x20set\x20secure\x20permissions\x20on\x20'+_0x2386dc);}}export function setSecureDirectoryPermissions(_0x28e8d3){const _0x230263=a211_0x1dac;try{a211_0x1337e3[_0x230263(0xdd)](_0x28e8d3,0x1c0);}catch{console['warn'](_0x230263(0xe2)+_0x28e8d3);}}export function createSecureDirectory(_0xa54682){const _0x4c722c=a211_0x1dac;!a211_0x1337e3['existsSync'](_0xa54682)&&(a211_0x1337e3[_0x4c722c(0xea)](_0xa54682,{'recursive':!![],'mode':0x1c0}),setSecureDirectoryPermissions(_0xa54682));}export function validateSecureFilePermissions(_0x25f604){const _0x2547f8=a211_0x1dac;try{const _0x167bdf=a211_0x1337e3[_0x2547f8(0xe1)](_0x25f604),_0x16d3fa=_0x167bdf[_0x2547f8(0xed)]&0x1ff,_0x30d143=(_0x16d3fa&0x3f)!==0x0;if(_0x30d143)return console[_0x2547f8(0xe3)](_0x2547f8(0xec)+_0x25f604+_0x2547f8(0xe0)+_0x16d3fa[_0x2547f8(0xe5)](0x8)+_0x2547f8(0xe8)+_0x2547f8(0xe6)),![];return!![];}catch{return!![];}}export function writeSecureFile(_0x42ddb0,_0xd931bd){const _0x4151fb=a211_0x1dac,_0x46428d=a211_0xdbbf65[_0x4151fb(0xdc)](_0x42ddb0);createSecureDirectory(_0x46428d),a211_0x1337e3['writeFileSync'](_0x42ddb0,_0xd931bd,{'mode':0x180}),setSecureFilePermissions(_0x42ddb0);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x4bbeb7,_0xf0ba5f){const _0x26a84c=a212_0x28d2,_0x4aca6=_0x4bbeb7();while(!![]){try{const _0x4e60cd=parseInt(_0x26a84c(0x11f))/0x1*(parseInt(_0x26a84c(0x11d))/0x2)+-parseInt(_0x26a84c(0x129))/0x3+parseInt(_0x26a84c(0x125))/0x4+-parseInt(_0x26a84c(0x12d))/0x5*(parseInt(_0x26a84c(0x124))/0x6)+parseInt(_0x26a84c(0x12a))/0x7*(parseInt(_0x26a84c(0x126))/0x8)+parseInt(_0x26a84c(0x11c))/0x9+-parseInt(_0x26a84c(0x122))/0xa;if(_0x4e60cd===_0xf0ba5f)break;else _0x4aca6['push'](_0x4aca6['shift']());}catch(_0x5cc772){_0x4aca6['push'](_0x4aca6['shift']());}}}(a212_0x37cf,0x8a245));import{readFileSync}from'fs';function a212_0x28d2(_0x33b406,_0x3cfcae){_0x33b406=_0x33b406-0x11b;const _0x37cfa9=a212_0x37cf();let _0x28d269=_0x37cfa9[_0x33b406];return _0x28d269;}import{SDKError,ErrorCode}from'../sdk/errors.js';function a212_0x37cf(){const _0x2984a4=['4866iNUyTK','2928628TREsGy','7252544GQUYhx','INTERNAL','Error\x20reading\x20file\x20\x27','1105677KCRBqX','7EkaHJP','File\x20\x27','ENOENT','2995UMUSxs','PERMISSION_DENIED','2497122nhwNms','4714zaaGnS','message','411QxiyRF','EACCES','\x27\x20not\x20found','14647330wsDgmL','utf-8'];a212_0x37cf=function(){return _0x2984a4;};return a212_0x37cf();}export function readFileContent(_0x299a10){const _0x3c2024=a212_0x28d2;try{return readFileSync(_0x299a10,_0x3c2024(0x123));}catch(_0x200686){const _0x3ac52e=_0x200686['code'];if(_0x3ac52e===_0x3c2024(0x12c))throw new SDKError(ErrorCode['NOT_FOUND'],_0x3c2024(0x12b)+_0x299a10+_0x3c2024(0x121),_0x200686);else{if(_0x3ac52e===_0x3c2024(0x120))throw new SDKError(ErrorCode[_0x3c2024(0x11b)],'Permission\x20denied\x20reading\x20file\x20\x27'+_0x299a10+'\x27',_0x200686);else throw new SDKError(ErrorCode[_0x3c2024(0x127)],_0x3c2024(0x128)+_0x299a10+'\x27:\x20'+_0x200686[_0x3c2024(0x11e)],_0x200686);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x150a42,_0x591f22){const _0x1e0567=a213_0x4d2f,_0x44c9cf=_0x150a42();while(!![]){try{const _0x57bbb1=-parseInt(_0x1e0567(0x105))/0x1+parseInt(_0x1e0567(0x110))/0x2+-parseInt(_0x1e0567(0x111))/0x3*(parseInt(_0x1e0567(0x10f))/0x4)+parseInt(_0x1e0567(0x10b))/0x5+parseInt(_0x1e0567(0x116))/0x6+-parseInt(_0x1e0567(0x112))/0x7+-parseInt(_0x1e0567(0x100))/0x8*(parseInt(_0x1e0567(0x108))/0x9);if(_0x57bbb1===_0x591f22)break;else _0x44c9cf['push'](_0x44c9cf['shift']());}catch(_0x3b9e8a){_0x44c9cf['push'](_0x44c9cf['shift']());}}}(a213_0xc63c,0x6a5e6));function a213_0x4d2f(_0x4ab7f8,_0x237bad){_0x4ab7f8=_0x4ab7f8-0xfc;const _0xc63c3a=a213_0xc63c();let _0x4d2f0b=_0xc63c3a[_0x4ab7f8];return _0x4d2f0b;}import*as a213_0x3cf999 from'node:https';function a213_0xc63c(){const _0x34cb4d=['3669385LQsYSz','GitHub\x20API\x20returned\x20','application/vnd.github+json','get','4272ipjmJL','1138486PxtPPg','177MGteJP','3986941nLqISY','length','destroy','toString','3939120utnDjk','fetchedAt','end','next','GitHub\x20API\x20request\x20timed\x20out\x20after\x20','statusCode','/releases?per_page=20','parse','timeout','2424sABnMI','now','slice','resolve','error','389308jPIAsz','api.github.com','/repos/','14913ZUNBtX','find','prerelease'];a213_0xc63c=function(){return _0x34cb4d;};return a213_0xc63c();}const REQUEST_TIMEOUT_MS=0x2710,CACHE_TTL_MS=0x5*0x3c*0x3e8,cache=new Map();export function fetchGitHubReleases(_0xebb7d0,_0x4fc2e7,_0x122d51){const _0x4b3312=a213_0x4d2f,_0x261a5e=_0xebb7d0+'/'+_0x4fc2e7,_0x5ca525=cache[_0x4b3312(0x10e)](_0x261a5e);if(_0x5ca525&&Date['now']()-_0x5ca525[_0x4b3312(0x117)]<CACHE_TTL_MS)return Promise[_0x4b3312(0x103)](_0x5ca525['releases']);return new Promise((_0x30b86c,_0x4916ee)=>{const _0x27b193=_0x4b3312,_0x27df0b={'hostname':_0x27b193(0x106),'path':_0x27b193(0x107)+_0xebb7d0+'/'+_0x4fc2e7+_0x27b193(0xfd),'headers':{'User-Agent':_0x122d51,'Accept':_0x27b193(0x10d)},'timeout':REQUEST_TIMEOUT_MS},_0x24070b=a213_0x3cf999[_0x27b193(0x10e)](_0x27df0b,_0x388fe5=>{const _0x2ebefc=_0x27b193;let _0x54d18f='';_0x388fe5['on']('data',_0x51c4fa=>{const _0x30987d=a213_0x4d2f;_0x54d18f+=_0x51c4fa[_0x30987d(0x115)]();}),_0x388fe5['on'](_0x2ebefc(0x118),()=>{const _0x74b7b4=_0x2ebefc;if(_0x388fe5[_0x74b7b4(0xfc)]!==0xc8){_0x4916ee(new Error(_0x74b7b4(0x10c)+_0x388fe5['statusCode']+':\x20'+_0x54d18f[_0x74b7b4(0x102)](0x0,0xc8)));return;}try{const _0x4d2910=JSON[_0x74b7b4(0xfe)](_0x54d18f);cache['set'](_0x261a5e,{'releases':_0x4d2910,'fetchedAt':Date[_0x74b7b4(0x101)]()}),_0x30b86c(_0x4d2910);}catch(_0x30052c){_0x4916ee(_0x30052c);}});});_0x24070b['on'](_0x27b193(0xff),()=>{const _0x17244f=_0x27b193;_0x24070b[_0x17244f(0x114)](),_0x4916ee(new Error(_0x17244f(0x11a)+REQUEST_TIMEOUT_MS+'ms'));}),_0x24070b['on'](_0x27b193(0x104),_0x4916ee);});}export async function resolveReleaseTag(_0x143292,_0x83544b,_0x462db0,_0x18a3a5){const _0x10c70e=a213_0x4d2f;if(_0x143292===_0x10c70e(0x119))return null;const _0x488949=await fetchGitHubReleases(_0x83544b,_0x462db0,_0x18a3a5);if(_0x488949[_0x10c70e(0x113)]===0x0)return null;const _0x60d61d=_0x488949[_0x10c70e(0x109)](_0x172657=>!_0x172657[_0x10c70e(0x10a)]);return _0x60d61d?_0x60d61d['tag_name']:null;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x25e05f,_0x56121f){const _0x533448=a214_0x5e32,_0x426b24=_0x25e05f();while(!![]){try{const _0x2ff465=parseInt(_0x533448(0xca))/0x1+-parseInt(_0x533448(0xd3))/0x2*(parseInt(_0x533448(0xd6))/0x3)+parseInt(_0x533448(0xd8))/0x4*(parseInt(_0x533448(0xd1))/0x5)+-parseInt(_0x533448(0xd2))/0x6+parseInt(_0x533448(0xd5))/0x7*(-parseInt(_0x533448(0xcf))/0x8)+parseInt(_0x533448(0xc9))/0x9+parseInt(_0x533448(0xd4))/0xa;if(_0x2ff465===_0x56121f)break;else _0x426b24['push'](_0x426b24['shift']());}catch(_0x17be04){_0x426b24['push'](_0x426b24['shift']());}}}(a214_0x21ab,0x40138));function a214_0x5e32(_0x46605e,_0x596554){_0x46605e=_0x46605e-0xc9;const _0x21abd1=a214_0x21ab();let _0x5e324a=_0x21abd1[_0x46605e];return _0x5e324a;}import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join}from'path';import{homedir}from'os';export function getGlobalCacheDir(){const _0x4ebeda=a214_0x5e32;return process.env.TDX_CACHE_DIR||join(homedir(),_0x4ebeda(0xdd),_0x4ebeda(0xcd));}const registry=new Map();export function registerGlobalCacheKey(_0x384c09,_0x34027b){const _0x415138=a214_0x5e32,_0x995b64=registry[_0x415138(0xdb)](_0x384c09);if(_0x995b64&&_0x995b64!==_0x34027b)throw new Error(_0x415138(0xd0)+_0x384c09+_0x415138(0xde)+_0x995b64+_0x415138(0xdf)+_0x34027b+'\x22');registry[_0x415138(0xda)](_0x384c09,_0x34027b);}export function getGlobalCachePath(_0x3391bf){return join(getGlobalCacheDir(),_0x3391bf);}function a214_0x21ab(){const _0x277a2d=['parse','2908hElIGy','clear','set','get','utf-8','.cache','\x22\x20already\x20registered\x20by\x20\x22','\x22,\x20cannot\x20register\x20for\x20\x22','918027NyVGQl','234719DAygFw','{profile}','default','tdx','trim','7496YTxNNa','Global\x20cache\x20key\x20\x22','2815bhOSlw','2284182jHnbHf','4fxvsFX','3568300BPIGWG','1218fEyMKz','444993kLiKtK'];a214_0x21ab=function(){return _0x277a2d;};return a214_0x21ab();}function ensureGlobalCacheDir(){const _0x2921c5=getGlobalCacheDir();!existsSync(_0x2921c5)&&mkdirSync(_0x2921c5,{'recursive':!![]});}function readCacheJson(_0x1cb004){const _0x490e84=a214_0x5e32,_0x4cb175=getGlobalCachePath(_0x1cb004);if(!existsSync(_0x4cb175))return undefined;try{const _0x29f834=readFileSync(_0x4cb175,_0x490e84(0xdc));return JSON[_0x490e84(0xd7)](_0x29f834);}catch{return undefined;}}function writeCacheJson(_0x1e0c4c,_0xfdd11b){ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x1e0c4c),JSON['stringify'](_0xfdd11b,null,0x2),'utf-8');}function readCacheText(_0x50b78b){const _0x239a04=a214_0x5e32,_0x1540d5=getGlobalCachePath(_0x50b78b);if(!existsSync(_0x1540d5))return undefined;try{return readFileSync(_0x1540d5,_0x239a04(0xdc));}catch{return undefined;}}function writeCacheText(_0x4f1a8e,_0x19c748){const _0x40c78a=a214_0x5e32;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x4f1a8e),_0x19c748,_0x40c78a(0xdc));}function clearCache(_0x1a0b95){const _0x583aa6=getGlobalCachePath(_0x1a0b95);if(existsSync(_0x583aa6))try{unlinkSync(_0x583aa6);}catch{}}function cacheExists(_0x2538d4){return existsSync(getGlobalCachePath(_0x2538d4));}export function createGlobalCache(_0x3f9a10,_0x508a22){return registerGlobalCacheKey(_0x3f9a10,_0x508a22),{'read':()=>readCacheJson(_0x3f9a10),'write':_0x56de0e=>writeCacheJson(_0x3f9a10,_0x56de0e),'clear':()=>clearCache(_0x3f9a10),'exists':()=>cacheExists(_0x3f9a10),'path':()=>getGlobalCachePath(_0x3f9a10)};}export function createGlobalTextCache(_0x593b4b,_0x3a920e){const _0xfe719=a214_0x5e32;return registerGlobalCacheKey(_0x593b4b,_0x3a920e),{'read':()=>readCacheText(_0x593b4b)?.[_0xfe719(0xce)]()||undefined,'write':_0x2b7932=>writeCacheText(_0x593b4b,_0x2b7932),'clear':()=>clearCache(_0x593b4b),'exists':()=>cacheExists(_0x593b4b),'path':()=>getGlobalCachePath(_0x593b4b)};}export function createProfileCache(_0x1dec2d,_0x572e0b){const _0x455bdb=_0x4237d0=>{const _0x3fadfc=a214_0x5e32,_0x136a6b=_0x4237d0||_0x3fadfc(0xcc);return _0x1dec2d['replace'](_0x3fadfc(0xcb),_0x136a6b);};return{'read':_0x3759f9=>{const _0x1d02c4=_0x455bdb(_0x3759f9);return registerGlobalCacheKey(_0x1d02c4,_0x572e0b),readCacheJson(_0x1d02c4);},'write':(_0x3eba85,_0xbbc769)=>{const _0x3fdf16=_0x455bdb(_0x3eba85);registerGlobalCacheKey(_0x3fdf16,_0x572e0b),writeCacheJson(_0x3fdf16,_0xbbc769);},'clear':_0x5c8905=>{const _0x245e47=_0x455bdb(_0x5c8905);clearCache(_0x245e47);},'exists':_0x496ae3=>{const _0x26f01f=_0x455bdb(_0x496ae3);return cacheExists(_0x26f01f);},'path':_0x51b835=>{const _0x487710=_0x455bdb(_0x51b835);return getGlobalCachePath(_0x487710);}};}export function createOptionalProfileCache(_0x392b6d,_0xa55735,_0xd3e606={}){const {profileSeparator:profileSeparator='.',suffix:suffix=''}=_0xd3e606,_0x4d4e91=_0x293fab=>{return _0x293fab?''+_0x392b6d+profileSeparator+_0x293fab+suffix:''+_0x392b6d+suffix;};return{'read':_0x4aec7a=>{const _0x3d0f4b=_0x4d4e91(_0x4aec7a);return registerGlobalCacheKey(_0x3d0f4b,_0xa55735),readCacheJson(_0x3d0f4b);},'write':(_0x36ffbf,_0xfac303)=>{const _0x52a05f=_0x4d4e91(_0xfac303);registerGlobalCacheKey(_0x52a05f,_0xa55735),writeCacheJson(_0x52a05f,_0x36ffbf);},'clear':_0x3ef4ef=>{const _0x282086=_0x4d4e91(_0x3ef4ef);clearCache(_0x282086);},'exists':_0x307aa0=>{const _0x5759c2=_0x4d4e91(_0x307aa0);return cacheExists(_0x5759c2);},'path':_0x4bc2ca=>{const _0x43c129=_0x4d4e91(_0x4bc2ca);return getGlobalCachePath(_0x43c129);}};}export function clearGlobalRegistry(){const _0x25f6d6=a214_0x5e32;registry[_0x25f6d6(0xd9)]();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1c833c,_0x4dfdcc){const _0x554a0b=a215_0x36c8,_0x2cb311=_0x1c833c();while(!![]){try{const _0x45a411=parseInt(_0x554a0b(0x13a))/0x1+-parseInt(_0x554a0b(0x132))/0x2*(parseInt(_0x554a0b(0x12f))/0x3)+-parseInt(_0x554a0b(0x12a))/0x4*(-parseInt(_0x554a0b(0x12d))/0x5)+parseInt(_0x554a0b(0x13b))/0x6+parseInt(_0x554a0b(0x138))/0x7+parseInt(_0x554a0b(0x137))/0x8*(-parseInt(_0x554a0b(0x13e))/0x9)+-parseInt(_0x554a0b(0x13c))/0xa;if(_0x45a411===_0x4dfdcc)break;else _0x2cb311['push'](_0x2cb311['shift']());}catch(_0x3adbdb){_0x2cb311['push'](_0x2cb311['shift']());}}}(a215_0x1bb5,0x6caf3));import{readFile}from'fs/promises';import{SDKError,ErrorCode}from'../sdk/errors.js';export async function loadJSON(_0x4a3b8b,_0x28f14b){const _0x1c8dd8=a215_0x36c8;try{if(_0x28f14b){const _0x1b0899=await readFile(_0x4a3b8b,'utf-8');try{return JSON['parse'](_0x1b0899);}catch(_0x12a338){throw new SDKError(ErrorCode[_0x1c8dd8(0x129)],_0x1c8dd8(0x133)+_0x4a3b8b+'\x27:\x20'+(_0x12a338 instanceof Error?_0x12a338[_0x1c8dd8(0x136)]:String(_0x12a338)));}}else try{return JSON[_0x1c8dd8(0x134)](_0x4a3b8b);}catch(_0x353f08){throw new SDKError(ErrorCode[_0x1c8dd8(0x129)],_0x1c8dd8(0x139)+(_0x353f08 instanceof Error?_0x353f08[_0x1c8dd8(0x136)]:String(_0x353f08)));}}catch(_0x2721e1){if(_0x2721e1 instanceof SDKError)throw _0x2721e1;if(_0x2721e1 instanceof Error&&_0x1c8dd8(0x12c)in _0x2721e1){const _0xad2b4d=_0x2721e1;if(_0xad2b4d[_0x1c8dd8(0x12c)]===_0x1c8dd8(0x131))throw new SDKError(ErrorCode[_0x1c8dd8(0x12b)],_0x1c8dd8(0x12e)+_0x4a3b8b);else{if(_0xad2b4d[_0x1c8dd8(0x12c)]===_0x1c8dd8(0x135))throw new SDKError(ErrorCode['PERMISSION_DENIED'],_0x1c8dd8(0x13d)+_0x4a3b8b);}}throw new SDKError(ErrorCode['INTERNAL'],_0x1c8dd8(0x130)+(_0x2721e1 instanceof Error?_0x2721e1[_0x1c8dd8(0x136)]:String(_0x2721e1)));}}function a215_0x36c8(_0x4d3ab5,_0x464e27){_0x4d3ab5=_0x4d3ab5-0x129;const _0x1bb5eb=a215_0x1bb5();let _0x36c8b7=_0x1bb5eb[_0x4d3ab5];return _0x36c8b7;}export async function loadJSONFromOptions(_0x1a5271,_0x2547cf){const _0x4c73db=a215_0x36c8;if(_0x1a5271&&_0x2547cf)throw new SDKError(ErrorCode[_0x4c73db(0x129)],'Cannot\x20specify\x20both\x20inline\x20JSON\x20and\x20file\x20path.\x20Use\x20one\x20or\x20the\x20other.');if(_0x1a5271)return await loadJSON(_0x1a5271,![]);if(_0x2547cf)return await loadJSON(_0x2547cf,!![]);return undefined;}function a215_0x1bb5(){const _0x58e13b=['parse','EACCES','message','19376lNUPWX','516957fTTyMZ','Invalid\x20JSON\x20string:\x20','594551oDIqCA','2143626PmSzQv','5566930DxkLwv','Permission\x20denied\x20reading\x20file:\x20','909MAuYhS','INVALID_ARGUMENT','11620PkNlNV','NOT_FOUND','code','1405QNiqDO','File\x20not\x20found:\x20','446619LtcUkV','Failed\x20to\x20load\x20JSON:\x20','ENOENT','8dshVjc','Invalid\x20JSON\x20in\x20file\x20\x27'];a215_0x1bb5=function(){return _0x58e13b;};return a215_0x1bb5();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a216_0x2ba5b8=a216_0x5f45;(function(_0xd05a1c,_0x24b4f7){const _0x30c9fc=a216_0x5f45,_0x382eb9=_0xd05a1c();while(!![]){try{const _0x5d7f8a=parseInt(_0x30c9fc(0x1b1))/0x1+-parseInt(_0x30c9fc(0x1b7))/0x2+-parseInt(_0x30c9fc(0x1b2))/0x3+-parseInt(_0x30c9fc(0x1b3))/0x4+-parseInt(_0x30c9fc(0x1bb))/0x5+-parseInt(_0x30c9fc(0x1ae))/0x6+-parseInt(_0x30c9fc(0x1b6))/0x7*(-parseInt(_0x30c9fc(0x1af))/0x8);if(_0x5d7f8a===_0x24b4f7)break;else _0x382eb9['push'](_0x382eb9['shift']());}catch(_0x3ff9cd){_0x382eb9['push'](_0x382eb9['shift']());}}}(a216_0x4b3e,0xf3f1e));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join,parse}from'path';import{homedir}from'os';const LOCAL_CACHE_DIR=a216_0x2ba5b8(0x1bd),registry=new Map();export function registerCacheKey(_0x346c11,_0x103546){const _0x3c03ef=a216_0x2ba5b8,_0x1c4c7e=registry[_0x3c03ef(0x1ad)](_0x346c11);if(_0x1c4c7e&&_0x1c4c7e!==_0x103546)throw new Error('Cache\x20key\x20\x22'+_0x346c11+_0x3c03ef(0x1bc)+_0x1c4c7e+_0x3c03ef(0x1b4)+_0x103546+'\x22');registry[_0x3c03ef(0x1ba)](_0x346c11,_0x103546);}export function getCacheDir(){const _0x2bb9f2=a216_0x2ba5b8,_0x179c9e=process[_0x2bb9f2(0x1b0)](),_0x4a38a4=_0x179c9e===parse(_0x179c9e)['root']?homedir():_0x179c9e;return join(_0x4a38a4,LOCAL_CACHE_DIR);}export function getCachePath(_0x59c520){return join(getCacheDir(),_0x59c520);}function ensureCacheDir(){const _0x2cf410=getCacheDir();!existsSync(_0x2cf410)&&mkdirSync(_0x2cf410,{'recursive':!![]});}function a216_0x4b3e(){const _0x43cee0=['utf-8','5274479cKAwDq','2650PwjSYH','parse','trim','set','498225WVGgPP','\x22\x20already\x20registered\x20by\x20\x22','.cache/tdx','get','1466862TwyGvN','24erjrii','cwd','1035284JoicNq','2595150VVzAvH','4344320EoslyC','\x22,\x20cannot\x20register\x20for\x20\x22'];a216_0x4b3e=function(){return _0x43cee0;};return a216_0x4b3e();}function readCacheJson(_0x522121){const _0x39a521=a216_0x2ba5b8,_0x38e4c3=getCachePath(_0x522121);if(!existsSync(_0x38e4c3))return undefined;try{const _0x326f35=readFileSync(_0x38e4c3,_0x39a521(0x1b5));return JSON[_0x39a521(0x1b8)](_0x326f35);}catch{return undefined;}}function a216_0x5f45(_0x4b1dd1,_0x4a81ae){_0x4b1dd1=_0x4b1dd1-0x1ad;const _0x4b3eb3=a216_0x4b3e();let _0x5f455a=_0x4b3eb3[_0x4b1dd1];return _0x5f455a;}function writeCacheJson(_0xc8dec2,_0x1bc941){const _0x1d8f8d=a216_0x2ba5b8;ensureCacheDir(),writeFileSync(getCachePath(_0xc8dec2),JSON['stringify'](_0x1bc941,null,0x2),_0x1d8f8d(0x1b5));}function readCacheText(_0x3dd691){const _0x4ed831=a216_0x2ba5b8,_0x4c66e4=getCachePath(_0x3dd691);if(!existsSync(_0x4c66e4))return undefined;try{return readFileSync(_0x4c66e4,_0x4ed831(0x1b5));}catch{return undefined;}}function writeCacheText(_0x5398c6,_0x350f33){const _0x226615=a216_0x2ba5b8;ensureCacheDir(),writeFileSync(getCachePath(_0x5398c6),_0x350f33,_0x226615(0x1b5));}function clearCache(_0x13de1c){const _0x58a8f8=getCachePath(_0x13de1c);if(existsSync(_0x58a8f8))try{unlinkSync(_0x58a8f8);}catch{}}function cacheExists(_0x630e77){return existsSync(getCachePath(_0x630e77));}export function createCache(_0x51d4fe,_0x3b18f7){return registerCacheKey(_0x51d4fe,_0x3b18f7),{'read':()=>readCacheJson(_0x51d4fe),'write':_0x3f82f0=>writeCacheJson(_0x51d4fe,_0x3f82f0),'clear':()=>clearCache(_0x51d4fe),'exists':()=>cacheExists(_0x51d4fe),'path':()=>getCachePath(_0x51d4fe)};}export function createTextCache(_0x363a26,_0x38c2d0){const _0xd0f432=a216_0x2ba5b8;return registerCacheKey(_0x363a26,_0x38c2d0),{'read':()=>readCacheText(_0x363a26)?.[_0xd0f432(0x1b9)]()||undefined,'write':_0x47b847=>writeCacheText(_0x363a26,_0x47b847),'clear':()=>clearCache(_0x363a26),'exists':()=>cacheExists(_0x363a26),'path':()=>getCachePath(_0x363a26)};}export function clearRegistry(){registry['clear']();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a217_0xa52e(){const _0x49e369=['dim','message','gray','775588sHkDLw','component','blue','1061310GcslGV','level','TRACE','ERROR','9GhOXbx','colors','default','yellow','2086482xBdiYC','green','chalk','WARN','Chalk','colorLevel','5ZKNXsM','cyan','9232281JoUYDK','431004bAzcwk','5341091gioHkZ','red','5330360wWwIqv',']\x20['];a217_0xa52e=function(){return _0x49e369;};return a217_0xa52e();}function a217_0x24b5(_0x6ae615,_0x3906bb){_0x6ae615=_0x6ae615-0x1e2;const _0xa52e16=a217_0xa52e();let _0x24b524=_0xa52e16[_0x6ae615];return _0x24b524;}const a217_0x509be5=a217_0x24b5;(function(_0x3347cd,_0x58e968){const _0x217ed6=a217_0x24b5,_0x310fd1=_0x3347cd();while(!![]){try{const _0x532dbf=-parseInt(_0x217ed6(0x1ef))/0x1+-parseInt(_0x217ed6(0x1fa))/0x2+parseInt(_0x217ed6(0x1e2))/0x3*(parseInt(_0x217ed6(0x1f7))/0x4)+-parseInt(_0x217ed6(0x1ec))/0x5*(parseInt(_0x217ed6(0x1e6))/0x6)+parseInt(_0x217ed6(0x1f0))/0x7+-parseInt(_0x217ed6(0x1f2))/0x8+parseInt(_0x217ed6(0x1ee))/0x9;if(_0x532dbf===_0x58e968)break;else _0x310fd1['push'](_0x310fd1['shift']());}catch(_0x3a5d40){_0x310fd1['push'](_0x310fd1['shift']());}}}(a217_0xa52e,0x6063c));import a217_0x3957ab from'chalk';import{LogLevel,logLevelToString,formatTimestamp}from'../types.js';const chalkModule=a217_0x3957ab,ChalkClass=chalkModule[a217_0x509be5(0x1ea)]||chalkModule[a217_0x509be5(0x1e4)]?.[a217_0x509be5(0x1ea)];export class DefaultLogFormatter{[a217_0x509be5(0x1e3)];[a217_0x509be5(0x1e8)];constructor(_0x42c6af={}){const _0x213785=a217_0x509be5;this[_0x213785(0x1e3)]=_0x42c6af[_0x213785(0x1e3)]??![],this['chalk']=_0x42c6af[_0x213785(0x1e3)]&&ChalkClass?new ChalkClass({'level':0x3}):a217_0x3957ab;}['format'](_0x22854b){const _0xe53101=a217_0x509be5,_0x1deffa=formatTimestamp(_0x22854b['timestamp']),_0x2296d8=logLevelToString(_0x22854b[_0xe53101(0x1fb)]);if(!this[_0xe53101(0x1e3)])return _0x1deffa+'\x20['+_0x2296d8+_0xe53101(0x1f3)+_0x22854b['component']+']\x20'+_0x22854b[_0xe53101(0x1f5)];const _0x540c7c=this[_0xe53101(0x1e8)][_0xe53101(0x1f4)](_0x1deffa),_0x507d13=this[_0xe53101(0x1eb)](_0x2296d8,_0x22854b[_0xe53101(0x1fb)]),_0x1e2555=this[_0xe53101(0x1e8)][_0xe53101(0x1f9)]('['+_0x22854b[_0xe53101(0x1f8)]+']');return _0x540c7c+'\x20'+_0x507d13+'\x20'+_0x1e2555+'\x20'+_0x22854b[_0xe53101(0x1f5)];}[a217_0x509be5(0x1eb)](_0x5790ad,_0x28e33f){const _0x3b9463=a217_0x509be5;switch(_0x28e33f){case LogLevel[_0x3b9463(0x1fc)]:return this[_0x3b9463(0x1e8)][_0x3b9463(0x1f6)]('['+_0x5790ad+']');case LogLevel['DEBUG']:return this['chalk'][_0x3b9463(0x1e7)]('['+_0x5790ad+']');case LogLevel['INFO']:return this[_0x3b9463(0x1e8)][_0x3b9463(0x1ed)]('['+_0x5790ad+']');case LogLevel[_0x3b9463(0x1e9)]:return this['chalk'][_0x3b9463(0x1e5)]('['+_0x5790ad+']');case LogLevel[_0x3b9463(0x1fd)]:return this['chalk'][_0x3b9463(0x1f1)]('['+_0x5790ad+']');default:return'['+_0x5790ad+']';}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x283ecc,_0x568aae){var _0xf0d192=a218_0x4bbe,_0x36c9d1=_0x283ecc();while(!![]){try{var _0x2dcc09=-parseInt(_0xf0d192(0x11e))/0x1*(parseInt(_0xf0d192(0x11d))/0x2)+-parseInt(_0xf0d192(0x122))/0x3+-parseInt(_0xf0d192(0x121))/0x4+parseInt(_0xf0d192(0x124))/0x5+parseInt(_0xf0d192(0x126))/0x6*(parseInt(_0xf0d192(0x123))/0x7)+-parseInt(_0xf0d192(0x11f))/0x8*(parseInt(_0xf0d192(0x120))/0x9)+-parseInt(_0xf0d192(0x127))/0xa*(-parseInt(_0xf0d192(0x125))/0xb);if(_0x2dcc09===_0x568aae)break;else _0x36c9d1['push'](_0x36c9d1['shift']());}catch(_0x3be391){_0x36c9d1['push'](_0x36c9d1['shift']());}}}(a218_0x2f8f,0x9deec));function a218_0x4bbe(_0x44abd7,_0x21dda2){_0x44abd7=_0x44abd7-0x11d;var _0x2f8fd6=a218_0x2f8f();var _0x4bbe07=_0x2f8fd6[_0x44abd7];return _0x4bbe07;}export{DefaultLogFormatter}from'./default-formatter.js';function a218_0x2f8f(){var _0x1c5abc=['80386xxkgLE','6UtMfoO','32pjLuPs','2567511xAsUyU','607700stgnrM','3227250GeMsBh','174090MPeXtC','2979165pqdZrH','814KSmOrT','264qWFlLz','211720HVFEeM'];a218_0x2f8f=function(){return _0x1c5abc;};return a218_0x2f8f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a219_0x48278a=a219_0x4e3d;(function(_0x58116e,_0x3b546a){const _0x59c95e=a219_0x4e3d,_0x4809c7=_0x58116e();while(!![]){try{const _0x776b3c=-parseInt(_0x59c95e(0x107))/0x1*(-parseInt(_0x59c95e(0x111))/0x2)+parseInt(_0x59c95e(0x100))/0x3+-parseInt(_0x59c95e(0x113))/0x4*(-parseInt(_0x59c95e(0x10d))/0x5)+parseInt(_0x59c95e(0x10c))/0x6*(parseInt(_0x59c95e(0x10f))/0x7)+parseInt(_0x59c95e(0x10e))/0x8*(-parseInt(_0x59c95e(0xff))/0x9)+parseInt(_0x59c95e(0x105))/0xa*(-parseInt(_0x59c95e(0x101))/0xb)+-parseInt(_0x59c95e(0x104))/0xc;if(_0x776b3c===_0x3b546a)break;else _0x4809c7['push'](_0x4809c7['shift']());}catch(_0x49b91f){_0x4809c7['push'](_0x4809c7['shift']());}}}(a219_0xa8a3,0xda1e4));import{LogLevel as a219_0x22cd6d}from'../types.js';import{DefaultLogFormatter}from'../formatters/index.js';function a219_0x4e3d(_0x306329,_0x51fc15){_0x306329=_0x306329-0xff;const _0xa8a3c9=a219_0xa8a3();let _0x4e3d60=_0xa8a3c9[_0x306329];return _0x4e3d60;}function a219_0xa8a3(){const _0x58feb9=['10cGjttk','6731728eeCljR','11081602hHZDec','formatter','2palbTs','WARN','3476388qCiogF','9HRrnnm','4513998PnTyIQ','253kmGEup','colors','useStderr','22007544uhKBdf','581730kyGUlo','level','80873MRuweR','minLevel','handle','error','log','6xJSixq'];a219_0xa8a3=function(){return _0x58feb9;};return a219_0xa8a3();}export class ConsoleHandler{[a219_0x48278a(0x108)];[a219_0x48278a(0x103)];['formatter'];constructor(_0x4f3832={}){const _0x350ec3=a219_0x48278a;this['minLevel']=_0x4f3832[_0x350ec3(0x108)]??a219_0x22cd6d[_0x350ec3(0x112)],this[_0x350ec3(0x103)]=_0x4f3832['useStderr']??!![],this['formatter']=new DefaultLogFormatter({'colors':_0x4f3832[_0x350ec3(0x102)]??!![]});}[a219_0x48278a(0x109)](_0x2b2211){const _0xc02438=a219_0x48278a;if(_0x2b2211[_0xc02438(0x106)]<this[_0xc02438(0x108)])return;const _0x3f4249=this[_0xc02438(0x110)]['format'](_0x2b2211);this[_0xc02438(0x103)]&&_0x2b2211[_0xc02438(0x106)]>=a219_0x22cd6d[_0xc02438(0x112)]?console[_0xc02438(0x10a)](_0x3f4249):console[_0xc02438(0x10b)](_0x3f4249);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a220_0x32ce99=a220_0x2e7b;(function(_0x8911c7,_0x5c1d7d){const _0x57e9a0=a220_0x2e7b,_0x434528=_0x8911c7();while(!![]){try{const _0x1d2838=-parseInt(_0x57e9a0(0xed))/0x1+-parseInt(_0x57e9a0(0xfe))/0x2+parseInt(_0x57e9a0(0xf5))/0x3+parseInt(_0x57e9a0(0x10f))/0x4*(parseInt(_0x57e9a0(0x10b))/0x5)+parseInt(_0x57e9a0(0xf9))/0x6+-parseInt(_0x57e9a0(0xf2))/0x7+parseInt(_0x57e9a0(0x10c))/0x8*(parseInt(_0x57e9a0(0x108))/0x9);if(_0x1d2838===_0x5c1d7d)break;else _0x434528['push'](_0x434528['shift']());}catch(_0x1ca61a){_0x434528['push'](_0x434528['shift']());}}}(a220_0x15e7,0x2b9a9));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';function a220_0x15e7(){const _0x23f71b=['write','669138bZcSlq','message','Warning:\x20Failed\x20to\x20compress\x20','error','rotate','format','getLogPath','handle','Warning:\x20Failed\x20to\x20initialize\x20log\x20file:','.log','24867HrQPGt','logDir','close','5LtLcnt','632evhmeP','end','toISOString','1079900ewUokC','\x5c$&','logPath','335375QmFAWT','split','replace','-(\x5cd{4}-\x5cd{2}-\x5cd{2})\x5c.log$','filePath','359583EtsbDN','logStream','logFileName','352422tOVlWe','mtime','init','Warning:\x20Error\x20writing\x20to\x20','1765128urpUCd','logBaseName','test','rotateOldLogs'];a220_0x15e7=function(){return _0x23f71b;};return a220_0x15e7();}import{getGlobalCacheDir}from'../../global-cache.js';function a220_0x2e7b(_0x5cc974,_0x3ad798){_0x5cc974=_0x5cc974-0xeb;const _0x15e7fc=a220_0x15e7();let _0x2e7b30=_0x15e7fc[_0x5cc974];return _0x2e7b30;}export class FileHandler{[a220_0x32ce99(0xec)];[a220_0x32ce99(0x109)];[a220_0x32ce99(0xf4)];[a220_0x32ce99(0xfa)];[a220_0x32ce99(0xf3)]=null;[a220_0x32ce99(0x102)];constructor(_0x4e86fc={}){const _0x436da2=a220_0x32ce99;this[_0x436da2(0xec)]=_0x4e86fc[_0x436da2(0xf1)]??join(getGlobalCacheDir(),'logs','tdx.log'),this['logDir']=dirname(this[_0x436da2(0xec)]),this[_0x436da2(0xf4)]=basename(this[_0x436da2(0xec)]),this['logBaseName']=this[_0x436da2(0xf4)][_0x436da2(0xef)](/\.log$/,''),this['rotate']=_0x4e86fc[_0x436da2(0x102)]??!![];}async[a220_0x32ce99(0xf7)](){const _0x50b80b=a220_0x32ce99;try{await mkdir(this['logDir'],{'recursive':!![]}),this[_0x50b80b(0x102)]&&await this[_0x50b80b(0xfc)](),this[_0x50b80b(0xf3)]=createWriteStream(this[_0x50b80b(0xec)],{'flags':'a'}),this[_0x50b80b(0xf3)]['on']('error',_0x20502f=>{const _0x4c43d3=_0x50b80b;console['error'](_0x4c43d3(0xf8)+this[_0x4c43d3(0xf4)]+':',_0x20502f[_0x4c43d3(0xff)]);});}catch(_0x26582){console[_0x50b80b(0x101)](_0x50b80b(0x106),_0x26582);}}[a220_0x32ce99(0x105)](_0x458efa){const _0x169938=a220_0x32ce99;if(!this[_0x169938(0xf3)])return;const _0x248efe=Logger[_0x169938(0x103)](_0x458efa);this['logStream'][_0x169938(0xfd)](_0x248efe+'\x0a');}async[a220_0x32ce99(0x10a)](){return new Promise(_0x279326=>{const _0x12b346=a220_0x2e7b;this[_0x12b346(0xf3)]?this[_0x12b346(0xf3)][_0x12b346(0x10d)](()=>{const _0x22e5f1=_0x12b346;this[_0x22e5f1(0xf3)]=null,_0x279326();}):_0x279326();});}[a220_0x32ce99(0x104)](){const _0x5f4361=a220_0x32ce99;return this[_0x5f4361(0xec)];}async[a220_0x32ce99(0xfc)](){const _0x4f3041=a220_0x32ce99;try{const _0x2bf668=await readdir(this[_0x4f3041(0x109)]),_0x9878d8=new Date()[_0x4f3041(0x10e)]()[_0x4f3041(0xee)]('T')[0x0];if(_0x2bf668['includes'](this[_0x4f3041(0xf4)])){const _0x2b8302=join(this[_0x4f3041(0x109)],this[_0x4f3041(0xf4)]),_0xe9004c=await stat(_0x2b8302),_0x3dc1ed=new Date(_0xe9004c[_0x4f3041(0xf6)])[_0x4f3041(0x10e)]()[_0x4f3041(0xee)]('T')[0x0];if(_0x3dc1ed<_0x9878d8){const _0x2cc770=join(this[_0x4f3041(0x109)],this['logBaseName']+'-'+_0x3dc1ed+_0x4f3041(0x107));await rename(_0x2b8302,_0x2cc770);}}const _0x2cf755=await readdir(this['logDir']),_0x2ada90=this[_0x4f3041(0xfa)][_0x4f3041(0xef)](/[.*+?^${}()|[\]\\]/g,_0x4f3041(0xeb)),_0x427656=new RegExp('^'+_0x2ada90+_0x4f3041(0xf0)),_0x1bc123=_0x2cf755['filter'](_0x27ee31=>_0x427656[_0x4f3041(0xfb)](_0x27ee31));for(const _0x18793d of _0x1bc123){const _0x551620=join(this[_0x4f3041(0x109)],_0x18793d),_0x1238ac=join(this[_0x4f3041(0x109)],_0x18793d+'.gz');try{await pipeline(createReadStream(_0x551620),createGzip(),createWriteStream(_0x1238ac)),await unlink(_0x551620);}catch(_0x23ebd3){console[_0x4f3041(0x101)](_0x4f3041(0x100)+_0x18793d+':',_0x23ebd3);}}}catch{}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x38b4ee,_0xc0a03b){var _0x52ed91=a221_0x2555,_0x121785=_0x38b4ee();while(!![]){try{var _0x45c204=-parseInt(_0x52ed91(0xde))/0x1*(parseInt(_0x52ed91(0xdc))/0x2)+parseInt(_0x52ed91(0xe0))/0x3+-parseInt(_0x52ed91(0xd9))/0x4+parseInt(_0x52ed91(0xdb))/0x5+parseInt(_0x52ed91(0xda))/0x6+-parseInt(_0x52ed91(0xe1))/0x7*(parseInt(_0x52ed91(0xdd))/0x8)+parseInt(_0x52ed91(0xdf))/0x9;if(_0x45c204===_0xc0a03b)break;else _0x121785['push'](_0x121785['shift']());}catch(_0x327bbe){_0x121785['push'](_0x121785['shift']());}}}(a221_0xa291,0xced06));export{FileHandler}from'./file-handler.js';export{ConsoleHandler}from'./console-handler.js';export{NullHandler}from'./null-handler.js';function a221_0x2555(_0x1577bf,_0x7b2afc){_0x1577bf=_0x1577bf-0xd9;var _0xa291fe=a221_0xa291();var _0x255582=_0xa291fe[_0x1577bf];return _0x255582;}function a221_0xa291(){var _0x3533c3=['7583376qbtTMI','8388485yjgfTj','6LBaGTm','1754456gLnzGa','379023aaHZIE','10365903ejijpA','914955jYEfGI','49iQUjkv','3516068VFoNdE'];a221_0xa291=function(){return _0x3533c3;};return a221_0xa291();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a222_0x585c(){var _0x523f07=['153eJXHOO','42fUmvHZ','364260WMSmSh','handle','72976rRabVC','418990OPOIVw','13944gcyovq','140IEcDVF','125Vxliyw','242680UwXILM','2977751byBnAX','1189092GEBawm'];a222_0x585c=function(){return _0x523f07;};return a222_0x585c();}var a222_0x2e8d72=a222_0x4891;(function(_0xe2ee7c,_0x13ab8d){var _0x403ea0=a222_0x4891,_0x26bd44=_0xe2ee7c();while(!![]){try{var _0x13aab3=-parseInt(_0x403ea0(0x1b0))/0x1*(parseInt(_0x403ea0(0x1b7))/0x2)+-parseInt(_0x403ea0(0x1b5))/0x3+-parseInt(_0x403ea0(0x1ba))/0x4*(-parseInt(_0x403ea0(0x1b2))/0x5)+parseInt(_0x403ea0(0x1b8))/0x6+parseInt(_0x403ea0(0x1b4))/0x7+parseInt(_0x403ea0(0x1b3))/0x8*(-parseInt(_0x403ea0(0x1b6))/0x9)+parseInt(_0x403ea0(0x1b1))/0xa*(parseInt(_0x403ea0(0x1bb))/0xb);if(_0x13aab3===_0x13ab8d)break;else _0x26bd44['push'](_0x26bd44['shift']());}catch(_0x4d51fa){_0x26bd44['push'](_0x26bd44['shift']());}}}(a222_0x585c,0x420f4));function a222_0x4891(_0x4fc207,_0x3b7f7f){_0x4fc207=_0x4fc207-0x1b0;var _0x585c36=a222_0x585c();var _0x48911b=_0x585c36[_0x4fc207];return _0x48911b;}export class NullHandler{[a222_0x2e8d72(0x1b9)](_0x3efb30){}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a223_0xadce(_0x997222,_0x5e3947){_0x997222=_0x997222-0x12a;var _0x2b77d7=a223_0x2b77();var _0xadced4=_0x2b77d7[_0x997222];return _0xadced4;}(function(_0x9a2ca7,_0x27d6f2){var _0xb8d21c=a223_0xadce,_0x3b34bf=_0x9a2ca7();while(!![]){try{var _0x3b00f1=-parseInt(_0xb8d21c(0x12e))/0x1+parseInt(_0xb8d21c(0x130))/0x2*(-parseInt(_0xb8d21c(0x12f))/0x3)+-parseInt(_0xb8d21c(0x131))/0x4*(parseInt(_0xb8d21c(0x12a))/0x5)+parseInt(_0xb8d21c(0x12c))/0x6+parseInt(_0xb8d21c(0x132))/0x7*(-parseInt(_0xb8d21c(0x12d))/0x8)+parseInt(_0xb8d21c(0x133))/0x9+parseInt(_0xb8d21c(0x12b))/0xa;if(_0x3b00f1===_0x27d6f2)break;else _0x3b34bf['push'](_0x3b34bf['shift']());}catch(_0x3bb7ca){_0x3b34bf['push'](_0x3b34bf['shift']());}}}(a223_0x2b77,0x933bb));function a223_0x2b77(){var _0x279f84=['67862qvZeBj','12kcnGfu','6431341qiGXVl','7845669JDjIeN','1420460BSoefg','9174970AFvfTc','5837736uXhkNv','8DAHSxi','354157QXbWFc','3aiHaqy'];a223_0x2b77=function(){return _0x279f84;};return a223_0x2b77();}export{Logger}from'./logger.js';export{LogLevel,parseLogLevel,logLevelToString}from'./types.js';export{FileHandler,ConsoleHandler,NullHandler}from'./handlers/index.js';export{DefaultLogFormatter}from'./formatters/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a224_0x571edb=a224_0x3b0a;function a224_0x5757(){const _0x444a49=['levelOverrides','length','defaultLevel','set','string','17017CxLWEf','clearHandlers','init','formatter','1NfVjHF','clear','error','info','1497910VNoapW','push','ERROR','slice','getEffectiveLevel','format','7827250dVpKrE','addHandler','dispatch','shutdown','197620rKKqvE','function','24FfGzjg','isInitialized','message','get','entries','split','getFormatter','log','469vygnNK','WARN','handlers','INFO','component','setDefaultLevel','31416iZGDqI','402189rPJgby','timestamp','name','has','9cXtrPG','join','TRACE','pendingRecords','initialized','loggers','stack','level','warn','51474mwluKO','map','reset','shouldLog','6114488UIjpOE'];a224_0x5757=function(){return _0x444a49;};return a224_0x5757();}(function(_0x1a894c,_0x2dba94){const _0x304118=a224_0x3b0a,_0x3a311c=_0x1a894c();while(!![]){try{const _0x5f36d2=parseInt(_0x304118(0xa4))/0x1*(-parseInt(_0x304118(0xa8))/0x2)+parseInt(_0x304118(0x89))/0x3*(-parseInt(_0x304118(0xb4))/0x4)+parseInt(_0x304118(0xb2))/0x5+parseInt(_0x304118(0x96))/0x6*(-parseInt(_0x304118(0x82))/0x7)+parseInt(_0x304118(0x9a))/0x8*(-parseInt(_0x304118(0x8d))/0x9)+-parseInt(_0x304118(0xae))/0xa+parseInt(_0x304118(0xa0))/0xb*(parseInt(_0x304118(0x88))/0xc);if(_0x5f36d2===_0x2dba94)break;else _0x3a311c['push'](_0x3a311c['shift']());}catch(_0x2ab0cc){_0x3a311c['push'](_0x3a311c['shift']());}}}(a224_0x5757,0x652c8));import{LogLevel as a224_0x284552,logLevelToString}from'./types.js';const MAX_PENDING_RECORDS=0x3e8,state={'initialized':![],'defaultLevel':a224_0x284552[a224_0x571edb(0x85)],'levelOverrides':new Map(),'handlers':[],'formatter':null,'loggers':new Map(),'pendingRecords':[]};function a224_0x3b0a(_0x58d400,_0x183528){_0x58d400=_0x58d400-0x7b;const _0x575747=a224_0x5757();let _0x3b0aa9=_0x575747[_0x58d400];return _0x3b0aa9;}function safeStringify(_0x2bf8d2){const _0x2fa060=a224_0x571edb;if(typeof _0x2bf8d2===_0x2fa060(0x9f))return _0x2bf8d2;if(_0x2bf8d2 instanceof Error)return _0x2bf8d2['stack']||_0x2bf8d2[_0x2fa060(0x8b)]+':\x20'+_0x2bf8d2[_0x2fa060(0x7c)];try{return JSON['stringify'](_0x2bf8d2,(_0x4da1f3,_0x52ccd3)=>{const _0x32b658=_0x2fa060;if(_0x52ccd3 instanceof Error)return{'name':_0x52ccd3[_0x32b658(0x8b)],'message':_0x52ccd3['message'],'stack':_0x52ccd3[_0x32b658(0x93)],'cause':_0x52ccd3['cause']};return _0x52ccd3;});}catch{return String(_0x2bf8d2);}}export class Logger{[a224_0x571edb(0x86)];constructor(_0x9a1e2d){this['component']=_0x9a1e2d;}static['of'](_0x43a167){const _0x1a22e5=a224_0x571edb,_0x434642=typeof _0x43a167===_0x1a22e5(0x9f)?_0x43a167:_0x43a167[_0x1a22e5(0x8b)];let _0x3c8605=state[_0x1a22e5(0x92)][_0x1a22e5(0x7d)](_0x434642);return!_0x3c8605&&(_0x3c8605=new Logger(_0x434642),state[_0x1a22e5(0x92)]['set'](_0x434642,_0x3c8605)),_0x3c8605;}static async['init'](_0x5806d2={}){const _0xb51b8e=a224_0x571edb;state[_0xb51b8e(0x9d)]=_0x5806d2[_0xb51b8e(0x9d)]??a224_0x284552[_0xb51b8e(0x85)],state[_0xb51b8e(0x84)]=_0x5806d2['handlers']??[],state[_0xb51b8e(0xa3)]=_0x5806d2[_0xb51b8e(0xa3)]??null,state[_0xb51b8e(0x9b)]['clear']();if(_0x5806d2[_0xb51b8e(0x9b)])for(const [_0x48e7e1,_0x4a3ada]of Object[_0xb51b8e(0x7e)](_0x5806d2['levelOverrides'])){state['levelOverrides'][_0xb51b8e(0x9e)](_0x48e7e1,_0x4a3ada);}for(const _0x376e9c of state[_0xb51b8e(0x84)]){_0x376e9c[_0xb51b8e(0xa2)]&&await _0x376e9c['init']();}state[_0xb51b8e(0x91)]=!![];for(const _0x32fa0c of state['pendingRecords']){Logger[_0xb51b8e(0xb0)](_0x32fa0c);}state[_0xb51b8e(0x90)]=[];}static['setLogLevel'](_0x7fcd44,_0x216559){const _0x407d0f=a224_0x571edb;state[_0x407d0f(0x9b)][_0x407d0f(0x9e)](_0x7fcd44,_0x216559);}static[a224_0x571edb(0x87)](_0x32e80f){const _0x5464f5=a224_0x571edb;state[_0x5464f5(0x9d)]=_0x32e80f;}static[a224_0x571edb(0xaf)](_0x25785f){const _0x34392b=a224_0x571edb;state[_0x34392b(0x84)][_0x34392b(0xa9)](_0x25785f),state[_0x34392b(0x91)]&&_0x25785f[_0x34392b(0xa2)]&&_0x25785f['init']();}static[a224_0x571edb(0xa1)](){const _0x2aad59=a224_0x571edb;state[_0x2aad59(0x84)]=[];}static async[a224_0x571edb(0xb1)](){const _0x52ebd3=a224_0x571edb;for(const _0x1f1ab3 of state[_0x52ebd3(0x84)]){_0x1f1ab3['close']&&await _0x1f1ab3['close']();}state[_0x52ebd3(0x84)]=[],state['initialized']=![],state[_0x52ebd3(0x92)][_0x52ebd3(0xa5)](),state[_0x52ebd3(0x90)]=[];}static[a224_0x571edb(0x98)](){const _0x4ced2a=a224_0x571edb;state[_0x4ced2a(0x91)]=![],state[_0x4ced2a(0x9d)]=a224_0x284552[_0x4ced2a(0x85)],state[_0x4ced2a(0x9b)]['clear'](),state[_0x4ced2a(0x84)]=[],state[_0x4ced2a(0xa3)]=null,state[_0x4ced2a(0x92)]['clear'](),state[_0x4ced2a(0x90)]=[];}static[a224_0x571edb(0x7b)](){const _0x59bb90=a224_0x571edb;return state[_0x59bb90(0x91)];}static['getEffectiveLevel'](_0x463c35){const _0x5c2646=a224_0x571edb;if(state[_0x5c2646(0x9b)][_0x5c2646(0x8c)](_0x463c35))return state[_0x5c2646(0x9b)][_0x5c2646(0x7d)](_0x463c35);const _0x5a60fc=_0x463c35[_0x5c2646(0x7f)]('.');for(let _0x3bf9a7=_0x5a60fc[_0x5c2646(0x9c)]-0x1;_0x3bf9a7>0x0;_0x3bf9a7--){const _0x505ae9=_0x5a60fc[_0x5c2646(0xab)](0x0,_0x3bf9a7)[_0x5c2646(0x8e)]('.');if(state[_0x5c2646(0x9b)]['has'](_0x505ae9))return state[_0x5c2646(0x9b)][_0x5c2646(0x7d)](_0x505ae9);}return state[_0x5c2646(0x9d)];}[a224_0x571edb(0x99)](_0xbd0af8){const _0x242d27=a224_0x571edb,_0x391c0a=Logger[_0x242d27(0xac)](this[_0x242d27(0x86)]);return _0xbd0af8>=_0x391c0a;}static[a224_0x571edb(0xb0)](_0x101f52){for(const _0x2fec18 of state['handlers']){_0x2fec18['handle'](_0x101f52);}}[a224_0x571edb(0x81)](_0x1b9fee,_0x2b3ff0){const _0x4a26ee=a224_0x571edb;if(!this['shouldLog'](_0x1b9fee))return;const _0x107fed=_0x2b3ff0[_0x4a26ee(0x97)](_0x5e19b0=>typeof _0x5e19b0===_0x4a26ee(0xb3)?_0x5e19b0():_0x5e19b0),_0x37fd03=_0x107fed[_0x4a26ee(0x97)](safeStringify)['join']('\x20'),_0x24bb24={'timestamp':new Date(),'level':_0x1b9fee,'component':this[_0x4a26ee(0x86)],'message':_0x37fd03};if(!state[_0x4a26ee(0x91)]){state[_0x4a26ee(0x90)]['length']<MAX_PENDING_RECORDS&&state[_0x4a26ee(0x90)][_0x4a26ee(0xa9)](_0x24bb24);return;}Logger['dispatch'](_0x24bb24);}['trace'](..._0x2272e7){const _0xaf1635=a224_0x571edb;this[_0xaf1635(0x81)](a224_0x284552[_0xaf1635(0x8f)],_0x2272e7);}['debug'](..._0x1a241b){const _0x494c50=a224_0x571edb;this[_0x494c50(0x81)](a224_0x284552['DEBUG'],_0x1a241b);}[a224_0x571edb(0xa7)](..._0x15f365){const _0x56183b=a224_0x571edb;this[_0x56183b(0x81)](a224_0x284552[_0x56183b(0x85)],_0x15f365);}[a224_0x571edb(0x95)](..._0x242177){const _0x530300=a224_0x571edb;this[_0x530300(0x81)](a224_0x284552[_0x530300(0x83)],_0x242177);}[a224_0x571edb(0xa6)](..._0x155862){const _0x3d31d2=a224_0x571edb;this[_0x3d31d2(0x81)](a224_0x284552[_0x3d31d2(0xaa)],_0x155862);}static[a224_0x571edb(0x80)](){return state['formatter'];}static[a224_0x571edb(0xad)](_0x3c4975){const _0x15c77a=a224_0x571edb;if(state[_0x15c77a(0xa3)])return state[_0x15c77a(0xa3)]['format'](_0x3c4975);return _0x3c4975[_0x15c77a(0x8a)]['toISOString']()+'\x20['+logLevelToString(_0x3c4975[_0x15c77a(0x94)])+']\x20['+_0x3c4975['component']+']\x20'+_0x3c4975[_0x15c77a(0x7c)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5d889d,_0x4b5f6e){const _0x491d0e=a225_0x1485,_0x38c02d=_0x5d889d();while(!![]){try{const _0x57cf5c=-parseInt(_0x491d0e(0x1f7))/0x1*(-parseInt(_0x491d0e(0x1ed))/0x2)+parseInt(_0x491d0e(0x1eb))/0x3+parseInt(_0x491d0e(0x208))/0x4+parseInt(_0x491d0e(0x1ff))/0x5*(-parseInt(_0x491d0e(0x1f0))/0x6)+parseInt(_0x491d0e(0x1ec))/0x7+-parseInt(_0x491d0e(0x1f5))/0x8*(parseInt(_0x491d0e(0x209))/0x9)+-parseInt(_0x491d0e(0x1f6))/0xa;if(_0x57cf5c===_0x4b5f6e)break;else _0x38c02d['push'](_0x38c02d['shift']());}catch(_0x4526a8){_0x38c02d['push'](_0x38c02d['shift']());}}}(a225_0x2373,0xe3f8f));export var LogLevel;function a225_0x1485(_0x49e072,_0x48054f){_0x49e072=_0x49e072-0x1eb;const _0x237394=a225_0x2373();let _0x14857d=_0x237394[_0x49e072];return _0x14857d;}(function(_0x1a1f7f){const _0x146090=a225_0x1485;_0x1a1f7f[_0x1a1f7f[_0x146090(0x1f9)]=-0x2]=_0x146090(0x1f9),_0x1a1f7f[_0x1a1f7f['DEBUG']=-0x1]='DEBUG',_0x1a1f7f[_0x1a1f7f[_0x146090(0x1fe)]=0x0]=_0x146090(0x1fe),_0x1a1f7f[_0x1a1f7f[_0x146090(0x205)]=0x1]=_0x146090(0x205),_0x1a1f7f[_0x1a1f7f[_0x146090(0x207)]=0x2]=_0x146090(0x207);}(LogLevel||(LogLevel={})));export function parseLogLevel(_0x9e4ace){const _0x2a0df7=a225_0x1485;switch(_0x9e4ace[_0x2a0df7(0x1fd)]()){case _0x2a0df7(0x1f9):return LogLevel[_0x2a0df7(0x1f9)];case _0x2a0df7(0x1ee):return LogLevel['DEBUG'];case'INFO':return LogLevel[_0x2a0df7(0x1fe)];case'WARN':case _0x2a0df7(0x200):return LogLevel[_0x2a0df7(0x205)];case _0x2a0df7(0x207):return LogLevel[_0x2a0df7(0x207)];default:return LogLevel['INFO'];}}export function logLevelToString(_0x2b4bb0){const _0x2c014a=a225_0x1485;switch(_0x2b4bb0){case LogLevel[_0x2c014a(0x1f9)]:return _0x2c014a(0x1f1);case LogLevel[_0x2c014a(0x1ee)]:return'debug';case LogLevel[_0x2c014a(0x1fe)]:return _0x2c014a(0x1fb);case LogLevel[_0x2c014a(0x205)]:return _0x2c014a(0x1f4);case LogLevel['ERROR']:return _0x2c014a(0x1fa);default:return _0x2c014a(0x1fb);}}function a225_0x2373(){const _0x5908a4=['ERROR','885840rMHOzM','259533kcXnzM','4705749UDdCJm','6220305GEbGOk','1011198NxcfcF','DEBUG','abs','578118kgQbSQ','trace','getFullYear','getMilliseconds','warn','392DsdzYR','10540090qgOUzy','2vDjsNO','padStart','TRACE','error','info','getMinutes','toUpperCase','INFO','15riUJnH','WARNING','getDate','toString','floor','getTimezoneOffset','WARN','getHours'];a225_0x2373=function(){return _0x5908a4;};return a225_0x2373();}export function formatTimestamp(_0x2e6e3a){const _0x5d53ac=a225_0x1485,_0x3c0b8=_0x2e6e3a[_0x5d53ac(0x1f2)](),_0x29ee31=(_0x2e6e3a['getMonth']()+0x1)[_0x5d53ac(0x202)]()[_0x5d53ac(0x1f8)](0x2,'0'),_0x6c1739=_0x2e6e3a[_0x5d53ac(0x201)]()[_0x5d53ac(0x202)]()[_0x5d53ac(0x1f8)](0x2,'0'),_0x2c9386=_0x2e6e3a[_0x5d53ac(0x206)]()[_0x5d53ac(0x202)]()[_0x5d53ac(0x1f8)](0x2,'0'),_0x1a96dd=_0x2e6e3a[_0x5d53ac(0x1fc)]()['toString']()['padStart'](0x2,'0'),_0x3d5e60=_0x2e6e3a['getSeconds']()[_0x5d53ac(0x202)]()[_0x5d53ac(0x1f8)](0x2,'0'),_0x3e41b8=_0x2e6e3a[_0x5d53ac(0x1f3)]()[_0x5d53ac(0x202)]()[_0x5d53ac(0x1f8)](0x3,'0'),_0x135bc2=-_0x2e6e3a[_0x5d53ac(0x204)](),_0x25f43d=Math[_0x5d53ac(0x203)](Math[_0x5d53ac(0x1ef)](_0x135bc2)/0x3c),_0x4f0acc=Math[_0x5d53ac(0x1ef)](_0x135bc2)%0x3c,_0x354688=_0x135bc2>=0x0?'+':'-',_0x21951c=''+_0x354688+_0x25f43d[_0x5d53ac(0x202)]()['padStart'](0x2,'0')+_0x4f0acc[_0x5d53ac(0x202)]()[_0x5d53ac(0x1f8)](0x2,'0');return _0x3c0b8+'-'+_0x29ee31+'-'+_0x6c1739+'\x20'+_0x2c9386+':'+_0x1a96dd+':'+_0x3d5e60+'.'+_0x3e41b8+_0x21951c;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x54fadf,_0x42c5dd){const _0x15f54c=a226_0x1803,_0x4f97b9=_0x54fadf();while(!![]){try{const _0x53d278=-parseInt(_0x15f54c(0x18d))/0x1+-parseInt(_0x15f54c(0x181))/0x2*(-parseInt(_0x15f54c(0x17b))/0x3)+-parseInt(_0x15f54c(0x184))/0x4*(-parseInt(_0x15f54c(0x182))/0x5)+-parseInt(_0x15f54c(0x18b))/0x6*(-parseInt(_0x15f54c(0x18e))/0x7)+parseInt(_0x15f54c(0x180))/0x8*(parseInt(_0x15f54c(0x185))/0x9)+-parseInt(_0x15f54c(0x18a))/0xa+-parseInt(_0x15f54c(0x18c))/0xb*(-parseInt(_0x15f54c(0x186))/0xc);if(_0x53d278===_0x42c5dd)break;else _0x4f97b9['push'](_0x4f97b9['shift']());}catch(_0x509266){_0x4f97b9['push'](_0x4f97b9['shift']());}}}(a226_0x5402,0xa47bc));function a226_0x5402(){const _0x2d1f75=['85fQFoEu','Invalid\x20timeout\x20value:\x20','92252EganqK','11046582cHwmGA','6276972pcWKDa','.\x20Must\x20be\x20an\x20integer.','.\x20Must\x20be\x20a\x20positive\x20integer.','.\x20Must\x20be\x20a\x20positive\x20number.','12240280PKfQHR','34644qDBuFb','11zUifQF','1190283zjveok','721YNymvP','350763nAjMdy','number','Invalid\x20limit\x20value:\x20','isInteger','.\x20Must\x20be\x20a\x20number.','8EBOUao','6Zigkjj'];a226_0x5402=function(){return _0x2d1f75;};return a226_0x5402();}export function validateLimitOption(_0x4ecde3){const _0x3e3c2e=a226_0x1803;if(!Number[_0x3e3c2e(0x17e)](_0x4ecde3))return{'isValid':![],'error':_0x3e3c2e(0x17d)+_0x4ecde3+_0x3e3c2e(0x187)};if(_0x4ecde3<=0x0)return{'isValid':![],'error':_0x3e3c2e(0x17d)+_0x4ecde3+_0x3e3c2e(0x188)};return{'isValid':!![],'value':_0x4ecde3};}function a226_0x1803(_0x31fb86,_0x1c2ea7){_0x31fb86=_0x31fb86-0x17b;const _0x5402ea=a226_0x5402();let _0x180369=_0x5402ea[_0x31fb86];return _0x180369;}export function validateTimeoutOption(_0x4d179d,_0x36de93=0x1e){const _0x313727=a226_0x1803;if(_0x4d179d===undefined)return{'isValid':!![],'value':_0x36de93};const _0x12744a=typeof _0x4d179d===_0x313727(0x17c)?_0x4d179d:parseFloat(_0x4d179d);if(isNaN(_0x12744a))return{'isValid':![],'error':_0x313727(0x183)+_0x4d179d+_0x313727(0x17f)};if(_0x12744a<=0x0)return{'isValid':![],'error':_0x313727(0x183)+_0x12744a+_0x313727(0x189)};return{'isValid':!![],'value':_0x12744a};}
|